From 8e0cf387c2df3e254a5fc8fab8dc00b193e9e330 Mon Sep 17 00:00:00 2001 From: rollthecloudinc <> Date: Fri, 12 Jul 2024 02:55:08 +0000 Subject: [PATCH] Update from https://github.com/rollthecloudinc/spearhead-canva/commit/43db8c8d537dba56b691a9593e71732bd0670fde --- .github/workflows/dev-azure.yml | 15 + .github/workflows/prod-azure.yml | 15 + 1041.6a524365de59f24e.js | 2 + 1041.6a524365de59f24e.js.map | 1 + 1084.937b47bd2129c294.js | 2 + 1084.937b47bd2129c294.js.map | 1 + 1086.170a93fd8be7cc1f.js | 2 + 1086.170a93fd8be7cc1f.js.map | 1 + 1217.bf9e9dcb0130fef7.js | 2 + 1217.bf9e9dcb0130fef7.js.map | 1 + 1328.cd6b67916d3ed353.js | 2 + 1328.cd6b67916d3ed353.js.map | 1 + 1551.f681c87a695c9abd.js | 2 + 1551.f681c87a695c9abd.js.map | 1 + 1636.ea4ce1e9cfbc5c19.js | 2 + 1636.ea4ce1e9cfbc5c19.js.map | 1 + 1821.00aad28c06106961.js | 2 + 1821.00aad28c06106961.js.map | 1 + 188.72dfea1b62e92384.js | 2 + 188.72dfea1b62e92384.js.map | 1 + 2035.35946dc8d608ded3.js | 2 + 2035.35946dc8d608ded3.js.map | 1 + 2111.16941bd519497cc4.js | 2 + 2111.16941bd519497cc4.js.map | 1 + 2112.a686302e3e9bbb3e.js | 2 + 2112.a686302e3e9bbb3e.js.map | 1 + 2124.c33f9c0d968a72a1.js | 2 + 2124.c33f9c0d968a72a1.js.map | 1 + 2128.f0a8e700db56fb59.js | 2 + 2128.f0a8e700db56fb59.js.map | 1 + 2152.0b848abf6263c322.js | 2 + 2152.0b848abf6263c322.js.map | 1 + 2223.3e7499ae07f58573.js | 2 + 2223.3e7499ae07f58573.js.map | 1 + 2512.2d65adc8804e95d7.js | 2 + 2512.2d65adc8804e95d7.js.map | 1 + 2545.7524e84597a506c1.js | 2 + 2545.7524e84597a506c1.js.map | 1 + 2556.5668598d28607d35.js | 2 + 2556.5668598d28607d35.js.map | 1 + 2621.dda67a0e328267fa.js | 2 + 2621.dda67a0e328267fa.js.map | 1 + 2885.42c5c37545ae029e.js | 2 + 2885.42c5c37545ae029e.js.map | 1 + 3022.95d4c43ad3f85966.js | 2 + 3022.95d4c43ad3f85966.js.map | 1 + 3098.fed4a5b0a9bb1c8c.js | 2 + 3098.fed4a5b0a9bb1c8c.js.map | 1 + 3103.6e520a55c0537c2d.js | 2 + 3103.6e520a55c0537c2d.js.map | 1 + 3183.6470ba84849ae4be.js | 2 + 3183.6470ba84849ae4be.js.map | 1 + 3278.adffad0b0fdd8e90.js | 2 + 3278.adffad0b0fdd8e90.js.map | 1 + 3308.a528bc6f1b781d52.js | 2 + 3308.a528bc6f1b781d52.js.map | 1 + 3326.34b87cfb31ed8b06.js | 2 + 3326.34b87cfb31ed8b06.js.map | 1 + 3348.1fd3ea46becd71d6.js | 2 + 3348.1fd3ea46becd71d6.js.map | 1 + 3418.4255c9649af5eaf7.js | 2 + 3418.4255c9649af5eaf7.js.map | 1 + 3433.2ed7cd20dad71cfc.js | 2 + 3433.2ed7cd20dad71cfc.js.map | 1 + 3574.2f6c2aa430041f1f.js | 2 + 3574.2f6c2aa430041f1f.js.map | 1 + 3597.44455a50ee80dd40.js | 2 + 3597.44455a50ee80dd40.js.map | 1 + 3677.926dba811cceb67c.js | 2 + 3677.926dba811cceb67c.js.map | 1 + 3765.f8d330ebbabb456e.js | 2 + 3765.f8d330ebbabb456e.js.map | 1 + 3770.cddf80ea8dff6a2d.js | 2 + 3770.cddf80ea8dff6a2d.js.map | 1 + 3930.97578bdc08b7bf9d.js | 2 + 3930.97578bdc08b7bf9d.js.map | 1 + 3rdpartylicenses.txt | 15682 ++++++++++++++++ 4091.160c731ad85419e3.js | 2 + 4091.160c731ad85419e3.js.map | 1 + 4093.ce05facb30566249.js | 2 + 4093.ce05facb30566249.js.map | 1 + 4106.a45e0bd0c9ab02a5.js | 2 + 4106.a45e0bd0c9ab02a5.js.map | 1 + 4151.72f982a3cc0d5568.js | 2 + 4151.72f982a3cc0d5568.js.map | 1 + 4155.85bf1e2187f8495e.js | 2 + 4155.85bf1e2187f8495e.js.map | 1 + 4270.bbc9bcd142493e25.js | 2 + 4270.bbc9bcd142493e25.js.map | 1 + 4291.be3c5c5ee2f2c383.js | 2 + 4291.be3c5c5ee2f2c383.js.map | 1 + 4309.8f8441b74a0be6b8.js | 2 + 4309.8f8441b74a0be6b8.js.map | 1 + 4371.5ec3b709d6088bf5.js | 2 + 4371.5ec3b709d6088bf5.js.map | 1 + 4387.5f60c218e7a7055f.js | 2 + 4387.5f60c218e7a7055f.js.map | 1 + 442.5261795959bf57d7.js | 2 + 442.5261795959bf57d7.js.map | 1 + 4477.65c89cff06f625c1.js | 2 + 4477.65c89cff06f625c1.js.map | 1 + 4589.c0c58fd8d6ae092a.js | 2 + 4589.c0c58fd8d6ae092a.js.map | 1 + 4640.bf671556de706900.js | 2 + 4640.bf671556de706900.js.map | 1 + 4680.dca80f0114f257a5.js | 2 + 4680.dca80f0114f257a5.js.map | 1 + 4755.e219075f665d048b.js | 2 + 4755.e219075f665d048b.js.map | 1 + 48.0f562d23dbadf566.js | 2 + 48.0f562d23dbadf566.js.map | 1 + 4843.9cc79487b7ed3c03.js | 2 + 4843.9cc79487b7ed3c03.js.map | 1 + 4902.28ad83213bdec45d.js | 2 + 4902.28ad83213bdec45d.js.map | 1 + 4967.cd6fdeac93fac987.js | 2 + 4967.cd6fdeac93fac987.js.map | 1 + 4968.4bfd65c5f3d533da.js | 2 + 4968.4bfd65c5f3d533da.js.map | 1 + 4987.33138ee02ba4ed0e.js | 2 + 4987.33138ee02ba4ed0e.js.map | 1 + 5007.31862526f240da4f.js | 2 + 5007.31862526f240da4f.js.map | 1 + 5068.86ffa29fdc3c2b5b.js | 2 + 5068.86ffa29fdc3c2b5b.js.map | 1 + 5069.53f13d63fe0558cb.js | 2 + 5069.53f13d63fe0558cb.js.map | 1 + 5094.0672665b5e6e8b59.js | 2 + 5094.0672665b5e6e8b59.js.map | 1 + 5106.926c12c126e770c2.js | 2 + 5106.926c12c126e770c2.js.map | 1 + 5113.06c4d3be2def5d91.js | 2 + 5113.06c4d3be2def5d91.js.map | 1 + 5125.cb6e8cbbc7ad49a7.js | 2 + 5125.cb6e8cbbc7ad49a7.js.map | 1 + 5146.b387d5f410c1016d.js | 2 + 5146.b387d5f410c1016d.js.map | 1 + 5187.965705915ef13b61.js | 2 + 5187.965705915ef13b61.js.map | 1 + 5391.8db302d7cdc20831.js | 2 + 5391.8db302d7cdc20831.js.map | 1 + 5501.ef2c2ee2f2ccecee.js | 2 + 5501.ef2c2ee2f2ccecee.js.map | 1 + 5544.0c122e7d49a65d8b.js | 2 + 5544.0c122e7d49a65d8b.js.map | 1 + 5555.29d4358f47cf82e8.js | 2 + 5555.29d4358f47cf82e8.js.map | 1 + 5598.4cbade95a704b244.js | 2 + 5598.4cbade95a704b244.js.map | 1 + 5603.e3fb7439c64f9ec3.js | 2 + 5603.e3fb7439c64f9ec3.js.map | 1 + 5749.3443645c0dda54c3.js | 2 + 5749.3443645c0dda54c3.js.map | 1 + 5873.7dbdb8681d2e2ea9.js | 2 + 5873.7dbdb8681d2e2ea9.js.map | 1 + 5915.d27f1fecd9111bee.js | 2 + 5915.d27f1fecd9111bee.js.map | 1 + 6069.47ef4be18c0da5af.js | 2 + 6069.47ef4be18c0da5af.js.map | 1 + 6215.10b022de38e29aa9.js | 2 + 6215.10b022de38e29aa9.js.map | 1 + 6237.404c096af053e535.js | 2 + 6237.404c096af053e535.js.map | 1 + 6297.510c28b6eef50735.js | 2 + 6297.510c28b6eef50735.js.map | 1 + 6441.1ed54299f1bb8173.js | 2 + 6441.1ed54299f1bb8173.js.map | 1 + 6477.0424bf6b21aa4e25.js | 2 + 6477.0424bf6b21aa4e25.js.map | 1 + 6508.9d89448241dbbf53.js | 2 + 6508.9d89448241dbbf53.js.map | 1 + 6578.1dc26f3f2eb234f6.js | 2 + 6578.1dc26f3f2eb234f6.js.map | 1 + 6618.f423d4017883477a.js | 2 + 6618.f423d4017883477a.js.map | 1 + 6748.1496b15b2d5af775.js | 2 + 6748.1496b15b2d5af775.js.map | 1 + 6763.4771ea4780be6711.js | 2 + 6763.4771ea4780be6711.js.map | 1 + 6785.56f0194b8bc6f8fb.js | 2 + 6785.56f0194b8bc6f8fb.js.map | 1 + 6839.055ca8b6e5386f89.js | 2 + 6839.055ca8b6e5386f89.js.map | 1 + 6844.232b0adce74e1ee4.js | 2 + 6844.232b0adce74e1ee4.js.map | 1 + 6892.725faee0a79d78c4.js | 2 + 6892.725faee0a79d78c4.js.map | 1 + 6896.bfb8d28f7841fa68.js | 2 + 6896.bfb8d28f7841fa68.js.map | 1 + 6936.b38a104e439a2a69.js | 2 + 6936.b38a104e439a2a69.js.map | 1 + 6980.808708880eb725f8.js | 2 + 6980.808708880eb725f8.js.map | 1 + 7131.1faca00847bd973c.js | 2 + 7131.1faca00847bd973c.js.map | 1 + 7189.b143b6038795e493.js | 2 + 7189.b143b6038795e493.js.map | 1 + 7208.0175d6e664789ed5.js | 2 + 7208.0175d6e664789ed5.js.map | 1 + 7328.3db0b9e4fe1dfa43.js | 2 + 7328.3db0b9e4fe1dfa43.js.map | 1 + 7376.8b32539275c4a110.js | 2 + 7376.8b32539275c4a110.js.map | 1 + 7432.60cdd2184b9bcbf3.js | 2 + 7432.60cdd2184b9bcbf3.js.map | 1 + 7477.7a3179a930219ad9.js | 2 + 7477.7a3179a930219ad9.js.map | 1 + 7672.d97d46e89fe535ef.js | 2 + 7672.d97d46e89fe535ef.js.map | 1 + 7888.00f90ea9f58d7341.js | 2 + 7888.00f90ea9f58d7341.js.map | 1 + 7920.20f071c82a068a0e.js | 2 + 7920.20f071c82a068a0e.js.map | 1 + 8013.aa29348797c9028f.js | 12 + 8013.aa29348797c9028f.js.map | 1 + 8017.fee44725bd625d4f.js | 2 + 8017.fee44725bd625d4f.js.map | 1 + 8024.8f695f64b9d3a742.js | 2 + 8024.8f695f64b9d3a742.js.map | 1 + 8046.c6105b2ea1127aa5.js | 2 + 8046.c6105b2ea1127aa5.js.map | 1 + 8061.45943028350155ea.js | 2 + 8061.45943028350155ea.js.map | 1 + 8071.a88180266995b878.js | 2 + 8071.a88180266995b878.js.map | 1 + 8116.dc3b01ebb5427ede.js | 2 + 8116.dc3b01ebb5427ede.js.map | 1 + 8158.797e810298041051.js | 2 + 8158.797e810298041051.js.map | 1 + 8282.aaa9267c610b17ec.js | 2 + 8282.aaa9267c610b17ec.js.map | 1 + 8287.3f6959d00e46e8cd.js | 2 + 8287.3f6959d00e46e8cd.js.map | 1 + 833.c8215640c38aad70.js | 2 + 833.c8215640c38aad70.js.map | 1 + 8352.cb8b08283660350a.js | 2 + 8352.cb8b08283660350a.js.map | 1 + 8376.4e03513f7c087c87.js | 2 + 8376.4e03513f7c087c87.js.map | 1 + 8443.de65e2a75bd1193f.js | 2 + 8443.de65e2a75bd1193f.js.map | 1 + 8467.1cade2ad8c4fc9ea.js | 2 + 8467.1cade2ad8c4fc9ea.js.map | 1 + 8513.617bf359ae892014.js | 2 + 8513.617bf359ae892014.js.map | 1 + 8538.708a79be94deb0d6.js | 2 + 8538.708a79be94deb0d6.js.map | 1 + 8596.6646ca7640e1d7e1.js | 2 + 8596.6646ca7640e1d7e1.js.map | 1 + 8608.b26895fdf516017a.js | 2 + 8608.b26895fdf516017a.js.map | 1 + 8711.87826b664b7e25ce.js | 2 + 8711.87826b664b7e25ce.js.map | 1 + 8746.3969f1073f5b9dd8.js | 2 + 8746.3969f1073f5b9dd8.js.map | 1 + 8750.d27dfe1204dee74b.js | 2 + 8750.d27dfe1204dee74b.js.map | 1 + 8782.0020aeddc828f58c.js | 2 + 8782.0020aeddc828f58c.js.map | 1 + 882.8ecea003bd197edb.js | 2 + 882.8ecea003bd197edb.js.map | 1 + 9031.e6e4824d40477a60.js | 2 + 9031.e6e4824d40477a60.js.map | 1 + 9101.b0542315455d3ec9.js | 2 + 9101.b0542315455d3ec9.js.map | 1 + 919.2768e0fb2f87cd5b.js | 2 + 919.2768e0fb2f87cd5b.js.map | 1 + 9542.652f275cf72dc68f.js | 2 + 9542.652f275cf72dc68f.js.map | 1 + 9880.b05c53460a3f6d9c.js | 2 + 9880.b05c53460a3f6d9c.js.map | 1 + README.md | 2 - assets/objects/.nojekyll | 0 assets/objects/panelpage/.gitkeep | 0 .../200e4ab8-922c-4a9c-a760-77bce3facf92.json | 85 + .../286f9a5e-196d-4812-bd8a-235a164a1a97.json | 80 + .../479f66de-7468-47fa-a649-9fd476b754ab.json | 76 + .../5494f47d-473c-49b4-bbef-f563be722131.json | 255 + .../8ebbcdb3-300f-4739-8cb3-6c5d4c402638.json | 76 + .../bb66aa62-8635-4015-86c9-ba4f208b0856.json | 1 + .../bd29f806-3b4b-4b79-9dac-7a5ae221f432.json | 1 + .../c91aa514-0ad8-4797-a516-cce997c877d9.json | 80 + .../d75c2267-0eb1-4238-ad0e-7d4b0d1d4801.json | 76 + .../e39fa739-b354-45cb-8a35-5c9e54d28d6f.json | 76 + assets/objects/panelpages.ts | 817 + common.d501fa65ebd77cd6.js | 2 + common.d501fa65ebd77cd6.js.map | 1 + favicon.ico | Bin 0 -> 948 bytes index.html | 15 + main.97e2814cd5c42c1f.js | 2 + main.97e2814cd5c42c1f.js.map | 1 + native_forms_rebuild_v1/index.html | 21 + native_forms_rebuild_v1/manage/index.html | 15 + pages/create-panel-page/index.html | 21 + polyfills.59541052011d83bd.js | 2 + polyfills.59541052011d83bd.js.map | 1 + scripts.ddc73f89d6f243c1.js | 3 + scripts.ddc73f89d6f243c1.js.map | 1 + staticwebapp.config.json | 5 + styles.26553dfaf5ec6973.css | 3 + styles.26553dfaf5ec6973.css.map | 1 + 301 files changed, 17841 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/dev-azure.yml create mode 100644 .github/workflows/prod-azure.yml create mode 100644 1041.6a524365de59f24e.js create mode 100644 1041.6a524365de59f24e.js.map create mode 100644 1084.937b47bd2129c294.js create mode 100644 1084.937b47bd2129c294.js.map create mode 100644 1086.170a93fd8be7cc1f.js create mode 100644 1086.170a93fd8be7cc1f.js.map create mode 100644 1217.bf9e9dcb0130fef7.js create mode 100644 1217.bf9e9dcb0130fef7.js.map create mode 100644 1328.cd6b67916d3ed353.js create mode 100644 1328.cd6b67916d3ed353.js.map create mode 100644 1551.f681c87a695c9abd.js create mode 100644 1551.f681c87a695c9abd.js.map create mode 100644 1636.ea4ce1e9cfbc5c19.js create mode 100644 1636.ea4ce1e9cfbc5c19.js.map create mode 100644 1821.00aad28c06106961.js create mode 100644 1821.00aad28c06106961.js.map create mode 100644 188.72dfea1b62e92384.js create mode 100644 188.72dfea1b62e92384.js.map create mode 100644 2035.35946dc8d608ded3.js create mode 100644 2035.35946dc8d608ded3.js.map create mode 100644 2111.16941bd519497cc4.js create mode 100644 2111.16941bd519497cc4.js.map create mode 100644 2112.a686302e3e9bbb3e.js create mode 100644 2112.a686302e3e9bbb3e.js.map create mode 100644 2124.c33f9c0d968a72a1.js create mode 100644 2124.c33f9c0d968a72a1.js.map create mode 100644 2128.f0a8e700db56fb59.js create mode 100644 2128.f0a8e700db56fb59.js.map create mode 100644 2152.0b848abf6263c322.js create mode 100644 2152.0b848abf6263c322.js.map create mode 100644 2223.3e7499ae07f58573.js create mode 100644 2223.3e7499ae07f58573.js.map create mode 100644 2512.2d65adc8804e95d7.js create mode 100644 2512.2d65adc8804e95d7.js.map create mode 100644 2545.7524e84597a506c1.js create mode 100644 2545.7524e84597a506c1.js.map create mode 100644 2556.5668598d28607d35.js create mode 100644 2556.5668598d28607d35.js.map create mode 100644 2621.dda67a0e328267fa.js create mode 100644 2621.dda67a0e328267fa.js.map create mode 100644 2885.42c5c37545ae029e.js create mode 100644 2885.42c5c37545ae029e.js.map create mode 100644 3022.95d4c43ad3f85966.js create mode 100644 3022.95d4c43ad3f85966.js.map create mode 100644 3098.fed4a5b0a9bb1c8c.js create mode 100644 3098.fed4a5b0a9bb1c8c.js.map create mode 100644 3103.6e520a55c0537c2d.js create mode 100644 3103.6e520a55c0537c2d.js.map create mode 100644 3183.6470ba84849ae4be.js create mode 100644 3183.6470ba84849ae4be.js.map create mode 100644 3278.adffad0b0fdd8e90.js create mode 100644 3278.adffad0b0fdd8e90.js.map create mode 100644 3308.a528bc6f1b781d52.js create mode 100644 3308.a528bc6f1b781d52.js.map create mode 100644 3326.34b87cfb31ed8b06.js create mode 100644 3326.34b87cfb31ed8b06.js.map create mode 100644 3348.1fd3ea46becd71d6.js create mode 100644 3348.1fd3ea46becd71d6.js.map create mode 100644 3418.4255c9649af5eaf7.js create mode 100644 3418.4255c9649af5eaf7.js.map create mode 100644 3433.2ed7cd20dad71cfc.js create mode 100644 3433.2ed7cd20dad71cfc.js.map create mode 100644 3574.2f6c2aa430041f1f.js create mode 100644 3574.2f6c2aa430041f1f.js.map create mode 100644 3597.44455a50ee80dd40.js create mode 100644 3597.44455a50ee80dd40.js.map create mode 100644 3677.926dba811cceb67c.js create mode 100644 3677.926dba811cceb67c.js.map create mode 100644 3765.f8d330ebbabb456e.js create mode 100644 3765.f8d330ebbabb456e.js.map create mode 100644 3770.cddf80ea8dff6a2d.js create mode 100644 3770.cddf80ea8dff6a2d.js.map create mode 100644 3930.97578bdc08b7bf9d.js create mode 100644 3930.97578bdc08b7bf9d.js.map create mode 100644 3rdpartylicenses.txt create mode 100644 4091.160c731ad85419e3.js create mode 100644 4091.160c731ad85419e3.js.map create mode 100644 4093.ce05facb30566249.js create mode 100644 4093.ce05facb30566249.js.map create mode 100644 4106.a45e0bd0c9ab02a5.js create mode 100644 4106.a45e0bd0c9ab02a5.js.map create mode 100644 4151.72f982a3cc0d5568.js create mode 100644 4151.72f982a3cc0d5568.js.map create mode 100644 4155.85bf1e2187f8495e.js create mode 100644 4155.85bf1e2187f8495e.js.map create mode 100644 4270.bbc9bcd142493e25.js create mode 100644 4270.bbc9bcd142493e25.js.map create mode 100644 4291.be3c5c5ee2f2c383.js create mode 100644 4291.be3c5c5ee2f2c383.js.map create mode 100644 4309.8f8441b74a0be6b8.js create mode 100644 4309.8f8441b74a0be6b8.js.map create mode 100644 4371.5ec3b709d6088bf5.js create mode 100644 4371.5ec3b709d6088bf5.js.map create mode 100644 4387.5f60c218e7a7055f.js create mode 100644 4387.5f60c218e7a7055f.js.map create mode 100644 442.5261795959bf57d7.js create mode 100644 442.5261795959bf57d7.js.map create mode 100644 4477.65c89cff06f625c1.js create mode 100644 4477.65c89cff06f625c1.js.map create mode 100644 4589.c0c58fd8d6ae092a.js create mode 100644 4589.c0c58fd8d6ae092a.js.map create mode 100644 4640.bf671556de706900.js create mode 100644 4640.bf671556de706900.js.map create mode 100644 4680.dca80f0114f257a5.js create mode 100644 4680.dca80f0114f257a5.js.map create mode 100644 4755.e219075f665d048b.js create mode 100644 4755.e219075f665d048b.js.map create mode 100644 48.0f562d23dbadf566.js create mode 100644 48.0f562d23dbadf566.js.map create mode 100644 4843.9cc79487b7ed3c03.js create mode 100644 4843.9cc79487b7ed3c03.js.map create mode 100644 4902.28ad83213bdec45d.js create mode 100644 4902.28ad83213bdec45d.js.map create mode 100644 4967.cd6fdeac93fac987.js create mode 100644 4967.cd6fdeac93fac987.js.map create mode 100644 4968.4bfd65c5f3d533da.js create mode 100644 4968.4bfd65c5f3d533da.js.map create mode 100644 4987.33138ee02ba4ed0e.js create mode 100644 4987.33138ee02ba4ed0e.js.map create mode 100644 5007.31862526f240da4f.js create mode 100644 5007.31862526f240da4f.js.map create mode 100644 5068.86ffa29fdc3c2b5b.js create mode 100644 5068.86ffa29fdc3c2b5b.js.map create mode 100644 5069.53f13d63fe0558cb.js create mode 100644 5069.53f13d63fe0558cb.js.map create mode 100644 5094.0672665b5e6e8b59.js create mode 100644 5094.0672665b5e6e8b59.js.map create mode 100644 5106.926c12c126e770c2.js create mode 100644 5106.926c12c126e770c2.js.map create mode 100644 5113.06c4d3be2def5d91.js create mode 100644 5113.06c4d3be2def5d91.js.map create mode 100644 5125.cb6e8cbbc7ad49a7.js create mode 100644 5125.cb6e8cbbc7ad49a7.js.map create mode 100644 5146.b387d5f410c1016d.js create mode 100644 5146.b387d5f410c1016d.js.map create mode 100644 5187.965705915ef13b61.js create mode 100644 5187.965705915ef13b61.js.map create mode 100644 5391.8db302d7cdc20831.js create mode 100644 5391.8db302d7cdc20831.js.map create mode 100644 5501.ef2c2ee2f2ccecee.js create mode 100644 5501.ef2c2ee2f2ccecee.js.map create mode 100644 5544.0c122e7d49a65d8b.js create mode 100644 5544.0c122e7d49a65d8b.js.map create mode 100644 5555.29d4358f47cf82e8.js create mode 100644 5555.29d4358f47cf82e8.js.map create mode 100644 5598.4cbade95a704b244.js create mode 100644 5598.4cbade95a704b244.js.map create mode 100644 5603.e3fb7439c64f9ec3.js create mode 100644 5603.e3fb7439c64f9ec3.js.map create mode 100644 5749.3443645c0dda54c3.js create mode 100644 5749.3443645c0dda54c3.js.map create mode 100644 5873.7dbdb8681d2e2ea9.js create mode 100644 5873.7dbdb8681d2e2ea9.js.map create mode 100644 5915.d27f1fecd9111bee.js create mode 100644 5915.d27f1fecd9111bee.js.map create mode 100644 6069.47ef4be18c0da5af.js create mode 100644 6069.47ef4be18c0da5af.js.map create mode 100644 6215.10b022de38e29aa9.js create mode 100644 6215.10b022de38e29aa9.js.map create mode 100644 6237.404c096af053e535.js create mode 100644 6237.404c096af053e535.js.map create mode 100644 6297.510c28b6eef50735.js create mode 100644 6297.510c28b6eef50735.js.map create mode 100644 6441.1ed54299f1bb8173.js create mode 100644 6441.1ed54299f1bb8173.js.map create mode 100644 6477.0424bf6b21aa4e25.js create mode 100644 6477.0424bf6b21aa4e25.js.map create mode 100644 6508.9d89448241dbbf53.js create mode 100644 6508.9d89448241dbbf53.js.map create mode 100644 6578.1dc26f3f2eb234f6.js create mode 100644 6578.1dc26f3f2eb234f6.js.map create mode 100644 6618.f423d4017883477a.js create mode 100644 6618.f423d4017883477a.js.map create mode 100644 6748.1496b15b2d5af775.js create mode 100644 6748.1496b15b2d5af775.js.map create mode 100644 6763.4771ea4780be6711.js create mode 100644 6763.4771ea4780be6711.js.map create mode 100644 6785.56f0194b8bc6f8fb.js create mode 100644 6785.56f0194b8bc6f8fb.js.map create mode 100644 6839.055ca8b6e5386f89.js create mode 100644 6839.055ca8b6e5386f89.js.map create mode 100644 6844.232b0adce74e1ee4.js create mode 100644 6844.232b0adce74e1ee4.js.map create mode 100644 6892.725faee0a79d78c4.js create mode 100644 6892.725faee0a79d78c4.js.map create mode 100644 6896.bfb8d28f7841fa68.js create mode 100644 6896.bfb8d28f7841fa68.js.map create mode 100644 6936.b38a104e439a2a69.js create mode 100644 6936.b38a104e439a2a69.js.map create mode 100644 6980.808708880eb725f8.js create mode 100644 6980.808708880eb725f8.js.map create mode 100644 7131.1faca00847bd973c.js create mode 100644 7131.1faca00847bd973c.js.map create mode 100644 7189.b143b6038795e493.js create mode 100644 7189.b143b6038795e493.js.map create mode 100644 7208.0175d6e664789ed5.js create mode 100644 7208.0175d6e664789ed5.js.map create mode 100644 7328.3db0b9e4fe1dfa43.js create mode 100644 7328.3db0b9e4fe1dfa43.js.map create mode 100644 7376.8b32539275c4a110.js create mode 100644 7376.8b32539275c4a110.js.map create mode 100644 7432.60cdd2184b9bcbf3.js create mode 100644 7432.60cdd2184b9bcbf3.js.map create mode 100644 7477.7a3179a930219ad9.js create mode 100644 7477.7a3179a930219ad9.js.map create mode 100644 7672.d97d46e89fe535ef.js create mode 100644 7672.d97d46e89fe535ef.js.map create mode 100644 7888.00f90ea9f58d7341.js create mode 100644 7888.00f90ea9f58d7341.js.map create mode 100644 7920.20f071c82a068a0e.js create mode 100644 7920.20f071c82a068a0e.js.map create mode 100644 8013.aa29348797c9028f.js create mode 100644 8013.aa29348797c9028f.js.map create mode 100644 8017.fee44725bd625d4f.js create mode 100644 8017.fee44725bd625d4f.js.map create mode 100644 8024.8f695f64b9d3a742.js create mode 100644 8024.8f695f64b9d3a742.js.map create mode 100644 8046.c6105b2ea1127aa5.js create mode 100644 8046.c6105b2ea1127aa5.js.map create mode 100644 8061.45943028350155ea.js create mode 100644 8061.45943028350155ea.js.map create mode 100644 8071.a88180266995b878.js create mode 100644 8071.a88180266995b878.js.map create mode 100644 8116.dc3b01ebb5427ede.js create mode 100644 8116.dc3b01ebb5427ede.js.map create mode 100644 8158.797e810298041051.js create mode 100644 8158.797e810298041051.js.map create mode 100644 8282.aaa9267c610b17ec.js create mode 100644 8282.aaa9267c610b17ec.js.map create mode 100644 8287.3f6959d00e46e8cd.js create mode 100644 8287.3f6959d00e46e8cd.js.map create mode 100644 833.c8215640c38aad70.js create mode 100644 833.c8215640c38aad70.js.map create mode 100644 8352.cb8b08283660350a.js create mode 100644 8352.cb8b08283660350a.js.map create mode 100644 8376.4e03513f7c087c87.js create mode 100644 8376.4e03513f7c087c87.js.map create mode 100644 8443.de65e2a75bd1193f.js create mode 100644 8443.de65e2a75bd1193f.js.map create mode 100644 8467.1cade2ad8c4fc9ea.js create mode 100644 8467.1cade2ad8c4fc9ea.js.map create mode 100644 8513.617bf359ae892014.js create mode 100644 8513.617bf359ae892014.js.map create mode 100644 8538.708a79be94deb0d6.js create mode 100644 8538.708a79be94deb0d6.js.map create mode 100644 8596.6646ca7640e1d7e1.js create mode 100644 8596.6646ca7640e1d7e1.js.map create mode 100644 8608.b26895fdf516017a.js create mode 100644 8608.b26895fdf516017a.js.map create mode 100644 8711.87826b664b7e25ce.js create mode 100644 8711.87826b664b7e25ce.js.map create mode 100644 8746.3969f1073f5b9dd8.js create mode 100644 8746.3969f1073f5b9dd8.js.map create mode 100644 8750.d27dfe1204dee74b.js create mode 100644 8750.d27dfe1204dee74b.js.map create mode 100644 8782.0020aeddc828f58c.js create mode 100644 8782.0020aeddc828f58c.js.map create mode 100644 882.8ecea003bd197edb.js create mode 100644 882.8ecea003bd197edb.js.map create mode 100644 9031.e6e4824d40477a60.js create mode 100644 9031.e6e4824d40477a60.js.map create mode 100644 9101.b0542315455d3ec9.js create mode 100644 9101.b0542315455d3ec9.js.map create mode 100644 919.2768e0fb2f87cd5b.js create mode 100644 919.2768e0fb2f87cd5b.js.map create mode 100644 9542.652f275cf72dc68f.js create mode 100644 9542.652f275cf72dc68f.js.map create mode 100644 9880.b05c53460a3f6d9c.js create mode 100644 9880.b05c53460a3f6d9c.js.map delete mode 100644 README.md create mode 100644 assets/objects/.nojekyll create mode 100644 assets/objects/panelpage/.gitkeep create mode 100644 assets/objects/panelpage/200e4ab8-922c-4a9c-a760-77bce3facf92.json create mode 100644 assets/objects/panelpage/286f9a5e-196d-4812-bd8a-235a164a1a97.json create mode 100644 assets/objects/panelpage/479f66de-7468-47fa-a649-9fd476b754ab.json create mode 100644 assets/objects/panelpage/5494f47d-473c-49b4-bbef-f563be722131.json create mode 100644 assets/objects/panelpage/8ebbcdb3-300f-4739-8cb3-6c5d4c402638.json create mode 100644 assets/objects/panelpage/bb66aa62-8635-4015-86c9-ba4f208b0856.json create mode 100644 assets/objects/panelpage/bd29f806-3b4b-4b79-9dac-7a5ae221f432.json create mode 100644 assets/objects/panelpage/c91aa514-0ad8-4797-a516-cce997c877d9.json create mode 100644 assets/objects/panelpage/d75c2267-0eb1-4238-ad0e-7d4b0d1d4801.json create mode 100644 assets/objects/panelpage/e39fa739-b354-45cb-8a35-5c9e54d28d6f.json create mode 100644 assets/objects/panelpages.ts create mode 100644 common.d501fa65ebd77cd6.js create mode 100644 common.d501fa65ebd77cd6.js.map create mode 100644 favicon.ico create mode 100644 index.html create mode 100644 main.97e2814cd5c42c1f.js create mode 100644 main.97e2814cd5c42c1f.js.map create mode 100644 native_forms_rebuild_v1/index.html create mode 100644 native_forms_rebuild_v1/manage/index.html create mode 100644 pages/create-panel-page/index.html create mode 100644 polyfills.59541052011d83bd.js create mode 100644 polyfills.59541052011d83bd.js.map create mode 100644 scripts.ddc73f89d6f243c1.js create mode 100644 scripts.ddc73f89d6f243c1.js.map create mode 100644 staticwebapp.config.json create mode 100644 styles.26553dfaf5ec6973.css create mode 100644 styles.26553dfaf5ec6973.css.map diff --git a/.github/workflows/dev-azure.yml b/.github/workflows/dev-azure.yml new file mode 100644 index 0000000..27cd6dc --- /dev/null +++ b/.github/workflows/dev-azure.yml @@ -0,0 +1,15 @@ +name: Deploy +on: + push: + branches: + - dev +permissions: + id-token: write + contents: read +jobs: + build: + uses: rollthecloudinc/druid/.github/workflows/azure-workflow.yml@master + with: + ENVIRONMENT: dev + secrets: + AZURE_STATIC_WEB_APPS_API_TOKEN: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/prod-azure.yml b/.github/workflows/prod-azure.yml new file mode 100644 index 0000000..e245c9d --- /dev/null +++ b/.github/workflows/prod-azure.yml @@ -0,0 +1,15 @@ +name: Deploy +on: + push: + branches: + - master +permissions: + id-token: write + contents: read +jobs: + build: + uses: rollthecloudinc/druid/.github/workflows/azure-workflow.yml@master + with: + ENVIRONMENT: prod + secrets: + AZURE_STATIC_WEB_APPS_API_TOKEN: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN }} \ No newline at end of file diff --git a/1041.6a524365de59f24e.js b/1041.6a524365de59f24e.js new file mode 100644 index 0000000..85edd6f --- /dev/null +++ b/1041.6a524365de59f24e.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[1041,3022,5106,7376,5187,4091,1217,7208,4968,6785,4155,1084,6896,7920,6980,5113,1328,5749,4309,8024,8513,5555,4967,8017,8116,5873,8061,4680,2111,3326,8596,8352,5501,882,3098,8467,6578,4093,8608,8443,7328,6441,1821,4902,5915,3278,5391,6748,1551,6763,4151,5069,7432,8071,6618],{76317:(k,v,e)=>{e.d(v,{X:()=>y});var d=e(78069),l=e(48047),r=e(4089),i=e(20265),o=e(24582),p=e(28694),y=function(M){(0,o.Z)(C,M);var R=(0,p.Z)(C);function C(I){var b;return(0,d.Z)(this,C),(b=R.call(this))._value=I,b}return(0,l.Z)(C,[{key:"value",get:function(){return this.getValue()}},{key:"_subscribe",value:function(b){var A=(0,r.Z)((0,i.Z)(C.prototype),"_subscribe",this).call(this,b);return!A.closed&&b.next(this._value),A}},{key:"getValue",value:function(){var x=this._value;if(this.hasError)throw this.thrownError;return this._throwIfClosed(),x}},{key:"next",value:function(b){(0,r.Z)((0,i.Z)(C.prototype),"next",this).call(this,this._value=b)}}]),C}(e(50253).x)},50253:(k,v,e)=>{e.d(v,{x:()=>A});var d=e(95106),l=e(78069),r=e(48047),i=e(4089),o=e(20265),p=e(24582),s=e(28694),y=e(90833),M=e(17714),C=(0,e(27543).d)(function(S){return function(){S(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),I=e(39663),b=e(12309),A=function(){var S=function(f){(0,p.Z)(B,f);var Z=(0,s.Z)(B);function B(){var E;return(0,l.Z)(this,B),(E=Z.call(this)).closed=!1,E.currentObservers=null,E.observers=[],E.isStopped=!1,E.hasError=!1,E.thrownError=null,E}return(0,r.Z)(B,[{key:"lift",value:function(h){var D=new x(this,this);return D.operator=h,D}},{key:"_throwIfClosed",value:function(){if(this.closed)throw new C}},{key:"next",value:function(h){var D=this;(0,b.x)(function(){if(D._throwIfClosed(),!D.isStopped){D.currentObservers||(D.currentObservers=Array.from(D.observers));var m,P=(0,d.Z)(D.currentObservers);try{for(P.s();!(m=P.n()).done;)m.value.next(h)}catch(N){P.e(N)}finally{P.f()}}})}},{key:"error",value:function(h){var D=this;(0,b.x)(function(){if(D._throwIfClosed(),!D.isStopped){D.hasError=D.isStopped=!0,D.thrownError=h;for(var P=D.observers;P.length;)P.shift().error(h)}})}},{key:"complete",value:function(){var h=this;(0,b.x)(function(){if(h._throwIfClosed(),!h.isStopped){h.isStopped=!0;for(var D=h.observers;D.length;)D.shift().complete()}})}},{key:"unsubscribe",value:function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}},{key:"observed",get:function(){var h;return(null===(h=this.observers)||void 0===h?void 0:h.length)>0}},{key:"_trySubscribe",value:function(h){return this._throwIfClosed(),(0,i.Z)((0,o.Z)(B.prototype),"_trySubscribe",this).call(this,h)}},{key:"_subscribe",value:function(h){return this._throwIfClosed(),this._checkFinalizedStatuses(h),this._innerSubscribe(h)}},{key:"_innerSubscribe",value:function(h){var D=this,O=this.observers;return this.hasError||this.isStopped?M.Lc:(this.currentObservers=null,O.push(h),new M.w0(function(){D.currentObservers=null,(0,I.P)(O,h)}))}},{key:"_checkFinalizedStatuses",value:function(h){var m=this.isStopped;this.hasError?h.error(this.thrownError):m&&h.complete()}},{key:"asObservable",value:function(){var h=new y.y;return h.source=this,h}}]),B}(y.y);return S.create=function(f,Z){return new x(f,Z)},S}(),x=function(S){(0,p.Z)(Z,S);var f=(0,s.Z)(Z);function Z(B,E){var h;return(0,l.Z)(this,Z),(h=f.call(this)).destination=B,h.source=E,h}return(0,r.Z)(Z,[{key:"next",value:function(E){var h,D;null===(D=null===(h=this.destination)||void 0===h?void 0:h.next)||void 0===D||D.call(h,E)}},{key:"error",value:function(E){var h,D;null===(D=null===(h=this.destination)||void 0===h?void 0:h.error)||void 0===D||D.call(h,E)}},{key:"complete",value:function(){var E,h;null===(h=null===(E=this.destination)||void 0===E?void 0:E.complete)||void 0===h||h.call(E)}},{key:"_subscribe",value:function(E){var h,D;return null!==(D=null===(h=this.source)||void 0===h?void 0:h.subscribe(E))&&void 0!==D?D:M.Lc}}]),Z}(A)},20591:(k,v,e)=>{e.d(v,{E:()=>l});var l=new(e(90833).y)(function(o){return o.complete()})},37400:(k,v,e)=>{e.d(v,{D:()=>P});var d=e(54987),l=e(8728),r=e(41944);function i(m){var O=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,r.e)(function(N,L){L.add(m.schedule(function(){return N.subscribe(L)},O))})}var s=e(90833),M=e(67321),R=e(92971),C=e(1817);function b(m,O){if(!m)throw new Error("Iterable cannot be null");return new s.y(function(N){(0,C.f)(N,O,function(){var L=m[Symbol.asyncIterator]();(0,C.f)(N,O,function(){L.next().then(function(K){K.done?N.complete():N.next(K.value)})},0,!0)})})}var A=e(21331),x=e(79548),S=e(99806),f=e(23433),Z=e(80470),B=e(27785),E=e(20181);function P(m,O){return O?function D(m,O){if(null!=m){if((0,A.c)(m))return function o(m,O){return(0,d.Xf)(m).pipe(i(O),(0,l.Q)(O))}(m,O);if((0,S.z)(m))return function y(m,O){return new s.y(function(N){var L=0;return O.schedule(function(){L===m.length?N.complete():(N.next(m[L++]),N.closed||this.schedule())})})}(m,O);if((0,x.t)(m))return function p(m,O){return(0,d.Xf)(m).pipe(i(O),(0,l.Q)(O))}(m,O);if((0,Z.D)(m))return b(m,O);if((0,f.T)(m))return function I(m,O){return new s.y(function(N){var L;return(0,C.f)(N,O,function(){L=m[M.h](),(0,C.f)(N,O,function(){var K,Q;try{var z=L.next();K=z.value,Q=z.done}catch(H){return void N.error(H)}Q?N.complete():N.next(K)},0,!0)}),function(){return(0,R.m)(L?.return)&&L.return()}})}(m,O);if((0,E.L)(m))return function h(m,O){return b((0,E.Q)(m),O)}(m,O)}throw(0,B.z)(m)}(m,O):(0,d.Xf)(m)}},10745:(k,v,e)=>{e.d(v,{of:()=>r});var d=e(10420),l=e(37400);function r(){for(var i=arguments.length,o=new Array(i),p=0;p{e.d(v,{Q:()=>R,x:()=>M});var d=e(78069),l=e(48047),r=e(35488),i=e(24582),o=e(28694),p=e(4089),s=e(20265);function M(C,I,b,A,x){return new R(C,I,b,A,x)}var R=function(C){(0,i.Z)(b,C);var I=(0,o.Z)(b);function b(A,x,S,f,Z,B){var E,h,D,P;return(0,d.Z)(this,b),(P=I.call(this,A)).onFinalize=Z,P.shouldUnsubscribe=B,P._next=x?function(m){try{x(m)}catch(O){A.error(O)}}:(0,p.Z)((E=(0,r.Z)(P),(0,s.Z)(b.prototype)),"_next",E),P._error=f?function(m){try{f(m)}catch(O){A.error(O)}finally{this.unsubscribe()}}:(0,p.Z)((h=(0,r.Z)(P),(0,s.Z)(b.prototype)),"_error",h),P._complete=S?function(){try{S()}catch(m){A.error(m)}finally{this.unsubscribe()}}:(0,p.Z)((D=(0,r.Z)(P),(0,s.Z)(b.prototype)),"_complete",D),P}return(0,l.Z)(b,[{key:"unsubscribe",value:function(){var x;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var S=this.closed;(0,p.Z)((0,s.Z)(b.prototype),"unsubscribe",this).call(this),!S&&(null===(x=this.onFinalize)||void 0===x||x.call(this))}}}]),b}(e(5463).Lv)},60116:(k,v,e)=>{e.d(v,{h:()=>r});var d=e(41944),l=e(93945);function r(i,o){return(0,d.e)(function(p,s){var y=0;p.subscribe((0,l.x)(s,function(M){return i.call(o,M,y++)&&s.next(M)}))})}},8728:(k,v,e)=>{e.d(v,{Q:()=>i});var d=e(1817),l=e(41944),r=e(93945);function i(o){var p=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,l.e)(function(s,y){s.subscribe((0,r.x)(y,function(M){return(0,d.f)(y,o,function(){return y.next(M)},p)},function(){return(0,d.f)(y,o,function(){return y.complete()},p)},function(M){return(0,d.f)(y,o,function(){return y.error(M)},p)}))})}},59295:(k,v,e)=>{e.d(v,{q:()=>i});var d=e(20591),l=e(41944),r=e(93945);function i(o){return o<=0?function(){return d.E}:(0,l.e)(function(p,s){var y=0;p.subscribe((0,r.x)(s,function(M){++y<=o&&(s.next(M),o<=y&&s.complete())}))})}},68951:(k,v,e)=>{e.d(v,{R:()=>o});var d=e(41944),l=e(93945),r=e(54987),i=e(99635);function o(p){return(0,d.e)(function(s,y){(0,r.Xf)(p).subscribe((0,l.x)(y,function(){return y.complete()},i.Z)),!y.closed&&s.subscribe(y)})}},10420:(k,v,e)=>{e.d(v,{_6:()=>p,jO:()=>i,yG:()=>o});var d=e(92971),l=e(59867);function r(s){return s[s.length-1]}function i(s){return(0,d.m)(r(s))?s.pop():void 0}function o(s){return(0,l.K)(r(s))?s.pop():void 0}function p(s,y){return"number"==typeof r(s)?s.pop():y}},1817:(k,v,e)=>{function d(l,r,i){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,p=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s=r.schedule(function(){i(),p?l.add(this.schedule(null,o)):this.unsubscribe()},o);if(l.add(s),!p)return s}e.d(v,{f:()=>d})},14437:(k,v,e)=>{e.d(v,{b:()=>r});var d=e(90833),l=e(92971);function r(i){return!!i&&(i instanceof d.y||(0,l.m)(i.lift)&&(0,l.m)(i.subscribe))}},59867:(k,v,e)=>{e.d(v,{K:()=>l});var d=e(92971);function l(r){return r&&(0,d.m)(r.schedule)}},41944:(k,v,e)=>{e.d(v,{A:()=>l,e:()=>r});var d=e(92971);function l(i){return(0,d.m)(i?.lift)}function r(i){return function(o){if(l(o))return o.lift(function(p){try{return i(p,this)}catch(s){this.error(s)}});throw new TypeError("Unable to lift unknown Observable type")}}},11041:(k,v,e)=>{e.r(v),e.d(v,{BaseTreeControl:()=>E,CDK_TREE_NODE_OUTLET_NODE:()=>P,CdkNestedTreeNode:()=>$,CdkTree:()=>W,CdkTreeModule:()=>te,CdkTreeNode:()=>j,CdkTreeNodeDef:()=>N,CdkTreeNodeOutlet:()=>m,CdkTreeNodeOutletContext:()=>O,CdkTreeNodePadding:()=>G,CdkTreeNodeToggle:()=>Y,FlatTreeControl:()=>h,NestedTreeControl:()=>D,getTreeControlFunctionsMissingError:()=>H,getTreeControlMissingError:()=>z,getTreeMissingMatchingNodeDefError:()=>Q,getTreeMultipleDefaultNodeDefsError:()=>K,getTreeNoValidDataSourceError:()=>L});var d=e(4089),l=e(20265),r=e(95106),i=e(24582),o=e(28694),p=e(86170),s=e(78069),y=e(48047),M=e(81382),R=e(14437),C=e(50253),I=e(76317),b=e(10745),A=e(59295),x=e(60116),S=e(68951),f=e(56718),Z=e(35333),B=e(43068),E=function(){function c(){(0,s.Z)(this,c),this.expansionModel=new M.SelectionModel(!0)}return(0,y.Z)(c,[{key:"toggle",value:function(t){this.expansionModel.toggle(this._trackByValue(t))}},{key:"expand",value:function(t){this.expansionModel.select(this._trackByValue(t))}},{key:"collapse",value:function(t){this.expansionModel.deselect(this._trackByValue(t))}},{key:"isExpanded",value:function(t){return this.expansionModel.isSelected(this._trackByValue(t))}},{key:"toggleDescendants",value:function(t){this.expansionModel.isSelected(this._trackByValue(t))?this.collapseDescendants(t):this.expandDescendants(t)}},{key:"collapseAll",value:function(){this.expansionModel.clear()}},{key:"expandDescendants",value:function(t){var n,_=this,a=[t];a.push.apply(a,(0,p.Z)(this.getDescendants(t))),(n=this.expansionModel).select.apply(n,(0,p.Z)(a.map(function(g){return _._trackByValue(g)})))}},{key:"collapseDescendants",value:function(t){var n,_=this,a=[t];a.push.apply(a,(0,p.Z)(this.getDescendants(t))),(n=this.expansionModel).deselect.apply(n,(0,p.Z)(a.map(function(g){return _._trackByValue(g)})))}},{key:"_trackByValue",value:function(t){return this.trackBy?this.trackBy(t):t}}]),c}(),h=function(c){(0,i.Z)(t,c);var u=(0,o.Z)(t);function t(n,_,a){var g;return(0,s.Z)(this,t),(g=u.call(this)).getLevel=n,g.isExpandable=_,g.options=a,g.options&&(g.trackBy=g.options.trackBy),g}return(0,y.Z)(t,[{key:"getDescendants",value:function(_){for(var g=[],T=this.dataNodes.indexOf(_)+1;T2&&void 0!==arguments[2]?arguments[2]:this._nodeOutlet.viewContainer,T=arguments.length>3?arguments[3]:void 0,U=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._dataDiffer).diff(n);U&&(U.forEachOperation(function(w,V,F){if(null==w.previousIndex)_.insertNode(n[F],F,g,T);else if(null==F)g.remove(V),_._levels.delete(w.item);else{var X=g.get(V);g.move(X,F)}}),this._changeDetectorRef.detectChanges())}},{key:"_getNodeDef",value:function(n,_){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(function(g){return g.when&&g.when(_,n)})||this._defaultNodeDef}},{key:"insertNode",value:function(n,_,a,g){var T=this._getNodeDef(n,_),U=new O(n);U.level=this.treeControl.getLevel?this.treeControl.getLevel(n):typeof g<"u"&&this._levels.has(g)?this._levels.get(g)+1:0,this._levels.set(n,U.level),(a||this._nodeOutlet.viewContainer).createEmbeddedView(T.template,U,_),j.mostRecentTreeNode&&(j.mostRecentTreeNode.data=n)}}]),u}();return c.\u0275fac=function(t){return new(t||c)(f.\u0275\u0275directiveInject(f.IterableDiffers),f.\u0275\u0275directiveInject(f.ChangeDetectorRef))},c.\u0275cmp=f.\u0275\u0275defineComponent({type:c,selectors:[["cdk-tree"]],contentQueries:function(t,n,_){var a;1&t&&f.\u0275\u0275contentQuery(_,N,5),2&t&&f.\u0275\u0275queryRefresh(a=f.\u0275\u0275loadQuery())&&(n._nodeDefs=a)},viewQuery:function(t,n){var _;1&t&&f.\u0275\u0275viewQuery(m,7),2&t&&f.\u0275\u0275queryRefresh(_=f.\u0275\u0275loadQuery())&&(n._nodeOutlet=_.first)},hostAttrs:["role","tree",1,"cdk-tree"],inputs:{dataSource:"dataSource",treeControl:"treeControl",trackBy:"trackBy"},exportAs:["cdkTree"],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(t,n){1&t&&f.\u0275\u0275elementContainer(0,0)},dependencies:[m],encapsulation:2}),c}(),j=function(){var c=function(){function u(t,n){(0,s.Z)(this,u),this._elementRef=t,this._tree=n,this._destroyed=new C.x,this._dataChanges=new C.x,u.mostRecentTreeNode=this,this.role="treeitem"}return(0,y.Z)(u,[{key:"role",get:function(){return"treeitem"},set:function(n){this._elementRef.nativeElement.setAttribute("role",n)}},{key:"data",get:function(){return this._data},set:function(n){n!==this._data&&(this._data=n,this._setRoleFromData(),this._dataChanges.next())}},{key:"isExpanded",get:function(){return this._tree.treeControl.isExpanded(this._data)}},{key:"level",get:function(){return this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._data):this._parentNodeAriaLevel}},{key:"ngOnInit",value:function(){this._parentNodeAriaLevel=function J(c){for(var u=c.parentElement;u&&!q(u);)u=u.parentElement;return u?u.classList.contains("cdk-nested-tree-node")?(0,Z.coerceNumberProperty)(u.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._elementRef.nativeElement.setAttribute("aria-level","".concat(this.level+1))}},{key:"ngOnDestroy",value:function(){u.mostRecentTreeNode===this&&(u.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}},{key:"focus",value:function(){this._elementRef.nativeElement.focus()}},{key:"_setRoleFromData",value:function(){this.role="treeitem"}}]),u}();return c.mostRecentTreeNode=null,c.\u0275fac=function(t){return new(t||c)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(W))},c.\u0275dir=f.\u0275\u0275defineDirective({type:c,selectors:[["cdk-tree-node"]],hostAttrs:[1,"cdk-tree-node"],hostVars:1,hostBindings:function(t,n){2&t&&f.\u0275\u0275attribute("aria-expanded",n.isExpanded)},inputs:{role:"role"},exportAs:["cdkTreeNode"]}),c}();function q(c){var u=c.classList;return!!(null!=u&&u.contains("cdk-nested-tree-node")||null!=u&&u.contains("cdk-tree"))}var $=function(){var c=function(u){(0,i.Z)(n,u);var t=(0,o.Z)(n);function n(_,a,g){var T;return(0,s.Z)(this,n),(T=t.call(this,_,a))._differs=g,T}return(0,y.Z)(n,[{key:"ngAfterContentInit",value:function(){var a=this;this._dataDiffer=this._differs.find([]).create(this._tree.trackBy);var g=this._tree.treeControl.getChildren(this.data);Array.isArray(g)?this.updateChildrenNodes(g):(0,R.b)(g)&&g.pipe((0,S.R)(this._destroyed)).subscribe(function(T){return a.updateChildrenNodes(T)}),this.nodeOutlet.changes.pipe((0,S.R)(this._destroyed)).subscribe(function(){return a.updateChildrenNodes()})}},{key:"ngOnInit",value:function(){(0,d.Z)((0,l.Z)(n.prototype),"ngOnInit",this).call(this)}},{key:"ngOnDestroy",value:function(){this._clear(),(0,d.Z)((0,l.Z)(n.prototype),"ngOnDestroy",this).call(this)}},{key:"updateChildrenNodes",value:function(a){var g=this._getNodeOutlet();a&&(this._children=a),g&&this._children?this._tree.renderNodeChanges(this._children,this._dataDiffer,g.viewContainer,this._data):this._dataDiffer.diff([])}},{key:"_clear",value:function(){var a=this._getNodeOutlet();a&&(a.viewContainer.clear(),this._dataDiffer.diff([]))}},{key:"_getNodeOutlet",value:function(){var a=this,g=this.nodeOutlet;return g&&g.find(function(T){return!T._node||T._node===a})}}]),n}(j);return c.\u0275fac=function(t){return new(t||c)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(W),f.\u0275\u0275directiveInject(f.IterableDiffers))},c.\u0275dir=f.\u0275\u0275defineDirective({type:c,selectors:[["cdk-nested-tree-node"]],contentQueries:function(t,n,_){var a;1&t&&f.\u0275\u0275contentQuery(_,m,5),2&t&&f.\u0275\u0275queryRefresh(a=f.\u0275\u0275loadQuery())&&(n.nodeOutlet=a)},hostAttrs:[1,"cdk-nested-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["cdkNestedTreeNode"],features:[f.\u0275\u0275ProvidersFeature([{provide:j,useExisting:c},{provide:P,useExisting:c}]),f.\u0275\u0275InheritDefinitionFeature]}),c}(),ee=/([A-Za-z%]+)$/,G=function(){var c=function(){function u(t,n,_,a){var g=this;(0,s.Z)(this,u),this._treeNode=t,this._tree=n,this._element=_,this._dir=a,this._destroyed=new C.x,this.indentUnits="px",this._indent=40,this._setPadding(),a&&a.change.pipe((0,S.R)(this._destroyed)).subscribe(function(){return g._setPadding(!0)}),t._dataChanges.subscribe(function(){return g._setPadding()})}return(0,y.Z)(u,[{key:"level",get:function(){return this._level},set:function(n){this._setLevelInput(n)}},{key:"indent",get:function(){return this._indent},set:function(n){this._setIndentInput(n)}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_paddingIndent",value:function(){var n=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,_=null==this._level?n:this._level;return"number"==typeof _?"".concat(_*this._indent).concat(this.indentUnits):null}},{key:"_setPadding",value:function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],_=this._paddingIndent();if(_!==this._currentPadding||n){var a=this._element.nativeElement,g=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",T="paddingLeft"===g?"paddingRight":"paddingLeft";a.style[g]=_||"",a.style[T]="",this._currentPadding=_}}},{key:"_setLevelInput",value:function(n){this._level=(0,Z.coerceNumberProperty)(n,null),this._setPadding()}},{key:"_setIndentInput",value:function(n){var _=n,a="px";if("string"==typeof n){var g=n.split(ee);_=g[0],a=g[1]||a}this.indentUnits=a,this._indent=(0,Z.coerceNumberProperty)(_),this._setPadding()}}]),u}();return c.\u0275fac=function(t){return new(t||c)(f.\u0275\u0275directiveInject(j),f.\u0275\u0275directiveInject(W),f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(B.Directionality,8))},c.\u0275dir=f.\u0275\u0275defineDirective({type:c,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:["cdkTreeNodePadding","level"],indent:["cdkTreeNodePaddingIndent","indent"]}}),c}(),Y=function(){var c=function(){function u(t,n){(0,s.Z)(this,u),this._tree=t,this._treeNode=n,this._recursive=!1}return(0,y.Z)(u,[{key:"recursive",get:function(){return this._recursive},set:function(n){this._recursive=(0,Z.coerceBooleanProperty)(n)}},{key:"_toggle",value:function(n){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),n.stopPropagation()}}]),u}();return c.\u0275fac=function(t){return new(t||c)(f.\u0275\u0275directiveInject(W),f.\u0275\u0275directiveInject(j))},c.\u0275dir=f.\u0275\u0275defineDirective({type:c,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(t,n){1&t&&f.\u0275\u0275listener("click",function(a){return n._toggle(a)})},inputs:{recursive:["cdkTreeNodeToggleRecursive","recursive"]}}),c}(),te=function(){var c=(0,y.Z)(function u(){(0,s.Z)(this,u)});return c.\u0275fac=function(t){return new(t||c)},c.\u0275mod=f.\u0275\u0275defineNgModule({type:c}),c.\u0275inj=f.\u0275\u0275defineInjector({}),c}()},44841:(k,v,e)=>{function d(l,r){(null==r||r>l.length)&&(r=l.length);for(var i=0,o=new Array(r);id})},35488:(k,v,e)=>{function d(l){if(void 0===l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}e.d(v,{Z:()=>d})},95106:(k,v,e)=>{e.d(v,{Z:()=>l});var d=e(44206);function l(r,i){var o=typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"];if(!o){if(Array.isArray(r)||(o=(0,d.Z)(r))||i&&r&&"number"==typeof r.length){o&&(r=o);var p=0,s=function(){};return{s,n:function(){return p>=r.length?{done:!0}:{done:!1,value:r[p++]}},e:function(I){throw I},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var R,y=!0,M=!1;return{s:function(){o=o.call(r)},n:function(){var I=o.next();return y=I.done,I},e:function(I){M=!0,R=I},f:function(){try{!y&&null!=o.return&&o.return()}finally{if(M)throw R}}}}},28694:(k,v,e)=>{e.d(v,{Z:()=>p});var d=e(20265),l=e(98568),r=e(43445),i=e(35488);function p(s){var y=(0,l.Z)();return function(){var C,R=(0,d.Z)(s);if(y){var I=(0,d.Z)(this).constructor;C=Reflect.construct(R,arguments,I)}else C=R.apply(this,arguments);return function o(s,y){if(y&&("object"===(0,r.Z)(y)||"function"==typeof y))return y;if(void 0!==y)throw new TypeError("Derived constructors may only return object or undefined");return(0,i.Z)(s)}(this,C)}}},4089:(k,v,e)=>{e.d(v,{Z:()=>r});var d=e(20265);function r(){return r=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(o,p,s){var y=function l(i,o){for(;!Object.prototype.hasOwnProperty.call(i,o)&&null!==(i=(0,d.Z)(i)););return i}(o,p);if(y){var M=Object.getOwnPropertyDescriptor(y,p);return M.get?M.get.call(arguments.length<3?o:s):M.value}},r.apply(this,arguments)}},20265:(k,v,e)=>{function d(l){return(d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)})(l)}e.d(v,{Z:()=>d})},24582:(k,v,e)=>{e.d(v,{Z:()=>l});var d=e(10006);function l(r,i){if("function"!=typeof i&&null!==i)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(i&&i.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),i&&(0,d.Z)(r,i)}},98568:(k,v,e)=>{function d(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(v,{Z:()=>d})},4826:(k,v,e)=>{function d(l){if(typeof Symbol<"u"&&null!=l[Symbol.iterator]||null!=l["@@iterator"])return Array.from(l)}e.d(v,{Z:()=>d})},10006:(k,v,e)=>{function d(l,r){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,p){return o.__proto__=p,o})(l,r)}e.d(v,{Z:()=>d})},86170:(k,v,e)=>{e.d(v,{Z:()=>p});var d=e(44841),r=e(4826),i=e(44206);function p(s){return function l(s){if(Array.isArray(s))return(0,d.Z)(s)}(s)||(0,r.Z)(s)||(0,i.Z)(s)||function o(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(k,v,e)=>{e.d(v,{Z:()=>l});var d=e(44841);function l(r,i){if(r){if("string"==typeof r)return(0,d.Z)(r,i);var o=Object.prototype.toString.call(r).slice(8,-1);if("Object"===o&&r.constructor&&(o=r.constructor.name),"Map"===o||"Set"===o)return Array.from(r);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return(0,d.Z)(r,i)}}}}]); +//# sourceMappingURL=1041.6a524365de59f24e.js.map \ No newline at end of file diff --git a/1041.6a524365de59f24e.js.map b/1041.6a524365de59f24e.js.map new file mode 100644 index 0000000..e8cb167 --- /dev/null +++ b/1041.6a524365de59f24e.js.map @@ -0,0 +1 @@ +{"version":3,"file":"1041.6a524365de59f24e.js","mappings":"qbACaA,E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ACf,GAAAxD,EACA,qBAAAA,EAAA,SAAoCyD,EAAArD,GAAgBJ,EAAAwD,GACpD,IAAAlZ,EAAAwX,OAAAlZ,UAAA8a,SAAAxb,KAAA8X,GAAA2D,MAAA,MAEA,GADA,WAAArZ,GAAA0V,EAAAiB,cAAA3W,EAAA0V,EAAAiB,YAAA5X,MACA,QAAAiB,GAAA,QAAAA,EAAA,OAAAN,MAAAC,KAAA+V,GACA,iBAAA1V,GAAA,2CAAAsZ,KAAAtZ,GAAA,SAAsFmZ,EAAArD,GAAgBJ,EAAAwD,EAAA,CACtG","names":["BehaviorSubject","_Subject","_inherits","_super","_createSuper","_value","_this","_classCallCheck","this","call","_createClass","key","get","getValue","value","subscriber","subscription","_get","_getPrototypeOf","prototype","closed","next","hasError","thrownError","_throwIfClosed","Subject","ObjectUnsubscribedError","createErrorClass","name","message","_Observable","currentObservers","observers","isStopped","operator","subject","AnonymousSubject","_this2","errorContext","Array","from","_step","_iterator","_createForOfIteratorHelper","s","n","done","err","e","f","_this3","length","shift","error","_this4","complete","_a","_checkFinalizedStatuses","_innerSubscribe","_this5","EMPTY_SUBSCRIPTION","push","Subscription","arrRemove","observable","Observable","source","create","destination","_super2","_this6","_b","subscribe","EMPTY","subscribeOn","scheduler","delay","arguments","undefined","operate","add","schedule","scheduleAsyncIterable","input","Error","executeSchedule","iterator","Symbol","asyncIterator","then","result","scheduled","isInteropObservable","scheduleObservable","innerFrom","pipe","observeOn","isArrayLike","scheduleArray","i","isPromise","schedulePromise","isAsyncIterable","isIterable","scheduleIterable","Symbol_iterator","_iterator$next","isFunction","return","isReadableStreamLike","scheduleReadableStreamLike","readableStreamLikeToAsyncGenerator","createInvalidObservableTypeError","of","_len","args","_key","popScheduler","createOperatorSubscriber","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_next","_assertThisInitialized","_error","unsubscribe","_complete","Subscriber","filter","predicate","thisArg","index","take","count","seen","takeUntil","notifier","noop","last","arr","popResultSelector","pop","isScheduler","popNumber","defaultValue","parentSubscription","work","repeat","scheduleSubscription","isObservable","obj","lift","hasLift","init","liftedSource","TypeError","BaseTreeControl","expansionModel","SelectionModel","dataNode","toggle","_trackByValue","select","deselect","isSelected","collapseDescendants","expandDescendants","clear","_this$expansionModel","toBeProcessed","apply","_toConsumableArray","getDescendants","map","_this$expansionModel2","trackBy","FlatTreeControl","_BaseTreeControl","getLevel","isExpandable","options","results","dataNodes","indexOf","_this$expansionModel3","node","NestedTreeControl","_BaseTreeControl2","getChildren","_this$expansionModel4","allNodes","reduce","accumulator","concat","descendants","_getDescendants","splice","_this7","childrenNodes","isArray","forEach","child","Boolean","children","CDK_TREE_NODE_OUTLET_NODE","InjectionToken","CdkTreeNodeOutlet","viewContainer","_node","ɵfac","t","i0","ɵdir","type","selectors","CdkTreeNodeOutletContext","data","$implicit","CdkTreeNodeDef","template","inputs","when","getTreeNoValidDataSourceError","getTreeMultipleDefaultNodeDefsError","getTreeMissingMatchingNodeDefError","getTreeControlMissingError","getTreeControlFunctionsMissingError","CdkTree","_differs","_changeDetectorRef","_onDestroy","_levels","Map","viewChange","start","end","Number","MAX_VALUE","_dataSource","set","dataSource","_switchDataSource","_dataDiffer","find","_nodeOutlet","disconnect","_dataSubscription","defaultNodeDefs","_nodeDefs","def","_defaultNodeDef","_observeRenderChanges","dataStream","_this8","isDataSource","connect","renderNodeChanges","_this9","parentData","changes","diff","forEachOperation","item","adjustedPreviousIndex","currentIndex","previousIndex","insertNode","remove","delete","view","move","detectChanges","first","nodeData","_getNodeDef","context","level","treeControl","has","createEmbeddedView","CdkTreeNode","mostRecentTreeNode","ɵcmp","contentQueries","rf","ctx","dirIndex","_t","viewQuery","hostAttrs","exportAs","decls","vars","consts","dependencies","encapsulation","_elementRef","_tree","_destroyed","_dataChanges","role","_role","nativeElement","setAttribute","_data","_setRoleFromData","isExpanded","_parentNodeAriaLevel","getParentNodeAriaLevel","nodeElement","parent","parentElement","isNodeElement","classList","contains","coerceNumberProperty","getAttribute","focus","hostVars","hostBindings","element","CdkNestedTreeNode","_CdkTreeNode","_super3","elementRef","tree","_this10","_this11","updateChildrenNodes","nodeOutlet","_clear","outlet","_getNodeOutlet","_children","_this12","outlets","disabled","tabIndex","features","provide","useExisting","cssUnitPattern","CdkTreeNodePadding","_treeNode","_element","_dir","_this13","indentUnits","_indent","_setPadding","change","_level","_setLevelInput","indent","_setIndentInput","nodeLevel","forceChange","padding","_paddingIndent","_currentPadding","paddingProp","resetProp","style","units","parts","split","i2","CdkTreeNodeToggle","_recursive","coerceBooleanProperty","event","recursive","toggleDescendants","stopPropagation","$event","_toggle","CdkTreeModule","ɵmod","ɵinj","_arrayLikeToArray","len","arr2","self","ReferenceError","o","allowArrayLike","it","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","_e","normalCompletion","didErr","step","_e2","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Super","getPrototypeOf","NewTarget","constructor","Reflect","construct","_possibleConstructorReturn","esm_typeof","assertThisInitialized","bind","target","property","receiver","base","_superPropBase","object","Object","hasOwnProperty","desc","getOwnPropertyDescriptor","setPrototypeOf","__proto__","subClass","superClass","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","valueOf","_iterableToArray","iter","_setPrototypeOf","p","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","toString","slice","test"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/BehaviorSubject.js","./node_modules/rxjs/dist/esm/internal/util/ObjectUnsubscribedError.js","./node_modules/rxjs/dist/esm/internal/Subject.js","./node_modules/rxjs/dist/esm/internal/observable/empty.js","./node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleAsyncIterable.js","./node_modules/rxjs/dist/esm/internal/observable/from.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduled.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleObservable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleArray.js","./node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleIterable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleReadableStreamLike.js","./node_modules/rxjs/dist/esm/internal/observable/of.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/filter.js","./node_modules/rxjs/dist/esm/internal/operators/observeOn.js","./node_modules/rxjs/dist/esm/internal/operators/take.js","./node_modules/rxjs/dist/esm/internal/operators/takeUntil.js","./node_modules/rxjs/dist/esm/internal/util/args.js","./node_modules/rxjs/dist/esm/internal/util/executeSchedule.js","./node_modules/rxjs/dist/esm/internal/util/isObservable.js","./node_modules/rxjs/dist/esm/internal/util/isScheduler.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/@angular/cdk/fesm2022/tree.mjs","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { Subject } from './Subject';\nexport class BehaviorSubject extends Subject {\n constructor(_value) {\n super();\n this._value = _value;\n }\n get value() {\n return this.getValue();\n }\n _subscribe(subscriber) {\n const subscription = super._subscribe(subscriber);\n !subscription.closed && subscriber.next(this._value);\n return subscription;\n }\n getValue() {\n const { hasError, thrownError, _value } = this;\n if (hasError) {\n throw thrownError;\n }\n this._throwIfClosed();\n return _value;\n }\n next(value) {\n super.next((this._value = value));\n }\n}\n","import { createErrorClass } from './createErrorClass';\nexport const ObjectUnsubscribedError = createErrorClass((_super) => function ObjectUnsubscribedErrorImpl() {\n _super(this);\n this.name = 'ObjectUnsubscribedError';\n this.message = 'object unsubscribed';\n});\n","import { Observable } from './Observable';\nimport { Subscription, EMPTY_SUBSCRIPTION } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { arrRemove } from './util/arrRemove';\nimport { errorContext } from './util/errorContext';\nexport class Subject extends Observable {\n constructor() {\n super();\n this.closed = false;\n this.currentObservers = null;\n this.observers = [];\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n lift(operator) {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n }\n _throwIfClosed() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n }\n next(value) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n if (!this.currentObservers) {\n this.currentObservers = Array.from(this.observers);\n }\n for (const observer of this.currentObservers) {\n observer.next(value);\n }\n }\n });\n }\n error(err) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.hasError = this.isStopped = true;\n this.thrownError = err;\n const { observers } = this;\n while (observers.length) {\n observers.shift().error(err);\n }\n }\n });\n }\n complete() {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.isStopped = true;\n const { observers } = this;\n while (observers.length) {\n observers.shift().complete();\n }\n }\n });\n }\n unsubscribe() {\n this.isStopped = this.closed = true;\n this.observers = this.currentObservers = null;\n }\n get observed() {\n var _a;\n return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;\n }\n _trySubscribe(subscriber) {\n this._throwIfClosed();\n return super._trySubscribe(subscriber);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._checkFinalizedStatuses(subscriber);\n return this._innerSubscribe(subscriber);\n }\n _innerSubscribe(subscriber) {\n const { hasError, isStopped, observers } = this;\n if (hasError || isStopped) {\n return EMPTY_SUBSCRIPTION;\n }\n this.currentObservers = null;\n observers.push(subscriber);\n return new Subscription(() => {\n this.currentObservers = null;\n arrRemove(observers, subscriber);\n });\n }\n _checkFinalizedStatuses(subscriber) {\n const { hasError, thrownError, isStopped } = this;\n if (hasError) {\n subscriber.error(thrownError);\n }\n else if (isStopped) {\n subscriber.complete();\n }\n }\n asObservable() {\n const observable = new Observable();\n observable.source = this;\n return observable;\n }\n}\nSubject.create = (destination, source) => {\n return new AnonymousSubject(destination, source);\n};\nexport class AnonymousSubject extends Subject {\n constructor(destination, source) {\n super();\n this.destination = destination;\n this.source = source;\n }\n next(value) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);\n }\n error(err) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);\n }\n complete() {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);\n }\n _subscribe(subscriber) {\n var _a, _b;\n return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;\n }\n}\n","import { Observable } from '../Observable';\nexport const EMPTY = new Observable((subscriber) => subscriber.complete());\nexport function empty(scheduler) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n return new Observable((subscriber) => scheduler.schedule(() => subscriber.complete()));\n}\n","import { operate } from '../util/lift';\nexport function subscribeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay));\n });\n}\n","import { Observable } from '../Observable';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleAsyncIterable(input, scheduler) {\n if (!input) {\n throw new Error('Iterable cannot be null');\n }\n return new Observable((subscriber) => {\n executeSchedule(subscriber, scheduler, () => {\n const iterator = input[Symbol.asyncIterator]();\n executeSchedule(subscriber, scheduler, () => {\n iterator.next().then((result) => {\n if (result.done) {\n subscriber.complete();\n }\n else {\n subscriber.next(result.value);\n }\n });\n }, 0, true);\n });\n });\n}\n","import { scheduled } from '../scheduled/scheduled';\nimport { innerFrom } from './innerFrom';\nexport function from(input, scheduler) {\n return scheduler ? scheduled(input, scheduler) : innerFrom(input);\n}\n","import { scheduleObservable } from './scheduleObservable';\nimport { schedulePromise } from './schedulePromise';\nimport { scheduleArray } from './scheduleArray';\nimport { scheduleIterable } from './scheduleIterable';\nimport { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isPromise } from '../util/isPromise';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isIterable } from '../util/isIterable';\nimport { isAsyncIterable } from '../util/isAsyncIterable';\nimport { createInvalidObservableTypeError } from '../util/throwUnobservableError';\nimport { isReadableStreamLike } from '../util/isReadableStreamLike';\nimport { scheduleReadableStreamLike } from './scheduleReadableStreamLike';\nexport function scheduled(input, scheduler) {\n if (input != null) {\n if (isInteropObservable(input)) {\n return scheduleObservable(input, scheduler);\n }\n if (isArrayLike(input)) {\n return scheduleArray(input, scheduler);\n }\n if (isPromise(input)) {\n return schedulePromise(input, scheduler);\n }\n if (isAsyncIterable(input)) {\n return scheduleAsyncIterable(input, scheduler);\n }\n if (isIterable(input)) {\n return scheduleIterable(input, scheduler);\n }\n if (isReadableStreamLike(input)) {\n return scheduleReadableStreamLike(input, scheduler);\n }\n }\n throw createInvalidObservableTypeError(input);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function scheduleObservable(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nexport function scheduleArray(input, scheduler) {\n return new Observable((subscriber) => {\n let i = 0;\n return scheduler.schedule(function () {\n if (i === input.length) {\n subscriber.complete();\n }\n else {\n subscriber.next(input[i++]);\n if (!subscriber.closed) {\n this.schedule();\n }\n }\n });\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function schedulePromise(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from '../util/isFunction';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleIterable(input, scheduler) {\n return new Observable((subscriber) => {\n let iterator;\n executeSchedule(subscriber, scheduler, () => {\n iterator = input[Symbol_iterator]();\n executeSchedule(subscriber, scheduler, () => {\n let value;\n let done;\n try {\n ({ value, done } = iterator.next());\n }\n catch (err) {\n subscriber.error(err);\n return;\n }\n if (done) {\n subscriber.complete();\n }\n else {\n subscriber.next(value);\n }\n }, 0, true);\n });\n return () => isFunction(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return();\n });\n}\n","import { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { readableStreamLikeToAsyncGenerator } from '../util/isReadableStreamLike';\nexport function scheduleReadableStreamLike(input, scheduler) {\n return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);\n}\n","import { popScheduler } from '../util/args';\nimport { from } from './from';\nexport function of(...args) {\n const scheduler = popScheduler(args);\n return from(args, scheduler);\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","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}\n","import { executeSchedule } from '../util/executeSchedule';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function observeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, (value) => executeSchedule(subscriber, scheduler, () => subscriber.next(value), delay), () => executeSchedule(subscriber, scheduler, () => subscriber.complete(), delay), (err) => executeSchedule(subscriber, scheduler, () => subscriber.error(err), delay)));\n });\n}\n","import { EMPTY } from '../observable/empty';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function take(count) {\n return count <= 0\n ?\n () => EMPTY\n : operate((source, subscriber) => {\n let seen = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n if (++seen <= count) {\n subscriber.next(value);\n if (count <= seen) {\n subscriber.complete();\n }\n }\n }));\n });\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { innerFrom } from '../observable/innerFrom';\nimport { noop } from '../util/noop';\nexport function takeUntil(notifier) {\n return operate((source, subscriber) => {\n innerFrom(notifier).subscribe(createOperatorSubscriber(subscriber, () => subscriber.complete(), noop));\n !subscriber.closed && source.subscribe(subscriber);\n });\n}\n","import { isFunction } from './isFunction';\nimport { isScheduler } from './isScheduler';\nfunction last(arr) {\n return arr[arr.length - 1];\n}\nexport function popResultSelector(args) {\n return isFunction(last(args)) ? args.pop() : undefined;\n}\nexport function popScheduler(args) {\n return isScheduler(last(args)) ? args.pop() : undefined;\n}\nexport function popNumber(args, defaultValue) {\n return typeof last(args) === 'number' ? args.pop() : defaultValue;\n}\n","export function executeSchedule(parentSubscription, scheduler, work, delay = 0, repeat = false) {\n const scheduleSubscription = scheduler.schedule(function () {\n work();\n if (repeat) {\n parentSubscription.add(this.schedule(null, delay));\n }\n else {\n this.unsubscribe();\n }\n }, delay);\n parentSubscription.add(scheduleSubscription);\n if (!repeat) {\n return scheduleSubscription;\n }\n}\n","import { Observable } from '../Observable';\nimport { isFunction } from './isFunction';\nexport function isObservable(obj) {\n return !!obj && (obj instanceof Observable || (isFunction(obj.lift) && isFunction(obj.subscribe)));\n}\n","import { isFunction } from './isFunction';\nexport function isScheduler(value) {\n return value && isFunction(value.schedule);\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","import { SelectionModel, isDataSource } from '@angular/cdk/collections';\nimport { isObservable, Subject, BehaviorSubject, of } from 'rxjs';\nimport { take, filter, takeUntil } from 'rxjs/operators';\nimport * as i0 from '@angular/core';\nimport { InjectionToken, Directive, Inject, Optional, Component, ViewEncapsulation, ChangeDetectionStrategy, Input, ViewChild, ContentChildren, NgModule } from '@angular/core';\nimport { coerceNumberProperty, coerceBooleanProperty } from '@angular/cdk/coercion';\nimport * as i2 from '@angular/cdk/bidi';\n\n/** Base tree control. It has basic toggle/expand/collapse operations on a single data node. */\nclass BaseTreeControl {\n constructor() {\n /** A selection model with multi-selection to track expansion status. */\n this.expansionModel = new SelectionModel(true);\n }\n /** Toggles one single data node's expanded/collapsed state. */\n toggle(dataNode) {\n this.expansionModel.toggle(this._trackByValue(dataNode));\n }\n /** Expands one single data node. */\n expand(dataNode) {\n this.expansionModel.select(this._trackByValue(dataNode));\n }\n /** Collapses one single data node. */\n collapse(dataNode) {\n this.expansionModel.deselect(this._trackByValue(dataNode));\n }\n /** Whether a given data node is expanded or not. Returns true if the data node is expanded. */\n isExpanded(dataNode) {\n return this.expansionModel.isSelected(this._trackByValue(dataNode));\n }\n /** Toggles a subtree rooted at `node` recursively. */\n toggleDescendants(dataNode) {\n this.expansionModel.isSelected(this._trackByValue(dataNode))\n ? this.collapseDescendants(dataNode)\n : this.expandDescendants(dataNode);\n }\n /** Collapse all dataNodes in the tree. */\n collapseAll() {\n this.expansionModel.clear();\n }\n /** Expands a subtree rooted at given data node recursively. */\n expandDescendants(dataNode) {\n let toBeProcessed = [dataNode];\n toBeProcessed.push(...this.getDescendants(dataNode));\n this.expansionModel.select(...toBeProcessed.map(value => this._trackByValue(value)));\n }\n /** Collapses a subtree rooted at given data node recursively. */\n collapseDescendants(dataNode) {\n let toBeProcessed = [dataNode];\n toBeProcessed.push(...this.getDescendants(dataNode));\n this.expansionModel.deselect(...toBeProcessed.map(value => this._trackByValue(value)));\n }\n _trackByValue(value) {\n return this.trackBy ? this.trackBy(value) : value;\n }\n}\n\n/** Flat tree control. Able to expand/collapse a subtree recursively for flattened tree. */\nclass FlatTreeControl extends BaseTreeControl {\n /** Construct with flat tree data node functions getLevel and isExpandable. */\n constructor(getLevel, isExpandable, options) {\n super();\n this.getLevel = getLevel;\n this.isExpandable = isExpandable;\n this.options = options;\n if (this.options) {\n this.trackBy = this.options.trackBy;\n }\n }\n /**\n * Gets a list of the data node's subtree of descendent data nodes.\n *\n * To make this working, the `dataNodes` of the TreeControl must be flattened tree nodes\n * with correct levels.\n */\n getDescendants(dataNode) {\n const startIndex = this.dataNodes.indexOf(dataNode);\n const results = [];\n // Goes through flattened tree nodes in the `dataNodes` array, and get all descendants.\n // The level of descendants of a tree node must be greater than the level of the given\n // tree node.\n // If we reach a node whose level is equal to the level of the tree node, we hit a sibling.\n // If we reach a node whose level is greater than the level of the tree node, we hit a\n // sibling of an ancestor.\n for (let i = startIndex + 1; i < this.dataNodes.length && this.getLevel(dataNode) < this.getLevel(this.dataNodes[i]); i++) {\n results.push(this.dataNodes[i]);\n }\n return results;\n }\n /**\n * Expands all data nodes in the tree.\n *\n * To make this working, the `dataNodes` variable of the TreeControl must be set to all flattened\n * data nodes of the tree.\n */\n expandAll() {\n this.expansionModel.select(...this.dataNodes.map(node => this._trackByValue(node)));\n }\n}\n\n/** Nested tree control. Able to expand/collapse a subtree recursively for NestedNode type. */\nclass NestedTreeControl extends BaseTreeControl {\n /** Construct with nested tree function getChildren. */\n constructor(getChildren, options) {\n super();\n this.getChildren = getChildren;\n this.options = options;\n if (this.options) {\n this.trackBy = this.options.trackBy;\n }\n }\n /**\n * Expands all dataNodes in the tree.\n *\n * To make this working, the `dataNodes` variable of the TreeControl must be set to all root level\n * data nodes of the tree.\n */\n expandAll() {\n this.expansionModel.clear();\n const allNodes = this.dataNodes.reduce((accumulator, dataNode) => [...accumulator, ...this.getDescendants(dataNode), dataNode], []);\n this.expansionModel.select(...allNodes.map(node => this._trackByValue(node)));\n }\n /** Gets a list of descendant dataNodes of a subtree rooted at given data node recursively. */\n getDescendants(dataNode) {\n const descendants = [];\n this._getDescendants(descendants, dataNode);\n // Remove the node itself\n return descendants.splice(1);\n }\n /** A helper function to get descendants recursively. */\n _getDescendants(descendants, dataNode) {\n descendants.push(dataNode);\n const childrenNodes = this.getChildren(dataNode);\n if (Array.isArray(childrenNodes)) {\n childrenNodes.forEach((child) => this._getDescendants(descendants, child));\n }\n else if (isObservable(childrenNodes)) {\n // TypeScript as of version 3.5 doesn't seem to treat `Boolean` like a function that\n // returns a `boolean` specifically in the context of `filter`, so we manually clarify that.\n childrenNodes.pipe(take(1), filter(Boolean)).subscribe(children => {\n for (const child of children) {\n this._getDescendants(descendants, child);\n }\n });\n }\n }\n}\n\n/**\n * Injection token used to provide a `CdkTreeNode` to its outlet.\n * Used primarily to avoid circular imports.\n * @docs-private\n */\nconst CDK_TREE_NODE_OUTLET_NODE = new InjectionToken('CDK_TREE_NODE_OUTLET_NODE');\n/**\n * Outlet for nested CdkNode. Put `[cdkTreeNodeOutlet]` on a tag to place children dataNodes\n * inside the outlet.\n */\nclass CdkTreeNodeOutlet {\n constructor(viewContainer, _node) {\n this.viewContainer = viewContainer;\n this._node = _node;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkTreeNodeOutlet, deps: [{ token: i0.ViewContainerRef }, { token: CDK_TREE_NODE_OUTLET_NODE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkTreeNodeOutlet, selector: \"[cdkTreeNodeOutlet]\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkTreeNodeOutlet, decorators: [{\n type: Directive,\n args: [{\n selector: '[cdkTreeNodeOutlet]',\n }]\n }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: undefined, decorators: [{\n type: Inject,\n args: [CDK_TREE_NODE_OUTLET_NODE]\n }, {\n type: Optional\n }] }]; } });\n\n/** Context provided to the tree node component. */\nclass CdkTreeNodeOutletContext {\n constructor(data) {\n this.$implicit = data;\n }\n}\n/**\n * Data node definition for the CdkTree.\n * Captures the node's template and a when predicate that describes when this node should be used.\n */\nclass CdkTreeNodeDef {\n /** @docs-private */\n constructor(template) {\n this.template = template;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkTreeNodeDef, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkTreeNodeDef, selector: \"[cdkTreeNodeDef]\", inputs: { when: [\"cdkTreeNodeDefWhen\", \"when\"] }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkTreeNodeDef, decorators: [{\n type: Directive,\n args: [{\n selector: '[cdkTreeNodeDef]',\n inputs: ['when: cdkTreeNodeDefWhen'],\n }]\n }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });\n\n/**\n * Returns an error to be thrown when there is no usable data.\n * @docs-private\n */\nfunction getTreeNoValidDataSourceError() {\n return Error(`A valid data source must be provided.`);\n}\n/**\n * Returns an error to be thrown when there are multiple nodes that are missing a when function.\n * @docs-private\n */\nfunction getTreeMultipleDefaultNodeDefsError() {\n return Error(`There can only be one default row without a when predicate function.`);\n}\n/**\n * Returns an error to be thrown when there are no matching node defs for a particular set of data.\n * @docs-private\n */\nfunction getTreeMissingMatchingNodeDefError() {\n return Error(`Could not find a matching node definition for the provided node data.`);\n}\n/**\n * Returns an error to be thrown when there are tree control.\n * @docs-private\n */\nfunction getTreeControlMissingError() {\n return Error(`Could not find a tree control for the tree.`);\n}\n/**\n * Returns an error to be thrown when tree control did not implement functions for flat/nested node.\n * @docs-private\n */\nfunction getTreeControlFunctionsMissingError() {\n return Error(`Could not find functions for nested/flat tree in tree control.`);\n}\n\n/**\n * CDK tree component that connects with a data source to retrieve data of type `T` and renders\n * dataNodes with hierarchy. Updates the dataNodes when new data is provided by the data source.\n */\nclass CdkTree {\n /**\n * Provides a stream containing the latest data array to render. Influenced by the tree's\n * stream of view window (what dataNodes are currently on screen).\n * Data source can be an observable of data array, or a data array to render.\n */\n get dataSource() {\n return this._dataSource;\n }\n set dataSource(dataSource) {\n if (this._dataSource !== dataSource) {\n this._switchDataSource(dataSource);\n }\n }\n constructor(_differs, _changeDetectorRef) {\n this._differs = _differs;\n this._changeDetectorRef = _changeDetectorRef;\n /** Subject that emits when the component has been destroyed. */\n this._onDestroy = new Subject();\n /** Level of nodes */\n this._levels = new Map();\n // TODO(tinayuangao): Setup a listener for scrolling, emit the calculated view to viewChange.\n // Remove the MAX_VALUE in viewChange\n /**\n * Stream containing the latest information on what rows are being displayed on screen.\n * Can be used by the data source to as a heuristic of what data should be provided.\n */\n this.viewChange = new BehaviorSubject({\n start: 0,\n end: Number.MAX_VALUE,\n });\n }\n ngOnInit() {\n this._dataDiffer = this._differs.find([]).create(this.trackBy);\n if (!this.treeControl && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw getTreeControlMissingError();\n }\n }\n ngOnDestroy() {\n this._nodeOutlet.viewContainer.clear();\n this.viewChange.complete();\n this._onDestroy.next();\n this._onDestroy.complete();\n if (this._dataSource && typeof this._dataSource.disconnect === 'function') {\n this.dataSource.disconnect(this);\n }\n if (this._dataSubscription) {\n this._dataSubscription.unsubscribe();\n this._dataSubscription = null;\n }\n }\n ngAfterContentChecked() {\n const defaultNodeDefs = this._nodeDefs.filter(def => !def.when);\n if (defaultNodeDefs.length > 1 && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw getTreeMultipleDefaultNodeDefsError();\n }\n this._defaultNodeDef = defaultNodeDefs[0];\n if (this.dataSource && this._nodeDefs && !this._dataSubscription) {\n this._observeRenderChanges();\n }\n }\n // TODO(tinayuangao): Work on keyboard traversal and actions, make sure it's working for RTL\n // and nested trees.\n /**\n * Switch to the provided data source by resetting the data and unsubscribing from the current\n * render change subscription if one exists. If the data source is null, interpret this by\n * clearing the node outlet. Otherwise start listening for new data.\n */\n _switchDataSource(dataSource) {\n if (this._dataSource && typeof this._dataSource.disconnect === 'function') {\n this.dataSource.disconnect(this);\n }\n if (this._dataSubscription) {\n this._dataSubscription.unsubscribe();\n this._dataSubscription = null;\n }\n // Remove the all dataNodes if there is now no data source\n if (!dataSource) {\n this._nodeOutlet.viewContainer.clear();\n }\n this._dataSource = dataSource;\n if (this._nodeDefs) {\n this._observeRenderChanges();\n }\n }\n /** Set up a subscription for the data provided by the data source. */\n _observeRenderChanges() {\n let dataStream;\n if (isDataSource(this._dataSource)) {\n dataStream = this._dataSource.connect(this);\n }\n else if (isObservable(this._dataSource)) {\n dataStream = this._dataSource;\n }\n else if (Array.isArray(this._dataSource)) {\n dataStream = of(this._dataSource);\n }\n if (dataStream) {\n this._dataSubscription = dataStream\n .pipe(takeUntil(this._onDestroy))\n .subscribe(data => this.renderNodeChanges(data));\n }\n else if (typeof ngDevMode === 'undefined' || ngDevMode) {\n throw getTreeNoValidDataSourceError();\n }\n }\n /** Check for changes made in the data and render each change (node added/removed/moved). */\n renderNodeChanges(data, dataDiffer = this._dataDiffer, viewContainer = this._nodeOutlet.viewContainer, parentData) {\n const changes = dataDiffer.diff(data);\n if (!changes) {\n return;\n }\n changes.forEachOperation((item, adjustedPreviousIndex, currentIndex) => {\n if (item.previousIndex == null) {\n this.insertNode(data[currentIndex], currentIndex, viewContainer, parentData);\n }\n else if (currentIndex == null) {\n viewContainer.remove(adjustedPreviousIndex);\n this._levels.delete(item.item);\n }\n else {\n const view = viewContainer.get(adjustedPreviousIndex);\n viewContainer.move(view, currentIndex);\n }\n });\n this._changeDetectorRef.detectChanges();\n }\n /**\n * Finds the matching node definition that should be used for this node data. If there is only\n * one node definition, it is returned. Otherwise, find the node definition that has a when\n * predicate that returns true with the data. If none return true, return the default node\n * definition.\n */\n _getNodeDef(data, i) {\n if (this._nodeDefs.length === 1) {\n return this._nodeDefs.first;\n }\n const nodeDef = this._nodeDefs.find(def => def.when && def.when(i, data)) || this._defaultNodeDef;\n if (!nodeDef && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw getTreeMissingMatchingNodeDefError();\n }\n return nodeDef;\n }\n /**\n * Create the embedded view for the data node template and place it in the correct index location\n * within the data node view container.\n */\n insertNode(nodeData, index, viewContainer, parentData) {\n const node = this._getNodeDef(nodeData, index);\n // Node context that will be provided to created embedded view\n const context = new CdkTreeNodeOutletContext(nodeData);\n // If the tree is flat tree, then use the `getLevel` function in flat tree control\n // Otherwise, use the level of parent node.\n if (this.treeControl.getLevel) {\n context.level = this.treeControl.getLevel(nodeData);\n }\n else if (typeof parentData !== 'undefined' && this._levels.has(parentData)) {\n context.level = this._levels.get(parentData) + 1;\n }\n else {\n context.level = 0;\n }\n this._levels.set(nodeData, context.level);\n // Use default tree nodeOutlet, or nested node's nodeOutlet\n const container = viewContainer ? viewContainer : this._nodeOutlet.viewContainer;\n container.createEmbeddedView(node.template, context, index);\n // Set the data to just created `CdkTreeNode`.\n // The `CdkTreeNode` created from `createEmbeddedView` will be saved in static variable\n // `mostRecentTreeNode`. We get it from static variable and pass the node data to it.\n if (CdkTreeNode.mostRecentTreeNode) {\n CdkTreeNode.mostRecentTreeNode.data = nodeData;\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkTree, deps: [{ token: i0.IterableDiffers }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkTree, selector: \"cdk-tree\", inputs: { dataSource: \"dataSource\", treeControl: \"treeControl\", trackBy: \"trackBy\" }, host: { attributes: { \"role\": \"tree\" }, classAttribute: \"cdk-tree\" }, queries: [{ propertyName: \"_nodeDefs\", predicate: CdkTreeNodeDef, descendants: true }], viewQueries: [{ propertyName: \"_nodeOutlet\", first: true, predicate: CdkTreeNodeOutlet, descendants: true, static: true }], exportAs: [\"cdkTree\"], ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: \"directive\", type: CdkTreeNodeOutlet, selector: \"[cdkTreeNodeOutlet]\" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkTree, decorators: [{\n type: Component,\n args: [{\n selector: 'cdk-tree',\n exportAs: 'cdkTree',\n template: ``,\n host: {\n 'class': 'cdk-tree',\n 'role': 'tree',\n },\n encapsulation: ViewEncapsulation.None,\n // The \"OnPush\" status for the `CdkTree` component is effectively a noop, so we are removing it.\n // The view for `CdkTree` consists entirely of templates declared in other views. As they are\n // declared elsewhere, they are checked when their declaration points are checked.\n // tslint:disable-next-line:validate-decorators\n changeDetection: ChangeDetectionStrategy.Default,\n }]\n }], ctorParameters: function () { return [{ type: i0.IterableDiffers }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { dataSource: [{\n type: Input\n }], treeControl: [{\n type: Input\n }], trackBy: [{\n type: Input\n }], _nodeOutlet: [{\n type: ViewChild,\n args: [CdkTreeNodeOutlet, { static: true }]\n }], _nodeDefs: [{\n type: ContentChildren,\n args: [CdkTreeNodeDef, {\n // We need to use `descendants: true`, because Ivy will no longer match\n // indirect descendants if it's left as false.\n descendants: true,\n }]\n }] } });\n/**\n * Tree node for CdkTree. It contains the data in the tree node.\n */\nclass CdkTreeNode {\n /**\n * The role of the tree node.\n * @deprecated The correct role is 'treeitem', 'group' should not be used. This input will be\n * removed in a future version.\n * @breaking-change 12.0.0 Remove this input\n */\n get role() {\n return 'treeitem';\n }\n set role(_role) {\n // TODO: move to host after View Engine deprecation\n this._elementRef.nativeElement.setAttribute('role', _role);\n }\n /**\n * The most recently created `CdkTreeNode`. We save it in static variable so we can retrieve it\n * in `CdkTree` and set the data to it.\n */\n static { this.mostRecentTreeNode = null; }\n /** The tree node's data. */\n get data() {\n return this._data;\n }\n set data(value) {\n if (value !== this._data) {\n this._data = value;\n this._setRoleFromData();\n this._dataChanges.next();\n }\n }\n get isExpanded() {\n return this._tree.treeControl.isExpanded(this._data);\n }\n get level() {\n // If the treeControl has a getLevel method, use it to get the level. Otherwise read the\n // aria-level off the parent node and use it as the level for this node (note aria-level is\n // 1-indexed, while this property is 0-indexed, so we don't need to increment).\n return this._tree.treeControl.getLevel\n ? this._tree.treeControl.getLevel(this._data)\n : this._parentNodeAriaLevel;\n }\n constructor(_elementRef, _tree) {\n this._elementRef = _elementRef;\n this._tree = _tree;\n /** Subject that emits when the component has been destroyed. */\n this._destroyed = new Subject();\n /** Emits when the node's data has changed. */\n this._dataChanges = new Subject();\n CdkTreeNode.mostRecentTreeNode = this;\n this.role = 'treeitem';\n }\n ngOnInit() {\n this._parentNodeAriaLevel = getParentNodeAriaLevel(this._elementRef.nativeElement);\n this._elementRef.nativeElement.setAttribute('aria-level', `${this.level + 1}`);\n }\n ngOnDestroy() {\n // If this is the last tree node being destroyed,\n // clear out the reference to avoid leaking memory.\n if (CdkTreeNode.mostRecentTreeNode === this) {\n CdkTreeNode.mostRecentTreeNode = null;\n }\n this._dataChanges.complete();\n this._destroyed.next();\n this._destroyed.complete();\n }\n /** Focuses the menu item. Implements for FocusableOption. */\n focus() {\n this._elementRef.nativeElement.focus();\n }\n // TODO: role should eventually just be set in the component host\n _setRoleFromData() {\n if (!this._tree.treeControl.isExpandable &&\n !this._tree.treeControl.getChildren &&\n (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw getTreeControlFunctionsMissingError();\n }\n this.role = 'treeitem';\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkTreeNode, deps: [{ token: i0.ElementRef }, { token: CdkTree }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkTreeNode, selector: \"cdk-tree-node\", inputs: { role: \"role\" }, host: { properties: { \"attr.aria-expanded\": \"isExpanded\" }, classAttribute: \"cdk-tree-node\" }, exportAs: [\"cdkTreeNode\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkTreeNode, decorators: [{\n type: Directive,\n args: [{\n selector: 'cdk-tree-node',\n exportAs: 'cdkTreeNode',\n host: {\n 'class': 'cdk-tree-node',\n '[attr.aria-expanded]': 'isExpanded',\n },\n }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: CdkTree }]; }, propDecorators: { role: [{\n type: Input\n }] } });\nfunction getParentNodeAriaLevel(nodeElement) {\n let parent = nodeElement.parentElement;\n while (parent && !isNodeElement(parent)) {\n parent = parent.parentElement;\n }\n if (!parent) {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n throw Error('Incorrect tree structure containing detached node.');\n }\n else {\n return -1;\n }\n }\n else if (parent.classList.contains('cdk-nested-tree-node')) {\n return coerceNumberProperty(parent.getAttribute('aria-level'));\n }\n else {\n // The ancestor element is the cdk-tree itself\n return 0;\n }\n}\nfunction isNodeElement(element) {\n const classList = element.classList;\n return !!(classList?.contains('cdk-nested-tree-node') || classList?.contains('cdk-tree'));\n}\n\n/**\n * Nested node is a child of ``. It works with nested tree.\n * By using `cdk-nested-tree-node` component in tree node template, children of the parent node will\n * be added in the `cdkTreeNodeOutlet` in tree node template.\n * The children of node will be automatically added to `cdkTreeNodeOutlet`.\n */\nclass CdkNestedTreeNode extends CdkTreeNode {\n constructor(elementRef, tree, _differs) {\n super(elementRef, tree);\n this._differs = _differs;\n }\n ngAfterContentInit() {\n this._dataDiffer = this._differs.find([]).create(this._tree.trackBy);\n if (!this._tree.treeControl.getChildren && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw getTreeControlFunctionsMissingError();\n }\n const childrenNodes = this._tree.treeControl.getChildren(this.data);\n if (Array.isArray(childrenNodes)) {\n this.updateChildrenNodes(childrenNodes);\n }\n else if (isObservable(childrenNodes)) {\n childrenNodes\n .pipe(takeUntil(this._destroyed))\n .subscribe(result => this.updateChildrenNodes(result));\n }\n this.nodeOutlet.changes\n .pipe(takeUntil(this._destroyed))\n .subscribe(() => this.updateChildrenNodes());\n }\n // This is a workaround for https://github.com/angular/angular/issues/23091\n // In aot mode, the lifecycle hooks from parent class are not called.\n ngOnInit() {\n super.ngOnInit();\n }\n ngOnDestroy() {\n this._clear();\n super.ngOnDestroy();\n }\n /** Add children dataNodes to the NodeOutlet */\n updateChildrenNodes(children) {\n const outlet = this._getNodeOutlet();\n if (children) {\n this._children = children;\n }\n if (outlet && this._children) {\n const viewContainer = outlet.viewContainer;\n this._tree.renderNodeChanges(this._children, this._dataDiffer, viewContainer, this._data);\n }\n else {\n // Reset the data differ if there's no children nodes displayed\n this._dataDiffer.diff([]);\n }\n }\n /** Clear the children dataNodes. */\n _clear() {\n const outlet = this._getNodeOutlet();\n if (outlet) {\n outlet.viewContainer.clear();\n this._dataDiffer.diff([]);\n }\n }\n /** Gets the outlet for the current node. */\n _getNodeOutlet() {\n const outlets = this.nodeOutlet;\n // Note that since we use `descendants: true` on the query, we have to ensure\n // that we don't pick up the outlet of a child node by accident.\n return outlets && outlets.find(outlet => !outlet._node || outlet._node === this);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkNestedTreeNode, deps: [{ token: i0.ElementRef }, { token: CdkTree }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkNestedTreeNode, selector: \"cdk-nested-tree-node\", inputs: { role: \"role\", disabled: \"disabled\", tabIndex: \"tabIndex\" }, host: { classAttribute: \"cdk-nested-tree-node\" }, providers: [\n { provide: CdkTreeNode, useExisting: CdkNestedTreeNode },\n { provide: CDK_TREE_NODE_OUTLET_NODE, useExisting: CdkNestedTreeNode },\n ], queries: [{ propertyName: \"nodeOutlet\", predicate: CdkTreeNodeOutlet, descendants: true }], exportAs: [\"cdkNestedTreeNode\"], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkNestedTreeNode, decorators: [{\n type: Directive,\n args: [{\n selector: 'cdk-nested-tree-node',\n exportAs: 'cdkNestedTreeNode',\n inputs: ['role', 'disabled', 'tabIndex'],\n providers: [\n { provide: CdkTreeNode, useExisting: CdkNestedTreeNode },\n { provide: CDK_TREE_NODE_OUTLET_NODE, useExisting: CdkNestedTreeNode },\n ],\n host: {\n 'class': 'cdk-nested-tree-node',\n },\n }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: CdkTree }, { type: i0.IterableDiffers }]; }, propDecorators: { nodeOutlet: [{\n type: ContentChildren,\n args: [CdkTreeNodeOutlet, {\n // We need to use `descendants: true`, because Ivy will no longer match\n // indirect descendants if it's left as false.\n descendants: true,\n }]\n }] } });\n\n/** Regex used to split a string on its CSS units. */\nconst cssUnitPattern = /([A-Za-z%]+)$/;\n/**\n * Indent for the children tree dataNodes.\n * This directive will add left-padding to the node to show hierarchy.\n */\nclass CdkTreeNodePadding {\n /** The level of depth of the tree node. The padding will be `level * indent` pixels. */\n get level() {\n return this._level;\n }\n set level(value) {\n this._setLevelInput(value);\n }\n /**\n * The indent for each level. Can be a number or a CSS string.\n * Default number 40px from material design menu sub-menu spec.\n */\n get indent() {\n return this._indent;\n }\n set indent(indent) {\n this._setIndentInput(indent);\n }\n constructor(_treeNode, _tree, _element, _dir) {\n this._treeNode = _treeNode;\n this._tree = _tree;\n this._element = _element;\n this._dir = _dir;\n /** Subject that emits when the component has been destroyed. */\n this._destroyed = new Subject();\n /** CSS units used for the indentation value. */\n this.indentUnits = 'px';\n this._indent = 40;\n this._setPadding();\n if (_dir) {\n _dir.change.pipe(takeUntil(this._destroyed)).subscribe(() => this._setPadding(true));\n }\n // In Ivy the indentation binding might be set before the tree node's data has been added,\n // which means that we'll miss the first render. We have to subscribe to changes in the\n // data to ensure that everything is up to date.\n _treeNode._dataChanges.subscribe(() => this._setPadding());\n }\n ngOnDestroy() {\n this._destroyed.next();\n this._destroyed.complete();\n }\n /** The padding indent value for the tree node. Returns a string with px numbers if not null. */\n _paddingIndent() {\n const nodeLevel = this._treeNode.data && this._tree.treeControl.getLevel\n ? this._tree.treeControl.getLevel(this._treeNode.data)\n : null;\n const level = this._level == null ? nodeLevel : this._level;\n return typeof level === 'number' ? `${level * this._indent}${this.indentUnits}` : null;\n }\n _setPadding(forceChange = false) {\n const padding = this._paddingIndent();\n if (padding !== this._currentPadding || forceChange) {\n const element = this._element.nativeElement;\n const paddingProp = this._dir && this._dir.value === 'rtl' ? 'paddingRight' : 'paddingLeft';\n const resetProp = paddingProp === 'paddingLeft' ? 'paddingRight' : 'paddingLeft';\n element.style[paddingProp] = padding || '';\n element.style[resetProp] = '';\n this._currentPadding = padding;\n }\n }\n /**\n * This has been extracted to a util because of TS 4 and VE.\n * View Engine doesn't support property rename inheritance.\n * TS 4.0 doesn't allow properties to override accessors or vice-versa.\n * @docs-private\n */\n _setLevelInput(value) {\n // Set to null as the fallback value so that _setPadding can fall back to the node level if the\n // consumer set the directive as `cdkTreeNodePadding=\"\"`. We still want to take this value if\n // they set 0 explicitly.\n this._level = coerceNumberProperty(value, null);\n this._setPadding();\n }\n /**\n * This has been extracted to a util because of TS 4 and VE.\n * View Engine doesn't support property rename inheritance.\n * TS 4.0 doesn't allow properties to override accessors or vice-versa.\n * @docs-private\n */\n _setIndentInput(indent) {\n let value = indent;\n let units = 'px';\n if (typeof indent === 'string') {\n const parts = indent.split(cssUnitPattern);\n value = parts[0];\n units = parts[1] || units;\n }\n this.indentUnits = units;\n this._indent = coerceNumberProperty(value);\n this._setPadding();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkTreeNodePadding, deps: [{ token: CdkTreeNode }, { token: CdkTree }, { token: i0.ElementRef }, { token: i2.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkTreeNodePadding, selector: \"[cdkTreeNodePadding]\", inputs: { level: [\"cdkTreeNodePadding\", \"level\"], indent: [\"cdkTreeNodePaddingIndent\", \"indent\"] }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkTreeNodePadding, decorators: [{\n type: Directive,\n args: [{\n selector: '[cdkTreeNodePadding]',\n }]\n }], ctorParameters: function () { return [{ type: CdkTreeNode }, { type: CdkTree }, { type: i0.ElementRef }, { type: i2.Directionality, decorators: [{\n type: Optional\n }] }]; }, propDecorators: { level: [{\n type: Input,\n args: ['cdkTreeNodePadding']\n }], indent: [{\n type: Input,\n args: ['cdkTreeNodePaddingIndent']\n }] } });\n\n/**\n * Node toggle to expand/collapse the node.\n */\nclass CdkTreeNodeToggle {\n /** Whether expand/collapse the node recursively. */\n get recursive() {\n return this._recursive;\n }\n set recursive(value) {\n this._recursive = coerceBooleanProperty(value);\n }\n constructor(_tree, _treeNode) {\n this._tree = _tree;\n this._treeNode = _treeNode;\n this._recursive = false;\n }\n _toggle(event) {\n this.recursive\n ? this._tree.treeControl.toggleDescendants(this._treeNode.data)\n : this._tree.treeControl.toggle(this._treeNode.data);\n event.stopPropagation();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkTreeNodeToggle, deps: [{ token: CdkTree }, { token: CdkTreeNode }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkTreeNodeToggle, selector: \"[cdkTreeNodeToggle]\", inputs: { recursive: [\"cdkTreeNodeToggleRecursive\", \"recursive\"] }, host: { listeners: { \"click\": \"_toggle($event)\" } }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkTreeNodeToggle, decorators: [{\n type: Directive,\n args: [{\n selector: '[cdkTreeNodeToggle]',\n host: {\n '(click)': '_toggle($event)',\n },\n }]\n }], ctorParameters: function () { return [{ type: CdkTree }, { type: CdkTreeNode }]; }, propDecorators: { recursive: [{\n type: Input,\n args: ['cdkTreeNodeToggleRecursive']\n }] } });\n\nconst EXPORTED_DECLARATIONS = [\n CdkNestedTreeNode,\n CdkTreeNodeDef,\n CdkTreeNodePadding,\n CdkTreeNodeToggle,\n CdkTree,\n CdkTreeNode,\n CdkTreeNodeOutlet,\n];\nclass CdkTreeModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkTreeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkTreeModule, declarations: [CdkNestedTreeNode,\n CdkTreeNodeDef,\n CdkTreeNodePadding,\n CdkTreeNodeToggle,\n CdkTree,\n CdkTreeNode,\n CdkTreeNodeOutlet], exports: [CdkNestedTreeNode,\n CdkTreeNodeDef,\n CdkTreeNodePadding,\n CdkTreeNodeToggle,\n CdkTree,\n CdkTreeNode,\n CdkTreeNodeOutlet] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkTreeModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkTreeModule, decorators: [{\n type: NgModule,\n args: [{\n exports: EXPORTED_DECLARATIONS,\n declarations: EXPORTED_DECLARATIONS,\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { BaseTreeControl, CDK_TREE_NODE_OUTLET_NODE, CdkNestedTreeNode, CdkTree, CdkTreeModule, CdkTreeNode, CdkTreeNodeDef, CdkTreeNodeOutlet, CdkTreeNodeOutletContext, CdkTreeNodePadding, CdkTreeNodeToggle, FlatTreeControl, NestedTreeControl, getTreeControlFunctionsMissingError, getTreeControlMissingError, getTreeMissingMatchingNodeDefError, getTreeMultipleDefaultNodeDefsError, getTreeNoValidDataSourceError };\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40]} \ No newline at end of file diff --git a/1084.937b47bd2129c294.js b/1084.937b47bd2129c294.js new file mode 100644 index 0000000..87bcaa8 --- /dev/null +++ b/1084.937b47bd2129c294.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[1084,7376,5187,4091,1217,7208,4968,4155,6896,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,4680,2111,3326,8596,8352,5501,3098,8608,8443,5915,3278,5391,6748,6763,4151,5069,7432,6618],{35488:(f,n,e)=>{function t(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}e.d(n,{Z:()=>t})},28694:(f,n,e)=>{e.d(n,{Z:()=>i});var t=e(20265),o=e(98568),u=e(43445),r=e(35488);function i(p){var c=(0,o.Z)();return function(){var a,s=(0,t.Z)(p);if(c){var d=(0,t.Z)(this).constructor;a=Reflect.construct(s,arguments,d)}else a=s.apply(this,arguments);return function _(p,c){if(c&&("object"===(0,u.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(p)}(this,a)}}},20265:(f,n,e)=>{function t(o){return(t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)})(o)}e.d(n,{Z:()=>t})},24582:(f,n,e)=>{e.d(n,{Z:()=>o});var t=e(10006);function o(u,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(r&&r.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),r&&(0,t.Z)(u,r)}},98568:(f,n,e)=>{function t(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(n,{Z:()=>t})},10006:(f,n,e)=>{function t(o,u){return(t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_,i){return _.__proto__=i,_})(o,u)}e.d(n,{Z:()=>t})}}]); +//# sourceMappingURL=1084.937b47bd2129c294.js.map \ No newline at end of file diff --git a/1084.937b47bd2129c294.js.map b/1084.937b47bd2129c294.js.map new file mode 100644 index 0000000..a5b1d95 --- /dev/null +++ b/1084.937b47bd2129c294.js.map @@ -0,0 +1 @@ +{"version":3,"file":"1084.937b47bd2129c294.js","mappings":"sQAAe,SAAAA,EAAAC,GACf,YAAAA,EACA,UAAAC,eAAA,6DAEA,OAAAD,CACA,oGCFe,SAAAE,EAAAC,GACf,IAAAC,KAAkCC,EAAAC,KAClC,kBACA,IACAC,EADAC,KAAgBC,EAAAH,GAAcH,GAE9B,GAAAC,EAAA,CACA,IAAAM,KAAsBD,EAAAH,GAAcK,MAAAC,YACpCL,EAAAM,QAAAC,UAAAN,EAAAO,UAAAL,EAAA,MAEAH,EAAAC,EAAAQ,MAAAL,KAAAI,WAEA,OCZe,SAAAE,EAAAjB,EAAAkB,GACf,GAAAA,IAAsB,YAAtBA,EAAeC,EAAAb,GAAOY,IAAA,mBAAAA,GACtB,OAAAA,EACI,YAAAA,EACJ,UAAAE,UAAA,4DAEA,SAASC,EAAAf,GAAqBN,EAC9B,CDKWiB,CAAyBN,KAAAJ,EACpC,CACA,mBEhBe,SAAAe,EAAAC,GACf,OAAAD,EAAAE,OAAAC,eAAAD,OAAAf,eAAAiB,OAAA,SAAAH,GACA,OAAAA,EAAAI,WAAAH,OAAAf,eAAAc,EACA,GACAA,EACA,mECJe,SAAAK,EAAAC,EAAAC,GACf,sBAAAA,GAAA,OAAAA,EACA,UAAAV,UAAA,sDAEAS,EAAAE,UAAAP,OAAAQ,OAAAF,KAAAC,UAAA,CACAnB,YAAA,CACAqB,MAAAJ,EACAK,UAAA,EACAC,cAAA,KAGAX,OAAAY,eAAAP,EAAA,aACAK,UAAA,IAEAJ,MAAkBO,EAAA/B,GAAcuB,EAAAC,EAChC,mBChBe,SAAAQ,IAEf,UADAzB,QAAA,MAAAA,QAAAC,WACAD,QAAAC,UAAAyB,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAAV,UAAAW,QAAAxB,KAAAL,QAAAC,UAAA2B,QAAA,mBACA,CACA,OACA,QACA,CACA,mCCVe,SAAAE,EAAApB,EAAAqB,GACf,OAAAD,EAAAnB,OAAAC,eAAAD,OAAAC,eAAAC,OAAA,SAAAH,EAAAqB,GACA,OAAArB,EAAAI,UAAAiB,EACArB,CACA,GACAA,EAAAqB,EACA","names":["_assertThisInitialized","self","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","call","esm_typeof","TypeError","assertThisInitialized","_getPrototypeOf","o","Object","setPrototypeOf","bind","__proto__","_inherits","subClass","superClass","prototype","create","value","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6]} \ No newline at end of file diff --git a/1086.170a93fd8be7cc1f.js b/1086.170a93fd8be7cc1f.js new file mode 100644 index 0000000..cd1df99 --- /dev/null +++ b/1086.170a93fd8be7cc1f.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[1086,3022,5106,7376,5187,4091,1217,7208,4968,6785,4155,1084,6896,7920,6980,5113,1328,5749,4309,8024,8513,5555,4967,8017,8116,5873,8061,4680,2111,3326,8596,8352,5501,882,3098,8467,6578,8608,8443,7328,5915,3278,5391,6748,1551,6763,4151,5069,7432,8071,6618],{50253:(w,l,t)=>{t.d(l,{x:()=>T});var s=t(95106),c=t(78069),n=t(48047),i=t(4089),e=t(20265),h=t(24582),u=t(28694),v=t(90833),g=t(17714),y=(0,t(27543).d)(function(R){return function(){R(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),r=t(39663),D=t(12309),T=function(){var R=function(x){(0,h.Z)(B,x);var C=(0,u.Z)(B);function B(){var m;return(0,c.Z)(this,B),(m=C.call(this)).closed=!1,m.currentObservers=null,m.observers=[],m.isStopped=!1,m.hasError=!1,m.thrownError=null,m}return(0,n.Z)(B,[{key:"lift",value:function(a){var f=new P(this,this);return f.operator=a,f}},{key:"_throwIfClosed",value:function(){if(this.closed)throw new y}},{key:"next",value:function(a){var f=this;(0,D.x)(function(){if(f._throwIfClosed(),!f.isStopped){f.currentObservers||(f.currentObservers=Array.from(f.observers));var d,O=(0,s.Z)(f.currentObservers);try{for(O.s();!(d=O.n()).done;)d.value.next(a)}catch(M){O.e(M)}finally{O.f()}}})}},{key:"error",value:function(a){var f=this;(0,D.x)(function(){if(f._throwIfClosed(),!f.isStopped){f.hasError=f.isStopped=!0,f.thrownError=a;for(var O=f.observers;O.length;)O.shift().error(a)}})}},{key:"complete",value:function(){var a=this;(0,D.x)(function(){if(a._throwIfClosed(),!a.isStopped){a.isStopped=!0;for(var f=a.observers;f.length;)f.shift().complete()}})}},{key:"unsubscribe",value:function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}},{key:"observed",get:function(){var a;return(null===(a=this.observers)||void 0===a?void 0:a.length)>0}},{key:"_trySubscribe",value:function(a){return this._throwIfClosed(),(0,i.Z)((0,e.Z)(B.prototype),"_trySubscribe",this).call(this,a)}},{key:"_subscribe",value:function(a){return this._throwIfClosed(),this._checkFinalizedStatuses(a),this._innerSubscribe(a)}},{key:"_innerSubscribe",value:function(a){var f=this,_=this.observers;return this.hasError||this.isStopped?g.Lc:(this.currentObservers=null,_.push(a),new g.w0(function(){f.currentObservers=null,(0,r.P)(_,a)}))}},{key:"_checkFinalizedStatuses",value:function(a){var d=this.isStopped;this.hasError?a.error(this.thrownError):d&&a.complete()}},{key:"asObservable",value:function(){var a=new v.y;return a.source=this,a}}]),B}(v.y);return R.create=function(x,C){return new P(x,C)},R}(),P=function(R){(0,h.Z)(C,R);var x=(0,u.Z)(C);function C(B,m){var a;return(0,c.Z)(this,C),(a=x.call(this)).destination=B,a.source=m,a}return(0,n.Z)(C,[{key:"next",value:function(m){var a,f;null===(f=null===(a=this.destination)||void 0===a?void 0:a.next)||void 0===f||f.call(a,m)}},{key:"error",value:function(m){var a,f;null===(f=null===(a=this.destination)||void 0===a?void 0:a.error)||void 0===f||f.call(a,m)}},{key:"complete",value:function(){var m,a;null===(a=null===(m=this.destination)||void 0===m?void 0:m.complete)||void 0===a||a.call(m)}},{key:"_subscribe",value:function(m){var a,f;return null!==(f=null===(a=this.source)||void 0===a?void 0:a.subscribe(m))&&void 0!==f?f:g.Lc}}]),C}(T)},20591:(w,l,t)=>{t.d(l,{E:()=>c});var c=new(t(90833).y)(function(e){return e.complete()})},37400:(w,l,t)=>{t.d(l,{D:()=>O});var s=t(54987),c=t(8728),n=t(41944);function i(d){var _=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,n.e)(function(M,A){A.add(d.schedule(function(){return M.subscribe(A)},_))})}var u=t(90833),g=t(67321),E=t(92971),y=t(1817);function D(d,_){if(!d)throw new Error("Iterable cannot be null");return new u.y(function(M){(0,y.f)(M,_,function(){var A=d[Symbol.asyncIterator]();(0,y.f)(M,_,function(){A.next().then(function(U){U.done?M.complete():M.next(U.value)})},0,!0)})})}var T=t(21331),P=t(79548),R=t(99806),x=t(23433),C=t(80470),B=t(27785),m=t(20181);function O(d,_){return _?function f(d,_){if(null!=d){if((0,T.c)(d))return function e(d,_){return(0,s.Xf)(d).pipe(i(_),(0,c.Q)(_))}(d,_);if((0,R.z)(d))return function v(d,_){return new u.y(function(M){var A=0;return _.schedule(function(){A===d.length?M.complete():(M.next(d[A++]),M.closed||this.schedule())})})}(d,_);if((0,P.t)(d))return function h(d,_){return(0,s.Xf)(d).pipe(i(_),(0,c.Q)(_))}(d,_);if((0,C.D)(d))return D(d,_);if((0,x.T)(d))return function r(d,_){return new u.y(function(M){var A;return(0,y.f)(M,_,function(){A=d[g.h](),(0,y.f)(M,_,function(){var U,K;try{var V=A.next();U=V.value,K=V.done}catch(N){return void M.error(N)}K?M.complete():M.next(U)},0,!0)}),function(){return(0,E.m)(A?.return)&&A.return()}})}(d,_);if((0,m.L)(d))return function a(d,_){return D((0,m.Q)(d),_)}(d,_)}throw(0,B.z)(d)}(d,_):(0,s.Xf)(d)}},36646:(w,l,t)=>{t.d(l,{T:()=>h});var s=t(1308),c=t(54987),n=t(20591),i=t(10420),e=t(37400);function h(){for(var u=arguments.length,v=new Array(u),g=0;g{t.d(l,{Q:()=>E,x:()=>g});var s=t(78069),c=t(48047),n=t(35488),i=t(24582),e=t(28694),h=t(4089),u=t(20265);function g(y,r,D,T,P){return new E(y,r,D,T,P)}var E=function(y){(0,i.Z)(D,y);var r=(0,e.Z)(D);function D(T,P,R,x,C,B){var m,a,f,O;return(0,s.Z)(this,D),(O=r.call(this,T)).onFinalize=C,O.shouldUnsubscribe=B,O._next=P?function(d){try{P(d)}catch(_){T.error(_)}}:(0,h.Z)((m=(0,n.Z)(O),(0,u.Z)(D.prototype)),"_next",m),O._error=x?function(d){try{x(d)}catch(_){T.error(_)}finally{this.unsubscribe()}}:(0,h.Z)((a=(0,n.Z)(O),(0,u.Z)(D.prototype)),"_error",a),O._complete=R?function(){try{R()}catch(d){T.error(d)}finally{this.unsubscribe()}}:(0,h.Z)((f=(0,n.Z)(O),(0,u.Z)(D.prototype)),"_complete",f),O}return(0,c.Z)(D,[{key:"unsubscribe",value:function(){var P;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var R=this.closed;(0,h.Z)((0,u.Z)(D.prototype),"unsubscribe",this).call(this),!R&&(null===(P=this.onFinalize)||void 0===P||P.call(this))}}}]),D}(t(5463).Lv)},50635:(w,l,t)=>{t.d(l,{U:()=>n});var s=t(41944),c=t(93945);function n(i,e){return(0,s.e)(function(h,u){var v=0;h.subscribe((0,c.x)(u,function(g){u.next(i.call(e,g,v++))}))})}},1308:(w,l,t)=>{t.d(l,{J:()=>n});var s=t(49525),c=t(89173);function n(){return(0,s.z)(c.y,arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0)}},49525:(w,l,t)=>{t.d(l,{z:()=>v});var s=t(50635),c=t(54987),n=t(41944),i=t(1817),e=t(93945),u=t(92971);function v(g,E){var y=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;return(0,u.m)(E)?v(function(r,D){return(0,s.U)(function(T,P){return E(r,T,D,P)})((0,c.Xf)(g(r,D)))},y):("number"==typeof E&&(y=E),(0,n.e)(function(r,D){return function h(g,E,y,r,D,T,P,R){var x=[],C=0,B=0,m=!1,a=function(){m&&!x.length&&!C&&E.complete()},f=function(_){return C{t.d(l,{Q:()=>i});var s=t(1817),c=t(41944),n=t(93945);function i(e){var h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,c.e)(function(u,v){u.subscribe((0,n.x)(v,function(g){return(0,s.f)(v,e,function(){return v.next(g)},h)},function(){return(0,s.f)(v,e,function(){return v.complete()},h)},function(g){return(0,s.f)(v,e,function(){return v.error(g)},h)}))})}},10420:(w,l,t)=>{t.d(l,{_6:()=>h,jO:()=>i,yG:()=>e});var s=t(92971),c=t(59867);function n(u){return u[u.length-1]}function i(u){return(0,s.m)(n(u))?u.pop():void 0}function e(u){return(0,c.K)(n(u))?u.pop():void 0}function h(u,v){return"number"==typeof n(u)?u.pop():v}},1817:(w,l,t)=>{function s(c,n,i){var e=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,h=arguments.length>4&&void 0!==arguments[4]&&arguments[4],u=n.schedule(function(){i(),h?c.add(this.schedule(null,e)):this.unsubscribe()},e);if(c.add(u),!h)return u}t.d(l,{f:()=>s})},59867:(w,l,t)=>{t.d(l,{K:()=>c});var s=t(92971);function c(n){return n&&(0,s.m)(n.schedule)}},41944:(w,l,t)=>{t.d(l,{A:()=>c,e:()=>n});var s=t(92971);function c(i){return(0,s.m)(i?.lift)}function n(i){return function(e){if(c(e))return e.lift(function(h){try{return i(h,this)}catch(u){this.error(u)}});throw new TypeError("Unable to lift unknown Observable type")}}},95096:(w,l,t)=>{t.r(l),t.d(l,{MAT_SORT_DEFAULT_OPTIONS:()=>a,MAT_SORT_HEADER_INTL_PROVIDER:()=>K,MAT_SORT_HEADER_INTL_PROVIDER_FACTORY:()=>U,MatSort:()=>O,MatSortHeader:()=>N,MatSortHeaderIntl:()=>A,MatSortModule:()=>z,matSortAnimations:()=>M});var s=t(24582),c=t(28694),n=t(48047),i=t(78069),e=t(56718),h=t(908),u=t(35333),v=t(52069),g=t(6606),E=t(50253),y=t(36646),r=t(72223),D=t(94055),T=["mat-sort-header",""];function P(p,j){if(1&p){var I=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",3),e.\u0275\u0275listener("@arrowPosition.start",function(){e.\u0275\u0275restoreView(I);var o=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(o._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){e.\u0275\u0275restoreView(I);var o=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(o._disableViewStateAnimation=!1)}),e.\u0275\u0275element(1,"div",4),e.\u0275\u0275elementStart(2,"div",5),e.\u0275\u0275element(3,"div",6)(4,"div",7)(5,"div",8),e.\u0275\u0275elementEnd()()}if(2&p){var b=e.\u0275\u0275nextContext();e.\u0275\u0275property("@arrowOpacity",b._getArrowViewState())("@arrowPosition",b._getArrowViewState())("@allowChildren",b._getArrowDirectionState()),e.\u0275\u0275advance(2),e.\u0275\u0275property("@indicator",b._getArrowDirectionState()),e.\u0275\u0275advance(1),e.\u0275\u0275property("@leftPointer",b._getArrowDirectionState()),e.\u0275\u0275advance(1),e.\u0275\u0275property("@rightPointer",b._getArrowDirectionState())}}var R=["*"],a=new e.InjectionToken("MAT_SORT_DEFAULT_OPTIONS"),f=(0,g.mixinInitialized)((0,g.mixinDisabled)(function(){return(0,n.Z)(function p(){(0,i.Z)(this,p)})}())),O=function(){var p=function(j){(0,s.Z)(b,j);var I=(0,c.Z)(b);function b(S){var o;return(0,i.Z)(this,b),(o=I.call(this))._defaultOptions=S,o.sortables=new Map,o._stateChanges=new E.x,o.start="asc",o._direction="",o.sortChange=new e.EventEmitter,o}return(0,n.Z)(b,[{key:"direction",get:function(){return this._direction},set:function(o){this._direction=o}},{key:"disableClear",get:function(){return this._disableClear},set:function(o){this._disableClear=(0,u.coerceBooleanProperty)(o)}},{key:"register",value:function(o){this.sortables.set(o.id,o)}},{key:"deregister",value:function(o){this.sortables.delete(o.id)}},{key:"sort",value:function(o){this.active!=o.id?(this.active=o.id,this.direction=o.start?o.start:this.start):this.direction=this.getNextSortDirection(o),this.sortChange.emit({active:this.active,direction:this.direction})}},{key:"getNextSortDirection",value:function(o){var k,L,W;if(!o)return"";var Y=null!==(k=null!==(L=o?.disableClear)&&void 0!==L?L:this.disableClear)&&void 0!==k?k:!(null===(W=this._defaultOptions)||void 0===W||!W.disableClear),F=function d(p,j){var I=["asc","desc"];return"desc"==p&&I.reverse(),j||I.push(""),I}(o.start||this.start,Y),H=F.indexOf(this.direction)+1;return H>=F.length&&(H=0),F[H]}},{key:"ngOnInit",value:function(){this._markInitialized()}},{key:"ngOnChanges",value:function(){this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}}]),b}(f);return p.\u0275fac=function(I){return new(I||p)(e.\u0275\u0275directiveInject(a,8))},p.\u0275dir=e.\u0275\u0275defineDirective({type:p,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],active:["matSortActive","active"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[e.\u0275\u0275InheritDefinitionFeature,e.\u0275\u0275NgOnChangesFeature]}),p}(),_=g.AnimationDurations.ENTERING+" "+g.AnimationCurves.STANDARD_CURVE,M={indicator:(0,r.X$)("indicator",[(0,r.SB)("active-asc, asc",(0,r.oB)({transform:"translateY(0px)"})),(0,r.SB)("active-desc, desc",(0,r.oB)({transform:"translateY(10px)"})),(0,r.eR)("active-asc <=> active-desc",(0,r.jt)(_))]),leftPointer:(0,r.X$)("leftPointer",[(0,r.SB)("active-asc, asc",(0,r.oB)({transform:"rotate(-45deg)"})),(0,r.SB)("active-desc, desc",(0,r.oB)({transform:"rotate(45deg)"})),(0,r.eR)("active-asc <=> active-desc",(0,r.jt)(_))]),rightPointer:(0,r.X$)("rightPointer",[(0,r.SB)("active-asc, asc",(0,r.oB)({transform:"rotate(45deg)"})),(0,r.SB)("active-desc, desc",(0,r.oB)({transform:"rotate(-45deg)"})),(0,r.eR)("active-asc <=> active-desc",(0,r.jt)(_))]),arrowOpacity:(0,r.X$)("arrowOpacity",[(0,r.SB)("desc-to-active, asc-to-active, active",(0,r.oB)({opacity:1})),(0,r.SB)("desc-to-hint, asc-to-hint, hint",(0,r.oB)({opacity:.54})),(0,r.SB)("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",(0,r.oB)({opacity:0})),(0,r.eR)("* => asc, * => desc, * => active, * => hint, * => void",(0,r.jt)("0ms")),(0,r.eR)("* <=> *",(0,r.jt)(_))]),arrowPosition:(0,r.X$)("arrowPosition",[(0,r.eR)("* => desc-to-hint, * => desc-to-active",(0,r.jt)(_,(0,r.F4)([(0,r.oB)({transform:"translateY(-25%)"}),(0,r.oB)({transform:"translateY(0)"})]))),(0,r.eR)("* => hint-to-desc, * => active-to-desc",(0,r.jt)(_,(0,r.F4)([(0,r.oB)({transform:"translateY(0)"}),(0,r.oB)({transform:"translateY(25%)"})]))),(0,r.eR)("* => asc-to-hint, * => asc-to-active",(0,r.jt)(_,(0,r.F4)([(0,r.oB)({transform:"translateY(25%)"}),(0,r.oB)({transform:"translateY(0)"})]))),(0,r.eR)("* => hint-to-asc, * => active-to-asc",(0,r.jt)(_,(0,r.F4)([(0,r.oB)({transform:"translateY(0)"}),(0,r.oB)({transform:"translateY(-25%)"})]))),(0,r.SB)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",(0,r.oB)({transform:"translateY(0)"})),(0,r.SB)("hint-to-desc, active-to-desc, desc",(0,r.oB)({transform:"translateY(-25%)"})),(0,r.SB)("hint-to-asc, active-to-asc, asc",(0,r.oB)({transform:"translateY(25%)"}))]),allowChildren:(0,r.X$)("allowChildren",[(0,r.eR)("* <=> *",[(0,r.IO)("@*",(0,r.pV)(),{optional:!0})])])},A=function(){var p=(0,n.Z)(function j(){(0,i.Z)(this,j),this.changes=new E.x});return p.\u0275fac=function(I){return new(I||p)},p.\u0275prov=e.\u0275\u0275defineInjectable({token:p,factory:p.\u0275fac,providedIn:"root"}),p}();function U(p){return p||new A}var K={provide:A,deps:[[new e.Optional,new e.SkipSelf,A]],useFactory:U},V=(0,g.mixinDisabled)(function(){return(0,n.Z)(function p(){(0,i.Z)(this,p)})}()),N=function(){var p=function(j){(0,s.Z)(b,j);var I=(0,c.Z)(b);function b(S,o,k,L,W,Y,F,H){var Z;return(0,i.Z)(this,b),(Z=I.call(this))._intl=S,Z._changeDetectorRef=o,Z._sort=k,Z._columnDef=L,Z._focusMonitor=W,Z._elementRef=Y,Z._ariaDescriber=F,Z._showIndicatorHint=!1,Z._viewState={},Z._arrowDirection="",Z._disableViewStateAnimation=!1,Z.arrowPosition="after",Z._sortActionDescription="Sort",null!=H&&H.arrowPosition&&(Z.arrowPosition=H?.arrowPosition),Z._handleStateChanges(),Z}return(0,n.Z)(b,[{key:"sortActionDescription",get:function(){return this._sortActionDescription},set:function(o){this._updateSortActionDescription(o)}},{key:"disableClear",get:function(){return this._disableClear},set:function(o){this._disableClear=(0,u.coerceBooleanProperty)(o)}},{key:"ngOnInit",value:function(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}},{key:"ngAfterViewInit",value:function(){var o=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(k){var L=!!k;L!==o._showIndicatorHint&&(o._setIndicatorHintVisible(L),o._changeDetectorRef.markForCheck())})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}},{key:"_setIndicatorHintVisible",value:function(o){this._isDisabled()&&o||(this._showIndicatorHint=o,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}},{key:"_setAnimationTransitionState",value:function(o){this._viewState=o||{},this._disableViewStateAnimation&&(this._viewState={toState:o.toState})}},{key:"_toggleOnInteraction",value:function(){this._sort.sort(this),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0)}},{key:"_handleClick",value:function(){this._isDisabled()||this._sort.sort(this)}},{key:"_handleKeydown",value:function(o){!this._isDisabled()&&(o.keyCode===v.SPACE||o.keyCode===v.ENTER)&&(o.preventDefault(),this._toggleOnInteraction())}},{key:"_isSorted",value:function(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}},{key:"_getArrowDirectionState",value:function(){return"".concat(this._isSorted()?"active-":"").concat(this._arrowDirection)}},{key:"_getArrowViewState",value:function(){var o=this._viewState.fromState;return(o?"".concat(o,"-to-"):"")+this._viewState.toState}},{key:"_updateArrowDirection",value:function(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}},{key:"_isDisabled",value:function(){return this._sort.disabled||this.disabled}},{key:"_getAriaSortAttribute",value:function(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}},{key:"_renderArrow",value:function(){return!this._isDisabled()||this._isSorted()}},{key:"_updateSortActionDescription",value:function(o){var k,L;this._sortButton&&(null===(k=this._ariaDescriber)||void 0===k||k.removeDescription(this._sortButton,this._sortActionDescription),null===(L=this._ariaDescriber)||void 0===L||L.describe(this._sortButton,o)),this._sortActionDescription=o}},{key:"_handleStateChanges",value:function(){var o=this;this._rerenderSubscription=(0,y.T)(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(function(){o._isSorted()&&(o._updateArrowDirection(),("hint"===o._viewState.toState||"active"===o._viewState.toState)&&(o._disableViewStateAnimation=!0),o._setAnimationTransitionState({fromState:o._arrowDirection,toState:"active"}),o._showIndicatorHint=!1),!o._isSorted()&&o._viewState&&"active"===o._viewState.toState&&(o._disableViewStateAnimation=!1,o._setAnimationTransitionState({fromState:"active",toState:o._arrowDirection})),o._changeDetectorRef.markForCheck()})}}]),b}(V);return p.\u0275fac=function(I){return new(I||p)(e.\u0275\u0275directiveInject(A),e.\u0275\u0275directiveInject(e.ChangeDetectorRef),e.\u0275\u0275directiveInject(O,8),e.\u0275\u0275directiveInject("MAT_SORT_HEADER_COLUMN_DEF",8),e.\u0275\u0275directiveInject(h.FocusMonitor),e.\u0275\u0275directiveInject(e.ElementRef),e.\u0275\u0275directiveInject(h.AriaDescriber,8),e.\u0275\u0275directiveInject(a,8))},p.\u0275cmp=e.\u0275\u0275defineComponent({type:p,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(I,b){1&I&&e.\u0275\u0275listener("click",function(){return b._handleClick()})("keydown",function(o){return b._handleKeydown(o)})("mouseenter",function(){return b._setIndicatorHintVisible(!0)})("mouseleave",function(){return b._setIndicatorHintVisible(!1)}),2&I&&(e.\u0275\u0275attribute("aria-sort",b._getAriaSortAttribute()),e.\u0275\u0275classProp("mat-sort-header-disabled",b._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[e.\u0275\u0275InheritDefinitionFeature],attrs:T,ngContentSelectors:R,decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(I,b){1&I&&(e.\u0275\u0275projectionDef(),e.\u0275\u0275elementStart(0,"div",0)(1,"div",1),e.\u0275\u0275projection(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(3,P,6,6,"div",2),e.\u0275\u0275elementEnd()),2&I&&(e.\u0275\u0275classProp("mat-sort-header-sorted",b._isSorted())("mat-sort-header-position-before","before"===b.arrowPosition),e.\u0275\u0275attribute("tabindex",b._isDisabled()?null:0)("role",b._isDisabled()?null:"button"),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",b._renderArrow()))},dependencies:[D.NgIf],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}"],encapsulation:2,data:{animation:[M.indicator,M.leftPointer,M.rightPointer,M.arrowOpacity,M.arrowPosition,M.allowChildren]},changeDetection:0}),p}(),z=function(){var p=(0,n.Z)(function j(){(0,i.Z)(this,j)});return p.\u0275fac=function(I){return new(I||p)},p.\u0275mod=e.\u0275\u0275defineNgModule({type:p}),p.\u0275inj=e.\u0275\u0275defineInjector({providers:[K],imports:[D.CommonModule,g.MatCommonModule]}),p}()},44841:(w,l,t)=>{function s(c,n){(null==n||n>c.length)&&(n=c.length);for(var i=0,e=new Array(n);is})},35488:(w,l,t)=>{function s(c){if(void 0===c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c}t.d(l,{Z:()=>s})},95106:(w,l,t)=>{t.d(l,{Z:()=>c});var s=t(44206);function c(n,i){var e=typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(!e){if(Array.isArray(n)||(e=(0,s.Z)(n))||i&&n&&"number"==typeof n.length){e&&(n=e);var h=0,u=function(){};return{s:u,n:function(){return h>=n.length?{done:!0}:{done:!1,value:n[h++]}},e:function(r){throw r},f:u}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var E,v=!0,g=!1;return{s:function(){e=e.call(n)},n:function(){var r=e.next();return v=r.done,r},e:function(r){g=!0,E=r},f:function(){try{!v&&null!=e.return&&e.return()}finally{if(g)throw E}}}}},28694:(w,l,t)=>{t.d(l,{Z:()=>h});var s=t(20265),c=t(98568),n=t(43445),i=t(35488);function h(u){var v=(0,c.Z)();return function(){var y,E=(0,s.Z)(u);if(v){var r=(0,s.Z)(this).constructor;y=Reflect.construct(E,arguments,r)}else y=E.apply(this,arguments);return function e(u,v){if(v&&("object"===(0,n.Z)(v)||"function"==typeof v))return v;if(void 0!==v)throw new TypeError("Derived constructors may only return object or undefined");return(0,i.Z)(u)}(this,y)}}},4089:(w,l,t)=>{t.d(l,{Z:()=>n});var s=t(20265);function n(){return n=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(e,h,u){var v=function c(i,e){for(;!Object.prototype.hasOwnProperty.call(i,e)&&null!==(i=(0,s.Z)(i)););return i}(e,h);if(v){var g=Object.getOwnPropertyDescriptor(v,h);return g.get?g.get.call(arguments.length<3?e:u):g.value}},n.apply(this,arguments)}},20265:(w,l,t)=>{function s(c){return(s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)})(c)}t.d(l,{Z:()=>s})},24582:(w,l,t)=>{t.d(l,{Z:()=>c});var s=t(10006);function c(n,i){if("function"!=typeof i&&null!==i)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(i&&i.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),i&&(0,s.Z)(n,i)}},98568:(w,l,t)=>{function s(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}t.d(l,{Z:()=>s})},4826:(w,l,t)=>{function s(c){if(typeof Symbol<"u"&&null!=c[Symbol.iterator]||null!=c["@@iterator"])return Array.from(c)}t.d(l,{Z:()=>s})},10006:(w,l,t)=>{function s(c,n){return(s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,h){return e.__proto__=h,e})(c,n)}t.d(l,{Z:()=>s})},86170:(w,l,t)=>{t.d(l,{Z:()=>h});var s=t(44841),n=t(4826),i=t(44206);function h(u){return function c(u){if(Array.isArray(u))return(0,s.Z)(u)}(u)||(0,n.Z)(u)||(0,i.Z)(u)||function e(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(w,l,t)=>{t.d(l,{Z:()=>c});var s=t(44841);function c(n,i){if(n){if("string"==typeof n)return(0,s.Z)(n,i);var e=Object.prototype.toString.call(n).slice(8,-1);if("Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e)return Array.from(n);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return(0,s.Z)(n,i)}}}}]); +//# sourceMappingURL=1086.170a93fd8be7cc1f.js.map \ No newline at end of file diff --git a/1086.170a93fd8be7cc1f.js.map b/1086.170a93fd8be7cc1f.js.map new file mode 100644 index 0000000..9b73bde --- /dev/null +++ b/1086.170a93fd8be7cc1f.js.map @@ -0,0 +1 @@ +{"version":3,"file":"1086.170a93fd8be7cc1f.js","mappings":"kcACaA,cAA0BC,GAAiB,SAACC,GAAM,OAAK,WAChEA,EAAOC,MACPA,KAAKC,KAAO,0BACZD,KAAKE,QAAU,qBACnB,CAAC,yBCAYC,EAAO,eAAPA,EAAO,SAAAC,IAAAC,OAAAF,EAAAC,GAAA,IAAAL,KAAAO,KAAAH,GAChB,SAAAA,IAAc,IAAAI,EAAAC,cAAAR,KAAAG,IACVI,EAAAR,EAAAU,KAAAT,OACKU,QAAS,EACdH,EAAKI,iBAAmB,KACxBJ,EAAKK,UAAY,GACjBL,EAAKM,WAAY,EACjBN,EAAKO,UAAW,EAChBP,EAAKQ,YAAc,KAAKR,CAC5B,CAACS,cAAAb,EAAA,EAAAc,IAAA,OAAAC,MACD,SAAKC,GACD,IAAMC,EAAU,IAAIC,EAAiBrB,KAAMA,MAC3CoB,SAAQD,SAAWA,EACZC,CACX,GAAC,CAAAH,IAAA,iBAAAC,MACD,WACI,GAAIlB,KAAKU,OACL,MAAM,IAAIb,CAElB,GAAC,CAAAoB,IAAA,OAAAC,MACD,SAAKA,GAAO,IAAAI,EAAAtB,MACRuB,OAAa,WAET,GADAD,EAAKE,kBACAF,EAAKT,UAAW,CACZS,EAAKX,mBACNW,EAAKX,iBAAmBc,MAAMC,KAAKJ,EAAKV,YAC3C,IAC2Ce,EAD3CC,KAAAC,KACsBP,EAAKX,kBAAgB,IAA5C,IAAAiB,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AA5X,MAAAC,KAAA2X,EACA,mCCFe,SAAAC,EAAAnD,EAAAoD,GACf,OAAAD,EAAAnB,OAAAI,eAAAJ,OAAAI,eAAAX,OAAA,SAAAzB,EAAAoD,GACA,OAAApD,EAAAqC,UAAAe,EACApD,CACA,GACAA,EAAAoD,EACA,wFCFe,SAAAC,EAAAzP,GACf,OCJe,SAAA0P,EAAA1P,GACf,GAAAtI,MAAA6U,QAAAvM,GAAA,SAAiC2P,EAAAlD,GAAgBzM,EACjD,CDES0P,CAAiB1P,KAAA,EAAS4P,EAAAnD,GAAezM,KAAA,EAAS6P,EAAApD,GAA0BzM,IELtE,SAAA8P,IACf,UAAAjP,UAAA,uIACA,CFG8FiP,EAC9F,mDGLe,SAAAC,EAAA3D,EAAA4D,GACf,GAAA5D,EACA,qBAAAA,EAAA,SAAoC6D,EAAAxD,GAAgBL,EAAA4D,GACpD,IAAAhY,EAAAoW,OAAAnV,UAAAiX,SAAAxZ,KAAA0V,GAAA+D,MAAA,MAEA,GADA,WAAAnY,GAAAoU,EAAAkB,cAAAtV,EAAAoU,EAAAkB,YAAApX,MACA,QAAA8B,GAAA,QAAAA,EAAA,OAAAN,MAAAC,KAAAyU,GACA,iBAAApU,GAAA,2CAAAoY,KAAApY,GAAA,SAAsFiY,EAAAxD,GAAgBL,EAAA4D,EAAA,CACtG","names":["ObjectUnsubscribedError","createErrorClass","_super","this","name","message","Subject","_Observable","_inherits","_createSuper","_this","_classCallCheck","call","closed","currentObservers","observers","isStopped","hasError","thrownError","_createClass","key","value","operator","subject","AnonymousSubject","_this2","errorContext","_throwIfClosed","Array","from","_step","_iterator","_createForOfIteratorHelper","s","n","done","next","err","e","f","_this3","length","shift","error","_this4","complete","get","_a","subscriber","_get","_getPrototypeOf","prototype","_checkFinalizedStatuses","_innerSubscribe","_this5","EMPTY_SUBSCRIPTION","push","Subscription","arrRemove","observable","Observable","source","create","destination","_Subject","_super2","_this6","_b","subscribe","EMPTY","subscribeOn","scheduler","delay","arguments","undefined","operate","add","schedule","scheduleAsyncIterable","input","Error","executeSchedule","iterator","Symbol","asyncIterator","then","result","scheduled","isInteropObservable","scheduleObservable","innerFrom","pipe","observeOn","isArrayLike","scheduleArray","i","isPromise","schedulePromise","isAsyncIterable","isIterable","scheduleIterable","Symbol_iterator","_iterator$next","isFunction","return","isReadableStreamLike","scheduleReadableStreamLike","readableStreamLikeToAsyncGenerator","createInvalidObservableTypeError","merge","_len","args","_key","popScheduler","concurrent","popNumber","Infinity","sources","mergeAll","createOperatorSubscriber","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_next","_assertThisInitialized","_error","unsubscribe","_complete","Subscriber","map","project","thisArg","index","mergeMap","identity","resultSelector","a","b","ii","mergeInternals","onBeforeNext","expand","innerSubScheduler","additionalFinalizer","buffer","active","isComplete","checkComplete","outerNext","doInnerSub","innerComplete","innerValue","_loop","bufferedValue","last","arr","popResultSelector","pop","isScheduler","defaultValue","parentSubscription","work","repeat","scheduleSubscription","hasLift","lift","init","liftedSource","TypeError","_c0","MatSortHeader_div_3_Template","rf","ctx","_r2","i0","ctx_r1","_disableViewStateAnimation","ctx_r3","ctx_r0","_getArrowViewState","_getArrowDirectionState","_c1","MAT_SORT_DEFAULT_OPTIONS","InjectionToken","_MatSortBase","mixinInitialized","mixinDisabled","_class","MatSort","_MatSortBase2","_defaultOptions","sortables","Map","_stateChanges","start","_direction","sortChange","EventEmitter","set","direction","_disableClear","v","coerceBooleanProperty","sortable","id","delete","getNextSortDirection","emit","_ref","_sortable$disableClea","_this$_defaultOptions","disableClear","sortDirectionCycle","getSortDirectionCycle","sortOrder","reverse","nextDirectionIndex","indexOf","_markInitialized","ɵfac","t","ɵdir","type","selectors","hostAttrs","inputs","disabled","outputs","exportAs","features","SORT_ANIMATION_TRANSITION","AnimationDurations","AnimationCurves","matSortAnimations","indicator","trigger","state","style","transform","transition","animate","leftPointer","rightPointer","arrowOpacity","opacity","arrowPosition","keyframes","allowChildren","query","animateChild","optional","MatSortHeaderIntl","changes","ɵprov","token","factory","providedIn","MAT_SORT_HEADER_INTL_PROVIDER_FACTORY","parentIntl","MAT_SORT_HEADER_INTL_PROVIDER","provide","deps","Optional","SkipSelf","useFactory","_MatSortHeaderBase","_class2","MatSortHeader","_MatSortHeaderBase2","_intl","_changeDetectorRef","_sort","_columnDef","_focusMonitor","_elementRef","_ariaDescriber","defaultOptions","_showIndicatorHint","_viewState","_arrowDirection","_sortActionDescription","_handleStateChanges","_updateSortActionDescription","_updateArrowDirection","_setAnimationTransitionState","toState","_isSorted","register","_sortButton","nativeElement","querySelector","monitor","origin","newState","_setIndicatorHintVisible","markForCheck","stopMonitoring","deregister","_rerenderSubscription","visible","_isDisabled","fromState","viewState","sort","event","keyCode","SPACE","ENTER","preventDefault","_toggleOnInteraction","concat","newDescription","_this$_ariaDescriber","_this$_ariaDescriber2","removeDescription","describe","i3","ɵcmp","hostVars","hostBindings","_handleClick","$event","_handleKeydown","_getAriaSortAttribute","sortActionDescription","attrs","ngContentSelectors","decls","vars","consts","template","_renderArrow","dependencies","i4","styles","encapsulation","data","animation","changeDetection","MatSortModule","ɵmod","ɵinj","providers","imports","CommonModule","MatCommonModule","_arrayLikeToArray","len","arr2","self","ReferenceError","o","allowArrayLike","it","isArray","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","_e","normalCompletion","didErr","step","_e2","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Super","getPrototypeOf","NewTarget","constructor","Reflect","construct","apply","_possibleConstructorReturn","esm_typeof","assertThisInitialized","bind","target","property","receiver","base","_superPropBase","object","Object","hasOwnProperty","desc","getOwnPropertyDescriptor","setPrototypeOf","__proto__","subClass","superClass","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_iterableToArray","iter","_setPrototypeOf","p","_toConsumableArray","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","toString","slice","test"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/util/ObjectUnsubscribedError.js","./node_modules/rxjs/dist/esm/internal/Subject.js","./node_modules/rxjs/dist/esm/internal/observable/empty.js","./node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleAsyncIterable.js","./node_modules/rxjs/dist/esm/internal/observable/from.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduled.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleObservable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleArray.js","./node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleIterable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleReadableStreamLike.js","./node_modules/rxjs/dist/esm/internal/observable/merge.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/map.js","./node_modules/rxjs/dist/esm/internal/operators/mergeAll.js","./node_modules/rxjs/dist/esm/internal/operators/mergeMap.js","./node_modules/rxjs/dist/esm/internal/operators/mergeInternals.js","./node_modules/rxjs/dist/esm/internal/operators/observeOn.js","./node_modules/rxjs/dist/esm/internal/util/args.js","./node_modules/rxjs/dist/esm/internal/util/executeSchedule.js","./node_modules/rxjs/dist/esm/internal/util/isScheduler.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/@angular/material/fesm2022/sort.mjs","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { createErrorClass } from './createErrorClass';\nexport const ObjectUnsubscribedError = createErrorClass((_super) => function ObjectUnsubscribedErrorImpl() {\n _super(this);\n this.name = 'ObjectUnsubscribedError';\n this.message = 'object unsubscribed';\n});\n","import { Observable } from './Observable';\nimport { Subscription, EMPTY_SUBSCRIPTION } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { arrRemove } from './util/arrRemove';\nimport { errorContext } from './util/errorContext';\nexport class Subject extends Observable {\n constructor() {\n super();\n this.closed = false;\n this.currentObservers = null;\n this.observers = [];\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n lift(operator) {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n }\n _throwIfClosed() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n }\n next(value) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n if (!this.currentObservers) {\n this.currentObservers = Array.from(this.observers);\n }\n for (const observer of this.currentObservers) {\n observer.next(value);\n }\n }\n });\n }\n error(err) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.hasError = this.isStopped = true;\n this.thrownError = err;\n const { observers } = this;\n while (observers.length) {\n observers.shift().error(err);\n }\n }\n });\n }\n complete() {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.isStopped = true;\n const { observers } = this;\n while (observers.length) {\n observers.shift().complete();\n }\n }\n });\n }\n unsubscribe() {\n this.isStopped = this.closed = true;\n this.observers = this.currentObservers = null;\n }\n get observed() {\n var _a;\n return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;\n }\n _trySubscribe(subscriber) {\n this._throwIfClosed();\n return super._trySubscribe(subscriber);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._checkFinalizedStatuses(subscriber);\n return this._innerSubscribe(subscriber);\n }\n _innerSubscribe(subscriber) {\n const { hasError, isStopped, observers } = this;\n if (hasError || isStopped) {\n return EMPTY_SUBSCRIPTION;\n }\n this.currentObservers = null;\n observers.push(subscriber);\n return new Subscription(() => {\n this.currentObservers = null;\n arrRemove(observers, subscriber);\n });\n }\n _checkFinalizedStatuses(subscriber) {\n const { hasError, thrownError, isStopped } = this;\n if (hasError) {\n subscriber.error(thrownError);\n }\n else if (isStopped) {\n subscriber.complete();\n }\n }\n asObservable() {\n const observable = new Observable();\n observable.source = this;\n return observable;\n }\n}\nSubject.create = (destination, source) => {\n return new AnonymousSubject(destination, source);\n};\nexport class AnonymousSubject extends Subject {\n constructor(destination, source) {\n super();\n this.destination = destination;\n this.source = source;\n }\n next(value) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);\n }\n error(err) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);\n }\n complete() {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);\n }\n _subscribe(subscriber) {\n var _a, _b;\n return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;\n }\n}\n","import { Observable } from '../Observable';\nexport const EMPTY = new Observable((subscriber) => subscriber.complete());\nexport function empty(scheduler) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n return new Observable((subscriber) => scheduler.schedule(() => subscriber.complete()));\n}\n","import { operate } from '../util/lift';\nexport function subscribeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay));\n });\n}\n","import { Observable } from '../Observable';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleAsyncIterable(input, scheduler) {\n if (!input) {\n throw new Error('Iterable cannot be null');\n }\n return new Observable((subscriber) => {\n executeSchedule(subscriber, scheduler, () => {\n const iterator = input[Symbol.asyncIterator]();\n executeSchedule(subscriber, scheduler, () => {\n iterator.next().then((result) => {\n if (result.done) {\n subscriber.complete();\n }\n else {\n subscriber.next(result.value);\n }\n });\n }, 0, true);\n });\n });\n}\n","import { scheduled } from '../scheduled/scheduled';\nimport { innerFrom } from './innerFrom';\nexport function from(input, scheduler) {\n return scheduler ? scheduled(input, scheduler) : innerFrom(input);\n}\n","import { scheduleObservable } from './scheduleObservable';\nimport { schedulePromise } from './schedulePromise';\nimport { scheduleArray } from './scheduleArray';\nimport { scheduleIterable } from './scheduleIterable';\nimport { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isPromise } from '../util/isPromise';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isIterable } from '../util/isIterable';\nimport { isAsyncIterable } from '../util/isAsyncIterable';\nimport { createInvalidObservableTypeError } from '../util/throwUnobservableError';\nimport { isReadableStreamLike } from '../util/isReadableStreamLike';\nimport { scheduleReadableStreamLike } from './scheduleReadableStreamLike';\nexport function scheduled(input, scheduler) {\n if (input != null) {\n if (isInteropObservable(input)) {\n return scheduleObservable(input, scheduler);\n }\n if (isArrayLike(input)) {\n return scheduleArray(input, scheduler);\n }\n if (isPromise(input)) {\n return schedulePromise(input, scheduler);\n }\n if (isAsyncIterable(input)) {\n return scheduleAsyncIterable(input, scheduler);\n }\n if (isIterable(input)) {\n return scheduleIterable(input, scheduler);\n }\n if (isReadableStreamLike(input)) {\n return scheduleReadableStreamLike(input, scheduler);\n }\n }\n throw createInvalidObservableTypeError(input);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function scheduleObservable(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nexport function scheduleArray(input, scheduler) {\n return new Observable((subscriber) => {\n let i = 0;\n return scheduler.schedule(function () {\n if (i === input.length) {\n subscriber.complete();\n }\n else {\n subscriber.next(input[i++]);\n if (!subscriber.closed) {\n this.schedule();\n }\n }\n });\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function schedulePromise(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from '../util/isFunction';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleIterable(input, scheduler) {\n return new Observable((subscriber) => {\n let iterator;\n executeSchedule(subscriber, scheduler, () => {\n iterator = input[Symbol_iterator]();\n executeSchedule(subscriber, scheduler, () => {\n let value;\n let done;\n try {\n ({ value, done } = iterator.next());\n }\n catch (err) {\n subscriber.error(err);\n return;\n }\n if (done) {\n subscriber.complete();\n }\n else {\n subscriber.next(value);\n }\n }, 0, true);\n });\n return () => isFunction(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return();\n });\n}\n","import { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { readableStreamLikeToAsyncGenerator } from '../util/isReadableStreamLike';\nexport function scheduleReadableStreamLike(input, scheduler) {\n return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);\n}\n","import { mergeAll } from '../operators/mergeAll';\nimport { innerFrom } from './innerFrom';\nimport { EMPTY } from './empty';\nimport { popNumber, popScheduler } from '../util/args';\nimport { from } from './from';\nexport function merge(...args) {\n const scheduler = popScheduler(args);\n const concurrent = popNumber(args, Infinity);\n const sources = args;\n return !sources.length\n ?\n EMPTY\n : sources.length === 1\n ?\n innerFrom(sources[0])\n :\n mergeAll(concurrent)(from(sources, scheduler));\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function map(project, thisArg) {\n return operate((source, subscriber) => {\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n subscriber.next(project.call(thisArg, value, index++));\n }));\n });\n}\n","import { mergeMap } from './mergeMap';\nimport { identity } from '../util/identity';\nexport function mergeAll(concurrent = Infinity) {\n return mergeMap(identity, concurrent);\n}\n","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 }\n else if (typeof resultSelector === 'number') {\n concurrent = resultSelector;\n }\n return operate((source, subscriber) => mergeInternals(source, subscriber, project, concurrent));\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { executeSchedule } from '../util/executeSchedule';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function mergeInternals(source, subscriber, project, concurrent, onBeforeNext, expand, innerSubScheduler, additionalFinalizer) {\n const buffer = [];\n let active = 0;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => {\n if (isComplete && !buffer.length && !active) {\n subscriber.complete();\n }\n };\n const outerNext = (value) => (active < concurrent ? doInnerSub(value) : buffer.push(value));\n const doInnerSub = (value) => {\n expand && subscriber.next(value);\n active++;\n let innerComplete = false;\n innerFrom(project(value, index++)).subscribe(createOperatorSubscriber(subscriber, (innerValue) => {\n onBeforeNext === null || onBeforeNext === void 0 ? void 0 : onBeforeNext(innerValue);\n if (expand) {\n outerNext(innerValue);\n }\n else {\n subscriber.next(innerValue);\n }\n }, () => {\n innerComplete = true;\n }, undefined, () => {\n if (innerComplete) {\n try {\n active--;\n while (buffer.length && active < concurrent) {\n const bufferedValue = buffer.shift();\n if (innerSubScheduler) {\n executeSchedule(subscriber, innerSubScheduler, () => doInnerSub(bufferedValue));\n }\n else {\n doInnerSub(bufferedValue);\n }\n }\n checkComplete();\n }\n catch (err) {\n subscriber.error(err);\n }\n }\n }));\n };\n source.subscribe(createOperatorSubscriber(subscriber, outerNext, () => {\n isComplete = true;\n checkComplete();\n }));\n return () => {\n additionalFinalizer === null || additionalFinalizer === void 0 ? void 0 : additionalFinalizer();\n };\n}\n","import { executeSchedule } from '../util/executeSchedule';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function observeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, (value) => executeSchedule(subscriber, scheduler, () => subscriber.next(value), delay), () => executeSchedule(subscriber, scheduler, () => subscriber.complete(), delay), (err) => executeSchedule(subscriber, scheduler, () => subscriber.error(err), delay)));\n });\n}\n","import { isFunction } from './isFunction';\nimport { isScheduler } from './isScheduler';\nfunction last(arr) {\n return arr[arr.length - 1];\n}\nexport function popResultSelector(args) {\n return isFunction(last(args)) ? args.pop() : undefined;\n}\nexport function popScheduler(args) {\n return isScheduler(last(args)) ? args.pop() : undefined;\n}\nexport function popNumber(args, defaultValue) {\n return typeof last(args) === 'number' ? args.pop() : defaultValue;\n}\n","export function executeSchedule(parentSubscription, scheduler, work, delay = 0, repeat = false) {\n const scheduleSubscription = scheduler.schedule(function () {\n work();\n if (repeat) {\n parentSubscription.add(this.schedule(null, delay));\n }\n else {\n this.unsubscribe();\n }\n }, delay);\n parentSubscription.add(scheduleSubscription);\n if (!repeat) {\n return scheduleSubscription;\n }\n}\n","import { isFunction } from './isFunction';\nexport function isScheduler(value) {\n return value && isFunction(value.schedule);\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","import * as i0 from '@angular/core';\nimport { InjectionToken, EventEmitter, Directive, Optional, Inject, Input, Output, Injectable, SkipSelf, Component, ViewEncapsulation, ChangeDetectionStrategy, NgModule } from '@angular/core';\nimport * as i3 from '@angular/cdk/a11y';\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { SPACE, ENTER } from '@angular/cdk/keycodes';\nimport { mixinInitialized, mixinDisabled, AnimationDurations, AnimationCurves, MatCommonModule } from '@angular/material/core';\nimport { Subject, merge } from 'rxjs';\nimport { trigger, state, style, transition, animate, keyframes, query, animateChild } from '@angular/animations';\nimport * as i4 from '@angular/common';\nimport { CommonModule } from '@angular/common';\n\n/** @docs-private */\nfunction getSortDuplicateSortableIdError(id) {\n return Error(`Cannot have two MatSortables with the same id (${id}).`);\n}\n/** @docs-private */\nfunction getSortHeaderNotContainedWithinSortError() {\n return Error(`MatSortHeader must be placed within a parent element with the MatSort directive.`);\n}\n/** @docs-private */\nfunction getSortHeaderMissingIdError() {\n return Error(`MatSortHeader must be provided with a unique id.`);\n}\n/** @docs-private */\nfunction getSortInvalidDirectionError(direction) {\n return Error(`${direction} is not a valid sort direction ('asc' or 'desc').`);\n}\n\n/** Injection token to be used to override the default options for `mat-sort`. */\nconst MAT_SORT_DEFAULT_OPTIONS = new InjectionToken('MAT_SORT_DEFAULT_OPTIONS');\n// Boilerplate for applying mixins to MatSort.\n/** @docs-private */\nconst _MatSortBase = mixinInitialized(mixinDisabled(class {\n}));\n/** Container for MatSortables to manage the sort state and provide default sort parameters. */\nclass MatSort extends _MatSortBase {\n /** The sort direction of the currently active MatSortable. */\n get direction() {\n return this._direction;\n }\n set direction(direction) {\n if (direction &&\n direction !== 'asc' &&\n direction !== 'desc' &&\n (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw getSortInvalidDirectionError(direction);\n }\n this._direction = direction;\n }\n /**\n * Whether to disable the user from clearing the sort by finishing the sort direction cycle.\n * May be overridden by the MatSortable's disable clear input.\n */\n get disableClear() {\n return this._disableClear;\n }\n set disableClear(v) {\n this._disableClear = coerceBooleanProperty(v);\n }\n constructor(_defaultOptions) {\n super();\n this._defaultOptions = _defaultOptions;\n /** Collection of all registered sortables that this directive manages. */\n this.sortables = new Map();\n /** Used to notify any child components listening to state changes. */\n this._stateChanges = new Subject();\n /**\n * The direction to set when an MatSortable is initially sorted.\n * May be overridden by the MatSortable's sort start.\n */\n this.start = 'asc';\n this._direction = '';\n /** Event emitted when the user changes either the active sort or sort direction. */\n this.sortChange = new EventEmitter();\n }\n /**\n * Register function to be used by the contained MatSortables. Adds the MatSortable to the\n * collection of MatSortables.\n */\n register(sortable) {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!sortable.id) {\n throw getSortHeaderMissingIdError();\n }\n if (this.sortables.has(sortable.id)) {\n throw getSortDuplicateSortableIdError(sortable.id);\n }\n }\n this.sortables.set(sortable.id, sortable);\n }\n /**\n * Unregister function to be used by the contained MatSortables. Removes the MatSortable from the\n * collection of contained MatSortables.\n */\n deregister(sortable) {\n this.sortables.delete(sortable.id);\n }\n /** Sets the active sort id and determines the new sort direction. */\n sort(sortable) {\n if (this.active != sortable.id) {\n this.active = sortable.id;\n this.direction = sortable.start ? sortable.start : this.start;\n }\n else {\n this.direction = this.getNextSortDirection(sortable);\n }\n this.sortChange.emit({ active: this.active, direction: this.direction });\n }\n /** Returns the next sort direction of the active sortable, checking for potential overrides. */\n getNextSortDirection(sortable) {\n if (!sortable) {\n return '';\n }\n // Get the sort direction cycle with the potential sortable overrides.\n const disableClear = sortable?.disableClear ?? this.disableClear ?? !!this._defaultOptions?.disableClear;\n let sortDirectionCycle = getSortDirectionCycle(sortable.start || this.start, disableClear);\n // Get and return the next direction in the cycle\n let nextDirectionIndex = sortDirectionCycle.indexOf(this.direction) + 1;\n if (nextDirectionIndex >= sortDirectionCycle.length) {\n nextDirectionIndex = 0;\n }\n return sortDirectionCycle[nextDirectionIndex];\n }\n ngOnInit() {\n this._markInitialized();\n }\n ngOnChanges() {\n this._stateChanges.next();\n }\n ngOnDestroy() {\n this._stateChanges.complete();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSort, deps: [{ token: MAT_SORT_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatSort, selector: \"[matSort]\", inputs: { disabled: [\"matSortDisabled\", \"disabled\"], active: [\"matSortActive\", \"active\"], start: [\"matSortStart\", \"start\"], direction: [\"matSortDirection\", \"direction\"], disableClear: [\"matSortDisableClear\", \"disableClear\"] }, outputs: { sortChange: \"matSortChange\" }, host: { classAttribute: \"mat-sort\" }, exportAs: [\"matSort\"], usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSort, decorators: [{\n type: Directive,\n args: [{\n selector: '[matSort]',\n exportAs: 'matSort',\n host: {\n 'class': 'mat-sort',\n },\n inputs: ['disabled: matSortDisabled'],\n }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_SORT_DEFAULT_OPTIONS]\n }] }]; }, propDecorators: { active: [{\n type: Input,\n args: ['matSortActive']\n }], start: [{\n type: Input,\n args: ['matSortStart']\n }], direction: [{\n type: Input,\n args: ['matSortDirection']\n }], disableClear: [{\n type: Input,\n args: ['matSortDisableClear']\n }], sortChange: [{\n type: Output,\n args: ['matSortChange']\n }] } });\n/** Returns the sort direction cycle to use given the provided parameters of order and clear. */\nfunction getSortDirectionCycle(start, disableClear) {\n let sortOrder = ['asc', 'desc'];\n if (start == 'desc') {\n sortOrder.reverse();\n }\n if (!disableClear) {\n sortOrder.push('');\n }\n return sortOrder;\n}\n\nconst SORT_ANIMATION_TRANSITION = AnimationDurations.ENTERING + ' ' + AnimationCurves.STANDARD_CURVE;\n/**\n * Animations used by MatSort.\n * @docs-private\n */\nconst matSortAnimations = {\n /** Animation that moves the sort indicator. */\n indicator: trigger('indicator', [\n state('active-asc, asc', style({ transform: 'translateY(0px)' })),\n // 10px is the height of the sort indicator, minus the width of the pointers\n state('active-desc, desc', style({ transform: 'translateY(10px)' })),\n transition('active-asc <=> active-desc', animate(SORT_ANIMATION_TRANSITION)),\n ]),\n /** Animation that rotates the left pointer of the indicator based on the sorting direction. */\n leftPointer: trigger('leftPointer', [\n state('active-asc, asc', style({ transform: 'rotate(-45deg)' })),\n state('active-desc, desc', style({ transform: 'rotate(45deg)' })),\n transition('active-asc <=> active-desc', animate(SORT_ANIMATION_TRANSITION)),\n ]),\n /** Animation that rotates the right pointer of the indicator based on the sorting direction. */\n rightPointer: trigger('rightPointer', [\n state('active-asc, asc', style({ transform: 'rotate(45deg)' })),\n state('active-desc, desc', style({ transform: 'rotate(-45deg)' })),\n transition('active-asc <=> active-desc', animate(SORT_ANIMATION_TRANSITION)),\n ]),\n /** Animation that controls the arrow opacity. */\n arrowOpacity: trigger('arrowOpacity', [\n state('desc-to-active, asc-to-active, active', style({ opacity: 1 })),\n state('desc-to-hint, asc-to-hint, hint', style({ opacity: 0.54 })),\n state('hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void', style({ opacity: 0 })),\n // Transition between all states except for immediate transitions\n transition('* => asc, * => desc, * => active, * => hint, * => void', animate('0ms')),\n transition('* <=> *', animate(SORT_ANIMATION_TRANSITION)),\n ]),\n /**\n * Animation for the translation of the arrow as a whole. States are separated into two\n * groups: ones with animations and others that are immediate. Immediate states are asc, desc,\n * peek, and active. The other states define a specific animation (source-to-destination)\n * and are determined as a function of their prev user-perceived state and what the next state\n * should be.\n */\n arrowPosition: trigger('arrowPosition', [\n // Hidden Above => Hint Center\n transition('* => desc-to-hint, * => desc-to-active', animate(SORT_ANIMATION_TRANSITION, keyframes([style({ transform: 'translateY(-25%)' }), style({ transform: 'translateY(0)' })]))),\n // Hint Center => Hidden Below\n transition('* => hint-to-desc, * => active-to-desc', animate(SORT_ANIMATION_TRANSITION, keyframes([style({ transform: 'translateY(0)' }), style({ transform: 'translateY(25%)' })]))),\n // Hidden Below => Hint Center\n transition('* => asc-to-hint, * => asc-to-active', animate(SORT_ANIMATION_TRANSITION, keyframes([style({ transform: 'translateY(25%)' }), style({ transform: 'translateY(0)' })]))),\n // Hint Center => Hidden Above\n transition('* => hint-to-asc, * => active-to-asc', animate(SORT_ANIMATION_TRANSITION, keyframes([style({ transform: 'translateY(0)' }), style({ transform: 'translateY(-25%)' })]))),\n state('desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active', style({ transform: 'translateY(0)' })),\n state('hint-to-desc, active-to-desc, desc', style({ transform: 'translateY(-25%)' })),\n state('hint-to-asc, active-to-asc, asc', style({ transform: 'translateY(25%)' })),\n ]),\n /** Necessary trigger that calls animate on children animations. */\n allowChildren: trigger('allowChildren', [\n transition('* <=> *', [query('@*', animateChild(), { optional: true })]),\n ]),\n};\n\n/**\n * To modify the labels and text displayed, create a new instance of MatSortHeaderIntl and\n * include it in a custom provider.\n */\nclass MatSortHeaderIntl {\n constructor() {\n /**\n * Stream that emits whenever the labels here are changed. Use this to notify\n * components if the labels have changed after initialization.\n */\n this.changes = new Subject();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSortHeaderIntl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSortHeaderIntl, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSortHeaderIntl, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }] });\n/** @docs-private */\nfunction MAT_SORT_HEADER_INTL_PROVIDER_FACTORY(parentIntl) {\n return parentIntl || new MatSortHeaderIntl();\n}\n/** @docs-private */\nconst MAT_SORT_HEADER_INTL_PROVIDER = {\n // If there is already an MatSortHeaderIntl available, use that. Otherwise, provide a new one.\n provide: MatSortHeaderIntl,\n deps: [[new Optional(), new SkipSelf(), MatSortHeaderIntl]],\n useFactory: MAT_SORT_HEADER_INTL_PROVIDER_FACTORY,\n};\n\n// Boilerplate for applying mixins to the sort header.\n/** @docs-private */\nconst _MatSortHeaderBase = mixinDisabled(class {\n});\n/**\n * Applies sorting behavior (click to change sort) and styles to an element, including an\n * arrow to display the current sort direction.\n *\n * Must be provided with an id and contained within a parent MatSort directive.\n *\n * If used on header cells in a CdkTable, it will automatically default its id from its containing\n * column definition.\n */\nclass MatSortHeader extends _MatSortHeaderBase {\n /**\n * Description applied to MatSortHeader's button element with aria-describedby. This text should\n * describe the action that will occur when the user clicks the sort header.\n */\n get sortActionDescription() {\n return this._sortActionDescription;\n }\n set sortActionDescription(value) {\n this._updateSortActionDescription(value);\n }\n /** Overrides the disable clear value of the containing MatSort for this MatSortable. */\n get disableClear() {\n return this._disableClear;\n }\n set disableClear(v) {\n this._disableClear = coerceBooleanProperty(v);\n }\n constructor(\n /**\n * @deprecated `_intl` parameter isn't being used anymore and it'll be removed.\n * @breaking-change 13.0.0\n */\n _intl, _changeDetectorRef, \n // `MatSort` is not optionally injected, but just asserted manually w/ better error.\n // tslint:disable-next-line: lightweight-tokens\n _sort, _columnDef, _focusMonitor, _elementRef, \n /** @breaking-change 14.0.0 _ariaDescriber will be required. */\n _ariaDescriber, defaultOptions) {\n // Note that we use a string token for the `_columnDef`, because the value is provided both by\n // `material/table` and `cdk/table` and we can't have the CDK depending on Material,\n // and we want to avoid having the sort header depending on the CDK table because\n // of this single reference.\n super();\n this._intl = _intl;\n this._changeDetectorRef = _changeDetectorRef;\n this._sort = _sort;\n this._columnDef = _columnDef;\n this._focusMonitor = _focusMonitor;\n this._elementRef = _elementRef;\n this._ariaDescriber = _ariaDescriber;\n /**\n * Flag set to true when the indicator should be displayed while the sort is not active. Used to\n * provide an affordance that the header is sortable by showing on focus and hover.\n */\n this._showIndicatorHint = false;\n /**\n * The view transition state of the arrow (translation/ opacity) - indicates its `from` and `to`\n * position through the animation. If animations are currently disabled, the fromState is removed\n * so that there is no animation displayed.\n */\n this._viewState = {};\n /** The direction the arrow should be facing according to the current state. */\n this._arrowDirection = '';\n /**\n * Whether the view state animation should show the transition between the `from` and `to` states.\n */\n this._disableViewStateAnimation = false;\n /** Sets the position of the arrow that displays when sorted. */\n this.arrowPosition = 'after';\n // Default the action description to \"Sort\" because it's better than nothing.\n // Without a description, the button's label comes from the sort header text content,\n // which doesn't give any indication that it performs a sorting operation.\n this._sortActionDescription = 'Sort';\n if (!_sort && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw getSortHeaderNotContainedWithinSortError();\n }\n if (defaultOptions?.arrowPosition) {\n this.arrowPosition = defaultOptions?.arrowPosition;\n }\n this._handleStateChanges();\n }\n ngOnInit() {\n if (!this.id && this._columnDef) {\n this.id = this._columnDef.name;\n }\n // Initialize the direction of the arrow and set the view state to be immediately that state.\n this._updateArrowDirection();\n this._setAnimationTransitionState({\n toState: this._isSorted() ? 'active' : this._arrowDirection,\n });\n this._sort.register(this);\n this._sortButton = this._elementRef.nativeElement.querySelector('.mat-sort-header-container');\n this._updateSortActionDescription(this._sortActionDescription);\n }\n ngAfterViewInit() {\n // We use the focus monitor because we also want to style\n // things differently based on the focus origin.\n this._focusMonitor.monitor(this._elementRef, true).subscribe(origin => {\n const newState = !!origin;\n if (newState !== this._showIndicatorHint) {\n this._setIndicatorHintVisible(newState);\n this._changeDetectorRef.markForCheck();\n }\n });\n }\n ngOnDestroy() {\n this._focusMonitor.stopMonitoring(this._elementRef);\n this._sort.deregister(this);\n this._rerenderSubscription.unsubscribe();\n }\n /**\n * Sets the \"hint\" state such that the arrow will be semi-transparently displayed as a hint to the\n * user showing what the active sort will become. If set to false, the arrow will fade away.\n */\n _setIndicatorHintVisible(visible) {\n // No-op if the sort header is disabled - should not make the hint visible.\n if (this._isDisabled() && visible) {\n return;\n }\n this._showIndicatorHint = visible;\n if (!this._isSorted()) {\n this._updateArrowDirection();\n if (this._showIndicatorHint) {\n this._setAnimationTransitionState({ fromState: this._arrowDirection, toState: 'hint' });\n }\n else {\n this._setAnimationTransitionState({ fromState: 'hint', toState: this._arrowDirection });\n }\n }\n }\n /**\n * Sets the animation transition view state for the arrow's position and opacity. If the\n * `disableViewStateAnimation` flag is set to true, the `fromState` will be ignored so that\n * no animation appears.\n */\n _setAnimationTransitionState(viewState) {\n this._viewState = viewState || {};\n // If the animation for arrow position state (opacity/translation) should be disabled,\n // remove the fromState so that it jumps right to the toState.\n if (this._disableViewStateAnimation) {\n this._viewState = { toState: viewState.toState };\n }\n }\n /** Triggers the sort on this sort header and removes the indicator hint. */\n _toggleOnInteraction() {\n this._sort.sort(this);\n // Do not show the animation if the header was already shown in the right position.\n if (this._viewState.toState === 'hint' || this._viewState.toState === 'active') {\n this._disableViewStateAnimation = true;\n }\n }\n _handleClick() {\n if (!this._isDisabled()) {\n this._sort.sort(this);\n }\n }\n _handleKeydown(event) {\n if (!this._isDisabled() && (event.keyCode === SPACE || event.keyCode === ENTER)) {\n event.preventDefault();\n this._toggleOnInteraction();\n }\n }\n /** Whether this MatSortHeader is currently sorted in either ascending or descending order. */\n _isSorted() {\n return (this._sort.active == this.id &&\n (this._sort.direction === 'asc' || this._sort.direction === 'desc'));\n }\n /** Returns the animation state for the arrow direction (indicator and pointers). */\n _getArrowDirectionState() {\n return `${this._isSorted() ? 'active-' : ''}${this._arrowDirection}`;\n }\n /** Returns the arrow position state (opacity, translation). */\n _getArrowViewState() {\n const fromState = this._viewState.fromState;\n return (fromState ? `${fromState}-to-` : '') + this._viewState.toState;\n }\n /**\n * Updates the direction the arrow should be pointing. If it is not sorted, the arrow should be\n * facing the start direction. Otherwise if it is sorted, the arrow should point in the currently\n * active sorted direction. The reason this is updated through a function is because the direction\n * should only be changed at specific times - when deactivated but the hint is displayed and when\n * the sort is active and the direction changes. Otherwise the arrow's direction should linger\n * in cases such as the sort becoming deactivated but we want to animate the arrow away while\n * preserving its direction, even though the next sort direction is actually different and should\n * only be changed once the arrow displays again (hint or activation).\n */\n _updateArrowDirection() {\n this._arrowDirection = this._isSorted() ? this._sort.direction : this.start || this._sort.start;\n }\n _isDisabled() {\n return this._sort.disabled || this.disabled;\n }\n /**\n * Gets the aria-sort attribute that should be applied to this sort header. If this header\n * is not sorted, returns null so that the attribute is removed from the host element. Aria spec\n * says that the aria-sort property should only be present on one header at a time, so removing\n * ensures this is true.\n */\n _getAriaSortAttribute() {\n if (!this._isSorted()) {\n return 'none';\n }\n return this._sort.direction == 'asc' ? 'ascending' : 'descending';\n }\n /** Whether the arrow inside the sort header should be rendered. */\n _renderArrow() {\n return !this._isDisabled() || this._isSorted();\n }\n _updateSortActionDescription(newDescription) {\n // We use AriaDescriber for the sort button instead of setting an `aria-label` because some\n // screen readers (notably VoiceOver) will read both the column header *and* the button's label\n // for every *cell* in the table, creating a lot of unnecessary noise.\n // If _sortButton is undefined, the component hasn't been initialized yet so there's\n // nothing to update in the DOM.\n if (this._sortButton) {\n // removeDescription will no-op if there is no existing message.\n // TODO(jelbourn): remove optional chaining when AriaDescriber is required.\n this._ariaDescriber?.removeDescription(this._sortButton, this._sortActionDescription);\n this._ariaDescriber?.describe(this._sortButton, newDescription);\n }\n this._sortActionDescription = newDescription;\n }\n /** Handles changes in the sorting state. */\n _handleStateChanges() {\n this._rerenderSubscription = merge(this._sort.sortChange, this._sort._stateChanges, this._intl.changes).subscribe(() => {\n if (this._isSorted()) {\n this._updateArrowDirection();\n // Do not show the animation if the header was already shown in the right position.\n if (this._viewState.toState === 'hint' || this._viewState.toState === 'active') {\n this._disableViewStateAnimation = true;\n }\n this._setAnimationTransitionState({ fromState: this._arrowDirection, toState: 'active' });\n this._showIndicatorHint = false;\n }\n // If this header was recently active and now no longer sorted, animate away the arrow.\n if (!this._isSorted() && this._viewState && this._viewState.toState === 'active') {\n this._disableViewStateAnimation = false;\n this._setAnimationTransitionState({ fromState: 'active', toState: this._arrowDirection });\n }\n this._changeDetectorRef.markForCheck();\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSortHeader, deps: [{ token: MatSortHeaderIntl }, { token: i0.ChangeDetectorRef }, { token: MatSort, optional: true }, { token: 'MAT_SORT_HEADER_COLUMN_DEF', optional: true }, { token: i3.FocusMonitor }, { token: i0.ElementRef }, { token: i3.AriaDescriber, optional: true }, { token: MAT_SORT_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatSortHeader, selector: \"[mat-sort-header]\", inputs: { disabled: \"disabled\", id: [\"mat-sort-header\", \"id\"], arrowPosition: \"arrowPosition\", start: \"start\", sortActionDescription: \"sortActionDescription\", disableClear: \"disableClear\" }, host: { listeners: { \"click\": \"_handleClick()\", \"keydown\": \"_handleKeydown($event)\", \"mouseenter\": \"_setIndicatorHintVisible(true)\", \"mouseleave\": \"_setIndicatorHintVisible(false)\" }, properties: { \"attr.aria-sort\": \"_getAriaSortAttribute()\", \"class.mat-sort-header-disabled\": \"_isDisabled()\" }, classAttribute: \"mat-sort-header\" }, exportAs: [\"matSortHeader\"], usesInheritance: true, ngImport: i0, template: \"\\n
\\n\\n \\n
\\n \\n
\\n\\n \\n
\\n
\\n
\\n
\\n
\\n
\\n
\\n
\\n
\\n\", styles: [\".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\"], dependencies: [{ kind: \"directive\", type: i4.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }], animations: [\n matSortAnimations.indicator,\n matSortAnimations.leftPointer,\n matSortAnimations.rightPointer,\n matSortAnimations.arrowOpacity,\n matSortAnimations.arrowPosition,\n matSortAnimations.allowChildren,\n ], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSortHeader, decorators: [{\n type: Component,\n args: [{ selector: '[mat-sort-header]', exportAs: 'matSortHeader', host: {\n 'class': 'mat-sort-header',\n '(click)': '_handleClick()',\n '(keydown)': '_handleKeydown($event)',\n '(mouseenter)': '_setIndicatorHintVisible(true)',\n '(mouseleave)': '_setIndicatorHintVisible(false)',\n '[attr.aria-sort]': '_getAriaSortAttribute()',\n '[class.mat-sort-header-disabled]': '_isDisabled()',\n }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, inputs: ['disabled'], animations: [\n matSortAnimations.indicator,\n matSortAnimations.leftPointer,\n matSortAnimations.rightPointer,\n matSortAnimations.arrowOpacity,\n matSortAnimations.arrowPosition,\n matSortAnimations.allowChildren,\n ], template: \"\\n
\\n\\n \\n
\\n \\n
\\n\\n \\n
\\n
\\n
\\n
\\n
\\n
\\n
\\n
\\n
\\n\", styles: [\".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\"] }]\n }], ctorParameters: function () { return [{ type: MatSortHeaderIntl }, { type: i0.ChangeDetectorRef }, { type: MatSort, decorators: [{\n type: Optional\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: ['MAT_SORT_HEADER_COLUMN_DEF']\n }, {\n type: Optional\n }] }, { type: i3.FocusMonitor }, { type: i0.ElementRef }, { type: i3.AriaDescriber, decorators: [{\n type: Optional\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_SORT_DEFAULT_OPTIONS]\n }] }]; }, propDecorators: { id: [{\n type: Input,\n args: ['mat-sort-header']\n }], arrowPosition: [{\n type: Input\n }], start: [{\n type: Input\n }], sortActionDescription: [{\n type: Input\n }], disableClear: [{\n type: Input\n }] } });\n\nclass MatSortModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSortModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSortModule, declarations: [MatSort, MatSortHeader], imports: [CommonModule, MatCommonModule], exports: [MatSort, MatSortHeader] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSortModule, providers: [MAT_SORT_HEADER_INTL_PROVIDER], imports: [CommonModule, MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSortModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [CommonModule, MatCommonModule],\n exports: [MatSort, MatSortHeader],\n declarations: [MatSort, MatSortHeader],\n providers: [MAT_SORT_HEADER_INTL_PROVIDER],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MAT_SORT_DEFAULT_OPTIONS, MAT_SORT_HEADER_INTL_PROVIDER, MAT_SORT_HEADER_INTL_PROVIDER_FACTORY, MatSort, MatSortHeader, MatSortHeaderIntl, MatSortModule, matSortAnimations };\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39]} \ No newline at end of file diff --git a/1217.bf9e9dcb0130fef7.js b/1217.bf9e9dcb0130fef7.js new file mode 100644 index 0000000..79003dd --- /dev/null +++ b/1217.bf9e9dcb0130fef7.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[1217,7376,5187,4091,7208,4968,4155,1084,6896,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,4680,2111,3326,8596,8352,5501,3098,8608,8443,5915,3278,5391,6748,6763,4151,5069,7432,6618],{35488:(f,n,e)=>{function t(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}e.d(n,{Z:()=>t})},28694:(f,n,e)=>{e.d(n,{Z:()=>i});var t=e(20265),o=e(98568),u=e(43445),r=e(35488);function i(p){var c=(0,o.Z)();return function(){var a,s=(0,t.Z)(p);if(c){var d=(0,t.Z)(this).constructor;a=Reflect.construct(s,arguments,d)}else a=s.apply(this,arguments);return function _(p,c){if(c&&("object"===(0,u.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(p)}(this,a)}}},20265:(f,n,e)=>{function t(o){return(t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)})(o)}e.d(n,{Z:()=>t})},24582:(f,n,e)=>{e.d(n,{Z:()=>o});var t=e(10006);function o(u,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(r&&r.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),r&&(0,t.Z)(u,r)}},98568:(f,n,e)=>{function t(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(n,{Z:()=>t})},10006:(f,n,e)=>{function t(o,u){return(t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_,i){return _.__proto__=i,_})(o,u)}e.d(n,{Z:()=>t})}}]); +//# sourceMappingURL=1217.bf9e9dcb0130fef7.js.map \ No newline at end of file diff --git a/1217.bf9e9dcb0130fef7.js.map b/1217.bf9e9dcb0130fef7.js.map new file mode 100644 index 0000000..22be809 --- /dev/null +++ b/1217.bf9e9dcb0130fef7.js.map @@ -0,0 +1 @@ +{"version":3,"file":"1217.bf9e9dcb0130fef7.js","mappings":"sQAAe,SAAAA,EAAAC,GACf,YAAAA,EACA,UAAAC,eAAA,6DAEA,OAAAD,CACA,oGCFe,SAAAE,EAAAC,GACf,IAAAC,KAAkCC,EAAAC,KAClC,kBACA,IACAC,EADAC,KAAgBC,EAAAH,GAAcH,GAE9B,GAAAC,EAAA,CACA,IAAAM,KAAsBD,EAAAH,GAAcK,MAAAC,YACpCL,EAAAM,QAAAC,UAAAN,EAAAO,UAAAL,EAAA,MAEAH,EAAAC,EAAAQ,MAAAL,KAAAI,WAEA,OCZe,SAAAE,EAAAjB,EAAAkB,GACf,GAAAA,IAAsB,YAAtBA,EAAeC,EAAAb,GAAOY,IAAA,mBAAAA,GACtB,OAAAA,EACI,YAAAA,EACJ,UAAAE,UAAA,4DAEA,SAASC,EAAAf,GAAqBN,EAC9B,CDKWiB,CAAyBN,KAAAJ,EACpC,CACA,mBEhBe,SAAAe,EAAAC,GACf,OAAAD,EAAAE,OAAAC,eAAAD,OAAAf,eAAAiB,OAAA,SAAAH,GACA,OAAAA,EAAAI,WAAAH,OAAAf,eAAAc,EACA,GACAA,EACA,mECJe,SAAAK,EAAAC,EAAAC,GACf,sBAAAA,GAAA,OAAAA,EACA,UAAAV,UAAA,sDAEAS,EAAAE,UAAAP,OAAAQ,OAAAF,KAAAC,UAAA,CACAnB,YAAA,CACAqB,MAAAJ,EACAK,UAAA,EACAC,cAAA,KAGAX,OAAAY,eAAAP,EAAA,aACAK,UAAA,IAEAJ,MAAkBO,EAAA/B,GAAcuB,EAAAC,EAChC,mBChBe,SAAAQ,IAEf,UADAzB,QAAA,MAAAA,QAAAC,WACAD,QAAAC,UAAAyB,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAAV,UAAAW,QAAAxB,KAAAL,QAAAC,UAAA2B,QAAA,mBACA,CACA,OACA,QACA,CACA,mCCVe,SAAAE,EAAApB,EAAAqB,GACf,OAAAD,EAAAnB,OAAAC,eAAAD,OAAAC,eAAAC,OAAA,SAAAH,EAAAqB,GACA,OAAArB,EAAAI,UAAAiB,EACArB,CACA,GACAA,EAAAqB,EACA","names":["_assertThisInitialized","self","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","call","esm_typeof","TypeError","assertThisInitialized","_getPrototypeOf","o","Object","setPrototypeOf","bind","__proto__","_inherits","subClass","superClass","prototype","create","value","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6]} \ No newline at end of file diff --git a/1328.cd6b67916d3ed353.js b/1328.cd6b67916d3ed353.js new file mode 100644 index 0000000..25f6eec --- /dev/null +++ b/1328.cd6b67916d3ed353.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[1328,3022,5106,7376,5187,4091,1217,7208,4968,6785,4155,1084,6896,7920,6980,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,8061,4680,2111,3326,8596,8352,5501,882,3098,8467,6578,8608,8443,7328,5915,3278,5391,6748,1551,6763,4151,5069,7432,8071,6618],{50253:(v,c,t)=>{t.d(c,{x:()=>E});var s=t(95106),a=t(78069),r=t(48047),o=t(4089),u=t(20265),d=t(24582),l=t(28694),f=t(90833),b=t(17714),h=(0,t(27543).d)(function(w){return function(){w(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),_=t(39663),k=t(12309),E=function(){var w=function(S){(0,d.Z)(p,S);var m=(0,l.Z)(p);function p(){var i;return(0,a.Z)(this,p),(i=m.call(this)).closed=!1,i.currentObservers=null,i.observers=[],i.isStopped=!1,i.hasError=!1,i.thrownError=null,i}return(0,r.Z)(p,[{key:"lift",value:function(e){var n=new I(this,this);return n.operator=e,n}},{key:"_throwIfClosed",value:function(){if(this.closed)throw new h}},{key:"next",value:function(e){var n=this;(0,k.x)(function(){if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));var Z,y=(0,s.Z)(n.currentObservers);try{for(y.s();!(Z=y.n()).done;)Z.value.next(e)}catch(P){y.e(P)}finally{y.f()}}})}},{key:"error",value:function(e){var n=this;(0,k.x)(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=e;for(var y=n.observers;y.length;)y.shift().error(e)}})}},{key:"complete",value:function(){var e=this;(0,k.x)(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var n=e.observers;n.length;)n.shift().complete()}})}},{key:"unsubscribe",value:function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}},{key:"observed",get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}},{key:"_trySubscribe",value:function(e){return this._throwIfClosed(),(0,o.Z)((0,u.Z)(p.prototype),"_trySubscribe",this).call(this,e)}},{key:"_subscribe",value:function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}},{key:"_innerSubscribe",value:function(e){var n=this,g=this.observers;return this.hasError||this.isStopped?b.Lc:(this.currentObservers=null,g.push(e),new b.w0(function(){n.currentObservers=null,(0,_.P)(g,e)}))}},{key:"_checkFinalizedStatuses",value:function(e){var Z=this.isStopped;this.hasError?e.error(this.thrownError):Z&&e.complete()}},{key:"asObservable",value:function(){var e=new f.y;return e.source=this,e}}]),p}(f.y);return w.create=function(S,m){return new I(S,m)},w}(),I=function(w){(0,d.Z)(m,w);var S=(0,l.Z)(m);function m(p,i){var e;return(0,a.Z)(this,m),(e=S.call(this)).destination=p,e.source=i,e}return(0,r.Z)(m,[{key:"next",value:function(i){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===n||n.call(e,i)}},{key:"error",value:function(i){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===n||n.call(e,i)}},{key:"complete",value:function(){var i,e;null===(e=null===(i=this.destination)||void 0===i?void 0:i.complete)||void 0===e||e.call(i)}},{key:"_subscribe",value:function(i){var e,n;return null!==(n=null===(e=this.source)||void 0===e?void 0:e.subscribe(i))&&void 0!==n?n:b.Lc}}]),m}(E)},44841:(v,c,t)=>{function s(a,r){(null==r||r>a.length)&&(r=a.length);for(var o=0,u=new Array(r);os})},35488:(v,c,t)=>{function s(a){if(void 0===a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}t.d(c,{Z:()=>s})},95106:(v,c,t)=>{t.d(c,{Z:()=>a});var s=t(44206);function a(r,o){var u=typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"];if(!u){if(Array.isArray(r)||(u=(0,s.Z)(r))||o&&r&&"number"==typeof r.length){u&&(r=u);var d=0,l=function(){};return{s:l,n:function(){return d>=r.length?{done:!0}:{done:!1,value:r[d++]}},e:function(_){throw _},f:l}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var O,f=!0,b=!1;return{s:function(){u=u.call(r)},n:function(){var _=u.next();return f=_.done,_},e:function(_){b=!0,O=_},f:function(){try{!f&&null!=u.return&&u.return()}finally{if(b)throw O}}}}},28694:(v,c,t)=>{t.d(c,{Z:()=>d});var s=t(20265),a=t(98568),r=t(43445),o=t(35488);function d(l){var f=(0,a.Z)();return function(){var h,O=(0,s.Z)(l);if(f){var _=(0,s.Z)(this).constructor;h=Reflect.construct(O,arguments,_)}else h=O.apply(this,arguments);return function u(l,f){if(f&&("object"===(0,r.Z)(f)||"function"==typeof f))return f;if(void 0!==f)throw new TypeError("Derived constructors may only return object or undefined");return(0,o.Z)(l)}(this,h)}}},4089:(v,c,t)=>{t.d(c,{Z:()=>r});var s=t(20265);function r(){return r=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(u,d,l){var f=function a(o,u){for(;!Object.prototype.hasOwnProperty.call(o,u)&&null!==(o=(0,s.Z)(o)););return o}(u,d);if(f){var b=Object.getOwnPropertyDescriptor(f,d);return b.get?b.get.call(arguments.length<3?u:l):b.value}},r.apply(this,arguments)}},20265:(v,c,t)=>{function s(a){return(s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(o){return o.__proto__||Object.getPrototypeOf(o)})(a)}t.d(c,{Z:()=>s})},24582:(v,c,t)=>{t.d(c,{Z:()=>a});var s=t(10006);function a(r,o){if("function"!=typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(o&&o.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),o&&(0,s.Z)(r,o)}},98568:(v,c,t)=>{function s(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}t.d(c,{Z:()=>s})},4826:(v,c,t)=>{function s(a){if(typeof Symbol<"u"&&null!=a[Symbol.iterator]||null!=a["@@iterator"])return Array.from(a)}t.d(c,{Z:()=>s})},10006:(v,c,t)=>{function s(a,r){return(s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(u,d){return u.__proto__=d,u})(a,r)}t.d(c,{Z:()=>s})},86170:(v,c,t)=>{t.d(c,{Z:()=>d});var s=t(44841),r=t(4826),o=t(44206);function d(l){return function a(l){if(Array.isArray(l))return(0,s.Z)(l)}(l)||(0,r.Z)(l)||(0,o.Z)(l)||function u(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(v,c,t)=>{t.d(c,{Z:()=>a});var s=t(44841);function a(r,o){if(r){if("string"==typeof r)return(0,s.Z)(r,o);var u=Object.prototype.toString.call(r).slice(8,-1);if("Object"===u&&r.constructor&&(u=r.constructor.name),"Map"===u||"Set"===u)return Array.from(r);if("Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return(0,s.Z)(r,o)}}}}]); +//# sourceMappingURL=1328.cd6b67916d3ed353.js.map \ No newline at end of file diff --git a/1328.cd6b67916d3ed353.js.map b/1328.cd6b67916d3ed353.js.map new file mode 100644 index 0000000..5926377 --- /dev/null +++ b/1328.cd6b67916d3ed353.js.map @@ -0,0 +1 @@ +{"version":3,"file":"1328.cd6b67916d3ed353.js","mappings":"6bACaA,cAA0BC,GAAiB,SAACC,GAAM,OAAK,WAChEA,EAAOC,MACPA,KAAKC,KAAO,0BACZD,KAAKE,QAAU,qBACnB,CAAC,yBCAYC,EAAO,eAAPA,EAAO,SAAAC,IAAAC,OAAAF,EAAAC,GAAA,IAAAL,KAAAO,KAAAH,GAChB,SAAAA,IAAc,IAAAI,EAAAC,cAAAR,KAAAG,IACVI,EAAAR,EAAAU,KAAAT,OACKU,QAAS,EACdH,E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G,EACA,mCCFe,SAAAC,EAAAzD,EAAA0D,GACf,OAAAD,EAAAnB,OAAAI,eAAAJ,OAAAI,eAAAX,OAAA,SAAA/B,EAAA0D,GACA,OAAA1D,EAAA2C,UAAAe,EACA1D,CACA,GACAA,EAAA0D,EACA,wFCFe,SAAAC,EAAAlE,GACf,OCJe,SAAAmE,EAAAnE,GACf,GAAA1C,MAAAsD,QAAAZ,GAAA,SAAiCoE,EAAAtD,GAAgBd,EACjD,CDESmE,CAAiBnE,KAAA,EAASqE,EAAAvD,GAAed,KAAA,EAASsE,EAAAxD,GAA0Bd,IELtE,SAAAuE,IACf,UAAAtD,UAAA,uIACA,CFG8FsD,EAC9F,mDGLe,SAAAC,EAAAjE,EAAAkE,GACf,GAAAlE,EACA,qBAAAA,EAAA,SAAoCmE,EAAA5D,GAAgBP,EAAAkE,GACpD,IAAA7G,EAAAiF,OAAAhE,UAAA8F,SAAArI,KAAAiE,GAAAqE,MAAA,MAEA,GADA,WAAAhH,GAAA2C,EAAAuB,cAAAlE,EAAA2C,EAAAuB,YAAAhG,MACA,QAAA8B,GAAA,QAAAA,EAAA,OAAAN,MAAAC,KAAAgD,GACA,iBAAA3C,GAAA,2CAAAiH,KAAAjH,GAAA,SAAsF8G,EAAA5D,GAAgBP,EAAAkE,EAAA,CACtG","names":["ObjectUnsubscribedError","createErrorClass","_super","this","name","message","Subject","_Observable","_inherits","_createSuper","_this","_classCallCheck","call","closed","currentObservers","observers","isStopped","hasError","thrownError","_createClass","key","value","operator","subject","AnonymousSubject","_this2","errorContext","_throwIfClosed","Array","from","_step","_iterator","_createForOfIteratorHelper","s","n","done","next","err","e","f","_this3","length","shift","error","_this4","complete","get","_a","subscriber","_get","_getPrototypeOf","prototype","_checkFinalizedStatuses","_innerSubscribe","_this5","EMPTY_SUBSCRIPTION","push","Subscription","arrRemove","observable","Observable","source","create","destination","_Subject","_super2","_this6","_b","subscribe","_arrayLikeToArray","arr","len","i","arr2","_assertThisInitialized","self","ReferenceError","o","allowArrayLike","it","Symbol","iterator","isArray","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","_e","TypeError","normalCompletion","didErr","step","_e2","return","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","result","Super","getPrototypeOf","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","esm_typeof","assertThisInitialized","bind","target","property","receiver","base","_superPropBase","object","Object","hasOwnProperty","desc","getOwnPropertyDescriptor","setPrototypeOf","__proto__","subClass","superClass","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_iterableToArray","iter","_setPrototypeOf","p","_toConsumableArray","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","toString","slice","test"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/util/ObjectUnsubscribedError.js","./node_modules/rxjs/dist/esm/internal/Subject.js","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { createErrorClass } from './createErrorClass';\nexport const ObjectUnsubscribedError = createErrorClass((_super) => function ObjectUnsubscribedErrorImpl() {\n _super(this);\n this.name = 'ObjectUnsubscribedError';\n this.message = 'object unsubscribed';\n});\n","import { Observable } from './Observable';\nimport { Subscription, EMPTY_SUBSCRIPTION } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { arrRemove } from './util/arrRemove';\nimport { errorContext } from './util/errorContext';\nexport class Subject extends Observable {\n constructor() {\n super();\n this.closed = false;\n this.currentObservers = null;\n this.observers = [];\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n lift(operator) {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n }\n _throwIfClosed() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n }\n next(value) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n if (!this.currentObservers) {\n this.currentObservers = Array.from(this.observers);\n }\n for (const observer of this.currentObservers) {\n observer.next(value);\n }\n }\n });\n }\n error(err) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.hasError = this.isStopped = true;\n this.thrownError = err;\n const { observers } = this;\n while (observers.length) {\n observers.shift().error(err);\n }\n }\n });\n }\n complete() {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.isStopped = true;\n const { observers } = this;\n while (observers.length) {\n observers.shift().complete();\n }\n }\n });\n }\n unsubscribe() {\n this.isStopped = this.closed = true;\n this.observers = this.currentObservers = null;\n }\n get observed() {\n var _a;\n return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;\n }\n _trySubscribe(subscriber) {\n this._throwIfClosed();\n return super._trySubscribe(subscriber);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._checkFinalizedStatuses(subscriber);\n return this._innerSubscribe(subscriber);\n }\n _innerSubscribe(subscriber) {\n const { hasError, isStopped, observers } = this;\n if (hasError || isStopped) {\n return EMPTY_SUBSCRIPTION;\n }\n this.currentObservers = null;\n observers.push(subscriber);\n return new Subscription(() => {\n this.currentObservers = null;\n arrRemove(observers, subscriber);\n });\n }\n _checkFinalizedStatuses(subscriber) {\n const { hasError, thrownError, isStopped } = this;\n if (hasError) {\n subscriber.error(thrownError);\n }\n else if (isStopped) {\n subscriber.complete();\n }\n }\n asObservable() {\n const observable = new Observable();\n observable.source = this;\n return observable;\n }\n}\nSubject.create = (destination, source) => {\n return new AnonymousSubject(destination, source);\n};\nexport class AnonymousSubject extends Subject {\n constructor(destination, source) {\n super();\n this.destination = destination;\n this.source = source;\n }\n next(value) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);\n }\n error(err) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);\n }\n complete() {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);\n }\n _subscribe(subscriber) {\n var _a, _b;\n return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;\n }\n}\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]} \ No newline at end of file diff --git a/1551.f681c87a695c9abd.js b/1551.f681c87a695c9abd.js new file mode 100644 index 0000000..aef8650 --- /dev/null +++ b/1551.f681c87a695c9abd.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[1551,5106],{44841:(i,f,n)=>{function u(a,r){(null==r||r>a.length)&&(r=a.length);for(var t=0,e=new Array(r);tu})},95106:(i,f,n)=>{n.d(f,{Z:()=>a});var u=n(44206);function a(r,t){var e=typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"];if(!e){if(Array.isArray(r)||(e=(0,u.Z)(r))||t&&r&&"number"==typeof r.length){e&&(r=e);var l=0,c=function(){};return{s:c,n:function(){return l>=r.length?{done:!0}:{done:!1,value:r[l++]}},e:function(_){throw _},f:c}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var d,s=!0,p=!1;return{s:function(){e=e.call(r)},n:function(){var _=e.next();return s=_.done,_},e:function(_){p=!0,d=_},f:function(){try{!s&&null!=e.return&&e.return()}finally{if(p)throw d}}}}},44206:(i,f,n)=>{n.d(f,{Z:()=>a});var u=n(44841);function a(r,t){if(r){if("string"==typeof r)return(0,u.Z)(r,t);var e=Object.prototype.toString.call(r).slice(8,-1);if("Object"===e&&r.constructor&&(e=r.constructor.name),"Map"===e||"Set"===e)return Array.from(r);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return(0,u.Z)(r,t)}}}}]); +//# sourceMappingURL=1551.f681c87a695c9abd.js.map \ No newline at end of file diff --git a/1551.f681c87a695c9abd.js.map b/1551.f681c87a695c9abd.js.map new file mode 100644 index 0000000..ec353bc --- /dev/null +++ b/1551.f681c87a695c9abd.js.map @@ -0,0 +1 @@ +{"version":3,"file":"1551.f681c87a695c9abd.js","mappings":"uFAAe,SAAAA,EAAAC,EAAAC,IACf,MAAAA,KAAAD,EAAAE,UAAAD,EAAAD,EAAAE,QACA,QAAAC,EAAA,EAAAC,EAAA,IAAAC,MAAAJ,GAAyCE,EAAAF,EAASE,IAAAC,EAAAD,GAAAH,EAAAG,GAClD,OAAAC,CACA,mECHe,SAAAE,EAAAC,EAAAC,GACf,IAAAC,SAAAC,OAAA,KAAAH,EAAAG,OAAAC,WAAAJ,EAAA,cACA,IAAAE,EAAA,CACA,GAAAJ,MAAAO,QAAAL,KAAAE,KAAkCI,EAAAC,GAA0BP,KAAAC,GAAAD,GAAA,iBAAAA,EAAAL,OAAA,CAC5DO,IAAAF,EAAAE,GACA,IAAAN,EAAA,EACAY,EAAA,aACA,OACAC,EAAAD,EACAE,EAAA,WACA,OAAAd,GAAAI,EAAAL,OAAA,CACAgB,MAAA,GAEA,CACAA,MAAA,EACAC,MAAAZ,EAAAJ,KAEA,EACAiB,EAAA,SAAAC,GACA,MAAAA,CACA,EACAC,EAAAP,EACA,CAEA,UAAAQ,UAAA,yIAEA,IAEAC,EAFAC,GAAA,EACAC,GAAA,EAEA,OACAV,EAAA,WACAP,IAAAkB,KAAApB,EACA,EACAU,EAAA,WACA,IAAAW,EAAAnB,EAAAoB,OACA,OAAAJ,EAAAG,EAAAV,KACAU,CACA,EACAR,EAAA,SAAAU,GACAJ,GAAA,EACAF,EAAAM,CACA,EACAR,EAAA,WACA,KACAG,GAAA,MAAAhB,EAAAsB,QAAAtB,EAAAsB,QACA,SACA,GAAAL,EAAA,MAAAF,CACA,CACA,EAEA,mDClDe,SAAAQ,EAAAzB,EAAA0B,GACf,GAAA1B,EACA,qBAAAA,EAAA,SAAoC2B,EAAApB,GAAgBP,EAAA0B,GACpD,IAAAhB,EAAAkB,OAAAC,UAAAC,SAAAV,KAAApB,GAAA+B,MAAA,MAEA,GADA,WAAArB,GAAAV,EAAAgC,cAAAtB,EAAAV,EAAAgC,YAAAC,MACA,QAAAvB,GAAA,QAAAA,EAAA,OAAAZ,MAAAoC,KAAAlC,GACA,iBAAAU,GAAA,2CAAAyB,KAAAzB,GAAA,SAAsFiB,EAAApB,GAAgBP,EAAA0B,EAAA,CACtG","names":["_arrayLikeToArray","arr","len","length","i","arr2","Array","_createForOfIteratorHelper","o","allowArrayLike","it","Symbol","iterator","isArray","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","s","n","done","value","e","_e","f","TypeError","err","normalCompletion","didErr","call","step","next","_e2","return","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","Object","prototype","toString","slice","constructor","name","from","test"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2]} \ No newline at end of file diff --git a/1636.ea4ce1e9cfbc5c19.js b/1636.ea4ce1e9cfbc5c19.js new file mode 100644 index 0000000..1f36e91 --- /dev/null +++ b/1636.ea4ce1e9cfbc5c19.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[1636,3022,5106,7376,5187,4091,1217,7208,4968,6785,4155,1084,6896,5603,7920,6980,5113,1328,5749,4309,8024,8513,5555,4967,8017,8116,5873,8061,4680,2111,3326,8596,8352,5501,882,3098,8467,6578,4093,8608,8443,7328,6441,1821,9880,4902,5915,3278,5391,6748,1551,6763,4151,5069,7432,8071,6618],{76317:(P,y,r)=>{r.d(y,{X:()=>_});var v=r(78069),m=r(48047),u=r(4089),d=r(20265),l=r(24582),h=r(28694),_=function(g){(0,l.Z)(a,g);var M=(0,h.Z)(a);function a(p){var b;return(0,v.Z)(this,a),(b=M.call(this))._value=p,b}return(0,m.Z)(a,[{key:"value",get:function(){return this.getValue()}},{key:"_subscribe",value:function(b){var E=(0,u.Z)((0,d.Z)(a.prototype),"_subscribe",this).call(this,b);return!E.closed&&b.next(this._value),E}},{key:"getValue",value:function(){var T=this._value;if(this.hasError)throw this.thrownError;return this._throwIfClosed(),T}},{key:"next",value:function(b){(0,u.Z)((0,d.Z)(a.prototype),"next",this).call(this,this._value=b)}}]),a}(r(50253).x)},50253:(P,y,r)=>{r.d(y,{x:()=>E});var v=r(95106),m=r(78069),u=r(48047),d=r(4089),l=r(20265),h=r(24582),f=r(28694),_=r(90833),g=r(17714),a=(0,r(27543).d)(function(L){return function(){L(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),p=r(39663),b=r(12309),E=function(){var L=function(I){(0,h.Z)(B,I);var w=(0,f.Z)(B);function B(){var C;return(0,m.Z)(this,B),(C=w.call(this)).closed=!1,C.currentObservers=null,C.observers=[],C.isStopped=!1,C.hasError=!1,C.thrownError=null,C}return(0,u.Z)(B,[{key:"lift",value:function(A){var k=new T(this,this);return k.operator=A,k}},{key:"_throwIfClosed",value:function(){if(this.closed)throw new a}},{key:"next",value:function(A){var k=this;(0,b.x)(function(){if(k._throwIfClosed(),!k.isStopped){k.currentObservers||(k.currentObservers=Array.from(k.observers));var D,S=(0,v.Z)(k.currentObservers);try{for(S.s();!(D=S.n()).done;)D.value.next(A)}catch(x){S.e(x)}finally{S.f()}}})}},{key:"error",value:function(A){var k=this;(0,b.x)(function(){if(k._throwIfClosed(),!k.isStopped){k.hasError=k.isStopped=!0,k.thrownError=A;for(var S=k.observers;S.length;)S.shift().error(A)}})}},{key:"complete",value:function(){var A=this;(0,b.x)(function(){if(A._throwIfClosed(),!A.isStopped){A.isStopped=!0;for(var k=A.observers;k.length;)k.shift().complete()}})}},{key:"unsubscribe",value:function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}},{key:"observed",get:function(){var A;return(null===(A=this.observers)||void 0===A?void 0:A.length)>0}},{key:"_trySubscribe",value:function(A){return this._throwIfClosed(),(0,d.Z)((0,l.Z)(B.prototype),"_trySubscribe",this).call(this,A)}},{key:"_subscribe",value:function(A){return this._throwIfClosed(),this._checkFinalizedStatuses(A),this._innerSubscribe(A)}},{key:"_innerSubscribe",value:function(A){var k=this,R=this.observers;return this.hasError||this.isStopped?g.Lc:(this.currentObservers=null,R.push(A),new g.w0(function(){k.currentObservers=null,(0,p.P)(R,A)}))}},{key:"_checkFinalizedStatuses",value:function(A){var D=this.isStopped;this.hasError?A.error(this.thrownError):D&&A.complete()}},{key:"asObservable",value:function(){var A=new _.y;return A.source=this,A}}]),B}(_.y);return L.create=function(I,w){return new T(I,w)},L}(),T=function(L){(0,h.Z)(w,L);var I=(0,f.Z)(w);function w(B,C){var A;return(0,m.Z)(this,w),(A=I.call(this)).destination=B,A.source=C,A}return(0,u.Z)(w,[{key:"next",value:function(C){var A,k;null===(k=null===(A=this.destination)||void 0===A?void 0:A.next)||void 0===k||k.call(A,C)}},{key:"error",value:function(C){var A,k;null===(k=null===(A=this.destination)||void 0===A?void 0:A.error)||void 0===k||k.call(A,C)}},{key:"complete",value:function(){var C,A;null===(A=null===(C=this.destination)||void 0===C?void 0:C.complete)||void 0===A||A.call(C)}},{key:"_subscribe",value:function(C){var A,k;return null!==(k=null===(A=this.source)||void 0===A?void 0:A.subscribe(C))&&void 0!==k?k:g.Lc}}]),w}(E)},20591:(P,y,r)=>{r.d(y,{E:()=>m});var m=new(r(90833).y)(function(l){return l.complete()})},37400:(P,y,r)=>{r.d(y,{D:()=>S});var v=r(54987),m=r(8728),u=r(41944);function d(D){var R=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,u.e)(function(x,j){j.add(D.schedule(function(){return x.subscribe(j)},R))})}var f=r(90833),g=r(67321),M=r(92971),a=r(1817);function b(D,R){if(!D)throw new Error("Iterable cannot be null");return new f.y(function(x){(0,a.f)(x,R,function(){var j=D[Symbol.asyncIterator]();(0,a.f)(x,R,function(){j.next().then(function(K){K.done?x.complete():x.next(K.value)})},0,!0)})})}var E=r(21331),T=r(79548),L=r(99806),I=r(23433),w=r(80470),B=r(27785),C=r(20181);function S(D,R){return R?function k(D,R){if(null!=D){if((0,E.c)(D))return function l(D,R){return(0,v.Xf)(D).pipe(d(R),(0,m.Q)(R))}(D,R);if((0,L.z)(D))return function _(D,R){return new f.y(function(x){var j=0;return R.schedule(function(){j===D.length?x.complete():(x.next(D[j++]),x.closed||this.schedule())})})}(D,R);if((0,T.t)(D))return function h(D,R){return(0,v.Xf)(D).pipe(d(R),(0,m.Q)(R))}(D,R);if((0,w.D)(D))return b(D,R);if((0,I.T)(D))return function p(D,R){return new f.y(function(x){var j;return(0,a.f)(x,R,function(){j=D[g.h](),(0,a.f)(x,R,function(){var K,W;try{var V=j.next();K=V.value,W=V.done}catch(Y){return void x.error(Y)}W?x.complete():x.next(K)},0,!0)}),function(){return(0,M.m)(j?.return)&&j.return()}})}(D,R);if((0,C.L)(D))return function A(D,R){return b((0,C.Q)(D),R)}(D,R)}throw(0,B.z)(D)}(D,R):(0,v.Xf)(D)}},10745:(P,y,r)=>{r.d(y,{of:()=>u});var v=r(10420),m=r(37400);function u(){for(var d=arguments.length,l=new Array(d),h=0;h{r.d(y,{Q:()=>M,x:()=>g});var v=r(78069),m=r(48047),u=r(35488),d=r(24582),l=r(28694),h=r(4089),f=r(20265);function g(a,p,b,E,T){return new M(a,p,b,E,T)}var M=function(a){(0,d.Z)(b,a);var p=(0,l.Z)(b);function b(E,T,L,I,w,B){var C,A,k,S;return(0,v.Z)(this,b),(S=p.call(this,E)).onFinalize=w,S.shouldUnsubscribe=B,S._next=T?function(D){try{T(D)}catch(R){E.error(R)}}:(0,h.Z)((C=(0,u.Z)(S),(0,f.Z)(b.prototype)),"_next",C),S._error=I?function(D){try{I(D)}catch(R){E.error(R)}finally{this.unsubscribe()}}:(0,h.Z)((A=(0,u.Z)(S),(0,f.Z)(b.prototype)),"_error",A),S._complete=L?function(){try{L()}catch(D){E.error(D)}finally{this.unsubscribe()}}:(0,h.Z)((k=(0,u.Z)(S),(0,f.Z)(b.prototype)),"_complete",k),S}return(0,m.Z)(b,[{key:"unsubscribe",value:function(){var T;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var L=this.closed;(0,h.Z)((0,f.Z)(b.prototype),"unsubscribe",this).call(this),!L&&(null===(T=this.onFinalize)||void 0===T||T.call(this))}}}]),b}(r(5463).Lv)},71989:(P,y,r)=>{r.d(y,{b:()=>d});var v=r(96936),m=r(41944),u=r(93945);function d(l){var h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v.z;return(0,m.e)(function(f,_){var g=null,M=null,a=null,p=function(){if(g){g.unsubscribe(),g=null;var T=M;M=null,_.next(T)}};function b(){var E=a+l,T=h.now();if(T{r.d(y,{x:()=>d});var v=r(89173),m=r(41944),u=r(93945);function d(h){var f=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v.y;return h=h??l,(0,m.e)(function(_,g){var M,a=!0;_.subscribe((0,u.x)(g,function(p){var b=f(p);(a||!h(M,b))&&(a=!1,M=b,g.next(p))}))})}function l(h,f){return h===f}},60116:(P,y,r)=>{r.d(y,{h:()=>u});var v=r(41944),m=r(93945);function u(d,l){return(0,v.e)(function(h,f){var _=0;h.subscribe((0,m.x)(f,function(g){return d.call(l,g,_++)&&f.next(g)}))})}},50635:(P,y,r)=>{r.d(y,{U:()=>u});var v=r(41944),m=r(93945);function u(d,l){return(0,v.e)(function(h,f){var _=0;h.subscribe((0,m.x)(f,function(g){f.next(d.call(l,g,_++))}))})}},8728:(P,y,r)=>{r.d(y,{Q:()=>d});var v=r(1817),m=r(41944),u=r(93945);function d(l){var h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,m.e)(function(f,_){f.subscribe((0,u.x)(_,function(g){return(0,v.f)(_,l,function(){return _.next(g)},h)},function(){return(0,v.f)(_,l,function(){return _.complete()},h)},function(g){return(0,v.f)(_,l,function(){return _.error(g)},h)}))})}},87260:(P,y,r)=>{r.d(y,{T:()=>m});var v=r(60116);function m(u){return(0,v.h)(function(d,l){return u<=l})}},59295:(P,y,r)=>{r.d(y,{q:()=>d});var v=r(20591),m=r(41944),u=r(93945);function d(l){return l<=0?function(){return v.E}:(0,m.e)(function(h,f){var _=0;h.subscribe((0,u.x)(f,function(g){++_<=l&&(f.next(g),l<=_&&f.complete())}))})}},68951:(P,y,r)=>{r.d(y,{R:()=>l});var v=r(41944),m=r(93945),u=r(54987),d=r(99635);function l(h){return(0,v.e)(function(f,_){(0,u.Xf)(h).subscribe((0,m.x)(_,function(){return _.complete()},d.Z)),!_.closed&&f.subscribe(_)})}},19337:(P,y,r)=>{r.d(y,{b:()=>l});var v=r(92971),m=r(41944),u=r(93945),d=r(89173);function l(h,f,_){var g=(0,v.m)(h)||f||_?{next:h,error:f,complete:_}:h;return g?(0,m.e)(function(M,a){var p;null===(p=g.subscribe)||void 0===p||p.call(g);var b=!0;M.subscribe((0,u.x)(a,function(E){var T;null===(T=g.next)||void 0===T||T.call(g,E),a.next(E)},function(){var E;b=!1,null===(E=g.complete)||void 0===E||E.call(g),a.complete()},function(E){var T;b=!1,null===(T=g.error)||void 0===T||T.call(g,E),a.error(E)},function(){var E,T;b&&(null===(E=g.unsubscribe)||void 0===E||E.call(g)),null===(T=g.finalize)||void 0===T||T.call(g)}))}):d.y}},75417:(P,y,r)=>{r.d(y,{o:()=>a});var v=r(78069),m=r(48047),u=r(4089),d=r(20265),l=r(24582),h=r(28694),_=function(p){(0,l.Z)(E,p);var b=(0,h.Z)(E);function E(T,L){return(0,v.Z)(this,E),b.call(this)}return(0,m.Z)(E,[{key:"schedule",value:function(L){return this}}]),E}(r(17714).w0),g={setInterval:function(p){function b(E,T){return p.apply(this,arguments)}return b.toString=function(){return p.toString()},b}(function(p,b){for(var E=g.delegate,T=arguments.length,L=new Array(T>2?T-2:0),I=2;I1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=L;var B=this.id,C=this.scheduler;return null!=B&&(this.id=this.recycleAsyncId(C,B,I)),this.pending=!0,this.delay=I,this.id=null!==(w=this.id)&&void 0!==w?w:this.requestAsyncId(C,this.id,I),this}},{key:"requestAsyncId",value:function(L,I){var w=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return g.setInterval(L.flush.bind(L,this),w)}},{key:"recycleAsyncId",value:function(L,I){var w=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!=w&&this.delay===w&&!1===this.pending)return I;null!=I&&g.clearInterval(I)}},{key:"execute",value:function(L,I){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var w=this._execute(L,I);if(w)return w;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(L,I){var B,w=!1;try{this.work(L)}catch(C){w=!0,B=C||new Error("Scheduled action threw falsy error")}if(w)return this.unsubscribe(),B}},{key:"unsubscribe",value:function(){if(!this.closed){var L=this.id,I=this.scheduler,w=I.actions;this.work=this.state=this.scheduler=null,this.pending=!1,(0,M.P)(w,this),null!=L&&(this.id=this.recycleAsyncId(I,L,null)),this.delay=null,(0,u.Z)((0,d.Z)(E.prototype),"unsubscribe",this).call(this)}}}]),E}(_)},41010:(P,y,r)=>{r.d(y,{v:()=>f});var v=r(78069),m=r(48047),u=r(24582),d=r(28694),l=r(67654),h=function(){function _(g){var M=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_.now;(0,v.Z)(this,_),this.schedulerActionCtor=g,this.now=M}return(0,m.Z)(_,[{key:"schedule",value:function(M){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,p=arguments.length>2?arguments[2]:void 0;return new this.schedulerActionCtor(this,M).schedule(p,a)}}]),_}();h.now=l.l.now;var f=function(_){(0,u.Z)(M,_);var g=(0,d.Z)(M);function M(a){var p,b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h.now;return(0,v.Z)(this,M),(p=g.call(this,a,b)).actions=[],p._active=!1,p}return(0,m.Z)(M,[{key:"flush",value:function(p){var b=this.actions;if(this._active)b.push(p);else{var E;this._active=!0;do{if(E=p.execute(p.state,p.delay))break}while(p=b.shift());if(this._active=!1,E){for(;p=b.shift();)p.unsubscribe();throw E}}}}]),M}(h)},96936:(P,y,r)=>{r.d(y,{P:()=>d,z:()=>u});var v=r(75417),u=new(r(41010).v)(v.o),d=u},67654:(P,y,r)=>{r.d(y,{l:()=>v});var v={now:function(){return(v.delegate||Date).now()},delegate:void 0}},10420:(P,y,r)=>{r.d(y,{_6:()=>h,jO:()=>d,yG:()=>l});var v=r(92971),m=r(59867);function u(f){return f[f.length-1]}function d(f){return(0,v.m)(u(f))?f.pop():void 0}function l(f){return(0,m.K)(u(f))?f.pop():void 0}function h(f,_){return"number"==typeof u(f)?f.pop():_}},1817:(P,y,r)=>{function v(m,u,d){var l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,h=arguments.length>4&&void 0!==arguments[4]&&arguments[4],f=u.schedule(function(){d(),h?m.add(this.schedule(null,l)):this.unsubscribe()},l);if(m.add(f),!h)return f}r.d(y,{f:()=>v})},59867:(P,y,r)=>{r.d(y,{K:()=>m});var v=r(92971);function m(u){return u&&(0,v.m)(u.schedule)}},41944:(P,y,r)=>{r.d(y,{A:()=>m,e:()=>u});var v=r(92971);function m(d){return(0,v.m)(d?.lift)}function u(d){return function(l){if(m(l))return l.lift(function(h){try{return d(h,this)}catch(f){this.error(f)}});throw new TypeError("Unable to lift unknown Observable type")}}},46958:(P,y,r)=>{r.r(y),r.d(y,{A11yModule:()=>ze,ActiveDescendantKeyManager:()=>De,AriaDescriber:()=>Me,CDK_DESCRIBEDBY_HOST_ATTRIBUTE:()=>H,CDK_DESCRIBEDBY_ID_PREFIX:()=>X,CdkAriaLive:()=>He,CdkMonitorFocus:()=>Ve,CdkTrapFocus:()=>je,ConfigurableFocusTrap:()=>ae,ConfigurableFocusTrapFactory:()=>Ne,EventListenerFocusTrapInertStrategy:()=>ce,FOCUS_MONITOR_DEFAULT_OPTIONS:()=>be,FOCUS_TRAP_INERT_STRATEGY:()=>ue,FocusKeyManager:()=>Ce,FocusMonitor:()=>Ee,FocusTrap:()=>ee,FocusTrapFactory:()=>oe,HighContrastModeDetector:()=>Oe,INPUT_MODALITY_DETECTOR_DEFAULT_OPTIONS:()=>he,INPUT_MODALITY_DETECTOR_OPTIONS:()=>_e,InputModalityDetector:()=>ve,InteractivityChecker:()=>q,IsFocusableConfig:()=>ke,LIVE_ANNOUNCER_DEFAULT_OPTIONS:()=>ye,LIVE_ANNOUNCER_ELEMENT_TOKEN:()=>me,LIVE_ANNOUNCER_ELEMENT_TOKEN_FACTORY:()=>ge,ListKeyManager:()=>J,LiveAnnouncer:()=>pe,MESSAGES_CONTAINER_ID:()=>Te,isFakeMousedownFromScreenReader:()=>le,isFakeTouchstartFromScreenReader:()=>de});var v=r(32090),m=r(35603),u=r(35488),d=r(4089),l=r(20265),h=r(24582),f=r(28694),_=r(78069),g=r(48047),M=r(94055),a=r(56718),p=r(23675),b=r(50253),E=r(17714),T=r(76317),L=r(10745),I=r(52069),w=r(19337),B=r(71989),C=r(60116),A=r(50635),k=r(59295),S=r(87260),D=r(98977),R=r(68951),x=r(35333),j=r(75321),K=r(25121);function z(i,o){return(i.getAttribute(o)||"").match(/\S+/g)||[]}var Te="cdk-describedby-message-container",X="cdk-describedby-message",H="cdk-describedby-host",$=0,Me=function(){var i=function(){function o(e,t){(0,_.Z)(this,o),this._platform=t,this._messageRegistry=new Map,this._messagesContainer=null,this._id="".concat($++),this._document=e,this._id=(0,a.inject)(a.APP_ID)+"-"+$++}return(0,g.Z)(o,[{key:"describe",value:function(t,n,s){if(this._canBeDescribed(t,n)){var c=Q(n,s);"string"!=typeof n?(re(n,this._id),this._messageRegistry.set(c,{messageElement:n,referenceCount:0})):this._messageRegistry.has(c)||this._createMessageElement(n,s),this._isElementDescribedByMessage(t,c)||this._addMessageReference(t,c)}}},{key:"removeDescription",value:function(t,n,s){var c;if(n&&this._isElementNode(t)){var O=Q(n,s);if(this._isElementDescribedByMessage(t,O)&&this._removeMessageReference(t,O),"string"==typeof n){var F=this._messageRegistry.get(O);F&&0===F.referenceCount&&this._deleteMessageElement(O)}0===(null===(c=this._messagesContainer)||void 0===c?void 0:c.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}}},{key:"ngOnDestroy",value:function(){for(var t,n=this._document.querySelectorAll("[".concat(H,'="').concat(this._id,'"]')),s=0;s-1&&s!==e._activeItemIndex&&(e._activeItemIndex=s)}}))}return(0,g.Z)(i,[{key:"skipPredicate",value:function(e){return this._skipPredicateFn=e,this}},{key:"withWrap",value:function(){return this._wrap=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],this}},{key:"withVerticalOrientation",value:function(){return this._vertical=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],this}},{key:"withHorizontalOrientation",value:function(e){return this._horizontal=e,this}},{key:"withAllowedModifierKeys",value:function(e){return this._allowedModifierKeys=e,this}},{key:"withTypeAhead",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:200;return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,w.b)(function(n){return e._pressedLetters.push(n)}),(0,B.b)(t),(0,C.h)(function(){return e._pressedLetters.length>0}),(0,A.U)(function(){return e._pressedLetters.join("")})).subscribe(function(n){for(var s=e._getItemsArray(),c=1;c0&&void 0!==arguments[0])||arguments[0],this}},{key:"withPageUpDown",value:function(){return this._pageUpAndDown={enabled:!(arguments.length>0&&void 0!==arguments[0])||arguments[0],delta:arguments.length>1&&void 0!==arguments[1]?arguments[1]:10},this}},{key:"setActiveItem",value:function(e){var t=this._activeItem;this.updateActiveItem(e),this._activeItem!==t&&this.change.next(this._activeItemIndex)}},{key:"onKeydown",value:function(e){var t=this,n=e.keyCode,c=["altKey","ctrlKey","metaKey","shiftKey"].every(function(Z){return!e[Z]||t._allowedModifierKeys.indexOf(Z)>-1});switch(n){case I.TAB:return void this.tabOut.next();case I.DOWN_ARROW:if(this._vertical&&c){this.setNextItemActive();break}return;case I.UP_ARROW:if(this._vertical&&c){this.setPreviousItemActive();break}return;case I.RIGHT_ARROW:if(this._horizontal&&c){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case I.LEFT_ARROW:if(this._horizontal&&c){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case I.HOME:if(this._homeAndEnd&&c){this.setFirstItemActive();break}return;case I.END:if(this._homeAndEnd&&c){this.setLastItemActive();break}return;case I.PAGE_UP:if(this._pageUpAndDown.enabled&&c){var O=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(O>0?O:0,1);break}return;case I.PAGE_DOWN:if(this._pageUpAndDown.enabled&&c){var F=this._activeItemIndex+this._pageUpAndDown.delta,U=this._getItemsArray().length;this._setActiveItemByIndex(F=I.A&&n<=I.Z||n>=I.ZERO&&n<=I.NINE)&&this._letterKeyStream.next(String.fromCharCode(n))))}this._pressedLetters=[],e.preventDefault()}},{key:"activeItemIndex",get:function(){return this._activeItemIndex}},{key:"activeItem",get:function(){return this._activeItem}},{key:"isTyping",value:function(){return this._pressedLetters.length>0}},{key:"setFirstItemActive",value:function(){this._setActiveItemByIndex(0,1)}},{key:"setLastItemActive",value:function(){this._setActiveItemByIndex(this._items.length-1,-1)}},{key:"setNextItemActive",value:function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}},{key:"setPreviousItemActive",value:function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}},{key:"updateActiveItem",value:function(e){var t=this._getItemsArray(),n="number"==typeof e?e:t.indexOf(e);this._activeItem=t[n]??null,this._activeItemIndex=n}},{key:"destroy",value:function(){var e;this._typeaheadSubscription.unsubscribe(),null===(e=this._itemChangesSubscription)||void 0===e||e.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}},{key:"_setActiveItemByDelta",value:function(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}},{key:"_setActiveInWrapMode",value:function(e){for(var t=this._getItemsArray(),n=1;n<=t.length;n++){var s=(this._activeItemIndex+e*n+t.length)%t.length;if(!this._skipPredicateFn(t[s]))return void this.setActiveItem(s)}}},{key:"_setActiveInDefaultMode",value:function(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}},{key:"_setActiveItemByIndex",value:function(e,t){var n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(!n[e+=t])return;this.setActiveItem(e)}}},{key:"_getItemsArray",value:function(){return this._items instanceof a.QueryList?this._items.toArray():this._items}}]),i}(),De=function(i){(0,h.Z)(e,i);var o=(0,f.Z)(e);function e(){return(0,_.Z)(this,e),o.apply(this,arguments)}return(0,g.Z)(e,[{key:"setActiveItem",value:function(n){this.activeItem&&this.activeItem.setInactiveStyles(),(0,d.Z)((0,l.Z)(e.prototype),"setActiveItem",this).call(this,n),this.activeItem&&this.activeItem.setActiveStyles()}}]),e}(J),Ce=function(i){(0,h.Z)(e,i);var o=(0,f.Z)(e);function e(){var t;return(0,_.Z)(this,e),(t=o.apply(this,arguments))._origin="program",t}return(0,g.Z)(e,[{key:"setFocusOrigin",value:function(n){return this._origin=n,this}},{key:"setActiveItem",value:function(n){(0,d.Z)((0,l.Z)(e.prototype),"setActiveItem",this).call(this,n),this.activeItem&&this.activeItem.focus(this._origin)}}]),e}(J),ke=(0,g.Z)(function i(){(0,_.Z)(this,i),this.ignoreVisibility=!1}),q=function(){var i=function(){function o(e){(0,_.Z)(this,o),this._platform=e}return(0,g.Z)(o,[{key:"isDisabled",value:function(t){return t.hasAttribute("disabled")}},{key:"isVisible",value:function(t){return function Le(i){return!!(i.offsetWidth||i.offsetHeight||"function"==typeof i.getClientRects&&i.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}},{key:"isTabbable",value:function(t){if(!this._platform.isBrowser)return!1;var n=function Pe(i){try{return i.frameElement}catch{return null}}(function Ue(i){return i.ownerDocument&&i.ownerDocument.defaultView||window}(t));if(n&&(-1===se(n)||!this.isVisible(n)))return!1;var s=t.nodeName.toLowerCase(),c=se(t);return t.hasAttribute("contenteditable")?-1!==c:!("iframe"===s||"object"===s||this._platform.WEBKIT&&this._platform.IOS&&!function Be(i){var o=i.nodeName.toLowerCase(),e="input"===o&&i.type;return"text"===e||"password"===e||"select"===o||"textarea"===o}(t))&&("audio"===s?!!t.hasAttribute("controls")&&-1!==c:"video"===s?-1!==c&&(null!==c||this._platform.FIREFOX||t.hasAttribute("controls")):t.tabIndex>=0)}},{key:"isFocusable",value:function(t,n){return function xe(i){return!function Fe(i){return function Se(i){return"input"==i.nodeName.toLowerCase()}(i)&&"hidden"==i.type}(i)&&(function Re(i){var o=i.nodeName.toLowerCase();return"input"===o||"select"===o||"button"===o||"textarea"===o}(i)||function we(i){return function Ze(i){return"a"==i.nodeName.toLowerCase()}(i)&&i.hasAttribute("href")}(i)||i.hasAttribute("contenteditable")||ie(i))}(t)&&!this.isDisabled(t)&&(n?.ignoreVisibility||this.isVisible(t))}}]),o}();return i.\u0275fac=function(e){return new(e||i)(a.\u0275\u0275inject(p.Platform))},i.\u0275prov=a.\u0275\u0275defineInjectable({token:i,factory:i.\u0275fac,providedIn:"root"}),i}();function ie(i){if(!i.hasAttribute("tabindex")||void 0===i.tabIndex)return!1;var o=i.getAttribute("tabindex");return!(!o||isNaN(parseInt(o,10)))}function se(i){if(!ie(i))return null;var o=parseInt(i.getAttribute("tabindex")||"",10);return isNaN(o)?-1:o}var ee=function(){function i(o,e,t,n){var s=this,c=arguments.length>4&&void 0!==arguments[4]&&arguments[4];(0,_.Z)(this,i),this._element=o,this._checker=e,this._ngZone=t,this._document=n,this._hasAttached=!1,this.startAnchorListener=function(){return s.focusLastTabbableElement()},this.endAnchorListener=function(){return s.focusFirstTabbableElement()},this._enabled=!0,c||this.attachAnchors()}return(0,g.Z)(i,[{key:"enabled",get:function(){return this._enabled},set:function(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}},{key:"destroy",value:function(){var e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),t&&(t.removeEventListener("focus",this.endAnchorListener),t.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}},{key:"attachAnchors",value:function(){var e=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular(function(){e._startAnchor||(e._startAnchor=e._createAnchor(),e._startAnchor.addEventListener("focus",e.startAnchorListener)),e._endAnchor||(e._endAnchor=e._createAnchor(),e._endAnchor.addEventListener("focus",e.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}},{key:"focusInitialElementWhenReady",value:function(e){var t=this;return new Promise(function(n){t._executeOnStable(function(){return n(t.focusInitialElement(e))})})}},{key:"focusFirstTabbableElementWhenReady",value:function(e){var t=this;return new Promise(function(n){t._executeOnStable(function(){return n(t.focusFirstTabbableElement(e))})})}},{key:"focusLastTabbableElementWhenReady",value:function(e){var t=this;return new Promise(function(n){t._executeOnStable(function(){return n(t.focusLastTabbableElement(e))})})}},{key:"_getRegionBoundary",value:function(e){var t=this._element.querySelectorAll("[cdk-focus-region-".concat(e,"], ")+"[cdkFocusRegion".concat(e,"], ")+"[cdk-focus-".concat(e,"]"));return"start"==e?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}},{key:"focusInitialElement",value:function(e){var t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(!this._checker.isFocusable(t)){var n=this._getFirstTabbableElement(t);return n?.focus(e),!!n}return t.focus(e),!0}return this.focusFirstTabbableElement(e)}},{key:"focusFirstTabbableElement",value:function(e){var t=this._getRegionBoundary("start");return t&&t.focus(e),!!t}},{key:"focusLastTabbableElement",value:function(e){var t=this._getRegionBoundary("end");return t&&t.focus(e),!!t}},{key:"hasAttached",value:function(){return this._hasAttached}},{key:"_getFirstTabbableElement",value:function(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;for(var t=e.children,n=0;n=0;n--){var s=t[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[n]):null;if(s)return s}return null}},{key:"_createAnchor",value:function(){var e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}},{key:"_toggleAnchorTabIndex",value:function(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}},{key:"toggleAnchors",value:function(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}},{key:"_executeOnStable",value:function(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe((0,k.q)(1)).subscribe(e)}}]),i}(),oe=function(){var i=function(){function o(e,t,n){(0,_.Z)(this,o),this._checker=e,this._ngZone=t,this._document=n}return(0,g.Z)(o,[{key:"create",value:function(t){return new ee(t,this._checker,this._ngZone,this._document,arguments.length>1&&void 0!==arguments[1]&&arguments[1])}}]),o}();return i.\u0275fac=function(e){return new(e||i)(a.\u0275\u0275inject(q),a.\u0275\u0275inject(a.NgZone),a.\u0275\u0275inject(M.DOCUMENT))},i.\u0275prov=a.\u0275\u0275defineInjectable({token:i,factory:i.\u0275fac,providedIn:"root"}),i}(),je=function(){var i=function(){function o(e,t,n){(0,_.Z)(this,o),this._elementRef=e,this._focusTrapFactory=t,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}return(0,g.Z)(o,[{key:"enabled",get:function(){return this.focusTrap.enabled},set:function(t){this.focusTrap.enabled=(0,x.coerceBooleanProperty)(t)}},{key:"autoCapture",get:function(){return this._autoCapture},set:function(t){this._autoCapture=(0,x.coerceBooleanProperty)(t)}},{key:"ngOnDestroy",value:function(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}},{key:"ngAfterContentInit",value:function(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}},{key:"ngDoCheck",value:function(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}},{key:"ngOnChanges",value:function(t){var n=t.autoCapture;n&&!n.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}},{key:"_captureFocus",value:function(){this._previouslyFocusedElement=(0,p._getFocusedElementPierceShadowDom)(),this.focusTrap.focusInitialElementWhenReady()}}]),o}();return i.\u0275fac=function(e){return new(e||i)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(oe),a.\u0275\u0275directiveInject(M.DOCUMENT))},i.\u0275dir=a.\u0275\u0275defineDirective({type:i,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[a.\u0275\u0275NgOnChangesFeature]}),i}(),ae=function(i){(0,h.Z)(e,i);var o=(0,f.Z)(e);function e(t,n,s,c,O,F,U){var Z;return(0,_.Z)(this,e),(Z=o.call(this,t,n,s,c,U.defer))._focusTrapManager=O,Z._inertStrategy=F,Z._focusTrapManager.register((0,u.Z)(Z)),Z}return(0,g.Z)(e,[{key:"enabled",get:function(){return this._enabled},set:function(n){this._enabled=n,this._enabled?this._focusTrapManager.register(this):this._focusTrapManager.deregister(this)}},{key:"destroy",value:function(){this._focusTrapManager.deregister(this),(0,d.Z)((0,l.Z)(e.prototype),"destroy",this).call(this)}},{key:"_enable",value:function(){this._inertStrategy.preventFocus(this),this.toggleAnchors(!0)}},{key:"_disable",value:function(){this._inertStrategy.allowFocus(this),this.toggleAnchors(!1)}}]),e}(ee),ue=new a.InjectionToken("FOCUS_TRAP_INERT_STRATEGY"),ce=function(){function i(){(0,_.Z)(this,i),this._listener=null}return(0,g.Z)(i,[{key:"preventFocus",value:function(e){var t=this;this._listener&&e._document.removeEventListener("focus",this._listener,!0),this._listener=function(n){return t._trapFocus(e,n)},e._ngZone.runOutsideAngular(function(){e._document.addEventListener("focus",t._listener,!0)})}},{key:"allowFocus",value:function(e){this._listener&&(e._document.removeEventListener("focus",this._listener,!0),this._listener=null)}},{key:"_trapFocus",value:function(e,t){var n,s=t.target,c=e._element;s&&!c.contains(s)&&(null===(n=s.closest)||void 0===n||!n.call(s,"div.cdk-overlay-pane"))&&setTimeout(function(){e.enabled&&!c.contains(e._document.activeElement)&&e.focusFirstTabbableElement()})}}]),i}(),Ke=function(){var i=function(){function o(){(0,_.Z)(this,o),this._focusTrapStack=[]}return(0,g.Z)(o,[{key:"register",value:function(t){this._focusTrapStack=this._focusTrapStack.filter(function(s){return s!==t});var n=this._focusTrapStack;n.length&&n[n.length-1]._disable(),n.push(t),t._enable()}},{key:"deregister",value:function(t){t._disable();var n=this._focusTrapStack,s=n.indexOf(t);-1!==s&&(n.splice(s,1),n.length&&n[n.length-1]._enable())}}]),o}();return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=a.\u0275\u0275defineInjectable({token:i,factory:i.\u0275fac,providedIn:"root"}),i}(),Ne=function(){var i=function(){function o(e,t,n,s,c){(0,_.Z)(this,o),this._checker=e,this._ngZone=t,this._focusTrapManager=n,this._document=s,this._inertStrategy=c||new ce}return(0,g.Z)(o,[{key:"create",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{defer:!1};return new ae(t,this._checker,this._ngZone,this._document,this._focusTrapManager,this._inertStrategy,"boolean"==typeof n?{defer:n}:n)}}]),o}();return i.\u0275fac=function(e){return new(e||i)(a.\u0275\u0275inject(q),a.\u0275\u0275inject(a.NgZone),a.\u0275\u0275inject(Ke),a.\u0275\u0275inject(M.DOCUMENT),a.\u0275\u0275inject(ue,8))},i.\u0275prov=a.\u0275\u0275defineInjectable({token:i,factory:i.\u0275fac,providedIn:"root"}),i}();function le(i){return 0===i.buttons||0===i.offsetX&&0===i.offsetY}function de(i){var o=i.touches&&i.touches[0]||i.changedTouches&&i.changedTouches[0];return!(!o||-1!==o.identifier||null!=o.radiusX&&1!==o.radiusX||null!=o.radiusY&&1!==o.radiusY)}var _e=new a.InjectionToken("cdk-input-modality-detector-options"),he={ignoreKeys:[I.ALT,I.CONTROL,I.MAC_META,I.META,I.SHIFT]},N=(0,p.normalizePassiveListenerOptions)({passive:!0,capture:!0}),ve=function(){var i=function(){function o(e,t,n,s){var c=this;(0,_.Z)(this,o),this._platform=e,this._mostRecentTarget=null,this._modality=new T.X(null),this._lastTouchMs=0,this._onKeydown=function(O){var F,U;null!==(F=c._options)&&void 0!==F&&null!==(U=F.ignoreKeys)&&void 0!==U&&U.some(function(Z){return Z===O.keyCode})||(c._modality.next("keyboard"),c._mostRecentTarget=(0,p._getEventTarget)(O))},this._onMousedown=function(O){Date.now()-c._lastTouchMs<650||(c._modality.next(le(O)?"keyboard":"mouse"),c._mostRecentTarget=(0,p._getEventTarget)(O))},this._onTouchstart=function(O){de(O)?c._modality.next("keyboard"):(c._lastTouchMs=Date.now(),c._modality.next("touch"),c._mostRecentTarget=(0,p._getEventTarget)(O))},this._options=(0,m.Z)((0,m.Z)({},he),s),this.modalityDetected=this._modality.pipe((0,S.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,D.x)()),e.isBrowser&&t.runOutsideAngular(function(){n.addEventListener("keydown",c._onKeydown,N),n.addEventListener("mousedown",c._onMousedown,N),n.addEventListener("touchstart",c._onTouchstart,N)})}return(0,g.Z)(o,[{key:"mostRecentModality",get:function(){return this._modality.value}},{key:"ngOnDestroy",value:function(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,N),document.removeEventListener("mousedown",this._onMousedown,N),document.removeEventListener("touchstart",this._onTouchstart,N))}}]),o}();return i.\u0275fac=function(e){return new(e||i)(a.\u0275\u0275inject(p.Platform),a.\u0275\u0275inject(a.NgZone),a.\u0275\u0275inject(M.DOCUMENT),a.\u0275\u0275inject(_e,8))},i.\u0275prov=a.\u0275\u0275defineInjectable({token:i,factory:i.\u0275fac,providedIn:"root"}),i}(),me=new a.InjectionToken("liveAnnouncerElement",{providedIn:"root",factory:ge});function ge(){return null}var ye=new a.InjectionToken("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),We=0,pe=function(){var i=function(){function o(e,t,n,s){(0,_.Z)(this,o),this._ngZone=t,this._defaultOptions=s,this._document=n,this._liveElement=e||this._createLiveElement()}return(0,g.Z)(o,[{key:"announce",value:function(t){for(var c,O,n=this,s=this._defaultOptions,F=arguments.length,U=new Array(F>1?F-1:0),Z=1;Z .cdk-overlay-container [aria-modal="true"]'),s=0;s1&&void 0!==arguments[1]&&arguments[1],s=(0,x.coerceElement)(t);if(!this._platform.isBrowser||1!==s.nodeType)return(0,L.of)(null);var c=(0,p._getShadowRoot)(s)||this._getDocument(),O=this._elementInfo.get(s);if(O)return n&&(O.checkChildren=!0),O.subject;var F={checkChildren:n,subject:new b.x,rootNode:c};return this._elementInfo.set(s,F),this._registerGlobalListeners(F),F.subject}},{key:"stopMonitoring",value:function(t){var n=(0,x.coerceElement)(t),s=this._elementInfo.get(n);s&&(s.subject.complete(),this._setClasses(n),this._elementInfo.delete(n),this._removeGlobalListeners(s))}},{key:"focusVia",value:function(t,n,s){var c=this,O=(0,x.coerceElement)(t);O===this._getDocument().activeElement?this._getClosestElementsInfo(O).forEach(function(U){var Z=(0,v.Z)(U,2);return c._originChanged(Z[0],n,Z[1])}):(this._setOrigin(n),"function"==typeof O.focus&&O.focus(s))}},{key:"ngOnDestroy",value:function(){var t=this;this._elementInfo.forEach(function(n,s){return t.stopMonitoring(s)})}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_getFocusOrigin",value:function(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:t&&this._isLastInteractionFromInputLabel(t)?"mouse":"program"}},{key:"_shouldBeAttributedToTouch",value:function(t){return 1===this._detectionMode||!(null==t||!t.contains(this._inputModalityDetector._mostRecentTarget))}},{key:"_setClasses",value:function(t,n){t.classList.toggle("cdk-focused",!!n),t.classList.toggle("cdk-touch-focused","touch"===n),t.classList.toggle("cdk-keyboard-focused","keyboard"===n),t.classList.toggle("cdk-mouse-focused","mouse"===n),t.classList.toggle("cdk-program-focused","program"===n)}},{key:"_setOrigin",value:function(t){var n=this,s=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this._ngZone.runOutsideAngular(function(){n._origin=t,n._originFromTouchInteraction="touch"===t&&s,0===n._detectionMode&&(clearTimeout(n._originTimeoutId),n._originTimeoutId=setTimeout(function(){return n._origin=null},n._originFromTouchInteraction?650:1))})}},{key:"_onFocus",value:function(t,n){var s=this._elementInfo.get(n),c=(0,p._getEventTarget)(t);!s||!s.checkChildren&&n!==c||this._originChanged(n,this._getFocusOrigin(c),s)}},{key:"_onBlur",value:function(t,n){var s=this._elementInfo.get(n);!s||s.checkChildren&&t.relatedTarget instanceof Node&&n.contains(t.relatedTarget)||(this._setClasses(n),this._emitOrigin(s,null))}},{key:"_emitOrigin",value:function(t,n){t.subject.observers.length&&this._ngZone.run(function(){return t.subject.next(n)})}},{key:"_registerGlobalListeners",value:function(t){var n=this;if(this._platform.isBrowser){var s=t.rootNode,c=this._rootNodeFocusListenerCount.get(s)||0;c||this._ngZone.runOutsideAngular(function(){s.addEventListener("focus",n._rootNodeFocusAndBlurListener,G),s.addEventListener("blur",n._rootNodeFocusAndBlurListener,G)}),this._rootNodeFocusListenerCount.set(s,c+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(function(){n._getWindow().addEventListener("focus",n._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,R.R)(this._stopInputModalityDetector)).subscribe(function(O){n._setOrigin(O,!0)}))}}},{key:"_removeGlobalListeners",value:function(t){var n=t.rootNode;if(this._rootNodeFocusListenerCount.has(n)){var s=this._rootNodeFocusListenerCount.get(n);s>1?this._rootNodeFocusListenerCount.set(n,s-1):(n.removeEventListener("focus",this._rootNodeFocusAndBlurListener,G),n.removeEventListener("blur",this._rootNodeFocusAndBlurListener,G),this._rootNodeFocusListenerCount.delete(n))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}},{key:"_originChanged",value:function(t,n,s){this._setClasses(t,n),this._emitOrigin(s,n),this._lastFocusOrigin=n}},{key:"_getClosestElementsInfo",value:function(t){var n=[];return this._elementInfo.forEach(function(s,c){(c===t||s.checkChildren&&c.contains(t))&&n.push([c,s])}),n}},{key:"_isLastInteractionFromInputLabel",value:function(t){var n=this._inputModalityDetector,s=n._mostRecentTarget;if("mouse"!==n.mostRecentModality||!s||s===t||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName||t.disabled)return!1;var O=t.labels;if(O)for(var F=0;F{function v(m,u){(null==u||u>m.length)&&(u=m.length);for(var d=0,l=new Array(u);dv})},8091:(P,y,r)=>{function v(m){if(Array.isArray(m))return m}r.d(y,{Z:()=>v})},35488:(P,y,r)=>{function v(m){if(void 0===m)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m}r.d(y,{Z:()=>v})},95106:(P,y,r)=>{r.d(y,{Z:()=>m});var v=r(44206);function m(u,d){var l=typeof Symbol<"u"&&u[Symbol.iterator]||u["@@iterator"];if(!l){if(Array.isArray(u)||(l=(0,v.Z)(u))||d&&u&&"number"==typeof u.length){l&&(u=l);var h=0,f=function(){};return{s:f,n:function(){return h>=u.length?{done:!0}:{done:!1,value:u[h++]}},e:function(p){throw p},f}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var M,_=!0,g=!1;return{s:function(){l=l.call(u)},n:function(){var p=l.next();return _=p.done,p},e:function(p){g=!0,M=p},f:function(){try{!_&&null!=l.return&&l.return()}finally{if(g)throw M}}}}},28694:(P,y,r)=>{r.d(y,{Z:()=>h});var v=r(20265),m=r(98568),u=r(43445),d=r(35488);function h(f){var _=(0,m.Z)();return function(){var a,M=(0,v.Z)(f);if(_){var p=(0,v.Z)(this).constructor;a=Reflect.construct(M,arguments,p)}else a=M.apply(this,arguments);return function l(f,_){if(_&&("object"===(0,u.Z)(_)||"function"==typeof _))return _;if(void 0!==_)throw new TypeError("Derived constructors may only return object or undefined");return(0,d.Z)(f)}(this,a)}}},77797:(P,y,r)=>{r.d(y,{Z:()=>m});var v=r(51299);function m(u,d,l){return(d=(0,v.Z)(d))in u?Object.defineProperty(u,d,{value:l,enumerable:!0,configurable:!0,writable:!0}):u[d]=l,u}},4089:(P,y,r)=>{r.d(y,{Z:()=>u});var v=r(20265);function u(){return u=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(l,h,f){var _=function m(d,l){for(;!Object.prototype.hasOwnProperty.call(d,l)&&null!==(d=(0,v.Z)(d)););return d}(l,h);if(_){var g=Object.getOwnPropertyDescriptor(_,h);return g.get?g.get.call(arguments.length<3?l:f):g.value}},u.apply(this,arguments)}},20265:(P,y,r)=>{function v(m){return(v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(d){return d.__proto__||Object.getPrototypeOf(d)})(m)}r.d(y,{Z:()=>v})},24582:(P,y,r)=>{r.d(y,{Z:()=>m});var v=r(10006);function m(u,d){if("function"!=typeof d&&null!==d)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(d&&d.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),d&&(0,v.Z)(u,d)}},98568:(P,y,r)=>{function v(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}r.d(y,{Z:()=>v})},4826:(P,y,r)=>{function v(m){if(typeof Symbol<"u"&&null!=m[Symbol.iterator]||null!=m["@@iterator"])return Array.from(m)}r.d(y,{Z:()=>v})},8217:(P,y,r)=>{function v(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}r.d(y,{Z:()=>v})},35603:(P,y,r)=>{r.d(y,{Z:()=>u});var v=r(77797);function m(d,l){var h=Object.keys(d);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(d);l&&(f=f.filter(function(_){return Object.getOwnPropertyDescriptor(d,_).enumerable})),h.push.apply(h,f)}return h}function u(d){for(var l=1;l{function v(m,u){return(v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,h){return l.__proto__=h,l})(m,u)}r.d(y,{Z:()=>v})},32090:(P,y,r)=>{r.d(y,{Z:()=>l});var v=r(8091),u=r(44206),d=r(8217);function l(h,f){return(0,v.Z)(h)||function m(h,f){var _=null==h?null:typeof Symbol<"u"&&h[Symbol.iterator]||h["@@iterator"];if(null!=_){var g,M,a,p,b=[],E=!0,T=!1;try{if(a=(_=_.call(h)).next,0===f){if(Object(_)!==_)return;E=!1}else for(;!(E=(g=a.call(_)).done)&&(b.push(g.value),b.length!==f);E=!0);}catch(L){T=!0,M=L}finally{try{if(!E&&null!=_.return&&(p=_.return(),Object(p)!==p))return}finally{if(T)throw M}}return b}}(h,f)||(0,u.Z)(h,f)||(0,d.Z)()}},86170:(P,y,r)=>{r.d(y,{Z:()=>h});var v=r(44841),u=r(4826),d=r(44206);function h(f){return function m(f){if(Array.isArray(f))return(0,v.Z)(f)}(f)||(0,u.Z)(f)||(0,d.Z)(f)||function l(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(P,y,r)=>{r.d(y,{Z:()=>m});var v=r(44841);function m(u,d){if(u){if("string"==typeof u)return(0,v.Z)(u,d);var l=Object.prototype.toString.call(u).slice(8,-1);if("Object"===l&&u.constructor&&(l=u.constructor.name),"Map"===l||"Set"===l)return Array.from(u);if("Arguments"===l||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return(0,v.Z)(u,d)}}}}]); +//# sourceMappingURL=1636.ea4ce1e9cfbc5c19.js.map \ No newline at end of file diff --git a/1636.ea4ce1e9cfbc5c19.js.map b/1636.ea4ce1e9cfbc5c19.js.map new file mode 100644 index 0000000..53d7e66 --- /dev/null +++ b/1636.ea4ce1e9cfbc5c19.js.map @@ -0,0 +1 @@ +{"version":3,"file":"1636.ea4ce1e9cfbc5c19.js","mappings":"+bACaA,EAAe,SAAAC,IAAAC,OAAAF,EAAAC,GAAA,IAAAE,KAAAC,KAAAJ,GACxB,SAAAA,EAAYK,GAAQ,IAAAC,EAAAC,cAAAC,KAAAR,IAChBM,EAAAH,EAAAM,KAAAD,OACKH,OAASA,EAAOC,CACzB,CAACI,cAAAV,EAAA,EAAAW,IAAA,QAAAC,IACD,WACI,OAAOJ,KAAKK,UAChB,GAAC,CAAAF,IAAA,aAAAG,MACD,SAAWC,GACP,IAAMC,KAAYC,QAAAC,KAAAlB,EAAAmB,WAAA,aAAAX,MAAAC,KAAAD,KAAoBO,GACtC,OAACC,EAAaI,QAAUL,EAAWM,KAAKb,KAAKH,QACtCW,CACX,GAAC,CAAAL,I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ktB,GAAAgF,MAAA,MAEA,GADA,WAAA9vB,GAAA8qB,EAAAgB,cAAA9rB,EAAA8qB,EAAAgB,YAAA/sB,MACA,QAAAiB,GAAA,QAAAA,EAAA,OAAAN,MAAAC,KAAAmrB,GACA,iBAAA9qB,GAAA,2CAAA+vB,KAAA/vB,GAAA,SAAsF6vB,EAAA5a,GAAgB6V,EAAA8E,EAAA,CACtG","names":["BehaviorSubject","_Subject","_inherits","_super","_createSuper","_value","_this","_classCallCheck","this","call","_createClass","key","get","getValue","value","subscriber","subscription","_get","_getPrototypeOf","prototype","closed","next","hasError","thrownError","_throwIfClosed","Subject","ObjectUnsubscribedError","createErrorClass","name","message","_Observable","currentObservers","observers","isStopped","operator","subject","AnonymousSubject","_this2","errorContext","Array","from","_step","_iterator","_createForOfIteratorHelper","s","n","done","err","e","f","_this3","length","shift","error","_this4","complete","_a","_checkFinalizedStatuses","_innerSubscribe","_this5","EMPTY_SUBSCRIPTION","push","Subscription","arrRemove","observable","Observable","source","create","destination","_super2","_this6","_b","subscribe","EMPTY","subscribeOn","scheduler","delay","arguments","undefined","operate","add","schedule","scheduleAsyncIterable","input","Error","executeSchedule","iterator","Symbol","asyncIterator","then","result","scheduled","isInteropObservable","scheduleObservable","innerFrom","pipe","observeOn","isArrayLike","scheduleArray","i","isPromise","schedulePromise","isAsyncIterable","isIterable","scheduleIterable","Symbol_iterator","_iterator$next","isFunction","return","isReadableStreamLike","scheduleReadableStreamLike","readableStreamLikeToAsyncGenerator","createInvalidObservableTypeError","of","_len","args","_key","popScheduler","createOperatorSubscriber","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_next","_assertThisInitialized","_error","unsubscribe","_complete","Subscriber","debounceTime","dueTime","asyncScheduler","activeTask","lastValue","lastTime","emit","emitWhenIdle","targetTime","now","distinctUntilChanged","comparator","keySelector","identity","defaultCompare","previousKey","first","currentKey","a","b","filter","predicate","thisArg","index","map","project","skip","count","_","take","seen","takeUntil","notifier","noop","tap","observerOrNext","tapObserver","isUnsub","finalize","Action","_Subscription","work","state","intervalProvider","setInterval","_setInterval","_x","_x2","apply","toString","handler","timeout","delegate","concat","clearInterval","_clearInterval","_x3","handle","AsyncAction","_Action","pending","id","recycleAsyncId","requestAsyncId","_id","flush","bind","_scheduler","_execute","_delay","errorValue","errored","actions","Scheduler","schedulerActionCtor","dateTimestampProvider","AsyncScheduler","_Scheduler","SchedulerAction","_active","action","execute","async","Date","last","arr","popResultSelector","pop","isScheduler","popNumber","defaultValue","parentSubscription","repeat","scheduleSubscription","hasLift","lift","init","liftedSource","TypeError","getAriaReferenceIds","el","attr","getAttribute","match","MESSAGES_CONTAINER_ID","CDK_DESCRIBEDBY_ID_PREFIX","CDK_DESCRIBEDBY_HOST_ATTRIBUTE","nextId","AriaDescriber","_document","_platform","_messageRegistry","Map","_messagesContainer","inject","APP_ID","hostElement","role","_canBeDescribed","getKey","setMessageId","set","messageElement","referenceCount","has","_createMessageElement","_isElementDescribedByMessage","_addMessageReference","_this$_messagesContai","_isElementNode","_removeMessageReference","registeredMessage","_deleteMessageElement","childNodes","remove","_this$_messagesContai2","describedElements","querySelectorAll","_removeCdkDescribedByReferenceIds","removeAttribute","clear","createElement","textContent","setAttribute","_createMessagesContainer","appendChild","_this$_messageRegistr","_this$_messageRegistr2","delete","containerClassName","serverContainers","messagesContainer","style","visibility","classList","isBrowser","body","element","originalReferenceIds","indexOf","join","addAriaReferencedId","ids","some","existingId","trim","removeAriaReferencedId","filteredIds","val","referenceIds","messageId","trimmedMessage","ariaLabel","nodeType","ELEMENT_NODE","ɵfac","t","i0","DOCUMENT","i1","ɵprov","token","factory","providedIn","serviceId","ListKeyManager","_items","_activeItemIndex","_activeItem","_wrap","_letterKeyStream","_typeaheadSubscription","_vertical","_allowedModifierKeys","_homeAndEnd","_pageUpAndDown","enabled","delta","_skipPredicateFn","item","disabled","_pressedLetters","tabOut","change","QueryList","_itemChangesSubscription","changes","newItems","newIndex","toArray","direction","_horizontal","keys","debounceInterval","letter","inputString","items","_getItemsArray","getLabel","toUpperCase","setActiveItem","previousActiveItem","updateActiveItem","event","keyCode","isModifierAllowed","every","modifier","TAB","DOWN_ARROW","setNextItemActive","UP_ARROW","setPreviousItemActive","RIGHT_ARROW","LEFT_ARROW","HOME","setFirstItemActive","END","setLastItemActive","PAGE_UP","targetIndex","_setActiveItemByIndex","PAGE_DOWN","itemsLength","hasModifierKey","toLocaleUpperCase","A","Z","ZERO","NINE","String","fromCharCode","preventDefault","_setActiveItemByDelta","itemArray","_this$_itemChangesSub","_setActiveInWrapMode","_setActiveInDefaultMode","fallbackDelta","ActiveDescendantKeyManager","_ListKeyManager","activeItem","setInactiveStyles","setActiveStyles","FocusKeyManager","_ListKeyManager2","_origin","origin","focus","IsFocusableConfig","ignoreVisibility","InteractivityChecker","hasAttribute","hasGeometry","offsetWidth","offsetHeight","getClientRects","getComputedStyle","frameElement","getFrameElement","window","getWindow","node","ownerDocument","defaultView","getTabIndexValue","isVisible","nodeName","toLowerCase","tabIndexValue","WEBKIT","IOS","isPotentiallyTabbableIOS","inputType","type","FIREFOX","tabIndex","config","isPotentiallyFocusable","isHiddenInput","isInputElement","isNativeFormElement","isAnchorWithHref","isAnchorElement","hasValidTabIndex","isDisabled","isNaN","parseInt","FocusTrap","_element","_checker","_ngZone","deferAnchors","_hasAttached","startAnchorListener","focusLastTabbableElement","endAnchorListener","focusFirstTabbableElement","_enabled","attachAnchors","_startAnchor","_endAnchor","_toggleAnchorTabIndex","startAnchor","endAnchor","removeEventListener","runOutsideAngular","_createAnchor","addEventListener","parentNode","insertBefore","nextSibling","options","_this7","Promise","resolve","_executeOnStable","focusInitialElement","_this8","_this9","bound","markers","_getFirstTabbableElement","_getLastTabbableElement","redirectToElement","querySelector","isFocusable","focusableChild","_getRegionBoundary","root","isTabbable","children","tabbableChild","anchor","isEnabled","fn","isStable","onStable","FocusTrapFactory","CdkTrapFocus","_elementRef","_focusTrapFactory","_previouslyFocusedElement","focusTrap","nativeElement","coerceBooleanProperty","_autoCapture","destroy","autoCapture","_captureFocus","hasAttached","autoCaptureChange","firstChange","_getFocusedElementPierceShadowDom","focusInitialElementWhenReady","ɵdir","selectors","inputs","exportAs","features","ConfigurableFocusTrap","_FocusTrap","_super3","_focusTrapManager","_inertStrategy","_this10","defer","register","deregister","preventFocus","toggleAnchors","allowFocus","FOCUS_TRAP_INERT_STRATEGY","InjectionToken","EventListenerFocusTrapInertStrategy","_listener","_this11","_trapFocus","_target$closest","target","focusTrapRoot","contains","closest","setTimeout","activeElement","FocusTrapManager","_focusTrapStack","ft","stack","_disable","_enable","splice","ConfigurableFocusTrapFactory","isFakeMousedownFromScreenReader","buttons","offsetX","offsetY","isFakeTouchstartFromScreenReader","touch","touches","changedTouches","identifier","radiusX","radiusY","INPUT_MODALITY_DETECTOR_OPTIONS","INPUT_MODALITY_DETECTOR_DEFAULT_OPTIONS","ignoreKeys","ALT","CONTROL","MAC_META","META","SHIFT","modalityEventListenerOptions","normalizePassiveListenerOptions","passive","capture","InputModalityDetector","ngZone","document","_this12","_mostRecentTarget","_modality","_lastTouchMs","_onKeydown","_this12$_options","_this12$_options$igno","_options","_getEventTarget","_onMousedown","_onTouchstart","_objectSpread","modalityDetected","modalityChanged","LIVE_ANNOUNCER_ELEMENT_TOKEN","LIVE_ANNOUNCER_ELEMENT_TOKEN_FACTORY","LIVE_ANNOUNCER_DEFAULT_OPTIONS","uniqueIds","LiveAnnouncer","elementToken","_defaultOptions","_liveElement","_createLiveElement","politeness","duration","_this13","defaultOptions","clearTimeout","_previousTimeout","_exposeAnnouncerToModals","_currentPromise","_currentResolve","_this$_liveElement","_this$_currentResolve","elementClass","previousElements","getElementsByClassName","liveEl","modals","modal","ariaOwns","CdkAriaLive","_liveAnnouncer","_contentObserver","_politeness","_this14","_subscription","observe","elementText","_previousAnnouncedText","announce","i1$1","FOCUS_MONITOR_DEFAULT_OPTIONS","captureEventListenerOptions","FocusMonitor","_inputModalityDetector","_this15","_windowFocused","_originFromTouchInteraction","_elementInfo","_monitoredElementCount","_rootNodeFocusListenerCount","_windowFocusListener","_windowFocusTimeoutId","_stopInputModalityDetector","_rootNodeFocusAndBlurListener","parentElement","_onFocus","_onBlur","_detectionMode","detectionMode","checkChildren","coerceElement","rootNode","_getShadowRoot","_getDocument","cachedInfo","info","_registerGlobalListeners","elementInfo","_setClasses","_removeGlobalListeners","_this16","_getClosestElementsInfo","forEach","_ref","_ref2","_slicedToArray","_originChanged","_setOrigin","_this17","_info","stopMonitoring","focusEventTarget","_shouldBeAttributedToTouch","_lastFocusOrigin","_isLastInteractionFromInputLabel","toggle","_this18","isFromInteraction","_originTimeoutId","_getFocusOrigin","relatedTarget","Node","_emitOrigin","run","_this19","rootNodeFocusListeners","_getWindow","modality","results","currentElement","_this$_inputModalityD","mostRecentTarget","mostRecentModality","labels","CdkMonitorFocus","_focusMonitor","_focusOrigin","cdkFocusChange","EventEmitter","_this20","_monitorSubscription","monitor","outputs","BLACK_ON_WHITE_CSS_CLASS","WHITE_ON_BLACK_CSS_CLASS","HIGH_CONTRAST_MODE_ACTIVE_CSS_CLASS","HighContrastModeDetector","_this21","_breakpointSubscription","BreakpointObserver","_hasCheckedHighContrastMode","_applyBodyHighContrastModeCssClasses","testElement","backgroundColor","position","documentWindow","computedStyle","computedColor","replace","bodyClasses","mode","getHighContrastMode","A11yModule","highContrastModeDetector","ɵmod","ɵinj","imports","ObserversModule","_arrayLikeToArray","len","arr2","_arrayWithHoles","isArray","self","ReferenceError","o","allowArrayLike","it","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","F","_e","normalCompletion","didErr","step","_e2","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Super","getPrototypeOf","NewTarget","constructor","Reflect","construct","_possibleConstructorReturn","esm_typeof","assertThisInitialized","_defineProperty","obj","_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__","Object","defineProperty","enumerable","configurable","writable","property","receiver","base","_superPropBase","object","hasOwnProperty","desc","getOwnPropertyDescriptor","setPrototypeOf","__proto__","subClass","superClass","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_iterableToArray","iter","_nonIterableRest","ownKeys","enumerableOnly","getOwnPropertySymbols","symbols","sym","_objectSpread2","_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__","getOwnPropertyDescriptors","defineProperties","_setPrototypeOf","p","arrayWithHoles","_iterableToArrayLimit","_i","_s","_r","_arr","_n","_d","unsupportedIterableToArray","nonIterableRest","_toConsumableArray","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","slice","test"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/BehaviorSubject.js","./node_modules/rxjs/dist/esm/internal/util/ObjectUnsubscribedError.js","./node_modules/rxjs/dist/esm/internal/Subject.js","./node_modules/rxjs/dist/esm/internal/observable/empty.js","./node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleAsyncIterable.js","./node_modules/rxjs/dist/esm/internal/observable/from.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduled.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleObservable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleArray.js","./node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleIterable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleReadableStreamLike.js","./node_modules/rxjs/dist/esm/internal/observable/of.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/debounceTime.js","./node_modules/rxjs/dist/esm/internal/operators/distinctUntilChanged.js","./node_modules/rxjs/dist/esm/internal/operators/filter.js","./node_modules/rxjs/dist/esm/internal/operators/map.js","./node_modules/rxjs/dist/esm/internal/operators/observeOn.js","./node_modules/rxjs/dist/esm/internal/operators/skip.js","./node_modules/rxjs/dist/esm/internal/operators/take.js","./node_modules/rxjs/dist/esm/internal/operators/takeUntil.js","./node_modules/rxjs/dist/esm/internal/operators/tap.js","./node_modules/rxjs/dist/esm/internal/scheduler/Action.js","./node_modules/rxjs/dist/esm/internal/scheduler/intervalProvider.js","./node_modules/rxjs/dist/esm/internal/scheduler/AsyncAction.js","./node_modules/rxjs/dist/esm/internal/Scheduler.js","./node_modules/rxjs/dist/esm/internal/scheduler/AsyncScheduler.js","./node_modules/rxjs/dist/esm/internal/scheduler/async.js","./node_modules/rxjs/dist/esm/internal/scheduler/dateTimestampProvider.js","./node_modules/rxjs/dist/esm/internal/util/args.js","./node_modules/rxjs/dist/esm/internal/util/executeSchedule.js","./node_modules/rxjs/dist/esm/internal/util/isScheduler.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/@angular/cdk/fesm2022/a11y.mjs","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/defineProperty.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","./node_modules/@babel/runtime/helpers/esm/objectSpread2.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/slicedToArray.js","./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { Subject } from './Subject';\nexport class BehaviorSubject extends Subject {\n constructor(_value) {\n super();\n this._value = _value;\n }\n get value() {\n return this.getValue();\n }\n _subscribe(subscriber) {\n const subscription = super._subscribe(subscriber);\n !subscription.closed && subscriber.next(this._value);\n return subscription;\n }\n getValue() {\n const { hasError, thrownError, _value } = this;\n if (hasError) {\n throw thrownError;\n }\n this._throwIfClosed();\n return _value;\n }\n next(value) {\n super.next((this._value = value));\n }\n}\n","import { createErrorClass } from './createErrorClass';\nexport const ObjectUnsubscribedError = createErrorClass((_super) => function ObjectUnsubscribedErrorImpl() {\n _super(this);\n this.name = 'ObjectUnsubscribedError';\n this.message = 'object unsubscribed';\n});\n","import { Observable } from './Observable';\nimport { Subscription, EMPTY_SUBSCRIPTION } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { arrRemove } from './util/arrRemove';\nimport { errorContext } from './util/errorContext';\nexport class Subject extends Observable {\n constructor() {\n super();\n this.closed = false;\n this.currentObservers = null;\n this.observers = [];\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n lift(operator) {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n }\n _throwIfClosed() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n }\n next(value) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n if (!this.currentObservers) {\n this.currentObservers = Array.from(this.observers);\n }\n for (const observer of this.currentObservers) {\n observer.next(value);\n }\n }\n });\n }\n error(err) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.hasError = this.isStopped = true;\n this.thrownError = err;\n const { observers } = this;\n while (observers.length) {\n observers.shift().error(err);\n }\n }\n });\n }\n complete() {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.isStopped = true;\n const { observers } = this;\n while (observers.length) {\n observers.shift().complete();\n }\n }\n });\n }\n unsubscribe() {\n this.isStopped = this.closed = true;\n this.observers = this.currentObservers = null;\n }\n get observed() {\n var _a;\n return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;\n }\n _trySubscribe(subscriber) {\n this._throwIfClosed();\n return super._trySubscribe(subscriber);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._checkFinalizedStatuses(subscriber);\n return this._innerSubscribe(subscriber);\n }\n _innerSubscribe(subscriber) {\n const { hasError, isStopped, observers } = this;\n if (hasError || isStopped) {\n return EMPTY_SUBSCRIPTION;\n }\n this.currentObservers = null;\n observers.push(subscriber);\n return new Subscription(() => {\n this.currentObservers = null;\n arrRemove(observers, subscriber);\n });\n }\n _checkFinalizedStatuses(subscriber) {\n const { hasError, thrownError, isStopped } = this;\n if (hasError) {\n subscriber.error(thrownError);\n }\n else if (isStopped) {\n subscriber.complete();\n }\n }\n asObservable() {\n const observable = new Observable();\n observable.source = this;\n return observable;\n }\n}\nSubject.create = (destination, source) => {\n return new AnonymousSubject(destination, source);\n};\nexport class AnonymousSubject extends Subject {\n constructor(destination, source) {\n super();\n this.destination = destination;\n this.source = source;\n }\n next(value) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);\n }\n error(err) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);\n }\n complete() {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);\n }\n _subscribe(subscriber) {\n var _a, _b;\n return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;\n }\n}\n","import { Observable } from '../Observable';\nexport const EMPTY = new Observable((subscriber) => subscriber.complete());\nexport function empty(scheduler) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n return new Observable((subscriber) => scheduler.schedule(() => subscriber.complete()));\n}\n","import { operate } from '../util/lift';\nexport function subscribeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay));\n });\n}\n","import { Observable } from '../Observable';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleAsyncIterable(input, scheduler) {\n if (!input) {\n throw new Error('Iterable cannot be null');\n }\n return new Observable((subscriber) => {\n executeSchedule(subscriber, scheduler, () => {\n const iterator = input[Symbol.asyncIterator]();\n executeSchedule(subscriber, scheduler, () => {\n iterator.next().then((result) => {\n if (result.done) {\n subscriber.complete();\n }\n else {\n subscriber.next(result.value);\n }\n });\n }, 0, true);\n });\n });\n}\n","import { scheduled } from '../scheduled/scheduled';\nimport { innerFrom } from './innerFrom';\nexport function from(input, scheduler) {\n return scheduler ? scheduled(input, scheduler) : innerFrom(input);\n}\n","import { scheduleObservable } from './scheduleObservable';\nimport { schedulePromise } from './schedulePromise';\nimport { scheduleArray } from './scheduleArray';\nimport { scheduleIterable } from './scheduleIterable';\nimport { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isPromise } from '../util/isPromise';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isIterable } from '../util/isIterable';\nimport { isAsyncIterable } from '../util/isAsyncIterable';\nimport { createInvalidObservableTypeError } from '../util/throwUnobservableError';\nimport { isReadableStreamLike } from '../util/isReadableStreamLike';\nimport { scheduleReadableStreamLike } from './scheduleReadableStreamLike';\nexport function scheduled(input, scheduler) {\n if (input != null) {\n if (isInteropObservable(input)) {\n return scheduleObservable(input, scheduler);\n }\n if (isArrayLike(input)) {\n return scheduleArray(input, scheduler);\n }\n if (isPromise(input)) {\n return schedulePromise(input, scheduler);\n }\n if (isAsyncIterable(input)) {\n return scheduleAsyncIterable(input, scheduler);\n }\n if (isIterable(input)) {\n return scheduleIterable(input, scheduler);\n }\n if (isReadableStreamLike(input)) {\n return scheduleReadableStreamLike(input, scheduler);\n }\n }\n throw createInvalidObservableTypeError(input);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function scheduleObservable(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nexport function scheduleArray(input, scheduler) {\n return new Observable((subscriber) => {\n let i = 0;\n return scheduler.schedule(function () {\n if (i === input.length) {\n subscriber.complete();\n }\n else {\n subscriber.next(input[i++]);\n if (!subscriber.closed) {\n this.schedule();\n }\n }\n });\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function schedulePromise(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from '../util/isFunction';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleIterable(input, scheduler) {\n return new Observable((subscriber) => {\n let iterator;\n executeSchedule(subscriber, scheduler, () => {\n iterator = input[Symbol_iterator]();\n executeSchedule(subscriber, scheduler, () => {\n let value;\n let done;\n try {\n ({ value, done } = iterator.next());\n }\n catch (err) {\n subscriber.error(err);\n return;\n }\n if (done) {\n subscriber.complete();\n }\n else {\n subscriber.next(value);\n }\n }, 0, true);\n });\n return () => isFunction(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return();\n });\n}\n","import { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { readableStreamLikeToAsyncGenerator } from '../util/isReadableStreamLike';\nexport function scheduleReadableStreamLike(input, scheduler) {\n return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);\n}\n","import { popScheduler } from '../util/args';\nimport { from } from './from';\nexport function of(...args) {\n const scheduler = popScheduler(args);\n return from(args, scheduler);\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","import { asyncScheduler } from '../scheduler/async';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function debounceTime(dueTime, scheduler = asyncScheduler) {\n return operate((source, subscriber) => {\n let activeTask = null;\n let lastValue = null;\n let lastTime = null;\n const emit = () => {\n if (activeTask) {\n activeTask.unsubscribe();\n activeTask = null;\n const value = lastValue;\n lastValue = null;\n subscriber.next(value);\n }\n };\n function emitWhenIdle() {\n const targetTime = lastTime + dueTime;\n const now = scheduler.now();\n if (now < targetTime) {\n activeTask = this.schedule(undefined, targetTime - now);\n subscriber.add(activeTask);\n return;\n }\n emit();\n }\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n lastValue = value;\n lastTime = scheduler.now();\n if (!activeTask) {\n activeTask = scheduler.schedule(emitWhenIdle, dueTime);\n subscriber.add(activeTask);\n }\n }, () => {\n emit();\n subscriber.complete();\n }, undefined, () => {\n lastValue = activeTask = null;\n }));\n });\n}\n","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 if (first || !comparator(previousKey, currentKey)) {\n first = false;\n previousKey = currentKey;\n subscriber.next(value);\n }\n }));\n });\n}\nfunction defaultCompare(a, b) {\n return a === b;\n}\n","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}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function map(project, thisArg) {\n return operate((source, subscriber) => {\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n subscriber.next(project.call(thisArg, value, index++));\n }));\n });\n}\n","import { executeSchedule } from '../util/executeSchedule';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function observeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, (value) => executeSchedule(subscriber, scheduler, () => subscriber.next(value), delay), () => executeSchedule(subscriber, scheduler, () => subscriber.complete(), delay), (err) => executeSchedule(subscriber, scheduler, () => subscriber.error(err), delay)));\n });\n}\n","import { filter } from './filter';\nexport function skip(count) {\n return filter((_, index) => count <= index);\n}\n","import { EMPTY } from '../observable/empty';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function take(count) {\n return count <= 0\n ?\n () => EMPTY\n : operate((source, subscriber) => {\n let seen = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n if (++seen <= count) {\n subscriber.next(value);\n if (count <= seen) {\n subscriber.complete();\n }\n }\n }));\n });\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { innerFrom } from '../observable/innerFrom';\nimport { noop } from '../util/noop';\nexport function takeUntil(notifier) {\n return operate((source, subscriber) => {\n innerFrom(notifier).subscribe(createOperatorSubscriber(subscriber, () => subscriber.complete(), noop));\n !subscriber.closed && source.subscribe(subscriber);\n });\n}\n","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 ?\n { next: observerOrNext, error, complete }\n : observerOrNext;\n return tapObserver\n ? operate((source, subscriber) => {\n var _a;\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 (_a = tapObserver.next) === null || _a === void 0 ? void 0 : _a.call(tapObserver, value);\n subscriber.next(value);\n }, () => {\n var _a;\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 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 if (isUnsub) {\n (_a = tapObserver.unsubscribe) === null || _a === void 0 ? void 0 : _a.call(tapObserver);\n }\n (_b = tapObserver.finalize) === null || _b === void 0 ? void 0 : _b.call(tapObserver);\n }));\n })\n :\n identity;\n}\n","import { Subscription } from '../Subscription';\nexport class Action extends Subscription {\n constructor(scheduler, work) {\n super();\n }\n schedule(state, delay = 0) {\n return this;\n }\n}\n","export const intervalProvider = {\n setInterval(handler, timeout, ...args) {\n const { delegate } = intervalProvider;\n if (delegate === null || delegate === void 0 ? void 0 : delegate.setInterval) {\n return delegate.setInterval(handler, timeout, ...args);\n }\n return setInterval(handler, timeout, ...args);\n },\n clearInterval(handle) {\n const { delegate } = intervalProvider;\n return ((delegate === null || delegate === void 0 ? void 0 : delegate.clearInterval) || clearInterval)(handle);\n },\n delegate: undefined,\n};\n","import { Action } from './Action';\nimport { intervalProvider } from './intervalProvider';\nimport { arrRemove } from '../util/arrRemove';\nexport class AsyncAction extends Action {\n constructor(scheduler, work) {\n super(scheduler, work);\n this.scheduler = scheduler;\n this.work = work;\n this.pending = false;\n }\n schedule(state, delay = 0) {\n var _a;\n if (this.closed) {\n return this;\n }\n this.state = state;\n const id = this.id;\n const scheduler = this.scheduler;\n if (id != null) {\n this.id = this.recycleAsyncId(scheduler, id, delay);\n }\n this.pending = true;\n this.delay = delay;\n this.id = (_a = this.id) !== null && _a !== void 0 ? _a : this.requestAsyncId(scheduler, this.id, delay);\n return this;\n }\n requestAsyncId(scheduler, _id, delay = 0) {\n return intervalProvider.setInterval(scheduler.flush.bind(scheduler, this), delay);\n }\n recycleAsyncId(_scheduler, id, delay = 0) {\n if (delay != null && this.delay === delay && this.pending === false) {\n return id;\n }\n if (id != null) {\n intervalProvider.clearInterval(id);\n }\n return undefined;\n }\n execute(state, delay) {\n if (this.closed) {\n return new Error('executing a cancelled action');\n }\n this.pending = false;\n const error = this._execute(state, delay);\n if (error) {\n return error;\n }\n else if (this.pending === false && this.id != null) {\n this.id = this.recycleAsyncId(this.scheduler, this.id, null);\n }\n }\n _execute(state, _delay) {\n let errored = false;\n let errorValue;\n try {\n this.work(state);\n }\n catch (e) {\n errored = true;\n errorValue = e ? e : new Error('Scheduled action threw falsy error');\n }\n if (errored) {\n this.unsubscribe();\n return errorValue;\n }\n }\n unsubscribe() {\n if (!this.closed) {\n const { id, scheduler } = this;\n const { actions } = scheduler;\n this.work = this.state = this.scheduler = null;\n this.pending = false;\n arrRemove(actions, this);\n if (id != null) {\n this.id = this.recycleAsyncId(scheduler, id, null);\n }\n this.delay = null;\n super.unsubscribe();\n }\n }\n}\n","import { dateTimestampProvider } from './scheduler/dateTimestampProvider';\nexport class Scheduler {\n constructor(schedulerActionCtor, now = Scheduler.now) {\n this.schedulerActionCtor = schedulerActionCtor;\n this.now = now;\n }\n schedule(work, delay = 0, state) {\n return new this.schedulerActionCtor(this, work).schedule(state, delay);\n }\n}\nScheduler.now = dateTimestampProvider.now;\n","import { Scheduler } from '../Scheduler';\nexport class AsyncScheduler extends Scheduler {\n constructor(SchedulerAction, now = Scheduler.now) {\n super(SchedulerAction, now);\n this.actions = [];\n this._active = false;\n }\n flush(action) {\n const { actions } = this;\n if (this._active) {\n actions.push(action);\n return;\n }\n let error;\n this._active = true;\n do {\n if ((error = action.execute(action.state, action.delay))) {\n break;\n }\n } while ((action = actions.shift()));\n this._active = false;\n if (error) {\n while ((action = actions.shift())) {\n action.unsubscribe();\n }\n throw error;\n }\n }\n}\n","import { AsyncAction } from './AsyncAction';\nimport { AsyncScheduler } from './AsyncScheduler';\nexport const asyncScheduler = new AsyncScheduler(AsyncAction);\nexport const async = asyncScheduler;\n","export const dateTimestampProvider = {\n now() {\n return (dateTimestampProvider.delegate || Date).now();\n },\n delegate: undefined,\n};\n","import { isFunction } from './isFunction';\nimport { isScheduler } from './isScheduler';\nfunction last(arr) {\n return arr[arr.length - 1];\n}\nexport function popResultSelector(args) {\n return isFunction(last(args)) ? args.pop() : undefined;\n}\nexport function popScheduler(args) {\n return isScheduler(last(args)) ? args.pop() : undefined;\n}\nexport function popNumber(args, defaultValue) {\n return typeof last(args) === 'number' ? args.pop() : defaultValue;\n}\n","export function executeSchedule(parentSubscription, scheduler, work, delay = 0, repeat = false) {\n const scheduleSubscription = scheduler.schedule(function () {\n work();\n if (repeat) {\n parentSubscription.add(this.schedule(null, delay));\n }\n else {\n this.unsubscribe();\n }\n }, delay);\n parentSubscription.add(scheduleSubscription);\n if (!repeat) {\n return scheduleSubscription;\n }\n}\n","import { isFunction } from './isFunction';\nexport function isScheduler(value) {\n return value && isFunction(value.schedule);\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","import { DOCUMENT } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { inject, APP_ID, Injectable, Inject, QueryList, Directive, Input, InjectionToken, Optional, EventEmitter, Output, NgModule } from '@angular/core';\nimport * as i1 from '@angular/cdk/platform';\nimport { _getFocusedElementPierceShadowDom, normalizePassiveListenerOptions, _getEventTarget, _getShadowRoot } from '@angular/cdk/platform';\nimport { Subject, Subscription, BehaviorSubject, of } from 'rxjs';\nimport { hasModifierKey, A, Z, ZERO, NINE, PAGE_DOWN, PAGE_UP, END, HOME, LEFT_ARROW, RIGHT_ARROW, UP_ARROW, DOWN_ARROW, TAB, ALT, CONTROL, MAC_META, META, SHIFT } from '@angular/cdk/keycodes';\nimport { tap, debounceTime, filter, map, take, skip, distinctUntilChanged, takeUntil } from 'rxjs/operators';\nimport { coerceBooleanProperty, coerceElement } from '@angular/cdk/coercion';\nimport * as i1$1 from '@angular/cdk/observers';\nimport { ObserversModule } from '@angular/cdk/observers';\nimport { BreakpointObserver } from '@angular/cdk/layout';\n\n/** IDs are delimited by an empty space, as per the spec. */\nconst ID_DELIMITER = ' ';\n/**\n * Adds the given ID to the specified ARIA attribute on an element.\n * Used for attributes such as aria-labelledby, aria-owns, etc.\n */\nfunction addAriaReferencedId(el, attr, id) {\n const ids = getAriaReferenceIds(el, attr);\n if (ids.some(existingId => existingId.trim() == id.trim())) {\n return;\n }\n ids.push(id.trim());\n el.setAttribute(attr, ids.join(ID_DELIMITER));\n}\n/**\n * Removes the given ID from the specified ARIA attribute on an element.\n * Used for attributes such as aria-labelledby, aria-owns, etc.\n */\nfunction removeAriaReferencedId(el, attr, id) {\n const ids = getAriaReferenceIds(el, attr);\n const filteredIds = ids.filter(val => val != id.trim());\n if (filteredIds.length) {\n el.setAttribute(attr, filteredIds.join(ID_DELIMITER));\n }\n else {\n el.removeAttribute(attr);\n }\n}\n/**\n * Gets the list of IDs referenced by the given ARIA attribute on an element.\n * Used for attributes such as aria-labelledby, aria-owns, etc.\n */\nfunction getAriaReferenceIds(el, attr) {\n // Get string array of all individual ids (whitespace delimited) in the attribute value\n return (el.getAttribute(attr) || '').match(/\\S+/g) || [];\n}\n\n/**\n * ID used for the body container where all messages are appended.\n * @deprecated No longer being used. To be removed.\n * @breaking-change 14.0.0\n */\nconst MESSAGES_CONTAINER_ID = 'cdk-describedby-message-container';\n/**\n * ID prefix used for each created message element.\n * @deprecated To be turned into a private variable.\n * @breaking-change 14.0.0\n */\nconst CDK_DESCRIBEDBY_ID_PREFIX = 'cdk-describedby-message';\n/**\n * Attribute given to each host element that is described by a message element.\n * @deprecated To be turned into a private variable.\n * @breaking-change 14.0.0\n */\nconst CDK_DESCRIBEDBY_HOST_ATTRIBUTE = 'cdk-describedby-host';\n/** Global incremental identifier for each registered message element. */\nlet nextId = 0;\n/**\n * Utility that creates visually hidden elements with a message content. Useful for elements that\n * want to use aria-describedby to further describe themselves without adding additional visual\n * content.\n */\nclass AriaDescriber {\n constructor(_document, \n /**\n * @deprecated To be turned into a required parameter.\n * @breaking-change 14.0.0\n */\n _platform) {\n this._platform = _platform;\n /** Map of all registered message elements that have been placed into the document. */\n this._messageRegistry = new Map();\n /** Container for all registered messages. */\n this._messagesContainer = null;\n /** Unique ID for the service. */\n this._id = `${nextId++}`;\n this._document = _document;\n this._id = inject(APP_ID) + '-' + nextId++;\n }\n describe(hostElement, message, role) {\n if (!this._canBeDescribed(hostElement, message)) {\n return;\n }\n const key = getKey(message, role);\n if (typeof message !== 'string') {\n // We need to ensure that the element has an ID.\n setMessageId(message, this._id);\n this._messageRegistry.set(key, { messageElement: message, referenceCount: 0 });\n }\n else if (!this._messageRegistry.has(key)) {\n this._createMessageElement(message, role);\n }\n if (!this._isElementDescribedByMessage(hostElement, key)) {\n this._addMessageReference(hostElement, key);\n }\n }\n removeDescription(hostElement, message, role) {\n if (!message || !this._isElementNode(hostElement)) {\n return;\n }\n const key = getKey(message, role);\n if (this._isElementDescribedByMessage(hostElement, key)) {\n this._removeMessageReference(hostElement, key);\n }\n // If the message is a string, it means that it's one that we created for the\n // consumer so we can remove it safely, otherwise we should leave it in place.\n if (typeof message === 'string') {\n const registeredMessage = this._messageRegistry.get(key);\n if (registeredMessage && registeredMessage.referenceCount === 0) {\n this._deleteMessageElement(key);\n }\n }\n if (this._messagesContainer?.childNodes.length === 0) {\n this._messagesContainer.remove();\n this._messagesContainer = null;\n }\n }\n /** Unregisters all created message elements and removes the message container. */\n ngOnDestroy() {\n const describedElements = this._document.querySelectorAll(`[${CDK_DESCRIBEDBY_HOST_ATTRIBUTE}=\"${this._id}\"]`);\n for (let i = 0; i < describedElements.length; i++) {\n this._removeCdkDescribedByReferenceIds(describedElements[i]);\n describedElements[i].removeAttribute(CDK_DESCRIBEDBY_HOST_ATTRIBUTE);\n }\n this._messagesContainer?.remove();\n this._messagesContainer = null;\n this._messageRegistry.clear();\n }\n /**\n * Creates a new element in the visually hidden message container element with the message\n * as its content and adds it to the message registry.\n */\n _createMessageElement(message, role) {\n const messageElement = this._document.createElement('div');\n setMessageId(messageElement, this._id);\n messageElement.textContent = message;\n if (role) {\n messageElement.setAttribute('role', role);\n }\n this._createMessagesContainer();\n this._messagesContainer.appendChild(messageElement);\n this._messageRegistry.set(getKey(message, role), { messageElement, referenceCount: 0 });\n }\n /** Deletes the message element from the global messages container. */\n _deleteMessageElement(key) {\n this._messageRegistry.get(key)?.messageElement?.remove();\n this._messageRegistry.delete(key);\n }\n /** Creates the global container for all aria-describedby messages. */\n _createMessagesContainer() {\n if (this._messagesContainer) {\n return;\n }\n const containerClassName = 'cdk-describedby-message-container';\n const serverContainers = this._document.querySelectorAll(`.${containerClassName}[platform=\"server\"]`);\n for (let i = 0; i < serverContainers.length; i++) {\n // When going from the server to the client, we may end up in a situation where there's\n // already a container on the page, but we don't have a reference to it. Clear the\n // old container so we don't get duplicates. Doing this, instead of emptying the previous\n // container, should be slightly faster.\n serverContainers[i].remove();\n }\n const messagesContainer = this._document.createElement('div');\n // We add `visibility: hidden` in order to prevent text in this container from\n // being searchable by the browser's Ctrl + F functionality.\n // Screen-readers will still read the description for elements with aria-describedby even\n // when the description element is not visible.\n messagesContainer.style.visibility = 'hidden';\n // Even though we use `visibility: hidden`, we still apply `cdk-visually-hidden` so that\n // the description element doesn't impact page layout.\n messagesContainer.classList.add(containerClassName);\n messagesContainer.classList.add('cdk-visually-hidden');\n // @breaking-change 14.0.0 Remove null check for `_platform`.\n if (this._platform && !this._platform.isBrowser) {\n messagesContainer.setAttribute('platform', 'server');\n }\n this._document.body.appendChild(messagesContainer);\n this._messagesContainer = messagesContainer;\n }\n /** Removes all cdk-describedby messages that are hosted through the element. */\n _removeCdkDescribedByReferenceIds(element) {\n // Remove all aria-describedby reference IDs that are prefixed by CDK_DESCRIBEDBY_ID_PREFIX\n const originalReferenceIds = getAriaReferenceIds(element, 'aria-describedby').filter(id => id.indexOf(CDK_DESCRIBEDBY_ID_PREFIX) != 0);\n element.setAttribute('aria-describedby', originalReferenceIds.join(' '));\n }\n /**\n * Adds a message reference to the element using aria-describedby and increments the registered\n * message's reference count.\n */\n _addMessageReference(element, key) {\n const registeredMessage = this._messageRegistry.get(key);\n // Add the aria-describedby reference and set the\n // describedby_host attribute to mark the element.\n addAriaReferencedId(element, 'aria-describedby', registeredMessage.messageElement.id);\n element.setAttribute(CDK_DESCRIBEDBY_HOST_ATTRIBUTE, this._id);\n registeredMessage.referenceCount++;\n }\n /**\n * Removes a message reference from the element using aria-describedby\n * and decrements the registered message's reference count.\n */\n _removeMessageReference(element, key) {\n const registeredMessage = this._messageRegistry.get(key);\n registeredMessage.referenceCount--;\n removeAriaReferencedId(element, 'aria-describedby', registeredMessage.messageElement.id);\n element.removeAttribute(CDK_DESCRIBEDBY_HOST_ATTRIBUTE);\n }\n /** Returns true if the element has been described by the provided message ID. */\n _isElementDescribedByMessage(element, key) {\n const referenceIds = getAriaReferenceIds(element, 'aria-describedby');\n const registeredMessage = this._messageRegistry.get(key);\n const messageId = registeredMessage && registeredMessage.messageElement.id;\n return !!messageId && referenceIds.indexOf(messageId) != -1;\n }\n /** Determines whether a message can be described on a particular element. */\n _canBeDescribed(element, message) {\n if (!this._isElementNode(element)) {\n return false;\n }\n if (message && typeof message === 'object') {\n // We'd have to make some assumptions about the description element's text, if the consumer\n // passed in an element. Assume that if an element is passed in, the consumer has verified\n // that it can be used as a description.\n return true;\n }\n const trimmedMessage = message == null ? '' : `${message}`.trim();\n const ariaLabel = element.getAttribute('aria-label');\n // We shouldn't set descriptions if they're exactly the same as the `aria-label` of the\n // element, because screen readers will end up reading out the same text twice in a row.\n return trimmedMessage ? !ariaLabel || ariaLabel.trim() !== trimmedMessage : false;\n }\n /** Checks whether a node is an Element node. */\n _isElementNode(element) {\n return element.nodeType === this._document.ELEMENT_NODE;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: AriaDescriber, deps: [{ token: DOCUMENT }, { token: i1.Platform }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: AriaDescriber, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: AriaDescriber, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: i1.Platform }]; } });\n/** Gets a key that can be used to look messages up in the registry. */\nfunction getKey(message, role) {\n return typeof message === 'string' ? `${role || ''}/${message}` : message;\n}\n/** Assigns a unique ID to an element, if it doesn't have one already. */\nfunction setMessageId(element, serviceId) {\n if (!element.id) {\n element.id = `${CDK_DESCRIBEDBY_ID_PREFIX}-${serviceId}-${nextId++}`;\n }\n}\n\n/**\n * This class manages keyboard events for selectable lists. If you pass it a query list\n * of items, it will set the active item correctly when arrow events occur.\n */\nclass ListKeyManager {\n constructor(_items) {\n this._items = _items;\n this._activeItemIndex = -1;\n this._activeItem = null;\n this._wrap = false;\n this._letterKeyStream = new Subject();\n this._typeaheadSubscription = Subscription.EMPTY;\n this._vertical = true;\n this._allowedModifierKeys = [];\n this._homeAndEnd = false;\n this._pageUpAndDown = { enabled: false, delta: 10 };\n /**\n * Predicate function that can be used to check whether an item should be skipped\n * by the key manager. By default, disabled items are skipped.\n */\n this._skipPredicateFn = (item) => item.disabled;\n // Buffer for the letters that the user has pressed when the typeahead option is turned on.\n this._pressedLetters = [];\n /**\n * Stream that emits any time the TAB key is pressed, so components can react\n * when focus is shifted off of the list.\n */\n this.tabOut = new Subject();\n /** Stream that emits whenever the active item of the list manager changes. */\n this.change = new Subject();\n // We allow for the items to be an array because, in some cases, the consumer may\n // not have access to a QueryList of the items they want to manage (e.g. when the\n // items aren't being collected via `ViewChildren` or `ContentChildren`).\n if (_items instanceof QueryList) {\n this._itemChangesSubscription = _items.changes.subscribe((newItems) => {\n if (this._activeItem) {\n const itemArray = newItems.toArray();\n const newIndex = itemArray.indexOf(this._activeItem);\n if (newIndex > -1 && newIndex !== this._activeItemIndex) {\n this._activeItemIndex = newIndex;\n }\n }\n });\n }\n }\n /**\n * Sets the predicate function that determines which items should be skipped by the\n * list key manager.\n * @param predicate Function that determines whether the given item should be skipped.\n */\n skipPredicate(predicate) {\n this._skipPredicateFn = predicate;\n return this;\n }\n /**\n * Configures wrapping mode, which determines whether the active item will wrap to\n * the other end of list when there are no more items in the given direction.\n * @param shouldWrap Whether the list should wrap when reaching the end.\n */\n withWrap(shouldWrap = true) {\n this._wrap = shouldWrap;\n return this;\n }\n /**\n * Configures whether the key manager should be able to move the selection vertically.\n * @param enabled Whether vertical selection should be enabled.\n */\n withVerticalOrientation(enabled = true) {\n this._vertical = enabled;\n return this;\n }\n /**\n * Configures the key manager to move the selection horizontally.\n * Passing in `null` will disable horizontal movement.\n * @param direction Direction in which the selection can be moved.\n */\n withHorizontalOrientation(direction) {\n this._horizontal = direction;\n return this;\n }\n /**\n * Modifier keys which are allowed to be held down and whose default actions will be prevented\n * as the user is pressing the arrow keys. Defaults to not allowing any modifier keys.\n */\n withAllowedModifierKeys(keys) {\n this._allowedModifierKeys = keys;\n return this;\n }\n /**\n * Turns on typeahead mode which allows users to set the active item by typing.\n * @param debounceInterval Time to wait after the last keystroke before setting the active item.\n */\n withTypeAhead(debounceInterval = 200) {\n if ((typeof ngDevMode === 'undefined' || ngDevMode) &&\n this._items.length &&\n this._items.some(item => typeof item.getLabel !== 'function')) {\n throw Error('ListKeyManager items in typeahead mode must implement the `getLabel` method.');\n }\n this._typeaheadSubscription.unsubscribe();\n // Debounce the presses of non-navigational keys, collect the ones that correspond to letters\n // and convert those letters back into a string. Afterwards find the first item that starts\n // with that string and select it.\n this._typeaheadSubscription = this._letterKeyStream\n .pipe(tap(letter => this._pressedLetters.push(letter)), debounceTime(debounceInterval), filter(() => this._pressedLetters.length > 0), map(() => this._pressedLetters.join('')))\n .subscribe(inputString => {\n const items = this._getItemsArray();\n // Start at 1 because we want to start searching at the item immediately\n // following the current active item.\n for (let i = 1; i < items.length + 1; i++) {\n const index = (this._activeItemIndex + i) % items.length;\n const item = items[index];\n if (!this._skipPredicateFn(item) &&\n item.getLabel().toUpperCase().trim().indexOf(inputString) === 0) {\n this.setActiveItem(index);\n break;\n }\n }\n this._pressedLetters = [];\n });\n return this;\n }\n /** Cancels the current typeahead sequence. */\n cancelTypeahead() {\n this._pressedLetters = [];\n return this;\n }\n /**\n * Configures the key manager to activate the first and last items\n * respectively when the Home or End key is pressed.\n * @param enabled Whether pressing the Home or End key activates the first/last item.\n */\n withHomeAndEnd(enabled = true) {\n this._homeAndEnd = enabled;\n return this;\n }\n /**\n * Configures the key manager to activate every 10th, configured or first/last element in up/down direction\n * respectively when the Page-Up or Page-Down key is pressed.\n * @param enabled Whether pressing the Page-Up or Page-Down key activates the first/last item.\n * @param delta Whether pressing the Home or End key activates the first/last item.\n */\n withPageUpDown(enabled = true, delta = 10) {\n this._pageUpAndDown = { enabled, delta };\n return this;\n }\n setActiveItem(item) {\n const previousActiveItem = this._activeItem;\n this.updateActiveItem(item);\n if (this._activeItem !== previousActiveItem) {\n this.change.next(this._activeItemIndex);\n }\n }\n /**\n * Sets the active item depending on the key event passed in.\n * @param event Keyboard event to be used for determining which element should be active.\n */\n onKeydown(event) {\n const keyCode = event.keyCode;\n const modifiers = ['altKey', 'ctrlKey', 'metaKey', 'shiftKey'];\n const isModifierAllowed = modifiers.every(modifier => {\n return !event[modifier] || this._allowedModifierKeys.indexOf(modifier) > -1;\n });\n switch (keyCode) {\n case TAB:\n this.tabOut.next();\n return;\n case DOWN_ARROW:\n if (this._vertical && isModifierAllowed) {\n this.setNextItemActive();\n break;\n }\n else {\n return;\n }\n case UP_ARROW:\n if (this._vertical && isModifierAllowed) {\n this.setPreviousItemActive();\n break;\n }\n else {\n return;\n }\n case RIGHT_ARROW:\n if (this._horizontal && isModifierAllowed) {\n this._horizontal === 'rtl' ? this.setPreviousItemActive() : this.setNextItemActive();\n break;\n }\n else {\n return;\n }\n case LEFT_ARROW:\n if (this._horizontal && isModifierAllowed) {\n this._horizontal === 'rtl' ? this.setNextItemActive() : this.setPreviousItemActive();\n break;\n }\n else {\n return;\n }\n case HOME:\n if (this._homeAndEnd && isModifierAllowed) {\n this.setFirstItemActive();\n break;\n }\n else {\n return;\n }\n case END:\n if (this._homeAndEnd && isModifierAllowed) {\n this.setLastItemActive();\n break;\n }\n else {\n return;\n }\n case PAGE_UP:\n if (this._pageUpAndDown.enabled && isModifierAllowed) {\n const targetIndex = this._activeItemIndex - this._pageUpAndDown.delta;\n this._setActiveItemByIndex(targetIndex > 0 ? targetIndex : 0, 1);\n break;\n }\n else {\n return;\n }\n case PAGE_DOWN:\n if (this._pageUpAndDown.enabled && isModifierAllowed) {\n const targetIndex = this._activeItemIndex + this._pageUpAndDown.delta;\n const itemsLength = this._getItemsArray().length;\n this._setActiveItemByIndex(targetIndex < itemsLength ? targetIndex : itemsLength - 1, -1);\n break;\n }\n else {\n return;\n }\n default:\n if (isModifierAllowed || hasModifierKey(event, 'shiftKey')) {\n // Attempt to use the `event.key` which also maps it to the user's keyboard language,\n // otherwise fall back to resolving alphanumeric characters via the keyCode.\n if (event.key && event.key.length === 1) {\n this._letterKeyStream.next(event.key.toLocaleUpperCase());\n }\n else if ((keyCode >= A && keyCode <= Z) || (keyCode >= ZERO && keyCode <= NINE)) {\n this._letterKeyStream.next(String.fromCharCode(keyCode));\n }\n }\n // Note that we return here, in order to avoid preventing\n // the default action of non-navigational keys.\n return;\n }\n this._pressedLetters = [];\n event.preventDefault();\n }\n /** Index of the currently active item. */\n get activeItemIndex() {\n return this._activeItemIndex;\n }\n /** The active item. */\n get activeItem() {\n return this._activeItem;\n }\n /** Gets whether the user is currently typing into the manager using the typeahead feature. */\n isTyping() {\n return this._pressedLetters.length > 0;\n }\n /** Sets the active item to the first enabled item in the list. */\n setFirstItemActive() {\n this._setActiveItemByIndex(0, 1);\n }\n /** Sets the active item to the last enabled item in the list. */\n setLastItemActive() {\n this._setActiveItemByIndex(this._items.length - 1, -1);\n }\n /** Sets the active item to the next enabled item in the list. */\n setNextItemActive() {\n this._activeItemIndex < 0 ? this.setFirstItemActive() : this._setActiveItemByDelta(1);\n }\n /** Sets the active item to a previous enabled item in the list. */\n setPreviousItemActive() {\n this._activeItemIndex < 0 && this._wrap\n ? this.setLastItemActive()\n : this._setActiveItemByDelta(-1);\n }\n updateActiveItem(item) {\n const itemArray = this._getItemsArray();\n const index = typeof item === 'number' ? item : itemArray.indexOf(item);\n const activeItem = itemArray[index];\n // Explicitly check for `null` and `undefined` because other falsy values are valid.\n this._activeItem = activeItem == null ? null : activeItem;\n this._activeItemIndex = index;\n }\n /** Cleans up the key manager. */\n destroy() {\n this._typeaheadSubscription.unsubscribe();\n this._itemChangesSubscription?.unsubscribe();\n this._letterKeyStream.complete();\n this.tabOut.complete();\n this.change.complete();\n this._pressedLetters = [];\n }\n /**\n * This method sets the active item, given a list of items and the delta between the\n * currently active item and the new active item. It will calculate differently\n * depending on whether wrap mode is turned on.\n */\n _setActiveItemByDelta(delta) {\n this._wrap ? this._setActiveInWrapMode(delta) : this._setActiveInDefaultMode(delta);\n }\n /**\n * Sets the active item properly given \"wrap\" mode. In other words, it will continue to move\n * down the list until it finds an item that is not disabled, and it will wrap if it\n * encounters either end of the list.\n */\n _setActiveInWrapMode(delta) {\n const items = this._getItemsArray();\n for (let i = 1; i <= items.length; i++) {\n const index = (this._activeItemIndex + delta * i + items.length) % items.length;\n const item = items[index];\n if (!this._skipPredicateFn(item)) {\n this.setActiveItem(index);\n return;\n }\n }\n }\n /**\n * Sets the active item properly given the default mode. In other words, it will\n * continue to move down the list until it finds an item that is not disabled. If\n * it encounters either end of the list, it will stop and not wrap.\n */\n _setActiveInDefaultMode(delta) {\n this._setActiveItemByIndex(this._activeItemIndex + delta, delta);\n }\n /**\n * Sets the active item to the first enabled item starting at the index specified. If the\n * item is disabled, it will move in the fallbackDelta direction until it either\n * finds an enabled item or encounters the end of the list.\n */\n _setActiveItemByIndex(index, fallbackDelta) {\n const items = this._getItemsArray();\n if (!items[index]) {\n return;\n }\n while (this._skipPredicateFn(items[index])) {\n index += fallbackDelta;\n if (!items[index]) {\n return;\n }\n }\n this.setActiveItem(index);\n }\n /** Returns the items as an array. */\n _getItemsArray() {\n return this._items instanceof QueryList ? this._items.toArray() : this._items;\n }\n}\n\nclass ActiveDescendantKeyManager extends ListKeyManager {\n setActiveItem(index) {\n if (this.activeItem) {\n this.activeItem.setInactiveStyles();\n }\n super.setActiveItem(index);\n if (this.activeItem) {\n this.activeItem.setActiveStyles();\n }\n }\n}\n\nclass FocusKeyManager extends ListKeyManager {\n constructor() {\n super(...arguments);\n this._origin = 'program';\n }\n /**\n * Sets the focus origin that will be passed in to the items for any subsequent `focus` calls.\n * @param origin Focus origin to be used when focusing items.\n */\n setFocusOrigin(origin) {\n this._origin = origin;\n return this;\n }\n setActiveItem(item) {\n super.setActiveItem(item);\n if (this.activeItem) {\n this.activeItem.focus(this._origin);\n }\n }\n}\n\n/**\n * Configuration for the isFocusable method.\n */\nclass IsFocusableConfig {\n constructor() {\n /**\n * Whether to count an element as focusable even if it is not currently visible.\n */\n this.ignoreVisibility = false;\n }\n}\n// The InteractivityChecker leans heavily on the ally.js accessibility utilities.\n// Methods like `isTabbable` are only covering specific edge-cases for the browsers which are\n// supported.\n/**\n * Utility for checking the interactivity of an element, such as whether is is focusable or\n * tabbable.\n */\nclass InteractivityChecker {\n constructor(_platform) {\n this._platform = _platform;\n }\n /**\n * Gets whether an element is disabled.\n *\n * @param element Element to be checked.\n * @returns Whether the element is disabled.\n */\n isDisabled(element) {\n // This does not capture some cases, such as a non-form control with a disabled attribute or\n // a form control inside of a disabled form, but should capture the most common cases.\n return element.hasAttribute('disabled');\n }\n /**\n * Gets whether an element is visible for the purposes of interactivity.\n *\n * This will capture states like `display: none` and `visibility: hidden`, but not things like\n * being clipped by an `overflow: hidden` parent or being outside the viewport.\n *\n * @returns Whether the element is visible.\n */\n isVisible(element) {\n return hasGeometry(element) && getComputedStyle(element).visibility === 'visible';\n }\n /**\n * Gets whether an element can be reached via Tab key.\n * Assumes that the element has already been checked with isFocusable.\n *\n * @param element Element to be checked.\n * @returns Whether the element is tabbable.\n */\n isTabbable(element) {\n // Nothing is tabbable on the server 😎\n if (!this._platform.isBrowser) {\n return false;\n }\n const frameElement = getFrameElement(getWindow(element));\n if (frameElement) {\n // Frame elements inherit their tabindex onto all child elements.\n if (getTabIndexValue(frameElement) === -1) {\n return false;\n }\n // Browsers disable tabbing to an element inside of an invisible frame.\n if (!this.isVisible(frameElement)) {\n return false;\n }\n }\n let nodeName = element.nodeName.toLowerCase();\n let tabIndexValue = getTabIndexValue(element);\n if (element.hasAttribute('contenteditable')) {\n return tabIndexValue !== -1;\n }\n if (nodeName === 'iframe' || nodeName === 'object') {\n // The frame or object's content may be tabbable depending on the content, but it's\n // not possibly to reliably detect the content of the frames. We always consider such\n // elements as non-tabbable.\n return false;\n }\n // In iOS, the browser only considers some specific elements as tabbable.\n if (this._platform.WEBKIT && this._platform.IOS && !isPotentiallyTabbableIOS(element)) {\n return false;\n }\n if (nodeName === 'audio') {\n // Audio elements without controls enabled are never tabbable, regardless\n // of the tabindex attribute explicitly being set.\n if (!element.hasAttribute('controls')) {\n return false;\n }\n // Audio elements with controls are by default tabbable unless the\n // tabindex attribute is set to `-1` explicitly.\n return tabIndexValue !== -1;\n }\n if (nodeName === 'video') {\n // For all video elements, if the tabindex attribute is set to `-1`, the video\n // is not tabbable. Note: We cannot rely on the default `HTMLElement.tabIndex`\n // property as that one is set to `-1` in Chrome, Edge and Safari v13.1. The\n // tabindex attribute is the source of truth here.\n if (tabIndexValue === -1) {\n return false;\n }\n // If the tabindex is explicitly set, and not `-1` (as per check before), the\n // video element is always tabbable (regardless of whether it has controls or not).\n if (tabIndexValue !== null) {\n return true;\n }\n // Otherwise (when no explicit tabindex is set), a video is only tabbable if it\n // has controls enabled. Firefox is special as videos are always tabbable regardless\n // of whether there are controls or not.\n return this._platform.FIREFOX || element.hasAttribute('controls');\n }\n return element.tabIndex >= 0;\n }\n /**\n * Gets whether an element can be focused by the user.\n *\n * @param element Element to be checked.\n * @param config The config object with options to customize this method's behavior\n * @returns Whether the element is focusable.\n */\n isFocusable(element, config) {\n // Perform checks in order of left to most expensive.\n // Again, naive approach that does not capture many edge cases and browser quirks.\n return (isPotentiallyFocusable(element) &&\n !this.isDisabled(element) &&\n (config?.ignoreVisibility || this.isVisible(element)));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: InteractivityChecker, deps: [{ token: i1.Platform }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: InteractivityChecker, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: InteractivityChecker, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: i1.Platform }]; } });\n/**\n * Returns the frame element from a window object. Since browsers like MS Edge throw errors if\n * the frameElement property is being accessed from a different host address, this property\n * should be accessed carefully.\n */\nfunction getFrameElement(window) {\n try {\n return window.frameElement;\n }\n catch {\n return null;\n }\n}\n/** Checks whether the specified element has any geometry / rectangles. */\nfunction hasGeometry(element) {\n // Use logic from jQuery to check for an invisible element.\n // See https://github.com/jquery/jquery/blob/master/src/css/hiddenVisibleSelectors.js#L12\n return !!(element.offsetWidth ||\n element.offsetHeight ||\n (typeof element.getClientRects === 'function' && element.getClientRects().length));\n}\n/** Gets whether an element's */\nfunction isNativeFormElement(element) {\n let nodeName = element.nodeName.toLowerCase();\n return (nodeName === 'input' ||\n nodeName === 'select' ||\n nodeName === 'button' ||\n nodeName === 'textarea');\n}\n/** Gets whether an element is an ``. */\nfunction isHiddenInput(element) {\n return isInputElement(element) && element.type == 'hidden';\n}\n/** Gets whether an element is an anchor that has an href attribute. */\nfunction isAnchorWithHref(element) {\n return isAnchorElement(element) && element.hasAttribute('href');\n}\n/** Gets whether an element is an input element. */\nfunction isInputElement(element) {\n return element.nodeName.toLowerCase() == 'input';\n}\n/** Gets whether an element is an anchor element. */\nfunction isAnchorElement(element) {\n return element.nodeName.toLowerCase() == 'a';\n}\n/** Gets whether an element has a valid tabindex. */\nfunction hasValidTabIndex(element) {\n if (!element.hasAttribute('tabindex') || element.tabIndex === undefined) {\n return false;\n }\n let tabIndex = element.getAttribute('tabindex');\n return !!(tabIndex && !isNaN(parseInt(tabIndex, 10)));\n}\n/**\n * Returns the parsed tabindex from the element attributes instead of returning the\n * evaluated tabindex from the browsers defaults.\n */\nfunction getTabIndexValue(element) {\n if (!hasValidTabIndex(element)) {\n return null;\n }\n // See browser issue in Gecko https://bugzilla.mozilla.org/show_bug.cgi?id=1128054\n const tabIndex = parseInt(element.getAttribute('tabindex') || '', 10);\n return isNaN(tabIndex) ? -1 : tabIndex;\n}\n/** Checks whether the specified element is potentially tabbable on iOS */\nfunction isPotentiallyTabbableIOS(element) {\n let nodeName = element.nodeName.toLowerCase();\n let inputType = nodeName === 'input' && element.type;\n return (inputType === 'text' ||\n inputType === 'password' ||\n nodeName === 'select' ||\n nodeName === 'textarea');\n}\n/**\n * Gets whether an element is potentially focusable without taking current visible/disabled state\n * into account.\n */\nfunction isPotentiallyFocusable(element) {\n // Inputs are potentially focusable *unless* they're type=\"hidden\".\n if (isHiddenInput(element)) {\n return false;\n }\n return (isNativeFormElement(element) ||\n isAnchorWithHref(element) ||\n element.hasAttribute('contenteditable') ||\n hasValidTabIndex(element));\n}\n/** Gets the parent window of a DOM node with regards of being inside of an iframe. */\nfunction getWindow(node) {\n // ownerDocument is null if `node` itself *is* a document.\n return (node.ownerDocument && node.ownerDocument.defaultView) || window;\n}\n\n/**\n * Class that allows for trapping focus within a DOM element.\n *\n * This class currently uses a relatively simple approach to focus trapping.\n * It assumes that the tab order is the same as DOM order, which is not necessarily true.\n * Things like `tabIndex > 0`, flex `order`, and shadow roots can cause the two to be misaligned.\n *\n * @deprecated Use `ConfigurableFocusTrap` instead.\n * @breaking-change 11.0.0\n */\nclass FocusTrap {\n /** Whether the focus trap is active. */\n get enabled() {\n return this._enabled;\n }\n set enabled(value) {\n this._enabled = value;\n if (this._startAnchor && this._endAnchor) {\n this._toggleAnchorTabIndex(value, this._startAnchor);\n this._toggleAnchorTabIndex(value, this._endAnchor);\n }\n }\n constructor(_element, _checker, _ngZone, _document, deferAnchors = false) {\n this._element = _element;\n this._checker = _checker;\n this._ngZone = _ngZone;\n this._document = _document;\n this._hasAttached = false;\n // Event listeners for the anchors. Need to be regular functions so that we can unbind them later.\n this.startAnchorListener = () => this.focusLastTabbableElement();\n this.endAnchorListener = () => this.focusFirstTabbableElement();\n this._enabled = true;\n if (!deferAnchors) {\n this.attachAnchors();\n }\n }\n /** Destroys the focus trap by cleaning up the anchors. */\n destroy() {\n const startAnchor = this._startAnchor;\n const endAnchor = this._endAnchor;\n if (startAnchor) {\n startAnchor.removeEventListener('focus', this.startAnchorListener);\n startAnchor.remove();\n }\n if (endAnchor) {\n endAnchor.removeEventListener('focus', this.endAnchorListener);\n endAnchor.remove();\n }\n this._startAnchor = this._endAnchor = null;\n this._hasAttached = false;\n }\n /**\n * Inserts the anchors into the DOM. This is usually done automatically\n * in the constructor, but can be deferred for cases like directives with `*ngIf`.\n * @returns Whether the focus trap managed to attach successfully. This may not be the case\n * if the target element isn't currently in the DOM.\n */\n attachAnchors() {\n // If we're not on the browser, there can be no focus to trap.\n if (this._hasAttached) {\n return true;\n }\n this._ngZone.runOutsideAngular(() => {\n if (!this._startAnchor) {\n this._startAnchor = this._createAnchor();\n this._startAnchor.addEventListener('focus', this.startAnchorListener);\n }\n if (!this._endAnchor) {\n this._endAnchor = this._createAnchor();\n this._endAnchor.addEventListener('focus', this.endAnchorListener);\n }\n });\n if (this._element.parentNode) {\n this._element.parentNode.insertBefore(this._startAnchor, this._element);\n this._element.parentNode.insertBefore(this._endAnchor, this._element.nextSibling);\n this._hasAttached = true;\n }\n return this._hasAttached;\n }\n /**\n * Waits for the zone to stabilize, then focuses the first tabbable element.\n * @returns Returns a promise that resolves with a boolean, depending\n * on whether focus was moved successfully.\n */\n focusInitialElementWhenReady(options) {\n return new Promise(resolve => {\n this._executeOnStable(() => resolve(this.focusInitialElement(options)));\n });\n }\n /**\n * Waits for the zone to stabilize, then focuses\n * the first tabbable element within the focus trap region.\n * @returns Returns a promise that resolves with a boolean, depending\n * on whether focus was moved successfully.\n */\n focusFirstTabbableElementWhenReady(options) {\n return new Promise(resolve => {\n this._executeOnStable(() => resolve(this.focusFirstTabbableElement(options)));\n });\n }\n /**\n * Waits for the zone to stabilize, then focuses\n * the last tabbable element within the focus trap region.\n * @returns Returns a promise that resolves with a boolean, depending\n * on whether focus was moved successfully.\n */\n focusLastTabbableElementWhenReady(options) {\n return new Promise(resolve => {\n this._executeOnStable(() => resolve(this.focusLastTabbableElement(options)));\n });\n }\n /**\n * Get the specified boundary element of the trapped region.\n * @param bound The boundary to get (start or end of trapped region).\n * @returns The boundary element.\n */\n _getRegionBoundary(bound) {\n // Contains the deprecated version of selector, for temporary backwards comparability.\n const markers = this._element.querySelectorAll(`[cdk-focus-region-${bound}], ` + `[cdkFocusRegion${bound}], ` + `[cdk-focus-${bound}]`);\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n for (let i = 0; i < markers.length; i++) {\n // @breaking-change 8.0.0\n if (markers[i].hasAttribute(`cdk-focus-${bound}`)) {\n console.warn(`Found use of deprecated attribute 'cdk-focus-${bound}', ` +\n `use 'cdkFocusRegion${bound}' instead. The deprecated ` +\n `attribute will be removed in 8.0.0.`, markers[i]);\n }\n else if (markers[i].hasAttribute(`cdk-focus-region-${bound}`)) {\n console.warn(`Found use of deprecated attribute 'cdk-focus-region-${bound}', ` +\n `use 'cdkFocusRegion${bound}' instead. The deprecated attribute ` +\n `will be removed in 8.0.0.`, markers[i]);\n }\n }\n }\n if (bound == 'start') {\n return markers.length ? markers[0] : this._getFirstTabbableElement(this._element);\n }\n return markers.length\n ? markers[markers.length - 1]\n : this._getLastTabbableElement(this._element);\n }\n /**\n * Focuses the element that should be focused when the focus trap is initialized.\n * @returns Whether focus was moved successfully.\n */\n focusInitialElement(options) {\n // Contains the deprecated version of selector, for temporary backwards comparability.\n const redirectToElement = this._element.querySelector(`[cdk-focus-initial], ` + `[cdkFocusInitial]`);\n if (redirectToElement) {\n // @breaking-change 8.0.0\n if ((typeof ngDevMode === 'undefined' || ngDevMode) &&\n redirectToElement.hasAttribute(`cdk-focus-initial`)) {\n console.warn(`Found use of deprecated attribute 'cdk-focus-initial', ` +\n `use 'cdkFocusInitial' instead. The deprecated attribute ` +\n `will be removed in 8.0.0`, redirectToElement);\n }\n // Warn the consumer if the element they've pointed to\n // isn't focusable, when not in production mode.\n if ((typeof ngDevMode === 'undefined' || ngDevMode) &&\n !this._checker.isFocusable(redirectToElement)) {\n console.warn(`Element matching '[cdkFocusInitial]' is not focusable.`, redirectToElement);\n }\n if (!this._checker.isFocusable(redirectToElement)) {\n const focusableChild = this._getFirstTabbableElement(redirectToElement);\n focusableChild?.focus(options);\n return !!focusableChild;\n }\n redirectToElement.focus(options);\n return true;\n }\n return this.focusFirstTabbableElement(options);\n }\n /**\n * Focuses the first tabbable element within the focus trap region.\n * @returns Whether focus was moved successfully.\n */\n focusFirstTabbableElement(options) {\n const redirectToElement = this._getRegionBoundary('start');\n if (redirectToElement) {\n redirectToElement.focus(options);\n }\n return !!redirectToElement;\n }\n /**\n * Focuses the last tabbable element within the focus trap region.\n * @returns Whether focus was moved successfully.\n */\n focusLastTabbableElement(options) {\n const redirectToElement = this._getRegionBoundary('end');\n if (redirectToElement) {\n redirectToElement.focus(options);\n }\n return !!redirectToElement;\n }\n /**\n * Checks whether the focus trap has successfully been attached.\n */\n hasAttached() {\n return this._hasAttached;\n }\n /** Get the first tabbable element from a DOM subtree (inclusive). */\n _getFirstTabbableElement(root) {\n if (this._checker.isFocusable(root) && this._checker.isTabbable(root)) {\n return root;\n }\n const children = root.children;\n for (let i = 0; i < children.length; i++) {\n const tabbableChild = children[i].nodeType === this._document.ELEMENT_NODE\n ? this._getFirstTabbableElement(children[i])\n : null;\n if (tabbableChild) {\n return tabbableChild;\n }\n }\n return null;\n }\n /** Get the last tabbable element from a DOM subtree (inclusive). */\n _getLastTabbableElement(root) {\n if (this._checker.isFocusable(root) && this._checker.isTabbable(root)) {\n return root;\n }\n // Iterate in reverse DOM order.\n const children = root.children;\n for (let i = children.length - 1; i >= 0; i--) {\n const tabbableChild = children[i].nodeType === this._document.ELEMENT_NODE\n ? this._getLastTabbableElement(children[i])\n : null;\n if (tabbableChild) {\n return tabbableChild;\n }\n }\n return null;\n }\n /** Creates an anchor element. */\n _createAnchor() {\n const anchor = this._document.createElement('div');\n this._toggleAnchorTabIndex(this._enabled, anchor);\n anchor.classList.add('cdk-visually-hidden');\n anchor.classList.add('cdk-focus-trap-anchor');\n anchor.setAttribute('aria-hidden', 'true');\n return anchor;\n }\n /**\n * Toggles the `tabindex` of an anchor, based on the enabled state of the focus trap.\n * @param isEnabled Whether the focus trap is enabled.\n * @param anchor Anchor on which to toggle the tabindex.\n */\n _toggleAnchorTabIndex(isEnabled, anchor) {\n // Remove the tabindex completely, rather than setting it to -1, because if the\n // element has a tabindex, the user might still hit it when navigating with the arrow keys.\n isEnabled ? anchor.setAttribute('tabindex', '0') : anchor.removeAttribute('tabindex');\n }\n /**\n * Toggles the`tabindex` of both anchors to either trap Tab focus or allow it to escape.\n * @param enabled: Whether the anchors should trap Tab.\n */\n toggleAnchors(enabled) {\n if (this._startAnchor && this._endAnchor) {\n this._toggleAnchorTabIndex(enabled, this._startAnchor);\n this._toggleAnchorTabIndex(enabled, this._endAnchor);\n }\n }\n /** Executes a function when the zone is stable. */\n _executeOnStable(fn) {\n if (this._ngZone.isStable) {\n fn();\n }\n else {\n this._ngZone.onStable.pipe(take(1)).subscribe(fn);\n }\n }\n}\n/**\n * Factory that allows easy instantiation of focus traps.\n * @deprecated Use `ConfigurableFocusTrapFactory` instead.\n * @breaking-change 11.0.0\n */\nclass FocusTrapFactory {\n constructor(_checker, _ngZone, _document) {\n this._checker = _checker;\n this._ngZone = _ngZone;\n this._document = _document;\n }\n /**\n * Creates a focus-trapped region around the given element.\n * @param element The element around which focus will be trapped.\n * @param deferCaptureElements Defers the creation of focus-capturing elements to be done\n * manually by the user.\n * @returns The created focus trap instance.\n */\n create(element, deferCaptureElements = false) {\n return new FocusTrap(element, this._checker, this._ngZone, this._document, deferCaptureElements);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: FocusTrapFactory, deps: [{ token: InteractivityChecker }, { token: i0.NgZone }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: FocusTrapFactory, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: FocusTrapFactory, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: InteractivityChecker }, { type: i0.NgZone }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }]; } });\n/** Directive for trapping focus within a region. */\nclass CdkTrapFocus {\n /** Whether the focus trap is active. */\n get enabled() {\n return this.focusTrap.enabled;\n }\n set enabled(value) {\n this.focusTrap.enabled = coerceBooleanProperty(value);\n }\n /**\n * Whether the directive should automatically move focus into the trapped region upon\n * initialization and return focus to the previous activeElement upon destruction.\n */\n get autoCapture() {\n return this._autoCapture;\n }\n set autoCapture(value) {\n this._autoCapture = coerceBooleanProperty(value);\n }\n constructor(_elementRef, _focusTrapFactory, \n /**\n * @deprecated No longer being used. To be removed.\n * @breaking-change 13.0.0\n */\n _document) {\n this._elementRef = _elementRef;\n this._focusTrapFactory = _focusTrapFactory;\n /** Previously focused element to restore focus to upon destroy when using autoCapture. */\n this._previouslyFocusedElement = null;\n this.focusTrap = this._focusTrapFactory.create(this._elementRef.nativeElement, true);\n }\n ngOnDestroy() {\n this.focusTrap.destroy();\n // If we stored a previously focused element when using autoCapture, return focus to that\n // element now that the trapped region is being destroyed.\n if (this._previouslyFocusedElement) {\n this._previouslyFocusedElement.focus();\n this._previouslyFocusedElement = null;\n }\n }\n ngAfterContentInit() {\n this.focusTrap.attachAnchors();\n if (this.autoCapture) {\n this._captureFocus();\n }\n }\n ngDoCheck() {\n if (!this.focusTrap.hasAttached()) {\n this.focusTrap.attachAnchors();\n }\n }\n ngOnChanges(changes) {\n const autoCaptureChange = changes['autoCapture'];\n if (autoCaptureChange &&\n !autoCaptureChange.firstChange &&\n this.autoCapture &&\n this.focusTrap.hasAttached()) {\n this._captureFocus();\n }\n }\n _captureFocus() {\n this._previouslyFocusedElement = _getFocusedElementPierceShadowDom();\n this.focusTrap.focusInitialElementWhenReady();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkTrapFocus, deps: [{ token: i0.ElementRef }, { token: FocusTrapFactory }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkTrapFocus, selector: \"[cdkTrapFocus]\", inputs: { enabled: [\"cdkTrapFocus\", \"enabled\"], autoCapture: [\"cdkTrapFocusAutoCapture\", \"autoCapture\"] }, exportAs: [\"cdkTrapFocus\"], usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkTrapFocus, decorators: [{\n type: Directive,\n args: [{\n selector: '[cdkTrapFocus]',\n exportAs: 'cdkTrapFocus',\n }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FocusTrapFactory }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }]; }, propDecorators: { enabled: [{\n type: Input,\n args: ['cdkTrapFocus']\n }], autoCapture: [{\n type: Input,\n args: ['cdkTrapFocusAutoCapture']\n }] } });\n\n/**\n * Class that allows for trapping focus within a DOM element.\n *\n * This class uses a strategy pattern that determines how it traps focus.\n * See FocusTrapInertStrategy.\n */\nclass ConfigurableFocusTrap extends FocusTrap {\n /** Whether the FocusTrap is enabled. */\n get enabled() {\n return this._enabled;\n }\n set enabled(value) {\n this._enabled = value;\n if (this._enabled) {\n this._focusTrapManager.register(this);\n }\n else {\n this._focusTrapManager.deregister(this);\n }\n }\n constructor(_element, _checker, _ngZone, _document, _focusTrapManager, _inertStrategy, config) {\n super(_element, _checker, _ngZone, _document, config.defer);\n this._focusTrapManager = _focusTrapManager;\n this._inertStrategy = _inertStrategy;\n this._focusTrapManager.register(this);\n }\n /** Notifies the FocusTrapManager that this FocusTrap will be destroyed. */\n destroy() {\n this._focusTrapManager.deregister(this);\n super.destroy();\n }\n /** @docs-private Implemented as part of ManagedFocusTrap. */\n _enable() {\n this._inertStrategy.preventFocus(this);\n this.toggleAnchors(true);\n }\n /** @docs-private Implemented as part of ManagedFocusTrap. */\n _disable() {\n this._inertStrategy.allowFocus(this);\n this.toggleAnchors(false);\n }\n}\n\n/** The injection token used to specify the inert strategy. */\nconst FOCUS_TRAP_INERT_STRATEGY = new InjectionToken('FOCUS_TRAP_INERT_STRATEGY');\n\n/**\n * Lightweight FocusTrapInertStrategy that adds a document focus event\n * listener to redirect focus back inside the FocusTrap.\n */\nclass EventListenerFocusTrapInertStrategy {\n constructor() {\n /** Focus event handler. */\n this._listener = null;\n }\n /** Adds a document event listener that keeps focus inside the FocusTrap. */\n preventFocus(focusTrap) {\n // Ensure there's only one listener per document\n if (this._listener) {\n focusTrap._document.removeEventListener('focus', this._listener, true);\n }\n this._listener = (e) => this._trapFocus(focusTrap, e);\n focusTrap._ngZone.runOutsideAngular(() => {\n focusTrap._document.addEventListener('focus', this._listener, true);\n });\n }\n /** Removes the event listener added in preventFocus. */\n allowFocus(focusTrap) {\n if (!this._listener) {\n return;\n }\n focusTrap._document.removeEventListener('focus', this._listener, true);\n this._listener = null;\n }\n /**\n * Refocuses the first element in the FocusTrap if the focus event target was outside\n * the FocusTrap.\n *\n * This is an event listener callback. The event listener is added in runOutsideAngular,\n * so all this code runs outside Angular as well.\n */\n _trapFocus(focusTrap, event) {\n const target = event.target;\n const focusTrapRoot = focusTrap._element;\n // Don't refocus if target was in an overlay, because the overlay might be associated\n // with an element inside the FocusTrap, ex. mat-select.\n if (target && !focusTrapRoot.contains(target) && !target.closest?.('div.cdk-overlay-pane')) {\n // Some legacy FocusTrap usages have logic that focuses some element on the page\n // just before FocusTrap is destroyed. For backwards compatibility, wait\n // to be sure FocusTrap is still enabled before refocusing.\n setTimeout(() => {\n // Check whether focus wasn't put back into the focus trap while the timeout was pending.\n if (focusTrap.enabled && !focusTrapRoot.contains(focusTrap._document.activeElement)) {\n focusTrap.focusFirstTabbableElement();\n }\n });\n }\n }\n}\n\n/** Injectable that ensures only the most recently enabled FocusTrap is active. */\nclass FocusTrapManager {\n constructor() {\n // A stack of the FocusTraps on the page. Only the FocusTrap at the\n // top of the stack is active.\n this._focusTrapStack = [];\n }\n /**\n * Disables the FocusTrap at the top of the stack, and then pushes\n * the new FocusTrap onto the stack.\n */\n register(focusTrap) {\n // Dedupe focusTraps that register multiple times.\n this._focusTrapStack = this._focusTrapStack.filter(ft => ft !== focusTrap);\n let stack = this._focusTrapStack;\n if (stack.length) {\n stack[stack.length - 1]._disable();\n }\n stack.push(focusTrap);\n focusTrap._enable();\n }\n /**\n * Removes the FocusTrap from the stack, and activates the\n * FocusTrap that is the new top of the stack.\n */\n deregister(focusTrap) {\n focusTrap._disable();\n const stack = this._focusTrapStack;\n const i = stack.indexOf(focusTrap);\n if (i !== -1) {\n stack.splice(i, 1);\n if (stack.length) {\n stack[stack.length - 1]._enable();\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: FocusTrapManager, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: FocusTrapManager, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: FocusTrapManager, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }] });\n\n/** Factory that allows easy instantiation of configurable focus traps. */\nclass ConfigurableFocusTrapFactory {\n constructor(_checker, _ngZone, _focusTrapManager, _document, _inertStrategy) {\n this._checker = _checker;\n this._ngZone = _ngZone;\n this._focusTrapManager = _focusTrapManager;\n this._document = _document;\n // TODO split up the strategies into different modules, similar to DateAdapter.\n this._inertStrategy = _inertStrategy || new EventListenerFocusTrapInertStrategy();\n }\n create(element, config = { defer: false }) {\n let configObject;\n if (typeof config === 'boolean') {\n configObject = { defer: config };\n }\n else {\n configObject = config;\n }\n return new ConfigurableFocusTrap(element, this._checker, this._ngZone, this._document, this._focusTrapManager, this._inertStrategy, configObject);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: ConfigurableFocusTrapFactory, deps: [{ token: InteractivityChecker }, { token: i0.NgZone }, { token: FocusTrapManager }, { token: DOCUMENT }, { token: FOCUS_TRAP_INERT_STRATEGY, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: ConfigurableFocusTrapFactory, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: ConfigurableFocusTrapFactory, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: InteractivityChecker }, { type: i0.NgZone }, { type: FocusTrapManager }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [FOCUS_TRAP_INERT_STRATEGY]\n }] }]; } });\n\n/** Gets whether an event could be a faked `mousedown` event dispatched by a screen reader. */\nfunction isFakeMousedownFromScreenReader(event) {\n // Some screen readers will dispatch a fake `mousedown` event when pressing enter or space on\n // a clickable element. We can distinguish these events when both `offsetX` and `offsetY` are\n // zero or `event.buttons` is zero, depending on the browser:\n // - `event.buttons` works on Firefox, but fails on Chrome.\n // - `offsetX` and `offsetY` work on Chrome, but fail on Firefox.\n // Note that there's an edge case where the user could click the 0x0 spot of the\n // screen themselves, but that is unlikely to contain interactive elements.\n return event.buttons === 0 || (event.offsetX === 0 && event.offsetY === 0);\n}\n/** Gets whether an event could be a faked `touchstart` event dispatched by a screen reader. */\nfunction isFakeTouchstartFromScreenReader(event) {\n const touch = (event.touches && event.touches[0]) || (event.changedTouches && event.changedTouches[0]);\n // A fake `touchstart` can be distinguished from a real one by looking at the `identifier`\n // which is typically >= 0 on a real device versus -1 from a screen reader. Just to be safe,\n // we can also look at `radiusX` and `radiusY`. This behavior was observed against a Windows 10\n // device with a touch screen running NVDA v2020.4 and Firefox 85 or Chrome 88.\n return (!!touch &&\n touch.identifier === -1 &&\n (touch.radiusX == null || touch.radiusX === 1) &&\n (touch.radiusY == null || touch.radiusY === 1));\n}\n\n/**\n * Injectable options for the InputModalityDetector. These are shallowly merged with the default\n * options.\n */\nconst INPUT_MODALITY_DETECTOR_OPTIONS = new InjectionToken('cdk-input-modality-detector-options');\n/**\n * Default options for the InputModalityDetector.\n *\n * Modifier keys are ignored by default (i.e. when pressed won't cause the service to detect\n * keyboard input modality) for two reasons:\n *\n * 1. Modifier keys are commonly used with mouse to perform actions such as 'right click' or 'open\n * in new tab', and are thus less representative of actual keyboard interaction.\n * 2. VoiceOver triggers some keyboard events when linearly navigating with Control + Option (but\n * confusingly not with Caps Lock). Thus, to have parity with other screen readers, we ignore\n * these keys so as to not update the input modality.\n *\n * Note that we do not by default ignore the right Meta key on Safari because it has the same key\n * code as the ContextMenu key on other browsers. When we switch to using event.key, we can\n * distinguish between the two.\n */\nconst INPUT_MODALITY_DETECTOR_DEFAULT_OPTIONS = {\n ignoreKeys: [ALT, CONTROL, MAC_META, META, SHIFT],\n};\n/**\n * The amount of time needed to pass after a touchstart event in order for a subsequent mousedown\n * event to be attributed as mouse and not touch.\n *\n * This is the value used by AngularJS Material. Through trial and error (on iPhone 6S) they found\n * that a value of around 650ms seems appropriate.\n */\nconst TOUCH_BUFFER_MS = 650;\n/**\n * Event listener options that enable capturing and also mark the listener as passive if the browser\n * supports it.\n */\nconst modalityEventListenerOptions = normalizePassiveListenerOptions({\n passive: true,\n capture: true,\n});\n/**\n * Service that detects the user's input modality.\n *\n * This service does not update the input modality when a user navigates with a screen reader\n * (e.g. linear navigation with VoiceOver, object navigation / browse mode with NVDA, virtual PC\n * cursor mode with JAWS). This is in part due to technical limitations (i.e. keyboard events do not\n * fire as expected in these modes) but is also arguably the correct behavior. Navigating with a\n * screen reader is akin to visually scanning a page, and should not be interpreted as actual user\n * input interaction.\n *\n * When a user is not navigating but *interacting* with a screen reader, this service attempts to\n * update the input modality to keyboard, but in general this service's behavior is largely\n * undefined.\n */\nclass InputModalityDetector {\n /** The most recently detected input modality. */\n get mostRecentModality() {\n return this._modality.value;\n }\n constructor(_platform, ngZone, document, options) {\n this._platform = _platform;\n /**\n * The most recently detected input modality event target. Is null if no input modality has been\n * detected or if the associated event target is null for some unknown reason.\n */\n this._mostRecentTarget = null;\n /** The underlying BehaviorSubject that emits whenever an input modality is detected. */\n this._modality = new BehaviorSubject(null);\n /**\n * The timestamp of the last touch input modality. Used to determine whether mousedown events\n * should be attributed to mouse or touch.\n */\n this._lastTouchMs = 0;\n /**\n * Handles keydown events. Must be an arrow function in order to preserve the context when it gets\n * bound.\n */\n this._onKeydown = (event) => {\n // If this is one of the keys we should ignore, then ignore it and don't update the input\n // modality to keyboard.\n if (this._options?.ignoreKeys?.some(keyCode => keyCode === event.keyCode)) {\n return;\n }\n this._modality.next('keyboard');\n this._mostRecentTarget = _getEventTarget(event);\n };\n /**\n * Handles mousedown events. Must be an arrow function in order to preserve the context when it\n * gets bound.\n */\n this._onMousedown = (event) => {\n // Touches trigger both touch and mouse events, so we need to distinguish between mouse events\n // that were triggered via mouse vs touch. To do so, check if the mouse event occurs closely\n // after the previous touch event.\n if (Date.now() - this._lastTouchMs < TOUCH_BUFFER_MS) {\n return;\n }\n // Fake mousedown events are fired by some screen readers when controls are activated by the\n // screen reader. Attribute them to keyboard input modality.\n this._modality.next(isFakeMousedownFromScreenReader(event) ? 'keyboard' : 'mouse');\n this._mostRecentTarget = _getEventTarget(event);\n };\n /**\n * Handles touchstart events. Must be an arrow function in order to preserve the context when it\n * gets bound.\n */\n this._onTouchstart = (event) => {\n // Same scenario as mentioned in _onMousedown, but on touch screen devices, fake touchstart\n // events are fired. Again, attribute to keyboard input modality.\n if (isFakeTouchstartFromScreenReader(event)) {\n this._modality.next('keyboard');\n return;\n }\n // Store the timestamp of this touch event, as it's used to distinguish between mouse events\n // triggered via mouse vs touch.\n this._lastTouchMs = Date.now();\n this._modality.next('touch');\n this._mostRecentTarget = _getEventTarget(event);\n };\n this._options = {\n ...INPUT_MODALITY_DETECTOR_DEFAULT_OPTIONS,\n ...options,\n };\n // Skip the first emission as it's null.\n this.modalityDetected = this._modality.pipe(skip(1));\n this.modalityChanged = this.modalityDetected.pipe(distinctUntilChanged());\n // If we're not in a browser, this service should do nothing, as there's no relevant input\n // modality to detect.\n if (_platform.isBrowser) {\n ngZone.runOutsideAngular(() => {\n document.addEventListener('keydown', this._onKeydown, modalityEventListenerOptions);\n document.addEventListener('mousedown', this._onMousedown, modalityEventListenerOptions);\n document.addEventListener('touchstart', this._onTouchstart, modalityEventListenerOptions);\n });\n }\n }\n ngOnDestroy() {\n this._modality.complete();\n if (this._platform.isBrowser) {\n document.removeEventListener('keydown', this._onKeydown, modalityEventListenerOptions);\n document.removeEventListener('mousedown', this._onMousedown, modalityEventListenerOptions);\n document.removeEventListener('touchstart', this._onTouchstart, modalityEventListenerOptions);\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: InputModalityDetector, deps: [{ token: i1.Platform }, { token: i0.NgZone }, { token: DOCUMENT }, { token: INPUT_MODALITY_DETECTOR_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: InputModalityDetector, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: InputModalityDetector, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: i1.Platform }, { type: i0.NgZone }, { type: Document, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [INPUT_MODALITY_DETECTOR_OPTIONS]\n }] }]; } });\n\nconst LIVE_ANNOUNCER_ELEMENT_TOKEN = new InjectionToken('liveAnnouncerElement', {\n providedIn: 'root',\n factory: LIVE_ANNOUNCER_ELEMENT_TOKEN_FACTORY,\n});\n/** @docs-private */\nfunction LIVE_ANNOUNCER_ELEMENT_TOKEN_FACTORY() {\n return null;\n}\n/** Injection token that can be used to configure the default options for the LiveAnnouncer. */\nconst LIVE_ANNOUNCER_DEFAULT_OPTIONS = new InjectionToken('LIVE_ANNOUNCER_DEFAULT_OPTIONS');\n\nlet uniqueIds = 0;\nclass LiveAnnouncer {\n constructor(elementToken, _ngZone, _document, _defaultOptions) {\n this._ngZone = _ngZone;\n this._defaultOptions = _defaultOptions;\n // We inject the live element and document as `any` because the constructor signature cannot\n // reference browser globals (HTMLElement, Document) on non-browser environments, since having\n // a class decorator causes TypeScript to preserve the constructor signature types.\n this._document = _document;\n this._liveElement = elementToken || this._createLiveElement();\n }\n announce(message, ...args) {\n const defaultOptions = this._defaultOptions;\n let politeness;\n let duration;\n if (args.length === 1 && typeof args[0] === 'number') {\n duration = args[0];\n }\n else {\n [politeness, duration] = args;\n }\n this.clear();\n clearTimeout(this._previousTimeout);\n if (!politeness) {\n politeness =\n defaultOptions && defaultOptions.politeness ? defaultOptions.politeness : 'polite';\n }\n if (duration == null && defaultOptions) {\n duration = defaultOptions.duration;\n }\n // TODO: ensure changing the politeness works on all environments we support.\n this._liveElement.setAttribute('aria-live', politeness);\n if (this._liveElement.id) {\n this._exposeAnnouncerToModals(this._liveElement.id);\n }\n // This 100ms timeout is necessary for some browser + screen-reader combinations:\n // - Both JAWS and NVDA over IE11 will not announce anything without a non-zero timeout.\n // - With Chrome and IE11 with NVDA or JAWS, a repeated (identical) message won't be read a\n // second time without clearing and then using a non-zero delay.\n // (using JAWS 17 at time of this writing).\n return this._ngZone.runOutsideAngular(() => {\n if (!this._currentPromise) {\n this._currentPromise = new Promise(resolve => (this._currentResolve = resolve));\n }\n clearTimeout(this._previousTimeout);\n this._previousTimeout = setTimeout(() => {\n this._liveElement.textContent = message;\n if (typeof duration === 'number') {\n this._previousTimeout = setTimeout(() => this.clear(), duration);\n }\n this._currentResolve();\n this._currentPromise = this._currentResolve = undefined;\n }, 100);\n return this._currentPromise;\n });\n }\n /**\n * Clears the current text from the announcer element. Can be used to prevent\n * screen readers from reading the text out again while the user is going\n * through the page landmarks.\n */\n clear() {\n if (this._liveElement) {\n this._liveElement.textContent = '';\n }\n }\n ngOnDestroy() {\n clearTimeout(this._previousTimeout);\n this._liveElement?.remove();\n this._liveElement = null;\n this._currentResolve?.();\n this._currentPromise = this._currentResolve = undefined;\n }\n _createLiveElement() {\n const elementClass = 'cdk-live-announcer-element';\n const previousElements = this._document.getElementsByClassName(elementClass);\n const liveEl = this._document.createElement('div');\n // Remove any old containers. This can happen when coming in from a server-side-rendered page.\n for (let i = 0; i < previousElements.length; i++) {\n previousElements[i].remove();\n }\n liveEl.classList.add(elementClass);\n liveEl.classList.add('cdk-visually-hidden');\n liveEl.setAttribute('aria-atomic', 'true');\n liveEl.setAttribute('aria-live', 'polite');\n liveEl.id = `cdk-live-announcer-${uniqueIds++}`;\n this._document.body.appendChild(liveEl);\n return liveEl;\n }\n /**\n * Some browsers won't expose the accessibility node of the live announcer element if there is an\n * `aria-modal` and the live announcer is outside of it. This method works around the issue by\n * pointing the `aria-owns` of all modals to the live announcer element.\n */\n _exposeAnnouncerToModals(id) {\n // Note that the selector here is limited to CDK overlays at the moment in order to reduce the\n // section of the DOM we need to look through. This should cover all the cases we support, but\n // the selector can be expanded if it turns out to be too narrow.\n const modals = this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal=\"true\"]');\n for (let i = 0; i < modals.length; i++) {\n const modal = modals[i];\n const ariaOwns = modal.getAttribute('aria-owns');\n if (!ariaOwns) {\n modal.setAttribute('aria-owns', id);\n }\n else if (ariaOwns.indexOf(id) === -1) {\n modal.setAttribute('aria-owns', ariaOwns + ' ' + id);\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: LiveAnnouncer, deps: [{ token: LIVE_ANNOUNCER_ELEMENT_TOKEN, optional: true }, { token: i0.NgZone }, { token: DOCUMENT }, { token: LIVE_ANNOUNCER_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: LiveAnnouncer, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: LiveAnnouncer, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [LIVE_ANNOUNCER_ELEMENT_TOKEN]\n }] }, { type: i0.NgZone }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [LIVE_ANNOUNCER_DEFAULT_OPTIONS]\n }] }]; } });\n/**\n * A directive that works similarly to aria-live, but uses the LiveAnnouncer to ensure compatibility\n * with a wider range of browsers and screen readers.\n */\nclass CdkAriaLive {\n /** The aria-live politeness level to use when announcing messages. */\n get politeness() {\n return this._politeness;\n }\n set politeness(value) {\n this._politeness = value === 'off' || value === 'assertive' ? value : 'polite';\n if (this._politeness === 'off') {\n if (this._subscription) {\n this._subscription.unsubscribe();\n this._subscription = null;\n }\n }\n else if (!this._subscription) {\n this._subscription = this._ngZone.runOutsideAngular(() => {\n return this._contentObserver.observe(this._elementRef).subscribe(() => {\n // Note that we use textContent here, rather than innerText, in order to avoid a reflow.\n const elementText = this._elementRef.nativeElement.textContent;\n // The `MutationObserver` fires also for attribute\n // changes which we don't want to announce.\n if (elementText !== this._previousAnnouncedText) {\n this._liveAnnouncer.announce(elementText, this._politeness, this.duration);\n this._previousAnnouncedText = elementText;\n }\n });\n });\n }\n }\n constructor(_elementRef, _liveAnnouncer, _contentObserver, _ngZone) {\n this._elementRef = _elementRef;\n this._liveAnnouncer = _liveAnnouncer;\n this._contentObserver = _contentObserver;\n this._ngZone = _ngZone;\n this._politeness = 'polite';\n }\n ngOnDestroy() {\n if (this._subscription) {\n this._subscription.unsubscribe();\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkAriaLive, deps: [{ token: i0.ElementRef }, { token: LiveAnnouncer }, { token: i1$1.ContentObserver }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkAriaLive, selector: \"[cdkAriaLive]\", inputs: { politeness: [\"cdkAriaLive\", \"politeness\"], duration: [\"cdkAriaLiveDuration\", \"duration\"] }, exportAs: [\"cdkAriaLive\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkAriaLive, decorators: [{\n type: Directive,\n args: [{\n selector: '[cdkAriaLive]',\n exportAs: 'cdkAriaLive',\n }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: LiveAnnouncer }, { type: i1$1.ContentObserver }, { type: i0.NgZone }]; }, propDecorators: { politeness: [{\n type: Input,\n args: ['cdkAriaLive']\n }], duration: [{\n type: Input,\n args: ['cdkAriaLiveDuration']\n }] } });\n\n/** InjectionToken for FocusMonitorOptions. */\nconst FOCUS_MONITOR_DEFAULT_OPTIONS = new InjectionToken('cdk-focus-monitor-default-options');\n/**\n * Event listener options that enable capturing and also\n * mark the listener as passive if the browser supports it.\n */\nconst captureEventListenerOptions = normalizePassiveListenerOptions({\n passive: true,\n capture: true,\n});\n/** Monitors mouse and keyboard events to determine the cause of focus events. */\nclass FocusMonitor {\n constructor(_ngZone, _platform, _inputModalityDetector, \n /** @breaking-change 11.0.0 make document required */\n document, options) {\n this._ngZone = _ngZone;\n this._platform = _platform;\n this._inputModalityDetector = _inputModalityDetector;\n /** The focus origin that the next focus event is a result of. */\n this._origin = null;\n /** Whether the window has just been focused. */\n this._windowFocused = false;\n /**\n * Whether the origin was determined via a touch interaction. Necessary as properly attributing\n * focus events to touch interactions requires special logic.\n */\n this._originFromTouchInteraction = false;\n /** Map of elements being monitored to their info. */\n this._elementInfo = new Map();\n /** The number of elements currently being monitored. */\n this._monitoredElementCount = 0;\n /**\n * Keeps track of the root nodes to which we've currently bound a focus/blur handler,\n * as well as the number of monitored elements that they contain. We have to treat focus/blur\n * handlers differently from the rest of the events, because the browser won't emit events\n * to the document when focus moves inside of a shadow root.\n */\n this._rootNodeFocusListenerCount = new Map();\n /**\n * Event listener for `focus` events on the window.\n * Needs to be an arrow function in order to preserve the context when it gets bound.\n */\n this._windowFocusListener = () => {\n // Make a note of when the window regains focus, so we can\n // restore the origin info for the focused element.\n this._windowFocused = true;\n this._windowFocusTimeoutId = window.setTimeout(() => (this._windowFocused = false));\n };\n /** Subject for stopping our InputModalityDetector subscription. */\n this._stopInputModalityDetector = new Subject();\n /**\n * Event listener for `focus` and 'blur' events on the document.\n * Needs to be an arrow function in order to preserve the context when it gets bound.\n */\n this._rootNodeFocusAndBlurListener = (event) => {\n const target = _getEventTarget(event);\n // We need to walk up the ancestor chain in order to support `checkChildren`.\n for (let element = target; element; element = element.parentElement) {\n if (event.type === 'focus') {\n this._onFocus(event, element);\n }\n else {\n this._onBlur(event, element);\n }\n }\n };\n this._document = document;\n this._detectionMode = options?.detectionMode || 0 /* FocusMonitorDetectionMode.IMMEDIATE */;\n }\n monitor(element, checkChildren = false) {\n const nativeElement = coerceElement(element);\n // Do nothing if we're not on the browser platform or the passed in node isn't an element.\n if (!this._platform.isBrowser || nativeElement.nodeType !== 1) {\n return of(null);\n }\n // If the element is inside the shadow DOM, we need to bind our focus/blur listeners to\n // the shadow root, rather than the `document`, because the browser won't emit focus events\n // to the `document`, if focus is moving within the same shadow root.\n const rootNode = _getShadowRoot(nativeElement) || this._getDocument();\n const cachedInfo = this._elementInfo.get(nativeElement);\n // Check if we're already monitoring this element.\n if (cachedInfo) {\n if (checkChildren) {\n // TODO(COMP-318): this can be problematic, because it'll turn all non-checkChildren\n // observers into ones that behave as if `checkChildren` was turned on. We need a more\n // robust solution.\n cachedInfo.checkChildren = true;\n }\n return cachedInfo.subject;\n }\n // Create monitored element info.\n const info = {\n checkChildren: checkChildren,\n subject: new Subject(),\n rootNode,\n };\n this._elementInfo.set(nativeElement, info);\n this._registerGlobalListeners(info);\n return info.subject;\n }\n stopMonitoring(element) {\n const nativeElement = coerceElement(element);\n const elementInfo = this._elementInfo.get(nativeElement);\n if (elementInfo) {\n elementInfo.subject.complete();\n this._setClasses(nativeElement);\n this._elementInfo.delete(nativeElement);\n this._removeGlobalListeners(elementInfo);\n }\n }\n focusVia(element, origin, options) {\n const nativeElement = coerceElement(element);\n const focusedElement = this._getDocument().activeElement;\n // If the element is focused already, calling `focus` again won't trigger the event listener\n // which means that the focus classes won't be updated. If that's the case, update the classes\n // directly without waiting for an event.\n if (nativeElement === focusedElement) {\n this._getClosestElementsInfo(nativeElement).forEach(([currentElement, info]) => this._originChanged(currentElement, origin, info));\n }\n else {\n this._setOrigin(origin);\n // `focus` isn't available on the server\n if (typeof nativeElement.focus === 'function') {\n nativeElement.focus(options);\n }\n }\n }\n ngOnDestroy() {\n this._elementInfo.forEach((_info, element) => this.stopMonitoring(element));\n }\n /** Access injected document if available or fallback to global document reference */\n _getDocument() {\n return this._document || document;\n }\n /** Use defaultView of injected document if available or fallback to global window reference */\n _getWindow() {\n const doc = this._getDocument();\n return doc.defaultView || window;\n }\n _getFocusOrigin(focusEventTarget) {\n if (this._origin) {\n // If the origin was realized via a touch interaction, we need to perform additional checks\n // to determine whether the focus origin should be attributed to touch or program.\n if (this._originFromTouchInteraction) {\n return this._shouldBeAttributedToTouch(focusEventTarget) ? 'touch' : 'program';\n }\n else {\n return this._origin;\n }\n }\n // If the window has just regained focus, we can restore the most recent origin from before the\n // window blurred. Otherwise, we've reached the point where we can't identify the source of the\n // focus. This typically means one of two things happened:\n //\n // 1) The element was programmatically focused, or\n // 2) The element was focused via screen reader navigation (which generally doesn't fire\n // events).\n //\n // Because we can't distinguish between these two cases, we default to setting `program`.\n if (this._windowFocused && this._lastFocusOrigin) {\n return this._lastFocusOrigin;\n }\n // If the interaction is coming from an input label, we consider it a mouse interactions.\n // This is a special case where focus moves on `click`, rather than `mousedown` which breaks\n // our detection, because all our assumptions are for `mousedown`. We need to handle this\n // special case, because it's very common for checkboxes and radio buttons.\n if (focusEventTarget && this._isLastInteractionFromInputLabel(focusEventTarget)) {\n return 'mouse';\n }\n return 'program';\n }\n /**\n * Returns whether the focus event should be attributed to touch. Recall that in IMMEDIATE mode, a\n * touch origin isn't immediately reset at the next tick (see _setOrigin). This means that when we\n * handle a focus event following a touch interaction, we need to determine whether (1) the focus\n * event was directly caused by the touch interaction or (2) the focus event was caused by a\n * subsequent programmatic focus call triggered by the touch interaction.\n * @param focusEventTarget The target of the focus event under examination.\n */\n _shouldBeAttributedToTouch(focusEventTarget) {\n // Please note that this check is not perfect. Consider the following edge case:\n //\n //
\n //
\n //
\n //\n // Suppose there is a FocusMonitor in IMMEDIATE mode attached to #parent. When the user touches\n // #child, #parent is programmatically focused. This code will attribute the focus to touch\n // instead of program. This is a relatively minor edge-case that can be worked around by using\n // focusVia(parent, 'program') to focus #parent.\n return (this._detectionMode === 1 /* FocusMonitorDetectionMode.EVENTUAL */ ||\n !!focusEventTarget?.contains(this._inputModalityDetector._mostRecentTarget));\n }\n /**\n * Sets the focus classes on the element based on the given focus origin.\n * @param element The element to update the classes on.\n * @param origin The focus origin.\n */\n _setClasses(element, origin) {\n element.classList.toggle('cdk-focused', !!origin);\n element.classList.toggle('cdk-touch-focused', origin === 'touch');\n element.classList.toggle('cdk-keyboard-focused', origin === 'keyboard');\n element.classList.toggle('cdk-mouse-focused', origin === 'mouse');\n element.classList.toggle('cdk-program-focused', origin === 'program');\n }\n /**\n * Updates the focus origin. If we're using immediate detection mode, we schedule an async\n * function to clear the origin at the end of a timeout. The duration of the timeout depends on\n * the origin being set.\n * @param origin The origin to set.\n * @param isFromInteraction Whether we are setting the origin from an interaction event.\n */\n _setOrigin(origin, isFromInteraction = false) {\n this._ngZone.runOutsideAngular(() => {\n this._origin = origin;\n this._originFromTouchInteraction = origin === 'touch' && isFromInteraction;\n // If we're in IMMEDIATE mode, reset the origin at the next tick (or in `TOUCH_BUFFER_MS` ms\n // for a touch event). We reset the origin at the next tick because Firefox focuses one tick\n // after the interaction event. We wait `TOUCH_BUFFER_MS` ms before resetting the origin for\n // a touch event because when a touch event is fired, the associated focus event isn't yet in\n // the event queue. Before doing so, clear any pending timeouts.\n if (this._detectionMode === 0 /* FocusMonitorDetectionMode.IMMEDIATE */) {\n clearTimeout(this._originTimeoutId);\n const ms = this._originFromTouchInteraction ? TOUCH_BUFFER_MS : 1;\n this._originTimeoutId = setTimeout(() => (this._origin = null), ms);\n }\n });\n }\n /**\n * Handles focus events on a registered element.\n * @param event The focus event.\n * @param element The monitored element.\n */\n _onFocus(event, element) {\n // NOTE(mmalerba): We currently set the classes based on the focus origin of the most recent\n // focus event affecting the monitored element. If we want to use the origin of the first event\n // instead we should check for the cdk-focused class here and return if the element already has\n // it. (This only matters for elements that have includesChildren = true).\n // If we are not counting child-element-focus as focused, make sure that the event target is the\n // monitored element itself.\n const elementInfo = this._elementInfo.get(element);\n const focusEventTarget = _getEventTarget(event);\n if (!elementInfo || (!elementInfo.checkChildren && element !== focusEventTarget)) {\n return;\n }\n this._originChanged(element, this._getFocusOrigin(focusEventTarget), elementInfo);\n }\n /**\n * Handles blur events on a registered element.\n * @param event The blur event.\n * @param element The monitored element.\n */\n _onBlur(event, element) {\n // If we are counting child-element-focus as focused, make sure that we aren't just blurring in\n // order to focus another child of the monitored element.\n const elementInfo = this._elementInfo.get(element);\n if (!elementInfo ||\n (elementInfo.checkChildren &&\n event.relatedTarget instanceof Node &&\n element.contains(event.relatedTarget))) {\n return;\n }\n this._setClasses(element);\n this._emitOrigin(elementInfo, null);\n }\n _emitOrigin(info, origin) {\n if (info.subject.observers.length) {\n this._ngZone.run(() => info.subject.next(origin));\n }\n }\n _registerGlobalListeners(elementInfo) {\n if (!this._platform.isBrowser) {\n return;\n }\n const rootNode = elementInfo.rootNode;\n const rootNodeFocusListeners = this._rootNodeFocusListenerCount.get(rootNode) || 0;\n if (!rootNodeFocusListeners) {\n this._ngZone.runOutsideAngular(() => {\n rootNode.addEventListener('focus', this._rootNodeFocusAndBlurListener, captureEventListenerOptions);\n rootNode.addEventListener('blur', this._rootNodeFocusAndBlurListener, captureEventListenerOptions);\n });\n }\n this._rootNodeFocusListenerCount.set(rootNode, rootNodeFocusListeners + 1);\n // Register global listeners when first element is monitored.\n if (++this._monitoredElementCount === 1) {\n // Note: we listen to events in the capture phase so we\n // can detect them even if the user stops propagation.\n this._ngZone.runOutsideAngular(() => {\n const window = this._getWindow();\n window.addEventListener('focus', this._windowFocusListener);\n });\n // The InputModalityDetector is also just a collection of global listeners.\n this._inputModalityDetector.modalityDetected\n .pipe(takeUntil(this._stopInputModalityDetector))\n .subscribe(modality => {\n this._setOrigin(modality, true /* isFromInteraction */);\n });\n }\n }\n _removeGlobalListeners(elementInfo) {\n const rootNode = elementInfo.rootNode;\n if (this._rootNodeFocusListenerCount.has(rootNode)) {\n const rootNodeFocusListeners = this._rootNodeFocusListenerCount.get(rootNode);\n if (rootNodeFocusListeners > 1) {\n this._rootNodeFocusListenerCount.set(rootNode, rootNodeFocusListeners - 1);\n }\n else {\n rootNode.removeEventListener('focus', this._rootNodeFocusAndBlurListener, captureEventListenerOptions);\n rootNode.removeEventListener('blur', this._rootNodeFocusAndBlurListener, captureEventListenerOptions);\n this._rootNodeFocusListenerCount.delete(rootNode);\n }\n }\n // Unregister global listeners when last element is unmonitored.\n if (!--this._monitoredElementCount) {\n const window = this._getWindow();\n window.removeEventListener('focus', this._windowFocusListener);\n // Equivalently, stop our InputModalityDetector subscription.\n this._stopInputModalityDetector.next();\n // Clear timeouts for all potentially pending timeouts to prevent the leaks.\n clearTimeout(this._windowFocusTimeoutId);\n clearTimeout(this._originTimeoutId);\n }\n }\n /** Updates all the state on an element once its focus origin has changed. */\n _originChanged(element, origin, elementInfo) {\n this._setClasses(element, origin);\n this._emitOrigin(elementInfo, origin);\n this._lastFocusOrigin = origin;\n }\n /**\n * Collects the `MonitoredElementInfo` of a particular element and\n * all of its ancestors that have enabled `checkChildren`.\n * @param element Element from which to start the search.\n */\n _getClosestElementsInfo(element) {\n const results = [];\n this._elementInfo.forEach((info, currentElement) => {\n if (currentElement === element || (info.checkChildren && currentElement.contains(element))) {\n results.push([currentElement, info]);\n }\n });\n return results;\n }\n /**\n * Returns whether an interaction is likely to have come from the user clicking the `label` of\n * an `input` or `textarea` in order to focus it.\n * @param focusEventTarget Target currently receiving focus.\n */\n _isLastInteractionFromInputLabel(focusEventTarget) {\n const { _mostRecentTarget: mostRecentTarget, mostRecentModality } = this._inputModalityDetector;\n // If the last interaction used the mouse on an element contained by one of the labels\n // of an `input`/`textarea` that is currently focused, it is very likely that the\n // user redirected focus using the label.\n if (mostRecentModality !== 'mouse' ||\n !mostRecentTarget ||\n mostRecentTarget === focusEventTarget ||\n (focusEventTarget.nodeName !== 'INPUT' && focusEventTarget.nodeName !== 'TEXTAREA') ||\n focusEventTarget.disabled) {\n return false;\n }\n const labels = focusEventTarget.labels;\n if (labels) {\n for (let i = 0; i < labels.length; i++) {\n if (labels[i].contains(mostRecentTarget)) {\n return true;\n }\n }\n }\n return false;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: FocusMonitor, deps: [{ token: i0.NgZone }, { token: i1.Platform }, { token: InputModalityDetector }, { token: DOCUMENT, optional: true }, { token: FOCUS_MONITOR_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: FocusMonitor, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: FocusMonitor, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i1.Platform }, { type: InputModalityDetector }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [FOCUS_MONITOR_DEFAULT_OPTIONS]\n }] }]; } });\n/**\n * Directive that determines how a particular element was focused (via keyboard, mouse, touch, or\n * programmatically) and adds corresponding classes to the element.\n *\n * There are two variants of this directive:\n * 1) cdkMonitorElementFocus: does not consider an element to be focused if one of its children is\n * focused.\n * 2) cdkMonitorSubtreeFocus: considers an element focused if it or any of its children are focused.\n */\nclass CdkMonitorFocus {\n constructor(_elementRef, _focusMonitor) {\n this._elementRef = _elementRef;\n this._focusMonitor = _focusMonitor;\n this._focusOrigin = null;\n this.cdkFocusChange = new EventEmitter();\n }\n get focusOrigin() {\n return this._focusOrigin;\n }\n ngAfterViewInit() {\n const element = this._elementRef.nativeElement;\n this._monitorSubscription = this._focusMonitor\n .monitor(element, element.nodeType === 1 && element.hasAttribute('cdkMonitorSubtreeFocus'))\n .subscribe(origin => {\n this._focusOrigin = origin;\n this.cdkFocusChange.emit(origin);\n });\n }\n ngOnDestroy() {\n this._focusMonitor.stopMonitoring(this._elementRef);\n if (this._monitorSubscription) {\n this._monitorSubscription.unsubscribe();\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkMonitorFocus, deps: [{ token: i0.ElementRef }, { token: FocusMonitor }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkMonitorFocus, selector: \"[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]\", outputs: { cdkFocusChange: \"cdkFocusChange\" }, exportAs: [\"cdkMonitorFocus\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkMonitorFocus, decorators: [{\n type: Directive,\n args: [{\n selector: '[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]',\n exportAs: 'cdkMonitorFocus',\n }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FocusMonitor }]; }, propDecorators: { cdkFocusChange: [{\n type: Output\n }] } });\n\n/** CSS class applied to the document body when in black-on-white high-contrast mode. */\nconst BLACK_ON_WHITE_CSS_CLASS = 'cdk-high-contrast-black-on-white';\n/** CSS class applied to the document body when in white-on-black high-contrast mode. */\nconst WHITE_ON_BLACK_CSS_CLASS = 'cdk-high-contrast-white-on-black';\n/** CSS class applied to the document body when in high-contrast mode. */\nconst HIGH_CONTRAST_MODE_ACTIVE_CSS_CLASS = 'cdk-high-contrast-active';\n/**\n * Service to determine whether the browser is currently in a high-contrast-mode environment.\n *\n * Microsoft Windows supports an accessibility feature called \"High Contrast Mode\". This mode\n * changes the appearance of all applications, including web applications, to dramatically increase\n * contrast.\n *\n * IE, Edge, and Firefox currently support this mode. Chrome does not support Windows High Contrast\n * Mode. This service does not detect high-contrast mode as added by the Chrome \"High Contrast\"\n * browser extension.\n */\nclass HighContrastModeDetector {\n constructor(_platform, document) {\n this._platform = _platform;\n this._document = document;\n this._breakpointSubscription = inject(BreakpointObserver)\n .observe('(forced-colors: active)')\n .subscribe(() => {\n if (this._hasCheckedHighContrastMode) {\n this._hasCheckedHighContrastMode = false;\n this._applyBodyHighContrastModeCssClasses();\n }\n });\n }\n /** Gets the current high-contrast-mode for the page. */\n getHighContrastMode() {\n if (!this._platform.isBrowser) {\n return 0 /* HighContrastMode.NONE */;\n }\n // Create a test element with an arbitrary background-color that is neither black nor\n // white; high-contrast mode will coerce the color to either black or white. Also ensure that\n // appending the test element to the DOM does not affect layout by absolutely positioning it\n const testElement = this._document.createElement('div');\n testElement.style.backgroundColor = 'rgb(1,2,3)';\n testElement.style.position = 'absolute';\n this._document.body.appendChild(testElement);\n // Get the computed style for the background color, collapsing spaces to normalize between\n // browsers. Once we get this color, we no longer need the test element. Access the `window`\n // via the document so we can fake it in tests. Note that we have extra null checks, because\n // this logic will likely run during app bootstrap and throwing can break the entire app.\n const documentWindow = this._document.defaultView || window;\n const computedStyle = documentWindow && documentWindow.getComputedStyle\n ? documentWindow.getComputedStyle(testElement)\n : null;\n const computedColor = ((computedStyle && computedStyle.backgroundColor) || '').replace(/ /g, '');\n testElement.remove();\n switch (computedColor) {\n // Pre Windows 11 dark theme.\n case 'rgb(0,0,0)':\n // Windows 11 dark themes.\n case 'rgb(45,50,54)':\n case 'rgb(32,32,32)':\n return 2 /* HighContrastMode.WHITE_ON_BLACK */;\n // Pre Windows 11 light theme.\n case 'rgb(255,255,255)':\n // Windows 11 light theme.\n case 'rgb(255,250,239)':\n return 1 /* HighContrastMode.BLACK_ON_WHITE */;\n }\n return 0 /* HighContrastMode.NONE */;\n }\n ngOnDestroy() {\n this._breakpointSubscription.unsubscribe();\n }\n /** Applies CSS classes indicating high-contrast mode to document body (browser-only). */\n _applyBodyHighContrastModeCssClasses() {\n if (!this._hasCheckedHighContrastMode && this._platform.isBrowser && this._document.body) {\n const bodyClasses = this._document.body.classList;\n bodyClasses.remove(HIGH_CONTRAST_MODE_ACTIVE_CSS_CLASS, BLACK_ON_WHITE_CSS_CLASS, WHITE_ON_BLACK_CSS_CLASS);\n this._hasCheckedHighContrastMode = true;\n const mode = this.getHighContrastMode();\n if (mode === 1 /* HighContrastMode.BLACK_ON_WHITE */) {\n bodyClasses.add(HIGH_CONTRAST_MODE_ACTIVE_CSS_CLASS, BLACK_ON_WHITE_CSS_CLASS);\n }\n else if (mode === 2 /* HighContrastMode.WHITE_ON_BLACK */) {\n bodyClasses.add(HIGH_CONTRAST_MODE_ACTIVE_CSS_CLASS, WHITE_ON_BLACK_CSS_CLASS);\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: HighContrastModeDetector, deps: [{ token: i1.Platform }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: HighContrastModeDetector, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: HighContrastModeDetector, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: i1.Platform }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }]; } });\n\nclass A11yModule {\n constructor(highContrastModeDetector) {\n highContrastModeDetector._applyBodyHighContrastModeCssClasses();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: A11yModule, deps: [{ token: HighContrastModeDetector }], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: A11yModule, declarations: [CdkAriaLive, CdkTrapFocus, CdkMonitorFocus], imports: [ObserversModule], exports: [CdkAriaLive, CdkTrapFocus, CdkMonitorFocus] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: A11yModule, imports: [ObserversModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: A11yModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [ObserversModule],\n declarations: [CdkAriaLive, CdkTrapFocus, CdkMonitorFocus],\n exports: [CdkAriaLive, CdkTrapFocus, CdkMonitorFocus],\n }]\n }], ctorParameters: function () { return [{ type: HighContrastModeDetector }]; } });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { A11yModule, ActiveDescendantKeyManager, AriaDescriber, CDK_DESCRIBEDBY_HOST_ATTRIBUTE, CDK_DESCRIBEDBY_ID_PREFIX, CdkAriaLive, CdkMonitorFocus, CdkTrapFocus, ConfigurableFocusTrap, ConfigurableFocusTrapFactory, EventListenerFocusTrapInertStrategy, FOCUS_MONITOR_DEFAULT_OPTIONS, FOCUS_TRAP_INERT_STRATEGY, FocusKeyManager, FocusMonitor, FocusTrap, FocusTrapFactory, HighContrastModeDetector, INPUT_MODALITY_DETECTOR_DEFAULT_OPTIONS, INPUT_MODALITY_DETECTOR_OPTIONS, InputModalityDetector, InteractivityChecker, IsFocusableConfig, LIVE_ANNOUNCER_DEFAULT_OPTIONS, LIVE_ANNOUNCER_ELEMENT_TOKEN, LIVE_ANNOUNCER_ELEMENT_TOKEN_FACTORY, ListKeyManager, LiveAnnouncer, MESSAGES_CONTAINER_ID, isFakeMousedownFromScreenReader, isFakeTouchstartFromScreenReader };\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import toPropertyKey from \"./toPropertyKey.js\";\nexport default function _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import defineProperty from \"./defineProperty.js\";\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n return keys;\n}\nexport default function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}","export default function _iterableToArrayLimit(arr, i) {\n var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"];\n if (null != _i) {\n var _s,\n _e,\n _x,\n _r,\n _arr = [],\n _n = !0,\n _d = !1;\n try {\n if (_x = (_i = _i.call(arr)).next, 0 === i) {\n if (Object(_i) !== _i) return;\n _n = !1;\n } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);\n } catch (err) {\n _d = !0, _e = err;\n } finally {\n try {\n if (!_n && null != _i[\"return\"] && (_r = _i[\"return\"](), Object(_r) !== _r)) return;\n } finally {\n if (_d) throw _e;\n }\n }\n return _arr;\n }\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57]} \ No newline at end of file diff --git a/1821.00aad28c06106961.js b/1821.00aad28c06106961.js new file mode 100644 index 0000000..b4de98b --- /dev/null +++ b/1821.00aad28c06106961.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[1821,5106,7376,5187,4091,1217,7208,4968,6785,4155,1084,6896,7920,6980,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,8061,4680,2111,3326,8596,8352,5501,882,3098,8467,6578,8608,8443,7328,6441,4902,5915,3278,5391,6748,1551,6763,4151,5069,7432,8071,6618],{37400:(c,_,e)=>{e.d(_,{D:()=>O});var o=e(54987),u=e(8728),t=e(41944);function n(i){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,t.e)(function(h,y){y.add(i.schedule(function(){return h.subscribe(y)},l))})}var a=e(90833),v=e(67321),b=e(92971),d=e(1817);function p(i,l){if(!i)throw new Error("Iterable cannot be null");return new a.y(function(h){(0,d.f)(h,l,function(){var y=i[Symbol.asyncIterator]();(0,d.f)(h,l,function(){y.next().then(function(A){A.done?h.complete():h.next(A.value)})},0,!0)})})}var P=e(21331),E=e(79548),D=e(99806),I=e(23433),T=e(80470),R=e(27785),g=e(20181);function O(i,l){return l?function Z(i,l){if(null!=i){if((0,P.c)(i))return function r(i,l){return(0,o.Xf)(i).pipe(n(l),(0,u.Q)(l))}(i,l);if((0,D.z)(i))return function s(i,l){return new a.y(function(h){var y=0;return l.schedule(function(){y===i.length?h.complete():(h.next(i[y++]),h.closed||this.schedule())})})}(i,l);if((0,E.t)(i))return function f(i,l){return(0,o.Xf)(i).pipe(n(l),(0,u.Q)(l))}(i,l);if((0,T.D)(i))return p(i,l);if((0,I.T)(i))return function m(i,l){return new a.y(function(h){var y;return(0,d.f)(h,l,function(){y=i[v.h](),(0,d.f)(h,l,function(){var A,S;try{var w=y.next();A=w.value,S=w.done}catch(L){return void h.error(L)}S?h.complete():h.next(A)},0,!0)}),function(){return(0,b.m)(y?.return)&&y.return()}})}(i,l);if((0,g.L)(i))return function M(i,l){return p((0,g.Q)(i),l)}(i,l)}throw(0,R.z)(i)}(i,l):(0,o.Xf)(i)}},10745:(c,_,e)=>{e.d(_,{of:()=>t});var o=e(10420),u=e(37400);function t(){for(var n=arguments.length,r=new Array(n),f=0;f{e.d(_,{Q:()=>b,x:()=>v});var o=e(78069),u=e(48047),t=e(35488),n=e(24582),r=e(28694),f=e(4089),a=e(20265);function v(d,m,p,P,E){return new b(d,m,p,P,E)}var b=function(d){(0,n.Z)(p,d);var m=(0,r.Z)(p);function p(P,E,D,I,T,R){var g,M,Z,O;return(0,o.Z)(this,p),(O=m.call(this,P)).onFinalize=T,O.shouldUnsubscribe=R,O._next=E?function(i){try{E(i)}catch(l){P.error(l)}}:(0,f.Z)((g=(0,t.Z)(O),(0,a.Z)(p.prototype)),"_next",g),O._error=I?function(i){try{I(i)}catch(l){P.error(l)}finally{this.unsubscribe()}}:(0,f.Z)((M=(0,t.Z)(O),(0,a.Z)(p.prototype)),"_error",M),O._complete=D?function(){try{D()}catch(i){P.error(i)}finally{this.unsubscribe()}}:(0,f.Z)((Z=(0,t.Z)(O),(0,a.Z)(p.prototype)),"_complete",Z),O}return(0,u.Z)(p,[{key:"unsubscribe",value:function(){var E;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var D=this.closed;(0,f.Z)((0,a.Z)(p.prototype),"unsubscribe",this).call(this),!D&&(null===(E=this.onFinalize)||void 0===E||E.call(this))}}}]),p}(e(5463).Lv)},8728:(c,_,e)=>{e.d(_,{Q:()=>n});var o=e(1817),u=e(41944),t=e(93945);function n(r){var f=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,u.e)(function(a,s){a.subscribe((0,t.x)(s,function(v){return(0,o.f)(s,r,function(){return s.next(v)},f)},function(){return(0,o.f)(s,r,function(){return s.complete()},f)},function(v){return(0,o.f)(s,r,function(){return s.error(v)},f)}))})}},10420:(c,_,e)=>{e.d(_,{_6:()=>f,jO:()=>n,yG:()=>r});var o=e(92971),u=e(59867);function t(a){return a[a.length-1]}function n(a){return(0,o.m)(t(a))?a.pop():void 0}function r(a){return(0,u.K)(t(a))?a.pop():void 0}function f(a,s){return"number"==typeof t(a)?a.pop():s}},1817:(c,_,e)=>{function o(u,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,f=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=t.schedule(function(){n(),f?u.add(this.schedule(null,r)):this.unsubscribe()},r);if(u.add(a),!f)return a}e.d(_,{f:()=>o})},59867:(c,_,e)=>{e.d(_,{K:()=>u});var o=e(92971);function u(t){return t&&(0,o.m)(t.schedule)}},41944:(c,_,e)=>{e.d(_,{A:()=>u,e:()=>t});var o=e(92971);function u(n){return(0,o.m)(n?.lift)}function t(n){return function(r){if(u(r))return r.lift(function(f){try{return n(f,this)}catch(a){this.error(a)}});throw new TypeError("Unable to lift unknown Observable type")}}},44841:(c,_,e)=>{function o(u,t){(null==t||t>u.length)&&(t=u.length);for(var n=0,r=new Array(t);no})},35488:(c,_,e)=>{function o(u){if(void 0===u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}e.d(_,{Z:()=>o})},95106:(c,_,e)=>{e.d(_,{Z:()=>u});var o=e(44206);function u(t,n){var r=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=(0,o.Z)(t))||n&&t&&"number"==typeof t.length){r&&(t=r);var f=0,a=function(){};return{s:a,n:function(){return f>=t.length?{done:!0}:{done:!1,value:t[f++]}},e:function(m){throw m},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var b,s=!0,v=!1;return{s:function(){r=r.call(t)},n:function(){var m=r.next();return s=m.done,m},e:function(m){v=!0,b=m},f:function(){try{!s&&null!=r.return&&r.return()}finally{if(v)throw b}}}}},28694:(c,_,e)=>{e.d(_,{Z:()=>f});var o=e(20265),u=e(98568),t=e(43445),n=e(35488);function f(a){var s=(0,u.Z)();return function(){var d,b=(0,o.Z)(a);if(s){var m=(0,o.Z)(this).constructor;d=Reflect.construct(b,arguments,m)}else d=b.apply(this,arguments);return function r(a,s){if(s&&("object"===(0,t.Z)(s)||"function"==typeof s))return s;if(void 0!==s)throw new TypeError("Derived constructors may only return object or undefined");return(0,n.Z)(a)}(this,d)}}},4089:(c,_,e)=>{e.d(_,{Z:()=>t});var o=e(20265);function t(){return t=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(r,f,a){var s=function u(n,r){for(;!Object.prototype.hasOwnProperty.call(n,r)&&null!==(n=(0,o.Z)(n)););return n}(r,f);if(s){var v=Object.getOwnPropertyDescriptor(s,f);return v.get?v.get.call(arguments.length<3?r:a):v.value}},t.apply(this,arguments)}},20265:(c,_,e)=>{function o(u){return(o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)})(u)}e.d(_,{Z:()=>o})},24582:(c,_,e)=>{e.d(_,{Z:()=>u});var o=e(10006);function u(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&(0,o.Z)(t,n)}},98568:(c,_,e)=>{function o(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(_,{Z:()=>o})},4826:(c,_,e)=>{function o(u){if(typeof Symbol<"u"&&null!=u[Symbol.iterator]||null!=u["@@iterator"])return Array.from(u)}e.d(_,{Z:()=>o})},10006:(c,_,e)=>{function o(u,t){return(o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,f){return r.__proto__=f,r})(u,t)}e.d(_,{Z:()=>o})},86170:(c,_,e)=>{e.d(_,{Z:()=>f});var o=e(44841),t=e(4826),n=e(44206);function f(a){return function u(a){if(Array.isArray(a))return(0,o.Z)(a)}(a)||(0,t.Z)(a)||(0,n.Z)(a)||function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(c,_,e)=>{e.d(_,{Z:()=>u});var o=e(44841);function u(t,n){if(t){if("string"==typeof t)return(0,o.Z)(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return(0,o.Z)(t,n)}}}}]); +//# sourceMappingURL=1821.00aad28c06106961.js.map \ No newline at end of file diff --git a/1821.00aad28c06106961.js.map b/1821.00aad28c06106961.js.map new file mode 100644 index 0000000..36e0f4a --- /dev/null +++ b/1821.00aad28c06106961.js.map @@ -0,0 +1 @@ +{"version":3,"file":"1821.00aad28c06106961.js","mappings":"gYACO,SAASA,EAAYC,GAAsB,IAAXC,EAAKC,UAAAC,OAAA,QAAAC,IAAAF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BChBe,SAAAM,IAEf,UADA3B,QAAA,MAAAA,QAAAC,WACAD,QAAAC,UAAA2B,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAAnF,UAAAoF,QAAAzF,KAAA0D,QAAAC,UAAA6B,QAAA,mBACA,CACA,OACA,QACA,CACA,kCCVe,SAAAE,EAAAC,GACf,UAAArJ,OAAA,WAAAqJ,EAAArJ,OAAAD,WAAA,MAAAsJ,EAAA,qBAAA/G,MAAA9B,KAAA6I,EACA,mCCFe,SAAAC,EAAAzD,EAAA0D,GACf,OAAAD,EAAApB,OAAAI,eAAAJ,OAAAI,eAAAX,OAAA,SAAA9B,EAAA0D,GACA,OAAA1D,EAAA0C,UAAAgB,EACA1D,CACA,GACAA,EAAA0D,EACA,wFCFe,SAAAC,EAAAhF,GACf,OCJe,SAAAiF,EAAAjF,GACf,GAAAlC,MAAA0D,QAAAxB,GAAA,SAAiCkF,EAAAxD,GAAgB1B,EACjD,CDESiF,CAAiBjF,KAAA,EAASmF,EAAAzD,GAAe1B,KAAA,EAASoF,EAAA1D,GAA0B1B,IELtE,SAAAqF,IACf,UAAAvE,UAAA,uIACA,CFG8FuE,EAC9F,mDGLe,SAAAC,EAAAjE,EAAAkE,GACf,GAAAlE,EACA,qBAAAA,EAAA,SAAoCmE,EAAA9D,GAAgBL,EAAAkE,GACpD,IAAA1D,EAAA6B,OAAAnE,UAAAkG,SAAAvG,KAAAmC,GAAAqE,MAAA,MAEA,GADA,WAAA7D,GAAAR,EAAAsB,cAAAd,EAAAR,EAAAsB,YAAAgD,MACA,QAAA9D,GAAA,QAAAA,EAAA,OAAA/D,MAAA9B,KAAAqF,GACA,iBAAAQ,GAAA,2CAAA+D,KAAA/D,GAAA,SAAsF2D,EAAA9D,GAAgBL,EAAAkE,EAAA,CACtG","names":["subscribeOn","scheduler","delay","arguments","length","undefined","operate","source","subscriber","add","schedule","subscribe","scheduleAsyncIterable","input","Error","Observable","executeSchedule","iterator","Symbol","asyncIterator","next","then","result","done","complete","value","from","scheduled","isInteropObservable","scheduleObservable","innerFrom","pipe","observeOn","isArrayLike","scheduleArray","i","closed","this","isPromise","schedulePromise","isAsyncIterable","isIterable","scheduleIterable","Symbol_iterator","_iterator$next","err","error","isFunction","return","isReadableStreamLike","scheduleReadableStreamLike","readableStreamLikeToAsyncGenerator","createInvalidObservableTypeError","of","_len","args","Array","_key","popScheduler","createOperatorSubscriber","destination","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","_inherits","_super","_createSuper","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_this","_classCallCheck","call","_next","_get","_assertThisInitialized","_getPrototypeOf","prototype","_error","unsubscribe","_complete","_createClass","key","_a","Subscriber","last","arr","popResultSelector","pop","isScheduler","popNumber","defaultValue","parentSubscription","work","repeat","scheduleSubscription","hasLift","lift","init","liftedSource","TypeError","_arrayLikeToArray","len","arr2","self","ReferenceError","_createForOfIteratorHelper","o","allowArrayLike","it","isArray","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","s","n","e","_e","f","normalCompletion","didErr","step","_e2","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Super","getPrototypeOf","NewTarget","constructor","Reflect","construct","apply","_possibleConstructorReturn","esm_typeof","assertThisInitialized","get","bind","target","property","receiver","base","_superPropBase","object","Object","hasOwnProperty","desc","getOwnPropertyDescriptor","setPrototypeOf","__proto__","subClass","superClass","create","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_iterableToArray","iter","_setPrototypeOf","p","_toConsumableArray","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","toString","slice","name","test"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleAsyncIterable.js","./node_modules/rxjs/dist/esm/internal/observable/from.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduled.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleObservable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleArray.js","./node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleIterable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleReadableStreamLike.js","./node_modules/rxjs/dist/esm/internal/observable/of.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/observeOn.js","./node_modules/rxjs/dist/esm/internal/util/args.js","./node_modules/rxjs/dist/esm/internal/util/executeSchedule.js","./node_modules/rxjs/dist/esm/internal/util/isScheduler.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { operate } from '../util/lift';\nexport function subscribeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay));\n });\n}\n","import { Observable } from '../Observable';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleAsyncIterable(input, scheduler) {\n if (!input) {\n throw new Error('Iterable cannot be null');\n }\n return new Observable((subscriber) => {\n executeSchedule(subscriber, scheduler, () => {\n const iterator = input[Symbol.asyncIterator]();\n executeSchedule(subscriber, scheduler, () => {\n iterator.next().then((result) => {\n if (result.done) {\n subscriber.complete();\n }\n else {\n subscriber.next(result.value);\n }\n });\n }, 0, true);\n });\n });\n}\n","import { scheduled } from '../scheduled/scheduled';\nimport { innerFrom } from './innerFrom';\nexport function from(input, scheduler) {\n return scheduler ? scheduled(input, scheduler) : innerFrom(input);\n}\n","import { scheduleObservable } from './scheduleObservable';\nimport { schedulePromise } from './schedulePromise';\nimport { scheduleArray } from './scheduleArray';\nimport { scheduleIterable } from './scheduleIterable';\nimport { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isPromise } from '../util/isPromise';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isIterable } from '../util/isIterable';\nimport { isAsyncIterable } from '../util/isAsyncIterable';\nimport { createInvalidObservableTypeError } from '../util/throwUnobservableError';\nimport { isReadableStreamLike } from '../util/isReadableStreamLike';\nimport { scheduleReadableStreamLike } from './scheduleReadableStreamLike';\nexport function scheduled(input, scheduler) {\n if (input != null) {\n if (isInteropObservable(input)) {\n return scheduleObservable(input, scheduler);\n }\n if (isArrayLike(input)) {\n return scheduleArray(input, scheduler);\n }\n if (isPromise(input)) {\n return schedulePromise(input, scheduler);\n }\n if (isAsyncIterable(input)) {\n return scheduleAsyncIterable(input, scheduler);\n }\n if (isIterable(input)) {\n return scheduleIterable(input, scheduler);\n }\n if (isReadableStreamLike(input)) {\n return scheduleReadableStreamLike(input, scheduler);\n }\n }\n throw createInvalidObservableTypeError(input);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function scheduleObservable(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nexport function scheduleArray(input, scheduler) {\n return new Observable((subscriber) => {\n let i = 0;\n return scheduler.schedule(function () {\n if (i === input.length) {\n subscriber.complete();\n }\n else {\n subscriber.next(input[i++]);\n if (!subscriber.closed) {\n this.schedule();\n }\n }\n });\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function schedulePromise(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from '../util/isFunction';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleIterable(input, scheduler) {\n return new Observable((subscriber) => {\n let iterator;\n executeSchedule(subscriber, scheduler, () => {\n iterator = input[Symbol_iterator]();\n executeSchedule(subscriber, scheduler, () => {\n let value;\n let done;\n try {\n ({ value, done } = iterator.next());\n }\n catch (err) {\n subscriber.error(err);\n return;\n }\n if (done) {\n subscriber.complete();\n }\n else {\n subscriber.next(value);\n }\n }, 0, true);\n });\n return () => isFunction(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return();\n });\n}\n","import { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { readableStreamLikeToAsyncGenerator } from '../util/isReadableStreamLike';\nexport function scheduleReadableStreamLike(input, scheduler) {\n return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);\n}\n","import { popScheduler } from '../util/args';\nimport { from } from './from';\nexport function of(...args) {\n const scheduler = popScheduler(args);\n return from(args, scheduler);\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","import { executeSchedule } from '../util/executeSchedule';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function observeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, (value) => executeSchedule(subscriber, scheduler, () => subscriber.next(value), delay), () => executeSchedule(subscriber, scheduler, () => subscriber.complete(), delay), (err) => executeSchedule(subscriber, scheduler, () => subscriber.error(err), delay)));\n });\n}\n","import { isFunction } from './isFunction';\nimport { isScheduler } from './isScheduler';\nfunction last(arr) {\n return arr[arr.length - 1];\n}\nexport function popResultSelector(args) {\n return isFunction(last(args)) ? args.pop() : undefined;\n}\nexport function popScheduler(args) {\n return isScheduler(last(args)) ? args.pop() : undefined;\n}\nexport function popNumber(args, defaultValue) {\n return typeof last(args) === 'number' ? args.pop() : defaultValue;\n}\n","export function executeSchedule(parentSubscription, scheduler, work, delay = 0, repeat = false) {\n const scheduleSubscription = scheduler.schedule(function () {\n work();\n if (repeat) {\n parentSubscription.add(this.schedule(null, delay));\n }\n else {\n this.unsubscribe();\n }\n }, delay);\n parentSubscription.add(scheduleSubscription);\n if (!repeat) {\n return scheduleSubscription;\n }\n}\n","import { isFunction } from './isFunction';\nexport function isScheduler(value) {\n return value && isFunction(value.schedule);\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31]} \ No newline at end of file diff --git a/188.72dfea1b62e92384.js b/188.72dfea1b62e92384.js new file mode 100644 index 0000000..0f52361 --- /dev/null +++ b/188.72dfea1b62e92384.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[188],{188:(j,h,s)=>{s.r(h),s.d(h,{takeUntilDestroyed:()=>p,toObservable:()=>m,toSignal:()=>P});var _=s(48047),f=s(78069),k=s(24582),D=s(28694),M=s(62902),i=s(56718),I=s(90833),N=s(26067),b=s(68951);function p(n){n||((0,i.assertInInjectionContext)(p),n=(0,i.inject)(i.DestroyRef));var e=new I.y(function(t){return n.onDestroy(t.next.bind(t))});return function(t){return t.pipe((0,b.R)(e))}}function m(n,e){var t;(null==e||!e.injector)&&(0,i.assertInInjectionContext)(m);var r=null!==(t=e?.injector)&&void 0!==t?t:(0,i.inject)(i.Injector),a=new N.t(1),o=(0,i.effect)(function(){var u;try{u=n()}catch(l){return void(0,i.untracked)(function(){return a.error(l)})}(0,i.untracked)(function(){return a.next(u)})},{injector:r,manualCleanup:!0});return r.get(i.DestroyRef).onDestroy(function(){o.destroy(),a.complete()}),a.asObservable()}var O=function(n){(0,k.Z)(t,n);var e=(0,D.Z)(t);function t(r,a){var o;return(0,f.Z)(this,t),o=e.call(this,function A(n,e){var t="NG0".concat(Math.abs(n));return"".concat(t).concat(e?": "+e:"")}(r,a)),o.code=r,o}return(0,_.Z)(t)}((0,M.Z)(Error));function P(n,e){var t,r,a=!(null!=e&&e.manualCleanup);a&&(null==e||!e.injector)&&(0,i.assertInInjectionContext)(P);var u,o=a?null!==(t=null==e||null===(r=e.injector)||void 0===r?void 0:r.get(i.DestroyRef))&&void 0!==t?t:(0,i.inject)(i.DestroyRef):null;u=(0,i.signal)(null!=e&&e.requireSync?{kind:0}:{kind:1,value:e?.initialValue});var l=n.subscribe({next:function(c){return u.set({kind:1,value:c})},error:function(c){return u.set({kind:2,error:c})}});return o?.onDestroy(l.unsubscribe.bind(l)),(0,i.computed)(function(){var d=u();switch(d.kind){case 1:return d.value;case 2:throw d.error;case 0:throw new O(601,"`toSignal()` called with `requireSync` but `Observable` did not emit synchronously.")}})}}}]); +//# sourceMappingURL=188.72dfea1b62e92384.js.map \ No newline at end of file diff --git a/188.72dfea1b62e92384.js.map b/188.72dfea1b62e92384.js.map new file mode 100644 index 0000000..5615f26 --- /dev/null +++ b/188.72dfea1b62e92384.js.map @@ -0,0 +1 @@ +{"version":3,"file":"188.72dfea1b62e92384.js","mappings":"iQAoBA,SAASA,EAAmBC,GACnBA,OACDC,4BAAyBF,GACzBC,KAAaE,UAAOC,eAExB,IAAMC,EAAa,IAAIC,IAAW,SAAAC,GAE9B,OADqBN,EAAWO,UAAUD,EAASE,KAAKC,KAAKH,GAEjE,GACA,OAAO,SAACI,GACJ,OAAOA,EAAOC,QAAKC,KAAUR,GACjC,CACJ,CAWA,SAASS,EAAaH,EAAQI,GAAS,IAAAC,GAC3B,MAAPD,MAASE,cAAYf,4BAAyBY,GAC/C,IAAMG,EAA4B,QAApBD,EAAGD,GAASE,gBAAQ,IAAAD,OAAIb,UAAOe,YACvCC,EAAU,IAAIC,IAAc,GAC5BC,KAAUC,UAAO,WACnB,IAAIC,EACJ,IACIA,EAAQZ,GACZ,OACOa,GAEH,YADAC,eAAY,kBAAMN,EAAQO,MAAMF,EAAI,EAExC,EACAC,eAAY,kBAAMN,EAAQV,KAAKc,EAAM,EACzC,EAAG,CAAEN,WAAUU,eAAe,IAC9BV,SAASW,IAAIxB,cAAYI,UAAU,WAC/Ba,EAAQQ,UACRV,EAAQW,UACZ,GACOX,EAAQY,cACnB,CASA,IAsBMC,EAAY,SAAAC,IAAAC,OAAAF,EAAAC,GAAA,IAAAE,KAAAC,KAA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ject","DestroyRef","destroyed$","Observable","observer","onDestroy","next","bind","source","pipe","takeUntil","toObservable","options","_options$injector","injector","Injector","subject","ReplaySubject","watcher","effect","value","err","untracked$1","error","manualCleanup","get","destroy","complete","asObservable","RuntimeError","_Error","_inherits","_super","_createSuper","code","message","_this","_classCallCheck","this","call","formatRuntimeError","fullCode","concat","Math","abs","_createClass","_wrapNativeSuper","Error","toSignal","_options$injector$get","_options$injector2","requiresCleanup","state","cleanupRef","signal$1","requireSync","kind","initialValue","sub","subscribe","set","unsubscribe","computed$1","current"],"sourceRoot":"webpack:///","sources":["./node_modules/@angular/core/fesm2022/rxjs-interop.mjs"],"sourcesContent":["/**\n * @license Angular v16.0.5\n * (c) 2010-2022 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport { assertInInjectionContext, inject, DestroyRef, Injector, effect, untracked as untracked$1, signal as signal$1, computed as computed$1 } from '@angular/core';\nimport { Observable, ReplaySubject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\n\n/**\n * Operator which completes the Observable when the calling context (component, directive, service,\n * etc) is destroyed.\n *\n * @param destroyRef optionally, the `DestroyRef` representing the current context. This can be\n * passed explicitly to use `takeUntilDestroyed` outside of an injection context. Otherwise, the\n * current `DestroyRef` is injected.\n *\n * @developerPreview\n */\nfunction takeUntilDestroyed(destroyRef) {\n if (!destroyRef) {\n assertInInjectionContext(takeUntilDestroyed);\n destroyRef = inject(DestroyRef);\n }\n const destroyed$ = new Observable(observer => {\n const unregisterFn = destroyRef.onDestroy(observer.next.bind(observer));\n return unregisterFn;\n });\n return (source) => {\n return source.pipe(takeUntil(destroyed$));\n };\n}\n\n/**\n * Exposes the value of an Angular `Signal` as an RxJS `Observable`.\n *\n * The signal's value will be propagated into the `Observable`'s subscribers using an `effect`.\n *\n * `toObservable` must be called in an injection context unless an injector is provided via options.\n *\n * @developerPreview\n */\nfunction toObservable(source, options) {\n !options?.injector && assertInInjectionContext(toObservable);\n const injector = options?.injector ?? inject(Injector);\n const subject = new ReplaySubject(1);\n const watcher = effect(() => {\n let value;\n try {\n value = source();\n }\n catch (err) {\n untracked$1(() => subject.error(err));\n return;\n }\n untracked$1(() => subject.next(value));\n }, { injector, manualCleanup: true });\n injector.get(DestroyRef).onDestroy(() => {\n watcher.destroy();\n subject.complete();\n });\n return subject.asObservable();\n}\n\n/**\n * Base URL for the error details page.\n *\n * Keep this constant in sync across:\n * - packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.ts\n * - packages/core/src/error_details_base_url.ts\n */\nconst ERROR_DETAILS_PAGE_BASE_URL = 'https://angular.io/errors';\n/**\n * URL for the XSS security documentation.\n */\nconst XSS_SECURITY_URL = 'https://g.co/ng/security#xss';\n\n/**\n * Class that represents a runtime error.\n * Formats and outputs the error message in a consistent way.\n *\n * Example:\n * ```\n * throw new RuntimeError(\n * RuntimeErrorCode.INJECTOR_ALREADY_DESTROYED,\n * ngDevMode && 'Injector has already been destroyed.');\n * ```\n *\n * Note: the `message` argument contains a descriptive error message as a string in development\n * mode (when the `ngDevMode` is defined). In production mode (after tree-shaking pass), the\n * `message` argument becomes `false`, thus we account for it in the typings and the runtime\n * logic.\n */\nclass RuntimeError extends Error {\n constructor(code, message) {\n super(formatRuntimeError(code, message));\n this.code = code;\n }\n}\n/**\n * Called to format a runtime error.\n * See additional info on the `message` argument type in the `RuntimeError` class description.\n */\nfunction formatRuntimeError(code, message) {\n // Error code might be a negative number, which is a special marker that instructs the logic to\n // generate a link to the error details page on angular.io.\n // We also prepend `0` to non-compile-time errors.\n const fullCode = `NG0${Math.abs(code)}`;\n let errorMessage = `${fullCode}${message ? ': ' + message : ''}`;\n if (ngDevMode && code < 0) {\n const addPeriodSeparator = !errorMessage.match(/[.,;!?\\n]$/);\n const separator = addPeriodSeparator ? '.' : '';\n errorMessage =\n `${errorMessage}${separator} Find more at ${ERROR_DETAILS_PAGE_BASE_URL}/${fullCode}`;\n }\n return errorMessage;\n}\n\n/**\n * Symbol used to tell `Signal`s apart from other functions.\n *\n * This can be used to auto-unwrap signals in various cases, or to auto-wrap non-signal values.\n */\nconst SIGNAL = Symbol('SIGNAL');\n/**\n * Checks if the given `value` is a reactive `Signal`.\n *\n * @developerPreview\n */\nfunction isSignal(value) {\n return typeof value === 'function' && value[SIGNAL] !== undefined;\n}\n/**\n * Converts `fn` into a marked signal function (where `isSignal(fn)` will be `true`), and\n * potentially add some set of extra properties (passed as an object record `extraApi`).\n */\nfunction createSignalFromFunction(node, fn, extraApi = {}) {\n fn[SIGNAL] = node;\n // Copy properties from `extraApi` to `fn` to complete the desired API of the `Signal`.\n return Object.assign(fn, extraApi);\n}\n/**\n * The default equality function used for `signal` and `computed`, which treats objects and arrays\n * as never equal, and all other primitive values using identity semantics.\n *\n * This allows signals to hold non-primitive values (arrays, objects, other collections) and still\n * propagate change notification upon explicit mutation without identity change.\n *\n * @developerPreview\n */\nfunction defaultEquals(a, b) {\n // `Object.is` compares two values using identity semantics which is desired behavior for\n // primitive values. If `Object.is` determines two values to be equal we need to make sure that\n // those don't represent objects (we want to make sure that 2 objects are always considered\n // \"unequal\"). The null check is needed for the special case of JavaScript reporting null values\n // as objects (`typeof null === 'object'`).\n return (a === null || typeof a !== 'object') && Object.is(a, b);\n}\n\n// Always use __globalThis if available, which is the spec-defined global variable across all\n// environments, then fallback to __global first, because in Node tests both __global and\n// __window may be defined and _global should be __global in that case. Note: Typeof/Instanceof\n// checks are considered side-effects in Terser. We explicitly mark this as side-effect free:\n// https://github.com/terser/terser/issues/250.\nconst _global = ( /* @__PURE__ */(() => (typeof globalThis !== 'undefined' && globalThis) ||\n (typeof global !== 'undefined' && global) || (typeof window !== 'undefined' && window) ||\n (typeof self !== 'undefined' && typeof WorkerGlobalScope !== 'undefined' &&\n self instanceof WorkerGlobalScope && self))());\n\nfunction ngDevModeResetPerfCounters() {\n const locationString = typeof location !== 'undefined' ? location.toString() : '';\n const newCounters = {\n namedConstructors: locationString.indexOf('ngDevMode=namedConstructors') != -1,\n firstCreatePass: 0,\n tNode: 0,\n tView: 0,\n rendererCreateTextNode: 0,\n rendererSetText: 0,\n rendererCreateElement: 0,\n rendererAddEventListener: 0,\n rendererSetAttribute: 0,\n rendererRemoveAttribute: 0,\n rendererSetProperty: 0,\n rendererSetClassName: 0,\n rendererAddClass: 0,\n rendererRemoveClass: 0,\n rendererSetStyle: 0,\n rendererRemoveStyle: 0,\n rendererDestroy: 0,\n rendererDestroyNode: 0,\n rendererMoveNode: 0,\n rendererRemoveNode: 0,\n rendererAppendChild: 0,\n rendererInsertBefore: 0,\n rendererCreateComment: 0,\n hydratedNodes: 0,\n hydratedComponents: 0,\n dehydratedViewsRemoved: 0,\n dehydratedViewsCleanupRuns: 0,\n componentsSkippedHydration: 0,\n };\n // Make sure to refer to ngDevMode as ['ngDevMode'] for closure.\n const allowNgDevModeTrue = locationString.indexOf('ngDevMode=false') === -1;\n _global['ngDevMode'] = allowNgDevModeTrue && newCounters;\n return newCounters;\n}\n/**\n * This function checks to see if the `ngDevMode` has been set. If yes,\n * then we honor it, otherwise we default to dev mode with additional checks.\n *\n * The idea is that unless we are doing production build where we explicitly\n * set `ngDevMode == false` we should be helping the developer by providing\n * as much early warning and errors as possible.\n *\n * `ɵɵdefineComponent` is guaranteed to have been called before any component template functions\n * (and thus Ivy instructions), so a single initialization there is sufficient to ensure ngDevMode\n * is defined for the entire instruction set.\n *\n * When checking `ngDevMode` on toplevel, always init it before referencing it\n * (e.g. `((typeof ngDevMode === 'undefined' || ngDevMode) && initNgDevMode())`), otherwise you can\n * get a `ReferenceError` like in https://github.com/angular/angular/issues/31595.\n *\n * Details on possible values for `ngDevMode` can be found on its docstring.\n *\n * NOTE:\n * - changes to the `ngDevMode` name must be synced with `compiler-cli/src/tooling.ts`.\n */\nfunction initNgDevMode() {\n // The below checks are to ensure that calling `initNgDevMode` multiple times does not\n // reset the counters.\n // If the `ngDevMode` is not an object, then it means we have not created the perf counters\n // yet.\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (typeof ngDevMode !== 'object') {\n ngDevModeResetPerfCounters();\n }\n return typeof ngDevMode !== 'undefined' && !!ngDevMode;\n }\n return false;\n}\n\n// Required as the signals library is in a separate package, so we need to explicitly ensure the\n/**\n * A `WeakRef`-compatible reference that fakes the API with a strong reference\n * internally.\n */\nclass LeakyRef {\n constructor(ref) {\n this.ref = ref;\n }\n deref() {\n return this.ref;\n }\n}\n// `WeakRef` is not always defined in every TS environment where Angular is compiled. Instead,\n// read it off of the global context if available.\n// tslint:disable-next-line: no-toplevel-property-access\nlet WeakRefImpl = _global['WeakRef'] ?? LeakyRef;\nfunction newWeakRef(value) {\n if (typeof ngDevMode !== 'undefined' && ngDevMode && WeakRefImpl === undefined) {\n throw new Error(`Angular requires a browser which supports the 'WeakRef' API`);\n }\n return new WeakRefImpl(value);\n}\nfunction setAlternateWeakRefImpl(impl) {\n // no-op since the alternate impl is included by default by the framework. Remove once internal\n // migration is complete.\n}\n\n// Required as the signals library is in a separate package, so we need to explicitly ensure the\n/**\n * Counter tracking the next `ProducerId` or `ConsumerId`.\n */\nlet _nextReactiveId = 0;\n/**\n * Tracks the currently active reactive consumer (or `null` if there is no active\n * consumer).\n */\nlet activeConsumer = null;\n/**\n * Whether the graph is currently propagating change notifications.\n */\nlet inNotificationPhase = false;\nfunction setActiveConsumer(consumer) {\n const prev = activeConsumer;\n activeConsumer = consumer;\n return prev;\n}\n/**\n * A node in the reactive graph.\n *\n * Nodes can be producers of reactive values, consumers of other reactive values, or both.\n *\n * Producers are nodes that produce values, and can be depended upon by consumer nodes.\n *\n * Producers expose a monotonic `valueVersion` counter, and are responsible for incrementing this\n * version when their value semantically changes. Some producers may produce their values lazily and\n * thus at times need to be polled for potential updates to their value (and by extension their\n * `valueVersion`). This is accomplished via the `onProducerUpdateValueVersion` method for\n * implemented by producers, which should perform whatever calculations are necessary to ensure\n * `valueVersion` is up to date.\n *\n * Consumers are nodes that depend on the values of producers and are notified when those values\n * might have changed.\n *\n * Consumers do not wrap the reads they consume themselves, but rather can be set as the active\n * reader via `setActiveConsumer`. Reads of producers that happen while a consumer is active will\n * result in those producers being added as dependencies of that consumer node.\n *\n * The set of dependencies of a consumer is dynamic. Implementers expose a monotonically increasing\n * `trackingVersion` counter, which increments whenever the consumer is about to re-run any reactive\n * reads it needs and establish a new set of dependencies as a result.\n *\n * Producers store the last `trackingVersion` they've seen from `Consumer`s which have read them.\n * This allows a producer to identify whether its record of the dependency is current or stale, by\n * comparing the consumer's `trackingVersion` to the version at which the dependency was\n * last observed.\n */\nclass ReactiveNode {\n constructor() {\n this.id = _nextReactiveId++;\n /**\n * A cached weak reference to this node, which will be used in `ReactiveEdge`s.\n */\n this.ref = newWeakRef(this);\n /**\n * Edges to producers on which this node depends (in its consumer capacity).\n */\n this.producers = new Map();\n /**\n * Edges to consumers on which this node depends (in its producer capacity).\n */\n this.consumers = new Map();\n /**\n * Monotonically increasing counter representing a version of this `Consumer`'s\n * dependencies.\n */\n this.trackingVersion = 0;\n /**\n * Monotonically increasing counter which increases when the value of this `Producer`\n * semantically changes.\n */\n this.valueVersion = 0;\n }\n /**\n * Polls dependencies of a consumer to determine if they have actually changed.\n *\n * If this returns `false`, then even though the consumer may have previously been notified of a\n * change, the values of its dependencies have not actually changed and the consumer should not\n * rerun any reactions.\n */\n consumerPollProducersForChange() {\n for (const [producerId, edge] of this.producers) {\n const producer = edge.producerNode.deref();\n if (producer === undefined || edge.atTrackingVersion !== this.trackingVersion) {\n // This dependency edge is stale, so remove it.\n this.producers.delete(producerId);\n producer?.consumers.delete(this.id);\n continue;\n }\n if (producer.producerPollStatus(edge.seenValueVersion)) {\n // One of the dependencies reports a real value change.\n return true;\n }\n }\n // No dependency reported a real value change, so the `Consumer` has also not been\n // impacted.\n return false;\n }\n /**\n * Notify all consumers of this producer that its value may have changed.\n */\n producerMayHaveChanged() {\n // Prevent signal reads when we're updating the graph\n const prev = inNotificationPhase;\n inNotificationPhase = true;\n try {\n for (const [consumerId, edge] of this.consumers) {\n const consumer = edge.consumerNode.deref();\n if (consumer === undefined || consumer.trackingVersion !== edge.atTrackingVersion) {\n this.consumers.delete(consumerId);\n consumer?.producers.delete(this.id);\n continue;\n }\n consumer.onConsumerDependencyMayHaveChanged();\n }\n }\n finally {\n inNotificationPhase = prev;\n }\n }\n /**\n * Mark that this producer node has been accessed in the current reactive context.\n */\n producerAccessed() {\n if (inNotificationPhase) {\n throw new Error(typeof ngDevMode !== 'undefined' && ngDevMode ?\n `Assertion error: signal read during notification phase` :\n '');\n }\n if (activeConsumer === null) {\n return;\n }\n // Either create or update the dependency `Edge` in both directions.\n let edge = activeConsumer.producers.get(this.id);\n if (edge === undefined) {\n edge = {\n consumerNode: activeConsumer.ref,\n producerNode: this.ref,\n seenValueVersion: this.valueVersion,\n atTrackingVersion: activeConsumer.trackingVersion,\n };\n activeConsumer.producers.set(this.id, edge);\n this.consumers.set(activeConsumer.id, edge);\n }\n else {\n edge.seenValueVersion = this.valueVersion;\n edge.atTrackingVersion = activeConsumer.trackingVersion;\n }\n }\n /**\n * Whether this consumer currently has any producers registered.\n */\n get hasProducers() {\n return this.producers.size > 0;\n }\n /**\n * Whether this `ReactiveNode` in its producer capacity is currently allowed to initiate updates,\n * based on the current consumer context.\n */\n get producerUpdatesAllowed() {\n return activeConsumer?.consumerAllowSignalWrites !== false;\n }\n /**\n * Checks if a `Producer` has a current value which is different than the value\n * last seen at a specific version by a `Consumer` which recorded a dependency on\n * this `Producer`.\n */\n producerPollStatus(lastSeenValueVersion) {\n // `producer.valueVersion` may be stale, but a mismatch still means that the value\n // last seen by the `Consumer` is also stale.\n if (this.valueVersion !== lastSeenValueVersion) {\n return true;\n }\n // Trigger the `Producer` to update its `valueVersion` if necessary.\n this.onProducerUpdateValueVersion();\n // At this point, we can trust `producer.valueVersion`.\n return this.valueVersion !== lastSeenValueVersion;\n }\n}\n\n/**\n * Create a computed `Signal` which derives a reactive value from an expression.\n *\n * @developerPreview\n */\nfunction computed(computation, options) {\n const node = new ComputedImpl(computation, options?.equal ?? defaultEquals);\n // Casting here is required for g3, as TS inference behavior is slightly different between our\n // version/options and g3's.\n return createSignalFromFunction(node, node.signal.bind(node));\n}\n/**\n * A dedicated symbol used before a computed value has been calculated for the first time.\n * Explicitly typed as `any` so we can use it as signal's value.\n */\nconst UNSET = Symbol('UNSET');\n/**\n * A dedicated symbol used in place of a computed signal value to indicate that a given computation\n * is in progress. Used to detect cycles in computation chains.\n * Explicitly typed as `any` so we can use it as signal's value.\n */\nconst COMPUTING = Symbol('COMPUTING');\n/**\n * A dedicated symbol used in place of a computed signal value to indicate that a given computation\n * failed. The thrown error is cached until the computation gets dirty again.\n * Explicitly typed as `any` so we can use it as signal's value.\n */\nconst ERRORED = Symbol('ERRORED');\n/**\n * A computation, which derives a value from a declarative reactive expression.\n *\n * `Computed`s are both producers and consumers of reactivity.\n */\nclass ComputedImpl extends ReactiveNode {\n constructor(computation, equal) {\n super();\n this.computation = computation;\n this.equal = equal;\n /**\n * Current value of the computation.\n *\n * This can also be one of the special values `UNSET`, `COMPUTING`, or `ERRORED`.\n */\n this.value = UNSET;\n /**\n * If `value` is `ERRORED`, the error caught from the last computation attempt which will\n * be re-thrown.\n */\n this.error = null;\n /**\n * Flag indicating that the computation is currently stale, meaning that one of the\n * dependencies has notified of a potential change.\n *\n * It's possible that no dependency has _actually_ changed, in which case the `stale`\n * state can be resolved without recomputing the value.\n */\n this.stale = true;\n this.consumerAllowSignalWrites = false;\n }\n onConsumerDependencyMayHaveChanged() {\n if (this.stale) {\n // We've already notified consumers that this value has potentially changed.\n return;\n }\n // Record that the currently cached value may be stale.\n this.stale = true;\n // Notify any consumers about the potential change.\n this.producerMayHaveChanged();\n }\n onProducerUpdateValueVersion() {\n if (!this.stale) {\n // The current value and its version are already up to date.\n return;\n }\n // The current value is stale. Check whether we need to produce a new one.\n if (this.value !== UNSET && this.value !== COMPUTING &&\n !this.consumerPollProducersForChange()) {\n // Even though we were previously notified of a potential dependency update, all of\n // our dependencies report that they have not actually changed in value, so we can\n // resolve the stale state without needing to recompute the current value.\n this.stale = false;\n return;\n }\n // The current value is stale, and needs to be recomputed. It still may not change -\n // that depends on whether the newly computed value is equal to the old.\n this.recomputeValue();\n }\n recomputeValue() {\n if (this.value === COMPUTING) {\n // Our computation somehow led to a cyclic read of itself.\n throw new Error('Detected cycle in computations.');\n }\n const oldValue = this.value;\n this.value = COMPUTING;\n // As we're re-running the computation, update our dependent tracking version number.\n this.trackingVersion++;\n const prevConsumer = setActiveConsumer(this);\n let newValue;\n try {\n newValue = this.computation();\n }\n catch (err) {\n newValue = ERRORED;\n this.error = err;\n }\n finally {\n setActiveConsumer(prevConsumer);\n }\n this.stale = false;\n if (oldValue !== UNSET && oldValue !== ERRORED && newValue !== ERRORED &&\n this.equal(oldValue, newValue)) {\n // No change to `valueVersion` - old and new values are\n // semantically equivalent.\n this.value = oldValue;\n return;\n }\n this.value = newValue;\n this.valueVersion++;\n }\n signal() {\n // Check if the value needs updating before returning it.\n this.onProducerUpdateValueVersion();\n // Record that someone looked at this signal.\n this.producerAccessed();\n if (this.value === ERRORED) {\n throw this.error;\n }\n return this.value;\n }\n}\n\nfunction defaultThrowError() {\n throw new Error();\n}\nlet throwInvalidWriteToSignalErrorFn = defaultThrowError;\nfunction throwInvalidWriteToSignalError() {\n throwInvalidWriteToSignalErrorFn();\n}\nfunction setThrowInvalidWriteToSignalError(fn) {\n throwInvalidWriteToSignalErrorFn = fn;\n}\n\n/**\n * If set, called after `WritableSignal`s are updated.\n *\n * This hook can be used to achieve various effects, such as running effects synchronously as part\n * of setting a signal.\n */\nlet postSignalSetFn = null;\nclass WritableSignalImpl extends ReactiveNode {\n constructor(value, equal) {\n super();\n this.value = value;\n this.equal = equal;\n this.consumerAllowSignalWrites = false;\n }\n onConsumerDependencyMayHaveChanged() {\n // This never happens for writable signals as they're not consumers.\n }\n onProducerUpdateValueVersion() {\n // Writable signal value versions are always up to date.\n }\n /**\n * Directly update the value of the signal to a new value, which may or may not be\n * equal to the previous.\n *\n * In the event that `newValue` is semantically equal to the current value, `set` is\n * a no-op.\n */\n set(newValue) {\n if (!this.producerUpdatesAllowed) {\n throwInvalidWriteToSignalError();\n }\n if (!this.equal(this.value, newValue)) {\n this.value = newValue;\n this.valueVersion++;\n this.producerMayHaveChanged();\n postSignalSetFn?.();\n }\n }\n /**\n * Derive a new value for the signal from its current value using the `updater` function.\n *\n * This is equivalent to calling `set` on the result of running `updater` on the current\n * value.\n */\n update(updater) {\n if (!this.producerUpdatesAllowed) {\n throwInvalidWriteToSignalError();\n }\n this.set(updater(this.value));\n }\n /**\n * Calls `mutator` on the current value and assumes that it has been mutated.\n */\n mutate(mutator) {\n if (!this.producerUpdatesAllowed) {\n throwInvalidWriteToSignalError();\n }\n // Mutate bypasses equality checks as it's by definition changing the value.\n mutator(this.value);\n this.valueVersion++;\n this.producerMayHaveChanged();\n postSignalSetFn?.();\n }\n asReadonly() {\n if (this.readonlySignal === undefined) {\n this.readonlySignal = createSignalFromFunction(this, () => this.signal());\n }\n return this.readonlySignal;\n }\n signal() {\n this.producerAccessed();\n return this.value;\n }\n}\n/**\n * Create a `Signal` that can be set or updated directly.\n *\n * @developerPreview\n */\nfunction signal(initialValue, options) {\n const signalNode = new WritableSignalImpl(initialValue, options?.equal ?? defaultEquals);\n // Casting here is required for g3, as TS inference behavior is slightly different between our\n // version/options and g3's.\n const signalFn = createSignalFromFunction(signalNode, signalNode.signal.bind(signalNode), {\n set: signalNode.set.bind(signalNode),\n update: signalNode.update.bind(signalNode),\n mutate: signalNode.mutate.bind(signalNode),\n asReadonly: signalNode.asReadonly.bind(signalNode)\n });\n return signalFn;\n}\nfunction setPostSignalSetFn(fn) {\n const prev = postSignalSetFn;\n postSignalSetFn = fn;\n return prev;\n}\n\n/**\n * Execute an arbitrary function in a non-reactive (non-tracking) context. The executed function\n * can, optionally, return a value.\n *\n * @developerPreview\n */\nfunction untracked(nonReactiveReadsFn) {\n const prevConsumer = setActiveConsumer(null);\n // We are not trying to catch any particular errors here, just making sure that the consumers\n // stack is restored in case of errors.\n try {\n return nonReactiveReadsFn();\n }\n finally {\n setActiveConsumer(prevConsumer);\n }\n}\n\nconst NOOP_CLEANUP_FN = () => { };\n/**\n * Watches a reactive expression and allows it to be scheduled to re-run\n * when any dependencies notify of a change.\n *\n * `Watch` doesn't run reactive expressions itself, but relies on a consumer-\n * provided scheduling operation to coordinate calling `Watch.run()`.\n */\nclass Watch extends ReactiveNode {\n constructor(watch, schedule, allowSignalWrites) {\n super();\n this.watch = watch;\n this.schedule = schedule;\n this.dirty = false;\n this.cleanupFn = NOOP_CLEANUP_FN;\n this.registerOnCleanup = (cleanupFn) => {\n this.cleanupFn = cleanupFn;\n };\n this.consumerAllowSignalWrites = allowSignalWrites;\n }\n notify() {\n if (!this.dirty) {\n this.schedule(this);\n }\n this.dirty = true;\n }\n onConsumerDependencyMayHaveChanged() {\n this.notify();\n }\n onProducerUpdateValueVersion() {\n // Watches are not producers.\n }\n /**\n * Execute the reactive expression in the context of this `Watch` consumer.\n *\n * Should be called by the user scheduling algorithm when the provided\n * `schedule` hook is called by `Watch`.\n */\n run() {\n this.dirty = false;\n if (this.trackingVersion !== 0 && !this.consumerPollProducersForChange()) {\n return;\n }\n const prevConsumer = setActiveConsumer(this);\n this.trackingVersion++;\n try {\n this.cleanupFn();\n this.cleanupFn = NOOP_CLEANUP_FN;\n this.watch(this.registerOnCleanup);\n }\n finally {\n setActiveConsumer(prevConsumer);\n }\n }\n cleanup() {\n this.cleanupFn();\n }\n}\n\nfunction toSignal(source, options) {\n const requiresCleanup = !options?.manualCleanup;\n requiresCleanup && !options?.injector && assertInInjectionContext(toSignal);\n const cleanupRef = requiresCleanup ? options?.injector?.get(DestroyRef) ?? inject(DestroyRef) : null;\n // Note: T is the Observable value type, and U is the initial value type. They don't have to be\n // the same - the returned signal gives values of type `T`.\n let state;\n if (options?.requireSync) {\n // Initially the signal is in a `NoValue` state.\n state = signal$1({ kind: 0 /* StateKind.NoValue */ });\n }\n else {\n // If an initial value was passed, use it. Otherwise, use `undefined` as the initial value.\n state = signal$1({ kind: 1 /* StateKind.Value */, value: options?.initialValue });\n }\n const sub = source.subscribe({\n next: value => state.set({ kind: 1 /* StateKind.Value */, value }),\n error: error => state.set({ kind: 2 /* StateKind.Error */, error }),\n // Completion of the Observable is meaningless to the signal. Signals don't have a concept of\n // \"complete\".\n });\n if (ngDevMode && options?.requireSync && untracked(state).kind === 0 /* StateKind.NoValue */) {\n throw new RuntimeError(601 /* RuntimeErrorCode.REQUIRE_SYNC_WITHOUT_SYNC_EMIT */, '`toSignal()` called with `requireSync` but `Observable` did not emit synchronously.');\n }\n // Unsubscribe when the current context is destroyed, if requested.\n cleanupRef?.onDestroy(sub.unsubscribe.bind(sub));\n // The actual returned signal is a `computed` of the `State` signal, which maps the various states\n // to either values or errors.\n return computed$1(() => {\n const current = state();\n switch (current.kind) {\n case 1 /* StateKind.Value */:\n return current.value;\n case 2 /* StateKind.Error */:\n throw current.error;\n case 0 /* StateKind.NoValue */:\n // This shouldn't really happen because the error is thrown on creation.\n // TODO(alxhub): use a RuntimeError when we finalize the error semantics\n throw new RuntimeError(601 /* RuntimeErrorCode.REQUIRE_SYNC_WITHOUT_SYNC_EMIT */, '`toSignal()` called with `requireSync` but `Observable` did not emit synchronously.');\n }\n });\n}\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { takeUntilDestroyed, toObservable, toSignal };\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/2035.35946dc8d608ded3.js b/2035.35946dc8d608ded3.js new file mode 100644 index 0000000..df5adae --- /dev/null +++ b/2035.35946dc8d608ded3.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[2035,7376,5187,4091,1217,7208,4968,4155,1084,6896,6980,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,8061,4680,2111,3326,8596,8352,5501,3098,8467,6578,8608,8443,5915,3278,5391,6748,6763,4151,5069,7432,8071,6618],{12035:(w,y,c)=>{c.r(y),c.d(y,{BasePortalHost:()=>N,BasePortalOutlet:()=>O,CdkPortal:()=>F,CdkPortalOutlet:()=>j,ComponentPortal:()=>b,DomPortal:()=>I,DomPortalHost:()=>H,DomPortalOutlet:()=>T,Portal:()=>R,PortalHostDirective:()=>x,PortalInjector:()=>L,PortalModule:()=>U,TemplatePortal:()=>M,TemplatePortalDirective:()=>B});var _=c(35488),h=c(4089),d=c(20265),u=c(24582),v=c(28694),p=c(78069),m=c(48047),s=c(56718),Z=c(94055),R=function(){function e(){(0,p.Z)(this,e)}return(0,m.Z)(e,[{key:"attach",value:function(t){return this._attachedHost=t,t.attach(this)}},{key:"detach",value:function(){var t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}},{key:"isAttached",get:function(){return null!=this._attachedHost}},{key:"setAttachedHost",value:function(t){this._attachedHost=t}}]),e}(),b=function(e){(0,u.Z)(t,e);var r=(0,v.Z)(t);function t(o,n,i,P,l){var a;return(0,p.Z)(this,t),(a=r.call(this)).component=o,a.viewContainerRef=n,a.injector=i,a.componentFactoryResolver=P,a.projectableNodes=l,a}return(0,m.Z)(t)}(R),M=function(e){(0,u.Z)(t,e);var r=(0,v.Z)(t);function t(o,n,i,P){var l;return(0,p.Z)(this,t),(l=r.call(this)).templateRef=o,l.viewContainerRef=n,l.context=i,l.injector=P,l}return(0,m.Z)(t,[{key:"origin",get:function(){return this.templateRef.elementRef}},{key:"attach",value:function(n){return this.context=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.context,(0,h.Z)((0,d.Z)(t.prototype),"attach",this).call(this,n)}},{key:"detach",value:function(){return this.context=void 0,(0,h.Z)((0,d.Z)(t.prototype),"detach",this).call(this)}}]),t}(R),I=function(e){(0,u.Z)(t,e);var r=(0,v.Z)(t);function t(o){var n;return(0,p.Z)(this,t),(n=r.call(this)).element=o instanceof s.ElementRef?o.nativeElement:o,n}return(0,m.Z)(t)}(R),O=function(){function e(){(0,p.Z)(this,e),this._isDisposed=!1,this.attachDomPortal=null}return(0,m.Z)(e,[{key:"hasAttached",value:function(){return!!this._attachedPortal}},{key:"attach",value:function(t){return t instanceof b?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof M?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof I?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}},{key:"detach",value:function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}},{key:"dispose",value:function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}},{key:"setDisposeFn",value:function(t){this._disposeFn=t}},{key:"_invokeDisposeFn",value:function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}]),e}(),N=function(e){(0,u.Z)(t,e);var r=(0,v.Z)(t);function t(){return(0,p.Z)(this,t),r.apply(this,arguments)}return(0,m.Z)(t)}(O),T=function(e){(0,u.Z)(t,e);var r=(0,v.Z)(t);function t(o,n,i,P,l){var a,f;return(0,p.Z)(this,t),(f=r.call(this)).outletElement=o,f._componentFactoryResolver=n,f._appRef=i,f._defaultInjector=P,f.attachDomPortal=function(g){var D=g.element,C=f._document.createComment("dom-portal");D.parentNode.insertBefore(C,D),f.outletElement.appendChild(D),f._attachedPortal=g,(0,h.Z)((a=(0,_.Z)(f),(0,d.Z)(t.prototype)),"setDisposeFn",a).call(a,function(){C.parentNode&&C.parentNode.replaceChild(D,C)})},f._document=l,f}return(0,m.Z)(t,[{key:"attachComponentPortal",value:function(n){var a,i=this,l=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component);return n.viewContainerRef?(a=n.viewContainerRef.createComponent(l,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector,n.projectableNodes||void 0),this.setDisposeFn(function(){return a.destroy()})):(a=l.create(n.injector||this._defaultInjector||s.Injector.NULL),this._appRef.attachView(a.hostView),this.setDisposeFn(function(){i._appRef.viewCount>0&&i._appRef.detachView(a.hostView),a.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(a)),this._attachedPortal=n,a}},{key:"attachTemplatePortal",value:function(n){var i=this,P=n.viewContainerRef,l=P.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return l.rootNodes.forEach(function(a){return i.outletElement.appendChild(a)}),l.detectChanges(),this.setDisposeFn(function(){var a=P.indexOf(l);-1!==a&&P.remove(a)}),this._attachedPortal=n,l}},{key:"dispose",value:function(){(0,h.Z)((0,d.Z)(t.prototype),"dispose",this).call(this),this.outletElement.remove()}},{key:"_getComponentRootNode",value:function(n){return n.hostView.rootNodes[0]}}]),t}(O),H=function(e){(0,u.Z)(t,e);var r=(0,v.Z)(t);function t(){return(0,p.Z)(this,t),r.apply(this,arguments)}return(0,m.Z)(t)}(T),F=function(){var e=function(r){(0,u.Z)(o,r);var t=(0,v.Z)(o);function o(n,i){return(0,p.Z)(this,o),t.call(this,n,i)}return(0,m.Z)(o)}(M);return e.\u0275fac=function(t){return new(t||e)(s.\u0275\u0275directiveInject(s.TemplateRef),s.\u0275\u0275directiveInject(s.ViewContainerRef))},e.\u0275dir=s.\u0275\u0275defineDirective({type:e,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[s.\u0275\u0275InheritDefinitionFeature]}),e}(),B=function(){var e=function(r){(0,u.Z)(o,r);var t=(0,v.Z)(o);function o(){return(0,p.Z)(this,o),t.apply(this,arguments)}return(0,m.Z)(o)}(F);return e.\u0275fac=function(){var r;return function(o){return(r||(r=s.\u0275\u0275getInheritedFactory(e)))(o||e)}}(),e.\u0275dir=s.\u0275\u0275defineDirective({type:e,selectors:[["","cdk-portal",""],["","portal",""]],exportAs:["cdkPortal"],features:[s.\u0275\u0275ProvidersFeature([{provide:F,useExisting:e}]),s.\u0275\u0275InheritDefinitionFeature]}),e}(),j=function(){var e=function(r){(0,u.Z)(o,r);var t=(0,v.Z)(o);function o(n,i,P){var l,a;return(0,p.Z)(this,o),(a=t.call(this))._componentFactoryResolver=n,a._viewContainerRef=i,a._isInitialized=!1,a.attached=new s.EventEmitter,a.attachDomPortal=function(f){var g=f.element,D=a._document.createComment("dom-portal");f.setAttachedHost((0,_.Z)(a)),g.parentNode.insertBefore(D,g),a._getRootNode().appendChild(g),a._attachedPortal=f,(0,h.Z)((l=(0,_.Z)(a),(0,d.Z)(o.prototype)),"setDisposeFn",l).call(l,function(){D.parentNode&&D.parentNode.replaceChild(g,D)})},a._document=P,a}return(0,m.Z)(o,[{key:"portal",get:function(){return this._attachedPortal},set:function(i){this.hasAttached()&&!i&&!this._isInitialized||(this.hasAttached()&&(0,h.Z)((0,d.Z)(o.prototype),"detach",this).call(this),i&&(0,h.Z)((0,d.Z)(o.prototype),"attach",this).call(this,i),this._attachedPortal=i||null)}},{key:"attachedRef",get:function(){return this._attachedRef}},{key:"ngOnInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){(0,h.Z)((0,d.Z)(o.prototype),"dispose",this).call(this),this._attachedRef=this._attachedPortal=null}},{key:"attachComponentPortal",value:function(i){i.setAttachedHost(this);var P=null!=i.viewContainerRef?i.viewContainerRef:this._viewContainerRef,a=(i.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(i.component),f=P.createComponent(a,P.length,i.injector||P.injector,i.projectableNodes||void 0);return P!==this._viewContainerRef&&this._getRootNode().appendChild(f.hostView.rootNodes[0]),(0,h.Z)((0,d.Z)(o.prototype),"setDisposeFn",this).call(this,function(){return f.destroy()}),this._attachedPortal=i,this._attachedRef=f,this.attached.emit(f),f}},{key:"attachTemplatePortal",value:function(i){var P=this;i.setAttachedHost(this);var l=this._viewContainerRef.createEmbeddedView(i.templateRef,i.context,{injector:i.injector});return(0,h.Z)((0,d.Z)(o.prototype),"setDisposeFn",this).call(this,function(){return P._viewContainerRef.clear()}),this._attachedPortal=i,this._attachedRef=l,this.attached.emit(l),l}},{key:"_getRootNode",value:function(){var i=this._viewContainerRef.element.nativeElement;return i.nodeType===i.ELEMENT_NODE?i:i.parentNode}}]),o}(O);return e.\u0275fac=function(t){return new(t||e)(s.\u0275\u0275directiveInject(s.ComponentFactoryResolver),s.\u0275\u0275directiveInject(s.ViewContainerRef),s.\u0275\u0275directiveInject(Z.DOCUMENT))},e.\u0275dir=s.\u0275\u0275defineDirective({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[s.\u0275\u0275InheritDefinitionFeature]}),e}(),x=function(){var e=function(r){(0,u.Z)(o,r);var t=(0,v.Z)(o);function o(){return(0,p.Z)(this,o),t.apply(this,arguments)}return(0,m.Z)(o)}(j);return e.\u0275fac=function(){var r;return function(o){return(r||(r=s.\u0275\u0275getInheritedFactory(e)))(o||e)}}(),e.\u0275dir=s.\u0275\u0275defineDirective({type:e,selectors:[["","cdkPortalHost",""],["","portalHost",""]],inputs:{portal:["cdkPortalHost","portal"]},exportAs:["cdkPortalHost"],features:[s.\u0275\u0275ProvidersFeature([{provide:j,useExisting:e}]),s.\u0275\u0275InheritDefinitionFeature]}),e}(),U=function(){var e=(0,m.Z)(function r(){(0,p.Z)(this,r)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s.\u0275\u0275defineNgModule({type:e}),e.\u0275inj=s.\u0275\u0275defineInjector({}),e}(),L=function(){function e(r,t){(0,p.Z)(this,e),this._parentInjector=r,this._customTokens=t}return(0,m.Z)(e,[{key:"get",value:function(t,o){var n=this._customTokens.get(t);return typeof n<"u"?n:this._parentInjector.get(t,o)}}]),e}()},35488:(w,y,c)=>{function _(h){if(void 0===h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h}c.d(y,{Z:()=>_})},28694:(w,y,c)=>{c.d(y,{Z:()=>p});var _=c(20265),h=c(98568),d=c(43445),u=c(35488);function p(m){var s=(0,h.Z)();return function(){var E,k=(0,_.Z)(m);if(s){var A=(0,_.Z)(this).constructor;E=Reflect.construct(k,arguments,A)}else E=k.apply(this,arguments);return function v(m,s){if(s&&("object"===(0,d.Z)(s)||"function"==typeof s))return s;if(void 0!==s)throw new TypeError("Derived constructors may only return object or undefined");return(0,u.Z)(m)}(this,E)}}},4089:(w,y,c)=>{c.d(y,{Z:()=>d});var _=c(20265);function d(){return d=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(v,p,m){var s=function h(u,v){for(;!Object.prototype.hasOwnProperty.call(u,v)&&null!==(u=(0,_.Z)(u)););return u}(v,p);if(s){var Z=Object.getOwnPropertyDescriptor(s,p);return Z.get?Z.get.call(arguments.length<3?v:m):Z.value}},d.apply(this,arguments)}},20265:(w,y,c)=>{function _(h){return(_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(u){return u.__proto__||Object.getPrototypeOf(u)})(h)}c.d(y,{Z:()=>_})},24582:(w,y,c)=>{c.d(y,{Z:()=>h});var _=c(10006);function h(d,u){if("function"!=typeof u&&null!==u)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),u&&(0,_.Z)(d,u)}},98568:(w,y,c)=>{function _(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}c.d(y,{Z:()=>_})},10006:(w,y,c)=>{function _(h,d){return(_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(v,p){return v.__proto__=p,v})(h,d)}c.d(y,{Z:()=>_})}}]); +//# sourceMappingURL=2035.35946dc8d608ded3.js.map \ No newline at end of file diff --git a/2035.35946dc8d608ded3.js.map b/2035.35946dc8d608ded3.js.map new file mode 100644 index 0000000..8443589 --- /dev/null +++ b/2035.35946dc8d608ded3.js.map @@ -0,0 +1 @@ +{"version":3,"file":"2035.35946dc8d608ded3.js","mappings":"8rBAoDMA,EAAM,oBAAAA,KAAAC,OAAAC,KAAAF,EAAA,CAAAG,cAAAH,EAAA,EAAAI,IAAA,SAAAC,eAEDC,GASH,OAAAJ,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AAA,CACA/J,MAAAoL,EACAE,UAAA,EACAC,cAAA,KAGAV,OAAAW,eAAAJ,EAAA,aACAE,UAAA,IAEAD,MAAkBI,EAAA/B,GAAc0B,EAAAC,EAChC,mBChBe,SAAAK,IAEf,UADA1B,QAAA,MAAAA,QAAAC,WACAD,QAAAC,UAAA0B,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAA/J,UAAAgK,QAAA7K,KAAA+I,QAAAC,UAAA4B,QAAA,mBACA,CACA,OACA,QACA,CACA,mCCVe,SAAAE,EAAAd,EAAAe,GACf,OAAAD,EAAAlB,OAAAK,eAAAL,OAAAK,eAAAZ,OAAA,SAAAW,EAAAe,GACA,OAAAf,EAAAE,UAAAa,EACAf,CACA,GACAA,EAAAe,EACA","names":["Portal","_classCallCheck","this","_createClass","key","value","host","_attachedHost","attach","detach","get","ComponentPortal","_Portal","_inherits","_super","_createSuper","component","viewContainerRef","injector","componentFactoryResolver","projectableNodes","_this","call","TemplatePortal","_Portal2","_super2","templateRef","context","_this2","elementRef","arguments","length","undefined","_get","_getPrototypeOf","prototype","DomPortal","_Portal3","_super3","element","_this3","ElementRef","nativeElement","BasePortalOutlet","_isDisposed","attachDomPortal","_attachedPortal","portal","attachComponentPortal","attachTemplatePortal","setAttachedHost","_invokeDisposeFn","hasAttached","fn","_disposeFn","BasePortalHost","_BasePortalOutlet","_super4","apply","DomPortalOutlet","_BasePortalOutlet2","_super5","outletElement","_componentFactoryResolver","_appRef","_defaultInjector","_document","_thisSuper","_this4","anchorNode","createComment","parentNode","insertBefore","appendChild","_assertThisInitialized","replaceChild","componentRef","_this5","componentFactory","resolveComponentFactory","createComponent","setDisposeFn","destroy","create","Injector","attachView","hostView","viewCount","detachView","_getComponentRootNode","_this6","viewContainer","viewRef","createEmbeddedView","rootNodes","forEach","rootNode","detectChanges","index","indexOf","remove","DomPortalHost","_DomPortalOutlet","_super6","CdkPortal","_TemplatePortal","_super7","ɵfac","t","i0","ɵdir","type","selectors","exportAs","features","TemplatePortalDirective","_CdkPortal","_super8","ɵTemplatePortalDirective_BaseFactory","provide","useExisting","CdkPortalOutlet","_BasePortalOutlet3","_super9","_viewContainerRef","_thisSuper2","_this7","_isInitialized","attached","EventEmitter","_getRootNode","set","_attachedRef","ref","emit","_this8","clear","nodeType","ELEMENT_NODE","DOCUMENT","inputs","outputs","PortalHostDirective","_CdkPortalOutlet","_super10","ɵPortalHostDirective_BaseFactory","PortalModule","ɵmod","ɵinj","PortalInjector","_parentInjector","_customTokens","token","notFoundValue","self","ReferenceError","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","constructor","Reflect","construct","_possibleConstructorReturn","esm_typeof","TypeError","assertThisInitialized","bind","target","property","receiver","base","_superPropBase","object","Object","hasOwnProperty","desc","getOwnPropertyDescriptor","o","setPrototypeOf","__proto__","subClass","superClass","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@angular/cdk/fesm2022/portal.mjs","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["import * as i0 from '@angular/core';\nimport { ElementRef, Injector, Directive, EventEmitter, Inject, Output, NgModule } from '@angular/core';\nimport { DOCUMENT } from '@angular/common';\n\n/**\n * Throws an exception when attempting to attach a null portal to a host.\n * @docs-private\n */\nfunction throwNullPortalError() {\n throw Error('Must provide a portal to attach');\n}\n/**\n * Throws an exception when attempting to attach a portal to a host that is already attached.\n * @docs-private\n */\nfunction throwPortalAlreadyAttachedError() {\n throw Error('Host already has a portal attached');\n}\n/**\n * Throws an exception when attempting to attach a portal to an already-disposed host.\n * @docs-private\n */\nfunction throwPortalOutletAlreadyDisposedError() {\n throw Error('This PortalOutlet has already been disposed');\n}\n/**\n * Throws an exception when attempting to attach an unknown portal type.\n * @docs-private\n */\nfunction throwUnknownPortalTypeError() {\n throw Error('Attempting to attach an unknown Portal type. BasePortalOutlet accepts either ' +\n 'a ComponentPortal or a TemplatePortal.');\n}\n/**\n * Throws an exception when attempting to attach a portal to a null host.\n * @docs-private\n */\nfunction throwNullPortalOutletError() {\n throw Error('Attempting to attach a portal to a null PortalOutlet');\n}\n/**\n * Throws an exception when attempting to detach a portal that is not attached.\n * @docs-private\n */\nfunction throwNoPortalAttachedError() {\n throw Error('Attempting to detach a portal that is not attached to a host');\n}\n\n/**\n * A `Portal` is something that you want to render somewhere else.\n * It can be attach to / detached from a `PortalOutlet`.\n */\nclass Portal {\n /** Attach this portal to a host. */\n attach(host) {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (host == null) {\n throwNullPortalOutletError();\n }\n if (host.hasAttached()) {\n throwPortalAlreadyAttachedError();\n }\n }\n this._attachedHost = host;\n return host.attach(this);\n }\n /** Detach this portal from its host */\n detach() {\n let host = this._attachedHost;\n if (host != null) {\n this._attachedHost = null;\n host.detach();\n }\n else if (typeof ngDevMode === 'undefined' || ngDevMode) {\n throwNoPortalAttachedError();\n }\n }\n /** Whether this portal is attached to a host. */\n get isAttached() {\n return this._attachedHost != null;\n }\n /**\n * Sets the PortalOutlet reference without performing `attach()`. This is used directly by\n * the PortalOutlet when it is performing an `attach()` or `detach()`.\n */\n setAttachedHost(host) {\n this._attachedHost = host;\n }\n}\n/**\n * A `ComponentPortal` is a portal that instantiates some Component upon attachment.\n */\nclass ComponentPortal extends Portal {\n constructor(component, viewContainerRef, injector, componentFactoryResolver, projectableNodes) {\n super();\n this.component = component;\n this.viewContainerRef = viewContainerRef;\n this.injector = injector;\n this.componentFactoryResolver = componentFactoryResolver;\n this.projectableNodes = projectableNodes;\n }\n}\n/**\n * A `TemplatePortal` is a portal that represents some embedded template (TemplateRef).\n */\nclass TemplatePortal extends Portal {\n constructor(\n /** The embedded template that will be used to instantiate an embedded View in the host. */\n templateRef, \n /** Reference to the ViewContainer into which the template will be stamped out. */\n viewContainerRef, \n /** Contextual data to be passed in to the embedded view. */\n context, \n /** The injector to use for the embedded view. */\n injector) {\n super();\n this.templateRef = templateRef;\n this.viewContainerRef = viewContainerRef;\n this.context = context;\n this.injector = injector;\n }\n get origin() {\n return this.templateRef.elementRef;\n }\n /**\n * Attach the portal to the provided `PortalOutlet`.\n * When a context is provided it will override the `context` property of the `TemplatePortal`\n * instance.\n */\n attach(host, context = this.context) {\n this.context = context;\n return super.attach(host);\n }\n detach() {\n this.context = undefined;\n return super.detach();\n }\n}\n/**\n * A `DomPortal` is a portal whose DOM element will be taken from its current position\n * in the DOM and moved into a portal outlet, when it is attached. On detach, the content\n * will be restored to its original position.\n */\nclass DomPortal extends Portal {\n constructor(element) {\n super();\n this.element = element instanceof ElementRef ? element.nativeElement : element;\n }\n}\n/**\n * Partial implementation of PortalOutlet that handles attaching\n * ComponentPortal and TemplatePortal.\n */\nclass BasePortalOutlet {\n constructor() {\n /** Whether this host has already been permanently disposed. */\n this._isDisposed = false;\n // @breaking-change 10.0.0 `attachDomPortal` to become a required abstract method.\n this.attachDomPortal = null;\n }\n /** Whether this host has an attached portal. */\n hasAttached() {\n return !!this._attachedPortal;\n }\n /** Attaches a portal. */\n attach(portal) {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!portal) {\n throwNullPortalError();\n }\n if (this.hasAttached()) {\n throwPortalAlreadyAttachedError();\n }\n if (this._isDisposed) {\n throwPortalOutletAlreadyDisposedError();\n }\n }\n if (portal instanceof ComponentPortal) {\n this._attachedPortal = portal;\n return this.attachComponentPortal(portal);\n }\n else if (portal instanceof TemplatePortal) {\n this._attachedPortal = portal;\n return this.attachTemplatePortal(portal);\n // @breaking-change 10.0.0 remove null check for `this.attachDomPortal`.\n }\n else if (this.attachDomPortal && portal instanceof DomPortal) {\n this._attachedPortal = portal;\n return this.attachDomPortal(portal);\n }\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n throwUnknownPortalTypeError();\n }\n }\n /** Detaches a previously attached portal. */\n detach() {\n if (this._attachedPortal) {\n this._attachedPortal.setAttachedHost(null);\n this._attachedPortal = null;\n }\n this._invokeDisposeFn();\n }\n /** Permanently dispose of this portal host. */\n dispose() {\n if (this.hasAttached()) {\n this.detach();\n }\n this._invokeDisposeFn();\n this._isDisposed = true;\n }\n /** @docs-private */\n setDisposeFn(fn) {\n this._disposeFn = fn;\n }\n _invokeDisposeFn() {\n if (this._disposeFn) {\n this._disposeFn();\n this._disposeFn = null;\n }\n }\n}\n/**\n * @deprecated Use `BasePortalOutlet` instead.\n * @breaking-change 9.0.0\n */\nclass BasePortalHost extends BasePortalOutlet {\n}\n\n/**\n * A PortalOutlet for attaching portals to an arbitrary DOM element outside of the Angular\n * application context.\n */\nclass DomPortalOutlet extends BasePortalOutlet {\n /**\n * @param outletElement Element into which the content is projected.\n * @param _componentFactoryResolver Used to resolve the component factory.\n * Only required when attaching component portals.\n * @param _appRef Reference to the application. Only used in component portals when there\n * is no `ViewContainerRef` available.\n * @param _defaultInjector Injector to use as a fallback when the portal being attached doesn't\n * have one. Only used for component portals.\n * @param _document Reference to the document. Used when attaching a DOM portal. Will eventually\n * become a required parameter.\n */\n constructor(\n /** Element into which the content is projected. */\n outletElement, _componentFactoryResolver, _appRef, _defaultInjector, \n /**\n * @deprecated `_document` Parameter to be made required.\n * @breaking-change 10.0.0\n */\n _document) {\n super();\n this.outletElement = outletElement;\n this._componentFactoryResolver = _componentFactoryResolver;\n this._appRef = _appRef;\n this._defaultInjector = _defaultInjector;\n /**\n * Attaches a DOM portal by transferring its content into the outlet.\n * @param portal Portal to be attached.\n * @deprecated To be turned into a method.\n * @breaking-change 10.0.0\n */\n this.attachDomPortal = (portal) => {\n // @breaking-change 10.0.0 Remove check and error once the\n // `_document` constructor parameter is required.\n if (!this._document && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error('Cannot attach DOM portal without _document constructor parameter');\n }\n const element = portal.element;\n if (!element.parentNode && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error('DOM portal content must be attached to a parent node.');\n }\n // Anchor used to save the element's previous position so\n // that we can restore it when the portal is detached.\n const anchorNode = this._document.createComment('dom-portal');\n element.parentNode.insertBefore(anchorNode, element);\n this.outletElement.appendChild(element);\n this._attachedPortal = portal;\n super.setDisposeFn(() => {\n // We can't use `replaceWith` here because IE doesn't support it.\n if (anchorNode.parentNode) {\n anchorNode.parentNode.replaceChild(element, anchorNode);\n }\n });\n };\n this._document = _document;\n }\n /**\n * Attach the given ComponentPortal to DOM element using the ComponentFactoryResolver.\n * @param portal Portal to be attached\n * @returns Reference to the created component.\n */\n attachComponentPortal(portal) {\n const resolver = (portal.componentFactoryResolver || this._componentFactoryResolver);\n if ((typeof ngDevMode === 'undefined' || ngDevMode) && !resolver) {\n throw Error('Cannot attach component portal to outlet without a ComponentFactoryResolver.');\n }\n const componentFactory = resolver.resolveComponentFactory(portal.component);\n let componentRef;\n // If the portal specifies a ViewContainerRef, we will use that as the attachment point\n // for the component (in terms of Angular's component tree, not rendering).\n // When the ViewContainerRef is missing, we use the factory to create the component directly\n // and then manually attach the view to the application.\n if (portal.viewContainerRef) {\n componentRef = portal.viewContainerRef.createComponent(componentFactory, portal.viewContainerRef.length, portal.injector || portal.viewContainerRef.injector, portal.projectableNodes || undefined);\n this.setDisposeFn(() => componentRef.destroy());\n }\n else {\n if ((typeof ngDevMode === 'undefined' || ngDevMode) && !this._appRef) {\n throw Error('Cannot attach component portal to outlet without an ApplicationRef.');\n }\n componentRef = componentFactory.create(portal.injector || this._defaultInjector || Injector.NULL);\n this._appRef.attachView(componentRef.hostView);\n this.setDisposeFn(() => {\n // Verify that the ApplicationRef has registered views before trying to detach a host view.\n // This check also protects the `detachView` from being called on a destroyed ApplicationRef.\n if (this._appRef.viewCount > 0) {\n this._appRef.detachView(componentRef.hostView);\n }\n componentRef.destroy();\n });\n }\n // At this point the component has been instantiated, so we move it to the location in the DOM\n // where we want it to be rendered.\n this.outletElement.appendChild(this._getComponentRootNode(componentRef));\n this._attachedPortal = portal;\n return componentRef;\n }\n /**\n * Attaches a template portal to the DOM as an embedded view.\n * @param portal Portal to be attached.\n * @returns Reference to the created embedded view.\n */\n attachTemplatePortal(portal) {\n let viewContainer = portal.viewContainerRef;\n let viewRef = viewContainer.createEmbeddedView(portal.templateRef, portal.context, {\n injector: portal.injector,\n });\n // The method `createEmbeddedView` will add the view as a child of the viewContainer.\n // But for the DomPortalOutlet the view can be added everywhere in the DOM\n // (e.g Overlay Container) To move the view to the specified host element. We just\n // re-append the existing root nodes.\n viewRef.rootNodes.forEach(rootNode => this.outletElement.appendChild(rootNode));\n // Note that we want to detect changes after the nodes have been moved so that\n // any directives inside the portal that are looking at the DOM inside a lifecycle\n // hook won't be invoked too early.\n viewRef.detectChanges();\n this.setDisposeFn(() => {\n let index = viewContainer.indexOf(viewRef);\n if (index !== -1) {\n viewContainer.remove(index);\n }\n });\n this._attachedPortal = portal;\n // TODO(jelbourn): Return locals from view.\n return viewRef;\n }\n /**\n * Clears out a portal from the DOM.\n */\n dispose() {\n super.dispose();\n this.outletElement.remove();\n }\n /** Gets the root HTMLElement for an instantiated component. */\n _getComponentRootNode(componentRef) {\n return componentRef.hostView.rootNodes[0];\n }\n}\n/**\n * @deprecated Use `DomPortalOutlet` instead.\n * @breaking-change 9.0.0\n */\nclass DomPortalHost extends DomPortalOutlet {\n}\n\n/**\n * Directive version of a `TemplatePortal`. Because the directive *is* a TemplatePortal,\n * the directive instance itself can be attached to a host, enabling declarative use of portals.\n */\nclass CdkPortal extends TemplatePortal {\n constructor(templateRef, viewContainerRef) {\n super(templateRef, viewContainerRef);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkPortal, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkPortal, selector: \"[cdkPortal]\", exportAs: [\"cdkPortal\"], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkPortal, decorators: [{\n type: Directive,\n args: [{\n selector: '[cdkPortal]',\n exportAs: 'cdkPortal',\n }]\n }], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef }]; } });\n/**\n * @deprecated Use `CdkPortal` instead.\n * @breaking-change 9.0.0\n */\nclass TemplatePortalDirective extends CdkPortal {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: TemplatePortalDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: TemplatePortalDirective, selector: \"[cdk-portal], [portal]\", providers: [\n {\n provide: CdkPortal,\n useExisting: TemplatePortalDirective,\n },\n ], exportAs: [\"cdkPortal\"], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: TemplatePortalDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[cdk-portal], [portal]',\n exportAs: 'cdkPortal',\n providers: [\n {\n provide: CdkPortal,\n useExisting: TemplatePortalDirective,\n },\n ],\n }]\n }] });\n/**\n * Directive version of a PortalOutlet. Because the directive *is* a PortalOutlet, portals can be\n * directly attached to it, enabling declarative use.\n *\n * Usage:\n * ``\n */\nclass CdkPortalOutlet extends BasePortalOutlet {\n constructor(_componentFactoryResolver, _viewContainerRef, \n /**\n * @deprecated `_document` parameter to be made required.\n * @breaking-change 9.0.0\n */\n _document) {\n super();\n this._componentFactoryResolver = _componentFactoryResolver;\n this._viewContainerRef = _viewContainerRef;\n /** Whether the portal component is initialized. */\n this._isInitialized = false;\n /** Emits when a portal is attached to the outlet. */\n this.attached = new EventEmitter();\n /**\n * Attaches the given DomPortal to this PortalHost by moving all of the portal content into it.\n * @param portal Portal to be attached.\n * @deprecated To be turned into a method.\n * @breaking-change 10.0.0\n */\n this.attachDomPortal = (portal) => {\n // @breaking-change 9.0.0 Remove check and error once the\n // `_document` constructor parameter is required.\n if (!this._document && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error('Cannot attach DOM portal without _document constructor parameter');\n }\n const element = portal.element;\n if (!element.parentNode && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error('DOM portal content must be attached to a parent node.');\n }\n // Anchor used to save the element's previous position so\n // that we can restore it when the portal is detached.\n const anchorNode = this._document.createComment('dom-portal');\n portal.setAttachedHost(this);\n element.parentNode.insertBefore(anchorNode, element);\n this._getRootNode().appendChild(element);\n this._attachedPortal = portal;\n super.setDisposeFn(() => {\n if (anchorNode.parentNode) {\n anchorNode.parentNode.replaceChild(element, anchorNode);\n }\n });\n };\n this._document = _document;\n }\n /** Portal associated with the Portal outlet. */\n get portal() {\n return this._attachedPortal;\n }\n set portal(portal) {\n // Ignore the cases where the `portal` is set to a falsy value before the lifecycle hooks have\n // run. This handles the cases where the user might do something like `
`\n // and attach a portal programmatically in the parent component. When Angular does the first CD\n // round, it will fire the setter with empty string, causing the user's content to be cleared.\n if (this.hasAttached() && !portal && !this._isInitialized) {\n return;\n }\n if (this.hasAttached()) {\n super.detach();\n }\n if (portal) {\n super.attach(portal);\n }\n this._attachedPortal = portal || null;\n }\n /** Component or view reference that is attached to the portal. */\n get attachedRef() {\n return this._attachedRef;\n }\n ngOnInit() {\n this._isInitialized = true;\n }\n ngOnDestroy() {\n super.dispose();\n this._attachedRef = this._attachedPortal = null;\n }\n /**\n * Attach the given ComponentPortal to this PortalOutlet using the ComponentFactoryResolver.\n *\n * @param portal Portal to be attached to the portal outlet.\n * @returns Reference to the created component.\n */\n attachComponentPortal(portal) {\n portal.setAttachedHost(this);\n // If the portal specifies an origin, use that as the logical location of the component\n // in the application tree. Otherwise use the location of this PortalOutlet.\n const viewContainerRef = portal.viewContainerRef != null ? portal.viewContainerRef : this._viewContainerRef;\n const resolver = portal.componentFactoryResolver || this._componentFactoryResolver;\n const componentFactory = resolver.resolveComponentFactory(portal.component);\n const ref = viewContainerRef.createComponent(componentFactory, viewContainerRef.length, portal.injector || viewContainerRef.injector, portal.projectableNodes || undefined);\n // If we're using a view container that's different from the injected one (e.g. when the portal\n // specifies its own) we need to move the component into the outlet, otherwise it'll be rendered\n // inside of the alternate view container.\n if (viewContainerRef !== this._viewContainerRef) {\n this._getRootNode().appendChild(ref.hostView.rootNodes[0]);\n }\n super.setDisposeFn(() => ref.destroy());\n this._attachedPortal = portal;\n this._attachedRef = ref;\n this.attached.emit(ref);\n return ref;\n }\n /**\n * Attach the given TemplatePortal to this PortalHost as an embedded View.\n * @param portal Portal to be attached.\n * @returns Reference to the created embedded view.\n */\n attachTemplatePortal(portal) {\n portal.setAttachedHost(this);\n const viewRef = this._viewContainerRef.createEmbeddedView(portal.templateRef, portal.context, {\n injector: portal.injector,\n });\n super.setDisposeFn(() => this._viewContainerRef.clear());\n this._attachedPortal = portal;\n this._attachedRef = viewRef;\n this.attached.emit(viewRef);\n return viewRef;\n }\n /** Gets the root node of the portal outlet. */\n _getRootNode() {\n const nativeElement = this._viewContainerRef.element.nativeElement;\n // The directive could be set on a template which will result in a comment\n // node being the root. Use the comment's parent node if that is the case.\n return (nativeElement.nodeType === nativeElement.ELEMENT_NODE\n ? nativeElement\n : nativeElement.parentNode);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkPortalOutlet, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.ViewContainerRef }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkPortalOutlet, selector: \"[cdkPortalOutlet]\", inputs: { portal: [\"cdkPortalOutlet\", \"portal\"] }, outputs: { attached: \"attached\" }, exportAs: [\"cdkPortalOutlet\"], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkPortalOutlet, decorators: [{\n type: Directive,\n args: [{\n selector: '[cdkPortalOutlet]',\n exportAs: 'cdkPortalOutlet',\n inputs: ['portal: cdkPortalOutlet'],\n }]\n }], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i0.ViewContainerRef }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }]; }, propDecorators: { attached: [{\n type: Output\n }] } });\n/**\n * @deprecated Use `CdkPortalOutlet` instead.\n * @breaking-change 9.0.0\n */\nclass PortalHostDirective extends CdkPortalOutlet {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: PortalHostDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: PortalHostDirective, selector: \"[cdkPortalHost], [portalHost]\", inputs: { portal: [\"cdkPortalHost\", \"portal\"] }, providers: [\n {\n provide: CdkPortalOutlet,\n useExisting: PortalHostDirective,\n },\n ], exportAs: [\"cdkPortalHost\"], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: PortalHostDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[cdkPortalHost], [portalHost]',\n exportAs: 'cdkPortalHost',\n inputs: ['portal: cdkPortalHost'],\n providers: [\n {\n provide: CdkPortalOutlet,\n useExisting: PortalHostDirective,\n },\n ],\n }]\n }] });\nclass PortalModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: PortalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: PortalModule, declarations: [CdkPortal, CdkPortalOutlet, TemplatePortalDirective, PortalHostDirective], exports: [CdkPortal, CdkPortalOutlet, TemplatePortalDirective, PortalHostDirective] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: PortalModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: PortalModule, decorators: [{\n type: NgModule,\n args: [{\n exports: [CdkPortal, CdkPortalOutlet, TemplatePortalDirective, PortalHostDirective],\n declarations: [CdkPortal, CdkPortalOutlet, TemplatePortalDirective, PortalHostDirective],\n }]\n }] });\n\n/**\n * Custom injector to be used when providing custom\n * injection tokens to components inside a portal.\n * @docs-private\n * @deprecated Use `Injector.create` instead.\n * @breaking-change 11.0.0\n */\nclass PortalInjector {\n constructor(_parentInjector, _customTokens) {\n this._parentInjector = _parentInjector;\n this._customTokens = _customTokens;\n }\n get(token, notFoundValue) {\n const value = this._customTokens.get(token);\n if (typeof value !== 'undefined') {\n return value;\n }\n return this._parentInjector.get(token, notFoundValue);\n }\n}\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { BasePortalHost, BasePortalOutlet, CdkPortal, CdkPortalOutlet, ComponentPortal, DomPortal, DomPortalHost, DomPortalOutlet, Portal, PortalHostDirective, PortalInjector, PortalModule, TemplatePortal, TemplatePortalDirective };\n","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9]} \ No newline at end of file diff --git a/2111.16941bd519497cc4.js b/2111.16941bd519497cc4.js new file mode 100644 index 0000000..d4b610a --- /dev/null +++ b/2111.16941bd519497cc4.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[2111,7376,5187,4091,1217,7208,4968,4155,1084,6896,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,4680,3326,8596,8352,5501,3098,8608,8443,5915,3278,5391,6748,6763,4151,5069,7432,6618],{35488:(f,n,e)=>{function t(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}e.d(n,{Z:()=>t})},28694:(f,n,e)=>{e.d(n,{Z:()=>i});var t=e(20265),o=e(98568),u=e(43445),r=e(35488);function i(p){var c=(0,o.Z)();return function(){var a,s=(0,t.Z)(p);if(c){var d=(0,t.Z)(this).constructor;a=Reflect.construct(s,arguments,d)}else a=s.apply(this,arguments);return function _(p,c){if(c&&("object"===(0,u.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(p)}(this,a)}}},20265:(f,n,e)=>{function t(o){return(t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)})(o)}e.d(n,{Z:()=>t})},24582:(f,n,e)=>{e.d(n,{Z:()=>o});var t=e(10006);function o(u,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(r&&r.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),r&&(0,t.Z)(u,r)}},98568:(f,n,e)=>{function t(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(n,{Z:()=>t})},10006:(f,n,e)=>{function t(o,u){return(t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_,i){return _.__proto__=i,_})(o,u)}e.d(n,{Z:()=>t})}}]); +//# sourceMappingURL=2111.16941bd519497cc4.js.map \ No newline at end of file diff --git a/2111.16941bd519497cc4.js.map b/2111.16941bd519497cc4.js.map new file mode 100644 index 0000000..922a4ba --- /dev/null +++ b/2111.16941bd519497cc4.js.map @@ -0,0 +1 @@ +{"version":3,"file":"2111.16941bd519497cc4.js","mappings":"sQAAe,SAAAA,EAAAC,GACf,YAAAA,EACA,UAAAC,eAAA,6DAEA,OAAAD,CACA,oGCFe,SAAAE,EAAAC,GACf,IAAAC,KAAkCC,EAAAC,KAClC,kBACA,IACAC,EADAC,KAAgBC,EAAAH,GAAcH,GAE9B,GAAAC,EAAA,CACA,IAAAM,KAAsBD,EAAAH,GAAcK,MAAAC,YACpCL,EAAAM,QAAAC,UAAAN,EAAAO,UAAAL,EAAA,MAEAH,EAAAC,EAAAQ,MAAAL,KAAAI,WAEA,OCZe,SAAAE,EAAAjB,EAAAkB,GACf,GAAAA,IAAsB,YAAtBA,EAAeC,EAAAb,GAAOY,IAAA,mBAAAA,GACtB,OAAAA,EACI,YAAAA,EACJ,UAAAE,UAAA,4DAEA,SAASC,EAAAf,GAAqBN,EAC9B,CDKWiB,CAAyBN,KAAAJ,EACpC,CACA,mBEhBe,SAAAe,EAAAC,GACf,OAAAD,EAAAE,OAAAC,eAAAD,OAAAf,eAAAiB,OAAA,SAAAH,GACA,OAAAA,EAAAI,WAAAH,OAAAf,eAAAc,EACA,GACAA,EACA,mECJe,SAAAK,EAAAC,EAAAC,GACf,sBAAAA,GAAA,OAAAA,EACA,UAAAV,UAAA,sDAEAS,EAAAE,UAAAP,OAAAQ,OAAAF,KAAAC,UAAA,CACAnB,YAAA,CACAqB,MAAAJ,EACAK,UAAA,EACAC,cAAA,KAGAX,OAAAY,eAAAP,EAAA,aACAK,UAAA,IAEAJ,MAAkBO,EAAA/B,GAAcuB,EAAAC,EAChC,mBChBe,SAAAQ,IAEf,UADAzB,QAAA,MAAAA,QAAAC,WACAD,QAAAC,UAAAyB,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAAV,UAAAW,QAAAxB,KAAAL,QAAAC,UAAA2B,QAAA,mBACA,CACA,OACA,QACA,CACA,mCCVe,SAAAE,EAAApB,EAAAqB,GACf,OAAAD,EAAAnB,OAAAC,eAAAD,OAAAC,eAAAC,OAAA,SAAAH,EAAAqB,GACA,OAAArB,EAAAI,UAAAiB,EACArB,CACA,GACAA,EAAAqB,EACA","names":["_assertThisInitialized","self","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","call","esm_typeof","TypeError","assertThisInitialized","_getPrototypeOf","o","Object","setPrototypeOf","bind","__proto__","_inherits","subClass","superClass","prototype","create","value","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6]} \ No newline at end of file diff --git a/2112.a686302e3e9bbb3e.js b/2112.a686302e3e9bbb3e.js new file mode 100644 index 0000000..96b2aaf --- /dev/null +++ b/2112.a686302e3e9bbb3e.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[2112,3022,5106,7376,5187,4091,1217,7208,4968,6785,4155,1084,6896,7920,6980,5113,1328,5749,4309,8024,8513,5555,4967,8017,8116,5873,8061,4680,2111,3326,8596,8352,5501,882,3098,8467,6578,8608,8443,7328,5915,3278,5391,6748,1551,6763,4151,5069,7432,8071,6618],{50253:(E,l,e)=>{e.d(l,{x:()=>M});var o=e(95106),u=e(78069),t=e(48047),n=e(4089),a=e(20265),_=e(24582),i=e(28694),v=e(90833),p=e(17714),h=(0,e(27543).d)(function(A){return function(){A(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),O=e(39663),m=e(12309),M=function(){var A=function(Z){(0,_.Z)(D,Z);var I=(0,i.Z)(D);function D(){var c;return(0,u.Z)(this,D),(c=I.call(this)).closed=!1,c.currentObservers=null,c.observers=[],c.isStopped=!1,c.hasError=!1,c.thrownError=null,c}return(0,t.Z)(D,[{key:"lift",value:function(r){var f=new S(this,this);return f.operator=r,f}},{key:"_throwIfClosed",value:function(){if(this.closed)throw new h}},{key:"next",value:function(r){var f=this;(0,m.x)(function(){if(f._throwIfClosed(),!f.isStopped){f.currentObservers||(f.currentObservers=Array.from(f.observers));var s,y=(0,o.Z)(f.currentObservers);try{for(y.s();!(s=y.n()).done;)s.value.next(r)}catch(P){y.e(P)}finally{y.f()}}})}},{key:"error",value:function(r){var f=this;(0,m.x)(function(){if(f._throwIfClosed(),!f.isStopped){f.hasError=f.isStopped=!0,f.thrownError=r;for(var y=f.observers;y.length;)y.shift().error(r)}})}},{key:"complete",value:function(){var r=this;(0,m.x)(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var f=r.observers;f.length;)f.shift().complete()}})}},{key:"unsubscribe",value:function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}},{key:"observed",get:function(){var r;return(null===(r=this.observers)||void 0===r?void 0:r.length)>0}},{key:"_trySubscribe",value:function(r){return this._throwIfClosed(),(0,n.Z)((0,a.Z)(D.prototype),"_trySubscribe",this).call(this,r)}},{key:"_subscribe",value:function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}},{key:"_innerSubscribe",value:function(r){var f=this,d=this.observers;return this.hasError||this.isStopped?p.Lc:(this.currentObservers=null,d.push(r),new p.w0(function(){f.currentObservers=null,(0,O.P)(d,r)}))}},{key:"_checkFinalizedStatuses",value:function(r){var s=this.isStopped;this.hasError?r.error(this.thrownError):s&&r.complete()}},{key:"asObservable",value:function(){var r=new v.y;return r.source=this,r}}]),D}(v.y);return A.create=function(Z,I){return new S(Z,I)},A}(),S=function(A){(0,_.Z)(I,A);var Z=(0,i.Z)(I);function I(D,c){var r;return(0,u.Z)(this,I),(r=Z.call(this)).destination=D,r.source=c,r}return(0,t.Z)(I,[{key:"next",value:function(c){var r,f;null===(f=null===(r=this.destination)||void 0===r?void 0:r.next)||void 0===f||f.call(r,c)}},{key:"error",value:function(c){var r,f;null===(f=null===(r=this.destination)||void 0===r?void 0:r.error)||void 0===f||f.call(r,c)}},{key:"complete",value:function(){var c,r;null===(r=null===(c=this.destination)||void 0===c?void 0:c.complete)||void 0===r||r.call(c)}},{key:"_subscribe",value:function(c){var r,f;return null!==(f=null===(r=this.source)||void 0===r?void 0:r.subscribe(c))&&void 0!==f?f:p.Lc}}]),I}(M)},37400:(E,l,e)=>{e.d(l,{D:()=>y});var o=e(54987),u=e(8728),t=e(41944);function n(s){var d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,t.e)(function(P,g){g.add(s.schedule(function(){return P.subscribe(g)},d))})}var i=e(90833),p=e(67321),b=e(92971),h=e(1817);function m(s,d){if(!s)throw new Error("Iterable cannot be null");return new i.y(function(P){(0,h.f)(P,d,function(){var g=s[Symbol.asyncIterator]();(0,h.f)(P,d,function(){g.next().then(function(C){C.done?P.complete():P.next(C.value)})},0,!0)})})}var M=e(21331),S=e(79548),A=e(99806),Z=e(23433),I=e(80470),D=e(27785),c=e(20181);function y(s,d){return d?function f(s,d){if(null!=s){if((0,M.c)(s))return function a(s,d){return(0,o.Xf)(s).pipe(n(d),(0,u.Q)(d))}(s,d);if((0,A.z)(s))return function v(s,d){return new i.y(function(P){var g=0;return d.schedule(function(){g===s.length?P.complete():(P.next(s[g++]),P.closed||this.schedule())})})}(s,d);if((0,S.t)(s))return function _(s,d){return(0,o.Xf)(s).pipe(n(d),(0,u.Q)(d))}(s,d);if((0,I.D)(s))return m(s,d);if((0,Z.T)(s))return function O(s,d){return new i.y(function(P){var g;return(0,h.f)(P,d,function(){g=s[p.h](),(0,h.f)(P,d,function(){var C,R;try{var T=g.next();C=T.value,R=T.done}catch(U){return void P.error(U)}R?P.complete():P.next(C)},0,!0)}),function(){return(0,b.m)(g?.return)&&g.return()}})}(s,d);if((0,c.L)(s))return function r(s,d){return m((0,c.Q)(s),d)}(s,d)}throw(0,D.z)(s)}(s,d):(0,o.Xf)(s)}},93945:(E,l,e)=>{e.d(l,{Q:()=>b,x:()=>p});var o=e(78069),u=e(48047),t=e(35488),n=e(24582),a=e(28694),_=e(4089),i=e(20265);function p(h,O,m,M,S){return new b(h,O,m,M,S)}var b=function(h){(0,n.Z)(m,h);var O=(0,a.Z)(m);function m(M,S,A,Z,I,D){var c,r,f,y;return(0,o.Z)(this,m),(y=O.call(this,M)).onFinalize=I,y.shouldUnsubscribe=D,y._next=S?function(s){try{S(s)}catch(d){M.error(d)}}:(0,_.Z)((c=(0,t.Z)(y),(0,i.Z)(m.prototype)),"_next",c),y._error=Z?function(s){try{Z(s)}catch(d){M.error(d)}finally{this.unsubscribe()}}:(0,_.Z)((r=(0,t.Z)(y),(0,i.Z)(m.prototype)),"_error",r),y._complete=A?function(){try{A()}catch(s){M.error(s)}finally{this.unsubscribe()}}:(0,_.Z)((f=(0,t.Z)(y),(0,i.Z)(m.prototype)),"_complete",f),y}return(0,u.Z)(m,[{key:"unsubscribe",value:function(){var S;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var A=this.closed;(0,_.Z)((0,i.Z)(m.prototype),"unsubscribe",this).call(this),!A&&(null===(S=this.onFinalize)||void 0===S||S.call(this))}}}]),m}(e(5463).Lv)},50635:(E,l,e)=>{e.d(l,{U:()=>t});var o=e(41944),u=e(93945);function t(n,a){return(0,o.e)(function(_,i){var v=0;_.subscribe((0,u.x)(i,function(p){i.next(n.call(a,p,v++))}))})}},1308:(E,l,e)=>{e.d(l,{J:()=>t});var o=e(49525),u=e(89173);function t(){return(0,o.z)(u.y,arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0)}},49525:(E,l,e)=>{e.d(l,{z:()=>v});var o=e(50635),u=e(54987),t=e(41944),n=e(1817),a=e(93945),i=e(92971);function v(p,b){var h=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;return(0,i.m)(b)?v(function(O,m){return(0,o.U)(function(M,S){return b(O,M,m,S)})((0,u.Xf)(p(O,m)))},h):("number"==typeof b&&(h=b),(0,t.e)(function(O,m){return function _(p,b,h,O,m,M,S,A){var Z=[],I=0,D=0,c=!1,r=function(){c&&!Z.length&&!I&&b.complete()},f=function(d){return I{e.d(l,{Q:()=>n});var o=e(1817),u=e(41944),t=e(93945);function n(a){var _=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,u.e)(function(i,v){i.subscribe((0,t.x)(v,function(p){return(0,o.f)(v,a,function(){return v.next(p)},_)},function(){return(0,o.f)(v,a,function(){return v.complete()},_)},function(p){return(0,o.f)(v,a,function(){return v.error(p)},_)}))})}},68951:(E,l,e)=>{e.d(l,{R:()=>a});var o=e(41944),u=e(93945),t=e(54987),n=e(99635);function a(_){return(0,o.e)(function(i,v){(0,t.Xf)(_).subscribe((0,u.x)(v,function(){return v.complete()},n.Z)),!v.closed&&i.subscribe(v)})}},10420:(E,l,e)=>{e.d(l,{_6:()=>_,jO:()=>n,yG:()=>a});var o=e(92971),u=e(59867);function t(i){return i[i.length-1]}function n(i){return(0,o.m)(t(i))?i.pop():void 0}function a(i){return(0,u.K)(t(i))?i.pop():void 0}function _(i,v){return"number"==typeof t(i)?i.pop():v}},1817:(E,l,e)=>{function o(u,t,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,_=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=t.schedule(function(){n(),_?u.add(this.schedule(null,a)):this.unsubscribe()},a);if(u.add(i),!_)return i}e.d(l,{f:()=>o})},59867:(E,l,e)=>{e.d(l,{K:()=>u});var o=e(92971);function u(t){return t&&(0,o.m)(t.schedule)}},41944:(E,l,e)=>{e.d(l,{A:()=>u,e:()=>t});var o=e(92971);function u(n){return(0,o.m)(n?.lift)}function t(n){return function(a){if(u(a))return a.lift(function(_){try{return n(_,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}},44841:(E,l,e)=>{function o(u,t){(null==t||t>u.length)&&(t=u.length);for(var n=0,a=new Array(t);no})},35488:(E,l,e)=>{function o(u){if(void 0===u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}e.d(l,{Z:()=>o})},95106:(E,l,e)=>{e.d(l,{Z:()=>u});var o=e(44206);function u(t,n){var a=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!a){if(Array.isArray(t)||(a=(0,o.Z)(t))||n&&t&&"number"==typeof t.length){a&&(t=a);var _=0,i=function(){};return{s:i,n:function(){return _>=t.length?{done:!0}:{done:!1,value:t[_++]}},e:function(O){throw O},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var b,v=!0,p=!1;return{s:function(){a=a.call(t)},n:function(){var O=a.next();return v=O.done,O},e:function(O){p=!0,b=O},f:function(){try{!v&&null!=a.return&&a.return()}finally{if(p)throw b}}}}},28694:(E,l,e)=>{e.d(l,{Z:()=>_});var o=e(20265),u=e(98568),t=e(43445),n=e(35488);function _(i){var v=(0,u.Z)();return function(){var h,b=(0,o.Z)(i);if(v){var O=(0,o.Z)(this).constructor;h=Reflect.construct(b,arguments,O)}else h=b.apply(this,arguments);return function a(i,v){if(v&&("object"===(0,t.Z)(v)||"function"==typeof v))return v;if(void 0!==v)throw new TypeError("Derived constructors may only return object or undefined");return(0,n.Z)(i)}(this,h)}}},4089:(E,l,e)=>{e.d(l,{Z:()=>t});var o=e(20265);function t(){return t=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(a,_,i){var v=function u(n,a){for(;!Object.prototype.hasOwnProperty.call(n,a)&&null!==(n=(0,o.Z)(n)););return n}(a,_);if(v){var p=Object.getOwnPropertyDescriptor(v,_);return p.get?p.get.call(arguments.length<3?a:i):p.value}},t.apply(this,arguments)}},20265:(E,l,e)=>{function o(u){return(o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)})(u)}e.d(l,{Z:()=>o})},24582:(E,l,e)=>{e.d(l,{Z:()=>u});var o=e(10006);function u(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&(0,o.Z)(t,n)}},98568:(E,l,e)=>{function o(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(l,{Z:()=>o})},4826:(E,l,e)=>{function o(u){if(typeof Symbol<"u"&&null!=u[Symbol.iterator]||null!=u["@@iterator"])return Array.from(u)}e.d(l,{Z:()=>o})},10006:(E,l,e)=>{function o(u,t){return(o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,_){return a.__proto__=_,a})(u,t)}e.d(l,{Z:()=>o})},86170:(E,l,e)=>{e.d(l,{Z:()=>_});var o=e(44841),t=e(4826),n=e(44206);function _(i){return function u(i){if(Array.isArray(i))return(0,o.Z)(i)}(i)||(0,t.Z)(i)||(0,n.Z)(i)||function a(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(E,l,e)=>{e.d(l,{Z:()=>u});var o=e(44841);function u(t,n){if(t){if("string"==typeof t)return(0,o.Z)(t,n);var a=Object.prototype.toString.call(t).slice(8,-1);if("Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return(0,o.Z)(t,n)}}}}]); +//# sourceMappingURL=2112.a686302e3e9bbb3e.js.map \ No newline at end of file diff --git a/2112.a686302e3e9bbb3e.js.map b/2112.a686302e3e9bbb3e.js.map new file mode 100644 index 0000000..f9c1831 --- /dev/null +++ b/2112.a686302e3e9bbb3e.js.map @@ -0,0 +1 @@ +{"version":3,"file":"2112.a686302e3e9bbb3e.js","mappings":"kcACaA,cAA0BC,GAAiB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tE,SAAAgF,IACf,UAAAhE,UAAA,uIACA,CFG8FgE,EAC9F,mDGLe,SAAAC,EAAA3D,EAAA4D,GACf,GAAA5D,EACA,qBAAAA,EAAA,SAAoC6D,EAAAxD,GAAgBL,EAAA4D,GACpD,IAAA7M,EAAAiL,OAAAhK,UAAA8L,SAAArO,KAAAuK,GAAA+D,MAAA,MAEA,GADA,WAAAhN,GAAAiJ,EAAAkB,cAAAnK,EAAAiJ,EAAAkB,YAAAjM,MACA,QAAA8B,GAAA,QAAAA,EAAA,OAAAN,MAAAC,KAAAsJ,GACA,iBAAAjJ,GAAA,2CAAAiN,KAAAjN,GAAA,SAAsF8M,EAAAxD,GAAgBL,EAAA4D,EAAA,CACtG","names":["ObjectUnsubscribedError","createErrorClass","_super","this","name","message","Subject","_Observable","_inherits","_createSuper","_this","_classCallCheck","call","closed","currentObservers","observers","isStopped","hasError","thrownError","_createClass","key","value","operator","subject","AnonymousSubject","_this2","errorContext","_throwIfClosed","Array","from","_step","_iterator","_createForOfIteratorHelper","s","n","done","next","err","e","f","_this3","length","shift","error","_this4","complete","get","_a","subscriber","_get","_getPrototypeOf","prototype","_checkFinalizedStatuses","_innerSubscribe","_this5","EMPTY_SUBSCRIPTION","push","Subscription","arrRemove","observable","Observable","source","create","destination","_Subject","_super2","_this6","_b","subscribe","subscribeOn","scheduler","delay","arguments","undefined","operate","add","schedule","scheduleAsyncIterable","input","Error","executeSchedule","iterator","Symbol","asyncIterator","then","result","scheduled","isInteropObservable","scheduleObservable","innerFrom","pipe","observeOn","isArrayLike","scheduleArray","i","isPromise","schedulePromise","isAsyncIterable","isIterable","scheduleIterable","Symbol_iterator","_iterator$next","isFunction","return","isReadableStreamLike","scheduleReadableStreamLike","readableStreamLikeToAsyncGenerator","createInvalidObservableTypeError","createOperatorSubscriber","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_next","_assertThisInitialized","_error","unsubscribe","_complete","Subscriber","map","project","thisArg","index","mergeAll","mergeMap","identity","Infinity","resultSelector","concurrent","a","b","ii","mergeInternals","onBeforeNext","expand","innerSubScheduler","additionalFinalizer","buffer","active","isComplete","checkComplete","outerNext","doInnerSub","innerComplete","innerValue","_loop","bufferedValue","takeUntil","notifier","noop","last","arr","popResultSelector","args","pop","popScheduler","isScheduler","popNumber","defaultValue","parentSubscription","work","repeat","scheduleSubscription","hasLift","lift","init","liftedSource","TypeError","_arrayLikeToArray","len","arr2","self","ReferenceError","o","allowArrayLike","it","isArray","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","_e","normalCompletion","didErr","step","_e2","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Super","getPrototypeOf","NewTarget","constructor","Reflect","construct","apply","_possibleConstructorReturn","esm_typeof","assertThisInitialized","bind","target","property","receiver","base","_superPropBase","object","Object","hasOwnProperty","desc","getOwnPropertyDescriptor","setPrototypeOf","__proto__","subClass","superClass","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_iterableToArray","iter","_setPrototypeOf","p","_toConsumableArray","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","toString","slice","test"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/util/ObjectUnsubscribedError.js","./node_modules/rxjs/dist/esm/internal/Subject.js","./node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleAsyncIterable.js","./node_modules/rxjs/dist/esm/internal/observable/from.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduled.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleObservable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleArray.js","./node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleIterable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleReadableStreamLike.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/map.js","./node_modules/rxjs/dist/esm/internal/operators/mergeAll.js","./node_modules/rxjs/dist/esm/internal/operators/mergeMap.js","./node_modules/rxjs/dist/esm/internal/operators/mergeInternals.js","./node_modules/rxjs/dist/esm/internal/operators/observeOn.js","./node_modules/rxjs/dist/esm/internal/operators/takeUntil.js","./node_modules/rxjs/dist/esm/internal/util/args.js","./node_modules/rxjs/dist/esm/internal/util/executeSchedule.js","./node_modules/rxjs/dist/esm/internal/util/isScheduler.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { createErrorClass } from './createErrorClass';\nexport const ObjectUnsubscribedError = createErrorClass((_super) => function ObjectUnsubscribedErrorImpl() {\n _super(this);\n this.name = 'ObjectUnsubscribedError';\n this.message = 'object unsubscribed';\n});\n","import { Observable } from './Observable';\nimport { Subscription, EMPTY_SUBSCRIPTION } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { arrRemove } from './util/arrRemove';\nimport { errorContext } from './util/errorContext';\nexport class Subject extends Observable {\n constructor() {\n super();\n this.closed = false;\n this.currentObservers = null;\n this.observers = [];\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n lift(operator) {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n }\n _throwIfClosed() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n }\n next(value) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n if (!this.currentObservers) {\n this.currentObservers = Array.from(this.observers);\n }\n for (const observer of this.currentObservers) {\n observer.next(value);\n }\n }\n });\n }\n error(err) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.hasError = this.isStopped = true;\n this.thrownError = err;\n const { observers } = this;\n while (observers.length) {\n observers.shift().error(err);\n }\n }\n });\n }\n complete() {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.isStopped = true;\n const { observers } = this;\n while (observers.length) {\n observers.shift().complete();\n }\n }\n });\n }\n unsubscribe() {\n this.isStopped = this.closed = true;\n this.observers = this.currentObservers = null;\n }\n get observed() {\n var _a;\n return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;\n }\n _trySubscribe(subscriber) {\n this._throwIfClosed();\n return super._trySubscribe(subscriber);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._checkFinalizedStatuses(subscriber);\n return this._innerSubscribe(subscriber);\n }\n _innerSubscribe(subscriber) {\n const { hasError, isStopped, observers } = this;\n if (hasError || isStopped) {\n return EMPTY_SUBSCRIPTION;\n }\n this.currentObservers = null;\n observers.push(subscriber);\n return new Subscription(() => {\n this.currentObservers = null;\n arrRemove(observers, subscriber);\n });\n }\n _checkFinalizedStatuses(subscriber) {\n const { hasError, thrownError, isStopped } = this;\n if (hasError) {\n subscriber.error(thrownError);\n }\n else if (isStopped) {\n subscriber.complete();\n }\n }\n asObservable() {\n const observable = new Observable();\n observable.source = this;\n return observable;\n }\n}\nSubject.create = (destination, source) => {\n return new AnonymousSubject(destination, source);\n};\nexport class AnonymousSubject extends Subject {\n constructor(destination, source) {\n super();\n this.destination = destination;\n this.source = source;\n }\n next(value) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);\n }\n error(err) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);\n }\n complete() {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);\n }\n _subscribe(subscriber) {\n var _a, _b;\n return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;\n }\n}\n","import { operate } from '../util/lift';\nexport function subscribeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay));\n });\n}\n","import { Observable } from '../Observable';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleAsyncIterable(input, scheduler) {\n if (!input) {\n throw new Error('Iterable cannot be null');\n }\n return new Observable((subscriber) => {\n executeSchedule(subscriber, scheduler, () => {\n const iterator = input[Symbol.asyncIterator]();\n executeSchedule(subscriber, scheduler, () => {\n iterator.next().then((result) => {\n if (result.done) {\n subscriber.complete();\n }\n else {\n subscriber.next(result.value);\n }\n });\n }, 0, true);\n });\n });\n}\n","import { scheduled } from '../scheduled/scheduled';\nimport { innerFrom } from './innerFrom';\nexport function from(input, scheduler) {\n return scheduler ? scheduled(input, scheduler) : innerFrom(input);\n}\n","import { scheduleObservable } from './scheduleObservable';\nimport { schedulePromise } from './schedulePromise';\nimport { scheduleArray } from './scheduleArray';\nimport { scheduleIterable } from './scheduleIterable';\nimport { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isPromise } from '../util/isPromise';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isIterable } from '../util/isIterable';\nimport { isAsyncIterable } from '../util/isAsyncIterable';\nimport { createInvalidObservableTypeError } from '../util/throwUnobservableError';\nimport { isReadableStreamLike } from '../util/isReadableStreamLike';\nimport { scheduleReadableStreamLike } from './scheduleReadableStreamLike';\nexport function scheduled(input, scheduler) {\n if (input != null) {\n if (isInteropObservable(input)) {\n return scheduleObservable(input, scheduler);\n }\n if (isArrayLike(input)) {\n return scheduleArray(input, scheduler);\n }\n if (isPromise(input)) {\n return schedulePromise(input, scheduler);\n }\n if (isAsyncIterable(input)) {\n return scheduleAsyncIterable(input, scheduler);\n }\n if (isIterable(input)) {\n return scheduleIterable(input, scheduler);\n }\n if (isReadableStreamLike(input)) {\n return scheduleReadableStreamLike(input, scheduler);\n }\n }\n throw createInvalidObservableTypeError(input);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function scheduleObservable(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nexport function scheduleArray(input, scheduler) {\n return new Observable((subscriber) => {\n let i = 0;\n return scheduler.schedule(function () {\n if (i === input.length) {\n subscriber.complete();\n }\n else {\n subscriber.next(input[i++]);\n if (!subscriber.closed) {\n this.schedule();\n }\n }\n });\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function schedulePromise(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from '../util/isFunction';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleIterable(input, scheduler) {\n return new Observable((subscriber) => {\n let iterator;\n executeSchedule(subscriber, scheduler, () => {\n iterator = input[Symbol_iterator]();\n executeSchedule(subscriber, scheduler, () => {\n let value;\n let done;\n try {\n ({ value, done } = iterator.next());\n }\n catch (err) {\n subscriber.error(err);\n return;\n }\n if (done) {\n subscriber.complete();\n }\n else {\n subscriber.next(value);\n }\n }, 0, true);\n });\n return () => isFunction(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return();\n });\n}\n","import { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { readableStreamLikeToAsyncGenerator } from '../util/isReadableStreamLike';\nexport function scheduleReadableStreamLike(input, scheduler) {\n return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function map(project, thisArg) {\n return operate((source, subscriber) => {\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n subscriber.next(project.call(thisArg, value, index++));\n }));\n });\n}\n","import { mergeMap } from './mergeMap';\nimport { identity } from '../util/identity';\nexport function mergeAll(concurrent = Infinity) {\n return mergeMap(identity, concurrent);\n}\n","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 }\n else if (typeof resultSelector === 'number') {\n concurrent = resultSelector;\n }\n return operate((source, subscriber) => mergeInternals(source, subscriber, project, concurrent));\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { executeSchedule } from '../util/executeSchedule';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function mergeInternals(source, subscriber, project, concurrent, onBeforeNext, expand, innerSubScheduler, additionalFinalizer) {\n const buffer = [];\n let active = 0;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => {\n if (isComplete && !buffer.length && !active) {\n subscriber.complete();\n }\n };\n const outerNext = (value) => (active < concurrent ? doInnerSub(value) : buffer.push(value));\n const doInnerSub = (value) => {\n expand && subscriber.next(value);\n active++;\n let innerComplete = false;\n innerFrom(project(value, index++)).subscribe(createOperatorSubscriber(subscriber, (innerValue) => {\n onBeforeNext === null || onBeforeNext === void 0 ? void 0 : onBeforeNext(innerValue);\n if (expand) {\n outerNext(innerValue);\n }\n else {\n subscriber.next(innerValue);\n }\n }, () => {\n innerComplete = true;\n }, undefined, () => {\n if (innerComplete) {\n try {\n active--;\n while (buffer.length && active < concurrent) {\n const bufferedValue = buffer.shift();\n if (innerSubScheduler) {\n executeSchedule(subscriber, innerSubScheduler, () => doInnerSub(bufferedValue));\n }\n else {\n doInnerSub(bufferedValue);\n }\n }\n checkComplete();\n }\n catch (err) {\n subscriber.error(err);\n }\n }\n }));\n };\n source.subscribe(createOperatorSubscriber(subscriber, outerNext, () => {\n isComplete = true;\n checkComplete();\n }));\n return () => {\n additionalFinalizer === null || additionalFinalizer === void 0 ? void 0 : additionalFinalizer();\n };\n}\n","import { executeSchedule } from '../util/executeSchedule';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function observeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, (value) => executeSchedule(subscriber, scheduler, () => subscriber.next(value), delay), () => executeSchedule(subscriber, scheduler, () => subscriber.complete(), delay), (err) => executeSchedule(subscriber, scheduler, () => subscriber.error(err), delay)));\n });\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { innerFrom } from '../observable/innerFrom';\nimport { noop } from '../util/noop';\nexport function takeUntil(notifier) {\n return operate((source, subscriber) => {\n innerFrom(notifier).subscribe(createOperatorSubscriber(subscriber, () => subscriber.complete(), noop));\n !subscriber.closed && source.subscribe(subscriber);\n });\n}\n","import { isFunction } from './isFunction';\nimport { isScheduler } from './isScheduler';\nfunction last(arr) {\n return arr[arr.length - 1];\n}\nexport function popResultSelector(args) {\n return isFunction(last(args)) ? args.pop() : undefined;\n}\nexport function popScheduler(args) {\n return isScheduler(last(args)) ? args.pop() : undefined;\n}\nexport function popNumber(args, defaultValue) {\n return typeof last(args) === 'number' ? args.pop() : defaultValue;\n}\n","export function executeSchedule(parentSubscription, scheduler, work, delay = 0, repeat = false) {\n const scheduleSubscription = scheduler.schedule(function () {\n work();\n if (repeat) {\n parentSubscription.add(this.schedule(null, delay));\n }\n else {\n this.unsubscribe();\n }\n }, delay);\n parentSubscription.add(scheduleSubscription);\n if (!repeat) {\n return scheduleSubscription;\n }\n}\n","import { isFunction } from './isFunction';\nexport function isScheduler(value) {\n return value && isFunction(value.schedule);\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37]} \ No newline at end of file diff --git a/2124.c33f9c0d968a72a1.js b/2124.c33f9c0d968a72a1.js new file mode 100644 index 0000000..edbb4b7 --- /dev/null +++ b/2124.c33f9c0d968a72a1.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[2124,3022,5106,7376,5187,4091,1217,7208,4968,6785,4155,1084,6896,7920,6980,5113,1328,5749,4309,8024,8513,5555,4967,8017,8116,5873,8061,4680,2111,3326,8596,8352,5501,882,3098,8467,6578,4093,8608,8443,7328,6441,1821,4902,5915,3278,5391,6748,1551,6763,4151,5069,7432,8071,6618],{76317:(b,D,a)=>{a.d(D,{X:()=>p});var v=a(78069),y=a(48047),d=a(4089),h=a(20265),c=a(24582),f=a(28694),p=function(P){(0,c.Z)(E,P);var F=(0,f.Z)(E);function E(I){var O;return(0,v.Z)(this,E),(O=F.call(this))._value=I,O}return(0,y.Z)(E,[{key:"value",get:function(){return this.getValue()}},{key:"_subscribe",value:function(O){var L=(0,d.Z)((0,h.Z)(E.prototype),"_subscribe",this).call(this,O);return!L.closed&&O.next(this._value),L}},{key:"getValue",value:function(){var n=this._value;if(this.hasError)throw this.thrownError;return this._throwIfClosed(),n}},{key:"next",value:function(O){(0,d.Z)((0,h.Z)(E.prototype),"next",this).call(this,this._value=O)}}]),E}(a(50253).x)},50253:(b,D,a)=>{a.d(D,{x:()=>L});var v=a(95106),y=a(78069),d=a(48047),h=a(4089),c=a(20265),f=a(24582),_=a(28694),p=a(90833),P=a(17714),E=(0,a(27543).d)(function(N){return function(){N(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),I=a(39663),O=a(12309),L=function(){var N=function(U){(0,f.Z)(j,U);var x=(0,_.Z)(j);function j(){var k;return(0,y.Z)(this,j),(k=x.call(this)).closed=!1,k.currentObservers=null,k.observers=[],k.isStopped=!1,k.hasError=!1,k.thrownError=null,k}return(0,d.Z)(j,[{key:"lift",value:function(m){var g=new n(this,this);return g.operator=m,g}},{key:"_throwIfClosed",value:function(){if(this.closed)throw new E}},{key:"next",value:function(m){var g=this;(0,O.x)(function(){if(g._throwIfClosed(),!g.isStopped){g.currentObservers||(g.currentObservers=Array.from(g.observers));var w,T=(0,v.Z)(g.currentObservers);try{for(T.s();!(w=T.n()).done;)w.value.next(m)}catch(Z){T.e(Z)}finally{T.f()}}})}},{key:"error",value:function(m){var g=this;(0,O.x)(function(){if(g._throwIfClosed(),!g.isStopped){g.hasError=g.isStopped=!0,g.thrownError=m;for(var T=g.observers;T.length;)T.shift().error(m)}})}},{key:"complete",value:function(){var m=this;(0,O.x)(function(){if(m._throwIfClosed(),!m.isStopped){m.isStopped=!0;for(var g=m.observers;g.length;)g.shift().complete()}})}},{key:"unsubscribe",value:function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}},{key:"observed",get:function(){var m;return(null===(m=this.observers)||void 0===m?void 0:m.length)>0}},{key:"_trySubscribe",value:function(m){return this._throwIfClosed(),(0,h.Z)((0,c.Z)(j.prototype),"_trySubscribe",this).call(this,m)}},{key:"_subscribe",value:function(m){return this._throwIfClosed(),this._checkFinalizedStatuses(m),this._innerSubscribe(m)}},{key:"_innerSubscribe",value:function(m){var g=this,S=this.observers;return this.hasError||this.isStopped?P.Lc:(this.currentObservers=null,S.push(m),new P.w0(function(){g.currentObservers=null,(0,I.P)(S,m)}))}},{key:"_checkFinalizedStatuses",value:function(m){var w=this.isStopped;this.hasError?m.error(this.thrownError):w&&m.complete()}},{key:"asObservable",value:function(){var m=new p.y;return m.source=this,m}}]),j}(p.y);return N.create=function(U,x){return new n(U,x)},N}(),n=function(N){(0,f.Z)(x,N);var U=(0,_.Z)(x);function x(j,k){var m;return(0,y.Z)(this,x),(m=U.call(this)).destination=j,m.source=k,m}return(0,d.Z)(x,[{key:"next",value:function(k){var m,g;null===(g=null===(m=this.destination)||void 0===m?void 0:m.next)||void 0===g||g.call(m,k)}},{key:"error",value:function(k){var m,g;null===(g=null===(m=this.destination)||void 0===m?void 0:m.error)||void 0===g||g.call(m,k)}},{key:"complete",value:function(){var k,m;null===(m=null===(k=this.destination)||void 0===k?void 0:k.complete)||void 0===m||m.call(k)}},{key:"_subscribe",value:function(k){var m,g;return null!==(g=null===(m=this.source)||void 0===m?void 0:m.subscribe(k))&&void 0!==g?g:P.Lc}}]),x}(L)},20591:(b,D,a)=>{a.d(D,{E:()=>y});var y=new(a(90833).y)(function(c){return c.complete()})},37400:(b,D,a)=>{a.d(D,{D:()=>T});var v=a(54987),y=a(8728),d=a(41944);function h(w){var S=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,d.e)(function(Z,B){B.add(w.schedule(function(){return Z.subscribe(B)},S))})}var _=a(90833),P=a(67321),F=a(92971),E=a(1817);function O(w,S){if(!w)throw new Error("Iterable cannot be null");return new _.y(function(Z){(0,E.f)(Z,S,function(){var B=w[Symbol.asyncIterator]();(0,E.f)(Z,S,function(){B.next().then(function(W){W.done?Z.complete():Z.next(W.value)})},0,!0)})})}var L=a(21331),n=a(79548),N=a(99806),U=a(23433),x=a(80470),j=a(27785),k=a(20181);function T(w,S){return S?function g(w,S){if(null!=w){if((0,L.c)(w))return function c(w,S){return(0,v.Xf)(w).pipe(h(S),(0,y.Q)(S))}(w,S);if((0,N.z)(w))return function p(w,S){return new _.y(function(Z){var B=0;return S.schedule(function(){B===w.length?Z.complete():(Z.next(w[B++]),Z.closed||this.schedule())})})}(w,S);if((0,n.t)(w))return function f(w,S){return(0,v.Xf)(w).pipe(h(S),(0,y.Q)(S))}(w,S);if((0,x.D)(w))return O(w,S);if((0,U.T)(w))return function I(w,S){return new _.y(function(Z){var B;return(0,E.f)(Z,S,function(){B=w[P.h](),(0,E.f)(Z,S,function(){var W,ne;try{var X=B.next();W=X.value,ne=X.done}catch(J){return void Z.error(J)}ne?Z.complete():Z.next(W)},0,!0)}),function(){return(0,F.m)(B?.return)&&B.return()}})}(w,S);if((0,k.L)(w))return function m(w,S){return O((0,k.Q)(w),S)}(w,S)}throw(0,j.z)(w)}(w,S):(0,v.Xf)(w)}},10745:(b,D,a)=>{a.d(D,{of:()=>d});var v=a(10420),y=a(37400);function d(){for(var h=arguments.length,c=new Array(h),f=0;f{a.d(D,{Q:()=>F,x:()=>P});var v=a(78069),y=a(48047),d=a(35488),h=a(24582),c=a(28694),f=a(4089),_=a(20265);function P(E,I,O,L,n){return new F(E,I,O,L,n)}var F=function(E){(0,h.Z)(O,E);var I=(0,c.Z)(O);function O(L,n,N,U,x,j){var k,m,g,T;return(0,v.Z)(this,O),(T=I.call(this,L)).onFinalize=x,T.shouldUnsubscribe=j,T._next=n?function(w){try{n(w)}catch(S){L.error(S)}}:(0,f.Z)((k=(0,d.Z)(T),(0,_.Z)(O.prototype)),"_next",k),T._error=U?function(w){try{U(w)}catch(S){L.error(S)}finally{this.unsubscribe()}}:(0,f.Z)((m=(0,d.Z)(T),(0,_.Z)(O.prototype)),"_error",m),T._complete=N?function(){try{N()}catch(w){L.error(w)}finally{this.unsubscribe()}}:(0,f.Z)((g=(0,d.Z)(T),(0,_.Z)(O.prototype)),"_complete",g),T}return(0,y.Z)(O,[{key:"unsubscribe",value:function(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var N=this.closed;(0,f.Z)((0,_.Z)(O.prototype),"unsubscribe",this).call(this),!N&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}]),O}(a(5463).Lv)},8728:(b,D,a)=>{a.d(D,{Q:()=>h});var v=a(1817),y=a(41944),d=a(93945);function h(c){var f=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,y.e)(function(_,p){_.subscribe((0,d.x)(p,function(P){return(0,v.f)(p,c,function(){return p.next(P)},f)},function(){return(0,v.f)(p,c,function(){return p.complete()},f)},function(P){return(0,v.f)(p,c,function(){return p.error(P)},f)}))})}},59295:(b,D,a)=>{a.d(D,{q:()=>h});var v=a(20591),y=a(41944),d=a(93945);function h(c){return c<=0?function(){return v.E}:(0,y.e)(function(f,_){var p=0;f.subscribe((0,d.x)(_,function(P){++p<=c&&(_.next(P),c<=p&&_.complete())}))})}},68951:(b,D,a)=>{a.d(D,{R:()=>c});var v=a(41944),y=a(93945),d=a(54987),h=a(99635);function c(f){return(0,v.e)(function(_,p){(0,d.Xf)(f).subscribe((0,y.x)(p,function(){return p.complete()},h.Z)),!p.closed&&_.subscribe(p)})}},10420:(b,D,a)=>{a.d(D,{_6:()=>f,jO:()=>h,yG:()=>c});var v=a(92971),y=a(59867);function d(_){return _[_.length-1]}function h(_){return(0,v.m)(d(_))?_.pop():void 0}function c(_){return(0,y.K)(d(_))?_.pop():void 0}function f(_,p){return"number"==typeof d(_)?_.pop():p}},1817:(b,D,a)=>{function v(y,d,h){var c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,f=arguments.length>4&&void 0!==arguments[4]&&arguments[4],_=d.schedule(function(){h(),f?y.add(this.schedule(null,c)):this.unsubscribe()},c);if(y.add(_),!f)return _}a.d(D,{f:()=>v})},14437:(b,D,a)=>{a.d(D,{b:()=>d});var v=a(90833),y=a(92971);function d(h){return!!h&&(h instanceof v.y||(0,y.m)(h.lift)&&(0,y.m)(h.subscribe))}},59867:(b,D,a)=>{a.d(D,{K:()=>y});var v=a(92971);function y(d){return d&&(0,v.m)(d.schedule)}},41944:(b,D,a)=>{a.d(D,{A:()=>y,e:()=>d});var v=a(92971);function y(h){return(0,v.m)(h?.lift)}function d(h){return function(c){if(y(c))return c.lift(function(f){try{return h(f,this)}catch(_){this.error(_)}});throw new TypeError("Unable to lift unknown Observable type")}}},52124:(b,D,a)=>{a.r(D),a.d(D,{BaseCdkCell:()=>re,BaseRowDef:()=>oe,CDK_ROW_TEMPLATE:()=>Fe,CDK_TABLE:()=>W,CDK_TABLE_TEMPLATE:()=>xe,CdkCell:()=>ye,CdkCellDef:()=>X,CdkCellOutlet:()=>$,CdkColumnDef:()=>Y,CdkFooterCell:()=>Ee,CdkFooterCellDef:()=>_e,CdkFooterRow:()=>be,CdkFooterRowDef:()=>ae,CdkHeaderCell:()=>ve,CdkHeaderCellDef:()=>J,CdkHeaderRow:()=>Oe,CdkHeaderRowDef:()=>ie,CdkNoDataRow:()=>pe,CdkRecycleRows:()=>Pe,CdkRow:()=>Te,CdkRowDef:()=>De,CdkTable:()=>ge,CdkTableModule:()=>Ue,CdkTextColumn:()=>Ie,DataRowOutlet:()=>se,DataSource:()=>E.DataSource,FooterRowOutlet:()=>le,HeaderRowOutlet:()=>ue,NoDataRowOutlet:()=>ce,STICKY_DIRECTIONS:()=>Re,STICKY_POSITIONING_LISTENER:()=>we,StickyStyler:()=>Me,TEXT_COLUMN_OPTIONS:()=>ne,_COALESCED_STYLE_SCHEDULER:()=>Ce,_CoalescedStyleScheduler:()=>Se,_Schedule:()=>me,mixinHasStickyInput:()=>B});var v=a(4089),y=a(20265),d=a(95106),h=a(86170),c=a(78069),f=a(48047),_=a(24582),p=a(28694),P=a(43068),F=a(35333),E=a(81382),I=a(23675),O=a(93168),L=a(94055),n=a(56718),N=a(50253),U=a(37400),x=a(76317),j=a(14437),k=a(10745),m=a(68951),g=a(59295),T=[[["caption"]],[["colgroup"],["col"]]],w=["caption","colgroup, col"];function S(r,s){if(1&r&&(n.\u0275\u0275elementStart(0,"th",3),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&r){var t=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",t.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",t.headerText," ")}}function Z(r,s){if(1&r&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&r){var t=s.$implicit,e=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",e.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",e.dataAccessor(t,e.name)," ")}}function B(r){return function(s){(0,_.Z)(e,s);var t=(0,p.Z)(e);function e(){var o;(0,c.Z)(this,e);for(var i=arguments.length,u=new Array(i),l=0;l",oe=function(){var r=function(){function s(t,e){(0,c.Z)(this,s),this.template=t,this._differs=e}return(0,f.Z)(s,[{key:"ngOnChanges",value:function(e){if(!this._columnsDiffer){var o=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(o).create(),this._columnsDiffer.diff(o)}}},{key:"getColumnsDiff",value:function(){return this._columnsDiffer.diff(this.columns)}},{key:"extractCellTemplate",value:function(e){return this instanceof ie?e.headerCell.template:this instanceof ae?e.footerCell.template:e.cell.template}}]),s}();return r.\u0275fac=function(t){return new(t||r)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers))},r.\u0275dir=n.\u0275\u0275defineDirective({type:r,features:[n.\u0275\u0275NgOnChangesFeature]}),r}(),Be=B(function(r){(0,_.Z)(t,r);var s=(0,p.Z)(t);function t(){return(0,c.Z)(this,t),s.apply(this,arguments)}return(0,f.Z)(t)}(oe)),ie=function(){var r=function(s){(0,_.Z)(e,s);var t=(0,p.Z)(e);function e(o,i,u){var l;return(0,c.Z)(this,e),(l=t.call(this,o,i))._table=u,l}return(0,f.Z)(e,[{key:"ngOnChanges",value:function(i){(0,v.Z)((0,y.Z)(e.prototype),"ngOnChanges",this).call(this,i)}}]),e}(Be);return r.\u0275fac=function(t){return new(t||r)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(W,8))},r.\u0275dir=n.\u0275\u0275defineDirective({type:r,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),r}(),Ne=B(function(r){(0,_.Z)(t,r);var s=(0,p.Z)(t);function t(){return(0,c.Z)(this,t),s.apply(this,arguments)}return(0,f.Z)(t)}(oe)),ae=function(){var r=function(s){(0,_.Z)(e,s);var t=(0,p.Z)(e);function e(o,i,u){var l;return(0,c.Z)(this,e),(l=t.call(this,o,i))._table=u,l}return(0,f.Z)(e,[{key:"ngOnChanges",value:function(i){(0,v.Z)((0,y.Z)(e.prototype),"ngOnChanges",this).call(this,i)}}]),e}(Ne);return r.\u0275fac=function(t){return new(t||r)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(W,8))},r.\u0275dir=n.\u0275\u0275defineDirective({type:r,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),r}(),De=function(){var r=function(s){(0,_.Z)(e,s);var t=(0,p.Z)(e);function e(o,i,u){var l;return(0,c.Z)(this,e),(l=t.call(this,o,i))._table=u,l}return(0,f.Z)(e)}(oe);return r.\u0275fac=function(t){return new(t||r)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(W,8))},r.\u0275dir=n.\u0275\u0275defineDirective({type:r,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[n.\u0275\u0275InheritDefinitionFeature]}),r}(),$=function(){var r=function(){function s(t){(0,c.Z)(this,s),this._viewContainer=t,s.mostRecentCellOutlet=this}return(0,f.Z)(s,[{key:"ngOnDestroy",value:function(){s.mostRecentCellOutlet===this&&(s.mostRecentCellOutlet=null)}}]),s}();return r.mostRecentCellOutlet=null,r.\u0275fac=function(t){return new(t||r)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},r.\u0275dir=n.\u0275\u0275defineDirective({type:r,selectors:[["","cdkCellOutlet",""]]}),r}(),Oe=function(){var r=(0,f.Z)(function s(){(0,c.Z)(this,s)});return r.\u0275fac=function(t){return new(t||r)},r.\u0275cmp=n.\u0275\u0275defineComponent({type:r,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&n.\u0275\u0275elementContainer(0,0)},dependencies:[$],encapsulation:2}),r}(),be=function(){var r=(0,f.Z)(function s(){(0,c.Z)(this,s)});return r.\u0275fac=function(t){return new(t||r)},r.\u0275cmp=n.\u0275\u0275defineComponent({type:r,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&n.\u0275\u0275elementContainer(0,0)},dependencies:[$],encapsulation:2}),r}(),Te=function(){var r=(0,f.Z)(function s(){(0,c.Z)(this,s)});return r.\u0275fac=function(t){return new(t||r)},r.\u0275cmp=n.\u0275\u0275defineComponent({type:r,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&n.\u0275\u0275elementContainer(0,0)},dependencies:[$],encapsulation:2}),r}(),pe=function(){var r=(0,f.Z)(function s(t){(0,c.Z)(this,s),this.templateRef=t,this._contentClassName="cdk-no-data-row"});return r.\u0275fac=function(t){return new(t||r)(n.\u0275\u0275directiveInject(n.TemplateRef))},r.\u0275dir=n.\u0275\u0275defineDirective({type:r,selectors:[["ng-template","cdkNoDataRow",""]]}),r}(),Re=["top","bottom","left","right"],Me=function(){function r(s,t,e,o){var i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],u=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],l=arguments.length>6?arguments[6]:void 0;(0,c.Z)(this,r),this._isNativeHtmlTable=s,this._stickCellCss=t,this.direction=e,this._coalescedStyleScheduler=o,this._isBrowser=i,this._needsPositionStickyOnElement=u,this._positionListener=l,this._cachedCellWidths=[],this._borderCellCss={top:"".concat(t,"-border-elem-top"),bottom:"".concat(t,"-border-elem-bottom"),left:"".concat(t,"-border-elem-left"),right:"".concat(t,"-border-elem-right")}}return(0,f.Z)(r,[{key:"clearStickyPositioning",value:function(t,e){var l,o=this,i=[],u=(0,d.Z)(t);try{for(u.s();!(l=u.n()).done;){var C=l.value;if(C.nodeType===C.ELEMENT_NODE){i.push(C);for(var R=0;R3&&void 0!==arguments[3])||arguments[3];if(t.length&&this._isBrowser&&(e.some(function(V){return V})||o.some(function(V){return V}))){var l=t[0],C=l.children.length,R=this._getCellWidths(l,u),M=this._getStickyStartColumnPositions(R,e),A=this._getStickyEndColumnPositions(R,o),H=e.lastIndexOf(!0),Q=o.indexOf(!0);this._coalescedStyleScheduler.schedule(function(){var fe,V="rtl"===i.direction,ke=V?"right":"left",G=V?"left":"right",ee=(0,d.Z)(t);try{for(ee.s();!(fe=ee.n()).done;)for(var te=fe.value,K=0;K1&&void 0!==arguments[1]&&!arguments[1]&&this._cachedCellWidths.length)return this._cachedCellWidths;for(var o=[],i=t.children,u=0;u0;u--)e[u]&&(o[u]=i,i+=t[u]);return o}}]),r}(),we=new n.InjectionToken("CDK_SPL"),Pe=function(){var r=(0,f.Z)(function s(){(0,c.Z)(this,s)});return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=n.\u0275\u0275defineDirective({type:r,selectors:[["cdk-table","recycleRows",""],["table","cdk-table","","recycleRows",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:E._VIEW_REPEATER_STRATEGY,useClass:E._RecycleViewRepeaterStrategy}])]}),r}(),se=function(){var r=(0,f.Z)(function s(t,e){(0,c.Z)(this,s),this.viewContainer=t,this.elementRef=e});return r.\u0275fac=function(t){return new(t||r)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},r.\u0275dir=n.\u0275\u0275defineDirective({type:r,selectors:[["","rowOutlet",""]]}),r}(),ue=function(){var r=(0,f.Z)(function s(t,e){(0,c.Z)(this,s),this.viewContainer=t,this.elementRef=e});return r.\u0275fac=function(t){return new(t||r)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},r.\u0275dir=n.\u0275\u0275defineDirective({type:r,selectors:[["","headerRowOutlet",""]]}),r}(),le=function(){var r=(0,f.Z)(function s(t,e){(0,c.Z)(this,s),this.viewContainer=t,this.elementRef=e});return r.\u0275fac=function(t){return new(t||r)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},r.\u0275dir=n.\u0275\u0275defineDirective({type:r,selectors:[["","footerRowOutlet",""]]}),r}(),ce=function(){var r=(0,f.Z)(function s(t,e){(0,c.Z)(this,s),this.viewContainer=t,this.elementRef=e});return r.\u0275fac=function(t){return new(t||r)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},r.\u0275dir=n.\u0275\u0275defineDirective({type:r,selectors:[["","noDataRowOutlet",""]]}),r}(),xe='\n \n \n \n \n \n \n',ge=function(){var r=function(){function s(t,e,o,i,u,l,C,R,M,A,H,Q){(0,c.Z)(this,s),this._differs=t,this._changeDetectorRef=e,this._elementRef=o,this._dir=u,this._platform=C,this._viewRepeater=R,this._coalescedStyleScheduler=M,this._viewportRuler=A,this._stickyPositioningListener=H,this._ngZone=Q,this._onDestroy=new N.x,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new n.EventEmitter,this.viewChange=new x.X({start:0,end:Number.MAX_VALUE}),i||this._elementRef.nativeElement.setAttribute("role","table"),this._document=l,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}return(0,f.Z)(s,[{key:"trackBy",get:function(){return this._trackByFn},set:function(e){this._trackByFn=e}},{key:"dataSource",get:function(){return this._dataSource},set:function(e){this._dataSource!==e&&this._switchDataSource(e)}},{key:"multiTemplateDataRows",get:function(){return this._multiTemplateDataRows},set:function(e){this._multiTemplateDataRows=(0,F.coerceBooleanProperty)(e),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}},{key:"fixedLayout",get:function(){return this._fixedLayout},set:function(e){this._fixedLayout=(0,F.coerceBooleanProperty)(e),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}},{key:"ngOnInit",value:function(){var e=this;this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create(function(o,i){return e.trackBy?e.trackBy(i.dataIndex,i.data):i}),this._viewportRuler.change().pipe((0,m.R)(this._onDestroy)).subscribe(function(){e._forceRecalculateCellWidths=!0})}},{key:"ngAfterContentChecked",value:function(){this._cacheRowDefs(),this._cacheColumnDefs();var o=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||o,this._forceRecalculateCellWidths=o,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}},{key:"ngOnDestroy",value:function(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(function(e){e.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,E.isDataSource)(this.dataSource)&&this.dataSource.disconnect(this)}},{key:"renderRows",value:function(){var e=this;this._renderRows=this._getAllRenderRows();var o=this._dataDiffer.diff(this._renderRows);if(!o)return this._updateNoDataRow(),void this.contentChanged.next();var i=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(o,i,function(u,l,C){return e._getEmbeddedViewArgs(u.item,C)},function(u){return u.item.data},function(u){1===u.operation&&u.context&&e._renderCellTemplateForItem(u.record.item.rowDef,u.context)}),this._updateRowIndexContext(),o.forEachIdentityChange(function(u){i.get(u.currentIndex).context.$implicit=u.item.data}),this._updateNoDataRow(),this._ngZone&&n.NgZone.isInAngularZone()?this._ngZone.onStable.pipe((0,g.q)(1),(0,m.R)(this._onDestroy)).subscribe(function(){e.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}},{key:"addColumnDef",value:function(e){this._customColumnDefs.add(e)}},{key:"removeColumnDef",value:function(e){this._customColumnDefs.delete(e)}},{key:"addRowDef",value:function(e){this._customRowDefs.add(e)}},{key:"removeRowDef",value:function(e){this._customRowDefs.delete(e)}},{key:"addHeaderRowDef",value:function(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}},{key:"removeHeaderRowDef",value:function(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}},{key:"addFooterRowDef",value:function(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}},{key:"removeFooterRowDef",value:function(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}},{key:"setNoDataRow",value:function(e){this._customNoDataRow=e}},{key:"updateStickyHeaderRowStyles",value:function(){var e=this._getRenderedRows(this._headerRowOutlet),i=this._elementRef.nativeElement.querySelector("thead");i&&(i.style.display=e.length?"":"none");var u=this._headerRowDefs.map(function(l){return l.sticky});this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,u,"top"),this._headerRowDefs.forEach(function(l){return l.resetStickyChanged()})}},{key:"updateStickyFooterRowStyles",value:function(){var e=this._getRenderedRows(this._footerRowOutlet),i=this._elementRef.nativeElement.querySelector("tfoot");i&&(i.style.display=e.length?"":"none");var u=this._footerRowDefs.map(function(l){return l.sticky});this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,u,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,u),this._footerRowDefs.forEach(function(l){return l.resetStickyChanged()})}},{key:"updateStickyColumnStyles",value:function(){var e=this,o=this._getRenderedRows(this._headerRowOutlet),i=this._getRenderedRows(this._rowOutlet),u=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([].concat((0,h.Z)(o),(0,h.Z)(i),(0,h.Z)(u)),["left","right"]),this._stickyColumnStylesNeedReset=!1),o.forEach(function(l,C){e._addStickyColumnStyles([l],e._headerRowDefs[C])}),this._rowDefs.forEach(function(l){for(var C=[],R=0;R0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach(function(o,i){return e._renderRow(e._headerRowOutlet,o,i)}),this.updateStickyHeaderRowStyles()}},{key:"_forceRenderFooterRows",value:function(){var e=this;this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach(function(o,i){return e._renderRow(e._footerRowOutlet,o,i)}),this.updateStickyFooterRowStyles()}},{key:"_addStickyColumnStyles",value:function(e,o){var i=this,u=Array.from(o.columns||[]).map(function(R){return i._columnDefsByName.get(R)}),l=u.map(function(R){return R.sticky}),C=u.map(function(R){return R.stickyEnd});this._stickyStyler.updateStickyColumns(e,l,C,!this._fixedLayout||this._forceRecalculateCellWidths)}},{key:"_getRenderedRows",value:function(e){for(var o=[],i=0;i3&&void 0!==arguments[3]?arguments[3]:{},l=e.viewContainer.createEmbeddedView(o.template,u,i);return this._renderCellTemplateForItem(o,u),l}},{key:"_renderCellTemplateForItem",value:function(e,o){var u,i=(0,d.Z)(this._getCellTemplates(e));try{for(i.s();!(u=i.n()).done;)$.mostRecentCellOutlet&&$.mostRecentCellOutlet._viewContainer.createEmbeddedView(u.value,o)}catch(C){i.e(C)}finally{i.f()}this._changeDetectorRef.markForCheck()}},{key:"_updateRowIndexContext",value:function(){for(var e=this._rowOutlet.viewContainer,o=0,i=e.length;o{function v(y,d){(null==d||d>y.length)&&(d=y.length);for(var h=0,c=new Array(d);hv})},35488:(b,D,a)=>{function v(y){if(void 0===y)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return y}a.d(D,{Z:()=>v})},95106:(b,D,a)=>{a.d(D,{Z:()=>y});var v=a(44206);function y(d,h){var c=typeof Symbol<"u"&&d[Symbol.iterator]||d["@@iterator"];if(!c){if(Array.isArray(d)||(c=(0,v.Z)(d))||h&&d&&"number"==typeof d.length){c&&(d=c);var f=0,_=function(){};return{s:_,n:function(){return f>=d.length?{done:!0}:{done:!1,value:d[f++]}},e:function(I){throw I},f:_}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var F,p=!0,P=!1;return{s:function(){c=c.call(d)},n:function(){var I=c.next();return p=I.done,I},e:function(I){P=!0,F=I},f:function(){try{!p&&null!=c.return&&c.return()}finally{if(P)throw F}}}}},28694:(b,D,a)=>{a.d(D,{Z:()=>f});var v=a(20265),y=a(98568),d=a(43445),h=a(35488);function f(_){var p=(0,y.Z)();return function(){var E,F=(0,v.Z)(_);if(p){var I=(0,v.Z)(this).constructor;E=Reflect.construct(F,arguments,I)}else E=F.apply(this,arguments);return function c(_,p){if(p&&("object"===(0,d.Z)(p)||"function"==typeof p))return p;if(void 0!==p)throw new TypeError("Derived constructors may only return object or undefined");return(0,h.Z)(_)}(this,E)}}},4089:(b,D,a)=>{a.d(D,{Z:()=>d});var v=a(20265);function d(){return d=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(c,f,_){var p=function y(h,c){for(;!Object.prototype.hasOwnProperty.call(h,c)&&null!==(h=(0,v.Z)(h)););return h}(c,f);if(p){var P=Object.getOwnPropertyDescriptor(p,f);return P.get?P.get.call(arguments.length<3?c:_):P.value}},d.apply(this,arguments)}},20265:(b,D,a)=>{function v(y){return(v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(h){return h.__proto__||Object.getPrototypeOf(h)})(y)}a.d(D,{Z:()=>v})},24582:(b,D,a)=>{a.d(D,{Z:()=>y});var v=a(10006);function y(d,h){if("function"!=typeof h&&null!==h)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(h&&h.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),h&&(0,v.Z)(d,h)}},98568:(b,D,a)=>{function v(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}a.d(D,{Z:()=>v})},4826:(b,D,a)=>{function v(y){if(typeof Symbol<"u"&&null!=y[Symbol.iterator]||null!=y["@@iterator"])return Array.from(y)}a.d(D,{Z:()=>v})},10006:(b,D,a)=>{function v(y,d){return(v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,f){return c.__proto__=f,c})(y,d)}a.d(D,{Z:()=>v})},86170:(b,D,a)=>{a.d(D,{Z:()=>f});var v=a(44841),d=a(4826),h=a(44206);function f(_){return function y(_){if(Array.isArray(_))return(0,v.Z)(_)}(_)||(0,d.Z)(_)||(0,h.Z)(_)||function c(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(b,D,a)=>{a.d(D,{Z:()=>y});var v=a(44841);function y(d,h){if(d){if("string"==typeof d)return(0,v.Z)(d,h);var c=Object.prototype.toString.call(d).slice(8,-1);if("Object"===c&&d.constructor&&(c=d.constructor.name),"Map"===c||"Set"===c)return Array.from(d);if("Arguments"===c||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return(0,v.Z)(d,h)}}}}]); +//# sourceMappingURL=2124.c33f9c0d968a72a1.js.map \ No newline at end of file diff --git a/2124.c33f9c0d968a72a1.js.map b/2124.c33f9c0d968a72a1.js.map new file mode 100644 index 0000000..7254734 --- /dev/null +++ b/2124.c33f9c0d968a72a1.js.map @@ -0,0 +1 @@ +{"version":3,"file":"2124.c33f9c0d968a72a1.js","mappings":"qbACaA,EAAe,SAAAC,IAAAC,OAAAF,EAAAC,GAAA,IAAAE,KAAAC,KAAAJ,GACxB,SAAAA,EAAYK,GAAQ,IAAAC,EAAAC,cAAAC,KAAAR,IAChBM,EAAAH,EAAAM,KAAAD,OACKH,OAASA,EAAOC,CACzB,CAACI,cAAAV,EAAA,EAAAW,IAAA,QAAAC,IACD,WACI,OAAOJ,KAAKK,UAChB,GAAC,CAAAF,IAAA,aAAAG,MACD,SAAWC,GACP,IAAMC,KAAYC,QAAAC,KAAAlB,EAAAmB,WAAA,aAAAX,MAAAC,KAAAD,KAAoBO,GACtC,OAACC,EAAaI,QAAUL,EAAWM,KAAKb,KAAKH,QACtCW,CACX,GAAC,CAAAL,IAAA,WAAAG,MACD,WACI,IAA+BT,EAAWG,KAAXH,OAC/B,GAD0CG,KAAlCc,SAEJ,MAFsCd,KAAxBe,YAIlB,OAAAf,KAAKgB,iBACEnB,CACX,GAAC,CAAAM,IAAA,OAAAG,MACD,SAAKA,IACDG,UAAAC,KAAAlB,EAAAmB,WAAA,OAAAX,MAAAC,KAAAD,KAAYA,KAAKH,OAASS,EAC9B,KAACd,CAAA,CAvBuB,UAASyB,2ICAxBC,cAA0BC,GAAiB,SAACxB,GAAM,OAAK,WAChEA,EAAOK,MACPA,KAAKoB,KAAO,0BACZpB,KAAKqB,QAAU,qBACnB,CAAC,yBCAYJ,EAAO,eAAPA,EAAO,SAA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A,EAASmjB,EAAAjD,GAA0BlgB,IELtE,SAAAojB,IACf,UAAApiB,UAAA,uIACA,CFG8FoiB,EAC9F,mDGLe,SAAAC,EAAAvD,EAAAwD,GACf,GAAAxD,EACA,qBAAAA,EAAA,SAAoCyD,EAAArD,GAAgBJ,EAAAwD,GACpD,IAAAvpB,EAAA4nB,OAAAtpB,UAAAmrB,SAAA7rB,KAAAmoB,GAAA/R,MAAA,MAEA,GADA,WAAAhU,GAAA+lB,EAAAiB,cAAAhnB,EAAA+lB,EAAAiB,YAAAjoB,MACA,QAAAiB,GAAA,QAAAA,EAAA,OAAAN,MAAAC,KAAAomB,GACA,iBAAA/lB,GAAA,2CAAA0pB,KAAA1pB,GAAA,SAAsFwpB,EAAArD,GAAgBJ,EAAAwD,EAAA,CACtG","names":["BehaviorSubject","_Subject","_inherits","_super","_createSuper","_value","_this","_classCallCheck","this","call","_createClass","key","get","getValue","value","subscriber","subscription","_get","_getPrototypeOf","prototype","closed","next","hasError","thrownError","_throwIfClosed","Subject","ObjectUnsubscribedError","createErrorClass","name","message","_Observable","currentObservers","observers","isStopped","operator","subject","AnonymousSubject","_this2","errorContext","Array","from","_step","_iterator","_createForOfIteratorHelper","s","n","done","err","e","f","_this3","length","shift","error","_this4","complete","_a","_checkFinalizedStatuses","_innerSubscribe","_this5","EMPTY_SUBSCRIPTION","push","Subscription","arrRemove","observable","Observable","source","create","destination","_super2","_this6","_b","subscribe","EMPTY","subscribeOn","scheduler","delay","arguments","undefined","operate","add","schedule","scheduleAsyncIterable","input","Error","executeSchedule","iterator","Symbol","asyncIterator","then","result","scheduled","isInteropObservable","scheduleObservable","innerFrom","pipe","observeOn","isArrayLike","scheduleArray","i","isPromise","schedulePromise","isAsyncIterable","isIterable","scheduleIterable","Symbol_iterator","_iterator$next","isFunction","return","isReadableStreamLike","scheduleReadableStreamLike","readableStreamLikeToAsyncGenerator","createInvalidObservableTypeError","of","_len","args","_key","popScheduler","createOperatorSubscriber","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_next","_assertThisInitialized","_error","unsubscribe","_complete","Subscriber","take","count","seen","takeUntil","notifier","noop","last","arr","popResultSelector","pop","isScheduler","popNumber","defaultValue","parentSubscription","work","repeat","scheduleSubscription","isObservable","obj","lift","hasLift","init","liftedSource","TypeError","_c0","_c1","CdkTextColumn_th_1_Template","rf","ctx","i0","ctx_r0","justify","headerText","CdkTextColumn_td_2_Template","data_r2","$implicit","ctx_r1","dataAccessor","mixinHasStickyInput","base","_base","_class","apply","concat","_sticky","_hasStickyChanged","set","v","prevValue","coerceBooleanProperty","hasStickyChanged","CDK_TABLE","InjectionToken","TEXT_COLUMN_OPTIONS","CdkCellDef","template","ɵfac","t","ɵdir","type","selectors","CdkHeaderCellDef","CdkFooterCellDef","_CdkColumnDefBase","CdkColumnDefBase","CdkColumnDef","_CdkColumnDefBase2","_table","_stickyEnd","_name","_setNameInput","_columnCssClassName","cssClassFriendlyName","replace","_updateColumnCssClassName","contentQueries","dirIndex","_t","cell","first","headerCell","footerCell","inputs","sticky","stickyEnd","features","provide","useExisting","BaseCdkCell","columnDef","elementRef","_elementRef$nativeEle","nativeElement","classList","_toConsumableArray","CdkHeaderCell","_BaseCdkCell","_super3","hostAttrs","CdkFooterCell","_BaseCdkCell2","_super4","_columnDef$_table","_elementRef","nodeType","tableRole","getAttribute","setAttribute","CdkCell","_BaseCdkCell3","_super5","_columnDef$_table2","_Schedule","tasks","endTasks","_COALESCED_STYLE_SCHEDULER","_CoalescedStyleScheduler","_ngZone","_currentSchedule","_destroyed","task","_createScheduleIfNeeded","_getScheduleObservable","_step2","_iterator2","isStable","Promise","resolve","onStable","ɵprov","token","factory","CDK_ROW_TEMPLATE","BaseRowDef","_differs","changes","_columnsDiffer","columns","currentValue","find","diff","column","CdkHeaderRowDef","CdkFooterRowDef","_CdkHeaderRowDefBase","_BaseRowDef","CdkHeaderRowDefBase","_super6","_CdkHeaderRowDefBase2","_super7","_CdkFooterRowDefBase","_BaseRowDef2","CdkFooterRowDefBase","_super8","_CdkFooterRowDefBase2","_super9","_this7","CdkRowDef","_BaseRowDef3","_super10","_this8","when","CdkCellOutlet","_viewContainer","mostRecentCellOutlet","CdkHeaderRow","ɵcmp","decls","vars","consts","dependencies","encapsulation","CdkFooterRow","CdkRow","CdkNoDataRow","templateRef","_contentClassName","STICKY_DIRECTIONS","StickyStyler","_isNativeHtmlTable","_stickCellCss","direction","_coalescedStyleScheduler","_isBrowser","_needsPositionStickyOnElement","_positionListener","_cachedCellWidths","_borderCellCss","top","bottom","left","right","rows","stickyDirections","_step3","_this9","elementsToClear","_iterator3","row","ELEMENT_NODE","children","_i2","_elementsToClear","_removeStickyStyle","stickyStartStates","stickyEndStates","_this10","recalculateCellWidths","some","state","firstRow","numCells","cellWidths","_getCellWidths","startPositions","_getStickyStartColumnPositions","endPositions","_getStickyEndColumnPositions","lastStickyStart","lastIndexOf","firstStickyEnd","indexOf","_step4","isRtl","start","end","_iterator4","_addStickyStyle","stickyColumnsUpdated","sizes","slice","map","width","index","stickyEndColumnsUpdated","reverse","rowsToStick","stickyStates","position","_this11","states","stickyOffsets","stickyCellHeights","elementsToStick","rowIndex","stickyOffset","height","getBoundingClientRect","borderedRowIndex","_step5","offset","isBorderedRowIndex","_iterator5","_this11$_positionList","_this11$_positionList2","stickyHeaderRowsUpdated","offsets","elements","stickyFooterRowsUpdated","tableElement","_this12","tfoot","querySelector","element","_step6","_iterator6","dir","style","remove","zIndex","_getCalculatedZIndex","dirValue","isBorderElement","cssText","zIndexIncrements","_i3","_STICKY_DIRECTIONS","firstRowCells","widths","positions","nextPosition","STICKY_POSITIONING_LISTENER","CdkRecycleRows","_VIEW_REPEATER_STRATEGY","useClass","_RecycleViewRepeaterStrategy","DataRowOutlet","viewContainer","HeaderRowOutlet","FooterRowOutlet","NoDataRowOutlet","CDK_TABLE_TEMPLATE","CdkTable","_changeDetectorRef","role","_dir","_document","_platform","_viewRepeater","_viewportRuler","_stickyPositioningListener","_onDestroy","_columnDefsByName","Map","_customColumnDefs","Set","_customRowDefs","_customHeaderRowDefs","_customFooterRowDefs","_headerRowDefChanged","_footerRowDefChanged","_stickyColumnStylesNeedReset","_forceRecalculateCellWidths","_cachedRenderRowsMap","stickyCssClass","needsPositionStickyOnElement","_isShowingNoDataRow","_multiTemplateDataRows","_fixedLayout","contentChanged","EventEmitter","viewChange","Number","MAX_VALUE","nodeName","_trackByFn","fn","_dataSource","dataSource","_switchDataSource","_rowOutlet","_forceRenderDataRows","updateStickyColumnStyles","_this13","_setupStickyStyler","_applyNativeTableSections","_dataDiffer","_i","dataRow","trackBy","dataIndex","data","change","_cacheRowDefs","_cacheColumnDefs","rowDefsChanged","_renderUpdatedColumns","_forceRenderHeaderRows","_forceRenderFooterRows","_rowDefs","_renderChangeSubscription","_observeRenderChanges","_checkStickyStates","_headerRowOutlet","_footerRowOutlet","forEach","def","clear","_headerRowDefs","_footerRowDefs","_defaultRowDef","isDataSource","disconnect","_this14","_renderRows","_getAllRenderRows","_updateNoDataRow","applyChanges","record","_adjustedPreviousIndex","currentIndex","_getEmbeddedViewArgs","item","operation","context","_renderCellTemplateForItem","rowDef","_updateRowIndexContext","forEachIdentityChange","NgZone","delete","headerRowDef","footerRowDef","noDataRow","_customNoDataRow","headerRows","_getRenderedRows","thead","display","_stickyStyler","clearStickyPositioning","stickRows","resetStickyChanged","footerRows","updateStickyFooterContainer","_this15","dataRows","headerRow","_addStickyColumnStyles","footerRow","values","renderRows","prevCachedRenderRows","_data","renderRowsForData","_getRenderRowsForData","has","WeakMap","j","renderRow","cache","_getRowDefs","cachedRenderRows","_this16","mergeArrayAndSet","_getOwnDefs","_contentColumnDefs","_contentHeaderRowDefs","_contentFooterRowDefs","_contentRowDefs","defaultRowDefs","filter","columnsDiffReducer","acc","getColumnsDiff","dataColumnsChanged","reduce","headerColumnsChanged","footerColumnsChanged","dataStream","_this17","connect","isArray","_this18","_renderRow","updateStickyHeaderRowStyles","_this19","updateStickyFooterRowStyles","_this20","columnDefs","columnName","updateStickyColumns","rowOutlet","renderedRows","viewRef","rootNodes","rowDefs","multiTemplateDataRows","outlet","view","createEmbeddedView","_step7","_iterator7","_getCellTemplates","markForCheck","renderIndex","even","odd","_this21","columnId","extractCellTemplate","documentFragment","createDocumentFragment","_i4","_sections","tag","outlets","_noDataRowOutlet","section","createElement","_step8","_iterator8","appendChild","stickyCheckReducer","d","_this22","isBrowser","items","_this23","_noDataRow","shouldShow","container","rootNode","i1","DOCUMENT","i2","i3","viewQuery","hostVars","hostBindings","fixedLayout","outputs","exportAs","_DisposeViewRepeaterStrategy","useValue","ngContentSelectors","styles","array","CdkTextColumn","_options","_syncColumnDefName","_createDefaultHeaderText","defaultDataAccessor","addColumnDef","removeColumnDef","defaultHeaderTextTransform","toUpperCase","CdkTableModule","ɵmod","ɵinj","imports","ScrollingModule","_arrayLikeToArray","len","arr2","self","ReferenceError","o","allowArrayLike","it","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","_e","normalCompletion","didErr","step","_e2","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Super","getPrototypeOf","NewTarget","constructor","Reflect","construct","_possibleConstructorReturn","esm_typeof","assertThisInitialized","bind","target","property","receiver","_superPropBase","object","Object","hasOwnProperty","desc","getOwnPropertyDescriptor","setPrototypeOf","__proto__","subClass","superClass","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_iterableToArray","iter","_setPrototypeOf","p","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","toString","test"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/BehaviorSubject.js","./node_modules/rxjs/dist/esm/internal/util/ObjectUnsubscribedError.js","./node_modules/rxjs/dist/esm/internal/Subject.js","./node_modules/rxjs/dist/esm/internal/observable/empty.js","./node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleAsyncIterable.js","./node_modules/rxjs/dist/esm/internal/observable/from.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduled.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleObservable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleArray.js","./node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleIterable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleReadableStreamLike.js","./node_modules/rxjs/dist/esm/internal/observable/of.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/observeOn.js","./node_modules/rxjs/dist/esm/internal/operators/take.js","./node_modules/rxjs/dist/esm/internal/operators/takeUntil.js","./node_modules/rxjs/dist/esm/internal/util/args.js","./node_modules/rxjs/dist/esm/internal/util/executeSchedule.js","./node_modules/rxjs/dist/esm/internal/util/isObservable.js","./node_modules/rxjs/dist/esm/internal/util/isScheduler.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/@angular/cdk/fesm2022/table.mjs","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { Subject } from './Subject';\nexport class BehaviorSubject extends Subject {\n constructor(_value) {\n super();\n this._value = _value;\n }\n get value() {\n return this.getValue();\n }\n _subscribe(subscriber) {\n const subscription = super._subscribe(subscriber);\n !subscription.closed && subscriber.next(this._value);\n return subscription;\n }\n getValue() {\n const { hasError, thrownError, _value } = this;\n if (hasError) {\n throw thrownError;\n }\n this._throwIfClosed();\n return _value;\n }\n next(value) {\n super.next((this._value = value));\n }\n}\n","import { createErrorClass } from './createErrorClass';\nexport const ObjectUnsubscribedError = createErrorClass((_super) => function ObjectUnsubscribedErrorImpl() {\n _super(this);\n this.name = 'ObjectUnsubscribedError';\n this.message = 'object unsubscribed';\n});\n","import { Observable } from './Observable';\nimport { Subscription, EMPTY_SUBSCRIPTION } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { arrRemove } from './util/arrRemove';\nimport { errorContext } from './util/errorContext';\nexport class Subject extends Observable {\n constructor() {\n super();\n this.closed = false;\n this.currentObservers = null;\n this.observers = [];\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n lift(operator) {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n }\n _throwIfClosed() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n }\n next(value) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n if (!this.currentObservers) {\n this.currentObservers = Array.from(this.observers);\n }\n for (const observer of this.currentObservers) {\n observer.next(value);\n }\n }\n });\n }\n error(err) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.hasError = this.isStopped = true;\n this.thrownError = err;\n const { observers } = this;\n while (observers.length) {\n observers.shift().error(err);\n }\n }\n });\n }\n complete() {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.isStopped = true;\n const { observers } = this;\n while (observers.length) {\n observers.shift().complete();\n }\n }\n });\n }\n unsubscribe() {\n this.isStopped = this.closed = true;\n this.observers = this.currentObservers = null;\n }\n get observed() {\n var _a;\n return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;\n }\n _trySubscribe(subscriber) {\n this._throwIfClosed();\n return super._trySubscribe(subscriber);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._checkFinalizedStatuses(subscriber);\n return this._innerSubscribe(subscriber);\n }\n _innerSubscribe(subscriber) {\n const { hasError, isStopped, observers } = this;\n if (hasError || isStopped) {\n return EMPTY_SUBSCRIPTION;\n }\n this.currentObservers = null;\n observers.push(subscriber);\n return new Subscription(() => {\n this.currentObservers = null;\n arrRemove(observers, subscriber);\n });\n }\n _checkFinalizedStatuses(subscriber) {\n const { hasError, thrownError, isStopped } = this;\n if (hasError) {\n subscriber.error(thrownError);\n }\n else if (isStopped) {\n subscriber.complete();\n }\n }\n asObservable() {\n const observable = new Observable();\n observable.source = this;\n return observable;\n }\n}\nSubject.create = (destination, source) => {\n return new AnonymousSubject(destination, source);\n};\nexport class AnonymousSubject extends Subject {\n constructor(destination, source) {\n super();\n this.destination = destination;\n this.source = source;\n }\n next(value) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);\n }\n error(err) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);\n }\n complete() {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);\n }\n _subscribe(subscriber) {\n var _a, _b;\n return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;\n }\n}\n","import { Observable } from '../Observable';\nexport const EMPTY = new Observable((subscriber) => subscriber.complete());\nexport function empty(scheduler) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n return new Observable((subscriber) => scheduler.schedule(() => subscriber.complete()));\n}\n","import { operate } from '../util/lift';\nexport function subscribeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay));\n });\n}\n","import { Observable } from '../Observable';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleAsyncIterable(input, scheduler) {\n if (!input) {\n throw new Error('Iterable cannot be null');\n }\n return new Observable((subscriber) => {\n executeSchedule(subscriber, scheduler, () => {\n const iterator = input[Symbol.asyncIterator]();\n executeSchedule(subscriber, scheduler, () => {\n iterator.next().then((result) => {\n if (result.done) {\n subscriber.complete();\n }\n else {\n subscriber.next(result.value);\n }\n });\n }, 0, true);\n });\n });\n}\n","import { scheduled } from '../scheduled/scheduled';\nimport { innerFrom } from './innerFrom';\nexport function from(input, scheduler) {\n return scheduler ? scheduled(input, scheduler) : innerFrom(input);\n}\n","import { scheduleObservable } from './scheduleObservable';\nimport { schedulePromise } from './schedulePromise';\nimport { scheduleArray } from './scheduleArray';\nimport { scheduleIterable } from './scheduleIterable';\nimport { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isPromise } from '../util/isPromise';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isIterable } from '../util/isIterable';\nimport { isAsyncIterable } from '../util/isAsyncIterable';\nimport { createInvalidObservableTypeError } from '../util/throwUnobservableError';\nimport { isReadableStreamLike } from '../util/isReadableStreamLike';\nimport { scheduleReadableStreamLike } from './scheduleReadableStreamLike';\nexport function scheduled(input, scheduler) {\n if (input != null) {\n if (isInteropObservable(input)) {\n return scheduleObservable(input, scheduler);\n }\n if (isArrayLike(input)) {\n return scheduleArray(input, scheduler);\n }\n if (isPromise(input)) {\n return schedulePromise(input, scheduler);\n }\n if (isAsyncIterable(input)) {\n return scheduleAsyncIterable(input, scheduler);\n }\n if (isIterable(input)) {\n return scheduleIterable(input, scheduler);\n }\n if (isReadableStreamLike(input)) {\n return scheduleReadableStreamLike(input, scheduler);\n }\n }\n throw createInvalidObservableTypeError(input);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function scheduleObservable(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nexport function scheduleArray(input, scheduler) {\n return new Observable((subscriber) => {\n let i = 0;\n return scheduler.schedule(function () {\n if (i === input.length) {\n subscriber.complete();\n }\n else {\n subscriber.next(input[i++]);\n if (!subscriber.closed) {\n this.schedule();\n }\n }\n });\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function schedulePromise(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from '../util/isFunction';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleIterable(input, scheduler) {\n return new Observable((subscriber) => {\n let iterator;\n executeSchedule(subscriber, scheduler, () => {\n iterator = input[Symbol_iterator]();\n executeSchedule(subscriber, scheduler, () => {\n let value;\n let done;\n try {\n ({ value, done } = iterator.next());\n }\n catch (err) {\n subscriber.error(err);\n return;\n }\n if (done) {\n subscriber.complete();\n }\n else {\n subscriber.next(value);\n }\n }, 0, true);\n });\n return () => isFunction(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return();\n });\n}\n","import { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { readableStreamLikeToAsyncGenerator } from '../util/isReadableStreamLike';\nexport function scheduleReadableStreamLike(input, scheduler) {\n return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);\n}\n","import { popScheduler } from '../util/args';\nimport { from } from './from';\nexport function of(...args) {\n const scheduler = popScheduler(args);\n return from(args, scheduler);\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","import { executeSchedule } from '../util/executeSchedule';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function observeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, (value) => executeSchedule(subscriber, scheduler, () => subscriber.next(value), delay), () => executeSchedule(subscriber, scheduler, () => subscriber.complete(), delay), (err) => executeSchedule(subscriber, scheduler, () => subscriber.error(err), delay)));\n });\n}\n","import { EMPTY } from '../observable/empty';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function take(count) {\n return count <= 0\n ?\n () => EMPTY\n : operate((source, subscriber) => {\n let seen = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n if (++seen <= count) {\n subscriber.next(value);\n if (count <= seen) {\n subscriber.complete();\n }\n }\n }));\n });\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { innerFrom } from '../observable/innerFrom';\nimport { noop } from '../util/noop';\nexport function takeUntil(notifier) {\n return operate((source, subscriber) => {\n innerFrom(notifier).subscribe(createOperatorSubscriber(subscriber, () => subscriber.complete(), noop));\n !subscriber.closed && source.subscribe(subscriber);\n });\n}\n","import { isFunction } from './isFunction';\nimport { isScheduler } from './isScheduler';\nfunction last(arr) {\n return arr[arr.length - 1];\n}\nexport function popResultSelector(args) {\n return isFunction(last(args)) ? args.pop() : undefined;\n}\nexport function popScheduler(args) {\n return isScheduler(last(args)) ? args.pop() : undefined;\n}\nexport function popNumber(args, defaultValue) {\n return typeof last(args) === 'number' ? args.pop() : defaultValue;\n}\n","export function executeSchedule(parentSubscription, scheduler, work, delay = 0, repeat = false) {\n const scheduleSubscription = scheduler.schedule(function () {\n work();\n if (repeat) {\n parentSubscription.add(this.schedule(null, delay));\n }\n else {\n this.unsubscribe();\n }\n }, delay);\n parentSubscription.add(scheduleSubscription);\n if (!repeat) {\n return scheduleSubscription;\n }\n}\n","import { Observable } from '../Observable';\nimport { isFunction } from './isFunction';\nexport function isObservable(obj) {\n return !!obj && (obj instanceof Observable || (isFunction(obj.lift) && isFunction(obj.subscribe)));\n}\n","import { isFunction } from './isFunction';\nexport function isScheduler(value) {\n return value && isFunction(value.schedule);\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","import * as i1 from '@angular/cdk/bidi';\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { _VIEW_REPEATER_STRATEGY, _RecycleViewRepeaterStrategy, isDataSource, _DisposeViewRepeaterStrategy } from '@angular/cdk/collections';\nexport { DataSource } from '@angular/cdk/collections';\nimport * as i2 from '@angular/cdk/platform';\nimport * as i3 from '@angular/cdk/scrolling';\nimport { ScrollingModule } from '@angular/cdk/scrolling';\nimport { DOCUMENT } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { InjectionToken, Directive, Inject, Optional, Input, ContentChild, Injectable, Component, ChangeDetectionStrategy, ViewEncapsulation, EmbeddedViewRef, EventEmitter, NgZone, Attribute, SkipSelf, Output, ViewChild, ContentChildren, NgModule } from '@angular/core';\nimport { Subject, from, BehaviorSubject, isObservable, of } from 'rxjs';\nimport { takeUntil, take } from 'rxjs/operators';\n\n/**\n * Mixin to provide a directive with a function that checks if the sticky input has been\n * changed since the last time the function was called. Essentially adds a dirty-check to the\n * sticky value.\n * @docs-private\n */\nfunction mixinHasStickyInput(base) {\n return class extends base {\n /** Whether sticky positioning should be applied. */\n get sticky() {\n return this._sticky;\n }\n set sticky(v) {\n const prevValue = this._sticky;\n this._sticky = coerceBooleanProperty(v);\n this._hasStickyChanged = prevValue !== this._sticky;\n }\n /** Whether the sticky value has changed since this was last called. */\n hasStickyChanged() {\n const hasStickyChanged = this._hasStickyChanged;\n this._hasStickyChanged = false;\n return hasStickyChanged;\n }\n /** Resets the dirty check for cases where the sticky state has been used without checking. */\n resetStickyChanged() {\n this._hasStickyChanged = false;\n }\n constructor(...args) {\n super(...args);\n this._sticky = false;\n /** Whether the sticky input has changed since it was last checked. */\n this._hasStickyChanged = false;\n }\n };\n}\n\n/**\n * Used to provide a table to some of the sub-components without causing a circular dependency.\n * @docs-private\n */\nconst CDK_TABLE = new InjectionToken('CDK_TABLE');\n/** Injection token that can be used to specify the text column options. */\nconst TEXT_COLUMN_OPTIONS = new InjectionToken('text-column-options');\n\n/**\n * Cell definition for a CDK table.\n * Captures the template of a column's data row cell as well as cell-specific properties.\n */\nclass CdkCellDef {\n constructor(/** @docs-private */ template) {\n this.template = template;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkCellDef, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkCellDef, selector: \"[cdkCellDef]\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkCellDef, decorators: [{\n type: Directive,\n args: [{ selector: '[cdkCellDef]' }]\n }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });\n/**\n * Header cell definition for a CDK table.\n * Captures the template of a column's header cell and as well as cell-specific properties.\n */\nclass CdkHeaderCellDef {\n constructor(/** @docs-private */ template) {\n this.template = template;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkHeaderCellDef, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkHeaderCellDef, selector: \"[cdkHeaderCellDef]\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkHeaderCellDef, decorators: [{\n type: Directive,\n args: [{ selector: '[cdkHeaderCellDef]' }]\n }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });\n/**\n * Footer cell definition for a CDK table.\n * Captures the template of a column's footer cell and as well as cell-specific properties.\n */\nclass CdkFooterCellDef {\n constructor(/** @docs-private */ template) {\n this.template = template;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkFooterCellDef, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkFooterCellDef, selector: \"[cdkFooterCellDef]\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkFooterCellDef, decorators: [{\n type: Directive,\n args: [{ selector: '[cdkFooterCellDef]' }]\n }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });\n// Boilerplate for applying mixins to CdkColumnDef.\n/** @docs-private */\nclass CdkColumnDefBase {\n}\nconst _CdkColumnDefBase = mixinHasStickyInput(CdkColumnDefBase);\n/**\n * Column definition for the CDK table.\n * Defines a set of cells available for a table column.\n */\nclass CdkColumnDef extends _CdkColumnDefBase {\n /** Unique name for this column. */\n get name() {\n return this._name;\n }\n set name(name) {\n this._setNameInput(name);\n }\n /**\n * Whether this column should be sticky positioned on the end of the row. Should make sure\n * that it mimics the `CanStick` mixin such that `_hasStickyChanged` is set to true if the value\n * has been changed.\n */\n get stickyEnd() {\n return this._stickyEnd;\n }\n set stickyEnd(v) {\n const prevValue = this._stickyEnd;\n this._stickyEnd = coerceBooleanProperty(v);\n this._hasStickyChanged = prevValue !== this._stickyEnd;\n }\n constructor(_table) {\n super();\n this._table = _table;\n this._stickyEnd = false;\n }\n /**\n * Overridable method that sets the css classes that will be added to every cell in this\n * column.\n * In the future, columnCssClassName will change from type string[] to string and this\n * will set a single string value.\n * @docs-private\n */\n _updateColumnCssClassName() {\n this._columnCssClassName = [`cdk-column-${this.cssClassFriendlyName}`];\n }\n /**\n * This has been extracted to a util because of TS 4 and VE.\n * View Engine doesn't support property rename inheritance.\n * TS 4.0 doesn't allow properties to override accessors or vice-versa.\n * @docs-private\n */\n _setNameInput(value) {\n // If the directive is set without a name (updated programmatically), then this setter will\n // trigger with an empty string and should not overwrite the programmatically set value.\n if (value) {\n this._name = value;\n this.cssClassFriendlyName = value.replace(/[^a-z0-9_-]/gi, '-');\n this._updateColumnCssClassName();\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkColumnDef, deps: [{ token: CDK_TABLE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkColumnDef, selector: \"[cdkColumnDef]\", inputs: { sticky: \"sticky\", name: [\"cdkColumnDef\", \"name\"], stickyEnd: \"stickyEnd\" }, providers: [{ provide: 'MAT_SORT_HEADER_COLUMN_DEF', useExisting: CdkColumnDef }], queries: [{ propertyName: \"cell\", first: true, predicate: CdkCellDef, descendants: true }, { propertyName: \"headerCell\", first: true, predicate: CdkHeaderCellDef, descendants: true }, { propertyName: \"footerCell\", first: true, predicate: CdkFooterCellDef, descendants: true }], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkColumnDef, decorators: [{\n type: Directive,\n args: [{\n selector: '[cdkColumnDef]',\n inputs: ['sticky'],\n providers: [{ provide: 'MAT_SORT_HEADER_COLUMN_DEF', useExisting: CdkColumnDef }],\n }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [CDK_TABLE]\n }, {\n type: Optional\n }] }]; }, propDecorators: { name: [{\n type: Input,\n args: ['cdkColumnDef']\n }], stickyEnd: [{\n type: Input,\n args: ['stickyEnd']\n }], cell: [{\n type: ContentChild,\n args: [CdkCellDef]\n }], headerCell: [{\n type: ContentChild,\n args: [CdkHeaderCellDef]\n }], footerCell: [{\n type: ContentChild,\n args: [CdkFooterCellDef]\n }] } });\n/** Base class for the cells. Adds a CSS classname that identifies the column it renders in. */\nclass BaseCdkCell {\n constructor(columnDef, elementRef) {\n elementRef.nativeElement.classList.add(...columnDef._columnCssClassName);\n }\n}\n/** Header cell template container that adds the right classes and role. */\nclass CdkHeaderCell extends BaseCdkCell {\n constructor(columnDef, elementRef) {\n super(columnDef, elementRef);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkHeaderCell, deps: [{ token: CdkColumnDef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkHeaderCell, selector: \"cdk-header-cell, th[cdk-header-cell]\", host: { attributes: { \"role\": \"columnheader\" }, classAttribute: \"cdk-header-cell\" }, usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkHeaderCell, decorators: [{\n type: Directive,\n args: [{\n selector: 'cdk-header-cell, th[cdk-header-cell]',\n host: {\n 'class': 'cdk-header-cell',\n 'role': 'columnheader',\n },\n }]\n }], ctorParameters: function () { return [{ type: CdkColumnDef }, { type: i0.ElementRef }]; } });\n/** Footer cell template container that adds the right classes and role. */\nclass CdkFooterCell extends BaseCdkCell {\n constructor(columnDef, elementRef) {\n super(columnDef, elementRef);\n if (columnDef._table?._elementRef.nativeElement.nodeType === 1) {\n const tableRole = columnDef._table._elementRef.nativeElement.getAttribute('role');\n const role = tableRole === 'grid' || tableRole === 'treegrid' ? 'gridcell' : 'cell';\n elementRef.nativeElement.setAttribute('role', role);\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkFooterCell, deps: [{ token: CdkColumnDef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkFooterCell, selector: \"cdk-footer-cell, td[cdk-footer-cell]\", host: { classAttribute: \"cdk-footer-cell\" }, usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkFooterCell, decorators: [{\n type: Directive,\n args: [{\n selector: 'cdk-footer-cell, td[cdk-footer-cell]',\n host: {\n 'class': 'cdk-footer-cell',\n },\n }]\n }], ctorParameters: function () { return [{ type: CdkColumnDef }, { type: i0.ElementRef }]; } });\n/** Cell template container that adds the right classes and role. */\nclass CdkCell extends BaseCdkCell {\n constructor(columnDef, elementRef) {\n super(columnDef, elementRef);\n if (columnDef._table?._elementRef.nativeElement.nodeType === 1) {\n const tableRole = columnDef._table._elementRef.nativeElement.getAttribute('role');\n const role = tableRole === 'grid' || tableRole === 'treegrid' ? 'gridcell' : 'cell';\n elementRef.nativeElement.setAttribute('role', role);\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkCell, deps: [{ token: CdkColumnDef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkCell, selector: \"cdk-cell, td[cdk-cell]\", host: { classAttribute: \"cdk-cell\" }, usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkCell, decorators: [{\n type: Directive,\n args: [{\n selector: 'cdk-cell, td[cdk-cell]',\n host: {\n 'class': 'cdk-cell',\n },\n }]\n }], ctorParameters: function () { return [{ type: CdkColumnDef }, { type: i0.ElementRef }]; } });\n\n/**\n * @docs-private\n */\nclass _Schedule {\n constructor() {\n this.tasks = [];\n this.endTasks = [];\n }\n}\n/** Injection token used to provide a coalesced style scheduler. */\nconst _COALESCED_STYLE_SCHEDULER = new InjectionToken('_COALESCED_STYLE_SCHEDULER');\n/**\n * Allows grouping up CSSDom mutations after the current execution context.\n * This can significantly improve performance when separate consecutive functions are\n * reading from the CSSDom and then mutating it.\n *\n * @docs-private\n */\nclass _CoalescedStyleScheduler {\n constructor(_ngZone) {\n this._ngZone = _ngZone;\n this._currentSchedule = null;\n this._destroyed = new Subject();\n }\n /**\n * Schedules the specified task to run at the end of the current VM turn.\n */\n schedule(task) {\n this._createScheduleIfNeeded();\n this._currentSchedule.tasks.push(task);\n }\n /**\n * Schedules the specified task to run after other scheduled tasks at the end of the current\n * VM turn.\n */\n scheduleEnd(task) {\n this._createScheduleIfNeeded();\n this._currentSchedule.endTasks.push(task);\n }\n /** Prevent any further tasks from running. */\n ngOnDestroy() {\n this._destroyed.next();\n this._destroyed.complete();\n }\n _createScheduleIfNeeded() {\n if (this._currentSchedule) {\n return;\n }\n this._currentSchedule = new _Schedule();\n this._getScheduleObservable()\n .pipe(takeUntil(this._destroyed))\n .subscribe(() => {\n while (this._currentSchedule.tasks.length || this._currentSchedule.endTasks.length) {\n const schedule = this._currentSchedule;\n // Capture new tasks scheduled by the current set of tasks.\n this._currentSchedule = new _Schedule();\n for (const task of schedule.tasks) {\n task();\n }\n for (const task of schedule.endTasks) {\n task();\n }\n }\n this._currentSchedule = null;\n });\n }\n _getScheduleObservable() {\n // Use onStable when in the context of an ongoing change detection cycle so that we\n // do not accidentally trigger additional cycles.\n return this._ngZone.isStable\n ? from(Promise.resolve(undefined))\n : this._ngZone.onStable.pipe(take(1));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _CoalescedStyleScheduler, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _CoalescedStyleScheduler }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _CoalescedStyleScheduler, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: i0.NgZone }]; } });\n\n/**\n * The row template that can be used by the mat-table. Should not be used outside of the\n * material library.\n */\nconst CDK_ROW_TEMPLATE = ``;\n/**\n * Base class for the CdkHeaderRowDef and CdkRowDef that handles checking their columns inputs\n * for changes and notifying the table.\n */\nclass BaseRowDef {\n constructor(\n /** @docs-private */ template, _differs) {\n this.template = template;\n this._differs = _differs;\n }\n ngOnChanges(changes) {\n // Create a new columns differ if one does not yet exist. Initialize it based on initial value\n // of the columns property or an empty array if none is provided.\n if (!this._columnsDiffer) {\n const columns = (changes['columns'] && changes['columns'].currentValue) || [];\n this._columnsDiffer = this._differs.find(columns).create();\n this._columnsDiffer.diff(columns);\n }\n }\n /**\n * Returns the difference between the current columns and the columns from the last diff, or null\n * if there is no difference.\n */\n getColumnsDiff() {\n return this._columnsDiffer.diff(this.columns);\n }\n /** Gets this row def's relevant cell template from the provided column def. */\n extractCellTemplate(column) {\n if (this instanceof CdkHeaderRowDef) {\n return column.headerCell.template;\n }\n if (this instanceof CdkFooterRowDef) {\n return column.footerCell.template;\n }\n else {\n return column.cell.template;\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: BaseRowDef, deps: [{ token: i0.TemplateRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: BaseRowDef, usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: BaseRowDef, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: i0.IterableDiffers }]; } });\n// Boilerplate for applying mixins to CdkHeaderRowDef.\n/** @docs-private */\nclass CdkHeaderRowDefBase extends BaseRowDef {\n}\nconst _CdkHeaderRowDefBase = mixinHasStickyInput(CdkHeaderRowDefBase);\n/**\n * Header row definition for the CDK table.\n * Captures the header row's template and other header properties such as the columns to display.\n */\nclass CdkHeaderRowDef extends _CdkHeaderRowDefBase {\n constructor(template, _differs, _table) {\n super(template, _differs);\n this._table = _table;\n }\n // Prerender fails to recognize that ngOnChanges in a part of this class through inheritance.\n // Explicitly define it so that the method is called as part of the Angular lifecycle.\n ngOnChanges(changes) {\n super.ngOnChanges(changes);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkHeaderRowDef, deps: [{ token: i0.TemplateRef }, { token: i0.IterableDiffers }, { token: CDK_TABLE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkHeaderRowDef, selector: \"[cdkHeaderRowDef]\", inputs: { columns: [\"cdkHeaderRowDef\", \"columns\"], sticky: [\"cdkHeaderRowDefSticky\", \"sticky\"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkHeaderRowDef, decorators: [{\n type: Directive,\n args: [{\n selector: '[cdkHeaderRowDef]',\n inputs: ['columns: cdkHeaderRowDef', 'sticky: cdkHeaderRowDefSticky'],\n }]\n }], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: i0.IterableDiffers }, { type: undefined, decorators: [{\n type: Inject,\n args: [CDK_TABLE]\n }, {\n type: Optional\n }] }]; } });\n// Boilerplate for applying mixins to CdkFooterRowDef.\n/** @docs-private */\nclass CdkFooterRowDefBase extends BaseRowDef {\n}\nconst _CdkFooterRowDefBase = mixinHasStickyInput(CdkFooterRowDefBase);\n/**\n * Footer row definition for the CDK table.\n * Captures the footer row's template and other footer properties such as the columns to display.\n */\nclass CdkFooterRowDef extends _CdkFooterRowDefBase {\n constructor(template, _differs, _table) {\n super(template, _differs);\n this._table = _table;\n }\n // Prerender fails to recognize that ngOnChanges in a part of this class through inheritance.\n // Explicitly define it so that the method is called as part of the Angular lifecycle.\n ngOnChanges(changes) {\n super.ngOnChanges(changes);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkFooterRowDef, deps: [{ token: i0.TemplateRef }, { token: i0.IterableDiffers }, { token: CDK_TABLE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkFooterRowDef, selector: \"[cdkFooterRowDef]\", inputs: { columns: [\"cdkFooterRowDef\", \"columns\"], sticky: [\"cdkFooterRowDefSticky\", \"sticky\"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkFooterRowDef, decorators: [{\n type: Directive,\n args: [{\n selector: '[cdkFooterRowDef]',\n inputs: ['columns: cdkFooterRowDef', 'sticky: cdkFooterRowDefSticky'],\n }]\n }], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: i0.IterableDiffers }, { type: undefined, decorators: [{\n type: Inject,\n args: [CDK_TABLE]\n }, {\n type: Optional\n }] }]; } });\n/**\n * Data row definition for the CDK table.\n * Captures the header row's template and other row properties such as the columns to display and\n * a when predicate that describes when this row should be used.\n */\nclass CdkRowDef extends BaseRowDef {\n // TODO(andrewseguin): Add an input for providing a switch function to determine\n // if this template should be used.\n constructor(template, _differs, _table) {\n super(template, _differs);\n this._table = _table;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkRowDef, deps: [{ token: i0.TemplateRef }, { token: i0.IterableDiffers }, { token: CDK_TABLE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkRowDef, selector: \"[cdkRowDef]\", inputs: { columns: [\"cdkRowDefColumns\", \"columns\"], when: [\"cdkRowDefWhen\", \"when\"] }, usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkRowDef, decorators: [{\n type: Directive,\n args: [{\n selector: '[cdkRowDef]',\n inputs: ['columns: cdkRowDefColumns', 'when: cdkRowDefWhen'],\n }]\n }], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: i0.IterableDiffers }, { type: undefined, decorators: [{\n type: Inject,\n args: [CDK_TABLE]\n }, {\n type: Optional\n }] }]; } });\n/**\n * Outlet for rendering cells inside of a row or header row.\n * @docs-private\n */\nclass CdkCellOutlet {\n /**\n * Static property containing the latest constructed instance of this class.\n * Used by the CDK table when each CdkHeaderRow and CdkRow component is created using\n * createEmbeddedView. After one of these components are created, this property will provide\n * a handle to provide that component's cells and context. After init, the CdkCellOutlet will\n * construct the cells with the provided context.\n */\n static { this.mostRecentCellOutlet = null; }\n constructor(_viewContainer) {\n this._viewContainer = _viewContainer;\n CdkCellOutlet.mostRecentCellOutlet = this;\n }\n ngOnDestroy() {\n // If this was the last outlet being rendered in the view, remove the reference\n // from the static property after it has been destroyed to avoid leaking memory.\n if (CdkCellOutlet.mostRecentCellOutlet === this) {\n CdkCellOutlet.mostRecentCellOutlet = null;\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkCellOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkCellOutlet, selector: \"[cdkCellOutlet]\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkCellOutlet, decorators: [{\n type: Directive,\n args: [{ selector: '[cdkCellOutlet]' }]\n }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });\n/** Header template container that contains the cell outlet. Adds the right class and role. */\nclass CdkHeaderRow {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkHeaderRow, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkHeaderRow, selector: \"cdk-header-row, tr[cdk-header-row]\", host: { attributes: { \"role\": \"row\" }, classAttribute: \"cdk-header-row\" }, ngImport: i0, template: \"\", isInline: true, dependencies: [{ kind: \"directive\", type: CdkCellOutlet, selector: \"[cdkCellOutlet]\" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkHeaderRow, decorators: [{\n type: Component,\n args: [{\n selector: 'cdk-header-row, tr[cdk-header-row]',\n template: CDK_ROW_TEMPLATE,\n host: {\n 'class': 'cdk-header-row',\n 'role': 'row',\n },\n // See note on CdkTable for explanation on why this uses the default change detection strategy.\n // tslint:disable-next-line:validate-decorators\n changeDetection: ChangeDetectionStrategy.Default,\n encapsulation: ViewEncapsulation.None,\n }]\n }] });\n/** Footer template container that contains the cell outlet. Adds the right class and role. */\nclass CdkFooterRow {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkFooterRow, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkFooterRow, selector: \"cdk-footer-row, tr[cdk-footer-row]\", host: { attributes: { \"role\": \"row\" }, classAttribute: \"cdk-footer-row\" }, ngImport: i0, template: \"\", isInline: true, dependencies: [{ kind: \"directive\", type: CdkCellOutlet, selector: \"[cdkCellOutlet]\" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkFooterRow, decorators: [{\n type: Component,\n args: [{\n selector: 'cdk-footer-row, tr[cdk-footer-row]',\n template: CDK_ROW_TEMPLATE,\n host: {\n 'class': 'cdk-footer-row',\n 'role': 'row',\n },\n // See note on CdkTable for explanation on why this uses the default change detection strategy.\n // tslint:disable-next-line:validate-decorators\n changeDetection: ChangeDetectionStrategy.Default,\n encapsulation: ViewEncapsulation.None,\n }]\n }] });\n/** Data row template container that contains the cell outlet. Adds the right class and role. */\nclass CdkRow {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkRow, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkRow, selector: \"cdk-row, tr[cdk-row]\", host: { attributes: { \"role\": \"row\" }, classAttribute: \"cdk-row\" }, ngImport: i0, template: \"\", isInline: true, dependencies: [{ kind: \"directive\", type: CdkCellOutlet, selector: \"[cdkCellOutlet]\" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkRow, decorators: [{\n type: Component,\n args: [{\n selector: 'cdk-row, tr[cdk-row]',\n template: CDK_ROW_TEMPLATE,\n host: {\n 'class': 'cdk-row',\n 'role': 'row',\n },\n // See note on CdkTable for explanation on why this uses the default change detection strategy.\n // tslint:disable-next-line:validate-decorators\n changeDetection: ChangeDetectionStrategy.Default,\n encapsulation: ViewEncapsulation.None,\n }]\n }] });\n/** Row that can be used to display a message when no data is shown in the table. */\nclass CdkNoDataRow {\n constructor(templateRef) {\n this.templateRef = templateRef;\n this._contentClassName = 'cdk-no-data-row';\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkNoDataRow, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkNoDataRow, selector: \"ng-template[cdkNoDataRow]\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkNoDataRow, decorators: [{\n type: Directive,\n args: [{\n selector: 'ng-template[cdkNoDataRow]',\n }]\n }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });\n\n/**\n * List of all possible directions that can be used for sticky positioning.\n * @docs-private\n */\nconst STICKY_DIRECTIONS = ['top', 'bottom', 'left', 'right'];\n/**\n * Applies and removes sticky positioning styles to the `CdkTable` rows and columns cells.\n * @docs-private\n */\nclass StickyStyler {\n /**\n * @param _isNativeHtmlTable Whether the sticky logic should be based on a table\n * that uses the native `` element.\n * @param _stickCellCss The CSS class that will be applied to every row/cell that has\n * sticky positioning applied.\n * @param direction The directionality context of the table (ltr/rtl); affects column positioning\n * by reversing left/right positions.\n * @param _isBrowser Whether the table is currently being rendered on the server or the client.\n * @param _needsPositionStickyOnElement Whether we need to specify position: sticky on cells\n * using inline styles. If false, it is assumed that position: sticky is included in\n * the component stylesheet for _stickCellCss.\n * @param _positionListener A listener that is notified of changes to sticky rows/columns\n * and their dimensions.\n */\n constructor(_isNativeHtmlTable, _stickCellCss, direction, _coalescedStyleScheduler, _isBrowser = true, _needsPositionStickyOnElement = true, _positionListener) {\n this._isNativeHtmlTable = _isNativeHtmlTable;\n this._stickCellCss = _stickCellCss;\n this.direction = direction;\n this._coalescedStyleScheduler = _coalescedStyleScheduler;\n this._isBrowser = _isBrowser;\n this._needsPositionStickyOnElement = _needsPositionStickyOnElement;\n this._positionListener = _positionListener;\n this._cachedCellWidths = [];\n this._borderCellCss = {\n 'top': `${_stickCellCss}-border-elem-top`,\n 'bottom': `${_stickCellCss}-border-elem-bottom`,\n 'left': `${_stickCellCss}-border-elem-left`,\n 'right': `${_stickCellCss}-border-elem-right`,\n };\n }\n /**\n * Clears the sticky positioning styles from the row and its cells by resetting the `position`\n * style, setting the zIndex to 0, and unsetting each provided sticky direction.\n * @param rows The list of rows that should be cleared from sticking in the provided directions\n * @param stickyDirections The directions that should no longer be set as sticky on the rows.\n */\n clearStickyPositioning(rows, stickyDirections) {\n const elementsToClear = [];\n for (const row of rows) {\n // If the row isn't an element (e.g. if it's an `ng-container`),\n // it won't have inline styles or `children` so we skip it.\n if (row.nodeType !== row.ELEMENT_NODE) {\n continue;\n }\n elementsToClear.push(row);\n for (let i = 0; i < row.children.length; i++) {\n elementsToClear.push(row.children[i]);\n }\n }\n // Coalesce with sticky row/column updates (and potentially other changes like column resize).\n this._coalescedStyleScheduler.schedule(() => {\n for (const element of elementsToClear) {\n this._removeStickyStyle(element, stickyDirections);\n }\n });\n }\n /**\n * Applies sticky left and right positions to the cells of each row according to the sticky\n * states of the rendered column definitions.\n * @param rows The rows that should have its set of cells stuck according to the sticky states.\n * @param stickyStartStates A list of boolean states where each state represents whether the cell\n * in this index position should be stuck to the start of the row.\n * @param stickyEndStates A list of boolean states where each state represents whether the cell\n * in this index position should be stuck to the end of the row.\n * @param recalculateCellWidths Whether the sticky styler should recalculate the width of each\n * column cell. If `false` cached widths will be used instead.\n */\n updateStickyColumns(rows, stickyStartStates, stickyEndStates, recalculateCellWidths = true) {\n if (!rows.length ||\n !this._isBrowser ||\n !(stickyStartStates.some(state => state) || stickyEndStates.some(state => state))) {\n if (this._positionListener) {\n this._positionListener.stickyColumnsUpdated({ sizes: [] });\n this._positionListener.stickyEndColumnsUpdated({ sizes: [] });\n }\n return;\n }\n const firstRow = rows[0];\n const numCells = firstRow.children.length;\n const cellWidths = this._getCellWidths(firstRow, recalculateCellWidths);\n const startPositions = this._getStickyStartColumnPositions(cellWidths, stickyStartStates);\n const endPositions = this._getStickyEndColumnPositions(cellWidths, stickyEndStates);\n const lastStickyStart = stickyStartStates.lastIndexOf(true);\n const firstStickyEnd = stickyEndStates.indexOf(true);\n // Coalesce with sticky row updates (and potentially other changes like column resize).\n this._coalescedStyleScheduler.schedule(() => {\n const isRtl = this.direction === 'rtl';\n const start = isRtl ? 'right' : 'left';\n const end = isRtl ? 'left' : 'right';\n for (const row of rows) {\n for (let i = 0; i < numCells; i++) {\n const cell = row.children[i];\n if (stickyStartStates[i]) {\n this._addStickyStyle(cell, start, startPositions[i], i === lastStickyStart);\n }\n if (stickyEndStates[i]) {\n this._addStickyStyle(cell, end, endPositions[i], i === firstStickyEnd);\n }\n }\n }\n if (this._positionListener) {\n this._positionListener.stickyColumnsUpdated({\n sizes: lastStickyStart === -1\n ? []\n : cellWidths\n .slice(0, lastStickyStart + 1)\n .map((width, index) => (stickyStartStates[index] ? width : null)),\n });\n this._positionListener.stickyEndColumnsUpdated({\n sizes: firstStickyEnd === -1\n ? []\n : cellWidths\n .slice(firstStickyEnd)\n .map((width, index) => (stickyEndStates[index + firstStickyEnd] ? width : null))\n .reverse(),\n });\n }\n });\n }\n /**\n * Applies sticky positioning to the row's cells if using the native table layout, and to the\n * row itself otherwise.\n * @param rowsToStick The list of rows that should be stuck according to their corresponding\n * sticky state and to the provided top or bottom position.\n * @param stickyStates A list of boolean states where each state represents whether the row\n * should be stuck in the particular top or bottom position.\n * @param position The position direction in which the row should be stuck if that row should be\n * sticky.\n *\n */\n stickRows(rowsToStick, stickyStates, position) {\n // Since we can't measure the rows on the server, we can't stick the rows properly.\n if (!this._isBrowser) {\n return;\n }\n // If positioning the rows to the bottom, reverse their order when evaluating the sticky\n // position such that the last row stuck will be \"bottom: 0px\" and so on. Note that the\n // sticky states need to be reversed as well.\n const rows = position === 'bottom' ? rowsToStick.slice().reverse() : rowsToStick;\n const states = position === 'bottom' ? stickyStates.slice().reverse() : stickyStates;\n // Measure row heights all at once before adding sticky styles to reduce layout thrashing.\n const stickyOffsets = [];\n const stickyCellHeights = [];\n const elementsToStick = [];\n for (let rowIndex = 0, stickyOffset = 0; rowIndex < rows.length; rowIndex++) {\n if (!states[rowIndex]) {\n continue;\n }\n stickyOffsets[rowIndex] = stickyOffset;\n const row = rows[rowIndex];\n elementsToStick[rowIndex] = this._isNativeHtmlTable\n ? Array.from(row.children)\n : [row];\n const height = row.getBoundingClientRect().height;\n stickyOffset += height;\n stickyCellHeights[rowIndex] = height;\n }\n const borderedRowIndex = states.lastIndexOf(true);\n // Coalesce with other sticky row updates (top/bottom), sticky columns updates\n // (and potentially other changes like column resize).\n this._coalescedStyleScheduler.schedule(() => {\n for (let rowIndex = 0; rowIndex < rows.length; rowIndex++) {\n if (!states[rowIndex]) {\n continue;\n }\n const offset = stickyOffsets[rowIndex];\n const isBorderedRowIndex = rowIndex === borderedRowIndex;\n for (const element of elementsToStick[rowIndex]) {\n this._addStickyStyle(element, position, offset, isBorderedRowIndex);\n }\n }\n if (position === 'top') {\n this._positionListener?.stickyHeaderRowsUpdated({\n sizes: stickyCellHeights,\n offsets: stickyOffsets,\n elements: elementsToStick,\n });\n }\n else {\n this._positionListener?.stickyFooterRowsUpdated({\n sizes: stickyCellHeights,\n offsets: stickyOffsets,\n elements: elementsToStick,\n });\n }\n });\n }\n /**\n * When using the native table in Safari, sticky footer cells do not stick. The only way to stick\n * footer rows is to apply sticky styling to the tfoot container. This should only be done if\n * all footer rows are sticky. If not all footer rows are sticky, remove sticky positioning from\n * the tfoot element.\n */\n updateStickyFooterContainer(tableElement, stickyStates) {\n if (!this._isNativeHtmlTable) {\n return;\n }\n const tfoot = tableElement.querySelector('tfoot');\n // Coalesce with other sticky updates (and potentially other changes like column resize).\n this._coalescedStyleScheduler.schedule(() => {\n if (stickyStates.some(state => !state)) {\n this._removeStickyStyle(tfoot, ['bottom']);\n }\n else {\n this._addStickyStyle(tfoot, 'bottom', 0, false);\n }\n });\n }\n /**\n * Removes the sticky style on the element by removing the sticky cell CSS class, re-evaluating\n * the zIndex, removing each of the provided sticky directions, and removing the\n * sticky position if there are no more directions.\n */\n _removeStickyStyle(element, stickyDirections) {\n for (const dir of stickyDirections) {\n element.style[dir] = '';\n element.classList.remove(this._borderCellCss[dir]);\n }\n // If the element no longer has any more sticky directions, remove sticky positioning and\n // the sticky CSS class.\n // Short-circuit checking element.style[dir] for stickyDirections as they\n // were already removed above.\n const hasDirection = STICKY_DIRECTIONS.some(dir => stickyDirections.indexOf(dir) === -1 && element.style[dir]);\n if (hasDirection) {\n element.style.zIndex = this._getCalculatedZIndex(element);\n }\n else {\n // When not hasDirection, _getCalculatedZIndex will always return ''.\n element.style.zIndex = '';\n if (this._needsPositionStickyOnElement) {\n element.style.position = '';\n }\n element.classList.remove(this._stickCellCss);\n }\n }\n /**\n * Adds the sticky styling to the element by adding the sticky style class, changing position\n * to be sticky (and -webkit-sticky), setting the appropriate zIndex, and adding a sticky\n * direction and value.\n */\n _addStickyStyle(element, dir, dirValue, isBorderElement) {\n element.classList.add(this._stickCellCss);\n if (isBorderElement) {\n element.classList.add(this._borderCellCss[dir]);\n }\n element.style[dir] = `${dirValue}px`;\n element.style.zIndex = this._getCalculatedZIndex(element);\n if (this._needsPositionStickyOnElement) {\n element.style.cssText += 'position: -webkit-sticky; position: sticky; ';\n }\n }\n /**\n * Calculate what the z-index should be for the element, depending on what directions (top,\n * bottom, left, right) have been set. It should be true that elements with a top direction\n * should have the highest index since these are elements like a table header. If any of those\n * elements are also sticky in another direction, then they should appear above other elements\n * that are only sticky top (e.g. a sticky column on a sticky header). Bottom-sticky elements\n * (e.g. footer rows) should then be next in the ordering such that they are below the header\n * but above any non-sticky elements. Finally, left/right sticky elements (e.g. sticky columns)\n * should minimally increment so that they are above non-sticky elements but below top and bottom\n * elements.\n */\n _getCalculatedZIndex(element) {\n const zIndexIncrements = {\n top: 100,\n bottom: 10,\n left: 1,\n right: 1,\n };\n let zIndex = 0;\n // Use `Iterable` instead of `Array` because TypeScript, as of 3.6.3,\n // loses the array generic type in the `for of`. But we *also* have to use `Array` because\n // typescript won't iterate over an `Iterable` unless you compile with `--downlevelIteration`\n for (const dir of STICKY_DIRECTIONS) {\n if (element.style[dir]) {\n zIndex += zIndexIncrements[dir];\n }\n }\n return zIndex ? `${zIndex}` : '';\n }\n /** Gets the widths for each cell in the provided row. */\n _getCellWidths(row, recalculateCellWidths = true) {\n if (!recalculateCellWidths && this._cachedCellWidths.length) {\n return this._cachedCellWidths;\n }\n const cellWidths = [];\n const firstRowCells = row.children;\n for (let i = 0; i < firstRowCells.length; i++) {\n let cell = firstRowCells[i];\n cellWidths.push(cell.getBoundingClientRect().width);\n }\n this._cachedCellWidths = cellWidths;\n return cellWidths;\n }\n /**\n * Determines the left and right positions of each sticky column cell, which will be the\n * accumulation of all sticky column cell widths to the left and right, respectively.\n * Non-sticky cells do not need to have a value set since their positions will not be applied.\n */\n _getStickyStartColumnPositions(widths, stickyStates) {\n const positions = [];\n let nextPosition = 0;\n for (let i = 0; i < widths.length; i++) {\n if (stickyStates[i]) {\n positions[i] = nextPosition;\n nextPosition += widths[i];\n }\n }\n return positions;\n }\n /**\n * Determines the left and right positions of each sticky column cell, which will be the\n * accumulation of all sticky column cell widths to the left and right, respectively.\n * Non-sticky cells do not need to have a value set since their positions will not be applied.\n */\n _getStickyEndColumnPositions(widths, stickyStates) {\n const positions = [];\n let nextPosition = 0;\n for (let i = widths.length; i > 0; i--) {\n if (stickyStates[i]) {\n positions[i] = nextPosition;\n nextPosition += widths[i];\n }\n }\n return positions;\n }\n}\n\n/**\n * Returns an error to be thrown when attempting to find an nonexistent column.\n * @param id Id whose lookup failed.\n * @docs-private\n */\nfunction getTableUnknownColumnError(id) {\n return Error(`Could not find column with id \"${id}\".`);\n}\n/**\n * Returns an error to be thrown when two column definitions have the same name.\n * @docs-private\n */\nfunction getTableDuplicateColumnNameError(name) {\n return Error(`Duplicate column definition name provided: \"${name}\".`);\n}\n/**\n * Returns an error to be thrown when there are multiple rows that are missing a when function.\n * @docs-private\n */\nfunction getTableMultipleDefaultRowDefsError() {\n return Error(`There can only be one default row without a when predicate function.`);\n}\n/**\n * Returns an error to be thrown when there are no matching row defs for a particular set of data.\n * @docs-private\n */\nfunction getTableMissingMatchingRowDefError(data) {\n return Error(`Could not find a matching row definition for the` +\n `provided row data: ${JSON.stringify(data)}`);\n}\n/**\n * Returns an error to be thrown when there is no row definitions present in the content.\n * @docs-private\n */\nfunction getTableMissingRowDefsError() {\n return Error('Missing definitions for header, footer, and row; ' +\n 'cannot determine which columns should be rendered.');\n}\n/**\n * Returns an error to be thrown when the data source does not match the compatible types.\n * @docs-private\n */\nfunction getTableUnknownDataSourceError() {\n return Error(`Provided data source did not match an array, Observable, or DataSource`);\n}\n/**\n * Returns an error to be thrown when the text column cannot find a parent table to inject.\n * @docs-private\n */\nfunction getTableTextColumnMissingParentTableError() {\n return Error(`Text column could not find a parent table for registration.`);\n}\n/**\n * Returns an error to be thrown when a table text column doesn't have a name.\n * @docs-private\n */\nfunction getTableTextColumnMissingNameError() {\n return Error(`Table text column must have a name.`);\n}\n\n/** The injection token used to specify the StickyPositioningListener. */\nconst STICKY_POSITIONING_LISTENER = new InjectionToken('CDK_SPL');\n\n/**\n * Enables the recycle view repeater strategy, which reduces rendering latency. Not compatible with\n * tables that animate rows.\n */\nclass CdkRecycleRows {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkRecycleRows, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkRecycleRows, selector: \"cdk-table[recycleRows], table[cdk-table][recycleRows]\", providers: [{ provide: _VIEW_REPEATER_STRATEGY, useClass: _RecycleViewRepeaterStrategy }], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkRecycleRows, decorators: [{\n type: Directive,\n args: [{\n selector: 'cdk-table[recycleRows], table[cdk-table][recycleRows]',\n providers: [{ provide: _VIEW_REPEATER_STRATEGY, useClass: _RecycleViewRepeaterStrategy }],\n }]\n }] });\n/**\n * Provides a handle for the table to grab the view container's ng-container to insert data rows.\n * @docs-private\n */\nclass DataRowOutlet {\n constructor(viewContainer, elementRef) {\n this.viewContainer = viewContainer;\n this.elementRef = elementRef;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: DataRowOutlet, deps: [{ token: i0.ViewContainerRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: DataRowOutlet, selector: \"[rowOutlet]\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: DataRowOutlet, decorators: [{\n type: Directive,\n args: [{ selector: '[rowOutlet]' }]\n }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.ElementRef }]; } });\n/**\n * Provides a handle for the table to grab the view container's ng-container to insert the header.\n * @docs-private\n */\nclass HeaderRowOutlet {\n constructor(viewContainer, elementRef) {\n this.viewContainer = viewContainer;\n this.elementRef = elementRef;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: HeaderRowOutlet, deps: [{ token: i0.ViewContainerRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: HeaderRowOutlet, selector: \"[headerRowOutlet]\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: HeaderRowOutlet, decorators: [{\n type: Directive,\n args: [{ selector: '[headerRowOutlet]' }]\n }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.ElementRef }]; } });\n/**\n * Provides a handle for the table to grab the view container's ng-container to insert the footer.\n * @docs-private\n */\nclass FooterRowOutlet {\n constructor(viewContainer, elementRef) {\n this.viewContainer = viewContainer;\n this.elementRef = elementRef;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: FooterRowOutlet, deps: [{ token: i0.ViewContainerRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: FooterRowOutlet, selector: \"[footerRowOutlet]\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: FooterRowOutlet, decorators: [{\n type: Directive,\n args: [{ selector: '[footerRowOutlet]' }]\n }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.ElementRef }]; } });\n/**\n * Provides a handle for the table to grab the view\n * container's ng-container to insert the no data row.\n * @docs-private\n */\nclass NoDataRowOutlet {\n constructor(viewContainer, elementRef) {\n this.viewContainer = viewContainer;\n this.elementRef = elementRef;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: NoDataRowOutlet, deps: [{ token: i0.ViewContainerRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: NoDataRowOutlet, selector: \"[noDataRowOutlet]\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: NoDataRowOutlet, decorators: [{\n type: Directive,\n args: [{ selector: '[noDataRowOutlet]' }]\n }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.ElementRef }]; } });\n/**\n * The table template that can be used by the mat-table. Should not be used outside of the\n * material library.\n * @docs-private\n */\nconst CDK_TABLE_TEMPLATE = \n// Note that according to MDN, the `caption` element has to be projected as the **first**\n// element in the table. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/caption\n`\n \n \n \n \n \n \n`;\n/**\n * Class used to conveniently type the embedded view ref for rows with a context.\n * @docs-private\n */\nclass RowViewRef extends EmbeddedViewRef {\n}\n/**\n * A data table that can render a header row, data rows, and a footer row.\n * Uses the dataSource input to determine the data to be rendered. The data can be provided either\n * as a data array, an Observable stream that emits the data array to render, or a DataSource with a\n * connect function that will return an Observable stream that emits the data array to render.\n */\nclass CdkTable {\n /**\n * Tracking function that will be used to check the differences in data changes. Used similarly\n * to `ngFor` `trackBy` function. Optimize row operations by identifying a row based on its data\n * relative to the function to know if a row should be added/removed/moved.\n * Accepts a function that takes two parameters, `index` and `item`.\n */\n get trackBy() {\n return this._trackByFn;\n }\n set trackBy(fn) {\n if ((typeof ngDevMode === 'undefined' || ngDevMode) && fn != null && typeof fn !== 'function') {\n console.warn(`trackBy must be a function, but received ${JSON.stringify(fn)}.`);\n }\n this._trackByFn = fn;\n }\n /**\n * The table's source of data, which can be provided in three ways (in order of complexity):\n * - Simple data array (each object represents one table row)\n * - Stream that emits a data array each time the array changes\n * - `DataSource` object that implements the connect/disconnect interface.\n *\n * If a data array is provided, the table must be notified when the array's objects are\n * added, removed, or moved. This can be done by calling the `renderRows()` function which will\n * render the diff since the last table render. If the data array reference is changed, the table\n * will automatically trigger an update to the rows.\n *\n * When providing an Observable stream, the table will trigger an update automatically when the\n * stream emits a new array of data.\n *\n * Finally, when providing a `DataSource` object, the table will use the Observable stream\n * provided by the connect function and trigger updates when that stream emits new data array\n * values. During the table's ngOnDestroy or when the data source is removed from the table, the\n * table will call the DataSource's `disconnect` function (may be useful for cleaning up any\n * subscriptions registered during the connect process).\n */\n get dataSource() {\n return this._dataSource;\n }\n set dataSource(dataSource) {\n if (this._dataSource !== dataSource) {\n this._switchDataSource(dataSource);\n }\n }\n /**\n * Whether to allow multiple rows per data object by evaluating which rows evaluate their 'when'\n * predicate to true. If `multiTemplateDataRows` is false, which is the default value, then each\n * dataobject will render the first row that evaluates its when predicate to true, in the order\n * defined in the table, or otherwise the default row which does not have a when predicate.\n */\n get multiTemplateDataRows() {\n return this._multiTemplateDataRows;\n }\n set multiTemplateDataRows(v) {\n this._multiTemplateDataRows = coerceBooleanProperty(v);\n // In Ivy if this value is set via a static attribute (e.g.
),\n // this setter will be invoked before the row outlet has been defined hence the null check.\n if (this._rowOutlet && this._rowOutlet.viewContainer.length) {\n this._forceRenderDataRows();\n this.updateStickyColumnStyles();\n }\n }\n /**\n * Whether to use a fixed table layout. Enabling this option will enforce consistent column widths\n * and optimize rendering sticky styles for native tables. No-op for flex tables.\n */\n get fixedLayout() {\n return this._fixedLayout;\n }\n set fixedLayout(v) {\n this._fixedLayout = coerceBooleanProperty(v);\n // Toggling `fixedLayout` may change column widths. Sticky column styles should be recalculated.\n this._forceRecalculateCellWidths = true;\n this._stickyColumnStylesNeedReset = true;\n }\n constructor(_differs, _changeDetectorRef, _elementRef, role, _dir, _document, _platform, _viewRepeater, _coalescedStyleScheduler, _viewportRuler, \n /**\n * @deprecated `_stickyPositioningListener` parameter to become required.\n * @breaking-change 13.0.0\n */\n _stickyPositioningListener, \n /**\n * @deprecated `_ngZone` parameter to become required.\n * @breaking-change 14.0.0\n */\n _ngZone) {\n this._differs = _differs;\n this._changeDetectorRef = _changeDetectorRef;\n this._elementRef = _elementRef;\n this._dir = _dir;\n this._platform = _platform;\n this._viewRepeater = _viewRepeater;\n this._coalescedStyleScheduler = _coalescedStyleScheduler;\n this._viewportRuler = _viewportRuler;\n this._stickyPositioningListener = _stickyPositioningListener;\n this._ngZone = _ngZone;\n /** Subject that emits when the component has been destroyed. */\n this._onDestroy = new Subject();\n /**\n * Map of all the user's defined columns (header, data, and footer cell template) identified by\n * name. Collection populated by the column definitions gathered by `ContentChildren` as well as\n * any custom column definitions added to `_customColumnDefs`.\n */\n this._columnDefsByName = new Map();\n /**\n * Column definitions that were defined outside of the direct content children of the table.\n * These will be defined when, e.g., creating a wrapper around the cdkTable that has\n * column definitions as *its* content child.\n */\n this._customColumnDefs = new Set();\n /**\n * Data row definitions that were defined outside of the direct content children of the table.\n * These will be defined when, e.g., creating a wrapper around the cdkTable that has\n * built-in data rows as *its* content child.\n */\n this._customRowDefs = new Set();\n /**\n * Header row definitions that were defined outside of the direct content children of the table.\n * These will be defined when, e.g., creating a wrapper around the cdkTable that has\n * built-in header rows as *its* content child.\n */\n this._customHeaderRowDefs = new Set();\n /**\n * Footer row definitions that were defined outside of the direct content children of the table.\n * These will be defined when, e.g., creating a wrapper around the cdkTable that has a\n * built-in footer row as *its* content child.\n */\n this._customFooterRowDefs = new Set();\n /**\n * Whether the header row definition has been changed. Triggers an update to the header row after\n * content is checked. Initialized as true so that the table renders the initial set of rows.\n */\n this._headerRowDefChanged = true;\n /**\n * Whether the footer row definition has been changed. Triggers an update to the footer row after\n * content is checked. Initialized as true so that the table renders the initial set of rows.\n */\n this._footerRowDefChanged = true;\n /**\n * Whether the sticky column styles need to be updated. Set to `true` when the visible columns\n * change.\n */\n this._stickyColumnStylesNeedReset = true;\n /**\n * Whether the sticky styler should recalculate cell widths when applying sticky styles. If\n * `false`, cached values will be used instead. This is only applicable to tables with\n * {@link fixedLayout} enabled. For other tables, cell widths will always be recalculated.\n */\n this._forceRecalculateCellWidths = true;\n /**\n * Cache of the latest rendered `RenderRow` objects as a map for easy retrieval when constructing\n * a new list of `RenderRow` objects for rendering rows. Since the new list is constructed with\n * the cached `RenderRow` objects when possible, the row identity is preserved when the data\n * and row template matches, which allows the `IterableDiffer` to check rows by reference\n * and understand which rows are added/moved/removed.\n *\n * Implemented as a map of maps where the first key is the `data: T` object and the second is the\n * `CdkRowDef` object. With the two keys, the cache points to a `RenderRow` object that\n * contains an array of created pairs. The array is necessary to handle cases where the data\n * array contains multiple duplicate data objects and each instantiated `RenderRow` must be\n * stored.\n */\n this._cachedRenderRowsMap = new Map();\n /**\n * CSS class added to any row or cell that has sticky positioning applied. May be overridden by\n * table subclasses.\n */\n this.stickyCssClass = 'cdk-table-sticky';\n /**\n * Whether to manually add position: sticky to all sticky cell elements. Not needed if\n * the position is set in a selector associated with the value of stickyCssClass. May be\n * overridden by table subclasses\n */\n this.needsPositionStickyOnElement = true;\n /** Whether the no data row is currently showing anything. */\n this._isShowingNoDataRow = false;\n this._multiTemplateDataRows = false;\n this._fixedLayout = false;\n /**\n * Emits when the table completes rendering a set of data rows based on the latest data from the\n * data source, even if the set of rows is empty.\n */\n this.contentChanged = new EventEmitter();\n // TODO(andrewseguin): Remove max value as the end index\n // and instead calculate the view on init and scroll.\n /**\n * Stream containing the latest information on what rows are being displayed on screen.\n * Can be used by the data source to as a heuristic of what data should be provided.\n *\n * @docs-private\n */\n this.viewChange = new BehaviorSubject({\n start: 0,\n end: Number.MAX_VALUE,\n });\n if (!role) {\n this._elementRef.nativeElement.setAttribute('role', 'table');\n }\n this._document = _document;\n this._isNativeHtmlTable = this._elementRef.nativeElement.nodeName === 'TABLE';\n }\n ngOnInit() {\n this._setupStickyStyler();\n if (this._isNativeHtmlTable) {\n this._applyNativeTableSections();\n }\n // Set up the trackBy function so that it uses the `RenderRow` as its identity by default. If\n // the user has provided a custom trackBy, return the result of that function as evaluated\n // with the values of the `RenderRow`'s data and index.\n this._dataDiffer = this._differs.find([]).create((_i, dataRow) => {\n return this.trackBy ? this.trackBy(dataRow.dataIndex, dataRow.data) : dataRow;\n });\n this._viewportRuler\n .change()\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this._forceRecalculateCellWidths = true;\n });\n }\n ngAfterContentChecked() {\n // Cache the row and column definitions gathered by ContentChildren and programmatic injection.\n this._cacheRowDefs();\n this._cacheColumnDefs();\n // Make sure that the user has at least added header, footer, or data row def.\n if (!this._headerRowDefs.length &&\n !this._footerRowDefs.length &&\n !this._rowDefs.length &&\n (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw getTableMissingRowDefsError();\n }\n // Render updates if the list of columns have been changed for the header, row, or footer defs.\n const columnsChanged = this._renderUpdatedColumns();\n const rowDefsChanged = columnsChanged || this._headerRowDefChanged || this._footerRowDefChanged;\n // Ensure sticky column styles are reset if set to `true` elsewhere.\n this._stickyColumnStylesNeedReset = this._stickyColumnStylesNeedReset || rowDefsChanged;\n this._forceRecalculateCellWidths = rowDefsChanged;\n // If the header row definition has been changed, trigger a render to the header row.\n if (this._headerRowDefChanged) {\n this._forceRenderHeaderRows();\n this._headerRowDefChanged = false;\n }\n // If the footer row definition has been changed, trigger a render to the footer row.\n if (this._footerRowDefChanged) {\n this._forceRenderFooterRows();\n this._footerRowDefChanged = false;\n }\n // If there is a data source and row definitions, connect to the data source unless a\n // connection has already been made.\n if (this.dataSource && this._rowDefs.length > 0 && !this._renderChangeSubscription) {\n this._observeRenderChanges();\n }\n else if (this._stickyColumnStylesNeedReset) {\n // In the above case, _observeRenderChanges will result in updateStickyColumnStyles being\n // called when it row data arrives. Otherwise, we need to call it proactively.\n this.updateStickyColumnStyles();\n }\n this._checkStickyStates();\n }\n ngOnDestroy() {\n [\n this._rowOutlet.viewContainer,\n this._headerRowOutlet.viewContainer,\n this._footerRowOutlet.viewContainer,\n this._cachedRenderRowsMap,\n this._customColumnDefs,\n this._customRowDefs,\n this._customHeaderRowDefs,\n this._customFooterRowDefs,\n this._columnDefsByName,\n ].forEach(def => {\n def.clear();\n });\n this._headerRowDefs = [];\n this._footerRowDefs = [];\n this._defaultRowDef = null;\n this._onDestroy.next();\n this._onDestroy.complete();\n if (isDataSource(this.dataSource)) {\n this.dataSource.disconnect(this);\n }\n }\n /**\n * Renders rows based on the table's latest set of data, which was either provided directly as an\n * input or retrieved through an Observable stream (directly or from a DataSource).\n * Checks for differences in the data since the last diff to perform only the necessary\n * changes (add/remove/move rows).\n *\n * If the table's data source is a DataSource or Observable, this will be invoked automatically\n * each time the provided Observable stream emits a new data array. Otherwise if your data is\n * an array, this function will need to be called to render any changes.\n */\n renderRows() {\n this._renderRows = this._getAllRenderRows();\n const changes = this._dataDiffer.diff(this._renderRows);\n if (!changes) {\n this._updateNoDataRow();\n this.contentChanged.next();\n return;\n }\n const viewContainer = this._rowOutlet.viewContainer;\n this._viewRepeater.applyChanges(changes, viewContainer, (record, _adjustedPreviousIndex, currentIndex) => this._getEmbeddedViewArgs(record.item, currentIndex), record => record.item.data, (change) => {\n if (change.operation === 1 /* _ViewRepeaterOperation.INSERTED */ && change.context) {\n this._renderCellTemplateForItem(change.record.item.rowDef, change.context);\n }\n });\n // Update the meta context of a row's context data (index, count, first, last, ...)\n this._updateRowIndexContext();\n // Update rows that did not get added/removed/moved but may have had their identity changed,\n // e.g. if trackBy matched data on some property but the actual data reference changed.\n changes.forEachIdentityChange((record) => {\n const rowView = viewContainer.get(record.currentIndex);\n rowView.context.$implicit = record.item.data;\n });\n this._updateNoDataRow();\n // Allow the new row data to render before measuring it.\n // @breaking-change 14.0.0 Remove undefined check once _ngZone is required.\n if (this._ngZone && NgZone.isInAngularZone()) {\n this._ngZone.onStable.pipe(take(1), takeUntil(this._onDestroy)).subscribe(() => {\n this.updateStickyColumnStyles();\n });\n }\n else {\n this.updateStickyColumnStyles();\n }\n this.contentChanged.next();\n }\n /** Adds a column definition that was not included as part of the content children. */\n addColumnDef(columnDef) {\n this._customColumnDefs.add(columnDef);\n }\n /** Removes a column definition that was not included as part of the content children. */\n removeColumnDef(columnDef) {\n this._customColumnDefs.delete(columnDef);\n }\n /** Adds a row definition that was not included as part of the content children. */\n addRowDef(rowDef) {\n this._customRowDefs.add(rowDef);\n }\n /** Removes a row definition that was not included as part of the content children. */\n removeRowDef(rowDef) {\n this._customRowDefs.delete(rowDef);\n }\n /** Adds a header row definition that was not included as part of the content children. */\n addHeaderRowDef(headerRowDef) {\n this._customHeaderRowDefs.add(headerRowDef);\n this._headerRowDefChanged = true;\n }\n /** Removes a header row definition that was not included as part of the content children. */\n removeHeaderRowDef(headerRowDef) {\n this._customHeaderRowDefs.delete(headerRowDef);\n this._headerRowDefChanged = true;\n }\n /** Adds a footer row definition that was not included as part of the content children. */\n addFooterRowDef(footerRowDef) {\n this._customFooterRowDefs.add(footerRowDef);\n this._footerRowDefChanged = true;\n }\n /** Removes a footer row definition that was not included as part of the content children. */\n removeFooterRowDef(footerRowDef) {\n this._customFooterRowDefs.delete(footerRowDef);\n this._footerRowDefChanged = true;\n }\n /** Sets a no data row definition that was not included as a part of the content children. */\n setNoDataRow(noDataRow) {\n this._customNoDataRow = noDataRow;\n }\n /**\n * Updates the header sticky styles. First resets all applied styles with respect to the cells\n * sticking to the top. Then, evaluating which cells need to be stuck to the top. This is\n * automatically called when the header row changes its displayed set of columns, or if its\n * sticky input changes. May be called manually for cases where the cell content changes outside\n * of these events.\n */\n updateStickyHeaderRowStyles() {\n const headerRows = this._getRenderedRows(this._headerRowOutlet);\n const tableElement = this._elementRef.nativeElement;\n // Hide the thead element if there are no header rows. This is necessary to satisfy\n // overzealous a11y checkers that fail because the `rowgroup` element does not contain\n // required child `row`.\n const thead = tableElement.querySelector('thead');\n if (thead) {\n thead.style.display = headerRows.length ? '' : 'none';\n }\n const stickyStates = this._headerRowDefs.map(def => def.sticky);\n this._stickyStyler.clearStickyPositioning(headerRows, ['top']);\n this._stickyStyler.stickRows(headerRows, stickyStates, 'top');\n // Reset the dirty state of the sticky input change since it has been used.\n this._headerRowDefs.forEach(def => def.resetStickyChanged());\n }\n /**\n * Updates the footer sticky styles. First resets all applied styles with respect to the cells\n * sticking to the bottom. Then, evaluating which cells need to be stuck to the bottom. This is\n * automatically called when the footer row changes its displayed set of columns, or if its\n * sticky input changes. May be called manually for cases where the cell content changes outside\n * of these events.\n */\n updateStickyFooterRowStyles() {\n const footerRows = this._getRenderedRows(this._footerRowOutlet);\n const tableElement = this._elementRef.nativeElement;\n // Hide the tfoot element if there are no footer rows. This is necessary to satisfy\n // overzealous a11y checkers that fail because the `rowgroup` element does not contain\n // required child `row`.\n const tfoot = tableElement.querySelector('tfoot');\n if (tfoot) {\n tfoot.style.display = footerRows.length ? '' : 'none';\n }\n const stickyStates = this._footerRowDefs.map(def => def.sticky);\n this._stickyStyler.clearStickyPositioning(footerRows, ['bottom']);\n this._stickyStyler.stickRows(footerRows, stickyStates, 'bottom');\n this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement, stickyStates);\n // Reset the dirty state of the sticky input change since it has been used.\n this._footerRowDefs.forEach(def => def.resetStickyChanged());\n }\n /**\n * Updates the column sticky styles. First resets all applied styles with respect to the cells\n * sticking to the left and right. Then sticky styles are added for the left and right according\n * to the column definitions for each cell in each row. This is automatically called when\n * the data source provides a new set of data or when a column definition changes its sticky\n * input. May be called manually for cases where the cell content changes outside of these events.\n */\n updateStickyColumnStyles() {\n const headerRows = this._getRenderedRows(this._headerRowOutlet);\n const dataRows = this._getRenderedRows(this._rowOutlet);\n const footerRows = this._getRenderedRows(this._footerRowOutlet);\n // For tables not using a fixed layout, the column widths may change when new rows are rendered.\n // In a table using a fixed layout, row content won't affect column width, so sticky styles\n // don't need to be cleared unless either the sticky column config changes or one of the row\n // defs change.\n if ((this._isNativeHtmlTable && !this._fixedLayout) || this._stickyColumnStylesNeedReset) {\n // Clear the left and right positioning from all columns in the table across all rows since\n // sticky columns span across all table sections (header, data, footer)\n this._stickyStyler.clearStickyPositioning([...headerRows, ...dataRows, ...footerRows], ['left', 'right']);\n this._stickyColumnStylesNeedReset = false;\n }\n // Update the sticky styles for each header row depending on the def's sticky state\n headerRows.forEach((headerRow, i) => {\n this._addStickyColumnStyles([headerRow], this._headerRowDefs[i]);\n });\n // Update the sticky styles for each data row depending on its def's sticky state\n this._rowDefs.forEach(rowDef => {\n // Collect all the rows rendered with this row definition.\n const rows = [];\n for (let i = 0; i < dataRows.length; i++) {\n if (this._renderRows[i].rowDef === rowDef) {\n rows.push(dataRows[i]);\n }\n }\n this._addStickyColumnStyles(rows, rowDef);\n });\n // Update the sticky styles for each footer row depending on the def's sticky state\n footerRows.forEach((footerRow, i) => {\n this._addStickyColumnStyles([footerRow], this._footerRowDefs[i]);\n });\n // Reset the dirty state of the sticky input change since it has been used.\n Array.from(this._columnDefsByName.values()).forEach(def => def.resetStickyChanged());\n }\n /**\n * Get the list of RenderRow objects to render according to the current list of data and defined\n * row definitions. If the previous list already contained a particular pair, it should be reused\n * so that the differ equates their references.\n */\n _getAllRenderRows() {\n const renderRows = [];\n // Store the cache and create a new one. Any re-used RenderRow objects will be moved into the\n // new cache while unused ones can be picked up by garbage collection.\n const prevCachedRenderRows = this._cachedRenderRowsMap;\n this._cachedRenderRowsMap = new Map();\n // For each data object, get the list of rows that should be rendered, represented by the\n // respective `RenderRow` object which is the pair of `data` and `CdkRowDef`.\n for (let i = 0; i < this._data.length; i++) {\n let data = this._data[i];\n const renderRowsForData = this._getRenderRowsForData(data, i, prevCachedRenderRows.get(data));\n if (!this._cachedRenderRowsMap.has(data)) {\n this._cachedRenderRowsMap.set(data, new WeakMap());\n }\n for (let j = 0; j < renderRowsForData.length; j++) {\n let renderRow = renderRowsForData[j];\n const cache = this._cachedRenderRowsMap.get(renderRow.data);\n if (cache.has(renderRow.rowDef)) {\n cache.get(renderRow.rowDef).push(renderRow);\n }\n else {\n cache.set(renderRow.rowDef, [renderRow]);\n }\n renderRows.push(renderRow);\n }\n }\n return renderRows;\n }\n /**\n * Gets a list of `RenderRow` for the provided data object and any `CdkRowDef` objects that\n * should be rendered for this data. Reuses the cached RenderRow objects if they match the same\n * `(T, CdkRowDef)` pair.\n */\n _getRenderRowsForData(data, dataIndex, cache) {\n const rowDefs = this._getRowDefs(data, dataIndex);\n return rowDefs.map(rowDef => {\n const cachedRenderRows = cache && cache.has(rowDef) ? cache.get(rowDef) : [];\n if (cachedRenderRows.length) {\n const dataRow = cachedRenderRows.shift();\n dataRow.dataIndex = dataIndex;\n return dataRow;\n }\n else {\n return { data, rowDef, dataIndex };\n }\n });\n }\n /** Update the map containing the content's column definitions. */\n _cacheColumnDefs() {\n this._columnDefsByName.clear();\n const columnDefs = mergeArrayAndSet(this._getOwnDefs(this._contentColumnDefs), this._customColumnDefs);\n columnDefs.forEach(columnDef => {\n if (this._columnDefsByName.has(columnDef.name) &&\n (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw getTableDuplicateColumnNameError(columnDef.name);\n }\n this._columnDefsByName.set(columnDef.name, columnDef);\n });\n }\n /** Update the list of all available row definitions that can be used. */\n _cacheRowDefs() {\n this._headerRowDefs = mergeArrayAndSet(this._getOwnDefs(this._contentHeaderRowDefs), this._customHeaderRowDefs);\n this._footerRowDefs = mergeArrayAndSet(this._getOwnDefs(this._contentFooterRowDefs), this._customFooterRowDefs);\n this._rowDefs = mergeArrayAndSet(this._getOwnDefs(this._contentRowDefs), this._customRowDefs);\n // After all row definitions are determined, find the row definition to be considered default.\n const defaultRowDefs = this._rowDefs.filter(def => !def.when);\n if (!this.multiTemplateDataRows &&\n defaultRowDefs.length > 1 &&\n (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw getTableMultipleDefaultRowDefsError();\n }\n this._defaultRowDef = defaultRowDefs[0];\n }\n /**\n * Check if the header, data, or footer rows have changed what columns they want to display or\n * whether the sticky states have changed for the header or footer. If there is a diff, then\n * re-render that section.\n */\n _renderUpdatedColumns() {\n const columnsDiffReducer = (acc, def) => acc || !!def.getColumnsDiff();\n // Force re-render data rows if the list of column definitions have changed.\n const dataColumnsChanged = this._rowDefs.reduce(columnsDiffReducer, false);\n if (dataColumnsChanged) {\n this._forceRenderDataRows();\n }\n // Force re-render header/footer rows if the list of column definitions have changed.\n const headerColumnsChanged = this._headerRowDefs.reduce(columnsDiffReducer, false);\n if (headerColumnsChanged) {\n this._forceRenderHeaderRows();\n }\n const footerColumnsChanged = this._footerRowDefs.reduce(columnsDiffReducer, false);\n if (footerColumnsChanged) {\n this._forceRenderFooterRows();\n }\n return dataColumnsChanged || headerColumnsChanged || footerColumnsChanged;\n }\n /**\n * Switch to the provided data source by resetting the data and unsubscribing from the current\n * render change subscription if one exists. If the data source is null, interpret this by\n * clearing the row outlet. Otherwise start listening for new data.\n */\n _switchDataSource(dataSource) {\n this._data = [];\n if (isDataSource(this.dataSource)) {\n this.dataSource.disconnect(this);\n }\n // Stop listening for data from the previous data source.\n if (this._renderChangeSubscription) {\n this._renderChangeSubscription.unsubscribe();\n this._renderChangeSubscription = null;\n }\n if (!dataSource) {\n if (this._dataDiffer) {\n this._dataDiffer.diff([]);\n }\n this._rowOutlet.viewContainer.clear();\n }\n this._dataSource = dataSource;\n }\n /** Set up a subscription for the data provided by the data source. */\n _observeRenderChanges() {\n // If no data source has been set, there is nothing to observe for changes.\n if (!this.dataSource) {\n return;\n }\n let dataStream;\n if (isDataSource(this.dataSource)) {\n dataStream = this.dataSource.connect(this);\n }\n else if (isObservable(this.dataSource)) {\n dataStream = this.dataSource;\n }\n else if (Array.isArray(this.dataSource)) {\n dataStream = of(this.dataSource);\n }\n if (dataStream === undefined && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw getTableUnknownDataSourceError();\n }\n this._renderChangeSubscription = dataStream\n .pipe(takeUntil(this._onDestroy))\n .subscribe(data => {\n this._data = data || [];\n this.renderRows();\n });\n }\n /**\n * Clears any existing content in the header row outlet and creates a new embedded view\n * in the outlet using the header row definition.\n */\n _forceRenderHeaderRows() {\n // Clear the header row outlet if any content exists.\n if (this._headerRowOutlet.viewContainer.length > 0) {\n this._headerRowOutlet.viewContainer.clear();\n }\n this._headerRowDefs.forEach((def, i) => this._renderRow(this._headerRowOutlet, def, i));\n this.updateStickyHeaderRowStyles();\n }\n /**\n * Clears any existing content in the footer row outlet and creates a new embedded view\n * in the outlet using the footer row definition.\n */\n _forceRenderFooterRows() {\n // Clear the footer row outlet if any content exists.\n if (this._footerRowOutlet.viewContainer.length > 0) {\n this._footerRowOutlet.viewContainer.clear();\n }\n this._footerRowDefs.forEach((def, i) => this._renderRow(this._footerRowOutlet, def, i));\n this.updateStickyFooterRowStyles();\n }\n /** Adds the sticky column styles for the rows according to the columns' stick states. */\n _addStickyColumnStyles(rows, rowDef) {\n const columnDefs = Array.from(rowDef.columns || []).map(columnName => {\n const columnDef = this._columnDefsByName.get(columnName);\n if (!columnDef && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw getTableUnknownColumnError(columnName);\n }\n return columnDef;\n });\n const stickyStartStates = columnDefs.map(columnDef => columnDef.sticky);\n const stickyEndStates = columnDefs.map(columnDef => columnDef.stickyEnd);\n this._stickyStyler.updateStickyColumns(rows, stickyStartStates, stickyEndStates, !this._fixedLayout || this._forceRecalculateCellWidths);\n }\n /** Gets the list of rows that have been rendered in the row outlet. */\n _getRenderedRows(rowOutlet) {\n const renderedRows = [];\n for (let i = 0; i < rowOutlet.viewContainer.length; i++) {\n const viewRef = rowOutlet.viewContainer.get(i);\n renderedRows.push(viewRef.rootNodes[0]);\n }\n return renderedRows;\n }\n /**\n * Get the matching row definitions that should be used for this row data. If there is only\n * one row definition, it is returned. Otherwise, find the row definitions that has a when\n * predicate that returns true with the data. If none return true, return the default row\n * definition.\n */\n _getRowDefs(data, dataIndex) {\n if (this._rowDefs.length == 1) {\n return [this._rowDefs[0]];\n }\n let rowDefs = [];\n if (this.multiTemplateDataRows) {\n rowDefs = this._rowDefs.filter(def => !def.when || def.when(dataIndex, data));\n }\n else {\n let rowDef = this._rowDefs.find(def => def.when && def.when(dataIndex, data)) || this._defaultRowDef;\n if (rowDef) {\n rowDefs.push(rowDef);\n }\n }\n if (!rowDefs.length && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw getTableMissingMatchingRowDefError(data);\n }\n return rowDefs;\n }\n _getEmbeddedViewArgs(renderRow, index) {\n const rowDef = renderRow.rowDef;\n const context = { $implicit: renderRow.data };\n return {\n templateRef: rowDef.template,\n context,\n index,\n };\n }\n /**\n * Creates a new row template in the outlet and fills it with the set of cell templates.\n * Optionally takes a context to provide to the row and cells, as well as an optional index\n * of where to place the new row template in the outlet.\n */\n _renderRow(outlet, rowDef, index, context = {}) {\n // TODO(andrewseguin): enforce that one outlet was instantiated from createEmbeddedView\n const view = outlet.viewContainer.createEmbeddedView(rowDef.template, context, index);\n this._renderCellTemplateForItem(rowDef, context);\n return view;\n }\n _renderCellTemplateForItem(rowDef, context) {\n for (let cellTemplate of this._getCellTemplates(rowDef)) {\n if (CdkCellOutlet.mostRecentCellOutlet) {\n CdkCellOutlet.mostRecentCellOutlet._viewContainer.createEmbeddedView(cellTemplate, context);\n }\n }\n this._changeDetectorRef.markForCheck();\n }\n /**\n * Updates the index-related context for each row to reflect any changes in the index of the rows,\n * e.g. first/last/even/odd.\n */\n _updateRowIndexContext() {\n const viewContainer = this._rowOutlet.viewContainer;\n for (let renderIndex = 0, count = viewContainer.length; renderIndex < count; renderIndex++) {\n const viewRef = viewContainer.get(renderIndex);\n const context = viewRef.context;\n context.count = count;\n context.first = renderIndex === 0;\n context.last = renderIndex === count - 1;\n context.even = renderIndex % 2 === 0;\n context.odd = !context.even;\n if (this.multiTemplateDataRows) {\n context.dataIndex = this._renderRows[renderIndex].dataIndex;\n context.renderIndex = renderIndex;\n }\n else {\n context.index = this._renderRows[renderIndex].dataIndex;\n }\n }\n }\n /** Gets the column definitions for the provided row def. */\n _getCellTemplates(rowDef) {\n if (!rowDef || !rowDef.columns) {\n return [];\n }\n return Array.from(rowDef.columns, columnId => {\n const column = this._columnDefsByName.get(columnId);\n if (!column && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw getTableUnknownColumnError(columnId);\n }\n return rowDef.extractCellTemplate(column);\n });\n }\n /** Adds native table sections (e.g. tbody) and moves the row outlets into them. */\n _applyNativeTableSections() {\n const documentFragment = this._document.createDocumentFragment();\n const sections = [\n { tag: 'thead', outlets: [this._headerRowOutlet] },\n { tag: 'tbody', outlets: [this._rowOutlet, this._noDataRowOutlet] },\n { tag: 'tfoot', outlets: [this._footerRowOutlet] },\n ];\n for (const section of sections) {\n const element = this._document.createElement(section.tag);\n element.setAttribute('role', 'rowgroup');\n for (const outlet of section.outlets) {\n element.appendChild(outlet.elementRef.nativeElement);\n }\n documentFragment.appendChild(element);\n }\n // Use a DocumentFragment so we don't hit the DOM on each iteration.\n this._elementRef.nativeElement.appendChild(documentFragment);\n }\n /**\n * Forces a re-render of the data rows. Should be called in cases where there has been an input\n * change that affects the evaluation of which rows should be rendered, e.g. toggling\n * `multiTemplateDataRows` or adding/removing row definitions.\n */\n _forceRenderDataRows() {\n this._dataDiffer.diff([]);\n this._rowOutlet.viewContainer.clear();\n this.renderRows();\n }\n /**\n * Checks if there has been a change in sticky states since last check and applies the correct\n * sticky styles. Since checking resets the \"dirty\" state, this should only be performed once\n * during a change detection and after the inputs are settled (after content check).\n */\n _checkStickyStates() {\n const stickyCheckReducer = (acc, d) => {\n return acc || d.hasStickyChanged();\n };\n // Note that the check needs to occur for every definition since it notifies the definition\n // that it can reset its dirty state. Using another operator like `some` may short-circuit\n // remaining definitions and leave them in an unchecked state.\n if (this._headerRowDefs.reduce(stickyCheckReducer, false)) {\n this.updateStickyHeaderRowStyles();\n }\n if (this._footerRowDefs.reduce(stickyCheckReducer, false)) {\n this.updateStickyFooterRowStyles();\n }\n if (Array.from(this._columnDefsByName.values()).reduce(stickyCheckReducer, false)) {\n this._stickyColumnStylesNeedReset = true;\n this.updateStickyColumnStyles();\n }\n }\n /**\n * Creates the sticky styler that will be used for sticky rows and columns. Listens\n * for directionality changes and provides the latest direction to the styler. Re-applies column\n * stickiness when directionality changes.\n */\n _setupStickyStyler() {\n const direction = this._dir ? this._dir.value : 'ltr';\n this._stickyStyler = new StickyStyler(this._isNativeHtmlTable, this.stickyCssClass, direction, this._coalescedStyleScheduler, this._platform.isBrowser, this.needsPositionStickyOnElement, this._stickyPositioningListener);\n (this._dir ? this._dir.change : of())\n .pipe(takeUntil(this._onDestroy))\n .subscribe(value => {\n this._stickyStyler.direction = value;\n this.updateStickyColumnStyles();\n });\n }\n /** Filters definitions that belong to this table from a QueryList. */\n _getOwnDefs(items) {\n return items.filter(item => !item._table || item._table === this);\n }\n /** Creates or removes the no data row, depending on whether any data is being shown. */\n _updateNoDataRow() {\n const noDataRow = this._customNoDataRow || this._noDataRow;\n if (!noDataRow) {\n return;\n }\n const shouldShow = this._rowOutlet.viewContainer.length === 0;\n if (shouldShow === this._isShowingNoDataRow) {\n return;\n }\n const container = this._noDataRowOutlet.viewContainer;\n if (shouldShow) {\n const view = container.createEmbeddedView(noDataRow.templateRef);\n const rootNode = view.rootNodes[0];\n // Only add the attributes if we have a single root node since it's hard\n // to figure out which one to add it to when there are multiple.\n if (view.rootNodes.length === 1 && rootNode?.nodeType === this._document.ELEMENT_NODE) {\n rootNode.setAttribute('role', 'row');\n rootNode.classList.add(noDataRow._contentClassName);\n }\n }\n else {\n container.clear();\n }\n this._isShowingNoDataRow = shouldShow;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkTable, deps: [{ token: i0.IterableDiffers }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: 'role', attribute: true }, { token: i1.Directionality, optional: true }, { token: DOCUMENT }, { token: i2.Platform }, { token: _VIEW_REPEATER_STRATEGY }, { token: _COALESCED_STYLE_SCHEDULER }, { token: i3.ViewportRuler }, { token: STICKY_POSITIONING_LISTENER, optional: true, skipSelf: true }, { token: i0.NgZone, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkTable, selector: \"cdk-table, table[cdk-table]\", inputs: { trackBy: \"trackBy\", dataSource: \"dataSource\", multiTemplateDataRows: \"multiTemplateDataRows\", fixedLayout: \"fixedLayout\" }, outputs: { contentChanged: \"contentChanged\" }, host: { attributes: { \"ngSkipHydration\": \"\" }, properties: { \"class.cdk-table-fixed-layout\": \"fixedLayout\" }, classAttribute: \"cdk-table\" }, providers: [\n { provide: CDK_TABLE, useExisting: CdkTable },\n { provide: _VIEW_REPEATER_STRATEGY, useClass: _DisposeViewRepeaterStrategy },\n { provide: _COALESCED_STYLE_SCHEDULER, useClass: _CoalescedStyleScheduler },\n // Prevent nested tables from seeing this table's StickyPositioningListener.\n { provide: STICKY_POSITIONING_LISTENER, useValue: null },\n ], queries: [{ propertyName: \"_noDataRow\", first: true, predicate: CdkNoDataRow, descendants: true }, { propertyName: \"_contentColumnDefs\", predicate: CdkColumnDef, descendants: true }, { propertyName: \"_contentRowDefs\", predicate: CdkRowDef, descendants: true }, { propertyName: \"_contentHeaderRowDefs\", predicate: CdkHeaderRowDef, descendants: true }, { propertyName: \"_contentFooterRowDefs\", predicate: CdkFooterRowDef, descendants: true }], viewQueries: [{ propertyName: \"_rowOutlet\", first: true, predicate: DataRowOutlet, descendants: true, static: true }, { propertyName: \"_headerRowOutlet\", first: true, predicate: HeaderRowOutlet, descendants: true, static: true }, { propertyName: \"_footerRowOutlet\", first: true, predicate: FooterRowOutlet, descendants: true, static: true }, { propertyName: \"_noDataRowOutlet\", first: true, predicate: NoDataRowOutlet, descendants: true, static: true }], exportAs: [\"cdkTable\"], ngImport: i0, template: \"\\n \\n \\n \\n \\n \\n \\n\", isInline: true, styles: [\".cdk-table-fixed-layout{table-layout:fixed}\"], dependencies: [{ kind: \"directive\", type: DataRowOutlet, selector: \"[rowOutlet]\" }, { kind: \"directive\", type: HeaderRowOutlet, selector: \"[headerRowOutlet]\" }, { kind: \"directive\", type: FooterRowOutlet, selector: \"[footerRowOutlet]\" }, { kind: \"directive\", type: NoDataRowOutlet, selector: \"[noDataRowOutlet]\" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkTable, decorators: [{\n type: Component,\n args: [{ selector: 'cdk-table, table[cdk-table]', exportAs: 'cdkTable', template: CDK_TABLE_TEMPLATE, host: {\n 'class': 'cdk-table',\n '[class.cdk-table-fixed-layout]': 'fixedLayout',\n 'ngSkipHydration': '',\n }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, providers: [\n { provide: CDK_TABLE, useExisting: CdkTable },\n { provide: _VIEW_REPEATER_STRATEGY, useClass: _DisposeViewRepeaterStrategy },\n { provide: _COALESCED_STYLE_SCHEDULER, useClass: _CoalescedStyleScheduler },\n // Prevent nested tables from seeing this table's StickyPositioningListener.\n { provide: STICKY_POSITIONING_LISTENER, useValue: null },\n ], styles: [\".cdk-table-fixed-layout{table-layout:fixed}\"] }]\n }], ctorParameters: function () { return [{ type: i0.IterableDiffers }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: undefined, decorators: [{\n type: Attribute,\n args: ['role']\n }] }, { type: i1.Directionality, decorators: [{\n type: Optional\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: i2.Platform }, { type: undefined, decorators: [{\n type: Inject,\n args: [_VIEW_REPEATER_STRATEGY]\n }] }, { type: _CoalescedStyleScheduler, decorators: [{\n type: Inject,\n args: [_COALESCED_STYLE_SCHEDULER]\n }] }, { type: i3.ViewportRuler }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: SkipSelf\n }, {\n type: Inject,\n args: [STICKY_POSITIONING_LISTENER]\n }] }, { type: i0.NgZone, decorators: [{\n type: Optional\n }] }]; }, propDecorators: { trackBy: [{\n type: Input\n }], dataSource: [{\n type: Input\n }], multiTemplateDataRows: [{\n type: Input\n }], fixedLayout: [{\n type: Input\n }], contentChanged: [{\n type: Output\n }], _rowOutlet: [{\n type: ViewChild,\n args: [DataRowOutlet, { static: true }]\n }], _headerRowOutlet: [{\n type: ViewChild,\n args: [HeaderRowOutlet, { static: true }]\n }], _footerRowOutlet: [{\n type: ViewChild,\n args: [FooterRowOutlet, { static: true }]\n }], _noDataRowOutlet: [{\n type: ViewChild,\n args: [NoDataRowOutlet, { static: true }]\n }], _contentColumnDefs: [{\n type: ContentChildren,\n args: [CdkColumnDef, { descendants: true }]\n }], _contentRowDefs: [{\n type: ContentChildren,\n args: [CdkRowDef, { descendants: true }]\n }], _contentHeaderRowDefs: [{\n type: ContentChildren,\n args: [CdkHeaderRowDef, {\n descendants: true,\n }]\n }], _contentFooterRowDefs: [{\n type: ContentChildren,\n args: [CdkFooterRowDef, {\n descendants: true,\n }]\n }], _noDataRow: [{\n type: ContentChild,\n args: [CdkNoDataRow]\n }] } });\n/** Utility function that gets a merged list of the entries in an array and values of a Set. */\nfunction mergeArrayAndSet(array, set) {\n return array.concat(Array.from(set));\n}\n\n/**\n * Column that simply shows text content for the header and row cells. Assumes that the table\n * is using the native table implementation (`
`).\n *\n * By default, the name of this column will be the header text and data property accessor.\n * The header text can be overridden with the `headerText` input. Cell values can be overridden with\n * the `dataAccessor` input. Change the text justification to the start or end using the `justify`\n * input.\n */\nclass CdkTextColumn {\n /** Column name that should be used to reference this column. */\n get name() {\n return this._name;\n }\n set name(name) {\n this._name = name;\n // With Ivy, inputs can be initialized before static query results are\n // available. In that case, we defer the synchronization until \"ngOnInit\" fires.\n this._syncColumnDefName();\n }\n constructor(\n // `CdkTextColumn` is always requiring a table, but we just assert it manually\n // for better error reporting.\n // tslint:disable-next-line: lightweight-tokens\n _table, _options) {\n this._table = _table;\n this._options = _options;\n /** Alignment of the cell values. */\n this.justify = 'start';\n this._options = _options || {};\n }\n ngOnInit() {\n this._syncColumnDefName();\n if (this.headerText === undefined) {\n this.headerText = this._createDefaultHeaderText();\n }\n if (!this.dataAccessor) {\n this.dataAccessor =\n this._options.defaultDataAccessor || ((data, name) => data[name]);\n }\n if (this._table) {\n // Provide the cell and headerCell directly to the table with the static `ViewChild` query,\n // since the columnDef will not pick up its content by the time the table finishes checking\n // its content and initializing the rows.\n this.columnDef.cell = this.cell;\n this.columnDef.headerCell = this.headerCell;\n this._table.addColumnDef(this.columnDef);\n }\n else if (typeof ngDevMode === 'undefined' || ngDevMode) {\n throw getTableTextColumnMissingParentTableError();\n }\n }\n ngOnDestroy() {\n if (this._table) {\n this._table.removeColumnDef(this.columnDef);\n }\n }\n /**\n * Creates a default header text. Use the options' header text transformation function if one\n * has been provided. Otherwise simply capitalize the column name.\n */\n _createDefaultHeaderText() {\n const name = this.name;\n if (!name && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw getTableTextColumnMissingNameError();\n }\n if (this._options && this._options.defaultHeaderTextTransform) {\n return this._options.defaultHeaderTextTransform(name);\n }\n return name[0].toUpperCase() + name.slice(1);\n }\n /** Synchronizes the column definition name with the text column name. */\n _syncColumnDefName() {\n if (this.columnDef) {\n this.columnDef.name = this.name;\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkTextColumn, deps: [{ token: CdkTable, optional: true }, { token: TEXT_COLUMN_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkTextColumn, selector: \"cdk-text-column\", inputs: { name: \"name\", headerText: \"headerText\", dataAccessor: \"dataAccessor\", justify: \"justify\" }, viewQueries: [{ propertyName: \"columnDef\", first: true, predicate: CdkColumnDef, descendants: true, static: true }, { propertyName: \"cell\", first: true, predicate: CdkCellDef, descendants: true, static: true }, { propertyName: \"headerCell\", first: true, predicate: CdkHeaderCellDef, descendants: true, static: true }], ngImport: i0, template: `\n \n \n \n \n `, isInline: true, dependencies: [{ kind: \"directive\", type: CdkCellDef, selector: \"[cdkCellDef]\" }, { kind: \"directive\", type: CdkHeaderCellDef, selector: \"[cdkHeaderCellDef]\" }, { kind: \"directive\", type: CdkColumnDef, selector: \"[cdkColumnDef]\", inputs: [\"sticky\", \"cdkColumnDef\", \"stickyEnd\"] }, { kind: \"directive\", type: CdkCell, selector: \"cdk-cell, td[cdk-cell]\" }, { kind: \"directive\", type: CdkHeaderCell, selector: \"cdk-header-cell, th[cdk-header-cell]\" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkTextColumn, decorators: [{\n type: Component,\n args: [{\n selector: 'cdk-text-column',\n template: `\n \n \n \n \n `,\n encapsulation: ViewEncapsulation.None,\n // Change detection is intentionally not set to OnPush. This component's template will be provided\n // to the table to be inserted into its view. This is problematic when change detection runs since\n // the bindings in this template will be evaluated _after_ the table's view is evaluated, which\n // mean's the template in the table's view will not have the updated value (and in fact will cause\n // an ExpressionChangedAfterItHasBeenCheckedError).\n // tslint:disable-next-line:validate-decorators\n changeDetection: ChangeDetectionStrategy.Default,\n }]\n }], ctorParameters: function () { return [{ type: CdkTable, decorators: [{\n type: Optional\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [TEXT_COLUMN_OPTIONS]\n }] }]; }, propDecorators: { name: [{\n type: Input\n }], headerText: [{\n type: Input\n }], dataAccessor: [{\n type: Input\n }], justify: [{\n type: Input\n }], columnDef: [{\n type: ViewChild,\n args: [CdkColumnDef, { static: true }]\n }], cell: [{\n type: ViewChild,\n args: [CdkCellDef, { static: true }]\n }], headerCell: [{\n type: ViewChild,\n args: [CdkHeaderCellDef, { static: true }]\n }] } });\n\nconst EXPORTED_DECLARATIONS = [\n CdkTable,\n CdkRowDef,\n CdkCellDef,\n CdkCellOutlet,\n CdkHeaderCellDef,\n CdkFooterCellDef,\n CdkColumnDef,\n CdkCell,\n CdkRow,\n CdkHeaderCell,\n CdkFooterCell,\n CdkHeaderRow,\n CdkHeaderRowDef,\n CdkFooterRow,\n CdkFooterRowDef,\n DataRowOutlet,\n HeaderRowOutlet,\n FooterRowOutlet,\n CdkTextColumn,\n CdkNoDataRow,\n CdkRecycleRows,\n NoDataRowOutlet,\n];\nclass CdkTableModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkTableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkTableModule, declarations: [CdkTable,\n CdkRowDef,\n CdkCellDef,\n CdkCellOutlet,\n CdkHeaderCellDef,\n CdkFooterCellDef,\n CdkColumnDef,\n CdkCell,\n CdkRow,\n CdkHeaderCell,\n CdkFooterCell,\n CdkHeaderRow,\n CdkHeaderRowDef,\n CdkFooterRow,\n CdkFooterRowDef,\n DataRowOutlet,\n HeaderRowOutlet,\n FooterRowOutlet,\n CdkTextColumn,\n CdkNoDataRow,\n CdkRecycleRows,\n NoDataRowOutlet], imports: [ScrollingModule], exports: [CdkTable,\n CdkRowDef,\n CdkCellDef,\n CdkCellOutlet,\n CdkHeaderCellDef,\n CdkFooterCellDef,\n CdkColumnDef,\n CdkCell,\n CdkRow,\n CdkHeaderCell,\n CdkFooterCell,\n CdkHeaderRow,\n CdkHeaderRowDef,\n CdkFooterRow,\n CdkFooterRowDef,\n DataRowOutlet,\n HeaderRowOutlet,\n FooterRowOutlet,\n CdkTextColumn,\n CdkNoDataRow,\n CdkRecycleRows,\n NoDataRowOutlet] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkTableModule, imports: [ScrollingModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkTableModule, decorators: [{\n type: NgModule,\n args: [{\n exports: EXPORTED_DECLARATIONS,\n declarations: EXPORTED_DECLARATIONS,\n imports: [ScrollingModule],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { BaseCdkCell, BaseRowDef, CDK_ROW_TEMPLATE, CDK_TABLE, CDK_TABLE_TEMPLATE, CdkCell, CdkCellDef, CdkCellOutlet, CdkColumnDef, CdkFooterCell, CdkFooterCellDef, CdkFooterRow, CdkFooterRowDef, CdkHeaderCell, CdkHeaderCellDef, CdkHeaderRow, CdkHeaderRowDef, CdkNoDataRow, CdkRecycleRows, CdkRow, CdkRowDef, CdkTable, CdkTableModule, CdkTextColumn, DataRowOutlet, FooterRowOutlet, HeaderRowOutlet, NoDataRowOutlet, STICKY_DIRECTIONS, STICKY_POSITIONING_LISTENER, StickyStyler, TEXT_COLUMN_OPTIONS, _COALESCED_STYLE_SCHEDULER, _CoalescedStyleScheduler, _Schedule, mixinHasStickyInput };\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39]} \ No newline at end of file diff --git a/2128.f0a8e700db56fb59.js b/2128.f0a8e700db56fb59.js new file mode 100644 index 0000000..ce1c1f5 --- /dev/null +++ b/2128.f0a8e700db56fb59.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[2128],{76317:(L,M,c)=>{c.d(M,{X:()=>f});var y=c(78069),u=c(48047),_=c(4089),p=c(20265),g=c(24582),l=c(28694),f=function(t){(0,g.Z)(C,t);var k=(0,l.Z)(C);function C(x){var D;return(0,y.Z)(this,C),(D=k.call(this))._value=x,D}return(0,u.Z)(C,[{key:"value",get:function(){return this.getValue()}},{key:"_subscribe",value:function(D){var R=(0,_.Z)((0,p.Z)(C.prototype),"_subscribe",this).call(this,D);return!R.closed&&D.next(this._value),R}},{key:"getValue",value:function(){var S=this._value;if(this.hasError)throw this.thrownError;return this._throwIfClosed(),S}},{key:"next",value:function(D){(0,_.Z)((0,p.Z)(C.prototype),"next",this).call(this,this._value=D)}}]),C}(c(50253).x)},59319:(L,M,c)=>{c.d(M,{z:()=>g});var y=c(1308),_=c(10420),p=c(37400);function g(){for(var l=arguments.length,m=new Array(l),f=0;f{c.d(M,{D:()=>V});var y=c(54987),u=c(8728),_=c(41944);function p(v){var I=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,_.e)(function(B,O){O.add(v.schedule(function(){return B.subscribe(O)},I))})}var m=c(90833),t=c(67321),k=c(92971),C=c(1817);function D(v,I){if(!v)throw new Error("Iterable cannot be null");return new m.y(function(B){(0,C.f)(B,I,function(){var O=v[Symbol.asyncIterator]();(0,C.f)(B,I,function(){O.next().then(function(F){F.done?B.complete():B.next(F.value)})},0,!0)})})}var R=c(21331),S=c(79548),E=c(99806),W=c(23433),Z=c(80470),N=c(27785),Q=c(20181);function V(v,I){return I?function H(v,I){if(null!=v){if((0,R.c)(v))return function g(v,I){return(0,y.Xf)(v).pipe(p(I),(0,u.Q)(I))}(v,I);if((0,E.z)(v))return function f(v,I){return new m.y(function(B){var O=0;return I.schedule(function(){O===v.length?B.complete():(B.next(v[O++]),B.closed||this.schedule())})})}(v,I);if((0,S.t)(v))return function l(v,I){return(0,y.Xf)(v).pipe(p(I),(0,u.Q)(I))}(v,I);if((0,Z.D)(v))return D(v,I);if((0,W.T)(v))return function x(v,I){return new m.y(function(B){var O;return(0,C.f)(B,I,function(){O=v[t.h](),(0,C.f)(B,I,function(){var F,U;try{var $=O.next();F=$.value,U=$.done}catch(A){return void B.error(A)}U?B.complete():B.next(F)},0,!0)}),function(){return(0,k.m)(O?.return)&&O.return()}})}(v,I);if((0,Q.L)(v))return function z(v,I){return D((0,Q.Q)(v),I)}(v,I)}throw(0,N.z)(v)}(v,I):(0,y.Xf)(v)}},23280:(L,M,c)=>{c.d(M,{R:()=>C});var y=c(32090),u=c(54987),_=c(90833),p=c(49525),g=c(99806),l=c(92971),m=c(58385),f=["addListener","removeListener"],t=["addEventListener","removeEventListener"],k=["on","off"];function C(E,W,Z,N){if((0,l.m)(Z)&&(N=Z,Z=void 0),N)return C(E,W,Z).pipe((0,m.Z)(N));var Q=function S(E){return(0,l.m)(E.addEventListener)&&(0,l.m)(E.removeEventListener)}(E)?t.map(function(v){return function(I){return E[v](W,I,Z)}}):function D(E){return(0,l.m)(E.addListener)&&(0,l.m)(E.removeListener)}(E)?f.map(x(E,W)):function R(E){return(0,l.m)(E.on)&&(0,l.m)(E.off)}(E)?k.map(x(E,W)):[],z=(0,y.Z)(Q,2),H=z[0],V=z[1];if(!H&&(0,g.z)(E))return(0,p.z)(function(v){return C(v,W,Z)})((0,u.Xf)(E));if(!H)throw new TypeError("Invalid event target");return new _.y(function(v){var I=function(){for(var O=arguments.length,F=new Array(O),U=0;U{c.d(M,{T:()=>l});var y=c(1308),u=c(54987),_=c(20591),p=c(10420),g=c(37400);function l(){for(var m=arguments.length,f=new Array(m),t=0;t{c.d(M,{of:()=>_});var y=c(10420),u=c(37400);function _(){for(var p=arguments.length,g=new Array(p),l=0;l{c.d(M,{x:()=>p});var y=c(89173),u=c(41944),_=c(93945);function p(l){var m=arguments.length>1&&void 0!==arguments[1]?arguments[1]:y.y;return l=l??g,(0,u.e)(function(f,t){var k,C=!0;f.subscribe((0,_.x)(t,function(x){var D=m(x);(C||!l(k,D))&&(C=!1,k=D,t.next(x))}))})}function g(l,m){return l===m}},60116:(L,M,c)=>{c.d(M,{h:()=>_});var y=c(41944),u=c(93945);function _(p,g){return(0,y.e)(function(l,m){var f=0;l.subscribe((0,u.x)(m,function(t){return p.call(g,t,f++)&&m.next(t)}))})}},1308:(L,M,c)=>{c.d(M,{J:()=>_});var y=c(49525),u=c(89173);function _(){return(0,y.z)(u.y,arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0)}},8728:(L,M,c)=>{c.d(M,{Q:()=>p});var y=c(1817),u=c(41944),_=c(93945);function p(g){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,u.e)(function(m,f){m.subscribe((0,_.x)(f,function(t){return(0,y.f)(f,g,function(){return f.next(t)},l)},function(){return(0,y.f)(f,g,function(){return f.complete()},l)},function(t){return(0,y.f)(f,g,function(){return f.error(t)},l)}))})}},87260:(L,M,c)=>{c.d(M,{T:()=>u});var y=c(60116);function u(_){return(0,y.h)(function(p,g){return _<=g})}},44874:(L,M,c)=>{c.d(M,{O:()=>p});var y=c(59319),u=c(10420),_=c(41944);function p(){for(var g=arguments.length,l=new Array(g),m=0;m{c.d(M,{w:()=>p});var y=c(54987),u=c(41944),_=c(93945);function p(g,l){return(0,u.e)(function(m,f){var t=null,k=0,C=!1,x=function(){return C&&!t&&f.complete()};m.subscribe((0,_.x)(f,function(D){t?.unsubscribe();var R=0,S=k++;(0,y.Xf)(g(D,S)).subscribe(t=(0,_.x)(f,function(E){return f.next(l?l(D,E,S,R++):E)},function(){t=null,x()}))},function(){C=!0,x()}))})}},68951:(L,M,c)=>{c.d(M,{R:()=>g});var y=c(41944),u=c(93945),_=c(54987),p=c(99635);function g(l){return(0,y.e)(function(m,f){(0,_.Xf)(l).subscribe((0,u.x)(f,function(){return f.complete()},p.Z)),!f.closed&&m.subscribe(f)})}},10420:(L,M,c)=>{c.d(M,{_6:()=>l,jO:()=>p,yG:()=>g});var y=c(92971),u=c(59867);function _(m){return m[m.length-1]}function p(m){return(0,y.m)(_(m))?m.pop():void 0}function g(m){return(0,u.K)(_(m))?m.pop():void 0}function l(m,f){return"number"==typeof _(m)?m.pop():f}},58385:(L,M,c)=>{c.d(M,{Z:()=>g});var y=c(86170),u=c(50635),_=Array.isArray;function g(l){return(0,u.U)(function(m){return function p(l,m){return _(m)?l.apply(void 0,(0,y.Z)(m)):l(m)}(l,m)})}},12128:(L,M,c)=>{c.r(M),c.d(M,{MAT_TAB:()=>et,MAT_TABS_CONFIG:()=>q,MAT_TAB_CONTENT:()=>ft,MAT_TAB_GROUP:()=>rt,MAT_TAB_LABEL:()=>pt,MatInkBar:()=>nt,MatPaginatedTabHeader:()=>ot,MatTab:()=>Ct,MatTabBody:()=>tt,MatTabBodyPortal:()=>ut,MatTabChangeEvent:()=>Bt,MatTabContent:()=>vt,MatTabGroup:()=>ae,MatTabHeader:()=>Pt,MatTabLabel:()=>gt,MatTabLabelWrapper:()=>it,MatTabLink:()=>Lt,MatTabNav:()=>At,MatTabNavPanel:()=>re,MatTabsModule:()=>oe,_MAT_INK_BAR_POSITIONER:()=>Vt,_MAT_INK_BAR_POSITIONER_FACTORY:()=>Mt,_MatTabBase:()=>kt,_MatTabBodyBase:()=>ht,_MatTabGroupBase:()=>xt,_MatTabHeaderBase:()=>Dt,_MatTabLabelWrapperBase:()=>It,_MatTabLinkBase:()=>Rt,_MatTabNavBase:()=>ct,matTabsAnimations:()=>_t});var y=c(86170),u=c(78069),_=c(48047),p=c(4089),g=c(20265),l=c(24582),m=c(28694),f=c(94055),t=c(56718),k=c(6606),C=c(18142),x=c(75321),D=c(908),R=c(43068),S=c(17714),E=c(50253),W=c(23280),Z=c(10745),N=c(36646),Q=c(20591),z=c(90833),H=c(78947),V=c(76317),v=c(44874),I=c(98977),B=c(68951),O=c(59295),F=c(32673),U=c(87260),$=c(60116),A=c(72223),w=c(35333),Y=c(93168),G=c(23675),K=c(33401),J=c(52069);function wt(r,d){}var St=function(d){return{animationDuration:d}},jt=function(d,i){return{value:d,params:i}};function Wt(r,d){1&r&&t.\u0275\u0275projection(0)}var X=["*"],dt=["tabListContainer"],st=["tabList"],lt=["tabListInner"],mt=["nextPaginator"],bt=["previousPaginator"],Zt=["tabBodyWrapper"],Ft=["tabHeader"];function Nt(r,d){}function Ut(r,d){if(1&r&&t.\u0275\u0275template(0,Nt,0,0,"ng-template",14),2&r){var i=t.\u0275\u0275nextContext().$implicit;t.\u0275\u0275property("cdkPortalOutlet",i.templateLabel)}}function Kt(r,d){if(1&r&&t.\u0275\u0275text(0),2&r){var i=t.\u0275\u0275nextContext().$implicit;t.\u0275\u0275textInterpolate(i.textLabel)}}function Ht(r,d){if(1&r){var i=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"div",6,7),t.\u0275\u0275listener("click",function(){var b=t.\u0275\u0275restoreView(i),T=b.$implicit,P=b.index,j=t.\u0275\u0275nextContext(),ce=t.\u0275\u0275reference(1);return t.\u0275\u0275resetView(j._handleClick(T,ce,P))})("cdkFocusChange",function(b){var P=t.\u0275\u0275restoreView(i).index,j=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(j._tabFocusChanged(b,P))}),t.\u0275\u0275element(2,"span",8)(3,"div",9),t.\u0275\u0275elementStart(4,"span",10)(5,"span",11),t.\u0275\u0275template(6,Ut,1,1,"ng-template",12),t.\u0275\u0275template(7,Kt,1,1,"ng-template",null,13,t.\u0275\u0275templateRefExtractor),t.\u0275\u0275elementEnd()()()}if(2&r){var e=d.$implicit,a=d.index,n=t.\u0275\u0275reference(1),o=t.\u0275\u0275reference(8),s=t.\u0275\u0275nextContext();t.\u0275\u0275classProp("mdc-tab--active",s.selectedIndex===a),t.\u0275\u0275property("id",s._getTabLabelId(a))("ngClass",e.labelClass)("disabled",e.disabled)("fitInkBarToContent",s.fitInkBarToContent),t.\u0275\u0275attribute("tabIndex",s._getTabIndex(a))("aria-posinset",a+1)("aria-setsize",s._tabs.length)("aria-controls",s._getTabContentId(a))("aria-selected",s.selectedIndex===a)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),t.\u0275\u0275advance(3),t.\u0275\u0275property("matRippleTrigger",n)("matRippleDisabled",e.disabled||s.disableRipple),t.\u0275\u0275advance(3),t.\u0275\u0275property("ngIf",e.templateLabel)("ngIfElse",o)}}function Qt(r,d){if(1&r){var i=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"mat-tab-body",15),t.\u0275\u0275listener("_onCentered",function(){t.\u0275\u0275restoreView(i);var s=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(s._removeTabBodyWrapperHeight())})("_onCentering",function(s){t.\u0275\u0275restoreView(i);var h=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(h._setTabBodyWrapperHeight(s))}),t.\u0275\u0275elementEnd()}if(2&r){var e=d.$implicit,a=d.index,n=t.\u0275\u0275nextContext();t.\u0275\u0275classProp("mat-mdc-tab-body-active",n.selectedIndex===a),t.\u0275\u0275property("id",n._getTabContentId(a))("ngClass",e.bodyClass)("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",n.animationDuration)("preserveContent",n.preserveContent),t.\u0275\u0275attribute("tabindex",null!=n.contentTabIndex&&n.selectedIndex===a?n.contentTabIndex:null)("aria-labelledby",n._getTabLabelId(a))}}var zt=["mat-tab-nav-bar",""],Gt=["mat-tab-link",""],_t={translateTab:(0,A.X$)("translateTab",[(0,A.SB)("center, void, left-origin-center, right-origin-center",(0,A.oB)({transform:"none"})),(0,A.SB)("left",(0,A.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,A.SB)("right",(0,A.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,A.eR)("* => left, * => right, left => center, right => center",(0,A.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,A.eR)("void => left-origin-center",[(0,A.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,A.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,A.eR)("void => right-origin-center",[(0,A.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,A.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},ut=function(){var r=function(d){(0,l.Z)(e,d);var i=(0,m.Z)(e);function e(a,n,o,s){var h;return(0,u.Z)(this,e),(h=i.call(this,a,n,s))._host=o,h._centeringSub=S.w0.EMPTY,h._leavingSub=S.w0.EMPTY,h}return(0,_.Z)(e,[{key:"ngOnInit",value:function(){var n=this;(0,p.Z)((0,g.Z)(e.prototype),"ngOnInit",this).call(this),this._centeringSub=this._host._beforeCentering.pipe((0,v.O)(this._host._isCenterPosition(this._host._position))).subscribe(function(o){o&&!n.hasAttached()&&n.attach(n._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(function(){n._host.preserveContent||n.detach()})}},{key:"ngOnDestroy",value:function(){(0,p.Z)((0,g.Z)(e.prototype),"ngOnDestroy",this).call(this),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}]),e}(C.CdkPortalOutlet);return r.\u0275fac=function(i){return new(i||r)(t.\u0275\u0275directiveInject(t.ComponentFactoryResolver),t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject((0,t.forwardRef)(function(){return tt})),t.\u0275\u0275directiveInject(f.DOCUMENT))},r.\u0275dir=t.\u0275\u0275defineDirective({type:r,selectors:[["","matTabBodyHost",""]],features:[t.\u0275\u0275InheritDefinitionFeature]}),r}(),ht=function(){var r=function(){function d(i,e,a){var n=this;(0,u.Z)(this,d),this._elementRef=i,this._dir=e,this._dirChangeSubscription=S.w0.EMPTY,this._translateTabComplete=new E.x,this._onCentering=new t.EventEmitter,this._beforeCentering=new t.EventEmitter,this._afterLeavingCenter=new t.EventEmitter,this._onCentered=new t.EventEmitter(!0),this.animationDuration="500ms",this.preserveContent=!1,e&&(this._dirChangeSubscription=e.change.subscribe(function(o){n._computePositionAnimationState(o),a.markForCheck()})),this._translateTabComplete.pipe((0,I.x)(function(o,s){return o.fromState===s.fromState&&o.toState===s.toState})).subscribe(function(o){n._isCenterPosition(o.toState)&&n._isCenterPosition(n._position)&&n._onCentered.emit(),n._isCenterPosition(o.fromState)&&!n._isCenterPosition(n._position)&&n._afterLeavingCenter.emit()})}return(0,_.Z)(d,[{key:"position",set:function(e){this._positionIndex=e,this._computePositionAnimationState()}},{key:"ngOnInit",value:function(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}},{key:"ngOnDestroy",value:function(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}},{key:"_onTranslateTabStarted",value:function(e){var a=this._isCenterPosition(e.toState);this._beforeCentering.emit(a),a&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}},{key:"_getLayoutDirection",value:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"_isCenterPosition",value:function(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e}},{key:"_computePositionAnimationState",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._getLayoutDirection();this._position=this._positionIndex<0?"ltr"==e?"left":"right":this._positionIndex>0?"ltr"==e?"right":"left":"center"}},{key:"_computePositionFromOrigin",value:function(e){var a=this._getLayoutDirection();return"ltr"==a&&e<=0||"rtl"==a&&e>0?"left-origin-center":"right-origin-center"}}]),d}();return r.\u0275fac=function(i){return new(i||r)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(R.Directionality,8),t.\u0275\u0275directiveInject(t.ChangeDetectorRef))},r.\u0275dir=t.\u0275\u0275defineDirective({type:r,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),r}(),tt=function(){var r=function(d){(0,l.Z)(e,d);var i=(0,m.Z)(e);function e(a,n,o){return(0,u.Z)(this,e),i.call(this,a,n,o)}return(0,_.Z)(e)}(ht);return r.\u0275fac=function(i){return new(i||r)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(R.Directionality,8),t.\u0275\u0275directiveInject(t.ChangeDetectorRef))},r.\u0275cmp=t.\u0275\u0275defineComponent({type:r,selectors:[["mat-tab-body"]],viewQuery:function(i,e){var a;1&i&&t.\u0275\u0275viewQuery(C.CdkPortalOutlet,5),2&i&&t.\u0275\u0275queryRefresh(a=t.\u0275\u0275loadQuery())&&(e._portalHost=a.first)},hostAttrs:[1,"mat-mdc-tab-body"],features:[t.\u0275\u0275InheritDefinitionFeature],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(i,e){1&i&&(t.\u0275\u0275elementStart(0,"div",0,1),t.\u0275\u0275listener("@translateTab.start",function(n){return e._onTranslateTabStarted(n)})("@translateTab.done",function(n){return e._translateTabComplete.next(n)}),t.\u0275\u0275template(2,wt,0,0,"ng-template",2),t.\u0275\u0275elementEnd()),2&i&&t.\u0275\u0275property("@translateTab",t.\u0275\u0275pureFunction2(3,jt,e._position,t.\u0275\u0275pureFunction1(1,St,e.animationDuration)))},dependencies:[ut],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[_t.translateTab]}}),r}(),ft=new t.InjectionToken("MatTabContent"),vt=function(){var r=(0,_.Z)(function d(i){(0,u.Z)(this,d),this.template=i});return r.\u0275fac=function(i){return new(i||r)(t.\u0275\u0275directiveInject(t.TemplateRef))},r.\u0275dir=t.\u0275\u0275defineDirective({type:r,selectors:[["","matTabContent",""]],features:[t.\u0275\u0275ProvidersFeature([{provide:ft,useExisting:r}])]}),r}(),pt=new t.InjectionToken("MatTabLabel"),et=new t.InjectionToken("MAT_TAB"),gt=function(){var r=function(d){(0,l.Z)(e,d);var i=(0,m.Z)(e);function e(a,n,o){var s;return(0,u.Z)(this,e),(s=i.call(this,a,n))._closestTab=o,s}return(0,_.Z)(e)}(C.CdkPortal);return r.\u0275fac=function(i){return new(i||r)(t.\u0275\u0275directiveInject(t.TemplateRef),t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(et,8))},r.\u0275dir=t.\u0275\u0275defineDirective({type:r,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[t.\u0275\u0275ProvidersFeature([{provide:pt,useExisting:r}]),t.\u0275\u0275InheritDefinitionFeature]}),r}(),at="mdc-tab-indicator--active",yt="mdc-tab-indicator--no-transition",nt=function(){function r(d){(0,u.Z)(this,r),this._items=d}return(0,_.Z)(r,[{key:"hide",value:function(){this._items.forEach(function(i){return i.deactivateInkBar()})}},{key:"alignToElement",value:function(i){var e=this._items.find(function(h){return h.elementRef.nativeElement===i}),a=this._currentItem;if(e!==a&&(a?.deactivateInkBar(),e)){var n,o,s=null==a||null===(n=(o=a.elementRef.nativeElement).getBoundingClientRect)||void 0===n?void 0:n.call(o);e.activateInkBar(s),this._currentItem=e}}}]),r}();function Tt(r){return function(d){(0,l.Z)(e,d);var i=(0,m.Z)(e);function e(){var a;(0,u.Z)(this,e);for(var n=arguments.length,o=new Array(n),s=0;s0&&n.contentRect.height>0})}))}},{key:"ngAfterContentChecked",value:function(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}},{key:"ngOnDestroy",value:function(){var e;null===(e=this._keyManager)||void 0===e||e.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}},{key:"_handleKeydown",value:function(e){if(!(0,J.hasModifierKey)(e))switch(e.keyCode){case J.ENTER:case J.SPACE:if(this.focusIndex!==this.selectedIndex){var a=this._items.get(this.focusIndex);a&&!a.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e))}break;default:this._keyManager.onKeydown(e)}}},{key:"_onContentChanges",value:function(){var e=this,a=this._elementRef.nativeElement.textContent;a!==this._currentTextContent&&(this._currentTextContent=a||"",this._ngZone.run(function(){e.updatePagination(),e._alignInkBarToSelectedTab(),e._changeDetectorRef.markForCheck()}))}},{key:"updatePagination",value:function(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}},{key:"focusIndex",get:function(){return this._keyManager?this._keyManager.activeItemIndex:0},set:function(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}},{key:"_isValidIndex",value:function(e){return!this._items||!!this._items.toArray()[e]}},{key:"_setTabFocus",value:function(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();var a=this._tabListContainer.nativeElement,n=this._getLayoutDirection();a.scrollLeft="ltr"==n?0:a.scrollWidth-a.offsetWidth}}},{key:"_getLayoutDirection",value:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"_updateTabScrollPosition",value:function(){if(!this.disablePagination){var e=this.scrollDistance,a="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform="translateX(".concat(Math.round(a),"px)"),(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}}},{key:"scrollDistance",get:function(){return this._scrollDistance},set:function(e){this._scrollTo(e)}},{key:"_scrollHeader",value:function(e){return this._scrollTo(this._scrollDistance+("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}},{key:"_handlePaginatorClick",value:function(e){this._stopInterval(),this._scrollHeader(e)}},{key:"_scrollToLabel",value:function(e){if(!this.disablePagination){var a=this._items?this._items.toArray()[e]:null;if(a){var b,T,n=this._tabListContainer.nativeElement.offsetWidth,o=a.elementRef.nativeElement,s=o.offsetLeft,h=o.offsetWidth;"ltr"==this._getLayoutDirection()?T=(b=s)+h:b=(T=this._tabListInner.nativeElement.offsetWidth-s)-h;var P=this.scrollDistance,j=this.scrollDistance+n;bj&&(this.scrollDistance+=Math.min(T-j,b-P))}}}},{key:"_checkPaginationEnabled",value:function(){if(this.disablePagination)this._showPaginationControls=!1;else{var e=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}},{key:"_checkScrollingControls",value:function(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}},{key:"_getMaxScrollDistance",value:function(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}},{key:"_alignInkBarToSelectedTab",value:function(){var e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,a=e?e.elementRef.nativeElement:null;a?this._inkBar.alignToElement(a):this._inkBar.hide()}},{key:"_stopInterval",value:function(){this._stopScrolling.next()}},{key:"_handlePaginatorPress",value:function(e,a){var n=this;a&&null!=a.button&&0!==a.button||(this._stopInterval(),(0,H.H)(650,100).pipe((0,B.R)((0,N.T)(this._stopScrolling,this._destroyed))).subscribe(function(){var o=n._scrollHeader(e),h=o.distance;(0===h||h>=o.maxScrollDistance)&&n._stopInterval()}))}},{key:"_scrollTo",value:function(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};var a=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(a,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:a,distance:this._scrollDistance}}}]),d}();return r.\u0275fac=function(i){return new(i||r)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(Y.ViewportRuler),t.\u0275\u0275directiveInject(R.Directionality,8),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275directiveInject(G.Platform),t.\u0275\u0275directiveInject(K.ANIMATION_MODULE_TYPE,8))},r.\u0275dir=t.\u0275\u0275defineDirective({type:r,inputs:{disablePagination:"disablePagination"}}),r}(),Dt=function(){var r=function(d){(0,l.Z)(e,d);var i=(0,m.Z)(e);function e(a,n,o,s,h,b,T){var P;return(0,u.Z)(this,e),(P=i.call(this,a,n,o,s,h,b,T))._disableRipple=!1,P}return(0,_.Z)(e,[{key:"disableRipple",get:function(){return this._disableRipple},set:function(n){this._disableRipple=(0,w.coerceBooleanProperty)(n)}},{key:"_itemSelected",value:function(n){n.preventDefault()}}]),e}(ot);return r.\u0275fac=function(i){return new(i||r)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(Y.ViewportRuler),t.\u0275\u0275directiveInject(R.Directionality,8),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275directiveInject(G.Platform),t.\u0275\u0275directiveInject(K.ANIMATION_MODULE_TYPE,8))},r.\u0275dir=t.\u0275\u0275defineDirective({type:r,inputs:{disableRipple:"disableRipple"},features:[t.\u0275\u0275InheritDefinitionFeature]}),r}(),Pt=function(){var r=function(d){(0,l.Z)(e,d);var i=(0,m.Z)(e);function e(a,n,o,s,h,b,T){return(0,u.Z)(this,e),i.call(this,a,n,o,s,h,b,T)}return(0,_.Z)(e,[{key:"ngAfterContentInit",value:function(){this._inkBar=new nt(this._items),(0,p.Z)((0,g.Z)(e.prototype),"ngAfterContentInit",this).call(this)}}]),e}(Dt);return r.\u0275fac=function(i){return new(i||r)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(Y.ViewportRuler),t.\u0275\u0275directiveInject(R.Directionality,8),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275directiveInject(G.Platform),t.\u0275\u0275directiveInject(K.ANIMATION_MODULE_TYPE,8))},r.\u0275cmp=t.\u0275\u0275defineComponent({type:r,selectors:[["mat-tab-header"]],contentQueries:function(i,e,a){var n;1&i&&t.\u0275\u0275contentQuery(a,it,4),2&i&&t.\u0275\u0275queryRefresh(n=t.\u0275\u0275loadQuery())&&(e._items=n)},viewQuery:function(i,e){var a;1&i&&(t.\u0275\u0275viewQuery(dt,7),t.\u0275\u0275viewQuery(st,7),t.\u0275\u0275viewQuery(lt,7),t.\u0275\u0275viewQuery(mt,5),t.\u0275\u0275viewQuery(bt,5)),2&i&&(t.\u0275\u0275queryRefresh(a=t.\u0275\u0275loadQuery())&&(e._tabListContainer=a.first),t.\u0275\u0275queryRefresh(a=t.\u0275\u0275loadQuery())&&(e._tabList=a.first),t.\u0275\u0275queryRefresh(a=t.\u0275\u0275loadQuery())&&(e._tabListInner=a.first),t.\u0275\u0275queryRefresh(a=t.\u0275\u0275loadQuery())&&(e._nextPaginator=a.first),t.\u0275\u0275queryRefresh(a=t.\u0275\u0275loadQuery())&&(e._previousPaginator=a.first))},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(i,e){2&i&&t.\u0275\u0275classProp("mat-mdc-tab-header-pagination-controls-enabled",e._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==e._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[t.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:X,decls:13,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(i,e){1&i&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275elementStart(0,"button",0,1),t.\u0275\u0275listener("click",function(){return e._handlePaginatorClick("before")})("mousedown",function(n){return e._handlePaginatorPress("before",n)})("touchend",function(){return e._stopInterval()}),t.\u0275\u0275element(2,"div",2),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(3,"div",3,4),t.\u0275\u0275listener("keydown",function(n){return e._handleKeydown(n)}),t.\u0275\u0275elementStart(5,"div",5,6),t.\u0275\u0275listener("cdkObserveContent",function(){return e._onContentChanges()}),t.\u0275\u0275elementStart(7,"div",7,8),t.\u0275\u0275projection(9),t.\u0275\u0275elementEnd()()(),t.\u0275\u0275elementStart(10,"button",9,10),t.\u0275\u0275listener("mousedown",function(n){return e._handlePaginatorPress("after",n)})("click",function(){return e._handlePaginatorClick("after")})("touchend",function(){return e._stopInterval()}),t.\u0275\u0275element(12,"div",2),t.\u0275\u0275elementEnd()),2&i&&(t.\u0275\u0275classProp("mat-mdc-tab-header-pagination-disabled",e._disableScrollBefore),t.\u0275\u0275property("matRippleDisabled",e._disableScrollBefore||e.disableRipple)("disabled",e._disableScrollBefore||null),t.\u0275\u0275advance(3),t.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===e._animationMode),t.\u0275\u0275advance(7),t.\u0275\u0275classProp("mat-mdc-tab-header-pagination-disabled",e._disableScrollAfter),t.\u0275\u0275property("matRippleDisabled",e._disableScrollAfter||e.disableRipple)("disabled",e._disableScrollAfter||null))},dependencies:[k.MatRipple,x.CdkObserveContent],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0;--mdc-tab-indicator-active-indicator-height:2px;--mdc-tab-indicator-active-indicator-shape:0;--mdc-secondary-navigation-tab-container-height:48px}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2}),r}(),q=new t.InjectionToken("MAT_TABS_CONFIG"),te=0,ee=(0,k.mixinColor)((0,k.mixinDisableRipple)(function(){return(0,_.Z)(function r(d){(0,u.Z)(this,r),this._elementRef=d})}()),"primary"),xt=function(){var r=function(d){(0,l.Z)(e,d);var i=(0,m.Z)(e);function e(a,n,o,s){var h,b;return(0,u.Z)(this,e),(b=i.call(this,a))._changeDetectorRef=n,b._animationMode=s,b._tabs=new t.QueryList,b._indexToSelect=0,b._lastFocusedTabIndex=null,b._tabBodyWrapperHeight=0,b._tabsSubscription=S.w0.EMPTY,b._tabLabelSubscription=S.w0.EMPTY,b._dynamicHeight=!1,b._selectedIndex=null,b.headerPosition="above",b._disablePagination=!1,b._preserveContent=!1,b.selectedIndexChange=new t.EventEmitter,b.focusChange=new t.EventEmitter,b.animationDone=new t.EventEmitter,b.selectedTabChange=new t.EventEmitter(!0),b._groupId=te++,b.animationDuration=o&&o.animationDuration?o.animationDuration:"500ms",b.disablePagination=!(!o||null==o.disablePagination)&&o.disablePagination,b.dynamicHeight=!(!o||null==o.dynamicHeight)&&o.dynamicHeight,b.contentTabIndex=null!==(h=o?.contentTabIndex)&&void 0!==h?h:null,b.preserveContent=!(null==o||!o.preserveContent),b}return(0,_.Z)(e,[{key:"dynamicHeight",get:function(){return this._dynamicHeight},set:function(n){this._dynamicHeight=(0,w.coerceBooleanProperty)(n)}},{key:"selectedIndex",get:function(){return this._selectedIndex},set:function(n){this._indexToSelect=(0,w.coerceNumberProperty)(n,null)}},{key:"animationDuration",get:function(){return this._animationDuration},set:function(n){this._animationDuration=/^\d+$/.test(n+"")?n+"ms":n}},{key:"contentTabIndex",get:function(){return this._contentTabIndex},set:function(n){this._contentTabIndex=(0,w.coerceNumberProperty)(n,null)}},{key:"disablePagination",get:function(){return this._disablePagination},set:function(n){this._disablePagination=(0,w.coerceBooleanProperty)(n)}},{key:"preserveContent",get:function(){return this._preserveContent},set:function(n){this._preserveContent=(0,w.coerceBooleanProperty)(n)}},{key:"backgroundColor",get:function(){return this._backgroundColor},set:function(n){var o=this._elementRef.nativeElement.classList;o.remove("mat-tabs-with-background","mat-background-".concat(this.backgroundColor)),n&&o.add("mat-tabs-with-background","mat-background-".concat(n)),this._backgroundColor=n}},{key:"ngAfterContentChecked",value:function(){var n=this,o=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=o){var s=null==this._selectedIndex;if(!s){this.selectedTabChange.emit(this._createChangeEvent(o));var h=this._tabBodyWrapper.nativeElement;h.style.minHeight=h.clientHeight+"px"}Promise.resolve().then(function(){n._tabs.forEach(function(b,T){return b.isActive=T===o}),s||(n.selectedIndexChange.emit(o),n._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach(function(b,T){b.position=T-o,null!=n._selectedIndex&&0==b.position&&!b.origin&&(b.origin=o-n._selectedIndex)}),this._selectedIndex!==o&&(this._selectedIndex=o,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}},{key:"ngAfterContentInit",value:function(){var n=this;this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(function(){var o=n._clampTabIndex(n._indexToSelect);if(o===n._selectedIndex){for(var h,s=n._tabs.toArray(),b=0;b.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2}),r}(),Bt=(0,_.Z)(function r(){(0,u.Z)(this,r)}),Ot=0,ct=function(){var r=function(d){(0,l.Z)(e,d);var i=(0,m.Z)(e);function e(a,n,o,s,h,b,T){var P;return(0,u.Z)(this,e),(P=i.call(this,a,s,h,n,o,b,T))._disableRipple=!1,P.color="primary",P}return(0,_.Z)(e,[{key:"backgroundColor",get:function(){return this._backgroundColor},set:function(n){var o=this._elementRef.nativeElement.classList;o.remove("mat-tabs-with-background","mat-background-".concat(this.backgroundColor)),n&&o.add("mat-tabs-with-background","mat-background-".concat(n)),this._backgroundColor=n}},{key:"disableRipple",get:function(){return this._disableRipple},set:function(n){this._disableRipple=(0,w.coerceBooleanProperty)(n)}},{key:"_itemSelected",value:function(){}},{key:"ngAfterContentInit",value:function(){var n=this;this._items.changes.pipe((0,v.O)(null),(0,B.R)(this._destroyed)).subscribe(function(){n.updateActiveLink()}),(0,p.Z)((0,g.Z)(e.prototype),"ngAfterContentInit",this).call(this)}},{key:"updateActiveLink",value:function(){if(this._items){for(var n=this._items.toArray(),o=0;o.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-focus-indicator::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}"],encapsulation:2}),r}(),Lt=function(){var r=function(d){(0,l.Z)(e,d);var i=(0,m.Z)(e);function e(a,n,o,s,h,b){var T;return(0,u.Z)(this,e),(T=i.call(this,a,n,o,s,h,b))._destroyed=new E.x,a._fitInkBarToContent.pipe((0,B.R)(T._destroyed)).subscribe(function(P){T.fitInkBarToContent=P}),T}return(0,_.Z)(e,[{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete(),(0,p.Z)((0,g.Z)(e.prototype),"ngOnDestroy",this).call(this)}}]),e}(ie);return r.\u0275fac=function(i){return new(i||r)(t.\u0275\u0275directiveInject(At),t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(k.MAT_RIPPLE_GLOBAL_OPTIONS,8),t.\u0275\u0275injectAttribute("tabindex"),t.\u0275\u0275directiveInject(D.FocusMonitor),t.\u0275\u0275directiveInject(K.ANIMATION_MODULE_TYPE,8))},r.\u0275cmp=t.\u0275\u0275defineComponent({type:r,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function(i,e){1&i&&t.\u0275\u0275listener("focus",function(){return e._handleFocus()})("keydown",function(n){return e._handleKeydown(n)}),2&i&&(t.\u0275\u0275attribute("aria-controls",e._getAriaControls())("aria-current",e._getAriaCurrent())("aria-disabled",e.disabled)("aria-selected",e._getAriaSelected())("id",e.id)("tabIndex",e._getTabIndex())("role",e._getRole()),t.\u0275\u0275classProp("mat-mdc-tab-disabled",e.disabled)("mdc-tab--active",e.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",active:"active",id:"id"},exportAs:["matTabLink"],features:[t.\u0275\u0275InheritDefinitionFeature],attrs:Gt,ngContentSelectors:X,decls:5,vars:2,consts:[[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"]],template:function(i,e){1&i&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275element(0,"span",0)(1,"div",1),t.\u0275\u0275elementStart(2,"span",2)(3,"span",3),t.\u0275\u0275projection(4),t.\u0275\u0275elementEnd()()),2&i&&(t.\u0275\u0275advance(1),t.\u0275\u0275property("matRippleTrigger",e.elementRef.nativeElement)("matRippleDisabled",e.rippleDisabled))},dependencies:[k.MatRipple],styles:['.mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-letter-spacing);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab-link:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab-link:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link.mdc-tab{flex-grow:0}.mat-mdc-tab-link:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab-link:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab-link.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab-link.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab-link.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab-link .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}'],encapsulation:2,changeDetection:0}),r}(),re=function(){var r=(0,_.Z)(function d(){(0,u.Z)(this,d),this.id="mat-tab-nav-panel-".concat(Ot++)});return r.\u0275fac=function(i){return new(i||r)},r.\u0275cmp=t.\u0275\u0275defineComponent({type:r,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(i,e){2&i&&t.\u0275\u0275attribute("aria-labelledby",e._activeTabId)("id",e.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:X,decls:1,vars:0,template:function(i,e){1&i&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),r}(),oe=function(){var r=(0,_.Z)(function d(){(0,u.Z)(this,d)});return r.\u0275fac=function(i){return new(i||r)},r.\u0275mod=t.\u0275\u0275defineNgModule({type:r}),r.\u0275inj=t.\u0275\u0275defineInjector({imports:[f.CommonModule,k.MatCommonModule,C.PortalModule,k.MatRippleModule,x.ObserversModule,D.A11yModule,k.MatCommonModule]}),r}()}}]); +//# sourceMappingURL=2128.f0a8e700db56fb59.js.map \ No newline at end of file diff --git a/2128.f0a8e700db56fb59.js.map b/2128.f0a8e700db56fb59.js.map new file mode 100644 index 0000000..f6b968e --- /dev/null +++ b/2128.f0a8e700db56fb59.js.map @@ -0,0 +1 @@ +{"version":3,"file":"2128.f0a8e700db56fb59.js","mappings":"wKACaA,EAAe,SAAAC,IAAAC,OAAAF,EAAAC,GAAA,IAAAE,KAAAC,KAAAJ,GACxB,SAAAA,EAAYK,GAAQ,IAAAC,EAAAC,cAAAC,KAAAR,IAChBM,EAAAH,EAAAM,KAAAD,OACKH,OAASA,EAAOC,CACzB,CAACI,cAAAV,EAAA,EA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E,UA97DkF7gB,6BAAE,CAAA8gB,QAAA,CA87DkCC,eAC5HC,kBACAC,eACAC,kBACAC,kBACAC,aAAYJ,qBA/BlBL,CAAa","names":["BehaviorSubject","_Subject","_inherits","_super","_createSuper","_value","_this","_classCallCheck","this","call","_createClass","key","get","getValue","value","subscriber","subscription","_get","_getPrototypeOf","prototype","closed","next","hasError","thrownError","_throwIfClosed","Subject","concat","_len","arguments","length","args","Array","_key","concatAll","mergeAll","from","popScheduler","subscribeOn","scheduler","delay","undefined","operate","source","add","schedule","subscribe","scheduleAsyncIterable","input","Error","Observable","executeSchedule","iterator","Symbol","asyncIterator","then","result","done","complete","scheduled","isInteropObservable","scheduleObservable","innerFrom","pipe","observeOn","isArrayLike","scheduleArray","i","isPromise","schedulePromise","isAsyncIterable","isIterable","scheduleIterable","Symbol_iterator","_iterator$next","err","error","isFunction","return","isReadableStreamLike","scheduleReadableStreamLike","readableStreamLikeToAsyncGenerator","createInvalidObservableTypeError","nodeEventEmitterMethods","eventTargetMethods","jqueryMethods","fromEvent","target","eventName","options","resultSelector","mapOneOrManyArgs","_ref","isEventTarget","addEventListener","removeEventListener","map","methodName","handler","isNodeStyleEventEmitter","addListener","removeListener","toCommonHandlerRegistry","isJQueryStyleEventEmitter","on","off","_ref2","_slicedToArray","remove","mergeMap","subTarget","TypeError","merge","concurrent","popNumber","Infinity","sources","EMPTY","of","distinctUntilChanged","comparator","keySelector","identity","defaultCompare","previousKey","first","createOperatorSubscriber","currentKey","a","b","filter","predicate","thisArg","index","skip","count","_","startWith","values","switchMap","project","innerSubscriber","isComplete","checkComplete","unsubscribe","innerIndex","outerIndex","innerValue","takeUntil","notifier","noop","last","arr","popResultSelector","pop","isScheduler","defaultValue","isArray","fn","callOrApply","apply","_toConsumableArray","MatTabBody_ng_template_2_Template","rf","ctx","_c0","a0","animationDuration","_c1","a1","params","MatTab_ng_template_0_Template","i0","_c2","_c3","_c4","_c5","_c6","_c7","_c8","_c9","MatTabGroup_div_2_ng_template_6_ng_template_0_Template","MatTabGroup_div_2_ng_template_6_Template","tab_r4","$implicit","templateLabel","MatTabGroup_div_2_ng_template_7_Template","textLabel","MatTabGroup_div_2_Template","_r14","restoredCtx","i_r5","ctx_r13","_r0","_handleClick","$event","ctx_r15","_tabFocusChanged","_r6","_r8","ctx_r1","selectedIndex","_getTabLabelId","labelClass","disabled","fitInkBarToContent","_getTabIndex","_tabs","_getTabContentId","ariaLabel","ariaLabelledby","disableRipple","MatTabGroup_mat_tab_body_5_Template","_r19","ctx_r18","_removeTabBodyWrapperHeight","ctx_r20","_setTabBodyWrapperHeight","tab_r16","i_r17","ctx_r3","bodyClass","content","position","origin","preserveContent","contentTabIndex","_c10","_c11","matTabsAnimations","translateTab","trigger","state","style","transform","minHeight","visibility","transition","animate","MatTabBodyPortal","_CdkPortalOutlet","componentFactoryResolver","viewContainerRef","_host","_document","_centeringSub","Subscription","_leavingSub","_this2","_beforeCentering","_isCenterPosition","_position","isCentering","hasAttached","attach","_content","_afterLeavingCenter","detach","CdkPortalOutlet","ɵfac","t","forwardRef","MatTabBody","DOCUMENT","ɵdir","type","selectors","features","_MatTabBodyBase","_elementRef","_dir","changeDetectorRef","_this3","_dirChangeSubscription","_translateTabComplete","_onCentering","EventEmitter","_onCentered","change","dir","_computePositionAnimationState","markForCheck","x","y","fromState","toState","event","emit","set","_positionIndex","_computePositionFromOrigin","nativeElement","clientHeight","_getLayoutDirection","i1","inputs","outputs","_MatTabBodyBase2","_super2","elementRef","ɵcmp","viewQuery","_t","_portalHost","hostAttrs","decls","vars","consts","template","_onTranslateTabStarted","dependencies","styles","encapsulation","data","animation","MAT_TAB_CONTENT","InjectionToken","MatTabContent","provide","useExisting","MAT_TAB_LABEL","MAT_TAB","MatTabLabel","_CdkPortal","_super3","templateRef","_closestTab","_this4","CdkPortal","ACTIVE_CLASS","NO_TRANSITION_CLASS","MatInkBar","_items","forEach","item","deactivateInkBar","element","correspondingItem","find","currentItem","_currentItem","_currentItem$elementR","_currentItem$elementR2","clientRect","getBoundingClientRect","activateInkBar","mixinInkBarItem","base","_base","_class","_super4","_this5","_fitToContent","v","newValue","coerceBooleanProperty","_inkBarElement","_appendInkBarElement","previousIndicatorClientRect","_inkBarContentElement","currentClientRect","widthDelta","width","xPosition","left","classList","setProperty","_createInkBarElement","_this$_inkBarElement","documentNode","ownerDocument","document","createElement","className","appendChild","querySelector","_MAT_INK_BAR_POSITIONER_FACTORY","offsetLeft","offsetWidth","_MAT_INK_BAR_POSITIONER","providedIn","factory","_MatTabLabelWrapperMixinBase","mixinDisabled","_class2","_MatTabLabelWrapperBase","_MatTabLabelWrapperMi","_super5","_this6","focus","_MatTabLabelWrapperBaseWithInkBarItem","MatTabLabelWrapper","_MatTabLabelWrapperBa","_super6","ɵMatTabLabelWrapper_BaseFactory","hostVars","hostBindings","_MatTabMixinBase","_class3","MAT_TAB_GROUP","_MatTabBase","_MatTabMixinBase2","_super7","_viewContainerRef","_closestTabGroup","_this7","_contentPortal","_stateChanges","isActive","changes","hasOwnProperty","TemplatePortal","_explicitContent","_implicitContent","_templateLabel","TemplateRef","MatTab","_MatTabBase2","_super8","_this8","_setTemplateLabelInput","ɵMatTab_BaseFactory","contentQueries","dirIndex","exportAs","ngContentSelectors","passiveEventListenerOptions","normalizePassiveListenerOptions","passive","MatPaginatedTabHeader","_changeDetectorRef","_viewportRuler","_ngZone","_platform","_animationMode","_this9","_scrollDistance","_selectedIndexChanged","_destroyed","_showPaginationControls","_disableScrollAfter","_disableScrollBefore","_stopScrolling","_disablePagination","_selectedIndex","selectFocusedIndex","indexFocused","runOutsideAngular","_stopInterval","coerceNumberProperty","_keyManager","updateActiveItem","_this10","_previousPaginator","_handlePaginatorPress","_nextPaginator","_this11","dirChange","resize","realign","updatePagination","_alignInkBarToSelectedTab","FocusKeyManager","withHorizontalOrientation","withHomeAndEnd","withWrap","skipPredicate","onStable","take","_itemsResized","run","Promise","resolve","Math","max","min","_getMaxScrollDistance","newFocusIndex","_setTabFocus","_this12","ResizeObserver","tabItems","observer","resizeObserver","entries","observe","disconnect","some","e","contentRect","height","_tabLabelCount","_scrollToLabel","_checkScrollingControls","_scrollDistanceChanged","_updateTabScrollPosition","_this$_keyManager","destroy","hasModifierKey","keyCode","ENTER","SPACE","focusIndex","_itemSelected","onKeydown","_this13","textContent","_currentTextContent","_checkPaginationEnabled","activeItemIndex","_isValidIndex","setActiveItem","toArray","tabIndex","containerEl","_tabListContainer","scrollLeft","scrollWidth","disablePagination","scrollDistance","translateX","_tabList","round","TRIDENT","EDGE","_scrollTo","direction","_scrollHeader","labelIndex","selectedLabel","labelBeforePos","labelAfterPos","viewLength","_selectedLabel$elemen","_tabListInner","beforeVisiblePos","afterVisiblePos","isEnabled","selectedItem","selectedLabelWrapper","_inkBar","alignToElement","hide","mouseEvent","_this14","button","timer","_this14$_scrollHeader","distance","maxScrollDistance","i1$1","i3","ANIMATION_MODULE_TYPE","_MatTabHeaderBase","_MatPaginatedTabHeade","_super9","viewportRuler","ngZone","platform","animationMode","_this15","_disableRipple","preventDefault","MatTabHeader","_MatTabHeaderBase2","_super10","_handlePaginatorClick","_handleKeydown","_onContentChanges","i5","i5$1","MAT_TABS_CONFIG","nextId","_MatTabGroupMixinBase","mixinColor","mixinDisableRipple","_class4","_MatTabGroupBase","_MatTabGroupMixinBase2","_super11","defaultConfig","_defaultConfig$conten","_this16","QueryList","_indexToSelect","_lastFocusedTabIndex","_tabBodyWrapperHeight","_tabsSubscription","_tabLabelSubscription","_dynamicHeight","headerPosition","_preserveContent","selectedIndexChange","focusChange","animationDone","selectedTabChange","_groupId","dynamicHeight","_animationDuration","test","_contentTabIndex","_backgroundColor","backgroundColor","_this17","indexToSelect","_clampTabIndex","isFirstRun","_createChangeEvent","wrapper","_tabBodyWrapper","tab","_this18","_subscribeToAllTabChanges","_subscribeToTabLabels","selectedTab","tabs","_this19","_allTabs","reset","notifyOnChanges","_tabHeader","header","MatTabChangeEvent","_this20","tabHeight","offsetHeight","tabHeader","_this$_lastFocusedTab","focusOrigin","MatTabGroup","_MatTabGroupBase2","_super12","_this21","_fitInkBarToContent","_stretchTabs","stretchTabs","color","_focusChanged","i1$2","i2","i4","nextUniqueId","_MatTabNavBase","_MatPaginatedTabHeade2","_super13","_this22","_this23","updateActiveLink","items","active","tabPanel","_activeTabId","id","getAttribute","_MatTabLinkMixinBase","mixinTabIndex","_class5","_MatTabLinkBase","_MatTabLinkMixinBase2","_super14","_tabNavBar","globalRippleOptions","_focusMonitor","_this24","_isActive","rippleConfig","parseInt","enterDuration","exitDuration","monitor","stopMonitoring","indexOf","click","_this$_tabNavBar$tabP","MAT_RIPPLE_GLOBAL_OPTIONS","_MatTabLinkBaseWithInkBarItem","MatTabNav","_MatTabNavBase2","_super15","_this25","MatTabLink","_getRole","attrs","_MatTabLinkBaseWithIn","_super16","tabNavBar","focusMonitor","_this26","_handleFocus","_getAriaControls","_getAriaCurrent","_getAriaSelected","rippleDisabled","changeDetection","MatTabNavPanel","MatTabsModule","ɵmod","ɵinj","imports","CommonModule","MatCommonModule","PortalModule","MatRippleModule","ObserversModule","A11yModule"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/BehaviorSubject.js","./node_modules/rxjs/dist/esm/internal/observable/concat.js","./node_modules/rxjs/dist/esm/internal/operators/concatAll.js","./node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleAsyncIterable.js","./node_modules/rxjs/dist/esm/internal/observable/from.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduled.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleObservable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleArray.js","./node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleIterable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleReadableStreamLike.js","./node_modules/rxjs/dist/esm/internal/observable/fromEvent.js","./node_modules/rxjs/dist/esm/internal/observable/merge.js","./node_modules/rxjs/dist/esm/internal/observable/of.js","./node_modules/rxjs/dist/esm/internal/operators/distinctUntilChanged.js","./node_modules/rxjs/dist/esm/internal/operators/filter.js","./node_modules/rxjs/dist/esm/internal/operators/mergeAll.js","./node_modules/rxjs/dist/esm/internal/operators/observeOn.js","./node_modules/rxjs/dist/esm/internal/operators/skip.js","./node_modules/rxjs/dist/esm/internal/operators/startWith.js","./node_modules/rxjs/dist/esm/internal/operators/switchMap.js","./node_modules/rxjs/dist/esm/internal/operators/takeUntil.js","./node_modules/rxjs/dist/esm/internal/util/args.js","./node_modules/rxjs/dist/esm/internal/util/mapOneOrManyArgs.js","./node_modules/@angular/material/fesm2022/tabs.mjs"],"sourcesContent":["import { Subject } from './Subject';\nexport class BehaviorSubject extends Subject {\n constructor(_value) {\n super();\n this._value = _value;\n }\n get value() {\n return this.getValue();\n }\n _subscribe(subscriber) {\n const subscription = super._subscribe(subscriber);\n !subscription.closed && subscriber.next(this._value);\n return subscription;\n }\n getValue() {\n const { hasError, thrownError, _value } = this;\n if (hasError) {\n throw thrownError;\n }\n this._throwIfClosed();\n return _value;\n }\n next(value) {\n super.next((this._value = value));\n }\n}\n","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}\n","import { mergeAll } from './mergeAll';\nexport function concatAll() {\n return mergeAll(1);\n}\n","import { operate } from '../util/lift';\nexport function subscribeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay));\n });\n}\n","import { Observable } from '../Observable';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleAsyncIterable(input, scheduler) {\n if (!input) {\n throw new Error('Iterable cannot be null');\n }\n return new Observable((subscriber) => {\n executeSchedule(subscriber, scheduler, () => {\n const iterator = input[Symbol.asyncIterator]();\n executeSchedule(subscriber, scheduler, () => {\n iterator.next().then((result) => {\n if (result.done) {\n subscriber.complete();\n }\n else {\n subscriber.next(result.value);\n }\n });\n }, 0, true);\n });\n });\n}\n","import { scheduled } from '../scheduled/scheduled';\nimport { innerFrom } from './innerFrom';\nexport function from(input, scheduler) {\n return scheduler ? scheduled(input, scheduler) : innerFrom(input);\n}\n","import { scheduleObservable } from './scheduleObservable';\nimport { schedulePromise } from './schedulePromise';\nimport { scheduleArray } from './scheduleArray';\nimport { scheduleIterable } from './scheduleIterable';\nimport { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isPromise } from '../util/isPromise';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isIterable } from '../util/isIterable';\nimport { isAsyncIterable } from '../util/isAsyncIterable';\nimport { createInvalidObservableTypeError } from '../util/throwUnobservableError';\nimport { isReadableStreamLike } from '../util/isReadableStreamLike';\nimport { scheduleReadableStreamLike } from './scheduleReadableStreamLike';\nexport function scheduled(input, scheduler) {\n if (input != null) {\n if (isInteropObservable(input)) {\n return scheduleObservable(input, scheduler);\n }\n if (isArrayLike(input)) {\n return scheduleArray(input, scheduler);\n }\n if (isPromise(input)) {\n return schedulePromise(input, scheduler);\n }\n if (isAsyncIterable(input)) {\n return scheduleAsyncIterable(input, scheduler);\n }\n if (isIterable(input)) {\n return scheduleIterable(input, scheduler);\n }\n if (isReadableStreamLike(input)) {\n return scheduleReadableStreamLike(input, scheduler);\n }\n }\n throw createInvalidObservableTypeError(input);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function scheduleObservable(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nexport function scheduleArray(input, scheduler) {\n return new Observable((subscriber) => {\n let i = 0;\n return scheduler.schedule(function () {\n if (i === input.length) {\n subscriber.complete();\n }\n else {\n subscriber.next(input[i++]);\n if (!subscriber.closed) {\n this.schedule();\n }\n }\n });\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function schedulePromise(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from '../util/isFunction';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleIterable(input, scheduler) {\n return new Observable((subscriber) => {\n let iterator;\n executeSchedule(subscriber, scheduler, () => {\n iterator = input[Symbol_iterator]();\n executeSchedule(subscriber, scheduler, () => {\n let value;\n let done;\n try {\n ({ value, done } = iterator.next());\n }\n catch (err) {\n subscriber.error(err);\n return;\n }\n if (done) {\n subscriber.complete();\n }\n else {\n subscriber.next(value);\n }\n }, 0, true);\n });\n return () => isFunction(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return();\n });\n}\n","import { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { readableStreamLikeToAsyncGenerator } from '../util/isReadableStreamLike';\nexport function scheduleReadableStreamLike(input, scheduler) {\n return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { Observable } from '../Observable';\nimport { mergeMap } from '../operators/mergeMap';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isFunction } from '../util/isFunction';\nimport { mapOneOrManyArgs } from '../util/mapOneOrManyArgs';\nconst nodeEventEmitterMethods = ['addListener', 'removeListener'];\nconst eventTargetMethods = ['addEventListener', 'removeEventListener'];\nconst jqueryMethods = ['on', 'off'];\nexport function fromEvent(target, eventName, options, resultSelector) {\n if (isFunction(options)) {\n resultSelector = options;\n options = undefined;\n }\n if (resultSelector) {\n return fromEvent(target, eventName, options).pipe(mapOneOrManyArgs(resultSelector));\n }\n const [add, remove] = isEventTarget(target)\n ? eventTargetMethods.map((methodName) => (handler) => target[methodName](eventName, handler, options))\n :\n isNodeStyleEventEmitter(target)\n ? nodeEventEmitterMethods.map(toCommonHandlerRegistry(target, eventName))\n : isJQueryStyleEventEmitter(target)\n ? jqueryMethods.map(toCommonHandlerRegistry(target, eventName))\n : [];\n if (!add) {\n if (isArrayLike(target)) {\n return mergeMap((subTarget) => fromEvent(subTarget, eventName, options))(innerFrom(target));\n }\n }\n if (!add) {\n throw new TypeError('Invalid event target');\n }\n return new Observable((subscriber) => {\n const handler = (...args) => subscriber.next(1 < args.length ? args : args[0]);\n add(handler);\n return () => remove(handler);\n });\n}\nfunction toCommonHandlerRegistry(target, eventName) {\n return (methodName) => (handler) => target[methodName](eventName, handler);\n}\nfunction isNodeStyleEventEmitter(target) {\n return isFunction(target.addListener) && isFunction(target.removeListener);\n}\nfunction isJQueryStyleEventEmitter(target) {\n return isFunction(target.on) && isFunction(target.off);\n}\nfunction isEventTarget(target) {\n return isFunction(target.addEventListener) && isFunction(target.removeEventListener);\n}\n","import { mergeAll } from '../operators/mergeAll';\nimport { innerFrom } from './innerFrom';\nimport { EMPTY } from './empty';\nimport { popNumber, popScheduler } from '../util/args';\nimport { from } from './from';\nexport function merge(...args) {\n const scheduler = popScheduler(args);\n const concurrent = popNumber(args, Infinity);\n const sources = args;\n return !sources.length\n ?\n EMPTY\n : sources.length === 1\n ?\n innerFrom(sources[0])\n :\n mergeAll(concurrent)(from(sources, scheduler));\n}\n","import { popScheduler } from '../util/args';\nimport { from } from './from';\nexport function of(...args) {\n const scheduler = popScheduler(args);\n return from(args, scheduler);\n}\n","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 if (first || !comparator(previousKey, currentKey)) {\n first = false;\n previousKey = currentKey;\n subscriber.next(value);\n }\n }));\n });\n}\nfunction defaultCompare(a, b) {\n return a === b;\n}\n","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}\n","import { mergeMap } from './mergeMap';\nimport { identity } from '../util/identity';\nexport function mergeAll(concurrent = Infinity) {\n return mergeMap(identity, concurrent);\n}\n","import { executeSchedule } from '../util/executeSchedule';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function observeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, (value) => executeSchedule(subscriber, scheduler, () => subscriber.next(value), delay), () => executeSchedule(subscriber, scheduler, () => subscriber.complete(), delay), (err) => executeSchedule(subscriber, scheduler, () => subscriber.error(err), delay)));\n });\n}\n","import { filter } from './filter';\nexport function skip(count) {\n return filter((_, index) => count <= index);\n}\n","import { concat } from '../observable/concat';\nimport { popScheduler } from '../util/args';\nimport { operate } from '../util/lift';\nexport function startWith(...values) {\n const scheduler = popScheduler(values);\n return operate((source, subscriber) => {\n (scheduler ? concat(values, source, scheduler) : concat(values, source)).subscribe(subscriber);\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function switchMap(project, resultSelector) {\n return operate((source, subscriber) => {\n let innerSubscriber = null;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => isComplete && !innerSubscriber && subscriber.complete();\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n innerSubscriber === null || innerSubscriber === void 0 ? void 0 : innerSubscriber.unsubscribe();\n let innerIndex = 0;\n const outerIndex = index++;\n innerFrom(project(value, outerIndex)).subscribe((innerSubscriber = createOperatorSubscriber(subscriber, (innerValue) => subscriber.next(resultSelector ? resultSelector(value, innerValue, outerIndex, innerIndex++) : innerValue), () => {\n innerSubscriber = null;\n checkComplete();\n })));\n }, () => {\n isComplete = true;\n checkComplete();\n }));\n });\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { innerFrom } from '../observable/innerFrom';\nimport { noop } from '../util/noop';\nexport function takeUntil(notifier) {\n return operate((source, subscriber) => {\n innerFrom(notifier).subscribe(createOperatorSubscriber(subscriber, () => subscriber.complete(), noop));\n !subscriber.closed && source.subscribe(subscriber);\n });\n}\n","import { isFunction } from './isFunction';\nimport { isScheduler } from './isScheduler';\nfunction last(arr) {\n return arr[arr.length - 1];\n}\nexport function popResultSelector(args) {\n return isFunction(last(args)) ? args.pop() : undefined;\n}\nexport function popScheduler(args) {\n return isScheduler(last(args)) ? args.pop() : undefined;\n}\nexport function popNumber(args, defaultValue) {\n return typeof last(args) === 'number' ? args.pop() : defaultValue;\n}\n","import { map } from \"../operators/map\";\nconst { isArray } = Array;\nfunction callOrApply(fn, args) {\n return isArray(args) ? fn(...args) : fn(args);\n}\nexport function mapOneOrManyArgs(fn) {\n return map(args => callOrApply(fn, args));\n}\n","import * as i1$2 from '@angular/common';\nimport { DOCUMENT, CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { forwardRef, Directive, Inject, EventEmitter, Optional, Output, Input, Component, ViewEncapsulation, ChangeDetectionStrategy, ViewChild, InjectionToken, TemplateRef, ContentChild, ContentChildren, QueryList, Attribute, NgModule } from '@angular/core';\nimport * as i5 from '@angular/material/core';\nimport { mixinDisabled, mixinColor, mixinDisableRipple, mixinTabIndex, MAT_RIPPLE_GLOBAL_OPTIONS, MatCommonModule, MatRippleModule } from '@angular/material/core';\nimport * as i2 from '@angular/cdk/portal';\nimport { CdkPortalOutlet, CdkPortal, TemplatePortal, PortalModule } from '@angular/cdk/portal';\nimport * as i5$1 from '@angular/cdk/observers';\nimport { ObserversModule } from '@angular/cdk/observers';\nimport * as i4 from '@angular/cdk/a11y';\nimport { FocusKeyManager, A11yModule } from '@angular/cdk/a11y';\nimport * as i1 from '@angular/cdk/bidi';\nimport { Subscription, Subject, fromEvent, of, merge, EMPTY, Observable, timer, BehaviorSubject } from 'rxjs';\nimport { startWith, distinctUntilChanged, takeUntil, take, switchMap, skip, filter } from 'rxjs/operators';\nimport { trigger, state, style, transition, animate } from '@angular/animations';\nimport { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';\nimport * as i1$1 from '@angular/cdk/scrolling';\nimport * as i3 from '@angular/cdk/platform';\nimport { normalizePassiveListenerOptions } from '@angular/cdk/platform';\nimport { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';\nimport { hasModifierKey, SPACE, ENTER } from '@angular/cdk/keycodes';\n\n/**\n * Animations used by the Material tabs.\n * @docs-private\n */\nconst matTabsAnimations = {\n /** Animation translates a tab along the X axis. */\n translateTab: trigger('translateTab', [\n // Transitions to `none` instead of 0, because some browsers might blur the content.\n state('center, void, left-origin-center, right-origin-center', style({ transform: 'none' })),\n // If the tab is either on the left or right, we additionally add a `min-height` of 1px\n // in order to ensure that the element has a height before its state changes. This is\n // necessary because Chrome does seem to skip the transition in RTL mode if the element does\n // not have a static height and is not rendered. See related issue: #9465\n state('left', style({\n transform: 'translate3d(-100%, 0, 0)',\n minHeight: '1px',\n // Normally this is redundant since we detach the content from the DOM, but if the user\n // opted into keeping the content in the DOM, we have to hide it so it isn't focusable.\n visibility: 'hidden',\n })),\n state('right', style({\n transform: 'translate3d(100%, 0, 0)',\n minHeight: '1px',\n visibility: 'hidden',\n })),\n transition('* => left, * => right, left => center, right => center', animate('{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)')),\n transition('void => left-origin-center', [\n style({ transform: 'translate3d(-100%, 0, 0)', visibility: 'hidden' }),\n animate('{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)'),\n ]),\n transition('void => right-origin-center', [\n style({ transform: 'translate3d(100%, 0, 0)', visibility: 'hidden' }),\n animate('{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)'),\n ]),\n ]),\n};\n\n/**\n * The portal host directive for the contents of the tab.\n * @docs-private\n */\nclass MatTabBodyPortal extends CdkPortalOutlet {\n constructor(componentFactoryResolver, viewContainerRef, _host, _document) {\n super(componentFactoryResolver, viewContainerRef, _document);\n this._host = _host;\n /** Subscription to events for when the tab body begins centering. */\n this._centeringSub = Subscription.EMPTY;\n /** Subscription to events for when the tab body finishes leaving from center position. */\n this._leavingSub = Subscription.EMPTY;\n }\n /** Set initial visibility or set up subscription for changing visibility. */\n ngOnInit() {\n super.ngOnInit();\n this._centeringSub = this._host._beforeCentering\n .pipe(startWith(this._host._isCenterPosition(this._host._position)))\n .subscribe((isCentering) => {\n if (isCentering && !this.hasAttached()) {\n this.attach(this._host._content);\n }\n });\n this._leavingSub = this._host._afterLeavingCenter.subscribe(() => {\n if (!this._host.preserveContent) {\n this.detach();\n }\n });\n }\n /** Clean up centering subscription. */\n ngOnDestroy() {\n super.ngOnDestroy();\n this._centeringSub.unsubscribe();\n this._leavingSub.unsubscribe();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTabBodyPortal, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.ViewContainerRef }, { token: forwardRef(() => MatTabBody) }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatTabBodyPortal, selector: \"[matTabBodyHost]\", usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTabBodyPortal, decorators: [{\n type: Directive,\n args: [{\n selector: '[matTabBodyHost]',\n }]\n }], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i0.ViewContainerRef }, { type: MatTabBody, decorators: [{\n type: Inject,\n args: [forwardRef(() => MatTabBody)]\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }]; } });\n/**\n * Base class with all of the `MatTabBody` functionality.\n * @docs-private\n */\nclass _MatTabBodyBase {\n /** The shifted index position of the tab body, where zero represents the active center tab. */\n set position(position) {\n this._positionIndex = position;\n this._computePositionAnimationState();\n }\n constructor(_elementRef, _dir, changeDetectorRef) {\n this._elementRef = _elementRef;\n this._dir = _dir;\n /** Subscription to the directionality change observable. */\n this._dirChangeSubscription = Subscription.EMPTY;\n /** Emits when an animation on the tab is complete. */\n this._translateTabComplete = new Subject();\n /** Event emitted when the tab begins to animate towards the center as the active tab. */\n this._onCentering = new EventEmitter();\n /** Event emitted before the centering of the tab begins. */\n this._beforeCentering = new EventEmitter();\n /** Event emitted before the centering of the tab begins. */\n this._afterLeavingCenter = new EventEmitter();\n /** Event emitted when the tab completes its animation towards the center. */\n this._onCentered = new EventEmitter(true);\n // Note that the default value will always be overwritten by `MatTabBody`, but we need one\n // anyway to prevent the animations module from throwing an error if the body is used on its own.\n /** Duration for the tab's animation. */\n this.animationDuration = '500ms';\n /** Whether the tab's content should be kept in the DOM while it's off-screen. */\n this.preserveContent = false;\n if (_dir) {\n this._dirChangeSubscription = _dir.change.subscribe((dir) => {\n this._computePositionAnimationState(dir);\n changeDetectorRef.markForCheck();\n });\n }\n // Ensure that we get unique animation events, because the `.done` callback can get\n // invoked twice in some browsers. See https://github.com/angular/angular/issues/24084.\n this._translateTabComplete\n .pipe(distinctUntilChanged((x, y) => {\n return x.fromState === y.fromState && x.toState === y.toState;\n }))\n .subscribe(event => {\n // If the transition to the center is complete, emit an event.\n if (this._isCenterPosition(event.toState) && this._isCenterPosition(this._position)) {\n this._onCentered.emit();\n }\n if (this._isCenterPosition(event.fromState) && !this._isCenterPosition(this._position)) {\n this._afterLeavingCenter.emit();\n }\n });\n }\n /**\n * After initialized, check if the content is centered and has an origin. If so, set the\n * special position states that transition the tab from the left or right before centering.\n */\n ngOnInit() {\n if (this._position == 'center' && this.origin != null) {\n this._position = this._computePositionFromOrigin(this.origin);\n }\n }\n ngOnDestroy() {\n this._dirChangeSubscription.unsubscribe();\n this._translateTabComplete.complete();\n }\n _onTranslateTabStarted(event) {\n const isCentering = this._isCenterPosition(event.toState);\n this._beforeCentering.emit(isCentering);\n if (isCentering) {\n this._onCentering.emit(this._elementRef.nativeElement.clientHeight);\n }\n }\n /** The text direction of the containing app. */\n _getLayoutDirection() {\n return this._dir && this._dir.value === 'rtl' ? 'rtl' : 'ltr';\n }\n /** Whether the provided position state is considered center, regardless of origin. */\n _isCenterPosition(position) {\n return (position == 'center' || position == 'left-origin-center' || position == 'right-origin-center');\n }\n /** Computes the position state that will be used for the tab-body animation trigger. */\n _computePositionAnimationState(dir = this._getLayoutDirection()) {\n if (this._positionIndex < 0) {\n this._position = dir == 'ltr' ? 'left' : 'right';\n }\n else if (this._positionIndex > 0) {\n this._position = dir == 'ltr' ? 'right' : 'left';\n }\n else {\n this._position = 'center';\n }\n }\n /**\n * Computes the position state based on the specified origin position. This is used if the\n * tab is becoming visible immediately after creation.\n */\n _computePositionFromOrigin(origin) {\n const dir = this._getLayoutDirection();\n if ((dir == 'ltr' && origin <= 0) || (dir == 'rtl' && origin > 0)) {\n return 'left-origin-center';\n }\n return 'right-origin-center';\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatTabBodyBase, deps: [{ token: i0.ElementRef }, { token: i1.Directionality, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: _MatTabBodyBase, inputs: { _content: [\"content\", \"_content\"], origin: \"origin\", animationDuration: \"animationDuration\", preserveContent: \"preserveContent\", position: \"position\" }, outputs: { _onCentering: \"_onCentering\", _beforeCentering: \"_beforeCentering\", _afterLeavingCenter: \"_afterLeavingCenter\", _onCentered: \"_onCentered\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatTabBodyBase, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.Directionality, decorators: [{\n type: Optional\n }] }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _onCentering: [{\n type: Output\n }], _beforeCentering: [{\n type: Output\n }], _afterLeavingCenter: [{\n type: Output\n }], _onCentered: [{\n type: Output\n }], _content: [{\n type: Input,\n args: ['content']\n }], origin: [{\n type: Input\n }], animationDuration: [{\n type: Input\n }], preserveContent: [{\n type: Input\n }], position: [{\n type: Input\n }] } });\n/**\n * Wrapper for the contents of a tab.\n * @docs-private\n */\nclass MatTabBody extends _MatTabBodyBase {\n constructor(elementRef, dir, changeDetectorRef) {\n super(elementRef, dir, changeDetectorRef);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTabBody, deps: [{ token: i0.ElementRef }, { token: i1.Directionality, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatTabBody, selector: \"mat-tab-body\", host: { classAttribute: \"mat-mdc-tab-body\" }, viewQueries: [{ propertyName: \"_portalHost\", first: true, predicate: CdkPortalOutlet, descendants: true }], usesInheritance: true, ngImport: i0, template: \"
\\n \\n
\\n\", styles: [\".mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*=\\\"visibility: hidden\\\"]{display:none}\"], dependencies: [{ kind: \"directive\", type: MatTabBodyPortal, selector: \"[matTabBodyHost]\" }], animations: [matTabsAnimations.translateTab], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTabBody, decorators: [{\n type: Component,\n args: [{ selector: 'mat-tab-body', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, animations: [matTabsAnimations.translateTab], host: {\n 'class': 'mat-mdc-tab-body',\n }, template: \"
\\n \\n
\\n\", styles: [\".mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*=\\\"visibility: hidden\\\"]{display:none}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.Directionality, decorators: [{\n type: Optional\n }] }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _portalHost: [{\n type: ViewChild,\n args: [CdkPortalOutlet]\n }] } });\n\n/**\n * Injection token that can be used to reference instances of `MatTabContent`. It serves as\n * alternative token to the actual `MatTabContent` class which could cause unnecessary\n * retention of the class and its directive metadata.\n */\nconst MAT_TAB_CONTENT = new InjectionToken('MatTabContent');\n/** Decorates the `ng-template` tags and reads out the template from it. */\nclass MatTabContent {\n constructor(/** Content for the tab. */ template) {\n this.template = template;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTabContent, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatTabContent, selector: \"[matTabContent]\", providers: [{ provide: MAT_TAB_CONTENT, useExisting: MatTabContent }], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTabContent, decorators: [{\n type: Directive,\n args: [{\n selector: '[matTabContent]',\n providers: [{ provide: MAT_TAB_CONTENT, useExisting: MatTabContent }],\n }]\n }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });\n\n/**\n * Injection token that can be used to reference instances of `MatTabLabel`. It serves as\n * alternative token to the actual `MatTabLabel` class which could cause unnecessary\n * retention of the class and its directive metadata.\n */\nconst MAT_TAB_LABEL = new InjectionToken('MatTabLabel');\n/**\n * Used to provide a tab label to a tab without causing a circular dependency.\n * @docs-private\n */\nconst MAT_TAB = new InjectionToken('MAT_TAB');\n/** Used to flag tab labels for use with the portal directive */\nclass MatTabLabel extends CdkPortal {\n constructor(templateRef, viewContainerRef, _closestTab) {\n super(templateRef, viewContainerRef);\n this._closestTab = _closestTab;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTabLabel, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: MAT_TAB, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatTabLabel, selector: \"[mat-tab-label], [matTabLabel]\", providers: [{ provide: MAT_TAB_LABEL, useExisting: MatTabLabel }], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTabLabel, decorators: [{\n type: Directive,\n args: [{\n selector: '[mat-tab-label], [matTabLabel]',\n providers: [{ provide: MAT_TAB_LABEL, useExisting: MatTabLabel }],\n }]\n }], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef }, { type: undefined, decorators: [{\n type: Inject,\n args: [MAT_TAB]\n }, {\n type: Optional\n }] }]; } });\n\n/** Class that is applied when a tab indicator is active. */\nconst ACTIVE_CLASS = 'mdc-tab-indicator--active';\n/** Class that is applied when the tab indicator should not transition. */\nconst NO_TRANSITION_CLASS = 'mdc-tab-indicator--no-transition';\n/**\n * Abstraction around the MDC tab indicator that acts as the tab header's ink bar.\n * @docs-private\n */\nclass MatInkBar {\n constructor(_items) {\n this._items = _items;\n }\n /** Hides the ink bar. */\n hide() {\n this._items.forEach(item => item.deactivateInkBar());\n }\n /** Aligns the ink bar to a DOM node. */\n alignToElement(element) {\n const correspondingItem = this._items.find(item => item.elementRef.nativeElement === element);\n const currentItem = this._currentItem;\n if (correspondingItem === currentItem) {\n return;\n }\n currentItem?.deactivateInkBar();\n if (correspondingItem) {\n const clientRect = currentItem?.elementRef.nativeElement.getBoundingClientRect?.();\n // The ink bar won't animate unless we give it the `ClientRect` of the previous item.\n correspondingItem.activateInkBar(clientRect);\n this._currentItem = correspondingItem;\n }\n }\n}\n/**\n * Mixin that can be used to apply the `MatInkBarItem` behavior to a class.\n * Base on MDC's `MDCSlidingTabIndicatorFoundation`:\n * https://github.com/material-components/material-components-web/blob/c0a11ef0d000a098fd0c372be8f12d6a99302855/packages/mdc-tab-indicator/sliding-foundation.ts\n * @docs-private\n */\nfunction mixinInkBarItem(base) {\n return class extends base {\n constructor(...args) {\n super(...args);\n this._fitToContent = false;\n }\n /** Whether the ink bar should fit to the entire tab or just its content. */\n get fitInkBarToContent() {\n return this._fitToContent;\n }\n set fitInkBarToContent(v) {\n const newValue = coerceBooleanProperty(v);\n if (this._fitToContent !== newValue) {\n this._fitToContent = newValue;\n if (this._inkBarElement) {\n this._appendInkBarElement();\n }\n }\n }\n /** Aligns the ink bar to the current item. */\n activateInkBar(previousIndicatorClientRect) {\n const element = this.elementRef.nativeElement;\n // Early exit if no indicator is present to handle cases where an indicator\n // may be activated without a prior indicator state\n if (!previousIndicatorClientRect ||\n !element.getBoundingClientRect ||\n !this._inkBarContentElement) {\n element.classList.add(ACTIVE_CLASS);\n return;\n }\n // This animation uses the FLIP approach. You can read more about it at the link below:\n // https://aerotwist.com/blog/flip-your-animations/\n // Calculate the dimensions based on the dimensions of the previous indicator\n const currentClientRect = element.getBoundingClientRect();\n const widthDelta = previousIndicatorClientRect.width / currentClientRect.width;\n const xPosition = previousIndicatorClientRect.left - currentClientRect.left;\n element.classList.add(NO_TRANSITION_CLASS);\n this._inkBarContentElement.style.setProperty('transform', `translateX(${xPosition}px) scaleX(${widthDelta})`);\n // Force repaint before updating classes and transform to ensure the transform properly takes effect\n element.getBoundingClientRect();\n element.classList.remove(NO_TRANSITION_CLASS);\n element.classList.add(ACTIVE_CLASS);\n this._inkBarContentElement.style.setProperty('transform', '');\n }\n /** Removes the ink bar from the current item. */\n deactivateInkBar() {\n this.elementRef.nativeElement.classList.remove(ACTIVE_CLASS);\n }\n /** Initializes the foundation. */\n ngOnInit() {\n this._createInkBarElement();\n }\n /** Destroys the foundation. */\n ngOnDestroy() {\n this._inkBarElement?.remove();\n this._inkBarElement = this._inkBarContentElement = null;\n }\n /** Creates and appends the ink bar element. */\n _createInkBarElement() {\n const documentNode = this.elementRef.nativeElement.ownerDocument || document;\n this._inkBarElement = documentNode.createElement('span');\n this._inkBarContentElement = documentNode.createElement('span');\n this._inkBarElement.className = 'mdc-tab-indicator';\n this._inkBarContentElement.className =\n 'mdc-tab-indicator__content mdc-tab-indicator__content--underline';\n this._inkBarElement.appendChild(this._inkBarContentElement);\n this._appendInkBarElement();\n }\n /**\n * Appends the ink bar to the tab host element or content, depending on whether\n * the ink bar should fit to content.\n */\n _appendInkBarElement() {\n if (!this._inkBarElement && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error('Ink bar element has not been created and cannot be appended');\n }\n const parentElement = this._fitToContent\n ? this.elementRef.nativeElement.querySelector('.mdc-tab__content')\n : this.elementRef.nativeElement;\n if (!parentElement && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error('Missing element to host the ink bar');\n }\n parentElement.appendChild(this._inkBarElement);\n }\n };\n}\n/**\n * The default positioner function for the MatInkBar.\n * @docs-private\n */\nfunction _MAT_INK_BAR_POSITIONER_FACTORY() {\n const method = (element) => ({\n left: element ? (element.offsetLeft || 0) + 'px' : '0',\n width: element ? (element.offsetWidth || 0) + 'px' : '0',\n });\n return method;\n}\n/** Injection token for the MatInkBar's Positioner. */\nconst _MAT_INK_BAR_POSITIONER = new InjectionToken('MatInkBarPositioner', {\n providedIn: 'root',\n factory: _MAT_INK_BAR_POSITIONER_FACTORY,\n});\n\n// Boilerplate for applying mixins to MatTabLabelWrapper.\n/** @docs-private */\nconst _MatTabLabelWrapperMixinBase = mixinDisabled(class {\n});\n/**\n * Used in the `mat-tab-group` view to display tab labels.\n * @docs-private\n */\nclass _MatTabLabelWrapperBase extends _MatTabLabelWrapperMixinBase {\n constructor(elementRef) {\n super();\n this.elementRef = elementRef;\n }\n /** Sets focus on the wrapper element */\n focus() {\n this.elementRef.nativeElement.focus();\n }\n getOffsetLeft() {\n return this.elementRef.nativeElement.offsetLeft;\n }\n getOffsetWidth() {\n return this.elementRef.nativeElement.offsetWidth;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatTabLabelWrapperBase, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: _MatTabLabelWrapperBase, usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatTabLabelWrapperBase, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });\nconst _MatTabLabelWrapperBaseWithInkBarItem = mixinInkBarItem(_MatTabLabelWrapperBase);\n/**\n * Used in the `mat-tab-group` view to display tab labels.\n * @docs-private\n */\nclass MatTabLabelWrapper extends _MatTabLabelWrapperBaseWithInkBarItem {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTabLabelWrapper, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatTabLabelWrapper, selector: \"[matTabLabelWrapper]\", inputs: { disabled: \"disabled\", fitInkBarToContent: \"fitInkBarToContent\" }, host: { properties: { \"class.mat-mdc-tab-disabled\": \"disabled\", \"attr.aria-disabled\": \"!!disabled\" } }, usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTabLabelWrapper, decorators: [{\n type: Directive,\n args: [{\n selector: '[matTabLabelWrapper]',\n inputs: ['disabled', 'fitInkBarToContent'],\n host: {\n '[class.mat-mdc-tab-disabled]': 'disabled',\n '[attr.aria-disabled]': '!!disabled',\n },\n }]\n }] });\n\n// Boilerplate for applying mixins to MatTab.\n/** @docs-private */\nconst _MatTabMixinBase = mixinDisabled(class {\n});\n/**\n * Used to provide a tab group to a tab without causing a circular dependency.\n * @docs-private\n */\nconst MAT_TAB_GROUP = new InjectionToken('MAT_TAB_GROUP');\n/** @docs-private */\nclass _MatTabBase extends _MatTabMixinBase {\n /** @docs-private */\n get content() {\n return this._contentPortal;\n }\n constructor(_viewContainerRef, _closestTabGroup) {\n super();\n this._viewContainerRef = _viewContainerRef;\n this._closestTabGroup = _closestTabGroup;\n /** Plain text label for the tab, used when there is no template label. */\n this.textLabel = '';\n /** Portal that will be the hosted content of the tab */\n this._contentPortal = null;\n /** Emits whenever the internal state of the tab changes. */\n this._stateChanges = new Subject();\n /**\n * The relatively indexed position where 0 represents the center, negative is left, and positive\n * represents the right.\n */\n this.position = null;\n /**\n * The initial relatively index origin of the tab if it was created and selected after there\n * was already a selected tab. Provides context of what position the tab should originate from.\n */\n this.origin = null;\n /**\n * Whether the tab is currently active.\n */\n this.isActive = false;\n }\n ngOnChanges(changes) {\n if (changes.hasOwnProperty('textLabel') || changes.hasOwnProperty('disabled')) {\n this._stateChanges.next();\n }\n }\n ngOnDestroy() {\n this._stateChanges.complete();\n }\n ngOnInit() {\n this._contentPortal = new TemplatePortal(this._explicitContent || this._implicitContent, this._viewContainerRef);\n }\n /**\n * This has been extracted to a util because of TS 4 and VE.\n * View Engine doesn't support property rename inheritance.\n * TS 4.0 doesn't allow properties to override accessors or vice-versa.\n * @docs-private\n */\n _setTemplateLabelInput(value) {\n // Only update the label if the query managed to find one. This works around an issue where a\n // user may have manually set `templateLabel` during creation mode, which would then get\n // clobbered by `undefined` when the query resolves. Also note that we check that the closest\n // tab matches the current one so that we don't pick up labels from nested tabs.\n if (value && value._closestTab === this) {\n this._templateLabel = value;\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatTabBase, deps: [{ token: i0.ViewContainerRef }, { token: MAT_TAB_GROUP, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: _MatTabBase, inputs: { textLabel: [\"label\", \"textLabel\"], ariaLabel: [\"aria-label\", \"ariaLabel\"], ariaLabelledby: [\"aria-labelledby\", \"ariaLabelledby\"], labelClass: \"labelClass\", bodyClass: \"bodyClass\" }, viewQueries: [{ propertyName: \"_implicitContent\", first: true, predicate: TemplateRef, descendants: true, static: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatTabBase, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: undefined, decorators: [{\n type: Inject,\n args: [MAT_TAB_GROUP]\n }, {\n type: Optional\n }] }]; }, propDecorators: { _implicitContent: [{\n type: ViewChild,\n args: [TemplateRef, { static: true }]\n }], textLabel: [{\n type: Input,\n args: ['label']\n }], ariaLabel: [{\n type: Input,\n args: ['aria-label']\n }], ariaLabelledby: [{\n type: Input,\n args: ['aria-labelledby']\n }], labelClass: [{\n type: Input\n }], bodyClass: [{\n type: Input\n }] } });\nclass MatTab extends _MatTabBase {\n constructor() {\n super(...arguments);\n /**\n * Template provided in the tab content that will be used if present, used to enable lazy-loading\n */\n this._explicitContent = undefined;\n }\n /** Content for the tab label given by ``. */\n get templateLabel() {\n return this._templateLabel;\n }\n set templateLabel(value) {\n this._setTemplateLabelInput(value);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTab, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatTab, selector: \"mat-tab\", inputs: { disabled: \"disabled\" }, providers: [{ provide: MAT_TAB, useExisting: MatTab }], queries: [{ propertyName: \"_explicitContent\", first: true, predicate: MatTabContent, descendants: true, read: TemplateRef, static: true }, { propertyName: \"templateLabel\", first: true, predicate: MatTabLabel, descendants: true }], exportAs: [\"matTab\"], usesInheritance: true, ngImport: i0, template: \"\\n\\n\", changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTab, decorators: [{\n type: Component,\n args: [{ selector: 'mat-tab', inputs: ['disabled'], changeDetection: ChangeDetectionStrategy.Default, encapsulation: ViewEncapsulation.None, exportAs: 'matTab', providers: [{ provide: MAT_TAB, useExisting: MatTab }], template: \"\\n\\n\" }]\n }], propDecorators: { _explicitContent: [{\n type: ContentChild,\n args: [MatTabContent, { read: TemplateRef, static: true }]\n }], templateLabel: [{\n type: ContentChild,\n args: [MatTabLabel]\n }] } });\n\n/** Config used to bind passive event listeners */\nconst passiveEventListenerOptions = normalizePassiveListenerOptions({\n passive: true,\n});\n/**\n * Amount of milliseconds to wait before starting to scroll the header automatically.\n * Set a little conservatively in order to handle fake events dispatched on touch devices.\n */\nconst HEADER_SCROLL_DELAY = 650;\n/**\n * Interval in milliseconds at which to scroll the header\n * while the user is holding their pointer.\n */\nconst HEADER_SCROLL_INTERVAL = 100;\n/**\n * Base class for a tab header that supported pagination.\n * @docs-private\n */\nclass MatPaginatedTabHeader {\n /**\n * Whether pagination should be disabled. This can be used to avoid unnecessary\n * layout recalculations if it's known that pagination won't be required.\n */\n get disablePagination() {\n return this._disablePagination;\n }\n set disablePagination(value) {\n this._disablePagination = coerceBooleanProperty(value);\n }\n /** The index of the active tab. */\n get selectedIndex() {\n return this._selectedIndex;\n }\n set selectedIndex(value) {\n value = coerceNumberProperty(value);\n if (this._selectedIndex != value) {\n this._selectedIndexChanged = true;\n this._selectedIndex = value;\n if (this._keyManager) {\n this._keyManager.updateActiveItem(value);\n }\n }\n }\n constructor(_elementRef, _changeDetectorRef, _viewportRuler, _dir, _ngZone, _platform, _animationMode) {\n this._elementRef = _elementRef;\n this._changeDetectorRef = _changeDetectorRef;\n this._viewportRuler = _viewportRuler;\n this._dir = _dir;\n this._ngZone = _ngZone;\n this._platform = _platform;\n this._animationMode = _animationMode;\n /** The distance in pixels that the tab labels should be translated to the left. */\n this._scrollDistance = 0;\n /** Whether the header should scroll to the selected index after the view has been checked. */\n this._selectedIndexChanged = false;\n /** Emits when the component is destroyed. */\n this._destroyed = new Subject();\n /** Whether the controls for pagination should be displayed */\n this._showPaginationControls = false;\n /** Whether the tab list can be scrolled more towards the end of the tab label list. */\n this._disableScrollAfter = true;\n /** Whether the tab list can be scrolled more towards the beginning of the tab label list. */\n this._disableScrollBefore = true;\n /** Stream that will stop the automated scrolling. */\n this._stopScrolling = new Subject();\n this._disablePagination = false;\n this._selectedIndex = 0;\n /** Event emitted when the option is selected. */\n this.selectFocusedIndex = new EventEmitter();\n /** Event emitted when a label is focused. */\n this.indexFocused = new EventEmitter();\n // Bind the `mouseleave` event on the outside since it doesn't change anything in the view.\n _ngZone.runOutsideAngular(() => {\n fromEvent(_elementRef.nativeElement, 'mouseleave')\n .pipe(takeUntil(this._destroyed))\n .subscribe(() => {\n this._stopInterval();\n });\n });\n }\n ngAfterViewInit() {\n // We need to handle these events manually, because we want to bind passive event listeners.\n fromEvent(this._previousPaginator.nativeElement, 'touchstart', passiveEventListenerOptions)\n .pipe(takeUntil(this._destroyed))\n .subscribe(() => {\n this._handlePaginatorPress('before');\n });\n fromEvent(this._nextPaginator.nativeElement, 'touchstart', passiveEventListenerOptions)\n .pipe(takeUntil(this._destroyed))\n .subscribe(() => {\n this._handlePaginatorPress('after');\n });\n }\n ngAfterContentInit() {\n const dirChange = this._dir ? this._dir.change : of('ltr');\n const resize = this._viewportRuler.change(150);\n const realign = () => {\n this.updatePagination();\n this._alignInkBarToSelectedTab();\n };\n this._keyManager = new FocusKeyManager(this._items)\n .withHorizontalOrientation(this._getLayoutDirection())\n .withHomeAndEnd()\n .withWrap()\n // Allow focus to land on disabled tabs, as per https://w3c.github.io/aria-practices/#kbd_disabled_controls\n .skipPredicate(() => false);\n this._keyManager.updateActiveItem(this._selectedIndex);\n // Defer the first call in order to allow for slower browsers to lay out the elements.\n // This helps in cases where the user lands directly on a page with paginated tabs.\n // Note that we use `onStable` instead of `requestAnimationFrame`, because the latter\n // can hold up tests that are in a background tab.\n this._ngZone.onStable.pipe(take(1)).subscribe(realign);\n // On dir change or window resize, realign the ink bar and update the orientation of\n // the key manager if the direction has changed.\n merge(dirChange, resize, this._items.changes, this._itemsResized())\n .pipe(takeUntil(this._destroyed))\n .subscribe(() => {\n // We need to defer this to give the browser some time to recalculate\n // the element dimensions. The call has to be wrapped in `NgZone.run`,\n // because the viewport change handler runs outside of Angular.\n this._ngZone.run(() => {\n Promise.resolve().then(() => {\n // Clamp the scroll distance, because it can change with the number of tabs.\n this._scrollDistance = Math.max(0, Math.min(this._getMaxScrollDistance(), this._scrollDistance));\n realign();\n });\n });\n this._keyManager.withHorizontalOrientation(this._getLayoutDirection());\n });\n // If there is a change in the focus key manager we need to emit the `indexFocused`\n // event in order to provide a public event that notifies about focus changes. Also we realign\n // the tabs container by scrolling the new focused tab into the visible section.\n this._keyManager.change.subscribe(newFocusIndex => {\n this.indexFocused.emit(newFocusIndex);\n this._setTabFocus(newFocusIndex);\n });\n }\n /** Sends any changes that could affect the layout of the items. */\n _itemsResized() {\n if (typeof ResizeObserver !== 'function') {\n return EMPTY;\n }\n return this._items.changes.pipe(startWith(this._items), switchMap((tabItems) => new Observable((observer) => this._ngZone.runOutsideAngular(() => {\n const resizeObserver = new ResizeObserver(entries => observer.next(entries));\n tabItems.forEach(item => resizeObserver.observe(item.elementRef.nativeElement));\n return () => {\n resizeObserver.disconnect();\n };\n }))), \n // Skip the first emit since the resize observer emits when an item\n // is observed for new items when the tab is already inserted\n skip(1), \n // Skip emissions where all the elements are invisible since we don't want\n // the header to try and re-render with invalid measurements. See #25574.\n filter(entries => entries.some(e => e.contentRect.width > 0 && e.contentRect.height > 0)));\n }\n ngAfterContentChecked() {\n // If the number of tab labels have changed, check if scrolling should be enabled\n if (this._tabLabelCount != this._items.length) {\n this.updatePagination();\n this._tabLabelCount = this._items.length;\n this._changeDetectorRef.markForCheck();\n }\n // If the selected index has changed, scroll to the label and check if the scrolling controls\n // should be disabled.\n if (this._selectedIndexChanged) {\n this._scrollToLabel(this._selectedIndex);\n this._checkScrollingControls();\n this._alignInkBarToSelectedTab();\n this._selectedIndexChanged = false;\n this._changeDetectorRef.markForCheck();\n }\n // If the scroll distance has been changed (tab selected, focused, scroll controls activated),\n // then translate the header to reflect this.\n if (this._scrollDistanceChanged) {\n this._updateTabScrollPosition();\n this._scrollDistanceChanged = false;\n this._changeDetectorRef.markForCheck();\n }\n }\n ngOnDestroy() {\n this._keyManager?.destroy();\n this._destroyed.next();\n this._destroyed.complete();\n this._stopScrolling.complete();\n }\n /** Handles keyboard events on the header. */\n _handleKeydown(event) {\n // We don't handle any key bindings with a modifier key.\n if (hasModifierKey(event)) {\n return;\n }\n switch (event.keyCode) {\n case ENTER:\n case SPACE:\n if (this.focusIndex !== this.selectedIndex) {\n const item = this._items.get(this.focusIndex);\n if (item && !item.disabled) {\n this.selectFocusedIndex.emit(this.focusIndex);\n this._itemSelected(event);\n }\n }\n break;\n default:\n this._keyManager.onKeydown(event);\n }\n }\n /**\n * Callback for when the MutationObserver detects that the content has changed.\n */\n _onContentChanges() {\n const textContent = this._elementRef.nativeElement.textContent;\n // We need to diff the text content of the header, because the MutationObserver callback\n // will fire even if the text content didn't change which is inefficient and is prone\n // to infinite loops if a poorly constructed expression is passed in (see #14249).\n if (textContent !== this._currentTextContent) {\n this._currentTextContent = textContent || '';\n // The content observer runs outside the `NgZone` by default, which\n // means that we need to bring the callback back in ourselves.\n this._ngZone.run(() => {\n this.updatePagination();\n this._alignInkBarToSelectedTab();\n this._changeDetectorRef.markForCheck();\n });\n }\n }\n /**\n * Updates the view whether pagination should be enabled or not.\n *\n * WARNING: Calling this method can be very costly in terms of performance. It should be called\n * as infrequently as possible from outside of the Tabs component as it causes a reflow of the\n * page.\n */\n updatePagination() {\n this._checkPaginationEnabled();\n this._checkScrollingControls();\n this._updateTabScrollPosition();\n }\n /** Tracks which element has focus; used for keyboard navigation */\n get focusIndex() {\n return this._keyManager ? this._keyManager.activeItemIndex : 0;\n }\n /** When the focus index is set, we must manually send focus to the correct label */\n set focusIndex(value) {\n if (!this._isValidIndex(value) || this.focusIndex === value || !this._keyManager) {\n return;\n }\n this._keyManager.setActiveItem(value);\n }\n /**\n * Determines if an index is valid. If the tabs are not ready yet, we assume that the user is\n * providing a valid index and return true.\n */\n _isValidIndex(index) {\n return this._items ? !!this._items.toArray()[index] : true;\n }\n /**\n * Sets focus on the HTML element for the label wrapper and scrolls it into the view if\n * scrolling is enabled.\n */\n _setTabFocus(tabIndex) {\n if (this._showPaginationControls) {\n this._scrollToLabel(tabIndex);\n }\n if (this._items && this._items.length) {\n this._items.toArray()[tabIndex].focus();\n // Do not let the browser manage scrolling to focus the element, this will be handled\n // by using translation. In LTR, the scroll left should be 0. In RTL, the scroll width\n // should be the full width minus the offset width.\n const containerEl = this._tabListContainer.nativeElement;\n const dir = this._getLayoutDirection();\n if (dir == 'ltr') {\n containerEl.scrollLeft = 0;\n }\n else {\n containerEl.scrollLeft = containerEl.scrollWidth - containerEl.offsetWidth;\n }\n }\n }\n /** The layout direction of the containing app. */\n _getLayoutDirection() {\n return this._dir && this._dir.value === 'rtl' ? 'rtl' : 'ltr';\n }\n /** Performs the CSS transformation on the tab list that will cause the list to scroll. */\n _updateTabScrollPosition() {\n if (this.disablePagination) {\n return;\n }\n const scrollDistance = this.scrollDistance;\n const translateX = this._getLayoutDirection() === 'ltr' ? -scrollDistance : scrollDistance;\n // Don't use `translate3d` here because we don't want to create a new layer. A new layer\n // seems to cause flickering and overflow in Internet Explorer. For example, the ink bar\n // and ripples will exceed the boundaries of the visible tab bar.\n // See: https://github.com/angular/components/issues/10276\n // We round the `transform` here, because transforms with sub-pixel precision cause some\n // browsers to blur the content of the element.\n this._tabList.nativeElement.style.transform = `translateX(${Math.round(translateX)}px)`;\n // Setting the `transform` on IE will change the scroll offset of the parent, causing the\n // position to be thrown off in some cases. We have to reset it ourselves to ensure that\n // it doesn't get thrown off. Note that we scope it only to IE and Edge, because messing\n // with the scroll position throws off Chrome 71+ in RTL mode (see #14689).\n if (this._platform.TRIDENT || this._platform.EDGE) {\n this._tabListContainer.nativeElement.scrollLeft = 0;\n }\n }\n /** Sets the distance in pixels that the tab header should be transformed in the X-axis. */\n get scrollDistance() {\n return this._scrollDistance;\n }\n set scrollDistance(value) {\n this._scrollTo(value);\n }\n /**\n * Moves the tab list in the 'before' or 'after' direction (towards the beginning of the list or\n * the end of the list, respectively). The distance to scroll is computed to be a third of the\n * length of the tab list view window.\n *\n * This is an expensive call that forces a layout reflow to compute box and scroll metrics and\n * should be called sparingly.\n */\n _scrollHeader(direction) {\n const viewLength = this._tabListContainer.nativeElement.offsetWidth;\n // Move the scroll distance one-third the length of the tab list's viewport.\n const scrollAmount = ((direction == 'before' ? -1 : 1) * viewLength) / 3;\n return this._scrollTo(this._scrollDistance + scrollAmount);\n }\n /** Handles click events on the pagination arrows. */\n _handlePaginatorClick(direction) {\n this._stopInterval();\n this._scrollHeader(direction);\n }\n /**\n * Moves the tab list such that the desired tab label (marked by index) is moved into view.\n *\n * This is an expensive call that forces a layout reflow to compute box and scroll metrics and\n * should be called sparingly.\n */\n _scrollToLabel(labelIndex) {\n if (this.disablePagination) {\n return;\n }\n const selectedLabel = this._items ? this._items.toArray()[labelIndex] : null;\n if (!selectedLabel) {\n return;\n }\n // The view length is the visible width of the tab labels.\n const viewLength = this._tabListContainer.nativeElement.offsetWidth;\n const { offsetLeft, offsetWidth } = selectedLabel.elementRef.nativeElement;\n let labelBeforePos, labelAfterPos;\n if (this._getLayoutDirection() == 'ltr') {\n labelBeforePos = offsetLeft;\n labelAfterPos = labelBeforePos + offsetWidth;\n }\n else {\n labelAfterPos = this._tabListInner.nativeElement.offsetWidth - offsetLeft;\n labelBeforePos = labelAfterPos - offsetWidth;\n }\n const beforeVisiblePos = this.scrollDistance;\n const afterVisiblePos = this.scrollDistance + viewLength;\n if (labelBeforePos < beforeVisiblePos) {\n // Scroll header to move label to the before direction\n this.scrollDistance -= beforeVisiblePos - labelBeforePos;\n }\n else if (labelAfterPos > afterVisiblePos) {\n // Scroll header to move label to the after direction\n this.scrollDistance += Math.min(labelAfterPos - afterVisiblePos, labelBeforePos - beforeVisiblePos);\n }\n }\n /**\n * Evaluate whether the pagination controls should be displayed. If the scroll width of the\n * tab list is wider than the size of the header container, then the pagination controls should\n * be shown.\n *\n * This is an expensive call that forces a layout reflow to compute box and scroll metrics and\n * should be called sparingly.\n */\n _checkPaginationEnabled() {\n if (this.disablePagination) {\n this._showPaginationControls = false;\n }\n else {\n const isEnabled = this._tabListInner.nativeElement.scrollWidth > this._elementRef.nativeElement.offsetWidth;\n if (!isEnabled) {\n this.scrollDistance = 0;\n }\n if (isEnabled !== this._showPaginationControls) {\n this._changeDetectorRef.markForCheck();\n }\n this._showPaginationControls = isEnabled;\n }\n }\n /**\n * Evaluate whether the before and after controls should be enabled or disabled.\n * If the header is at the beginning of the list (scroll distance is equal to 0) then disable the\n * before button. If the header is at the end of the list (scroll distance is equal to the\n * maximum distance we can scroll), then disable the after button.\n *\n * This is an expensive call that forces a layout reflow to compute box and scroll metrics and\n * should be called sparingly.\n */\n _checkScrollingControls() {\n if (this.disablePagination) {\n this._disableScrollAfter = this._disableScrollBefore = true;\n }\n else {\n // Check if the pagination arrows should be activated.\n this._disableScrollBefore = this.scrollDistance == 0;\n this._disableScrollAfter = this.scrollDistance == this._getMaxScrollDistance();\n this._changeDetectorRef.markForCheck();\n }\n }\n /**\n * Determines what is the maximum length in pixels that can be set for the scroll distance. This\n * is equal to the difference in width between the tab list container and tab header container.\n *\n * This is an expensive call that forces a layout reflow to compute box and scroll metrics and\n * should be called sparingly.\n */\n _getMaxScrollDistance() {\n const lengthOfTabList = this._tabListInner.nativeElement.scrollWidth;\n const viewLength = this._tabListContainer.nativeElement.offsetWidth;\n return lengthOfTabList - viewLength || 0;\n }\n /** Tells the ink-bar to align itself to the current label wrapper */\n _alignInkBarToSelectedTab() {\n const selectedItem = this._items && this._items.length ? this._items.toArray()[this.selectedIndex] : null;\n const selectedLabelWrapper = selectedItem ? selectedItem.elementRef.nativeElement : null;\n if (selectedLabelWrapper) {\n this._inkBar.alignToElement(selectedLabelWrapper);\n }\n else {\n this._inkBar.hide();\n }\n }\n /** Stops the currently-running paginator interval. */\n _stopInterval() {\n this._stopScrolling.next();\n }\n /**\n * Handles the user pressing down on one of the paginators.\n * Starts scrolling the header after a certain amount of time.\n * @param direction In which direction the paginator should be scrolled.\n */\n _handlePaginatorPress(direction, mouseEvent) {\n // Don't start auto scrolling for right mouse button clicks. Note that we shouldn't have to\n // null check the `button`, but we do it so we don't break tests that use fake events.\n if (mouseEvent && mouseEvent.button != null && mouseEvent.button !== 0) {\n return;\n }\n // Avoid overlapping timers.\n this._stopInterval();\n // Start a timer after the delay and keep firing based on the interval.\n timer(HEADER_SCROLL_DELAY, HEADER_SCROLL_INTERVAL)\n // Keep the timer going until something tells it to stop or the component is destroyed.\n .pipe(takeUntil(merge(this._stopScrolling, this._destroyed)))\n .subscribe(() => {\n const { maxScrollDistance, distance } = this._scrollHeader(direction);\n // Stop the timer if we've reached the start or the end.\n if (distance === 0 || distance >= maxScrollDistance) {\n this._stopInterval();\n }\n });\n }\n /**\n * Scrolls the header to a given position.\n * @param position Position to which to scroll.\n * @returns Information on the current scroll distance and the maximum.\n */\n _scrollTo(position) {\n if (this.disablePagination) {\n return { maxScrollDistance: 0, distance: 0 };\n }\n const maxScrollDistance = this._getMaxScrollDistance();\n this._scrollDistance = Math.max(0, Math.min(maxScrollDistance, position));\n // Mark that the scroll distance has changed so that after the view is checked, the CSS\n // transformation can move the header.\n this._scrollDistanceChanged = true;\n this._checkScrollingControls();\n return { maxScrollDistance, distance: this._scrollDistance };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatPaginatedTabHeader, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1$1.ViewportRuler }, { token: i1.Directionality, optional: true }, { token: i0.NgZone }, { token: i3.Platform }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatPaginatedTabHeader, inputs: { disablePagination: \"disablePagination\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatPaginatedTabHeader, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$1.ViewportRuler }, { type: i1.Directionality, decorators: [{\n type: Optional\n }] }, { type: i0.NgZone }, { type: i3.Platform }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }]; }, propDecorators: { disablePagination: [{\n type: Input\n }] } });\n\n/**\n * Base class with all of the `MatTabHeader` functionality.\n * @docs-private\n */\nclass _MatTabHeaderBase extends MatPaginatedTabHeader {\n /** Whether the ripple effect is disabled or not. */\n get disableRipple() {\n return this._disableRipple;\n }\n set disableRipple(value) {\n this._disableRipple = coerceBooleanProperty(value);\n }\n constructor(elementRef, changeDetectorRef, viewportRuler, dir, ngZone, platform, animationMode) {\n super(elementRef, changeDetectorRef, viewportRuler, dir, ngZone, platform, animationMode);\n this._disableRipple = false;\n }\n _itemSelected(event) {\n event.preventDefault();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatTabHeaderBase, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1$1.ViewportRuler }, { token: i1.Directionality, optional: true }, { token: i0.NgZone }, { token: i3.Platform }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: _MatTabHeaderBase, inputs: { disableRipple: \"disableRipple\" }, usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatTabHeaderBase, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$1.ViewportRuler }, { type: i1.Directionality, decorators: [{\n type: Optional\n }] }, { type: i0.NgZone }, { type: i3.Platform }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }]; }, propDecorators: { disableRipple: [{\n type: Input\n }] } });\n/**\n * The header of the tab group which displays a list of all the tabs in the tab group. Includes\n * an ink bar that follows the currently selected tab. When the tabs list's width exceeds the\n * width of the header container, then arrows will be displayed to allow the user to scroll\n * left and right across the header.\n * @docs-private\n */\nclass MatTabHeader extends _MatTabHeaderBase {\n constructor(elementRef, changeDetectorRef, viewportRuler, dir, ngZone, platform, animationMode) {\n super(elementRef, changeDetectorRef, viewportRuler, dir, ngZone, platform, animationMode);\n }\n ngAfterContentInit() {\n this._inkBar = new MatInkBar(this._items);\n super.ngAfterContentInit();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTabHeader, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1$1.ViewportRuler }, { token: i1.Directionality, optional: true }, { token: i0.NgZone }, { token: i3.Platform }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatTabHeader, selector: \"mat-tab-header\", inputs: { selectedIndex: \"selectedIndex\" }, outputs: { selectFocusedIndex: \"selectFocusedIndex\", indexFocused: \"indexFocused\" }, host: { properties: { \"class.mat-mdc-tab-header-pagination-controls-enabled\": \"_showPaginationControls\", \"class.mat-mdc-tab-header-rtl\": \"_getLayoutDirection() == 'rtl'\" }, classAttribute: \"mat-mdc-tab-header\" }, queries: [{ propertyName: \"_items\", predicate: MatTabLabelWrapper }], viewQueries: [{ propertyName: \"_tabListContainer\", first: true, predicate: [\"tabListContainer\"], descendants: true, static: true }, { propertyName: \"_tabList\", first: true, predicate: [\"tabList\"], descendants: true, static: true }, { propertyName: \"_tabListInner\", first: true, predicate: [\"tabListInner\"], descendants: true, static: true }, { propertyName: \"_nextPaginator\", first: true, predicate: [\"nextPaginator\"], descendants: true }, { propertyName: \"_previousPaginator\", first: true, predicate: [\"previousPaginator\"], descendants: true }], usesInheritance: true, ngImport: i0, template: \"\\n\\n\\n\\n \\n
\\n \\n
\\n \\n\\n\\n\\n\\n\", styles: [\".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0;--mdc-tab-indicator-active-indicator-height:2px;--mdc-tab-indicator-active-indicator-shape:0;--mdc-secondary-navigation-tab-container-height:48px}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}\"], dependencies: [{ kind: \"directive\", type: i5.MatRipple, selector: \"[mat-ripple], [matRipple]\", inputs: [\"matRippleColor\", \"matRippleUnbounded\", \"matRippleCentered\", \"matRippleRadius\", \"matRippleAnimation\", \"matRippleDisabled\", \"matRippleTrigger\"], exportAs: [\"matRipple\"] }, { kind: \"directive\", type: i5$1.CdkObserveContent, selector: \"[cdkObserveContent]\", inputs: [\"cdkObserveContentDisabled\", \"debounce\"], outputs: [\"cdkObserveContent\"], exportAs: [\"cdkObserveContent\"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTabHeader, decorators: [{\n type: Component,\n args: [{ selector: 'mat-tab-header', inputs: ['selectedIndex'], outputs: ['selectFocusedIndex', 'indexFocused'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, host: {\n 'class': 'mat-mdc-tab-header',\n '[class.mat-mdc-tab-header-pagination-controls-enabled]': '_showPaginationControls',\n '[class.mat-mdc-tab-header-rtl]': \"_getLayoutDirection() == 'rtl'\",\n }, template: \"\\n\\n\\n\\n \\n
\\n \\n
\\n \\n\\n\\n\\n\\n\", styles: [\".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0;--mdc-tab-indicator-active-indicator-height:2px;--mdc-tab-indicator-active-indicator-shape:0;--mdc-secondary-navigation-tab-container-height:48px}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$1.ViewportRuler }, { type: i1.Directionality, decorators: [{\n type: Optional\n }] }, { type: i0.NgZone }, { type: i3.Platform }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }]; }, propDecorators: { _items: [{\n type: ContentChildren,\n args: [MatTabLabelWrapper, { descendants: false }]\n }], _tabListContainer: [{\n type: ViewChild,\n args: ['tabListContainer', { static: true }]\n }], _tabList: [{\n type: ViewChild,\n args: ['tabList', { static: true }]\n }], _tabListInner: [{\n type: ViewChild,\n args: ['tabListInner', { static: true }]\n }], _nextPaginator: [{\n type: ViewChild,\n args: ['nextPaginator']\n }], _previousPaginator: [{\n type: ViewChild,\n args: ['previousPaginator']\n }] } });\n\n/** Injection token that can be used to provide the default options the tabs module. */\nconst MAT_TABS_CONFIG = new InjectionToken('MAT_TABS_CONFIG');\n\n/** Used to generate unique ID's for each tab component */\nlet nextId = 0;\n// Boilerplate for applying mixins to MatTabGroup.\n/** @docs-private */\nconst _MatTabGroupMixinBase = mixinColor(mixinDisableRipple(class {\n constructor(_elementRef) {\n this._elementRef = _elementRef;\n }\n}), 'primary');\n/**\n * Base class with all of the `MatTabGroupBase` functionality.\n * @docs-private\n */\nclass _MatTabGroupBase extends _MatTabGroupMixinBase {\n /** Whether the tab group should grow to the size of the active tab. */\n get dynamicHeight() {\n return this._dynamicHeight;\n }\n set dynamicHeight(value) {\n this._dynamicHeight = coerceBooleanProperty(value);\n }\n /** The index of the active tab. */\n get selectedIndex() {\n return this._selectedIndex;\n }\n set selectedIndex(value) {\n this._indexToSelect = coerceNumberProperty(value, null);\n }\n /** Duration for the tab animation. Will be normalized to milliseconds if no units are set. */\n get animationDuration() {\n return this._animationDuration;\n }\n set animationDuration(value) {\n this._animationDuration = /^\\d+$/.test(value + '') ? value + 'ms' : value;\n }\n /**\n * `tabindex` to be set on the inner element that wraps the tab content. Can be used for improved\n * accessibility when the tab does not have focusable elements or if it has scrollable content.\n * The `tabindex` will be removed automatically for inactive tabs.\n * Read more at https://www.w3.org/TR/wai-aria-practices/examples/tabs/tabs-2/tabs.html\n */\n get contentTabIndex() {\n return this._contentTabIndex;\n }\n set contentTabIndex(value) {\n this._contentTabIndex = coerceNumberProperty(value, null);\n }\n /**\n * Whether pagination should be disabled. This can be used to avoid unnecessary\n * layout recalculations if it's known that pagination won't be required.\n */\n get disablePagination() {\n return this._disablePagination;\n }\n set disablePagination(value) {\n this._disablePagination = coerceBooleanProperty(value);\n }\n /**\n * By default tabs remove their content from the DOM while it's off-screen.\n * Setting this to `true` will keep it in the DOM which will prevent elements\n * like iframes and videos from reloading next time it comes back into the view.\n */\n get preserveContent() {\n return this._preserveContent;\n }\n set preserveContent(value) {\n this._preserveContent = coerceBooleanProperty(value);\n }\n /** Background color of the tab group. */\n get backgroundColor() {\n return this._backgroundColor;\n }\n set backgroundColor(value) {\n const classList = this._elementRef.nativeElement.classList;\n classList.remove('mat-tabs-with-background', `mat-background-${this.backgroundColor}`);\n if (value) {\n classList.add('mat-tabs-with-background', `mat-background-${value}`);\n }\n this._backgroundColor = value;\n }\n constructor(elementRef, _changeDetectorRef, defaultConfig, _animationMode) {\n super(elementRef);\n this._changeDetectorRef = _changeDetectorRef;\n this._animationMode = _animationMode;\n /** All of the tabs that belong to the group. */\n this._tabs = new QueryList();\n /** The tab index that should be selected after the content has been checked. */\n this._indexToSelect = 0;\n /** Index of the tab that was focused last. */\n this._lastFocusedTabIndex = null;\n /** Snapshot of the height of the tab body wrapper before another tab is activated. */\n this._tabBodyWrapperHeight = 0;\n /** Subscription to tabs being added/removed. */\n this._tabsSubscription = Subscription.EMPTY;\n /** Subscription to changes in the tab labels. */\n this._tabLabelSubscription = Subscription.EMPTY;\n this._dynamicHeight = false;\n this._selectedIndex = null;\n /** Position of the tab header. */\n this.headerPosition = 'above';\n this._disablePagination = false;\n this._preserveContent = false;\n /** Output to enable support for two-way binding on `[(selectedIndex)]` */\n this.selectedIndexChange = new EventEmitter();\n /** Event emitted when focus has changed within a tab group. */\n this.focusChange = new EventEmitter();\n /** Event emitted when the body animation has completed */\n this.animationDone = new EventEmitter();\n /** Event emitted when the tab selection has changed. */\n this.selectedTabChange = new EventEmitter(true);\n this._groupId = nextId++;\n this.animationDuration =\n defaultConfig && defaultConfig.animationDuration ? defaultConfig.animationDuration : '500ms';\n this.disablePagination =\n defaultConfig && defaultConfig.disablePagination != null\n ? defaultConfig.disablePagination\n : false;\n this.dynamicHeight =\n defaultConfig && defaultConfig.dynamicHeight != null ? defaultConfig.dynamicHeight : false;\n this.contentTabIndex = defaultConfig?.contentTabIndex ?? null;\n this.preserveContent = !!defaultConfig?.preserveContent;\n }\n /**\n * After the content is checked, this component knows what tabs have been defined\n * and what the selected index should be. This is where we can know exactly what position\n * each tab should be in according to the new selected index, and additionally we know how\n * a new selected tab should transition in (from the left or right).\n */\n ngAfterContentChecked() {\n // Don't clamp the `indexToSelect` immediately in the setter because it can happen that\n // the amount of tabs changes before the actual change detection runs.\n const indexToSelect = (this._indexToSelect = this._clampTabIndex(this._indexToSelect));\n // If there is a change in selected index, emit a change event. Should not trigger if\n // the selected index has not yet been initialized.\n if (this._selectedIndex != indexToSelect) {\n const isFirstRun = this._selectedIndex == null;\n if (!isFirstRun) {\n this.selectedTabChange.emit(this._createChangeEvent(indexToSelect));\n // Preserve the height so page doesn't scroll up during tab change.\n // Fixes https://stackblitz.com/edit/mat-tabs-scroll-page-top-on-tab-change\n const wrapper = this._tabBodyWrapper.nativeElement;\n wrapper.style.minHeight = wrapper.clientHeight + 'px';\n }\n // Changing these values after change detection has run\n // since the checked content may contain references to them.\n Promise.resolve().then(() => {\n this._tabs.forEach((tab, index) => (tab.isActive = index === indexToSelect));\n if (!isFirstRun) {\n this.selectedIndexChange.emit(indexToSelect);\n // Clear the min-height, this was needed during tab change to avoid\n // unnecessary scrolling.\n this._tabBodyWrapper.nativeElement.style.minHeight = '';\n }\n });\n }\n // Setup the position for each tab and optionally setup an origin on the next selected tab.\n this._tabs.forEach((tab, index) => {\n tab.position = index - indexToSelect;\n // If there is already a selected tab, then set up an origin for the next selected tab\n // if it doesn't have one already.\n if (this._selectedIndex != null && tab.position == 0 && !tab.origin) {\n tab.origin = indexToSelect - this._selectedIndex;\n }\n });\n if (this._selectedIndex !== indexToSelect) {\n this._selectedIndex = indexToSelect;\n this._lastFocusedTabIndex = null;\n this._changeDetectorRef.markForCheck();\n }\n }\n ngAfterContentInit() {\n this._subscribeToAllTabChanges();\n this._subscribeToTabLabels();\n // Subscribe to changes in the amount of tabs, in order to be\n // able to re-render the content as new tabs are added or removed.\n this._tabsSubscription = this._tabs.changes.subscribe(() => {\n const indexToSelect = this._clampTabIndex(this._indexToSelect);\n // Maintain the previously-selected tab if a new tab is added or removed and there is no\n // explicit change that selects a different tab.\n if (indexToSelect === this._selectedIndex) {\n const tabs = this._tabs.toArray();\n let selectedTab;\n for (let i = 0; i < tabs.length; i++) {\n if (tabs[i].isActive) {\n // Assign both to the `_indexToSelect` and `_selectedIndex` so we don't fire a changed\n // event, otherwise the consumer may end up in an infinite loop in some edge cases like\n // adding a tab within the `selectedIndexChange` event.\n this._indexToSelect = this._selectedIndex = i;\n this._lastFocusedTabIndex = null;\n selectedTab = tabs[i];\n break;\n }\n }\n // If we haven't found an active tab and a tab exists at the selected index, it means\n // that the active tab was swapped out. Since this won't be picked up by the rendering\n // loop in `ngAfterContentChecked`, we need to sync it up manually.\n if (!selectedTab && tabs[indexToSelect]) {\n Promise.resolve().then(() => {\n tabs[indexToSelect].isActive = true;\n this.selectedTabChange.emit(this._createChangeEvent(indexToSelect));\n });\n }\n }\n this._changeDetectorRef.markForCheck();\n });\n }\n /** Listens to changes in all of the tabs. */\n _subscribeToAllTabChanges() {\n // Since we use a query with `descendants: true` to pick up the tabs, we may end up catching\n // some that are inside of nested tab groups. We filter them out manually by checking that\n // the closest group to the tab is the current one.\n this._allTabs.changes.pipe(startWith(this._allTabs)).subscribe((tabs) => {\n this._tabs.reset(tabs.filter(tab => {\n return tab._closestTabGroup === this || !tab._closestTabGroup;\n }));\n this._tabs.notifyOnChanges();\n });\n }\n ngOnDestroy() {\n this._tabs.destroy();\n this._tabsSubscription.unsubscribe();\n this._tabLabelSubscription.unsubscribe();\n }\n /** Re-aligns the ink bar to the selected tab element. */\n realignInkBar() {\n if (this._tabHeader) {\n this._tabHeader._alignInkBarToSelectedTab();\n }\n }\n /**\n * Recalculates the tab group's pagination dimensions.\n *\n * WARNING: Calling this method can be very costly in terms of performance. It should be called\n * as infrequently as possible from outside of the Tabs component as it causes a reflow of the\n * page.\n */\n updatePagination() {\n if (this._tabHeader) {\n this._tabHeader.updatePagination();\n }\n }\n /**\n * Sets focus to a particular tab.\n * @param index Index of the tab to be focused.\n */\n focusTab(index) {\n const header = this._tabHeader;\n if (header) {\n header.focusIndex = index;\n }\n }\n _focusChanged(index) {\n this._lastFocusedTabIndex = index;\n this.focusChange.emit(this._createChangeEvent(index));\n }\n _createChangeEvent(index) {\n const event = new MatTabChangeEvent();\n event.index = index;\n if (this._tabs && this._tabs.length) {\n event.tab = this._tabs.toArray()[index];\n }\n return event;\n }\n /**\n * Subscribes to changes in the tab labels. This is needed, because the @Input for the label is\n * on the MatTab component, whereas the data binding is inside the MatTabGroup. In order for the\n * binding to be updated, we need to subscribe to changes in it and trigger change detection\n * manually.\n */\n _subscribeToTabLabels() {\n if (this._tabLabelSubscription) {\n this._tabLabelSubscription.unsubscribe();\n }\n this._tabLabelSubscription = merge(...this._tabs.map(tab => tab._stateChanges)).subscribe(() => this._changeDetectorRef.markForCheck());\n }\n /** Clamps the given index to the bounds of 0 and the tabs length. */\n _clampTabIndex(index) {\n // Note the `|| 0`, which ensures that values like NaN can't get through\n // and which would otherwise throw the component into an infinite loop\n // (since Math.max(NaN, 0) === NaN).\n return Math.min(this._tabs.length - 1, Math.max(index || 0, 0));\n }\n /** Returns a unique id for each tab label element */\n _getTabLabelId(i) {\n return `mat-tab-label-${this._groupId}-${i}`;\n }\n /** Returns a unique id for each tab content element */\n _getTabContentId(i) {\n return `mat-tab-content-${this._groupId}-${i}`;\n }\n /**\n * Sets the height of the body wrapper to the height of the activating tab if dynamic\n * height property is true.\n */\n _setTabBodyWrapperHeight(tabHeight) {\n if (!this._dynamicHeight || !this._tabBodyWrapperHeight) {\n return;\n }\n const wrapper = this._tabBodyWrapper.nativeElement;\n wrapper.style.height = this._tabBodyWrapperHeight + 'px';\n // This conditional forces the browser to paint the height so that\n // the animation to the new height can have an origin.\n if (this._tabBodyWrapper.nativeElement.offsetHeight) {\n wrapper.style.height = tabHeight + 'px';\n }\n }\n /** Removes the height of the tab body wrapper. */\n _removeTabBodyWrapperHeight() {\n const wrapper = this._tabBodyWrapper.nativeElement;\n this._tabBodyWrapperHeight = wrapper.clientHeight;\n wrapper.style.height = '';\n this.animationDone.emit();\n }\n /** Handle click events, setting new selected index if appropriate. */\n _handleClick(tab, tabHeader, index) {\n tabHeader.focusIndex = index;\n if (!tab.disabled) {\n this.selectedIndex = index;\n }\n }\n /** Retrieves the tabindex for the tab. */\n _getTabIndex(index) {\n const targetIndex = this._lastFocusedTabIndex ?? this.selectedIndex;\n return index === targetIndex ? 0 : -1;\n }\n /** Callback for when the focused state of a tab has changed. */\n _tabFocusChanged(focusOrigin, index) {\n // Mouse/touch focus happens during the `mousedown`/`touchstart` phase which\n // can cause the tab to be moved out from under the pointer, interrupting the\n // click sequence (see #21898). We don't need to scroll the tab into view for\n // such cases anyway, because it will be done when the tab becomes selected.\n if (focusOrigin && focusOrigin !== 'mouse' && focusOrigin !== 'touch') {\n this._tabHeader.focusIndex = index;\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatTabGroupBase, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: MAT_TABS_CONFIG, optional: true }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: _MatTabGroupBase, inputs: { dynamicHeight: \"dynamicHeight\", selectedIndex: \"selectedIndex\", headerPosition: \"headerPosition\", animationDuration: \"animationDuration\", contentTabIndex: \"contentTabIndex\", disablePagination: \"disablePagination\", preserveContent: \"preserveContent\", backgroundColor: \"backgroundColor\" }, outputs: { selectedIndexChange: \"selectedIndexChange\", focusChange: \"focusChange\", animationDone: \"animationDone\", selectedTabChange: \"selectedTabChange\" }, usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatTabGroupBase, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{\n type: Inject,\n args: [MAT_TABS_CONFIG]\n }, {\n type: Optional\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }]; }, propDecorators: { dynamicHeight: [{\n type: Input\n }], selectedIndex: [{\n type: Input\n }], headerPosition: [{\n type: Input\n }], animationDuration: [{\n type: Input\n }], contentTabIndex: [{\n type: Input\n }], disablePagination: [{\n type: Input\n }], preserveContent: [{\n type: Input\n }], backgroundColor: [{\n type: Input\n }], selectedIndexChange: [{\n type: Output\n }], focusChange: [{\n type: Output\n }], animationDone: [{\n type: Output\n }], selectedTabChange: [{\n type: Output\n }] } });\n/**\n * Material design tab-group component. Supports basic tab pairs (label + content) and includes\n * animated ink-bar, keyboard navigation, and screen reader.\n * See: https://material.io/design/components/tabs.html\n */\nclass MatTabGroup extends _MatTabGroupBase {\n /** Whether the ink bar should fit its width to the size of the tab label content. */\n get fitInkBarToContent() {\n return this._fitInkBarToContent;\n }\n set fitInkBarToContent(v) {\n this._fitInkBarToContent = coerceBooleanProperty(v);\n this._changeDetectorRef.markForCheck();\n }\n /** Whether tabs should be stretched to fill the header. */\n get stretchTabs() {\n return this._stretchTabs;\n }\n set stretchTabs(v) {\n this._stretchTabs = coerceBooleanProperty(v);\n }\n constructor(elementRef, changeDetectorRef, defaultConfig, animationMode) {\n super(elementRef, changeDetectorRef, defaultConfig, animationMode);\n this._fitInkBarToContent = false;\n this._stretchTabs = true;\n this.fitInkBarToContent =\n defaultConfig && defaultConfig.fitInkBarToContent != null\n ? defaultConfig.fitInkBarToContent\n : false;\n this.stretchTabs =\n defaultConfig && defaultConfig.stretchTabs != null ? defaultConfig.stretchTabs : true;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTabGroup, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: MAT_TABS_CONFIG, optional: true }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatTabGroup, selector: \"mat-tab-group\", inputs: { color: \"color\", disableRipple: \"disableRipple\", fitInkBarToContent: \"fitInkBarToContent\", stretchTabs: [\"mat-stretch-tabs\", \"stretchTabs\"] }, host: { attributes: { \"ngSkipHydration\": \"\" }, properties: { \"class.mat-mdc-tab-group-dynamic-height\": \"dynamicHeight\", \"class.mat-mdc-tab-group-inverted-header\": \"headerPosition === \\\"below\\\"\", \"class.mat-mdc-tab-group-stretch-tabs\": \"stretchTabs\" }, classAttribute: \"mat-mdc-tab-group\" }, providers: [\n {\n provide: MAT_TAB_GROUP,\n useExisting: MatTabGroup,\n },\n ], queries: [{ propertyName: \"_allTabs\", predicate: MatTab, descendants: true }], viewQueries: [{ propertyName: \"_tabBodyWrapper\", first: true, predicate: [\"tabBodyWrapper\"], descendants: true }, { propertyName: \"_tabHeader\", first: true, predicate: [\"tabHeader\"], descendants: true }], exportAs: [\"matTabGroup\"], usesInheritance: true, ngImport: i0, template: \"\\n\\n
\\n \\n\\n \\n
\\n\\n \\n \\n \\n \\n \\n \\n\\n \\n {{tab.textLabel}}\\n \\n \\n \\n
\\n\\n\\n \\n \\n\\n\", styles: [\".mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-letter-spacing);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:\\\"\\\";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}\"], dependencies: [{ kind: \"directive\", type: i1$2.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i1$2.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i1$2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i2.CdkPortalOutlet, selector: \"[cdkPortalOutlet]\", inputs: [\"cdkPortalOutlet\"], outputs: [\"attached\"], exportAs: [\"cdkPortalOutlet\"] }, { kind: \"directive\", type: i5.MatRipple, selector: \"[mat-ripple], [matRipple]\", inputs: [\"matRippleColor\", \"matRippleUnbounded\", \"matRippleCentered\", \"matRippleRadius\", \"matRippleAnimation\", \"matRippleDisabled\", \"matRippleTrigger\"], exportAs: [\"matRipple\"] }, { kind: \"directive\", type: i4.CdkMonitorFocus, selector: \"[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]\", outputs: [\"cdkFocusChange\"], exportAs: [\"cdkMonitorFocus\"] }, { kind: \"component\", type: MatTabBody, selector: \"mat-tab-body\" }, { kind: \"directive\", type: MatTabLabelWrapper, selector: \"[matTabLabelWrapper]\", inputs: [\"disabled\", \"fitInkBarToContent\"] }, { kind: \"component\", type: MatTabHeader, selector: \"mat-tab-header\", inputs: [\"selectedIndex\"], outputs: [\"selectFocusedIndex\", \"indexFocused\"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTabGroup, decorators: [{\n type: Component,\n args: [{ selector: 'mat-tab-group', exportAs: 'matTabGroup', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, inputs: ['color', 'disableRipple'], providers: [\n {\n provide: MAT_TAB_GROUP,\n useExisting: MatTabGroup,\n },\n ], host: {\n 'ngSkipHydration': '',\n 'class': 'mat-mdc-tab-group',\n '[class.mat-mdc-tab-group-dynamic-height]': 'dynamicHeight',\n '[class.mat-mdc-tab-group-inverted-header]': 'headerPosition === \"below\"',\n '[class.mat-mdc-tab-group-stretch-tabs]': 'stretchTabs',\n }, template: \"\\n\\n
\\n \\n\\n \\n
\\n\\n \\n \\n \\n \\n \\n \\n\\n \\n {{tab.textLabel}}\\n \\n \\n \\n
\\n\\n\\n \\n \\n\\n\", styles: [\".mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-letter-spacing);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:\\\"\\\";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{\n type: Inject,\n args: [MAT_TABS_CONFIG]\n }, {\n type: Optional\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }]; }, propDecorators: { _allTabs: [{\n type: ContentChildren,\n args: [MatTab, { descendants: true }]\n }], _tabBodyWrapper: [{\n type: ViewChild,\n args: ['tabBodyWrapper']\n }], _tabHeader: [{\n type: ViewChild,\n args: ['tabHeader']\n }], fitInkBarToContent: [{\n type: Input\n }], stretchTabs: [{\n type: Input,\n args: ['mat-stretch-tabs']\n }] } });\n/** A simple change event emitted on focus or selection changes. */\nclass MatTabChangeEvent {\n}\n\n// Increasing integer for generating unique ids for tab nav components.\nlet nextUniqueId = 0;\n/**\n * Base class with all of the `MatTabNav` functionality.\n * @docs-private\n */\nclass _MatTabNavBase extends MatPaginatedTabHeader {\n /** Background color of the tab nav. */\n get backgroundColor() {\n return this._backgroundColor;\n }\n set backgroundColor(value) {\n const classList = this._elementRef.nativeElement.classList;\n classList.remove('mat-tabs-with-background', `mat-background-${this.backgroundColor}`);\n if (value) {\n classList.add('mat-tabs-with-background', `mat-background-${value}`);\n }\n this._backgroundColor = value;\n }\n /** Whether the ripple effect is disabled or not. */\n get disableRipple() {\n return this._disableRipple;\n }\n set disableRipple(value) {\n this._disableRipple = coerceBooleanProperty(value);\n }\n constructor(elementRef, dir, ngZone, changeDetectorRef, viewportRuler, platform, animationMode) {\n super(elementRef, changeDetectorRef, viewportRuler, dir, ngZone, platform, animationMode);\n this._disableRipple = false;\n /** Theme color of the nav bar. */\n this.color = 'primary';\n }\n _itemSelected() {\n // noop\n }\n ngAfterContentInit() {\n // We need this to run before the `changes` subscription in parent to ensure that the\n // selectedIndex is up-to-date by the time the super class starts looking for it.\n this._items.changes.pipe(startWith(null), takeUntil(this._destroyed)).subscribe(() => {\n this.updateActiveLink();\n });\n super.ngAfterContentInit();\n }\n /** Notifies the component that the active link has been changed. */\n updateActiveLink() {\n if (!this._items) {\n return;\n }\n const items = this._items.toArray();\n for (let i = 0; i < items.length; i++) {\n if (items[i].active) {\n this.selectedIndex = i;\n this._changeDetectorRef.markForCheck();\n if (this.tabPanel) {\n this.tabPanel._activeTabId = items[i].id;\n }\n return;\n }\n }\n // The ink bar should hide itself if no items are active.\n this.selectedIndex = -1;\n this._inkBar.hide();\n }\n _getRole() {\n return this.tabPanel ? 'tablist' : this._elementRef.nativeElement.getAttribute('role');\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatTabNavBase, deps: [{ token: i0.ElementRef }, { token: i1.Directionality, optional: true }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i1$1.ViewportRuler }, { token: i3.Platform }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: _MatTabNavBase, inputs: { backgroundColor: \"backgroundColor\", disableRipple: \"disableRipple\", color: \"color\", tabPanel: \"tabPanel\" }, usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatTabNavBase, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.Directionality, decorators: [{\n type: Optional\n }] }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i1$1.ViewportRuler }, { type: i3.Platform }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }]; }, propDecorators: { backgroundColor: [{\n type: Input\n }], disableRipple: [{\n type: Input\n }], color: [{\n type: Input\n }], tabPanel: [{\n type: Input\n }] } });\n// Boilerplate for applying mixins to MatTabLink.\nconst _MatTabLinkMixinBase = mixinTabIndex(mixinDisableRipple(mixinDisabled(class {\n})));\n/** Base class with all of the `MatTabLink` functionality. */\nclass _MatTabLinkBase extends _MatTabLinkMixinBase {\n /** Whether the link is active. */\n get active() {\n return this._isActive;\n }\n set active(value) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this._isActive) {\n this._isActive = newValue;\n this._tabNavBar.updateActiveLink();\n }\n }\n /**\n * Whether ripples are disabled on interaction.\n * @docs-private\n */\n get rippleDisabled() {\n return (this.disabled ||\n this.disableRipple ||\n this._tabNavBar.disableRipple ||\n !!this.rippleConfig.disabled);\n }\n constructor(_tabNavBar, \n /** @docs-private */ elementRef, globalRippleOptions, tabIndex, _focusMonitor, animationMode) {\n super();\n this._tabNavBar = _tabNavBar;\n this.elementRef = elementRef;\n this._focusMonitor = _focusMonitor;\n /** Whether the tab link is active or not. */\n this._isActive = false;\n /** Unique id for the tab. */\n this.id = `mat-tab-link-${nextUniqueId++}`;\n this.rippleConfig = globalRippleOptions || {};\n this.tabIndex = parseInt(tabIndex) || 0;\n if (animationMode === 'NoopAnimations') {\n this.rippleConfig.animation = { enterDuration: 0, exitDuration: 0 };\n }\n }\n /** Focuses the tab link. */\n focus() {\n this.elementRef.nativeElement.focus();\n }\n ngAfterViewInit() {\n this._focusMonitor.monitor(this.elementRef);\n }\n ngOnDestroy() {\n this._focusMonitor.stopMonitoring(this.elementRef);\n }\n _handleFocus() {\n // Since we allow navigation through tabbing in the nav bar, we\n // have to update the focused index whenever the link receives focus.\n this._tabNavBar.focusIndex = this._tabNavBar._items.toArray().indexOf(this);\n }\n _handleKeydown(event) {\n if (this._tabNavBar.tabPanel && event.keyCode === SPACE) {\n this.elementRef.nativeElement.click();\n }\n }\n _getAriaControls() {\n return this._tabNavBar.tabPanel\n ? this._tabNavBar.tabPanel?.id\n : this.elementRef.nativeElement.getAttribute('aria-controls');\n }\n _getAriaSelected() {\n if (this._tabNavBar.tabPanel) {\n return this.active ? 'true' : 'false';\n }\n else {\n return this.elementRef.nativeElement.getAttribute('aria-selected');\n }\n }\n _getAriaCurrent() {\n return this.active && !this._tabNavBar.tabPanel ? 'page' : null;\n }\n _getRole() {\n return this._tabNavBar.tabPanel ? 'tab' : this.elementRef.nativeElement.getAttribute('role');\n }\n _getTabIndex() {\n if (this._tabNavBar.tabPanel) {\n return this._isActive && !this.disabled ? 0 : -1;\n }\n else {\n return this.tabIndex;\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatTabLinkBase, deps: [{ token: _MatTabNavBase }, { token: i0.ElementRef }, { token: MAT_RIPPLE_GLOBAL_OPTIONS, optional: true }, { token: 'tabindex', attribute: true }, { token: i4.FocusMonitor }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: _MatTabLinkBase, inputs: { active: \"active\", id: \"id\" }, usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatTabLinkBase, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: _MatTabNavBase }, { type: i0.ElementRef }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_RIPPLE_GLOBAL_OPTIONS]\n }] }, { type: undefined, decorators: [{\n type: Attribute,\n args: ['tabindex']\n }] }, { type: i4.FocusMonitor }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }]; }, propDecorators: { active: [{\n type: Input\n }], id: [{\n type: Input\n }] } });\nconst _MatTabLinkBaseWithInkBarItem = mixinInkBarItem(_MatTabLinkBase);\n/**\n * Navigation component matching the styles of the tab group header.\n * Provides anchored navigation with animated ink bar.\n */\nclass MatTabNav extends _MatTabNavBase {\n /** Whether the ink bar should fit its width to the size of the tab label content. */\n get fitInkBarToContent() {\n return this._fitInkBarToContent.value;\n }\n set fitInkBarToContent(v) {\n this._fitInkBarToContent.next(coerceBooleanProperty(v));\n this._changeDetectorRef.markForCheck();\n }\n /** Whether tabs should be stretched to fill the header. */\n get stretchTabs() {\n return this._stretchTabs;\n }\n set stretchTabs(v) {\n this._stretchTabs = coerceBooleanProperty(v);\n }\n constructor(elementRef, dir, ngZone, changeDetectorRef, viewportRuler, platform, animationMode, defaultConfig) {\n super(elementRef, dir, ngZone, changeDetectorRef, viewportRuler, platform, animationMode);\n this._fitInkBarToContent = new BehaviorSubject(false);\n this._stretchTabs = true;\n this.disablePagination =\n defaultConfig && defaultConfig.disablePagination != null\n ? defaultConfig.disablePagination\n : false;\n this.fitInkBarToContent =\n defaultConfig && defaultConfig.fitInkBarToContent != null\n ? defaultConfig.fitInkBarToContent\n : false;\n this.stretchTabs =\n defaultConfig && defaultConfig.stretchTabs != null ? defaultConfig.stretchTabs : true;\n }\n ngAfterContentInit() {\n this._inkBar = new MatInkBar(this._items);\n super.ngAfterContentInit();\n }\n ngAfterViewInit() {\n if (!this.tabPanel && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw new Error('A mat-tab-nav-panel must be specified via [tabPanel].');\n }\n super.ngAfterViewInit();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTabNav, deps: [{ token: i0.ElementRef }, { token: i1.Directionality, optional: true }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i1$1.ViewportRuler }, { token: i3.Platform }, { token: ANIMATION_MODULE_TYPE, optional: true }, { token: MAT_TABS_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatTabNav, selector: \"[mat-tab-nav-bar]\", inputs: { color: \"color\", fitInkBarToContent: \"fitInkBarToContent\", stretchTabs: [\"mat-stretch-tabs\", \"stretchTabs\"] }, host: { properties: { \"attr.role\": \"_getRole()\", \"class.mat-mdc-tab-header-pagination-controls-enabled\": \"_showPaginationControls\", \"class.mat-mdc-tab-header-rtl\": \"_getLayoutDirection() == 'rtl'\", \"class.mat-mdc-tab-nav-bar-stretch-tabs\": \"stretchTabs\", \"class.mat-primary\": \"color !== \\\"warn\\\" && color !== \\\"accent\\\"\", \"class.mat-accent\": \"color === \\\"accent\\\"\", \"class.mat-warn\": \"color === \\\"warn\\\"\", \"class._mat-animation-noopable\": \"_animationMode === \\\"NoopAnimations\\\"\" }, classAttribute: \"mat-mdc-tab-nav-bar mat-mdc-tab-header\" }, queries: [{ propertyName: \"_items\", predicate: i0.forwardRef(function () { return MatTabLink; }), descendants: true }], viewQueries: [{ propertyName: \"_tabListContainer\", first: true, predicate: [\"tabListContainer\"], descendants: true, static: true }, { propertyName: \"_tabList\", first: true, predicate: [\"tabList\"], descendants: true, static: true }, { propertyName: \"_tabListInner\", first: true, predicate: [\"tabListInner\"], descendants: true, static: true }, { propertyName: \"_nextPaginator\", first: true, predicate: [\"nextPaginator\"], descendants: true }, { propertyName: \"_previousPaginator\", first: true, predicate: [\"previousPaginator\"], descendants: true }], exportAs: [\"matTabNavBar\", \"matTabNav\"], usesInheritance: true, ngImport: i0, template: \"\\n\\n\\n\\n\\n\\n\\n\", styles: [\".mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0;--mdc-tab-indicator-active-indicator-height:2px;--mdc-tab-indicator-active-indicator-shape:0;--mdc-secondary-navigation-tab-container-height:48px}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-links{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-focus-indicator::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}\"], dependencies: [{ kind: \"directive\", type: i5.MatRipple, selector: \"[mat-ripple], [matRipple]\", inputs: [\"matRippleColor\", \"matRippleUnbounded\", \"matRippleCentered\", \"matRippleRadius\", \"matRippleAnimation\", \"matRippleDisabled\", \"matRippleTrigger\"], exportAs: [\"matRipple\"] }, { kind: \"directive\", type: i5$1.CdkObserveContent, selector: \"[cdkObserveContent]\", inputs: [\"cdkObserveContentDisabled\", \"debounce\"], outputs: [\"cdkObserveContent\"], exportAs: [\"cdkObserveContent\"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTabNav, decorators: [{\n type: Component,\n args: [{ selector: '[mat-tab-nav-bar]', exportAs: 'matTabNavBar, matTabNav', inputs: ['color'], host: {\n '[attr.role]': '_getRole()',\n 'class': 'mat-mdc-tab-nav-bar mat-mdc-tab-header',\n '[class.mat-mdc-tab-header-pagination-controls-enabled]': '_showPaginationControls',\n '[class.mat-mdc-tab-header-rtl]': \"_getLayoutDirection() == 'rtl'\",\n '[class.mat-mdc-tab-nav-bar-stretch-tabs]': 'stretchTabs',\n '[class.mat-primary]': 'color !== \"warn\" && color !== \"accent\"',\n '[class.mat-accent]': 'color === \"accent\"',\n '[class.mat-warn]': 'color === \"warn\"',\n '[class._mat-animation-noopable]': '_animationMode === \"NoopAnimations\"',\n }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, template: \"\\n\\n\\n\\n\\n\\n\\n\", styles: [\".mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0;--mdc-tab-indicator-active-indicator-height:2px;--mdc-tab-indicator-active-indicator-shape:0;--mdc-secondary-navigation-tab-container-height:48px}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-links{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-focus-indicator::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.Directionality, decorators: [{\n type: Optional\n }] }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i1$1.ViewportRuler }, { type: i3.Platform }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_TABS_CONFIG]\n }] }]; }, propDecorators: { fitInkBarToContent: [{\n type: Input\n }], stretchTabs: [{\n type: Input,\n args: ['mat-stretch-tabs']\n }], _items: [{\n type: ContentChildren,\n args: [forwardRef(() => MatTabLink), { descendants: true }]\n }], _tabListContainer: [{\n type: ViewChild,\n args: ['tabListContainer', { static: true }]\n }], _tabList: [{\n type: ViewChild,\n args: ['tabList', { static: true }]\n }], _tabListInner: [{\n type: ViewChild,\n args: ['tabListInner', { static: true }]\n }], _nextPaginator: [{\n type: ViewChild,\n args: ['nextPaginator']\n }], _previousPaginator: [{\n type: ViewChild,\n args: ['previousPaginator']\n }] } });\n/**\n * Link inside of a `mat-tab-nav-bar`.\n */\nclass MatTabLink extends _MatTabLinkBaseWithInkBarItem {\n constructor(tabNavBar, elementRef, globalRippleOptions, tabIndex, focusMonitor, animationMode) {\n super(tabNavBar, elementRef, globalRippleOptions, tabIndex, focusMonitor, animationMode);\n this._destroyed = new Subject();\n tabNavBar._fitInkBarToContent.pipe(takeUntil(this._destroyed)).subscribe(fitInkBarToContent => {\n this.fitInkBarToContent = fitInkBarToContent;\n });\n }\n ngOnDestroy() {\n this._destroyed.next();\n this._destroyed.complete();\n super.ngOnDestroy();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTabLink, deps: [{ token: MatTabNav }, { token: i0.ElementRef }, { token: MAT_RIPPLE_GLOBAL_OPTIONS, optional: true }, { token: 'tabindex', attribute: true }, { token: i4.FocusMonitor }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatTabLink, selector: \"[mat-tab-link], [matTabLink]\", inputs: { disabled: \"disabled\", disableRipple: \"disableRipple\", tabIndex: \"tabIndex\", active: \"active\", id: \"id\" }, host: { listeners: { \"focus\": \"_handleFocus()\", \"keydown\": \"_handleKeydown($event)\" }, properties: { \"attr.aria-controls\": \"_getAriaControls()\", \"attr.aria-current\": \"_getAriaCurrent()\", \"attr.aria-disabled\": \"disabled\", \"attr.aria-selected\": \"_getAriaSelected()\", \"attr.id\": \"id\", \"attr.tabIndex\": \"_getTabIndex()\", \"attr.role\": \"_getRole()\", \"class.mat-mdc-tab-disabled\": \"disabled\", \"class.mdc-tab--active\": \"active\" }, classAttribute: \"mdc-tab mat-mdc-tab-link mat-mdc-focus-indicator\" }, exportAs: [\"matTabLink\"], usesInheritance: true, ngImport: i0, template: \"\\n\\n\\n\\n\\n \\n \\n \\n\\n\\n\", styles: [\".mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-letter-spacing);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab-link:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab-link:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link.mdc-tab{flex-grow:0}.mat-mdc-tab-link:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab-link:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab-link.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab-link.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab-link.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab-link .mdc-tab__ripple::before{content:\\\"\\\";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}\"], dependencies: [{ kind: \"directive\", type: i5.MatRipple, selector: \"[mat-ripple], [matRipple]\", inputs: [\"matRippleColor\", \"matRippleUnbounded\", \"matRippleCentered\", \"matRippleRadius\", \"matRippleAnimation\", \"matRippleDisabled\", \"matRippleTrigger\"], exportAs: [\"matRipple\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTabLink, decorators: [{\n type: Component,\n args: [{ selector: '[mat-tab-link], [matTabLink]', exportAs: 'matTabLink', inputs: ['disabled', 'disableRipple', 'tabIndex', 'active', 'id'], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {\n 'class': 'mdc-tab mat-mdc-tab-link mat-mdc-focus-indicator',\n '[attr.aria-controls]': '_getAriaControls()',\n '[attr.aria-current]': '_getAriaCurrent()',\n '[attr.aria-disabled]': 'disabled',\n '[attr.aria-selected]': '_getAriaSelected()',\n '[attr.id]': 'id',\n '[attr.tabIndex]': '_getTabIndex()',\n '[attr.role]': '_getRole()',\n '[class.mat-mdc-tab-disabled]': 'disabled',\n '[class.mdc-tab--active]': 'active',\n '(focus)': '_handleFocus()',\n '(keydown)': '_handleKeydown($event)',\n }, template: \"\\n\\n\\n\\n\\n \\n \\n \\n\\n\\n\", styles: [\".mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-letter-spacing);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab-link:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab-link:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link.mdc-tab{flex-grow:0}.mat-mdc-tab-link:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab-link:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab-link.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab-link.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab-link.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab-link .mdc-tab__ripple::before{content:\\\"\\\";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}\"] }]\n }], ctorParameters: function () { return [{ type: MatTabNav }, { type: i0.ElementRef }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_RIPPLE_GLOBAL_OPTIONS]\n }] }, { type: undefined, decorators: [{\n type: Attribute,\n args: ['tabindex']\n }] }, { type: i4.FocusMonitor }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }]; } });\n/**\n * Tab panel component associated with MatTabNav.\n */\nclass MatTabNavPanel {\n constructor() {\n /** Unique id for the tab panel. */\n this.id = `mat-tab-nav-panel-${nextUniqueId++}`;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTabNavPanel, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatTabNavPanel, selector: \"mat-tab-nav-panel\", inputs: { id: \"id\" }, host: { attributes: { \"role\": \"tabpanel\" }, properties: { \"attr.aria-labelledby\": \"_activeTabId\", \"attr.id\": \"id\" }, classAttribute: \"mat-mdc-tab-nav-panel\" }, exportAs: [\"matTabNavPanel\"], ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTabNavPanel, decorators: [{\n type: Component,\n args: [{\n selector: 'mat-tab-nav-panel',\n exportAs: 'matTabNavPanel',\n template: '',\n host: {\n '[attr.aria-labelledby]': '_activeTabId',\n '[attr.id]': 'id',\n 'class': 'mat-mdc-tab-nav-panel',\n 'role': 'tabpanel',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n }]\n }], propDecorators: { id: [{\n type: Input\n }] } });\n\nclass MatTabsModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTabsModule, declarations: [MatTabContent,\n MatTabLabel,\n MatTab,\n MatTabGroup,\n MatTabNav,\n MatTabNavPanel,\n MatTabLink,\n // Private directives, should not be exported.\n MatTabBody,\n MatTabBodyPortal,\n MatTabLabelWrapper,\n MatTabHeader], imports: [CommonModule,\n MatCommonModule,\n PortalModule,\n MatRippleModule,\n ObserversModule,\n A11yModule], exports: [MatCommonModule,\n MatTabContent,\n MatTabLabel,\n MatTab,\n MatTabGroup,\n MatTabNav,\n MatTabNavPanel,\n MatTabLink] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTabsModule, imports: [CommonModule,\n MatCommonModule,\n PortalModule,\n MatRippleModule,\n ObserversModule,\n A11yModule, MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTabsModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule,\n MatCommonModule,\n PortalModule,\n MatRippleModule,\n ObserversModule,\n A11yModule,\n ],\n exports: [\n MatCommonModule,\n MatTabContent,\n MatTabLabel,\n MatTab,\n MatTabGroup,\n MatTabNav,\n MatTabNavPanel,\n MatTabLink,\n ],\n declarations: [\n MatTabContent,\n MatTabLabel,\n MatTab,\n MatTabGroup,\n MatTabNav,\n MatTabNavPanel,\n MatTabLink,\n // Private directives, should not be exported.\n MatTabBody,\n MatTabBodyPortal,\n MatTabLabelWrapper,\n MatTabHeader,\n ],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MAT_TAB, MAT_TABS_CONFIG, MAT_TAB_CONTENT, MAT_TAB_GROUP, MAT_TAB_LABEL, MatInkBar, MatPaginatedTabHeader, MatTab, MatTabBody, MatTabBodyPortal, MatTabChangeEvent, MatTabContent, MatTabGroup, MatTabHeader, MatTabLabel, MatTabLabelWrapper, MatTabLink, MatTabNav, MatTabNavPanel, MatTabsModule, _MAT_INK_BAR_POSITIONER, _MAT_INK_BAR_POSITIONER_FACTORY, _MatTabBase, _MatTabBodyBase, _MatTabGroupBase, _MatTabHeaderBase, _MatTabLabelWrapperBase, _MatTabLinkBase, _MatTabNavBase, matTabsAnimations };\n"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]} \ No newline at end of file diff --git a/2152.0b848abf6263c322.js b/2152.0b848abf6263c322.js new file mode 100644 index 0000000..3112450 --- /dev/null +++ b/2152.0b848abf6263c322.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[2152,5106,7376,5187,4091,1217,7208,4968,6785,4155,1084,6896,7920,6980,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,8061,4680,2111,3326,8596,8352,5501,882,3098,8467,6578,8608,8443,7328,5915,3278,5391,6748,1551,6763,4151,5069,7432,8071,6618],{59319:(h,l,e)=>{e.d(l,{z:()=>o});var r=e(1308),n=e(10420),t=e(37400);function o(){for(var s=arguments.length,a=new Array(s),i=0;i{e.d(l,{D:()=>M});var r=e(54987),u=e(8728),n=e(41944);function t(f){var v=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,n.e)(function(b,I){I.add(f.schedule(function(){return b.subscribe(I)},v))})}var a=e(90833),d=e(67321),g=e(92971),m=e(1817);function E(f,v){if(!f)throw new Error("Iterable cannot be null");return new a.y(function(b){(0,m.f)(b,v,function(){var I=f[Symbol.asyncIterator]();(0,m.f)(b,v,function(){I.next().then(function(T){T.done?b.complete():b.next(T.value)})},0,!0)})})}var Z=e(21331),c=e(79548),p=e(99806),O=e(23433),D=e(80470),_=e(27785),y=e(20181);function M(f,v){return v?function R(f,v){if(null!=f){if((0,Z.c)(f))return function o(f,v){return(0,r.Xf)(f).pipe(t(v),(0,u.Q)(v))}(f,v);if((0,p.z)(f))return function i(f,v){return new a.y(function(b){var I=0;return v.schedule(function(){I===f.length?b.complete():(b.next(f[I++]),b.closed||this.schedule())})})}(f,v);if((0,c.t)(f))return function s(f,v){return(0,r.Xf)(f).pipe(t(v),(0,u.Q)(v))}(f,v);if((0,D.D)(f))return E(f,v);if((0,O.T)(f))return function P(f,v){return new a.y(function(b){var I;return(0,m.f)(b,v,function(){I=f[d.h](),(0,m.f)(b,v,function(){var T,S;try{var C=I.next();T=C.value,S=C.done}catch(L){return void b.error(L)}S?b.complete():b.next(T)},0,!0)}),function(){return(0,g.m)(I?.return)&&I.return()}})}(f,v);if((0,y.L)(f))return function A(f,v){return E((0,y.Q)(f),v)}(f,v)}throw(0,_.z)(f)}(f,v):(0,r.Xf)(f)}},93945:(h,l,e)=>{e.d(l,{Q:()=>g,x:()=>d});var r=e(78069),u=e(48047),n=e(35488),t=e(24582),o=e(28694),s=e(4089),a=e(20265);function d(m,P,E,Z,c){return new g(m,P,E,Z,c)}var g=function(m){(0,t.Z)(E,m);var P=(0,o.Z)(E);function E(Z,c,p,O,D,_){var y,A,R,M;return(0,r.Z)(this,E),(M=P.call(this,Z)).onFinalize=D,M.shouldUnsubscribe=_,M._next=c?function(f){try{c(f)}catch(v){Z.error(v)}}:(0,s.Z)((y=(0,n.Z)(M),(0,a.Z)(E.prototype)),"_next",y),M._error=O?function(f){try{O(f)}catch(v){Z.error(v)}finally{this.unsubscribe()}}:(0,s.Z)((A=(0,n.Z)(M),(0,a.Z)(E.prototype)),"_error",A),M._complete=p?function(){try{p()}catch(f){Z.error(f)}finally{this.unsubscribe()}}:(0,s.Z)((R=(0,n.Z)(M),(0,a.Z)(E.prototype)),"_complete",R),M}return(0,u.Z)(E,[{key:"unsubscribe",value:function(){var c;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var p=this.closed;(0,s.Z)((0,a.Z)(E.prototype),"unsubscribe",this).call(this),!p&&(null===(c=this.onFinalize)||void 0===c||c.call(this))}}}]),E}(e(5463).Lv)},1308:(h,l,e)=>{e.d(l,{J:()=>n});var r=e(49525),u=e(89173);function n(){return(0,r.z)(u.y,arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0)}},8728:(h,l,e)=>{e.d(l,{Q:()=>t});var r=e(1817),u=e(41944),n=e(93945);function t(o){var s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,u.e)(function(a,i){a.subscribe((0,n.x)(i,function(d){return(0,r.f)(i,o,function(){return i.next(d)},s)},function(){return(0,r.f)(i,o,function(){return i.complete()},s)},function(d){return(0,r.f)(i,o,function(){return i.error(d)},s)}))})}},44874:(h,l,e)=>{e.d(l,{O:()=>t});var r=e(59319),u=e(10420),n=e(41944);function t(){for(var o=arguments.length,s=new Array(o),a=0;a{e.d(l,{w:()=>t});var r=e(54987),u=e(41944),n=e(93945);function t(o,s){return(0,u.e)(function(a,i){var d=null,g=0,m=!1,P=function(){return m&&!d&&i.complete()};a.subscribe((0,n.x)(i,function(E){d?.unsubscribe();var Z=0,c=g++;(0,r.Xf)(o(E,c)).subscribe(d=(0,n.x)(i,function(p){return i.next(s?s(E,p,c,Z++):p)},function(){d=null,P()}))},function(){m=!0,P()}))})}},68951:(h,l,e)=>{e.d(l,{R:()=>o});var r=e(41944),u=e(93945),n=e(54987),t=e(99635);function o(s){return(0,r.e)(function(a,i){(0,n.Xf)(s).subscribe((0,u.x)(i,function(){return i.complete()},t.Z)),!i.closed&&a.subscribe(i)})}},14549:(h,l,e)=>{e.d(l,{Z:()=>E});var r=e(78069),u=e(48047),n=e(4089),t=e(20265),o=e(24582),s=e(28694),a=e(75417),i=e(17714),d={schedule:function(p){var O=requestAnimationFrame,D=cancelAnimationFrame,_=d.delegate;_&&(O=_.requestAnimationFrame,D=_.cancelAnimationFrame);var y=O(function(A){D=void 0,p(A)});return new i.w0(function(){return D?.(y)})},requestAnimationFrame:function(c){function p(){return c.apply(this,arguments)}return p.toString=function(){return c.toString()},p}(function(){var c=d.delegate;return(c?.requestAnimationFrame||requestAnimationFrame).apply(void 0,arguments)}),cancelAnimationFrame:function(c){function p(){return c.apply(this,arguments)}return p.toString=function(){return c.toString()},p}(function(){var c=d.delegate;return(c?.cancelAnimationFrame||cancelAnimationFrame).apply(void 0,arguments)}),delegate:void 0},g=function(c){(0,o.Z)(O,c);var p=(0,s.Z)(O);function O(D,_){var y;return(0,r.Z)(this,O),(y=p.call(this,D,_)).scheduler=D,y.work=_,y}return(0,u.Z)(O,[{key:"requestAsyncId",value:function(_,y){var A=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==A&&A>0?(0,n.Z)((0,t.Z)(O.prototype),"requestAsyncId",this).call(this,_,y,A):(_.actions.push(this),_._scheduled||(_._scheduled=d.requestAnimationFrame(function(){return _.flush(void 0)})))}},{key:"recycleAsyncId",value:function(_,y){var R,A=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!=A?A>0:this.delay>0)return(0,n.Z)((0,t.Z)(O.prototype),"recycleAsyncId",this).call(this,_,y,A);var M=_.actions;null!=y&&(null===(R=M[M.length-1])||void 0===R?void 0:R.id)!==y&&(d.cancelAnimationFrame(y),_._scheduled=void 0)}}]),O}(a.o),E=new(function(c){(0,o.Z)(O,c);var p=(0,s.Z)(O);function O(){return(0,r.Z)(this,O),p.apply(this,arguments)}return(0,u.Z)(O,[{key:"flush",value:function(_){this._active=!0;var y=this._scheduled;this._scheduled=void 0;var R,A=this.actions;_=_||A.shift();do{if(R=_.execute(_.state,_.delay))break}while((_=A[0])&&_.id===y&&A.shift());if(this._active=!1,R){for(;(_=A[0])&&_.id===y&&A.shift();)_.unsubscribe();throw R}}}]),O}(e(41010).v))(g)},10420:(h,l,e)=>{e.d(l,{_6:()=>s,jO:()=>t,yG:()=>o});var r=e(92971),u=e(59867);function n(a){return a[a.length-1]}function t(a){return(0,r.m)(n(a))?a.pop():void 0}function o(a){return(0,u.K)(n(a))?a.pop():void 0}function s(a,i){return"number"==typeof n(a)?a.pop():i}},41944:(h,l,e)=>{e.d(l,{A:()=>u,e:()=>n});var r=e(92971);function u(t){return(0,r.m)(t?.lift)}function n(t){return function(o){if(u(o))return o.lift(function(s){try{return t(s,this)}catch(a){this.error(a)}});throw new TypeError("Unable to lift unknown Observable type")}}},44841:(h,l,e)=>{function r(u,n){(null==n||n>u.length)&&(n=u.length);for(var t=0,o=new Array(n);tr})},35488:(h,l,e)=>{function r(u){if(void 0===u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}e.d(l,{Z:()=>r})},95106:(h,l,e)=>{e.d(l,{Z:()=>u});var r=e(44206);function u(n,t){var o=typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(!o){if(Array.isArray(n)||(o=(0,r.Z)(n))||t&&n&&"number"==typeof n.length){o&&(n=o);var s=0,a=function(){};return{s:a,n:function(){return s>=n.length?{done:!0}:{done:!1,value:n[s++]}},e:function(P){throw P},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var g,i=!0,d=!1;return{s:function(){o=o.call(n)},n:function(){var P=o.next();return i=P.done,P},e:function(P){d=!0,g=P},f:function(){try{!i&&null!=o.return&&o.return()}finally{if(d)throw g}}}}},28694:(h,l,e)=>{e.d(l,{Z:()=>s});var r=e(20265),u=e(98568),n=e(43445),t=e(35488);function s(a){var i=(0,u.Z)();return function(){var m,g=(0,r.Z)(a);if(i){var P=(0,r.Z)(this).constructor;m=Reflect.construct(g,arguments,P)}else m=g.apply(this,arguments);return function o(a,i){if(i&&("object"===(0,n.Z)(i)||"function"==typeof i))return i;if(void 0!==i)throw new TypeError("Derived constructors may only return object or undefined");return(0,t.Z)(a)}(this,m)}}},4089:(h,l,e)=>{e.d(l,{Z:()=>n});var r=e(20265);function n(){return n=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(o,s,a){var i=function u(t,o){for(;!Object.prototype.hasOwnProperty.call(t,o)&&null!==(t=(0,r.Z)(t)););return t}(o,s);if(i){var d=Object.getOwnPropertyDescriptor(i,s);return d.get?d.get.call(arguments.length<3?o:a):d.value}},n.apply(this,arguments)}},20265:(h,l,e)=>{function r(u){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(u)}e.d(l,{Z:()=>r})},24582:(h,l,e)=>{e.d(l,{Z:()=>u});var r=e(10006);function u(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&(0,r.Z)(n,t)}},98568:(h,l,e)=>{function r(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(l,{Z:()=>r})},4826:(h,l,e)=>{function r(u){if(typeof Symbol<"u"&&null!=u[Symbol.iterator]||null!=u["@@iterator"])return Array.from(u)}e.d(l,{Z:()=>r})},10006:(h,l,e)=>{function r(u,n){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,s){return o.__proto__=s,o})(u,n)}e.d(l,{Z:()=>r})},86170:(h,l,e)=>{e.d(l,{Z:()=>s});var r=e(44841),n=e(4826),t=e(44206);function s(a){return function u(a){if(Array.isArray(a))return(0,r.Z)(a)}(a)||(0,n.Z)(a)||(0,t.Z)(a)||function o(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(h,l,e)=>{e.d(l,{Z:()=>u});var r=e(44841);function u(n,t){if(n){if("string"==typeof n)return(0,r.Z)(n,t);var o=Object.prototype.toString.call(n).slice(8,-1);if("Object"===o&&n.constructor&&(o=n.constructor.name),"Map"===o||"Set"===o)return Array.from(n);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return(0,r.Z)(n,t)}}}}]); +//# sourceMappingURL=2152.0b848abf6263c322.js.map \ No newline at end of file diff --git a/2152.0b848abf6263c322.js.map b/2152.0b848abf6263c322.js.map new file mode 100644 index 0000000..c21fabb --- /dev/null +++ b/2152.0b848abf6263c322.js.map @@ -0,0 +1 @@ +{"version":3,"file":"2152.0b848abf6263c322.js","mappings":"sXAGO,SAASA,IAAgB,QAAAC,EAAAC,UAAAC,OAANC,EAAI,IAAAC,MAAAJ,GAAAK,EAAA,EAAAA,EAAAL,EAAAK,IAAJF,EAAIE,GAAAJ,UAAAI,GAC1B,OCHG,SAASC,IACZ,SAAOC,KAAS,EACpB,CDCWD,IAAS,EAAGE,KAAKL,KAAMM,MAAaN,IAC/C,wEEJO,SAASO,EAAYC,GAAsB,IAAXC,EAAKX,UAAAC,OAAA,QAAAW,IAAAZ,UAAA,GAAAA,UAAA,GAAG,EAC3C,SAAOa,KAAQ,SAACC,EAAQC,GACpBA,EAAWC,IAAIN,EAAUO,SAAS,kBAAMH,EAAOI,UAAUH,EAAW,EAAEJ,GAC1E,EACJ,gDCHO,SAASQ,EAAsBC,EAAOV,GACzC,IAAKU,EACD,MAAM,IAAIC,MAAM,2BAEpB,OAAO,IAAIC,IAAW,SAACP,IACnBQ,OAAgBR,EAAYL,EAAW,WACnC,IAAMc,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AA,EAAA,OAAAnK,MAAAI,KAAAuJ,GACA,iBAAAQ,GAAA,2CAAA6D,KAAA7D,GAAA,SAAsF0D,EAAA7D,GAAgBL,EAAAiE,EAAA,CACtG","names":["concat","_len","arguments","length","args","Array","_key","concatAll","mergeAll","from","popScheduler","subscribeOn","scheduler","delay","undefined","operate","source","subscriber","add","schedule","subscribe","scheduleAsyncIterable","input","Error","Observable","executeSchedule","iterator","Symbol","asyncIterator","next","then","result","done","complete","value","scheduled","isInteropObservable","scheduleObservable","innerFrom","pipe","observeOn","isArrayLike","scheduleArray","i","closed","this","isPromise","schedulePromise","isAsyncIterable","isIterable","scheduleIterable","Symbol_iterator","_iterator$next","err","error","isFunction","return","isReadableStreamLike","scheduleReadableStreamLike","readableStreamLikeToAsyncGenerator","createInvalidObservableTypeError","createOperatorSubscriber","destination","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","_inherits","_super","_createSuper","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_this","_classCallCheck","call","_next","_get","_assertThisInitialized","_getPrototypeOf","prototype","_error","unsubscribe","_complete","_createClass","key","_a","Subscriber","mergeMap","identity","Infinity","startWith","values","switchMap","project","resultSelector","innerSubscriber","index","isComplete","checkComplete","innerIndex","outerIndex","innerValue","takeUntil","notifier","noop","animationFrameProvider","callback","request","requestAnimationFrame","cancel","cancelAnimationFrame","delegate","handle","timestamp","Subscription","_requestAnimationFrame","apply","toString","_cancelAnimationFrame","AnimationFrameAction","_AsyncAction","work","id","actions","push","_scheduled","flush","AsyncAction","animationFrameScheduler","_AsyncScheduler","AnimationFrameScheduler","action","_active","flushId","shift","execute","state","AsyncScheduler","last","arr","popResultSelector","pop","isScheduler","popNumber","defaultValue","hasLift","lift","init","liftedSource","TypeError","_arrayLikeToArray","len","arr2","self","ReferenceError","_createForOfIteratorHelper","o","allowArrayLike","it","isArray","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","s","n","e","_e","f","normalCompletion","didErr","step","_e2","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Super","getPrototypeOf","NewTarget","constructor","Reflect","construct","_possibleConstructorReturn","esm_typeof","assertThisInitialized","get","bind","target","property","receiver","base","_superPropBase","object","Object","hasOwnProperty","desc","getOwnPropertyDescriptor","setPrototypeOf","__proto__","subClass","superClass","create","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_iterableToArray","iter","_setPrototypeOf","p","_toConsumableArray","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","slice","name","test"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/observable/concat.js","./node_modules/rxjs/dist/esm/internal/operators/concatAll.js","./node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleAsyncIterable.js","./node_modules/rxjs/dist/esm/internal/observable/from.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduled.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleObservable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleArray.js","./node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleIterable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleReadableStreamLike.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/mergeAll.js","./node_modules/rxjs/dist/esm/internal/operators/observeOn.js","./node_modules/rxjs/dist/esm/internal/operators/startWith.js","./node_modules/rxjs/dist/esm/internal/operators/switchMap.js","./node_modules/rxjs/dist/esm/internal/operators/takeUntil.js","./node_modules/rxjs/dist/esm/internal/scheduler/animationFrameProvider.js","./node_modules/rxjs/dist/esm/internal/scheduler/AnimationFrameAction.js","./node_modules/rxjs/dist/esm/internal/scheduler/animationFrame.js","./node_modules/rxjs/dist/esm/internal/scheduler/AnimationFrameScheduler.js","./node_modules/rxjs/dist/esm/internal/util/args.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["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}\n","import { mergeAll } from './mergeAll';\nexport function concatAll() {\n return mergeAll(1);\n}\n","import { operate } from '../util/lift';\nexport function subscribeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay));\n });\n}\n","import { Observable } from '../Observable';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleAsyncIterable(input, scheduler) {\n if (!input) {\n throw new Error('Iterable cannot be null');\n }\n return new Observable((subscriber) => {\n executeSchedule(subscriber, scheduler, () => {\n const iterator = input[Symbol.asyncIterator]();\n executeSchedule(subscriber, scheduler, () => {\n iterator.next().then((result) => {\n if (result.done) {\n subscriber.complete();\n }\n else {\n subscriber.next(result.value);\n }\n });\n }, 0, true);\n });\n });\n}\n","import { scheduled } from '../scheduled/scheduled';\nimport { innerFrom } from './innerFrom';\nexport function from(input, scheduler) {\n return scheduler ? scheduled(input, scheduler) : innerFrom(input);\n}\n","import { scheduleObservable } from './scheduleObservable';\nimport { schedulePromise } from './schedulePromise';\nimport { scheduleArray } from './scheduleArray';\nimport { scheduleIterable } from './scheduleIterable';\nimport { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isPromise } from '../util/isPromise';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isIterable } from '../util/isIterable';\nimport { isAsyncIterable } from '../util/isAsyncIterable';\nimport { createInvalidObservableTypeError } from '../util/throwUnobservableError';\nimport { isReadableStreamLike } from '../util/isReadableStreamLike';\nimport { scheduleReadableStreamLike } from './scheduleReadableStreamLike';\nexport function scheduled(input, scheduler) {\n if (input != null) {\n if (isInteropObservable(input)) {\n return scheduleObservable(input, scheduler);\n }\n if (isArrayLike(input)) {\n return scheduleArray(input, scheduler);\n }\n if (isPromise(input)) {\n return schedulePromise(input, scheduler);\n }\n if (isAsyncIterable(input)) {\n return scheduleAsyncIterable(input, scheduler);\n }\n if (isIterable(input)) {\n return scheduleIterable(input, scheduler);\n }\n if (isReadableStreamLike(input)) {\n return scheduleReadableStreamLike(input, scheduler);\n }\n }\n throw createInvalidObservableTypeError(input);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function scheduleObservable(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nexport function scheduleArray(input, scheduler) {\n return new Observable((subscriber) => {\n let i = 0;\n return scheduler.schedule(function () {\n if (i === input.length) {\n subscriber.complete();\n }\n else {\n subscriber.next(input[i++]);\n if (!subscriber.closed) {\n this.schedule();\n }\n }\n });\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function schedulePromise(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from '../util/isFunction';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleIterable(input, scheduler) {\n return new Observable((subscriber) => {\n let iterator;\n executeSchedule(subscriber, scheduler, () => {\n iterator = input[Symbol_iterator]();\n executeSchedule(subscriber, scheduler, () => {\n let value;\n let done;\n try {\n ({ value, done } = iterator.next());\n }\n catch (err) {\n subscriber.error(err);\n return;\n }\n if (done) {\n subscriber.complete();\n }\n else {\n subscriber.next(value);\n }\n }, 0, true);\n });\n return () => isFunction(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return();\n });\n}\n","import { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { readableStreamLikeToAsyncGenerator } from '../util/isReadableStreamLike';\nexport function scheduleReadableStreamLike(input, scheduler) {\n return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","import { mergeMap } from './mergeMap';\nimport { identity } from '../util/identity';\nexport function mergeAll(concurrent = Infinity) {\n return mergeMap(identity, concurrent);\n}\n","import { executeSchedule } from '../util/executeSchedule';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function observeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, (value) => executeSchedule(subscriber, scheduler, () => subscriber.next(value), delay), () => executeSchedule(subscriber, scheduler, () => subscriber.complete(), delay), (err) => executeSchedule(subscriber, scheduler, () => subscriber.error(err), delay)));\n });\n}\n","import { concat } from '../observable/concat';\nimport { popScheduler } from '../util/args';\nimport { operate } from '../util/lift';\nexport function startWith(...values) {\n const scheduler = popScheduler(values);\n return operate((source, subscriber) => {\n (scheduler ? concat(values, source, scheduler) : concat(values, source)).subscribe(subscriber);\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function switchMap(project, resultSelector) {\n return operate((source, subscriber) => {\n let innerSubscriber = null;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => isComplete && !innerSubscriber && subscriber.complete();\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n innerSubscriber === null || innerSubscriber === void 0 ? void 0 : innerSubscriber.unsubscribe();\n let innerIndex = 0;\n const outerIndex = index++;\n innerFrom(project(value, outerIndex)).subscribe((innerSubscriber = createOperatorSubscriber(subscriber, (innerValue) => subscriber.next(resultSelector ? resultSelector(value, innerValue, outerIndex, innerIndex++) : innerValue), () => {\n innerSubscriber = null;\n checkComplete();\n })));\n }, () => {\n isComplete = true;\n checkComplete();\n }));\n });\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { innerFrom } from '../observable/innerFrom';\nimport { noop } from '../util/noop';\nexport function takeUntil(notifier) {\n return operate((source, subscriber) => {\n innerFrom(notifier).subscribe(createOperatorSubscriber(subscriber, () => subscriber.complete(), noop));\n !subscriber.closed && source.subscribe(subscriber);\n });\n}\n","import { Subscription } from '../Subscription';\nexport const animationFrameProvider = {\n schedule(callback) {\n let request = requestAnimationFrame;\n let cancel = cancelAnimationFrame;\n const { delegate } = animationFrameProvider;\n if (delegate) {\n request = delegate.requestAnimationFrame;\n cancel = delegate.cancelAnimationFrame;\n }\n const handle = request((timestamp) => {\n cancel = undefined;\n callback(timestamp);\n });\n return new Subscription(() => cancel === null || cancel === void 0 ? void 0 : cancel(handle));\n },\n requestAnimationFrame(...args) {\n const { delegate } = animationFrameProvider;\n return ((delegate === null || delegate === void 0 ? void 0 : delegate.requestAnimationFrame) || requestAnimationFrame)(...args);\n },\n cancelAnimationFrame(...args) {\n const { delegate } = animationFrameProvider;\n return ((delegate === null || delegate === void 0 ? void 0 : delegate.cancelAnimationFrame) || cancelAnimationFrame)(...args);\n },\n delegate: undefined,\n};\n","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 requestAsyncId(scheduler, id, delay = 0) {\n if (delay !== null && delay > 0) {\n return super.requestAsyncId(scheduler, id, delay);\n }\n scheduler.actions.push(this);\n return scheduler._scheduled || (scheduler._scheduled = animationFrameProvider.requestAnimationFrame(() => scheduler.flush(undefined)));\n }\n recycleAsyncId(scheduler, id, delay = 0) {\n var _a;\n if (delay != null ? delay > 0 : this.delay > 0) {\n return super.recycleAsyncId(scheduler, id, delay);\n }\n const { actions } = scheduler;\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 return undefined;\n }\n}\n","import { AnimationFrameAction } from './AnimationFrameAction';\nimport { AnimationFrameScheduler } from './AnimationFrameScheduler';\nexport const animationFrameScheduler = new AnimationFrameScheduler(AnimationFrameAction);\nexport const animationFrame = animationFrameScheduler;\n","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 { actions } = this;\n let error;\n action = action || actions.shift();\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 this._active = false;\n if (error) {\n while ((action = actions[0]) && action.id === flushId && actions.shift()) {\n action.unsubscribe();\n }\n throw error;\n }\n }\n}\n","import { isFunction } from './isFunction';\nimport { isScheduler } from './isScheduler';\nfunction last(arr) {\n return arr[arr.length - 1];\n}\nexport function popResultSelector(args) {\n return isFunction(last(args)) ? args.pop() : undefined;\n}\nexport function popScheduler(args) {\n return isScheduler(last(args)) ? args.pop() : undefined;\n}\nexport function popNumber(args, defaultValue) {\n return typeof last(args) === 'number' ? args.pop() : defaultValue;\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38]} \ No newline at end of file diff --git a/2223.3e7499ae07f58573.js b/2223.3e7499ae07f58573.js new file mode 100644 index 0000000..fab4ee1 --- /dev/null +++ b/2223.3e7499ae07f58573.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[2223],{72223:(O,_,l)=>{l.d(_,{F4:()=>D,IO:()=>P,LC:()=>y,SB:()=>F,X$:()=>p,ZE:()=>C,ZN:()=>T,_j:()=>c,eR:()=>S,jt:()=>m,k1:()=>b,l3:()=>d,oB:()=>k,pV:()=>E,ru:()=>g,vP:()=>v});var a=l(48047),u=l(78069),c=(0,a.Z)(function e(){(0,u.Z)(this,e)}),y=(0,a.Z)(function e(){(0,u.Z)(this,e)}),d="*";function p(e,n){return{type:7,name:e,definitions:n,options:{}}}function m(e){return{type:4,styles:arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,timings:e}}function g(e){return{type:3,steps:e,options:arguments.length>1&&void 0!==arguments[1]?arguments[1]:null}}function v(e){return{type:2,steps:e,options:arguments.length>1&&void 0!==arguments[1]?arguments[1]:null}}function k(e){return{type:6,styles:e,offset:null}}function F(e,n,t){return{type:0,name:e,styles:n,options:t}}function D(e){return{type:5,steps:e}}function S(e,n){return{type:1,expr:e,animation:n,options:arguments.length>2&&void 0!==arguments[2]?arguments[2]:null}}function E(){return{type:9,options:arguments.length>0&&void 0!==arguments[0]?arguments[0]:null}}function P(e,n){return{type:11,selector:e,animation:n,options:arguments.length>2&&void 0!==arguments[2]?arguments[2]:null}}function f(e){Promise.resolve().then(e)}var T=function(){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;(0,u.Z)(this,e),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=n+t}return(0,a.Z)(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])}},{key:"onStart",value:function(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}},{key:"onDone",value:function(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"hasStarted",value:function(){return this._started}},{key:"init",value:function(){}},{key:"play",value:function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}},{key:"triggerMicrotask",value:function(){var t=this;f(function(){return t._onFinish()})}},{key:"_onStart",value:function(){this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[]}},{key:"pause",value:function(){}},{key:"restart",value:function(){}},{key:"finish",value:function(){this._onFinish()}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}},{key:"setPosition",value:function(t){this._position=this.totalTime?t*this.totalTime:1}},{key:"getPosition",value:function(){return this.totalTime?this._position/this.totalTime:1}},{key:"triggerCallback",value:function(t){var i="start"==t?this._onStartFns:this._onDoneFns;i.forEach(function(s){return s()}),i.length=0}}]),e}(),C=function(){function e(n){var t=this;(0,u.Z)(this,e),this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=n;var i=0,s=0,o=0,h=this.players.length;0==h?f(function(){return t._onFinish()}):this.players.forEach(function(r){r.onDone(function(){++i==h&&t._onFinish()}),r.onDestroy(function(){++s==h&&t._onDestroy()}),r.onStart(function(){++o==h&&t._onStart()})}),this.totalTime=this.players.reduce(function(r,A){return Math.max(r,A.totalTime)},0)}return(0,a.Z)(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])}},{key:"init",value:function(){this.players.forEach(function(t){return t.init()})}},{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"_onStart",value:function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[])}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(t){return t.play()})}},{key:"pause",value:function(){this.players.forEach(function(t){return t.pause()})}},{key:"restart",value:function(){this.players.forEach(function(t){return t.restart()})}},{key:"finish",value:function(){this._onFinish(),this.players.forEach(function(t){return t.finish()})}},{key:"destroy",value:function(){this._onDestroy()}},{key:"_onDestroy",value:function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(t){return t.destroy()}),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this.players.forEach(function(t){return t.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"setPosition",value:function(t){var i=t*this.totalTime;this.players.forEach(function(s){var o=s.totalTime?Math.min(1,i/s.totalTime):1;s.setPosition(o)})}},{key:"getPosition",value:function(){var t=this.players.reduce(function(i,s){return null===i||s.totalTime>i.totalTime?s:i},null);return null!=t?t.getPosition():0}},{key:"beforeDestroy",value:function(){this.players.forEach(function(t){t.beforeDestroy&&t.beforeDestroy()})}},{key:"triggerCallback",value:function(t){var i="start"==t?this._onStartFns:this._onDoneFns;i.forEach(function(s){return s()}),i.length=0}}]),e}(),b="!"}}]); +//# sourceMappingURL=2223.3e7499ae07f58573.js.map \ No newline at end of file diff --git a/2223.3e7499ae07f58573.js.map b/2223.3e7499ae07f58573.js.map new file mode 100644 index 0000000..d26e1bf --- /dev/null +++ b/2223.3e7499ae07f58573.js.map @@ -0,0 +1 @@ +{"version":3,"file":"2223.3e7499ae07f58573.js","mappings":"qQAoDMA,GAAgBC,OAAA,SAAAD,KAAAE,OAAAC,KAAAH,EAAA,GAShBI,GAAgBH,OAAA,SAAAG,KAAAF,OAAAC,KAAAC,EAAA,GAQhBC,EAAa,IAqJnB,SAASC,EAAQC,EAAMC,GACnB,MAAO,CAAEC,KAAM,EAAuCF,OAAMC,cAAaE,QAAS,CAAC,EACvF,CA2DA,SAASC,EAAQC,GACb,MAAO,CAAEH,KAAM,EAAuCI,OAD1BC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAG,KAC+BF,UAClE,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AAOsB,eACPtB,EAAOsB,eAEf,EACJ,GACA,CAAA5C,IAAA,kBAAAC,MACA,SAAgBW,GACZ,IAAMC,EAAuB,SAAbD,EAAuB5D,KAAKsC,YAActC,KAAKqC,WAC/DwB,EAAQX,QAAQ,SAAAC,GAAE,OAAIA,GAAI,GAC1BU,EAAQjD,OAAS,CACrB,KAACkD,CAAA,CAjIqB,GAoIpB+B,EAAa","names":["AnimationBuilder","_createClass","_classCallCheck","this","AnimationFactory","AUTO_STYLE","trigger","name","definitions","type","options","animate","timings","styles","arguments","length","undefined","group","steps","sequence","style","tokens","offset","state","keyframes","transition","stateChangeExpr","expr","animation","animateChild","query","selector","scheduleMicroTask","cb","Promise","resolve","then","NoopAnimationPlayer","duration","delay","_onDoneFns","_onStartFns","_onDestroyFns","_originalOnDoneFns","_originalOnStartFns","_started","_destroyed","_finished","_position","parentPlayer","totalTime","key","value","forEach","fn","push","hasStarted","_onStart","triggerMicrotask","_this","_onFinish","finish","position","phaseName","methods","AnimationGroupPlayer","_players","_this2","players","doneCount","destroyCount","startCount","total","player","onDone","onDestroy","_onDestroy","onStart","reduce","time","Math","max","init","play","pause","restart","destroy","reset","p","timeAtPosition","min","setPosition","longestPlayer","longestSoFar","getPosition","beforeDestroy","ɵPRE_STYLE"],"sourceRoot":"webpack:///","sources":["./node_modules/@angular/animations/fesm2022/animations.mjs"],"sourcesContent":["/**\n * @license Angular v16.0.5\n * (c) 2010-2022 Google LLC. https://angular.io/\n * License: MIT\n */\n\n/**\n * An injectable service that produces an animation sequence programmatically within an\n * Angular component or directive.\n * Provided by the `BrowserAnimationsModule` or `NoopAnimationsModule`.\n *\n * @usageNotes\n *\n * To use this service, add it to your component or directive as a dependency.\n * The service is instantiated along with your component.\n *\n * Apps do not typically need to create their own animation players, but if you\n * do need to, follow these steps:\n *\n * 1. Use the [AnimationBuilder.build](api/animations/AnimationBuilder#build)() method\n * to create a programmatic animation. The method returns an `AnimationFactory` instance.\n *\n * 2. Use the factory object to create an `AnimationPlayer` and attach it to a DOM element.\n *\n * 3. Use the player object to control the animation programmatically.\n *\n * For example:\n *\n * ```ts\n * // import the service from BrowserAnimationsModule\n * import {AnimationBuilder} from '@angular/animations';\n * // require the service as a dependency\n * class MyCmp {\n * constructor(private _builder: AnimationBuilder) {}\n *\n * makeAnimation(element: any) {\n * // first define a reusable animation\n * const myAnimation = this._builder.build([\n * style({ width: 0 }),\n * animate(1000, style({ width: '100px' }))\n * ]);\n *\n * // use the returned factory object to create a player\n * const player = myAnimation.create(element);\n *\n * player.play();\n * }\n * }\n * ```\n *\n * @publicApi\n */\nclass AnimationBuilder {\n}\n/**\n * A factory object returned from the\n * [AnimationBuilder.build](api/animations/AnimationBuilder#build)()\n * method.\n *\n * @publicApi\n */\nclass AnimationFactory {\n}\n\n/**\n * Specifies automatic styling.\n *\n * @publicApi\n */\nconst AUTO_STYLE = '*';\n/**\n * Creates a named animation trigger, containing a list of [`state()`](api/animations/state)\n * and `transition()` entries to be evaluated when the expression\n * bound to the trigger changes.\n *\n * @param name An identifying string.\n * @param definitions An animation definition object, containing an array of\n * [`state()`](api/animations/state) and `transition()` declarations.\n *\n * @return An object that encapsulates the trigger data.\n *\n * @usageNotes\n * Define an animation trigger in the `animations` section of `@Component` metadata.\n * In the template, reference the trigger by name and bind it to a trigger expression that\n * evaluates to a defined animation state, using the following format:\n *\n * `[@triggerName]=\"expression\"`\n *\n * Animation trigger bindings convert all values to strings, and then match the\n * previous and current values against any linked transitions.\n * Booleans can be specified as `1` or `true` and `0` or `false`.\n *\n * ### Usage Example\n *\n * The following example creates an animation trigger reference based on the provided\n * name value.\n * The provided animation value is expected to be an array consisting of state and\n * transition declarations.\n *\n * ```typescript\n * @Component({\n * selector: \"my-component\",\n * templateUrl: \"my-component-tpl.html\",\n * animations: [\n * trigger(\"myAnimationTrigger\", [\n * state(...),\n * state(...),\n * transition(...),\n * transition(...)\n * ])\n * ]\n * })\n * class MyComponent {\n * myStatusExp = \"something\";\n * }\n * ```\n *\n * The template associated with this component makes use of the defined trigger\n * by binding to an element within its template code.\n *\n * ```html\n * \n *
...
\n * ```\n *\n * ### Using an inline function\n * The `transition` animation method also supports reading an inline function which can decide\n * if its associated animation should be run.\n *\n * ```typescript\n * // this method is run each time the `myAnimationTrigger` trigger value changes.\n * function myInlineMatcherFn(fromState: string, toState: string, element: any, params: {[key:\n string]: any}): boolean {\n * // notice that `element` and `params` are also available here\n * return toState == 'yes-please-animate';\n * }\n *\n * @Component({\n * selector: 'my-component',\n * templateUrl: 'my-component-tpl.html',\n * animations: [\n * trigger('myAnimationTrigger', [\n * transition(myInlineMatcherFn, [\n * // the animation sequence code\n * ]),\n * ])\n * ]\n * })\n * class MyComponent {\n * myStatusExp = \"yes-please-animate\";\n * }\n * ```\n *\n * ### Disabling Animations\n * When true, the special animation control binding `@.disabled` binding prevents\n * all animations from rendering.\n * Place the `@.disabled` binding on an element to disable\n * animations on the element itself, as well as any inner animation triggers\n * within the element.\n *\n * The following example shows how to use this feature:\n *\n * ```typescript\n * @Component({\n * selector: 'my-component',\n * template: `\n *
\n *
\n *
\n * `,\n * animations: [\n * trigger(\"childAnimation\", [\n * // ...\n * ])\n * ]\n * })\n * class MyComponent {\n * isDisabled = true;\n * exp = '...';\n * }\n * ```\n *\n * When `@.disabled` is true, it prevents the `@childAnimation` trigger from animating,\n * along with any inner animations.\n *\n * ### Disable animations application-wide\n * When an area of the template is set to have animations disabled,\n * **all** inner components have their animations disabled as well.\n * This means that you can disable all animations for an app\n * by placing a host binding set on `@.disabled` on the topmost Angular component.\n *\n * ```typescript\n * import {Component, HostBinding} from '@angular/core';\n *\n * @Component({\n * selector: 'app-component',\n * templateUrl: 'app.component.html',\n * })\n * class AppComponent {\n * @HostBinding('@.disabled')\n * public animationsDisabled = true;\n * }\n * ```\n *\n * ### Overriding disablement of inner animations\n * Despite inner animations being disabled, a parent animation can `query()`\n * for inner elements located in disabled areas of the template and still animate\n * them if needed. This is also the case for when a sub animation is\n * queried by a parent and then later animated using `animateChild()`.\n *\n * ### Detecting when an animation is disabled\n * If a region of the DOM (or the entire application) has its animations disabled, the animation\n * trigger callbacks still fire, but for zero seconds. When the callback fires, it provides\n * an instance of an `AnimationEvent`. If animations are disabled,\n * the `.disabled` flag on the event is true.\n *\n * @publicApi\n */\nfunction trigger(name, definitions) {\n return { type: 7 /* AnimationMetadataType.Trigger */, name, definitions, options: {} };\n}\n/**\n * Defines an animation step that combines styling information with timing information.\n *\n * @param timings Sets `AnimateTimings` for the parent animation.\n * A string in the format \"duration [delay] [easing]\".\n * - Duration and delay are expressed as a number and optional time unit,\n * such as \"1s\" or \"10ms\" for one second and 10 milliseconds, respectively.\n * The default unit is milliseconds.\n * - The easing value controls how the animation accelerates and decelerates\n * during its runtime. Value is one of `ease`, `ease-in`, `ease-out`,\n * `ease-in-out`, or a `cubic-bezier()` function call.\n * If not supplied, no easing is applied.\n *\n * For example, the string \"1s 100ms ease-out\" specifies a duration of\n * 1000 milliseconds, and delay of 100 ms, and the \"ease-out\" easing style,\n * which decelerates near the end of the duration.\n * @param styles Sets AnimationStyles for the parent animation.\n * A function call to either `style()` or `keyframes()`\n * that returns a collection of CSS style entries to be applied to the parent animation.\n * When null, uses the styles from the destination state.\n * This is useful when describing an animation step that will complete an animation;\n * see \"Animating to the final state\" in `transitions()`.\n * @returns An object that encapsulates the animation step.\n *\n * @usageNotes\n * Call within an animation `sequence()`, `{@link animations/group group()}`, or\n * `transition()` call to specify an animation step\n * that applies given style data to the parent animation for a given amount of time.\n *\n * ### Syntax Examples\n * **Timing examples**\n *\n * The following examples show various `timings` specifications.\n * - `animate(500)` : Duration is 500 milliseconds.\n * - `animate(\"1s\")` : Duration is 1000 milliseconds.\n * - `animate(\"100ms 0.5s\")` : Duration is 100 milliseconds, delay is 500 milliseconds.\n * - `animate(\"5s ease-in\")` : Duration is 5000 milliseconds, easing in.\n * - `animate(\"5s 10ms cubic-bezier(.17,.67,.88,.1)\")` : Duration is 5000 milliseconds, delay is 10\n * milliseconds, easing according to a bezier curve.\n *\n * **Style examples**\n *\n * The following example calls `style()` to set a single CSS style.\n * ```typescript\n * animate(500, style({ background: \"red\" }))\n * ```\n * The following example calls `keyframes()` to set a CSS style\n * to different values for successive keyframes.\n * ```typescript\n * animate(500, keyframes(\n * [\n * style({ background: \"blue\" }),\n * style({ background: \"red\" })\n * ])\n * ```\n *\n * @publicApi\n */\nfunction animate(timings, styles = null) {\n return { type: 4 /* AnimationMetadataType.Animate */, styles, timings };\n}\n/**\n * @description Defines a list of animation steps to be run in parallel.\n *\n * @param steps An array of animation step objects.\n * - When steps are defined by `style()` or `animate()`\n * function calls, each call within the group is executed instantly.\n * - To specify offset styles to be applied at a later time, define steps with\n * `keyframes()`, or use `animate()` calls with a delay value.\n * For example:\n *\n * ```typescript\n * group([\n * animate(\"1s\", style({ background: \"black\" })),\n * animate(\"2s\", style({ color: \"white\" }))\n * ])\n * ```\n *\n * @param options An options object containing a delay and\n * developer-defined parameters that provide styling defaults and\n * can be overridden on invocation.\n *\n * @return An object that encapsulates the group data.\n *\n * @usageNotes\n * Grouped animations are useful when a series of styles must be\n * animated at different starting times and closed off at different ending times.\n *\n * When called within a `sequence()` or a\n * `transition()` call, does not continue to the next\n * instruction until all of the inner animation steps have completed.\n *\n * @publicApi\n */\nfunction group(steps, options = null) {\n return { type: 3 /* AnimationMetadataType.Group */, steps, options };\n}\n/**\n * Defines a list of animation steps to be run sequentially, one by one.\n *\n * @param steps An array of animation step objects.\n * - Steps defined by `style()` calls apply the styling data immediately.\n * - Steps defined by `animate()` calls apply the styling data over time\n * as specified by the timing data.\n *\n * ```typescript\n * sequence([\n * style({ opacity: 0 }),\n * animate(\"1s\", style({ opacity: 1 }))\n * ])\n * ```\n *\n * @param options An options object containing a delay and\n * developer-defined parameters that provide styling defaults and\n * can be overridden on invocation.\n *\n * @return An object that encapsulates the sequence data.\n *\n * @usageNotes\n * When you pass an array of steps to a\n * `transition()` call, the steps run sequentially by default.\n * Compare this to the `{@link animations/group group()}` call, which runs animation steps in\n *parallel.\n *\n * When a sequence is used within a `{@link animations/group group()}` or a `transition()` call,\n * execution continues to the next instruction only after each of the inner animation\n * steps have completed.\n *\n * @publicApi\n **/\nfunction sequence(steps, options = null) {\n return { type: 2 /* AnimationMetadataType.Sequence */, steps, options };\n}\n/**\n * Declares a key/value object containing CSS properties/styles that\n * can then be used for an animation [`state`](api/animations/state), within an animation\n *`sequence`, or as styling data for calls to `animate()` and `keyframes()`.\n *\n * @param tokens A set of CSS styles or HTML styles associated with an animation state.\n * The value can be any of the following:\n * - A key-value style pair associating a CSS property with a value.\n * - An array of key-value style pairs.\n * - An asterisk (*), to use auto-styling, where styles are derived from the element\n * being animated and applied to the animation when it starts.\n *\n * Auto-styling can be used to define a state that depends on layout or other\n * environmental factors.\n *\n * @return An object that encapsulates the style data.\n *\n * @usageNotes\n * The following examples create animation styles that collect a set of\n * CSS property values:\n *\n * ```typescript\n * // string values for CSS properties\n * style({ background: \"red\", color: \"blue\" })\n *\n * // numerical pixel values\n * style({ width: 100, height: 0 })\n * ```\n *\n * The following example uses auto-styling to allow an element to animate from\n * a height of 0 up to its full height:\n *\n * ```\n * style({ height: 0 }),\n * animate(\"1s\", style({ height: \"*\" }))\n * ```\n *\n * @publicApi\n **/\nfunction style(tokens) {\n return { type: 6 /* AnimationMetadataType.Style */, styles: tokens, offset: null };\n}\n/**\n * Declares an animation state within a trigger attached to an element.\n *\n * @param name One or more names for the defined state in a comma-separated string.\n * The following reserved state names can be supplied to define a style for specific use\n * cases:\n *\n * - `void` You can associate styles with this name to be used when\n * the element is detached from the application. For example, when an `ngIf` evaluates\n * to false, the state of the associated element is void.\n * - `*` (asterisk) Indicates the default state. You can associate styles with this name\n * to be used as the fallback when the state that is being animated is not declared\n * within the trigger.\n *\n * @param styles A set of CSS styles associated with this state, created using the\n * `style()` function.\n * This set of styles persists on the element once the state has been reached.\n * @param options Parameters that can be passed to the state when it is invoked.\n * 0 or more key-value pairs.\n * @return An object that encapsulates the new state data.\n *\n * @usageNotes\n * Use the `trigger()` function to register states to an animation trigger.\n * Use the `transition()` function to animate between states.\n * When a state is active within a component, its associated styles persist on the element,\n * even when the animation ends.\n *\n * @publicApi\n **/\nfunction state(name, styles, options) {\n return { type: 0 /* AnimationMetadataType.State */, name, styles, options };\n}\n/**\n * Defines a set of animation styles, associating each style with an optional `offset` value.\n *\n * @param steps A set of animation styles with optional offset data.\n * The optional `offset` value for a style specifies a percentage of the total animation\n * time at which that style is applied.\n * @returns An object that encapsulates the keyframes data.\n *\n * @usageNotes\n * Use with the `animate()` call. Instead of applying animations\n * from the current state\n * to the destination state, keyframes describe how each style entry is applied and at what point\n * within the animation arc.\n * Compare [CSS Keyframe Animations](https://www.w3schools.com/css/css3_animations.asp).\n *\n * ### Usage\n *\n * In the following example, the offset values describe\n * when each `backgroundColor` value is applied. The color is red at the start, and changes to\n * blue when 20% of the total time has elapsed.\n *\n * ```typescript\n * // the provided offset values\n * animate(\"5s\", keyframes([\n * style({ backgroundColor: \"red\", offset: 0 }),\n * style({ backgroundColor: \"blue\", offset: 0.2 }),\n * style({ backgroundColor: \"orange\", offset: 0.3 }),\n * style({ backgroundColor: \"black\", offset: 1 })\n * ]))\n * ```\n *\n * If there are no `offset` values specified in the style entries, the offsets\n * are calculated automatically.\n *\n * ```typescript\n * animate(\"5s\", keyframes([\n * style({ backgroundColor: \"red\" }) // offset = 0\n * style({ backgroundColor: \"blue\" }) // offset = 0.33\n * style({ backgroundColor: \"orange\" }) // offset = 0.66\n * style({ backgroundColor: \"black\" }) // offset = 1\n * ]))\n *```\n\n * @publicApi\n */\nfunction keyframes(steps) {\n return { type: 5 /* AnimationMetadataType.Keyframes */, steps };\n}\n/**\n * Declares an animation transition which is played when a certain specified condition is met.\n *\n * @param stateChangeExpr A string with a specific format or a function that specifies when the\n * animation transition should occur (see [State Change Expression](#state-change-expression)).\n *\n * @param steps One or more animation objects that represent the animation's instructions.\n *\n * @param options An options object that can be used to specify a delay for the animation or provide\n * custom parameters for it.\n *\n * @returns An object that encapsulates the transition data.\n *\n * @usageNotes\n *\n * ### State Change Expression\n *\n * The State Change Expression instructs Angular when to run the transition's animations, it can\n *either be\n * - a string with a specific syntax\n * - or a function that compares the previous and current state (value of the expression bound to\n * the element's trigger) and returns `true` if the transition should occur or `false` otherwise\n *\n * The string format can be:\n * - `fromState => toState`, which indicates that the transition's animations should occur then the\n * expression bound to the trigger's element goes from `fromState` to `toState`\n *\n * _Example:_\n * ```typescript\n * transition('open => closed', animate('.5s ease-out', style({ height: 0 }) ))\n * ```\n *\n * - `fromState <=> toState`, which indicates that the transition's animations should occur then\n * the expression bound to the trigger's element goes from `fromState` to `toState` or vice versa\n *\n * _Example:_\n * ```typescript\n * transition('enabled <=> disabled', animate('1s cubic-bezier(0.8,0.3,0,1)'))\n * ```\n *\n * - `:enter`/`:leave`, which indicates that the transition's animations should occur when the\n * element enters or exists the DOM\n *\n * _Example:_\n * ```typescript\n * transition(':enter', [\n * style({ opacity: 0 }),\n * animate('500ms', style({ opacity: 1 }))\n * ])\n * ```\n *\n * - `:increment`/`:decrement`, which indicates that the transition's animations should occur when\n * the numerical expression bound to the trigger's element has increased in value or decreased\n *\n * _Example:_\n * ```typescript\n * transition(':increment', query('@counter', animateChild()))\n * ```\n *\n * - a sequence of any of the above divided by commas, which indicates that transition's animations\n * should occur whenever one of the state change expressions matches\n *\n * _Example:_\n * ```typescript\n * transition(':increment, * => enabled, :enter', animate('1s ease', keyframes([\n * style({ transform: 'scale(1)', offset: 0}),\n * style({ transform: 'scale(1.1)', offset: 0.7}),\n * style({ transform: 'scale(1)', offset: 1})\n * ]))),\n * ```\n *\n * Also note that in such context:\n * - `void` can be used to indicate the absence of the element\n * - asterisks can be used as wildcards that match any state\n * - (as a consequence of the above, `void => *` is equivalent to `:enter` and `* => void` is\n * equivalent to `:leave`)\n * - `true` and `false` also match expression values of `1` and `0` respectively (but do not match\n * _truthy_ and _falsy_ values)\n *\n *
\n *\n * Be careful about entering end leaving elements as their transitions present a common\n * pitfall for developers.\n *\n * Note that when an element with a trigger enters the DOM its `:enter` transition always\n * gets executed, but its `:leave` transition will not be executed if the element is removed\n * alongside its parent (as it will be removed \"without warning\" before its transition has\n * a chance to be executed, the only way that such transition can occur is if the element\n * is exiting the DOM on its own).\n *\n *\n *
\n *\n * ### Animating to a Final State\n *\n * If the final step in a transition is a call to `animate()` that uses a timing value\n * with no `style` data, that step is automatically considered the final animation arc,\n * for the element to reach the final state, in such case Angular automatically adds or removes\n * CSS styles to ensure that the element is in the correct final state.\n *\n *\n * ### Usage Examples\n *\n * - Transition animations applied based on\n * the trigger's expression value\n *\n * ```HTML\n *
\n * ...\n *
\n * ```\n *\n * ```typescript\n * trigger(\"myAnimationTrigger\", [\n * ..., // states\n * transition(\"on => off, open => closed\", animate(500)),\n * transition(\"* <=> error\", query('.indicator', animateChild()))\n * ])\n * ```\n *\n * - Transition animations applied based on custom logic dependent\n * on the trigger's expression value and provided parameters\n *\n * ```HTML\n *
\n * ...\n *
\n * ```\n *\n * ```typescript\n * trigger(\"myAnimationTrigger\", [\n * ..., // states\n * transition(\n * (fromState, toState, _element, params) =>\n * ['firststep', 'laststep'].includes(fromState.toLowerCase())\n * && toState === params?.['target'],\n * animate('1s')\n * )\n * ])\n * ```\n *\n * @publicApi\n **/\nfunction transition(stateChangeExpr, steps, options = null) {\n return { type: 1 /* AnimationMetadataType.Transition */, expr: stateChangeExpr, animation: steps, options };\n}\n/**\n * Produces a reusable animation that can be invoked in another animation or sequence,\n * by calling the `useAnimation()` function.\n *\n * @param steps One or more animation objects, as returned by the `animate()`\n * or `sequence()` function, that form a transformation from one state to another.\n * A sequence is used by default when you pass an array.\n * @param options An options object that can contain a delay value for the start of the\n * animation, and additional developer-defined parameters.\n * Provided values for additional parameters are used as defaults,\n * and override values can be passed to the caller on invocation.\n * @returns An object that encapsulates the animation data.\n *\n * @usageNotes\n * The following example defines a reusable animation, providing some default parameter\n * values.\n *\n * ```typescript\n * var fadeAnimation = animation([\n * style({ opacity: '{{ start }}' }),\n * animate('{{ time }}',\n * style({ opacity: '{{ end }}'}))\n * ],\n * { params: { time: '1000ms', start: 0, end: 1 }});\n * ```\n *\n * The following invokes the defined animation with a call to `useAnimation()`,\n * passing in override parameter values.\n *\n * ```js\n * useAnimation(fadeAnimation, {\n * params: {\n * time: '2s',\n * start: 1,\n * end: 0\n * }\n * })\n * ```\n *\n * If any of the passed-in parameter values are missing from this call,\n * the default values are used. If one or more parameter values are missing before a step is\n * animated, `useAnimation()` throws an error.\n *\n * @publicApi\n */\nfunction animation(steps, options = null) {\n return { type: 8 /* AnimationMetadataType.Reference */, animation: steps, options };\n}\n/**\n * Executes a queried inner animation element within an animation sequence.\n *\n * @param options An options object that can contain a delay value for the start of the\n * animation, and additional override values for developer-defined parameters.\n * @return An object that encapsulates the child animation data.\n *\n * @usageNotes\n * Each time an animation is triggered in Angular, the parent animation\n * has priority and any child animations are blocked. In order\n * for a child animation to run, the parent animation must query each of the elements\n * containing child animations, and run them using this function.\n *\n * Note that this feature is designed to be used with `query()` and it will only work\n * with animations that are assigned using the Angular animation library. CSS keyframes\n * and transitions are not handled by this API.\n *\n * @publicApi\n */\nfunction animateChild(options = null) {\n return { type: 9 /* AnimationMetadataType.AnimateChild */, options };\n}\n/**\n * Starts a reusable animation that is created using the `animation()` function.\n *\n * @param animation The reusable animation to start.\n * @param options An options object that can contain a delay value for the start of\n * the animation, and additional override values for developer-defined parameters.\n * @return An object that contains the animation parameters.\n *\n * @publicApi\n */\nfunction useAnimation(animation, options = null) {\n return { type: 10 /* AnimationMetadataType.AnimateRef */, animation, options };\n}\n/**\n * Finds one or more inner elements within the current element that is\n * being animated within a sequence. Use with `animate()`.\n *\n * @param selector The element to query, or a set of elements that contain Angular-specific\n * characteristics, specified with one or more of the following tokens.\n * - `query(\":enter\")` or `query(\":leave\")` : Query for newly inserted/removed elements (not\n * all elements can be queried via these tokens, see\n * [Entering and Leaving Elements](#entering-and-leaving-elements))\n * - `query(\":animating\")` : Query all currently animating elements.\n * - `query(\"@triggerName\")` : Query elements that contain an animation trigger.\n * - `query(\"@*\")` : Query all elements that contain an animation triggers.\n * - `query(\":self\")` : Include the current element into the animation sequence.\n *\n * @param animation One or more animation steps to apply to the queried element or elements.\n * An array is treated as an animation sequence.\n * @param options An options object. Use the 'limit' field to limit the total number of\n * items to collect.\n * @return An object that encapsulates the query data.\n *\n * @usageNotes\n *\n * ### Multiple Tokens\n *\n * Tokens can be merged into a combined query selector string. For example:\n *\n * ```typescript\n * query(':self, .record:enter, .record:leave, @subTrigger', [...])\n * ```\n *\n * The `query()` function collects multiple elements and works internally by using\n * `element.querySelectorAll`. Use the `limit` field of an options object to limit\n * the total number of items to be collected. For example:\n *\n * ```js\n * query('div', [\n * animate(...),\n * animate(...)\n * ], { limit: 1 })\n * ```\n *\n * By default, throws an error when zero items are found. Set the\n * `optional` flag to ignore this error. For example:\n *\n * ```js\n * query('.some-element-that-may-not-be-there', [\n * animate(...),\n * animate(...)\n * ], { optional: true })\n * ```\n *\n * ### Entering and Leaving Elements\n *\n * Not all elements can be queried via the `:enter` and `:leave` tokens, the only ones\n * that can are those that Angular assumes can enter/leave based on their own logic\n * (if their insertion/removal is simply a consequence of that of their parent they\n * should be queried via a different token in their parent's `:enter`/`:leave` transitions).\n *\n * The only elements Angular assumes can enter/leave based on their own logic (thus the only\n * ones that can be queried via the `:enter` and `:leave` tokens) are:\n * - Those inserted dynamically (via `ViewContainerRef`)\n * - Those that have a structural directive (which, under the hood, are a subset of the above ones)\n *\n *
\n *\n * Note that elements will be successfully queried via `:enter`/`:leave` even if their\n * insertion/removal is not done manually via `ViewContainerRef`or caused by their structural\n * directive (e.g. they enter/exit alongside their parent).\n *\n *
\n *\n *
\n *\n * There is an exception to what previously mentioned, besides elements entering/leaving based on\n * their own logic, elements with an animation trigger can always be queried via `:leave` when\n * their parent is also leaving.\n *\n *
\n *\n * ### Usage Example\n *\n * The following example queries for inner elements and animates them\n * individually using `animate()`.\n *\n * ```typescript\n * @Component({\n * selector: 'inner',\n * template: `\n *
\n *

Title

\n *
\n * Blah blah blah\n *
\n *
\n * `,\n * animations: [\n * trigger('queryAnimation', [\n * transition('* => goAnimate', [\n * // hide the inner elements\n * query('h1', style({ opacity: 0 })),\n * query('.content', style({ opacity: 0 })),\n *\n * // animate the inner elements in, one by one\n * query('h1', animate(1000, style({ opacity: 1 }))),\n * query('.content', animate(1000, style({ opacity: 1 }))),\n * ])\n * ])\n * ]\n * })\n * class Cmp {\n * exp = '';\n *\n * goAnimate() {\n * this.exp = 'goAnimate';\n * }\n * }\n * ```\n *\n * @publicApi\n */\nfunction query(selector, animation, options = null) {\n return { type: 11 /* AnimationMetadataType.Query */, selector, animation, options };\n}\n/**\n * Use within an animation `query()` call to issue a timing gap after\n * each queried item is animated.\n *\n * @param timings A delay value.\n * @param animation One ore more animation steps.\n * @returns An object that encapsulates the stagger data.\n *\n * @usageNotes\n * In the following example, a container element wraps a list of items stamped out\n * by an `ngFor`. The container element contains an animation trigger that will later be set\n * to query for each of the inner items.\n *\n * Each time items are added, the opacity fade-in animation runs,\n * and each removed item is faded out.\n * When either of these animations occur, the stagger effect is\n * applied after each item's animation is started.\n *\n * ```html\n * \n * \n *
\n *
\n *
\n * {{ item }}\n *
\n *
\n * ```\n *\n * Here is the component code:\n *\n * ```typescript\n * import {trigger, transition, style, animate, query, stagger} from '@angular/animations';\n * @Component({\n * templateUrl: 'list.component.html',\n * animations: [\n * trigger('listAnimation', [\n * ...\n * ])\n * ]\n * })\n * class ListComponent {\n * items = [];\n *\n * showItems() {\n * this.items = [0,1,2,3,4];\n * }\n *\n * hideItems() {\n * this.items = [];\n * }\n *\n * toggle() {\n * this.items.length ? this.hideItems() : this.showItems();\n * }\n * }\n * ```\n *\n * Here is the animation trigger code:\n *\n * ```typescript\n * trigger('listAnimation', [\n * transition('* => *', [ // each time the binding value changes\n * query(':leave', [\n * stagger(100, [\n * animate('0.5s', style({ opacity: 0 }))\n * ])\n * ]),\n * query(':enter', [\n * style({ opacity: 0 }),\n * stagger(100, [\n * animate('0.5s', style({ opacity: 1 }))\n * ])\n * ])\n * ])\n * ])\n * ```\n *\n * @publicApi\n */\nfunction stagger(timings, animation) {\n return { type: 12 /* AnimationMetadataType.Stagger */, timings, animation };\n}\n\nfunction scheduleMicroTask(cb) {\n Promise.resolve().then(cb);\n}\n\n/**\n * An empty programmatic controller for reusable animations.\n * Used internally when animations are disabled, to avoid\n * checking for the null case when an animation player is expected.\n *\n * @see `animate()`\n * @see `AnimationPlayer`\n * @see `GroupPlayer`\n *\n * @publicApi\n */\nclass NoopAnimationPlayer {\n constructor(duration = 0, delay = 0) {\n this._onDoneFns = [];\n this._onStartFns = [];\n this._onDestroyFns = [];\n this._originalOnDoneFns = [];\n this._originalOnStartFns = [];\n this._started = false;\n this._destroyed = false;\n this._finished = false;\n this._position = 0;\n this.parentPlayer = null;\n this.totalTime = duration + delay;\n }\n _onFinish() {\n if (!this._finished) {\n this._finished = true;\n this._onDoneFns.forEach(fn => fn());\n this._onDoneFns = [];\n }\n }\n onStart(fn) {\n this._originalOnStartFns.push(fn);\n this._onStartFns.push(fn);\n }\n onDone(fn) {\n this._originalOnDoneFns.push(fn);\n this._onDoneFns.push(fn);\n }\n onDestroy(fn) {\n this._onDestroyFns.push(fn);\n }\n hasStarted() {\n return this._started;\n }\n init() { }\n play() {\n if (!this.hasStarted()) {\n this._onStart();\n this.triggerMicrotask();\n }\n this._started = true;\n }\n /** @internal */\n triggerMicrotask() {\n scheduleMicroTask(() => this._onFinish());\n }\n _onStart() {\n this._onStartFns.forEach(fn => fn());\n this._onStartFns = [];\n }\n pause() { }\n restart() { }\n finish() {\n this._onFinish();\n }\n destroy() {\n if (!this._destroyed) {\n this._destroyed = true;\n if (!this.hasStarted()) {\n this._onStart();\n }\n this.finish();\n this._onDestroyFns.forEach(fn => fn());\n this._onDestroyFns = [];\n }\n }\n reset() {\n this._started = false;\n this._finished = false;\n this._onStartFns = this._originalOnStartFns;\n this._onDoneFns = this._originalOnDoneFns;\n }\n setPosition(position) {\n this._position = this.totalTime ? position * this.totalTime : 1;\n }\n getPosition() {\n return this.totalTime ? this._position / this.totalTime : 1;\n }\n /** @internal */\n triggerCallback(phaseName) {\n const methods = phaseName == 'start' ? this._onStartFns : this._onDoneFns;\n methods.forEach(fn => fn());\n methods.length = 0;\n }\n}\n\n/**\n * A programmatic controller for a group of reusable animations.\n * Used internally to control animations.\n *\n * @see `AnimationPlayer`\n * @see `{@link animations/group group()}`\n *\n */\nclass AnimationGroupPlayer {\n constructor(_players) {\n this._onDoneFns = [];\n this._onStartFns = [];\n this._finished = false;\n this._started = false;\n this._destroyed = false;\n this._onDestroyFns = [];\n this.parentPlayer = null;\n this.totalTime = 0;\n this.players = _players;\n let doneCount = 0;\n let destroyCount = 0;\n let startCount = 0;\n const total = this.players.length;\n if (total == 0) {\n scheduleMicroTask(() => this._onFinish());\n }\n else {\n this.players.forEach(player => {\n player.onDone(() => {\n if (++doneCount == total) {\n this._onFinish();\n }\n });\n player.onDestroy(() => {\n if (++destroyCount == total) {\n this._onDestroy();\n }\n });\n player.onStart(() => {\n if (++startCount == total) {\n this._onStart();\n }\n });\n });\n }\n this.totalTime = this.players.reduce((time, player) => Math.max(time, player.totalTime), 0);\n }\n _onFinish() {\n if (!this._finished) {\n this._finished = true;\n this._onDoneFns.forEach(fn => fn());\n this._onDoneFns = [];\n }\n }\n init() {\n this.players.forEach(player => player.init());\n }\n onStart(fn) {\n this._onStartFns.push(fn);\n }\n _onStart() {\n if (!this.hasStarted()) {\n this._started = true;\n this._onStartFns.forEach(fn => fn());\n this._onStartFns = [];\n }\n }\n onDone(fn) {\n this._onDoneFns.push(fn);\n }\n onDestroy(fn) {\n this._onDestroyFns.push(fn);\n }\n hasStarted() {\n return this._started;\n }\n play() {\n if (!this.parentPlayer) {\n this.init();\n }\n this._onStart();\n this.players.forEach(player => player.play());\n }\n pause() {\n this.players.forEach(player => player.pause());\n }\n restart() {\n this.players.forEach(player => player.restart());\n }\n finish() {\n this._onFinish();\n this.players.forEach(player => player.finish());\n }\n destroy() {\n this._onDestroy();\n }\n _onDestroy() {\n if (!this._destroyed) {\n this._destroyed = true;\n this._onFinish();\n this.players.forEach(player => player.destroy());\n this._onDestroyFns.forEach(fn => fn());\n this._onDestroyFns = [];\n }\n }\n reset() {\n this.players.forEach(player => player.reset());\n this._destroyed = false;\n this._finished = false;\n this._started = false;\n }\n setPosition(p) {\n const timeAtPosition = p * this.totalTime;\n this.players.forEach(player => {\n const position = player.totalTime ? Math.min(1, timeAtPosition / player.totalTime) : 1;\n player.setPosition(position);\n });\n }\n getPosition() {\n const longestPlayer = this.players.reduce((longestSoFar, player) => {\n const newPlayerIsLongest = longestSoFar === null || player.totalTime > longestSoFar.totalTime;\n return newPlayerIsLongest ? player : longestSoFar;\n }, null);\n return longestPlayer != null ? longestPlayer.getPosition() : 0;\n }\n beforeDestroy() {\n this.players.forEach(player => {\n if (player.beforeDestroy) {\n player.beforeDestroy();\n }\n });\n }\n /** @internal */\n triggerCallback(phaseName) {\n const methods = phaseName == 'start' ? this._onStartFns : this._onDoneFns;\n methods.forEach(fn => fn());\n methods.length = 0;\n }\n}\n\nconst ɵPRE_STYLE = '!';\n\n/**\n * @module\n * @description\n * Entry point for all animation APIs of the animation package.\n */\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\n\n// This file is not used to build this module. It is only used during editing\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { AUTO_STYLE, AnimationBuilder, AnimationFactory, NoopAnimationPlayer, animate, animateChild, animation, group, keyframes, query, sequence, stagger, state, style, transition, trigger, useAnimation, AnimationGroupPlayer as ɵAnimationGroupPlayer, ɵPRE_STYLE };\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/2512.2d65adc8804e95d7.js b/2512.2d65adc8804e95d7.js new file mode 100644 index 0000000..4ea67c1 --- /dev/null +++ b/2512.2d65adc8804e95d7.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[2512,5603,9880],{42512:(P,w,m)=>{m.r(w),m.d(w,{BrowserModule:()=>Be,By:()=>Ge,DomSanitizer:()=>pe,EVENT_MANAGER_PLUGINS:()=>b,EventManager:()=>I,HAMMER_GESTURE_CONFIG:()=>k,HAMMER_LOADER:()=>V,HammerGestureConfig:()=>ve,HammerModule:()=>Xe,Meta:()=>le,REMOVE_STYLES_ON_COMPONENT_DESTROY:()=>Q,Title:()=>ce,TransferState:()=>nt,VERSION:()=>et,bootstrapApplication:()=>ke,createApplication:()=>Pe,disableDebugTools:()=>ze,enableDebugTools:()=>Ve,makeStateKey:()=>tt,platformBrowser:()=>Le,provideClientHydration:()=>qe,provideProtractorTestingSupport:()=>Ie,withNoDomReuse:()=>$e,withNoHttpTransferCache:()=>Qe,\u0275BrowserDomAdapter:()=>X,\u0275BrowserGetTestability:()=>J,\u0275DomEventsPlugin:()=>ne,\u0275DomRendererFactory2:()=>j,\u0275DomSanitizerImpl:()=>z,\u0275HammerGesturesPlugin:()=>he,\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS:()=>K,\u0275KeyEventsPlugin:()=>oe,\u0275SharedStylesHost:()=>L,\u0275getDOM:()=>h.\u0275getDOM,\u0275initDomAdapter:()=>ie});var A,C=m(86170),S=m(4089),E=m(20265),p=m(35603),_=m(95106),c=m(48047),d=m(78069),D=m(24582),M=m(28694),a=m(56718),h=m(94055),ye=m(3267),X=function(o){(0,D.Z)(t,o);var i=(0,M.Z)(t);function t(){return(0,d.Z)(this,t),i.apply(this,arguments)}return(0,c.Z)(t,[{key:"onAndCancel",value:function(n,r,u){return n.addEventListener(r,u),function(){n.removeEventListener(r,u)}}},{key:"dispatchEvent",value:function(n,r){n.dispatchEvent(r)}},{key:"remove",value:function(n){n.parentNode&&n.parentNode.removeChild(n)}},{key:"createElement",value:function(n,r){return(r=r||this.getDefaultDocument()).createElement(n)}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"isElementNode",value:function(n){return n.nodeType===Node.ELEMENT_NODE}},{key:"isShadowRoot",value:function(n){return n instanceof DocumentFragment}},{key:"getGlobalEventTarget",value:function(n,r){return"window"===r?window:"document"===r?n:"body"===r?n.body:null}},{key:"getBaseHref",value:function(n){var r=function ge(){return(O=O||document.querySelector("base"))?O.getAttribute("href"):null}();return null==r?null:function Ee(o){(A=A||document.createElement("a")).setAttribute("href",o);var i=A.pathname;return"/"===i.charAt(0)?i:"/".concat(i)}(r)}},{key:"resetBaseElement",value:function(){O=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"getCookie",value:function(n){return(0,h.\u0275parseCookieValue)(document.cookie,n)}}],[{key:"makeCurrent",value:function(){(0,h.\u0275setRootDomAdapter)(new t)}}]),t}(function(o){(0,D.Z)(t,o);var i=(0,M.Z)(t);function t(){var e;return(0,d.Z)(this,t),(e=i.apply(this,arguments)).supportsDOMEvents=!0,e}return(0,c.Z)(t)}(h.\u0275DomAdapter)),O=null,J=function(){function o(){(0,d.Z)(this,o)}return(0,c.Z)(o,[{key:"addToWindow",value:function(t){a.\u0275global.getAngularTestability=function(n){var u=t.findTestabilityInTree(n,!(arguments.length>1&&void 0!==arguments[1])||arguments[1]);if(null==u)throw new a.\u0275RuntimeError(5103,!1);return u},a.\u0275global.getAllAngularTestabilities=function(){return t.getAllTestabilities()},a.\u0275global.getAllAngularRootElements=function(){return t.getAllRootElements()},a.\u0275global.frameworkStabilizers||(a.\u0275global.frameworkStabilizers=[]),a.\u0275global.frameworkStabilizers.push(function(r){var u=a.\u0275global.getAllAngularTestabilities(),s=u.length,l=!1,f=function(v){l=l||v,0==--s&&r(l)};u.forEach(function(y){y.whenStable(f)})})}},{key:"findTestabilityInTree",value:function(t,e,n){return null==e?null:t.getTestability(e)??(n?(0,h.\u0275getDOM)().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null)}}]),o}(),De=function(){var o=function(){function i(){(0,d.Z)(this,i)}return(0,c.Z)(i,[{key:"build",value:function(){return new XMLHttpRequest}}]),i}();return o.\u0275fac=function(t){return new(t||o)},o.\u0275prov=a.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),b=new a.InjectionToken("EventManagerPlugins"),I=function(){var o=function(){function i(t,e){var n=this;(0,d.Z)(this,i),this._zone=e,this._eventNameToPlugin=new Map,t.forEach(function(r){r.manager=n}),this._plugins=t.slice().reverse()}return(0,c.Z)(i,[{key:"addEventListener",value:function(e,n,r){return this._findPluginFor(n).addEventListener(e,n,r)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(e){var n=this._eventNameToPlugin.get(e);if(n)return n;if(!(n=this._plugins.find(function(u){return u.supports(e)})))throw new a.\u0275RuntimeError(5101,!1);return this._eventNameToPlugin.set(e,n),n}}]),i}();return o.\u0275fac=function(t){return new(t||o)(a.\u0275\u0275inject(b),a.\u0275\u0275inject(a.NgZone))},o.\u0275prov=a.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),N=(0,c.Z)(function o(i){(0,d.Z)(this,o),this._doc=i}),Z="ng-app-id",L=function(){var o=function(){function i(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};(0,d.Z)(this,i),this.doc=t,this.appId=e,this.nonce=n,this.platformId=r,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,h.isPlatformServer)(r),this.resetHostNodes()}return(0,c.Z)(i,[{key:"addStyles",value:function(e){var r,n=(0,_.Z)(e);try{for(n.s();!(r=n.n()).done;){var u=r.value;1===this.changeUsageCount(u,1)&&this.onStyleAdded(u)}}catch(l){n.e(l)}finally{n.f()}}},{key:"removeStyles",value:function(e){var r,n=(0,_.Z)(e);try{for(n.s();!(r=n.n()).done;){var u=r.value;this.changeUsageCount(u,-1)<=0&&this.onStyleRemoved(u)}}catch(l){n.e(l)}finally{n.f()}}},{key:"ngOnDestroy",value:function(){var e=this.styleNodesInDOM;e&&(e.forEach(function(s){return s.remove()}),e.clear());var r,n=(0,_.Z)(this.getAllStyles());try{for(n.s();!(r=n.n()).done;)this.onStyleRemoved(r.value)}catch(s){n.e(s)}finally{n.f()}this.resetHostNodes()}},{key:"addHost",value:function(e){this.hostNodes.add(e);var r,n=(0,_.Z)(this.getAllStyles());try{for(n.s();!(r=n.n()).done;)this.addStyleToHost(e,r.value)}catch(s){n.e(s)}finally{n.f()}}},{key:"removeHost",value:function(e){this.hostNodes.delete(e)}},{key:"getAllStyles",value:function(){return this.styleRef.keys()}},{key:"onStyleAdded",value:function(e){var r,n=(0,_.Z)(this.hostNodes);try{for(n.s();!(r=n.n()).done;)this.addStyleToHost(r.value,e)}catch(s){n.e(s)}finally{n.f()}}},{key:"onStyleRemoved",value:function(e){var n,r,u=this.styleRef;null===(n=u.get(e))||void 0===n||null===(r=n.elements)||void 0===r||r.forEach(function(s){return s.remove()}),u.delete(e)}},{key:"collectServerRenderedStyles",value:function(){var e,n=null===(e=this.doc.head)||void 0===e?void 0:e.querySelectorAll("style[".concat(Z,'="').concat(this.appId,'"]'));if(null!=n&&n.length){var r=new Map;return n.forEach(function(u){null!=u.textContent&&r.set(u.textContent,u)}),r}return null}},{key:"changeUsageCount",value:function(e,n){var r=this.styleRef;if(r.has(e)){var u=r.get(e);return u.usage+=n,u.usage}return r.set(e,{usage:n,elements:[]}),n}},{key:"getStyleElement",value:function(e,n){var r=this.styleNodesInDOM,u=r?.get(n);if(u?.parentNode===e)return r.delete(n),u.removeAttribute(Z),u;var s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=n,this.platformIsServer&&s.setAttribute(Z,this.appId),s}},{key:"addStyleToHost",value:function(e,n){var r,u=this.getStyleElement(e,n);e.appendChild(u);var s=this.styleRef,l=null===(r=s.get(n))||void 0===r?void 0:r.elements;l?l.push(u):s.set(n,{elements:[u],usage:1})}},{key:"resetHostNodes",value:function(){var e=this.hostNodes;e.clear(),e.add(this.doc.head)}}]),i}();return o.\u0275fac=function(t){return new(t||o)(a.\u0275\u0275inject(h.DOCUMENT),a.\u0275\u0275inject(a.APP_ID),a.\u0275\u0275inject(a.CSP_NONCE,8),a.\u0275\u0275inject(a.PLATFORM_ID))},o.\u0275prov=a.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),H={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},B=/%COMP%/g,$="%COMP%",Se="_nghost-".concat($),Me="_ngcontent-".concat($),Q=new a.InjectionToken("RemoveStylesOnCompDestory",{providedIn:"root",factory:function(){return!1}});function q(o,i){return i.map(function(t){return t.replace(B,o)})}var j=function(){var o=function(){function i(t,e,n,r,u,s,l){var f=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null;(0,d.Z)(this,i),this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.removeStylesOnCompDestory=r,this.doc=u,this.platformId=s,this.ngZone=l,this.nonce=f,this.rendererByCompId=new Map,this.platformIsServer=(0,h.isPlatformServer)(s),this.defaultRenderer=new U(t,u,l,this.platformIsServer)}return(0,c.Z)(i,[{key:"createRenderer",value:function(e,n){if(!e||!n)return this.defaultRenderer;this.platformIsServer&&n.encapsulation===a.ViewEncapsulation.ShadowDom&&(n=(0,p.Z)((0,p.Z)({},n),{},{encapsulation:a.ViewEncapsulation.Emulated}));var r=this.getOrCreateRenderer(e,n);return r instanceof te?r.applyToHost(e):r instanceof F&&r.applyStyles(),r}},{key:"getOrCreateRenderer",value:function(e,n){var r=this.rendererByCompId,u=r.get(n.id);if(!u){var s=this.doc,l=this.ngZone,f=this.eventManager,y=this.sharedStylesHost,v=this.removeStylesOnCompDestory,g=this.platformIsServer;switch(n.encapsulation){case a.ViewEncapsulation.Emulated:u=new te(f,y,n,this.appId,v,s,l,g);break;case a.ViewEncapsulation.ShadowDom:return new Oe(f,y,e,n,s,l,this.nonce,g);default:u=new F(f,y,n,v,s,l,g)}u.onDestroy=function(){return r.delete(n.id)},r.set(n.id,u)}return u}},{key:"ngOnDestroy",value:function(){this.rendererByCompId.clear()}}]),i}();return o.\u0275fac=function(t){return new(t||o)(a.\u0275\u0275inject(I),a.\u0275\u0275inject(L),a.\u0275\u0275inject(a.APP_ID),a.\u0275\u0275inject(Q),a.\u0275\u0275inject(h.DOCUMENT),a.\u0275\u0275inject(a.PLATFORM_ID),a.\u0275\u0275inject(a.NgZone),a.\u0275\u0275inject(a.CSP_NONCE))},o.\u0275prov=a.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),U=function(){function o(i,t,e,n){(0,d.Z)(this,o),this.eventManager=i,this.doc=t,this.ngZone=e,this.platformIsServer=n,this.data=Object.create(null),this.destroyNode=null}return(0,c.Z)(o,[{key:"destroy",value:function(){}},{key:"createElement",value:function(t,e){return e?this.doc.createElementNS(H[e]||e,t):this.doc.createElement(t)}},{key:"createComment",value:function(t){return this.doc.createComment(t)}},{key:"createText",value:function(t){return this.doc.createTextNode(t)}},{key:"appendChild",value:function(t,e){(ee(t)?t.content:t).appendChild(e)}},{key:"insertBefore",value:function(t,e,n){t&&(ee(t)?t.content:t).insertBefore(e,n)}},{key:"removeChild",value:function(t,e){t&&t.removeChild(e)}},{key:"selectRootElement",value:function(t,e){var n="string"==typeof t?this.doc.querySelector(t):t;if(!n)throw new a.\u0275RuntimeError(5104,!1);return e||(n.textContent=""),n}},{key:"parentNode",value:function(t){return t.parentNode}},{key:"nextSibling",value:function(t){return t.nextSibling}},{key:"setAttribute",value:function(t,e,n,r){if(r){e=r+":"+e;var u=H[r];u?t.setAttributeNS(u,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}},{key:"removeAttribute",value:function(t,e,n){if(n){var r=H[n];r?t.removeAttributeNS(r,e):t.removeAttribute("".concat(n,":").concat(e))}else t.removeAttribute(e)}},{key:"addClass",value:function(t,e){t.classList.add(e)}},{key:"removeClass",value:function(t,e){t.classList.remove(e)}},{key:"setStyle",value:function(t,e,n,r){r&(a.RendererStyleFlags2.DashCase|a.RendererStyleFlags2.Important)?t.style.setProperty(e,n,r&a.RendererStyleFlags2.Important?"important":""):t.style[e]=n}},{key:"removeStyle",value:function(t,e,n){n&a.RendererStyleFlags2.DashCase?t.style.removeProperty(e):t.style[e]=""}},{key:"setProperty",value:function(t,e,n){t[e]=n}},{key:"setValue",value:function(t,e){t.nodeValue=e}},{key:"listen",value:function(t,e,n){if("string"==typeof t&&!(t=(0,h.\u0275getDOM)().getGlobalEventTarget(this.doc,t)))throw new Error("Unsupported event target ".concat(t," for event ").concat(e));return this.eventManager.addEventListener(t,e,this.decoratePreventDefault(n))}},{key:"decoratePreventDefault",value:function(t){var e=this;return function(n){if("__ngUnwrap__"===n)return t;!1===(e.platformIsServer?e.ngZone.runGuarded(function(){return t(n)}):t(n))&&n.preventDefault()}}}]),o}();function ee(o){return"TEMPLATE"===o.tagName&&void 0!==o.content}var Oe=function(o){(0,D.Z)(t,o);var i=(0,M.Z)(t);function t(e,n,r,u,s,l,f,y){var v;(0,d.Z)(this,t),(v=i.call(this,e,s,l,y)).sharedStylesHost=n,v.hostEl=r,v.shadowRoot=r.attachShadow({mode:"open"}),v.sharedStylesHost.addHost(v.shadowRoot);var G,g=q(u.id,u.styles),T=(0,_.Z)(g);try{for(T.s();!(G=T.n()).done;){var W=G.value,Y=document.createElement("style");f&&Y.setAttribute("nonce",f),Y.textContent=W,v.shadowRoot.appendChild(Y)}}catch(rt){T.e(rt)}finally{T.f()}return v}return(0,c.Z)(t,[{key:"nodeOrShadowRoot",value:function(n){return n===this.hostEl?this.shadowRoot:n}},{key:"appendChild",value:function(n,r){return(0,S.Z)((0,E.Z)(t.prototype),"appendChild",this).call(this,this.nodeOrShadowRoot(n),r)}},{key:"insertBefore",value:function(n,r,u){return(0,S.Z)((0,E.Z)(t.prototype),"insertBefore",this).call(this,this.nodeOrShadowRoot(n),r,u)}},{key:"removeChild",value:function(n,r){return(0,S.Z)((0,E.Z)(t.prototype),"removeChild",this).call(this,this.nodeOrShadowRoot(n),r)}},{key:"parentNode",value:function(n){return this.nodeOrShadowRoot((0,S.Z)((0,E.Z)(t.prototype),"parentNode",this).call(this,this.nodeOrShadowRoot(n)))}},{key:"destroy",value:function(){this.sharedStylesHost.removeHost(this.shadowRoot)}}]),t}(U),F=function(o){(0,D.Z)(t,o);var i=(0,M.Z)(t);function t(e,n,r,u,s,l,f,y){var v;return(0,d.Z)(this,t),(v=i.call(this,e,s,l,f)).sharedStylesHost=n,v.removeStylesOnCompDestory=u,v.rendererUsageCount=0,v.styles=y?q(y,r.styles):r.styles,v}return(0,c.Z)(t,[{key:"applyStyles",value:function(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}},{key:"destroy",value:function(){var n;this.removeStylesOnCompDestory&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,0===this.rendererUsageCount)&&(null===(n=this.onDestroy)||void 0===n||n.call(this))}}]),t}(U),te=function(o){(0,D.Z)(t,o);var i=(0,M.Z)(t);function t(e,n,r,u,s,l,f,y){var v;(0,d.Z)(this,t);var g=u+"-"+r.id;return(v=i.call(this,e,n,r,s,l,f,y,g)).contentAttr=function we(o){return Me.replace(B,o)}(g),v.hostAttr=function Re(o){return Se.replace(B,o)}(g),v}return(0,c.Z)(t,[{key:"applyToHost",value:function(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}},{key:"createElement",value:function(n,r){var u=(0,S.Z)((0,E.Z)(t.prototype),"createElement",this).call(this,n,r);return(0,S.Z)((0,E.Z)(t.prototype),"setAttribute",this).call(this,u,this.contentAttr,""),u}}]),t}(F),ne=function(){var o=function(i){(0,D.Z)(e,i);var t=(0,M.Z)(e);function e(n){return(0,d.Z)(this,e),t.call(this,n)}return(0,c.Z)(e,[{key:"supports",value:function(r){return!0}},{key:"addEventListener",value:function(r,u,s){var l=this;return r.addEventListener(u,s,!1),function(){return l.removeEventListener(r,u,s)}}},{key:"removeEventListener",value:function(r,u,s){return r.removeEventListener(u,s)}}]),e}(N);return o.\u0275fac=function(t){return new(t||o)(a.\u0275\u0275inject(h.DOCUMENT))},o.\u0275prov=a.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),re=["alt","control","meta","shift"],be={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Ae={alt:function(i){return i.altKey},control:function(i){return i.ctrlKey},meta:function(i){return i.metaKey},shift:function(i){return i.shiftKey}},oe=function(){var o=function(i){(0,D.Z)(e,i);var t=(0,M.Z)(e);function e(n){return(0,d.Z)(this,e),t.call(this,n)}return(0,c.Z)(e,[{key:"supports",value:function(r){return null!=e.parseEventName(r)}},{key:"addEventListener",value:function(r,u,s){var l=e.parseEventName(u),f=e.eventCallback(l.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return(0,h.\u0275getDOM)().onAndCancel(r,l.domEventName,f)})}}],[{key:"parseEventName",value:function(r){var u=r.toLowerCase().split("."),s=u.shift();if(0===u.length||"keydown"!==s&&"keyup"!==s)return null;var l=e._normalizeKey(u.pop()),f="",y=u.indexOf("code");if(y>-1&&(u.splice(y,1),f="code."),re.forEach(function(g){var T=u.indexOf(g);T>-1&&(u.splice(T,1),f+=g+".")}),f+=l,0!=u.length||0===l.length)return null;var v={};return v.domEventName=s,v.fullKey=f,v}},{key:"matchEventFullKeyCode",value:function(r,u){var s=be[r.key]||r.key,l="";return u.indexOf("code.")>-1&&(s=r.code,l="code."),!(null==s||!s)&&(" "===(s=s.toLowerCase())?s="space":"."===s&&(s="dot"),re.forEach(function(f){f!==s&&(0,Ae[f])(r)&&(l+=f+".")}),(l+=s)===u)}},{key:"eventCallback",value:function(r,u,s){return function(l){e.matchEventFullKeyCode(l,r)&&s.runGuarded(function(){return u(l)})}}},{key:"_normalizeKey",value:function(r){return"esc"===r?"escape":r}}]),e}(N);return o.\u0275fac=function(t){return new(t||o)(a.\u0275\u0275inject(h.DOCUMENT))},o.\u0275prov=a.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}();function ke(o,i){return(0,a.\u0275internalCreateApplication)((0,p.Z)({rootComponent:o},ae(i)))}function Pe(o){return(0,a.\u0275internalCreateApplication)(ae(o))}function ae(o){var i;return{appProviders:[].concat(se,(0,C.Z)(null!==(i=o?.providers)&&void 0!==i?i:[])),platformProviders:K}}function Ie(){return[].concat(ue)}function ie(){X.makeCurrent()}var K=[{provide:a.PLATFORM_ID,useValue:h.\u0275PLATFORM_BROWSER_ID},{provide:a.PLATFORM_INITIALIZER,useValue:ie,multi:!0},{provide:h.DOCUMENT,useFactory:function Ze(){return(0,a.\u0275setDocument)(document),document},deps:[]}],Le=(0,a.createPlatformFactory)(a.platformCore,"browser",K),He=new a.InjectionToken(""),ue=[{provide:a.\u0275TESTABILITY_GETTER,useClass:J,deps:[]},{provide:a.\u0275TESTABILITY,useClass:a.Testability,deps:[a.NgZone,a.TestabilityRegistry,a.\u0275TESTABILITY_GETTER]},{provide:a.Testability,useClass:a.Testability,deps:[a.NgZone,a.TestabilityRegistry,a.\u0275TESTABILITY_GETTER]}],se=[{provide:a.\u0275INJECTOR_SCOPE,useValue:"root"},{provide:a.ErrorHandler,useFactory:function Ne(){return new a.ErrorHandler},deps:[]},{provide:b,useClass:ne,multi:!0,deps:[h.DOCUMENT,a.NgZone,a.PLATFORM_ID]},{provide:b,useClass:oe,multi:!0,deps:[h.DOCUMENT]},j,L,I,{provide:a.RendererFactory2,useExisting:j},{provide:h.XhrFactory,useClass:De,deps:[]},[]],Be=function(){var o=function(){function i(t){(0,d.Z)(this,i)}return(0,c.Z)(i,null,[{key:"withServerTransition",value:function(e){return{ngModule:i,providers:[{provide:a.APP_ID,useValue:e.appId}]}}}]),i}();return o.\u0275fac=function(t){return new(t||o)(a.\u0275\u0275inject(He,12))},o.\u0275mod=a.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=a.\u0275\u0275defineInjector({providers:[].concat(se,ue),imports:[h.CommonModule,a.ApplicationModule]}),o}(),le=function(){var o=function(){function i(t){(0,d.Z)(this,i),this._doc=t,this._dom=(0,h.\u0275getDOM)()}return(0,c.Z)(i,[{key:"addTag",value:function(e){return e?this._getOrCreateElement(e,arguments.length>1&&void 0!==arguments[1]&&arguments[1]):null}},{key:"addTags",value:function(e){var n=this,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e?e.reduce(function(u,s){return s&&u.push(n._getOrCreateElement(s,r)),u},[]):[]}},{key:"getTag",value:function(e){return e&&this._doc.querySelector("meta[".concat(e,"]"))||null}},{key:"getTags",value:function(e){if(!e)return[];var n=this._doc.querySelectorAll("meta[".concat(e,"]"));return n?[].slice.call(n):[]}},{key:"updateTag",value:function(e,n){if(!e)return null;n=n||this._parseSelector(e);var r=this.getTag(n);return r?this._setMetaElementAttributes(e,r):this._getOrCreateElement(e,!0)}},{key:"removeTag",value:function(e){this.removeTagElement(this.getTag(e))}},{key:"removeTagElement",value:function(e){e&&this._dom.remove(e)}},{key:"_getOrCreateElement",value:function(e){var n=this;if(!(arguments.length>1&&void 0!==arguments[1]&&arguments[1])){var u=this._parseSelector(e),s=this.getTags(u).filter(function(y){return n._containsAttributes(e,y)})[0];if(void 0!==s)return s}var l=this._dom.createElement("meta");return this._setMetaElementAttributes(e,l),this._doc.getElementsByTagName("head")[0].appendChild(l),l}},{key:"_setMetaElementAttributes",value:function(e,n){var r=this;return Object.keys(e).forEach(function(u){return n.setAttribute(r._getMetaKeyMap(u),e[u])}),n}},{key:"_parseSelector",value:function(e){var n=e.name?"name":"property";return"".concat(n,'="').concat(e[n],'"')}},{key:"_containsAttributes",value:function(e,n){var r=this;return Object.keys(e).every(function(u){return n.getAttribute(r._getMetaKeyMap(u))===e[u]})}},{key:"_getMetaKeyMap",value:function(e){return Ue[e]||e}}]),i}();return o.\u0275fac=function(t){return new(t||o)(a.\u0275\u0275inject(h.DOCUMENT))},o.\u0275prov=a.\u0275\u0275defineInjectable({token:o,factory:function(t){return t?new t:function je(){return new le((0,a.\u0275\u0275inject)(h.DOCUMENT))}()},providedIn:"root"}),o}(),Ue={httpEquiv:"http-equiv"},ce=function(){var o=function(){function i(t){(0,d.Z)(this,i),this._doc=t}return(0,c.Z)(i,[{key:"getTitle",value:function(){return this._doc.title}},{key:"setTitle",value:function(e){this._doc.title=e||""}}]),i}();return o.\u0275fac=function(t){return new(t||o)(a.\u0275\u0275inject(h.DOCUMENT))},o.\u0275prov=a.\u0275\u0275defineInjectable({token:o,factory:function(t){return t?new t:function Fe(){return new ce((0,a.\u0275\u0275inject)(h.DOCUMENT))}()},providedIn:"root"}),o}();function de(o,i){(typeof COMPILED>"u"||!COMPILED)&&((a.\u0275global.ng=a.\u0275global.ng||{})[o]=i)}var R=typeof window<"u"&&window||{},Ke=(0,c.Z)(function o(i,t){(0,d.Z)(this,o),this.msPerTick=i,this.numTicks=t}),xe=function(){function o(i){(0,d.Z)(this,o),this.appRef=i.injector.get(a.ApplicationRef)}return(0,c.Z)(o,[{key:"timeChangeDetection",value:function(t){var e=t&&t.record,n="Change Detection",r=null!=R.console.profile;e&&r&&R.console.profile(n);for(var u=x(),s=0;s<5||x()-u<500;)this.appRef.tick(),s++;var l=x();e&&r&&R.console.profileEnd(n);var f=(l-u)/s;return R.console.log("ran ".concat(s," change detection cycles")),R.console.log("".concat(f.toFixed(2)," ms per check")),new Ke(f,s)}}]),o}();function x(){return R.performance&&R.performance.now?R.performance.now():(new Date).getTime()}var fe="profiler";function Ve(o){return de(fe,new xe(o)),o}function ze(){de(fe,null)}var Ge=function(){function o(){(0,d.Z)(this,o)}return(0,c.Z)(o,null,[{key:"all",value:function(){return function(){return!0}}},{key:"css",value:function(t){return function(e){return null!=e.nativeElement&&function We(o,i){return!!(0,h.\u0275getDOM)().isElementNode(o)&&(o.matches&&o.matches(i)||o.msMatchesSelector&&o.msMatchesSelector(i)||o.webkitMatchesSelector&&o.webkitMatchesSelector(i))}(e.nativeElement,t)}}},{key:"directive",value:function(t){return function(e){return-1!==e.providerTokens.indexOf(t)}}}]),o}(),Ye={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},k=new a.InjectionToken("HammerGestureConfig"),V=new a.InjectionToken("HammerLoader"),ve=function(){var o=function(){function i(){(0,d.Z)(this,i),this.events=[],this.overrides={}}return(0,c.Z)(i,[{key:"buildHammer",value:function(e){var n=new Hammer(e,this.options);for(var r in n.get("pinch").set({enable:!0}),n.get("rotate").set({enable:!0}),this.overrides)n.get(r).set(this.overrides[r]);return n}}]),i}();return o.\u0275fac=function(t){return new(t||o)},o.\u0275prov=a.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),he=function(){var o=function(i){(0,D.Z)(e,i);var t=(0,M.Z)(e);function e(n,r,u,s){var l;return(0,d.Z)(this,e),(l=t.call(this,n))._config=r,l.console=u,l.loader=s,l._loaderPromise=null,l}return(0,c.Z)(e,[{key:"supports",value:function(r){return!(!Ye.hasOwnProperty(r.toLowerCase())&&!this.isCustomEvent(r)||!window.Hammer&&!this.loader)}},{key:"addEventListener",value:function(r,u,s){var l=this,f=this.manager.getZone();if(u=u.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||f.runOutsideAngular(function(){return l.loader()});var y=!1,v=function(){y=!0};return f.runOutsideAngular(function(){return l._loaderPromise.then(function(){window.Hammer?y||(v=l.addEventListener(r,u,s)):v=function(){}}).catch(function(){v=function(){}})}),function(){v()}}return f.runOutsideAngular(function(){var g=l._config.buildHammer(r),T=function(W){f.runGuarded(function(){s(W)})};return g.on(u,T),function(){g.off(u,T),"function"==typeof g.destroy&&g.destroy()}})}},{key:"isCustomEvent",value:function(r){return this._config.events.indexOf(r)>-1}}]),e}(N);return o.\u0275fac=function(t){return new(t||o)(a.\u0275\u0275inject(h.DOCUMENT),a.\u0275\u0275inject(k),a.\u0275\u0275inject(a.\u0275Console),a.\u0275\u0275inject(V,8))},o.\u0275prov=a.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),Xe=function(){var o=(0,c.Z)(function i(){(0,d.Z)(this,i)});return o.\u0275fac=function(t){return new(t||o)},o.\u0275mod=a.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=a.\u0275\u0275defineInjector({providers:[{provide:b,useClass:he,multi:!0,deps:[h.DOCUMENT,k,a.\u0275Console,[new a.Optional,V]]},{provide:k,useClass:ve,deps:[]}]}),o}(),pe=function(){var o=(0,c.Z)(function i(){(0,d.Z)(this,i)});return o.\u0275fac=function(t){return new(t||o)},o.\u0275prov=a.\u0275\u0275defineInjectable({token:o,factory:function(t){return t?new(t||o):a.\u0275\u0275inject(z)},providedIn:"root"}),o}(),z=function(){var o=function(i){(0,D.Z)(e,i);var t=(0,M.Z)(e);function e(n){var r;return(0,d.Z)(this,e),(r=t.call(this))._doc=n,r}return(0,c.Z)(e,[{key:"sanitize",value:function(r,u){if(null==u)return null;switch(r){case a.SecurityContext.NONE:return u;case a.SecurityContext.HTML:return(0,a.\u0275allowSanitizationBypassAndThrow)(u,"HTML")?(0,a.\u0275unwrapSafeValue)(u):(0,a.\u0275_sanitizeHtml)(this._doc,String(u)).toString();case a.SecurityContext.STYLE:return(0,a.\u0275allowSanitizationBypassAndThrow)(u,"Style")?(0,a.\u0275unwrapSafeValue)(u):u;case a.SecurityContext.SCRIPT:if((0,a.\u0275allowSanitizationBypassAndThrow)(u,"Script"))return(0,a.\u0275unwrapSafeValue)(u);throw new a.\u0275RuntimeError(5200,!1);case a.SecurityContext.URL:return(0,a.\u0275allowSanitizationBypassAndThrow)(u,"URL")?(0,a.\u0275unwrapSafeValue)(u):(0,a.\u0275_sanitizeUrl)(String(u));case a.SecurityContext.RESOURCE_URL:if((0,a.\u0275allowSanitizationBypassAndThrow)(u,"ResourceURL"))return(0,a.\u0275unwrapSafeValue)(u);throw new a.\u0275RuntimeError(5201,!1);default:throw new a.\u0275RuntimeError(5202,!1)}}},{key:"bypassSecurityTrustHtml",value:function(r){return(0,a.\u0275bypassSanitizationTrustHtml)(r)}},{key:"bypassSecurityTrustStyle",value:function(r){return(0,a.\u0275bypassSanitizationTrustStyle)(r)}},{key:"bypassSecurityTrustScript",value:function(r){return(0,a.\u0275bypassSanitizationTrustScript)(r)}},{key:"bypassSecurityTrustUrl",value:function(r){return(0,a.\u0275bypassSanitizationTrustUrl)(r)}},{key:"bypassSecurityTrustResourceUrl",value:function(r){return(0,a.\u0275bypassSanitizationTrustResourceUrl)(r)}}]),e}(pe);return o.\u0275fac=function(t){return new(t||o)(a.\u0275\u0275inject(h.DOCUMENT))},o.\u0275prov=a.\u0275\u0275defineInjectable({token:o,factory:function(t){var e;return e=t?new t:function Je(o){return new z(o.get(h.DOCUMENT))}(a.\u0275\u0275inject(a.Injector)),e},providedIn:"root"}),o}();function me(o){return{\u0275kind:o,\u0275providers:arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]}}function $e(){return me(0)}function Qe(){return me(1)}function qe(){for(var o=[],i=new Set,t=arguments.length,e=new Array(t),n=0;n{m.d(w,{Z:()=>S});var C=m(51299);function S(E,p,_){return(p=(0,C.Z)(p))in E?Object.defineProperty(E,p,{value:_,enumerable:!0,configurable:!0,writable:!0}):E[p]=_,E}},4089:(P,w,m)=>{m.d(w,{Z:()=>E});var C=m(20265);function E(){return E=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(_,c,d){var D=function S(p,_){for(;!Object.prototype.hasOwnProperty.call(p,_)&&null!==(p=(0,C.Z)(p)););return p}(_,c);if(D){var M=Object.getOwnPropertyDescriptor(D,c);return M.get?M.get.call(arguments.length<3?_:d):M.value}},E.apply(this,arguments)}},35603:(P,w,m)=>{m.d(w,{Z:()=>E});var C=m(77797);function S(p,_){var c=Object.keys(p);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(p);_&&(d=d.filter(function(D){return Object.getOwnPropertyDescriptor(p,D).enumerable})),c.push.apply(c,d)}return c}function E(p){for(var _=1;_ {\n el.removeEventListener(evt, listener);\n };\n }\n dispatchEvent(el, evt) {\n el.dispatchEvent(evt);\n }\n remove(node) {\n if (node.parentNode) {\n node.parentNode.removeChild(node);\n }\n }\n createElement(tagName, doc) {\n doc = doc || this.getDefaultDocument();\n return doc.createElement(tagName);\n }\n createHtmlDocument() {\n return document.implementation.createHTMLDocument('fakeTitle');\n }\n getDefaultDocument() {\n return document;\n }\n isElementNode(node) {\n return node.nodeType === Node.ELEMENT_NODE;\n }\n isShadowRoot(node) {\n return node instanceof DocumentFragment;\n }\n /** @deprecated No longer being used in Ivy code. To be removed in version 14. */\n getGlobalEventTarget(doc, target) {\n if (target === 'window') {\n return window;\n }\n if (target === 'document') {\n return doc;\n }\n if (target === 'body') {\n return doc.body;\n }\n return null;\n }\n getBaseHref(doc) {\n const href = getBaseElementHref();\n return href == null ? null : relativePath(href);\n }\n resetBaseElement() {\n baseElement = null;\n }\n getUserAgent() {\n return window.navigator.userAgent;\n }\n getCookie(name) {\n return ɵparseCookieValue(document.cookie, name);\n }\n}\nlet baseElement = null;\nfunction getBaseElementHref() {\n baseElement = baseElement || document.querySelector('base');\n return baseElement ? baseElement.getAttribute('href') : null;\n}\n// based on urlUtils.js in AngularJS 1\nlet urlParsingNode;\nfunction relativePath(url) {\n urlParsingNode = urlParsingNode || document.createElement('a');\n urlParsingNode.setAttribute('href', url);\n const pathName = urlParsingNode.pathname;\n return pathName.charAt(0) === '/' ? pathName : `/${pathName}`;\n}\n\nclass BrowserGetTestability {\n addToWindow(registry) {\n ɵglobal['getAngularTestability'] = (elem, findInAncestors = true) => {\n const testability = registry.findTestabilityInTree(elem, findInAncestors);\n if (testability == null) {\n throw new ɵRuntimeError(5103 /* RuntimeErrorCode.TESTABILITY_NOT_FOUND */, (typeof ngDevMode === 'undefined' || ngDevMode) &&\n 'Could not find testability for element.');\n }\n return testability;\n };\n ɵglobal['getAllAngularTestabilities'] = () => registry.getAllTestabilities();\n ɵglobal['getAllAngularRootElements'] = () => registry.getAllRootElements();\n const whenAllStable = (callback /** TODO #9100 */) => {\n const testabilities = ɵglobal['getAllAngularTestabilities']();\n let count = testabilities.length;\n let didWork = false;\n const decrement = function (didWork_ /** TODO #9100 */) {\n didWork = didWork || didWork_;\n count--;\n if (count == 0) {\n callback(didWork);\n }\n };\n testabilities.forEach(function (testability /** TODO #9100 */) {\n testability.whenStable(decrement);\n });\n };\n if (!ɵglobal['frameworkStabilizers']) {\n ɵglobal['frameworkStabilizers'] = [];\n }\n ɵglobal['frameworkStabilizers'].push(whenAllStable);\n }\n findTestabilityInTree(registry, elem, findInAncestors) {\n if (elem == null) {\n return null;\n }\n const t = registry.getTestability(elem);\n if (t != null) {\n return t;\n }\n else if (!findInAncestors) {\n return null;\n }\n if (ɵgetDOM().isShadowRoot(elem)) {\n return this.findTestabilityInTree(registry, elem.host, true);\n }\n return this.findTestabilityInTree(registry, elem.parentElement, true);\n }\n}\n\n/**\n * A factory for `HttpXhrBackend` that uses the `XMLHttpRequest` browser API.\n */\nclass BrowserXhr {\n build() {\n return new XMLHttpRequest();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: BrowserXhr, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: BrowserXhr }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: BrowserXhr, decorators: [{\n type: Injectable\n }] });\n\n/**\n * The injection token for the event-manager plug-in service.\n *\n * @publicApi\n */\nconst EVENT_MANAGER_PLUGINS = new InjectionToken('EventManagerPlugins');\n/**\n * An injectable service that provides event management for Angular\n * through a browser plug-in.\n *\n * @publicApi\n */\nclass EventManager {\n /**\n * Initializes an instance of the event-manager service.\n */\n constructor(plugins, _zone) {\n this._zone = _zone;\n this._eventNameToPlugin = new Map();\n plugins.forEach((plugin) => {\n plugin.manager = this;\n });\n this._plugins = plugins.slice().reverse();\n }\n /**\n * Registers a handler for a specific element and event.\n *\n * @param element The HTML element to receive event notifications.\n * @param eventName The name of the event to listen for.\n * @param handler A function to call when the notification occurs. Receives the\n * event object as an argument.\n * @returns A callback function that can be used to remove the handler.\n */\n addEventListener(element, eventName, handler) {\n const plugin = this._findPluginFor(eventName);\n return plugin.addEventListener(element, eventName, handler);\n }\n /**\n * Retrieves the compilation zone in which event listeners are registered.\n */\n getZone() {\n return this._zone;\n }\n /** @internal */\n _findPluginFor(eventName) {\n let plugin = this._eventNameToPlugin.get(eventName);\n if (plugin) {\n return plugin;\n }\n const plugins = this._plugins;\n plugin = plugins.find((plugin) => plugin.supports(eventName));\n if (!plugin) {\n throw new ɵRuntimeError(5101 /* RuntimeErrorCode.NO_PLUGIN_FOR_EVENT */, (typeof ngDevMode === 'undefined' || ngDevMode) &&\n `No event manager plugin found for event ${eventName}`);\n }\n this._eventNameToPlugin.set(eventName, plugin);\n return plugin;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: EventManager, deps: [{ token: EVENT_MANAGER_PLUGINS }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: EventManager }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: EventManager, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [EVENT_MANAGER_PLUGINS]\n }] }, { type: i0.NgZone }]; } });\nclass EventManagerPlugin {\n constructor(_doc) {\n this._doc = _doc;\n }\n}\n\n/** The style elements attribute name used to set value of `APP_ID` token. */\nconst APP_ID_ATTRIBUTE_NAME = 'ng-app-id';\nclass SharedStylesHost {\n constructor(doc, appId, nonce, platformId = {}) {\n this.doc = doc;\n this.appId = appId;\n this.nonce = nonce;\n this.platformId = platformId;\n // Maps all registered host nodes to a list of style nodes that have been added to the host node.\n this.styleRef = new Map();\n this.hostNodes = new Set();\n this.styleNodesInDOM = this.collectServerRenderedStyles();\n this.platformIsServer = isPlatformServer(platformId);\n this.resetHostNodes();\n }\n addStyles(styles) {\n for (const style of styles) {\n const usageCount = this.changeUsageCount(style, 1);\n if (usageCount === 1) {\n this.onStyleAdded(style);\n }\n }\n }\n removeStyles(styles) {\n for (const style of styles) {\n const usageCount = this.changeUsageCount(style, -1);\n if (usageCount <= 0) {\n this.onStyleRemoved(style);\n }\n }\n }\n ngOnDestroy() {\n const styleNodesInDOM = this.styleNodesInDOM;\n if (styleNodesInDOM) {\n styleNodesInDOM.forEach((node) => node.remove());\n styleNodesInDOM.clear();\n }\n for (const style of this.getAllStyles()) {\n this.onStyleRemoved(style);\n }\n this.resetHostNodes();\n }\n addHost(hostNode) {\n this.hostNodes.add(hostNode);\n for (const style of this.getAllStyles()) {\n this.addStyleToHost(hostNode, style);\n }\n }\n removeHost(hostNode) {\n this.hostNodes.delete(hostNode);\n }\n getAllStyles() {\n return this.styleRef.keys();\n }\n onStyleAdded(style) {\n for (const host of this.hostNodes) {\n this.addStyleToHost(host, style);\n }\n }\n onStyleRemoved(style) {\n const styleRef = this.styleRef;\n styleRef.get(style)?.elements?.forEach((node) => node.remove());\n styleRef.delete(style);\n }\n collectServerRenderedStyles() {\n const styles = this.doc.head?.querySelectorAll(`style[${APP_ID_ATTRIBUTE_NAME}=\"${this.appId}\"]`);\n if (styles?.length) {\n const styleMap = new Map();\n styles.forEach((style) => {\n if (style.textContent != null) {\n styleMap.set(style.textContent, style);\n }\n });\n return styleMap;\n }\n return null;\n }\n changeUsageCount(style, delta) {\n const map = this.styleRef;\n if (map.has(style)) {\n const styleRefValue = map.get(style);\n styleRefValue.usage += delta;\n return styleRefValue.usage;\n }\n map.set(style, { usage: delta, elements: [] });\n return delta;\n }\n getStyleElement(host, style) {\n const styleNodesInDOM = this.styleNodesInDOM;\n const styleEl = styleNodesInDOM?.get(style);\n if (styleEl?.parentNode === host) {\n // `styleNodesInDOM` cannot be undefined due to the above `styleNodesInDOM?.get`.\n styleNodesInDOM.delete(style);\n styleEl.removeAttribute(APP_ID_ATTRIBUTE_NAME);\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n // This attribute is solely used for debugging purposes.\n styleEl.setAttribute('ng-style-reused', '');\n }\n return styleEl;\n }\n else {\n const styleEl = this.doc.createElement('style');\n if (this.nonce) {\n styleEl.setAttribute('nonce', this.nonce);\n }\n styleEl.textContent = style;\n if (this.platformIsServer) {\n styleEl.setAttribute(APP_ID_ATTRIBUTE_NAME, this.appId);\n }\n return styleEl;\n }\n }\n addStyleToHost(host, style) {\n const styleEl = this.getStyleElement(host, style);\n host.appendChild(styleEl);\n const styleRef = this.styleRef;\n const styleElRef = styleRef.get(style)?.elements;\n if (styleElRef) {\n styleElRef.push(styleEl);\n }\n else {\n styleRef.set(style, { elements: [styleEl], usage: 1 });\n }\n }\n resetHostNodes() {\n const hostNodes = this.hostNodes;\n hostNodes.clear();\n // Re-add the head element back since this is the default host.\n hostNodes.add(this.doc.head);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: SharedStylesHost, deps: [{ token: DOCUMENT }, { token: APP_ID }, { token: CSP_NONCE, optional: true }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: SharedStylesHost }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: SharedStylesHost, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: Document, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [APP_ID]\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [CSP_NONCE]\n }, {\n type: Optional\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [PLATFORM_ID]\n }] }]; } });\n\nconst NAMESPACE_URIS = {\n 'svg': 'http://www.w3.org/2000/svg',\n 'xhtml': 'http://www.w3.org/1999/xhtml',\n 'xlink': 'http://www.w3.org/1999/xlink',\n 'xml': 'http://www.w3.org/XML/1998/namespace',\n 'xmlns': 'http://www.w3.org/2000/xmlns/',\n 'math': 'http://www.w3.org/1998/MathML/',\n};\nconst COMPONENT_REGEX = /%COMP%/g;\nconst COMPONENT_VARIABLE = '%COMP%';\nconst HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;\nconst CONTENT_ATTR = `_ngcontent-${COMPONENT_VARIABLE}`;\n/**\n * The default value for the `REMOVE_STYLES_ON_COMPONENT_DESTROY` DI token.\n */\nconst REMOVE_STYLES_ON_COMPONENT_DESTROY_DEFAULT = false;\n/**\n * A [DI token](guide/glossary#di-token \"DI token definition\") that indicates whether styles\n * of destroyed components should be removed from DOM.\n *\n * By default, the value is set to `false`. This will be changed in the next major version.\n * @publicApi\n */\nconst REMOVE_STYLES_ON_COMPONENT_DESTROY = new InjectionToken('RemoveStylesOnCompDestory', {\n providedIn: 'root',\n factory: () => REMOVE_STYLES_ON_COMPONENT_DESTROY_DEFAULT,\n});\nfunction shimContentAttribute(componentShortId) {\n return CONTENT_ATTR.replace(COMPONENT_REGEX, componentShortId);\n}\nfunction shimHostAttribute(componentShortId) {\n return HOST_ATTR.replace(COMPONENT_REGEX, componentShortId);\n}\nfunction shimStylesContent(compId, styles) {\n return styles.map(s => s.replace(COMPONENT_REGEX, compId));\n}\nclass DomRendererFactory2 {\n constructor(eventManager, sharedStylesHost, appId, removeStylesOnCompDestory, doc, platformId, ngZone, nonce = null) {\n this.eventManager = eventManager;\n this.sharedStylesHost = sharedStylesHost;\n this.appId = appId;\n this.removeStylesOnCompDestory = removeStylesOnCompDestory;\n this.doc = doc;\n this.platformId = platformId;\n this.ngZone = ngZone;\n this.nonce = nonce;\n this.rendererByCompId = new Map();\n this.platformIsServer = isPlatformServer(platformId);\n this.defaultRenderer =\n new DefaultDomRenderer2(eventManager, doc, ngZone, this.platformIsServer);\n }\n createRenderer(element, type) {\n if (!element || !type) {\n return this.defaultRenderer;\n }\n if (this.platformIsServer && type.encapsulation === ViewEncapsulation.ShadowDom) {\n // Domino does not support shadow DOM.\n type = { ...type, encapsulation: ViewEncapsulation.Emulated };\n }\n const renderer = this.getOrCreateRenderer(element, type);\n // Renderers have different logic due to different encapsulation behaviours.\n // Ex: for emulated, an attribute is added to the element.\n if (renderer instanceof EmulatedEncapsulationDomRenderer2) {\n renderer.applyToHost(element);\n }\n else if (renderer instanceof NoneEncapsulationDomRenderer) {\n renderer.applyStyles();\n }\n return renderer;\n }\n getOrCreateRenderer(element, type) {\n const rendererByCompId = this.rendererByCompId;\n let renderer = rendererByCompId.get(type.id);\n if (!renderer) {\n const doc = this.doc;\n const ngZone = this.ngZone;\n const eventManager = this.eventManager;\n const sharedStylesHost = this.sharedStylesHost;\n const removeStylesOnCompDestory = this.removeStylesOnCompDestory;\n const platformIsServer = this.platformIsServer;\n switch (type.encapsulation) {\n case ViewEncapsulation.Emulated:\n renderer = new EmulatedEncapsulationDomRenderer2(eventManager, sharedStylesHost, type, this.appId, removeStylesOnCompDestory, doc, ngZone, platformIsServer);\n break;\n case ViewEncapsulation.ShadowDom:\n return new ShadowDomRenderer(eventManager, sharedStylesHost, element, type, doc, ngZone, this.nonce, platformIsServer);\n default:\n renderer = new NoneEncapsulationDomRenderer(eventManager, sharedStylesHost, type, removeStylesOnCompDestory, doc, ngZone, platformIsServer);\n break;\n }\n renderer.onDestroy = () => rendererByCompId.delete(type.id);\n rendererByCompId.set(type.id, renderer);\n }\n return renderer;\n }\n ngOnDestroy() {\n this.rendererByCompId.clear();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DomRendererFactory2, deps: [{ token: EventManager }, { token: SharedStylesHost }, { token: APP_ID }, { token: REMOVE_STYLES_ON_COMPONENT_DESTROY }, { token: DOCUMENT }, { token: PLATFORM_ID }, { token: i0.NgZone }, { token: CSP_NONCE }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DomRendererFactory2 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DomRendererFactory2, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: EventManager }, { type: SharedStylesHost }, { type: undefined, decorators: [{\n type: Inject,\n args: [APP_ID]\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [REMOVE_STYLES_ON_COMPONENT_DESTROY]\n }] }, { type: Document, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: Object, decorators: [{\n type: Inject,\n args: [PLATFORM_ID]\n }] }, { type: i0.NgZone }, { type: undefined, decorators: [{\n type: Inject,\n args: [CSP_NONCE]\n }] }]; } });\nclass DefaultDomRenderer2 {\n constructor(eventManager, doc, ngZone, platformIsServer) {\n this.eventManager = eventManager;\n this.doc = doc;\n this.ngZone = ngZone;\n this.platformIsServer = platformIsServer;\n this.data = Object.create(null);\n this.destroyNode = null;\n }\n destroy() { }\n createElement(name, namespace) {\n if (namespace) {\n // TODO: `|| namespace` was added in\n // https://github.com/angular/angular/commit/2b9cc8503d48173492c29f5a271b61126104fbdb to\n // support how Ivy passed around the namespace URI rather than short name at the time. It did\n // not, however extend the support to other parts of the system (setAttribute, setAttribute,\n // and the ServerRenderer). We should decide what exactly the semantics for dealing with\n // namespaces should be and make it consistent.\n // Related issues:\n // https://github.com/angular/angular/issues/44028\n // https://github.com/angular/angular/issues/44883\n return this.doc.createElementNS(NAMESPACE_URIS[namespace] || namespace, name);\n }\n return this.doc.createElement(name);\n }\n createComment(value) {\n return this.doc.createComment(value);\n }\n createText(value) {\n return this.doc.createTextNode(value);\n }\n appendChild(parent, newChild) {\n const targetParent = isTemplateNode(parent) ? parent.content : parent;\n targetParent.appendChild(newChild);\n }\n insertBefore(parent, newChild, refChild) {\n if (parent) {\n const targetParent = isTemplateNode(parent) ? parent.content : parent;\n targetParent.insertBefore(newChild, refChild);\n }\n }\n removeChild(parent, oldChild) {\n if (parent) {\n parent.removeChild(oldChild);\n }\n }\n selectRootElement(selectorOrNode, preserveContent) {\n let el = typeof selectorOrNode === 'string' ? this.doc.querySelector(selectorOrNode) :\n selectorOrNode;\n if (!el) {\n throw new ɵRuntimeError(5104 /* RuntimeErrorCode.ROOT_NODE_NOT_FOUND */, (typeof ngDevMode === 'undefined' || ngDevMode) &&\n `The selector \"${selectorOrNode}\" did not match any elements`);\n }\n if (!preserveContent) {\n el.textContent = '';\n }\n return el;\n }\n parentNode(node) {\n return node.parentNode;\n }\n nextSibling(node) {\n return node.nextSibling;\n }\n setAttribute(el, name, value, namespace) {\n if (namespace) {\n name = namespace + ':' + name;\n const namespaceUri = NAMESPACE_URIS[namespace];\n if (namespaceUri) {\n el.setAttributeNS(namespaceUri, name, value);\n }\n else {\n el.setAttribute(name, value);\n }\n }\n else {\n el.setAttribute(name, value);\n }\n }\n removeAttribute(el, name, namespace) {\n if (namespace) {\n const namespaceUri = NAMESPACE_URIS[namespace];\n if (namespaceUri) {\n el.removeAttributeNS(namespaceUri, name);\n }\n else {\n el.removeAttribute(`${namespace}:${name}`);\n }\n }\n else {\n el.removeAttribute(name);\n }\n }\n addClass(el, name) {\n el.classList.add(name);\n }\n removeClass(el, name) {\n el.classList.remove(name);\n }\n setStyle(el, style, value, flags) {\n if (flags & (RendererStyleFlags2.DashCase | RendererStyleFlags2.Important)) {\n el.style.setProperty(style, value, flags & RendererStyleFlags2.Important ? 'important' : '');\n }\n else {\n el.style[style] = value;\n }\n }\n removeStyle(el, style, flags) {\n if (flags & RendererStyleFlags2.DashCase) {\n // removeProperty has no effect when used on camelCased properties.\n el.style.removeProperty(style);\n }\n else {\n el.style[style] = '';\n }\n }\n setProperty(el, name, value) {\n (typeof ngDevMode === 'undefined' || ngDevMode) && checkNoSyntheticProp(name, 'property');\n el[name] = value;\n }\n setValue(node, value) {\n node.nodeValue = value;\n }\n listen(target, event, callback) {\n (typeof ngDevMode === 'undefined' || ngDevMode) && checkNoSyntheticProp(event, 'listener');\n if (typeof target === 'string') {\n target = ɵgetDOM().getGlobalEventTarget(this.doc, target);\n if (!target) {\n throw new Error(`Unsupported event target ${target} for event ${event}`);\n }\n }\n return this.eventManager.addEventListener(target, event, this.decoratePreventDefault(callback));\n }\n decoratePreventDefault(eventHandler) {\n // `DebugNode.triggerEventHandler` needs to know if the listener was created with\n // decoratePreventDefault or is a listener added outside the Angular context so it can handle\n // the two differently. In the first case, the special '__ngUnwrap__' token is passed to the\n // unwrap the listener (see below).\n return (event) => {\n // Ivy uses '__ngUnwrap__' as a special token that allows us to unwrap the function\n // so that it can be invoked programmatically by `DebugNode.triggerEventHandler`. The\n // debug_node can inspect the listener toString contents for the existence of this special\n // token. Because the token is a string literal, it is ensured to not be modified by compiled\n // code.\n if (event === '__ngUnwrap__') {\n return eventHandler;\n }\n // Run the event handler inside the ngZone because event handlers are not patched\n // by Zone on the server. This is required only for tests.\n const allowDefaultBehavior = this.platformIsServer ?\n this.ngZone.runGuarded(() => eventHandler(event)) :\n eventHandler(event);\n if (allowDefaultBehavior === false) {\n event.preventDefault();\n }\n return undefined;\n };\n }\n}\nconst AT_CHARCODE = (() => '@'.charCodeAt(0))();\nfunction checkNoSyntheticProp(name, nameKind) {\n if (name.charCodeAt(0) === AT_CHARCODE) {\n throw new ɵRuntimeError(5105 /* RuntimeErrorCode.UNEXPECTED_SYNTHETIC_PROPERTY */, `Unexpected synthetic ${nameKind} ${name} found. Please make sure that:\n - Either \\`BrowserAnimationsModule\\` or \\`NoopAnimationsModule\\` are imported in your application.\n - There is corresponding configuration for the animation named \\`${name}\\` defined in the \\`animations\\` field of the \\`@Component\\` decorator (see https://angular.io/api/core/Component#animations).`);\n }\n}\nfunction isTemplateNode(node) {\n return node.tagName === 'TEMPLATE' && node.content !== undefined;\n}\nclass ShadowDomRenderer extends DefaultDomRenderer2 {\n constructor(eventManager, sharedStylesHost, hostEl, component, doc, ngZone, nonce, platformIsServer) {\n super(eventManager, doc, ngZone, platformIsServer);\n this.sharedStylesHost = sharedStylesHost;\n this.hostEl = hostEl;\n this.shadowRoot = hostEl.attachShadow({ mode: 'open' });\n this.sharedStylesHost.addHost(this.shadowRoot);\n const styles = shimStylesContent(component.id, component.styles);\n for (const style of styles) {\n const styleEl = document.createElement('style');\n if (nonce) {\n styleEl.setAttribute('nonce', nonce);\n }\n styleEl.textContent = style;\n this.shadowRoot.appendChild(styleEl);\n }\n }\n nodeOrShadowRoot(node) {\n return node === this.hostEl ? this.shadowRoot : node;\n }\n appendChild(parent, newChild) {\n return super.appendChild(this.nodeOrShadowRoot(parent), newChild);\n }\n insertBefore(parent, newChild, refChild) {\n return super.insertBefore(this.nodeOrShadowRoot(parent), newChild, refChild);\n }\n removeChild(parent, oldChild) {\n return super.removeChild(this.nodeOrShadowRoot(parent), oldChild);\n }\n parentNode(node) {\n return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(node)));\n }\n destroy() {\n this.sharedStylesHost.removeHost(this.shadowRoot);\n }\n}\nclass NoneEncapsulationDomRenderer extends DefaultDomRenderer2 {\n constructor(eventManager, sharedStylesHost, component, removeStylesOnCompDestory, doc, ngZone, platformIsServer, compId) {\n super(eventManager, doc, ngZone, platformIsServer);\n this.sharedStylesHost = sharedStylesHost;\n this.removeStylesOnCompDestory = removeStylesOnCompDestory;\n this.rendererUsageCount = 0;\n this.styles = compId ? shimStylesContent(compId, component.styles) : component.styles;\n }\n applyStyles() {\n this.sharedStylesHost.addStyles(this.styles);\n this.rendererUsageCount++;\n }\n destroy() {\n if (!this.removeStylesOnCompDestory) {\n return;\n }\n this.sharedStylesHost.removeStyles(this.styles);\n this.rendererUsageCount--;\n if (this.rendererUsageCount === 0) {\n this.onDestroy?.();\n }\n }\n}\nclass EmulatedEncapsulationDomRenderer2 extends NoneEncapsulationDomRenderer {\n constructor(eventManager, sharedStylesHost, component, appId, removeStylesOnCompDestory, doc, ngZone, platformIsServer) {\n const compId = appId + '-' + component.id;\n super(eventManager, sharedStylesHost, component, removeStylesOnCompDestory, doc, ngZone, platformIsServer, compId);\n this.contentAttr = shimContentAttribute(compId);\n this.hostAttr = shimHostAttribute(compId);\n }\n applyToHost(element) {\n this.applyStyles();\n this.setAttribute(element, this.hostAttr, '');\n }\n createElement(parent, name) {\n const el = super.createElement(parent, name);\n super.setAttribute(el, this.contentAttr, '');\n return el;\n }\n}\n\nclass DomEventsPlugin extends EventManagerPlugin {\n constructor(doc) {\n super(doc);\n }\n // This plugin should come last in the list of plugins, because it accepts all\n // events.\n supports(eventName) {\n return true;\n }\n addEventListener(element, eventName, handler) {\n element.addEventListener(eventName, handler, false);\n return () => this.removeEventListener(element, eventName, handler);\n }\n removeEventListener(target, eventName, callback) {\n return target.removeEventListener(eventName, callback);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DomEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DomEventsPlugin }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DomEventsPlugin, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }]; } });\n\n/**\n * Defines supported modifiers for key events.\n */\nconst MODIFIER_KEYS = ['alt', 'control', 'meta', 'shift'];\n// The following values are here for cross-browser compatibility and to match the W3C standard\n// cf https://www.w3.org/TR/DOM-Level-3-Events-key/\nconst _keyMap = {\n '\\b': 'Backspace',\n '\\t': 'Tab',\n '\\x7F': 'Delete',\n '\\x1B': 'Escape',\n 'Del': 'Delete',\n 'Esc': 'Escape',\n 'Left': 'ArrowLeft',\n 'Right': 'ArrowRight',\n 'Up': 'ArrowUp',\n 'Down': 'ArrowDown',\n 'Menu': 'ContextMenu',\n 'Scroll': 'ScrollLock',\n 'Win': 'OS'\n};\n/**\n * Retrieves modifiers from key-event objects.\n */\nconst MODIFIER_KEY_GETTERS = {\n 'alt': (event) => event.altKey,\n 'control': (event) => event.ctrlKey,\n 'meta': (event) => event.metaKey,\n 'shift': (event) => event.shiftKey\n};\n/**\n * @publicApi\n * A browser plug-in that provides support for handling of key events in Angular.\n */\nclass KeyEventsPlugin extends EventManagerPlugin {\n /**\n * Initializes an instance of the browser plug-in.\n * @param doc The document in which key events will be detected.\n */\n constructor(doc) {\n super(doc);\n }\n /**\n * Reports whether a named key event is supported.\n * @param eventName The event name to query.\n * @return True if the named key event is supported.\n */\n supports(eventName) {\n return KeyEventsPlugin.parseEventName(eventName) != null;\n }\n /**\n * Registers a handler for a specific element and key event.\n * @param element The HTML element to receive event notifications.\n * @param eventName The name of the key event to listen for.\n * @param handler A function to call when the notification occurs. Receives the\n * event object as an argument.\n * @returns The key event that was registered.\n */\n addEventListener(element, eventName, handler) {\n const parsedEvent = KeyEventsPlugin.parseEventName(eventName);\n const outsideHandler = KeyEventsPlugin.eventCallback(parsedEvent['fullKey'], handler, this.manager.getZone());\n return this.manager.getZone().runOutsideAngular(() => {\n return ɵgetDOM().onAndCancel(element, parsedEvent['domEventName'], outsideHandler);\n });\n }\n /**\n * Parses the user provided full keyboard event definition and normalizes it for\n * later internal use. It ensures the string is all lowercase, converts special\n * characters to a standard spelling, and orders all the values consistently.\n *\n * @param eventName The name of the key event to listen for.\n * @returns an object with the full, normalized string, and the dom event name\n * or null in the case when the event doesn't match a keyboard event.\n */\n static parseEventName(eventName) {\n const parts = eventName.toLowerCase().split('.');\n const domEventName = parts.shift();\n if ((parts.length === 0) || !(domEventName === 'keydown' || domEventName === 'keyup')) {\n return null;\n }\n const key = KeyEventsPlugin._normalizeKey(parts.pop());\n let fullKey = '';\n let codeIX = parts.indexOf('code');\n if (codeIX > -1) {\n parts.splice(codeIX, 1);\n fullKey = 'code.';\n }\n MODIFIER_KEYS.forEach(modifierName => {\n const index = parts.indexOf(modifierName);\n if (index > -1) {\n parts.splice(index, 1);\n fullKey += modifierName + '.';\n }\n });\n fullKey += key;\n if (parts.length != 0 || key.length === 0) {\n // returning null instead of throwing to let another plugin process the event\n return null;\n }\n // NOTE: Please don't rewrite this as so, as it will break JSCompiler property renaming.\n // The code must remain in the `result['domEventName']` form.\n // return {domEventName, fullKey};\n const result = {};\n result['domEventName'] = domEventName;\n result['fullKey'] = fullKey;\n return result;\n }\n /**\n * Determines whether the actual keys pressed match the configured key code string.\n * The `fullKeyCode` event is normalized in the `parseEventName` method when the\n * event is attached to the DOM during the `addEventListener` call. This is unseen\n * by the end user and is normalized for internal consistency and parsing.\n *\n * @param event The keyboard event.\n * @param fullKeyCode The normalized user defined expected key event string\n * @returns boolean.\n */\n static matchEventFullKeyCode(event, fullKeyCode) {\n let keycode = _keyMap[event.key] || event.key;\n let key = '';\n if (fullKeyCode.indexOf('code.') > -1) {\n keycode = event.code;\n key = 'code.';\n }\n // the keycode could be unidentified so we have to check here\n if (keycode == null || !keycode)\n return false;\n keycode = keycode.toLowerCase();\n if (keycode === ' ') {\n keycode = 'space'; // for readability\n }\n else if (keycode === '.') {\n keycode = 'dot'; // because '.' is used as a separator in event names\n }\n MODIFIER_KEYS.forEach(modifierName => {\n if (modifierName !== keycode) {\n const modifierGetter = MODIFIER_KEY_GETTERS[modifierName];\n if (modifierGetter(event)) {\n key += modifierName + '.';\n }\n }\n });\n key += keycode;\n return key === fullKeyCode;\n }\n /**\n * Configures a handler callback for a key event.\n * @param fullKey The event name that combines all simultaneous keystrokes.\n * @param handler The function that responds to the key event.\n * @param zone The zone in which the event occurred.\n * @returns A callback function.\n */\n static eventCallback(fullKey, handler, zone) {\n return (event) => {\n if (KeyEventsPlugin.matchEventFullKeyCode(event, fullKey)) {\n zone.runGuarded(() => handler(event));\n }\n };\n }\n /** @internal */\n static _normalizeKey(keyName) {\n // TODO: switch to a Map if the mapping grows too much\n switch (keyName) {\n case 'esc':\n return 'escape';\n default:\n return keyName;\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: KeyEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: KeyEventsPlugin }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: KeyEventsPlugin, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }]; } });\n\n/**\n * Bootstraps an instance of an Angular application and renders a standalone component as the\n * application's root component. More information about standalone components can be found in [this\n * guide](guide/standalone-components).\n *\n * @usageNotes\n * The root component passed into this function *must* be a standalone one (should have the\n * `standalone: true` flag in the `@Component` decorator config).\n *\n * ```typescript\n * @Component({\n * standalone: true,\n * template: 'Hello world!'\n * })\n * class RootComponent {}\n *\n * const appRef: ApplicationRef = await bootstrapApplication(RootComponent);\n * ```\n *\n * You can add the list of providers that should be available in the application injector by\n * specifying the `providers` field in an object passed as the second argument:\n *\n * ```typescript\n * await bootstrapApplication(RootComponent, {\n * providers: [\n * {provide: BACKEND_URL, useValue: 'https://yourdomain.com/api'}\n * ]\n * });\n * ```\n *\n * The `importProvidersFrom` helper method can be used to collect all providers from any\n * existing NgModule (and transitively from all NgModules that it imports):\n *\n * ```typescript\n * await bootstrapApplication(RootComponent, {\n * providers: [\n * importProvidersFrom(SomeNgModule)\n * ]\n * });\n * ```\n *\n * Note: the `bootstrapApplication` method doesn't include [Testability](api/core/Testability) by\n * default. You can add [Testability](api/core/Testability) by getting the list of necessary\n * providers using `provideProtractorTestingSupport()` function and adding them into the `providers`\n * array, for example:\n *\n * ```typescript\n * import {provideProtractorTestingSupport} from '@angular/platform-browser';\n *\n * await bootstrapApplication(RootComponent, {providers: [provideProtractorTestingSupport()]});\n * ```\n *\n * @param rootComponent A reference to a standalone component that should be rendered.\n * @param options Extra configuration for the bootstrap operation, see `ApplicationConfig` for\n * additional info.\n * @returns A promise that returns an `ApplicationRef` instance once resolved.\n *\n * @publicApi\n */\nfunction bootstrapApplication(rootComponent, options) {\n return ɵinternalCreateApplication({ rootComponent, ...createProvidersConfig(options) });\n}\n/**\n * Create an instance of an Angular application without bootstrapping any components. This is useful\n * for the situation where one wants to decouple application environment creation (a platform and\n * associated injectors) from rendering components on a screen. Components can be subsequently\n * bootstrapped on the returned `ApplicationRef`.\n *\n * @param options Extra configuration for the application environment, see `ApplicationConfig` for\n * additional info.\n * @returns A promise that returns an `ApplicationRef` instance once resolved.\n *\n * @publicApi\n */\nfunction createApplication(options) {\n return ɵinternalCreateApplication(createProvidersConfig(options));\n}\nfunction createProvidersConfig(options) {\n return {\n appProviders: [\n ...BROWSER_MODULE_PROVIDERS,\n ...(options?.providers ?? []),\n ],\n platformProviders: INTERNAL_BROWSER_PLATFORM_PROVIDERS\n };\n}\n/**\n * Returns a set of providers required to setup [Testability](api/core/Testability) for an\n * application bootstrapped using the `bootstrapApplication` function. The set of providers is\n * needed to support testing an application with Protractor (which relies on the Testability APIs\n * to be present).\n *\n * @returns An array of providers required to setup Testability for an application and make it\n * available for testing using Protractor.\n *\n * @publicApi\n */\nfunction provideProtractorTestingSupport() {\n // Return a copy to prevent changes to the original array in case any in-place\n // alterations are performed to the `provideProtractorTestingSupport` call results in app\n // code.\n return [...TESTABILITY_PROVIDERS];\n}\nfunction initDomAdapter() {\n BrowserDomAdapter.makeCurrent();\n}\nfunction errorHandler() {\n return new ErrorHandler();\n}\nfunction _document() {\n // Tell ivy about the global document\n ɵsetDocument(document);\n return document;\n}\nconst INTERNAL_BROWSER_PLATFORM_PROVIDERS = [\n { provide: PLATFORM_ID, useValue: ɵPLATFORM_BROWSER_ID },\n { provide: PLATFORM_INITIALIZER, useValue: initDomAdapter, multi: true },\n { provide: DOCUMENT, useFactory: _document, deps: [] },\n];\n/**\n * A factory function that returns a `PlatformRef` instance associated with browser service\n * providers.\n *\n * @publicApi\n */\nconst platformBrowser = createPlatformFactory(platformCore, 'browser', INTERNAL_BROWSER_PLATFORM_PROVIDERS);\n/**\n * Internal marker to signal whether providers from the `BrowserModule` are already present in DI.\n * This is needed to avoid loading `BrowserModule` providers twice. We can't rely on the\n * `BrowserModule` presence itself, since the standalone-based bootstrap just imports\n * `BrowserModule` providers without referencing the module itself.\n */\nconst BROWSER_MODULE_PROVIDERS_MARKER = new InjectionToken((typeof ngDevMode === 'undefined' || ngDevMode) ? 'BrowserModule Providers Marker' : '');\nconst TESTABILITY_PROVIDERS = [\n {\n provide: ɵTESTABILITY_GETTER,\n useClass: BrowserGetTestability,\n deps: [],\n },\n {\n provide: ɵTESTABILITY,\n useClass: Testability,\n deps: [NgZone, TestabilityRegistry, ɵTESTABILITY_GETTER]\n },\n {\n provide: Testability,\n useClass: Testability,\n deps: [NgZone, TestabilityRegistry, ɵTESTABILITY_GETTER]\n }\n];\nconst BROWSER_MODULE_PROVIDERS = [\n { provide: ɵINJECTOR_SCOPE, useValue: 'root' },\n { provide: ErrorHandler, useFactory: errorHandler, deps: [] }, {\n provide: EVENT_MANAGER_PLUGINS,\n useClass: DomEventsPlugin,\n multi: true,\n deps: [DOCUMENT, NgZone, PLATFORM_ID]\n },\n { provide: EVENT_MANAGER_PLUGINS, useClass: KeyEventsPlugin, multi: true, deps: [DOCUMENT] },\n DomRendererFactory2, SharedStylesHost, EventManager,\n { provide: RendererFactory2, useExisting: DomRendererFactory2 },\n { provide: XhrFactory, useClass: BrowserXhr, deps: [] },\n (typeof ngDevMode === 'undefined' || ngDevMode) ?\n { provide: BROWSER_MODULE_PROVIDERS_MARKER, useValue: true } :\n []\n];\n/**\n * Exports required infrastructure for all Angular apps.\n * Included by default in all Angular apps created with the CLI\n * `new` command.\n * Re-exports `CommonModule` and `ApplicationModule`, making their\n * exports and providers available to all apps.\n *\n * @publicApi\n */\nclass BrowserModule {\n constructor(providersAlreadyPresent) {\n if ((typeof ngDevMode === 'undefined' || ngDevMode) && providersAlreadyPresent) {\n throw new ɵRuntimeError(5100 /* RuntimeErrorCode.BROWER_MODULE_ALREADY_LOADED */, `Providers from the \\`BrowserModule\\` have already been loaded. If you need access ` +\n `to common directives such as NgIf and NgFor, import the \\`CommonModule\\` instead.`);\n }\n }\n /**\n * Configures a browser-based app to transition from a server-rendered app, if\n * one is present on the page.\n *\n * @param params An object containing an identifier for the app to transition.\n * The ID must match between the client and server versions of the app.\n * @returns The reconfigured `BrowserModule` to import into the app's root `AppModule`.\n *\n * @deprecated Use {@link APP_ID} instead to set the application ID.\n */\n static withServerTransition(params) {\n return {\n ngModule: BrowserModule,\n providers: [\n { provide: APP_ID, useValue: params.appId },\n ],\n };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: BrowserModule, deps: [{ token: BROWSER_MODULE_PROVIDERS_MARKER, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: BrowserModule, exports: [CommonModule, ApplicationModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: BrowserModule, providers: [...BROWSER_MODULE_PROVIDERS, ...TESTABILITY_PROVIDERS], imports: [CommonModule, ApplicationModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: BrowserModule, decorators: [{\n type: NgModule,\n args: [{\n providers: [...BROWSER_MODULE_PROVIDERS, ...TESTABILITY_PROVIDERS],\n exports: [CommonModule, ApplicationModule],\n }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Optional\n }, {\n type: SkipSelf\n }, {\n type: Inject,\n args: [BROWSER_MODULE_PROVIDERS_MARKER]\n }] }]; } });\n\n/**\n * Factory to create a `Meta` service instance for the current DOM document.\n */\nfunction createMeta() {\n return new Meta(ɵɵinject(DOCUMENT));\n}\n/**\n * A service for managing HTML `` tags.\n *\n * Properties of the `MetaDefinition` object match the attributes of the\n * HTML `` tag. These tags define document metadata that is important for\n * things like configuring a Content Security Policy, defining browser compatibility\n * and security settings, setting HTTP Headers, defining rich content for social sharing,\n * and Search Engine Optimization (SEO).\n *\n * To identify specific `` tags in a document, use an attribute selection\n * string in the format `\"tag_attribute='value string'\"`.\n * For example, an `attrSelector` value of `\"name='description'\"` matches a tag\n * whose `name` attribute has the value `\"description\"`.\n * Selectors are used with the `querySelector()` Document method,\n * in the format `meta[{attrSelector}]`.\n *\n * @see [HTML meta tag](https://developer.mozilla.org/docs/Web/HTML/Element/meta)\n * @see [Document.querySelector()](https://developer.mozilla.org/docs/Web/API/Document/querySelector)\n *\n *\n * @publicApi\n */\nclass Meta {\n constructor(_doc) {\n this._doc = _doc;\n this._dom = ɵgetDOM();\n }\n /**\n * Retrieves or creates a specific `` tag element in the current HTML document.\n * In searching for an existing tag, Angular attempts to match the `name` or `property` attribute\n * values in the provided tag definition, and verifies that all other attribute values are equal.\n * If an existing element is found, it is returned and is not modified in any way.\n * @param tag The definition of a `` element to match or create.\n * @param forceCreation True to create a new element without checking whether one already exists.\n * @returns The existing element with the same attributes and values if found,\n * the new element if no match is found, or `null` if the tag parameter is not defined.\n */\n addTag(tag, forceCreation = false) {\n if (!tag)\n return null;\n return this._getOrCreateElement(tag, forceCreation);\n }\n /**\n * Retrieves or creates a set of `` tag elements in the current HTML document.\n * In searching for an existing tag, Angular attempts to match the `name` or `property` attribute\n * values in the provided tag definition, and verifies that all other attribute values are equal.\n * @param tags An array of tag definitions to match or create.\n * @param forceCreation True to create new elements without checking whether they already exist.\n * @returns The matching elements if found, or the new elements.\n */\n addTags(tags, forceCreation = false) {\n if (!tags)\n return [];\n return tags.reduce((result, tag) => {\n if (tag) {\n result.push(this._getOrCreateElement(tag, forceCreation));\n }\n return result;\n }, []);\n }\n /**\n * Retrieves a `` tag element in the current HTML document.\n * @param attrSelector The tag attribute and value to match against, in the format\n * `\"tag_attribute='value string'\"`.\n * @returns The matching element, if any.\n */\n getTag(attrSelector) {\n if (!attrSelector)\n return null;\n return this._doc.querySelector(`meta[${attrSelector}]`) || null;\n }\n /**\n * Retrieves a set of `` tag elements in the current HTML document.\n * @param attrSelector The tag attribute and value to match against, in the format\n * `\"tag_attribute='value string'\"`.\n * @returns The matching elements, if any.\n */\n getTags(attrSelector) {\n if (!attrSelector)\n return [];\n const list /*NodeList*/ = this._doc.querySelectorAll(`meta[${attrSelector}]`);\n return list ? [].slice.call(list) : [];\n }\n /**\n * Modifies an existing `` tag element in the current HTML document.\n * @param tag The tag description with which to replace the existing tag content.\n * @param selector A tag attribute and value to match against, to identify\n * an existing tag. A string in the format `\"tag_attribute=`value string`\"`.\n * If not supplied, matches a tag with the same `name` or `property` attribute value as the\n * replacement tag.\n * @return The modified element.\n */\n updateTag(tag, selector) {\n if (!tag)\n return null;\n selector = selector || this._parseSelector(tag);\n const meta = this.getTag(selector);\n if (meta) {\n return this._setMetaElementAttributes(tag, meta);\n }\n return this._getOrCreateElement(tag, true);\n }\n /**\n * Removes an existing `` tag element from the current HTML document.\n * @param attrSelector A tag attribute and value to match against, to identify\n * an existing tag. A string in the format `\"tag_attribute=`value string`\"`.\n */\n removeTag(attrSelector) {\n this.removeTagElement(this.getTag(attrSelector));\n }\n /**\n * Removes an existing `` tag element from the current HTML document.\n * @param meta The tag definition to match against to identify an existing tag.\n */\n removeTagElement(meta) {\n if (meta) {\n this._dom.remove(meta);\n }\n }\n _getOrCreateElement(meta, forceCreation = false) {\n if (!forceCreation) {\n const selector = this._parseSelector(meta);\n // It's allowed to have multiple elements with the same name so it's not enough to\n // just check that element with the same name already present on the page. We also need to\n // check if element has tag attributes\n const elem = this.getTags(selector).filter(elem => this._containsAttributes(meta, elem))[0];\n if (elem !== undefined)\n return elem;\n }\n const element = this._dom.createElement('meta');\n this._setMetaElementAttributes(meta, element);\n const head = this._doc.getElementsByTagName('head')[0];\n head.appendChild(element);\n return element;\n }\n _setMetaElementAttributes(tag, el) {\n Object.keys(tag).forEach((prop) => el.setAttribute(this._getMetaKeyMap(prop), tag[prop]));\n return el;\n }\n _parseSelector(tag) {\n const attr = tag.name ? 'name' : 'property';\n return `${attr}=\"${tag[attr]}\"`;\n }\n _containsAttributes(tag, elem) {\n return Object.keys(tag).every((key) => elem.getAttribute(this._getMetaKeyMap(key)) === tag[key]);\n }\n _getMetaKeyMap(prop) {\n return META_KEYS_MAP[prop] || prop;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: Meta, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: Meta, providedIn: 'root', useFactory: createMeta, deps: [] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: Meta, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root', useFactory: createMeta, deps: [] }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }]; } });\n/**\n * Mapping for MetaDefinition properties with their correct meta attribute names\n */\nconst META_KEYS_MAP = {\n httpEquiv: 'http-equiv'\n};\n\n/**\n * Factory to create Title service.\n */\nfunction createTitle() {\n return new Title(ɵɵinject(DOCUMENT));\n}\n/**\n * A service that can be used to get and set the title of a current HTML document.\n *\n * Since an Angular application can't be bootstrapped on the entire HTML document (`` tag)\n * it is not possible to bind to the `text` property of the `HTMLTitleElement` elements\n * (representing the `` tag). Instead, this service can be used to set and get the current\n * title value.\n *\n * @publicApi\n */\nclass Title {\n constructor(_doc) {\n this._doc = _doc;\n }\n /**\n * Get the title of the current HTML document.\n */\n getTitle() {\n return this._doc.title;\n }\n /**\n * Set the title of the current HTML document.\n * @param newTitle\n */\n setTitle(newTitle) {\n this._doc.title = newTitle || '';\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: Title, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: Title, providedIn: 'root', useFactory: createTitle, deps: [] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: Title, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root', useFactory: createTitle, deps: [] }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }]; } });\n\n/**\n * Exports the value under a given `name` in the global property `ng`. For example `ng.probe` if\n * `name` is `'probe'`.\n * @param name Name under which it will be exported. Keep in mind this will be a property of the\n * global `ng` object.\n * @param value The value to export.\n */\nfunction exportNgVar(name, value) {\n if (typeof COMPILED === 'undefined' || !COMPILED) {\n // Note: we can't export `ng` when using closure enhanced optimization as:\n // - closure declares globals itself for minified names, which sometimes clobber our `ng` global\n // - we can't declare a closure extern as the namespace `ng` is already used within Google\n // for typings for angularJS (via `goog.provide('ng....')`).\n const ng = ɵglobal['ng'] = ɵglobal['ng'] || {};\n ng[name] = value;\n }\n}\n\nconst win = typeof window !== 'undefined' && window || {};\n\nclass ChangeDetectionPerfRecord {\n constructor(msPerTick, numTicks) {\n this.msPerTick = msPerTick;\n this.numTicks = numTicks;\n }\n}\n/**\n * Entry point for all Angular profiling-related debug tools. This object\n * corresponds to the `ng.profiler` in the dev console.\n */\nclass AngularProfiler {\n constructor(ref) {\n this.appRef = ref.injector.get(ApplicationRef);\n }\n // tslint:disable:no-console\n /**\n * Exercises change detection in a loop and then prints the average amount of\n * time in milliseconds how long a single round of change detection takes for\n * the current state of the UI. It runs a minimum of 5 rounds for a minimum\n * of 500 milliseconds.\n *\n * Optionally, a user may pass a `config` parameter containing a map of\n * options. Supported options are:\n *\n * `record` (boolean) - causes the profiler to record a CPU profile while\n * it exercises the change detector. Example:\n *\n * ```\n * ng.profiler.timeChangeDetection({record: true})\n * ```\n */\n timeChangeDetection(config) {\n const record = config && config['record'];\n const profileName = 'Change Detection';\n // Profiler is not available in Android browsers without dev tools opened\n const isProfilerAvailable = win.console.profile != null;\n if (record && isProfilerAvailable) {\n win.console.profile(profileName);\n }\n const start = performanceNow();\n let numTicks = 0;\n while (numTicks < 5 || (performanceNow() - start) < 500) {\n this.appRef.tick();\n numTicks++;\n }\n const end = performanceNow();\n if (record && isProfilerAvailable) {\n win.console.profileEnd(profileName);\n }\n const msPerTick = (end - start) / numTicks;\n win.console.log(`ran ${numTicks} change detection cycles`);\n win.console.log(`${msPerTick.toFixed(2)} ms per check`);\n return new ChangeDetectionPerfRecord(msPerTick, numTicks);\n }\n}\nfunction performanceNow() {\n return win.performance && win.performance.now ? win.performance.now() :\n new Date().getTime();\n}\n\nconst PROFILER_GLOBAL_NAME = 'profiler';\n/**\n * Enabled Angular debug tools that are accessible via your browser's\n * developer console.\n *\n * Usage:\n *\n * 1. Open developer console (e.g. in Chrome Ctrl + Shift + j)\n * 1. Type `ng.` (usually the console will show auto-complete suggestion)\n * 1. Try the change detection profiler `ng.profiler.timeChangeDetection()`\n * then hit Enter.\n *\n * @publicApi\n */\nfunction enableDebugTools(ref) {\n exportNgVar(PROFILER_GLOBAL_NAME, new AngularProfiler(ref));\n return ref;\n}\n/**\n * Disables Angular tools.\n *\n * @publicApi\n */\nfunction disableDebugTools() {\n exportNgVar(PROFILER_GLOBAL_NAME, null);\n}\n\n/**\n * Predicates for use with {@link DebugElement}'s query functions.\n *\n * @publicApi\n */\nclass By {\n /**\n * Match all nodes.\n *\n * @usageNotes\n * ### Example\n *\n * {@example platform-browser/dom/debug/ts/by/by.ts region='by_all'}\n */\n static all() {\n return () => true;\n }\n /**\n * Match elements by the given CSS selector.\n *\n * @usageNotes\n * ### Example\n *\n * {@example platform-browser/dom/debug/ts/by/by.ts region='by_css'}\n */\n static css(selector) {\n return (debugElement) => {\n return debugElement.nativeElement != null ?\n elementMatches(debugElement.nativeElement, selector) :\n false;\n };\n }\n /**\n * Match nodes that have the given directive present.\n *\n * @usageNotes\n * ### Example\n *\n * {@example platform-browser/dom/debug/ts/by/by.ts region='by_directive'}\n */\n static directive(type) {\n return (debugNode) => debugNode.providerTokens.indexOf(type) !== -1;\n }\n}\nfunction elementMatches(n, selector) {\n if (ɵgetDOM().isElementNode(n)) {\n return n.matches && n.matches(selector) ||\n n.msMatchesSelector && n.msMatchesSelector(selector) ||\n n.webkitMatchesSelector && n.webkitMatchesSelector(selector);\n }\n return false;\n}\n\n/**\n * Supported HammerJS recognizer event names.\n */\nconst EVENT_NAMES = {\n // pan\n 'pan': true,\n 'panstart': true,\n 'panmove': true,\n 'panend': true,\n 'pancancel': true,\n 'panleft': true,\n 'panright': true,\n 'panup': true,\n 'pandown': true,\n // pinch\n 'pinch': true,\n 'pinchstart': true,\n 'pinchmove': true,\n 'pinchend': true,\n 'pinchcancel': true,\n 'pinchin': true,\n 'pinchout': true,\n // press\n 'press': true,\n 'pressup': true,\n // rotate\n 'rotate': true,\n 'rotatestart': true,\n 'rotatemove': true,\n 'rotateend': true,\n 'rotatecancel': true,\n // swipe\n 'swipe': true,\n 'swipeleft': true,\n 'swiperight': true,\n 'swipeup': true,\n 'swipedown': true,\n // tap\n 'tap': true,\n 'doubletap': true\n};\n/**\n * DI token for providing [HammerJS](https://hammerjs.github.io/) support to Angular.\n * @see `HammerGestureConfig`\n *\n * @ngModule HammerModule\n * @publicApi\n */\nconst HAMMER_GESTURE_CONFIG = new InjectionToken('HammerGestureConfig');\n/**\n * Injection token used to provide a {@link HammerLoader} to Angular.\n *\n * @publicApi\n */\nconst HAMMER_LOADER = new InjectionToken('HammerLoader');\n/**\n * An injectable [HammerJS Manager](https://hammerjs.github.io/api/#hammermanager)\n * for gesture recognition. Configures specific event recognition.\n * @publicApi\n */\nclass HammerGestureConfig {\n constructor() {\n /**\n * A set of supported event names for gestures to be used in Angular.\n * Angular supports all built-in recognizers, as listed in\n * [HammerJS documentation](https://hammerjs.github.io/).\n */\n this.events = [];\n /**\n * Maps gesture event names to a set of configuration options\n * that specify overrides to the default values for specific properties.\n *\n * The key is a supported event name to be configured,\n * and the options object contains a set of properties, with override values\n * to be applied to the named recognizer event.\n * For example, to disable recognition of the rotate event, specify\n * `{\"rotate\": {\"enable\": false}}`.\n *\n * Properties that are not present take the HammerJS default values.\n * For information about which properties are supported for which events,\n * and their allowed and default values, see\n * [HammerJS documentation](https://hammerjs.github.io/).\n *\n */\n this.overrides = {};\n }\n /**\n * Creates a [HammerJS Manager](https://hammerjs.github.io/api/#hammermanager)\n * and attaches it to a given HTML element.\n * @param element The element that will recognize gestures.\n * @returns A HammerJS event-manager object.\n */\n buildHammer(element) {\n const mc = new Hammer(element, this.options);\n mc.get('pinch').set({ enable: true });\n mc.get('rotate').set({ enable: true });\n for (const eventName in this.overrides) {\n mc.get(eventName).set(this.overrides[eventName]);\n }\n return mc;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: HammerGestureConfig, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: HammerGestureConfig }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: HammerGestureConfig, decorators: [{\n type: Injectable\n }] });\n/**\n * Event plugin that adds Hammer support to an application.\n *\n * @ngModule HammerModule\n */\nclass HammerGesturesPlugin extends EventManagerPlugin {\n constructor(doc, _config, console, loader) {\n super(doc);\n this._config = _config;\n this.console = console;\n this.loader = loader;\n this._loaderPromise = null;\n }\n supports(eventName) {\n if (!EVENT_NAMES.hasOwnProperty(eventName.toLowerCase()) && !this.isCustomEvent(eventName)) {\n return false;\n }\n if (!window.Hammer && !this.loader) {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n this.console.warn(`The \"${eventName}\" event cannot be bound because Hammer.JS is not ` +\n `loaded and no custom loader has been specified.`);\n }\n return false;\n }\n return true;\n }\n addEventListener(element, eventName, handler) {\n const zone = this.manager.getZone();\n eventName = eventName.toLowerCase();\n // If Hammer is not present but a loader is specified, we defer adding the event listener\n // until Hammer is loaded.\n if (!window.Hammer && this.loader) {\n this._loaderPromise = this._loaderPromise || zone.runOutsideAngular(() => this.loader());\n // This `addEventListener` method returns a function to remove the added listener.\n // Until Hammer is loaded, the returned function needs to *cancel* the registration rather\n // than remove anything.\n let cancelRegistration = false;\n let deregister = () => {\n cancelRegistration = true;\n };\n zone.runOutsideAngular(() => this._loaderPromise\n .then(() => {\n // If Hammer isn't actually loaded when the custom loader resolves, give up.\n if (!window.Hammer) {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n this.console.warn(`The custom HAMMER_LOADER completed, but Hammer.JS is not present.`);\n }\n deregister = () => { };\n return;\n }\n if (!cancelRegistration) {\n // Now that Hammer is loaded and the listener is being loaded for real,\n // the deregistration function changes from canceling registration to\n // removal.\n deregister = this.addEventListener(element, eventName, handler);\n }\n })\n .catch(() => {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n this.console.warn(`The \"${eventName}\" event cannot be bound because the custom ` +\n `Hammer.JS loader failed.`);\n }\n deregister = () => { };\n }));\n // Return a function that *executes* `deregister` (and not `deregister` itself) so that we\n // can change the behavior of `deregister` once the listener is added. Using a closure in\n // this way allows us to avoid any additional data structures to track listener removal.\n return () => {\n deregister();\n };\n }\n return zone.runOutsideAngular(() => {\n // Creating the manager bind events, must be done outside of angular\n const mc = this._config.buildHammer(element);\n const callback = function (eventObj) {\n zone.runGuarded(function () {\n handler(eventObj);\n });\n };\n mc.on(eventName, callback);\n return () => {\n mc.off(eventName, callback);\n // destroy mc to prevent memory leak\n if (typeof mc.destroy === 'function') {\n mc.destroy();\n }\n };\n });\n }\n isCustomEvent(eventName) {\n return this._config.events.indexOf(eventName) > -1;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: HammerGesturesPlugin, deps: [{ token: DOCUMENT }, { token: HAMMER_GESTURE_CONFIG }, { token: i0.ɵConsole }, { token: HAMMER_LOADER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: HammerGesturesPlugin }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: HammerGesturesPlugin, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: HammerGestureConfig, decorators: [{\n type: Inject,\n args: [HAMMER_GESTURE_CONFIG]\n }] }, { type: i0.ɵConsole }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [HAMMER_LOADER]\n }] }]; } });\n/**\n * Adds support for HammerJS.\n *\n * Import this module at the root of your application so that Angular can work with\n * HammerJS to detect gesture events.\n *\n * Note that applications still need to include the HammerJS script itself. This module\n * simply sets up the coordination layer between HammerJS and Angular's EventManager.\n *\n * @publicApi\n */\nclass HammerModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: HammerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: HammerModule }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: HammerModule, providers: [\n {\n provide: EVENT_MANAGER_PLUGINS,\n useClass: HammerGesturesPlugin,\n multi: true,\n deps: [DOCUMENT, HAMMER_GESTURE_CONFIG, ɵConsole, [new Optional(), HAMMER_LOADER]]\n },\n { provide: HAMMER_GESTURE_CONFIG, useClass: HammerGestureConfig, deps: [] },\n ] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: HammerModule, decorators: [{\n type: NgModule,\n args: [{\n providers: [\n {\n provide: EVENT_MANAGER_PLUGINS,\n useClass: HammerGesturesPlugin,\n multi: true,\n deps: [DOCUMENT, HAMMER_GESTURE_CONFIG, ɵConsole, [new Optional(), HAMMER_LOADER]]\n },\n { provide: HAMMER_GESTURE_CONFIG, useClass: HammerGestureConfig, deps: [] },\n ]\n }]\n }] });\n\n/**\n * DomSanitizer helps preventing Cross Site Scripting Security bugs (XSS) by sanitizing\n * values to be safe to use in the different DOM contexts.\n *\n * For example, when binding a URL in an `<a [href]=\"someValue\">` hyperlink, `someValue` will be\n * sanitized so that an attacker cannot inject e.g. a `javascript:` URL that would execute code on\n * the website.\n *\n * In specific situations, it might be necessary to disable sanitization, for example if the\n * application genuinely needs to produce a `javascript:` style link with a dynamic value in it.\n * Users can bypass security by constructing a value with one of the `bypassSecurityTrust...`\n * methods, and then binding to that value from the template.\n *\n * These situations should be very rare, and extraordinary care must be taken to avoid creating a\n * Cross Site Scripting (XSS) security bug!\n *\n * When using `bypassSecurityTrust...`, make sure to call the method as early as possible and as\n * close as possible to the source of the value, to make it easy to verify no security bug is\n * created by its use.\n *\n * It is not required (and not recommended) to bypass security if the value is safe, e.g. a URL that\n * does not start with a suspicious protocol, or an HTML snippet that does not contain dangerous\n * code. The sanitizer leaves safe values intact.\n *\n * @security Calling any of the `bypassSecurityTrust...` APIs disables Angular's built-in\n * sanitization for the value passed in. Carefully check and audit all values and code paths going\n * into this call. Make sure any user data is appropriately escaped for this security context.\n * For more detail, see the [Security Guide](https://g.co/ng/security).\n *\n * @publicApi\n */\nclass DomSanitizer {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DomSanitizer, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DomSanitizer, providedIn: 'root', useExisting: i0.forwardRef(function () { return DomSanitizerImpl; }) }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DomSanitizer, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root', useExisting: forwardRef(() => DomSanitizerImpl) }]\n }] });\nfunction domSanitizerImplFactory(injector) {\n return new DomSanitizerImpl(injector.get(DOCUMENT));\n}\nclass DomSanitizerImpl extends DomSanitizer {\n constructor(_doc) {\n super();\n this._doc = _doc;\n }\n sanitize(ctx, value) {\n if (value == null)\n return null;\n switch (ctx) {\n case SecurityContext.NONE:\n return value;\n case SecurityContext.HTML:\n if (ɵallowSanitizationBypassAndThrow(value, \"HTML\" /* BypassType.Html */)) {\n return ɵunwrapSafeValue(value);\n }\n return ɵ_sanitizeHtml(this._doc, String(value)).toString();\n case SecurityContext.STYLE:\n if (ɵallowSanitizationBypassAndThrow(value, \"Style\" /* BypassType.Style */)) {\n return ɵunwrapSafeValue(value);\n }\n return value;\n case SecurityContext.SCRIPT:\n if (ɵallowSanitizationBypassAndThrow(value, \"Script\" /* BypassType.Script */)) {\n return ɵunwrapSafeValue(value);\n }\n throw new ɵRuntimeError(5200 /* RuntimeErrorCode.SANITIZATION_UNSAFE_SCRIPT */, (typeof ngDevMode === 'undefined' || ngDevMode) &&\n 'unsafe value used in a script context');\n case SecurityContext.URL:\n if (ɵallowSanitizationBypassAndThrow(value, \"URL\" /* BypassType.Url */)) {\n return ɵunwrapSafeValue(value);\n }\n return ɵ_sanitizeUrl(String(value));\n case SecurityContext.RESOURCE_URL:\n if (ɵallowSanitizationBypassAndThrow(value, \"ResourceURL\" /* BypassType.ResourceUrl */)) {\n return ɵunwrapSafeValue(value);\n }\n throw new ɵRuntimeError(5201 /* RuntimeErrorCode.SANITIZATION_UNSAFE_RESOURCE_URL */, (typeof ngDevMode === 'undefined' || ngDevMode) &&\n `unsafe value used in a resource URL context (see ${ɵXSS_SECURITY_URL})`);\n default:\n throw new ɵRuntimeError(5202 /* RuntimeErrorCode.SANITIZATION_UNEXPECTED_CTX */, (typeof ngDevMode === 'undefined' || ngDevMode) &&\n `Unexpected SecurityContext ${ctx} (see ${ɵXSS_SECURITY_URL})`);\n }\n }\n bypassSecurityTrustHtml(value) {\n return ɵbypassSanitizationTrustHtml(value);\n }\n bypassSecurityTrustStyle(value) {\n return ɵbypassSanitizationTrustStyle(value);\n }\n bypassSecurityTrustScript(value) {\n return ɵbypassSanitizationTrustScript(value);\n }\n bypassSecurityTrustUrl(value) {\n return ɵbypassSanitizationTrustUrl(value);\n }\n bypassSecurityTrustResourceUrl(value) {\n return ɵbypassSanitizationTrustResourceUrl(value);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DomSanitizerImpl, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DomSanitizerImpl, providedIn: 'root', useFactory: domSanitizerImplFactory, deps: [{ token: Injector }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DomSanitizerImpl, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root', useFactory: domSanitizerImplFactory, deps: [Injector] }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }]; } });\n\n/**\n * Helper function to create an object that represents a Hydration feature.\n */\nfunction hydrationFeature(kind, providers = []) {\n return { ɵkind: kind, ɵproviders: providers };\n}\n/**\n * Disables DOM nodes reuse during hydration. Effectively makes\n * Angular re-render an application from scratch on the client.\n *\n * When this option is enabled, make sure that the initial navigation\n * option is configured for the Router as `enabledBlocking` by using the\n * `withEnabledBlockingInitialNavigation` in the `provideRouter` call:\n *\n * ```\n * bootstrapApplication(RootComponent, {\n * providers: [\n * provideRouter(\n * // ... other features ...\n * withEnabledBlockingInitialNavigation()\n * ),\n * provideClientHydration(withNoDomReuse())\n * ]\n * });\n * ```\n *\n * This would ensure that the application is rerendered after all async\n * operations in the Router (such as lazy-loading of components,\n * waiting for async guards and resolvers) are completed to avoid\n * clearing the DOM on the client too soon, thus causing content flicker.\n *\n * @see `provideRouter`\n * @see `withEnabledBlockingInitialNavigation`\n *\n * @publicApi\n * @developerPreview\n */\nfunction withNoDomReuse() {\n // This feature has no providers and acts as a flag that turns off\n // non-destructive hydration (which otherwise is turned on by default).\n return hydrationFeature(0 /* HydrationFeatureKind.NoDomReuseFeature */);\n}\n/**\n * Disables HTTP transfer cache. Effectively causes HTTP requests to be performed twice: once on the\n * server and other one on the browser.\n *\n * @publicApi\n * @developerPreview\n */\nfunction withNoHttpTransferCache() {\n // This feature has no providers and acts as a flag that turns off\n // HTTP transfer cache (which otherwise is turned on by default).\n return hydrationFeature(1 /* HydrationFeatureKind.NoHttpTransferCache */);\n}\n/**\n * Returns an `ENVIRONMENT_INITIALIZER` token setup with a function\n * that verifies whether compatible ZoneJS was used in an application\n * and logs a warning in a console if it's not the case.\n */\nfunction provideZoneJsCompatibilityDetector() {\n return [{\n provide: ENVIRONMENT_INITIALIZER,\n useValue: () => {\n const ngZone = inject(NgZone);\n // Checking `ngZone instanceof NgZone` would be insufficient here,\n // because custom implementations might use NgZone as a base class.\n if (ngZone.constructor !== NgZone) {\n const console = inject(ɵConsole);\n const message = ɵformatRuntimeError(-5000 /* RuntimeErrorCode.UNSUPPORTED_ZONEJS_INSTANCE */, 'Angular detected that hydration was enabled for an application ' +\n 'that uses a custom or a noop Zone.js implementation. ' +\n 'This is not yet a fully supported configuration.');\n // tslint:disable-next-line:no-console\n console.warn(message);\n }\n },\n multi: true,\n }];\n}\n/**\n * Sets up providers necessary to enable hydration functionality for the application.\n * By default, the function enables the recommended set of features for the optimal\n * performance for most of the applications. You can enable/disable features by\n * passing special functions (from the `HydrationFeatures` set) as arguments to the\n * `provideClientHydration` function.\n *\n * @usageNotes\n *\n * Basic example of how you can enable hydration in your application when\n * `bootstrapApplication` function is used:\n * ```\n * bootstrapApplication(AppComponent, {\n * providers: [provideClientHydration()]\n * });\n * ```\n *\n * Alternatively if you are using NgModules, you would add `provideClientHydration`\n * to your root app module's provider list.\n * ```\n * @NgModule({\n * declarations: [RootCmp],\n * bootstrap: [RootCmp],\n * providers: [provideClientHydration()],\n * })\n * export class AppModule {}\n * ```\n *\n * @see `withNoDomReuse`\n * @see `withNoHttpTransferCache`\n *\n * @param features Optional features to configure additional router behaviors.\n * @returns A set of providers to enable hydration.\n *\n * @publicApi\n * @developerPreview\n */\nfunction provideClientHydration(...features) {\n const providers = [];\n const featuresKind = new Set();\n for (const { ɵproviders, ɵkind } of features) {\n featuresKind.add(ɵkind);\n if (ɵproviders.length) {\n providers.push(ɵproviders);\n }\n }\n return makeEnvironmentProviders([\n (typeof ngDevMode !== 'undefined' && ngDevMode) ? provideZoneJsCompatibilityDetector() : [],\n (featuresKind.has(0 /* HydrationFeatureKind.NoDomReuseFeature */) ? [] : ɵwithDomHydration()),\n (featuresKind.has(1 /* HydrationFeatureKind.NoHttpTransferCache */) ? [] : ɵwithHttpTransferCache()),\n providers,\n ]);\n}\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of the platform-browser package.\n */\n/**\n * @publicApi\n */\nconst VERSION = new Version('16.0.5');\n\n// Re-export TransferState to the public API of the `platform-browser` for backwards-compatibility.\n/**\n * Create a `StateKey<T>` that can be used to store value of type T with `TransferState`.\n *\n * Example:\n *\n * ```\n * const COUNTER_KEY = makeStateKey<number>('counter');\n * let value = 10;\n *\n * transferState.set(COUNTER_KEY, value);\n * ```\n *\n * @publicApi\n * @deprecated `makeStateKey` has moved, please import `makeStateKey` from `@angular/core` instead.\n */\n// The below is a workaround to add a deprecated message.\nconst makeStateKey = makeStateKey$1;\n// The below type is needed for G3 due to JSC_CONFORMANCE_VIOLATION.\nconst TransferState = TransferState$1;\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\n// This file only reexports content of the `src` folder. Keep it that way.\n\n// This file is not used to build this module. It is only used during editing\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { BrowserModule, By, DomSanitizer, EVENT_MANAGER_PLUGINS, EventManager, HAMMER_GESTURE_CONFIG, HAMMER_LOADER, HammerGestureConfig, HammerModule, Meta, REMOVE_STYLES_ON_COMPONENT_DESTROY, Title, TransferState, VERSION, bootstrapApplication, createApplication, disableDebugTools, enableDebugTools, makeStateKey, platformBrowser, provideClientHydration, provideProtractorTestingSupport, withNoDomReuse, withNoHttpTransferCache, BrowserDomAdapter as ɵBrowserDomAdapter, BrowserGetTestability as ɵBrowserGetTestability, DomEventsPlugin as ɵDomEventsPlugin, DomRendererFactory2 as ɵDomRendererFactory2, DomSanitizerImpl as ɵDomSanitizerImpl, HammerGesturesPlugin as ɵHammerGesturesPlugin, INTERNAL_BROWSER_PLATFORM_PROVIDERS as ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS, KeyEventsPlugin as ɵKeyEventsPlugin, SharedStylesHost as ɵSharedStylesHost, initDomAdapter as ɵinitDomAdapter };\n","import toPropertyKey from \"./toPropertyKey.js\";\nexport default function _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","import defineProperty from \"./defineProperty.js\";\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n return keys;\n}\nexport default function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}"],"x_google_ignoreList":[0,1,2,3,4]} \ No newline at end of file diff --git a/2545.7524e84597a506c1.js b/2545.7524e84597a506c1.js new file mode 100644 index 0000000..5930f21 --- /dev/null +++ b/2545.7524e84597a506c1.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[2545,5106,7376,5187,4091,1217,7208,4968,6785,4155,1084,6896,7920,6980,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,8061,4680,2111,3326,8596,8352,5501,882,3098,8467,6578,8608,8443,7328,5915,3278,5391,6748,1551,6763,4151,5069,7432,8071,6618],{23280:(E,u,e)=>{e.d(u,{R:()=>d});var a=e(32090),o=e(54987),t=e(90833),n=e(49525),r=e(99806),i=e(92971),s=e(58385),_=["addListener","removeListener"],f=["addEventListener","removeEventListener"],g=["on","off"];function d(m,T,A,B){if((0,i.m)(A)&&(B=A,A=void 0),B)return d(m,T,A).pipe((0,s.Z)(B));var h=function P(m){return(0,i.m)(m.addEventListener)&&(0,i.m)(m.removeEventListener)}(m)?f.map(function(b){return function(c){return m[b](T,c,A)}}):function v(m){return(0,i.m)(m.addListener)&&(0,i.m)(m.removeListener)}(m)?_.map(p(m,T)):function O(m){return(0,i.m)(m.on)&&(0,i.m)(m.off)}(m)?g.map(p(m,T)):[],M=(0,a.Z)(h,2),y=M[0],l=M[1];if(!y&&(0,r.z)(m))return(0,n.z)(function(b){return d(b,T,A)})((0,o.Xf)(m));if(!y)throw new TypeError("Invalid event target");return new t.y(function(b){var c=function(){for(var I=arguments.length,L=new Array(I),C=0;C<I;C++)L[C]=arguments[C];return b.next(1<L.length?L:L[0])};return y(c),function(){return l(c)}})}function p(m,T){return function(A){return function(B){return m[A](T,B)}}}},93945:(E,u,e)=>{e.d(u,{Q:()=>g,x:()=>f});var a=e(78069),o=e(48047),t=e(35488),n=e(24582),r=e(28694),i=e(4089),s=e(20265);function f(d,p,v,O,P){return new g(d,p,v,O,P)}var g=function(d){(0,n.Z)(v,d);var p=(0,r.Z)(v);function v(O,P,m,T,A,B){var h,M,y,l;return(0,a.Z)(this,v),(l=p.call(this,O)).onFinalize=A,l.shouldUnsubscribe=B,l._next=P?function(b){try{P(b)}catch(c){O.error(c)}}:(0,i.Z)((h=(0,t.Z)(l),(0,s.Z)(v.prototype)),"_next",h),l._error=T?function(b){try{T(b)}catch(c){O.error(c)}finally{this.unsubscribe()}}:(0,i.Z)((M=(0,t.Z)(l),(0,s.Z)(v.prototype)),"_error",M),l._complete=m?function(){try{m()}catch(b){O.error(b)}finally{this.unsubscribe()}}:(0,i.Z)((y=(0,t.Z)(l),(0,s.Z)(v.prototype)),"_complete",y),l}return(0,o.Z)(v,[{key:"unsubscribe",value:function(){var P;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var m=this.closed;(0,i.Z)((0,s.Z)(v.prototype),"unsubscribe",this).call(this),!m&&(null===(P=this.onFinalize)||void 0===P||P.call(this))}}}]),v}(e(5463).Lv)},60116:(E,u,e)=>{e.d(u,{h:()=>t});var a=e(41944),o=e(93945);function t(n,r){return(0,a.e)(function(i,s){var _=0;i.subscribe((0,o.x)(s,function(f){return n.call(r,f,_++)&&s.next(f)}))})}},50635:(E,u,e)=>{e.d(u,{U:()=>t});var a=e(41944),o=e(93945);function t(n,r){return(0,a.e)(function(i,s){var _=0;i.subscribe((0,o.x)(s,function(f){s.next(n.call(r,f,_++))}))})}},49525:(E,u,e)=>{e.d(u,{z:()=>_});var a=e(50635),o=e(54987),t=e(41944),n=e(1817),r=e(93945),s=e(92971);function _(f,g){var d=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;return(0,s.m)(g)?_(function(p,v){return(0,a.U)(function(O,P){return g(p,O,v,P)})((0,o.Xf)(f(p,v)))},d):("number"==typeof g&&(d=g),(0,t.e)(function(p,v){return function i(f,g,d,p,v,O,P,m){var T=[],A=0,B=0,h=!1,M=function(){h&&!T.length&&!A&&g.complete()},y=function(c){return A<p?l(c):T.push(c)},l=function b(c){O&&g.next(c),A++;var R=!1;(0,o.Xf)(d(c,B++)).subscribe((0,r.x)(g,function(I){v?.(I),O?y(I):g.next(I)},function(){R=!0},void 0,function(){if(R)try{A--;for(var I=function(){var C=T.shift();P?(0,n.f)(g,P,function(){return b(C)}):b(C)};T.length&&A<p;)I();M()}catch(L){g.error(L)}}))};return f.subscribe((0,r.x)(g,y,function(){h=!0,M()})),function(){m?.()}}(p,v,f,d)}))}},1817:(E,u,e)=>{function a(o,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s=t.schedule(function(){n(),i?o.add(this.schedule(null,r)):this.unsubscribe()},r);if(o.add(s),!i)return s}e.d(u,{f:()=>a})},41944:(E,u,e)=>{e.d(u,{A:()=>o,e:()=>t});var a=e(92971);function o(n){return(0,a.m)(n?.lift)}function t(n){return function(r){if(o(r))return r.lift(function(i){try{return n(i,this)}catch(s){this.error(s)}});throw new TypeError("Unable to lift unknown Observable type")}}},58385:(E,u,e)=>{e.d(u,{Z:()=>r});var a=e(86170),o=e(50635),t=Array.isArray;function r(i){return(0,o.U)(function(s){return function n(i,s){return t(s)?i.apply(void 0,(0,a.Z)(s)):i(s)}(i,s)})}},77410:(E,u,e)=>{e.r(u),e.d(u,{MAT_LEGACY_PROGRESS_BAR_DEFAULT_OPTIONS:()=>f.MAT_PROGRESS_BAR_DEFAULT_OPTIONS,MAT_LEGACY_PROGRESS_BAR_LOCATION:()=>f.MAT_PROGRESS_BAR_LOCATION,MAT_LEGACY_PROGRESS_BAR_LOCATION_FACTORY:()=>f.MAT_PROGRESS_BAR_LOCATION_FACTORY,MatLegacyProgressBar:()=>T,MatLegacyProgressBarModule:()=>B});var a=e(24582),o=e(28694),t=e(48047),n=e(78069),r=e(56718),i=e(94055),s=e(6606),_=e(35333),f=e(70137),g=e(33401),d=e(17714),p=e(23280),v=e(60116),O=["primaryValueBar"],P=(0,s.mixinColor)(function(){return(0,t.Z)(function h(M){(0,n.Z)(this,h),this._elementRef=M})}(),"primary"),m=0,T=function(){var h=function(M){(0,a.Z)(l,M);var y=(0,o.Z)(l);function l(b,c,R,I,L,C){var D;(0,n.Z)(this,l),(D=y.call(this,b))._ngZone=c,D._animationMode=R,D._changeDetectorRef=C,D._isNoopAnimation=!1,D._value=0,D._bufferValue=0,D.animationEnd=new r.EventEmitter,D._animationEndSubscription=d.w0.EMPTY,D.mode="determinate",D.progressbarId="mat-progress-bar-".concat(m++);var Z=I?I.getPathname().split("#")[0]:"";return D._rectangleFillValue="url('".concat(Z,"#").concat(D.progressbarId,"')"),D._isNoopAnimation="NoopAnimations"===R,L&&(L.color&&(D.color=D.defaultColor=L.color),D.mode=L.mode||D.mode),D}return(0,t.Z)(l,[{key:"value",get:function(){return this._value},set:function(c){var R;this._value=A((0,_.coerceNumberProperty)(c)||0),null===(R=this._changeDetectorRef)||void 0===R||R.markForCheck()}},{key:"bufferValue",get:function(){return this._bufferValue},set:function(c){var R;this._bufferValue=A(c||0),null===(R=this._changeDetectorRef)||void 0===R||R.markForCheck()}},{key:"_primaryTransform",value:function(){return{transform:"scale3d(".concat(this.value/100,", 1, 1)")}}},{key:"_bufferTransform",value:function(){return"buffer"===this.mode?{transform:"scale3d(".concat(this.bufferValue/100,", 1, 1)")}:null}},{key:"ngAfterViewInit",value:function(){var c=this;this._ngZone.runOutsideAngular(function(){var R=c._primaryValueBar.nativeElement;c._animationEndSubscription=(0,p.R)(R,"transitionend").pipe((0,v.h)(function(I){return I.target===R})).subscribe(function(){0!==c.animationEnd.observers.length&&("determinate"===c.mode||"buffer"===c.mode)&&c._ngZone.run(function(){return c.animationEnd.next({value:c.value})})})})}},{key:"ngOnDestroy",value:function(){this._animationEndSubscription.unsubscribe()}}]),l}(P);return h.\u0275fac=function(y){return new(y||h)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(g.ANIMATION_MODULE_TYPE,8),r.\u0275\u0275directiveInject(f.MAT_PROGRESS_BAR_LOCATION,8),r.\u0275\u0275directiveInject(f.MAT_PROGRESS_BAR_DEFAULT_OPTIONS,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},h.\u0275cmp=r.\u0275\u0275defineComponent({type:h,selectors:[["mat-progress-bar"]],viewQuery:function(y,l){var b;1&y&&r.\u0275\u0275viewQuery(O,5),2&y&&r.\u0275\u0275queryRefresh(b=r.\u0275\u0275loadQuery())&&(l._primaryValueBar=b.first)},hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-progress-bar"],hostVars:4,hostBindings:function(y,l){2&y&&(r.\u0275\u0275attribute("aria-valuenow","indeterminate"===l.mode||"query"===l.mode?null:l.value)("mode",l.mode),r.\u0275\u0275classProp("_mat-animation-noopable",l._isNoopAnimation))},inputs:{color:"color",value:"value",bufferValue:"bufferValue",mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[r.\u0275\u0275InheritDefinitionFeature],decls:10,vars:4,consts:[["aria-hidden","true"],["width","100%","height","4","focusable","false",1,"mat-progress-bar-background","mat-progress-bar-element"],["x","4","y","0","width","8","height","4","patternUnits","userSpaceOnUse",3,"id"],["cx","2","cy","2","r","2"],["width","100%","height","100%"],[1,"mat-progress-bar-buffer","mat-progress-bar-element",3,"ngStyle"],[1,"mat-progress-bar-primary","mat-progress-bar-fill","mat-progress-bar-element",3,"ngStyle"],["primaryValueBar",""],[1,"mat-progress-bar-secondary","mat-progress-bar-fill","mat-progress-bar-element"]],template:function(y,l){1&y&&(r.\u0275\u0275elementStart(0,"div",0),r.\u0275\u0275namespaceSVG(),r.\u0275\u0275elementStart(1,"svg",1)(2,"defs")(3,"pattern",2),r.\u0275\u0275element(4,"circle",3),r.\u0275\u0275elementEnd()(),r.\u0275\u0275element(5,"rect",4),r.\u0275\u0275elementEnd(),r.\u0275\u0275namespaceHTML(),r.\u0275\u0275element(6,"div",5)(7,"div",6,7)(9,"div",8),r.\u0275\u0275elementEnd()),2&y&&(r.\u0275\u0275advance(3),r.\u0275\u0275property("id",l.progressbarId),r.\u0275\u0275advance(2),r.\u0275\u0275attribute("fill",l._rectangleFillValue),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngStyle",l._bufferTransform()),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngStyle",l._primaryTransform()))},dependencies:[i.NgStyle],styles:['.mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}.mat-progress-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-background{display:none}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:"";display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2000ms infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2000ms infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background{animation:none;transition-duration:1ms}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}'],encapsulation:2,changeDetection:0}),h}();function A(h){return Math.max(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,Math.min(arguments.length>2&&void 0!==arguments[2]?arguments[2]:100,h))}var B=function(){var h=(0,t.Z)(function M(){(0,n.Z)(this,M)});return h.\u0275fac=function(y){return new(y||h)},h.\u0275mod=r.\u0275\u0275defineNgModule({type:h}),h.\u0275inj=r.\u0275\u0275defineInjector({imports:[i.CommonModule,s.MatCommonModule,s.MatCommonModule]}),h}()},44841:(E,u,e)=>{function a(o,t){(null==t||t>o.length)&&(t=o.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=o[n];return r}e.d(u,{Z:()=>a})},8091:(E,u,e)=>{function a(o){if(Array.isArray(o))return o}e.d(u,{Z:()=>a})},35488:(E,u,e)=>{function a(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}e.d(u,{Z:()=>a})},95106:(E,u,e)=>{e.d(u,{Z:()=>o});var a=e(44206);function o(t,n){var r=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=(0,a.Z)(t))||n&&t&&"number"==typeof t.length){r&&(t=r);var i=0,s=function(){};return{s,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(p){throw p},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var g,_=!0,f=!1;return{s:function(){r=r.call(t)},n:function(){var p=r.next();return _=p.done,p},e:function(p){f=!0,g=p},f:function(){try{!_&&null!=r.return&&r.return()}finally{if(f)throw g}}}}},28694:(E,u,e)=>{e.d(u,{Z:()=>i});var a=e(20265),o=e(98568),t=e(43445),n=e(35488);function i(s){var _=(0,o.Z)();return function(){var d,g=(0,a.Z)(s);if(_){var p=(0,a.Z)(this).constructor;d=Reflect.construct(g,arguments,p)}else d=g.apply(this,arguments);return function r(s,_){if(_&&("object"===(0,t.Z)(_)||"function"==typeof _))return _;if(void 0!==_)throw new TypeError("Derived constructors may only return object or undefined");return(0,n.Z)(s)}(this,d)}}},4089:(E,u,e)=>{e.d(u,{Z:()=>t});var a=e(20265);function t(){return t=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(r,i,s){var _=function o(n,r){for(;!Object.prototype.hasOwnProperty.call(n,r)&&null!==(n=(0,a.Z)(n)););return n}(r,i);if(_){var f=Object.getOwnPropertyDescriptor(_,i);return f.get?f.get.call(arguments.length<3?r:s):f.value}},t.apply(this,arguments)}},20265:(E,u,e)=>{function a(o){return(a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)})(o)}e.d(u,{Z:()=>a})},24582:(E,u,e)=>{e.d(u,{Z:()=>o});var a=e(10006);function o(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&(0,a.Z)(t,n)}},98568:(E,u,e)=>{function a(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(u,{Z:()=>a})},4826:(E,u,e)=>{function a(o){if(typeof Symbol<"u"&&null!=o[Symbol.iterator]||null!=o["@@iterator"])return Array.from(o)}e.d(u,{Z:()=>a})},8217:(E,u,e)=>{function a(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}e.d(u,{Z:()=>a})},10006:(E,u,e)=>{function a(o,t){return(a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r})(o,t)}e.d(u,{Z:()=>a})},32090:(E,u,e)=>{e.d(u,{Z:()=>r});var a=e(8091),t=e(44206),n=e(8217);function r(i,s){return(0,a.Z)(i)||function o(i,s){var _=null==i?null:typeof Symbol<"u"&&i[Symbol.iterator]||i["@@iterator"];if(null!=_){var f,g,d,p,v=[],O=!0,P=!1;try{if(d=(_=_.call(i)).next,0===s){if(Object(_)!==_)return;O=!1}else for(;!(O=(f=d.call(_)).done)&&(v.push(f.value),v.length!==s);O=!0);}catch(m){P=!0,g=m}finally{try{if(!O&&null!=_.return&&(p=_.return(),Object(p)!==p))return}finally{if(P)throw g}}return v}}(i,s)||(0,t.Z)(i,s)||(0,n.Z)()}},86170:(E,u,e)=>{e.d(u,{Z:()=>i});var a=e(44841),t=e(4826),n=e(44206);function i(s){return function o(s){if(Array.isArray(s))return(0,a.Z)(s)}(s)||(0,t.Z)(s)||(0,n.Z)(s)||function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(E,u,e)=>{e.d(u,{Z:()=>o});var a=e(44841);function o(t,n){if(t){if("string"==typeof t)return(0,a.Z)(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return(0,a.Z)(t,n)}}}}]); +//# sourceMappingURL=2545.7524e84597a506c1.js.map \ No newline at end of file diff --git a/2545.7524e84597a506c1.js.map b/2545.7524e84597a506c1.js.map new file mode 100644 index 0000000..4c65fc3 --- /dev/null +++ b/2545.7524e84597a506c1.js.map @@ -0,0 +1 @@ +{"version":3,"file":"2545.7524e84597a506c1.js","mappings":"maAMMA,EAA0B,CAAC,cAAe,kBAC1CC,EAAqB,CAAC,mBAAoB,uBAC1CC,EAAgB,CAAC,KAAM,OACtB,SAASC,EAAUC,EAAQC,EAAWC,EAASC,GAKlD,MAJIC,KAAWF,KACXC,EAAiBD,EACjBA,OAAUG,GAEVF,EACA,OAAOJ,EAAUC,EAAQC,EAAWC,GAASI,QAAKC,KAAiBJ,IAEvE,IAAAK,EA+BJ,SAASC,EAAcT,GACnB,SAAOI,KAAWJ,EAAOU,oBAAgB,EAAKN,KAAWJ,EAAOW,oBACpE,CAjC0BF,CAAcT,GAC9BH,EAAmBe,IAAI,SAACC,GAAU,OAAK,SAACC,GAAO,OAAKd,EAAOa,GAAYZ,EAAWa,EAASZ,EAAQ,IAwB7G,SAASa,EAAwBf,GAC7B,SAAOI,KAAWJ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P,SAAAmD,GAA6E0M,GAAA,GACjG,OAAMnO,GACNoO,GAAA,EAAA3D,EAAAzK,CACA,SACA,IACA,IAAAmO,GAAA,MAAAL,EAAA9C,SAAAiD,EAAAH,EAAA9C,SAAAoB,OAAA6B,QAAA,MACA,SACA,GAAAG,EAAA,MAAA3D,CACA,CACA,CACA,OAAAyD,CAAA,CAEA,CDrBgCL,CAAoBrE,EAAA/H,KAAA,EAAY4M,EAAAhE,GAA0Bb,EAAA/H,KAAA,EAAY6M,EAAAjE,IACtG,wEEFe,SAAAvG,EAAA0F,GACf,OCJe,SAAA+E,EAAA/E,GACf,GAAAhL,MAAAkF,QAAA8F,GAAA,SAAiCgF,EAAAnE,GAAgBb,EACjD,CDES+E,CAAiB/E,KAAA,EAASiF,EAAApE,GAAeb,KAAA,EAAS6E,EAAAhE,GAA0Bb,IELtE,SAAAkF,IACf,UAAAzQ,UAAA,uIACA,CFG8FyQ,EAC9F,mDGLe,SAAAC,EAAA5E,EAAA6E,GACf,GAAA7E,EACA,qBAAAA,EAAA,SAAoC8E,EAAAxE,GAAgBN,EAAA6E,GACpD,IAAArE,EAAA6B,OAAA/L,UAAAyO,SAAAjP,KAAAkK,GAAAgF,MAAA,MAEA,GADA,WAAAxE,GAAAR,EAAAyB,cAAAjB,EAAAR,EAAAyB,YAAAwD,MACA,QAAAzE,GAAA,QAAAA,EAAA,OAAA/L,MAAAgP,KAAAzD,GACA,iBAAAQ,GAAA,2CAAA0E,KAAA1E,GAAA,SAAsFsE,EAAAxE,GAAgBN,EAAA6E,EAAA,CACtG","names":["nodeEventEmitterMethods","eventTargetMethods","jqueryMethods","fromEvent","target","eventName","options","resultSelector","isFunction","undefined","pipe","mapOneOrManyArgs","_ref","isEventTarget","addEventListener","removeEventListener","map","methodName","handler","isNodeStyleEventEmitter","addListener","removeListener","toCommonHandlerRegistry","isJQueryStyleEventEmitter","on","off","_ref2","_slicedToArray","add","remove","isArrayLike","mergeMap","subTarget","innerFrom","TypeError","Observable","subscriber","_len","arguments","length","args","Array","_key","next","createOperatorSubscriber","destination","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","_inherits","_super","_createSuper","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_this","_classCallCheck","this","call","_next","value","err","error","_get","_assertThisInitialized","_getPrototypeOf","prototype","_error","unsubscribe","_complete","_createClass","key","_a","closed","Subscriber","filter","predicate","thisArg","operate","source","index","subscribe","project","concurrent","Infinity","a","i","b","ii","mergeInternals","onBeforeNext","expand","innerSubScheduler","additionalFinalizer","buffer","active","isComplete","checkComplete","complete","outerNext","doInnerSub","push","innerComplete","innerValue","_loop","bufferedValue","shift","executeSchedule","parentSubscription","scheduler","work","delay","repeat","scheduleSubscription","schedule","hasLift","lift","init","liftedSource","isArray","fn","callOrApply","apply","_toConsumableArray","_c0","_MatProgressBarBase","mixinColor","_class","_elementRef","progressbarId","MatLegacyProgressBar","_MatProgressBarBase2","elementRef","_ngZone","_animationMode","location","defaults","_changeDetectorRef","_isNoopAnimation","_value","_bufferValue","animationEnd","EventEmitter","_animationEndSubscription","Subscription","mode","concat","path","getPathname","split","_rectangleFillValue","color","defaultColor","get","set","v","_this$_changeDetector","clamp","coerceNumberProperty","markForCheck","_this$_changeDetector2","transform","bufferValue","_this2","runOutsideAngular","element","_primaryValueBar","nativeElement","e","observers","run","ɵfac","t","i0","ANIMATION_MODULE_TYPE","MAT_PROGRESS_BAR_LOCATION","MAT_PROGRESS_BAR_DEFAULT_OPTIONS","ɵcmp","type","selectors","viewQuery","rf","ctx","_t","first","hostAttrs","hostVars","hostBindings","inputs","outputs","exportAs","features","decls","vars","consts","template","_bufferTransform","_primaryTransform","dependencies","i1","styles","encapsulation","changeDetection","Math","max","min","MatLegacyProgressBarModule","ɵmod","ɵinj","imports","CommonModule","MatCommonModule","_arrayLikeToArray","arr","len","arr2","_arrayWithHoles","self","ReferenceError","_createForOfIteratorHelper","o","allowArrayLike","it","Symbol","iterator","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","n","done","_e","f","normalCompletion","didErr","s","step","_e2","return","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","result","Super","getPrototypeOf","NewTarget","constructor","Reflect","construct","_possibleConstructorReturn","esm_typeof","assertThisInitialized","bind","property","receiver","base","_superPropBase","object","Object","hasOwnProperty","desc","getOwnPropertyDescriptor","setPrototypeOf","__proto__","subClass","superClass","create","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_iterableToArray","iter","from","_nonIterableRest","_setPrototypeOf","p","arrayWithHoles","_iterableToArrayLimit","_i","_s","_x","_r","_arr","_n","_d","unsupportedIterableToArray","nonIterableRest","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","toString","slice","name","test"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/observable/fromEvent.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/filter.js","./node_modules/rxjs/dist/esm/internal/operators/map.js","./node_modules/rxjs/dist/esm/internal/operators/mergeMap.js","./node_modules/rxjs/dist/esm/internal/operators/mergeInternals.js","./node_modules/rxjs/dist/esm/internal/util/executeSchedule.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/rxjs/dist/esm/internal/util/mapOneOrManyArgs.js","./node_modules/@angular/material/fesm2022/legacy-progress-bar.mjs","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/slicedToArray.js","./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { innerFrom } from '../observable/innerFrom';\nimport { Observable } from '../Observable';\nimport { mergeMap } from '../operators/mergeMap';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isFunction } from '../util/isFunction';\nimport { mapOneOrManyArgs } from '../util/mapOneOrManyArgs';\nconst nodeEventEmitterMethods = ['addListener', 'removeListener'];\nconst eventTargetMethods = ['addEventListener', 'removeEventListener'];\nconst jqueryMethods = ['on', 'off'];\nexport function fromEvent(target, eventName, options, resultSelector) {\n if (isFunction(options)) {\n resultSelector = options;\n options = undefined;\n }\n if (resultSelector) {\n return fromEvent(target, eventName, options).pipe(mapOneOrManyArgs(resultSelector));\n }\n const [add, remove] = isEventTarget(target)\n ? eventTargetMethods.map((methodName) => (handler) => target[methodName](eventName, handler, options))\n :\n isNodeStyleEventEmitter(target)\n ? nodeEventEmitterMethods.map(toCommonHandlerRegistry(target, eventName))\n : isJQueryStyleEventEmitter(target)\n ? jqueryMethods.map(toCommonHandlerRegistry(target, eventName))\n : [];\n if (!add) {\n if (isArrayLike(target)) {\n return mergeMap((subTarget) => fromEvent(subTarget, eventName, options))(innerFrom(target));\n }\n }\n if (!add) {\n throw new TypeError('Invalid event target');\n }\n return new Observable((subscriber) => {\n const handler = (...args) => subscriber.next(1 < args.length ? args : args[0]);\n add(handler);\n return () => remove(handler);\n });\n}\nfunction toCommonHandlerRegistry(target, eventName) {\n return (methodName) => (handler) => target[methodName](eventName, handler);\n}\nfunction isNodeStyleEventEmitter(target) {\n return isFunction(target.addListener) && isFunction(target.removeListener);\n}\nfunction isJQueryStyleEventEmitter(target) {\n return isFunction(target.on) && isFunction(target.off);\n}\nfunction isEventTarget(target) {\n return isFunction(target.addEventListener) && isFunction(target.removeEventListener);\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","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}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function map(project, thisArg) {\n return operate((source, subscriber) => {\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n subscriber.next(project.call(thisArg, value, index++));\n }));\n });\n}\n","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 }\n else if (typeof resultSelector === 'number') {\n concurrent = resultSelector;\n }\n return operate((source, subscriber) => mergeInternals(source, subscriber, project, concurrent));\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { executeSchedule } from '../util/executeSchedule';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function mergeInternals(source, subscriber, project, concurrent, onBeforeNext, expand, innerSubScheduler, additionalFinalizer) {\n const buffer = [];\n let active = 0;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => {\n if (isComplete && !buffer.length && !active) {\n subscriber.complete();\n }\n };\n const outerNext = (value) => (active < concurrent ? doInnerSub(value) : buffer.push(value));\n const doInnerSub = (value) => {\n expand && subscriber.next(value);\n active++;\n let innerComplete = false;\n innerFrom(project(value, index++)).subscribe(createOperatorSubscriber(subscriber, (innerValue) => {\n onBeforeNext === null || onBeforeNext === void 0 ? void 0 : onBeforeNext(innerValue);\n if (expand) {\n outerNext(innerValue);\n }\n else {\n subscriber.next(innerValue);\n }\n }, () => {\n innerComplete = true;\n }, undefined, () => {\n if (innerComplete) {\n try {\n active--;\n while (buffer.length && active < concurrent) {\n const bufferedValue = buffer.shift();\n if (innerSubScheduler) {\n executeSchedule(subscriber, innerSubScheduler, () => doInnerSub(bufferedValue));\n }\n else {\n doInnerSub(bufferedValue);\n }\n }\n checkComplete();\n }\n catch (err) {\n subscriber.error(err);\n }\n }\n }));\n };\n source.subscribe(createOperatorSubscriber(subscriber, outerNext, () => {\n isComplete = true;\n checkComplete();\n }));\n return () => {\n additionalFinalizer === null || additionalFinalizer === void 0 ? void 0 : additionalFinalizer();\n };\n}\n","export function executeSchedule(parentSubscription, scheduler, work, delay = 0, repeat = false) {\n const scheduleSubscription = scheduler.schedule(function () {\n work();\n if (repeat) {\n parentSubscription.add(this.schedule(null, delay));\n }\n else {\n this.unsubscribe();\n }\n }, delay);\n parentSubscription.add(scheduleSubscription);\n if (!repeat) {\n return scheduleSubscription;\n }\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","import { map } from \"../operators/map\";\nconst { isArray } = Array;\nfunction callOrApply(fn, args) {\n return isArray(args) ? fn(...args) : fn(args);\n}\nexport function mapOneOrManyArgs(fn) {\n return map(args => callOrApply(fn, args));\n}\n","import * as i0 from '@angular/core';\nimport { EventEmitter, Component, ChangeDetectionStrategy, ViewEncapsulation, Optional, Inject, Input, ViewChild, Output, NgModule } from '@angular/core';\nimport * as i1 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport { mixinColor, MatCommonModule } from '@angular/material/core';\nimport { coerceNumberProperty } from '@angular/cdk/coercion';\nimport { MAT_PROGRESS_BAR_LOCATION, MAT_PROGRESS_BAR_DEFAULT_OPTIONS } from '@angular/material/progress-bar';\nexport { MAT_PROGRESS_BAR_DEFAULT_OPTIONS as MAT_LEGACY_PROGRESS_BAR_DEFAULT_OPTIONS, MAT_PROGRESS_BAR_LOCATION as MAT_LEGACY_PROGRESS_BAR_LOCATION, MAT_PROGRESS_BAR_LOCATION_FACTORY as MAT_LEGACY_PROGRESS_BAR_LOCATION_FACTORY } from '@angular/material/progress-bar';\nimport { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';\nimport { Subscription, fromEvent } from 'rxjs';\nimport { filter } from 'rxjs/operators';\n\n// TODO(josephperrott): Add ARIA attributes for progress bar \"for\".\n// Boilerplate for applying mixins to MatProgressBar.\n/** @docs-private */\nconst _MatProgressBarBase = mixinColor(class {\n constructor(_elementRef) {\n this._elementRef = _elementRef;\n }\n}, 'primary');\n/** Counter used to generate unique IDs for progress bars. */\nlet progressbarId = 0;\n/**\n * `<mat-progress-bar>` component.\n * @deprecated Use `MatProgressBar` from `@angular/material/progress-bar` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyProgressBar extends _MatProgressBarBase {\n constructor(elementRef, _ngZone, _animationMode, \n /**\n * @deprecated `location` parameter to be made required.\n * @breaking-change 8.0.0\n */\n location, defaults, \n /**\n * @deprecated `_changeDetectorRef` parameter to be made required.\n * @breaking-change 11.0.0\n */\n _changeDetectorRef) {\n super(elementRef);\n this._ngZone = _ngZone;\n this._animationMode = _animationMode;\n this._changeDetectorRef = _changeDetectorRef;\n /** Flag that indicates whether NoopAnimations mode is set to true. */\n this._isNoopAnimation = false;\n this._value = 0;\n this._bufferValue = 0;\n /**\n * Event emitted when animation of the primary progress bar completes. This event will not\n * be emitted when animations are disabled, nor will it be emitted for modes with continuous\n * animations (indeterminate and query).\n */\n this.animationEnd = new EventEmitter();\n /** Reference to animation end subscription to be unsubscribed on destroy. */\n this._animationEndSubscription = Subscription.EMPTY;\n /**\n * Mode of the progress bar.\n *\n * Input must be one of these values: determinate, indeterminate, buffer, query, defaults to\n * 'determinate'.\n * Mirrored to mode attribute.\n */\n this.mode = 'determinate';\n /** ID of the progress bar. */\n this.progressbarId = `mat-progress-bar-${progressbarId++}`;\n // We need to prefix the SVG reference with the current path, otherwise they won't work\n // in Safari if the page has a `<base>` tag. Note that we need quotes inside the `url()`,\n // because named route URLs can contain parentheses (see #12338). Also we don't use `Location`\n // since we can't tell the difference between whether the consumer is using the hash location\n // strategy or not, because `Location` normalizes both `/#/foo/bar` and `/foo/bar` to\n // the same thing.\n const path = location ? location.getPathname().split('#')[0] : '';\n this._rectangleFillValue = `url('${path}#${this.progressbarId}')`;\n this._isNoopAnimation = _animationMode === 'NoopAnimations';\n if (defaults) {\n if (defaults.color) {\n this.color = this.defaultColor = defaults.color;\n }\n this.mode = defaults.mode || this.mode;\n }\n }\n /** Value of the progress bar. Defaults to zero. Mirrored to aria-valuenow. */\n get value() {\n return this._value;\n }\n set value(v) {\n this._value = clamp(coerceNumberProperty(v) || 0);\n // @breaking-change 11.0.0 Remove null check for _changeDetectorRef.\n this._changeDetectorRef?.markForCheck();\n }\n /** Buffer value of the progress bar. Defaults to zero. */\n get bufferValue() {\n return this._bufferValue;\n }\n set bufferValue(v) {\n this._bufferValue = clamp(v || 0);\n // @breaking-change 11.0.0 Remove null check for _changeDetectorRef.\n this._changeDetectorRef?.markForCheck();\n }\n /** Gets the current transform value for the progress bar's primary indicator. */\n _primaryTransform() {\n // We use a 3d transform to work around some rendering issues in iOS Safari. See #19328.\n const scale = this.value / 100;\n return { transform: `scale3d(${scale}, 1, 1)` };\n }\n /**\n * Gets the current transform value for the progress bar's buffer indicator. Only used if the\n * progress mode is set to buffer, otherwise returns an undefined, causing no transformation.\n */\n _bufferTransform() {\n if (this.mode === 'buffer') {\n // We use a 3d transform to work around some rendering issues in iOS Safari. See #19328.\n const scale = this.bufferValue / 100;\n return { transform: `scale3d(${scale}, 1, 1)` };\n }\n return null;\n }\n ngAfterViewInit() {\n // Run outside angular so change detection didn't get triggered on every transition end\n // instead only on the animation that we care about (primary value bar's transitionend)\n this._ngZone.runOutsideAngular(() => {\n const element = this._primaryValueBar.nativeElement;\n this._animationEndSubscription = fromEvent(element, 'transitionend')\n .pipe(filter((e) => e.target === element))\n .subscribe(() => {\n if (this.animationEnd.observers.length === 0) {\n return;\n }\n if (this.mode === 'determinate' || this.mode === 'buffer') {\n this._ngZone.run(() => this.animationEnd.next({ value: this.value }));\n }\n });\n });\n }\n ngOnDestroy() {\n this._animationEndSubscription.unsubscribe();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyProgressBar, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: ANIMATION_MODULE_TYPE, optional: true }, { token: MAT_PROGRESS_BAR_LOCATION, optional: true }, { token: MAT_PROGRESS_BAR_DEFAULT_OPTIONS, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyProgressBar, selector: \"mat-progress-bar\", inputs: { color: \"color\", value: \"value\", bufferValue: \"bufferValue\", mode: \"mode\" }, outputs: { animationEnd: \"animationEnd\" }, host: { attributes: { \"role\": \"progressbar\", \"aria-valuemin\": \"0\", \"aria-valuemax\": \"100\", \"tabindex\": \"-1\" }, properties: { \"attr.aria-valuenow\": \"(mode === \\\"indeterminate\\\" || mode === \\\"query\\\") ? null : value\", \"attr.mode\": \"mode\", \"class._mat-animation-noopable\": \"_isNoopAnimation\" }, classAttribute: \"mat-progress-bar\" }, viewQueries: [{ propertyName: \"_primaryValueBar\", first: true, predicate: [\"primaryValueBar\"], descendants: true }], exportAs: [\"matProgressBar\"], usesInheritance: true, ngImport: i0, template: \"<!--\\n All children need to be hidden for screen readers in order to support ChromeVox.\\n More context in the issue: https://github.com/angular/components/issues/22165.\\n-->\\n<div aria-hidden=\\\"true\\\">\\n <svg width=\\\"100%\\\" height=\\\"4\\\" focusable=\\\"false\\\" class=\\\"mat-progress-bar-background mat-progress-bar-element\\\">\\n <defs>\\n <pattern [id]=\\\"progressbarId\\\" x=\\\"4\\\" y=\\\"0\\\" width=\\\"8\\\" height=\\\"4\\\" patternUnits=\\\"userSpaceOnUse\\\">\\n <circle cx=\\\"2\\\" cy=\\\"2\\\" r=\\\"2\\\"/>\\n </pattern>\\n </defs>\\n <rect [attr.fill]=\\\"_rectangleFillValue\\\" width=\\\"100%\\\" height=\\\"100%\\\"/>\\n </svg>\\n <!--\\n The background div is named as such because it appears below the other divs and is not sized based\\n on values.\\n -->\\n <div class=\\\"mat-progress-bar-buffer mat-progress-bar-element\\\" [ngStyle]=\\\"_bufferTransform()\\\"></div>\\n <div class=\\\"mat-progress-bar-primary mat-progress-bar-fill mat-progress-bar-element\\\" [ngStyle]=\\\"_primaryTransform()\\\" #primaryValueBar></div>\\n <div class=\\\"mat-progress-bar-secondary mat-progress-bar-fill mat-progress-bar-element\\\"></div>\\n</div>\\n\", styles: [\".mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}.mat-progress-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-background{display:none}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:\\\"\\\";display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2000ms infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2000ms infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background{animation:none;transition-duration:1ms}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}\"], dependencies: [{ kind: \"directive\", type: i1.NgStyle, selector: \"[ngStyle]\", inputs: [\"ngStyle\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyProgressBar, decorators: [{\n type: Component,\n args: [{ selector: 'mat-progress-bar', exportAs: 'matProgressBar', host: {\n 'role': 'progressbar',\n 'aria-valuemin': '0',\n 'aria-valuemax': '100',\n // set tab index to -1 so screen readers will read the aria-label\n // Note: there is a known issue with JAWS that does not read progressbar aria labels on FireFox\n 'tabindex': '-1',\n '[attr.aria-valuenow]': '(mode === \"indeterminate\" || mode === \"query\") ? null : value',\n '[attr.mode]': 'mode',\n 'class': 'mat-progress-bar',\n '[class._mat-animation-noopable]': '_isNoopAnimation',\n }, inputs: ['color'], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: \"<!--\\n All children need to be hidden for screen readers in order to support ChromeVox.\\n More context in the issue: https://github.com/angular/components/issues/22165.\\n-->\\n<div aria-hidden=\\\"true\\\">\\n <svg width=\\\"100%\\\" height=\\\"4\\\" focusable=\\\"false\\\" class=\\\"mat-progress-bar-background mat-progress-bar-element\\\">\\n <defs>\\n <pattern [id]=\\\"progressbarId\\\" x=\\\"4\\\" y=\\\"0\\\" width=\\\"8\\\" height=\\\"4\\\" patternUnits=\\\"userSpaceOnUse\\\">\\n <circle cx=\\\"2\\\" cy=\\\"2\\\" r=\\\"2\\\"/>\\n </pattern>\\n </defs>\\n <rect [attr.fill]=\\\"_rectangleFillValue\\\" width=\\\"100%\\\" height=\\\"100%\\\"/>\\n </svg>\\n <!--\\n The background div is named as such because it appears below the other divs and is not sized based\\n on values.\\n -->\\n <div class=\\\"mat-progress-bar-buffer mat-progress-bar-element\\\" [ngStyle]=\\\"_bufferTransform()\\\"></div>\\n <div class=\\\"mat-progress-bar-primary mat-progress-bar-fill mat-progress-bar-element\\\" [ngStyle]=\\\"_primaryTransform()\\\" #primaryValueBar></div>\\n <div class=\\\"mat-progress-bar-secondary mat-progress-bar-fill mat-progress-bar-element\\\"></div>\\n</div>\\n\", styles: [\".mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}.mat-progress-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-background{display:none}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:\\\"\\\";display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2000ms infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2000ms infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background{animation:none;transition-duration:1ms}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_PROGRESS_BAR_LOCATION]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_PROGRESS_BAR_DEFAULT_OPTIONS]\n }] }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { value: [{\n type: Input\n }], bufferValue: [{\n type: Input\n }], _primaryValueBar: [{\n type: ViewChild,\n args: ['primaryValueBar']\n }], animationEnd: [{\n type: Output\n }], mode: [{\n type: Input\n }] } });\n/** Clamps a value to be between two numbers, by default 0 and 100. */\nfunction clamp(v, min = 0, max = 100) {\n return Math.max(min, Math.min(max, v));\n}\n\n/**\n * @deprecated Use `MatProgressBarModule` from `@angular/material/progress-bar` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyProgressBarModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyProgressBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyProgressBarModule, declarations: [MatLegacyProgressBar], imports: [CommonModule, MatCommonModule], exports: [MatLegacyProgressBar, MatCommonModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyProgressBarModule, imports: [CommonModule, MatCommonModule, MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyProgressBarModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [CommonModule, MatCommonModule],\n exports: [MatLegacyProgressBar, MatCommonModule],\n declarations: [MatLegacyProgressBar],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MatLegacyProgressBar, MatLegacyProgressBarModule };\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}","export default function _iterableToArrayLimit(arr, i) {\n var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"];\n if (null != _i) {\n var _s,\n _e,\n _x,\n _r,\n _arr = [],\n _n = !0,\n _d = !1;\n try {\n if (_x = (_i = _i.call(arr)).next, 0 === i) {\n if (Object(_i) !== _i) return;\n _n = !1;\n } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);\n } catch (err) {\n _d = !0, _e = err;\n } finally {\n try {\n if (!_n && null != _i[\"return\"] && (_r = _i[\"return\"](), Object(_r) !== _r)) return;\n } finally {\n if (_d) throw _e;\n }\n }\n return _arr;\n }\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29]} \ No newline at end of file diff --git a/2556.5668598d28607d35.js b/2556.5668598d28607d35.js new file mode 100644 index 0000000..a70eb43 --- /dev/null +++ b/2556.5668598d28607d35.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[2556,5106,1551],{59319:(T,f,e)=>{e.d(f,{z:()=>a});var _=e(1308),r=e(10420),u=e(37400);function a(){for(var l=arguments.length,n=new Array(l),d=0;d<l;d++)n[d]=arguments[d];return function c(){return(0,_.J)(1)}()((0,u.D)(n,(0,r.yG)(n)))}},21954:(T,f,e)=>{e.d(f,{P:()=>r});var _=e(90833),c=e(54987);function r(u){return new _.y(function(a){(0,c.Xf)(u()).subscribe(a)})}},20591:(T,f,e)=>{e.d(f,{E:()=>c});var c=new(e(90833).y)(function(a){return a.complete()})},37400:(T,f,e)=>{e.d(f,{D:()=>B});var _=e(54987),c=e(8728),r=e(41944);function u(p){var y=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,r.e)(function(S,I){I.add(p.schedule(function(){return S.subscribe(I)},y))})}var n=e(90833),v=e(67321),b=e(92971),E=e(1817);function P(p,y){if(!p)throw new Error("Iterable cannot be null");return new n.y(function(S){(0,E.f)(S,y,function(){var I=p[Symbol.asyncIterator]();(0,E.f)(S,y,function(){I.next().then(function(F){F.done?S.complete():S.next(F.value)})},0,!0)})})}var D=e(21331),O=e(79548),M=e(99806),U=e(23433),W=e(80470),K=e(27785),j=e(20181);function B(p,y){return y?function L(p,y){if(null!=p){if((0,D.c)(p))return function a(p,y){return(0,_.Xf)(p).pipe(u(y),(0,c.Q)(y))}(p,y);if((0,M.z)(p))return function d(p,y){return new n.y(function(S){var I=0;return y.schedule(function(){I===p.length?S.complete():(S.next(p[I++]),S.closed||this.schedule())})})}(p,y);if((0,O.t)(p))return function l(p,y){return(0,_.Xf)(p).pipe(u(y),(0,c.Q)(y))}(p,y);if((0,W.D)(p))return P(p,y);if((0,U.T)(p))return function g(p,y){return new n.y(function(S){var I;return(0,E.f)(S,y,function(){I=p[v.h](),(0,E.f)(S,y,function(){var F,w;try{var x=I.next();F=x.value,w=x.done}catch(z){return void S.error(z)}w?S.complete():S.next(F)},0,!0)}),function(){return(0,b.m)(I?.return)&&I.return()}})}(p,y);if((0,j.L)(p))return function Z(p,y){return P((0,j.Q)(p),y)}(p,y)}throw(0,K.z)(p)}(p,y):(0,_.Xf)(p)}},23280:(T,f,e)=>{e.d(f,{R:()=>E});var _=e(32090),c=e(54987),r=e(90833),u=e(49525),a=e(99806),l=e(92971),n=e(58385),d=["addListener","removeListener"],v=["addEventListener","removeEventListener"],b=["on","off"];function E(M,U,W,K){if((0,l.m)(W)&&(K=W,W=void 0),K)return E(M,U,W).pipe((0,n.Z)(K));var j=function O(M){return(0,l.m)(M.addEventListener)&&(0,l.m)(M.removeEventListener)}(M)?v.map(function(p){return function(y){return M[p](U,y,W)}}):function P(M){return(0,l.m)(M.addListener)&&(0,l.m)(M.removeListener)}(M)?d.map(g(M,U)):function D(M){return(0,l.m)(M.on)&&(0,l.m)(M.off)}(M)?b.map(g(M,U)):[],Z=(0,_.Z)(j,2),L=Z[0],B=Z[1];if(!L&&(0,a.z)(M))return(0,u.z)(function(p){return E(p,U,W)})((0,c.Xf)(M));if(!L)throw new TypeError("Invalid event target");return new r.y(function(p){var y=function(){for(var I=arguments.length,F=new Array(I),w=0;w<I;w++)F[w]=arguments[w];return p.next(1<F.length?F:F[0])};return L(y),function(){return B(y)}})}function g(M,U){return function(W){return function(K){return M[W](U,K)}}}},36646:(T,f,e)=>{e.d(f,{T:()=>l});var _=e(1308),c=e(54987),r=e(20591),u=e(10420),a=e(37400);function l(){for(var n=arguments.length,d=new Array(n),v=0;v<n;v++)d[v]=arguments[v];var b=(0,u.yG)(d),E=(0,u._6)(d,1/0),g=d;return g.length?1===g.length?(0,c.Xf)(g[0]):(0,_.J)(E)((0,a.D)(g,b)):r.E}},10745:(T,f,e)=>{e.d(f,{of:()=>r});var _=e(10420),c=e(37400);function r(){for(var u=arguments.length,a=new Array(u),l=0;l<u;l++)a[l]=arguments[l];var n=(0,_.yG)(a);return(0,c.D)(a,n)}},93945:(T,f,e)=>{e.d(f,{Q:()=>b,x:()=>v});var _=e(78069),c=e(48047),r=e(35488),u=e(24582),a=e(28694),l=e(4089),n=e(20265);function v(E,g,P,D,O){return new b(E,g,P,D,O)}var b=function(E){(0,u.Z)(P,E);var g=(0,a.Z)(P);function P(D,O,M,U,W,K){var j,Z,L,B;return(0,_.Z)(this,P),(B=g.call(this,D)).onFinalize=W,B.shouldUnsubscribe=K,B._next=O?function(p){try{O(p)}catch(y){D.error(y)}}:(0,l.Z)((j=(0,r.Z)(B),(0,n.Z)(P.prototype)),"_next",j),B._error=U?function(p){try{U(p)}catch(y){D.error(y)}finally{this.unsubscribe()}}:(0,l.Z)((Z=(0,r.Z)(B),(0,n.Z)(P.prototype)),"_error",Z),B._complete=M?function(){try{M()}catch(p){D.error(p)}finally{this.unsubscribe()}}:(0,l.Z)((L=(0,r.Z)(B),(0,n.Z)(P.prototype)),"_complete",L),B}return(0,c.Z)(P,[{key:"unsubscribe",value:function(){var O;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var M=this.closed;(0,l.Z)((0,n.Z)(P.prototype),"unsubscribe",this).call(this),!M&&(null===(O=this.onFinalize)||void 0===O||O.call(this))}}}]),P}(e(5463).Lv)},76234:(T,f,e)=>{e.d(f,{g:()=>v});var _=e(96936),c=e(59319),r=e(59295),u=e(90023),a=e(73),l=e(49525);function n(b,E){return E?function(g){return(0,c.z)(E.pipe((0,r.q)(1),(0,u.l)()),g.pipe(n(b)))}:(0,l.z)(function(g,P){return b(g,P).pipe((0,r.q)(1),(0,a.h)(g))})}var d=e(78947);function v(b){var g=(0,d.H)(b,arguments.length>1&&void 0!==arguments[1]?arguments[1]:_.z);return n(function(){return g})}},60116:(T,f,e)=>{e.d(f,{h:()=>r});var _=e(41944),c=e(93945);function r(u,a){return(0,_.e)(function(l,n){var d=0;l.subscribe((0,c.x)(n,function(v){return u.call(a,v,d++)&&n.next(v)}))})}},90023:(T,f,e)=>{e.d(f,{l:()=>u});var _=e(41944),c=e(93945),r=e(99635);function u(){return(0,_.e)(function(a,l){a.subscribe((0,c.x)(l,r.Z))})}},73:(T,f,e)=>{e.d(f,{h:()=>c});var _=e(50635);function c(r){return(0,_.U)(function(){return r})}},1308:(T,f,e)=>{e.d(f,{J:()=>r});var _=e(49525),c=e(89173);function r(){return(0,_.z)(c.y,arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0)}},8728:(T,f,e)=>{e.d(f,{Q:()=>u});var _=e(1817),c=e(41944),r=e(93945);function u(a){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,c.e)(function(n,d){n.subscribe((0,r.x)(d,function(v){return(0,_.f)(d,a,function(){return d.next(v)},l)},function(){return(0,_.f)(d,a,function(){return d.complete()},l)},function(v){return(0,_.f)(d,a,function(){return d.error(v)},l)}))})}},44874:(T,f,e)=>{e.d(f,{O:()=>u});var _=e(59319),c=e(10420),r=e(41944);function u(){for(var a=arguments.length,l=new Array(a),n=0;n<a;n++)l[n]=arguments[n];var d=(0,c.yG)(l);return(0,r.e)(function(v,b){(d?(0,_.z)(l,v,d):(0,_.z)(l,v)).subscribe(b)})}},32673:(T,f,e)=>{e.d(f,{w:()=>u});var _=e(54987),c=e(41944),r=e(93945);function u(a,l){return(0,c.e)(function(n,d){var v=null,b=0,E=!1,g=function(){return E&&!v&&d.complete()};n.subscribe((0,r.x)(d,function(P){v?.unsubscribe();var D=0,O=b++;(0,_.Xf)(a(P,O)).subscribe(v=(0,r.x)(d,function(M){return d.next(l?l(P,M,O,D++):M)},function(){v=null,g()}))},function(){E=!0,g()}))})}},59295:(T,f,e)=>{e.d(f,{q:()=>u});var _=e(20591),c=e(41944),r=e(93945);function u(a){return a<=0?function(){return _.E}:(0,c.e)(function(l,n){var d=0;l.subscribe((0,r.x)(n,function(v){++d<=a&&(n.next(v),a<=d&&n.complete())}))})}},19337:(T,f,e)=>{e.d(f,{b:()=>a});var _=e(92971),c=e(41944),r=e(93945),u=e(89173);function a(l,n,d){var v=(0,_.m)(l)||n||d?{next:l,error:n,complete:d}:l;return v?(0,c.e)(function(b,E){var g;null===(g=v.subscribe)||void 0===g||g.call(v);var P=!0;b.subscribe((0,r.x)(E,function(D){var O;null===(O=v.next)||void 0===O||O.call(v,D),E.next(D)},function(){var D;P=!1,null===(D=v.complete)||void 0===D||D.call(v),E.complete()},function(D){var O;P=!1,null===(O=v.error)||void 0===O||O.call(v,D),E.error(D)},function(){var D,O;P&&(null===(D=v.unsubscribe)||void 0===D||D.call(v)),null===(O=v.finalize)||void 0===O||O.call(v)}))}):u.y}},10420:(T,f,e)=>{e.d(f,{_6:()=>l,jO:()=>u,yG:()=>a});var _=e(92971),c=e(59867);function r(n){return n[n.length-1]}function u(n){return(0,_.m)(r(n))?n.pop():void 0}function a(n){return(0,c.K)(r(n))?n.pop():void 0}function l(n,d){return"number"==typeof r(n)?n.pop():d}},41944:(T,f,e)=>{e.d(f,{A:()=>c,e:()=>r});var _=e(92971);function c(u){return(0,_.m)(u?.lift)}function r(u){return function(a){if(c(a))return a.lift(function(l){try{return u(l,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}},58385:(T,f,e)=>{e.d(f,{Z:()=>a});var _=e(86170),c=e(50635),r=Array.isArray;function a(l){return(0,c.U)(function(n){return function u(l,n){return r(n)?l.apply(void 0,(0,_.Z)(n)):l(n)}(l,n)})}},42556:(T,f,e)=>{e.r(f),e.d(f,{MAT_AUTOCOMPLETE_DEFAULT_OPTIONS:()=>H,MAT_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORY:()=>Q,MAT_AUTOCOMPLETE_SCROLL_STRATEGY:()=>Y,MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY:()=>$,MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>q,MAT_AUTOCOMPLETE_VALUE_ACCESSOR:()=>J,MatAutocomplete:()=>ce,MatAutocompleteModule:()=>fe,MatAutocompleteOrigin:()=>_e,MatAutocompleteSelectedEvent:()=>N,MatAutocompleteTrigger:()=>te,_MatAutocompleteBase:()=>G,_MatAutocompleteOriginBase:()=>X,_MatAutocompleteTriggerBase:()=>ee,getMatAutocompleteMissingPanelError:()=>de});var _=e(86170),c=e(95106),r=e(24582),u=e(28694),a=e(48047),l=e(78069),n=e(56718),d=e(6606),v=e(94055),b=e(93168),E=e(43662),g=e(908),P=e(35333),D=e(23675),O=e(72223),M=e(17714),U=e(50253),W=e(21954),K=e(36646),j=e(10745),Z=e(23280),L=e(52069),B=e(18142),p=e(47405),y=e(137),S=e(44874),I=e(32673),F=e(59295),w=e(60116),x=e(50635),z=e(19337),ne=e(76234),oe=e(43068),ie=["panel"];function ae(m,A){if(1&m&&(n.\u0275\u0275elementStart(0,"div",0,1),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd()),2&m){var s=A.id,t=n.\u0275\u0275nextContext();n.\u0275\u0275property("id",t.id)("ngClass",t._classList)("@panelAnimation",t.isOpen?"visible":"hidden"),n.\u0275\u0275attribute("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby(s))}}var re=["*"],le=(0,O.X$)("panelAnimation",[(0,O.SB)("void, hidden",(0,O.oB)({opacity:0,transform:"scaleY(0.8)"})),(0,O.eR)(":enter, hidden => visible",[(0,O.ru)([(0,O.jt)("0.03s linear",(0,O.oB)({opacity:1})),(0,O.jt)("0.12s cubic-bezier(0, 0, 0.2, 1)",(0,O.oB)({transform:"scaleY(1)"}))])]),(0,O.eR)(":leave, visible => hidden",[(0,O.jt)("0.075s linear",(0,O.oB)({opacity:0}))])]),se=0,N=(0,a.Z)(function m(A,s){(0,l.Z)(this,m),this.source=A,this.option=s}),ue=(0,d.mixinDisableRipple)(function(){return(0,a.Z)(function m(){(0,l.Z)(this,m)})}()),H=new n.InjectionToken("mat-autocomplete-default-options",{providedIn:"root",factory:Q});function Q(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1}}var G=function(){var m=function(A){(0,r.Z)(t,A);var s=(0,u.Z)(t);function t(o,i,h,C){var R;return(0,l.Z)(this,t),(R=s.call(this))._changeDetectorRef=o,R._elementRef=i,R._defaults=h,R._activeOptionChanges=M.w0.EMPTY,R.showPanel=!1,R._isOpen=!1,R.displayWith=null,R.optionSelected=new n.EventEmitter,R.opened=new n.EventEmitter,R.closed=new n.EventEmitter,R.optionActivated=new n.EventEmitter,R._classList={},R.id="mat-autocomplete-".concat(se++),R.inertGroups=C?.SAFARI||!1,R._autoActiveFirstOption=!!h.autoActiveFirstOption,R._autoSelectActiveOption=!!h.autoSelectActiveOption,R}return(0,a.Z)(t,[{key:"isOpen",get:function(){return this._isOpen&&this.showPanel}},{key:"_setColor",value:function(i){this._color=i,this._setThemeClasses(this._classList)}},{key:"autoActiveFirstOption",get:function(){return this._autoActiveFirstOption},set:function(i){this._autoActiveFirstOption=(0,P.coerceBooleanProperty)(i)}},{key:"autoSelectActiveOption",get:function(){return this._autoSelectActiveOption},set:function(i){this._autoSelectActiveOption=(0,P.coerceBooleanProperty)(i)}},{key:"classList",set:function(i){this._classList=i&&i.length?(0,P.coerceStringArray)(i).reduce(function(h,C){return h[C]=!0,h},{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}},{key:"ngAfterContentInit",value:function(){var i=this;this._keyManager=new g.ActiveDescendantKeyManager(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(function(h){i.isOpen&&i.optionActivated.emit({source:i,option:i.options.toArray()[h]||null})}),this._setVisibility()}},{key:"ngOnDestroy",value:function(){var i;null===(i=this._keyManager)||void 0===i||i.destroy(),this._activeOptionChanges.unsubscribe()}},{key:"_setScrollTop",value:function(i){this.panel&&(this.panel.nativeElement.scrollTop=i)}},{key:"_getScrollTop",value:function(){return this.panel?this.panel.nativeElement.scrollTop:0}},{key:"_setVisibility",value:function(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}},{key:"_emitSelectEvent",value:function(i){var h=new N(this,i);this.optionSelected.emit(h)}},{key:"_getPanelAriaLabelledby",value:function(i){return this.ariaLabel?null:this.ariaLabelledby?(i?i+" ":"")+this.ariaLabelledby:i}},{key:"_setVisibilityClasses",value:function(i){i[this._visibleClass]=this.showPanel,i[this._hiddenClass]=!this.showPanel}},{key:"_setThemeClasses",value:function(i){i["mat-primary"]="primary"===this._color,i["mat-warn"]="warn"===this._color,i["mat-accent"]="accent"===this._color}},{key:"_skipPredicate",value:function(i){return i.disabled}}]),t}(ue);return m.\u0275fac=function(s){return new(s||m)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(H),n.\u0275\u0275directiveInject(D.Platform))},m.\u0275dir=n.\u0275\u0275defineDirective({type:m,viewQuery:function(s,t){var o;1&s&&(n.\u0275\u0275viewQuery(n.TemplateRef,7),n.\u0275\u0275viewQuery(ie,5)),2&s&&(n.\u0275\u0275queryRefresh(o=n.\u0275\u0275loadQuery())&&(t.template=o.first),n.\u0275\u0275queryRefresh(o=n.\u0275\u0275loadQuery())&&(t.panel=o.first))},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[n.\u0275\u0275InheritDefinitionFeature]}),m}(),ce=function(){var m=function(A){(0,r.Z)(t,A);var s=(0,u.Z)(t);function t(){var o,i;return(0,l.Z)(this,t),(i=s.apply(this,arguments))._visibleClass="mat-mdc-autocomplete-visible",i._hiddenClass="mat-mdc-autocomplete-hidden",i._hideSingleSelectionIndicator=null!==(o=i._defaults.hideSingleSelectionIndicator)&&void 0!==o&&o,i}return(0,a.Z)(t,[{key:"hideSingleSelectionIndicator",get:function(){return this._hideSingleSelectionIndicator},set:function(i){this._hideSingleSelectionIndicator=(0,P.coerceBooleanProperty)(i),this._syncParentProperties()}},{key:"_syncParentProperties",value:function(){if(this.options){var h,i=(0,c.Z)(this.options);try{for(i.s();!(h=i.n()).done;)h.value._changeDetectorRef.markForCheck()}catch(R){i.e(R)}finally{i.f()}}}},{key:"_skipPredicate",value:function(i){return!1}}]),t}(G);return m.\u0275fac=function(){var A;return function(t){return(A||(A=n.\u0275\u0275getInheritedFactory(m)))(t||m)}}(),m.\u0275cmp=n.\u0275\u0275defineComponent({type:m,selectors:[["mat-autocomplete"]],contentQueries:function(s,t,o){var i;1&s&&(n.\u0275\u0275contentQuery(o,d.MAT_OPTGROUP,5),n.\u0275\u0275contentQuery(o,d.MatOption,5)),2&s&&(n.\u0275\u0275queryRefresh(i=n.\u0275\u0275loadQuery())&&(t.optionGroups=i),n.\u0275\u0275queryRefresh(i=n.\u0275\u0275loadQuery())&&(t.options=i))},hostAttrs:["ngSkipHydration","",1,"mat-mdc-autocomplete"],inputs:{disableRipple:"disableRipple",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matAutocomplete"],features:[n.\u0275\u0275ProvidersFeature([{provide:d.MAT_OPTION_PARENT_COMPONENT,useExisting:m}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:re,decls:1,vars:0,consts:[["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id","ngClass"],["panel",""]],template:function(s,t){1&s&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275template(0,ae,3,5,"ng-template"))},dependencies:[v.NgClass],styles:[".mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mdc-menu-surface{max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px)}.mdc-menu-surface.mat-mdc-autocomplete-panel{width:100%;max-height:256px;position:static;visibility:hidden;transform-origin:center top;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-autocomplete-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) .mdc-menu-surface.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above .mdc-menu-surface.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}.mdc-menu-surface.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}.mdc-menu-surface.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[le]},changeDetection:0}),m}(),X=function(){var m=(0,a.Z)(function A(s){(0,l.Z)(this,A),this.elementRef=s});return m.\u0275fac=function(s){return new(s||m)(n.\u0275\u0275directiveInject(n.ElementRef))},m.\u0275dir=n.\u0275\u0275defineDirective({type:m}),m}(),_e=function(){var m=function(A){(0,r.Z)(t,A);var s=(0,u.Z)(t);function t(){return(0,l.Z)(this,t),s.apply(this,arguments)}return(0,a.Z)(t)}(X);return m.\u0275fac=function(){var A;return function(t){return(A||(A=n.\u0275\u0275getInheritedFactory(m)))(t||m)}}(),m.\u0275dir=n.\u0275\u0275defineDirective({type:m,selectors:[["","matAutocompleteOrigin",""]],exportAs:["matAutocompleteOrigin"],features:[n.\u0275\u0275InheritDefinitionFeature]}),m}(),J={provide:p.NG_VALUE_ACCESSOR,useExisting:(0,n.forwardRef)(function(){return te}),multi:!0};function de(){return Error("Attempting to open an undefined instance of `mat-autocomplete`. Make sure that the id passed to the `matAutocomplete` is correct and that you're attempting to open it after the ngAfterContentInit hook.")}var Y=new n.InjectionToken("mat-autocomplete-scroll-strategy");function $(m){return function(){return m.scrollStrategies.reposition()}}var q={provide:Y,deps:[E.Overlay],useFactory:$},ee=function(){var m=function(){function A(s,t,o,i,h,C,R,ve,me,pe,he){var k=this;(0,l.Z)(this,A),this._element=s,this._overlay=t,this._viewContainerRef=o,this._zone=i,this._changeDetectorRef=h,this._dir=R,this._formField=ve,this._document=me,this._viewportRuler=pe,this._defaults=he,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=M.w0.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new U.x,this._windowBlurHandler=function(){k._canOpenOnNextFocus=k._document.activeElement!==k._element.nativeElement||k.panelOpen},this._onChange=function(){},this._onTouched=function(){},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=(0,W.P)(function(){var V=k.autocomplete?k.autocomplete.options:null;return V?V.changes.pipe((0,S.O)(V),(0,I.w)(function(){return K.T.apply(void 0,(0,_.Z)(V.map(function(Oe){return Oe.onSelectionChange})))})):k._zone.onStable.pipe((0,F.q)(1),(0,I.w)(function(){return k.optionSelections}))}),this._scrollStrategy=C}return(0,a.Z)(A,[{key:"autocompleteDisabled",get:function(){return this._autocompleteDisabled},set:function(t){this._autocompleteDisabled=(0,P.coerceBooleanProperty)(t)}},{key:"ngAfterViewInit",value:function(){var t=this,o=this._getWindow();typeof o<"u"&&this._zone.runOutsideAngular(function(){return o.addEventListener("blur",t._windowBlurHandler)})}},{key:"ngOnChanges",value:function(t){t.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}},{key:"ngOnDestroy",value:function(){var t=this._getWindow();typeof t<"u"&&t.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}},{key:"panelOpen",get:function(){return this._overlayAttached&&this.autocomplete.showPanel}},{key:"openPanel",value:function(){this._attachOverlay(),this._floatLabel()}},{key:"closePanel",value:function(){var t=this;this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(function(){t.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}},{key:"updatePosition",value:function(){this._overlayAttached&&this._overlayRef.updatePosition()}},{key:"panelClosingActions",get:function(){var t=this;return(0,K.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,w.h)(function(){return t._overlayAttached})),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,w.h)(function(){return t._overlayAttached})):(0,j.of)()).pipe((0,x.U)(function(o){return o instanceof d.MatOptionSelectionChange?o:null}))}},{key:"activeOption",get:function(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}},{key:"_getOutsideClickStream",value:function(){var t=this;return(0,K.T)((0,Z.R)(this._document,"click"),(0,Z.R)(this._document,"auxclick"),(0,Z.R)(this._document,"touchend")).pipe((0,w.h)(function(o){var i=(0,D._getEventTarget)(o),h=t._formField?t._formField._elementRef.nativeElement:null,C=t.connectedTo?t.connectedTo.elementRef.nativeElement:null;return t._overlayAttached&&i!==t._element.nativeElement&&t._document.activeElement!==t._element.nativeElement&&(!h||!h.contains(i))&&(!C||!C.contains(i))&&!!t._overlayRef&&!t._overlayRef.overlayElement.contains(i)}))}},{key:"writeValue",value:function(t){var o=this;Promise.resolve(null).then(function(){return o._assignOptionValue(t)})}},{key:"registerOnChange",value:function(t){this._onChange=t}},{key:"registerOnTouched",value:function(t){this._onTouched=t}},{key:"setDisabledState",value:function(t){this._element.nativeElement.disabled=t}},{key:"_handleKeydown",value:function(t){var o=t.keyCode,i=(0,L.hasModifierKey)(t);if(o===L.ESCAPE&&!i&&t.preventDefault(),this.activeOption&&o===L.ENTER&&this.panelOpen&&!i)this.activeOption._selectViaInteraction(),this._resetActiveItem(),t.preventDefault();else if(this.autocomplete){var h=this.autocomplete._keyManager.activeItem,C=o===L.UP_ARROW||o===L.DOWN_ARROW;o===L.TAB||C&&!i&&this.panelOpen?this.autocomplete._keyManager.onKeydown(t):C&&this._canOpen()&&this.openPanel(),(C||this.autocomplete._keyManager.activeItem!==h)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}},{key:"_handleInput",value:function(t){var o=t.target,i=o.value;"number"===o.type&&(i=""==i?null:parseFloat(i)),this._previousValue!==i&&(this._previousValue=i,this._pendingAutoselectedOption=null,this._onChange(i),this._canOpen()&&this._document.activeElement===t.target&&this.openPanel())}},{key:"_handleFocus",value:function(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}},{key:"_handleClick",value:function(){this._canOpen()&&!this.panelOpen&&this.openPanel()}},{key:"_floatLabel",value:function(){this._formField&&"auto"===this._formField.floatLabel&&(arguments.length>0&&void 0!==arguments[0]&&arguments[0]?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}},{key:"_resetLabel",value:function(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}},{key:"_subscribeToClosingActions",value:function(){var t=this,o=this._zone.onStable.pipe((0,F.q)(1)),i=this.autocomplete.options.changes.pipe((0,z.b)(function(){return t._positionStrategy.reapplyLastPosition()}),(0,ne.g)(0));return(0,K.T)(o,i).pipe((0,I.w)(function(){return t._zone.run(function(){var h=t.panelOpen;t._resetActiveItem(),t.autocomplete._setVisibility(),t._changeDetectorRef.detectChanges(),t.panelOpen&&t._overlayRef.updatePosition(),h!==t.panelOpen&&(t.panelOpen?t.autocomplete.opened.emit():t.autocomplete.closed.emit())}),t.panelClosingActions}),(0,F.q)(1)).subscribe(function(h){return t._setValueAndClose(h)})}},{key:"_destroyPanel",value:function(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}},{key:"_assignOptionValue",value:function(t){var o=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(t):t;this._updateNativeInputValue(o??"")}},{key:"_updateNativeInputValue",value:function(t){this._formField?this._formField._control.value=t:this._element.nativeElement.value=t,this._previousValue=t}},{key:"_setValueAndClose",value:function(t){var o=t?t.source:this._pendingAutoselectedOption;o&&(this._clearPreviousSelectedOption(o),this._assignOptionValue(o.value),this._onChange(o.value),this.autocomplete._emitSelectEvent(o),this._element.nativeElement.focus()),this.closePanel()}},{key:"_clearPreviousSelectedOption",value:function(t){this.autocomplete.options.forEach(function(o){o!==t&&o.selected&&o.deselect()})}},{key:"_attachOverlay",value:function(){var o,h,t=this,i=this._overlayRef;i?(this._positionStrategy.setOrigin(this._getConnectedElement()),i.updateSize({width:this._getPanelWidth()})):(this._portal=new B.TemplatePortal(this.autocomplete.template,this._viewContainerRef,{id:null===(h=this._formField)||void 0===h?void 0:h.getLabelId()}),i=this._overlay.create(this._getOverlayConfig()),this._overlayRef=i,this._handleOverlayEvents(i),this._viewportSubscription=this._viewportRuler.change().subscribe(function(){t.panelOpen&&i&&i.updateSize({width:t._getPanelWidth()})})),i&&!i.hasAttached()&&(i.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());var C=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(null===(o=this._formField)||void 0===o?void 0:o.color),this.panelOpen&&C!==this.panelOpen&&this.autocomplete.opened.emit()}},{key:"_getOverlayConfig",value:function(){var t,o;return new E.OverlayConfig({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:null!==(t=this._dir)&&void 0!==t?t:void 0,panelClass:null===(o=this._defaults)||void 0===o?void 0:o.overlayPanelClass})}},{key:"_getOverlayPosition",value:function(){var t=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(t),this._positionStrategy=t,t}},{key:"_setStrategyPositions",value:function(t){var C,o=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],i=this._aboveClass,h=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:i},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:i}];C="above"===this.position?h:"below"===this.position?o:[].concat(o,h),t.withPositions(C)}},{key:"_getConnectedElement",value:function(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}},{key:"_getPanelWidth",value:function(){return this.autocomplete.panelWidth||this._getHostWidth()}},{key:"_getHostWidth",value:function(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}},{key:"_resetActiveItem",value:function(){var t=this.autocomplete;if(t.autoActiveFirstOption){for(var o=-1,i=0;i<t.options.length;i++)if(!t.options.get(i).disabled){o=i;break}t._keyManager.setActiveItem(o)}else t._keyManager.setActiveItem(-1)}},{key:"_canOpen",value:function(){var t=this._element.nativeElement;return!t.readOnly&&!t.disabled&&!this._autocompleteDisabled}},{key:"_getWindow",value:function(){var t;return(null===(t=this._document)||void 0===t?void 0:t.defaultView)||window}},{key:"_scrollToOption",value:function(t){var o=this.autocomplete,i=(0,d._countGroupLabelsBeforeOption)(t,o.options,o.optionGroups);if(0===t&&1===i)o._setScrollTop(0);else if(o.panel){var h=o.options.toArray()[t];if(h){var C=h._getHostElement(),R=(0,d._getOptionScrollPosition)(C.offsetTop,C.offsetHeight,o._getScrollTop(),o.panel.nativeElement.offsetHeight);o._setScrollTop(R)}}}},{key:"_handleOverlayEvents",value:function(t){var o=this;t.keydownEvents().subscribe(function(i){var h;(i.keyCode===L.ESCAPE&&!(0,L.hasModifierKey)(i)||i.keyCode===L.UP_ARROW&&(0,L.hasModifierKey)(i,"altKey"))&&(o._pendingAutoselectedOption&&(o._updateNativeInputValue(null!==(h=o._valueBeforeAutoSelection)&&void 0!==h?h:""),o._pendingAutoselectedOption=null),o._closeKeyEventStream.next(),o._resetActiveItem(),i.stopPropagation(),i.preventDefault())}),t.outsidePointerEvents().subscribe()}}]),A}();return m.\u0275fac=function(s){return new(s||m)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(E.Overlay),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(Y),n.\u0275\u0275directiveInject(oe.Directionality,8),n.\u0275\u0275directiveInject(y.MAT_FORM_FIELD,9),n.\u0275\u0275directiveInject(v.DOCUMENT,8),n.\u0275\u0275directiveInject(b.ViewportRuler),n.\u0275\u0275directiveInject(H,8))},m.\u0275dir=n.\u0275\u0275defineDirective({type:m,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[n.\u0275\u0275NgOnChangesFeature]}),m}(),te=function(){var m=function(A){(0,r.Z)(t,A);var s=(0,u.Z)(t);function t(){var o;return(0,l.Z)(this,t),(o=s.apply(this,arguments))._aboveClass="mat-mdc-autocomplete-panel-above",o}return(0,a.Z)(t)}(ee);return m.\u0275fac=function(){var A;return function(t){return(A||(A=n.\u0275\u0275getInheritedFactory(m)))(t||m)}}(),m.\u0275dir=n.\u0275\u0275defineDirective({type:m,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(s,t){1&s&&n.\u0275\u0275listener("focusin",function(){return t._handleFocus()})("blur",function(){return t._onTouched()})("input",function(i){return t._handleInput(i)})("keydown",function(i){return t._handleKeydown(i)})("click",function(){return t._handleClick()}),2&s&&n.\u0275\u0275attribute("autocomplete",t.autocompleteAttribute)("role",t.autocompleteDisabled?null:"combobox")("aria-autocomplete",t.autocompleteDisabled?null:"list")("aria-activedescendant",t.panelOpen&&t.activeOption?t.activeOption.id:null)("aria-expanded",t.autocompleteDisabled?null:t.panelOpen.toString())("aria-owns",t.autocompleteDisabled||!t.panelOpen||null==t.autocomplete?null:t.autocomplete.id)("aria-haspopup",t.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[n.\u0275\u0275ProvidersFeature([J]),n.\u0275\u0275InheritDefinitionFeature]}),m}(),fe=function(){var m=(0,a.Z)(function A(){(0,l.Z)(this,A)});return m.\u0275fac=function(s){return new(s||m)},m.\u0275mod=n.\u0275\u0275defineNgModule({type:m}),m.\u0275inj=n.\u0275\u0275defineInjector({providers:[q],imports:[E.OverlayModule,d.MatOptionModule,d.MatCommonModule,v.CommonModule,b.CdkScrollableModule,d.MatOptionModule,d.MatCommonModule]}),m}()},44841:(T,f,e)=>{function _(c,r){(null==r||r>c.length)&&(r=c.length);for(var u=0,a=new Array(r);u<r;u++)a[u]=c[u];return a}e.d(f,{Z:()=>_})},95106:(T,f,e)=>{e.d(f,{Z:()=>c});var _=e(44206);function c(r,u){var a=typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"];if(!a){if(Array.isArray(r)||(a=(0,_.Z)(r))||u&&r&&"number"==typeof r.length){a&&(r=a);var l=0,n=function(){};return{s:n,n:function(){return l>=r.length?{done:!0}:{done:!1,value:r[l++]}},e:function(g){throw g},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var b,d=!0,v=!1;return{s:function(){a=a.call(r)},n:function(){var g=a.next();return d=g.done,g},e:function(g){v=!0,b=g},f:function(){try{!d&&null!=a.return&&a.return()}finally{if(v)throw b}}}}},4089:(T,f,e)=>{e.d(f,{Z:()=>r});var _=e(20265);function r(){return r=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(a,l,n){var d=function c(u,a){for(;!Object.prototype.hasOwnProperty.call(u,a)&&null!==(u=(0,_.Z)(u)););return u}(a,l);if(d){var v=Object.getOwnPropertyDescriptor(d,l);return v.get?v.get.call(arguments.length<3?a:n):v.value}},r.apply(this,arguments)}},4826:(T,f,e)=>{function _(c){if(typeof Symbol<"u"&&null!=c[Symbol.iterator]||null!=c["@@iterator"])return Array.from(c)}e.d(f,{Z:()=>_})},86170:(T,f,e)=>{e.d(f,{Z:()=>l});var _=e(44841),r=e(4826),u=e(44206);function l(n){return function c(n){if(Array.isArray(n))return(0,_.Z)(n)}(n)||(0,r.Z)(n)||(0,u.Z)(n)||function a(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(T,f,e)=>{e.d(f,{Z:()=>c});var _=e(44841);function c(r,u){if(r){if("string"==typeof r)return(0,_.Z)(r,u);var a=Object.prototype.toString.call(r).slice(8,-1);if("Object"===a&&r.constructor&&(a=r.constructor.name),"Map"===a||"Set"===a)return Array.from(r);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return(0,_.Z)(r,u)}}}}]); +//# sourceMappingURL=2556.5668598d28607d35.js.map \ No newline at end of file diff --git a/2556.5668598d28607d35.js.map b/2556.5668598d28607d35.js.map new file mode 100644 index 0000000..d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BJ,EAAA+B,EAAA,CACtG","names":["concat","_len","arguments","length","args","Array","_key","concatAll","mergeAll","from","popScheduler","defer","observableFactory","Observable","subscriber","innerFrom","subscribe","EMPTY","complete","subscribeOn","scheduler","delay","undefined","operate","source","add","schedule","scheduleAsyncIterable","input","Error","executeSchedule","iterator","Symbol","asyncIterator","next","then","result","done","value","scheduled","isInteropObservable","scheduleObservable","pipe","observeOn","isArrayLike","scheduleArray","i","closed","this","isPromise","schedulePromise","isAsyncIterable","isIterable","scheduleIterable","Symbol_iterator","_iterator$next","err","error","isFunction","return","isReadableStreamLike","scheduleReadableStreamLike","readableStreamLikeToAsyncGenerator","createInvalidObservableTypeError","nodeEventEmitterMethods","eventTargetMethods","jqueryMethods","fromEvent","target","eventName","options","resultSelector","mapOneOrManyArgs","_ref","isEventTarget","addEventListener","removeEventListener","map","methodName","handler","isNodeStyleEventEmitter","addListener","removeListener","toCommonHandlerRegistry","isJQueryStyleEventEmitter","on","off","_ref2","_slicedToArray","remove","mergeMap","subTarget","TypeError","merge","concurrent","popNumber","Infinity","sources","of","createOperatorSubscriber","destination","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","_inherits","_super","_createSuper","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_this","_classCallCheck","call","_next","_get","_assertThisInitialized","_getPrototypeOf","prototype","_error","unsubscribe","_complete","_createClass","key","_a","Subscriber","delayWhen","delayDurationSelector","subscriptionDelay","take","ignoreElements","index","mapTo","due","duration","timer","asyncScheduler","filter","predicate","thisArg","noop","identity","startWith","values","switchMap","project","innerSubscriber","isComplete","checkComplete","innerIndex","outerIndex","innerValue","count","seen","tap","observerOrNext","tapObserver","isUnsub","_b","finalize","last","arr","popResultSelector","pop","isScheduler","defaultValue","hasLift","lift","init","liftedSource","isArray","fn","callOrApply","apply","_toConsumableArray","_c0","MatAutocomplete_ng_template_0_Template","rf","ctx","i0","formFieldId_r1","id","ctx_r0","_classList","isOpen","ariaLabel","_getPanelAriaLabelledby","_c1","panelAnimation","trigger","state","style","opacity","transform","transition","group","animate","_uniqueAutocompleteIdCounter","MatAutocompleteSelectedEvent","option","_MatAutocompleteMixinBase","mixinDisableRipple","_class","MAT_AUTOCOMPLETE_DEFAULT_OPTIONS","InjectionToken","providedIn","factory","MAT_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORY","autoActiveFirstOption","autoSelectActiveOption","hideSingleSelectionIndicator","_MatAutocompleteBase","_MatAutocompleteMixin","_changeDetectorRef","_elementRef","_defaults","platform","_activeOptionChanges","Subscription","showPanel","_isOpen","displayWith","optionSelected","EventEmitter","opened","optionActivated","inertGroups","SAFARI","_autoActiveFirstOption","_autoSelectActiveOption","get","_color","_setThemeClasses","set","coerceBooleanProperty","coerceStringArray","reduce","classList","className","_setVisibilityClasses","nativeElement","_this2","_keyManager","ActiveDescendantKeyManager","withWrap","skipPredicate","_skipPredicate","change","emit","toArray","_setVisibility","_this$_keyManager","destroy","scrollTop","panel","markForCheck","event","labelId","ariaLabelledby","_visibleClass","_hiddenClass","disabled","ɵfac","t","i1","ɵdir","type","viewQuery","_t","TemplateRef","template","first","inputs","panelWidth","outputs","features","MatAutocomplete","_MatAutocompleteBase2","_super2","_this3$_defaults$hide","_this3","_hideSingleSelectionIndicator","_syncParentProperties","_step","_iterator","_createForOfIteratorHelper","s","n","e","f","_option","ɵMatAutocomplete_BaseFactory","ɵcmp","selectors","contentQueries","dirIndex","MAT_OPTGROUP","MatOption","optionGroups","hostAttrs","disableRipple","exportAs","provide","MAT_OPTION_PARENT_COMPONENT","useExisting","ngContentSelectors","decls","vars","consts","dependencies","i2","styles","encapsulation","data","animation","changeDetection","_MatAutocompleteOriginBase","elementRef","MatAutocompleteOrigin","_MatAutocompleteOrigi","_super3","ɵMatAutocompleteOrigin_BaseFactory","MAT_AUTOCOMPLETE_VALUE_ACCESSOR","NG_VALUE_ACCESSOR","forwardRef","MatAutocompleteTrigger","multi","getMatAutocompleteMissingPanelError","MAT_AUTOCOMPLETE_SCROLL_STRATEGY","MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY","overlay","scrollStrategies","reposition","MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER","deps","Overlay","useFactory","_MatAutocompleteTriggerBase","_element","_overlay","_viewContainerRef","_zone","scrollStrategy","_dir","_formField","_document","_viewportRuler","_this4","_componentDestroyed","_autocompleteDisabled","_manuallyFloatingLabel","_viewportSubscription","_canOpenOnNextFocus","_closeKeyEventStream","Subject","_windowBlurHandler","activeElement","panelOpen","_onChange","_onTouched","position","autocompleteAttribute","_overlayAttached","optionSelections","autocomplete","changes","onSelectionChange","onStable","_scrollStrategy","_this5","window","_getWindow","runOutsideAngular","_positionStrategy","_setStrategyPositions","_overlayRef","updatePosition","_destroyPanel","_attachOverlay","_floatLabel","_this6","_resetLabel","run","_pendingAutoselectedOption","hasAttached","detach","_closingActionsSubscription","detectChanges","_this7","tabOut","_getOutsideClickStream","detachments","MatOptionSelectionChange","activeItem","_this8","clickTarget","_getEventTarget","formField","customOrigin","connectedTo","contains","overlayElement","_this9","Promise","resolve","_assignOptionValue","isDisabled","keyCode","hasModifier","hasModifierKey","ESCAPE","preventDefault","activeOption","ENTER","_selectViaInteraction","_resetActiveItem","prevActiveItem","isArrowKey","UP_ARROW","DOWN_ARROW","TAB","onKeydown","_canOpen","openPanel","_scrollToOption","activeItemIndex","_valueBeforeAutoSelection","parseFloat","_previousValue","floatLabel","_animateAndLockLabel","_this10","firstStable","optionChanges","reapplyLastPosition","wasOpen","panelClosingActions","_setValueAndClose","closePanel","dispose","toDisplay","_updateNativeInputValue","_control","toSelect","_clearPreviousSelectedOption","_emitSelectEvent","focus","skip","forEach","selected","deselect","_this$_formField2","_this$_formField","_this11","overlayRef","setOrigin","_getConnectedElement","updateSize","width","_getPanelWidth","_portal","TemplatePortal","getLabelId","create","_getOverlayConfig","_handleOverlayEvents","attach","_subscribeToClosingActions","_setColor","color","_this$_dir","_this$_defaults","OverlayConfig","positionStrategy","_getOverlayPosition","direction","panelClass","overlayPanelClass","strategy","flexibleConnectedTo","withFlexibleDimensions","withPush","positions","belowPositions","originX","originY","overlayX","overlayY","_aboveClass","abovePositions","withPositions","getConnectedOverlayOrigin","_getHostWidth","getBoundingClientRect","firstEnabledOptionIndex","setActiveItem","element","readOnly","_this$_document","defaultView","labelCount","_countGroupLabelsBeforeOption","_setScrollTop","_getHostElement","newScrollPosition","_getOptionScrollPosition","offsetTop","offsetHeight","_getScrollTop","_this12","keydownEvents","_this12$_valueBeforeA","stopPropagation","outsidePointerEvents","i1$1","i2$1","MAT_FORM_FIELD","DOCUMENT","i3","autocompleteDisabled","_MatAutocompleteTrigg","_super4","_this13","ɵMatAutocompleteTrigger_BaseFactory","hostVars","hostBindings","_handleFocus","$event","_handleInput","_handleKeydown","_handleClick","toString","MatAutocompleteModule","ɵmod","ɵinj","providers","imports","OverlayModule","MatOptionModule","MatCommonModule","CommonModule","CdkScrollableModule","_arrayLikeToArray","len","arr2","o","allowArrayLike","it","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","_e","normalCompletion","didErr","step","_e2","Reflect","bind","property","receiver","base","_superPropBase","object","Object","hasOwnProperty","getPrototypeOf","desc","getOwnPropertyDescriptor","_iterableToArray","iter","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","slice","constructor","name","test"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/observable/concat.js","./node_modules/rxjs/dist/esm/internal/operators/concatAll.js","./node_modules/rxjs/dist/esm/internal/observable/defer.js","./node_modules/rxjs/dist/esm/internal/observable/empty.js","./node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleAsyncIterable.js","./node_modules/rxjs/dist/esm/internal/observable/from.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduled.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleObservable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleArray.js","./node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleIterable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleReadableStreamLike.js","./node_modules/rxjs/dist/esm/internal/observable/fromEvent.js","./node_modules/rxjs/dist/esm/internal/observable/merge.js","./node_modules/rxjs/dist/esm/internal/observable/of.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/delayWhen.js","./node_modules/rxjs/dist/esm/internal/operators/delay.js","./node_modules/rxjs/dist/esm/internal/operators/filter.js","./node_modules/rxjs/dist/esm/internal/operators/ignoreElements.js","./node_modules/rxjs/dist/esm/internal/operators/mapTo.js","./node_modules/rxjs/dist/esm/internal/operators/mergeAll.js","./node_modules/rxjs/dist/esm/internal/operators/observeOn.js","./node_modules/rxjs/dist/esm/internal/operators/startWith.js","./node_modules/rxjs/dist/esm/internal/operators/switchMap.js","./node_modules/rxjs/dist/esm/internal/operators/take.js","./node_modules/rxjs/dist/esm/internal/operators/tap.js","./node_modules/rxjs/dist/esm/internal/util/args.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/rxjs/dist/esm/internal/util/mapOneOrManyArgs.js","./node_modules/@angular/material/fesm2022/autocomplete.mjs","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["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}\n","import { mergeAll } from './mergeAll';\nexport function concatAll() {\n return mergeAll(1);\n}\n","import { Observable } from '../Observable';\nimport { innerFrom } from './innerFrom';\nexport function defer(observableFactory) {\n return new Observable((subscriber) => {\n innerFrom(observableFactory()).subscribe(subscriber);\n });\n}\n","import { Observable } from '../Observable';\nexport const EMPTY = new Observable((subscriber) => subscriber.complete());\nexport function empty(scheduler) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n return new Observable((subscriber) => scheduler.schedule(() => subscriber.complete()));\n}\n","import { operate } from '../util/lift';\nexport function subscribeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay));\n });\n}\n","import { Observable } from '../Observable';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleAsyncIterable(input, scheduler) {\n if (!input) {\n throw new Error('Iterable cannot be null');\n }\n return new Observable((subscriber) => {\n executeSchedule(subscriber, scheduler, () => {\n const iterator = input[Symbol.asyncIterator]();\n executeSchedule(subscriber, scheduler, () => {\n iterator.next().then((result) => {\n if (result.done) {\n subscriber.complete();\n }\n else {\n subscriber.next(result.value);\n }\n });\n }, 0, true);\n });\n });\n}\n","import { scheduled } from '../scheduled/scheduled';\nimport { innerFrom } from './innerFrom';\nexport function from(input, scheduler) {\n return scheduler ? scheduled(input, scheduler) : innerFrom(input);\n}\n","import { scheduleObservable } from './scheduleObservable';\nimport { schedulePromise } from './schedulePromise';\nimport { scheduleArray } from './scheduleArray';\nimport { scheduleIterable } from './scheduleIterable';\nimport { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isPromise } from '../util/isPromise';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isIterable } from '../util/isIterable';\nimport { isAsyncIterable } from '../util/isAsyncIterable';\nimport { createInvalidObservableTypeError } from '../util/throwUnobservableError';\nimport { isReadableStreamLike } from '../util/isReadableStreamLike';\nimport { scheduleReadableStreamLike } from './scheduleReadableStreamLike';\nexport function scheduled(input, scheduler) {\n if (input != null) {\n if (isInteropObservable(input)) {\n return scheduleObservable(input, scheduler);\n }\n if (isArrayLike(input)) {\n return scheduleArray(input, scheduler);\n }\n if (isPromise(input)) {\n return schedulePromise(input, scheduler);\n }\n if (isAsyncIterable(input)) {\n return scheduleAsyncIterable(input, scheduler);\n }\n if (isIterable(input)) {\n return scheduleIterable(input, scheduler);\n }\n if (isReadableStreamLike(input)) {\n return scheduleReadableStreamLike(input, scheduler);\n }\n }\n throw createInvalidObservableTypeError(input);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function scheduleObservable(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nexport function scheduleArray(input, scheduler) {\n return new Observable((subscriber) => {\n let i = 0;\n return scheduler.schedule(function () {\n if (i === input.length) {\n subscriber.complete();\n }\n else {\n subscriber.next(input[i++]);\n if (!subscriber.closed) {\n this.schedule();\n }\n }\n });\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function schedulePromise(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from '../util/isFunction';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleIterable(input, scheduler) {\n return new Observable((subscriber) => {\n let iterator;\n executeSchedule(subscriber, scheduler, () => {\n iterator = input[Symbol_iterator]();\n executeSchedule(subscriber, scheduler, () => {\n let value;\n let done;\n try {\n ({ value, done } = iterator.next());\n }\n catch (err) {\n subscriber.error(err);\n return;\n }\n if (done) {\n subscriber.complete();\n }\n else {\n subscriber.next(value);\n }\n }, 0, true);\n });\n return () => isFunction(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return();\n });\n}\n","import { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { readableStreamLikeToAsyncGenerator } from '../util/isReadableStreamLike';\nexport function scheduleReadableStreamLike(input, scheduler) {\n return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { Observable } from '../Observable';\nimport { mergeMap } from '../operators/mergeMap';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isFunction } from '../util/isFunction';\nimport { mapOneOrManyArgs } from '../util/mapOneOrManyArgs';\nconst nodeEventEmitterMethods = ['addListener', 'removeListener'];\nconst eventTargetMethods = ['addEventListener', 'removeEventListener'];\nconst jqueryMethods = ['on', 'off'];\nexport function fromEvent(target, eventName, options, resultSelector) {\n if (isFunction(options)) {\n resultSelector = options;\n options = undefined;\n }\n if (resultSelector) {\n return fromEvent(target, eventName, options).pipe(mapOneOrManyArgs(resultSelector));\n }\n const [add, remove] = isEventTarget(target)\n ? eventTargetMethods.map((methodName) => (handler) => target[methodName](eventName, handler, options))\n :\n isNodeStyleEventEmitter(target)\n ? nodeEventEmitterMethods.map(toCommonHandlerRegistry(target, eventName))\n : isJQueryStyleEventEmitter(target)\n ? jqueryMethods.map(toCommonHandlerRegistry(target, eventName))\n : [];\n if (!add) {\n if (isArrayLike(target)) {\n return mergeMap((subTarget) => fromEvent(subTarget, eventName, options))(innerFrom(target));\n }\n }\n if (!add) {\n throw new TypeError('Invalid event target');\n }\n return new Observable((subscriber) => {\n const handler = (...args) => subscriber.next(1 < args.length ? args : args[0]);\n add(handler);\n return () => remove(handler);\n });\n}\nfunction toCommonHandlerRegistry(target, eventName) {\n return (methodName) => (handler) => target[methodName](eventName, handler);\n}\nfunction isNodeStyleEventEmitter(target) {\n return isFunction(target.addListener) && isFunction(target.removeListener);\n}\nfunction isJQueryStyleEventEmitter(target) {\n return isFunction(target.on) && isFunction(target.off);\n}\nfunction isEventTarget(target) {\n return isFunction(target.addEventListener) && isFunction(target.removeEventListener);\n}\n","import { mergeAll } from '../operators/mergeAll';\nimport { innerFrom } from './innerFrom';\nimport { EMPTY } from './empty';\nimport { popNumber, popScheduler } from '../util/args';\nimport { from } from './from';\nexport function merge(...args) {\n const scheduler = popScheduler(args);\n const concurrent = popNumber(args, Infinity);\n const sources = args;\n return !sources.length\n ?\n EMPTY\n : sources.length === 1\n ?\n innerFrom(sources[0])\n :\n mergeAll(concurrent)(from(sources, scheduler));\n}\n","import { popScheduler } from '../util/args';\nimport { from } from './from';\nexport function of(...args) {\n const scheduler = popScheduler(args);\n return from(args, scheduler);\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","import { concat } from '../observable/concat';\nimport { take } from './take';\nimport { ignoreElements } from './ignoreElements';\nimport { mapTo } from './mapTo';\nimport { mergeMap } from './mergeMap';\nexport function delayWhen(delayDurationSelector, subscriptionDelay) {\n if (subscriptionDelay) {\n return (source) => concat(subscriptionDelay.pipe(take(1), ignoreElements()), source.pipe(delayWhen(delayDurationSelector)));\n }\n return mergeMap((value, index) => delayDurationSelector(value, index).pipe(take(1), mapTo(value)));\n}\n","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}\n","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}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { noop } from '../util/noop';\nexport function ignoreElements() {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, noop));\n });\n}\n","import { map } from './map';\nexport function mapTo(value) {\n return map(() => value);\n}\n","import { mergeMap } from './mergeMap';\nimport { identity } from '../util/identity';\nexport function mergeAll(concurrent = Infinity) {\n return mergeMap(identity, concurrent);\n}\n","import { executeSchedule } from '../util/executeSchedule';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function observeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, (value) => executeSchedule(subscriber, scheduler, () => subscriber.next(value), delay), () => executeSchedule(subscriber, scheduler, () => subscriber.complete(), delay), (err) => executeSchedule(subscriber, scheduler, () => subscriber.error(err), delay)));\n });\n}\n","import { concat } from '../observable/concat';\nimport { popScheduler } from '../util/args';\nimport { operate } from '../util/lift';\nexport function startWith(...values) {\n const scheduler = popScheduler(values);\n return operate((source, subscriber) => {\n (scheduler ? concat(values, source, scheduler) : concat(values, source)).subscribe(subscriber);\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function switchMap(project, resultSelector) {\n return operate((source, subscriber) => {\n let innerSubscriber = null;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => isComplete && !innerSubscriber && subscriber.complete();\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n innerSubscriber === null || innerSubscriber === void 0 ? void 0 : innerSubscriber.unsubscribe();\n let innerIndex = 0;\n const outerIndex = index++;\n innerFrom(project(value, outerIndex)).subscribe((innerSubscriber = createOperatorSubscriber(subscriber, (innerValue) => subscriber.next(resultSelector ? resultSelector(value, innerValue, outerIndex, innerIndex++) : innerValue), () => {\n innerSubscriber = null;\n checkComplete();\n })));\n }, () => {\n isComplete = true;\n checkComplete();\n }));\n });\n}\n","import { EMPTY } from '../observable/empty';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function take(count) {\n return count <= 0\n ?\n () => EMPTY\n : operate((source, subscriber) => {\n let seen = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n if (++seen <= count) {\n subscriber.next(value);\n if (count <= seen) {\n subscriber.complete();\n }\n }\n }));\n });\n}\n","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 ?\n { next: observerOrNext, error, complete }\n : observerOrNext;\n return tapObserver\n ? operate((source, subscriber) => {\n var _a;\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 (_a = tapObserver.next) === null || _a === void 0 ? void 0 : _a.call(tapObserver, value);\n subscriber.next(value);\n }, () => {\n var _a;\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 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 if (isUnsub) {\n (_a = tapObserver.unsubscribe) === null || _a === void 0 ? void 0 : _a.call(tapObserver);\n }\n (_b = tapObserver.finalize) === null || _b === void 0 ? void 0 : _b.call(tapObserver);\n }));\n })\n :\n identity;\n}\n","import { isFunction } from './isFunction';\nimport { isScheduler } from './isScheduler';\nfunction last(arr) {\n return arr[arr.length - 1];\n}\nexport function popResultSelector(args) {\n return isFunction(last(args)) ? args.pop() : undefined;\n}\nexport function popScheduler(args) {\n return isScheduler(last(args)) ? args.pop() : undefined;\n}\nexport function popNumber(args, defaultValue) {\n return typeof last(args) === 'number' ? args.pop() : defaultValue;\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","import { map } from \"../operators/map\";\nconst { isArray } = Array;\nfunction callOrApply(fn, args) {\n return isArray(args) ? fn(...args) : fn(args);\n}\nexport function mapOneOrManyArgs(fn) {\n return map(args => callOrApply(fn, args));\n}\n","import * as i0 from '@angular/core';\nimport { InjectionToken, EventEmitter, TemplateRef, Directive, Inject, ViewChild, Input, Output, Component, ViewEncapsulation, ChangeDetectionStrategy, ContentChildren, forwardRef, Optional, Host, NgModule } from '@angular/core';\nimport { mixinDisableRipple, MAT_OPTION_PARENT_COMPONENT, MAT_OPTGROUP, MatOption, MatOptionSelectionChange, _countGroupLabelsBeforeOption, _getOptionScrollPosition, MatOptionModule, MatCommonModule } from '@angular/material/core';\nimport * as i2 from '@angular/common';\nimport { DOCUMENT, CommonModule } from '@angular/common';\nimport * as i3 from '@angular/cdk/scrolling';\nimport { CdkScrollableModule } from '@angular/cdk/scrolling';\nimport * as i1$1 from '@angular/cdk/overlay';\nimport { Overlay, OverlayConfig, OverlayModule } from '@angular/cdk/overlay';\nimport { ActiveDescendantKeyManager } from '@angular/cdk/a11y';\nimport { coerceBooleanProperty, coerceStringArray } from '@angular/cdk/coercion';\nimport * as i1 from '@angular/cdk/platform';\nimport { _getEventTarget } from '@angular/cdk/platform';\nimport { trigger, state, style, transition, group, animate } from '@angular/animations';\nimport { Subscription, Subject, defer, merge, of, fromEvent } from 'rxjs';\nimport { hasModifierKey, ESCAPE, ENTER, UP_ARROW, DOWN_ARROW, TAB } from '@angular/cdk/keycodes';\nimport { TemplatePortal } from '@angular/cdk/portal';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport * as i4 from '@angular/material/form-field';\nimport { MAT_FORM_FIELD } from '@angular/material/form-field';\nimport { startWith, switchMap, take, filter, map, tap, delay } from 'rxjs/operators';\nimport * as i2$1 from '@angular/cdk/bidi';\n\n// Animation values come from\n// https://github.com/material-components/material-components-web/blob/master/packages/mdc-menu-surface/_mixins.scss\n// TODO(mmalerba): Ideally find a way to import the values from MDC's code.\nconst panelAnimation = trigger('panelAnimation', [\n state('void, hidden', style({\n opacity: 0,\n transform: 'scaleY(0.8)',\n })),\n transition(':enter, hidden => visible', [\n group([\n animate('0.03s linear', style({ opacity: 1 })),\n animate('0.12s cubic-bezier(0, 0, 0.2, 1)', style({ transform: 'scaleY(1)' })),\n ]),\n ]),\n transition(':leave, visible => hidden', [animate('0.075s linear', style({ opacity: 0 }))]),\n]);\n\n/**\n * Autocomplete IDs need to be unique across components, so this counter exists outside of\n * the component definition.\n */\nlet _uniqueAutocompleteIdCounter = 0;\n/** Event object that is emitted when an autocomplete option is selected. */\nclass MatAutocompleteSelectedEvent {\n constructor(\n /** Reference to the autocomplete panel that emitted the event. */\n source, \n /** Option that was selected. */\n option) {\n this.source = source;\n this.option = option;\n }\n}\n// Boilerplate for applying mixins to MatAutocomplete.\n/** @docs-private */\nconst _MatAutocompleteMixinBase = mixinDisableRipple(class {\n});\n/** Injection token to be used to override the default options for `mat-autocomplete`. */\nconst MAT_AUTOCOMPLETE_DEFAULT_OPTIONS = new InjectionToken('mat-autocomplete-default-options', {\n providedIn: 'root',\n factory: MAT_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORY,\n});\n/** @docs-private */\nfunction MAT_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORY() {\n return {\n autoActiveFirstOption: false,\n autoSelectActiveOption: false,\n hideSingleSelectionIndicator: false,\n };\n}\n/** Base class with all of the `MatAutocomplete` functionality. */\nclass _MatAutocompleteBase extends _MatAutocompleteMixinBase {\n /** Whether the autocomplete panel is open. */\n get isOpen() {\n return this._isOpen && this.showPanel;\n }\n /** @docs-private Sets the theme color of the panel. */\n _setColor(value) {\n this._color = value;\n this._setThemeClasses(this._classList);\n }\n /**\n * Whether the first option should be highlighted when the autocomplete panel is opened.\n * Can be configured globally through the `MAT_AUTOCOMPLETE_DEFAULT_OPTIONS` token.\n */\n get autoActiveFirstOption() {\n return this._autoActiveFirstOption;\n }\n set autoActiveFirstOption(value) {\n this._autoActiveFirstOption = coerceBooleanProperty(value);\n }\n /** Whether the active option should be selected as the user is navigating. */\n get autoSelectActiveOption() {\n return this._autoSelectActiveOption;\n }\n set autoSelectActiveOption(value) {\n this._autoSelectActiveOption = coerceBooleanProperty(value);\n }\n /**\n * Takes classes set on the host mat-autocomplete element and applies them to the panel\n * inside the overlay container to allow for easy styling.\n */\n set classList(value) {\n if (value && value.length) {\n this._classList = coerceStringArray(value).reduce((classList, className) => {\n classList[className] = true;\n return classList;\n }, {});\n }\n else {\n this._classList = {};\n }\n this._setVisibilityClasses(this._classList);\n this._setThemeClasses(this._classList);\n this._elementRef.nativeElement.className = '';\n }\n constructor(_changeDetectorRef, _elementRef, _defaults, platform) {\n super();\n this._changeDetectorRef = _changeDetectorRef;\n this._elementRef = _elementRef;\n this._defaults = _defaults;\n this._activeOptionChanges = Subscription.EMPTY;\n /** Whether the autocomplete panel should be visible, depending on option length. */\n this.showPanel = false;\n this._isOpen = false;\n /** Function that maps an option's control value to its display value in the trigger. */\n this.displayWith = null;\n /** Event that is emitted whenever an option from the list is selected. */\n this.optionSelected = new EventEmitter();\n /** Event that is emitted when the autocomplete panel is opened. */\n this.opened = new EventEmitter();\n /** Event that is emitted when the autocomplete panel is closed. */\n this.closed = new EventEmitter();\n /** Emits whenever an option is activated. */\n this.optionActivated = new EventEmitter();\n this._classList = {};\n /** Unique ID to be used by autocomplete trigger's \"aria-owns\" property. */\n this.id = `mat-autocomplete-${_uniqueAutocompleteIdCounter++}`;\n // TODO(crisbeto): the problem that the `inertGroups` option resolves is only present on\n // Safari using VoiceOver. We should occasionally check back to see whether the bug\n // wasn't resolved in VoiceOver, and if it has, we can remove this and the `inertGroups`\n // option altogether.\n this.inertGroups = platform?.SAFARI || false;\n this._autoActiveFirstOption = !!_defaults.autoActiveFirstOption;\n this._autoSelectActiveOption = !!_defaults.autoSelectActiveOption;\n }\n ngAfterContentInit() {\n this._keyManager = new ActiveDescendantKeyManager(this.options)\n .withWrap()\n .skipPredicate(this._skipPredicate);\n this._activeOptionChanges = this._keyManager.change.subscribe(index => {\n if (this.isOpen) {\n this.optionActivated.emit({ source: this, option: this.options.toArray()[index] || null });\n }\n });\n // Set the initial visibility state.\n this._setVisibility();\n }\n ngOnDestroy() {\n this._keyManager?.destroy();\n this._activeOptionChanges.unsubscribe();\n }\n /**\n * Sets the panel scrollTop. This allows us to manually scroll to display options\n * above or below the fold, as they are not actually being focused when active.\n */\n _setScrollTop(scrollTop) {\n if (this.panel) {\n this.panel.nativeElement.scrollTop = scrollTop;\n }\n }\n /** Returns the panel's scrollTop. */\n _getScrollTop() {\n return this.panel ? this.panel.nativeElement.scrollTop : 0;\n }\n /** Panel should hide itself when the option list is empty. */\n _setVisibility() {\n this.showPanel = !!this.options.length;\n this._setVisibilityClasses(this._classList);\n this._changeDetectorRef.markForCheck();\n }\n /** Emits the `select` event. */\n _emitSelectEvent(option) {\n const event = new MatAutocompleteSelectedEvent(this, option);\n this.optionSelected.emit(event);\n }\n /** Gets the aria-labelledby for the autocomplete panel. */\n _getPanelAriaLabelledby(labelId) {\n if (this.ariaLabel) {\n return null;\n }\n const labelExpression = labelId ? labelId + ' ' : '';\n return this.ariaLabelledby ? labelExpression + this.ariaLabelledby : labelId;\n }\n /** Sets the autocomplete visibility classes on a classlist based on the panel is visible. */\n _setVisibilityClasses(classList) {\n classList[this._visibleClass] = this.showPanel;\n classList[this._hiddenClass] = !this.showPanel;\n }\n /** Sets the theming classes on a classlist based on the theme of the panel. */\n _setThemeClasses(classList) {\n classList['mat-primary'] = this._color === 'primary';\n classList['mat-warn'] = this._color === 'warn';\n classList['mat-accent'] = this._color === 'accent';\n }\n _skipPredicate(option) {\n return option.disabled;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatAutocompleteBase, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: MAT_AUTOCOMPLETE_DEFAULT_OPTIONS }, { token: i1.Platform }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: _MatAutocompleteBase, inputs: { ariaLabel: [\"aria-label\", \"ariaLabel\"], ariaLabelledby: [\"aria-labelledby\", \"ariaLabelledby\"], displayWith: \"displayWith\", autoActiveFirstOption: \"autoActiveFirstOption\", autoSelectActiveOption: \"autoSelectActiveOption\", panelWidth: \"panelWidth\", classList: [\"class\", \"classList\"] }, outputs: { optionSelected: \"optionSelected\", opened: \"opened\", closed: \"closed\", optionActivated: \"optionActivated\" }, viewQueries: [{ propertyName: \"template\", first: true, predicate: TemplateRef, descendants: true, static: true }, { propertyName: \"panel\", first: true, predicate: [\"panel\"], descendants: true }], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatAutocompleteBase, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: undefined, decorators: [{\n type: Inject,\n args: [MAT_AUTOCOMPLETE_DEFAULT_OPTIONS]\n }] }, { type: i1.Platform }]; }, propDecorators: { template: [{\n type: ViewChild,\n args: [TemplateRef, { static: true }]\n }], panel: [{\n type: ViewChild,\n args: ['panel']\n }], ariaLabel: [{\n type: Input,\n args: ['aria-label']\n }], ariaLabelledby: [{\n type: Input,\n args: ['aria-labelledby']\n }], displayWith: [{\n type: Input\n }], autoActiveFirstOption: [{\n type: Input\n }], autoSelectActiveOption: [{\n type: Input\n }], panelWidth: [{\n type: Input\n }], optionSelected: [{\n type: Output\n }], opened: [{\n type: Output\n }], closed: [{\n type: Output\n }], optionActivated: [{\n type: Output\n }], classList: [{\n type: Input,\n args: ['class']\n }] } });\nclass MatAutocomplete extends _MatAutocompleteBase {\n constructor() {\n super(...arguments);\n this._visibleClass = 'mat-mdc-autocomplete-visible';\n this._hiddenClass = 'mat-mdc-autocomplete-hidden';\n this._hideSingleSelectionIndicator = this._defaults.hideSingleSelectionIndicator ?? false;\n }\n /** Whether checkmark indicator for single-selection options is hidden. */\n get hideSingleSelectionIndicator() {\n return this._hideSingleSelectionIndicator;\n }\n set hideSingleSelectionIndicator(value) {\n this._hideSingleSelectionIndicator = coerceBooleanProperty(value);\n this._syncParentProperties();\n }\n /** Syncs the parent state with the individual options. */\n _syncParentProperties() {\n if (this.options) {\n for (const option of this.options) {\n option._changeDetectorRef.markForCheck();\n }\n }\n }\n // `skipPredicate` determines if key manager should avoid putting a given option in the tab\n // order. Allow disabled list items to receive focus via keyboard to align with WAI ARIA\n // recommendation.\n //\n // Normally WAI ARIA's instructions are to exclude disabled items from the tab order, but it\n // makes a few exceptions for compound widgets.\n //\n // From [Developing a Keyboard Interface](\n // https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/):\n // \"For the following composite widget elements, keep them focusable when disabled: Options in a\n // Listbox...\"\n //\n // The user can focus disabled options using the keyboard, but the user cannot click disabled\n // options.\n _skipPredicate(_option) {\n return false;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatAutocomplete, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatAutocomplete, selector: \"mat-autocomplete\", inputs: { disableRipple: \"disableRipple\", hideSingleSelectionIndicator: \"hideSingleSelectionIndicator\" }, host: { attributes: { \"ngSkipHydration\": \"\" }, classAttribute: \"mat-mdc-autocomplete\" }, providers: [{ provide: MAT_OPTION_PARENT_COMPONENT, useExisting: MatAutocomplete }], queries: [{ propertyName: \"optionGroups\", predicate: MAT_OPTGROUP, descendants: true }, { propertyName: \"options\", predicate: MatOption, descendants: true }], exportAs: [\"matAutocomplete\"], usesInheritance: true, ngImport: i0, template: \"<ng-template let-formFieldId=\\\"id\\\">\\n <div\\n class=\\\"mat-mdc-autocomplete-panel mdc-menu-surface mdc-menu-surface--open\\\"\\n role=\\\"listbox\\\"\\n [id]=\\\"id\\\"\\n [ngClass]=\\\"_classList\\\"\\n [attr.aria-label]=\\\"ariaLabel || null\\\"\\n [attr.aria-labelledby]=\\\"_getPanelAriaLabelledby(formFieldId)\\\"\\n [@panelAnimation]=\\\"isOpen ? 'visible' : 'hidden'\\\"\\n #panel>\\n <ng-content></ng-content>\\n </div>\\n</ng-template>\\n\", styles: [\".mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mdc-menu-surface{max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px)}.mdc-menu-surface.mat-mdc-autocomplete-panel{width:100%;max-height:256px;position:static;visibility:hidden;transform-origin:center top;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-autocomplete-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) .mdc-menu-surface.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above .mdc-menu-surface.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}.mdc-menu-surface.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}.mdc-menu-surface.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden}mat-autocomplete{display:none}\"], dependencies: [{ kind: \"directive\", type: i2.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }], animations: [panelAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatAutocomplete, decorators: [{\n type: Component,\n args: [{ selector: 'mat-autocomplete', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, exportAs: 'matAutocomplete', inputs: ['disableRipple'], host: {\n 'class': 'mat-mdc-autocomplete',\n 'ngSkipHydration': '',\n }, providers: [{ provide: MAT_OPTION_PARENT_COMPONENT, useExisting: MatAutocomplete }], animations: [panelAnimation], template: \"<ng-template let-formFieldId=\\\"id\\\">\\n <div\\n class=\\\"mat-mdc-autocomplete-panel mdc-menu-surface mdc-menu-surface--open\\\"\\n role=\\\"listbox\\\"\\n [id]=\\\"id\\\"\\n [ngClass]=\\\"_classList\\\"\\n [attr.aria-label]=\\\"ariaLabel || null\\\"\\n [attr.aria-labelledby]=\\\"_getPanelAriaLabelledby(formFieldId)\\\"\\n [@panelAnimation]=\\\"isOpen ? 'visible' : 'hidden'\\\"\\n #panel>\\n <ng-content></ng-content>\\n </div>\\n</ng-template>\\n\", styles: [\".mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mdc-menu-surface{max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px)}.mdc-menu-surface.mat-mdc-autocomplete-panel{width:100%;max-height:256px;position:static;visibility:hidden;transform-origin:center top;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-autocomplete-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) .mdc-menu-surface.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above .mdc-menu-surface.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}.mdc-menu-surface.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}.mdc-menu-surface.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden}mat-autocomplete{display:none}\"] }]\n }], propDecorators: { optionGroups: [{\n type: ContentChildren,\n args: [MAT_OPTGROUP, { descendants: true }]\n }], options: [{\n type: ContentChildren,\n args: [MatOption, { descendants: true }]\n }], hideSingleSelectionIndicator: [{\n type: Input\n }] } });\n\n/** Base class containing all of the functionality for `MatAutocompleteOrigin`. */\nclass _MatAutocompleteOriginBase {\n constructor(\n /** Reference to the element on which the directive is applied. */\n elementRef) {\n this.elementRef = elementRef;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatAutocompleteOriginBase, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: _MatAutocompleteOriginBase, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatAutocompleteOriginBase, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });\n/**\n * Directive applied to an element to make it usable\n * as a connection point for an autocomplete panel.\n */\nclass MatAutocompleteOrigin extends _MatAutocompleteOriginBase {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatAutocompleteOrigin, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatAutocompleteOrigin, selector: \"[matAutocompleteOrigin]\", exportAs: [\"matAutocompleteOrigin\"], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatAutocompleteOrigin, decorators: [{\n type: Directive,\n args: [{\n selector: '[matAutocompleteOrigin]',\n exportAs: 'matAutocompleteOrigin',\n }]\n }] });\n\n/**\n * Provider that allows the autocomplete to register as a ControlValueAccessor.\n * @docs-private\n */\nconst MAT_AUTOCOMPLETE_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => MatAutocompleteTrigger),\n multi: true,\n};\n/**\n * Creates an error to be thrown when attempting to use an autocomplete trigger without a panel.\n * @docs-private\n */\nfunction getMatAutocompleteMissingPanelError() {\n return Error('Attempting to open an undefined instance of `mat-autocomplete`. ' +\n 'Make sure that the id passed to the `matAutocomplete` is correct and that ' +\n \"you're attempting to open it after the ngAfterContentInit hook.\");\n}\n/** Injection token that determines the scroll handling while the autocomplete panel is open. */\nconst MAT_AUTOCOMPLETE_SCROLL_STRATEGY = new InjectionToken('mat-autocomplete-scroll-strategy');\n/** @docs-private */\nfunction MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY(overlay) {\n return () => overlay.scrollStrategies.reposition();\n}\n/** @docs-private */\nconst MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER = {\n provide: MAT_AUTOCOMPLETE_SCROLL_STRATEGY,\n deps: [Overlay],\n useFactory: MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY,\n};\n/** Base class with all of the `MatAutocompleteTrigger` functionality. */\nclass _MatAutocompleteTriggerBase {\n /**\n * Whether the autocomplete is disabled. When disabled, the element will\n * act as a regular input and the user won't be able to open the panel.\n */\n get autocompleteDisabled() {\n return this._autocompleteDisabled;\n }\n set autocompleteDisabled(value) {\n this._autocompleteDisabled = coerceBooleanProperty(value);\n }\n constructor(_element, _overlay, _viewContainerRef, _zone, _changeDetectorRef, scrollStrategy, _dir, _formField, _document, _viewportRuler, _defaults) {\n this._element = _element;\n this._overlay = _overlay;\n this._viewContainerRef = _viewContainerRef;\n this._zone = _zone;\n this._changeDetectorRef = _changeDetectorRef;\n this._dir = _dir;\n this._formField = _formField;\n this._document = _document;\n this._viewportRuler = _viewportRuler;\n this._defaults = _defaults;\n this._componentDestroyed = false;\n this._autocompleteDisabled = false;\n /** Whether or not the label state is being overridden. */\n this._manuallyFloatingLabel = false;\n /** Subscription to viewport size changes. */\n this._viewportSubscription = Subscription.EMPTY;\n /**\n * Whether the autocomplete can open the next time it is focused. Used to prevent a focused,\n * closed autocomplete from being reopened if the user switches to another browser tab and then\n * comes back.\n */\n this._canOpenOnNextFocus = true;\n /** Stream of keyboard events that can close the panel. */\n this._closeKeyEventStream = new Subject();\n /**\n * Event handler for when the window is blurred. Needs to be an\n * arrow function in order to preserve the context.\n */\n this._windowBlurHandler = () => {\n // If the user blurred the window while the autocomplete is focused, it means that it'll be\n // refocused when they come back. In this case we want to skip the first focus event, if the\n // pane was closed, in order to avoid reopening it unintentionally.\n this._canOpenOnNextFocus =\n this._document.activeElement !== this._element.nativeElement || this.panelOpen;\n };\n /** `View -> model callback called when value changes` */\n this._onChange = () => { };\n /** `View -> model callback called when autocomplete has been touched` */\n this._onTouched = () => { };\n /**\n * Position of the autocomplete panel relative to the trigger element. A position of `auto`\n * will render the panel underneath the trigger if there is enough space for it to fit in\n * the viewport, otherwise the panel will be shown above it. If the position is set to\n * `above` or `below`, the panel will always be shown above or below the trigger. no matter\n * whether it fits completely in the viewport.\n */\n this.position = 'auto';\n /**\n * `autocomplete` attribute to be set on the input element.\n * @docs-private\n */\n this.autocompleteAttribute = 'off';\n this._overlayAttached = false;\n /** Stream of changes to the selection state of the autocomplete options. */\n this.optionSelections = defer(() => {\n const options = this.autocomplete ? this.autocomplete.options : null;\n if (options) {\n return options.changes.pipe(startWith(options), switchMap(() => merge(...options.map(option => option.onSelectionChange))));\n }\n // If there are any subscribers before `ngAfterViewInit`, the `autocomplete` will be undefined.\n // Return a stream that we'll replace with the real one once everything is in place.\n return this._zone.onStable.pipe(take(1), switchMap(() => this.optionSelections));\n });\n this._scrollStrategy = scrollStrategy;\n }\n ngAfterViewInit() {\n const window = this._getWindow();\n if (typeof window !== 'undefined') {\n this._zone.runOutsideAngular(() => window.addEventListener('blur', this._windowBlurHandler));\n }\n }\n ngOnChanges(changes) {\n if (changes['position'] && this._positionStrategy) {\n this._setStrategyPositions(this._positionStrategy);\n if (this.panelOpen) {\n this._overlayRef.updatePosition();\n }\n }\n }\n ngOnDestroy() {\n const window = this._getWindow();\n if (typeof window !== 'undefined') {\n window.removeEventListener('blur', this._windowBlurHandler);\n }\n this._viewportSubscription.unsubscribe();\n this._componentDestroyed = true;\n this._destroyPanel();\n this._closeKeyEventStream.complete();\n }\n /** Whether or not the autocomplete panel is open. */\n get panelOpen() {\n return this._overlayAttached && this.autocomplete.showPanel;\n }\n /** Opens the autocomplete suggestion panel. */\n openPanel() {\n this._attachOverlay();\n this._floatLabel();\n }\n /** Closes the autocomplete suggestion panel. */\n closePanel() {\n this._resetLabel();\n if (!this._overlayAttached) {\n return;\n }\n if (this.panelOpen) {\n // Only emit if the panel was visible.\n // The `NgZone.onStable` always emits outside of the Angular zone,\n // so all the subscriptions from `_subscribeToClosingActions()` are also outside of the Angular zone.\n // We should manually run in Angular zone to update UI after panel closing.\n this._zone.run(() => {\n this.autocomplete.closed.emit();\n });\n }\n this.autocomplete._isOpen = this._overlayAttached = false;\n this._pendingAutoselectedOption = null;\n if (this._overlayRef && this._overlayRef.hasAttached()) {\n this._overlayRef.detach();\n this._closingActionsSubscription.unsubscribe();\n }\n // Note that in some cases this can end up being called after the component is destroyed.\n // Add a check to ensure that we don't try to run change detection on a destroyed view.\n if (!this._componentDestroyed) {\n // We need to trigger change detection manually, because\n // `fromEvent` doesn't seem to do it at the proper time.\n // This ensures that the label is reset when the\n // user clicks outside.\n this._changeDetectorRef.detectChanges();\n }\n }\n /**\n * Updates the position of the autocomplete suggestion panel to ensure that it fits all options\n * within the viewport.\n */\n updatePosition() {\n if (this._overlayAttached) {\n this._overlayRef.updatePosition();\n }\n }\n /**\n * A stream of actions that should close the autocomplete panel, including\n * when an option is selected, on blur, and when TAB is pressed.\n */\n get panelClosingActions() {\n return merge(this.optionSelections, this.autocomplete._keyManager.tabOut.pipe(filter(() => this._overlayAttached)), this._closeKeyEventStream, this._getOutsideClickStream(), this._overlayRef\n ? this._overlayRef.detachments().pipe(filter(() => this._overlayAttached))\n : of()).pipe(\n // Normalize the output so we return a consistent type.\n map(event => (event instanceof MatOptionSelectionChange ? event : null)));\n }\n /** The currently active option, coerced to MatOption type. */\n get activeOption() {\n if (this.autocomplete && this.autocomplete._keyManager) {\n return this.autocomplete._keyManager.activeItem;\n }\n return null;\n }\n /** Stream of clicks outside of the autocomplete panel. */\n _getOutsideClickStream() {\n return merge(fromEvent(this._document, 'click'), fromEvent(this._document, 'auxclick'), fromEvent(this._document, 'touchend')).pipe(filter(event => {\n // If we're in the Shadow DOM, the event target will be the shadow root, so we have to\n // fall back to check the first element in the path of the click event.\n const clickTarget = _getEventTarget(event);\n const formField = this._formField ? this._formField._elementRef.nativeElement : null;\n const customOrigin = this.connectedTo ? this.connectedTo.elementRef.nativeElement : null;\n return (this._overlayAttached &&\n clickTarget !== this._element.nativeElement &&\n // Normally focus moves inside `mousedown` so this condition will almost always be\n // true. Its main purpose is to handle the case where the input is focused from an\n // outside click which propagates up to the `body` listener within the same sequence\n // and causes the panel to close immediately (see #3106).\n this._document.activeElement !== this._element.nativeElement &&\n (!formField || !formField.contains(clickTarget)) &&\n (!customOrigin || !customOrigin.contains(clickTarget)) &&\n !!this._overlayRef &&\n !this._overlayRef.overlayElement.contains(clickTarget));\n }));\n }\n // Implemented as part of ControlValueAccessor.\n writeValue(value) {\n Promise.resolve(null).then(() => this._assignOptionValue(value));\n }\n // Implemented as part of ControlValueAccessor.\n registerOnChange(fn) {\n this._onChange = fn;\n }\n // Implemented as part of ControlValueAccessor.\n registerOnTouched(fn) {\n this._onTouched = fn;\n }\n // Implemented as part of ControlValueAccessor.\n setDisabledState(isDisabled) {\n this._element.nativeElement.disabled = isDisabled;\n }\n _handleKeydown(event) {\n const keyCode = event.keyCode;\n const hasModifier = hasModifierKey(event);\n // Prevent the default action on all escape key presses. This is here primarily to bring IE\n // in line with other browsers. By default, pressing escape on IE will cause it to revert\n // the input value to the one that it had on focus, however it won't dispatch any events\n // which means that the model value will be out of sync with the view.\n if (keyCode === ESCAPE && !hasModifier) {\n event.preventDefault();\n }\n if (this.activeOption && keyCode === ENTER && this.panelOpen && !hasModifier) {\n this.activeOption._selectViaInteraction();\n this._resetActiveItem();\n event.preventDefault();\n }\n else if (this.autocomplete) {\n const prevActiveItem = this.autocomplete._keyManager.activeItem;\n const isArrowKey = keyCode === UP_ARROW || keyCode === DOWN_ARROW;\n if (keyCode === TAB || (isArrowKey && !hasModifier && this.panelOpen)) {\n this.autocomplete._keyManager.onKeydown(event);\n }\n else if (isArrowKey && this._canOpen()) {\n this.openPanel();\n }\n if (isArrowKey || this.autocomplete._keyManager.activeItem !== prevActiveItem) {\n this._scrollToOption(this.autocomplete._keyManager.activeItemIndex || 0);\n if (this.autocomplete.autoSelectActiveOption && this.activeOption) {\n if (!this._pendingAutoselectedOption) {\n this._valueBeforeAutoSelection = this._element.nativeElement.value;\n }\n this._pendingAutoselectedOption = this.activeOption;\n this._assignOptionValue(this.activeOption.value);\n }\n }\n }\n }\n _handleInput(event) {\n let target = event.target;\n let value = target.value;\n // Based on `NumberValueAccessor` from forms.\n if (target.type === 'number') {\n value = value == '' ? null : parseFloat(value);\n }\n // If the input has a placeholder, IE will fire the `input` event on page load,\n // focus and blur, in addition to when the user actually changed the value. To\n // filter out all of the extra events, we save the value on focus and between\n // `input` events, and we check whether it changed.\n // See: https://connect.microsoft.com/IE/feedback/details/885747/\n if (this._previousValue !== value) {\n this._previousValue = value;\n this._pendingAutoselectedOption = null;\n this._onChange(value);\n if (this._canOpen() && this._document.activeElement === event.target) {\n this.openPanel();\n }\n }\n }\n _handleFocus() {\n if (!this._canOpenOnNextFocus) {\n this._canOpenOnNextFocus = true;\n }\n else if (this._canOpen()) {\n this._previousValue = this._element.nativeElement.value;\n this._attachOverlay();\n this._floatLabel(true);\n }\n }\n _handleClick() {\n if (this._canOpen() && !this.panelOpen) {\n this.openPanel();\n }\n }\n /**\n * In \"auto\" mode, the label will animate down as soon as focus is lost.\n * This causes the value to jump when selecting an option with the mouse.\n * This method manually floats the label until the panel can be closed.\n * @param shouldAnimate Whether the label should be animated when it is floated.\n */\n _floatLabel(shouldAnimate = false) {\n if (this._formField && this._formField.floatLabel === 'auto') {\n if (shouldAnimate) {\n this._formField._animateAndLockLabel();\n }\n else {\n this._formField.floatLabel = 'always';\n }\n this._manuallyFloatingLabel = true;\n }\n }\n /** If the label has been manually elevated, return it to its normal state. */\n _resetLabel() {\n if (this._manuallyFloatingLabel) {\n if (this._formField) {\n this._formField.floatLabel = 'auto';\n }\n this._manuallyFloatingLabel = false;\n }\n }\n /**\n * This method listens to a stream of panel closing actions and resets the\n * stream every time the option list changes.\n */\n _subscribeToClosingActions() {\n const firstStable = this._zone.onStable.pipe(take(1));\n const optionChanges = this.autocomplete.options.changes.pipe(tap(() => this._positionStrategy.reapplyLastPosition()), \n // Defer emitting to the stream until the next tick, because changing\n // bindings in here will cause \"changed after checked\" errors.\n delay(0));\n // When the zone is stable initially, and when the option list changes...\n return (merge(firstStable, optionChanges)\n .pipe(\n // create a new stream of panelClosingActions, replacing any previous streams\n // that were created, and flatten it so our stream only emits closing events...\n switchMap(() => {\n // The `NgZone.onStable` always emits outside of the Angular zone, thus we have to re-enter\n // the Angular zone. This will lead to change detection being called outside of the Angular\n // zone and the `autocomplete.opened` will also emit outside of the Angular.\n this._zone.run(() => {\n const wasOpen = this.panelOpen;\n this._resetActiveItem();\n this.autocomplete._setVisibility();\n this._changeDetectorRef.detectChanges();\n if (this.panelOpen) {\n this._overlayRef.updatePosition();\n }\n if (wasOpen !== this.panelOpen) {\n // If the `panelOpen` state changed, we need to make sure to emit the `opened` or\n // `closed` event, because we may not have emitted it. This can happen\n // - if the users opens the panel and there are no options, but the\n // options come in slightly later or as a result of the value changing,\n // - if the panel is closed after the user entered a string that did not match any\n // of the available options,\n // - if a valid string is entered after an invalid one.\n if (this.panelOpen) {\n this.autocomplete.opened.emit();\n }\n else {\n this.autocomplete.closed.emit();\n }\n }\n });\n return this.panelClosingActions;\n }), \n // when the first closing event occurs...\n take(1))\n // set the value, close the panel, and complete.\n .subscribe(event => this._setValueAndClose(event)));\n }\n /** Destroys the autocomplete suggestion panel. */\n _destroyPanel() {\n if (this._overlayRef) {\n this.closePanel();\n this._overlayRef.dispose();\n this._overlayRef = null;\n }\n }\n _assignOptionValue(value) {\n const toDisplay = this.autocomplete && this.autocomplete.displayWith\n ? this.autocomplete.displayWith(value)\n : value;\n // Simply falling back to an empty string if the display value is falsy does not work properly.\n // The display value can also be the number zero and shouldn't fall back to an empty string.\n this._updateNativeInputValue(toDisplay != null ? toDisplay : '');\n }\n _updateNativeInputValue(value) {\n // If it's used within a `MatFormField`, we should set it through the property so it can go\n // through change detection.\n if (this._formField) {\n this._formField._control.value = value;\n }\n else {\n this._element.nativeElement.value = value;\n }\n this._previousValue = value;\n }\n /**\n * This method closes the panel, and if a value is specified, also sets the associated\n * control to that value. It will also mark the control as dirty if this interaction\n * stemmed from the user.\n */\n _setValueAndClose(event) {\n const toSelect = event ? event.source : this._pendingAutoselectedOption;\n if (toSelect) {\n this._clearPreviousSelectedOption(toSelect);\n this._assignOptionValue(toSelect.value);\n this._onChange(toSelect.value);\n this.autocomplete._emitSelectEvent(toSelect);\n this._element.nativeElement.focus();\n }\n this.closePanel();\n }\n /**\n * Clear any previous selected option and emit a selection change event for this option\n */\n _clearPreviousSelectedOption(skip) {\n this.autocomplete.options.forEach(option => {\n if (option !== skip && option.selected) {\n option.deselect();\n }\n });\n }\n _attachOverlay() {\n if (!this.autocomplete && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw getMatAutocompleteMissingPanelError();\n }\n let overlayRef = this._overlayRef;\n if (!overlayRef) {\n this._portal = new TemplatePortal(this.autocomplete.template, this._viewContainerRef, {\n id: this._formField?.getLabelId(),\n });\n overlayRef = this._overlay.create(this._getOverlayConfig());\n this._overlayRef = overlayRef;\n this._handleOverlayEvents(overlayRef);\n this._viewportSubscription = this._viewportRuler.change().subscribe(() => {\n if (this.panelOpen && overlayRef) {\n overlayRef.updateSize({ width: this._getPanelWidth() });\n }\n });\n }\n else {\n // Update the trigger, panel width and direction, in case anything has changed.\n this._positionStrategy.setOrigin(this._getConnectedElement());\n overlayRef.updateSize({ width: this._getPanelWidth() });\n }\n if (overlayRef && !overlayRef.hasAttached()) {\n overlayRef.attach(this._portal);\n this._closingActionsSubscription = this._subscribeToClosingActions();\n }\n const wasOpen = this.panelOpen;\n this.autocomplete._setVisibility();\n this.autocomplete._isOpen = this._overlayAttached = true;\n this.autocomplete._setColor(this._formField?.color);\n // We need to do an extra `panelOpen` check in here, because the\n // autocomplete won't be shown if there are no options.\n if (this.panelOpen && wasOpen !== this.panelOpen) {\n this.autocomplete.opened.emit();\n }\n }\n _getOverlayConfig() {\n return new OverlayConfig({\n positionStrategy: this._getOverlayPosition(),\n scrollStrategy: this._scrollStrategy(),\n width: this._getPanelWidth(),\n direction: this._dir ?? undefined,\n panelClass: this._defaults?.overlayPanelClass,\n });\n }\n _getOverlayPosition() {\n const strategy = this._overlay\n .position()\n .flexibleConnectedTo(this._getConnectedElement())\n .withFlexibleDimensions(false)\n .withPush(false);\n this._setStrategyPositions(strategy);\n this._positionStrategy = strategy;\n return strategy;\n }\n /** Sets the positions on a position strategy based on the directive's input state. */\n _setStrategyPositions(positionStrategy) {\n // Note that we provide horizontal fallback positions, even though by default the dropdown\n // width matches the input, because consumers can override the width. See #18854.\n const belowPositions = [\n { originX: 'start', originY: 'bottom', overlayX: 'start', overlayY: 'top' },\n { originX: 'end', originY: 'bottom', overlayX: 'end', overlayY: 'top' },\n ];\n // The overlay edge connected to the trigger should have squared corners, while\n // the opposite end has rounded corners. We apply a CSS class to swap the\n // border-radius based on the overlay position.\n const panelClass = this._aboveClass;\n const abovePositions = [\n { originX: 'start', originY: 'top', overlayX: 'start', overlayY: 'bottom', panelClass },\n { originX: 'end', originY: 'top', overlayX: 'end', overlayY: 'bottom', panelClass },\n ];\n let positions;\n if (this.position === 'above') {\n positions = abovePositions;\n }\n else if (this.position === 'below') {\n positions = belowPositions;\n }\n else {\n positions = [...belowPositions, ...abovePositions];\n }\n positionStrategy.withPositions(positions);\n }\n _getConnectedElement() {\n if (this.connectedTo) {\n return this.connectedTo.elementRef;\n }\n return this._formField ? this._formField.getConnectedOverlayOrigin() : this._element;\n }\n _getPanelWidth() {\n return this.autocomplete.panelWidth || this._getHostWidth();\n }\n /** Returns the width of the input element, so the panel width can match it. */\n _getHostWidth() {\n return this._getConnectedElement().nativeElement.getBoundingClientRect().width;\n }\n /**\n * Reset the active item to -1. This is so that pressing arrow keys will activate the correct\n * option.\n *\n * If the consumer opted-in to automatically activatating the first option, activate the first\n * *enabled* option.\n */\n _resetActiveItem() {\n const autocomplete = this.autocomplete;\n if (autocomplete.autoActiveFirstOption) {\n // Find the index of the first *enabled* option. Avoid calling `_keyManager.setActiveItem`\n // because it activates the first option that passes the skip predicate, rather than the\n // first *enabled* option.\n let firstEnabledOptionIndex = -1;\n for (let index = 0; index < autocomplete.options.length; index++) {\n const option = autocomplete.options.get(index);\n if (!option.disabled) {\n firstEnabledOptionIndex = index;\n break;\n }\n }\n autocomplete._keyManager.setActiveItem(firstEnabledOptionIndex);\n }\n else {\n autocomplete._keyManager.setActiveItem(-1);\n }\n }\n /** Determines whether the panel can be opened. */\n _canOpen() {\n const element = this._element.nativeElement;\n return !element.readOnly && !element.disabled && !this._autocompleteDisabled;\n }\n /** Use defaultView of injected document if available or fallback to global window reference */\n _getWindow() {\n return this._document?.defaultView || window;\n }\n /** Scrolls to a particular option in the list. */\n _scrollToOption(index) {\n // Given that we are not actually focusing active options, we must manually adjust scroll\n // to reveal options below the fold. First, we find the offset of the option from the top\n // of the panel. If that offset is below the fold, the new scrollTop will be the offset -\n // the panel height + the option height, so the active option will be just visible at the\n // bottom of the panel. If that offset is above the top of the visible panel, the new scrollTop\n // will become the offset. If that offset is visible within the panel already, the scrollTop is\n // not adjusted.\n const autocomplete = this.autocomplete;\n const labelCount = _countGroupLabelsBeforeOption(index, autocomplete.options, autocomplete.optionGroups);\n if (index === 0 && labelCount === 1) {\n // If we've got one group label before the option and we're at the top option,\n // scroll the list to the top. This is better UX than scrolling the list to the\n // top of the option, because it allows the user to read the top group's label.\n autocomplete._setScrollTop(0);\n }\n else if (autocomplete.panel) {\n const option = autocomplete.options.toArray()[index];\n if (option) {\n const element = option._getHostElement();\n const newScrollPosition = _getOptionScrollPosition(element.offsetTop, element.offsetHeight, autocomplete._getScrollTop(), autocomplete.panel.nativeElement.offsetHeight);\n autocomplete._setScrollTop(newScrollPosition);\n }\n }\n }\n /** Handles keyboard events coming from the overlay panel. */\n _handleOverlayEvents(overlayRef) {\n // Use the `keydownEvents` in order to take advantage of\n // the overlay event targeting provided by the CDK overlay.\n overlayRef.keydownEvents().subscribe(event => {\n // Close when pressing ESCAPE or ALT + UP_ARROW, based on the a11y guidelines.\n // See: https://www.w3.org/TR/wai-aria-practices-1.1/#textbox-keyboard-interaction\n if ((event.keyCode === ESCAPE && !hasModifierKey(event)) ||\n (event.keyCode === UP_ARROW && hasModifierKey(event, 'altKey'))) {\n // If the user had typed something in before we autoselected an option, and they decided\n // to cancel the selection, restore the input value to the one they had typed in.\n if (this._pendingAutoselectedOption) {\n this._updateNativeInputValue(this._valueBeforeAutoSelection ?? '');\n this._pendingAutoselectedOption = null;\n }\n this._closeKeyEventStream.next();\n this._resetActiveItem();\n // We need to stop propagation, otherwise the event will eventually\n // reach the input itself and cause the overlay to be reopened.\n event.stopPropagation();\n event.preventDefault();\n }\n });\n // Subscribe to the pointer events stream so that it doesn't get picked up by other overlays.\n // TODO(crisbeto): we should switch `_getOutsideClickStream` eventually to use this stream,\n // but the behvior isn't exactly the same and it ends up breaking some internal tests.\n overlayRef.outsidePointerEvents().subscribe();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatAutocompleteTriggerBase, deps: [{ token: i0.ElementRef }, { token: i1$1.Overlay }, { token: i0.ViewContainerRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: MAT_AUTOCOMPLETE_SCROLL_STRATEGY }, { token: i2$1.Directionality, optional: true }, { token: MAT_FORM_FIELD, host: true, optional: true }, { token: DOCUMENT, optional: true }, { token: i3.ViewportRuler }, { token: MAT_AUTOCOMPLETE_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: _MatAutocompleteTriggerBase, inputs: { autocomplete: [\"matAutocomplete\", \"autocomplete\"], position: [\"matAutocompletePosition\", \"position\"], connectedTo: [\"matAutocompleteConnectedTo\", \"connectedTo\"], autocompleteAttribute: [\"autocomplete\", \"autocompleteAttribute\"], autocompleteDisabled: [\"matAutocompleteDisabled\", \"autocompleteDisabled\"] }, usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatAutocompleteTriggerBase, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$1.Overlay }, { type: i0.ViewContainerRef }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{\n type: Inject,\n args: [MAT_AUTOCOMPLETE_SCROLL_STRATEGY]\n }] }, { type: i2$1.Directionality, decorators: [{\n type: Optional\n }] }, { type: i4.MatFormField, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_FORM_FIELD]\n }, {\n type: Host\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: i3.ViewportRuler }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_AUTOCOMPLETE_DEFAULT_OPTIONS]\n }] }]; }, propDecorators: { autocomplete: [{\n type: Input,\n args: ['matAutocomplete']\n }], position: [{\n type: Input,\n args: ['matAutocompletePosition']\n }], connectedTo: [{\n type: Input,\n args: ['matAutocompleteConnectedTo']\n }], autocompleteAttribute: [{\n type: Input,\n args: ['autocomplete']\n }], autocompleteDisabled: [{\n type: Input,\n args: ['matAutocompleteDisabled']\n }] } });\nclass MatAutocompleteTrigger extends _MatAutocompleteTriggerBase {\n constructor() {\n super(...arguments);\n this._aboveClass = 'mat-mdc-autocomplete-panel-above';\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatAutocompleteTrigger, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatAutocompleteTrigger, selector: \"input[matAutocomplete], textarea[matAutocomplete]\", host: { listeners: { \"focusin\": \"_handleFocus()\", \"blur\": \"_onTouched()\", \"input\": \"_handleInput($event)\", \"keydown\": \"_handleKeydown($event)\", \"click\": \"_handleClick()\" }, properties: { \"attr.autocomplete\": \"autocompleteAttribute\", \"attr.role\": \"autocompleteDisabled ? null : \\\"combobox\\\"\", \"attr.aria-autocomplete\": \"autocompleteDisabled ? null : \\\"list\\\"\", \"attr.aria-activedescendant\": \"(panelOpen && activeOption) ? activeOption.id : null\", \"attr.aria-expanded\": \"autocompleteDisabled ? null : panelOpen.toString()\", \"attr.aria-owns\": \"(autocompleteDisabled || !panelOpen) ? null : autocomplete?.id\", \"attr.aria-haspopup\": \"autocompleteDisabled ? null : \\\"listbox\\\"\" }, classAttribute: \"mat-mdc-autocomplete-trigger\" }, providers: [MAT_AUTOCOMPLETE_VALUE_ACCESSOR], exportAs: [\"matAutocompleteTrigger\"], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatAutocompleteTrigger, decorators: [{\n type: Directive,\n args: [{\n selector: `input[matAutocomplete], textarea[matAutocomplete]`,\n host: {\n 'class': 'mat-mdc-autocomplete-trigger',\n '[attr.autocomplete]': 'autocompleteAttribute',\n '[attr.role]': 'autocompleteDisabled ? null : \"combobox\"',\n '[attr.aria-autocomplete]': 'autocompleteDisabled ? null : \"list\"',\n '[attr.aria-activedescendant]': '(panelOpen && activeOption) ? activeOption.id : null',\n '[attr.aria-expanded]': 'autocompleteDisabled ? null : panelOpen.toString()',\n '[attr.aria-owns]': '(autocompleteDisabled || !panelOpen) ? null : autocomplete?.id',\n '[attr.aria-haspopup]': 'autocompleteDisabled ? null : \"listbox\"',\n // Note: we use `focusin`, as opposed to `focus`, in order to open the panel\n // a little earlier. This avoids issues where IE delays the focusing of the input.\n '(focusin)': '_handleFocus()',\n '(blur)': '_onTouched()',\n '(input)': '_handleInput($event)',\n '(keydown)': '_handleKeydown($event)',\n '(click)': '_handleClick()',\n },\n exportAs: 'matAutocompleteTrigger',\n providers: [MAT_AUTOCOMPLETE_VALUE_ACCESSOR],\n }]\n }] });\n\nclass MatAutocompleteModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatAutocompleteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatAutocompleteModule, declarations: [MatAutocomplete, MatAutocompleteTrigger, MatAutocompleteOrigin], imports: [OverlayModule, MatOptionModule, MatCommonModule, CommonModule], exports: [CdkScrollableModule,\n MatAutocomplete,\n MatOptionModule,\n MatCommonModule,\n MatAutocompleteTrigger,\n MatAutocompleteOrigin] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatAutocompleteModule, providers: [MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER], imports: [OverlayModule, MatOptionModule, MatCommonModule, CommonModule, CdkScrollableModule,\n MatOptionModule,\n MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatAutocompleteModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [OverlayModule, MatOptionModule, MatCommonModule, CommonModule],\n exports: [\n CdkScrollableModule,\n MatAutocomplete,\n MatOptionModule,\n MatCommonModule,\n MatAutocompleteTrigger,\n MatAutocompleteOrigin,\n ],\n declarations: [MatAutocomplete, MatAutocompleteTrigger, MatAutocompleteOrigin],\n providers: [MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MAT_AUTOCOMPLETE_DEFAULT_OPTIONS, MAT_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORY, MAT_AUTOCOMPLETE_SCROLL_STRATEGY, MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY, MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER, MAT_AUTOCOMPLETE_VALUE_ACCESSOR, MatAutocomplete, MatAutocompleteModule, MatAutocompleteOrigin, MatAutocompleteSelectedEvent, MatAutocompleteTrigger, _MatAutocompleteBase, _MatAutocompleteOriginBase, _MatAutocompleteTriggerBase, getMatAutocompleteMissingPanelError };\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40]} \ No newline at end of file diff --git a/2621.dda67a0e328267fa.js b/2621.dda67a0e328267fa.js new file mode 100644 index 0000000..f71c48b --- /dev/null +++ b/2621.dda67a0e328267fa.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[2621,3022,5106,7376,5187,4091,1217,7208,4968,6785,4155,1084,6896,7920,6980,5113,1328,5749,4309,8024,8513,5555,4967,8017,8116,5873,8061,4680,2111,3326,8596,8352,5501,882,3098,8467,6578,4093,8608,8443,7328,5915,3278,5391,6748,1551,6763,4151,5069,7432,8071,6618],{50253:(P,l,e)=>{e.d(l,{x:()=>R});var o=e(95106),r=e(78069),t=e(48047),a=e(4089),n=e(20265),d=e(24582),s=e(28694),c=e(90833),m=e(17714),p=(0,e(27543).d)(function(b){return function(){b(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),O=e(39663),E=e(12309),R=function(){var b=function(Z){(0,d.Z)(U,Z);var T=(0,s.Z)(U);function U(){var f;return(0,r.Z)(this,U),(f=T.call(this)).closed=!1,f.currentObservers=null,f.observers=[],f.isStopped=!1,f.hasError=!1,f.thrownError=null,f}return(0,t.Z)(U,[{key:"lift",value:function(i){var h=new L(this,this);return h.operator=i,h}},{key:"_throwIfClosed",value:function(){if(this.closed)throw new p}},{key:"next",value:function(i){var h=this;(0,E.x)(function(){if(h._throwIfClosed(),!h.isStopped){h.currentObservers||(h.currentObservers=Array.from(h.observers));var _,M=(0,o.Z)(h.currentObservers);try{for(M.s();!(_=M.n()).done;)_.value.next(i)}catch(C){M.e(C)}finally{M.f()}}})}},{key:"error",value:function(i){var h=this;(0,E.x)(function(){if(h._throwIfClosed(),!h.isStopped){h.hasError=h.isStopped=!0,h.thrownError=i;for(var M=h.observers;M.length;)M.shift().error(i)}})}},{key:"complete",value:function(){var i=this;(0,E.x)(function(){if(i._throwIfClosed(),!i.isStopped){i.isStopped=!0;for(var h=i.observers;h.length;)h.shift().complete()}})}},{key:"unsubscribe",value:function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}},{key:"observed",get:function(){var i;return(null===(i=this.observers)||void 0===i?void 0:i.length)>0}},{key:"_trySubscribe",value:function(i){return this._throwIfClosed(),(0,a.Z)((0,n.Z)(U.prototype),"_trySubscribe",this).call(this,i)}},{key:"_subscribe",value:function(i){return this._throwIfClosed(),this._checkFinalizedStatuses(i),this._innerSubscribe(i)}},{key:"_innerSubscribe",value:function(i){var h=this,v=this.observers;return this.hasError||this.isStopped?m.Lc:(this.currentObservers=null,v.push(i),new m.w0(function(){h.currentObservers=null,(0,O.P)(v,i)}))}},{key:"_checkFinalizedStatuses",value:function(i){var _=this.isStopped;this.hasError?i.error(this.thrownError):_&&i.complete()}},{key:"asObservable",value:function(){var i=new c.y;return i.source=this,i}}]),U}(c.y);return b.create=function(Z,T){return new L(Z,T)},b}(),L=function(b){(0,d.Z)(T,b);var Z=(0,s.Z)(T);function T(U,f){var i;return(0,r.Z)(this,T),(i=Z.call(this)).destination=U,i.source=f,i}return(0,t.Z)(T,[{key:"next",value:function(f){var i,h;null===(h=null===(i=this.destination)||void 0===i?void 0:i.next)||void 0===h||h.call(i,f)}},{key:"error",value:function(f){var i,h;null===(h=null===(i=this.destination)||void 0===i?void 0:i.error)||void 0===h||h.call(i,f)}},{key:"complete",value:function(){var f,i;null===(i=null===(f=this.destination)||void 0===f?void 0:f.complete)||void 0===i||i.call(f)}},{key:"_subscribe",value:function(f){var i,h;return null!==(h=null===(i=this.source)||void 0===i?void 0:i.subscribe(f))&&void 0!==h?h:m.Lc}}]),T}(R)},20591:(P,l,e)=>{e.d(l,{E:()=>r});var r=new(e(90833).y)(function(n){return n.complete()})},37400:(P,l,e)=>{e.d(l,{D:()=>M});var o=e(54987),r=e(8728),t=e(41944);function a(_){var v=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,t.e)(function(C,I){I.add(_.schedule(function(){return C.subscribe(I)},v))})}var s=e(90833),m=e(67321),u=e(92971),p=e(1817);function E(_,v){if(!_)throw new Error("Iterable cannot be null");return new s.y(function(C){(0,p.f)(C,v,function(){var I=_[Symbol.asyncIterator]();(0,p.f)(C,v,function(){I.next().then(function(x){x.done?C.complete():C.next(x.value)})},0,!0)})})}var R=e(21331),L=e(79548),b=e(99806),Z=e(23433),T=e(80470),U=e(27785),f=e(20181);function M(_,v){return v?function h(_,v){if(null!=_){if((0,R.c)(_))return function n(_,v){return(0,o.Xf)(_).pipe(a(v),(0,r.Q)(v))}(_,v);if((0,b.z)(_))return function c(_,v){return new s.y(function(C){var I=0;return v.schedule(function(){I===_.length?C.complete():(C.next(_[I++]),C.closed||this.schedule())})})}(_,v);if((0,L.t)(_))return function d(_,v){return(0,o.Xf)(_).pipe(a(v),(0,r.Q)(v))}(_,v);if((0,T.D)(_))return E(_,v);if((0,Z.T)(_))return function O(_,v){return new s.y(function(C){var I;return(0,p.f)(C,v,function(){I=_[m.h](),(0,p.f)(C,v,function(){var x,W;try{var H=I.next();x=H.value,W=H.done}catch(g){return void C.error(g)}W?C.complete():C.next(x)},0,!0)}),function(){return(0,u.m)(I?.return)&&I.return()}})}(_,v);if((0,f.L)(_))return function i(_,v){return E((0,f.Q)(_),v)}(_,v)}throw(0,U.z)(_)}(_,v):(0,o.Xf)(_)}},36646:(P,l,e)=>{e.d(l,{T:()=>d});var o=e(1308),r=e(54987),t=e(20591),a=e(10420),n=e(37400);function d(){for(var s=arguments.length,c=new Array(s),m=0;m<s;m++)c[m]=arguments[m];var u=(0,a.yG)(c),p=(0,a._6)(c,1/0),O=c;return O.length?1===O.length?(0,r.Xf)(O[0]):(0,o.J)(p)((0,n.D)(O,u)):t.E}},93945:(P,l,e)=>{e.d(l,{Q:()=>u,x:()=>m});var o=e(78069),r=e(48047),t=e(35488),a=e(24582),n=e(28694),d=e(4089),s=e(20265);function m(p,O,E,R,L){return new u(p,O,E,R,L)}var u=function(p){(0,a.Z)(E,p);var O=(0,n.Z)(E);function E(R,L,b,Z,T,U){var f,i,h,M;return(0,o.Z)(this,E),(M=O.call(this,R)).onFinalize=T,M.shouldUnsubscribe=U,M._next=L?function(_){try{L(_)}catch(v){R.error(v)}}:(0,d.Z)((f=(0,t.Z)(M),(0,s.Z)(E.prototype)),"_next",f),M._error=Z?function(_){try{Z(_)}catch(v){R.error(v)}finally{this.unsubscribe()}}:(0,d.Z)((i=(0,t.Z)(M),(0,s.Z)(E.prototype)),"_error",i),M._complete=b?function(){try{b()}catch(_){R.error(_)}finally{this.unsubscribe()}}:(0,d.Z)((h=(0,t.Z)(M),(0,s.Z)(E.prototype)),"_complete",h),M}return(0,r.Z)(E,[{key:"unsubscribe",value:function(){var L;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var b=this.closed;(0,d.Z)((0,s.Z)(E.prototype),"unsubscribe",this).call(this),!b&&(null===(L=this.onFinalize)||void 0===L||L.call(this))}}}]),E}(e(5463).Lv)},60116:(P,l,e)=>{e.d(l,{h:()=>t});var o=e(41944),r=e(93945);function t(a,n){return(0,o.e)(function(d,s){var c=0;d.subscribe((0,r.x)(s,function(m){return a.call(n,m,c++)&&s.next(m)}))})}},50635:(P,l,e)=>{e.d(l,{U:()=>t});var o=e(41944),r=e(93945);function t(a,n){return(0,o.e)(function(d,s){var c=0;d.subscribe((0,r.x)(s,function(m){s.next(a.call(n,m,c++))}))})}},1308:(P,l,e)=>{e.d(l,{J:()=>t});var o=e(49525),r=e(89173);function t(){return(0,o.z)(r.y,arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0)}},49525:(P,l,e)=>{e.d(l,{z:()=>c});var o=e(50635),r=e(54987),t=e(41944),a=e(1817),n=e(93945),s=e(92971);function c(m,u){var p=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;return(0,s.m)(u)?c(function(O,E){return(0,o.U)(function(R,L){return u(O,R,E,L)})((0,r.Xf)(m(O,E)))},p):("number"==typeof u&&(p=u),(0,t.e)(function(O,E){return function d(m,u,p,O,E,R,L,b){var Z=[],T=0,U=0,f=!1,i=function(){f&&!Z.length&&!T&&u.complete()},h=function(v){return T<O?M(v):Z.push(v)},M=function _(v){R&&u.next(v),T++;var C=!1;(0,r.Xf)(p(v,U++)).subscribe((0,n.x)(u,function(I){E?.(I),R?h(I):u.next(I)},function(){C=!0},void 0,function(){if(C)try{T--;for(var I=function(){var W=Z.shift();L?(0,a.f)(u,L,function(){return _(W)}):_(W)};Z.length&&T<O;)I();i()}catch(x){u.error(x)}}))};return m.subscribe((0,n.x)(u,h,function(){f=!0,i()})),function(){b?.()}}(O,E,m,p)}))}},8728:(P,l,e)=>{e.d(l,{Q:()=>a});var o=e(1817),r=e(41944),t=e(93945);function a(n){var d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,r.e)(function(s,c){s.subscribe((0,t.x)(c,function(m){return(0,o.f)(c,n,function(){return c.next(m)},d)},function(){return(0,o.f)(c,n,function(){return c.complete()},d)},function(m){return(0,o.f)(c,n,function(){return c.error(m)},d)}))})}},59295:(P,l,e)=>{e.d(l,{q:()=>a});var o=e(20591),r=e(41944),t=e(93945);function a(n){return n<=0?function(){return o.E}:(0,r.e)(function(d,s){var c=0;d.subscribe((0,t.x)(s,function(m){++c<=n&&(s.next(m),n<=c&&s.complete())}))})}},10420:(P,l,e)=>{e.d(l,{_6:()=>d,jO:()=>a,yG:()=>n});var o=e(92971),r=e(59867);function t(s){return s[s.length-1]}function a(s){return(0,o.m)(t(s))?s.pop():void 0}function n(s){return(0,r.K)(t(s))?s.pop():void 0}function d(s,c){return"number"==typeof t(s)?s.pop():c}},1817:(P,l,e)=>{function o(r,t,a){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,d=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s=t.schedule(function(){a(),d?r.add(this.schedule(null,n)):this.unsubscribe()},n);if(r.add(s),!d)return s}e.d(l,{f:()=>o})},59867:(P,l,e)=>{e.d(l,{K:()=>r});var o=e(92971);function r(t){return t&&(0,o.m)(t.schedule)}},41944:(P,l,e)=>{e.d(l,{A:()=>r,e:()=>t});var o=e(92971);function r(a){return(0,o.m)(a?.lift)}function t(a){return function(n){if(r(n))return n.lift(function(d){try{return a(d,this)}catch(s){this.error(s)}});throw new TypeError("Unable to lift unknown Observable type")}}},95763:(P,l,e)=>{e.r(l),e.d(l,{MAT_BOTTOM_SHEET_DATA:()=>C,MAT_BOTTOM_SHEET_DEFAULT_OPTIONS:()=>W,MatBottomSheet:()=>H,MatBottomSheetConfig:()=>I,MatBottomSheetContainer:()=>_,MatBottomSheetModule:()=>v,MatBottomSheetRef:()=>x,matBottomSheetAnimations:()=>M});var o=e(35603),r=e(78069),t=e(48047),a=e(4089),n=e(20265),d=e(24582),s=e(28694),c=e(69064),m=e(18142),u=e(56718),p=e(6606),O=e(908),E=e(25121),R=e(43662),L=e(94055),b=e(72223),Z=e(52069),T=e(50253),U=e(36646),f=e(60116),i=e(59295);function h(g,A){}var M={bottomSheetState:(0,b.X$)("state",[(0,b.SB)("void, hidden",(0,b.oB)({transform:"translateY(100%)"})),(0,b.SB)("visible",(0,b.oB)({transform:"translateY(0%)"})),(0,b.eR)("visible => void, visible => hidden",(0,b.ru)([(0,b.jt)("".concat(p.AnimationDurations.COMPLEX," ").concat(p.AnimationCurves.ACCELERATION_CURVE)),(0,b.IO)("@*",(0,b.pV)(),{optional:!0})])),(0,b.eR)("void => visible",(0,b.ru)([(0,b.jt)("".concat(p.AnimationDurations.EXITING," ").concat(p.AnimationCurves.DECELERATION_CURVE)),(0,b.IO)("@*",(0,b.pV)(),{optional:!0})]))])},_=function(){var g=function(A){(0,d.Z)(y,A);var B=(0,s.Z)(y);function y(S,D,k,j,w,N,z,F,X,V){var K;return(0,r.Z)(this,y),(K=B.call(this,S,D,k,j,w,N,z,V))._changeDetectorRef=X,K._animationState="void",K._animationStateChanged=new u.EventEmitter,K._breakpointSubscription=F.observe([E.Breakpoints.Medium,E.Breakpoints.Large,E.Breakpoints.XLarge]).subscribe(function(){K._toggleClass("mat-bottom-sheet-container-medium",F.isMatched(E.Breakpoints.Medium)),K._toggleClass("mat-bottom-sheet-container-large",F.isMatched(E.Breakpoints.Large)),K._toggleClass("mat-bottom-sheet-container-xlarge",F.isMatched(E.Breakpoints.XLarge))}),K}return(0,t.Z)(y,[{key:"enter",value:function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())}},{key:"exit",value:function(){this._destroyed||(this._animationState="hidden",this._changeDetectorRef.markForCheck())}},{key:"ngOnDestroy",value:function(){(0,a.Z)((0,n.Z)(y.prototype),"ngOnDestroy",this).call(this),this._breakpointSubscription.unsubscribe(),this._destroyed=!0}},{key:"_onAnimationDone",value:function(D){"visible"===D.toState&&this._trapFocus(),this._animationStateChanged.emit(D)}},{key:"_onAnimationStart",value:function(D){this._animationStateChanged.emit(D)}},{key:"_captureInitialFocus",value:function(){}},{key:"_toggleClass",value:function(D,k){this._elementRef.nativeElement.classList.toggle(D,k)}}]),y}(c.CdkDialogContainer);return g.\u0275fac=function(B){return new(B||g)(u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(O.FocusTrapFactory),u.\u0275\u0275directiveInject(L.DOCUMENT,8),u.\u0275\u0275directiveInject(c.DialogConfig),u.\u0275\u0275directiveInject(O.InteractivityChecker),u.\u0275\u0275directiveInject(u.NgZone),u.\u0275\u0275directiveInject(R.OverlayRef),u.\u0275\u0275directiveInject(E.BreakpointObserver),u.\u0275\u0275directiveInject(u.ChangeDetectorRef),u.\u0275\u0275directiveInject(O.FocusMonitor))},g.\u0275cmp=u.\u0275\u0275defineComponent({type:g,selectors:[["mat-bottom-sheet-container"]],hostAttrs:["tabindex","-1",1,"mat-bottom-sheet-container"],hostVars:4,hostBindings:function(B,y){1&B&&u.\u0275\u0275syntheticHostListener("@state.start",function(D){return y._onAnimationStart(D)})("@state.done",function(D){return y._onAnimationDone(D)}),2&B&&(u.\u0275\u0275attribute("role",y._config.role)("aria-modal",y._config.ariaModal)("aria-label",y._config.ariaLabel),u.\u0275\u0275syntheticHostProperty("@state",y._animationState))},features:[u.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(B,y){1&B&&u.\u0275\u0275template(0,h,0,0,"ng-template",0)},dependencies:[m.CdkPortalOutlet],styles:[".mat-bottom-sheet-container{padding:8px 16px;min-width:100vw;box-sizing:border-box;display:block;outline:0;max-height:80vh;overflow:auto}.cdk-high-contrast-active .mat-bottom-sheet-container{outline:1px solid}.mat-bottom-sheet-container-xlarge,.mat-bottom-sheet-container-large,.mat-bottom-sheet-container-medium{border-top-left-radius:4px;border-top-right-radius:4px}.mat-bottom-sheet-container-medium{min-width:384px;max-width:calc(100vw - 128px)}.mat-bottom-sheet-container-large{min-width:512px;max-width:calc(100vw - 256px)}.mat-bottom-sheet-container-xlarge{min-width:576px;max-width:calc(100vw - 384px)}"],encapsulation:2,data:{animation:[M.bottomSheetState]}}),g}(),v=function(){var g=(0,t.Z)(function A(){(0,r.Z)(this,A)});return g.\u0275fac=function(B){return new(B||g)},g.\u0275mod=u.\u0275\u0275defineNgModule({type:g}),g.\u0275inj=u.\u0275\u0275defineInjector({imports:[c.DialogModule,p.MatCommonModule,m.PortalModule,p.MatCommonModule]}),g}(),C=new u.InjectionToken("MatBottomSheetData"),I=(0,t.Z)(function g(){(0,r.Z)(this,g),this.data=null,this.hasBackdrop=!0,this.disableClose=!1,this.ariaLabel=null,this.ariaModal=!0,this.closeOnNavigation=!0,this.autoFocus="dialog",this.restoreFocus=!0}),x=function(){function g(A,B,y){var S=this;(0,r.Z)(this,g),this._ref=A,this._afterOpened=new T.x,this.containerInstance=y,this.disableClose=B.disableClose,y._animationStateChanged.pipe((0,f.h)(function(D){return"done"===D.phaseName&&"visible"===D.toState}),(0,i.q)(1)).subscribe(function(){S._afterOpened.next(),S._afterOpened.complete()}),y._animationStateChanged.pipe((0,f.h)(function(D){return"done"===D.phaseName&&"hidden"===D.toState}),(0,i.q)(1)).subscribe(function(){clearTimeout(S._closeFallbackTimeout),S._ref.close(S._result)}),A.overlayRef.detachments().subscribe(function(){S._ref.close(S._result)}),(0,U.T)(this.backdropClick(),this.keydownEvents().pipe((0,f.h)(function(D){return D.keyCode===Z.ESCAPE}))).subscribe(function(D){!S.disableClose&&("keydown"!==D.type||!(0,Z.hasModifierKey)(D))&&(D.preventDefault(),S.dismiss())})}return(0,t.Z)(g,[{key:"instance",get:function(){return this._ref.componentInstance}},{key:"dismiss",value:function(B){var y=this;this.containerInstance&&(this.containerInstance._animationStateChanged.pipe((0,f.h)(function(S){return"start"===S.phaseName}),(0,i.q)(1)).subscribe(function(S){y._closeFallbackTimeout=setTimeout(function(){y._ref.close(y._result)},S.totalTime+100),y._ref.overlayRef.detachBackdrop()}),this._result=B,this.containerInstance.exit(),this.containerInstance=null)}},{key:"afterDismissed",value:function(){return this._ref.closed}},{key:"afterOpened",value:function(){return this._afterOpened}},{key:"backdropClick",value:function(){return this._ref.backdropClick}},{key:"keydownEvents",value:function(){return this._ref.keydownEvents}}]),g}(),W=new u.InjectionToken("mat-bottom-sheet-default-options"),H=function(){var g=function(){function A(B,y,S,D){(0,r.Z)(this,A),this._overlay=B,this._parentBottomSheet=S,this._defaultOptions=D,this._bottomSheetRefAtThisLevel=null,this._dialog=y.get(c.Dialog)}return(0,t.Z)(A,[{key:"_openedBottomSheetRef",get:function(){var y=this._parentBottomSheet;return y?y._openedBottomSheetRef:this._bottomSheetRefAtThisLevel},set:function(y){this._parentBottomSheet?this._parentBottomSheet._openedBottomSheetRef=y:this._bottomSheetRefAtThisLevel=y}},{key:"open",value:function(y,S){var j,D=this,k=(0,o.Z)((0,o.Z)({},this._defaultOptions||new I),S);return this._dialog.open(y,(0,o.Z)((0,o.Z)({},k),{},{disableClose:!0,closeOnOverlayDetachments:!1,maxWidth:"100%",container:_,scrollStrategy:k.scrollStrategy||this._overlay.scrollStrategies.block(),positionStrategy:this._overlay.position().global().centerHorizontally().bottom("0"),templateContext:function(){return{bottomSheetRef:j}},providers:function(N,z,F){return j=new x(N,k,F),[{provide:x,useValue:j},{provide:C,useValue:k.data}]}})),j.afterDismissed().subscribe(function(){D._openedBottomSheetRef===j&&(D._openedBottomSheetRef=null)}),this._openedBottomSheetRef?(this._openedBottomSheetRef.afterDismissed().subscribe(function(){var w;return null===(w=j.containerInstance)||void 0===w?void 0:w.enter()}),this._openedBottomSheetRef.dismiss()):j.containerInstance.enter(),this._openedBottomSheetRef=j,j}},{key:"dismiss",value:function(y){this._openedBottomSheetRef&&this._openedBottomSheetRef.dismiss(y)}},{key:"ngOnDestroy",value:function(){this._bottomSheetRefAtThisLevel&&this._bottomSheetRefAtThisLevel.dismiss()}}]),A}();return g.\u0275fac=function(B){return new(B||g)(u.\u0275\u0275inject(R.Overlay),u.\u0275\u0275inject(u.Injector),u.\u0275\u0275inject(g,12),u.\u0275\u0275inject(W,8))},g.\u0275prov=u.\u0275\u0275defineInjectable({token:g,factory:g.\u0275fac,providedIn:v}),g}()},44841:(P,l,e)=>{function o(r,t){(null==t||t>r.length)&&(t=r.length);for(var a=0,n=new Array(t);a<t;a++)n[a]=r[a];return n}e.d(l,{Z:()=>o})},35488:(P,l,e)=>{function o(r){if(void 0===r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}e.d(l,{Z:()=>o})},95106:(P,l,e)=>{e.d(l,{Z:()=>r});var o=e(44206);function r(t,a){var n=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=(0,o.Z)(t))||a&&t&&"number"==typeof t.length){n&&(t=n);var d=0,s=function(){};return{s,n:function(){return d>=t.length?{done:!0}:{done:!1,value:t[d++]}},e:function(O){throw O},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u,c=!0,m=!1;return{s:function(){n=n.call(t)},n:function(){var O=n.next();return c=O.done,O},e:function(O){m=!0,u=O},f:function(){try{!c&&null!=n.return&&n.return()}finally{if(m)throw u}}}}},28694:(P,l,e)=>{e.d(l,{Z:()=>d});var o=e(20265),r=e(98568),t=e(43445),a=e(35488);function d(s){var c=(0,r.Z)();return function(){var p,u=(0,o.Z)(s);if(c){var O=(0,o.Z)(this).constructor;p=Reflect.construct(u,arguments,O)}else p=u.apply(this,arguments);return function n(s,c){if(c&&("object"===(0,t.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return(0,a.Z)(s)}(this,p)}}},4089:(P,l,e)=>{e.d(l,{Z:()=>t});var o=e(20265);function t(){return t=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(n,d,s){var c=function r(a,n){for(;!Object.prototype.hasOwnProperty.call(a,n)&&null!==(a=(0,o.Z)(a)););return a}(n,d);if(c){var m=Object.getOwnPropertyDescriptor(c,d);return m.get?m.get.call(arguments.length<3?n:s):m.value}},t.apply(this,arguments)}},20265:(P,l,e)=>{function o(r){return(o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(a){return a.__proto__||Object.getPrototypeOf(a)})(r)}e.d(l,{Z:()=>o})},24582:(P,l,e)=>{e.d(l,{Z:()=>r});var o=e(10006);function r(t,a){if("function"!=typeof a&&null!==a)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(a&&a.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),a&&(0,o.Z)(t,a)}},98568:(P,l,e)=>{function o(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(l,{Z:()=>o})},4826:(P,l,e)=>{function o(r){if(typeof Symbol<"u"&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r)}e.d(l,{Z:()=>o})},10006:(P,l,e)=>{function o(r,t){return(o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,d){return n.__proto__=d,n})(r,t)}e.d(l,{Z:()=>o})},86170:(P,l,e)=>{e.d(l,{Z:()=>d});var o=e(44841),t=e(4826),a=e(44206);function d(s){return function r(s){if(Array.isArray(s))return(0,o.Z)(s)}(s)||(0,t.Z)(s)||(0,a.Z)(s)||function 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.")}()}},44206:(P,l,e)=>{e.d(l,{Z:()=>r});var o=e(44841);function r(t,a){if(t){if("string"==typeof t)return(0,o.Z)(t,a);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return(0,o.Z)(t,a)}}}}]); +//# sourceMappingURL=2621.dda67a0e328267fa.js.map \ No newline at end of file diff --git a/2621.dda67a0e328267fa.js.map b/2621.dda67a0e328267fa.js.map new file mode 100644 index 0000000..f078efd --- /dev/null +++ b/2621.dda67a0e328267fa.js.map @@ -0,0 +1 @@ +{"version":3,"file":"2621.dda67a0e328267fa.js","mappings":"ucACaA,cAA0BC,GAAiB,SAACC,GAAM,OAAK,WAChEA,EAAOC,MACPA,KAAKC,KAAO,0BACZD,KAAKE,QAAU,qBACnB,CAAC,yBCAYC,EAAO,eAAPA,EAAO,SAAAC,IAAAC,OAAAF,EAAAC,GAAA,IAAAL,KAAAO,KAAAH,GAChB,SAAAA,IAAc,IAAAI,EAAAC,cAAAR,KAAAG,IACVI,EAAAR,EAAAU,KAAAT,OACKU,QAAS,EACdH,EAAKI,iBAAmB,KACxBJ,EAAKK,UAAY,GACjBL,EAAKM,WAAY,EACjBN,EAAKO,UAAW,EAChBP,EAAKQ,YAAc,KAAKR,CAC5B,CAACS,cAAAb,EAAA,EAAAc,IAAA,OAAAC,MACD,SAAKC,GACD,IAAMC,EAAU,IAAIC,EAAiBrB,KAAMA,MAC3CoB,SAAQD,SAAWA,EACZC,CACX,GAAC,CAAAH,IAAA,iBAAAC,MACD,WACI,GAAIlB,KAAKU,OACL,MAAM,IAAIb,CAElB,GAAC,CAAAoB,IAAA,OAAAC,MACD,SAAKA,GAAO,IAAAI,EAAAtB,MACRuB,OAAa,WAET,GADAD,EAAKE,kBACAF,EAAKT,UAAW,CACZS,EAAKX,mBACNW,EAA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GACA,iBAAAzT,GAAA,2CAAAyX,KAAAzX,GAAA,SAAsFsX,EAAAxD,GAAgBL,EAAA4D,EAAA,CACtG","names":["ObjectUnsubscribedError","createErrorClass","_super","this","name","message","Subject","_Observable","_inherits","_createSuper","_this","_classCallCheck","call","closed","currentObservers","observers","isStopped","hasError","thrownError","_createClass","key","value","operator","subject","AnonymousSubject","_this2","errorContext","_throwIfClosed","Array","from","_step","_iterator","_createForOfIteratorHelper","s","n","done","next","err","e","f","_this3","length","shift","error","_this4","complete","get","_a","subscriber","_get","_getPrototypeOf","prototype","_checkFinalizedStatuses","_innerSubscribe","_this5","EMPTY_SUBSCRIPTION","push","Subscription","arrRemove","observable","Observable","source","create","destination","_Subject","_super2","_this6","_b","subscribe","EMPTY","subscribeOn","scheduler","delay","arguments","undefined","operate","add","schedule","scheduleAsyncIterable","input","Error","executeSchedule","iterator","Symbol","asyncIterator","then","result","scheduled","isInteropObservable","scheduleObservable","innerFrom","pipe","observeOn","isArrayLike","scheduleArray","i","isPromise","schedulePromise","isAsyncIterable","isIterable","scheduleIterable","Symbol_iterator","_iterator$next","isFunction","return","isReadableStreamLike","scheduleReadableStreamLike","readableStreamLikeToAsyncGenerator","createInvalidObservableTypeError","merge","_len","args","_key","popScheduler","concurrent","popNumber","Infinity","sources","mergeAll","createOperatorSubscriber","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_next","_assertThisInitialized","_error","unsubscribe","_complete","Subscriber","filter","predicate","thisArg","index","map","project","mergeMap","identity","resultSelector","a","b","ii","mergeInternals","onBeforeNext","expand","innerSubScheduler","additionalFinalizer","buffer","active","isComplete","checkComplete","outerNext","doInnerSub","innerComplete","innerValue","_loop","bufferedValue","take","count","seen","last","arr","popResultSelector","pop","isScheduler","defaultValue","parentSubscription","work","repeat","scheduleSubscription","hasLift","lift","init","liftedSource","TypeError","MatBottomSheetContainer_ng_template_0_Template","rf","ctx","matBottomSheetAnimations","bottomSheetState","trigger","state","style","transform","transition","group","animate","concat","AnimationDurations","AnimationCurves","query","animateChild","optional","MatBottomSheetContainer","_CdkDialogContainer","elementRef","focusTrapFactory","document","config","checker","ngZone","overlayRef","breakpointObserver","_changeDetectorRef","focusMonitor","_animationState","_animationStateChanged","EventEmitter","_breakpointSubscription","observe","Breakpoints","_toggleClass","isMatched","_destroyed","detectChanges","markForCheck","event","toState","_trapFocus","emit","cssClass","_elementRef","nativeElement","classList","toggle","CdkDialogContainer","ɵfac","t","i0","i1","DOCUMENT","i2","i3","i4","ɵcmp","type","selectors","hostAttrs","hostVars","hostBindings","$event","_onAnimationStart","_onAnimationDone","_config","role","ariaModal","ariaLabel","features","decls","vars","consts","template","dependencies","i5","styles","encapsulation","data","animation","MatBottomSheetModule","ɵmod","ɵinj","imports","DialogModule","MatCommonModule","PortalModule","MAT_BOTTOM_SHEET_DATA","InjectionToken","MatBottomSheetConfig","hasBackdrop","disableClose","closeOnNavigation","autoFocus","restoreFocus","MatBottomSheetRef","_ref","containerInstance","_afterOpened","phaseName","clearTimeout","_closeFallbackTimeout","close","_result","detachments","backdropClick","keydownEvents","keyCode","ESCAPE","hasModifierKey","preventDefault","dismiss","componentInstance","setTimeout","totalTime","detachBackdrop","exit","MAT_BOTTOM_SHEET_DEFAULT_OPTIONS","MatBottomSheet","_overlay","injector","_parentBottomSheet","_defaultOptions","_bottomSheetRefAtThisLevel","_dialog","Dialog","parent","_openedBottomSheetRef","set","componentOrTemplateRef","ref","_objectSpread","open","closeOnOverlayDetachments","maxWidth","container","scrollStrategy","scrollStrategies","block","positionStrategy","position","global","centerHorizontally","bottom","templateContext","bottomSheetRef","providers","cdkRef","_cdkConfig","provide","useValue","afterDismissed","_ref$containerInstanc","enter","ɵprov","token","factory","providedIn","_arrayLikeToArray","len","arr2","self","ReferenceError","o","allowArrayLike","it","isArray","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","_e","normalCompletion","didErr","step","_e2","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Super","getPrototypeOf","NewTarget","constructor","Reflect","construct","apply","_possibleConstructorReturn","esm_typeof","assertThisInitialized","bind","target","property","receiver","base","_superPropBase","object","Object","hasOwnProperty","desc","getOwnPropertyDescriptor","setPrototypeOf","__proto__","subClass","superClass","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_iterableToArray","iter","_setPrototypeOf","p","_toConsumableArray","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","toString","slice","test"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/util/ObjectUnsubscribedError.js","./node_modules/rxjs/dist/esm/internal/Subject.js","./node_modules/rxjs/dist/esm/internal/observable/empty.js","./node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleAsyncIterable.js","./node_modules/rxjs/dist/esm/internal/observable/from.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduled.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleObservable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleArray.js","./node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleIterable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleReadableStreamLike.js","./node_modules/rxjs/dist/esm/internal/observable/merge.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/filter.js","./node_modules/rxjs/dist/esm/internal/operators/map.js","./node_modules/rxjs/dist/esm/internal/operators/mergeAll.js","./node_modules/rxjs/dist/esm/internal/operators/mergeMap.js","./node_modules/rxjs/dist/esm/internal/operators/mergeInternals.js","./node_modules/rxjs/dist/esm/internal/operators/observeOn.js","./node_modules/rxjs/dist/esm/internal/operators/take.js","./node_modules/rxjs/dist/esm/internal/util/args.js","./node_modules/rxjs/dist/esm/internal/util/executeSchedule.js","./node_modules/rxjs/dist/esm/internal/util/isScheduler.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/@angular/material/fesm2022/bottom-sheet.mjs","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { createErrorClass } from './createErrorClass';\nexport const ObjectUnsubscribedError = createErrorClass((_super) => function ObjectUnsubscribedErrorImpl() {\n _super(this);\n this.name = 'ObjectUnsubscribedError';\n this.message = 'object unsubscribed';\n});\n","import { Observable } from './Observable';\nimport { Subscription, EMPTY_SUBSCRIPTION } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { arrRemove } from './util/arrRemove';\nimport { errorContext } from './util/errorContext';\nexport class Subject extends Observable {\n constructor() {\n super();\n this.closed = false;\n this.currentObservers = null;\n this.observers = [];\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n lift(operator) {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n }\n _throwIfClosed() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n }\n next(value) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n if (!this.currentObservers) {\n this.currentObservers = Array.from(this.observers);\n }\n for (const observer of this.currentObservers) {\n observer.next(value);\n }\n }\n });\n }\n error(err) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.hasError = this.isStopped = true;\n this.thrownError = err;\n const { observers } = this;\n while (observers.length) {\n observers.shift().error(err);\n }\n }\n });\n }\n complete() {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.isStopped = true;\n const { observers } = this;\n while (observers.length) {\n observers.shift().complete();\n }\n }\n });\n }\n unsubscribe() {\n this.isStopped = this.closed = true;\n this.observers = this.currentObservers = null;\n }\n get observed() {\n var _a;\n return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;\n }\n _trySubscribe(subscriber) {\n this._throwIfClosed();\n return super._trySubscribe(subscriber);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._checkFinalizedStatuses(subscriber);\n return this._innerSubscribe(subscriber);\n }\n _innerSubscribe(subscriber) {\n const { hasError, isStopped, observers } = this;\n if (hasError || isStopped) {\n return EMPTY_SUBSCRIPTION;\n }\n this.currentObservers = null;\n observers.push(subscriber);\n return new Subscription(() => {\n this.currentObservers = null;\n arrRemove(observers, subscriber);\n });\n }\n _checkFinalizedStatuses(subscriber) {\n const { hasError, thrownError, isStopped } = this;\n if (hasError) {\n subscriber.error(thrownError);\n }\n else if (isStopped) {\n subscriber.complete();\n }\n }\n asObservable() {\n const observable = new Observable();\n observable.source = this;\n return observable;\n }\n}\nSubject.create = (destination, source) => {\n return new AnonymousSubject(destination, source);\n};\nexport class AnonymousSubject extends Subject {\n constructor(destination, source) {\n super();\n this.destination = destination;\n this.source = source;\n }\n next(value) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);\n }\n error(err) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);\n }\n complete() {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);\n }\n _subscribe(subscriber) {\n var _a, _b;\n return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;\n }\n}\n","import { Observable } from '../Observable';\nexport const EMPTY = new Observable((subscriber) => subscriber.complete());\nexport function empty(scheduler) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n return new Observable((subscriber) => scheduler.schedule(() => subscriber.complete()));\n}\n","import { operate } from '../util/lift';\nexport function subscribeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay));\n });\n}\n","import { Observable } from '../Observable';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleAsyncIterable(input, scheduler) {\n if (!input) {\n throw new Error('Iterable cannot be null');\n }\n return new Observable((subscriber) => {\n executeSchedule(subscriber, scheduler, () => {\n const iterator = input[Symbol.asyncIterator]();\n executeSchedule(subscriber, scheduler, () => {\n iterator.next().then((result) => {\n if (result.done) {\n subscriber.complete();\n }\n else {\n subscriber.next(result.value);\n }\n });\n }, 0, true);\n });\n });\n}\n","import { scheduled } from '../scheduled/scheduled';\nimport { innerFrom } from './innerFrom';\nexport function from(input, scheduler) {\n return scheduler ? scheduled(input, scheduler) : innerFrom(input);\n}\n","import { scheduleObservable } from './scheduleObservable';\nimport { schedulePromise } from './schedulePromise';\nimport { scheduleArray } from './scheduleArray';\nimport { scheduleIterable } from './scheduleIterable';\nimport { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isPromise } from '../util/isPromise';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isIterable } from '../util/isIterable';\nimport { isAsyncIterable } from '../util/isAsyncIterable';\nimport { createInvalidObservableTypeError } from '../util/throwUnobservableError';\nimport { isReadableStreamLike } from '../util/isReadableStreamLike';\nimport { scheduleReadableStreamLike } from './scheduleReadableStreamLike';\nexport function scheduled(input, scheduler) {\n if (input != null) {\n if (isInteropObservable(input)) {\n return scheduleObservable(input, scheduler);\n }\n if (isArrayLike(input)) {\n return scheduleArray(input, scheduler);\n }\n if (isPromise(input)) {\n return schedulePromise(input, scheduler);\n }\n if (isAsyncIterable(input)) {\n return scheduleAsyncIterable(input, scheduler);\n }\n if (isIterable(input)) {\n return scheduleIterable(input, scheduler);\n }\n if (isReadableStreamLike(input)) {\n return scheduleReadableStreamLike(input, scheduler);\n }\n }\n throw createInvalidObservableTypeError(input);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function scheduleObservable(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nexport function scheduleArray(input, scheduler) {\n return new Observable((subscriber) => {\n let i = 0;\n return scheduler.schedule(function () {\n if (i === input.length) {\n subscriber.complete();\n }\n else {\n subscriber.next(input[i++]);\n if (!subscriber.closed) {\n this.schedule();\n }\n }\n });\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function schedulePromise(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from '../util/isFunction';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleIterable(input, scheduler) {\n return new Observable((subscriber) => {\n let iterator;\n executeSchedule(subscriber, scheduler, () => {\n iterator = input[Symbol_iterator]();\n executeSchedule(subscriber, scheduler, () => {\n let value;\n let done;\n try {\n ({ value, done } = iterator.next());\n }\n catch (err) {\n subscriber.error(err);\n return;\n }\n if (done) {\n subscriber.complete();\n }\n else {\n subscriber.next(value);\n }\n }, 0, true);\n });\n return () => isFunction(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return();\n });\n}\n","import { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { readableStreamLikeToAsyncGenerator } from '../util/isReadableStreamLike';\nexport function scheduleReadableStreamLike(input, scheduler) {\n return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);\n}\n","import { mergeAll } from '../operators/mergeAll';\nimport { innerFrom } from './innerFrom';\nimport { EMPTY } from './empty';\nimport { popNumber, popScheduler } from '../util/args';\nimport { from } from './from';\nexport function merge(...args) {\n const scheduler = popScheduler(args);\n const concurrent = popNumber(args, Infinity);\n const sources = args;\n return !sources.length\n ?\n EMPTY\n : sources.length === 1\n ?\n innerFrom(sources[0])\n :\n mergeAll(concurrent)(from(sources, scheduler));\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","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}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function map(project, thisArg) {\n return operate((source, subscriber) => {\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n subscriber.next(project.call(thisArg, value, index++));\n }));\n });\n}\n","import { mergeMap } from './mergeMap';\nimport { identity } from '../util/identity';\nexport function mergeAll(concurrent = Infinity) {\n return mergeMap(identity, concurrent);\n}\n","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 }\n else if (typeof resultSelector === 'number') {\n concurrent = resultSelector;\n }\n return operate((source, subscriber) => mergeInternals(source, subscriber, project, concurrent));\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { executeSchedule } from '../util/executeSchedule';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function mergeInternals(source, subscriber, project, concurrent, onBeforeNext, expand, innerSubScheduler, additionalFinalizer) {\n const buffer = [];\n let active = 0;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => {\n if (isComplete && !buffer.length && !active) {\n subscriber.complete();\n }\n };\n const outerNext = (value) => (active < concurrent ? doInnerSub(value) : buffer.push(value));\n const doInnerSub = (value) => {\n expand && subscriber.next(value);\n active++;\n let innerComplete = false;\n innerFrom(project(value, index++)).subscribe(createOperatorSubscriber(subscriber, (innerValue) => {\n onBeforeNext === null || onBeforeNext === void 0 ? void 0 : onBeforeNext(innerValue);\n if (expand) {\n outerNext(innerValue);\n }\n else {\n subscriber.next(innerValue);\n }\n }, () => {\n innerComplete = true;\n }, undefined, () => {\n if (innerComplete) {\n try {\n active--;\n while (buffer.length && active < concurrent) {\n const bufferedValue = buffer.shift();\n if (innerSubScheduler) {\n executeSchedule(subscriber, innerSubScheduler, () => doInnerSub(bufferedValue));\n }\n else {\n doInnerSub(bufferedValue);\n }\n }\n checkComplete();\n }\n catch (err) {\n subscriber.error(err);\n }\n }\n }));\n };\n source.subscribe(createOperatorSubscriber(subscriber, outerNext, () => {\n isComplete = true;\n checkComplete();\n }));\n return () => {\n additionalFinalizer === null || additionalFinalizer === void 0 ? void 0 : additionalFinalizer();\n };\n}\n","import { executeSchedule } from '../util/executeSchedule';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function observeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, (value) => executeSchedule(subscriber, scheduler, () => subscriber.next(value), delay), () => executeSchedule(subscriber, scheduler, () => subscriber.complete(), delay), (err) => executeSchedule(subscriber, scheduler, () => subscriber.error(err), delay)));\n });\n}\n","import { EMPTY } from '../observable/empty';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function take(count) {\n return count <= 0\n ?\n () => EMPTY\n : operate((source, subscriber) => {\n let seen = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n if (++seen <= count) {\n subscriber.next(value);\n if (count <= seen) {\n subscriber.complete();\n }\n }\n }));\n });\n}\n","import { isFunction } from './isFunction';\nimport { isScheduler } from './isScheduler';\nfunction last(arr) {\n return arr[arr.length - 1];\n}\nexport function popResultSelector(args) {\n return isFunction(last(args)) ? args.pop() : undefined;\n}\nexport function popScheduler(args) {\n return isScheduler(last(args)) ? args.pop() : undefined;\n}\nexport function popNumber(args, defaultValue) {\n return typeof last(args) === 'number' ? args.pop() : defaultValue;\n}\n","export function executeSchedule(parentSubscription, scheduler, work, delay = 0, repeat = false) {\n const scheduleSubscription = scheduler.schedule(function () {\n work();\n if (repeat) {\n parentSubscription.add(this.schedule(null, delay));\n }\n else {\n this.unsubscribe();\n }\n }, delay);\n parentSubscription.add(scheduleSubscription);\n if (!repeat) {\n return scheduleSubscription;\n }\n}\n","import { isFunction } from './isFunction';\nexport function isScheduler(value) {\n return value && isFunction(value.schedule);\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","import * as i2 from '@angular/cdk/dialog';\nimport { CdkDialogContainer, DialogModule, Dialog } from '@angular/cdk/dialog';\nimport * as i5 from '@angular/cdk/portal';\nimport { PortalModule } from '@angular/cdk/portal';\nimport * as i0 from '@angular/core';\nimport { EventEmitter, Component, ChangeDetectionStrategy, ViewEncapsulation, Optional, Inject, NgModule, InjectionToken, Injectable, SkipSelf } from '@angular/core';\nimport { AnimationDurations, AnimationCurves, MatCommonModule } from '@angular/material/core';\nimport * as i1 from '@angular/cdk/a11y';\nimport * as i4 from '@angular/cdk/layout';\nimport { Breakpoints } from '@angular/cdk/layout';\nimport * as i3 from '@angular/cdk/overlay';\nimport { DOCUMENT } from '@angular/common';\nimport { trigger, state, style, transition, group, animate, query, animateChild } from '@angular/animations';\nimport { ESCAPE, hasModifierKey } from '@angular/cdk/keycodes';\nimport { Subject, merge } from 'rxjs';\nimport { filter, take } from 'rxjs/operators';\n\n/** Animations used by the Material bottom sheet. */\nconst matBottomSheetAnimations = {\n /** Animation that shows and hides a bottom sheet. */\n bottomSheetState: trigger('state', [\n state('void, hidden', style({ transform: 'translateY(100%)' })),\n state('visible', style({ transform: 'translateY(0%)' })),\n transition('visible => void, visible => hidden', group([\n animate(`${AnimationDurations.COMPLEX} ${AnimationCurves.ACCELERATION_CURVE}`),\n query('@*', animateChild(), { optional: true }),\n ])),\n transition('void => visible', group([\n animate(`${AnimationDurations.EXITING} ${AnimationCurves.DECELERATION_CURVE}`),\n query('@*', animateChild(), { optional: true }),\n ])),\n ]),\n};\n\n/**\n * Internal component that wraps user-provided bottom sheet content.\n * @docs-private\n */\nclass MatBottomSheetContainer extends CdkDialogContainer {\n constructor(elementRef, focusTrapFactory, document, config, checker, ngZone, overlayRef, breakpointObserver, _changeDetectorRef, focusMonitor) {\n super(elementRef, focusTrapFactory, document, config, checker, ngZone, overlayRef, focusMonitor);\n this._changeDetectorRef = _changeDetectorRef;\n /** The state of the bottom sheet animations. */\n this._animationState = 'void';\n /** Emits whenever the state of the animation changes. */\n this._animationStateChanged = new EventEmitter();\n this._breakpointSubscription = breakpointObserver\n .observe([Breakpoints.Medium, Breakpoints.Large, Breakpoints.XLarge])\n .subscribe(() => {\n this._toggleClass('mat-bottom-sheet-container-medium', breakpointObserver.isMatched(Breakpoints.Medium));\n this._toggleClass('mat-bottom-sheet-container-large', breakpointObserver.isMatched(Breakpoints.Large));\n this._toggleClass('mat-bottom-sheet-container-xlarge', breakpointObserver.isMatched(Breakpoints.XLarge));\n });\n }\n /** Begin animation of bottom sheet entrance into view. */\n enter() {\n if (!this._destroyed) {\n this._animationState = 'visible';\n this._changeDetectorRef.detectChanges();\n }\n }\n /** Begin animation of the bottom sheet exiting from view. */\n exit() {\n if (!this._destroyed) {\n this._animationState = 'hidden';\n this._changeDetectorRef.markForCheck();\n }\n }\n ngOnDestroy() {\n super.ngOnDestroy();\n this._breakpointSubscription.unsubscribe();\n this._destroyed = true;\n }\n _onAnimationDone(event) {\n if (event.toState === 'visible') {\n this._trapFocus();\n }\n this._animationStateChanged.emit(event);\n }\n _onAnimationStart(event) {\n this._animationStateChanged.emit(event);\n }\n _captureInitialFocus() { }\n _toggleClass(cssClass, add) {\n this._elementRef.nativeElement.classList.toggle(cssClass, add);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatBottomSheetContainer, deps: [{ token: i0.ElementRef }, { token: i1.FocusTrapFactory }, { token: DOCUMENT, optional: true }, { token: i2.DialogConfig }, { token: i1.InteractivityChecker }, { token: i0.NgZone }, { token: i3.OverlayRef }, { token: i4.BreakpointObserver }, { token: i0.ChangeDetectorRef }, { token: i1.FocusMonitor }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatBottomSheetContainer, selector: \"mat-bottom-sheet-container\", host: { attributes: { \"tabindex\": \"-1\" }, listeners: { \"@state.start\": \"_onAnimationStart($event)\", \"@state.done\": \"_onAnimationDone($event)\" }, properties: { \"attr.role\": \"_config.role\", \"attr.aria-modal\": \"_config.ariaModal\", \"attr.aria-label\": \"_config.ariaLabel\", \"@state\": \"_animationState\" }, classAttribute: \"mat-bottom-sheet-container\" }, usesInheritance: true, ngImport: i0, template: \"<ng-template cdkPortalOutlet></ng-template>\\r\\n\", styles: [\".mat-bottom-sheet-container{padding:8px 16px;min-width:100vw;box-sizing:border-box;display:block;outline:0;max-height:80vh;overflow:auto}.cdk-high-contrast-active .mat-bottom-sheet-container{outline:1px solid}.mat-bottom-sheet-container-xlarge,.mat-bottom-sheet-container-large,.mat-bottom-sheet-container-medium{border-top-left-radius:4px;border-top-right-radius:4px}.mat-bottom-sheet-container-medium{min-width:384px;max-width:calc(100vw - 128px)}.mat-bottom-sheet-container-large{min-width:512px;max-width:calc(100vw - 256px)}.mat-bottom-sheet-container-xlarge{min-width:576px;max-width:calc(100vw - 384px)}\"], dependencies: [{ kind: \"directive\", type: i5.CdkPortalOutlet, selector: \"[cdkPortalOutlet]\", inputs: [\"cdkPortalOutlet\"], outputs: [\"attached\"], exportAs: [\"cdkPortalOutlet\"] }], animations: [matBottomSheetAnimations.bottomSheetState], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatBottomSheetContainer, decorators: [{\n type: Component,\n args: [{ selector: 'mat-bottom-sheet-container', changeDetection: ChangeDetectionStrategy.Default, encapsulation: ViewEncapsulation.None, animations: [matBottomSheetAnimations.bottomSheetState], host: {\n 'class': 'mat-bottom-sheet-container',\n 'tabindex': '-1',\n '[attr.role]': '_config.role',\n '[attr.aria-modal]': '_config.ariaModal',\n '[attr.aria-label]': '_config.ariaLabel',\n '[@state]': '_animationState',\n '(@state.start)': '_onAnimationStart($event)',\n '(@state.done)': '_onAnimationDone($event)',\n }, template: \"<ng-template cdkPortalOutlet></ng-template>\\r\\n\", styles: [\".mat-bottom-sheet-container{padding:8px 16px;min-width:100vw;box-sizing:border-box;display:block;outline:0;max-height:80vh;overflow:auto}.cdk-high-contrast-active .mat-bottom-sheet-container{outline:1px solid}.mat-bottom-sheet-container-xlarge,.mat-bottom-sheet-container-large,.mat-bottom-sheet-container-medium{border-top-left-radius:4px;border-top-right-radius:4px}.mat-bottom-sheet-container-medium{min-width:384px;max-width:calc(100vw - 128px)}.mat-bottom-sheet-container-large{min-width:512px;max-width:calc(100vw - 256px)}.mat-bottom-sheet-container-xlarge{min-width:576px;max-width:calc(100vw - 384px)}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.FocusTrapFactory }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: i2.DialogConfig }, { type: i1.InteractivityChecker }, { type: i0.NgZone }, { type: i3.OverlayRef }, { type: i4.BreakpointObserver }, { type: i0.ChangeDetectorRef }, { type: i1.FocusMonitor }]; } });\n\nclass MatBottomSheetModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatBottomSheetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatBottomSheetModule, declarations: [MatBottomSheetContainer], imports: [DialogModule, MatCommonModule, PortalModule], exports: [MatBottomSheetContainer, MatCommonModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatBottomSheetModule, imports: [DialogModule, MatCommonModule, PortalModule, MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatBottomSheetModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [DialogModule, MatCommonModule, PortalModule],\n exports: [MatBottomSheetContainer, MatCommonModule],\n declarations: [MatBottomSheetContainer],\n }]\n }] });\n\n/** Injection token that can be used to access the data that was passed in to a bottom sheet. */\nconst MAT_BOTTOM_SHEET_DATA = new InjectionToken('MatBottomSheetData');\n/**\n * Configuration used when opening a bottom sheet.\n */\nclass MatBottomSheetConfig {\n constructor() {\n /** Data being injected into the child component. */\n this.data = null;\n /** Whether the bottom sheet has a backdrop. */\n this.hasBackdrop = true;\n /** Whether the user can use escape or clicking outside to close the bottom sheet. */\n this.disableClose = false;\n /** Aria label to assign to the bottom sheet element. */\n this.ariaLabel = null;\n /** Whether this is a modal bottom sheet. Used to set the `aria-modal` attribute. */\n this.ariaModal = true;\n /**\n * Whether the bottom sheet should close when the user goes backwards/forwards in history.\n * Note that this usually doesn't include clicking on links (unless the user is using\n * the `HashLocationStrategy`).\n */\n this.closeOnNavigation = true;\n // Note that this is set to 'dialog' by default, because while the a11y recommendations\n // are to focus the first focusable element, doing so prevents screen readers from reading out the\n // rest of the bottom sheet content.\n /**\n * Where the bottom sheet should focus on open.\n * @breaking-change 14.0.0 Remove boolean option from autoFocus. Use string or\n * AutoFocusTarget instead.\n */\n this.autoFocus = 'dialog';\n /**\n * Whether the bottom sheet should restore focus to the\n * previously-focused element, after it's closed.\n */\n this.restoreFocus = true;\n }\n}\n\n/**\n * Reference to a bottom sheet dispatched from the bottom sheet service.\n */\nclass MatBottomSheetRef {\n /** Instance of the component making up the content of the bottom sheet. */\n get instance() {\n return this._ref.componentInstance;\n }\n constructor(_ref, config, containerInstance) {\n this._ref = _ref;\n /** Subject for notifying the user that the bottom sheet has opened and appeared. */\n this._afterOpened = new Subject();\n this.containerInstance = containerInstance;\n this.disableClose = config.disableClose;\n // Emit when opening animation completes\n containerInstance._animationStateChanged\n .pipe(filter(event => event.phaseName === 'done' && event.toState === 'visible'), take(1))\n .subscribe(() => {\n this._afterOpened.next();\n this._afterOpened.complete();\n });\n // Dispose overlay when closing animation is complete\n containerInstance._animationStateChanged\n .pipe(filter(event => event.phaseName === 'done' && event.toState === 'hidden'), take(1))\n .subscribe(() => {\n clearTimeout(this._closeFallbackTimeout);\n this._ref.close(this._result);\n });\n _ref.overlayRef.detachments().subscribe(() => {\n this._ref.close(this._result);\n });\n merge(this.backdropClick(), this.keydownEvents().pipe(filter(event => event.keyCode === ESCAPE))).subscribe(event => {\n if (!this.disableClose &&\n (event.type !== 'keydown' || !hasModifierKey(event))) {\n event.preventDefault();\n this.dismiss();\n }\n });\n }\n /**\n * Dismisses the bottom sheet.\n * @param result Data to be passed back to the bottom sheet opener.\n */\n dismiss(result) {\n if (!this.containerInstance) {\n return;\n }\n // Transition the backdrop in parallel to the bottom sheet.\n this.containerInstance._animationStateChanged\n .pipe(filter(event => event.phaseName === 'start'), take(1))\n .subscribe(event => {\n // The logic that disposes of the overlay depends on the exit animation completing, however\n // it isn't guaranteed if the parent view is destroyed while it's running. Add a fallback\n // timeout which will clean everything up if the animation hasn't fired within the specified\n // amount of time plus 100ms. We don't need to run this outside the NgZone, because for the\n // vast majority of cases the timeout will have been cleared before it has fired.\n this._closeFallbackTimeout = setTimeout(() => {\n this._ref.close(this._result);\n }, event.totalTime + 100);\n this._ref.overlayRef.detachBackdrop();\n });\n this._result = result;\n this.containerInstance.exit();\n this.containerInstance = null;\n }\n /** Gets an observable that is notified when the bottom sheet is finished closing. */\n afterDismissed() {\n return this._ref.closed;\n }\n /** Gets an observable that is notified when the bottom sheet has opened and appeared. */\n afterOpened() {\n return this._afterOpened;\n }\n /**\n * Gets an observable that emits when the overlay's backdrop has been clicked.\n */\n backdropClick() {\n return this._ref.backdropClick;\n }\n /**\n * Gets an observable that emits when keydown events are targeted on the overlay.\n */\n keydownEvents() {\n return this._ref.keydownEvents;\n }\n}\n\n/** Injection token that can be used to specify default bottom sheet options. */\nconst MAT_BOTTOM_SHEET_DEFAULT_OPTIONS = new InjectionToken('mat-bottom-sheet-default-options');\n/**\n * Service to trigger Material Design bottom sheets.\n */\nclass MatBottomSheet {\n /** Reference to the currently opened bottom sheet. */\n get _openedBottomSheetRef() {\n const parent = this._parentBottomSheet;\n return parent ? parent._openedBottomSheetRef : this._bottomSheetRefAtThisLevel;\n }\n set _openedBottomSheetRef(value) {\n if (this._parentBottomSheet) {\n this._parentBottomSheet._openedBottomSheetRef = value;\n }\n else {\n this._bottomSheetRefAtThisLevel = value;\n }\n }\n constructor(_overlay, injector, _parentBottomSheet, _defaultOptions) {\n this._overlay = _overlay;\n this._parentBottomSheet = _parentBottomSheet;\n this._defaultOptions = _defaultOptions;\n this._bottomSheetRefAtThisLevel = null;\n this._dialog = injector.get(Dialog);\n }\n open(componentOrTemplateRef, config) {\n const _config = { ...(this._defaultOptions || new MatBottomSheetConfig()), ...config };\n let ref;\n this._dialog.open(componentOrTemplateRef, {\n ..._config,\n // Disable closing since we need to sync it up to the animation ourselves.\n disableClose: true,\n // Disable closing on detachments so that we can sync up the animation.\n closeOnOverlayDetachments: false,\n maxWidth: '100%',\n container: MatBottomSheetContainer,\n scrollStrategy: _config.scrollStrategy || this._overlay.scrollStrategies.block(),\n positionStrategy: this._overlay.position().global().centerHorizontally().bottom('0'),\n templateContext: () => ({ bottomSheetRef: ref }),\n providers: (cdkRef, _cdkConfig, container) => {\n ref = new MatBottomSheetRef(cdkRef, _config, container);\n return [\n { provide: MatBottomSheetRef, useValue: ref },\n { provide: MAT_BOTTOM_SHEET_DATA, useValue: _config.data },\n ];\n },\n });\n // When the bottom sheet is dismissed, clear the reference to it.\n ref.afterDismissed().subscribe(() => {\n // Clear the bottom sheet ref if it hasn't already been replaced by a newer one.\n if (this._openedBottomSheetRef === ref) {\n this._openedBottomSheetRef = null;\n }\n });\n if (this._openedBottomSheetRef) {\n // If a bottom sheet is already in view, dismiss it and enter the\n // new bottom sheet after exit animation is complete.\n this._openedBottomSheetRef.afterDismissed().subscribe(() => ref.containerInstance?.enter());\n this._openedBottomSheetRef.dismiss();\n }\n else {\n // If no bottom sheet is in view, enter the new bottom sheet.\n ref.containerInstance.enter();\n }\n this._openedBottomSheetRef = ref;\n return ref;\n }\n /**\n * Dismisses the currently-visible bottom sheet.\n * @param result Data to pass to the bottom sheet instance.\n */\n dismiss(result) {\n if (this._openedBottomSheetRef) {\n this._openedBottomSheetRef.dismiss(result);\n }\n }\n ngOnDestroy() {\n if (this._bottomSheetRefAtThisLevel) {\n this._bottomSheetRefAtThisLevel.dismiss();\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatBottomSheet, deps: [{ token: i3.Overlay }, { token: i0.Injector }, { token: MatBottomSheet, optional: true, skipSelf: true }, { token: MAT_BOTTOM_SHEET_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatBottomSheet, providedIn: MatBottomSheetModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatBottomSheet, decorators: [{\n type: Injectable,\n args: [{ providedIn: MatBottomSheetModule }]\n }], ctorParameters: function () { return [{ type: i3.Overlay }, { type: i0.Injector }, { type: MatBottomSheet, decorators: [{\n type: Optional\n }, {\n type: SkipSelf\n }] }, { type: MatBottomSheetConfig, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_BOTTOM_SHEET_DEFAULT_OPTIONS]\n }] }]; } });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MAT_BOTTOM_SHEET_DATA, MAT_BOTTOM_SHEET_DEFAULT_OPTIONS, MatBottomSheet, MatBottomSheetConfig, MatBottomSheetContainer, MatBottomSheetModule, MatBottomSheetRef, matBottomSheetAnimations };\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41]} \ No newline at end of file diff --git a/2885.42c5c37545ae029e.js b/2885.42c5c37545ae029e.js new file mode 100644 index 0000000..863b7cf --- /dev/null +++ b/2885.42c5c37545ae029e.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[2885],{50253:(A,m,e)=>{e.d(m,{x:()=>a});var h=e(95106),d=e(78069),p=e(48047),O=e(4089),I=e(20265),v=e(24582),b=e(28694),f=e(90833),y=e(17714),S=(0,e(27543).d)(function(l){return function(){l(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),n=e(39663),s=e(12309),a=function(){var l=function(u){(0,v.Z)(E,u);var c=(0,b.Z)(E);function E(){var r;return(0,d.Z)(this,E),(r=c.call(this)).closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return(0,p.Z)(E,[{key:"lift",value:function(t){var i=new g(this,this);return i.operator=t,i}},{key:"_throwIfClosed",value:function(){if(this.closed)throw new S}},{key:"next",value:function(t){var i=this;(0,s.x)(function(){if(i._throwIfClosed(),!i.isStopped){i.currentObservers||(i.currentObservers=Array.from(i.observers));var Z,C=(0,h.Z)(i.currentObservers);try{for(C.s();!(Z=C.n()).done;)Z.value.next(t)}catch(w){C.e(w)}finally{C.f()}}})}},{key:"error",value:function(t){var i=this;(0,s.x)(function(){if(i._throwIfClosed(),!i.isStopped){i.hasError=i.isStopped=!0,i.thrownError=t;for(var C=i.observers;C.length;)C.shift().error(t)}})}},{key:"complete",value:function(){var t=this;(0,s.x)(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var i=t.observers;i.length;)i.shift().complete()}})}},{key:"unsubscribe",value:function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}},{key:"observed",get:function(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}},{key:"_trySubscribe",value:function(t){return this._throwIfClosed(),(0,O.Z)((0,I.Z)(E.prototype),"_trySubscribe",this).call(this,t)}},{key:"_subscribe",value:function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}},{key:"_innerSubscribe",value:function(t){var i=this,x=this.observers;return this.hasError||this.isStopped?y.Lc:(this.currentObservers=null,x.push(t),new y.w0(function(){i.currentObservers=null,(0,n.P)(x,t)}))}},{key:"_checkFinalizedStatuses",value:function(t){var Z=this.isStopped;this.hasError?t.error(this.thrownError):Z&&t.complete()}},{key:"asObservable",value:function(){var t=new f.y;return t.source=this,t}}]),E}(f.y);return l.create=function(u,c){return new g(u,c)},l}(),g=function(l){(0,v.Z)(c,l);var u=(0,b.Z)(c);function c(E,r){var t;return(0,d.Z)(this,c),(t=u.call(this)).destination=E,t.source=r,t}return(0,p.Z)(c,[{key:"next",value:function(r){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===i||i.call(t,r)}},{key:"error",value:function(r){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===i||i.call(t,r)}},{key:"complete",value:function(){var r,t;null===(t=null===(r=this.destination)||void 0===r?void 0:r.complete)||void 0===t||t.call(r)}},{key:"_subscribe",value:function(r){var t,i;return null!==(i=null===(t=this.source)||void 0===t?void 0:t.subscribe(r))&&void 0!==i?i:y.Lc}}]),c}(a)},78947:(A,m,e)=>{e.d(m,{H:()=>I});var h=e(90833),d=e(96936),p=e(59867),O=e(97885);function I(){var v=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,b=arguments.length>1?arguments[1]:void 0,f=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d.P,y=-1;return null!=b&&((0,p.K)(b)?f=b:y=b),new h.y(function(o){var S=(0,O.q)(v)?+v-f.now():v;S<0&&(S=0);var n=0;return f.schedule(function(){o.closed||(o.next(n++),0<=y?this.schedule(void 0,y):o.complete())},S)})}},50635:(A,m,e)=>{e.d(m,{U:()=>p});var h=e(41944),d=e(93945);function p(O,I){return(0,h.e)(function(v,b){var f=0;v.subscribe((0,d.x)(b,function(y){b.next(O.call(I,y,f++))}))})}},49525:(A,m,e)=>{e.d(m,{z:()=>f});var h=e(50635),d=e(54987),p=e(41944),O=e(1817),I=e(93945),b=e(92971);function f(y,o){var S=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;return(0,b.m)(o)?f(function(n,s){return(0,h.U)(function(a,g){return o(n,a,s,g)})((0,d.Xf)(y(n,s)))},S):("number"==typeof o&&(S=o),(0,p.e)(function(n,s){return function v(y,o,S,n,s,a,g,l){var u=[],c=0,E=0,r=!1,t=function(){r&&!u.length&&!c&&o.complete()},i=function(x){return c<n?C(x):u.push(x)},C=function Z(x){a&&o.next(x),c++;var w=!1;(0,d.Xf)(S(x,E++)).subscribe((0,I.x)(o,function(P){s?.(P),a?i(P):o.next(P)},function(){w=!0},void 0,function(){if(w)try{c--;for(var P=function(){var M=u.shift();g?(0,O.f)(o,g,function(){return Z(M)}):Z(M)};u.length&&c<n;)P();t()}catch(D){o.error(D)}}))};return y.subscribe((0,I.x)(o,i,function(){r=!0,t()})),function(){l?.()}}(n,s,y,S)}))}},75417:(A,m,e)=>{e.d(m,{o:()=>S});var h=e(78069),d=e(48047),p=e(4089),O=e(20265),I=e(24582),v=e(28694),f=function(n){(0,I.Z)(a,n);var s=(0,v.Z)(a);function a(g,l){return(0,h.Z)(this,a),s.call(this)}return(0,d.Z)(a,[{key:"schedule",value:function(l){return this}}]),a}(e(17714).w0),y={setInterval:function(n){function s(a,g){return n.apply(this,arguments)}return s.toString=function(){return n.toString()},s}(function(n,s){for(var a=y.delegate,g=arguments.length,l=new Array(g>2?g-2:0),u=2;u<g;u++)l[u-2]=arguments[u];return a?.setInterval?a.setInterval.apply(a,[n,s].concat(l)):setInterval.apply(void 0,[n,s].concat(l))}),clearInterval:function(n){function s(a){return n.apply(this,arguments)}return s.toString=function(){return n.toString()},s}(function(n){var s=y.delegate;return(s?.clearInterval||clearInterval)(n)}),delegate:void 0},o=e(39663),S=function(n){(0,I.Z)(a,n);var s=(0,v.Z)(a);function a(g,l){var u;return(0,h.Z)(this,a),(u=s.call(this,g,l)).scheduler=g,u.work=l,u.pending=!1,u}return(0,d.Z)(a,[{key:"schedule",value:function(l){var c,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=l;var E=this.id,r=this.scheduler;return null!=E&&(this.id=this.recycleAsyncId(r,E,u)),this.pending=!0,this.delay=u,this.id=null!==(c=this.id)&&void 0!==c?c:this.requestAsyncId(r,this.id,u),this}},{key:"requestAsyncId",value:function(l,u){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return y.setInterval(l.flush.bind(l,this),c)}},{key:"recycleAsyncId",value:function(l,u){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!=c&&this.delay===c&&!1===this.pending)return u;null!=u&&y.clearInterval(u)}},{key:"execute",value:function(l,u){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var c=this._execute(l,u);if(c)return c;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(l,u){var E,c=!1;try{this.work(l)}catch(r){c=!0,E=r||new Error("Scheduled action threw falsy error")}if(c)return this.unsubscribe(),E}},{key:"unsubscribe",value:function(){if(!this.closed){var l=this.id,u=this.scheduler,c=u.actions;this.work=this.state=this.scheduler=null,this.pending=!1,(0,o.P)(c,this),null!=l&&(this.id=this.recycleAsyncId(u,l,null)),this.delay=null,(0,p.Z)((0,O.Z)(a.prototype),"unsubscribe",this).call(this)}}}]),a}(f)},41010:(A,m,e)=>{e.d(m,{v:()=>b});var h=e(78069),d=e(48047),p=e(24582),O=e(28694),I=e(67654),v=function(){function f(y){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f.now;(0,h.Z)(this,f),this.schedulerActionCtor=y,this.now=o}return(0,d.Z)(f,[{key:"schedule",value:function(o){var S=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return new this.schedulerActionCtor(this,o).schedule(n,S)}}]),f}();v.now=I.l.now;var b=function(f){(0,p.Z)(o,f);var y=(0,O.Z)(o);function o(S){var n,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v.now;return(0,h.Z)(this,o),(n=y.call(this,S,s)).actions=[],n._active=!1,n}return(0,d.Z)(o,[{key:"flush",value:function(n){var s=this.actions;if(this._active)s.push(n);else{var a;this._active=!0;do{if(a=n.execute(n.state,n.delay))break}while(n=s.shift());if(this._active=!1,a){for(;n=s.shift();)n.unsubscribe();throw a}}}}]),o}(v)},96936:(A,m,e)=>{e.d(m,{P:()=>O,z:()=>p});var h=e(75417),p=new(e(41010).v)(h.o),O=p},67654:(A,m,e)=>{e.d(m,{l:()=>h});var h={now:function(){return(h.delegate||Date).now()},delegate:void 0}},1817:(A,m,e)=>{function h(d,p,O){var I=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,v=arguments.length>4&&void 0!==arguments[4]&&arguments[4],b=p.schedule(function(){O(),v?d.add(this.schedule(null,I)):this.unsubscribe()},I);if(d.add(b),!v)return b}e.d(m,{f:()=>h})},97885:(A,m,e)=>{function h(d){return d instanceof Date&&!isNaN(d)}e.d(m,{q:()=>h})},59867:(A,m,e)=>{e.d(m,{K:()=>d});var h=e(92971);function d(p){return p&&(0,h.m)(p.schedule)}},8091:(A,m,e)=>{function h(d){if(Array.isArray(d))return d}e.d(m,{Z:()=>h})},8217:(A,m,e)=>{function h(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}e.d(m,{Z:()=>h})},32090:(A,m,e)=>{e.d(m,{Z:()=>I});var h=e(8091),p=e(44206),O=e(8217);function I(v,b){return(0,h.Z)(v)||function d(v,b){var f=null==v?null:typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(null!=f){var y,o,S,n,s=[],a=!0,g=!1;try{if(S=(f=f.call(v)).next,0===b){if(Object(f)!==f)return;a=!1}else for(;!(a=(y=S.call(f)).done)&&(s.push(y.value),s.length!==b);a=!0);}catch(l){g=!0,o=l}finally{try{if(!a&&null!=f.return&&(n=f.return(),Object(n)!==n))return}finally{if(g)throw o}}return s}}(v,b)||(0,p.Z)(v,b)||(0,O.Z)()}}}]); +//# sourceMappingURL=2885.42c5c37545ae029e.js.map \ No newline at end of file diff --git a/2885.42c5c37545ae029e.js.map b/2885.42c5c37545ae029e.js.map new file mode 100644 index 0000000..1e2ef8e --- /dev/null +++ b/2885.42c5c37545ae029e.js.map @@ -0,0 +1 @@ +{"version":3,"file":"2885.42c5c37545ae029e.js","mappings":"yMACaA,cAA0BC,GAAiB,SAACC,GAAM,OAAK,WAChEA,EAAOC,MACPA,KAAKC,KAAO,0BACZD,KAAKE,QAAU,qBACnB,CAAC,yBCAYC,EAAO,eAAPA,EAAO,SAAAC,IAAAC,OAAAF,EAAAC,GAAA,IAAAL,KAAAO,KAAAH,GAChB,SAAAA,IAAc,IAAAI,EAAAC,cAAAR,KAAAG,IACVI,EAAAR,EAAAU,KAAAT,OACKU,QAAS,EACdH,EAAKI,iBAAmB,KACxBJ,EAAKK,UAAY,GACjBL,EAAKM,WAAY,EACjBN,EAAKO,UAAW,EAChBP,EAAKQ,YAAc,KAAKR,CAC5B,CAACS,cAAAb,EAAA,EAAAc,IAAA,OAAAC,MACD,SAAKC,GACD,IAAMC,EAAU,IAAIC,EAAiBrB,KAAMA,MAC3CoB,SAAQD,SAAWA,EACZC,CAC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,EAAAL,EAAAU,SAAAD,OAAAJ,QAAA,MACA,SACA,GAAAG,EAAA,MAAAJ,CACA,CACA,CACA,OAAAE,CAAA,CAEA,CDrBgCP,CAAoBP,EAAA7E,KAAA,EAAYgG,EAAAb,GAA0BN,EAAA7E,KAAA,EAAYiG,EAAAd,IACtG","names":["ObjectUnsubscribedError","createErrorClass","_super","this","name","message","Subject","_Observable","_inherits","_createSuper","_this","_classCallCheck","call","closed","currentObservers","observers","isStopped","hasError","thrownError","_createClass","key","value","operator","subject","AnonymousSubject","_this2","errorContext","_throwIfClosed","Array","from","_step","_iterator","_createForOfIteratorHelper","s","n","done","next","err","e","f","_this3","length","shift","error","_this4","complete","get","_a","subscriber","_get","_getPrototypeOf","prototype","_checkFinalizedStatuses","_innerSubscribe","_this5","EMPTY_SUBSCRIPTION","push","Subscription","arrRemove","observable","Observable","source","create","destination","_Subject","_super2","_this6","_b","subscribe","timer","dueTime","arguments","undefined","intervalOrScheduler","scheduler","asyncScheduler","intervalDuration","isScheduler","due","isValidDate","now","schedule","map","project","thisArg","operate","index","createOperatorSubscriber","mergeMap","resultSelector","concurrent","Infinity","isFunction","a","i","b","ii","innerFrom","mergeInternals","onBeforeNext","expand","innerSubScheduler","additionalFinalizer","buffer","active","isComplete","checkComplete","outerNext","doInnerSub","innerComplete","innerValue","_loop","bufferedValue","executeSchedule","Action","_Subscription","work","state","intervalProvider","setInterval","_setInterval","_x","_x2","apply","toString","handler","timeout","delegate","_len","args","_key","concat","clearInterval","_clearInterval","_x3","handle","AsyncAction","_Action","pending","delay","id","recycleAsyncId","requestAsyncId","_id","flush","bind","_scheduler","Error","_execute","_delay","errorValue","errored","unsubscribe","actions","Scheduler","schedulerActionCtor","dateTimestampProvider","AsyncScheduler","_Scheduler","SchedulerAction","_active","action","execute","async","Date","parentSubscription","repeat","scheduleSubscription","add","isNaN","_arrayWithHoles","arr","isArray","_nonIterableRest","TypeError","_slicedToArray","arrayWithHoles","Z","_iterableToArrayLimit","_i","Symbol","iterator","_s","_e","_r","_arr","_n","_d","Object","return","unsupportedIterableToArray","nonIterableRest"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/util/ObjectUnsubscribedError.js","./node_modules/rxjs/dist/esm/internal/Subject.js","./node_modules/rxjs/dist/esm/internal/observable/timer.js","./node_modules/rxjs/dist/esm/internal/operators/map.js","./node_modules/rxjs/dist/esm/internal/operators/mergeMap.js","./node_modules/rxjs/dist/esm/internal/operators/mergeInternals.js","./node_modules/rxjs/dist/esm/internal/scheduler/Action.js","./node_modules/rxjs/dist/esm/internal/scheduler/intervalProvider.js","./node_modules/rxjs/dist/esm/internal/scheduler/AsyncAction.js","./node_modules/rxjs/dist/esm/internal/Scheduler.js","./node_modules/rxjs/dist/esm/internal/scheduler/AsyncScheduler.js","./node_modules/rxjs/dist/esm/internal/scheduler/async.js","./node_modules/rxjs/dist/esm/internal/scheduler/dateTimestampProvider.js","./node_modules/rxjs/dist/esm/internal/util/executeSchedule.js","./node_modules/rxjs/dist/esm/internal/util/isDate.js","./node_modules/rxjs/dist/esm/internal/util/isScheduler.js","./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","./node_modules/@babel/runtime/helpers/esm/slicedToArray.js","./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js"],"sourcesContent":["import { createErrorClass } from './createErrorClass';\nexport const ObjectUnsubscribedError = createErrorClass((_super) => function ObjectUnsubscribedErrorImpl() {\n _super(this);\n this.name = 'ObjectUnsubscribedError';\n this.message = 'object unsubscribed';\n});\n","import { Observable } from './Observable';\nimport { Subscription, EMPTY_SUBSCRIPTION } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { arrRemove } from './util/arrRemove';\nimport { errorContext } from './util/errorContext';\nexport class Subject extends Observable {\n constructor() {\n super();\n this.closed = false;\n this.currentObservers = null;\n this.observers = [];\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n lift(operator) {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n }\n _throwIfClosed() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n }\n next(value) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n if (!this.currentObservers) {\n this.currentObservers = Array.from(this.observers);\n }\n for (const observer of this.currentObservers) {\n observer.next(value);\n }\n }\n });\n }\n error(err) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.hasError = this.isStopped = true;\n this.thrownError = err;\n const { observers } = this;\n while (observers.length) {\n observers.shift().error(err);\n }\n }\n });\n }\n complete() {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.isStopped = true;\n const { observers } = this;\n while (observers.length) {\n observers.shift().complete();\n }\n }\n });\n }\n unsubscribe() {\n this.isStopped = this.closed = true;\n this.observers = this.currentObservers = null;\n }\n get observed() {\n var _a;\n return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;\n }\n _trySubscribe(subscriber) {\n this._throwIfClosed();\n return super._trySubscribe(subscriber);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._checkFinalizedStatuses(subscriber);\n return this._innerSubscribe(subscriber);\n }\n _innerSubscribe(subscriber) {\n const { hasError, isStopped, observers } = this;\n if (hasError || isStopped) {\n return EMPTY_SUBSCRIPTION;\n }\n this.currentObservers = null;\n observers.push(subscriber);\n return new Subscription(() => {\n this.currentObservers = null;\n arrRemove(observers, subscriber);\n });\n }\n _checkFinalizedStatuses(subscriber) {\n const { hasError, thrownError, isStopped } = this;\n if (hasError) {\n subscriber.error(thrownError);\n }\n else if (isStopped) {\n subscriber.complete();\n }\n }\n asObservable() {\n const observable = new Observable();\n observable.source = this;\n return observable;\n }\n}\nSubject.create = (destination, source) => {\n return new AnonymousSubject(destination, source);\n};\nexport class AnonymousSubject extends Subject {\n constructor(destination, source) {\n super();\n this.destination = destination;\n this.source = source;\n }\n next(value) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);\n }\n error(err) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);\n }\n complete() {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);\n }\n _subscribe(subscriber) {\n var _a, _b;\n return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;\n }\n}\n","import { Observable } from '../Observable';\nimport { async as asyncScheduler } from '../scheduler/async';\nimport { isScheduler } from '../util/isScheduler';\nimport { isValidDate } from '../util/isDate';\nexport function timer(dueTime = 0, intervalOrScheduler, scheduler = asyncScheduler) {\n let intervalDuration = -1;\n if (intervalOrScheduler != null) {\n if (isScheduler(intervalOrScheduler)) {\n scheduler = intervalOrScheduler;\n }\n else {\n intervalDuration = intervalOrScheduler;\n }\n }\n return new Observable((subscriber) => {\n let due = isValidDate(dueTime) ? +dueTime - scheduler.now() : dueTime;\n if (due < 0) {\n due = 0;\n }\n let n = 0;\n return scheduler.schedule(function () {\n if (!subscriber.closed) {\n subscriber.next(n++);\n if (0 <= intervalDuration) {\n this.schedule(undefined, intervalDuration);\n }\n else {\n subscriber.complete();\n }\n }\n }, due);\n });\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function map(project, thisArg) {\n return operate((source, subscriber) => {\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n subscriber.next(project.call(thisArg, value, index++));\n }));\n });\n}\n","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 }\n else if (typeof resultSelector === 'number') {\n concurrent = resultSelector;\n }\n return operate((source, subscriber) => mergeInternals(source, subscriber, project, concurrent));\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { executeSchedule } from '../util/executeSchedule';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function mergeInternals(source, subscriber, project, concurrent, onBeforeNext, expand, innerSubScheduler, additionalFinalizer) {\n const buffer = [];\n let active = 0;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => {\n if (isComplete && !buffer.length && !active) {\n subscriber.complete();\n }\n };\n const outerNext = (value) => (active < concurrent ? doInnerSub(value) : buffer.push(value));\n const doInnerSub = (value) => {\n expand && subscriber.next(value);\n active++;\n let innerComplete = false;\n innerFrom(project(value, index++)).subscribe(createOperatorSubscriber(subscriber, (innerValue) => {\n onBeforeNext === null || onBeforeNext === void 0 ? void 0 : onBeforeNext(innerValue);\n if (expand) {\n outerNext(innerValue);\n }\n else {\n subscriber.next(innerValue);\n }\n }, () => {\n innerComplete = true;\n }, undefined, () => {\n if (innerComplete) {\n try {\n active--;\n while (buffer.length && active < concurrent) {\n const bufferedValue = buffer.shift();\n if (innerSubScheduler) {\n executeSchedule(subscriber, innerSubScheduler, () => doInnerSub(bufferedValue));\n }\n else {\n doInnerSub(bufferedValue);\n }\n }\n checkComplete();\n }\n catch (err) {\n subscriber.error(err);\n }\n }\n }));\n };\n source.subscribe(createOperatorSubscriber(subscriber, outerNext, () => {\n isComplete = true;\n checkComplete();\n }));\n return () => {\n additionalFinalizer === null || additionalFinalizer === void 0 ? void 0 : additionalFinalizer();\n };\n}\n","import { Subscription } from '../Subscription';\nexport class Action extends Subscription {\n constructor(scheduler, work) {\n super();\n }\n schedule(state, delay = 0) {\n return this;\n }\n}\n","export const intervalProvider = {\n setInterval(handler, timeout, ...args) {\n const { delegate } = intervalProvider;\n if (delegate === null || delegate === void 0 ? void 0 : delegate.setInterval) {\n return delegate.setInterval(handler, timeout, ...args);\n }\n return setInterval(handler, timeout, ...args);\n },\n clearInterval(handle) {\n const { delegate } = intervalProvider;\n return ((delegate === null || delegate === void 0 ? void 0 : delegate.clearInterval) || clearInterval)(handle);\n },\n delegate: undefined,\n};\n","import { Action } from './Action';\nimport { intervalProvider } from './intervalProvider';\nimport { arrRemove } from '../util/arrRemove';\nexport class AsyncAction extends Action {\n constructor(scheduler, work) {\n super(scheduler, work);\n this.scheduler = scheduler;\n this.work = work;\n this.pending = false;\n }\n schedule(state, delay = 0) {\n var _a;\n if (this.closed) {\n return this;\n }\n this.state = state;\n const id = this.id;\n const scheduler = this.scheduler;\n if (id != null) {\n this.id = this.recycleAsyncId(scheduler, id, delay);\n }\n this.pending = true;\n this.delay = delay;\n this.id = (_a = this.id) !== null && _a !== void 0 ? _a : this.requestAsyncId(scheduler, this.id, delay);\n return this;\n }\n requestAsyncId(scheduler, _id, delay = 0) {\n return intervalProvider.setInterval(scheduler.flush.bind(scheduler, this), delay);\n }\n recycleAsyncId(_scheduler, id, delay = 0) {\n if (delay != null && this.delay === delay && this.pending === false) {\n return id;\n }\n if (id != null) {\n intervalProvider.clearInterval(id);\n }\n return undefined;\n }\n execute(state, delay) {\n if (this.closed) {\n return new Error('executing a cancelled action');\n }\n this.pending = false;\n const error = this._execute(state, delay);\n if (error) {\n return error;\n }\n else if (this.pending === false && this.id != null) {\n this.id = this.recycleAsyncId(this.scheduler, this.id, null);\n }\n }\n _execute(state, _delay) {\n let errored = false;\n let errorValue;\n try {\n this.work(state);\n }\n catch (e) {\n errored = true;\n errorValue = e ? e : new Error('Scheduled action threw falsy error');\n }\n if (errored) {\n this.unsubscribe();\n return errorValue;\n }\n }\n unsubscribe() {\n if (!this.closed) {\n const { id, scheduler } = this;\n const { actions } = scheduler;\n this.work = this.state = this.scheduler = null;\n this.pending = false;\n arrRemove(actions, this);\n if (id != null) {\n this.id = this.recycleAsyncId(scheduler, id, null);\n }\n this.delay = null;\n super.unsubscribe();\n }\n }\n}\n","import { dateTimestampProvider } from './scheduler/dateTimestampProvider';\nexport class Scheduler {\n constructor(schedulerActionCtor, now = Scheduler.now) {\n this.schedulerActionCtor = schedulerActionCtor;\n this.now = now;\n }\n schedule(work, delay = 0, state) {\n return new this.schedulerActionCtor(this, work).schedule(state, delay);\n }\n}\nScheduler.now = dateTimestampProvider.now;\n","import { Scheduler } from '../Scheduler';\nexport class AsyncScheduler extends Scheduler {\n constructor(SchedulerAction, now = Scheduler.now) {\n super(SchedulerAction, now);\n this.actions = [];\n this._active = false;\n }\n flush(action) {\n const { actions } = this;\n if (this._active) {\n actions.push(action);\n return;\n }\n let error;\n this._active = true;\n do {\n if ((error = action.execute(action.state, action.delay))) {\n break;\n }\n } while ((action = actions.shift()));\n this._active = false;\n if (error) {\n while ((action = actions.shift())) {\n action.unsubscribe();\n }\n throw error;\n }\n }\n}\n","import { AsyncAction } from './AsyncAction';\nimport { AsyncScheduler } from './AsyncScheduler';\nexport const asyncScheduler = new AsyncScheduler(AsyncAction);\nexport const async = asyncScheduler;\n","export const dateTimestampProvider = {\n now() {\n return (dateTimestampProvider.delegate || Date).now();\n },\n delegate: undefined,\n};\n","export function executeSchedule(parentSubscription, scheduler, work, delay = 0, repeat = false) {\n const scheduleSubscription = scheduler.schedule(function () {\n work();\n if (repeat) {\n parentSubscription.add(this.schedule(null, delay));\n }\n else {\n this.unsubscribe();\n }\n }, delay);\n parentSubscription.add(scheduleSubscription);\n if (!repeat) {\n return scheduleSubscription;\n }\n}\n","export function isValidDate(value) {\n return value instanceof Date && !isNaN(value);\n}\n","import { isFunction } from './isFunction';\nexport function isScheduler(value) {\n return value && isFunction(value.schedule);\n}\n","export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}","export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}","export default function _iterableToArrayLimit(arr, i) {\n var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"];\n if (null != _i) {\n var _s,\n _e,\n _x,\n _r,\n _arr = [],\n _n = !0,\n _d = !1;\n try {\n if (_x = (_i = _i.call(arr)).next, 0 === i) {\n if (Object(_i) !== _i) return;\n _n = !1;\n } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);\n } catch (err) {\n _d = !0, _e = err;\n } finally {\n try {\n if (!_n && null != _i[\"return\"] && (_r = _i[\"return\"](), Object(_r) !== _r)) return;\n } finally {\n if (_d) throw _e;\n }\n }\n return _arr;\n }\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]} \ No newline at end of file diff --git a/3022.95d4c43ad3f85966.js b/3022.95d4c43ad3f85966.js new file mode 100644 index 0000000..01dc781 --- /dev/null +++ b/3022.95d4c43ad3f85966.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[3022,5106,7376,5187,4091,1217,7208,4968,6785,4155,1084,6896,7920,6980,5113,1328,5749,4309,8024,8513,5555,4967,8017,8116,5873,8061,4680,2111,3326,8596,8352,5501,882,3098,8467,6578,8608,8443,7328,5915,3278,5391,6748,1551,6763,4151,5069,7432,8071,6618],{50253:(v,c,t)=>{t.d(c,{x:()=>E});var s=t(95106),a=t(78069),r=t(48047),o=t(4089),u=t(20265),d=t(24582),l=t(28694),f=t(90833),b=t(17714),h=(0,t(27543).d)(function(w){return function(){w(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),_=t(39663),k=t(12309),E=function(){var w=function(S){(0,d.Z)(p,S);var m=(0,l.Z)(p);function p(){var i;return(0,a.Z)(this,p),(i=m.call(this)).closed=!1,i.currentObservers=null,i.observers=[],i.isStopped=!1,i.hasError=!1,i.thrownError=null,i}return(0,r.Z)(p,[{key:"lift",value:function(e){var n=new I(this,this);return n.operator=e,n}},{key:"_throwIfClosed",value:function(){if(this.closed)throw new h}},{key:"next",value:function(e){var n=this;(0,k.x)(function(){if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));var Z,y=(0,s.Z)(n.currentObservers);try{for(y.s();!(Z=y.n()).done;)Z.value.next(e)}catch(P){y.e(P)}finally{y.f()}}})}},{key:"error",value:function(e){var n=this;(0,k.x)(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=e;for(var y=n.observers;y.length;)y.shift().error(e)}})}},{key:"complete",value:function(){var e=this;(0,k.x)(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var n=e.observers;n.length;)n.shift().complete()}})}},{key:"unsubscribe",value:function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}},{key:"observed",get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}},{key:"_trySubscribe",value:function(e){return this._throwIfClosed(),(0,o.Z)((0,u.Z)(p.prototype),"_trySubscribe",this).call(this,e)}},{key:"_subscribe",value:function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}},{key:"_innerSubscribe",value:function(e){var n=this,g=this.observers;return this.hasError||this.isStopped?b.Lc:(this.currentObservers=null,g.push(e),new b.w0(function(){n.currentObservers=null,(0,_.P)(g,e)}))}},{key:"_checkFinalizedStatuses",value:function(e){var Z=this.isStopped;this.hasError?e.error(this.thrownError):Z&&e.complete()}},{key:"asObservable",value:function(){var e=new f.y;return e.source=this,e}}]),p}(f.y);return w.create=function(S,m){return new I(S,m)},w}(),I=function(w){(0,d.Z)(m,w);var S=(0,l.Z)(m);function m(p,i){var e;return(0,a.Z)(this,m),(e=S.call(this)).destination=p,e.source=i,e}return(0,r.Z)(m,[{key:"next",value:function(i){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===n||n.call(e,i)}},{key:"error",value:function(i){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===n||n.call(e,i)}},{key:"complete",value:function(){var i,e;null===(e=null===(i=this.destination)||void 0===i?void 0:i.complete)||void 0===e||e.call(i)}},{key:"_subscribe",value:function(i){var e,n;return null!==(n=null===(e=this.source)||void 0===e?void 0:e.subscribe(i))&&void 0!==n?n:b.Lc}}]),m}(E)},44841:(v,c,t)=>{function s(a,r){(null==r||r>a.length)&&(r=a.length);for(var o=0,u=new Array(r);o<r;o++)u[o]=a[o];return u}t.d(c,{Z:()=>s})},35488:(v,c,t)=>{function s(a){if(void 0===a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}t.d(c,{Z:()=>s})},95106:(v,c,t)=>{t.d(c,{Z:()=>a});var s=t(44206);function a(r,o){var u=typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"];if(!u){if(Array.isArray(r)||(u=(0,s.Z)(r))||o&&r&&"number"==typeof r.length){u&&(r=u);var d=0,l=function(){};return{s:l,n:function(){return d>=r.length?{done:!0}:{done:!1,value:r[d++]}},e:function(_){throw _},f:l}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var O,f=!0,b=!1;return{s:function(){u=u.call(r)},n:function(){var _=u.next();return f=_.done,_},e:function(_){b=!0,O=_},f:function(){try{!f&&null!=u.return&&u.return()}finally{if(b)throw O}}}}},28694:(v,c,t)=>{t.d(c,{Z:()=>d});var s=t(20265),a=t(98568),r=t(43445),o=t(35488);function d(l){var f=(0,a.Z)();return function(){var h,O=(0,s.Z)(l);if(f){var _=(0,s.Z)(this).constructor;h=Reflect.construct(O,arguments,_)}else h=O.apply(this,arguments);return function u(l,f){if(f&&("object"===(0,r.Z)(f)||"function"==typeof f))return f;if(void 0!==f)throw new TypeError("Derived constructors may only return object or undefined");return(0,o.Z)(l)}(this,h)}}},4089:(v,c,t)=>{t.d(c,{Z:()=>r});var s=t(20265);function r(){return r=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(u,d,l){var f=function a(o,u){for(;!Object.prototype.hasOwnProperty.call(o,u)&&null!==(o=(0,s.Z)(o)););return o}(u,d);if(f){var b=Object.getOwnPropertyDescriptor(f,d);return b.get?b.get.call(arguments.length<3?u:l):b.value}},r.apply(this,arguments)}},20265:(v,c,t)=>{function s(a){return(s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(o){return o.__proto__||Object.getPrototypeOf(o)})(a)}t.d(c,{Z:()=>s})},24582:(v,c,t)=>{t.d(c,{Z:()=>a});var s=t(10006);function a(r,o){if("function"!=typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(o&&o.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),o&&(0,s.Z)(r,o)}},98568:(v,c,t)=>{function s(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}t.d(c,{Z:()=>s})},4826:(v,c,t)=>{function s(a){if(typeof Symbol<"u"&&null!=a[Symbol.iterator]||null!=a["@@iterator"])return Array.from(a)}t.d(c,{Z:()=>s})},10006:(v,c,t)=>{function s(a,r){return(s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(u,d){return u.__proto__=d,u})(a,r)}t.d(c,{Z:()=>s})},86170:(v,c,t)=>{t.d(c,{Z:()=>d});var s=t(44841),r=t(4826),o=t(44206);function d(l){return function a(l){if(Array.isArray(l))return(0,s.Z)(l)}(l)||(0,r.Z)(l)||(0,o.Z)(l)||function u(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(v,c,t)=>{t.d(c,{Z:()=>a});var s=t(44841);function a(r,o){if(r){if("string"==typeof r)return(0,s.Z)(r,o);var u=Object.prototype.toString.call(r).slice(8,-1);if("Object"===u&&r.constructor&&(u=r.constructor.name),"Map"===u||"Set"===u)return Array.from(r);if("Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return(0,s.Z)(r,o)}}}}]); +//# sourceMappingURL=3022.95d4c43ad3f85966.js.map \ No newline at end of file diff --git a/3022.95d4c43ad3f85966.js.map b/3022.95d4c43ad3f85966.js.map new file mode 100644 index 0000000..67f996e --- /dev/null +++ b/3022.95d4c43ad3f85966.js.map @@ -0,0 +1 @@ +{"version":3,"file":"3022.95d4c43ad3f85966.js","mappings":"6bACaA,cAA0BC,GAAiB,SAACC,GAAM,OAAK,WAChEA,EAAOC,MACPA,KAAKC,KAAO,0BACZD,KAAKE,QAAU,qBACnB,CAAC,yBCAYC,EAAO,eAAPA,EAAO,SAAAC,IAAAC,OAAAF,EAAAC,GAAA,IAAAL,KAAAO,KAAAH,GAChB,SAAAA,IAAc,IAAAI,EAAAC,cAAAR,KAAAG,IACVI,EAAAR,EAAAU,KAAAT,OACKU,QAAS,EACdH,EAAKI,iBAAmB,KACxBJ,EAAKK,UAAY,GACjBL,EAAKM,WAAY,EACjBN,EAAKO,UAAW,EAChBP,EAAKQ,YAAc,KAAKR,CAC5B,CAACS,cAAAb,EAAA,EAAAc,IAAA,OAAAC,MACD,SAAKC,GACD,IAAMC,EAAU,IAAIC,EAAiBrB,KAAMA,MAC3CoB,SAAQD,SAAWA,EACZC,CACX,GAAC,CAAAH,IAAA,iBAAAC,MACD,WACI,GAAIlB,KAAKU,OACL,MAAM,IAAIb,CAElB,GAAC,CAAAoB,IAAA,OAAAC,MACD,SAAKA,GA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0Bd,IELtE,SAAAuE,IACf,UAAAtD,UAAA,uIACA,CFG8FsD,EAC9F,mDGLe,SAAAC,EAAAjE,EAAAkE,GACf,GAAAlE,EACA,qBAAAA,EAAA,SAAoCmE,EAAA5D,GAAgBP,EAAAkE,GACpD,IAAA7G,EAAAiF,OAAAhE,UAAA8F,SAAArI,KAAAiE,GAAAqE,MAAA,MAEA,GADA,WAAAhH,GAAA2C,EAAAuB,cAAAlE,EAAA2C,EAAAuB,YAAAhG,MACA,QAAA8B,GAAA,QAAAA,EAAA,OAAAN,MAAAC,KAAAgD,GACA,iBAAA3C,GAAA,2CAAAiH,KAAAjH,GAAA,SAAsF8G,EAAA5D,GAAgBP,EAAAkE,EAAA,CACtG","names":["ObjectUnsubscribedError","createErrorClass","_super","this","name","message","Subject","_Observable","_inherits","_createSuper","_this","_classCallCheck","call","closed","currentObservers","observers","isStopped","hasError","thrownError","_createClass","key","value","operator","subject","AnonymousSubject","_this2","errorContext","_throwIfClosed","Array","from","_step","_iterator","_createForOfIteratorHelper","s","n","done","next","err","e","f","_this3","length","shift","error","_this4","complete","get","_a","subscriber","_get","_getPrototypeOf","prototype","_checkFinalizedStatuses","_innerSubscribe","_this5","EMPTY_SUBSCRIPTION","push","Subscription","arrRemove","observable","Observable","source","create","destination","_Subject","_super2","_this6","_b","subscribe","_arrayLikeToArray","arr","len","i","arr2","_assertThisInitialized","self","ReferenceError","o","allowArrayLike","it","Symbol","iterator","isArray","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","_e","TypeError","normalCompletion","didErr","step","_e2","return","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","result","Super","getPrototypeOf","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","esm_typeof","assertThisInitialized","bind","target","property","receiver","base","_superPropBase","object","Object","hasOwnProperty","desc","getOwnPropertyDescriptor","setPrototypeOf","__proto__","subClass","superClass","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_iterableToArray","iter","_setPrototypeOf","p","_toConsumableArray","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","toString","slice","test"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/util/ObjectUnsubscribedError.js","./node_modules/rxjs/dist/esm/internal/Subject.js","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { createErrorClass } from './createErrorClass';\nexport const ObjectUnsubscribedError = createErrorClass((_super) => function ObjectUnsubscribedErrorImpl() {\n _super(this);\n this.name = 'ObjectUnsubscribedError';\n this.message = 'object unsubscribed';\n});\n","import { Observable } from './Observable';\nimport { Subscription, EMPTY_SUBSCRIPTION } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { arrRemove } from './util/arrRemove';\nimport { errorContext } from './util/errorContext';\nexport class Subject extends Observable {\n constructor() {\n super();\n this.closed = false;\n this.currentObservers = null;\n this.observers = [];\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n lift(operator) {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n }\n _throwIfClosed() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n }\n next(value) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n if (!this.currentObservers) {\n this.currentObservers = Array.from(this.observers);\n }\n for (const observer of this.currentObservers) {\n observer.next(value);\n }\n }\n });\n }\n error(err) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.hasError = this.isStopped = true;\n this.thrownError = err;\n const { observers } = this;\n while (observers.length) {\n observers.shift().error(err);\n }\n }\n });\n }\n complete() {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.isStopped = true;\n const { observers } = this;\n while (observers.length) {\n observers.shift().complete();\n }\n }\n });\n }\n unsubscribe() {\n this.isStopped = this.closed = true;\n this.observers = this.currentObservers = null;\n }\n get observed() {\n var _a;\n return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;\n }\n _trySubscribe(subscriber) {\n this._throwIfClosed();\n return super._trySubscribe(subscriber);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._checkFinalizedStatuses(subscriber);\n return this._innerSubscribe(subscriber);\n }\n _innerSubscribe(subscriber) {\n const { hasError, isStopped, observers } = this;\n if (hasError || isStopped) {\n return EMPTY_SUBSCRIPTION;\n }\n this.currentObservers = null;\n observers.push(subscriber);\n return new Subscription(() => {\n this.currentObservers = null;\n arrRemove(observers, subscriber);\n });\n }\n _checkFinalizedStatuses(subscriber) {\n const { hasError, thrownError, isStopped } = this;\n if (hasError) {\n subscriber.error(thrownError);\n }\n else if (isStopped) {\n subscriber.complete();\n }\n }\n asObservable() {\n const observable = new Observable();\n observable.source = this;\n return observable;\n }\n}\nSubject.create = (destination, source) => {\n return new AnonymousSubject(destination, source);\n};\nexport class AnonymousSubject extends Subject {\n constructor(destination, source) {\n super();\n this.destination = destination;\n this.source = source;\n }\n next(value) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);\n }\n error(err) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);\n }\n complete() {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);\n }\n _subscribe(subscriber) {\n var _a, _b;\n return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;\n }\n}\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]} \ No newline at end of file diff --git a/3098.fed4a5b0a9bb1c8c.js b/3098.fed4a5b0a9bb1c8c.js new file mode 100644 index 0000000..61c2840 --- /dev/null +++ b/3098.fed4a5b0a9bb1c8c.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[3098,7376,5187,4091,1217,7208,4968,4155,1084,6896,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,4680,2111,3326,8596,8352,5501,8608,8443,5915,3278,5391,6748,6763,4151,5069,7432,6618],{35488:(f,n,e)=>{function t(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}e.d(n,{Z:()=>t})},28694:(f,n,e)=>{e.d(n,{Z:()=>i});var t=e(20265),o=e(98568),u=e(43445),r=e(35488);function i(p){var c=(0,o.Z)();return function(){var a,s=(0,t.Z)(p);if(c){var d=(0,t.Z)(this).constructor;a=Reflect.construct(s,arguments,d)}else a=s.apply(this,arguments);return function _(p,c){if(c&&("object"===(0,u.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(p)}(this,a)}}},20265:(f,n,e)=>{function t(o){return(t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)})(o)}e.d(n,{Z:()=>t})},24582:(f,n,e)=>{e.d(n,{Z:()=>o});var t=e(10006);function o(u,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(r&&r.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),r&&(0,t.Z)(u,r)}},98568:(f,n,e)=>{function t(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(n,{Z:()=>t})},10006:(f,n,e)=>{function t(o,u){return(t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_,i){return _.__proto__=i,_})(o,u)}e.d(n,{Z:()=>t})}}]); +//# sourceMappingURL=3098.fed4a5b0a9bb1c8c.js.map \ No newline at end of file diff --git a/3098.fed4a5b0a9bb1c8c.js.map b/3098.fed4a5b0a9bb1c8c.js.map new file mode 100644 index 0000000..a9c9aae --- /dev/null +++ b/3098.fed4a5b0a9bb1c8c.js.map @@ -0,0 +1 @@ +{"version":3,"file":"3098.fed4a5b0a9bb1c8c.js","mappings":"sQAAe,SAAAA,EAAAC,GACf,YAAAA,EACA,UAAAC,eAAA,6DAEA,OAAAD,CACA,oGCFe,SAAAE,EAAAC,GACf,IAAAC,KAAkCC,EAAAC,KAClC,kBACA,IACAC,EADAC,KAAgBC,EAAAH,GAAcH,GAE9B,GAAAC,EAAA,CACA,IAAAM,KAAsBD,EAAAH,GAAcK,MAAAC,YACpCL,EAAAM,QAAAC,UAAAN,EAAAO,UAAAL,EAAA,MAEAH,EAAAC,EAAAQ,MAAAL,KAAAI,WAEA,OCZe,SAAAE,EAAAjB,EAAAkB,GACf,GAAAA,IAAsB,YAAtBA,EAAeC,EAAAb,GAAOY,IAAA,mBAAAA,GACtB,OAAAA,EACI,YAAAA,EACJ,UAAAE,UAAA,4DAEA,SAASC,EAAAf,GAAqBN,EAC9B,CDKWiB,CAAyBN,KAAAJ,EACpC,CACA,mBEhBe,SAAAe,EAAAC,GACf,OAAAD,EAAAE,OAAAC,eAAAD,OAAAf,eAAAiB,OAAA,SAAAH,GACA,OAAAA,EAAAI,WAAAH,OAAAf,eAAAc,EACA,GACAA,EACA,mECJe,SAAAK,EAAAC,EAAAC,GACf,sBAAAA,GAAA,OAAAA,EACA,UAAAV,UAAA,sDAEAS,EAAAE,UAAAP,OAAAQ,OAAAF,KAAAC,UAAA,CACAnB,YAAA,CACAqB,MAAAJ,EACAK,UAAA,EACAC,cAAA,KAGAX,OAAAY,eAAAP,EAAA,aACAK,UAAA,IAEAJ,MAAkBO,EAAA/B,GAAcuB,EAAAC,EAChC,mBChBe,SAAAQ,IAEf,UADAzB,QAAA,MAAAA,QAAAC,WACAD,QAAAC,UAAAyB,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAAV,UAAAW,QAAAxB,KAAAL,QAAAC,UAAA2B,QAAA,mBACA,CACA,OACA,QACA,CACA,mCCVe,SAAAE,EAAApB,EAAAqB,GACf,OAAAD,EAAAnB,OAAAC,eAAAD,OAAAC,eAAAC,OAAA,SAAAH,EAAAqB,GACA,OAAArB,EAAAI,UAAAiB,EACArB,CACA,GACAA,EAAAqB,EACA","names":["_assertThisInitialized","self","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","call","esm_typeof","TypeError","assertThisInitialized","_getPrototypeOf","o","Object","setPrototypeOf","bind","__proto__","_inherits","subClass","superClass","prototype","create","value","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6]} \ No newline at end of file diff --git a/3103.6e520a55c0537c2d.js b/3103.6e520a55c0537c2d.js new file mode 100644 index 0000000..5f0f25e --- /dev/null +++ b/3103.6e520a55c0537c2d.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[3103,5106,7376,5187,4091,1217,7208,4968,4155,1084,6896,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,4680,2111,3326,8596,8352,5501,3098,8608,8443,7328,5915,3278,5391,6748,1551,6763,4151,5069,7432,6618],{17714:(I,_,r)=>{r.d(_,{Lc:()=>S,w0:()=>A,Nn:()=>g});var b,u=r(86170),d=r(95106),a=r(78069),c=r(48047),m=r(92971),p=(0,r(27543).d)(function(b){return function(l){b(this),this.message=l?"".concat(l.length," errors occurred during unsubscription:\n").concat(l.map(function(v,E){return"".concat(E+1,") ").concat(v.toString())}).join("\n ")):"",this.name="UnsubscriptionError",this.errors=l}}),P=r(39663),A=function(){function b(O){(0,a.Z)(this,b),this.initialTeardown=O,this.closed=!1,this._parentage=null,this._finalizers=null}return(0,c.Z)(b,[{key:"unsubscribe",value:function(){var l;if(!this.closed){this.closed=!0;var v=this._parentage;if(v)if(this._parentage=null,Array.isArray(v)){var Z,E=(0,d.Z)(v);try{for(E.s();!(Z=E.n()).done;)Z.value.remove(this)}catch(x){E.e(x)}finally{E.f()}}else v.remove(this);var W=this.initialTeardown;if((0,m.m)(W))try{W()}catch(x){l=x instanceof p?x.errors:[x]}var j=this._finalizers;if(j){this._finalizers=null;var z,L=(0,d.Z)(j);try{for(L.s();!(z=L.n()).done;){var N=z.value;try{D(N)}catch(x){l=l??[],x instanceof p?l=[].concat((0,u.Z)(l),(0,u.Z)(x.errors)):l.push(x)}}}catch(x){L.e(x)}finally{L.f()}}if(l)throw new p(l)}}},{key:"add",value:function(l){var v;if(l&&l!==this)if(this.closed)D(l);else{if(l instanceof b){if(l.closed||l._hasParent(this))return;l._addParent(this)}(this._finalizers=null!==(v=this._finalizers)&&void 0!==v?v:[]).push(l)}}},{key:"_hasParent",value:function(l){var v=this._parentage;return v===l||Array.isArray(v)&&v.includes(l)}},{key:"_addParent",value:function(l){var v=this._parentage;this._parentage=Array.isArray(v)?(v.push(l),v):v?[v,l]:l}},{key:"_removeParent",value:function(l){var v=this._parentage;v===l?this._parentage=null:Array.isArray(v)&&(0,P.P)(v,l)}},{key:"remove",value:function(l){var v=this._finalizers;v&&(0,P.P)(v,l),l instanceof b&&l._removeParent(this)}}]),b}();A.EMPTY=((b=new A).closed=!0,b);var S=A.EMPTY;function g(b){return b instanceof A||b&&"closed"in b&&(0,m.m)(b.remove)&&(0,m.m)(b.add)&&(0,m.m)(b.unsubscribe)}function D(b){(0,m.m)(b)?b():b.unsubscribe()}},39663:(I,_,r)=>{function u(d,a){if(d){var c=d.indexOf(a);0<=c&&d.splice(c,1)}}r.d(_,{P:()=>u})},27543:(I,_,r)=>{function u(d){var c=d(function(n){Error.call(n),n.stack=(new Error).stack});return c.prototype=Object.create(Error.prototype),c.prototype.constructor=c,c}r.d(_,{d:()=>u})},92971:(I,_,r)=>{function u(d){return"function"==typeof d}r.d(_,{m:()=>u})},13103:(I,_,r)=>{r.r(_),r.d(_,{MAT_LEGACY_SLIDER_VALUE_ACCESSOR:()=>L,MatLegacySlider:()=>x,MatLegacySliderChange:()=>z,MatLegacySliderModule:()=>X});var u=r(24582),d=r(28694),a=r(48047),c=r(78069),m=r(94055),n=r(56718),p=r(6606),P=r(908),A=r(43068),S=r(35333),g=r(52069),D=r(47405),b=r(33401),O=r(23675),l=r(17714),v=["sliderWrapper"],E=(0,O.normalizePassiveListenerOptions)({passive:!1}),L={provide:D.NG_VALUE_ACCESSOR,useExisting:(0,n.forwardRef)(function(){return x}),multi:!0},z=(0,a.Z)(function h(){(0,c.Z)(this,h)}),N=(0,p.mixinTabIndex)((0,p.mixinColor)((0,p.mixinDisabled)(function(){return(0,a.Z)(function h(M){(0,c.Z)(this,h),this._elementRef=M})}()),"accent")),x=function(){var h=function(M){(0,u.Z)(s,M);var f=(0,d.Z)(s);function s(i,e,o,k,T,w,C,R){var t;return(0,c.Z)(this,s),(t=f.call(this,i))._focusMonitor=e,t._changeDetectorRef=o,t._dir=k,t._ngZone=w,t._animationMode=R,t._invert=!1,t._max=100,t._min=0,t._step=1,t._thumbLabel=!1,t._tickInterval=0,t._value=null,t._vertical=!1,t.change=new n.EventEmitter,t.input=new n.EventEmitter,t.valueChange=new n.EventEmitter,t.onTouched=function(){},t._percent=0,t._isSliding=null,t._isActive=!1,t._tickIntervalPercent=0,t._sliderDimensions=null,t._controlValueAccessorChangeFn=function(){},t._dirChangeSubscription=l.w0.EMPTY,t._pointerDown=function(y){t.disabled||t._isSliding||!B(y)&&0!==y.button||t._ngZone.run(function(){t._touchId=B(y)?function Y(h,M){for(var f=0;f<h.touches.length;f++){var s=h.touches[f].target;if(M===s||M.contains(s))return h.touches[f].identifier}}(y,t._elementRef.nativeElement):void 0;var U=G(y,t._touchId);if(U){var F=t.value;t._isSliding="pointer",t._lastPointerEvent=y,t._focusHostElement(),t._onMouseenter(),t._bindGlobalEvents(y),t._focusHostElement(),t._updateValueFromPosition(U),t._valueOnSlideStart=F,y.cancelable&&y.preventDefault(),F!=t.value&&t._emitInputEvent()}})},t._pointerMove=function(y){if("pointer"===t._isSliding){var U=G(y,t._touchId);if(U){y.cancelable&&y.preventDefault();var F=t.value;t._lastPointerEvent=y,t._updateValueFromPosition(U),F!=t.value&&t._emitInputEvent()}}},t._pointerUp=function(y){"pointer"===t._isSliding&&(!B(y)||"number"!=typeof t._touchId||H(y.changedTouches,t._touchId))&&(y.cancelable&&y.preventDefault(),t._removeGlobalEvents(),t._isSliding=null,t._touchId=void 0,t._valueOnSlideStart!=t.value&&!t.disabled&&t._emitChangeEvent(),t._valueOnSlideStart=t._lastPointerEvent=null)},t._windowBlur=function(){t._lastPointerEvent&&t._pointerUp(t._lastPointerEvent)},t._document=C,t.tabIndex=parseInt(T)||0,w.runOutsideAngular(function(){var y=i.nativeElement;y.addEventListener("mousedown",t._pointerDown,E),y.addEventListener("touchstart",t._pointerDown,E)}),t}return(0,a.Z)(s,[{key:"invert",get:function(){return this._invert},set:function(e){this._invert=(0,S.coerceBooleanProperty)(e)}},{key:"max",get:function(){return this._max},set:function(e){this._max=(0,S.coerceNumberProperty)(e,this._max),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}},{key:"min",get:function(){return this._min},set:function(e){this._min=(0,S.coerceNumberProperty)(e,this._min),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}},{key:"step",get:function(){return this._step},set:function(e){this._step=(0,S.coerceNumberProperty)(e,this._step),this._step%1!=0&&(this._roundToDecimal=this._step.toString().split(".").pop().length),this._changeDetectorRef.markForCheck()}},{key:"thumbLabel",get:function(){return this._thumbLabel},set:function(e){this._thumbLabel=(0,S.coerceBooleanProperty)(e)}},{key:"tickInterval",get:function(){return this._tickInterval},set:function(e){this._tickInterval="auto"===e?"auto":"number"==typeof e||"string"==typeof e?(0,S.coerceNumberProperty)(e,this._tickInterval):0}},{key:"value",get:function(){return null===this._value&&(this.value=this._min),this._value},set:function(e){if(e!==this._value){var o=(0,S.coerceNumberProperty)(e,0);this._roundToDecimal&&o!==this.min&&o!==this.max&&(o=parseFloat(o.toFixed(this._roundToDecimal))),this._value=o,this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}}},{key:"vertical",get:function(){return this._vertical},set:function(e){this._vertical=(0,S.coerceBooleanProperty)(e)}},{key:"displayValue",get:function(){return this.displayWith?this.displayWith(this.value):this._roundToDecimal&&this.value&&this.value%1!=0?this.value.toFixed(this._roundToDecimal):this.value||0}},{key:"focus",value:function(e){this._focusHostElement(e)}},{key:"blur",value:function(){this._blurHostElement()}},{key:"percent",get:function(){return this._clamp(this._percent)}},{key:"_shouldInvertAxis",value:function(){return this.vertical?!this.invert:this.invert}},{key:"_isMinValue",value:function(){return 0===this.percent}},{key:"_getThumbGap",value:function(){return this.disabled?7:this._isMinValue()&&!this.thumbLabel?this._isActive?10:7:0}},{key:"_getTrackBackgroundStyles",value:function(){var e=this.vertical?"Y":"X",o=this.vertical?"1, ".concat(1-this.percent,", 1"):"".concat(1-this.percent,", 1, 1"),k=this._shouldInvertMouseCoords()?"-":"";return{transform:"translate".concat(e,"(").concat(k).concat(this._getThumbGap(),"px) scale3d(").concat(o,")")}}},{key:"_getTrackFillStyles",value:function(){var e=this.percent,o=this.vertical?"Y":"X",k=this.vertical?"1, ".concat(e,", 1"):"".concat(e,", 1, 1"),T=this._shouldInvertMouseCoords()?"":"-";return{transform:"translate".concat(o,"(").concat(T).concat(this._getThumbGap(),"px) scale3d(").concat(k,")"),display:0===e?"none":""}}},{key:"_getTicksContainerStyles",value:function(){var e=this.vertical?"Y":"X",o=this.vertical||"rtl"!=this._getDirection()?"-":"",k=this._tickIntervalPercent/2*100;return{transform:"translate".concat(e,"(").concat(o).concat(k,"%)")}}},{key:"_getTicksStyles",value:function(){var e=100*this._tickIntervalPercent,o=this.vertical?"2px ".concat(e,"%"):"".concat(e,"% 2px"),k=this.vertical?"Y":"X",T=this.vertical||"rtl"!=this._getDirection()?"":"-",w=this.vertical||"rtl"!=this._getDirection()?"":" rotate(180deg)",C={backgroundSize:o,transform:"translateZ(0) translate".concat(k,"(").concat(T).concat(e/2,"%)").concat(w)};if(this._isMinValue()&&this._getThumbGap()){var R=this._shouldInvertAxis();C["padding".concat(this.vertical?R?"Bottom":"Top":R?"Right":"Left")]="".concat(this._getThumbGap(),"px")}return C}},{key:"_getThumbContainerStyles",value:function(){var e=this._shouldInvertAxis(),o=this.vertical?"Y":"X",T=100*(("rtl"!=this._getDirection()||this.vertical?e:!e)?this.percent:1-this.percent);return{transform:"translate".concat(o,"(-").concat(T,"%)")}}},{key:"_shouldInvertMouseCoords",value:function(){var e=this._shouldInvertAxis();return"rtl"!=this._getDirection()||this.vertical?e:!e}},{key:"_getDirection",value:function(){return this._dir&&"rtl"==this._dir.value?"rtl":"ltr"}},{key:"ngAfterViewInit",value:function(){var e=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(o){e._isActive=!!o&&"keyboard"!==o,e._changeDetectorRef.detectChanges()}),this._dir&&(this._dirChangeSubscription=this._dir.change.subscribe(function(){e._changeDetectorRef.markForCheck()}))}},{key:"ngOnDestroy",value:function(){var e=this._elementRef.nativeElement;e.removeEventListener("mousedown",this._pointerDown,E),e.removeEventListener("touchstart",this._pointerDown,E),this._lastPointerEvent=null,this._removeGlobalEvents(),this._focusMonitor.stopMonitoring(this._elementRef),this._dirChangeSubscription.unsubscribe()}},{key:"_onMouseenter",value:function(){this.disabled||(this._sliderDimensions=this._getSliderDimensions(),this._updateTickIntervalPercent())}},{key:"_onFocus",value:function(){this._sliderDimensions=this._getSliderDimensions(),this._updateTickIntervalPercent()}},{key:"_onBlur",value:function(){this.onTouched()}},{key:"_onKeydown",value:function(e){if(!(this.disabled||(0,g.hasModifierKey)(e)||this._isSliding&&"keyboard"!==this._isSliding)){var o=this.value;switch(e.keyCode){case g.PAGE_UP:this._increment(10);break;case g.PAGE_DOWN:this._increment(-10);break;case g.END:this.value=this.max;break;case g.HOME:this.value=this.min;break;case g.LEFT_ARROW:this._increment("rtl"==this._getDirection()?1:-1);break;case g.UP_ARROW:this._increment(1);break;case g.RIGHT_ARROW:this._increment("rtl"==this._getDirection()?-1:1);break;case g.DOWN_ARROW:this._increment(-1);break;default:return}o!=this.value&&(this._emitInputEvent(),this._emitChangeEvent()),this._isSliding="keyboard",e.preventDefault()}}},{key:"_onKeyup",value:function(){"keyboard"===this._isSliding&&(this._isSliding=null)}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_bindGlobalEvents",value:function(e){var o=this._document,k=B(e),w=k?"touchend":"mouseup";o.addEventListener(k?"touchmove":"mousemove",this._pointerMove,E),o.addEventListener(w,this._pointerUp,E),k&&o.addEventListener("touchcancel",this._pointerUp,E);var C=this._getWindow();typeof C<"u"&&C&&C.addEventListener("blur",this._windowBlur)}},{key:"_removeGlobalEvents",value:function(){var e=this._document;e.removeEventListener("mousemove",this._pointerMove,E),e.removeEventListener("mouseup",this._pointerUp,E),e.removeEventListener("touchmove",this._pointerMove,E),e.removeEventListener("touchend",this._pointerUp,E),e.removeEventListener("touchcancel",this._pointerUp,E);var o=this._getWindow();typeof o<"u"&&o&&o.removeEventListener("blur",this._windowBlur)}},{key:"_increment",value:function(e){var o=this._clamp(this.value||0,this.min,this.max);this.value=this._clamp(o+this.step*e,this.min,this.max)}},{key:"_updateValueFromPosition",value:function(e){if(this._sliderDimensions){var w=this._clamp(((this.vertical?e.y:e.x)-(this.vertical?this._sliderDimensions.top:this._sliderDimensions.left))/(this.vertical?this._sliderDimensions.height:this._sliderDimensions.width));if(this._shouldInvertMouseCoords()&&(w=1-w),0===w)this.value=this.min;else if(1===w)this.value=this.max;else{var C=this._calculateValue(w),R=Math.round((C-this.min)/this.step)*this.step+this.min;this.value=this._clamp(R,this.min,this.max)}}}},{key:"_emitChangeEvent",value:function(){this._controlValueAccessorChangeFn(this.value),this.valueChange.emit(this.value),this.change.emit(this._createChangeEvent())}},{key:"_emitInputEvent",value:function(){this.input.emit(this._createChangeEvent())}},{key:"_updateTickIntervalPercent",value:function(){if(this.tickInterval&&this._sliderDimensions){var e;if("auto"==this.tickInterval){var o=this.vertical?this._sliderDimensions.height:this._sliderDimensions.width;e=Math.ceil(30/(o*this.step/(this.max-this.min)))*this.step/o}else e=this.tickInterval*this.step/(this.max-this.min);this._tickIntervalPercent=K(e)?e:0}}},{key:"_createChangeEvent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.value,o=new z;return o.source=this,o.value=e,o}},{key:"_calculatePercentage",value:function(e){var o=((e||0)-this.min)/(this.max-this.min);return K(o)?o:0}},{key:"_calculateValue",value:function(e){return this.min+e*(this.max-this.min)}},{key:"_clamp",value:function(e){return Math.max(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,Math.min(e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:1))}},{key:"_getSliderDimensions",value:function(){return this._sliderWrapper?this._sliderWrapper.nativeElement.getBoundingClientRect():null}},{key:"_focusHostElement",value:function(e){this._elementRef.nativeElement.focus(e)}},{key:"_blurHostElement",value:function(){this._elementRef.nativeElement.blur()}},{key:"writeValue",value:function(e){this.value=e}},{key:"registerOnChange",value:function(e){this._controlValueAccessorChangeFn=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e}}]),s}(N);return h.\u0275fac=function(f){return new(f||h)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(P.FocusMonitor),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(A.Directionality,8),n.\u0275\u0275injectAttribute("tabindex"),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(m.DOCUMENT),n.\u0275\u0275directiveInject(b.ANIMATION_MODULE_TYPE,8))},h.\u0275cmp=n.\u0275\u0275defineComponent({type:h,selectors:[["mat-slider"]],viewQuery:function(f,s){var i;1&f&&n.\u0275\u0275viewQuery(v,5),2&f&&n.\u0275\u0275queryRefresh(i=n.\u0275\u0275loadQuery())&&(s._sliderWrapper=i.first)},hostAttrs:["role","slider",1,"mat-slider","mat-focus-indicator"],hostVars:29,hostBindings:function(f,s){1&f&&n.\u0275\u0275listener("focus",function(){return s._onFocus()})("blur",function(){return s._onBlur()})("keydown",function(e){return s._onKeydown(e)})("keyup",function(){return s._onKeyup()})("mouseenter",function(){return s._onMouseenter()})("selectstart",function(e){return e.preventDefault()}),2&f&&(n.\u0275\u0275hostProperty("tabIndex",s.tabIndex),n.\u0275\u0275attribute("aria-disabled",s.disabled)("aria-valuemax",s.max)("aria-valuemin",s.min)("aria-valuenow",s.value)("aria-valuetext",null==s.valueText?s.displayValue:s.valueText)("aria-orientation",s.vertical?"vertical":"horizontal"),n.\u0275\u0275classProp("mat-slider-disabled",s.disabled)("mat-slider-has-ticks",s.tickInterval)("mat-slider-horizontal",!s.vertical)("mat-slider-axis-inverted",s._shouldInvertAxis())("mat-slider-invert-mouse-coords",s._shouldInvertMouseCoords())("mat-slider-sliding",s._isSliding)("mat-slider-thumb-label-showing",s.thumbLabel)("mat-slider-vertical",s.vertical)("mat-slider-min-value",s._isMinValue())("mat-slider-hide-last-tick",s.disabled||s._isMinValue()&&s._getThumbGap()&&s._shouldInvertAxis())("_mat-animation-noopable","NoopAnimations"===s._animationMode))},inputs:{disabled:"disabled",color:"color",tabIndex:"tabIndex",invert:"invert",max:"max",min:"min",step:"step",thumbLabel:"thumbLabel",tickInterval:"tickInterval",value:"value",displayWith:"displayWith",valueText:"valueText",vertical:"vertical"},outputs:{change:"change",input:"input",valueChange:"valueChange"},exportAs:["matSlider"],features:[n.\u0275\u0275ProvidersFeature([L]),n.\u0275\u0275InheritDefinitionFeature],decls:13,vars:6,consts:[[1,"mat-slider-wrapper"],["sliderWrapper",""],[1,"mat-slider-track-wrapper"],[1,"mat-slider-track-background",3,"ngStyle"],[1,"mat-slider-track-fill",3,"ngStyle"],[1,"mat-slider-ticks-container",3,"ngStyle"],[1,"mat-slider-ticks",3,"ngStyle"],[1,"mat-slider-thumb-container",3,"ngStyle"],[1,"mat-slider-focus-ring"],[1,"mat-slider-thumb"],[1,"mat-slider-thumb-label"],[1,"mat-slider-thumb-label-text"]],template:function(f,s){1&f&&(n.\u0275\u0275elementStart(0,"div",0,1)(2,"div",2),n.\u0275\u0275element(3,"div",3)(4,"div",4),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(5,"div",5),n.\u0275\u0275element(6,"div",6),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(7,"div",7),n.\u0275\u0275element(8,"div",8)(9,"div",9),n.\u0275\u0275elementStart(10,"div",10)(11,"span",11),n.\u0275\u0275text(12),n.\u0275\u0275elementEnd()()()()),2&f&&(n.\u0275\u0275advance(3),n.\u0275\u0275property("ngStyle",s._getTrackBackgroundStyles()),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngStyle",s._getTrackFillStyles()),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngStyle",s._getTicksContainerStyles()),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngStyle",s._getTicksStyles()),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngStyle",s._getThumbContainerStyles()),n.\u0275\u0275advance(5),n.\u0275\u0275textInterpolate(s.displayValue))},dependencies:[m.NgStyle],styles:['.mat-slider{display:inline-block;position:relative;box-sizing:border-box;padding:8px;outline:none;vertical-align:middle}.mat-slider:not(.mat-slider-disabled):active,.mat-slider.mat-slider-sliding:not(.mat-slider-disabled){cursor:grabbing}.mat-slider-wrapper{-webkit-print-color-adjust:exact;color-adjust:exact;position:absolute}.mat-slider-track-wrapper{position:absolute;top:0;left:0;overflow:hidden}.mat-slider-track-fill{position:absolute;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-track-background{position:absolute;transform-origin:100% 100%;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-ticks-container{position:absolute;left:0;top:0;overflow:hidden}.mat-slider-ticks{-webkit-background-clip:content-box;background-clip:content-box;background-repeat:repeat;box-sizing:border-box;opacity:0;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-thumb-container{position:absolute;z-index:1;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-focus-ring{position:absolute;width:30px;height:30px;border-radius:50%;transform:scale(0);opacity:0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider.cdk-keyboard-focused .mat-slider-focus-ring,.mat-slider.cdk-program-focused .mat-slider-focus-ring{transform:scale(1);opacity:1}.mat-slider:not(.mat-slider-disabled):not(.mat-slider-sliding) .mat-slider-thumb-label,.mat-slider:not(.mat-slider-disabled):not(.mat-slider-sliding) .mat-slider-thumb{cursor:grab}.mat-slider-thumb{position:absolute;right:-10px;bottom:-10px;box-sizing:border-box;width:20px;height:20px;border:3px solid rgba(0,0,0,0);border-radius:50%;transform:scale(0.7);transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),border-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-thumb-label{display:none;align-items:center;justify-content:center;position:absolute;width:28px;height:28px;border-radius:50%;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),border-radius 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.cdk-high-contrast-active .mat-slider-thumb-label{outline:solid 1px}.mat-slider-thumb-label-text{z-index:1;opacity:0;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-sliding .mat-slider-track-fill,.mat-slider-sliding .mat-slider-track-background,.mat-slider-sliding .mat-slider-thumb-container{transition-duration:0ms}.mat-slider-has-ticks .mat-slider-wrapper::after{content:"";position:absolute;border-width:0;border-style:solid;opacity:0;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-has-ticks.cdk-focused:not(.mat-slider-hide-last-tick) .mat-slider-wrapper::after,.mat-slider-has-ticks:hover:not(.mat-slider-hide-last-tick) .mat-slider-wrapper::after{opacity:1}.mat-slider-has-ticks.cdk-focused:not(.mat-slider-disabled) .mat-slider-ticks,.mat-slider-has-ticks:hover:not(.mat-slider-disabled) .mat-slider-ticks{opacity:1}.mat-slider-thumb-label-showing .mat-slider-focus-ring{display:none}.mat-slider-thumb-label-showing .mat-slider-thumb-label{display:flex}.mat-slider-axis-inverted .mat-slider-track-fill{transform-origin:100% 100%}.mat-slider-axis-inverted .mat-slider-track-background{transform-origin:0 0}.mat-slider:not(.mat-slider-disabled).cdk-focused.mat-slider-thumb-label-showing .mat-slider-thumb{transform:scale(0)}.mat-slider:not(.mat-slider-disabled).cdk-focused .mat-slider-thumb-label{border-radius:50% 50% 0}.mat-slider:not(.mat-slider-disabled).cdk-focused .mat-slider-thumb-label-text{opacity:1}.mat-slider:not(.mat-slider-disabled).cdk-mouse-focused .mat-slider-thumb,.mat-slider:not(.mat-slider-disabled).cdk-touch-focused .mat-slider-thumb,.mat-slider:not(.mat-slider-disabled).cdk-program-focused .mat-slider-thumb{border-width:2px;transform:scale(1)}.mat-slider-disabled .mat-slider-focus-ring{transform:scale(0);opacity:0}.mat-slider-disabled .mat-slider-thumb{border-width:4px;transform:scale(0.5)}.mat-slider-disabled .mat-slider-thumb-label{display:none}.mat-slider-horizontal{height:48px;min-width:128px}.mat-slider-horizontal .mat-slider-wrapper{height:2px;top:23px;left:8px;right:8px}.mat-slider-horizontal .mat-slider-wrapper::after{height:2px;border-left-width:2px;right:0;top:0}.mat-slider-horizontal .mat-slider-track-wrapper{height:2px;width:100%}.mat-slider-horizontal .mat-slider-track-fill{height:2px;width:100%;transform:scaleX(0)}.mat-slider-horizontal .mat-slider-track-background{height:2px;width:100%;transform:scaleX(1)}.mat-slider-horizontal .mat-slider-ticks-container{height:2px;width:100%}.cdk-high-contrast-active .mat-slider-horizontal .mat-slider-ticks-container{height:0;outline:solid 2px;top:1px}.mat-slider-horizontal .mat-slider-ticks{height:2px;width:100%}.mat-slider-horizontal .mat-slider-thumb-container{width:100%;height:0;top:50%}.mat-slider-horizontal .mat-slider-focus-ring{top:-15px;right:-15px}.mat-slider-horizontal .mat-slider-thumb-label{right:-14px;top:-40px;transform:translateY(26px) scale(0.01) rotate(45deg)}.mat-slider-horizontal .mat-slider-thumb-label-text{transform:rotate(-45deg)}.mat-slider-horizontal.cdk-focused .mat-slider-thumb-label{transform:rotate(45deg)}.cdk-high-contrast-active .mat-slider-horizontal.cdk-focused .mat-slider-thumb-label,.cdk-high-contrast-active .mat-slider-horizontal.cdk-focused .mat-slider-thumb-label-text{transform:none}.mat-slider-vertical{width:48px;min-height:128px}.mat-slider-vertical .mat-slider-wrapper{width:2px;top:8px;bottom:8px;left:23px}.mat-slider-vertical .mat-slider-wrapper::after{width:2px;border-top-width:2px;bottom:0;left:0}.mat-slider-vertical .mat-slider-track-wrapper{height:100%;width:2px}.mat-slider-vertical .mat-slider-track-fill{height:100%;width:2px;transform:scaleY(0)}.mat-slider-vertical .mat-slider-track-background{height:100%;width:2px;transform:scaleY(1)}.mat-slider-vertical .mat-slider-ticks-container{width:2px;height:100%}.cdk-high-contrast-active .mat-slider-vertical .mat-slider-ticks-container{width:0;outline:solid 2px;left:1px}.mat-slider-vertical .mat-slider-focus-ring{bottom:-15px;left:-15px}.mat-slider-vertical .mat-slider-ticks{width:2px;height:100%}.mat-slider-vertical .mat-slider-thumb-container{height:100%;width:0;left:50%}.mat-slider-vertical .mat-slider-thumb{-webkit-backface-visibility:hidden;backface-visibility:hidden}.mat-slider-vertical .mat-slider-thumb-label{bottom:-14px;left:-40px;transform:translateX(26px) scale(0.01) rotate(-45deg)}.mat-slider-vertical .mat-slider-thumb-label-text{transform:rotate(45deg)}.mat-slider-vertical.cdk-focused .mat-slider-thumb-label{transform:rotate(-45deg)}[dir=rtl] .mat-slider-wrapper::after{left:0;right:auto}[dir=rtl] .mat-slider-horizontal .mat-slider-track-fill{transform-origin:100% 100%}[dir=rtl] .mat-slider-horizontal .mat-slider-track-background{transform-origin:0 0}[dir=rtl] .mat-slider-horizontal.mat-slider-axis-inverted .mat-slider-track-fill{transform-origin:0 0}[dir=rtl] .mat-slider-horizontal.mat-slider-axis-inverted .mat-slider-track-background{transform-origin:100% 100%}.mat-slider._mat-animation-noopable .mat-slider-track-fill,.mat-slider._mat-animation-noopable .mat-slider-track-background,.mat-slider._mat-animation-noopable .mat-slider-ticks,.mat-slider._mat-animation-noopable .mat-slider-thumb-container,.mat-slider._mat-animation-noopable .mat-slider-focus-ring,.mat-slider._mat-animation-noopable .mat-slider-thumb,.mat-slider._mat-animation-noopable .mat-slider-thumb-label,.mat-slider._mat-animation-noopable .mat-slider-thumb-label-text,.mat-slider._mat-animation-noopable .mat-slider-has-ticks .mat-slider-wrapper::after{transition:none}'],encapsulation:2,changeDetection:0}),h}();function K(h){return!isNaN(h)&&isFinite(h)}function B(h){return"t"===h.type[0]}function G(h,M){var f;return(f=B(h)?"number"==typeof M?H(h.touches,M)||H(h.changedTouches,M):h.touches[0]||h.changedTouches[0]:h)?{x:f.clientX,y:f.clientY}:void 0}function H(h,M){for(var f=0;f<h.length;f++)if(h[f].identifier===M)return h[f]}var X=function(){var h=(0,a.Z)(function M(){(0,c.Z)(this,M)});return h.\u0275fac=function(f){return new(f||h)},h.\u0275mod=n.\u0275\u0275defineNgModule({type:h}),h.\u0275inj=n.\u0275\u0275defineInjector({imports:[m.CommonModule,p.MatCommonModule,p.MatCommonModule]}),h}()},44841:(I,_,r)=>{function u(d,a){(null==a||a>d.length)&&(a=d.length);for(var c=0,m=new Array(a);c<a;c++)m[c]=d[c];return m}r.d(_,{Z:()=>u})},35488:(I,_,r)=>{function u(d){if(void 0===d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d}r.d(_,{Z:()=>u})},95106:(I,_,r)=>{r.d(_,{Z:()=>d});var u=r(44206);function d(a,c){var m=typeof Symbol<"u"&&a[Symbol.iterator]||a["@@iterator"];if(!m){if(Array.isArray(a)||(m=(0,u.Z)(a))||c&&a&&"number"==typeof a.length){m&&(a=m);var n=0,p=function(){};return{s:p,n:function(){return n>=a.length?{done:!0}:{done:!1,value:a[n++]}},e:function(D){throw D},f:p}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var S,P=!0,A=!1;return{s:function(){m=m.call(a)},n:function(){var D=m.next();return P=D.done,D},e:function(D){A=!0,S=D},f:function(){try{!P&&null!=m.return&&m.return()}finally{if(A)throw S}}}}},28694:(I,_,r)=>{r.d(_,{Z:()=>n});var u=r(20265),d=r(98568),a=r(43445),c=r(35488);function n(p){var P=(0,d.Z)();return function(){var g,S=(0,u.Z)(p);if(P){var D=(0,u.Z)(this).constructor;g=Reflect.construct(S,arguments,D)}else g=S.apply(this,arguments);return function m(p,P){if(P&&("object"===(0,a.Z)(P)||"function"==typeof P))return P;if(void 0!==P)throw new TypeError("Derived constructors may only return object or undefined");return(0,c.Z)(p)}(this,g)}}},20265:(I,_,r)=>{function u(d){return(u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(c){return c.__proto__||Object.getPrototypeOf(c)})(d)}r.d(_,{Z:()=>u})},24582:(I,_,r)=>{r.d(_,{Z:()=>d});var u=r(10006);function d(a,c){if("function"!=typeof c&&null!==c)throw new TypeError("Super expression must either be null or a function");a.prototype=Object.create(c&&c.prototype,{constructor:{value:a,writable:!0,configurable:!0}}),Object.defineProperty(a,"prototype",{writable:!1}),c&&(0,u.Z)(a,c)}},98568:(I,_,r)=>{function u(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}r.d(_,{Z:()=>u})},4826:(I,_,r)=>{function u(d){if(typeof Symbol<"u"&&null!=d[Symbol.iterator]||null!=d["@@iterator"])return Array.from(d)}r.d(_,{Z:()=>u})},10006:(I,_,r)=>{function u(d,a){return(u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,n){return m.__proto__=n,m})(d,a)}r.d(_,{Z:()=>u})},86170:(I,_,r)=>{r.d(_,{Z:()=>n});var u=r(44841),a=r(4826),c=r(44206);function n(p){return function d(p){if(Array.isArray(p))return(0,u.Z)(p)}(p)||(0,a.Z)(p)||(0,c.Z)(p)||function m(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(I,_,r)=>{r.d(_,{Z:()=>d});var u=r(44841);function d(a,c){if(a){if("string"==typeof a)return(0,u.Z)(a,c);var m=Object.prototype.toString.call(a).slice(8,-1);if("Object"===m&&a.constructor&&(m=a.constructor.name),"Map"===m||"Set"===m)return Array.from(a);if("Arguments"===m||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(m))return(0,u.Z)(a,c)}}}}]); +//# sourceMappingURL=3103.6e520a55c0537c2d.js.map \ No newline at end of file diff --git a/3103.6e520a55c0537c2d.js.map b/3103.6e520a55c0537c2d.js.map new file mode 100644 index 0000000..7d0a72b --- /dev/null +++ b/3103.6e520a55c0537c2d.js.map @@ -0,0 +1 @@ +{"version":3,"file":"3103.6e520a55c0537c2d.js","mappings":"kUAqGUA,yDCpGGC,cAAsBC,GAAiB,SAACC,GAAM,OAAK,SAAiCC,GAC7FD,EAAOE,MACPA,KAAKC,QAAUF,EAAM,GAAAG,OACZH,EAAOI,OAAM,6CAAAD,OACxBH,EAAOK,IAAI,SAACC,EAAKC,GAAC,SAAAJ,OAAQI,EAAI,EAAC,MAAAJ,OAAKG,EAAIE,WAAU,GAAIC,KAAK,SACnD,GACNR,KAAKS,KAAO,sBACZT,KAAKD,OAASA,CAClB,CAAC,cDNYW,EAAY,WACrB,SAAAA,EAAYC,IAAiBC,OAAAZ,KAAAU,GACzBV,KAAKW,gBAAkBA,EACvBX,KAAKa,QAAS,EACdb,KAAKc,WAAa,KAClBd,KAAKe,YAAc,IACvB,CAACC,cAAAN,EAAA,EAAAO,IAAA,cAAAC,MACD,WACI,IAAInB,EACJ,IAAKC,KAAKa,OAAQ,CACdb,KAAKa,QAAS,EACd,IAAQC,EAAed,KAAfc,WACR,GAAI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,UADAhB,QAAA,MAAAA,QAAAC,WACAD,QAAAC,UAAAgB,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAAjS,UAAAkS,QAAApS,KAAAgR,QAAAC,UAAAkB,QAAA,mBACA,CACA,OACA,QACA,CACA,kCCVe,SAAAE,EAAAC,GACf,UAAAzC,OAAA,WAAAyC,EAAAzC,OAAAC,WAAA,MAAAwC,EAAA,qBAAA/U,MAAAgV,KAAAD,EACA,mCCFe,SAAAE,EAAA9C,EAAA+C,GACf,OAAAD,EAAArS,OAAAoR,eAAApR,OAAAoR,eAAAC,OAAA,SAAA9B,EAAA+C,GACA,OAAA/C,EAAA+B,UAAAgB,EACA/C,CACA,GACAA,EAAA+C,EACA,wFCFe,SAAAjU,EAAAe,GACf,OCJe,SAAAmT,EAAAnT,GACf,GAAAhC,MAAAC,QAAA+B,GAAA,SAAiCoT,EAAA3C,GAAgBzQ,EACjD,CDESmT,CAAiBnT,KAAA,EAASqT,EAAA5C,GAAezQ,KAAA,EAASsT,EAAA7C,GAA0BzQ,IELtE,SAAAuT,IACf,UAAA3C,UAAA,uIACA,CFG8F2C,EAC9F,mDGLe,SAAAC,EAAArD,EAAAsD,GACf,GAAAtD,EACA,qBAAAA,EAAA,SAAoCuD,EAAAjD,GAAgBN,EAAAsD,GACpD,IAAAnV,EAAAsC,OAAAD,UAAAvD,SAAAqD,KAAA0P,GAAAwD,MAAA,MAEA,GADA,WAAArV,GAAA6R,EAAArP,cAAAxC,EAAA6R,EAAArP,YAAAxD,MACA,QAAAgB,GAAA,QAAAA,EAAA,OAAAN,MAAAgV,KAAA7C,GACA,iBAAA7R,GAAA,2CAAAsV,KAAAtV,GAAA,SAAsFoV,EAAAjD,GAAgBN,EAAAsD,EAAA,CACtG","names":["empty","UnsubscriptionError","createErrorClass","_super","errors","this","message","concat","length","map","err","i","toString","join","name","Subscription","initialTeardown","_classCallCheck","closed","_parentage","_finalizers","_createClass","key","value","Array","isArray","_step","_iterator","_createForOfIteratorHelper","s","n","done","remove","e","f","initialFinalizer","isFunction","_step2","_iterator2","finalizer","execFinalizer","_toConsumableArray","push","teardown","_a","_hasParent","_addParent","parent","includes","arrRemove","_removeParent","EMPTY","EMPTY_SUBSCRIPTION","isSubscription","add","unsubscribe","arr","item","index","indexOf","splice","createImpl","ctorFunc","instance","Error","call","stack","prototype","Object","create","constructor","_c0","activeEventOptions","normalizePassiveListenerOptions","passive","MAT_LEGACY_SLIDER_VALUE_ACCESSOR","provide","NG_VALUE_ACCESSOR","useExisting","forwardRef","MatLegacySlider","multi","MatLegacySliderChange","_MatSliderBase","mixinTabIndex","mixinColor","mixinDisabled","_class","_elementRef","_MatSliderBase2","_inherits","_createSuper","elementRef","_focusMonitor","_changeDetectorRef","_dir","tabIndex","_ngZone","_document","_animationMode","_this","_invert","_max","_min","_thumbLabel","_tickInterval","_value","_vertical","change","EventEmitter","input","valueChange","onTouched","_percent","_isSliding","_isActive","_tickIntervalPercent","_sliderDimensions","_controlValueAccessorChangeFn","_dirChangeSubscription","_pointerDown","event","disabled","isTouchEvent","button","run","_touchId","getTouchIdForSlider","sliderHost","touches","target","contains","identifier","nativeElement","undefined","pointerPosition","getPointerPositionOnPage","oldValue","_lastPointerEvent","_focusHostElement","_onMouseenter","_bindGlobalEvents","_updateValueFromPosition","_valueOnSlideStart","cancelable","preventDefault","_emitInputEvent","_pointerMove","_pointerUp","findMatchingTouch","changedTouches","_removeGlobalEvents","_emitChangeEvent","_windowBlur","parseInt","runOutsideAngular","element","addEventListener","get","set","coerceBooleanProperty","v","coerceNumberProperty","_calculatePercentage","markForCheck","_roundToDecimal","split","pop","min","max","parseFloat","toFixed","displayWith","options","_blurHostElement","_clamp","vertical","invert","percent","_isMinValue","thumbLabel","axis","scale","sign","_shouldInvertMouseCoords","transform","_getThumbGap","display","_getDirection","offset","tickSize","backgroundSize","rotate","styles","shouldInvertAxis","_shouldInvertAxis","_this2","monitor","subscribe","origin","detectChanges","removeEventListener","stopMonitoring","_getSliderDimensions","_updateTickIntervalPercent","hasModifierKey","keyCode","PAGE_UP","_increment","PAGE_DOWN","END","HOME","LEFT_ARROW","UP_ARROW","RIGHT_ARROW","DOWN_ARROW","defaultView","window","triggerEvent","document","isTouch","endEventName","_getWindow","numSteps","clampedValue","step","pos","y","x","top","left","height","width","exactValue","_calculateValue","closestValue","Math","round","emit","_createChangeEvent","tickInterval","tickIntervalPercent","trackSize","ceil","isSafeNumber","arguments","source","percentage","_sliderWrapper","getBoundingClientRect","focus","blur","fn","isDisabled","ɵfac","t","i0","i1","i2","DOCUMENT","ANIMATION_MODULE_TYPE","ɵcmp","type","selectors","viewQuery","rf","ctx","_t","first","hostAttrs","hostVars","hostBindings","_onFocus","_onBlur","$event","_onKeydown","_onKeyup","valueText","displayValue","inputs","color","outputs","exportAs","features","decls","vars","consts","template","_getTrackBackgroundStyles","_getTrackFillStyles","_getTicksContainerStyles","_getTicksStyles","_getThumbContainerStyles","dependencies","i3","encapsulation","changeDetection","isNaN","isFinite","id","point","clientX","clientY","MatLegacySliderModule","ɵmod","ɵinj","imports","CommonModule","MatCommonModule","_arrayLikeToArray","len","arr2","_assertThisInitialized","self","ReferenceError","o","allowArrayLike","it","Symbol","iterator","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","_e","TypeError","normalCompletion","didErr","next","_e2","return","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","result","Super","getPrototypeOf","NewTarget","Reflect","construct","apply","_possibleConstructorReturn","esm_typeof","assertThisInitialized","_getPrototypeOf","setPrototypeOf","bind","__proto__","subClass","superClass","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_iterableToArray","iter","from","_setPrototypeOf","p","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","slice","test"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/Subscription.js","./node_modules/rxjs/dist/esm/internal/util/UnsubscriptionError.js","./node_modules/rxjs/dist/esm/internal/util/arrRemove.js","./node_modules/rxjs/dist/esm/internal/util/createErrorClass.js","./node_modules/rxjs/dist/esm/internal/util/isFunction.js","./node_modules/@angular/material/fesm2022/legacy-slider.mjs","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { isFunction } from './util/isFunction';\nimport { UnsubscriptionError } from './util/UnsubscriptionError';\nimport { arrRemove } from './util/arrRemove';\nexport class Subscription {\n constructor(initialTeardown) {\n this.initialTeardown = initialTeardown;\n this.closed = false;\n this._parentage = null;\n this._finalizers = null;\n }\n unsubscribe() {\n let errors;\n if (!this.closed) {\n this.closed = true;\n const { _parentage } = this;\n if (_parentage) {\n this._parentage = null;\n if (Array.isArray(_parentage)) {\n for (const parent of _parentage) {\n parent.remove(this);\n }\n }\n else {\n _parentage.remove(this);\n }\n }\n const { initialTeardown: initialFinalizer } = this;\n if (isFunction(initialFinalizer)) {\n try {\n initialFinalizer();\n }\n catch (e) {\n errors = e instanceof UnsubscriptionError ? e.errors : [e];\n }\n }\n const { _finalizers } = this;\n if (_finalizers) {\n this._finalizers = null;\n for (const finalizer of _finalizers) {\n try {\n execFinalizer(finalizer);\n }\n catch (err) {\n errors = errors !== null && errors !== void 0 ? errors : [];\n if (err instanceof UnsubscriptionError) {\n errors = [...errors, ...err.errors];\n }\n else {\n errors.push(err);\n }\n }\n }\n }\n if (errors) {\n throw new UnsubscriptionError(errors);\n }\n }\n }\n add(teardown) {\n var _a;\n if (teardown && teardown !== this) {\n if (this.closed) {\n execFinalizer(teardown);\n }\n else {\n if (teardown instanceof Subscription) {\n if (teardown.closed || teardown._hasParent(this)) {\n return;\n }\n teardown._addParent(this);\n }\n (this._finalizers = (_a = this._finalizers) !== null && _a !== void 0 ? _a : []).push(teardown);\n }\n }\n }\n _hasParent(parent) {\n const { _parentage } = this;\n return _parentage === parent || (Array.isArray(_parentage) && _parentage.includes(parent));\n }\n _addParent(parent) {\n const { _parentage } = this;\n this._parentage = Array.isArray(_parentage) ? (_parentage.push(parent), _parentage) : _parentage ? [_parentage, parent] : parent;\n }\n _removeParent(parent) {\n const { _parentage } = this;\n if (_parentage === parent) {\n this._parentage = null;\n }\n else if (Array.isArray(_parentage)) {\n arrRemove(_parentage, parent);\n }\n }\n remove(teardown) {\n const { _finalizers } = this;\n _finalizers && arrRemove(_finalizers, teardown);\n if (teardown instanceof Subscription) {\n teardown._removeParent(this);\n }\n }\n}\nSubscription.EMPTY = (() => {\n const empty = new Subscription();\n empty.closed = true;\n return empty;\n})();\nexport const EMPTY_SUBSCRIPTION = Subscription.EMPTY;\nexport function isSubscription(value) {\n return (value instanceof Subscription ||\n (value && 'closed' in value && isFunction(value.remove) && isFunction(value.add) && isFunction(value.unsubscribe)));\n}\nfunction execFinalizer(finalizer) {\n if (isFunction(finalizer)) {\n finalizer();\n }\n else {\n finalizer.unsubscribe();\n }\n}\n","import { createErrorClass } from './createErrorClass';\nexport const UnsubscriptionError = createErrorClass((_super) => function UnsubscriptionErrorImpl(errors) {\n _super(this);\n this.message = errors\n ? `${errors.length} errors occurred during unsubscription:\n${errors.map((err, i) => `${i + 1}) ${err.toString()}`).join('\\n ')}`\n : '';\n this.name = 'UnsubscriptionError';\n this.errors = errors;\n});\n","export function arrRemove(arr, item) {\n if (arr) {\n const index = arr.indexOf(item);\n 0 <= index && arr.splice(index, 1);\n }\n}\n","export function createErrorClass(createImpl) {\n const _super = (instance) => {\n Error.call(instance);\n instance.stack = new Error().stack;\n };\n const ctorFunc = createImpl(_super);\n ctorFunc.prototype = Object.create(Error.prototype);\n ctorFunc.prototype.constructor = ctorFunc;\n return ctorFunc;\n}\n","export function isFunction(value) {\n return typeof value === 'function';\n}\n","import * as i3 from '@angular/common';\nimport { DOCUMENT, CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { forwardRef, EventEmitter, Component, ViewEncapsulation, ChangeDetectionStrategy, Optional, Attribute, Inject, Input, Output, ViewChild, NgModule } from '@angular/core';\nimport { mixinTabIndex, mixinColor, mixinDisabled, MatCommonModule } from '@angular/material/core';\nimport * as i1 from '@angular/cdk/a11y';\nimport * as i2 from '@angular/cdk/bidi';\nimport { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';\nimport { hasModifierKey, DOWN_ARROW, RIGHT_ARROW, UP_ARROW, LEFT_ARROW, HOME, END, PAGE_DOWN, PAGE_UP } from '@angular/cdk/keycodes';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';\nimport { normalizePassiveListenerOptions } from '@angular/cdk/platform';\nimport { Subscription } from 'rxjs';\n\nconst activeEventOptions = normalizePassiveListenerOptions({ passive: false });\n/**\n * Visually, a 30px separation between tick marks looks best. This is very subjective but it is\n * the default separation we chose.\n */\nconst MIN_AUTO_TICK_SEPARATION = 30;\n/** The thumb gap size for a disabled slider. */\nconst DISABLED_THUMB_GAP = 7;\n/** The thumb gap size for a non-active slider at its minimum value. */\nconst MIN_VALUE_NONACTIVE_THUMB_GAP = 7;\n/** The thumb gap size for an active slider at its minimum value. */\nconst MIN_VALUE_ACTIVE_THUMB_GAP = 10;\n/**\n * Provider Expression that allows mat-slider to register as a ControlValueAccessor.\n * This allows it to support [(ngModel)] and [formControl].\n * @docs-private\n * @deprecated Use `MAT_SLIDER_VALUE_ACCESSOR` from `@angular/material/slider` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nconst MAT_LEGACY_SLIDER_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => MatLegacySlider),\n multi: true,\n};\n/**\n * A simple change event emitted by the MatSlider component.\n * @deprecated Use `MatSliderChange` from `@angular/material/slider` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacySliderChange {\n}\n// Boilerplate for applying mixins to MatSlider.\n/** @docs-private */\nconst _MatSliderBase = mixinTabIndex(mixinColor(mixinDisabled(class {\n constructor(_elementRef) {\n this._elementRef = _elementRef;\n }\n}), 'accent'));\n/**\n * Allows users to select from a range of values by moving the slider thumb. It is similar in\n * behavior to the native `<input type=\"range\">` element.\n * @deprecated Use `MatSlider` from `@angular/material/slider` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacySlider extends _MatSliderBase {\n /** Whether the slider is inverted. */\n get invert() {\n return this._invert;\n }\n set invert(value) {\n this._invert = coerceBooleanProperty(value);\n }\n /** The maximum value that the slider can have. */\n get max() {\n return this._max;\n }\n set max(v) {\n this._max = coerceNumberProperty(v, this._max);\n this._percent = this._calculatePercentage(this._value);\n // Since this also modifies the percentage, we need to let the change detection know.\n this._changeDetectorRef.markForCheck();\n }\n /** The minimum value that the slider can have. */\n get min() {\n return this._min;\n }\n set min(v) {\n this._min = coerceNumberProperty(v, this._min);\n this._percent = this._calculatePercentage(this._value);\n // Since this also modifies the percentage, we need to let the change detection know.\n this._changeDetectorRef.markForCheck();\n }\n /** The values at which the thumb will snap. */\n get step() {\n return this._step;\n }\n set step(v) {\n this._step = coerceNumberProperty(v, this._step);\n if (this._step % 1 !== 0) {\n this._roundToDecimal = this._step.toString().split('.').pop().length;\n }\n // Since this could modify the label, we need to notify the change detection.\n this._changeDetectorRef.markForCheck();\n }\n /** Whether or not to show the thumb label. */\n get thumbLabel() {\n return this._thumbLabel;\n }\n set thumbLabel(value) {\n this._thumbLabel = coerceBooleanProperty(value);\n }\n /**\n * How often to show ticks. Relative to the step so that a tick always appears on a step.\n * Ex: Tick interval of 4 with a step of 3 will draw a tick every 4 steps (every 12 values).\n */\n get tickInterval() {\n return this._tickInterval;\n }\n set tickInterval(value) {\n if (value === 'auto') {\n this._tickInterval = 'auto';\n }\n else if (typeof value === 'number' || typeof value === 'string') {\n this._tickInterval = coerceNumberProperty(value, this._tickInterval);\n }\n else {\n this._tickInterval = 0;\n }\n }\n /** Value of the slider. */\n get value() {\n // If the value needs to be read and it is still uninitialized, initialize it to the min.\n if (this._value === null) {\n this.value = this._min;\n }\n return this._value;\n }\n set value(v) {\n if (v !== this._value) {\n let value = coerceNumberProperty(v, 0);\n // While incrementing by a decimal we can end up with values like 33.300000000000004.\n // Truncate it to ensure that it matches the label and to make it easier to work with.\n if (this._roundToDecimal && value !== this.min && value !== this.max) {\n value = parseFloat(value.toFixed(this._roundToDecimal));\n }\n this._value = value;\n this._percent = this._calculatePercentage(this._value);\n // Since this also modifies the percentage, we need to let the change detection know.\n this._changeDetectorRef.markForCheck();\n }\n }\n /** Whether the slider is vertical. */\n get vertical() {\n return this._vertical;\n }\n set vertical(value) {\n this._vertical = coerceBooleanProperty(value);\n }\n /** The value to be used for display purposes. */\n get displayValue() {\n if (this.displayWith) {\n // Value is never null but since setters and getters cannot have\n // different types, the value getter is also typed to return null.\n return this.displayWith(this.value);\n }\n // Note that this could be improved further by rounding something like 0.999 to 1 or\n // 0.899 to 0.9, however it is very performance sensitive, because it gets called on\n // every change detection cycle.\n if (this._roundToDecimal && this.value && this.value % 1 !== 0) {\n return this.value.toFixed(this._roundToDecimal);\n }\n return this.value || 0;\n }\n /** set focus to the host element */\n focus(options) {\n this._focusHostElement(options);\n }\n /** blur the host element */\n blur() {\n this._blurHostElement();\n }\n /** The percentage of the slider that coincides with the value. */\n get percent() {\n return this._clamp(this._percent);\n }\n /**\n * Whether the axis of the slider is inverted.\n * (i.e. whether moving the thumb in the positive x or y direction decreases the slider's value).\n */\n _shouldInvertAxis() {\n // Standard non-inverted mode for a vertical slider should be dragging the thumb from bottom to\n // top. However from a y-axis standpoint this is inverted.\n return this.vertical ? !this.invert : this.invert;\n }\n /** Whether the slider is at its minimum value. */\n _isMinValue() {\n return this.percent === 0;\n }\n /**\n * The amount of space to leave between the slider thumb and the track fill & track background\n * elements.\n */\n _getThumbGap() {\n if (this.disabled) {\n return DISABLED_THUMB_GAP;\n }\n if (this._isMinValue() && !this.thumbLabel) {\n return this._isActive ? MIN_VALUE_ACTIVE_THUMB_GAP : MIN_VALUE_NONACTIVE_THUMB_GAP;\n }\n return 0;\n }\n /** CSS styles for the track background element. */\n _getTrackBackgroundStyles() {\n const axis = this.vertical ? 'Y' : 'X';\n const scale = this.vertical ? `1, ${1 - this.percent}, 1` : `${1 - this.percent}, 1, 1`;\n const sign = this._shouldInvertMouseCoords() ? '-' : '';\n return {\n // scale3d avoids some rendering issues in Chrome. See #12071.\n transform: `translate${axis}(${sign}${this._getThumbGap()}px) scale3d(${scale})`,\n };\n }\n /** CSS styles for the track fill element. */\n _getTrackFillStyles() {\n const percent = this.percent;\n const axis = this.vertical ? 'Y' : 'X';\n const scale = this.vertical ? `1, ${percent}, 1` : `${percent}, 1, 1`;\n const sign = this._shouldInvertMouseCoords() ? '' : '-';\n return {\n // scale3d avoids some rendering issues in Chrome. See #12071.\n transform: `translate${axis}(${sign}${this._getThumbGap()}px) scale3d(${scale})`,\n // iOS Safari has a bug where it won't re-render elements which start of as `scale(0)` until\n // something forces a style recalculation on it. Since we'll end up with `scale(0)` when\n // the value of the slider is 0, we can easily get into this situation. We force a\n // recalculation by changing the element's `display` when it goes from 0 to any other value.\n display: percent === 0 ? 'none' : '',\n };\n }\n /** CSS styles for the ticks container element. */\n _getTicksContainerStyles() {\n let axis = this.vertical ? 'Y' : 'X';\n // For a horizontal slider in RTL languages we push the ticks container off the left edge\n // instead of the right edge to avoid causing a horizontal scrollbar to appear.\n let sign = !this.vertical && this._getDirection() == 'rtl' ? '' : '-';\n let offset = (this._tickIntervalPercent / 2) * 100;\n return {\n 'transform': `translate${axis}(${sign}${offset}%)`,\n };\n }\n /** CSS styles for the ticks element. */\n _getTicksStyles() {\n let tickSize = this._tickIntervalPercent * 100;\n let backgroundSize = this.vertical ? `2px ${tickSize}%` : `${tickSize}% 2px`;\n let axis = this.vertical ? 'Y' : 'X';\n // Depending on the direction we pushed the ticks container, push the ticks the opposite\n // direction to re-center them but clip off the end edge. In RTL languages we need to flip the\n // ticks 180 degrees so we're really cutting off the end edge abd not the start.\n let sign = !this.vertical && this._getDirection() == 'rtl' ? '-' : '';\n let rotate = !this.vertical && this._getDirection() == 'rtl' ? ' rotate(180deg)' : '';\n let styles = {\n 'backgroundSize': backgroundSize,\n // Without translateZ ticks sometimes jitter as the slider moves on Chrome & Firefox.\n 'transform': `translateZ(0) translate${axis}(${sign}${tickSize / 2}%)${rotate}`,\n };\n if (this._isMinValue() && this._getThumbGap()) {\n const shouldInvertAxis = this._shouldInvertAxis();\n let side;\n if (this.vertical) {\n side = shouldInvertAxis ? 'Bottom' : 'Top';\n }\n else {\n side = shouldInvertAxis ? 'Right' : 'Left';\n }\n styles[`padding${side}`] = `${this._getThumbGap()}px`;\n }\n return styles;\n }\n _getThumbContainerStyles() {\n const shouldInvertAxis = this._shouldInvertAxis();\n let axis = this.vertical ? 'Y' : 'X';\n // For a horizontal slider in RTL languages we push the thumb container off the left edge\n // instead of the right edge to avoid causing a horizontal scrollbar to appear.\n let invertOffset = this._getDirection() == 'rtl' && !this.vertical ? !shouldInvertAxis : shouldInvertAxis;\n let offset = (invertOffset ? this.percent : 1 - this.percent) * 100;\n return {\n 'transform': `translate${axis}(-${offset}%)`,\n };\n }\n /**\n * Whether mouse events should be converted to a slider position by calculating their distance\n * from the right or bottom edge of the slider as opposed to the top or left.\n */\n _shouldInvertMouseCoords() {\n const shouldInvertAxis = this._shouldInvertAxis();\n return this._getDirection() == 'rtl' && !this.vertical ? !shouldInvertAxis : shouldInvertAxis;\n }\n /** The language direction for this slider element. */\n _getDirection() {\n return this._dir && this._dir.value == 'rtl' ? 'rtl' : 'ltr';\n }\n constructor(elementRef, _focusMonitor, _changeDetectorRef, _dir, tabIndex, _ngZone, _document, _animationMode) {\n super(elementRef);\n this._focusMonitor = _focusMonitor;\n this._changeDetectorRef = _changeDetectorRef;\n this._dir = _dir;\n this._ngZone = _ngZone;\n this._animationMode = _animationMode;\n this._invert = false;\n this._max = 100;\n this._min = 0;\n this._step = 1;\n this._thumbLabel = false;\n this._tickInterval = 0;\n this._value = null;\n this._vertical = false;\n /** Event emitted when the slider value has changed. */\n this.change = new EventEmitter();\n /** Event emitted when the slider thumb moves. */\n this.input = new EventEmitter();\n /**\n * Emits when the raw value of the slider changes. This is here primarily\n * to facilitate the two-way binding for the `value` input.\n * @docs-private\n */\n this.valueChange = new EventEmitter();\n /** onTouch function registered via registerOnTouch (ControlValueAccessor). */\n this.onTouched = () => { };\n this._percent = 0;\n /**\n * Whether or not the thumb is sliding and what the user is using to slide it with.\n * Used to determine if there should be a transition for the thumb and fill track.\n */\n this._isSliding = null;\n /**\n * Whether or not the slider is active (clicked or sliding).\n * Used to shrink and grow the thumb as according to the Material Design spec.\n */\n this._isActive = false;\n /** The size of a tick interval as a percentage of the size of the track. */\n this._tickIntervalPercent = 0;\n /** The dimensions of the slider. */\n this._sliderDimensions = null;\n this._controlValueAccessorChangeFn = () => { };\n /** Subscription to the Directionality change EventEmitter. */\n this._dirChangeSubscription = Subscription.EMPTY;\n /** Called when the user has put their pointer down on the slider. */\n this._pointerDown = (event) => {\n // Don't do anything if the slider is disabled or the\n // user is using anything other than the main mouse button.\n if (this.disabled || this._isSliding || (!isTouchEvent(event) && event.button !== 0)) {\n return;\n }\n this._ngZone.run(() => {\n this._touchId = isTouchEvent(event)\n ? getTouchIdForSlider(event, this._elementRef.nativeElement)\n : undefined;\n const pointerPosition = getPointerPositionOnPage(event, this._touchId);\n if (pointerPosition) {\n const oldValue = this.value;\n this._isSliding = 'pointer';\n this._lastPointerEvent = event;\n this._focusHostElement();\n this._onMouseenter(); // Simulate mouseenter in case this is a mobile device.\n this._bindGlobalEvents(event);\n this._focusHostElement();\n this._updateValueFromPosition(pointerPosition);\n this._valueOnSlideStart = oldValue;\n // Despite the fact that we explicitly bind active events, in some cases the browser\n // still dispatches non-cancelable events which cause this call to throw an error.\n // There doesn't appear to be a good way of avoiding them. See #23820.\n if (event.cancelable) {\n event.preventDefault();\n }\n // Emit a change and input event if the value changed.\n if (oldValue != this.value) {\n this._emitInputEvent();\n }\n }\n });\n };\n /**\n * Called when the user has moved their pointer after\n * starting to drag. Bound on the document level.\n */\n this._pointerMove = (event) => {\n if (this._isSliding === 'pointer') {\n const pointerPosition = getPointerPositionOnPage(event, this._touchId);\n if (pointerPosition) {\n // Prevent the slide from selecting anything else.\n if (event.cancelable) {\n event.preventDefault();\n }\n const oldValue = this.value;\n this._lastPointerEvent = event;\n this._updateValueFromPosition(pointerPosition);\n // Native range elements always emit `input` events when the value changed while sliding.\n if (oldValue != this.value) {\n this._emitInputEvent();\n }\n }\n }\n };\n /** Called when the user has lifted their pointer. Bound on the document level. */\n this._pointerUp = (event) => {\n if (this._isSliding === 'pointer') {\n if (!isTouchEvent(event) ||\n typeof this._touchId !== 'number' ||\n // Note that we use `changedTouches`, rather than `touches` because it\n // seems like in most cases `touches` is empty for `touchend` events.\n findMatchingTouch(event.changedTouches, this._touchId)) {\n if (event.cancelable) {\n event.preventDefault();\n }\n this._removeGlobalEvents();\n this._isSliding = null;\n this._touchId = undefined;\n if (this._valueOnSlideStart != this.value && !this.disabled) {\n this._emitChangeEvent();\n }\n this._valueOnSlideStart = this._lastPointerEvent = null;\n }\n }\n };\n /** Called when the window has lost focus. */\n this._windowBlur = () => {\n // If the window is blurred while dragging we need to stop dragging because the\n // browser won't dispatch the `mouseup` and `touchend` events anymore.\n if (this._lastPointerEvent) {\n this._pointerUp(this._lastPointerEvent);\n }\n };\n this._document = _document;\n this.tabIndex = parseInt(tabIndex) || 0;\n _ngZone.runOutsideAngular(() => {\n const element = elementRef.nativeElement;\n element.addEventListener('mousedown', this._pointerDown, activeEventOptions);\n element.addEventListener('touchstart', this._pointerDown, activeEventOptions);\n });\n }\n ngAfterViewInit() {\n this._focusMonitor.monitor(this._elementRef, true).subscribe((origin) => {\n this._isActive = !!origin && origin !== 'keyboard';\n this._changeDetectorRef.detectChanges();\n });\n if (this._dir) {\n this._dirChangeSubscription = this._dir.change.subscribe(() => {\n this._changeDetectorRef.markForCheck();\n });\n }\n }\n ngOnDestroy() {\n const element = this._elementRef.nativeElement;\n element.removeEventListener('mousedown', this._pointerDown, activeEventOptions);\n element.removeEventListener('touchstart', this._pointerDown, activeEventOptions);\n this._lastPointerEvent = null;\n this._removeGlobalEvents();\n this._focusMonitor.stopMonitoring(this._elementRef);\n this._dirChangeSubscription.unsubscribe();\n }\n _onMouseenter() {\n if (this.disabled) {\n return;\n }\n // We save the dimensions of the slider here so we can use them to update the spacing of the\n // ticks and determine where on the slider click and slide events happen.\n this._sliderDimensions = this._getSliderDimensions();\n this._updateTickIntervalPercent();\n }\n _onFocus() {\n // We save the dimensions of the slider here so we can use them to update the spacing of the\n // ticks and determine where on the slider click and slide events happen.\n this._sliderDimensions = this._getSliderDimensions();\n this._updateTickIntervalPercent();\n }\n _onBlur() {\n this.onTouched();\n }\n _onKeydown(event) {\n if (this.disabled ||\n hasModifierKey(event) ||\n (this._isSliding && this._isSliding !== 'keyboard')) {\n return;\n }\n const oldValue = this.value;\n switch (event.keyCode) {\n case PAGE_UP:\n this._increment(10);\n break;\n case PAGE_DOWN:\n this._increment(-10);\n break;\n case END:\n this.value = this.max;\n break;\n case HOME:\n this.value = this.min;\n break;\n case LEFT_ARROW:\n // NOTE: For a sighted user it would make more sense that when they press an arrow key on an\n // inverted slider the thumb moves in that direction. However for a blind user, nothing\n // about the slider indicates that it is inverted. They will expect left to be decrement,\n // regardless of how it appears on the screen. For speakers ofRTL languages, they probably\n // expect left to mean increment. Therefore we flip the meaning of the side arrow keys for\n // RTL. For inverted sliders we prefer a good a11y experience to having it \"look right\" for\n // sighted users, therefore we do not swap the meaning.\n this._increment(this._getDirection() == 'rtl' ? 1 : -1);\n break;\n case UP_ARROW:\n this._increment(1);\n break;\n case RIGHT_ARROW:\n // See comment on LEFT_ARROW about the conditions under which we flip the meaning.\n this._increment(this._getDirection() == 'rtl' ? -1 : 1);\n break;\n case DOWN_ARROW:\n this._increment(-1);\n break;\n default:\n // Return if the key is not one that we explicitly handle to avoid calling preventDefault on\n // it.\n return;\n }\n if (oldValue != this.value) {\n this._emitInputEvent();\n this._emitChangeEvent();\n }\n this._isSliding = 'keyboard';\n event.preventDefault();\n }\n _onKeyup() {\n if (this._isSliding === 'keyboard') {\n this._isSliding = null;\n }\n }\n /** Use defaultView of injected document if available or fallback to global window reference */\n _getWindow() {\n return this._document.defaultView || window;\n }\n /**\n * Binds our global move and end events. They're bound at the document level and only while\n * dragging so that the user doesn't have to keep their pointer exactly over the slider\n * as they're swiping across the screen.\n */\n _bindGlobalEvents(triggerEvent) {\n // Note that we bind the events to the `document`, because it allows us to capture\n // drag cancel events where the user's pointer is outside the browser window.\n const document = this._document;\n const isTouch = isTouchEvent(triggerEvent);\n const moveEventName = isTouch ? 'touchmove' : 'mousemove';\n const endEventName = isTouch ? 'touchend' : 'mouseup';\n document.addEventListener(moveEventName, this._pointerMove, activeEventOptions);\n document.addEventListener(endEventName, this._pointerUp, activeEventOptions);\n if (isTouch) {\n document.addEventListener('touchcancel', this._pointerUp, activeEventOptions);\n }\n const window = this._getWindow();\n if (typeof window !== 'undefined' && window) {\n window.addEventListener('blur', this._windowBlur);\n }\n }\n /** Removes any global event listeners that we may have added. */\n _removeGlobalEvents() {\n const document = this._document;\n document.removeEventListener('mousemove', this._pointerMove, activeEventOptions);\n document.removeEventListener('mouseup', this._pointerUp, activeEventOptions);\n document.removeEventListener('touchmove', this._pointerMove, activeEventOptions);\n document.removeEventListener('touchend', this._pointerUp, activeEventOptions);\n document.removeEventListener('touchcancel', this._pointerUp, activeEventOptions);\n const window = this._getWindow();\n if (typeof window !== 'undefined' && window) {\n window.removeEventListener('blur', this._windowBlur);\n }\n }\n /** Increments the slider by the given number of steps (negative number decrements). */\n _increment(numSteps) {\n // Pre-clamp the current value since it's allowed to be\n // out of bounds when assigned programmatically.\n const clampedValue = this._clamp(this.value || 0, this.min, this.max);\n this.value = this._clamp(clampedValue + this.step * numSteps, this.min, this.max);\n }\n /** Calculate the new value from the new physical location. The value will always be snapped. */\n _updateValueFromPosition(pos) {\n if (!this._sliderDimensions) {\n return;\n }\n let offset = this.vertical ? this._sliderDimensions.top : this._sliderDimensions.left;\n let size = this.vertical ? this._sliderDimensions.height : this._sliderDimensions.width;\n let posComponent = this.vertical ? pos.y : pos.x;\n // The exact value is calculated from the event and used to find the closest snap value.\n let percent = this._clamp((posComponent - offset) / size);\n if (this._shouldInvertMouseCoords()) {\n percent = 1 - percent;\n }\n // Since the steps may not divide cleanly into the max value, if the user\n // slid to 0 or 100 percent, we jump to the min/max value. This approach\n // is slightly more intuitive than using `Math.ceil` below, because it\n // follows the user's pointer closer.\n if (percent === 0) {\n this.value = this.min;\n }\n else if (percent === 1) {\n this.value = this.max;\n }\n else {\n const exactValue = this._calculateValue(percent);\n // This calculation finds the closest step by finding the closest\n // whole number divisible by the step relative to the min.\n const closestValue = Math.round((exactValue - this.min) / this.step) * this.step + this.min;\n // The value needs to snap to the min and max.\n this.value = this._clamp(closestValue, this.min, this.max);\n }\n }\n /** Emits a change event if the current value is different from the last emitted value. */\n _emitChangeEvent() {\n this._controlValueAccessorChangeFn(this.value);\n this.valueChange.emit(this.value);\n this.change.emit(this._createChangeEvent());\n }\n /** Emits an input event when the current value is different from the last emitted value. */\n _emitInputEvent() {\n this.input.emit(this._createChangeEvent());\n }\n /** Updates the amount of space between ticks as a percentage of the width of the slider. */\n _updateTickIntervalPercent() {\n if (!this.tickInterval || !this._sliderDimensions) {\n return;\n }\n let tickIntervalPercent;\n if (this.tickInterval == 'auto') {\n let trackSize = this.vertical ? this._sliderDimensions.height : this._sliderDimensions.width;\n let pixelsPerStep = (trackSize * this.step) / (this.max - this.min);\n let stepsPerTick = Math.ceil(MIN_AUTO_TICK_SEPARATION / pixelsPerStep);\n let pixelsPerTick = stepsPerTick * this.step;\n tickIntervalPercent = pixelsPerTick / trackSize;\n }\n else {\n tickIntervalPercent = (this.tickInterval * this.step) / (this.max - this.min);\n }\n this._tickIntervalPercent = isSafeNumber(tickIntervalPercent) ? tickIntervalPercent : 0;\n }\n /** Creates a slider change object from the specified value. */\n _createChangeEvent(value = this.value) {\n let event = new MatLegacySliderChange();\n event.source = this;\n event.value = value;\n return event;\n }\n /** Calculates the percentage of the slider that a value is. */\n _calculatePercentage(value) {\n const percentage = ((value || 0) - this.min) / (this.max - this.min);\n return isSafeNumber(percentage) ? percentage : 0;\n }\n /** Calculates the value a percentage of the slider corresponds to. */\n _calculateValue(percentage) {\n return this.min + percentage * (this.max - this.min);\n }\n /** Return a number between two numbers. */\n _clamp(value, min = 0, max = 1) {\n return Math.max(min, Math.min(value, max));\n }\n /**\n * Get the bounding client rect of the slider track element.\n * The track is used rather than the native element to ignore the extra space that the thumb can\n * take up.\n */\n _getSliderDimensions() {\n return this._sliderWrapper ? this._sliderWrapper.nativeElement.getBoundingClientRect() : null;\n }\n /**\n * Focuses the native element.\n * Currently only used to allow a blur event to fire but will be used with keyboard input later.\n */\n _focusHostElement(options) {\n this._elementRef.nativeElement.focus(options);\n }\n /** Blurs the native element. */\n _blurHostElement() {\n this._elementRef.nativeElement.blur();\n }\n /**\n * Sets the model value. Implemented as part of ControlValueAccessor.\n * @param value\n */\n writeValue(value) {\n this.value = value;\n }\n /**\n * Registers a callback to be triggered when the value has changed.\n * Implemented as part of ControlValueAccessor.\n * @param fn Callback to be registered.\n */\n registerOnChange(fn) {\n this._controlValueAccessorChangeFn = fn;\n }\n /**\n * Registers a callback to be triggered when the component is touched.\n * Implemented as part of ControlValueAccessor.\n * @param fn Callback to be registered.\n */\n registerOnTouched(fn) {\n this.onTouched = fn;\n }\n /**\n * Sets whether the component should be disabled.\n * Implemented as part of ControlValueAccessor.\n * @param isDisabled\n */\n setDisabledState(isDisabled) {\n this.disabled = isDisabled;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacySlider, deps: [{ token: i0.ElementRef }, { token: i1.FocusMonitor }, { token: i0.ChangeDetectorRef }, { token: i2.Directionality, optional: true }, { token: 'tabindex', attribute: true }, { token: i0.NgZone }, { token: DOCUMENT }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacySlider, selector: \"mat-slider\", inputs: { disabled: \"disabled\", color: \"color\", tabIndex: \"tabIndex\", invert: \"invert\", max: \"max\", min: \"min\", step: \"step\", thumbLabel: \"thumbLabel\", tickInterval: \"tickInterval\", value: \"value\", displayWith: \"displayWith\", valueText: \"valueText\", vertical: \"vertical\" }, outputs: { change: \"change\", input: \"input\", valueChange: \"valueChange\" }, host: { attributes: { \"role\": \"slider\" }, listeners: { \"focus\": \"_onFocus()\", \"blur\": \"_onBlur()\", \"keydown\": \"_onKeydown($event)\", \"keyup\": \"_onKeyup()\", \"mouseenter\": \"_onMouseenter()\", \"selectstart\": \"$event.preventDefault()\" }, properties: { \"tabIndex\": \"tabIndex\", \"attr.aria-disabled\": \"disabled\", \"attr.aria-valuemax\": \"max\", \"attr.aria-valuemin\": \"min\", \"attr.aria-valuenow\": \"value\", \"attr.aria-valuetext\": \"valueText == null ? displayValue : valueText\", \"attr.aria-orientation\": \"vertical ? \\\"vertical\\\" : \\\"horizontal\\\"\", \"class.mat-slider-disabled\": \"disabled\", \"class.mat-slider-has-ticks\": \"tickInterval\", \"class.mat-slider-horizontal\": \"!vertical\", \"class.mat-slider-axis-inverted\": \"_shouldInvertAxis()\", \"class.mat-slider-invert-mouse-coords\": \"_shouldInvertMouseCoords()\", \"class.mat-slider-sliding\": \"_isSliding\", \"class.mat-slider-thumb-label-showing\": \"thumbLabel\", \"class.mat-slider-vertical\": \"vertical\", \"class.mat-slider-min-value\": \"_isMinValue()\", \"class.mat-slider-hide-last-tick\": \"disabled || _isMinValue() && _getThumbGap() && _shouldInvertAxis()\", \"class._mat-animation-noopable\": \"_animationMode === \\\"NoopAnimations\\\"\" }, classAttribute: \"mat-slider mat-focus-indicator\" }, providers: [MAT_LEGACY_SLIDER_VALUE_ACCESSOR], viewQueries: [{ propertyName: \"_sliderWrapper\", first: true, predicate: [\"sliderWrapper\"], descendants: true }], exportAs: [\"matSlider\"], usesInheritance: true, ngImport: i0, template: \"<div class=\\\"mat-slider-wrapper\\\" #sliderWrapper>\\n <div class=\\\"mat-slider-track-wrapper\\\">\\n <div class=\\\"mat-slider-track-background\\\" [ngStyle]=\\\"_getTrackBackgroundStyles()\\\"></div>\\n <div class=\\\"mat-slider-track-fill\\\" [ngStyle]=\\\"_getTrackFillStyles()\\\"></div>\\n </div>\\n <div class=\\\"mat-slider-ticks-container\\\" [ngStyle]=\\\"_getTicksContainerStyles()\\\">\\n <div class=\\\"mat-slider-ticks\\\" [ngStyle]=\\\"_getTicksStyles()\\\"></div>\\n </div>\\n <div class=\\\"mat-slider-thumb-container\\\" [ngStyle]=\\\"_getThumbContainerStyles()\\\">\\n <div class=\\\"mat-slider-focus-ring\\\"></div>\\n <div class=\\\"mat-slider-thumb\\\"></div>\\n <div class=\\\"mat-slider-thumb-label\\\">\\n <span class=\\\"mat-slider-thumb-label-text\\\">{{displayValue}}</span>\\n </div>\\n </div>\\n</div>\\n\", styles: [\".mat-slider{display:inline-block;position:relative;box-sizing:border-box;padding:8px;outline:none;vertical-align:middle}.mat-slider:not(.mat-slider-disabled):active,.mat-slider.mat-slider-sliding:not(.mat-slider-disabled){cursor:grabbing}.mat-slider-wrapper{-webkit-print-color-adjust:exact;color-adjust:exact;position:absolute}.mat-slider-track-wrapper{position:absolute;top:0;left:0;overflow:hidden}.mat-slider-track-fill{position:absolute;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-track-background{position:absolute;transform-origin:100% 100%;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-ticks-container{position:absolute;left:0;top:0;overflow:hidden}.mat-slider-ticks{-webkit-background-clip:content-box;background-clip:content-box;background-repeat:repeat;box-sizing:border-box;opacity:0;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-thumb-container{position:absolute;z-index:1;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-focus-ring{position:absolute;width:30px;height:30px;border-radius:50%;transform:scale(0);opacity:0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider.cdk-keyboard-focused .mat-slider-focus-ring,.mat-slider.cdk-program-focused .mat-slider-focus-ring{transform:scale(1);opacity:1}.mat-slider:not(.mat-slider-disabled):not(.mat-slider-sliding) .mat-slider-thumb-label,.mat-slider:not(.mat-slider-disabled):not(.mat-slider-sliding) .mat-slider-thumb{cursor:grab}.mat-slider-thumb{position:absolute;right:-10px;bottom:-10px;box-sizing:border-box;width:20px;height:20px;border:3px solid rgba(0,0,0,0);border-radius:50%;transform:scale(0.7);transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),border-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-thumb-label{display:none;align-items:center;justify-content:center;position:absolute;width:28px;height:28px;border-radius:50%;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),border-radius 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.cdk-high-contrast-active .mat-slider-thumb-label{outline:solid 1px}.mat-slider-thumb-label-text{z-index:1;opacity:0;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-sliding .mat-slider-track-fill,.mat-slider-sliding .mat-slider-track-background,.mat-slider-sliding .mat-slider-thumb-container{transition-duration:0ms}.mat-slider-has-ticks .mat-slider-wrapper::after{content:\\\"\\\";position:absolute;border-width:0;border-style:solid;opacity:0;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-has-ticks.cdk-focused:not(.mat-slider-hide-last-tick) .mat-slider-wrapper::after,.mat-slider-has-ticks:hover:not(.mat-slider-hide-last-tick) .mat-slider-wrapper::after{opacity:1}.mat-slider-has-ticks.cdk-focused:not(.mat-slider-disabled) .mat-slider-ticks,.mat-slider-has-ticks:hover:not(.mat-slider-disabled) .mat-slider-ticks{opacity:1}.mat-slider-thumb-label-showing .mat-slider-focus-ring{display:none}.mat-slider-thumb-label-showing .mat-slider-thumb-label{display:flex}.mat-slider-axis-inverted .mat-slider-track-fill{transform-origin:100% 100%}.mat-slider-axis-inverted .mat-slider-track-background{transform-origin:0 0}.mat-slider:not(.mat-slider-disabled).cdk-focused.mat-slider-thumb-label-showing .mat-slider-thumb{transform:scale(0)}.mat-slider:not(.mat-slider-disabled).cdk-focused .mat-slider-thumb-label{border-radius:50% 50% 0}.mat-slider:not(.mat-slider-disabled).cdk-focused .mat-slider-thumb-label-text{opacity:1}.mat-slider:not(.mat-slider-disabled).cdk-mouse-focused .mat-slider-thumb,.mat-slider:not(.mat-slider-disabled).cdk-touch-focused .mat-slider-thumb,.mat-slider:not(.mat-slider-disabled).cdk-program-focused .mat-slider-thumb{border-width:2px;transform:scale(1)}.mat-slider-disabled .mat-slider-focus-ring{transform:scale(0);opacity:0}.mat-slider-disabled .mat-slider-thumb{border-width:4px;transform:scale(0.5)}.mat-slider-disabled .mat-slider-thumb-label{display:none}.mat-slider-horizontal{height:48px;min-width:128px}.mat-slider-horizontal .mat-slider-wrapper{height:2px;top:23px;left:8px;right:8px}.mat-slider-horizontal .mat-slider-wrapper::after{height:2px;border-left-width:2px;right:0;top:0}.mat-slider-horizontal .mat-slider-track-wrapper{height:2px;width:100%}.mat-slider-horizontal .mat-slider-track-fill{height:2px;width:100%;transform:scaleX(0)}.mat-slider-horizontal .mat-slider-track-background{height:2px;width:100%;transform:scaleX(1)}.mat-slider-horizontal .mat-slider-ticks-container{height:2px;width:100%}.cdk-high-contrast-active .mat-slider-horizontal .mat-slider-ticks-container{height:0;outline:solid 2px;top:1px}.mat-slider-horizontal .mat-slider-ticks{height:2px;width:100%}.mat-slider-horizontal .mat-slider-thumb-container{width:100%;height:0;top:50%}.mat-slider-horizontal .mat-slider-focus-ring{top:-15px;right:-15px}.mat-slider-horizontal .mat-slider-thumb-label{right:-14px;top:-40px;transform:translateY(26px) scale(0.01) rotate(45deg)}.mat-slider-horizontal .mat-slider-thumb-label-text{transform:rotate(-45deg)}.mat-slider-horizontal.cdk-focused .mat-slider-thumb-label{transform:rotate(45deg)}.cdk-high-contrast-active .mat-slider-horizontal.cdk-focused .mat-slider-thumb-label,.cdk-high-contrast-active .mat-slider-horizontal.cdk-focused .mat-slider-thumb-label-text{transform:none}.mat-slider-vertical{width:48px;min-height:128px}.mat-slider-vertical .mat-slider-wrapper{width:2px;top:8px;bottom:8px;left:23px}.mat-slider-vertical .mat-slider-wrapper::after{width:2px;border-top-width:2px;bottom:0;left:0}.mat-slider-vertical .mat-slider-track-wrapper{height:100%;width:2px}.mat-slider-vertical .mat-slider-track-fill{height:100%;width:2px;transform:scaleY(0)}.mat-slider-vertical .mat-slider-track-background{height:100%;width:2px;transform:scaleY(1)}.mat-slider-vertical .mat-slider-ticks-container{width:2px;height:100%}.cdk-high-contrast-active .mat-slider-vertical .mat-slider-ticks-container{width:0;outline:solid 2px;left:1px}.mat-slider-vertical .mat-slider-focus-ring{bottom:-15px;left:-15px}.mat-slider-vertical .mat-slider-ticks{width:2px;height:100%}.mat-slider-vertical .mat-slider-thumb-container{height:100%;width:0;left:50%}.mat-slider-vertical .mat-slider-thumb{-webkit-backface-visibility:hidden;backface-visibility:hidden}.mat-slider-vertical .mat-slider-thumb-label{bottom:-14px;left:-40px;transform:translateX(26px) scale(0.01) rotate(-45deg)}.mat-slider-vertical .mat-slider-thumb-label-text{transform:rotate(45deg)}.mat-slider-vertical.cdk-focused .mat-slider-thumb-label{transform:rotate(-45deg)}[dir=rtl] .mat-slider-wrapper::after{left:0;right:auto}[dir=rtl] .mat-slider-horizontal .mat-slider-track-fill{transform-origin:100% 100%}[dir=rtl] .mat-slider-horizontal .mat-slider-track-background{transform-origin:0 0}[dir=rtl] .mat-slider-horizontal.mat-slider-axis-inverted .mat-slider-track-fill{transform-origin:0 0}[dir=rtl] .mat-slider-horizontal.mat-slider-axis-inverted .mat-slider-track-background{transform-origin:100% 100%}.mat-slider._mat-animation-noopable .mat-slider-track-fill,.mat-slider._mat-animation-noopable .mat-slider-track-background,.mat-slider._mat-animation-noopable .mat-slider-ticks,.mat-slider._mat-animation-noopable .mat-slider-thumb-container,.mat-slider._mat-animation-noopable .mat-slider-focus-ring,.mat-slider._mat-animation-noopable .mat-slider-thumb,.mat-slider._mat-animation-noopable .mat-slider-thumb-label,.mat-slider._mat-animation-noopable .mat-slider-thumb-label-text,.mat-slider._mat-animation-noopable .mat-slider-has-ticks .mat-slider-wrapper::after{transition:none}\"], dependencies: [{ kind: \"directive\", type: i3.NgStyle, selector: \"[ngStyle]\", inputs: [\"ngStyle\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacySlider, decorators: [{\n type: Component,\n args: [{ selector: 'mat-slider', exportAs: 'matSlider', providers: [MAT_LEGACY_SLIDER_VALUE_ACCESSOR], host: {\n '(focus)': '_onFocus()',\n '(blur)': '_onBlur()',\n '(keydown)': '_onKeydown($event)',\n '(keyup)': '_onKeyup()',\n '(mouseenter)': '_onMouseenter()',\n // On Safari starting to slide temporarily triggers text selection mode which\n // show the wrong cursor. We prevent it by stopping the `selectstart` event.\n '(selectstart)': '$event.preventDefault()',\n 'class': 'mat-slider mat-focus-indicator',\n 'role': 'slider',\n '[tabIndex]': 'tabIndex',\n '[attr.aria-disabled]': 'disabled',\n '[attr.aria-valuemax]': 'max',\n '[attr.aria-valuemin]': 'min',\n '[attr.aria-valuenow]': 'value',\n // NVDA and Jaws appear to announce the `aria-valuenow` by calculating its percentage based\n // on its value between `aria-valuemin` and `aria-valuemax`. Due to how decimals are handled,\n // it can cause the slider to read out a very long value like 0.20000068 if the current value\n // is 0.2 with a min of 0 and max of 1. We work around the issue by setting `aria-valuetext`\n // to the same value that we set on the slider's thumb which will be truncated.\n '[attr.aria-valuetext]': 'valueText == null ? displayValue : valueText',\n '[attr.aria-orientation]': 'vertical ? \"vertical\" : \"horizontal\"',\n '[class.mat-slider-disabled]': 'disabled',\n '[class.mat-slider-has-ticks]': 'tickInterval',\n '[class.mat-slider-horizontal]': '!vertical',\n '[class.mat-slider-axis-inverted]': '_shouldInvertAxis()',\n // Class binding which is only used by the test harness as there is no other\n // way for the harness to detect if mouse coordinates need to be inverted.\n '[class.mat-slider-invert-mouse-coords]': '_shouldInvertMouseCoords()',\n '[class.mat-slider-sliding]': '_isSliding',\n '[class.mat-slider-thumb-label-showing]': 'thumbLabel',\n '[class.mat-slider-vertical]': 'vertical',\n '[class.mat-slider-min-value]': '_isMinValue()',\n '[class.mat-slider-hide-last-tick]': 'disabled || _isMinValue() && _getThumbGap() && _shouldInvertAxis()',\n '[class._mat-animation-noopable]': '_animationMode === \"NoopAnimations\"',\n }, inputs: ['disabled', 'color', 'tabIndex'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: \"<div class=\\\"mat-slider-wrapper\\\" #sliderWrapper>\\n <div class=\\\"mat-slider-track-wrapper\\\">\\n <div class=\\\"mat-slider-track-background\\\" [ngStyle]=\\\"_getTrackBackgroundStyles()\\\"></div>\\n <div class=\\\"mat-slider-track-fill\\\" [ngStyle]=\\\"_getTrackFillStyles()\\\"></div>\\n </div>\\n <div class=\\\"mat-slider-ticks-container\\\" [ngStyle]=\\\"_getTicksContainerStyles()\\\">\\n <div class=\\\"mat-slider-ticks\\\" [ngStyle]=\\\"_getTicksStyles()\\\"></div>\\n </div>\\n <div class=\\\"mat-slider-thumb-container\\\" [ngStyle]=\\\"_getThumbContainerStyles()\\\">\\n <div class=\\\"mat-slider-focus-ring\\\"></div>\\n <div class=\\\"mat-slider-thumb\\\"></div>\\n <div class=\\\"mat-slider-thumb-label\\\">\\n <span class=\\\"mat-slider-thumb-label-text\\\">{{displayValue}}</span>\\n </div>\\n </div>\\n</div>\\n\", styles: [\".mat-slider{display:inline-block;position:relative;box-sizing:border-box;padding:8px;outline:none;vertical-align:middle}.mat-slider:not(.mat-slider-disabled):active,.mat-slider.mat-slider-sliding:not(.mat-slider-disabled){cursor:grabbing}.mat-slider-wrapper{-webkit-print-color-adjust:exact;color-adjust:exact;position:absolute}.mat-slider-track-wrapper{position:absolute;top:0;left:0;overflow:hidden}.mat-slider-track-fill{position:absolute;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-track-background{position:absolute;transform-origin:100% 100%;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-ticks-container{position:absolute;left:0;top:0;overflow:hidden}.mat-slider-ticks{-webkit-background-clip:content-box;background-clip:content-box;background-repeat:repeat;box-sizing:border-box;opacity:0;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-thumb-container{position:absolute;z-index:1;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-focus-ring{position:absolute;width:30px;height:30px;border-radius:50%;transform:scale(0);opacity:0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider.cdk-keyboard-focused .mat-slider-focus-ring,.mat-slider.cdk-program-focused .mat-slider-focus-ring{transform:scale(1);opacity:1}.mat-slider:not(.mat-slider-disabled):not(.mat-slider-sliding) .mat-slider-thumb-label,.mat-slider:not(.mat-slider-disabled):not(.mat-slider-sliding) .mat-slider-thumb{cursor:grab}.mat-slider-thumb{position:absolute;right:-10px;bottom:-10px;box-sizing:border-box;width:20px;height:20px;border:3px solid rgba(0,0,0,0);border-radius:50%;transform:scale(0.7);transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),border-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-thumb-label{display:none;align-items:center;justify-content:center;position:absolute;width:28px;height:28px;border-radius:50%;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),border-radius 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.cdk-high-contrast-active .mat-slider-thumb-label{outline:solid 1px}.mat-slider-thumb-label-text{z-index:1;opacity:0;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-sliding .mat-slider-track-fill,.mat-slider-sliding .mat-slider-track-background,.mat-slider-sliding .mat-slider-thumb-container{transition-duration:0ms}.mat-slider-has-ticks .mat-slider-wrapper::after{content:\\\"\\\";position:absolute;border-width:0;border-style:solid;opacity:0;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-has-ticks.cdk-focused:not(.mat-slider-hide-last-tick) .mat-slider-wrapper::after,.mat-slider-has-ticks:hover:not(.mat-slider-hide-last-tick) .mat-slider-wrapper::after{opacity:1}.mat-slider-has-ticks.cdk-focused:not(.mat-slider-disabled) .mat-slider-ticks,.mat-slider-has-ticks:hover:not(.mat-slider-disabled) .mat-slider-ticks{opacity:1}.mat-slider-thumb-label-showing .mat-slider-focus-ring{display:none}.mat-slider-thumb-label-showing .mat-slider-thumb-label{display:flex}.mat-slider-axis-inverted .mat-slider-track-fill{transform-origin:100% 100%}.mat-slider-axis-inverted .mat-slider-track-background{transform-origin:0 0}.mat-slider:not(.mat-slider-disabled).cdk-focused.mat-slider-thumb-label-showing .mat-slider-thumb{transform:scale(0)}.mat-slider:not(.mat-slider-disabled).cdk-focused .mat-slider-thumb-label{border-radius:50% 50% 0}.mat-slider:not(.mat-slider-disabled).cdk-focused .mat-slider-thumb-label-text{opacity:1}.mat-slider:not(.mat-slider-disabled).cdk-mouse-focused .mat-slider-thumb,.mat-slider:not(.mat-slider-disabled).cdk-touch-focused .mat-slider-thumb,.mat-slider:not(.mat-slider-disabled).cdk-program-focused .mat-slider-thumb{border-width:2px;transform:scale(1)}.mat-slider-disabled .mat-slider-focus-ring{transform:scale(0);opacity:0}.mat-slider-disabled .mat-slider-thumb{border-width:4px;transform:scale(0.5)}.mat-slider-disabled .mat-slider-thumb-label{display:none}.mat-slider-horizontal{height:48px;min-width:128px}.mat-slider-horizontal .mat-slider-wrapper{height:2px;top:23px;left:8px;right:8px}.mat-slider-horizontal .mat-slider-wrapper::after{height:2px;border-left-width:2px;right:0;top:0}.mat-slider-horizontal .mat-slider-track-wrapper{height:2px;width:100%}.mat-slider-horizontal .mat-slider-track-fill{height:2px;width:100%;transform:scaleX(0)}.mat-slider-horizontal .mat-slider-track-background{height:2px;width:100%;transform:scaleX(1)}.mat-slider-horizontal .mat-slider-ticks-container{height:2px;width:100%}.cdk-high-contrast-active .mat-slider-horizontal .mat-slider-ticks-container{height:0;outline:solid 2px;top:1px}.mat-slider-horizontal .mat-slider-ticks{height:2px;width:100%}.mat-slider-horizontal .mat-slider-thumb-container{width:100%;height:0;top:50%}.mat-slider-horizontal .mat-slider-focus-ring{top:-15px;right:-15px}.mat-slider-horizontal .mat-slider-thumb-label{right:-14px;top:-40px;transform:translateY(26px) scale(0.01) rotate(45deg)}.mat-slider-horizontal .mat-slider-thumb-label-text{transform:rotate(-45deg)}.mat-slider-horizontal.cdk-focused .mat-slider-thumb-label{transform:rotate(45deg)}.cdk-high-contrast-active .mat-slider-horizontal.cdk-focused .mat-slider-thumb-label,.cdk-high-contrast-active .mat-slider-horizontal.cdk-focused .mat-slider-thumb-label-text{transform:none}.mat-slider-vertical{width:48px;min-height:128px}.mat-slider-vertical .mat-slider-wrapper{width:2px;top:8px;bottom:8px;left:23px}.mat-slider-vertical .mat-slider-wrapper::after{width:2px;border-top-width:2px;bottom:0;left:0}.mat-slider-vertical .mat-slider-track-wrapper{height:100%;width:2px}.mat-slider-vertical .mat-slider-track-fill{height:100%;width:2px;transform:scaleY(0)}.mat-slider-vertical .mat-slider-track-background{height:100%;width:2px;transform:scaleY(1)}.mat-slider-vertical .mat-slider-ticks-container{width:2px;height:100%}.cdk-high-contrast-active .mat-slider-vertical .mat-slider-ticks-container{width:0;outline:solid 2px;left:1px}.mat-slider-vertical .mat-slider-focus-ring{bottom:-15px;left:-15px}.mat-slider-vertical .mat-slider-ticks{width:2px;height:100%}.mat-slider-vertical .mat-slider-thumb-container{height:100%;width:0;left:50%}.mat-slider-vertical .mat-slider-thumb{-webkit-backface-visibility:hidden;backface-visibility:hidden}.mat-slider-vertical .mat-slider-thumb-label{bottom:-14px;left:-40px;transform:translateX(26px) scale(0.01) rotate(-45deg)}.mat-slider-vertical .mat-slider-thumb-label-text{transform:rotate(45deg)}.mat-slider-vertical.cdk-focused .mat-slider-thumb-label{transform:rotate(-45deg)}[dir=rtl] .mat-slider-wrapper::after{left:0;right:auto}[dir=rtl] .mat-slider-horizontal .mat-slider-track-fill{transform-origin:100% 100%}[dir=rtl] .mat-slider-horizontal .mat-slider-track-background{transform-origin:0 0}[dir=rtl] .mat-slider-horizontal.mat-slider-axis-inverted .mat-slider-track-fill{transform-origin:0 0}[dir=rtl] .mat-slider-horizontal.mat-slider-axis-inverted .mat-slider-track-background{transform-origin:100% 100%}.mat-slider._mat-animation-noopable .mat-slider-track-fill,.mat-slider._mat-animation-noopable .mat-slider-track-background,.mat-slider._mat-animation-noopable .mat-slider-ticks,.mat-slider._mat-animation-noopable .mat-slider-thumb-container,.mat-slider._mat-animation-noopable .mat-slider-focus-ring,.mat-slider._mat-animation-noopable .mat-slider-thumb,.mat-slider._mat-animation-noopable .mat-slider-thumb-label,.mat-slider._mat-animation-noopable .mat-slider-thumb-label-text,.mat-slider._mat-animation-noopable .mat-slider-has-ticks .mat-slider-wrapper::after{transition:none}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.FocusMonitor }, { type: i0.ChangeDetectorRef }, { type: i2.Directionality, decorators: [{\n type: Optional\n }] }, { type: undefined, decorators: [{\n type: Attribute,\n args: ['tabindex']\n }] }, { type: i0.NgZone }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }]; }, propDecorators: { invert: [{\n type: Input\n }], max: [{\n type: Input\n }], min: [{\n type: Input\n }], step: [{\n type: Input\n }], thumbLabel: [{\n type: Input\n }], tickInterval: [{\n type: Input\n }], value: [{\n type: Input\n }], displayWith: [{\n type: Input\n }], valueText: [{\n type: Input\n }], vertical: [{\n type: Input\n }], change: [{\n type: Output\n }], input: [{\n type: Output\n }], valueChange: [{\n type: Output\n }], _sliderWrapper: [{\n type: ViewChild,\n args: ['sliderWrapper']\n }] } });\n/** Checks if number is safe for calculation */\nfunction isSafeNumber(value) {\n return !isNaN(value) && isFinite(value);\n}\n/** Returns whether an event is a touch event. */\nfunction isTouchEvent(event) {\n // This function is called for every pixel that the user has dragged so we need it to be\n // as fast as possible. Since we only bind mouse events and touch events, we can assume\n // that if the event's name starts with `t`, it's a touch event.\n return event.type[0] === 't';\n}\n/** Gets the coordinates of a touch or mouse event relative to the viewport. */\nfunction getPointerPositionOnPage(event, id) {\n let point;\n if (isTouchEvent(event)) {\n // The `identifier` could be undefined if the browser doesn't support `TouchEvent.identifier`.\n // If that's the case, attribute the first touch to all active sliders. This should still cover\n // the most common case while only breaking multi-touch.\n if (typeof id === 'number') {\n point = findMatchingTouch(event.touches, id) || findMatchingTouch(event.changedTouches, id);\n }\n else {\n // `touches` will be empty for start/end events so we have to fall back to `changedTouches`.\n point = event.touches[0] || event.changedTouches[0];\n }\n }\n else {\n point = event;\n }\n return point ? { x: point.clientX, y: point.clientY } : undefined;\n}\n/** Finds a `Touch` with a specific ID in a `TouchList`. */\nfunction findMatchingTouch(touches, id) {\n for (let i = 0; i < touches.length; i++) {\n if (touches[i].identifier === id) {\n return touches[i];\n }\n }\n return undefined;\n}\n/** Gets the unique ID of a touch that matches a specific slider. */\nfunction getTouchIdForSlider(event, sliderHost) {\n for (let i = 0; i < event.touches.length; i++) {\n const target = event.touches[i].target;\n if (sliderHost === target || sliderHost.contains(target)) {\n return event.touches[i].identifier;\n }\n }\n return undefined;\n}\n\n/**\n * @deprecated Use `MatSliderModule` from `@angular/material/slider` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacySliderModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacySliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacySliderModule, declarations: [MatLegacySlider], imports: [CommonModule, MatCommonModule], exports: [MatLegacySlider, MatCommonModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacySliderModule, imports: [CommonModule, MatCommonModule, MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacySliderModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [CommonModule, MatCommonModule],\n exports: [MatLegacySlider, MatCommonModule],\n declarations: [MatLegacySlider],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MAT_LEGACY_SLIDER_VALUE_ACCESSOR, MatLegacySlider, MatLegacySliderChange, MatLegacySliderModule };\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]} \ No newline at end of file diff --git a/3183.6470ba84849ae4be.js b/3183.6470ba84849ae4be.js new file mode 100644 index 0000000..2136e6e --- /dev/null +++ b/3183.6470ba84849ae4be.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[3183,3022,5106,7376,5187,4091,1217,7208,4968,6785,4155,1084,6896,7920,6980,5113,1328,5749,4309,8024,8513,5555,4967,8017,8116,5873,8061,4680,2111,3326,8596,8352,5501,882,3098,8467,6578,8608,8443,7328,5915,3278,5391,6748,1551,6763,4151,5069,7432,8071,6618],{26067:(P,u,e)=>{e.d(u,{t:()=>S});var o=e(78069),i=e(48047),t=e(4089),n=e(20265),a=e(24582),f=e(28694),l=e(50253),d=e(67654),S=function(Z){(0,a.Z)(m,Z);var E=(0,f.Z)(m);function m(){var c,v=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0,y=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1/0,h=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d.l;return(0,o.Z)(this,m),(c=E.call(this))._bufferSize=v,c._windowTime=y,c._timestampProvider=h,c._buffer=[],c._infiniteTimeWindow=!0,c._infiniteTimeWindow=y===1/0,c._bufferSize=Math.max(1,v),c._windowTime=Math.max(1,y),c}return(0,i.Z)(m,[{key:"next",value:function(v){var h=this._buffer,w=this._infiniteTimeWindow,O=this._timestampProvider,p=this._windowTime;this.isStopped||(h.push(v),!w&&h.push(O.now()+p)),this._trimBuffer(),(0,t.Z)((0,n.Z)(m.prototype),"next",this).call(this,v)}},{key:"_subscribe",value:function(v){this._throwIfClosed(),this._trimBuffer();for(var y=this._innerSubscribe(v),h=this._infiniteTimeWindow,O=this._buffer.slice(),p=0;p<O.length&&!v.closed;p+=h?1:2)v.next(O[p]);return this._checkFinalizedStatuses(v),y}},{key:"_trimBuffer",value:function(){var v=this._bufferSize,y=this._timestampProvider,h=this._buffer,w=this._infiniteTimeWindow,O=(w?1:2)*v;if(v<1/0&&O<h.length&&h.splice(0,h.length-O),!w){for(var p=y.now(),s=0,r=1;r<h.length&&h[r]<=p;r+=2)s=r;s&&h.splice(0,s+1)}}}]),m}(l.x)},50253:(P,u,e)=>{e.d(u,{x:()=>v});var o=e(95106),i=e(78069),t=e(48047),n=e(4089),a=e(20265),f=e(24582),l=e(28694),d=e(90833),S=e(17714),E=(0,e(27543).d)(function(h){return function(){h(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),m=e(39663),c=e(12309),v=function(){var h=function(w){(0,f.Z)(p,w);var O=(0,l.Z)(p);function p(){var s;return(0,i.Z)(this,p),(s=O.call(this)).closed=!1,s.currentObservers=null,s.observers=[],s.isStopped=!1,s.hasError=!1,s.thrownError=null,s}return(0,t.Z)(p,[{key:"lift",value:function(r){var _=new y(this,this);return _.operator=r,_}},{key:"_throwIfClosed",value:function(){if(this.closed)throw new E}},{key:"next",value:function(r){var _=this;(0,c.x)(function(){if(_._throwIfClosed(),!_.isStopped){_.currentObservers||(_.currentObservers=Array.from(_.observers));var g,b=(0,o.Z)(_.currentObservers);try{for(b.s();!(g=b.n()).done;)g.value.next(r)}catch(I){b.e(I)}finally{b.f()}}})}},{key:"error",value:function(r){var _=this;(0,c.x)(function(){if(_._throwIfClosed(),!_.isStopped){_.hasError=_.isStopped=!0,_.thrownError=r;for(var b=_.observers;b.length;)b.shift().error(r)}})}},{key:"complete",value:function(){var r=this;(0,c.x)(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var _=r.observers;_.length;)_.shift().complete()}})}},{key:"unsubscribe",value:function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}},{key:"observed",get:function(){var r;return(null===(r=this.observers)||void 0===r?void 0:r.length)>0}},{key:"_trySubscribe",value:function(r){return this._throwIfClosed(),(0,n.Z)((0,a.Z)(p.prototype),"_trySubscribe",this).call(this,r)}},{key:"_subscribe",value:function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}},{key:"_innerSubscribe",value:function(r){var _=this,T=this.observers;return this.hasError||this.isStopped?S.Lc:(this.currentObservers=null,T.push(r),new S.w0(function(){_.currentObservers=null,(0,m.P)(T,r)}))}},{key:"_checkFinalizedStatuses",value:function(r){var g=this.isStopped;this.hasError?r.error(this.thrownError):g&&r.complete()}},{key:"asObservable",value:function(){var r=new d.y;return r.source=this,r}}]),p}(d.y);return h.create=function(w,O){return new y(w,O)},h}(),y=function(h){(0,f.Z)(O,h);var w=(0,l.Z)(O);function O(p,s){var r;return(0,i.Z)(this,O),(r=w.call(this)).destination=p,r.source=s,r}return(0,t.Z)(O,[{key:"next",value:function(s){var r,_;null===(_=null===(r=this.destination)||void 0===r?void 0:r.next)||void 0===_||_.call(r,s)}},{key:"error",value:function(s){var r,_;null===(_=null===(r=this.destination)||void 0===r?void 0:r.error)||void 0===_||_.call(r,s)}},{key:"complete",value:function(){var s,r;null===(r=null===(s=this.destination)||void 0===s?void 0:s.complete)||void 0===r||r.call(s)}},{key:"_subscribe",value:function(s){var r,_;return null!==(_=null===(r=this.source)||void 0===r?void 0:r.subscribe(s))&&void 0!==_?_:S.Lc}}]),O}(v)},93945:(P,u,e)=>{e.d(u,{Q:()=>Z,x:()=>S});var o=e(78069),i=e(48047),t=e(35488),n=e(24582),a=e(28694),f=e(4089),l=e(20265);function S(E,m,c,v,y){return new Z(E,m,c,v,y)}var Z=function(E){(0,n.Z)(c,E);var m=(0,a.Z)(c);function c(v,y,h,w,O,p){var s,r,_,b;return(0,o.Z)(this,c),(b=m.call(this,v)).onFinalize=O,b.shouldUnsubscribe=p,b._next=y?function(g){try{y(g)}catch(T){v.error(T)}}:(0,f.Z)((s=(0,t.Z)(b),(0,l.Z)(c.prototype)),"_next",s),b._error=w?function(g){try{w(g)}catch(T){v.error(T)}finally{this.unsubscribe()}}:(0,f.Z)((r=(0,t.Z)(b),(0,l.Z)(c.prototype)),"_error",r),b._complete=h?function(){try{h()}catch(g){v.error(g)}finally{this.unsubscribe()}}:(0,f.Z)((_=(0,t.Z)(b),(0,l.Z)(c.prototype)),"_complete",_),b}return(0,i.Z)(c,[{key:"unsubscribe",value:function(){var y;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var h=this.closed;(0,f.Z)((0,l.Z)(c.prototype),"unsubscribe",this).call(this),!h&&(null===(y=this.onFinalize)||void 0===y||y.call(this))}}}]),c}(e(5463).Lv)},68951:(P,u,e)=>{e.d(u,{R:()=>a});var o=e(41944),i=e(93945),t=e(54987),n=e(99635);function a(f){return(0,o.e)(function(l,d){(0,t.Xf)(f).subscribe((0,i.x)(d,function(){return d.complete()},n.Z)),!d.closed&&l.subscribe(d)})}},67654:(P,u,e)=>{e.d(u,{l:()=>o});var o={now:function(){return(o.delegate||Date).now()},delegate:void 0}},41944:(P,u,e)=>{e.d(u,{A:()=>i,e:()=>t});var o=e(92971);function i(n){return(0,o.m)(n?.lift)}function t(n){return function(a){if(i(a))return a.lift(function(f){try{return n(f,this)}catch(l){this.error(l)}});throw new TypeError("Unable to lift unknown Observable type")}}},44841:(P,u,e)=>{function o(i,t){(null==t||t>i.length)&&(t=i.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=i[n];return a}e.d(u,{Z:()=>o})},35488:(P,u,e)=>{function o(i){if(void 0===i)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}e.d(u,{Z:()=>o})},95106:(P,u,e)=>{e.d(u,{Z:()=>i});var o=e(44206);function i(t,n){var a=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!a){if(Array.isArray(t)||(a=(0,o.Z)(t))||n&&t&&"number"==typeof t.length){a&&(t=a);var f=0,l=function(){};return{s:l,n:function(){return f>=t.length?{done:!0}:{done:!1,value:t[f++]}},e:function(m){throw m},f:l}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var Z,d=!0,S=!1;return{s:function(){a=a.call(t)},n:function(){var m=a.next();return d=m.done,m},e:function(m){S=!0,Z=m},f:function(){try{!d&&null!=a.return&&a.return()}finally{if(S)throw Z}}}}},28694:(P,u,e)=>{e.d(u,{Z:()=>f});var o=e(20265),i=e(98568),t=e(43445),n=e(35488);function f(l){var d=(0,i.Z)();return function(){var E,Z=(0,o.Z)(l);if(d){var m=(0,o.Z)(this).constructor;E=Reflect.construct(Z,arguments,m)}else E=Z.apply(this,arguments);return function a(l,d){if(d&&("object"===(0,t.Z)(d)||"function"==typeof d))return d;if(void 0!==d)throw new TypeError("Derived constructors may only return object or undefined");return(0,n.Z)(l)}(this,E)}}},4089:(P,u,e)=>{e.d(u,{Z:()=>t});var o=e(20265);function t(){return t=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(a,f,l){var d=function i(n,a){for(;!Object.prototype.hasOwnProperty.call(n,a)&&null!==(n=(0,o.Z)(n)););return n}(a,f);if(d){var S=Object.getOwnPropertyDescriptor(d,f);return S.get?S.get.call(arguments.length<3?a:l):S.value}},t.apply(this,arguments)}},20265:(P,u,e)=>{function o(i){return(o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)})(i)}e.d(u,{Z:()=>o})},24582:(P,u,e)=>{e.d(u,{Z:()=>i});var o=e(10006);function i(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&(0,o.Z)(t,n)}},98568:(P,u,e)=>{function o(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(u,{Z:()=>o})},4826:(P,u,e)=>{function o(i){if(typeof Symbol<"u"&&null!=i[Symbol.iterator]||null!=i["@@iterator"])return Array.from(i)}e.d(u,{Z:()=>o})},10006:(P,u,e)=>{function o(i,t){return(o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,f){return a.__proto__=f,a})(i,t)}e.d(u,{Z:()=>o})},86170:(P,u,e)=>{e.d(u,{Z:()=>f});var o=e(44841),t=e(4826),n=e(44206);function f(l){return function i(l){if(Array.isArray(l))return(0,o.Z)(l)}(l)||(0,t.Z)(l)||(0,n.Z)(l)||function a(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(P,u,e)=>{e.d(u,{Z:()=>i});var o=e(44841);function i(t,n){if(t){if("string"==typeof t)return(0,o.Z)(t,n);var a=Object.prototype.toString.call(t).slice(8,-1);if("Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return(0,o.Z)(t,n)}}}}]); +//# sourceMappingURL=3183.6470ba84849ae4be.js.map \ No newline at end of file diff --git a/3183.6470ba84849ae4be.js.map b/3183.6470ba84849ae4be.js.map new file mode 100644 index 0000000..ce7050f --- /dev/null +++ b/3183.6470ba84849ae4be.js.map @@ -0,0 +1 @@ +{"version":3,"file":"3183.6470ba84849ae4be.js","mappings":"ubAEaA,EAAa,SAAAC,IAAAC,OAAAF,EAAAC,GAAA,IAAAE,KAAAC,KAAAJ,GACtB,SAAAA,IAAwG,IAAAK,EAA5FC,EAAWC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAGG,IAAUC,EAAWJ,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAGG,IAAUE,EAAkBL,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAGM,IAAqBC,cAAAC,KAAAf,IAClGK,EAAAF,EAAAa,KAAAD,OACKT,YAAcA,EACnBD,EAAKM,YAAcA,EACnBN,EAAKO,mBAAqBA,EAC1BP,EAAKY,QAAU,GACfZ,EAAKa,qBAA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EACA,wFCFe,SAAAC,EAAA9D,GACf,OCJe,SAAA+D,EAAA/D,GACf,GAAA9D,MAAAwE,QAAAV,GAAA,SAAiCgE,EAAApD,GAAgBZ,EACjD,CDES+D,CAAiB/D,KAAA,EAASiE,EAAArD,GAAeZ,KAAA,EAASkE,EAAAtD,GAA0BZ,IELtE,SAAAmE,IACf,UAAArE,UAAA,uIACA,CFG8FqE,EAC9F,mDGLe,SAAAC,EAAA/D,EAAAgE,GACf,GAAAhE,EACA,qBAAAA,EAAA,SAAoCiE,EAAA1D,GAAgBP,EAAAgE,GACpD,IAAA7H,EAAAiG,OAAApI,UAAAkK,SAAAhL,KAAA8G,GAAA1F,MAAA,MAEA,GADA,WAAA6B,GAAA6D,EAAAsB,cAAAnF,EAAA6D,EAAAsB,YAAArG,MACA,QAAAkB,GAAA,QAAAA,EAAA,OAAAN,MAAAC,KAAAkE,GACA,iBAAA7D,GAAA,2CAAAgI,KAAAhI,GAAA,SAAsF8H,EAAA1D,GAAgBP,EAAAgE,EAAA,CACtG","names":["ReplaySubject","_Subject","_inherits","_super","_createSuper","_this","_bufferSize","arguments","length","undefined","Infinity","_windowTime","_timestampProvider","dateTimestampProvider","_classCallCheck","this","call","_buffer","_infiniteTimeWindow","Math","max","_createClass","key","value","isStopped","push","now","_trimBuffer","_get","_getPrototypeOf","prototype","subscriber","_throwIfClosed","subscription","_innerSubscribe","copy","slice","i","closed","next","_checkFinalizedStatuses","adjustedBufferSize","splice","last","Subject","ObjectUnsubscribedError","createErrorClass","name","message","_Observable","currentObservers","observers","hasError","thrownError","operator","subject","AnonymousSubject","_this2","errorContext","Array","from","_step","_iterator","_createForOfIteratorHelper","s","n","done","err","e","f","_this3","shift","error","_this4","complete","get","_a","_this5","EMPTY_SUBSCRIPTION","Subscription","arrRemove","observable","Observable","source","create","destination","_super2","_this6","_b","subscribe","createOperatorSubscriber","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_next","_assertThisInitialized","_error","unsubscribe","_complete","Subscriber","takeUntil","notifier","operate","innerFrom","noop","delegate","Date","hasLift","isFunction","lift","init","liftedSource","TypeError","_arrayLikeToArray","arr","len","arr2","self","ReferenceError","o","allowArrayLike","it","Symbol","iterator","isArray","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","_e","normalCompletion","didErr","step","_e2","return","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","result","Super","getPrototypeOf","NewTarget","constructor","Reflect","construct","apply","_possibleConstructorReturn","esm_typeof","assertThisInitialized","bind","target","property","receiver","base","_superPropBase","object","Object","hasOwnProperty","desc","getOwnPropertyDescriptor","setPrototypeOf","__proto__","subClass","superClass","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_iterableToArray","iter","_setPrototypeOf","p","_toConsumableArray","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","toString","test"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/ReplaySubject.js","./node_modules/rxjs/dist/esm/internal/util/ObjectUnsubscribedError.js","./node_modules/rxjs/dist/esm/internal/Subject.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/takeUntil.js","./node_modules/rxjs/dist/esm/internal/scheduler/dateTimestampProvider.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { Subject } from './Subject';\nimport { dateTimestampProvider } from './scheduler/dateTimestampProvider';\nexport class ReplaySubject extends Subject {\n constructor(_bufferSize = Infinity, _windowTime = Infinity, _timestampProvider = dateTimestampProvider) {\n super();\n this._bufferSize = _bufferSize;\n this._windowTime = _windowTime;\n this._timestampProvider = _timestampProvider;\n this._buffer = [];\n this._infiniteTimeWindow = true;\n this._infiniteTimeWindow = _windowTime === Infinity;\n this._bufferSize = Math.max(1, _bufferSize);\n this._windowTime = Math.max(1, _windowTime);\n }\n next(value) {\n const { isStopped, _buffer, _infiniteTimeWindow, _timestampProvider, _windowTime } = this;\n if (!isStopped) {\n _buffer.push(value);\n !_infiniteTimeWindow && _buffer.push(_timestampProvider.now() + _windowTime);\n }\n this._trimBuffer();\n super.next(value);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._trimBuffer();\n const subscription = this._innerSubscribe(subscriber);\n const { _infiniteTimeWindow, _buffer } = this;\n const copy = _buffer.slice();\n for (let i = 0; i < copy.length && !subscriber.closed; i += _infiniteTimeWindow ? 1 : 2) {\n subscriber.next(copy[i]);\n }\n this._checkFinalizedStatuses(subscriber);\n return subscription;\n }\n _trimBuffer() {\n const { _bufferSize, _timestampProvider, _buffer, _infiniteTimeWindow } = this;\n const adjustedBufferSize = (_infiniteTimeWindow ? 1 : 2) * _bufferSize;\n _bufferSize < Infinity && adjustedBufferSize < _buffer.length && _buffer.splice(0, _buffer.length - adjustedBufferSize);\n if (!_infiniteTimeWindow) {\n const now = _timestampProvider.now();\n let last = 0;\n for (let i = 1; i < _buffer.length && _buffer[i] <= now; i += 2) {\n last = i;\n }\n last && _buffer.splice(0, last + 1);\n }\n }\n}\n","import { createErrorClass } from './createErrorClass';\nexport const ObjectUnsubscribedError = createErrorClass((_super) => function ObjectUnsubscribedErrorImpl() {\n _super(this);\n this.name = 'ObjectUnsubscribedError';\n this.message = 'object unsubscribed';\n});\n","import { Observable } from './Observable';\nimport { Subscription, EMPTY_SUBSCRIPTION } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { arrRemove } from './util/arrRemove';\nimport { errorContext } from './util/errorContext';\nexport class Subject extends Observable {\n constructor() {\n super();\n this.closed = false;\n this.currentObservers = null;\n this.observers = [];\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n lift(operator) {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n }\n _throwIfClosed() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n }\n next(value) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n if (!this.currentObservers) {\n this.currentObservers = Array.from(this.observers);\n }\n for (const observer of this.currentObservers) {\n observer.next(value);\n }\n }\n });\n }\n error(err) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.hasError = this.isStopped = true;\n this.thrownError = err;\n const { observers } = this;\n while (observers.length) {\n observers.shift().error(err);\n }\n }\n });\n }\n complete() {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.isStopped = true;\n const { observers } = this;\n while (observers.length) {\n observers.shift().complete();\n }\n }\n });\n }\n unsubscribe() {\n this.isStopped = this.closed = true;\n this.observers = this.currentObservers = null;\n }\n get observed() {\n var _a;\n return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;\n }\n _trySubscribe(subscriber) {\n this._throwIfClosed();\n return super._trySubscribe(subscriber);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._checkFinalizedStatuses(subscriber);\n return this._innerSubscribe(subscriber);\n }\n _innerSubscribe(subscriber) {\n const { hasError, isStopped, observers } = this;\n if (hasError || isStopped) {\n return EMPTY_SUBSCRIPTION;\n }\n this.currentObservers = null;\n observers.push(subscriber);\n return new Subscription(() => {\n this.currentObservers = null;\n arrRemove(observers, subscriber);\n });\n }\n _checkFinalizedStatuses(subscriber) {\n const { hasError, thrownError, isStopped } = this;\n if (hasError) {\n subscriber.error(thrownError);\n }\n else if (isStopped) {\n subscriber.complete();\n }\n }\n asObservable() {\n const observable = new Observable();\n observable.source = this;\n return observable;\n }\n}\nSubject.create = (destination, source) => {\n return new AnonymousSubject(destination, source);\n};\nexport class AnonymousSubject extends Subject {\n constructor(destination, source) {\n super();\n this.destination = destination;\n this.source = source;\n }\n next(value) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);\n }\n error(err) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);\n }\n complete() {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);\n }\n _subscribe(subscriber) {\n var _a, _b;\n return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;\n }\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { innerFrom } from '../observable/innerFrom';\nimport { noop } from '../util/noop';\nexport function takeUntil(notifier) {\n return operate((source, subscriber) => {\n innerFrom(notifier).subscribe(createOperatorSubscriber(subscriber, () => subscriber.complete(), noop));\n !subscriber.closed && source.subscribe(subscriber);\n });\n}\n","export const dateTimestampProvider = {\n now() {\n return (dateTimestampProvider.delegate || Date).now();\n },\n delegate: undefined,\n};\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22]} \ No newline at end of file diff --git a/3278.adffad0b0fdd8e90.js b/3278.adffad0b0fdd8e90.js new file mode 100644 index 0000000..c7a4bf5 --- /dev/null +++ b/3278.adffad0b0fdd8e90.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[3278,7376,5187,4091,1217,7208,4968,4155,1084,6896,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,4680,2111,3326,8596,8352,5501,3098,8608,8443,5915,5391,6748,6763,4151,5069,7432,6618],{35488:(f,n,e)=>{function t(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}e.d(n,{Z:()=>t})},28694:(f,n,e)=>{e.d(n,{Z:()=>i});var t=e(20265),o=e(98568),u=e(43445),r=e(35488);function i(p){var c=(0,o.Z)();return function(){var a,s=(0,t.Z)(p);if(c){var d=(0,t.Z)(this).constructor;a=Reflect.construct(s,arguments,d)}else a=s.apply(this,arguments);return function _(p,c){if(c&&("object"===(0,u.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(p)}(this,a)}}},20265:(f,n,e)=>{function t(o){return(t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)})(o)}e.d(n,{Z:()=>t})},24582:(f,n,e)=>{e.d(n,{Z:()=>o});var t=e(10006);function o(u,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(r&&r.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),r&&(0,t.Z)(u,r)}},98568:(f,n,e)=>{function t(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(n,{Z:()=>t})},10006:(f,n,e)=>{function t(o,u){return(t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_,i){return _.__proto__=i,_})(o,u)}e.d(n,{Z:()=>t})}}]); +//# sourceMappingURL=3278.adffad0b0fdd8e90.js.map \ No newline at end of file diff --git a/3278.adffad0b0fdd8e90.js.map b/3278.adffad0b0fdd8e90.js.map new file mode 100644 index 0000000..610ff9f --- /dev/null +++ b/3278.adffad0b0fdd8e90.js.map @@ -0,0 +1 @@ +{"version":3,"file":"3278.adffad0b0fdd8e90.js","mappings":"sQAAe,SAAAA,EAAAC,GACf,YAAAA,EACA,UAAAC,eAAA,6DAEA,OAAAD,CACA,oGCFe,SAAAE,EAAAC,GACf,IAAAC,KAAkCC,EAAAC,KAClC,kBACA,IACAC,EADAC,KAAgBC,EAAAH,GAAcH,GAE9B,GAAAC,EAAA,CACA,IAAAM,KAAsBD,EAAAH,GAAcK,MAAAC,YACpCL,EAAAM,QAAAC,UAAAN,EAAAO,UAAAL,EAAA,MAEAH,EAAAC,EAAAQ,MAAAL,KAAAI,WAEA,OCZe,SAAAE,EAAAjB,EAAAkB,GACf,GAAAA,IAAsB,YAAtBA,EAAeC,EAAAb,GAAOY,IAAA,mBAAAA,GACtB,OAAAA,EACI,YAAAA,EACJ,UAAAE,UAAA,4DAEA,SAASC,EAAAf,GAAqBN,EAC9B,CDKWiB,CAAyBN,KAAAJ,EACpC,CACA,mBEhBe,SAAAe,EAAAC,GACf,OAAAD,EAAAE,OAAAC,eAAAD,OAAAf,eAAAiB,OAAA,SAAAH,GACA,OAAAA,EAAAI,WAAAH,OAAAf,eAAAc,EACA,GACAA,EACA,mECJe,SAAAK,EAAAC,EAAAC,GACf,sBAAAA,GAAA,OAAAA,EACA,UAAAV,UAAA,sDAEAS,EAAAE,UAAAP,OAAAQ,OAAAF,KAAAC,UAAA,CACAnB,YAAA,CACAqB,MAAAJ,EACAK,UAAA,EACAC,cAAA,KAGAX,OAAAY,eAAAP,EAAA,aACAK,UAAA,IAEAJ,MAAkBO,EAAA/B,GAAcuB,EAAAC,EAChC,mBChBe,SAAAQ,IAEf,UADAzB,QAAA,MAAAA,QAAAC,WACAD,QAAAC,UAAAyB,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAAV,UAAAW,QAAAxB,KAAAL,QAAAC,UAAA2B,QAAA,mBACA,CACA,OACA,QACA,CACA,mCCVe,SAAAE,EAAApB,EAAAqB,GACf,OAAAD,EAAAnB,OAAAC,eAAAD,OAAAC,eAAAC,OAAA,SAAAH,EAAAqB,GACA,OAAArB,EAAAI,UAAAiB,EACArB,CACA,GACAA,EAAAqB,EACA","names":["_assertThisInitialized","self","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","call","esm_typeof","TypeError","assertThisInitialized","_getPrototypeOf","o","Object","setPrototypeOf","bind","__proto__","_inherits","subClass","superClass","prototype","create","value","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6]} \ No newline at end of file diff --git a/3308.a528bc6f1b781d52.js b/3308.a528bc6f1b781d52.js new file mode 100644 index 0000000..e14b7b4 --- /dev/null +++ b/3308.a528bc6f1b781d52.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[3308,3022,5106,7376,5187,4091,1217,7208,4968,6785,4155,1084,6896,7920,6980,5113,1328,5749,4309,8024,8513,5555,4967,8017,8116,5873,8061,4680,2112,2111,3326,8596,8352,5501,882,3098,8467,6578,8608,8443,7328,5915,3278,5391,6748,1551,6763,4151,5069,7432,8071,6618],{50253:(P,h,t)=>{t.d(h,{x:()=>L});var c=t(95106),d=t(78069),o=t(48047),l=t(4089),s=t(20265),m=t(24582),u=t(28694),f=t(90833),y=t(17714),E=(0,t(27543).d)(function(w){return function(){w(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),I=t(39663),O=t(12309),L=function(){var w=function(U){(0,m.Z)(B,U);var z=(0,u.Z)(B);function B(){var S;return(0,d.Z)(this,B),(S=z.call(this)).closed=!1,S.currentObservers=null,S.observers=[],S.isStopped=!1,S.hasError=!1,S.thrownError=null,S}return(0,o.Z)(B,[{key:"lift",value:function(v){var _=new R(this,this);return _.operator=v,_}},{key:"_throwIfClosed",value:function(){if(this.closed)throw new E}},{key:"next",value:function(v){var _=this;(0,O.x)(function(){if(_._throwIfClosed(),!_.isStopped){_.currentObservers||(_.currentObservers=Array.from(_.observers));var b,x=(0,c.Z)(_.currentObservers);try{for(x.s();!(b=x.n()).done;)b.value.next(v)}catch(A){x.e(A)}finally{x.f()}}})}},{key:"error",value:function(v){var _=this;(0,O.x)(function(){if(_._throwIfClosed(),!_.isStopped){_.hasError=_.isStopped=!0,_.thrownError=v;for(var x=_.observers;x.length;)x.shift().error(v)}})}},{key:"complete",value:function(){var v=this;(0,O.x)(function(){if(v._throwIfClosed(),!v.isStopped){v.isStopped=!0;for(var _=v.observers;_.length;)_.shift().complete()}})}},{key:"unsubscribe",value:function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}},{key:"observed",get:function(){var v;return(null===(v=this.observers)||void 0===v?void 0:v.length)>0}},{key:"_trySubscribe",value:function(v){return this._throwIfClosed(),(0,l.Z)((0,s.Z)(B.prototype),"_trySubscribe",this).call(this,v)}},{key:"_subscribe",value:function(v){return this._throwIfClosed(),this._checkFinalizedStatuses(v),this._innerSubscribe(v)}},{key:"_innerSubscribe",value:function(v){var _=this,M=this.observers;return this.hasError||this.isStopped?y.Lc:(this.currentObservers=null,M.push(v),new y.w0(function(){_.currentObservers=null,(0,I.P)(M,v)}))}},{key:"_checkFinalizedStatuses",value:function(v){var b=this.isStopped;this.hasError?v.error(this.thrownError):b&&v.complete()}},{key:"asObservable",value:function(){var v=new f.y;return v.source=this,v}}]),B}(f.y);return w.create=function(U,z){return new R(U,z)},w}(),R=function(w){(0,m.Z)(z,w);var U=(0,u.Z)(z);function z(B,S){var v;return(0,d.Z)(this,z),(v=U.call(this)).destination=B,v.source=S,v}return(0,o.Z)(z,[{key:"next",value:function(S){var v,_;null===(_=null===(v=this.destination)||void 0===v?void 0:v.next)||void 0===_||_.call(v,S)}},{key:"error",value:function(S){var v,_;null===(_=null===(v=this.destination)||void 0===v?void 0:v.error)||void 0===_||_.call(v,S)}},{key:"complete",value:function(){var S,v;null===(v=null===(S=this.destination)||void 0===S?void 0:S.complete)||void 0===v||v.call(S)}},{key:"_subscribe",value:function(S){var v,_;return null!==(_=null===(v=this.source)||void 0===v?void 0:v.subscribe(S))&&void 0!==_?_:y.Lc}}]),z}(L)},59319:(P,h,t)=>{t.d(h,{z:()=>s});var c=t(1308),o=t(10420),l=t(37400);function s(){for(var m=arguments.length,u=new Array(m),f=0;f<m;f++)u[f]=arguments[f];return function d(){return(0,c.J)(1)}()((0,l.D)(u,(0,o.yG)(u)))}},37400:(P,h,t)=>{t.d(h,{D:()=>x});var c=t(54987),d=t(8728),o=t(41944);function l(b){var M=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,o.e)(function(A,Z){Z.add(b.schedule(function(){return A.subscribe(Z)},M))})}var u=t(90833),y=t(67321),e=t(92971),E=t(1817);function O(b,M){if(!b)throw new Error("Iterable cannot be null");return new u.y(function(A){(0,E.f)(A,M,function(){var Z=b[Symbol.asyncIterator]();(0,E.f)(A,M,function(){Z.next().then(function(F){F.done?A.complete():A.next(F.value)})},0,!0)})})}var L=t(21331),R=t(79548),w=t(99806),U=t(23433),z=t(80470),B=t(27785),S=t(20181);function x(b,M){return M?function _(b,M){if(null!=b){if((0,L.c)(b))return function s(b,M){return(0,c.Xf)(b).pipe(l(M),(0,d.Q)(M))}(b,M);if((0,w.z)(b))return function f(b,M){return new u.y(function(A){var Z=0;return M.schedule(function(){Z===b.length?A.complete():(A.next(b[Z++]),A.closed||this.schedule())})})}(b,M);if((0,R.t)(b))return function m(b,M){return(0,c.Xf)(b).pipe(l(M),(0,d.Q)(M))}(b,M);if((0,z.D)(b))return O(b,M);if((0,U.T)(b))return function I(b,M){return new u.y(function(A){var Z;return(0,E.f)(A,M,function(){Z=b[y.h](),(0,E.f)(A,M,function(){var F,j;try{var W=Z.next();F=W.value,j=W.done}catch(N){return void A.error(N)}j?A.complete():A.next(F)},0,!0)}),function(){return(0,e.m)(Z?.return)&&Z.return()}})}(b,M);if((0,S.L)(b))return function v(b,M){return O((0,S.Q)(b),M)}(b,M)}throw(0,B.z)(b)}(b,M):(0,c.Xf)(b)}},93945:(P,h,t)=>{t.d(h,{Q:()=>e,x:()=>y});var c=t(78069),d=t(48047),o=t(35488),l=t(24582),s=t(28694),m=t(4089),u=t(20265);function y(E,I,O,L,R){return new e(E,I,O,L,R)}var e=function(E){(0,l.Z)(O,E);var I=(0,s.Z)(O);function O(L,R,w,U,z,B){var S,v,_,x;return(0,c.Z)(this,O),(x=I.call(this,L)).onFinalize=z,x.shouldUnsubscribe=B,x._next=R?function(b){try{R(b)}catch(M){L.error(M)}}:(0,m.Z)((S=(0,o.Z)(x),(0,u.Z)(O.prototype)),"_next",S),x._error=U?function(b){try{U(b)}catch(M){L.error(M)}finally{this.unsubscribe()}}:(0,m.Z)((v=(0,o.Z)(x),(0,u.Z)(O.prototype)),"_error",v),x._complete=w?function(){try{w()}catch(b){L.error(b)}finally{this.unsubscribe()}}:(0,m.Z)((_=(0,o.Z)(x),(0,u.Z)(O.prototype)),"_complete",_),x}return(0,d.Z)(O,[{key:"unsubscribe",value:function(){var R;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var w=this.closed;(0,m.Z)((0,u.Z)(O.prototype),"unsubscribe",this).call(this),!w&&(null===(R=this.onFinalize)||void 0===R||R.call(this))}}}]),O}(t(5463).Lv)},98977:(P,h,t)=>{t.d(h,{x:()=>l});var c=t(89173),d=t(41944),o=t(93945);function l(m){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.y;return m=m??s,(0,d.e)(function(f,y){var e,E=!0;f.subscribe((0,o.x)(y,function(I){var O=u(I);(E||!m(e,O))&&(E=!1,e=O,y.next(I))}))})}function s(m,u){return m===u}},50635:(P,h,t)=>{t.d(h,{U:()=>o});var c=t(41944),d=t(93945);function o(l,s){return(0,c.e)(function(m,u){var f=0;m.subscribe((0,d.x)(u,function(y){u.next(l.call(s,y,f++))}))})}},1308:(P,h,t)=>{t.d(h,{J:()=>o});var c=t(49525),d=t(89173);function o(){return(0,c.z)(d.y,arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0)}},49525:(P,h,t)=>{t.d(h,{z:()=>f});var c=t(50635),d=t(54987),o=t(41944),l=t(1817),s=t(93945),u=t(92971);function f(y,e){var E=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;return(0,u.m)(e)?f(function(I,O){return(0,c.U)(function(L,R){return e(I,L,O,R)})((0,d.Xf)(y(I,O)))},E):("number"==typeof e&&(E=e),(0,o.e)(function(I,O){return function m(y,e,E,I,O,L,R,w){var U=[],z=0,B=0,S=!1,v=function(){S&&!U.length&&!z&&e.complete()},_=function(M){return z<I?x(M):U.push(M)},x=function b(M){L&&e.next(M),z++;var A=!1;(0,d.Xf)(E(M,B++)).subscribe((0,s.x)(e,function(Z){O?.(Z),L?_(Z):e.next(Z)},function(){A=!0},void 0,function(){if(A)try{z--;for(var Z=function(){var j=U.shift();R?(0,l.f)(e,R,function(){return b(j)}):b(j)};U.length&&z<I;)Z();v()}catch(F){e.error(F)}}))};return y.subscribe((0,s.x)(e,_,function(){S=!0,v()})),function(){w?.()}}(I,O,y,E)}))}},8728:(P,h,t)=>{t.d(h,{Q:()=>l});var c=t(1817),d=t(41944),o=t(93945);function l(s){var m=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,d.e)(function(u,f){u.subscribe((0,o.x)(f,function(y){return(0,c.f)(f,s,function(){return f.next(y)},m)},function(){return(0,c.f)(f,s,function(){return f.complete()},m)},function(y){return(0,c.f)(f,s,function(){return f.error(y)},m)}))})}},44874:(P,h,t)=>{t.d(h,{O:()=>l});var c=t(59319),d=t(10420),o=t(41944);function l(){for(var s=arguments.length,m=new Array(s),u=0;u<s;u++)m[u]=arguments[u];var f=(0,d.yG)(m);return(0,o.e)(function(y,e){(f?(0,c.z)(m,y,f):(0,c.z)(m,y)).subscribe(e)})}},32673:(P,h,t)=>{t.d(h,{w:()=>l});var c=t(54987),d=t(41944),o=t(93945);function l(s,m){return(0,d.e)(function(u,f){var y=null,e=0,E=!1,I=function(){return E&&!y&&f.complete()};u.subscribe((0,o.x)(f,function(O){y?.unsubscribe();var L=0,R=e++;(0,c.Xf)(s(O,R)).subscribe(y=(0,o.x)(f,function(w){return f.next(m?m(O,w,R,L++):w)},function(){y=null,I()}))},function(){E=!0,I()}))})}},68951:(P,h,t)=>{t.d(h,{R:()=>s});var c=t(41944),d=t(93945),o=t(54987),l=t(99635);function s(m){return(0,c.e)(function(u,f){(0,o.Xf)(m).subscribe((0,d.x)(f,function(){return f.complete()},l.Z)),!f.closed&&u.subscribe(f)})}},10420:(P,h,t)=>{t.d(h,{_6:()=>m,jO:()=>l,yG:()=>s});var c=t(92971),d=t(59867);function o(u){return u[u.length-1]}function l(u){return(0,c.m)(o(u))?u.pop():void 0}function s(u){return(0,d.K)(o(u))?u.pop():void 0}function m(u,f){return"number"==typeof o(u)?u.pop():f}},1817:(P,h,t)=>{function c(d,o,l){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,m=arguments.length>4&&void 0!==arguments[4]&&arguments[4],u=o.schedule(function(){l(),m?d.add(this.schedule(null,s)):this.unsubscribe()},s);if(d.add(u),!m)return u}t.d(h,{f:()=>c})},59867:(P,h,t)=>{t.d(h,{K:()=>d});var c=t(92971);function d(o){return o&&(0,c.m)(o.schedule)}},41944:(P,h,t)=>{t.d(h,{A:()=>d,e:()=>o});var c=t(92971);function d(l){return(0,c.m)(l?.lift)}function o(l){return function(s){if(d(s))return s.lift(function(m){try{return l(m,this)}catch(u){this.error(u)}});throw new TypeError("Unable to lift unknown Observable type")}}},96247:(P,h,t)=>{t.r(h),t.d(h,{MAT_STEPPER_INTL_PROVIDER:()=>Y,MAT_STEPPER_INTL_PROVIDER_FACTORY:()=>$,MatStep:()=>ne,MatStepContent:()=>te,MatStepHeader:()=>H,MatStepLabel:()=>k,MatStepper:()=>re,MatStepperIcon:()=>ee,MatStepperIntl:()=>K,MatStepperModule:()=>ge,MatStepperNext:()=>_e,MatStepperPrevious:()=>he,matStepperAnimations:()=>Q});var c=t(4089),d=t(20265),o=t(48047),l=t(78069),s=t(24582),m=t(28694),u=t(18142),f=t(70561),y=t(94055),e=t(56718),E=t(6606),I=t(28972),O=t(908),L=t(50253),R=t(17714),w=t(43068),U=t(32673),z=t(50635),B=t(44874),S=t(68951),v=t(98977),_=t(72223);function x(n,i){if(1&n&&e.\u0275\u0275elementContainer(0,8),2&n){var r=e.\u0275\u0275nextContext();e.\u0275\u0275property("ngTemplateOutlet",r.iconOverrides[r.state])("ngTemplateOutletContext",r._getIconContext())}}function b(n,i){if(1&n&&(e.\u0275\u0275elementStart(0,"span",13),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&n){var r=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate(r._getDefaultTextForState(r.state))}}function M(n,i){if(1&n&&(e.\u0275\u0275elementStart(0,"span",14),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&n){var r=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate(r._intl.completedLabel)}}function A(n,i){if(1&n&&(e.\u0275\u0275elementStart(0,"span",14),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&n){var r=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate(r._intl.editableLabel)}}function Z(n,i){if(1&n&&(e.\u0275\u0275elementStart(0,"mat-icon",13),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&n){var r=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate(r._getDefaultTextForState(r.state))}}function F(n,i){if(1&n&&(e.\u0275\u0275elementContainerStart(0,9),e.\u0275\u0275template(1,b,2,1,"span",10),e.\u0275\u0275template(2,M,2,1,"span",11),e.\u0275\u0275template(3,A,2,1,"span",11),e.\u0275\u0275template(4,Z,2,1,"mat-icon",12),e.\u0275\u0275elementContainerEnd()),2&n){var r=e.\u0275\u0275nextContext();e.\u0275\u0275property("ngSwitch",r.state),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngSwitchCase","number"),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf","done"===r.state),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf","edit"===r.state)}}function j(n,i){if(1&n&&(e.\u0275\u0275elementStart(0,"div",15),e.\u0275\u0275elementContainer(1,16),e.\u0275\u0275elementEnd()),2&n){var r=e.\u0275\u0275nextContext();e.\u0275\u0275advance(1),e.\u0275\u0275property("ngTemplateOutlet",r._templateLabel().template)}}function W(n,i){if(1&n&&(e.\u0275\u0275elementStart(0,"div",15),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&n){var r=e.\u0275\u0275nextContext();e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate(r.label)}}function N(n,i){if(1&n&&(e.\u0275\u0275elementStart(0,"div",17),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&n){var r=e.\u0275\u0275nextContext();e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate(r._intl.optionalLabel)}}function ae(n,i){if(1&n&&(e.\u0275\u0275elementStart(0,"div",18),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&n){var r=e.\u0275\u0275nextContext();e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate(r.errorMessage)}}function oe(n,i){}function ie(n,i){if(1&n&&(e.\u0275\u0275projection(0),e.\u0275\u0275template(1,oe,0,0,"ng-template",0)),2&n){var r=e.\u0275\u0275nextContext();e.\u0275\u0275advance(1),e.\u0275\u0275property("cdkPortalOutlet",r._portal)}}var le=["*"];function se(n,i){1&n&&e.\u0275\u0275element(0,"div",11)}var V=function(i,r){return{step:i,i:r}};function pe(n,i){if(1&n&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementContainer(1,9),e.\u0275\u0275template(2,se,1,0,"div",10),e.\u0275\u0275elementContainerEnd()),2&n){var r=i.$implicit,a=i.index,g=i.last;e.\u0275\u0275nextContext(2);var p=e.\u0275\u0275reference(4);e.\u0275\u0275advance(1),e.\u0275\u0275property("ngTemplateOutlet",p)("ngTemplateOutletContext",e.\u0275\u0275pureFunction2(3,V,r,a)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",!g)}}var X=function(i){return{animationDuration:i}},G=function(i,r){return{value:i,params:r}};function ue(n,i){if(1&n){var r=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",12),e.\u0275\u0275listener("@horizontalStepTransition.done",function(C){e.\u0275\u0275restoreView(r);var T=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(T._animationDone.next(C))}),e.\u0275\u0275elementContainer(1,13),e.\u0275\u0275elementEnd()}if(2&n){var a=i.$implicit,g=i.index,p=e.\u0275\u0275nextContext(2);e.\u0275\u0275classProp("mat-horizontal-stepper-content-inactive",p.selectedIndex!==g),e.\u0275\u0275property("@horizontalStepTransition",e.\u0275\u0275pureFunction2(8,G,p._getAnimationDirection(g),e.\u0275\u0275pureFunction1(6,X,p._getAnimationDuration())))("id",p._getStepContentId(g)),e.\u0275\u0275attribute("aria-labelledby",p._getStepLabelId(g)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngTemplateOutlet",a.content)}}function ce(n,i){if(1&n&&(e.\u0275\u0275elementStart(0,"div",4)(1,"div",5),e.\u0275\u0275template(2,pe,3,6,"ng-container",6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"div",7),e.\u0275\u0275template(4,ue,2,11,"div",8),e.\u0275\u0275elementEnd()()),2&n){var r=e.\u0275\u0275nextContext();e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",r.steps),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",r.steps)}}function de(n,i){if(1&n){var r=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",15),e.\u0275\u0275elementContainer(1,9),e.\u0275\u0275elementStart(2,"div",16)(3,"div",17),e.\u0275\u0275listener("@verticalStepTransition.done",function(be){e.\u0275\u0275restoreView(r);var ye=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ye._animationDone.next(be))}),e.\u0275\u0275elementStart(4,"div",18),e.\u0275\u0275elementContainer(5,13),e.\u0275\u0275elementEnd()()()()}if(2&n){var a=i.$implicit,g=i.index,p=i.last,D=e.\u0275\u0275nextContext(2),C=e.\u0275\u0275reference(4);e.\u0275\u0275advance(1),e.\u0275\u0275property("ngTemplateOutlet",C)("ngTemplateOutletContext",e.\u0275\u0275pureFunction2(10,V,a,g)),e.\u0275\u0275advance(1),e.\u0275\u0275classProp("mat-stepper-vertical-line",!p),e.\u0275\u0275advance(1),e.\u0275\u0275classProp("mat-vertical-stepper-content-inactive",D.selectedIndex!==g),e.\u0275\u0275property("@verticalStepTransition",e.\u0275\u0275pureFunction2(15,G,D._getAnimationDirection(g),e.\u0275\u0275pureFunction1(13,X,D._getAnimationDuration())))("id",D._getStepContentId(g)),e.\u0275\u0275attribute("aria-labelledby",D._getStepLabelId(g)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngTemplateOutlet",a.content)}}function fe(n,i){if(1&n&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,de,6,18,"div",14),e.\u0275\u0275elementContainerEnd()),2&n){var r=e.\u0275\u0275nextContext();e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",r.steps)}}function me(n,i){if(1&n){var r=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"mat-step-header",19),e.\u0275\u0275listener("click",function(){var C=e.\u0275\u0275restoreView(r);return e.\u0275\u0275resetView(C.step.select())})("keydown",function(C){e.\u0275\u0275restoreView(r);var T=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(T._onKeydown(C))}),e.\u0275\u0275elementEnd()}if(2&n){var a=i.step,g=i.i,p=e.\u0275\u0275nextContext();e.\u0275\u0275classProp("mat-horizontal-stepper-header","horizontal"===p.orientation)("mat-vertical-stepper-header","vertical"===p.orientation),e.\u0275\u0275property("tabIndex",p._getFocusIndex()===g?0:-1)("id",p._getStepLabelId(g))("index",g)("state",p._getIndicatorType(g,a.state))("label",a.stepLabel||a.label)("selected",p.selectedIndex===g)("active",p._stepIsNavigable(g,a))("optional",a.optional)("errorMessage",a.errorMessage)("iconOverrides",p._iconOverrides)("disableRipple",p.disableRipple||!p._stepIsNavigable(g,a))("color",a.color||p.color),e.\u0275\u0275attribute("aria-posinset",g+1)("aria-setsize",p.steps.length)("aria-controls",p._getStepContentId(g))("aria-selected",p.selectedIndex==g)("aria-label",a.ariaLabel||null)("aria-labelledby",!a.ariaLabel&&a.ariaLabelledby?a.ariaLabelledby:null)("aria-disabled",!p._stepIsNavigable(g,a)||null)}}var k=function(){var n=function(i){(0,s.Z)(a,i);var r=(0,m.Z)(a);function a(){return(0,l.Z)(this,a),r.apply(this,arguments)}return(0,o.Z)(a)}(f.CdkStepLabel);return n.\u0275fac=function(){var i;return function(a){return(i||(i=e.\u0275\u0275getInheritedFactory(n)))(a||n)}}(),n.\u0275dir=e.\u0275\u0275defineDirective({type:n,selectors:[["","matStepLabel",""]],features:[e.\u0275\u0275InheritDefinitionFeature]}),n}(),K=function(){var n=(0,o.Z)(function i(){(0,l.Z)(this,i),this.changes=new L.x,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"});return n.\u0275fac=function(r){return new(r||n)},n.\u0275prov=e.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac,providedIn:"root"}),n}();function $(n){return n||new K}var Y={provide:K,deps:[[new e.Optional,new e.SkipSelf,K]],useFactory:$},ve=(0,E.mixinColor)(function(n){(0,s.Z)(r,n);var i=(0,m.Z)(r);function r(a){return(0,l.Z)(this,r),i.call(this,a)}return(0,o.Z)(r)}(f.CdkStepHeader),"primary"),H=function(){var n=function(i){(0,s.Z)(a,i);var r=(0,m.Z)(a);function a(g,p,D,C){var T;return(0,l.Z)(this,a),(T=r.call(this,D))._intl=g,T._focusMonitor=p,T._intlSubscription=g.changes.subscribe(function(){return C.markForCheck()}),T}return(0,o.Z)(a,[{key:"ngAfterViewInit",value:function(){this._focusMonitor.monitor(this._elementRef,!0)}},{key:"ngOnDestroy",value:function(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"focus",value:function(p,D){p?this._focusMonitor.focusVia(this._elementRef,p,D):this._elementRef.nativeElement.focus(D)}},{key:"_stringLabel",value:function(){return this.label instanceof k?null:this.label}},{key:"_templateLabel",value:function(){return this.label instanceof k?this.label:null}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_getIconContext",value:function(){return{index:this.index,active:this.active,optional:this.optional}}},{key:"_getDefaultTextForState",value:function(p){return"number"==p?"".concat(this.index+1):"edit"==p?"create":"error"==p?"warning":p}}]),a}(ve);return n.\u0275fac=function(r){return new(r||n)(e.\u0275\u0275directiveInject(K),e.\u0275\u0275directiveInject(O.FocusMonitor),e.\u0275\u0275directiveInject(e.ElementRef),e.\u0275\u0275directiveInject(e.ChangeDetectorRef))},n.\u0275cmp=e.\u0275\u0275defineComponent({type:n,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],inputs:{color:"color",state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple"},features:[e.\u0275\u0275InheritDefinitionFeature],decls:10,vars:19,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content",3,"ngSwitch"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngSwitchCase"],[3,"ngSwitch",4,"ngSwitchDefault"],[1,"mat-step-label"],["class","mat-step-text-label",4,"ngIf"],["class","mat-step-optional",4,"ngIf"],["class","mat-step-sub-label-error",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],["aria-hidden","true",4,"ngSwitchCase"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true",4,"ngSwitchDefault"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[1,"mat-step-text-label"],[3,"ngTemplateOutlet"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"]],template:function(r,a){1&r&&(e.\u0275\u0275element(0,"div",0),e.\u0275\u0275elementStart(1,"div")(2,"div",1),e.\u0275\u0275template(3,x,1,2,"ng-container",2),e.\u0275\u0275template(4,F,5,4,"ng-container",3),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(5,"div",4),e.\u0275\u0275template(6,j,2,1,"div",5),e.\u0275\u0275template(7,W,2,1,"div",5),e.\u0275\u0275template(8,N,2,1,"div",6),e.\u0275\u0275template(9,ae,2,1,"div",7),e.\u0275\u0275elementEnd()),2&r&&(e.\u0275\u0275property("matRippleTrigger",a._getHostElement())("matRippleDisabled",a.disableRipple),e.\u0275\u0275advance(1),e.\u0275\u0275classMapInterpolate1("mat-step-icon-state-",a.state," mat-step-icon"),e.\u0275\u0275classProp("mat-step-icon-selected",a.selected),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngSwitch",!(!a.iconOverrides||!a.iconOverrides[a.state])),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngSwitchCase",!0),e.\u0275\u0275advance(2),e.\u0275\u0275classProp("mat-step-label-active",a.active)("mat-step-label-selected",a.selected)("mat-step-label-error","error"==a.state),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",a._templateLabel()),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",a._stringLabel()),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",a.optional&&"error"!=a.state),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf","error"==a.state))},dependencies:[y.NgIf,y.NgTemplateOutlet,y.NgSwitch,y.NgSwitchCase,y.NgSwitchDefault,I.MatIcon,E.MatRipple],styles:['.mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:""}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.cdk-high-contrast-active .mat-step-header[aria-disabled=true]{outline-color:GrayText}.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-label,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-icon,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}.mat-step-optional,.mat-step-sub-label-error{font-size:12px}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,changeDetection:0}),n}(),J="500ms",q="225ms",Q={horizontalStepTransition:(0,_.X$)("horizontalStepTransition",[(0,_.SB)("previous",(0,_.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),(0,_.SB)("current",(0,_.oB)({transform:"none",visibility:"inherit"})),(0,_.SB)("next",(0,_.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),(0,_.eR)("* => *",(0,_.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),{params:{animationDuration:J}})]),verticalStepTransition:(0,_.X$)("verticalStepTransition",[(0,_.SB)("previous",(0,_.oB)({height:"0px",visibility:"hidden"})),(0,_.SB)("next",(0,_.oB)({height:"0px",visibility:"hidden"})),(0,_.SB)("current",(0,_.oB)({height:"*",visibility:"inherit"})),(0,_.eR)("* <=> current",(0,_.jt)("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),{params:{animationDuration:q}})])},ee=function(){var n=(0,o.Z)(function i(r){(0,l.Z)(this,i),this.templateRef=r});return n.\u0275fac=function(r){return new(r||n)(e.\u0275\u0275directiveInject(e.TemplateRef))},n.\u0275dir=e.\u0275\u0275defineDirective({type:n,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}}),n}(),te=function(){var n=(0,o.Z)(function i(r){(0,l.Z)(this,i),this._template=r});return n.\u0275fac=function(r){return new(r||n)(e.\u0275\u0275directiveInject(e.TemplateRef))},n.\u0275dir=e.\u0275\u0275defineDirective({type:n,selectors:[["ng-template","matStepContent",""]]}),n}(),ne=function(){var n=function(i){(0,s.Z)(a,i);var r=(0,m.Z)(a);function a(g,p,D,C){var T;return(0,l.Z)(this,a),(T=r.call(this,g,C))._errorStateMatcher=p,T._viewContainerRef=D,T._isSelected=R.w0.EMPTY,T.stepLabel=void 0,T}return(0,o.Z)(a,[{key:"ngAfterContentInit",value:function(){var p=this;this._isSelected=this._stepper.steps.changes.pipe((0,U.w)(function(){return p._stepper.selectionChange.pipe((0,z.U)(function(D){return D.selectedStep===p}),(0,B.O)(p._stepper.selected===p))})).subscribe(function(D){D&&p._lazyContent&&!p._portal&&(p._portal=new u.TemplatePortal(p._lazyContent._template,p._viewContainerRef))})}},{key:"ngOnDestroy",value:function(){this._isSelected.unsubscribe()}},{key:"isErrorState",value:function(p,D){return this._errorStateMatcher.isErrorState(p,D)||!!(p&&p.invalid&&this.interacted)}}]),a}(f.CdkStep);return n.\u0275fac=function(r){return new(r||n)(e.\u0275\u0275directiveInject((0,e.forwardRef)(function(){return re})),e.\u0275\u0275directiveInject(E.ErrorStateMatcher,4),e.\u0275\u0275directiveInject(e.ViewContainerRef),e.\u0275\u0275directiveInject(f.STEPPER_GLOBAL_OPTIONS,8))},n.\u0275cmp=e.\u0275\u0275defineComponent({type:n,selectors:[["mat-step"]],contentQueries:function(r,a,g){var p;1&r&&(e.\u0275\u0275contentQuery(g,k,5),e.\u0275\u0275contentQuery(g,te,5)),2&r&&(e.\u0275\u0275queryRefresh(p=e.\u0275\u0275loadQuery())&&(a.stepLabel=p.first),e.\u0275\u0275queryRefresh(p=e.\u0275\u0275loadQuery())&&(a._lazyContent=p.first))},inputs:{color:"color"},exportAs:["matStep"],features:[e.\u0275\u0275ProvidersFeature([{provide:E.ErrorStateMatcher,useExisting:n},{provide:f.CdkStep,useExisting:n}]),e.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:le,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(r,a){1&r&&(e.\u0275\u0275projectionDef(),e.\u0275\u0275template(0,ie,2,1,"ng-template"))},dependencies:[u.CdkPortalOutlet],encapsulation:2,changeDetection:0}),n}(),re=function(){var n=function(i){(0,s.Z)(a,i);var r=(0,m.Z)(a);function a(g,p,D){var C;(0,l.Z)(this,a),(C=r.call(this,g,p,D))._stepHeader=void 0,C._steps=void 0,C.steps=new e.QueryList,C.animationDone=new e.EventEmitter,C.labelPosition="end",C.headerPosition="top",C._iconOverrides={},C._animationDone=new L.x,C._animationDuration="";var T=D.nativeElement.nodeName.toLowerCase();return C.orientation="mat-vertical-stepper"===T?"vertical":"horizontal",C}return(0,o.Z)(a,[{key:"animationDuration",get:function(){return this._animationDuration},set:function(p){this._animationDuration=/^\d+$/.test(p)?p+"ms":p}},{key:"ngAfterContentInit",value:function(){var p=this;(0,c.Z)((0,d.Z)(a.prototype),"ngAfterContentInit",this).call(this),this._icons.forEach(function(D){return p._iconOverrides[D.name]=D.templateRef}),this.steps.changes.pipe((0,S.R)(this._destroyed)).subscribe(function(){p._stateChanged()}),this._animationDone.pipe((0,v.x)(function(D,C){return D.fromState===C.fromState&&D.toState===C.toState}),(0,S.R)(this._destroyed)).subscribe(function(D){"current"===D.toState&&p.animationDone.emit()})}},{key:"_stepIsNavigable",value:function(p,D){return D.completed||this.selectedIndex===p||!this.linear}},{key:"_getAnimationDuration",value:function(){return this.animationDuration?this.animationDuration:"horizontal"===this.orientation?J:q}}]),a}(f.CdkStepper);return n.\u0275fac=function(r){return new(r||n)(e.\u0275\u0275directiveInject(w.Directionality,8),e.\u0275\u0275directiveInject(e.ChangeDetectorRef),e.\u0275\u0275directiveInject(e.ElementRef))},n.\u0275cmp=e.\u0275\u0275defineComponent({type:n,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(r,a,g){var p;1&r&&(e.\u0275\u0275contentQuery(g,ne,5),e.\u0275\u0275contentQuery(g,ee,5)),2&r&&(e.\u0275\u0275queryRefresh(p=e.\u0275\u0275loadQuery())&&(a._steps=p),e.\u0275\u0275queryRefresh(p=e.\u0275\u0275loadQuery())&&(a._icons=p))},viewQuery:function(r,a){var g;1&r&&e.\u0275\u0275viewQuery(H,5),2&r&&e.\u0275\u0275queryRefresh(g=e.\u0275\u0275loadQuery())&&(a._stepHeader=g)},hostAttrs:["role","tablist","ngSkipHydration",""],hostVars:11,hostBindings:function(r,a){2&r&&(e.\u0275\u0275attribute("aria-orientation",a.orientation),e.\u0275\u0275classProp("mat-stepper-horizontal","horizontal"===a.orientation)("mat-stepper-vertical","vertical"===a.orientation)("mat-stepper-label-position-end","horizontal"===a.orientation&&"end"==a.labelPosition)("mat-stepper-label-position-bottom","horizontal"===a.orientation&&"bottom"==a.labelPosition)("mat-stepper-header-position-bottom","bottom"===a.headerPosition))},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[e.\u0275\u0275ProvidersFeature([{provide:f.CdkStepper,useExisting:n}]),e.\u0275\u0275InheritDefinitionFeature],decls:5,vars:3,consts:[[3,"ngSwitch"],["class","mat-horizontal-stepper-wrapper",4,"ngSwitchCase"],[4,"ngSwitchCase"],["stepTemplate",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[4,"ngFor","ngForOf"],[1,"mat-horizontal-content-container"],["class","mat-horizontal-stepper-content","role","tabpanel",3,"id","mat-horizontal-stepper-content-inactive",4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","mat-stepper-horizontal-line",4,"ngIf"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],["class","mat-step",4,"ngFor","ngForOf"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color","click","keydown"]],template:function(r,a){1&r&&(e.\u0275\u0275elementContainerStart(0,0),e.\u0275\u0275template(1,ce,5,2,"div",1),e.\u0275\u0275template(2,fe,2,1,"ng-container",2),e.\u0275\u0275elementContainerEnd(),e.\u0275\u0275template(3,me,1,23,"ng-template",null,3,e.\u0275\u0275templateRefExtractor)),2&r&&(e.\u0275\u0275property("ngSwitch",a.orientation),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngSwitchCase","horizontal"),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngSwitchCase","vertical"))},dependencies:[y.NgForOf,y.NgIf,y.NgTemplateOutlet,y.NgSwitch,y.NgSwitchCase,H],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-inactive{height:0;overflow:hidden}.mat-horizontal-stepper-content:not(.mat-horizontal-stepper-content-inactive){visibility:inherit !important}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.cdk-high-contrast-active .mat-horizontal-content-container{outline:solid 1px}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}.cdk-high-contrast-active .mat-vertical-content-container{outline:solid 1px}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-stepper-content:not(.mat-vertical-stepper-content-inactive){visibility:inherit !important}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}'],encapsulation:2,data:{animation:[Q.horizontalStepTransition,Q.verticalStepTransition]},changeDetection:0}),n}(),_e=function(){var n=function(i){(0,s.Z)(a,i);var r=(0,m.Z)(a);function a(){return(0,l.Z)(this,a),r.apply(this,arguments)}return(0,o.Z)(a)}(f.CdkStepperNext);return n.\u0275fac=function(){var i;return function(a){return(i||(i=e.\u0275\u0275getInheritedFactory(n)))(a||n)}}(),n.\u0275dir=e.\u0275\u0275defineDirective({type:n,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(r,a){2&r&&e.\u0275\u0275hostProperty("type",a.type)},inputs:{type:"type"},features:[e.\u0275\u0275InheritDefinitionFeature]}),n}(),he=function(){var n=function(i){(0,s.Z)(a,i);var r=(0,m.Z)(a);function a(){return(0,l.Z)(this,a),r.apply(this,arguments)}return(0,o.Z)(a)}(f.CdkStepperPrevious);return n.\u0275fac=function(){var i;return function(a){return(i||(i=e.\u0275\u0275getInheritedFactory(n)))(a||n)}}(),n.\u0275dir=e.\u0275\u0275defineDirective({type:n,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(r,a){2&r&&e.\u0275\u0275hostProperty("type",a.type)},inputs:{type:"type"},features:[e.\u0275\u0275InheritDefinitionFeature]}),n}(),ge=function(){var n=(0,o.Z)(function i(){(0,l.Z)(this,i)});return n.\u0275fac=function(r){return new(r||n)},n.\u0275mod=e.\u0275\u0275defineNgModule({type:n}),n.\u0275inj=e.\u0275\u0275defineInjector({providers:[Y,E.ErrorStateMatcher],imports:[E.MatCommonModule,y.CommonModule,u.PortalModule,f.CdkStepperModule,I.MatIconModule,E.MatRippleModule,E.MatCommonModule]}),n}()},44841:(P,h,t)=>{function c(d,o){(null==o||o>d.length)&&(o=d.length);for(var l=0,s=new Array(o);l<o;l++)s[l]=d[l];return s}t.d(h,{Z:()=>c})},35488:(P,h,t)=>{function c(d){if(void 0===d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d}t.d(h,{Z:()=>c})},95106:(P,h,t)=>{t.d(h,{Z:()=>d});var c=t(44206);function d(o,l){var s=typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(!s){if(Array.isArray(o)||(s=(0,c.Z)(o))||l&&o&&"number"==typeof o.length){s&&(o=s);var m=0,u=function(){};return{s:u,n:function(){return m>=o.length?{done:!0}:{done:!1,value:o[m++]}},e:function(I){throw I},f:u}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var e,f=!0,y=!1;return{s:function(){s=s.call(o)},n:function(){var I=s.next();return f=I.done,I},e:function(I){y=!0,e=I},f:function(){try{!f&&null!=s.return&&s.return()}finally{if(y)throw e}}}}},28694:(P,h,t)=>{t.d(h,{Z:()=>m});var c=t(20265),d=t(98568),o=t(43445),l=t(35488);function m(u){var f=(0,d.Z)();return function(){var E,e=(0,c.Z)(u);if(f){var I=(0,c.Z)(this).constructor;E=Reflect.construct(e,arguments,I)}else E=e.apply(this,arguments);return function s(u,f){if(f&&("object"===(0,o.Z)(f)||"function"==typeof f))return f;if(void 0!==f)throw new TypeError("Derived constructors may only return object or undefined");return(0,l.Z)(u)}(this,E)}}},4089:(P,h,t)=>{t.d(h,{Z:()=>o});var c=t(20265);function o(){return o=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(s,m,u){var f=function d(l,s){for(;!Object.prototype.hasOwnProperty.call(l,s)&&null!==(l=(0,c.Z)(l)););return l}(s,m);if(f){var y=Object.getOwnPropertyDescriptor(f,m);return y.get?y.get.call(arguments.length<3?s:u):y.value}},o.apply(this,arguments)}},20265:(P,h,t)=>{function c(d){return(c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(l){return l.__proto__||Object.getPrototypeOf(l)})(d)}t.d(h,{Z:()=>c})},24582:(P,h,t)=>{t.d(h,{Z:()=>d});var c=t(10006);function d(o,l){if("function"!=typeof l&&null!==l)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(l&&l.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),l&&(0,c.Z)(o,l)}},98568:(P,h,t)=>{function c(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}t.d(h,{Z:()=>c})},4826:(P,h,t)=>{function c(d){if(typeof Symbol<"u"&&null!=d[Symbol.iterator]||null!=d["@@iterator"])return Array.from(d)}t.d(h,{Z:()=>c})},10006:(P,h,t)=>{function c(d,o){return(c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(s,m){return s.__proto__=m,s})(d,o)}t.d(h,{Z:()=>c})},86170:(P,h,t)=>{t.d(h,{Z:()=>m});var c=t(44841),o=t(4826),l=t(44206);function m(u){return function d(u){if(Array.isArray(u))return(0,c.Z)(u)}(u)||(0,o.Z)(u)||(0,l.Z)(u)||function s(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(P,h,t)=>{t.d(h,{Z:()=>d});var c=t(44841);function d(o,l){if(o){if("string"==typeof o)return(0,c.Z)(o,l);var s=Object.prototype.toString.call(o).slice(8,-1);if("Object"===s&&o.constructor&&(s=o.constructor.name),"Map"===s||"Set"===s)return Array.from(o);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return(0,c.Z)(o,l)}}}}]); +//# sourceMappingURL=3308.a528bc6f1b781d52.js.map \ No newline at end of file diff --git a/3308.a528bc6f1b781d52.js.map b/3308.a528bc6f1b781d52.js.map new file mode 100644 index 0000000..737ff46 --- /dev/null +++ b/3308.a528bc6f1b781d52.js.map @@ -0,0 +1 @@ +{"version":3,"file":"3308.a528bc6f1b781d52.js","mappings":"ucACaA,cAA0BC,GAAiB,SAACC,GAAM,OAAK,WAChEA,EAAOC,MACPA,KAAKC,KAAO,0BACZD,KAAKE,QAAU,qBACnB,CAAC,yBCAYC,EAAO,eAAPA,EAAO,SAAAC,IAAAC,OAAAF,EAAAC,GAAA,IAAAL,KAAAO,KAAAH,GAChB,SAAAA,IAAc,IAAAI,EAAAC,cAAAR,KAAAG,IACVI,EAAAR,EAAAU,KAAAT,OACKU,QAAS,EACdH,EAAKI,iBAAmB,KACxBJ,EAAKK,UAAY,GACjBL,EAAKM,WAAY,EACjBN,EAAKO,UAAW,EAChBP,EAAKQ,YAAc,KAAKR,CAC5B,CAACS,cAAAb,EAAA,EAAAc,IAAA,OAAAC,MACD,SAAKC,GACD,IAAMC,EAAU,IAAIC,EAAiBrB,KAAMA,MAC3CoB,SAAQD,SAAWA,EACZC,CACX,GAAC,CAAAH,IAAA,iBAAAC,MACD,W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QAAAC,UAAA0B,QAAA,mBACA,CACA,OACA,QACA,CACA,kCCVe,SAAAE,EAAAC,GACf,UAAAla,OAAA,WAAAka,EAAAla,OAAAD,WAAA,MAAAma,EAAA,qBAAA/d,MAAAC,KAAA8d,EACA,mCCFe,SAAAC,EAAAjD,EAAAkD,GACf,OAAAD,EAAAnB,OAAAI,eAAAJ,OAAAI,eAAAX,OAAA,SAAAvB,EAAAkD,GACA,OAAAlD,EAAAmC,UAAAe,EACAlD,CACA,GACAA,EAAAkD,EACA,wFCFe,SAAAC,EAAA9U,GACf,OCJe,SAAA+U,EAAA/U,GACf,GAAApJ,MAAAkb,QAAA9R,GAAA,SAAiCgV,EAAAhD,GAAgBhS,EACjD,CDES+U,CAAiB/U,KAAA,EAASiV,EAAAjD,GAAehS,KAAA,EAASkV,EAAAlD,GAA0BhS,IELtE,SAAAmV,IACf,UAAArU,UAAA,uIACA,CFG8FqU,EAC9F,mDGLe,SAAAC,EAAAzD,EAAA0D,GACf,GAAA1D,EACA,qBAAAA,EAAA,SAAoC2D,EAAAtD,GAAgBL,EAAA0D,GACpD,IAAAne,EAAAuc,OAAAtb,UAAAod,SAAA3f,KAAA+b,GAAA6D,MAAA,MAEA,GADA,WAAAte,GAAAya,EAAAiB,cAAA1b,EAAAya,EAAAiB,YAAAxd,MACA,QAAA8B,GAAA,QAAAA,EAAA,OAAAN,MAAAC,KAAA8a,GACA,iBAAAza,GAAA,2CAAA0X,KAAA1X,GAAA,SAAsFoe,EAAAtD,GAAgBL,EAAA0D,EAAA,CACtG","names":["ObjectUnsubscribedError","createErrorClass","_super","this","name","message","Subject","_Observable","_inherits","_createSuper","_this","_classCallCheck","call","closed","currentObservers","observers","isStopped","hasError","thrownError","_createClass","key","value","operator","subject","AnonymousSubject","_this2","errorContext","_throwIfClosed","Array","from","_step","_iterator","_createForOfIteratorHelper","s","n","done","next","err","e","f","_this3","length","shift","error","_this4","complete","get","_a","subscriber","_get","_getPrototypeOf","prototype","_checkFinalizedStatuses","_innerSubscribe","_this5","EMPTY_SUBSCRIPTION","push","Subscription","arrRemove","observable","Observable","source","create","destination","_Subject","_super2","_this6","_b","subscribe","concat","_len","arguments","args","_key","concatAll","mergeAll","popScheduler","subscribeOn","scheduler","delay","undefined","operate","add","schedule","scheduleAsyncIterable","input","Error","executeSchedule","iterator","Symbol","asyncIterator","then","result","scheduled","isInteropObservable","scheduleObservable","innerFrom","pipe","observeOn","isArrayLike","scheduleArray","i","isPromise","schedulePromise","isAsyncIterable","isIterable","scheduleIterable","Symbol_iterator","_iterator$next","isFunction","return","isReadableStreamLike","scheduleReadableStreamLike","readableStreamLikeToAsyncGenerator","createInvalidObservableTypeError","createOperatorSubscriber","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_next","_assertThisInitialized","_error","unsubscribe","_complete","Subscriber","distinctUntilChanged","comparator","keySelector","identity","defaultCompare","previousKey","first","currentKey","a","b","map","project","thisArg","index","mergeMap","Infinity","resultSelector","concurrent","ii","mergeInternals","onBeforeNext","expand","innerSubScheduler","additionalFinalizer","buffer","active","isComplete","checkComplete","outerNext","doInnerSub","innerComplete","innerValue","_loop","bufferedValue","startWith","values","switchMap","innerSubscriber","innerIndex","outerIndex","takeUntil","notifier","noop","last","arr","popResultSelector","pop","isScheduler","popNumber","defaultValue","parentSubscription","work","repeat","scheduleSubscription","hasLift","lift","init","liftedSource","TypeError","MatStepHeader_ng_container_3_Template","rf","ctx","i0","ctx_r0","iconOverrides","state","_getIconContext","MatStepHeader_ng_container_4_span_1_Template","ctx_r6","_getDefaultTextForState","MatStepHeader_ng_container_4_span_2_Template","ctx_r7","_intl","completedLabel","MatStepHeader_ng_container_4_span_3_Template","ctx_r8","editableLabel","MatStepHeader_ng_container_4_mat_icon_4_Template","ctx_r9","MatStepHeader_ng_container_4_Template","ctx_r1","MatStepHeader_div_6_Template","ctx_r2","_templateLabel","template","MatStepHeader_div_7_Template","ctx_r3","label","MatStepHeader_div_8_Template","ctx_r4","optionalLabel","MatStepHeader_div_9_Template","ctx_r5","errorMessage","MatStep_ng_template_0_ng_template_1_Template","MatStep_ng_template_0_Template","_portal","_c0","MatStepper_div_1_ng_container_2_div_2_Template","_c1","a0","a1","step","MatStepper_div_1_ng_container_2_Template","step_r6","$implicit","i_r7","isLast_r8","_r2","_c2","animationDuration","_c3","params","MatStepper_div_1_div_4_Template","_r13","$event","ctx_r12","_animationDone","step_r10","i_r11","selectedIndex","_getAnimationDirection","_getAnimationDuration","_getStepContentId","_getStepLabelId","content","MatStepper_div_1_Template","steps","MatStepper_ng_container_2_div_1_Template","_r19","ctx_r18","step_r15","i_r16","isLast_r17","ctx_r14","MatStepper_ng_container_2_Template","MatStepper_ng_template_3_Template","_r23","restoredCtx","select","ctx_r24","_onKeydown","step_r20","i_r21","orientation","_getFocusIndex","_getIndicatorType","stepLabel","_stepIsNavigable","optional","_iconOverrides","disableRipple","color","ariaLabel","ariaLabelledby","MatStepLabel","_CdkStepLabel","apply","CdkStepLabel","ɵfac","ɵMatStepLabel_BaseFactory","t","ɵdir","type","selectors","features","MatStepperIntl","changes","ɵprov","token","factory","providedIn","MAT_STEPPER_INTL_PROVIDER_FACTORY","parentIntl","MAT_STEPPER_INTL_PROVIDER","provide","deps","Optional","SkipSelf","useFactory","_MatStepHeaderBase","mixinColor","_CdkStepHeader","MatStepHeaderBase","elementRef","CdkStepHeader","MatStepHeader","_MatStepHeaderBase2","_super3","_focusMonitor","_elementRef","changeDetectorRef","_intlSubscription","markForCheck","monitor","stopMonitoring","origin","options","focusVia","nativeElement","focus","i2","ɵcmp","hostAttrs","inputs","selected","decls","vars","consts","_getHostElement","_stringLabel","dependencies","i3","i4","i1","styles","encapsulation","changeDetection","DEFAULT_HORIZONTAL_ANIMATION_DURATION","DEFAULT_VERTICAL_ANIMATION_DURATION","matStepperAnimations","horizontalStepTransition","trigger","style","transform","visibility","transition","animate","verticalStepTransition","height","MatStepperIcon","templateRef","MatStepContent","_template","MatStep","_CdkStep","_super4","stepper","_errorStateMatcher","_viewContainerRef","stepperOptions","_isSelected","_stepper","selectionChange","event","selectedStep","isSelected","_lazyContent","TemplatePortal","control","form","isErrorState","invalid","interacted","CdkStep","forwardRef","MatStepper","STEPPER_GLOBAL_OPTIONS","contentQueries","dirIndex","_t","exportAs","ErrorStateMatcher","useExisting","ngContentSelectors","i2$1","_CdkStepper","_super5","dir","_stepHeader","_steps","QueryList","animationDone","EventEmitter","labelPosition","headerPosition","_animationDuration","nodeName","toLowerCase","set","test","_icons","forEach","_ref","_destroyed","_stateChanged","x","y","fromState","toState","emit","completed","linear","CdkStepper","i3$1","viewQuery","hostVars","hostBindings","outputs","data","animation","MatStepperNext","_CdkStepperNext","_super6","CdkStepperNext","ɵMatStepperNext_BaseFactory","MatStepperPrevious","_CdkStepperPrevious","_super7","CdkStepperPrevious","ɵMatStepperPrevious_BaseFactory","MatStepperModule","ɵmod","ɵinj","providers","imports","MatCommonModule","CommonModule","PortalModule","CdkStepperModule","MatIconModule","MatRippleModule","_arrayLikeToArray","len","arr2","self","ReferenceError","o","allowArrayLike","it","isArray","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","_e","normalCompletion","didErr","_e2","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Super","getPrototypeOf","NewTarget","constructor","Reflect","construct","_possibleConstructorReturn","esm_typeof","assertThisInitialized","bind","target","property","receiver","base","_superPropBase","object","Object","hasOwnProperty","desc","getOwnPropertyDescriptor","setPrototypeOf","__proto__","subClass","superClass","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_iterableToArray","iter","_setPrototypeOf","p","_toConsumableArray","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","toString","slice"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/util/ObjectUnsubscribedError.js","./node_modules/rxjs/dist/esm/internal/Subject.js","./node_modules/rxjs/dist/esm/internal/observable/concat.js","./node_modules/rxjs/dist/esm/internal/operators/concatAll.js","./node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleAsyncIterable.js","./node_modules/rxjs/dist/esm/internal/observable/from.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduled.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleObservable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleArray.js","./node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleIterable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleReadableStreamLike.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/distinctUntilChanged.js","./node_modules/rxjs/dist/esm/internal/operators/map.js","./node_modules/rxjs/dist/esm/internal/operators/mergeAll.js","./node_modules/rxjs/dist/esm/internal/operators/mergeMap.js","./node_modules/rxjs/dist/esm/internal/operators/mergeInternals.js","./node_modules/rxjs/dist/esm/internal/operators/observeOn.js","./node_modules/rxjs/dist/esm/internal/operators/startWith.js","./node_modules/rxjs/dist/esm/internal/operators/switchMap.js","./node_modules/rxjs/dist/esm/internal/operators/takeUntil.js","./node_modules/rxjs/dist/esm/internal/util/args.js","./node_modules/rxjs/dist/esm/internal/util/executeSchedule.js","./node_modules/rxjs/dist/esm/internal/util/isScheduler.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/@angular/material/fesm2022/stepper.mjs","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { createErrorClass } from './createErrorClass';\nexport const ObjectUnsubscribedError = createErrorClass((_super) => function ObjectUnsubscribedErrorImpl() {\n _super(this);\n this.name = 'ObjectUnsubscribedError';\n this.message = 'object unsubscribed';\n});\n","import { Observable } from './Observable';\nimport { Subscription, EMPTY_SUBSCRIPTION } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { arrRemove } from './util/arrRemove';\nimport { errorContext } from './util/errorContext';\nexport class Subject extends Observable {\n constructor() {\n super();\n this.closed = false;\n this.currentObservers = null;\n this.observers = [];\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n lift(operator) {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n }\n _throwIfClosed() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n }\n next(value) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n if (!this.currentObservers) {\n this.currentObservers = Array.from(this.observers);\n }\n for (const observer of this.currentObservers) {\n observer.next(value);\n }\n }\n });\n }\n error(err) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.hasError = this.isStopped = true;\n this.thrownError = err;\n const { observers } = this;\n while (observers.length) {\n observers.shift().error(err);\n }\n }\n });\n }\n complete() {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.isStopped = true;\n const { observers } = this;\n while (observers.length) {\n observers.shift().complete();\n }\n }\n });\n }\n unsubscribe() {\n this.isStopped = this.closed = true;\n this.observers = this.currentObservers = null;\n }\n get observed() {\n var _a;\n return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;\n }\n _trySubscribe(subscriber) {\n this._throwIfClosed();\n return super._trySubscribe(subscriber);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._checkFinalizedStatuses(subscriber);\n return this._innerSubscribe(subscriber);\n }\n _innerSubscribe(subscriber) {\n const { hasError, isStopped, observers } = this;\n if (hasError || isStopped) {\n return EMPTY_SUBSCRIPTION;\n }\n this.currentObservers = null;\n observers.push(subscriber);\n return new Subscription(() => {\n this.currentObservers = null;\n arrRemove(observers, subscriber);\n });\n }\n _checkFinalizedStatuses(subscriber) {\n const { hasError, thrownError, isStopped } = this;\n if (hasError) {\n subscriber.error(thrownError);\n }\n else if (isStopped) {\n subscriber.complete();\n }\n }\n asObservable() {\n const observable = new Observable();\n observable.source = this;\n return observable;\n }\n}\nSubject.create = (destination, source) => {\n return new AnonymousSubject(destination, source);\n};\nexport class AnonymousSubject extends Subject {\n constructor(destination, source) {\n super();\n this.destination = destination;\n this.source = source;\n }\n next(value) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);\n }\n error(err) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);\n }\n complete() {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);\n }\n _subscribe(subscriber) {\n var _a, _b;\n return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;\n }\n}\n","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}\n","import { mergeAll } from './mergeAll';\nexport function concatAll() {\n return mergeAll(1);\n}\n","import { operate } from '../util/lift';\nexport function subscribeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay));\n });\n}\n","import { Observable } from '../Observable';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleAsyncIterable(input, scheduler) {\n if (!input) {\n throw new Error('Iterable cannot be null');\n }\n return new Observable((subscriber) => {\n executeSchedule(subscriber, scheduler, () => {\n const iterator = input[Symbol.asyncIterator]();\n executeSchedule(subscriber, scheduler, () => {\n iterator.next().then((result) => {\n if (result.done) {\n subscriber.complete();\n }\n else {\n subscriber.next(result.value);\n }\n });\n }, 0, true);\n });\n });\n}\n","import { scheduled } from '../scheduled/scheduled';\nimport { innerFrom } from './innerFrom';\nexport function from(input, scheduler) {\n return scheduler ? scheduled(input, scheduler) : innerFrom(input);\n}\n","import { scheduleObservable } from './scheduleObservable';\nimport { schedulePromise } from './schedulePromise';\nimport { scheduleArray } from './scheduleArray';\nimport { scheduleIterable } from './scheduleIterable';\nimport { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isPromise } from '../util/isPromise';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isIterable } from '../util/isIterable';\nimport { isAsyncIterable } from '../util/isAsyncIterable';\nimport { createInvalidObservableTypeError } from '../util/throwUnobservableError';\nimport { isReadableStreamLike } from '../util/isReadableStreamLike';\nimport { scheduleReadableStreamLike } from './scheduleReadableStreamLike';\nexport function scheduled(input, scheduler) {\n if (input != null) {\n if (isInteropObservable(input)) {\n return scheduleObservable(input, scheduler);\n }\n if (isArrayLike(input)) {\n return scheduleArray(input, scheduler);\n }\n if (isPromise(input)) {\n return schedulePromise(input, scheduler);\n }\n if (isAsyncIterable(input)) {\n return scheduleAsyncIterable(input, scheduler);\n }\n if (isIterable(input)) {\n return scheduleIterable(input, scheduler);\n }\n if (isReadableStreamLike(input)) {\n return scheduleReadableStreamLike(input, scheduler);\n }\n }\n throw createInvalidObservableTypeError(input);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function scheduleObservable(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nexport function scheduleArray(input, scheduler) {\n return new Observable((subscriber) => {\n let i = 0;\n return scheduler.schedule(function () {\n if (i === input.length) {\n subscriber.complete();\n }\n else {\n subscriber.next(input[i++]);\n if (!subscriber.closed) {\n this.schedule();\n }\n }\n });\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function schedulePromise(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from '../util/isFunction';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleIterable(input, scheduler) {\n return new Observable((subscriber) => {\n let iterator;\n executeSchedule(subscriber, scheduler, () => {\n iterator = input[Symbol_iterator]();\n executeSchedule(subscriber, scheduler, () => {\n let value;\n let done;\n try {\n ({ value, done } = iterator.next());\n }\n catch (err) {\n subscriber.error(err);\n return;\n }\n if (done) {\n subscriber.complete();\n }\n else {\n subscriber.next(value);\n }\n }, 0, true);\n });\n return () => isFunction(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return();\n });\n}\n","import { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { readableStreamLikeToAsyncGenerator } from '../util/isReadableStreamLike';\nexport function scheduleReadableStreamLike(input, scheduler) {\n return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","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 if (first || !comparator(previousKey, currentKey)) {\n first = false;\n previousKey = currentKey;\n subscriber.next(value);\n }\n }));\n });\n}\nfunction defaultCompare(a, b) {\n return a === b;\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function map(project, thisArg) {\n return operate((source, subscriber) => {\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n subscriber.next(project.call(thisArg, value, index++));\n }));\n });\n}\n","import { mergeMap } from './mergeMap';\nimport { identity } from '../util/identity';\nexport function mergeAll(concurrent = Infinity) {\n return mergeMap(identity, concurrent);\n}\n","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 }\n else if (typeof resultSelector === 'number') {\n concurrent = resultSelector;\n }\n return operate((source, subscriber) => mergeInternals(source, subscriber, project, concurrent));\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { executeSchedule } from '../util/executeSchedule';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function mergeInternals(source, subscriber, project, concurrent, onBeforeNext, expand, innerSubScheduler, additionalFinalizer) {\n const buffer = [];\n let active = 0;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => {\n if (isComplete && !buffer.length && !active) {\n subscriber.complete();\n }\n };\n const outerNext = (value) => (active < concurrent ? doInnerSub(value) : buffer.push(value));\n const doInnerSub = (value) => {\n expand && subscriber.next(value);\n active++;\n let innerComplete = false;\n innerFrom(project(value, index++)).subscribe(createOperatorSubscriber(subscriber, (innerValue) => {\n onBeforeNext === null || onBeforeNext === void 0 ? void 0 : onBeforeNext(innerValue);\n if (expand) {\n outerNext(innerValue);\n }\n else {\n subscriber.next(innerValue);\n }\n }, () => {\n innerComplete = true;\n }, undefined, () => {\n if (innerComplete) {\n try {\n active--;\n while (buffer.length && active < concurrent) {\n const bufferedValue = buffer.shift();\n if (innerSubScheduler) {\n executeSchedule(subscriber, innerSubScheduler, () => doInnerSub(bufferedValue));\n }\n else {\n doInnerSub(bufferedValue);\n }\n }\n checkComplete();\n }\n catch (err) {\n subscriber.error(err);\n }\n }\n }));\n };\n source.subscribe(createOperatorSubscriber(subscriber, outerNext, () => {\n isComplete = true;\n checkComplete();\n }));\n return () => {\n additionalFinalizer === null || additionalFinalizer === void 0 ? void 0 : additionalFinalizer();\n };\n}\n","import { executeSchedule } from '../util/executeSchedule';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function observeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, (value) => executeSchedule(subscriber, scheduler, () => subscriber.next(value), delay), () => executeSchedule(subscriber, scheduler, () => subscriber.complete(), delay), (err) => executeSchedule(subscriber, scheduler, () => subscriber.error(err), delay)));\n });\n}\n","import { concat } from '../observable/concat';\nimport { popScheduler } from '../util/args';\nimport { operate } from '../util/lift';\nexport function startWith(...values) {\n const scheduler = popScheduler(values);\n return operate((source, subscriber) => {\n (scheduler ? concat(values, source, scheduler) : concat(values, source)).subscribe(subscriber);\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function switchMap(project, resultSelector) {\n return operate((source, subscriber) => {\n let innerSubscriber = null;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => isComplete && !innerSubscriber && subscriber.complete();\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n innerSubscriber === null || innerSubscriber === void 0 ? void 0 : innerSubscriber.unsubscribe();\n let innerIndex = 0;\n const outerIndex = index++;\n innerFrom(project(value, outerIndex)).subscribe((innerSubscriber = createOperatorSubscriber(subscriber, (innerValue) => subscriber.next(resultSelector ? resultSelector(value, innerValue, outerIndex, innerIndex++) : innerValue), () => {\n innerSubscriber = null;\n checkComplete();\n })));\n }, () => {\n isComplete = true;\n checkComplete();\n }));\n });\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { innerFrom } from '../observable/innerFrom';\nimport { noop } from '../util/noop';\nexport function takeUntil(notifier) {\n return operate((source, subscriber) => {\n innerFrom(notifier).subscribe(createOperatorSubscriber(subscriber, () => subscriber.complete(), noop));\n !subscriber.closed && source.subscribe(subscriber);\n });\n}\n","import { isFunction } from './isFunction';\nimport { isScheduler } from './isScheduler';\nfunction last(arr) {\n return arr[arr.length - 1];\n}\nexport function popResultSelector(args) {\n return isFunction(last(args)) ? args.pop() : undefined;\n}\nexport function popScheduler(args) {\n return isScheduler(last(args)) ? args.pop() : undefined;\n}\nexport function popNumber(args, defaultValue) {\n return typeof last(args) === 'number' ? args.pop() : defaultValue;\n}\n","export function executeSchedule(parentSubscription, scheduler, work, delay = 0, repeat = false) {\n const scheduleSubscription = scheduler.schedule(function () {\n work();\n if (repeat) {\n parentSubscription.add(this.schedule(null, delay));\n }\n else {\n this.unsubscribe();\n }\n }, delay);\n parentSubscription.add(scheduleSubscription);\n if (!repeat) {\n return scheduleSubscription;\n }\n}\n","import { isFunction } from './isFunction';\nexport function isScheduler(value) {\n return value && isFunction(value.schedule);\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","import * as i2$1 from '@angular/cdk/portal';\nimport { TemplatePortal, PortalModule } from '@angular/cdk/portal';\nimport { CdkStepLabel, CdkStepHeader, CdkStep, STEPPER_GLOBAL_OPTIONS, CdkStepper, CdkStepperNext, CdkStepperPrevious, CdkStepperModule } from '@angular/cdk/stepper';\nimport * as i3 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { Directive, Injectable, Optional, SkipSelf, Component, ViewEncapsulation, ChangeDetectionStrategy, Input, forwardRef, Inject, ContentChild, QueryList, EventEmitter, ViewChildren, ContentChildren, Output, NgModule } from '@angular/core';\nimport * as i1 from '@angular/material/core';\nimport { mixinColor, ErrorStateMatcher, MatCommonModule, MatRippleModule } from '@angular/material/core';\nimport * as i4 from '@angular/material/icon';\nimport { MatIconModule } from '@angular/material/icon';\nimport * as i2 from '@angular/cdk/a11y';\nimport { Subject, Subscription } from 'rxjs';\nimport * as i3$1 from '@angular/cdk/bidi';\nimport { switchMap, map, startWith, takeUntil, distinctUntilChanged } from 'rxjs/operators';\nimport { trigger, state, style, transition, animate } from '@angular/animations';\n\nclass MatStepLabel extends CdkStepLabel {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatStepLabel, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatStepLabel, selector: \"[matStepLabel]\", usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatStepLabel, decorators: [{\n type: Directive,\n args: [{\n selector: '[matStepLabel]',\n }]\n }] });\n\n/** Stepper data that is required for internationalization. */\nclass MatStepperIntl {\n constructor() {\n /**\n * Stream that emits whenever the labels here are changed. Use this to notify\n * components if the labels have changed after initialization.\n */\n this.changes = new Subject();\n /** Label that is rendered below optional steps. */\n this.optionalLabel = 'Optional';\n /** Label that is used to indicate step as completed to screen readers. */\n this.completedLabel = 'Completed';\n /** Label that is used to indicate step as editable to screen readers. */\n this.editableLabel = 'Editable';\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatStepperIntl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatStepperIntl, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatStepperIntl, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }] });\n/** @docs-private */\nfunction MAT_STEPPER_INTL_PROVIDER_FACTORY(parentIntl) {\n return parentIntl || new MatStepperIntl();\n}\n/** @docs-private */\nconst MAT_STEPPER_INTL_PROVIDER = {\n provide: MatStepperIntl,\n deps: [[new Optional(), new SkipSelf(), MatStepperIntl]],\n useFactory: MAT_STEPPER_INTL_PROVIDER_FACTORY,\n};\n\n// Boilerplate for applying mixins to MatStepHeader.\n/** @docs-private */\nconst _MatStepHeaderBase = mixinColor(class MatStepHeaderBase extends CdkStepHeader {\n constructor(elementRef) {\n super(elementRef);\n }\n}, 'primary');\nclass MatStepHeader extends _MatStepHeaderBase {\n constructor(_intl, _focusMonitor, _elementRef, changeDetectorRef) {\n super(_elementRef);\n this._intl = _intl;\n this._focusMonitor = _focusMonitor;\n this._intlSubscription = _intl.changes.subscribe(() => changeDetectorRef.markForCheck());\n }\n ngAfterViewInit() {\n this._focusMonitor.monitor(this._elementRef, true);\n }\n ngOnDestroy() {\n this._intlSubscription.unsubscribe();\n this._focusMonitor.stopMonitoring(this._elementRef);\n }\n /** Focuses the step header. */\n focus(origin, options) {\n if (origin) {\n this._focusMonitor.focusVia(this._elementRef, origin, options);\n }\n else {\n this._elementRef.nativeElement.focus(options);\n }\n }\n /** Returns string label of given step if it is a text label. */\n _stringLabel() {\n return this.label instanceof MatStepLabel ? null : this.label;\n }\n /** Returns MatStepLabel if the label of given step is a template label. */\n _templateLabel() {\n return this.label instanceof MatStepLabel ? this.label : null;\n }\n /** Returns the host HTML element. */\n _getHostElement() {\n return this._elementRef.nativeElement;\n }\n /** Template context variables that are exposed to the `matStepperIcon` instances. */\n _getIconContext() {\n return {\n index: this.index,\n active: this.active,\n optional: this.optional,\n };\n }\n _getDefaultTextForState(state) {\n if (state == 'number') {\n return `${this.index + 1}`;\n }\n if (state == 'edit') {\n return 'create';\n }\n if (state == 'error') {\n return 'warning';\n }\n return state;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatStepHeader, deps: [{ token: MatStepperIntl }, { token: i2.FocusMonitor }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatStepHeader, selector: \"mat-step-header\", inputs: { color: \"color\", state: \"state\", label: \"label\", errorMessage: \"errorMessage\", iconOverrides: \"iconOverrides\", index: \"index\", selected: \"selected\", active: \"active\", optional: \"optional\", disableRipple: \"disableRipple\" }, host: { attributes: { \"role\": \"tab\" }, classAttribute: \"mat-step-header\" }, usesInheritance: true, ngImport: i0, template: \"<div class=\\\"mat-step-header-ripple mat-focus-indicator\\\" matRipple\\n [matRippleTrigger]=\\\"_getHostElement()\\\"\\n [matRippleDisabled]=\\\"disableRipple\\\"></div>\\n\\n<div class=\\\"mat-step-icon-state-{{state}} mat-step-icon\\\" [class.mat-step-icon-selected]=\\\"selected\\\">\\n <div class=\\\"mat-step-icon-content\\\" [ngSwitch]=\\\"!!(iconOverrides && iconOverrides[state])\\\">\\n <ng-container\\n *ngSwitchCase=\\\"true\\\"\\n [ngTemplateOutlet]=\\\"iconOverrides[state]\\\"\\n [ngTemplateOutletContext]=\\\"_getIconContext()\\\"></ng-container>\\n <ng-container *ngSwitchDefault [ngSwitch]=\\\"state\\\">\\n <span aria-hidden=\\\"true\\\" *ngSwitchCase=\\\"'number'\\\">{{_getDefaultTextForState(state)}}</span>\\n <span class=\\\"cdk-visually-hidden\\\" *ngIf=\\\"state === 'done'\\\">{{_intl.completedLabel}}</span>\\n <span class=\\\"cdk-visually-hidden\\\" *ngIf=\\\"state === 'edit'\\\">{{_intl.editableLabel}}</span>\\n <mat-icon aria-hidden=\\\"true\\\" *ngSwitchDefault>{{_getDefaultTextForState(state)}}</mat-icon>\\n </ng-container>\\n </div>\\n</div>\\n<div class=\\\"mat-step-label\\\"\\n [class.mat-step-label-active]=\\\"active\\\"\\n [class.mat-step-label-selected]=\\\"selected\\\"\\n [class.mat-step-label-error]=\\\"state == 'error'\\\">\\n <!-- If there is a label template, use it. -->\\n <div class=\\\"mat-step-text-label\\\" *ngIf=\\\"_templateLabel()\\\">\\n <ng-container [ngTemplateOutlet]=\\\"_templateLabel()!.template\\\"></ng-container>\\n </div>\\n <!-- If there is no label template, fall back to the text label. -->\\n <div class=\\\"mat-step-text-label\\\" *ngIf=\\\"_stringLabel()\\\">{{label}}</div>\\n\\n <div class=\\\"mat-step-optional\\\" *ngIf=\\\"optional && state != 'error'\\\">{{_intl.optionalLabel}}</div>\\n <div class=\\\"mat-step-sub-label-error\\\" *ngIf=\\\"state == 'error'\\\">{{errorMessage}}</div>\\n</div>\\n\\n\", styles: [\".mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:\\\"\\\"}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.cdk-high-contrast-active .mat-step-header[aria-disabled=true]{outline-color:GrayText}.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-label,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-icon,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}.mat-step-optional,.mat-step-sub-label-error{font-size:12px}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\"], dependencies: [{ kind: \"directive\", type: i3.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i3.NgTemplateOutlet, selector: \"[ngTemplateOutlet]\", inputs: [\"ngTemplateOutletContext\", \"ngTemplateOutlet\", \"ngTemplateOutletInjector\"] }, { kind: \"directive\", type: i3.NgSwitch, selector: \"[ngSwitch]\", inputs: [\"ngSwitch\"] }, { kind: \"directive\", type: i3.NgSwitchCase, selector: \"[ngSwitchCase]\", inputs: [\"ngSwitchCase\"] }, { kind: \"directive\", type: i3.NgSwitchDefault, selector: \"[ngSwitchDefault]\" }, { kind: \"component\", type: i4.MatIcon, selector: \"mat-icon\", inputs: [\"color\", \"inline\", \"svgIcon\", \"fontSet\", \"fontIcon\"], exportAs: [\"matIcon\"] }, { kind: \"directive\", type: i1.MatRipple, selector: \"[mat-ripple], [matRipple]\", inputs: [\"matRippleColor\", \"matRippleUnbounded\", \"matRippleCentered\", \"matRippleRadius\", \"matRippleAnimation\", \"matRippleDisabled\", \"matRippleTrigger\"], exportAs: [\"matRipple\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatStepHeader, decorators: [{\n type: Component,\n args: [{ selector: 'mat-step-header', inputs: ['color'], host: {\n 'class': 'mat-step-header',\n 'role': 'tab',\n }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: \"<div class=\\\"mat-step-header-ripple mat-focus-indicator\\\" matRipple\\n [matRippleTrigger]=\\\"_getHostElement()\\\"\\n [matRippleDisabled]=\\\"disableRipple\\\"></div>\\n\\n<div class=\\\"mat-step-icon-state-{{state}} mat-step-icon\\\" [class.mat-step-icon-selected]=\\\"selected\\\">\\n <div class=\\\"mat-step-icon-content\\\" [ngSwitch]=\\\"!!(iconOverrides && iconOverrides[state])\\\">\\n <ng-container\\n *ngSwitchCase=\\\"true\\\"\\n [ngTemplateOutlet]=\\\"iconOverrides[state]\\\"\\n [ngTemplateOutletContext]=\\\"_getIconContext()\\\"></ng-container>\\n <ng-container *ngSwitchDefault [ngSwitch]=\\\"state\\\">\\n <span aria-hidden=\\\"true\\\" *ngSwitchCase=\\\"'number'\\\">{{_getDefaultTextForState(state)}}</span>\\n <span class=\\\"cdk-visually-hidden\\\" *ngIf=\\\"state === 'done'\\\">{{_intl.completedLabel}}</span>\\n <span class=\\\"cdk-visually-hidden\\\" *ngIf=\\\"state === 'edit'\\\">{{_intl.editableLabel}}</span>\\n <mat-icon aria-hidden=\\\"true\\\" *ngSwitchDefault>{{_getDefaultTextForState(state)}}</mat-icon>\\n </ng-container>\\n </div>\\n</div>\\n<div class=\\\"mat-step-label\\\"\\n [class.mat-step-label-active]=\\\"active\\\"\\n [class.mat-step-label-selected]=\\\"selected\\\"\\n [class.mat-step-label-error]=\\\"state == 'error'\\\">\\n <!-- If there is a label template, use it. -->\\n <div class=\\\"mat-step-text-label\\\" *ngIf=\\\"_templateLabel()\\\">\\n <ng-container [ngTemplateOutlet]=\\\"_templateLabel()!.template\\\"></ng-container>\\n </div>\\n <!-- If there is no label template, fall back to the text label. -->\\n <div class=\\\"mat-step-text-label\\\" *ngIf=\\\"_stringLabel()\\\">{{label}}</div>\\n\\n <div class=\\\"mat-step-optional\\\" *ngIf=\\\"optional && state != 'error'\\\">{{_intl.optionalLabel}}</div>\\n <div class=\\\"mat-step-sub-label-error\\\" *ngIf=\\\"state == 'error'\\\">{{errorMessage}}</div>\\n</div>\\n\\n\", styles: [\".mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:\\\"\\\"}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.cdk-high-contrast-active .mat-step-header[aria-disabled=true]{outline-color:GrayText}.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-label,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-icon,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}.mat-step-optional,.mat-step-sub-label-error{font-size:12px}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\"] }]\n }], ctorParameters: function () { return [{ type: MatStepperIntl }, { type: i2.FocusMonitor }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { state: [{\n type: Input\n }], label: [{\n type: Input\n }], errorMessage: [{\n type: Input\n }], iconOverrides: [{\n type: Input\n }], index: [{\n type: Input\n }], selected: [{\n type: Input\n }], active: [{\n type: Input\n }], optional: [{\n type: Input\n }], disableRipple: [{\n type: Input\n }] } });\n\nconst DEFAULT_HORIZONTAL_ANIMATION_DURATION = '500ms';\nconst DEFAULT_VERTICAL_ANIMATION_DURATION = '225ms';\n/**\n * Animations used by the Material steppers.\n * @docs-private\n */\nconst matStepperAnimations = {\n /** Animation that transitions the step along the X axis in a horizontal stepper. */\n horizontalStepTransition: trigger('horizontalStepTransition', [\n state('previous', style({ transform: 'translate3d(-100%, 0, 0)', visibility: 'hidden' })),\n // Transition to `inherit`, rather than `visible`,\n // because visibility on a child element the one from the parent,\n // making this element focusable inside of a `hidden` element.\n state('current', style({ transform: 'none', visibility: 'inherit' })),\n state('next', style({ transform: 'translate3d(100%, 0, 0)', visibility: 'hidden' })),\n transition('* => *', animate('{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)'), {\n params: { 'animationDuration': DEFAULT_HORIZONTAL_ANIMATION_DURATION },\n }),\n ]),\n /** Animation that transitions the step along the Y axis in a vertical stepper. */\n verticalStepTransition: trigger('verticalStepTransition', [\n state('previous', style({ height: '0px', visibility: 'hidden' })),\n state('next', style({ height: '0px', visibility: 'hidden' })),\n // Transition to `inherit`, rather than `visible`,\n // because visibility on a child element the one from the parent,\n // making this element focusable inside of a `hidden` element.\n state('current', style({ height: '*', visibility: 'inherit' })),\n transition('* <=> current', animate('{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)'), {\n params: { 'animationDuration': DEFAULT_VERTICAL_ANIMATION_DURATION },\n }),\n ]),\n};\n\n/**\n * Template to be used to override the icons inside the step header.\n */\nclass MatStepperIcon {\n constructor(templateRef) {\n this.templateRef = templateRef;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatStepperIcon, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatStepperIcon, selector: \"ng-template[matStepperIcon]\", inputs: { name: [\"matStepperIcon\", \"name\"] }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatStepperIcon, decorators: [{\n type: Directive,\n args: [{\n selector: 'ng-template[matStepperIcon]',\n }]\n }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; }, propDecorators: { name: [{\n type: Input,\n args: ['matStepperIcon']\n }] } });\n\n/**\n * Content for a `mat-step` that will be rendered lazily.\n */\nclass MatStepContent {\n constructor(_template) {\n this._template = _template;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatStepContent, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatStepContent, selector: \"ng-template[matStepContent]\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatStepContent, decorators: [{\n type: Directive,\n args: [{\n selector: 'ng-template[matStepContent]',\n }]\n }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });\n\nclass MatStep extends CdkStep {\n constructor(stepper, _errorStateMatcher, _viewContainerRef, stepperOptions) {\n super(stepper, stepperOptions);\n this._errorStateMatcher = _errorStateMatcher;\n this._viewContainerRef = _viewContainerRef;\n this._isSelected = Subscription.EMPTY;\n /** Content for step label given by `<ng-template matStepLabel>`. */\n // We need an initializer here to avoid a TS error.\n this.stepLabel = undefined;\n }\n ngAfterContentInit() {\n this._isSelected = this._stepper.steps.changes\n .pipe(switchMap(() => {\n return this._stepper.selectionChange.pipe(map(event => event.selectedStep === this), startWith(this._stepper.selected === this));\n }))\n .subscribe(isSelected => {\n if (isSelected && this._lazyContent && !this._portal) {\n this._portal = new TemplatePortal(this._lazyContent._template, this._viewContainerRef);\n }\n });\n }\n ngOnDestroy() {\n this._isSelected.unsubscribe();\n }\n /** Custom error state matcher that additionally checks for validity of interacted form. */\n isErrorState(control, form) {\n const originalErrorState = this._errorStateMatcher.isErrorState(control, form);\n // Custom error state checks for the validity of form that is not submitted or touched\n // since user can trigger a form change by calling for another step without directly\n // interacting with the current form.\n const customErrorState = !!(control && control.invalid && this.interacted);\n return originalErrorState || customErrorState;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatStep, deps: [{ token: forwardRef(() => MatStepper) }, { token: i1.ErrorStateMatcher, skipSelf: true }, { token: i0.ViewContainerRef }, { token: STEPPER_GLOBAL_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatStep, selector: \"mat-step\", inputs: { color: \"color\" }, providers: [\n { provide: ErrorStateMatcher, useExisting: MatStep },\n { provide: CdkStep, useExisting: MatStep },\n ], queries: [{ propertyName: \"stepLabel\", first: true, predicate: MatStepLabel, descendants: true }, { propertyName: \"_lazyContent\", first: true, predicate: MatStepContent, descendants: true }], exportAs: [\"matStep\"], usesInheritance: true, ngImport: i0, template: \"<ng-template>\\n <ng-content></ng-content>\\n <ng-template [cdkPortalOutlet]=\\\"_portal\\\"></ng-template>\\n</ng-template>\\n\", dependencies: [{ kind: \"directive\", type: i2$1.CdkPortalOutlet, selector: \"[cdkPortalOutlet]\", inputs: [\"cdkPortalOutlet\"], outputs: [\"attached\"], exportAs: [\"cdkPortalOutlet\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatStep, decorators: [{\n type: Component,\n args: [{ selector: 'mat-step', providers: [\n { provide: ErrorStateMatcher, useExisting: MatStep },\n { provide: CdkStep, useExisting: MatStep },\n ], encapsulation: ViewEncapsulation.None, exportAs: 'matStep', changeDetection: ChangeDetectionStrategy.OnPush, template: \"<ng-template>\\n <ng-content></ng-content>\\n <ng-template [cdkPortalOutlet]=\\\"_portal\\\"></ng-template>\\n</ng-template>\\n\" }]\n }], ctorParameters: function () { return [{ type: MatStepper, decorators: [{\n type: Inject,\n args: [forwardRef(() => MatStepper)]\n }] }, { type: i1.ErrorStateMatcher, decorators: [{\n type: SkipSelf\n }] }, { type: i0.ViewContainerRef }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [STEPPER_GLOBAL_OPTIONS]\n }] }]; }, propDecorators: { stepLabel: [{\n type: ContentChild,\n args: [MatStepLabel]\n }], color: [{\n type: Input\n }], _lazyContent: [{\n type: ContentChild,\n args: [MatStepContent, { static: false }]\n }] } });\nclass MatStepper extends CdkStepper {\n /** Duration for the animation. Will be normalized to milliseconds if no units are set. */\n get animationDuration() {\n return this._animationDuration;\n }\n set animationDuration(value) {\n this._animationDuration = /^\\d+$/.test(value) ? value + 'ms' : value;\n }\n constructor(dir, changeDetectorRef, elementRef) {\n super(dir, changeDetectorRef, elementRef);\n /** The list of step headers of the steps in the stepper. */\n // We need an initializer here to avoid a TS error.\n this._stepHeader = undefined;\n /** Full list of steps inside the stepper, including inside nested steppers. */\n // We need an initializer here to avoid a TS error.\n this._steps = undefined;\n /** Steps that belong to the current stepper, excluding ones from nested steppers. */\n this.steps = new QueryList();\n /** Event emitted when the current step is done transitioning in. */\n this.animationDone = new EventEmitter();\n /**\n * Whether the label should display in bottom or end position.\n * Only applies in the `horizontal` orientation.\n */\n this.labelPosition = 'end';\n /**\n * Position of the stepper's header.\n * Only applies in the `horizontal` orientation.\n */\n this.headerPosition = 'top';\n /** Consumer-specified template-refs to be used to override the header icons. */\n this._iconOverrides = {};\n /** Stream of animation `done` events when the body expands/collapses. */\n this._animationDone = new Subject();\n this._animationDuration = '';\n const nodeName = elementRef.nativeElement.nodeName.toLowerCase();\n this.orientation = nodeName === 'mat-vertical-stepper' ? 'vertical' : 'horizontal';\n }\n ngAfterContentInit() {\n super.ngAfterContentInit();\n this._icons.forEach(({ name, templateRef }) => (this._iconOverrides[name] = templateRef));\n // Mark the component for change detection whenever the content children query changes\n this.steps.changes.pipe(takeUntil(this._destroyed)).subscribe(() => {\n this._stateChanged();\n });\n this._animationDone\n .pipe(\n // This needs a `distinctUntilChanged` in order to avoid emitting the same event twice due\n // to a bug in animations where the `.done` callback gets invoked twice on some browsers.\n // See https://github.com/angular/angular/issues/24084\n distinctUntilChanged((x, y) => x.fromState === y.fromState && x.toState === y.toState), takeUntil(this._destroyed))\n .subscribe(event => {\n if (event.toState === 'current') {\n this.animationDone.emit();\n }\n });\n }\n _stepIsNavigable(index, step) {\n return step.completed || this.selectedIndex === index || !this.linear;\n }\n _getAnimationDuration() {\n if (this.animationDuration) {\n return this.animationDuration;\n }\n return this.orientation === 'horizontal'\n ? DEFAULT_HORIZONTAL_ANIMATION_DURATION\n : DEFAULT_VERTICAL_ANIMATION_DURATION;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatStepper, deps: [{ token: i3$1.Directionality, optional: true }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatStepper, selector: \"mat-stepper, mat-vertical-stepper, mat-horizontal-stepper, [matStepper]\", inputs: { selectedIndex: \"selectedIndex\", disableRipple: \"disableRipple\", color: \"color\", labelPosition: \"labelPosition\", headerPosition: \"headerPosition\", animationDuration: \"animationDuration\" }, outputs: { animationDone: \"animationDone\" }, host: { attributes: { \"role\": \"tablist\", \"ngSkipHydration\": \"\" }, properties: { \"class.mat-stepper-horizontal\": \"orientation === \\\"horizontal\\\"\", \"class.mat-stepper-vertical\": \"orientation === \\\"vertical\\\"\", \"class.mat-stepper-label-position-end\": \"orientation === \\\"horizontal\\\" && labelPosition == \\\"end\\\"\", \"class.mat-stepper-label-position-bottom\": \"orientation === \\\"horizontal\\\" && labelPosition == \\\"bottom\\\"\", \"class.mat-stepper-header-position-bottom\": \"headerPosition === \\\"bottom\\\"\", \"attr.aria-orientation\": \"orientation\" } }, providers: [{ provide: CdkStepper, useExisting: MatStepper }], queries: [{ propertyName: \"_steps\", predicate: MatStep, descendants: true }, { propertyName: \"_icons\", predicate: MatStepperIcon, descendants: true }], viewQueries: [{ propertyName: \"_stepHeader\", predicate: MatStepHeader, descendants: true }], exportAs: [\"matStepper\", \"matVerticalStepper\", \"matHorizontalStepper\"], usesInheritance: true, ngImport: i0, template: \"<ng-container [ngSwitch]=\\\"orientation\\\">\\n <!-- Horizontal stepper -->\\n <div class=\\\"mat-horizontal-stepper-wrapper\\\" *ngSwitchCase=\\\"'horizontal'\\\">\\n <div class=\\\"mat-horizontal-stepper-header-container\\\">\\n <ng-container *ngFor=\\\"let step of steps; let i = index; let isLast = last\\\">\\n <ng-container\\n [ngTemplateOutlet]=\\\"stepTemplate\\\"\\n [ngTemplateOutletContext]=\\\"{step: step, i: i}\\\"></ng-container>\\n <div *ngIf=\\\"!isLast\\\" class=\\\"mat-stepper-horizontal-line\\\"></div>\\n </ng-container>\\n </div>\\n\\n <div class=\\\"mat-horizontal-content-container\\\">\\n <div *ngFor=\\\"let step of steps; let i = index\\\"\\n class=\\\"mat-horizontal-stepper-content\\\" role=\\\"tabpanel\\\"\\n [@horizontalStepTransition]=\\\"{\\n 'value': _getAnimationDirection(i),\\n 'params': {'animationDuration': _getAnimationDuration()}\\n }\\\"\\n (@horizontalStepTransition.done)=\\\"_animationDone.next($event)\\\"\\n [id]=\\\"_getStepContentId(i)\\\"\\n [attr.aria-labelledby]=\\\"_getStepLabelId(i)\\\"\\n [class.mat-horizontal-stepper-content-inactive]=\\\"selectedIndex !== i\\\">\\n <ng-container [ngTemplateOutlet]=\\\"step.content\\\"></ng-container>\\n </div>\\n </div>\\n </div>\\n\\n <!-- Vertical stepper -->\\n <ng-container *ngSwitchCase=\\\"'vertical'\\\">\\n <div class=\\\"mat-step\\\" *ngFor=\\\"let step of steps; let i = index; let isLast = last\\\">\\n <ng-container\\n [ngTemplateOutlet]=\\\"stepTemplate\\\"\\n [ngTemplateOutletContext]=\\\"{step: step, i: i}\\\"></ng-container>\\n <div class=\\\"mat-vertical-content-container\\\" [class.mat-stepper-vertical-line]=\\\"!isLast\\\">\\n <div class=\\\"mat-vertical-stepper-content\\\" role=\\\"tabpanel\\\"\\n [@verticalStepTransition]=\\\"{\\n 'value': _getAnimationDirection(i),\\n 'params': {'animationDuration': _getAnimationDuration()}\\n }\\\"\\n (@verticalStepTransition.done)=\\\"_animationDone.next($event)\\\"\\n [id]=\\\"_getStepContentId(i)\\\"\\n [attr.aria-labelledby]=\\\"_getStepLabelId(i)\\\"\\n [class.mat-vertical-stepper-content-inactive]=\\\"selectedIndex !== i\\\">\\n <div class=\\\"mat-vertical-content\\\">\\n <ng-container [ngTemplateOutlet]=\\\"step.content\\\"></ng-container>\\n </div>\\n </div>\\n </div>\\n </div>\\n </ng-container>\\n\\n</ng-container>\\n\\n<!-- Common step templating -->\\n<ng-template let-step=\\\"step\\\" let-i=\\\"i\\\" #stepTemplate>\\n <mat-step-header\\n [class.mat-horizontal-stepper-header]=\\\"orientation === 'horizontal'\\\"\\n [class.mat-vertical-stepper-header]=\\\"orientation === 'vertical'\\\"\\n (click)=\\\"step.select()\\\"\\n (keydown)=\\\"_onKeydown($event)\\\"\\n [tabIndex]=\\\"_getFocusIndex() === i ? 0 : -1\\\"\\n [id]=\\\"_getStepLabelId(i)\\\"\\n [attr.aria-posinset]=\\\"i + 1\\\"\\n [attr.aria-setsize]=\\\"steps.length\\\"\\n [attr.aria-controls]=\\\"_getStepContentId(i)\\\"\\n [attr.aria-selected]=\\\"selectedIndex == i\\\"\\n [attr.aria-label]=\\\"step.ariaLabel || null\\\"\\n [attr.aria-labelledby]=\\\"(!step.ariaLabel && step.ariaLabelledby) ? step.ariaLabelledby : null\\\"\\n [attr.aria-disabled]=\\\"_stepIsNavigable(i, step) ? null : true\\\"\\n [index]=\\\"i\\\"\\n [state]=\\\"_getIndicatorType(i, step.state)\\\"\\n [label]=\\\"step.stepLabel || step.label\\\"\\n [selected]=\\\"selectedIndex === i\\\"\\n [active]=\\\"_stepIsNavigable(i, step)\\\"\\n [optional]=\\\"step.optional\\\"\\n [errorMessage]=\\\"step.errorMessage\\\"\\n [iconOverrides]=\\\"_iconOverrides\\\"\\n [disableRipple]=\\\"disableRipple || !_stepIsNavigable(i, step)\\\"\\n [color]=\\\"step.color || color\\\"></mat-step-header>\\n</ng-template>\\n\", styles: [\".mat-stepper-vertical,.mat-stepper-horizontal{display:block}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:\\\"\\\";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-inactive{height:0;overflow:hidden}.mat-horizontal-stepper-content:not(.mat-horizontal-stepper-content-inactive){visibility:inherit !important}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.cdk-high-contrast-active .mat-horizontal-content-container{outline:solid 1px}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}.cdk-high-contrast-active .mat-vertical-content-container{outline:solid 1px}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:\\\"\\\";position:absolute;left:0;border-left-width:1px;border-left-style:solid}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-stepper-content:not(.mat-vertical-stepper-content-inactive){visibility:inherit !important}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}\"], dependencies: [{ kind: \"directive\", type: i3.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i3.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i3.NgTemplateOutlet, selector: \"[ngTemplateOutlet]\", inputs: [\"ngTemplateOutletContext\", \"ngTemplateOutlet\", \"ngTemplateOutletInjector\"] }, { kind: \"directive\", type: i3.NgSwitch, selector: \"[ngSwitch]\", inputs: [\"ngSwitch\"] }, { kind: \"directive\", type: i3.NgSwitchCase, selector: \"[ngSwitchCase]\", inputs: [\"ngSwitchCase\"] }, { kind: \"component\", type: MatStepHeader, selector: \"mat-step-header\", inputs: [\"color\", \"state\", \"label\", \"errorMessage\", \"iconOverrides\", \"index\", \"selected\", \"active\", \"optional\", \"disableRipple\"] }], animations: [\n matStepperAnimations.horizontalStepTransition,\n matStepperAnimations.verticalStepTransition,\n ], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatStepper, decorators: [{\n type: Component,\n args: [{ selector: 'mat-stepper, mat-vertical-stepper, mat-horizontal-stepper, [matStepper]', exportAs: 'matStepper, matVerticalStepper, matHorizontalStepper', inputs: ['selectedIndex'], host: {\n '[class.mat-stepper-horizontal]': 'orientation === \"horizontal\"',\n '[class.mat-stepper-vertical]': 'orientation === \"vertical\"',\n '[class.mat-stepper-label-position-end]': 'orientation === \"horizontal\" && labelPosition == \"end\"',\n '[class.mat-stepper-label-position-bottom]': 'orientation === \"horizontal\" && labelPosition == \"bottom\"',\n '[class.mat-stepper-header-position-bottom]': 'headerPosition === \"bottom\"',\n '[attr.aria-orientation]': 'orientation',\n 'role': 'tablist',\n 'ngSkipHydration': '',\n }, animations: [\n matStepperAnimations.horizontalStepTransition,\n matStepperAnimations.verticalStepTransition,\n ], providers: [{ provide: CdkStepper, useExisting: MatStepper }], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: \"<ng-container [ngSwitch]=\\\"orientation\\\">\\n <!-- Horizontal stepper -->\\n <div class=\\\"mat-horizontal-stepper-wrapper\\\" *ngSwitchCase=\\\"'horizontal'\\\">\\n <div class=\\\"mat-horizontal-stepper-header-container\\\">\\n <ng-container *ngFor=\\\"let step of steps; let i = index; let isLast = last\\\">\\n <ng-container\\n [ngTemplateOutlet]=\\\"stepTemplate\\\"\\n [ngTemplateOutletContext]=\\\"{step: step, i: i}\\\"></ng-container>\\n <div *ngIf=\\\"!isLast\\\" class=\\\"mat-stepper-horizontal-line\\\"></div>\\n </ng-container>\\n </div>\\n\\n <div class=\\\"mat-horizontal-content-container\\\">\\n <div *ngFor=\\\"let step of steps; let i = index\\\"\\n class=\\\"mat-horizontal-stepper-content\\\" role=\\\"tabpanel\\\"\\n [@horizontalStepTransition]=\\\"{\\n 'value': _getAnimationDirection(i),\\n 'params': {'animationDuration': _getAnimationDuration()}\\n }\\\"\\n (@horizontalStepTransition.done)=\\\"_animationDone.next($event)\\\"\\n [id]=\\\"_getStepContentId(i)\\\"\\n [attr.aria-labelledby]=\\\"_getStepLabelId(i)\\\"\\n [class.mat-horizontal-stepper-content-inactive]=\\\"selectedIndex !== i\\\">\\n <ng-container [ngTemplateOutlet]=\\\"step.content\\\"></ng-container>\\n </div>\\n </div>\\n </div>\\n\\n <!-- Vertical stepper -->\\n <ng-container *ngSwitchCase=\\\"'vertical'\\\">\\n <div class=\\\"mat-step\\\" *ngFor=\\\"let step of steps; let i = index; let isLast = last\\\">\\n <ng-container\\n [ngTemplateOutlet]=\\\"stepTemplate\\\"\\n [ngTemplateOutletContext]=\\\"{step: step, i: i}\\\"></ng-container>\\n <div class=\\\"mat-vertical-content-container\\\" [class.mat-stepper-vertical-line]=\\\"!isLast\\\">\\n <div class=\\\"mat-vertical-stepper-content\\\" role=\\\"tabpanel\\\"\\n [@verticalStepTransition]=\\\"{\\n 'value': _getAnimationDirection(i),\\n 'params': {'animationDuration': _getAnimationDuration()}\\n }\\\"\\n (@verticalStepTransition.done)=\\\"_animationDone.next($event)\\\"\\n [id]=\\\"_getStepContentId(i)\\\"\\n [attr.aria-labelledby]=\\\"_getStepLabelId(i)\\\"\\n [class.mat-vertical-stepper-content-inactive]=\\\"selectedIndex !== i\\\">\\n <div class=\\\"mat-vertical-content\\\">\\n <ng-container [ngTemplateOutlet]=\\\"step.content\\\"></ng-container>\\n </div>\\n </div>\\n </div>\\n </div>\\n </ng-container>\\n\\n</ng-container>\\n\\n<!-- Common step templating -->\\n<ng-template let-step=\\\"step\\\" let-i=\\\"i\\\" #stepTemplate>\\n <mat-step-header\\n [class.mat-horizontal-stepper-header]=\\\"orientation === 'horizontal'\\\"\\n [class.mat-vertical-stepper-header]=\\\"orientation === 'vertical'\\\"\\n (click)=\\\"step.select()\\\"\\n (keydown)=\\\"_onKeydown($event)\\\"\\n [tabIndex]=\\\"_getFocusIndex() === i ? 0 : -1\\\"\\n [id]=\\\"_getStepLabelId(i)\\\"\\n [attr.aria-posinset]=\\\"i + 1\\\"\\n [attr.aria-setsize]=\\\"steps.length\\\"\\n [attr.aria-controls]=\\\"_getStepContentId(i)\\\"\\n [attr.aria-selected]=\\\"selectedIndex == i\\\"\\n [attr.aria-label]=\\\"step.ariaLabel || null\\\"\\n [attr.aria-labelledby]=\\\"(!step.ariaLabel && step.ariaLabelledby) ? step.ariaLabelledby : null\\\"\\n [attr.aria-disabled]=\\\"_stepIsNavigable(i, step) ? null : true\\\"\\n [index]=\\\"i\\\"\\n [state]=\\\"_getIndicatorType(i, step.state)\\\"\\n [label]=\\\"step.stepLabel || step.label\\\"\\n [selected]=\\\"selectedIndex === i\\\"\\n [active]=\\\"_stepIsNavigable(i, step)\\\"\\n [optional]=\\\"step.optional\\\"\\n [errorMessage]=\\\"step.errorMessage\\\"\\n [iconOverrides]=\\\"_iconOverrides\\\"\\n [disableRipple]=\\\"disableRipple || !_stepIsNavigable(i, step)\\\"\\n [color]=\\\"step.color || color\\\"></mat-step-header>\\n</ng-template>\\n\", styles: [\".mat-stepper-vertical,.mat-stepper-horizontal{display:block}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:\\\"\\\";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-inactive{height:0;overflow:hidden}.mat-horizontal-stepper-content:not(.mat-horizontal-stepper-content-inactive){visibility:inherit !important}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.cdk-high-contrast-active .mat-horizontal-content-container{outline:solid 1px}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}.cdk-high-contrast-active .mat-vertical-content-container{outline:solid 1px}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:\\\"\\\";position:absolute;left:0;border-left-width:1px;border-left-style:solid}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-stepper-content:not(.mat-vertical-stepper-content-inactive){visibility:inherit !important}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}\"] }]\n }], ctorParameters: function () { return [{ type: i3$1.Directionality, decorators: [{\n type: Optional\n }] }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }]; }, propDecorators: { _stepHeader: [{\n type: ViewChildren,\n args: [MatStepHeader]\n }], _steps: [{\n type: ContentChildren,\n args: [MatStep, { descendants: true }]\n }], _icons: [{\n type: ContentChildren,\n args: [MatStepperIcon, { descendants: true }]\n }], animationDone: [{\n type: Output\n }], disableRipple: [{\n type: Input\n }], color: [{\n type: Input\n }], labelPosition: [{\n type: Input\n }], headerPosition: [{\n type: Input\n }], animationDuration: [{\n type: Input\n }] } });\n\n/** Button that moves to the next step in a stepper workflow. */\nclass MatStepperNext extends CdkStepperNext {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatStepperNext, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatStepperNext, selector: \"button[matStepperNext]\", inputs: { type: \"type\" }, host: { properties: { \"type\": \"type\" }, classAttribute: \"mat-stepper-next\" }, usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatStepperNext, decorators: [{\n type: Directive,\n args: [{\n selector: 'button[matStepperNext]',\n host: {\n 'class': 'mat-stepper-next',\n '[type]': 'type',\n },\n inputs: ['type'],\n }]\n }] });\n/** Button that moves to the previous step in a stepper workflow. */\nclass MatStepperPrevious extends CdkStepperPrevious {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatStepperPrevious, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatStepperPrevious, selector: \"button[matStepperPrevious]\", inputs: { type: \"type\" }, host: { properties: { \"type\": \"type\" }, classAttribute: \"mat-stepper-previous\" }, usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatStepperPrevious, decorators: [{\n type: Directive,\n args: [{\n selector: 'button[matStepperPrevious]',\n host: {\n 'class': 'mat-stepper-previous',\n '[type]': 'type',\n },\n inputs: ['type'],\n }]\n }] });\n\nclass MatStepperModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatStepperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatStepperModule, declarations: [MatStep,\n MatStepLabel,\n MatStepper,\n MatStepperNext,\n MatStepperPrevious,\n MatStepHeader,\n MatStepperIcon,\n MatStepContent], imports: [MatCommonModule,\n CommonModule,\n PortalModule,\n CdkStepperModule,\n MatIconModule,\n MatRippleModule], exports: [MatCommonModule,\n MatStep,\n MatStepLabel,\n MatStepper,\n MatStepperNext,\n MatStepperPrevious,\n MatStepHeader,\n MatStepperIcon,\n MatStepContent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatStepperModule, providers: [MAT_STEPPER_INTL_PROVIDER, ErrorStateMatcher], imports: [MatCommonModule,\n CommonModule,\n PortalModule,\n CdkStepperModule,\n MatIconModule,\n MatRippleModule, MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatStepperModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n MatCommonModule,\n CommonModule,\n PortalModule,\n CdkStepperModule,\n MatIconModule,\n MatRippleModule,\n ],\n exports: [\n MatCommonModule,\n MatStep,\n MatStepLabel,\n MatStepper,\n MatStepperNext,\n MatStepperPrevious,\n MatStepHeader,\n MatStepperIcon,\n MatStepContent,\n ],\n declarations: [\n MatStep,\n MatStepLabel,\n MatStepper,\n MatStepperNext,\n MatStepperPrevious,\n MatStepHeader,\n MatStepperIcon,\n MatStepContent,\n ],\n providers: [MAT_STEPPER_INTL_PROVIDER, ErrorStateMatcher],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MAT_STEPPER_INTL_PROVIDER, MAT_STEPPER_INTL_PROVIDER_FACTORY, MatStep, MatStepContent, MatStepHeader, MatStepLabel, MatStepper, MatStepperIcon, MatStepperIntl, MatStepperModule, MatStepperNext, MatStepperPrevious, matStepperAnimations };\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43]} \ No newline at end of file diff --git a/3326.34b87cfb31ed8b06.js b/3326.34b87cfb31ed8b06.js new file mode 100644 index 0000000..19b20d3 --- /dev/null +++ b/3326.34b87cfb31ed8b06.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[3326,7376,5187,4091,1217,7208,4968,4155,1084,6896,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,4680,2111,8596,8352,5501,3098,8608,8443,5915,3278,5391,6748,6763,4151,5069,7432,6618],{35488:(f,n,e)=>{function t(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}e.d(n,{Z:()=>t})},28694:(f,n,e)=>{e.d(n,{Z:()=>i});var t=e(20265),o=e(98568),u=e(43445),r=e(35488);function i(p){var c=(0,o.Z)();return function(){var a,s=(0,t.Z)(p);if(c){var d=(0,t.Z)(this).constructor;a=Reflect.construct(s,arguments,d)}else a=s.apply(this,arguments);return function _(p,c){if(c&&("object"===(0,u.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(p)}(this,a)}}},20265:(f,n,e)=>{function t(o){return(t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)})(o)}e.d(n,{Z:()=>t})},24582:(f,n,e)=>{e.d(n,{Z:()=>o});var t=e(10006);function o(u,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(r&&r.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),r&&(0,t.Z)(u,r)}},98568:(f,n,e)=>{function t(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(n,{Z:()=>t})},10006:(f,n,e)=>{function t(o,u){return(t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_,i){return _.__proto__=i,_})(o,u)}e.d(n,{Z:()=>t})}}]); +//# sourceMappingURL=3326.34b87cfb31ed8b06.js.map \ No newline at end of file diff --git a/3326.34b87cfb31ed8b06.js.map b/3326.34b87cfb31ed8b06.js.map new file mode 100644 index 0000000..0ebd38e --- /dev/null +++ b/3326.34b87cfb31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OAAAD,EAAAnB,OAAAC,eAAAD,OAAAC,eAAAC,OAAA,SAAAH,EAAAqB,GACA,OAAArB,EAAAI,UAAAiB,EACArB,CACA,GACAA,EAAAqB,EACA","names":["_assertThisInitialized","self","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","call","esm_typeof","TypeError","assertThisInitialized","_getPrototypeOf","o","Object","setPrototypeOf","bind","__proto__","_inherits","subClass","superClass","prototype","create","value","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6]} \ No newline at end of file diff --git a/3348.1fd3ea46becd71d6.js b/3348.1fd3ea46becd71d6.js new file mode 100644 index 0000000..9eab2f7 --- /dev/null +++ b/3348.1fd3ea46becd71d6.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[3348,5106,1551],{76317:(A,p,e)=>{e.d(p,{X:()=>r});var m=e(78069),f=e(48047),s=e(4089),c=e(20265),i=e(24582),l=e(28694),r=function(u){(0,i.Z)(E,u);var x=(0,l.Z)(E);function E(M){var v;return(0,m.Z)(this,E),(v=x.call(this))._value=M,v}return(0,f.Z)(E,[{key:"value",get:function(){return this.getValue()}},{key:"_subscribe",value:function(v){var C=(0,s.Z)((0,c.Z)(E.prototype),"_subscribe",this).call(this,v);return!C.closed&&v.next(this._value),C}},{key:"getValue",value:function(){var w=this._value;if(this.hasError)throw this.thrownError;return this._throwIfClosed(),w}},{key:"next",value:function(v){(0,s.Z)((0,c.Z)(E.prototype),"next",this).call(this,this._value=v)}}]),E}(e(50253).x)},50253:(A,p,e)=>{e.d(p,{x:()=>C});var m=e(95106),f=e(78069),s=e(48047),c=e(4089),i=e(20265),l=e(24582),o=e(28694),r=e(90833),u=e(17714),E=(0,e(27543).d)(function(O){return function(){O(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),M=e(39663),v=e(12309),C=function(){var O=function(T){(0,l.Z)(Z,T);var P=(0,o.Z)(Z);function Z(){var g;return(0,f.Z)(this,Z),(g=P.call(this)).closed=!1,g.currentObservers=null,g.observers=[],g.isStopped=!1,g.hasError=!1,g.thrownError=null,g}return(0,s.Z)(Z,[{key:"lift",value:function(_){var b=new w(this,this);return b.operator=_,b}},{key:"_throwIfClosed",value:function(){if(this.closed)throw new E}},{key:"next",value:function(_){var b=this;(0,v.x)(function(){if(b._throwIfClosed(),!b.isStopped){b.currentObservers||(b.currentObservers=Array.from(b.observers));var h,R=(0,m.Z)(b.currentObservers);try{for(R.s();!(h=R.n()).done;)h.value.next(_)}catch(I){R.e(I)}finally{R.f()}}})}},{key:"error",value:function(_){var b=this;(0,v.x)(function(){if(b._throwIfClosed(),!b.isStopped){b.hasError=b.isStopped=!0,b.thrownError=_;for(var R=b.observers;R.length;)R.shift().error(_)}})}},{key:"complete",value:function(){var _=this;(0,v.x)(function(){if(_._throwIfClosed(),!_.isStopped){_.isStopped=!0;for(var b=_.observers;b.length;)b.shift().complete()}})}},{key:"unsubscribe",value:function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}},{key:"observed",get:function(){var _;return(null===(_=this.observers)||void 0===_?void 0:_.length)>0}},{key:"_trySubscribe",value:function(_){return this._throwIfClosed(),(0,c.Z)((0,i.Z)(Z.prototype),"_trySubscribe",this).call(this,_)}},{key:"_subscribe",value:function(_){return this._throwIfClosed(),this._checkFinalizedStatuses(_),this._innerSubscribe(_)}},{key:"_innerSubscribe",value:function(_){var b=this,y=this.observers;return this.hasError||this.isStopped?u.Lc:(this.currentObservers=null,y.push(_),new u.w0(function(){b.currentObservers=null,(0,M.P)(y,_)}))}},{key:"_checkFinalizedStatuses",value:function(_){var h=this.isStopped;this.hasError?_.error(this.thrownError):h&&_.complete()}},{key:"asObservable",value:function(){var _=new r.y;return _.source=this,_}}]),Z}(r.y);return O.create=function(T,P){return new w(T,P)},O}(),w=function(O){(0,l.Z)(P,O);var T=(0,o.Z)(P);function P(Z,g){var _;return(0,f.Z)(this,P),(_=T.call(this)).destination=Z,_.source=g,_}return(0,s.Z)(P,[{key:"next",value:function(g){var _,b;null===(b=null===(_=this.destination)||void 0===_?void 0:_.next)||void 0===b||b.call(_,g)}},{key:"error",value:function(g){var _,b;null===(b=null===(_=this.destination)||void 0===_?void 0:_.error)||void 0===b||b.call(_,g)}},{key:"complete",value:function(){var g,_;null===(_=null===(g=this.destination)||void 0===g?void 0:g.complete)||void 0===_||_.call(g)}},{key:"_subscribe",value:function(g){var _,b;return null!==(b=null===(_=this.source)||void 0===_?void 0:_.subscribe(g))&&void 0!==b?b:u.Lc}}]),P}(C)},26562:(A,p,e)=>{e.d(p,{a:()=>x});var m=e(90833),f=e(45756),s=e(37400),c=e(89173),i=e(58385),l=e(10420),o=e(11054),r=e(93945),u=e(1817);function x(){for(var v=arguments.length,C=new Array(v),w=0;w<v;w++)C[w]=arguments[w];var O=(0,l.yG)(C),T=(0,l.jO)(C),P=(0,f.D)(C),Z=P.args,g=P.keys;if(0===Z.length)return(0,s.D)([],O);var _=new m.y(function E(v,C){var w=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c.y;return function(O){M(C,function(){for(var T=v.length,P=new Array(T),Z=T,g=T,_=function(h){M(C,function(){var y=(0,s.D)(v[h],C),I=!1;y.subscribe((0,r.x)(O,function(F){P[h]=F,I||(I=!0,g--),g||O.next(w(P.slice()))},function(){--Z||O.complete()}))},O)},b=0;b<T;b++)_(b)},O)}}(Z,O,g?function(b){return(0,o.n)(g,b)}:c.y));return T?_.pipe((0,i.Z)(T)):_}function M(v,C,w){v?(0,u.f)(w,v,C):C()}},20591:(A,p,e)=>{e.d(p,{E:()=>f});var f=new(e(90833).y)(function(i){return i.complete()})},37400:(A,p,e)=>{e.d(p,{D:()=>R});var m=e(54987),f=e(8728),s=e(41944);function c(h){var y=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,s.e)(function(I,F){F.add(h.schedule(function(){return I.subscribe(F)},y))})}var o=e(90833),u=e(67321),x=e(92971),E=e(1817);function v(h,y){if(!h)throw new Error("Iterable cannot be null");return new o.y(function(I){(0,E.f)(I,y,function(){var F=h[Symbol.asyncIterator]();(0,E.f)(I,y,function(){F.next().then(function(k){k.done?I.complete():I.next(k.value)})},0,!0)})})}var C=e(21331),w=e(79548),O=e(99806),T=e(23433),P=e(80470),Z=e(27785),g=e(20181);function R(h,y){return y?function b(h,y){if(null!=h){if((0,C.c)(h))return function i(h,y){return(0,m.Xf)(h).pipe(c(y),(0,f.Q)(y))}(h,y);if((0,O.z)(h))return function r(h,y){return new o.y(function(I){var F=0;return y.schedule(function(){F===h.length?I.complete():(I.next(h[F++]),I.closed||this.schedule())})})}(h,y);if((0,w.t)(h))return function l(h,y){return(0,m.Xf)(h).pipe(c(y),(0,f.Q)(y))}(h,y);if((0,P.D)(h))return v(h,y);if((0,T.T)(h))return function M(h,y){return new o.y(function(I){var F;return(0,E.f)(I,y,function(){F=h[u.h](),(0,E.f)(I,y,function(){var k,K;try{var z=F.next();k=z.value,K=z.done}catch(X){return void I.error(X)}K?I.complete():I.next(k)},0,!0)}),function(){return(0,x.m)(F?.return)&&F.return()}})}(h,y);if((0,g.L)(h))return function _(h,y){return v((0,g.Q)(h),y)}(h,y)}throw(0,Z.z)(h)}(h,y):(0,m.Xf)(h)}},36646:(A,p,e)=>{e.d(p,{T:()=>l});var m=e(1308),f=e(54987),s=e(20591),c=e(10420),i=e(37400);function l(){for(var o=arguments.length,r=new Array(o),u=0;u<o;u++)r[u]=arguments[u];var x=(0,c.yG)(r),E=(0,c._6)(r,1/0),M=r;return M.length?1===M.length?(0,f.Xf)(M[0]):(0,m.J)(E)((0,i.D)(M,x)):s.E}},10745:(A,p,e)=>{e.d(p,{of:()=>s});var m=e(10420),f=e(37400);function s(){for(var c=arguments.length,i=new Array(c),l=0;l<c;l++)i[l]=arguments[l];var o=(0,m.yG)(i);return(0,f.D)(i,o)}},93945:(A,p,e)=>{e.d(p,{Q:()=>x,x:()=>u});var m=e(78069),f=e(48047),s=e(35488),c=e(24582),i=e(28694),l=e(4089),o=e(20265);function u(E,M,v,C,w){return new x(E,M,v,C,w)}var x=function(E){(0,c.Z)(v,E);var M=(0,i.Z)(v);function v(C,w,O,T,P,Z){var g,_,b,R;return(0,m.Z)(this,v),(R=M.call(this,C)).onFinalize=P,R.shouldUnsubscribe=Z,R._next=w?function(h){try{w(h)}catch(y){C.error(y)}}:(0,l.Z)((g=(0,s.Z)(R),(0,o.Z)(v.prototype)),"_next",g),R._error=T?function(h){try{T(h)}catch(y){C.error(y)}finally{this.unsubscribe()}}:(0,l.Z)((_=(0,s.Z)(R),(0,o.Z)(v.prototype)),"_error",_),R._complete=O?function(){try{O()}catch(h){C.error(h)}finally{this.unsubscribe()}}:(0,l.Z)((b=(0,s.Z)(R),(0,o.Z)(v.prototype)),"_complete",b),R}return(0,f.Z)(v,[{key:"unsubscribe",value:function(){var w;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var O=this.closed;(0,l.Z)((0,o.Z)(v.prototype),"unsubscribe",this).call(this),!O&&(null===(w=this.onFinalize)||void 0===w||w.call(this))}}}]),v}(e(5463).Lv)},50635:(A,p,e)=>{e.d(p,{U:()=>s});var m=e(41944),f=e(93945);function s(c,i){return(0,m.e)(function(l,o){var r=0;l.subscribe((0,f.x)(o,function(u){o.next(c.call(i,u,r++))}))})}},1308:(A,p,e)=>{e.d(p,{J:()=>s});var m=e(49525),f=e(89173);function s(){return(0,m.z)(f.y,arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0)}},49525:(A,p,e)=>{e.d(p,{z:()=>r});var m=e(50635),f=e(54987),s=e(41944),c=e(1817),i=e(93945),o=e(92971);function r(u,x){var E=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;return(0,o.m)(x)?r(function(M,v){return(0,m.U)(function(C,w){return x(M,C,v,w)})((0,f.Xf)(u(M,v)))},E):("number"==typeof x&&(E=x),(0,s.e)(function(M,v){return function l(u,x,E,M,v,C,w,O){var T=[],P=0,Z=0,g=!1,_=function(){g&&!T.length&&!P&&x.complete()},b=function(y){return P<M?R(y):T.push(y)},R=function h(y){C&&x.next(y),P++;var I=!1;(0,f.Xf)(E(y,Z++)).subscribe((0,i.x)(x,function(F){v?.(F),C?b(F):x.next(F)},function(){I=!0},void 0,function(){if(I)try{P--;for(var F=function(){var K=T.shift();w?(0,c.f)(x,w,function(){return h(K)}):h(K)};T.length&&P<M;)F();_()}catch(k){x.error(k)}}))};return u.subscribe((0,i.x)(x,b,function(){g=!0,_()})),function(){O?.()}}(M,v,u,E)}))}},8728:(A,p,e)=>{e.d(p,{Q:()=>c});var m=e(1817),f=e(41944),s=e(93945);function c(i){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,f.e)(function(o,r){o.subscribe((0,s.x)(r,function(u){return(0,m.f)(r,i,function(){return r.next(u)},l)},function(){return(0,m.f)(r,i,function(){return r.complete()},l)},function(u){return(0,m.f)(r,i,function(){return r.error(u)},l)}))})}},10420:(A,p,e)=>{e.d(p,{_6:()=>l,jO:()=>c,yG:()=>i});var m=e(92971),f=e(59867);function s(o){return o[o.length-1]}function c(o){return(0,m.m)(s(o))?o.pop():void 0}function i(o){return(0,f.K)(s(o))?o.pop():void 0}function l(o,r){return"number"==typeof s(o)?o.pop():r}},45756:(A,p,e)=>{e.d(p,{D:()=>i});var m=Array.isArray,f=Object.getPrototypeOf,s=Object.prototype,c=Object.keys;function i(o){if(1===o.length){var r=o[0];if(m(r))return{args:r,keys:null};if(function l(o){return o&&"object"==typeof o&&f(o)===s}(r)){var u=c(r);return{args:u.map(function(x){return r[x]}),keys:u}}}return{args:o,keys:null}}},11054:(A,p,e)=>{function m(f,s){return f.reduce(function(c,i,l){return c[i]=s[l],c},{})}e.d(p,{n:()=>m})},1817:(A,p,e)=>{function m(f,s,c){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,l=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=s.schedule(function(){c(),l?f.add(this.schedule(null,i)):this.unsubscribe()},i);if(f.add(o),!l)return o}e.d(p,{f:()=>m})},59867:(A,p,e)=>{e.d(p,{K:()=>f});var m=e(92971);function f(s){return s&&(0,m.m)(s.schedule)}},41944:(A,p,e)=>{e.d(p,{A:()=>f,e:()=>s});var m=e(92971);function f(c){return(0,m.m)(c?.lift)}function s(c){return function(i){if(f(i))return i.lift(function(l){try{return c(l,this)}catch(o){this.error(o)}});throw new TypeError("Unable to lift unknown Observable type")}}},58385:(A,p,e)=>{e.d(p,{Z:()=>i});var m=e(86170),f=e(50635),s=Array.isArray;function i(l){return(0,f.U)(function(o){return function c(l,o){return s(o)?l.apply(void 0,(0,m.Z)(o)):l(o)}(l,o)})}},83348:(A,p,e)=>{e.r(p),e.d(p,{MatCell:()=>X,MatCellDef:()=>y,MatColumnDef:()=>k,MatFooterCell:()=>z,MatFooterCellDef:()=>F,MatFooterRow:()=>ee,MatFooterRowDef:()=>J,MatHeaderCell:()=>K,MatHeaderCellDef:()=>I,MatHeaderRow:()=>q,MatHeaderRowDef:()=>Q,MatNoDataRow:()=>ae,MatRecycleRows:()=>R,MatRow:()=>te,MatRowDef:()=>$,MatTable:()=>h,MatTableDataSource:()=>le,MatTableModule:()=>oe,MatTextColumn:()=>re,_MatTableDataSource:()=>ne});var m=e(32090),f=e(4089),s=e(20265),c=e(24582),i=e(28694),l=e(48047),o=e(78069),r=e(56718),u=e(33730),x=e(81382),E=e(6606),M=e(76317),v=e(50253),C=e(36646),w=e(10745),O=e(26562),T=e(35333),P=e(50635),Z=[[["caption"]],[["colgroup"],["col"]]],g=["caption","colgroup, col"];function _(a,n){if(1&a&&(r.\u0275\u0275elementStart(0,"th",3),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&a){var d=r.\u0275\u0275nextContext();r.\u0275\u0275styleProp("text-align",d.justify),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1(" ",d.headerText," ")}}function b(a,n){if(1&a&&(r.\u0275\u0275elementStart(0,"td",4),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&a){var d=n.$implicit,t=r.\u0275\u0275nextContext();r.\u0275\u0275styleProp("text-align",t.justify),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1(" ",t.dataAccessor(d,t.name)," ")}}var R=function(){var a=(0,l.Z)(function n(){(0,o.Z)(this,n)});return a.\u0275fac=function(d){return new(d||a)},a.\u0275dir=r.\u0275\u0275defineDirective({type:a,selectors:[["mat-table","recycleRows",""],["table","mat-table","","recycleRows",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:x._VIEW_REPEATER_STRATEGY,useClass:x._RecycleViewRepeaterStrategy}])]}),a}(),h=function(){var a=function(n){(0,c.Z)(t,n);var d=(0,i.Z)(t);function t(){var D;return(0,o.Z)(this,t),(D=d.apply(this,arguments)).stickyCssClass="mat-mdc-table-sticky",D.needsPositionStickyOnElement=!1,D}return(0,l.Z)(t,[{key:"ngOnInit",value:function(){(0,f.Z)((0,s.Z)(t.prototype),"ngOnInit",this).call(this),this._isNativeHtmlTable&&this._elementRef.nativeElement.querySelector("tbody").classList.add("mdc-data-table__content")}}]),t}(u.CdkTable);return a.\u0275fac=function(){var n;return function(t){return(n||(n=r.\u0275\u0275getInheritedFactory(a)))(t||a)}}(),a.\u0275cmp=r.\u0275\u0275defineComponent({type:a,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","",1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(d,t){2&d&&r.\u0275\u0275classProp("mdc-table-fixed-layout",t.fixedLayout)},exportAs:["matTable"],features:[r.\u0275\u0275ProvidersFeature([{provide:u.CdkTable,useExisting:a},{provide:u.CDK_TABLE,useExisting:a},{provide:u._COALESCED_STYLE_SCHEDULER,useClass:u._CoalescedStyleScheduler},{provide:x._VIEW_REPEATER_STRATEGY,useClass:x._DisposeViewRepeaterStrategy},{provide:u.STICKY_POSITIONING_LISTENER,useValue:null}]),r.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:g,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(d,t){1&d&&(r.\u0275\u0275projectionDef(Z),r.\u0275\u0275projection(0),r.\u0275\u0275projection(1,1),r.\u0275\u0275elementContainer(2,0)(3,1)(4,2)(5,3))},dependencies:[u.DataRowOutlet,u.HeaderRowOutlet,u.FooterRowOutlet,u.NoDataRowOutlet],styles:[".mdc-data-table{border-radius:var(--mdc-shape-medium, 4px);border-width:1px;border-style:solid}.mdc-data-table .mdc-data-table__header-cell:first-child{border-top-left-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table .mdc-data-table__header-cell:first-child,.mdc-data-table .mdc-data-table__header-cell:first-child[dir=rtl]{border-top-right-radius:var(--mdc-shape-medium, 4px);border-top-left-radius:0}.mdc-data-table .mdc-data-table__header-cell:last-child{border-top-right-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table .mdc-data-table__header-cell:last-child,.mdc-data-table .mdc-data-table__header-cell:last-child[dir=rtl]{border-top-left-radius:var(--mdc-shape-medium, 4px);border-top-right-radius:0}.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child{border-bottom-left-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child,.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child[dir=rtl]{border-bottom-right-radius:var(--mdc-shape-medium, 4px);border-bottom-left-radius:0}.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child{border-bottom-right-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child,.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child[dir=rtl]{border-bottom-left-radius:var(--mdc-shape-medium, 4px);border-bottom-right-radius:0}.mdc-data-table__cell,.mdc-data-table__header-cell{border-bottom-width:1px;border-bottom-style:solid}.mdc-data-table__pagination{border-top-width:1px;border-top-style:solid}.mdc-data-table__row:last-child .mdc-data-table__cell{border-bottom:none}.mdc-data-table__row{height:52px}.mdc-data-table__pagination{min-height:52px}.mdc-data-table__header-row{height:56px}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__cell--checkbox{width:1px}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__header-cell--checkbox{width:1px}.mdc-data-table__sort-icon-button{width:28px;height:28px;padding:2px;transform:rotate(0.0001deg);margin-left:4px;margin-right:0;opacity:0}.mdc-data-table__sort-icon-button .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:28px;height:28px;margin-top:0px;margin-bottom:0px;margin-right:0px;margin-left:0px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:28px;left:50%;width:28px;transform:translate(-50%, -50%)}[dir=rtl] .mdc-data-table__sort-icon-button,.mdc-data-table__sort-icon-button[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__header-cell--sorted-descending .mdc-data-table__sort-icon-button{transform:rotate(-180deg)}.mdc-data-table__sort-icon-button:focus,.mdc-data-table__header-cell:hover .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button{opacity:1}.mdc-data-table__header-cell--with-sort{cursor:pointer}.mdc-data-table__sort-status-label{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.mdc-data-table--sticky-header .mdc-data-table__header-cell{position:sticky;top:0;z-index:1}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__pagination{box-sizing:border-box;display:flex;justify-content:flex-end}.mdc-data-table__pagination-trailing{margin-left:4px;margin-right:0;align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end}[dir=rtl] .mdc-data-table__pagination-trailing,.mdc-data-table__pagination-trailing[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__pagination-navigation{align-items:center;display:flex}.mdc-data-table__pagination-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__pagination-button .mdc-button__icon,.mdc-data-table__pagination-button .mdc-button__icon[dir=rtl]{transform:rotate(180deg)}[dir=rtl] .mdc-data-table__pagination-button,.mdc-data-table__pagination-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__pagination-total{margin-left:14px;margin-right:36px;white-space:nowrap}[dir=rtl] .mdc-data-table__pagination-total,.mdc-data-table__pagination-total[dir=rtl]{margin-left:36px;margin-right:14px}.mdc-data-table__pagination-rows-per-page{margin-left:0;margin-right:22px;align-items:center;display:inline-flex}[dir=rtl] .mdc-data-table__pagination-rows-per-page,.mdc-data-table__pagination-rows-per-page[dir=rtl]{margin-left:22px;margin-right:0}.mdc-data-table__pagination-rows-per-page-label{margin-left:0;margin-right:12px;white-space:nowrap}[dir=rtl] .mdc-data-table__pagination-rows-per-page-label,.mdc-data-table__pagination-rows-per-page-label[dir=rtl]{margin-left:12px;margin-right:0}.mdc-data-table__pagination-rows-per-page-select{min-width:var(--mdc-menu-min-width, 80px);margin:8px 0}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor{width:100%;min-width:80px}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor{height:36px}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-floating-label--float-above{font-size:.75rem}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-data-table__pagination-rows-per-page-select .mdc-select__dropdown-icon{width:20px;height:20px}.mdc-data-table__pagination-rows-per-page-select.mdc-select--outlined .mdc-select__anchor :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 56px)}.mdc-data-table__pagination-rows-per-page-select .mdc-list-item.mdc-list-item--with-one-line{height:36px}.mdc-data-table__progress-indicator{display:none;position:absolute;width:100%}.mdc-data-table--in-progress .mdc-data-table__progress-indicator{display:block}.mdc-data-table__scrim{background-color:var(--mdc-theme-surface, #fff);height:100%;opacity:.32;position:absolute;top:0;width:100%}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table-sticky{position:sticky !important}.mat-mdc-table{table-layout:auto;white-space:normal}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table .mat-mdc-row:hover,.mat-mdc-table .mat-mdc-footer-row:hover{background-color:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2}),a}(),y=function(){var a=function(n){(0,c.Z)(t,n);var d=(0,i.Z)(t);function t(){return(0,o.Z)(this,t),d.apply(this,arguments)}return(0,l.Z)(t)}(u.CdkCellDef);return a.\u0275fac=function(){var n;return function(t){return(n||(n=r.\u0275\u0275getInheritedFactory(a)))(t||a)}}(),a.\u0275dir=r.\u0275\u0275defineDirective({type:a,selectors:[["","matCellDef",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:u.CdkCellDef,useExisting:a}]),r.\u0275\u0275InheritDefinitionFeature]}),a}(),I=function(){var a=function(n){(0,c.Z)(t,n);var d=(0,i.Z)(t);function t(){return(0,o.Z)(this,t),d.apply(this,arguments)}return(0,l.Z)(t)}(u.CdkHeaderCellDef);return a.\u0275fac=function(){var n;return function(t){return(n||(n=r.\u0275\u0275getInheritedFactory(a)))(t||a)}}(),a.\u0275dir=r.\u0275\u0275defineDirective({type:a,selectors:[["","matHeaderCellDef",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:u.CdkHeaderCellDef,useExisting:a}]),r.\u0275\u0275InheritDefinitionFeature]}),a}(),F=function(){var a=function(n){(0,c.Z)(t,n);var d=(0,i.Z)(t);function t(){return(0,o.Z)(this,t),d.apply(this,arguments)}return(0,l.Z)(t)}(u.CdkFooterCellDef);return a.\u0275fac=function(){var n;return function(t){return(n||(n=r.\u0275\u0275getInheritedFactory(a)))(t||a)}}(),a.\u0275dir=r.\u0275\u0275defineDirective({type:a,selectors:[["","matFooterCellDef",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:u.CdkFooterCellDef,useExisting:a}]),r.\u0275\u0275InheritDefinitionFeature]}),a}(),k=function(){var a=function(n){(0,c.Z)(t,n);var d=(0,i.Z)(t);function t(){return(0,o.Z)(this,t),d.apply(this,arguments)}return(0,l.Z)(t,[{key:"name",get:function(){return this._name},set:function(S){this._setNameInput(S)}},{key:"_updateColumnCssClassName",value:function(){(0,f.Z)((0,s.Z)(t.prototype),"_updateColumnCssClassName",this).call(this),this._columnCssClassName.push("mat-column-".concat(this.cssClassFriendlyName))}}]),t}(u.CdkColumnDef);return a.\u0275fac=function(){var n;return function(t){return(n||(n=r.\u0275\u0275getInheritedFactory(a)))(t||a)}}(),a.\u0275dir=r.\u0275\u0275defineDirective({type:a,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[r.\u0275\u0275ProvidersFeature([{provide:u.CdkColumnDef,useExisting:a},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:a}]),r.\u0275\u0275InheritDefinitionFeature]}),a}(),K=function(){var a=function(n){(0,c.Z)(t,n);var d=(0,i.Z)(t);function t(){return(0,o.Z)(this,t),d.apply(this,arguments)}return(0,l.Z)(t)}(u.CdkHeaderCell);return a.\u0275fac=function(){var n;return function(t){return(n||(n=r.\u0275\u0275getInheritedFactory(a)))(t||a)}}(),a.\u0275dir=r.\u0275\u0275defineDirective({type:a,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[r.\u0275\u0275InheritDefinitionFeature]}),a}(),z=function(){var a=function(n){(0,c.Z)(t,n);var d=(0,i.Z)(t);function t(){return(0,o.Z)(this,t),d.apply(this,arguments)}return(0,l.Z)(t)}(u.CdkFooterCell);return a.\u0275fac=function(){var n;return function(t){return(n||(n=r.\u0275\u0275getInheritedFactory(a)))(t||a)}}(),a.\u0275dir=r.\u0275\u0275defineDirective({type:a,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],features:[r.\u0275\u0275InheritDefinitionFeature]}),a}(),X=function(){var a=function(n){(0,c.Z)(t,n);var d=(0,i.Z)(t);function t(){return(0,o.Z)(this,t),d.apply(this,arguments)}return(0,l.Z)(t)}(u.CdkCell);return a.\u0275fac=function(){var n;return function(t){return(n||(n=r.\u0275\u0275getInheritedFactory(a)))(t||a)}}(),a.\u0275dir=r.\u0275\u0275defineDirective({type:a,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[r.\u0275\u0275InheritDefinitionFeature]}),a}(),Q=function(){var a=function(n){(0,c.Z)(t,n);var d=(0,i.Z)(t);function t(){return(0,o.Z)(this,t),d.apply(this,arguments)}return(0,l.Z)(t)}(u.CdkHeaderRowDef);return a.\u0275fac=function(){var n;return function(t){return(n||(n=r.\u0275\u0275getInheritedFactory(a)))(t||a)}}(),a.\u0275dir=r.\u0275\u0275defineDirective({type:a,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[r.\u0275\u0275ProvidersFeature([{provide:u.CdkHeaderRowDef,useExisting:a}]),r.\u0275\u0275InheritDefinitionFeature]}),a}(),J=function(){var a=function(n){(0,c.Z)(t,n);var d=(0,i.Z)(t);function t(){return(0,o.Z)(this,t),d.apply(this,arguments)}return(0,l.Z)(t)}(u.CdkFooterRowDef);return a.\u0275fac=function(){var n;return function(t){return(n||(n=r.\u0275\u0275getInheritedFactory(a)))(t||a)}}(),a.\u0275dir=r.\u0275\u0275defineDirective({type:a,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[r.\u0275\u0275ProvidersFeature([{provide:u.CdkFooterRowDef,useExisting:a}]),r.\u0275\u0275InheritDefinitionFeature]}),a}(),$=function(){var a=function(n){(0,c.Z)(t,n);var d=(0,i.Z)(t);function t(){return(0,o.Z)(this,t),d.apply(this,arguments)}return(0,l.Z)(t)}(u.CdkRowDef);return a.\u0275fac=function(){var n;return function(t){return(n||(n=r.\u0275\u0275getInheritedFactory(a)))(t||a)}}(),a.\u0275dir=r.\u0275\u0275defineDirective({type:a,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[r.\u0275\u0275ProvidersFeature([{provide:u.CdkRowDef,useExisting:a}]),r.\u0275\u0275InheritDefinitionFeature]}),a}(),q=function(){var a=function(n){(0,c.Z)(t,n);var d=(0,i.Z)(t);function t(){return(0,o.Z)(this,t),d.apply(this,arguments)}return(0,l.Z)(t)}(u.CdkHeaderRow);return a.\u0275fac=function(){var n;return function(t){return(n||(n=r.\u0275\u0275getInheritedFactory(a)))(t||a)}}(),a.\u0275cmp=r.\u0275\u0275defineComponent({type:a,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[r.\u0275\u0275ProvidersFeature([{provide:u.CdkHeaderRow,useExisting:a}]),r.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(d,t){1&d&&r.\u0275\u0275elementContainer(0,0)},dependencies:[u.CdkCellOutlet],encapsulation:2}),a}(),ee=function(){var a=function(n){(0,c.Z)(t,n);var d=(0,i.Z)(t);function t(){return(0,o.Z)(this,t),d.apply(this,arguments)}return(0,l.Z)(t)}(u.CdkFooterRow);return a.\u0275fac=function(){var n;return function(t){return(n||(n=r.\u0275\u0275getInheritedFactory(a)))(t||a)}}(),a.\u0275cmp=r.\u0275\u0275defineComponent({type:a,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-mdc-footer-row","mdc-data-table__row"],exportAs:["matFooterRow"],features:[r.\u0275\u0275ProvidersFeature([{provide:u.CdkFooterRow,useExisting:a}]),r.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(d,t){1&d&&r.\u0275\u0275elementContainer(0,0)},dependencies:[u.CdkCellOutlet],encapsulation:2}),a}(),te=function(){var a=function(n){(0,c.Z)(t,n);var d=(0,i.Z)(t);function t(){return(0,o.Z)(this,t),d.apply(this,arguments)}return(0,l.Z)(t)}(u.CdkRow);return a.\u0275fac=function(){var n;return function(t){return(n||(n=r.\u0275\u0275getInheritedFactory(a)))(t||a)}}(),a.\u0275cmp=r.\u0275\u0275defineComponent({type:a,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[r.\u0275\u0275ProvidersFeature([{provide:u.CdkRow,useExisting:a}]),r.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(d,t){1&d&&r.\u0275\u0275elementContainer(0,0)},dependencies:[u.CdkCellOutlet],encapsulation:2}),a}(),ae=function(){var a=function(n){(0,c.Z)(t,n);var d=(0,i.Z)(t);function t(){var D;return(0,o.Z)(this,t),(D=d.apply(this,arguments))._contentClassName="mat-mdc-no-data-row",D}return(0,l.Z)(t)}(u.CdkNoDataRow);return a.\u0275fac=function(){var n;return function(t){return(n||(n=r.\u0275\u0275getInheritedFactory(a)))(t||a)}}(),a.\u0275dir=r.\u0275\u0275defineDirective({type:a,selectors:[["ng-template","matNoDataRow",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:u.CdkNoDataRow,useExisting:a}]),r.\u0275\u0275InheritDefinitionFeature]}),a}(),re=function(){var a=function(n){(0,c.Z)(t,n);var d=(0,i.Z)(t);function t(){return(0,o.Z)(this,t),d.apply(this,arguments)}return(0,l.Z)(t)}(u.CdkTextColumn);return a.\u0275fac=function(){var n;return function(t){return(n||(n=r.\u0275\u0275getInheritedFactory(a)))(t||a)}}(),a.\u0275cmp=r.\u0275\u0275defineComponent({type:a,selectors:[["mat-text-column"]],features:[r.\u0275\u0275InheritDefinitionFeature],decls:3,vars:0,consts:[["matColumnDef",""],["mat-header-cell","",3,"text-align",4,"matHeaderCellDef"],["mat-cell","",3,"text-align",4,"matCellDef"],["mat-header-cell",""],["mat-cell",""]],template:function(d,t){1&d&&(r.\u0275\u0275elementContainerStart(0,0),r.\u0275\u0275template(1,_,2,3,"th",1),r.\u0275\u0275template(2,b,2,3,"td",2),r.\u0275\u0275elementContainerEnd())},dependencies:[I,k,y,K,X],encapsulation:2}),a}(),oe=function(){var a=(0,l.Z)(function n(){(0,o.Z)(this,n)});return a.\u0275fac=function(d){return new(d||a)},a.\u0275mod=r.\u0275\u0275defineNgModule({type:a}),a.\u0275inj=r.\u0275\u0275defineInjector({imports:[E.MatCommonModule,u.CdkTableModule,E.MatCommonModule]}),a}(),ne=function(a){(0,c.Z)(d,a);var n=(0,i.Z)(d);function d(){var t,D=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return(0,o.Z)(this,d),(t=n.call(this))._renderData=new M.X([]),t._filter=new M.X(""),t._internalPageChanges=new v.x,t._renderChangesSubscription=null,t.sortingDataAccessor=function(S,L){var B=S[L];if((0,T._isNumberValue)(B)){var W=Number(B);return W<9007199254740991?W:B}return B},t.sortData=function(S,L){var B=L.active,W=L.direction;return B&&""!=W?S.sort(function(V,G){var j=t.sortingDataAccessor(V,B),U=t.sortingDataAccessor(G,B),H=typeof j,N=typeof U;H!==N&&("number"===H&&(j+=""),"number"===N&&(U+=""));var Y=0;return null!=j&&null!=U?j>U?Y=1:j<U&&(Y=-1):null!=j?Y=1:null!=U&&(Y=-1),Y*("asc"==W?1:-1)}):S},t.filterPredicate=function(S,L){var B=Object.keys(S).reduce(function(V,G){return V+S[G]+"\u25ec"},"").toLowerCase(),W=L.trim().toLowerCase();return-1!=B.indexOf(W)},t._data=new M.X(D),t._updateChangeSubscription(),t}return(0,l.Z)(d,[{key:"data",get:function(){return this._data.value},set:function(D){D=Array.isArray(D)?D:[],this._data.next(D),this._renderChangesSubscription||this._filterData(D)}},{key:"filter",get:function(){return this._filter.value},set:function(D){this._filter.next(D),this._renderChangesSubscription||this._filterData(this.data)}},{key:"sort",get:function(){return this._sort},set:function(D){this._sort=D,this._updateChangeSubscription()}},{key:"paginator",get:function(){return this._paginator},set:function(D){this._paginator=D,this._updateChangeSubscription()}},{key:"_updateChangeSubscription",value:function(){var S,D=this,L=this._sort?(0,C.T)(this._sort.sortChange,this._sort.initialized):(0,w.of)(null),B=this._paginator?(0,C.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,w.of)(null),V=(0,O.a)([this._data,this._filter]).pipe((0,P.U)(function(U){var H=(0,m.Z)(U,1);return D._filterData(H[0])})),G=(0,O.a)([V,L]).pipe((0,P.U)(function(U){var H=(0,m.Z)(U,1);return D._orderData(H[0])})),j=(0,O.a)([G,B]).pipe((0,P.U)(function(U){var H=(0,m.Z)(U,1);return D._pageData(H[0])}));null===(S=this._renderChangesSubscription)||void 0===S||S.unsubscribe(),this._renderChangesSubscription=j.subscribe(function(U){return D._renderData.next(U)})}},{key:"_filterData",value:function(D){var S=this;return this.filteredData=null==this.filter||""===this.filter?D:D.filter(function(L){return S.filterPredicate(L,S.filter)}),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}},{key:"_orderData",value:function(D){return this.sort?this.sortData(D.slice(),this.sort):D}},{key:"_pageData",value:function(D){if(!this.paginator)return D;var S=this.paginator.pageIndex*this.paginator.pageSize;return D.slice(S,S+this.paginator.pageSize)}},{key:"_updatePaginator",value:function(D){var S=this;Promise.resolve().then(function(){var L=S.paginator;if(L&&(L.length=D,L.pageIndex>0)){var B=Math.ceil(L.length/L.pageSize)-1||0,W=Math.min(L.pageIndex,B);W!==L.pageIndex&&(L.pageIndex=W,S._internalPageChanges.next())}})}},{key:"connect",value:function(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}},{key:"disconnect",value:function(){var D;null===(D=this._renderChangesSubscription)||void 0===D||D.unsubscribe(),this._renderChangesSubscription=null}}]),d}(x.DataSource),le=function(a){(0,c.Z)(d,a);var n=(0,i.Z)(d);function d(){return(0,o.Z)(this,d),n.apply(this,arguments)}return(0,l.Z)(d)}(ne)},44841:(A,p,e)=>{function m(f,s){(null==s||s>f.length)&&(s=f.length);for(var c=0,i=new Array(s);c<s;c++)i[c]=f[c];return i}e.d(p,{Z:()=>m})},8091:(A,p,e)=>{function m(f){if(Array.isArray(f))return f}e.d(p,{Z:()=>m})},95106:(A,p,e)=>{e.d(p,{Z:()=>f});var m=e(44206);function f(s,c){var i=typeof Symbol<"u"&&s[Symbol.iterator]||s["@@iterator"];if(!i){if(Array.isArray(s)||(i=(0,m.Z)(s))||c&&s&&"number"==typeof s.length){i&&(s=i);var l=0,o=function(){};return{s:o,n:function(){return l>=s.length?{done:!0}:{done:!1,value:s[l++]}},e:function(M){throw M},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var x,r=!0,u=!1;return{s:function(){i=i.call(s)},n:function(){var M=i.next();return r=M.done,M},e:function(M){u=!0,x=M},f:function(){try{!r&&null!=i.return&&i.return()}finally{if(u)throw x}}}}},4826:(A,p,e)=>{function m(f){if(typeof Symbol<"u"&&null!=f[Symbol.iterator]||null!=f["@@iterator"])return Array.from(f)}e.d(p,{Z:()=>m})},8217:(A,p,e)=>{function m(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}e.d(p,{Z:()=>m})},32090:(A,p,e)=>{e.d(p,{Z:()=>i});var m=e(8091),s=e(44206),c=e(8217);function i(l,o){return(0,m.Z)(l)||function f(l,o){var r=null==l?null:typeof Symbol<"u"&&l[Symbol.iterator]||l["@@iterator"];if(null!=r){var u,x,E,M,v=[],C=!0,w=!1;try{if(E=(r=r.call(l)).next,0===o){if(Object(r)!==r)return;C=!1}else for(;!(C=(u=E.call(r)).done)&&(v.push(u.value),v.length!==o);C=!0);}catch(O){w=!0,x=O}finally{try{if(!C&&null!=r.return&&(M=r.return(),Object(M)!==M))return}finally{if(w)throw x}}return v}}(l,o)||(0,s.Z)(l,o)||(0,c.Z)()}},86170:(A,p,e)=>{e.d(p,{Z:()=>l});var m=e(44841),s=e(4826),c=e(44206);function l(o){return function f(o){if(Array.isArray(o))return(0,m.Z)(o)}(o)||(0,s.Z)(o)||(0,c.Z)(o)||function i(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(A,p,e)=>{e.d(p,{Z:()=>f});var m=e(44841);function f(s,c){if(s){if("string"==typeof s)return(0,m.Z)(s,c);var i=Object.prototype.toString.call(s).slice(8,-1);if("Object"===i&&s.constructor&&(i=s.constructor.name),"Map"===i||"Set"===i)return Array.from(s);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return(0,m.Z)(s,c)}}}}]); +//# sourceMappingURL=3348.1fd3ea46becd71d6.js.map \ No newline at end of file diff --git a/3348.1fd3ea46becd71d6.js.map b/3348.1fd3ea46becd71d6.js.map new file mode 100644 index 0000000..2e65c38 --- /dev/null +++ b/3348.1fd3ea46becd71d6.js.map @@ -0,0 +1 @@ +{"version":3,"file":"3348.1fd3ea46becd71d6.js","mappings":"kLACaA,EAAe,SAAAC,IAAAC,OAAAF,EAAAC,GAAA,IAAAE,KAAAC,KAAAJ,GACxB,SAAAA,EAAYK,GAAQ,IAAAC,EAAAC,cAAAC,KAAAR,IAChBM,EAAAH,EAAAM,KAAAD,OACKH,OAASA,EAAOC,CACzB,CAACI,cAAAV,EAAA,EAAAW,IAAA,QAAAC,IACD,WACI,OAAOJ,KAAKK,UAChB,GAAC,CAAAF,IAAA,aAAAG,MACD,SAAWC,GACP,IAAMC,KAAYC,QAAAC,KAAAlB,EAAAmB,WAAA,aAAAX,MAAAC,KAAAD,KAAoBO,GACtC,OAACC,EAAaI,QAAUL,EAAWM,KAAKb,KAAKH,QACtCW,CACX,GAAC,CAAAL,IAAA,WAAAG,MACD,WACI,IAA+BT,EAAWG,KAAXH,OAC/B,GAD0CG,KAAlCc,SAEJ,MAFsCd,KAAxBe,YAIlB,OAAAf,KAAKgB,iBACEnB,CACX,GAAC,CAAAM,IAAA,OAAAG,MACD,SAAKA,IACDG,UAAAC,KAAAlB,EAAAmB,WAAA,OAAAX,MAAA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AAgJ,OAAA1K,UAAA6b,SAAAvc,KAAAua,GAAA7U,MAAA,MAEA,GADA,WAAAtD,GAAAmY,EAAAiC,cAAApa,EAAAmY,EAAAiC,YAAArb,MACA,QAAAiB,GAAA,QAAAA,EAAA,OAAAN,MAAAC,KAAAwY,GACA,iBAAAnY,GAAA,2CAAAqa,KAAAra,GAAA,SAAsFka,EAAA3B,GAAgBJ,EAAA8B,EAAA,CACtG","names":["BehaviorSubject","_Subject","_inherits","_super","_createSuper","_value","_this","_classCallCheck","this","call","_createClass","key","get","getValue","value","subscriber","subscription","_get","_getPrototypeOf","prototype","closed","next","hasError","thrownError","_throwIfClosed","Subject","ObjectUnsubscribedError","createErrorClass","name","message","_Observable","currentObservers","observers","isStopped","operator","subject","AnonymousSubject","_this2","errorContext","Array","from","_step","_iterator","_createForOfIteratorHelper","s","n","done","err","e","f","_this3","length","shift","error","_this4","complete","_a","_checkFinalizedStatuses","_innerSubscribe","_this5","EMPTY_SUBSCRIPTION","push","Subscription","arrRemove","observable","Observable","source","create","destination","_super2","_this6","_b","subscribe","combineLatest","_len","arguments","args","_key","scheduler","popScheduler","resultSelector","popResultSelector","_argsArgArrayOrObject","argsArgArrayOrObject","observables","keys","result","combineLatestInit","valueTransform","undefined","identity","maybeSchedule","values","active","remainingFirstValues","_loop","i","hasFirstValue","createOperatorSubscriber","slice","createObject","pipe","mapOneOrManyArgs","execute","executeSchedule","EMPTY","subscribeOn","delay","operate","add","schedule","scheduleAsyncIterable","input","Error","iterator","Symbol","asyncIterator","then","scheduled","isInteropObservable","scheduleObservable","innerFrom","observeOn","isArrayLike","scheduleArray","isPromise","schedulePromise","isAsyncIterable","isIterable","scheduleIterable","Symbol_iterator","_iterator$next","isFunction","return","isReadableStreamLike","scheduleReadableStreamLike","readableStreamLikeToAsyncGenerator","createInvalidObservableTypeError","merge","concurrent","popNumber","Infinity","sources","mergeAll","of","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_next","_assertThisInitialized","_error","unsubscribe","_complete","Subscriber","map","project","thisArg","index","mergeMap","a","b","ii","mergeInternals","onBeforeNext","expand","innerSubScheduler","additionalFinalizer","buffer","isComplete","checkComplete","outerNext","doInnerSub","innerComplete","innerValue","bufferedValue","last","arr","pop","isScheduler","defaultValue","isArray","getPrototypeOf","Object","objectProto","getKeys","first","isPOJO","obj","reduce","parentSubscription","work","repeat","scheduleSubscription","hasLift","lift","init","liftedSource","TypeError","fn","callOrApply","apply","_toConsumableArray","_c0","_c1","MatTextColumn_th_1_Template","rf","ctx","i0","ctx_r0","justify","headerText","MatTextColumn_td_2_Template","data_r2","$implicit","ctx_r1","dataAccessor","MatRecycleRows","ɵfac","t","ɵdir","type","selectors","features","provide","_VIEW_REPEATER_STRATEGY","useClass","_RecycleViewRepeaterStrategy","MatTable","_CdkTable","stickyCssClass","needsPositionStickyOnElement","_isNativeHtmlTable","_elementRef","nativeElement","querySelector","classList","CdkTable","ɵMatTable_BaseFactory","ɵcmp","hostAttrs","hostVars","hostBindings","fixedLayout","exportAs","useExisting","CDK_TABLE","_COALESCED_STYLE_SCHEDULER","_CoalescedStyleScheduler","_DisposeViewRepeaterStrategy","STICKY_POSITIONING_LISTENER","useValue","ngContentSelectors","decls","vars","consts","template","dependencies","i1","styles","encapsulation","MatCellDef","_CdkCellDef","CdkCellDef","ɵMatCellDef_BaseFactory","MatHeaderCellDef","_CdkHeaderCellDef","_super3","CdkHeaderCellDef","ɵMatHeaderCellDef_BaseFactory","MatFooterCellDef","_CdkFooterCellDef","_super4","CdkFooterCellDef","ɵMatFooterCellDef_BaseFactory","MatColumnDef","_CdkColumnDef","_super5","_name","set","_setNameInput","_columnCssClassName","concat","cssClassFriendlyName","CdkColumnDef","ɵMatColumnDef_BaseFactory","inputs","sticky","MatHeaderCell","_CdkHeaderCell","_super6","CdkHeaderCell","ɵMatHeaderCell_BaseFactory","MatFooterCell","_CdkFooterCell","_super7","CdkFooterCell","ɵMatFooterCell_BaseFactory","MatCell","_CdkCell","_super8","CdkCell","ɵMatCell_BaseFactory","MatHeaderRowDef","_CdkHeaderRowDef","_super9","CdkHeaderRowDef","ɵMatHeaderRowDef_BaseFactory","columns","MatFooterRowDef","_CdkFooterRowDef","_super10","CdkFooterRowDef","ɵMatFooterRowDef_BaseFactory","MatRowDef","_CdkRowDef","_super11","CdkRowDef","ɵMatRowDef_BaseFactory","when","MatHeaderRow","_CdkHeaderRow","_super12","CdkHeaderRow","ɵMatHeaderRow_BaseFactory","MatFooterRow","_CdkFooterRow","_super13","CdkFooterRow","ɵMatFooterRow_BaseFactory","MatRow","_CdkRow","_super14","CdkRow","ɵMatRow_BaseFactory","MatNoDataRow","_CdkNoDataRow","_super15","_contentClassName","CdkNoDataRow","ɵMatNoDataRow_BaseFactory","MatTextColumn","_CdkTextColumn","_super16","CdkTextColumn","ɵMatTextColumn_BaseFactory","MatTableModule","ɵmod","ɵinj","imports","MatCommonModule","CdkTableModule","_MatTableDataSource","_DataSource","_super17","initialData","_renderData","_filter","_internalPageChanges","_renderChangesSubscription","sortingDataAccessor","data","sortHeaderId","_isNumberValue","numberValue","Number","sortData","sort","direction","valueA","valueB","valueAType","valueBType","comparatorResult","filterPredicate","filter","dataStr","currentTerm","toLowerCase","transformedFilter","trim","indexOf","_data","_updateChangeSubscription","_filterData","_sort","_paginator","paginator","_this$_renderChangesS","sortChange","initialized","pageChange","page","filteredData","_ref","_ref2","_slicedToArray","orderedData","_ref3","_ref4","_orderData","paginatedData","_ref5","_ref6","_pageData","_updatePaginator","startIndex","pageIndex","pageSize","filteredDataLength","Promise","resolve","lastPageIndex","Math","ceil","newPageIndex","min","_this$_renderChangesS2","DataSource","MatTableDataSource","_MatTableDataSource2","_super18","_arrayLikeToArray","len","arr2","_arrayWithHoles","o","allowArrayLike","it","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","_e","normalCompletion","didErr","step","_e2","_iterableToArray","iter","_nonIterableRest","arrayWithHoles","_iterableToArrayLimit","_i","_s","_x","_r","_arr","_n","_d","unsupportedIterableToArray","nonIterableRest","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","toString","constructor","test"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/BehaviorSubject.js","./node_modules/rxjs/dist/esm/internal/util/ObjectUnsubscribedError.js","./node_modules/rxjs/dist/esm/internal/Subject.js","./node_modules/rxjs/dist/esm/internal/observable/combineLatest.js","./node_modules/rxjs/dist/esm/internal/observable/empty.js","./node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleAsyncIterable.js","./node_modules/rxjs/dist/esm/internal/observable/from.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduled.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleObservable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleArray.js","./node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleIterable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleReadableStreamLike.js","./node_modules/rxjs/dist/esm/internal/observable/merge.js","./node_modules/rxjs/dist/esm/internal/observable/of.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/map.js","./node_modules/rxjs/dist/esm/internal/operators/mergeAll.js","./node_modules/rxjs/dist/esm/internal/operators/mergeMap.js","./node_modules/rxjs/dist/esm/internal/operators/mergeInternals.js","./node_modules/rxjs/dist/esm/internal/operators/observeOn.js","./node_modules/rxjs/dist/esm/internal/util/args.js","./node_modules/rxjs/dist/esm/internal/util/argsArgArrayOrObject.js","./node_modules/rxjs/dist/esm/internal/util/createObject.js","./node_modules/rxjs/dist/esm/internal/util/executeSchedule.js","./node_modules/rxjs/dist/esm/internal/util/isScheduler.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/rxjs/dist/esm/internal/util/mapOneOrManyArgs.js","./node_modules/@angular/material/fesm2022/table.mjs","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","./node_modules/@babel/runtime/helpers/esm/slicedToArray.js","./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { Subject } from './Subject';\nexport class BehaviorSubject extends Subject {\n constructor(_value) {\n super();\n this._value = _value;\n }\n get value() {\n return this.getValue();\n }\n _subscribe(subscriber) {\n const subscription = super._subscribe(subscriber);\n !subscription.closed && subscriber.next(this._value);\n return subscription;\n }\n getValue() {\n const { hasError, thrownError, _value } = this;\n if (hasError) {\n throw thrownError;\n }\n this._throwIfClosed();\n return _value;\n }\n next(value) {\n super.next((this._value = value));\n }\n}\n","import { createErrorClass } from './createErrorClass';\nexport const ObjectUnsubscribedError = createErrorClass((_super) => function ObjectUnsubscribedErrorImpl() {\n _super(this);\n this.name = 'ObjectUnsubscribedError';\n this.message = 'object unsubscribed';\n});\n","import { Observable } from './Observable';\nimport { Subscription, EMPTY_SUBSCRIPTION } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { arrRemove } from './util/arrRemove';\nimport { errorContext } from './util/errorContext';\nexport class Subject extends Observable {\n constructor() {\n super();\n this.closed = false;\n this.currentObservers = null;\n this.observers = [];\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n lift(operator) {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n }\n _throwIfClosed() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n }\n next(value) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n if (!this.currentObservers) {\n this.currentObservers = Array.from(this.observers);\n }\n for (const observer of this.currentObservers) {\n observer.next(value);\n }\n }\n });\n }\n error(err) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.hasError = this.isStopped = true;\n this.thrownError = err;\n const { observers } = this;\n while (observers.length) {\n observers.shift().error(err);\n }\n }\n });\n }\n complete() {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.isStopped = true;\n const { observers } = this;\n while (observers.length) {\n observers.shift().complete();\n }\n }\n });\n }\n unsubscribe() {\n this.isStopped = this.closed = true;\n this.observers = this.currentObservers = null;\n }\n get observed() {\n var _a;\n return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;\n }\n _trySubscribe(subscriber) {\n this._throwIfClosed();\n return super._trySubscribe(subscriber);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._checkFinalizedStatuses(subscriber);\n return this._innerSubscribe(subscriber);\n }\n _innerSubscribe(subscriber) {\n const { hasError, isStopped, observers } = this;\n if (hasError || isStopped) {\n return EMPTY_SUBSCRIPTION;\n }\n this.currentObservers = null;\n observers.push(subscriber);\n return new Subscription(() => {\n this.currentObservers = null;\n arrRemove(observers, subscriber);\n });\n }\n _checkFinalizedStatuses(subscriber) {\n const { hasError, thrownError, isStopped } = this;\n if (hasError) {\n subscriber.error(thrownError);\n }\n else if (isStopped) {\n subscriber.complete();\n }\n }\n asObservable() {\n const observable = new Observable();\n observable.source = this;\n return observable;\n }\n}\nSubject.create = (destination, source) => {\n return new AnonymousSubject(destination, source);\n};\nexport class AnonymousSubject extends Subject {\n constructor(destination, source) {\n super();\n this.destination = destination;\n this.source = source;\n }\n next(value) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);\n }\n error(err) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);\n }\n complete() {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);\n }\n _subscribe(subscriber) {\n var _a, _b;\n return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;\n }\n}\n","import { Observable } from '../Observable';\nimport { argsArgArrayOrObject } from '../util/argsArgArrayOrObject';\nimport { from } from './from';\nimport { identity } from '../util/identity';\nimport { mapOneOrManyArgs } from '../util/mapOneOrManyArgs';\nimport { popResultSelector, popScheduler } from '../util/args';\nimport { createObject } from '../util/createObject';\nimport { createOperatorSubscriber } from '../operators/OperatorSubscriber';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function combineLatest(...args) {\n const scheduler = popScheduler(args);\n const resultSelector = popResultSelector(args);\n const { args: observables, keys } = argsArgArrayOrObject(args);\n if (observables.length === 0) {\n return from([], scheduler);\n }\n const result = new Observable(combineLatestInit(observables, scheduler, keys\n ?\n (values) => createObject(keys, values)\n :\n identity));\n return resultSelector ? result.pipe(mapOneOrManyArgs(resultSelector)) : result;\n}\nexport function combineLatestInit(observables, scheduler, valueTransform = identity) {\n return (subscriber) => {\n maybeSchedule(scheduler, () => {\n const { length } = observables;\n const values = new Array(length);\n let active = length;\n let remainingFirstValues = length;\n for (let i = 0; i < length; i++) {\n maybeSchedule(scheduler, () => {\n const source = from(observables[i], scheduler);\n let hasFirstValue = false;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n values[i] = value;\n if (!hasFirstValue) {\n hasFirstValue = true;\n remainingFirstValues--;\n }\n if (!remainingFirstValues) {\n subscriber.next(valueTransform(values.slice()));\n }\n }, () => {\n if (!--active) {\n subscriber.complete();\n }\n }));\n }, subscriber);\n }\n }, subscriber);\n };\n}\nfunction maybeSchedule(scheduler, execute, subscription) {\n if (scheduler) {\n executeSchedule(subscription, scheduler, execute);\n }\n else {\n execute();\n }\n}\n","import { Observable } from '../Observable';\nexport const EMPTY = new Observable((subscriber) => subscriber.complete());\nexport function empty(scheduler) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n return new Observable((subscriber) => scheduler.schedule(() => subscriber.complete()));\n}\n","import { operate } from '../util/lift';\nexport function subscribeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay));\n });\n}\n","import { Observable } from '../Observable';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleAsyncIterable(input, scheduler) {\n if (!input) {\n throw new Error('Iterable cannot be null');\n }\n return new Observable((subscriber) => {\n executeSchedule(subscriber, scheduler, () => {\n const iterator = input[Symbol.asyncIterator]();\n executeSchedule(subscriber, scheduler, () => {\n iterator.next().then((result) => {\n if (result.done) {\n subscriber.complete();\n }\n else {\n subscriber.next(result.value);\n }\n });\n }, 0, true);\n });\n });\n}\n","import { scheduled } from '../scheduled/scheduled';\nimport { innerFrom } from './innerFrom';\nexport function from(input, scheduler) {\n return scheduler ? scheduled(input, scheduler) : innerFrom(input);\n}\n","import { scheduleObservable } from './scheduleObservable';\nimport { schedulePromise } from './schedulePromise';\nimport { scheduleArray } from './scheduleArray';\nimport { scheduleIterable } from './scheduleIterable';\nimport { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isPromise } from '../util/isPromise';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isIterable } from '../util/isIterable';\nimport { isAsyncIterable } from '../util/isAsyncIterable';\nimport { createInvalidObservableTypeError } from '../util/throwUnobservableError';\nimport { isReadableStreamLike } from '../util/isReadableStreamLike';\nimport { scheduleReadableStreamLike } from './scheduleReadableStreamLike';\nexport function scheduled(input, scheduler) {\n if (input != null) {\n if (isInteropObservable(input)) {\n return scheduleObservable(input, scheduler);\n }\n if (isArrayLike(input)) {\n return scheduleArray(input, scheduler);\n }\n if (isPromise(input)) {\n return schedulePromise(input, scheduler);\n }\n if (isAsyncIterable(input)) {\n return scheduleAsyncIterable(input, scheduler);\n }\n if (isIterable(input)) {\n return scheduleIterable(input, scheduler);\n }\n if (isReadableStreamLike(input)) {\n return scheduleReadableStreamLike(input, scheduler);\n }\n }\n throw createInvalidObservableTypeError(input);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function scheduleObservable(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nexport function scheduleArray(input, scheduler) {\n return new Observable((subscriber) => {\n let i = 0;\n return scheduler.schedule(function () {\n if (i === input.length) {\n subscriber.complete();\n }\n else {\n subscriber.next(input[i++]);\n if (!subscriber.closed) {\n this.schedule();\n }\n }\n });\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function schedulePromise(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from '../util/isFunction';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleIterable(input, scheduler) {\n return new Observable((subscriber) => {\n let iterator;\n executeSchedule(subscriber, scheduler, () => {\n iterator = input[Symbol_iterator]();\n executeSchedule(subscriber, scheduler, () => {\n let value;\n let done;\n try {\n ({ value, done } = iterator.next());\n }\n catch (err) {\n subscriber.error(err);\n return;\n }\n if (done) {\n subscriber.complete();\n }\n else {\n subscriber.next(value);\n }\n }, 0, true);\n });\n return () => isFunction(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return();\n });\n}\n","import { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { readableStreamLikeToAsyncGenerator } from '../util/isReadableStreamLike';\nexport function scheduleReadableStreamLike(input, scheduler) {\n return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);\n}\n","import { mergeAll } from '../operators/mergeAll';\nimport { innerFrom } from './innerFrom';\nimport { EMPTY } from './empty';\nimport { popNumber, popScheduler } from '../util/args';\nimport { from } from './from';\nexport function merge(...args) {\n const scheduler = popScheduler(args);\n const concurrent = popNumber(args, Infinity);\n const sources = args;\n return !sources.length\n ?\n EMPTY\n : sources.length === 1\n ?\n innerFrom(sources[0])\n :\n mergeAll(concurrent)(from(sources, scheduler));\n}\n","import { popScheduler } from '../util/args';\nimport { from } from './from';\nexport function of(...args) {\n const scheduler = popScheduler(args);\n return from(args, scheduler);\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function map(project, thisArg) {\n return operate((source, subscriber) => {\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n subscriber.next(project.call(thisArg, value, index++));\n }));\n });\n}\n","import { mergeMap } from './mergeMap';\nimport { identity } from '../util/identity';\nexport function mergeAll(concurrent = Infinity) {\n return mergeMap(identity, concurrent);\n}\n","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 }\n else if (typeof resultSelector === 'number') {\n concurrent = resultSelector;\n }\n return operate((source, subscriber) => mergeInternals(source, subscriber, project, concurrent));\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { executeSchedule } from '../util/executeSchedule';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function mergeInternals(source, subscriber, project, concurrent, onBeforeNext, expand, innerSubScheduler, additionalFinalizer) {\n const buffer = [];\n let active = 0;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => {\n if (isComplete && !buffer.length && !active) {\n subscriber.complete();\n }\n };\n const outerNext = (value) => (active < concurrent ? doInnerSub(value) : buffer.push(value));\n const doInnerSub = (value) => {\n expand && subscriber.next(value);\n active++;\n let innerComplete = false;\n innerFrom(project(value, index++)).subscribe(createOperatorSubscriber(subscriber, (innerValue) => {\n onBeforeNext === null || onBeforeNext === void 0 ? void 0 : onBeforeNext(innerValue);\n if (expand) {\n outerNext(innerValue);\n }\n else {\n subscriber.next(innerValue);\n }\n }, () => {\n innerComplete = true;\n }, undefined, () => {\n if (innerComplete) {\n try {\n active--;\n while (buffer.length && active < concurrent) {\n const bufferedValue = buffer.shift();\n if (innerSubScheduler) {\n executeSchedule(subscriber, innerSubScheduler, () => doInnerSub(bufferedValue));\n }\n else {\n doInnerSub(bufferedValue);\n }\n }\n checkComplete();\n }\n catch (err) {\n subscriber.error(err);\n }\n }\n }));\n };\n source.subscribe(createOperatorSubscriber(subscriber, outerNext, () => {\n isComplete = true;\n checkComplete();\n }));\n return () => {\n additionalFinalizer === null || additionalFinalizer === void 0 ? void 0 : additionalFinalizer();\n };\n}\n","import { executeSchedule } from '../util/executeSchedule';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function observeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, (value) => executeSchedule(subscriber, scheduler, () => subscriber.next(value), delay), () => executeSchedule(subscriber, scheduler, () => subscriber.complete(), delay), (err) => executeSchedule(subscriber, scheduler, () => subscriber.error(err), delay)));\n });\n}\n","import { isFunction } from './isFunction';\nimport { isScheduler } from './isScheduler';\nfunction last(arr) {\n return arr[arr.length - 1];\n}\nexport function popResultSelector(args) {\n return isFunction(last(args)) ? args.pop() : undefined;\n}\nexport function popScheduler(args) {\n return isScheduler(last(args)) ? args.pop() : undefined;\n}\nexport function popNumber(args, defaultValue) {\n return typeof last(args) === 'number' ? args.pop() : defaultValue;\n}\n","const { isArray } = Array;\nconst { getPrototypeOf, prototype: objectProto, keys: getKeys } = Object;\nexport function argsArgArrayOrObject(args) {\n if (args.length === 1) {\n const first = args[0];\n if (isArray(first)) {\n return { args: first, keys: null };\n }\n if (isPOJO(first)) {\n const keys = getKeys(first);\n return {\n args: keys.map((key) => first[key]),\n keys,\n };\n }\n }\n return { args: args, keys: null };\n}\nfunction isPOJO(obj) {\n return obj && typeof obj === 'object' && getPrototypeOf(obj) === objectProto;\n}\n","export function createObject(keys, values) {\n return keys.reduce((result, key, i) => ((result[key] = values[i]), result), {});\n}\n","export function executeSchedule(parentSubscription, scheduler, work, delay = 0, repeat = false) {\n const scheduleSubscription = scheduler.schedule(function () {\n work();\n if (repeat) {\n parentSubscription.add(this.schedule(null, delay));\n }\n else {\n this.unsubscribe();\n }\n }, delay);\n parentSubscription.add(scheduleSubscription);\n if (!repeat) {\n return scheduleSubscription;\n }\n}\n","import { isFunction } from './isFunction';\nexport function isScheduler(value) {\n return value && isFunction(value.schedule);\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","import { map } from \"../operators/map\";\nconst { isArray } = Array;\nfunction callOrApply(fn, args) {\n return isArray(args) ? fn(...args) : fn(args);\n}\nexport function mapOneOrManyArgs(fn) {\n return map(args => callOrApply(fn, args));\n}\n","import * as i0 from '@angular/core';\nimport { Directive, Component, ViewEncapsulation, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';\nimport * as i1 from '@angular/cdk/table';\nimport { CdkTable, CDK_TABLE, _COALESCED_STYLE_SCHEDULER, _CoalescedStyleScheduler, STICKY_POSITIONING_LISTENER, CDK_TABLE_TEMPLATE, CdkCellDef, CdkHeaderCellDef, CdkFooterCellDef, CdkColumnDef, CdkHeaderCell, CdkFooterCell, CdkCell, CdkHeaderRowDef, CdkFooterRowDef, CdkRowDef, CdkHeaderRow, CDK_ROW_TEMPLATE, CdkFooterRow, CdkRow, CdkNoDataRow, CdkTextColumn, CdkTableModule } from '@angular/cdk/table';\nimport { _VIEW_REPEATER_STRATEGY, _RecycleViewRepeaterStrategy, _DisposeViewRepeaterStrategy, DataSource } from '@angular/cdk/collections';\nimport { MatCommonModule } from '@angular/material/core';\nimport { BehaviorSubject, Subject, merge, of, combineLatest } from 'rxjs';\nimport { _isNumberValue } from '@angular/cdk/coercion';\nimport { map } from 'rxjs/operators';\n\n/**\n * Enables the recycle view repeater strategy, which reduces rendering latency. Not compatible with\n * tables that animate rows.\n */\nclass MatRecycleRows {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatRecycleRows, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatRecycleRows, selector: \"mat-table[recycleRows], table[mat-table][recycleRows]\", providers: [{ provide: _VIEW_REPEATER_STRATEGY, useClass: _RecycleViewRepeaterStrategy }], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatRecycleRows, decorators: [{\n type: Directive,\n args: [{\n selector: 'mat-table[recycleRows], table[mat-table][recycleRows]',\n providers: [{ provide: _VIEW_REPEATER_STRATEGY, useClass: _RecycleViewRepeaterStrategy }],\n }]\n }] });\nclass MatTable extends CdkTable {\n constructor() {\n super(...arguments);\n /** Overrides the sticky CSS class set by the `CdkTable`. */\n this.stickyCssClass = 'mat-mdc-table-sticky';\n /** Overrides the need to add position: sticky on every sticky cell element in `CdkTable`. */\n this.needsPositionStickyOnElement = false;\n }\n ngOnInit() {\n super.ngOnInit();\n // After ngOnInit, the `CdkTable` has created and inserted the table sections (thead, tbody,\n // tfoot). MDC requires the `mdc-data-table__content` class to be added to the body. Note that\n // this only applies to native tables, because we don't wrap the content of flexbox-based ones.\n if (this._isNativeHtmlTable) {\n const tbody = this._elementRef.nativeElement.querySelector('tbody');\n tbody.classList.add('mdc-data-table__content');\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTable, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatTable, selector: \"mat-table, table[mat-table]\", host: { attributes: { \"ngSkipHydration\": \"\" }, properties: { \"class.mdc-table-fixed-layout\": \"fixedLayout\" }, classAttribute: \"mat-mdc-table mdc-data-table__table\" }, providers: [\n { provide: CdkTable, useExisting: MatTable },\n { provide: CDK_TABLE, useExisting: MatTable },\n { provide: _COALESCED_STYLE_SCHEDULER, useClass: _CoalescedStyleScheduler },\n // TODO(michaeljamesparsons) Abstract the view repeater strategy to a directive API so this code\n // is only included in the build if used.\n { provide: _VIEW_REPEATER_STRATEGY, useClass: _DisposeViewRepeaterStrategy },\n // Prevent nested tables from seeing this table's StickyPositioningListener.\n { provide: STICKY_POSITIONING_LISTENER, useValue: null },\n ], exportAs: [\"matTable\"], usesInheritance: true, ngImport: i0, template: \"\\n <ng-content select=\\\"caption\\\"></ng-content>\\n <ng-content select=\\\"colgroup, col\\\"></ng-content>\\n <ng-container headerRowOutlet></ng-container>\\n <ng-container rowOutlet></ng-container>\\n <ng-container noDataRowOutlet></ng-container>\\n <ng-container footerRowOutlet></ng-container>\\n\", isInline: true, styles: [\".mdc-data-table{border-radius:var(--mdc-shape-medium, 4px);border-width:1px;border-style:solid}.mdc-data-table .mdc-data-table__header-cell:first-child{border-top-left-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table .mdc-data-table__header-cell:first-child,.mdc-data-table .mdc-data-table__header-cell:first-child[dir=rtl]{border-top-right-radius:var(--mdc-shape-medium, 4px);border-top-left-radius:0}.mdc-data-table .mdc-data-table__header-cell:last-child{border-top-right-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table .mdc-data-table__header-cell:last-child,.mdc-data-table .mdc-data-table__header-cell:last-child[dir=rtl]{border-top-left-radius:var(--mdc-shape-medium, 4px);border-top-right-radius:0}.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child{border-bottom-left-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child,.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child[dir=rtl]{border-bottom-right-radius:var(--mdc-shape-medium, 4px);border-bottom-left-radius:0}.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child{border-bottom-right-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child,.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child[dir=rtl]{border-bottom-left-radius:var(--mdc-shape-medium, 4px);border-bottom-right-radius:0}.mdc-data-table__cell,.mdc-data-table__header-cell{border-bottom-width:1px;border-bottom-style:solid}.mdc-data-table__pagination{border-top-width:1px;border-top-style:solid}.mdc-data-table__row:last-child .mdc-data-table__cell{border-bottom:none}.mdc-data-table__row{height:52px}.mdc-data-table__pagination{min-height:52px}.mdc-data-table__header-row{height:56px}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__cell--checkbox{width:1px}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__header-cell--checkbox{width:1px}.mdc-data-table__sort-icon-button{width:28px;height:28px;padding:2px;transform:rotate(0.0001deg);margin-left:4px;margin-right:0;opacity:0}.mdc-data-table__sort-icon-button .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:28px;height:28px;margin-top:0px;margin-bottom:0px;margin-right:0px;margin-left:0px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:28px;left:50%;width:28px;transform:translate(-50%, -50%)}[dir=rtl] .mdc-data-table__sort-icon-button,.mdc-data-table__sort-icon-button[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__header-cell--sorted-descending .mdc-data-table__sort-icon-button{transform:rotate(-180deg)}.mdc-data-table__sort-icon-button:focus,.mdc-data-table__header-cell:hover .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button{opacity:1}.mdc-data-table__header-cell--with-sort{cursor:pointer}.mdc-data-table__sort-status-label{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.mdc-data-table--sticky-header .mdc-data-table__header-cell{position:sticky;top:0;z-index:1}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__pagination{box-sizing:border-box;display:flex;justify-content:flex-end}.mdc-data-table__pagination-trailing{margin-left:4px;margin-right:0;align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end}[dir=rtl] .mdc-data-table__pagination-trailing,.mdc-data-table__pagination-trailing[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__pagination-navigation{align-items:center;display:flex}.mdc-data-table__pagination-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__pagination-button .mdc-button__icon,.mdc-data-table__pagination-button .mdc-button__icon[dir=rtl]{transform:rotate(180deg)}[dir=rtl] .mdc-data-table__pagination-button,.mdc-data-table__pagination-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__pagination-total{margin-left:14px;margin-right:36px;white-space:nowrap}[dir=rtl] .mdc-data-table__pagination-total,.mdc-data-table__pagination-total[dir=rtl]{margin-left:36px;margin-right:14px}.mdc-data-table__pagination-rows-per-page{margin-left:0;margin-right:22px;align-items:center;display:inline-flex}[dir=rtl] .mdc-data-table__pagination-rows-per-page,.mdc-data-table__pagination-rows-per-page[dir=rtl]{margin-left:22px;margin-right:0}.mdc-data-table__pagination-rows-per-page-label{margin-left:0;margin-right:12px;white-space:nowrap}[dir=rtl] .mdc-data-table__pagination-rows-per-page-label,.mdc-data-table__pagination-rows-per-page-label[dir=rtl]{margin-left:12px;margin-right:0}.mdc-data-table__pagination-rows-per-page-select{min-width:var(--mdc-menu-min-width, 80px);margin:8px 0}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor{width:100%;min-width:80px}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor{height:36px}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-floating-label--float-above{font-size:.75rem}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-data-table__pagination-rows-per-page-select .mdc-select__dropdown-icon{width:20px;height:20px}.mdc-data-table__pagination-rows-per-page-select.mdc-select--outlined .mdc-select__anchor :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 56px)}.mdc-data-table__pagination-rows-per-page-select .mdc-list-item.mdc-list-item--with-one-line{height:36px}.mdc-data-table__progress-indicator{display:none;position:absolute;width:100%}.mdc-data-table--in-progress .mdc-data-table__progress-indicator{display:block}.mdc-data-table__scrim{background-color:var(--mdc-theme-surface, #fff);height:100%;opacity:.32;position:absolute;top:0;width:100%}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table-sticky{position:sticky !important}.mat-mdc-table{table-layout:auto;white-space:normal}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table .mat-mdc-row:hover,.mat-mdc-table .mat-mdc-footer-row:hover{background-color:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}\"], dependencies: [{ kind: \"directive\", type: i1.DataRowOutlet, selector: \"[rowOutlet]\" }, { kind: \"directive\", type: i1.HeaderRowOutlet, selector: \"[headerRowOutlet]\" }, { kind: \"directive\", type: i1.FooterRowOutlet, selector: \"[footerRowOutlet]\" }, { kind: \"directive\", type: i1.NoDataRowOutlet, selector: \"[noDataRowOutlet]\" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTable, decorators: [{\n type: Component,\n args: [{ selector: 'mat-table, table[mat-table]', exportAs: 'matTable', template: CDK_TABLE_TEMPLATE, host: {\n 'class': 'mat-mdc-table mdc-data-table__table',\n '[class.mdc-table-fixed-layout]': 'fixedLayout',\n 'ngSkipHydration': '',\n }, providers: [\n { provide: CdkTable, useExisting: MatTable },\n { provide: CDK_TABLE, useExisting: MatTable },\n { provide: _COALESCED_STYLE_SCHEDULER, useClass: _CoalescedStyleScheduler },\n // TODO(michaeljamesparsons) Abstract the view repeater strategy to a directive API so this code\n // is only included in the build if used.\n { provide: _VIEW_REPEATER_STRATEGY, useClass: _DisposeViewRepeaterStrategy },\n // Prevent nested tables from seeing this table's StickyPositioningListener.\n { provide: STICKY_POSITIONING_LISTENER, useValue: null },\n ], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, styles: [\".mdc-data-table{border-radius:var(--mdc-shape-medium, 4px);border-width:1px;border-style:solid}.mdc-data-table .mdc-data-table__header-cell:first-child{border-top-left-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table .mdc-data-table__header-cell:first-child,.mdc-data-table .mdc-data-table__header-cell:first-child[dir=rtl]{border-top-right-radius:var(--mdc-shape-medium, 4px);border-top-left-radius:0}.mdc-data-table .mdc-data-table__header-cell:last-child{border-top-right-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table .mdc-data-table__header-cell:last-child,.mdc-data-table .mdc-data-table__header-cell:last-child[dir=rtl]{border-top-left-radius:var(--mdc-shape-medium, 4px);border-top-right-radius:0}.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child{border-bottom-left-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child,.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child[dir=rtl]{border-bottom-right-radius:var(--mdc-shape-medium, 4px);border-bottom-left-radius:0}.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child{border-bottom-right-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child,.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child[dir=rtl]{border-bottom-left-radius:var(--mdc-shape-medium, 4px);border-bottom-right-radius:0}.mdc-data-table__cell,.mdc-data-table__header-cell{border-bottom-width:1px;border-bottom-style:solid}.mdc-data-table__pagination{border-top-width:1px;border-top-style:solid}.mdc-data-table__row:last-child .mdc-data-table__cell{border-bottom:none}.mdc-data-table__row{height:52px}.mdc-data-table__pagination{min-height:52px}.mdc-data-table__header-row{height:56px}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__cell--checkbox{width:1px}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__header-cell--checkbox{width:1px}.mdc-data-table__sort-icon-button{width:28px;height:28px;padding:2px;transform:rotate(0.0001deg);margin-left:4px;margin-right:0;opacity:0}.mdc-data-table__sort-icon-button .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:28px;height:28px;margin-top:0px;margin-bottom:0px;margin-right:0px;margin-left:0px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:28px;left:50%;width:28px;transform:translate(-50%, -50%)}[dir=rtl] .mdc-data-table__sort-icon-button,.mdc-data-table__sort-icon-button[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__header-cell--sorted-descending .mdc-data-table__sort-icon-button{transform:rotate(-180deg)}.mdc-data-table__sort-icon-button:focus,.mdc-data-table__header-cell:hover .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button{opacity:1}.mdc-data-table__header-cell--with-sort{cursor:pointer}.mdc-data-table__sort-status-label{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.mdc-data-table--sticky-header .mdc-data-table__header-cell{position:sticky;top:0;z-index:1}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__pagination{box-sizing:border-box;display:flex;justify-content:flex-end}.mdc-data-table__pagination-trailing{margin-left:4px;margin-right:0;align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end}[dir=rtl] .mdc-data-table__pagination-trailing,.mdc-data-table__pagination-trailing[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__pagination-navigation{align-items:center;display:flex}.mdc-data-table__pagination-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__pagination-button .mdc-button__icon,.mdc-data-table__pagination-button .mdc-button__icon[dir=rtl]{transform:rotate(180deg)}[dir=rtl] .mdc-data-table__pagination-button,.mdc-data-table__pagination-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__pagination-total{margin-left:14px;margin-right:36px;white-space:nowrap}[dir=rtl] .mdc-data-table__pagination-total,.mdc-data-table__pagination-total[dir=rtl]{margin-left:36px;margin-right:14px}.mdc-data-table__pagination-rows-per-page{margin-left:0;margin-right:22px;align-items:center;display:inline-flex}[dir=rtl] .mdc-data-table__pagination-rows-per-page,.mdc-data-table__pagination-rows-per-page[dir=rtl]{margin-left:22px;margin-right:0}.mdc-data-table__pagination-rows-per-page-label{margin-left:0;margin-right:12px;white-space:nowrap}[dir=rtl] .mdc-data-table__pagination-rows-per-page-label,.mdc-data-table__pagination-rows-per-page-label[dir=rtl]{margin-left:12px;margin-right:0}.mdc-data-table__pagination-rows-per-page-select{min-width:var(--mdc-menu-min-width, 80px);margin:8px 0}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor{width:100%;min-width:80px}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor{height:36px}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-floating-label--float-above{font-size:.75rem}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-data-table__pagination-rows-per-page-select .mdc-select__dropdown-icon{width:20px;height:20px}.mdc-data-table__pagination-rows-per-page-select.mdc-select--outlined .mdc-select__anchor :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 56px)}.mdc-data-table__pagination-rows-per-page-select .mdc-list-item.mdc-list-item--with-one-line{height:36px}.mdc-data-table__progress-indicator{display:none;position:absolute;width:100%}.mdc-data-table--in-progress .mdc-data-table__progress-indicator{display:block}.mdc-data-table__scrim{background-color:var(--mdc-theme-surface, #fff);height:100%;opacity:.32;position:absolute;top:0;width:100%}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table-sticky{position:sticky !important}.mat-mdc-table{table-layout:auto;white-space:normal}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table .mat-mdc-row:hover,.mat-mdc-table .mat-mdc-footer-row:hover{background-color:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}\"] }]\n }] });\n\n/**\n * Cell definition for the mat-table.\n * Captures the template of a column's data row cell as well as cell-specific properties.\n */\nclass MatCellDef extends CdkCellDef {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatCellDef, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatCellDef, selector: \"[matCellDef]\", providers: [{ provide: CdkCellDef, useExisting: MatCellDef }], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatCellDef, decorators: [{\n type: Directive,\n args: [{\n selector: '[matCellDef]',\n providers: [{ provide: CdkCellDef, useExisting: MatCellDef }],\n }]\n }] });\n/**\n * Header cell definition for the mat-table.\n * Captures the template of a column's header cell and as well as cell-specific properties.\n */\nclass MatHeaderCellDef extends CdkHeaderCellDef {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatHeaderCellDef, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatHeaderCellDef, selector: \"[matHeaderCellDef]\", providers: [{ provide: CdkHeaderCellDef, useExisting: MatHeaderCellDef }], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatHeaderCellDef, decorators: [{\n type: Directive,\n args: [{\n selector: '[matHeaderCellDef]',\n providers: [{ provide: CdkHeaderCellDef, useExisting: MatHeaderCellDef }],\n }]\n }] });\n/**\n * Footer cell definition for the mat-table.\n * Captures the template of a column's footer cell and as well as cell-specific properties.\n */\nclass MatFooterCellDef extends CdkFooterCellDef {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatFooterCellDef, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatFooterCellDef, selector: \"[matFooterCellDef]\", providers: [{ provide: CdkFooterCellDef, useExisting: MatFooterCellDef }], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatFooterCellDef, decorators: [{\n type: Directive,\n args: [{\n selector: '[matFooterCellDef]',\n providers: [{ provide: CdkFooterCellDef, useExisting: MatFooterCellDef }],\n }]\n }] });\n/**\n * Column definition for the mat-table.\n * Defines a set of cells available for a table column.\n */\nclass MatColumnDef extends CdkColumnDef {\n /** Unique name for this column. */\n get name() {\n return this._name;\n }\n set name(name) {\n this._setNameInput(name);\n }\n /**\n * Add \"mat-column-\" prefix in addition to \"cdk-column-\" prefix.\n * In the future, this will only add \"mat-column-\" and columnCssClassName\n * will change from type string[] to string.\n * @docs-private\n */\n _updateColumnCssClassName() {\n super._updateColumnCssClassName();\n this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatColumnDef, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatColumnDef, selector: \"[matColumnDef]\", inputs: { sticky: \"sticky\", name: [\"matColumnDef\", \"name\"] }, providers: [\n { provide: CdkColumnDef, useExisting: MatColumnDef },\n { provide: 'MAT_SORT_HEADER_COLUMN_DEF', useExisting: MatColumnDef },\n ], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatColumnDef, decorators: [{\n type: Directive,\n args: [{\n selector: '[matColumnDef]',\n inputs: ['sticky'],\n providers: [\n { provide: CdkColumnDef, useExisting: MatColumnDef },\n { provide: 'MAT_SORT_HEADER_COLUMN_DEF', useExisting: MatColumnDef },\n ],\n }]\n }], propDecorators: { name: [{\n type: Input,\n args: ['matColumnDef']\n }] } });\n/** Header cell template container that adds the right classes and role. */\nclass MatHeaderCell extends CdkHeaderCell {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatHeaderCell, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatHeaderCell, selector: \"mat-header-cell, th[mat-header-cell]\", host: { attributes: { \"role\": \"columnheader\" }, classAttribute: \"mat-mdc-header-cell mdc-data-table__header-cell\" }, usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatHeaderCell, decorators: [{\n type: Directive,\n args: [{\n selector: 'mat-header-cell, th[mat-header-cell]',\n host: {\n 'class': 'mat-mdc-header-cell mdc-data-table__header-cell',\n 'role': 'columnheader',\n },\n }]\n }] });\n/** Footer cell template container that adds the right classes and role. */\nclass MatFooterCell extends CdkFooterCell {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatFooterCell, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatFooterCell, selector: \"mat-footer-cell, td[mat-footer-cell]\", host: { classAttribute: \"mat-mdc-footer-cell mdc-data-table__cell\" }, usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatFooterCell, decorators: [{\n type: Directive,\n args: [{\n selector: 'mat-footer-cell, td[mat-footer-cell]',\n host: {\n 'class': 'mat-mdc-footer-cell mdc-data-table__cell',\n },\n }]\n }] });\n/** Cell template container that adds the right classes and role. */\nclass MatCell extends CdkCell {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatCell, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatCell, selector: \"mat-cell, td[mat-cell]\", host: { classAttribute: \"mat-mdc-cell mdc-data-table__cell\" }, usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatCell, decorators: [{\n type: Directive,\n args: [{\n selector: 'mat-cell, td[mat-cell]',\n host: {\n 'class': 'mat-mdc-cell mdc-data-table__cell',\n },\n }]\n }] });\n\n/**\n * Header row definition for the mat-table.\n * Captures the header row's template and other header properties such as the columns to display.\n */\nclass MatHeaderRowDef extends CdkHeaderRowDef {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatHeaderRowDef, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatHeaderRowDef, selector: \"[matHeaderRowDef]\", inputs: { columns: [\"matHeaderRowDef\", \"columns\"], sticky: [\"matHeaderRowDefSticky\", \"sticky\"] }, providers: [{ provide: CdkHeaderRowDef, useExisting: MatHeaderRowDef }], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatHeaderRowDef, decorators: [{\n type: Directive,\n args: [{\n selector: '[matHeaderRowDef]',\n providers: [{ provide: CdkHeaderRowDef, useExisting: MatHeaderRowDef }],\n inputs: ['columns: matHeaderRowDef', 'sticky: matHeaderRowDefSticky'],\n }]\n }] });\n/**\n * Footer row definition for the mat-table.\n * Captures the footer row's template and other footer properties such as the columns to display.\n */\nclass MatFooterRowDef extends CdkFooterRowDef {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatFooterRowDef, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatFooterRowDef, selector: \"[matFooterRowDef]\", inputs: { columns: [\"matFooterRowDef\", \"columns\"], sticky: [\"matFooterRowDefSticky\", \"sticky\"] }, providers: [{ provide: CdkFooterRowDef, useExisting: MatFooterRowDef }], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatFooterRowDef, decorators: [{\n type: Directive,\n args: [{\n selector: '[matFooterRowDef]',\n providers: [{ provide: CdkFooterRowDef, useExisting: MatFooterRowDef }],\n inputs: ['columns: matFooterRowDef', 'sticky: matFooterRowDefSticky'],\n }]\n }] });\n/**\n * Data row definition for the mat-table.\n * Captures the data row's template and other properties such as the columns to display and\n * a when predicate that describes when this row should be used.\n */\nclass MatRowDef extends CdkRowDef {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatRowDef, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatRowDef, selector: \"[matRowDef]\", inputs: { columns: [\"matRowDefColumns\", \"columns\"], when: [\"matRowDefWhen\", \"when\"] }, providers: [{ provide: CdkRowDef, useExisting: MatRowDef }], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatRowDef, decorators: [{\n type: Directive,\n args: [{\n selector: '[matRowDef]',\n providers: [{ provide: CdkRowDef, useExisting: MatRowDef }],\n inputs: ['columns: matRowDefColumns', 'when: matRowDefWhen'],\n }]\n }] });\n/** Header template container that contains the cell outlet. Adds the right class and role. */\nclass MatHeaderRow extends CdkHeaderRow {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatHeaderRow, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatHeaderRow, selector: \"mat-header-row, tr[mat-header-row]\", host: { attributes: { \"role\": \"row\" }, classAttribute: \"mat-mdc-header-row mdc-data-table__header-row\" }, providers: [{ provide: CdkHeaderRow, useExisting: MatHeaderRow }], exportAs: [\"matHeaderRow\"], usesInheritance: true, ngImport: i0, template: \"<ng-container cdkCellOutlet></ng-container>\", isInline: true, dependencies: [{ kind: \"directive\", type: i1.CdkCellOutlet, selector: \"[cdkCellOutlet]\" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatHeaderRow, decorators: [{\n type: Component,\n args: [{\n selector: 'mat-header-row, tr[mat-header-row]',\n template: CDK_ROW_TEMPLATE,\n host: {\n 'class': 'mat-mdc-header-row mdc-data-table__header-row',\n 'role': 'row',\n },\n // See note on CdkTable for explanation on why this uses the default change detection strategy.\n // tslint:disable-next-line:validate-decorators\n changeDetection: ChangeDetectionStrategy.Default,\n encapsulation: ViewEncapsulation.None,\n exportAs: 'matHeaderRow',\n providers: [{ provide: CdkHeaderRow, useExisting: MatHeaderRow }],\n }]\n }] });\n/** Footer template container that contains the cell outlet. Adds the right class and role. */\nclass MatFooterRow extends CdkFooterRow {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatFooterRow, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatFooterRow, selector: \"mat-footer-row, tr[mat-footer-row]\", host: { attributes: { \"role\": \"row\" }, classAttribute: \"mat-mdc-footer-row mdc-data-table__row\" }, providers: [{ provide: CdkFooterRow, useExisting: MatFooterRow }], exportAs: [\"matFooterRow\"], usesInheritance: true, ngImport: i0, template: \"<ng-container cdkCellOutlet></ng-container>\", isInline: true, dependencies: [{ kind: \"directive\", type: i1.CdkCellOutlet, selector: \"[cdkCellOutlet]\" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatFooterRow, decorators: [{\n type: Component,\n args: [{\n selector: 'mat-footer-row, tr[mat-footer-row]',\n template: CDK_ROW_TEMPLATE,\n host: {\n 'class': 'mat-mdc-footer-row mdc-data-table__row',\n 'role': 'row',\n },\n // See note on CdkTable for explanation on why this uses the default change detection strategy.\n // tslint:disable-next-line:validate-decorators\n changeDetection: ChangeDetectionStrategy.Default,\n encapsulation: ViewEncapsulation.None,\n exportAs: 'matFooterRow',\n providers: [{ provide: CdkFooterRow, useExisting: MatFooterRow }],\n }]\n }] });\n/** Data row template container that contains the cell outlet. Adds the right class and role. */\nclass MatRow extends CdkRow {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatRow, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatRow, selector: \"mat-row, tr[mat-row]\", host: { attributes: { \"role\": \"row\" }, classAttribute: \"mat-mdc-row mdc-data-table__row\" }, providers: [{ provide: CdkRow, useExisting: MatRow }], exportAs: [\"matRow\"], usesInheritance: true, ngImport: i0, template: \"<ng-container cdkCellOutlet></ng-container>\", isInline: true, dependencies: [{ kind: \"directive\", type: i1.CdkCellOutlet, selector: \"[cdkCellOutlet]\" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatRow, decorators: [{\n type: Component,\n args: [{\n selector: 'mat-row, tr[mat-row]',\n template: CDK_ROW_TEMPLATE,\n host: {\n 'class': 'mat-mdc-row mdc-data-table__row',\n 'role': 'row',\n },\n // See note on CdkTable for explanation on why this uses the default change detection strategy.\n // tslint:disable-next-line:validate-decorators\n changeDetection: ChangeDetectionStrategy.Default,\n encapsulation: ViewEncapsulation.None,\n exportAs: 'matRow',\n providers: [{ provide: CdkRow, useExisting: MatRow }],\n }]\n }] });\n/** Row that can be used to display a message when no data is shown in the table. */\nclass MatNoDataRow extends CdkNoDataRow {\n constructor() {\n super(...arguments);\n this._contentClassName = 'mat-mdc-no-data-row';\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatNoDataRow, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatNoDataRow, selector: \"ng-template[matNoDataRow]\", providers: [{ provide: CdkNoDataRow, useExisting: MatNoDataRow }], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatNoDataRow, decorators: [{\n type: Directive,\n args: [{\n selector: 'ng-template[matNoDataRow]',\n providers: [{ provide: CdkNoDataRow, useExisting: MatNoDataRow }],\n }]\n }] });\n\n/**\n * Column that simply shows text content for the header and row cells. Assumes that the table\n * is using the native table implementation (`<table>`).\n *\n * By default, the name of this column will be the header text and data property accessor.\n * The header text can be overridden with the `headerText` input. Cell values can be overridden with\n * the `dataAccessor` input. Change the text justification to the start or end using the `justify`\n * input.\n */\nclass MatTextColumn extends CdkTextColumn {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTextColumn, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatTextColumn, selector: \"mat-text-column\", usesInheritance: true, ngImport: i0, template: `\n <ng-container matColumnDef>\n <th mat-header-cell *matHeaderCellDef [style.text-align]=\"justify\">\n {{headerText}}\n </th>\n <td mat-cell *matCellDef=\"let data\" [style.text-align]=\"justify\">\n {{dataAccessor(data, name)}}\n </td>\n </ng-container>\n `, isInline: true, dependencies: [{ kind: \"directive\", type: MatHeaderCellDef, selector: \"[matHeaderCellDef]\" }, { kind: \"directive\", type: MatColumnDef, selector: \"[matColumnDef]\", inputs: [\"sticky\", \"matColumnDef\"] }, { kind: \"directive\", type: MatCellDef, selector: \"[matCellDef]\" }, { kind: \"directive\", type: MatHeaderCell, selector: \"mat-header-cell, th[mat-header-cell]\" }, { kind: \"directive\", type: MatCell, selector: \"mat-cell, td[mat-cell]\" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTextColumn, decorators: [{\n type: Component,\n args: [{\n selector: 'mat-text-column',\n template: `\n <ng-container matColumnDef>\n <th mat-header-cell *matHeaderCellDef [style.text-align]=\"justify\">\n {{headerText}}\n </th>\n <td mat-cell *matCellDef=\"let data\" [style.text-align]=\"justify\">\n {{dataAccessor(data, name)}}\n </td>\n </ng-container>\n `,\n encapsulation: ViewEncapsulation.None,\n // Change detection is intentionally not set to OnPush. This component's template will be provided\n // to the table to be inserted into its view. This is problematic when change detection runs since\n // the bindings in this template will be evaluated _after_ the table's view is evaluated, which\n // mean's the template in the table's view will not have the updated value (and in fact will cause\n // an ExpressionChangedAfterItHasBeenCheckedError).\n // tslint:disable-next-line:validate-decorators\n changeDetection: ChangeDetectionStrategy.Default,\n }]\n }] });\n\nconst EXPORTED_DECLARATIONS = [\n // Table\n MatTable,\n MatRecycleRows,\n // Template defs\n MatHeaderCellDef,\n MatHeaderRowDef,\n MatColumnDef,\n MatCellDef,\n MatRowDef,\n MatFooterCellDef,\n MatFooterRowDef,\n // Cell directives\n MatHeaderCell,\n MatCell,\n MatFooterCell,\n // Row directives\n MatHeaderRow,\n MatRow,\n MatFooterRow,\n MatNoDataRow,\n MatTextColumn,\n];\nclass MatTableModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTableModule, declarations: [\n // Table\n MatTable,\n MatRecycleRows,\n // Template defs\n MatHeaderCellDef,\n MatHeaderRowDef,\n MatColumnDef,\n MatCellDef,\n MatRowDef,\n MatFooterCellDef,\n MatFooterRowDef,\n // Cell directives\n MatHeaderCell,\n MatCell,\n MatFooterCell,\n // Row directives\n MatHeaderRow,\n MatRow,\n MatFooterRow,\n MatNoDataRow,\n MatTextColumn], imports: [MatCommonModule, CdkTableModule], exports: [MatCommonModule, \n // Table\n MatTable,\n MatRecycleRows,\n // Template defs\n MatHeaderCellDef,\n MatHeaderRowDef,\n MatColumnDef,\n MatCellDef,\n MatRowDef,\n MatFooterCellDef,\n MatFooterRowDef,\n // Cell directives\n MatHeaderCell,\n MatCell,\n MatFooterCell,\n // Row directives\n MatHeaderRow,\n MatRow,\n MatFooterRow,\n MatNoDataRow,\n MatTextColumn] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTableModule, imports: [MatCommonModule, CdkTableModule, MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTableModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [MatCommonModule, CdkTableModule],\n exports: [MatCommonModule, EXPORTED_DECLARATIONS],\n declarations: EXPORTED_DECLARATIONS,\n }]\n }] });\n\n/**\n * Corresponds to `Number.MAX_SAFE_INTEGER`. Moved out into a variable here due to\n * flaky browser support and the value not being defined in Closure's typings.\n */\nconst MAX_SAFE_INTEGER = 9007199254740991;\n/** Shared base class with MDC-based implementation. */\nclass _MatTableDataSource extends DataSource {\n /** Array of data that should be rendered by the table, where each object represents one row. */\n get data() {\n return this._data.value;\n }\n set data(data) {\n data = Array.isArray(data) ? data : [];\n this._data.next(data);\n // Normally the `filteredData` is updated by the re-render\n // subscription, but that won't happen if it's inactive.\n if (!this._renderChangesSubscription) {\n this._filterData(data);\n }\n }\n /**\n * Filter term that should be used to filter out objects from the data array. To override how\n * data objects match to this filter string, provide a custom function for filterPredicate.\n */\n get filter() {\n return this._filter.value;\n }\n set filter(filter) {\n this._filter.next(filter);\n // Normally the `filteredData` is updated by the re-render\n // subscription, but that won't happen if it's inactive.\n if (!this._renderChangesSubscription) {\n this._filterData(this.data);\n }\n }\n /**\n * Instance of the MatSort directive used by the table to control its sorting. Sort changes\n * emitted by the MatSort will trigger an update to the table's rendered data.\n */\n get sort() {\n return this._sort;\n }\n set sort(sort) {\n this._sort = sort;\n this._updateChangeSubscription();\n }\n /**\n * Instance of the paginator component used by the table to control what page of the data is\n * displayed. Page changes emitted by the paginator will trigger an update to the\n * table's rendered data.\n *\n * Note that the data source uses the paginator's properties to calculate which page of data\n * should be displayed. If the paginator receives its properties as template inputs,\n * e.g. `[pageLength]=100` or `[pageIndex]=1`, then be sure that the paginator's view has been\n * initialized before assigning it to this data source.\n */\n get paginator() {\n return this._paginator;\n }\n set paginator(paginator) {\n this._paginator = paginator;\n this._updateChangeSubscription();\n }\n constructor(initialData = []) {\n super();\n /** Stream emitting render data to the table (depends on ordered data changes). */\n this._renderData = new BehaviorSubject([]);\n /** Stream that emits when a new filter string is set on the data source. */\n this._filter = new BehaviorSubject('');\n /** Used to react to internal changes of the paginator that are made by the data source itself. */\n this._internalPageChanges = new Subject();\n /**\n * Subscription to the changes that should trigger an update to the table's rendered rows, such\n * as filtering, sorting, pagination, or base data changes.\n */\n this._renderChangesSubscription = null;\n /**\n * Data accessor function that is used for accessing data properties for sorting through\n * the default sortData function.\n * This default function assumes that the sort header IDs (which defaults to the column name)\n * matches the data's properties (e.g. column Xyz represents data['Xyz']).\n * May be set to a custom function for different behavior.\n * @param data Data object that is being accessed.\n * @param sortHeaderId The name of the column that represents the data.\n */\n this.sortingDataAccessor = (data, sortHeaderId) => {\n const value = data[sortHeaderId];\n if (_isNumberValue(value)) {\n const numberValue = Number(value);\n // Numbers beyond `MAX_SAFE_INTEGER` can't be compared reliably so we\n // leave them as strings. For more info: https://goo.gl/y5vbSg\n return numberValue < MAX_SAFE_INTEGER ? numberValue : value;\n }\n return value;\n };\n /**\n * Gets a sorted copy of the data array based on the state of the MatSort. Called\n * after changes are made to the filtered data or when sort changes are emitted from MatSort.\n * By default, the function retrieves the active sort and its direction and compares data\n * by retrieving data using the sortingDataAccessor. May be overridden for a custom implementation\n * of data ordering.\n * @param data The array of data that should be sorted.\n * @param sort The connected MatSort that holds the current sort state.\n */\n this.sortData = (data, sort) => {\n const active = sort.active;\n const direction = sort.direction;\n if (!active || direction == '') {\n return data;\n }\n return data.sort((a, b) => {\n let valueA = this.sortingDataAccessor(a, active);\n let valueB = this.sortingDataAccessor(b, active);\n // If there are data in the column that can be converted to a number,\n // it must be ensured that the rest of the data\n // is of the same type so as not to order incorrectly.\n const valueAType = typeof valueA;\n const valueBType = typeof valueB;\n if (valueAType !== valueBType) {\n if (valueAType === 'number') {\n valueA += '';\n }\n if (valueBType === 'number') {\n valueB += '';\n }\n }\n // If both valueA and valueB exist (truthy), then compare the two. Otherwise, check if\n // one value exists while the other doesn't. In this case, existing value should come last.\n // This avoids inconsistent results when comparing values to undefined/null.\n // If neither value exists, return 0 (equal).\n let comparatorResult = 0;\n if (valueA != null && valueB != null) {\n // Check if one value is greater than the other; if equal, comparatorResult should remain 0.\n if (valueA > valueB) {\n comparatorResult = 1;\n }\n else if (valueA < valueB) {\n comparatorResult = -1;\n }\n }\n else if (valueA != null) {\n comparatorResult = 1;\n }\n else if (valueB != null) {\n comparatorResult = -1;\n }\n return comparatorResult * (direction == 'asc' ? 1 : -1);\n });\n };\n /**\n * Checks if a data object matches the data source's filter string. By default, each data object\n * is converted to a string of its properties and returns true if the filter has\n * at least one occurrence in that string. By default, the filter string has its whitespace\n * trimmed and the match is case-insensitive. May be overridden for a custom implementation of\n * filter matching.\n * @param data Data object used to check against the filter.\n * @param filter Filter string that has been set on the data source.\n * @returns Whether the filter matches against the data\n */\n this.filterPredicate = (data, filter) => {\n // Transform the data into a lowercase string of all property values.\n const dataStr = Object.keys(data)\n .reduce((currentTerm, key) => {\n // Use an obscure Unicode character to delimit the words in the concatenated string.\n // This avoids matches where the values of two columns combined will match the user's query\n // (e.g. `Flute` and `Stop` will match `Test`). The character is intended to be something\n // that has a very low chance of being typed in by somebody in a text field. This one in\n // particular is \"White up-pointing triangle with dot\" from\n // https://en.wikipedia.org/wiki/List_of_Unicode_characters\n return currentTerm + data[key] + '◬';\n }, '')\n .toLowerCase();\n // Transform the filter by converting it to lowercase and removing whitespace.\n const transformedFilter = filter.trim().toLowerCase();\n return dataStr.indexOf(transformedFilter) != -1;\n };\n this._data = new BehaviorSubject(initialData);\n this._updateChangeSubscription();\n }\n /**\n * Subscribe to changes that should trigger an update to the table's rendered rows. When the\n * changes occur, process the current state of the filter, sort, and pagination along with\n * the provided base data and send it to the table for rendering.\n */\n _updateChangeSubscription() {\n // Sorting and/or pagination should be watched if sort and/or paginator are provided.\n // The events should emit whenever the component emits a change or initializes, or if no\n // component is provided, a stream with just a null event should be provided.\n // The `sortChange` and `pageChange` acts as a signal to the combineLatests below so that the\n // pipeline can progress to the next step. Note that the value from these streams are not used,\n // they purely act as a signal to progress in the pipeline.\n const sortChange = this._sort\n ? merge(this._sort.sortChange, this._sort.initialized)\n : of(null);\n const pageChange = this._paginator\n ? merge(this._paginator.page, this._internalPageChanges, this._paginator.initialized)\n : of(null);\n const dataStream = this._data;\n // Watch for base data or filter changes to provide a filtered set of data.\n const filteredData = combineLatest([dataStream, this._filter]).pipe(map(([data]) => this._filterData(data)));\n // Watch for filtered data or sort changes to provide an ordered set of data.\n const orderedData = combineLatest([filteredData, sortChange]).pipe(map(([data]) => this._orderData(data)));\n // Watch for ordered data or page changes to provide a paged set of data.\n const paginatedData = combineLatest([orderedData, pageChange]).pipe(map(([data]) => this._pageData(data)));\n // Watched for paged data changes and send the result to the table to render.\n this._renderChangesSubscription?.unsubscribe();\n this._renderChangesSubscription = paginatedData.subscribe(data => this._renderData.next(data));\n }\n /**\n * Returns a filtered data array where each filter object contains the filter string within\n * the result of the filterPredicate function. If no filter is set, returns the data array\n * as provided.\n */\n _filterData(data) {\n // If there is a filter string, filter out data that does not contain it.\n // Each data object is converted to a string using the function defined by filterPredicate.\n // May be overridden for customization.\n this.filteredData =\n this.filter == null || this.filter === ''\n ? data\n : data.filter(obj => this.filterPredicate(obj, this.filter));\n if (this.paginator) {\n this._updatePaginator(this.filteredData.length);\n }\n return this.filteredData;\n }\n /**\n * Returns a sorted copy of the data if MatSort has a sort applied, otherwise just returns the\n * data array as provided. Uses the default data accessor for data lookup, unless a\n * sortDataAccessor function is defined.\n */\n _orderData(data) {\n // If there is no active sort or direction, return the data without trying to sort.\n if (!this.sort) {\n return data;\n }\n return this.sortData(data.slice(), this.sort);\n }\n /**\n * Returns a paged slice of the provided data array according to the provided paginator's page\n * index and length. If there is no paginator provided, returns the data array as provided.\n */\n _pageData(data) {\n if (!this.paginator) {\n return data;\n }\n const startIndex = this.paginator.pageIndex * this.paginator.pageSize;\n return data.slice(startIndex, startIndex + this.paginator.pageSize);\n }\n /**\n * Updates the paginator to reflect the length of the filtered data, and makes sure that the page\n * index does not exceed the paginator's last page. Values are changed in a resolved promise to\n * guard against making property changes within a round of change detection.\n */\n _updatePaginator(filteredDataLength) {\n Promise.resolve().then(() => {\n const paginator = this.paginator;\n if (!paginator) {\n return;\n }\n paginator.length = filteredDataLength;\n // If the page index is set beyond the page, reduce it to the last page.\n if (paginator.pageIndex > 0) {\n const lastPageIndex = Math.ceil(paginator.length / paginator.pageSize) - 1 || 0;\n const newPageIndex = Math.min(paginator.pageIndex, lastPageIndex);\n if (newPageIndex !== paginator.pageIndex) {\n paginator.pageIndex = newPageIndex;\n // Since the paginator only emits after user-generated changes,\n // we need our own stream so we know to should re-render the data.\n this._internalPageChanges.next();\n }\n }\n });\n }\n /**\n * Used by the MatTable. Called when it connects to the data source.\n * @docs-private\n */\n connect() {\n if (!this._renderChangesSubscription) {\n this._updateChangeSubscription();\n }\n return this._renderData;\n }\n /**\n * Used by the MatTable. Called when it disconnects from the data source.\n * @docs-private\n */\n disconnect() {\n this._renderChangesSubscription?.unsubscribe();\n this._renderChangesSubscription = null;\n }\n}\n/**\n * Data source that accepts a client-side data array and includes native support of filtering,\n * sorting (using MatSort), and pagination (using MatPaginator).\n *\n * Allows for sort customization by overriding sortingDataAccessor, which defines how data\n * properties are accessed. Also allows for filter customization by overriding filterPredicate,\n * which defines how row data is converted to a string for filter matching.\n *\n * **Note:** This class is meant to be a simple data source to help you get started. As such\n * it isn't equipped to handle some more advanced cases like robust i18n support or server-side\n * interactions. If your app needs to support more advanced use cases, consider implementing your\n * own `DataSource`.\n */\nclass MatTableDataSource extends _MatTableDataSource {\n}\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MatCell, MatCellDef, MatColumnDef, MatFooterCell, MatFooterCellDef, MatFooterRow, MatFooterRowDef, MatHeaderCell, MatHeaderCellDef, MatHeaderRow, MatHeaderRowDef, MatNoDataRow, MatRecycleRows, MatRow, MatRowDef, MatTable, MatTableDataSource, MatTableModule, MatTextColumn, _MatTableDataSource };\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}","export default function _iterableToArrayLimit(arr, i) {\n var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"];\n if (null != _i) {\n var _s,\n _e,\n _x,\n _r,\n _arr = [],\n _n = !0,\n _d = !1;\n try {\n if (_x = (_i = _i.call(arr)).next, 0 === i) {\n if (Object(_i) !== _i) return;\n _n = !1;\n } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);\n } catch (err) {\n _d = !0, _e = err;\n } finally {\n try {\n if (!_n && null != _i[\"return\"] && (_r = _i[\"return\"](), Object(_r) !== _r)) return;\n } finally {\n if (_d) throw _e;\n }\n }\n return _arr;\n }\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40]} \ No newline at end of file diff --git a/3418.4255c9649af5eaf7.js b/3418.4255c9649af5eaf7.js new file mode 100644 index 0000000..db43730 --- /dev/null +++ b/3418.4255c9649af5eaf7.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[3418],{91640:(E,u,n)=>{n.d(u,{D:()=>e});var O=n(90833),l=n(45756),a=n(54987),o=n(10420),i=n(93945),t=n(58385),r=n(11054);function e(){for(var _=arguments.length,s=new Array(_),v=0;v<_;v++)s[v]=arguments[v];var f=(0,o.jO)(s),c=(0,l.D)(s),D=c.args,A=c.keys,P=new O.y(function(M){var p=D.length;if(p)for(var m=new Array(p),C=p,g=p,h=function(U){var y=!1;(0,a.Xf)(D[U]).subscribe((0,i.x)(M,function(K){y||(y=!0,g--),m[U]=K},function(){return C--},void 0,function(){(!C||!y)&&(g||M.next(A?(0,r.n)(A,m):m),M.complete())}))},d=0;d<p;d++)h(d);else M.complete()});return f?P.pipe((0,t.Z)(f)):P}},50635:(E,u,n)=>{n.d(u,{U:()=>a});var O=n(41944),l=n(93945);function a(o,i){return(0,O.e)(function(t,r){var e=0;t.subscribe((0,l.x)(r,function(_){r.next(o.call(i,_,e++))}))})}},32673:(E,u,n)=>{n.d(u,{w:()=>o});var O=n(54987),l=n(41944),a=n(93945);function o(i,t){return(0,l.e)(function(r,e){var _=null,s=0,v=!1,f=function(){return v&&!_&&e.complete()};r.subscribe((0,a.x)(e,function(c){_?.unsubscribe();var D=0,A=s++;(0,O.Xf)(i(c,A)).subscribe(_=(0,a.x)(e,function(P){return e.next(t?t(c,P,A,D++):P)},function(){_=null,f()}))},function(){v=!0,f()}))})}},45756:(E,u,n)=>{n.d(u,{D:()=>i});var O=Array.isArray,l=Object.getPrototypeOf,a=Object.prototype,o=Object.keys;function i(r){if(1===r.length){var e=r[0];if(O(e))return{args:e,keys:null};if(function t(r){return r&&"object"==typeof r&&l(r)===a}(e)){var _=o(e);return{args:_.map(function(s){return e[s]}),keys:_}}}return{args:r,keys:null}}},11054:(E,u,n)=>{function O(l,a){return l.reduce(function(o,i,t){return o[i]=a[t],o},{})}n.d(u,{n:()=>O})},58385:(E,u,n)=>{n.d(u,{Z:()=>i});var O=n(86170),l=n(50635),a=Array.isArray;function i(t){return(0,l.U)(function(r){return function o(t,r){return a(r)?t.apply(void 0,(0,O.Z)(r)):t(r)}(t,r)})}}}]); +//# sourceMappingURL=3418.4255c9649af5eaf7.js.map \ No newline at end of file diff --git a/3418.4255c9649af5eaf7.js.map b/3418.4255c9649af5eaf7.js.map new file mode 100644 index 0000000..17b1b86 --- /dev/null +++ b/3418.4255c9649af5eaf7.js.map @@ -0,0 +1 @@ +{"version":3,"file":"3418.4255c9649af5eaf7.js","mappings":"oLAOO,SAASA,IAAkB,QAAAC,EAAAC,UAAAC,OAANC,EAAI,IAAAC,MAAAJ,GAAAK,EAAA,EAAAA,EAAAL,EAAAK,IAAJF,EAAIE,GAAAJ,UAAAI,GAC5B,IAAMC,KAAiBC,MAAkBJ,GACzCK,KAAgCC,KAAqBN,GAAvCO,EAAOF,EAAbL,KAAeQ,EAAIH,EAAJG,KACjBC,EAAS,IAAIC,IAAW,SAACC,GAC3B,IAAQZ,EAAWQ,EAAXR,OACR,GAAKA,EAOL,QAHMa,EAAS,IAAIX,MAAMF,GACrBc,EAAuBd,EACvBe,EAAqBf,EAAOgB,EAAA,SAAAC,GAE5B,IAAIC,GAAW,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OAAc,CACnB,IAAMkD,EAAQjD,EAAK,GACnB,GAAI2C,EAAQM,GACR,MAAO,CAAEjD,KAAMiD,EAAOzC,KAAM,MAEhC,GAUR,SAAS0C,EAAOC,GACZ,OAAOA,GAAsB,iBAARA,GAAoBP,EAAeO,KAASL,CACrE,CAZYI,CAAOD,GAAQ,CACf,IAAMzC,EAAOwC,EAAQC,GACrB,MAAO,CACHjD,KAAMQ,EAAKoB,IAAI,SAACwB,GAAG,OAAKH,EAAMG,EAAI,GAClC5C,OACJ,EAGR,MAAO,CAAER,KAAMA,EAAMQ,KAAM,KAC/B,mBCjBO,SAASgB,EAAahB,EAAMI,GAC/B,OAAOJ,EAAK6C,OAAO,SAAC5C,EAAQ2C,EAAKE,GAAC,OAAO7C,EAAO2C,GAAOxC,EAAO0C,GAAK7C,CAAM,EAAG,CAAC,EACjF,8ECDQkC,EAAY1C,MAAZ0C,QAID,SAAShB,EAAiB4B,GAC7B,SAAO3B,KAAI,SAAA5B,GAAI,OAJnB,SAASwD,EAAYD,EAAIvD,GACrB,OAAO2C,EAAQ3C,GAAQuD,EAAEE,WAAA,KAAAC,KAAI1D,IAAQuD,EAAGvD,EAC5C,CAEuBwD,CAAYD,EAAIvD,EAAK,EAC5C","names":["forkJoin","_len","arguments","length","args","Array","_key","resultSelector","popResultSelector","_argsArgArrayOrObject","argsArgArrayOrObject","sources","keys","result","Observable","subscriber","values","remainingCompletions","remainingEmissions","_loop","sourceIndex","hasValue","innerFrom","subscribe","createOperatorSubscriber","value","undefined","next","createObject","complete","pipe","mapOneOrManyArgs","map","project","thisArg","operate","source","index","call","switchMap","innerSubscriber","isComplete","checkComplete","unsubscribe","innerIndex","outerIndex","innerValue","isArray","getPrototypeOf","Object","objectProto","prototype","getKeys","first","isPOJO","obj","key","reduce","i","fn","callOrApply","apply","_toConsumableArray"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/observable/forkJoin.js","./node_modules/rxjs/dist/esm/internal/operators/map.js","./node_modules/rxjs/dist/esm/internal/operators/switchMap.js","./node_modules/rxjs/dist/esm/internal/util/argsArgArrayOrObject.js","./node_modules/rxjs/dist/esm/internal/util/createObject.js","./node_modules/rxjs/dist/esm/internal/util/mapOneOrManyArgs.js"],"sourcesContent":["import { Observable } from '../Observable';\nimport { argsArgArrayOrObject } from '../util/argsArgArrayOrObject';\nimport { innerFrom } from './innerFrom';\nimport { popResultSelector } from '../util/args';\nimport { createOperatorSubscriber } from '../operators/OperatorSubscriber';\nimport { mapOneOrManyArgs } from '../util/mapOneOrManyArgs';\nimport { createObject } from '../util/createObject';\nexport function forkJoin(...args) {\n const resultSelector = popResultSelector(args);\n const { args: sources, keys } = argsArgArrayOrObject(args);\n const result = new Observable((subscriber) => {\n const { length } = sources;\n if (!length) {\n subscriber.complete();\n return;\n }\n const values = new Array(length);\n let remainingCompletions = length;\n let remainingEmissions = length;\n for (let sourceIndex = 0; sourceIndex < length; sourceIndex++) {\n let hasValue = false;\n innerFrom(sources[sourceIndex]).subscribe(createOperatorSubscriber(subscriber, (value) => {\n if (!hasValue) {\n hasValue = true;\n remainingEmissions--;\n }\n values[sourceIndex] = value;\n }, () => remainingCompletions--, undefined, () => {\n if (!remainingCompletions || !hasValue) {\n if (!remainingEmissions) {\n subscriber.next(keys ? createObject(keys, values) : values);\n }\n subscriber.complete();\n }\n }));\n }\n });\n return resultSelector ? result.pipe(mapOneOrManyArgs(resultSelector)) : result;\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function map(project, thisArg) {\n return operate((source, subscriber) => {\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n subscriber.next(project.call(thisArg, value, index++));\n }));\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function switchMap(project, resultSelector) {\n return operate((source, subscriber) => {\n let innerSubscriber = null;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => isComplete && !innerSubscriber && subscriber.complete();\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n innerSubscriber === null || innerSubscriber === void 0 ? void 0 : innerSubscriber.unsubscribe();\n let innerIndex = 0;\n const outerIndex = index++;\n innerFrom(project(value, outerIndex)).subscribe((innerSubscriber = createOperatorSubscriber(subscriber, (innerValue) => subscriber.next(resultSelector ? resultSelector(value, innerValue, outerIndex, innerIndex++) : innerValue), () => {\n innerSubscriber = null;\n checkComplete();\n })));\n }, () => {\n isComplete = true;\n checkComplete();\n }));\n });\n}\n","const { isArray } = Array;\nconst { getPrototypeOf, prototype: objectProto, keys: getKeys } = Object;\nexport function argsArgArrayOrObject(args) {\n if (args.length === 1) {\n const first = args[0];\n if (isArray(first)) {\n return { args: first, keys: null };\n }\n if (isPOJO(first)) {\n const keys = getKeys(first);\n return {\n args: keys.map((key) => first[key]),\n keys,\n };\n }\n }\n return { args: args, keys: null };\n}\nfunction isPOJO(obj) {\n return obj && typeof obj === 'object' && getPrototypeOf(obj) === objectProto;\n}\n","export function createObject(keys, values) {\n return keys.reduce((result, key, i) => ((result[key] = values[i]), result), {});\n}\n","import { map } from \"../operators/map\";\nconst { isArray } = Array;\nfunction callOrApply(fn, args) {\n return isArray(args) ? fn(...args) : fn(args);\n}\nexport function mapOneOrManyArgs(fn) {\n return map(args => callOrApply(fn, args));\n}\n"],"x_google_ignoreList":[0,1,2,3,4,5]} \ No newline at end of file diff --git a/3433.2ed7cd20dad71cfc.js b/3433.2ed7cd20dad71cfc.js new file mode 100644 index 0000000..5c6635b --- /dev/null +++ b/3433.2ed7cd20dad71cfc.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[3433,7376,5187,4091,1217,7208,4968,4155,1084,6896,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,4680,2111,3326,8596,8352,5501,3098,8608,8443,5915,3278,5391,6748,6763,4151,5069,7432,6618],{63433:(v,d,o)=>{o.r(d),o.d(d,{MAT_LEGACY_DIALOG_DATA:()=>S,MAT_LEGACY_DIALOG_DEFAULT_OPTIONS:()=>k,MAT_LEGACY_DIALOG_SCROLL_STRATEGY:()=>T,MAT_LEGACY_DIALOG_SCROLL_STRATEGY_FACTORY:()=>_.MAT_DIALOG_SCROLL_STRATEGY_FACTORY,MAT_LEGACY_DIALOG_SCROLL_STRATEGY_PROVIDER:()=>x,MAT_LEGACY_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY:()=>G,MatLegacyDialog:()=>C,MatLegacyDialogActions:()=>V,MatLegacyDialogClose:()=>K,MatLegacyDialogConfig:()=>R,MatLegacyDialogContainer:()=>Z,MatLegacyDialogContent:()=>H,MatLegacyDialogModule:()=>N,MatLegacyDialogRef:()=>A,MatLegacyDialogTitle:()=>W,_MatLegacyDialogBase:()=>_._MatDialogBase,_MatLegacyDialogContainerBase:()=>_._MatDialogContainerBase,_closeLegacyDialogVia:()=>_._closeDialogVia,matLegacyDialogAnimations:()=>_.matDialogAnimations});var r=o(48047),l=o(78069),u=o(24582),s=o(28694),h=o(69064),f=o(43662),p=o(18142),t=o(56718),E=o(6606),M=o(94055),y=o(908),_=o(21447),Y=o(33401);function F(a,i){}var B_params_enterAnimationDuration="150ms",B_params_exitAnimationDuration="75ms",R=function(a){(0,u.Z)(e,a);var i=(0,s.Z)(e);function e(){var n;return(0,l.Z)(this,e),(n=i.apply(this,arguments)).enterAnimationDuration=_._defaultParams.params.enterAnimationDuration,n.exitAnimationDuration=_._defaultParams.params.exitAnimationDuration,n}return(0,r.Z)(e)}(_.MatDialogConfig),Z=function(){var a=function(i){(0,u.Z)(n,i);var e=(0,s.Z)(n);function n(c,g,m,D,b,I,P,j,L){var O;return(0,l.Z)(this,n),(O=e.call(this,c,g,m,D,b,I,P,L))._changeDetectorRef=j,O._state="enter",O}return(0,r.Z)(n,[{key:"_onAnimationDone",value:function(g){var m=g.toState,D=g.totalTime;"enter"===m?this._openAnimationDone(D):"exit"===m&&this._animationStateChanged.next({state:"closed",totalTime:D})}},{key:"_onAnimationStart",value:function(g){var m=g.toState,D=g.totalTime;"enter"===m?this._animationStateChanged.next({state:"opening",totalTime:D}):("exit"===m||"void"===m)&&this._animationStateChanged.next({state:"closing",totalTime:D})}},{key:"_startExitAnimation",value:function(){this._state="exit",this._changeDetectorRef.markForCheck()}},{key:"_getAnimationState",value:function(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||B_params_enterAnimationDuration,exitAnimationDuration:this._config.exitAnimationDuration||B_params_exitAnimationDuration}}}}]),n}(_._MatDialogContainerBase);return a.\u0275fac=function(e){return new(e||a)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(y.FocusTrapFactory),t.\u0275\u0275directiveInject(M.DOCUMENT,8),t.\u0275\u0275directiveInject(R),t.\u0275\u0275directiveInject(y.InteractivityChecker),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275directiveInject(f.OverlayRef),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(y.FocusMonitor))},a.\u0275cmp=t.\u0275\u0275defineComponent({type:a,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(e,n){1&e&&t.\u0275\u0275syntheticHostListener("@dialogContainer.start",function(g){return n._onAnimationStart(g)})("@dialogContainer.done",function(g){return n._onAnimationDone(g)}),2&e&&(t.\u0275\u0275hostProperty("id",n._config.id),t.\u0275\u0275attribute("aria-modal",n._config.ariaModal)("role",n._config.role)("aria-labelledby",n._config.ariaLabel?null:n._ariaLabelledBy)("aria-label",n._config.ariaLabel)("aria-describedby",n._config.ariaDescribedBy||null),t.\u0275\u0275syntheticHostProperty("@dialogContainer",n._getAnimationState()))},features:[t.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,n){1&e&&t.\u0275\u0275template(0,F,0,0,"ng-template",0)},dependencies:[p.CdkPortalOutlet],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions.mat-dialog-actions-align-center,.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions.mat-dialog-actions-align-end,.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,data:{animation:[_.matDialogAnimations.dialogContainer]}}),a}(),A=function(a){(0,u.Z)(e,a);var i=(0,s.Z)(e);function e(){return(0,l.Z)(this,e),i.apply(this,arguments)}return(0,r.Z)(e)}(_.MatDialogRef),S=new t.InjectionToken("MatDialogData"),k=new t.InjectionToken("mat-dialog-default-options"),T=new t.InjectionToken("mat-dialog-scroll-strategy");function G(a){return function(){return a.scrollStrategies.block()}}var x={provide:T,deps:[f.Overlay],useFactory:G},C=function(){var a=function(i){(0,u.Z)(n,i);var e=(0,s.Z)(n);function n(c,g,m,D,b,I,P,j){var L;return(0,l.Z)(this,n),(L=e.call(this,c,g,D,I,P,b,A,Z,S,j)).dialogConfigClass=R,L}return(0,r.Z)(n)}(_._MatDialogBase);return a.\u0275fac=function(e){return new(e||a)(t.\u0275\u0275inject(f.Overlay),t.\u0275\u0275inject(t.Injector),t.\u0275\u0275inject(M.Location,8),t.\u0275\u0275inject(k,8),t.\u0275\u0275inject(T),t.\u0275\u0275inject(a,12),t.\u0275\u0275inject(f.OverlayContainer),t.\u0275\u0275inject(Y.ANIMATION_MODULE_TYPE,8))},a.\u0275prov=t.\u0275\u0275defineInjectable({token:a,factory:a.\u0275fac}),a}(),U=0,K=function(){var a=function(){function i(e,n,c){(0,l.Z)(this,i),this.dialogRef=e,this._elementRef=n,this._dialog=c,this.type="button"}return(0,r.Z)(i,[{key:"ngOnInit",value:function(){this.dialogRef||(this.dialogRef=w(this._elementRef,this._dialog.openDialogs))}},{key:"ngOnChanges",value:function(n){var c=n._matDialogClose||n._matDialogCloseResult;c&&(this.dialogResult=c.currentValue)}},{key:"_onButtonClick",value:function(n){(0,_._closeDialogVia)(this.dialogRef,0===n.screenX&&0===n.screenY?"keyboard":"mouse",this.dialogResult)}}]),i}();return a.\u0275fac=function(e){return new(e||a)(t.\u0275\u0275directiveInject(A,8),t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(C))},a.\u0275dir=t.\u0275\u0275defineDirective({type:a,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(e,n){1&e&&t.\u0275\u0275listener("click",function(g){return n._onButtonClick(g)}),2&e&&t.\u0275\u0275attribute("aria-label",n.ariaLabel||null)("type",n.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[t.\u0275\u0275NgOnChangesFeature]}),a}(),W=function(){var a=function(){function i(e,n,c){(0,l.Z)(this,i),this._dialogRef=e,this._elementRef=n,this._dialog=c,this.id="mat-dialog-title-".concat(U++)}return(0,r.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this._dialogRef||(this._dialogRef=w(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(function(){var c=n._dialogRef._containerInstance;c&&!c._ariaLabelledBy&&(c._ariaLabelledBy=n.id)})}}]),i}();return a.\u0275fac=function(e){return new(e||a)(t.\u0275\u0275directiveInject(A,8),t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(C))},a.\u0275dir=t.\u0275\u0275defineDirective({type:a,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,n){2&e&&t.\u0275\u0275hostProperty("id",n.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),a}(),H=function(){var a=(0,r.Z)(function i(){(0,l.Z)(this,i)});return a.\u0275fac=function(e){return new(e||a)},a.\u0275dir=t.\u0275\u0275defineDirective({type:a,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),a}(),V=function(){var a=(0,r.Z)(function i(){(0,l.Z)(this,i),this.align="start"});return a.\u0275fac=function(e){return new(e||a)},a.\u0275dir=t.\u0275\u0275defineDirective({type:a,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"],hostVars:4,hostBindings:function(e,n){2&e&&t.\u0275\u0275classProp("mat-dialog-actions-align-center","center"===n.align)("mat-dialog-actions-align-end","end"===n.align)},inputs:{align:"align"}}),a}();function w(a,i){for(var e=a.nativeElement.parentElement;e&&!e.classList.contains("mat-dialog-container");)e=e.parentElement;return e?i.find(function(n){return n.id===e.id}):null}var N=function(){var a=(0,r.Z)(function i(){(0,l.Z)(this,i)});return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=t.\u0275\u0275defineNgModule({type:a}),a.\u0275inj=t.\u0275\u0275defineInjector({providers:[C,x],imports:[h.DialogModule,f.OverlayModule,p.PortalModule,E.MatCommonModule,E.MatCommonModule]}),a}()},35488:(v,d,o)=>{function r(l){if(void 0===l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}o.d(d,{Z:()=>r})},28694:(v,d,o)=>{o.d(d,{Z:()=>f});var r=o(20265),l=o(98568),u=o(43445),s=o(35488);function f(p){var t=(0,l.Z)();return function(){var y,M=(0,r.Z)(p);if(t){var _=(0,r.Z)(this).constructor;y=Reflect.construct(M,arguments,_)}else y=M.apply(this,arguments);return function h(p,t){if(t&&("object"===(0,u.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,s.Z)(p)}(this,y)}}},20265:(v,d,o)=>{function r(l){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)})(l)}o.d(d,{Z:()=>r})},24582:(v,d,o)=>{o.d(d,{Z:()=>l});var r=o(10006);function l(u,s){if("function"!=typeof s&&null!==s)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(s&&s.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),s&&(0,r.Z)(u,s)}},98568:(v,d,o)=>{function r(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}o.d(d,{Z:()=>r})},10006:(v,d,o)=>{function r(l,u){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(h,f){return h.__proto__=f,h})(l,u)}o.d(d,{Z:()=>r})}}]); +//# sourceMappingURL=3433.2ed7cd20dad71cfc.js.map \ No newline at end of file diff --git a/3433.2ed7cd20dad71cfc.js.map b/3433.2ed7cd20dad71cfc.js.map new file mode 100644 index 0000000..524194b --- /dev/null +++ b/3433.2ed7cd20dad71cfc.js.map @@ -0,0 +1 @@ +{"version":3,"file":"3433.2ed7cd20dad71cfc.js","mappings":"ipCAeA,SAAAA,EAAAC,EAAAC,GAAA,CAMA,IAAMC,gCACgC,QADhCA,+BACgE,OAOhEC,EAAqB,SAAAC,IAAAC,OAAAF,EAAAC,GAAA,IAAAE,KAAAC,KAAAJ,GACvB,SAAAA,IAAc,IAAAK,EAAAC,cAAAC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,EAAAE,OAAAC,eAAAD,OAAAX,eAAAa,OAAA,SAAAH,GACA,OAAAA,EAAAI,WAAAH,OAAAX,eAAAU,EACA,GACAA,EACA,mECJe,SAAApL,EAAAyL,EAAAC,GACf,sBAAAA,GAAA,OAAAA,EACA,UAAAT,UAAA,sDAEAQ,EAAAE,UAAAN,OAAAO,OAAAF,KAAAC,UAAA,CACAf,YAAA,CACA/I,MAAA4J,EACAI,UAAA,EACAC,cAAA,KAGAT,OAAAU,eAAAN,EAAA,aACAI,UAAA,IAEAH,MAAkBM,EAAAzB,GAAckB,EAAAC,EAChC,mBChBe,SAAAO,IAEf,UADApB,QAAA,MAAAA,QAAAC,WACAD,QAAAC,UAAAoB,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAAT,UAAAU,QAAA3K,KAAAmJ,QAAAC,UAAAsB,QAAA,mBACA,CACA,OACA,QACA,CACA,mCCVe,SAAAE,EAAAlB,EAAAmB,GACf,OAAAD,EAAAjB,OAAAC,eAAAD,OAAAC,eAAAC,OAAA,SAAAH,EAAAmB,GACA,OAAAnB,EAAAI,UAAAe,EACAnB,CACA,GACAA,EAAAmB,EACA","names":["MatLegacyDialogContainer_ng_template_0_Template","rf","ctx","defaultParams","MatLegacyDialogConfig","_MatDialogConfig","_inherits","_super","_createSuper","_this","_classCallCheck","this","apply","arguments","enterAnimationDuration","_defaultParams","exitAnimationDuration","_createClass","MatDialogConfig","MatLegacyDialogContainer","_MatDialogContainerBa","_super2","elementRef","focusTrapFactory","document","dialogConfig","checker","ngZone","overlayRef","_changeDetectorRef","focusMonitor","_this2","call","_state","key","value","_ref","toState","totalTime","_openAnimationDone","_animationStateChanged","next","state","_ref2","markForCheck","params","_config","_MatDialogContainerBase","ɵfac","t","i0","i1","DOCUMENT","i1$1","ɵcmp","type","selectors","hostAttrs","hostVars","hostBindings","$event","_onAnimationStart","_onAnimationDone","id","ariaModal","role","ariaLabel","_ariaLabelledBy","ariaDescribedBy","_getAnimationState","features","decls","vars","consts","template","dependencies","i4","styles","encapsulation","data","animation","matDialogAnimations","MatLegacyDialogRef","_MatDialogRef","_super3","MatDialogRef","MAT_LEGACY_DIALOG_DATA","InjectionToken","MAT_LEGACY_DIALOG_DEFAULT_OPTIONS","MAT_LEGACY_DIALOG_SCROLL_STRATEGY","MAT_LEGACY_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY","overlay","scrollStrategies","block","MAT_LEGACY_DIALOG_SCROLL_STRATEGY_PROVIDER","provide","deps","Overlay","useFactory","MatLegacyDialog","_MatDialogBase2","_super4","injector","_location","defaultOptions","scrollStrategy","parentDialog","overlayContainer","animationMode","_this3","dialogConfigClass","_MatDialogBase","i2","ANIMATION_MODULE_TYPE","ɵprov","token","factory","dialogElementUid","MatLegacyDialogClose","dialogRef","_elementRef","_dialog","getClosestDialog","openDialogs","changes","proxiedChange","_matDialogClose","_matDialogCloseResult","dialogResult","currentValue","event","_closeDialogVia","screenX","screenY","ɵdir","_onButtonClick","inputs","exportAs","MatLegacyDialogTitle","_dialogRef","concat","_this4","Promise","resolve","then","container","_containerInstance","MatLegacyDialogContent","MatLegacyDialogActions","align","element","parent","nativeElement","parentElement","classList","contains","find","dialog","MatLegacyDialogModule","ɵmod","ɵinj","providers","imports","DialogModule","OverlayModule","PortalModule","MatCommonModule","_assertThisInitialized","self","ReferenceError","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","constructor","Reflect","construct","_possibleConstructorReturn","esm_typeof","TypeError","assertThisInitialized","_getPrototypeOf","o","Object","setPrototypeOf","bind","__proto__","subClass","superClass","prototype","create","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@angular/material/fesm2022/legacy-dialog.mjs","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["import { DialogModule } from '@angular/cdk/dialog';\nimport * as i1$1 from '@angular/cdk/overlay';\nimport { Overlay, OverlayModule } from '@angular/cdk/overlay';\nimport * as i4 from '@angular/cdk/portal';\nimport { PortalModule } from '@angular/cdk/portal';\nimport * as i0 from '@angular/core';\nimport { Component, ViewEncapsulation, ChangeDetectionStrategy, Optional, Inject, InjectionToken, Injectable, SkipSelf, Directive, Input, NgModule } from '@angular/core';\nimport { MatCommonModule } from '@angular/material/core';\nimport * as i2 from '@angular/common';\nimport { DOCUMENT } from '@angular/common';\nimport * as i1 from '@angular/cdk/a11y';\nimport { MatDialogConfig, _defaultParams, _MatDialogContainerBase, matDialogAnimations, MatDialogRef, _MatDialogBase, _closeDialogVia } from '@angular/material/dialog';\nexport { MAT_DIALOG_SCROLL_STRATEGY_FACTORY as MAT_LEGACY_DIALOG_SCROLL_STRATEGY_FACTORY, _MatDialogBase as _MatLegacyDialogBase, _MatDialogContainerBase as _MatLegacyDialogContainerBase, _closeDialogVia as _closeLegacyDialogVia, matDialogAnimations as matLegacyDialogAnimations } from '@angular/material/dialog';\nimport { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';\n\n/**\n * Default parameters for the animation for backwards compatibility.\n * @docs-private\n * @deprecated Use `defaultParams` from `@angular/material/dialog` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nconst defaultParams = {\n params: { enterAnimationDuration: '150ms', exitAnimationDuration: '75ms' },\n};\n\n/**\n * @deprecated Use `MatDialogConfig` from `@angular/material/dialog` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyDialogConfig extends MatDialogConfig {\n constructor() {\n super(...arguments);\n /** Duration of the enter animation. Has to be a valid CSS value (e.g. 100ms). */\n this.enterAnimationDuration = _defaultParams.params.enterAnimationDuration;\n /** Duration of the exit animation. Has to be a valid CSS value (e.g. 50ms). */\n this.exitAnimationDuration = _defaultParams.params.exitAnimationDuration;\n }\n}\n\n/**\n * Internal component that wraps user-provided dialog content.\n * Animation is based on https://material.io/guidelines/motion/choreography.html.\n * @docs-private\n * @deprecated Use `MatDialogContainer` from `@angular/material/dialog` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyDialogContainer extends _MatDialogContainerBase {\n /** Callback, invoked whenever an animation on the host completes. */\n _onAnimationDone({ toState, totalTime }) {\n if (toState === 'enter') {\n this._openAnimationDone(totalTime);\n }\n else if (toState === 'exit') {\n this._animationStateChanged.next({ state: 'closed', totalTime });\n }\n }\n /** Callback, invoked when an animation on the host starts. */\n _onAnimationStart({ toState, totalTime }) {\n if (toState === 'enter') {\n this._animationStateChanged.next({ state: 'opening', totalTime });\n }\n else if (toState === 'exit' || toState === 'void') {\n this._animationStateChanged.next({ state: 'closing', totalTime });\n }\n }\n /** Starts the dialog exit animation. */\n _startExitAnimation() {\n this._state = 'exit';\n // Mark the container for check so it can react if the\n // view container is using OnPush change detection.\n this._changeDetectorRef.markForCheck();\n }\n constructor(elementRef, focusTrapFactory, document, dialogConfig, checker, ngZone, overlayRef, _changeDetectorRef, focusMonitor) {\n super(elementRef, focusTrapFactory, document, dialogConfig, checker, ngZone, overlayRef, focusMonitor);\n this._changeDetectorRef = _changeDetectorRef;\n /** State of the dialog animation. */\n this._state = 'enter';\n }\n _getAnimationState() {\n return {\n value: this._state,\n params: {\n 'enterAnimationDuration': this._config.enterAnimationDuration || defaultParams.params.enterAnimationDuration,\n 'exitAnimationDuration': this._config.exitAnimationDuration || defaultParams.params.exitAnimationDuration,\n },\n };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyDialogContainer, deps: [{ token: i0.ElementRef }, { token: i1.FocusTrapFactory }, { token: DOCUMENT, optional: true }, { token: MatLegacyDialogConfig }, { token: i1.InteractivityChecker }, { token: i0.NgZone }, { token: i1$1.OverlayRef }, { token: i0.ChangeDetectorRef }, { token: i1.FocusMonitor }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyDialogContainer, selector: \"mat-dialog-container\", host: { attributes: { \"tabindex\": \"-1\" }, listeners: { \"@dialogContainer.start\": \"_onAnimationStart($event)\", \"@dialogContainer.done\": \"_onAnimationDone($event)\" }, properties: { \"attr.aria-modal\": \"_config.ariaModal\", \"id\": \"_config.id\", \"attr.role\": \"_config.role\", \"attr.aria-labelledby\": \"_config.ariaLabel ? null : _ariaLabelledBy\", \"attr.aria-label\": \"_config.ariaLabel\", \"attr.aria-describedby\": \"_config.ariaDescribedBy || null\", \"@dialogContainer\": \"_getAnimationState()\" }, classAttribute: \"mat-dialog-container\" }, usesInheritance: true, ngImport: i0, template: \"<ng-template cdkPortalOutlet></ng-template>\\n\", styles: [\".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions.mat-dialog-actions-align-center,.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions.mat-dialog-actions-align-end,.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\"], dependencies: [{ kind: \"directive\", type: i4.CdkPortalOutlet, selector: \"[cdkPortalOutlet]\", inputs: [\"cdkPortalOutlet\"], outputs: [\"attached\"], exportAs: [\"cdkPortalOutlet\"] }], animations: [matDialogAnimations.dialogContainer], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyDialogContainer, decorators: [{\n type: Component,\n args: [{ selector: 'mat-dialog-container', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, animations: [matDialogAnimations.dialogContainer], host: {\n 'class': 'mat-dialog-container',\n 'tabindex': '-1',\n '[attr.aria-modal]': '_config.ariaModal',\n '[id]': '_config.id',\n '[attr.role]': '_config.role',\n '[attr.aria-labelledby]': '_config.ariaLabel ? null : _ariaLabelledBy',\n '[attr.aria-label]': '_config.ariaLabel',\n '[attr.aria-describedby]': '_config.ariaDescribedBy || null',\n '[@dialogContainer]': `_getAnimationState()`,\n '(@dialogContainer.start)': '_onAnimationStart($event)',\n '(@dialogContainer.done)': '_onAnimationDone($event)',\n }, template: \"<ng-template cdkPortalOutlet></ng-template>\\n\", styles: [\".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions.mat-dialog-actions-align-center,.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions.mat-dialog-actions-align-end,.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.FocusTrapFactory }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: MatLegacyDialogConfig }, { type: i1.InteractivityChecker }, { type: i0.NgZone }, { type: i1$1.OverlayRef }, { type: i0.ChangeDetectorRef }, { type: i1.FocusMonitor }]; } });\n\n/**\n * Reference to a dialog opened via the MatDialog service.\n * @deprecated Use `MatDialogRef` from `@angular/material/dialog` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyDialogRef extends MatDialogRef {\n}\n\n/**\n * Injection token that can be used to access the data that was passed in to a dialog.\n * @deprecated Use `MAT_DIALOG_DATA` from `@angular/material/dialog` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nconst MAT_LEGACY_DIALOG_DATA = new InjectionToken('MatDialogData');\n/**\n * Injection token that can be used to specify default dialog options.\n * @deprecated Use `MAT_DIALOG_DEFAULT_OPTIONS` from `@angular/material/dialog` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nconst MAT_LEGACY_DIALOG_DEFAULT_OPTIONS = new InjectionToken('mat-dialog-default-options');\n/**\n * Injection token that determines the scroll handling while the dialog is open.\n * @deprecated Use `MAT_DIALOG_SCROLL_STRATEGY` from `@angular/material/dialog` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nconst MAT_LEGACY_DIALOG_SCROLL_STRATEGY = new InjectionToken('mat-dialog-scroll-strategy');\n/**\n * @docs-private\n * @deprecated Use `MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY` from `@angular/material/dialog` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nfunction MAT_LEGACY_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY(overlay) {\n return () => overlay.scrollStrategies.block();\n}\n/**\n * @docs-private\n * @deprecated Use `MAT_DIALOG_SCROLL_STRATEGY_PROVIDER` from `@angular/material/dialog` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nconst MAT_LEGACY_DIALOG_SCROLL_STRATEGY_PROVIDER = {\n provide: MAT_LEGACY_DIALOG_SCROLL_STRATEGY,\n deps: [Overlay],\n useFactory: MAT_LEGACY_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY,\n};\n/**\n * Service to open Material Design modal dialogs.\n * @deprecated Use `MatDialog` from `@angular/material/dialog` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyDialog extends _MatDialogBase {\n constructor(overlay, injector, \n /**\n * @deprecated `_location` parameter to be removed.\n * @breaking-change 10.0.0\n */\n _location, defaultOptions, scrollStrategy, parentDialog, \n /**\n * @deprecated No longer used. To be removed.\n * @breaking-change 15.0.0\n */\n overlayContainer, \n /**\n * @deprecated No longer used. To be removed.\n * @breaking-change 14.0.0\n */\n animationMode) {\n super(overlay, injector, defaultOptions, parentDialog, overlayContainer, scrollStrategy, MatLegacyDialogRef, MatLegacyDialogContainer, MAT_LEGACY_DIALOG_DATA, animationMode);\n this.dialogConfigClass = MatLegacyDialogConfig;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyDialog, deps: [{ token: i1$1.Overlay }, { token: i0.Injector }, { token: i2.Location, optional: true }, { token: MAT_LEGACY_DIALOG_DEFAULT_OPTIONS, optional: true }, { token: MAT_LEGACY_DIALOG_SCROLL_STRATEGY }, { token: MatLegacyDialog, optional: true, skipSelf: true }, { token: i1$1.OverlayContainer }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyDialog }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyDialog, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: i1$1.Overlay }, { type: i0.Injector }, { type: i2.Location, decorators: [{\n type: Optional\n }] }, { type: MatLegacyDialogConfig, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_LEGACY_DIALOG_DEFAULT_OPTIONS]\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [MAT_LEGACY_DIALOG_SCROLL_STRATEGY]\n }] }, { type: MatLegacyDialog, decorators: [{\n type: Optional\n }, {\n type: SkipSelf\n }] }, { type: i1$1.OverlayContainer }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }]; } });\n\n/** Counter used to generate unique IDs for dialog elements. */\nlet dialogElementUid = 0;\n/**\n * Button that will close the current dialog.\n * @deprecated Use `MatDialogClose` from `@angular/material/dialog` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyDialogClose {\n constructor(\n /**\n * Reference to the containing dialog.\n * @deprecated `dialogRef` property to become private.\n * @breaking-change 13.0.0\n */\n // The dialog title directive is always used in combination with a `MatDialogRef`.\n // tslint:disable-next-line: lightweight-tokens\n dialogRef, _elementRef, _dialog) {\n this.dialogRef = dialogRef;\n this._elementRef = _elementRef;\n this._dialog = _dialog;\n /** Default to \"button\" to prevents accidental form submits. */\n this.type = 'button';\n }\n ngOnInit() {\n if (!this.dialogRef) {\n // When this directive is included in a dialog via TemplateRef (rather than being\n // in a Component), the DialogRef isn't available via injection because embedded\n // views cannot be given a custom injector. Instead, we look up the DialogRef by\n // ID. This must occur in `onInit`, as the ID binding for the dialog container won't\n // be resolved at constructor time.\n this.dialogRef = getClosestDialog(this._elementRef, this._dialog.openDialogs);\n }\n }\n ngOnChanges(changes) {\n const proxiedChange = changes['_matDialogClose'] || changes['_matDialogCloseResult'];\n if (proxiedChange) {\n this.dialogResult = proxiedChange.currentValue;\n }\n }\n _onButtonClick(event) {\n // Determinate the focus origin using the click event, because using the FocusMonitor will\n // result in incorrect origins. Most of the time, close buttons will be auto focused in the\n // dialog, and therefore clicking the button won't result in a focus change. This means that\n // the FocusMonitor won't detect any origin change, and will always output `program`.\n _closeDialogVia(this.dialogRef, event.screenX === 0 && event.screenY === 0 ? 'keyboard' : 'mouse', this.dialogResult);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyDialogClose, deps: [{ token: MatLegacyDialogRef, optional: true }, { token: i0.ElementRef }, { token: MatLegacyDialog }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyDialogClose, selector: \"[mat-dialog-close], [matDialogClose]\", inputs: { ariaLabel: [\"aria-label\", \"ariaLabel\"], type: \"type\", dialogResult: [\"mat-dialog-close\", \"dialogResult\"], _matDialogClose: [\"matDialogClose\", \"_matDialogClose\"] }, host: { listeners: { \"click\": \"_onButtonClick($event)\" }, properties: { \"attr.aria-label\": \"ariaLabel || null\", \"attr.type\": \"type\" } }, exportAs: [\"matDialogClose\"], usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyDialogClose, decorators: [{\n type: Directive,\n args: [{\n selector: '[mat-dialog-close], [matDialogClose]',\n exportAs: 'matDialogClose',\n host: {\n '(click)': '_onButtonClick($event)',\n '[attr.aria-label]': 'ariaLabel || null',\n '[attr.type]': 'type',\n },\n }]\n }], ctorParameters: function () { return [{ type: MatLegacyDialogRef, decorators: [{\n type: Optional\n }] }, { type: i0.ElementRef }, { type: MatLegacyDialog }]; }, propDecorators: { ariaLabel: [{\n type: Input,\n args: ['aria-label']\n }], type: [{\n type: Input\n }], dialogResult: [{\n type: Input,\n args: ['mat-dialog-close']\n }], _matDialogClose: [{\n type: Input,\n args: ['matDialogClose']\n }] } });\n/**\n * Title of a dialog element. Stays fixed to the top of the dialog when scrolling.\n * @deprecated Use `MatDialogTitle` from `@angular/material/dialog` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyDialogTitle {\n constructor(\n // The dialog title directive is always used in combination with a `MatDialogRef`.\n // tslint:disable-next-line: lightweight-tokens\n _dialogRef, _elementRef, _dialog) {\n this._dialogRef = _dialogRef;\n this._elementRef = _elementRef;\n this._dialog = _dialog;\n /** Unique id for the dialog title. If none is supplied, it will be auto-generated. */\n this.id = `mat-dialog-title-${dialogElementUid++}`;\n }\n ngOnInit() {\n if (!this._dialogRef) {\n this._dialogRef = getClosestDialog(this._elementRef, this._dialog.openDialogs);\n }\n if (this._dialogRef) {\n Promise.resolve().then(() => {\n const container = this._dialogRef._containerInstance;\n if (container && !container._ariaLabelledBy) {\n container._ariaLabelledBy = this.id;\n }\n });\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyDialogTitle, deps: [{ token: MatLegacyDialogRef, optional: true }, { token: i0.ElementRef }, { token: MatLegacyDialog }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyDialogTitle, selector: \"[mat-dialog-title], [matDialogTitle]\", inputs: { id: \"id\" }, host: { properties: { \"id\": \"id\" }, classAttribute: \"mat-dialog-title\" }, exportAs: [\"matDialogTitle\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyDialogTitle, decorators: [{\n type: Directive,\n args: [{\n selector: '[mat-dialog-title], [matDialogTitle]',\n exportAs: 'matDialogTitle',\n host: {\n 'class': 'mat-dialog-title',\n '[id]': 'id',\n },\n }]\n }], ctorParameters: function () { return [{ type: MatLegacyDialogRef, decorators: [{\n type: Optional\n }] }, { type: i0.ElementRef }, { type: MatLegacyDialog }]; }, propDecorators: { id: [{\n type: Input\n }] } });\n/**\n * Scrollable content container of a dialog.\n * @deprecated Use `MatDialogContent` from `@angular/material/dialog` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyDialogContent {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyDialogContent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyDialogContent, selector: \"[mat-dialog-content], mat-dialog-content, [matDialogContent]\", host: { classAttribute: \"mat-dialog-content\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyDialogContent, decorators: [{\n type: Directive,\n args: [{\n selector: `[mat-dialog-content], mat-dialog-content, [matDialogContent]`,\n host: { 'class': 'mat-dialog-content' },\n }]\n }] });\n/**\n * Container for the bottom action buttons in a dialog.\n * Stays fixed to the bottom when scrolling.\n * @deprecated Use `MatDialogActions` from `@angular/material/dialog` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyDialogActions {\n constructor() {\n /**\n * Horizontal alignment of action buttons.\n */\n this.align = 'start';\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyDialogActions, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyDialogActions, selector: \"[mat-dialog-actions], mat-dialog-actions, [matDialogActions]\", inputs: { align: \"align\" }, host: { properties: { \"class.mat-dialog-actions-align-center\": \"align === \\\"center\\\"\", \"class.mat-dialog-actions-align-end\": \"align === \\\"end\\\"\" }, classAttribute: \"mat-dialog-actions\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyDialogActions, decorators: [{\n type: Directive,\n args: [{\n selector: `[mat-dialog-actions], mat-dialog-actions, [matDialogActions]`,\n host: {\n 'class': 'mat-dialog-actions',\n '[class.mat-dialog-actions-align-center]': 'align === \"center\"',\n '[class.mat-dialog-actions-align-end]': 'align === \"end\"',\n },\n }]\n }], propDecorators: { align: [{\n type: Input\n }] } });\n// TODO(crisbeto): this utility shouldn't be necessary anymore, because the dialog ref is provided\n// both to component and template dialogs through DI. We need to keep it around, because there are\n// some internal wrappers around `MatDialog` that happened to work by accident, because we had this\n// fallback logic in place.\n/**\n * Finds the closest MatDialogRef to an element by looking at the DOM.\n * @param element Element relative to which to look for a dialog.\n * @param openDialogs References to the currently-open dialogs.\n */\nfunction getClosestDialog(element, openDialogs) {\n let parent = element.nativeElement.parentElement;\n while (parent && !parent.classList.contains('mat-dialog-container')) {\n parent = parent.parentElement;\n }\n return parent ? openDialogs.find(dialog => dialog.id === parent.id) : null;\n}\n\n/**\n * @deprecated Use `MatDialogModule` from `@angular/material/dialog` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyDialogModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyDialogModule, declarations: [MatLegacyDialogContainer,\n MatLegacyDialogClose,\n MatLegacyDialogTitle,\n MatLegacyDialogActions,\n MatLegacyDialogContent], imports: [DialogModule, OverlayModule, PortalModule, MatCommonModule], exports: [MatLegacyDialogContainer,\n MatLegacyDialogClose,\n MatLegacyDialogTitle,\n MatLegacyDialogContent,\n MatLegacyDialogActions,\n MatCommonModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyDialogModule, providers: [MatLegacyDialog, MAT_LEGACY_DIALOG_SCROLL_STRATEGY_PROVIDER], imports: [DialogModule, OverlayModule, PortalModule, MatCommonModule, MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyDialogModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [DialogModule, OverlayModule, PortalModule, MatCommonModule],\n exports: [\n MatLegacyDialogContainer,\n MatLegacyDialogClose,\n MatLegacyDialogTitle,\n MatLegacyDialogContent,\n MatLegacyDialogActions,\n MatCommonModule,\n ],\n declarations: [\n MatLegacyDialogContainer,\n MatLegacyDialogClose,\n MatLegacyDialogTitle,\n MatLegacyDialogActions,\n MatLegacyDialogContent,\n ],\n providers: [MatLegacyDialog, MAT_LEGACY_DIALOG_SCROLL_STRATEGY_PROVIDER],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MAT_LEGACY_DIALOG_DATA, MAT_LEGACY_DIALOG_DEFAULT_OPTIONS, MAT_LEGACY_DIALOG_SCROLL_STRATEGY, MAT_LEGACY_DIALOG_SCROLL_STRATEGY_PROVIDER, MAT_LEGACY_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY, MatLegacyDialog, MatLegacyDialogActions, MatLegacyDialogClose, MatLegacyDialogConfig, MatLegacyDialogContainer, MatLegacyDialogContent, MatLegacyDialogModule, MatLegacyDialogRef, MatLegacyDialogTitle };\n","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7]} \ No newline at end of file diff --git a/3574.2f6c2aa430041f1f.js b/3574.2f6c2aa430041f1f.js new file mode 100644 index 0000000..bef521c --- /dev/null +++ b/3574.2f6c2aa430041f1f.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[3574,7376,5187,4091,1217,7208,4968,4155,1084,6896,6980,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,8061,4680,2111,3326,8596,8352,5501,3098,8467,6578,8608,8443,5915,3278,5391,6748,6763,4151,5069,7432,8071,6618],{93574:(y,h,a)=>{a.r(h),a.d(h,{MatGridAvatarCssMatStyler:()=>A,MatGridList:()=>U,MatGridListModule:()=>K,MatGridTile:()=>E,MatGridTileFooterCssMatStyler:()=>H,MatGridTileHeaderCssMatStyler:()=>L,MatGridTileText:()=>Z,\u0275TileCoordinator:()=>Q});var c=a(4089),u=a(20265),l=a(24582),d=a(28694),f=a(86170),g=a(78069),_=a(48047),o=a(56718),v=a(6606),T=a(35333),S=a(43068),k=["*"],R=[[["","mat-grid-avatar",""],["","matGridAvatar",""]],[["","mat-line",""],["","matLine",""]],"*"],G=["[mat-grid-avatar], [matGridAvatar]","[mat-line], [matLine]","*"],b=function(){function i(){(0,g.Z)(this,i),this.columnIndex=0,this.rowIndex=0}return(0,_.Z)(i,[{key:"rowCount",get:function(){return this.rowIndex+1}},{key:"rowspan",get:function(){var t=Math.max.apply(Math,(0,f.Z)(this.tracker));return t>1?this.rowCount+t-1:this.rowCount}},{key:"update",value:function(t,e){var n=this;this.columnIndex=0,this.rowIndex=0,this.tracker=new Array(t),this.tracker.fill(0,0,this.tracker.length),this.positions=e.map(function(s){return n._trackTile(s)})}},{key:"_trackTile",value:function(t){var e=this._findMatchingGap(t.colspan);return this._markTilePosition(e,t),this.columnIndex=e+t.colspan,new O(this.rowIndex,e)}},{key:"_findMatchingGap",value:function(t){var e=-1,n=-1;do{this.columnIndex+t>this.tracker.length?(this._nextRow(),e=this.tracker.indexOf(0,this.columnIndex),n=this._findGapEndIndex(e)):-1!=(e=this.tracker.indexOf(0,this.columnIndex))?(n=this._findGapEndIndex(e),this.columnIndex=e+1):(this._nextRow(),e=this.tracker.indexOf(0,this.columnIndex),n=this._findGapEndIndex(e))}while(n-e<t||0==n);return Math.max(e,0)}},{key:"_nextRow",value:function(){this.columnIndex=0,this.rowIndex++;for(var t=0;t<this.tracker.length;t++)this.tracker[t]=Math.max(0,this.tracker[t]-1)}},{key:"_findGapEndIndex",value:function(t){for(var e=t+1;e<this.tracker.length;e++)if(0!=this.tracker[e])return e;return this.tracker.length}},{key:"_markTilePosition",value:function(t,e){for(var n=0;n<e.colspan;n++)this.tracker[t+n]=e.rowspan}}]),i}(),O=(0,_.Z)(function i(r,t){(0,g.Z)(this,i),this.row=r,this.col=t}),C=new o.InjectionToken("MAT_GRID_LIST"),E=function(){var i=function(){function r(t,e){(0,g.Z)(this,r),this._element=t,this._gridList=e,this._rowspan=1,this._colspan=1}return(0,_.Z)(r,[{key:"rowspan",get:function(){return this._rowspan},set:function(e){this._rowspan=Math.round((0,T.coerceNumberProperty)(e))}},{key:"colspan",get:function(){return this._colspan},set:function(e){this._colspan=Math.round((0,T.coerceNumberProperty)(e))}},{key:"_setStyle",value:function(e,n){this._element.nativeElement.style[e]=n}}]),r}();return i.\u0275fac=function(t){return new(t||i)(o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(C,8))},i.\u0275cmp=o.\u0275\u0275defineComponent({type:i,selectors:[["mat-grid-tile"]],hostAttrs:[1,"mat-grid-tile"],hostVars:2,hostBindings:function(t,e){2&t&&o.\u0275\u0275attribute("rowspan",e.rowspan)("colspan",e.colspan)},inputs:{rowspan:"rowspan",colspan:"colspan"},exportAs:["matGridTile"],ngContentSelectors:k,decls:2,vars:0,consts:[[1,"mat-grid-tile-content"]],template:function(t,e){1&t&&(o.\u0275\u0275projectionDef(),o.\u0275\u0275elementStart(0,"div",0),o.\u0275\u0275projection(1),o.\u0275\u0275elementEnd())},styles:[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}"],encapsulation:2,changeDetection:0}),i}(),Z=function(){var i=function(){function r(t){(0,g.Z)(this,r),this._element=t}return(0,_.Z)(r,[{key:"ngAfterContentInit",value:function(){(0,v.setLines)(this._lines,this._element)}}]),r}();return i.\u0275fac=function(t){return new(t||i)(o.\u0275\u0275directiveInject(o.ElementRef))},i.\u0275cmp=o.\u0275\u0275defineComponent({type:i,selectors:[["mat-grid-tile-header"],["mat-grid-tile-footer"]],contentQueries:function(t,e,n){var s;1&t&&o.\u0275\u0275contentQuery(n,v.MatLine,5),2&t&&o.\u0275\u0275queryRefresh(s=o.\u0275\u0275loadQuery())&&(e._lines=s)},ngContentSelectors:G,decls:4,vars:0,consts:[[1,"mat-grid-list-text"]],template:function(t,e){1&t&&(o.\u0275\u0275projectionDef(R),o.\u0275\u0275projection(0),o.\u0275\u0275elementStart(1,"div",0),o.\u0275\u0275projection(2,1),o.\u0275\u0275elementEnd(),o.\u0275\u0275projection(3,2))},encapsulation:2,changeDetection:0}),i}(),A=function(){var i=(0,_.Z)(function r(){(0,g.Z)(this,r)});return i.\u0275fac=function(t){return new(t||i)},i.\u0275dir=o.\u0275\u0275defineDirective({type:i,selectors:[["","mat-grid-avatar",""],["","matGridAvatar",""]],hostAttrs:[1,"mat-grid-avatar"]}),i}(),L=function(){var i=(0,_.Z)(function r(){(0,g.Z)(this,r)});return i.\u0275fac=function(t){return new(t||i)},i.\u0275dir=o.\u0275\u0275defineDirective({type:i,selectors:[["mat-grid-tile-header"]],hostAttrs:[1,"mat-grid-tile-header"]}),i}(),H=function(){var i=(0,_.Z)(function r(){(0,g.Z)(this,r)});return i.\u0275fac=function(t){return new(t||i)},i.\u0275dir=o.\u0275\u0275defineDirective({type:i,selectors:[["mat-grid-tile-footer"]],hostAttrs:[1,"mat-grid-tile-footer"]}),i}(),j=/^-?\d+((\.\d+)?[A-Za-z%$]?)+$/,x=function(){function i(){(0,g.Z)(this,i),this._rows=0,this._rowspan=0}return(0,_.Z)(i,[{key:"init",value:function(t,e,n,s){this._gutterSize=P(t),this._rows=e.rowCount,this._rowspan=e.rowspan,this._cols=n,this._direction=s}},{key:"getBaseTileSize",value:function(t,e){return"(".concat(t,"% - (").concat(this._gutterSize," * ").concat(e,"))")}},{key:"getTilePosition",value:function(t,e){return 0===e?"0":M("(".concat(t," + ").concat(this._gutterSize,") * ").concat(e))}},{key:"getTileSize",value:function(t,e){return"(".concat(t," * ").concat(e,") + (").concat(e-1," * ").concat(this._gutterSize,")")}},{key:"setStyle",value:function(t,e,n){var s=100/this._cols,p=(this._cols-1)/this._cols;this.setColStyles(t,n,s,p),this.setRowStyles(t,e,s,p)}},{key:"setColStyles",value:function(t,e,n,s){var p=this.getBaseTileSize(n,s);t._setStyle("rtl"===this._direction?"right":"left",this.getTilePosition(p,e)),t._setStyle("width",M(this.getTileSize(p,t.colspan)))}},{key:"getGutterSpan",value:function(){return"".concat(this._gutterSize," * (").concat(this._rowspan," - 1)")}},{key:"getTileSpan",value:function(t){return"".concat(this._rowspan," * ").concat(this.getTileSize(t,1))}},{key:"getComputedHeight",value:function(){return null}}]),i}(),z=function(i){(0,l.Z)(t,i);var r=(0,d.Z)(t);function t(e){var n;return(0,g.Z)(this,t),(n=r.call(this)).fixedRowHeight=e,n}return(0,_.Z)(t,[{key:"init",value:function(n,s,p,m){(0,c.Z)((0,u.Z)(t.prototype),"init",this).call(this,n,s,p,m),this.fixedRowHeight=P(this.fixedRowHeight),j.test(this.fixedRowHeight)}},{key:"setRowStyles",value:function(n,s){n._setStyle("top",this.getTilePosition(this.fixedRowHeight,s)),n._setStyle("height",M(this.getTileSize(this.fixedRowHeight,n.rowspan)))}},{key:"getComputedHeight",value:function(){return["height",M("".concat(this.getTileSpan(this.fixedRowHeight)," + ").concat(this.getGutterSpan()))]}},{key:"reset",value:function(n){n._setListStyle(["height",null]),n._tiles&&n._tiles.forEach(function(s){s._setStyle("top",null),s._setStyle("height",null)})}}]),t}(x),B=function(i){(0,l.Z)(t,i);var r=(0,d.Z)(t);function t(e){var n;return(0,g.Z)(this,t),(n=r.call(this))._parseRatio(e),n}return(0,_.Z)(t,[{key:"setRowStyles",value:function(n,s,p,m){this.baseTileHeight=this.getBaseTileSize(p/this.rowHeightRatio,m),n._setStyle("marginTop",this.getTilePosition(this.baseTileHeight,s)),n._setStyle("paddingTop",M(this.getTileSize(this.baseTileHeight,n.rowspan)))}},{key:"getComputedHeight",value:function(){return["paddingBottom",M("".concat(this.getTileSpan(this.baseTileHeight)," + ").concat(this.getGutterSpan()))]}},{key:"reset",value:function(n){n._setListStyle(["paddingBottom",null]),n._tiles.forEach(function(s){s._setStyle("marginTop",null),s._setStyle("paddingTop",null)})}},{key:"_parseRatio",value:function(n){var s=n.split(":");this.rowHeightRatio=parseFloat(s[0])/parseFloat(s[1])}}]),t}(x),F=function(i){(0,l.Z)(t,i);var r=(0,d.Z)(t);function t(){return(0,g.Z)(this,t),r.apply(this,arguments)}return(0,_.Z)(t,[{key:"setRowStyles",value:function(n,s){var w=this.getBaseTileSize(100/this._rowspan,(this._rows-1)/this._rows);n._setStyle("top",this.getTilePosition(w,s)),n._setStyle("height",M(this.getTileSize(w,n.rowspan)))}},{key:"reset",value:function(n){n._tiles&&n._tiles.forEach(function(s){s._setStyle("top",null),s._setStyle("height",null)})}}]),t}(x);function M(i){return"calc(".concat(i,")")}function P(i){return i.match(/([A-Za-z%]+)$/)?i:"".concat(i,"px")}var U=function(){var i=function(){function r(t,e){(0,g.Z)(this,r),this._element=t,this._dir=e,this._gutter="1px"}return(0,_.Z)(r,[{key:"cols",get:function(){return this._cols},set:function(e){this._cols=Math.max(1,Math.round((0,T.coerceNumberProperty)(e)))}},{key:"gutterSize",get:function(){return this._gutter},set:function(e){this._gutter="".concat(e??"")}},{key:"rowHeight",get:function(){return this._rowHeight},set:function(e){var n="".concat(e??"");n!==this._rowHeight&&(this._rowHeight=n,this._setTileStyler(this._rowHeight))}},{key:"ngOnInit",value:function(){this._checkCols(),this._checkRowHeight()}},{key:"ngAfterContentChecked",value:function(){this._layoutTiles()}},{key:"_checkCols",value:function(){}},{key:"_checkRowHeight",value:function(){this._rowHeight||this._setTileStyler("1:1")}},{key:"_setTileStyler",value:function(e){this._tileStyler&&this._tileStyler.reset(this),this._tileStyler="fit"===e?new F:e&&e.indexOf(":")>-1?new B(e):new z(e)}},{key:"_layoutTiles",value:function(){var e=this;this._tileCoordinator||(this._tileCoordinator=new b);var n=this._tileCoordinator,s=this._tiles.filter(function(m){return!m._gridList||m._gridList===e}),p=this._dir?this._dir.value:"ltr";this._tileCoordinator.update(this.cols,s),this._tileStyler.init(this.gutterSize,n,this.cols,p),s.forEach(function(m,w){var D=n.positions[w];e._tileStyler.setStyle(m,D.row,D.col)}),this._setListStyle(this._tileStyler.getComputedHeight())}},{key:"_setListStyle",value:function(e){e&&(this._element.nativeElement.style[e[0]]=e[1])}}]),r}();return i.\u0275fac=function(t){return new(t||i)(o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(S.Directionality,8))},i.\u0275cmp=o.\u0275\u0275defineComponent({type:i,selectors:[["mat-grid-list"]],contentQueries:function(t,e,n){var s;1&t&&o.\u0275\u0275contentQuery(n,E,5),2&t&&o.\u0275\u0275queryRefresh(s=o.\u0275\u0275loadQuery())&&(e._tiles=s)},hostAttrs:[1,"mat-grid-list"],hostVars:1,hostBindings:function(t,e){2&t&&o.\u0275\u0275attribute("cols",e.cols)},inputs:{cols:"cols",gutterSize:"gutterSize",rowHeight:"rowHeight"},exportAs:["matGridList"],features:[o.\u0275\u0275ProvidersFeature([{provide:C,useExisting:i}])],ngContentSelectors:k,decls:2,vars:0,template:function(t,e){1&t&&(o.\u0275\u0275projectionDef(),o.\u0275\u0275elementStart(0,"div"),o.\u0275\u0275projection(1),o.\u0275\u0275elementEnd())},styles:[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}"],encapsulation:2,changeDetection:0}),i}(),K=function(){var i=(0,_.Z)(function r(){(0,g.Z)(this,r)});return i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=o.\u0275\u0275defineNgModule({type:i}),i.\u0275inj=o.\u0275\u0275defineInjector({imports:[v.MatLineModule,v.MatCommonModule,v.MatLineModule,v.MatCommonModule]}),i}(),Q=b},44841:(y,h,a)=>{function c(u,l){(null==l||l>u.length)&&(l=u.length);for(var d=0,f=new Array(l);d<l;d++)f[d]=u[d];return f}a.d(h,{Z:()=>c})},35488:(y,h,a)=>{function c(u){if(void 0===u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}a.d(h,{Z:()=>c})},28694:(y,h,a)=>{a.d(h,{Z:()=>g});var c=a(20265),u=a(98568),l=a(43445),d=a(35488);function g(_){var o=(0,u.Z)();return function(){var S,T=(0,c.Z)(_);if(o){var k=(0,c.Z)(this).constructor;S=Reflect.construct(T,arguments,k)}else S=T.apply(this,arguments);return function f(_,o){if(o&&("object"===(0,l.Z)(o)||"function"==typeof o))return o;if(void 0!==o)throw new TypeError("Derived constructors may only return object or undefined");return(0,d.Z)(_)}(this,S)}}},4089:(y,h,a)=>{a.d(h,{Z:()=>l});var c=a(20265);function l(){return l=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(f,g,_){var o=function u(d,f){for(;!Object.prototype.hasOwnProperty.call(d,f)&&null!==(d=(0,c.Z)(d)););return d}(f,g);if(o){var v=Object.getOwnPropertyDescriptor(o,g);return v.get?v.get.call(arguments.length<3?f:_):v.value}},l.apply(this,arguments)}},20265:(y,h,a)=>{function c(u){return(c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(d){return d.__proto__||Object.getPrototypeOf(d)})(u)}a.d(h,{Z:()=>c})},24582:(y,h,a)=>{a.d(h,{Z:()=>u});var c=a(10006);function u(l,d){if("function"!=typeof d&&null!==d)throw new TypeError("Super expression must either be null or a function");l.prototype=Object.create(d&&d.prototype,{constructor:{value:l,writable:!0,configurable:!0}}),Object.defineProperty(l,"prototype",{writable:!1}),d&&(0,c.Z)(l,d)}},98568:(y,h,a)=>{function c(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}a.d(h,{Z:()=>c})},4826:(y,h,a)=>{function c(u){if(typeof Symbol<"u"&&null!=u[Symbol.iterator]||null!=u["@@iterator"])return Array.from(u)}a.d(h,{Z:()=>c})},10006:(y,h,a)=>{function c(u,l){return(c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(f,g){return f.__proto__=g,f})(u,l)}a.d(h,{Z:()=>c})},86170:(y,h,a)=>{a.d(h,{Z:()=>g});var c=a(44841),l=a(4826),d=a(44206);function g(_){return function u(_){if(Array.isArray(_))return(0,c.Z)(_)}(_)||(0,l.Z)(_)||(0,d.Z)(_)||function f(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(y,h,a)=>{a.d(h,{Z:()=>u});var c=a(44841);function u(l,d){if(l){if("string"==typeof l)return(0,c.Z)(l,d);var f=Object.prototype.toString.call(l).slice(8,-1);if("Object"===f&&l.constructor&&(f=l.constructor.name),"Map"===f||"Set"===f)return Array.from(l);if("Arguments"===f||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f))return(0,c.Z)(l,d)}}}}]); +//# sourceMappingURL=3574.2f6c2aa430041f1f.js.map \ No newline at end of file diff --git a/3574.2f6c2aa430041f1f.js.map b/3574.2f6c2aa430041f1f.js.map new file mode 100644 index 0000000..303f5f5 --- /dev/null +++ b/3574.2f6c2aa430041f1f.js.map @@ -0,0 +1 @@ +{"version":3,"file":"3574.2f6c2aa430041f1f.js","mappings":"qoBAMAA,EAAA,MAAAC,EAAA,iGAAAC,EAAA,mEAiBMC,EAAe,WACjB,SAAAA,KAAcC,OAAAC,KAAAF,GAEVE,KAAKC,YAAc,EAEnBD,KAAKE,SAAW,CACpB,CACAC,cAAAL,EAAA,EAAAM,IAAA,WAAAC,IACA,WACI,OAAOL,KAAKE,SAAW,CAC3B,GACA,CAAAE,IAAA,UAAAC,IAIA,WACI,IAAMC,EAAaC,KAAKC,IAAGC,MAARF,QAAIG,KAAQV,KAAKW,UAGpC,OAAOL,EAAa,EAAIN,KAAKY,SAAWN,EAAa,EAAIN,KAAKY,QAClE,GACA,CAAAR,IAAA,SAAAS,MAKA,SAAOC,EAAYC,GAAO,IAAAC,EAAAhB,KACtBA,KAAKC,YAAc,EACnBD,KAAKE,SAAW,EAChBF,KAAKW,QAAU,IAAIM,MAAMH,GACzBd,KAAKW,QAAQO,KAAK,EAAG,EAAGlB,KAAKW,QAAQQ,QACrCnB,KAAKoB,UAAYL,EAAMM,IAAI,SAAAC,GAAI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,EACA,mCCFe,SAAAI,EAAApB,EAAAqB,GACf,OAAAD,EAAAxB,OAAAK,eAAAL,OAAAK,eAAAX,OAAA,SAAAU,EAAAqB,GACA,OAAArB,EAAAE,UAAAmB,EACArB,CACA,GACAA,EAAAqB,EACA,wFCFe,SAAA/N,EAAA2K,GACf,OCJe,SAAAqD,EAAArD,GACf,GAAApK,MAAA0N,QAAAtD,GAAA,SAAiCuD,EAAA9C,GAAgBT,EACjD,CDESqD,CAAiBrD,KAAA,EAASwD,EAAA/C,GAAeT,KAAA,EAASyD,EAAAhD,GAA0BT,IELtE,SAAA0D,IACf,UAAAvC,UAAA,uIACA,CFG8FuC,EAC9F,mDGLe,SAAAC,EAAA5B,EAAA6B,GACf,GAAA7B,EACA,qBAAAA,EAAA,SAAoC8B,EAAApD,GAAgBsB,EAAA6B,GACpD,IAAAE,EAAAnC,OAAApF,UAAAwH,SAAA3H,KAAA2F,GAAAiC,MAAA,MAEA,GADA,WAAAF,GAAA/B,EAAAjB,cAAAgD,EAAA/B,EAAAjB,YAAAmD,MACA,QAAAH,GAAA,QAAAA,EAAA,OAAAlO,MAAAsN,KAAAnB,GACA,iBAAA+B,GAAA,2CAAAtH,KAAAsH,GAAA,SAAsFD,EAAApD,GAAgBsB,EAAA6B,EAAA,CACtG","names":["_c0","_c1","_c2","TileCoordinator","_classCallCheck","this","columnIndex","rowIndex","_createClass","key","get","lastRowMax","Math","max","apply","_toConsumableArray","tracker","rowCount","value","numColumns","tiles","_this","Array","fill","length","positions","map","tile","_trackTile","gapStartIndex","_findMatchingGap","colspan","_markTilePosition","TilePosition","tileCols","gapEndIndex","_nextRow","indexOf","_findGapEndIndex","i","start","rowspan","row","col","MAT_GRID_LIST","InjectionToken","MatGridTile","_element","_gridList","_rowspan","_colspan","set","round","coerceNumberProperty","property","nativeElement","style","ɵfac","t","i0","ɵcmp","type","selectors","hostAttrs","hostVars","hostBindings","rf","ctx","inputs","exportAs","ngContentSelectors","decls","vars","consts","template","styles","encapsulation","changeDetection","MatGridTileText","setLines","_lines","contentQueries","dirIndex","_t","MatLine","MatGridAvatarCssMatStyler","ɵdir","MatGridTileHeaderCssMatStyler","MatGridTileFooterCssMatStyler","cssCalcAllowedValue","TileStyler","_rows","gutterSize","cols","direction","_gutterSize","normalizeUnits","_cols","_direction","sizePercent","gutterFraction","concat","baseSize","offset","calc","span","colIndex","percentWidthPerTile","gutterWidthFractionPerTile","setColStyles","setRowStyles","percentWidth","gutterWidth","baseTileWidth","getBaseTileSize","_setStyle","getTilePosition","getTileSize","tileHeight","FixedTileStyler","_TileStyler","_inherits","_super","_createSuper","fixedRowHeight","_this2","call","_get","_getPrototypeOf","prototype","test","getTileSpan","getGutterSpan","list","_setListStyle","_tiles","forEach","RatioTileStyler","_TileStyler2","_super2","_this3","_parseRatio","baseTileHeight","rowHeightRatio","ratioParts","split","parseFloat","FitTileStyler","_TileStyler3","_super3","arguments","exp","match","MatGridList","_dir","_gutter","_rowHeight","newValue","_setTileStyler","_checkCols","_checkRowHeight","_layoutTiles","rowHeight","_tileStyler","reset","_this4","_tileCoordinator","filter","update","init","index","pos","setStyle","getComputedHeight","i1","features","provide","useExisting","MatGridListModule","ɵmod","ɵinj","imports","MatLineModule","MatCommonModule","ɵTileCoordinator","_arrayLikeToArray","arr","len","arr2","_assertThisInitialized","self","ReferenceError","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","constructor","Reflect","construct","_possibleConstructorReturn","esm_typeof","TypeError","assertThisInitialized","bind","target","receiver","base","_superPropBase","object","Object","hasOwnProperty","desc","getOwnPropertyDescriptor","o","setPrototypeOf","__proto__","subClass","superClass","create","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_iterableToArray","iter","Symbol","iterator","from","_setPrototypeOf","p","_arrayWithoutHoles","isArray","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","n","toString","slice","name"],"sourceRoot":"webpack:///","sources":["./node_modules/@angular/material/fesm2022/grid-list.mjs","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import * as i0 from '@angular/core';\nimport { InjectionToken, Component, ViewEncapsulation, ChangeDetectionStrategy, Optional, Inject, Input, ContentChildren, Directive, NgModule } from '@angular/core';\nimport { setLines, MatLine, MatLineModule, MatCommonModule } from '@angular/material/core';\nimport { coerceNumberProperty } from '@angular/cdk/coercion';\nimport * as i1 from '@angular/cdk/bidi';\n\n/**\n * Class for determining, from a list of tiles, the (row, col) position of each of those tiles\n * in the grid. This is necessary (rather than just rendering the tiles in normal document flow)\n * because the tiles can have a rowspan.\n *\n * The positioning algorithm greedily places each tile as soon as it encounters a gap in the grid\n * large enough to accommodate it so that the tiles still render in the same order in which they\n * are given.\n *\n * The basis of the algorithm is the use of an array to track the already placed tiles. Each\n * element of the array corresponds to a column, and the value indicates how many cells in that\n * column are already occupied; zero indicates an empty cell. Moving \"down\" to the next row\n * decrements each value in the tracking array (indicating that the column is one cell closer to\n * being free).\n *\n * @docs-private\n */\nclass TileCoordinator {\n constructor() {\n /** Index at which the search for the next gap will start. */\n this.columnIndex = 0;\n /** The current row index. */\n this.rowIndex = 0;\n }\n /** Gets the total number of rows occupied by tiles */\n get rowCount() {\n return this.rowIndex + 1;\n }\n /**\n * Gets the total span of rows occupied by tiles.\n * Ex: A list with 1 row that contains a tile with rowspan 2 will have a total rowspan of 2.\n */\n get rowspan() {\n const lastRowMax = Math.max(...this.tracker);\n // if any of the tiles has a rowspan that pushes it beyond the total row count,\n // add the difference to the rowcount\n return lastRowMax > 1 ? this.rowCount + lastRowMax - 1 : this.rowCount;\n }\n /**\n * Updates the tile positions.\n * @param numColumns Amount of columns in the grid.\n * @param tiles Tiles to be positioned.\n */\n update(numColumns, tiles) {\n this.columnIndex = 0;\n this.rowIndex = 0;\n this.tracker = new Array(numColumns);\n this.tracker.fill(0, 0, this.tracker.length);\n this.positions = tiles.map(tile => this._trackTile(tile));\n }\n /** Calculates the row and col position of a tile. */\n _trackTile(tile) {\n // Find a gap large enough for this tile.\n const gapStartIndex = this._findMatchingGap(tile.colspan);\n // Place tile in the resulting gap.\n this._markTilePosition(gapStartIndex, tile);\n // The next time we look for a gap, the search will start at columnIndex, which should be\n // immediately after the tile that has just been placed.\n this.columnIndex = gapStartIndex + tile.colspan;\n return new TilePosition(this.rowIndex, gapStartIndex);\n }\n /** Finds the next available space large enough to fit the tile. */\n _findMatchingGap(tileCols) {\n if (tileCols > this.tracker.length && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error(`mat-grid-list: tile with colspan ${tileCols} is wider than ` +\n `grid with cols=\"${this.tracker.length}\".`);\n }\n // Start index is inclusive, end index is exclusive.\n let gapStartIndex = -1;\n let gapEndIndex = -1;\n // Look for a gap large enough to fit the given tile. Empty spaces are marked with a zero.\n do {\n // If we've reached the end of the row, go to the next row.\n if (this.columnIndex + tileCols > this.tracker.length) {\n this._nextRow();\n gapStartIndex = this.tracker.indexOf(0, this.columnIndex);\n gapEndIndex = this._findGapEndIndex(gapStartIndex);\n continue;\n }\n gapStartIndex = this.tracker.indexOf(0, this.columnIndex);\n // If there are no more empty spaces in this row at all, move on to the next row.\n if (gapStartIndex == -1) {\n this._nextRow();\n gapStartIndex = this.tracker.indexOf(0, this.columnIndex);\n gapEndIndex = this._findGapEndIndex(gapStartIndex);\n continue;\n }\n gapEndIndex = this._findGapEndIndex(gapStartIndex);\n // If a gap large enough isn't found, we want to start looking immediately after the current\n // gap on the next iteration.\n this.columnIndex = gapStartIndex + 1;\n // Continue iterating until we find a gap wide enough for this tile. Since gapEndIndex is\n // exclusive, gapEndIndex is 0 means we didn't find a gap and should continue.\n } while (gapEndIndex - gapStartIndex < tileCols || gapEndIndex == 0);\n // If we still didn't manage to find a gap, ensure that the index is\n // at least zero so the tile doesn't get pulled out of the grid.\n return Math.max(gapStartIndex, 0);\n }\n /** Move \"down\" to the next row. */\n _nextRow() {\n this.columnIndex = 0;\n this.rowIndex++;\n // Decrement all spaces by one to reflect moving down one row.\n for (let i = 0; i < this.tracker.length; i++) {\n this.tracker[i] = Math.max(0, this.tracker[i] - 1);\n }\n }\n /**\n * Finds the end index (exclusive) of a gap given the index from which to start looking.\n * The gap ends when a non-zero value is found.\n */\n _findGapEndIndex(gapStartIndex) {\n for (let i = gapStartIndex + 1; i < this.tracker.length; i++) {\n if (this.tracker[i] != 0) {\n return i;\n }\n }\n // The gap ends with the end of the row.\n return this.tracker.length;\n }\n /** Update the tile tracker to account for the given tile in the given space. */\n _markTilePosition(start, tile) {\n for (let i = 0; i < tile.colspan; i++) {\n this.tracker[start + i] = tile.rowspan;\n }\n }\n}\n/**\n * Simple data structure for tile position (row, col).\n * @docs-private\n */\nclass TilePosition {\n constructor(row, col) {\n this.row = row;\n this.col = col;\n }\n}\n\n/**\n * Injection token used to provide a grid list to a tile and to avoid circular imports.\n * @docs-private\n */\nconst MAT_GRID_LIST = new InjectionToken('MAT_GRID_LIST');\n\nclass MatGridTile {\n constructor(_element, _gridList) {\n this._element = _element;\n this._gridList = _gridList;\n this._rowspan = 1;\n this._colspan = 1;\n }\n /** Amount of rows that the grid tile takes up. */\n get rowspan() {\n return this._rowspan;\n }\n set rowspan(value) {\n this._rowspan = Math.round(coerceNumberProperty(value));\n }\n /** Amount of columns that the grid tile takes up. */\n get colspan() {\n return this._colspan;\n }\n set colspan(value) {\n this._colspan = Math.round(coerceNumberProperty(value));\n }\n /**\n * Sets the style of the grid-tile element. Needs to be set manually to avoid\n * \"Changed after checked\" errors that would occur with HostBinding.\n */\n _setStyle(property, value) {\n this._element.nativeElement.style[property] = value;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatGridTile, deps: [{ token: i0.ElementRef }, { token: MAT_GRID_LIST, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatGridTile, selector: \"mat-grid-tile\", inputs: { rowspan: \"rowspan\", colspan: \"colspan\" }, host: { properties: { \"attr.rowspan\": \"rowspan\", \"attr.colspan\": \"colspan\" }, classAttribute: \"mat-grid-tile\" }, exportAs: [\"matGridTile\"], ngImport: i0, template: \"<div class=\\\"mat-grid-tile-content\\\">\\n <ng-content></ng-content>\\n</div>\\n\", styles: [\".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatGridTile, decorators: [{\n type: Component,\n args: [{ selector: 'mat-grid-tile', exportAs: 'matGridTile', host: {\n 'class': 'mat-grid-tile',\n // Ensures that the \"rowspan\" and \"colspan\" input value is reflected in\n // the DOM. This is needed for the grid-tile harness.\n '[attr.rowspan]': 'rowspan',\n '[attr.colspan]': 'colspan',\n }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: \"<div class=\\\"mat-grid-tile-content\\\">\\n <ng-content></ng-content>\\n</div>\\n\", styles: [\".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_GRID_LIST]\n }] }]; }, propDecorators: { rowspan: [{\n type: Input\n }], colspan: [{\n type: Input\n }] } });\nclass MatGridTileText {\n constructor(_element) {\n this._element = _element;\n }\n ngAfterContentInit() {\n setLines(this._lines, this._element);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatGridTileText, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatGridTileText, selector: \"mat-grid-tile-header, mat-grid-tile-footer\", queries: [{ propertyName: \"_lines\", predicate: MatLine, descendants: true }], ngImport: i0, template: \"<ng-content select=\\\"[mat-grid-avatar], [matGridAvatar]\\\"></ng-content>\\n<div class=\\\"mat-grid-list-text\\\"><ng-content select=\\\"[mat-line], [matLine]\\\"></ng-content></div>\\n<ng-content></ng-content>\\n\", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatGridTileText, decorators: [{\n type: Component,\n args: [{ selector: 'mat-grid-tile-header, mat-grid-tile-footer', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: \"<ng-content select=\\\"[mat-grid-avatar], [matGridAvatar]\\\"></ng-content>\\n<div class=\\\"mat-grid-list-text\\\"><ng-content select=\\\"[mat-line], [matLine]\\\"></ng-content></div>\\n<ng-content></ng-content>\\n\" }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { _lines: [{\n type: ContentChildren,\n args: [MatLine, { descendants: true }]\n }] } });\n/**\n * Directive whose purpose is to add the mat- CSS styling to this selector.\n * @docs-private\n */\nclass MatGridAvatarCssMatStyler {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatGridAvatarCssMatStyler, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatGridAvatarCssMatStyler, selector: \"[mat-grid-avatar], [matGridAvatar]\", host: { classAttribute: \"mat-grid-avatar\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatGridAvatarCssMatStyler, decorators: [{\n type: Directive,\n args: [{\n selector: '[mat-grid-avatar], [matGridAvatar]',\n host: { 'class': 'mat-grid-avatar' },\n }]\n }] });\n/**\n * Directive whose purpose is to add the mat- CSS styling to this selector.\n * @docs-private\n */\nclass MatGridTileHeaderCssMatStyler {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatGridTileHeaderCssMatStyler, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatGridTileHeaderCssMatStyler, selector: \"mat-grid-tile-header\", host: { classAttribute: \"mat-grid-tile-header\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatGridTileHeaderCssMatStyler, decorators: [{\n type: Directive,\n args: [{\n selector: 'mat-grid-tile-header',\n host: { 'class': 'mat-grid-tile-header' },\n }]\n }] });\n/**\n * Directive whose purpose is to add the mat- CSS styling to this selector.\n * @docs-private\n */\nclass MatGridTileFooterCssMatStyler {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatGridTileFooterCssMatStyler, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatGridTileFooterCssMatStyler, selector: \"mat-grid-tile-footer\", host: { classAttribute: \"mat-grid-tile-footer\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatGridTileFooterCssMatStyler, decorators: [{\n type: Directive,\n args: [{\n selector: 'mat-grid-tile-footer',\n host: { 'class': 'mat-grid-tile-footer' },\n }]\n }] });\n\n/**\n * RegExp that can be used to check whether a value will\n * be allowed inside a CSS `calc()` expression.\n */\nconst cssCalcAllowedValue = /^-?\\d+((\\.\\d+)?[A-Za-z%$]?)+$/;\n/**\n * Sets the style properties for an individual tile, given the position calculated by the\n * Tile Coordinator.\n * @docs-private\n */\nclass TileStyler {\n constructor() {\n this._rows = 0;\n this._rowspan = 0;\n }\n /**\n * Adds grid-list layout info once it is available. Cannot be processed in the constructor\n * because these properties haven't been calculated by that point.\n *\n * @param gutterSize Size of the grid's gutter.\n * @param tracker Instance of the TileCoordinator.\n * @param cols Amount of columns in the grid.\n * @param direction Layout direction of the grid.\n */\n init(gutterSize, tracker, cols, direction) {\n this._gutterSize = normalizeUnits(gutterSize);\n this._rows = tracker.rowCount;\n this._rowspan = tracker.rowspan;\n this._cols = cols;\n this._direction = direction;\n }\n /**\n * Computes the amount of space a single 1x1 tile would take up (width or height).\n * Used as a basis for other calculations.\n * @param sizePercent Percent of the total grid-list space that one 1x1 tile would take up.\n * @param gutterFraction Fraction of the gutter size taken up by one 1x1 tile.\n * @return The size of a 1x1 tile as an expression that can be evaluated via CSS calc().\n */\n getBaseTileSize(sizePercent, gutterFraction) {\n // Take the base size percent (as would be if evenly dividing the size between cells),\n // and then subtracting the size of one gutter. However, since there are no gutters on the\n // edges, each tile only uses a fraction (gutterShare = numGutters / numCells) of the gutter\n // size. (Imagine having one gutter per tile, and then breaking up the extra gutter on the\n // edge evenly among the cells).\n return `(${sizePercent}% - (${this._gutterSize} * ${gutterFraction}))`;\n }\n /**\n * Gets The horizontal or vertical position of a tile, e.g., the 'top' or 'left' property value.\n * @param offset Number of tiles that have already been rendered in the row/column.\n * @param baseSize Base size of a 1x1 tile (as computed in getBaseTileSize).\n * @return Position of the tile as a CSS calc() expression.\n */\n getTilePosition(baseSize, offset) {\n // The position comes the size of a 1x1 tile plus gutter for each previous tile in the\n // row/column (offset).\n return offset === 0 ? '0' : calc(`(${baseSize} + ${this._gutterSize}) * ${offset}`);\n }\n /**\n * Gets the actual size of a tile, e.g., width or height, taking rowspan or colspan into account.\n * @param baseSize Base size of a 1x1 tile (as computed in getBaseTileSize).\n * @param span The tile's rowspan or colspan.\n * @return Size of the tile as a CSS calc() expression.\n */\n getTileSize(baseSize, span) {\n return `(${baseSize} * ${span}) + (${span - 1} * ${this._gutterSize})`;\n }\n /**\n * Sets the style properties to be applied to a tile for the given row and column index.\n * @param tile Tile to which to apply the styling.\n * @param rowIndex Index of the tile's row.\n * @param colIndex Index of the tile's column.\n */\n setStyle(tile, rowIndex, colIndex) {\n // Percent of the available horizontal space that one column takes up.\n let percentWidthPerTile = 100 / this._cols;\n // Fraction of the vertical gutter size that each column takes up.\n // For example, if there are 5 columns, each column uses 4/5 = 0.8 times the gutter width.\n let gutterWidthFractionPerTile = (this._cols - 1) / this._cols;\n this.setColStyles(tile, colIndex, percentWidthPerTile, gutterWidthFractionPerTile);\n this.setRowStyles(tile, rowIndex, percentWidthPerTile, gutterWidthFractionPerTile);\n }\n /** Sets the horizontal placement of the tile in the list. */\n setColStyles(tile, colIndex, percentWidth, gutterWidth) {\n // Base horizontal size of a column.\n let baseTileWidth = this.getBaseTileSize(percentWidth, gutterWidth);\n // The width and horizontal position of each tile is always calculated the same way, but the\n // height and vertical position depends on the rowMode.\n let side = this._direction === 'rtl' ? 'right' : 'left';\n tile._setStyle(side, this.getTilePosition(baseTileWidth, colIndex));\n tile._setStyle('width', calc(this.getTileSize(baseTileWidth, tile.colspan)));\n }\n /**\n * Calculates the total size taken up by gutters across one axis of a list.\n */\n getGutterSpan() {\n return `${this._gutterSize} * (${this._rowspan} - 1)`;\n }\n /**\n * Calculates the total size taken up by tiles across one axis of a list.\n * @param tileHeight Height of the tile.\n */\n getTileSpan(tileHeight) {\n return `${this._rowspan} * ${this.getTileSize(tileHeight, 1)}`;\n }\n /**\n * Calculates the computed height and returns the correct style property to set.\n * This method can be implemented by each type of TileStyler.\n * @docs-private\n */\n getComputedHeight() {\n return null;\n }\n}\n/**\n * This type of styler is instantiated when the user passes in a fixed row height.\n * Example `<mat-grid-list cols=\"3\" rowHeight=\"100px\">`\n * @docs-private\n */\nclass FixedTileStyler extends TileStyler {\n constructor(fixedRowHeight) {\n super();\n this.fixedRowHeight = fixedRowHeight;\n }\n init(gutterSize, tracker, cols, direction) {\n super.init(gutterSize, tracker, cols, direction);\n this.fixedRowHeight = normalizeUnits(this.fixedRowHeight);\n if (!cssCalcAllowedValue.test(this.fixedRowHeight) &&\n (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error(`Invalid value \"${this.fixedRowHeight}\" set as rowHeight.`);\n }\n }\n setRowStyles(tile, rowIndex) {\n tile._setStyle('top', this.getTilePosition(this.fixedRowHeight, rowIndex));\n tile._setStyle('height', calc(this.getTileSize(this.fixedRowHeight, tile.rowspan)));\n }\n getComputedHeight() {\n return ['height', calc(`${this.getTileSpan(this.fixedRowHeight)} + ${this.getGutterSpan()}`)];\n }\n reset(list) {\n list._setListStyle(['height', null]);\n if (list._tiles) {\n list._tiles.forEach(tile => {\n tile._setStyle('top', null);\n tile._setStyle('height', null);\n });\n }\n }\n}\n/**\n * This type of styler is instantiated when the user passes in a width:height ratio\n * for the row height. Example `<mat-grid-list cols=\"3\" rowHeight=\"3:1\">`\n * @docs-private\n */\nclass RatioTileStyler extends TileStyler {\n constructor(value) {\n super();\n this._parseRatio(value);\n }\n setRowStyles(tile, rowIndex, percentWidth, gutterWidth) {\n let percentHeightPerTile = percentWidth / this.rowHeightRatio;\n this.baseTileHeight = this.getBaseTileSize(percentHeightPerTile, gutterWidth);\n // Use padding-top and margin-top to maintain the given aspect ratio, as\n // a percentage-based value for these properties is applied versus the *width* of the\n // containing block. See http://www.w3.org/TR/CSS2/box.html#margin-properties\n tile._setStyle('marginTop', this.getTilePosition(this.baseTileHeight, rowIndex));\n tile._setStyle('paddingTop', calc(this.getTileSize(this.baseTileHeight, tile.rowspan)));\n }\n getComputedHeight() {\n return [\n 'paddingBottom',\n calc(`${this.getTileSpan(this.baseTileHeight)} + ${this.getGutterSpan()}`),\n ];\n }\n reset(list) {\n list._setListStyle(['paddingBottom', null]);\n list._tiles.forEach(tile => {\n tile._setStyle('marginTop', null);\n tile._setStyle('paddingTop', null);\n });\n }\n _parseRatio(value) {\n const ratioParts = value.split(':');\n if (ratioParts.length !== 2 && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error(`mat-grid-list: invalid ratio given for row-height: \"${value}\"`);\n }\n this.rowHeightRatio = parseFloat(ratioParts[0]) / parseFloat(ratioParts[1]);\n }\n}\n/**\n * This type of styler is instantiated when the user selects a \"fit\" row height mode.\n * In other words, the row height will reflect the total height of the container divided\n * by the number of rows. Example `<mat-grid-list cols=\"3\" rowHeight=\"fit\">`\n *\n * @docs-private\n */\nclass FitTileStyler extends TileStyler {\n setRowStyles(tile, rowIndex) {\n // Percent of the available vertical space that one row takes up.\n let percentHeightPerTile = 100 / this._rowspan;\n // Fraction of the horizontal gutter size that each column takes up.\n let gutterHeightPerTile = (this._rows - 1) / this._rows;\n // Base vertical size of a column.\n let baseTileHeight = this.getBaseTileSize(percentHeightPerTile, gutterHeightPerTile);\n tile._setStyle('top', this.getTilePosition(baseTileHeight, rowIndex));\n tile._setStyle('height', calc(this.getTileSize(baseTileHeight, tile.rowspan)));\n }\n reset(list) {\n if (list._tiles) {\n list._tiles.forEach(tile => {\n tile._setStyle('top', null);\n tile._setStyle('height', null);\n });\n }\n }\n}\n/** Wraps a CSS string in a calc function */\nfunction calc(exp) {\n return `calc(${exp})`;\n}\n/** Appends pixels to a CSS string if no units are given. */\nfunction normalizeUnits(value) {\n return value.match(/([A-Za-z%]+)$/) ? value : `${value}px`;\n}\n\n// TODO(kara): Conditional (responsive) column count / row size.\n// TODO(kara): Re-layout on window resize / media change (debounced).\n// TODO(kara): gridTileHeader and gridTileFooter.\nconst MAT_FIT_MODE = 'fit';\nclass MatGridList {\n constructor(_element, _dir) {\n this._element = _element;\n this._dir = _dir;\n /** The amount of space between tiles. This will be something like '5px' or '2em'. */\n this._gutter = '1px';\n }\n /** Amount of columns in the grid list. */\n get cols() {\n return this._cols;\n }\n set cols(value) {\n this._cols = Math.max(1, Math.round(coerceNumberProperty(value)));\n }\n /** Size of the grid list's gutter in pixels. */\n get gutterSize() {\n return this._gutter;\n }\n set gutterSize(value) {\n this._gutter = `${value == null ? '' : value}`;\n }\n /** Set internal representation of row height from the user-provided value. */\n get rowHeight() {\n return this._rowHeight;\n }\n set rowHeight(value) {\n const newValue = `${value == null ? '' : value}`;\n if (newValue !== this._rowHeight) {\n this._rowHeight = newValue;\n this._setTileStyler(this._rowHeight);\n }\n }\n ngOnInit() {\n this._checkCols();\n this._checkRowHeight();\n }\n /**\n * The layout calculation is fairly cheap if nothing changes, so there's little cost\n * to run it frequently.\n */\n ngAfterContentChecked() {\n this._layoutTiles();\n }\n /** Throw a friendly error if cols property is missing */\n _checkCols() {\n if (!this.cols && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error(`mat-grid-list: must pass in number of columns. ` + `Example: <mat-grid-list cols=\"3\">`);\n }\n }\n /** Default to equal width:height if rowHeight property is missing */\n _checkRowHeight() {\n if (!this._rowHeight) {\n this._setTileStyler('1:1');\n }\n }\n /** Creates correct Tile Styler subtype based on rowHeight passed in by user */\n _setTileStyler(rowHeight) {\n if (this._tileStyler) {\n this._tileStyler.reset(this);\n }\n if (rowHeight === MAT_FIT_MODE) {\n this._tileStyler = new FitTileStyler();\n }\n else if (rowHeight && rowHeight.indexOf(':') > -1) {\n this._tileStyler = new RatioTileStyler(rowHeight);\n }\n else {\n this._tileStyler = new FixedTileStyler(rowHeight);\n }\n }\n /** Computes and applies the size and position for all children grid tiles. */\n _layoutTiles() {\n if (!this._tileCoordinator) {\n this._tileCoordinator = new TileCoordinator();\n }\n const tracker = this._tileCoordinator;\n const tiles = this._tiles.filter(tile => !tile._gridList || tile._gridList === this);\n const direction = this._dir ? this._dir.value : 'ltr';\n this._tileCoordinator.update(this.cols, tiles);\n this._tileStyler.init(this.gutterSize, tracker, this.cols, direction);\n tiles.forEach((tile, index) => {\n const pos = tracker.positions[index];\n this._tileStyler.setStyle(tile, pos.row, pos.col);\n });\n this._setListStyle(this._tileStyler.getComputedHeight());\n }\n /** Sets style on the main grid-list element, given the style name and value. */\n _setListStyle(style) {\n if (style) {\n this._element.nativeElement.style[style[0]] = style[1];\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatGridList, deps: [{ token: i0.ElementRef }, { token: i1.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatGridList, selector: \"mat-grid-list\", inputs: { cols: \"cols\", gutterSize: \"gutterSize\", rowHeight: \"rowHeight\" }, host: { properties: { \"attr.cols\": \"cols\" }, classAttribute: \"mat-grid-list\" }, providers: [\n {\n provide: MAT_GRID_LIST,\n useExisting: MatGridList,\n },\n ], queries: [{ propertyName: \"_tiles\", predicate: MatGridTile, descendants: true }], exportAs: [\"matGridList\"], ngImport: i0, template: \"<div>\\n <ng-content></ng-content>\\n</div>\", styles: [\".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatGridList, decorators: [{\n type: Component,\n args: [{ selector: 'mat-grid-list', exportAs: 'matGridList', host: {\n 'class': 'mat-grid-list',\n // Ensures that the \"cols\" input value is reflected in the DOM. This is\n // needed for the grid-list harness.\n '[attr.cols]': 'cols',\n }, providers: [\n {\n provide: MAT_GRID_LIST,\n useExisting: MatGridList,\n },\n ], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: \"<div>\\n <ng-content></ng-content>\\n</div>\", styles: [\".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.Directionality, decorators: [{\n type: Optional\n }] }]; }, propDecorators: { _tiles: [{\n type: ContentChildren,\n args: [MatGridTile, { descendants: true }]\n }], cols: [{\n type: Input\n }], gutterSize: [{\n type: Input\n }], rowHeight: [{\n type: Input\n }] } });\n\nclass MatGridListModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatGridListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatGridListModule, declarations: [MatGridList,\n MatGridTile,\n MatGridTileText,\n MatGridTileHeaderCssMatStyler,\n MatGridTileFooterCssMatStyler,\n MatGridAvatarCssMatStyler], imports: [MatLineModule, MatCommonModule], exports: [MatGridList,\n MatGridTile,\n MatGridTileText,\n MatLineModule,\n MatCommonModule,\n MatGridTileHeaderCssMatStyler,\n MatGridTileFooterCssMatStyler,\n MatGridAvatarCssMatStyler] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatGridListModule, imports: [MatLineModule, MatCommonModule, MatLineModule,\n MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatGridListModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [MatLineModule, MatCommonModule],\n exports: [\n MatGridList,\n MatGridTile,\n MatGridTileText,\n MatLineModule,\n MatCommonModule,\n MatGridTileHeaderCssMatStyler,\n MatGridTileFooterCssMatStyler,\n MatGridAvatarCssMatStyler,\n ],\n declarations: [\n MatGridList,\n MatGridTile,\n MatGridTileText,\n MatGridTileHeaderCssMatStyler,\n MatGridTileFooterCssMatStyler,\n MatGridAvatarCssMatStyler,\n ],\n }]\n }] });\n\n// Privately exported for the grid-list harness.\nconst ɵTileCoordinator = TileCoordinator;\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MatGridAvatarCssMatStyler, MatGridList, MatGridListModule, MatGridTile, MatGridTileFooterCssMatStyler, MatGridTileHeaderCssMatStyler, MatGridTileText, ɵTileCoordinator };\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]} \ No newline at end of file diff --git a/3597.44455a50ee80dd40.js b/3597.44455a50ee80dd40.js new file mode 100644 index 0000000..8823e68 --- /dev/null +++ b/3597.44455a50ee80dd40.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[3597],{80464:(V,R)=>{function L(o){return o.replace(/[-[\]/{}()*+?.\\^$]/g,"\\$&")}function x(o,s){var l=(void 0===s?{}:s).decimalMark,M=void 0===l?".":l;if("number"==typeof o)return o.toString();if("string"!=typeof o)return"NaN";var _=L(M),p=o.trim(),P=p.match(/^\(.*\)$|^-/),C=new RegExp("[^\\d"+_+"]|"+_+"(?=.*"+_+")|^\\D*"+_+"\\D*$","g");return""===(p=p.replace(C,"").replace(M,"."))?p="NaN":P&&(p="-"+p),p}R.He=void 0,R.He=function T(o,s){var l=(void 0===s?{}:s).decimalMark,_=x(o,{decimalMark:void 0===l?".":l});return"NaN"===_?NaN:Number(_)}},3597:(V,R,d)=>{d.r(R),d.d(R,{AsyncApiCallHelperService:()=>O,DynamicContentViewer:()=>D,EMBEDDABLE_COMPONENT:()=>p,ForDirective:()=>k,HOST_NAME:()=>C,ModuleLoaderService:()=>E,MyAsyncTaskProcessor:()=>b,NoopDataService:()=>w,NotAvailablePipe:()=>_,NumeralPipe:()=>M,PROTOCOL:()=>S,SITE_NAME:()=>P,StyleLoaderService:()=>I,UtilsModule:()=>v,ZoneMacroTaskWrapper:()=>h});var L=d(24582),x=d(28694),T=d(95106),m=d(78069),y=d(48047),i=d(56718),o=d(94055),s=d(80464),u=d(90833),l=d(10745),M=function(){var e=function(){function n(){(0,m.Z)(this,n)}return(0,y.Z)(n,[{key:"transform",value:function(r,c){if(void 0!==r&&""!==r)return(0,s.He)("".concat(r))}}]),n}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.\u0275\u0275definePipe({name:"numeral",type:e,pure:!0}),e}(),_=function(){var e=function(){function n(){(0,m.Z)(this,n)}return(0,y.Z)(n,[{key:"transform",value:function(r,c){return r&&""!==r?r:c}}]),n}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.\u0275\u0275definePipe({name:"na",type:e,pure:!0}),e}(),p=new i.InjectionToken("EmbeddableComponent"),P=new i.InjectionToken("Site Name"),C=new i.InjectionToken("Host Name"),S=new i.InjectionToken("Request Protocol"),D=function(){var e=function(){function n(t,r,c,f){var a=this;(0,m.Z)(this,n),this.injector=f,this.embeddedComponentFactories=new Map,this.embeddedComponents=[],this.docRendered=new i.EventEmitter,this.hostElement=r.nativeElement,c.forEach(function(g){var N=t.resolveComponentFactory(g);a.embeddedComponentFactories.set(N.selector,N)})}return(0,y.Z)(n,[{key:"content",set:function(r){this.ngOnDestroy(),r&&(this.build(r),this.docRendered.emit())}},{key:"build",value:function(r){var c=this;this.hostElement.innerHTML=r||"",r&&this.embeddedComponentFactories.forEach(function(f,a){c.hostElement.querySelectorAll(a).forEach(function(N){var F,Z=[Array.prototype.slice.call(N.childNodes)],B=f.create(c.injector,Z,N),j=(0,T.Z)(N.attributes);try{for(j.s();!(F=j.n()).done;){var U=F.value;B.instance[U.nodeName]=U.nodeValue}}catch(W){j.e(W)}finally{j.f()}c.embeddedComponents.push(B)})})}},{key:"ngDoCheck",value:function(){this.embeddedComponents.forEach(function(r){return r.changeDetectorRef.detectChanges()})}},{key:"ngOnDestroy",value:function(){this.embeddedComponents.forEach(function(r){return r.destroy()}),this.embeddedComponents.length=0}}]),n}();return e.\u0275fac=function(t){return new(t||e)(i.\u0275\u0275directiveInject(i.ComponentFactoryResolver),i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(p),i.\u0275\u0275directiveInject(i.Injector))},e.\u0275cmp=i.\u0275\u0275defineComponent({type:e,selectors:[["classifieds-ui-dynamic-content-viewer"]],inputs:{data:"data",content:"content"},outputs:{docRendered:"docRendered"},decls:0,vars:0,template:function(t,r){},encapsulation:2}),e}(),A=function(){function e(n,t){(0,m.Z)(this,e),this.index=n,this.length=t}return(0,y.Z)(e,[{key:"even",get:function(){return this.index%2==0}},{key:"odd",get:function(){return this.index%2==1}},{key:"first",get:function(){return 0===this.index}},{key:"last",get:function(){return this.index===this.length-1}}]),e}(),k=function(){var e=function(){function n(t,r){(0,m.Z)(this,n),this.templateRef=t,this.viewContainer=r}return(0,y.Z)(n,[{key:"loop",set:function(r){this.viewContainer.clear();for(var c=0;c<r;c++)this.viewContainer.createEmbeddedView(this.templateRef,new A(c,r))}}]),n}();return e.\u0275fac=function(t){return new(t||e)(i.\u0275\u0275directiveInject(i.TemplateRef),i.\u0275\u0275directiveInject(i.ViewContainerRef))},e.\u0275dir=i.\u0275\u0275defineDirective({type:e,selectors:[["","for","",5,"label"]],inputs:{loop:["for","loop"]}}),e}(),v=function(){var e=(0,y.Z)(function n(){(0,m.Z)(this,n)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.\u0275\u0275defineNgModule({type:e}),e.\u0275inj=i.\u0275\u0275defineInjector({imports:[o.CommonModule]}),e}(),E=function(){var e=function(){function n(t,r){(0,m.Z)(this,n),this.compiler=t,this.injector=r,this.loadedModules=[]}return(0,y.Z)(n,[{key:"loadModule",value:function(r){var c=this;return new u.y(function(f){r().then(function(a){if(-1!==c.loadedModules.indexOf(function(g){return g==a.name}))throw"";return c.loadedModules.push(a.name),a}).then(function(a){return c.compiler.compileModuleAndAllComponentsAsync(a)}).then(function(a){a.ngModuleFactory.create(c.injector),f.next(!0),f.complete()}).catch(function(){f.next(!0),f.complete()})})}}]),n}();return e.\u0275fac=function(t){return new(t||e)(i.\u0275\u0275inject(i.Compiler),i.\u0275\u0275inject(i.Injector))},e.\u0275prov=i.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),I=function(){var e=function(){function n(t){(0,m.Z)(this,n),this.document=t}return(0,y.Z)(n,[{key:"loadStyle",value:function(r){var c=this.document.getElementsByTagName("head")[0],f=this.document.getElementById("client-theme");if(f)f.href=r;else{var a=this.document.createElement("link");a.id="client-theme",a.rel="stylesheet",a.href="".concat(r),c.appendChild(a)}}}]),n}();return e.\u0275fac=function(t){return new(t||e)(i.\u0275\u0275inject(o.DOCUMENT))},e.\u0275prov=i.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),w=function(){function e(n){(0,m.Z)(this,e),this.entities=new Map,this.name=n}return(0,y.Z)(e,[{key:"add",value:function(t){return(0,l.of)(t)}},{key:"delete",value:function(t){return this.entities.delete(t),(0,l.of)(t)}},{key:"getAll",value:function(){var t=[];return this.entities.forEach(function(r){t.push(r)}),(0,l.of)(t)}},{key:"getById",value:function(t){return(0,l.of)(this.entities.get(t))}},{key:"getWithQuery",value:function(t){var r=[];return this.entities.forEach(function(c){r.push(c)}),(0,l.of)(r)}},{key:"update",value:function(t){return(0,l.of)(void 0)}},{key:"upsert",value:function(t){return(0,l.of)(t)}}]),e}(),O=function(){var e=function(){function n(){(0,m.Z)(this,n),this.taskProcessor=new b}return(0,y.Z)(n,[{key:"doTask",value:function(r){return this.taskProcessor.doTask(r)}}]),n}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),h=function(){function e(){(0,m.Z)(this,e)}return(0,y.Z)(e,[{key:"wrap",value:function(t){var r=this;return new u.y(function(c){var f,a=!1,g=null,N=null,Z=null;return function(K){f=K,a=!0;var $=r.delegate(t);g=$.subscribe(function(H){return N=H},function(H){if(!a)throw new Error("An http observable was completed twice. This shouldn't happen, please file a bug.");Z=H,a=!1,f.invoke()},function(){if(!a)throw new Error("An http observable was completed twice. This shouldn't happen, please file a bug.");a=!1,f.invoke()})}(Zone.current.scheduleMacroTask("ZoneMacroTaskWrapper.subscribe",function(){null!==Z?c.error(Z):(c.next(N),c.complete())},{},function(){return null},function(K){a&&(a=!1,g&&(g.unsubscribe(),g=null))})),function(){a&&f&&(f.zone.cancelTask(f),a=!1),g&&(g.unsubscribe(),g=null)}})}}]),e}(),b=function(e){(0,L.Z)(t,e);var n=(0,x.Z)(t);function t(){return(0,m.Z)(this,t),n.call(this)}return(0,y.Z)(t,[{key:"doTask",value:function(c){return this.wrap(c)}},{key:"delegate",value:function(c){return new u.y(function(f){c.then(function(a){f.next(a),f.complete()}).catch(function(a){return f.error(a)})})}}]),t}(h)}}]); +//# sourceMappingURL=3597.44455a50ee80dd40.js.map \ No newline at end of file diff --git a/3597.44455a50ee80dd40.js.map b/3597.44455a50ee80dd40.js.map new file mode 100644 index 0000000..386bf73 --- /dev/null +++ b/3597.44455a50ee80dd40.js.map @@ -0,0 +1 @@ +{"version":3,"file":"3597.44455a50ee80dd40.js","mappings":"gFAMA,SAASA,EAAaC,GAClB,OAAOA,EAAEC,QAAQ,uBAAwB,OAC7C,CAIA,SAASC,EAAeC,EAAOC,GAC3B,IAAkCC,QAAlB,IAAPD,EAAgB,CAAC,EAAIA,GAAYE,YAAaA,OAAqB,IAAPD,EAAgB,IAAMA,EAC3F,GAAqB,iBAAVF,EACP,OAAOA,EAAMI,WAEjB,GAAqB,iBAAVJ,EACP,MAAO,MAEX,IAAIK,EAAoBT,EAAaO,GACjCG,EAAIN,EAAMO,OACVC,EAAWF,EAAEG,MAAM,eACnBC,EAAkB,IAAIC,OAAO,QAAUN,EAAoB,KAAOA,EAAoB,QAAUA,EAAoB,UAAYA,EAAoB,QAAS,KACjKC,MACU,MADVA,EAAIA,EAAER,QAAQY,EAAiB,IAAIZ,QAAQK,EAAa,MAEpDG,EAAI,MAEC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AM,IAAIS,MAAM,qFAEpBN,EAAa5F,EACbyF,GAAY,EACZD,EAAKW,QACT,EAAG,WACC,IAAKV,EACD,MAAM,IAAIS,MAAM,qFAEpBT,GAAY,EACZD,EAAKW,QACT,EACJ,CAyBAN,CADcO,KAAKC,QAAQC,kBAAkB,iCAZ1B,WACI,OAAfV,EACAL,EAASgB,MAAMX,IAGfL,EAASrC,KAAKyC,GACdJ,EAASpC,WAEjB,EAI2F,CAAC,EAAG,kBAAM,IAAI,EAtBtF,SAAC2C,GACXL,IAGLA,GAAY,EACRC,IACAA,EAAIc,cACJd,EAAM,MAEd,IAeO,WACCD,GAAaD,IACbA,EAAKiB,KAAKC,WAAWlB,GACrBC,GAAY,GAEZC,IACAA,EAAIc,cACJd,EAAM,KAEd,CACJ,EACJ,KAACN,CAAA,CAhEqB,GAkEpBH,EAAoB,SAAA0B,IAAAC,OAAA3B,EAAA0B,GAAA,IAAAE,KAAAC,KAAA7B,GACtB,SAAAA,IAAcjJ,cAAAC,KAAAgJ,GAAA4B,EAAAzH,KAAAnD,KAAW,CACzBC,cAAA+I,EAAA,EAAA9I,IAAA,SAAApB,MACA,SAAOsK,GAEH,OAAOpJ,KAAK8K,KAAK1B,EACrB,GACA,CAAAlJ,IAAA,WAAApB,MACA,SAASsK,GACL,OAAO,IAAI3C,IAAW,SAAC6C,GAEnBF,EACKzC,KAAK,SAAAoE,GACNzB,EAASrC,KAAK8D,GACdzB,EAASpC,UACb,GAAEC,MAAO,SAAAmD,GAAK,OAAIhB,EAASgB,MAAMA,EAAM,EAC3C,EACJ,KAACtB,CAAA,CAjBqB,CAASG","names":["regexpEscape","s","replace","toNumberString","value","_a","_c","decimalMark","toString","regexpDecimalMark","n","trim","negative","match","getNumberRegexp","RegExp","exports","toNumber","NaN","Number","NumeralPipe","_classCallCheck","this","_createClass","key","format","undefined","concat","ɵfac","t","ɵpipe","i0","name","type","pure","NotAvailablePipe","defaultValue","EMBEDDABLE_COMPONENT","InjectionToken","SITE_NAME","HOST_NAME","PROTOCOL","DynamicContentViewer","componentFactoryResolver","elementRef","embeddedComponents","injector","_this","embeddedComponentFactories","Map","docRendered","EventEmitter","hostElement","nativeElement","forEach","component","factory","resolveComponentFactory","set","selector","content","ngOnDestroy","build","emit","_this2","innerHTML","querySelectorAll","element","_step","projectableNodes","Array","prototype","slice","call","childNodes","embeddedComponent","create","_iterator","_createForOfIteratorHelper","attributes","done","attr","instance","nodeName","nodeValue","err","e","f","push","comp","changeDetectorRef","detectChanges","destroy","length","ɵcmp","selectors","inputs","data","outputs","decls","vars","template","rf","ctx","encapsulation","Context","index","get","ForDirective","templateRef","viewContainer","num","clear","i","createEmbeddedView","ɵdir","loop","UtilsModule","ɵmod","ɵinj","imports","CommonModule","ModuleLoaderService","compiler","loadedModules","module","_this3","Observable","obs","then","m","indexOf","compileModuleAndAllComponentsAsync","mf","ngModuleFactory","next","complete","catch","ɵprov","token","providedIn","StyleLoaderService","document","styleName","head","getElementsByTagName","themeLink","getElementById","href","style","createElement","id","rel","appendChild","DOCUMENT","NoopDataService","entities","entity","of","delete","flat","v","params","update","AsyncApiCallHelperService","taskProcessor","MyAsyncTaskProcessor","promise","doTask","ZoneMacroTaskWrapper","request","_this4","observer","task","scheduled","sub","savedResult","savedError","scheduleTask","_task","delegate","subscribe","res","Error","invoke","Zone","current","scheduleMacroTask","error","unsubscribe","zone","cancelTask","_ZoneMacroTaskWrapper","_inherits","_super","_createSuper","wrap","result"],"sourceRoot":"webpack:///","sources":["./node_modules/number-string/dist/app.js","./node_modules/@rollthecloudinc/utils/fesm2022/rollthecloudinc-utils.mjs"],"sourcesContent":["\"use strict\";\nexports.__esModule = true;\nexports.toClosest = exports.toMoney = exports.toClean = exports.toNumber = exports.toNumberString = void 0;\n/**\n * Escape special RegExp characters in string\n */\nfunction regexpEscape(s) {\n return s.replace(/[-[\\]/{}()*+?.\\\\^$]/g, \"\\\\$&\");\n}\n/**\n * Convert value to number string\n */\nfunction toNumberString(value, _a) {\n var _b = _a === void 0 ? {} : _a, _c = _b.decimalMark, decimalMark = _c === void 0 ? \".\" : _c;\n if (typeof value === \"number\") {\n return value.toString();\n }\n if (typeof value !== \"string\") {\n return \"NaN\";\n }\n var regexpDecimalMark = regexpEscape(decimalMark);\n var n = value.trim();\n var negative = n.match(/^\\(.*\\)$|^-/); //negative if matches '(...)' or '-...'\n var getNumberRegexp = new RegExp(\"[^\\\\d\" + regexpDecimalMark + \"]|\" + regexpDecimalMark + \"(?=.*\" + regexpDecimalMark + \")|^\\\\D*\" + regexpDecimalMark + \"\\\\D*$\", \"g\");\n n = n.replace(getNumberRegexp, \"\").replace(decimalMark, \".\"); //remove all except digits and last dot\n if (n === \"\") {\n n = \"NaN\";\n }\n else if (negative) {\n n = \"-\" + n;\n }\n return n;\n}\nexports.toNumberString = toNumberString;\n/**\n * Convert value to number\n */\nfunction toNumber(value, _a) {\n var _b = _a === void 0 ? {} : _a, _c = _b.decimalMark, decimalMark = _c === void 0 ? \".\" : _c;\n var s = toNumberString(value, { decimalMark: decimalMark });\n if (s === \"NaN\") {\n return NaN;\n }\n return Number(s);\n}\nexports.toNumber = toNumber;\n/**\n * Like `toFixed` but removes trailing zeros\n */\nfunction toClean(value, _a) {\n var _b = _a === void 0 ? {} : _a, _c = _b.decimalMark, decimalMark = _c === void 0 ? \".\" : _c, _d = _b.thousandSeperator, thousandSeperator = _d === void 0 ? null : _d, _e = _b.thousandSeparator, thousandSeparator = _e === void 0 ? \",\" : _e, _f = _b.maxPrecision, maxPrecision = _f === void 0 ? 100 : _f, _g = _b.minPrecision, minPrecision = _g === void 0 ? 0 : _g;\n if (thousandSeperator) {\n thousandSeparator = thousandSeperator;\n console.error(\"`thousandSeperator` is deprecated use `thousandSeparator` instead.\");\n }\n value = toNumberString(value);\n if (value === \"NaN\") {\n return \"NaN\";\n }\n if (maxPrecision < 0) {\n throw new Error(\"maxPrecision must be >= 0\");\n }\n if (minPrecision < 0) {\n throw new Error(\"minPrecision must be >= 0\");\n }\n if (maxPrecision > 100) {\n throw new Error(\"maxPrecision must be <= 100\");\n }\n if (minPrecision > 100) {\n throw new Error(\"minPrecision must be <= 100\");\n }\n if (minPrecision > maxPrecision) {\n throw new Error(\"minPrecision must be <= maxPrecision\");\n }\n var s = value;\n // limit to maxPrecision\n var dotIndex = s.lastIndexOf(\".\");\n if (dotIndex > -1) {\n var integer = (dotIndex === 0 ? \"0\" : s.slice(0, dotIndex));\n var fraction = s.slice(dotIndex + 1, dotIndex + 1 + maxPrecision);\n var remainder = s.slice(dotIndex + 1 + maxPrecision);\n if (remainder.length > 0 && +remainder[0] > 4) {\n // round up\n var i = (BigInt(integer + fraction) + BigInt(1)).toString(10);\n integer = i.slice(0, i.length - fraction.length);\n fraction = i.slice(i.length - fraction.length);\n }\n s = integer + decimalMark + fraction;\n }\n else {\n s += decimalMark;\n }\n // remove trailing 0s\n var rmLen = 0;\n for (var i = s.length - 1; i >= 0; i--) {\n if (s[i] !== \"0\") {\n break;\n }\n rmLen++;\n }\n s = s.slice(0, s.length - rmLen);\n // limit to minPrecision\n if (minPrecision > 0) {\n var numZeros = void 0;\n if (dotIndex > -1) {\n numZeros = minPrecision - (s.length - dotIndex - 1);\n }\n else {\n numZeros = minPrecision;\n }\n for (var i = 0; i < numZeros; i++) {\n s += \"0\";\n }\n }\n var regexpDecimalMark = regexpEscape(decimalMark);\n var thousandSeparatorRegexp = new RegExp(\"\\\\d(?=(\\\\d{3})+\" + regexpDecimalMark + \")\", \"g\");\n var trimRegexp = new RegExp(regexpDecimalMark + \"$\");\n s = s.replace(thousandSeparatorRegexp, \"$&\" + thousandSeparator).replace(trimRegexp, \"\");\n return s;\n}\nexports.toClean = toClean;\n/**\n * Convert string or number to currency string\n * modified from http://stackoverflow.com/a/149099/806777\\\n */\nfunction toMoney(value, _a) {\n var _b = _a === void 0 ? {} : _a, _c = _b.decimalMark, decimalMark = _c === void 0 ? \".\" : _c, _d = _b.thousandSeperator, thousandSeperator = _d === void 0 ? null : _d, _e = _b.thousandSeparator, thousandSeparator = _e === void 0 ? \",\" : _e, _f = _b.maxPrecision, maxPrecision = _f === void 0 ? 2 : _f, _g = _b.minPrecision, minPrecision = _g === void 0 ? 2 : _g, _h = _b.symbol, symbol = _h === void 0 ? \"$\" : _h, _j = _b.symbolBehind, symbolBehind = _j === void 0 ? false : _j, _k = _b.useParens, useParens = _k === void 0 ? true : _k;\n if (thousandSeperator) {\n thousandSeparator = thousandSeperator;\n console.error(\"`thousandSeperator` is deprecated use `thousandSeparator` instead.\");\n }\n var n = (typeof value === \"number\"\n ? value\n : toNumber(value, {\n decimalMark: decimalMark\n }));\n var s = toNumberString(value, {\n decimalMark: decimalMark\n });\n if (isNaN(n)) {\n return \"NaN\";\n }\n if (n === Infinity) {\n return \"Infinity\";\n }\n if (n === -Infinity) {\n return (useParens ? \"(Infinity)\" : \"-Infinity\");\n }\n if (maxPrecision < 2 && typeof arguments[1].minPrecision === \"undefined\") {\n minPrecision = maxPrecision;\n }\n if (minPrecision > 2 && typeof arguments[1].maxPrecision === \"undefined\") {\n maxPrecision = minPrecision;\n }\n var negative = n < 0;\n s = toClean(negative ? s.slice(1) : s, {\n decimalMark: decimalMark,\n thousandSeparator: thousandSeparator,\n maxPrecision: maxPrecision,\n minPrecision: minPrecision\n });\n s = (symbolBehind ? s + \" \" + symbol : symbol + s);\n if (negative) {\n s = (useParens ? \"(\" + s + \")\" : \"-\" + s);\n }\n return s;\n}\nexports.toMoney = toMoney;\n/**\n * Round number to closest multiple of number\n */\nfunction toClosest(value, roundTo) {\n if (roundTo === void 0) { roundTo = 1; }\n if (typeof value !== \"number\") {\n value = toNumber(value);\n }\n if (isNaN(value)) {\n return NaN;\n }\n if (value === Infinity || value === -Infinity) {\n return value;\n }\n if (typeof roundTo !== \"number\") {\n roundTo = toNumber(roundTo);\n }\n if (isNaN(roundTo)) {\n throw Error(\"roundTo must be a number\");\n }\n if (roundTo === Infinity || roundTo === -Infinity) {\n return roundTo;\n }\n var n = Math.round(value / roundTo) * roundTo;\n var maxPrecision = 0;\n while (!Number.isInteger(roundTo)) {\n roundTo *= 10;\n maxPrecision++;\n }\n n = +n.toFixed(maxPrecision);\n return n;\n}\nexports.toClosest = toClosest;\n","import * as i0 from '@angular/core';\nimport { Pipe, InjectionToken, EventEmitter, Component, Inject, Input, Output, Directive, NgModule, Injectable } from '@angular/core';\nimport { CommonModule, DOCUMENT } from '@angular/common';\nimport { toNumber } from 'number-string';\nimport { Observable, of } from 'rxjs';\n\nclass NumeralPipe {\n transform(value, format) {\n if (value === undefined || value === '') {\n return;\n }\n // @todo: reimplment format.\n // return toNumber(`${value}`).format(format);\n return toNumber(`${value}`);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NumeralPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: NumeralPipe, name: \"numeral\" }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NumeralPipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'numeral'\n }]\n }] });\n\nclass NotAvailablePipe {\n transform(value, defaultValue) {\n return !value || value === '' ? defaultValue : value;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NotAvailablePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: NotAvailablePipe, name: \"na\" }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NotAvailablePipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'na'\n }]\n }] });\n\nconst EMBEDDABLE_COMPONENT = new InjectionToken('EmbeddableComponent');\nconst SITE_NAME = new InjectionToken('Site Name');\nconst HOST_NAME = new InjectionToken('Host Name');\nconst PROTOCOL = new InjectionToken('Request Protocol');\n\nclass DynamicContentViewer {\n constructor(componentFactoryResolver, elementRef, embeddedComponents, injector) {\n this.injector = injector;\n this.embeddedComponentFactories = new Map();\n this.embeddedComponents = [];\n this.docRendered = new EventEmitter();\n this.hostElement = elementRef.nativeElement;\n embeddedComponents.forEach(component => {\n const factory = componentFactoryResolver.resolveComponentFactory(component);\n this.embeddedComponentFactories.set(factory.selector, factory);\n });\n }\n set content(content) {\n this.ngOnDestroy();\n if (content) {\n this.build(content);\n this.docRendered.emit();\n }\n }\n build(content) {\n this.hostElement.innerHTML = content || '';\n if (!content) {\n return;\n }\n this.embeddedComponentFactories.forEach((factory, selector) => {\n const embeddedComponentElements = this.hostElement.querySelectorAll(selector);\n embeddedComponentElements.forEach(element => {\n //convert NodeList into an array, since Angular dosen't like having a NodeList passed\n //for projectableNodes\n const projectableNodes = [Array.prototype.slice.call(element.childNodes)];\n const embeddedComponent = factory.create(this.injector, projectableNodes, element);\n //apply inputs into the dynamic component\n //only static ones work here since this is the only time they're set\n for (const attr of element.attributes) {\n embeddedComponent.instance[attr.nodeName] = attr.nodeValue;\n }\n this.embeddedComponents.push(embeddedComponent);\n });\n });\n }\n ngDoCheck() {\n this.embeddedComponents.forEach(comp => comp.changeDetectorRef.detectChanges());\n }\n ngOnDestroy() {\n // destroy these components else there will be memory leaks\n this.embeddedComponents.forEach(comp => comp.destroy());\n this.embeddedComponents.length = 0;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DynamicContentViewer, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.ElementRef }, { token: EMBEDDABLE_COMPONENT }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: DynamicContentViewer, selector: \"classifieds-ui-dynamic-content-viewer\", inputs: { data: \"data\", content: \"content\" }, outputs: { docRendered: \"docRendered\" }, ngImport: i0, template: '', isInline: true }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DynamicContentViewer, decorators: [{\n type: Component,\n args: [{\n selector: 'classifieds-ui-dynamic-content-viewer',\n template: '',\n }]\n }], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i0.ElementRef }, { type: Array, decorators: [{\n type: Inject,\n args: [EMBEDDABLE_COMPONENT]\n }] }, { type: i0.Injector }]; }, propDecorators: { data: [{\n type: Input\n }], docRendered: [{\n type: Output\n }], content: [{\n type: Input\n }] } });\n\nclass Context {\n constructor(index, length) {\n this.index = index;\n this.length = length;\n }\n get even() { return this.index % 2 === 0; }\n get odd() { return this.index % 2 === 1; }\n get first() { return this.index === 0; }\n get last() { return this.index === this.length - 1; }\n}\nclass ForDirective {\n constructor(templateRef, viewContainer) {\n this.templateRef = templateRef;\n this.viewContainer = viewContainer;\n }\n set loop(num) {\n this.viewContainer.clear();\n for (var i = 0; i < num; i++)\n this.viewContainer.createEmbeddedView(this.templateRef, new Context(i, num));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ForDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: ForDirective, selector: \"[for]:not(label)\", inputs: { loop: [\"for\", \"loop\"] }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ForDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[for]:not(label)'\n }]\n }], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef }]; }, propDecorators: { loop: [{\n type: Input,\n args: ['for']\n }] } });\n\nclass UtilsModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: UtilsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: UtilsModule, declarations: [NumeralPipe, NotAvailablePipe, DynamicContentViewer, ForDirective], imports: [CommonModule], exports: [NumeralPipe, NotAvailablePipe, DynamicContentViewer, ForDirective] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: UtilsModule, imports: [CommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: UtilsModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [CommonModule],\n declarations: [NumeralPipe, NotAvailablePipe, DynamicContentViewer, ForDirective],\n exports: [NumeralPipe, NotAvailablePipe, DynamicContentViewer, ForDirective]\n }]\n }] });\n\nclass ModuleLoaderService {\n constructor(compiler, injector) {\n this.compiler = compiler;\n this.injector = injector;\n this.loadedModules = [];\n }\n loadModule(module) {\n return new Observable(obs => {\n module().then(m => {\n if (this.loadedModules.indexOf(name => name == m.name) !== -1) {\n throw '';\n }\n else {\n this.loadedModules.push(m.name);\n return m;\n }\n }).then(m => this.compiler.compileModuleAndAllComponentsAsync(m)).then(mf => {\n const moduleRef = mf.ngModuleFactory.create(this.injector);\n // moduleRef.componentFactoryResolver.resolveComponentFactory(LazyComponent);\n obs.next(true);\n obs.complete();\n }).catch(() => {\n obs.next(true);\n obs.complete();\n });\n });\n /*mport(module)module().then(m => {\n this.compiler.compileModuleAndAllComponentsAsync(m);\n console.log(`module imported: ${module}`);\n });*/\n /*import('./carousel/carousel.module').then(({ CarouselModule }) => {\n const injector = createInjector(CarouselModule, this.injector);\n const carouselModule = injector.get(CarouselModule);\n const componentFactory = carouselModule.resolveCarouselComponentFactory();\n });*/\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ModuleLoaderService, deps: [{ token: i0.Compiler }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ModuleLoaderService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ModuleLoaderService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: i0.Compiler }, { type: i0.Injector }]; } });\n\nclass StyleLoaderService {\n constructor(document) {\n this.document = document;\n }\n loadStyle(styleName) {\n const head = this.document.getElementsByTagName('head')[0];\n let themeLink = this.document.getElementById('client-theme');\n if (themeLink) {\n themeLink.href = styleName;\n }\n else {\n const style = this.document.createElement('link');\n style.id = 'client-theme';\n style.rel = 'stylesheet';\n style.href = `${styleName}`;\n head.appendChild(style);\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: StyleLoaderService, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: StyleLoaderService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: StyleLoaderService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: Document, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }]; } });\n\nclass NoopDataService {\n constructor(name) {\n this.entities = new Map();\n this.name = name;\n }\n add(entity) {\n return of(entity);\n }\n delete(id) {\n this.entities.delete(id);\n return of(id);\n }\n getAll() {\n const flat = [];\n this.entities.forEach(v => {\n flat.push(v);\n });\n return of(flat);\n }\n getById(id) {\n return of(this.entities.get(id));\n }\n getWithQuery(params) {\n const flat = [];\n this.entities.forEach(v => {\n flat.push(v);\n });\n return of(flat);\n }\n update(update) {\n return of(undefined);\n }\n upsert(entity) {\n //this.entities.set(entity.id, entity);\n return of(entity);\n }\n}\n\nclass AsyncApiCallHelperService {\n constructor() {\n this.taskProcessor = new MyAsyncTaskProcessor();\n }\n doTask(promise) {\n return this.taskProcessor.doTask(promise);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AsyncApiCallHelperService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AsyncApiCallHelperService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AsyncApiCallHelperService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return []; } });\nclass ZoneMacroTaskWrapper {\n wrap(request) {\n return new Observable((observer) => {\n let task;\n let scheduled = false;\n let sub = null;\n let savedResult = null;\n let savedError = null;\n // tslint:disable-next-line:no-shadowed-variable\n const scheduleTask = (_task) => {\n task = _task;\n scheduled = true;\n const delegate = this.delegate(request);\n sub = delegate.subscribe(res => savedResult = res, err => {\n if (!scheduled) {\n throw new Error('An http observable was completed twice. This shouldn\\'t happen, please file a bug.');\n }\n savedError = err;\n scheduled = false;\n task.invoke();\n }, () => {\n if (!scheduled) {\n throw new Error('An http observable was completed twice. This shouldn\\'t happen, please file a bug.');\n }\n scheduled = false;\n task.invoke();\n });\n };\n // tslint:disable-next-line:no-shadowed-variable\n const cancelTask = (_task) => {\n if (!scheduled) {\n return;\n }\n scheduled = false;\n if (sub) {\n sub.unsubscribe();\n sub = null;\n }\n };\n const onComplete = () => {\n if (savedError !== null) {\n observer.error(savedError);\n }\n else {\n observer.next(savedResult);\n observer.complete();\n }\n };\n // MockBackend for Http is synchronous, which means that if scheduleTask is by\n // scheduleMacroTask, the request will hit MockBackend and the response will be\n // sent, causing task.invoke() to be called.\n const _task = Zone.current.scheduleMacroTask('ZoneMacroTaskWrapper.subscribe', onComplete, {}, () => null, cancelTask);\n scheduleTask(_task);\n return () => {\n if (scheduled && task) {\n task.zone.cancelTask(task);\n scheduled = false;\n }\n if (sub) {\n sub.unsubscribe();\n sub = null;\n }\n };\n });\n }\n}\nclass MyAsyncTaskProcessor extends ZoneMacroTaskWrapper {\n constructor() { super(); }\n // your public task invocation method signature\n doTask(request) {\n // call via ZoneMacroTaskWrapper\n return this.wrap(request);\n }\n // delegated raw implementation that will be called by ZoneMacroTaskWrapper\n delegate(request) {\n return new Observable((observer) => {\n // calling observer.next / complete / error\n request\n .then(result => {\n observer.next(result);\n observer.complete();\n }).catch(error => observer.error(error));\n });\n }\n}\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { AsyncApiCallHelperService, DynamicContentViewer, EMBEDDABLE_COMPONENT, ForDirective, HOST_NAME, ModuleLoaderService, MyAsyncTaskProcessor, NoopDataService, NotAvailablePipe, NumeralPipe, PROTOCOL, SITE_NAME, StyleLoaderService, UtilsModule, ZoneMacroTaskWrapper };\n"],"x_google_ignoreList":[0,1]} \ No newline at end of file diff --git a/3677.926dba811cceb67c.js b/3677.926dba811cceb67c.js new file mode 100644 index 0000000..23786af --- /dev/null +++ b/3677.926dba811cceb67c.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[3677],{83677:(Y,E,b)=>{b.r(E),b.d(E,{MAT_FAB_DEFAULT_OPTIONS:()=>A,MAT_FAB_DEFAULT_OPTIONS_FACTORY:()=>j,MatAnchor:()=>T,MatButton:()=>nt,MatButtonModule:()=>mt,MatFabAnchor:()=>it,MatFabButton:()=>ot,MatIconAnchor:()=>ct,MatIconButton:()=>rt,MatMiniFabAnchor:()=>dt,MatMiniFabButton:()=>at});var k=b(4089),B=b(20265),s=b(24582),u=b(28694),z=(b(77797),b(95106)),p=b(78069),f=b(48047),_=b(23675),t=b(56718),x=b(33401),V=b(908),g=b(6606),G=b(94055),R=b(35333),F=["mat-button",""],v=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],M=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],O=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}",Z=["mat-fab",""],L=["mat-mini-fab",""],P='.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n )}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab .mdc-fab__icon{width:24px;height:24px;font-size:24px}.mdc-fab:not(.mdc-fab--extended){border-radius:50%}.mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:50%}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);background-color:var(--mdc-fab-container-color, transparent);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);color:var(--mat-mdc-fab-color, inherit);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color, inherit)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-extended-fab{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:24px}.mat-mdc-extended-fab .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}',N=["mat-icon-button",""],Q=["*"],S={capture:!0},U=["focus","click","mouseenter","touchstart"],w="mat-button-ripple-uninitialized",$=function(){var o=function(){function a(){var n=this;(0,p.Z)(this,a),this._document=(0,t.inject)(G.DOCUMENT,{optional:!0}),this._animationMode=(0,t.inject)(t.ANIMATION_MODULE_TYPE,{optional:!0}),this._globalRippleOptions=(0,t.inject)(g.MAT_RIPPLE_GLOBAL_OPTIONS,{optional:!0}),this._platform=(0,t.inject)(_.Platform),this._ngZone=(0,t.inject)(t.NgZone),this._onInteraction=function(e){if(e.target!==n._document){var i=e.target.closest("[".concat(w,"]"));i&&(i.removeAttribute(w),n._appendRipple(i))}},this._ngZone.runOutsideAngular(function(){var d,e=(0,z.Z)(U);try{for(e.s();!(d=e.n()).done;){var i;null===(i=n._document)||void 0===i||i.addEventListener(d.value,n._onInteraction,S)}}catch(l){e.e(l)}finally{e.f()}})}return(0,f.Z)(a,[{key:"ngOnDestroy",value:function(){for(var e=0,d=U;e<d.length;e++){var i;null===(i=this._document)||void 0===i||i.removeEventListener(d[e],this._onInteraction,S)}}},{key:"_appendRipple",value:function(e){if(this._document){var d=this._document.createElement("span");d.classList.add("mat-mdc-button-ripple");var i=new q(e,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);i.rippleConfig.centered=e.hasAttribute("mat-icon-button"),new g.RippleRenderer(i,this._ngZone,d,this._platform).setupTriggerEvents(e),e.append(d)}}},{key:"_createMatRipple",value:function(e){var d;if(this._document){null===(d=e.querySelector(".mat-mdc-button-ripple"))||void 0===d||d.remove(),e.removeAttribute(w);var i=this._document.createElement("span");i.classList.add("mat-mdc-button-ripple");var c=new g.MatRipple(new t.ElementRef(i),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return c._isInitialized=!0,c.trigger=e,e.append(i),c}}}]),a}();return o.\u0275fac=function(n){return new(n||o)},o.\u0275prov=t.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),q=function(){function o(a,n,e){(0,p.Z)(this,o),this._button=a,this._globalRippleOptions=n,this._setRippleConfig(n,e)}return(0,f.Z)(o,[{key:"_setRippleConfig",value:function(n,e){this.rippleConfig=n||{},"NoopAnimations"===e&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}},{key:"rippleDisabled",get:function(){var n;return this._button.hasAttribute("disabled")||!(null===(n=this._globalRippleOptions)||void 0===n||!n.disabled)}}]),o}(),tt=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],et=(0,g.mixinColor)((0,g.mixinDisabled)((0,g.mixinDisableRipple)(function(){return(0,f.Z)(function o(a){(0,p.Z)(this,o),this._elementRef=a})}()))),I=function(){var o=function(a){(0,s.Z)(e,a);var n=(0,u.Z)(e);function e(d,i,c,l){var m;(0,p.Z)(this,e),(m=n.call(this,d))._platform=i,m._ngZone=c,m._animationMode=l,m._focusMonitor=(0,t.inject)(V.FocusMonitor),m._rippleLoader=(0,t.inject)($),m._isFab=!1;var K,r=d.nativeElement.classList,D=(0,z.Z)(tt);try{for(D.s();!(K=D.n()).done;){var W=K.value;m._hasHostAttributes(W.selector)&&W.mdcClasses.forEach(function(C){r.add(C)})}}catch(C){D.e(C)}finally{D.f()}return m}return(0,f.Z)(e,[{key:"ripple",get:function(){return!this._ripple&&this._rippleLoader&&(this._ripple=this._rippleLoader._createMatRipple(this._elementRef.nativeElement)),this._ripple},set:function(i){this._ripple=i}},{key:"ngAfterViewInit",value:function(){this._focusMonitor.monitor(this._elementRef,!0)}},{key:"ngOnChanges",value:function(){this._ripple&&(this._ripple.disabled=this.disableRipple||this.disabled)}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"focus",value:function(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program",c=arguments.length>1?arguments[1]:void 0;i?this._focusMonitor.focusVia(this._elementRef.nativeElement,i,c):this._elementRef.nativeElement.focus(c)}},{key:"_hasHostAttributes",value:function(){for(var i=this,c=arguments.length,l=new Array(c),m=0;m<c;m++)l[m]=arguments[m];return l.some(function(r){return i._elementRef.nativeElement.hasAttribute(r)})}}]),e}(et);return o.\u0275fac=function(n){t.\u0275\u0275invalidFactory()},o.\u0275dir=t.\u0275\u0275defineDirective({type:o,features:[t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275NgOnChangesFeature]}),o}(),H=function(){var o=function(a){(0,s.Z)(e,a);var n=(0,u.Z)(e);function e(d,i,c,l){var m;return(0,p.Z)(this,e),(m=n.call(this,d,i,c,l))._haltDisabledEvents=function(r){m.disabled&&(r.preventDefault(),r.stopImmediatePropagation())},m}return(0,f.Z)(e,[{key:"ngOnInit",value:function(){var i=this;this._ngZone.runOutsideAngular(function(){i._elementRef.nativeElement.addEventListener("click",i._haltDisabledEvents)})}},{key:"ngOnDestroy",value:function(){(0,k.Z)((0,B.Z)(e.prototype),"ngOnDestroy",this).call(this),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}]),e}(I);return o.\u0275fac=function(n){t.\u0275\u0275invalidFactory()},o.\u0275dir=t.\u0275\u0275defineDirective({type:o,features:[t.\u0275\u0275InheritDefinitionFeature]}),o}(),nt=function(){var o=function(a){(0,s.Z)(e,a);var n=(0,u.Z)(e);function e(d,i,c,l){return(0,p.Z)(this,e),n.call(this,d,i,c,l)}return(0,f.Z)(e)}(I);return o.\u0275fac=function(n){return new(n||o)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(_.Platform),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275directiveInject(x.ANIMATION_MODULE_TYPE,8))},o.\u0275cmp=t.\u0275\u0275defineComponent({type:o,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostAttrs:["mat-button-ripple-uninitialized",""],hostVars:7,hostBindings:function(n,e){2&n&&(t.\u0275\u0275attribute("disabled",e.disabled||null),t.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-unthemed",!e.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[t.\u0275\u0275InheritDefinitionFeature],attrs:F,ngContentSelectors:M,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,e){1&n&&(t.\u0275\u0275projectionDef(v),t.\u0275\u0275element(0,"span",0),t.\u0275\u0275projection(1),t.\u0275\u0275elementStart(2,"span",1),t.\u0275\u0275projection(3,1),t.\u0275\u0275elementEnd(),t.\u0275\u0275projection(4,2),t.\u0275\u0275element(5,"span",2)(6,"span",3)),2&n&&t.\u0275\u0275classProp("mdc-button__ripple",!e._isFab)("mdc-fab__ripple",e._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0}),o}(),T=function(){var o=function(a){(0,s.Z)(e,a);var n=(0,u.Z)(e);function e(d,i,c,l){return(0,p.Z)(this,e),n.call(this,d,i,c,l)}return(0,f.Z)(e)}(H);return o.\u0275fac=function(n){return new(n||o)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(_.Platform),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275directiveInject(x.ANIMATION_MODULE_TYPE,8))},o.\u0275cmp=t.\u0275\u0275defineComponent({type:o,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostAttrs:["mat-button-ripple-uninitialized",""],hostVars:9,hostBindings:function(n,e){2&n&&(t.\u0275\u0275attribute("disabled",e.disabled||null)("tabindex",e.disabled?-1:e.tabIndex)("aria-disabled",e.disabled.toString()),t.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-unthemed",!e.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[t.\u0275\u0275InheritDefinitionFeature],attrs:F,ngContentSelectors:M,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,e){1&n&&(t.\u0275\u0275projectionDef(v),t.\u0275\u0275element(0,"span",0),t.\u0275\u0275projection(1),t.\u0275\u0275elementStart(2,"span",1),t.\u0275\u0275projection(3,1),t.\u0275\u0275elementEnd(),t.\u0275\u0275projection(4,2),t.\u0275\u0275element(5,"span",2)(6,"span",3)),2&n&&t.\u0275\u0275classProp("mdc-button__ripple",!e._isFab)("mdc-fab__ripple",e._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',O],encapsulation:2,changeDetection:0}),o}(),A=new t.InjectionToken("mat-mdc-fab-default-options",{providedIn:"root",factory:j});function j(){return{color:"accent"}}var h=j(),ot=function(){var o=function(a){(0,s.Z)(e,a);var n=(0,u.Z)(e);function e(d,i,c,l,m){var r;return(0,p.Z)(this,e),(r=n.call(this,d,i,c,l))._options=m,r._isFab=!0,r._options=r._options||h,r.color=r.defaultColor=r._options.color||h.color,r}return(0,f.Z)(e,[{key:"extended",get:function(){return this._extended},set:function(i){this._extended=(0,R.coerceBooleanProperty)(i)}}]),e}(I);return o.\u0275fac=function(n){return new(n||o)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(_.Platform),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275directiveInject(x.ANIMATION_MODULE_TYPE,8),t.\u0275\u0275directiveInject(A,8))},o.\u0275cmp=t.\u0275\u0275defineComponent({type:o,selectors:[["button","mat-fab",""]],hostAttrs:["mat-button-ripple-uninitialized",""],hostVars:11,hostBindings:function(n,e){2&n&&(t.\u0275\u0275attribute("disabled",e.disabled||null),t.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-unthemed",!e.color)("mat-mdc-button-base",!0)("mdc-fab--extended",e.extended)("mat-mdc-extended-fab",e.extended))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",extended:"extended"},exportAs:["matButton"],features:[t.\u0275\u0275InheritDefinitionFeature],attrs:Z,ngContentSelectors:M,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,e){1&n&&(t.\u0275\u0275projectionDef(v),t.\u0275\u0275element(0,"span",0),t.\u0275\u0275projection(1),t.\u0275\u0275elementStart(2,"span",1),t.\u0275\u0275projection(3,1),t.\u0275\u0275elementEnd(),t.\u0275\u0275projection(4,2),t.\u0275\u0275element(5,"span",2)(6,"span",3)),2&n&&t.\u0275\u0275classProp("mdc-button__ripple",!e._isFab)("mdc-fab__ripple",e._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n )}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab .mdc-fab__icon{width:24px;height:24px;font-size:24px}.mdc-fab:not(.mdc-fab--extended){border-radius:50%}.mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:50%}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);background-color:var(--mdc-fab-container-color, transparent);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);color:var(--mat-mdc-fab-color, inherit);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color, inherit)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-extended-fab{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:24px}.mat-mdc-extended-fab .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0}),o}(),at=function(){var o=function(a){(0,s.Z)(e,a);var n=(0,u.Z)(e);function e(d,i,c,l,m){var r;return(0,p.Z)(this,e),(r=n.call(this,d,i,c,l))._options=m,r._isFab=!0,r._options=r._options||h,r.color=r.defaultColor=r._options.color||h.color,r}return(0,f.Z)(e)}(I);return o.\u0275fac=function(n){return new(n||o)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(_.Platform),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275directiveInject(x.ANIMATION_MODULE_TYPE,8),t.\u0275\u0275directiveInject(A,8))},o.\u0275cmp=t.\u0275\u0275defineComponent({type:o,selectors:[["button","mat-mini-fab",""]],hostAttrs:["mat-button-ripple-uninitialized",""],hostVars:7,hostBindings:function(n,e){2&n&&(t.\u0275\u0275attribute("disabled",e.disabled||null),t.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-unthemed",!e.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[t.\u0275\u0275InheritDefinitionFeature],attrs:L,ngContentSelectors:M,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,e){1&n&&(t.\u0275\u0275projectionDef(v),t.\u0275\u0275element(0,"span",0),t.\u0275\u0275projection(1),t.\u0275\u0275elementStart(2,"span",1),t.\u0275\u0275projection(3,1),t.\u0275\u0275elementEnd(),t.\u0275\u0275projection(4,2),t.\u0275\u0275element(5,"span",2)(6,"span",3)),2&n&&t.\u0275\u0275classProp("mdc-button__ripple",!e._isFab)("mdc-fab__ripple",e._isFab)},styles:[P],encapsulation:2,changeDetection:0}),o}(),it=function(){var o=function(a){(0,s.Z)(e,a);var n=(0,u.Z)(e);function e(d,i,c,l,m){var r;return(0,p.Z)(this,e),(r=n.call(this,d,i,c,l))._options=m,r._isFab=!0,r._options=r._options||h,r.color=r.defaultColor=r._options.color||h.color,r}return(0,f.Z)(e,[{key:"extended",get:function(){return this._extended},set:function(i){this._extended=(0,R.coerceBooleanProperty)(i)}}]),e}(T);return o.\u0275fac=function(n){return new(n||o)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(_.Platform),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275directiveInject(x.ANIMATION_MODULE_TYPE,8),t.\u0275\u0275directiveInject(A,8))},o.\u0275cmp=t.\u0275\u0275defineComponent({type:o,selectors:[["a","mat-fab",""]],hostAttrs:["mat-button-ripple-uninitialized",""],hostVars:13,hostBindings:function(n,e){2&n&&(t.\u0275\u0275attribute("disabled",e.disabled||null)("tabindex",e.disabled?-1:e.tabIndex)("aria-disabled",e.disabled.toString()),t.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-unthemed",!e.color)("mat-mdc-button-base",!0)("mdc-fab--extended",e.extended)("mat-mdc-extended-fab",e.extended))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",extended:"extended"},exportAs:["matButton","matAnchor"],features:[t.\u0275\u0275InheritDefinitionFeature],attrs:Z,ngContentSelectors:M,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,e){1&n&&(t.\u0275\u0275projectionDef(v),t.\u0275\u0275element(0,"span",0),t.\u0275\u0275projection(1),t.\u0275\u0275elementStart(2,"span",1),t.\u0275\u0275projection(3,1),t.\u0275\u0275elementEnd(),t.\u0275\u0275projection(4,2),t.\u0275\u0275element(5,"span",2)(6,"span",3)),2&n&&t.\u0275\u0275classProp("mdc-button__ripple",!e._isFab)("mdc-fab__ripple",e._isFab)},styles:[P],encapsulation:2,changeDetection:0}),o}(),dt=function(){var o=function(a){(0,s.Z)(e,a);var n=(0,u.Z)(e);function e(d,i,c,l,m){var r;return(0,p.Z)(this,e),(r=n.call(this,d,i,c,l))._options=m,r._isFab=!0,r._options=r._options||h,r.color=r.defaultColor=r._options.color||h.color,r}return(0,f.Z)(e)}(T);return o.\u0275fac=function(n){return new(n||o)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(_.Platform),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275directiveInject(x.ANIMATION_MODULE_TYPE,8),t.\u0275\u0275directiveInject(A,8))},o.\u0275cmp=t.\u0275\u0275defineComponent({type:o,selectors:[["a","mat-mini-fab",""]],hostAttrs:["mat-button-ripple-uninitialized",""],hostVars:9,hostBindings:function(n,e){2&n&&(t.\u0275\u0275attribute("disabled",e.disabled||null)("tabindex",e.disabled?-1:e.tabIndex)("aria-disabled",e.disabled.toString()),t.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-unthemed",!e.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[t.\u0275\u0275InheritDefinitionFeature],attrs:L,ngContentSelectors:M,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,e){1&n&&(t.\u0275\u0275projectionDef(v),t.\u0275\u0275element(0,"span",0),t.\u0275\u0275projection(1),t.\u0275\u0275elementStart(2,"span",1),t.\u0275\u0275projection(3,1),t.\u0275\u0275elementEnd(),t.\u0275\u0275projection(4,2),t.\u0275\u0275element(5,"span",2)(6,"span",3)),2&n&&t.\u0275\u0275classProp("mdc-button__ripple",!e._isFab)("mdc-fab__ripple",e._isFab)},styles:[P],encapsulation:2,changeDetection:0}),o}(),rt=function(){var o=function(a){(0,s.Z)(e,a);var n=(0,u.Z)(e);function e(d,i,c,l){return(0,p.Z)(this,e),n.call(this,d,i,c,l)}return(0,f.Z)(e,[{key:"ripple",get:function(){return!this._ripple&&this._rippleLoader&&(this._ripple=this._rippleLoader._createMatRipple(this._elementRef.nativeElement),this._ripple.centered=!0),this._ripple}}]),e}(I);return o.\u0275fac=function(n){return new(n||o)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(_.Platform),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275directiveInject(x.ANIMATION_MODULE_TYPE,8))},o.\u0275cmp=t.\u0275\u0275defineComponent({type:o,selectors:[["button","mat-icon-button",""]],hostAttrs:["mat-button-ripple-uninitialized",""],hostVars:7,hostBindings:function(n,e){2&n&&(t.\u0275\u0275attribute("disabled",e.disabled||null),t.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-unthemed",!e.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[t.\u0275\u0275InheritDefinitionFeature],attrs:N,ngContentSelectors:Q,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,e){1&n&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275element(0,"span",0),t.\u0275\u0275projection(1),t.\u0275\u0275element(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',O],encapsulation:2,changeDetection:0}),o}(),ct=function(){var o=function(a){(0,s.Z)(e,a);var n=(0,u.Z)(e);function e(d,i,c,l){return(0,p.Z)(this,e),n.call(this,d,i,c,l)}return(0,f.Z)(e)}(H);return o.\u0275fac=function(n){return new(n||o)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(_.Platform),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275directiveInject(x.ANIMATION_MODULE_TYPE,8))},o.\u0275cmp=t.\u0275\u0275defineComponent({type:o,selectors:[["a","mat-icon-button",""]],hostAttrs:["mat-button-ripple-uninitialized",""],hostVars:9,hostBindings:function(n,e){2&n&&(t.\u0275\u0275attribute("disabled",e.disabled||null)("tabindex",e.disabled?-1:e.tabIndex)("aria-disabled",e.disabled.toString()),t.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-unthemed",!e.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[t.\u0275\u0275InheritDefinitionFeature],attrs:N,ngContentSelectors:M,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,e){1&n&&(t.\u0275\u0275projectionDef(v),t.\u0275\u0275element(0,"span",0),t.\u0275\u0275projection(1),t.\u0275\u0275elementStart(2,"span",1),t.\u0275\u0275projection(3,1),t.\u0275\u0275elementEnd(),t.\u0275\u0275projection(4,2),t.\u0275\u0275element(5,"span",2)(6,"span",3)),2&n&&t.\u0275\u0275classProp("mdc-button__ripple",!e._isFab)("mdc-fab__ripple",e._isFab)},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',O],encapsulation:2,changeDetection:0}),o}(),mt=function(){var o=(0,f.Z)(function a(){(0,p.Z)(this,a)});return o.\u0275fac=function(n){return new(n||o)},o.\u0275mod=t.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=t.\u0275\u0275defineInjector({imports:[g.MatCommonModule,g.MatRippleModule,g.MatCommonModule]}),o}()},77797:(Y,E,b)=>{b.d(E,{Z:()=>B});var k=b(51299);function B(s,u,y){return(u=(0,k.Z)(u))in s?Object.defineProperty(s,u,{value:y,enumerable:!0,configurable:!0,writable:!0}):s[u]=y,s}}}]); +//# sourceMappingURL=3677.926dba811cceb67c.js.map \ No newline at end of file diff --git a/3677.926dba811cceb67c.js.map b/3677.926dba811cceb67c.js.map new file mode 100644 index 0000000..7de6d6e --- /dev/null +++ b/3677.926dba811cceb67c.js.map @@ -0,0 +1 @@ +{"version":3,"file":"3677.926dba811cceb67c.js","mappings":"qgBAUAA,EAAA,kBAAAC,EAAA,wQAAAC,EAAA,wNAAAC,EAAA,mXAAAC,EAAA,eAAAC,EAAA,oBAAAC,EAAA,orRAAAC,EAAA,uBAAAC,EAAA,MACMC,EAAuB,CAAEC,SAAS,GAElCC,EAA0B,CAAC,QAAS,QAAS,aAAc,cAE3DC,EAAkC,kCAOlCC,EAAmB,eAAnBA,EAAmB,WACrB,SAAAA,IAAc,IAAAC,EAAAC,MAAAC,OAAAD,KAAAF,GACVE,KAAKE,aAAYC,UAAOC,WAAU,CAAEC,UAAU,IAC9CL,KAAKM,kBAAiBH,UAAOI,wBAAuB,CAAEF,UAAU,IAChEL,KAAKQ,wBAAuBL,UAAOM,4BAA2B,CAAEJ,UAAU,IAC1EL,KAAKU,aAAYP,UAAOQ,YACxBX,KAAKY,WAAUT,UAAOU,UAEtBb,KAAKc,eAAiB,SAACC,GACnB,GAAIA,EAA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EAAA7K,EAAAL,GACf,OAAAK,KAAQ8K,EAAAC,GAAa/K,MACrB6K,EACAG,OAAAC,eAAAJ,EAAA7K,EAAA,CACAL,QACAuL,YAAA,EACAC,cAAA,EACAC,UAAA,IAGAP,EAAA7K,GAAAL,EAEAkL,CACA","names":["_c0","_c1","_c2","_c4","_c5","_c6","_c7","_c8","_c9","eventListenerOptions","capture","rippleInteractionEvents","MAT_BUTTON_RIPPLE_UNINITIALIZED","MatButtonLazyLoader","_this","this","_classCallCheck","_document","inject","DOCUMENT","optional","_animationMode","ANIMATION_MODULE_TYPE","_globalRippleOptions","MAT_RIPPLE_GLOBAL_OPTIONS","_platform","Platform","_ngZone","NgZone","_onInteraction","event","target","button","closest","concat","removeAttribute","_appendRipple","runOutsideAngular","_step","_iterator","_createForOfIteratorHelper","s","n","done","_this$_document","addEventListener","value","err","e","f","_createClass","key","_i","_rippleInteractionEve","length","_this$_document2","removeEventListener","ripple","createElement","classList","add","MatButtonRippleTarget","undefined","rippleConfig","centered","hasAttribute","RippleRenderer","setupTriggerEvents","append","_button$querySelector","querySelector","remove","rippleEl","MatRipple","ElementRef","_isInitialized","trigger","ɵfac","t","ɵprov","i0","token","factory","providedIn","_button","animationMode","_setRippleConfig","globalRippleOptions","animation","enterDuration","exitDuration","get","_this$_globalRippleOp","disabled","HOST_SELECTOR_MDC_CLASS_PAIR","selector","mdcClasses","_MatButtonMixin","mixinColor","mixinDisabled","mixinDisableRipple","_class","_elementRef","MatButtonBase","_MatButtonMixin2","_inherits","_super","_createSuper","elementRef","_this2","call","_focusMonitor","FocusMonitor","_rippleLoader","_isFab","_step2","nativeElement","_iterator2","pair","_hasHostAttributes","forEach","className","_ripple","_createMatRipple","set","v","monitor","disableRipple","stopMonitoring","_origin","arguments","options","focusVia","focus","_this3","_len","attributes","Array","_key","some","attribute","ɵdir","type","features","MatAnchorBase","_MatButtonBase","_super2","platform","ngZone","_this4","_haltDisabledEvents","preventDefault","stopImmediatePropagation","_this5","_get","_getPrototypeOf","prototype","MatButton","_MatButtonBase2","_super3","i1","ANIMATION_MODULE_TYPE$1","ɵcmp","selectors","hostAttrs","hostVars","hostBindings","rf","ctx","color","inputs","exportAs","attrs","ngContentSelectors","decls","vars","consts","template","styles","encapsulation","changeDetection","MatAnchor","_MatAnchorBase","_super4","tabIndex","toString","MAT_FAB_DEFAULT_OPTIONS","InjectionToken","MAT_FAB_DEFAULT_OPTIONS_FACTORY","defaults","MatFabButton","_MatButtonBase3","_super5","_options","_this6","defaultColor","_extended","coerceBooleanProperty","extended","MatMiniFabButton","_MatButtonBase4","_super6","_this7","MatFabAnchor","_MatAnchor","_super7","_this8","MatMiniFabAnchor","_MatAnchor2","_super8","_this9","MatIconButton","_MatButtonBase5","_super9","MatIconAnchor","_MatAnchorBase2","_super10","MatButtonModule","ɵmod","ɵinj","imports","MatCommonModule","MatRippleModule","_defineProperty","obj","_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__","Z","Object","defineProperty","enumerable","configurable","writable"],"sourceRoot":"webpack:///","sources":["./node_modules/@angular/material/fesm2022/button.mjs","./node_modules/@babel/runtime/helpers/esm/defineProperty.js"],"sourcesContent":["import * as i1 from '@angular/cdk/platform';\nimport { Platform } from '@angular/cdk/platform';\nimport * as i0 from '@angular/core';\nimport { inject, ANIMATION_MODULE_TYPE, NgZone, ElementRef, Injectable, Directive, Component, ViewEncapsulation, ChangeDetectionStrategy, Optional, Inject, InjectionToken, NgModule } from '@angular/core';\nimport { ANIMATION_MODULE_TYPE as ANIMATION_MODULE_TYPE$1 } from '@angular/platform-browser/animations';\nimport { FocusMonitor } from '@angular/cdk/a11y';\nimport { MAT_RIPPLE_GLOBAL_OPTIONS, RippleRenderer, MatRipple, mixinColor, mixinDisabled, mixinDisableRipple, MatCommonModule, MatRippleModule } from '@angular/material/core';\nimport { DOCUMENT } from '@angular/common';\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\n\n/** The options for the MatButtonRippleLoader's event listeners. */\nconst eventListenerOptions = { capture: true };\n/** The events that should trigger the initialization of the ripple. */\nconst rippleInteractionEvents = ['focus', 'click', 'mouseenter', 'touchstart'];\n/** The attribute attached to a mat-button whose ripple has not yet been initialized. */\nconst MAT_BUTTON_RIPPLE_UNINITIALIZED = 'mat-button-ripple-uninitialized';\n/**\n * Handles attaching the MatButton's ripple on demand.\n *\n * This service allows us to avoid eagerly creating & attaching the MatButton's ripple.\n * It works by creating & attaching the ripple only when a MatButton is first interacted with.\n */\nclass MatButtonLazyLoader {\n constructor() {\n this._document = inject(DOCUMENT, { optional: true });\n this._animationMode = inject(ANIMATION_MODULE_TYPE, { optional: true });\n this._globalRippleOptions = inject(MAT_RIPPLE_GLOBAL_OPTIONS, { optional: true });\n this._platform = inject(Platform);\n this._ngZone = inject(NgZone);\n /** Handles creating and attaching button internals when a button is initially interacted with. */\n this._onInteraction = (event) => {\n if (event.target === this._document) {\n return;\n }\n const eventTarget = event.target;\n // TODO(wagnermaciel): Consider batching these events to improve runtime performance.\n const button = eventTarget.closest(`[${MAT_BUTTON_RIPPLE_UNINITIALIZED}]`);\n if (button) {\n button.removeAttribute(MAT_BUTTON_RIPPLE_UNINITIALIZED);\n this._appendRipple(button);\n }\n };\n this._ngZone.runOutsideAngular(() => {\n for (const event of rippleInteractionEvents) {\n this._document?.addEventListener(event, this._onInteraction, eventListenerOptions);\n }\n });\n }\n ngOnDestroy() {\n for (const event of rippleInteractionEvents) {\n this._document?.removeEventListener(event, this._onInteraction, eventListenerOptions);\n }\n }\n /** Creates a MatButtonRipple and appends it to the given button element. */\n _appendRipple(button) {\n if (!this._document) {\n return;\n }\n const ripple = this._document.createElement('span');\n ripple.classList.add('mat-mdc-button-ripple');\n const target = new MatButtonRippleTarget(button, this._globalRippleOptions ? this._globalRippleOptions : undefined, this._animationMode ? this._animationMode : undefined);\n target.rippleConfig.centered = button.hasAttribute('mat-icon-button');\n const rippleRenderer = new RippleRenderer(target, this._ngZone, ripple, this._platform);\n rippleRenderer.setupTriggerEvents(button);\n button.append(ripple);\n }\n _createMatRipple(button) {\n if (!this._document) {\n return;\n }\n button.querySelector('.mat-mdc-button-ripple')?.remove();\n button.removeAttribute(MAT_BUTTON_RIPPLE_UNINITIALIZED);\n const rippleEl = this._document.createElement('span');\n rippleEl.classList.add('mat-mdc-button-ripple');\n const ripple = new MatRipple(new ElementRef(rippleEl), this._ngZone, this._platform, this._globalRippleOptions ? this._globalRippleOptions : undefined, this._animationMode ? this._animationMode : undefined);\n ripple._isInitialized = true;\n ripple.trigger = button;\n button.append(rippleEl);\n return ripple;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatButtonLazyLoader, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatButtonLazyLoader, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatButtonLazyLoader, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return []; } });\n/**\n * The RippleTarget for the lazily rendered MatButton ripple.\n * It handles ripple configuration and disabled state for ripples interactions.\n *\n * Note that this configuration is usually handled by the MatRipple, but the MatButtonLazyLoader does not use the\n * MatRipple Directive. In order to create & attach a ripple on demand, it uses the \"lower level\" RippleRenderer.\n */\nclass MatButtonRippleTarget {\n constructor(_button, _globalRippleOptions, animationMode) {\n this._button = _button;\n this._globalRippleOptions = _globalRippleOptions;\n this._setRippleConfig(_globalRippleOptions, animationMode);\n }\n _setRippleConfig(globalRippleOptions, animationMode) {\n this.rippleConfig = globalRippleOptions || {};\n if (animationMode === 'NoopAnimations') {\n this.rippleConfig.animation = { enterDuration: 0, exitDuration: 0 };\n }\n }\n get rippleDisabled() {\n return this._button.hasAttribute('disabled') || !!this._globalRippleOptions?.disabled;\n }\n}\n\n/** Inputs common to all buttons. */\nconst MAT_BUTTON_INPUTS = ['disabled', 'disableRipple', 'color'];\n/** Shared host configuration for all buttons */\nconst MAT_BUTTON_HOST = {\n '[attr.disabled]': 'disabled || null',\n '[class._mat-animation-noopable]': '_animationMode === \"NoopAnimations\"',\n // MDC automatically applies the primary theme color to the button, but we want to support\n // an unthemed version. If color is undefined, apply a CSS class that makes it easy to\n // select and style this \"theme\".\n '[class.mat-unthemed]': '!color',\n // Add a class that applies to all buttons. This makes it easier to target if somebody\n // wants to target all Material buttons.\n '[class.mat-mdc-button-base]': 'true',\n [MAT_BUTTON_RIPPLE_UNINITIALIZED]: '',\n};\n/** List of classes to add to buttons instances based on host attribute selector. */\nconst HOST_SELECTOR_MDC_CLASS_PAIR = [\n {\n selector: 'mat-button',\n mdcClasses: ['mdc-button', 'mat-mdc-button'],\n },\n {\n selector: 'mat-flat-button',\n mdcClasses: ['mdc-button', 'mdc-button--unelevated', 'mat-mdc-unelevated-button'],\n },\n {\n selector: 'mat-raised-button',\n mdcClasses: ['mdc-button', 'mdc-button--raised', 'mat-mdc-raised-button'],\n },\n {\n selector: 'mat-stroked-button',\n mdcClasses: ['mdc-button', 'mdc-button--outlined', 'mat-mdc-outlined-button'],\n },\n {\n selector: 'mat-fab',\n mdcClasses: ['mdc-fab', 'mat-mdc-fab'],\n },\n {\n selector: 'mat-mini-fab',\n mdcClasses: ['mdc-fab', 'mdc-fab--mini', 'mat-mdc-mini-fab'],\n },\n {\n selector: 'mat-icon-button',\n mdcClasses: ['mdc-icon-button', 'mat-mdc-icon-button'],\n },\n];\n// Boilerplate for applying mixins to MatButton.\n/** @docs-private */\nconst _MatButtonMixin = mixinColor(mixinDisabled(mixinDisableRipple(class {\n constructor(_elementRef) {\n this._elementRef = _elementRef;\n }\n})));\n/** Base class for all buttons. */\nclass MatButtonBase extends _MatButtonMixin {\n /**\n * Reference to the MatRipple instance of the button.\n * @deprecated Considered an implementation detail. To be removed.\n * @breaking-change 17.0.0\n */\n get ripple() {\n if (!this._ripple && this._rippleLoader) {\n this._ripple = this._rippleLoader._createMatRipple(this._elementRef.nativeElement);\n }\n return this._ripple;\n }\n set ripple(v) {\n this._ripple = v;\n }\n constructor(elementRef, _platform, _ngZone, _animationMode) {\n super(elementRef);\n this._platform = _platform;\n this._ngZone = _ngZone;\n this._animationMode = _animationMode;\n this._focusMonitor = inject(FocusMonitor);\n /**\n * Handles the lazy creation of the MatButton ripple.\n * Used to improve initial load time of large applications.\n */\n this._rippleLoader = inject(MatButtonLazyLoader);\n /** Whether this button is a FAB. Used to apply the correct class on the ripple. */\n this._isFab = false;\n const classList = elementRef.nativeElement.classList;\n // For each of the variant selectors that is present in the button's host\n // attributes, add the correct corresponding MDC classes.\n for (const pair of HOST_SELECTOR_MDC_CLASS_PAIR) {\n if (this._hasHostAttributes(pair.selector)) {\n pair.mdcClasses.forEach((className) => {\n classList.add(className);\n });\n }\n }\n }\n ngAfterViewInit() {\n this._focusMonitor.monitor(this._elementRef, true);\n }\n ngOnChanges() {\n if (this._ripple) {\n this._ripple.disabled = this.disableRipple || this.disabled;\n }\n }\n ngOnDestroy() {\n this._focusMonitor.stopMonitoring(this._elementRef);\n }\n /** Focuses the button. */\n focus(_origin = 'program', options) {\n if (_origin) {\n this._focusMonitor.focusVia(this._elementRef.nativeElement, _origin, options);\n }\n else {\n this._elementRef.nativeElement.focus(options);\n }\n }\n /** Gets whether the button has one of the given attributes. */\n _hasHostAttributes(...attributes) {\n return attributes.some(attribute => this._elementRef.nativeElement.hasAttribute(attribute));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatButtonBase, deps: \"invalid\", target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatButtonBase, usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatButtonBase, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.Platform }, { type: i0.NgZone }, { type: undefined }]; } });\n/** Shared inputs by buttons using the `<a>` tag */\nconst MAT_ANCHOR_INPUTS = ['disabled', 'disableRipple', 'color', 'tabIndex'];\n/** Shared host configuration for buttons using the `<a>` tag. */\nconst MAT_ANCHOR_HOST = {\n '[attr.disabled]': 'disabled || null',\n '[class._mat-animation-noopable]': '_animationMode === \"NoopAnimations\"',\n // Note that we ignore the user-specified tabindex when it's disabled for\n // consistency with the `mat-button` applied on native buttons where even\n // though they have an index, they're not tabbable.\n '[attr.tabindex]': 'disabled ? -1 : tabIndex',\n '[attr.aria-disabled]': 'disabled.toString()',\n // MDC automatically applies the primary theme color to the button, but we want to support\n // an unthemed version. If color is undefined, apply a CSS class that makes it easy to\n // select and style this \"theme\".\n '[class.mat-unthemed]': '!color',\n // Add a class that applies to all buttons. This makes it easier to target if somebody\n // wants to target all Material buttons.\n '[class.mat-mdc-button-base]': 'true',\n [MAT_BUTTON_RIPPLE_UNINITIALIZED]: '',\n};\n/**\n * Anchor button base.\n */\nclass MatAnchorBase extends MatButtonBase {\n constructor(elementRef, platform, ngZone, animationMode) {\n super(elementRef, platform, ngZone, animationMode);\n this._haltDisabledEvents = (event) => {\n // A disabled button shouldn't apply any actions\n if (this.disabled) {\n event.preventDefault();\n event.stopImmediatePropagation();\n }\n };\n }\n ngOnInit() {\n this._ngZone.runOutsideAngular(() => {\n this._elementRef.nativeElement.addEventListener('click', this._haltDisabledEvents);\n });\n }\n ngOnDestroy() {\n super.ngOnDestroy();\n this._elementRef.nativeElement.removeEventListener('click', this._haltDisabledEvents);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatAnchorBase, deps: \"invalid\", target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatAnchorBase, usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatAnchorBase, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.Platform }, { type: i0.NgZone }, { type: undefined }]; } });\n\n/**\n * Material Design button component. Users interact with a button to perform an action.\n * See https://material.io/components/buttons\n *\n * The `MatButton` class applies to native button elements and captures the appearances for\n * \"text button\", \"outlined button\", and \"contained button\" per the Material Design\n * specification. `MatButton` additionally captures an additional \"flat\" appearance, which matches\n * \"contained\" but without elevation.\n */\nclass MatButton extends MatButtonBase {\n constructor(elementRef, platform, ngZone, animationMode) {\n super(elementRef, platform, ngZone, animationMode);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatButton, deps: [{ token: i0.ElementRef }, { token: i1.Platform }, { token: i0.NgZone }, { token: ANIMATION_MODULE_TYPE$1, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatButton, selector: \"\\n button[mat-button], button[mat-raised-button], button[mat-flat-button],\\n button[mat-stroked-button]\\n \", inputs: { disabled: \"disabled\", disableRipple: \"disableRipple\", color: \"color\" }, host: { attributes: { \"mat-button-ripple-uninitialized\": \"\" }, properties: { \"attr.disabled\": \"disabled || null\", \"class._mat-animation-noopable\": \"_animationMode === \\\"NoopAnimations\\\"\", \"class.mat-unthemed\": \"!color\", \"class.mat-mdc-button-base\": \"true\" } }, exportAs: [\"matButton\"], usesInheritance: true, ngImport: i0, template: \"<span\\n class=\\\"mat-mdc-button-persistent-ripple\\\"\\n [class.mdc-button__ripple]=\\\"!_isFab\\\"\\n [class.mdc-fab__ripple]=\\\"_isFab\\\"></span>\\n\\n<ng-content select=\\\".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])\\\">\\n</ng-content>\\n\\n<span class=\\\"mdc-button__label\\\"><ng-content></ng-content></span>\\n\\n<ng-content select=\\\".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]\\\">\\n</ng-content>\\n\\n<!--\\n The indicator can't be directly on the button, because MDC uses ::before for high contrast\\n indication and it can't be on the ripple, because it has a border radius and overflow: hidden.\\n-->\\n<span class=\\\"mat-mdc-focus-indicator\\\"></span>\\n\\n<span class=\\\"mat-mdc-button-touch-target\\\"></span>\\n\", styles: [\".mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\\n 100% + 4px\\n );width:calc(\\n 100% + 4px\\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}\", \".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatButton, decorators: [{\n type: Component,\n args: [{ selector: `\n button[mat-button], button[mat-raised-button], button[mat-flat-button],\n button[mat-stroked-button]\n `, inputs: MAT_BUTTON_INPUTS, host: MAT_BUTTON_HOST, exportAs: 'matButton', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: \"<span\\n class=\\\"mat-mdc-button-persistent-ripple\\\"\\n [class.mdc-button__ripple]=\\\"!_isFab\\\"\\n [class.mdc-fab__ripple]=\\\"_isFab\\\"></span>\\n\\n<ng-content select=\\\".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])\\\">\\n</ng-content>\\n\\n<span class=\\\"mdc-button__label\\\"><ng-content></ng-content></span>\\n\\n<ng-content select=\\\".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]\\\">\\n</ng-content>\\n\\n<!--\\n The indicator can't be directly on the button, because MDC uses ::before for high contrast\\n indication and it can't be on the ripple, because it has a border radius and overflow: hidden.\\n-->\\n<span class=\\\"mat-mdc-focus-indicator\\\"></span>\\n\\n<span class=\\\"mat-mdc-button-touch-target\\\"></span>\\n\", styles: [\".mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\\n 100% + 4px\\n );width:calc(\\n 100% + 4px\\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}\", \".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.Platform }, { type: i0.NgZone }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE$1]\n }] }]; } });\n/**\n * Material Design button component for anchor elements. Anchor elements are used to provide\n * links for the user to navigate across different routes or pages.\n * See https://material.io/components/buttons\n *\n * The `MatAnchor` class applies to native anchor elements and captures the appearances for\n * \"text button\", \"outlined button\", and \"contained button\" per the Material Design\n * specification. `MatAnchor` additionally captures an additional \"flat\" appearance, which matches\n * \"contained\" but without elevation.\n */\nclass MatAnchor extends MatAnchorBase {\n constructor(elementRef, platform, ngZone, animationMode) {\n super(elementRef, platform, ngZone, animationMode);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatAnchor, deps: [{ token: i0.ElementRef }, { token: i1.Platform }, { token: i0.NgZone }, { token: ANIMATION_MODULE_TYPE$1, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatAnchor, selector: \"a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button]\", inputs: { disabled: \"disabled\", disableRipple: \"disableRipple\", color: \"color\", tabIndex: \"tabIndex\" }, host: { attributes: { \"mat-button-ripple-uninitialized\": \"\" }, properties: { \"attr.disabled\": \"disabled || null\", \"class._mat-animation-noopable\": \"_animationMode === \\\"NoopAnimations\\\"\", \"attr.tabindex\": \"disabled ? -1 : tabIndex\", \"attr.aria-disabled\": \"disabled.toString()\", \"class.mat-unthemed\": \"!color\", \"class.mat-mdc-button-base\": \"true\" } }, exportAs: [\"matButton\", \"matAnchor\"], usesInheritance: true, ngImport: i0, template: \"<span\\n class=\\\"mat-mdc-button-persistent-ripple\\\"\\n [class.mdc-button__ripple]=\\\"!_isFab\\\"\\n [class.mdc-fab__ripple]=\\\"_isFab\\\"></span>\\n\\n<ng-content select=\\\".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])\\\">\\n</ng-content>\\n\\n<span class=\\\"mdc-button__label\\\"><ng-content></ng-content></span>\\n\\n<ng-content select=\\\".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]\\\">\\n</ng-content>\\n\\n<!--\\n The indicator can't be directly on the button, because MDC uses ::before for high contrast\\n indication and it can't be on the ripple, because it has a border radius and overflow: hidden.\\n-->\\n<span class=\\\"mat-mdc-focus-indicator\\\"></span>\\n\\n<span class=\\\"mat-mdc-button-touch-target\\\"></span>\\n\", styles: [\".mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\\n 100% + 4px\\n );width:calc(\\n 100% + 4px\\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}\", \".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatAnchor, decorators: [{\n type: Component,\n args: [{ selector: `a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button]`, exportAs: 'matButton, matAnchor', host: MAT_ANCHOR_HOST, inputs: MAT_ANCHOR_INPUTS, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: \"<span\\n class=\\\"mat-mdc-button-persistent-ripple\\\"\\n [class.mdc-button__ripple]=\\\"!_isFab\\\"\\n [class.mdc-fab__ripple]=\\\"_isFab\\\"></span>\\n\\n<ng-content select=\\\".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])\\\">\\n</ng-content>\\n\\n<span class=\\\"mdc-button__label\\\"><ng-content></ng-content></span>\\n\\n<ng-content select=\\\".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]\\\">\\n</ng-content>\\n\\n<!--\\n The indicator can't be directly on the button, because MDC uses ::before for high contrast\\n indication and it can't be on the ripple, because it has a border radius and overflow: hidden.\\n-->\\n<span class=\\\"mat-mdc-focus-indicator\\\"></span>\\n\\n<span class=\\\"mat-mdc-button-touch-target\\\"></span>\\n\", styles: [\".mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\\n 100% + 4px\\n );width:calc(\\n 100% + 4px\\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}\", \".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.Platform }, { type: i0.NgZone }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE$1]\n }] }]; } });\n\n/** Injection token to be used to override the default options for FAB. */\nconst MAT_FAB_DEFAULT_OPTIONS = new InjectionToken('mat-mdc-fab-default-options', {\n providedIn: 'root',\n factory: MAT_FAB_DEFAULT_OPTIONS_FACTORY,\n});\n/** @docs-private */\nfunction MAT_FAB_DEFAULT_OPTIONS_FACTORY() {\n return {\n // The FAB by default has its color set to accent.\n color: 'accent',\n };\n}\n// Default FAB configuration.\nconst defaults = MAT_FAB_DEFAULT_OPTIONS_FACTORY();\nlet buttonInputs = [...MAT_ANCHOR_INPUTS, 'extended'];\n/**\n * Material Design floating action button (FAB) component. These buttons represent the primary\n * or most common action for users to interact with.\n * See https://material.io/components/buttons-floating-action-button/\n *\n * The `MatFabButton` class has two appearances: normal and extended.\n */\nclass MatFabButton extends MatButtonBase {\n get extended() {\n return this._extended;\n }\n set extended(value) {\n this._extended = coerceBooleanProperty(value);\n }\n constructor(elementRef, platform, ngZone, animationMode, _options) {\n super(elementRef, platform, ngZone, animationMode);\n this._options = _options;\n this._isFab = true;\n this._options = this._options || defaults;\n this.color = this.defaultColor = this._options.color || defaults.color;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatFabButton, deps: [{ token: i0.ElementRef }, { token: i1.Platform }, { token: i0.NgZone }, { token: ANIMATION_MODULE_TYPE$1, optional: true }, { token: MAT_FAB_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatFabButton, selector: \"button[mat-fab]\", inputs: { disabled: \"disabled\", disableRipple: \"disableRipple\", color: \"color\", tabIndex: \"tabIndex\", extended: \"extended\" }, host: { attributes: { \"mat-button-ripple-uninitialized\": \"\" }, properties: { \"attr.disabled\": \"disabled || null\", \"class._mat-animation-noopable\": \"_animationMode === \\\"NoopAnimations\\\"\", \"class.mat-unthemed\": \"!color\", \"class.mat-mdc-button-base\": \"true\", \"class.mdc-fab--extended\": \"extended\", \"class.mat-mdc-extended-fab\": \"extended\" } }, exportAs: [\"matButton\"], usesInheritance: true, ngImport: i0, template: \"<span\\n class=\\\"mat-mdc-button-persistent-ripple\\\"\\n [class.mdc-button__ripple]=\\\"!_isFab\\\"\\n [class.mdc-fab__ripple]=\\\"_isFab\\\"></span>\\n\\n<ng-content select=\\\".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])\\\">\\n</ng-content>\\n\\n<span class=\\\"mdc-button__label\\\"><ng-content></ng-content></span>\\n\\n<ng-content select=\\\".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]\\\">\\n</ng-content>\\n\\n<!--\\n The indicator can't be directly on the button, because MDC uses ::before for high contrast\\n indication and it can't be on the ripple, because it has a border radius and overflow: hidden.\\n-->\\n<span class=\\\"mat-mdc-focus-indicator\\\"></span>\\n\\n<span class=\\\"mat-mdc-button-touch-target\\\"></span>\\n\", styles: [\".mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\\n 100% + 4px\\n );width:calc(\\n 100% + 4px\\n )}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab .mdc-fab__icon{width:24px;height:24px;font-size:24px}.mdc-fab:not(.mdc-fab--extended){border-radius:50%}.mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:50%}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);background-color:var(--mdc-fab-container-color, transparent);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);color:var(--mat-mdc-fab-color, inherit);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color, inherit)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-extended-fab{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:24px}.mat-mdc-extended-fab .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatFabButton, decorators: [{\n type: Component,\n args: [{ selector: `button[mat-fab]`, inputs: buttonInputs, host: {\n ...MAT_BUTTON_HOST,\n '[class.mdc-fab--extended]': 'extended',\n '[class.mat-mdc-extended-fab]': 'extended',\n }, exportAs: 'matButton', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: \"<span\\n class=\\\"mat-mdc-button-persistent-ripple\\\"\\n [class.mdc-button__ripple]=\\\"!_isFab\\\"\\n [class.mdc-fab__ripple]=\\\"_isFab\\\"></span>\\n\\n<ng-content select=\\\".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])\\\">\\n</ng-content>\\n\\n<span class=\\\"mdc-button__label\\\"><ng-content></ng-content></span>\\n\\n<ng-content select=\\\".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]\\\">\\n</ng-content>\\n\\n<!--\\n The indicator can't be directly on the button, because MDC uses ::before for high contrast\\n indication and it can't be on the ripple, because it has a border radius and overflow: hidden.\\n-->\\n<span class=\\\"mat-mdc-focus-indicator\\\"></span>\\n\\n<span class=\\\"mat-mdc-button-touch-target\\\"></span>\\n\", styles: [\".mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\\n 100% + 4px\\n );width:calc(\\n 100% + 4px\\n )}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab .mdc-fab__icon{width:24px;height:24px;font-size:24px}.mdc-fab:not(.mdc-fab--extended){border-radius:50%}.mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:50%}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);background-color:var(--mdc-fab-container-color, transparent);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);color:var(--mat-mdc-fab-color, inherit);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color, inherit)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-extended-fab{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:24px}.mat-mdc-extended-fab .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.Platform }, { type: i0.NgZone }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE$1]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_FAB_DEFAULT_OPTIONS]\n }] }]; } });\n/**\n * Material Design mini floating action button (FAB) component. These buttons represent the primary\n * or most common action for users to interact with.\n * See https://material.io/components/buttons-floating-action-button/\n */\nclass MatMiniFabButton extends MatButtonBase {\n constructor(elementRef, platform, ngZone, animationMode, _options) {\n super(elementRef, platform, ngZone, animationMode);\n this._options = _options;\n this._isFab = true;\n this._options = this._options || defaults;\n this.color = this.defaultColor = this._options.color || defaults.color;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatMiniFabButton, deps: [{ token: i0.ElementRef }, { token: i1.Platform }, { token: i0.NgZone }, { token: ANIMATION_MODULE_TYPE$1, optional: true }, { token: MAT_FAB_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatMiniFabButton, selector: \"button[mat-mini-fab]\", inputs: { disabled: \"disabled\", disableRipple: \"disableRipple\", color: \"color\" }, host: { attributes: { \"mat-button-ripple-uninitialized\": \"\" }, properties: { \"attr.disabled\": \"disabled || null\", \"class._mat-animation-noopable\": \"_animationMode === \\\"NoopAnimations\\\"\", \"class.mat-unthemed\": \"!color\", \"class.mat-mdc-button-base\": \"true\" } }, exportAs: [\"matButton\"], usesInheritance: true, ngImport: i0, template: \"<span\\n class=\\\"mat-mdc-button-persistent-ripple\\\"\\n [class.mdc-button__ripple]=\\\"!_isFab\\\"\\n [class.mdc-fab__ripple]=\\\"_isFab\\\"></span>\\n\\n<ng-content select=\\\".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])\\\">\\n</ng-content>\\n\\n<span class=\\\"mdc-button__label\\\"><ng-content></ng-content></span>\\n\\n<ng-content select=\\\".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]\\\">\\n</ng-content>\\n\\n<!--\\n The indicator can't be directly on the button, because MDC uses ::before for high contrast\\n indication and it can't be on the ripple, because it has a border radius and overflow: hidden.\\n-->\\n<span class=\\\"mat-mdc-focus-indicator\\\"></span>\\n\\n<span class=\\\"mat-mdc-button-touch-target\\\"></span>\\n\", styles: [\".mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\\n 100% + 4px\\n );width:calc(\\n 100% + 4px\\n )}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab .mdc-fab__icon{width:24px;height:24px;font-size:24px}.mdc-fab:not(.mdc-fab--extended){border-radius:50%}.mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:50%}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);background-color:var(--mdc-fab-container-color, transparent);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);color:var(--mat-mdc-fab-color, inherit);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color, inherit)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-extended-fab{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:24px}.mat-mdc-extended-fab .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatMiniFabButton, decorators: [{\n type: Component,\n args: [{ selector: `button[mat-mini-fab]`, inputs: MAT_BUTTON_INPUTS, host: MAT_BUTTON_HOST, exportAs: 'matButton', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: \"<span\\n class=\\\"mat-mdc-button-persistent-ripple\\\"\\n [class.mdc-button__ripple]=\\\"!_isFab\\\"\\n [class.mdc-fab__ripple]=\\\"_isFab\\\"></span>\\n\\n<ng-content select=\\\".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])\\\">\\n</ng-content>\\n\\n<span class=\\\"mdc-button__label\\\"><ng-content></ng-content></span>\\n\\n<ng-content select=\\\".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]\\\">\\n</ng-content>\\n\\n<!--\\n The indicator can't be directly on the button, because MDC uses ::before for high contrast\\n indication and it can't be on the ripple, because it has a border radius and overflow: hidden.\\n-->\\n<span class=\\\"mat-mdc-focus-indicator\\\"></span>\\n\\n<span class=\\\"mat-mdc-button-touch-target\\\"></span>\\n\", styles: [\".mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\\n 100% + 4px\\n );width:calc(\\n 100% + 4px\\n )}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab .mdc-fab__icon{width:24px;height:24px;font-size:24px}.mdc-fab:not(.mdc-fab--extended){border-radius:50%}.mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:50%}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);background-color:var(--mdc-fab-container-color, transparent);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);color:var(--mat-mdc-fab-color, inherit);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color, inherit)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-extended-fab{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:24px}.mat-mdc-extended-fab .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.Platform }, { type: i0.NgZone }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE$1]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_FAB_DEFAULT_OPTIONS]\n }] }]; } });\n/**\n * Material Design floating action button (FAB) component for anchor elements. Anchor elements\n * are used to provide links for the user to navigate across different routes or pages.\n * See https://material.io/components/buttons-floating-action-button/\n *\n * The `MatFabAnchor` class has two appearances: normal and extended.\n */\nclass MatFabAnchor extends MatAnchor {\n get extended() {\n return this._extended;\n }\n set extended(value) {\n this._extended = coerceBooleanProperty(value);\n }\n constructor(elementRef, platform, ngZone, animationMode, _options) {\n super(elementRef, platform, ngZone, animationMode);\n this._options = _options;\n this._isFab = true;\n this._options = this._options || defaults;\n this.color = this.defaultColor = this._options.color || defaults.color;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatFabAnchor, deps: [{ token: i0.ElementRef }, { token: i1.Platform }, { token: i0.NgZone }, { token: ANIMATION_MODULE_TYPE$1, optional: true }, { token: MAT_FAB_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatFabAnchor, selector: \"a[mat-fab]\", inputs: { disabled: \"disabled\", disableRipple: \"disableRipple\", color: \"color\", tabIndex: \"tabIndex\", extended: \"extended\" }, host: { attributes: { \"mat-button-ripple-uninitialized\": \"\" }, properties: { \"attr.disabled\": \"disabled || null\", \"class._mat-animation-noopable\": \"_animationMode === \\\"NoopAnimations\\\"\", \"attr.tabindex\": \"disabled ? -1 : tabIndex\", \"attr.aria-disabled\": \"disabled.toString()\", \"class.mat-unthemed\": \"!color\", \"class.mat-mdc-button-base\": \"true\", \"class.mdc-fab--extended\": \"extended\", \"class.mat-mdc-extended-fab\": \"extended\" } }, exportAs: [\"matButton\", \"matAnchor\"], usesInheritance: true, ngImport: i0, template: \"<span\\n class=\\\"mat-mdc-button-persistent-ripple\\\"\\n [class.mdc-button__ripple]=\\\"!_isFab\\\"\\n [class.mdc-fab__ripple]=\\\"_isFab\\\"></span>\\n\\n<ng-content select=\\\".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])\\\">\\n</ng-content>\\n\\n<span class=\\\"mdc-button__label\\\"><ng-content></ng-content></span>\\n\\n<ng-content select=\\\".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]\\\">\\n</ng-content>\\n\\n<!--\\n The indicator can't be directly on the button, because MDC uses ::before for high contrast\\n indication and it can't be on the ripple, because it has a border radius and overflow: hidden.\\n-->\\n<span class=\\\"mat-mdc-focus-indicator\\\"></span>\\n\\n<span class=\\\"mat-mdc-button-touch-target\\\"></span>\\n\", styles: [\".mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\\n 100% + 4px\\n );width:calc(\\n 100% + 4px\\n )}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab .mdc-fab__icon{width:24px;height:24px;font-size:24px}.mdc-fab:not(.mdc-fab--extended){border-radius:50%}.mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:50%}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);background-color:var(--mdc-fab-container-color, transparent);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);color:var(--mat-mdc-fab-color, inherit);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color, inherit)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-extended-fab{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:24px}.mat-mdc-extended-fab .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatFabAnchor, decorators: [{\n type: Component,\n args: [{ selector: `a[mat-fab]`, inputs: buttonInputs, host: {\n ...MAT_ANCHOR_HOST,\n '[class.mdc-fab--extended]': 'extended',\n '[class.mat-mdc-extended-fab]': 'extended',\n }, exportAs: 'matButton, matAnchor', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: \"<span\\n class=\\\"mat-mdc-button-persistent-ripple\\\"\\n [class.mdc-button__ripple]=\\\"!_isFab\\\"\\n [class.mdc-fab__ripple]=\\\"_isFab\\\"></span>\\n\\n<ng-content select=\\\".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])\\\">\\n</ng-content>\\n\\n<span class=\\\"mdc-button__label\\\"><ng-content></ng-content></span>\\n\\n<ng-content select=\\\".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]\\\">\\n</ng-content>\\n\\n<!--\\n The indicator can't be directly on the button, because MDC uses ::before for high contrast\\n indication and it can't be on the ripple, because it has a border radius and overflow: hidden.\\n-->\\n<span class=\\\"mat-mdc-focus-indicator\\\"></span>\\n\\n<span class=\\\"mat-mdc-button-touch-target\\\"></span>\\n\", styles: [\".mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\\n 100% + 4px\\n );width:calc(\\n 100% + 4px\\n )}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab .mdc-fab__icon{width:24px;height:24px;font-size:24px}.mdc-fab:not(.mdc-fab--extended){border-radius:50%}.mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:50%}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);background-color:var(--mdc-fab-container-color, transparent);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);color:var(--mat-mdc-fab-color, inherit);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color, inherit)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-extended-fab{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:24px}.mat-mdc-extended-fab .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.Platform }, { type: i0.NgZone }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE$1]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_FAB_DEFAULT_OPTIONS]\n }] }]; } });\n/**\n * Material Design mini floating action button (FAB) component for anchor elements. Anchor elements\n * are used to provide links for the user to navigate across different routes or pages.\n * See https://material.io/components/buttons-floating-action-button/\n */\nclass MatMiniFabAnchor extends MatAnchor {\n constructor(elementRef, platform, ngZone, animationMode, _options) {\n super(elementRef, platform, ngZone, animationMode);\n this._options = _options;\n this._isFab = true;\n this._options = this._options || defaults;\n this.color = this.defaultColor = this._options.color || defaults.color;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatMiniFabAnchor, deps: [{ token: i0.ElementRef }, { token: i1.Platform }, { token: i0.NgZone }, { token: ANIMATION_MODULE_TYPE$1, optional: true }, { token: MAT_FAB_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatMiniFabAnchor, selector: \"a[mat-mini-fab]\", inputs: { disabled: \"disabled\", disableRipple: \"disableRipple\", color: \"color\", tabIndex: \"tabIndex\" }, host: { attributes: { \"mat-button-ripple-uninitialized\": \"\" }, properties: { \"attr.disabled\": \"disabled || null\", \"class._mat-animation-noopable\": \"_animationMode === \\\"NoopAnimations\\\"\", \"attr.tabindex\": \"disabled ? -1 : tabIndex\", \"attr.aria-disabled\": \"disabled.toString()\", \"class.mat-unthemed\": \"!color\", \"class.mat-mdc-button-base\": \"true\" } }, exportAs: [\"matButton\", \"matAnchor\"], usesInheritance: true, ngImport: i0, template: \"<span\\n class=\\\"mat-mdc-button-persistent-ripple\\\"\\n [class.mdc-button__ripple]=\\\"!_isFab\\\"\\n [class.mdc-fab__ripple]=\\\"_isFab\\\"></span>\\n\\n<ng-content select=\\\".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])\\\">\\n</ng-content>\\n\\n<span class=\\\"mdc-button__label\\\"><ng-content></ng-content></span>\\n\\n<ng-content select=\\\".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]\\\">\\n</ng-content>\\n\\n<!--\\n The indicator can't be directly on the button, because MDC uses ::before for high contrast\\n indication and it can't be on the ripple, because it has a border radius and overflow: hidden.\\n-->\\n<span class=\\\"mat-mdc-focus-indicator\\\"></span>\\n\\n<span class=\\\"mat-mdc-button-touch-target\\\"></span>\\n\", styles: [\".mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\\n 100% + 4px\\n );width:calc(\\n 100% + 4px\\n )}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab .mdc-fab__icon{width:24px;height:24px;font-size:24px}.mdc-fab:not(.mdc-fab--extended){border-radius:50%}.mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:50%}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);background-color:var(--mdc-fab-container-color, transparent);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);color:var(--mat-mdc-fab-color, inherit);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color, inherit)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-extended-fab{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:24px}.mat-mdc-extended-fab .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatMiniFabAnchor, decorators: [{\n type: Component,\n args: [{ selector: `a[mat-mini-fab]`, inputs: MAT_ANCHOR_INPUTS, host: MAT_ANCHOR_HOST, exportAs: 'matButton, matAnchor', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: \"<span\\n class=\\\"mat-mdc-button-persistent-ripple\\\"\\n [class.mdc-button__ripple]=\\\"!_isFab\\\"\\n [class.mdc-fab__ripple]=\\\"_isFab\\\"></span>\\n\\n<ng-content select=\\\".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])\\\">\\n</ng-content>\\n\\n<span class=\\\"mdc-button__label\\\"><ng-content></ng-content></span>\\n\\n<ng-content select=\\\".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]\\\">\\n</ng-content>\\n\\n<!--\\n The indicator can't be directly on the button, because MDC uses ::before for high contrast\\n indication and it can't be on the ripple, because it has a border radius and overflow: hidden.\\n-->\\n<span class=\\\"mat-mdc-focus-indicator\\\"></span>\\n\\n<span class=\\\"mat-mdc-button-touch-target\\\"></span>\\n\", styles: [\".mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\\n 100% + 4px\\n );width:calc(\\n 100% + 4px\\n )}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab .mdc-fab__icon{width:24px;height:24px;font-size:24px}.mdc-fab:not(.mdc-fab--extended){border-radius:50%}.mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:50%}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);background-color:var(--mdc-fab-container-color, transparent);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);color:var(--mat-mdc-fab-color, inherit);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color, inherit)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-extended-fab{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:24px}.mat-mdc-extended-fab .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.Platform }, { type: i0.NgZone }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE$1]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_FAB_DEFAULT_OPTIONS]\n }] }]; } });\n\n/**\n * Material Design icon button component. This type of button displays a single interactive icon for\n * users to perform an action.\n * See https://material.io/develop/web/components/buttons/icon-buttons/\n */\nclass MatIconButton extends MatButtonBase {\n /**\n * Reference to the MatRipple instance of the button.\n * @deprecated Considered an implementation detail. To be removed.\n * @breaking-change 17.0.0\n */\n get ripple() {\n if (!this._ripple && this._rippleLoader) {\n this._ripple = this._rippleLoader._createMatRipple(this._elementRef.nativeElement);\n this._ripple.centered = true;\n }\n return this._ripple;\n }\n constructor(elementRef, platform, ngZone, animationMode) {\n super(elementRef, platform, ngZone, animationMode);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatIconButton, deps: [{ token: i0.ElementRef }, { token: i1.Platform }, { token: i0.NgZone }, { token: ANIMATION_MODULE_TYPE$1, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatIconButton, selector: \"button[mat-icon-button]\", inputs: { disabled: \"disabled\", disableRipple: \"disableRipple\", color: \"color\" }, host: { attributes: { \"mat-button-ripple-uninitialized\": \"\" }, properties: { \"attr.disabled\": \"disabled || null\", \"class._mat-animation-noopable\": \"_animationMode === \\\"NoopAnimations\\\"\", \"class.mat-unthemed\": \"!color\", \"class.mat-mdc-button-base\": \"true\" } }, exportAs: [\"matButton\"], usesInheritance: true, ngImport: i0, template: \"<span class=\\\"mat-mdc-button-persistent-ripple mdc-icon-button__ripple\\\"></span>\\n\\n<ng-content></ng-content>\\n\\n<!--\\n The indicator can't be directly on the button, because MDC uses ::before for high contrast\\n indication and it can't be on the ripple, because it has a border radius and overflow: hidden.\\n-->\\n<span class=\\\"mat-mdc-focus-indicator\\\"></span>\\n\\n<span class=\\\"mat-mdc-button-touch-target\\\"></span>\\n\", styles: [\".mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}\", \".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatIconButton, decorators: [{\n type: Component,\n args: [{ selector: `button[mat-icon-button]`, inputs: MAT_BUTTON_INPUTS, host: MAT_BUTTON_HOST, exportAs: 'matButton', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: \"<span class=\\\"mat-mdc-button-persistent-ripple mdc-icon-button__ripple\\\"></span>\\n\\n<ng-content></ng-content>\\n\\n<!--\\n The indicator can't be directly on the button, because MDC uses ::before for high contrast\\n indication and it can't be on the ripple, because it has a border radius and overflow: hidden.\\n-->\\n<span class=\\\"mat-mdc-focus-indicator\\\"></span>\\n\\n<span class=\\\"mat-mdc-button-touch-target\\\"></span>\\n\", styles: [\".mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}\", \".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.Platform }, { type: i0.NgZone }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE$1]\n }] }]; } });\n/**\n * Material Design icon button component for anchor elements. This button displays a single\n * interaction icon that allows users to navigate across different routes or pages.\n * See https://material.io/develop/web/components/buttons/icon-buttons/\n */\nclass MatIconAnchor extends MatAnchorBase {\n constructor(elementRef, platform, ngZone, animationMode) {\n super(elementRef, platform, ngZone, animationMode);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatIconAnchor, deps: [{ token: i0.ElementRef }, { token: i1.Platform }, { token: i0.NgZone }, { token: ANIMATION_MODULE_TYPE$1, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatIconAnchor, selector: \"a[mat-icon-button]\", inputs: { disabled: \"disabled\", disableRipple: \"disableRipple\", color: \"color\", tabIndex: \"tabIndex\" }, host: { attributes: { \"mat-button-ripple-uninitialized\": \"\" }, properties: { \"attr.disabled\": \"disabled || null\", \"class._mat-animation-noopable\": \"_animationMode === \\\"NoopAnimations\\\"\", \"attr.tabindex\": \"disabled ? -1 : tabIndex\", \"attr.aria-disabled\": \"disabled.toString()\", \"class.mat-unthemed\": \"!color\", \"class.mat-mdc-button-base\": \"true\" } }, exportAs: [\"matButton\", \"matAnchor\"], usesInheritance: true, ngImport: i0, template: \"<span\\n class=\\\"mat-mdc-button-persistent-ripple\\\"\\n [class.mdc-button__ripple]=\\\"!_isFab\\\"\\n [class.mdc-fab__ripple]=\\\"_isFab\\\"></span>\\n\\n<ng-content select=\\\".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])\\\">\\n</ng-content>\\n\\n<span class=\\\"mdc-button__label\\\"><ng-content></ng-content></span>\\n\\n<ng-content select=\\\".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]\\\">\\n</ng-content>\\n\\n<!--\\n The indicator can't be directly on the button, because MDC uses ::before for high contrast\\n indication and it can't be on the ripple, because it has a border radius and overflow: hidden.\\n-->\\n<span class=\\\"mat-mdc-focus-indicator\\\"></span>\\n\\n<span class=\\\"mat-mdc-button-touch-target\\\"></span>\\n\", styles: [\".mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}\", \".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatIconAnchor, decorators: [{\n type: Component,\n args: [{ selector: `a[mat-icon-button]`, inputs: MAT_ANCHOR_INPUTS, host: MAT_ANCHOR_HOST, exportAs: 'matButton, matAnchor', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: \"<span\\n class=\\\"mat-mdc-button-persistent-ripple\\\"\\n [class.mdc-button__ripple]=\\\"!_isFab\\\"\\n [class.mdc-fab__ripple]=\\\"_isFab\\\"></span>\\n\\n<ng-content select=\\\".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])\\\">\\n</ng-content>\\n\\n<span class=\\\"mdc-button__label\\\"><ng-content></ng-content></span>\\n\\n<ng-content select=\\\".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]\\\">\\n</ng-content>\\n\\n<!--\\n The indicator can't be directly on the button, because MDC uses ::before for high contrast\\n indication and it can't be on the ripple, because it has a border radius and overflow: hidden.\\n-->\\n<span class=\\\"mat-mdc-focus-indicator\\\"></span>\\n\\n<span class=\\\"mat-mdc-button-touch-target\\\"></span>\\n\", styles: [\".mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:\\\"\\\";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}\", \".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.Platform }, { type: i0.NgZone }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE$1]\n }] }]; } });\n\nclass MatButtonModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatButtonModule, declarations: [MatAnchor,\n MatButton,\n MatIconAnchor,\n MatMiniFabAnchor,\n MatMiniFabButton,\n MatIconButton,\n MatFabAnchor,\n MatFabButton], imports: [MatCommonModule, MatRippleModule], exports: [MatAnchor,\n MatButton,\n MatIconAnchor,\n MatIconButton,\n MatMiniFabAnchor,\n MatMiniFabButton,\n MatFabAnchor,\n MatFabButton,\n MatCommonModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatButtonModule, imports: [MatCommonModule, MatRippleModule, MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatButtonModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [MatCommonModule, MatRippleModule],\n exports: [\n MatAnchor,\n MatButton,\n MatIconAnchor,\n MatIconButton,\n MatMiniFabAnchor,\n MatMiniFabButton,\n MatFabAnchor,\n MatFabButton,\n MatCommonModule,\n ],\n declarations: [\n MatAnchor,\n MatButton,\n MatIconAnchor,\n MatMiniFabAnchor,\n MatMiniFabButton,\n MatIconButton,\n MatFabAnchor,\n MatFabButton,\n ],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MAT_FAB_DEFAULT_OPTIONS, MAT_FAB_DEFAULT_OPTIONS_FACTORY, MatAnchor, MatButton, MatButtonModule, MatFabAnchor, MatFabButton, MatIconAnchor, MatIconButton, MatMiniFabAnchor, MatMiniFabButton };\n","import toPropertyKey from \"./toPropertyKey.js\";\nexport default function _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}"],"x_google_ignoreList":[0,1]} \ No newline at end of file diff --git a/3765.f8d330ebbabb456e.js b/3765.f8d330ebbabb456e.js new file mode 100644 index 0000000..2856049 --- /dev/null +++ b/3765.f8d330ebbabb456e.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[3765],{20591:(A,E,o)=>{o.d(E,{E:()=>p});var p=new(o(90833).y)(function(f){return f.complete()})},37400:(A,E,o)=>{o.d(E,{D:()=>K});var h=o(54987),p=o(8728),v=o(41944);function _(y){var O=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,v.e)(function(S,b){b.add(y.schedule(function(){return S.subscribe(b)},O))})}var l=o(90833),m=o(67321),M=o(92971),D=o(1817);function T(y,O){if(!y)throw new Error("Iterable cannot be null");return new l.y(function(S){(0,D.f)(S,O,function(){var b=y[Symbol.asyncIterator]();(0,D.f)(S,O,function(){b.next().then(function(V){V.done?S.complete():S.next(V.value)})},0,!0)})})}var g=o(21331),C=o(79548),j=o(99806),J=o(23433),z=o(80470),Q=o(27785),F=o(20181);function K(y,O){return O?function B(y,O){if(null!=y){if((0,g.c)(y))return function f(y,O){return(0,h.Xf)(y).pipe(_(O),(0,p.Q)(O))}(y,O);if((0,j.z)(y))return function s(y,O){return new l.y(function(S){var b=0;return O.schedule(function(){b===y.length?S.complete():(S.next(y[b++]),S.closed||this.schedule())})})}(y,O);if((0,C.t)(y))return function d(y,O){return(0,h.Xf)(y).pipe(_(O),(0,p.Q)(O))}(y,O);if((0,z.D)(y))return T(y,O);if((0,J.T)(y))return function I(y,O){return new l.y(function(S){var b;return(0,D.f)(S,O,function(){b=y[m.h](),(0,D.f)(S,O,function(){var V,Y;try{var $=b.next();V=$.value,Y=$.done}catch(pe){return void S.error(pe)}Y?S.complete():S.next(V)},0,!0)}),function(){return(0,M.m)(b?.return)&&b.return()}})}(y,O);if((0,F.L)(y))return function X(y,O){return T((0,F.Q)(y),O)}(y,O)}throw(0,Q.z)(y)}(y,O):(0,h.Xf)(y)}},10745:(A,E,o)=>{o.d(E,{of:()=>v});var h=o(10420),p=o(37400);function v(){for(var _=arguments.length,f=new Array(_),d=0;d<_;d++)f[d]=arguments[d];var l=(0,h.yG)(f);return(0,p.D)(f,l)}},93945:(A,E,o)=>{o.d(E,{Q:()=>M,x:()=>m});var h=o(78069),p=o(48047),v=o(35488),_=o(24582),f=o(28694),d=o(4089),l=o(20265);function m(D,I,T,g,C){return new M(D,I,T,g,C)}var M=function(D){(0,_.Z)(T,D);var I=(0,f.Z)(T);function T(g,C,j,J,z,Q){var F,X,B,K;return(0,h.Z)(this,T),(K=I.call(this,g)).onFinalize=z,K.shouldUnsubscribe=Q,K._next=C?function(y){try{C(y)}catch(O){g.error(O)}}:(0,d.Z)((F=(0,v.Z)(K),(0,l.Z)(T.prototype)),"_next",F),K._error=J?function(y){try{J(y)}catch(O){g.error(O)}finally{this.unsubscribe()}}:(0,d.Z)((X=(0,v.Z)(K),(0,l.Z)(T.prototype)),"_error",X),K._complete=j?function(){try{j()}catch(y){g.error(y)}finally{this.unsubscribe()}}:(0,d.Z)((B=(0,v.Z)(K),(0,l.Z)(T.prototype)),"_complete",B),K}return(0,p.Z)(T,[{key:"unsubscribe",value:function(){var C;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var j=this.closed;(0,d.Z)((0,l.Z)(T.prototype),"unsubscribe",this).call(this),!j&&(null===(C=this.onFinalize)||void 0===C||C.call(this))}}}]),T}(o(5463).Lv)},63853:(A,E,o)=>{o.d(E,{b:()=>v});var h=o(49525),p=o(92971);function v(_,f){return(0,p.m)(f)?(0,h.z)(_,f,1):(0,h.z)(_,1)}},64744:(A,E,o)=>{o.d(E,{d:()=>v});var h=o(41944),p=o(93945);function v(_){return(0,h.e)(function(f,d){var l=!1;f.subscribe((0,p.x)(d,function(s){l=!0,d.next(s)},function(){l||d.next(_),d.complete()}))})}},60116:(A,E,o)=>{o.d(E,{h:()=>v});var h=o(41944),p=o(93945);function v(_,f){return(0,h.e)(function(d,l){var s=0;d.subscribe((0,p.x)(l,function(m){return _.call(f,m,s++)&&l.next(m)}))})}},32313:(A,E,o)=>{o.d(E,{x:()=>p});var h=o(41944);function p(v){return(0,h.e)(function(_,f){try{_.subscribe(f)}finally{f.add(v)}})}},80155:(A,E,o)=>{o.d(E,{P:()=>l});var h=o(14423),p=o(60116),v=o(59295),_=o(64744),f=o(77354),d=o(89173);function l(s,m){var M=arguments.length>=2;return function(D){return D.pipe(s?(0,p.h)(function(I,T){return s(I,T,D)}):d.y,(0,v.q)(1),M?(0,_.d)(m):(0,f.T)(function(){return new h.K}))}}},50635:(A,E,o)=>{o.d(E,{U:()=>v});var h=o(41944),p=o(93945);function v(_,f){return(0,h.e)(function(d,l){var s=0;d.subscribe((0,p.x)(l,function(m){l.next(_.call(f,m,s++))}))})}},49525:(A,E,o)=>{o.d(E,{z:()=>s});var h=o(50635),p=o(54987),v=o(41944),_=o(1817),f=o(93945),l=o(92971);function s(m,M){var D=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;return(0,l.m)(M)?s(function(I,T){return(0,h.U)(function(g,C){return M(I,g,T,C)})((0,p.Xf)(m(I,T)))},D):("number"==typeof M&&(D=M),(0,v.e)(function(I,T){return function d(m,M,D,I,T,g,C,j){var J=[],z=0,Q=0,F=!1,X=function(){F&&!J.length&&!z&&M.complete()},B=function(O){return z<I?K(O):J.push(O)},K=function y(O){g&&M.next(O),z++;var S=!1;(0,p.Xf)(D(O,Q++)).subscribe((0,f.x)(M,function(b){T?.(b),g?B(b):M.next(b)},function(){S=!0},void 0,function(){if(S)try{z--;for(var b=function(){var Y=J.shift();C?(0,_.f)(M,C,function(){return y(Y)}):y(Y)};J.length&&z<I;)b();X()}catch(V){M.error(V)}}))};return m.subscribe((0,f.x)(M,B,function(){F=!0,X()})),function(){j?.()}}(I,T,m,D)}))}},8728:(A,E,o)=>{o.d(E,{Q:()=>_});var h=o(1817),p=o(41944),v=o(93945);function _(f){var d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,p.e)(function(l,s){l.subscribe((0,v.x)(s,function(m){return(0,h.f)(s,f,function(){return s.next(m)},d)},function(){return(0,h.f)(s,f,function(){return s.complete()},d)},function(m){return(0,h.f)(s,f,function(){return s.error(m)},d)}))})}},32673:(A,E,o)=>{o.d(E,{w:()=>_});var h=o(54987),p=o(41944),v=o(93945);function _(f,d){return(0,p.e)(function(l,s){var m=null,M=0,D=!1,I=function(){return D&&!m&&s.complete()};l.subscribe((0,v.x)(s,function(T){m?.unsubscribe();var g=0,C=M++;(0,h.Xf)(f(T,C)).subscribe(m=(0,v.x)(s,function(j){return s.next(d?d(T,j,C,g++):j)},function(){m=null,I()}))},function(){D=!0,I()}))})}},59295:(A,E,o)=>{o.d(E,{q:()=>_});var h=o(20591),p=o(41944),v=o(93945);function _(f){return f<=0?function(){return h.E}:(0,p.e)(function(d,l){var s=0;d.subscribe((0,v.x)(l,function(m){++s<=f&&(l.next(m),f<=s&&l.complete())}))})}},19337:(A,E,o)=>{o.d(E,{b:()=>f});var h=o(92971),p=o(41944),v=o(93945),_=o(89173);function f(d,l,s){var m=(0,h.m)(d)||l||s?{next:d,error:l,complete:s}:d;return m?(0,p.e)(function(M,D){var I;null===(I=m.subscribe)||void 0===I||I.call(m);var T=!0;M.subscribe((0,v.x)(D,function(g){var C;null===(C=m.next)||void 0===C||C.call(m,g),D.next(g)},function(){var g;T=!1,null===(g=m.complete)||void 0===g||g.call(m),D.complete()},function(g){var C;T=!1,null===(C=m.error)||void 0===C||C.call(m,g),D.error(g)},function(){var g,C;T&&(null===(g=m.unsubscribe)||void 0===g||g.call(m)),null===(C=m.finalize)||void 0===C||C.call(m)}))}):_.y}},77354:(A,E,o)=>{o.d(E,{T:()=>_});var h=o(14423),p=o(41944),v=o(93945);function _(){var d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f;return(0,p.e)(function(l,s){var m=!1;l.subscribe((0,v.x)(s,function(M){m=!0,s.next(M)},function(){return m?s.complete():s.error(d())}))})}function f(){return new h.K}},14423:(A,E,o)=>{o.d(E,{K:()=>p});var p=(0,o(27543).d)(function(v){return function(){v(this),this.name="EmptyError",this.message="no elements in sequence"}})},10420:(A,E,o)=>{o.d(E,{_6:()=>d,jO:()=>_,yG:()=>f});var h=o(92971),p=o(59867);function v(l){return l[l.length-1]}function _(l){return(0,h.m)(v(l))?l.pop():void 0}function f(l){return(0,p.K)(v(l))?l.pop():void 0}function d(l,s){return"number"==typeof v(l)?l.pop():s}},1817:(A,E,o)=>{function h(p,v,_){var f=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,d=arguments.length>4&&void 0!==arguments[4]&&arguments[4],l=v.schedule(function(){_(),d?p.add(this.schedule(null,f)):this.unsubscribe()},f);if(p.add(l),!d)return l}o.d(E,{f:()=>h})},59867:(A,E,o)=>{o.d(E,{K:()=>p});var h=o(92971);function p(v){return v&&(0,h.m)(v.schedule)}},41944:(A,E,o)=>{o.d(E,{A:()=>p,e:()=>v});var h=o(92971);function p(_){return(0,h.m)(_?.lift)}function v(_){return function(f){if(p(f))return f.lift(function(d){try{return _(d,this)}catch(l){this.error(l)}});throw new TypeError("Unable to lift unknown Observable type")}}},33765:(A,E,o)=>{o.r(E),o.d(E,{HTTP_INTERCEPTORS:()=>ve,HttpBackend:()=>X,HttpClient:()=>De,HttpClientJsonpModule:()=>dt,HttpClientModule:()=>lt,HttpClientXsrfModule:()=>ut,HttpContext:()=>Pe,HttpContextToken:()=>pe,HttpErrorResponse:()=>re,HttpEventType:()=>H,HttpFeatureKind:()=>x,HttpHandler:()=>F,HttpHeaderResponse:()=>Me,HttpHeaders:()=>B,HttpParams:()=>$,HttpRequest:()=>se,HttpResponse:()=>ee,HttpResponseBase:()=>ie,HttpUrlEncodingCodec:()=>y,HttpXhrBackend:()=>Ee,HttpXsrfTokenExtractor:()=>de,JsonpClientBackend:()=>me,JsonpInterceptor:()=>rt,provideHttpClient:()=>je,withInterceptors:()=>st,withInterceptorsFromDi:()=>Be,withJsonpSupport:()=>Fe,withNoXsrfProtection:()=>Ke,withRequestsMadeViaParent:()=>it,withXsrfConfiguration:()=>ye,\u0275HttpInterceptingHandler:()=>ue,\u0275HttpInterceptorHandler:()=>ue,\u0275withHttpTransferCache:()=>_t});var h=o(95106),p=o(24582),v=o(28694),_=o(86170),f=o(32090),d=o(48047),l=o(78069),s=o(56718),m=o(10745),M=o(90833),D=o(37400),I=o(63853),T=o(60116),g=o(50635),C=o(32313),j=o(32673),J=o(19337),z=o(80155),Q=o(94055),F=(0,d.Z)(function n(){(0,l.Z)(this,n)}),X=(0,d.Z)(function n(){(0,l.Z)(this,n)}),B=function(){function n(r){var t=this;(0,l.Z)(this,n),this.normalizedNames=new Map,this.lazyUpdate=null,r?this.lazyInit="string"==typeof r?function(){t.headers=new Map,r.split("\n").forEach(function(e){var a=e.indexOf(":");if(a>0){var i=e.slice(0,a),u=i.toLowerCase(),c=e.slice(a+1).trim();t.maybeSetNormalizedName(i,u),t.headers.has(u)?t.headers.get(u).push(c):t.headers.set(u,[c])}})}:function(){t.headers=new Map,Object.entries(r).forEach(function(e){var c,a=(0,f.Z)(e,2),i=a[0],u=a[1];if((c="string"==typeof u?[u]:"number"==typeof u?[u.toString()]:u.map(function(L){return L.toString()})).length>0){var P=i.toLowerCase();t.headers.set(P,c),t.maybeSetNormalizedName(i,P)}})}:this.headers=new Map}return(0,d.Z)(n,[{key:"has",value:function(t){return this.init(),this.headers.has(t.toLowerCase())}},{key:"get",value:function(t){this.init();var e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}},{key:"keys",value:function(){return this.init(),Array.from(this.normalizedNames.values())}},{key:"getAll",value:function(t){return this.init(),this.headers.get(t.toLowerCase())||null}},{key:"append",value:function(t,e){return this.clone({name:t,value:e,op:"a"})}},{key:"set",value:function(t,e){return this.clone({name:t,value:e,op:"s"})}},{key:"delete",value:function(t,e){return this.clone({name:t,value:e,op:"d"})}},{key:"maybeSetNormalizedName",value:function(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}},{key:"init",value:function(){var t=this;this.lazyInit&&(this.lazyInit instanceof n?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(e){return t.applyUpdate(e)}),this.lazyUpdate=null))}},{key:"copyFrom",value:function(t){var e=this;t.init(),Array.from(t.headers.keys()).forEach(function(a){e.headers.set(a,t.headers.get(a)),e.normalizedNames.set(a,t.normalizedNames.get(a))})}},{key:"clone",value:function(t){var e=new n;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof n?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}},{key:"applyUpdate",value:function(t){var e=t.name.toLowerCase();switch(t.op){case"a":case"s":var a=t.value;if("string"==typeof a&&(a=[a]),0===a.length)return;this.maybeSetNormalizedName(t.name,e);var i=("a"===t.op?this.headers.get(e):void 0)||[];i.push.apply(i,(0,_.Z)(a)),this.headers.set(e,i);break;case"d":var u=t.value;if(u){var c=this.headers.get(e);if(!c)return;0===(c=c.filter(function(P){return-1===u.indexOf(P)})).length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,c)}else this.headers.delete(e),this.normalizedNames.delete(e)}}},{key:"forEach",value:function(t){var e=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(a){return t(e.normalizedNames.get(a),e.headers.get(a))})}}]),n}(),y=function(){function n(){(0,l.Z)(this,n)}return(0,d.Z)(n,[{key:"encodeKey",value:function(t){return V(t)}},{key:"encodeValue",value:function(t){return V(t)}},{key:"decodeKey",value:function(t){return decodeURIComponent(t)}},{key:"decodeValue",value:function(t){return decodeURIComponent(t)}}]),n}(),S=/%(\d[a-f0-9])/gi,b={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function V(n){return encodeURIComponent(n).replace(S,function(r,t){var e;return null!==(e=b[t])&&void 0!==e?e:r})}function Y(n){return"".concat(n)}var $=function(){function n(){var r=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if((0,l.Z)(this,n),this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new y,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function O(n,r){var t=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(function(a){var i=a.indexOf("="),u=-1==i?[r.decodeKey(a),""]:[r.decodeKey(a.slice(0,i)),r.decodeValue(a.slice(i+1))],c=(0,f.Z)(u,2),P=c[0],L=c[1],k=t.get(P)||[];k.push(L),t.set(P,k)}),t}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(function(e){var a=t.fromObject[e],i=Array.isArray(a)?a.map(Y):[Y(a)];r.map.set(e,i)})):this.map=null}return(0,d.Z)(n,[{key:"has",value:function(t){return this.init(),this.map.has(t)}},{key:"get",value:function(t){this.init();var e=this.map.get(t);return e?e[0]:null}},{key:"getAll",value:function(t){return this.init(),this.map.get(t)||null}},{key:"keys",value:function(){return this.init(),Array.from(this.map.keys())}},{key:"append",value:function(t,e){return this.clone({param:t,value:e,op:"a"})}},{key:"appendAll",value:function(t){var e=[];return Object.keys(t).forEach(function(a){var i=t[a];Array.isArray(i)?i.forEach(function(u){e.push({param:a,value:u,op:"a"})}):e.push({param:a,value:i,op:"a"})}),this.clone(e)}},{key:"set",value:function(t,e){return this.clone({param:t,value:e,op:"s"})}},{key:"delete",value:function(t,e){return this.clone({param:t,value:e,op:"d"})}},{key:"toString",value:function(){var t=this;return this.init(),this.keys().map(function(e){var a=t.encoder.encodeKey(e);return t.map.get(e).map(function(i){return a+"="+t.encoder.encodeValue(i)}).join("&")}).filter(function(e){return""!==e}).join("&")}},{key:"clone",value:function(t){var e=new n({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}},{key:"init",value:function(){var t=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(e){return t.map.set(e,t.cloneFrom.map.get(e))}),this.updates.forEach(function(e){switch(e.op){case"a":case"s":var a=("a"===e.op?t.map.get(e.param):void 0)||[];a.push(Y(e.value)),t.map.set(e.param,a);break;case"d":if(void 0===e.value){t.map.delete(e.param);break}var i=t.map.get(e.param)||[],u=i.indexOf(Y(e.value));-1!==u&&i.splice(u,1),i.length>0?t.map.set(e.param,i):t.map.delete(e.param)}}),this.cloneFrom=this.updates=null)}}]),n}(),pe=(0,d.Z)(function n(r){(0,l.Z)(this,n),this.defaultValue=r}),Pe=function(){function n(){(0,l.Z)(this,n),this.map=new Map}return(0,d.Z)(n,[{key:"set",value:function(t,e){return this.map.set(t,e),this}},{key:"get",value:function(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}},{key:"delete",value:function(t){return this.map.delete(t),this}},{key:"has",value:function(t){return this.map.has(t)}},{key:"keys",value:function(){return this.map.keys()}}]),n}();function Te(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function Oe(n){return typeof Blob<"u"&&n instanceof Blob}function Ce(n){return typeof FormData<"u"&&n instanceof FormData}var se=function(){function n(r,t,e,a){var i;if((0,l.Z)(this,n),this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=r.toUpperCase(),function Je(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||a?(this.body=void 0!==e?e:null,i=a):i=e,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params)),this.headers||(this.headers=new B),this.context||(this.context=new Pe),this.params){var u=this.params.toString();if(0===u.length)this.urlWithParams=t;else{var c=t.indexOf("?");this.urlWithParams=t+(-1===c?"?":c<t.length-1?"&":"")+u}}else this.params=new $,this.urlWithParams=t}return(0,d.Z)(n,[{key:"serializeBody",value:function(){return null===this.body?null:Te(this.body)||Oe(this.body)||Ce(this.body)||function ze(n){return typeof URLSearchParams<"u"&&n instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof $?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}},{key:"detectContentTypeHeader",value:function(){return null===this.body||Ce(this.body)?null:Oe(this.body)?this.body.type||null:Te(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof $?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}},{key:"clone",value:function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=e.method||this.method,i=e.url||this.url,u=e.responseType||this.responseType,c=void 0!==e.body?e.body:this.body,P=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,L=void 0!==e.reportProgress?e.reportProgress:this.reportProgress,k=e.headers||this.headers,w=e.params||this.params,R=null!==(t=e.context)&&void 0!==t?t:this.context;return void 0!==e.setHeaders&&(k=Object.keys(e.setHeaders).reduce(function(q,N){return q.set(N,e.setHeaders[N])},k)),e.setParams&&(w=Object.keys(e.setParams).reduce(function(q,N){return q.set(N,e.setParams[N])},w)),new n(a,i,c,{params:w,headers:k,context:R,reportProgress:L,responseType:u,withCredentials:P})}}]),n}(),H=function(){return(H=H||{})[H.Sent=0]="Sent",H[H.UploadProgress=1]="UploadProgress",H[H.ResponseHeader=2]="ResponseHeader",H[H.DownloadProgress=3]="DownloadProgress",H[H.Response=4]="Response",H[H.User=5]="User",H}(),ie=(0,d.Z)(function n(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";(0,l.Z)(this,n),this.headers=r.headers||new B,this.status=void 0!==r.status?r.status:t,this.statusText=r.statusText||e,this.url=r.url||null,this.ok=this.status>=200&&this.status<300}),Me=function(n){(0,p.Z)(t,n);var r=(0,v.Z)(t);function t(){var e,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,l.Z)(this,t),(e=r.call(this,a)).type=H.ResponseHeader,e}return(0,d.Z)(t,[{key:"clone",value:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new t({headers:a.headers||this.headers,status:void 0!==a.status?a.status:this.status,statusText:a.statusText||this.statusText,url:a.url||this.url||void 0})}}]),t}(ie),ee=function(n){(0,p.Z)(t,n);var r=(0,v.Z)(t);function t(){var e,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,l.Z)(this,t),(e=r.call(this,a)).type=H.Response,e.body=void 0!==a.body?a.body:null,e}return(0,d.Z)(t,[{key:"clone",value:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new t({body:void 0!==a.body?a.body:this.body,headers:a.headers||this.headers,status:void 0!==a.status?a.status:this.status,statusText:a.statusText||this.statusText,url:a.url||this.url||void 0})}}]),t}(ie),re=function(n){(0,p.Z)(t,n);var r=(0,v.Z)(t);function t(e){var a;return(0,l.Z)(this,t),(a=r.call(this,e,0,"Unknown Error")).name="HttpErrorResponse",a.ok=!1,a.message=a.status>=200&&a.status<300?"Http failure during parsing for ".concat(e.url||"(unknown url)"):"Http failure response for ".concat(e.url||"(unknown url)",": ").concat(e.status," ").concat(e.statusText),a.error=e.error||null,a}return(0,d.Z)(t)}(ie);function he(n,r){return{body:r,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials}}var De=function(){var n=function(){function r(t){(0,l.Z)(this,r),this.handler=t}return(0,d.Z)(r,[{key:"request",value:function(e,a){var c,i=this,u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e instanceof se)c=e;else{var P;P=u.headers instanceof B?u.headers:new B(u.headers);var L=void 0;u.params&&(L=u.params instanceof $?u.params:new $({fromObject:u.params})),c=new se(e,a,void 0!==u.body?u.body:null,{headers:P,context:u.context,params:L,reportProgress:u.reportProgress,responseType:u.responseType||"json",withCredentials:u.withCredentials})}var k=(0,m.of)(c).pipe((0,I.b)(function(R){return i.handler.handle(R)}));if(e instanceof se||"events"===u.observe)return k;var w=k.pipe((0,T.h)(function(R){return R instanceof ee}));switch(u.observe||"body"){case"body":switch(c.responseType){case"arraybuffer":return w.pipe((0,g.U)(function(R){if(null!==R.body&&!(R.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return R.body}));case"blob":return w.pipe((0,g.U)(function(R){if(null!==R.body&&!(R.body instanceof Blob))throw new Error("Response is not a Blob.");return R.body}));case"text":return w.pipe((0,g.U)(function(R){if(null!==R.body&&"string"!=typeof R.body)throw new Error("Response is not a string.");return R.body}));default:return w.pipe((0,g.U)(function(R){return R.body}))}case"response":return w;default:throw new Error("Unreachable: unhandled observe type ".concat(u.observe,"}"))}}},{key:"delete",value:function(e){return this.request("DELETE",e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}},{key:"get",value:function(e){return this.request("GET",e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}},{key:"head",value:function(e){return this.request("HEAD",e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}},{key:"jsonp",value:function(e,a){return this.request("JSONP",e,{params:(new $).append(a,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}},{key:"options",value:function(e){return this.request("OPTIONS",e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}},{key:"patch",value:function(e,a){return this.request("PATCH",e,he(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a))}},{key:"post",value:function(e,a){return this.request("POST",e,he(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a))}},{key:"put",value:function(e,a){return this.request("PUT",e,he(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a))}}]),r}();return n.\u0275fac=function(t){return new(t||n)(s.\u0275\u0275inject(F))},n.\u0275prov=s.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac}),n}();function Ie(n,r){return r(n)}function Ve(n,r){return function(t,e){return r.intercept(t,{handle:function(i){return n(i,e)}})}}var ve=new s.InjectionToken(""),oe=new s.InjectionToken(""),Re=new s.InjectionToken("");function Qe(){var n=null;return function(r,t){if(null===n){var e,a=null!==(e=(0,s.inject)(ve,{optional:!0}))&&void 0!==e?e:[];n=a.reduceRight(Ve,Ie)}var i=(0,s.inject)(s.\u0275InitialRenderPendingTasks),u=i.add();return n(r,t).pipe((0,C.x)(function(){return i.remove(u)}))}}var _e,ue=function(){var n=function(r){(0,p.Z)(e,r);var t=(0,v.Z)(e);function e(a,i){var u;return(0,l.Z)(this,e),(u=t.call(this)).backend=a,u.injector=i,u.chain=null,u.pendingTasks=(0,s.inject)(s.\u0275InitialRenderPendingTasks),u}return(0,d.Z)(e,[{key:"handle",value:function(i){var u=this;if(null===this.chain){var c=Array.from(new Set([].concat((0,_.Z)(this.injector.get(oe)),(0,_.Z)(this.injector.get(Re,[])))));this.chain=c.reduceRight(function(L,k){return function Ge(n,r,t){return function(e,a){return t.runInContext(function(){return r(e,function(i){return n(i,a)})})}}(L,k,u.injector)},Ie)}var P=this.pendingTasks.add();return this.chain(i,function(L){return u.backend.handle(L)}).pipe((0,C.x)(function(){return u.pendingTasks.remove(P)}))}}]),e}(F);return n.\u0275fac=function(t){return new(t||n)(s.\u0275\u0275inject(X),s.\u0275\u0275inject(s.EnvironmentInjector))},n.\u0275prov=s.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac}),n}(),Ye=0,Ae=(0,d.Z)(function n(){(0,l.Z)(this,n)});function nt(){return"object"==typeof window?window:{}}var me=function(){var n=function(){function r(t,e){(0,l.Z)(this,r),this.callbackMap=t,this.document=e,this.resolvedPromise=Promise.resolve()}return(0,d.Z)(r,[{key:"nextCallback",value:function(){return"ng_jsonp_callback_".concat(Ye++)}},{key:"handle",value:function(e){var a=this;if("JSONP"!==e.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==e.responseType)throw new Error("JSONP requests must use Json response type.");if(e.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new M.y(function(i){var u=a.nextCallback(),c=e.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,"=".concat(u,"$1")),P=a.document.createElement("script");P.src=c;var L=null,k=!1;a.callbackMap[u]=function(N){delete a.callbackMap[u],L=N,k=!0};var w=function(){P.parentNode&&P.parentNode.removeChild(P),delete a.callbackMap[u]};return P.addEventListener("load",function(ae){a.resolvedPromise.then(function(){w(),k?(i.next(new ee({body:L,status:200,statusText:"OK",url:c})),i.complete()):i.error(new re({url:c,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})}),P.addEventListener("error",function(ae){w(),i.error(new re({error:ae,status:0,statusText:"JSONP Error",url:c}))}),a.document.body.appendChild(P),i.next({type:H.Sent}),function(){k||a.removeListeners(P),w()}})}},{key:"removeListeners",value:function(e){_e||(_e=this.document.implementation.createHTMLDocument()),_e.adoptNode(e)}}]),r}();return n.\u0275fac=function(t){return new(t||n)(s.\u0275\u0275inject(Ae),s.\u0275\u0275inject(Q.DOCUMENT))},n.\u0275prov=s.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac}),n}();function be(n,r){return"JSONP"===n.method?(0,s.inject)(me).handle(n):r(n)}var rt=function(){var n=function(){function r(t){(0,l.Z)(this,r),this.injector=t}return(0,d.Z)(r,[{key:"intercept",value:function(e,a){return this.injector.runInContext(function(){return be(e,function(i){return a.handle(i)})})}}]),r}();return n.\u0275fac=function(t){return new(t||n)(s.\u0275\u0275inject(s.EnvironmentInjector))},n.\u0275prov=s.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac}),n}(),ot=/^\)\]\}',?\n/,Ee=function(){var n=function(){function r(t){(0,l.Z)(this,r),this.xhrFactory=t}return(0,d.Z)(r,[{key:"handle",value:function(e){if("JSONP"===e.method)throw new s.\u0275RuntimeError(-2800,!1);var a=this.xhrFactory;return(a.\u0275loadImpl?(0,D.D)(a.\u0275loadImpl()):(0,m.of)(null)).pipe((0,j.w)(function(){return new M.y(function(u){var c=a.build();if(c.open(e.method,e.urlWithParams),e.withCredentials&&(c.withCredentials=!0),e.headers.forEach(function(ne,U){return c.setRequestHeader(ne,U.join(","))}),e.headers.has("Accept")||c.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){var P=e.detectContentTypeHeader();null!==P&&c.setRequestHeader("Content-Type",P)}if(e.responseType){var L=e.responseType.toLowerCase();c.responseType="json"!==L?L:"text"}var k=e.serializeBody(),w=null,R=function(){if(null!==w)return w;var U=c.statusText||"OK",W=new B(c.getAllResponseHeaders()),G=function at(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}(c)||e.url;return w=new Me({headers:W,status:c.status,statusText:U,url:G})},q=function(){var U=R(),W=U.headers,G=U.status,fe=U.statusText,Xe=U.url,Z=null;204!==G&&(Z=typeof c.response>"u"?c.responseText:c.response),0===G&&(G=Z?200:0);var ge=G>=200&&G<300;if("json"===e.responseType&&"string"==typeof Z){var mt=Z;Z=Z.replace(ot,"");try{Z=""!==Z?JSON.parse(Z):null}catch(Et){Z=mt,ge&&(ge=!1,Z={error:Et,text:Z})}}ge?(u.next(new ee({body:Z,headers:W,status:G,statusText:fe,url:Xe||void 0})),u.complete()):u.error(new re({error:Z,headers:W,status:G,statusText:fe,url:Xe||void 0}))},N=function(U){var W=R(),fe=new re({error:U,status:c.status||0,statusText:c.statusText||"Unknown Error",url:W.url||void 0});u.error(fe)},ae=!1,Ze=function(U){ae||(u.next(R()),ae=!0);var W={type:H.DownloadProgress,loaded:U.loaded};U.lengthComputable&&(W.total=U.total),"text"===e.responseType&&c.responseText&&(W.partialText=c.responseText),u.next(W)},We=function(U){var W={type:H.UploadProgress,loaded:U.loaded};U.lengthComputable&&(W.total=U.total),u.next(W)};return c.addEventListener("load",q),c.addEventListener("error",N),c.addEventListener("timeout",N),c.addEventListener("abort",N),e.reportProgress&&(c.addEventListener("progress",Ze),null!==k&&c.upload&&c.upload.addEventListener("progress",We)),c.send(k),u.next({type:H.Sent}),function(){c.removeEventListener("error",N),c.removeEventListener("abort",N),c.removeEventListener("load",q),c.removeEventListener("timeout",N),e.reportProgress&&(c.removeEventListener("progress",Ze),null!==k&&c.upload&&c.upload.removeEventListener("progress",We)),c.readyState!==c.DONE&&c.abort()}})}))}}]),r}();return n.\u0275fac=function(t){return new(t||n)(s.\u0275\u0275inject(Q.XhrFactory))},n.\u0275prov=s.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac}),n}(),le=new s.InjectionToken("XSRF_ENABLED"),He="XSRF-TOKEN",xe=new s.InjectionToken("XSRF_COOKIE_NAME",{providedIn:"root",factory:function(){return He}}),Se="X-XSRF-TOKEN",Le=new s.InjectionToken("XSRF_HEADER_NAME",{providedIn:"root",factory:function(){return Se}}),de=(0,d.Z)(function n(){(0,l.Z)(this,n)}),ke=function(){var n=function(){function r(t,e,a){(0,l.Z)(this,r),this.doc=t,this.platform=e,this.cookieName=a,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return(0,d.Z)(r,[{key:"getToken",value:function(){if("server"===this.platform)return null;var e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,Q.\u0275parseCookieValue)(e,this.cookieName),this.lastCookieString=e),this.lastToken}}]),r}();return n.\u0275fac=function(t){return new(t||n)(s.\u0275\u0275inject(Q.DOCUMENT),s.\u0275\u0275inject(s.PLATFORM_ID),s.\u0275\u0275inject(xe))},n.\u0275prov=s.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac}),n}();function we(n,r){var t=n.url.toLowerCase();if(!(0,s.inject)(le)||"GET"===n.method||"HEAD"===n.method||t.startsWith("http://")||t.startsWith("https://"))return r(n);var e=(0,s.inject)(de).getToken(),a=(0,s.inject)(Le);return null!=e&&!n.headers.has(a)&&(n=n.clone({headers:n.headers.set(a,e)})),r(n)}var Ue=function(){var n=function(){function r(t){(0,l.Z)(this,r),this.injector=t}return(0,d.Z)(r,[{key:"intercept",value:function(e,a){return this.injector.runInContext(function(){return we(e,function(i){return a.handle(i)})})}}]),r}();return n.\u0275fac=function(t){return new(t||n)(s.\u0275\u0275inject(s.EnvironmentInjector))},n.\u0275prov=s.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac}),n}(),x=function(){return(x=x||{})[x.Interceptors=0]="Interceptors",x[x.LegacyInterceptors=1]="LegacyInterceptors",x[x.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",x[x.NoXsrfProtection=3]="NoXsrfProtection",x[x.JsonpSupport=4]="JsonpSupport",x[x.RequestsMadeViaParent=5]="RequestsMadeViaParent",x}();function te(n,r){return{\u0275kind:n,\u0275providers:r}}function je(){for(var n=arguments.length,r=new Array(n),t=0;t<n;t++)r[t]=arguments[t];for(var a=[De,Ee,ue,{provide:F,useExisting:ue},{provide:X,useExisting:Ee},{provide:oe,useValue:we,multi:!0},{provide:le,useValue:!0},{provide:de,useClass:ke}],i=0,u=r;i<u.length;i++)a.push.apply(a,(0,_.Z)(u[i].\u0275providers));return(0,s.makeEnvironmentProviders)(a)}function st(n){return te(x.Interceptors,n.map(function(r){return{provide:oe,useValue:r,multi:!0}}))}var Ne=new s.InjectionToken("LEGACY_INTERCEPTOR_FN");function Be(){return te(x.LegacyInterceptors,[{provide:Ne,useFactory:Qe},{provide:oe,useExisting:Ne,multi:!0}])}function ye(n){var r=n.cookieName,t=n.headerName,e=[];return void 0!==r&&e.push({provide:xe,useValue:r}),void 0!==t&&e.push({provide:Le,useValue:t}),te(x.CustomXsrfConfiguration,e)}function Ke(){return te(x.NoXsrfProtection,[{provide:le,useValue:!1}])}function Fe(){return te(x.JsonpSupport,[me,{provide:Ae,useFactory:nt},{provide:oe,useValue:be,multi:!0}])}function it(){return te(x.RequestsMadeViaParent,[{provide:X,useFactory:function(){return(0,s.inject)(F,{skipSelf:!0,optional:!0})}}])}var ut=function(){var n=function(){function r(){(0,l.Z)(this,r)}return(0,d.Z)(r,null,[{key:"disable",value:function(){return{ngModule:r,providers:[Ke().\u0275providers]}}},{key:"withOptions",value:function(){return{ngModule:r,providers:ye(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).\u0275providers}}}]),r}();return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=s.\u0275\u0275defineNgModule({type:n}),n.\u0275inj=s.\u0275\u0275defineInjector({providers:[Ue,{provide:ve,useExisting:Ue,multi:!0},{provide:de,useClass:ke},ye({cookieName:He,headerName:Se}).\u0275providers,{provide:le,useValue:!0}]}),n}(),lt=function(){var n=(0,d.Z)(function r(){(0,l.Z)(this,r)});return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=s.\u0275\u0275defineNgModule({type:n}),n.\u0275inj=s.\u0275\u0275defineInjector({providers:[je(Be())]}),n}(),dt=function(){var n=(0,d.Z)(function r(){(0,l.Z)(this,r)});return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=s.\u0275\u0275defineNgModule({type:n}),n.\u0275inj=s.\u0275\u0275defineInjector({providers:[Fe().\u0275providers]}),n}(),ce=new s.InjectionToken(""),ct=["GET","HEAD"];function ft(n,r){if(!(0,s.inject)(ce).isCacheActive||!ct.includes(n.method))return r(n);var a=(0,s.inject)(s.TransferState),i=function ht(n){var r=n.params,c=function vt(n){var e,r=0,t=(0,h.Z)(n);try{for(t.s();!(e=t.n()).done;){var a=e.value;r=Math.imul(31,r)+a.charCodeAt(0)<<0}}catch(i){t.e(i)}finally{t.f()}return(r+=2147483648).toString()}(n.method+"."+n.responseType+"."+n.url+"?"+r.keys().sort().map(function(P){return"".concat(P,"=").concat(r.getAll(P))}).join("&"));return(0,s.makeStateKey)(c)}(n),u=a.get(i,null);if(u){var c=u.body;switch(u.responseType){case"arraybuffer":c=(new TextEncoder).encode(u.body).buffer;break;case"blob":c=new Blob([u.body])}return(0,m.of)(new ee({body:c,headers:new B(u.headers),status:u.status,statusText:u.statusText,url:u.url}))}return r(n).pipe((0,J.b)(function(P){P instanceof ee&&a.set(i,{body:P.body,headers:pt(P.headers),status:P.status,statusText:P.statusText,url:P.url||"",responseType:n.responseType})}))}function pt(n){var e,r={},t=(0,h.Z)(n.keys());try{for(t.s();!(e=t.n()).done;){var a=e.value,i=n.getAll(a);null!==i&&(r[a]=i)}}catch(u){t.e(u)}finally{t.f()}return r}function _t(){return[{provide:ce,useFactory:function(){return(0,s.inject)(s.\u0275ENABLED_SSR_FEATURES).add("httpcache"),{isCacheActive:!0}}},{provide:Re,useValue:ft,multi:!0,deps:[s.TransferState,ce]},{provide:s.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:function(){var r=(0,s.inject)(s.ApplicationRef),t=(0,s.inject)(ce);return function(){r.isStable.pipe((0,z.P)(function(e){return e})).toPromise().then(function(){t.isCacheActive=!1})}}}]}},8091:(A,E,o)=>{function h(p){if(Array.isArray(p))return p}o.d(E,{Z:()=>h})},8217:(A,E,o)=>{function h(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}o.d(E,{Z:()=>h})},32090:(A,E,o)=>{o.d(E,{Z:()=>f});var h=o(8091),v=o(44206),_=o(8217);function f(d,l){return(0,h.Z)(d)||function p(d,l){var s=null==d?null:typeof Symbol<"u"&&d[Symbol.iterator]||d["@@iterator"];if(null!=s){var m,M,D,I,T=[],g=!0,C=!1;try{if(D=(s=s.call(d)).next,0===l){if(Object(s)!==s)return;g=!1}else for(;!(g=(m=D.call(s)).done)&&(T.push(m.value),T.length!==l);g=!0);}catch(j){C=!0,M=j}finally{try{if(!g&&null!=s.return&&(I=s.return(),Object(I)!==I))return}finally{if(C)throw M}}return T}}(d,l)||(0,v.Z)(d,l)||(0,_.Z)()}}}]); +//# sourceMappingURL=3765.f8d330ebbabb456e.js.map \ No newline at end of file diff --git a/3765.f8d330ebbabb456e.js.map b/3765.f8d330ebbabb456e.js.map new file mode 100644 index 0000000..69fcd15 --- /dev/null +++ b/3765.f8d330ebbabb456e.js.map @@ -0,0 +1 @@ +{"version":3,"file":"3765.f8d330ebbabb456e.js","mappings":"uGACaA,EAAQ,aAAIC,GAAW,SAACC,GAAU,OAAKA,EAAWC,UAAU,yECAlE,SAASC,EAAYC,GAAsB,IAAXC,EAAKC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAG,EAC3C,SAAOG,KAAQ,SAACC,EAAQT,GACpBA,EAAWU,IAAIP,EAAUQ,SAAS,kBAAMF,EAAOG,UAAUZ,EAAW,EAAEI,GAC1E,EACJ,gDCHO,SAASS,EAAsBC,EAAOX,GACzC,IAAKW,EACD,MAAM,IAAIC,MAAM,2BAEpB,OAAO,IAAIhB,IAAW,SAACC,IACnBgB,OAAgBhB,EAAYG,EAAW,WACnC,IAAMc,EAAWH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scriber","complete","subscribeOn","scheduler","delay","arguments","length","undefined","operate","source","add","schedule","subscribe","scheduleAsyncIterable","input","Error","executeSchedule","iterator","Symbol","asyncIterator","next","then","result","done","value","from","scheduled","isInteropObservable","scheduleObservable","innerFrom","pipe","observeOn","isArrayLike","scheduleArray","i","closed","this","isPromise","schedulePromise","isAsyncIterable","isIterable","scheduleIterable","Symbol_iterator","_iterator$next","err","error","isFunction","return","isReadableStreamLike","scheduleReadableStreamLike","readableStreamLikeToAsyncGenerator","createInvalidObservableTypeError","of","_len","args","Array","_key","popScheduler","createOperatorSubscriber","destination","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","_inherits","_super","_createSuper","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_this","_classCallCheck","call","_next","_get","_assertThisInitialized","_getPrototypeOf","prototype","_error","unsubscribe","_complete","_createClass","key","_a","Subscriber","concatMap","project","resultSelector","mergeMap","defaultIfEmpty","defaultValue","hasValue","filter","predicate","thisArg","index","finalize","callback","first","hasDefaultValue","v","identity","take","throwIfEmpty","EmptyError","map","concurrent","Infinity","a","b","ii","mergeInternals","onBeforeNext","expand","innerSubScheduler","additionalFinalizer","buffer","active","isComplete","checkComplete","outerNext","doInnerSub","push","innerComplete","innerValue","_loop","bufferedValue","shift","switchMap","innerSubscriber","innerIndex","outerIndex","count","seen","tap","observerOrNext","tapObserver","isUnsub","_b","errorFactory","defaultErrorFactory","createErrorClass","name","message","last","arr","popResultSelector","pop","isScheduler","popNumber","parentSubscription","work","repeat","scheduleSubscription","hasLift","lift","init","liftedSource","TypeError","HttpHandler","HttpBackend","HttpHeaders","headers","normalizedNames","Map","lazyUpdate","lazyInit","split","forEach","line","indexOf","slice","toLowerCase","trim","maybeSetNormalizedName","has","get","set","Object","entries","_ref","headerValues","_ref2","_slicedToArray","values","toString","clone","op","lcName","_this2","copyFrom","update","applyUpdate","other","_this3","keys","concat","base","apply","_toConsumableArray","toDelete","existing","delete","fn","_this4","HttpUrlEncodingCodec","standardEncoding","decodeURIComponent","STANDARD_ENCODING_REGEX","STANDARD_ENCODING_REPLACEMENTS","encodeURIComponent","replace","s","t","_STANDARD_ENCODING_RE","valueToString","HttpParams","_this5","options","updates","cloneFrom","encoder","fromString","fromObject","paramParser","rawParams","codec","param","eqIdx","_ref3","decodeKey","decodeValue","_ref4","val","list","isArray","res","params","_value","_this6","eKey","encodeKey","encodeValue","join","_this7","idx","splice","HttpContextToken","HttpContext","token","isArrayBuffer","ArrayBuffer","isBlob","Blob","isFormData","FormData","HttpRequest","method","url","third","fourth","body","reportProgress","withCredentials","responseType","toUpperCase","mightHaveBody","context","urlWithParams","qIdx","isUrlSearchParams","URLSearchParams","JSON","stringify","type","_update$context","setHeaders","reduce","setParams","HttpEventType","Sent","UploadProgress","ResponseHeader","DownloadProgress","Response","User","HttpResponseBase","defaultStatus","defaultStatusText","status","statusText","ok","HttpHeaderResponse","_HttpResponseBase","_this8","HttpResponse","_HttpResponseBase2","_super2","_this9","HttpErrorResponse","_HttpResponseBase3","_super3","_this10","addBody","observe","HttpClient","handler","req","_this11","events$","handle","res$","event","request","callbackParam","append","ɵfac","i0","ɵprov","factory","interceptorChainEndFn","finalHandlerFn","adaptLegacyInterceptorToChain","chainTailFn","interceptor","initialRequest","intercept","downstreamRequest","HTTP_INTERCEPTORS","InjectionToken","HTTP_INTERCEPTOR_FNS","HTTP_ROOT_INTERCEPTOR_FNS","legacyInterceptorFnFactory","chain","_inject","interceptors","inject","optional","reduceRight","pendingTasks","ɵInitialRenderPendingTasks","taskId","remove","foreignDocument","HttpInterceptorHandler","_HttpHandler","_super4","backend","injector","_this12","_this13","dedupedInterceptorFns","Set","nextSequencedFn","interceptorFn","chainedInterceptorFn","runInContext","nextRequestId","JsonpCallbackContext","jsonpCallbackContext","window","JsonpClientBackend","callbackMap","document","resolvedPromise","Promise","resolve","_this14","observer","nextCallback","node","createElement","src","finished","data","cleanup","parentNode","removeChild","addEventListener","appendChild","removeListeners","script","implementation","createHTMLDocument","adoptNode","DOCUMENT","jsonpInterceptorFn","JsonpInterceptor","XSSI_PREFIX","HttpXhrBackend","xhrFactory","ɵRuntimeError","ngDevMode","ɵloadImpl","xhr","build","open","setRequestHeader","detectedType","detectContentTypeHeader","reqBody","serializeBody","headerResponse","partialFromXhr","getAllResponseHeaders","getResponseUrl","responseURL","test","getResponseHeader","onLoad","_partialFromXhr","response","responseText","originalBody","parse","text","_partialFromXhr2","sentHeaders","onDownProgress","progressEvent","loaded","lengthComputable","total","partialText","onUpProgress","progress","upload","send","removeEventListener","readyState","DONE","abort","i1","XSRF_ENABLED","XSRF_DEFAULT_COOKIE_NAME","XSRF_COOKIE_NAME","providedIn","XSRF_DEFAULT_HEADER_NAME","XSRF_HEADER_NAME","HttpXsrfTokenExtractor","HttpXsrfCookieExtractor","doc","platform","cookieName","lastCookieString","lastToken","parseCount","cookieString","cookie","ɵparseCookieValue","PLATFORM_ID","xsrfInterceptorFn","lcUrl","startsWith","getToken","headerName","HttpXsrfInterceptor","HttpFeatureKind","Interceptors","LegacyInterceptors","CustomXsrfConfiguration","NoXsrfProtection","JsonpSupport","RequestsMadeViaParent","makeHttpFeature","kind","providers","ɵkind","ɵproviders","provideHttpClient","features","provide","useExisting","useValue","multi","useClass","_i2","_features","makeEnvironmentProviders","withInterceptors","interceptorFns","LEGACY_INTERCEPTOR_FN","withInterceptorsFromDi","useFactory","withXsrfConfiguration","_ref5","withNoXsrfProtection","withJsonpSupport","withRequestsMadeViaParent","handlerFromParent","skipSelf","HttpClientXsrfModule","ngModule","ɵmod","ɵinj","HttpClientModule","HttpClientJsonpModule","CACHE_STATE","ALLOWED_METHODS","transferCacheInterceptorFn","_inject2","isCacheActive","includes","transferState","TransferState","storeKey","makeCacheKey","hash","generateHash","_step2","_iterator2","_createForOfIteratorHelper","n","char","Math","imul","charCodeAt","e","f","sort","k","getAll","makeStateKey","TextEncoder","encode","getHeadersMap","_step","headersMap","_iterator","withHttpTransferCache","ɵENABLED_SSR_FEATURES","deps","APP_BOOTSTRAP_LISTENER","appRef","ApplicationRef","cacheState","isStable","toPromise","_arrayWithHoles","_nonIterableRest","arrayWithHoles","Z","_iterableToArrayLimit","_i","_s","_e","_x","_r","_arr","_n","_d","unsupportedIterableToArray","nonIterableRest"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/observable/empty.js","./node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleAsyncIterable.js","./node_modules/rxjs/dist/esm/internal/observable/from.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduled.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleObservable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleArray.js","./node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleIterable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleReadableStreamLike.js","./node_modules/rxjs/dist/esm/internal/observable/of.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/concatMap.js","./node_modules/rxjs/dist/esm/internal/operators/defaultIfEmpty.js","./node_modules/rxjs/dist/esm/internal/operators/filter.js","./node_modules/rxjs/dist/esm/internal/operators/finalize.js","./node_modules/rxjs/dist/esm/internal/operators/first.js","./node_modules/rxjs/dist/esm/internal/operators/map.js","./node_modules/rxjs/dist/esm/internal/operators/mergeMap.js","./node_modules/rxjs/dist/esm/internal/operators/mergeInternals.js","./node_modules/rxjs/dist/esm/internal/operators/observeOn.js","./node_modules/rxjs/dist/esm/internal/operators/switchMap.js","./node_modules/rxjs/dist/esm/internal/operators/take.js","./node_modules/rxjs/dist/esm/internal/operators/tap.js","./node_modules/rxjs/dist/esm/internal/operators/throwIfEmpty.js","./node_modules/rxjs/dist/esm/internal/util/EmptyError.js","./node_modules/rxjs/dist/esm/internal/util/args.js","./node_modules/rxjs/dist/esm/internal/util/executeSchedule.js","./node_modules/rxjs/dist/esm/internal/util/isScheduler.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/@angular/common/fesm2022/http.mjs","./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","./node_modules/@babel/runtime/helpers/esm/slicedToArray.js","./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js"],"sourcesContent":["import { Observable } from '../Observable';\nexport const EMPTY = new Observable((subscriber) => subscriber.complete());\nexport function empty(scheduler) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n return new Observable((subscriber) => scheduler.schedule(() => subscriber.complete()));\n}\n","import { operate } from '../util/lift';\nexport function subscribeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay));\n });\n}\n","import { Observable } from '../Observable';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleAsyncIterable(input, scheduler) {\n if (!input) {\n throw new Error('Iterable cannot be null');\n }\n return new Observable((subscriber) => {\n executeSchedule(subscriber, scheduler, () => {\n const iterator = input[Symbol.asyncIterator]();\n executeSchedule(subscriber, scheduler, () => {\n iterator.next().then((result) => {\n if (result.done) {\n subscriber.complete();\n }\n else {\n subscriber.next(result.value);\n }\n });\n }, 0, true);\n });\n });\n}\n","import { scheduled } from '../scheduled/scheduled';\nimport { innerFrom } from './innerFrom';\nexport function from(input, scheduler) {\n return scheduler ? scheduled(input, scheduler) : innerFrom(input);\n}\n","import { scheduleObservable } from './scheduleObservable';\nimport { schedulePromise } from './schedulePromise';\nimport { scheduleArray } from './scheduleArray';\nimport { scheduleIterable } from './scheduleIterable';\nimport { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isPromise } from '../util/isPromise';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isIterable } from '../util/isIterable';\nimport { isAsyncIterable } from '../util/isAsyncIterable';\nimport { createInvalidObservableTypeError } from '../util/throwUnobservableError';\nimport { isReadableStreamLike } from '../util/isReadableStreamLike';\nimport { scheduleReadableStreamLike } from './scheduleReadableStreamLike';\nexport function scheduled(input, scheduler) {\n if (input != null) {\n if (isInteropObservable(input)) {\n return scheduleObservable(input, scheduler);\n }\n if (isArrayLike(input)) {\n return scheduleArray(input, scheduler);\n }\n if (isPromise(input)) {\n return schedulePromise(input, scheduler);\n }\n if (isAsyncIterable(input)) {\n return scheduleAsyncIterable(input, scheduler);\n }\n if (isIterable(input)) {\n return scheduleIterable(input, scheduler);\n }\n if (isReadableStreamLike(input)) {\n return scheduleReadableStreamLike(input, scheduler);\n }\n }\n throw createInvalidObservableTypeError(input);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function scheduleObservable(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nexport function scheduleArray(input, scheduler) {\n return new Observable((subscriber) => {\n let i = 0;\n return scheduler.schedule(function () {\n if (i === input.length) {\n subscriber.complete();\n }\n else {\n subscriber.next(input[i++]);\n if (!subscriber.closed) {\n this.schedule();\n }\n }\n });\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function schedulePromise(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from '../util/isFunction';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleIterable(input, scheduler) {\n return new Observable((subscriber) => {\n let iterator;\n executeSchedule(subscriber, scheduler, () => {\n iterator = input[Symbol_iterator]();\n executeSchedule(subscriber, scheduler, () => {\n let value;\n let done;\n try {\n ({ value, done } = iterator.next());\n }\n catch (err) {\n subscriber.error(err);\n return;\n }\n if (done) {\n subscriber.complete();\n }\n else {\n subscriber.next(value);\n }\n }, 0, true);\n });\n return () => isFunction(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return();\n });\n}\n","import { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { readableStreamLikeToAsyncGenerator } from '../util/isReadableStreamLike';\nexport function scheduleReadableStreamLike(input, scheduler) {\n return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);\n}\n","import { popScheduler } from '../util/args';\nimport { from } from './from';\nexport function of(...args) {\n const scheduler = popScheduler(args);\n return from(args, scheduler);\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","import { mergeMap } from './mergeMap';\nimport { isFunction } from '../util/isFunction';\nexport function concatMap(project, resultSelector) {\n return isFunction(resultSelector) ? mergeMap(project, resultSelector, 1) : mergeMap(project, 1);\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function defaultIfEmpty(defaultValue) {\n return operate((source, subscriber) => {\n let hasValue = false;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n hasValue = true;\n subscriber.next(value);\n }, () => {\n if (!hasValue) {\n subscriber.next(defaultValue);\n }\n subscriber.complete();\n }));\n });\n}\n","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}\n","import { operate } from '../util/lift';\nexport function finalize(callback) {\n return operate((source, subscriber) => {\n try {\n source.subscribe(subscriber);\n }\n finally {\n subscriber.add(callback);\n }\n });\n}\n","import { EmptyError } from '../util/EmptyError';\nimport { filter } from './filter';\nimport { take } from './take';\nimport { defaultIfEmpty } from './defaultIfEmpty';\nimport { throwIfEmpty } from './throwIfEmpty';\nimport { identity } from '../util/identity';\nexport function first(predicate, defaultValue) {\n const hasDefaultValue = arguments.length >= 2;\n return (source) => source.pipe(predicate ? filter((v, i) => predicate(v, i, source)) : identity, take(1), hasDefaultValue ? defaultIfEmpty(defaultValue) : throwIfEmpty(() => new EmptyError()));\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function map(project, thisArg) {\n return operate((source, subscriber) => {\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n subscriber.next(project.call(thisArg, value, index++));\n }));\n });\n}\n","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 }\n else if (typeof resultSelector === 'number') {\n concurrent = resultSelector;\n }\n return operate((source, subscriber) => mergeInternals(source, subscriber, project, concurrent));\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { executeSchedule } from '../util/executeSchedule';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function mergeInternals(source, subscriber, project, concurrent, onBeforeNext, expand, innerSubScheduler, additionalFinalizer) {\n const buffer = [];\n let active = 0;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => {\n if (isComplete && !buffer.length && !active) {\n subscriber.complete();\n }\n };\n const outerNext = (value) => (active < concurrent ? doInnerSub(value) : buffer.push(value));\n const doInnerSub = (value) => {\n expand && subscriber.next(value);\n active++;\n let innerComplete = false;\n innerFrom(project(value, index++)).subscribe(createOperatorSubscriber(subscriber, (innerValue) => {\n onBeforeNext === null || onBeforeNext === void 0 ? void 0 : onBeforeNext(innerValue);\n if (expand) {\n outerNext(innerValue);\n }\n else {\n subscriber.next(innerValue);\n }\n }, () => {\n innerComplete = true;\n }, undefined, () => {\n if (innerComplete) {\n try {\n active--;\n while (buffer.length && active < concurrent) {\n const bufferedValue = buffer.shift();\n if (innerSubScheduler) {\n executeSchedule(subscriber, innerSubScheduler, () => doInnerSub(bufferedValue));\n }\n else {\n doInnerSub(bufferedValue);\n }\n }\n checkComplete();\n }\n catch (err) {\n subscriber.error(err);\n }\n }\n }));\n };\n source.subscribe(createOperatorSubscriber(subscriber, outerNext, () => {\n isComplete = true;\n checkComplete();\n }));\n return () => {\n additionalFinalizer === null || additionalFinalizer === void 0 ? void 0 : additionalFinalizer();\n };\n}\n","import { executeSchedule } from '../util/executeSchedule';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function observeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, (value) => executeSchedule(subscriber, scheduler, () => subscriber.next(value), delay), () => executeSchedule(subscriber, scheduler, () => subscriber.complete(), delay), (err) => executeSchedule(subscriber, scheduler, () => subscriber.error(err), delay)));\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function switchMap(project, resultSelector) {\n return operate((source, subscriber) => {\n let innerSubscriber = null;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => isComplete && !innerSubscriber && subscriber.complete();\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n innerSubscriber === null || innerSubscriber === void 0 ? void 0 : innerSubscriber.unsubscribe();\n let innerIndex = 0;\n const outerIndex = index++;\n innerFrom(project(value, outerIndex)).subscribe((innerSubscriber = createOperatorSubscriber(subscriber, (innerValue) => subscriber.next(resultSelector ? resultSelector(value, innerValue, outerIndex, innerIndex++) : innerValue), () => {\n innerSubscriber = null;\n checkComplete();\n })));\n }, () => {\n isComplete = true;\n checkComplete();\n }));\n });\n}\n","import { EMPTY } from '../observable/empty';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function take(count) {\n return count <= 0\n ?\n () => EMPTY\n : operate((source, subscriber) => {\n let seen = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n if (++seen <= count) {\n subscriber.next(value);\n if (count <= seen) {\n subscriber.complete();\n }\n }\n }));\n });\n}\n","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 ?\n { next: observerOrNext, error, complete }\n : observerOrNext;\n return tapObserver\n ? operate((source, subscriber) => {\n var _a;\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 (_a = tapObserver.next) === null || _a === void 0 ? void 0 : _a.call(tapObserver, value);\n subscriber.next(value);\n }, () => {\n var _a;\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 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 if (isUnsub) {\n (_a = tapObserver.unsubscribe) === null || _a === void 0 ? void 0 : _a.call(tapObserver);\n }\n (_b = tapObserver.finalize) === null || _b === void 0 ? void 0 : _b.call(tapObserver);\n }));\n })\n :\n identity;\n}\n","import { EmptyError } from '../util/EmptyError';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function throwIfEmpty(errorFactory = defaultErrorFactory) {\n return operate((source, subscriber) => {\n let hasValue = false;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n hasValue = true;\n subscriber.next(value);\n }, () => (hasValue ? subscriber.complete() : subscriber.error(errorFactory()))));\n });\n}\nfunction defaultErrorFactory() {\n return new EmptyError();\n}\n","import { createErrorClass } from './createErrorClass';\nexport const EmptyError = createErrorClass((_super) => function EmptyErrorImpl() {\n _super(this);\n this.name = 'EmptyError';\n this.message = 'no elements in sequence';\n});\n","import { isFunction } from './isFunction';\nimport { isScheduler } from './isScheduler';\nfunction last(arr) {\n return arr[arr.length - 1];\n}\nexport function popResultSelector(args) {\n return isFunction(last(args)) ? args.pop() : undefined;\n}\nexport function popScheduler(args) {\n return isScheduler(last(args)) ? args.pop() : undefined;\n}\nexport function popNumber(args, defaultValue) {\n return typeof last(args) === 'number' ? args.pop() : defaultValue;\n}\n","export function executeSchedule(parentSubscription, scheduler, work, delay = 0, repeat = false) {\n const scheduleSubscription = scheduler.schedule(function () {\n work();\n if (repeat) {\n parentSubscription.add(this.schedule(null, delay));\n }\n else {\n this.unsubscribe();\n }\n }, delay);\n parentSubscription.add(scheduleSubscription);\n if (!repeat) {\n return scheduleSubscription;\n }\n}\n","import { isFunction } from './isFunction';\nexport function isScheduler(value) {\n return value && isFunction(value.schedule);\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","/**\n * @license Angular v16.0.5\n * (c) 2010-2022 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport * as i0 from '@angular/core';\nimport { Injectable, InjectionToken, inject, ɵInitialRenderPendingTasks, Inject, ɵRuntimeError, PLATFORM_ID, makeEnvironmentProviders, NgModule, TransferState, makeStateKey, ɵENABLED_SSR_FEATURES, APP_BOOTSTRAP_LISTENER, ApplicationRef } from '@angular/core';\nimport { of, Observable, from } from 'rxjs';\nimport { concatMap, filter, map, finalize, switchMap, tap, first } from 'rxjs/operators';\nimport * as i1 from '@angular/common';\nimport { DOCUMENT, ɵparseCookieValue } from '@angular/common';\n\n/**\n * Transforms an `HttpRequest` into a stream of `HttpEvent`s, one of which will likely be a\n * `HttpResponse`.\n *\n * `HttpHandler` is injectable. When injected, the handler instance dispatches requests to the\n * first interceptor in the chain, which dispatches to the second, etc, eventually reaching the\n * `HttpBackend`.\n *\n * In an `HttpInterceptor`, the `HttpHandler` parameter is the next interceptor in the chain.\n *\n * @publicApi\n */\nclass HttpHandler {\n}\n/**\n * A final `HttpHandler` which will dispatch the request via browser HTTP APIs to a backend.\n *\n * Interceptors sit between the `HttpClient` interface and the `HttpBackend`.\n *\n * When injected, `HttpBackend` dispatches requests directly to the backend, without going\n * through the interceptor chain.\n *\n * @publicApi\n */\nclass HttpBackend {\n}\n\n/**\n * Represents the header configuration options for an HTTP request.\n * Instances are immutable. Modifying methods return a cloned\n * instance with the change. The original object is never changed.\n *\n * @publicApi\n */\nclass HttpHeaders {\n /** Constructs a new HTTP header object with the given values.*/\n constructor(headers) {\n /**\n * Internal map of lowercased header names to the normalized\n * form of the name (the form seen first).\n */\n this.normalizedNames = new Map();\n /**\n * Queued updates to be materialized the next initialization.\n */\n this.lazyUpdate = null;\n if (!headers) {\n this.headers = new Map();\n }\n else if (typeof headers === 'string') {\n this.lazyInit = () => {\n this.headers = new Map();\n headers.split('\\n').forEach(line => {\n const index = line.indexOf(':');\n if (index > 0) {\n const name = line.slice(0, index);\n const key = name.toLowerCase();\n const value = line.slice(index + 1).trim();\n this.maybeSetNormalizedName(name, key);\n if (this.headers.has(key)) {\n this.headers.get(key).push(value);\n }\n else {\n this.headers.set(key, [value]);\n }\n }\n });\n };\n }\n else {\n this.lazyInit = () => {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n assertValidHeaders(headers);\n }\n this.headers = new Map();\n Object.entries(headers).forEach(([name, values]) => {\n let headerValues;\n if (typeof values === 'string') {\n headerValues = [values];\n }\n else if (typeof values === 'number') {\n headerValues = [values.toString()];\n }\n else {\n headerValues = values.map((value) => value.toString());\n }\n if (headerValues.length > 0) {\n const key = name.toLowerCase();\n this.headers.set(key, headerValues);\n this.maybeSetNormalizedName(name, key);\n }\n });\n };\n }\n }\n /**\n * Checks for existence of a given header.\n *\n * @param name The header name to check for existence.\n *\n * @returns True if the header exists, false otherwise.\n */\n has(name) {\n this.init();\n return this.headers.has(name.toLowerCase());\n }\n /**\n * Retrieves the first value of a given header.\n *\n * @param name The header name.\n *\n * @returns The value string if the header exists, null otherwise\n */\n get(name) {\n this.init();\n const values = this.headers.get(name.toLowerCase());\n return values && values.length > 0 ? values[0] : null;\n }\n /**\n * Retrieves the names of the headers.\n *\n * @returns A list of header names.\n */\n keys() {\n this.init();\n return Array.from(this.normalizedNames.values());\n }\n /**\n * Retrieves a list of values for a given header.\n *\n * @param name The header name from which to retrieve values.\n *\n * @returns A string of values if the header exists, null otherwise.\n */\n getAll(name) {\n this.init();\n return this.headers.get(name.toLowerCase()) || null;\n }\n /**\n * Appends a new value to the existing set of values for a header\n * and returns them in a clone of the original instance.\n *\n * @param name The header name for which to append the values.\n * @param value The value to append.\n *\n * @returns A clone of the HTTP headers object with the value appended to the given header.\n */\n append(name, value) {\n return this.clone({ name, value, op: 'a' });\n }\n /**\n * Sets or modifies a value for a given header in a clone of the original instance.\n * If the header already exists, its value is replaced with the given value\n * in the returned object.\n *\n * @param name The header name.\n * @param value The value or values to set or override for the given header.\n *\n * @returns A clone of the HTTP headers object with the newly set header value.\n */\n set(name, value) {\n return this.clone({ name, value, op: 's' });\n }\n /**\n * Deletes values for a given header in a clone of the original instance.\n *\n * @param name The header name.\n * @param value The value or values to delete for the given header.\n *\n * @returns A clone of the HTTP headers object with the given value deleted.\n */\n delete(name, value) {\n return this.clone({ name, value, op: 'd' });\n }\n maybeSetNormalizedName(name, lcName) {\n if (!this.normalizedNames.has(lcName)) {\n this.normalizedNames.set(lcName, name);\n }\n }\n init() {\n if (!!this.lazyInit) {\n if (this.lazyInit instanceof HttpHeaders) {\n this.copyFrom(this.lazyInit);\n }\n else {\n this.lazyInit();\n }\n this.lazyInit = null;\n if (!!this.lazyUpdate) {\n this.lazyUpdate.forEach(update => this.applyUpdate(update));\n this.lazyUpdate = null;\n }\n }\n }\n copyFrom(other) {\n other.init();\n Array.from(other.headers.keys()).forEach(key => {\n this.headers.set(key, other.headers.get(key));\n this.normalizedNames.set(key, other.normalizedNames.get(key));\n });\n }\n clone(update) {\n const clone = new HttpHeaders();\n clone.lazyInit =\n (!!this.lazyInit && this.lazyInit instanceof HttpHeaders) ? this.lazyInit : this;\n clone.lazyUpdate = (this.lazyUpdate || []).concat([update]);\n return clone;\n }\n applyUpdate(update) {\n const key = update.name.toLowerCase();\n switch (update.op) {\n case 'a':\n case 's':\n let value = update.value;\n if (typeof value === 'string') {\n value = [value];\n }\n if (value.length === 0) {\n return;\n }\n this.maybeSetNormalizedName(update.name, key);\n const base = (update.op === 'a' ? this.headers.get(key) : undefined) || [];\n base.push(...value);\n this.headers.set(key, base);\n break;\n case 'd':\n const toDelete = update.value;\n if (!toDelete) {\n this.headers.delete(key);\n this.normalizedNames.delete(key);\n }\n else {\n let existing = this.headers.get(key);\n if (!existing) {\n return;\n }\n existing = existing.filter(value => toDelete.indexOf(value) === -1);\n if (existing.length === 0) {\n this.headers.delete(key);\n this.normalizedNames.delete(key);\n }\n else {\n this.headers.set(key, existing);\n }\n }\n break;\n }\n }\n /**\n * @internal\n */\n forEach(fn) {\n this.init();\n Array.from(this.normalizedNames.keys())\n .forEach(key => fn(this.normalizedNames.get(key), this.headers.get(key)));\n }\n}\n/**\n * Verifies that the headers object has the right shape: the values\n * must be either strings, numbers or arrays. Throws an error if an invalid\n * header value is present.\n */\nfunction assertValidHeaders(headers) {\n for (const [key, value] of Object.entries(headers)) {\n if (!(typeof value === 'string' || typeof value === 'number') && !Array.isArray(value)) {\n throw new Error(`Unexpected value of the \\`${key}\\` header provided. ` +\n `Expecting either a string, a number or an array, but got: \\`${value}\\`.`);\n }\n }\n}\n\n/**\n * Provides encoding and decoding of URL parameter and query-string values.\n *\n * Serializes and parses URL parameter keys and values to encode and decode them.\n * If you pass URL query parameters without encoding,\n * the query parameters can be misinterpreted at the receiving end.\n *\n *\n * @publicApi\n */\nclass HttpUrlEncodingCodec {\n /**\n * Encodes a key name for a URL parameter or query-string.\n * @param key The key name.\n * @returns The encoded key name.\n */\n encodeKey(key) {\n return standardEncoding(key);\n }\n /**\n * Encodes the value of a URL parameter or query-string.\n * @param value The value.\n * @returns The encoded value.\n */\n encodeValue(value) {\n return standardEncoding(value);\n }\n /**\n * Decodes an encoded URL parameter or query-string key.\n * @param key The encoded key name.\n * @returns The decoded key name.\n */\n decodeKey(key) {\n return decodeURIComponent(key);\n }\n /**\n * Decodes an encoded URL parameter or query-string value.\n * @param value The encoded value.\n * @returns The decoded value.\n */\n decodeValue(value) {\n return decodeURIComponent(value);\n }\n}\nfunction paramParser(rawParams, codec) {\n const map = new Map();\n if (rawParams.length > 0) {\n // The `window.location.search` can be used while creating an instance of the `HttpParams` class\n // (e.g. `new HttpParams({ fromString: window.location.search })`). The `window.location.search`\n // may start with the `?` char, so we strip it if it's present.\n const params = rawParams.replace(/^\\?/, '').split('&');\n params.forEach((param) => {\n const eqIdx = param.indexOf('=');\n const [key, val] = eqIdx == -1 ?\n [codec.decodeKey(param), ''] :\n [codec.decodeKey(param.slice(0, eqIdx)), codec.decodeValue(param.slice(eqIdx + 1))];\n const list = map.get(key) || [];\n list.push(val);\n map.set(key, list);\n });\n }\n return map;\n}\n/**\n * Encode input string with standard encodeURIComponent and then un-encode specific characters.\n */\nconst STANDARD_ENCODING_REGEX = /%(\\d[a-f0-9])/gi;\nconst STANDARD_ENCODING_REPLACEMENTS = {\n '40': '@',\n '3A': ':',\n '24': '$',\n '2C': ',',\n '3B': ';',\n '3D': '=',\n '3F': '?',\n '2F': '/',\n};\nfunction standardEncoding(v) {\n return encodeURIComponent(v).replace(STANDARD_ENCODING_REGEX, (s, t) => STANDARD_ENCODING_REPLACEMENTS[t] ?? s);\n}\nfunction valueToString(value) {\n return `${value}`;\n}\n/**\n * An HTTP request/response body that represents serialized parameters,\n * per the MIME type `application/x-www-form-urlencoded`.\n *\n * This class is immutable; all mutation operations return a new instance.\n *\n * @publicApi\n */\nclass HttpParams {\n constructor(options = {}) {\n this.updates = null;\n this.cloneFrom = null;\n this.encoder = options.encoder || new HttpUrlEncodingCodec();\n if (!!options.fromString) {\n if (!!options.fromObject) {\n throw new Error(`Cannot specify both fromString and fromObject.`);\n }\n this.map = paramParser(options.fromString, this.encoder);\n }\n else if (!!options.fromObject) {\n this.map = new Map();\n Object.keys(options.fromObject).forEach(key => {\n const value = options.fromObject[key];\n // convert the values to strings\n const values = Array.isArray(value) ? value.map(valueToString) : [valueToString(value)];\n this.map.set(key, values);\n });\n }\n else {\n this.map = null;\n }\n }\n /**\n * Reports whether the body includes one or more values for a given parameter.\n * @param param The parameter name.\n * @returns True if the parameter has one or more values,\n * false if it has no value or is not present.\n */\n has(param) {\n this.init();\n return this.map.has(param);\n }\n /**\n * Retrieves the first value for a parameter.\n * @param param The parameter name.\n * @returns The first value of the given parameter,\n * or `null` if the parameter is not present.\n */\n get(param) {\n this.init();\n const res = this.map.get(param);\n return !!res ? res[0] : null;\n }\n /**\n * Retrieves all values for a parameter.\n * @param param The parameter name.\n * @returns All values in a string array,\n * or `null` if the parameter not present.\n */\n getAll(param) {\n this.init();\n return this.map.get(param) || null;\n }\n /**\n * Retrieves all the parameters for this body.\n * @returns The parameter names in a string array.\n */\n keys() {\n this.init();\n return Array.from(this.map.keys());\n }\n /**\n * Appends a new value to existing values for a parameter.\n * @param param The parameter name.\n * @param value The new value to add.\n * @return A new body with the appended value.\n */\n append(param, value) {\n return this.clone({ param, value, op: 'a' });\n }\n /**\n * Constructs a new body with appended values for the given parameter name.\n * @param params parameters and values\n * @return A new body with the new value.\n */\n appendAll(params) {\n const updates = [];\n Object.keys(params).forEach(param => {\n const value = params[param];\n if (Array.isArray(value)) {\n value.forEach(_value => {\n updates.push({ param, value: _value, op: 'a' });\n });\n }\n else {\n updates.push({ param, value: value, op: 'a' });\n }\n });\n return this.clone(updates);\n }\n /**\n * Replaces the value for a parameter.\n * @param param The parameter name.\n * @param value The new value.\n * @return A new body with the new value.\n */\n set(param, value) {\n return this.clone({ param, value, op: 's' });\n }\n /**\n * Removes a given value or all values from a parameter.\n * @param param The parameter name.\n * @param value The value to remove, if provided.\n * @return A new body with the given value removed, or with all values\n * removed if no value is specified.\n */\n delete(param, value) {\n return this.clone({ param, value, op: 'd' });\n }\n /**\n * Serializes the body to an encoded string, where key-value pairs (separated by `=`) are\n * separated by `&`s.\n */\n toString() {\n this.init();\n return this.keys()\n .map(key => {\n const eKey = this.encoder.encodeKey(key);\n // `a: ['1']` produces `'a=1'`\n // `b: []` produces `''`\n // `c: ['1', '2']` produces `'c=1&c=2'`\n return this.map.get(key).map(value => eKey + '=' + this.encoder.encodeValue(value))\n .join('&');\n })\n // filter out empty values because `b: []` produces `''`\n // which results in `a=1&&c=1&c=2` instead of `a=1&c=1&c=2` if we don't\n .filter(param => param !== '')\n .join('&');\n }\n clone(update) {\n const clone = new HttpParams({ encoder: this.encoder });\n clone.cloneFrom = this.cloneFrom || this;\n clone.updates = (this.updates || []).concat(update);\n return clone;\n }\n init() {\n if (this.map === null) {\n this.map = new Map();\n }\n if (this.cloneFrom !== null) {\n this.cloneFrom.init();\n this.cloneFrom.keys().forEach(key => this.map.set(key, this.cloneFrom.map.get(key)));\n this.updates.forEach(update => {\n switch (update.op) {\n case 'a':\n case 's':\n const base = (update.op === 'a' ? this.map.get(update.param) : undefined) || [];\n base.push(valueToString(update.value));\n this.map.set(update.param, base);\n break;\n case 'd':\n if (update.value !== undefined) {\n let base = this.map.get(update.param) || [];\n const idx = base.indexOf(valueToString(update.value));\n if (idx !== -1) {\n base.splice(idx, 1);\n }\n if (base.length > 0) {\n this.map.set(update.param, base);\n }\n else {\n this.map.delete(update.param);\n }\n }\n else {\n this.map.delete(update.param);\n break;\n }\n }\n });\n this.cloneFrom = this.updates = null;\n }\n }\n}\n\n/**\n * A token used to manipulate and access values stored in `HttpContext`.\n *\n * @publicApi\n */\nclass HttpContextToken {\n constructor(defaultValue) {\n this.defaultValue = defaultValue;\n }\n}\n/**\n * Http context stores arbitrary user defined values and ensures type safety without\n * actually knowing the types. It is backed by a `Map` and guarantees that keys do not clash.\n *\n * This context is mutable and is shared between cloned requests unless explicitly specified.\n *\n * @usageNotes\n *\n * ### Usage Example\n *\n * ```typescript\n * // inside cache.interceptors.ts\n * export const IS_CACHE_ENABLED = new HttpContextToken<boolean>(() => false);\n *\n * export class CacheInterceptor implements HttpInterceptor {\n *\n * intercept(req: HttpRequest<any>, delegate: HttpHandler): Observable<HttpEvent<any>> {\n * if (req.context.get(IS_CACHE_ENABLED) === true) {\n * return ...;\n * }\n * return delegate.handle(req);\n * }\n * }\n *\n * // inside a service\n *\n * this.httpClient.get('/api/weather', {\n * context: new HttpContext().set(IS_CACHE_ENABLED, true)\n * }).subscribe(...);\n * ```\n *\n * @publicApi\n */\nclass HttpContext {\n constructor() {\n this.map = new Map();\n }\n /**\n * Store a value in the context. If a value is already present it will be overwritten.\n *\n * @param token The reference to an instance of `HttpContextToken`.\n * @param value The value to store.\n *\n * @returns A reference to itself for easy chaining.\n */\n set(token, value) {\n this.map.set(token, value);\n return this;\n }\n /**\n * Retrieve the value associated with the given token.\n *\n * @param token The reference to an instance of `HttpContextToken`.\n *\n * @returns The stored value or default if one is defined.\n */\n get(token) {\n if (!this.map.has(token)) {\n this.map.set(token, token.defaultValue());\n }\n return this.map.get(token);\n }\n /**\n * Delete the value associated with the given token.\n *\n * @param token The reference to an instance of `HttpContextToken`.\n *\n * @returns A reference to itself for easy chaining.\n */\n delete(token) {\n this.map.delete(token);\n return this;\n }\n /**\n * Checks for existence of a given token.\n *\n * @param token The reference to an instance of `HttpContextToken`.\n *\n * @returns True if the token exists, false otherwise.\n */\n has(token) {\n return this.map.has(token);\n }\n /**\n * @returns a list of tokens currently stored in the context.\n */\n keys() {\n return this.map.keys();\n }\n}\n\n/**\n * Determine whether the given HTTP method may include a body.\n */\nfunction mightHaveBody(method) {\n switch (method) {\n case 'DELETE':\n case 'GET':\n case 'HEAD':\n case 'OPTIONS':\n case 'JSONP':\n return false;\n default:\n return true;\n }\n}\n/**\n * Safely assert whether the given value is an ArrayBuffer.\n *\n * In some execution environments ArrayBuffer is not defined.\n */\nfunction isArrayBuffer(value) {\n return typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer;\n}\n/**\n * Safely assert whether the given value is a Blob.\n *\n * In some execution environments Blob is not defined.\n */\nfunction isBlob(value) {\n return typeof Blob !== 'undefined' && value instanceof Blob;\n}\n/**\n * Safely assert whether the given value is a FormData instance.\n *\n * In some execution environments FormData is not defined.\n */\nfunction isFormData(value) {\n return typeof FormData !== 'undefined' && value instanceof FormData;\n}\n/**\n * Safely assert whether the given value is a URLSearchParams instance.\n *\n * In some execution environments URLSearchParams is not defined.\n */\nfunction isUrlSearchParams(value) {\n return typeof URLSearchParams !== 'undefined' && value instanceof URLSearchParams;\n}\n/**\n * An outgoing HTTP request with an optional typed body.\n *\n * `HttpRequest` represents an outgoing request, including URL, method,\n * headers, body, and other request configuration options. Instances should be\n * assumed to be immutable. To modify a `HttpRequest`, the `clone`\n * method should be used.\n *\n * @publicApi\n */\nclass HttpRequest {\n constructor(method, url, third, fourth) {\n this.url = url;\n /**\n * The request body, or `null` if one isn't set.\n *\n * Bodies are not enforced to be immutable, as they can include a reference to any\n * user-defined data type. However, interceptors should take care to preserve\n * idempotence by treating them as such.\n */\n this.body = null;\n /**\n * Whether this request should be made in a way that exposes progress events.\n *\n * Progress events are expensive (change detection runs on each event) and so\n * they should only be requested if the consumer intends to monitor them.\n */\n this.reportProgress = false;\n /**\n * Whether this request should be sent with outgoing credentials (cookies).\n */\n this.withCredentials = false;\n /**\n * The expected response type of the server.\n *\n * This is used to parse the response appropriately before returning it to\n * the requestee.\n */\n this.responseType = 'json';\n this.method = method.toUpperCase();\n // Next, need to figure out which argument holds the HttpRequestInit\n // options, if any.\n let options;\n // Check whether a body argument is expected. The only valid way to omit\n // the body argument is to use a known no-body method like GET.\n if (mightHaveBody(this.method) || !!fourth) {\n // Body is the third argument, options are the fourth.\n this.body = (third !== undefined) ? third : null;\n options = fourth;\n }\n else {\n // No body required, options are the third argument. The body stays null.\n options = third;\n }\n // If options have been passed, interpret them.\n if (options) {\n // Normalize reportProgress and withCredentials.\n this.reportProgress = !!options.reportProgress;\n this.withCredentials = !!options.withCredentials;\n // Override default response type of 'json' if one is provided.\n if (!!options.responseType) {\n this.responseType = options.responseType;\n }\n // Override headers if they're provided.\n if (!!options.headers) {\n this.headers = options.headers;\n }\n if (!!options.context) {\n this.context = options.context;\n }\n if (!!options.params) {\n this.params = options.params;\n }\n }\n // If no headers have been passed in, construct a new HttpHeaders instance.\n if (!this.headers) {\n this.headers = new HttpHeaders();\n }\n // If no context have been passed in, construct a new HttpContext instance.\n if (!this.context) {\n this.context = new HttpContext();\n }\n // If no parameters have been passed in, construct a new HttpUrlEncodedParams instance.\n if (!this.params) {\n this.params = new HttpParams();\n this.urlWithParams = url;\n }\n else {\n // Encode the parameters to a string in preparation for inclusion in the URL.\n const params = this.params.toString();\n if (params.length === 0) {\n // No parameters, the visible URL is just the URL given at creation time.\n this.urlWithParams = url;\n }\n else {\n // Does the URL already have query parameters? Look for '?'.\n const qIdx = url.indexOf('?');\n // There are 3 cases to handle:\n // 1) No existing parameters -> append '?' followed by params.\n // 2) '?' exists and is followed by existing query string ->\n // append '&' followed by params.\n // 3) '?' exists at the end of the url -> append params directly.\n // This basically amounts to determining the character, if any, with\n // which to join the URL and parameters.\n const sep = qIdx === -1 ? '?' : (qIdx < url.length - 1 ? '&' : '');\n this.urlWithParams = url + sep + params;\n }\n }\n }\n /**\n * Transform the free-form body into a serialized format suitable for\n * transmission to the server.\n */\n serializeBody() {\n // If no body is present, no need to serialize it.\n if (this.body === null) {\n return null;\n }\n // Check whether the body is already in a serialized form. If so,\n // it can just be returned directly.\n if (isArrayBuffer(this.body) || isBlob(this.body) || isFormData(this.body) ||\n isUrlSearchParams(this.body) || typeof this.body === 'string') {\n return this.body;\n }\n // Check whether the body is an instance of HttpUrlEncodedParams.\n if (this.body instanceof HttpParams) {\n return this.body.toString();\n }\n // Check whether the body is an object or array, and serialize with JSON if so.\n if (typeof this.body === 'object' || typeof this.body === 'boolean' ||\n Array.isArray(this.body)) {\n return JSON.stringify(this.body);\n }\n // Fall back on toString() for everything else.\n return this.body.toString();\n }\n /**\n * Examine the body and attempt to infer an appropriate MIME type\n * for it.\n *\n * If no such type can be inferred, this method will return `null`.\n */\n detectContentTypeHeader() {\n // An empty body has no content type.\n if (this.body === null) {\n return null;\n }\n // FormData bodies rely on the browser's content type assignment.\n if (isFormData(this.body)) {\n return null;\n }\n // Blobs usually have their own content type. If it doesn't, then\n // no type can be inferred.\n if (isBlob(this.body)) {\n return this.body.type || null;\n }\n // Array buffers have unknown contents and thus no type can be inferred.\n if (isArrayBuffer(this.body)) {\n return null;\n }\n // Technically, strings could be a form of JSON data, but it's safe enough\n // to assume they're plain strings.\n if (typeof this.body === 'string') {\n return 'text/plain';\n }\n // `HttpUrlEncodedParams` has its own content-type.\n if (this.body instanceof HttpParams) {\n return 'application/x-www-form-urlencoded;charset=UTF-8';\n }\n // Arrays, objects, boolean and numbers will be encoded as JSON.\n if (typeof this.body === 'object' || typeof this.body === 'number' ||\n typeof this.body === 'boolean') {\n return 'application/json';\n }\n // No type could be inferred.\n return null;\n }\n clone(update = {}) {\n // For method, url, and responseType, take the current value unless\n // it is overridden in the update hash.\n const method = update.method || this.method;\n const url = update.url || this.url;\n const responseType = update.responseType || this.responseType;\n // The body is somewhat special - a `null` value in update.body means\n // whatever current body is present is being overridden with an empty\n // body, whereas an `undefined` value in update.body implies no\n // override.\n const body = (update.body !== undefined) ? update.body : this.body;\n // Carefully handle the boolean options to differentiate between\n // `false` and `undefined` in the update args.\n const withCredentials = (update.withCredentials !== undefined) ? update.withCredentials : this.withCredentials;\n const reportProgress = (update.reportProgress !== undefined) ? update.reportProgress : this.reportProgress;\n // Headers and params may be appended to if `setHeaders` or\n // `setParams` are used.\n let headers = update.headers || this.headers;\n let params = update.params || this.params;\n // Pass on context if needed\n const context = update.context ?? this.context;\n // Check whether the caller has asked to add headers.\n if (update.setHeaders !== undefined) {\n // Set every requested header.\n headers =\n Object.keys(update.setHeaders)\n .reduce((headers, name) => headers.set(name, update.setHeaders[name]), headers);\n }\n // Check whether the caller has asked to set params.\n if (update.setParams) {\n // Set every requested param.\n params = Object.keys(update.setParams)\n .reduce((params, param) => params.set(param, update.setParams[param]), params);\n }\n // Finally, construct the new HttpRequest using the pieces from above.\n return new HttpRequest(method, url, body, {\n params,\n headers,\n context,\n reportProgress,\n responseType,\n withCredentials,\n });\n }\n}\n\n/**\n * Type enumeration for the different kinds of `HttpEvent`.\n *\n * @publicApi\n */\nvar HttpEventType;\n(function (HttpEventType) {\n /**\n * The request was sent out over the wire.\n */\n HttpEventType[HttpEventType[\"Sent\"] = 0] = \"Sent\";\n /**\n * An upload progress event was received.\n */\n HttpEventType[HttpEventType[\"UploadProgress\"] = 1] = \"UploadProgress\";\n /**\n * The response status code and headers were received.\n */\n HttpEventType[HttpEventType[\"ResponseHeader\"] = 2] = \"ResponseHeader\";\n /**\n * A download progress event was received.\n */\n HttpEventType[HttpEventType[\"DownloadProgress\"] = 3] = \"DownloadProgress\";\n /**\n * The full response including the body was received.\n */\n HttpEventType[HttpEventType[\"Response\"] = 4] = \"Response\";\n /**\n * A custom event from an interceptor or a backend.\n */\n HttpEventType[HttpEventType[\"User\"] = 5] = \"User\";\n})(HttpEventType || (HttpEventType = {}));\n/**\n * Base class for both `HttpResponse` and `HttpHeaderResponse`.\n *\n * @publicApi\n */\nclass HttpResponseBase {\n /**\n * Super-constructor for all responses.\n *\n * The single parameter accepted is an initialization hash. Any properties\n * of the response passed there will override the default values.\n */\n constructor(init, defaultStatus = 200 /* HttpStatusCode.Ok */, defaultStatusText = 'OK') {\n // If the hash has values passed, use them to initialize the response.\n // Otherwise use the default values.\n this.headers = init.headers || new HttpHeaders();\n this.status = init.status !== undefined ? init.status : defaultStatus;\n this.statusText = init.statusText || defaultStatusText;\n this.url = init.url || null;\n // Cache the ok value to avoid defining a getter.\n this.ok = this.status >= 200 && this.status < 300;\n }\n}\n/**\n * A partial HTTP response which only includes the status and header data,\n * but no response body.\n *\n * `HttpHeaderResponse` is a `HttpEvent` available on the response\n * event stream, only when progress events are requested.\n *\n * @publicApi\n */\nclass HttpHeaderResponse extends HttpResponseBase {\n /**\n * Create a new `HttpHeaderResponse` with the given parameters.\n */\n constructor(init = {}) {\n super(init);\n this.type = HttpEventType.ResponseHeader;\n }\n /**\n * Copy this `HttpHeaderResponse`, overriding its contents with the\n * given parameter hash.\n */\n clone(update = {}) {\n // Perform a straightforward initialization of the new HttpHeaderResponse,\n // overriding the current parameters with new ones if given.\n return new HttpHeaderResponse({\n headers: update.headers || this.headers,\n status: update.status !== undefined ? update.status : this.status,\n statusText: update.statusText || this.statusText,\n url: update.url || this.url || undefined,\n });\n }\n}\n/**\n * A full HTTP response, including a typed response body (which may be `null`\n * if one was not returned).\n *\n * `HttpResponse` is a `HttpEvent` available on the response event\n * stream.\n *\n * @publicApi\n */\nclass HttpResponse extends HttpResponseBase {\n /**\n * Construct a new `HttpResponse`.\n */\n constructor(init = {}) {\n super(init);\n this.type = HttpEventType.Response;\n this.body = init.body !== undefined ? init.body : null;\n }\n clone(update = {}) {\n return new HttpResponse({\n body: (update.body !== undefined) ? update.body : this.body,\n headers: update.headers || this.headers,\n status: (update.status !== undefined) ? update.status : this.status,\n statusText: update.statusText || this.statusText,\n url: update.url || this.url || undefined,\n });\n }\n}\n/**\n * A response that represents an error or failure, either from a\n * non-successful HTTP status, an error while executing the request,\n * or some other failure which occurred during the parsing of the response.\n *\n * Any error returned on the `Observable` response stream will be\n * wrapped in an `HttpErrorResponse` to provide additional context about\n * the state of the HTTP layer when the error occurred. The error property\n * will contain either a wrapped Error object or the error response returned\n * from the server.\n *\n * @publicApi\n */\nclass HttpErrorResponse extends HttpResponseBase {\n constructor(init) {\n // Initialize with a default status of 0 / Unknown Error.\n super(init, 0, 'Unknown Error');\n this.name = 'HttpErrorResponse';\n /**\n * Errors are never okay, even when the status code is in the 2xx success range.\n */\n this.ok = false;\n // If the response was successful, then this was a parse error. Otherwise, it was\n // a protocol-level failure of some sort. Either the request failed in transit\n // or the server returned an unsuccessful status code.\n if (this.status >= 200 && this.status < 300) {\n this.message = `Http failure during parsing for ${init.url || '(unknown url)'}`;\n }\n else {\n this.message = `Http failure response for ${init.url || '(unknown url)'}: ${init.status} ${init.statusText}`;\n }\n this.error = init.error || null;\n }\n}\n\n/**\n * Constructs an instance of `HttpRequestOptions<T>` from a source `HttpMethodOptions` and\n * the given `body`. This function clones the object and adds the body.\n *\n * Note that the `responseType` *options* value is a String that identifies the\n * single data type of the response.\n * A single overload version of the method handles each response type.\n * The value of `responseType` cannot be a union, as the combined signature could imply.\n *\n */\nfunction addBody(options, body) {\n return {\n body,\n headers: options.headers,\n context: options.context,\n observe: options.observe,\n params: options.params,\n reportProgress: options.reportProgress,\n responseType: options.responseType,\n withCredentials: options.withCredentials,\n };\n}\n/**\n * Performs HTTP requests.\n * This service is available as an injectable class, with methods to perform HTTP requests.\n * Each request method has multiple signatures, and the return type varies based on\n * the signature that is called (mainly the values of `observe` and `responseType`).\n *\n * Note that the `responseType` *options* value is a String that identifies the\n * single data type of the response.\n * A single overload version of the method handles each response type.\n * The value of `responseType` cannot be a union, as the combined signature could imply.\n\n *\n * @usageNotes\n * Sample HTTP requests for the [Tour of Heroes](/tutorial/tour-of-heroes/toh-pt0) application.\n *\n * ### HTTP Request Example\n *\n * ```\n * // GET heroes whose name contains search term\n * searchHeroes(term: string): observable<Hero[]>{\n *\n * const params = new HttpParams({fromString: 'name=term'});\n * return this.httpClient.request('GET', this.heroesUrl, {responseType:'json', params});\n * }\n * ```\n *\n * Alternatively, the parameter string can be used without invoking HttpParams\n * by directly joining to the URL.\n * ```\n * this.httpClient.request('GET', this.heroesUrl + '?' + 'name=term', {responseType:'json'});\n * ```\n *\n *\n * ### JSONP Example\n * ```\n * requestJsonp(url, callback = 'callback') {\n * return this.httpClient.jsonp(this.heroesURL, callback);\n * }\n * ```\n *\n * ### PATCH Example\n * ```\n * // PATCH one of the heroes' name\n * patchHero (id: number, heroName: string): Observable<{}> {\n * const url = `${this.heroesUrl}/${id}`; // PATCH api/heroes/42\n * return this.httpClient.patch(url, {name: heroName}, httpOptions)\n * .pipe(catchError(this.handleError('patchHero')));\n * }\n * ```\n *\n * @see [HTTP Guide](guide/http)\n * @see [HTTP Request](api/common/http/HttpRequest)\n *\n * @publicApi\n */\nclass HttpClient {\n constructor(handler) {\n this.handler = handler;\n }\n /**\n * Constructs an observable for a generic HTTP request that, when subscribed,\n * fires the request through the chain of registered interceptors and on to the\n * server.\n *\n * You can pass an `HttpRequest` directly as the only parameter. In this case,\n * the call returns an observable of the raw `HttpEvent` stream.\n *\n * Alternatively you can pass an HTTP method as the first parameter,\n * a URL string as the second, and an options hash containing the request body as the third.\n * See `addBody()`. In this case, the specified `responseType` and `observe` options determine the\n * type of returned observable.\n * * The `responseType` value determines how a successful response body is parsed.\n * * If `responseType` is the default `json`, you can pass a type interface for the resulting\n * object as a type parameter to the call.\n *\n * The `observe` value determines the return type, according to what you are interested in\n * observing.\n * * An `observe` value of events returns an observable of the raw `HttpEvent` stream, including\n * progress events by default.\n * * An `observe` value of response returns an observable of `HttpResponse<T>`,\n * where the `T` parameter depends on the `responseType` and any optionally provided type\n * parameter.\n * * An `observe` value of body returns an observable of `<T>` with the same `T` body type.\n *\n */\n request(first, url, options = {}) {\n let req;\n // First, check whether the primary argument is an instance of `HttpRequest`.\n if (first instanceof HttpRequest) {\n // It is. The other arguments must be undefined (per the signatures) and can be\n // ignored.\n req = first;\n }\n else {\n // It's a string, so it represents a URL. Construct a request based on it,\n // and incorporate the remaining arguments (assuming `GET` unless a method is\n // provided.\n // Figure out the headers.\n let headers = undefined;\n if (options.headers instanceof HttpHeaders) {\n headers = options.headers;\n }\n else {\n headers = new HttpHeaders(options.headers);\n }\n // Sort out parameters.\n let params = undefined;\n if (!!options.params) {\n if (options.params instanceof HttpParams) {\n params = options.params;\n }\n else {\n params = new HttpParams({ fromObject: options.params });\n }\n }\n // Construct the request.\n req = new HttpRequest(first, url, (options.body !== undefined ? options.body : null), {\n headers,\n context: options.context,\n params,\n reportProgress: options.reportProgress,\n // By default, JSON is assumed to be returned for all calls.\n responseType: options.responseType || 'json',\n withCredentials: options.withCredentials,\n });\n }\n // Start with an Observable.of() the initial request, and run the handler (which\n // includes all interceptors) inside a concatMap(). This way, the handler runs\n // inside an Observable chain, which causes interceptors to be re-run on every\n // subscription (this also makes retries re-run the handler, including interceptors).\n const events$ = of(req).pipe(concatMap((req) => this.handler.handle(req)));\n // If coming via the API signature which accepts a previously constructed HttpRequest,\n // the only option is to get the event stream. Otherwise, return the event stream if\n // that is what was requested.\n if (first instanceof HttpRequest || options.observe === 'events') {\n return events$;\n }\n // The requested stream contains either the full response or the body. In either\n // case, the first step is to filter the event stream to extract a stream of\n // responses(s).\n const res$ = events$.pipe(filter((event) => event instanceof HttpResponse));\n // Decide which stream to return.\n switch (options.observe || 'body') {\n case 'body':\n // The requested stream is the body. Map the response stream to the response\n // body. This could be done more simply, but a misbehaving interceptor might\n // transform the response body into a different format and ignore the requested\n // responseType. Guard against this by validating that the response is of the\n // requested type.\n switch (req.responseType) {\n case 'arraybuffer':\n return res$.pipe(map((res) => {\n // Validate that the body is an ArrayBuffer.\n if (res.body !== null && !(res.body instanceof ArrayBuffer)) {\n throw new Error('Response is not an ArrayBuffer.');\n }\n return res.body;\n }));\n case 'blob':\n return res$.pipe(map((res) => {\n // Validate that the body is a Blob.\n if (res.body !== null && !(res.body instanceof Blob)) {\n throw new Error('Response is not a Blob.');\n }\n return res.body;\n }));\n case 'text':\n return res$.pipe(map((res) => {\n // Validate that the body is a string.\n if (res.body !== null && typeof res.body !== 'string') {\n throw new Error('Response is not a string.');\n }\n return res.body;\n }));\n case 'json':\n default:\n // No validation needed for JSON responses, as they can be of any type.\n return res$.pipe(map((res) => res.body));\n }\n case 'response':\n // The response stream was requested directly, so return it.\n return res$;\n default:\n // Guard against new future observe types being added.\n throw new Error(`Unreachable: unhandled observe type ${options.observe}}`);\n }\n }\n /**\n * Constructs an observable that, when subscribed, causes the configured\n * `DELETE` request to execute on the server. See the individual overloads for\n * details on the return type.\n *\n * @param url The endpoint URL.\n * @param options The HTTP options to send with the request.\n *\n */\n delete(url, options = {}) {\n return this.request('DELETE', url, options);\n }\n /**\n * Constructs an observable that, when subscribed, causes the configured\n * `GET` request to execute on the server. See the individual overloads for\n * details on the return type.\n */\n get(url, options = {}) {\n return this.request('GET', url, options);\n }\n /**\n * Constructs an observable that, when subscribed, causes the configured\n * `HEAD` request to execute on the server. The `HEAD` method returns\n * meta information about the resource without transferring the\n * resource itself. See the individual overloads for\n * details on the return type.\n */\n head(url, options = {}) {\n return this.request('HEAD', url, options);\n }\n /**\n * Constructs an `Observable` that, when subscribed, causes a request with the special method\n * `JSONP` to be dispatched via the interceptor pipeline.\n * The [JSONP pattern](https://en.wikipedia.org/wiki/JSONP) works around limitations of certain\n * API endpoints that don't support newer,\n * and preferable [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) protocol.\n * JSONP treats the endpoint API as a JavaScript file and tricks the browser to process the\n * requests even if the API endpoint is not located on the same domain (origin) as the client-side\n * application making the request.\n * The endpoint API must support JSONP callback for JSONP requests to work.\n * The resource API returns the JSON response wrapped in a callback function.\n * You can pass the callback function name as one of the query parameters.\n * Note that JSONP requests can only be used with `GET` requests.\n *\n * @param url The resource URL.\n * @param callbackParam The callback function name.\n *\n */\n jsonp(url, callbackParam) {\n return this.request('JSONP', url, {\n params: new HttpParams().append(callbackParam, 'JSONP_CALLBACK'),\n observe: 'body',\n responseType: 'json',\n });\n }\n /**\n * Constructs an `Observable` that, when subscribed, causes the configured\n * `OPTIONS` request to execute on the server. This method allows the client\n * to determine the supported HTTP methods and other capabilities of an endpoint,\n * without implying a resource action. See the individual overloads for\n * details on the return type.\n */\n options(url, options = {}) {\n return this.request('OPTIONS', url, options);\n }\n /**\n * Constructs an observable that, when subscribed, causes the configured\n * `PATCH` request to execute on the server. See the individual overloads for\n * details on the return type.\n */\n patch(url, body, options = {}) {\n return this.request('PATCH', url, addBody(options, body));\n }\n /**\n * Constructs an observable that, when subscribed, causes the configured\n * `POST` request to execute on the server. The server responds with the location of\n * the replaced resource. See the individual overloads for\n * details on the return type.\n */\n post(url, body, options = {}) {\n return this.request('POST', url, addBody(options, body));\n }\n /**\n * Constructs an observable that, when subscribed, causes the configured\n * `PUT` request to execute on the server. The `PUT` method replaces an existing resource\n * with a new set of values.\n * See the individual overloads for details on the return type.\n */\n put(url, body, options = {}) {\n return this.request('PUT', url, addBody(options, body));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: HttpClient, deps: [{ token: HttpHandler }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: HttpClient }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: HttpClient, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: HttpHandler }]; } });\n\nfunction interceptorChainEndFn(req, finalHandlerFn) {\n return finalHandlerFn(req);\n}\n/**\n * Constructs a `ChainedInterceptorFn` which adapts a legacy `HttpInterceptor` to the\n * `ChainedInterceptorFn` interface.\n */\nfunction adaptLegacyInterceptorToChain(chainTailFn, interceptor) {\n return (initialRequest, finalHandlerFn) => interceptor.intercept(initialRequest, {\n handle: (downstreamRequest) => chainTailFn(downstreamRequest, finalHandlerFn),\n });\n}\n/**\n * Constructs a `ChainedInterceptorFn` which wraps and invokes a functional interceptor in the given\n * injector.\n */\nfunction chainedInterceptorFn(chainTailFn, interceptorFn, injector) {\n // clang-format off\n return (initialRequest, finalHandlerFn) => injector.runInContext(() => interceptorFn(initialRequest, downstreamRequest => chainTailFn(downstreamRequest, finalHandlerFn)));\n // clang-format on\n}\n/**\n * A multi-provider token that represents the array of registered\n * `HttpInterceptor` objects.\n *\n * @publicApi\n */\nconst HTTP_INTERCEPTORS = new InjectionToken(ngDevMode ? 'HTTP_INTERCEPTORS' : '');\n/**\n * A multi-provided token of `HttpInterceptorFn`s.\n */\nconst HTTP_INTERCEPTOR_FNS = new InjectionToken(ngDevMode ? 'HTTP_INTERCEPTOR_FNS' : '');\n/**\n * A multi-provided token of `HttpInterceptorFn`s that are only set in root.\n */\nconst HTTP_ROOT_INTERCEPTOR_FNS = new InjectionToken(ngDevMode ? 'HTTP_ROOT_INTERCEPTOR_FNS' : '');\n/**\n * Creates an `HttpInterceptorFn` which lazily initializes an interceptor chain from the legacy\n * class-based interceptors and runs the request through it.\n */\nfunction legacyInterceptorFnFactory() {\n let chain = null;\n return (req, handler) => {\n if (chain === null) {\n const interceptors = inject(HTTP_INTERCEPTORS, { optional: true }) ?? [];\n // Note: interceptors are wrapped right-to-left so that final execution order is\n // left-to-right. That is, if `interceptors` is the array `[a, b, c]`, we want to\n // produce a chain that is conceptually `c(b(a(end)))`, which we build from the inside\n // out.\n chain = interceptors.reduceRight(adaptLegacyInterceptorToChain, interceptorChainEndFn);\n }\n const pendingTasks = inject(ɵInitialRenderPendingTasks);\n const taskId = pendingTasks.add();\n return chain(req, handler).pipe(finalize(() => pendingTasks.remove(taskId)));\n };\n}\nclass HttpInterceptorHandler extends HttpHandler {\n constructor(backend, injector) {\n super();\n this.backend = backend;\n this.injector = injector;\n this.chain = null;\n this.pendingTasks = inject(ɵInitialRenderPendingTasks);\n }\n handle(initialRequest) {\n if (this.chain === null) {\n const dedupedInterceptorFns = Array.from(new Set([\n ...this.injector.get(HTTP_INTERCEPTOR_FNS),\n ...this.injector.get(HTTP_ROOT_INTERCEPTOR_FNS, []),\n ]));\n // Note: interceptors are wrapped right-to-left so that final execution order is\n // left-to-right. That is, if `dedupedInterceptorFns` is the array `[a, b, c]`, we want to\n // produce a chain that is conceptually `c(b(a(end)))`, which we build from the inside\n // out.\n this.chain = dedupedInterceptorFns.reduceRight((nextSequencedFn, interceptorFn) => chainedInterceptorFn(nextSequencedFn, interceptorFn, this.injector), interceptorChainEndFn);\n }\n const taskId = this.pendingTasks.add();\n return this.chain(initialRequest, downstreamRequest => this.backend.handle(downstreamRequest))\n .pipe(finalize(() => this.pendingTasks.remove(taskId)));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: HttpInterceptorHandler, deps: [{ token: HttpBackend }, { token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: HttpInterceptorHandler }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: HttpInterceptorHandler, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: HttpBackend }, { type: i0.EnvironmentInjector }]; } });\n\n// Every request made through JSONP needs a callback name that's unique across the\n// whole page. Each request is assigned an id and the callback name is constructed\n// from that. The next id to be assigned is tracked in a global variable here that\n// is shared among all applications on the page.\nlet nextRequestId = 0;\n/**\n * When a pending <script> is unsubscribed we'll move it to this document, so it won't be\n * executed.\n */\nlet foreignDocument;\n// Error text given when a JSONP script is injected, but doesn't invoke the callback\n// passed in its URL.\nconst JSONP_ERR_NO_CALLBACK = 'JSONP injected script did not invoke callback.';\n// Error text given when a request is passed to the JsonpClientBackend that doesn't\n// have a request method JSONP.\nconst JSONP_ERR_WRONG_METHOD = 'JSONP requests must use JSONP request method.';\nconst JSONP_ERR_WRONG_RESPONSE_TYPE = 'JSONP requests must use Json response type.';\n// Error text given when a request is passed to the JsonpClientBackend that has\n// headers set\nconst JSONP_ERR_HEADERS_NOT_SUPPORTED = 'JSONP requests do not support headers.';\n/**\n * DI token/abstract type representing a map of JSONP callbacks.\n *\n * In the browser, this should always be the `window` object.\n *\n *\n */\nclass JsonpCallbackContext {\n}\n/**\n * Factory function that determines where to store JSONP callbacks.\n *\n * Ordinarily JSONP callbacks are stored on the `window` object, but this may not exist\n * in test environments. In that case, callbacks are stored on an anonymous object instead.\n *\n *\n */\nfunction jsonpCallbackContext() {\n if (typeof window === 'object') {\n return window;\n }\n return {};\n}\n/**\n * Processes an `HttpRequest` with the JSONP method,\n * by performing JSONP style requests.\n * @see {@link HttpHandler}\n * @see {@link HttpXhrBackend}\n *\n * @publicApi\n */\nclass JsonpClientBackend {\n constructor(callbackMap, document) {\n this.callbackMap = callbackMap;\n this.document = document;\n /**\n * A resolved promise that can be used to schedule microtasks in the event handlers.\n */\n this.resolvedPromise = Promise.resolve();\n }\n /**\n * Get the name of the next callback method, by incrementing the global `nextRequestId`.\n */\n nextCallback() {\n return `ng_jsonp_callback_${nextRequestId++}`;\n }\n /**\n * Processes a JSONP request and returns an event stream of the results.\n * @param req The request object.\n * @returns An observable of the response events.\n *\n */\n handle(req) {\n // Firstly, check both the method and response type. If either doesn't match\n // then the request was improperly routed here and cannot be handled.\n if (req.method !== 'JSONP') {\n throw new Error(JSONP_ERR_WRONG_METHOD);\n }\n else if (req.responseType !== 'json') {\n throw new Error(JSONP_ERR_WRONG_RESPONSE_TYPE);\n }\n // Check the request headers. JSONP doesn't support headers and\n // cannot set any that were supplied.\n if (req.headers.keys().length > 0) {\n throw new Error(JSONP_ERR_HEADERS_NOT_SUPPORTED);\n }\n // Everything else happens inside the Observable boundary.\n return new Observable((observer) => {\n // The first step to make a request is to generate the callback name, and replace the\n // callback placeholder in the URL with the name. Care has to be taken here to ensure\n // a trailing &, if matched, gets inserted back into the URL in the correct place.\n const callback = this.nextCallback();\n const url = req.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/, `=${callback}$1`);\n // Construct the <script> tag and point it at the URL.\n const node = this.document.createElement('script');\n node.src = url;\n // A JSONP request requires waiting for multiple callbacks. These variables\n // are closed over and track state across those callbacks.\n // The response object, if one has been received, or null otherwise.\n let body = null;\n // Whether the response callback has been called.\n let finished = false;\n // Set the response callback in this.callbackMap (which will be the window\n // object in the browser. The script being loaded via the <script> tag will\n // eventually call this callback.\n this.callbackMap[callback] = (data) => {\n // Data has been received from the JSONP script. Firstly, delete this callback.\n delete this.callbackMap[callback];\n // Set state to indicate data was received.\n body = data;\n finished = true;\n };\n // cleanup() is a utility closure that removes the <script> from the page and\n // the response callback from the window. This logic is used in both the\n // success, error, and cancellation paths, so it's extracted out for convenience.\n const cleanup = () => {\n // Remove the <script> tag if it's still on the page.\n if (node.parentNode) {\n node.parentNode.removeChild(node);\n }\n // Remove the response callback from the callbackMap (window object in the\n // browser).\n delete this.callbackMap[callback];\n };\n // onLoad() is the success callback which runs after the response callback\n // if the JSONP script loads successfully. The event itself is unimportant.\n // If something went wrong, onLoad() may run without the response callback\n // having been invoked.\n const onLoad = (event) => {\n // We wrap it in an extra Promise, to ensure the microtask\n // is scheduled after the loaded endpoint has executed any potential microtask itself,\n // which is not guaranteed in Internet Explorer and EdgeHTML. See issue #39496\n this.resolvedPromise.then(() => {\n // Cleanup the page.\n cleanup();\n // Check whether the response callback has run.\n if (!finished) {\n // It hasn't, something went wrong with the request. Return an error via\n // the Observable error path. All JSONP errors have status 0.\n observer.error(new HttpErrorResponse({\n url,\n status: 0,\n statusText: 'JSONP Error',\n error: new Error(JSONP_ERR_NO_CALLBACK),\n }));\n return;\n }\n // Success. body either contains the response body or null if none was\n // returned.\n observer.next(new HttpResponse({\n body,\n status: 200 /* HttpStatusCode.Ok */,\n statusText: 'OK',\n url,\n }));\n // Complete the stream, the response is over.\n observer.complete();\n });\n };\n // onError() is the error callback, which runs if the script returned generates\n // a Javascript error. It emits the error via the Observable error channel as\n // a HttpErrorResponse.\n const onError = (error) => {\n cleanup();\n // Wrap the error in a HttpErrorResponse.\n observer.error(new HttpErrorResponse({\n error,\n status: 0,\n statusText: 'JSONP Error',\n url,\n }));\n };\n // Subscribe to both the success (load) and error events on the <script> tag,\n // and add it to the page.\n node.addEventListener('load', onLoad);\n node.addEventListener('error', onError);\n this.document.body.appendChild(node);\n // The request has now been successfully sent.\n observer.next({ type: HttpEventType.Sent });\n // Cancellation handler.\n return () => {\n if (!finished) {\n this.removeListeners(node);\n }\n // And finally, clean up the page.\n cleanup();\n };\n });\n }\n removeListeners(script) {\n // Issue #34818\n // Changing <script>'s ownerDocument will prevent it from execution.\n // https://html.spec.whatwg.org/multipage/scripting.html#execute-the-script-block\n if (!foreignDocument) {\n foreignDocument = this.document.implementation.createHTMLDocument();\n }\n foreignDocument.adoptNode(script);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: JsonpClientBackend, deps: [{ token: JsonpCallbackContext }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: JsonpClientBackend }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: JsonpClientBackend, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: JsonpCallbackContext }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }]; } });\n/**\n * Identifies requests with the method JSONP and shifts them to the `JsonpClientBackend`.\n */\nfunction jsonpInterceptorFn(req, next) {\n if (req.method === 'JSONP') {\n return inject(JsonpClientBackend).handle(req);\n }\n // Fall through for normal HTTP requests.\n return next(req);\n}\n/**\n * Identifies requests with the method JSONP and\n * shifts them to the `JsonpClientBackend`.\n *\n * @see {@link HttpInterceptor}\n *\n * @publicApi\n */\nclass JsonpInterceptor {\n constructor(injector) {\n this.injector = injector;\n }\n /**\n * Identifies and handles a given JSONP request.\n * @param initialRequest The outgoing request object to handle.\n * @param next The next interceptor in the chain, or the backend\n * if no interceptors remain in the chain.\n * @returns An observable of the event stream.\n */\n intercept(initialRequest, next) {\n return this.injector.runInContext(() => jsonpInterceptorFn(initialRequest, downstreamRequest => next.handle(downstreamRequest)));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: JsonpInterceptor, deps: [{ token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: JsonpInterceptor }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: JsonpInterceptor, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: i0.EnvironmentInjector }]; } });\n\nconst XSSI_PREFIX = /^\\)\\]\\}',?\\n/;\n/**\n * Determine an appropriate URL for the response, by checking either\n * XMLHttpRequest.responseURL or the X-Request-URL header.\n */\nfunction getResponseUrl(xhr) {\n if ('responseURL' in xhr && xhr.responseURL) {\n return xhr.responseURL;\n }\n if (/^X-Request-URL:/m.test(xhr.getAllResponseHeaders())) {\n return xhr.getResponseHeader('X-Request-URL');\n }\n return null;\n}\n/**\n * Uses `XMLHttpRequest` to send requests to a backend server.\n * @see {@link HttpHandler}\n * @see {@link JsonpClientBackend}\n *\n * @publicApi\n */\nclass HttpXhrBackend {\n constructor(xhrFactory) {\n this.xhrFactory = xhrFactory;\n }\n /**\n * Processes a request and returns a stream of response events.\n * @param req The request object.\n * @returns An observable of the response events.\n */\n handle(req) {\n // Quick check to give a better error message when a user attempts to use\n // HttpClient.jsonp() without installing the HttpClientJsonpModule\n if (req.method === 'JSONP') {\n throw new ɵRuntimeError(-2800 /* RuntimeErrorCode.MISSING_JSONP_MODULE */, (typeof ngDevMode === 'undefined' || ngDevMode) &&\n `Cannot make a JSONP request without JSONP support. To fix the problem, either add the \\`withJsonpSupport()\\` call (if \\`provideHttpClient()\\` is used) or import the \\`HttpClientJsonpModule\\` in the root NgModule.`);\n }\n // Check whether this factory has a special function to load an XHR implementation\n // for various non-browser environments. We currently limit it to only `ServerXhr`\n // class, which needs to load an XHR implementation.\n const xhrFactory = this.xhrFactory;\n const source = xhrFactory.ɵloadImpl ? from(xhrFactory.ɵloadImpl()) : of(null);\n return source.pipe(switchMap(() => {\n // Everything happens on Observable subscription.\n return new Observable((observer) => {\n // Start by setting up the XHR object with request method, URL, and withCredentials\n // flag.\n const xhr = xhrFactory.build();\n xhr.open(req.method, req.urlWithParams);\n if (req.withCredentials) {\n xhr.withCredentials = true;\n }\n // Add all the requested headers.\n req.headers.forEach((name, values) => xhr.setRequestHeader(name, values.join(',')));\n // Add an Accept header if one isn't present already.\n if (!req.headers.has('Accept')) {\n xhr.setRequestHeader('Accept', 'application/json, text/plain, */*');\n }\n // Auto-detect the Content-Type header if one isn't present already.\n if (!req.headers.has('Content-Type')) {\n const detectedType = req.detectContentTypeHeader();\n // Sometimes Content-Type detection fails.\n if (detectedType !== null) {\n xhr.setRequestHeader('Content-Type', detectedType);\n }\n }\n // Set the responseType if one was requested.\n if (req.responseType) {\n const responseType = req.responseType.toLowerCase();\n // JSON responses need to be processed as text. This is because if the server\n // returns an XSSI-prefixed JSON response, the browser will fail to parse it,\n // xhr.response will be null, and xhr.responseText cannot be accessed to\n // retrieve the prefixed JSON data in order to strip the prefix. Thus, all JSON\n // is parsed by first requesting text and then applying JSON.parse.\n xhr.responseType = ((responseType !== 'json') ? responseType : 'text');\n }\n // Serialize the request body if one is present. If not, this will be set to null.\n const reqBody = req.serializeBody();\n // If progress events are enabled, response headers will be delivered\n // in two events - the HttpHeaderResponse event and the full HttpResponse\n // event. However, since response headers don't change in between these\n // two events, it doesn't make sense to parse them twice. So headerResponse\n // caches the data extracted from the response whenever it's first parsed,\n // to ensure parsing isn't duplicated.\n let headerResponse = null;\n // partialFromXhr extracts the HttpHeaderResponse from the current XMLHttpRequest\n // state, and memoizes it into headerResponse.\n const partialFromXhr = () => {\n if (headerResponse !== null) {\n return headerResponse;\n }\n const statusText = xhr.statusText || 'OK';\n // Parse headers from XMLHttpRequest - this step is lazy.\n const headers = new HttpHeaders(xhr.getAllResponseHeaders());\n // Read the response URL from the XMLHttpResponse instance and fall back on the\n // request URL.\n const url = getResponseUrl(xhr) || req.url;\n // Construct the HttpHeaderResponse and memoize it.\n headerResponse =\n new HttpHeaderResponse({ headers, status: xhr.status, statusText, url });\n return headerResponse;\n };\n // Next, a few closures are defined for the various events which XMLHttpRequest can\n // emit. This allows them to be unregistered as event listeners later.\n // First up is the load event, which represents a response being fully available.\n const onLoad = () => {\n // Read response state from the memoized partial data.\n let { headers, status, statusText, url } = partialFromXhr();\n // The body will be read out if present.\n let body = null;\n if (status !== 204 /* HttpStatusCode.NoContent */) {\n // Use XMLHttpRequest.response if set, responseText otherwise.\n body = (typeof xhr.response === 'undefined') ? xhr.responseText : xhr.response;\n }\n // Normalize another potential bug (this one comes from CORS).\n if (status === 0) {\n status = !!body ? 200 /* HttpStatusCode.Ok */ : 0;\n }\n // ok determines whether the response will be transmitted on the event or\n // error channel. Unsuccessful status codes (not 2xx) will always be errors,\n // but a successful status code can still result in an error if the user\n // asked for JSON data and the body cannot be parsed as such.\n let ok = status >= 200 && status < 300;\n // Check whether the body needs to be parsed as JSON (in many cases the browser\n // will have done that already).\n if (req.responseType === 'json' && typeof body === 'string') {\n // Save the original body, before attempting XSSI prefix stripping.\n const originalBody = body;\n body = body.replace(XSSI_PREFIX, '');\n try {\n // Attempt the parse. If it fails, a parse error should be delivered to the\n // user.\n body = body !== '' ? JSON.parse(body) : null;\n }\n catch (error) {\n // Since the JSON.parse failed, it's reasonable to assume this might not have\n // been a JSON response. Restore the original body (including any XSSI prefix)\n // to deliver a better error response.\n body = originalBody;\n // If this was an error request to begin with, leave it as a string, it\n // probably just isn't JSON. Otherwise, deliver the parsing error to the user.\n if (ok) {\n // Even though the response status was 2xx, this is still an error.\n ok = false;\n // The parse error contains the text of the body that failed to parse.\n body = { error, text: body };\n }\n }\n }\n if (ok) {\n // A successful response is delivered on the event stream.\n observer.next(new HttpResponse({\n body,\n headers,\n status,\n statusText,\n url: url || undefined,\n }));\n // The full body has been received and delivered, no further events\n // are possible. This request is complete.\n observer.complete();\n }\n else {\n // An unsuccessful request is delivered on the error channel.\n observer.error(new HttpErrorResponse({\n // The error in this case is the response body (error from the server).\n error: body,\n headers,\n status,\n statusText,\n url: url || undefined,\n }));\n }\n };\n // The onError callback is called when something goes wrong at the network level.\n // Connection timeout, DNS error, offline, etc. These are actual errors, and are\n // transmitted on the error channel.\n const onError = (error) => {\n const { url } = partialFromXhr();\n const res = new HttpErrorResponse({\n error,\n status: xhr.status || 0,\n statusText: xhr.statusText || 'Unknown Error',\n url: url || undefined,\n });\n observer.error(res);\n };\n // The sentHeaders flag tracks whether the HttpResponseHeaders event\n // has been sent on the stream. This is necessary to track if progress\n // is enabled since the event will be sent on only the first download\n // progress event.\n let sentHeaders = false;\n // The download progress event handler, which is only registered if\n // progress events are enabled.\n const onDownProgress = (event) => {\n // Send the HttpResponseHeaders event if it hasn't been sent already.\n if (!sentHeaders) {\n observer.next(partialFromXhr());\n sentHeaders = true;\n }\n // Start building the download progress event to deliver on the response\n // event stream.\n let progressEvent = {\n type: HttpEventType.DownloadProgress,\n loaded: event.loaded,\n };\n // Set the total number of bytes in the event if it's available.\n if (event.lengthComputable) {\n progressEvent.total = event.total;\n }\n // If the request was for text content and a partial response is\n // available on XMLHttpRequest, include it in the progress event\n // to allow for streaming reads.\n if (req.responseType === 'text' && !!xhr.responseText) {\n progressEvent.partialText = xhr.responseText;\n }\n // Finally, fire the event.\n observer.next(progressEvent);\n };\n // The upload progress event handler, which is only registered if\n // progress events are enabled.\n const onUpProgress = (event) => {\n // Upload progress events are simpler. Begin building the progress\n // event.\n let progress = {\n type: HttpEventType.UploadProgress,\n loaded: event.loaded,\n };\n // If the total number of bytes being uploaded is available, include\n // it.\n if (event.lengthComputable) {\n progress.total = event.total;\n }\n // Send the event.\n observer.next(progress);\n };\n // By default, register for load and error events.\n xhr.addEventListener('load', onLoad);\n xhr.addEventListener('error', onError);\n xhr.addEventListener('timeout', onError);\n xhr.addEventListener('abort', onError);\n // Progress events are only enabled if requested.\n if (req.reportProgress) {\n // Download progress is always enabled if requested.\n xhr.addEventListener('progress', onDownProgress);\n // Upload progress depends on whether there is a body to upload.\n if (reqBody !== null && xhr.upload) {\n xhr.upload.addEventListener('progress', onUpProgress);\n }\n }\n // Fire the request, and notify the event stream that it was fired.\n xhr.send(reqBody);\n observer.next({ type: HttpEventType.Sent });\n // This is the return from the Observable function, which is the\n // request cancellation handler.\n return () => {\n // On a cancellation, remove all registered event listeners.\n xhr.removeEventListener('error', onError);\n xhr.removeEventListener('abort', onError);\n xhr.removeEventListener('load', onLoad);\n xhr.removeEventListener('timeout', onError);\n if (req.reportProgress) {\n xhr.removeEventListener('progress', onDownProgress);\n if (reqBody !== null && xhr.upload) {\n xhr.upload.removeEventListener('progress', onUpProgress);\n }\n }\n // Finally, abort the in-flight request.\n if (xhr.readyState !== xhr.DONE) {\n xhr.abort();\n }\n };\n });\n }));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: HttpXhrBackend, deps: [{ token: i1.XhrFactory }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: HttpXhrBackend }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: HttpXhrBackend, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: i1.XhrFactory }]; } });\n\nconst XSRF_ENABLED = new InjectionToken('XSRF_ENABLED');\nconst XSRF_DEFAULT_COOKIE_NAME = 'XSRF-TOKEN';\nconst XSRF_COOKIE_NAME = new InjectionToken('XSRF_COOKIE_NAME', {\n providedIn: 'root',\n factory: () => XSRF_DEFAULT_COOKIE_NAME,\n});\nconst XSRF_DEFAULT_HEADER_NAME = 'X-XSRF-TOKEN';\nconst XSRF_HEADER_NAME = new InjectionToken('XSRF_HEADER_NAME', {\n providedIn: 'root',\n factory: () => XSRF_DEFAULT_HEADER_NAME,\n});\n/**\n * Retrieves the current XSRF token to use with the next outgoing request.\n *\n * @publicApi\n */\nclass HttpXsrfTokenExtractor {\n}\n/**\n * `HttpXsrfTokenExtractor` which retrieves the token from a cookie.\n */\nclass HttpXsrfCookieExtractor {\n constructor(doc, platform, cookieName) {\n this.doc = doc;\n this.platform = platform;\n this.cookieName = cookieName;\n this.lastCookieString = '';\n this.lastToken = null;\n /**\n * @internal for testing\n */\n this.parseCount = 0;\n }\n getToken() {\n if (this.platform === 'server') {\n return null;\n }\n const cookieString = this.doc.cookie || '';\n if (cookieString !== this.lastCookieString) {\n this.parseCount++;\n this.lastToken = ɵparseCookieValue(cookieString, this.cookieName);\n this.lastCookieString = cookieString;\n }\n return this.lastToken;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: HttpXsrfCookieExtractor, deps: [{ token: DOCUMENT }, { token: PLATFORM_ID }, { token: XSRF_COOKIE_NAME }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: HttpXsrfCookieExtractor }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: HttpXsrfCookieExtractor, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [PLATFORM_ID]\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [XSRF_COOKIE_NAME]\n }] }]; } });\nfunction xsrfInterceptorFn(req, next) {\n const lcUrl = req.url.toLowerCase();\n // Skip both non-mutating requests and absolute URLs.\n // Non-mutating requests don't require a token, and absolute URLs require special handling\n // anyway as the cookie set\n // on our origin is not the same as the token expected by another origin.\n if (!inject(XSRF_ENABLED) || req.method === 'GET' || req.method === 'HEAD' ||\n lcUrl.startsWith('http://') || lcUrl.startsWith('https://')) {\n return next(req);\n }\n const token = inject(HttpXsrfTokenExtractor).getToken();\n const headerName = inject(XSRF_HEADER_NAME);\n // Be careful not to overwrite an existing header of the same name.\n if (token != null && !req.headers.has(headerName)) {\n req = req.clone({ headers: req.headers.set(headerName, token) });\n }\n return next(req);\n}\n/**\n * `HttpInterceptor` which adds an XSRF token to eligible outgoing requests.\n */\nclass HttpXsrfInterceptor {\n constructor(injector) {\n this.injector = injector;\n }\n intercept(initialRequest, next) {\n return this.injector.runInContext(() => xsrfInterceptorFn(initialRequest, downstreamRequest => next.handle(downstreamRequest)));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: HttpXsrfInterceptor, deps: [{ token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: HttpXsrfInterceptor }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: HttpXsrfInterceptor, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: i0.EnvironmentInjector }]; } });\n\n/**\n * Identifies a particular kind of `HttpFeature`.\n *\n * @publicApi\n */\nvar HttpFeatureKind;\n(function (HttpFeatureKind) {\n HttpFeatureKind[HttpFeatureKind[\"Interceptors\"] = 0] = \"Interceptors\";\n HttpFeatureKind[HttpFeatureKind[\"LegacyInterceptors\"] = 1] = \"LegacyInterceptors\";\n HttpFeatureKind[HttpFeatureKind[\"CustomXsrfConfiguration\"] = 2] = \"CustomXsrfConfiguration\";\n HttpFeatureKind[HttpFeatureKind[\"NoXsrfProtection\"] = 3] = \"NoXsrfProtection\";\n HttpFeatureKind[HttpFeatureKind[\"JsonpSupport\"] = 4] = \"JsonpSupport\";\n HttpFeatureKind[HttpFeatureKind[\"RequestsMadeViaParent\"] = 5] = \"RequestsMadeViaParent\";\n})(HttpFeatureKind || (HttpFeatureKind = {}));\nfunction makeHttpFeature(kind, providers) {\n return {\n ɵkind: kind,\n ɵproviders: providers,\n };\n}\n/**\n * Configures Angular's `HttpClient` service to be available for injection.\n *\n * By default, `HttpClient` will be configured for injection with its default options for XSRF\n * protection of outgoing requests. Additional configuration options can be provided by passing\n * feature functions to `provideHttpClient`. For example, HTTP interceptors can be added using the\n * `withInterceptors(...)` feature.\n *\n * @see {@link withInterceptors}\n * @see {@link withInterceptorsFromDi}\n * @see {@link withXsrfConfiguration}\n * @see {@link withNoXsrfProtection}\n * @see {@link withJsonpSupport}\n * @see {@link withRequestsMadeViaParent}\n */\nfunction provideHttpClient(...features) {\n if (ngDevMode) {\n const featureKinds = new Set(features.map(f => f.ɵkind));\n if (featureKinds.has(HttpFeatureKind.NoXsrfProtection) &&\n featureKinds.has(HttpFeatureKind.CustomXsrfConfiguration)) {\n throw new Error(ngDevMode ?\n `Configuration error: found both withXsrfConfiguration() and withNoXsrfProtection() in the same call to provideHttpClient(), which is a contradiction.` :\n '');\n }\n }\n const providers = [\n HttpClient,\n HttpXhrBackend,\n HttpInterceptorHandler,\n { provide: HttpHandler, useExisting: HttpInterceptorHandler },\n { provide: HttpBackend, useExisting: HttpXhrBackend },\n {\n provide: HTTP_INTERCEPTOR_FNS,\n useValue: xsrfInterceptorFn,\n multi: true,\n },\n { provide: XSRF_ENABLED, useValue: true },\n { provide: HttpXsrfTokenExtractor, useClass: HttpXsrfCookieExtractor },\n ];\n for (const feature of features) {\n providers.push(...feature.ɵproviders);\n }\n return makeEnvironmentProviders(providers);\n}\n/**\n * Adds one or more functional-style HTTP interceptors to the configuration of the `HttpClient`\n * instance.\n *\n * @see {@link HttpInterceptorFn}\n * @see {@link provideHttpClient}\n * @publicApi\n */\nfunction withInterceptors(interceptorFns) {\n return makeHttpFeature(HttpFeatureKind.Interceptors, interceptorFns.map(interceptorFn => {\n return {\n provide: HTTP_INTERCEPTOR_FNS,\n useValue: interceptorFn,\n multi: true,\n };\n }));\n}\nconst LEGACY_INTERCEPTOR_FN = new InjectionToken('LEGACY_INTERCEPTOR_FN');\n/**\n * Includes class-based interceptors configured using a multi-provider in the current injector into\n * the configured `HttpClient` instance.\n *\n * Prefer `withInterceptors` and functional interceptors instead, as support for DI-provided\n * interceptors may be phased out in a later release.\n *\n * @see {@link HttpInterceptor}\n * @see {@link HTTP_INTERCEPTORS}\n * @see {@link provideHttpClient}\n */\nfunction withInterceptorsFromDi() {\n // Note: the legacy interceptor function is provided here via an intermediate token\n // (`LEGACY_INTERCEPTOR_FN`), using a pattern which guarantees that if these providers are\n // included multiple times, all of the multi-provider entries will have the same instance of the\n // interceptor function. That way, the `HttpINterceptorHandler` will dedup them and legacy\n // interceptors will not run multiple times.\n return makeHttpFeature(HttpFeatureKind.LegacyInterceptors, [\n {\n provide: LEGACY_INTERCEPTOR_FN,\n useFactory: legacyInterceptorFnFactory,\n },\n {\n provide: HTTP_INTERCEPTOR_FNS,\n useExisting: LEGACY_INTERCEPTOR_FN,\n multi: true,\n }\n ]);\n}\n/**\n * Customizes the XSRF protection for the configuration of the current `HttpClient` instance.\n *\n * This feature is incompatible with the `withNoXsrfProtection` feature.\n *\n * @see {@link provideHttpClient}\n */\nfunction withXsrfConfiguration({ cookieName, headerName }) {\n const providers = [];\n if (cookieName !== undefined) {\n providers.push({ provide: XSRF_COOKIE_NAME, useValue: cookieName });\n }\n if (headerName !== undefined) {\n providers.push({ provide: XSRF_HEADER_NAME, useValue: headerName });\n }\n return makeHttpFeature(HttpFeatureKind.CustomXsrfConfiguration, providers);\n}\n/**\n * Disables XSRF protection in the configuration of the current `HttpClient` instance.\n *\n * This feature is incompatible with the `withXsrfConfiguration` feature.\n *\n * @see {@link provideHttpClient}\n */\nfunction withNoXsrfProtection() {\n return makeHttpFeature(HttpFeatureKind.NoXsrfProtection, [\n {\n provide: XSRF_ENABLED,\n useValue: false,\n },\n ]);\n}\n/**\n * Add JSONP support to the configuration of the current `HttpClient` instance.\n *\n * @see {@link provideHttpClient}\n */\nfunction withJsonpSupport() {\n return makeHttpFeature(HttpFeatureKind.JsonpSupport, [\n JsonpClientBackend,\n { provide: JsonpCallbackContext, useFactory: jsonpCallbackContext },\n { provide: HTTP_INTERCEPTOR_FNS, useValue: jsonpInterceptorFn, multi: true },\n ]);\n}\n/**\n * Configures the current `HttpClient` instance to make requests via the parent injector's\n * `HttpClient` instead of directly.\n *\n * By default, `provideHttpClient` configures `HttpClient` in its injector to be an independent\n * instance. For example, even if `HttpClient` is configured in the parent injector with\n * one or more interceptors, they will not intercept requests made via this instance.\n *\n * With this option enabled, once the request has passed through the current injector's\n * interceptors, it will be delegated to the parent injector's `HttpClient` chain instead of\n * dispatched directly, and interceptors in the parent configuration will be applied to the request.\n *\n * If there are several `HttpClient` instances in the injector hierarchy, it's possible for\n * `withRequestsMadeViaParent` to be used at multiple levels, which will cause the request to\n * \"bubble up\" until either reaching the root level or an `HttpClient` which was not configured with\n * this option.\n *\n * @see {@link provideHttpClient}\n * @developerPreview\n */\nfunction withRequestsMadeViaParent() {\n return makeHttpFeature(HttpFeatureKind.RequestsMadeViaParent, [\n {\n provide: HttpBackend,\n useFactory: () => {\n const handlerFromParent = inject(HttpHandler, { skipSelf: true, optional: true });\n if (ngDevMode && handlerFromParent === null) {\n throw new Error('withRequestsMadeViaParent() can only be used when the parent injector also configures HttpClient');\n }\n return handlerFromParent;\n },\n },\n ]);\n}\n\n/**\n * Configures XSRF protection support for outgoing requests.\n *\n * For a server that supports a cookie-based XSRF protection system,\n * use directly to configure XSRF protection with the correct\n * cookie and header names.\n *\n * If no names are supplied, the default cookie name is `XSRF-TOKEN`\n * and the default header name is `X-XSRF-TOKEN`.\n *\n * @publicApi\n */\nclass HttpClientXsrfModule {\n /**\n * Disable the default XSRF protection.\n */\n static disable() {\n return {\n ngModule: HttpClientXsrfModule,\n providers: [\n withNoXsrfProtection().ɵproviders,\n ],\n };\n }\n /**\n * Configure XSRF protection.\n * @param options An object that can specify either or both\n * cookie name or header name.\n * - Cookie name default is `XSRF-TOKEN`.\n * - Header name default is `X-XSRF-TOKEN`.\n *\n */\n static withOptions(options = {}) {\n return {\n ngModule: HttpClientXsrfModule,\n providers: withXsrfConfiguration(options).ɵproviders,\n };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: HttpClientXsrfModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: HttpClientXsrfModule }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: HttpClientXsrfModule, providers: [\n HttpXsrfInterceptor,\n { provide: HTTP_INTERCEPTORS, useExisting: HttpXsrfInterceptor, multi: true },\n { provide: HttpXsrfTokenExtractor, useClass: HttpXsrfCookieExtractor },\n withXsrfConfiguration({\n cookieName: XSRF_DEFAULT_COOKIE_NAME,\n headerName: XSRF_DEFAULT_HEADER_NAME,\n }).ɵproviders,\n { provide: XSRF_ENABLED, useValue: true },\n ] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: HttpClientXsrfModule, decorators: [{\n type: NgModule,\n args: [{\n providers: [\n HttpXsrfInterceptor,\n { provide: HTTP_INTERCEPTORS, useExisting: HttpXsrfInterceptor, multi: true },\n { provide: HttpXsrfTokenExtractor, useClass: HttpXsrfCookieExtractor },\n withXsrfConfiguration({\n cookieName: XSRF_DEFAULT_COOKIE_NAME,\n headerName: XSRF_DEFAULT_HEADER_NAME,\n }).ɵproviders,\n { provide: XSRF_ENABLED, useValue: true },\n ],\n }]\n }] });\n/**\n * Configures the [dependency injector](guide/glossary#injector) for `HttpClient`\n * with supporting services for XSRF. Automatically imported by `HttpClientModule`.\n *\n * You can add interceptors to the chain behind `HttpClient` by binding them to the\n * multiprovider for built-in [DI token](guide/glossary#di-token) `HTTP_INTERCEPTORS`.\n *\n * @publicApi\n */\nclass HttpClientModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: HttpClientModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: HttpClientModule }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: HttpClientModule, providers: [\n provideHttpClient(withInterceptorsFromDi()),\n ] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: HttpClientModule, decorators: [{\n type: NgModule,\n args: [{\n /**\n * Configures the [dependency injector](guide/glossary#injector) where it is imported\n * with supporting services for HTTP communications.\n */\n providers: [\n provideHttpClient(withInterceptorsFromDi()),\n ],\n }]\n }] });\n/**\n * Configures the [dependency injector](guide/glossary#injector) for `HttpClient`\n * with supporting services for JSONP.\n * Without this module, Jsonp requests reach the backend\n * with method JSONP, where they are rejected.\n *\n * @publicApi\n */\nclass HttpClientJsonpModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: HttpClientJsonpModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: HttpClientJsonpModule }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: HttpClientJsonpModule, providers: [\n withJsonpSupport().ɵproviders,\n ] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: HttpClientJsonpModule, decorators: [{\n type: NgModule,\n args: [{\n providers: [\n withJsonpSupport().ɵproviders,\n ],\n }]\n }] });\n\nconst CACHE_STATE = new InjectionToken(ngDevMode ? 'HTTP_TRANSFER_STATE_CACHE_STATE' : '');\n/**\n * A list of allowed HTTP methods to cache.\n */\nconst ALLOWED_METHODS = ['GET', 'HEAD'];\nfunction transferCacheInterceptorFn(req, next) {\n const { isCacheActive } = inject(CACHE_STATE);\n // Stop using the cache if the application has stabilized, indicating initial rendering\n // is complete.\n if (!isCacheActive || !ALLOWED_METHODS.includes(req.method)) {\n // Cache is no longer active or method is not HEAD or GET.\n // Pass the request through.\n return next(req);\n }\n const transferState = inject(TransferState);\n const storeKey = makeCacheKey(req);\n const response = transferState.get(storeKey, null);\n if (response) {\n // Request found in cache. Respond using it.\n let body = response.body;\n switch (response.responseType) {\n case 'arraybuffer':\n body = new TextEncoder().encode(response.body).buffer;\n break;\n case 'blob':\n body = new Blob([response.body]);\n break;\n }\n return of(new HttpResponse({\n body,\n headers: new HttpHeaders(response.headers),\n status: response.status,\n statusText: response.statusText,\n url: response.url,\n }));\n }\n // Request not found in cache. Make the request and cache it.\n return next(req).pipe(tap((event) => {\n if (event instanceof HttpResponse) {\n transferState.set(storeKey, {\n body: event.body,\n headers: getHeadersMap(event.headers),\n status: event.status,\n statusText: event.statusText,\n url: event.url || '',\n responseType: req.responseType,\n });\n }\n }));\n}\nfunction getHeadersMap(headers) {\n const headersMap = {};\n for (const key of headers.keys()) {\n const values = headers.getAll(key);\n if (values !== null) {\n headersMap[key] = values;\n }\n }\n return headersMap;\n}\nfunction makeCacheKey(request) {\n // make the params encoded same as a url so it's easy to identify\n const { params, method, responseType, url } = request;\n const encodedParams = params.keys().sort().map((k) => `${k}=${params.getAll(k)}`).join('&');\n const key = method + '.' + responseType + '.' + url + '?' + encodedParams;\n const hash = generateHash(key);\n return makeStateKey(hash);\n}\n/**\n * A method that returns a hash representation of a string using a variant of DJB2 hash\n * algorithm.\n *\n * This is the same hashing logic that is used to generate component ids.\n */\nfunction generateHash(value) {\n let hash = 0;\n for (const char of value) {\n hash = Math.imul(31, hash) + char.charCodeAt(0) << 0;\n }\n // Force positive number hash.\n // 2147483647 = equivalent of Integer.MAX_VALUE.\n hash += 2147483647 + 1;\n return hash.toString();\n}\n/**\n * Returns the DI providers needed to enable HTTP transfer cache.\n *\n * By default, when using server rendering, requests are performed twice: once on the server and\n * other one on the browser.\n *\n * When these providers are added, requests performed on the server are cached and reused during the\n * bootstrapping of the application in the browser thus avoiding duplicate requests and reducing\n * load time.\n *\n */\nfunction withHttpTransferCache() {\n return [\n {\n provide: CACHE_STATE,\n useFactory: () => {\n inject(ɵENABLED_SSR_FEATURES).add('httpcache');\n return { isCacheActive: true };\n }\n },\n {\n provide: HTTP_ROOT_INTERCEPTOR_FNS,\n useValue: transferCacheInterceptorFn,\n multi: true,\n deps: [TransferState, CACHE_STATE]\n },\n {\n provide: APP_BOOTSTRAP_LISTENER,\n multi: true,\n useFactory: () => {\n const appRef = inject(ApplicationRef);\n const cacheState = inject(CACHE_STATE);\n return () => {\n appRef.isStable.pipe(first((isStable) => isStable)).toPromise().then(() => {\n cacheState.isCacheActive = false;\n });\n };\n }\n }\n ];\n}\n\n// This file is not used to build this module. It is only used during editing\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { HTTP_INTERCEPTORS, HttpBackend, HttpClient, HttpClientJsonpModule, HttpClientModule, HttpClientXsrfModule, HttpContext, HttpContextToken, HttpErrorResponse, HttpEventType, HttpFeatureKind, HttpHandler, HttpHeaderResponse, HttpHeaders, HttpParams, HttpRequest, HttpResponse, HttpResponseBase, HttpUrlEncodingCodec, HttpXhrBackend, HttpXsrfTokenExtractor, JsonpClientBackend, JsonpInterceptor, provideHttpClient, withInterceptors, withInterceptorsFromDi, withJsonpSupport, withNoXsrfProtection, withRequestsMadeViaParent, withXsrfConfiguration, HttpInterceptorHandler as ɵHttpInterceptingHandler, HttpInterceptorHandler as ɵHttpInterceptorHandler, withHttpTransferCache as ɵwithHttpTransferCache };\n","export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}","export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}","export default function _iterableToArrayLimit(arr, i) {\n var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"];\n if (null != _i) {\n var _s,\n _e,\n _x,\n _r,\n _arr = [],\n _n = !0,\n _d = !1;\n try {\n if (_x = (_i = _i.call(arr)).next, 0 === i) {\n if (Object(_i) !== _i) return;\n _n = !1;\n } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);\n } catch (err) {\n _d = !0, _e = err;\n } finally {\n try {\n if (!_n && null != _i[\"return\"] && (_r = _i[\"return\"](), Object(_r) !== _r)) return;\n } finally {\n if (_d) throw _e;\n }\n }\n return _arr;\n }\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34]} \ No newline at end of file diff --git a/3770.cddf80ea8dff6a2d.js b/3770.cddf80ea8dff6a2d.js new file mode 100644 index 0000000..fe385b4 --- /dev/null +++ b/3770.cddf80ea8dff6a2d.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[3770],{73770:(ve,p,t)=>{t.r(p),t.d(p,{MAT_STEPPER_PROXY_FACTORY:()=>M,MaterialModule:()=>ce,ResponsiveStepperComponent:()=>y});var v=t(78069),g=t(48047),h=t(35603),u=t(94055),e=t(56718),R=t(908),z=t(51372),I=t(18142),_=t(93168),m=t(70561),O=t(33730),P=t(67726),D=t(52090),A=t(15455),w=t(1621),T=t(72049),B=t(75101),j=t(53598),V=t(53726),L=t(80584),d=t(7054),F=t(40810),E=t(5311),k=t(97040),N=t(38369),W=t(12219),Y=t(28972),Q=t(26073),Z=t(9263),H=t(75376),S=t(6606),X=t(41858),G=t(56388),K=t(36070),U=t(44039),J=t(80565),b=t(55198),$=t(92081),q=t(4856),ee=t(8312),te=t(43516),ne=t(21669),re=t(28413),ae=t(3620),oe=t(67223),ie=t(89402),se=t(43068);t(35333);var le=function(){var o=(0,g.Z)(function a(){(0,v.Z)(this,a)});return o.\u0275fac=function(n){return new(n||o)},o.\u0275mod=e.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=e.\u0275\u0275defineInjector({}),o}();function de(o,a){if(1&o){var n=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"mat-horizontal-stepper",3),e.\u0275\u0275listener("animationDone",function(s){e.\u0275\u0275restoreView(n);var l=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(l.animationDone.emit(s))})("selectionChange",function(s){e.\u0275\u0275restoreView(n);var l=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(l.selectionChange.emit(s))}),e.\u0275\u0275elementEnd()}if(2&o){var r=e.\u0275\u0275nextContext();e.\u0275\u0275property("labelPosition",r.labelPosition)("linear",r.linear)("selected",r.selected)("selectedIndex",r.selectedIndex)}}function fe(o,a){if(1&o){var n=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"mat-vertical-stepper",4),e.\u0275\u0275listener("animationDone",function(s){e.\u0275\u0275restoreView(n);var l=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(l.animationDone.emit(s))})("selectionChange",function(s){e.\u0275\u0275restoreView(n);var l=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(l.selectionChange.emit(s))}),e.\u0275\u0275elementEnd()}if(2&o){var r=e.\u0275\u0275nextContext();e.\u0275\u0275property("linear",r.linear)("selected",r.selected)("selectedIndex",r.selectedIndex)}}var C={provide:d.MatStepper,deps:[(0,e.forwardRef)(function(){return y}),[new e.Optional,se.Directionality],e.ChangeDetectorRef,[new e.Inject(u.DOCUMENT)]],useFactory:M},ue=(0,h.Z)((0,h.Z)({},C),{},{provide:m.CdkStepper});function M(o,a,n,r){var i=new e.ElementRef(r.createElement("mat-horizontal-stepper")),s=new d.MatStepper(a,n,i);return new Proxy(s,{get:function(f,c){return Reflect.get(o.stepper||f,c)},set:function(f,c,x){return Reflect.set(o.stepper||f,c,x)}})}var y=function(){var o=function(){function a(){(0,v.Z)(this,a),this.animationDone=new e.EventEmitter,this.selectionChange=new e.EventEmitter,this.orientationChange=new e.EventEmitter,this.needsFocus=!1,this.htmlSteps=[]}return(0,g.Z)(a,[{key:"stepper",get:function(){return this.stepperList&&this.stepperList.first}},{key:"ngAfterViewInit",value:function(){var r=this;this.reset(),this.stepperList.changes.subscribe(function(){return r.reset()}),this.selectionChange.subscribe(function(i){return r.lastSelectedIndex=i.selectedIndex}),this.syncHTMLSteps(),setTimeout(function(){return r.stepper.selectedIndex=r.selectedIndex},400)}},{key:"ngAfterViewChecked",value:function(){if(this.needsFocus){this.needsFocus=!1;var r=this.stepper,s=r._keyManager,l=r.selectedIndex;r._elementRef.nativeElement.focus(),s.setActiveItem(l)}}},{key:"isHorizontal",get:function(){return"horizontal"===this.orientation}},{key:"isVertical",get:function(){return"vertical"===this.orientation}},{key:"next",value:function(){this.stepper.next()}},{key:"previous",value:function(){this.stepper.previous()}},{key:"updateStepState",value:function(r,i){this.htmlSteps.length>0&&(this.htmlSteps[r-1].style.pointerEvents=i?"":"none")}},{key:"syncHTMLSteps",value:function(){this.htmlSteps=[];var r=1,i=document.querySelector(".mat-stepper-vertical");i||(r=2,i=document.querySelector(".mat-horizontal-stepper-header-container"));for(var s=0;s<i.children.length;s+=r)this.htmlSteps.push(i.children[s])}},{key:"reset",value:function(){var r=this;setTimeout(function(){return r.syncHTMLSteps()},100);var i=this.stepper,l=this.lastSelectedIndex;i.steps.reset(this.steps.toArray()),i.steps.notifyOnChanges(),l&&(i.selectedIndex=l,setTimeout(function(){return r.orientationChange.emit(r.orientation)},101))}}]),a}();return o.\u0275fac=function(n){return new(n||o)},o.\u0275cmp=e.\u0275\u0275defineComponent({type:o,selectors:[["responsive-stepper"]],contentQueries:function(n,r,i){var s;1&n&&e.\u0275\u0275contentQuery(i,d.MatStep,4),2&n&&e.\u0275\u0275queryRefresh(s=e.\u0275\u0275loadQuery())&&(r.steps=s)},viewQuery:function(n,r){var i;1&n&&e.\u0275\u0275viewQuery(d.MatStepper,5),2&n&&e.\u0275\u0275queryRefresh(i=e.\u0275\u0275loadQuery())&&(r.stepperList=i)},inputs:{labelPosition:"labelPosition",linear:"linear",orientation:"orientation",selected:"selected",selectedIndex:"selectedIndex"},outputs:{animationDone:"animationDone",selectionChange:"selectionChange",orientationChange:"orientationChange"},features:[e.\u0275\u0275ProvidersFeature([C,ue])],decls:3,vars:2,consts:[[3,"ngSwitch"],[3,"labelPosition","linear","selected","selectedIndex","animationDone","selectionChange",4,"ngSwitchDefault"],[3,"linear","selected","selectedIndex","animationDone","selectionChange",4,"ngSwitchCase"],[3,"labelPosition","linear","selected","selectedIndex","animationDone","selectionChange"],[3,"linear","selected","selectedIndex","animationDone","selectionChange"]],template:function(n,r){1&n&&(e.\u0275\u0275elementContainerStart(0,0),e.\u0275\u0275template(1,de,1,4,"mat-horizontal-stepper",1),e.\u0275\u0275template(2,fe,1,3,"mat-vertical-stepper",2),e.\u0275\u0275elementContainerEnd()),2&n&&(e.\u0275\u0275property("ngSwitch",r.orientation),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngSwitchCase","vertical"))},dependencies:[u.NgSwitch,u.NgSwitchCase,u.NgSwitchDefault,d.MatStepper],encapsulation:2,changeDetection:0}),o}(),ce=function(){var o=(0,g.Z)(function a(){(0,v.Z)(this,a)});return o.\u0275fac=function(n){return new(n||o)},o.\u0275mod=e.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=e.\u0275\u0275defineInjector({imports:[u.CommonModule,m.CdkStepperModule,d.MatStepperModule,R.A11yModule,m.CdkStepperModule,O.CdkTableModule,P.CdkTreeModule,z.DragDropModule,D.MatLegacyAutocompleteModule,A.MatBadgeModule,w.MatBottomSheetModule,T.MatLegacyButtonModule,B.MatButtonToggleModule,j.MatLegacyCardModule,V.MatLegacyCheckboxModule,L.MatLegacyChipsModule,d.MatStepperModule,F.MatDatepickerModule,E.MatLegacyDialogModule,k.MatDividerModule,N.MatExpansionModule,W.MatGridListModule,Y.MatIconModule,Q.MatLegacyInputModule,Z.MatLegacyListModule,H.MatLegacyMenuModule,S.MatNativeDateModule,X.MatLegacyPaginatorModule,G.MatLegacyProgressBarModule,K.MatLegacyProgressSpinnerModule,U.MatLegacyRadioModule,S.MatRippleModule,J.MatLegacySelectModule,b.MatSidenavModule,$.MatLegacySliderModule,q.MatLegacySlideToggleModule,ee.MatLegacySnackBarModule,te.MatSortModule,ne.MatLegacyTableModule,re.MatLegacyTabsModule,ae.MatToolbarModule,oe.MatLegacyTooltipModule,ie.MatTreeModule,I.PortalModule,_.ScrollingModule,le]}),o}()}}]); +//# sourceMappingURL=3770.cddf80ea8dff6a2d.js.map \ No newline at end of file diff --git a/3770.cddf80ea8dff6a2d.js.map b/3770.cddf80ea8dff6a2d.js.map new file mode 100644 index 0000000..b0af1e0 --- /dev/null +++ b/3770.cddf80ea8dff6a2d.js.map @@ -0,0 +1 @@ +{"version":3,"file":"3770.cddf80ea8dff6a2d.js","mappings":"0sBAmWA,IA4DMA,GAAe,eAAfA,GAAeC,OAAA,SAAAD,KAAAE,OAAAC,KAAAH,EAAA,GAAfA,SACYI,UAAI,SAAAC,GAAA,WAAAA,GAAwFL,EAAe,EADvHA,EAEYM,UA7BkFC,6BAAE,CAAAC,KA6BSR,IAFzGA,EAGYS,UA9BkFF,6BAAE,IA2BhGP,CAAe,IChXsE,SAAAU,GAAAC,EAAAC,GAAA,KAAAD,EAAA,KAAAE,EAqHSN,0DAAE,8BAAFA,uBAAE,yBAAAO,GAAFP,0BAAEM,GAAA,IAAAE,EAAFR,4BAAE,OAAFA,wBAW/CQ,EAAAC,cAAAC,KAAAH,GAA0B,EAXqBP,CAWpB,2BAAAO,GAXoBP,0BAAEM,GAAA,IAAAK,EAAFX,4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mF,QAAA,CAAA3F,cAAA,gBAAAG,gBAAA,kBAAA2C,kBAAA,qBAAA8C,SAAA,CAAFrG,+BAC8U,CACtauB,EACAa,MACHkE,MAAA,EAAAC,KAAA,EAAAC,OAAA,8XAAAC,SAAA,SAAArG,EAAAC,GAAA,EAAAD,IAJ2FJ,oCAAE,KAAFA,uBAAE,EAAAG,GAAA,gCAAFH,uBAAE,EAAAkB,GAAA,8BAAFlB,qCAqB7E,EAAAI,IArB6EJ,uBAAE,WAAAK,EAAAsE,aAAF3E,sBAAE,GAAFA,uBAAE,2BAc3C,EAAA0G,aAAA,CAOyBC,WAAwFA,eAAoGA,kBAAgFC,cAAaC,cAAA,EAAAC,gBAAA,IA1GvWlF,CAA0B,IAkK1BmF,GAAc,eAAdA,GAAcrH,OAAA,SAAAqH,KAAApH,OAAAC,KAAAmH,EAAA,GAAdA,SACYlH,UAAI,SAAAC,GAAA,WAAAA,GAAwFiH,EAAc,EADtHA,EAEYhH,UA/EkFC,6BAAE,CAAAC,KA+ES8G,IAFzGA,EA+CY7G,UA5HkFF,6BAAE,CAAAgH,QAAA,CA4HmCC,eAAcC,mBAAkBC,mBAAkBC,aAC/KF,mBACAG,iBACAC,gBACAC,iBACAC,8BACAC,iBACAC,uBACAC,wBACAC,wBACAC,sBACAC,0BACAC,uBACAZ,mBACAa,sBACAC,wBACAC,mBACAC,qBACAC,oBACAC,gBACAC,uBACAC,sBACAC,sBACAC,sBACAC,2BACAC,6BACAC,iCACAC,uBACAC,kBACAC,wBACAC,mBACAC,wBACAC,6BACAC,2BACAC,iBACAC,wBACAC,uBACAC,oBACAC,0BACAC,iBACAC,eACAjK,kBACAkK,MAzFN5C,CAAc","names":["ScrollingModule","_createClass","_classCallCheck","this","ɵfac","t","ɵmod","i0","type","ɵinj","ResponsiveStepperComponent_mat_horizontal_stepper_1_Template","rf","ctx","_r3","$event","ctx_r2","animationDone","emit","ctx_r4","selectionChange","ctx_r0","labelPosition","linear","selected","selectedIndex","ResponsiveStepperComponent_mat_vertical_stepper_2_Template","_r6","ctx_r5","ctx_r7","ctx_r1","MAT_STEPPER_PROXY_FACTORY_PROVIDER","provide","MatStepper","deps","forwardRef","ResponsiveStepperComponent","Optional","Directionality","ChangeDetectorRef","Inject","DOCUMENT","useFactory","MAT_STEPPER_PROXY_FACTORY","CDK_STEPPER_PROXY_FACTORY_PROVIDER","_objectSpread","CdkStepper","component","directionality","changeDetectorRef","document","elementRef","ElementRef","createElement","stepper","Proxy","get","target","property","Reflect","set","value","EventEmitter","orientationChange","needsFocus","htmlSteps","key","stepperList","first","_this","reset","changes","subscribe","e","lastSelectedIndex","syncHTMLSteps","setTimeout","_this$stepper","_keyManager","_elementRef","nativeElement","focus","setActiveItem","orientation","next","previous","step","enabled","length","style","pointerEvents","increment","querySelector","i","children","push","_this2","steps","toArray","notifyOnChanges","ɵcmp","selectors","contentQueries","dirIndex","_t","MatStep","viewQuery","inputs","outputs","features","decls","vars","consts","template","dependencies","i1","i2","encapsulation","changeDetection","MaterialModule","imports","CommonModule","CdkStepperModule","MatStepperModule","A11yModule","CdkTableModule","CdkTreeModule","DragDropModule","MatLegacyAutocompleteModule","MatBadgeModule","MatBottomSheetModule","MatLegacyButtonModule","MatButtonToggleModule","MatLegacyCardModule","MatLegacyCheckboxModule","MatLegacyChipsModule","MatDatepickerModule","MatLegacyDialogModule","MatDividerModule","MatExpansionModule","MatGridListModule","MatIconModule","MatLegacyInputModule","MatLegacyListModule","MatLegacyMenuModule","MatNativeDateModule","MatLegacyPaginatorModule","MatLegacyProgressBarModule","MatLegacyProgressSpinnerModule","MatLegacyRadioModule","MatRippleModule","MatLegacySelectModule","MatSidenavModule","MatLegacySliderModule","MatLegacySlideToggleModule","MatLegacySnackBarModule","MatSortModule","MatLegacyTableModule","MatLegacyTabsModule","MatToolbarModule","MatLegacyTooltipModule","MatTreeModule","PortalModule","ScrollingModule$1"],"sourceRoot":"webpack:///","sources":["./node_modules/@angular/cdk-experimental/fesm2022/scrolling.mjs","./node_modules/@rollthecloudinc/material/fesm2022/rollthecloudinc-material.mjs"],"sourcesContent":["import { coerceNumberProperty } from '@angular/cdk/coercion';\nimport { VIRTUAL_SCROLL_STRATEGY } from '@angular/cdk/scrolling';\nimport * as i0 from '@angular/core';\nimport { forwardRef, Directive, Input, NgModule } from '@angular/core';\nimport { Observable } from 'rxjs';\n\n/**\n * A class that tracks the size of items that have been seen and uses it to estimate the average\n * item size.\n */\nclass ItemSizeAverager {\n /** @param defaultItemSize The default size to use for items when no data is available. */\n constructor(defaultItemSize = 50) {\n /** The total amount of weight behind the current average. */\n this._totalWeight = 0;\n this._defaultItemSize = defaultItemSize;\n this._averageItemSize = defaultItemSize;\n }\n /** Returns the average item size. */\n getAverageItemSize() {\n return this._averageItemSize;\n }\n /**\n * Adds a measurement sample for the estimator to consider.\n * @param range The measured range.\n * @param size The measured size of the given range in pixels.\n */\n addSample(range, size) {\n const newTotalWeight = this._totalWeight + range.end - range.start;\n if (newTotalWeight) {\n const newAverageItemSize = (size + this._averageItemSize * this._totalWeight) / newTotalWeight;\n if (newAverageItemSize) {\n this._averageItemSize = newAverageItemSize;\n this._totalWeight = newTotalWeight;\n }\n }\n }\n /** Resets the averager. */\n reset() {\n this._averageItemSize = this._defaultItemSize;\n this._totalWeight = 0;\n }\n}\n/** Virtual scrolling strategy for lists with items of unknown or dynamic size. */\nclass AutoSizeVirtualScrollStrategy {\n /**\n * @param minBufferPx The minimum amount of buffer rendered beyond the viewport (in pixels).\n * If the amount of buffer dips below this number, more items will be rendered.\n * @param maxBufferPx The number of pixels worth of buffer to shoot for when rendering new items.\n * If the actual amount turns out to be less it will not necessarily trigger an additional\n * rendering cycle (as long as the amount of buffer is still greater than `minBufferPx`).\n * @param averager The averager used to estimate the size of unseen items.\n */\n constructor(minBufferPx, maxBufferPx, averager = new ItemSizeAverager()) {\n /** @docs-private Implemented as part of VirtualScrollStrategy. */\n this.scrolledIndexChange = new Observable(() => {\n // TODO(mmalerba): Implement.\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n throw Error('cdk-virtual-scroll: scrolledIndexChange is currently not supported for the' +\n ' autosize scroll strategy');\n }\n });\n /** The attached viewport. */\n this._viewport = null;\n /**\n * The number of consecutive cycles where removing extra items has failed. Failure here means that\n * we estimated how many items we could safely remove, but our estimate turned out to be too much\n * and it wasn't safe to remove that many elements.\n */\n this._removalFailures = 0;\n this._minBufferPx = minBufferPx;\n this._maxBufferPx = maxBufferPx;\n this._averager = averager;\n }\n /**\n * Attaches this scroll strategy to a viewport.\n * @param viewport The viewport to attach this strategy to.\n */\n attach(viewport) {\n this._averager.reset();\n this._viewport = viewport;\n this._renderContentForCurrentOffset();\n }\n /** Detaches this scroll strategy from the currently attached viewport. */\n detach() {\n this._viewport = null;\n }\n /** @docs-private Implemented as part of VirtualScrollStrategy. */\n onContentScrolled() {\n if (this._viewport) {\n this._updateRenderedContentAfterScroll();\n }\n }\n /** @docs-private Implemented as part of VirtualScrollStrategy. */\n onDataLengthChanged() {\n if (this._viewport) {\n this._renderContentForCurrentOffset();\n this._checkRenderedContentSize();\n }\n }\n /** @docs-private Implemented as part of VirtualScrollStrategy. */\n onContentRendered() {\n if (this._viewport) {\n this._checkRenderedContentSize();\n }\n }\n /** @docs-private Implemented as part of VirtualScrollStrategy. */\n onRenderedOffsetChanged() {\n if (this._viewport) {\n this._checkRenderedContentOffset();\n }\n }\n /** Scroll to the offset for the given index. */\n scrollToIndex() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n // TODO(mmalerba): Implement.\n throw Error('cdk-virtual-scroll: scrollToIndex is currently not supported for the autosize' +\n ' scroll strategy');\n }\n }\n /**\n * Update the buffer parameters.\n * @param minBufferPx The minimum amount of buffer rendered beyond the viewport (in pixels).\n * @param maxBufferPx The number of buffer items to render beyond the edge of the viewport (in\n * pixels).\n */\n updateBufferSize(minBufferPx, maxBufferPx) {\n if (maxBufferPx < minBufferPx) {\n throw Error('CDK virtual scroll: maxBufferPx must be greater than or equal to minBufferPx');\n }\n this._minBufferPx = minBufferPx;\n this._maxBufferPx = maxBufferPx;\n }\n /** Update the rendered content after the user scrolls. */\n _updateRenderedContentAfterScroll() {\n const viewport = this._viewport;\n // The current scroll offset.\n const scrollOffset = viewport.measureScrollOffset();\n // The delta between the current scroll offset and the previously recorded scroll offset.\n let scrollDelta = scrollOffset - this._lastScrollOffset;\n // The magnitude of the scroll delta.\n let scrollMagnitude = Math.abs(scrollDelta);\n // The currently rendered range.\n const renderedRange = viewport.getRenderedRange();\n // If we're scrolling toward the top, we need to account for the fact that the predicted amount\n // of content and the actual amount of scrollable space may differ. We address this by slowly\n // correcting the difference on each scroll event.\n let offsetCorrection = 0;\n if (scrollDelta < 0) {\n // The content offset we would expect based on the average item size.\n const predictedOffset = renderedRange.start * this._averager.getAverageItemSize();\n // The difference between the predicted size of the un-rendered content at the beginning and\n // the actual available space to scroll over. We need to reduce this to zero by the time the\n // user scrolls to the top.\n // - 0 indicates that the predicted size and available space are the same.\n // - A negative number that the predicted size is smaller than the available space.\n // - A positive number indicates the predicted size is larger than the available space\n const offsetDifference = predictedOffset - this._lastRenderedContentOffset;\n // The amount of difference to correct during this scroll event. We calculate this as a\n // percentage of the total difference based on the percentage of the distance toward the top\n // that the user scrolled.\n offsetCorrection = Math.round(offsetDifference *\n Math.max(0, Math.min(1, scrollMagnitude / (scrollOffset + scrollMagnitude))));\n // Based on the offset correction above, we pretend that the scroll delta was bigger or\n // smaller than it actually was, this way we can start to eliminate the difference.\n scrollDelta = scrollDelta - offsetCorrection;\n scrollMagnitude = Math.abs(scrollDelta);\n }\n // The current amount of buffer past the start of the viewport.\n const startBuffer = this._lastScrollOffset - this._lastRenderedContentOffset;\n // The current amount of buffer past the end of the viewport.\n const endBuffer = this._lastRenderedContentOffset +\n this._lastRenderedContentSize -\n (this._lastScrollOffset + viewport.getViewportSize());\n // The amount of unfilled space that should be filled on the side the user is scrolling toward\n // in order to safely absorb the scroll delta.\n const underscan = scrollMagnitude + this._minBufferPx - (scrollDelta < 0 ? startBuffer : endBuffer);\n // Check if there's unfilled space that we need to render new elements to fill.\n if (underscan > 0) {\n // Check if the scroll magnitude was larger than the viewport size. In this case the user\n // won't notice a discontinuity if we just jump to the new estimated position in the list.\n // However, if the scroll magnitude is smaller than the viewport the user might notice some\n // jitteriness if we just jump to the estimated position. Instead we make sure to scroll by\n // the same number of pixels as the scroll magnitude.\n if (scrollMagnitude >= viewport.getViewportSize()) {\n this._renderContentForCurrentOffset();\n }\n else {\n // The number of new items to render on the side the user is scrolling towards. Rather than\n // just filling the underscan space, we actually fill enough to have a buffer size of\n // `maxBufferPx`. This gives us a little wiggle room in case our item size estimate is off.\n const addItems = Math.max(0, Math.ceil((underscan - this._minBufferPx + this._maxBufferPx) /\n this._averager.getAverageItemSize()));\n // The amount of filled space beyond what is necessary on the side the user is scrolling\n // away from.\n const overscan = (scrollDelta < 0 ? endBuffer : startBuffer) - this._minBufferPx + scrollMagnitude;\n // The number of currently rendered items to remove on the side the user is scrolling away\n // from. If removal has failed in recent cycles we are less aggressive in how much we try to\n // remove.\n const unboundedRemoveItems = Math.floor(overscan / this._averager.getAverageItemSize() / (this._removalFailures + 1));\n const removeItems = Math.min(renderedRange.end - renderedRange.start, Math.max(0, unboundedRemoveItems));\n // The new range we will tell the viewport to render. We first expand it to include the new\n // items we want rendered, we then contract the opposite side to remove items we no longer\n // want rendered.\n const range = this._expandRange(renderedRange, scrollDelta < 0 ? addItems : 0, scrollDelta > 0 ? addItems : 0);\n if (scrollDelta < 0) {\n range.end = Math.max(range.start + 1, range.end - removeItems);\n }\n else {\n range.start = Math.min(range.end - 1, range.start + removeItems);\n }\n // The new offset we want to set on the rendered content. To determine this we measure the\n // number of pixels we removed and then adjust the offset to the start of the rendered\n // content or to the end of the rendered content accordingly (whichever one doesn't require\n // that the newly added items to be rendered to calculate.)\n let contentOffset;\n let contentOffsetTo;\n if (scrollDelta < 0) {\n let removedSize = viewport.measureRangeSize({\n start: range.end,\n end: renderedRange.end,\n });\n // Check that we're not removing too much.\n if (removedSize <= overscan) {\n contentOffset =\n this._lastRenderedContentOffset + this._lastRenderedContentSize - removedSize;\n this._removalFailures = 0;\n }\n else {\n // If the removal is more than the overscan can absorb just undo it and record the fact\n // that the removal failed so we can be less aggressive next time.\n range.end = renderedRange.end;\n contentOffset = this._lastRenderedContentOffset + this._lastRenderedContentSize;\n this._removalFailures++;\n }\n contentOffsetTo = 'to-end';\n }\n else {\n const removedSize = viewport.measureRangeSize({\n start: renderedRange.start,\n end: range.start,\n });\n // Check that we're not removing too much.\n if (removedSize <= overscan) {\n contentOffset = this._lastRenderedContentOffset + removedSize;\n this._removalFailures = 0;\n }\n else {\n // If the removal is more than the overscan can absorb just undo it and record the fact\n // that the removal failed so we can be less aggressive next time.\n range.start = renderedRange.start;\n contentOffset = this._lastRenderedContentOffset;\n this._removalFailures++;\n }\n contentOffsetTo = 'to-start';\n }\n // Set the range and offset we calculated above.\n viewport.setRenderedRange(range);\n viewport.setRenderedContentOffset(contentOffset + offsetCorrection, contentOffsetTo);\n }\n }\n else if (offsetCorrection) {\n // Even if the rendered range didn't change, we may still need to adjust the content offset to\n // simulate scrolling slightly slower or faster than the user actually scrolled.\n viewport.setRenderedContentOffset(this._lastRenderedContentOffset + offsetCorrection);\n }\n // Save the scroll offset to be compared to the new value on the next scroll event.\n this._lastScrollOffset = scrollOffset;\n }\n /**\n * Checks the size of the currently rendered content and uses it to update the estimated item size\n * and estimated total content size.\n */\n _checkRenderedContentSize() {\n const viewport = this._viewport;\n this._lastRenderedContentSize = viewport.measureRenderedContentSize();\n this._averager.addSample(viewport.getRenderedRange(), this._lastRenderedContentSize);\n this._updateTotalContentSize(this._lastRenderedContentSize);\n }\n /** Checks the currently rendered content offset and saves the value for later use. */\n _checkRenderedContentOffset() {\n const viewport = this._viewport;\n this._lastRenderedContentOffset = viewport.getOffsetToRenderedContentStart();\n }\n /**\n * Recalculates the rendered content based on our estimate of what should be shown at the current\n * scroll offset.\n */\n _renderContentForCurrentOffset() {\n const viewport = this._viewport;\n const scrollOffset = viewport.measureScrollOffset();\n this._lastScrollOffset = scrollOffset;\n this._removalFailures = 0;\n const itemSize = this._averager.getAverageItemSize();\n const firstVisibleIndex = Math.min(viewport.getDataLength() - 1, Math.floor(scrollOffset / itemSize));\n const bufferSize = Math.ceil(this._maxBufferPx / itemSize);\n const range = this._expandRange(this._getVisibleRangeForIndex(firstVisibleIndex), bufferSize, bufferSize);\n viewport.setRenderedRange(range);\n viewport.setRenderedContentOffset(itemSize * range.start);\n }\n // TODO: maybe move to base class, can probably share with fixed size strategy.\n /**\n * Gets the visible range of data for the given start index. If the start index is too close to\n * the end of the list it may be backed up to ensure the estimated size of the range is enough to\n * fill the viewport.\n * Note: must not be called if `this._viewport` is null\n * @param startIndex The index to start the range at\n * @return a range estimated to be large enough to fill the viewport when rendered.\n */\n _getVisibleRangeForIndex(startIndex) {\n const viewport = this._viewport;\n const range = {\n start: startIndex,\n end: startIndex + Math.ceil(viewport.getViewportSize() / this._averager.getAverageItemSize()),\n };\n const extra = range.end - viewport.getDataLength();\n if (extra > 0) {\n range.start = Math.max(0, range.start - extra);\n }\n return range;\n }\n // TODO: maybe move to base class, can probably share with fixed size strategy.\n /**\n * Expand the given range by the given amount in either direction.\n * Note: must not be called if `this._viewport` is null\n * @param range The range to expand\n * @param expandStart The number of items to expand the start of the range by.\n * @param expandEnd The number of items to expand the end of the range by.\n * @return The expanded range.\n */\n _expandRange(range, expandStart, expandEnd) {\n const viewport = this._viewport;\n const start = Math.max(0, range.start - expandStart);\n const end = Math.min(viewport.getDataLength(), range.end + expandEnd);\n return { start, end };\n }\n /** Update the viewport's total content size. */\n _updateTotalContentSize(renderedContentSize) {\n const viewport = this._viewport;\n const renderedRange = viewport.getRenderedRange();\n const totalSize = renderedContentSize +\n (viewport.getDataLength() - (renderedRange.end - renderedRange.start)) *\n this._averager.getAverageItemSize();\n viewport.setTotalContentSize(totalSize);\n }\n}\n/**\n * Provider factory for `AutoSizeVirtualScrollStrategy` that simply extracts the already created\n * `AutoSizeVirtualScrollStrategy` from the given directive.\n * @param autoSizeDir The instance of `CdkAutoSizeVirtualScroll` to extract the\n * `AutoSizeVirtualScrollStrategy` from.\n */\nfunction _autoSizeVirtualScrollStrategyFactory(autoSizeDir) {\n return autoSizeDir._scrollStrategy;\n}\n/** A virtual scroll strategy that supports unknown or dynamic size items. */\nclass CdkAutoSizeVirtualScroll {\n constructor() {\n this._minBufferPx = 100;\n this._maxBufferPx = 200;\n /** The scroll strategy used by this directive. */\n this._scrollStrategy = new AutoSizeVirtualScrollStrategy(this.minBufferPx, this.maxBufferPx);\n }\n /**\n * The minimum amount of buffer rendered beyond the viewport (in pixels).\n * If the amount of buffer dips below this number, more items will be rendered. Defaults to 100px.\n */\n get minBufferPx() {\n return this._minBufferPx;\n }\n set minBufferPx(value) {\n this._minBufferPx = coerceNumberProperty(value);\n }\n /**\n * The number of pixels worth of buffer to shoot for when rendering new items.\n * If the actual amount turns out to be less it will not necessarily trigger an additional\n * rendering cycle (as long as the amount of buffer is still greater than `minBufferPx`).\n * Defaults to 200px.\n */\n get maxBufferPx() {\n return this._maxBufferPx;\n }\n set maxBufferPx(value) {\n this._maxBufferPx = coerceNumberProperty(value);\n }\n ngOnChanges() {\n this._scrollStrategy.updateBufferSize(this.minBufferPx, this.maxBufferPx);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkAutoSizeVirtualScroll, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkAutoSizeVirtualScroll, selector: \"cdk-virtual-scroll-viewport[autosize]\", inputs: { minBufferPx: \"minBufferPx\", maxBufferPx: \"maxBufferPx\" }, providers: [\n {\n provide: VIRTUAL_SCROLL_STRATEGY,\n useFactory: _autoSizeVirtualScrollStrategyFactory,\n deps: [forwardRef(() => CdkAutoSizeVirtualScroll)],\n },\n ], usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkAutoSizeVirtualScroll, decorators: [{\n type: Directive,\n args: [{\n selector: 'cdk-virtual-scroll-viewport[autosize]',\n providers: [\n {\n provide: VIRTUAL_SCROLL_STRATEGY,\n useFactory: _autoSizeVirtualScrollStrategyFactory,\n deps: [forwardRef(() => CdkAutoSizeVirtualScroll)],\n },\n ],\n }]\n }], propDecorators: { minBufferPx: [{\n type: Input\n }], maxBufferPx: [{\n type: Input\n }] } });\n\nclass ScrollingModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: ScrollingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: ScrollingModule, declarations: [CdkAutoSizeVirtualScroll], exports: [CdkAutoSizeVirtualScroll] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: ScrollingModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: ScrollingModule, decorators: [{\n type: NgModule,\n args: [{\n exports: [CdkAutoSizeVirtualScroll],\n declarations: [CdkAutoSizeVirtualScroll],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { AutoSizeVirtualScrollStrategy, CdkAutoSizeVirtualScroll, ItemSizeAverager, ScrollingModule, _autoSizeVirtualScrollStrategyFactory };\n","import * as i1 from '@angular/common';\nimport { DOCUMENT, CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { forwardRef, Optional, ChangeDetectorRef, Inject, ElementRef, EventEmitter, Component, ChangeDetectionStrategy, Input, Output, ViewChildren, ContentChildren, NgModule } from '@angular/core';\nimport { A11yModule } from '@angular/cdk/a11y';\nimport { DragDropModule } from '@angular/cdk/drag-drop';\nimport { PortalModule } from '@angular/cdk/portal';\nimport { ScrollingModule } from '@angular/cdk/scrolling';\nimport { CdkStepper, CdkStepperModule } from '@angular/cdk/stepper';\nimport { CdkTableModule } from '@angular/cdk/table';\nimport { CdkTreeModule } from '@angular/cdk/tree';\nimport { MatLegacyAutocompleteModule } from '@angular/material/legacy-autocomplete';\nimport { MatBadgeModule } from '@angular/material/badge';\nimport { MatBottomSheetModule } from '@angular/material/bottom-sheet';\nimport { MatLegacyButtonModule } from '@angular/material/legacy-button';\nimport { MatButtonToggleModule } from '@angular/material/button-toggle';\nimport { MatLegacyCardModule } from '@angular/material/legacy-card';\nimport { MatLegacyCheckboxModule } from '@angular/material/legacy-checkbox';\nimport { MatLegacyChipsModule } from '@angular/material/legacy-chips';\nimport * as i2 from '@angular/material/stepper';\nimport { MatStepper, MatStep, MatStepperModule } from '@angular/material/stepper';\nimport { MatDatepickerModule } from '@angular/material/datepicker';\nimport { MatLegacyDialogModule } from '@angular/material/legacy-dialog';\nimport { MatDividerModule } from '@angular/material/divider';\nimport { MatExpansionModule } from '@angular/material/expansion';\nimport { MatGridListModule } from '@angular/material/grid-list';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatLegacyInputModule } from '@angular/material/legacy-input';\nimport { MatLegacyListModule } from '@angular/material/legacy-list';\nimport { MatLegacyMenuModule } from '@angular/material/legacy-menu';\nimport { MatNativeDateModule, MatRippleModule } from '@angular/material/core';\nimport { MatLegacyPaginatorModule } from '@angular/material/legacy-paginator';\nimport { MatLegacyProgressBarModule } from '@angular/material/legacy-progress-bar';\nimport { MatLegacyProgressSpinnerModule } from '@angular/material/legacy-progress-spinner';\nimport { MatLegacyRadioModule } from '@angular/material/legacy-radio';\nimport { MatLegacySelectModule } from '@angular/material/legacy-select';\nimport { MatSidenavModule } from '@angular/material/sidenav';\nimport { MatLegacySliderModule } from '@angular/material/legacy-slider';\nimport { MatLegacySlideToggleModule } from '@angular/material/legacy-slide-toggle';\nimport { MatLegacySnackBarModule } from '@angular/material/legacy-snack-bar';\nimport { MatSortModule } from '@angular/material/sort';\nimport { MatLegacyTableModule } from '@angular/material/legacy-table';\nimport { MatLegacyTabsModule } from '@angular/material/legacy-tabs';\nimport { MatToolbarModule } from '@angular/material/toolbar';\nimport { MatLegacyTooltipModule } from '@angular/material/legacy-tooltip';\nimport { MatTreeModule } from '@angular/material/tree';\nimport { Directionality } from '@angular/cdk/bidi';\nimport { ScrollingModule as ScrollingModule$1 } from '@angular/cdk-experimental/scrolling';\n\nconst MAT_STEPPER_PROXY_FACTORY_PROVIDER = {\n provide: MatStepper,\n deps: [\n forwardRef(() => ResponsiveStepperComponent),\n [new Optional(), Directionality],\n ChangeDetectorRef,\n [new Inject(DOCUMENT)]\n ],\n useFactory: MAT_STEPPER_PROXY_FACTORY\n};\nconst CDK_STEPPER_PROXY_FACTORY_PROVIDER = { ...MAT_STEPPER_PROXY_FACTORY_PROVIDER, provide: CdkStepper };\nfunction MAT_STEPPER_PROXY_FACTORY(component, directionality, changeDetectorRef, document) {\n // We create a fake stepper primarily so we can generate a proxy from it. The fake one, however, is used until\n // our view is initialized. The reason we need a proxy is so we can toggle between our 2 steppers\n // (vertical and horizontal) depending on our \"orientation\" property. Probably a good idea to include a polyfill\n // for the Proxy class: https://github.com/GoogleChrome/proxy-polyfill.\n const elementRef = new ElementRef(document.createElement('mat-horizontal-stepper'));\n const stepper = new MatStepper(directionality, changeDetectorRef, elementRef /*, document*/);\n return new Proxy(stepper, {\n get: (target, property) => Reflect.get(component.stepper || target, property),\n set: (target, property, value) => Reflect.set(component.stepper || target, property, value)\n });\n}\n/**\n * Configurable vertical/horizontal layout.<br>\n * Keeps input fields state.<br>\n * Allow to make headers un-clickable (disabled) with normal cursor: see updateStepState().\n *\n * Authors: @grant77, @davideas\n */\nclass ResponsiveStepperComponent {\n constructor() {\n // public events\n this.animationDone = new EventEmitter();\n this.selectionChange = new EventEmitter();\n this.orientationChange = new EventEmitter();\n this.needsFocus = false;\n this.htmlSteps = [];\n }\n get stepper() {\n return this.stepperList && this.stepperList.first;\n }\n /*constructor(private changeDetectorRef: ChangeDetectorRef) {\n }*/\n ngAfterViewInit() {\n this.reset();\n this.stepperList.changes.subscribe(() => this.reset());\n // Emitted from (animationDone) event\n this.selectionChange.subscribe((e) => this.lastSelectedIndex = e.selectedIndex);\n this.syncHTMLSteps();\n // Initial step selection with enter animation if initial step > 1\n setTimeout(() => this.stepper.selectedIndex = this.selectedIndex, 400);\n }\n ngAfterViewChecked() {\n if (this.needsFocus) {\n this.needsFocus = false;\n const { _elementRef, _keyManager, selectedIndex } = this.stepper;\n _elementRef.nativeElement.focus();\n _keyManager.setActiveItem(selectedIndex);\n }\n }\n get isHorizontal() {\n return this.orientation === 'horizontal';\n }\n get isVertical() {\n return this.orientation === 'vertical';\n }\n next() {\n this.stepper.next();\n }\n previous() {\n this.stepper.previous();\n }\n /**\n * Enable/Disable the click on the step header.\n *\n * @param step The step number\n * @param enabled The new state\n */\n updateStepState(step, enabled) {\n if (this.htmlSteps.length > 0) {\n this.htmlSteps[step - 1].style.pointerEvents = enabled ? '' : 'none';\n }\n }\n /**\n * Sync from the dom the list of HTML elements for the steps.\n */\n syncHTMLSteps() {\n this.htmlSteps = [];\n let increment = 1;\n let stepper = document.querySelector('.mat-stepper-vertical');\n if (!stepper) {\n increment = 2; // 2, because Angular adds 2 elements for each horizontal step\n stepper = document.querySelector('.mat-horizontal-stepper-header-container');\n }\n for (let i = 0; i < stepper.children.length; i += increment) {\n this.htmlSteps.push(stepper.children[i]);\n }\n }\n reset() {\n // Delay is necessary (Too early in AfterViewInit: HTMLElements not loaded)\n setTimeout(() => this.syncHTMLSteps(), 100);\n const { stepper, steps, /*, changeDetectorRef,*/ lastSelectedIndex } = this;\n stepper.steps.reset(steps.toArray());\n stepper.steps.notifyOnChanges();\n if (lastSelectedIndex) {\n stepper.selectedIndex = lastSelectedIndex;\n // After htmlSteps have been synced\n setTimeout(() => this.orientationChange.emit(this.orientation), 101);\n }\n /*Promise.resolve().then(() => {\n this.needsFocus = true;\n changeDetectorRef.markForCheck();\n });*/\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ResponsiveStepperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: ResponsiveStepperComponent, selector: \"responsive-stepper\", inputs: { labelPosition: \"labelPosition\", linear: \"linear\", orientation: \"orientation\", selected: \"selected\", selectedIndex: \"selectedIndex\" }, outputs: { animationDone: \"animationDone\", selectionChange: \"selectionChange\", orientationChange: \"orientationChange\" }, providers: [\n MAT_STEPPER_PROXY_FACTORY_PROVIDER,\n CDK_STEPPER_PROXY_FACTORY_PROVIDER\n ], queries: [{ propertyName: \"steps\", predicate: MatStep }], viewQueries: [{ propertyName: \"stepperList\", predicate: MatStepper, descendants: true }], ngImport: i0, template: `\n <ng-container [ngSwitch]=\"orientation\">\n <mat-horizontal-stepper *ngSwitchDefault\n [labelPosition]=\"labelPosition\"\n [linear]=\"linear\"\n [selected]=\"selected\"\n [selectedIndex]=\"selectedIndex\"\n (animationDone)=\"animationDone.emit($event)\"\n (selectionChange)=\"selectionChange.emit($event)\">\n </mat-horizontal-stepper>\n <mat-vertical-stepper *ngSwitchCase=\"'vertical'\"\n [linear]=\"linear\"\n [selected]=\"selected\"\n [selectedIndex]=\"selectedIndex\"\n (animationDone)=\"animationDone.emit($event)\"\n (selectionChange)=\"selectionChange.emit($event)\">\n </mat-vertical-stepper>\n </ng-container>`, isInline: true, dependencies: [{ kind: \"directive\", type: i1.NgSwitch, selector: \"[ngSwitch]\", inputs: [\"ngSwitch\"] }, { kind: \"directive\", type: i1.NgSwitchCase, selector: \"[ngSwitchCase]\", inputs: [\"ngSwitchCase\"] }, { kind: \"directive\", type: i1.NgSwitchDefault, selector: \"[ngSwitchDefault]\" }, { kind: \"component\", type: i2.MatStepper, selector: \"mat-stepper, mat-vertical-stepper, mat-horizontal-stepper, [matStepper]\", inputs: [\"selectedIndex\", \"disableRipple\", \"color\", \"labelPosition\", \"headerPosition\", \"animationDuration\"], outputs: [\"animationDone\"], exportAs: [\"matStepper\", \"matVerticalStepper\", \"matHorizontalStepper\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ResponsiveStepperComponent, decorators: [{\n type: Component,\n args: [{\n selector: 'responsive-stepper',\n // templateUrl: './stepper.component.html',\n // styleUrls: ['./stepper.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n MAT_STEPPER_PROXY_FACTORY_PROVIDER,\n CDK_STEPPER_PROXY_FACTORY_PROVIDER\n ],\n template: `\n <ng-container [ngSwitch]=\"orientation\">\n <mat-horizontal-stepper *ngSwitchDefault\n [labelPosition]=\"labelPosition\"\n [linear]=\"linear\"\n [selected]=\"selected\"\n [selectedIndex]=\"selectedIndex\"\n (animationDone)=\"animationDone.emit($event)\"\n (selectionChange)=\"selectionChange.emit($event)\">\n </mat-horizontal-stepper>\n <mat-vertical-stepper *ngSwitchCase=\"'vertical'\"\n [linear]=\"linear\"\n [selected]=\"selected\"\n [selectedIndex]=\"selectedIndex\"\n (animationDone)=\"animationDone.emit($event)\"\n (selectionChange)=\"selectionChange.emit($event)\">\n </mat-vertical-stepper>\n </ng-container>`\n }]\n }], propDecorators: { labelPosition: [{\n type: Input\n }], linear: [{\n type: Input\n }], orientation: [{\n type: Input\n }], selected: [{\n type: Input\n }], selectedIndex: [{\n type: Input\n }], animationDone: [{\n type: Output\n }], selectionChange: [{\n type: Output\n }], orientationChange: [{\n type: Output\n }], stepperList: [{\n type: ViewChildren,\n args: [MatStepper]\n }], steps: [{\n type: ContentChildren,\n args: [MatStep]\n }] } });\n\nclass MaterialModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: MaterialModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: MaterialModule, declarations: [ResponsiveStepperComponent], imports: [CommonModule, CdkStepperModule, MatStepperModule], exports: [A11yModule,\n CdkStepperModule,\n CdkTableModule,\n CdkTreeModule,\n DragDropModule,\n MatLegacyAutocompleteModule,\n MatBadgeModule,\n MatBottomSheetModule,\n MatLegacyButtonModule,\n MatButtonToggleModule,\n MatLegacyCardModule,\n MatLegacyCheckboxModule,\n MatLegacyChipsModule,\n MatStepperModule,\n MatDatepickerModule,\n MatLegacyDialogModule,\n MatDividerModule,\n MatExpansionModule,\n MatGridListModule,\n MatIconModule,\n MatLegacyInputModule,\n MatLegacyListModule,\n MatLegacyMenuModule,\n MatNativeDateModule,\n MatLegacyPaginatorModule,\n MatLegacyProgressBarModule,\n MatLegacyProgressSpinnerModule,\n MatLegacyRadioModule,\n MatRippleModule,\n MatLegacySelectModule,\n MatSidenavModule,\n MatLegacySliderModule,\n MatLegacySlideToggleModule,\n MatLegacySnackBarModule,\n MatSortModule,\n MatLegacyTableModule,\n MatLegacyTabsModule,\n MatToolbarModule,\n MatLegacyTooltipModule,\n MatTreeModule,\n PortalModule,\n ScrollingModule,\n ScrollingModule$1,\n // MatFormFieldModule,\n ResponsiveStepperComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: MaterialModule, imports: [CommonModule, CdkStepperModule, MatStepperModule, A11yModule,\n CdkStepperModule,\n CdkTableModule,\n CdkTreeModule,\n DragDropModule,\n MatLegacyAutocompleteModule,\n MatBadgeModule,\n MatBottomSheetModule,\n MatLegacyButtonModule,\n MatButtonToggleModule,\n MatLegacyCardModule,\n MatLegacyCheckboxModule,\n MatLegacyChipsModule,\n MatStepperModule,\n MatDatepickerModule,\n MatLegacyDialogModule,\n MatDividerModule,\n MatExpansionModule,\n MatGridListModule,\n MatIconModule,\n MatLegacyInputModule,\n MatLegacyListModule,\n MatLegacyMenuModule,\n MatNativeDateModule,\n MatLegacyPaginatorModule,\n MatLegacyProgressBarModule,\n MatLegacyProgressSpinnerModule,\n MatLegacyRadioModule,\n MatRippleModule,\n MatLegacySelectModule,\n MatSidenavModule,\n MatLegacySliderModule,\n MatLegacySlideToggleModule,\n MatLegacySnackBarModule,\n MatSortModule,\n MatLegacyTableModule,\n MatLegacyTabsModule,\n MatToolbarModule,\n MatLegacyTooltipModule,\n MatTreeModule,\n PortalModule,\n ScrollingModule,\n ScrollingModule$1] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: MaterialModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [CommonModule, CdkStepperModule, MatStepperModule],\n exports: [\n A11yModule,\n CdkStepperModule,\n CdkTableModule,\n CdkTreeModule,\n DragDropModule,\n MatLegacyAutocompleteModule,\n MatBadgeModule,\n MatBottomSheetModule,\n MatLegacyButtonModule,\n MatButtonToggleModule,\n MatLegacyCardModule,\n MatLegacyCheckboxModule,\n MatLegacyChipsModule,\n MatStepperModule,\n MatDatepickerModule,\n MatLegacyDialogModule,\n MatDividerModule,\n MatExpansionModule,\n MatGridListModule,\n MatIconModule,\n MatLegacyInputModule,\n MatLegacyListModule,\n MatLegacyMenuModule,\n MatNativeDateModule,\n MatLegacyPaginatorModule,\n MatLegacyProgressBarModule,\n MatLegacyProgressSpinnerModule,\n MatLegacyRadioModule,\n MatRippleModule,\n MatLegacySelectModule,\n MatSidenavModule,\n MatLegacySliderModule,\n MatLegacySlideToggleModule,\n MatLegacySnackBarModule,\n MatSortModule,\n MatLegacyTableModule,\n MatLegacyTabsModule,\n MatToolbarModule,\n MatLegacyTooltipModule,\n MatTreeModule,\n PortalModule,\n ScrollingModule,\n ScrollingModule$1,\n // MatFormFieldModule,\n ResponsiveStepperComponent\n ],\n declarations: [ResponsiveStepperComponent]\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MAT_STEPPER_PROXY_FACTORY, MaterialModule, ResponsiveStepperComponent };\n"],"x_google_ignoreList":[0,1]} \ No newline at end of file diff --git a/3930.97578bdc08b7bf9d.js b/3930.97578bdc08b7bf9d.js new file mode 100644 index 0000000..3b760a7 --- /dev/null +++ b/3930.97578bdc08b7bf9d.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[3930,5106,1551],{50253:(z,f,i)=>{i.d(f,{x:()=>L});var h=i(95106),_=i(78069),s=i(48047),c=i(4089),d=i(20265),e=i(24582),b=i(28694),O=i(90833),I=i(17714),M=(0,i(27543).d)(function(E){return function(){E(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),P=i(39663),k=i(12309),L=function(){var E=function(x){(0,e.Z)(y,x);var T=(0,b.Z)(y);function y(){var l;return(0,_.Z)(this,y),(l=T.call(this)).closed=!1,l.currentObservers=null,l.observers=[],l.isStopped=!1,l.hasError=!1,l.thrownError=null,l}return(0,s.Z)(y,[{key:"lift",value:function(t){var u=new w(this,this);return u.operator=t,u}},{key:"_throwIfClosed",value:function(){if(this.closed)throw new M}},{key:"next",value:function(t){var u=this;(0,k.x)(function(){if(u._throwIfClosed(),!u.isStopped){u.currentObservers||(u.currentObservers=Array.from(u.observers));var D,S=(0,h.Z)(u.currentObservers);try{for(S.s();!(D=S.n()).done;)D.value.next(t)}catch(B){S.e(B)}finally{S.f()}}})}},{key:"error",value:function(t){var u=this;(0,k.x)(function(){if(u._throwIfClosed(),!u.isStopped){u.hasError=u.isStopped=!0,u.thrownError=t;for(var S=u.observers;S.length;)S.shift().error(t)}})}},{key:"complete",value:function(){var t=this;(0,k.x)(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var u=t.observers;u.length;)u.shift().complete()}})}},{key:"unsubscribe",value:function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}},{key:"observed",get:function(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}},{key:"_trySubscribe",value:function(t){return this._throwIfClosed(),(0,c.Z)((0,d.Z)(y.prototype),"_trySubscribe",this).call(this,t)}},{key:"_subscribe",value:function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}},{key:"_innerSubscribe",value:function(t){var u=this,A=this.observers;return this.hasError||this.isStopped?I.Lc:(this.currentObservers=null,A.push(t),new I.w0(function(){u.currentObservers=null,(0,P.P)(A,t)}))}},{key:"_checkFinalizedStatuses",value:function(t){var D=this.isStopped;this.hasError?t.error(this.thrownError):D&&t.complete()}},{key:"asObservable",value:function(){var t=new O.y;return t.source=this,t}}]),y}(O.y);return E.create=function(x,T){return new w(x,T)},E}(),w=function(E){(0,e.Z)(T,E);var x=(0,b.Z)(T);function T(y,l){var t;return(0,_.Z)(this,T),(t=x.call(this)).destination=y,t.source=l,t}return(0,s.Z)(T,[{key:"next",value:function(l){var t,u;null===(u=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===u||u.call(t,l)}},{key:"error",value:function(l){var t,u;null===(u=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===u||u.call(t,l)}},{key:"complete",value:function(){var l,t;null===(t=null===(l=this.destination)||void 0===l?void 0:l.complete)||void 0===t||t.call(l)}},{key:"_subscribe",value:function(l){var t,u;return null!==(u=null===(t=this.source)||void 0===t?void 0:t.subscribe(l))&&void 0!==u?u:I.Lc}}]),T}(L)},86907:(z,f,i)=>{i.r(f),i.d(f,{MAT_PAGINATOR_DEFAULT_OPTIONS:()=>A,MAT_PAGINATOR_INTL_PROVIDER:()=>u,MAT_PAGINATOR_INTL_PROVIDER_FACTORY:()=>t,MatPaginator:()=>V,MatPaginatorIntl:()=>l,MatPaginatorModule:()=>W,PageEvent:()=>D,_MatPaginatorBase:()=>R});var h=i(24582),_=i(28694),s=i(48047),c=i(78069),d=i(94055),e=i(56718),b=i(50253),O=i(64049),I=i(25857),C=i(63251),M=i(6606),P=i(35333),k=i(137);function L(n,v){if(1&n&&(e.\u0275\u0275elementStart(0,"mat-option",19),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&n){var p=v.$implicit;e.\u0275\u0275property("value",p),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",p," ")}}function w(n,v){if(1&n){var p=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"mat-form-field",16)(1,"mat-select",17),e.\u0275\u0275listener("selectionChange",function(o){e.\u0275\u0275restoreView(p);var m=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(m._changePageSize(o.value))}),e.\u0275\u0275template(2,L,2,2,"mat-option",18),e.\u0275\u0275elementEnd()()}if(2&n){var a=e.\u0275\u0275nextContext(2);e.\u0275\u0275property("appearance",a._formFieldAppearance)("color",a.color),e.\u0275\u0275advance(1),e.\u0275\u0275property("value",a.pageSize)("disabled",a.disabled)("aria-labelledby",a._pageSizeLabelId)("panelClass",a.selectConfig.panelClass||"")("disableOptionCentering",a.selectConfig.disableOptionCentering),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",a._displayedPageSizeOptions)}}function E(n,v){if(1&n&&(e.\u0275\u0275elementStart(0,"div",20),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&n){var p=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate(p.pageSize)}}function x(n,v){if(1&n&&(e.\u0275\u0275elementStart(0,"div",12)(1,"div",13),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(3,w,3,8,"mat-form-field",14),e.\u0275\u0275template(4,E,2,1,"div",15),e.\u0275\u0275elementEnd()),2&n){var p=e.\u0275\u0275nextContext();e.\u0275\u0275advance(1),e.\u0275\u0275propertyInterpolate("id",p._pageSizeLabelId),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",p._intl.itemsPerPageLabel," "),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",p._displayedPageSizeOptions.length>1),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",p._displayedPageSizeOptions.length<=1)}}function T(n,v){if(1&n){var p=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"button",21),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(p);var o=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(o.firstPage())}),e.\u0275\u0275namespaceSVG(),e.\u0275\u0275elementStart(1,"svg",7),e.\u0275\u0275element(2,"path",22),e.\u0275\u0275elementEnd()()}if(2&n){var a=e.\u0275\u0275nextContext();e.\u0275\u0275property("matTooltip",a._intl.firstPageLabel)("matTooltipDisabled",a._previousButtonsDisabled())("matTooltipPosition","above")("disabled",a._previousButtonsDisabled()),e.\u0275\u0275attribute("aria-label",a._intl.firstPageLabel)}}function y(n,v){if(1&n){var p=e.\u0275\u0275getCurrentView();e.\u0275\u0275namespaceSVG(),e.\u0275\u0275namespaceHTML(),e.\u0275\u0275elementStart(0,"button",23),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(p);var o=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(o.lastPage())}),e.\u0275\u0275namespaceSVG(),e.\u0275\u0275elementStart(1,"svg",7),e.\u0275\u0275element(2,"path",24),e.\u0275\u0275elementEnd()()}if(2&n){var a=e.\u0275\u0275nextContext();e.\u0275\u0275property("matTooltip",a._intl.lastPageLabel)("matTooltipDisabled",a._nextButtonsDisabled())("matTooltipPosition","above")("disabled",a._nextButtonsDisabled()),e.\u0275\u0275attribute("aria-label",a._intl.lastPageLabel)}}var l=function(){var n=(0,s.Z)(function v(){(0,c.Z)(this,v),this.changes=new b.x,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=function(p,a,r){if(0==r||0==a)return"0 of ".concat(r);var o=p*a,m=o<(r=Math.max(r,0))?Math.min(o+a,r):o+a;return"".concat(o+1," \u2013 ").concat(m," of ").concat(r)}});return n.\u0275fac=function(p){return new(p||n)},n.\u0275prov=e.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac,providedIn:"root"}),n}();function t(n){return n||new l}var u={provide:l,deps:[[new e.Optional,new e.SkipSelf,l]],useFactory:t},D=(0,s.Z)(function n(){(0,c.Z)(this,n)}),A=new e.InjectionToken("MAT_PAGINATOR_DEFAULT_OPTIONS"),B=(0,M.mixinDisabled)((0,M.mixinInitialized)(function(){return(0,s.Z)(function n(){(0,c.Z)(this,n)})}())),R=function(){var n=function(v){(0,h.Z)(a,v);var p=(0,_.Z)(a);function a(r,o,m){var g;if((0,c.Z)(this,a),(g=p.call(this))._intl=r,g._changeDetectorRef=o,g._pageIndex=0,g._length=0,g._pageSizeOptions=[],g._hidePageSize=!1,g._showFirstLastButtons=!1,g.selectConfig={},g.page=new e.EventEmitter,g._intlChanges=r.changes.subscribe(function(){return g._changeDetectorRef.markForCheck()}),m){var F=m.pageSize,Z=m.pageSizeOptions,N=m.hidePageSize,j=m.showFirstLastButtons;null!=F&&(g._pageSize=F),null!=Z&&(g._pageSizeOptions=Z),null!=N&&(g._hidePageSize=N),null!=j&&(g._showFirstLastButtons=j)}return g}return(0,s.Z)(a,[{key:"pageIndex",get:function(){return this._pageIndex},set:function(o){this._pageIndex=Math.max((0,P.coerceNumberProperty)(o),0),this._changeDetectorRef.markForCheck()}},{key:"length",get:function(){return this._length},set:function(o){this._length=(0,P.coerceNumberProperty)(o),this._changeDetectorRef.markForCheck()}},{key:"pageSize",get:function(){return this._pageSize},set:function(o){this._pageSize=Math.max((0,P.coerceNumberProperty)(o),0),this._updateDisplayedPageSizeOptions()}},{key:"pageSizeOptions",get:function(){return this._pageSizeOptions},set:function(o){this._pageSizeOptions=(o||[]).map(function(m){return(0,P.coerceNumberProperty)(m)}),this._updateDisplayedPageSizeOptions()}},{key:"hidePageSize",get:function(){return this._hidePageSize},set:function(o){this._hidePageSize=(0,P.coerceBooleanProperty)(o)}},{key:"showFirstLastButtons",get:function(){return this._showFirstLastButtons},set:function(o){this._showFirstLastButtons=(0,P.coerceBooleanProperty)(o)}},{key:"ngOnInit",value:function(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}},{key:"ngOnDestroy",value:function(){this._intlChanges.unsubscribe()}},{key:"nextPage",value:function(){if(this.hasNextPage()){var o=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(o)}}},{key:"previousPage",value:function(){if(this.hasPreviousPage()){var o=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(o)}}},{key:"firstPage",value:function(){if(this.hasPreviousPage()){var o=this.pageIndex;this.pageIndex=0,this._emitPageEvent(o)}}},{key:"lastPage",value:function(){if(this.hasNextPage()){var o=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(o)}}},{key:"hasPreviousPage",value:function(){return this.pageIndex>=1&&0!=this.pageSize}},{key:"hasNextPage",value:function(){var o=this.getNumberOfPages()-1;return this.pageIndex<o&&0!=this.pageSize}},{key:"getNumberOfPages",value:function(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}},{key:"_changePageSize",value:function(o){var g=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/o)||0,this.pageSize=o,this._emitPageEvent(g)}},{key:"_nextButtonsDisabled",value:function(){return this.disabled||!this.hasNextPage()}},{key:"_previousButtonsDisabled",value:function(){return this.disabled||!this.hasPreviousPage()}},{key:"_updateDisplayedPageSizeOptions",value:function(){this._initialized&&(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort(function(o,m){return o-m}),this._changeDetectorRef.markForCheck())}},{key:"_emitPageEvent",value:function(o){this.page.emit({previousPageIndex:o,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}]),a}(B);return n.\u0275fac=function(p){e.\u0275\u0275invalidFactory()},n.\u0275dir=e.\u0275\u0275defineDirective({type:n,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},features:[e.\u0275\u0275InheritDefinitionFeature]}),n}(),U=0,V=function(){var n=function(v){(0,h.Z)(a,v);var p=(0,_.Z)(a);function a(r,o,m){var g;return(0,c.Z)(this,a),(g=p.call(this,r,o,m))._pageSizeLabelId="mat-paginator-page-size-label-".concat(U++),g._formFieldAppearance=m?.formFieldAppearance||"outline",g}return(0,s.Z)(a)}(R);return n.\u0275fac=function(p){return new(p||n)(e.\u0275\u0275directiveInject(l),e.\u0275\u0275directiveInject(e.ChangeDetectorRef),e.\u0275\u0275directiveInject(A,8))},n.\u0275cmp=e.\u0275\u0275defineComponent({type:n,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[e.\u0275\u0275InheritDefinitionFeature],decls:14,vars:14,consts:[[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],["class","mat-mdc-paginator-page-size",4,"ngIf"],[1,"mat-mdc-paginator-range-actions"],["aria-live","polite",1,"mat-mdc-paginator-range-label"],["mat-icon-button","","type","button","class","mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-page-size-label",3,"id"],["class","mat-mdc-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-mdc-paginator-page-size-value",4,"ngIf"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],["hideSingleSelectionIndicator","",3,"value","disabled","aria-labelledby","panelClass","disableOptionCentering","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-mdc-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(p,a){1&p&&(e.\u0275\u0275elementStart(0,"div",0)(1,"div",1),e.\u0275\u0275template(2,x,5,4,"div",2),e.\u0275\u0275elementStart(3,"div",3)(4,"div",4),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(6,T,3,5,"button",5),e.\u0275\u0275elementStart(7,"button",6),e.\u0275\u0275listener("click",function(){return a.previousPage()}),e.\u0275\u0275namespaceSVG(),e.\u0275\u0275elementStart(8,"svg",7),e.\u0275\u0275element(9,"path",8),e.\u0275\u0275elementEnd()(),e.\u0275\u0275namespaceHTML(),e.\u0275\u0275elementStart(10,"button",9),e.\u0275\u0275listener("click",function(){return a.nextPage()}),e.\u0275\u0275namespaceSVG(),e.\u0275\u0275elementStart(11,"svg",7),e.\u0275\u0275element(12,"path",10),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(13,y,3,5,"button",11),e.\u0275\u0275elementEnd()()()),2&p&&(e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",!a.hidePageSize),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",a._intl.getRangeLabel(a.pageIndex,a.pageSize,a.length)," "),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",a.showFirstLastButtons),e.\u0275\u0275advance(1),e.\u0275\u0275property("matTooltip",a._intl.previousPageLabel)("matTooltipDisabled",a._previousButtonsDisabled())("matTooltipPosition","above")("disabled",a._previousButtonsDisabled()),e.\u0275\u0275attribute("aria-label",a._intl.previousPageLabel),e.\u0275\u0275advance(3),e.\u0275\u0275property("matTooltip",a._intl.nextPageLabel)("matTooltipDisabled",a._nextButtonsDisabled())("matTooltipPosition","above")("disabled",a._nextButtonsDisabled()),e.\u0275\u0275attribute("aria-label",a._intl.nextPageLabel),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",a.showFirstLastButtons))},dependencies:[d.NgForOf,d.NgIf,O.MatIconButton,k.MatFormField,I.MatSelect,M.MatOption,C.MatTooltip],styles:[".mat-mdc-paginator{display:block}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:84px}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon,.cdk-high-contrast-active .mat-mdc-paginator-icon{fill:currentColor;fill:CanvasText}.cdk-high-contrast-active .mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0}),n}(),W=function(){var n=(0,s.Z)(function v(){(0,c.Z)(this,v)});return n.\u0275fac=function(p){return new(p||n)},n.\u0275mod=e.\u0275\u0275defineNgModule({type:n}),n.\u0275inj=e.\u0275\u0275defineInjector({providers:[u],imports:[d.CommonModule,O.MatButtonModule,I.MatSelectModule,C.MatTooltipModule]}),n}()},44841:(z,f,i)=>{function h(_,s){(null==s||s>_.length)&&(s=_.length);for(var c=0,d=new Array(s);c<s;c++)d[c]=_[c];return d}i.d(f,{Z:()=>h})},95106:(z,f,i)=>{i.d(f,{Z:()=>_});var h=i(44206);function _(s,c){var d=typeof Symbol<"u"&&s[Symbol.iterator]||s["@@iterator"];if(!d){if(Array.isArray(s)||(d=(0,h.Z)(s))||c&&s&&"number"==typeof s.length){d&&(s=d);var e=0,b=function(){};return{s:b,n:function(){return e>=s.length?{done:!0}:{done:!1,value:s[e++]}},e:function(P){throw P},f:b}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var C,O=!0,I=!1;return{s:function(){d=d.call(s)},n:function(){var P=d.next();return O=P.done,P},e:function(P){I=!0,C=P},f:function(){try{!O&&null!=d.return&&d.return()}finally{if(I)throw C}}}}},4089:(z,f,i)=>{i.d(f,{Z:()=>s});var h=i(20265);function s(){return s=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(d,e,b){var O=function _(c,d){for(;!Object.prototype.hasOwnProperty.call(c,d)&&null!==(c=(0,h.Z)(c)););return c}(d,e);if(O){var I=Object.getOwnPropertyDescriptor(O,e);return I.get?I.get.call(arguments.length<3?d:b):I.value}},s.apply(this,arguments)}},4826:(z,f,i)=>{function h(_){if(typeof Symbol<"u"&&null!=_[Symbol.iterator]||null!=_["@@iterator"])return Array.from(_)}i.d(f,{Z:()=>h})},86170:(z,f,i)=>{i.d(f,{Z:()=>e});var h=i(44841),s=i(4826),c=i(44206);function e(b){return function _(b){if(Array.isArray(b))return(0,h.Z)(b)}(b)||(0,s.Z)(b)||(0,c.Z)(b)||function d(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(z,f,i)=>{i.d(f,{Z:()=>_});var h=i(44841);function _(s,c){if(s){if("string"==typeof s)return(0,h.Z)(s,c);var d=Object.prototype.toString.call(s).slice(8,-1);if("Object"===d&&s.constructor&&(d=s.constructor.name),"Map"===d||"Set"===d)return Array.from(s);if("Arguments"===d||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d))return(0,h.Z)(s,c)}}}}]); +//# sourceMappingURL=3930.97578bdc08b7bf9d.js.map \ No newline at end of file diff --git a/3930.97578bdc08b7bf9d.js.map b/3930.97578bdc08b7bf9d.js.map new file mode 100644 index 0000000..990b3ca --- /dev/null +++ b/3930.97578bdc08b7bf9d.js.map @@ -0,0 +1 @@ +{"version":3,"file":"3930.97578bdc08b7bf9d.js","mappings":"mNACaA,cAA0BC,GAAiB,SAACC,GAAM,OAAK,WAChEA,EAAOC,MACPA,KAAKC,KAAO,0BACZD,KAAKE,QAAU,qBACnB,CAAC,yBCAYC,EAAO,eAAPA,EAAO,SAAAC,IAAAC,OAAAF,EAAAC,GAAA,IAAAL,KAAAO,KAAAH,GAChB,SAAAA,IAAc,IAAAI,EAAAC,cAAAR,KAAAG,IACVI,EAAAR,EAAAU,KAAAT,OACKU,QAAS,EACdH,EAAKI,iBAAmB,KACxBJ,EAAKK,UAAY,GACjBL,E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OAAA,WAAA6B,EAAA7B,OAAAC,WAAA,MAAA4B,EAAA,qBAAAxO,MAAAC,KAAAuO,EACA,wFCEe,SAAAC,EAAArC,GACf,OCJe,SAAAsC,EAAAtC,GACf,GAAApM,MAAA6M,QAAAT,GAAA,SAAiCuC,EAAA5B,GAAgBX,EACjD,CDESsC,CAAiBtC,KAAA,EAASwC,EAAA7B,GAAeX,KAAA,EAASyC,EAAA9B,GAA0BX,IELtE,SAAA0C,IACf,UAAA5B,UAAA,uIACA,CFG8F4B,EAC9F,mDGLe,SAAAC,EAAAvC,EAAAwC,GACf,GAAAxC,EACA,qBAAAA,EAAA,SAAoCyC,EAAAlC,GAAgBP,EAAAwC,GACpD,IAAA1O,EAAA0N,OAAAzM,UAAA2N,SAAAlQ,KAAAwN,GAAAnD,MAAA,MAEA,GADA,WAAA/I,GAAAkM,EAAA2C,cAAA7O,EAAAkM,EAAA2C,YAAA3Q,MACA,QAAA8B,GAAA,QAAAA,EAAA,OAAAN,MAAAC,KAAAuM,GACA,iBAAAlM,GAAA,2CAAA8O,KAAA9O,GAAA,SAAsF2O,EAAAlC,GAAgBP,EAAAwC,EAAA,CACtG","names":["ObjectUnsubscribedError","createErrorClass","_super","this","name","message","Subject","_Observable","_inherits","_createSuper","_this","_classCallCheck","call","closed","currentObservers","observers","isStopped","hasError","thrownError","_createClass","key","value","operator","subject","AnonymousSubject","_this2","errorContext","_throwIfClosed","Array","from","_step","_iterator","_createForOfIteratorHelper","s","n","done","next","err","e","f","_this3","length","shift","error","_this4","complete","get","_a","subscriber","_get","_getPrototypeOf","prototype","_checkFinalizedStatuses","_innerSubscribe","_this5","EMPTY_SUBSCRIPTION","push","Subscription","arrRemove","observable","Observable","source","create","destination","_Subject","_super2","_this6","_b","subscribe","MatPaginator_div_2_mat_form_field_3_mat_option_2_Template","rf","ctx","i0","pageSizeOption_r6","$implicit","MatPaginator_div_2_mat_form_field_3_Template","_r8","$event","ctx_r7","_changePageSize","ctx_r3","_formFieldAppearance","color","pageSize","disabled","_pageSizeLabelId","selectConfig","panelClass","disableOptionCentering","_displayedPageSizeOptions","MatPaginator_div_2_div_4_Template","ctx_r4","MatPaginator_div_2_Template","ctx_r0","_intl","itemsPerPageLabel","MatPaginator_button_6_Template","_r10","ctx_r9","firstPage","ctx_r1","firstPageLabel","_previousButtonsDisabled","MatPaginator_button_13_Template","_r12","ctx_r11","lastPage","ctx_r2","lastPageLabel","_nextButtonsDisabled","MatPaginatorIntl","changes","nextPageLabel","previousPageLabel","getRangeLabel","page","concat","startIndex","endIndex","Math","max","min","ɵfac","t","ɵprov","token","factory","providedIn","MAT_PAGINATOR_INTL_PROVIDER_FACTORY","parentIntl","MAT_PAGINATOR_INTL_PROVIDER","provide","deps","Optional","SkipSelf","useFactory","PageEvent","MAT_PAGINATOR_DEFAULT_OPTIONS","InjectionToken","_MatPaginatorMixinBase","mixinDisabled","mixinInitialized","_class","_MatPaginatorBase","_MatPaginatorMixinBas","_changeDetectorRef","defaults","_pageIndex","_length","_pageSizeOptions","_hidePageSize","_showFirstLastButtons","EventEmitter","_intlChanges","markForCheck","pageSizeOptions","hidePageSize","showFirstLastButtons","_pageSize","set","coerceNumberProperty","_updateDisplayedPageSizeOptions","map","p","coerceBooleanProperty","_initialized","_markInitialized","unsubscribe","hasNextPage","previousPageIndex","pageIndex","_emitPageEvent","hasPreviousPage","getNumberOfPages","maxPageIndex","ceil","floor","slice","indexOf","sort","a","b","emit","ɵdir","type","inputs","outputs","features","nextUniqueId","MatPaginator","_MatPaginatorBase2","intl","changeDetectorRef","formFieldAppearance","ɵcmp","selectors","hostAttrs","exportAs","decls","vars","consts","template","previousPage","nextPage","dependencies","i2","i3","i4","i5","i6","i7","styles","encapsulation","changeDetection","MatPaginatorModule","ɵmod","ɵinj","providers","imports","CommonModule","MatButtonModule","MatSelectModule","MatTooltipModule","_arrayLikeToArray","arr","len","i","arr2","o","allowArrayLike","it","Symbol","iterator","isArray","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","_e","TypeError","normalCompletion","didErr","step","_e2","return","Reflect","bind","target","property","receiver","base","_superPropBase","object","Object","hasOwnProperty","getPrototypeOf","desc","getOwnPropertyDescriptor","arguments","apply","_iterableToArray","iter","_toConsumableArray","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","toString","constructor","test"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/util/ObjectUnsubscribedError.js","./node_modules/rxjs/dist/esm/internal/Subject.js","./node_modules/@angular/material/fesm2022/paginator.mjs","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { createErrorClass } from './createErrorClass';\nexport const ObjectUnsubscribedError = createErrorClass((_super) => function ObjectUnsubscribedErrorImpl() {\n _super(this);\n this.name = 'ObjectUnsubscribedError';\n this.message = 'object unsubscribed';\n});\n","import { Observable } from './Observable';\nimport { Subscription, EMPTY_SUBSCRIPTION } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { arrRemove } from './util/arrRemove';\nimport { errorContext } from './util/errorContext';\nexport class Subject extends Observable {\n constructor() {\n super();\n this.closed = false;\n this.currentObservers = null;\n this.observers = [];\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n lift(operator) {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n }\n _throwIfClosed() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n }\n next(value) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n if (!this.currentObservers) {\n this.currentObservers = Array.from(this.observers);\n }\n for (const observer of this.currentObservers) {\n observer.next(value);\n }\n }\n });\n }\n error(err) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.hasError = this.isStopped = true;\n this.thrownError = err;\n const { observers } = this;\n while (observers.length) {\n observers.shift().error(err);\n }\n }\n });\n }\n complete() {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.isStopped = true;\n const { observers } = this;\n while (observers.length) {\n observers.shift().complete();\n }\n }\n });\n }\n unsubscribe() {\n this.isStopped = this.closed = true;\n this.observers = this.currentObservers = null;\n }\n get observed() {\n var _a;\n return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;\n }\n _trySubscribe(subscriber) {\n this._throwIfClosed();\n return super._trySubscribe(subscriber);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._checkFinalizedStatuses(subscriber);\n return this._innerSubscribe(subscriber);\n }\n _innerSubscribe(subscriber) {\n const { hasError, isStopped, observers } = this;\n if (hasError || isStopped) {\n return EMPTY_SUBSCRIPTION;\n }\n this.currentObservers = null;\n observers.push(subscriber);\n return new Subscription(() => {\n this.currentObservers = null;\n arrRemove(observers, subscriber);\n });\n }\n _checkFinalizedStatuses(subscriber) {\n const { hasError, thrownError, isStopped } = this;\n if (hasError) {\n subscriber.error(thrownError);\n }\n else if (isStopped) {\n subscriber.complete();\n }\n }\n asObservable() {\n const observable = new Observable();\n observable.source = this;\n return observable;\n }\n}\nSubject.create = (destination, source) => {\n return new AnonymousSubject(destination, source);\n};\nexport class AnonymousSubject extends Subject {\n constructor(destination, source) {\n super();\n this.destination = destination;\n this.source = source;\n }\n next(value) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);\n }\n error(err) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);\n }\n complete() {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);\n }\n _subscribe(subscriber) {\n var _a, _b;\n return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;\n }\n}\n","import * as i2 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { Injectable, Optional, SkipSelf, InjectionToken, EventEmitter, Directive, Input, Output, Component, ChangeDetectionStrategy, ViewEncapsulation, Inject, NgModule } from '@angular/core';\nimport { Subject } from 'rxjs';\nimport * as i3 from '@angular/material/button';\nimport { MatButtonModule } from '@angular/material/button';\nimport * as i5 from '@angular/material/select';\nimport { MatSelectModule } from '@angular/material/select';\nimport * as i7 from '@angular/material/tooltip';\nimport { MatTooltipModule } from '@angular/material/tooltip';\nimport * as i6 from '@angular/material/core';\nimport { mixinDisabled, mixinInitialized } from '@angular/material/core';\nimport { coerceNumberProperty, coerceBooleanProperty } from '@angular/cdk/coercion';\nimport * as i4 from '@angular/material/form-field';\n\n/**\n * To modify the labels and text displayed, create a new instance of MatPaginatorIntl and\n * include it in a custom provider\n */\nclass MatPaginatorIntl {\n constructor() {\n /**\n * Stream to emit from when labels are changed. Use this to notify components when the labels have\n * changed after initialization.\n */\n this.changes = new Subject();\n /** A label for the page size selector. */\n this.itemsPerPageLabel = 'Items per page:';\n /** A label for the button that increments the current page. */\n this.nextPageLabel = 'Next page';\n /** A label for the button that decrements the current page. */\n this.previousPageLabel = 'Previous page';\n /** A label for the button that moves to the first page. */\n this.firstPageLabel = 'First page';\n /** A label for the button that moves to the last page. */\n this.lastPageLabel = 'Last page';\n /** A label for the range of items within the current page and the length of the whole list. */\n this.getRangeLabel = (page, pageSize, length) => {\n if (length == 0 || pageSize == 0) {\n return `0 of ${length}`;\n }\n length = Math.max(length, 0);\n const startIndex = page * pageSize;\n // If the start index exceeds the list length, do not try and fix the end index to the end.\n const endIndex = startIndex < length ? Math.min(startIndex + pageSize, length) : startIndex + pageSize;\n return `${startIndex + 1} – ${endIndex} of ${length}`;\n };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatPaginatorIntl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatPaginatorIntl, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatPaginatorIntl, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }] });\n/** @docs-private */\nfunction MAT_PAGINATOR_INTL_PROVIDER_FACTORY(parentIntl) {\n return parentIntl || new MatPaginatorIntl();\n}\n/** @docs-private */\nconst MAT_PAGINATOR_INTL_PROVIDER = {\n // If there is already an MatPaginatorIntl available, use that. Otherwise, provide a new one.\n provide: MatPaginatorIntl,\n deps: [[new Optional(), new SkipSelf(), MatPaginatorIntl]],\n useFactory: MAT_PAGINATOR_INTL_PROVIDER_FACTORY,\n};\n\n/** The default page size if there is no page size and there are no provided page size options. */\nconst DEFAULT_PAGE_SIZE = 50;\n/**\n * Change event object that is emitted when the user selects a\n * different page size or navigates to another page.\n */\nclass PageEvent {\n}\n/** Injection token that can be used to provide the default options for the paginator module. */\nconst MAT_PAGINATOR_DEFAULT_OPTIONS = new InjectionToken('MAT_PAGINATOR_DEFAULT_OPTIONS');\n// Boilerplate for applying mixins to _MatPaginatorBase.\n/** @docs-private */\nconst _MatPaginatorMixinBase = mixinDisabled(mixinInitialized(class {\n}));\n/**\n * Base class with all of the `MatPaginator` functionality.\n * @docs-private\n */\nclass _MatPaginatorBase extends _MatPaginatorMixinBase {\n /** The zero-based page index of the displayed list of items. Defaulted to 0. */\n get pageIndex() {\n return this._pageIndex;\n }\n set pageIndex(value) {\n this._pageIndex = Math.max(coerceNumberProperty(value), 0);\n this._changeDetectorRef.markForCheck();\n }\n /** The length of the total number of items that are being paginated. Defaulted to 0. */\n get length() {\n return this._length;\n }\n set length(value) {\n this._length = coerceNumberProperty(value);\n this._changeDetectorRef.markForCheck();\n }\n /** Number of items to display on a page. By default set to 50. */\n get pageSize() {\n return this._pageSize;\n }\n set pageSize(value) {\n this._pageSize = Math.max(coerceNumberProperty(value), 0);\n this._updateDisplayedPageSizeOptions();\n }\n /** The set of provided page size options to display to the user. */\n get pageSizeOptions() {\n return this._pageSizeOptions;\n }\n set pageSizeOptions(value) {\n this._pageSizeOptions = (value || []).map(p => coerceNumberProperty(p));\n this._updateDisplayedPageSizeOptions();\n }\n /** Whether to hide the page size selection UI from the user. */\n get hidePageSize() {\n return this._hidePageSize;\n }\n set hidePageSize(value) {\n this._hidePageSize = coerceBooleanProperty(value);\n }\n /** Whether to show the first/last buttons UI to the user. */\n get showFirstLastButtons() {\n return this._showFirstLastButtons;\n }\n set showFirstLastButtons(value) {\n this._showFirstLastButtons = coerceBooleanProperty(value);\n }\n constructor(_intl, _changeDetectorRef, defaults) {\n super();\n this._intl = _intl;\n this._changeDetectorRef = _changeDetectorRef;\n this._pageIndex = 0;\n this._length = 0;\n this._pageSizeOptions = [];\n this._hidePageSize = false;\n this._showFirstLastButtons = false;\n /** Used to configure the underlying `MatSelect` inside the paginator. */\n this.selectConfig = {};\n /** Event emitted when the paginator changes the page size or page index. */\n this.page = new EventEmitter();\n this._intlChanges = _intl.changes.subscribe(() => this._changeDetectorRef.markForCheck());\n if (defaults) {\n const { pageSize, pageSizeOptions, hidePageSize, showFirstLastButtons } = defaults;\n if (pageSize != null) {\n this._pageSize = pageSize;\n }\n if (pageSizeOptions != null) {\n this._pageSizeOptions = pageSizeOptions;\n }\n if (hidePageSize != null) {\n this._hidePageSize = hidePageSize;\n }\n if (showFirstLastButtons != null) {\n this._showFirstLastButtons = showFirstLastButtons;\n }\n }\n }\n ngOnInit() {\n this._initialized = true;\n this._updateDisplayedPageSizeOptions();\n this._markInitialized();\n }\n ngOnDestroy() {\n this._intlChanges.unsubscribe();\n }\n /** Advances to the next page if it exists. */\n nextPage() {\n if (!this.hasNextPage()) {\n return;\n }\n const previousPageIndex = this.pageIndex;\n this.pageIndex = this.pageIndex + 1;\n this._emitPageEvent(previousPageIndex);\n }\n /** Move back to the previous page if it exists. */\n previousPage() {\n if (!this.hasPreviousPage()) {\n return;\n }\n const previousPageIndex = this.pageIndex;\n this.pageIndex = this.pageIndex - 1;\n this._emitPageEvent(previousPageIndex);\n }\n /** Move to the first page if not already there. */\n firstPage() {\n // hasPreviousPage being false implies at the start\n if (!this.hasPreviousPage()) {\n return;\n }\n const previousPageIndex = this.pageIndex;\n this.pageIndex = 0;\n this._emitPageEvent(previousPageIndex);\n }\n /** Move to the last page if not already there. */\n lastPage() {\n // hasNextPage being false implies at the end\n if (!this.hasNextPage()) {\n return;\n }\n const previousPageIndex = this.pageIndex;\n this.pageIndex = this.getNumberOfPages() - 1;\n this._emitPageEvent(previousPageIndex);\n }\n /** Whether there is a previous page. */\n hasPreviousPage() {\n return this.pageIndex >= 1 && this.pageSize != 0;\n }\n /** Whether there is a next page. */\n hasNextPage() {\n const maxPageIndex = this.getNumberOfPages() - 1;\n return this.pageIndex < maxPageIndex && this.pageSize != 0;\n }\n /** Calculate the number of pages */\n getNumberOfPages() {\n if (!this.pageSize) {\n return 0;\n }\n return Math.ceil(this.length / this.pageSize);\n }\n /**\n * Changes the page size so that the first item displayed on the page will still be\n * displayed using the new page size.\n *\n * For example, if the page size is 10 and on the second page (items indexed 10-19) then\n * switching so that the page size is 5 will set the third page as the current page so\n * that the 10th item will still be displayed.\n */\n _changePageSize(pageSize) {\n // Current page needs to be updated to reflect the new page size. Navigate to the page\n // containing the previous page's first item.\n const startIndex = this.pageIndex * this.pageSize;\n const previousPageIndex = this.pageIndex;\n this.pageIndex = Math.floor(startIndex / pageSize) || 0;\n this.pageSize = pageSize;\n this._emitPageEvent(previousPageIndex);\n }\n /** Checks whether the buttons for going forwards should be disabled. */\n _nextButtonsDisabled() {\n return this.disabled || !this.hasNextPage();\n }\n /** Checks whether the buttons for going backwards should be disabled. */\n _previousButtonsDisabled() {\n return this.disabled || !this.hasPreviousPage();\n }\n /**\n * Updates the list of page size options to display to the user. Includes making sure that\n * the page size is an option and that the list is sorted.\n */\n _updateDisplayedPageSizeOptions() {\n if (!this._initialized) {\n return;\n }\n // If no page size is provided, use the first page size option or the default page size.\n if (!this.pageSize) {\n this._pageSize =\n this.pageSizeOptions.length != 0 ? this.pageSizeOptions[0] : DEFAULT_PAGE_SIZE;\n }\n this._displayedPageSizeOptions = this.pageSizeOptions.slice();\n if (this._displayedPageSizeOptions.indexOf(this.pageSize) === -1) {\n this._displayedPageSizeOptions.push(this.pageSize);\n }\n // Sort the numbers using a number-specific sort function.\n this._displayedPageSizeOptions.sort((a, b) => a - b);\n this._changeDetectorRef.markForCheck();\n }\n /** Emits an event notifying that a change of the paginator's properties has been triggered. */\n _emitPageEvent(previousPageIndex) {\n this.page.emit({\n previousPageIndex,\n pageIndex: this.pageIndex,\n pageSize: this.pageSize,\n length: this.length,\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatPaginatorBase, deps: \"invalid\", target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: _MatPaginatorBase, inputs: { color: \"color\", pageIndex: \"pageIndex\", length: \"length\", pageSize: \"pageSize\", pageSizeOptions: \"pageSizeOptions\", hidePageSize: \"hidePageSize\", showFirstLastButtons: \"showFirstLastButtons\", selectConfig: \"selectConfig\" }, outputs: { page: \"page\" }, usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatPaginatorBase, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: MatPaginatorIntl }, { type: i0.ChangeDetectorRef }, { type: undefined }]; }, propDecorators: { color: [{\n type: Input\n }], pageIndex: [{\n type: Input\n }], length: [{\n type: Input\n }], pageSize: [{\n type: Input\n }], pageSizeOptions: [{\n type: Input\n }], hidePageSize: [{\n type: Input\n }], showFirstLastButtons: [{\n type: Input\n }], selectConfig: [{\n type: Input\n }], page: [{\n type: Output\n }] } });\nlet nextUniqueId = 0;\n/**\n * Component to provide navigation between paged information. Displays the size of the current\n * page, user-selectable options to change that size, what items are being shown, and\n * navigational button to go to the previous or next page.\n */\nclass MatPaginator extends _MatPaginatorBase {\n constructor(intl, changeDetectorRef, defaults) {\n super(intl, changeDetectorRef, defaults);\n /** ID for the DOM node containing the paginator's items per page label. */\n this._pageSizeLabelId = `mat-paginator-page-size-label-${nextUniqueId++}`;\n this._formFieldAppearance = defaults?.formFieldAppearance || 'outline';\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatPaginator, deps: [{ token: MatPaginatorIntl }, { token: i0.ChangeDetectorRef }, { token: MAT_PAGINATOR_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatPaginator, selector: \"mat-paginator\", inputs: { disabled: \"disabled\" }, host: { attributes: { \"role\": \"group\" }, classAttribute: \"mat-mdc-paginator\" }, exportAs: [\"matPaginator\"], usesInheritance: true, ngImport: i0, template: \"<div class=\\\"mat-mdc-paginator-outer-container\\\">\\n <div class=\\\"mat-mdc-paginator-container\\\">\\n <div class=\\\"mat-mdc-paginator-page-size\\\" *ngIf=\\\"!hidePageSize\\\">\\n <div class=\\\"mat-mdc-paginator-page-size-label\\\" id=\\\"{{_pageSizeLabelId}}\\\">\\n {{_intl.itemsPerPageLabel}}\\n </div>\\n\\n <mat-form-field\\n *ngIf=\\\"_displayedPageSizeOptions.length > 1\\\"\\n [appearance]=\\\"_formFieldAppearance!\\\"\\n [color]=\\\"color\\\"\\n class=\\\"mat-mdc-paginator-page-size-select\\\">\\n <mat-select\\n [value]=\\\"pageSize\\\"\\n [disabled]=\\\"disabled\\\"\\n [aria-labelledby]=\\\"_pageSizeLabelId\\\"\\n [panelClass]=\\\"selectConfig.panelClass || ''\\\"\\n [disableOptionCentering]=\\\"selectConfig.disableOptionCentering\\\"\\n (selectionChange)=\\\"_changePageSize($event.value)\\\"\\n hideSingleSelectionIndicator>\\n <mat-option *ngFor=\\\"let pageSizeOption of _displayedPageSizeOptions\\\" [value]=\\\"pageSizeOption\\\">\\n {{pageSizeOption}}\\n </mat-option>\\n </mat-select>\\n </mat-form-field>\\n\\n <div\\n class=\\\"mat-mdc-paginator-page-size-value\\\"\\n *ngIf=\\\"_displayedPageSizeOptions.length <= 1\\\">{{pageSize}}</div>\\n </div>\\n\\n <div class=\\\"mat-mdc-paginator-range-actions\\\">\\n <div class=\\\"mat-mdc-paginator-range-label\\\" aria-live=\\\"polite\\\">\\n {{_intl.getRangeLabel(pageIndex, pageSize, length)}}\\n </div>\\n\\n <button mat-icon-button type=\\\"button\\\"\\n class=\\\"mat-mdc-paginator-navigation-first\\\"\\n (click)=\\\"firstPage()\\\"\\n [attr.aria-label]=\\\"_intl.firstPageLabel\\\"\\n [matTooltip]=\\\"_intl.firstPageLabel\\\"\\n [matTooltipDisabled]=\\\"_previousButtonsDisabled()\\\"\\n [matTooltipPosition]=\\\"'above'\\\"\\n [disabled]=\\\"_previousButtonsDisabled()\\\"\\n *ngIf=\\\"showFirstLastButtons\\\">\\n <svg class=\\\"mat-mdc-paginator-icon\\\"\\n viewBox=\\\"0 0 24 24\\\"\\n focusable=\\\"false\\\"\\n aria-hidden=\\\"true\\\">\\n <path d=\\\"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z\\\"/>\\n </svg>\\n </button>\\n <button mat-icon-button type=\\\"button\\\"\\n class=\\\"mat-mdc-paginator-navigation-previous\\\"\\n (click)=\\\"previousPage()\\\"\\n [attr.aria-label]=\\\"_intl.previousPageLabel\\\"\\n [matTooltip]=\\\"_intl.previousPageLabel\\\"\\n [matTooltipDisabled]=\\\"_previousButtonsDisabled()\\\"\\n [matTooltipPosition]=\\\"'above'\\\"\\n [disabled]=\\\"_previousButtonsDisabled()\\\">\\n <svg class=\\\"mat-mdc-paginator-icon\\\"\\n viewBox=\\\"0 0 24 24\\\"\\n focusable=\\\"false\\\"\\n aria-hidden=\\\"true\\\">\\n <path d=\\\"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z\\\"/>\\n </svg>\\n </button>\\n <button mat-icon-button type=\\\"button\\\"\\n class=\\\"mat-mdc-paginator-navigation-next\\\"\\n (click)=\\\"nextPage()\\\"\\n [attr.aria-label]=\\\"_intl.nextPageLabel\\\"\\n [matTooltip]=\\\"_intl.nextPageLabel\\\"\\n [matTooltipDisabled]=\\\"_nextButtonsDisabled()\\\"\\n [matTooltipPosition]=\\\"'above'\\\"\\n [disabled]=\\\"_nextButtonsDisabled()\\\">\\n <svg class=\\\"mat-mdc-paginator-icon\\\"\\n viewBox=\\\"0 0 24 24\\\"\\n focusable=\\\"false\\\"\\n aria-hidden=\\\"true\\\">\\n <path d=\\\"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z\\\"/>\\n </svg>\\n </button>\\n <button mat-icon-button type=\\\"button\\\"\\n class=\\\"mat-mdc-paginator-navigation-last\\\"\\n (click)=\\\"lastPage()\\\"\\n [attr.aria-label]=\\\"_intl.lastPageLabel\\\"\\n [matTooltip]=\\\"_intl.lastPageLabel\\\"\\n [matTooltipDisabled]=\\\"_nextButtonsDisabled()\\\"\\n [matTooltipPosition]=\\\"'above'\\\"\\n [disabled]=\\\"_nextButtonsDisabled()\\\"\\n *ngIf=\\\"showFirstLastButtons\\\">\\n <svg class=\\\"mat-mdc-paginator-icon\\\"\\n viewBox=\\\"0 0 24 24\\\"\\n focusable=\\\"false\\\"\\n aria-hidden=\\\"true\\\">\\n <path d=\\\"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z\\\"/>\\n </svg>\\n </button>\\n </div>\\n </div>\\n</div>\\n\", styles: [\".mat-mdc-paginator{display:block}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:84px}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon,.cdk-high-contrast-active .mat-mdc-paginator-icon{fill:currentColor;fill:CanvasText}.cdk-high-contrast-active .mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}\"], dependencies: [{ kind: \"directive\", type: i2.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"component\", type: i3.MatIconButton, selector: \"button[mat-icon-button]\", inputs: [\"disabled\", \"disableRipple\", \"color\"], exportAs: [\"matButton\"] }, { kind: \"component\", type: i4.MatFormField, selector: \"mat-form-field\", inputs: [\"hideRequiredMarker\", \"color\", \"floatLabel\", \"appearance\", \"subscriptSizing\", \"hintLabel\"], exportAs: [\"matFormField\"] }, { kind: \"component\", type: i5.MatSelect, selector: \"mat-select\", inputs: [\"disabled\", \"disableRipple\", \"tabIndex\", \"hideSingleSelectionIndicator\"], exportAs: [\"matSelect\"] }, { kind: \"component\", type: i6.MatOption, selector: \"mat-option\", exportAs: [\"matOption\"] }, { kind: \"directive\", type: i7.MatTooltip, selector: \"[matTooltip]\", exportAs: [\"matTooltip\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatPaginator, decorators: [{\n type: Component,\n args: [{ selector: 'mat-paginator', exportAs: 'matPaginator', inputs: ['disabled'], host: {\n 'class': 'mat-mdc-paginator',\n 'role': 'group',\n }, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: \"<div class=\\\"mat-mdc-paginator-outer-container\\\">\\n <div class=\\\"mat-mdc-paginator-container\\\">\\n <div class=\\\"mat-mdc-paginator-page-size\\\" *ngIf=\\\"!hidePageSize\\\">\\n <div class=\\\"mat-mdc-paginator-page-size-label\\\" id=\\\"{{_pageSizeLabelId}}\\\">\\n {{_intl.itemsPerPageLabel}}\\n </div>\\n\\n <mat-form-field\\n *ngIf=\\\"_displayedPageSizeOptions.length > 1\\\"\\n [appearance]=\\\"_formFieldAppearance!\\\"\\n [color]=\\\"color\\\"\\n class=\\\"mat-mdc-paginator-page-size-select\\\">\\n <mat-select\\n [value]=\\\"pageSize\\\"\\n [disabled]=\\\"disabled\\\"\\n [aria-labelledby]=\\\"_pageSizeLabelId\\\"\\n [panelClass]=\\\"selectConfig.panelClass || ''\\\"\\n [disableOptionCentering]=\\\"selectConfig.disableOptionCentering\\\"\\n (selectionChange)=\\\"_changePageSize($event.value)\\\"\\n hideSingleSelectionIndicator>\\n <mat-option *ngFor=\\\"let pageSizeOption of _displayedPageSizeOptions\\\" [value]=\\\"pageSizeOption\\\">\\n {{pageSizeOption}}\\n </mat-option>\\n </mat-select>\\n </mat-form-field>\\n\\n <div\\n class=\\\"mat-mdc-paginator-page-size-value\\\"\\n *ngIf=\\\"_displayedPageSizeOptions.length <= 1\\\">{{pageSize}}</div>\\n </div>\\n\\n <div class=\\\"mat-mdc-paginator-range-actions\\\">\\n <div class=\\\"mat-mdc-paginator-range-label\\\" aria-live=\\\"polite\\\">\\n {{_intl.getRangeLabel(pageIndex, pageSize, length)}}\\n </div>\\n\\n <button mat-icon-button type=\\\"button\\\"\\n class=\\\"mat-mdc-paginator-navigation-first\\\"\\n (click)=\\\"firstPage()\\\"\\n [attr.aria-label]=\\\"_intl.firstPageLabel\\\"\\n [matTooltip]=\\\"_intl.firstPageLabel\\\"\\n [matTooltipDisabled]=\\\"_previousButtonsDisabled()\\\"\\n [matTooltipPosition]=\\\"'above'\\\"\\n [disabled]=\\\"_previousButtonsDisabled()\\\"\\n *ngIf=\\\"showFirstLastButtons\\\">\\n <svg class=\\\"mat-mdc-paginator-icon\\\"\\n viewBox=\\\"0 0 24 24\\\"\\n focusable=\\\"false\\\"\\n aria-hidden=\\\"true\\\">\\n <path d=\\\"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z\\\"/>\\n </svg>\\n </button>\\n <button mat-icon-button type=\\\"button\\\"\\n class=\\\"mat-mdc-paginator-navigation-previous\\\"\\n (click)=\\\"previousPage()\\\"\\n [attr.aria-label]=\\\"_intl.previousPageLabel\\\"\\n [matTooltip]=\\\"_intl.previousPageLabel\\\"\\n [matTooltipDisabled]=\\\"_previousButtonsDisabled()\\\"\\n [matTooltipPosition]=\\\"'above'\\\"\\n [disabled]=\\\"_previousButtonsDisabled()\\\">\\n <svg class=\\\"mat-mdc-paginator-icon\\\"\\n viewBox=\\\"0 0 24 24\\\"\\n focusable=\\\"false\\\"\\n aria-hidden=\\\"true\\\">\\n <path d=\\\"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z\\\"/>\\n </svg>\\n </button>\\n <button mat-icon-button type=\\\"button\\\"\\n class=\\\"mat-mdc-paginator-navigation-next\\\"\\n (click)=\\\"nextPage()\\\"\\n [attr.aria-label]=\\\"_intl.nextPageLabel\\\"\\n [matTooltip]=\\\"_intl.nextPageLabel\\\"\\n [matTooltipDisabled]=\\\"_nextButtonsDisabled()\\\"\\n [matTooltipPosition]=\\\"'above'\\\"\\n [disabled]=\\\"_nextButtonsDisabled()\\\">\\n <svg class=\\\"mat-mdc-paginator-icon\\\"\\n viewBox=\\\"0 0 24 24\\\"\\n focusable=\\\"false\\\"\\n aria-hidden=\\\"true\\\">\\n <path d=\\\"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z\\\"/>\\n </svg>\\n </button>\\n <button mat-icon-button type=\\\"button\\\"\\n class=\\\"mat-mdc-paginator-navigation-last\\\"\\n (click)=\\\"lastPage()\\\"\\n [attr.aria-label]=\\\"_intl.lastPageLabel\\\"\\n [matTooltip]=\\\"_intl.lastPageLabel\\\"\\n [matTooltipDisabled]=\\\"_nextButtonsDisabled()\\\"\\n [matTooltipPosition]=\\\"'above'\\\"\\n [disabled]=\\\"_nextButtonsDisabled()\\\"\\n *ngIf=\\\"showFirstLastButtons\\\">\\n <svg class=\\\"mat-mdc-paginator-icon\\\"\\n viewBox=\\\"0 0 24 24\\\"\\n focusable=\\\"false\\\"\\n aria-hidden=\\\"true\\\">\\n <path d=\\\"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z\\\"/>\\n </svg>\\n </button>\\n </div>\\n </div>\\n</div>\\n\", styles: [\".mat-mdc-paginator{display:block}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:84px}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon,.cdk-high-contrast-active .mat-mdc-paginator-icon{fill:currentColor;fill:CanvasText}.cdk-high-contrast-active .mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}\"] }]\n }], ctorParameters: function () { return [{ type: MatPaginatorIntl }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_PAGINATOR_DEFAULT_OPTIONS]\n }] }]; } });\n\nclass MatPaginatorModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatPaginatorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatPaginatorModule, declarations: [MatPaginator], imports: [CommonModule, MatButtonModule, MatSelectModule, MatTooltipModule], exports: [MatPaginator] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatPaginatorModule, providers: [MAT_PAGINATOR_INTL_PROVIDER], imports: [CommonModule, MatButtonModule, MatSelectModule, MatTooltipModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatPaginatorModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [CommonModule, MatButtonModule, MatSelectModule, MatTooltipModule],\n exports: [MatPaginator],\n declarations: [MatPaginator],\n providers: [MAT_PAGINATOR_INTL_PROVIDER],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MAT_PAGINATOR_DEFAULT_OPTIONS, MAT_PAGINATOR_INTL_PROVIDER, MAT_PAGINATOR_INTL_PROVIDER_FACTORY, MatPaginator, MatPaginatorIntl, MatPaginatorModule, PageEvent, _MatPaginatorBase };\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11]} \ No newline at end of file diff --git a/3rdpartylicenses.txt b/3rdpartylicenses.txt new file mode 100644 index 0000000..eecf9dd --- /dev/null +++ b/3rdpartylicenses.txt @@ -0,0 +1,15682 @@ +@angular-architects/module-federation-runtime +MIT +Copyright 2021 Softarc Consulting GmbH + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + + +@angular/animations +MIT + +@angular/cdk +MIT +The MIT License + +Copyright (c) 2023 Google LLC. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +@angular/cdk-experimental +MIT +The MIT License + +Copyright (c) 2023 Google LLC. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +@angular/common +MIT + +@angular/core +MIT + +@angular/flex-layout +MIT + +@angular/forms +MIT + +@angular/material +MIT +The MIT License + +Copyright (c) 2023 Google LLC. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +@angular/platform-browser +MIT + +@angular/router +MIT + +@aws-crypto/crc32 +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright {yyyy} {name of copyright owner} + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +@aws-crypto/crc32c +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright {yyyy} {name of copyright owner} + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +@aws-crypto/ie11-detection +Apache-2.0 + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +@aws-crypto/sha1-browser +Apache-2.0 + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +@aws-crypto/sha256-browser +Apache-2.0 + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +@aws-crypto/sha256-js +Apache-2.0 +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright {yyyy} {name of copyright owner} + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +@aws-crypto/supports-web-crypto +Apache-2.0 + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +@aws-crypto/util +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright {yyyy} {name of copyright owner} + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +@aws-sdk/abort-controller +Apache-2.0 +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +@aws-sdk/chunked-blob-reader +Apache-2.0 +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +@aws-sdk/client-cognito-identity +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +@aws-sdk/client-s3 +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +@aws-sdk/config-resolver +Apache-2.0 +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +@aws-sdk/credential-provider-cognito-identity +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +@aws-sdk/eventstream-codec +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +@aws-sdk/eventstream-serde-browser +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +@aws-sdk/eventstream-serde-config-resolver +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +@aws-sdk/eventstream-serde-universal +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +@aws-sdk/fetch-http-handler +Apache-2.0 +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +@aws-sdk/hash-blob-browser +Apache-2.0 +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +@aws-sdk/invalid-dependency +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +@aws-sdk/is-array-buffer +Apache-2.0 +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +@aws-sdk/lib-storage +Apache-2.0 +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +@aws-sdk/md5-js +Apache-2.0 +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +@aws-sdk/middleware-content-length +Apache-2.0 +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +@aws-sdk/middleware-endpoint +Apache-2.0 +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +@aws-sdk/middleware-expect-continue +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +@aws-sdk/middleware-flexible-checksums +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +@aws-sdk/middleware-host-header +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +@aws-sdk/middleware-logger +Apache-2.0 +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +@aws-sdk/middleware-recursion-detection +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +@aws-sdk/middleware-retry +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +@aws-sdk/middleware-sdk-s3 +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +@aws-sdk/middleware-serde +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +@aws-sdk/middleware-signing +Apache-2.0 +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +@aws-sdk/middleware-ssec +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +@aws-sdk/middleware-stack +Apache-2.0 +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +@aws-sdk/middleware-user-agent +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +@aws-sdk/property-provider +Apache-2.0 +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +@aws-sdk/protocol-http +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +@aws-sdk/querystring-builder +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +@aws-sdk/querystring-parser +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +@aws-sdk/service-error-classification +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +@aws-sdk/signature-v4 +Apache-2.0 +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +@aws-sdk/signature-v4-multi-region +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +@aws-sdk/smithy-client +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +@aws-sdk/types +Apache-2.0 +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +@aws-sdk/url-parser +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +@aws-sdk/util-arn-parser +Apache-2.0 +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +@aws-sdk/util-base64 +Apache-2.0 +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +@aws-sdk/util-body-length-browser +Apache-2.0 +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +@aws-sdk/util-config-provider +Apache-2.0 +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +@aws-sdk/util-defaults-mode-browser +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +@aws-sdk/util-endpoints +Apache-2.0 +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +@aws-sdk/util-hex-encoding +Apache-2.0 +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +@aws-sdk/util-locate-window +Apache-2.0 +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +@aws-sdk/util-middleware +Apache-2.0 +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +@aws-sdk/util-retry +Apache-2.0 +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +@aws-sdk/util-stream-browser +Apache-2.0 +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +@aws-sdk/util-uri-escape +Apache-2.0 +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +@aws-sdk/util-user-agent-browser +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +@aws-sdk/util-utf8 +Apache-2.0 +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +@aws-sdk/util-utf8-browser +Apache-2.0 +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +@aws-sdk/xml-builder +Apache-2.0 +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +@babel/runtime +MIT +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +@ngrx/data +MIT +The MIT License (MIT) + +Copyright (c) 2017-2023 Brandon Roberts, Mike Ryan, Victor Savkin, Rob Wormald + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +This repository includes a file "debounceSync.ts" originially copied from +https://github.com/cartant/rxjs-etc by Nicholas Jamieson, MIT licensed. See the +file header for details. + + +@ngrx/effects +MIT +The MIT License (MIT) + +Copyright (c) 2017-2023 Brandon Roberts, Mike Ryan, Victor Savkin, Rob Wormald + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +This repository includes a file "debounceSync.ts" originially copied from +https://github.com/cartant/rxjs-etc by Nicholas Jamieson, MIT licensed. See the +file header for details. + + +@ngrx/entity +MIT +The MIT License (MIT) + +Copyright (c) 2017-2023 Brandon Roberts, Mike Ryan, Victor Savkin, Rob Wormald + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +This repository includes a file "debounceSync.ts" originially copied from +https://github.com/cartant/rxjs-etc by Nicholas Jamieson, MIT licensed. See the +file header for details. + + +@ngrx/router-store +MIT +The MIT License (MIT) + +Copyright (c) 2017-2023 Brandon Roberts, Mike Ryan, Victor Savkin, Rob Wormald + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +This repository includes a file "debounceSync.ts" originially copied from +https://github.com/cartant/rxjs-etc by Nicholas Jamieson, MIT licensed. See the +file header for details. + + +@ngrx/store +MIT +The MIT License (MIT) + +Copyright (c) 2017-2023 Brandon Roberts, Mike Ryan, Victor Savkin, Rob Wormald + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +This repository includes a file "debounceSync.ts" originially copied from +https://github.com/cartant/rxjs-etc by Nicholas Jamieson, MIT licensed. See the +file header for details. + + +@ngrx/store-devtools +MIT +The MIT License (MIT) + +Copyright (c) 2017-2023 Brandon Roberts, Mike Ryan, Victor Savkin, Rob Wormald + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +This repository includes a file "debounceSync.ts" originially copied from +https://github.com/cartant/rxjs-etc by Nicholas Jamieson, MIT licensed. See the +file header for details. + + +@nguniversal/common +MIT + +@nguniversal/express-engine +MIT + +@rollthecloudinc/alias + +@rollthecloudinc/alienalias + +@rollthecloudinc/attributes + +@rollthecloudinc/auth + +@rollthecloudinc/awcog + +@rollthecloudinc/awos + +@rollthecloudinc/awrum + +@rollthecloudinc/aws3 + +@rollthecloudinc/bridge + +@rollthecloudinc/content + +@rollthecloudinc/context + +@rollthecloudinc/crud + +@rollthecloudinc/datasource + +@rollthecloudinc/deity + +@rollthecloudinc/detour + +@rollthecloudinc/dparam + +@rollthecloudinc/durl + +@rollthecloudinc/forms + +@rollthecloudinc/keyval + +@rollthecloudinc/layout + +@rollthecloudinc/loop + +@rollthecloudinc/material + +@rollthecloudinc/media + +@rollthecloudinc/ngx-angular-query-builder +MIT + +@rollthecloudinc/oidc + +@rollthecloudinc/ordain + +@rollthecloudinc/outsider + +@rollthecloudinc/pagealias + +@rollthecloudinc/pages + +@rollthecloudinc/panels + +@rollthecloudinc/plugin + +@rollthecloudinc/react + +@rollthecloudinc/refinery + +@rollthecloudinc/render + +@rollthecloudinc/rest + +@rollthecloudinc/rules + +@rollthecloudinc/sheath + +@rollthecloudinc/snippet + +@rollthecloudinc/state + +@rollthecloudinc/token + +@rollthecloudinc/tractorbeam + +@rollthecloudinc/transform + +@rollthecloudinc/utils + +@smithy/protocol-http +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +angular-gridster2 +MIT +MIT License + +Copyright (c) 2023 Tiberiu Zuld + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +angular-split +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2017 Bertrand Gaillard + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +base64-js +MIT +The MIT License (MIT) + +Copyright (c) 2014 Jameson Little + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +bowser +MIT +Copyright 2015, Dustin Diaz (the "Original Author") +All rights reserved. + +MIT License + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +Distributions of all or part of the Software intended to be used +by the recipients as they would use the unmodified Software, +containing modifications that substantially alter, remove, or +disable functionality of the Software, outside of the documented +configuration mechanisms provided by the Software, shall be +modified such that the Original Author's bug reporting email +addresses and urls are either replaced with the contact information +of the parties responsible for the changes, or removed entirely. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + + +Except where noted, this license applies to any and all software +programs and associated documentation files created by the +Original Author, when distributed with the Software. + + +brackets2dots +MIT +The MIT License (MIT) + +Copyright (c) 2014 Wil Moore III + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +buffer +MIT +The MIT License (MIT) + +Copyright (c) Feross Aboukhadijeh, and other contributors. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +call-bind +MIT +MIT License + +Copyright (c) 2020 Jordan Harband + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +clone +MIT +Copyright © 2011-2015 Paul Vorbach <paul@vorba.ch> + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the “Software”), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +cssjson +MIT +Copyright (C) 2013 Aram Kocharyan + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +curriable +MIT +MIT License + +Copyright (c) 2018 Tony Quetano + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +curry2 +MIT +The MIT License (MIT) + +Copyright (c) Wil Moore III <wil.moore@wilmoore.com> + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +debug +MIT +(The MIT License) + +Copyright (c) 2014 TJ Holowaychuk <tj@vision-media.ca> + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software +and associated documentation files (the 'Software'), to deal in the Software without restriction, +including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial +portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT +LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + + +deepmerge-json +MIT +MIT License + +Copyright (c) 2019 Kleber Lopes da Silva + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +dom-element-path +MIT +The MIT License (MIT) + +Copyright (c) 2020 Zygimantas Povilaitis (zypox) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +dotsplit.js +MIT +The MIT License (MIT) + +Copyright (c) Wil Moore III <wil.moore@wilmoore.com> + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +events +MIT +MIT + +Copyright Joyent, Inc. and other Node contributors. + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to permit +persons to whom the Software is furnished to do so, subject to the +following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN +NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, +DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE +USE OR OTHER DEALINGS IN THE SOFTWARE. + + +fast-bind +ISC + +fast-xml-parser +MIT +MIT License + +Copyright (c) 2017 Amit Kumar Gupta + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +function-bind +MIT +Copyright (c) 2013 Raynos. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + + +get-intrinsic +MIT +MIT License + +Copyright (c) 2020 Jordan Harband + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +has +MIT +Copyright (c) 2013 Thiago de Arruda + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + + +has-proto +MIT +MIT License + +Copyright (c) 2022 Inspect JS + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +has-symbols +MIT +MIT License + +Copyright (c) 2016 Jordan Harband + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +hash-it +MIT +The MIT License (MIT) + +Copyright (c) 2015 Plant The Idea + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + + +idb-keyval +Apache-2.0 +Copyright 2016, Jake Archibald + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +ieee754 +BSD-3-Clause +Copyright 2008 Fair Oaks Labs, Inc. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +inflected +MIT +The MIT License (MIT) + +Copyright (c) 2014-2017 Martin Andert +Copyright (c) 2005-2017 David Heinemeier Hansson +Copyright (c) 2008 The Ruby I18n team + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +inherits +ISC +The ISC License + +Copyright (c) Isaac Z. Schlueter + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. + + + +js-cookie +MIT +MIT License + +Copyright (c) 2018 Copyright 2018 Klaus Hartl, Fagner Brack, GitHub Contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +json-rules-engine +ISC +ISC License + +Copyright (c) 2017 Cache Hamm + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE +OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. + + +jsonpath-plus +MIT +The MIT License (MIT) + +Copyright (c) 2011-2019 Stefan Goessner, Subbu Allamaraju, Mike Brevoort, +Robert Krahn, Brett Zamir, Richard Schneider + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +lodash.isobjectlike +MIT +Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/> +Based on Underscore.js, copyright 2009-2016 Jeremy Ashkenas, +DocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/> + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +marked +MIT +# License information + +## Contribution License Agreement + +If you contribute code to this project, you are implicitly allowing your code +to be distributed under the MIT license. You are also implicitly verifying that +all code is your original work. `</legalese>` + +## Marked + +Copyright (c) 2018+, MarkedJS (https://github.com/markedjs/) +Copyright (c) 2011-2018, Christopher Jeffrey (https://github.com/chjj/) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +## Markdown + +Copyright © 2004, John Gruber +http://daringfireball.net/ +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. +* Neither the name “Markdown” nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +This software is provided by the copyright holders and contributors “as is” and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the copyright owner or contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage. + + +ms +MIT +The MIT License (MIT) + +Copyright (c) 2016 Zeit, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +ngx-dropzone +MIT + +ngx-json-viewer +MIT +MIT License + +Copyright (c) 2022 Vivo Xu + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +ngx-markdown +MIT +MIT License + +Copyright (c) 2017-2023 Jean-Francois Cere + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +number-string +MIT + +object-assign +MIT +The MIT License (MIT) + +Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +object-inspect +MIT +MIT License + +Copyright (c) 2013 James Halliday + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +oidc-client +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018, Brock Allen, Dominick Baier + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + + +prismjs +MIT +MIT LICENSE + +Copyright (c) 2012 Lea Verou + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +qs +BSD-3-Clause +BSD 3-Clause License + +Copyright (c) 2014, Nathan LaFreniere and other [contributors](https://github.com/ljharb/qs/graphs/contributors) +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +react +MIT +MIT License + +Copyright (c) Facebook, Inc. and its affiliates. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +react-dom +MIT +MIT License + +Copyright (c) Facebook, Inc. and its affiliates. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +readable-stream +MIT +Node.js is licensed for use as follows: + +""" +Copyright Node.js contributors. All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. +""" + +This license applies to parts of Node.js originating from the +https://github.com/joyent/node repository: + +""" +Copyright Joyent, Inc. and other Node contributors. All rights reserved. +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. +""" + + +recursive-diff +MIT +The MIT License (MIT) + +Copyright (c) 2015 Anant Shukla + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + + +rxjs +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright (c) 2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + + +safe-buffer +MIT +The MIT License (MIT) + +Copyright (c) Feross Aboukhadijeh + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +scheduler +MIT +MIT License + +Copyright (c) Facebook, Inc. and its affiliates. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +selectn +MIT +The MIT License (MIT) + +Copyright (c) Wil Moore III <wil.moore@wilmoore.com> + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +side-channel +MIT +MIT License + +Copyright (c) 2019 Jordan Harband + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +stream-browserify +MIT +MIT License + +Copyright (c) James Halliday + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +string_decoder +MIT +Node.js is licensed for use as follows: + +""" +Copyright Node.js contributors. All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. +""" + +This license applies to parts of Node.js originating from the +https://github.com/joyent/node repository: + +""" +Copyright Joyent, Inc. and other Node contributors. All rights reserved. +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. +""" + + + +strnum +MIT +MIT License + +Copyright (c) 2021 Natural Intelligence + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +tslib +0BSD +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. + +util-deprecate +MIT +(The MIT License) + +Copyright (c) 2014 Nathan Rajlich <nathan@tootallnate.net> + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + + +uuid +MIT +The MIT License (MIT) + +Copyright (c) 2010-2020 Robert Kieffer and other contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +zone.js +MIT +The MIT License + +Copyright (c) 2010-2022 Google LLC. https://angular.io/license + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/4091.160c731ad85419e3.js b/4091.160c731ad85419e3.js new file mode 100644 index 0000000..3614ff5 --- /dev/null +++ b/4091.160c731ad85419e3.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[4091,7376,5187,1217,7208,4968,4155,1084,6896,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,4680,2111,3326,8596,8352,5501,3098,8608,8443,5915,3278,5391,6748,6763,4151,5069,7432,6618],{35488:(f,n,e)=>{function t(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}e.d(n,{Z:()=>t})},28694:(f,n,e)=>{e.d(n,{Z:()=>i});var t=e(20265),o=e(98568),u=e(43445),r=e(35488);function i(p){var c=(0,o.Z)();return function(){var a,s=(0,t.Z)(p);if(c){var d=(0,t.Z)(this).constructor;a=Reflect.construct(s,arguments,d)}else a=s.apply(this,arguments);return function _(p,c){if(c&&("object"===(0,u.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(p)}(this,a)}}},20265:(f,n,e)=>{function t(o){return(t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)})(o)}e.d(n,{Z:()=>t})},24582:(f,n,e)=>{e.d(n,{Z:()=>o});var t=e(10006);function o(u,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(r&&r.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),r&&(0,t.Z)(u,r)}},98568:(f,n,e)=>{function t(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(n,{Z:()=>t})},10006:(f,n,e)=>{function t(o,u){return(t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_,i){return _.__proto__=i,_})(o,u)}e.d(n,{Z:()=>t})}}]); +//# sourceMappingURL=4091.160c731ad85419e3.js.map \ No newline at end of file diff --git a/4091.160c731ad85419e3.js.map b/4091.160c731ad85419e3.js.map new file mode 100644 index 0000000..e474c7b --- /dev/null +++ b/4091.160c731ad85419e3.js.map @@ -0,0 +1 @@ +{"version":3,"file":"4091.160c731ad85419e3.js","mappings":"sQAAe,SAAAA,EAAAC,GACf,YAAAA,EACA,UAAAC,eAAA,6DAEA,OAAAD,CACA,oGCFe,SAAAE,EAAAC,GACf,IAAAC,KAAkCC,EAAAC,KAClC,kBACA,IACAC,EADAC,KAAgBC,EAAAH,GAAcH,GAE9B,GAAAC,EAAA,CACA,IAAAM,KAAsBD,EAAAH,GAAcK,MAAAC,YACpCL,EAAAM,QAAAC,UAAAN,EAAAO,UAAAL,EAAA,MAEAH,EAAAC,EAAAQ,MAAAL,KAAAI,WAEA,OCZe,SAAAE,EAAAjB,EAAAkB,GACf,GAAAA,IAAsB,YAAtBA,EAAeC,EAAAb,GAAOY,IAAA,mBAAAA,GACtB,OAAAA,EACI,YAAAA,EACJ,UAAAE,UAAA,4DAEA,SAASC,EAAAf,GAAqBN,EAC9B,CDKWiB,CAAyBN,KAAAJ,EACpC,CACA,mBEhBe,SAAAe,EAAAC,GACf,OAAAD,EAAAE,OAAAC,eAAAD,OAAAf,eAAAiB,OAAA,SAAAH,GACA,OAAAA,EAAAI,WAAAH,OAAAf,eAAAc,EACA,GACAA,EACA,mECJe,SAAAK,EAAAC,EAAAC,GACf,sBAAAA,GAAA,OAAAA,EACA,UAAAV,UAAA,sDAEAS,EAAAE,UAAAP,OAAAQ,OAAAF,KAAAC,UAAA,CACAnB,YAAA,CACAqB,MAAAJ,EACAK,UAAA,EACAC,cAAA,KAGAX,OAAAY,eAAAP,EAAA,aACAK,UAAA,IAEAJ,MAAkBO,EAAA/B,GAAcuB,EAAAC,EAChC,mBChBe,SAAAQ,IAEf,UADAzB,QAAA,MAAAA,QAAAC,WACAD,QAAAC,UAAAyB,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAAV,UAAAW,QAAAxB,KAAAL,QAAAC,UAAA2B,QAAA,mBACA,CACA,OACA,QACA,CACA,mCCVe,SAAAE,EAAApB,EAAAqB,GACf,OAAAD,EAAAnB,OAAAC,eAAAD,OAAAC,eAAAC,OAAA,SAAAH,EAAAqB,GACA,OAAArB,EAAAI,UAAAiB,EACArB,CACA,GACAA,EAAAqB,EACA","names":["_assertThisInitialized","self","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","call","esm_typeof","TypeError","assertThisInitialized","_getPrototypeOf","o","Object","setPrototypeOf","bind","__proto__","_inherits","subClass","superClass","prototype","create","value","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6]} \ No newline at end of file diff --git a/4093.ce05facb30566249.js b/4093.ce05facb30566249.js new file mode 100644 index 0000000..4f23db4 --- /dev/null +++ b/4093.ce05facb30566249.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[4093,5106,7376,5187,4091,1217,7208,4968,6785,4155,1084,6896,7920,6980,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,8061,4680,2111,3326,8596,8352,5501,882,3098,8467,6578,8608,8443,7328,5915,3278,5391,6748,1551,6763,4151,5069,7432,8071,6618],{20591:(c,a,e)=>{e.d(a,{E:()=>o});var o=new(e(90833).y)(function(t){return t.complete()})},93945:(c,a,e)=>{e.d(a,{Q:()=>b,x:()=>d});var _=e(78069),o=e(48047),r=e(35488),n=e(24582),t=e(28694),i=e(4089),u=e(20265);function d(l,f,p,v,y){return new b(l,f,p,v,y)}var b=function(l){(0,n.Z)(p,l);var f=(0,t.Z)(p);function p(v,y,O,P,D,M){var Z,w,A,h;return(0,_.Z)(this,p),(h=f.call(this,v)).onFinalize=D,h.shouldUnsubscribe=M,h._next=y?function(m){try{y(m)}catch(E){v.error(E)}}:(0,i.Z)((Z=(0,r.Z)(h),(0,u.Z)(p.prototype)),"_next",Z),h._error=P?function(m){try{P(m)}catch(E){v.error(E)}finally{this.unsubscribe()}}:(0,i.Z)((w=(0,r.Z)(h),(0,u.Z)(p.prototype)),"_error",w),h._complete=O?function(){try{O()}catch(m){v.error(m)}finally{this.unsubscribe()}}:(0,i.Z)((A=(0,r.Z)(h),(0,u.Z)(p.prototype)),"_complete",A),h}return(0,o.Z)(p,[{key:"unsubscribe",value:function(){var y;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var O=this.closed;(0,i.Z)((0,u.Z)(p.prototype),"unsubscribe",this).call(this),!O&&(null===(y=this.onFinalize)||void 0===y||y.call(this))}}}]),p}(e(5463).Lv)},59295:(c,a,e)=>{e.d(a,{q:()=>n});var _=e(20591),o=e(41944),r=e(93945);function n(t){return t<=0?function(){return _.E}:(0,o.e)(function(i,u){var s=0;i.subscribe((0,r.x)(u,function(d){++s<=t&&(u.next(d),t<=s&&u.complete())}))})}},41944:(c,a,e)=>{e.d(a,{A:()=>o,e:()=>r});var _=e(92971);function o(n){return(0,_.m)(n?.lift)}function r(n){return function(t){if(o(t))return t.lift(function(i){try{return n(i,this)}catch(u){this.error(u)}});throw new TypeError("Unable to lift unknown Observable type")}}},44841:(c,a,e)=>{function _(o,r){(null==r||r>o.length)&&(r=o.length);for(var n=0,t=new Array(r);n<r;n++)t[n]=o[n];return t}e.d(a,{Z:()=>_})},35488:(c,a,e)=>{function _(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}e.d(a,{Z:()=>_})},95106:(c,a,e)=>{e.d(a,{Z:()=>o});var _=e(44206);function o(r,n){var t=typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=(0,_.Z)(r))||n&&r&&"number"==typeof r.length){t&&(r=t);var i=0,u=function(){};return{s:u,n:function(){return i>=r.length?{done:!0}:{done:!1,value:r[i++]}},e:function(f){throw f},f:u}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var b,s=!0,d=!1;return{s:function(){t=t.call(r)},n:function(){var f=t.next();return s=f.done,f},e:function(f){d=!0,b=f},f:function(){try{!s&&null!=t.return&&t.return()}finally{if(d)throw b}}}}},28694:(c,a,e)=>{e.d(a,{Z:()=>i});var _=e(20265),o=e(98568),r=e(43445),n=e(35488);function i(u){var s=(0,o.Z)();return function(){var l,b=(0,_.Z)(u);if(s){var f=(0,_.Z)(this).constructor;l=Reflect.construct(b,arguments,f)}else l=b.apply(this,arguments);return function t(u,s){if(s&&("object"===(0,r.Z)(s)||"function"==typeof s))return s;if(void 0!==s)throw new TypeError("Derived constructors may only return object or undefined");return(0,n.Z)(u)}(this,l)}}},4089:(c,a,e)=>{e.d(a,{Z:()=>r});var _=e(20265);function r(){return r=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(t,i,u){var s=function o(n,t){for(;!Object.prototype.hasOwnProperty.call(n,t)&&null!==(n=(0,_.Z)(n)););return n}(t,i);if(s){var d=Object.getOwnPropertyDescriptor(s,i);return d.get?d.get.call(arguments.length<3?t:u):d.value}},r.apply(this,arguments)}},20265:(c,a,e)=>{function _(o){return(_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)})(o)}e.d(a,{Z:()=>_})},24582:(c,a,e)=>{e.d(a,{Z:()=>o});var _=e(10006);function o(r,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(n&&n.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),n&&(0,_.Z)(r,n)}},98568:(c,a,e)=>{function _(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(a,{Z:()=>_})},4826:(c,a,e)=>{function _(o){if(typeof Symbol<"u"&&null!=o[Symbol.iterator]||null!=o["@@iterator"])return Array.from(o)}e.d(a,{Z:()=>_})},10006:(c,a,e)=>{function _(o,r){return(_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,i){return t.__proto__=i,t})(o,r)}e.d(a,{Z:()=>_})},86170:(c,a,e)=>{e.d(a,{Z:()=>i});var _=e(44841),r=e(4826),n=e(44206);function i(u){return function o(u){if(Array.isArray(u))return(0,_.Z)(u)}(u)||(0,r.Z)(u)||(0,n.Z)(u)||function t(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(c,a,e)=>{e.d(a,{Z:()=>o});var _=e(44841);function o(r,n){if(r){if("string"==typeof r)return(0,_.Z)(r,n);var t=Object.prototype.toString.call(r).slice(8,-1);if("Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t)return Array.from(r);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return(0,_.Z)(r,n)}}}}]); +//# sourceMappingURL=4093.ce05facb30566249.js.map \ No newline at end of file diff --git a/4093.ce05facb30566249.js.map b/4093.ce05facb30566249.js.map new file mode 100644 index 0000000..743a261 --- /dev/null +++ b/4093.ce05facb30566249.js.map @@ -0,0 +1 @@ +{"version":3,"file":"4093.ce05facb30566249.js","mappings":"sVACaA,EAAQ,aAAIC,GAAW,SAACC,GAAU,OAAKA,EAAWC,UAAU,6HCAlE,SAASC,EAAyBC,EAAaC,EAAQC,EAAYC,EAASC,GAC/E,OAAO,IAAIC,EAAmBL,EAAaC,EAAQC,EAAYC,EAASC,EAC5E,CACO,IAAMC,EAAkB,SAAAC,IAAAC,OAAAF,EAAAC,GAAA,IAAAE,KAAAC,KAAAJ,GAC3B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,EAAAV,EAAA2B,YAAAkD,MACA,QAAAnE,GAAA,QAAAA,EAAA,OAAAd,MAAAmE,KAAA/D,GACA,iBAAAU,GAAA,2CAAAoE,KAAApE,GAAA,SAAsFgE,EAAAnE,GAAgBP,EAAAyE,EAAA,CACtG","names":["EMPTY","Observable","subscriber","complete","createOperatorSubscriber","destination","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","_inherits","_super","_createSuper","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_this","_classCallCheck","this","call","_next","value","err","error","_get","_assertThisInitialized","_getPrototypeOf","prototype","_error","unsubscribe","_complete","_createClass","key","_a","closed","Subscriber","take","count","operate","source","seen","subscribe","next","hasLift","isFunction","lift","init","liftedSource","TypeError","_arrayLikeToArray","arr","len","length","i","arr2","Array","self","ReferenceError","_createForOfIteratorHelper","o","allowArrayLike","it","Symbol","iterator","isArray","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","s","n","done","e","_e","f","normalCompletion","didErr","step","_e2","return","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","result","Super","getPrototypeOf","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","esm_typeof","assertThisInitialized","get","bind","target","property","receiver","base","_superPropBase","object","Object","hasOwnProperty","desc","getOwnPropertyDescriptor","setPrototypeOf","__proto__","subClass","superClass","create","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_iterableToArray","iter","from","_setPrototypeOf","p","_toConsumableArray","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","toString","slice","name","test"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/observable/empty.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/take.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { Observable } from '../Observable';\nexport const EMPTY = new Observable((subscriber) => subscriber.complete());\nexport function empty(scheduler) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n return new Observable((subscriber) => scheduler.schedule(() => subscriber.complete()));\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","import { EMPTY } from '../observable/empty';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function take(count) {\n return count <= 0\n ?\n () => EMPTY\n : operate((source, subscriber) => {\n let seen = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n if (++seen <= count) {\n subscriber.next(value);\n if (count <= seen) {\n subscriber.complete();\n }\n }\n }));\n });\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]} \ No newline at end of file diff --git a/4106.a45e0bd0c9ab02a5.js b/4106.a45e0bd0c9ab02a5.js new file mode 100644 index 0000000..cad318e --- /dev/null +++ b/4106.a45e0bd0c9ab02a5.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[4106,5603,9880],{76317:(M,i,t)=>{t.d(i,{X:()=>l});var s=t(78069),a=t(48047),u=t(4089),r=t(20265),_=t(24582),e=t(28694),l=function(d){(0,_.Z)(m,d);var E=(0,e.Z)(m);function m(O){var f;return(0,s.Z)(this,m),(f=E.call(this))._value=O,f}return(0,a.Z)(m,[{key:"value",get:function(){return this.getValue()}},{key:"_subscribe",value:function(f){var h=(0,u.Z)((0,r.Z)(m.prototype),"_subscribe",this).call(this,f);return!h.closed&&f.next(this._value),h}},{key:"getValue",value:function(){var P=this._value;if(this.hasError)throw this.thrownError;return this._throwIfClosed(),P}},{key:"next",value:function(f){(0,u.Z)((0,r.Z)(m.prototype),"next",this).call(this,this._value=f)}}]),m}(t(50253).x)},50253:(M,i,t)=>{t.d(i,{x:()=>h});var s=t(95106),a=t(78069),u=t(48047),r=t(4089),_=t(20265),e=t(24582),o=t(28694),l=t(90833),d=t(17714),m=(0,t(27543).d)(function(D){return function(){D(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),O=t(39663),f=t(12309),h=function(){var D=function(y){(0,e.Z)(b,y);var p=(0,o.Z)(b);function b(){var c;return(0,a.Z)(this,b),(c=p.call(this)).closed=!1,c.currentObservers=null,c.observers=[],c.isStopped=!1,c.hasError=!1,c.thrownError=null,c}return(0,u.Z)(b,[{key:"lift",value:function(n){var v=new P(this,this);return v.operator=n,v}},{key:"_throwIfClosed",value:function(){if(this.closed)throw new m}},{key:"next",value:function(n){var v=this;(0,f.x)(function(){if(v._throwIfClosed(),!v.isStopped){v.currentObservers||(v.currentObservers=Array.from(v.observers));var I,g=(0,s.Z)(v.currentObservers);try{for(g.s();!(I=g.n()).done;)I.value.next(n)}catch(A){g.e(A)}finally{g.f()}}})}},{key:"error",value:function(n){var v=this;(0,f.x)(function(){if(v._throwIfClosed(),!v.isStopped){v.hasError=v.isStopped=!0,v.thrownError=n;for(var g=v.observers;g.length;)g.shift().error(n)}})}},{key:"complete",value:function(){var n=this;(0,f.x)(function(){if(n._throwIfClosed(),!n.isStopped){n.isStopped=!0;for(var v=n.observers;v.length;)v.shift().complete()}})}},{key:"unsubscribe",value:function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}},{key:"observed",get:function(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}},{key:"_trySubscribe",value:function(n){return this._throwIfClosed(),(0,r.Z)((0,_.Z)(b.prototype),"_trySubscribe",this).call(this,n)}},{key:"_subscribe",value:function(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}},{key:"_innerSubscribe",value:function(n){var v=this,C=this.observers;return this.hasError||this.isStopped?d.Lc:(this.currentObservers=null,C.push(n),new d.w0(function(){v.currentObservers=null,(0,O.P)(C,n)}))}},{key:"_checkFinalizedStatuses",value:function(n){var I=this.isStopped;this.hasError?n.error(this.thrownError):I&&n.complete()}},{key:"asObservable",value:function(){var n=new l.y;return n.source=this,n}}]),b}(l.y);return D.create=function(y,p){return new P(y,p)},D}(),P=function(D){(0,e.Z)(p,D);var y=(0,o.Z)(p);function p(b,c){var n;return(0,a.Z)(this,p),(n=y.call(this)).destination=b,n.source=c,n}return(0,u.Z)(p,[{key:"next",value:function(c){var n,v;null===(v=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===v||v.call(n,c)}},{key:"error",value:function(c){var n,v;null===(v=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===v||v.call(n,c)}},{key:"complete",value:function(){var c,n;null===(n=null===(c=this.destination)||void 0===c?void 0:c.complete)||void 0===n||n.call(c)}},{key:"_subscribe",value:function(c){var n,v;return null!==(v=null===(n=this.source)||void 0===n?void 0:n.subscribe(c))&&void 0!==v?v:d.Lc}}]),p}(h)},26562:(M,i,t)=>{t.d(i,{a:()=>E});var s=t(90833),a=t(45756),u=t(37400),r=t(89173),_=t(58385),e=t(10420),o=t(11054),l=t(93945),d=t(1817);function E(){for(var f=arguments.length,h=new Array(f),P=0;P<f;P++)h[P]=arguments[P];var D=(0,e.yG)(h),y=(0,e.jO)(h),p=(0,a.D)(h),b=p.args,c=p.keys;if(0===b.length)return(0,u.D)([],D);var n=new s.y(function m(f,h){var P=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.y;return function(D){O(h,function(){for(var y=f.length,p=new Array(y),b=y,c=y,n=function(I){O(h,function(){var C=(0,u.D)(f[I],h),A=!1;C.subscribe((0,l.x)(D,function(T){p[I]=T,A||(A=!0,c--),c||D.next(P(p.slice()))},function(){--b||D.complete()}))},D)},v=0;v<y;v++)n(v)},D)}}(b,D,c?function(v){return(0,o.n)(c,v)}:r.y));return y?n.pipe((0,_.Z)(y)):n}function O(f,h,P){f?(0,d.f)(P,f,h):h()}},59319:(M,i,t)=>{t.d(i,{z:()=>_});var s=t(1308),u=t(10420),r=t(37400);function _(){for(var e=arguments.length,o=new Array(e),l=0;l<e;l++)o[l]=arguments[l];return function a(){return(0,s.J)(1)}()((0,r.D)(o,(0,u.yG)(o)))}},21954:(M,i,t)=>{t.d(i,{P:()=>u});var s=t(90833),a=t(54987);function u(r){return new s.y(function(_){(0,a.Xf)(r()).subscribe(_)})}},63853:(M,i,t)=>{t.d(i,{b:()=>u});var s=t(49525),a=t(92971);function u(r,_){return(0,a.m)(_)?(0,s.z)(r,_,1):(0,s.z)(r,1)}},64744:(M,i,t)=>{t.d(i,{d:()=>u});var s=t(41944),a=t(93945);function u(r){return(0,s.e)(function(_,e){var o=!1;_.subscribe((0,a.x)(e,function(l){o=!0,e.next(l)},function(){o||e.next(r),e.complete()}))})}},60116:(M,i,t)=>{t.d(i,{h:()=>u});var s=t(41944),a=t(93945);function u(r,_){return(0,s.e)(function(e,o){var l=0;e.subscribe((0,a.x)(o,function(d){return r.call(_,d,l++)&&o.next(d)}))})}},80155:(M,i,t)=>{t.d(i,{P:()=>o});var s=t(14423),a=t(60116),u=t(59295),r=t(64744),_=t(77354),e=t(89173);function o(l,d){var E=arguments.length>=2;return function(m){return m.pipe(l?(0,a.h)(function(O,f){return l(O,f,m)}):e.y,(0,u.q)(1),E?(0,r.d)(d):(0,_.T)(function(){return new s.K}))}}},50635:(M,i,t)=>{t.d(i,{U:()=>u});var s=t(41944),a=t(93945);function u(r,_){return(0,s.e)(function(e,o){var l=0;e.subscribe((0,a.x)(o,function(d){o.next(r.call(_,d,l++))}))})}},73:(M,i,t)=>{t.d(i,{h:()=>a});var s=t(50635);function a(u){return(0,s.U)(function(){return u})}},1308:(M,i,t)=>{t.d(i,{J:()=>u});var s=t(49525),a=t(89173);function u(){return(0,s.z)(a.y,arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0)}},49525:(M,i,t)=>{t.d(i,{z:()=>l});var s=t(50635),a=t(54987),u=t(41944),r=t(1817),_=t(93945),o=t(92971);function l(d,E){var m=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;return(0,o.m)(E)?l(function(O,f){return(0,s.U)(function(h,P){return E(O,h,f,P)})((0,a.Xf)(d(O,f)))},m):("number"==typeof E&&(m=E),(0,u.e)(function(O,f){return function e(d,E,m,O,f,h,P,D){var y=[],p=0,b=0,c=!1,n=function(){c&&!y.length&&!p&&E.complete()},v=function(C){return p<O?g(C):y.push(C)},g=function I(C){h&&E.next(C),p++;var A=!1;(0,a.Xf)(m(C,b++)).subscribe((0,_.x)(E,function(T){f?.(T),h?v(T):E.next(T)},function(){A=!0},void 0,function(){if(A)try{p--;for(var T=function(){var U=y.shift();P?(0,r.f)(E,P,function(){return I(U)}):I(U)};y.length&&p<O;)T();n()}catch(K){E.error(K)}}))};return d.subscribe((0,_.x)(E,v,function(){c=!0,n()})),function(){D?.()}}(O,f,d,m)}))}},44874:(M,i,t)=>{t.d(i,{O:()=>r});var s=t(59319),a=t(10420),u=t(41944);function r(){for(var _=arguments.length,e=new Array(_),o=0;o<_;o++)e[o]=arguments[o];var l=(0,a.yG)(e);return(0,u.e)(function(d,E){(l?(0,s.z)(e,d,l):(0,s.z)(e,d)).subscribe(E)})}},32673:(M,i,t)=>{t.d(i,{w:()=>r});var s=t(54987),a=t(41944),u=t(93945);function r(_,e){return(0,a.e)(function(o,l){var d=null,E=0,m=!1,O=function(){return m&&!d&&l.complete()};o.subscribe((0,u.x)(l,function(f){d?.unsubscribe();var h=0,P=E++;(0,s.Xf)(_(f,P)).subscribe(d=(0,u.x)(l,function(D){return l.next(e?e(f,D,P,h++):D)},function(){d=null,O()}))},function(){m=!0,O()}))})}},77354:(M,i,t)=>{t.d(i,{T:()=>r});var s=t(14423),a=t(41944),u=t(93945);function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_;return(0,a.e)(function(o,l){var d=!1;o.subscribe((0,u.x)(l,function(E){d=!0,l.next(E)},function(){return d?l.complete():l.error(e())}))})}function _(){return new s.K}},14423:(M,i,t)=>{t.d(i,{K:()=>a});var a=(0,t(27543).d)(function(u){return function(){u(this),this.name="EmptyError",this.message="no elements in sequence"}})},1817:(M,i,t)=>{function s(a,u,r){var _=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,e=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=u.schedule(function(){r(),e?a.add(this.schedule(null,_)):this.unsubscribe()},_);if(a.add(o),!e)return o}t.d(i,{f:()=>s})},59867:(M,i,t)=>{t.d(i,{K:()=>a});var s=t(92971);function a(u){return u&&(0,s.m)(u.schedule)}},8091:(M,i,t)=>{function s(a){if(Array.isArray(a))return a}t.d(i,{Z:()=>s})},77797:(M,i,t)=>{t.d(i,{Z:()=>a});var s=t(51299);function a(u,r,_){return(r=(0,s.Z)(r))in u?Object.defineProperty(u,r,{value:_,enumerable:!0,configurable:!0,writable:!0}):u[r]=_,u}},8217:(M,i,t)=>{function s(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}t.d(i,{Z:()=>s})},35603:(M,i,t)=>{t.d(i,{Z:()=>u});var s=t(77797);function a(r,_){var e=Object.keys(r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(r);_&&(o=o.filter(function(l){return Object.getOwnPropertyDescriptor(r,l).enumerable})),e.push.apply(e,o)}return e}function u(r){for(var _=1;_<arguments.length;_++){var e=null!=arguments[_]?arguments[_]:{};_%2?a(Object(e),!0).forEach(function(o){(0,s.Z)(r,o,e[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(e)):a(Object(e)).forEach(function(o){Object.defineProperty(r,o,Object.getOwnPropertyDescriptor(e,o))})}return r}},32090:(M,i,t)=>{t.d(i,{Z:()=>_});var s=t(8091),u=t(44206),r=t(8217);function _(e,o){return(0,s.Z)(e)||function a(e,o){var l=null==e?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(null!=l){var d,E,m,O,f=[],h=!0,P=!1;try{if(m=(l=l.call(e)).next,0===o){if(Object(l)!==l)return;h=!1}else for(;!(h=(d=m.call(l)).done)&&(f.push(d.value),f.length!==o);h=!0);}catch(D){P=!0,E=D}finally{try{if(!h&&null!=l.return&&(O=l.return(),Object(O)!==O))return}finally{if(P)throw E}}return f}}(e,o)||(0,u.Z)(e,o)||(0,r.Z)()}}}]); +//# sourceMappingURL=4106.a45e0bd0c9ab02a5.js.map \ No newline at end of file diff --git a/4106.a45e0bd0c9ab02a5.js.map b/4106.a45e0bd0c9ab02a5.js.map new file mode 100644 index 0000000..52d837c --- /dev/null +++ b/4106.a45e0bd0c9ab02a5.js.map @@ -0,0 +1 @@ +{"version":3,"file":"4106.a45e0bd0c9ab02a5.js","mappings":"kLACaA,EAAe,SAAAC,IAAAC,OAAAF,EAAAC,GAAA,IAAAE,KAAAC,KAAAJ,GACxB,SAAAA,EAAYK,GAAQ,IAAAC,EAAAC,cAAAC,KAAAR,IAChBM,EAAAH,EAAAM,KAAAD,OACKH,OAASA,EAAOC,CACzB,CAACI,cAAAV,EAAA,EAAAW,IAAA,QAAAC,IACD,WACI,OAAOJ,KAAKK,UAChB,GAAC,CAAAF,IAAA,aAAAG,MACD,SAAWC,GACP,IAAMC,KAAYC,QAAAC,KAAAlB,EAAAmB,WAAA,aAAAX,MAAAC,KAAAD,KAAoBO,GACtC,OAACC,EAAaI,QAAUL,EAAWM,KAAKb,KAAKH,QACtCW,CACX,GAAC,CAAAL,IAAA,WAAAG,MACD,WACI,IAA+BT,EAAWG,KAAXH,OAC/B,GAD0CG,KAAlCc,SAEJ,MAFsCd,KAAxBe,YAIlB,OAAAf,KAAKgB,iBACEnB,CACX,GAAC,CAAAM,IAAA,OAAAG,MACD,SAAKA,IACDG,UAAAC,KAAAlB,EAAAmB,WAAA,OAAAX,MAAAC,KAAAD,KAAYA,KAAKH,OAASS,EAC9B,KAACd,CAAA,CAvBuB,UAASyB,2ICAxBC,cAA0BC,GAAiB,SAACxB,GAAM,OAAK,WAChEA,EAAOK,MACPA,KAAKoB,KAAO,0BACZpB,KAAKqB,QAAU,qBACnB,CAAC,yBCAYJ,E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,SACA,IACA,IAAA6J,GAAA,MAAAR,EAAAU,SAAAJ,EAAAN,EAAAU,SAAAlC,OAAA8B,QAAA,MACA,SACA,GAAAG,EAAA,MAAAL,CACA,CACA,CACA,OAAAG,CAAA,CAEA,CDrBgCR,CAAoB7B,EAAAtE,KAAA,EAAY+G,EAAApC,GAA0BL,EAAAtE,KAAA,EAAYgH,EAAArC,IACtG","names":["BehaviorSubject","_Subject","_inherits","_super","_createSuper","_value","_this","_classCallCheck","this","call","_createClass","key","get","getValue","value","subscriber","subscription","_get","_getPrototypeOf","prototype","closed","next","hasError","thrownError","_throwIfClosed","Subject","ObjectUnsubscribedError","createErrorClass","name","message","_Observable","currentObservers","observers","isStopped","operator","subject","AnonymousSubject","_this2","errorContext","Array","from","_step","_iterator","_createForOfIteratorHelper","s","n","done","err","e","f","_this3","length","shift","error","_this4","complete","_a","_checkFinalizedStatuses","_innerSubscribe","_this5","EMPTY_SUBSCRIPTION","push","Subscription","arrRemove","observable","Observable","source","create","destination","_super2","_this6","_b","subscribe","combineLatest","_len","arguments","args","_key","scheduler","popScheduler","resultSelector","popResultSelector","_argsArgArrayOrObject","argsArgArrayOrObject","observables","keys","result","combineLatestInit","valueTransform","undefined","identity","maybeSchedule","values","active","remainingFirstValues","_loop","i","hasFirstValue","createOperatorSubscriber","slice","createObject","pipe","mapOneOrManyArgs","execute","executeSchedule","concat","concatAll","mergeAll","defer","observableFactory","innerFrom","concatMap","project","isFunction","mergeMap","defaultIfEmpty","defaultValue","operate","hasValue","filter","predicate","thisArg","index","first","hasDefaultValue","v","take","throwIfEmpty","EmptyError","map","mapTo","Infinity","concurrent","a","b","ii","mergeInternals","onBeforeNext","expand","innerSubScheduler","additionalFinalizer","buffer","isComplete","checkComplete","outerNext","doInnerSub","innerComplete","innerValue","bufferedValue","startWith","switchMap","innerSubscriber","unsubscribe","innerIndex","outerIndex","errorFactory","defaultErrorFactory","parentSubscription","work","delay","repeat","scheduleSubscription","schedule","add","isScheduler","_arrayWithHoles","arr","isArray","_defineProperty","obj","_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__","Z","Object","defineProperty","enumerable","configurable","writable","_nonIterableRest","TypeError","ownKeys","object","enumerableOnly","getOwnPropertySymbols","symbols","sym","getOwnPropertyDescriptor","apply","_objectSpread2","target","forEach","_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__","getOwnPropertyDescriptors","defineProperties","_slicedToArray","arrayWithHoles","_iterableToArrayLimit","_i","Symbol","iterator","_s","_e","_x","_r","_arr","_n","_d","return","unsupportedIterableToArray","nonIterableRest"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/BehaviorSubject.js","./node_modules/rxjs/dist/esm/internal/util/ObjectUnsubscribedError.js","./node_modules/rxjs/dist/esm/internal/Subject.js","./node_modules/rxjs/dist/esm/internal/observable/combineLatest.js","./node_modules/rxjs/dist/esm/internal/observable/concat.js","./node_modules/rxjs/dist/esm/internal/operators/concatAll.js","./node_modules/rxjs/dist/esm/internal/observable/defer.js","./node_modules/rxjs/dist/esm/internal/operators/concatMap.js","./node_modules/rxjs/dist/esm/internal/operators/defaultIfEmpty.js","./node_modules/rxjs/dist/esm/internal/operators/filter.js","./node_modules/rxjs/dist/esm/internal/operators/first.js","./node_modules/rxjs/dist/esm/internal/operators/map.js","./node_modules/rxjs/dist/esm/internal/operators/mapTo.js","./node_modules/rxjs/dist/esm/internal/operators/mergeAll.js","./node_modules/rxjs/dist/esm/internal/operators/mergeMap.js","./node_modules/rxjs/dist/esm/internal/operators/mergeInternals.js","./node_modules/rxjs/dist/esm/internal/operators/startWith.js","./node_modules/rxjs/dist/esm/internal/operators/switchMap.js","./node_modules/rxjs/dist/esm/internal/operators/throwIfEmpty.js","./node_modules/rxjs/dist/esm/internal/util/EmptyError.js","./node_modules/rxjs/dist/esm/internal/util/executeSchedule.js","./node_modules/rxjs/dist/esm/internal/util/isScheduler.js","./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","./node_modules/@babel/runtime/helpers/esm/defineProperty.js","./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","./node_modules/@babel/runtime/helpers/esm/objectSpread2.js","./node_modules/@babel/runtime/helpers/esm/slicedToArray.js","./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js"],"sourcesContent":["import { Subject } from './Subject';\nexport class BehaviorSubject extends Subject {\n constructor(_value) {\n super();\n this._value = _value;\n }\n get value() {\n return this.getValue();\n }\n _subscribe(subscriber) {\n const subscription = super._subscribe(subscriber);\n !subscription.closed && subscriber.next(this._value);\n return subscription;\n }\n getValue() {\n const { hasError, thrownError, _value } = this;\n if (hasError) {\n throw thrownError;\n }\n this._throwIfClosed();\n return _value;\n }\n next(value) {\n super.next((this._value = value));\n }\n}\n","import { createErrorClass } from './createErrorClass';\nexport const ObjectUnsubscribedError = createErrorClass((_super) => function ObjectUnsubscribedErrorImpl() {\n _super(this);\n this.name = 'ObjectUnsubscribedError';\n this.message = 'object unsubscribed';\n});\n","import { Observable } from './Observable';\nimport { Subscription, EMPTY_SUBSCRIPTION } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { arrRemove } from './util/arrRemove';\nimport { errorContext } from './util/errorContext';\nexport class Subject extends Observable {\n constructor() {\n super();\n this.closed = false;\n this.currentObservers = null;\n this.observers = [];\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n lift(operator) {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n }\n _throwIfClosed() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n }\n next(value) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n if (!this.currentObservers) {\n this.currentObservers = Array.from(this.observers);\n }\n for (const observer of this.currentObservers) {\n observer.next(value);\n }\n }\n });\n }\n error(err) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.hasError = this.isStopped = true;\n this.thrownError = err;\n const { observers } = this;\n while (observers.length) {\n observers.shift().error(err);\n }\n }\n });\n }\n complete() {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.isStopped = true;\n const { observers } = this;\n while (observers.length) {\n observers.shift().complete();\n }\n }\n });\n }\n unsubscribe() {\n this.isStopped = this.closed = true;\n this.observers = this.currentObservers = null;\n }\n get observed() {\n var _a;\n return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;\n }\n _trySubscribe(subscriber) {\n this._throwIfClosed();\n return super._trySubscribe(subscriber);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._checkFinalizedStatuses(subscriber);\n return this._innerSubscribe(subscriber);\n }\n _innerSubscribe(subscriber) {\n const { hasError, isStopped, observers } = this;\n if (hasError || isStopped) {\n return EMPTY_SUBSCRIPTION;\n }\n this.currentObservers = null;\n observers.push(subscriber);\n return new Subscription(() => {\n this.currentObservers = null;\n arrRemove(observers, subscriber);\n });\n }\n _checkFinalizedStatuses(subscriber) {\n const { hasError, thrownError, isStopped } = this;\n if (hasError) {\n subscriber.error(thrownError);\n }\n else if (isStopped) {\n subscriber.complete();\n }\n }\n asObservable() {\n const observable = new Observable();\n observable.source = this;\n return observable;\n }\n}\nSubject.create = (destination, source) => {\n return new AnonymousSubject(destination, source);\n};\nexport class AnonymousSubject extends Subject {\n constructor(destination, source) {\n super();\n this.destination = destination;\n this.source = source;\n }\n next(value) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);\n }\n error(err) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);\n }\n complete() {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);\n }\n _subscribe(subscriber) {\n var _a, _b;\n return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;\n }\n}\n","import { Observable } from '../Observable';\nimport { argsArgArrayOrObject } from '../util/argsArgArrayOrObject';\nimport { from } from './from';\nimport { identity } from '../util/identity';\nimport { mapOneOrManyArgs } from '../util/mapOneOrManyArgs';\nimport { popResultSelector, popScheduler } from '../util/args';\nimport { createObject } from '../util/createObject';\nimport { createOperatorSubscriber } from '../operators/OperatorSubscriber';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function combineLatest(...args) {\n const scheduler = popScheduler(args);\n const resultSelector = popResultSelector(args);\n const { args: observables, keys } = argsArgArrayOrObject(args);\n if (observables.length === 0) {\n return from([], scheduler);\n }\n const result = new Observable(combineLatestInit(observables, scheduler, keys\n ?\n (values) => createObject(keys, values)\n :\n identity));\n return resultSelector ? result.pipe(mapOneOrManyArgs(resultSelector)) : result;\n}\nexport function combineLatestInit(observables, scheduler, valueTransform = identity) {\n return (subscriber) => {\n maybeSchedule(scheduler, () => {\n const { length } = observables;\n const values = new Array(length);\n let active = length;\n let remainingFirstValues = length;\n for (let i = 0; i < length; i++) {\n maybeSchedule(scheduler, () => {\n const source = from(observables[i], scheduler);\n let hasFirstValue = false;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n values[i] = value;\n if (!hasFirstValue) {\n hasFirstValue = true;\n remainingFirstValues--;\n }\n if (!remainingFirstValues) {\n subscriber.next(valueTransform(values.slice()));\n }\n }, () => {\n if (!--active) {\n subscriber.complete();\n }\n }));\n }, subscriber);\n }\n }, subscriber);\n };\n}\nfunction maybeSchedule(scheduler, execute, subscription) {\n if (scheduler) {\n executeSchedule(subscription, scheduler, execute);\n }\n else {\n execute();\n }\n}\n","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}\n","import { mergeAll } from './mergeAll';\nexport function concatAll() {\n return mergeAll(1);\n}\n","import { Observable } from '../Observable';\nimport { innerFrom } from './innerFrom';\nexport function defer(observableFactory) {\n return new Observable((subscriber) => {\n innerFrom(observableFactory()).subscribe(subscriber);\n });\n}\n","import { mergeMap } from './mergeMap';\nimport { isFunction } from '../util/isFunction';\nexport function concatMap(project, resultSelector) {\n return isFunction(resultSelector) ? mergeMap(project, resultSelector, 1) : mergeMap(project, 1);\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function defaultIfEmpty(defaultValue) {\n return operate((source, subscriber) => {\n let hasValue = false;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n hasValue = true;\n subscriber.next(value);\n }, () => {\n if (!hasValue) {\n subscriber.next(defaultValue);\n }\n subscriber.complete();\n }));\n });\n}\n","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}\n","import { EmptyError } from '../util/EmptyError';\nimport { filter } from './filter';\nimport { take } from './take';\nimport { defaultIfEmpty } from './defaultIfEmpty';\nimport { throwIfEmpty } from './throwIfEmpty';\nimport { identity } from '../util/identity';\nexport function first(predicate, defaultValue) {\n const hasDefaultValue = arguments.length >= 2;\n return (source) => source.pipe(predicate ? filter((v, i) => predicate(v, i, source)) : identity, take(1), hasDefaultValue ? defaultIfEmpty(defaultValue) : throwIfEmpty(() => new EmptyError()));\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function map(project, thisArg) {\n return operate((source, subscriber) => {\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n subscriber.next(project.call(thisArg, value, index++));\n }));\n });\n}\n","import { map } from './map';\nexport function mapTo(value) {\n return map(() => value);\n}\n","import { mergeMap } from './mergeMap';\nimport { identity } from '../util/identity';\nexport function mergeAll(concurrent = Infinity) {\n return mergeMap(identity, concurrent);\n}\n","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 }\n else if (typeof resultSelector === 'number') {\n concurrent = resultSelector;\n }\n return operate((source, subscriber) => mergeInternals(source, subscriber, project, concurrent));\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { executeSchedule } from '../util/executeSchedule';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function mergeInternals(source, subscriber, project, concurrent, onBeforeNext, expand, innerSubScheduler, additionalFinalizer) {\n const buffer = [];\n let active = 0;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => {\n if (isComplete && !buffer.length && !active) {\n subscriber.complete();\n }\n };\n const outerNext = (value) => (active < concurrent ? doInnerSub(value) : buffer.push(value));\n const doInnerSub = (value) => {\n expand && subscriber.next(value);\n active++;\n let innerComplete = false;\n innerFrom(project(value, index++)).subscribe(createOperatorSubscriber(subscriber, (innerValue) => {\n onBeforeNext === null || onBeforeNext === void 0 ? void 0 : onBeforeNext(innerValue);\n if (expand) {\n outerNext(innerValue);\n }\n else {\n subscriber.next(innerValue);\n }\n }, () => {\n innerComplete = true;\n }, undefined, () => {\n if (innerComplete) {\n try {\n active--;\n while (buffer.length && active < concurrent) {\n const bufferedValue = buffer.shift();\n if (innerSubScheduler) {\n executeSchedule(subscriber, innerSubScheduler, () => doInnerSub(bufferedValue));\n }\n else {\n doInnerSub(bufferedValue);\n }\n }\n checkComplete();\n }\n catch (err) {\n subscriber.error(err);\n }\n }\n }));\n };\n source.subscribe(createOperatorSubscriber(subscriber, outerNext, () => {\n isComplete = true;\n checkComplete();\n }));\n return () => {\n additionalFinalizer === null || additionalFinalizer === void 0 ? void 0 : additionalFinalizer();\n };\n}\n","import { concat } from '../observable/concat';\nimport { popScheduler } from '../util/args';\nimport { operate } from '../util/lift';\nexport function startWith(...values) {\n const scheduler = popScheduler(values);\n return operate((source, subscriber) => {\n (scheduler ? concat(values, source, scheduler) : concat(values, source)).subscribe(subscriber);\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function switchMap(project, resultSelector) {\n return operate((source, subscriber) => {\n let innerSubscriber = null;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => isComplete && !innerSubscriber && subscriber.complete();\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n innerSubscriber === null || innerSubscriber === void 0 ? void 0 : innerSubscriber.unsubscribe();\n let innerIndex = 0;\n const outerIndex = index++;\n innerFrom(project(value, outerIndex)).subscribe((innerSubscriber = createOperatorSubscriber(subscriber, (innerValue) => subscriber.next(resultSelector ? resultSelector(value, innerValue, outerIndex, innerIndex++) : innerValue), () => {\n innerSubscriber = null;\n checkComplete();\n })));\n }, () => {\n isComplete = true;\n checkComplete();\n }));\n });\n}\n","import { EmptyError } from '../util/EmptyError';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function throwIfEmpty(errorFactory = defaultErrorFactory) {\n return operate((source, subscriber) => {\n let hasValue = false;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n hasValue = true;\n subscriber.next(value);\n }, () => (hasValue ? subscriber.complete() : subscriber.error(errorFactory()))));\n });\n}\nfunction defaultErrorFactory() {\n return new EmptyError();\n}\n","import { createErrorClass } from './createErrorClass';\nexport const EmptyError = createErrorClass((_super) => function EmptyErrorImpl() {\n _super(this);\n this.name = 'EmptyError';\n this.message = 'no elements in sequence';\n});\n","export function executeSchedule(parentSubscription, scheduler, work, delay = 0, repeat = false) {\n const scheduleSubscription = scheduler.schedule(function () {\n work();\n if (repeat) {\n parentSubscription.add(this.schedule(null, delay));\n }\n else {\n this.unsubscribe();\n }\n }, delay);\n parentSubscription.add(scheduleSubscription);\n if (!repeat) {\n return scheduleSubscription;\n }\n}\n","import { isFunction } from './isFunction';\nexport function isScheduler(value) {\n return value && isFunction(value.schedule);\n}\n","export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}","import toPropertyKey from \"./toPropertyKey.js\";\nexport default function _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}","export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import defineProperty from \"./defineProperty.js\";\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n return keys;\n}\nexport default function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}","export default function _iterableToArrayLimit(arr, i) {\n var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"];\n if (null != _i) {\n var _s,\n _e,\n _x,\n _r,\n _arr = [],\n _n = !0,\n _d = !1;\n try {\n if (_x = (_i = _i.call(arr)).next, 0 === i) {\n if (Object(_i) !== _i) return;\n _n = !1;\n } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);\n } catch (err) {\n _d = !0, _e = err;\n } finally {\n try {\n if (!_n && null != _i[\"return\"] && (_r = _i[\"return\"](), Object(_r) !== _r)) return;\n } finally {\n if (_d) throw _e;\n }\n }\n return _arr;\n }\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27]} \ No newline at end of file diff --git a/4151.72f982a3cc0d5568.js b/4151.72f982a3cc0d5568.js new file mode 100644 index 0000000..41153dd --- /dev/null +++ b/4151.72f982a3cc0d5568.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[4151,7376,5187,4091,1217,7208,4968,4155,1084,6896,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,4680,2111,3326,8596,8352,5501,3098,8608,8443,5915,3278,5391,6748,6763,5069,7432,6618],{35488:(f,n,e)=>{function t(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}e.d(n,{Z:()=>t})},28694:(f,n,e)=>{e.d(n,{Z:()=>i});var t=e(20265),o=e(98568),u=e(43445),r=e(35488);function i(p){var c=(0,o.Z)();return function(){var a,s=(0,t.Z)(p);if(c){var d=(0,t.Z)(this).constructor;a=Reflect.construct(s,arguments,d)}else a=s.apply(this,arguments);return function _(p,c){if(c&&("object"===(0,u.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(p)}(this,a)}}},20265:(f,n,e)=>{function t(o){return(t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)})(o)}e.d(n,{Z:()=>t})},24582:(f,n,e)=>{e.d(n,{Z:()=>o});var t=e(10006);function o(u,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(r&&r.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),r&&(0,t.Z)(u,r)}},98568:(f,n,e)=>{function t(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(n,{Z:()=>t})},10006:(f,n,e)=>{function t(o,u){return(t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_,i){return _.__proto__=i,_})(o,u)}e.d(n,{Z:()=>t})}}]); +//# sourceMappingURL=4151.72f982a3cc0d5568.js.map \ No newline at end of file diff --git a/4151.72f982a3cc0d5568.js.map b/4151.72f982a3cc0d5568.js.map new file mode 100644 index 0000000..19592fe --- /dev/null +++ b/4151.72f982a3cc0d5568.js.map @@ -0,0 +1 @@ +{"version":3,"file":"4151.72f982a3cc0d5568.js","mappings":"sQAAe,SAAAA,EAAAC,GACf,YAAAA,EACA,UAAAC,eAAA,6DAEA,OAAAD,CACA,oGCFe,SAAAE,EAAAC,GACf,IAAAC,KAAkCC,EAAAC,KAClC,kBACA,IACAC,EADAC,KAAgBC,EAAAH,GAAcH,GAE9B,GAAAC,EAAA,CACA,IAAAM,KAAsBD,EAAAH,GAAcK,MAAAC,YACpCL,EAAAM,QAAAC,UAAAN,EAAAO,UAAAL,EAAA,MAEAH,EAAAC,EAAAQ,MAAAL,KAAAI,WAEA,OCZe,SAAAE,EAAAjB,EAAAkB,GACf,GAAAA,IAAsB,YAAtBA,EAAeC,EAAAb,GAAOY,IAAA,mBAAAA,GACtB,OAAAA,EACI,YAAAA,EACJ,UAAAE,UAAA,4DAEA,SAASC,EAAAf,GAAqBN,EAC9B,CDKWiB,CAAyBN,KAAAJ,EACpC,CACA,mBEhBe,SAAAe,EAAAC,GACf,OAAAD,EAAAE,OAAAC,eAAAD,OAAAf,eAAAiB,OAAA,SAAAH,GACA,OAAAA,EAAAI,WAAAH,OAAAf,eAAAc,EACA,GACAA,EACA,mECJe,SAAAK,EAAAC,EAAAC,GACf,sBAAAA,GAAA,OAAAA,EACA,UAAAV,UAAA,sDAEAS,EAAAE,UAAAP,OAAAQ,OAAAF,KAAAC,UAAA,CACAnB,YAAA,CACAqB,MAAAJ,EACAK,UAAA,EACAC,cAAA,KAGAX,OAAAY,eAAAP,EAAA,aACAK,UAAA,IAEAJ,MAAkBO,EAAA/B,GAAcuB,EAAAC,EAChC,mBChBe,SAAAQ,IAEf,UADAzB,QAAA,MAAAA,QAAAC,WACAD,QAAAC,UAAAyB,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAAV,UAAAW,QAAAxB,KAAAL,QAAAC,UAAA2B,QAAA,mBACA,CACA,OACA,QACA,CACA,mCCVe,SAAAE,EAAApB,EAAAqB,GACf,OAAAD,EAAAnB,OAAAC,eAAAD,OAAAC,eAAAC,OAAA,SAAAH,EAAAqB,GACA,OAAArB,EAAAI,UAAAiB,EACArB,CACA,GACAA,EAAAqB,EACA","names":["_assertThisInitialized","self","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","call","esm_typeof","TypeError","assertThisInitialized","_getPrototypeOf","o","Object","setPrototypeOf","bind","__proto__","_inherits","subClass","superClass","prototype","create","value","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6]} \ No newline at end of file diff --git a/4155.85bf1e2187f8495e.js b/4155.85bf1e2187f8495e.js new file mode 100644 index 0000000..869d135 --- /dev/null +++ b/4155.85bf1e2187f8495e.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[4155,7376,5187,4091,1217,7208,4968,1084,6896,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,4680,2111,3326,8596,8352,5501,3098,8608,8443,5915,3278,5391,6748,6763,4151,5069,7432,6618],{35488:(f,n,e)=>{function t(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}e.d(n,{Z:()=>t})},28694:(f,n,e)=>{e.d(n,{Z:()=>i});var t=e(20265),o=e(98568),u=e(43445),r=e(35488);function i(p){var c=(0,o.Z)();return function(){var a,s=(0,t.Z)(p);if(c){var d=(0,t.Z)(this).constructor;a=Reflect.construct(s,arguments,d)}else a=s.apply(this,arguments);return function _(p,c){if(c&&("object"===(0,u.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(p)}(this,a)}}},20265:(f,n,e)=>{function t(o){return(t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)})(o)}e.d(n,{Z:()=>t})},24582:(f,n,e)=>{e.d(n,{Z:()=>o});var t=e(10006);function o(u,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(r&&r.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),r&&(0,t.Z)(u,r)}},98568:(f,n,e)=>{function t(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(n,{Z:()=>t})},10006:(f,n,e)=>{function t(o,u){return(t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_,i){return _.__proto__=i,_})(o,u)}e.d(n,{Z:()=>t})}}]); +//# sourceMappingURL=4155.85bf1e2187f8495e.js.map \ No newline at end of file diff --git a/4155.85bf1e2187f8495e.js.map b/4155.85bf1e2187f8495e.js.map new file mode 100644 index 0000000..d172f9c --- /dev/null +++ b/4155.85bf1e2187f8495e.js.map @@ -0,0 +1 @@ +{"version":3,"file":"4155.85bf1e2187f8495e.js","mappings":"sQAAe,SAAAA,EAAAC,GACf,YAAAA,EACA,UAAAC,eAAA,6DAEA,OAAAD,CACA,oGCFe,SAAAE,EAAAC,GACf,IAAAC,KAAkCC,EAAAC,KAClC,kBACA,IACAC,EADAC,KAAgBC,EAAAH,GAAcH,GAE9B,GAAAC,EAAA,CACA,IAAAM,KAAsBD,EAAAH,GAAcK,MAAAC,YACpCL,EAAAM,QAAAC,UAAAN,EAAAO,UAAAL,EAAA,MAEAH,EAAAC,EAAAQ,MAAAL,KAAAI,WAEA,OCZe,SAAAE,EAAAjB,EAAAkB,GACf,GAAAA,IAAsB,YAAtBA,EAAeC,EAAAb,GAAOY,IAAA,mBAAAA,GACtB,OAAAA,EACI,YAAAA,EACJ,UAAAE,UAAA,4DAEA,SAASC,EAAAf,GAAqBN,EAC9B,CDKWiB,CAAyBN,KAAAJ,EACpC,CACA,mBEhBe,SAAAe,EAAAC,GACf,OAAAD,EAAAE,OAAAC,eAAAD,OAAAf,eAAAiB,OAAA,SAAAH,GACA,OAAAA,EAAAI,WAAAH,OAAAf,eAAAc,EACA,GACAA,EACA,mECJe,SAAAK,EAAAC,EAAAC,GACf,sBAAAA,GAAA,OAAAA,EACA,UAAAV,UAAA,sDAEAS,EAAAE,UAAAP,OAAAQ,OAAAF,KAAAC,UAAA,CACAnB,YAAA,CACAqB,MAAAJ,EACAK,UAAA,EACAC,cAAA,KAGAX,OAAAY,eAAAP,EAAA,aACAK,UAAA,IAEAJ,MAAkBO,EAAA/B,GAAcuB,EAAAC,EAChC,mBChBe,SAAAQ,IAEf,UADAzB,QAAA,MAAAA,QAAAC,WACAD,QAAAC,UAAAyB,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAAV,UAAAW,QAAAxB,KAAAL,QAAAC,UAAA2B,QAAA,mBACA,CACA,OACA,QACA,CACA,mCCVe,SAAAE,EAAApB,EAAAqB,GACf,OAAAD,EAAAnB,OAAAC,eAAAD,OAAAC,eAAAC,OAAA,SAAAH,EAAAqB,GACA,OAAArB,EAAAI,UAAAiB,EACArB,CACA,GACAA,EAAAqB,EACA","names":["_assertThisInitialized","self","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","call","esm_typeof","TypeError","assertThisInitialized","_getPrototypeOf","o","Object","setPrototypeOf","bind","__proto__","_inherits","subClass","superClass","prototype","create","value","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6]} \ No newline at end of file diff --git a/4270.bbc9bcd142493e25.js b/4270.bbc9bcd142493e25.js new file mode 100644 index 0000000..f847326 --- /dev/null +++ b/4270.bbc9bcd142493e25.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[4270,5106,7376,5187,4091,1217,7208,4968,6785,4155,1084,6896,7920,6980,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,8061,4680,2111,3326,8596,8352,5501,882,3098,8467,6578,4093,8608,8443,7328,5915,3278,5391,6748,1551,6763,4151,5069,7432,8071,6618],{20591:(T,f,o)=>{o.d(f,{E:()=>b});var b=new(o(90833).y)(function(s){return s.complete()})},93945:(T,f,o)=>{o.d(f,{Q:()=>I,x:()=>M});var _=o(78069),b=o(48047),c=o(35488),d=o(24582),s=o(28694),m=o(4089),u=o(20265);function M(v,e,h,E,O){return new I(v,e,h,E,O)}var I=function(v){(0,d.Z)(h,v);var e=(0,s.Z)(h);function h(E,O,p,R,F,Z){var S,k,Q,P;return(0,_.Z)(this,h),(P=e.call(this,E)).onFinalize=F,P.shouldUnsubscribe=Z,P._next=O?function(A){try{O(A)}catch(x){E.error(x)}}:(0,m.Z)((S=(0,c.Z)(P),(0,u.Z)(h.prototype)),"_next",S),P._error=R?function(A){try{R(A)}catch(x){E.error(x)}finally{this.unsubscribe()}}:(0,m.Z)((k=(0,c.Z)(P),(0,u.Z)(h.prototype)),"_error",k),P._complete=p?function(){try{p()}catch(A){E.error(A)}finally{this.unsubscribe()}}:(0,m.Z)((Q=(0,c.Z)(P),(0,u.Z)(h.prototype)),"_complete",Q),P}return(0,b.Z)(h,[{key:"unsubscribe",value:function(){var O;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var p=this.closed;(0,m.Z)((0,u.Z)(h.prototype),"unsubscribe",this).call(this),!p&&(null===(O=this.onFinalize)||void 0===O||O.call(this))}}}]),h}(o(5463).Lv)},59295:(T,f,o)=>{o.d(f,{q:()=>d});var _=o(20591),b=o(41944),c=o(93945);function d(s){return s<=0?function(){return _.E}:(0,b.e)(function(m,u){var g=0;m.subscribe((0,c.x)(u,function(M){++g<=s&&(u.next(M),s<=g&&u.complete())}))})}},41944:(T,f,o)=>{o.d(f,{A:()=>b,e:()=>c});var _=o(92971);function b(d){return(0,_.m)(d?.lift)}function c(d){return function(s){if(b(s))return s.lift(function(m){try{return d(m,this)}catch(u){this.error(u)}});throw new TypeError("Unable to lift unknown Observable type")}}},80413:(T,f,o)=>{o.r(f),o.d(f,{MAT_LEGACY_TAB:()=>p.MAT_TAB,MAT_LEGACY_TABS_CONFIG:()=>p.MAT_TABS_CONFIG,MAT_LEGACY_TAB_CONTENT:()=>p.MAT_TAB_CONTENT,MAT_LEGACY_TAB_GROUP:()=>p.MAT_TAB_GROUP,MatLegacyInkBar:()=>j,MatLegacyPaginatedTabHeader:()=>p.MatPaginatedTabHeader,MatLegacyTab:()=>V,MatLegacyTabBody:()=>W,MatLegacyTabBodyPortal:()=>Y,MatLegacyTabChangeEvent:()=>p.MatTabChangeEvent,MatLegacyTabContent:()=>ue,MatLegacyTabGroup:()=>le,MatLegacyTabHeader:()=>$,MatLegacyTabLabel:()=>ce,MatLegacyTabLabelWrapper:()=>U,MatLegacyTabLink:()=>X,MatLegacyTabNav:()=>J,MatLegacyTabNavPanel:()=>de,MatLegacyTabsModule:()=>_e,_MAT_LEGACY_INK_BAR_POSITIONER:()=>p._MAT_INK_BAR_POSITIONER,_MAT_LEGACY_INK_BAR_POSITIONER_FACTORY:()=>p._MAT_INK_BAR_POSITIONER_FACTORY,_MatLegacyTabBase:()=>p._MatTabBase,_MatLegacyTabBodyBase:()=>p._MatTabBodyBase,_MatLegacyTabGroupBase:()=>p._MatTabGroupBase,_MatLegacyTabHeaderBase:()=>p._MatTabHeaderBase,_MatLegacyTabLinkBase:()=>p._MatTabLinkBase,_MatLegacyTabNavBase:()=>p._MatTabNavBase,matLegacyTabsAnimations:()=>p.matTabsAnimations});var _=o(35488),b=o(4089),c=o(20265),d=o(24582),s=o(28694),m=o(78069),u=o(48047),g=o(908),M=o(75321),I=o(18142),v=o(94055),e=o(56718),h=o(6606),E=o(33401),O=o(59295),p=o(31099),R=o(43068),F=o(93168),Z=o(23675);function S(n,i){1&n&&e.\u0275\u0275projection(0)}var k=["*"];function Q(n,i){}var P=function(i){return{animationDuration:i}},A=function(i,a){return{value:i,params:a}},x=["tabListContainer"],H=["tabList"],K=["tabListInner"],G=["nextPaginator"],z=["previousPaginator"],q=["tabBodyWrapper"],ee=["tabHeader"];function te(n,i){}function ae(n,i){if(1&n&&e.\u0275\u0275template(0,te,0,0,"ng-template",10),2&n){var a=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275property("cdkPortalOutlet",a.templateLabel)}}function ne(n,i){if(1&n&&e.\u0275\u0275text(0),2&n){var a=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275textInterpolate(a.textLabel)}}function re(n,i){if(1&n){var a=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",6),e.\u0275\u0275listener("click",function(){var C=e.\u0275\u0275restoreView(a),w=C.$implicit,D=C.index,N=e.\u0275\u0275nextContext(),B=e.\u0275\u0275reference(1);return e.\u0275\u0275resetView(N._handleClick(w,B,D))})("cdkFocusChange",function(C){var D=e.\u0275\u0275restoreView(a).index,N=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(N._tabFocusChanged(C,D))}),e.\u0275\u0275elementStart(1,"div",7),e.\u0275\u0275template(2,ae,1,1,"ng-template",8),e.\u0275\u0275template(3,ne,1,1,"ng-template",null,9,e.\u0275\u0275templateRefExtractor),e.\u0275\u0275elementEnd()()}if(2&n){var t=i.$implicit,r=i.index,l=e.\u0275\u0275reference(4),y=e.\u0275\u0275nextContext();e.\u0275\u0275classProp("mat-tab-label-active",y.selectedIndex===r),e.\u0275\u0275property("id",y._getTabLabelId(r))("ngClass",t.labelClass)("disabled",t.disabled)("matRippleDisabled",t.disabled||y.disableRipple),e.\u0275\u0275attribute("tabIndex",y._getTabIndex(r))("aria-posinset",r+1)("aria-setsize",y._tabs.length)("aria-controls",y._getTabContentId(r))("aria-selected",y.selectedIndex===r)("aria-label",t.ariaLabel||null)("aria-labelledby",!t.ariaLabel&&t.ariaLabelledby?t.ariaLabelledby:null),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",t.templateLabel)("ngIfElse",l)}}function ie(n,i){if(1&n){var a=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"mat-tab-body",11),e.\u0275\u0275listener("_onCentered",function(){e.\u0275\u0275restoreView(a);var L=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(L._removeTabBodyWrapperHeight())})("_onCentering",function(L){e.\u0275\u0275restoreView(a);var C=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(C._setTabBodyWrapperHeight(L))}),e.\u0275\u0275elementEnd()}if(2&n){var t=i.$implicit,r=i.index,l=e.\u0275\u0275nextContext();e.\u0275\u0275classProp("mat-tab-body-active",l.selectedIndex===r),e.\u0275\u0275property("id",l._getTabContentId(r))("ngClass",t.bodyClass)("content",t.content)("position",t.position)("origin",t.origin)("animationDuration",l.animationDuration)("preserveContent",l.preserveContent),e.\u0275\u0275attribute("tabindex",null!=l.contentTabIndex&&l.selectedIndex===r?l.contentTabIndex:null)("aria-labelledby",l._getTabLabelId(r))}}var oe=["mat-tab-nav-bar",""],j=function(){var n=function(){function i(a,t,r,l){(0,m.Z)(this,i),this._elementRef=a,this._ngZone=t,this._inkBarPositioner=r,this._animationMode=l}return(0,u.Z)(i,[{key:"alignToElement",value:function(t){var r=this;this.show(),this._ngZone.run(function(){r._ngZone.onStable.pipe((0,O.q)(1)).subscribe(function(){var l=r._inkBarPositioner(t),y=r._elementRef.nativeElement;y.style.left=l.left,y.style.width=l.width})})}},{key:"show",value:function(){this._elementRef.nativeElement.style.visibility="visible"}},{key:"hide",value:function(){this._elementRef.nativeElement.style.visibility="hidden"}}]),i}();return n.\u0275fac=function(a){return new(a||n)(e.\u0275\u0275directiveInject(e.ElementRef),e.\u0275\u0275directiveInject(e.NgZone),e.\u0275\u0275directiveInject(p._MAT_INK_BAR_POSITIONER),e.\u0275\u0275directiveInject(E.ANIMATION_MODULE_TYPE,8))},n.\u0275dir=e.\u0275\u0275defineDirective({type:n,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(a,t){2&a&&e.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===t._animationMode)}}),n}(),V=function(){var n=function(i){(0,d.Z)(t,i);var a=(0,s.Z)(t);function t(){var r;return(0,m.Z)(this,t),(r=a.apply(this,arguments))._explicitContent=void 0,r}return(0,u.Z)(t,[{key:"templateLabel",get:function(){return this._templateLabel},set:function(l){this._setTemplateLabelInput(l)}}]),t}(p._MatTabBase);return n.\u0275fac=function(){var i;return function(t){return(i||(i=e.\u0275\u0275getInheritedFactory(n)))(t||n)}}(),n.\u0275cmp=e.\u0275\u0275defineComponent({type:n,selectors:[["mat-tab"]],contentQueries:function(a,t,r){var l;1&a&&(e.\u0275\u0275contentQuery(r,p.MAT_TAB_LABEL,5),e.\u0275\u0275contentQuery(r,p.MAT_TAB_CONTENT,7,e.TemplateRef)),2&a&&(e.\u0275\u0275queryRefresh(l=e.\u0275\u0275loadQuery())&&(t.templateLabel=l.first),e.\u0275\u0275queryRefresh(l=e.\u0275\u0275loadQuery())&&(t._explicitContent=l.first))},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[e.\u0275\u0275ProvidersFeature([{provide:p.MAT_TAB,useExisting:n}]),e.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:k,decls:1,vars:0,template:function(a,t){1&a&&(e.\u0275\u0275projectionDef(),e.\u0275\u0275template(0,S,1,0,"ng-template"))},encapsulation:2}),n}(),Y=function(){var n=function(i){(0,d.Z)(t,i);var a=(0,s.Z)(t);function t(r,l,y,L){return(0,m.Z)(this,t),a.call(this,r,l,y,L)}return(0,u.Z)(t)}(p.MatTabBodyPortal);return n.\u0275fac=function(a){return new(a||n)(e.\u0275\u0275directiveInject(e.ComponentFactoryResolver),e.\u0275\u0275directiveInject(e.ViewContainerRef),e.\u0275\u0275directiveInject((0,e.forwardRef)(function(){return W})),e.\u0275\u0275directiveInject(v.DOCUMENT))},n.\u0275dir=e.\u0275\u0275defineDirective({type:n,selectors:[["","matTabBodyHost",""]],features:[e.\u0275\u0275InheritDefinitionFeature]}),n}(),W=function(){var n=function(i){(0,d.Z)(t,i);var a=(0,s.Z)(t);function t(r,l,y){return(0,m.Z)(this,t),a.call(this,r,l,y)}return(0,u.Z)(t)}(p._MatTabBodyBase);return n.\u0275fac=function(a){return new(a||n)(e.\u0275\u0275directiveInject(e.ElementRef),e.\u0275\u0275directiveInject(R.Directionality,8),e.\u0275\u0275directiveInject(e.ChangeDetectorRef))},n.\u0275cmp=e.\u0275\u0275defineComponent({type:n,selectors:[["mat-tab-body"]],viewQuery:function(a,t){var r;1&a&&e.\u0275\u0275viewQuery(I.CdkPortalOutlet,5),2&a&&e.\u0275\u0275queryRefresh(r=e.\u0275\u0275loadQuery())&&(t._portalHost=r.first)},hostAttrs:[1,"mat-tab-body"],features:[e.\u0275\u0275InheritDefinitionFeature],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(a,t){1&a&&(e.\u0275\u0275elementStart(0,"div",0,1),e.\u0275\u0275listener("@translateTab.start",function(l){return t._onTranslateTabStarted(l)})("@translateTab.done",function(l){return t._translateTabComplete.next(l)}),e.\u0275\u0275template(2,Q,0,0,"ng-template",2),e.\u0275\u0275elementEnd()),2&a&&e.\u0275\u0275property("@translateTab",e.\u0275\u0275pureFunction2(3,A,t._position,e.\u0275\u0275pureFunction1(1,P,t.animationDuration)))},dependencies:[Y],styles:['.mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}.mat-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[p.matTabsAnimations.translateTab]}}),n}(),U=function(){var n=function(i){(0,d.Z)(t,i);var a=(0,s.Z)(t);function t(){return(0,m.Z)(this,t),a.apply(this,arguments)}return(0,u.Z)(t)}(p._MatTabLabelWrapperBase);return n.\u0275fac=function(){var i;return function(t){return(i||(i=e.\u0275\u0275getInheritedFactory(n)))(t||n)}}(),n.\u0275dir=e.\u0275\u0275defineDirective({type:n,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(a,t){2&a&&(e.\u0275\u0275attribute("aria-disabled",!!t.disabled),e.\u0275\u0275classProp("mat-tab-disabled",t.disabled))},inputs:{disabled:"disabled"},features:[e.\u0275\u0275InheritDefinitionFeature]}),n}(),$=function(){var n=function(i){(0,d.Z)(t,i);var a=(0,s.Z)(t);function t(r,l,y,L,C,w,D){return(0,m.Z)(this,t),a.call(this,r,l,y,L,C,w,D)}return(0,u.Z)(t)}(p._MatTabHeaderBase);return n.\u0275fac=function(a){return new(a||n)(e.\u0275\u0275directiveInject(e.ElementRef),e.\u0275\u0275directiveInject(e.ChangeDetectorRef),e.\u0275\u0275directiveInject(F.ViewportRuler),e.\u0275\u0275directiveInject(R.Directionality,8),e.\u0275\u0275directiveInject(e.NgZone),e.\u0275\u0275directiveInject(Z.Platform),e.\u0275\u0275directiveInject(E.ANIMATION_MODULE_TYPE,8))},n.\u0275cmp=e.\u0275\u0275defineComponent({type:n,selectors:[["mat-tab-header"]],contentQueries:function(a,t,r){var l;1&a&&e.\u0275\u0275contentQuery(r,U,4),2&a&&e.\u0275\u0275queryRefresh(l=e.\u0275\u0275loadQuery())&&(t._items=l)},viewQuery:function(a,t){var r;1&a&&(e.\u0275\u0275viewQuery(j,7),e.\u0275\u0275viewQuery(x,7),e.\u0275\u0275viewQuery(H,7),e.\u0275\u0275viewQuery(K,7),e.\u0275\u0275viewQuery(G,5),e.\u0275\u0275viewQuery(z,5)),2&a&&(e.\u0275\u0275queryRefresh(r=e.\u0275\u0275loadQuery())&&(t._inkBar=r.first),e.\u0275\u0275queryRefresh(r=e.\u0275\u0275loadQuery())&&(t._tabListContainer=r.first),e.\u0275\u0275queryRefresh(r=e.\u0275\u0275loadQuery())&&(t._tabList=r.first),e.\u0275\u0275queryRefresh(r=e.\u0275\u0275loadQuery())&&(t._tabListInner=r.first),e.\u0275\u0275queryRefresh(r=e.\u0275\u0275loadQuery())&&(t._nextPaginator=r.first),e.\u0275\u0275queryRefresh(r=e.\u0275\u0275loadQuery())&&(t._previousPaginator=r.first))},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(a,t){2&a&&e.\u0275\u0275classProp("mat-tab-header-pagination-controls-enabled",t._showPaginationControls)("mat-tab-header-rtl","rtl"==t._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[e.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:k,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(a,t){1&a&&(e.\u0275\u0275projectionDef(),e.\u0275\u0275elementStart(0,"button",0,1),e.\u0275\u0275listener("click",function(){return t._handlePaginatorClick("before")})("mousedown",function(l){return t._handlePaginatorPress("before",l)})("touchend",function(){return t._stopInterval()}),e.\u0275\u0275element(2,"div",2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"div",3,4),e.\u0275\u0275listener("keydown",function(l){return t._handleKeydown(l)}),e.\u0275\u0275elementStart(5,"div",5,6),e.\u0275\u0275listener("cdkObserveContent",function(){return t._onContentChanges()}),e.\u0275\u0275elementStart(7,"div",7,8),e.\u0275\u0275projection(9),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(10,"mat-ink-bar"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(11,"button",9,10),e.\u0275\u0275listener("mousedown",function(l){return t._handlePaginatorPress("after",l)})("click",function(){return t._handlePaginatorClick("after")})("touchend",function(){return t._stopInterval()}),e.\u0275\u0275element(13,"div",2),e.\u0275\u0275elementEnd()),2&a&&(e.\u0275\u0275classProp("mat-tab-header-pagination-disabled",t._disableScrollBefore),e.\u0275\u0275property("matRippleDisabled",t._disableScrollBefore||t.disableRipple)("disabled",t._disableScrollBefore||null),e.\u0275\u0275advance(5),e.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===t._animationMode),e.\u0275\u0275advance(6),e.\u0275\u0275classProp("mat-tab-header-pagination-disabled",t._disableScrollAfter),e.\u0275\u0275property("matRippleDisabled",t._disableScrollAfter||t.disableRipple)("disabled",t._disableScrollAfter||null))},dependencies:[h.MatRipple,M.CdkObserveContent,j],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-list._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}.mat-tab-label::before{margin:5px}@media(max-width: 599px){.mat-tab-label{min-width:72px}}"],encapsulation:2}),n}(),le=function(){var n=function(i){(0,d.Z)(t,i);var a=(0,s.Z)(t);function t(r,l,y,L){return(0,m.Z)(this,t),a.call(this,r,l,y,L)}return(0,u.Z)(t)}(p._MatTabGroupBase);return n.\u0275fac=function(a){return new(a||n)(e.\u0275\u0275directiveInject(e.ElementRef),e.\u0275\u0275directiveInject(e.ChangeDetectorRef),e.\u0275\u0275directiveInject(p.MAT_TABS_CONFIG,8),e.\u0275\u0275directiveInject(E.ANIMATION_MODULE_TYPE,8))},n.\u0275cmp=e.\u0275\u0275defineComponent({type:n,selectors:[["mat-tab-group"]],contentQueries:function(a,t,r){var l;1&a&&e.\u0275\u0275contentQuery(r,V,5),2&a&&e.\u0275\u0275queryRefresh(l=e.\u0275\u0275loadQuery())&&(t._allTabs=l)},viewQuery:function(a,t){var r;1&a&&(e.\u0275\u0275viewQuery(q,5),e.\u0275\u0275viewQuery(ee,5)),2&a&&(e.\u0275\u0275queryRefresh(r=e.\u0275\u0275loadQuery())&&(t._tabBodyWrapper=r.first),e.\u0275\u0275queryRefresh(r=e.\u0275\u0275loadQuery())&&(t._tabHeader=r.first))},hostAttrs:["ngSkipHydration","",1,"mat-tab-group"],hostVars:4,hostBindings:function(a,t){2&a&&e.\u0275\u0275classProp("mat-tab-group-dynamic-height",t.dynamicHeight)("mat-tab-group-inverted-header","below"===t.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[e.\u0275\u0275ProvidersFeature([{provide:p.MAT_TAB_GROUP,useExisting:n}]),e.\u0275\u0275InheritDefinitionFeature],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","ngClass","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","ngClass","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(a,t){1&a&&(e.\u0275\u0275elementStart(0,"mat-tab-header",0,1),e.\u0275\u0275listener("indexFocused",function(l){return t._focusChanged(l)})("selectFocusedIndex",function(l){return t.selectedIndex=l}),e.\u0275\u0275template(2,re,5,15,"div",2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"div",3,4),e.\u0275\u0275template(5,ie,1,11,"mat-tab-body",5),e.\u0275\u0275elementEnd()),2&a&&(e.\u0275\u0275property("selectedIndex",t.selectedIndex||0)("disableRipple",t.disableRipple)("disablePagination",t.disablePagination),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",t._tabs),e.\u0275\u0275advance(1),e.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===t._animationMode),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",t._tabs))},dependencies:[v.NgClass,v.NgForOf,v.NgIf,I.CdkPortalOutlet,h.MatRipple,g.CdkMonitorFocus,U,W,$],styles:[".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}"],encapsulation:2}),n}(),se=0,J=function(){var n=function(i){(0,d.Z)(t,i);var a=(0,s.Z)(t);function t(r,l,y,L,C,w,D){return(0,m.Z)(this,t),a.call(this,r,l,y,L,C,w,D)}return(0,u.Z)(t)}(p._MatTabNavBase);return n.\u0275fac=function(a){return new(a||n)(e.\u0275\u0275directiveInject(e.ElementRef),e.\u0275\u0275directiveInject(R.Directionality,8),e.\u0275\u0275directiveInject(e.NgZone),e.\u0275\u0275directiveInject(e.ChangeDetectorRef),e.\u0275\u0275directiveInject(F.ViewportRuler),e.\u0275\u0275directiveInject(Z.Platform),e.\u0275\u0275directiveInject(E.ANIMATION_MODULE_TYPE,8))},n.\u0275cmp=e.\u0275\u0275defineComponent({type:n,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(a,t,r){var l;1&a&&e.\u0275\u0275contentQuery(r,X,5),2&a&&e.\u0275\u0275queryRefresh(l=e.\u0275\u0275loadQuery())&&(t._items=l)},viewQuery:function(a,t){var r;1&a&&(e.\u0275\u0275viewQuery(j,7),e.\u0275\u0275viewQuery(x,7),e.\u0275\u0275viewQuery(H,7),e.\u0275\u0275viewQuery(K,7),e.\u0275\u0275viewQuery(G,5),e.\u0275\u0275viewQuery(z,5)),2&a&&(e.\u0275\u0275queryRefresh(r=e.\u0275\u0275loadQuery())&&(t._inkBar=r.first),e.\u0275\u0275queryRefresh(r=e.\u0275\u0275loadQuery())&&(t._tabListContainer=r.first),e.\u0275\u0275queryRefresh(r=e.\u0275\u0275loadQuery())&&(t._tabList=r.first),e.\u0275\u0275queryRefresh(r=e.\u0275\u0275loadQuery())&&(t._tabListInner=r.first),e.\u0275\u0275queryRefresh(r=e.\u0275\u0275loadQuery())&&(t._nextPaginator=r.first),e.\u0275\u0275queryRefresh(r=e.\u0275\u0275loadQuery())&&(t._previousPaginator=r.first))},hostAttrs:[1,"mat-tab-nav-bar","mat-tab-header"],hostVars:11,hostBindings:function(a,t){2&a&&(e.\u0275\u0275attribute("role",t._getRole()),e.\u0275\u0275classProp("mat-tab-header-pagination-controls-enabled",t._showPaginationControls)("mat-tab-header-rtl","rtl"==t._getLayoutDirection())("mat-primary","warn"!==t.color&&"accent"!==t.color)("mat-accent","accent"===t.color)("mat-warn","warn"===t.color))},inputs:{color:"color"},exportAs:["matTabNavBar","matTabNav"],features:[e.\u0275\u0275InheritDefinitionFeature],attrs:oe,ngContentSelectors:k,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-link-container",3,"keydown"],["tabListContainer",""],[1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-links"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(a,t){1&a&&(e.\u0275\u0275projectionDef(),e.\u0275\u0275elementStart(0,"button",0,1),e.\u0275\u0275listener("click",function(){return t._handlePaginatorClick("before")})("mousedown",function(l){return t._handlePaginatorPress("before",l)})("touchend",function(){return t._stopInterval()}),e.\u0275\u0275element(2,"div",2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"div",3,4),e.\u0275\u0275listener("keydown",function(l){return t._handleKeydown(l)}),e.\u0275\u0275elementStart(5,"div",5,6),e.\u0275\u0275listener("cdkObserveContent",function(){return t._onContentChanges()}),e.\u0275\u0275elementStart(7,"div",7,8),e.\u0275\u0275projection(9),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(10,"mat-ink-bar"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(11,"button",9,10),e.\u0275\u0275listener("mousedown",function(l){return t._handlePaginatorPress("after",l)})("click",function(){return t._handlePaginatorClick("after")})("touchend",function(){return t._stopInterval()}),e.\u0275\u0275element(13,"div",2),e.\u0275\u0275elementEnd()),2&a&&(e.\u0275\u0275classProp("mat-tab-header-pagination-disabled",t._disableScrollBefore),e.\u0275\u0275property("matRippleDisabled",t._disableScrollBefore||t.disableRipple)("disabled",t._disableScrollBefore||null),e.\u0275\u0275advance(5),e.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===t._animationMode),e.\u0275\u0275advance(6),e.\u0275\u0275classProp("mat-tab-header-pagination-disabled",t._disableScrollAfter),e.\u0275\u0275property("matRippleDisabled",t._disableScrollAfter||t.disableRipple)("disabled",t._disableScrollAfter||null))},dependencies:[h.MatRipple,M.CdkObserveContent,j],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-links{display:flex}[mat-align-tabs=center]>.mat-tab-link-container .mat-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-tab-link-container .mat-tab-links{justify-content:flex-end}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-link{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;vertical-align:top;text-decoration:none;position:relative;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-tab-link:focus{outline:none}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-link.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-link.mat-tab-disabled{opacity:.5}.mat-tab-link .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-link{opacity:1}[mat-stretch-tabs] .mat-tab-link{flex-basis:0;flex-grow:1}.mat-tab-link.mat-tab-disabled{pointer-events:none}.mat-tab-link::before{margin:5px}@media(max-width: 599px){.mat-tab-link{min-width:72px}}"],encapsulation:2}),n}(),X=function(){var n=function(i){(0,d.Z)(t,i);var a=(0,s.Z)(t);function t(r,l,y,L,C,w,D,N){var B;return(0,m.Z)(this,t),(B=a.call(this,r,l,C,w,D,N))._tabLinkRipple=new h.RippleRenderer((0,_.Z)(B),y,l,L),B._tabLinkRipple.setupTriggerEvents(l.nativeElement),B}return(0,u.Z)(t,[{key:"ngOnDestroy",value:function(){(0,b.Z)((0,c.Z)(t.prototype),"ngOnDestroy",this).call(this),this._tabLinkRipple._removeTriggerEvents()}}]),t}(p._MatTabLinkBase);return n.\u0275fac=function(a){return new(a||n)(e.\u0275\u0275directiveInject(J),e.\u0275\u0275directiveInject(e.ElementRef),e.\u0275\u0275directiveInject(e.NgZone),e.\u0275\u0275directiveInject(Z.Platform),e.\u0275\u0275directiveInject(h.MAT_RIPPLE_GLOBAL_OPTIONS,8),e.\u0275\u0275injectAttribute("tabindex"),e.\u0275\u0275directiveInject(g.FocusMonitor),e.\u0275\u0275directiveInject(E.ANIMATION_MODULE_TYPE,8))},n.\u0275dir=e.\u0275\u0275defineDirective({type:n,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mat-tab-link","mat-focus-indicator"],hostVars:11,hostBindings:function(a,t){1&a&&e.\u0275\u0275listener("focus",function(){return t._handleFocus()})("keydown",function(l){return t._handleKeydown(l)}),2&a&&(e.\u0275\u0275attribute("aria-controls",t._getAriaControls())("aria-current",t._getAriaCurrent())("aria-disabled",t.disabled)("aria-selected",t._getAriaSelected())("id",t.id)("tabIndex",t._getTabIndex())("role",t._getRole()),e.\u0275\u0275classProp("mat-tab-disabled",t.disabled)("mat-tab-label-active",t.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matTabLink"],features:[e.\u0275\u0275InheritDefinitionFeature]}),n}(),de=function(){var n=(0,u.Z)(function i(){(0,m.Z)(this,i),this.id="mat-tab-nav-panel-".concat(se++)});return n.\u0275fac=function(a){return new(a||n)},n.\u0275cmp=e.\u0275\u0275defineComponent({type:n,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-tab-nav-panel"],hostVars:2,hostBindings:function(a,t){2&a&&e.\u0275\u0275attribute("aria-labelledby",t._activeTabId)("id",t.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:k,decls:1,vars:0,template:function(a,t){1&a&&(e.\u0275\u0275projectionDef(),e.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),n}(),ce=function(){var n=function(i){(0,d.Z)(t,i);var a=(0,s.Z)(t);function t(){return(0,m.Z)(this,t),a.apply(this,arguments)}return(0,u.Z)(t)}(p.MatTabLabel);return n.\u0275fac=function(){var i;return function(t){return(i||(i=e.\u0275\u0275getInheritedFactory(n)))(t||n)}}(),n.\u0275dir=e.\u0275\u0275defineDirective({type:n,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[e.\u0275\u0275ProvidersFeature([{provide:p.MAT_TAB_LABEL,useExisting:n}]),e.\u0275\u0275InheritDefinitionFeature]}),n}(),ue=function(){var n=function(i){(0,d.Z)(t,i);var a=(0,s.Z)(t);function t(){return(0,m.Z)(this,t),a.apply(this,arguments)}return(0,u.Z)(t)}(p.MatTabContent);return n.\u0275fac=function(){var i;return function(t){return(i||(i=e.\u0275\u0275getInheritedFactory(n)))(t||n)}}(),n.\u0275dir=e.\u0275\u0275defineDirective({type:n,selectors:[["","matTabContent",""]],features:[e.\u0275\u0275ProvidersFeature([{provide:p.MAT_TAB_CONTENT,useExisting:n}]),e.\u0275\u0275InheritDefinitionFeature]}),n}(),_e=function(){var n=(0,u.Z)(function i(){(0,m.Z)(this,i)});return n.\u0275fac=function(a){return new(a||n)},n.\u0275mod=e.\u0275\u0275defineNgModule({type:n}),n.\u0275inj=e.\u0275\u0275defineInjector({imports:[v.CommonModule,h.MatCommonModule,I.PortalModule,h.MatRippleModule,M.ObserversModule,g.A11yModule,h.MatCommonModule]}),n}()},44841:(T,f,o)=>{function _(b,c){(null==c||c>b.length)&&(c=b.length);for(var d=0,s=new Array(c);d<c;d++)s[d]=b[d];return s}o.d(f,{Z:()=>_})},35488:(T,f,o)=>{function _(b){if(void 0===b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b}o.d(f,{Z:()=>_})},95106:(T,f,o)=>{o.d(f,{Z:()=>b});var _=o(44206);function b(c,d){var s=typeof Symbol<"u"&&c[Symbol.iterator]||c["@@iterator"];if(!s){if(Array.isArray(c)||(s=(0,_.Z)(c))||d&&c&&"number"==typeof c.length){s&&(c=s);var m=0,u=function(){};return{s:u,n:function(){return m>=c.length?{done:!0}:{done:!1,value:c[m++]}},e:function(e){throw e},f:u}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var I,g=!0,M=!1;return{s:function(){s=s.call(c)},n:function(){var e=s.next();return g=e.done,e},e:function(e){M=!0,I=e},f:function(){try{!g&&null!=s.return&&s.return()}finally{if(M)throw I}}}}},28694:(T,f,o)=>{o.d(f,{Z:()=>m});var _=o(20265),b=o(98568),c=o(43445),d=o(35488);function m(u){var g=(0,b.Z)();return function(){var v,I=(0,_.Z)(u);if(g){var e=(0,_.Z)(this).constructor;v=Reflect.construct(I,arguments,e)}else v=I.apply(this,arguments);return function s(u,g){if(g&&("object"===(0,c.Z)(g)||"function"==typeof g))return g;if(void 0!==g)throw new TypeError("Derived constructors may only return object or undefined");return(0,d.Z)(u)}(this,v)}}},4089:(T,f,o)=>{o.d(f,{Z:()=>c});var _=o(20265);function c(){return c=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(s,m,u){var g=function b(d,s){for(;!Object.prototype.hasOwnProperty.call(d,s)&&null!==(d=(0,_.Z)(d)););return d}(s,m);if(g){var M=Object.getOwnPropertyDescriptor(g,m);return M.get?M.get.call(arguments.length<3?s:u):M.value}},c.apply(this,arguments)}},20265:(T,f,o)=>{function _(b){return(_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(d){return d.__proto__||Object.getPrototypeOf(d)})(b)}o.d(f,{Z:()=>_})},24582:(T,f,o)=>{o.d(f,{Z:()=>b});var _=o(10006);function b(c,d){if("function"!=typeof d&&null!==d)throw new TypeError("Super expression must either be null or a function");c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,writable:!0,configurable:!0}}),Object.defineProperty(c,"prototype",{writable:!1}),d&&(0,_.Z)(c,d)}},98568:(T,f,o)=>{function _(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}o.d(f,{Z:()=>_})},4826:(T,f,o)=>{function _(b){if(typeof Symbol<"u"&&null!=b[Symbol.iterator]||null!=b["@@iterator"])return Array.from(b)}o.d(f,{Z:()=>_})},10006:(T,f,o)=>{function _(b,c){return(_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(s,m){return s.__proto__=m,s})(b,c)}o.d(f,{Z:()=>_})},86170:(T,f,o)=>{o.d(f,{Z:()=>m});var _=o(44841),c=o(4826),d=o(44206);function m(u){return function b(u){if(Array.isArray(u))return(0,_.Z)(u)}(u)||(0,c.Z)(u)||(0,d.Z)(u)||function s(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(T,f,o)=>{o.d(f,{Z:()=>b});var _=o(44841);function b(c,d){if(c){if("string"==typeof c)return(0,_.Z)(c,d);var s=Object.prototype.toString.call(c).slice(8,-1);if("Object"===s&&c.constructor&&(s=c.constructor.name),"Map"===s||"Set"===s)return Array.from(c);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return(0,_.Z)(c,d)}}}}]); +//# sourceMappingURL=4270.bbc9bcd142493e25.js.map \ No newline at end of file diff --git a/4270.bbc9bcd142493e25.js.map b/4270.bbc9bcd142493e25.js.map new file mode 100644 index 0000000..b86268c --- /dev/null +++ b/4270.bbc9bcd142493e25.js.map @@ -0,0 +1 @@ +{"version":3,"file":"4270.bbc9bcd142493e25.js","mappings":"2VACaA,EAAQ,aAAIC,GAAW,SAACC,GAAU,OAAKA,EAAWC,UAAU,6HCAlE,SAASC,EAAyBC,EAAaC,EAAQC,EAAYC,EAASC,GAC/E,OAAO,IAAIC,EAAmBL,EAAaC,EAAQC,EAAYC,EAASC,EAC5E,CACO,IAAMC,EAAkB,SAAAC,IAAAC,OAAAF,EAAAC,GAAA,IAAAE,KAAAC,KAAAJ,GAC3B,SAAAA,EAAYL,EAAaC,EAAQC,EAAYC,EAASC,EAAYM,GAAmB,IAAAC,EAAAC,EAAAC,EAAAC,EAAAC,cAAAC,KAAAX,IACjFS,EAAAN,EAAAS,KAAAD,KAAMhB,IACDI,WAAaA,EAClBU,EAAKJ,kBAAoBA,EACzBI,EAAKI,MAAQjB,EACP,SAAUkB,GACR,IACIlB,EAAOkB,EACX,OACOC,GACHpB,EAAYqB,MAAMD,EACtB,CACJ,KAACE,MAAAX,KAAAY,KAAAT,IAAA,EAAAU,KAAAnB,EAAAoB,YAAA,QAAAd,GAELG,EAAKY,OAASvB,EACR,SAAUiB,GACR,IACIjB,EAAQiB,EACZ,OACOA,GACHpB,EAAYqB,MAAMD,EACtB,SAEIJ,KAAKW,aACT,CACJ,KAACL,MAAAV,KAAAW,KAAAT,IAAA,EAAAU,KAAAnB,EAAAoB,YAAA,SAAAb,GAELE,EAAKc,UAAY1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AAA1D,GAAgBf,EACjD,CDESwE,CAAiBxE,KAAA,EAAS0E,EAAA3D,GAAef,KAAA,EAAS2E,EAAA5D,GAA0Bf,IELtE,SAAA4E,IACf,UAAAlV,UAAA,uIACA,CFG8FkV,EAC9F,mDGLe,SAAAC,EAAArE,EAAAsE,GACf,GAAAtE,EACA,qBAAAA,EAAA,SAAoCuE,EAAAhE,GAAgBP,EAAAsE,GACpD,IAAA5D,EAAA8B,OAAA3U,UAAA2W,SAAAnX,KAAA2S,GAAAyE,MAAA,MAEA,GADA,WAAA/D,GAAAV,EAAA2B,cAAAjB,EAAAV,EAAA2B,YAAA+C,MACA,QAAAhE,GAAA,QAAAA,EAAA,OAAAd,MAAAgE,KAAA5D,GACA,iBAAAU,GAAA,2CAAAiE,KAAAjE,GAAA,SAAsF6D,EAAAhE,GAAgBP,EAAAsE,EAAA,CACtG","names":["EMPTY","Observable","subscriber","complete","createOperatorSubscriber","destination","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","_inherits","_super","_createSuper","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_this","_classCallCheck","this","call","_next","value","err","error","_get","_assertThisInitialized","_getPrototypeOf","prototype","_error","unsubscribe","_complete","_createClass","key","_a","closed","Subscriber","take","count","operate","source","seen","subscribe","next","hasLift","isFunction","lift","init","liftedSource","TypeError","MatLegacyTab_ng_template_0_Template","rf","ctx","i0","_c0","MatLegacyTabBody_ng_template_2_Template","_c1","a0","animationDuration","_c2","a1","params","_c3","_c4","_c5","_c6","_c7","_c8","_c9","MatLegacyTabGroup_div_2_ng_template_2_ng_template_0_Template","MatLegacyTabGroup_div_2_ng_template_2_Template","tab_r4","$implicit","templateLabel","MatLegacyTabGroup_div_2_ng_template_3_Template","textLabel","MatLegacyTabGroup_div_2_Template","_r13","restoredCtx","i_r5","index","ctx_r12","_r0","_handleClick","$event","ctx_r14","_tabFocusChanged","_r7","ctx_r1","selectedIndex","_getTabLabelId","labelClass","disabled","disableRipple","_getTabIndex","_tabs","length","_getTabContentId","ariaLabel","ariaLabelledby","MatLegacyTabGroup_mat_tab_body_5_Template","_r18","ctx_r17","_removeTabBodyWrapperHeight","ctx_r19","_setTabBodyWrapperHeight","tab_r15","i_r16","ctx_r3","bodyClass","content","position","origin","preserveContent","contentTabIndex","_c10","MatLegacyInkBar","_elementRef","_ngZone","_inkBarPositioner","_animationMode","element","show","run","onStable","pipe","positions","inkBar","nativeElement","style","left","width","visibility","ɵfac","t","_MAT_INK_BAR_POSITIONER","ANIMATION_MODULE_TYPE","ɵdir","type","selectors","hostAttrs","hostVars","hostBindings","MatLegacyTab","_MatTabBase2","_this2","apply","arguments","_explicitContent","undefined","get","_templateLabel","set","_setTemplateLabelInput","_MatTabBase","ɵMatLegacyTab_BaseFactory","ɵcmp","contentQueries","dirIndex","_t","MAT_TAB_LABEL","MAT_TAB_CONTENT","TemplateRef","first","inputs","exportAs","features","provide","MAT_TAB","useExisting","ngContentSelectors","decls","vars","template","encapsulation","MatLegacyTabBodyPortal","_MatTabBodyPortal","_super2","componentFactoryResolver","viewContainerRef","host","_document","MatTabBodyPortal","forwardRef","MatLegacyTabBody","DOCUMENT","_MatTabBodyBase2","_super3","elementRef","dir","changeDetectorRef","_MatTabBodyBase","i1","viewQuery","CdkPortalOutlet","_portalHost","consts","_onTranslateTabStarted","_translateTabComplete","_position","dependencies","styles","data","animation","matTabsAnimations","MatLegacyTabLabelWrapper","_MatTabLabelWrapperBa","_super4","_MatTabLabelWrapperBase","ɵMatLegacyTabLabelWrapper_BaseFactory","MatLegacyTabHeader","_MatTabHeaderBase2","_super5","viewportRuler","ngZone","platform","animationMode","_MatTabHeaderBase","i1$1","i3","_items","_inkBar","_tabListContainer","_tabList","_tabListInner","_nextPaginator","_previousPaginator","_showPaginationControls","_getLayoutDirection","outputs","selectFocusedIndex","indexFocused","_handlePaginatorClick","_handlePaginatorPress","_stopInterval","_handleKeydown","_onContentChanges","_disableScrollBefore","_disableScrollAfter","i4","i5","MatLegacyTabGroup","_MatTabGroupBase2","_super6","defaultConfig","_MatTabGroupBase","MAT_TABS_CONFIG","_allTabs","_tabBodyWrapper","_tabHeader","dynamicHeight","headerPosition","color","MAT_TAB_GROUP","_focusChanged","disablePagination","i1$2","i2","i7","nextUniqueId","MatLegacyTabNav","_MatTabNavBase2","_super7","_MatTabNavBase","MatLegacyTabLink","_getRole","attrs","_MatTabLinkBase2","_super8","tabNavBar","globalRippleOptions","tabIndex","focusMonitor","_this3","_tabLinkRipple","RippleRenderer","setupTriggerEvents","_removeTriggerEvents","_MatTabLinkBase","MAT_RIPPLE_GLOBAL_OPTIONS","_handleFocus","_getAriaControls","_getAriaCurrent","_getAriaSelected","id","active","MatLegacyTabNavPanel","concat","_activeTabId","changeDetection","MatLegacyTabLabel","_MatTabLabel","_super9","MatTabLabel","ɵMatLegacyTabLabel_BaseFactory","MatLegacyTabContent","_MatTabContent","_super10","MatTabContent","ɵMatLegacyTabContent_BaseFactory","MatLegacyTabsModule","ɵmod","ɵinj","imports","CommonModule","MatCommonModule","PortalModule","MatRippleModule","ObserversModule","A11yModule","_arrayLikeToArray","arr","len","i","arr2","Array","self","ReferenceError","_createForOfIteratorHelper","o","allowArrayLike","it","Symbol","iterator","isArray","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","s","n","done","e","_e","f","normalCompletion","didErr","step","_e2","return","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","result","Super","getPrototypeOf","NewTarget","constructor","Reflect","construct","_possibleConstructorReturn","esm_typeof","assertThisInitialized","bind","target","property","receiver","base","_superPropBase","object","Object","hasOwnProperty","desc","getOwnPropertyDescriptor","setPrototypeOf","__proto__","subClass","superClass","create","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_iterableToArray","iter","from","_setPrototypeOf","p","_toConsumableArray","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","toString","slice","name","test"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/observable/empty.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/take.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/@angular/material/fesm2022/legacy-tabs.mjs","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { Observable } from '../Observable';\nexport const EMPTY = new Observable((subscriber) => subscriber.complete());\nexport function empty(scheduler) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n return new Observable((subscriber) => scheduler.schedule(() => subscriber.complete()));\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","import { EMPTY } from '../observable/empty';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function take(count) {\n return count <= 0\n ?\n () => EMPTY\n : operate((source, subscriber) => {\n let seen = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n if (++seen <= count) {\n subscriber.next(value);\n if (count <= seen) {\n subscriber.complete();\n }\n }\n }));\n });\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","import * as i7 from '@angular/cdk/a11y';\nimport { A11yModule } from '@angular/cdk/a11y';\nimport * as i5 from '@angular/cdk/observers';\nimport { ObserversModule } from '@angular/cdk/observers';\nimport * as i2 from '@angular/cdk/portal';\nimport { CdkPortalOutlet, PortalModule } from '@angular/cdk/portal';\nimport * as i1$2 from '@angular/common';\nimport { DOCUMENT, CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { Directive, Inject, Optional, TemplateRef, Component, ChangeDetectionStrategy, ViewEncapsulation, ContentChild, forwardRef, ViewChild, ContentChildren, Attribute, Input, NgModule } from '@angular/core';\nimport * as i4 from '@angular/material/core';\nimport { RippleRenderer, MAT_RIPPLE_GLOBAL_OPTIONS, MatCommonModule, MatRippleModule } from '@angular/material/core';\nimport { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';\nimport { take } from 'rxjs/operators';\nimport { _MAT_INK_BAR_POSITIONER, _MatTabBase, MAT_TAB, MAT_TAB_LABEL, MAT_TAB_CONTENT, MatTabBodyPortal, _MatTabBodyBase, matTabsAnimations, _MatTabLabelWrapperBase, _MatTabHeaderBase, _MatTabGroupBase, MAT_TABS_CONFIG, MAT_TAB_GROUP, _MatTabNavBase, _MatTabLinkBase, MatTabLabel, MatTabContent } from '@angular/material/tabs';\nexport { MAT_TAB as MAT_LEGACY_TAB, MAT_TABS_CONFIG as MAT_LEGACY_TABS_CONFIG, MAT_TAB_CONTENT as MAT_LEGACY_TAB_CONTENT, MAT_TAB_GROUP as MAT_LEGACY_TAB_GROUP, MatPaginatedTabHeader as MatLegacyPaginatedTabHeader, MatTabChangeEvent as MatLegacyTabChangeEvent, _MAT_INK_BAR_POSITIONER as _MAT_LEGACY_INK_BAR_POSITIONER, _MAT_INK_BAR_POSITIONER_FACTORY as _MAT_LEGACY_INK_BAR_POSITIONER_FACTORY, _MatTabBase as _MatLegacyTabBase, _MatTabBodyBase as _MatLegacyTabBodyBase, _MatTabGroupBase as _MatLegacyTabGroupBase, _MatTabHeaderBase as _MatLegacyTabHeaderBase, _MatTabLinkBase as _MatLegacyTabLinkBase, _MatTabNavBase as _MatLegacyTabNavBase, matTabsAnimations as matLegacyTabsAnimations } from '@angular/material/tabs';\nimport * as i1 from '@angular/cdk/bidi';\nimport * as i1$1 from '@angular/cdk/scrolling';\nimport * as i3 from '@angular/cdk/platform';\n\n/**\n * The ink-bar is used to display and animate the line underneath the current active tab label.\n * @docs-private\n * @deprecated Use `MatInkBar` from `@angular/material/tabs` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyInkBar {\n constructor(_elementRef, _ngZone, _inkBarPositioner, _animationMode) {\n this._elementRef = _elementRef;\n this._ngZone = _ngZone;\n this._inkBarPositioner = _inkBarPositioner;\n this._animationMode = _animationMode;\n }\n /**\n * Calculates the styles from the provided element in order to align the ink-bar to that element.\n * Shows the ink bar if previously set as hidden.\n * @param element\n */\n alignToElement(element) {\n this.show();\n // `onStable` might not run for a while if the zone has already stabilized.\n // Wrap the call in `NgZone.run` to ensure that it runs relatively soon.\n this._ngZone.run(() => {\n this._ngZone.onStable.pipe(take(1)).subscribe(() => {\n const positions = this._inkBarPositioner(element);\n const inkBar = this._elementRef.nativeElement;\n inkBar.style.left = positions.left;\n inkBar.style.width = positions.width;\n });\n });\n }\n /** Shows the ink bar. */\n show() {\n this._elementRef.nativeElement.style.visibility = 'visible';\n }\n /** Hides the ink bar. */\n hide() {\n this._elementRef.nativeElement.style.visibility = 'hidden';\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyInkBar, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: _MAT_INK_BAR_POSITIONER }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyInkBar, selector: \"mat-ink-bar\", host: { properties: { \"class._mat-animation-noopable\": \"_animationMode === 'NoopAnimations'\" }, classAttribute: \"mat-ink-bar\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyInkBar, decorators: [{\n type: Directive,\n args: [{\n selector: 'mat-ink-bar',\n host: {\n 'class': 'mat-ink-bar',\n '[class._mat-animation-noopable]': `_animationMode === 'NoopAnimations'`,\n },\n }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: undefined, decorators: [{\n type: Inject,\n args: [_MAT_INK_BAR_POSITIONER]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }]; } });\n\n/**\n * @deprecated Use `MatTab` from `@angular/material/tabs` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyTab extends _MatTabBase {\n constructor() {\n super(...arguments);\n /**\n * Template provided in the tab content that will be used if present, used to enable lazy-loading\n */\n this._explicitContent = undefined;\n }\n /** Content for the tab label given by `<ng-template mat-tab-label>`. */\n get templateLabel() {\n return this._templateLabel;\n }\n set templateLabel(value) {\n this._setTemplateLabelInput(value);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyTab, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyTab, selector: \"mat-tab\", inputs: { disabled: \"disabled\" }, providers: [{ provide: MAT_TAB, useExisting: MatLegacyTab }], queries: [{ propertyName: \"templateLabel\", first: true, predicate: MAT_TAB_LABEL, descendants: true }, { propertyName: \"_explicitContent\", first: true, predicate: MAT_TAB_CONTENT, descendants: true, read: TemplateRef, static: true }], exportAs: [\"matTab\"], usesInheritance: true, ngImport: i0, template: \"<!-- Create a template for the content of the <mat-tab> so that we can grab a reference to this\\n TemplateRef and use it in a Portal to render the tab content in the appropriate place in the\\n tab-group. -->\\n<ng-template><ng-content></ng-content></ng-template>\\n\", changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyTab, decorators: [{\n type: Component,\n args: [{ selector: 'mat-tab', inputs: ['disabled'], changeDetection: ChangeDetectionStrategy.Default, encapsulation: ViewEncapsulation.None, exportAs: 'matTab', providers: [{ provide: MAT_TAB, useExisting: MatLegacyTab }], template: \"<!-- Create a template for the content of the <mat-tab> so that we can grab a reference to this\\n TemplateRef and use it in a Portal to render the tab content in the appropriate place in the\\n tab-group. -->\\n<ng-template><ng-content></ng-content></ng-template>\\n\" }]\n }], propDecorators: { templateLabel: [{\n type: ContentChild,\n args: [MAT_TAB_LABEL]\n }], _explicitContent: [{\n type: ContentChild,\n args: [MAT_TAB_CONTENT, { read: TemplateRef, static: true }]\n }] } });\n\n/**\n * The portal host directive for the contents of the tab.\n * @docs-private\n * @deprecated Use `MatTabBodyPortal` from `@angular/material/tabs` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyTabBodyPortal extends MatTabBodyPortal {\n constructor(componentFactoryResolver, viewContainerRef, host, _document) {\n super(componentFactoryResolver, viewContainerRef, host, _document);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyTabBodyPortal, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.ViewContainerRef }, { token: forwardRef(() => MatLegacyTabBody) }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyTabBodyPortal, selector: \"[matTabBodyHost]\", usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyTabBodyPortal, decorators: [{\n type: Directive,\n args: [{\n selector: '[matTabBodyHost]',\n }]\n }], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i0.ViewContainerRef }, { type: MatLegacyTabBody, decorators: [{\n type: Inject,\n args: [forwardRef(() => MatLegacyTabBody)]\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }]; } });\n/**\n * Wrapper for the contents of a tab.\n * @docs-private\n * @deprecated Use `MatTabBody` from `@angular/material/tabs` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyTabBody extends _MatTabBodyBase {\n constructor(elementRef, dir, changeDetectorRef) {\n super(elementRef, dir, changeDetectorRef);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyTabBody, deps: [{ token: i0.ElementRef }, { token: i1.Directionality, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyTabBody, selector: \"mat-tab-body\", host: { classAttribute: \"mat-tab-body\" }, viewQueries: [{ propertyName: \"_portalHost\", first: true, predicate: CdkPortalOutlet, descendants: true }], usesInheritance: true, ngImport: i0, template: \"<div class=\\\"mat-tab-body-content\\\" #content\\n [@translateTab]=\\\"{\\n value: _position,\\n params: {animationDuration: animationDuration}\\n }\\\"\\n (@translateTab.start)=\\\"_onTranslateTabStarted($event)\\\"\\n (@translateTab.done)=\\\"_translateTabComplete.next($event)\\\"\\n cdkScrollable>\\n <ng-template matTabBodyHost></ng-template>\\n</div>\\n\", styles: [\".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}.mat-tab-body-content[style*=\\\"visibility: hidden\\\"]{display:none}\"], dependencies: [{ kind: \"directive\", type: MatLegacyTabBodyPortal, selector: \"[matTabBodyHost]\" }], animations: [matTabsAnimations.translateTab], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyTabBody, decorators: [{\n type: Component,\n args: [{ selector: 'mat-tab-body', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, animations: [matTabsAnimations.translateTab], host: {\n 'class': 'mat-tab-body',\n }, template: \"<div class=\\\"mat-tab-body-content\\\" #content\\n [@translateTab]=\\\"{\\n value: _position,\\n params: {animationDuration: animationDuration}\\n }\\\"\\n (@translateTab.start)=\\\"_onTranslateTabStarted($event)\\\"\\n (@translateTab.done)=\\\"_translateTabComplete.next($event)\\\"\\n cdkScrollable>\\n <ng-template matTabBodyHost></ng-template>\\n</div>\\n\", styles: [\".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}.mat-tab-body-content[style*=\\\"visibility: hidden\\\"]{display:none}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.Directionality, decorators: [{\n type: Optional\n }] }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _portalHost: [{\n type: ViewChild,\n args: [CdkPortalOutlet]\n }] } });\n\n/**\n * @deprecated Use `MatTabLabelWrapper` from `@angular/material/tabs` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyTabLabelWrapper extends _MatTabLabelWrapperBase {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyTabLabelWrapper, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyTabLabelWrapper, selector: \"[matTabLabelWrapper]\", inputs: { disabled: \"disabled\" }, host: { properties: { \"class.mat-tab-disabled\": \"disabled\", \"attr.aria-disabled\": \"!!disabled\" } }, usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyTabLabelWrapper, decorators: [{\n type: Directive,\n args: [{\n selector: '[matTabLabelWrapper]',\n inputs: ['disabled'],\n host: {\n '[class.mat-tab-disabled]': 'disabled',\n '[attr.aria-disabled]': '!!disabled',\n },\n }]\n }] });\n\n/**\n * The header of the tab group which displays a list of all the tabs in the tab group. Includes\n * an ink bar that follows the currently selected tab. When the tabs list's width exceeds the\n * width of the header container, then arrows will be displayed to allow the user to scroll\n * left and right across the header.\n * @docs-private\n * @deprecated Use `MatTabHeader` from `@angular/material/tabs` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyTabHeader extends _MatTabHeaderBase {\n constructor(elementRef, changeDetectorRef, viewportRuler, dir, ngZone, platform, animationMode) {\n super(elementRef, changeDetectorRef, viewportRuler, dir, ngZone, platform, animationMode);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyTabHeader, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1$1.ViewportRuler }, { token: i1.Directionality, optional: true }, { token: i0.NgZone }, { token: i3.Platform }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyTabHeader, selector: \"mat-tab-header\", inputs: { selectedIndex: \"selectedIndex\" }, outputs: { selectFocusedIndex: \"selectFocusedIndex\", indexFocused: \"indexFocused\" }, host: { properties: { \"class.mat-tab-header-pagination-controls-enabled\": \"_showPaginationControls\", \"class.mat-tab-header-rtl\": \"_getLayoutDirection() == 'rtl'\" }, classAttribute: \"mat-tab-header\" }, queries: [{ propertyName: \"_items\", predicate: MatLegacyTabLabelWrapper }], viewQueries: [{ propertyName: \"_inkBar\", first: true, predicate: MatLegacyInkBar, descendants: true, static: true }, { propertyName: \"_tabListContainer\", first: true, predicate: [\"tabListContainer\"], descendants: true, static: true }, { propertyName: \"_tabList\", first: true, predicate: [\"tabList\"], descendants: true, static: true }, { propertyName: \"_tabListInner\", first: true, predicate: [\"tabListInner\"], descendants: true, static: true }, { propertyName: \"_nextPaginator\", first: true, predicate: [\"nextPaginator\"], descendants: true }, { propertyName: \"_previousPaginator\", first: true, predicate: [\"previousPaginator\"], descendants: true }], usesInheritance: true, ngImport: i0, template: \"<button class=\\\"mat-tab-header-pagination mat-tab-header-pagination-before mat-elevation-z4\\\"\\n #previousPaginator\\n aria-hidden=\\\"true\\\"\\n type=\\\"button\\\"\\n mat-ripple\\n tabindex=\\\"-1\\\"\\n [matRippleDisabled]=\\\"_disableScrollBefore || disableRipple\\\"\\n [class.mat-tab-header-pagination-disabled]=\\\"_disableScrollBefore\\\"\\n [disabled]=\\\"_disableScrollBefore || null\\\"\\n (click)=\\\"_handlePaginatorClick('before')\\\"\\n (mousedown)=\\\"_handlePaginatorPress('before', $event)\\\"\\n (touchend)=\\\"_stopInterval()\\\">\\n <div class=\\\"mat-tab-header-pagination-chevron\\\"></div>\\n</button>\\n\\n<div class=\\\"mat-tab-label-container\\\" #tabListContainer (keydown)=\\\"_handleKeydown($event)\\\">\\n <div\\n #tabList\\n class=\\\"mat-tab-list\\\"\\n [class._mat-animation-noopable]=\\\"_animationMode === 'NoopAnimations'\\\"\\n role=\\\"tablist\\\"\\n (cdkObserveContent)=\\\"_onContentChanges()\\\">\\n <div class=\\\"mat-tab-labels\\\" #tabListInner>\\n <ng-content></ng-content>\\n </div>\\n <mat-ink-bar></mat-ink-bar>\\n </div>\\n</div>\\n\\n<button class=\\\"mat-tab-header-pagination mat-tab-header-pagination-after mat-elevation-z4\\\"\\n #nextPaginator\\n aria-hidden=\\\"true\\\"\\n type=\\\"button\\\"\\n mat-ripple\\n [matRippleDisabled]=\\\"_disableScrollAfter || disableRipple\\\"\\n [class.mat-tab-header-pagination-disabled]=\\\"_disableScrollAfter\\\"\\n [disabled]=\\\"_disableScrollAfter || null\\\"\\n tabindex=\\\"-1\\\"\\n (mousedown)=\\\"_handlePaginatorPress('after', $event)\\\"\\n (click)=\\\"_handlePaginatorClick('after')\\\"\\n (touchend)=\\\"_stopInterval()\\\">\\n <div class=\\\"mat-tab-header-pagination-chevron\\\"></div>\\n</button>\\n\", styles: [\".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-list._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}.mat-tab-label::before{margin:5px}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\"], dependencies: [{ kind: \"directive\", type: i4.MatRipple, selector: \"[mat-ripple], [matRipple]\", inputs: [\"matRippleColor\", \"matRippleUnbounded\", \"matRippleCentered\", \"matRippleRadius\", \"matRippleAnimation\", \"matRippleDisabled\", \"matRippleTrigger\"], exportAs: [\"matRipple\"] }, { kind: \"directive\", type: i5.CdkObserveContent, selector: \"[cdkObserveContent]\", inputs: [\"cdkObserveContentDisabled\", \"debounce\"], outputs: [\"cdkObserveContent\"], exportAs: [\"cdkObserveContent\"] }, { kind: \"directive\", type: MatLegacyInkBar, selector: \"mat-ink-bar\" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyTabHeader, decorators: [{\n type: Component,\n args: [{ selector: 'mat-tab-header', inputs: ['selectedIndex'], outputs: ['selectFocusedIndex', 'indexFocused'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, host: {\n 'class': 'mat-tab-header',\n '[class.mat-tab-header-pagination-controls-enabled]': '_showPaginationControls',\n '[class.mat-tab-header-rtl]': \"_getLayoutDirection() == 'rtl'\",\n }, template: \"<button class=\\\"mat-tab-header-pagination mat-tab-header-pagination-before mat-elevation-z4\\\"\\n #previousPaginator\\n aria-hidden=\\\"true\\\"\\n type=\\\"button\\\"\\n mat-ripple\\n tabindex=\\\"-1\\\"\\n [matRippleDisabled]=\\\"_disableScrollBefore || disableRipple\\\"\\n [class.mat-tab-header-pagination-disabled]=\\\"_disableScrollBefore\\\"\\n [disabled]=\\\"_disableScrollBefore || null\\\"\\n (click)=\\\"_handlePaginatorClick('before')\\\"\\n (mousedown)=\\\"_handlePaginatorPress('before', $event)\\\"\\n (touchend)=\\\"_stopInterval()\\\">\\n <div class=\\\"mat-tab-header-pagination-chevron\\\"></div>\\n</button>\\n\\n<div class=\\\"mat-tab-label-container\\\" #tabListContainer (keydown)=\\\"_handleKeydown($event)\\\">\\n <div\\n #tabList\\n class=\\\"mat-tab-list\\\"\\n [class._mat-animation-noopable]=\\\"_animationMode === 'NoopAnimations'\\\"\\n role=\\\"tablist\\\"\\n (cdkObserveContent)=\\\"_onContentChanges()\\\">\\n <div class=\\\"mat-tab-labels\\\" #tabListInner>\\n <ng-content></ng-content>\\n </div>\\n <mat-ink-bar></mat-ink-bar>\\n </div>\\n</div>\\n\\n<button class=\\\"mat-tab-header-pagination mat-tab-header-pagination-after mat-elevation-z4\\\"\\n #nextPaginator\\n aria-hidden=\\\"true\\\"\\n type=\\\"button\\\"\\n mat-ripple\\n [matRippleDisabled]=\\\"_disableScrollAfter || disableRipple\\\"\\n [class.mat-tab-header-pagination-disabled]=\\\"_disableScrollAfter\\\"\\n [disabled]=\\\"_disableScrollAfter || null\\\"\\n tabindex=\\\"-1\\\"\\n (mousedown)=\\\"_handlePaginatorPress('after', $event)\\\"\\n (click)=\\\"_handlePaginatorClick('after')\\\"\\n (touchend)=\\\"_stopInterval()\\\">\\n <div class=\\\"mat-tab-header-pagination-chevron\\\"></div>\\n</button>\\n\", styles: [\".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-list._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}.mat-tab-label::before{margin:5px}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$1.ViewportRuler }, { type: i1.Directionality, decorators: [{\n type: Optional\n }] }, { type: i0.NgZone }, { type: i3.Platform }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }]; }, propDecorators: { _items: [{\n type: ContentChildren,\n args: [MatLegacyTabLabelWrapper, { descendants: false }]\n }], _inkBar: [{\n type: ViewChild,\n args: [MatLegacyInkBar, { static: true }]\n }], _tabListContainer: [{\n type: ViewChild,\n args: ['tabListContainer', { static: true }]\n }], _tabList: [{\n type: ViewChild,\n args: ['tabList', { static: true }]\n }], _tabListInner: [{\n type: ViewChild,\n args: ['tabListInner', { static: true }]\n }], _nextPaginator: [{\n type: ViewChild,\n args: ['nextPaginator']\n }], _previousPaginator: [{\n type: ViewChild,\n args: ['previousPaginator']\n }] } });\n\n/**\n * Material design tab-group component. Supports basic tab pairs (label + content) and includes\n * animated ink-bar, keyboard navigation, and screen reader.\n * See: https://material.io/design/components/tabs.html\n * @deprecated Use `MatTabGroup` from `@angular/material/tabs` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyTabGroup extends _MatTabGroupBase {\n constructor(elementRef, changeDetectorRef, defaultConfig, animationMode) {\n super(elementRef, changeDetectorRef, defaultConfig, animationMode);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyTabGroup, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: MAT_TABS_CONFIG, optional: true }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyTabGroup, selector: \"mat-tab-group\", inputs: { color: \"color\", disableRipple: \"disableRipple\" }, host: { attributes: { \"ngSkipHydration\": \"\" }, properties: { \"class.mat-tab-group-dynamic-height\": \"dynamicHeight\", \"class.mat-tab-group-inverted-header\": \"headerPosition === \\\"below\\\"\" }, classAttribute: \"mat-tab-group\" }, providers: [\n {\n provide: MAT_TAB_GROUP,\n useExisting: MatLegacyTabGroup,\n },\n ], queries: [{ propertyName: \"_allTabs\", predicate: MatLegacyTab, descendants: true }], viewQueries: [{ propertyName: \"_tabBodyWrapper\", first: true, predicate: [\"tabBodyWrapper\"], descendants: true }, { propertyName: \"_tabHeader\", first: true, predicate: [\"tabHeader\"], descendants: true }], exportAs: [\"matTabGroup\"], usesInheritance: true, ngImport: i0, template: \"<mat-tab-header #tabHeader\\n [selectedIndex]=\\\"selectedIndex || 0\\\"\\n [disableRipple]=\\\"disableRipple\\\"\\n [disablePagination]=\\\"disablePagination\\\"\\n (indexFocused)=\\\"_focusChanged($event)\\\"\\n (selectFocusedIndex)=\\\"selectedIndex = $event\\\">\\n <div class=\\\"mat-tab-label mat-focus-indicator\\\" role=\\\"tab\\\" matTabLabelWrapper mat-ripple\\n cdkMonitorElementFocus\\n *ngFor=\\\"let tab of _tabs; let i = index\\\"\\n [id]=\\\"_getTabLabelId(i)\\\"\\n [attr.tabIndex]=\\\"_getTabIndex(i)\\\"\\n [attr.aria-posinset]=\\\"i + 1\\\"\\n [attr.aria-setsize]=\\\"_tabs.length\\\"\\n [attr.aria-controls]=\\\"_getTabContentId(i)\\\"\\n [attr.aria-selected]=\\\"selectedIndex === i\\\"\\n [attr.aria-label]=\\\"tab.ariaLabel || null\\\"\\n [attr.aria-labelledby]=\\\"(!tab.ariaLabel && tab.ariaLabelledby) ? tab.ariaLabelledby : null\\\"\\n [class.mat-tab-label-active]=\\\"selectedIndex === i\\\"\\n [ngClass]=\\\"tab.labelClass\\\"\\n [disabled]=\\\"tab.disabled\\\"\\n [matRippleDisabled]=\\\"tab.disabled || disableRipple\\\"\\n (click)=\\\"_handleClick(tab, tabHeader, i)\\\"\\n (cdkFocusChange)=\\\"_tabFocusChanged($event, i)\\\">\\n\\n\\n <div class=\\\"mat-tab-label-content\\\">\\n <!-- If there is a label template, use it. -->\\n <ng-template [ngIf]=\\\"tab.templateLabel\\\" [ngIfElse]=\\\"tabTextLabel\\\">\\n <ng-template [cdkPortalOutlet]=\\\"tab.templateLabel\\\"></ng-template>\\n </ng-template>\\n\\n <!-- If there is not a label template, fall back to the text label. -->\\n <ng-template #tabTextLabel>{{tab.textLabel}}</ng-template>\\n </div>\\n </div>\\n</mat-tab-header>\\n\\n<div\\n class=\\\"mat-tab-body-wrapper\\\"\\n [class._mat-animation-noopable]=\\\"_animationMode === 'NoopAnimations'\\\"\\n #tabBodyWrapper>\\n <mat-tab-body role=\\\"tabpanel\\\"\\n *ngFor=\\\"let tab of _tabs; let i = index\\\"\\n [id]=\\\"_getTabContentId(i)\\\"\\n [attr.tabindex]=\\\"(contentTabIndex != null && selectedIndex === i) ? contentTabIndex : null\\\"\\n [attr.aria-labelledby]=\\\"_getTabLabelId(i)\\\"\\n [class.mat-tab-body-active]=\\\"selectedIndex === i\\\"\\n [ngClass]=\\\"tab.bodyClass\\\"\\n [content]=\\\"tab.content!\\\"\\n [position]=\\\"tab.position!\\\"\\n [origin]=\\\"tab.origin\\\"\\n [animationDuration]=\\\"animationDuration\\\"\\n [preserveContent]=\\\"preserveContent\\\"\\n (_onCentered)=\\\"_removeTabBodyWrapperHeight()\\\"\\n (_onCentering)=\\\"_setTabBodyWrapperHeight($event)\\\">\\n </mat-tab-body>\\n</div>\\n\", styles: [\".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\"], dependencies: [{ kind: \"directive\", type: i1$2.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i1$2.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i1$2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i2.CdkPortalOutlet, selector: \"[cdkPortalOutlet]\", inputs: [\"cdkPortalOutlet\"], outputs: [\"attached\"], exportAs: [\"cdkPortalOutlet\"] }, { kind: \"directive\", type: i4.MatRipple, selector: \"[mat-ripple], [matRipple]\", inputs: [\"matRippleColor\", \"matRippleUnbounded\", \"matRippleCentered\", \"matRippleRadius\", \"matRippleAnimation\", \"matRippleDisabled\", \"matRippleTrigger\"], exportAs: [\"matRipple\"] }, { kind: \"directive\", type: i7.CdkMonitorFocus, selector: \"[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]\", outputs: [\"cdkFocusChange\"], exportAs: [\"cdkMonitorFocus\"] }, { kind: \"directive\", type: MatLegacyTabLabelWrapper, selector: \"[matTabLabelWrapper]\", inputs: [\"disabled\"] }, { kind: \"component\", type: MatLegacyTabBody, selector: \"mat-tab-body\" }, { kind: \"component\", type: MatLegacyTabHeader, selector: \"mat-tab-header\", inputs: [\"selectedIndex\"], outputs: [\"selectFocusedIndex\", \"indexFocused\"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyTabGroup, decorators: [{\n type: Component,\n args: [{ selector: 'mat-tab-group', exportAs: 'matTabGroup', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, inputs: ['color', 'disableRipple'], providers: [\n {\n provide: MAT_TAB_GROUP,\n useExisting: MatLegacyTabGroup,\n },\n ], host: {\n 'class': 'mat-tab-group',\n '[class.mat-tab-group-dynamic-height]': 'dynamicHeight',\n '[class.mat-tab-group-inverted-header]': 'headerPosition === \"below\"',\n 'ngSkipHydration': '',\n }, template: \"<mat-tab-header #tabHeader\\n [selectedIndex]=\\\"selectedIndex || 0\\\"\\n [disableRipple]=\\\"disableRipple\\\"\\n [disablePagination]=\\\"disablePagination\\\"\\n (indexFocused)=\\\"_focusChanged($event)\\\"\\n (selectFocusedIndex)=\\\"selectedIndex = $event\\\">\\n <div class=\\\"mat-tab-label mat-focus-indicator\\\" role=\\\"tab\\\" matTabLabelWrapper mat-ripple\\n cdkMonitorElementFocus\\n *ngFor=\\\"let tab of _tabs; let i = index\\\"\\n [id]=\\\"_getTabLabelId(i)\\\"\\n [attr.tabIndex]=\\\"_getTabIndex(i)\\\"\\n [attr.aria-posinset]=\\\"i + 1\\\"\\n [attr.aria-setsize]=\\\"_tabs.length\\\"\\n [attr.aria-controls]=\\\"_getTabContentId(i)\\\"\\n [attr.aria-selected]=\\\"selectedIndex === i\\\"\\n [attr.aria-label]=\\\"tab.ariaLabel || null\\\"\\n [attr.aria-labelledby]=\\\"(!tab.ariaLabel && tab.ariaLabelledby) ? tab.ariaLabelledby : null\\\"\\n [class.mat-tab-label-active]=\\\"selectedIndex === i\\\"\\n [ngClass]=\\\"tab.labelClass\\\"\\n [disabled]=\\\"tab.disabled\\\"\\n [matRippleDisabled]=\\\"tab.disabled || disableRipple\\\"\\n (click)=\\\"_handleClick(tab, tabHeader, i)\\\"\\n (cdkFocusChange)=\\\"_tabFocusChanged($event, i)\\\">\\n\\n\\n <div class=\\\"mat-tab-label-content\\\">\\n <!-- If there is a label template, use it. -->\\n <ng-template [ngIf]=\\\"tab.templateLabel\\\" [ngIfElse]=\\\"tabTextLabel\\\">\\n <ng-template [cdkPortalOutlet]=\\\"tab.templateLabel\\\"></ng-template>\\n </ng-template>\\n\\n <!-- If there is not a label template, fall back to the text label. -->\\n <ng-template #tabTextLabel>{{tab.textLabel}}</ng-template>\\n </div>\\n </div>\\n</mat-tab-header>\\n\\n<div\\n class=\\\"mat-tab-body-wrapper\\\"\\n [class._mat-animation-noopable]=\\\"_animationMode === 'NoopAnimations'\\\"\\n #tabBodyWrapper>\\n <mat-tab-body role=\\\"tabpanel\\\"\\n *ngFor=\\\"let tab of _tabs; let i = index\\\"\\n [id]=\\\"_getTabContentId(i)\\\"\\n [attr.tabindex]=\\\"(contentTabIndex != null && selectedIndex === i) ? contentTabIndex : null\\\"\\n [attr.aria-labelledby]=\\\"_getTabLabelId(i)\\\"\\n [class.mat-tab-body-active]=\\\"selectedIndex === i\\\"\\n [ngClass]=\\\"tab.bodyClass\\\"\\n [content]=\\\"tab.content!\\\"\\n [position]=\\\"tab.position!\\\"\\n [origin]=\\\"tab.origin\\\"\\n [animationDuration]=\\\"animationDuration\\\"\\n [preserveContent]=\\\"preserveContent\\\"\\n (_onCentered)=\\\"_removeTabBodyWrapperHeight()\\\"\\n (_onCentering)=\\\"_setTabBodyWrapperHeight($event)\\\">\\n </mat-tab-body>\\n</div>\\n\", styles: [\".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{\n type: Inject,\n args: [MAT_TABS_CONFIG]\n }, {\n type: Optional\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }]; }, propDecorators: { _allTabs: [{\n type: ContentChildren,\n args: [MatLegacyTab, { descendants: true }]\n }], _tabBodyWrapper: [{\n type: ViewChild,\n args: ['tabBodyWrapper']\n }], _tabHeader: [{\n type: ViewChild,\n args: ['tabHeader']\n }] } });\n\n// Increasing integer for generating unique ids for tab nav components.\nlet nextUniqueId = 0;\n/**\n * Navigation component matching the styles of the tab group header.\n * Provides anchored navigation with animated ink bar.\n * @deprecated Use `MatTabNav` from `@angular/material/tabs` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyTabNav extends _MatTabNavBase {\n constructor(elementRef, dir, ngZone, changeDetectorRef, viewportRuler, platform, animationMode) {\n super(elementRef, dir, ngZone, changeDetectorRef, viewportRuler, platform, animationMode);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyTabNav, deps: [{ token: i0.ElementRef }, { token: i1.Directionality, optional: true }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i1$1.ViewportRuler }, { token: i3.Platform }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyTabNav, selector: \"[mat-tab-nav-bar]\", inputs: { color: \"color\" }, host: { properties: { \"attr.role\": \"_getRole()\", \"class.mat-tab-header-pagination-controls-enabled\": \"_showPaginationControls\", \"class.mat-tab-header-rtl\": \"_getLayoutDirection() == 'rtl'\", \"class.mat-primary\": \"color !== \\\"warn\\\" && color !== \\\"accent\\\"\", \"class.mat-accent\": \"color === \\\"accent\\\"\", \"class.mat-warn\": \"color === \\\"warn\\\"\" }, classAttribute: \"mat-tab-nav-bar mat-tab-header\" }, queries: [{ propertyName: \"_items\", predicate: i0.forwardRef(function () { return MatLegacyTabLink; }), descendants: true }], viewQueries: [{ propertyName: \"_inkBar\", first: true, predicate: MatLegacyInkBar, descendants: true, static: true }, { propertyName: \"_tabListContainer\", first: true, predicate: [\"tabListContainer\"], descendants: true, static: true }, { propertyName: \"_tabList\", first: true, predicate: [\"tabList\"], descendants: true, static: true }, { propertyName: \"_tabListInner\", first: true, predicate: [\"tabListInner\"], descendants: true, static: true }, { propertyName: \"_nextPaginator\", first: true, predicate: [\"nextPaginator\"], descendants: true }, { propertyName: \"_previousPaginator\", first: true, predicate: [\"previousPaginator\"], descendants: true }], exportAs: [\"matTabNavBar\", \"matTabNav\"], usesInheritance: true, ngImport: i0, template: \"<button class=\\\"mat-tab-header-pagination mat-tab-header-pagination-before mat-elevation-z4\\\"\\n #previousPaginator\\n aria-hidden=\\\"true\\\"\\n type=\\\"button\\\"\\n mat-ripple\\n tabindex=\\\"-1\\\"\\n [matRippleDisabled]=\\\"_disableScrollBefore || disableRipple\\\"\\n [class.mat-tab-header-pagination-disabled]=\\\"_disableScrollBefore\\\"\\n [disabled]=\\\"_disableScrollBefore || null\\\"\\n (click)=\\\"_handlePaginatorClick('before')\\\"\\n (mousedown)=\\\"_handlePaginatorPress('before', $event)\\\"\\n (touchend)=\\\"_stopInterval()\\\">\\n <div class=\\\"mat-tab-header-pagination-chevron\\\"></div>\\n</button>\\n\\n<div class=\\\"mat-tab-link-container\\\" #tabListContainer (keydown)=\\\"_handleKeydown($event)\\\">\\n <div\\n class=\\\"mat-tab-list\\\"\\n [class._mat-animation-noopable]=\\\"_animationMode === 'NoopAnimations'\\\"\\n #tabList\\n (cdkObserveContent)=\\\"_onContentChanges()\\\">\\n <div class=\\\"mat-tab-links\\\" #tabListInner>\\n <ng-content></ng-content>\\n </div>\\n <mat-ink-bar></mat-ink-bar>\\n </div>\\n</div>\\n\\n<button class=\\\"mat-tab-header-pagination mat-tab-header-pagination-after mat-elevation-z4\\\"\\n #nextPaginator\\n aria-hidden=\\\"true\\\"\\n type=\\\"button\\\"\\n mat-ripple\\n [matRippleDisabled]=\\\"_disableScrollAfter || disableRipple\\\"\\n [class.mat-tab-header-pagination-disabled]=\\\"_disableScrollAfter\\\"\\n [disabled]=\\\"_disableScrollAfter || null\\\"\\n tabindex=\\\"-1\\\"\\n (mousedown)=\\\"_handlePaginatorPress('after', $event)\\\"\\n (click)=\\\"_handlePaginatorClick('after')\\\"\\n (touchend)=\\\"_stopInterval()\\\">\\n <div class=\\\"mat-tab-header-pagination-chevron\\\"></div>\\n</button>\\n\", styles: [\".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-links{display:flex}[mat-align-tabs=center]>.mat-tab-link-container .mat-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-tab-link-container .mat-tab-links{justify-content:flex-end}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-link{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;vertical-align:top;text-decoration:none;position:relative;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-tab-link:focus{outline:none}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-link.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-link.mat-tab-disabled{opacity:.5}.mat-tab-link .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-link{opacity:1}[mat-stretch-tabs] .mat-tab-link{flex-basis:0;flex-grow:1}.mat-tab-link.mat-tab-disabled{pointer-events:none}.mat-tab-link::before{margin:5px}@media(max-width: 599px){.mat-tab-link{min-width:72px}}\"], dependencies: [{ kind: \"directive\", type: i4.MatRipple, selector: \"[mat-ripple], [matRipple]\", inputs: [\"matRippleColor\", \"matRippleUnbounded\", \"matRippleCentered\", \"matRippleRadius\", \"matRippleAnimation\", \"matRippleDisabled\", \"matRippleTrigger\"], exportAs: [\"matRipple\"] }, { kind: \"directive\", type: i5.CdkObserveContent, selector: \"[cdkObserveContent]\", inputs: [\"cdkObserveContentDisabled\", \"debounce\"], outputs: [\"cdkObserveContent\"], exportAs: [\"cdkObserveContent\"] }, { kind: \"directive\", type: MatLegacyInkBar, selector: \"mat-ink-bar\" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyTabNav, decorators: [{\n type: Component,\n args: [{ selector: '[mat-tab-nav-bar]', exportAs: 'matTabNavBar, matTabNav', inputs: ['color'], host: {\n '[attr.role]': '_getRole()',\n 'class': 'mat-tab-nav-bar mat-tab-header',\n '[class.mat-tab-header-pagination-controls-enabled]': '_showPaginationControls',\n '[class.mat-tab-header-rtl]': \"_getLayoutDirection() == 'rtl'\",\n '[class.mat-primary]': 'color !== \"warn\" && color !== \"accent\"',\n '[class.mat-accent]': 'color === \"accent\"',\n '[class.mat-warn]': 'color === \"warn\"',\n }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, template: \"<button class=\\\"mat-tab-header-pagination mat-tab-header-pagination-before mat-elevation-z4\\\"\\n #previousPaginator\\n aria-hidden=\\\"true\\\"\\n type=\\\"button\\\"\\n mat-ripple\\n tabindex=\\\"-1\\\"\\n [matRippleDisabled]=\\\"_disableScrollBefore || disableRipple\\\"\\n [class.mat-tab-header-pagination-disabled]=\\\"_disableScrollBefore\\\"\\n [disabled]=\\\"_disableScrollBefore || null\\\"\\n (click)=\\\"_handlePaginatorClick('before')\\\"\\n (mousedown)=\\\"_handlePaginatorPress('before', $event)\\\"\\n (touchend)=\\\"_stopInterval()\\\">\\n <div class=\\\"mat-tab-header-pagination-chevron\\\"></div>\\n</button>\\n\\n<div class=\\\"mat-tab-link-container\\\" #tabListContainer (keydown)=\\\"_handleKeydown($event)\\\">\\n <div\\n class=\\\"mat-tab-list\\\"\\n [class._mat-animation-noopable]=\\\"_animationMode === 'NoopAnimations'\\\"\\n #tabList\\n (cdkObserveContent)=\\\"_onContentChanges()\\\">\\n <div class=\\\"mat-tab-links\\\" #tabListInner>\\n <ng-content></ng-content>\\n </div>\\n <mat-ink-bar></mat-ink-bar>\\n </div>\\n</div>\\n\\n<button class=\\\"mat-tab-header-pagination mat-tab-header-pagination-after mat-elevation-z4\\\"\\n #nextPaginator\\n aria-hidden=\\\"true\\\"\\n type=\\\"button\\\"\\n mat-ripple\\n [matRippleDisabled]=\\\"_disableScrollAfter || disableRipple\\\"\\n [class.mat-tab-header-pagination-disabled]=\\\"_disableScrollAfter\\\"\\n [disabled]=\\\"_disableScrollAfter || null\\\"\\n tabindex=\\\"-1\\\"\\n (mousedown)=\\\"_handlePaginatorPress('after', $event)\\\"\\n (click)=\\\"_handlePaginatorClick('after')\\\"\\n (touchend)=\\\"_stopInterval()\\\">\\n <div class=\\\"mat-tab-header-pagination-chevron\\\"></div>\\n</button>\\n\", styles: [\".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-links{display:flex}[mat-align-tabs=center]>.mat-tab-link-container .mat-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-tab-link-container .mat-tab-links{justify-content:flex-end}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-link{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;vertical-align:top;text-decoration:none;position:relative;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-tab-link:focus{outline:none}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-link.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-link.mat-tab-disabled{opacity:.5}.mat-tab-link .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-link{opacity:1}[mat-stretch-tabs] .mat-tab-link{flex-basis:0;flex-grow:1}.mat-tab-link.mat-tab-disabled{pointer-events:none}.mat-tab-link::before{margin:5px}@media(max-width: 599px){.mat-tab-link{min-width:72px}}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.Directionality, decorators: [{\n type: Optional\n }] }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i1$1.ViewportRuler }, { type: i3.Platform }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }]; }, propDecorators: { _items: [{\n type: ContentChildren,\n args: [forwardRef(() => MatLegacyTabLink), { descendants: true }]\n }], _inkBar: [{\n type: ViewChild,\n args: [MatLegacyInkBar, { static: true }]\n }], _tabListContainer: [{\n type: ViewChild,\n args: ['tabListContainer', { static: true }]\n }], _tabList: [{\n type: ViewChild,\n args: ['tabList', { static: true }]\n }], _tabListInner: [{\n type: ViewChild,\n args: ['tabListInner', { static: true }]\n }], _nextPaginator: [{\n type: ViewChild,\n args: ['nextPaginator']\n }], _previousPaginator: [{\n type: ViewChild,\n args: ['previousPaginator']\n }] } });\n/**\n * Link inside of a `mat-tab-nav-bar`.\n * @deprecated Use `MatTabLink` from `@angular/material/tabs` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyTabLink extends _MatTabLinkBase {\n constructor(tabNavBar, elementRef, ngZone, platform, globalRippleOptions, tabIndex, focusMonitor, animationMode) {\n super(tabNavBar, elementRef, globalRippleOptions, tabIndex, focusMonitor, animationMode);\n this._tabLinkRipple = new RippleRenderer(this, ngZone, elementRef, platform);\n this._tabLinkRipple.setupTriggerEvents(elementRef.nativeElement);\n }\n ngOnDestroy() {\n super.ngOnDestroy();\n this._tabLinkRipple._removeTriggerEvents();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyTabLink, deps: [{ token: MatLegacyTabNav }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i3.Platform }, { token: MAT_RIPPLE_GLOBAL_OPTIONS, optional: true }, { token: 'tabindex', attribute: true }, { token: i7.FocusMonitor }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyTabLink, selector: \"[mat-tab-link], [matTabLink]\", inputs: { disabled: \"disabled\", disableRipple: \"disableRipple\", tabIndex: \"tabIndex\" }, host: { listeners: { \"focus\": \"_handleFocus()\", \"keydown\": \"_handleKeydown($event)\" }, properties: { \"attr.aria-controls\": \"_getAriaControls()\", \"attr.aria-current\": \"_getAriaCurrent()\", \"attr.aria-disabled\": \"disabled\", \"attr.aria-selected\": \"_getAriaSelected()\", \"attr.id\": \"id\", \"attr.tabIndex\": \"_getTabIndex()\", \"attr.role\": \"_getRole()\", \"class.mat-tab-disabled\": \"disabled\", \"class.mat-tab-label-active\": \"active\" }, classAttribute: \"mat-tab-link mat-focus-indicator\" }, exportAs: [\"matTabLink\"], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyTabLink, decorators: [{\n type: Directive,\n args: [{\n selector: '[mat-tab-link], [matTabLink]',\n exportAs: 'matTabLink',\n inputs: ['disabled', 'disableRipple', 'tabIndex'],\n host: {\n 'class': 'mat-tab-link mat-focus-indicator',\n '[attr.aria-controls]': '_getAriaControls()',\n '[attr.aria-current]': '_getAriaCurrent()',\n '[attr.aria-disabled]': 'disabled',\n '[attr.aria-selected]': '_getAriaSelected()',\n '[attr.id]': 'id',\n '[attr.tabIndex]': '_getTabIndex()',\n '[attr.role]': '_getRole()',\n '[class.mat-tab-disabled]': 'disabled',\n '[class.mat-tab-label-active]': 'active',\n '(focus)': '_handleFocus()',\n '(keydown)': '_handleKeydown($event)',\n },\n }]\n }], ctorParameters: function () { return [{ type: MatLegacyTabNav }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i3.Platform }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_RIPPLE_GLOBAL_OPTIONS]\n }] }, { type: undefined, decorators: [{\n type: Attribute,\n args: ['tabindex']\n }] }, { type: i7.FocusMonitor }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }]; } });\n/**\n * Tab panel component associated with MatTabNav.\n * @deprecated Use `MatTabNavPanel` from `@angular/material/tabs` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyTabNavPanel {\n constructor() {\n /** Unique id for the tab panel. */\n this.id = `mat-tab-nav-panel-${nextUniqueId++}`;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyTabNavPanel, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyTabNavPanel, selector: \"mat-tab-nav-panel\", inputs: { id: \"id\" }, host: { attributes: { \"role\": \"tabpanel\" }, properties: { \"attr.aria-labelledby\": \"_activeTabId\", \"attr.id\": \"id\" }, classAttribute: \"mat-tab-nav-panel\" }, exportAs: [\"matTabNavPanel\"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyTabNavPanel, decorators: [{\n type: Component,\n args: [{\n selector: 'mat-tab-nav-panel',\n exportAs: 'matTabNavPanel',\n template: '<ng-content></ng-content>',\n host: {\n '[attr.aria-labelledby]': '_activeTabId',\n '[attr.id]': 'id',\n 'class': 'mat-tab-nav-panel',\n 'role': 'tabpanel',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n }]\n }], propDecorators: { id: [{\n type: Input\n }] } });\n\n/**\n * Used to flag tab labels for use with the portal directive\n * @deprecated Use `MatTabLabel` from `@angular/material/tabs` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyTabLabel extends MatTabLabel {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyTabLabel, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyTabLabel, selector: \"[mat-tab-label], [matTabLabel]\", providers: [{ provide: MAT_TAB_LABEL, useExisting: MatLegacyTabLabel }], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyTabLabel, decorators: [{\n type: Directive,\n args: [{\n selector: '[mat-tab-label], [matTabLabel]',\n providers: [{ provide: MAT_TAB_LABEL, useExisting: MatLegacyTabLabel }],\n }]\n }] });\n\n/**\n * Decorates the `ng-template` tags and reads out the template from it.\n * @deprecated Use `MatTabContent` from `@angular/material/tabs` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyTabContent extends MatTabContent {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyTabContent, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyTabContent, selector: \"[matTabContent]\", providers: [{ provide: MAT_TAB_CONTENT, useExisting: MatLegacyTabContent }], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyTabContent, decorators: [{\n type: Directive,\n args: [{\n selector: '[matTabContent]',\n providers: [{ provide: MAT_TAB_CONTENT, useExisting: MatLegacyTabContent }],\n }]\n }] });\n\n/**\n * @deprecated Use `MatTabsModule` from `@angular/material/tabs` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyTabsModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyTabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyTabsModule, declarations: [MatLegacyTabGroup,\n MatLegacyTabLabel,\n MatLegacyTab,\n MatLegacyInkBar,\n MatLegacyTabLabelWrapper,\n MatLegacyTabNav,\n MatLegacyTabNavPanel,\n MatLegacyTabLink,\n MatLegacyTabBody,\n MatLegacyTabBodyPortal,\n MatLegacyTabHeader,\n MatLegacyTabContent], imports: [CommonModule,\n MatCommonModule,\n PortalModule,\n MatRippleModule,\n ObserversModule,\n A11yModule], exports: [MatCommonModule,\n MatLegacyTabGroup,\n MatLegacyTabLabel,\n MatLegacyTab,\n MatLegacyTabNav,\n MatLegacyTabNavPanel,\n MatLegacyTabLink,\n MatLegacyTabContent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyTabsModule, imports: [CommonModule,\n MatCommonModule,\n PortalModule,\n MatRippleModule,\n ObserversModule,\n A11yModule, MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyTabsModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule,\n MatCommonModule,\n PortalModule,\n MatRippleModule,\n ObserversModule,\n A11yModule,\n ],\n // Don't export all components because some are only to be used internally.\n exports: [\n MatCommonModule,\n MatLegacyTabGroup,\n MatLegacyTabLabel,\n MatLegacyTab,\n MatLegacyTabNav,\n MatLegacyTabNavPanel,\n MatLegacyTabLink,\n MatLegacyTabContent,\n ],\n declarations: [\n MatLegacyTabGroup,\n MatLegacyTabLabel,\n MatLegacyTab,\n MatLegacyInkBar,\n MatLegacyTabLabelWrapper,\n MatLegacyTabNav,\n MatLegacyTabNavPanel,\n MatLegacyTabLink,\n MatLegacyTabBody,\n MatLegacyTabBodyPortal,\n MatLegacyTabHeader,\n MatLegacyTabContent,\n ],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MatLegacyInkBar, MatLegacyTab, MatLegacyTabBody, MatLegacyTabBodyPortal, MatLegacyTabContent, MatLegacyTabGroup, MatLegacyTabHeader, MatLegacyTabLabel, MatLegacyTabLabelWrapper, MatLegacyTabLink, MatLegacyTabNav, MatLegacyTabNavPanel, MatLegacyTabsModule };\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]} \ No newline at end of file diff --git a/4291.be3c5c5ee2f2c383.js b/4291.be3c5c5ee2f2c383.js new file mode 100644 index 0000000..00b2bd0 --- /dev/null +++ b/4291.be3c5c5ee2f2c383.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[4291],{4291:(V,y,o)=>{o.r(y),o.d(y,{MAT_SLIDE_TOGGLE_DEFAULT_OPTIONS:()=>T,MAT_SLIDE_TOGGLE_REQUIRED_VALIDATOR:()=>S,MAT_SLIDE_TOGGLE_VALUE_ACCESSOR:()=>E,MatSlideToggle:()=>C,MatSlideToggleChange:()=>w,MatSlideToggleModule:()=>z,MatSlideToggleRequiredValidator:()=>I,_MatSlideToggleBase:()=>D,_MatSlideToggleRequiredValidatorModule:()=>b});var u=o(24582),f=o(28694),m=o(48047),h=o(78069),e=o(56718),p=o(47405),R=o(33401),x=o(908),n=o(6606),M=o(35333),L=o(94055),A=["switch"],O=["*"],T=new e.InjectionToken("mat-slide-toggle-default-options",{providedIn:"root",factory:function(){return{disableToggleValue:!1}}}),E={provide:p.NG_VALUE_ACCESSOR,useExisting:(0,e.forwardRef)(function(){return C}),multi:!0},w=(0,m.Z)(function c(a,l){(0,h.Z)(this,c),this.source=a,this.checked=l}),P=0,B=(0,n.mixinTabIndex)((0,n.mixinColor)((0,n.mixinDisableRipple)((0,n.mixinDisabled)(function(){return(0,m.Z)(function c(a){(0,h.Z)(this,c),this._elementRef=a})}())))),D=function(){var c=function(a){(0,u.Z)(t,a);var l=(0,f.Z)(t);function t(i,d,s,v,_,k,g){var r;return(0,h.Z)(this,t),(r=l.call(this,i))._focusMonitor=d,r._changeDetectorRef=s,r.defaults=_,r._onChange=function(Z){},r._onTouched=function(){},r._required=!1,r._checked=!1,r.name=null,r.labelPosition="after",r.ariaLabel=null,r.ariaLabelledby=null,r.change=new e.EventEmitter,r.toggleChange=new e.EventEmitter,r.tabIndex=parseInt(v)||0,r.color=r.defaultColor=_.color||"accent",r._noopAnimations="NoopAnimations"===k,r.id=r._uniqueId="".concat(g).concat(++P),r}return(0,m.Z)(t,[{key:"required",get:function(){return this._required},set:function(d){this._required=(0,M.coerceBooleanProperty)(d)}},{key:"checked",get:function(){return this._checked},set:function(d){this._checked=(0,M.coerceBooleanProperty)(d),this._changeDetectorRef.markForCheck()}},{key:"inputId",get:function(){return"".concat(this.id||this._uniqueId,"-input")}},{key:"ngAfterContentInit",value:function(){var d=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(s){"keyboard"===s||"program"===s?(d._focused=!0,d._changeDetectorRef.markForCheck()):s||Promise.resolve().then(function(){d._focused=!1,d._onTouched(),d._changeDetectorRef.markForCheck()})})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"writeValue",value:function(d){this.checked=!!d}},{key:"registerOnChange",value:function(d){this._onChange=d}},{key:"registerOnTouched",value:function(d){this._onTouched=d}},{key:"setDisabledState",value:function(d){this.disabled=d,this._changeDetectorRef.markForCheck()}},{key:"toggle",value:function(){this.checked=!this.checked,this._onChange(this.checked)}},{key:"_emitChangeEvent",value:function(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}}]),t}(B);return c.\u0275fac=function(l){e.\u0275\u0275invalidFactory()},c.\u0275dir=e.\u0275\u0275defineDirective({type:c,inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},features:[e.\u0275\u0275InheritDefinitionFeature]}),c}(),C=function(){var c=function(a){(0,u.Z)(t,a);var l=(0,f.Z)(t);function t(i,d,s,v,_,k){var g;return(0,h.Z)(this,t),(g=l.call(this,i,d,s,v,_,k,"mat-mdc-slide-toggle-"))._labelId=g._uniqueId+"-label",g}return(0,m.Z)(t,[{key:"buttonId",get:function(){return"".concat(this.id||this._uniqueId,"-button")}},{key:"_handleClick",value:function(){this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new w(this,this.checked)))}},{key:"focus",value:function(){this._switchElement.nativeElement.focus()}},{key:"_createChangeEvent",value:function(d){return new w(this,d)}},{key:"_getAriaLabelledBy",value:function(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}}]),t}(D);return c.\u0275fac=function(l){return new(l||c)(e.\u0275\u0275directiveInject(e.ElementRef),e.\u0275\u0275directiveInject(x.FocusMonitor),e.\u0275\u0275directiveInject(e.ChangeDetectorRef),e.\u0275\u0275injectAttribute("tabindex"),e.\u0275\u0275directiveInject(T),e.\u0275\u0275directiveInject(R.ANIMATION_MODULE_TYPE,8))},c.\u0275cmp=e.\u0275\u0275defineComponent({type:c,selectors:[["mat-slide-toggle"]],viewQuery:function(l,t){var i;1&l&&e.\u0275\u0275viewQuery(A,5),2&l&&e.\u0275\u0275queryRefresh(i=e.\u0275\u0275loadQuery())&&(t._switchElement=i.first)},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:11,hostBindings:function(l,t){2&l&&(e.\u0275\u0275hostProperty("id",t.id),e.\u0275\u0275attribute("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),e.\u0275\u0275classProp("mat-mdc-slide-toggle-focused",t._focused)("mat-mdc-slide-toggle-checked",t.checked)("_mat-animation-noopable",t._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matSlideToggle"],features:[e.\u0275\u0275ProvidersFeature([E]),e.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:O,decls:17,vars:24,consts:[[1,"mdc-form-field"],["role","switch","type","button",1,"mdc-switch",3,"tabIndex","disabled","click"],["switch",""],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"],[1,"mdc-label",3,"for","click"]],template:function(l,t){if(1&l&&(e.\u0275\u0275projectionDef(),e.\u0275\u0275elementStart(0,"div",0)(1,"button",1,2),e.\u0275\u0275listener("click",function(){return t._handleClick()}),e.\u0275\u0275element(3,"div",3),e.\u0275\u0275elementStart(4,"div",4)(5,"div",5)(6,"div",6),e.\u0275\u0275element(7,"div",7),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"div",8),e.\u0275\u0275element(9,"div",9),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"div",10),e.\u0275\u0275namespaceSVG(),e.\u0275\u0275elementStart(11,"svg",11),e.\u0275\u0275element(12,"path",12),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"svg",13),e.\u0275\u0275element(14,"path",14),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275namespaceHTML(),e.\u0275\u0275elementStart(15,"label",15),e.\u0275\u0275listener("click",function(s){return s.stopPropagation()}),e.\u0275\u0275projection(16),e.\u0275\u0275elementEnd()()),2&l){var i=e.\u0275\u0275reference(2);e.\u0275\u0275classProp("mdc-form-field--align-end","before"==t.labelPosition),e.\u0275\u0275advance(1),e.\u0275\u0275classProp("mdc-switch--selected",t.checked)("mdc-switch--unselected",!t.checked)("mdc-switch--checked",t.checked)("mdc-switch--disabled",t.disabled),e.\u0275\u0275property("tabIndex",t.tabIndex)("disabled",t.disabled),e.\u0275\u0275attribute("id",t.buttonId)("name",t.name)("aria-label",t.ariaLabel)("aria-labelledby",t._getAriaLabelledBy())("aria-describedby",t.ariaDescribedby)("aria-required",t.required||null)("aria-checked",t.checked),e.\u0275\u0275advance(8),e.\u0275\u0275property("matRippleTrigger",i)("matRippleDisabled",t.disableRipple||t.disabled)("matRippleCentered",!0),e.\u0275\u0275advance(6),e.\u0275\u0275property("for",t.buttonId),e.\u0275\u0275attribute("id",t._labelId)}},dependencies:[n.MatRipple],styles:['.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color, #fff)}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch[hidden]{display:none}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mdc-switch{width:var(--mdc-switch-track-width, 36px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color, #616161)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color, #424242)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color, var(--mdc-theme-surface, #fff))}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation, 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__focus-ring-wrapper,.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{height:var(--mdc-switch-handle-height, 20px)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__handle::after{opacity:var(--mdc-switch-disabled-handle-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{border-radius:var(--mdc-switch-handle-shape, 10px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{width:var(--mdc-switch-handle-width, 20px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--mdc-switch-handle-width, 20px))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:var(--mdc-switch-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:var(--mdc-switch-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size, 18px);height:var(--mdc-switch-selected-icon-size, 18px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size, 18px);height:var(--mdc-switch-unselected-icon-size, 18px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-hover-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-focus-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-pressed-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-hover-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-focus-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-pressed-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-selected-hover-state-layer-opacity, 0.04)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-selected-focus-state-layer-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-unselected-hover-state-layer-opacity, 0.04)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__ripple{height:var(--mdc-switch-state-layer-size, 48px);width:var(--mdc-switch-state-layer-size, 48px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{height:var(--mdc-switch-track-height, 14px)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__track::after{background:var(--mdc-switch-selected-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color, #424242)}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__track::before{background:var(--mdc-switch-unselected-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color, #424242)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{border-radius:var(--mdc-switch-track-shape, 7px)}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle .mdc-switch__ripple::after{content:"";opacity:0}.mat-mdc-slide-toggle .mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:opacity 75ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-elevation-overlay,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}'],encapsulation:2,changeDetection:0}),c}(),S={provide:p.NG_VALIDATORS,useExisting:(0,e.forwardRef)(function(){return I}),multi:!0},I=function(){var c=function(a){(0,u.Z)(t,a);var l=(0,f.Z)(t);function t(){return(0,h.Z)(this,t),l.apply(this,arguments)}return(0,m.Z)(t)}(p.CheckboxRequiredValidator);return c.\u0275fac=function(){var a;return function(t){return(a||(a=e.\u0275\u0275getInheritedFactory(c)))(t||c)}}(),c.\u0275dir=e.\u0275\u0275defineDirective({type:c,selectors:[["mat-slide-toggle","required","","formControlName",""],["mat-slide-toggle","required","","formControl",""],["mat-slide-toggle","required","","ngModel",""]],features:[e.\u0275\u0275ProvidersFeature([S]),e.\u0275\u0275InheritDefinitionFeature]}),c}(),b=function(){var c=(0,m.Z)(function a(){(0,h.Z)(this,a)});return c.\u0275fac=function(l){return new(l||c)},c.\u0275mod=e.\u0275\u0275defineNgModule({type:c}),c.\u0275inj=e.\u0275\u0275defineInjector({}),c}(),z=function(){var c=(0,m.Z)(function a(){(0,h.Z)(this,a)});return c.\u0275fac=function(l){return new(l||c)},c.\u0275mod=e.\u0275\u0275defineNgModule({type:c}),c.\u0275inj=e.\u0275\u0275defineInjector({imports:[b,n.MatCommonModule,n.MatRippleModule,L.CommonModule,b,n.MatCommonModule]}),c}()}}]); +//# sourceMappingURL=4291.be3c5c5ee2f2c383.js.map \ No newline at end of file diff --git a/4291.be3c5c5ee2f2c383.js.map b/4291.be3c5c5ee2f2c383.js.map new file mode 100644 index 0000000..3b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C7DxH,OAAO,GAULwH,EAA+B,eAA/BA,EAA+B,SAAAC,IAAAxG,OAAAuG,EAAAC,GAAA,IAAAC,KAAAvG,KAAAqG,GAAA,SAAAA,IAAAnH,cAAAC,KAAAkH,GAAAE,EAAAC,MAAArH,KAAAsH,UAAA,UAAA1H,KAAAsH,EAAA,EAASK,6BAAxCL,SACYpD,UAAI,eAAA0D,EAAA,gBAAAzD,GAAA,OAAAyD,MA7G8ExD,kCA6GUkD,KAA+BnD,GAA/BmD,EAA+B,EAAvH,GADhBA,EAEYjD,UA9GkFD,8BAAE,CAAAE,KA8GJgD,EAA+B7B,UAAA,8JAAAd,SAAA,CA9G7BP,+BA8G+L,CAACgD,IA9GhMhD,0CA4G9FkD,CAA+B,IAc/BO,EAAsC,eAAtCA,GAAsC7H,OAAA,SAAA6H,KAAA1H,OAAAC,KAAAyH,EAAA,GAAtCA,SACY3D,UAAI,SAAAC,GAAA,WAAAA,GAAwF0D,EAAsC,EAD9IA,EAEYC,UA5HkF1D,6BAAE,CAAAE,KA4HSuD,IAFzGA,EAGYE,UA7HkF3D,6BAAE,IA0HhGyD,CAAsC,IAYtCG,EAAoB,eAApBA,GAAoBhI,OAAA,SAAAgI,KAAA7H,OAAAC,KAAA4H,EAAA,GAApBA,SACY9D,UAAI,SAAAC,GAAA,WAAAA,GAAwF6D,EAAoB,EAD5HA,EAEYF,UAxIkF1D,6BAAE,CAAAE,KAwIS0D,IAFzGA,EAGYD,UAzIkF3D,6BAAE,CAAA6D,QAAA,CAyIyCJ,EAAwCK,kBAAiBC,kBAAiBC,eAAcP,EAAwCK,qBAHzQF,CAAoB","names":["_c0","_c1","MAT_SLIDE_TOGGLE_DEFAULT_OPTIONS","InjectionToken","providedIn","factory","disableToggleValue","MAT_SLIDE_TOGGLE_VALUE_ACCESSOR","provide","NG_VALUE_ACCESSOR","useExisting","forwardRef","MatSlideToggle","multi","MatSlideToggleChange","_createClass","source","checked","_classCallCheck","this","nextUniqueId","_MatSlideToggleMixinBase","mixinTabIndex","mixinColor","mixinDisableRipple","mixinDisabled","_class","_elementRef","_MatSlideToggleBase","_MatSlideToggleMixinB","_inherits","_super","_createSuper","elementRef","_focusMonitor","_changeDetectorRef","tabIndex","defaults","animationMode","idPrefix","_this","call","_onChange","_","_onTouched","_required","_checked","name","labelPosition","ariaLabel","ariaLabelledby","change","EventEmitter","toggleChange","parseInt","color","defaultColor","_noopAnimations","id","_uniqueId","concat","key","get","set","value","coerceBooleanProperty","markForCheck","_this2","monitor","subscribe","focusOrigin","_focused","Promise","resolve","then","stopMonitoring","fn","isDisabled","disabled","emit","_createChangeEvent","ɵfac","t","i0","ɵdir","type","inputs","ariaDescribedby","required","outputs","features","_MatSlideToggleBase2","_super2","focusMonitor","changeDetectorRef","_this3","_labelId","_switchElement","nativeElement","focus","isChecked","i1","ANIMATION_MODULE_TYPE","ɵcmp","selectors","viewQuery","rf","ctx","_t","first","hostAttrs","hostVars","hostBindings","disableRipple","exportAs","ngContentSelectors","decls","vars","consts","template","_handleClick","$event","stopPropagation","_r0","buttonId","_getAriaLabelledBy","dependencies","i2","styles","encapsulation","changeDetection","MAT_SLIDE_TOGGLE_REQUIRED_VALIDATOR","NG_VALIDATORS","MatSlideToggleRequiredValidator","_CheckboxRequiredVali","_super3","apply","arguments","CheckboxRequiredValidator","ɵMatSlideToggleRequiredValidator_BaseFactory","_MatSlideToggleRequiredValidatorModule","ɵmod","ɵinj","MatSlideToggleModule","imports","MatCommonModule","MatRippleModule","CommonModule"],"sourceRoot":"webpack:///","sources":["./node_modules/@angular/material/fesm2022/slide-toggle.mjs"],"sourcesContent":["import * as i0 from '@angular/core';\nimport { InjectionToken, forwardRef, EventEmitter, Directive, Input, Output, Component, ViewEncapsulation, ChangeDetectionStrategy, Attribute, Inject, Optional, ViewChild, NgModule } from '@angular/core';\nimport { NG_VALUE_ACCESSOR, NG_VALIDATORS, CheckboxRequiredValidator } from '@angular/forms';\nimport { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';\nimport * as i1 from '@angular/cdk/a11y';\nimport * as i2 from '@angular/material/core';\nimport { mixinTabIndex, mixinColor, mixinDisableRipple, mixinDisabled, MatCommonModule, MatRippleModule } from '@angular/material/core';\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { CommonModule } from '@angular/common';\n\n/** Injection token to be used to override the default options for `mat-slide-toggle`. */\nconst MAT_SLIDE_TOGGLE_DEFAULT_OPTIONS = new InjectionToken('mat-slide-toggle-default-options', {\n providedIn: 'root',\n factory: () => ({ disableToggleValue: false }),\n});\n\n/** @docs-private */\nconst MAT_SLIDE_TOGGLE_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => MatSlideToggle),\n multi: true,\n};\n/** Change event object emitted by a slide toggle. */\nclass MatSlideToggleChange {\n constructor(\n /** The source slide toggle of the event. */\n source, \n /** The new `checked` value of the slide toggle. */\n checked) {\n this.source = source;\n this.checked = checked;\n }\n}\n// Increasing integer for generating unique ids for slide-toggle components.\nlet nextUniqueId = 0;\n// Boilerplate for applying mixins to MatSlideToggle.\n/** @docs-private */\nconst _MatSlideToggleMixinBase = mixinTabIndex(mixinColor(mixinDisableRipple(mixinDisabled(class {\n constructor(_elementRef) {\n this._elementRef = _elementRef;\n }\n}))));\nclass _MatSlideToggleBase extends _MatSlideToggleMixinBase {\n /** Whether the slide-toggle is required. */\n get required() {\n return this._required;\n }\n set required(value) {\n this._required = coerceBooleanProperty(value);\n }\n /** Whether the slide-toggle element is checked or not. */\n get checked() {\n return this._checked;\n }\n set checked(value) {\n this._checked = coerceBooleanProperty(value);\n this._changeDetectorRef.markForCheck();\n }\n /** Returns the unique id for the visual hidden input. */\n get inputId() {\n return `${this.id || this._uniqueId}-input`;\n }\n constructor(elementRef, _focusMonitor, _changeDetectorRef, tabIndex, defaults, animationMode, idPrefix) {\n super(elementRef);\n this._focusMonitor = _focusMonitor;\n this._changeDetectorRef = _changeDetectorRef;\n this.defaults = defaults;\n this._onChange = (_) => { };\n this._onTouched = () => { };\n this._required = false;\n this._checked = false;\n /** Name value will be applied to the input element if present. */\n this.name = null;\n /** Whether the label should appear after or before the slide-toggle. Defaults to 'after'. */\n this.labelPosition = 'after';\n /** Used to set the aria-label attribute on the underlying input element. */\n this.ariaLabel = null;\n /** Used to set the aria-labelledby attribute on the underlying input element. */\n this.ariaLabelledby = null;\n /** An event will be dispatched each time the slide-toggle changes its value. */\n this.change = new EventEmitter();\n /**\n * An event will be dispatched each time the slide-toggle input is toggled.\n * This event is always emitted when the user toggles the slide toggle, but this does not mean\n * the slide toggle's value has changed.\n */\n this.toggleChange = new EventEmitter();\n this.tabIndex = parseInt(tabIndex) || 0;\n this.color = this.defaultColor = defaults.color || 'accent';\n this._noopAnimations = animationMode === 'NoopAnimations';\n this.id = this._uniqueId = `${idPrefix}${++nextUniqueId}`;\n }\n ngAfterContentInit() {\n this._focusMonitor.monitor(this._elementRef, true).subscribe(focusOrigin => {\n if (focusOrigin === 'keyboard' || focusOrigin === 'program') {\n this._focused = true;\n this._changeDetectorRef.markForCheck();\n }\n else if (!focusOrigin) {\n // When a focused element becomes disabled, the browser *immediately* fires a blur event.\n // Angular does not expect events to be raised during change detection, so any state\n // change (such as a form control's ng-touched) will cause a changed-after-checked error.\n // See https://github.com/angular/angular/issues/17793. To work around this, we defer\n // telling the form control it has been touched until the next tick.\n Promise.resolve().then(() => {\n this._focused = false;\n this._onTouched();\n this._changeDetectorRef.markForCheck();\n });\n }\n });\n }\n ngOnDestroy() {\n this._focusMonitor.stopMonitoring(this._elementRef);\n }\n /** Implemented as part of ControlValueAccessor. */\n writeValue(value) {\n this.checked = !!value;\n }\n /** Implemented as part of ControlValueAccessor. */\n registerOnChange(fn) {\n this._onChange = fn;\n }\n /** Implemented as part of ControlValueAccessor. */\n registerOnTouched(fn) {\n this._onTouched = fn;\n }\n /** Implemented as a part of ControlValueAccessor. */\n setDisabledState(isDisabled) {\n this.disabled = isDisabled;\n this._changeDetectorRef.markForCheck();\n }\n /** Toggles the checked state of the slide-toggle. */\n toggle() {\n this.checked = !this.checked;\n this._onChange(this.checked);\n }\n /**\n * Emits a change event on the `change` output. Also notifies the FormControl about the change.\n */\n _emitChangeEvent() {\n this._onChange(this.checked);\n this.change.emit(this._createChangeEvent(this.checked));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatSlideToggleBase, deps: \"invalid\", target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: _MatSlideToggleBase, inputs: { name: \"name\", id: \"id\", labelPosition: \"labelPosition\", ariaLabel: [\"aria-label\", \"ariaLabel\"], ariaLabelledby: [\"aria-labelledby\", \"ariaLabelledby\"], ariaDescribedby: [\"aria-describedby\", \"ariaDescribedby\"], required: \"required\", checked: \"checked\" }, outputs: { change: \"change\", toggleChange: \"toggleChange\" }, usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatSlideToggleBase, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.FocusMonitor }, { type: i0.ChangeDetectorRef }, { type: undefined }, { type: undefined }, { type: undefined }, { type: undefined }]; }, propDecorators: { name: [{\n type: Input\n }], id: [{\n type: Input\n }], labelPosition: [{\n type: Input\n }], ariaLabel: [{\n type: Input,\n args: ['aria-label']\n }], ariaLabelledby: [{\n type: Input,\n args: ['aria-labelledby']\n }], ariaDescribedby: [{\n type: Input,\n args: ['aria-describedby']\n }], required: [{\n type: Input\n }], checked: [{\n type: Input\n }], change: [{\n type: Output\n }], toggleChange: [{\n type: Output\n }] } });\nclass MatSlideToggle extends _MatSlideToggleBase {\n /** Returns the unique id for the visual hidden button. */\n get buttonId() {\n return `${this.id || this._uniqueId}-button`;\n }\n constructor(elementRef, focusMonitor, changeDetectorRef, tabIndex, defaults, animationMode) {\n super(elementRef, focusMonitor, changeDetectorRef, tabIndex, defaults, animationMode, 'mat-mdc-slide-toggle-');\n this._labelId = this._uniqueId + '-label';\n }\n /** Method being called whenever the underlying button is clicked. */\n _handleClick() {\n this.toggleChange.emit();\n if (!this.defaults.disableToggleValue) {\n this.checked = !this.checked;\n this._onChange(this.checked);\n this.change.emit(new MatSlideToggleChange(this, this.checked));\n }\n }\n /** Focuses the slide-toggle. */\n focus() {\n this._switchElement.nativeElement.focus();\n }\n _createChangeEvent(isChecked) {\n return new MatSlideToggleChange(this, isChecked);\n }\n _getAriaLabelledBy() {\n if (this.ariaLabelledby) {\n return this.ariaLabelledby;\n }\n // Even though we have a `label` element with a `for` pointing to the button, we need the\n // `aria-labelledby`, because the button gets flagged as not having a label by tools like axe.\n return this.ariaLabel ? null : this._labelId;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSlideToggle, deps: [{ token: i0.ElementRef }, { token: i1.FocusMonitor }, { token: i0.ChangeDetectorRef }, { token: 'tabindex', attribute: true }, { token: MAT_SLIDE_TOGGLE_DEFAULT_OPTIONS }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatSlideToggle, selector: \"mat-slide-toggle\", inputs: { disabled: \"disabled\", disableRipple: \"disableRipple\", color: \"color\", tabIndex: \"tabIndex\" }, host: { properties: { \"id\": \"id\", \"attr.tabindex\": \"null\", \"attr.aria-label\": \"null\", \"attr.name\": \"null\", \"attr.aria-labelledby\": \"null\", \"class.mat-mdc-slide-toggle-focused\": \"_focused\", \"class.mat-mdc-slide-toggle-checked\": \"checked\", \"class._mat-animation-noopable\": \"_noopAnimations\" }, classAttribute: \"mat-mdc-slide-toggle\" }, providers: [MAT_SLIDE_TOGGLE_VALUE_ACCESSOR], viewQueries: [{ propertyName: \"_switchElement\", first: true, predicate: [\"switch\"], descendants: true }], exportAs: [\"matSlideToggle\"], usesInheritance: true, ngImport: i0, template: \"<div class=\\\"mdc-form-field\\\"\\n [class.mdc-form-field--align-end]=\\\"labelPosition == 'before'\\\">\\n <button\\n class=\\\"mdc-switch\\\"\\n role=\\\"switch\\\"\\n type=\\\"button\\\"\\n [class.mdc-switch--selected]=\\\"checked\\\"\\n [class.mdc-switch--unselected]=\\\"!checked\\\"\\n [class.mdc-switch--checked]=\\\"checked\\\"\\n [class.mdc-switch--disabled]=\\\"disabled\\\"\\n [tabIndex]=\\\"tabIndex\\\"\\n [disabled]=\\\"disabled\\\"\\n [attr.id]=\\\"buttonId\\\"\\n [attr.name]=\\\"name\\\"\\n [attr.aria-label]=\\\"ariaLabel\\\"\\n [attr.aria-labelledby]=\\\"_getAriaLabelledBy()\\\"\\n [attr.aria-describedby]=\\\"ariaDescribedby\\\"\\n [attr.aria-required]=\\\"required || null\\\"\\n [attr.aria-checked]=\\\"checked\\\"\\n (click)=\\\"_handleClick()\\\"\\n #switch>\\n <div class=\\\"mdc-switch__track\\\"></div>\\n <div class=\\\"mdc-switch__handle-track\\\">\\n <div class=\\\"mdc-switch__handle\\\">\\n <div class=\\\"mdc-switch__shadow\\\">\\n <div class=\\\"mdc-elevation-overlay\\\"></div>\\n </div>\\n <div class=\\\"mdc-switch__ripple\\\">\\n <div class=\\\"mat-mdc-slide-toggle-ripple mat-mdc-focus-indicator\\\" mat-ripple\\n [matRippleTrigger]=\\\"switch\\\"\\n [matRippleDisabled]=\\\"disableRipple || disabled\\\"\\n [matRippleCentered]=\\\"true\\\"></div>\\n </div>\\n <div class=\\\"mdc-switch__icons\\\">\\n <svg\\n class=\\\"mdc-switch__icon mdc-switch__icon--on\\\"\\n viewBox=\\\"0 0 24 24\\\"\\n aria-hidden=\\\"true\\\">\\n <path d=\\\"M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z\\\" />\\n </svg>\\n <svg\\n class=\\\"mdc-switch__icon mdc-switch__icon--off\\\"\\n viewBox=\\\"0 0 24 24\\\"\\n aria-hidden=\\\"true\\\">\\n <path d=\\\"M20 13H4v-2h16v2z\\\" />\\n </svg>\\n </div>\\n </div>\\n </div>\\n </button>\\n\\n <!--\\n Clicking on the label will trigger another click event from the button.\\n Stop propagation here so other listeners further up in the DOM don't execute twice.\\n -->\\n <label class=\\\"mdc-label\\\" [for]=\\\"buttonId\\\" [attr.id]=\\\"_labelId\\\" (click)=\\\"$event.stopPropagation()\\\">\\n <ng-content></ng-content>\\n </label>\\n</div>\\n\", styles: [\".mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color, #fff)}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch[hidden]{display:none}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:\\\"\\\";height:100%;left:0;position:absolute;width:100%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:\\\"\\\";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mdc-switch{width:var(--mdc-switch-track-width, 36px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color, #616161)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color, #424242)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color, var(--mdc-theme-surface, #fff))}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation, 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__focus-ring-wrapper,.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{height:var(--mdc-switch-handle-height, 20px)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__handle::after{opacity:var(--mdc-switch-disabled-handle-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{border-radius:var(--mdc-switch-handle-shape, 10px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{width:var(--mdc-switch-handle-width, 20px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--mdc-switch-handle-width, 20px))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:var(--mdc-switch-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:var(--mdc-switch-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size, 18px);height:var(--mdc-switch-selected-icon-size, 18px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size, 18px);height:var(--mdc-switch-unselected-icon-size, 18px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-hover-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-focus-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-pressed-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-hover-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-focus-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-pressed-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-selected-hover-state-layer-opacity, 0.04)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-selected-focus-state-layer-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-unselected-hover-state-layer-opacity, 0.04)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__ripple{height:var(--mdc-switch-state-layer-size, 48px);width:var(--mdc-switch-state-layer-size, 48px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{height:var(--mdc-switch-track-height, 14px)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__track::after{background:var(--mdc-switch-selected-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color, #424242)}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__track::before{background:var(--mdc-switch-unselected-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color, #424242)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{border-radius:var(--mdc-switch-track-shape, 7px)}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle .mdc-switch__ripple::after{content:\\\"\\\";opacity:0}.mat-mdc-slide-toggle .mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:opacity 75ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-elevation-overlay,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}\"], dependencies: [{ kind: \"directive\", type: i2.MatRipple, selector: \"[mat-ripple], [matRipple]\", inputs: [\"matRippleColor\", \"matRippleUnbounded\", \"matRippleCentered\", \"matRippleRadius\", \"matRippleAnimation\", \"matRippleDisabled\", \"matRippleTrigger\"], exportAs: [\"matRipple\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSlideToggle, decorators: [{\n type: Component,\n args: [{ selector: 'mat-slide-toggle', inputs: ['disabled', 'disableRipple', 'color', 'tabIndex'], host: {\n 'class': 'mat-mdc-slide-toggle',\n '[id]': 'id',\n // Needs to be removed since it causes some a11y issues (see #21266).\n '[attr.tabindex]': 'null',\n '[attr.aria-label]': 'null',\n '[attr.name]': 'null',\n '[attr.aria-labelledby]': 'null',\n '[class.mat-mdc-slide-toggle-focused]': '_focused',\n '[class.mat-mdc-slide-toggle-checked]': 'checked',\n '[class._mat-animation-noopable]': '_noopAnimations',\n }, exportAs: 'matSlideToggle', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [MAT_SLIDE_TOGGLE_VALUE_ACCESSOR], template: \"<div class=\\\"mdc-form-field\\\"\\n [class.mdc-form-field--align-end]=\\\"labelPosition == 'before'\\\">\\n <button\\n class=\\\"mdc-switch\\\"\\n role=\\\"switch\\\"\\n type=\\\"button\\\"\\n [class.mdc-switch--selected]=\\\"checked\\\"\\n [class.mdc-switch--unselected]=\\\"!checked\\\"\\n [class.mdc-switch--checked]=\\\"checked\\\"\\n [class.mdc-switch--disabled]=\\\"disabled\\\"\\n [tabIndex]=\\\"tabIndex\\\"\\n [disabled]=\\\"disabled\\\"\\n [attr.id]=\\\"buttonId\\\"\\n [attr.name]=\\\"name\\\"\\n [attr.aria-label]=\\\"ariaLabel\\\"\\n [attr.aria-labelledby]=\\\"_getAriaLabelledBy()\\\"\\n [attr.aria-describedby]=\\\"ariaDescribedby\\\"\\n [attr.aria-required]=\\\"required || null\\\"\\n [attr.aria-checked]=\\\"checked\\\"\\n (click)=\\\"_handleClick()\\\"\\n #switch>\\n <div class=\\\"mdc-switch__track\\\"></div>\\n <div class=\\\"mdc-switch__handle-track\\\">\\n <div class=\\\"mdc-switch__handle\\\">\\n <div class=\\\"mdc-switch__shadow\\\">\\n <div class=\\\"mdc-elevation-overlay\\\"></div>\\n </div>\\n <div class=\\\"mdc-switch__ripple\\\">\\n <div class=\\\"mat-mdc-slide-toggle-ripple mat-mdc-focus-indicator\\\" mat-ripple\\n [matRippleTrigger]=\\\"switch\\\"\\n [matRippleDisabled]=\\\"disableRipple || disabled\\\"\\n [matRippleCentered]=\\\"true\\\"></div>\\n </div>\\n <div class=\\\"mdc-switch__icons\\\">\\n <svg\\n class=\\\"mdc-switch__icon mdc-switch__icon--on\\\"\\n viewBox=\\\"0 0 24 24\\\"\\n aria-hidden=\\\"true\\\">\\n <path d=\\\"M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z\\\" />\\n </svg>\\n <svg\\n class=\\\"mdc-switch__icon mdc-switch__icon--off\\\"\\n viewBox=\\\"0 0 24 24\\\"\\n aria-hidden=\\\"true\\\">\\n <path d=\\\"M20 13H4v-2h16v2z\\\" />\\n </svg>\\n </div>\\n </div>\\n </div>\\n </button>\\n\\n <!--\\n Clicking on the label will trigger another click event from the button.\\n Stop propagation here so other listeners further up in the DOM don't execute twice.\\n -->\\n <label class=\\\"mdc-label\\\" [for]=\\\"buttonId\\\" [attr.id]=\\\"_labelId\\\" (click)=\\\"$event.stopPropagation()\\\">\\n <ng-content></ng-content>\\n </label>\\n</div>\\n\", styles: [\".mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color, #fff)}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch[hidden]{display:none}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:\\\"\\\";height:100%;left:0;position:absolute;width:100%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:\\\"\\\";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mdc-switch{width:var(--mdc-switch-track-width, 36px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color, #616161)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color, #424242)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color, var(--mdc-theme-surface, #fff))}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation, 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__focus-ring-wrapper,.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{height:var(--mdc-switch-handle-height, 20px)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__handle::after{opacity:var(--mdc-switch-disabled-handle-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{border-radius:var(--mdc-switch-handle-shape, 10px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{width:var(--mdc-switch-handle-width, 20px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--mdc-switch-handle-width, 20px))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:var(--mdc-switch-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:var(--mdc-switch-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size, 18px);height:var(--mdc-switch-selected-icon-size, 18px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size, 18px);height:var(--mdc-switch-unselected-icon-size, 18px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-hover-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-focus-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-pressed-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-hover-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-focus-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-pressed-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-selected-hover-state-layer-opacity, 0.04)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-selected-focus-state-layer-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-unselected-hover-state-layer-opacity, 0.04)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__ripple{height:var(--mdc-switch-state-layer-size, 48px);width:var(--mdc-switch-state-layer-size, 48px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{height:var(--mdc-switch-track-height, 14px)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__track::after{background:var(--mdc-switch-selected-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color, #424242)}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__track::before{background:var(--mdc-switch-unselected-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color, #424242)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{border-radius:var(--mdc-switch-track-shape, 7px)}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle .mdc-switch__ripple::after{content:\\\"\\\";opacity:0}.mat-mdc-slide-toggle .mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:opacity 75ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-elevation-overlay,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.FocusMonitor }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{\n type: Attribute,\n args: ['tabindex']\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [MAT_SLIDE_TOGGLE_DEFAULT_OPTIONS]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }]; }, propDecorators: { _switchElement: [{\n type: ViewChild,\n args: ['switch']\n }] } });\n\nconst MAT_SLIDE_TOGGLE_REQUIRED_VALIDATOR = {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => MatSlideToggleRequiredValidator),\n multi: true,\n};\n/**\n * Validator for Material slide-toggle components with the required attribute in a\n * template-driven form. The default validator for required form controls asserts\n * that the control value is not undefined but that is not appropriate for a slide-toggle\n * where the value is always defined.\n *\n * Required slide-toggle form controls are valid when checked.\n */\nclass MatSlideToggleRequiredValidator extends CheckboxRequiredValidator {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSlideToggleRequiredValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatSlideToggleRequiredValidator, selector: \"mat-slide-toggle[required][formControlName],\\n mat-slide-toggle[required][formControl], mat-slide-toggle[required][ngModel]\", providers: [MAT_SLIDE_TOGGLE_REQUIRED_VALIDATOR], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSlideToggleRequiredValidator, decorators: [{\n type: Directive,\n args: [{\n selector: `mat-slide-toggle[required][formControlName],\n mat-slide-toggle[required][formControl], mat-slide-toggle[required][ngModel]`,\n providers: [MAT_SLIDE_TOGGLE_REQUIRED_VALIDATOR],\n }]\n }] });\n\n/** This module is used by both original and MDC-based slide-toggle implementations. */\nclass _MatSlideToggleRequiredValidatorModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatSlideToggleRequiredValidatorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatSlideToggleRequiredValidatorModule, declarations: [MatSlideToggleRequiredValidator], exports: [MatSlideToggleRequiredValidator] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatSlideToggleRequiredValidatorModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatSlideToggleRequiredValidatorModule, decorators: [{\n type: NgModule,\n args: [{\n exports: [MatSlideToggleRequiredValidator],\n declarations: [MatSlideToggleRequiredValidator],\n }]\n }] });\nclass MatSlideToggleModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSlideToggleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSlideToggleModule, declarations: [MatSlideToggle], imports: [_MatSlideToggleRequiredValidatorModule, MatCommonModule, MatRippleModule, CommonModule], exports: [_MatSlideToggleRequiredValidatorModule, MatSlideToggle, MatCommonModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSlideToggleModule, imports: [_MatSlideToggleRequiredValidatorModule, MatCommonModule, MatRippleModule, CommonModule, _MatSlideToggleRequiredValidatorModule, MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSlideToggleModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [_MatSlideToggleRequiredValidatorModule, MatCommonModule, MatRippleModule, CommonModule],\n exports: [_MatSlideToggleRequiredValidatorModule, MatSlideToggle, MatCommonModule],\n declarations: [MatSlideToggle],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MAT_SLIDE_TOGGLE_DEFAULT_OPTIONS, MAT_SLIDE_TOGGLE_REQUIRED_VALIDATOR, MAT_SLIDE_TOGGLE_VALUE_ACCESSOR, MatSlideToggle, MatSlideToggleChange, MatSlideToggleModule, MatSlideToggleRequiredValidator, _MatSlideToggleBase, _MatSlideToggleRequiredValidatorModule };\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/4309.8f8441b74a0be6b8.js b/4309.8f8441b74a0be6b8.js new file mode 100644 index 0000000..71d3ddd --- /dev/null +++ b/4309.8f8441b74a0be6b8.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[4309,7376,5187,4091,1217,7208,4968,4155,1084,6896,5113,5749,8024,8513,5555,4967,8017,8116,5873,4680,2111,3326,8596,8352,5501,3098,8608,8443,5915,3278,5391,6748,6763,4151,5069,7432,6618],{35488:(f,n,e)=>{function t(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}e.d(n,{Z:()=>t})},28694:(f,n,e)=>{e.d(n,{Z:()=>i});var t=e(20265),o=e(98568),u=e(43445),r=e(35488);function i(p){var c=(0,o.Z)();return function(){var a,s=(0,t.Z)(p);if(c){var d=(0,t.Z)(this).constructor;a=Reflect.construct(s,arguments,d)}else a=s.apply(this,arguments);return function _(p,c){if(c&&("object"===(0,u.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(p)}(this,a)}}},20265:(f,n,e)=>{function t(o){return(t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)})(o)}e.d(n,{Z:()=>t})},24582:(f,n,e)=>{e.d(n,{Z:()=>o});var t=e(10006);function o(u,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(r&&r.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),r&&(0,t.Z)(u,r)}},98568:(f,n,e)=>{function t(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(n,{Z:()=>t})},10006:(f,n,e)=>{function t(o,u){return(t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_,i){return _.__proto__=i,_})(o,u)}e.d(n,{Z:()=>t})}}]); +//# sourceMappingURL=4309.8f8441b74a0be6b8.js.map \ No newline at end of file diff --git a/4309.8f8441b74a0be6b8.js.map b/4309.8f8441b74a0be6b8.js.map new file mode 100644 index 0000000..e507bfb --- /dev/null +++ b/4309.8f8441b74a0be6b8.js.map @@ -0,0 +1 @@ +{"version":3,"file":"4309.8f8441b74a0be6b8.js","mappings":"sQAAe,SAAAA,EAAAC,GACf,YAAAA,EACA,UAAAC,eAAA,6DAEA,OAAAD,CACA,oGCFe,SAAAE,EAAAC,GACf,IAAAC,KAAkCC,EAAAC,KAClC,kBACA,IACAC,EADAC,KAAgBC,EAAAH,GAAcH,GAE9B,GAAAC,EAAA,CACA,IAAAM,KAAsBD,EAAAH,GAAcK,MAAAC,YACpCL,EAAAM,QAAAC,UAAAN,EAAAO,UAAAL,EAAA,MAEAH,EAAAC,EAAAQ,MAAAL,KAAAI,WAEA,OCZe,SAAAE,EAAAjB,EAAAkB,GACf,GAAAA,IAAsB,YAAtBA,EAAeC,EAAAb,GAAOY,IAAA,mBAAAA,GACtB,OAAAA,EACI,YAAAA,EACJ,UAAAE,UAAA,4DAEA,SAASC,EAAAf,GAAqBN,EAC9B,CDKWiB,CAAyBN,KAAAJ,EACpC,CACA,mBEhBe,SAAAe,EAAAC,GACf,OAAAD,EAAAE,OAAAC,eAAAD,OAAAf,eAAAiB,OAAA,SAAAH,GACA,OAAAA,EAAAI,WAAAH,OAAAf,eAAAc,EACA,GACAA,EACA,mECJe,SAAAK,EAAAC,EAAAC,GACf,sBAAAA,GAAA,OAAAA,EACA,UAAAV,UAAA,sDAEAS,EAAAE,UAAAP,OAAAQ,OAAAF,KAAAC,UAAA,CACAnB,YAAA,CACAqB,MAAAJ,EACAK,UAAA,EACAC,cAAA,KAGAX,OAAAY,eAAAP,EAAA,aACAK,UAAA,IAEAJ,MAAkBO,EAAA/B,GAAcuB,EAAAC,EAChC,mBChBe,SAAAQ,IAEf,UADAzB,QAAA,MAAAA,QAAAC,WACAD,QAAAC,UAAAyB,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAAV,UAAAW,QAAAxB,KAAAL,QAAAC,UAAA2B,QAAA,mBACA,CACA,OACA,QACA,CACA,mCCVe,SAAAE,EAAApB,EAAAqB,GACf,OAAAD,EAAAnB,OAAAC,eAAAD,OAAAC,eAAAC,OAAA,SAAAH,EAAAqB,GACA,OAAArB,EAAAI,UAAAiB,EACArB,CACA,GACAA,EAAAqB,EACA","names":["_assertThisInitialized","self","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","call","esm_typeof","TypeError","assertThisInitialized","_getPrototypeOf","o","Object","setPrototypeOf","bind","__proto__","_inherits","subClass","superClass","prototype","create","value","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6]} \ No newline at end of file diff --git a/4371.5ec3b709d6088bf5.js b/4371.5ec3b709d6088bf5.js new file mode 100644 index 0000000..e622639 --- /dev/null +++ b/4371.5ec3b709d6088bf5.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[4371,3022,5106,7376,5187,4091,1217,7208,4968,6785,4155,1084,6896,7920,6980,5113,1328,5749,4309,8024,8513,5555,4967,8017,8116,5873,8061,4680,2112,2111,3326,8596,8352,5501,882,3098,8467,6578,4093,8608,8443,7328,5915,3278,5391,6748,1551,6763,4151,5069,7432,8071,6618],{50253:(D,f,t)=>{t.d(f,{x:()=>x});var c=t(95106),l=t(78069),s=t(48047),u=t(4089),a=t(20265),d=t(24582),o=t(28694),n=t(90833),y=t(17714),O=(0,t(27543).d)(function(Z){return function(){Z(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),L=t(39663),P=t(12309),x=function(){var Z=function(F){(0,d.Z)(U,F);var w=(0,o.Z)(U);function U(){var C;return(0,l.Z)(this,U),(C=w.call(this)).closed=!1,C.currentObservers=null,C.observers=[],C.isStopped=!1,C.hasError=!1,C.thrownError=null,C}return(0,s.Z)(U,[{key:"lift",value:function(p){var g=new B(this,this);return g.operator=p,g}},{key:"_throwIfClosed",value:function(){if(this.closed)throw new O}},{key:"next",value:function(p){var g=this;(0,P.x)(function(){if(g._throwIfClosed(),!g.isStopped){g.currentObservers||(g.currentObservers=Array.from(g.observers));var m,A=(0,c.Z)(g.currentObservers);try{for(A.s();!(m=A.n()).done;)m.value.next(p)}catch(S){A.e(S)}finally{A.f()}}})}},{key:"error",value:function(p){var g=this;(0,P.x)(function(){if(g._throwIfClosed(),!g.isStopped){g.hasError=g.isStopped=!0,g.thrownError=p;for(var A=g.observers;A.length;)A.shift().error(p)}})}},{key:"complete",value:function(){var p=this;(0,P.x)(function(){if(p._throwIfClosed(),!p.isStopped){p.isStopped=!0;for(var g=p.observers;g.length;)g.shift().complete()}})}},{key:"unsubscribe",value:function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}},{key:"observed",get:function(){var p;return(null===(p=this.observers)||void 0===p?void 0:p.length)>0}},{key:"_trySubscribe",value:function(p){return this._throwIfClosed(),(0,u.Z)((0,a.Z)(U.prototype),"_trySubscribe",this).call(this,p)}},{key:"_subscribe",value:function(p){return this._throwIfClosed(),this._checkFinalizedStatuses(p),this._innerSubscribe(p)}},{key:"_innerSubscribe",value:function(p){var g=this,b=this.observers;return this.hasError||this.isStopped?y.Lc:(this.currentObservers=null,b.push(p),new y.w0(function(){g.currentObservers=null,(0,L.P)(b,p)}))}},{key:"_checkFinalizedStatuses",value:function(p){var m=this.isStopped;this.hasError?p.error(this.thrownError):m&&p.complete()}},{key:"asObservable",value:function(){var p=new n.y;return p.source=this,p}}]),U}(n.y);return Z.create=function(F,w){return new B(F,w)},Z}(),B=function(Z){(0,d.Z)(w,Z);var F=(0,o.Z)(w);function w(U,C){var p;return(0,l.Z)(this,w),(p=F.call(this)).destination=U,p.source=C,p}return(0,s.Z)(w,[{key:"next",value:function(C){var p,g;null===(g=null===(p=this.destination)||void 0===p?void 0:p.next)||void 0===g||g.call(p,C)}},{key:"error",value:function(C){var p,g;null===(g=null===(p=this.destination)||void 0===p?void 0:p.error)||void 0===g||g.call(p,C)}},{key:"complete",value:function(){var C,p;null===(p=null===(C=this.destination)||void 0===C?void 0:C.complete)||void 0===p||p.call(C)}},{key:"_subscribe",value:function(C){var p,g;return null!==(g=null===(p=this.source)||void 0===p?void 0:p.subscribe(C))&&void 0!==g?g:y.Lc}}]),w}(x)},59319:(D,f,t)=>{t.d(f,{z:()=>a});var c=t(1308),s=t(10420),u=t(37400);function a(){for(var d=arguments.length,o=new Array(d),n=0;n<d;n++)o[n]=arguments[n];return function l(){return(0,c.J)(1)}()((0,u.D)(o,(0,s.yG)(o)))}},20591:(D,f,t)=>{t.d(f,{E:()=>l});var l=new(t(90833).y)(function(a){return a.complete()})},37400:(D,f,t)=>{t.d(f,{D:()=>A});var c=t(54987),l=t(8728),s=t(41944);function u(m){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,s.e)(function(S,T){T.add(m.schedule(function(){return S.subscribe(T)},b))})}var o=t(90833),y=t(67321),E=t(92971),O=t(1817);function P(m,b){if(!m)throw new Error("Iterable cannot be null");return new o.y(function(S){(0,O.f)(S,b,function(){var T=m[Symbol.asyncIterator]();(0,O.f)(S,b,function(){T.next().then(function(j){j.done?S.complete():S.next(j.value)})},0,!0)})})}var x=t(21331),B=t(79548),Z=t(99806),F=t(23433),w=t(80470),U=t(27785),C=t(20181);function A(m,b){return b?function g(m,b){if(null!=m){if((0,x.c)(m))return function a(m,b){return(0,c.Xf)(m).pipe(u(b),(0,l.Q)(b))}(m,b);if((0,Z.z)(m))return function n(m,b){return new o.y(function(S){var T=0;return b.schedule(function(){T===m.length?S.complete():(S.next(m[T++]),S.closed||this.schedule())})})}(m,b);if((0,B.t)(m))return function d(m,b){return(0,c.Xf)(m).pipe(u(b),(0,l.Q)(b))}(m,b);if((0,w.D)(m))return P(m,b);if((0,F.T)(m))return function L(m,b){return new o.y(function(S){var T;return(0,O.f)(S,b,function(){T=m[y.h](),(0,O.f)(S,b,function(){var j,H;try{var V=T.next();j=V.value,H=V.done}catch(N){return void S.error(N)}H?S.complete():S.next(j)},0,!0)}),function(){return(0,E.m)(T?.return)&&T.return()}})}(m,b);if((0,C.L)(m))return function p(m,b){return P((0,C.Q)(m),b)}(m,b)}throw(0,U.z)(m)}(m,b):(0,c.Xf)(m)}},36646:(D,f,t)=>{t.d(f,{T:()=>d});var c=t(1308),l=t(54987),s=t(20591),u=t(10420),a=t(37400);function d(){for(var o=arguments.length,n=new Array(o),y=0;y<o;y++)n[y]=arguments[y];var E=(0,u.yG)(n),O=(0,u._6)(n,1/0),L=n;return L.length?1===L.length?(0,l.Xf)(L[0]):(0,c.J)(O)((0,a.D)(L,E)):s.E}},93945:(D,f,t)=>{t.d(f,{Q:()=>E,x:()=>y});var c=t(78069),l=t(48047),s=t(35488),u=t(24582),a=t(28694),d=t(4089),o=t(20265);function y(O,L,P,x,B){return new E(O,L,P,x,B)}var E=function(O){(0,u.Z)(P,O);var L=(0,a.Z)(P);function P(x,B,Z,F,w,U){var C,p,g,A;return(0,c.Z)(this,P),(A=L.call(this,x)).onFinalize=w,A.shouldUnsubscribe=U,A._next=B?function(m){try{B(m)}catch(b){x.error(b)}}:(0,d.Z)((C=(0,s.Z)(A),(0,o.Z)(P.prototype)),"_next",C),A._error=F?function(m){try{F(m)}catch(b){x.error(b)}finally{this.unsubscribe()}}:(0,d.Z)((p=(0,s.Z)(A),(0,o.Z)(P.prototype)),"_error",p),A._complete=Z?function(){try{Z()}catch(m){x.error(m)}finally{this.unsubscribe()}}:(0,d.Z)((g=(0,s.Z)(A),(0,o.Z)(P.prototype)),"_complete",g),A}return(0,l.Z)(P,[{key:"unsubscribe",value:function(){var B;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var Z=this.closed;(0,d.Z)((0,o.Z)(P.prototype),"unsubscribe",this).call(this),!Z&&(null===(B=this.onFinalize)||void 0===B||B.call(this))}}}]),P}(t(5463).Lv)},50635:(D,f,t)=>{t.d(f,{U:()=>s});var c=t(41944),l=t(93945);function s(u,a){return(0,c.e)(function(d,o){var n=0;d.subscribe((0,l.x)(o,function(y){o.next(u.call(a,y,n++))}))})}},1308:(D,f,t)=>{t.d(f,{J:()=>s});var c=t(49525),l=t(89173);function s(){return(0,c.z)(l.y,arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0)}},49525:(D,f,t)=>{t.d(f,{z:()=>n});var c=t(50635),l=t(54987),s=t(41944),u=t(1817),a=t(93945),o=t(92971);function n(y,E){var O=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;return(0,o.m)(E)?n(function(L,P){return(0,c.U)(function(x,B){return E(L,x,P,B)})((0,l.Xf)(y(L,P)))},O):("number"==typeof E&&(O=E),(0,s.e)(function(L,P){return function d(y,E,O,L,P,x,B,Z){var F=[],w=0,U=0,C=!1,p=function(){C&&!F.length&&!w&&E.complete()},g=function(b){return w<L?A(b):F.push(b)},A=function m(b){x&&E.next(b),w++;var S=!1;(0,l.Xf)(O(b,U++)).subscribe((0,a.x)(E,function(T){P?.(T),x?g(T):E.next(T)},function(){S=!0},void 0,function(){if(S)try{w--;for(var T=function(){var H=F.shift();B?(0,u.f)(E,B,function(){return m(H)}):m(H)};F.length&&w<L;)T();p()}catch(j){E.error(j)}}))};return y.subscribe((0,a.x)(E,g,function(){C=!0,p()})),function(){Z?.()}}(L,P,y,O)}))}},8728:(D,f,t)=>{t.d(f,{Q:()=>u});var c=t(1817),l=t(41944),s=t(93945);function u(a){var d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,l.e)(function(o,n){o.subscribe((0,s.x)(n,function(y){return(0,c.f)(n,a,function(){return n.next(y)},d)},function(){return(0,c.f)(n,a,function(){return n.complete()},d)},function(y){return(0,c.f)(n,a,function(){return n.error(y)},d)}))})}},44874:(D,f,t)=>{t.d(f,{O:()=>u});var c=t(59319),l=t(10420),s=t(41944);function u(){for(var a=arguments.length,d=new Array(a),o=0;o<a;o++)d[o]=arguments[o];var n=(0,l.yG)(d);return(0,s.e)(function(y,E){(n?(0,c.z)(d,y,n):(0,c.z)(d,y)).subscribe(E)})}},59295:(D,f,t)=>{t.d(f,{q:()=>u});var c=t(20591),l=t(41944),s=t(93945);function u(a){return a<=0?function(){return c.E}:(0,l.e)(function(d,o){var n=0;d.subscribe((0,s.x)(o,function(y){++n<=a&&(o.next(y),a<=n&&o.complete())}))})}},68951:(D,f,t)=>{t.d(f,{R:()=>a});var c=t(41944),l=t(93945),s=t(54987),u=t(99635);function a(d){return(0,c.e)(function(o,n){(0,s.Xf)(d).subscribe((0,l.x)(n,function(){return n.complete()},u.Z)),!n.closed&&o.subscribe(n)})}},10420:(D,f,t)=>{t.d(f,{_6:()=>d,jO:()=>u,yG:()=>a});var c=t(92971),l=t(59867);function s(o){return o[o.length-1]}function u(o){return(0,c.m)(s(o))?o.pop():void 0}function a(o){return(0,l.K)(s(o))?o.pop():void 0}function d(o,n){return"number"==typeof s(o)?o.pop():n}},1817:(D,f,t)=>{function c(l,s,u){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,d=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=s.schedule(function(){u(),d?l.add(this.schedule(null,a)):this.unsubscribe()},a);if(l.add(o),!d)return o}t.d(f,{f:()=>c})},59867:(D,f,t)=>{t.d(f,{K:()=>l});var c=t(92971);function l(s){return s&&(0,c.m)(s.schedule)}},41944:(D,f,t)=>{t.d(f,{A:()=>l,e:()=>s});var c=t(92971);function l(u){return(0,c.m)(u?.lift)}function s(u){return function(a){if(l(a))return a.lift(function(d){try{return u(d,this)}catch(o){this.error(o)}});throw new TypeError("Unable to lift unknown Observable type")}}},4371:(D,f,t)=>{t.r(f),t.d(f,{MAT_LEGACY_CHIPS_DEFAULT_OPTIONS:()=>G,MAT_LEGACY_CHIP_AVATAR:()=>T,MAT_LEGACY_CHIP_REMOVE:()=>S,MAT_LEGACY_CHIP_TRAILING_ICON:()=>j,MatLegacyChip:()=>z,MatLegacyChipAvatar:()=>N,MatLegacyChipInput:()=>q,MatLegacyChipList:()=>J,MatLegacyChipListChange:()=>X,MatLegacyChipRemove:()=>$,MatLegacyChipSelectionChange:()=>b,MatLegacyChipTrailingIcon:()=>Y,MatLegacyChipsModule:()=>ie});var c=t(86170),l=t(35488),s=t(24582),u=t(28694),a=t(48047),d=t(78069),o=t(52069),n=t(56718),y=t(6606),E=t(35333),O=t(23675),L=t(94055),P=t(33401),x=t(50253),B=t(36646),Z=t(59295),F=t(68951),w=t(44874),U=t(908),C=t(43068),p=t(81382),g=t(47405),A=t(30972),m=["*"],b=(0,a.Z)(function v(M,h){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];(0,d.Z)(this,v),this.source=M,this.selected=h,this.isUserInput=r}),S=new n.InjectionToken("MatChipRemove"),T=new n.InjectionToken("MatChipAvatar"),j=new n.InjectionToken("MatChipTrailingIcon"),V=(0,y.mixinTabIndex)((0,y.mixinColor)((0,y.mixinDisableRipple)((0,a.Z)(function v(M){(0,d.Z)(this,v),this._elementRef=M})),"primary"),-1),N=function(){var v=(0,a.Z)(function M(){(0,d.Z)(this,M)});return v.\u0275fac=function(h){return new(h||v)},v.\u0275dir=n.\u0275\u0275defineDirective({type:v,selectors:[["mat-chip-avatar"],["","matChipAvatar",""]],hostAttrs:[1,"mat-chip-avatar"],features:[n.\u0275\u0275ProvidersFeature([{provide:T,useExisting:v}])]}),v}(),Y=function(){var v=(0,a.Z)(function M(){(0,d.Z)(this,M)});return v.\u0275fac=function(h){return new(h||v)},v.\u0275dir=n.\u0275\u0275defineDirective({type:v,selectors:[["mat-chip-trailing-icon"],["","matChipTrailingIcon",""]],hostAttrs:[1,"mat-chip-trailing-icon"],features:[n.\u0275\u0275ProvidersFeature([{provide:j,useExisting:v}])]}),v}(),z=function(){var v=function(M){(0,s.Z)(r,M);var h=(0,u.Z)(r);function r(i,e,_,R,K,W,Q,k){var I;return(0,d.Z)(this,r),(I=h.call(this,i))._ngZone=e,I._changeDetectorRef=K,I._hasFocus=!1,I.chipListSelectable=!0,I._chipListMultiple=!1,I._chipListDisabled=!1,I.role="option",I._selected=!1,I._selectable=!0,I._disabled=!1,I._removable=!0,I._onFocus=new x.x,I._onBlur=new x.x,I.selectionChange=new n.EventEmitter,I.destroyed=new n.EventEmitter,I.removed=new n.EventEmitter,I._addHostClassName(),I._chipRippleTarget=W.createElement("div"),I._chipRippleTarget.classList.add("mat-chip-ripple"),I._elementRef.nativeElement.appendChild(I._chipRippleTarget),I._chipRipple=new y.RippleRenderer((0,l.Z)(I),e,I._chipRippleTarget,_),I._chipRipple.setupTriggerEvents(i),I.rippleConfig=R||{},I._animationsDisabled="NoopAnimations"===Q,I.tabIndex=null!=k&&parseInt(k)||-1,I}return(0,a.Z)(r,[{key:"rippleDisabled",get:function(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}},{key:"selected",get:function(){return this._selected},set:function(e){var _=(0,E.coerceBooleanProperty)(e);_!==this._selected&&(this._selected=_,this._dispatchSelectionChange())}},{key:"value",get:function(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent},set:function(e){this._value=e}},{key:"selectable",get:function(){return this._selectable&&this.chipListSelectable},set:function(e){this._selectable=(0,E.coerceBooleanProperty)(e)}},{key:"disabled",get:function(){return this._chipListDisabled||this._disabled},set:function(e){this._disabled=(0,E.coerceBooleanProperty)(e)}},{key:"removable",get:function(){return this._removable},set:function(e){this._removable=(0,E.coerceBooleanProperty)(e)}},{key:"ariaSelected",get:function(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}},{key:"_addHostClassName",value:function(){var e="mat-basic-chip",_=this._elementRef.nativeElement;_.hasAttribute(e)||_.tagName.toLowerCase()===e?_.classList.add(e):_.classList.add("mat-standard-chip")}},{key:"ngOnDestroy",value:function(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()}},{key:"select",value:function(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}},{key:"deselect",value:function(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}},{key:"selectViaInteraction",value:function(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._changeDetectorRef.markForCheck())}},{key:"toggleSelected",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this._selected=!this.selected,this._dispatchSelectionChange(e),this._changeDetectorRef.markForCheck(),this.selected}},{key:"focus",value:function(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0}},{key:"remove",value:function(){this.removable&&this.removed.emit({chip:this})}},{key:"_handleClick",value:function(e){this.disabled&&e.preventDefault()}},{key:"_handleKeydown",value:function(e){if(!this.disabled)switch(e.keyCode){case o.DELETE:case o.BACKSPACE:this.remove(),e.preventDefault();break;case o.SPACE:this.selectable&&this.toggleSelected(!0),e.preventDefault()}}},{key:"_blur",value:function(){var e=this;this._ngZone.onStable.pipe((0,Z.q)(1)).subscribe(function(){e._ngZone.run(function(){e._hasFocus=!1,e._onBlur.next({chip:e})})})}},{key:"_dispatchSelectionChange",value:function(){this.selectionChange.emit({source:this,isUserInput:arguments.length>0&&void 0!==arguments[0]&&arguments[0],selected:this._selected})}}]),r}(V);return v.\u0275fac=function(h){return new(h||v)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(O.Platform),n.\u0275\u0275directiveInject(y.MAT_RIPPLE_GLOBAL_OPTIONS,8),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(L.DOCUMENT),n.\u0275\u0275directiveInject(P.ANIMATION_MODULE_TYPE,8),n.\u0275\u0275injectAttribute("tabindex"))},v.\u0275dir=n.\u0275\u0275defineDirective({type:v,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(h,r,i){var e;1&h&&(n.\u0275\u0275contentQuery(i,T,5),n.\u0275\u0275contentQuery(i,j,5),n.\u0275\u0275contentQuery(i,S,5)),2&h&&(n.\u0275\u0275queryRefresh(e=n.\u0275\u0275loadQuery())&&(r.avatar=e.first),n.\u0275\u0275queryRefresh(e=n.\u0275\u0275loadQuery())&&(r.trailingIcon=e.first),n.\u0275\u0275queryRefresh(e=n.\u0275\u0275loadQuery())&&(r.removeIcon=e.first))},hostAttrs:[1,"mat-chip","mat-focus-indicator"],hostVars:15,hostBindings:function(h,r){1&h&&n.\u0275\u0275listener("click",function(e){return r._handleClick(e)})("keydown",function(e){return r._handleKeydown(e)})("focus",function(){return r.focus()})("blur",function(){return r._blur()}),2&h&&(n.\u0275\u0275attribute("tabindex",r.disabled?null:r.tabIndex)("role",r.role)("disabled",r.disabled||null)("aria-disabled",r.disabled.toString())("aria-selected",r.ariaSelected),n.\u0275\u0275classProp("mat-chip-selected",r.selected)("mat-chip-with-avatar",r.avatar)("mat-chip-with-trailing-icon",r.trailingIcon||r.removeIcon)("mat-chip-disabled",r.disabled)("_mat-animation-noopable",r._animationsDisabled))},inputs:{color:"color",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",selected:"selected",value:"value",selectable:"selectable",disabled:"disabled",removable:"removable"},outputs:{selectionChange:"selectionChange",destroyed:"destroyed",removed:"removed"},exportAs:["matChip"],features:[n.\u0275\u0275InheritDefinitionFeature]}),v}(),$=function(){var v=function(){function M(h,r){(0,d.Z)(this,M),this._parentChip=h,"BUTTON"===r.nativeElement.nodeName&&r.nativeElement.setAttribute("type","button")}return(0,a.Z)(M,[{key:"_handleClick",value:function(r){var i=this._parentChip;i.removable&&!i.disabled&&i.remove(),r.stopPropagation(),r.preventDefault()}}]),M}();return v.\u0275fac=function(h){return new(h||v)(n.\u0275\u0275directiveInject(z),n.\u0275\u0275directiveInject(n.ElementRef))},v.\u0275dir=n.\u0275\u0275defineDirective({type:v,selectors:[["","matChipRemove",""]],hostAttrs:[1,"mat-chip-remove","mat-chip-trailing-icon"],hostBindings:function(h,r){1&h&&n.\u0275\u0275listener("click",function(e){return r._handleClick(e)})},features:[n.\u0275\u0275ProvidersFeature([{provide:S,useExisting:v}])]}),v}(),G=new n.InjectionToken("mat-chips-default-options"),ee=(0,y.mixinErrorState)(function(){return(0,a.Z)(function v(M,h,r,i){(0,d.Z)(this,v),this._defaultErrorStateMatcher=M,this._parentForm=h,this._parentFormGroup=r,this.ngControl=i,this.stateChanges=new x.x})}()),te=0,X=(0,a.Z)(function v(M,h){(0,d.Z)(this,v),this.source=M,this.value=h}),J=function(){var v=function(M){(0,s.Z)(r,M);var h=(0,u.Z)(r);function r(i,e,_,R,K,W,Q){var k;return(0,d.Z)(this,r),(k=h.call(this,W,R,K,Q))._elementRef=i,k._changeDetectorRef=e,k._dir=_,k.controlType="mat-chip-list",k._lastDestroyedChipIndex=null,k._destroyed=new x.x,k._uid="mat-chip-list-".concat(te++),k._tabIndex=0,k._userTabIndex=null,k._onTouched=function(){},k._onChange=function(){},k._multiple=!1,k._compareWith=function(I,re){return I===re},k._disabled=!1,k.ariaOrientation="horizontal",k._selectable=!0,k.change=new n.EventEmitter,k.valueChange=new n.EventEmitter,k.ngControl&&(k.ngControl.valueAccessor=(0,l.Z)(k)),k}return(0,a.Z)(r,[{key:"selected",get:function(){var e,_;return this.multiple?(null===(e=this._selectionModel)||void 0===e?void 0:e.selected)||[]:null===(_=this._selectionModel)||void 0===_?void 0:_.selected[0]}},{key:"role",get:function(){return this._explicitRole?this._explicitRole:this.empty?null:"listbox"},set:function(e){this._explicitRole=e}},{key:"multiple",get:function(){return this._multiple},set:function(e){this._multiple=(0,E.coerceBooleanProperty)(e),this._syncChipsState()}},{key:"compareWith",get:function(){return this._compareWith},set:function(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(e){this.writeValue(e),this._value=e}},{key:"id",get:function(){return this._chipInput?this._chipInput.id:this._uid}},{key:"required",get:function(){var e,_,R,K;return null!==(e=null!==(_=this._required)&&void 0!==_?_:null===(R=this.ngControl)||void 0===R||null===(K=R.control)||void 0===K?void 0:K.hasValidator(g.Validators.required))&&void 0!==e&&e},set:function(e){this._required=(0,E.coerceBooleanProperty)(e),this.stateChanges.next()}},{key:"placeholder",get:function(){return this._chipInput?this._chipInput.placeholder:this._placeholder},set:function(e){this._placeholder=e,this.stateChanges.next()}},{key:"focused",get:function(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()}},{key:"empty",get:function(){return(!this._chipInput||this._chipInput.empty)&&(!this.chips||0===this.chips.length)}},{key:"shouldLabelFloat",get:function(){return!this.empty||this.focused}},{key:"disabled",get:function(){return this.ngControl?!!this.ngControl.disabled:this._disabled},set:function(e){this._disabled=(0,E.coerceBooleanProperty)(e),this._syncChipsState()}},{key:"selectable",get:function(){return this._selectable},set:function(e){this._selectable=(0,E.coerceBooleanProperty)(e),this._syncChipsState()}},{key:"tabIndex",set:function(e){this._userTabIndex=e,this._tabIndex=e}},{key:"chipSelectionChanges",get:function(){return B.T.apply(void 0,(0,c.Z)(this.chips.map(function(e){return e.selectionChange})))}},{key:"chipFocusChanges",get:function(){return B.T.apply(void 0,(0,c.Z)(this.chips.map(function(e){return e._onFocus})))}},{key:"chipBlurChanges",get:function(){return B.T.apply(void 0,(0,c.Z)(this.chips.map(function(e){return e._onBlur})))}},{key:"chipRemoveChanges",get:function(){return B.T.apply(void 0,(0,c.Z)(this.chips.map(function(e){return e.destroyed})))}},{key:"ngAfterContentInit",value:function(){var e=this;this._keyManager=new U.FocusKeyManager(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe((0,F.R)(this._destroyed)).subscribe(function(_){return e._keyManager.withHorizontalOrientation(_)}),this._keyManager.tabOut.subscribe(function(){return e._allowFocusEscape()}),this.chips.changes.pipe((0,w.O)(null),(0,F.R)(this._destroyed)).subscribe(function(){(e.disabled||!e.selectable)&&Promise.resolve().then(function(){e._syncChipsState()}),e._resetChips(),e._initializeSelection(),e._updateTabIndex(),e._updateFocusForDestroyedChips(),e.stateChanges.next()})}},{key:"ngOnInit",value:function(){this._selectionModel=new p.SelectionModel(this.multiple,void 0,!1),this.stateChanges.next()}},{key:"ngDoCheck",value:function(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))}},{key:"ngOnDestroy",value:function(){var e;null===(e=this._keyManager)||void 0===e||e.destroy(),this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()}},{key:"registerInput",value:function(e){this._chipInput=e,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",e.id)}},{key:"setDescribedByIds",value:function(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}},{key:"writeValue",value:function(e){this.chips&&this._setSelectionByValue(e,!1)}},{key:"registerOnChange",value:function(e){this._onChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e,this.stateChanges.next()}},{key:"onContainerClick",value:function(e){this._originatesFromChip(e)||this.focus()}},{key:"focus",value:function(e){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(e),this.stateChanges.next()))}},{key:"_focusInput",value:function(e){this._chipInput&&this._chipInput.focus(e)}},{key:"_keydown",value:function(e){var _=e.target;_&&_.classList.contains("mat-chip")&&(this._keyManager.onKeydown(e),this.stateChanges.next())}},{key:"_updateTabIndex",value:function(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}},{key:"_updateFocusForDestroyedChips",value:function(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){var e=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(e)}else this.focus();this._lastDestroyedChipIndex=null}},{key:"_isValidIndex",value:function(e){return e>=0&&e<this.chips.length}},{key:"_setSelectionByValue",value:function(e){var _=this,R=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this._clearSelection(),this.chips.forEach(function(W){return W.deselect()}),Array.isArray(e))e.forEach(function(W){return _._selectValue(W,R)}),this._sortValues();else{var K=this._selectValue(e,R);K&&R&&this._keyManager.setActiveItem(K)}}},{key:"_selectValue",value:function(e){var _=this,R=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],K=this.chips.find(function(W){return null!=W.value&&_._compareWith(W.value,e)});return K&&(R?K.selectViaInteraction():K.select(),this._selectionModel.select(K)),K}},{key:"_initializeSelection",value:function(){var e=this;Promise.resolve().then(function(){(e.ngControl||e._value)&&(e._setSelectionByValue(e.ngControl?e.ngControl.value:e._value,!1),e.stateChanges.next())})}},{key:"_clearSelection",value:function(e){this._selectionModel.clear(),this.chips.forEach(function(_){_!==e&&_.deselect()}),this.stateChanges.next()}},{key:"_sortValues",value:function(){var e=this;this._multiple&&(this._selectionModel.clear(),this.chips.forEach(function(_){_.selected&&e._selectionModel.select(_)}),this.stateChanges.next())}},{key:"_propagateChanges",value:function(e){var _;_=Array.isArray(this.selected)?this.selected.map(function(R){return R.value}):this.selected?this.selected.value:e,this._value=_,this.change.emit(new X(this,_)),this.valueChange.emit(_),this._onChange(_),this._changeDetectorRef.markForCheck()}},{key:"_blur",value:function(){var e=this;this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(function(){e.focused||e._markAsTouched()}):this._markAsTouched())}},{key:"_markAsTouched",value:function(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}},{key:"_allowFocusEscape",value:function(){var e=this;-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout(function(){e._tabIndex=e._userTabIndex||0,e._changeDetectorRef.markForCheck()}))}},{key:"_resetChips",value:function(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()}},{key:"_dropSubscriptions",value:function(){this._chipFocusSubscription&&(this._chipFocusSubscription.unsubscribe(),this._chipFocusSubscription=null),this._chipBlurSubscription&&(this._chipBlurSubscription.unsubscribe(),this._chipBlurSubscription=null),this._chipSelectionSubscription&&(this._chipSelectionSubscription.unsubscribe(),this._chipSelectionSubscription=null),this._chipRemoveSubscription&&(this._chipRemoveSubscription.unsubscribe(),this._chipRemoveSubscription=null)}},{key:"_listenToChipsSelection",value:function(){var e=this;this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(function(_){_.source.selected?e._selectionModel.select(_.source):e._selectionModel.deselect(_.source),e.multiple||e.chips.forEach(function(R){!e._selectionModel.isSelected(R)&&R.selected&&R.deselect()}),_.isUserInput&&e._propagateChanges()})}},{key:"_listenToChipsFocus",value:function(){var e=this;this._chipFocusSubscription=this.chipFocusChanges.subscribe(function(_){var R=e.chips.toArray().indexOf(_.chip);e._isValidIndex(R)&&e._keyManager.updateActiveItem(R),e.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(function(){e._blur(),e.stateChanges.next()})}},{key:"_listenToChipsRemoved",value:function(){var e=this;this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(function(_){var R=_.chip,K=e.chips.toArray().indexOf(_.chip);e._isValidIndex(K)&&R._hasFocus&&(e._lastDestroyedChipIndex=K)})}},{key:"_originatesFromChip",value:function(e){for(var _=e.target;_&&_!==this._elementRef.nativeElement;){if(_.classList.contains("mat-chip"))return!0;_=_.parentElement}return!1}},{key:"_hasFocusedChip",value:function(){return this.chips&&this.chips.some(function(e){return e._hasFocus})}},{key:"_syncChipsState",value:function(){var e=this;this.chips&&this.chips.forEach(function(_){_._chipListDisabled=e._disabled,_._chipListMultiple=e.multiple,_.chipListSelectable=e._selectable})}}]),r}(ee);return v.\u0275fac=function(h){return new(h||v)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(C.Directionality,8),n.\u0275\u0275directiveInject(g.NgForm,8),n.\u0275\u0275directiveInject(g.FormGroupDirective,8),n.\u0275\u0275directiveInject(y.ErrorStateMatcher),n.\u0275\u0275directiveInject(g.NgControl,10))},v.\u0275cmp=n.\u0275\u0275defineComponent({type:v,selectors:[["mat-chip-list"]],contentQueries:function(h,r,i){var e;1&h&&n.\u0275\u0275contentQuery(i,z,5),2&h&&n.\u0275\u0275queryRefresh(e=n.\u0275\u0275loadQuery())&&(r.chips=e)},hostAttrs:["ngSkipHydration","",1,"mat-chip-list"],hostVars:14,hostBindings:function(h,r){1&h&&n.\u0275\u0275listener("focus",function(){return r.focus()})("blur",function(){return r._blur()})("keydown",function(e){return r._keydown(e)}),2&h&&(n.\u0275\u0275hostProperty("id",r._uid),n.\u0275\u0275attribute("tabindex",r.disabled?null:r._tabIndex)("aria-required",r.role?r.required:null)("aria-disabled",r.disabled.toString())("aria-invalid",r.errorState)("aria-multiselectable",r.multiple)("role",r.role)("aria-orientation",r.ariaOrientation),n.\u0275\u0275classProp("mat-chip-list-disabled",r.disabled)("mat-chip-list-invalid",r.errorState)("mat-chip-list-required",r.required))},inputs:{role:"role",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],errorStateMatcher:"errorStateMatcher",multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",ariaOrientation:["aria-orientation","ariaOrientation"],selectable:"selectable",tabIndex:"tabIndex"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[n.\u0275\u0275ProvidersFeature([{provide:A.MatLegacyFormFieldControl,useExisting:v}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:m,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(h,r){1&h&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275elementStart(0,"div",0),n.\u0275\u0275projection(1),n.\u0275\u0275elementEnd())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-chip::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}.mat-standard-chip._mat-animation-noopable{transition:none !important;animation:none !important}.mat-standard-chip .mat-chip-remove{border:none;-webkit-appearance:none;-moz-appearance:none;padding:0;background:none}.mat-standard-chip .mat-chip-remove.mat-icon,.mat-standard-chip .mat-chip-remove .mat-icon{width:18px;height:18px;font-size:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:"";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip.mat-chip-selected{outline-width:3px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden;transform:translateZ(0)}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}'],encapsulation:2,changeDetection:0}),v}(),ne=0,q=function(){var v=function(){function M(h,r){(0,d.Z)(this,M),this._elementRef=h,this.focused=!1,this._addOnBlur=!1,this.chipEnd=new n.EventEmitter,this.placeholder="",this.id="mat-chip-list-input-".concat(ne++),this._disabled=!1,this.inputElement=this._elementRef.nativeElement,this.separatorKeyCodes=r.separatorKeyCodes}return(0,a.Z)(M,[{key:"chipList",set:function(r){r&&(this._chipList=r,this._chipList.registerInput(this))}},{key:"addOnBlur",get:function(){return this._addOnBlur},set:function(r){this._addOnBlur=(0,E.coerceBooleanProperty)(r)}},{key:"disabled",get:function(){return this._disabled||this._chipList&&this._chipList.disabled},set:function(r){this._disabled=(0,E.coerceBooleanProperty)(r)}},{key:"empty",get:function(){return!this.inputElement.value}},{key:"ngOnChanges",value:function(){this._chipList.stateChanges.next()}},{key:"ngOnDestroy",value:function(){this.chipEnd.complete()}},{key:"ngAfterContentInit",value:function(){this._focusLastChipOnBackspace=this.empty}},{key:"_keydown",value:function(r){if(r){if(r.keyCode===o.TAB&&!(0,o.hasModifierKey)(r,"shiftKey")&&this._chipList._allowFocusEscape(),r.keyCode===o.BACKSPACE&&this._focusLastChipOnBackspace)return this._chipList._keyManager.setLastItemActive(),void r.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(r)}},{key:"_keyup",value:function(r){!this._focusLastChipOnBackspace&&r.keyCode===o.BACKSPACE&&this.empty&&(this._focusLastChipOnBackspace=!0,r.preventDefault())}},{key:"_blur",value:function(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipList.focused||this._chipList._blur(),this._chipList.stateChanges.next()}},{key:"_focus",value:function(){this.focused=!0,this._focusLastChipOnBackspace=this.empty,this._chipList.stateChanges.next()}},{key:"_emitChipEnd",value:function(r){!this.inputElement.value&&r&&this._chipList._keydown(r),(!r||this._isSeparatorKey(r))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),r?.preventDefault())}},{key:"_onInput",value:function(){this._chipList.stateChanges.next()}},{key:"focus",value:function(r){this.inputElement.focus(r)}},{key:"clear",value:function(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}},{key:"_isSeparatorKey",value:function(r){return!(0,o.hasModifierKey)(r)&&new Set(this.separatorKeyCodes).has(r.keyCode)}}]),M}();return v.\u0275fac=function(h){return new(h||v)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(G))},v.\u0275dir=n.\u0275\u0275defineDirective({type:v,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(h,r){1&h&&n.\u0275\u0275listener("keydown",function(e){return r._keydown(e)})("keyup",function(e){return r._keyup(e)})("blur",function(){return r._blur()})("focus",function(){return r._focus()})("input",function(){return r._onInput()}),2&h&&(n.\u0275\u0275hostProperty("id",r.id),n.\u0275\u0275attribute("disabled",r.disabled||null)("placeholder",r.placeholder||null)("aria-invalid",r._chipList&&r._chipList.ngControl?r._chipList.ngControl.invalid:null)("aria-required",r._chipList&&r._chipList.required||null))},inputs:{chipList:["matChipInputFor","chipList"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[n.\u0275\u0275NgOnChangesFeature]}),v}(),ie=function(){var v=(0,a.Z)(function M(){(0,d.Z)(this,M)});return v.\u0275fac=function(h){return new(h||v)},v.\u0275mod=n.\u0275\u0275defineNgModule({type:v}),v.\u0275inj=n.\u0275\u0275defineInjector({providers:[y.ErrorStateMatcher,{provide:G,useValue:{separatorKeyCodes:[o.ENTER]}}],imports:[y.MatCommonModule]}),v}()},44841:(D,f,t)=>{function c(l,s){(null==s||s>l.length)&&(s=l.length);for(var u=0,a=new Array(s);u<s;u++)a[u]=l[u];return a}t.d(f,{Z:()=>c})},35488:(D,f,t)=>{function c(l){if(void 0===l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}t.d(f,{Z:()=>c})},95106:(D,f,t)=>{t.d(f,{Z:()=>l});var c=t(44206);function l(s,u){var a=typeof Symbol<"u"&&s[Symbol.iterator]||s["@@iterator"];if(!a){if(Array.isArray(s)||(a=(0,c.Z)(s))||u&&s&&"number"==typeof s.length){a&&(s=a);var d=0,o=function(){};return{s:o,n:function(){return d>=s.length?{done:!0}:{done:!1,value:s[d++]}},e:function(L){throw L},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var E,n=!0,y=!1;return{s:function(){a=a.call(s)},n:function(){var L=a.next();return n=L.done,L},e:function(L){y=!0,E=L},f:function(){try{!n&&null!=a.return&&a.return()}finally{if(y)throw E}}}}},28694:(D,f,t)=>{t.d(f,{Z:()=>d});var c=t(20265),l=t(98568),s=t(43445),u=t(35488);function d(o){var n=(0,l.Z)();return function(){var O,E=(0,c.Z)(o);if(n){var L=(0,c.Z)(this).constructor;O=Reflect.construct(E,arguments,L)}else O=E.apply(this,arguments);return function a(o,n){if(n&&("object"===(0,s.Z)(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return(0,u.Z)(o)}(this,O)}}},4089:(D,f,t)=>{t.d(f,{Z:()=>s});var c=t(20265);function s(){return s=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(a,d,o){var n=function l(u,a){for(;!Object.prototype.hasOwnProperty.call(u,a)&&null!==(u=(0,c.Z)(u)););return u}(a,d);if(n){var y=Object.getOwnPropertyDescriptor(n,d);return y.get?y.get.call(arguments.length<3?a:o):y.value}},s.apply(this,arguments)}},20265:(D,f,t)=>{function c(l){return(c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(u){return u.__proto__||Object.getPrototypeOf(u)})(l)}t.d(f,{Z:()=>c})},24582:(D,f,t)=>{t.d(f,{Z:()=>l});var c=t(10006);function l(s,u){if("function"!=typeof u&&null!==u)throw new TypeError("Super expression must either be null or a function");s.prototype=Object.create(u&&u.prototype,{constructor:{value:s,writable:!0,configurable:!0}}),Object.defineProperty(s,"prototype",{writable:!1}),u&&(0,c.Z)(s,u)}},98568:(D,f,t)=>{function c(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}t.d(f,{Z:()=>c})},4826:(D,f,t)=>{function c(l){if(typeof Symbol<"u"&&null!=l[Symbol.iterator]||null!=l["@@iterator"])return Array.from(l)}t.d(f,{Z:()=>c})},10006:(D,f,t)=>{function c(l,s){return(c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,d){return a.__proto__=d,a})(l,s)}t.d(f,{Z:()=>c})},86170:(D,f,t)=>{t.d(f,{Z:()=>d});var c=t(44841),s=t(4826),u=t(44206);function d(o){return function l(o){if(Array.isArray(o))return(0,c.Z)(o)}(o)||(0,s.Z)(o)||(0,u.Z)(o)||function a(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(D,f,t)=>{t.d(f,{Z:()=>l});var c=t(44841);function l(s,u){if(s){if("string"==typeof s)return(0,c.Z)(s,u);var a=Object.prototype.toString.call(s).slice(8,-1);if("Object"===a&&s.constructor&&(a=s.constructor.name),"Map"===a||"Set"===a)return Array.from(s);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return(0,c.Z)(s,u)}}}}]); +//# sourceMappingURL=4371.5ec3b709d6088bf5.js.map \ No newline at end of file diff --git a/4371.5ec3b709d6088bf5.js.map b/4371.5ec3b709d6088bf5.js.map new file mode 100644 index 0000000..3ecaea2 --- /dev/null +++ b/4371.5ec3b709d6088bf5.js.map @@ -0,0 +1 @@ +{"version":3,"file":"4371.5ec3b709d6088bf5.js","mappings":"4cACaA,cAA0BC,GAAiB,SAACC,GAAM,OAAK,WAChEA,EAAOC,MACPA,KAAKC,KAAO,0BACZD,KAAKE,QAAU,qBACnB,CAAC,yBCAYC,EAAO,eAAPA,EAAO,SAAAC,IAAAC,OAAAF,EAAAC,GAAA,IAAAL,KAAAO,KAAAH,GAChB,SAAAA,IAAc,IAAAI,EAAAC,cAAAR,KAAAG,IACVI,EAAAR,EAAAU,KAAAT,OACKU,QAAS,EACdH,EAAKI,iBAAmB,KACxBJ,EAAKK,UAAY,GACjBL,EAAKM,WAAY,EACjBN,EAAKO,UAAW,EAChBP,EAAKQ,YAAc,KAAKR,CAC5B,CAACS,cAAAb,EAAA,EAAAc,IAAA,OAAAC,MACD,SAAKC,GACD,IAAMC,EAAU,IAAIC,EAAiBrB,KAAMA,MAC3CoB,SAAQD,SAAWA,EACZC,CACX,GAAC,CAAAH,IAAA,iBAAAC,MACD,WACI,GAAIlB,KAAKU,OACL,MAAM,IAAIb,CAElB,GAAC,CAAAoB,IAAA,OAAAC,MACD,SAAKA,GAAO,IAAAI,EAAAtB,MACRuB,OAAa,WAET,GADAD,EAAKE,kBACAF,EAAKT,UAAW,CACZS,EAAKX,mBACNW,EAAKX,iBAAmBc,MAAMC,KAAKJ,EAAKV,YAC3C,IAC2Ce,EAD3CC,KAAAC,KACsBP,EAAKX,kBAAgB,IAA5C,IAAAiB,EAAAE,MA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,SAAiCiY,EAAAhD,GAAgBjV,EACjD,CDESgY,CAAiBhY,KAAA,EAASkY,EAAAjD,GAAejV,KAAA,EAASmY,EAAAlD,GAA0BjV,IELtE,SAAAoY,IACf,UAAAvX,UAAA,uIACA,CFG8FuX,EAC9F,mDGLe,SAAAC,EAAAxD,EAAAyD,GACf,GAAAzD,EACA,qBAAAA,EAAA,SAAoC0D,EAAAtD,GAAgBJ,EAAAyD,GACpD,IAAAhhB,EAAAqf,OAAApe,UAAA+M,SAAAtP,KAAA6e,GAAA2D,MAAA,MAEA,GADA,WAAAlhB,GAAAud,EAAAiB,cAAAxe,EAAAud,EAAAiB,YAAAtgB,MACA,QAAA8B,GAAA,QAAAA,EAAA,OAAAN,MAAAC,KAAA4d,GACA,iBAAAvd,GAAA,2CAAAmhB,KAAAnhB,GAAA,SAAsFihB,EAAAtD,GAAgBJ,EAAAyD,EAAA,CACtG","names":["ObjectUnsubscribedError","createErrorClass","_super","this","name","message","Subject","_Observable","_inherits","_createSuper","_this","_classCallCheck","call","closed","currentObservers","observers","isStopped","hasError","thrownError","_createClass","key","value","operator","subject","AnonymousSubject","_this2","errorContext","_throwIfClosed","Array","from","_step","_iterator","_createForOfIteratorHelper","s","n","done","next","err","e","f","_this3","length","shift","error","_this4","complete","get","_a","subscriber","_get","_getPrototypeOf","prototype","_checkFinalizedStatuses","_innerSubscribe","_this5","EMPTY_SUBSCRIPTION","push","Subscription","arrRemove","observable","Observable","source","create","destination","_Subject","_super2","_this6","_b","subscribe","concat","_len","arguments","args","_key","concatAll","mergeAll","popScheduler","EMPTY","subscribeOn","scheduler","delay","undefined","operate","add","schedule","scheduleAsyncIterable","input","Error","executeSchedule","iterator","Symbol","asyncIterator","then","result","scheduled","isInteropObservable","scheduleObservable","innerFrom","pipe","observeOn","isArrayLike","scheduleArray","i","isPromise","schedulePromise","isAsyncIterable","isIterable","scheduleIterable","Symbol_iterator","_iterator$next","isFunction","return","isReadableStreamLike","scheduleReadableStreamLike","readableStreamLikeToAsyncGenerator","createInvalidObservableTypeError","merge","concurrent","popNumber","Infinity","sources","createOperatorSubscriber","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_next","_assertThisInitialized","_error","unsubscribe","_complete","Subscriber","map","project","thisArg","index","mergeMap","identity","resultSelector","a","b","ii","mergeInternals","onBeforeNext","expand","innerSubScheduler","additionalFinalizer","buffer","active","isComplete","checkComplete","outerNext","doInnerSub","innerComplete","innerValue","_loop","bufferedValue","startWith","values","take","count","seen","takeUntil","notifier","noop","last","arr","popResultSelector","pop","isScheduler","defaultValue","parentSubscription","work","repeat","scheduleSubscription","hasLift","lift","init","liftedSource","TypeError","_c0","MatLegacyChipSelectionChange","selected","isUserInput","MAT_LEGACY_CHIP_REMOVE","InjectionToken","MAT_LEGACY_CHIP_AVATAR","MAT_LEGACY_CHIP_TRAILING_ICON","_MatChipMixinBase","mixinTabIndex","mixinColor","mixinDisableRipple","MatChipBase","_elementRef","MatLegacyChipAvatar","ɵfac","t","ɵdir","i0","type","selectors","hostAttrs","features","provide","useExisting","MatLegacyChipTrailingIcon","MatLegacyChip","_MatChipMixinBase2","elementRef","_ngZone","platform","globalRippleOptions","_changeDetectorRef","_document","animationMode","tabIndex","_hasFocus","chipListSelectable","_chipListMultiple","_chipListDisabled","role","_selected","_selectable","_disabled","_removable","_onFocus","_onBlur","selectionChange","EventEmitter","destroyed","removed","_addHostClassName","_chipRippleTarget","createElement","classList","nativeElement","appendChild","_chipRipple","RippleRenderer","setupTriggerEvents","rippleConfig","_animationsDisabled","parseInt","disabled","disableRipple","set","coercedValue","coerceBooleanProperty","_dispatchSelectionChange","_value","textContent","selectable","toString","basicChipAttrName","element","hasAttribute","tagName","toLowerCase","emit","chip","_removeTriggerEvents","markForCheck","focus","removable","event","preventDefault","keyCode","DELETE","BACKSPACE","remove","SPACE","toggleSelected","onStable","run","i1","MAT_RIPPLE_GLOBAL_OPTIONS","DOCUMENT","ANIMATION_MODULE_TYPE","contentQueries","rf","ctx","dirIndex","_t","avatar","first","trailingIcon","removeIcon","hostVars","hostBindings","$event","_handleClick","_handleKeydown","_blur","ariaSelected","inputs","color","outputs","exportAs","MatLegacyChipRemove","_parentChip","nodeName","setAttribute","parentChip","stopPropagation","MAT_LEGACY_CHIPS_DEFAULT_OPTIONS","_MatChipListBase","mixinErrorState","_class","_defaultErrorStateMatcher","_parentForm","_parentFormGroup","ngControl","stateChanges","nextUniqueId$1","MatLegacyChipListChange","MatLegacyChipList","_MatChipListBase2","_dir","controlType","_lastDestroyedChipIndex","_destroyed","_uid","_tabIndex","_userTabIndex","_onTouched","_onChange","_multiple","_compareWith","o1","o2","ariaOrientation","change","valueChange","valueAccessor","_this$_selectionModel","_this$_selectionModel2","multiple","_selectionModel","_explicitRole","empty","_syncChipsState","fn","_initializeSelection","writeValue","_chipInput","id","_ref","_this$_required","_this$ngControl","_this$ngControl$contr","_required","control","hasValidator","Validators","placeholder","_placeholder","focused","_hasFocusedChip","chips","_toConsumableArray","_keyManager","FocusKeyManager","withWrap","withVerticalOrientation","withHomeAndEnd","withHorizontalOrientation","dir","tabOut","_allowFocusEscape","changes","Promise","resolve","_resetChips","_updateTabIndex","_updateFocusForDestroyedChips","SelectionModel","updateErrorState","_this$_keyManager","destroy","_dropSubscriptions","inputElement","ids","join","removeAttribute","_setSelectionByValue","isDisabled","_originatesFromChip","options","setFirstItemActive","_focusInput","target","contains","onKeydown","newChipIndex","Math","min","setActiveItem","_clearSelection","forEach","deselect","isArray","currentValue","_selectValue","_sortValues","correspondingChip","find","selectViaInteraction","select","_this7","skip","clear","_this8","fallbackValue","valueToEmit","_this9","setTimeout","_markAsTouched","_this10","_listenToChipsFocus","_listenToChipsSelection","_listenToChipsRemoved","_chipFocusSubscription","_chipBlurSubscription","_chipSelectionSubscription","_chipRemoveSubscription","_this11","chipSelectionChanges","isSelected","_propagateChanges","_this12","chipFocusChanges","chipIndex","toArray","indexOf","_isValidIndex","updateActiveItem","chipBlurChanges","_this13","chipRemoveChanges","currentElement","parentElement","some","_this14","i1$1","i2","i3","ɵcmp","_keydown","required","errorState","userAriaDescribedBy","errorStateMatcher","compareWith","MatLegacyFormFieldControl","ngContentSelectors","decls","vars","consts","template","styles","encapsulation","changeDetection","nextUniqueId","MatLegacyChipInput","defaultOptions","_addOnBlur","chipEnd","separatorKeyCodes","_chipList","registerInput","_focusLastChipOnBackspace","TAB","hasModifierKey","setLastItemActive","_emitChipEnd","addOnBlur","_isSeparatorKey","chipInput","Set","has","_keyup","_focus","_onInput","invalid","chipList","MatLegacyChipsModule","ɵmod","ɵinj","providers","ErrorStateMatcher","useValue","ENTER","imports","MatCommonModule","_arrayLikeToArray","len","arr2","self","ReferenceError","o","allowArrayLike","it","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","_e","normalCompletion","didErr","step","_e2","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Super","getPrototypeOf","NewTarget","constructor","Reflect","construct","apply","_possibleConstructorReturn","esm_typeof","assertThisInitialized","bind","property","receiver","base","_superPropBase","object","Object","hasOwnProperty","desc","getOwnPropertyDescriptor","setPrototypeOf","__proto__","subClass","superClass","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_iterableToArray","iter","_setPrototypeOf","p","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","slice","test"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/util/ObjectUnsubscribedError.js","./node_modules/rxjs/dist/esm/internal/Subject.js","./node_modules/rxjs/dist/esm/internal/observable/concat.js","./node_modules/rxjs/dist/esm/internal/operators/concatAll.js","./node_modules/rxjs/dist/esm/internal/observable/empty.js","./node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleAsyncIterable.js","./node_modules/rxjs/dist/esm/internal/observable/from.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduled.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleObservable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleArray.js","./node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleIterable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleReadableStreamLike.js","./node_modules/rxjs/dist/esm/internal/observable/merge.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/map.js","./node_modules/rxjs/dist/esm/internal/operators/mergeAll.js","./node_modules/rxjs/dist/esm/internal/operators/mergeMap.js","./node_modules/rxjs/dist/esm/internal/operators/mergeInternals.js","./node_modules/rxjs/dist/esm/internal/operators/observeOn.js","./node_modules/rxjs/dist/esm/internal/operators/startWith.js","./node_modules/rxjs/dist/esm/internal/operators/take.js","./node_modules/rxjs/dist/esm/internal/operators/takeUntil.js","./node_modules/rxjs/dist/esm/internal/util/args.js","./node_modules/rxjs/dist/esm/internal/util/executeSchedule.js","./node_modules/rxjs/dist/esm/internal/util/isScheduler.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/@angular/material/fesm2022/legacy-chips.mjs","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { createErrorClass } from './createErrorClass';\nexport const ObjectUnsubscribedError = createErrorClass((_super) => function ObjectUnsubscribedErrorImpl() {\n _super(this);\n this.name = 'ObjectUnsubscribedError';\n this.message = 'object unsubscribed';\n});\n","import { Observable } from './Observable';\nimport { Subscription, EMPTY_SUBSCRIPTION } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { arrRemove } from './util/arrRemove';\nimport { errorContext } from './util/errorContext';\nexport class Subject extends Observable {\n constructor() {\n super();\n this.closed = false;\n this.currentObservers = null;\n this.observers = [];\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n lift(operator) {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n }\n _throwIfClosed() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n }\n next(value) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n if (!this.currentObservers) {\n this.currentObservers = Array.from(this.observers);\n }\n for (const observer of this.currentObservers) {\n observer.next(value);\n }\n }\n });\n }\n error(err) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.hasError = this.isStopped = true;\n this.thrownError = err;\n const { observers } = this;\n while (observers.length) {\n observers.shift().error(err);\n }\n }\n });\n }\n complete() {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.isStopped = true;\n const { observers } = this;\n while (observers.length) {\n observers.shift().complete();\n }\n }\n });\n }\n unsubscribe() {\n this.isStopped = this.closed = true;\n this.observers = this.currentObservers = null;\n }\n get observed() {\n var _a;\n return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;\n }\n _trySubscribe(subscriber) {\n this._throwIfClosed();\n return super._trySubscribe(subscriber);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._checkFinalizedStatuses(subscriber);\n return this._innerSubscribe(subscriber);\n }\n _innerSubscribe(subscriber) {\n const { hasError, isStopped, observers } = this;\n if (hasError || isStopped) {\n return EMPTY_SUBSCRIPTION;\n }\n this.currentObservers = null;\n observers.push(subscriber);\n return new Subscription(() => {\n this.currentObservers = null;\n arrRemove(observers, subscriber);\n });\n }\n _checkFinalizedStatuses(subscriber) {\n const { hasError, thrownError, isStopped } = this;\n if (hasError) {\n subscriber.error(thrownError);\n }\n else if (isStopped) {\n subscriber.complete();\n }\n }\n asObservable() {\n const observable = new Observable();\n observable.source = this;\n return observable;\n }\n}\nSubject.create = (destination, source) => {\n return new AnonymousSubject(destination, source);\n};\nexport class AnonymousSubject extends Subject {\n constructor(destination, source) {\n super();\n this.destination = destination;\n this.source = source;\n }\n next(value) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);\n }\n error(err) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);\n }\n complete() {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);\n }\n _subscribe(subscriber) {\n var _a, _b;\n return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;\n }\n}\n","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}\n","import { mergeAll } from './mergeAll';\nexport function concatAll() {\n return mergeAll(1);\n}\n","import { Observable } from '../Observable';\nexport const EMPTY = new Observable((subscriber) => subscriber.complete());\nexport function empty(scheduler) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n return new Observable((subscriber) => scheduler.schedule(() => subscriber.complete()));\n}\n","import { operate } from '../util/lift';\nexport function subscribeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay));\n });\n}\n","import { Observable } from '../Observable';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleAsyncIterable(input, scheduler) {\n if (!input) {\n throw new Error('Iterable cannot be null');\n }\n return new Observable((subscriber) => {\n executeSchedule(subscriber, scheduler, () => {\n const iterator = input[Symbol.asyncIterator]();\n executeSchedule(subscriber, scheduler, () => {\n iterator.next().then((result) => {\n if (result.done) {\n subscriber.complete();\n }\n else {\n subscriber.next(result.value);\n }\n });\n }, 0, true);\n });\n });\n}\n","import { scheduled } from '../scheduled/scheduled';\nimport { innerFrom } from './innerFrom';\nexport function from(input, scheduler) {\n return scheduler ? scheduled(input, scheduler) : innerFrom(input);\n}\n","import { scheduleObservable } from './scheduleObservable';\nimport { schedulePromise } from './schedulePromise';\nimport { scheduleArray } from './scheduleArray';\nimport { scheduleIterable } from './scheduleIterable';\nimport { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isPromise } from '../util/isPromise';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isIterable } from '../util/isIterable';\nimport { isAsyncIterable } from '../util/isAsyncIterable';\nimport { createInvalidObservableTypeError } from '../util/throwUnobservableError';\nimport { isReadableStreamLike } from '../util/isReadableStreamLike';\nimport { scheduleReadableStreamLike } from './scheduleReadableStreamLike';\nexport function scheduled(input, scheduler) {\n if (input != null) {\n if (isInteropObservable(input)) {\n return scheduleObservable(input, scheduler);\n }\n if (isArrayLike(input)) {\n return scheduleArray(input, scheduler);\n }\n if (isPromise(input)) {\n return schedulePromise(input, scheduler);\n }\n if (isAsyncIterable(input)) {\n return scheduleAsyncIterable(input, scheduler);\n }\n if (isIterable(input)) {\n return scheduleIterable(input, scheduler);\n }\n if (isReadableStreamLike(input)) {\n return scheduleReadableStreamLike(input, scheduler);\n }\n }\n throw createInvalidObservableTypeError(input);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function scheduleObservable(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nexport function scheduleArray(input, scheduler) {\n return new Observable((subscriber) => {\n let i = 0;\n return scheduler.schedule(function () {\n if (i === input.length) {\n subscriber.complete();\n }\n else {\n subscriber.next(input[i++]);\n if (!subscriber.closed) {\n this.schedule();\n }\n }\n });\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function schedulePromise(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from '../util/isFunction';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleIterable(input, scheduler) {\n return new Observable((subscriber) => {\n let iterator;\n executeSchedule(subscriber, scheduler, () => {\n iterator = input[Symbol_iterator]();\n executeSchedule(subscriber, scheduler, () => {\n let value;\n let done;\n try {\n ({ value, done } = iterator.next());\n }\n catch (err) {\n subscriber.error(err);\n return;\n }\n if (done) {\n subscriber.complete();\n }\n else {\n subscriber.next(value);\n }\n }, 0, true);\n });\n return () => isFunction(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return();\n });\n}\n","import { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { readableStreamLikeToAsyncGenerator } from '../util/isReadableStreamLike';\nexport function scheduleReadableStreamLike(input, scheduler) {\n return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);\n}\n","import { mergeAll } from '../operators/mergeAll';\nimport { innerFrom } from './innerFrom';\nimport { EMPTY } from './empty';\nimport { popNumber, popScheduler } from '../util/args';\nimport { from } from './from';\nexport function merge(...args) {\n const scheduler = popScheduler(args);\n const concurrent = popNumber(args, Infinity);\n const sources = args;\n return !sources.length\n ?\n EMPTY\n : sources.length === 1\n ?\n innerFrom(sources[0])\n :\n mergeAll(concurrent)(from(sources, scheduler));\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function map(project, thisArg) {\n return operate((source, subscriber) => {\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n subscriber.next(project.call(thisArg, value, index++));\n }));\n });\n}\n","import { mergeMap } from './mergeMap';\nimport { identity } from '../util/identity';\nexport function mergeAll(concurrent = Infinity) {\n return mergeMap(identity, concurrent);\n}\n","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 }\n else if (typeof resultSelector === 'number') {\n concurrent = resultSelector;\n }\n return operate((source, subscriber) => mergeInternals(source, subscriber, project, concurrent));\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { executeSchedule } from '../util/executeSchedule';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function mergeInternals(source, subscriber, project, concurrent, onBeforeNext, expand, innerSubScheduler, additionalFinalizer) {\n const buffer = [];\n let active = 0;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => {\n if (isComplete && !buffer.length && !active) {\n subscriber.complete();\n }\n };\n const outerNext = (value) => (active < concurrent ? doInnerSub(value) : buffer.push(value));\n const doInnerSub = (value) => {\n expand && subscriber.next(value);\n active++;\n let innerComplete = false;\n innerFrom(project(value, index++)).subscribe(createOperatorSubscriber(subscriber, (innerValue) => {\n onBeforeNext === null || onBeforeNext === void 0 ? void 0 : onBeforeNext(innerValue);\n if (expand) {\n outerNext(innerValue);\n }\n else {\n subscriber.next(innerValue);\n }\n }, () => {\n innerComplete = true;\n }, undefined, () => {\n if (innerComplete) {\n try {\n active--;\n while (buffer.length && active < concurrent) {\n const bufferedValue = buffer.shift();\n if (innerSubScheduler) {\n executeSchedule(subscriber, innerSubScheduler, () => doInnerSub(bufferedValue));\n }\n else {\n doInnerSub(bufferedValue);\n }\n }\n checkComplete();\n }\n catch (err) {\n subscriber.error(err);\n }\n }\n }));\n };\n source.subscribe(createOperatorSubscriber(subscriber, outerNext, () => {\n isComplete = true;\n checkComplete();\n }));\n return () => {\n additionalFinalizer === null || additionalFinalizer === void 0 ? void 0 : additionalFinalizer();\n };\n}\n","import { executeSchedule } from '../util/executeSchedule';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function observeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, (value) => executeSchedule(subscriber, scheduler, () => subscriber.next(value), delay), () => executeSchedule(subscriber, scheduler, () => subscriber.complete(), delay), (err) => executeSchedule(subscriber, scheduler, () => subscriber.error(err), delay)));\n });\n}\n","import { concat } from '../observable/concat';\nimport { popScheduler } from '../util/args';\nimport { operate } from '../util/lift';\nexport function startWith(...values) {\n const scheduler = popScheduler(values);\n return operate((source, subscriber) => {\n (scheduler ? concat(values, source, scheduler) : concat(values, source)).subscribe(subscriber);\n });\n}\n","import { EMPTY } from '../observable/empty';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function take(count) {\n return count <= 0\n ?\n () => EMPTY\n : operate((source, subscriber) => {\n let seen = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n if (++seen <= count) {\n subscriber.next(value);\n if (count <= seen) {\n subscriber.complete();\n }\n }\n }));\n });\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { innerFrom } from '../observable/innerFrom';\nimport { noop } from '../util/noop';\nexport function takeUntil(notifier) {\n return operate((source, subscriber) => {\n innerFrom(notifier).subscribe(createOperatorSubscriber(subscriber, () => subscriber.complete(), noop));\n !subscriber.closed && source.subscribe(subscriber);\n });\n}\n","import { isFunction } from './isFunction';\nimport { isScheduler } from './isScheduler';\nfunction last(arr) {\n return arr[arr.length - 1];\n}\nexport function popResultSelector(args) {\n return isFunction(last(args)) ? args.pop() : undefined;\n}\nexport function popScheduler(args) {\n return isScheduler(last(args)) ? args.pop() : undefined;\n}\nexport function popNumber(args, defaultValue) {\n return typeof last(args) === 'number' ? args.pop() : defaultValue;\n}\n","export function executeSchedule(parentSubscription, scheduler, work, delay = 0, repeat = false) {\n const scheduleSubscription = scheduler.schedule(function () {\n work();\n if (repeat) {\n parentSubscription.add(this.schedule(null, delay));\n }\n else {\n this.unsubscribe();\n }\n }, delay);\n parentSubscription.add(scheduleSubscription);\n if (!repeat) {\n return scheduleSubscription;\n }\n}\n","import { isFunction } from './isFunction';\nexport function isScheduler(value) {\n return value && isFunction(value.schedule);\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","import { SPACE, BACKSPACE, DELETE, TAB, hasModifierKey, ENTER } from '@angular/cdk/keycodes';\nimport * as i0 from '@angular/core';\nimport { InjectionToken, Directive, EventEmitter, Optional, Inject, Attribute, ContentChild, Input, Output, Component, ViewEncapsulation, ChangeDetectionStrategy, Self, ContentChildren, NgModule } from '@angular/core';\nimport * as i3 from '@angular/material/core';\nimport { mixinTabIndex, mixinColor, mixinDisableRipple, RippleRenderer, MAT_RIPPLE_GLOBAL_OPTIONS, mixinErrorState, MatCommonModule, ErrorStateMatcher } from '@angular/material/core';\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport * as i1 from '@angular/cdk/platform';\nimport { DOCUMENT } from '@angular/common';\nimport { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';\nimport { Subject, merge } from 'rxjs';\nimport { take, takeUntil, startWith } from 'rxjs/operators';\nimport { FocusKeyManager } from '@angular/cdk/a11y';\nimport * as i1$1 from '@angular/cdk/bidi';\nimport { SelectionModel } from '@angular/cdk/collections';\nimport * as i2 from '@angular/forms';\nimport { Validators } from '@angular/forms';\nimport { MatLegacyFormFieldControl } from '@angular/material/legacy-form-field';\n\n/**\n * Event object emitted by MatChip when selected or deselected.\n * @deprecated Use `MatChipSelectionChange` from `@angular/material/chips` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyChipSelectionChange {\n constructor(\n /** Reference to the chip that emitted the event. */\n source, \n /** Whether the chip that emitted the event is selected. */\n selected, \n /** Whether the selection change was a result of a user interaction. */\n isUserInput = false) {\n this.source = source;\n this.selected = selected;\n this.isUserInput = isUserInput;\n }\n}\n/**\n * Injection token that can be used to reference instances of `MatChipRemove`. It serves as\n * alternative token to the actual `MatChipRemove` class which could cause unnecessary\n * retention of the class and its directive metadata.\n * @deprecated Use `MAT_CHIP_REMOVE` from `@angular/material/chips` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nconst MAT_LEGACY_CHIP_REMOVE = new InjectionToken('MatChipRemove');\n/**\n * Injection token that can be used to reference instances of `MatChipAvatar`. It serves as\n * alternative token to the actual `MatChipAvatar` class which could cause unnecessary\n * retention of the class and its directive metadata.\n * @deprecated Use `MAT_CHIP_AVATAR` from `@angular/material/chips` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nconst MAT_LEGACY_CHIP_AVATAR = new InjectionToken('MatChipAvatar');\n/**\n * Injection token that can be used to reference instances of `MatChipTrailingIcon`. It serves as\n * alternative token to the actual `MatChipTrailingIcon` class which could cause unnecessary\n * retention of the class and its directive metadata.\n * @deprecated Use `MAT_CHIP_TRAILING_ICON` from `@angular/material/chips` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nconst MAT_LEGACY_CHIP_TRAILING_ICON = new InjectionToken('MatChipTrailingIcon');\n// Boilerplate for applying mixins to MatChip.\n/** @docs-private */\nclass MatChipBase {\n constructor(_elementRef) {\n this._elementRef = _elementRef;\n }\n}\nconst _MatChipMixinBase = mixinTabIndex(mixinColor(mixinDisableRipple(MatChipBase), 'primary'), -1);\n/**\n * Dummy directive to add CSS class to chip avatar.\n * @docs-private\n * @deprecated Use `MatChipAvatar` from `@angular/material/chips` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyChipAvatar {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyChipAvatar, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyChipAvatar, selector: \"mat-chip-avatar, [matChipAvatar]\", host: { classAttribute: \"mat-chip-avatar\" }, providers: [{ provide: MAT_LEGACY_CHIP_AVATAR, useExisting: MatLegacyChipAvatar }], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyChipAvatar, decorators: [{\n type: Directive,\n args: [{\n selector: 'mat-chip-avatar, [matChipAvatar]',\n host: { 'class': 'mat-chip-avatar' },\n providers: [{ provide: MAT_LEGACY_CHIP_AVATAR, useExisting: MatLegacyChipAvatar }],\n }]\n }] });\n/**\n * Dummy directive to add CSS class to chip trailing icon.\n * @docs-private\n * @deprecated Use `MatChipTrailingIcon` from `@angular/material/chips` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyChipTrailingIcon {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyChipTrailingIcon, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyChipTrailingIcon, selector: \"mat-chip-trailing-icon, [matChipTrailingIcon]\", host: { classAttribute: \"mat-chip-trailing-icon\" }, providers: [{ provide: MAT_LEGACY_CHIP_TRAILING_ICON, useExisting: MatLegacyChipTrailingIcon }], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyChipTrailingIcon, decorators: [{\n type: Directive,\n args: [{\n selector: 'mat-chip-trailing-icon, [matChipTrailingIcon]',\n host: { 'class': 'mat-chip-trailing-icon' },\n providers: [{ provide: MAT_LEGACY_CHIP_TRAILING_ICON, useExisting: MatLegacyChipTrailingIcon }],\n }]\n }] });\n/**\n * Material Design styled chip directive. Used inside the MatChipList component.\n * @deprecated Use `MatChip` from `@angular/material/chips` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyChip extends _MatChipMixinBase {\n /**\n * Whether ripples are disabled on interaction\n * @docs-private\n */\n get rippleDisabled() {\n return (this.disabled ||\n this.disableRipple ||\n this._animationsDisabled ||\n !!this.rippleConfig.disabled);\n }\n /** Whether the chip is selected. */\n get selected() {\n return this._selected;\n }\n set selected(value) {\n const coercedValue = coerceBooleanProperty(value);\n if (coercedValue !== this._selected) {\n this._selected = coercedValue;\n this._dispatchSelectionChange();\n }\n }\n /** The value of the chip. Defaults to the content inside `<mat-chip>` tags. */\n get value() {\n return this._value !== undefined ? this._value : this._elementRef.nativeElement.textContent;\n }\n set value(value) {\n this._value = value;\n }\n /**\n * Whether or not the chip is selectable. When a chip is not selectable,\n * changes to its selected state are always ignored. By default a chip is\n * selectable, and it becomes non-selectable if its parent chip list is\n * not selectable.\n */\n get selectable() {\n return this._selectable && this.chipListSelectable;\n }\n set selectable(value) {\n this._selectable = coerceBooleanProperty(value);\n }\n /** Whether the chip is disabled. */\n get disabled() {\n return this._chipListDisabled || this._disabled;\n }\n set disabled(value) {\n this._disabled = coerceBooleanProperty(value);\n }\n /**\n * Determines whether or not the chip displays the remove styling and emits (removed) events.\n */\n get removable() {\n return this._removable;\n }\n set removable(value) {\n this._removable = coerceBooleanProperty(value);\n }\n /** The ARIA selected applied to the chip. */\n get ariaSelected() {\n // Remove the `aria-selected` when the chip is deselected in single-selection mode, because\n // it adds noise to NVDA users where \"not selected\" will be read out for each chip.\n return this.selectable && (this._chipListMultiple || this.selected)\n ? this.selected.toString()\n : null;\n }\n constructor(elementRef, _ngZone, platform, globalRippleOptions, _changeDetectorRef, _document, animationMode, tabIndex) {\n super(elementRef);\n this._ngZone = _ngZone;\n this._changeDetectorRef = _changeDetectorRef;\n /** Whether the chip has focus. */\n this._hasFocus = false;\n /** Whether the chip list is selectable */\n this.chipListSelectable = true;\n /** Whether the chip list is in multi-selection mode. */\n this._chipListMultiple = false;\n /** Whether the chip list as a whole is disabled. */\n this._chipListDisabled = false;\n /** ARIA role that should be applied to the chip. */\n this.role = 'option';\n this._selected = false;\n this._selectable = true;\n this._disabled = false;\n this._removable = true;\n /** Emits when the chip is focused. */\n this._onFocus = new Subject();\n /** Emits when the chip is blurred. */\n this._onBlur = new Subject();\n /** Emitted when the chip is selected or deselected. */\n this.selectionChange = new EventEmitter();\n /** Emitted when the chip is destroyed. */\n this.destroyed = new EventEmitter();\n /** Emitted when a chip is to be removed. */\n this.removed = new EventEmitter();\n this._addHostClassName();\n // Dynamically create the ripple target, append it within the chip, and use it as the\n // chip's ripple target. Adding the class '.mat-chip-ripple' ensures that it will have\n // the proper styles.\n this._chipRippleTarget = _document.createElement('div');\n this._chipRippleTarget.classList.add('mat-chip-ripple');\n this._elementRef.nativeElement.appendChild(this._chipRippleTarget);\n this._chipRipple = new RippleRenderer(this, _ngZone, this._chipRippleTarget, platform);\n this._chipRipple.setupTriggerEvents(elementRef);\n this.rippleConfig = globalRippleOptions || {};\n this._animationsDisabled = animationMode === 'NoopAnimations';\n this.tabIndex = tabIndex != null ? parseInt(tabIndex) || -1 : -1;\n }\n _addHostClassName() {\n const basicChipAttrName = 'mat-basic-chip';\n const element = this._elementRef.nativeElement;\n if (element.hasAttribute(basicChipAttrName) ||\n element.tagName.toLowerCase() === basicChipAttrName) {\n element.classList.add(basicChipAttrName);\n return;\n }\n else {\n element.classList.add('mat-standard-chip');\n }\n }\n ngOnDestroy() {\n this.destroyed.emit({ chip: this });\n this._chipRipple._removeTriggerEvents();\n }\n /** Selects the chip. */\n select() {\n if (!this._selected) {\n this._selected = true;\n this._dispatchSelectionChange();\n this._changeDetectorRef.markForCheck();\n }\n }\n /** Deselects the chip. */\n deselect() {\n if (this._selected) {\n this._selected = false;\n this._dispatchSelectionChange();\n this._changeDetectorRef.markForCheck();\n }\n }\n /** Select this chip and emit selected event */\n selectViaInteraction() {\n if (!this._selected) {\n this._selected = true;\n this._dispatchSelectionChange(true);\n this._changeDetectorRef.markForCheck();\n }\n }\n /** Toggles the current selected state of this chip. */\n toggleSelected(isUserInput = false) {\n this._selected = !this.selected;\n this._dispatchSelectionChange(isUserInput);\n this._changeDetectorRef.markForCheck();\n return this.selected;\n }\n /** Allows for programmatic focusing of the chip. */\n focus() {\n if (!this._hasFocus) {\n this._elementRef.nativeElement.focus();\n this._onFocus.next({ chip: this });\n }\n this._hasFocus = true;\n }\n /**\n * Allows for programmatic removal of the chip. Called by the MatChipList when the DELETE or\n * BACKSPACE keys are pressed.\n *\n * Informs any listeners of the removal request. Does not remove the chip from the DOM.\n */\n remove() {\n if (this.removable) {\n this.removed.emit({ chip: this });\n }\n }\n /** Handles click events on the chip. */\n _handleClick(event) {\n if (this.disabled) {\n event.preventDefault();\n }\n }\n /** Handle custom key presses. */\n _handleKeydown(event) {\n if (this.disabled) {\n return;\n }\n switch (event.keyCode) {\n case DELETE:\n case BACKSPACE:\n // If we are removable, remove the focused chip\n this.remove();\n // Always prevent so page navigation does not occur\n event.preventDefault();\n break;\n case SPACE:\n // If we are selectable, toggle the focused chip\n if (this.selectable) {\n this.toggleSelected(true);\n }\n // Always prevent space from scrolling the page since the list has focus\n event.preventDefault();\n break;\n }\n }\n _blur() {\n // When animations are enabled, Angular may end up removing the chip from the DOM a little\n // earlier than usual, causing it to be blurred and throwing off the logic in the chip list\n // that moves focus not the next item. To work around the issue, we defer marking the chip\n // as not focused until the next time the zone stabilizes.\n this._ngZone.onStable.pipe(take(1)).subscribe(() => {\n this._ngZone.run(() => {\n this._hasFocus = false;\n this._onBlur.next({ chip: this });\n });\n });\n }\n _dispatchSelectionChange(isUserInput = false) {\n this.selectionChange.emit({\n source: this,\n isUserInput,\n selected: this._selected,\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyChip, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i1.Platform }, { token: MAT_RIPPLE_GLOBAL_OPTIONS, optional: true }, { token: i0.ChangeDetectorRef }, { token: DOCUMENT }, { token: ANIMATION_MODULE_TYPE, optional: true }, { token: 'tabindex', attribute: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyChip, selector: \"mat-basic-chip, [mat-basic-chip], mat-chip, [mat-chip]\", inputs: { color: \"color\", disableRipple: \"disableRipple\", tabIndex: \"tabIndex\", role: \"role\", selected: \"selected\", value: \"value\", selectable: \"selectable\", disabled: \"disabled\", removable: \"removable\" }, outputs: { selectionChange: \"selectionChange\", destroyed: \"destroyed\", removed: \"removed\" }, host: { listeners: { \"click\": \"_handleClick($event)\", \"keydown\": \"_handleKeydown($event)\", \"focus\": \"focus()\", \"blur\": \"_blur()\" }, properties: { \"attr.tabindex\": \"disabled ? null : tabIndex\", \"attr.role\": \"role\", \"class.mat-chip-selected\": \"selected\", \"class.mat-chip-with-avatar\": \"avatar\", \"class.mat-chip-with-trailing-icon\": \"trailingIcon || removeIcon\", \"class.mat-chip-disabled\": \"disabled\", \"class._mat-animation-noopable\": \"_animationsDisabled\", \"attr.disabled\": \"disabled || null\", \"attr.aria-disabled\": \"disabled.toString()\", \"attr.aria-selected\": \"ariaSelected\" }, classAttribute: \"mat-chip mat-focus-indicator\" }, queries: [{ propertyName: \"avatar\", first: true, predicate: MAT_LEGACY_CHIP_AVATAR, descendants: true }, { propertyName: \"trailingIcon\", first: true, predicate: MAT_LEGACY_CHIP_TRAILING_ICON, descendants: true }, { propertyName: \"removeIcon\", first: true, predicate: MAT_LEGACY_CHIP_REMOVE, descendants: true }], exportAs: [\"matChip\"], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyChip, decorators: [{\n type: Directive,\n args: [{\n selector: `mat-basic-chip, [mat-basic-chip], mat-chip, [mat-chip]`,\n inputs: ['color', 'disableRipple', 'tabIndex'],\n exportAs: 'matChip',\n host: {\n 'class': 'mat-chip mat-focus-indicator',\n '[attr.tabindex]': 'disabled ? null : tabIndex',\n '[attr.role]': 'role',\n '[class.mat-chip-selected]': 'selected',\n '[class.mat-chip-with-avatar]': 'avatar',\n '[class.mat-chip-with-trailing-icon]': 'trailingIcon || removeIcon',\n '[class.mat-chip-disabled]': 'disabled',\n '[class._mat-animation-noopable]': '_animationsDisabled',\n '[attr.disabled]': 'disabled || null',\n '[attr.aria-disabled]': 'disabled.toString()',\n '[attr.aria-selected]': 'ariaSelected',\n '(click)': '_handleClick($event)',\n '(keydown)': '_handleKeydown($event)',\n '(focus)': 'focus()',\n '(blur)': '_blur()',\n },\n }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i1.Platform }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_RIPPLE_GLOBAL_OPTIONS]\n }] }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }, { type: undefined, decorators: [{\n type: Attribute,\n args: ['tabindex']\n }] }]; }, propDecorators: { avatar: [{\n type: ContentChild,\n args: [MAT_LEGACY_CHIP_AVATAR]\n }], trailingIcon: [{\n type: ContentChild,\n args: [MAT_LEGACY_CHIP_TRAILING_ICON]\n }], removeIcon: [{\n type: ContentChild,\n args: [MAT_LEGACY_CHIP_REMOVE]\n }], role: [{\n type: Input\n }], selected: [{\n type: Input\n }], value: [{\n type: Input\n }], selectable: [{\n type: Input\n }], disabled: [{\n type: Input\n }], removable: [{\n type: Input\n }], selectionChange: [{\n type: Output\n }], destroyed: [{\n type: Output\n }], removed: [{\n type: Output\n }] } });\n/**\n * Applies proper (click) support and adds styling for use with the Material Design \"cancel\" icon\n * available at https://material.io/icons/#ic_cancel.\n *\n * Example:\n *\n * `<mat-chip>\n * <mat-icon matChipRemove>cancel</mat-icon>\n * </mat-chip>`\n *\n * You *may* use a custom icon, but you may need to override the `mat-chip-remove` positioning\n * styles to properly center the icon within the chip.\n *\n * @deprecated Use `MatChipRemove` from `@angular/material/chips` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyChipRemove {\n constructor(_parentChip, elementRef) {\n this._parentChip = _parentChip;\n if (elementRef.nativeElement.nodeName === 'BUTTON') {\n elementRef.nativeElement.setAttribute('type', 'button');\n }\n }\n /** Calls the parent chip's public `remove()` method if applicable. */\n _handleClick(event) {\n const parentChip = this._parentChip;\n if (parentChip.removable && !parentChip.disabled) {\n parentChip.remove();\n }\n // We need to stop event propagation because otherwise the event will bubble up to the\n // form field and cause the `onContainerClick` method to be invoked. This method would then\n // reset the focused chip that has been focused after chip removal. Usually the parent\n // the parent click listener of the `MatChip` would prevent propagation, but it can happen\n // that the chip is being removed before the event bubbles up.\n event.stopPropagation();\n event.preventDefault();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyChipRemove, deps: [{ token: MatLegacyChip }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyChipRemove, selector: \"[matChipRemove]\", host: { listeners: { \"click\": \"_handleClick($event)\" }, classAttribute: \"mat-chip-remove mat-chip-trailing-icon\" }, providers: [{ provide: MAT_LEGACY_CHIP_REMOVE, useExisting: MatLegacyChipRemove }], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyChipRemove, decorators: [{\n type: Directive,\n args: [{\n selector: '[matChipRemove]',\n host: {\n 'class': 'mat-chip-remove mat-chip-trailing-icon',\n '(click)': '_handleClick($event)',\n },\n providers: [{ provide: MAT_LEGACY_CHIP_REMOVE, useExisting: MatLegacyChipRemove }],\n }]\n }], ctorParameters: function () { return [{ type: MatLegacyChip }, { type: i0.ElementRef }]; } });\n\n/**\n * Injection token to be used to override the default options for the chips module.\n * @deprecated Use `MAT_CHIPS_DEFAULT_OPTIONS` from `@angular/material/chips` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nconst MAT_LEGACY_CHIPS_DEFAULT_OPTIONS = new InjectionToken('mat-chips-default-options');\n\n// Boilerplate for applying mixins to MatChipList.\n/** @docs-private */\nconst _MatChipListBase = mixinErrorState(class {\n constructor(_defaultErrorStateMatcher, _parentForm, _parentFormGroup, \n /**\n * Form control bound to the component.\n * Implemented as part of `MatFormFieldControl`.\n * @docs-private\n */\n ngControl) {\n this._defaultErrorStateMatcher = _defaultErrorStateMatcher;\n this._parentForm = _parentForm;\n this._parentFormGroup = _parentFormGroup;\n this.ngControl = ngControl;\n /**\n * Emits whenever the component state changes and should cause the parent\n * form-field to update. Implemented as part of `MatFormFieldControl`.\n * @docs-private\n */\n this.stateChanges = new Subject();\n }\n});\n// Increasing integer for generating unique ids for chip-list components.\nlet nextUniqueId$1 = 0;\n/**\n * Change event object that is emitted when the chip list value has changed.\n * @deprecated Use `MatChipListChange` from `@angular/material/chips` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyChipListChange {\n constructor(\n /** Chip list that emitted the event. */\n source, \n /** Value of the chip list when the event was emitted. */\n value) {\n this.source = source;\n this.value = value;\n }\n}\n/**\n * A material design chips component (named ChipList for its similarity to the List component).\n * @deprecated Use `MatChipList` from `@angular/material/chips` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyChipList extends _MatChipListBase {\n /** The array of selected chips inside chip list. */\n get selected() {\n return this.multiple ? this._selectionModel?.selected || [] : this._selectionModel?.selected[0];\n }\n /** The ARIA role applied to the chip list. */\n get role() {\n if (this._explicitRole) {\n return this._explicitRole;\n }\n return this.empty ? null : 'listbox';\n }\n set role(role) {\n this._explicitRole = role;\n }\n /** Whether the user should be allowed to select multiple chips. */\n get multiple() {\n return this._multiple;\n }\n set multiple(value) {\n this._multiple = coerceBooleanProperty(value);\n this._syncChipsState();\n }\n /**\n * A function to compare the option values with the selected values. The first argument\n * is a value from an option. The second is a value from the selection. A boolean\n * should be returned.\n */\n get compareWith() {\n return this._compareWith;\n }\n set compareWith(fn) {\n this._compareWith = fn;\n if (this._selectionModel) {\n // A different comparator means the selection could change.\n this._initializeSelection();\n }\n }\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n get value() {\n return this._value;\n }\n set value(value) {\n this.writeValue(value);\n this._value = value;\n }\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n get id() {\n return this._chipInput ? this._chipInput.id : this._uid;\n }\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n get required() {\n return this._required ?? this.ngControl?.control?.hasValidator(Validators.required) ?? false;\n }\n set required(value) {\n this._required = coerceBooleanProperty(value);\n this.stateChanges.next();\n }\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n get placeholder() {\n return this._chipInput ? this._chipInput.placeholder : this._placeholder;\n }\n set placeholder(value) {\n this._placeholder = value;\n this.stateChanges.next();\n }\n /** Whether any chips or the matChipInput inside of this chip-list has focus. */\n get focused() {\n return (this._chipInput && this._chipInput.focused) || this._hasFocusedChip();\n }\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n get empty() {\n return (!this._chipInput || this._chipInput.empty) && (!this.chips || this.chips.length === 0);\n }\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n get shouldLabelFloat() {\n return !this.empty || this.focused;\n }\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n get disabled() {\n return this.ngControl ? !!this.ngControl.disabled : this._disabled;\n }\n set disabled(value) {\n this._disabled = coerceBooleanProperty(value);\n this._syncChipsState();\n }\n /**\n * Whether or not this chip list is selectable. When a chip list is not selectable,\n * the selected states for all the chips inside the chip list are always ignored.\n */\n get selectable() {\n return this._selectable;\n }\n set selectable(value) {\n this._selectable = coerceBooleanProperty(value);\n this._syncChipsState();\n }\n set tabIndex(value) {\n this._userTabIndex = value;\n this._tabIndex = value;\n }\n /** Combined stream of all of the child chips' selection change events. */\n get chipSelectionChanges() {\n return merge(...this.chips.map(chip => chip.selectionChange));\n }\n /** Combined stream of all of the child chips' focus change events. */\n get chipFocusChanges() {\n return merge(...this.chips.map(chip => chip._onFocus));\n }\n /** Combined stream of all of the child chips' blur change events. */\n get chipBlurChanges() {\n return merge(...this.chips.map(chip => chip._onBlur));\n }\n /** Combined stream of all of the child chips' remove change events. */\n get chipRemoveChanges() {\n return merge(...this.chips.map(chip => chip.destroyed));\n }\n constructor(_elementRef, _changeDetectorRef, _dir, _parentForm, _parentFormGroup, _defaultErrorStateMatcher, ngControl) {\n super(_defaultErrorStateMatcher, _parentForm, _parentFormGroup, ngControl);\n this._elementRef = _elementRef;\n this._changeDetectorRef = _changeDetectorRef;\n this._dir = _dir;\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n this.controlType = 'mat-chip-list';\n /**\n * When a chip is destroyed, we store the index of the destroyed chip until the chips\n * query list notifies about the update. This is necessary because we cannot determine an\n * appropriate chip that should receive focus until the array of chips updated completely.\n */\n this._lastDestroyedChipIndex = null;\n /** Subject that emits when the component has been destroyed. */\n this._destroyed = new Subject();\n /** Uid of the chip list */\n this._uid = `mat-chip-list-${nextUniqueId$1++}`;\n /** Tab index for the chip list. */\n this._tabIndex = 0;\n /**\n * User defined tab index.\n * When it is not null, use user defined tab index. Otherwise use _tabIndex\n */\n this._userTabIndex = null;\n /** Function when touched */\n this._onTouched = () => { };\n /** Function when changed */\n this._onChange = () => { };\n this._multiple = false;\n this._compareWith = (o1, o2) => o1 === o2;\n this._disabled = false;\n /** Orientation of the chip list. */\n this.ariaOrientation = 'horizontal';\n this._selectable = true;\n /** Event emitted when the selected chip list value has been changed by the user. */\n this.change = new EventEmitter();\n /**\n * Event that emits whenever the raw value of the chip-list changes. This is here primarily\n * to facilitate the two-way binding for the `value` input.\n * @docs-private\n */\n this.valueChange = new EventEmitter();\n if (this.ngControl) {\n this.ngControl.valueAccessor = this;\n }\n }\n ngAfterContentInit() {\n this._keyManager = new FocusKeyManager(this.chips)\n .withWrap()\n .withVerticalOrientation()\n .withHomeAndEnd()\n .withHorizontalOrientation(this._dir ? this._dir.value : 'ltr');\n if (this._dir) {\n this._dir.change\n .pipe(takeUntil(this._destroyed))\n .subscribe(dir => this._keyManager.withHorizontalOrientation(dir));\n }\n this._keyManager.tabOut.subscribe(() => this._allowFocusEscape());\n // When the list changes, re-subscribe\n this.chips.changes.pipe(startWith(null), takeUntil(this._destroyed)).subscribe(() => {\n if (this.disabled || !this.selectable) {\n // Since this happens after the content has been\n // checked, we need to defer it to the next tick.\n Promise.resolve().then(() => {\n this._syncChipsState();\n });\n }\n this._resetChips();\n // Reset chips selected/deselected status\n this._initializeSelection();\n // Check to see if we need to update our tab index\n this._updateTabIndex();\n // Check to see if we have a destroyed chip and need to refocus\n this._updateFocusForDestroyedChips();\n this.stateChanges.next();\n });\n }\n ngOnInit() {\n this._selectionModel = new SelectionModel(this.multiple, undefined, false);\n this.stateChanges.next();\n }\n ngDoCheck() {\n if (this.ngControl) {\n // We need to re-evaluate this on every change detection cycle, because there are some\n // error triggers that we can't subscribe to (e.g. parent form submissions). This means\n // that whatever logic is in here has to be super lean or we risk destroying the performance.\n this.updateErrorState();\n if (this.ngControl.disabled !== this._disabled) {\n this.disabled = !!this.ngControl.disabled;\n }\n }\n }\n ngOnDestroy() {\n this._keyManager?.destroy();\n this._destroyed.next();\n this._destroyed.complete();\n this.stateChanges.complete();\n this._dropSubscriptions();\n }\n /** Associates an HTML input element with this chip list. */\n registerInput(inputElement) {\n this._chipInput = inputElement;\n // We use this attribute to match the chip list to its input in test harnesses.\n // Set the attribute directly here to avoid \"changed after checked\" errors.\n this._elementRef.nativeElement.setAttribute('data-mat-chip-input', inputElement.id);\n }\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n setDescribedByIds(ids) {\n if (ids.length) {\n this._elementRef.nativeElement.setAttribute('aria-describedby', ids.join(' '));\n }\n else {\n this._elementRef.nativeElement.removeAttribute('aria-describedby');\n }\n }\n // Implemented as part of ControlValueAccessor.\n writeValue(value) {\n if (this.chips) {\n this._setSelectionByValue(value, false);\n }\n }\n // Implemented as part of ControlValueAccessor.\n registerOnChange(fn) {\n this._onChange = fn;\n }\n // Implemented as part of ControlValueAccessor.\n registerOnTouched(fn) {\n this._onTouched = fn;\n }\n // Implemented as part of ControlValueAccessor.\n setDisabledState(isDisabled) {\n this.disabled = isDisabled;\n this.stateChanges.next();\n }\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n onContainerClick(event) {\n if (!this._originatesFromChip(event)) {\n this.focus();\n }\n }\n /**\n * Focuses the first non-disabled chip in this chip list, or the associated input when there\n * are no eligible chips.\n */\n focus(options) {\n if (this.disabled) {\n return;\n }\n // TODO: ARIA says this should focus the first `selected` chip if any are selected.\n // Focus on first element if there's no chipInput inside chip-list\n if (this._chipInput && this._chipInput.focused) {\n // do nothing\n }\n else if (this.chips.length > 0) {\n this._keyManager.setFirstItemActive();\n this.stateChanges.next();\n }\n else {\n this._focusInput(options);\n this.stateChanges.next();\n }\n }\n /** Attempt to focus an input if we have one. */\n _focusInput(options) {\n if (this._chipInput) {\n this._chipInput.focus(options);\n }\n }\n /**\n * Pass events to the keyboard manager. Available here for tests.\n */\n _keydown(event) {\n const target = event.target;\n if (target && target.classList.contains('mat-chip')) {\n this._keyManager.onKeydown(event);\n this.stateChanges.next();\n }\n }\n /**\n * Check the tab index as you should not be allowed to focus an empty list.\n */\n _updateTabIndex() {\n // If we have 0 chips, we should not allow keyboard focus\n this._tabIndex = this._userTabIndex || (this.chips.length === 0 ? -1 : 0);\n }\n /**\n * If the amount of chips changed, we need to update the\n * key manager state and focus the next closest chip.\n */\n _updateFocusForDestroyedChips() {\n // Move focus to the closest chip. If no other chips remain, focus the chip-list itself.\n if (this._lastDestroyedChipIndex != null) {\n if (this.chips.length) {\n const newChipIndex = Math.min(this._lastDestroyedChipIndex, this.chips.length - 1);\n this._keyManager.setActiveItem(newChipIndex);\n }\n else {\n this.focus();\n }\n }\n this._lastDestroyedChipIndex = null;\n }\n /**\n * Utility to ensure all indexes are valid.\n *\n * @param index The index to be checked.\n * @returns True if the index is valid for our list of chips.\n */\n _isValidIndex(index) {\n return index >= 0 && index < this.chips.length;\n }\n _setSelectionByValue(value, isUserInput = true) {\n this._clearSelection();\n this.chips.forEach(chip => chip.deselect());\n if (Array.isArray(value)) {\n value.forEach(currentValue => this._selectValue(currentValue, isUserInput));\n this._sortValues();\n }\n else {\n const correspondingChip = this._selectValue(value, isUserInput);\n // Shift focus to the active item. Note that we shouldn't do this in multiple\n // mode, because we don't know what chip the user interacted with last.\n if (correspondingChip) {\n if (isUserInput) {\n this._keyManager.setActiveItem(correspondingChip);\n }\n }\n }\n }\n /**\n * Finds and selects the chip based on its value.\n * @returns Chip that has the corresponding value.\n */\n _selectValue(value, isUserInput = true) {\n const correspondingChip = this.chips.find(chip => {\n return chip.value != null && this._compareWith(chip.value, value);\n });\n if (correspondingChip) {\n isUserInput ? correspondingChip.selectViaInteraction() : correspondingChip.select();\n this._selectionModel.select(correspondingChip);\n }\n return correspondingChip;\n }\n _initializeSelection() {\n // Defer setting the value in order to avoid the \"Expression\n // has changed after it was checked\" errors from Angular.\n Promise.resolve().then(() => {\n if (this.ngControl || this._value) {\n this._setSelectionByValue(this.ngControl ? this.ngControl.value : this._value, false);\n this.stateChanges.next();\n }\n });\n }\n /**\n * Deselects every chip in the list.\n * @param skip Chip that should not be deselected.\n */\n _clearSelection(skip) {\n this._selectionModel.clear();\n this.chips.forEach(chip => {\n if (chip !== skip) {\n chip.deselect();\n }\n });\n this.stateChanges.next();\n }\n /**\n * Sorts the model values, ensuring that they keep the same\n * order that they have in the panel.\n */\n _sortValues() {\n if (this._multiple) {\n this._selectionModel.clear();\n this.chips.forEach(chip => {\n if (chip.selected) {\n this._selectionModel.select(chip);\n }\n });\n this.stateChanges.next();\n }\n }\n /** Emits change event to set the model value. */\n _propagateChanges(fallbackValue) {\n let valueToEmit = null;\n if (Array.isArray(this.selected)) {\n valueToEmit = this.selected.map(chip => chip.value);\n }\n else {\n valueToEmit = this.selected ? this.selected.value : fallbackValue;\n }\n this._value = valueToEmit;\n this.change.emit(new MatLegacyChipListChange(this, valueToEmit));\n this.valueChange.emit(valueToEmit);\n this._onChange(valueToEmit);\n this._changeDetectorRef.markForCheck();\n }\n /** When blurred, mark the field as touched when focus moved outside the chip list. */\n _blur() {\n if (!this._hasFocusedChip()) {\n this._keyManager.setActiveItem(-1);\n }\n if (!this.disabled) {\n if (this._chipInput) {\n // If there's a chip input, we should check whether the focus moved to chip input.\n // If the focus is not moved to chip input, mark the field as touched. If the focus moved\n // to chip input, do nothing.\n // Timeout is needed to wait for the focus() event trigger on chip input.\n setTimeout(() => {\n if (!this.focused) {\n this._markAsTouched();\n }\n });\n }\n else {\n // If there's no chip input, then mark the field as touched.\n this._markAsTouched();\n }\n }\n }\n /** Mark the field as touched */\n _markAsTouched() {\n this._onTouched();\n this._changeDetectorRef.markForCheck();\n this.stateChanges.next();\n }\n /**\n * Removes the `tabindex` from the chip list and resets it back afterwards, allowing the\n * user to tab out of it. This prevents the list from capturing focus and redirecting\n * it back to the first chip, creating a focus trap, if it user tries to tab away.\n */\n _allowFocusEscape() {\n if (this._tabIndex !== -1) {\n this._tabIndex = -1;\n setTimeout(() => {\n this._tabIndex = this._userTabIndex || 0;\n this._changeDetectorRef.markForCheck();\n });\n }\n }\n _resetChips() {\n this._dropSubscriptions();\n this._listenToChipsFocus();\n this._listenToChipsSelection();\n this._listenToChipsRemoved();\n }\n _dropSubscriptions() {\n if (this._chipFocusSubscription) {\n this._chipFocusSubscription.unsubscribe();\n this._chipFocusSubscription = null;\n }\n if (this._chipBlurSubscription) {\n this._chipBlurSubscription.unsubscribe();\n this._chipBlurSubscription = null;\n }\n if (this._chipSelectionSubscription) {\n this._chipSelectionSubscription.unsubscribe();\n this._chipSelectionSubscription = null;\n }\n if (this._chipRemoveSubscription) {\n this._chipRemoveSubscription.unsubscribe();\n this._chipRemoveSubscription = null;\n }\n }\n /** Listens to user-generated selection events on each chip. */\n _listenToChipsSelection() {\n this._chipSelectionSubscription = this.chipSelectionChanges.subscribe(event => {\n event.source.selected\n ? this._selectionModel.select(event.source)\n : this._selectionModel.deselect(event.source);\n // For single selection chip list, make sure the deselected value is unselected.\n if (!this.multiple) {\n this.chips.forEach(chip => {\n if (!this._selectionModel.isSelected(chip) && chip.selected) {\n chip.deselect();\n }\n });\n }\n if (event.isUserInput) {\n this._propagateChanges();\n }\n });\n }\n /** Listens to user-generated selection events on each chip. */\n _listenToChipsFocus() {\n this._chipFocusSubscription = this.chipFocusChanges.subscribe(event => {\n let chipIndex = this.chips.toArray().indexOf(event.chip);\n if (this._isValidIndex(chipIndex)) {\n this._keyManager.updateActiveItem(chipIndex);\n }\n this.stateChanges.next();\n });\n this._chipBlurSubscription = this.chipBlurChanges.subscribe(() => {\n this._blur();\n this.stateChanges.next();\n });\n }\n _listenToChipsRemoved() {\n this._chipRemoveSubscription = this.chipRemoveChanges.subscribe(event => {\n const chip = event.chip;\n const chipIndex = this.chips.toArray().indexOf(event.chip);\n // In case the chip that will be removed is currently focused, we temporarily store\n // the index in order to be able to determine an appropriate sibling chip that will\n // receive focus.\n if (this._isValidIndex(chipIndex) && chip._hasFocus) {\n this._lastDestroyedChipIndex = chipIndex;\n }\n });\n }\n /** Checks whether an event comes from inside a chip element. */\n _originatesFromChip(event) {\n let currentElement = event.target;\n while (currentElement && currentElement !== this._elementRef.nativeElement) {\n if (currentElement.classList.contains('mat-chip')) {\n return true;\n }\n currentElement = currentElement.parentElement;\n }\n return false;\n }\n /** Checks whether any of the chips is focused. */\n _hasFocusedChip() {\n return this.chips && this.chips.some(chip => chip._hasFocus);\n }\n /** Syncs the list's state with the individual chips. */\n _syncChipsState() {\n if (this.chips) {\n this.chips.forEach(chip => {\n chip._chipListDisabled = this._disabled;\n chip._chipListMultiple = this.multiple;\n chip.chipListSelectable = this._selectable;\n });\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyChipList, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1$1.Directionality, optional: true }, { token: i2.NgForm, optional: true }, { token: i2.FormGroupDirective, optional: true }, { token: i3.ErrorStateMatcher }, { token: i2.NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyChipList, selector: \"mat-chip-list\", inputs: { role: \"role\", userAriaDescribedBy: [\"aria-describedby\", \"userAriaDescribedBy\"], errorStateMatcher: \"errorStateMatcher\", multiple: \"multiple\", compareWith: \"compareWith\", value: \"value\", required: \"required\", placeholder: \"placeholder\", disabled: \"disabled\", ariaOrientation: [\"aria-orientation\", \"ariaOrientation\"], selectable: \"selectable\", tabIndex: \"tabIndex\" }, outputs: { change: \"change\", valueChange: \"valueChange\" }, host: { attributes: { \"ngSkipHydration\": \"\" }, listeners: { \"focus\": \"focus()\", \"blur\": \"_blur()\", \"keydown\": \"_keydown($event)\" }, properties: { \"attr.tabindex\": \"disabled ? null : _tabIndex\", \"attr.aria-required\": \"role ? required : null\", \"attr.aria-disabled\": \"disabled.toString()\", \"attr.aria-invalid\": \"errorState\", \"attr.aria-multiselectable\": \"multiple\", \"attr.role\": \"role\", \"class.mat-chip-list-disabled\": \"disabled\", \"class.mat-chip-list-invalid\": \"errorState\", \"class.mat-chip-list-required\": \"required\", \"attr.aria-orientation\": \"ariaOrientation\", \"id\": \"_uid\" }, classAttribute: \"mat-chip-list\" }, providers: [{ provide: MatLegacyFormFieldControl, useExisting: MatLegacyChipList }], queries: [{ propertyName: \"chips\", predicate: MatLegacyChip, descendants: true }], exportAs: [\"matChipList\"], usesInheritance: true, ngImport: i0, template: `<div class=\"mat-chip-list-wrapper\"><ng-content></ng-content></div>`, isInline: true, styles: [\".mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-chip::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}.mat-standard-chip._mat-animation-noopable{transition:none !important;animation:none !important}.mat-standard-chip .mat-chip-remove{border:none;-webkit-appearance:none;-moz-appearance:none;padding:0;background:none}.mat-standard-chip .mat-chip-remove.mat-icon,.mat-standard-chip .mat-chip-remove .mat-icon{width:18px;height:18px;font-size:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:\\\"\\\";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip.mat-chip-selected{outline-width:3px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden;transform:translateZ(0)}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyChipList, decorators: [{\n type: Component,\n args: [{ selector: 'mat-chip-list', template: `<div class=\"mat-chip-list-wrapper\"><ng-content></ng-content></div>`, exportAs: 'matChipList', host: {\n '[attr.tabindex]': 'disabled ? null : _tabIndex',\n '[attr.aria-required]': 'role ? required : null',\n '[attr.aria-disabled]': 'disabled.toString()',\n '[attr.aria-invalid]': 'errorState',\n '[attr.aria-multiselectable]': 'multiple',\n '[attr.role]': 'role',\n '[class.mat-chip-list-disabled]': 'disabled',\n '[class.mat-chip-list-invalid]': 'errorState',\n '[class.mat-chip-list-required]': 'required',\n '[attr.aria-orientation]': 'ariaOrientation',\n 'class': 'mat-chip-list',\n '(focus)': 'focus()',\n '(blur)': '_blur()',\n '(keydown)': '_keydown($event)',\n '[id]': '_uid',\n 'ngSkipHydration': '',\n }, providers: [{ provide: MatLegacyFormFieldControl, useExisting: MatLegacyChipList }], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: [\".mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-chip::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}.mat-standard-chip._mat-animation-noopable{transition:none !important;animation:none !important}.mat-standard-chip .mat-chip-remove{border:none;-webkit-appearance:none;-moz-appearance:none;padding:0;background:none}.mat-standard-chip .mat-chip-remove.mat-icon,.mat-standard-chip .mat-chip-remove .mat-icon{width:18px;height:18px;font-size:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:\\\"\\\";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip.mat-chip-selected{outline-width:3px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden;transform:translateZ(0)}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$1.Directionality, decorators: [{\n type: Optional\n }] }, { type: i2.NgForm, decorators: [{\n type: Optional\n }] }, { type: i2.FormGroupDirective, decorators: [{\n type: Optional\n }] }, { type: i3.ErrorStateMatcher }, { type: i2.NgControl, decorators: [{\n type: Optional\n }, {\n type: Self\n }] }]; }, propDecorators: { role: [{\n type: Input\n }], userAriaDescribedBy: [{\n type: Input,\n args: ['aria-describedby']\n }], errorStateMatcher: [{\n type: Input\n }], multiple: [{\n type: Input\n }], compareWith: [{\n type: Input\n }], value: [{\n type: Input\n }], required: [{\n type: Input\n }], placeholder: [{\n type: Input\n }], disabled: [{\n type: Input\n }], ariaOrientation: [{\n type: Input,\n args: ['aria-orientation']\n }], selectable: [{\n type: Input\n }], tabIndex: [{\n type: Input\n }], change: [{\n type: Output\n }], valueChange: [{\n type: Output\n }], chips: [{\n type: ContentChildren,\n args: [MatLegacyChip, {\n // We need to use `descendants: true`, because Ivy will no longer match\n // indirect descendants if it's left as false.\n descendants: true,\n }]\n }] } });\n\n// Increasing integer for generating unique ids.\nlet nextUniqueId = 0;\n/**\n * Directive that adds chip-specific behaviors to an input element inside `<mat-form-field>`.\n * May be placed inside or outside of an `<mat-chip-list>`.\n * @deprecated Use `MatChipInput` from `@angular/material/chips` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyChipInput {\n /** Register input for chip list */\n set chipList(value) {\n if (value) {\n this._chipList = value;\n this._chipList.registerInput(this);\n }\n }\n /**\n * Whether or not the chipEnd event will be emitted when the input is blurred.\n */\n get addOnBlur() {\n return this._addOnBlur;\n }\n set addOnBlur(value) {\n this._addOnBlur = coerceBooleanProperty(value);\n }\n /** Whether the input is disabled. */\n get disabled() {\n return this._disabled || (this._chipList && this._chipList.disabled);\n }\n set disabled(value) {\n this._disabled = coerceBooleanProperty(value);\n }\n /** Whether the input is empty. */\n get empty() {\n return !this.inputElement.value;\n }\n constructor(_elementRef, defaultOptions) {\n this._elementRef = _elementRef;\n /** Whether the control is focused. */\n this.focused = false;\n this._addOnBlur = false;\n /** Emitted when a chip is to be added. */\n this.chipEnd = new EventEmitter();\n /** The input's placeholder text. */\n this.placeholder = '';\n /** Unique id for the input. */\n this.id = `mat-chip-list-input-${nextUniqueId++}`;\n this._disabled = false;\n this.inputElement = this._elementRef.nativeElement;\n this.separatorKeyCodes = defaultOptions.separatorKeyCodes;\n }\n ngOnChanges() {\n this._chipList.stateChanges.next();\n }\n ngOnDestroy() {\n this.chipEnd.complete();\n }\n ngAfterContentInit() {\n this._focusLastChipOnBackspace = this.empty;\n }\n /** Utility method to make host definition/tests more clear. */\n _keydown(event) {\n if (event) {\n // Allow the user's focus to escape when they're tabbing forward. Note that we don't\n // want to do this when going backwards, because focus should go back to the first chip.\n if (event.keyCode === TAB && !hasModifierKey(event, 'shiftKey')) {\n this._chipList._allowFocusEscape();\n }\n // To prevent the user from accidentally deleting chips when pressing BACKSPACE continuously,\n // We focus the last chip on backspace only after the user has released the backspace button,\n // and the input is empty (see behaviour in _keyup)\n if (event.keyCode === BACKSPACE && this._focusLastChipOnBackspace) {\n this._chipList._keyManager.setLastItemActive();\n event.preventDefault();\n return;\n }\n else {\n this._focusLastChipOnBackspace = false;\n }\n }\n this._emitChipEnd(event);\n }\n /**\n * Pass events to the keyboard manager. Available here for tests.\n */\n _keyup(event) {\n // Allow user to move focus to chips next time he presses backspace\n if (!this._focusLastChipOnBackspace && event.keyCode === BACKSPACE && this.empty) {\n this._focusLastChipOnBackspace = true;\n event.preventDefault();\n }\n }\n /** Checks to see if the blur should emit the (chipEnd) event. */\n _blur() {\n if (this.addOnBlur) {\n this._emitChipEnd();\n }\n this.focused = false;\n // Blur the chip list if it is not focused\n if (!this._chipList.focused) {\n this._chipList._blur();\n }\n this._chipList.stateChanges.next();\n }\n _focus() {\n this.focused = true;\n this._focusLastChipOnBackspace = this.empty;\n this._chipList.stateChanges.next();\n }\n /** Checks to see if the (chipEnd) event needs to be emitted. */\n _emitChipEnd(event) {\n if (!this.inputElement.value && !!event) {\n this._chipList._keydown(event);\n }\n if (!event || this._isSeparatorKey(event)) {\n this.chipEnd.emit({\n input: this.inputElement,\n value: this.inputElement.value,\n chipInput: this,\n });\n event?.preventDefault();\n }\n }\n _onInput() {\n // Let chip list know whenever the value changes.\n this._chipList.stateChanges.next();\n }\n /** Focuses the input. */\n focus(options) {\n this.inputElement.focus(options);\n }\n /** Clears the input */\n clear() {\n this.inputElement.value = '';\n this._focusLastChipOnBackspace = true;\n }\n /** Checks whether a keycode is one of the configured separators. */\n _isSeparatorKey(event) {\n return !hasModifierKey(event) && new Set(this.separatorKeyCodes).has(event.keyCode);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyChipInput, deps: [{ token: i0.ElementRef }, { token: MAT_LEGACY_CHIPS_DEFAULT_OPTIONS }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyChipInput, selector: \"input[matChipInputFor]\", inputs: { chipList: [\"matChipInputFor\", \"chipList\"], addOnBlur: [\"matChipInputAddOnBlur\", \"addOnBlur\"], separatorKeyCodes: [\"matChipInputSeparatorKeyCodes\", \"separatorKeyCodes\"], placeholder: \"placeholder\", id: \"id\", disabled: \"disabled\" }, outputs: { chipEnd: \"matChipInputTokenEnd\" }, host: { listeners: { \"keydown\": \"_keydown($event)\", \"keyup\": \"_keyup($event)\", \"blur\": \"_blur()\", \"focus\": \"_focus()\", \"input\": \"_onInput()\" }, properties: { \"id\": \"id\", \"attr.disabled\": \"disabled || null\", \"attr.placeholder\": \"placeholder || null\", \"attr.aria-invalid\": \"_chipList && _chipList.ngControl ? _chipList.ngControl.invalid : null\", \"attr.aria-required\": \"_chipList && _chipList.required || null\" }, classAttribute: \"mat-chip-input mat-input-element\" }, exportAs: [\"matChipInput\", \"matChipInputFor\"], usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyChipInput, decorators: [{\n type: Directive,\n args: [{\n selector: 'input[matChipInputFor]',\n exportAs: 'matChipInput, matChipInputFor',\n host: {\n 'class': 'mat-chip-input mat-input-element',\n '(keydown)': '_keydown($event)',\n '(keyup)': '_keyup($event)',\n '(blur)': '_blur()',\n '(focus)': '_focus()',\n '(input)': '_onInput()',\n '[id]': 'id',\n '[attr.disabled]': 'disabled || null',\n '[attr.placeholder]': 'placeholder || null',\n '[attr.aria-invalid]': '_chipList && _chipList.ngControl ? _chipList.ngControl.invalid : null',\n '[attr.aria-required]': '_chipList && _chipList.required || null',\n },\n }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: undefined, decorators: [{\n type: Inject,\n args: [MAT_LEGACY_CHIPS_DEFAULT_OPTIONS]\n }] }]; }, propDecorators: { chipList: [{\n type: Input,\n args: ['matChipInputFor']\n }], addOnBlur: [{\n type: Input,\n args: ['matChipInputAddOnBlur']\n }], separatorKeyCodes: [{\n type: Input,\n args: ['matChipInputSeparatorKeyCodes']\n }], chipEnd: [{\n type: Output,\n args: ['matChipInputTokenEnd']\n }], placeholder: [{\n type: Input\n }], id: [{\n type: Input\n }], disabled: [{\n type: Input\n }] } });\n\nconst CHIP_DECLARATIONS = [\n MatLegacyChipList,\n MatLegacyChip,\n MatLegacyChipInput,\n MatLegacyChipRemove,\n MatLegacyChipAvatar,\n MatLegacyChipTrailingIcon,\n];\n/**\n * @deprecated Use `MatChipsModule` from `@angular/material/chips` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyChipsModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyChipsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyChipsModule, declarations: [MatLegacyChipList,\n MatLegacyChip,\n MatLegacyChipInput,\n MatLegacyChipRemove,\n MatLegacyChipAvatar,\n MatLegacyChipTrailingIcon], imports: [MatCommonModule], exports: [MatLegacyChipList,\n MatLegacyChip,\n MatLegacyChipInput,\n MatLegacyChipRemove,\n MatLegacyChipAvatar,\n MatLegacyChipTrailingIcon] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyChipsModule, providers: [\n ErrorStateMatcher,\n {\n provide: MAT_LEGACY_CHIPS_DEFAULT_OPTIONS,\n useValue: {\n separatorKeyCodes: [ENTER],\n },\n },\n ], imports: [MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyChipsModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [MatCommonModule],\n exports: CHIP_DECLARATIONS,\n declarations: CHIP_DECLARATIONS,\n providers: [\n ErrorStateMatcher,\n {\n provide: MAT_LEGACY_CHIPS_DEFAULT_OPTIONS,\n useValue: {\n separatorKeyCodes: [ENTER],\n },\n },\n ],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MAT_LEGACY_CHIPS_DEFAULT_OPTIONS, MAT_LEGACY_CHIP_AVATAR, MAT_LEGACY_CHIP_REMOVE, MAT_LEGACY_CHIP_TRAILING_ICON, MatLegacyChip, MatLegacyChipAvatar, MatLegacyChipInput, MatLegacyChipList, MatLegacyChipListChange, MatLegacyChipRemove, MatLegacyChipSelectionChange, MatLegacyChipTrailingIcon, MatLegacyChipsModule };\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44]} \ No newline at end of file diff --git a/4387.5f60c218e7a7055f.js b/4387.5f60c218e7a7055f.js new file mode 100644 index 0000000..9a377a8 --- /dev/null +++ b/4387.5f60c218e7a7055f.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[4387],{24387:(Kr,A,_)=>{_.r(A),_.d(A,{A:()=>m,ALT:()=>R,APOSTROPHE:()=>Sr,AT_SIGN:()=>i,B:()=>w,BACKSLASH:()=>Rr,BACKSPACE:()=>M,C:()=>b,CAPS_LOCK:()=>D,CLOSE_SQUARE_BRACKET:()=>Fr,COMMA:()=>Nr,CONTEXT_MENU:()=>KE,CONTROL:()=>P,D:()=>J,DASH:()=>Mr,DELETE:()=>e,DOWN_ARROW:()=>u,E:()=>k,EIGHT:()=>o,END:()=>H,ENTER:()=>S,EQUALS:()=>_r,ESCAPE:()=>I,F:()=>j,F1:()=>cE,F10:()=>mE,F11:()=>wE,F12:()=>bE,F2:()=>lE,F3:()=>gE,F4:()=>oE,F5:()=>pE,F6:()=>yE,F7:()=>YE,F8:()=>dE,F9:()=>iE,FF_EQUALS:()=>Y,FF_MINUS:()=>zE,FF_MUTE:()=>Er,FF_SEMICOLON:()=>y,FF_VOLUME_DOWN:()=>rr,FF_VOLUME_UP:()=>vr,FIRST_MEDIA:()=>jE,FIVE:()=>c,FOUR:()=>Z,G:()=>z,H:()=>$,HOME:()=>W,I:()=>q,INSERT:()=>s,J:()=>x,K:()=>EE,L:()=>rE,LAST_MEDIA:()=>ar,LEFT_ARROW:()=>G,M:()=>aE,MAC_ENTER:()=>N,MAC_META:()=>Ir,MAC_WK_CMD_LEFT:()=>LE,MAC_WK_CMD_RIGHT:()=>CE,META:()=>IE,MUTE:()=>$E,N:()=>vE,NINE:()=>p,NUMPAD_DIVIDE:()=>ZE,NUMPAD_EIGHT:()=>sE,NUMPAD_FIVE:()=>uE,NUMPAD_FOUR:()=>QE,NUMPAD_MINUS:()=>XE,NUMPAD_MULTIPLY:()=>hE,NUMPAD_NINE:()=>eE,NUMPAD_ONE:()=>WE,NUMPAD_PERIOD:()=>fE,NUMPAD_PLUS:()=>tE,NUMPAD_SEVEN:()=>nE,NUMPAD_SIX:()=>BE,NUMPAD_THREE:()=>VE,NUMPAD_TWO:()=>GE,NUMPAD_ZERO:()=>HE,NUM_CENTER:()=>O,NUM_LOCK:()=>JE,O:()=>AE,ONE:()=>t,OPEN_SQUARE_BRACKET:()=>Pr,P:()=>_E,PAGE_DOWN:()=>K,PAGE_UP:()=>C,PAUSE:()=>F,PERIOD:()=>Ur,PLUS_SIGN:()=>B,PRINT_SCREEN:()=>n,Q:()=>NE,QUESTION_MARK:()=>d,R:()=>ME,RIGHT_ARROW:()=>Q,S:()=>UE,SCROLL_LOCK:()=>kE,SEMICOLON:()=>Ar,SEVEN:()=>g,SHIFT:()=>T,SINGLE_QUOTE:()=>Dr,SIX:()=>l,SLASH:()=>Or,SPACE:()=>L,T:()=>OE,TAB:()=>U,THREE:()=>f,TILDE:()=>Tr,TWO:()=>X,U:()=>SE,UP_ARROW:()=>V,V:()=>TE,VOLUME_DOWN:()=>qE,VOLUME_UP:()=>xE,W:()=>PE,X:()=>RE,Y:()=>FE,Z:()=>DE,ZERO:()=>h,hasModifierKey:()=>Lr});var N=3,M=8,U=9,O=12,S=13,T=16,P=17,R=18,F=19,D=20,I=27,L=32,C=33,K=34,H=35,W=36,G=37,V=38,Q=39,u=40,B=43,n=44,s=45,e=46,h=48,t=49,X=50,f=51,Z=52,c=53,l=54,g=55,o=56,p=57,y=59,Y=61,d=63,i=64,m=65,w=66,b=67,J=68,k=69,j=70,z=71,$=72,q=73,x=74,EE=75,rE=76,aE=77,vE=78,AE=79,_E=80,NE=81,ME=82,UE=83,OE=84,SE=85,TE=86,PE=87,RE=88,FE=89,DE=90,IE=91,LE=91,CE=93,KE=93,HE=96,WE=97,GE=98,VE=99,QE=100,uE=101,BE=102,nE=103,sE=104,eE=105,hE=106,tE=107,XE=109,fE=110,ZE=111,cE=112,lE=113,gE=114,oE=115,pE=116,yE=117,YE=118,dE=119,iE=120,mE=121,wE=122,bE=123,JE=144,kE=145,jE=166,zE=173,$E=173,qE=174,xE=175,Er=181,rr=182,ar=183,vr=183,Ar=186,_r=187,Nr=188,Mr=189,Ur=190,Or=191,Sr=192,Tr=192,Pr=219,Rr=220,Fr=221,Dr=222,Ir=224;function Lr(E){for(var a=arguments.length,v=new Array(a>1?a-1:0),r=1;r<a;r++)v[r-1]=arguments[r];return v.length?v.some(function(Cr){return E[Cr]}):E.altKey||E.shiftKey||E.ctrlKey||E.metaKey}}}]); +//# sourceMappingURL=4387.5f60c218e7a7055f.js.map \ No newline at end of file diff --git a/4387.5f60c218e7a7055f.js.map b/4387.5f60c218e7a7055f.js.map new file mode 100644 index 0000000..72cda54 --- /dev/null +++ b/4387.5f60c218e7a7055f.js.map @@ -0,0 +1 @@ +{"version":3,"file":"4387.5f60c218e7a7055f.js","mappings":"8uDAAA,IAAMA,EAAY,EACZC,EAAY,EACZC,EAAM,EACNC,EAAa,GACbC,EAAQ,GACRC,EAAQ,GACRC,EAAU,GACVC,EAAM,GACNC,EAAQ,GACRC,EAAY,GACZC,EAAS,GACTC,EAAQ,GACRC,EAAU,GACVC,EAAY,GACZC,EAAM,GACNC,EAAO,GACPC,EAAa,GACbC,EAAW,GACXC,EAAc,GACdC,EAAa,GACbC,EAAY,GACZC,EAAe,GACfC,EAAS,GACTC,EAAS,GACTC,EAAO,GACPC,EAAM,GACNC,EAAM,GACNC,EAAQ,GACRC,EAAO,GACPC,EAAO,GACPC,EAAM,GACNC,EAAQ,GACRC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I,GACvC,OAAIF,EAAUD,OACHC,EAAUG,KAAK,SAAAC,IAAQ,OAAIR,EAAMQ,GAAS,GAE9CR,EAAMS,QAAUT,EAAMU,UAAYV,EAAMW,SAAWX,EAAMY,OACpE","names":["MAC_ENTER","BACKSPACE","TAB","NUM_CENTER","ENTER","SHIFT","CONTROL","ALT","PAUSE","CAPS_LOCK","ESCAPE","SPACE","PAGE_UP","PAGE_DOWN","END","HOME","LEFT_ARROW","UP_ARROW","RIGHT_ARROW","DOWN_ARROW","PLUS_SIGN","PRINT_SCREEN","INSERT","DELETE","ZERO","ONE","TWO","THREE","FOUR","FIVE","SIX","SEVEN","EIGHT","NINE","FF_SEMICOLON","FF_EQUALS","QUESTION_MARK","AT_SIGN","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","META","MAC_WK_CMD_LEFT","MAC_WK_CMD_RIGHT","CONTEXT_MENU","NUMPAD_ZERO","NUMPAD_ONE","NUMPAD_TWO","NUMPAD_THREE","NUMPAD_FOUR","NUMPAD_FIVE","NUMPAD_SIX","NUMPAD_SEVEN","NUMPAD_EIGHT","NUMPAD_NINE","NUMPAD_MULTIPLY","NUMPAD_PLUS","NUMPAD_MINUS","NUMPAD_PERIOD","NUMPAD_DIVIDE","F1","F2","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12","NUM_LOCK","SCROLL_LOCK","FIRST_MEDIA","FF_MINUS","MUTE","VOLUME_DOWN","VOLUME_UP","FF_MUTE","FF_VOLUME_DOWN","LAST_MEDIA","FF_VOLUME_UP","SEMICOLON","EQUALS","COMMA","DASH","PERIOD","SLASH","APOSTROPHE","TILDE","OPEN_SQUARE_BRACKET","BACKSLASH","CLOSE_SQUARE_BRACKET","SINGLE_QUOTE","MAC_META","hasModifierKey","event","_len","arguments","length","modifiers","Array","_key","some","modifier","altKey","shiftKey","ctrlKey","metaKey"],"sourceRoot":"webpack:///","sources":["./node_modules/@angular/cdk/fesm2022/keycodes.mjs"],"sourcesContent":["const MAC_ENTER = 3;\nconst BACKSPACE = 8;\nconst TAB = 9;\nconst NUM_CENTER = 12;\nconst ENTER = 13;\nconst SHIFT = 16;\nconst CONTROL = 17;\nconst ALT = 18;\nconst PAUSE = 19;\nconst CAPS_LOCK = 20;\nconst ESCAPE = 27;\nconst SPACE = 32;\nconst PAGE_UP = 33;\nconst PAGE_DOWN = 34;\nconst END = 35;\nconst HOME = 36;\nconst LEFT_ARROW = 37;\nconst UP_ARROW = 38;\nconst RIGHT_ARROW = 39;\nconst DOWN_ARROW = 40;\nconst PLUS_SIGN = 43;\nconst PRINT_SCREEN = 44;\nconst INSERT = 45;\nconst DELETE = 46;\nconst ZERO = 48;\nconst ONE = 49;\nconst TWO = 50;\nconst THREE = 51;\nconst FOUR = 52;\nconst FIVE = 53;\nconst SIX = 54;\nconst SEVEN = 55;\nconst EIGHT = 56;\nconst NINE = 57;\nconst FF_SEMICOLON = 59; // Firefox (Gecko) fires this for semicolon instead of 186\nconst FF_EQUALS = 61; // Firefox (Gecko) fires this for equals instead of 187\nconst QUESTION_MARK = 63;\nconst AT_SIGN = 64;\nconst A = 65;\nconst B = 66;\nconst C = 67;\nconst D = 68;\nconst E = 69;\nconst F = 70;\nconst G = 71;\nconst H = 72;\nconst I = 73;\nconst J = 74;\nconst K = 75;\nconst L = 76;\nconst M = 77;\nconst N = 78;\nconst O = 79;\nconst P = 80;\nconst Q = 81;\nconst R = 82;\nconst S = 83;\nconst T = 84;\nconst U = 85;\nconst V = 86;\nconst W = 87;\nconst X = 88;\nconst Y = 89;\nconst Z = 90;\nconst META = 91; // WIN_KEY_LEFT\nconst MAC_WK_CMD_LEFT = 91;\nconst MAC_WK_CMD_RIGHT = 93;\nconst CONTEXT_MENU = 93;\nconst NUMPAD_ZERO = 96;\nconst NUMPAD_ONE = 97;\nconst NUMPAD_TWO = 98;\nconst NUMPAD_THREE = 99;\nconst NUMPAD_FOUR = 100;\nconst NUMPAD_FIVE = 101;\nconst NUMPAD_SIX = 102;\nconst NUMPAD_SEVEN = 103;\nconst NUMPAD_EIGHT = 104;\nconst NUMPAD_NINE = 105;\nconst NUMPAD_MULTIPLY = 106;\nconst NUMPAD_PLUS = 107;\nconst NUMPAD_MINUS = 109;\nconst NUMPAD_PERIOD = 110;\nconst NUMPAD_DIVIDE = 111;\nconst F1 = 112;\nconst F2 = 113;\nconst F3 = 114;\nconst F4 = 115;\nconst F5 = 116;\nconst F6 = 117;\nconst F7 = 118;\nconst F8 = 119;\nconst F9 = 120;\nconst F10 = 121;\nconst F11 = 122;\nconst F12 = 123;\nconst NUM_LOCK = 144;\nconst SCROLL_LOCK = 145;\nconst FIRST_MEDIA = 166;\nconst FF_MINUS = 173;\nconst MUTE = 173; // Firefox (Gecko) fires 181 for MUTE\nconst VOLUME_DOWN = 174; // Firefox (Gecko) fires 182 for VOLUME_DOWN\nconst VOLUME_UP = 175; // Firefox (Gecko) fires 183 for VOLUME_UP\nconst FF_MUTE = 181;\nconst FF_VOLUME_DOWN = 182;\nconst LAST_MEDIA = 183;\nconst FF_VOLUME_UP = 183;\nconst SEMICOLON = 186; // Firefox (Gecko) fires 59 for SEMICOLON\nconst EQUALS = 187; // Firefox (Gecko) fires 61 for EQUALS\nconst COMMA = 188;\nconst DASH = 189; // Firefox (Gecko) fires 173 for DASH/MINUS\nconst PERIOD = 190;\nconst SLASH = 191;\nconst APOSTROPHE = 192;\nconst TILDE = 192;\nconst OPEN_SQUARE_BRACKET = 219;\nconst BACKSLASH = 220;\nconst CLOSE_SQUARE_BRACKET = 221;\nconst SINGLE_QUOTE = 222;\nconst MAC_META = 224;\n\n/**\n * Checks whether a modifier key is pressed.\n * @param event Event to be checked.\n */\nfunction hasModifierKey(event, ...modifiers) {\n if (modifiers.length) {\n return modifiers.some(modifier => event[modifier]);\n }\n return event.altKey || event.shiftKey || event.ctrlKey || event.metaKey;\n}\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { A, ALT, APOSTROPHE, AT_SIGN, B, BACKSLASH, BACKSPACE, C, CAPS_LOCK, CLOSE_SQUARE_BRACKET, COMMA, CONTEXT_MENU, CONTROL, D, DASH, DELETE, DOWN_ARROW, E, EIGHT, END, ENTER, EQUALS, ESCAPE, F, F1, F10, F11, F12, F2, F3, F4, F5, F6, F7, F8, F9, FF_EQUALS, FF_MINUS, FF_MUTE, FF_SEMICOLON, FF_VOLUME_DOWN, FF_VOLUME_UP, FIRST_MEDIA, FIVE, FOUR, G, H, HOME, I, INSERT, J, K, L, LAST_MEDIA, LEFT_ARROW, M, MAC_ENTER, MAC_META, MAC_WK_CMD_LEFT, MAC_WK_CMD_RIGHT, META, MUTE, N, NINE, NUMPAD_DIVIDE, NUMPAD_EIGHT, NUMPAD_FIVE, NUMPAD_FOUR, NUMPAD_MINUS, NUMPAD_MULTIPLY, NUMPAD_NINE, NUMPAD_ONE, NUMPAD_PERIOD, NUMPAD_PLUS, NUMPAD_SEVEN, NUMPAD_SIX, NUMPAD_THREE, NUMPAD_TWO, NUMPAD_ZERO, NUM_CENTER, NUM_LOCK, O, ONE, OPEN_SQUARE_BRACKET, P, PAGE_DOWN, PAGE_UP, PAUSE, PERIOD, PLUS_SIGN, PRINT_SCREEN, Q, QUESTION_MARK, R, RIGHT_ARROW, S, SCROLL_LOCK, SEMICOLON, SEVEN, SHIFT, SINGLE_QUOTE, SIX, SLASH, SPACE, T, TAB, THREE, TILDE, TWO, U, UP_ARROW, V, VOLUME_DOWN, VOLUME_UP, W, X, Y, Z, ZERO, hasModifierKey };\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/442.5261795959bf57d7.js b/442.5261795959bf57d7.js new file mode 100644 index 0000000..6218d51 --- /dev/null +++ b/442.5261795959bf57d7.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[442],{26067:(N,P,o)=>{o.d(P,{t:()=>m});var V=o(78069),I=o(48047),T=o(4089),v=o(20265),k=o(24582),c=o(28694),_=o(50253),p=o(67654),m=function(S){(0,k.Z)(g,S);var r=(0,c.Z)(g);function g(){var C,w=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0,A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1/0,f=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p.l;return(0,V.Z)(this,g),(C=r.call(this))._bufferSize=w,C._windowTime=A,C._timestampProvider=f,C._buffer=[],C._infiniteTimeWindow=!0,C._infiniteTimeWindow=A===1/0,C._bufferSize=Math.max(1,w),C._windowTime=Math.max(1,A),C}return(0,I.Z)(g,[{key:"next",value:function(w){var f=this._buffer,D=this._infiniteTimeWindow,E=this._timestampProvider,z=this._windowTime;this.isStopped||(f.push(w),!D&&f.push(E.now()+z)),this._trimBuffer(),(0,T.Z)((0,v.Z)(g.prototype),"next",this).call(this,w)}},{key:"_subscribe",value:function(w){this._throwIfClosed(),this._trimBuffer();for(var A=this._innerSubscribe(w),f=this._infiniteTimeWindow,E=this._buffer.slice(),z=0;z<E.length&&!w.closed;z+=f?1:2)w.next(E[z]);return this._checkFinalizedStatuses(w),A}},{key:"_trimBuffer",value:function(){var w=this._bufferSize,A=this._timestampProvider,f=this._buffer,D=this._infiniteTimeWindow,E=(D?1:2)*w;if(w<1/0&&E<f.length&&f.splice(0,f.length-E),!D){for(var z=A.now(),j=0,Z=1;Z<f.length&&f[Z]<=z;Z+=2)j=Z;j&&f.splice(0,j+1)}}}]),g}(_.x)},23280:(N,P,o)=>{o.d(P,{R:()=>r});var V=o(32090),I=o(54987),T=o(90833),v=o(49525),k=o(99806),c=o(92971),_=o(58385),p=["addListener","removeListener"],m=["addEventListener","removeEventListener"],S=["on","off"];function r(f,D,E,z){if((0,c.m)(E)&&(z=E,E=void 0),z)return r(f,D,E).pipe((0,_.Z)(z));var j=function A(f){return(0,c.m)(f.addEventListener)&&(0,c.m)(f.removeEventListener)}(f)?m.map(function(y){return function(U){return f[y](D,U,E)}}):function C(f){return(0,c.m)(f.addListener)&&(0,c.m)(f.removeListener)}(f)?p.map(g(f,D)):function w(f){return(0,c.m)(f.on)&&(0,c.m)(f.off)}(f)?S.map(g(f,D)):[],Z=(0,V.Z)(j,2),L=Z[0],x=Z[1];if(!L&&(0,k.z)(f))return(0,v.z)(function(y){return r(y,D,E)})((0,I.Xf)(f));if(!L)throw new TypeError("Invalid event target");return new T.y(function(y){var U=function(){for(var b=arguments.length,M=new Array(b),F=0;F<b;F++)M[F]=arguments[F];return y.next(1<M.length?M:M[0])};return L(U),function(){return x(U)}})}function g(f,D){return function(E){return function(z){return f[E](D,z)}}}},10745:(N,P,o)=>{o.d(P,{of:()=>T});var V=o(10420),I=o(37400);function T(){for(var v=arguments.length,k=new Array(v),c=0;c<v;c++)k[c]=arguments[c];var _=(0,V.yG)(k);return(0,I.D)(k,_)}},89211:(N,P,o)=>{o.d(P,{e:()=>_});var V=o(96936),I=o(41944),T=o(54987),v=o(93945),c=o(78947);function _(p){var m=arguments.length>1&&void 0!==arguments[1]?arguments[1]:V.z;return function k(p){return(0,I.e)(function(m,S){var r=!1,g=null,C=null,w=!1,A=function(){if(C?.unsubscribe(),C=null,r){r=!1;var E=g;g=null,S.next(E)}w&&S.complete()},f=function(){C=null,w&&S.complete()};m.subscribe((0,v.x)(S,function(D){r=!0,g=D,C||(0,T.Xf)(p(D)).subscribe(C=(0,v.x)(S,A,f))},function(){w=!0,(!r||!C||C.closed)&&S.complete()}))})}(function(){return(0,c.H)(p,m)})}},98977:(N,P,o)=>{o.d(P,{x:()=>v});var V=o(89173),I=o(41944),T=o(93945);function v(c){var _=arguments.length>1&&void 0!==arguments[1]?arguments[1]:V.y;return c=c??k,(0,I.e)(function(p,m){var S,r=!0;p.subscribe((0,T.x)(m,function(g){var C=_(g);(r||!c(S,C))&&(r=!1,S=C,m.next(g))}))})}function k(c,_){return c===_}},60116:(N,P,o)=>{o.d(P,{h:()=>T});var V=o(41944),I=o(93945);function T(v,k){return(0,V.e)(function(c,_){var p=0;c.subscribe((0,I.x)(_,function(m){return v.call(k,m,p++)&&_.next(m)}))})}},81203:(N,P,o)=>{o.d(P,{B:()=>k});var V=o(54987),I=o(50253),T=o(5463),v=o(41944);function k(){var _=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},p=_.connector,m=void 0===p?function(){return new I.x}:p,S=_.resetOnError,r=void 0===S||S,g=_.resetOnComplete,C=void 0===g||g,w=_.resetOnRefCountZero,A=void 0===w||w;return function(f){var D,E,z,j=0,Z=!1,L=!1,x=function(){E?.unsubscribe(),E=void 0},y=function(){x(),D=z=void 0,Z=L=!1},U=function(){var b=D;y(),b?.unsubscribe()};return(0,v.e)(function(R,b){j++,!L&&!Z&&x();var M=z=z??m();b.add(function(){0==--j&&!L&&!Z&&(E=c(U,A))}),M.subscribe(b),!D&&j>0&&(D=new T.Hp({next:function(W){return M.next(W)},error:function(W){L=!0,x(),E=c(y,r,W),M.error(W)},complete:function(){Z=!0,x(),E=c(y,C),M.complete()}}),(0,V.Xf)(R).subscribe(D))})(f)}}function c(_,p){if(!0!==p){if(!1!==p){for(var m=new T.Hp({next:function(){m.unsubscribe(),_()}}),S=arguments.length,r=new Array(S>2?S-2:0),g=2;g<S;g++)r[g-2]=arguments[g];return p.apply(void 0,r).subscribe(m)}}else _()}},89196:(N,P,o)=>{o.d(P,{d:()=>T});var V=o(26067),I=o(81203);function T(v,k,c){var _,p=!1;if(v&&"object"==typeof v){var m=v.bufferSize;_=void 0===m?1/0:m;var S=v.windowTime;k=void 0===S?1/0:S;var r=v.refCount;p=void 0!==r&&r,c=v.scheduler}else _=v??1/0;return(0,I.B)({connector:function(){return new V.t(_,k,c)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:p})}},83888:(N,P,o)=>{o.d(P,{E:()=>j});var m,V=o(78069),I=o(48047),T=o(4089),v=o(20265),k=o(24582),c=o(28694),_=o(75417),p=1,S={};function r(L){return L in S&&(delete S[L],!0)}var w=function(x){var y=p++;return S[y]=!0,m||(m=Promise.resolve()),m.then(function(){return r(y)&&x()}),y},A=function(x){r(x)},f={setImmediate:function(){var x=f.delegate;return(x?.setImmediate||w).apply(void 0,arguments)},clearImmediate:function(x){var y=f.delegate;return(y?.clearImmediate||A)(x)},delegate:void 0},D=function(L){(0,k.Z)(y,L);var x=(0,c.Z)(y);function y(U,R){var b;return(0,V.Z)(this,y),(b=x.call(this,U,R)).scheduler=U,b.work=R,b}return(0,I.Z)(y,[{key:"requestAsyncId",value:function(R,b){var M=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==M&&M>0?(0,T.Z)((0,v.Z)(y.prototype),"requestAsyncId",this).call(this,R,b,M):(R.actions.push(this),R._scheduled||(R._scheduled=f.setImmediate(R.flush.bind(R,void 0))))}},{key:"recycleAsyncId",value:function(R,b){var F,M=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!=M?M>0:this.delay>0)return(0,T.Z)((0,v.Z)(y.prototype),"recycleAsyncId",this).call(this,R,b,M);var W=R.actions;null!=b&&(null===(F=W[W.length-1])||void 0===F?void 0:F.id)!==b&&(f.clearImmediate(b),R._scheduled=void 0)}}]),y}(_.o),j=new(function(L){(0,k.Z)(y,L);var x=(0,c.Z)(y);function y(){return(0,V.Z)(this,y),x.apply(this,arguments)}return(0,I.Z)(y,[{key:"flush",value:function(R){this._active=!0;var b=this._scheduled;this._scheduled=void 0;var F,M=this.actions;R=R||M.shift();do{if(F=R.execute(R.state,R.delay))break}while((R=M[0])&&R.id===b&&M.shift());if(this._active=!1,F){for(;(R=M[0])&&R.id===b&&M.shift();)R.unsubscribe();throw F}}}]),y}(o(41010).v))(D)},14437:(N,P,o)=>{o.d(P,{b:()=>T});var V=o(90833),I=o(92971);function T(v){return!!v&&(v instanceof V.y||(0,I.m)(v.lift)&&(0,I.m)(v.subscribe))}},58385:(N,P,o)=>{o.d(P,{Z:()=>k});var V=o(86170),I=o(50635),T=Array.isArray;function k(c){return(0,I.U)(function(_){return function v(c,_){return T(_)?c.apply(void 0,(0,V.Z)(_)):c(_)}(c,_)})}},30442:(N,P,o)=>{o.r(P),o.d(P,{CdkFixedSizeVirtualScroll:()=>ce,CdkScrollable:()=>q,CdkScrollableModule:()=>ee,CdkVirtualForOf:()=>ve,CdkVirtualScrollViewport:()=>le,CdkVirtualScrollable:()=>X,CdkVirtualScrollableElement:()=>_e,CdkVirtualScrollableWindow:()=>me,DEFAULT_RESIZE_TIME:()=>oe,DEFAULT_SCROLL_TIME:()=>ie,FixedSizeVirtualScrollStrategy:()=>ne,ScrollDispatcher:()=>G,ScrollingModule:()=>ge,VIRTUAL_SCROLLABLE:()=>Q,VIRTUAL_SCROLL_STRATEGY:()=>J,ViewportRuler:()=>ae,_fixedSizeVirtualScrollStrategyFactory:()=>re});var V=o(32090),I=o(95106),T=o(35488),v=o(4089),k=o(20265),c=o(24582),_=o(28694),p=o(78069),m=o(48047),S=o(35333),r=o(56718),g=o(50253),C=o(10745),w=o(90833),A=o(23280),f=o(14549),D=o(83888),E=o(17714),z=o(14437),j=o(98977),Z=o(89211),L=o(60116),x=o(68951),y=o(44874),U=o(41944),R=o(93945),M=o(32673),F=o(89196),W=o(23675),te=o(94055),H=o(43068),Y=o(81382),ue=["contentWrapper"],de=["*"],J=new r.InjectionToken("VIRTUAL_SCROLL_STRATEGY"),ne=function(){function l(s,i,e){(0,p.Z)(this,l),this._scrolledIndexChange=new g.x,this.scrolledIndexChange=this._scrolledIndexChange.pipe((0,j.x)()),this._viewport=null,this._itemSize=s,this._minBufferPx=i,this._maxBufferPx=e}return(0,m.Z)(l,[{key:"attach",value:function(i){this._viewport=i,this._updateTotalContentSize(),this._updateRenderedRange()}},{key:"detach",value:function(){this._scrolledIndexChange.complete(),this._viewport=null}},{key:"updateItemAndBufferSize",value:function(i,e,n){this._itemSize=i,this._minBufferPx=e,this._maxBufferPx=n,this._updateTotalContentSize(),this._updateRenderedRange()}},{key:"onContentScrolled",value:function(){this._updateRenderedRange()}},{key:"onDataLengthChanged",value:function(){this._updateTotalContentSize(),this._updateRenderedRange()}},{key:"onContentRendered",value:function(){}},{key:"onRenderedOffsetChanged",value:function(){}},{key:"scrollToIndex",value:function(i,e){this._viewport&&this._viewport.scrollToOffset(i*this._itemSize,e)}},{key:"_updateTotalContentSize",value:function(){this._viewport&&this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}},{key:"_updateRenderedRange",value:function(){if(this._viewport){var i=this._viewport.getRenderedRange(),e={start:i.start,end:i.end},n=this._viewport.getViewportSize(),t=this._viewport.getDataLength(),a=this._viewport.measureScrollOffset(),u=this._itemSize>0?a/this._itemSize:0;if(e.end>t){var h=Math.ceil(n/this._itemSize),O=Math.max(0,Math.min(u,t-h));u!=O&&(u=O,a=O*this._itemSize,e.start=Math.floor(u)),e.end=Math.max(0,Math.min(t,e.start+h))}var B=a-e.start*this._itemSize;if(B<this._minBufferPx&&0!=e.start){var K=Math.ceil((this._maxBufferPx-B)/this._itemSize);e.start=Math.max(0,e.start-K),e.end=Math.min(t,Math.ceil(u+(n+this._minBufferPx)/this._itemSize))}else{var d=e.end*this._itemSize-(a+n);if(d<this._minBufferPx&&e.end!=t){var $=Math.ceil((this._maxBufferPx-d)/this._itemSize);$>0&&(e.end=Math.min(t,e.end+$),e.start=Math.max(0,Math.floor(u-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(e),this._viewport.setRenderedContentOffset(this._itemSize*e.start),this._scrolledIndexChange.next(Math.floor(u))}}}]),l}();function re(l){return l._scrollStrategy}var ce=function(){var l=function(){function s(){(0,p.Z)(this,s),this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new ne(this.itemSize,this.minBufferPx,this.maxBufferPx)}return(0,m.Z)(s,[{key:"itemSize",get:function(){return this._itemSize},set:function(e){this._itemSize=(0,S.coerceNumberProperty)(e)}},{key:"minBufferPx",get:function(){return this._minBufferPx},set:function(e){this._minBufferPx=(0,S.coerceNumberProperty)(e)}},{key:"maxBufferPx",get:function(){return this._maxBufferPx},set:function(e){this._maxBufferPx=(0,S.coerceNumberProperty)(e)}},{key:"ngOnChanges",value:function(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}}]),s}();return l.\u0275fac=function(i){return new(i||l)},l.\u0275dir=r.\u0275\u0275defineDirective({type:l,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},standalone:!0,features:[r.\u0275\u0275ProvidersFeature([{provide:J,useFactory:re,deps:[(0,r.forwardRef)(function(){return l})]}]),r.\u0275\u0275NgOnChangesFeature]}),l}(),ie=20,G=function(){var l=function(){function s(i,e,n){(0,p.Z)(this,s),this._ngZone=i,this._platform=e,this._scrolled=new g.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}return(0,m.Z)(s,[{key:"register",value:function(e){var n=this;this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(function(){return n._scrolled.next(e)}))}},{key:"deregister",value:function(e){var n=this.scrollContainers.get(e);n&&(n.unsubscribe(),this.scrollContainers.delete(e))}},{key:"scrolled",value:function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ie;return this._platform.isBrowser?new w.y(function(t){e._globalSubscription||e._addGlobalListener();var a=n>0?e._scrolled.pipe((0,Z.e)(n)).subscribe(t):e._scrolled.subscribe(t);return e._scrolledCount++,function(){a.unsubscribe(),e._scrolledCount--,e._scrolledCount||e._removeGlobalListener()}}):(0,C.of)()}},{key:"ngOnDestroy",value:function(){var e=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(n,t){return e.deregister(t)}),this._scrolled.complete()}},{key:"ancestorScrolled",value:function(e,n){var t=this.getAncestorScrollContainers(e);return this.scrolled(n).pipe((0,L.h)(function(a){return!a||t.indexOf(a)>-1}))}},{key:"getAncestorScrollContainers",value:function(e){var n=this,t=[];return this.scrollContainers.forEach(function(a,u){n._scrollableContainsElement(u,e)&&t.push(u)}),t}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_scrollableContainsElement",value:function(e,n){var t=(0,S.coerceElement)(n),a=e.getElementRef().nativeElement;do{if(t==a)return!0}while(t=t.parentElement);return!1}},{key:"_addGlobalListener",value:function(){var e=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){var n=e._getWindow();return(0,A.R)(n.document,"scroll").subscribe(function(){return e._scrolled.next()})})}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}]),s}();return l.\u0275fac=function(i){return new(i||l)(r.\u0275\u0275inject(r.NgZone),r.\u0275\u0275inject(W.Platform),r.\u0275\u0275inject(te.DOCUMENT,8))},l.\u0275prov=r.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac,providedIn:"root"}),l}(),q=function(){var l=function(){function s(i,e,n,t){var a=this;(0,p.Z)(this,s),this.elementRef=i,this.scrollDispatcher=e,this.ngZone=n,this.dir=t,this._destroyed=new g.x,this._elementScrolled=new w.y(function(u){return a.ngZone.runOutsideAngular(function(){return(0,A.R)(a.elementRef.nativeElement,"scroll").pipe((0,x.R)(a._destroyed)).subscribe(u)})})}return(0,m.Z)(s,[{key:"ngOnInit",value:function(){this.scrollDispatcher.register(this)}},{key:"ngOnDestroy",value:function(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}},{key:"elementScrolled",value:function(){return this._elementScrolled}},{key:"getElementRef",value:function(){return this.elementRef}},{key:"scrollTo",value:function(e){var n=this.elementRef.nativeElement,t=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=t?e.end:e.start),null==e.right&&(e.right=t?e.start:e.end),null!=e.bottom&&(e.top=n.scrollHeight-n.clientHeight-e.bottom),t&&0!=(0,W.getRtlScrollAxisType)()?(null!=e.left&&(e.right=n.scrollWidth-n.clientWidth-e.left),2==(0,W.getRtlScrollAxisType)()?e.left=e.right:1==(0,W.getRtlScrollAxisType)()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=n.scrollWidth-n.clientWidth-e.right),this._applyScrollToOptions(e)}},{key:"_applyScrollToOptions",value:function(e){var n=this.elementRef.nativeElement;(0,W.supportsScrollBehavior)()?n.scrollTo(e):(null!=e.top&&(n.scrollTop=e.top),null!=e.left&&(n.scrollLeft=e.left))}},{key:"measureScrollOffset",value:function(e){var n="left",t="right",a=this.elementRef.nativeElement;if("top"==e)return a.scrollTop;if("bottom"==e)return a.scrollHeight-a.clientHeight-a.scrollTop;var u=this.dir&&"rtl"==this.dir.value;return"start"==e?e=u?t:n:"end"==e&&(e=u?n:t),u&&2==(0,W.getRtlScrollAxisType)()?e==n?a.scrollWidth-a.clientWidth-a.scrollLeft:a.scrollLeft:u&&1==(0,W.getRtlScrollAxisType)()?e==n?a.scrollLeft+a.scrollWidth-a.clientWidth:-a.scrollLeft:e==n?a.scrollLeft:a.scrollWidth-a.clientWidth-a.scrollLeft}}]),s}();return l.\u0275fac=function(i){return new(i||l)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(G),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(H.Directionality,8))},l.\u0275dir=r.\u0275\u0275defineDirective({type:l,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0}),l}(),oe=20,ae=function(){var l=function(){function s(i,e,n){var t=this;(0,p.Z)(this,s),this._platform=i,this._change=new g.x,this._changeListener=function(a){t._change.next(a)},this._document=n,e.runOutsideAngular(function(){if(i.isBrowser){var a=t._getWindow();a.addEventListener("resize",t._changeListener),a.addEventListener("orientationchange",t._changeListener)}t.change().subscribe(function(){return t._viewportSize=null})})}return(0,m.Z)(s,[{key:"ngOnDestroy",value:function(){if(this._platform.isBrowser){var e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}},{key:"getViewportSize",value:function(){this._viewportSize||this._updateViewportSize();var e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}},{key:"getViewportRect",value:function(){var e=this.getViewportScrollPosition(),n=this.getViewportSize(),t=n.width,a=n.height;return{top:e.top,left:e.left,bottom:e.top+a,right:e.left+t,height:a,width:t}}},{key:"getViewportScrollPosition",value:function(){if(!this._platform.isBrowser)return{top:0,left:0};var e=this._document,n=this._getWindow(),t=e.documentElement,a=t.getBoundingClientRect();return{top:-a.top||e.body.scrollTop||n.scrollY||t.scrollTop||0,left:-a.left||e.body.scrollLeft||n.scrollX||t.scrollLeft||0}}},{key:"change",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:oe;return e>0?this._change.pipe((0,Z.e)(e)):this._change}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_updateViewportSize",value:function(){var e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}]),s}();return l.\u0275fac=function(i){return new(i||l)(r.\u0275\u0275inject(W.Platform),r.\u0275\u0275inject(r.NgZone),r.\u0275\u0275inject(te.DOCUMENT,8))},l.\u0275prov=r.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac,providedIn:"root"}),l}(),Q=new r.InjectionToken("VIRTUAL_SCROLLABLE"),X=function(){var l=function(s){(0,c.Z)(e,s);var i=(0,_.Z)(e);function e(n,t,a,u){return(0,p.Z)(this,e),i.call(this,n,t,a,u)}return(0,m.Z)(e,[{key:"measureViewportSize",value:function(t){var a=this.elementRef.nativeElement;return"horizontal"===t?a.clientWidth:a.clientHeight}}]),e}(q);return l.\u0275fac=function(i){return new(i||l)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(G),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(H.Directionality,8))},l.\u0275dir=r.\u0275\u0275defineDirective({type:l,features:[r.\u0275\u0275InheritDefinitionFeature]}),l}(),he=typeof requestAnimationFrame<"u"?f.Z:D.E,le=function(){var l=function(s){(0,c.Z)(e,s);var i=(0,_.Z)(e);function e(n,t,a,u,h,O,B,K){var d;return(0,p.Z)(this,e),(d=i.call(this,n,O,a,h)).elementRef=n,d._changeDetectorRef=t,d._scrollStrategy=u,d.scrollable=K,d._platform=(0,r.inject)(W.Platform),d._detachedSubject=new g.x,d._renderedRangeSubject=new g.x,d._orientation="vertical",d._appendOnly=!1,d.scrolledIndexChange=new w.y(function($){return d._scrollStrategy.scrolledIndexChange.subscribe(function(pe){return Promise.resolve().then(function(){return d.ngZone.run(function(){return $.next(pe)})})})}),d.renderedRangeStream=d._renderedRangeSubject,d._totalContentSize=0,d._totalContentWidth="",d._totalContentHeight="",d._renderedRange={start:0,end:0},d._dataLength=0,d._viewportSize=0,d._renderedContentOffset=0,d._renderedContentOffsetNeedsRewrite=!1,d._isChangeDetectionPending=!1,d._runAfterChangeDetection=[],d._viewportChanges=E.w0.EMPTY,d._viewportChanges=B.change().subscribe(function(){d.checkViewportSize()}),d.scrollable||(d.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),d.scrollable=(0,T.Z)(d)),d}return(0,m.Z)(e,[{key:"orientation",get:function(){return this._orientation},set:function(t){this._orientation!==t&&(this._orientation=t,this._calculateSpacerSize())}},{key:"appendOnly",get:function(){return this._appendOnly},set:function(t){this._appendOnly=(0,S.coerceBooleanProperty)(t)}},{key:"ngOnInit",value:function(){var t=this;this._platform.isBrowser&&(this.scrollable===this&&(0,v.Z)((0,k.Z)(e.prototype),"ngOnInit",this).call(this),this.ngZone.runOutsideAngular(function(){return Promise.resolve().then(function(){t._measureViewportSize(),t._scrollStrategy.attach(t),t.scrollable.elementScrolled().pipe((0,y.O)(null),(0,Z.e)(0,he)).subscribe(function(){return t._scrollStrategy.onContentScrolled()}),t._markChangeDetectionNeeded()})}))}},{key:"ngOnDestroy",value:function(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),(0,v.Z)((0,k.Z)(e.prototype),"ngOnDestroy",this).call(this)}},{key:"attach",value:function(t){var a=this;this.ngZone.runOutsideAngular(function(){a._forOf=t,a._forOf.dataStream.pipe((0,x.R)(a._detachedSubject)).subscribe(function(u){var h=u.length;h!==a._dataLength&&(a._dataLength=h,a._scrollStrategy.onDataLengthChanged()),a._doChangeDetection()})})}},{key:"detach",value:function(){this._forOf=null,this._detachedSubject.next()}},{key:"getDataLength",value:function(){return this._dataLength}},{key:"getViewportSize",value:function(){return this._viewportSize}},{key:"getRenderedRange",value:function(){return this._renderedRange}},{key:"measureBoundingClientRectWithScrollOffset",value:function(t){return this.getElementRef().nativeElement.getBoundingClientRect()[t]}},{key:"setTotalContentSize",value:function(t){this._totalContentSize!==t&&(this._totalContentSize=t,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}},{key:"setRenderedRange",value:function(t){var a=this;(function fe(l,s){return l.start==s.start&&l.end==s.end})(this._renderedRange,t)||(this.appendOnly&&(t={start:0,end:Math.max(this._renderedRange.end,t.end)}),this._renderedRangeSubject.next(this._renderedRange=t),this._markChangeDetectionNeeded(function(){return a._scrollStrategy.onContentRendered()}))}},{key:"getOffsetToRenderedContentStart",value:function(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}},{key:"setRenderedContentOffset",value:function(t){var a=this,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"to-start";t=this.appendOnly&&"to-start"===u?0:t;var O="horizontal"==this.orientation,B=O?"X":"Y",K=O&&this.dir&&"rtl"==this.dir.value?-1:1,d="translate".concat(B,"(").concat(Number(K*t),"px)");this._renderedContentOffset=t,"to-end"===u&&(d+=" translate".concat(B,"(-100%)"),this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=d&&(this._renderedContentTransform=d,this._markChangeDetectionNeeded(function(){a._renderedContentOffsetNeedsRewrite?(a._renderedContentOffset-=a.measureRenderedContentSize(),a._renderedContentOffsetNeedsRewrite=!1,a.setRenderedContentOffset(a._renderedContentOffset)):a._scrollStrategy.onRenderedOffsetChanged()}))}},{key:"scrollToOffset",value:function(t){var u={behavior:arguments.length>1&&void 0!==arguments[1]?arguments[1]:"auto"};"horizontal"===this.orientation?u.start=t:u.top=t,this.scrollable.scrollTo(u)}},{key:"scrollToIndex",value:function(t){this._scrollStrategy.scrollToIndex(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:"auto")}},{key:"measureScrollOffset",value:function(t){var a=this;return Math.max(0,(this.scrollable==this?function(O){return(0,v.Z)((0,k.Z)(e.prototype),"measureScrollOffset",a).call(a,O)}:function(O){return a.scrollable.measureScrollOffset(O)})(t??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}},{key:"measureViewportOffset",value:function(t){var a,u,h="left",O="right",B="rtl"==(null===(a=this.dir)||void 0===a?void 0:a.value),K=this.scrollable.measureBoundingClientRectWithScrollOffset(u="start"==t?B?O:h:"end"==t?B?h:O:t||("horizontal"===this.orientation?"left":"top"));return this.elementRef.nativeElement.getBoundingClientRect()[u]-K}},{key:"measureRenderedContentSize",value:function(){var t=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?t.offsetWidth:t.offsetHeight}},{key:"measureRangeSize",value:function(t){return this._forOf?this._forOf.measureRangeSize(t,this.orientation):0}},{key:"checkViewportSize",value:function(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}},{key:"_measureViewportSize",value:function(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}},{key:"_markChangeDetectionNeeded",value:function(t){var a=this;t&&this._runAfterChangeDetection.push(t),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(function(){return Promise.resolve().then(function(){a._doChangeDetection()})}))}},{key:"_doChangeDetection",value:function(){var t=this;this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(function(){return t._changeDetectorRef.markForCheck()});var a=this._runAfterChangeDetection;this._runAfterChangeDetection=[];var h,u=(0,I.Z)(a);try{for(u.s();!(h=u.n()).done;)(0,h.value)()}catch(B){u.e(B)}finally{u.f()}}},{key:"_calculateSpacerSize",value:function(){this._totalContentHeight="horizontal"===this.orientation?"":"".concat(this._totalContentSize,"px"),this._totalContentWidth="horizontal"===this.orientation?"".concat(this._totalContentSize,"px"):""}}]),e}(X);return l.\u0275fac=function(i){return new(i||l)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(J,8),r.\u0275\u0275directiveInject(H.Directionality,8),r.\u0275\u0275directiveInject(G),r.\u0275\u0275directiveInject(ae),r.\u0275\u0275directiveInject(Q,8))},l.\u0275cmp=r.\u0275\u0275defineComponent({type:l,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(i,e){var n;1&i&&r.\u0275\u0275viewQuery(ue,7),2&i&&r.\u0275\u0275queryRefresh(n=r.\u0275\u0275loadQuery())&&(e._contentWrapper=n.first)},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(i,e){2&i&&r.\u0275\u0275classProp("cdk-virtual-scroll-orientation-horizontal","horizontal"===e.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==e.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},standalone:!0,features:[r.\u0275\u0275ProvidersFeature([{provide:q,useFactory:function(i,e){return i||e},deps:[[new r.Optional,new r.Inject(Q)],l]}]),r.\u0275\u0275InheritDefinitionFeature,r.\u0275\u0275StandaloneFeature],ngContentSelectors:de,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(i,e){1&i&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275elementStart(0,"div",0,1),r.\u0275\u0275projection(2),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(3,"div",2)),2&i&&(r.\u0275\u0275advance(3),r.\u0275\u0275styleProp("width",e._totalContentWidth)("height",e._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"],encapsulation:2,changeDetection:0}),l}();function se(l,s,i){if(!i.getBoundingClientRect)return 0;var n=i.getBoundingClientRect();return"horizontal"===l?"start"===s?n.left:n.right:"start"===s?n.top:n.bottom}var ve=function(){var l=function(){function s(i,e,n,t,a,u){var h=this;(0,p.Z)(this,s),this._viewContainerRef=i,this._template=e,this._differs=n,this._viewRepeater=t,this._viewport=a,this.viewChange=new g.x,this._dataSourceChanges=new g.x,this.dataStream=this._dataSourceChanges.pipe((0,y.O)(null),function b(){return(0,U.e)(function(l,s){var i,e=!1;l.subscribe((0,R.x)(s,function(n){var t=i;i=n,e&&s.next([t,n]),e=!0}))})}(),(0,M.w)(function(O){var B=(0,V.Z)(O,2);return h._changeDataSource(B[0],B[1])}),(0,F.d)(1)),this._differ=null,this._needsUpdate=!1,this._destroyed=new g.x,this.dataStream.subscribe(function(O){h._data=O,h._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe((0,x.R)(this._destroyed)).subscribe(function(O){h._renderedRange=O,h.viewChange.observers.length&&u.run(function(){return h.viewChange.next(h._renderedRange)}),h._onRenderedDataChange()}),this._viewport.attach(this)}return(0,m.Z)(s,[{key:"cdkVirtualForOf",get:function(){return this._cdkVirtualForOf},set:function(e){this._cdkVirtualForOf=e,(0,Y.isDataSource)(e)?this._dataSourceChanges.next(e):this._dataSourceChanges.next(new Y.ArrayDataSource((0,z.b)(e)?e:Array.from(e||[])))}},{key:"cdkVirtualForTrackBy",get:function(){return this._cdkVirtualForTrackBy},set:function(e){var n=this;this._needsUpdate=!0,this._cdkVirtualForTrackBy=e?function(t,a){return e(t+(n._renderedRange?n._renderedRange.start:0),a)}:void 0}},{key:"cdkVirtualForTemplate",set:function(e){e&&(this._needsUpdate=!0,this._template=e)}},{key:"cdkVirtualForTemplateCacheSize",get:function(){return this._viewRepeater.viewCacheSize},set:function(e){this._viewRepeater.viewCacheSize=(0,S.coerceNumberProperty)(e)}},{key:"measureRangeSize",value:function(e,n){if(e.start>=e.end)return 0;for(var u,h,t=e.start-this._renderedRange.start,a=e.end-e.start,O=0;O<a;O++){var B=this._viewContainerRef.get(O+t);if(B&&B.rootNodes.length){u=h=B.rootNodes[0];break}}for(var K=a-1;K>-1;K--){var d=this._viewContainerRef.get(K+t);if(d&&d.rootNodes.length){h=d.rootNodes[d.rootNodes.length-1];break}}return u&&h?se(n,"end",h)-se(n,"start",u):0}},{key:"ngDoCheck",value:function(){if(this._differ&&this._needsUpdate){var e=this._differ.diff(this._renderedItems);e?this._applyChanges(e):this._updateContext(),this._needsUpdate=!1}}},{key:"ngOnDestroy",value:function(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}},{key:"_onRenderedDataChange",value:function(){var e=this;this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create(function(n,t){return e.cdkVirtualForTrackBy?e.cdkVirtualForTrackBy(n,t):t})),this._needsUpdate=!0)}},{key:"_changeDataSource",value:function(e,n){return e&&e.disconnect(this),this._needsUpdate=!0,n?n.connect(this):(0,C.of)()}},{key:"_updateContext",value:function(){for(var e=this._data.length,n=this._viewContainerRef.length;n--;){var t=this._viewContainerRef.get(n);t.context.index=this._renderedRange.start+n,t.context.count=e,this._updateComputedContextProperties(t.context),t.detectChanges()}}},{key:"_applyChanges",value:function(e){var n=this;this._viewRepeater.applyChanges(e,this._viewContainerRef,function(h,O,B){return n._getEmbeddedViewArgs(h,B)},function(h){return h.item}),e.forEachIdentityChange(function(h){n._viewContainerRef.get(h.currentIndex).context.$implicit=h.item});for(var t=this._data.length,a=this._viewContainerRef.length;a--;){var u=this._viewContainerRef.get(a);u.context.index=this._renderedRange.start+a,u.context.count=t,this._updateComputedContextProperties(u.context)}}},{key:"_updateComputedContextProperties",value:function(e){e.first=0===e.index,e.last=e.index===e.count-1,e.even=e.index%2==0,e.odd=!e.even}},{key:"_getEmbeddedViewArgs",value:function(e,n){return{templateRef:this._template,context:{$implicit:e.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:n}}}]),s}();return l.\u0275fac=function(i){return new(i||l)(r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject(r.TemplateRef),r.\u0275\u0275directiveInject(r.IterableDiffers),r.\u0275\u0275directiveInject(Y._VIEW_REPEATER_STRATEGY),r.\u0275\u0275directiveInject(le,4),r.\u0275\u0275directiveInject(r.NgZone))},l.\u0275dir=r.\u0275\u0275defineDirective({type:l,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},standalone:!0,features:[r.\u0275\u0275ProvidersFeature([{provide:Y._VIEW_REPEATER_STRATEGY,useClass:Y._RecycleViewRepeaterStrategy}])]}),l}(),_e=function(){var l=function(s){(0,c.Z)(e,s);var i=(0,_.Z)(e);function e(n,t,a,u){return(0,p.Z)(this,e),i.call(this,n,t,a,u)}return(0,m.Z)(e,[{key:"measureBoundingClientRectWithScrollOffset",value:function(t){return this.getElementRef().nativeElement.getBoundingClientRect()[t]-this.measureScrollOffset(t)}}]),e}(X);return l.\u0275fac=function(i){return new(i||l)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(G),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(H.Directionality,8))},l.\u0275dir=r.\u0275\u0275defineDirective({type:l,selectors:[["","cdkVirtualScrollingElement",""]],hostAttrs:[1,"cdk-virtual-scrollable"],standalone:!0,features:[r.\u0275\u0275ProvidersFeature([{provide:Q,useExisting:l}]),r.\u0275\u0275InheritDefinitionFeature]}),l}(),me=function(){var l=function(s){(0,c.Z)(e,s);var i=(0,_.Z)(e);function e(n,t,a){var u;return(0,p.Z)(this,e),(u=i.call(this,new r.ElementRef(document.documentElement),n,t,a))._elementScrolled=new w.y(function(h){return u.ngZone.runOutsideAngular(function(){return(0,A.R)(document,"scroll").pipe((0,x.R)(u._destroyed)).subscribe(h)})}),u}return(0,m.Z)(e,[{key:"measureBoundingClientRectWithScrollOffset",value:function(t){return this.getElementRef().nativeElement.getBoundingClientRect()[t]}}]),e}(X);return l.\u0275fac=function(i){return new(i||l)(r.\u0275\u0275directiveInject(G),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(H.Directionality,8))},l.\u0275dir=r.\u0275\u0275defineDirective({type:l,selectors:[["cdk-virtual-scroll-viewport","scrollWindow",""]],standalone:!0,features:[r.\u0275\u0275ProvidersFeature([{provide:Q,useExisting:l}]),r.\u0275\u0275InheritDefinitionFeature]}),l}(),ee=function(){var l=(0,m.Z)(function s(){(0,p.Z)(this,s)});return l.\u0275fac=function(i){return new(i||l)},l.\u0275mod=r.\u0275\u0275defineNgModule({type:l}),l.\u0275inj=r.\u0275\u0275defineInjector({}),l}(),ge=function(){var l=(0,m.Z)(function s(){(0,p.Z)(this,s)});return l.\u0275fac=function(i){return new(i||l)},l.\u0275mod=r.\u0275\u0275defineNgModule({type:l}),l.\u0275inj=r.\u0275\u0275defineInjector({imports:[H.BidiModule,ee,H.BidiModule,ee]}),l}()}}]); +//# sourceMappingURL=442.5261795959bf57d7.js.map \ No newline at end of file diff --git a/442.5261795959bf57d7.js.map b/442.5261795959bf57d7.js.map new file mode 100644 index 0000000..e3678cd --- /dev/null +++ b/442.5261795959bf57d7.js.map @@ -0,0 +1 @@ +{"version":3,"file":"442.5261795959bf57d7.js","mappings":"6LAEaA,EAAa,SAAAC,IAAAC,OAAAF,EAAAC,GAAA,IAAAE,KAAAC,KAAAJ,GACtB,SAAAA,IAAwG,IAAAK,EAA5FC,EAAWC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAGG,IAAUC,EAAWJ,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAGG,IAAUE,EAAkBL,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAGM,IAAqBC,cAAAC,KAAAf,IAClGK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CAAC,CAAEM,QAAS8G,EAAoBkM,YAAaC,KAltC7JvT,0CAysC9FuT,CAA0B,IAsB1BK,GAAmB,eAAnBA,GAAmBhiB,OAAA,SAAAgiB,KAAAviB,OAAAC,KAAAsiB,EAAA,GAAnBA,SACY/T,UAAI,SAAAC,GAAA,WAAAA,GAAwF8T,EAAmB,EAD3HA,EAEYC,UAjuCkF7T,6BAAE,CAAAC,KAiuCS2T,IAFzGA,EAGYE,UAluCkF9T,6BAAE,IA+tChG4T,CAAmB,IAenBG,GAAe,eAAfA,GAAeniB,OAAA,SAAAmiB,KAAA1iB,OAAAC,KAAAyiB,EAAA,GAAfA,SACYlU,UAAI,SAAAC,GAAA,WAAAA,GAAwFiU,EAAe,EADvHA,EAEYF,UAhvCkF7T,6BAAE,CAAAC,KAgvCS8T,IAFzGA,EAWYD,UAzvCkF9T,6BAAE,CAAAgU,QAAA,CAyvCoCC,aAC9HL,GAAqBK,aAAYL,MAZvCG,CAAe","names":["ReplaySubject","_Subject","_inherits","_super","_createSuper","_this","_bufferSize","arguments","length","undefined","Infinity","_windowTime","_timestampProvider","dateTimestampProvider","_classCallCheck","this","call","_buffer","_infiniteTimeWindow","Math","max","_createClass","key","value","isStopped","push","now","_trimBuffer","_get","_getPrototypeOf","prototype","subscriber","_throwIfClosed","subscription","_innerSubscribe","copy","slice","i","closed","next","_checkFinalizedStatuses","adjustedBufferSize","splice","last","Subject","nodeEventEmitterMethods","eventTargetMethods","jqueryMethods","fromEvent","target","eventName","options","resultSelector","isFunction","pipe","mapOneOrManyArgs","_ref","isEventTarget","addEventListener","removeEventListener","map","methodName","handler","isNodeStyleEventEmitter","addListener","removeListener","toCommonHandlerRegistry","isJQueryStyleEventEmitter","on","off","_ref2","_slicedToArray","add","remove","isArrayLike","mergeMap","subTarget","innerFrom","TypeError","Observable","_len","args","Array","_key","of","scheduler","popScheduler","from","auditTime","duration","asyncScheduler","audit","durationSelector","operate","source","hasValue","lastValue","durationSubscriber","isComplete","endDuration","unsubscribe","complete","cleanupDuration","subscribe","createOperatorSubscriber","timer","distinctUntilChanged","comparator","keySelector","identity","defaultCompare","previousKey","first","currentKey","a","b","filter","predicate","thisArg","index","share","_options$connector","connector","_options$resetOnError","resetOnError","_options$resetOnCompl","resetOnComplete","_options$resetOnRefCo","resetOnRefCountZero","wrapperSource","connection","resetConnection","subject","refCount","hasCompleted","hasErrored","cancelReset","reset","resetAndUnsubscribe","conn","dest","handleReset","SafeSubscriber","error","err","onSubscriber","apply","shareReplay","configOrBufferSize","windowTime","bufferSize","_configOrBufferSize$b","_configOrBufferSize$w","_configOrBufferSize$r","resolved","nextHandle","activeHandles","findAndClearHandle","handle","setImmediate","cb","Promise","resolve","then","clearImmediate","immediateProvider","delegate","AsapAction","_AsyncAction","work","id","delay","actions","_scheduled","flush","bind","_a","AsyncAction","asapScheduler","_AsyncScheduler","AsapScheduler","action","_active","flushId","shift","execute","state","AsyncScheduler","isObservable","obj","lift","isArray","fn","callOrApply","_toConsumableArray","_c0","_c1","VIRTUAL_SCROLL_STRATEGY","InjectionToken","FixedSizeVirtualScrollStrategy","itemSize","minBufferPx","maxBufferPx","_scrolledIndexChange","scrolledIndexChange","_viewport","_itemSize","_minBufferPx","_maxBufferPx","viewport","_updateTotalContentSize","_updateRenderedRange","behavior","scrollToOffset","setTotalContentSize","getDataLength","renderedRange","getRenderedRange","newRange","start","end","viewportSize","getViewportSize","dataLength","scrollOffset","measureScrollOffset","firstVisibleIndex","maxVisibleItems","ceil","newVisibleIndex","min","floor","startBuffer","expandStart","endBuffer","expandEnd","setRenderedRange","setRenderedContentOffset","_fixedSizeVirtualScrollStrategyFactory","fixedSizeDir","_scrollStrategy","CdkFixedSizeVirtualScroll","get","set","coerceNumberProperty","updateItemAndBufferSize","ɵfac","t","ɵdir","i0","type","selectors","inputs","standalone","features","provide","useFactory","deps","forwardRef","DEFAULT_SCROLL_TIME","ScrollDispatcher","_ngZone","_platform","document","_scrolled","_globalSubscription","_scrolledCount","scrollContainers","Map","_document","scrollable","has","elementScrolled","scrollableReference","delete","_this2","auditTimeInMs","isBrowser","observer","_addGlobalListener","_removeGlobalListener","_this3","forEach","_","container","deregister","elementOrElementRef","ancestors","getAncestorScrollContainers","scrolled","indexOf","_this4","scrollingContainers","_subscription","_scrollableContainsElement","defaultView","window","element","coerceElement","scrollableElement","getElementRef","nativeElement","parentElement","_this5","runOutsideAngular","_getWindow","i1","DOCUMENT","ɵprov","token","factory","providedIn","CdkScrollable","elementRef","scrollDispatcher","ngZone","dir","_this6","_destroyed","_elementScrolled","takeUntil","register","el","isRtl","left","right","bottom","top","scrollHeight","clientHeight","getRtlScrollAxisType","scrollWidth","clientWidth","_applyScrollToOptions","supportsScrollBehavior","scrollTo","scrollTop","scrollLeft","LEFT","RIGHT","i2","DEFAULT_RESIZE_TIME","ViewportRuler","_this7","_change","_changeListener","event","change","_viewportSize","_updateViewportSize","output","width","height","scrollPosition","getViewportScrollPosition","_this$getViewportSize","documentElement","documentRect","getBoundingClientRect","body","scrollY","scrollX","throttleTime","innerWidth","innerHeight","VIRTUAL_SCROLLABLE","CdkVirtualScrollable","_CdkScrollable","orientation","viewportEl","SCROLL_SCHEDULER","requestAnimationFrame","animationFrameScheduler","CdkVirtualScrollViewport","_CdkVirtualScrollable","_super2","_changeDetectorRef","viewportRuler","_this8","inject","Platform","_detachedSubject","_renderedRangeSubject","_orientation","_appendOnly","run","renderedRangeStream","_totalContentSize","_totalContentWidth","_totalContentHeight","_renderedRange","_dataLength","_renderedContentOffset","_renderedContentOffsetNeedsRewrite","_isChangeDetectionPending","_runAfterChangeDetection","_viewportChanges","Subscription","checkViewportSize","classList","_assertThisInitialized","_calculateSpacerSize","coerceBooleanProperty","_this9","_measureViewportSize","attach","startWith","onContentScrolled","_markChangeDetectionNeeded","detach","forOf","_this10","_forOf","dataStream","data","newLength","onDataLengthChanged","_doChangeDetection","size","range","_this11","rangesEqual","r1","r2","appendOnly","onContentRendered","offset","_this12","to","isHorizontal","axis","axisDirection","transform","concat","Number","_renderedContentTransform","measureRenderedContentSize","onRenderedOffsetChanged","scrollToIndex","_this13","_from","measureViewportOffset","_this$dir","fromRect","scrollerClientRect","measureBoundingClientRectWithScrollOffset","contentEl","_contentWrapper","offsetWidth","offsetHeight","measureRangeSize","measureViewportSize","runAfter","_this14","_this15","style","markForCheck","runAfterChangeDetection","_step","_iterator","_createForOfIteratorHelper","s","n","done","e","f","ɵcmp","viewQuery","rf","ctx","_t","hostAttrs","hostVars","hostBindings","outputs","virtualScrollable","Optional","Inject","ngContentSelectors","decls","vars","consts","template","styles","encapsulation","changeDetection","getOffset","direction","node","rect","CdkVirtualForOf","_viewContainerRef","_template","_differs","_viewRepeater","_this16","viewChange","_dataSourceChanges","pairwise","prev","hasPrev","p","switchMap","_changeDataSource","_differ","_needsUpdate","_data","_onRenderedDataChange","observers","_cdkVirtualForOf","isDataSource","ArrayDataSource","_cdkVirtualForTrackBy","_this17","item","viewCacheSize","firstNode","lastNode","renderedStartIndex","rangeLen","view","rootNodes","changes","diff","_renderedItems","_applyChanges","_updateContext","_this18","find","create","cdkVirtualForTrackBy","oldDs","newDs","disconnect","connect","count","context","_updateComputedContextProperties","detectChanges","_this19","applyChanges","record","_adjustedPreviousIndex","currentIndex","_getEmbeddedViewArgs","forEachIdentityChange","$implicit","even","odd","templateRef","cdkVirtualForOf","_VIEW_REPEATER_STRATEGY","cdkVirtualForTemplate","cdkVirtualForTemplateCacheSize","useClass","_RecycleViewRepeaterStrategy","CdkVirtualScrollableElement","_CdkVirtualScrollable2","_super3","useExisting","CdkVirtualScrollableWindow","_CdkVirtualScrollable3","_super4","_this20","ElementRef","CdkScrollableModule","ɵmod","ɵinj","ScrollingModule","imports","BidiModule"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/ReplaySubject.js","./node_modules/rxjs/dist/esm/internal/observable/fromEvent.js","./node_modules/rxjs/dist/esm/internal/observable/of.js","./node_modules/rxjs/dist/esm/internal/operators/auditTime.js","./node_modules/rxjs/dist/esm/internal/operators/audit.js","./node_modules/rxjs/dist/esm/internal/operators/distinctUntilChanged.js","./node_modules/rxjs/dist/esm/internal/operators/filter.js","./node_modules/rxjs/dist/esm/internal/operators/share.js","./node_modules/rxjs/dist/esm/internal/operators/shareReplay.js","./node_modules/rxjs/dist/esm/internal/util/Immediate.js","./node_modules/rxjs/dist/esm/internal/scheduler/immediateProvider.js","./node_modules/rxjs/dist/esm/internal/scheduler/AsapAction.js","./node_modules/rxjs/dist/esm/internal/scheduler/asap.js","./node_modules/rxjs/dist/esm/internal/scheduler/AsapScheduler.js","./node_modules/rxjs/dist/esm/internal/util/isObservable.js","./node_modules/rxjs/dist/esm/internal/util/mapOneOrManyArgs.js","./node_modules/@angular/cdk/fesm2022/scrolling.mjs","./node_modules/rxjs/dist/esm/internal/operators/pairwise.js"],"sourcesContent":["import { Subject } from './Subject';\nimport { dateTimestampProvider } from './scheduler/dateTimestampProvider';\nexport class ReplaySubject extends Subject {\n constructor(_bufferSize = Infinity, _windowTime = Infinity, _timestampProvider = dateTimestampProvider) {\n super();\n this._bufferSize = _bufferSize;\n this._windowTime = _windowTime;\n this._timestampProvider = _timestampProvider;\n this._buffer = [];\n this._infiniteTimeWindow = true;\n this._infiniteTimeWindow = _windowTime === Infinity;\n this._bufferSize = Math.max(1, _bufferSize);\n this._windowTime = Math.max(1, _windowTime);\n }\n next(value) {\n const { isStopped, _buffer, _infiniteTimeWindow, _timestampProvider, _windowTime } = this;\n if (!isStopped) {\n _buffer.push(value);\n !_infiniteTimeWindow && _buffer.push(_timestampProvider.now() + _windowTime);\n }\n this._trimBuffer();\n super.next(value);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._trimBuffer();\n const subscription = this._innerSubscribe(subscriber);\n const { _infiniteTimeWindow, _buffer } = this;\n const copy = _buffer.slice();\n for (let i = 0; i < copy.length && !subscriber.closed; i += _infiniteTimeWindow ? 1 : 2) {\n subscriber.next(copy[i]);\n }\n this._checkFinalizedStatuses(subscriber);\n return subscription;\n }\n _trimBuffer() {\n const { _bufferSize, _timestampProvider, _buffer, _infiniteTimeWindow } = this;\n const adjustedBufferSize = (_infiniteTimeWindow ? 1 : 2) * _bufferSize;\n _bufferSize < Infinity && adjustedBufferSize < _buffer.length && _buffer.splice(0, _buffer.length - adjustedBufferSize);\n if (!_infiniteTimeWindow) {\n const now = _timestampProvider.now();\n let last = 0;\n for (let i = 1; i < _buffer.length && _buffer[i] <= now; i += 2) {\n last = i;\n }\n last && _buffer.splice(0, last + 1);\n }\n }\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { Observable } from '../Observable';\nimport { mergeMap } from '../operators/mergeMap';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isFunction } from '../util/isFunction';\nimport { mapOneOrManyArgs } from '../util/mapOneOrManyArgs';\nconst nodeEventEmitterMethods = ['addListener', 'removeListener'];\nconst eventTargetMethods = ['addEventListener', 'removeEventListener'];\nconst jqueryMethods = ['on', 'off'];\nexport function fromEvent(target, eventName, options, resultSelector) {\n if (isFunction(options)) {\n resultSelector = options;\n options = undefined;\n }\n if (resultSelector) {\n return fromEvent(target, eventName, options).pipe(mapOneOrManyArgs(resultSelector));\n }\n const [add, remove] = isEventTarget(target)\n ? eventTargetMethods.map((methodName) => (handler) => target[methodName](eventName, handler, options))\n :\n isNodeStyleEventEmitter(target)\n ? nodeEventEmitterMethods.map(toCommonHandlerRegistry(target, eventName))\n : isJQueryStyleEventEmitter(target)\n ? jqueryMethods.map(toCommonHandlerRegistry(target, eventName))\n : [];\n if (!add) {\n if (isArrayLike(target)) {\n return mergeMap((subTarget) => fromEvent(subTarget, eventName, options))(innerFrom(target));\n }\n }\n if (!add) {\n throw new TypeError('Invalid event target');\n }\n return new Observable((subscriber) => {\n const handler = (...args) => subscriber.next(1 < args.length ? args : args[0]);\n add(handler);\n return () => remove(handler);\n });\n}\nfunction toCommonHandlerRegistry(target, eventName) {\n return (methodName) => (handler) => target[methodName](eventName, handler);\n}\nfunction isNodeStyleEventEmitter(target) {\n return isFunction(target.addListener) && isFunction(target.removeListener);\n}\nfunction isJQueryStyleEventEmitter(target) {\n return isFunction(target.on) && isFunction(target.off);\n}\nfunction isEventTarget(target) {\n return isFunction(target.addEventListener) && isFunction(target.removeEventListener);\n}\n","import { popScheduler } from '../util/args';\nimport { from } from './from';\nexport function of(...args) {\n const scheduler = popScheduler(args);\n return from(args, scheduler);\n}\n","import { asyncScheduler } from '../scheduler/async';\nimport { audit } from './audit';\nimport { timer } from '../observable/timer';\nexport function auditTime(duration, scheduler = asyncScheduler) {\n return audit(() => timer(duration, scheduler));\n}\n","import { operate } from '../util/lift';\nimport { innerFrom } from '../observable/innerFrom';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function audit(durationSelector) {\n return operate((source, subscriber) => {\n let hasValue = false;\n let lastValue = null;\n let durationSubscriber = null;\n let isComplete = false;\n const endDuration = () => {\n durationSubscriber === null || durationSubscriber === void 0 ? void 0 : durationSubscriber.unsubscribe();\n durationSubscriber = null;\n if (hasValue) {\n hasValue = false;\n const value = lastValue;\n lastValue = null;\n subscriber.next(value);\n }\n isComplete && subscriber.complete();\n };\n const cleanupDuration = () => {\n durationSubscriber = null;\n isComplete && subscriber.complete();\n };\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n hasValue = true;\n lastValue = value;\n if (!durationSubscriber) {\n innerFrom(durationSelector(value)).subscribe((durationSubscriber = createOperatorSubscriber(subscriber, endDuration, cleanupDuration)));\n }\n }, () => {\n isComplete = true;\n (!hasValue || !durationSubscriber || durationSubscriber.closed) && subscriber.complete();\n }));\n });\n}\n","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 if (first || !comparator(previousKey, currentKey)) {\n first = false;\n previousKey = currentKey;\n subscriber.next(value);\n }\n }));\n });\n}\nfunction defaultCompare(a, b) {\n return a === b;\n}\n","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}\n","import { innerFrom } from '../observable/innerFrom';\nimport { Subject } from '../Subject';\nimport { SafeSubscriber } from '../Subscriber';\nimport { operate } from '../util/lift';\nexport function share(options = {}) {\n const { connector = () => new Subject(), resetOnError = true, resetOnComplete = true, resetOnRefCountZero = true } = 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 const cancelReset = () => {\n resetConnection === null || resetConnection === void 0 ? void 0 : resetConnection.unsubscribe();\n resetConnection = undefined;\n };\n const reset = () => {\n cancelReset();\n connection = subject = undefined;\n hasCompleted = hasErrored = false;\n };\n const resetAndUnsubscribe = () => {\n const conn = connection;\n reset();\n conn === null || conn === void 0 ? void 0 : conn.unsubscribe();\n };\n return operate((source, subscriber) => {\n refCount++;\n if (!hasErrored && !hasCompleted) {\n cancelReset();\n }\n const dest = (subject = subject !== null && subject !== void 0 ? subject : connector());\n subscriber.add(() => {\n refCount--;\n if (refCount === 0 && !hasErrored && !hasCompleted) {\n resetConnection = handleReset(resetAndUnsubscribe, resetOnRefCountZero);\n }\n });\n dest.subscribe(subscriber);\n if (!connection &&\n 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}\nfunction handleReset(reset, on, ...args) {\n if (on === true) {\n reset();\n return;\n }\n if (on === false) {\n return;\n }\n const onSubscriber = new SafeSubscriber({\n next: () => {\n onSubscriber.unsubscribe();\n reset();\n },\n });\n return on(...args).subscribe(onSubscriber);\n}\n","import { ReplaySubject } from '../ReplaySubject';\nimport { share } from './share';\nexport function shareReplay(configOrBufferSize, windowTime, scheduler) {\n let bufferSize;\n let refCount = false;\n if (configOrBufferSize && typeof configOrBufferSize === 'object') {\n ({ bufferSize = Infinity, windowTime = Infinity, refCount = false, scheduler } = configOrBufferSize);\n }\n else {\n bufferSize = (configOrBufferSize !== null && configOrBufferSize !== void 0 ? configOrBufferSize : Infinity);\n }\n return share({\n connector: () => new ReplaySubject(bufferSize, windowTime, scheduler),\n resetOnError: true,\n resetOnComplete: false,\n resetOnRefCountZero: refCount,\n });\n}\n","let nextHandle = 1;\nlet resolved;\nconst activeHandles = {};\nfunction findAndClearHandle(handle) {\n if (handle in activeHandles) {\n delete activeHandles[handle];\n return true;\n }\n return false;\n}\nexport const Immediate = {\n setImmediate(cb) {\n const handle = nextHandle++;\n activeHandles[handle] = true;\n if (!resolved) {\n resolved = Promise.resolve();\n }\n resolved.then(() => findAndClearHandle(handle) && cb());\n return handle;\n },\n clearImmediate(handle) {\n findAndClearHandle(handle);\n },\n};\nexport const TestTools = {\n pending() {\n return Object.keys(activeHandles).length;\n }\n};\n","import { Immediate } from '../util/Immediate';\nconst { setImmediate, clearImmediate } = Immediate;\nexport const immediateProvider = {\n setImmediate(...args) {\n const { delegate } = immediateProvider;\n return ((delegate === null || delegate === void 0 ? void 0 : delegate.setImmediate) || setImmediate)(...args);\n },\n clearImmediate(handle) {\n const { delegate } = immediateProvider;\n return ((delegate === null || delegate === void 0 ? void 0 : delegate.clearImmediate) || clearImmediate)(handle);\n },\n delegate: undefined,\n};\n","import { AsyncAction } from './AsyncAction';\nimport { immediateProvider } from './immediateProvider';\nexport class AsapAction extends AsyncAction {\n constructor(scheduler, work) {\n super(scheduler, work);\n this.scheduler = scheduler;\n this.work = work;\n }\n requestAsyncId(scheduler, id, delay = 0) {\n if (delay !== null && delay > 0) {\n return super.requestAsyncId(scheduler, id, delay);\n }\n scheduler.actions.push(this);\n return scheduler._scheduled || (scheduler._scheduled = immediateProvider.setImmediate(scheduler.flush.bind(scheduler, undefined)));\n }\n recycleAsyncId(scheduler, id, delay = 0) {\n var _a;\n if (delay != null ? delay > 0 : this.delay > 0) {\n return super.recycleAsyncId(scheduler, id, delay);\n }\n const { actions } = scheduler;\n if (id != null && ((_a = actions[actions.length - 1]) === null || _a === void 0 ? void 0 : _a.id) !== id) {\n immediateProvider.clearImmediate(id);\n scheduler._scheduled = undefined;\n }\n return undefined;\n }\n}\n","import { AsapAction } from './AsapAction';\nimport { AsapScheduler } from './AsapScheduler';\nexport const asapScheduler = new AsapScheduler(AsapAction);\nexport const asap = asapScheduler;\n","import { AsyncScheduler } from './AsyncScheduler';\nexport class AsapScheduler extends AsyncScheduler {\n flush(action) {\n this._active = true;\n const flushId = this._scheduled;\n this._scheduled = undefined;\n const { actions } = this;\n let error;\n action = action || actions.shift();\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 this._active = false;\n if (error) {\n while ((action = actions[0]) && action.id === flushId && actions.shift()) {\n action.unsubscribe();\n }\n throw error;\n }\n }\n}\n","import { Observable } from '../Observable';\nimport { isFunction } from './isFunction';\nexport function isObservable(obj) {\n return !!obj && (obj instanceof Observable || (isFunction(obj.lift) && isFunction(obj.subscribe)));\n}\n","import { map } from \"../operators/map\";\nconst { isArray } = Array;\nfunction callOrApply(fn, args) {\n return isArray(args) ? fn(...args) : fn(args);\n}\nexport function mapOneOrManyArgs(fn) {\n return map(args => callOrApply(fn, args));\n}\n","import { coerceNumberProperty, coerceElement, coerceBooleanProperty } from '@angular/cdk/coercion';\nimport * as i0 from '@angular/core';\nimport { InjectionToken, forwardRef, Directive, Input, Injectable, Optional, Inject, inject, Component, ViewEncapsulation, ChangeDetectionStrategy, Output, ViewChild, SkipSelf, ElementRef, NgModule } from '@angular/core';\nimport { Subject, of, Observable, fromEvent, animationFrameScheduler, asapScheduler, Subscription, isObservable } from 'rxjs';\nimport { distinctUntilChanged, auditTime, filter, takeUntil, startWith, pairwise, switchMap, shareReplay } from 'rxjs/operators';\nimport * as i1 from '@angular/cdk/platform';\nimport { getRtlScrollAxisType, supportsScrollBehavior, Platform } from '@angular/cdk/platform';\nimport { DOCUMENT } from '@angular/common';\nimport * as i2 from '@angular/cdk/bidi';\nimport { BidiModule } from '@angular/cdk/bidi';\nimport * as i2$1 from '@angular/cdk/collections';\nimport { isDataSource, ArrayDataSource, _VIEW_REPEATER_STRATEGY, _RecycleViewRepeaterStrategy } from '@angular/cdk/collections';\n\n/** The injection token used to specify the virtual scrolling strategy. */\nconst VIRTUAL_SCROLL_STRATEGY = new InjectionToken('VIRTUAL_SCROLL_STRATEGY');\n\n/** Virtual scrolling strategy for lists with items of known fixed size. */\nclass FixedSizeVirtualScrollStrategy {\n /**\n * @param itemSize The size of the items in the virtually scrolling list.\n * @param minBufferPx The minimum amount of buffer (in pixels) before needing to render more\n * @param maxBufferPx The amount of buffer (in pixels) to render when rendering more.\n */\n constructor(itemSize, minBufferPx, maxBufferPx) {\n this._scrolledIndexChange = new Subject();\n /** @docs-private Implemented as part of VirtualScrollStrategy. */\n this.scrolledIndexChange = this._scrolledIndexChange.pipe(distinctUntilChanged());\n /** The attached viewport. */\n this._viewport = null;\n this._itemSize = itemSize;\n this._minBufferPx = minBufferPx;\n this._maxBufferPx = maxBufferPx;\n }\n /**\n * Attaches this scroll strategy to a viewport.\n * @param viewport The viewport to attach this strategy to.\n */\n attach(viewport) {\n this._viewport = viewport;\n this._updateTotalContentSize();\n this._updateRenderedRange();\n }\n /** Detaches this scroll strategy from the currently attached viewport. */\n detach() {\n this._scrolledIndexChange.complete();\n this._viewport = null;\n }\n /**\n * Update the item size and buffer size.\n * @param itemSize The size of the items in the virtually scrolling list.\n * @param minBufferPx The minimum amount of buffer (in pixels) before needing to render more\n * @param maxBufferPx The amount of buffer (in pixels) to render when rendering more.\n */\n updateItemAndBufferSize(itemSize, minBufferPx, maxBufferPx) {\n if (maxBufferPx < minBufferPx && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error('CDK virtual scroll: maxBufferPx must be greater than or equal to minBufferPx');\n }\n this._itemSize = itemSize;\n this._minBufferPx = minBufferPx;\n this._maxBufferPx = maxBufferPx;\n this._updateTotalContentSize();\n this._updateRenderedRange();\n }\n /** @docs-private Implemented as part of VirtualScrollStrategy. */\n onContentScrolled() {\n this._updateRenderedRange();\n }\n /** @docs-private Implemented as part of VirtualScrollStrategy. */\n onDataLengthChanged() {\n this._updateTotalContentSize();\n this._updateRenderedRange();\n }\n /** @docs-private Implemented as part of VirtualScrollStrategy. */\n onContentRendered() {\n /* no-op */\n }\n /** @docs-private Implemented as part of VirtualScrollStrategy. */\n onRenderedOffsetChanged() {\n /* no-op */\n }\n /**\n * Scroll to the offset for the given index.\n * @param index The index of the element to scroll to.\n * @param behavior The ScrollBehavior to use when scrolling.\n */\n scrollToIndex(index, behavior) {\n if (this._viewport) {\n this._viewport.scrollToOffset(index * this._itemSize, behavior);\n }\n }\n /** Update the viewport's total content size. */\n _updateTotalContentSize() {\n if (!this._viewport) {\n return;\n }\n this._viewport.setTotalContentSize(this._viewport.getDataLength() * this._itemSize);\n }\n /** Update the viewport's rendered range. */\n _updateRenderedRange() {\n if (!this._viewport) {\n return;\n }\n const renderedRange = this._viewport.getRenderedRange();\n const newRange = { start: renderedRange.start, end: renderedRange.end };\n const viewportSize = this._viewport.getViewportSize();\n const dataLength = this._viewport.getDataLength();\n let scrollOffset = this._viewport.measureScrollOffset();\n // Prevent NaN as result when dividing by zero.\n let firstVisibleIndex = this._itemSize > 0 ? scrollOffset / this._itemSize : 0;\n // If user scrolls to the bottom of the list and data changes to a smaller list\n if (newRange.end > dataLength) {\n // We have to recalculate the first visible index based on new data length and viewport size.\n const maxVisibleItems = Math.ceil(viewportSize / this._itemSize);\n const newVisibleIndex = Math.max(0, Math.min(firstVisibleIndex, dataLength - maxVisibleItems));\n // If first visible index changed we must update scroll offset to handle start/end buffers\n // Current range must also be adjusted to cover the new position (bottom of new list).\n if (firstVisibleIndex != newVisibleIndex) {\n firstVisibleIndex = newVisibleIndex;\n scrollOffset = newVisibleIndex * this._itemSize;\n newRange.start = Math.floor(firstVisibleIndex);\n }\n newRange.end = Math.max(0, Math.min(dataLength, newRange.start + maxVisibleItems));\n }\n const startBuffer = scrollOffset - newRange.start * this._itemSize;\n if (startBuffer < this._minBufferPx && newRange.start != 0) {\n const expandStart = Math.ceil((this._maxBufferPx - startBuffer) / this._itemSize);\n newRange.start = Math.max(0, newRange.start - expandStart);\n newRange.end = Math.min(dataLength, Math.ceil(firstVisibleIndex + (viewportSize + this._minBufferPx) / this._itemSize));\n }\n else {\n const endBuffer = newRange.end * this._itemSize - (scrollOffset + viewportSize);\n if (endBuffer < this._minBufferPx && newRange.end != dataLength) {\n const expandEnd = Math.ceil((this._maxBufferPx - endBuffer) / this._itemSize);\n if (expandEnd > 0) {\n newRange.end = Math.min(dataLength, newRange.end + expandEnd);\n newRange.start = Math.max(0, Math.floor(firstVisibleIndex - this._minBufferPx / this._itemSize));\n }\n }\n }\n this._viewport.setRenderedRange(newRange);\n this._viewport.setRenderedContentOffset(this._itemSize * newRange.start);\n this._scrolledIndexChange.next(Math.floor(firstVisibleIndex));\n }\n}\n/**\n * Provider factory for `FixedSizeVirtualScrollStrategy` that simply extracts the already created\n * `FixedSizeVirtualScrollStrategy` from the given directive.\n * @param fixedSizeDir The instance of `CdkFixedSizeVirtualScroll` to extract the\n * `FixedSizeVirtualScrollStrategy` from.\n */\nfunction _fixedSizeVirtualScrollStrategyFactory(fixedSizeDir) {\n return fixedSizeDir._scrollStrategy;\n}\n/** A virtual scroll strategy that supports fixed-size items. */\nclass CdkFixedSizeVirtualScroll {\n constructor() {\n this._itemSize = 20;\n this._minBufferPx = 100;\n this._maxBufferPx = 200;\n /** The scroll strategy used by this directive. */\n this._scrollStrategy = new FixedSizeVirtualScrollStrategy(this.itemSize, this.minBufferPx, this.maxBufferPx);\n }\n /** The size of the items in the list (in pixels). */\n get itemSize() {\n return this._itemSize;\n }\n set itemSize(value) {\n this._itemSize = coerceNumberProperty(value);\n }\n /**\n * The minimum amount of buffer rendered beyond the viewport (in pixels).\n * If the amount of buffer dips below this number, more items will be rendered. Defaults to 100px.\n */\n get minBufferPx() {\n return this._minBufferPx;\n }\n set minBufferPx(value) {\n this._minBufferPx = coerceNumberProperty(value);\n }\n /**\n * The number of pixels worth of buffer to render for when rendering new items. Defaults to 200px.\n */\n get maxBufferPx() {\n return this._maxBufferPx;\n }\n set maxBufferPx(value) {\n this._maxBufferPx = coerceNumberProperty(value);\n }\n ngOnChanges() {\n this._scrollStrategy.updateItemAndBufferSize(this.itemSize, this.minBufferPx, this.maxBufferPx);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkFixedSizeVirtualScroll, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkFixedSizeVirtualScroll, isStandalone: true, selector: \"cdk-virtual-scroll-viewport[itemSize]\", inputs: { itemSize: \"itemSize\", minBufferPx: \"minBufferPx\", maxBufferPx: \"maxBufferPx\" }, providers: [\n {\n provide: VIRTUAL_SCROLL_STRATEGY,\n useFactory: _fixedSizeVirtualScrollStrategyFactory,\n deps: [forwardRef(() => CdkFixedSizeVirtualScroll)],\n },\n ], usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkFixedSizeVirtualScroll, decorators: [{\n type: Directive,\n args: [{\n selector: 'cdk-virtual-scroll-viewport[itemSize]',\n standalone: true,\n providers: [\n {\n provide: VIRTUAL_SCROLL_STRATEGY,\n useFactory: _fixedSizeVirtualScrollStrategyFactory,\n deps: [forwardRef(() => CdkFixedSizeVirtualScroll)],\n },\n ],\n }]\n }], propDecorators: { itemSize: [{\n type: Input\n }], minBufferPx: [{\n type: Input\n }], maxBufferPx: [{\n type: Input\n }] } });\n\n/** Time in ms to throttle the scrolling events by default. */\nconst DEFAULT_SCROLL_TIME = 20;\n/**\n * Service contained all registered Scrollable references and emits an event when any one of the\n * Scrollable references emit a scrolled event.\n */\nclass ScrollDispatcher {\n constructor(_ngZone, _platform, document) {\n this._ngZone = _ngZone;\n this._platform = _platform;\n /** Subject for notifying that a registered scrollable reference element has been scrolled. */\n this._scrolled = new Subject();\n /** Keeps track of the global `scroll` and `resize` subscriptions. */\n this._globalSubscription = null;\n /** Keeps track of the amount of subscriptions to `scrolled`. Used for cleaning up afterwards. */\n this._scrolledCount = 0;\n /**\n * Map of all the scrollable references that are registered with the service and their\n * scroll event subscriptions.\n */\n this.scrollContainers = new Map();\n this._document = document;\n }\n /**\n * Registers a scrollable instance with the service and listens for its scrolled events. When the\n * scrollable is scrolled, the service emits the event to its scrolled observable.\n * @param scrollable Scrollable instance to be registered.\n */\n register(scrollable) {\n if (!this.scrollContainers.has(scrollable)) {\n this.scrollContainers.set(scrollable, scrollable.elementScrolled().subscribe(() => this._scrolled.next(scrollable)));\n }\n }\n /**\n * De-registers a Scrollable reference and unsubscribes from its scroll event observable.\n * @param scrollable Scrollable instance to be deregistered.\n */\n deregister(scrollable) {\n const scrollableReference = this.scrollContainers.get(scrollable);\n if (scrollableReference) {\n scrollableReference.unsubscribe();\n this.scrollContainers.delete(scrollable);\n }\n }\n /**\n * Returns an observable that emits an event whenever any of the registered Scrollable\n * references (or window, document, or body) fire a scrolled event. Can provide a time in ms\n * to override the default \"throttle\" time.\n *\n * **Note:** in order to avoid hitting change detection for every scroll event,\n * all of the events emitted from this stream will be run outside the Angular zone.\n * If you need to update any data bindings as a result of a scroll event, you have\n * to run the callback using `NgZone.run`.\n */\n scrolled(auditTimeInMs = DEFAULT_SCROLL_TIME) {\n if (!this._platform.isBrowser) {\n return of();\n }\n return new Observable((observer) => {\n if (!this._globalSubscription) {\n this._addGlobalListener();\n }\n // In the case of a 0ms delay, use an observable without auditTime\n // since it does add a perceptible delay in processing overhead.\n const subscription = auditTimeInMs > 0\n ? this._scrolled.pipe(auditTime(auditTimeInMs)).subscribe(observer)\n : this._scrolled.subscribe(observer);\n this._scrolledCount++;\n return () => {\n subscription.unsubscribe();\n this._scrolledCount--;\n if (!this._scrolledCount) {\n this._removeGlobalListener();\n }\n };\n });\n }\n ngOnDestroy() {\n this._removeGlobalListener();\n this.scrollContainers.forEach((_, container) => this.deregister(container));\n this._scrolled.complete();\n }\n /**\n * Returns an observable that emits whenever any of the\n * scrollable ancestors of an element are scrolled.\n * @param elementOrElementRef Element whose ancestors to listen for.\n * @param auditTimeInMs Time to throttle the scroll events.\n */\n ancestorScrolled(elementOrElementRef, auditTimeInMs) {\n const ancestors = this.getAncestorScrollContainers(elementOrElementRef);\n return this.scrolled(auditTimeInMs).pipe(filter(target => {\n return !target || ancestors.indexOf(target) > -1;\n }));\n }\n /** Returns all registered Scrollables that contain the provided element. */\n getAncestorScrollContainers(elementOrElementRef) {\n const scrollingContainers = [];\n this.scrollContainers.forEach((_subscription, scrollable) => {\n if (this._scrollableContainsElement(scrollable, elementOrElementRef)) {\n scrollingContainers.push(scrollable);\n }\n });\n return scrollingContainers;\n }\n /** Use defaultView of injected document if available or fallback to global window reference */\n _getWindow() {\n return this._document.defaultView || window;\n }\n /** Returns true if the element is contained within the provided Scrollable. */\n _scrollableContainsElement(scrollable, elementOrElementRef) {\n let element = coerceElement(elementOrElementRef);\n let scrollableElement = scrollable.getElementRef().nativeElement;\n // Traverse through the element parents until we reach null, checking if any of the elements\n // are the scrollable's element.\n do {\n if (element == scrollableElement) {\n return true;\n }\n } while ((element = element.parentElement));\n return false;\n }\n /** Sets up the global scroll listeners. */\n _addGlobalListener() {\n this._globalSubscription = this._ngZone.runOutsideAngular(() => {\n const window = this._getWindow();\n return fromEvent(window.document, 'scroll').subscribe(() => this._scrolled.next());\n });\n }\n /** Cleans up the global scroll listener. */\n _removeGlobalListener() {\n if (this._globalSubscription) {\n this._globalSubscription.unsubscribe();\n this._globalSubscription = null;\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: ScrollDispatcher, deps: [{ token: i0.NgZone }, { token: i1.Platform }, { token: DOCUMENT, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: ScrollDispatcher, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: ScrollDispatcher, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i1.Platform }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [DOCUMENT]\n }] }]; } });\n\n/**\n * Sends an event when the directive's element is scrolled. Registers itself with the\n * ScrollDispatcher service to include itself as part of its collection of scrolling events that it\n * can be listened to through the service.\n */\nclass CdkScrollable {\n constructor(elementRef, scrollDispatcher, ngZone, dir) {\n this.elementRef = elementRef;\n this.scrollDispatcher = scrollDispatcher;\n this.ngZone = ngZone;\n this.dir = dir;\n this._destroyed = new Subject();\n this._elementScrolled = new Observable((observer) => this.ngZone.runOutsideAngular(() => fromEvent(this.elementRef.nativeElement, 'scroll')\n .pipe(takeUntil(this._destroyed))\n .subscribe(observer)));\n }\n ngOnInit() {\n this.scrollDispatcher.register(this);\n }\n ngOnDestroy() {\n this.scrollDispatcher.deregister(this);\n this._destroyed.next();\n this._destroyed.complete();\n }\n /** Returns observable that emits when a scroll event is fired on the host element. */\n elementScrolled() {\n return this._elementScrolled;\n }\n /** Gets the ElementRef for the viewport. */\n getElementRef() {\n return this.elementRef;\n }\n /**\n * Scrolls to the specified offsets. This is a normalized version of the browser's native scrollTo\n * method, since browsers are not consistent about what scrollLeft means in RTL. For this method\n * left and right always refer to the left and right side of the scrolling container irrespective\n * of the layout direction. start and end refer to left and right in an LTR context and vice-versa\n * in an RTL context.\n * @param options specified the offsets to scroll to.\n */\n scrollTo(options) {\n const el = this.elementRef.nativeElement;\n const isRtl = this.dir && this.dir.value == 'rtl';\n // Rewrite start & end offsets as right or left offsets.\n if (options.left == null) {\n options.left = isRtl ? options.end : options.start;\n }\n if (options.right == null) {\n options.right = isRtl ? options.start : options.end;\n }\n // Rewrite the bottom offset as a top offset.\n if (options.bottom != null) {\n options.top =\n el.scrollHeight - el.clientHeight - options.bottom;\n }\n // Rewrite the right offset as a left offset.\n if (isRtl && getRtlScrollAxisType() != 0 /* RtlScrollAxisType.NORMAL */) {\n if (options.left != null) {\n options.right =\n el.scrollWidth - el.clientWidth - options.left;\n }\n if (getRtlScrollAxisType() == 2 /* RtlScrollAxisType.INVERTED */) {\n options.left = options.right;\n }\n else if (getRtlScrollAxisType() == 1 /* RtlScrollAxisType.NEGATED */) {\n options.left = options.right ? -options.right : options.right;\n }\n }\n else {\n if (options.right != null) {\n options.left =\n el.scrollWidth - el.clientWidth - options.right;\n }\n }\n this._applyScrollToOptions(options);\n }\n _applyScrollToOptions(options) {\n const el = this.elementRef.nativeElement;\n if (supportsScrollBehavior()) {\n el.scrollTo(options);\n }\n else {\n if (options.top != null) {\n el.scrollTop = options.top;\n }\n if (options.left != null) {\n el.scrollLeft = options.left;\n }\n }\n }\n /**\n * Measures the scroll offset relative to the specified edge of the viewport. This method can be\n * used instead of directly checking scrollLeft or scrollTop, since browsers are not consistent\n * about what scrollLeft means in RTL. The values returned by this method are normalized such that\n * left and right always refer to the left and right side of the scrolling container irrespective\n * of the layout direction. start and end refer to left and right in an LTR context and vice-versa\n * in an RTL context.\n * @param from The edge to measure from.\n */\n measureScrollOffset(from) {\n const LEFT = 'left';\n const RIGHT = 'right';\n const el = this.elementRef.nativeElement;\n if (from == 'top') {\n return el.scrollTop;\n }\n if (from == 'bottom') {\n return el.scrollHeight - el.clientHeight - el.scrollTop;\n }\n // Rewrite start & end as left or right offsets.\n const isRtl = this.dir && this.dir.value == 'rtl';\n if (from == 'start') {\n from = isRtl ? RIGHT : LEFT;\n }\n else if (from == 'end') {\n from = isRtl ? LEFT : RIGHT;\n }\n if (isRtl && getRtlScrollAxisType() == 2 /* RtlScrollAxisType.INVERTED */) {\n // For INVERTED, scrollLeft is (scrollWidth - clientWidth) when scrolled all the way left and\n // 0 when scrolled all the way right.\n if (from == LEFT) {\n return el.scrollWidth - el.clientWidth - el.scrollLeft;\n }\n else {\n return el.scrollLeft;\n }\n }\n else if (isRtl && getRtlScrollAxisType() == 1 /* RtlScrollAxisType.NEGATED */) {\n // For NEGATED, scrollLeft is -(scrollWidth - clientWidth) when scrolled all the way left and\n // 0 when scrolled all the way right.\n if (from == LEFT) {\n return el.scrollLeft + el.scrollWidth - el.clientWidth;\n }\n else {\n return -el.scrollLeft;\n }\n }\n else {\n // For NORMAL, as well as non-RTL contexts, scrollLeft is 0 when scrolled all the way left and\n // (scrollWidth - clientWidth) when scrolled all the way right.\n if (from == LEFT) {\n return el.scrollLeft;\n }\n else {\n return el.scrollWidth - el.clientWidth - el.scrollLeft;\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkScrollable, deps: [{ token: i0.ElementRef }, { token: ScrollDispatcher }, { token: i0.NgZone }, { token: i2.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkScrollable, isStandalone: true, selector: \"[cdk-scrollable], [cdkScrollable]\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkScrollable, decorators: [{\n type: Directive,\n args: [{\n selector: '[cdk-scrollable], [cdkScrollable]',\n standalone: true,\n }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: ScrollDispatcher }, { type: i0.NgZone }, { type: i2.Directionality, decorators: [{\n type: Optional\n }] }]; } });\n\n/** Time in ms to throttle the resize events by default. */\nconst DEFAULT_RESIZE_TIME = 20;\n/**\n * Simple utility for getting the bounds of the browser viewport.\n * @docs-private\n */\nclass ViewportRuler {\n constructor(_platform, ngZone, document) {\n this._platform = _platform;\n /** Stream of viewport change events. */\n this._change = new Subject();\n /** Event listener that will be used to handle the viewport change events. */\n this._changeListener = (event) => {\n this._change.next(event);\n };\n this._document = document;\n ngZone.runOutsideAngular(() => {\n if (_platform.isBrowser) {\n const window = this._getWindow();\n // Note that bind the events ourselves, rather than going through something like RxJS's\n // `fromEvent` so that we can ensure that they're bound outside of the NgZone.\n window.addEventListener('resize', this._changeListener);\n window.addEventListener('orientationchange', this._changeListener);\n }\n // Clear the cached position so that the viewport is re-measured next time it is required.\n // We don't need to keep track of the subscription, because it is completed on destroy.\n this.change().subscribe(() => (this._viewportSize = null));\n });\n }\n ngOnDestroy() {\n if (this._platform.isBrowser) {\n const window = this._getWindow();\n window.removeEventListener('resize', this._changeListener);\n window.removeEventListener('orientationchange', this._changeListener);\n }\n this._change.complete();\n }\n /** Returns the viewport's width and height. */\n getViewportSize() {\n if (!this._viewportSize) {\n this._updateViewportSize();\n }\n const output = { width: this._viewportSize.width, height: this._viewportSize.height };\n // If we're not on a browser, don't cache the size since it'll be mocked out anyway.\n if (!this._platform.isBrowser) {\n this._viewportSize = null;\n }\n return output;\n }\n /** Gets a ClientRect for the viewport's bounds. */\n getViewportRect() {\n // Use the document element's bounding rect rather than the window scroll properties\n // (e.g. pageYOffset, scrollY) due to in issue in Chrome and IE where window scroll\n // properties and client coordinates (boundingClientRect, clientX/Y, etc.) are in different\n // conceptual viewports. Under most circumstances these viewports are equivalent, but they\n // can disagree when the page is pinch-zoomed (on devices that support touch).\n // See https://bugs.chromium.org/p/chromium/issues/detail?id=489206#c4\n // We use the documentElement instead of the body because, by default (without a css reset)\n // browsers typically give the document body an 8px margin, which is not included in\n // getBoundingClientRect().\n const scrollPosition = this.getViewportScrollPosition();\n const { width, height } = this.getViewportSize();\n return {\n top: scrollPosition.top,\n left: scrollPosition.left,\n bottom: scrollPosition.top + height,\n right: scrollPosition.left + width,\n height,\n width,\n };\n }\n /** Gets the (top, left) scroll position of the viewport. */\n getViewportScrollPosition() {\n // While we can get a reference to the fake document\n // during SSR, it doesn't have getBoundingClientRect.\n if (!this._platform.isBrowser) {\n return { top: 0, left: 0 };\n }\n // The top-left-corner of the viewport is determined by the scroll position of the document\n // body, normally just (scrollLeft, scrollTop). However, Chrome and Firefox disagree about\n // whether `document.body` or `document.documentElement` is the scrolled element, so reading\n // `scrollTop` and `scrollLeft` is inconsistent. However, using the bounding rect of\n // `document.documentElement` works consistently, where the `top` and `left` values will\n // equal negative the scroll position.\n const document = this._document;\n const window = this._getWindow();\n const documentElement = document.documentElement;\n const documentRect = documentElement.getBoundingClientRect();\n const top = -documentRect.top ||\n document.body.scrollTop ||\n window.scrollY ||\n documentElement.scrollTop ||\n 0;\n const left = -documentRect.left ||\n document.body.scrollLeft ||\n window.scrollX ||\n documentElement.scrollLeft ||\n 0;\n return { top, left };\n }\n /**\n * Returns a stream that emits whenever the size of the viewport changes.\n * This stream emits outside of the Angular zone.\n * @param throttleTime Time in milliseconds to throttle the stream.\n */\n change(throttleTime = DEFAULT_RESIZE_TIME) {\n return throttleTime > 0 ? this._change.pipe(auditTime(throttleTime)) : this._change;\n }\n /** Use defaultView of injected document if available or fallback to global window reference */\n _getWindow() {\n return this._document.defaultView || window;\n }\n /** Updates the cached viewport size. */\n _updateViewportSize() {\n const window = this._getWindow();\n this._viewportSize = this._platform.isBrowser\n ? { width: window.innerWidth, height: window.innerHeight }\n : { width: 0, height: 0 };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: ViewportRuler, deps: [{ token: i1.Platform }, { token: i0.NgZone }, { token: DOCUMENT, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: ViewportRuler, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: ViewportRuler, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: i1.Platform }, { type: i0.NgZone }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [DOCUMENT]\n }] }]; } });\n\nconst VIRTUAL_SCROLLABLE = new InjectionToken('VIRTUAL_SCROLLABLE');\n/**\n * Extending the {@link CdkScrollable} to be used as scrolling container for virtual scrolling.\n */\nclass CdkVirtualScrollable extends CdkScrollable {\n constructor(elementRef, scrollDispatcher, ngZone, dir) {\n super(elementRef, scrollDispatcher, ngZone, dir);\n }\n /**\n * Measure the viewport size for the provided orientation.\n *\n * @param orientation The orientation to measure the size from.\n */\n measureViewportSize(orientation) {\n const viewportEl = this.elementRef.nativeElement;\n return orientation === 'horizontal' ? viewportEl.clientWidth : viewportEl.clientHeight;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkVirtualScrollable, deps: [{ token: i0.ElementRef }, { token: ScrollDispatcher }, { token: i0.NgZone }, { token: i2.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkVirtualScrollable, usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkVirtualScrollable, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: ScrollDispatcher }, { type: i0.NgZone }, { type: i2.Directionality, decorators: [{\n type: Optional\n }] }]; } });\n\n/** Checks if the given ranges are equal. */\nfunction rangesEqual(r1, r2) {\n return r1.start == r2.start && r1.end == r2.end;\n}\n/**\n * Scheduler to be used for scroll events. Needs to fall back to\n * something that doesn't rely on requestAnimationFrame on environments\n * that don't support it (e.g. server-side rendering).\n */\nconst SCROLL_SCHEDULER = typeof requestAnimationFrame !== 'undefined' ? animationFrameScheduler : asapScheduler;\n/** A viewport that virtualizes its scrolling with the help of `CdkVirtualForOf`. */\nclass CdkVirtualScrollViewport extends CdkVirtualScrollable {\n /** The direction the viewport scrolls. */\n get orientation() {\n return this._orientation;\n }\n set orientation(orientation) {\n if (this._orientation !== orientation) {\n this._orientation = orientation;\n this._calculateSpacerSize();\n }\n }\n /**\n * Whether rendered items should persist in the DOM after scrolling out of view. By default, items\n * will be removed.\n */\n get appendOnly() {\n return this._appendOnly;\n }\n set appendOnly(value) {\n this._appendOnly = coerceBooleanProperty(value);\n }\n constructor(elementRef, _changeDetectorRef, ngZone, _scrollStrategy, dir, scrollDispatcher, viewportRuler, scrollable) {\n super(elementRef, scrollDispatcher, ngZone, dir);\n this.elementRef = elementRef;\n this._changeDetectorRef = _changeDetectorRef;\n this._scrollStrategy = _scrollStrategy;\n this.scrollable = scrollable;\n this._platform = inject(Platform);\n /** Emits when the viewport is detached from a CdkVirtualForOf. */\n this._detachedSubject = new Subject();\n /** Emits when the rendered range changes. */\n this._renderedRangeSubject = new Subject();\n this._orientation = 'vertical';\n this._appendOnly = false;\n // Note: we don't use the typical EventEmitter here because we need to subscribe to the scroll\n // strategy lazily (i.e. only if the user is actually listening to the events). We do this because\n // depending on how the strategy calculates the scrolled index, it may come at a cost to\n // performance.\n /** Emits when the index of the first element visible in the viewport changes. */\n this.scrolledIndexChange = new Observable((observer) => this._scrollStrategy.scrolledIndexChange.subscribe(index => Promise.resolve().then(() => this.ngZone.run(() => observer.next(index)))));\n /** A stream that emits whenever the rendered range changes. */\n this.renderedRangeStream = this._renderedRangeSubject;\n /**\n * The total size of all content (in pixels), including content that is not currently rendered.\n */\n this._totalContentSize = 0;\n /** A string representing the `style.width` property value to be used for the spacer element. */\n this._totalContentWidth = '';\n /** A string representing the `style.height` property value to be used for the spacer element. */\n this._totalContentHeight = '';\n /** The currently rendered range of indices. */\n this._renderedRange = { start: 0, end: 0 };\n /** The length of the data bound to this viewport (in number of items). */\n this._dataLength = 0;\n /** The size of the viewport (in pixels). */\n this._viewportSize = 0;\n /** The last rendered content offset that was set. */\n this._renderedContentOffset = 0;\n /**\n * Whether the last rendered content offset was to the end of the content (and therefore needs to\n * be rewritten as an offset to the start of the content).\n */\n this._renderedContentOffsetNeedsRewrite = false;\n /** Whether there is a pending change detection cycle. */\n this._isChangeDetectionPending = false;\n /** A list of functions to run after the next change detection cycle. */\n this._runAfterChangeDetection = [];\n /** Subscription to changes in the viewport size. */\n this._viewportChanges = Subscription.EMPTY;\n if (!_scrollStrategy && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error('Error: cdk-virtual-scroll-viewport requires the \"itemSize\" property to be set.');\n }\n this._viewportChanges = viewportRuler.change().subscribe(() => {\n this.checkViewportSize();\n });\n if (!this.scrollable) {\n // No scrollable is provided, so the virtual-scroll-viewport needs to become a scrollable\n this.elementRef.nativeElement.classList.add('cdk-virtual-scrollable');\n this.scrollable = this;\n }\n }\n ngOnInit() {\n // Scrolling depends on the element dimensions which we can't get during SSR.\n if (!this._platform.isBrowser) {\n return;\n }\n if (this.scrollable === this) {\n super.ngOnInit();\n }\n // It's still too early to measure the viewport at this point. Deferring with a promise allows\n // the Viewport to be rendered with the correct size before we measure. We run this outside the\n // zone to avoid causing more change detection cycles. We handle the change detection loop\n // ourselves instead.\n this.ngZone.runOutsideAngular(() => Promise.resolve().then(() => {\n this._measureViewportSize();\n this._scrollStrategy.attach(this);\n this.scrollable\n .elementScrolled()\n .pipe(\n // Start off with a fake scroll event so we properly detect our initial position.\n startWith(null), \n // Collect multiple events into one until the next animation frame. This way if\n // there are multiple scroll events in the same frame we only need to recheck\n // our layout once.\n auditTime(0, SCROLL_SCHEDULER))\n .subscribe(() => this._scrollStrategy.onContentScrolled());\n this._markChangeDetectionNeeded();\n }));\n }\n ngOnDestroy() {\n this.detach();\n this._scrollStrategy.detach();\n // Complete all subjects\n this._renderedRangeSubject.complete();\n this._detachedSubject.complete();\n this._viewportChanges.unsubscribe();\n super.ngOnDestroy();\n }\n /** Attaches a `CdkVirtualScrollRepeater` to this viewport. */\n attach(forOf) {\n if (this._forOf && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error('CdkVirtualScrollViewport is already attached.');\n }\n // Subscribe to the data stream of the CdkVirtualForOf to keep track of when the data length\n // changes. Run outside the zone to avoid triggering change detection, since we're managing the\n // change detection loop ourselves.\n this.ngZone.runOutsideAngular(() => {\n this._forOf = forOf;\n this._forOf.dataStream.pipe(takeUntil(this._detachedSubject)).subscribe(data => {\n const newLength = data.length;\n if (newLength !== this._dataLength) {\n this._dataLength = newLength;\n this._scrollStrategy.onDataLengthChanged();\n }\n this._doChangeDetection();\n });\n });\n }\n /** Detaches the current `CdkVirtualForOf`. */\n detach() {\n this._forOf = null;\n this._detachedSubject.next();\n }\n /** Gets the length of the data bound to this viewport (in number of items). */\n getDataLength() {\n return this._dataLength;\n }\n /** Gets the size of the viewport (in pixels). */\n getViewportSize() {\n return this._viewportSize;\n }\n // TODO(mmalerba): This is technically out of sync with what's really rendered until a render\n // cycle happens. I'm being careful to only call it after the render cycle is complete and before\n // setting it to something else, but its error prone and should probably be split into\n // `pendingRange` and `renderedRange`, the latter reflecting whats actually in the DOM.\n /** Get the current rendered range of items. */\n getRenderedRange() {\n return this._renderedRange;\n }\n measureBoundingClientRectWithScrollOffset(from) {\n return this.getElementRef().nativeElement.getBoundingClientRect()[from];\n }\n /**\n * Sets the total size of all content (in pixels), including content that is not currently\n * rendered.\n */\n setTotalContentSize(size) {\n if (this._totalContentSize !== size) {\n this._totalContentSize = size;\n this._calculateSpacerSize();\n this._markChangeDetectionNeeded();\n }\n }\n /** Sets the currently rendered range of indices. */\n setRenderedRange(range) {\n if (!rangesEqual(this._renderedRange, range)) {\n if (this.appendOnly) {\n range = { start: 0, end: Math.max(this._renderedRange.end, range.end) };\n }\n this._renderedRangeSubject.next((this._renderedRange = range));\n this._markChangeDetectionNeeded(() => this._scrollStrategy.onContentRendered());\n }\n }\n /**\n * Gets the offset from the start of the viewport to the start of the rendered data (in pixels).\n */\n getOffsetToRenderedContentStart() {\n return this._renderedContentOffsetNeedsRewrite ? null : this._renderedContentOffset;\n }\n /**\n * Sets the offset from the start of the viewport to either the start or end of the rendered data\n * (in pixels).\n */\n setRenderedContentOffset(offset, to = 'to-start') {\n // In appendOnly, we always start from the top\n offset = this.appendOnly && to === 'to-start' ? 0 : offset;\n // For a horizontal viewport in a right-to-left language we need to translate along the x-axis\n // in the negative direction.\n const isRtl = this.dir && this.dir.value == 'rtl';\n const isHorizontal = this.orientation == 'horizontal';\n const axis = isHorizontal ? 'X' : 'Y';\n const axisDirection = isHorizontal && isRtl ? -1 : 1;\n let transform = `translate${axis}(${Number(axisDirection * offset)}px)`;\n this._renderedContentOffset = offset;\n if (to === 'to-end') {\n transform += ` translate${axis}(-100%)`;\n // The viewport should rewrite this as a `to-start` offset on the next render cycle. Otherwise\n // elements will appear to expand in the wrong direction (e.g. `mat-expansion-panel` would\n // expand upward).\n this._renderedContentOffsetNeedsRewrite = true;\n }\n if (this._renderedContentTransform != transform) {\n // We know this value is safe because we parse `offset` with `Number()` before passing it\n // into the string.\n this._renderedContentTransform = transform;\n this._markChangeDetectionNeeded(() => {\n if (this._renderedContentOffsetNeedsRewrite) {\n this._renderedContentOffset -= this.measureRenderedContentSize();\n this._renderedContentOffsetNeedsRewrite = false;\n this.setRenderedContentOffset(this._renderedContentOffset);\n }\n else {\n this._scrollStrategy.onRenderedOffsetChanged();\n }\n });\n }\n }\n /**\n * Scrolls to the given offset from the start of the viewport. Please note that this is not always\n * the same as setting `scrollTop` or `scrollLeft`. In a horizontal viewport with right-to-left\n * direction, this would be the equivalent of setting a fictional `scrollRight` property.\n * @param offset The offset to scroll to.\n * @param behavior The ScrollBehavior to use when scrolling. Default is behavior is `auto`.\n */\n scrollToOffset(offset, behavior = 'auto') {\n const options = { behavior };\n if (this.orientation === 'horizontal') {\n options.start = offset;\n }\n else {\n options.top = offset;\n }\n this.scrollable.scrollTo(options);\n }\n /**\n * Scrolls to the offset for the given index.\n * @param index The index of the element to scroll to.\n * @param behavior The ScrollBehavior to use when scrolling. Default is behavior is `auto`.\n */\n scrollToIndex(index, behavior = 'auto') {\n this._scrollStrategy.scrollToIndex(index, behavior);\n }\n /**\n * Gets the current scroll offset from the start of the scrollable (in pixels).\n * @param from The edge to measure the offset from. Defaults to 'top' in vertical mode and 'start'\n * in horizontal mode.\n */\n measureScrollOffset(from) {\n // This is to break the call cycle\n let measureScrollOffset;\n if (this.scrollable == this) {\n measureScrollOffset = (_from) => super.measureScrollOffset(_from);\n }\n else {\n measureScrollOffset = (_from) => this.scrollable.measureScrollOffset(_from);\n }\n return Math.max(0, measureScrollOffset(from ?? (this.orientation === 'horizontal' ? 'start' : 'top')) -\n this.measureViewportOffset());\n }\n /**\n * Measures the offset of the viewport from the scrolling container\n * @param from The edge to measure from.\n */\n measureViewportOffset(from) {\n let fromRect;\n const LEFT = 'left';\n const RIGHT = 'right';\n const isRtl = this.dir?.value == 'rtl';\n if (from == 'start') {\n fromRect = isRtl ? RIGHT : LEFT;\n }\n else if (from == 'end') {\n fromRect = isRtl ? LEFT : RIGHT;\n }\n else if (from) {\n fromRect = from;\n }\n else {\n fromRect = this.orientation === 'horizontal' ? 'left' : 'top';\n }\n const scrollerClientRect = this.scrollable.measureBoundingClientRectWithScrollOffset(fromRect);\n const viewportClientRect = this.elementRef.nativeElement.getBoundingClientRect()[fromRect];\n return viewportClientRect - scrollerClientRect;\n }\n /** Measure the combined size of all of the rendered items. */\n measureRenderedContentSize() {\n const contentEl = this._contentWrapper.nativeElement;\n return this.orientation === 'horizontal' ? contentEl.offsetWidth : contentEl.offsetHeight;\n }\n /**\n * Measure the total combined size of the given range. Throws if the range includes items that are\n * not rendered.\n */\n measureRangeSize(range) {\n if (!this._forOf) {\n return 0;\n }\n return this._forOf.measureRangeSize(range, this.orientation);\n }\n /** Update the viewport dimensions and re-render. */\n checkViewportSize() {\n // TODO: Cleanup later when add logic for handling content resize\n this._measureViewportSize();\n this._scrollStrategy.onDataLengthChanged();\n }\n /** Measure the viewport size. */\n _measureViewportSize() {\n this._viewportSize = this.scrollable.measureViewportSize(this.orientation);\n }\n /** Queue up change detection to run. */\n _markChangeDetectionNeeded(runAfter) {\n if (runAfter) {\n this._runAfterChangeDetection.push(runAfter);\n }\n // Use a Promise to batch together calls to `_doChangeDetection`. This way if we set a bunch of\n // properties sequentially we only have to run `_doChangeDetection` once at the end.\n if (!this._isChangeDetectionPending) {\n this._isChangeDetectionPending = true;\n this.ngZone.runOutsideAngular(() => Promise.resolve().then(() => {\n this._doChangeDetection();\n }));\n }\n }\n /** Run change detection. */\n _doChangeDetection() {\n this._isChangeDetectionPending = false;\n // Apply the content transform. The transform can't be set via an Angular binding because\n // bypassSecurityTrustStyle is banned in Google. However the value is safe, it's composed of\n // string literals, a variable that can only be 'X' or 'Y', and user input that is run through\n // the `Number` function first to coerce it to a numeric value.\n this._contentWrapper.nativeElement.style.transform = this._renderedContentTransform;\n // Apply changes to Angular bindings. Note: We must call `markForCheck` to run change detection\n // from the root, since the repeated items are content projected in. Calling `detectChanges`\n // instead does not properly check the projected content.\n this.ngZone.run(() => this._changeDetectorRef.markForCheck());\n const runAfterChangeDetection = this._runAfterChangeDetection;\n this._runAfterChangeDetection = [];\n for (const fn of runAfterChangeDetection) {\n fn();\n }\n }\n /** Calculates the `style.width` and `style.height` for the spacer element. */\n _calculateSpacerSize() {\n this._totalContentHeight =\n this.orientation === 'horizontal' ? '' : `${this._totalContentSize}px`;\n this._totalContentWidth =\n this.orientation === 'horizontal' ? `${this._totalContentSize}px` : '';\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkVirtualScrollViewport, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: VIRTUAL_SCROLL_STRATEGY, optional: true }, { token: i2.Directionality, optional: true }, { token: ScrollDispatcher }, { token: ViewportRuler }, { token: VIRTUAL_SCROLLABLE, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkVirtualScrollViewport, isStandalone: true, selector: \"cdk-virtual-scroll-viewport\", inputs: { orientation: \"orientation\", appendOnly: \"appendOnly\" }, outputs: { scrolledIndexChange: \"scrolledIndexChange\" }, host: { properties: { \"class.cdk-virtual-scroll-orientation-horizontal\": \"orientation === \\\"horizontal\\\"\", \"class.cdk-virtual-scroll-orientation-vertical\": \"orientation !== \\\"horizontal\\\"\" }, classAttribute: \"cdk-virtual-scroll-viewport\" }, providers: [\n {\n provide: CdkScrollable,\n useFactory: (virtualScrollable, viewport) => virtualScrollable || viewport,\n deps: [[new Optional(), new Inject(VIRTUAL_SCROLLABLE)], CdkVirtualScrollViewport],\n },\n ], viewQueries: [{ propertyName: \"_contentWrapper\", first: true, predicate: [\"contentWrapper\"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: \"<!--\\n Wrap the rendered content in an element that will be used to offset it based on the scroll\\n position.\\n-->\\n<div #contentWrapper class=\\\"cdk-virtual-scroll-content-wrapper\\\">\\n <ng-content></ng-content>\\n</div>\\n<!--\\n Spacer used to force the scrolling container to the correct size for the *total* number of items\\n so that the scrollbar captures the size of the entire data set.\\n-->\\n<div class=\\\"cdk-virtual-scroll-spacer\\\"\\n [style.width]=\\\"_totalContentWidth\\\" [style.height]=\\\"_totalContentHeight\\\"></div>\\n\", styles: [\"cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkVirtualScrollViewport, decorators: [{\n type: Component,\n args: [{ selector: 'cdk-virtual-scroll-viewport', host: {\n 'class': 'cdk-virtual-scroll-viewport',\n '[class.cdk-virtual-scroll-orientation-horizontal]': 'orientation === \"horizontal\"',\n '[class.cdk-virtual-scroll-orientation-vertical]': 'orientation !== \"horizontal\"',\n }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, providers: [\n {\n provide: CdkScrollable,\n useFactory: (virtualScrollable, viewport) => virtualScrollable || viewport,\n deps: [[new Optional(), new Inject(VIRTUAL_SCROLLABLE)], CdkVirtualScrollViewport],\n },\n ], template: \"<!--\\n Wrap the rendered content in an element that will be used to offset it based on the scroll\\n position.\\n-->\\n<div #contentWrapper class=\\\"cdk-virtual-scroll-content-wrapper\\\">\\n <ng-content></ng-content>\\n</div>\\n<!--\\n Spacer used to force the scrolling container to the correct size for the *total* number of items\\n so that the scrollbar captures the size of the entire data set.\\n-->\\n<div class=\\\"cdk-virtual-scroll-spacer\\\"\\n [style.width]=\\\"_totalContentWidth\\\" [style.height]=\\\"_totalContentHeight\\\"></div>\\n\", styles: [\"cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [VIRTUAL_SCROLL_STRATEGY]\n }] }, { type: i2.Directionality, decorators: [{\n type: Optional\n }] }, { type: ScrollDispatcher }, { type: ViewportRuler }, { type: CdkVirtualScrollable, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [VIRTUAL_SCROLLABLE]\n }] }]; }, propDecorators: { orientation: [{\n type: Input\n }], appendOnly: [{\n type: Input\n }], scrolledIndexChange: [{\n type: Output\n }], _contentWrapper: [{\n type: ViewChild,\n args: ['contentWrapper', { static: true }]\n }] } });\n\n/** Helper to extract the offset of a DOM Node in a certain direction. */\nfunction getOffset(orientation, direction, node) {\n const el = node;\n if (!el.getBoundingClientRect) {\n return 0;\n }\n const rect = el.getBoundingClientRect();\n if (orientation === 'horizontal') {\n return direction === 'start' ? rect.left : rect.right;\n }\n return direction === 'start' ? rect.top : rect.bottom;\n}\n/**\n * A directive similar to `ngForOf` to be used for rendering data inside a virtual scrolling\n * container.\n */\nclass CdkVirtualForOf {\n /** The DataSource to display. */\n get cdkVirtualForOf() {\n return this._cdkVirtualForOf;\n }\n set cdkVirtualForOf(value) {\n this._cdkVirtualForOf = value;\n if (isDataSource(value)) {\n this._dataSourceChanges.next(value);\n }\n else {\n // If value is an an NgIterable, convert it to an array.\n this._dataSourceChanges.next(new ArrayDataSource(isObservable(value) ? value : Array.from(value || [])));\n }\n }\n /**\n * The `TrackByFunction` to use for tracking changes. The `TrackByFunction` takes the index and\n * the item and produces a value to be used as the item's identity when tracking changes.\n */\n get cdkVirtualForTrackBy() {\n return this._cdkVirtualForTrackBy;\n }\n set cdkVirtualForTrackBy(fn) {\n this._needsUpdate = true;\n this._cdkVirtualForTrackBy = fn\n ? (index, item) => fn(index + (this._renderedRange ? this._renderedRange.start : 0), item)\n : undefined;\n }\n /** The template used to stamp out new elements. */\n set cdkVirtualForTemplate(value) {\n if (value) {\n this._needsUpdate = true;\n this._template = value;\n }\n }\n /**\n * The size of the cache used to store templates that are not being used for re-use later.\n * Setting the cache size to `0` will disable caching. Defaults to 20 templates.\n */\n get cdkVirtualForTemplateCacheSize() {\n return this._viewRepeater.viewCacheSize;\n }\n set cdkVirtualForTemplateCacheSize(size) {\n this._viewRepeater.viewCacheSize = coerceNumberProperty(size);\n }\n constructor(\n /** The view container to add items to. */\n _viewContainerRef, \n /** The template to use when stamping out new items. */\n _template, \n /** The set of available differs. */\n _differs, \n /** The strategy used to render items in the virtual scroll viewport. */\n _viewRepeater, \n /** The virtual scrolling viewport that these items are being rendered in. */\n _viewport, ngZone) {\n this._viewContainerRef = _viewContainerRef;\n this._template = _template;\n this._differs = _differs;\n this._viewRepeater = _viewRepeater;\n this._viewport = _viewport;\n /** Emits when the rendered view of the data changes. */\n this.viewChange = new Subject();\n /** Subject that emits when a new DataSource instance is given. */\n this._dataSourceChanges = new Subject();\n /** Emits whenever the data in the current DataSource changes. */\n this.dataStream = this._dataSourceChanges.pipe(\n // Start off with null `DataSource`.\n startWith(null), \n // Bundle up the previous and current data sources so we can work with both.\n pairwise(), \n // Use `_changeDataSource` to disconnect from the previous data source and connect to the\n // new one, passing back a stream of data changes which we run through `switchMap` to give\n // us a data stream that emits the latest data from whatever the current `DataSource` is.\n switchMap(([prev, cur]) => this._changeDataSource(prev, cur)), \n // Replay the last emitted data when someone subscribes.\n shareReplay(1));\n /** The differ used to calculate changes to the data. */\n this._differ = null;\n /** Whether the rendered data should be updated during the next ngDoCheck cycle. */\n this._needsUpdate = false;\n this._destroyed = new Subject();\n this.dataStream.subscribe(data => {\n this._data = data;\n this._onRenderedDataChange();\n });\n this._viewport.renderedRangeStream.pipe(takeUntil(this._destroyed)).subscribe(range => {\n this._renderedRange = range;\n if (this.viewChange.observers.length) {\n ngZone.run(() => this.viewChange.next(this._renderedRange));\n }\n this._onRenderedDataChange();\n });\n this._viewport.attach(this);\n }\n /**\n * Measures the combined size (width for horizontal orientation, height for vertical) of all items\n * in the specified range. Throws an error if the range includes items that are not currently\n * rendered.\n */\n measureRangeSize(range, orientation) {\n if (range.start >= range.end) {\n return 0;\n }\n if ((range.start < this._renderedRange.start || range.end > this._renderedRange.end) &&\n (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error(`Error: attempted to measure an item that isn't rendered.`);\n }\n // The index into the list of rendered views for the first item in the range.\n const renderedStartIndex = range.start - this._renderedRange.start;\n // The length of the range we're measuring.\n const rangeLen = range.end - range.start;\n // Loop over all the views, find the first and land node and compute the size by subtracting\n // the top of the first node from the bottom of the last one.\n let firstNode;\n let lastNode;\n // Find the first node by starting from the beginning and going forwards.\n for (let i = 0; i < rangeLen; i++) {\n const view = this._viewContainerRef.get(i + renderedStartIndex);\n if (view && view.rootNodes.length) {\n firstNode = lastNode = view.rootNodes[0];\n break;\n }\n }\n // Find the last node by starting from the end and going backwards.\n for (let i = rangeLen - 1; i > -1; i--) {\n const view = this._viewContainerRef.get(i + renderedStartIndex);\n if (view && view.rootNodes.length) {\n lastNode = view.rootNodes[view.rootNodes.length - 1];\n break;\n }\n }\n return firstNode && lastNode\n ? getOffset(orientation, 'end', lastNode) - getOffset(orientation, 'start', firstNode)\n : 0;\n }\n ngDoCheck() {\n if (this._differ && this._needsUpdate) {\n // TODO(mmalerba): We should differentiate needs update due to scrolling and a new portion of\n // this list being rendered (can use simpler algorithm) vs needs update due to data actually\n // changing (need to do this diff).\n const changes = this._differ.diff(this._renderedItems);\n if (!changes) {\n this._updateContext();\n }\n else {\n this._applyChanges(changes);\n }\n this._needsUpdate = false;\n }\n }\n ngOnDestroy() {\n this._viewport.detach();\n this._dataSourceChanges.next(undefined);\n this._dataSourceChanges.complete();\n this.viewChange.complete();\n this._destroyed.next();\n this._destroyed.complete();\n this._viewRepeater.detach();\n }\n /** React to scroll state changes in the viewport. */\n _onRenderedDataChange() {\n if (!this._renderedRange) {\n return;\n }\n this._renderedItems = this._data.slice(this._renderedRange.start, this._renderedRange.end);\n if (!this._differ) {\n // Use a wrapper function for the `trackBy` so any new values are\n // picked up automatically without having to recreate the differ.\n this._differ = this._differs.find(this._renderedItems).create((index, item) => {\n return this.cdkVirtualForTrackBy ? this.cdkVirtualForTrackBy(index, item) : item;\n });\n }\n this._needsUpdate = true;\n }\n /** Swap out one `DataSource` for another. */\n _changeDataSource(oldDs, newDs) {\n if (oldDs) {\n oldDs.disconnect(this);\n }\n this._needsUpdate = true;\n return newDs ? newDs.connect(this) : of();\n }\n /** Update the `CdkVirtualForOfContext` for all views. */\n _updateContext() {\n const count = this._data.length;\n let i = this._viewContainerRef.length;\n while (i--) {\n const view = this._viewContainerRef.get(i);\n view.context.index = this._renderedRange.start + i;\n view.context.count = count;\n this._updateComputedContextProperties(view.context);\n view.detectChanges();\n }\n }\n /** Apply changes to the DOM. */\n _applyChanges(changes) {\n this._viewRepeater.applyChanges(changes, this._viewContainerRef, (record, _adjustedPreviousIndex, currentIndex) => this._getEmbeddedViewArgs(record, currentIndex), record => record.item);\n // Update $implicit for any items that had an identity change.\n changes.forEachIdentityChange((record) => {\n const view = this._viewContainerRef.get(record.currentIndex);\n view.context.$implicit = record.item;\n });\n // Update the context variables on all items.\n const count = this._data.length;\n let i = this._viewContainerRef.length;\n while (i--) {\n const view = this._viewContainerRef.get(i);\n view.context.index = this._renderedRange.start + i;\n view.context.count = count;\n this._updateComputedContextProperties(view.context);\n }\n }\n /** Update the computed properties on the `CdkVirtualForOfContext`. */\n _updateComputedContextProperties(context) {\n context.first = context.index === 0;\n context.last = context.index === context.count - 1;\n context.even = context.index % 2 === 0;\n context.odd = !context.even;\n }\n _getEmbeddedViewArgs(record, index) {\n // Note that it's important that we insert the item directly at the proper index,\n // rather than inserting it and the moving it in place, because if there's a directive\n // on the same node that injects the `ViewContainerRef`, Angular will insert another\n // comment node which can throw off the move when it's being repeated for all items.\n return {\n templateRef: this._template,\n context: {\n $implicit: record.item,\n // It's guaranteed that the iterable is not \"undefined\" or \"null\" because we only\n // generate views for elements if the \"cdkVirtualForOf\" iterable has elements.\n cdkVirtualForOf: this._cdkVirtualForOf,\n index: -1,\n count: -1,\n first: false,\n last: false,\n odd: false,\n even: false,\n },\n index,\n };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkVirtualForOf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i0.IterableDiffers }, { token: _VIEW_REPEATER_STRATEGY }, { token: CdkVirtualScrollViewport, skipSelf: true }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkVirtualForOf, isStandalone: true, selector: \"[cdkVirtualFor][cdkVirtualForOf]\", inputs: { cdkVirtualForOf: \"cdkVirtualForOf\", cdkVirtualForTrackBy: \"cdkVirtualForTrackBy\", cdkVirtualForTemplate: \"cdkVirtualForTemplate\", cdkVirtualForTemplateCacheSize: \"cdkVirtualForTemplateCacheSize\" }, providers: [{ provide: _VIEW_REPEATER_STRATEGY, useClass: _RecycleViewRepeaterStrategy }], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkVirtualForOf, decorators: [{\n type: Directive,\n args: [{\n selector: '[cdkVirtualFor][cdkVirtualForOf]',\n providers: [{ provide: _VIEW_REPEATER_STRATEGY, useClass: _RecycleViewRepeaterStrategy }],\n standalone: true,\n }]\n }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: i0.IterableDiffers }, { type: i2$1._RecycleViewRepeaterStrategy, decorators: [{\n type: Inject,\n args: [_VIEW_REPEATER_STRATEGY]\n }] }, { type: CdkVirtualScrollViewport, decorators: [{\n type: SkipSelf\n }] }, { type: i0.NgZone }]; }, propDecorators: { cdkVirtualForOf: [{\n type: Input\n }], cdkVirtualForTrackBy: [{\n type: Input\n }], cdkVirtualForTemplate: [{\n type: Input\n }], cdkVirtualForTemplateCacheSize: [{\n type: Input\n }] } });\n\n/**\n * Provides a virtual scrollable for the element it is attached to.\n */\nclass CdkVirtualScrollableElement extends CdkVirtualScrollable {\n constructor(elementRef, scrollDispatcher, ngZone, dir) {\n super(elementRef, scrollDispatcher, ngZone, dir);\n }\n measureBoundingClientRectWithScrollOffset(from) {\n return (this.getElementRef().nativeElement.getBoundingClientRect()[from] -\n this.measureScrollOffset(from));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkVirtualScrollableElement, deps: [{ token: i0.ElementRef }, { token: ScrollDispatcher }, { token: i0.NgZone }, { token: i2.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkVirtualScrollableElement, isStandalone: true, selector: \"[cdkVirtualScrollingElement]\", host: { classAttribute: \"cdk-virtual-scrollable\" }, providers: [{ provide: VIRTUAL_SCROLLABLE, useExisting: CdkVirtualScrollableElement }], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkVirtualScrollableElement, decorators: [{\n type: Directive,\n args: [{\n selector: '[cdkVirtualScrollingElement]',\n providers: [{ provide: VIRTUAL_SCROLLABLE, useExisting: CdkVirtualScrollableElement }],\n standalone: true,\n host: {\n 'class': 'cdk-virtual-scrollable',\n },\n }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: ScrollDispatcher }, { type: i0.NgZone }, { type: i2.Directionality, decorators: [{\n type: Optional\n }] }]; } });\n\n/**\n * Provides as virtual scrollable for the global / window scrollbar.\n */\nclass CdkVirtualScrollableWindow extends CdkVirtualScrollable {\n constructor(scrollDispatcher, ngZone, dir) {\n super(new ElementRef(document.documentElement), scrollDispatcher, ngZone, dir);\n this._elementScrolled = new Observable((observer) => this.ngZone.runOutsideAngular(() => fromEvent(document, 'scroll').pipe(takeUntil(this._destroyed)).subscribe(observer)));\n }\n measureBoundingClientRectWithScrollOffset(from) {\n return this.getElementRef().nativeElement.getBoundingClientRect()[from];\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkVirtualScrollableWindow, deps: [{ token: ScrollDispatcher }, { token: i0.NgZone }, { token: i2.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkVirtualScrollableWindow, isStandalone: true, selector: \"cdk-virtual-scroll-viewport[scrollWindow]\", providers: [{ provide: VIRTUAL_SCROLLABLE, useExisting: CdkVirtualScrollableWindow }], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkVirtualScrollableWindow, decorators: [{\n type: Directive,\n args: [{\n selector: 'cdk-virtual-scroll-viewport[scrollWindow]',\n providers: [{ provide: VIRTUAL_SCROLLABLE, useExisting: CdkVirtualScrollableWindow }],\n standalone: true,\n }]\n }], ctorParameters: function () { return [{ type: ScrollDispatcher }, { type: i0.NgZone }, { type: i2.Directionality, decorators: [{\n type: Optional\n }] }]; } });\n\nclass CdkScrollableModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkScrollableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkScrollableModule, imports: [CdkScrollable], exports: [CdkScrollable] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkScrollableModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkScrollableModule, decorators: [{\n type: NgModule,\n args: [{\n exports: [CdkScrollable],\n imports: [CdkScrollable],\n }]\n }] });\n/**\n * @docs-primary-export\n */\nclass ScrollingModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: ScrollingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: ScrollingModule, imports: [BidiModule, CdkScrollableModule, CdkVirtualScrollViewport,\n CdkFixedSizeVirtualScroll,\n CdkVirtualForOf,\n CdkVirtualScrollableWindow,\n CdkVirtualScrollableElement], exports: [BidiModule, CdkScrollableModule, CdkFixedSizeVirtualScroll,\n CdkVirtualForOf,\n CdkVirtualScrollViewport,\n CdkVirtualScrollableWindow,\n CdkVirtualScrollableElement] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: ScrollingModule, imports: [BidiModule,\n CdkScrollableModule, BidiModule, CdkScrollableModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: ScrollingModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n BidiModule,\n CdkScrollableModule,\n CdkVirtualScrollViewport,\n CdkFixedSizeVirtualScroll,\n CdkVirtualForOf,\n CdkVirtualScrollableWindow,\n CdkVirtualScrollableElement,\n ],\n exports: [\n BidiModule,\n CdkScrollableModule,\n CdkFixedSizeVirtualScroll,\n CdkVirtualForOf,\n CdkVirtualScrollViewport,\n CdkVirtualScrollableWindow,\n CdkVirtualScrollableElement,\n ],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { CdkFixedSizeVirtualScroll, CdkScrollable, CdkScrollableModule, CdkVirtualForOf, CdkVirtualScrollViewport, CdkVirtualScrollable, CdkVirtualScrollableElement, CdkVirtualScrollableWindow, DEFAULT_RESIZE_TIME, DEFAULT_SCROLL_TIME, FixedSizeVirtualScrollStrategy, ScrollDispatcher, ScrollingModule, VIRTUAL_SCROLLABLE, VIRTUAL_SCROLL_STRATEGY, ViewportRuler, _fixedSizeVirtualScrollStrategyFactory };\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function pairwise() {\n return operate((source, subscriber) => {\n let prev;\n let hasPrev = false;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n const p = prev;\n prev = value;\n hasPrev && subscriber.next([p, value]);\n hasPrev = true;\n }));\n });\n}\n"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]} \ No newline at end of file diff --git a/4477.65c89cff06f625c1.js b/4477.65c89cff06f625c1.js new file mode 100644 index 0000000..9ab7c62 --- /dev/null +++ b/4477.65c89cff06f625c1.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[4477,5106,7376,5187,4091,1217,7208,4968,6785,4155,1084,6896,7920,6980,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,8061,4680,2111,3326,8596,8352,5501,882,3098,8467,6578,4093,8608,8443,7328,5915,3278,5391,6748,1551,6763,4151,5069,7432,8071,6618],{20591:(v,i,e)=>{e.d(i,{E:()=>a});var a=new(e(90833).y)(function(t){return t.complete()})},37400:(v,i,e)=>{e.d(i,{D:()=>P});var u=e(54987),a=e(8728),n=e(41944);function o(c){var s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,n.e)(function(E,b){b.add(c.schedule(function(){return E.subscribe(b)},s))})}var r=e(90833),f=e(67321),y=e(92971),d=e(1817);function h(c,s){if(!c)throw new Error("Iterable cannot be null");return new r.y(function(E){(0,d.f)(E,s,function(){var b=c[Symbol.asyncIterator]();(0,d.f)(E,s,function(){b.next().then(function(A){A.done?E.complete():E.next(A.value)})},0,!0)})})}var p=e(21331),m=e(79548),D=e(99806),I=e(23433),U=e(80470),g=e(27785),M=e(20181);function P(c,s){return s?function R(c,s){if(null!=c){if((0,p.c)(c))return function t(c,s){return(0,u.Xf)(c).pipe(o(s),(0,a.Q)(s))}(c,s);if((0,D.z)(c))return function l(c,s){return new r.y(function(E){var b=0;return s.schedule(function(){b===c.length?E.complete():(E.next(c[b++]),E.closed||this.schedule())})})}(c,s);if((0,m.t)(c))return function _(c,s){return(0,u.Xf)(c).pipe(o(s),(0,a.Q)(s))}(c,s);if((0,U.D)(c))return h(c,s);if((0,I.T)(c))return function O(c,s){return new r.y(function(E){var b;return(0,d.f)(E,s,function(){b=c[f.h](),(0,d.f)(E,s,function(){var A,L;try{var Z=b.next();A=Z.value,L=Z.done}catch(C){return void E.error(C)}L?E.complete():E.next(A)},0,!0)}),function(){return(0,y.m)(b?.return)&&b.return()}})}(c,s);if((0,M.L)(c))return function T(c,s){return h((0,M.Q)(c),s)}(c,s)}throw(0,g.z)(c)}(c,s):(0,u.Xf)(c)}},10745:(v,i,e)=>{e.d(i,{of:()=>n});var u=e(10420),a=e(37400);function n(){for(var o=arguments.length,t=new Array(o),_=0;_<o;_++)t[_]=arguments[_];var r=(0,u.yG)(t);return(0,a.D)(t,r)}},25474:(v,i,e)=>{e.d(i,{_:()=>n});var u=e(90833),a=e(92971);function n(o,t){var _=(0,a.m)(o)?o:function(){return o},r=function(f){return f.error(_())};return new u.y(t?function(l){return t.schedule(r,0,l)}:r)}},93945:(v,i,e)=>{e.d(i,{Q:()=>y,x:()=>f});var u=e(78069),a=e(48047),n=e(35488),o=e(24582),t=e(28694),_=e(4089),r=e(20265);function f(d,O,h,p,m){return new y(d,O,h,p,m)}var y=function(d){(0,o.Z)(h,d);var O=(0,t.Z)(h);function h(p,m,D,I,U,g){var M,T,R,P;return(0,u.Z)(this,h),(P=O.call(this,p)).onFinalize=U,P.shouldUnsubscribe=g,P._next=m?function(c){try{m(c)}catch(s){p.error(s)}}:(0,_.Z)((M=(0,n.Z)(P),(0,r.Z)(h.prototype)),"_next",M),P._error=I?function(c){try{I(c)}catch(s){p.error(s)}finally{this.unsubscribe()}}:(0,_.Z)((T=(0,n.Z)(P),(0,r.Z)(h.prototype)),"_error",T),P._complete=D?function(){try{D()}catch(c){p.error(c)}finally{this.unsubscribe()}}:(0,_.Z)((R=(0,n.Z)(P),(0,r.Z)(h.prototype)),"_complete",R),P}return(0,a.Z)(h,[{key:"unsubscribe",value:function(){var m;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var D=this.closed;(0,_.Z)((0,r.Z)(h.prototype),"unsubscribe",this).call(this),!D&&(null===(m=this.onFinalize)||void 0===m||m.call(this))}}}]),h}(e(5463).Lv)},53158:(v,i,e)=>{e.d(i,{K:()=>o});var u=e(54987),a=e(93945),n=e(41944);function o(t){return(0,n.e)(function(_,r){var y,l=null,f=!1;l=_.subscribe((0,a.x)(r,void 0,void 0,function(d){y=(0,u.Xf)(t(d,o(t)(_))),l?(l.unsubscribe(),l=null,y.subscribe(r)):f=!0})),f&&(l.unsubscribe(),l=null,y.subscribe(r))})}},8728:(v,i,e)=>{e.d(i,{Q:()=>o});var u=e(1817),a=e(41944),n=e(93945);function o(t){var _=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,a.e)(function(r,l){r.subscribe((0,n.x)(l,function(f){return(0,u.f)(l,t,function(){return l.next(f)},_)},function(){return(0,u.f)(l,t,function(){return l.complete()},_)},function(f){return(0,u.f)(l,t,function(){return l.error(f)},_)}))})}},59295:(v,i,e)=>{e.d(i,{q:()=>o});var u=e(20591),a=e(41944),n=e(93945);function o(t){return t<=0?function(){return u.E}:(0,a.e)(function(_,r){var l=0;_.subscribe((0,n.x)(r,function(f){++l<=t&&(r.next(f),t<=l&&r.complete())}))})}},19337:(v,i,e)=>{e.d(i,{b:()=>t});var u=e(92971),a=e(41944),n=e(93945),o=e(89173);function t(_,r,l){var f=(0,u.m)(_)||r||l?{next:_,error:r,complete:l}:_;return f?(0,a.e)(function(y,d){var O;null===(O=f.subscribe)||void 0===O||O.call(f);var h=!0;y.subscribe((0,n.x)(d,function(p){var m;null===(m=f.next)||void 0===m||m.call(f,p),d.next(p)},function(){var p;h=!1,null===(p=f.complete)||void 0===p||p.call(f),d.complete()},function(p){var m;h=!1,null===(m=f.error)||void 0===m||m.call(f,p),d.error(p)},function(){var p,m;h&&(null===(p=f.unsubscribe)||void 0===p||p.call(f)),null===(m=f.finalize)||void 0===m||m.call(f)}))}):o.y}},10420:(v,i,e)=>{e.d(i,{_6:()=>_,jO:()=>o,yG:()=>t});var u=e(92971),a=e(59867);function n(r){return r[r.length-1]}function o(r){return(0,u.m)(n(r))?r.pop():void 0}function t(r){return(0,a.K)(n(r))?r.pop():void 0}function _(r,l){return"number"==typeof n(r)?r.pop():l}},45756:(v,i,e)=>{e.d(i,{D:()=>t});var u=Array.isArray,a=Object.getPrototypeOf,n=Object.prototype,o=Object.keys;function t(r){if(1===r.length){var l=r[0];if(u(l))return{args:l,keys:null};if(function _(r){return r&&"object"==typeof r&&a(r)===n}(l)){var f=o(l);return{args:f.map(function(y){return l[y]}),keys:f}}}return{args:r,keys:null}}},11054:(v,i,e)=>{function u(a,n){return a.reduce(function(o,t,_){return o[t]=n[_],o},{})}e.d(i,{n:()=>u})},41944:(v,i,e)=>{e.d(i,{A:()=>a,e:()=>n});var u=e(92971);function a(o){return(0,u.m)(o?.lift)}function n(o){return function(t){if(a(t))return t.lift(function(_){try{return o(_,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}},58385:(v,i,e)=>{e.d(i,{Z:()=>t});var u=e(86170),a=e(50635),n=Array.isArray;function t(_){return(0,a.U)(function(r){return function o(_,r){return n(r)?_.apply(void 0,(0,u.Z)(r)):_(r)}(_,r)})}},44841:(v,i,e)=>{function u(a,n){(null==n||n>a.length)&&(n=a.length);for(var o=0,t=new Array(n);o<n;o++)t[o]=a[o];return t}e.d(i,{Z:()=>u})},35488:(v,i,e)=>{function u(a){if(void 0===a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}e.d(i,{Z:()=>u})},95106:(v,i,e)=>{e.d(i,{Z:()=>a});var u=e(44206);function a(n,o){var t=typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(!t){if(Array.isArray(n)||(t=(0,u.Z)(n))||o&&n&&"number"==typeof n.length){t&&(n=t);var _=0,r=function(){};return{s:r,n:function(){return _>=n.length?{done:!0}:{done:!1,value:n[_++]}},e:function(O){throw O},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var y,l=!0,f=!1;return{s:function(){t=t.call(n)},n:function(){var O=t.next();return l=O.done,O},e:function(O){f=!0,y=O},f:function(){try{!l&&null!=t.return&&t.return()}finally{if(f)throw y}}}}},28694:(v,i,e)=>{e.d(i,{Z:()=>_});var u=e(20265),a=e(98568),n=e(43445),o=e(35488);function _(r){var l=(0,a.Z)();return function(){var d,y=(0,u.Z)(r);if(l){var O=(0,u.Z)(this).constructor;d=Reflect.construct(y,arguments,O)}else d=y.apply(this,arguments);return function t(r,l){if(l&&("object"===(0,n.Z)(l)||"function"==typeof l))return l;if(void 0!==l)throw new TypeError("Derived constructors may only return object or undefined");return(0,o.Z)(r)}(this,d)}}},4089:(v,i,e)=>{e.d(i,{Z:()=>n});var u=e(20265);function n(){return n=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(t,_,r){var l=function a(o,t){for(;!Object.prototype.hasOwnProperty.call(o,t)&&null!==(o=(0,u.Z)(o)););return o}(t,_);if(l){var f=Object.getOwnPropertyDescriptor(l,_);return f.get?f.get.call(arguments.length<3?t:r):f.value}},n.apply(this,arguments)}},20265:(v,i,e)=>{function u(a){return(u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(o){return o.__proto__||Object.getPrototypeOf(o)})(a)}e.d(i,{Z:()=>u})},24582:(v,i,e)=>{e.d(i,{Z:()=>a});var u=e(10006);function a(n,o){if("function"!=typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(o&&o.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),o&&(0,u.Z)(n,o)}},98568:(v,i,e)=>{function u(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(i,{Z:()=>u})},4826:(v,i,e)=>{function u(a){if(typeof Symbol<"u"&&null!=a[Symbol.iterator]||null!=a["@@iterator"])return Array.from(a)}e.d(i,{Z:()=>u})},10006:(v,i,e)=>{function u(a,n){return(u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,_){return t.__proto__=_,t})(a,n)}e.d(i,{Z:()=>u})},86170:(v,i,e)=>{e.d(i,{Z:()=>_});var u=e(44841),n=e(4826),o=e(44206);function _(r){return function a(r){if(Array.isArray(r))return(0,u.Z)(r)}(r)||(0,n.Z)(r)||(0,o.Z)(r)||function t(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(v,i,e)=>{e.d(i,{Z:()=>a});var u=e(44841);function a(n,o){if(n){if("string"==typeof n)return(0,u.Z)(n,o);var t=Object.prototype.toString.call(n).slice(8,-1);if("Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t)return Array.from(n);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return(0,u.Z)(n,o)}}}}]); +//# sourceMappingURL=4477.65c89cff06f625c1.js.map \ No newline at end of file diff --git a/4477.65c89cff06f625c1.js.map b/4477.65c89cff06f625c1.js.map new file mode 100644 index 0000000..482406c --- /dev/null +++ b/4477.65c89cff06f625c1.js.map @@ -0,0 +1 @@ +{"version":3,"file":"4477.65c89cff06f625c1.js","mappings":"2VACaA,EAAQ,aAAIC,GAAW,SAACC,GAAU,OAAKA,EAAWC,UAAU,yECAlE,SAASC,EAAYC,GAAsB,IAAXC,EAAKC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAG,EAC3C,SAAOG,KAAQ,SAACC,EAAQT,GACpBA,EAAWU,IAAIP,EAAUQ,SAAS,kBAAMF,EAAOG,UAAUZ,EAAW,EAAEI,GAC1E,EACJ,gDCHO,SAASS,EAAsBC,EAAOX,GACzC,IAAKW,EACD,MAAM,IAAIC,MAAM,2BAEpB,OAAO,IAAIhB,IAAW,SAACC,IACnBgB,OAAgBhB,EAAYG,EAAW,WACnC,IAAMc,EAAWH,EAAMI,OAAOC,kBAC9BH,OAAgBhB,EAAYG,EAAW,WACnCc,EAASG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,MAAA2D,QAAAN,GAAA,SAAiC2F,EAAApD,GAAgBvC,EACjD,CDES0F,CAAiB1F,KAAA,EAAS4F,EAAArD,GAAevC,KAAA,EAAS6F,EAAAtD,GAA0BvC,IELtE,SAAA8F,IACf,UAAAvE,UAAA,uIACA,CFG8FuE,EAC9F,mDGLe,SAAAC,EAAA5D,EAAA6D,GACf,GAAA7D,EACA,qBAAAA,EAAA,SAAoC8D,EAAA1D,GAAgBJ,EAAA6D,GACpD,IAAAtD,EAAAlC,OAAAhC,UAAA0H,SAAA/H,KAAAgE,GAAAgE,MAAA,MAEA,GADA,WAAAzD,GAAAP,EAAAoB,cAAAb,EAAAP,EAAAoB,YAAA6C,MACA,QAAA1D,GAAA,QAAAA,EAAA,OAAA/F,MAAA9B,KAAAsH,GACA,iBAAAO,GAAA,2CAAA2D,KAAA3D,GAAA,SAAsFuD,EAAA1D,GAAgBJ,EAAA6D,EAAA,CACtG","names":["EMPTY","Observable","subscriber","complete","subscribeOn","scheduler","delay","arguments","length","undefined","operate","source","add","schedule","subscribe","scheduleAsyncIterable","input","Error","executeSchedule","iterator","Symbol","asyncIterator","next","then","result","done","value","from","scheduled","isInteropObservable","scheduleObservable","innerFrom","pipe","observeOn","isArrayLike","scheduleArray","i","closed","this","isPromise","schedulePromise","isAsyncIterable","isIterable","scheduleIterable","Symbol_iterator","_iterator$next","err","error","isFunction","return","isReadableStreamLike","scheduleReadableStreamLike","readableStreamLikeToAsyncGenerator","createInvalidObservableTypeError","of","_len","args","Array","_key","popScheduler","throwError","errorOrErrorFactory","errorFactory","init","createOperatorSubscriber","destination","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","_inherits","_super","_createSuper","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_this","_classCallCheck","call","_next","_get","_assertThisInitialized","_getPrototypeOf","prototype","_error","unsubscribe","_complete","_createClass","key","_a","Subscriber","catchError","selector","handledResult","innerSub","syncUnsub","take","count","seen","tap","observerOrNext","tapObserver","isUnsub","_b","finalize","identity","last","arr","popResultSelector","pop","isScheduler","popNumber","defaultValue","isArray","getPrototypeOf","Object","objectProto","getKeys","keys","argsArgArrayOrObject","first","isPOJO","obj","map","createObject","values","reduce","hasLift","lift","liftedSource","TypeError","mapOneOrManyArgs","fn","callOrApply","apply","_toConsumableArray","_arrayLikeToArray","len","arr2","self","ReferenceError","_createForOfIteratorHelper","o","allowArrayLike","it","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","s","n","e","_e","f","normalCompletion","didErr","step","_e2","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Super","NewTarget","constructor","Reflect","construct","_possibleConstructorReturn","esm_typeof","assertThisInitialized","get","bind","target","property","receiver","base","_superPropBase","object","hasOwnProperty","desc","getOwnPropertyDescriptor","setPrototypeOf","__proto__","subClass","superClass","create","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_iterableToArray","iter","_setPrototypeOf","p","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","toString","slice","name","test"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/observable/empty.js","./node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleAsyncIterable.js","./node_modules/rxjs/dist/esm/internal/observable/from.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduled.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleObservable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleArray.js","./node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleIterable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleReadableStreamLike.js","./node_modules/rxjs/dist/esm/internal/observable/of.js","./node_modules/rxjs/dist/esm/internal/observable/throwError.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/catchError.js","./node_modules/rxjs/dist/esm/internal/operators/observeOn.js","./node_modules/rxjs/dist/esm/internal/operators/take.js","./node_modules/rxjs/dist/esm/internal/operators/tap.js","./node_modules/rxjs/dist/esm/internal/util/args.js","./node_modules/rxjs/dist/esm/internal/util/argsArgArrayOrObject.js","./node_modules/rxjs/dist/esm/internal/util/createObject.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/rxjs/dist/esm/internal/util/mapOneOrManyArgs.js","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { Observable } from '../Observable';\nexport const EMPTY = new Observable((subscriber) => subscriber.complete());\nexport function empty(scheduler) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n return new Observable((subscriber) => scheduler.schedule(() => subscriber.complete()));\n}\n","import { operate } from '../util/lift';\nexport function subscribeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay));\n });\n}\n","import { Observable } from '../Observable';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleAsyncIterable(input, scheduler) {\n if (!input) {\n throw new Error('Iterable cannot be null');\n }\n return new Observable((subscriber) => {\n executeSchedule(subscriber, scheduler, () => {\n const iterator = input[Symbol.asyncIterator]();\n executeSchedule(subscriber, scheduler, () => {\n iterator.next().then((result) => {\n if (result.done) {\n subscriber.complete();\n }\n else {\n subscriber.next(result.value);\n }\n });\n }, 0, true);\n });\n });\n}\n","import { scheduled } from '../scheduled/scheduled';\nimport { innerFrom } from './innerFrom';\nexport function from(input, scheduler) {\n return scheduler ? scheduled(input, scheduler) : innerFrom(input);\n}\n","import { scheduleObservable } from './scheduleObservable';\nimport { schedulePromise } from './schedulePromise';\nimport { scheduleArray } from './scheduleArray';\nimport { scheduleIterable } from './scheduleIterable';\nimport { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isPromise } from '../util/isPromise';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isIterable } from '../util/isIterable';\nimport { isAsyncIterable } from '../util/isAsyncIterable';\nimport { createInvalidObservableTypeError } from '../util/throwUnobservableError';\nimport { isReadableStreamLike } from '../util/isReadableStreamLike';\nimport { scheduleReadableStreamLike } from './scheduleReadableStreamLike';\nexport function scheduled(input, scheduler) {\n if (input != null) {\n if (isInteropObservable(input)) {\n return scheduleObservable(input, scheduler);\n }\n if (isArrayLike(input)) {\n return scheduleArray(input, scheduler);\n }\n if (isPromise(input)) {\n return schedulePromise(input, scheduler);\n }\n if (isAsyncIterable(input)) {\n return scheduleAsyncIterable(input, scheduler);\n }\n if (isIterable(input)) {\n return scheduleIterable(input, scheduler);\n }\n if (isReadableStreamLike(input)) {\n return scheduleReadableStreamLike(input, scheduler);\n }\n }\n throw createInvalidObservableTypeError(input);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function scheduleObservable(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nexport function scheduleArray(input, scheduler) {\n return new Observable((subscriber) => {\n let i = 0;\n return scheduler.schedule(function () {\n if (i === input.length) {\n subscriber.complete();\n }\n else {\n subscriber.next(input[i++]);\n if (!subscriber.closed) {\n this.schedule();\n }\n }\n });\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function schedulePromise(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from '../util/isFunction';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleIterable(input, scheduler) {\n return new Observable((subscriber) => {\n let iterator;\n executeSchedule(subscriber, scheduler, () => {\n iterator = input[Symbol_iterator]();\n executeSchedule(subscriber, scheduler, () => {\n let value;\n let done;\n try {\n ({ value, done } = iterator.next());\n }\n catch (err) {\n subscriber.error(err);\n return;\n }\n if (done) {\n subscriber.complete();\n }\n else {\n subscriber.next(value);\n }\n }, 0, true);\n });\n return () => isFunction(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return();\n });\n}\n","import { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { readableStreamLikeToAsyncGenerator } from '../util/isReadableStreamLike';\nexport function scheduleReadableStreamLike(input, scheduler) {\n return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);\n}\n","import { popScheduler } from '../util/args';\nimport { from } from './from';\nexport function of(...args) {\n const scheduler = popScheduler(args);\n return from(args, scheduler);\n}\n","import { Observable } from '../Observable';\nimport { isFunction } from '../util/isFunction';\nexport function throwError(errorOrErrorFactory, scheduler) {\n const errorFactory = isFunction(errorOrErrorFactory) ? errorOrErrorFactory : () => errorOrErrorFactory;\n const init = (subscriber) => subscriber.error(errorFactory());\n return new Observable(scheduler ? (subscriber) => scheduler.schedule(init, 0, subscriber) : init);\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { operate } from '../util/lift';\nexport function catchError(selector) {\n return operate((source, subscriber) => {\n let innerSub = null;\n let syncUnsub = false;\n let handledResult;\n innerSub = source.subscribe(createOperatorSubscriber(subscriber, undefined, undefined, (err) => {\n handledResult = innerFrom(selector(err, catchError(selector)(source)));\n if (innerSub) {\n innerSub.unsubscribe();\n innerSub = null;\n handledResult.subscribe(subscriber);\n }\n else {\n syncUnsub = true;\n }\n }));\n if (syncUnsub) {\n innerSub.unsubscribe();\n innerSub = null;\n handledResult.subscribe(subscriber);\n }\n });\n}\n","import { executeSchedule } from '../util/executeSchedule';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function observeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, (value) => executeSchedule(subscriber, scheduler, () => subscriber.next(value), delay), () => executeSchedule(subscriber, scheduler, () => subscriber.complete(), delay), (err) => executeSchedule(subscriber, scheduler, () => subscriber.error(err), delay)));\n });\n}\n","import { EMPTY } from '../observable/empty';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function take(count) {\n return count <= 0\n ?\n () => EMPTY\n : operate((source, subscriber) => {\n let seen = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n if (++seen <= count) {\n subscriber.next(value);\n if (count <= seen) {\n subscriber.complete();\n }\n }\n }));\n });\n}\n","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 ?\n { next: observerOrNext, error, complete }\n : observerOrNext;\n return tapObserver\n ? operate((source, subscriber) => {\n var _a;\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 (_a = tapObserver.next) === null || _a === void 0 ? void 0 : _a.call(tapObserver, value);\n subscriber.next(value);\n }, () => {\n var _a;\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 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 if (isUnsub) {\n (_a = tapObserver.unsubscribe) === null || _a === void 0 ? void 0 : _a.call(tapObserver);\n }\n (_b = tapObserver.finalize) === null || _b === void 0 ? void 0 : _b.call(tapObserver);\n }));\n })\n :\n identity;\n}\n","import { isFunction } from './isFunction';\nimport { isScheduler } from './isScheduler';\nfunction last(arr) {\n return arr[arr.length - 1];\n}\nexport function popResultSelector(args) {\n return isFunction(last(args)) ? args.pop() : undefined;\n}\nexport function popScheduler(args) {\n return isScheduler(last(args)) ? args.pop() : undefined;\n}\nexport function popNumber(args, defaultValue) {\n return typeof last(args) === 'number' ? args.pop() : defaultValue;\n}\n","const { isArray } = Array;\nconst { getPrototypeOf, prototype: objectProto, keys: getKeys } = Object;\nexport function argsArgArrayOrObject(args) {\n if (args.length === 1) {\n const first = args[0];\n if (isArray(first)) {\n return { args: first, keys: null };\n }\n if (isPOJO(first)) {\n const keys = getKeys(first);\n return {\n args: keys.map((key) => first[key]),\n keys,\n };\n }\n }\n return { args: args, keys: null };\n}\nfunction isPOJO(obj) {\n return obj && typeof obj === 'object' && getPrototypeOf(obj) === objectProto;\n}\n","export function createObject(keys, values) {\n return keys.reduce((result, key, i) => ((result[key] = values[i]), result), {});\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","import { map } from \"../operators/map\";\nconst { isArray } = Array;\nfunction callOrApply(fn, args) {\n return isArray(args) ? fn(...args) : fn(args);\n}\nexport function mapOneOrManyArgs(fn) {\n return map(args => callOrApply(fn, args));\n}\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37]} \ No newline at end of file diff --git a/4589.c0c58fd8d6ae092a.js b/4589.c0c58fd8d6ae092a.js new file mode 100644 index 0000000..27aee77 --- /dev/null +++ b/4589.c0c58fd8d6ae092a.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[4589,5603,9880],{80464:(G,x)=>{function Z(s){return s.replace(/[-[\]/{}()*+?.\\^$]/g,"\\$&")}function g(s,t){var h=(void 0===t?{}:t).decimalMark,a=void 0===h?".":h;if("number"==typeof s)return s.toString();if("string"!=typeof s)return"NaN";var w=Z(a),y=s.trim(),O=y.match(/^\(.*\)$|^-/),k=new RegExp("[^\\d"+w+"]|"+w+"(?=.*"+w+")|^\\D*"+w+"\\D*$","g");return""===(y=y.replace(k,"").replace(a,"."))?y="NaN":O&&(y="-"+y),y}x.He=void 0,x.He=function A(s,t){var h=(void 0===t?{}:t).decimalMark,w=g(s,{decimalMark:void 0===h?".":h});return"NaN"===w?NaN:Number(w)}},44589:(G,x,d)=>{d.r(x),d.d(x,{ATTRIBUTE_WIDGET:()=>F,Attribute:()=>z,AttributeMatcherService:()=>j,AttributePipe:()=>Q,AttributeSerializerService:()=>q,AttributeTypes:()=>l,AttributeValue:()=>I,AttributeWidget:()=>K,AttributeWidgetComponent:()=>V,AttributesBuilderComponent:()=>C,AttributesModule:()=>Y,ValueComputerService:()=>H,WidgetPluginManager:()=>T,WidgetsService:()=>S});var Z=d(77797),g=d(35603),A=d(86170),v=d(24582),M=d(28694),f=d(78069),s=d(48047),t=d(56718),m=d(94055),h=d(3267),a=d(47405),w=d(69490),y=d(10745),O=d(25813),k=d(8154),U=d(30972),D=d(26073),R=d(80464);function P(r,i){}function p(r,i){if(1&r&&(t.\u0275\u0275elementStart(0,"div",4),t.\u0275\u0275element(1,"classifieds-ui-attribute-widget",5),t.\u0275\u0275elementEnd()),2&r){var n=i.index,e=t.\u0275\u0275nextContext();t.\u0275\u0275propertyInterpolate("formGroupName",n),t.\u0275\u0275advance(1),t.\u0275\u0275property("attribute",e.attributes[n])("widget",e.discoverWidget(e.attributes[n].widget))("appearance",e.appearance)}}function N(r,i){1&r&&(t.\u0275\u0275elementStart(0,"div")(1,"p"),t.\u0275\u0275text(2,"No attributes available for ad type. Click next to continue."),t.\u0275\u0275elementEnd()())}var F=new t.InjectionToken("AttributeWidget"),S=function(){var r=function(){function i(n){(0,f.Z)(this,i),this.widgets=n}return(0,s.Z)(i,[{key:"get",value:function(e){return this.widgets.find(function(o){return o.name===e})}}]),i}();return r.\u0275fac=function(n){return new(n||r)(t.\u0275\u0275inject(F))},r.\u0275prov=t.\u0275\u0275defineInjectable({token:r,factory:r.\u0275fac}),r}(),T=function(){var r=function(i){(0,v.Z)(e,i);var n=(0,M.Z)(e);function e(o,u){return(0,f.Z)(this,e),n.call(this,o,u)}return(0,s.Z)(e,[{key:"pluginDef",value:function(){return(0,y.of)(new O.PluginDef({name:"widget"}))}}]),e}(O.BasePluginManager);return r.\u0275fac=function(n){return new(n||r)(t.\u0275\u0275inject(O.PluginConfigurationManager),t.\u0275\u0275inject(k.ModuleLoaderService))},r.\u0275prov=t.\u0275\u0275defineInjectable({token:r,factory:r.\u0275fac,providedIn:"root"}),r}(),b=function(){var r=(0,s.Z)(function i(n){(0,f.Z)(this,i),this.viewContainerRef=n});return r.\u0275fac=function(n){return new(n||r)(t.\u0275\u0275directiveInject(t.ViewContainerRef))},r.\u0275dir=t.\u0275\u0275defineDirective({type:r,selectors:[["","classifiedsUiWidgetHost",""]]}),r}(),V=function(){var r=function(){function i(n,e){(0,f.Z)(this,i),this.componentFactoryResolver=n,this.controlContainer=e,this.appearance="legacy"}return(0,s.Z)(i,[{key:"ngOnInit",value:function(){var e=this;this.widget.subscribe(function(o){var u=e.componentFactoryResolver.resolveComponentFactory(o.component),c=e.widgetHost.viewContainerRef;c.clear();var _=c.createComponent(u);_.instance.attribute=e.attribute,_.instance.appearance=e.appearance})}}]),i}();return r.\u0275fac=function(n){return new(n||r)(t.\u0275\u0275directiveInject(t.ComponentFactoryResolver),t.\u0275\u0275directiveInject(a.ControlContainer))},r.\u0275cmp=t.\u0275\u0275defineComponent({type:r,selectors:[["classifieds-ui-attribute-widget"]],viewQuery:function(n,e){var o;1&n&&t.\u0275\u0275viewQuery(b,7),2&n&&t.\u0275\u0275queryRefresh(o=t.\u0275\u0275loadQuery())&&(e.widgetHost=o.first)},inputs:{widget:"widget",attribute:"attribute",appearance:"appearance"},decls:2,vars:1,consts:[[3,"formGroup"],["classifiedsUiWidgetHost",""]],template:function(n,e){1&n&&(t.\u0275\u0275elementContainerStart(0,0),t.\u0275\u0275template(1,P,0,0,"ng-template",1),t.\u0275\u0275elementContainerEnd()),2&n&&t.\u0275\u0275property("formGroup",e.controlContainer.control)},dependencies:[a.NgControlStatusGroup,a.FormGroupDirective,b]}),r}(),C=function(){var r=function(){function i(n,e){(0,f.Z)(this,i),this.widgetsService=n,this.wpm=e,this.attributes=[],this.appearance="legacy",this.attributesForm=new a.UntypedFormGroup({attributes:new a.UntypedFormArray([])}),this._attributeValues=[],this.onTouched=function(){}}return(0,s.Z)(i,[{key:"attributeValues",get:function(){return this._attributeValues},set:function(e){this._attributeValues=e,this.applyValues()}},{key:"attributesArray",get:function(){return this.attributesForm.get("attributes")}},{key:"ngOnChanges",value:function(e){var o=this;if(e.attributes&&(!e.attributes.previousValue||e.attributes.previousValue!==e.attributes.currentValue)){for(;0!==this.attributesArray.length;)this.attributesArray.removeAt(0);this.attributes.forEach(function(u){o.attributesArray.push(new a.UntypedFormGroup({name:new a.UntypedFormControl(u.name,a.Validators.required),type:new a.UntypedFormControl(u.type,a.Validators.required),displayName:new a.UntypedFormControl(u.label,a.Validators.required),value:new a.UntypedFormControl("",u.required?a.Validators.required:[]),attributes:new a.UntypedFormArray(u.attributes?u.attributes.map(function(c){return new a.UntypedFormGroup({name:new a.UntypedFormControl(c.name,a.Validators.required),type:new a.UntypedFormControl(c.type,a.Validators.required),displayName:new a.UntypedFormControl(c.label,a.Validators.required),value:new a.UntypedFormControl("",c.required?a.Validators.required:[])})}):[])}))}),this.applyValues()}}},{key:"writeValue",value:function(e){e&&(console.log("write value: ".concat(e)),this.attributesArray.setValue(e,{emitEvent:!1}))}},{key:"registerOnChange",value:function(e){this.attributesArray.valueChanges.subscribe(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){e?this.attributesArray.disable():this.attributesArray.enable()}},{key:"validate",value:function(e){return this.attributesForm.valid?null:{invalidForm:{valid:!1,message:"attributes are invalid"}}}},{key:"discoverWidget",value:function(e){return this.wpm.getPlugin(e)}},{key:"applyValues",value:function(){var e=this;this.attributesArray.controls.forEach(function(o,u){var c=e.attributeValues?e.attributeValues.find(function(_){return _.name===o.get("name").value}):void 0;void 0!==c&&(o.get("value").setValue(c.value),o.updateValueAndValidity()),o.get("attributes").controls.forEach(function(_){var E=e.attributeValues&&void 0!==e.attributeValues[u]?e.attributeValues[u].attributes.find(function(W){return W.name===_.get("name").value}):void 0;void 0!==E&&(_.get("value").setValue(E.value),_.updateValueAndValidity())})})}}]),i}();return r.\u0275fac=function(n){return new(n||r)(t.\u0275\u0275directiveInject(S),t.\u0275\u0275directiveInject(T))},r.\u0275cmp=t.\u0275\u0275defineComponent({type:r,selectors:[["classifieds-ui-attributes-builder"]],inputs:{attributes:"attributes",appearance:"appearance",attributeValues:"attributeValues"},features:[t.\u0275\u0275ProvidersFeature([S,{provide:a.NG_VALUE_ACCESSOR,useExisting:(0,t.forwardRef)(function(){return r}),multi:!0},{provide:a.NG_VALIDATORS,useExisting:(0,t.forwardRef)(function(){return r}),multi:!0}]),t.\u0275\u0275NgOnChangesFeature],decls:4,vars:3,consts:[[3,"formGroup"],["formArrayName","attributes",1,"attribute-fields"],["class","attribute-field-container",3,"formGroupName",4,"ngFor","ngForOf"],[4,"ngIf"],[1,"attribute-field-container",3,"formGroupName"],[3,"attribute","widget","appearance"]],template:function(n,e){1&n&&(t.\u0275\u0275elementContainerStart(0,0),t.\u0275\u0275elementStart(1,"div",1),t.\u0275\u0275template(2,p,2,4,"div",2),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementContainerEnd(),t.\u0275\u0275template(3,N,3,0,"div",3)),2&n&&(t.\u0275\u0275property("formGroup",e.attributesForm),t.\u0275\u0275advance(2),t.\u0275\u0275property("ngForOf",e.attributesArray.controls),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",0==e.attributes.length))},dependencies:[m.NgForOf,m.NgIf,a.NgControlStatusGroup,a.FormGroupDirective,a.FormGroupName,a.FormArrayName,V]}),r}(),B=function(){var r=(0,s.Z)(function i(n){(0,f.Z)(this,i),this.controlContainer=n,this.appearance="legacy"});return r.\u0275fac=function(n){return new(n||r)(t.\u0275\u0275directiveInject(a.ControlContainer))},r.\u0275cmp=t.\u0275\u0275defineComponent({type:r,selectors:[["classifieds-ui-text-widget"]],inputs:{attribute:"attribute",appearance:"appearance"},decls:3,vars:3,consts:[[3,"formGroup"],[3,"appearance"],["matInput","","formControlName","value",3,"placeholder"]],template:function(n,e){1&n&&(t.\u0275\u0275elementContainerStart(0,0),t.\u0275\u0275elementStart(1,"mat-form-field",1),t.\u0275\u0275element(2,"input",2),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementContainerEnd()),2&n&&(t.\u0275\u0275property("formGroup",e.controlContainer.control),t.\u0275\u0275advance(1),t.\u0275\u0275property("appearance",e.appearance),t.\u0275\u0275advance(1),t.\u0275\u0275property("placeholder",e.attribute.label))},dependencies:[a.DefaultValueAccessor,a.NgControlStatus,a.NgControlStatusGroup,a.FormGroupDirective,a.FormControlName,U.MatLegacyFormField,D.MatLegacyInput]}),r}(),L=function(){var r=(0,s.Z)(function i(n){(0,f.Z)(this,i),this.controlContainer=n});return r.\u0275fac=function(n){return new(n||r)(t.\u0275\u0275directiveInject(a.ControlContainer))},r.\u0275cmp=t.\u0275\u0275defineComponent({type:r,selectors:[["classifieds-ui-min-max-widget"]],inputs:{attribute:"attribute"},decls:8,vars:4,consts:[[3,"formGroup"],["formArrayName","attributes"],["formGroupName","0"],["matInput","","type","number","formControlName","value",3,"placeholder"],["formGroupName","1"]],template:function(n,e){1&n&&(t.\u0275\u0275elementContainerStart(0,0),t.\u0275\u0275elementStart(1,"label"),t.\u0275\u0275text(2),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(3,"div",1)(4,"mat-form-field",2),t.\u0275\u0275element(5,"input",3),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(6,"mat-form-field",4),t.\u0275\u0275element(7,"input",3),t.\u0275\u0275elementEnd()(),t.\u0275\u0275elementContainerEnd()),2&n&&(t.\u0275\u0275property("formGroup",e.controlContainer.control),t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate(e.attribute.label),t.\u0275\u0275advance(3),t.\u0275\u0275property("placeholder",e.attribute.attributes[0].label),t.\u0275\u0275advance(2),t.\u0275\u0275property("placeholder",e.attribute.attributes[1].label))},dependencies:[a.DefaultValueAccessor,a.NumberValueAccessor,a.NgControlStatus,a.NgControlStatusGroup,a.FormGroupDirective,a.FormControlName,a.FormGroupName,a.FormArrayName,U.MatLegacyFormField,D.MatLegacyInput]}),r}(),j=function(){var r=function(){function i(){(0,f.Z)(this,i)}return(0,s.Z)(i,[{key:"getComputedValue",value:function(e,o){var u=o&&o.length>0&&this.matchAttribute(e,o);if(u)return u.computedValue}},{key:"getValue",value:function(e,o){var u=o&&o.length>0&&this.matchAttribute(e,o);if(u)return u.value}},{key:"matchAttribute",value:function(e,o){for(var u=o.length,c=0;c<u;c++)if(o[c].attributes&&o[c].attributes.length>0){if(this.matchAttribute(e,o[c].attributes))return o[c]}else if(e===o[c].name)return o[c]}}]),i}();return r.\u0275fac=function(n){return new(n||r)},r.\u0275prov=t.\u0275\u0275defineInjectable({token:r,factory:r.\u0275fac,providedIn:"root"}),r}(),Q=function(){var r=function(){function i(n){(0,f.Z)(this,i),this.attributeMatcher=n}return(0,s.Z)(i,[{key:"transform",value:function(e,o){return this.attributeMatcher.getComputedValue(o,e)||""}}]),i}();return r.\u0275fac=function(n){return new(n||r)(t.\u0275\u0275directiveInject(j,16))},r.\u0275pipe=t.\u0275\u0275definePipe({name:"attribute",type:r,pure:!0}),r}(),l=function(){return(l=l||{})[l.Number=0]="Number",l[l.Text=1]="Text",l[l.Complex=2]="Complex",l[l.Float=3]="Float",l[l.Array=4]="Array",l[l.Bool=5]="Bool",l[l.Date=6]="Date",l}(),K=function(r){(0,v.Z)(n,r);var i=(0,M.Z)(n);function n(e){var o;return(0,f.Z)(this,n),o=i.call(this,e),e&&(o.name=o.id,o.schema=e.schema?new z(e.schema):void 0,o.component=e.component),o}return(0,s.Z)(n)}(O.Plugin),z=(0,s.Z)(function r(i){(0,f.Z)(this,r),this.attributes=[],i&&(this.name=i.name,this.widget=void 0!==i.widget?i.widget:"text",this.type=i.type,this.label=i.label,this.required=i.required,this.options=i.options,i.attributes&&(this.attributes=i.attributes.map(function(n){return new r(n)})))}),I=(0,s.Z)(function r(i){(0,f.Z)(this,r),this.attributes=[],i&&(this.name=i.name,this.displayName=i.displayName,this.type=i.type,this.value=i.value,this.intValue=i.intValue,this.computedValue=i.computedValue,i.attributes&&(Array.isArray(i.attributes)?this.attributes=i.attributes.reduce(function(n,e){return void 0===e._store||e._store?[].concat((0,A.Z)(n),[new r(e)]):n},[]):(void 0===i.attributes._store||i.attributes._store)&&(this.attributes=[i.attributes])),i.value&&"object"==typeof i.value?(this.value=void 0,this.type=l.Complex,i.value.attributes.reduce(function(n,e){return void 0===e._store||e._store?[].concat((0,A.Z)(n),[new r(e)]):n},[])):this.value=i.value)}),J=function(){var i=new z({name:"",type:l.Text,label:"",required:!1,widget:"text",options:{},attributes:[]});return new K({id:"text",name:"text",title:"Text",component:B,schema:i})},X=function(){return new K({id:"minmax",name:"minmax",title:"MinMax",component:L,schema:void 0})},Y=function(){var r=(0,s.Z)(function i(n,e){(0,f.Z)(this,i),n.forEach(function(o){return e.register(o)})});return r.\u0275fac=function(n){return new(n||r)(t.\u0275\u0275inject(F),t.\u0275\u0275inject(T))},r.\u0275mod=t.\u0275\u0275defineNgModule({type:r}),r.\u0275inj=t.\u0275\u0275defineInjector({providers:[{provide:F,useFactory:J,multi:!0},{provide:F,useFactory:X,multi:!0}],imports:[m.CommonModule,a.ReactiveFormsModule,w.MaterialModule,h.HttpClientJsonpModule]}),r}(),H=function(){var r=function(){function i(){(0,f.Z)(this,i)}return(0,s.Z)(i,[{key:"compute",value:function(e){var o=this,u=[];return e.forEach(function(c){return u.push(o.computeAttribute(c))}),u}},{key:"computeAttribute",value:function(e){var o=this.resolveComputedValue(e.value,e.type);return new I((0,g.Z)((0,g.Z)({},e),{},e.attributes&&e.attributes.length>0?{computedValue:o,attributes:this.compute(e.attributes)}:{computedValue:o}))}},{key:"resolveComputedValue",value:function(e,o){var u;return o===l.Number?(u=(0,R.He)(e.trim()))&&isNaN(u)&&(u=void 0):u=e.trim(),void 0===u?u:"".concat(u)}}]),i}();return r.\u0275fac=function(n){return new(n||r)},r.\u0275prov=t.\u0275\u0275defineInjectable({token:r,factory:r.\u0275fac,providedIn:"root"}),r}(),q=function(){var r=function(){function i(n){(0,f.Z)(this,i),this.valueComputer=n}return(0,s.Z)(i,[{key:"serialize",value:function(e,o){var u=typeof e;if("object"!==u)return new I({name:o,type:"string"!==u?"boolean"!==u?l.Number:l.Bool:l.Text,displayName:o,value:"".concat(e),intValue:void 0,computedValue:this.valueComputer.resolveComputedValue("".concat(e),"string"!==u?"boolean"!==u?l.Number:l.Bool:l.Text),attributes:[]});if(Array.isArray(e)&&("attributes"===o||"settings"===o))return new I({name:o,type:l.Complex,displayName:o,value:void 0,intValue:void 0,computedValue:void 0,attributes:e});if(Array.isArray(e)){for(var c=e.length,_=[],E=0;E<c;E++)_.push(this.serialize(e[E],"".concat(E)));return new I({name:o,type:l.Array,displayName:o,value:void 0,intValue:void 0,computedValue:void 0,attributes:_})}if(e instanceof Date)return new I({name:o,type:l.Date,displayName:o,value:e.toJSON(),intValue:void 0,computedValue:e.toJSON(),attributes:[]});var W=[];for(var $ in e)W.push(this.serialize(e[$],$));return new I({name:o,type:l.Complex,displayName:o,value:void 0,intValue:void 0,computedValue:void 0,attributes:W})}},{key:"deserializeAsObject",value:function(e){var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this.deserialize(new I({name:"root",type:l.Complex,displayName:"root",value:void 0,computedValue:void 0,intValue:0,attributes:e}),o)}},{key:"deserialize",value:function(e){var u,c,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];switch(e.type){case l.Complex:if(o||"attributes"!==e.name&&"settings"!==e.name){c=e.attributes.length;for(var _=0;_<c;_++)u=(0,g.Z)((0,g.Z)({},u),{},(0,Z.Z)({},e.attributes[_].name,this.deserialize(e.attributes[_])))}else u=e.attributes.map(function(W){return new I(W)});break;case l.Bool:u=void 0!==e.value?["1","true","on"].findIndex(function(W){return W===e.value})>-1:void 0;break;case l.Number:case l.Float:u=void 0!==e.value&&""!==e.value&&"undefined"!==e.value?"0"!==e.value?(0,R.He)(e.value.trim()):0:void 0;break;case l.Text:u=e.value;break;case l.Array:if(o||"attributes"!==e.name&&"settings"!==e.name){c=e.attributes.length,u=[];for(var E=0;E<c;E++)u=[].concat((0,A.Z)(u),[this.deserialize(e.attributes[E])])}else u=e.attributes.map(function(W){return new I(W)});break;case l.Date:u=void 0!==e.value&&""!==e.value?new Date(e.value):void 0}return u}},{key:"convertToGroup",value:function(e){var o=this,u=new a.UntypedFormGroup({name:new a.UntypedFormControl(e.name,a.Validators.required),type:new a.UntypedFormControl(e.type,a.Validators.required),displayName:new a.UntypedFormControl(e.displayName,a.Validators.required),value:new a.UntypedFormControl(e.value,a.Validators.required),computedValue:new a.UntypedFormControl(e.value,a.Validators.required),attributes:new a.UntypedFormArray([])});return e.attributes&&e.attributes.length>0&&e.attributes.forEach(function(c){u.get("attributes").push(o.convertToGroup(c))}),u}}]),i}();return r.\u0275fac=function(n){return new(n||r)(t.\u0275\u0275inject(H))},r.\u0275prov=t.\u0275\u0275defineInjectable({token:r,factory:r.\u0275fac,providedIn:"root"}),r}()},77797:(G,x,d)=>{d.d(x,{Z:()=>g});var Z=d(51299);function g(A,v,M){return(v=(0,Z.Z)(v))in A?Object.defineProperty(A,v,{value:M,enumerable:!0,configurable:!0,writable:!0}):A[v]=M,A}},35603:(G,x,d)=>{d.d(x,{Z:()=>A});var Z=d(77797);function g(v,M){var f=Object.keys(v);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(v);M&&(s=s.filter(function(t){return Object.getOwnPropertyDescriptor(v,t).enumerable})),f.push.apply(f,s)}return f}function A(v){for(var M=1;M<arguments.length;M++){var f=null!=arguments[M]?arguments[M]:{};M%2?g(Object(f),!0).forEach(function(s){(0,Z.Z)(v,s,f[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(v,Object.getOwnPropertyDescriptors(f)):g(Object(f)).forEach(function(s){Object.defineProperty(v,s,Object.getOwnPropertyDescriptor(f,s))})}return v}}}]); +//# sourceMappingURL=4589.c0c58fd8d6ae092a.js.map \ No newline at end of file diff --git a/4589.c0c58fd8d6ae092a.js.map b/4589.c0c58fd8d6ae092a.js.map new file mode 100644 index 0000000..97f6760 --- /dev/null +++ b/4589.c0c58fd8d6ae092a.js.map @@ -0,0 +1 @@ +{"version":3,"file":"4589.c0c58fd8d6ae092a.js","mappings":"0FAMA,SAASA,EAAaC,GAClB,OAAOA,EAAEC,QAAQ,uBAAwB,OAC7C,CAIA,SAASC,EAAeC,EAAOC,GAC3B,IAAkCC,QAAlB,IAAPD,EAAgB,CAAC,EAAIA,GAAYE,YAAaA,OAAqB,IAAPD,EAAgB,IAAMA,EAC3F,GAAqB,iBAAVF,EACP,OAAOA,EAAMI,WAEjB,GAAqB,iBAAVJ,EACP,MAAO,MAEX,IAAIK,EAAoBT,EAAaO,GACjCG,EAAIN,EAAMO,OACVC,EAAWF,EAAEG,MAAM,eACnBC,EAAkB,IAAIC,OAAO,QAAUN,EAAoB,KAAOA,EAAoB,QAAUA,EAAoB,UAAYA,EAAoB,QAAS,KACjKC,MACU,MADVA,EAAIA,EAAER,QAAQY,EAAiB,IAAIZ,QAAQK,EAAa,MAEpDG,EAAI,MAECE,IACLF,EAAI,IAAMA,GAEPA,CACX,CA9BwDM,UAA4C,EA2CpGA,KARA,SAASC,EAASb,EAAOC,GACrB,IAAkCC,QAAlB,IAAPD,EAAgB,CAAC,EAAIA,GAAYE,YACtCN,EAAIE,EAAeC,EAAO,CAAEG,iBAD4C,IAAPD,EAAgB,IAAMA,IAE3F,MAAU,QAANL,EACOiB,IAEJC,OAAOlB,EAClB,skBC9ByC,SAAAmB,EAAAC,EAAAC,GAAA,UAAAC,EAAAF,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_a","_c","decimalMark","toString","regexpDecimalMark","n","trim","negative","match","getNumberRegexp","RegExp","exports","toNumber","NaN","Number","AttributeWidgetComponent_ng_template_1_Template","rf","ctx","AttributesBuilderComponent_div_2_Template","i0","i_r3","index","ctx_r0","attributes","discoverWidget","widget","appearance","AttributesBuilderComponent_div_3_Template","ATTRIBUTE_WIDGET","InjectionToken","WidgetsService","widgets","_classCallCheck","this","_createClass","key","find","w","name","ɵfac","t","ɵprov","token","factory","WidgetPluginManager","_BasePluginManager","_inherits","_super","_createSuper","pcm","moduleLoader","call","of","PluginDef","BasePluginManager","i1","i2","providedIn","AttributeWidgetDirective","viewContainerRef","ɵdir","type","selectors","AttributeWidgetComponent","componentFactoryResolver","controlContainer","_this","subscribe","componentFactory","resolveComponentFactory","component","widgetHost","clear","componentRef","createComponent","instance","attribute","i1$1","ɵcmp","viewQuery","_t","first","inputs","decls","vars","consts","template","control","dependencies","AttributesBuilderComponent","widgetsService","wpm","attributesForm","UntypedFormGroup","UntypedFormArray","_attributeValues","onTouched","get","set","attributeValues","applyValues","changes","_this2","previousValue","currentValue","attributesArray","length","removeAt","forEach","attr","push","UntypedFormControl","Validators","displayName","label","required","map","attr2","val","console","log","concat","setValue","emitEvent","fn","valueChanges","isDisabled","disable","enable","c","valid","invalidForm","message","getPlugin","_this3","controls","attrValue","av","undefined","updateValueAndValidity","features","provide","NG_VALUE_ACCESSOR","useExisting","forwardRef","multi","NG_VALIDATORS","i3","TextWidgetComponent","i2$1","i3$1","MinMaxWidgetComponent","AttributeMatcherService","matchAttribute","computedValue","len","i","AttributePipe","attributeMatcher","getComputedValue","ɵpipe","pure","AttributeTypes","Text","Complex","Float","Array","Bool","Date","AttributeWidget","_Plugin","_super2","data","_this4","id","schema","Attribute","Plugin","options","a","AttributeValue","intValue","isArray","reduce","p","_store","_toConsumableArray","textFactory","title","minmaxFactory","AttributesModule","widgetPlugins","register","ɵmod","ɵinj","providers","useFactory","imports","CommonModule","ReactiveFormsModule","MaterialModule","HttpClientJsonpModule","ValueComputerService","_this5","computedAttributes","computeAttribute","resolveComputedValue","_objectSpread","compute","isNaN","AttributeSerializerService","valueComputer","obj","prop","attrValues","serialize","toJSON","ignoreAttributes","arguments","deserialize","_defineProperty","findIndex","b","setting","_this6","fg","convertToGroup","_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__","Z","Object","defineProperty","enumerable","configurable","writable","ownKeys","object","enumerableOnly","keys","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","apply","_objectSpread2","target","source","_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__","getOwnPropertyDescriptors","defineProperties"],"sourceRoot":"webpack:///","sources":["./node_modules/number-string/dist/app.js","./node_modules/@rollthecloudinc/attributes/fesm2022/rollthecloudinc-attributes.mjs","./node_modules/@babel/runtime/helpers/esm/defineProperty.js","./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"],"sourcesContent":["\"use strict\";\nexports.__esModule = true;\nexports.toClosest = exports.toMoney = exports.toClean = exports.toNumber = exports.toNumberString = void 0;\n/**\n * Escape special RegExp characters in string\n */\nfunction regexpEscape(s) {\n return s.replace(/[-[\\]/{}()*+?.\\\\^$]/g, \"\\\\$&\");\n}\n/**\n * Convert value to number string\n */\nfunction toNumberString(value, _a) {\n var _b = _a === void 0 ? {} : _a, _c = _b.decimalMark, decimalMark = _c === void 0 ? \".\" : _c;\n if (typeof value === \"number\") {\n return value.toString();\n }\n if (typeof value !== \"string\") {\n return \"NaN\";\n }\n var regexpDecimalMark = regexpEscape(decimalMark);\n var n = value.trim();\n var negative = n.match(/^\\(.*\\)$|^-/); //negative if matches '(...)' or '-...'\n var getNumberRegexp = new RegExp(\"[^\\\\d\" + regexpDecimalMark + \"]|\" + regexpDecimalMark + \"(?=.*\" + regexpDecimalMark + \")|^\\\\D*\" + regexpDecimalMark + \"\\\\D*$\", \"g\");\n n = n.replace(getNumberRegexp, \"\").replace(decimalMark, \".\"); //remove all except digits and last dot\n if (n === \"\") {\n n = \"NaN\";\n }\n else if (negative) {\n n = \"-\" + n;\n }\n return n;\n}\nexports.toNumberString = toNumberString;\n/**\n * Convert value to number\n */\nfunction toNumber(value, _a) {\n var _b = _a === void 0 ? {} : _a, _c = _b.decimalMark, decimalMark = _c === void 0 ? \".\" : _c;\n var s = toNumberString(value, { decimalMark: decimalMark });\n if (s === \"NaN\") {\n return NaN;\n }\n return Number(s);\n}\nexports.toNumber = toNumber;\n/**\n * Like `toFixed` but removes trailing zeros\n */\nfunction toClean(value, _a) {\n var _b = _a === void 0 ? {} : _a, _c = _b.decimalMark, decimalMark = _c === void 0 ? \".\" : _c, _d = _b.thousandSeperator, thousandSeperator = _d === void 0 ? null : _d, _e = _b.thousandSeparator, thousandSeparator = _e === void 0 ? \",\" : _e, _f = _b.maxPrecision, maxPrecision = _f === void 0 ? 100 : _f, _g = _b.minPrecision, minPrecision = _g === void 0 ? 0 : _g;\n if (thousandSeperator) {\n thousandSeparator = thousandSeperator;\n console.error(\"`thousandSeperator` is deprecated use `thousandSeparator` instead.\");\n }\n value = toNumberString(value);\n if (value === \"NaN\") {\n return \"NaN\";\n }\n if (maxPrecision < 0) {\n throw new Error(\"maxPrecision must be >= 0\");\n }\n if (minPrecision < 0) {\n throw new Error(\"minPrecision must be >= 0\");\n }\n if (maxPrecision > 100) {\n throw new Error(\"maxPrecision must be <= 100\");\n }\n if (minPrecision > 100) {\n throw new Error(\"minPrecision must be <= 100\");\n }\n if (minPrecision > maxPrecision) {\n throw new Error(\"minPrecision must be <= maxPrecision\");\n }\n var s = value;\n // limit to maxPrecision\n var dotIndex = s.lastIndexOf(\".\");\n if (dotIndex > -1) {\n var integer = (dotIndex === 0 ? \"0\" : s.slice(0, dotIndex));\n var fraction = s.slice(dotIndex + 1, dotIndex + 1 + maxPrecision);\n var remainder = s.slice(dotIndex + 1 + maxPrecision);\n if (remainder.length > 0 && +remainder[0] > 4) {\n // round up\n var i = (BigInt(integer + fraction) + BigInt(1)).toString(10);\n integer = i.slice(0, i.length - fraction.length);\n fraction = i.slice(i.length - fraction.length);\n }\n s = integer + decimalMark + fraction;\n }\n else {\n s += decimalMark;\n }\n // remove trailing 0s\n var rmLen = 0;\n for (var i = s.length - 1; i >= 0; i--) {\n if (s[i] !== \"0\") {\n break;\n }\n rmLen++;\n }\n s = s.slice(0, s.length - rmLen);\n // limit to minPrecision\n if (minPrecision > 0) {\n var numZeros = void 0;\n if (dotIndex > -1) {\n numZeros = minPrecision - (s.length - dotIndex - 1);\n }\n else {\n numZeros = minPrecision;\n }\n for (var i = 0; i < numZeros; i++) {\n s += \"0\";\n }\n }\n var regexpDecimalMark = regexpEscape(decimalMark);\n var thousandSeparatorRegexp = new RegExp(\"\\\\d(?=(\\\\d{3})+\" + regexpDecimalMark + \")\", \"g\");\n var trimRegexp = new RegExp(regexpDecimalMark + \"$\");\n s = s.replace(thousandSeparatorRegexp, \"$&\" + thousandSeparator).replace(trimRegexp, \"\");\n return s;\n}\nexports.toClean = toClean;\n/**\n * Convert string or number to currency string\n * modified from http://stackoverflow.com/a/149099/806777\\\n */\nfunction toMoney(value, _a) {\n var _b = _a === void 0 ? {} : _a, _c = _b.decimalMark, decimalMark = _c === void 0 ? \".\" : _c, _d = _b.thousandSeperator, thousandSeperator = _d === void 0 ? null : _d, _e = _b.thousandSeparator, thousandSeparator = _e === void 0 ? \",\" : _e, _f = _b.maxPrecision, maxPrecision = _f === void 0 ? 2 : _f, _g = _b.minPrecision, minPrecision = _g === void 0 ? 2 : _g, _h = _b.symbol, symbol = _h === void 0 ? \"$\" : _h, _j = _b.symbolBehind, symbolBehind = _j === void 0 ? false : _j, _k = _b.useParens, useParens = _k === void 0 ? true : _k;\n if (thousandSeperator) {\n thousandSeparator = thousandSeperator;\n console.error(\"`thousandSeperator` is deprecated use `thousandSeparator` instead.\");\n }\n var n = (typeof value === \"number\"\n ? value\n : toNumber(value, {\n decimalMark: decimalMark\n }));\n var s = toNumberString(value, {\n decimalMark: decimalMark\n });\n if (isNaN(n)) {\n return \"NaN\";\n }\n if (n === Infinity) {\n return \"Infinity\";\n }\n if (n === -Infinity) {\n return (useParens ? \"(Infinity)\" : \"-Infinity\");\n }\n if (maxPrecision < 2 && typeof arguments[1].minPrecision === \"undefined\") {\n minPrecision = maxPrecision;\n }\n if (minPrecision > 2 && typeof arguments[1].maxPrecision === \"undefined\") {\n maxPrecision = minPrecision;\n }\n var negative = n < 0;\n s = toClean(negative ? s.slice(1) : s, {\n decimalMark: decimalMark,\n thousandSeparator: thousandSeparator,\n maxPrecision: maxPrecision,\n minPrecision: minPrecision\n });\n s = (symbolBehind ? s + \" \" + symbol : symbol + s);\n if (negative) {\n s = (useParens ? \"(\" + s + \")\" : \"-\" + s);\n }\n return s;\n}\nexports.toMoney = toMoney;\n/**\n * Round number to closest multiple of number\n */\nfunction toClosest(value, roundTo) {\n if (roundTo === void 0) { roundTo = 1; }\n if (typeof value !== \"number\") {\n value = toNumber(value);\n }\n if (isNaN(value)) {\n return NaN;\n }\n if (value === Infinity || value === -Infinity) {\n return value;\n }\n if (typeof roundTo !== \"number\") {\n roundTo = toNumber(roundTo);\n }\n if (isNaN(roundTo)) {\n throw Error(\"roundTo must be a number\");\n }\n if (roundTo === Infinity || roundTo === -Infinity) {\n return roundTo;\n }\n var n = Math.round(value / roundTo) * roundTo;\n var maxPrecision = 0;\n while (!Number.isInteger(roundTo)) {\n roundTo *= 10;\n maxPrecision++;\n }\n n = +n.toFixed(maxPrecision);\n return n;\n}\nexports.toClosest = toClosest;\n","import * as i0 from '@angular/core';\nimport { InjectionToken, Injectable, Inject, Directive, Component, Input, ViewChild, forwardRef, Pipe, NgModule } from '@angular/core';\nimport * as i3 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport { HttpClientJsonpModule } from '@angular/common/http';\nimport * as i1$1 from '@angular/forms';\nimport { UntypedFormGroup, UntypedFormArray, UntypedFormControl, Validators, NG_VALUE_ACCESSOR, NG_VALIDATORS, ReactiveFormsModule } from '@angular/forms';\nimport { MaterialModule } from '@rollthecloudinc/material';\nimport { of } from 'rxjs';\nimport * as i1 from '@rollthecloudinc/plugin';\nimport { BasePluginManager, PluginDef, Plugin } from '@rollthecloudinc/plugin';\nimport * as i2 from '@rollthecloudinc/utils';\nimport * as i2$1 from '@angular/material/legacy-form-field';\nimport * as i3$1 from '@angular/material/legacy-input';\nimport { toNumber } from 'number-string';\n\nconst ATTRIBUTE_WIDGET = new InjectionToken('AttributeWidget');\n\nclass WidgetsService {\n constructor(widgets) {\n this.widgets = widgets;\n }\n get(widget) {\n return this.widgets.find(w => w.name === widget);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: WidgetsService, deps: [{ token: ATTRIBUTE_WIDGET }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: WidgetsService }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: WidgetsService, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: Array, decorators: [{\n type: Inject,\n args: [ATTRIBUTE_WIDGET]\n }] }]; } });\n\nclass WidgetPluginManager extends BasePluginManager {\n constructor(pcm, moduleLoader) {\n super(pcm, moduleLoader);\n }\n pluginDef() {\n return of(new PluginDef({ name: 'widget' }));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: WidgetPluginManager, deps: [{ token: i1.PluginConfigurationManager }, { token: i2.ModuleLoaderService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: WidgetPluginManager, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: WidgetPluginManager, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: i1.PluginConfigurationManager }, { type: i2.ModuleLoaderService }]; } });\n\nclass AttributeWidgetDirective {\n constructor(viewContainerRef) {\n this.viewContainerRef = viewContainerRef;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AttributeWidgetDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: AttributeWidgetDirective, selector: \"[classifiedsUiWidgetHost]\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AttributeWidgetDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[classifiedsUiWidgetHost]'\n }]\n }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });\n\nclass AttributeWidgetComponent {\n constructor(componentFactoryResolver, controlContainer) {\n this.componentFactoryResolver = componentFactoryResolver;\n this.controlContainer = controlContainer;\n this.appearance = \"legacy\";\n }\n ngOnInit() {\n this.widget.subscribe(widget => {\n const componentFactory = this.componentFactoryResolver.resolveComponentFactory(widget.component);\n const viewContainerRef = this.widgetHost.viewContainerRef;\n viewContainerRef.clear();\n const componentRef = viewContainerRef.createComponent(componentFactory);\n componentRef.instance.attribute = this.attribute;\n componentRef.instance.appearance = this.appearance;\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AttributeWidgetComponent, deps: [{ token: i0.ComponentFactoryResolver }, { token: i1$1.ControlContainer }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: AttributeWidgetComponent, selector: \"classifieds-ui-attribute-widget\", inputs: { widget: \"widget\", attribute: \"attribute\", appearance: \"appearance\" }, viewQueries: [{ propertyName: \"widgetHost\", first: true, predicate: AttributeWidgetDirective, descendants: true, static: true }], ngImport: i0, template: `<ng-container [formGroup]=\"controlContainer.control\"><ng-template classifiedsUiWidgetHost></ng-template></ng-container>`, isInline: true, styles: [\"\"], dependencies: [{ kind: \"directive\", type: i1$1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1$1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: AttributeWidgetDirective, selector: \"[classifiedsUiWidgetHost]\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AttributeWidgetComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-attribute-widget', template: `<ng-container [formGroup]=\"controlContainer.control\"><ng-template classifiedsUiWidgetHost></ng-template></ng-container>` }]\n }], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i1$1.ControlContainer }]; }, propDecorators: { widget: [{\n type: Input\n }], attribute: [{\n type: Input\n }], appearance: [{\n type: Input\n }], widgetHost: [{\n type: ViewChild,\n args: [AttributeWidgetDirective, { static: true }]\n }] } });\n\nclass AttributesBuilderComponent {\n set attributeValues(attributeValues) {\n this._attributeValues = attributeValues;\n this.applyValues();\n }\n get attributeValues() {\n return this._attributeValues;\n }\n get attributesArray() {\n return this.attributesForm.get('attributes');\n }\n constructor(widgetsService, wpm) {\n this.widgetsService = widgetsService;\n this.wpm = wpm;\n this.attributes = [];\n this.appearance = 'legacy';\n this.attributesForm = new UntypedFormGroup({\n attributes: new UntypedFormArray([])\n });\n this._attributeValues = [];\n this.onTouched = () => { };\n }\n ngOnChanges(changes) {\n if (changes.attributes && (!changes.attributes.previousValue || changes.attributes.previousValue !== changes.attributes.currentValue)) {\n while (this.attributesArray.length !== 0) {\n this.attributesArray.removeAt(0);\n }\n // @todo: Supports 2 levels of nesting currently (no recursion).\n this.attributes.forEach(attr => {\n this.attributesArray.push(new UntypedFormGroup({\n name: new UntypedFormControl(attr.name, Validators.required),\n type: new UntypedFormControl(attr.type, Validators.required),\n displayName: new UntypedFormControl(attr.label, Validators.required),\n value: new UntypedFormControl('', attr.required ? Validators.required : []),\n attributes: new UntypedFormArray(!attr.attributes ? [] : attr.attributes.map(attr2 => new UntypedFormGroup({\n name: new UntypedFormControl(attr2.name, Validators.required),\n type: new UntypedFormControl(attr2.type, Validators.required),\n displayName: new UntypedFormControl(attr2.label, Validators.required),\n value: new UntypedFormControl('', attr2.required ? Validators.required : [])\n })))\n }));\n });\n this.applyValues();\n }\n }\n writeValue(val) {\n if (val) {\n console.log(`write value: ${val}`);\n this.attributesArray.setValue(val, { emitEvent: false });\n }\n }\n registerOnChange(fn) {\n this.attributesArray.valueChanges.subscribe(fn);\n }\n registerOnTouched(fn) {\n this.onTouched = fn;\n }\n setDisabledState(isDisabled) {\n if (isDisabled) {\n this.attributesArray.disable();\n }\n else {\n this.attributesArray.enable();\n }\n }\n validate(c) {\n return this.attributesForm.valid ? null : { invalidForm: { valid: false, message: \"attributes are invalid\" } };\n }\n discoverWidget(widget) {\n // return this.widgetsService.get(widget);\n return this.wpm.getPlugin(widget);\n }\n applyValues() {\n this.attributesArray.controls.forEach((c, index) => {\n const attrValue = this.attributeValues ? this.attributeValues.find(av => av.name === c.get('name').value) : undefined;\n if (attrValue !== undefined) {\n c.get('value').setValue(attrValue.value);\n c.updateValueAndValidity();\n }\n c.get('attributes').controls.forEach(c => {\n const attrValue = this.attributeValues && this.attributeValues[index] !== undefined ? this.attributeValues[index].attributes.find(av => av.name === c.get('name').value) : undefined;\n if (attrValue !== undefined) {\n c.get('value').setValue(attrValue.value);\n c.updateValueAndValidity();\n }\n });\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AttributesBuilderComponent, deps: [{ token: WidgetsService }, { token: WidgetPluginManager }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: AttributesBuilderComponent, selector: \"classifieds-ui-attributes-builder\", inputs: { attributes: \"attributes\", appearance: \"appearance\", attributeValues: \"attributeValues\" }, providers: [\n WidgetsService,\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AttributesBuilderComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => AttributesBuilderComponent),\n multi: true\n },\n ], usesOnChanges: true, ngImport: i0, template: \"<ng-container [formGroup]=\\\"attributesForm\\\">\\n <div formArrayName=\\\"attributes\\\" class=\\\"attribute-fields\\\">\\n <div *ngFor=\\\"let attribute of attributesArray.controls; let i=index\\\" formGroupName=\\\"{{i}}\\\" class=\\\"attribute-field-container\\\">\\n <classifieds-ui-attribute-widget [attribute]=\\\"attributes[i]\\\" [widget]=\\\"discoverWidget(attributes[i].widget)\\\" [appearance]=\\\"appearance\\\"></classifieds-ui-attribute-widget>\\n </div>\\n </div>\\n</ng-container>\\n<div *ngIf=\\\"attributes.length == 0\\\">\\n <p>No attributes available for ad type. Click next to continue.</p>\\n</div>\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i3.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i3.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i1$1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1$1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1$1.FormGroupName, selector: \"[formGroupName]\", inputs: [\"formGroupName\"] }, { kind: \"directive\", type: i1$1.FormArrayName, selector: \"[formArrayName]\", inputs: [\"formArrayName\"] }, { kind: \"component\", type: AttributeWidgetComponent, selector: \"classifieds-ui-attribute-widget\", inputs: [\"widget\", \"attribute\", \"appearance\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AttributesBuilderComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-attributes-builder', providers: [\n WidgetsService,\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AttributesBuilderComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => AttributesBuilderComponent),\n multi: true\n },\n ], template: \"<ng-container [formGroup]=\\\"attributesForm\\\">\\n <div formArrayName=\\\"attributes\\\" class=\\\"attribute-fields\\\">\\n <div *ngFor=\\\"let attribute of attributesArray.controls; let i=index\\\" formGroupName=\\\"{{i}}\\\" class=\\\"attribute-field-container\\\">\\n <classifieds-ui-attribute-widget [attribute]=\\\"attributes[i]\\\" [widget]=\\\"discoverWidget(attributes[i].widget)\\\" [appearance]=\\\"appearance\\\"></classifieds-ui-attribute-widget>\\n </div>\\n </div>\\n</ng-container>\\n<div *ngIf=\\\"attributes.length == 0\\\">\\n <p>No attributes available for ad type. Click next to continue.</p>\\n</div>\\n\" }]\n }], ctorParameters: function () { return [{ type: WidgetsService }, { type: WidgetPluginManager }]; }, propDecorators: { attributes: [{\n type: Input\n }], appearance: [{\n type: Input\n }], attributeValues: [{\n type: Input\n }] } });\n\nclass TextWidgetComponent {\n constructor(controlContainer) {\n this.controlContainer = controlContainer;\n this.appearance = \"legacy\";\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: TextWidgetComponent, deps: [{ token: i1$1.ControlContainer }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: TextWidgetComponent, selector: \"classifieds-ui-text-widget\", inputs: { attribute: \"attribute\", appearance: \"appearance\" }, ngImport: i0, template: \"<ng-container [formGroup]=\\\"controlContainer.control\\\">\\n <mat-form-field [appearance]=\\\"appearance\\\">\\n <input matInput [placeholder]=\\\"attribute.label\\\" formControlName=\\\"value\\\">\\n </mat-form-field>\\n</ng-container>\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i1$1.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i1$1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1$1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1$1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1$1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: i2$1.MatLegacyFormField, selector: \"mat-form-field\", inputs: [\"color\", \"appearance\", \"hideRequiredMarker\", \"hintLabel\", \"floatLabel\"], exportAs: [\"matFormField\"] }, { kind: \"directive\", type: i3$1.MatLegacyInput, selector: \"input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]\", exportAs: [\"matInput\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: TextWidgetComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-text-widget', template: \"<ng-container [formGroup]=\\\"controlContainer.control\\\">\\n <mat-form-field [appearance]=\\\"appearance\\\">\\n <input matInput [placeholder]=\\\"attribute.label\\\" formControlName=\\\"value\\\">\\n </mat-form-field>\\n</ng-container>\\n\" }]\n }], ctorParameters: function () { return [{ type: i1$1.ControlContainer }]; }, propDecorators: { attribute: [{\n type: Input\n }], appearance: [{\n type: Input\n }] } });\n\nclass MinMaxWidgetComponent {\n constructor(controlContainer) {\n this.controlContainer = controlContainer;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: MinMaxWidgetComponent, deps: [{ token: i1$1.ControlContainer }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: MinMaxWidgetComponent, selector: \"classifieds-ui-min-max-widget\", inputs: { attribute: \"attribute\" }, ngImport: i0, template: \"<ng-container [formGroup]=\\\"controlContainer.control\\\">\\n <label>{{ attribute.label }}</label>\\n <div formArrayName=\\\"attributes\\\">\\n <mat-form-field formGroupName=\\\"0\\\">\\n <input matInput type=\\\"number\\\" [placeholder]=\\\"attribute.attributes[0].label\\\" formControlName=\\\"value\\\">\\n </mat-form-field>\\n <mat-form-field formGroupName=\\\"1\\\">\\n <input matInput type=\\\"number\\\" [placeholder]=\\\"attribute.attributes[1].label\\\" formControlName=\\\"value\\\">\\n </mat-form-field>\\n </div>\\n</ng-container>\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i1$1.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i1$1.NumberValueAccessor, selector: \"input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]\" }, { kind: \"directive\", type: i1$1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1$1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1$1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1$1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"directive\", type: i1$1.FormGroupName, selector: \"[formGroupName]\", inputs: [\"formGroupName\"] }, { kind: \"directive\", type: i1$1.FormArrayName, selector: \"[formArrayName]\", inputs: [\"formArrayName\"] }, { kind: \"component\", type: i2$1.MatLegacyFormField, selector: \"mat-form-field\", inputs: [\"color\", \"appearance\", \"hideRequiredMarker\", \"hintLabel\", \"floatLabel\"], exportAs: [\"matFormField\"] }, { kind: \"directive\", type: i3$1.MatLegacyInput, selector: \"input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]\", exportAs: [\"matInput\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: MinMaxWidgetComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-min-max-widget', template: \"<ng-container [formGroup]=\\\"controlContainer.control\\\">\\n <label>{{ attribute.label }}</label>\\n <div formArrayName=\\\"attributes\\\">\\n <mat-form-field formGroupName=\\\"0\\\">\\n <input matInput type=\\\"number\\\" [placeholder]=\\\"attribute.attributes[0].label\\\" formControlName=\\\"value\\\">\\n </mat-form-field>\\n <mat-form-field formGroupName=\\\"1\\\">\\n <input matInput type=\\\"number\\\" [placeholder]=\\\"attribute.attributes[1].label\\\" formControlName=\\\"value\\\">\\n </mat-form-field>\\n </div>\\n</ng-container>\\n\" }]\n }], ctorParameters: function () { return [{ type: i1$1.ControlContainer }]; }, propDecorators: { attribute: [{\n type: Input\n }] } });\n\nclass AttributeMatcherService {\n getComputedValue(attr, attributes) {\n const attribute = attributes && attributes.length > 0 && this.matchAttribute(attr, attributes);\n if (attribute) {\n return attribute.computedValue;\n }\n else {\n return;\n }\n }\n getValue(attr, attributes) {\n const attribute = attributes && attributes.length > 0 && this.matchAttribute(attr, attributes);\n if (attribute) {\n return attribute.value;\n }\n else {\n return;\n }\n }\n matchAttribute(attr, attributes) {\n const len = attributes.length;\n for (let i = 0; i < len; i++) {\n if (attributes[i].attributes && attributes[i].attributes.length > 0) {\n const value = this.matchAttribute(attr, attributes[i].attributes);\n if (value) {\n return attributes[i];\n }\n else {\n continue;\n }\n }\n else if (attr === attributes[i].name) {\n return attributes[i];\n }\n else {\n continue;\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AttributeMatcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AttributeMatcherService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AttributeMatcherService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }] });\n\nclass AttributePipe {\n constructor(attributeMatcher) {\n this.attributeMatcher = attributeMatcher;\n }\n transform(attributes, attr) {\n const computedValue = this.attributeMatcher.getComputedValue(attr, attributes);\n if (computedValue) {\n return computedValue;\n }\n else {\n return '';\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AttributePipe, deps: [{ token: AttributeMatcherService }], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: AttributePipe, name: \"attribute\" }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AttributePipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'attribute'\n }]\n }], ctorParameters: function () { return [{ type: AttributeMatcherService }]; } });\n\nvar AttributeTypes;\n(function (AttributeTypes) {\n AttributeTypes[AttributeTypes[\"Number\"] = 0] = \"Number\";\n AttributeTypes[AttributeTypes[\"Text\"] = 1] = \"Text\";\n AttributeTypes[AttributeTypes[\"Complex\"] = 2] = \"Complex\";\n AttributeTypes[AttributeTypes[\"Float\"] = 3] = \"Float\";\n AttributeTypes[AttributeTypes[\"Array\"] = 4] = \"Array\";\n AttributeTypes[AttributeTypes[\"Bool\"] = 5] = \"Bool\";\n AttributeTypes[AttributeTypes[\"Date\"] = 6] = \"Date\";\n})(AttributeTypes || (AttributeTypes = {}));\nclass AttributeWidget extends Plugin {\n constructor(data) {\n super(data);\n if (data) {\n this.name = this.id;\n this.schema = data.schema ? new Attribute(data.schema) : undefined;\n this.component = data.component;\n }\n }\n}\nclass Attribute {\n constructor(data) {\n this.attributes = [];\n if (data) {\n this.name = data.name;\n this.widget = data.widget !== undefined ? data.widget : 'text';\n this.type = data.type;\n this.label = data.label;\n this.required = data.required;\n this.options = data.options;\n if (data.attributes) {\n this.attributes = data.attributes.map(a => new Attribute(a));\n }\n }\n }\n}\nclass AttributeValue {\n constructor(data) {\n this.attributes = [];\n if (data) {\n this.name = data.name;\n this.displayName = data.displayName;\n this.type = data.type;\n this.value = data.value;\n this.intValue = data.intValue;\n this.computedValue = data.computedValue;\n if (data.attributes) {\n if (Array.isArray(data.attributes)) {\n this.attributes = data.attributes.reduce((p, a) => (a._store === undefined || a._store) ? [...p, new AttributeValue(a)] : p, []);\n }\n else if (data.attributes._store === undefined || data.attributes._store) {\n this.attributes = [data.attributes];\n }\n }\n if (data.value && typeof (data.value) === 'object') {\n this.value = undefined;\n this.type = AttributeTypes.Complex;\n data.value.attributes.reduce((p, a) => (a._store === undefined || a._store) ? [...p, new AttributeValue(a)] : p, []);\n }\n else {\n this.value = data.value;\n }\n }\n }\n}\n\n// import { YmmSelectorComponent } from './widgets/ymm-selector/ymm-selector.component';\n// import { CitySelectorComponent } from './widgets/city-selector/city-selector.component';\nconst textFactory = () => {\n const schema = new Attribute({\n name: '',\n type: AttributeTypes.Text,\n label: '',\n required: false,\n widget: 'text',\n options: {},\n attributes: []\n });\n return new AttributeWidget({ id: 'text', name: 'text', title: 'Text', component: TextWidgetComponent, schema });\n};\nconst minmaxFactory = () => {\n return new AttributeWidget({ id: 'minmax', name: 'minmax', title: 'MinMax', component: MinMaxWidgetComponent, schema: undefined });\n};\n/*export const ymmFactory = () => {\n const schema = new Attribute({\n name: '',\n type: AttributeTypes.Complex,\n label: '',\n required: false,\n widget: 'ymm_selector',\n options: {},\n attributes: [\n new Attribute({\n name: 'year',\n type: AttributeTypes.Number,\n label: 'Year',\n required: false,\n widget: '',\n options: {},\n attributes: []\n }),\n new Attribute({\n name: 'make',\n type: AttributeTypes.Text,\n label: 'Make',\n required: false,\n widget: '',\n options: {},\n attributes: []\n }),\n new Attribute({\n name: 'model',\n type: AttributeTypes.Text,\n label: 'Model',\n required: false,\n widget: '',\n options: {},\n attributes: []\n })\n ]\n });\n return new AttributeWidget({ name: 'ymm_selector', component: YmmSelectorComponent, schema });\n};*/\n/*export const cityFactory = () => {\n const schema = new Attribute({\n name: '',\n type: AttributeTypes.Complex,\n label: '',\n required: false,\n widget: 'city_selector',\n options: {},\n attributes: []\n });\n return new AttributeWidget({ name: 'city_selector', component: CitySelectorComponent, schema });\n};*/\n\nclass AttributesModule {\n constructor(widgetPlugins, wpm) {\n widgetPlugins.forEach(p => wpm.register(p));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AttributesModule, deps: [{ token: ATTRIBUTE_WIDGET }, { token: WidgetPluginManager }], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: AttributesModule, declarations: [AttributesBuilderComponent,\n AttributeWidgetComponent,\n AttributeWidgetDirective,\n TextWidgetComponent,\n MinMaxWidgetComponent,\n AttributePipe\n /*, YmmSelectorComponent, CitySelectorComponent*/\n ], imports: [CommonModule, ReactiveFormsModule, MaterialModule, /*HttpClientModule,*/ HttpClientJsonpModule /*, CitiesModule */], exports: [AttributesBuilderComponent, AttributePipe, AttributeWidgetComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AttributesModule, providers: [\n {\n provide: ATTRIBUTE_WIDGET,\n useFactory: textFactory,\n multi: true\n },\n {\n provide: ATTRIBUTE_WIDGET,\n useFactory: minmaxFactory,\n multi: true\n },\n /*{\n provide: ATTRIBUTE_WIDGET,\n useFactory: attrFactories.ymmFactory,\n multi: true\n },\n {\n provide: ATTRIBUTE_WIDGET,\n useFactory: attrFactories.cityFactory,\n multi: true\n }*/\n ], imports: [CommonModule, ReactiveFormsModule, MaterialModule, /*HttpClientModule,*/ HttpClientJsonpModule /*, CitiesModule */] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AttributesModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [CommonModule, ReactiveFormsModule, MaterialModule, /*HttpClientModule,*/ HttpClientJsonpModule /*, CitiesModule */],\n declarations: [\n AttributesBuilderComponent,\n AttributeWidgetComponent,\n AttributeWidgetDirective,\n TextWidgetComponent,\n MinMaxWidgetComponent,\n AttributePipe\n /*, YmmSelectorComponent, CitySelectorComponent*/\n ],\n exports: [AttributesBuilderComponent, AttributePipe, AttributeWidgetComponent],\n providers: [\n {\n provide: ATTRIBUTE_WIDGET,\n useFactory: textFactory,\n multi: true\n },\n {\n provide: ATTRIBUTE_WIDGET,\n useFactory: minmaxFactory,\n multi: true\n },\n /*{\n provide: ATTRIBUTE_WIDGET,\n useFactory: attrFactories.ymmFactory,\n multi: true\n },\n {\n provide: ATTRIBUTE_WIDGET,\n useFactory: attrFactories.cityFactory,\n multi: true\n }*/\n ]\n }]\n }], ctorParameters: function () { return [{ type: Array, decorators: [{\n type: Inject,\n args: [ATTRIBUTE_WIDGET]\n }] }, { type: WidgetPluginManager }]; } });\n\nclass ValueComputerService {\n constructor() { }\n compute(attributes) {\n const computedAttributes = [];\n attributes.forEach(a => computedAttributes.push(this.computeAttribute(a)));\n return computedAttributes;\n }\n computeAttribute(attribute) {\n const computedValue = this.resolveComputedValue(attribute.value, attribute.type);\n if (attribute.attributes && attribute.attributes.length > 0) {\n return new AttributeValue({ ...attribute, computedValue, attributes: this.compute(attribute.attributes) });\n }\n else {\n return new AttributeValue({ ...attribute, computedValue });\n }\n }\n /**\n * @todo: Support below strings.\n * beds: 1.5\n * beds: 1 1/2\n * price: $1,000\n * price: 1,000\n * price $1,000,000.00\n * baths: one\n */\n resolveComputedValue(value, type) {\n let computedValue;\n if (type === AttributeTypes.Number) {\n computedValue = toNumber(value.trim());\n if (computedValue && isNaN(computedValue)) {\n computedValue = undefined;\n }\n }\n else {\n computedValue = value.trim();\n }\n return computedValue === undefined ? computedValue : `${computedValue}`;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ValueComputerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ValueComputerService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ValueComputerService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return []; } });\n\nclass AttributeSerializerService {\n constructor(valueComputer) {\n this.valueComputer = valueComputer;\n }\n serialize(obj, prop) {\n const type = typeof (obj);\n if (type !== 'object') {\n return new AttributeValue({\n name: prop,\n type: type !== 'string' ? type !== 'boolean' ? AttributeTypes.Number : AttributeTypes.Bool : AttributeTypes.Text,\n displayName: prop,\n value: `${obj}`,\n intValue: undefined,\n computedValue: this.valueComputer.resolveComputedValue(`${obj}`, type !== 'string' ? type !== 'boolean' ? AttributeTypes.Number : AttributeTypes.Bool : AttributeTypes.Text),\n attributes: []\n });\n }\n else if (Array.isArray(obj) && (prop === 'attributes' || prop === 'settings')) {\n return new AttributeValue({\n name: prop,\n type: AttributeTypes.Complex,\n displayName: prop,\n value: undefined,\n intValue: undefined,\n computedValue: undefined,\n attributes: obj\n });\n }\n else if (Array.isArray(obj)) {\n const len = obj.length;\n const attrValues = [];\n for (let i = 0; i < len; i++) {\n if (typeof (obj[i]) !== 'object') {\n // attrValues.push(this.serialize({ value: obj[i] }, `${i}`));\n attrValues.push(this.serialize(obj[i], `${i}`));\n }\n else {\n attrValues.push(this.serialize(obj[i], `${i}`));\n }\n }\n return new AttributeValue({\n name: prop,\n type: AttributeTypes.Array,\n displayName: prop,\n value: undefined,\n intValue: undefined,\n computedValue: undefined,\n attributes: attrValues\n });\n }\n else if (obj instanceof Date) {\n // store as string for now.\n return new AttributeValue({\n name: prop,\n type: AttributeTypes.Date,\n displayName: prop,\n value: obj.toJSON(),\n intValue: undefined,\n computedValue: obj.toJSON(),\n attributes: []\n });\n }\n else {\n const attrValues = [];\n for (const p in obj) {\n attrValues.push(this.serialize(obj[p], p));\n }\n return new AttributeValue({\n name: prop,\n type: AttributeTypes.Complex,\n displayName: prop,\n value: undefined,\n intValue: undefined,\n computedValue: undefined,\n attributes: attrValues\n });\n }\n }\n deserializeAsObject(attrValues, ignoreAttributes = false) {\n return this.deserialize(new AttributeValue({\n name: 'root',\n type: AttributeTypes.Complex,\n displayName: 'root',\n value: undefined,\n computedValue: undefined,\n intValue: 0,\n attributes: attrValues\n }), ignoreAttributes);\n }\n deserialize(attrValue, ignoreAttributes = false) {\n let obj;\n let len;\n switch (attrValue.type) {\n case AttributeTypes.Complex:\n if (!ignoreAttributes && (attrValue.name === 'attributes' || attrValue.name === 'settings')) {\n obj = attrValue.attributes.map(a => new AttributeValue(a));\n }\n else {\n len = attrValue.attributes.length;\n for (let i = 0; i < len; i++) {\n obj = { ...obj, [attrValue.attributes[i].name]: this.deserialize(attrValue.attributes[i]) };\n }\n }\n break;\n case AttributeTypes.Bool:\n obj = attrValue.value !== undefined ? ['1', 'true', 'on'].findIndex(b => b === attrValue.value) > -1 : undefined;\n break;\n case AttributeTypes.Number:\n case AttributeTypes.Float:\n obj = attrValue.value !== undefined && attrValue.value !== '' && attrValue.value !== 'undefined' ? attrValue.value !== '0' ? toNumber(attrValue.value.trim()) : 0 : undefined;\n break;\n case AttributeTypes.Text:\n obj = attrValue.value;\n break;\n case AttributeTypes.Array:\n if (!ignoreAttributes && (attrValue.name === 'attributes' || attrValue.name === 'settings')) {\n obj = attrValue.attributes.map(a => new AttributeValue(a));\n }\n else {\n len = attrValue.attributes.length;\n obj = [];\n for (let i = 0; i < len; i++) {\n obj = [...obj, this.deserialize(attrValue.attributes[i])];\n }\n }\n break;\n case AttributeTypes.Date:\n obj = attrValue.value !== undefined && attrValue.value !== '' ? new Date(attrValue.value) : undefined;\n break;\n default:\n }\n return obj;\n }\n convertToGroup(setting) {\n const fg = new UntypedFormGroup({\n name: new UntypedFormControl(setting.name, Validators.required),\n type: new UntypedFormControl(setting.type, Validators.required),\n displayName: new UntypedFormControl(setting.displayName, Validators.required),\n value: new UntypedFormControl(setting.value, Validators.required),\n computedValue: new UntypedFormControl(setting.value, Validators.required),\n attributes: new UntypedFormArray([])\n });\n if (setting.attributes && setting.attributes.length > 0) {\n setting.attributes.forEach(s => {\n fg.get('attributes').push(this.convertToGroup(s));\n });\n }\n return fg;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AttributeSerializerService, deps: [{ token: ValueComputerService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AttributeSerializerService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AttributeSerializerService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: ValueComputerService }]; } });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { ATTRIBUTE_WIDGET, Attribute, AttributeMatcherService, AttributePipe, AttributeSerializerService, AttributeTypes, AttributeValue, AttributeWidget, AttributeWidgetComponent, AttributesBuilderComponent, AttributesModule, ValueComputerService, WidgetPluginManager, WidgetsService };\n","import toPropertyKey from \"./toPropertyKey.js\";\nexport default function _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}","import defineProperty from \"./defineProperty.js\";\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n return keys;\n}\nexport default function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}"],"x_google_ignoreList":[0,1,2,3]} \ No newline at end of file diff --git a/4640.bf671556de706900.js b/4640.bf671556de706900.js new file mode 100644 index 0000000..eb1b8c6 --- /dev/null +++ b/4640.bf671556de706900.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[4640,3022,5106,7376,5187,4091,1217,7208,4968,6785,4155,1084,6896,7920,6980,5113,1328,5749,4309,8024,8513,5555,4967,8017,8116,5873,8061,4680,2111,3326,8596,8352,5501,882,3098,8467,6578,4093,8608,8443,7328,5915,3278,5391,6748,1551,6763,4151,5069,7432,8071,6618],{76317:(I,l,e)=>{e.d(l,{X:()=>t});var u=e(78069),i=e(48047),n=e(4089),d=e(20265),a=e(24582),f=e(28694),t=function(M){(0,a.Z)(g,M);var b=(0,f.Z)(g);function g(T){var O;return(0,u.Z)(this,g),(O=b.call(this))._value=T,O}return(0,i.Z)(g,[{key:"value",get:function(){return this.getValue()}},{key:"_subscribe",value:function(O){var C=(0,n.Z)((0,d.Z)(g.prototype),"_subscribe",this).call(this,O);return!C.closed&&O.next(this._value),C}},{key:"getValue",value:function(){var Z=this._value;if(this.hasError)throw this.thrownError;return this._throwIfClosed(),Z}},{key:"next",value:function(O){(0,n.Z)((0,d.Z)(g.prototype),"next",this).call(this,this._value=O)}}]),g}(e(50253).x)},50253:(I,l,e)=>{e.d(l,{x:()=>C});var u=e(95106),i=e(78069),n=e(48047),d=e(4089),a=e(20265),f=e(24582),r=e(28694),t=e(90833),M=e(17714),g=(0,e(27543).d)(function(L){return function(){L(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),T=e(39663),O=e(12309),C=function(){var L=function(U){(0,f.Z)(R,U);var x=(0,r.Z)(R);function R(){var y;return(0,i.Z)(this,R),(y=x.call(this)).closed=!1,y.currentObservers=null,y.observers=[],y.isStopped=!1,y.hasError=!1,y.thrownError=null,y}return(0,n.Z)(R,[{key:"lift",value:function(_){var p=new Z(this,this);return p.operator=_,p}},{key:"_throwIfClosed",value:function(){if(this.closed)throw new g}},{key:"next",value:function(_){var p=this;(0,O.x)(function(){if(p._throwIfClosed(),!p.isStopped){p.currentObservers||(p.currentObservers=Array.from(p.observers));var v,P=(0,u.Z)(p.currentObservers);try{for(P.s();!(v=P.n()).done;)v.value.next(_)}catch(A){P.e(A)}finally{P.f()}}})}},{key:"error",value:function(_){var p=this;(0,O.x)(function(){if(p._throwIfClosed(),!p.isStopped){p.hasError=p.isStopped=!0,p.thrownError=_;for(var P=p.observers;P.length;)P.shift().error(_)}})}},{key:"complete",value:function(){var _=this;(0,O.x)(function(){if(_._throwIfClosed(),!_.isStopped){_.isStopped=!0;for(var p=_.observers;p.length;)p.shift().complete()}})}},{key:"unsubscribe",value:function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}},{key:"observed",get:function(){var _;return(null===(_=this.observers)||void 0===_?void 0:_.length)>0}},{key:"_trySubscribe",value:function(_){return this._throwIfClosed(),(0,d.Z)((0,a.Z)(R.prototype),"_trySubscribe",this).call(this,_)}},{key:"_subscribe",value:function(_){return this._throwIfClosed(),this._checkFinalizedStatuses(_),this._innerSubscribe(_)}},{key:"_innerSubscribe",value:function(_){var p=this,E=this.observers;return this.hasError||this.isStopped?M.Lc:(this.currentObservers=null,E.push(_),new M.w0(function(){p.currentObservers=null,(0,T.P)(E,_)}))}},{key:"_checkFinalizedStatuses",value:function(_){var v=this.isStopped;this.hasError?_.error(this.thrownError):v&&_.complete()}},{key:"asObservable",value:function(){var _=new t.y;return _.source=this,_}}]),R}(t.y);return L.create=function(U,x){return new Z(U,x)},L}(),Z=function(L){(0,f.Z)(x,L);var U=(0,r.Z)(x);function x(R,y){var _;return(0,i.Z)(this,x),(_=U.call(this)).destination=R,_.source=y,_}return(0,n.Z)(x,[{key:"next",value:function(y){var _,p;null===(p=null===(_=this.destination)||void 0===_?void 0:_.next)||void 0===p||p.call(_,y)}},{key:"error",value:function(y){var _,p;null===(p=null===(_=this.destination)||void 0===_?void 0:_.error)||void 0===p||p.call(_,y)}},{key:"complete",value:function(){var y,_;null===(_=null===(y=this.destination)||void 0===y?void 0:y.complete)||void 0===_||_.call(y)}},{key:"_subscribe",value:function(y){var _,p;return null!==(p=null===(_=this.source)||void 0===_?void 0:_.subscribe(y))&&void 0!==p?p:M.Lc}}]),x}(C)},20591:(I,l,e)=>{e.d(l,{E:()=>i});var i=new(e(90833).y)(function(a){return a.complete()})},37400:(I,l,e)=>{e.d(l,{D:()=>P});var u=e(54987),i=e(8728),n=e(41944);function d(v){var E=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,n.e)(function(A,N){N.add(v.schedule(function(){return A.subscribe(N)},E))})}var r=e(90833),M=e(67321),b=e(92971),g=e(1817);function O(v,E){if(!v)throw new Error("Iterable cannot be null");return new r.y(function(A){(0,g.f)(A,E,function(){var N=v[Symbol.asyncIterator]();(0,g.f)(A,E,function(){N.next().then(function(K){K.done?A.complete():A.next(K.value)})},0,!0)})})}var C=e(21331),Z=e(79548),L=e(99806),U=e(23433),x=e(80470),R=e(27785),y=e(20181);function P(v,E){return E?function p(v,E){if(null!=v){if((0,C.c)(v))return function a(v,E){return(0,u.Xf)(v).pipe(d(E),(0,i.Q)(E))}(v,E);if((0,L.z)(v))return function t(v,E){return new r.y(function(A){var N=0;return E.schedule(function(){N===v.length?A.complete():(A.next(v[N++]),A.closed||this.schedule())})})}(v,E);if((0,Z.t)(v))return function f(v,E){return(0,u.Xf)(v).pipe(d(E),(0,i.Q)(E))}(v,E);if((0,x.D)(v))return O(v,E);if((0,U.T)(v))return function T(v,E){return new r.y(function(A){var N;return(0,g.f)(A,E,function(){N=v[M.h](),(0,g.f)(A,E,function(){var K,s;try{var m=N.next();K=m.value,s=m.done}catch(c){return void A.error(c)}s?A.complete():A.next(K)},0,!0)}),function(){return(0,b.m)(N?.return)&&N.return()}})}(v,E);if((0,y.L)(v))return function _(v,E){return O((0,y.Q)(v),E)}(v,E)}throw(0,R.z)(v)}(v,E):(0,u.Xf)(v)}},36646:(I,l,e)=>{e.d(l,{T:()=>f});var u=e(1308),i=e(54987),n=e(20591),d=e(10420),a=e(37400);function f(){for(var r=arguments.length,t=new Array(r),M=0;M<r;M++)t[M]=arguments[M];var b=(0,d.yG)(t),g=(0,d._6)(t,1/0),T=t;return T.length?1===T.length?(0,i.Xf)(T[0]):(0,u.J)(g)((0,a.D)(T,b)):n.E}},93945:(I,l,e)=>{e.d(l,{Q:()=>b,x:()=>M});var u=e(78069),i=e(48047),n=e(35488),d=e(24582),a=e(28694),f=e(4089),r=e(20265);function M(g,T,O,C,Z){return new b(g,T,O,C,Z)}var b=function(g){(0,d.Z)(O,g);var T=(0,a.Z)(O);function O(C,Z,L,U,x,R){var y,_,p,P;return(0,u.Z)(this,O),(P=T.call(this,C)).onFinalize=x,P.shouldUnsubscribe=R,P._next=Z?function(v){try{Z(v)}catch(E){C.error(E)}}:(0,f.Z)((y=(0,n.Z)(P),(0,r.Z)(O.prototype)),"_next",y),P._error=U?function(v){try{U(v)}catch(E){C.error(E)}finally{this.unsubscribe()}}:(0,f.Z)((_=(0,n.Z)(P),(0,r.Z)(O.prototype)),"_error",_),P._complete=L?function(){try{L()}catch(v){C.error(v)}finally{this.unsubscribe()}}:(0,f.Z)((p=(0,n.Z)(P),(0,r.Z)(O.prototype)),"_complete",p),P}return(0,i.Z)(O,[{key:"unsubscribe",value:function(){var Z;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var L=this.closed;(0,f.Z)((0,r.Z)(O.prototype),"unsubscribe",this).call(this),!L&&(null===(Z=this.onFinalize)||void 0===Z||Z.call(this))}}}]),O}(e(5463).Lv)},50635:(I,l,e)=>{e.d(l,{U:()=>n});var u=e(41944),i=e(93945);function n(d,a){return(0,u.e)(function(f,r){var t=0;f.subscribe((0,i.x)(r,function(M){r.next(d.call(a,M,t++))}))})}},1308:(I,l,e)=>{e.d(l,{J:()=>n});var u=e(49525),i=e(89173);function n(){return(0,u.z)(i.y,arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0)}},49525:(I,l,e)=>{e.d(l,{z:()=>t});var u=e(50635),i=e(54987),n=e(41944),d=e(1817),a=e(93945),r=e(92971);function t(M,b){var g=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;return(0,r.m)(b)?t(function(T,O){return(0,u.U)(function(C,Z){return b(T,C,O,Z)})((0,i.Xf)(M(T,O)))},g):("number"==typeof b&&(g=b),(0,n.e)(function(T,O){return function f(M,b,g,T,O,C,Z,L){var U=[],x=0,R=0,y=!1,_=function(){y&&!U.length&&!x&&b.complete()},p=function(E){return x<T?P(E):U.push(E)},P=function v(E){C&&b.next(E),x++;var A=!1;(0,i.Xf)(g(E,R++)).subscribe((0,a.x)(b,function(N){O?.(N),C?p(N):b.next(N)},function(){A=!0},void 0,function(){if(A)try{x--;for(var N=function(){var s=U.shift();Z?(0,d.f)(b,Z,function(){return v(s)}):v(s)};U.length&&x<T;)N();_()}catch(K){b.error(K)}}))};return M.subscribe((0,a.x)(b,p,function(){y=!0,_()})),function(){L?.()}}(T,O,M,g)}))}},8728:(I,l,e)=>{e.d(l,{Q:()=>d});var u=e(1817),i=e(41944),n=e(93945);function d(a){var f=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,i.e)(function(r,t){r.subscribe((0,n.x)(t,function(M){return(0,u.f)(t,a,function(){return t.next(M)},f)},function(){return(0,u.f)(t,a,function(){return t.complete()},f)},function(M){return(0,u.f)(t,a,function(){return t.error(M)},f)}))})}},59295:(I,l,e)=>{e.d(l,{q:()=>d});var u=e(20591),i=e(41944),n=e(93945);function d(a){return a<=0?function(){return u.E}:(0,i.e)(function(f,r){var t=0;f.subscribe((0,n.x)(r,function(M){++t<=a&&(r.next(M),a<=t&&r.complete())}))})}},10420:(I,l,e)=>{e.d(l,{_6:()=>f,jO:()=>d,yG:()=>a});var u=e(92971),i=e(59867);function n(r){return r[r.length-1]}function d(r){return(0,u.m)(n(r))?r.pop():void 0}function a(r){return(0,i.K)(n(r))?r.pop():void 0}function f(r,t){return"number"==typeof n(r)?r.pop():t}},1817:(I,l,e)=>{function u(i,n,d){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,f=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r=n.schedule(function(){d(),f?i.add(this.schedule(null,a)):this.unsubscribe()},a);if(i.add(r),!f)return r}e.d(l,{f:()=>u})},59867:(I,l,e)=>{e.d(l,{K:()=>i});var u=e(92971);function i(n){return n&&(0,u.m)(n.schedule)}},41944:(I,l,e)=>{e.d(l,{A:()=>i,e:()=>n});var u=e(92971);function i(d){return(0,u.m)(d?.lift)}function n(d){return function(a){if(i(a))return a.lift(function(f){try{return d(f,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}},42493:(I,l,e)=>{e.r(l),e.d(l,{MatNestedTreeNode:()=>R,MatTree:()=>p,MatTreeFlatDataSource:()=>N,MatTreeFlattener:()=>A,MatTreeModule:()=>E,MatTreeNestedDataSource:()=>K,MatTreeNode:()=>U,MatTreeNodeDef:()=>x,MatTreeNodeOutlet:()=>_,MatTreeNodePadding:()=>y,MatTreeNodeToggle:()=>P});var u=e(78069),i=e(48047),n=e(4089),d=e(20265),a=e(24582),f=e(28694),r=e(67726),t=e(56718),M=e(6606),b=e(35333),g=e(81382),T=e(76317),O=e(36646),C=e(59295),Z=e(50635),L=(0,M.mixinTabIndex)((0,M.mixinDisabled)(r.CdkTreeNode)),U=function(){var s=function(m){(0,a.Z)(o,m);var c=(0,f.Z)(o);function o(h,D,S){var B;return(0,u.Z)(this,o),(B=c.call(this,h,D)).tabIndex=Number(S)||0,B}return(0,i.Z)(o,[{key:"ngOnInit",value:function(){(0,n.Z)((0,d.Z)(o.prototype),"ngOnInit",this).call(this)}},{key:"ngOnDestroy",value:function(){(0,n.Z)((0,d.Z)(o.prototype),"ngOnDestroy",this).call(this)}}]),o}(L);return s.\u0275fac=function(c){return new(c||s)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(r.CdkTree),t.\u0275\u0275injectAttribute("tabindex"))},s.\u0275dir=t.\u0275\u0275defineDirective({type:s,selectors:[["mat-tree-node"]],hostAttrs:[1,"mat-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["matTreeNode"],features:[t.\u0275\u0275ProvidersFeature([{provide:r.CdkTreeNode,useExisting:s}]),t.\u0275\u0275InheritDefinitionFeature]}),s}(),x=function(){var s=function(m){(0,a.Z)(o,m);var c=(0,f.Z)(o);function o(){return(0,u.Z)(this,o),c.apply(this,arguments)}return(0,i.Z)(o)}(r.CdkTreeNodeDef);return s.\u0275fac=function(){var m;return function(o){return(m||(m=t.\u0275\u0275getInheritedFactory(s)))(o||s)}}(),s.\u0275dir=t.\u0275\u0275defineDirective({type:s,selectors:[["","matTreeNodeDef",""]],inputs:{when:["matTreeNodeDefWhen","when"],data:["matTreeNode","data"]},features:[t.\u0275\u0275ProvidersFeature([{provide:r.CdkTreeNodeDef,useExisting:s}]),t.\u0275\u0275InheritDefinitionFeature]}),s}(),R=function(){var s=function(m){(0,a.Z)(o,m);var c=(0,f.Z)(o);function o(h,D,S,B){var j;return(0,u.Z)(this,o),(j=c.call(this,h,D,S))._disabled=!1,j.tabIndex=Number(B)||0,j}return(0,i.Z)(o,[{key:"disabled",get:function(){return this._disabled},set:function(D){this._disabled=(0,b.coerceBooleanProperty)(D)}},{key:"tabIndex",get:function(){return this.disabled?-1:this._tabIndex},set:function(D){this._tabIndex=D??0}},{key:"ngOnInit",value:function(){(0,n.Z)((0,d.Z)(o.prototype),"ngOnInit",this).call(this)}},{key:"ngAfterContentInit",value:function(){(0,n.Z)((0,d.Z)(o.prototype),"ngAfterContentInit",this).call(this)}},{key:"ngOnDestroy",value:function(){(0,n.Z)((0,d.Z)(o.prototype),"ngOnDestroy",this).call(this)}}]),o}(r.CdkNestedTreeNode);return s.\u0275fac=function(c){return new(c||s)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(r.CdkTree),t.\u0275\u0275directiveInject(t.IterableDiffers),t.\u0275\u0275injectAttribute("tabindex"))},s.\u0275dir=t.\u0275\u0275defineDirective({type:s,selectors:[["mat-nested-tree-node"]],hostAttrs:[1,"mat-nested-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex",node:["matNestedTreeNode","node"]},exportAs:["matNestedTreeNode"],features:[t.\u0275\u0275ProvidersFeature([{provide:r.CdkNestedTreeNode,useExisting:s},{provide:r.CdkTreeNode,useExisting:s},{provide:r.CDK_TREE_NODE_OUTLET_NODE,useExisting:s}]),t.\u0275\u0275InheritDefinitionFeature]}),s}(),y=function(){var s=function(m){(0,a.Z)(o,m);var c=(0,f.Z)(o);function o(){return(0,u.Z)(this,o),c.apply(this,arguments)}return(0,i.Z)(o,[{key:"level",get:function(){return this._level},set:function(D){this._setLevelInput(D)}},{key:"indent",get:function(){return this._indent},set:function(D){this._setIndentInput(D)}}]),o}(r.CdkTreeNodePadding);return s.\u0275fac=function(){var m;return function(o){return(m||(m=t.\u0275\u0275getInheritedFactory(s)))(o||s)}}(),s.\u0275dir=t.\u0275\u0275defineDirective({type:s,selectors:[["","matTreeNodePadding",""]],inputs:{level:["matTreeNodePadding","level"],indent:["matTreeNodePaddingIndent","indent"]},features:[t.\u0275\u0275ProvidersFeature([{provide:r.CdkTreeNodePadding,useExisting:s}]),t.\u0275\u0275InheritDefinitionFeature]}),s}(),_=function(){var s=(0,i.Z)(function m(c,o){(0,u.Z)(this,m),this.viewContainer=c,this._node=o});return s.\u0275fac=function(c){return new(c||s)(t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(r.CDK_TREE_NODE_OUTLET_NODE,8))},s.\u0275dir=t.\u0275\u0275defineDirective({type:s,selectors:[["","matTreeNodeOutlet",""]],features:[t.\u0275\u0275ProvidersFeature([{provide:r.CdkTreeNodeOutlet,useExisting:s}])]}),s}(),p=function(){var s=function(m){(0,a.Z)(o,m);var c=(0,f.Z)(o);function o(){var h;return(0,u.Z)(this,o),(h=c.apply(this,arguments))._nodeOutlet=void 0,h}return(0,i.Z)(o)}(r.CdkTree);return s.\u0275fac=function(){var m;return function(o){return(m||(m=t.\u0275\u0275getInheritedFactory(s)))(o||s)}}(),s.\u0275cmp=t.\u0275\u0275defineComponent({type:s,selectors:[["mat-tree"]],viewQuery:function(c,o){var h;1&c&&t.\u0275\u0275viewQuery(_,7),2&c&&t.\u0275\u0275queryRefresh(h=t.\u0275\u0275loadQuery())&&(o._nodeOutlet=h.first)},hostAttrs:["role","tree",1,"mat-tree"],exportAs:["matTree"],features:[t.\u0275\u0275ProvidersFeature([{provide:r.CdkTree,useExisting:s}]),t.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(c,o){1&c&&t.\u0275\u0275elementContainer(0,0)},dependencies:[_],styles:[".mat-tree{display:block}.mat-tree-node{display:flex;align-items:center;flex:1;word-wrap:break-word}.mat-nested-tree-node{border-bottom-width:0}"],encapsulation:2}),s}(),P=function(){var s=function(m){(0,a.Z)(o,m);var c=(0,f.Z)(o);function o(){return(0,u.Z)(this,o),c.apply(this,arguments)}return(0,i.Z)(o)}(r.CdkTreeNodeToggle);return s.\u0275fac=function(){var m;return function(o){return(m||(m=t.\u0275\u0275getInheritedFactory(s)))(o||s)}}(),s.\u0275dir=t.\u0275\u0275defineDirective({type:s,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:["matTreeNodeToggleRecursive","recursive"]},features:[t.\u0275\u0275ProvidersFeature([{provide:r.CdkTreeNodeToggle,useExisting:s}]),t.\u0275\u0275InheritDefinitionFeature]}),s}(),E=function(){var s=(0,i.Z)(function m(){(0,u.Z)(this,m)});return s.\u0275fac=function(c){return new(c||s)},s.\u0275mod=t.\u0275\u0275defineNgModule({type:s}),s.\u0275inj=t.\u0275\u0275defineInjector({imports:[r.CdkTreeModule,M.MatCommonModule,M.MatCommonModule]}),s}(),A=function(){function s(m,c,o,h){(0,u.Z)(this,s),this.transformFunction=m,this.getLevel=c,this.isExpandable=o,this.getChildren=h}return(0,i.Z)(s,[{key:"_flattenNode",value:function(c,o,h,D){var S=this,B=this.transformFunction(c,o);if(h.push(B),this.isExpandable(B)){var j=this.getChildren(c);j&&(Array.isArray(j)?this._flattenChildren(j,o,h,D):j.pipe((0,C.q)(1)).subscribe(function(F){S._flattenChildren(F,o,h,D)}))}return h}},{key:"_flattenChildren",value:function(c,o,h,D){var S=this;c.forEach(function(B,j){var F=D.slice();F.push(j!=c.length-1),S._flattenNode(B,o+1,h,F)})}},{key:"flattenNodes",value:function(c){var o=this,h=[];return c.forEach(function(D){return o._flattenNode(D,0,h,[])}),h}},{key:"expandFlattenedNodes",value:function(c,o){var h=this,D=[],S=[];return S[0]=!0,c.forEach(function(B){for(var j=!0,F=0;F<=h.getLevel(B);F++)j=j&&S[F];j&&D.push(B),h.isExpandable(B)&&(S[h.getLevel(B)+1]=o.isExpanded(B))}),D}}]),s}(),N=function(s){(0,a.Z)(c,s);var m=(0,f.Z)(c);function c(o,h,D){var S;return(0,u.Z)(this,c),(S=m.call(this))._treeControl=o,S._treeFlattener=h,S._flattenedData=new T.X([]),S._expandedData=new T.X([]),S._data=new T.X([]),D&&(S.data=D),S}return(0,i.Z)(c,[{key:"data",get:function(){return this._data.value},set:function(h){this._data.next(h),this._flattenedData.next(this._treeFlattener.flattenNodes(this.data)),this._treeControl.dataNodes=this._flattenedData.value}},{key:"connect",value:function(h){var D=this;return(0,O.T)(h.viewChange,this._treeControl.expansionModel.changed,this._flattenedData).pipe((0,Z.U)(function(){return D._expandedData.next(D._treeFlattener.expandFlattenedNodes(D._flattenedData.value,D._treeControl)),D._expandedData.value}))}},{key:"disconnect",value:function(){}}]),c}(g.DataSource),K=function(s){(0,a.Z)(c,s);var m=(0,f.Z)(c);function c(){var o;return(0,u.Z)(this,c),(o=m.apply(this,arguments))._data=new T.X([]),o}return(0,i.Z)(c,[{key:"data",get:function(){return this._data.value},set:function(h){this._data.next(h)}},{key:"connect",value:function(h){var D=this;return O.T.apply(void 0,[h.viewChange,this._data]).pipe((0,Z.U)(function(){return D.data}))}},{key:"disconnect",value:function(){}}]),c}(g.DataSource)},44841:(I,l,e)=>{function u(i,n){(null==n||n>i.length)&&(n=i.length);for(var d=0,a=new Array(n);d<n;d++)a[d]=i[d];return a}e.d(l,{Z:()=>u})},35488:(I,l,e)=>{function u(i){if(void 0===i)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}e.d(l,{Z:()=>u})},95106:(I,l,e)=>{e.d(l,{Z:()=>i});var u=e(44206);function i(n,d){var a=typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(!a){if(Array.isArray(n)||(a=(0,u.Z)(n))||d&&n&&"number"==typeof n.length){a&&(n=a);var f=0,r=function(){};return{s:r,n:function(){return f>=n.length?{done:!0}:{done:!1,value:n[f++]}},e:function(T){throw T},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var b,t=!0,M=!1;return{s:function(){a=a.call(n)},n:function(){var T=a.next();return t=T.done,T},e:function(T){M=!0,b=T},f:function(){try{!t&&null!=a.return&&a.return()}finally{if(M)throw b}}}}},28694:(I,l,e)=>{e.d(l,{Z:()=>f});var u=e(20265),i=e(98568),n=e(43445),d=e(35488);function f(r){var t=(0,i.Z)();return function(){var g,b=(0,u.Z)(r);if(t){var T=(0,u.Z)(this).constructor;g=Reflect.construct(b,arguments,T)}else g=b.apply(this,arguments);return function a(r,t){if(t&&("object"===(0,n.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,d.Z)(r)}(this,g)}}},4089:(I,l,e)=>{e.d(l,{Z:()=>n});var u=e(20265);function n(){return n=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(a,f,r){var t=function i(d,a){for(;!Object.prototype.hasOwnProperty.call(d,a)&&null!==(d=(0,u.Z)(d)););return d}(a,f);if(t){var M=Object.getOwnPropertyDescriptor(t,f);return M.get?M.get.call(arguments.length<3?a:r):M.value}},n.apply(this,arguments)}},20265:(I,l,e)=>{function u(i){return(u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(d){return d.__proto__||Object.getPrototypeOf(d)})(i)}e.d(l,{Z:()=>u})},24582:(I,l,e)=>{e.d(l,{Z:()=>i});var u=e(10006);function i(n,d){if("function"!=typeof d&&null!==d)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(d&&d.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),d&&(0,u.Z)(n,d)}},98568:(I,l,e)=>{function u(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(l,{Z:()=>u})},4826:(I,l,e)=>{function u(i){if(typeof Symbol<"u"&&null!=i[Symbol.iterator]||null!=i["@@iterator"])return Array.from(i)}e.d(l,{Z:()=>u})},10006:(I,l,e)=>{function u(i,n){return(u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,f){return a.__proto__=f,a})(i,n)}e.d(l,{Z:()=>u})},86170:(I,l,e)=>{e.d(l,{Z:()=>f});var u=e(44841),n=e(4826),d=e(44206);function f(r){return function i(r){if(Array.isArray(r))return(0,u.Z)(r)}(r)||(0,n.Z)(r)||(0,d.Z)(r)||function a(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(I,l,e)=>{e.d(l,{Z:()=>i});var u=e(44841);function i(n,d){if(n){if("string"==typeof n)return(0,u.Z)(n,d);var a=Object.prototype.toString.call(n).slice(8,-1);if("Object"===a&&n.constructor&&(a=n.constructor.name),"Map"===a||"Set"===a)return Array.from(n);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return(0,u.Z)(n,d)}}}}]); +//# sourceMappingURL=4640.bf671556de706900.js.map \ No newline at end of file diff --git a/4640.bf671556de706900.js.map b/4640.bf671556de706900.js.map new file mode 100644 index 0000000..390b24d --- /dev/null +++ b/4640.bf671556de706900.js.map @@ -0,0 +1 @@ +{"version":3,"file":"4640.bf671556de706900.js","mappings":"saACaA,EAAe,SAAAC,IAAAC,OAAAF,EAAAC,GAAA,IAAAE,KAAAC,KAAAJ,GACxB,SAAAA,EAAYK,GAAQ,IAAAC,EAAAC,cAAAC,KAAAR,IAChBM,EAAAH,EAAAM,KAAAD,OACKH,OAASA,EAAOC,CACzB,CAACI,cAAAV,EAAA,EAAAW,IAAA,QAAAC,IACD,WACI,OAAOJ,KAAKK,UAChB,GAAC,CAAAF,IAAA,aAAAG,MACD,SAAWC,GACP,IAAMC,KAAYC,QAAAC,KAAAlB,EAAAmB,WAAA,aAAAX,MAAAC,KAAAD,KAAoBO,GACtC,OAACC,EAAaI,QAAUL,EAAWM,KAAKb,KAAKH,QACtCW,CACX,GAAC,CAAAL,IAAA,WAAAG,MACD,WACI,IAA+BT,EAAWG,KAAXH,OAC/B,GAD0CG,KAAlCc,SAEJ,MAFsCd,KAAxBe,YAIlB,OAAAf,KAAKgB,iBACEnB,CACX,GAAC,CAAAM,IAAA,OAAAG,MACD,SAAKA,IACDG,UAAAC,KAAAlB,EAAAmB,WAAA,OAAAX,MAAAC,KAAAD,KAAYA,KAAKH,OAASS,EAC9B,KAACd,CAAA,CAvBuB,UAASyB,2ICAxBC,cAA0BC,GAAiB,SAACxB,GAAM,OAAK,WAChEA,EAAOK,MACPA,KAAKoB,KAAO,0BACZpB,KAAKqB,QAAU,qBACnB,CAAC,yBCAYJ,EAAO,eAAPA,EAAO,SAAAK,IAAA5B,OAAAuB,EAAAK,GAAA,IAAA3B,KAAAC,KAAAqB,GAChB,SAAAA,IAAc,IAAAnB,EAAAC,cAAAC,KAAAiB,IACVnB,EAAAH,EAAAM,KAAA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AnB,OAAAI,eAAAJ,OAAAI,eAAAX,OAAA,SAAAvB,EAAAkD,GACA,OAAAlD,EAAAmC,UAAAe,EACAlD,CACA,GACAA,EAAAkD,EACA,wFCFe,SAAAC,EAAA/M,GACf,OCJe,SAAAgN,EAAAhN,GACf,GAAAlI,MAAAkP,QAAAhH,GAAA,SAAiCiN,EAAAjD,GAAgBhK,EACjD,CDESgN,CAAiBhN,KAAA,EAASkN,EAAAlD,GAAehK,KAAA,EAASmN,EAAAnD,GAA0BhK,IELtE,SAAAoN,IACf,UAAAvM,UAAA,uIACA,CFG8FuM,EAC9F,mDGLe,SAAAC,EAAAzD,EAAA0D,GACf,GAAA1D,EACA,qBAAAA,EAAA,SAAoC2D,EAAAvD,GAAgBJ,EAAA0D,GACpD,IAAAlV,EAAAsT,OAAAhV,UAAA8W,SAAAxX,KAAA4T,GAAAtC,MAAA,MAEA,GADA,WAAAlP,GAAAwR,EAAAiB,cAAAzS,EAAAwR,EAAAiB,YAAA1T,MACA,QAAAiB,GAAA,QAAAA,EAAA,OAAAN,MAAAC,KAAA6R,GACA,iBAAAxR,GAAA,2CAAAqV,KAAArV,GAAA,SAAsFmV,EAAAvD,GAAgBJ,EAAA0D,EAAA,CACtG","names":["BehaviorSubject","_Subject","_inherits","_super","_createSuper","_value","_this","_classCallCheck","this","call","_createClass","key","get","getValue","value","subscriber","subscription","_get","_getPrototypeOf","prototype","closed","next","hasError","thrownError","_throwIfClosed","Subject","ObjectUnsubscribedError","createErrorClass","name","message","_Observable","currentObservers","observers","isStopped","operator","subject","AnonymousSubject","_this2","errorContext","Array","from","_step","_iterator","_createForOfIteratorHelper","s","n","done","err","e","f","_this3","length","shift","error","_this4","complete","_a","_checkFinalizedStatuses","_innerSubscribe","_this5","EMPTY_SUBSCRIPTION","push","Subscription","arrRemove","observable","Observable","source","create","destination","_super2","_this6","_b","subscribe","EMPTY","subscribeOn","scheduler","delay","arguments","undefined","operate","add","schedule","scheduleAsyncIterable","input","Error","executeSchedule","iterator","Symbol","asyncIterator","then","result","scheduled","isInteropObservable","scheduleObservable","innerFrom","pipe","observeOn","isArrayLike","scheduleArray","i","isPromise","schedulePromise","isAsyncIterable","isIterable","scheduleIterable","Symbol_iterator","_iterator$next","isFunction","return","isReadableStreamLike","scheduleReadableStreamLike","readableStreamLikeToAsyncGenerator","createInvalidObservableTypeError","merge","_len","args","_key","popScheduler","concurrent","popNumber","Infinity","sources","mergeAll","createOperatorSubscriber","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_next","_assertThisInitialized","_error","unsubscribe","_complete","Subscriber","map","project","thisArg","index","mergeMap","identity","resultSelector","a","b","ii","mergeInternals","onBeforeNext","expand","innerSubScheduler","additionalFinalizer","buffer","active","isComplete","checkComplete","outerNext","doInnerSub","innerComplete","innerValue","_loop","bufferedValue","take","count","seen","last","arr","popResultSelector","pop","isScheduler","defaultValue","parentSubscription","work","repeat","scheduleSubscription","hasLift","lift","init","liftedSource","TypeError","_MatTreeNodeBase","mixinTabIndex","mixinDisabled","CdkTreeNode","MatTreeNode","_MatTreeNodeBase2","elementRef","tree","tabIndex","Number","ɵfac","t","i0","i1","ɵdir","type","selectors","hostAttrs","inputs","role","disabled","exportAs","features","provide","useExisting","MatTreeNodeDef","_CdkTreeNodeDef","apply","CdkTreeNodeDef","ɵMatTreeNodeDef_BaseFactory","when","data","MatNestedTreeNode","_CdkNestedTreeNode","_super3","differs","_disabled","set","coerceBooleanProperty","_tabIndex","CdkNestedTreeNode","node","CDK_TREE_NODE_OUTLET_NODE","MatTreeNodePadding","_CdkTreeNodePadding","_super4","_level","_setLevelInput","_indent","indent","_setIndentInput","CdkTreeNodePadding","ɵMatTreeNodePadding_BaseFactory","level","MatTreeNodeOutlet","viewContainer","_node","CdkTreeNodeOutlet","MatTree","_CdkTree","_super5","_nodeOutlet","CdkTree","ɵMatTree_BaseFactory","ɵcmp","viewQuery","rf","ctx","_t","first","decls","vars","consts","template","dependencies","styles","encapsulation","MatTreeNodeToggle","_CdkTreeNodeToggle","_super6","CdkTreeNodeToggle","ɵMatTreeNodeToggle_BaseFactory","recursive","MatTreeModule","ɵmod","ɵinj","imports","CdkTreeModule","MatCommonModule","MatTreeFlattener","transformFunction","getLevel","isExpandable","getChildren","resultNodes","parentMap","flatNode","childrenNodes","isArray","_flattenChildren","children","forEach","child","childParentMap","slice","_flattenNode","structuredData","nodes","treeControl","_this7","results","currentExpand","isExpanded","MatTreeFlatDataSource","_DataSource","_super7","_treeControl","_treeFlattener","initialData","_this8","_flattenedData","_expandedData","_data","flattenNodes","dataNodes","collectionViewer","_this9","viewChange","expansionModel","changed","expandFlattenedNodes","DataSource","MatTreeNestedDataSource","_DataSource2","_super8","_this10","_this11","_arrayLikeToArray","len","arr2","self","ReferenceError","o","allowArrayLike","it","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","_e","normalCompletion","didErr","step","_e2","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Super","getPrototypeOf","NewTarget","constructor","Reflect","construct","_possibleConstructorReturn","esm_typeof","assertThisInitialized","bind","target","property","receiver","base","_superPropBase","object","Object","hasOwnProperty","desc","getOwnPropertyDescriptor","setPrototypeOf","__proto__","subClass","superClass","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_iterableToArray","iter","_setPrototypeOf","p","_toConsumableArray","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","toString","test"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/BehaviorSubject.js","./node_modules/rxjs/dist/esm/internal/util/ObjectUnsubscribedError.js","./node_modules/rxjs/dist/esm/internal/Subject.js","./node_modules/rxjs/dist/esm/internal/observable/empty.js","./node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleAsyncIterable.js","./node_modules/rxjs/dist/esm/internal/observable/from.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduled.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleObservable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleArray.js","./node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleIterable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleReadableStreamLike.js","./node_modules/rxjs/dist/esm/internal/observable/merge.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/map.js","./node_modules/rxjs/dist/esm/internal/operators/mergeAll.js","./node_modules/rxjs/dist/esm/internal/operators/mergeMap.js","./node_modules/rxjs/dist/esm/internal/operators/mergeInternals.js","./node_modules/rxjs/dist/esm/internal/operators/observeOn.js","./node_modules/rxjs/dist/esm/internal/operators/take.js","./node_modules/rxjs/dist/esm/internal/util/args.js","./node_modules/rxjs/dist/esm/internal/util/executeSchedule.js","./node_modules/rxjs/dist/esm/internal/util/isScheduler.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/@angular/material/fesm2022/tree.mjs","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { Subject } from './Subject';\nexport class BehaviorSubject extends Subject {\n constructor(_value) {\n super();\n this._value = _value;\n }\n get value() {\n return this.getValue();\n }\n _subscribe(subscriber) {\n const subscription = super._subscribe(subscriber);\n !subscription.closed && subscriber.next(this._value);\n return subscription;\n }\n getValue() {\n const { hasError, thrownError, _value } = this;\n if (hasError) {\n throw thrownError;\n }\n this._throwIfClosed();\n return _value;\n }\n next(value) {\n super.next((this._value = value));\n }\n}\n","import { createErrorClass } from './createErrorClass';\nexport const ObjectUnsubscribedError = createErrorClass((_super) => function ObjectUnsubscribedErrorImpl() {\n _super(this);\n this.name = 'ObjectUnsubscribedError';\n this.message = 'object unsubscribed';\n});\n","import { Observable } from './Observable';\nimport { Subscription, EMPTY_SUBSCRIPTION } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { arrRemove } from './util/arrRemove';\nimport { errorContext } from './util/errorContext';\nexport class Subject extends Observable {\n constructor() {\n super();\n this.closed = false;\n this.currentObservers = null;\n this.observers = [];\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n lift(operator) {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n }\n _throwIfClosed() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n }\n next(value) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n if (!this.currentObservers) {\n this.currentObservers = Array.from(this.observers);\n }\n for (const observer of this.currentObservers) {\n observer.next(value);\n }\n }\n });\n }\n error(err) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.hasError = this.isStopped = true;\n this.thrownError = err;\n const { observers } = this;\n while (observers.length) {\n observers.shift().error(err);\n }\n }\n });\n }\n complete() {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.isStopped = true;\n const { observers } = this;\n while (observers.length) {\n observers.shift().complete();\n }\n }\n });\n }\n unsubscribe() {\n this.isStopped = this.closed = true;\n this.observers = this.currentObservers = null;\n }\n get observed() {\n var _a;\n return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;\n }\n _trySubscribe(subscriber) {\n this._throwIfClosed();\n return super._trySubscribe(subscriber);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._checkFinalizedStatuses(subscriber);\n return this._innerSubscribe(subscriber);\n }\n _innerSubscribe(subscriber) {\n const { hasError, isStopped, observers } = this;\n if (hasError || isStopped) {\n return EMPTY_SUBSCRIPTION;\n }\n this.currentObservers = null;\n observers.push(subscriber);\n return new Subscription(() => {\n this.currentObservers = null;\n arrRemove(observers, subscriber);\n });\n }\n _checkFinalizedStatuses(subscriber) {\n const { hasError, thrownError, isStopped } = this;\n if (hasError) {\n subscriber.error(thrownError);\n }\n else if (isStopped) {\n subscriber.complete();\n }\n }\n asObservable() {\n const observable = new Observable();\n observable.source = this;\n return observable;\n }\n}\nSubject.create = (destination, source) => {\n return new AnonymousSubject(destination, source);\n};\nexport class AnonymousSubject extends Subject {\n constructor(destination, source) {\n super();\n this.destination = destination;\n this.source = source;\n }\n next(value) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);\n }\n error(err) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);\n }\n complete() {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);\n }\n _subscribe(subscriber) {\n var _a, _b;\n return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;\n }\n}\n","import { Observable } from '../Observable';\nexport const EMPTY = new Observable((subscriber) => subscriber.complete());\nexport function empty(scheduler) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n return new Observable((subscriber) => scheduler.schedule(() => subscriber.complete()));\n}\n","import { operate } from '../util/lift';\nexport function subscribeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay));\n });\n}\n","import { Observable } from '../Observable';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleAsyncIterable(input, scheduler) {\n if (!input) {\n throw new Error('Iterable cannot be null');\n }\n return new Observable((subscriber) => {\n executeSchedule(subscriber, scheduler, () => {\n const iterator = input[Symbol.asyncIterator]();\n executeSchedule(subscriber, scheduler, () => {\n iterator.next().then((result) => {\n if (result.done) {\n subscriber.complete();\n }\n else {\n subscriber.next(result.value);\n }\n });\n }, 0, true);\n });\n });\n}\n","import { scheduled } from '../scheduled/scheduled';\nimport { innerFrom } from './innerFrom';\nexport function from(input, scheduler) {\n return scheduler ? scheduled(input, scheduler) : innerFrom(input);\n}\n","import { scheduleObservable } from './scheduleObservable';\nimport { schedulePromise } from './schedulePromise';\nimport { scheduleArray } from './scheduleArray';\nimport { scheduleIterable } from './scheduleIterable';\nimport { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isPromise } from '../util/isPromise';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isIterable } from '../util/isIterable';\nimport { isAsyncIterable } from '../util/isAsyncIterable';\nimport { createInvalidObservableTypeError } from '../util/throwUnobservableError';\nimport { isReadableStreamLike } from '../util/isReadableStreamLike';\nimport { scheduleReadableStreamLike } from './scheduleReadableStreamLike';\nexport function scheduled(input, scheduler) {\n if (input != null) {\n if (isInteropObservable(input)) {\n return scheduleObservable(input, scheduler);\n }\n if (isArrayLike(input)) {\n return scheduleArray(input, scheduler);\n }\n if (isPromise(input)) {\n return schedulePromise(input, scheduler);\n }\n if (isAsyncIterable(input)) {\n return scheduleAsyncIterable(input, scheduler);\n }\n if (isIterable(input)) {\n return scheduleIterable(input, scheduler);\n }\n if (isReadableStreamLike(input)) {\n return scheduleReadableStreamLike(input, scheduler);\n }\n }\n throw createInvalidObservableTypeError(input);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function scheduleObservable(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nexport function scheduleArray(input, scheduler) {\n return new Observable((subscriber) => {\n let i = 0;\n return scheduler.schedule(function () {\n if (i === input.length) {\n subscriber.complete();\n }\n else {\n subscriber.next(input[i++]);\n if (!subscriber.closed) {\n this.schedule();\n }\n }\n });\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function schedulePromise(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from '../util/isFunction';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleIterable(input, scheduler) {\n return new Observable((subscriber) => {\n let iterator;\n executeSchedule(subscriber, scheduler, () => {\n iterator = input[Symbol_iterator]();\n executeSchedule(subscriber, scheduler, () => {\n let value;\n let done;\n try {\n ({ value, done } = iterator.next());\n }\n catch (err) {\n subscriber.error(err);\n return;\n }\n if (done) {\n subscriber.complete();\n }\n else {\n subscriber.next(value);\n }\n }, 0, true);\n });\n return () => isFunction(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return();\n });\n}\n","import { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { readableStreamLikeToAsyncGenerator } from '../util/isReadableStreamLike';\nexport function scheduleReadableStreamLike(input, scheduler) {\n return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);\n}\n","import { mergeAll } from '../operators/mergeAll';\nimport { innerFrom } from './innerFrom';\nimport { EMPTY } from './empty';\nimport { popNumber, popScheduler } from '../util/args';\nimport { from } from './from';\nexport function merge(...args) {\n const scheduler = popScheduler(args);\n const concurrent = popNumber(args, Infinity);\n const sources = args;\n return !sources.length\n ?\n EMPTY\n : sources.length === 1\n ?\n innerFrom(sources[0])\n :\n mergeAll(concurrent)(from(sources, scheduler));\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function map(project, thisArg) {\n return operate((source, subscriber) => {\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n subscriber.next(project.call(thisArg, value, index++));\n }));\n });\n}\n","import { mergeMap } from './mergeMap';\nimport { identity } from '../util/identity';\nexport function mergeAll(concurrent = Infinity) {\n return mergeMap(identity, concurrent);\n}\n","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 }\n else if (typeof resultSelector === 'number') {\n concurrent = resultSelector;\n }\n return operate((source, subscriber) => mergeInternals(source, subscriber, project, concurrent));\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { executeSchedule } from '../util/executeSchedule';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function mergeInternals(source, subscriber, project, concurrent, onBeforeNext, expand, innerSubScheduler, additionalFinalizer) {\n const buffer = [];\n let active = 0;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => {\n if (isComplete && !buffer.length && !active) {\n subscriber.complete();\n }\n };\n const outerNext = (value) => (active < concurrent ? doInnerSub(value) : buffer.push(value));\n const doInnerSub = (value) => {\n expand && subscriber.next(value);\n active++;\n let innerComplete = false;\n innerFrom(project(value, index++)).subscribe(createOperatorSubscriber(subscriber, (innerValue) => {\n onBeforeNext === null || onBeforeNext === void 0 ? void 0 : onBeforeNext(innerValue);\n if (expand) {\n outerNext(innerValue);\n }\n else {\n subscriber.next(innerValue);\n }\n }, () => {\n innerComplete = true;\n }, undefined, () => {\n if (innerComplete) {\n try {\n active--;\n while (buffer.length && active < concurrent) {\n const bufferedValue = buffer.shift();\n if (innerSubScheduler) {\n executeSchedule(subscriber, innerSubScheduler, () => doInnerSub(bufferedValue));\n }\n else {\n doInnerSub(bufferedValue);\n }\n }\n checkComplete();\n }\n catch (err) {\n subscriber.error(err);\n }\n }\n }));\n };\n source.subscribe(createOperatorSubscriber(subscriber, outerNext, () => {\n isComplete = true;\n checkComplete();\n }));\n return () => {\n additionalFinalizer === null || additionalFinalizer === void 0 ? void 0 : additionalFinalizer();\n };\n}\n","import { executeSchedule } from '../util/executeSchedule';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function observeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, (value) => executeSchedule(subscriber, scheduler, () => subscriber.next(value), delay), () => executeSchedule(subscriber, scheduler, () => subscriber.complete(), delay), (err) => executeSchedule(subscriber, scheduler, () => subscriber.error(err), delay)));\n });\n}\n","import { EMPTY } from '../observable/empty';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function take(count) {\n return count <= 0\n ?\n () => EMPTY\n : operate((source, subscriber) => {\n let seen = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n if (++seen <= count) {\n subscriber.next(value);\n if (count <= seen) {\n subscriber.complete();\n }\n }\n }));\n });\n}\n","import { isFunction } from './isFunction';\nimport { isScheduler } from './isScheduler';\nfunction last(arr) {\n return arr[arr.length - 1];\n}\nexport function popResultSelector(args) {\n return isFunction(last(args)) ? args.pop() : undefined;\n}\nexport function popScheduler(args) {\n return isScheduler(last(args)) ? args.pop() : undefined;\n}\nexport function popNumber(args, defaultValue) {\n return typeof last(args) === 'number' ? args.pop() : defaultValue;\n}\n","export function executeSchedule(parentSubscription, scheduler, work, delay = 0, repeat = false) {\n const scheduleSubscription = scheduler.schedule(function () {\n work();\n if (repeat) {\n parentSubscription.add(this.schedule(null, delay));\n }\n else {\n this.unsubscribe();\n }\n }, delay);\n parentSubscription.add(scheduleSubscription);\n if (!repeat) {\n return scheduleSubscription;\n }\n}\n","import { isFunction } from './isFunction';\nexport function isScheduler(value) {\n return value && isFunction(value.schedule);\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","import * as i1 from '@angular/cdk/tree';\nimport { CdkTreeNode, CdkTreeNodeDef, CdkNestedTreeNode, CDK_TREE_NODE_OUTLET_NODE, CdkTreeNodePadding, CdkTreeNodeOutlet, CdkTree, CdkTreeNodeToggle, CdkTreeModule } from '@angular/cdk/tree';\nimport * as i0 from '@angular/core';\nimport { Directive, Attribute, Input, Inject, Optional, Component, ViewEncapsulation, ChangeDetectionStrategy, ViewChild, NgModule } from '@angular/core';\nimport { mixinTabIndex, mixinDisabled, MatCommonModule } from '@angular/material/core';\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { DataSource } from '@angular/cdk/collections';\nimport { BehaviorSubject, merge } from 'rxjs';\nimport { take, map } from 'rxjs/operators';\n\nconst _MatTreeNodeBase = mixinTabIndex(mixinDisabled(CdkTreeNode));\n/**\n * Wrapper for the CdkTree node with Material design styles.\n */\nclass MatTreeNode extends _MatTreeNodeBase {\n constructor(elementRef, tree, tabIndex) {\n super(elementRef, tree);\n this.tabIndex = Number(tabIndex) || 0;\n }\n // This is a workaround for https://github.com/angular/angular/issues/23091\n // In aot mode, the lifecycle hooks from parent class are not called.\n ngOnInit() {\n super.ngOnInit();\n }\n ngOnDestroy() {\n super.ngOnDestroy();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTreeNode, deps: [{ token: i0.ElementRef }, { token: i1.CdkTree }, { token: 'tabindex', attribute: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatTreeNode, selector: \"mat-tree-node\", inputs: { role: \"role\", disabled: \"disabled\", tabIndex: \"tabIndex\" }, host: { classAttribute: \"mat-tree-node\" }, providers: [{ provide: CdkTreeNode, useExisting: MatTreeNode }], exportAs: [\"matTreeNode\"], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTreeNode, decorators: [{\n type: Directive,\n args: [{\n selector: 'mat-tree-node',\n exportAs: 'matTreeNode',\n inputs: ['role', 'disabled', 'tabIndex'],\n providers: [{ provide: CdkTreeNode, useExisting: MatTreeNode }],\n host: {\n 'class': 'mat-tree-node',\n },\n }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.CdkTree }, { type: undefined, decorators: [{\n type: Attribute,\n args: ['tabindex']\n }] }]; } });\n/**\n * Wrapper for the CdkTree node definition with Material design styles.\n * Captures the node's template and a when predicate that describes when this node should be used.\n */\nclass MatTreeNodeDef extends CdkTreeNodeDef {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTreeNodeDef, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatTreeNodeDef, selector: \"[matTreeNodeDef]\", inputs: { when: [\"matTreeNodeDefWhen\", \"when\"], data: [\"matTreeNode\", \"data\"] }, providers: [{ provide: CdkTreeNodeDef, useExisting: MatTreeNodeDef }], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTreeNodeDef, decorators: [{\n type: Directive,\n args: [{\n selector: '[matTreeNodeDef]',\n inputs: ['when: matTreeNodeDefWhen'],\n providers: [{ provide: CdkTreeNodeDef, useExisting: MatTreeNodeDef }],\n }]\n }], propDecorators: { data: [{\n type: Input,\n args: ['matTreeNode']\n }] } });\n/**\n * Wrapper for the CdkTree nested node with Material design styles.\n */\nclass MatNestedTreeNode extends CdkNestedTreeNode {\n /** Whether the node is disabled. */\n get disabled() {\n return this._disabled;\n }\n set disabled(value) {\n this._disabled = coerceBooleanProperty(value);\n }\n /** Tabindex for the node. */\n get tabIndex() {\n return this.disabled ? -1 : this._tabIndex;\n }\n set tabIndex(value) {\n // If the specified tabIndex value is null or undefined, fall back to the default value.\n this._tabIndex = value != null ? value : 0;\n }\n constructor(elementRef, tree, differs, tabIndex) {\n super(elementRef, tree, differs);\n this._disabled = false;\n this.tabIndex = Number(tabIndex) || 0;\n }\n // This is a workaround for https://github.com/angular/angular/issues/19145\n // In aot mode, the lifecycle hooks from parent class are not called.\n // TODO(tinayuangao): Remove when the angular issue #19145 is fixed\n ngOnInit() {\n super.ngOnInit();\n }\n ngAfterContentInit() {\n super.ngAfterContentInit();\n }\n ngOnDestroy() {\n super.ngOnDestroy();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatNestedTreeNode, deps: [{ token: i0.ElementRef }, { token: i1.CdkTree }, { token: i0.IterableDiffers }, { token: 'tabindex', attribute: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatNestedTreeNode, selector: \"mat-nested-tree-node\", inputs: { role: \"role\", disabled: \"disabled\", tabIndex: \"tabIndex\", node: [\"matNestedTreeNode\", \"node\"] }, host: { classAttribute: \"mat-nested-tree-node\" }, providers: [\n { provide: CdkNestedTreeNode, useExisting: MatNestedTreeNode },\n { provide: CdkTreeNode, useExisting: MatNestedTreeNode },\n { provide: CDK_TREE_NODE_OUTLET_NODE, useExisting: MatNestedTreeNode },\n ], exportAs: [\"matNestedTreeNode\"], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatNestedTreeNode, decorators: [{\n type: Directive,\n args: [{\n selector: 'mat-nested-tree-node',\n exportAs: 'matNestedTreeNode',\n inputs: ['role', 'disabled', 'tabIndex'],\n providers: [\n { provide: CdkNestedTreeNode, useExisting: MatNestedTreeNode },\n { provide: CdkTreeNode, useExisting: MatNestedTreeNode },\n { provide: CDK_TREE_NODE_OUTLET_NODE, useExisting: MatNestedTreeNode },\n ],\n host: {\n 'class': 'mat-nested-tree-node',\n },\n }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.CdkTree }, { type: i0.IterableDiffers }, { type: undefined, decorators: [{\n type: Attribute,\n args: ['tabindex']\n }] }]; }, propDecorators: { node: [{\n type: Input,\n args: ['matNestedTreeNode']\n }], disabled: [{\n type: Input\n }], tabIndex: [{\n type: Input\n }] } });\n\n/**\n * Wrapper for the CdkTree padding with Material design styles.\n */\nclass MatTreeNodePadding extends CdkTreeNodePadding {\n /** The level of depth of the tree node. The padding will be `level * indent` pixels. */\n get level() {\n return this._level;\n }\n set level(value) {\n this._setLevelInput(value);\n }\n /** The indent for each level. Default number 40px from material design menu sub-menu spec. */\n get indent() {\n return this._indent;\n }\n set indent(indent) {\n this._setIndentInput(indent);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTreeNodePadding, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatTreeNodePadding, selector: \"[matTreeNodePadding]\", inputs: { level: [\"matTreeNodePadding\", \"level\"], indent: [\"matTreeNodePaddingIndent\", \"indent\"] }, providers: [{ provide: CdkTreeNodePadding, useExisting: MatTreeNodePadding }], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTreeNodePadding, decorators: [{\n type: Directive,\n args: [{\n selector: '[matTreeNodePadding]',\n providers: [{ provide: CdkTreeNodePadding, useExisting: MatTreeNodePadding }],\n }]\n }], propDecorators: { level: [{\n type: Input,\n args: ['matTreeNodePadding']\n }], indent: [{\n type: Input,\n args: ['matTreeNodePaddingIndent']\n }] } });\n\n/**\n * Outlet for nested CdkNode. Put `[matTreeNodeOutlet]` on a tag to place children dataNodes\n * inside the outlet.\n */\nclass MatTreeNodeOutlet {\n constructor(viewContainer, _node) {\n this.viewContainer = viewContainer;\n this._node = _node;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTreeNodeOutlet, deps: [{ token: i0.ViewContainerRef }, { token: CDK_TREE_NODE_OUTLET_NODE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatTreeNodeOutlet, selector: \"[matTreeNodeOutlet]\", providers: [\n {\n provide: CdkTreeNodeOutlet,\n useExisting: MatTreeNodeOutlet,\n },\n ], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTreeNodeOutlet, decorators: [{\n type: Directive,\n args: [{\n selector: '[matTreeNodeOutlet]',\n providers: [\n {\n provide: CdkTreeNodeOutlet,\n useExisting: MatTreeNodeOutlet,\n },\n ],\n }]\n }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: undefined, decorators: [{\n type: Inject,\n args: [CDK_TREE_NODE_OUTLET_NODE]\n }, {\n type: Optional\n }] }]; } });\n\n/**\n * Wrapper for the CdkTable with Material design styles.\n */\nclass MatTree extends CdkTree {\n constructor() {\n super(...arguments);\n // Outlets within the tree's template where the dataNodes will be inserted.\n // We need an initializer here to avoid a TS error. The value will be set in `ngAfterViewInit`.\n this._nodeOutlet = undefined;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTree, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatTree, selector: \"mat-tree\", host: { attributes: { \"role\": \"tree\" }, classAttribute: \"mat-tree\" }, providers: [{ provide: CdkTree, useExisting: MatTree }], viewQueries: [{ propertyName: \"_nodeOutlet\", first: true, predicate: MatTreeNodeOutlet, descendants: true, static: true }], exportAs: [\"matTree\"], usesInheritance: true, ngImport: i0, template: `<ng-container matTreeNodeOutlet></ng-container>`, isInline: true, styles: [\".mat-tree{display:block}.mat-tree-node{display:flex;align-items:center;flex:1;word-wrap:break-word}.mat-nested-tree-node{border-bottom-width:0}\"], dependencies: [{ kind: \"directive\", type: MatTreeNodeOutlet, selector: \"[matTreeNodeOutlet]\" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTree, decorators: [{\n type: Component,\n args: [{ selector: 'mat-tree', exportAs: 'matTree', template: `<ng-container matTreeNodeOutlet></ng-container>`, host: {\n 'class': 'mat-tree',\n 'role': 'tree',\n }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, providers: [{ provide: CdkTree, useExisting: MatTree }], styles: [\".mat-tree{display:block}.mat-tree-node{display:flex;align-items:center;flex:1;word-wrap:break-word}.mat-nested-tree-node{border-bottom-width:0}\"] }]\n }], propDecorators: { _nodeOutlet: [{\n type: ViewChild,\n args: [MatTreeNodeOutlet, { static: true }]\n }] } });\n\n/**\n * Wrapper for the CdkTree's toggle with Material design styles.\n */\nclass MatTreeNodeToggle extends CdkTreeNodeToggle {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTreeNodeToggle, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatTreeNodeToggle, selector: \"[matTreeNodeToggle]\", inputs: { recursive: [\"matTreeNodeToggleRecursive\", \"recursive\"] }, providers: [{ provide: CdkTreeNodeToggle, useExisting: MatTreeNodeToggle }], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTreeNodeToggle, decorators: [{\n type: Directive,\n args: [{\n selector: '[matTreeNodeToggle]',\n providers: [{ provide: CdkTreeNodeToggle, useExisting: MatTreeNodeToggle }],\n inputs: ['recursive: matTreeNodeToggleRecursive'],\n }]\n }] });\n\nconst MAT_TREE_DIRECTIVES = [\n MatNestedTreeNode,\n MatTreeNodeDef,\n MatTreeNodePadding,\n MatTreeNodeToggle,\n MatTree,\n MatTreeNode,\n MatTreeNodeOutlet,\n];\nclass MatTreeModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTreeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTreeModule, declarations: [MatNestedTreeNode,\n MatTreeNodeDef,\n MatTreeNodePadding,\n MatTreeNodeToggle,\n MatTree,\n MatTreeNode,\n MatTreeNodeOutlet], imports: [CdkTreeModule, MatCommonModule], exports: [MatCommonModule, MatNestedTreeNode,\n MatTreeNodeDef,\n MatTreeNodePadding,\n MatTreeNodeToggle,\n MatTree,\n MatTreeNode,\n MatTreeNodeOutlet] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTreeModule, imports: [CdkTreeModule, MatCommonModule, MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTreeModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [CdkTreeModule, MatCommonModule],\n exports: [MatCommonModule, MAT_TREE_DIRECTIVES],\n declarations: MAT_TREE_DIRECTIVES,\n }]\n }] });\n\n/**\n * Tree flattener to convert a normal type of node to node with children & level information.\n * Transform nested nodes of type `T` to flattened nodes of type `F`.\n *\n * For example, the input data of type `T` is nested, and contains its children data:\n * SomeNode: {\n * key: 'Fruits',\n * children: [\n * NodeOne: {\n * key: 'Apple',\n * },\n * NodeTwo: {\n * key: 'Pear',\n * }\n * ]\n * }\n * After flattener flatten the tree, the structure will become\n * SomeNode: {\n * key: 'Fruits',\n * expandable: true,\n * level: 1\n * },\n * NodeOne: {\n * key: 'Apple',\n * expandable: false,\n * level: 2\n * },\n * NodeTwo: {\n * key: 'Pear',\n * expandable: false,\n * level: 2\n * }\n * and the output flattened type is `F` with additional information.\n */\nclass MatTreeFlattener {\n constructor(transformFunction, getLevel, isExpandable, getChildren) {\n this.transformFunction = transformFunction;\n this.getLevel = getLevel;\n this.isExpandable = isExpandable;\n this.getChildren = getChildren;\n }\n _flattenNode(node, level, resultNodes, parentMap) {\n const flatNode = this.transformFunction(node, level);\n resultNodes.push(flatNode);\n if (this.isExpandable(flatNode)) {\n const childrenNodes = this.getChildren(node);\n if (childrenNodes) {\n if (Array.isArray(childrenNodes)) {\n this._flattenChildren(childrenNodes, level, resultNodes, parentMap);\n }\n else {\n childrenNodes.pipe(take(1)).subscribe(children => {\n this._flattenChildren(children, level, resultNodes, parentMap);\n });\n }\n }\n }\n return resultNodes;\n }\n _flattenChildren(children, level, resultNodes, parentMap) {\n children.forEach((child, index) => {\n let childParentMap = parentMap.slice();\n childParentMap.push(index != children.length - 1);\n this._flattenNode(child, level + 1, resultNodes, childParentMap);\n });\n }\n /**\n * Flatten a list of node type T to flattened version of node F.\n * Please note that type T may be nested, and the length of `structuredData` may be different\n * from that of returned list `F[]`.\n */\n flattenNodes(structuredData) {\n let resultNodes = [];\n structuredData.forEach(node => this._flattenNode(node, 0, resultNodes, []));\n return resultNodes;\n }\n /**\n * Expand flattened node with current expansion status.\n * The returned list may have different length.\n */\n expandFlattenedNodes(nodes, treeControl) {\n let results = [];\n let currentExpand = [];\n currentExpand[0] = true;\n nodes.forEach(node => {\n let expand = true;\n for (let i = 0; i <= this.getLevel(node); i++) {\n expand = expand && currentExpand[i];\n }\n if (expand) {\n results.push(node);\n }\n if (this.isExpandable(node)) {\n currentExpand[this.getLevel(node) + 1] = treeControl.isExpanded(node);\n }\n });\n return results;\n }\n}\n/**\n * Data source for flat tree.\n * The data source need to handle expansion/collapsion of the tree node and change the data feed\n * to `MatTree`.\n * The nested tree nodes of type `T` are flattened through `MatTreeFlattener`, and converted\n * to type `F` for `MatTree` to consume.\n */\nclass MatTreeFlatDataSource extends DataSource {\n get data() {\n return this._data.value;\n }\n set data(value) {\n this._data.next(value);\n this._flattenedData.next(this._treeFlattener.flattenNodes(this.data));\n this._treeControl.dataNodes = this._flattenedData.value;\n }\n constructor(_treeControl, _treeFlattener, initialData) {\n super();\n this._treeControl = _treeControl;\n this._treeFlattener = _treeFlattener;\n this._flattenedData = new BehaviorSubject([]);\n this._expandedData = new BehaviorSubject([]);\n this._data = new BehaviorSubject([]);\n if (initialData) {\n // Assign the data through the constructor to ensure that all of the logic is executed.\n this.data = initialData;\n }\n }\n connect(collectionViewer) {\n return merge(collectionViewer.viewChange, this._treeControl.expansionModel.changed, this._flattenedData).pipe(map(() => {\n this._expandedData.next(this._treeFlattener.expandFlattenedNodes(this._flattenedData.value, this._treeControl));\n return this._expandedData.value;\n }));\n }\n disconnect() {\n // no op\n }\n}\n\n/**\n * Data source for nested tree.\n *\n * The data source for nested tree doesn't have to consider node flattener, or the way to expand\n * or collapse. The expansion/collapsion will be handled by TreeControl and each non-leaf node.\n */\nclass MatTreeNestedDataSource extends DataSource {\n constructor() {\n super(...arguments);\n this._data = new BehaviorSubject([]);\n }\n /**\n * Data for the nested tree\n */\n get data() {\n return this._data.value;\n }\n set data(value) {\n this._data.next(value);\n }\n connect(collectionViewer) {\n return merge(...[collectionViewer.viewChange, this._data]).pipe(map(() => this.data));\n }\n disconnect() {\n // no op\n }\n}\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MatNestedTreeNode, MatTree, MatTreeFlatDataSource, MatTreeFlattener, MatTreeModule, MatTreeNestedDataSource, MatTreeNode, MatTreeNodeDef, MatTreeNodeOutlet, MatTreeNodePadding, MatTreeNodeToggle };\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41]} \ No newline at end of file diff --git a/4680.dca80f0114f257a5.js b/4680.dca80f0114f257a5.js new file mode 100644 index 0000000..52514e9 --- /dev/null +++ b/4680.dca80f0114f257a5.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[4680,7376,5187,4091,1217,7208,4968,4155,1084,6896,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,2111,3326,8596,8352,5501,3098,8608,8443,5915,3278,5391,6748,6763,4151,5069,7432,6618],{35488:(f,n,e)=>{function t(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}e.d(n,{Z:()=>t})},28694:(f,n,e)=>{e.d(n,{Z:()=>i});var t=e(20265),o=e(98568),u=e(43445),r=e(35488);function i(p){var c=(0,o.Z)();return function(){var a,s=(0,t.Z)(p);if(c){var d=(0,t.Z)(this).constructor;a=Reflect.construct(s,arguments,d)}else a=s.apply(this,arguments);return function _(p,c){if(c&&("object"===(0,u.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(p)}(this,a)}}},20265:(f,n,e)=>{function t(o){return(t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)})(o)}e.d(n,{Z:()=>t})},24582:(f,n,e)=>{e.d(n,{Z:()=>o});var t=e(10006);function o(u,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(r&&r.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),r&&(0,t.Z)(u,r)}},98568:(f,n,e)=>{function t(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(n,{Z:()=>t})},10006:(f,n,e)=>{function t(o,u){return(t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_,i){return _.__proto__=i,_})(o,u)}e.d(n,{Z:()=>t})}}]); +//# sourceMappingURL=4680.dca80f0114f257a5.js.map \ No newline at end of file diff --git a/4680.dca80f0114f257a5.js.map b/4680.dca80f0114f257a5.js.map new file mode 100644 index 0000000..4a27828 --- /dev/null +++ b/4680.dca80f0114f257a5.js.map @@ -0,0 +1 @@ +{"version":3,"file":"4680.dca80f0114f257a5.js","mappings":"sQAAe,SAAAA,EAAAC,GACf,YAAAA,EACA,UAAAC,eAAA,6DAEA,OAAAD,CACA,oGCFe,SAAAE,EAAAC,GACf,IAAAC,KAAkCC,EAAAC,KAClC,kBACA,IACAC,EADAC,KAAgBC,EAAAH,GAAcH,GAE9B,GAAAC,EAAA,CACA,IAAAM,KAAsBD,EAAAH,GAAcK,MAAAC,YACpCL,EAAAM,QAAAC,UAAAN,EAAAO,UAAAL,EAAA,MAEAH,EAAAC,EAAAQ,MAAAL,KAAAI,WAEA,OCZe,SAAAE,EAAAjB,EAAAkB,GACf,GAAAA,IAAsB,YAAtBA,EAAeC,EAAAb,GAAOY,IAAA,mBAAAA,GACtB,OAAAA,EACI,YAAAA,EACJ,UAAAE,UAAA,4DAEA,SAASC,EAAAf,GAAqBN,EAC9B,CDKWiB,CAAyBN,KAAAJ,EACpC,CACA,mBEhBe,SAAAe,EAAAC,GACf,OAAAD,EAAAE,OAAAC,eAAAD,OAAAf,eAAAiB,OAAA,SAAAH,GACA,OAAAA,EAAAI,WAAAH,OAAAf,eAAAc,EACA,GACAA,EACA,mECJe,SAAAK,EAAAC,EAAAC,GACf,sBAAAA,GAAA,OAAAA,EACA,UAAAV,UAAA,sDAEAS,EAAAE,UAAAP,OAAAQ,OAAAF,KAAAC,UAAA,CACAnB,YAAA,CACAqB,MAAAJ,EACAK,UAAA,EACAC,cAAA,KAGAX,OAAAY,eAAAP,EAAA,aACAK,UAAA,IAEAJ,MAAkBO,EAAA/B,GAAcuB,EAAAC,EAChC,mBChBe,SAAAQ,IAEf,UADAzB,QAAA,MAAAA,QAAAC,WACAD,QAAAC,UAAAyB,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAAV,UAAAW,QAAAxB,KAAAL,QAAAC,UAAA2B,QAAA,mBACA,CACA,OACA,QACA,CACA,mCCVe,SAAAE,EAAApB,EAAAqB,GACf,OAAAD,EAAAnB,OAAAC,eAAAD,OAAAC,eAAAC,OAAA,SAAAH,EAAAqB,GACA,OAAArB,EAAAI,UAAAiB,EACArB,CACA,GACAA,EAAAqB,EACA","names":["_assertThisInitialized","self","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","call","esm_typeof","TypeError","assertThisInitialized","_getPrototypeOf","o","Object","setPrototypeOf","bind","__proto__","_inherits","subClass","superClass","prototype","create","value","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6]} \ No newline at end of file diff --git a/4755.e219075f665d048b.js b/4755.e219075f665d048b.js new file mode 100644 index 0000000..480024e --- /dev/null +++ b/4755.e219075f665d048b.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[4755,7376,5187,4091,1217,7208,4968,4155,1084,6896,6980,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,8061,4680,2111,3326,8596,8352,5501,3098,8467,6578,8608,8443,5915,3278,5391,6748,6763,4151,5069,7432,8071,6618],{24755:(g,s,c)=>{c.r(s),c.d(s,{MatLegacyCell:()=>L,MatLegacyCellDef:()=>M,MatLegacyColumnDef:()=>C,MatLegacyFooterCell:()=>b,MatLegacyFooterCellDef:()=>Z,MatLegacyFooterRow:()=>k,MatLegacyFooterRowDef:()=>T,MatLegacyHeaderCell:()=>w,MatLegacyHeaderCellDef:()=>D,MatLegacyHeaderRow:()=>O,MatLegacyHeaderRowDef:()=>E,MatLegacyNoDataRow:()=>I,MatLegacyRecycleRows:()=>R,MatLegacyRow:()=>P,MatLegacyRowDef:()=>x,MatLegacyTable:()=>F,MatLegacyTableDataSource:()=>j,MatLegacyTableModule:()=>N,MatLegacyTextColumn:()=>H,_MatLegacyTableDataSource:()=>m._MatTableDataSource});var d=c(4089),y=c(20265),l=c(24582),i=c(28694),u=c(48047),f=c(78069),a=c(56718),n=c(33730),_=c(81382),v=c(6606),m=c(78954),h=[[["caption"]],[["colgroup"],["col"]]],A=["caption","colgroup, col"];function B(e,r){if(1&e&&(a.\u0275\u0275elementStart(0,"th",3),a.\u0275\u0275text(1),a.\u0275\u0275elementEnd()),2&e){var o=a.\u0275\u0275nextContext();a.\u0275\u0275styleProp("text-align",o.justify),a.\u0275\u0275advance(1),a.\u0275\u0275textInterpolate1(" ",o.headerText," ")}}function S(e,r){if(1&e&&(a.\u0275\u0275elementStart(0,"td",4),a.\u0275\u0275text(1),a.\u0275\u0275elementEnd()),2&e){var o=r.$implicit,t=a.\u0275\u0275nextContext();a.\u0275\u0275styleProp("text-align",t.justify),a.\u0275\u0275advance(1),a.\u0275\u0275textInterpolate1(" ",t.dataAccessor(o,t.name)," ")}}var R=function(){var e=(0,u.Z)(function r(){(0,f.Z)(this,r)});return e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=a.\u0275\u0275defineDirective({type:e,selectors:[["mat-table","recycleRows",""],["table","mat-table","","recycleRows",""]],features:[a.\u0275\u0275ProvidersFeature([{provide:_._VIEW_REPEATER_STRATEGY,useClass:_._RecycleViewRepeaterStrategy}])]}),e}(),F=function(){var e=function(r){(0,l.Z)(t,r);var o=(0,i.Z)(t);function t(){var p;return(0,f.Z)(this,t),(p=o.apply(this,arguments)).stickyCssClass="mat-table-sticky",p.needsPositionStickyOnElement=!1,p}return(0,u.Z)(t)}(n.CdkTable);return e.\u0275fac=function(){var r;return function(t){return(r||(r=a.\u0275\u0275getInheritedFactory(e)))(t||e)}}(),e.\u0275cmp=a.\u0275\u0275defineComponent({type:e,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","",1,"mat-table"],hostVars:2,hostBindings:function(o,t){2&o&&a.\u0275\u0275classProp("mat-table-fixed-layout",t.fixedLayout)},exportAs:["matTable"],features:[a.\u0275\u0275ProvidersFeature([{provide:_._VIEW_REPEATER_STRATEGY,useClass:_._DisposeViewRepeaterStrategy},{provide:n.CdkTable,useExisting:e},{provide:n.CDK_TABLE,useExisting:e},{provide:n._COALESCED_STYLE_SCHEDULER,useClass:n._CoalescedStyleScheduler},{provide:n.STICKY_POSITIONING_LISTENER,useValue:null}]),a.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:A,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(o,t){1&o&&(a.\u0275\u0275projectionDef(h),a.\u0275\u0275projection(0),a.\u0275\u0275projection(1,1),a.\u0275\u0275elementContainer(2,0)(3,1)(4,2)(5,3))},dependencies:[n.DataRowOutlet,n.HeaderRowOutlet,n.FooterRowOutlet,n.NoDataRowOutlet],styles:["mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),e}(),M=function(){var e=function(r){(0,l.Z)(t,r);var o=(0,i.Z)(t);function t(){return(0,f.Z)(this,t),o.apply(this,arguments)}return(0,u.Z)(t)}(n.CdkCellDef);return e.\u0275fac=function(){var r;return function(t){return(r||(r=a.\u0275\u0275getInheritedFactory(e)))(t||e)}}(),e.\u0275dir=a.\u0275\u0275defineDirective({type:e,selectors:[["","matCellDef",""]],features:[a.\u0275\u0275ProvidersFeature([{provide:n.CdkCellDef,useExisting:e}]),a.\u0275\u0275InheritDefinitionFeature]}),e}(),D=function(){var e=function(r){(0,l.Z)(t,r);var o=(0,i.Z)(t);function t(){return(0,f.Z)(this,t),o.apply(this,arguments)}return(0,u.Z)(t)}(n.CdkHeaderCellDef);return e.\u0275fac=function(){var r;return function(t){return(r||(r=a.\u0275\u0275getInheritedFactory(e)))(t||e)}}(),e.\u0275dir=a.\u0275\u0275defineDirective({type:e,selectors:[["","matHeaderCellDef",""]],features:[a.\u0275\u0275ProvidersFeature([{provide:n.CdkHeaderCellDef,useExisting:e}]),a.\u0275\u0275InheritDefinitionFeature]}),e}(),Z=function(){var e=function(r){(0,l.Z)(t,r);var o=(0,i.Z)(t);function t(){return(0,f.Z)(this,t),o.apply(this,arguments)}return(0,u.Z)(t)}(n.CdkFooterCellDef);return e.\u0275fac=function(){var r;return function(t){return(r||(r=a.\u0275\u0275getInheritedFactory(e)))(t||e)}}(),e.\u0275dir=a.\u0275\u0275defineDirective({type:e,selectors:[["","matFooterCellDef",""]],features:[a.\u0275\u0275ProvidersFeature([{provide:n.CdkFooterCellDef,useExisting:e}]),a.\u0275\u0275InheritDefinitionFeature]}),e}(),C=function(){var e=function(r){(0,l.Z)(t,r);var o=(0,i.Z)(t);function t(){return(0,f.Z)(this,t),o.apply(this,arguments)}return(0,u.Z)(t,[{key:"name",get:function(){return this._name},set:function(W){this._setNameInput(W)}},{key:"_updateColumnCssClassName",value:function(){(0,d.Z)((0,y.Z)(t.prototype),"_updateColumnCssClassName",this).call(this),this._columnCssClassName.push("mat-column-".concat(this.cssClassFriendlyName))}}]),t}(n.CdkColumnDef);return e.\u0275fac=function(){var r;return function(t){return(r||(r=a.\u0275\u0275getInheritedFactory(e)))(t||e)}}(),e.\u0275dir=a.\u0275\u0275defineDirective({type:e,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[a.\u0275\u0275ProvidersFeature([{provide:n.CdkColumnDef,useExisting:e},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),a.\u0275\u0275InheritDefinitionFeature]}),e}(),w=function(){var e=function(r){(0,l.Z)(t,r);var o=(0,i.Z)(t);function t(){return(0,f.Z)(this,t),o.apply(this,arguments)}return(0,u.Z)(t)}(n.CdkHeaderCell);return e.\u0275fac=function(){var r;return function(t){return(r||(r=a.\u0275\u0275getInheritedFactory(e)))(t||e)}}(),e.\u0275dir=a.\u0275\u0275defineDirective({type:e,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[a.\u0275\u0275InheritDefinitionFeature]}),e}(),b=function(){var e=function(r){(0,l.Z)(t,r);var o=(0,i.Z)(t);function t(){return(0,f.Z)(this,t),o.apply(this,arguments)}return(0,u.Z)(t)}(n.CdkFooterCell);return e.\u0275fac=function(){var r;return function(t){return(r||(r=a.\u0275\u0275getInheritedFactory(e)))(t||e)}}(),e.\u0275dir=a.\u0275\u0275defineDirective({type:e,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:["role","gridcell",1,"mat-footer-cell"],features:[a.\u0275\u0275InheritDefinitionFeature]}),e}(),L=function(){var e=function(r){(0,l.Z)(t,r);var o=(0,i.Z)(t);function t(){return(0,f.Z)(this,t),o.apply(this,arguments)}return(0,u.Z)(t)}(n.CdkCell);return e.\u0275fac=function(){var r;return function(t){return(r||(r=a.\u0275\u0275getInheritedFactory(e)))(t||e)}}(),e.\u0275dir=a.\u0275\u0275defineDirective({type:e,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[a.\u0275\u0275InheritDefinitionFeature]}),e}(),E=function(){var e=function(r){(0,l.Z)(t,r);var o=(0,i.Z)(t);function t(){return(0,f.Z)(this,t),o.apply(this,arguments)}return(0,u.Z)(t)}(n.CdkHeaderRowDef);return e.\u0275fac=function(){var r;return function(t){return(r||(r=a.\u0275\u0275getInheritedFactory(e)))(t||e)}}(),e.\u0275dir=a.\u0275\u0275defineDirective({type:e,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[a.\u0275\u0275ProvidersFeature([{provide:n.CdkHeaderRowDef,useExisting:e}]),a.\u0275\u0275InheritDefinitionFeature]}),e}(),T=function(){var e=function(r){(0,l.Z)(t,r);var o=(0,i.Z)(t);function t(){return(0,f.Z)(this,t),o.apply(this,arguments)}return(0,u.Z)(t)}(n.CdkFooterRowDef);return e.\u0275fac=function(){var r;return function(t){return(r||(r=a.\u0275\u0275getInheritedFactory(e)))(t||e)}}(),e.\u0275dir=a.\u0275\u0275defineDirective({type:e,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[a.\u0275\u0275ProvidersFeature([{provide:n.CdkFooterRowDef,useExisting:e}]),a.\u0275\u0275InheritDefinitionFeature]}),e}(),x=function(){var e=function(r){(0,l.Z)(t,r);var o=(0,i.Z)(t);function t(){return(0,f.Z)(this,t),o.apply(this,arguments)}return(0,u.Z)(t)}(n.CdkRowDef);return e.\u0275fac=function(){var r;return function(t){return(r||(r=a.\u0275\u0275getInheritedFactory(e)))(t||e)}}(),e.\u0275dir=a.\u0275\u0275defineDirective({type:e,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[a.\u0275\u0275ProvidersFeature([{provide:n.CdkRowDef,useExisting:e}]),a.\u0275\u0275InheritDefinitionFeature]}),e}(),O=function(){var e=function(r){(0,l.Z)(t,r);var o=(0,i.Z)(t);function t(){return(0,f.Z)(this,t),o.apply(this,arguments)}return(0,u.Z)(t)}(n.CdkHeaderRow);return e.\u0275fac=function(){var r;return function(t){return(r||(r=a.\u0275\u0275getInheritedFactory(e)))(t||e)}}(),e.\u0275cmp=a.\u0275\u0275defineComponent({type:e,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[a.\u0275\u0275ProvidersFeature([{provide:n.CdkHeaderRow,useExisting:e}]),a.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(o,t){1&o&&a.\u0275\u0275elementContainer(0,0)},dependencies:[n.CdkCellOutlet],encapsulation:2}),e}(),k=function(){var e=function(r){(0,l.Z)(t,r);var o=(0,i.Z)(t);function t(){return(0,f.Z)(this,t),o.apply(this,arguments)}return(0,u.Z)(t)}(n.CdkFooterRow);return e.\u0275fac=function(){var r;return function(t){return(r||(r=a.\u0275\u0275getInheritedFactory(e)))(t||e)}}(),e.\u0275cmp=a.\u0275\u0275defineComponent({type:e,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-footer-row"],exportAs:["matFooterRow"],features:[a.\u0275\u0275ProvidersFeature([{provide:n.CdkFooterRow,useExisting:e}]),a.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(o,t){1&o&&a.\u0275\u0275elementContainer(0,0)},dependencies:[n.CdkCellOutlet],encapsulation:2}),e}(),P=function(){var e=function(r){(0,l.Z)(t,r);var o=(0,i.Z)(t);function t(){return(0,f.Z)(this,t),o.apply(this,arguments)}return(0,u.Z)(t)}(n.CdkRow);return e.\u0275fac=function(){var r;return function(t){return(r||(r=a.\u0275\u0275getInheritedFactory(e)))(t||e)}}(),e.\u0275cmp=a.\u0275\u0275defineComponent({type:e,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[a.\u0275\u0275ProvidersFeature([{provide:n.CdkRow,useExisting:e}]),a.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(o,t){1&o&&a.\u0275\u0275elementContainer(0,0)},dependencies:[n.CdkCellOutlet],encapsulation:2}),e}(),I=function(){var e=function(r){(0,l.Z)(t,r);var o=(0,i.Z)(t);function t(){var p;return(0,f.Z)(this,t),(p=o.apply(this,arguments))._contentClassName="mat-no-data-row",p}return(0,u.Z)(t)}(n.CdkNoDataRow);return e.\u0275fac=function(){var r;return function(t){return(r||(r=a.\u0275\u0275getInheritedFactory(e)))(t||e)}}(),e.\u0275dir=a.\u0275\u0275defineDirective({type:e,selectors:[["ng-template","matNoDataRow",""]],features:[a.\u0275\u0275ProvidersFeature([{provide:n.CdkNoDataRow,useExisting:e}]),a.\u0275\u0275InheritDefinitionFeature]}),e}(),H=function(){var e=function(r){(0,l.Z)(t,r);var o=(0,i.Z)(t);function t(){return(0,f.Z)(this,t),o.apply(this,arguments)}return(0,u.Z)(t)}(n.CdkTextColumn);return e.\u0275fac=function(){var r;return function(t){return(r||(r=a.\u0275\u0275getInheritedFactory(e)))(t||e)}}(),e.\u0275cmp=a.\u0275\u0275defineComponent({type:e,selectors:[["mat-text-column"]],features:[a.\u0275\u0275InheritDefinitionFeature],decls:3,vars:0,consts:[["matColumnDef",""],["mat-header-cell","",3,"text-align",4,"matHeaderCellDef"],["mat-cell","",3,"text-align",4,"matCellDef"],["mat-header-cell",""],["mat-cell",""]],template:function(o,t){1&o&&(a.\u0275\u0275elementContainerStart(0,0),a.\u0275\u0275template(1,B,2,3,"th",1),a.\u0275\u0275template(2,S,2,3,"td",2),a.\u0275\u0275elementContainerEnd())},dependencies:[D,C,M,w,L],encapsulation:2}),e}(),N=function(){var e=(0,u.Z)(function r(){(0,f.Z)(this,r)});return e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=a.\u0275\u0275defineNgModule({type:e}),e.\u0275inj=a.\u0275\u0275defineInjector({imports:[n.CdkTableModule,v.MatCommonModule,v.MatCommonModule]}),e}(),j=function(e){(0,l.Z)(o,e);var r=(0,i.Z)(o);function o(){return(0,f.Z)(this,o),r.apply(this,arguments)}return(0,u.Z)(o)}(m._MatTableDataSource)},35488:(g,s,c)=>{function d(y){if(void 0===y)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return y}c.d(s,{Z:()=>d})},28694:(g,s,c)=>{c.d(s,{Z:()=>f});var d=c(20265),y=c(98568),l=c(43445),i=c(35488);function f(a){var n=(0,y.Z)();return function(){var m,v=(0,d.Z)(a);if(n){var h=(0,d.Z)(this).constructor;m=Reflect.construct(v,arguments,h)}else m=v.apply(this,arguments);return function u(a,n){if(n&&("object"===(0,l.Z)(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return(0,i.Z)(a)}(this,m)}}},4089:(g,s,c)=>{c.d(s,{Z:()=>l});var d=c(20265);function l(){return l=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(u,f,a){var n=function y(i,u){for(;!Object.prototype.hasOwnProperty.call(i,u)&&null!==(i=(0,d.Z)(i)););return i}(u,f);if(n){var _=Object.getOwnPropertyDescriptor(n,f);return _.get?_.get.call(arguments.length<3?u:a):_.value}},l.apply(this,arguments)}},20265:(g,s,c)=>{function d(y){return(d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)})(y)}c.d(s,{Z:()=>d})},24582:(g,s,c)=>{c.d(s,{Z:()=>y});var d=c(10006);function y(l,i){if("function"!=typeof i&&null!==i)throw new TypeError("Super expression must either be null or a function");l.prototype=Object.create(i&&i.prototype,{constructor:{value:l,writable:!0,configurable:!0}}),Object.defineProperty(l,"prototype",{writable:!1}),i&&(0,d.Z)(l,i)}},98568:(g,s,c)=>{function d(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}c.d(s,{Z:()=>d})},10006:(g,s,c)=>{function d(y,l){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(u,f){return u.__proto__=f,u})(y,l)}c.d(s,{Z:()=>d})}}]); +//# sourceMappingURL=4755.e219075f665d048b.js.map \ No newline at end of file diff --git a/4755.e219075f665d048b.js.map b/4755.e219075f665d048b.js.map new file mode 100644 index 0000000..6d62664 --- /dev/null +++ b/4755.e219075f665d048b.js.map @@ -0,0 +1 @@ +{"version":3,"file":"4755.e219075f665d048b.js","mappings":"q8BAM8DA,EAAA,uCAAAC,EAAA,qCAAAC,EAAAC,EAAAC,GAoYnD,GApYmD,EAAAD,IAUsCE,2BAAE,UAAFA,mBAAE,GAAFA,4BA0XzF,EAAAF,EAAA,KAAAG,EA1XyFD,oDAAE,aAAAC,EAAAC,SAAFF,sBAAE,GAAFA,+BAAE,IAAAC,EAAAE,WAAA,KA0XhG,UAAAC,EAAAN,EAAAC,GAGK,GAHL,EAAAD,IA1X8FE,2BAAE,UAAFA,mBAAE,GAAFA,4BA6XzF,EAAAF,EAAA,KAAAO,EAAAN,EAAAO,UAAAC,EA7XyFP,oDAAE,aAAAO,EAAAL,SAAFF,sBAAE,GAAFA,+BAAE,IAAAO,EAAAC,aAAAH,EAAAE,EAAAE,MAAA,KA6XhG,CApYN,IAMMC,EAAoB,eAApBA,GAAoBC,OAAA,SAAAD,KAAAE,OAAAC,KAAAH,EAAA,GAApBA,SACYI,UAAI,SAAAC,GAAA,WAAAA,GAAwFL,EAAoB,EAD5HA,EAEYM,UADkFhB,8BAAE,CAAAiB,KACJP,EAAoBQ,UAAA,2EAAAC,SAAA,CADlBnB,+BACkG,CAAC,CAAEoB,QAASC,0BAAyBC,SAAUC,qCAF/Ob,CAAoB,IAgBpBc,EAAc,eA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G,EAAAyG,OAAAM,eAAAN,OAAAhB,eAAAS,OAAA,SAAAY,GACA,OAAAA,EAAAE,WAAAP,OAAAhB,eAAAqB,EACA,GACAA,EACA,mECJe,SAAAvK,EAAA0K,EAAAC,GACf,sBAAAA,GAAA,OAAAA,EACA,UAAAlB,UAAA,sDAEAiB,EAAAhH,UAAAwG,OAAAU,OAAAD,KAAAjH,UAAA,CACA0F,YAAA,CACA7F,MAAAmH,EACAG,UAAA,EACAC,cAAA,KAGAZ,OAAAa,eAAAL,EAAA,aACAG,UAAA,IAEAF,MAAkBK,EAAAjC,GAAc2B,EAAAC,EAChC,mBChBe,SAAAM,IAEf,UADA5B,QAAA,MAAAA,QAAAC,WACAD,QAAAC,UAAA4B,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAA1H,UAAA2H,QAAA1H,KAAA0F,QAAAC,UAAA8B,QAAA,mBACA,CACA,OACA,QACA,CACA,mCCVe,SAAAE,EAAAf,EAAAgB,GACf,OAAAD,EAAApB,OAAAM,eAAAN,OAAAM,eAAAb,OAAA,SAAAY,EAAAgB,GACA,OAAAhB,EAAAE,UAAAc,EACAhB,CACA,GACAA,EAAAgB,EACA","names":["_c0","_c1","MatLegacyTextColumn_th_1_Template","rf","ctx","i0","ctx_r0","justify","headerText","MatLegacyTextColumn_td_2_Template","data_r2","$implicit","ctx_r1","dataAccessor","name","MatLegacyRecycleRows","_createClass","_classCallCheck","this","ɵfac","t","ɵdir","type","selectors","features","provide","_VIEW_REPEATER_STRATEGY","useClass","_RecycleViewRepeaterStrategy","MatLegacyTable","_CdkTable","_inherits","_super","_createSuper","_this","apply","arguments","stickyCssClass","needsPositionStickyOnElement","CdkTable","ɵMatLegacyTable_BaseFactory","ɵcmp","hostAttrs","hostVars","hostBindings","fixedLayout","exportAs","_DisposeViewRepeaterStrategy","useExisting","CDK_TABLE","_COALESCED_STYLE_SCHEDULER","_CoalescedStyleScheduler","STICKY_POSITIONING_LISTENER","useValue","ngContentSelectors","decls","vars","consts","template","dependencies","i1","styles","encapsulation","MatLegacyCellDef","_CdkCellDef","_super2","CdkCellDef","ɵMatLegacyCellDef_BaseFactory","MatLegacyHeaderCellDef","_CdkHeaderCellDef","_super3","CdkHeaderCellDef","ɵMatLegacyHeaderCellDef_BaseFactory","MatLegacyFooterCellDef","_CdkFooterCellDef","_super4","CdkFooterCellDef","ɵMatLegacyFooterCellDef_BaseFactory","MatLegacyColumnDef","_CdkColumnDef","_super5","key","get","_name","set","_setNameInput","value","_get","_getPrototypeOf","prototype","call","_columnCssClassName","push","concat","cssClassFriendlyName","CdkColumnDef","ɵMatLegacyColumnDef_BaseFactory","inputs","sticky","MatLegacyHeaderCell","_CdkHeaderCell","_super6","CdkHeaderCell","ɵMatLegacyHeaderCell_BaseFactory","MatLegacyFooterCell","_CdkFooterCell","_super7","CdkFooterCell","ɵMatLegacyFooterCell_BaseFactory","MatLegacyCell","_CdkCell","_super8","CdkCell","ɵMatLegacyCell_BaseFactory","MatLegacyHeaderRowDef","_CdkHeaderRowDef","_super9","CdkHeaderRowDef","ɵMatLegacyHeaderRowDef_BaseFactory","columns","MatLegacyFooterRowDef","_CdkFooterRowDef","_super10","CdkFooterRowDef","ɵMatLegacyFooterRowDef_BaseFactory","MatLegacyRowDef","_CdkRowDef","_super11","CdkRowDef","ɵMatLegacyRowDef_BaseFactory","when","MatLegacyHeaderRow","_CdkHeaderRow","_super12","CdkHeaderRow","ɵMatLegacyHeaderRow_BaseFactory","MatLegacyFooterRow","_CdkFooterRow","_super13","CdkFooterRow","ɵMatLegacyFooterRow_BaseFactory","MatLegacyRow","_CdkRow","_super14","CdkRow","ɵMatLegacyRow_BaseFactory","MatLegacyNoDataRow","_CdkNoDataRow","_super15","_this2","_contentClassName","CdkNoDataRow","ɵMatLegacyNoDataRow_BaseFactory","MatLegacyTextColumn","_CdkTextColumn","_super16","CdkTextColumn","ɵMatLegacyTextColumn_BaseFactory","MatLegacyTableModule","ɵmod","ɵinj","imports","CdkTableModule","MatCommonModule","MatLegacyTableDataSource","_MatTableDataSource2","_super17","_MatTableDataSource","_assertThisInitialized","self","ReferenceError","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","constructor","Reflect","construct","_possibleConstructorReturn","esm_typeof","TypeError","assertThisInitialized","bind","target","property","receiver","base","_superPropBase","object","Object","hasOwnProperty","desc","getOwnPropertyDescriptor","length","o","setPrototypeOf","__proto__","subClass","superClass","create","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@angular/material/fesm2022/legacy-table.mjs","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["import * as i0 from '@angular/core';\nimport { Directive, Component, ViewEncapsulation, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';\nimport * as i1 from '@angular/cdk/table';\nimport { CdkTable, CDK_TABLE, _COALESCED_STYLE_SCHEDULER, _CoalescedStyleScheduler, STICKY_POSITIONING_LISTENER, CDK_TABLE_TEMPLATE, CdkCellDef, CdkHeaderCellDef, CdkFooterCellDef, CdkColumnDef, CdkHeaderCell, CdkFooterCell, CdkCell, CdkHeaderRowDef, CdkFooterRowDef, CdkRowDef, CdkHeaderRow, CDK_ROW_TEMPLATE, CdkFooterRow, CdkRow, CdkNoDataRow, CdkTextColumn, CdkTableModule } from '@angular/cdk/table';\nimport { _VIEW_REPEATER_STRATEGY, _RecycleViewRepeaterStrategy, _DisposeViewRepeaterStrategy } from '@angular/cdk/collections';\nimport { MatCommonModule } from '@angular/material/core';\nimport { _MatTableDataSource } from '@angular/material/table';\nexport { _MatTableDataSource as _MatLegacyTableDataSource } from '@angular/material/table';\n\n/**\n * Enables the recycle view repeater strategy, which reduces rendering latency. Not compatible with\n * tables that animate rows.\n * @deprecated Use `MatRecycleRows` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyRecycleRows {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyRecycleRows, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyRecycleRows, selector: \"mat-table[recycleRows], table[mat-table][recycleRows]\", providers: [{ provide: _VIEW_REPEATER_STRATEGY, useClass: _RecycleViewRepeaterStrategy }], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyRecycleRows, decorators: [{\n type: Directive,\n args: [{\n selector: 'mat-table[recycleRows], table[mat-table][recycleRows]',\n providers: [{ provide: _VIEW_REPEATER_STRATEGY, useClass: _RecycleViewRepeaterStrategy }],\n }]\n }] });\n/**\n * Wrapper for the CdkTable with Material design styles.\n * @deprecated Use `MatTable` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyTable extends CdkTable {\n constructor() {\n super(...arguments);\n /** Overrides the sticky CSS class set by the `CdkTable`. */\n this.stickyCssClass = 'mat-table-sticky';\n /** Overrides the need to add position: sticky on every sticky cell element in `CdkTable`. */\n this.needsPositionStickyOnElement = false;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyTable, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyTable, selector: \"mat-table, table[mat-table]\", host: { attributes: { \"ngSkipHydration\": \"\" }, properties: { \"class.mat-table-fixed-layout\": \"fixedLayout\" }, classAttribute: \"mat-table\" }, providers: [\n // TODO(michaeljamesparsons) Abstract the view repeater strategy to a directive API so this code\n // is only included in the build if used.\n { provide: _VIEW_REPEATER_STRATEGY, useClass: _DisposeViewRepeaterStrategy },\n { provide: CdkTable, useExisting: MatLegacyTable },\n { provide: CDK_TABLE, useExisting: MatLegacyTable },\n { provide: _COALESCED_STYLE_SCHEDULER, useClass: _CoalescedStyleScheduler },\n // Prevent nested tables from seeing this table's StickyPositioningListener.\n { provide: STICKY_POSITIONING_LISTENER, useValue: null },\n ], exportAs: [\"matTable\"], usesInheritance: true, ngImport: i0, template: \"\\n <ng-content select=\\\"caption\\\"></ng-content>\\n <ng-content select=\\\"colgroup, col\\\"></ng-content>\\n <ng-container headerRowOutlet></ng-container>\\n <ng-container rowOutlet></ng-container>\\n <ng-container noDataRowOutlet></ng-container>\\n <ng-container footerRowOutlet></ng-container>\\n\", isInline: true, styles: [\"mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\"], dependencies: [{ kind: \"directive\", type: i1.DataRowOutlet, selector: \"[rowOutlet]\" }, { kind: \"directive\", type: i1.HeaderRowOutlet, selector: \"[headerRowOutlet]\" }, { kind: \"directive\", type: i1.FooterRowOutlet, selector: \"[footerRowOutlet]\" }, { kind: \"directive\", type: i1.NoDataRowOutlet, selector: \"[noDataRowOutlet]\" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyTable, decorators: [{\n type: Component,\n args: [{ selector: 'mat-table, table[mat-table]', exportAs: 'matTable', template: CDK_TABLE_TEMPLATE, host: {\n 'class': 'mat-table',\n '[class.mat-table-fixed-layout]': 'fixedLayout',\n 'ngSkipHydration': '',\n }, providers: [\n // TODO(michaeljamesparsons) Abstract the view repeater strategy to a directive API so this code\n // is only included in the build if used.\n { provide: _VIEW_REPEATER_STRATEGY, useClass: _DisposeViewRepeaterStrategy },\n { provide: CdkTable, useExisting: MatLegacyTable },\n { provide: CDK_TABLE, useExisting: MatLegacyTable },\n { provide: _COALESCED_STYLE_SCHEDULER, useClass: _CoalescedStyleScheduler },\n // Prevent nested tables from seeing this table's StickyPositioningListener.\n { provide: STICKY_POSITIONING_LISTENER, useValue: null },\n ], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, styles: [\"mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\"] }]\n }] });\n\n/**\n * Cell definition for the mat-table.\n * Captures the template of a column's data row cell as well as cell-specific properties.\n * @deprecated Use `MatCellDef` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyCellDef extends CdkCellDef {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyCellDef, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyCellDef, selector: \"[matCellDef]\", providers: [{ provide: CdkCellDef, useExisting: MatLegacyCellDef }], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyCellDef, decorators: [{\n type: Directive,\n args: [{\n selector: '[matCellDef]',\n providers: [{ provide: CdkCellDef, useExisting: MatLegacyCellDef }],\n }]\n }] });\n/**\n * Header cell definition for the mat-table.\n * Captures the template of a column's header cell and as well as cell-specific properties.\n * @deprecated Use `MatHeaderCellDef` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyHeaderCellDef extends CdkHeaderCellDef {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyHeaderCellDef, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyHeaderCellDef, selector: \"[matHeaderCellDef]\", providers: [{ provide: CdkHeaderCellDef, useExisting: MatLegacyHeaderCellDef }], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyHeaderCellDef, decorators: [{\n type: Directive,\n args: [{\n selector: '[matHeaderCellDef]',\n providers: [{ provide: CdkHeaderCellDef, useExisting: MatLegacyHeaderCellDef }],\n }]\n }] });\n/**\n * Footer cell definition for the mat-table.\n * Captures the template of a column's footer cell and as well as cell-specific properties.\n * @deprecated Use `MatFooterCellDef` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyFooterCellDef extends CdkFooterCellDef {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyFooterCellDef, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyFooterCellDef, selector: \"[matFooterCellDef]\", providers: [{ provide: CdkFooterCellDef, useExisting: MatLegacyFooterCellDef }], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyFooterCellDef, decorators: [{\n type: Directive,\n args: [{\n selector: '[matFooterCellDef]',\n providers: [{ provide: CdkFooterCellDef, useExisting: MatLegacyFooterCellDef }],\n }]\n }] });\n/**\n * Column definition for the mat-table.\n * Defines a set of cells available for a table column.\n * @deprecated Use `MatColumnDef` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyColumnDef extends CdkColumnDef {\n /** Unique name for this column. */\n get name() {\n return this._name;\n }\n set name(name) {\n this._setNameInput(name);\n }\n /**\n * Add \"mat-column-\" prefix in addition to \"cdk-column-\" prefix.\n * In the future, this will only add \"mat-column-\" and columnCssClassName\n * will change from type string[] to string.\n * @docs-private\n */\n _updateColumnCssClassName() {\n super._updateColumnCssClassName();\n this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyColumnDef, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyColumnDef, selector: \"[matColumnDef]\", inputs: { sticky: \"sticky\", name: [\"matColumnDef\", \"name\"] }, providers: [\n { provide: CdkColumnDef, useExisting: MatLegacyColumnDef },\n { provide: 'MAT_SORT_HEADER_COLUMN_DEF', useExisting: MatLegacyColumnDef },\n ], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyColumnDef, decorators: [{\n type: Directive,\n args: [{\n selector: '[matColumnDef]',\n inputs: ['sticky'],\n providers: [\n { provide: CdkColumnDef, useExisting: MatLegacyColumnDef },\n { provide: 'MAT_SORT_HEADER_COLUMN_DEF', useExisting: MatLegacyColumnDef },\n ],\n }]\n }], propDecorators: { name: [{\n type: Input,\n args: ['matColumnDef']\n }] } });\n/**\n * Header cell template container that adds the right classes and role.\n * @deprecated Use `MatHeaderCell` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyHeaderCell extends CdkHeaderCell {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyHeaderCell, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyHeaderCell, selector: \"mat-header-cell, th[mat-header-cell]\", host: { attributes: { \"role\": \"columnheader\" }, classAttribute: \"mat-header-cell\" }, usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyHeaderCell, decorators: [{\n type: Directive,\n args: [{\n selector: 'mat-header-cell, th[mat-header-cell]',\n host: {\n 'class': 'mat-header-cell',\n 'role': 'columnheader',\n },\n }]\n }] });\n/**\n * Footer cell template container that adds the right classes and role.\n * @deprecated Use `MatFooterCell` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyFooterCell extends CdkFooterCell {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyFooterCell, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyFooterCell, selector: \"mat-footer-cell, td[mat-footer-cell]\", host: { attributes: { \"role\": \"gridcell\" }, classAttribute: \"mat-footer-cell\" }, usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyFooterCell, decorators: [{\n type: Directive,\n args: [{\n selector: 'mat-footer-cell, td[mat-footer-cell]',\n host: {\n 'class': 'mat-footer-cell',\n 'role': 'gridcell',\n },\n }]\n }] });\n/**\n * Cell template container that adds the right classes and role.\n * @deprecated Use `MatCell` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyCell extends CdkCell {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyCell, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyCell, selector: \"mat-cell, td[mat-cell]\", host: { attributes: { \"role\": \"gridcell\" }, classAttribute: \"mat-cell\" }, usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyCell, decorators: [{\n type: Directive,\n args: [{\n selector: 'mat-cell, td[mat-cell]',\n host: {\n 'class': 'mat-cell',\n 'role': 'gridcell',\n },\n }]\n }] });\n\n/**\n * Header row definition for the mat-table.\n * Captures the header row's template and other header properties such as the columns to display.\n * @deprecated Use `MatHeaderRowDef` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyHeaderRowDef extends CdkHeaderRowDef {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyHeaderRowDef, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyHeaderRowDef, selector: \"[matHeaderRowDef]\", inputs: { columns: [\"matHeaderRowDef\", \"columns\"], sticky: [\"matHeaderRowDefSticky\", \"sticky\"] }, providers: [{ provide: CdkHeaderRowDef, useExisting: MatLegacyHeaderRowDef }], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyHeaderRowDef, decorators: [{\n type: Directive,\n args: [{\n selector: '[matHeaderRowDef]',\n providers: [{ provide: CdkHeaderRowDef, useExisting: MatLegacyHeaderRowDef }],\n inputs: ['columns: matHeaderRowDef', 'sticky: matHeaderRowDefSticky'],\n }]\n }] });\n/**\n * Footer row definition for the mat-table.\n * Captures the footer row's template and other footer properties such as the columns to display.\n * @deprecated Use `MatFooterRowDef` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyFooterRowDef extends CdkFooterRowDef {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyFooterRowDef, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyFooterRowDef, selector: \"[matFooterRowDef]\", inputs: { columns: [\"matFooterRowDef\", \"columns\"], sticky: [\"matFooterRowDefSticky\", \"sticky\"] }, providers: [{ provide: CdkFooterRowDef, useExisting: MatLegacyFooterRowDef }], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyFooterRowDef, decorators: [{\n type: Directive,\n args: [{\n selector: '[matFooterRowDef]',\n providers: [{ provide: CdkFooterRowDef, useExisting: MatLegacyFooterRowDef }],\n inputs: ['columns: matFooterRowDef', 'sticky: matFooterRowDefSticky'],\n }]\n }] });\n/**\n * Data row definition for the mat-table.\n * Captures the data row's template and other properties such as the columns to display and\n * a when predicate that describes when this row should be used.\n * @deprecated Use `MatRowDef` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyRowDef extends CdkRowDef {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyRowDef, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyRowDef, selector: \"[matRowDef]\", inputs: { columns: [\"matRowDefColumns\", \"columns\"], when: [\"matRowDefWhen\", \"when\"] }, providers: [{ provide: CdkRowDef, useExisting: MatLegacyRowDef }], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyRowDef, decorators: [{\n type: Directive,\n args: [{\n selector: '[matRowDef]',\n providers: [{ provide: CdkRowDef, useExisting: MatLegacyRowDef }],\n inputs: ['columns: matRowDefColumns', 'when: matRowDefWhen'],\n }]\n }] });\n/**\n * Header template container that contains the cell outlet. Adds the right class and role.\n * @deprecated Use `MatHeaderRow` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyHeaderRow extends CdkHeaderRow {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyHeaderRow, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyHeaderRow, selector: \"mat-header-row, tr[mat-header-row]\", host: { attributes: { \"role\": \"row\" }, classAttribute: \"mat-header-row\" }, providers: [{ provide: CdkHeaderRow, useExisting: MatLegacyHeaderRow }], exportAs: [\"matHeaderRow\"], usesInheritance: true, ngImport: i0, template: \"<ng-container cdkCellOutlet></ng-container>\", isInline: true, dependencies: [{ kind: \"directive\", type: i1.CdkCellOutlet, selector: \"[cdkCellOutlet]\" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyHeaderRow, decorators: [{\n type: Component,\n args: [{\n selector: 'mat-header-row, tr[mat-header-row]',\n template: CDK_ROW_TEMPLATE,\n host: {\n 'class': 'mat-header-row',\n 'role': 'row',\n },\n // See note on CdkTable for explanation on why this uses the default change detection strategy.\n // tslint:disable-next-line:validate-decorators\n changeDetection: ChangeDetectionStrategy.Default,\n encapsulation: ViewEncapsulation.None,\n exportAs: 'matHeaderRow',\n providers: [{ provide: CdkHeaderRow, useExisting: MatLegacyHeaderRow }],\n }]\n }] });\n/**\n * Footer template container that contains the cell outlet. Adds the right class and role.\n * @deprecated Use `MatFooterRow` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyFooterRow extends CdkFooterRow {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyFooterRow, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyFooterRow, selector: \"mat-footer-row, tr[mat-footer-row]\", host: { attributes: { \"role\": \"row\" }, classAttribute: \"mat-footer-row\" }, providers: [{ provide: CdkFooterRow, useExisting: MatLegacyFooterRow }], exportAs: [\"matFooterRow\"], usesInheritance: true, ngImport: i0, template: \"<ng-container cdkCellOutlet></ng-container>\", isInline: true, dependencies: [{ kind: \"directive\", type: i1.CdkCellOutlet, selector: \"[cdkCellOutlet]\" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyFooterRow, decorators: [{\n type: Component,\n args: [{\n selector: 'mat-footer-row, tr[mat-footer-row]',\n template: CDK_ROW_TEMPLATE,\n host: {\n 'class': 'mat-footer-row',\n 'role': 'row',\n },\n // See note on CdkTable for explanation on why this uses the default change detection strategy.\n // tslint:disable-next-line:validate-decorators\n changeDetection: ChangeDetectionStrategy.Default,\n encapsulation: ViewEncapsulation.None,\n exportAs: 'matFooterRow',\n providers: [{ provide: CdkFooterRow, useExisting: MatLegacyFooterRow }],\n }]\n }] });\n/**\n * Data row template container that contains the cell outlet. Adds the right class and role.\n * @deprecated Use `MatRow` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyRow extends CdkRow {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyRow, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyRow, selector: \"mat-row, tr[mat-row]\", host: { attributes: { \"role\": \"row\" }, classAttribute: \"mat-row\" }, providers: [{ provide: CdkRow, useExisting: MatLegacyRow }], exportAs: [\"matRow\"], usesInheritance: true, ngImport: i0, template: \"<ng-container cdkCellOutlet></ng-container>\", isInline: true, dependencies: [{ kind: \"directive\", type: i1.CdkCellOutlet, selector: \"[cdkCellOutlet]\" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyRow, decorators: [{\n type: Component,\n args: [{\n selector: 'mat-row, tr[mat-row]',\n template: CDK_ROW_TEMPLATE,\n host: {\n 'class': 'mat-row',\n 'role': 'row',\n },\n // See note on CdkTable for explanation on why this uses the default change detection strategy.\n // tslint:disable-next-line:validate-decorators\n changeDetection: ChangeDetectionStrategy.Default,\n encapsulation: ViewEncapsulation.None,\n exportAs: 'matRow',\n providers: [{ provide: CdkRow, useExisting: MatLegacyRow }],\n }]\n }] });\n/**\n * Row that can be used to display a message when no data is shown in the table.\n * @deprecated Use `MatNoDataRow` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyNoDataRow extends CdkNoDataRow {\n constructor() {\n super(...arguments);\n this._contentClassName = 'mat-no-data-row';\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyNoDataRow, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyNoDataRow, selector: \"ng-template[matNoDataRow]\", providers: [{ provide: CdkNoDataRow, useExisting: MatLegacyNoDataRow }], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyNoDataRow, decorators: [{\n type: Directive,\n args: [{\n selector: 'ng-template[matNoDataRow]',\n providers: [{ provide: CdkNoDataRow, useExisting: MatLegacyNoDataRow }],\n }]\n }] });\n\n/**\n * Column that simply shows text content for the header and row cells. Assumes that the table\n * is using the native table implementation (`<table>`).\n *\n * By default, the name of this column will be the header text and data property accessor.\n * The header text can be overridden with the `headerText` input. Cell values can be overridden with\n * the `dataAccessor` input. Change the text justification to the start or end using the `justify`\n * input.\n *\n * @deprecated Use `MatTextColumn` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyTextColumn extends CdkTextColumn {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyTextColumn, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyTextColumn, selector: \"mat-text-column\", usesInheritance: true, ngImport: i0, template: `\n <ng-container matColumnDef>\n <th mat-header-cell *matHeaderCellDef [style.text-align]=\"justify\">\n {{headerText}}\n </th>\n <td mat-cell *matCellDef=\"let data\" [style.text-align]=\"justify\">\n {{dataAccessor(data, name)}}\n </td>\n </ng-container>\n `, isInline: true, dependencies: [{ kind: \"directive\", type: MatLegacyHeaderCellDef, selector: \"[matHeaderCellDef]\" }, { kind: \"directive\", type: MatLegacyColumnDef, selector: \"[matColumnDef]\", inputs: [\"sticky\", \"matColumnDef\"] }, { kind: \"directive\", type: MatLegacyCellDef, selector: \"[matCellDef]\" }, { kind: \"directive\", type: MatLegacyHeaderCell, selector: \"mat-header-cell, th[mat-header-cell]\" }, { kind: \"directive\", type: MatLegacyCell, selector: \"mat-cell, td[mat-cell]\" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyTextColumn, decorators: [{\n type: Component,\n args: [{\n selector: 'mat-text-column',\n template: `\n <ng-container matColumnDef>\n <th mat-header-cell *matHeaderCellDef [style.text-align]=\"justify\">\n {{headerText}}\n </th>\n <td mat-cell *matCellDef=\"let data\" [style.text-align]=\"justify\">\n {{dataAccessor(data, name)}}\n </td>\n </ng-container>\n `,\n encapsulation: ViewEncapsulation.None,\n // Change detection is intentionally not set to OnPush. This component's template will be provided\n // to the table to be inserted into its view. This is problematic when change detection runs since\n // the bindings in this template will be evaluated _after_ the table's view is evaluated, which\n // mean's the template in the table's view will not have the updated value (and in fact will cause\n // an ExpressionChangedAfterItHasBeenCheckedError).\n // tslint:disable-next-line:validate-decorators\n changeDetection: ChangeDetectionStrategy.Default,\n }]\n }] });\n\nconst EXPORTED_DECLARATIONS = [\n // Table\n MatLegacyTable,\n MatLegacyRecycleRows,\n // Template defs\n MatLegacyHeaderCellDef,\n MatLegacyHeaderRowDef,\n MatLegacyColumnDef,\n MatLegacyCellDef,\n MatLegacyRowDef,\n MatLegacyFooterCellDef,\n MatLegacyFooterRowDef,\n // Cell directives\n MatLegacyHeaderCell,\n MatLegacyCell,\n MatLegacyFooterCell,\n // Row directives\n MatLegacyHeaderRow,\n MatLegacyRow,\n MatLegacyFooterRow,\n MatLegacyNoDataRow,\n MatLegacyTextColumn,\n];\n/**\n * @deprecated Use `MatTableModule` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyTableModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyTableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyTableModule, declarations: [\n // Table\n MatLegacyTable,\n MatLegacyRecycleRows,\n // Template defs\n MatLegacyHeaderCellDef,\n MatLegacyHeaderRowDef,\n MatLegacyColumnDef,\n MatLegacyCellDef,\n MatLegacyRowDef,\n MatLegacyFooterCellDef,\n MatLegacyFooterRowDef,\n // Cell directives\n MatLegacyHeaderCell,\n MatLegacyCell,\n MatLegacyFooterCell,\n // Row directives\n MatLegacyHeaderRow,\n MatLegacyRow,\n MatLegacyFooterRow,\n MatLegacyNoDataRow,\n MatLegacyTextColumn], imports: [CdkTableModule, MatCommonModule], exports: [MatCommonModule, \n // Table\n MatLegacyTable,\n MatLegacyRecycleRows,\n // Template defs\n MatLegacyHeaderCellDef,\n MatLegacyHeaderRowDef,\n MatLegacyColumnDef,\n MatLegacyCellDef,\n MatLegacyRowDef,\n MatLegacyFooterCellDef,\n MatLegacyFooterRowDef,\n // Cell directives\n MatLegacyHeaderCell,\n MatLegacyCell,\n MatLegacyFooterCell,\n // Row directives\n MatLegacyHeaderRow,\n MatLegacyRow,\n MatLegacyFooterRow,\n MatLegacyNoDataRow,\n MatLegacyTextColumn] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyTableModule, imports: [CdkTableModule, MatCommonModule, MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyTableModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [CdkTableModule, MatCommonModule],\n exports: [MatCommonModule, EXPORTED_DECLARATIONS],\n declarations: EXPORTED_DECLARATIONS,\n }]\n }] });\n\n/**\n * Data source that accepts a client-side data array and includes native support of filtering,\n * sorting (using MatSort), and pagination (using paginator).\n *\n * Allows for sort customization by overriding sortingDataAccessor, which defines how data\n * properties are accessed. Also allows for filter customization by overriding filterPredicate,\n * which defines how row data is converted to a string for filter matching.\n *\n * **Note:** This class is meant to be a simple data source to help you get started. As such\n * it isn't equipped to handle some more advanced cases like robust i18n support or server-side\n * interactions. If your app needs to support more advanced use cases, consider implementing your\n * own `DataSource`.\n *\n * @deprecated Use `MatTableDataSource` from `@angular/material/table` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyTableDataSource extends _MatTableDataSource {\n}\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MatLegacyCell, MatLegacyCellDef, MatLegacyColumnDef, MatLegacyFooterCell, MatLegacyFooterCellDef, MatLegacyFooterRow, MatLegacyFooterRowDef, MatLegacyHeaderCell, MatLegacyHeaderCellDef, MatLegacyHeaderRow, MatLegacyHeaderRowDef, MatLegacyNoDataRow, MatLegacyRecycleRows, MatLegacyRow, MatLegacyRowDef, MatLegacyTable, MatLegacyTableDataSource, MatLegacyTableModule, MatLegacyTextColumn };\n","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9]} \ No newline at end of file diff --git a/48.0f562d23dbadf566.js b/48.0f562d23dbadf566.js new file mode 100644 index 0000000..b63ae2a --- /dev/null +++ b/48.0f562d23dbadf566.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[48,7376,5187,4091,1217,7208,4968,4155,1084,6896,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,4680,2111,3326,8596,8352,5501,3098,8608,8443,5915,3278,5391,6748,6763,4151,5069,7432,6618],{20048:(f,d,a)=>{a.r(d),a.d(d,{MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS:()=>B,MAT_BUTTON_TOGGLE_GROUP:()=>O,MAT_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR:()=>P,MatButtonToggle:()=>I,MatButtonToggleChange:()=>E,MatButtonToggleGroup:()=>w,MatButtonToggleModule:()=>G});var l=a(24582),s=a(28694),i=a(86170),u=a(48047),g=a(78069),v=a(908),h=a(35333),b=a(81382),n=a(56718),T=a(47405),m=a(6606),M=["button"],R=["*"],B=new n.InjectionToken("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS"),O=new n.InjectionToken("MatButtonToggleGroup"),P={provide:T.NG_VALUE_ACCESSOR,useExisting:(0,n.forwardRef)(function(){return w}),multi:!0},D=0,E=(0,u.Z)(function c(_,t){(0,g.Z)(this,c),this.source=_,this.value=t}),w=function(){var c=function(){function _(t,e){(0,g.Z)(this,_),this._changeDetector=t,this._vertical=!1,this._multiple=!1,this._disabled=!1,this._controlValueAccessorChangeFn=function(){},this._onTouched=function(){},this._name="mat-button-toggle-group-".concat(D++),this.valueChange=new n.EventEmitter,this.change=new n.EventEmitter,this.appearance=e&&e.appearance?e.appearance:"standard"}return(0,u.Z)(_,[{key:"name",get:function(){return this._name},set:function(e){this._name=e,this._markButtonsForCheck()}},{key:"vertical",get:function(){return this._vertical},set:function(e){this._vertical=(0,h.coerceBooleanProperty)(e)}},{key:"value",get:function(){var e=this._selectionModel?this._selectionModel.selected:[];return this.multiple?e.map(function(o){return o.value}):e[0]?e[0].value:void 0},set:function(e){this._setSelectionByValue(e),this.valueChange.emit(this.value)}},{key:"selected",get:function(){var e=this._selectionModel?this._selectionModel.selected:[];return this.multiple?e:e[0]||null}},{key:"multiple",get:function(){return this._multiple},set:function(e){this._multiple=(0,h.coerceBooleanProperty)(e),this._markButtonsForCheck()}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=(0,h.coerceBooleanProperty)(e),this._markButtonsForCheck()}},{key:"ngOnInit",value:function(){this._selectionModel=new b.SelectionModel(this.multiple,void 0,!1)}},{key:"ngAfterContentInit",value:function(){var e;(e=this._selectionModel).select.apply(e,(0,i.Z)(this._buttonToggles.filter(function(o){return o.checked})))}},{key:"writeValue",value:function(e){this.value=e,this._changeDetector.markForCheck()}},{key:"registerOnChange",value:function(e){this._controlValueAccessorChangeFn=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e}},{key:"_emitChangeEvent",value:function(e){var o=new E(e,this.value);this._controlValueAccessorChangeFn(o.value),this.change.emit(o)}},{key:"_syncButtonToggle",value:function(e,o){var r=this,y=arguments.length>2&&void 0!==arguments[2]&&arguments[2],k=arguments.length>3&&void 0!==arguments[3]&&arguments[3];!this.multiple&&this.selected&&!e.checked&&(this.selected.checked=!1),this._selectionModel?o?this._selectionModel.select(e):this._selectionModel.deselect(e):k=!0,k?Promise.resolve().then(function(){return r._updateModelValue(e,y)}):this._updateModelValue(e,y)}},{key:"_isSelected",value:function(e){return this._selectionModel&&this._selectionModel.isSelected(e)}},{key:"_isPrechecked",value:function(e){return!(typeof this._rawValue>"u")&&(this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(function(o){return null!=e.value&&o===e.value}):e.value===this._rawValue)}},{key:"_setSelectionByValue",value:function(e){var o=this;this._rawValue=e,this._buttonToggles&&(this.multiple&&e?(Array.isArray(e),this._clearSelection(),e.forEach(function(r){return o._selectValue(r)})):(this._clearSelection(),this._selectValue(e)))}},{key:"_clearSelection",value:function(){this._selectionModel.clear(),this._buttonToggles.forEach(function(e){return e.checked=!1})}},{key:"_selectValue",value:function(e){var o=this._buttonToggles.find(function(r){return null!=r.value&&r.value===e});o&&(o.checked=!0,this._selectionModel.select(o))}},{key:"_updateModelValue",value:function(e,o){o&&this._emitChangeEvent(e),this.valueChange.emit(this.value)}},{key:"_markButtonsForCheck",value:function(){var e;null===(e=this._buttonToggles)||void 0===e||e.forEach(function(o){return o._markForCheck()})}}]),_}();return c.\u0275fac=function(t){return new(t||c)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(B,8))},c.\u0275dir=n.\u0275\u0275defineDirective({type:c,selectors:[["mat-button-toggle-group"]],contentQueries:function(t,e,o){var r;1&t&&n.\u0275\u0275contentQuery(o,I,5),2&t&&n.\u0275\u0275queryRefresh(r=n.\u0275\u0275loadQuery())&&(e._buttonToggles=r)},hostAttrs:["role","group",1,"mat-button-toggle-group"],hostVars:5,hostBindings:function(t,e){2&t&&(n.\u0275\u0275attribute("aria-disabled",e.disabled),n.\u0275\u0275classProp("mat-button-toggle-vertical",e.vertical)("mat-button-toggle-group-appearance-standard","standard"===e.appearance))},inputs:{appearance:"appearance",name:"name",vertical:"vertical",value:"value",multiple:"multiple",disabled:"disabled"},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],features:[n.\u0275\u0275ProvidersFeature([P,{provide:O,useExisting:c}])]}),c}(),S=(0,m.mixinDisableRipple)(function(){return(0,u.Z)(function c(){(0,g.Z)(this,c)})}()),I=function(){var c=function(_){(0,l.Z)(e,_);var t=(0,s.Z)(e);function e(o,r,y,k,L,C){var p;(0,g.Z)(this,e),(p=t.call(this))._changeDetectorRef=r,p._elementRef=y,p._focusMonitor=k,p._checked=!1,p.ariaLabelledby=null,p._disabled=!1,p.change=new n.EventEmitter;var A=Number(L);return p.tabIndex=A||0===A?A:null,p.buttonToggleGroup=o,p.appearance=C&&C.appearance?C.appearance:"standard",p}return(0,u.Z)(e,[{key:"buttonId",get:function(){return"".concat(this.id,"-button")}},{key:"appearance",get:function(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance},set:function(r){this._appearance=r}},{key:"checked",get:function(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked},set:function(r){var y=(0,h.coerceBooleanProperty)(r);y!==this._checked&&(this._checked=y,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}},{key:"disabled",get:function(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled},set:function(r){this._disabled=(0,h.coerceBooleanProperty)(r)}},{key:"ngOnInit",value:function(){var r=this.buttonToggleGroup;this.id=this.id||"mat-button-toggle-".concat(D++),r&&(r._isPrechecked(this)?this.checked=!0:r._isSelected(this)!==this._checked&&r._syncButtonToggle(this,this._checked))}},{key:"ngAfterViewInit",value:function(){this._focusMonitor.monitor(this._elementRef,!0)}},{key:"ngOnDestroy",value:function(){var r=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),r&&r._isSelected(this)&&r._syncButtonToggle(this,!1,!1,!0)}},{key:"focus",value:function(r){this._buttonElement.nativeElement.focus(r)}},{key:"_onButtonClick",value:function(){var r=!!this._isSingleSelector()||!this._checked;r!==this._checked&&(this._checked=r,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.change.emit(new E(this,this.value))}},{key:"_markForCheck",value:function(){this._changeDetectorRef.markForCheck()}},{key:"_getButtonName",value:function(){return this._isSingleSelector()?this.buttonToggleGroup.name:this.name||null}},{key:"_isSingleSelector",value:function(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}}]),e}(S);return c.\u0275fac=function(t){return new(t||c)(n.\u0275\u0275directiveInject(O,8),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(v.FocusMonitor),n.\u0275\u0275injectAttribute("tabindex"),n.\u0275\u0275directiveInject(B,8))},c.\u0275cmp=n.\u0275\u0275defineComponent({type:c,selectors:[["mat-button-toggle"]],viewQuery:function(t,e){var o;1&t&&n.\u0275\u0275viewQuery(M,5),2&t&&n.\u0275\u0275queryRefresh(o=n.\u0275\u0275loadQuery())&&(e._buttonElement=o.first)},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(t,e){1&t&&n.\u0275\u0275listener("focus",function(){return e.focus()}),2&t&&(n.\u0275\u0275attribute("aria-label",null)("aria-labelledby",null)("id",e.id)("name",null),n.\u0275\u0275classProp("mat-button-toggle-standalone",!e.buttonToggleGroup)("mat-button-toggle-checked",e.checked)("mat-button-toggle-disabled",e.disabled)("mat-button-toggle-appearance-standard","standard"===e.appearance))},inputs:{disableRipple:"disableRipple",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",appearance:"appearance",checked:"checked",disabled:"disabled"},outputs:{change:"change"},exportAs:["matButtonToggle"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:R,decls:6,vars:9,consts:[["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"id","disabled","click"],["button",""],[1,"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(t,e){if(1&t&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275elementStart(0,"button",0,1),n.\u0275\u0275listener("click",function(){return e._onButtonClick()}),n.\u0275\u0275elementStart(2,"span",2),n.\u0275\u0275projection(3),n.\u0275\u0275elementEnd()(),n.\u0275\u0275element(4,"span",3)(5,"span",4)),2&t){var o=n.\u0275\u0275reference(1);n.\u0275\u0275property("id",e.buttonId)("disabled",e.disabled||null),n.\u0275\u0275attribute("tabindex",e.disabled?-1:e.tabIndex)("aria-pressed",e.checked)("name",e._getButtonName())("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledby),n.\u0275\u0275advance(5),n.\u0275\u0275property("matRippleTrigger",o)("matRippleDisabled",e.disableRipple||e.disabled)}},dependencies:[m.MatRipple],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;border-radius:2px;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0)}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:4px}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:1}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:.04}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.12}@media(hover: none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;line-height:36px;padding:0 16px;position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 36px;opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}"],encapsulation:2,changeDetection:0}),c}(),G=function(){var c=(0,u.Z)(function _(){(0,g.Z)(this,_)});return c.\u0275fac=function(t){return new(t||c)},c.\u0275mod=n.\u0275\u0275defineNgModule({type:c}),c.\u0275inj=n.\u0275\u0275defineInjector({imports:[m.MatCommonModule,m.MatRippleModule,m.MatCommonModule]}),c}()},44841:(f,d,a)=>{function l(s,i){(null==i||i>s.length)&&(i=s.length);for(var u=0,g=new Array(i);u<i;u++)g[u]=s[u];return g}a.d(d,{Z:()=>l})},35488:(f,d,a)=>{function l(s){if(void 0===s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s}a.d(d,{Z:()=>l})},28694:(f,d,a)=>{a.d(d,{Z:()=>v});var l=a(20265),s=a(98568),i=a(43445),u=a(35488);function v(h){var b=(0,s.Z)();return function(){var m,T=(0,l.Z)(h);if(b){var M=(0,l.Z)(this).constructor;m=Reflect.construct(T,arguments,M)}else m=T.apply(this,arguments);return function g(h,b){if(b&&("object"===(0,i.Z)(b)||"function"==typeof b))return b;if(void 0!==b)throw new TypeError("Derived constructors may only return object or undefined");return(0,u.Z)(h)}(this,m)}}},20265:(f,d,a)=>{function l(s){return(l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(u){return u.__proto__||Object.getPrototypeOf(u)})(s)}a.d(d,{Z:()=>l})},24582:(f,d,a)=>{a.d(d,{Z:()=>s});var l=a(10006);function s(i,u){if("function"!=typeof u&&null!==u)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(u&&u.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),u&&(0,l.Z)(i,u)}},98568:(f,d,a)=>{function l(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}a.d(d,{Z:()=>l})},4826:(f,d,a)=>{function l(s){if(typeof Symbol<"u"&&null!=s[Symbol.iterator]||null!=s["@@iterator"])return Array.from(s)}a.d(d,{Z:()=>l})},10006:(f,d,a)=>{function l(s,i){return(l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(g,v){return g.__proto__=v,g})(s,i)}a.d(d,{Z:()=>l})},86170:(f,d,a)=>{a.d(d,{Z:()=>v});var l=a(44841),i=a(4826),u=a(44206);function v(h){return function s(h){if(Array.isArray(h))return(0,l.Z)(h)}(h)||(0,i.Z)(h)||(0,u.Z)(h)||function g(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(f,d,a)=>{a.d(d,{Z:()=>s});var l=a(44841);function s(i,u){if(i){if("string"==typeof i)return(0,l.Z)(i,u);var g=Object.prototype.toString.call(i).slice(8,-1);if("Object"===g&&i.constructor&&(g=i.constructor.name),"Map"===g||"Set"===g)return Array.from(i);if("Arguments"===g||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g))return(0,l.Z)(i,u)}}}}]); +//# sourceMappingURL=48.0f562d23dbadf566.js.map \ No newline at end of file diff --git a/48.0f562d23dbadf566.js.map b/48.0f562d23dbadf566.js.map new file mode 100644 index 0000000..98f3410 --- /dev/null +++ b/48.0f562d23dbadf566.js.map @@ -0,0 +1 @@ +{"version":3,"file":"48.0f562d23dbadf566.js","mappings":"+mBASAA,EAAA,WAAAC,EAAA,MAIMC,EAAoC,IAAIC,iBAAe,qCAMvDC,EAA0B,IAAID,iBAAe,wBAM7CE,EAAyC,CAC3CC,QAASC,oBACTC,aAAaC,gBAAW,kBAAMC,CAAoB,GAClDC,OAAO,GAGPC,EAAkB,EAEhBC,GAAqBC,OACvB,SAAAD,EAEAE,EAEAC,IAAOC,OAAAC,KAAAL,GACHK,KAAKH,OAASA,EACdG,KAAKF,MAAQA,CACjB,GAGEN,EAAoB,eAApBA,EAAoB,WAiDtB,SAAAA,EAAYS,EAAiBC,IAAgBH,OAAAC,KAAAR,GACzCQ,KAAKC,gBAAkBA,EACvBD,KAAKG,WAAY,EACjBH,KAAKI,WAAY,EACjBJ,KAAKK,WAAY,EAKjBL,KAAKM,8BAAgC,WAAQ,EAE7CN,KAAKO,WAAa,WAAQ,EAC1BP,KAAKQ,MAAK,2BAAAC,OAA8Bf,KAMxCM,KAAKU,YAAc,IAAIC,eAEvBX,KAAKY,OAAS,IAAID,eAClBX,KAAKa,WACDX,GAAkBA,EAAeW,WAAaX,EAAeW,W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AAA,SAAsFD,EAAA7C,GAAgBa,EAAA+B,EAAA,CACtG","names":["_c0","_c1","MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS","InjectionToken","MAT_BUTTON_TOGGLE_GROUP","MAT_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR","provide","NG_VALUE_ACCESSOR","useExisting","forwardRef","MatButtonToggleGroup","multi","uniqueIdCounter","MatButtonToggleChange","_createClass","source","value","_classCallCheck","this","_changeDetector","defaultOptions","_vertical","_multiple","_disabled","_controlValueAccessorChangeFn","_onTouched","_name","concat","valueChange","EventEmitter","change","appearance","key","get","set","_markButtonsForCheck","coerceBooleanProperty","selected","_selectionModel","multiple","map","toggle","undefined","newValue","_setSelectionByValue","emit","SelectionModel","_this$_selectionModel","select","apply","_toConsumableArray","_buttonToggles","filter","checked","markForCheck","fn","isDisabled","disabled","event","_this","isUserInput","arguments","length","deferEvents","deselect","Promise","resolve","then","_updateModelValue","isSelected","_rawValue","Array","isArray","some","_this2","_clearSelection","forEach","currentValue","_selectValue","clear","correspondingOption","find","_emitChangeEvent","_this$_buttonToggles","_markForCheck","ɵfac","t","i0","ɵdir","type","selectors","contentQueries","rf","ctx","dirIndex","_t","MatButtonToggle","hostAttrs","hostVars","hostBindings","vertical","inputs","name","outputs","exportAs","features","_MatButtonToggleBase","mixinDisableRipple","_class","_MatButtonToggleBase2","_inherits","_super","_createSuper","toggleGroup","_changeDetectorRef","_elementRef","_focusMonitor","defaultTabIndex","_this3","call","_checked","ariaLabelledby","parsedTabIndex","Number","tabIndex","buttonToggleGroup","id","_appearance","_isSelected","_syncButtonToggle","group","_isPrechecked","monitor","stopMonitoring","options","_buttonElement","nativeElement","focus","newChecked","_isSingleSelector","i1","ɵcmp","viewQuery","first","disableRipple","ariaLabel","ngContentSelectors","decls","vars","consts","template","_onButtonClick","_r0","buttonId","_getButtonName","dependencies","i2","styles","encapsulation","changeDetection","MatButtonToggleModule","ɵmod","ɵinj","imports","MatCommonModule","MatRippleModule","_arrayLikeToArray","arr","len","i","arr2","_assertThisInitialized","self","ReferenceError","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","constructor","Reflect","construct","_possibleConstructorReturn","esm_typeof","TypeError","assertThisInitialized","_getPrototypeOf","o","Object","setPrototypeOf","bind","__proto__","subClass","superClass","prototype","create","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_iterableToArray","iter","Symbol","iterator","from","_setPrototypeOf","p","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","n","toString","slice","test"],"sourceRoot":"webpack:///","sources":["./node_modules/@angular/material/fesm2022/button-toggle.mjs","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import * as i1 from '@angular/cdk/a11y';\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { SelectionModel } from '@angular/cdk/collections';\nimport * as i0 from '@angular/core';\nimport { InjectionToken, forwardRef, EventEmitter, Directive, Optional, Inject, ContentChildren, Input, Output, Component, ViewEncapsulation, ChangeDetectionStrategy, Attribute, ViewChild, NgModule } from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport * as i2 from '@angular/material/core';\nimport { mixinDisableRipple, MatCommonModule, MatRippleModule } from '@angular/material/core';\n\n/**\n * Injection token that can be used to configure the\n * default options for all button toggles within an app.\n */\nconst MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS = new InjectionToken('MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS');\n/**\n * Injection token that can be used to reference instances of `MatButtonToggleGroup`.\n * It serves as alternative token to the actual `MatButtonToggleGroup` class which\n * could cause unnecessary retention of the class and its component metadata.\n */\nconst MAT_BUTTON_TOGGLE_GROUP = new InjectionToken('MatButtonToggleGroup');\n/**\n * Provider Expression that allows mat-button-toggle-group to register as a ControlValueAccessor.\n * This allows it to support [(ngModel)].\n * @docs-private\n */\nconst MAT_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => MatButtonToggleGroup),\n multi: true,\n};\n// Counter used to generate unique IDs.\nlet uniqueIdCounter = 0;\n/** Change event object emitted by button toggle. */\nclass MatButtonToggleChange {\n constructor(\n /** The button toggle that emits the event. */\n source, \n /** The value assigned to the button toggle. */\n value) {\n this.source = source;\n this.value = value;\n }\n}\n/** Exclusive selection button toggle group that behaves like a radio-button group. */\nclass MatButtonToggleGroup {\n /** `name` attribute for the underlying `input` element. */\n get name() {\n return this._name;\n }\n set name(value) {\n this._name = value;\n this._markButtonsForCheck();\n }\n /** Whether the toggle group is vertical. */\n get vertical() {\n return this._vertical;\n }\n set vertical(value) {\n this._vertical = coerceBooleanProperty(value);\n }\n /** Value of the toggle group. */\n get value() {\n const selected = this._selectionModel ? this._selectionModel.selected : [];\n if (this.multiple) {\n return selected.map(toggle => toggle.value);\n }\n return selected[0] ? selected[0].value : undefined;\n }\n set value(newValue) {\n this._setSelectionByValue(newValue);\n this.valueChange.emit(this.value);\n }\n /** Selected button toggles in the group. */\n get selected() {\n const selected = this._selectionModel ? this._selectionModel.selected : [];\n return this.multiple ? selected : selected[0] || null;\n }\n /** Whether multiple button toggles can be selected. */\n get multiple() {\n return this._multiple;\n }\n set multiple(value) {\n this._multiple = coerceBooleanProperty(value);\n this._markButtonsForCheck();\n }\n /** Whether multiple button toggle group is disabled. */\n get disabled() {\n return this._disabled;\n }\n set disabled(value) {\n this._disabled = coerceBooleanProperty(value);\n this._markButtonsForCheck();\n }\n constructor(_changeDetector, defaultOptions) {\n this._changeDetector = _changeDetector;\n this._vertical = false;\n this._multiple = false;\n this._disabled = false;\n /**\n * The method to be called in order to update ngModel.\n * Now `ngModel` binding is not supported in multiple selection mode.\n */\n this._controlValueAccessorChangeFn = () => { };\n /** onTouch function registered via registerOnTouch (ControlValueAccessor). */\n this._onTouched = () => { };\n this._name = `mat-button-toggle-group-${uniqueIdCounter++}`;\n /**\n * Event that emits whenever the value of the group changes.\n * Used to facilitate two-way data binding.\n * @docs-private\n */\n this.valueChange = new EventEmitter();\n /** Event emitted when the group's value changes. */\n this.change = new EventEmitter();\n this.appearance =\n defaultOptions && defaultOptions.appearance ? defaultOptions.appearance : 'standard';\n }\n ngOnInit() {\n this._selectionModel = new SelectionModel(this.multiple, undefined, false);\n }\n ngAfterContentInit() {\n this._selectionModel.select(...this._buttonToggles.filter(toggle => toggle.checked));\n }\n /**\n * Sets the model value. Implemented as part of ControlValueAccessor.\n * @param value Value to be set to the model.\n */\n writeValue(value) {\n this.value = value;\n this._changeDetector.markForCheck();\n }\n // Implemented as part of ControlValueAccessor.\n registerOnChange(fn) {\n this._controlValueAccessorChangeFn = fn;\n }\n // Implemented as part of ControlValueAccessor.\n registerOnTouched(fn) {\n this._onTouched = fn;\n }\n // Implemented as part of ControlValueAccessor.\n setDisabledState(isDisabled) {\n this.disabled = isDisabled;\n }\n /** Dispatch change event with current selection and group value. */\n _emitChangeEvent(toggle) {\n const event = new MatButtonToggleChange(toggle, this.value);\n this._controlValueAccessorChangeFn(event.value);\n this.change.emit(event);\n }\n /**\n * Syncs a button toggle's selected state with the model value.\n * @param toggle Toggle to be synced.\n * @param select Whether the toggle should be selected.\n * @param isUserInput Whether the change was a result of a user interaction.\n * @param deferEvents Whether to defer emitting the change events.\n */\n _syncButtonToggle(toggle, select, isUserInput = false, deferEvents = false) {\n // Deselect the currently-selected toggle, if we're in single-selection\n // mode and the button being toggled isn't selected at the moment.\n if (!this.multiple && this.selected && !toggle.checked) {\n this.selected.checked = false;\n }\n if (this._selectionModel) {\n if (select) {\n this._selectionModel.select(toggle);\n }\n else {\n this._selectionModel.deselect(toggle);\n }\n }\n else {\n deferEvents = true;\n }\n // We need to defer in some cases in order to avoid \"changed after checked errors\", however\n // the side-effect is that we may end up updating the model value out of sequence in others\n // The `deferEvents` flag allows us to decide whether to do it on a case-by-case basis.\n if (deferEvents) {\n Promise.resolve().then(() => this._updateModelValue(toggle, isUserInput));\n }\n else {\n this._updateModelValue(toggle, isUserInput);\n }\n }\n /** Checks whether a button toggle is selected. */\n _isSelected(toggle) {\n return this._selectionModel && this._selectionModel.isSelected(toggle);\n }\n /** Determines whether a button toggle should be checked on init. */\n _isPrechecked(toggle) {\n if (typeof this._rawValue === 'undefined') {\n return false;\n }\n if (this.multiple && Array.isArray(this._rawValue)) {\n return this._rawValue.some(value => toggle.value != null && value === toggle.value);\n }\n return toggle.value === this._rawValue;\n }\n /** Updates the selection state of the toggles in the group based on a value. */\n _setSelectionByValue(value) {\n this._rawValue = value;\n if (!this._buttonToggles) {\n return;\n }\n if (this.multiple && value) {\n if (!Array.isArray(value) && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error('Value must be an array in multiple-selection mode.');\n }\n this._clearSelection();\n value.forEach((currentValue) => this._selectValue(currentValue));\n }\n else {\n this._clearSelection();\n this._selectValue(value);\n }\n }\n /** Clears the selected toggles. */\n _clearSelection() {\n this._selectionModel.clear();\n this._buttonToggles.forEach(toggle => (toggle.checked = false));\n }\n /** Selects a value if there's a toggle that corresponds to it. */\n _selectValue(value) {\n const correspondingOption = this._buttonToggles.find(toggle => {\n return toggle.value != null && toggle.value === value;\n });\n if (correspondingOption) {\n correspondingOption.checked = true;\n this._selectionModel.select(correspondingOption);\n }\n }\n /** Syncs up the group's value with the model and emits the change event. */\n _updateModelValue(toggle, isUserInput) {\n // Only emit the change event for user input.\n if (isUserInput) {\n this._emitChangeEvent(toggle);\n }\n // Note: we emit this one no matter whether it was a user interaction, because\n // it is used by Angular to sync up the two-way data binding.\n this.valueChange.emit(this.value);\n }\n /** Marks all of the child button toggles to be checked. */\n _markButtonsForCheck() {\n this._buttonToggles?.forEach(toggle => toggle._markForCheck());\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatButtonToggleGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatButtonToggleGroup, selector: \"mat-button-toggle-group\", inputs: { appearance: \"appearance\", name: \"name\", vertical: \"vertical\", value: \"value\", multiple: \"multiple\", disabled: \"disabled\" }, outputs: { valueChange: \"valueChange\", change: \"change\" }, host: { attributes: { \"role\": \"group\" }, properties: { \"attr.aria-disabled\": \"disabled\", \"class.mat-button-toggle-vertical\": \"vertical\", \"class.mat-button-toggle-group-appearance-standard\": \"appearance === \\\"standard\\\"\" }, classAttribute: \"mat-button-toggle-group\" }, providers: [\n MAT_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR,\n { provide: MAT_BUTTON_TOGGLE_GROUP, useExisting: MatButtonToggleGroup },\n ], queries: [{ propertyName: \"_buttonToggles\", predicate: i0.forwardRef(function () { return MatButtonToggle; }), descendants: true }], exportAs: [\"matButtonToggleGroup\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatButtonToggleGroup, decorators: [{\n type: Directive,\n args: [{\n selector: 'mat-button-toggle-group',\n providers: [\n MAT_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR,\n { provide: MAT_BUTTON_TOGGLE_GROUP, useExisting: MatButtonToggleGroup },\n ],\n host: {\n 'role': 'group',\n 'class': 'mat-button-toggle-group',\n '[attr.aria-disabled]': 'disabled',\n '[class.mat-button-toggle-vertical]': 'vertical',\n '[class.mat-button-toggle-group-appearance-standard]': 'appearance === \"standard\"',\n },\n exportAs: 'matButtonToggleGroup',\n }]\n }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS]\n }] }]; }, propDecorators: { _buttonToggles: [{\n type: ContentChildren,\n args: [forwardRef(() => MatButtonToggle), {\n // Note that this would technically pick up toggles\n // from nested groups, but that's not a case that we support.\n descendants: true,\n }]\n }], appearance: [{\n type: Input\n }], name: [{\n type: Input\n }], vertical: [{\n type: Input\n }], value: [{\n type: Input\n }], valueChange: [{\n type: Output\n }], multiple: [{\n type: Input\n }], disabled: [{\n type: Input\n }], change: [{\n type: Output\n }] } });\n// Boilerplate for applying mixins to the MatButtonToggle class.\n/** @docs-private */\nconst _MatButtonToggleBase = mixinDisableRipple(class {\n});\n/** Single button inside of a toggle group. */\nclass MatButtonToggle extends _MatButtonToggleBase {\n /** Unique ID for the underlying `button` element. */\n get buttonId() {\n return `${this.id}-button`;\n }\n /** The appearance style of the button. */\n get appearance() {\n return this.buttonToggleGroup ? this.buttonToggleGroup.appearance : this._appearance;\n }\n set appearance(value) {\n this._appearance = value;\n }\n /** Whether the button is checked. */\n get checked() {\n return this.buttonToggleGroup ? this.buttonToggleGroup._isSelected(this) : this._checked;\n }\n set checked(value) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this._checked) {\n this._checked = newValue;\n if (this.buttonToggleGroup) {\n this.buttonToggleGroup._syncButtonToggle(this, this._checked);\n }\n this._changeDetectorRef.markForCheck();\n }\n }\n /** Whether the button is disabled. */\n get disabled() {\n return this._disabled || (this.buttonToggleGroup && this.buttonToggleGroup.disabled);\n }\n set disabled(value) {\n this._disabled = coerceBooleanProperty(value);\n }\n constructor(toggleGroup, _changeDetectorRef, _elementRef, _focusMonitor, defaultTabIndex, defaultOptions) {\n super();\n this._changeDetectorRef = _changeDetectorRef;\n this._elementRef = _elementRef;\n this._focusMonitor = _focusMonitor;\n this._checked = false;\n /**\n * Users can specify the `aria-labelledby` attribute which will be forwarded to the input element\n */\n this.ariaLabelledby = null;\n this._disabled = false;\n /** Event emitted when the group value changes. */\n this.change = new EventEmitter();\n const parsedTabIndex = Number(defaultTabIndex);\n this.tabIndex = parsedTabIndex || parsedTabIndex === 0 ? parsedTabIndex : null;\n this.buttonToggleGroup = toggleGroup;\n this.appearance =\n defaultOptions && defaultOptions.appearance ? defaultOptions.appearance : 'standard';\n }\n ngOnInit() {\n const group = this.buttonToggleGroup;\n this.id = this.id || `mat-button-toggle-${uniqueIdCounter++}`;\n if (group) {\n if (group._isPrechecked(this)) {\n this.checked = true;\n }\n else if (group._isSelected(this) !== this._checked) {\n // As as side effect of the circular dependency between the toggle group and the button,\n // we may end up in a state where the button is supposed to be checked on init, but it\n // isn't, because the checked value was assigned too early. This can happen when Ivy\n // assigns the static input value before the `ngOnInit` has run.\n group._syncButtonToggle(this, this._checked);\n }\n }\n }\n ngAfterViewInit() {\n this._focusMonitor.monitor(this._elementRef, true);\n }\n ngOnDestroy() {\n const group = this.buttonToggleGroup;\n this._focusMonitor.stopMonitoring(this._elementRef);\n // Remove the toggle from the selection once it's destroyed. Needs to happen\n // on the next tick in order to avoid \"changed after checked\" errors.\n if (group && group._isSelected(this)) {\n group._syncButtonToggle(this, false, false, true);\n }\n }\n /** Focuses the button. */\n focus(options) {\n this._buttonElement.nativeElement.focus(options);\n }\n /** Checks the button toggle due to an interaction with the underlying native button. */\n _onButtonClick() {\n const newChecked = this._isSingleSelector() ? true : !this._checked;\n if (newChecked !== this._checked) {\n this._checked = newChecked;\n if (this.buttonToggleGroup) {\n this.buttonToggleGroup._syncButtonToggle(this, this._checked, true);\n this.buttonToggleGroup._onTouched();\n }\n }\n // Emit a change event when it's the single selector\n this.change.emit(new MatButtonToggleChange(this, this.value));\n }\n /**\n * Marks the button toggle as needing checking for change detection.\n * This method is exposed because the parent button toggle group will directly\n * update bound properties of the radio button.\n */\n _markForCheck() {\n // When the group value changes, the button will not be notified.\n // Use `markForCheck` to explicit update button toggle's status.\n this._changeDetectorRef.markForCheck();\n }\n /** Gets the name that should be assigned to the inner DOM node. */\n _getButtonName() {\n if (this._isSingleSelector()) {\n return this.buttonToggleGroup.name;\n }\n return this.name || null;\n }\n /** Whether the toggle is in single selection mode. */\n _isSingleSelector() {\n return this.buttonToggleGroup && !this.buttonToggleGroup.multiple;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatButtonToggle, deps: [{ token: MAT_BUTTON_TOGGLE_GROUP, optional: true }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i1.FocusMonitor }, { token: 'tabindex', attribute: true }, { token: MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatButtonToggle, selector: \"mat-button-toggle\", inputs: { disableRipple: \"disableRipple\", ariaLabel: [\"aria-label\", \"ariaLabel\"], ariaLabelledby: [\"aria-labelledby\", \"ariaLabelledby\"], id: \"id\", name: \"name\", value: \"value\", tabIndex: \"tabIndex\", appearance: \"appearance\", checked: \"checked\", disabled: \"disabled\" }, outputs: { change: \"change\" }, host: { attributes: { \"role\": \"presentation\" }, listeners: { \"focus\": \"focus()\" }, properties: { \"class.mat-button-toggle-standalone\": \"!buttonToggleGroup\", \"class.mat-button-toggle-checked\": \"checked\", \"class.mat-button-toggle-disabled\": \"disabled\", \"class.mat-button-toggle-appearance-standard\": \"appearance === \\\"standard\\\"\", \"attr.aria-label\": \"null\", \"attr.aria-labelledby\": \"null\", \"attr.id\": \"id\", \"attr.name\": \"null\" }, classAttribute: \"mat-button-toggle\" }, viewQueries: [{ propertyName: \"_buttonElement\", first: true, predicate: [\"button\"], descendants: true }], exportAs: [\"matButtonToggle\"], usesInheritance: true, ngImport: i0, template: \"<button #button class=\\\"mat-button-toggle-button mat-focus-indicator\\\"\\n type=\\\"button\\\"\\n [id]=\\\"buttonId\\\"\\n [attr.tabindex]=\\\"disabled ? -1 : tabIndex\\\"\\n [attr.aria-pressed]=\\\"checked\\\"\\n [disabled]=\\\"disabled || null\\\"\\n [attr.name]=\\\"_getButtonName()\\\"\\n [attr.aria-label]=\\\"ariaLabel\\\"\\n [attr.aria-labelledby]=\\\"ariaLabelledby\\\"\\n (click)=\\\"_onButtonClick()\\\">\\n <span class=\\\"mat-button-toggle-label-content\\\">\\n <ng-content></ng-content>\\n </span>\\n</button>\\n\\n<span class=\\\"mat-button-toggle-focus-overlay\\\"></span>\\n<span class=\\\"mat-button-toggle-ripple\\\" matRipple\\n [matRippleTrigger]=\\\"button\\\"\\n [matRippleDisabled]=\\\"this.disableRipple || this.disabled\\\">\\n</span>\\n\", styles: [\".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;border-radius:2px;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0)}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:4px}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:1}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:.04}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.12}@media(hover: none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;line-height:36px;padding:0 16px;position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 36px;opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}\"], dependencies: [{ kind: \"directive\", type: i2.MatRipple, selector: \"[mat-ripple], [matRipple]\", inputs: [\"matRippleColor\", \"matRippleUnbounded\", \"matRippleCentered\", \"matRippleRadius\", \"matRippleAnimation\", \"matRippleDisabled\", \"matRippleTrigger\"], exportAs: [\"matRipple\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatButtonToggle, decorators: [{\n type: Component,\n args: [{ selector: 'mat-button-toggle', encapsulation: ViewEncapsulation.None, exportAs: 'matButtonToggle', changeDetection: ChangeDetectionStrategy.OnPush, inputs: ['disableRipple'], host: {\n '[class.mat-button-toggle-standalone]': '!buttonToggleGroup',\n '[class.mat-button-toggle-checked]': 'checked',\n '[class.mat-button-toggle-disabled]': 'disabled',\n '[class.mat-button-toggle-appearance-standard]': 'appearance === \"standard\"',\n 'class': 'mat-button-toggle',\n '[attr.aria-label]': 'null',\n '[attr.aria-labelledby]': 'null',\n '[attr.id]': 'id',\n '[attr.name]': 'null',\n '(focus)': 'focus()',\n 'role': 'presentation',\n }, template: \"<button #button class=\\\"mat-button-toggle-button mat-focus-indicator\\\"\\n type=\\\"button\\\"\\n [id]=\\\"buttonId\\\"\\n [attr.tabindex]=\\\"disabled ? -1 : tabIndex\\\"\\n [attr.aria-pressed]=\\\"checked\\\"\\n [disabled]=\\\"disabled || null\\\"\\n [attr.name]=\\\"_getButtonName()\\\"\\n [attr.aria-label]=\\\"ariaLabel\\\"\\n [attr.aria-labelledby]=\\\"ariaLabelledby\\\"\\n (click)=\\\"_onButtonClick()\\\">\\n <span class=\\\"mat-button-toggle-label-content\\\">\\n <ng-content></ng-content>\\n </span>\\n</button>\\n\\n<span class=\\\"mat-button-toggle-focus-overlay\\\"></span>\\n<span class=\\\"mat-button-toggle-ripple\\\" matRipple\\n [matRippleTrigger]=\\\"button\\\"\\n [matRippleDisabled]=\\\"this.disableRipple || this.disabled\\\">\\n</span>\\n\", styles: [\".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;border-radius:2px;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0)}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:4px}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:1}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:.04}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.12}@media(hover: none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;line-height:36px;padding:0 16px;position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 36px;opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}\"] }]\n }], ctorParameters: function () { return [{ type: MatButtonToggleGroup, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_BUTTON_TOGGLE_GROUP]\n }] }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i1.FocusMonitor }, { type: undefined, decorators: [{\n type: Attribute,\n args: ['tabindex']\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS]\n }] }]; }, propDecorators: { ariaLabel: [{\n type: Input,\n args: ['aria-label']\n }], ariaLabelledby: [{\n type: Input,\n args: ['aria-labelledby']\n }], _buttonElement: [{\n type: ViewChild,\n args: ['button']\n }], id: [{\n type: Input\n }], name: [{\n type: Input\n }], value: [{\n type: Input\n }], tabIndex: [{\n type: Input\n }], appearance: [{\n type: Input\n }], checked: [{\n type: Input\n }], disabled: [{\n type: Input\n }], change: [{\n type: Output\n }] } });\n\nclass MatButtonToggleModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatButtonToggleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatButtonToggleModule, declarations: [MatButtonToggleGroup, MatButtonToggle], imports: [MatCommonModule, MatRippleModule], exports: [MatCommonModule, MatButtonToggleGroup, MatButtonToggle] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatButtonToggleModule, imports: [MatCommonModule, MatRippleModule, MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatButtonToggleModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [MatCommonModule, MatRippleModule],\n exports: [MatCommonModule, MatButtonToggleGroup, MatButtonToggle],\n declarations: [MatButtonToggleGroup, MatButtonToggle],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS, MAT_BUTTON_TOGGLE_GROUP, MAT_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR, MatButtonToggle, MatButtonToggleChange, MatButtonToggleGroup, MatButtonToggleModule };\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13]} \ No newline at end of file diff --git a/4843.9cc79487b7ed3c03.js b/4843.9cc79487b7ed3c03.js new file mode 100644 index 0000000..1f2fdd7 --- /dev/null +++ b/4843.9cc79487b7ed3c03.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[4843],{23932:(Be,W,h)=>{h.d(W,{c:()=>g});var p=h(78069),x=h(48047),b=h(24582),C=h(28694),T=h(90833),H=h(17714),w=h(56074),O=h(93945),v=h(41944),g=function(c){(0,b.Z)(_,c);var ot=(0,C.Z)(_);function _(m,A){var U;return(0,p.Z)(this,_),(U=ot.call(this)).source=m,U.subjectFactory=A,U._subject=null,U._refCount=0,U._connection=null,(0,v.A)(m)&&(U.lift=m.lift),U}return(0,x.Z)(_,[{key:"_subscribe",value:function(A){return this.getSubject().subscribe(A)}},{key:"getSubject",value:function(){var A=this._subject;return(!A||A.isStopped)&&(this._subject=this.subjectFactory()),this._subject}},{key:"_teardown",value:function(){this._refCount=0;var A=this._connection;this._subject=this._connection=null,A?.unsubscribe()}},{key:"connect",value:function(){var A=this,U=this._connection;if(!U){U=this._connection=new H.w0;var de=this.getSubject();U.add(this.source.subscribe((0,O.x)(de,void 0,function(){A._teardown(),de.complete()},function(ut){A._teardown(),de.error(ut)},function(){return A._teardown()}))),U.closed&&(this._connection=null,U=H.w0.EMPTY)}return U}},{key:"refCount",value:function(){return(0,w.x)()(this)}}]),_}(T.y)},32313:(Be,W,h)=>{h.d(W,{x:()=>x});var p=h(41944);function x(b){return(0,p.e)(function(C,T){try{C.subscribe(T)}finally{T.add(b)}})}},56074:(Be,W,h)=>{h.d(W,{x:()=>b});var p=h(41944),x=h(93945);function b(){return(0,p.e)(function(C,T){var H=null;C._refCount++;var w=(0,x.x)(T,void 0,void 0,void 0,function(){if(!C||C._refCount<=0||0<--C._refCount)H=null;else{var O=C._connection,v=H;H=null,O&&(!v||O===v)&&O.unsubscribe(),T.unsubscribe()}});C.subscribe(w),w.closed||(H=C.connect())})}},14437:(Be,W,h)=>{h.d(W,{b:()=>b});var p=h(90833),x=h(92971);function b(C){return!!C&&(C instanceof p.y||(0,x.m)(C.lift)&&(0,x.m)(C.subscribe))}},84843:(Be,W,h)=>{h.r(W),h.d(W,{ActivatedRoute:()=>ce,ActivatedRouteSnapshot:()=>_e,ActivationEnd:()=>yn,ActivationStart:()=>mn,BaseRouteReuseStrategy:()=>Wn,ChildActivationEnd:()=>pn,ChildActivationStart:()=>gn,ChildrenOutletContexts:()=>pe,DefaultTitleStrategy:()=>Fn,DefaultUrlSerializer:()=>Ve,GuardsCheckEnd:()=>ln,GuardsCheckStart:()=>cn,NavigationCancel:()=>Ue,NavigationEnd:()=>J,NavigationError:()=>Ye,NavigationSkipped:()=>ge,NavigationStart:()=>Xe,NoPreloading:()=>Qi,OutletContext:()=>Rn,PRIMARY_OUTLET:()=>R,PreloadAllModules:()=>qi,PreloadingStrategy:()=>Zt,ROUTER_CONFIGURATION:()=>Ne,ROUTER_INITIALIZER:()=>jt,ROUTES:()=>le,ResolveEnd:()=>dn,ResolveStart:()=>fn,RouteConfigLoadEnd:()=>vn,RouteConfigLoadStart:()=>hn,RouteReuseStrategy:()=>Bn,Router:()=>L,RouterEvent:()=>z,RouterLink:()=>xe,RouterLinkActive:()=>Vn,RouterLinkWithHref:()=>xe,RouterModule:()=>oa,RouterOutlet:()=>kt,RouterPreloader:()=>$n,RouterState:()=>yt,RouterStateSnapshot:()=>Rt,RoutesRecognized:()=>sn,Scroll:()=>gt,TitleStrategy:()=>Ut,UrlHandlingStrategy:()=>Hn,UrlSegment:()=>he,UrlSegmentGroup:()=>S,UrlSerializer:()=>ve,UrlTree:()=>oe,VERSION:()=>ya,convertToParamMap:()=>ae,createUrlTreeFromSnapshot:()=>Jt,defaultUrlMatcher:()=>zt,mapToCanActivate:()=>va,mapToCanActivateChild:()=>ga,mapToCanDeactivate:()=>pa,mapToCanMatch:()=>ha,mapToResolve:()=>ma,provideRouter:()=>Xi,provideRoutes:()=>Ji,withComponentInputBinding:()=>tr,withDebugTracing:()=>ta,withDisabledInitialNavigation:()=>Yn,withEnabledBlockingInitialNavigation:()=>Xn,withHashLocation:()=>ra,withInMemoryScrolling:()=>ea,withNavigationErrorHandler:()=>ia,withPreloading:()=>er,withRouterConfig:()=>na,\u0275EmptyOutletComponent:()=>It,\u0275ROUTER_PROVIDERS:()=>rr,\u0275afterNextNavigation:()=>_t});var p=h(35603),x=h(35488),b=h(24582),C=h(28694),T=h(95106),H=h(77797),w=h(32090),O=h(86170),v=h(78069),g=h(48047),c=h(56718),ot=h(14437),_=h(37400),m=h(10745),A=h(76317),U=h(26562),de=h(14423),ut=h(59319),Lt=h(21954),ir=h(60629),Ee=h(25474),te=h(20591),Nt=h(23932),ke=h(50253),N=h(94055),I=h(50635),$=h(32673),Ae=h(59295),ar=h(44874),ne=h(60116),P=h(49525),re=h(80155),Ie=h(63853),M=h(19337),ie=h(53158),or=h(24503),st=h(64744),ur=h(41944),sr=h(93945);function ct(e){return e<=0?function(){return te.E}:(0,ur.e)(function(i,t){var n=[];i.subscribe((0,sr.x)(t,function(r){n.push(r),e<n.length&&n.shift()},function(){var a,r=(0,T.Z)(n);try{for(r.s();!(a=r.n()).done;)t.next(a.value)}catch(s){r.e(s)}finally{r.f()}t.complete()},void 0,function(){n=null}))})}var cr=h(77354),lr=h(89173),dr=h(73),lt=h(32313),xt=h(56074),We=h(1308),hr=h(15019),R="primary",be=Symbol("RouteTitle"),vr=function(){function e(i){(0,v.Z)(this,e),this.params=i||{}}return(0,g.Z)(e,[{key:"has",value:function(t){return Object.prototype.hasOwnProperty.call(this.params,t)}},{key:"get",value:function(t){if(this.has(t)){var n=this.params[t];return Array.isArray(n)?n[0]:n}return null}},{key:"getAll",value:function(t){if(this.has(t)){var n=this.params[t];return Array.isArray(n)?n:[n]}return[]}},{key:"keys",get:function(){return Object.keys(this.params)}}]),e}();function ae(e){return new vr(e)}function zt(e,i,t){var n=t.path.split("/");if(n.length>e.length||"full"===t.pathMatch&&(i.hasChildren()||n.length<e.length))return null;for(var r={},a=0;a<n.length;a++){var o=n[a],s=e[a];if(o.startsWith(":"))r[o.substring(1)]=s;else if(o!==s.path)return null}return{consumed:e.slice(0,n.length),posParams:r}}function V(e,i){var t=e?Object.keys(e):void 0,n=i?Object.keys(i):void 0;if(!t||!n||t.length!=n.length)return!1;for(var r,a=0;a<t.length;a++)if(!Ft(e[r=t[a]],i[r]))return!1;return!0}function Ft(e,i){if(Array.isArray(e)&&Array.isArray(i)){if(e.length!==i.length)return!1;var t=(0,O.Z)(e).sort(),n=(0,O.Z)(i).sort();return t.every(function(r,a){return n[a]===r})}return e===i}function Bt(e){return e.length>0?e[e.length-1]:null}function Y(e){return(0,ot.b)(e)?e:(0,c.\u0275isPromise)(e)?(0,_.D)(Promise.resolve(e)):(0,m.of)(e)}var pr={exact:function Vt(e,i,t){if(!ue(e.segments,i.segments)||!He(e.segments,i.segments,t)||e.numberOfChildren!==i.numberOfChildren)return!1;for(var n in i.children)if(!e.children[n]||!Vt(e.children[n],i.children[n],t))return!1;return!0},subset:$t},Wt={exact:function mr(e,i){return V(e,i)},subset:function yr(e,i){return Object.keys(i).length<=Object.keys(e).length&&Object.keys(i).every(function(t){return Ft(e[t],i[t])})},ignored:function(){return!0}};function Ht(e,i,t){return pr[t.paths](e.root,i.root,t.matrixParams)&&Wt[t.queryParams](e.queryParams,i.queryParams)&&!("exact"===t.fragment&&e.fragment!==i.fragment)}function $t(e,i,t){return Gt(e,i,i.segments,t)}function Gt(e,i,t,n){if(e.segments.length>t.length){var r=e.segments.slice(0,t.length);return!(!ue(r,t)||i.hasChildren()||!He(r,t,n))}if(e.segments.length===t.length){if(!ue(e.segments,t)||!He(e.segments,t,n))return!1;for(var a in i.children)if(!e.children[a]||!$t(e.children[a],i.children[a],n))return!1;return!0}var o=t.slice(0,e.segments.length),s=t.slice(e.segments.length);return!!(ue(e.segments,o)&&He(e.segments,o,n)&&e.children[R])&&Gt(e.children[R],i,s,n)}function He(e,i,t){return i.every(function(n,r){return Wt[t](e[r].parameters,n.parameters)})}var oe=function(){function e(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new S([],{}),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;(0,v.Z)(this,e),this.root=i,this.queryParams=t,this.fragment=n}return(0,g.Z)(e,[{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=ae(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return Sr.serialize(this)}}]),e}(),S=function(){function e(i,t){var n=this;(0,v.Z)(this,e),this.segments=i,this.children=t,this.parent=null,Object.values(t).forEach(function(r){return r.parent=n})}return(0,g.Z)(e,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}},{key:"toString",value:function(){return $e(this)}}]),e}(),he=function(){function e(i,t){(0,v.Z)(this,e),this.path=i,this.parameters=t}return(0,g.Z)(e,[{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=ae(this.parameters)),this._parameterMap}},{key:"toString",value:function(){return Qt(this)}}]),e}();function ue(e,i){return e.length===i.length&&e.every(function(t,n){return t.path===i[n].path})}var ve=function(){var e=(0,g.Z)(function i(){(0,v.Z)(this,i)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=c.\u0275\u0275defineInjectable({token:e,factory:function(){return new Ve},providedIn:"root"}),e}(),Ve=function(){function e(){(0,v.Z)(this,e)}return(0,g.Z)(e,[{key:"parse",value:function(t){var n=new _r(t);return new oe(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}},{key:"serialize",value:function(t){var n="/".concat(Te(t.root,!0)),r=function Ar(e){var i=Object.keys(e).map(function(t){var n=e[t];return Array.isArray(n)?n.map(function(r){return"".concat(Ge(t),"=").concat(Ge(r))}).join("&"):"".concat(Ge(t),"=").concat(Ge(n))}).filter(function(t){return!!t});return i.length?"?".concat(i.join("&")):""}(t.queryParams),a="string"==typeof t.fragment?"#".concat(function Er(e){return encodeURI(e)}(t.fragment)):"";return"".concat(n).concat(r).concat(a)}}]),e}(),Sr=new Ve;function $e(e){return e.segments.map(function(i){return Qt(i)}).join("/")}function Te(e,i){if(!e.hasChildren())return $e(e);if(i){var t=e.children[R]?Te(e.children[R],!1):"",n=[];return Object.entries(e.children).forEach(function(a){var o=(0,w.Z)(a,2),s=o[0],u=o[1];s!==R&&n.push("".concat(s,":").concat(Te(u,!1)))}),n.length>0?"".concat(t,"(").concat(n.join("//"),")"):t}var r=function Cr(e,i){var t=[];return Object.entries(e.children).forEach(function(n){var r=(0,w.Z)(n,2),a=r[0];a===R&&(t=t.concat(i(r[1],a)))}),Object.entries(e.children).forEach(function(n){var r=(0,w.Z)(n,2),a=r[0];a!==R&&(t=t.concat(i(r[1],a)))}),t}(e,function(a,o){return o===R?[Te(e.children[R],!1)]:["".concat(o,":").concat(Te(a,!1))]});return 1===Object.keys(e.children).length&&null!=e.children[R]?"".concat($e(e),"/").concat(r[0]):"".concat($e(e),"/(").concat(r.join("//"),")")}function Kt(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ge(e){return Kt(e).replace(/%3B/gi,";")}function ft(e){return Kt(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ke(e){return decodeURIComponent(e)}function qt(e){return Ke(e.replace(/\+/g,"%20"))}function Qt(e){return"".concat(ft(e.path)).concat(function kr(e){return Object.keys(e).map(function(i){return";".concat(ft(i),"=").concat(ft(e[i]))}).join("")}(e.parameters))}var Ir=/^[^\/()?;#]+/;function dt(e){var i=e.match(Ir);return i?i[0]:""}var br=/^[^\/()?;=#]+/,wr=/^[^=?&#]+/,Or=/^[^&#]+/,_r=function(){function e(i){(0,v.Z)(this,e),this.url=i,this.remaining=i}return(0,g.Z)(e,[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new S([],{}):new S([],this.parseChildren())}},{key:"parseQueryParams",value:function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}},{key:"parseFragment",value:function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}},{key:"parseChildren",value:function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));var r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[R]=new S(t,n)),r}},{key:"parseSegment",value:function(){var t=dt(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new c.\u0275RuntimeError(4009,!1);return this.capture(t),new he(Ke(t),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t}},{key:"parseParam",value:function(t){var n=function Tr(e){var i=e.match(br);return i?i[0]:""}(this.remaining);if(n){this.capture(n);var r="";if(this.consumeOptional("=")){var a=dt(this.remaining);a&&this.capture(r=a)}t[Ke(n)]=Ke(r)}}},{key:"parseQueryParam",value:function(t){var n=function Dr(e){var i=e.match(wr);return i?i[0]:""}(this.remaining);if(n){this.capture(n);var r="";if(this.consumeOptional("=")){var a=function Ur(e){var i=e.match(Or);return i?i[0]:""}(this.remaining);a&&this.capture(r=a)}var o=qt(n),s=qt(r);if(t.hasOwnProperty(o)){var u=t[o];Array.isArray(u)||(t[o]=u=[u]),u.push(s)}else t[o]=s}}},{key:"parseParens",value:function(t){var n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var r=dt(this.remaining),a=this.remaining[r.length];if("/"!==a&&")"!==a&&";"!==a)throw new c.\u0275RuntimeError(4010,!1);var o=void 0;r.indexOf(":")>-1?(o=r.slice(0,r.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=R);var s=this.parseChildren();n[o]=1===Object.keys(s).length?s[R]:new S([],s),this.consumeOptional("//")}return n}},{key:"peekStartsWith",value:function(t){return this.remaining.startsWith(t)}},{key:"consumeOptional",value:function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}},{key:"capture",value:function(t){if(!this.consumeOptional(t))throw new c.\u0275RuntimeError(4011,!1)}}]),e}();function Xt(e){return e.segments.length>0?new S([],(0,H.Z)({},R,e)):e}function Yt(e){for(var i={},t=0,n=Object.keys(e.children);t<n.length;t++){var r=n[t],o=Yt(e.children[r]);if(r===R&&0===o.segments.length&&o.hasChildren())for(var s=0,u=Object.entries(o.children);s<u.length;s++){var l=(0,w.Z)(u[s],2);i[l[0]]=l[1]}else(o.segments.length>0||o.hasChildren())&&(i[r]=o)}return function Zr(e){if(1===e.numberOfChildren&&e.children[R]){var i=e.children[R];return new S(e.segments.concat(i.segments),i.children)}return e}(new S(e.segments,i))}function se(e){return e instanceof oe}function Jt(e,i){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return tn(en(e),i,t,n)}function en(e){var i,t,a=Xt(function n(o){var l,s={},u=(0,T.Z)(o.children);try{for(u.s();!(l=u.n()).done;){var f=l.value,d=n(f);s[f.outlet]=d}}catch(E){u.e(E)}finally{u.f()}var y=new S(o.url,s);return o===e&&(t=y),y}(e.root));return null!==(i=t)&&void 0!==i?i:a}function tn(e,i,t,n){for(var r=e;r.parent;)r=r.parent;if(0===i.length)return ht(r,r,r,t,n);var a=function Mr(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new rn(!0,0,e);var i=0,t=!1,n=e.reduce(function(r,a,o){if("object"==typeof a&&null!=a){if(a.outlets){var s={};return Object.entries(a.outlets).forEach(function(u){var l=(0,w.Z)(u,2),d=l[1];s[l[0]]="string"==typeof d?d.split("/"):d}),[].concat((0,O.Z)(r),[{outlets:s}])}if(a.segmentPath)return[].concat((0,O.Z)(r),[a.segmentPath])}return"string"!=typeof a?[].concat((0,O.Z)(r),[a]):0===o?(a.split("/").forEach(function(u,l){0==l&&"."===u||(0==l&&""===u?t=!0:".."===u?i++:""!=u&&r.push(u))}),r):[].concat((0,O.Z)(r),[a])},[]);return new rn(t,i,n)}(i);if(a.toRoot())return ht(r,r,new S([],{}),t,n);var o=function Pr(e,i,t){if(e.isAbsolute)return new Qe(i,!0,0);if(!t)return new Qe(i,!1,NaN);if(null===t.parent)return new Qe(t,!0,0);var n=qe(e.commands[0])?0:1;return function jr(e,i,t){for(var n=e,r=i,a=t;a>r;){if(a-=r,!(n=n.parent))throw new c.\u0275RuntimeError(4005,!1);r=n.segments.length}return new Qe(n,!1,r-a)}(t,t.segments.length-1+n,e.numberOfDoubleDots)}(a,r,e),s=o.processChildren?De(o.segmentGroup,o.index,a.commands):an(o.segmentGroup,o.index,a.commands);return ht(r,o.segmentGroup,s,t,n)}function qe(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function we(e){return"object"==typeof e&&null!=e&&e.outlets}function ht(e,i,t,n,r){var a={};n&&Object.entries(n).forEach(function(u){var l=(0,w.Z)(u,2),d=l[1];a[l[0]]=Array.isArray(d)?d.map(function(y){return"".concat(y)}):"".concat(d)});var s=Xt(Yt(e===i?t:nn(e,i,t)));return new oe(s,a,r)}function nn(e,i,t){var n={};return Object.entries(e.children).forEach(function(r){var a=(0,w.Z)(r,2),s=a[1];n[a[0]]=s===i?t:nn(s,i,t)}),new S(e.segments,n)}var rn=function(){function e(i,t,n){if((0,v.Z)(this,e),this.isAbsolute=i,this.numberOfDoubleDots=t,this.commands=n,i&&n.length>0&&qe(n[0]))throw new c.\u0275RuntimeError(4003,!1);var r=n.find(we);if(r&&r!==Bt(n))throw new c.\u0275RuntimeError(4004,!1)}return(0,g.Z)(e,[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}]),e}(),Qe=(0,g.Z)(function e(i,t,n){(0,v.Z)(this,e),this.segmentGroup=i,this.processChildren=t,this.index=n});function an(e,i,t){if(e||(e=new S([],{})),0===e.segments.length&&e.hasChildren())return De(e,i,t);var n=function Nr(e,i,t){for(var n=0,r=i,a={match:!1,pathIndex:0,commandIndex:0};r<e.segments.length;){if(n>=t.length)return a;var o=e.segments[r],s=t[n];if(we(s))break;var u="".concat(s),l=n<t.length-1?t[n+1]:null;if(r>0&&void 0===u)break;if(u&&l&&"object"==typeof l&&void 0===l.outlets){if(!un(u,l,o))return a;n+=2}else{if(!un(u,{},o))return a;n++}r++}return{match:!0,pathIndex:r,commandIndex:n}}(e,i,t),r=t.slice(n.commandIndex);if(n.match&&n.pathIndex<e.segments.length){var a=new S(e.segments.slice(0,n.pathIndex),{});return a.children[R]=new S(e.segments.slice(n.pathIndex),e.children),De(a,0,r)}return n.match&&0===r.length?new S(e.segments,{}):n.match&&!e.hasChildren()?vt(e,i,t):n.match?De(e,0,r):vt(e,i,t)}function De(e,i,t){if(0===t.length)return new S(e.segments,{});var n=function Lr(e){return we(e[0])?e[0].outlets:(0,H.Z)({},R,e)}(t),r={};if(!n[R]&&e.children[R]&&1===e.numberOfChildren&&0===e.children[R].segments.length){var a=De(e.children[R],i,t);return new S(e.segments,a.children)}return Object.entries(n).forEach(function(o){var s=(0,w.Z)(o,2),u=s[0],l=s[1];"string"==typeof l&&(l=[l]),null!==l&&(r[u]=an(e.children[u],i,l))}),Object.entries(e.children).forEach(function(o){var s=(0,w.Z)(o,2),u=s[0];void 0===n[u]&&(r[u]=s[1])}),new S(e.segments,r)}function vt(e,i,t){for(var n=e.segments.slice(0,i),r=0;r<t.length;){var a=t[r];if(we(a)){var o=xr(a.outlets);return new S(n,o)}if(0===r&&qe(t[0]))n.push(new he(e.segments[i].path,on(t[0]))),r++;else{var u=we(a)?a.outlets[R]:"".concat(a),l=r<t.length-1?t[r+1]:null;u&&l&&qe(l)?(n.push(new he(u,on(l))),r+=2):(n.push(new he(u,{})),r++)}}return new S(n,{})}function xr(e){var i={};return Object.entries(e).forEach(function(t){var n=(0,w.Z)(t,2),a=n[1];"string"==typeof a&&(a=[a]),null!==a&&(i[n[0]]=vt(new S([],{}),0,a))}),i}function on(e){var i={};return Object.entries(e).forEach(function(t){var n=(0,w.Z)(t,2);return i[n[0]]="".concat(n[1])}),i}function un(e,i,t){return e==t.path&&V(i,t.parameters)}var Oe="imperative",z=(0,g.Z)(function e(i,t){(0,v.Z)(this,e),this.id=i,this.url=t}),Xe=function(e){(0,b.Z)(t,e);var i=(0,C.Z)(t);function t(n,r){var a,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"imperative",s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return(0,v.Z)(this,t),(a=i.call(this,n,r)).type=0,a.navigationTrigger=o,a.restoredState=s,a}return(0,g.Z)(t,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),t}(z),J=function(e){(0,b.Z)(t,e);var i=(0,C.Z)(t);function t(n,r,a){var o;return(0,v.Z)(this,t),(o=i.call(this,n,r)).urlAfterRedirects=a,o.type=1,o}return(0,g.Z)(t,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}]),t}(z),Ue=function(e){(0,b.Z)(t,e);var i=(0,C.Z)(t);function t(n,r,a,o){var s;return(0,v.Z)(this,t),(s=i.call(this,n,r)).reason=a,s.code=o,s.type=2,s}return(0,g.Z)(t,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),t}(z),ge=function(e){(0,b.Z)(t,e);var i=(0,C.Z)(t);function t(n,r,a,o){var s;return(0,v.Z)(this,t),(s=i.call(this,n,r)).reason=a,s.code=o,s.type=16,s}return(0,g.Z)(t)}(z),Ye=function(e){(0,b.Z)(t,e);var i=(0,C.Z)(t);function t(n,r,a,o){var s;return(0,v.Z)(this,t),(s=i.call(this,n,r)).error=a,s.target=o,s.type=3,s}return(0,g.Z)(t,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}]),t}(z),sn=function(e){(0,b.Z)(t,e);var i=(0,C.Z)(t);function t(n,r,a,o){var s;return(0,v.Z)(this,t),(s=i.call(this,n,r)).urlAfterRedirects=a,s.state=o,s.type=4,s}return(0,g.Z)(t,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),t}(z),cn=function(e){(0,b.Z)(t,e);var i=(0,C.Z)(t);function t(n,r,a,o){var s;return(0,v.Z)(this,t),(s=i.call(this,n,r)).urlAfterRedirects=a,s.state=o,s.type=7,s}return(0,g.Z)(t,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),t}(z),ln=function(e){(0,b.Z)(t,e);var i=(0,C.Z)(t);function t(n,r,a,o,s){var u;return(0,v.Z)(this,t),(u=i.call(this,n,r)).urlAfterRedirects=a,u.state=o,u.shouldActivate=s,u.type=8,u}return(0,g.Z)(t,[{key:"toString",value:function(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}}]),t}(z),fn=function(e){(0,b.Z)(t,e);var i=(0,C.Z)(t);function t(n,r,a,o){var s;return(0,v.Z)(this,t),(s=i.call(this,n,r)).urlAfterRedirects=a,s.state=o,s.type=5,s}return(0,g.Z)(t,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),t}(z),dn=function(e){(0,b.Z)(t,e);var i=(0,C.Z)(t);function t(n,r,a,o){var s;return(0,v.Z)(this,t),(s=i.call(this,n,r)).urlAfterRedirects=a,s.state=o,s.type=6,s}return(0,g.Z)(t,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),t}(z),hn=function(){function e(i){(0,v.Z)(this,e),this.route=i,this.type=9}return(0,g.Z)(e,[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}]),e}(),vn=function(){function e(i){(0,v.Z)(this,e),this.route=i,this.type=10}return(0,g.Z)(e,[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}]),e}(),gn=function(){function e(i){(0,v.Z)(this,e),this.snapshot=i,this.type=11}return(0,g.Z)(e,[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),pn=function(){function e(i){(0,v.Z)(this,e),this.snapshot=i,this.type=12}return(0,g.Z)(e,[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),mn=function(){function e(i){(0,v.Z)(this,e),this.snapshot=i,this.type=13}return(0,g.Z)(e,[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),yn=function(){function e(i){(0,v.Z)(this,e),this.snapshot=i,this.type=14}return(0,g.Z)(e,[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),gt=function(){function e(i,t,n){(0,v.Z)(this,e),this.routerEvent=i,this.position=t,this.anchor=n,this.type=15}return(0,g.Z)(e,[{key:"toString",value:function(){var t=this.position?"".concat(this.position[0],", ").concat(this.position[1]):null;return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(t,"')")}}]),e}(),Rn=(0,g.Z)(function e(){(0,v.Z)(this,e),this.outlet=null,this.route=null,this.injector=null,this.children=new pe,this.attachRef=null}),pe=function(){var e=function(){function i(){(0,v.Z)(this,i),this.contexts=new Map}return(0,g.Z)(i,[{key:"onChildOutletCreated",value:function(n,r){var a=this.getOrCreateContext(n);a.outlet=r,this.contexts.set(n,a)}},{key:"onChildOutletDestroyed",value:function(n){var r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}},{key:"onOutletDeactivated",value:function(){var n=this.contexts;return this.contexts=new Map,n}},{key:"onOutletReAttached",value:function(n){this.contexts=n}},{key:"getOrCreateContext",value:function(n){var r=this.getContext(n);return r||(r=new Rn,this.contexts.set(n,r)),r}},{key:"getContext",value:function(n){return this.contexts.get(n)||null}}]),i}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=c.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),Cn=function(){function e(i){(0,v.Z)(this,e),this._root=i}return(0,g.Z)(e,[{key:"root",get:function(){return this._root.value}},{key:"parent",value:function(t){var n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}},{key:"children",value:function(t){var n=pt(t,this._root);return n?n.children.map(function(r){return r.value}):[]}},{key:"firstChild",value:function(t){var n=pt(t,this._root);return n&&n.children.length>0?n.children[0].value:null}},{key:"siblings",value:function(t){var n=mt(t,this._root);return n.length<2?[]:n[n.length-2].children.map(function(a){return a.value}).filter(function(a){return a!==t})}},{key:"pathFromRoot",value:function(t){return mt(t,this._root).map(function(n){return n.value})}}]),e}();function pt(e,i){if(e===i.value)return i;var n,t=(0,T.Z)(i.children);try{for(t.s();!(n=t.n()).done;){var a=pt(e,n.value);if(a)return a}}catch(o){t.e(o)}finally{t.f()}return null}function mt(e,i){if(e===i.value)return[i];var n,t=(0,T.Z)(i.children);try{for(t.s();!(n=t.n()).done;){var a=mt(e,n.value);if(a.length)return a.unshift(i),a}}catch(o){t.e(o)}finally{t.f()}return[]}var G=function(){function e(i,t){(0,v.Z)(this,e),this.value=i,this.children=t}return(0,g.Z)(e,[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}]),e}();function me(e){var i={};return e&&e.children.forEach(function(t){return i[t.value.outlet]=t}),i}var yt=function(e){(0,b.Z)(t,e);var i=(0,C.Z)(t);function t(n,r){var a;return(0,v.Z)(this,t),(a=i.call(this,n)).snapshot=r,Ct((0,x.Z)(a),n),a}return(0,g.Z)(t,[{key:"toString",value:function(){return this.snapshot.toString()}}]),t}(Cn);function Sn(e,i){var t=function zr(e,i){var o=new _e([],{},{},"",{},R,i,null,{});return new Rt("",new G(o,[]))}(0,i),n=new A.X([new he("",{})]),r=new A.X({}),a=new A.X({}),o=new A.X({}),s=new A.X(""),u=new ce(n,r,o,s,a,R,i,t.root);return u.snapshot=t.root,new yt(new G(u,[]),t)}var ce=function(){function e(i,t,n,r,a,o,s,u){var l,f;(0,v.Z)(this,e),this.urlSubject=i,this.paramsSubject=t,this.queryParamsSubject=n,this.fragmentSubject=r,this.dataSubject=a,this.outlet=o,this.component=s,this._futureSnapshot=u,this.title=null!==(l=null===(f=this.dataSubject)||void 0===f?void 0:f.pipe((0,I.U)(function(d){return d[be]})))&&void 0!==l?l:(0,m.of)(void 0),this.url=i,this.params=t,this.queryParams=n,this.fragment=r,this.data=a}return(0,g.Z)(e,[{key:"routeConfig",get:function(){return this._futureSnapshot.routeConfig}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=this.params.pipe((0,I.U)(function(t){return ae(t)}))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,I.U)(function(t){return ae(t)}))),this._queryParamMap}},{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}}]),e}();function En(e){var t=e.pathFromRoot,n=0;if("always"!==(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"emptyOnly"))for(n=t.length-1;n>=1;){var r=t[n],a=t[n-1];if(r.routeConfig&&""===r.routeConfig.path)n--;else{if(a.component)break;n--}}return function Fr(e){return e.reduce(function(i,t){var n;return{params:(0,p.Z)((0,p.Z)({},i.params),t.params),data:(0,p.Z)((0,p.Z)({},i.data),t.data),resolve:(0,p.Z)((0,p.Z)((0,p.Z)((0,p.Z)({},t.data),i.resolve),null===(n=t.routeConfig)||void 0===n?void 0:n.data),t._resolvedData)}},{params:{},data:{},resolve:{}})}(t.slice(n))}var _e=function(){function e(i,t,n,r,a,o,s,u,l){(0,v.Z)(this,e),this.url=i,this.params=t,this.queryParams=n,this.fragment=r,this.data=a,this.outlet=o,this.component=s,this.routeConfig=u,this._resolve=l}return(0,g.Z)(e,[{key:"title",get:function(){var t;return null===(t=this.data)||void 0===t?void 0:t[be]}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=ae(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=ae(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){var t=this.url.map(function(r){return r.toString()}).join("/"),n=this.routeConfig?this.routeConfig.path:"";return"Route(url:'".concat(t,"', path:'").concat(n,"')")}}]),e}(),Rt=function(e){(0,b.Z)(t,e);var i=(0,C.Z)(t);function t(n,r){var a;return(0,v.Z)(this,t),(a=i.call(this,r)).url=n,Ct((0,x.Z)(a),r),a}return(0,g.Z)(t,[{key:"toString",value:function(){return kn(this._root)}}]),t}(Cn);function Ct(e,i){i.value._routerState=e,i.children.forEach(function(t){return Ct(e,t)})}function kn(e){var i=e.children.length>0?" { ".concat(e.children.map(kn).join(", ")," } "):"";return"".concat(e.value).concat(i)}function St(e){if(e.snapshot){var i=e.snapshot,t=e._futureSnapshot;e.snapshot=t,V(i.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),i.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),V(i.params,t.params)||e.paramsSubject.next(t.params),function gr(e,i){if(e.length!==i.length)return!1;for(var t=0;t<e.length;++t)if(!V(e[t],i[t]))return!1;return!0}(i.url,t.url)||e.urlSubject.next(t.url),V(i.data,t.data)||e.dataSubject.next(t.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function Et(e,i){var t=V(e.params,i.params)&&function Rr(e,i){return ue(e,i)&&e.every(function(t,n){return V(t.parameters,i[n].parameters)})}(e.url,i.url);return t&&!(!e.parent!=!i.parent)&&(!e.parent||Et(e.parent,i.parent))}var kt=function(){var e=function(){function i(){(0,v.Z)(this,i),this.activated=null,this._activatedRoute=null,this.name=R,this.activateEvents=new c.EventEmitter,this.deactivateEvents=new c.EventEmitter,this.attachEvents=new c.EventEmitter,this.detachEvents=new c.EventEmitter,this.parentContexts=(0,c.inject)(pe),this.location=(0,c.inject)(c.ViewContainerRef),this.changeDetector=(0,c.inject)(c.ChangeDetectorRef),this.environmentInjector=(0,c.inject)(c.EnvironmentInjector),this.inputBinder=(0,c.inject)(Je,{optional:!0}),this.supportsBindingToComponentInputs=!0}return(0,g.Z)(i,[{key:"activatedComponentRef",get:function(){return this.activated}},{key:"ngOnChanges",value:function(n){if(n.name){var r=n.name,o=r.previousValue;if(r.firstChange)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}},{key:"ngOnDestroy",value:function(){var n;this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),null===(n=this.inputBinder)||void 0===n||n.unsubscribeFromRouteData(this)}},{key:"isTrackedInParentContexts",value:function(n){var r;return(null===(r=this.parentContexts.getContext(n))||void 0===r?void 0:r.outlet)===this}},{key:"ngOnInit",value:function(){this.initializeOutletWithName()}},{key:"initializeOutletWithName",value:function(){if(this.parentContexts.onChildOutletCreated(this.name,this),!this.activated){var n=this.parentContexts.getContext(this.name);null!=n&&n.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}}},{key:"isActivated",get:function(){return!!this.activated}},{key:"component",get:function(){if(!this.activated)throw new c.\u0275RuntimeError(4012,!1);return this.activated.instance}},{key:"activatedRoute",get:function(){if(!this.activated)throw new c.\u0275RuntimeError(4012,!1);return this._activatedRoute}},{key:"activatedRouteData",get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}},{key:"detach",value:function(){if(!this.activated)throw new c.\u0275RuntimeError(4012,!1);this.location.detach();var n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}},{key:"attach",value:function(n,r){var a;this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),null===(a=this.inputBinder)||void 0===a||a.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}},{key:"deactivate",value:function(){if(this.activated){var n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}},{key:"activateWith",value:function(n,r){var a;if(this.isActivated)throw new c.\u0275RuntimeError(4013,!1);this._activatedRoute=n;var o=this.location,u=n.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,f=new Br(n,l,o.injector);this.activated=o.createComponent(u,{index:o.length,injector:f,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),null===(a=this.inputBinder)||void 0===a||a.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}]),i}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=c.\u0275\u0275defineDirective({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[c.\u0275\u0275NgOnChangesFeature]}),e}(),Br=function(){function e(i,t,n){(0,v.Z)(this,e),this.route=i,this.childContexts=t,this.parent=n}return(0,g.Z)(e,[{key:"get",value:function(t,n){return t===ce?this.route:t===pe?this.childContexts:this.parent.get(t,n)}}]),e}(),Je=new c.InjectionToken(""),An=function(){var e=function(){function i(){(0,v.Z)(this,i),this.outletDataSubscriptions=new Map}return(0,g.Z)(i,[{key:"bindActivatedRouteToOutletComponent",value:function(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}},{key:"unsubscribeFromRouteData",value:function(n){var r;null===(r=this.outletDataSubscriptions.get(n))||void 0===r||r.unsubscribe(),this.outletDataSubscriptions.delete(n)}},{key:"subscribeToRouteData",value:function(n){var r=this,a=n.activatedRoute,o=(0,U.a)([a.queryParams,a.params,a.data]).pipe((0,$.w)(function(s,u){var l=(0,w.Z)(s,3),d=l[1],y=l[2];return y=(0,p.Z)((0,p.Z)((0,p.Z)({},l[0]),d),y),0===u?(0,m.of)(y):Promise.resolve(y)})).subscribe(function(s){if(n.isActivated&&n.activatedComponentRef&&n.activatedRoute===a&&null!==a.component){var u=(0,c.reflectComponentType)(a.component);if(u){var f,l=(0,T.Z)(u.inputs);try{for(l.s();!(f=l.n()).done;){var d=f.value.templateName;n.activatedComponentRef.setInput(d,s[d])}}catch(y){l.e(y)}finally{l.f()}}else r.unsubscribeFromRouteData(n)}else r.unsubscribeFromRouteData(n)});this.outletDataSubscriptions.set(n,o)}}]),i}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=c.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac}),e}();function Ze(e,i,t){if(t&&e.shouldReuseRoute(i.value,t.value.snapshot)){var n=t.value;n._futureSnapshot=i.value;var r=function Hr(e,i,t){return i.children.map(function(n){var a,r=(0,T.Z)(t.children);try{for(r.s();!(a=r.n()).done;){var o=a.value;if(e.shouldReuseRoute(n.value,o.value.snapshot))return Ze(e,n,o)}}catch(s){r.e(s)}finally{r.f()}return Ze(e,n)})}(e,i,t);return new G(n,r)}if(e.shouldAttach(i.value)){var a=e.retrieve(i.value);if(null!==a){var o=a.route;return o.value._futureSnapshot=i.value,o.children=i.children.map(function(l){return Ze(e,l)}),o}}var s=function Vr(e){return new ce(new A.X(e.url),new A.X(e.params),new A.X(e.queryParams),new A.X(e.fragment),new A.X(e.data),e.outlet,e.component,e)}(i.value),u=i.children.map(function(l){return Ze(e,l)});return new G(s,u)}var At="ngNavigationCancelingError";function In(e,i){var t=se(i)?{redirectTo:i,navigationBehaviorOptions:void 0}:i,n=t.redirectTo,r=t.navigationBehaviorOptions,a=bn(!1,0,i);return a.url=n,a.navigationBehaviorOptions=r,a}function bn(e,i,t){var n=new Error("NavigationCancelingError: "+(e||""));return n[At]=!0,n.cancellationCode=i,t&&(n.url=t),n}function Tn(e){return wn(e)&&se(e.url)}function wn(e){return e&&e[At]}var It=function(){var e=(0,g.Z)(function i(){(0,v.Z)(this,i)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=c.\u0275\u0275defineComponent({type:e,selectors:[["ng-component"]],standalone:!0,features:[c.\u0275\u0275StandaloneFeature],decls:1,vars:0,template:function(t,n){1&t&&c.\u0275\u0275element(0,"router-outlet")},dependencies:[kt],encapsulation:2}),e}();function bt(e){var i=e.children&&e.children.map(bt),t=i?(0,p.Z)((0,p.Z)({},e),{},{children:i}):(0,p.Z)({},e);return!t.component&&!t.loadComponent&&(i||t.loadChildren)&&t.outlet&&t.outlet!==R&&(t.component=It),t}function F(e){return e.outlet||R}function Me(e){var i;if(!e)return null;if(null!==(i=e.routeConfig)&&void 0!==i&&i._injector)return e.routeConfig._injector;for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(null!=n&&n._loadedInjector)return n._loadedInjector;if(null!=n&&n._injector)return n._injector}return null}var Yr=function(){function e(i,t,n,r,a){(0,v.Z)(this,e),this.routeReuseStrategy=i,this.futureState=t,this.currState=n,this.forwardEvent=r,this.inputBindingEnabled=a}return(0,g.Z)(e,[{key:"activate",value:function(t){var n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),St(this.futureState.root),this.activateChildRoutes(n,r,t)}},{key:"deactivateChildRoutes",value:function(t,n,r){var a=this,o=me(n);t.children.forEach(function(s){var u=s.value.outlet;a.deactivateRoutes(s,o[u],r),delete o[u]}),Object.values(o).forEach(function(s){a.deactivateRouteAndItsChildren(s,r)})}},{key:"deactivateRoutes",value:function(t,n,r){var a=t.value,o=n?n.value:null;if(a===o)if(a.component){var s=r.getContext(a.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else o&&this.deactivateRouteAndItsChildren(n,r)}},{key:"deactivateRouteAndItsChildren",value:function(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}},{key:"detachAndStoreRouteSubtree",value:function(t,n){for(var r=n.getContext(t.value.outlet),a=r&&t.value.component?r.children:n,o=me(t),s=0,u=Object.keys(o);s<u.length;s++)this.deactivateRouteAndItsChildren(o[u[s]],a);if(r&&r.outlet){var f=r.outlet.detach(),d=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:f,route:t,contexts:d})}}},{key:"deactivateRouteAndOutlet",value:function(t,n){for(var r=n.getContext(t.value.outlet),a=r&&t.value.component?r.children:n,o=me(t),s=0,u=Object.keys(o);s<u.length;s++)this.deactivateRouteAndItsChildren(o[u[s]],a);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}},{key:"activateChildRoutes",value:function(t,n,r){var a=this,o=me(n);t.children.forEach(function(s){a.activateRoutes(s,o[s.value.outlet],r),a.forwardEvent(new yn(s.value.snapshot))}),t.children.length&&this.forwardEvent(new pn(t.value.snapshot))}},{key:"activateRoutes",value:function(t,n,r){var a=t.value,o=n?n.value:null;if(St(a),a===o)if(a.component){var s=r.getOrCreateContext(a.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(a.component){var u=r.getOrCreateContext(a.outlet);if(this.routeReuseStrategy.shouldAttach(a.snapshot)){var l=this.routeReuseStrategy.retrieve(a.snapshot);this.routeReuseStrategy.store(a.snapshot,null),u.children.onOutletReAttached(l.contexts),u.attachRef=l.componentRef,u.route=l.route.value,u.outlet&&u.outlet.attach(l.componentRef,l.route.value),St(l.route.value),this.activateChildRoutes(t,null,u.children)}else{var f=Me(a.snapshot);u.attachRef=null,u.route=a,u.injector=f,u.outlet&&u.outlet.activateWith(a,u.injector),this.activateChildRoutes(t,null,u.children)}}else this.activateChildRoutes(t,null,r)}}]),e}(),Dn=(0,g.Z)(function e(i){(0,v.Z)(this,e),this.path=i,this.route=this.path[this.path.length-1]}),et=(0,g.Z)(function e(i,t){(0,v.Z)(this,e),this.component=i,this.route=t});function Jr(e,i,t){var n=e._root;return Pe(n,i?i._root:null,t,[n.value])}function ye(e,i){var t=Symbol(),n=i.get(e,t);return n===t?"function"!=typeof e||(0,c.\u0275isInjectable)(e)?i.get(e):e:n}function Pe(e,i,t,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},a=me(i);return e.children.forEach(function(o){(function ti(e,i,t,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},a=e.value,o=i?i.value:null,s=t?t.getContext(e.value.outlet):null;if(o&&a.routeConfig===o.routeConfig){var u=function ni(e,i,t){if("function"==typeof t)return t(e,i);switch(t){case"pathParamsChange":return!ue(e.url,i.url);case"pathParamsOrQueryParamsChange":return!ue(e.url,i.url)||!V(e.queryParams,i.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Et(e,i)||!V(e.queryParams,i.queryParams);default:return!Et(e,i)}}(o,a,a.routeConfig.runGuardsAndResolvers);u?r.canActivateChecks.push(new Dn(n)):(a.data=o.data,a._resolvedData=o._resolvedData),Pe(e,i,a.component?s?s.children:null:t,n,r),u&&s&&s.outlet&&s.outlet.isActivated&&r.canDeactivateChecks.push(new et(s.outlet.component,o))}else o&&je(i,s,r),r.canActivateChecks.push(new Dn(n)),Pe(e,null,a.component?s?s.children:null:t,n,r)})(o,a[o.value.outlet],t,n.concat([o.value]),r),delete a[o.value.outlet]}),Object.entries(a).forEach(function(o){var s=(0,w.Z)(o,2);return je(s[1],t.getContext(s[0]),r)}),r}function je(e,i,t){var n=me(e),r=e.value;Object.entries(n).forEach(function(a){var o=(0,w.Z)(a,2);je(o[1],r.component?i?i.children.getContext(o[0]):null:i,t)}),t.canDeactivateChecks.push(new et(r.component&&i&&i.outlet&&i.outlet.isActivated?i.outlet.component:null,r))}function Le(e){return"function"==typeof e}function On(e){return e instanceof de.K||"EmptyError"===e?.name}var tt=Symbol("INITIAL_VALUE");function Re(){return(0,$.w)(function(e){return(0,U.a)(e.map(function(i){return i.pipe((0,Ae.q)(1),(0,ar.O)(tt))})).pipe((0,I.U)(function(i){var n,t=(0,T.Z)(i);try{for(t.s();!(n=t.n()).done;){var r=n.value;if(!0!==r){if(r===tt)return tt;if(!1===r||r instanceof oe)return r}}}catch(a){t.e(a)}finally{t.f()}return!0}),(0,ne.h)(function(i){return i!==tt}),(0,Ae.q)(1))})}function Un(e){return(0,ir.z)((0,M.b)(function(i){if(se(i))throw In(0,i)}),(0,I.U)(function(i){return!0===i}))}var nt=(0,g.Z)(function e(i){(0,v.Z)(this,e),this.segmentGroup=i||null}),_n=(0,g.Z)(function e(i){(0,v.Z)(this,e),this.urlTree=i});function Ce(e){return(0,Ee._)(new nt(e))}function Zn(e){return(0,Ee._)(new _n(e))}var Ei=function(){function e(i,t){(0,v.Z)(this,e),this.urlSerializer=i,this.urlTree=t}return(0,g.Z)(e,[{key:"noMatchError",value:function(t){return new c.\u0275RuntimeError(4002,!1)}},{key:"lineralizeSegments",value:function(t,n){for(var r=[],a=n.root;;){if(r=r.concat(a.segments),0===a.numberOfChildren)return(0,m.of)(r);if(a.numberOfChildren>1||!a.children[R])return(0,Ee._)(new c.\u0275RuntimeError(4e3,!1));a=a.children[R]}}},{key:"applyRedirectCommands",value:function(t,n,r){return this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r)}},{key:"applyRedirectCreateUrlTree",value:function(t,n,r,a){var o=this.createSegmentGroup(t,n.root,r,a);return new oe(o,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}},{key:"createQueryParams",value:function(t,n){var r={};return Object.entries(t).forEach(function(a){var o=(0,w.Z)(a,2),s=o[0],u=o[1];if("string"==typeof u&&u.startsWith(":")){var f=u.substring(1);r[s]=n[f]}else r[s]=u}),r}},{key:"createSegmentGroup",value:function(t,n,r,a){var o=this,s=this.createSegments(t,n.segments,r,a),u={};return Object.entries(n.children).forEach(function(l){var f=(0,w.Z)(l,2);u[f[0]]=o.createSegmentGroup(t,f[1],r,a)}),new S(s,u)}},{key:"createSegments",value:function(t,n,r,a){var o=this;return n.map(function(s){return s.path.startsWith(":")?o.findPosParam(t,s,a):o.findOrReturn(s,r)})}},{key:"findPosParam",value:function(t,n,r){var a=r[n.path.substring(1)];if(!a)throw new c.\u0275RuntimeError(4001,!1);return a}},{key:"findOrReturn",value:function(t,n){var o,r=0,a=(0,T.Z)(n);try{for(a.s();!(o=a.n()).done;){var s=o.value;if(s.path===t.path)return n.splice(r),s;r++}}catch(u){a.e(u)}finally{a.f()}return t}}]),e}(),Tt={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ki(e,i,t,n,r){var a=wt(e,i,t);return a.matched?(n=function $r(e,i){var t;return e.providers&&!e._injector&&(e._injector=(0,c.createEnvironmentInjector)(e.providers,i,"Route: ".concat(e.path))),null!==(t=e._injector)&&void 0!==t?t:i}(i,n),function Ri(e,i,t,n){var r=i.canMatch;if(!r||0===r.length)return(0,m.of)(!0);var a=r.map(function(o){var s=ye(o,e);return Y(function si(e){return e&&Le(e.canMatch)}(s)?s.canMatch(i,t):e.runInContext(function(){return s(i,t)}))});return(0,m.of)(a).pipe(Re(),Un())}(n,i,t).pipe((0,I.U)(function(o){return!0===o?a:(0,p.Z)({},Tt)}))):(0,m.of)(a)}function wt(e,i,t){var n,r;if(""===i.path)return"full"===i.pathMatch&&(e.hasChildren()||t.length>0)?(0,p.Z)({},Tt):{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};var o=(i.matcher||zt)(t,e,i);if(!o)return(0,p.Z)({},Tt);var s={};Object.entries(null!==(n=o.posParams)&&void 0!==n?n:{}).forEach(function(l){var f=(0,w.Z)(l,2);s[f[0]]=f[1].path});var u=o.consumed.length>0?(0,p.Z)((0,p.Z)({},s),o.consumed[o.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:o.consumed,remainingSegments:t.slice(o.consumed.length),parameters:u,positionalParamSegments:null!==(r=o.posParams)&&void 0!==r?r:{}}}function Mn(e,i,t,n){if(t.length>0&&function bi(e,i,t){return t.some(function(n){return rt(e,i,n)&&F(n)!==R})}(e,t,n)){var r=new S(i,function Ii(e,i){var t={};t[R]=i;var r,n=(0,T.Z)(e);try{for(n.s();!(r=n.n()).done;){var a=r.value;if(""===a.path&&F(a)!==R){var o=new S([],{});t[F(a)]=o}}}catch(s){n.e(s)}finally{n.f()}return t}(n,new S(t,e.children)));return{segmentGroup:r,slicedSegments:[]}}if(0===t.length&&function Ti(e,i,t){return t.some(function(n){return rt(e,i,n)})}(e,t,n)){var a=new S(e.segments,function Ai(e,i,t,n,r){var s,a={},o=(0,T.Z)(n);try{for(o.s();!(s=o.n()).done;){var u=s.value;if(rt(e,t,u)&&!r[F(u)]){var l=new S([],{});a[F(u)]=l}}}catch(f){o.e(f)}finally{o.f()}return(0,p.Z)((0,p.Z)({},r),a)}(e,0,t,n,e.children));return{segmentGroup:a,slicedSegments:t}}return{segmentGroup:new S(e.segments,e.children),slicedSegments:t}}function rt(e,i,t){return(!(e.hasChildren()||i.length>0)||"full"!==t.pathMatch)&&""===t.path}var Ui=function(){function e(i,t,n,r,a,o,s){(0,v.Z)(this,e),this.injector=i,this.configLoader=t,this.rootComponentType=n,this.config=r,this.urlTree=a,this.paramsInheritanceStrategy=o,this.urlSerializer=s,this.allowRedirects=!0,this.applyRedirects=new Ei(this.urlSerializer,this.urlTree)}return(0,g.Z)(e,[{key:"noMatchError",value:function(t){return new c.\u0275RuntimeError(4002,!1)}},{key:"recognize",value:function(){var t=this,n=Mn(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,n,R).pipe((0,ie.K)(function(r){if(r instanceof _n)return t.allowRedirects=!1,t.urlTree=r.urlTree,t.match(r.urlTree);throw r instanceof nt?t.noMatchError(r):r}),(0,I.U)(function(r){var a=new _e([],Object.freeze({}),Object.freeze((0,p.Z)({},t.urlTree.queryParams)),t.urlTree.fragment,{},R,t.rootComponentType,null,{}),o=new G(a,r),s=new Rt("",o),u=Jt(a,[],t.urlTree.queryParams,t.urlTree.fragment);return u.queryParams=t.urlTree.queryParams,s.url=t.urlSerializer.serialize(u),t.inheritParamsAndData(s._root),{state:s,tree:u}}))}},{key:"match",value:function(t){var n=this;return this.processSegmentGroup(this.injector,this.config,t.root,R).pipe((0,ie.K)(function(a){throw a instanceof nt?n.noMatchError(a):a}))}},{key:"inheritParamsAndData",value:function(t){var n=this,r=t.value,a=En(r,this.paramsInheritanceStrategy);r.params=Object.freeze(a.params),r.data=Object.freeze(a.data),t.children.forEach(function(o){return n.inheritParamsAndData(o)})}},{key:"processSegmentGroup",value:function(t,n,r,a){return 0===r.segments.length&&r.hasChildren()?this.processChildren(t,n,r):this.processSegment(t,n,r,r.segments,a,!0)}},{key:"processChildren",value:function(t,n,r){for(var a=this,o=[],s=0,u=Object.keys(r.children);s<u.length;s++){var l=u[s];"primary"===l?o.unshift(l):o.push(l)}return(0,_.D)(o).pipe((0,Ie.b)(function(f){var d=r.children[f],y=function Qr(e,i){var t=e.filter(function(n){return F(n)===i});return t.push.apply(t,(0,O.Z)(e.filter(function(n){return F(n)!==i}))),t}(n,f);return a.processSegmentGroup(t,y,d,f)}),(0,or.R)(function(f,d){return f.push.apply(f,(0,O.Z)(d)),f}),(0,st.d)(null),function fr(e,i){var t=arguments.length>=2;return function(n){return n.pipe(e?(0,ne.h)(function(r,a){return e(r,a,n)}):lr.y,ct(1),t?(0,st.d)(i):(0,cr.T)(function(){return new de.K}))}}(),(0,P.z)(function(f){if(null===f)return Ce(r);var d=Pn(f);return function _i(e){e.sort(function(i,t){return i.value.outlet===R?-1:t.value.outlet===R?1:i.value.outlet.localeCompare(t.value.outlet)})}(d),(0,m.of)(d)}))}},{key:"processSegment",value:function(t,n,r,a,o,s){var u=this;return(0,_.D)(n).pipe((0,Ie.b)(function(l){var f;return u.processSegmentAgainstRoute(null!==(f=l._injector)&&void 0!==f?f:t,n,l,r,a,o,s).pipe((0,ie.K)(function(d){if(d instanceof nt)return(0,m.of)(null);throw d}))}),(0,re.P)(function(l){return!!l}),(0,ie.K)(function(l){if(On(l))return function Di(e,i,t){return 0===i.length&&!e.children[t]}(r,a,o)?(0,m.of)([]):Ce(r);throw l}))}},{key:"processSegmentAgainstRoute",value:function(t,n,r,a,o,s,u){return function wi(e,i,t,n){return!!(F(e)===n||n!==R&&rt(i,t,e))&&("**"===e.path||wt(i,e,t).matched)}(r,a,o,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,a,r,o,s,u):u&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,a,n,r,o,s):Ce(a):Ce(a)}},{key:"expandSegmentAgainstRouteUsingRedirect",value:function(t,n,r,a,o,s){return"**"===a.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,r,a,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,a,o,s)}},{key:"expandWildCardWithParamsAgainstRouteUsingRedirect",value:function(t,n,r,a){var o=this,s=this.applyRedirects.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?Zn(s):this.applyRedirects.lineralizeSegments(r,s).pipe((0,P.z)(function(u){var l=new S(u,{});return o.processSegment(t,n,l,u,a,!1)}))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(t,n,r,a,o,s){var u=this,l=wt(n,a,o),d=l.consumedSegments,y=l.remainingSegments,E=l.positionalParamSegments;if(!l.matched)return Ce(n);var k=this.applyRedirects.applyRedirectCommands(d,a.redirectTo,E);return a.redirectTo.startsWith("/")?Zn(k):this.applyRedirects.lineralizeSegments(a,k).pipe((0,P.z)(function(Z){return u.processSegment(t,r,n,Z.concat(y),s,!1)}))}},{key:"matchSegmentAgainstRoute",value:function(t,n,r,a,o,s){var l,u=this;if("**"===r.path){var f,d,y=a.length>0?Bt(a).parameters:{},E=new _e(a,y,Object.freeze((0,p.Z)({},this.urlTree.queryParams)),this.urlTree.fragment,jn(r),F(r),null!==(f=null!==(d=r.component)&&void 0!==d?d:r._loadedComponent)&&void 0!==f?f:null,r,Ln(r));l=(0,m.of)({snapshot:E,consumedSegments:[],remainingSegments:[]}),n.children={}}else l=ki(n,r,a,t).pipe((0,I.U)(function(k){var Z,q,Q=k.consumedSegments,Se=k.remainingSegments;return k.matched?{snapshot:new _e(Q,k.parameters,Object.freeze((0,p.Z)({},u.urlTree.queryParams)),u.urlTree.fragment,jn(r),F(r),null!==(Z=null!==(q=r.component)&&void 0!==q?q:r._loadedComponent)&&void 0!==Z?Z:null,r,Ln(r)),consumedSegments:Q,remainingSegments:Se}:null}));return l.pipe((0,$.w)(function(k){var Z;return null===k?Ce(n):(t=null!==(Z=r._injector)&&void 0!==Z?Z:t,u.getChildConfig(t,r,a).pipe((0,$.w)(function(q){var B,Q=q.routes,Se=null!==(B=r._loadedInjector)&&void 0!==B?B:t,fe=k.snapshot,ee=Mn(n,k.consumedSegments,k.remainingSegments,Q),X=ee.segmentGroup,Fe=ee.slicedSegments;if(0===Fe.length&&X.hasChildren())return u.processChildren(Se,Q,X).pipe((0,I.U)(function(at){return null===at?null:[new G(fe,at)]}));if(0===Q.length&&0===Fe.length)return(0,m.of)([new G(fe,[])]);var Ra=F(r)===o;return u.processSegment(Se,Q,X,Fe,Ra?R:o,!0).pipe((0,I.U)(function(at){return[new G(fe,at)]}))})))}))}},{key:"getChildConfig",value:function(t,n,r){var a=this;return n.children?(0,m.of)({routes:n.children,injector:t}):n.loadChildren?void 0!==n._loadedRoutes?(0,m.of)({routes:n._loadedRoutes,injector:n._loadedInjector}):function yi(e,i,t,n){var r=i.canLoad;if(void 0===r||0===r.length)return(0,m.of)(!0);var a=r.map(function(o){var s=ye(o,e);return Y(function ii(e){return e&&Le(e.canLoad)}(s)?s.canLoad(i,t):e.runInContext(function(){return s(i,t)}))});return(0,m.of)(a).pipe(Re(),Un())}(t,n,r).pipe((0,P.z)(function(o){return o?a.configLoader.loadChildren(t,n).pipe((0,M.b)(function(s){n._loadedRoutes=s.routes,n._loadedInjector=s.injector})):function Si(e){return(0,Ee._)(bn(!1,3))}()})):(0,m.of)({routes:[],injector:t})}}]),e}();function Pn(e){var r,i=[],t=new Set,n=(0,T.Z)(e);try{var a=function(){var y=r.value;if(!function Zi(e){var i=e.value.routeConfig;return i&&""===i.path}(y))return i.push(y),"continue";var k,E=i.find(function(Z){return y.value.routeConfig===Z.value.routeConfig});void 0!==E?((k=E.children).push.apply(k,(0,O.Z)(y.children)),t.add(E)):i.push(y)};for(n.s();!(r=n.n()).done;)a()}catch(d){n.e(d)}finally{n.f()}var u,s=(0,T.Z)(t);try{for(s.s();!(u=s.n()).done;){var l=u.value,f=Pn(l.children);i.push(new G(l.value,f))}}catch(d){s.e(d)}finally{s.f()}return i.filter(function(d){return!t.has(d)})}function jn(e){return e.data||{}}function Ln(e){return e.resolve||{}}function Nn(e){return"string"==typeof e.title||null===e.title}function Dt(e){return(0,$.w)(function(i){var t=e(i);return t?(0,_.D)(t).pipe((0,I.U)(function(){return i})):(0,m.of)(i)})}var le=new c.InjectionToken("ROUTES"),Ot=function(){var e=function(){function i(){(0,v.Z)(this,i),this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,c.inject)(c.Compiler)}return(0,g.Z)(i,[{key:"loadComponent",value:function(n){var r=this;if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return(0,m.of)(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);var a=Y(n.loadComponent()).pipe((0,I.U)(xn),(0,M.b)(function(s){r.onLoadEndListener&&r.onLoadEndListener(n),n._loadedComponent=s}),(0,lt.x)(function(){r.componentLoaders.delete(n)})),o=new Nt.c(a,function(){return new ke.x}).pipe((0,xt.x)());return this.componentLoaders.set(n,o),o}},{key:"loadChildren",value:function(n,r){var a=this;if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return(0,m.of)({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);var s=this.loadModuleFactoryOrRoutes(r.loadChildren).pipe((0,I.U)(function(l){var f;return a.onLoadEndListener&&a.onLoadEndListener(r),{routes:(Array.isArray(l)?l:(f=l.create(n).injector).get(le,[],c.InjectFlags.Self|c.InjectFlags.Optional).flat()).map(bt),injector:f}}),(0,lt.x)(function(){a.childrenLoaders.delete(r)})),u=new Nt.c(s,function(){return new ke.x}).pipe((0,xt.x)());return this.childrenLoaders.set(r,u),u}},{key:"loadModuleFactoryOrRoutes",value:function(n){var r=this;return Y(n()).pipe((0,I.U)(xn),(0,P.z)(function(a){return a instanceof c.NgModuleFactory||Array.isArray(a)?(0,m.of)(a):(0,_.D)(r.compiler.compileModuleAsync(a))}))}}]),i}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=c.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:"root"}),e}();function xn(e){return function zi(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}var it=function(){var e=function(){function i(){var t=this;(0,v.Z)(this,i),this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new ke.x,this.configLoader=(0,c.inject)(Ot),this.environmentInjector=(0,c.inject)(c.EnvironmentInjector),this.urlSerializer=(0,c.inject)(ve),this.rootContexts=(0,c.inject)(pe),this.inputBindingEnabled=null!==(0,c.inject)(Je,{optional:!0}),this.navigationId=0,this.afterPreactivation=function(){return(0,m.of)(void 0)},this.rootComponentType=null,this.configLoader.onLoadEndListener=function(o){return t.events.next(new vn(o))},this.configLoader.onLoadStartListener=function(o){return t.events.next(new hn(o))}}return(0,g.Z)(i,[{key:"hasRequestedNavigation",get:function(){return 0!==this.navigationId}},{key:"complete",value:function(){var n;null===(n=this.transitions)||void 0===n||n.complete()}},{key:"handleNavigationRequest",value:function(n){var r,a=++this.navigationId;null===(r=this.transitions)||void 0===r||r.next((0,p.Z)((0,p.Z)((0,p.Z)({},this.transitions.value),n),{},{id:a}))}},{key:"setupNavigations",value:function(n){var r=this;return this.transitions=new A.X({id:0,currentUrlTree:n.currentUrlTree,currentRawUrl:n.currentUrlTree,extractedUrl:n.urlHandlingStrategy.extract(n.currentUrlTree),urlAfterRedirects:n.urlHandlingStrategy.extract(n.currentUrlTree),rawUrl:n.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Oe,restoredState:null,currentSnapshot:n.routerState.snapshot,targetSnapshot:null,currentRouterState:n.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,ne.h)(function(a){return 0!==a.id}),(0,I.U)(function(a){return(0,p.Z)((0,p.Z)({},a),{},{extractedUrl:n.urlHandlingStrategy.extract(a.rawUrl)})}),(0,$.w)(function(a){var o=!1,s=!1;return(0,m.of)(a).pipe((0,M.b)(function(u){r.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,trigger:u.source,extras:u.extras,previousNavigation:r.lastSuccessfulNavigation?(0,p.Z)((0,p.Z)({},r.lastSuccessfulNavigation),{},{previousNavigation:null}):null}}),(0,$.w)(function(u){var l,f=n.browserUrlTree.toString(),d=!n.navigated||u.extractedUrl.toString()!==f||f!==n.currentUrlTree.toString(),y=null!==(l=u.extras.onSameUrlNavigation)&&void 0!==l?l:n.onSameUrlNavigation;if(!d&&"reload"!==y)return r.events.next(new ge(u.id,n.serializeUrl(a.rawUrl),"",0)),n.rawUrlTree=u.rawUrl,u.resolve(null),te.E;if(n.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return zn(u.source)&&(n.browserUrlTree=u.extractedUrl),(0,m.of)(u).pipe((0,$.w)(function(D){var ee,X,Fe=null===(ee=r.transitions)||void 0===ee?void 0:ee.getValue();return r.events.next(new Xe(D.id,r.urlSerializer.serialize(D.extractedUrl),D.source,D.restoredState)),Fe!==(null===(X=r.transitions)||void 0===X?void 0:X.getValue())?te.E:Promise.resolve(D)}),function Mi(e,i,t,n,r,a){return(0,P.z)(function(o){return function Oi(e,i,t,n,r,a){return new Ui(e,i,t,n,r,arguments.length>6&&void 0!==arguments[6]?arguments[6]:"emptyOnly",a).recognize()}(e,i,t,n,o.extractedUrl,r,a).pipe((0,I.U)(function(s){var u=s.state,l=s.tree;return(0,p.Z)((0,p.Z)({},o),{},{targetSnapshot:u,urlAfterRedirects:l})}))})}(r.environmentInjector,r.configLoader,r.rootComponentType,n.config,r.urlSerializer,n.paramsInheritanceStrategy),(0,M.b)(function(D){if(a.targetSnapshot=D.targetSnapshot,a.urlAfterRedirects=D.urlAfterRedirects,r.currentNavigation=(0,p.Z)((0,p.Z)({},r.currentNavigation),{},{finalUrl:D.urlAfterRedirects}),"eager"===n.urlUpdateStrategy){if(!D.extras.skipLocationChange){var ee=n.urlHandlingStrategy.merge(D.urlAfterRedirects,D.rawUrl);n.setBrowserUrl(ee,D)}n.browserUrlTree=D.urlAfterRedirects}var X=new sn(D.id,r.urlSerializer.serialize(D.extractedUrl),r.urlSerializer.serialize(D.urlAfterRedirects),D.targetSnapshot);r.events.next(X)}));if(d&&n.urlHandlingStrategy.shouldProcessUrl(n.rawUrlTree)){var Z=u.extractedUrl,q=u.source,B=u.restoredState,Q=u.extras,Se=new Xe(u.id,r.urlSerializer.serialize(Z),q,B);r.events.next(Se);var fe=Sn(0,r.rootComponentType).snapshot;return a=(0,p.Z)((0,p.Z)({},u),{},{targetSnapshot:fe,urlAfterRedirects:Z,extras:(0,p.Z)((0,p.Z)({},Q),{},{skipLocationChange:!1,replaceUrl:!1})}),(0,m.of)(a)}return r.events.next(new ge(u.id,n.serializeUrl(a.extractedUrl),"",1)),n.rawUrlTree=u.rawUrl,u.resolve(null),te.E}),(0,M.b)(function(u){var l=new cn(u.id,r.urlSerializer.serialize(u.extractedUrl),r.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);r.events.next(l)}),(0,I.U)(function(u){return a=(0,p.Z)((0,p.Z)({},u),{},{guards:Jr(u.targetSnapshot,u.currentSnapshot,r.rootContexts)})}),function li(e,i){return(0,P.z)(function(t){var n=t.targetSnapshot,r=t.currentSnapshot,a=t.guards,o=a.canActivateChecks,s=a.canDeactivateChecks;return 0===s.length&&0===o.length?(0,m.of)((0,p.Z)((0,p.Z)({},t),{},{guardsResult:!0})):function fi(e,i,t,n){return(0,_.D)(e).pipe((0,P.z)(function(r){return function mi(e,i,t,n,r){var a=i&&i.routeConfig?i.routeConfig.canDeactivate:null;if(!a||0===a.length)return(0,m.of)(!0);var o=a.map(function(s){var u,l=null!==(u=Me(i))&&void 0!==u?u:r,f=ye(s,l);return Y(function ui(e){return e&&Le(e.canDeactivate)}(f)?f.canDeactivate(e,i,t,n):l.runInContext(function(){return f(e,i,t,n)})).pipe((0,re.P)())});return(0,m.of)(o).pipe(Re())}(r.component,r.route,t,i,n)}),(0,re.P)(function(r){return!0!==r},!0))}(s,n,r,e).pipe((0,P.z)(function(u){return u&&function ri(e){return"boolean"==typeof e}(u)?function di(e,i,t,n){return(0,_.D)(i).pipe((0,Ie.b)(function(r){return(0,ut.z)(function vi(e,i){return null!==e&&i&&i(new gn(e)),(0,m.of)(!0)}(r.route.parent,n),function hi(e,i){return null!==e&&i&&i(new mn(e)),(0,m.of)(!0)}(r.route,n),function pi(e,i,t){var n=i[i.length-1],r=i.slice(0,i.length-1).reverse().map(function(o){return function ei(e){var i=e.routeConfig?e.routeConfig.canActivateChild:null;return i&&0!==i.length?{node:e,guards:i}:null}(o)}).filter(function(o){return null!==o}),a=r.map(function(o){return(0,Lt.P)(function(){var s=o.guards.map(function(u){var l,f=null!==(l=Me(o.node))&&void 0!==l?l:t,d=ye(u,f);return Y(function oi(e){return e&&Le(e.canActivateChild)}(d)?d.canActivateChild(n,e):f.runInContext(function(){return d(n,e)})).pipe((0,re.P)())});return(0,m.of)(s).pipe(Re())})});return(0,m.of)(a).pipe(Re())}(e,r.path,t),function gi(e,i,t){var n=i.routeConfig?i.routeConfig.canActivate:null;if(!n||0===n.length)return(0,m.of)(!0);var r=n.map(function(a){return(0,Lt.P)(function(){var o,s=null!==(o=Me(i))&&void 0!==o?o:t,u=ye(a,s);return Y(function ai(e){return e&&Le(e.canActivate)}(u)?u.canActivate(i,e):s.runInContext(function(){return u(i,e)})).pipe((0,re.P)())})});return(0,m.of)(r).pipe(Re())}(e,r.route,t))}),(0,re.P)(function(r){return!0!==r},!0))}(n,o,e,i):(0,m.of)(u)}),(0,I.U)(function(u){return(0,p.Z)((0,p.Z)({},t),{},{guardsResult:u})}))})}(r.environmentInjector,function(u){return r.events.next(u)}),(0,M.b)(function(u){if(a.guardsResult=u.guardsResult,se(u.guardsResult))throw In(0,u.guardsResult);var l=new ln(u.id,r.urlSerializer.serialize(u.extractedUrl),r.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);r.events.next(l)}),(0,ne.h)(function(u){return!!u.guardsResult||(n.restoreHistory(u),r.cancelNavigationTransition(u,"",3),!1)}),Dt(function(u){if(u.guards.canActivateChecks.length)return(0,m.of)(u).pipe((0,M.b)(function(l){var f=new fn(l.id,r.urlSerializer.serialize(l.extractedUrl),r.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);r.events.next(f)}),(0,$.w)(function(l){var f=!1;return(0,m.of)(l).pipe(function Pi(e,i){return(0,P.z)(function(t){var n=t.targetSnapshot,r=t.guards.canActivateChecks;if(!r.length)return(0,m.of)(t);var a=0;return(0,_.D)(r).pipe((0,Ie.b)(function(o){return function ji(e,i,t,n){var r=e.routeConfig,a=e._resolve;return void 0!==r?.title&&!Nn(r)&&(a[be]=r.title),function Li(e,i,t,n){var r=function Ni(e){return[].concat((0,O.Z)(Object.keys(e)),(0,O.Z)(Object.getOwnPropertySymbols(e)))}(e);if(0===r.length)return(0,m.of)({});var a={};return(0,_.D)(r).pipe((0,P.z)(function(o){return function xi(e,i,t,n){var r,a=null!==(r=Me(i))&&void 0!==r?r:n,o=ye(e,a);return Y(o.resolve?o.resolve(i,t):a.runInContext(function(){return o(i,t)}))}(e[o],i,t,n).pipe((0,re.P)(),(0,M.b)(function(s){a[o]=s}))}),ct(1),(0,dr.h)(a),(0,ie.K)(function(o){return On(o)?te.E:(0,Ee._)(o)}))}(a,e,i,n).pipe((0,I.U)(function(o){return e._resolvedData=o,e.data=En(e,t).resolve,r&&Nn(r)&&(e.data[be]=r.title),null}))}(o.route,n,e,i)}),(0,M.b)(function(){return a++}),ct(1),(0,P.z)(function(o){return a===r.length?(0,m.of)(t):te.E}))})}(n.paramsInheritanceStrategy,r.environmentInjector),(0,M.b)({next:function(){return f=!0},complete:function(){f||(n.restoreHistory(l),r.cancelNavigationTransition(l,"",2))}}))}),(0,M.b)(function(l){var f=new dn(l.id,r.urlSerializer.serialize(l.extractedUrl),r.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);r.events.next(f)}))}),Dt(function(u){return(0,U.a)(function f(d){var y,E=[];null!==(y=d.routeConfig)&&void 0!==y&&y.loadComponent&&!d.routeConfig._loadedComponent&&E.push(r.configLoader.loadComponent(d.routeConfig).pipe((0,M.b)(function(B){d.component=B}),(0,I.U)(function(){})));var Z,k=(0,T.Z)(d.children);try{for(k.s();!(Z=k.n()).done;)E.push.apply(E,(0,O.Z)(f(Z.value)))}catch(B){k.e(B)}finally{k.f()}return E}(u.targetSnapshot.root)).pipe((0,st.d)(),(0,Ae.q)(1))}),Dt(function(){return r.afterPreactivation()}),(0,I.U)(function(u){var l=function Wr(e,i,t){var n=Ze(e,i._root,t?t._root:void 0);return new yt(n,i)}(n.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return a=(0,p.Z)((0,p.Z)({},u),{},{targetRouterState:l})}),(0,M.b)(function(u){n.currentUrlTree=u.urlAfterRedirects,n.rawUrlTree=n.urlHandlingStrategy.merge(u.urlAfterRedirects,u.rawUrl),n.routerState=u.targetRouterState,"deferred"===n.urlUpdateStrategy&&(u.extras.skipLocationChange||n.setBrowserUrl(n.rawUrlTree,u),n.browserUrlTree=u.urlAfterRedirects)}),function(i,t,n,r){return(0,I.U)(function(a){return new Yr(t,a.targetRouterState,a.currentRouterState,n,r).activate(i),a})}(r.rootContexts,n.routeReuseStrategy,function(u){return r.events.next(u)},r.inputBindingEnabled),(0,Ae.q)(1),(0,M.b)({next:function(l){var f;o=!0,r.lastSuccessfulNavigation=r.currentNavigation,n.navigated=!0,r.events.next(new J(l.id,r.urlSerializer.serialize(l.extractedUrl),r.urlSerializer.serialize(n.currentUrlTree))),null===(f=n.titleStrategy)||void 0===f||f.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:function(){o=!0}}),(0,lt.x)(function(){var u;o||s||r.cancelNavigationTransition(a,"",1),(null===(u=r.currentNavigation)||void 0===u?void 0:u.id)===a.id&&(r.currentNavigation=null)}),(0,ie.K)(function(u){if(s=!0,wn(u)){Tn(u)||(n.navigated=!0,n.restoreHistory(a,!0));var l=new Ue(a.id,r.urlSerializer.serialize(a.extractedUrl),u.message,u.cancellationCode);if(r.events.next(l),Tn(u)){var f=n.urlHandlingStrategy.merge(u.url,n.rawUrlTree),d={skipLocationChange:a.extras.skipLocationChange,replaceUrl:"eager"===n.urlUpdateStrategy||zn(a.source)};n.scheduleNavigation(f,Oe,null,d,{resolve:a.resolve,reject:a.reject,promise:a.promise})}else a.resolve(!1)}else{var y;n.restoreHistory(a,!0);var E=new Ye(a.id,r.urlSerializer.serialize(a.extractedUrl),u,null!==(y=a.targetSnapshot)&&void 0!==y?y:void 0);r.events.next(E);try{a.resolve(n.errorHandler(u))}catch(k){a.reject(k)}}return te.E}))}))}},{key:"cancelNavigationTransition",value:function(n,r,a){var o=new Ue(n.id,this.urlSerializer.serialize(n.extractedUrl),r,a);this.events.next(o),n.resolve(!1)}}]),i}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=c.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:"root"}),e}();function zn(e){return e!==Oe}var Ut=function(){var e=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"buildTitle",value:function(n){for(var r,a=n.root;void 0!==a;){var o;r=null!==(o=this.getResolvedTitleForRoute(a))&&void 0!==o?o:r,a=a.children.find(function(s){return s.outlet===R})}return r}},{key:"getResolvedTitleForRoute",value:function(n){return n.data[be]}}]),i}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=c.\u0275\u0275defineInjectable({token:e,factory:function(){return(0,c.inject)(Fn)},providedIn:"root"}),e}(),Fn=function(){var e=function(i){(0,b.Z)(n,i);var t=(0,C.Z)(n);function n(r){var a;return(0,v.Z)(this,n),(a=t.call(this)).title=r,a}return(0,g.Z)(n,[{key:"updateTitle",value:function(a){var o=this.buildTitle(a);void 0!==o&&this.title.setTitle(o)}}]),n}(Ut);return e.\u0275fac=function(t){return new(t||e)(c.\u0275\u0275inject(hr.Title))},e.\u0275prov=c.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),Bn=function(){var e=(0,g.Z)(function i(){(0,v.Z)(this,i)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=c.\u0275\u0275defineInjectable({token:e,factory:function(){return(0,c.inject)(Fi)},providedIn:"root"}),e}(),Wn=function(){function e(){(0,v.Z)(this,e)}return(0,g.Z)(e,[{key:"shouldDetach",value:function(t){return!1}},{key:"store",value:function(t,n){}},{key:"shouldAttach",value:function(t){return!1}},{key:"retrieve",value:function(t){return null}},{key:"shouldReuseRoute",value:function(t,n){return t.routeConfig===n.routeConfig}}]),e}(),Fi=function(){var e=function(i){(0,b.Z)(n,i);var t=(0,C.Z)(n);function n(){return(0,v.Z)(this,n),t.apply(this,arguments)}return(0,g.Z)(n)}(Wn);return e.\u0275fac=function(){var i;return function(n){return(i||(i=c.\u0275\u0275getInheritedFactory(e)))(n||e)}}(),e.\u0275prov=c.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),Ne=new c.InjectionToken("",{providedIn:"root",factory:function(){return{}}}),Hn=function(){var e=(0,g.Z)(function i(){(0,v.Z)(this,i)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=c.\u0275\u0275defineInjectable({token:e,factory:function(){return(0,c.inject)(Bi)},providedIn:"root"}),e}(),Bi=function(){var e=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"shouldProcessUrl",value:function(n){return!0}},{key:"extract",value:function(n){return n}},{key:"merge",value:function(n,r){return n}}]),i}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=c.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),j=function(){return(j=j||{})[j.COMPLETE=0]="COMPLETE",j[j.FAILED=1]="FAILED",j[j.REDIRECTING=2]="REDIRECTING",j}();function _t(e,i){e.events.pipe((0,ne.h)(function(t){return t instanceof J||t instanceof Ue||t instanceof Ye||t instanceof ge}),(0,I.U)(function(t){return t instanceof J||t instanceof ge?j.COMPLETE:t instanceof Ue&&(0===t.code||1===t.code)?j.REDIRECTING:j.FAILED}),(0,ne.h)(function(t){return t!==j.REDIRECTING}),(0,Ae.q)(1)).subscribe(function(){i()})}function Wi(e){throw e}function Hi(e,i,t){return i.parse("/")}var Vi={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},$i={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},L=function(){var e=function(){function i(){var t,n,r=this;(0,v.Z)(this,i),this.disposed=!1,this.currentPageId=0,this.console=(0,c.inject)(c.\u0275Console),this.isNgZoneEnabled=!1,this.options=(0,c.inject)(Ne,{optional:!0})||{},this.pendingTasks=(0,c.inject)(c.\u0275InitialRenderPendingTasks),this.errorHandler=this.options.errorHandler||Wi,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Hi,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,c.inject)(Hn),this.routeReuseStrategy=(0,c.inject)(Bn),this.titleStrategy=(0,c.inject)(Ut),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=null!==(t=null===(n=(0,c.inject)(le,{optional:!0}))||void 0===n?void 0:n.flat())&&void 0!==t?t:[],this.navigationTransitions=(0,c.inject)(it),this.urlSerializer=(0,c.inject)(ve),this.location=(0,c.inject)(N.Location),this.componentInputBindingEnabled=!!(0,c.inject)(Je,{optional:!0}),this.isNgZoneEnabled=(0,c.inject)(c.NgZone)instanceof c.NgZone&&c.NgZone.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new oe,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Sn(0,null),this.navigationTransitions.setupNavigations(this).subscribe(function(a){var o;r.lastSuccessfulId=a.id,r.currentPageId=null!==(o=r.browserPageId)&&void 0!==o?o:0},function(a){r.console.warn("Unhandled Navigation Error: ".concat(a))})}return(0,g.Z)(i,[{key:"navigationId",get:function(){return this.navigationTransitions.navigationId}},{key:"browserPageId",get:function(){var n;if("computed"===this.canceledNavigationResolution)return null===(n=this.location.getState())||void 0===n?void 0:n.\u0275routerPageId}},{key:"events",get:function(){return this.navigationTransitions.events}},{key:"resetRootComponentType",value:function(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}},{key:"initialNavigation",value:function(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){var n=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Oe,n)}}},{key:"setUpLocationChangeListener",value:function(){var n=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(r){var a="popstate"===r.type?"popstate":"hashchange";"popstate"===a&&setTimeout(function(){n.navigateToSyncWithBrowser(r.url,a,r.state)},0)}))}},{key:"navigateToSyncWithBrowser",value:function(n,r,a){var o={replaceUrl:!0},s=null!=a&&a.navigationId?a:null;if(a){var u=(0,p.Z)({},a);delete u.navigationId,delete u.\u0275routerPageId,0!==Object.keys(u).length&&(o.state=u)}var l=this.parseUrl(n);this.scheduleNavigation(l,r,s,o)}},{key:"url",get:function(){return this.serializeUrl(this.currentUrlTree)}},{key:"getCurrentNavigation",value:function(){return this.navigationTransitions.currentNavigation}},{key:"lastSuccessfulNavigation",get:function(){return this.navigationTransitions.lastSuccessfulNavigation}},{key:"resetConfig",value:function(n){this.config=n.map(bt),this.navigated=!1,this.lastSuccessfulId=-1}},{key:"ngOnDestroy",value:function(){this.dispose()}},{key:"dispose",value:function(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}},{key:"createUrlTree",value:function(n){var y,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=r.relativeTo,o=r.queryParams,f=r.preserveFragment?this.currentUrlTree.fragment:r.fragment,d=null;switch(r.queryParamsHandling){case"merge":d=(0,p.Z)((0,p.Z)({},this.currentUrlTree.queryParams),o);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}null!==d&&(d=this.removeEmptyProps(d));try{y=en(a?a.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof n[0]||!n[0].startsWith("/"))&&(n=[]),y=this.currentUrlTree.root}return tn(y,n,d,f??null)}},{key:"navigateByUrl",value:function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1},a=se(n)?n:this.parseUrl(n),o=this.urlHandlingStrategy.merge(a,this.rawUrlTree);return this.scheduleNavigation(o,Oe,null,r)}},{key:"navigate",value:function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};return function Gi(e){for(var i=0;i<e.length;i++)if(null==e[i])throw new c.\u0275RuntimeError(4008,!1)}(n),this.navigateByUrl(this.createUrlTree(n,r),r)}},{key:"serializeUrl",value:function(n){return this.urlSerializer.serialize(n)}},{key:"parseUrl",value:function(n){var r;try{r=this.urlSerializer.parse(n)}catch(a){r=this.malformedUriErrorHandler(a,this.urlSerializer,n)}return r}},{key:"isActive",value:function(n,r){var a;if(a=!0===r?(0,p.Z)({},Vi):!1===r?(0,p.Z)({},$i):r,se(n))return Ht(this.currentUrlTree,n,a);var o=this.parseUrl(n);return Ht(this.currentUrlTree,o,a)}},{key:"removeEmptyProps",value:function(n){return Object.keys(n).reduce(function(r,a){var o=n[a];return null!=o&&(r[a]=o),r},{})}},{key:"scheduleNavigation",value:function(n,r,a,o,s){var l,f,d,u=this;if(this.disposed)return Promise.resolve(!1);s?(l=s.resolve,f=s.reject,d=s.promise):d=new Promise(function(E,k){l=E,f=k});var y=this.pendingTasks.add();return _t(this,function(){Promise.resolve().then(function(){return u.pendingTasks.remove(y)})}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:a,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:o,resolve:l,reject:f,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(function(E){return Promise.reject(E)})}},{key:"setBrowserUrl",value:function(n,r){var a=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(a)||r.extras.replaceUrl){var o=this.browserPageId,s=(0,p.Z)((0,p.Z)({},r.extras.state),this.generateNgRouterState(r.id,o));this.location.replaceState(a,"",s)}else{var u,l=(0,p.Z)((0,p.Z)({},r.extras.state),this.generateNgRouterState(r.id,(null!==(u=this.browserPageId)&&void 0!==u?u:0)+1));this.location.go(a,"",l)}}},{key:"restoreHistory",value:function(n){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if("computed"===this.canceledNavigationResolution){var a,o,s=null!==(a=this.browserPageId)&&void 0!==a?a:this.currentPageId,u=this.currentPageId-s;0!==u?this.location.historyGo(u):this.currentUrlTree===(null===(o=this.getCurrentNavigation())||void 0===o?void 0:o.finalUrl)&&0===u&&(this.resetState(n),this.browserUrlTree=n.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}},{key:"resetState",value:function(n){this.routerState=n.currentRouterState,this.currentUrlTree=n.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.rawUrl)}},{key:"resetUrlToCurrentUrlTree",value:function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}},{key:"generateNgRouterState",value:function(n,r){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}}]),i}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=c.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),xe=function(){var e=function(){function i(t,n,r,a,o,s){var u,l=this;(0,v.Z)(this,i),this.router=t,this.route=n,this.tabIndexAttribute=r,this.renderer=a,this.el=o,this.locationStrategy=s,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new ke.x;var f=null===(u=o.nativeElement.tagName)||void 0===u?void 0:u.toLowerCase();this.isAnchorElement="a"===f||"area"===f,this.isAnchorElement?this.subscription=t.events.subscribe(function(d){d instanceof J&&l.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}return(0,g.Z)(i,[{key:"preserveFragment",get:function(){return this._preserveFragment},set:function(n){this._preserveFragment=(0,c.\u0275coerceToBoolean)(n)}},{key:"skipLocationChange",get:function(){return this._skipLocationChange},set:function(n){this._skipLocationChange=(0,c.\u0275coerceToBoolean)(n)}},{key:"replaceUrl",get:function(){return this._replaceUrl},set:function(n){this._replaceUrl=(0,c.\u0275coerceToBoolean)(n)}},{key:"setTabIndexIfNotOnNativeEl",value:function(n){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}},{key:"ngOnChanges",value:function(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}},{key:"routerLink",set:function(n){null!=n?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}},{key:"onClick",value:function(n,r,a,o,s){return!!(null===this.urlTree||this.isAnchorElement&&(0!==n||r||a||o||s||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}},{key:"ngOnDestroy",value:function(){var n;null===(n=this.subscription)||void 0===n||n.unsubscribe()}},{key:"updateHref",value:function(){var n;this.href=null!==this.urlTree&&this.locationStrategy?null===(n=this.locationStrategy)||void 0===n?void 0:n.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;var r=null===this.href?null:(0,c.\u0275\u0275sanitizeUrlOrResourceUrl)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}},{key:"applyAttributeValue",value:function(n,r){var a=this.renderer,o=this.el.nativeElement;null!==r?a.setAttribute(o,n,r):a.removeAttribute(o,n)}},{key:"urlTree",get:function(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}]),i}();return e.\u0275fac=function(t){return new(t||e)(c.\u0275\u0275directiveInject(L),c.\u0275\u0275directiveInject(ce),c.\u0275\u0275injectAttribute("tabindex"),c.\u0275\u0275directiveInject(c.Renderer2),c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(N.LocationStrategy))},e.\u0275dir=c.\u0275\u0275defineDirective({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(t,n){1&t&&c.\u0275\u0275listener("click",function(a){return n.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),2&t&&c.\u0275\u0275attribute("target",n.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[c.\u0275\u0275NgOnChangesFeature]}),e}(),Vn=function(){var e=function(){function i(t,n,r,a,o){var s=this;(0,v.Z)(this,i),this.router=t,this.element=n,this.renderer=r,this.cdr=a,this.link=o,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new c.EventEmitter,this.routerEventsSubscription=t.events.subscribe(function(u){u instanceof J&&s.update()})}return(0,g.Z)(i,[{key:"isActive",get:function(){return this._isActive}},{key:"ngAfterContentInit",value:function(){var n=this;(0,m.of)(this.links.changes,(0,m.of)(null)).pipe((0,We.J)()).subscribe(function(r){n.update(),n.subscribeToEachLinkOnChanges()})}},{key:"subscribeToEachLinkOnChanges",value:function(){var n,r=this;null===(n=this.linkInputChangesSubscription)||void 0===n||n.unsubscribe();var a=[].concat((0,O.Z)(this.links.toArray()),[this.link]).filter(function(o){return!!o}).map(function(o){return o.onChanges});this.linkInputChangesSubscription=(0,_.D)(a).pipe((0,We.J)()).subscribe(function(o){r._isActive!==r.isLinkActive(r.router)(o)&&r.update()})}},{key:"routerLinkActive",set:function(n){var r=Array.isArray(n)?n:n.split(" ");this.classes=r.filter(function(a){return!!a})}},{key:"ngOnChanges",value:function(n){this.update()}},{key:"ngOnDestroy",value:function(){var n;this.routerEventsSubscription.unsubscribe(),null===(n=this.linkInputChangesSubscription)||void 0===n||n.unsubscribe()}},{key:"update",value:function(){var n=this;!this.links||!this.router.navigated||Promise.resolve().then(function(){var r=n.hasActiveLinks();n._isActive!==r&&(n._isActive=r,n.cdr.markForCheck(),n.classes.forEach(function(a){r?n.renderer.addClass(n.element.nativeElement,a):n.renderer.removeClass(n.element.nativeElement,a)}),r&&void 0!==n.ariaCurrentWhenActive?n.renderer.setAttribute(n.element.nativeElement,"aria-current",n.ariaCurrentWhenActive.toString()):n.renderer.removeAttribute(n.element.nativeElement,"aria-current"),n.isActiveChange.emit(r))})}},{key:"isLinkActive",value:function(n){var r=function Ki(e){return!!e.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return function(a){return!!a.urlTree&&n.isActive(a.urlTree,r)}}},{key:"hasActiveLinks",value:function(){var n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}}]),i}();return e.\u0275fac=function(t){return new(t||e)(c.\u0275\u0275directiveInject(L),c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(c.Renderer2),c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(xe,8))},e.\u0275dir=c.\u0275\u0275defineDirective({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(t,n,r){var a;1&t&&c.\u0275\u0275contentQuery(r,xe,5),2&t&&c.\u0275\u0275queryRefresh(a=c.\u0275\u0275loadQuery())&&(n.links=a)},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[c.\u0275\u0275NgOnChangesFeature]}),e}(),Zt=(0,g.Z)(function e(){(0,v.Z)(this,e)}),qi=function(){var e=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"preload",value:function(n,r){return r().pipe((0,ie.K)(function(){return(0,m.of)(null)}))}}]),i}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=c.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),Qi=function(){var e=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"preload",value:function(n,r){return(0,m.of)(null)}}]),i}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=c.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),$n=function(){var e=function(){function i(t,n,r,a,o){(0,v.Z)(this,i),this.router=t,this.injector=r,this.preloadingStrategy=a,this.loader=o}return(0,g.Z)(i,[{key:"setUpPreloading",value:function(){var n=this;this.subscription=this.router.events.pipe((0,ne.h)(function(r){return r instanceof J}),(0,Ie.b)(function(){return n.preload()})).subscribe(function(){})}},{key:"preload",value:function(){return this.processRoutes(this.injector,this.router.config)}},{key:"ngOnDestroy",value:function(){this.subscription&&this.subscription.unsubscribe()}},{key:"processRoutes",value:function(n,r){var s,a=[],o=(0,T.Z)(r);try{for(o.s();!(s=o.n()).done;){var u,l,f=s.value;f.providers&&!f._injector&&(f._injector=(0,c.createEnvironmentInjector)(f.providers,n,"Route: ".concat(f.path)));var E,d=null!==(u=f._injector)&&void 0!==u?u:n,y=null!==(l=f._loadedInjector)&&void 0!==l?l:d;(f.loadChildren&&!f._loadedRoutes&&void 0===f.canLoad||f.loadComponent&&!f._loadedComponent)&&a.push(this.preloadConfig(d,f)),(f.children||f._loadedRoutes)&&a.push(this.processRoutes(y,null!==(E=f.children)&&void 0!==E?E:f._loadedRoutes))}}catch(k){o.e(k)}finally{o.f()}return(0,_.D)(a).pipe((0,We.J)())}},{key:"preloadConfig",value:function(n,r){var a=this;return this.preloadingStrategy.preload(r,function(){var s=(r.loadChildren&&void 0===r.canLoad?a.loader.loadChildren(n,r):(0,m.of)(null)).pipe((0,P.z)(function(l){var f;return null===l?(0,m.of)(void 0):(r._loadedRoutes=l.routes,r._loadedInjector=l.injector,a.processRoutes(null!==(f=l.injector)&&void 0!==f?f:n,l.routes))}));if(r.loadComponent&&!r._loadedComponent){var u=a.loader.loadComponent(r);return(0,_.D)([s,u]).pipe((0,We.J)())}return s})}}]),i}();return e.\u0275fac=function(t){return new(t||e)(c.\u0275\u0275inject(L),c.\u0275\u0275inject(c.Compiler),c.\u0275\u0275inject(c.EnvironmentInjector),c.\u0275\u0275inject(Zt),c.\u0275\u0275inject(Ot))},e.\u0275prov=c.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),Mt=new c.InjectionToken(""),Gn=function(){var e=function(){function i(t,n,r,a){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};(0,v.Z)(this,i),this.urlSerializer=t,this.transitions=n,this.viewportScroller=r,this.zone=a,this.options=o,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},o.scrollPositionRestoration=o.scrollPositionRestoration||"disabled",o.anchorScrolling=o.anchorScrolling||"disabled"}return(0,g.Z)(i,[{key:"init",value:function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}},{key:"createScrollEvents",value:function(){var n=this;return this.transitions.events.subscribe(function(r){r instanceof Xe?(n.store[n.lastId]=n.viewportScroller.getScrollPosition(),n.lastSource=r.navigationTrigger,n.restoredId=r.restoredState?r.restoredState.navigationId:0):r instanceof J?(n.lastId=r.id,n.scheduleScrollEvent(r,n.urlSerializer.parse(r.urlAfterRedirects).fragment)):r instanceof ge&&0===r.code&&(n.lastSource=void 0,n.restoredId=0,n.scheduleScrollEvent(r,n.urlSerializer.parse(r.url).fragment))})}},{key:"consumeScrollEvents",value:function(){var n=this;return this.transitions.events.subscribe(function(r){r instanceof gt&&(r.position?"top"===n.options.scrollPositionRestoration?n.viewportScroller.scrollToPosition([0,0]):"enabled"===n.options.scrollPositionRestoration&&n.viewportScroller.scrollToPosition(r.position):r.anchor&&"enabled"===n.options.anchorScrolling?n.viewportScroller.scrollToAnchor(r.anchor):"disabled"!==n.options.scrollPositionRestoration&&n.viewportScroller.scrollToPosition([0,0]))})}},{key:"scheduleScrollEvent",value:function(n,r){var a=this;this.zone.runOutsideAngular(function(){setTimeout(function(){a.zone.run(function(){a.transitions.events.next(new gt(n,"popstate"===a.lastSource?a.store[a.restoredId]:null,r))})},0)})}},{key:"ngOnDestroy",value:function(){var n,r;null===(n=this.routerEventsSubscription)||void 0===n||n.unsubscribe(),null===(r=this.scrollEventsSubscription)||void 0===r||r.unsubscribe()}}]),i}();return e.\u0275fac=function(t){c.\u0275\u0275invalidFactory()},e.\u0275prov=c.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac}),e}();function Xi(e){for(var i=arguments.length,t=new Array(i>1?i-1:0),n=1;n<i;n++)t[n-1]=arguments[n];return(0,c.makeEnvironmentProviders)([{provide:le,multi:!0,useValue:e},[],{provide:ce,useFactory:Kn,deps:[L]},{provide:c.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:qn},t.map(function(r){return r.\u0275providers})])}function Kn(e){return e.routerState.root}function K(e,i){return{\u0275kind:e,\u0275providers:i}}function Ji(e){return[{provide:le,multi:!0,useValue:e},[]]}function ea(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return K(4,[{provide:Mt,useFactory:function(){var n=(0,c.inject)(N.ViewportScroller),r=(0,c.inject)(c.NgZone),a=(0,c.inject)(it),o=(0,c.inject)(ve);return new Gn(o,a,n,r,e)}}])}function qn(){var e=(0,c.inject)(c.Injector);return function(i){var t,n,r=e.get(c.ApplicationRef);if(i===r.components[0]){var a=e.get(L),o=e.get(Qn);1===e.get(Pt)&&a.initialNavigation(),null===(t=e.get(Jn,null,c.InjectFlags.Optional))||void 0===t||t.setUpPreloading(),null===(n=e.get(Mt,null,c.InjectFlags.Optional))||void 0===n||n.init(),a.resetRootComponentType(r.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}}var Qn=new c.InjectionToken("",{factory:function(){return new ke.x}}),Pt=new c.InjectionToken("",{providedIn:"root",factory:function(){return 1}});function Xn(){return K(2,[{provide:Pt,useValue:0},{provide:c.APP_INITIALIZER,multi:!0,deps:[c.Injector],useFactory:function(t){var n=t.get(N.LOCATION_INITIALIZED,Promise.resolve());return function(){return n.then(function(){return new Promise(function(r){var a=t.get(L),o=t.get(Qn);_t(a,function(){r(!0)}),t.get(it).afterPreactivation=function(){return r(!0),o.closed?(0,m.of)(void 0):o},a.initialNavigation()})})}}}])}function Yn(){return K(3,[{provide:c.APP_INITIALIZER,multi:!0,useFactory:function(){var t=(0,c.inject)(L);return function(){t.setUpLocationChangeListener()}}},{provide:Pt,useValue:2}])}function ta(){return K(1,[])}var Jn=new c.InjectionToken("");function er(e){return K(0,[{provide:Jn,useExisting:$n},{provide:Zt,useExisting:e}])}function na(e){return K(5,[{provide:Ne,useValue:e}])}function ra(){return K(5,[{provide:N.LocationStrategy,useClass:N.HashLocationStrategy}])}function ia(e){return K(7,[{provide:c.ENVIRONMENT_INITIALIZER,multi:!0,useValue:function(){var n=(0,c.inject)(c.EnvironmentInjector);(0,c.inject)(L).events.subscribe(function(r){r instanceof Ye&&n.runInContext(function(){return e(r)})})}}])}function tr(){return K(8,[An,{provide:Je,useExisting:An}])}var nr=new c.InjectionToken("ROUTER_FORROOT_GUARD"),rr=[N.Location,{provide:ve,useClass:Ve},L,pe,{provide:ce,useFactory:Kn,deps:[L]},Ot,[]];function aa(){return new c.NgProbeToken("Router",L)}var oa=function(){var e=function(){function i(t){(0,v.Z)(this,i)}return(0,g.Z)(i,null,[{key:"forRoot",value:function(n,r){return{ngModule:i,providers:[rr,[],{provide:le,multi:!0,useValue:n},{provide:nr,useFactory:la,deps:[[L,new c.Optional,new c.SkipSelf]]},{provide:Ne,useValue:r||{}},null!=r&&r.useHash?{provide:N.LocationStrategy,useClass:N.HashLocationStrategy}:{provide:N.LocationStrategy,useClass:N.PathLocationStrategy},{provide:Mt,useFactory:function(){var i=(0,c.inject)(N.ViewportScroller),t=(0,c.inject)(c.NgZone),n=(0,c.inject)(Ne),r=(0,c.inject)(it),a=(0,c.inject)(ve);return n.scrollOffset&&i.setOffset(n.scrollOffset),new Gn(a,r,i,t,n)}},null!=r&&r.preloadingStrategy?er(r.preloadingStrategy).\u0275providers:[],{provide:c.NgProbeToken,multi:!0,useFactory:aa},null!=r&&r.initialNavigation?fa(r):[],null!=r&&r.bindToComponentInputs?tr().\u0275providers:[],[{provide:jt,useFactory:qn},{provide:c.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:jt}]]}}},{key:"forChild",value:function(n){return{ngModule:i,providers:[{provide:le,multi:!0,useValue:n}]}}}]),i}();return e.\u0275fac=function(t){return new(t||e)(c.\u0275\u0275inject(nr,8))},e.\u0275mod=c.\u0275\u0275defineNgModule({type:e}),e.\u0275inj=c.\u0275\u0275defineInjector({}),e}();function la(e){return"guarded"}function fa(e){return["disabled"===e.initialNavigation?Yn().\u0275providers:[],"enabledBlocking"===e.initialNavigation?Xn().\u0275providers:[]]}var jt=new c.InjectionToken("");function ha(e){return e.map(function(i){return function(){var t;return(t=(0,c.inject)(i)).canMatch.apply(t,arguments)}})}function va(e){return e.map(function(i){return function(){var t;return(t=(0,c.inject)(i)).canActivate.apply(t,arguments)}})}function ga(e){return e.map(function(i){return function(){var t;return(t=(0,c.inject)(i)).canActivateChild.apply(t,arguments)}})}function pa(e){return e.map(function(i){return function(){var t;return(t=(0,c.inject)(i)).canDeactivate.apply(t,arguments)}})}function ma(e){return function(){var i;return(i=(0,c.inject)(e)).resolve.apply(i,arguments)}}var ya=new c.Version("16.0.5")}}]); +//# sourceMappingURL=4843.9cc79487b7ed3c03.js.map \ No newline at end of file diff --git a/4843.9cc79487b7ed3c03.js.map b/4843.9cc79487b7ed3c03.js.map new file mode 100644 index 0000000..1512cce --- /dev/null +++ b/4843.9cc79487b7ed3c03.js.map @@ -0,0 +1 @@ +{"version":3,"file":"4843.9cc79487b7ed3c03.js","mappings":"2MAKaA,EAAqB,SAAAC,IAAAC,OAAAF,EAAAC,GAAA,IAAAE,MAAAC,KAAAJ,GAC9B,SAAAA,EAAYK,EAAQC,GAAgB,IAAAC,EAAAC,cAAAC,KAAAT,IAChCO,EAAAJ,GAAAO,KAAAD,OACKJ,OAASA,EACdE,EAAKD,eAAiBA,EACtBC,EAAKI,SAAW,KAChBJ,EAAKK,UAAY,EACjBL,EAAKM,YAAc,QACfC,KAAQT,KACRE,EAAKQ,KAAOV,EAAOU,MACtBR,CACL,CAACS,cAAAhB,EAAA,EAAAiB,IAAA,aAAAC,MACD,SAAWC,GACP,OAAOV,KAAKW,aAAaC,UAAUF,EACvC,GAAC,CAAAF,IAAA,aAAAC,MACD,WACI,IAAMI,EAAUb,KAAKE,SACrB,QAAKW,GAAWA,EAAQC,aACpBd,KAAKE,SAAWF,KAAKH,kBAElBG,KAAKE,QAChB,GAAC,CAAAM,IAAA,YAAAC,MACD,WACIT,KAAKG,UAAY,EACjB,IAAQC,EAAgBJ,KAAhBI,YACRJ,KAAKE,SAAWF,KAAKI,YAAc,KACuBA,GAAYW,aAC1E,GAAC,CAAAP,IAA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,EAAA,OAAeA,KAAAhyB,UAAO+xB,IAAUjkB,SAAQiD,MAAAihB,EAAArnC,UAAW,GACxF,CAUA,SAASsnC,GAAiBtkB,GACtB,OAAOA,EAAU7gB,IAAI,SAAAilC,GAAQ,OAAI,eAAAG,EAAA,OAAeA,KAAAlyB,UAAO+xB,IAAU9U,YAAWlM,MAAAmhB,EAAAvnC,UAAW,GAC3F,CAUA,SAASwnC,GAAsBxkB,GAC3B,OAAOA,EAAU7gB,IAAI,SAAAilC,GAAQ,OAAI,eAAAK,EAAA,OAAeA,KAAApyB,UAAO+xB,IAAUtV,iBAAgB1L,MAAAqhB,EAAAznC,UAAW,GAChG,CAUA,SAAS0nC,GAAmB1kB,GACxB,OAAOA,EAAU7gB,IAAI,SAAAilC,GAAQ,OAAI,eAAAO,EAAA,OAAeA,KAAAtyB,UAAO+xB,IAAUpW,cAAa5K,MAAAuhB,EAAA3nC,UAAW,GAC7F,CAUA,SAAS4nC,GAAaR,GAClB,OAAO,eAAAS,EAAA,OAAeA,KAAAxyB,UAAO+xB,IAAUppC,QAAOooB,MAAAyhB,EAAA7nC,UAAW,CAC7D,CAUA,IAAM8nC,GAAU,IAAIC,UAAQ","names":["ConnectableObservable","_Observable","_inherits","_super","_createSuper","source","subjectFactory","_this","_classCallCheck","this","call","_subject","_refCount","_connection","hasLift","lift","_createClass","key","value","subscriber","getSubject","subscribe","subject","isStopped","unsubscribe","_this2","connection","Subscription","add","createOperatorSubscriber","undefined","_teardown","complete","err","error","closed","higherOrderRefCount","Observable","finalize","callback","operate","refCount","refCounter","sharedConnection","conn","connect","isObservable","obj","isFunction","takeLast","count","EMPTY","buffer","push","length","shift","_step","_iterator","_createForOfIteratorHelper","s","n","done","next","e","f","PRIMARY_OUTLET","RouteTitleKey","Symbol","ParamsAsMap","params","name","Object","prototype","hasOwnProperty","has","v","Array","isArray","get","keys","convertToParamMap","defaultUrlMatcher","segments","segmentGroup","route","parts","path","split","pathMatch","hasChildren","posParams","index","part","segment","startsWith","substring","consumed","slice","shallowEqual","a","b","k1","k2","i","equalArraysOrString","aSorted","_toConsumableArray","sort","bSorted","every","val","last","wrapIntoObservable","ɵisPromise","from","Promise","resolve","of","pathCompareMap","exact","equalSegmentGroups","container","containee","matrixParams","equalPath","matrixParamsMatch","numberOfChildren","c","children","subset","containsSegmentGroup","paramCompareMap","equalParams","containsParams","ignored","containsTree","options","paths","root","queryParams","fragment","containsSegmentGroupHelper","containeePaths","current","containerPaths","containeeSegment","parameters","UrlTree","arguments","UrlSegmentGroup","_queryParamMap","DEFAULT_SERIALIZER","serialize","parent","values","forEach","serializePaths","UrlSegment","_parameterMap","serializePath","as","bs","UrlSerializer","ɵfac","t","ɵprov","i0","token","factory","DefaultUrlSerializer","providedIn","url","p","UrlParser","parseRootSegment","parseQueryParams","parseFragment","tree","concat","serializeSegment","query","serializeQueryParams","strParams","map","encodeUriQuery","join","filter","encodeUriFragment","encodeURI","primary","entries","_ref5","_ref6","_slicedToArray","k","mapChildrenIntoArray","fn","res","_ref","_ref2","childOutlet","_ref3","_ref4","encodeUriString","encodeURIComponent","replace","encodeUriSegment","decode","decodeURIComponent","decodeQuery","serializeMatrixParams","SEGMENT_RE","matchSegments","str","match","MATRIX_PARAM_SEGMENT_RE","QUERY_PARAM_RE","QUERY_PARAM_VALUE_RE","remaining","consumeOptional","peekStartsWith","parseChildren","parseQueryParam","parseSegment","capture","parseParens","ɵRuntimeError","ngDevMode","parseMatrixParams","parseParam","matchMatrixKeySegments","valueMatch","matchQueryParams","matchUrlQueryParamValue","decodedKey","decodedVal","currentVal","allowPrimary","outletName","indexOf","createRoot","rootCandidate","_defineProperty","squashSegmentGroup","newChildren","_i","_Object$keys","childCandidate","_i2","_Object$entries","_Object$entries$_i","grandChild","mergeTrivialChildren","isUrlTree","createUrlTreeFromSnapshot","relativeTo","commands","createUrlTreeFromSegmentGroup","createSegmentGroupFromRoute","_targetGroup","targetGroup","rootSegmentGroup","createSegmentGroupFromRouteRecursive","currentRoute","childOutlets","childSnapshot","outlet","nav","computeNavigation","Navigation","numberOfDoubleDots","isAbsolute","reduce","cmd","cmdIdx","outlets","_ref11","_ref12","segmentPath","urlPart","partIndex","toRoot","position","findStartingPositionForTargetGroup","target","Position","NaN","modifier","isMatrixParams","createPositionApplyingDoubleDots","group","g","ci","dd","newSegmentGroup","processChildren","updateSegmentGroupChildren","updateSegmentGroup","command","isCommandWithOutlets","oldRoot","oldSegmentGroup","qp","_ref7","_ref8","newRoot","replaceSegment","oldSegment","newSegment","_ref9","_ref10","cmdWithOutlet","find","startIndex","m","prefixedWith","currentCommandIndex","currentPathIndex","noMatch","pathIndex","commandIndex","curr","compare","slicedCommands","createNewSegmentGroup","getOutlets","childrenOfEmptyChild","_ref14","_ref15","_ref16","_ref17","createNewSegmentChildren","stringify","_ref18","_ref19","_ref20","_ref21","IMPERATIVE_NAVIGATION","RouterEvent","id","NavigationStart","_RouterEvent","navigationTrigger","restoredState","type","NavigationEnd","_RouterEvent2","_super2","urlAfterRedirects","_this3","NavigationCancel","_RouterEvent3","_super3","reason","code","_this4","NavigationSkipped","_RouterEvent4","_super4","_this5","NavigationError","_RouterEvent5","_super5","_this6","RoutesRecognized","_RouterEvent6","_super6","state","_this7","GuardsCheckStart","_RouterEvent7","_super7","_this8","GuardsCheckEnd","_RouterEvent8","_super8","shouldActivate","_this9","ResolveStart","_RouterEvent9","_super9","_this10","ResolveEnd","_RouterEvent10","_super10","_this11","RouteConfigLoadStart","RouteConfigLoadEnd","ChildActivationStart","snapshot","routeConfig","ChildActivationEnd","ActivationStart","ActivationEnd","Scroll","routerEvent","anchor","pos","OutletContext","injector","ChildrenOutletContexts","attachRef","contexts","Map","childName","context","getOrCreateContext","set","getContext","Tree","_root","pathFromRoot","findNode","findPath","cc","node","_step2","_iterator2","_step3","_iterator3","unshift","TreeNode","nodeChildrenAsMap","child","RouterState","_Tree","_super11","_this12","setRouterState","_assertThisInitialized","toString","createEmptyState","urlTree","rootComponent","createEmptyStateSnapshot","activated","ActivatedRouteSnapshot","RouterStateSnapshot","emptyUrl","BehaviorSubject","emptyParams","emptyData","emptyQueryParams","ActivatedRoute","urlSubject","paramsSubject","queryParamsSubject","fragmentSubject","dataSubject","component","futureSnapshot","_this$dataSubject$pip","_this$dataSubject","_futureSnapshot","title","pipe","d","data","_routerState","firstChild","_paramMap","inheritedParamsDataResolve","inheritingStartingFrom","flattenInherited","_curr$routeConfig","_objectSpread","_resolvedData","_resolve","_this$data","matched","_Tree2","_super12","_this13","serializeNode","advanceActivatedRoute","currentSnapshot","nextSnapshot","shallowEqualArrays","equalParamsAndUrlSegments","equalUrlParams","equalSegments","RouterOutlet","_activatedRoute","activateEvents","EventEmitter","deactivateEvents","attachEvents","detachEvents","parentContexts","inject","location","ViewContainerRef","changeDetector","ChangeDetectorRef","environmentInjector","EnvironmentInjector","inputBinder","INPUT_BINDER","optional","supportsBindingToComponentInputs","changes","_changes$name","previousValue","firstChange","isTrackedInParentContexts","deactivate","onChildOutletDestroyed","initializeOutletWithName","_this$inputBinder","unsubscribeFromRouteData","_this$parentContexts$","onChildOutletCreated","attach","activateWith","instance","detach","cmp","emit","ref","activatedRoute","_this$inputBinder2","insert","hostView","bindActivatedRouteToOutletComponent","destroy","_this$inputBinder3","isActivated","childContexts","OutletInjector","createComponent","markForCheck","ɵdir","selectors","inputs","outputs","exportAs","standalone","features","notFoundValue","InjectionToken","RoutedComponentInputBinder","outletDataSubscriptions","subscribeToRouteData","_this$outletDataSubsc","delete","_this14","dataSubscription","combineLatest","switchMap","_ref22","_ref23","activatedComponentRef","mirror","reflectComponentType","_step4","_iterator4","templateName","setInput","createNode","routeReuseStrategy","prevState","shouldReuseRoute","createOrReuseChildren","_step5","_iterator5","shouldAttach","detachedRouteHandle","retrieve","createActivatedRoute","NAVIGATION_CANCELING_ERROR","redirectingNavigationError","urlSerializer","redirect","_ref24","redirectTo","navigationBehaviorOptions","navigationCancelingError","message","redirectUrl","Error","cancellationCode","isRedirectingNavigationCancelingError$1","isNavigationCancelingError$1","ɵEmptyOutletComponent","ɵcmp","decls","vars","template","rf","ctx","dependencies","encapsulation","standardizeConfig","r","loadComponent","loadChildren","getOutlet","getClosestRouteInjector","_snapshot$routeConfig","_injector","_loadedInjector","ActivateRoutes","futureState","currState","forwardEvent","inputBindingEnabled","futureRoot","currRoot","deactivateChildRoutes","activateChildRoutes","futureNode","currNode","_this15","futureChild","childOutletName","deactivateRoutes","deactivateRouteAndItsChildren","parentContext","future","shouldDetach","detachAndStoreRouteSubtree","deactivateRouteAndOutlet","_i3","_Object$keys2","componentRef","onOutletDeactivated","store","_i4","_Object$keys3","_this16","activateRoutes","stored","onOutletReAttached","CanActivate","CanDeactivate","getAllRouteGuards","getChildRouteGuards","getTokenOrFunctionIdentity","tokenOrFunction","NOT_FOUND","result","ɵisInjectable","futurePath","checks","canDeactivateChecks","canActivateChecks","prevChildren","getRouteGuards","shouldRun","shouldRunGuardsAndResolvers","mode","runGuardsAndResolvers","_ref25","_ref26","_ref27","_ref28","isEmptyError","EmptyError","INITIAL_VALUE","prioritizedGuardValue","obs","o","take","startWith","results","_step6","_iterator6","item","redirectIfUrlTree","tap","NoMatch","AbsoluteRedirect","noMatch$1","throwError","absoluteRedirect","newTree","ApplyRedirects","applyRedirectCreateUrlTree","parse","createSegmentGroup","createQueryParams","redirectToParams","actualParams","_ref29","_ref30","sourceName","_this17","updatedSegments","createSegments","_ref31","_ref32","redirectToSegments","actualSegments","_this18","findPosParam","findOrReturn","redirectToUrlSegment","_step7","idx","_iterator7","splice","consumedSegments","remainingSegments","positionalParamSegments","matchWithChecks","getOrCreateRouteInjectorIfNeeded","currentInjector","_route$_injector","providers","createEnvironmentInjector","runCanMatchGuards","canMatch","canMatchObservables","injectionToken","guard","isCanMatch","runInContext","_res$posParams","_res$posParams2","matcher","_ref33","_ref34","slicedSegments","config","containsEmptyPathMatchesWithNamedOutlets","routes","some","emptyPathMatch","createChildrenForEmptyPaths","primarySegment","_step9","_iterator9","containsEmptyPathMatches","addEmptyPathsToChildrenIfNeeded","_step8","_iterator8","Recognizer","configLoader","rootComponentType","paramsInheritanceStrategy","allowRedirects","applyRedirects","_this19","processSegmentGroup","catchError","noMatchError","freeze","rootNode","routeState","inheritParamsAndData","_this20","routeNode","_this21","processSegment","_this22","_i5","_Object$keys4","concatMap","sortedConfig","sortByMatchingOutlets","apply","scan","outletChildren","defaultIfEmpty","predicate","defaultValue","hasDefaultValue","identity","throwIfEmpty","last$1","mergeMap","mergedChildren","mergeEmptyPathMatches","sortActivatedRouteSnapshots","nodes","localeCompare","_this23","_r$_injector","processSegmentAgainstRoute","first","x","noLeftoversInUrl","rawSegment","isImmediateMatch","matchSegmentAgainstRoute","expandSegmentAgainstRouteUsingRedirect","expandWildCardWithParamsAgainstRouteUsingRedirect","expandRegularSegmentAgainstRouteUsingRedirect","_this24","applyRedirectCommands","lineralizeSegments","newSegments","_this25","_match","matchResult","_this26","_ref35","_route$component","getData","_loadedComponent","getResolve","_ref36","_ref37","_route$component2","_route$_injector2","getChildConfig","_ref38","_route$_loadedInjecto","childConfig","childInjector","_split","matchedOnOutlet","_this27","_loadedRoutes","runCanLoadGuards","canLoad","canLoadObservables","isCanLoad","shouldLoadResult","cfg","canLoadFails","_step10","mergedNodes","Set","_iterator10","_loop","hasEmptyPathConfig","_duplicateEmptyPathNo","duplicateEmptyPathNode","resultNode","_step11","_iterator11","mergedNode","hasStaticTitle","switchTap","nextResult","ROUTES","RouterConfigLoader","componentLoaders","WeakMap","childrenLoaders","compiler","Compiler","_this28","onLoadStartListener","loadRunner","maybeUnwrapDefaultExport","onLoadEndListener","loader","Subject","parentInjector","_this29","loadModuleFactoryOrRoutes","factoryOrRoutes","create","InjectFlags","flat","_this30","NgModuleFactory","compileModuleAsync","input","isWrappedDefaultExport","default","NavigationTransitions","_this31","currentNavigation","lastSuccessfulNavigation","events","rootContexts","navigationId","afterPreactivation","_this$transitions","transitions","request","_this$transitions2","router","_this32","currentUrlTree","currentRawUrl","extractedUrl","urlHandlingStrategy","extract","rawUrl","extras","reject","promise","routerState","targetSnapshot","currentRouterState","targetRouterState","guards","guardsResult","overallTransitionState","completed","errored","initialUrl","trigger","previousNavigation","_t$extras$onSameUrlNa","browserUrlTree","urlTransition","navigated","onSameUrlNavigation","serializeUrl","rawUrlTree","shouldProcessUrl","isBrowserTriggeredNavigation","_this32$transitions","_this32$transitions2","transition","getValue","recognize","serializer","recognize$1","_ref39","finalUrl","urlUpdateStrategy","skipLocationChange","merge","setBrowserUrl","routesRecognized","navStart","replaceUrl","guardsStart","checkGuards","_t$guards","runCanDeactivateChecks","futureRSS","currRSS","check","runCanDeactivate","currARS","canDeactivate","canDeactivateObservables","_getClosestRouteInjec3","closestInjector","isCanDeactivate","isBoolean","runCanActivateChecks","fireChildActivationStart","fireActivationStart","runCanActivateChild","futureARS","canActivateChildGuards","reverse","getCanActivateChild","canActivateChild","_","canActivateChildGuardsMapped","defer","guardsMapped","_getClosestRouteInjec2","isCanActivateChild","runCanActivate","canActivate","canActivateObservables","_getClosestRouteInjec","isCanActivate","evt","guardsEnd","restoreHistory","cancelNavigationTransition","resolveStart","dataResolved","resolveData","canActivateChecksResolved","runResolve","resolveNode","getDataKeys","getOwnPropertySymbols","getResolver","_getClosestRouteInjec4","resolver","mapTo","resolvedData","resolveEnd","loadComponents","_route$routeConfig","loaders","loadedComponent","_step12","_iterator12","createRouterState","activate","_router$titleStrategy","titleStrategy","updateTitle","_this32$currentNaviga","navCancel","mergedTree","scheduleNavigation","_overallTransitionSta","navError","errorHandler","ee","TitleStrategy","pageTitle","_this$getResolvedTitl","getResolvedTitleForRoute","DefaultTitleStrategy","_TitleStrategy","_super13","_this33","buildTitle","setTitle","i1","RouteReuseStrategy","DefaultRouteReuseStrategy","BaseRouteReuseStrategy","detachedTree","_BaseRouteReuseStrate","_super14","ɵDefaultRouteReuseStrategy_BaseFactory","ROUTER_CONFIGURATION","UrlHandlingStrategy","DefaultUrlHandlingStrategy","newUrlPart","wholeUrl","NavigationResult","COMPLETE","FAILED","REDIRECTING","afterNextNavigation","action","defaultErrorHandler","defaultMalformedUriErrorHandler","exactMatchOptions","subsetMatchOptions","Router","_inject$flat","_inject","_this34","disposed","currentPageId","console","ɵConsole","isNgZoneEnabled","pendingTasks","ɵInitialRenderPendingTasks","malformedUriErrorHandler","lastSuccessfulId","canceledNavigationResolution","navigationTransitions","Location","componentInputBindingEnabled","NgZone","resetConfig","setupNavigations","_this34$browserPageId","browserPageId","warn","_this$location$getSta","getState","ɵrouterPageId","setUpLocationChangeListener","hasRequestedNavigation","navigateToSyncWithBrowser","_this35","locationSubscription","event","setTimeout","stateCopy","parseUrl","dispose","relativeToUrlSegmentGroup","navigationExtras","preserveFragment","q","queryParamsHandling","removeEmptyProps","validateCommands","navigateByUrl","createUrlTree","matchOptions","priorPromise","_this36","rej","taskId","then","remove","handleNavigationRequest","catch","isCurrentPathEqualTo","currentBrowserPageId","generateNgRouterState","replaceState","_this$browserPageId","go","restoringFromCaughtError","_this$browserPageId2","_this$getCurrentNavig","targetPagePosition","historyGo","getCurrentNavigation","resetState","resetUrlToCurrentUrlTree","routerPageId","RouterLink","tabIndexAttribute","renderer","el","locationStrategy","_el$nativeElement$tag","_this37","_preserveFragment","_skipLocationChange","_replaceUrl","href","onChanges","tagName","nativeElement","toLowerCase","isAnchorElement","subscription","updateHref","setTabIndexIfNotOnNativeEl","ɵcoerceToBoolean","newTabIndex","applyAttributeValue","button","ctrlKey","shiftKey","altKey","metaKey","_this$subscription","_this$locationStrateg","prepareExternalUrl","sanitizedValue","ɵɵsanitizeUrlOrResourceUrl","attrName","attrValue","setAttribute","removeAttribute","i3","hostVars","hostBindings","$event","onClick","routerLink","RouterLinkActive","element","cdr","link","_this38","classes","_isActive","routerLinkActiveOptions","isActiveChange","routerEventsSubscription","update","_this39","links","mergeAll","subscribeToEachLinkOnChanges","_this$linkInputChange","_this40","linkInputChangesSubscription","allLinkChanges","toArray","isLinkActive","_this$linkInputChange2","_this41","hasActiveLinks","addClass","removeClass","ariaCurrentWhenActive","isActiveMatchOptions","isActive","isActiveCheckFn","contentQueries","dirIndex","_t","routerLinkActive","PreloadingStrategy","PreloadAllModules","NoPreloading","RouterPreloader","preloadingStrategy","_this42","preload","processRoutes","_step13","_iterator13","_route$_injector3","_route$_loadedInjecto2","_route$children","injectorForCurrentRoute","injectorForChildren","preloadConfig","_this43","recursiveLoadChildren$","loadedChildren$","_config$injector","loadComponent$","ROUTER_SCROLLER","RouterScroller","viewportScroller","zone","lastId","lastSource","restoredId","scrollPositionRestoration","anchorScrolling","setHistoryScrollRestoration","createScrollEvents","scrollEventsSubscription","consumeScrollEvents","_this44","getScrollPosition","scheduleScrollEvent","_this45","scrollToPosition","scrollToAnchor","_this46","runOutsideAngular","run","_this$routerEventsSub","_this$scrollEventsSub","provideRouter","_len","_key","makeEnvironmentProviders","provide","multi","useValue","useFactory","rootRoute","deps","APP_BOOTSTRAP_LISTENER","getBootstrapListener","feature","ɵproviders","routerFeature","kind","ɵkind","provideRoutes","withInMemoryScrolling","ViewportScroller","Injector","bootstrappedComponentRef","_injector$get","_injector$get2","ApplicationRef","components","bootstrapDone","BOOTSTRAP_DONE","INITIAL_NAVIGATION","initialNavigation","ROUTER_PRELOADER","setUpPreloading","init","resetRootComponentType","componentTypes","withEnabledBlockingInitialNavigation","APP_INITIALIZER","locationInitialized","LOCATION_INITIALIZED","withDisabledInitialNavigation","withDebugTracing","withPreloading","useExisting","withRouterConfig","withHashLocation","LocationStrategy","useClass","HashLocationStrategy","withNavigationErrorHandler","ENVIRONMENT_INITIALIZER","withComponentInputBinding","ROUTER_FORROOT_GUARD","ROUTER_PROVIDERS","routerNgProbeToken","NgProbeToken","RouterModule","ngModule","provideForRootGuard","Optional","SkipSelf","useHash","PathLocationStrategy","scrollOffset","setOffset","provideInitialNavigation","bindToComponentInputs","ROUTER_INITIALIZER","ɵmod","ɵinj","mapToCanMatch","provider","_inject2","mapToCanActivate","_inject3","mapToCanActivateChild","_inject4","mapToCanDeactivate","_inject5","mapToResolve","_inject6","VERSION","Version"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/observable/ConnectableObservable.js","./node_modules/rxjs/dist/esm/internal/operators/finalize.js","./node_modules/rxjs/dist/esm/internal/operators/refCount.js","./node_modules/rxjs/dist/esm/internal/util/isObservable.js","./node_modules/rxjs/dist/esm/internal/operators/takeLast.js","./node_modules/@angular/router/fesm2022/router.mjs","./node_modules/rxjs/dist/esm/internal/operators/last.js"],"sourcesContent":["import { Observable } from '../Observable';\nimport { Subscription } from '../Subscription';\nimport { refCount as higherOrderRefCount } from '../operators/refCount';\nimport { createOperatorSubscriber } from '../operators/OperatorSubscriber';\nimport { hasLift } from '../util/lift';\nexport class ConnectableObservable extends Observable {\n constructor(source, subjectFactory) {\n super();\n this.source = source;\n this.subjectFactory = subjectFactory;\n this._subject = null;\n this._refCount = 0;\n this._connection = null;\n if (hasLift(source)) {\n this.lift = source.lift;\n }\n }\n _subscribe(subscriber) {\n return this.getSubject().subscribe(subscriber);\n }\n getSubject() {\n const subject = this._subject;\n if (!subject || subject.isStopped) {\n this._subject = this.subjectFactory();\n }\n return this._subject;\n }\n _teardown() {\n this._refCount = 0;\n const { _connection } = this;\n this._subject = this._connection = null;\n _connection === null || _connection === void 0 ? void 0 : _connection.unsubscribe();\n }\n connect() {\n let connection = this._connection;\n if (!connection) {\n connection = this._connection = new Subscription();\n const subject = this.getSubject();\n connection.add(this.source.subscribe(createOperatorSubscriber(subject, undefined, () => {\n this._teardown();\n subject.complete();\n }, (err) => {\n this._teardown();\n subject.error(err);\n }, () => this._teardown())));\n if (connection.closed) {\n this._connection = null;\n connection = Subscription.EMPTY;\n }\n }\n return connection;\n }\n refCount() {\n return higherOrderRefCount()(this);\n }\n}\n","import { operate } from '../util/lift';\nexport function finalize(callback) {\n return operate((source, subscriber) => {\n try {\n source.subscribe(subscriber);\n }\n finally {\n subscriber.add(callback);\n }\n });\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function refCount() {\n return operate((source, subscriber) => {\n let connection = null;\n source._refCount++;\n const refCounter = createOperatorSubscriber(subscriber, undefined, undefined, undefined, () => {\n if (!source || source._refCount <= 0 || 0 < --source._refCount) {\n connection = null;\n return;\n }\n const sharedConnection = source._connection;\n const conn = connection;\n connection = null;\n if (sharedConnection && (!conn || sharedConnection === conn)) {\n sharedConnection.unsubscribe();\n }\n subscriber.unsubscribe();\n });\n source.subscribe(refCounter);\n if (!refCounter.closed) {\n connection = source.connect();\n }\n });\n}\n","import { Observable } from '../Observable';\nimport { isFunction } from './isFunction';\nexport function isObservable(obj) {\n return !!obj && (obj instanceof Observable || (isFunction(obj.lift) && isFunction(obj.subscribe)));\n}\n","import { EMPTY } from '../observable/empty';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function takeLast(count) {\n return count <= 0\n ? () => EMPTY\n : operate((source, subscriber) => {\n let buffer = [];\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n buffer.push(value);\n count < buffer.length && buffer.shift();\n }, () => {\n for (const value of buffer) {\n subscriber.next(value);\n }\n subscriber.complete();\n }, undefined, () => {\n buffer = null;\n }));\n });\n}\n","/**\n * @license Angular v16.0.5\n * (c) 2010-2022 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport * as i0 from '@angular/core';\nimport { ɵisPromise, ɵRuntimeError, Injectable, EventEmitter, inject, ViewContainerRef, ChangeDetectorRef, EnvironmentInjector, Directive, Input, Output, InjectionToken, reflectComponentType, Component, createEnvironmentInjector, ɵisNgModule, isStandalone, ɵisInjectable, Compiler, InjectFlags, NgModuleFactory, ɵConsole, ɵInitialRenderPendingTasks, NgZone, ɵcoerceToBoolean, ɵɵsanitizeUrlOrResourceUrl, Attribute, HostBinding, HostListener, Optional, ContentChildren, makeEnvironmentProviders, APP_BOOTSTRAP_LISTENER, ENVIRONMENT_INITIALIZER, Injector, ApplicationRef, APP_INITIALIZER, NgProbeToken, SkipSelf, NgModule, Inject, Version } from '@angular/core';\nimport { isObservable, from, of, BehaviorSubject, combineLatest, EmptyError, concat, defer, pipe, throwError, 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, defaultIfEmpty, last as last$1, takeLast, mapTo, finalize, refCount, mergeAll } from 'rxjs/operators';\nimport * as i1 from '@angular/platform-browser';\n\n/**\n * The primary routing outlet.\n *\n * @publicApi\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 */\nconst RouteTitleKey = Symbol('RouteTitle');\nclass ParamsAsMap {\n constructor(params) {\n this.params = params || {};\n }\n has(name) {\n return Object.prototype.hasOwnProperty.call(this.params, name);\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 return null;\n }\n getAll(name) {\n if (this.has(name)) {\n const v = this.params[name];\n return Array.isArray(v) ? v : [v];\n }\n return [];\n }\n get keys() {\n return Object.keys(this.params);\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 */\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 */\nfunction defaultUrlMatcher(segments, segmentGroup, route) {\n const parts = route.path.split('/');\n if (parts.length > segments.length) {\n // The actual URL is shorter than the config, no match\n return null;\n }\n if (route.pathMatch === 'full' &&\n (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 const posParams = {};\n // Check each config part against the actual URL\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 if (isParameter) {\n posParams[part.substring(1)] = segment;\n }\n else if (part !== segment.path) {\n // The actual URL part does not match the config, no match\n return null;\n }\n }\n return { consumed: segments.slice(0, parts.length), posParams };\n}\n\nfunction shallowEqualArrays(a, b) {\n if (a.length !== b.length)\n return false;\n for (let i = 0; i < a.length; ++i) {\n if (!shallowEqual(a[i], b[i]))\n return false;\n }\n return true;\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 if (!k1 || !k2 || k1.length != k2.length) {\n return false;\n }\n let key;\n for (let i = 0; i < k1.length; i++) {\n key = k1[i];\n if (!equalArraysOrString(a[key], b[key])) {\n return false;\n }\n }\n return true;\n}\n/**\n * Test equality for arrays of strings or a string.\n */\nfunction equalArraysOrString(a, b) {\n if (Array.isArray(a) && Array.isArray(b)) {\n if (a.length !== b.length)\n return false;\n const aSorted = [...a].sort();\n const bSorted = [...b].sort();\n return aSorted.every((val, index) => bSorted[index] === val);\n }\n else {\n return a === b;\n }\n}\n/**\n * Return the last element of an array.\n */\nfunction last(a) {\n return a.length > 0 ? a[a.length - 1] : null;\n}\nfunction wrapIntoObservable(value) {\n if (isObservable(value)) {\n return value;\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 return of(value);\n}\n\nconst pathCompareMap = {\n 'exact': equalSegmentGroups,\n 'subset': containsSegmentGroup,\n};\nconst paramCompareMap = {\n 'exact': equalParams,\n 'subset': containsParams,\n 'ignored': () => true,\n};\nfunction containsTree(container, containee, options) {\n return pathCompareMap[options.paths](container.root, containee.root, options.matrixParams) &&\n paramCompareMap[options.queryParams](container.queryParams, containee.queryParams) &&\n !(options.fragment === 'exact' && container.fragment !== containee.fragment);\n}\nfunction equalParams(container, containee) {\n // TODO: This does not handle array params correctly.\n return shallowEqual(container, containee);\n}\nfunction equalSegmentGroups(container, containee, matrixParams) {\n if (!equalPath(container.segments, containee.segments))\n return false;\n if (!matrixParamsMatch(container.segments, containee.segments, matrixParams)) {\n return false;\n }\n if (container.numberOfChildren !== containee.numberOfChildren)\n return false;\n for (const c in containee.children) {\n if (!container.children[c])\n return false;\n if (!equalSegmentGroups(container.children[c], containee.children[c], matrixParams))\n return false;\n }\n return true;\n}\nfunction containsParams(container, containee) {\n return Object.keys(containee).length <= Object.keys(container).length &&\n Object.keys(containee).every(key => equalArraysOrString(container[key], containee[key]));\n}\nfunction containsSegmentGroup(container, containee, matrixParams) {\n return containsSegmentGroupHelper(container, containee, containee.segments, matrixParams);\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))\n return false;\n if (containee.hasChildren())\n return false;\n if (!matrixParamsMatch(current, containeePaths, matrixParams))\n return false;\n return true;\n }\n else if (container.segments.length === containeePaths.length) {\n if (!equalPath(container.segments, containeePaths))\n return false;\n if (!matrixParamsMatch(container.segments, containeePaths, matrixParams))\n return false;\n for (const c in containee.children) {\n if (!container.children[c])\n return false;\n if (!containsSegmentGroup(container.children[c], containee.children[c], matrixParams)) {\n return false;\n }\n }\n return true;\n }\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))\n return false;\n if (!matrixParamsMatch(container.segments, current, matrixParams))\n return false;\n if (!container.children[PRIMARY_OUTLET])\n return false;\n return containsSegmentGroupHelper(container.children[PRIMARY_OUTLET], containee, next, matrixParams);\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 */\nclass UrlTree {\n constructor(\n /** The root segment group of the URL tree */\n root = new UrlSegmentGroup([], {}), \n /** The query params of the URL */\n queryParams = {}, \n /** The fragment of the URL */\n fragment = null) {\n this.root = root;\n this.queryParams = queryParams;\n this.fragment = fragment;\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (root.segments.length > 0) {\n throw new ɵRuntimeError(4015 /* RuntimeErrorCode.INVALID_ROOT_URL_SEGMENT */, 'The root `UrlSegmentGroup` should not contain `segments`. ' +\n 'Instead, these segments belong in the `children` so they can be associated with a named outlet.');\n }\n }\n }\n get queryParamMap() {\n if (!this._queryParamMap) {\n this._queryParamMap = convertToParamMap(this.queryParams);\n }\n return this._queryParamMap;\n }\n /** @docsNotRequired */\n toString() {\n return DEFAULT_SERIALIZER.serialize(this);\n }\n}\n/**\n * @description\n *\n * Represents the parsed URL segment group.\n *\n * See `UrlTree` for more information.\n *\n * @publicApi\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 this.parent = null;\n Object.values(children).forEach((v) => (v.parent = this));\n }\n /** Whether the segment has child segments */\n hasChildren() {\n return this.numberOfChildren > 0;\n }\n /** Number of child segments */\n get numberOfChildren() {\n return Object.keys(this.children).length;\n }\n /** @docsNotRequired */\n toString() {\n return serializePaths(this);\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 */\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 get parameterMap() {\n if (!this._parameterMap) {\n this._parameterMap = convertToParamMap(this.parameters);\n }\n return this._parameterMap;\n }\n /** @docsNotRequired */\n toString() {\n return serializePath(this);\n }\n}\nfunction equalSegments(as, bs) {\n return equalPath(as, bs) && as.every((a, i) => shallowEqual(a.parameters, bs[i].parameters));\n}\nfunction equalPath(as, bs) {\n if (as.length !== bs.length)\n return false;\n return as.every((a, i) => a.path === bs[i].path);\n}\nfunction mapChildrenIntoArray(segment, fn) {\n let res = [];\n Object.entries(segment.children).forEach(([childOutlet, child]) => {\n if (childOutlet === PRIMARY_OUTLET) {\n res = res.concat(fn(child, childOutlet));\n }\n });\n Object.entries(segment.children).forEach(([childOutlet, child]) => {\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 */\nclass UrlSerializer {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: UrlSerializer, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: UrlSerializer, providedIn: 'root', useFactory: () => new DefaultUrlSerializer() }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: UrlSerializer, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root', useFactory: () => new DefaultUrlSerializer() }]\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 */\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 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}\nconst DEFAULT_SERIALIZER = new DefaultUrlSerializer();\nfunction serializePaths(segment) {\n return segment.segments.map(p => serializePath(p)).join('/');\n}\nfunction serializeSegment(segment, root) {\n if (!segment.hasChildren()) {\n return serializePaths(segment);\n }\n if (root) {\n const primary = segment.children[PRIMARY_OUTLET] ?\n serializeSegment(segment.children[PRIMARY_OUTLET], false) :\n '';\n const children = [];\n Object.entries(segment.children).forEach(([k, v]) => {\n if (k !== PRIMARY_OUTLET) {\n children.push(`${k}:${serializeSegment(v, false)}`);\n }\n });\n return children.length > 0 ? `${primary}(${children.join('//')})` : primary;\n }\n else {\n const children = mapChildrenIntoArray(segment, (v, k) => {\n if (k === PRIMARY_OUTLET) {\n return [serializeSegment(segment.children[PRIMARY_OUTLET], false)];\n }\n return [`${k}:${serializeSegment(v, false)}`];\n });\n // use no parenthesis if the only child is a primary outlet route\n if (Object.keys(segment.children).length === 1 && segment.children[PRIMARY_OUTLET] != null) {\n return `${serializePaths(segment)}/${children[0]}`;\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 */\nfunction encodeUriString(s) {\n return encodeURIComponent(s)\n .replace(/%40/g, '@')\n .replace(/%3A/gi, ':')\n .replace(/%24/g, '$')\n .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 */\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 */\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 */\nfunction encodeUriSegment(s) {\n return encodeUriString(s).replace(/\\(/g, '%28').replace(/\\)/g, '%29').replace(/%26/gi, '&');\n}\nfunction decode(s) {\n return decodeURIComponent(s);\n}\n// Query keys/values should have the \"+\" replaced first, as \"+\" in a query string is \" \".\n// decodeURIComponent function will not decode \"+\" as a space.\nfunction decodeQuery(s) {\n return decode(s.replace(/\\+/g, '%20'));\n}\nfunction serializePath(path) {\n return `${encodeUriSegment(path.path)}${serializeMatrixParams(path.parameters)}`;\n}\nfunction serializeMatrixParams(params) {\n return Object.keys(params)\n .map(key => `;${encodeUriSegment(key)}=${encodeUriSegment(params[key])}`)\n .join('');\n}\nfunction serializeQueryParams(params) {\n const strParams = Object.keys(params)\n .map((name) => {\n const value = params[name];\n return Array.isArray(value) ?\n value.map(v => `${encodeUriQuery(name)}=${encodeUriQuery(v)}`).join('&') :\n `${encodeUriQuery(name)}=${encodeUriQuery(value)}`;\n })\n .filter(s => !!s);\n return strParams.length ? `?${strParams.join('&')}` : '';\n}\nconst SEGMENT_RE = /^[^\\/()?;#]+/;\nfunction matchSegments(str) {\n const match = str.match(SEGMENT_RE);\n return match ? match[0] : '';\n}\nconst MATRIX_PARAM_SEGMENT_RE = /^[^\\/()?;=#]+/;\nfunction matchMatrixKeySegments(str) {\n const match = str.match(MATRIX_PARAM_SEGMENT_RE);\n return match ? match[0] : '';\n}\nconst QUERY_PARAM_RE = /^[^=?&#]+/;\n// Return the name of the query param at the start of the string or an empty string\nfunction matchQueryParams(str) {\n const match = str.match(QUERY_PARAM_RE);\n return match ? match[0] : '';\n}\nconst QUERY_PARAM_VALUE_RE = /^[^&#]+/;\n// Return the value of the query param at the start of the string or an empty string\nfunction matchUrlQueryParamValue(str) {\n const match = str.match(QUERY_PARAM_VALUE_RE);\n return match ? match[0] : '';\n}\nclass UrlParser {\n constructor(url) {\n this.url = url;\n this.remaining = url;\n }\n parseRootSegment() {\n this.consumeOptional('/');\n if (this.remaining === '' || this.peekStartsWith('?') || this.peekStartsWith('#')) {\n return new UrlSegmentGroup([], {});\n }\n // The root segment group never has segments\n return new UrlSegmentGroup([], this.parseChildren());\n }\n parseQueryParams() {\n const params = {};\n if (this.consumeOptional('?')) {\n do {\n this.parseQueryParam(params);\n } while (this.consumeOptional('&'));\n }\n return params;\n }\n parseFragment() {\n return this.consumeOptional('#') ? decodeURIComponent(this.remaining) : null;\n }\n parseChildren() {\n if (this.remaining === '') {\n return {};\n }\n this.consumeOptional('/');\n const segments = [];\n if (!this.peekStartsWith('(')) {\n segments.push(this.parseSegment());\n }\n while (this.peekStartsWith('/') && !this.peekStartsWith('//') && !this.peekStartsWith('/(')) {\n this.capture('/');\n segments.push(this.parseSegment());\n }\n let children = {};\n if (this.peekStartsWith('/(')) {\n this.capture('/');\n children = this.parseParens(true);\n }\n let res = {};\n if (this.peekStartsWith('(')) {\n res = this.parseParens(false);\n }\n if (segments.length > 0 || Object.keys(children).length > 0) {\n res[PRIMARY_OUTLET] = new UrlSegmentGroup(segments, children);\n }\n return res;\n }\n // parse a segment with its matrix parameters\n // ie `name;k1=v1;k2`\n parseSegment() {\n const path = matchSegments(this.remaining);\n if (path === '' && this.peekStartsWith(';')) {\n throw new ɵRuntimeError(4009 /* RuntimeErrorCode.EMPTY_PATH_WITH_PARAMS */, (typeof ngDevMode === 'undefined' || ngDevMode) &&\n `Empty path url segment cannot have parameters: '${this.remaining}'.`);\n }\n this.capture(path);\n return new UrlSegment(decode(path), this.parseMatrixParams());\n }\n parseMatrixParams() {\n const params = {};\n while (this.consumeOptional(';')) {\n this.parseParam(params);\n }\n return params;\n }\n parseParam(params) {\n const key = matchMatrixKeySegments(this.remaining);\n if (!key) {\n return;\n }\n this.capture(key);\n let value = '';\n if (this.consumeOptional('=')) {\n const valueMatch = matchSegments(this.remaining);\n if (valueMatch) {\n value = valueMatch;\n this.capture(value);\n }\n }\n params[decode(key)] = decode(value);\n }\n // Parse a single query parameter `name[=value]`\n parseQueryParam(params) {\n const key = matchQueryParams(this.remaining);\n if (!key) {\n return;\n }\n this.capture(key);\n let value = '';\n if (this.consumeOptional('=')) {\n const valueMatch = matchUrlQueryParamValue(this.remaining);\n if (valueMatch) {\n value = valueMatch;\n this.capture(value);\n }\n }\n const decodedKey = decodeQuery(key);\n const decodedVal = decodeQuery(value);\n if (params.hasOwnProperty(decodedKey)) {\n // Append to existing values\n let currentVal = params[decodedKey];\n if (!Array.isArray(currentVal)) {\n currentVal = [currentVal];\n params[decodedKey] = currentVal;\n }\n currentVal.push(decodedVal);\n }\n else {\n // Create a new value\n params[decodedKey] = decodedVal;\n }\n }\n // parse `(a/b//outlet_name:c/d)`\n parseParens(allowPrimary) {\n const segments = {};\n this.capture('(');\n while (!this.consumeOptional(')') && this.remaining.length > 0) {\n const path = matchSegments(this.remaining);\n const next = this.remaining[path.length];\n // if is is not one of these characters, then the segment was unescaped\n // or the group was not closed\n if (next !== '/' && next !== ')' && next !== ';') {\n throw new ɵRuntimeError(4010 /* RuntimeErrorCode.UNPARSABLE_URL */, (typeof ngDevMode === 'undefined' || ngDevMode) && `Cannot parse url '${this.url}'`);\n }\n let outletName = undefined;\n if (path.indexOf(':') > -1) {\n outletName = path.slice(0, path.indexOf(':'));\n this.capture(outletName);\n this.capture(':');\n }\n else if (allowPrimary) {\n outletName = PRIMARY_OUTLET;\n }\n const children = this.parseChildren();\n segments[outletName] = Object.keys(children).length === 1 ? children[PRIMARY_OUTLET] :\n new UrlSegmentGroup([], children);\n this.consumeOptional('//');\n }\n return segments;\n }\n peekStartsWith(str) {\n return this.remaining.startsWith(str);\n }\n // Consumes the prefix when it is present and returns whether it has been consumed\n consumeOptional(str) {\n if (this.peekStartsWith(str)) {\n this.remaining = this.remaining.substring(str.length);\n return true;\n }\n return false;\n }\n capture(str) {\n if (!this.consumeOptional(str)) {\n throw new ɵRuntimeError(4011 /* RuntimeErrorCode.UNEXPECTED_VALUE_IN_URL */, (typeof ngDevMode === 'undefined' || ngDevMode) && `Expected \"${str}\".`);\n }\n }\n}\nfunction createRoot(rootCandidate) {\n return rootCandidate.segments.length > 0 ?\n new UrlSegmentGroup([], { [PRIMARY_OUTLET]: rootCandidate }) :\n rootCandidate;\n}\n/**\n * Recursively\n * - merges primary segment children into their parents\n * - drops empty children (those which have no segments and no children themselves). This latter\n * prevents serializing a group into something like `/a(aux:)`, where `aux` is an empty child\n * segment.\n * - merges named outlets without a primary segment sibling into the children. This prevents\n * serializing a URL like `//(a:a)(b:b) instead of `/(a:a//b:b)` when the aux b route lives on the\n * root but the `a` route lives under an empty path primary route.\n */\nfunction squashSegmentGroup(segmentGroup) {\n const newChildren = {};\n for (const childOutlet of Object.keys(segmentGroup.children)) {\n const child = segmentGroup.children[childOutlet];\n const childCandidate = squashSegmentGroup(child);\n // moves named children in an empty path primary child into this group\n if (childOutlet === PRIMARY_OUTLET && childCandidate.segments.length === 0 &&\n childCandidate.hasChildren()) {\n for (const [grandChildOutlet, grandChild] of Object.entries(childCandidate.children)) {\n newChildren[grandChildOutlet] = grandChild;\n }\n } // don't add empty children\n else if (childCandidate.segments.length > 0 || childCandidate.hasChildren()) {\n newChildren[childOutlet] = childCandidate;\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 */\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 return s;\n}\nfunction isUrlTree(v) {\n return v instanceof UrlTree;\n}\n\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 */\nfunction createUrlTreeFromSnapshot(relativeTo, commands, queryParams = null, fragment = null) {\n const relativeToUrlSegmentGroup = createSegmentGroupFromRoute(relativeTo);\n return createUrlTreeFromSegmentGroup(relativeToUrlSegmentGroup, commands, queryParams, fragment);\n}\nfunction createSegmentGroupFromRoute(route) {\n let targetGroup;\n function createSegmentGroupFromRouteRecursive(currentRoute) {\n const childOutlets = {};\n for (const childSnapshot of currentRoute.children) {\n const root = createSegmentGroupFromRouteRecursive(childSnapshot);\n childOutlets[childSnapshot.outlet] = root;\n }\n const segmentGroup = new UrlSegmentGroup(currentRoute.url, childOutlets);\n if (currentRoute === route) {\n targetGroup = segmentGroup;\n }\n return segmentGroup;\n }\n const rootCandidate = createSegmentGroupFromRouteRecursive(route.root);\n const rootSegmentGroup = createRoot(rootCandidate);\n return targetGroup ?? rootSegmentGroup;\n}\nfunction createUrlTreeFromSegmentGroup(relativeTo, commands, queryParams, fragment) {\n let root = relativeTo;\n while (root.parent) {\n root = root.parent;\n }\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 if (commands.length === 0) {\n return tree(root, root, root, queryParams, fragment);\n }\n const nav = computeNavigation(commands);\n if (nav.toRoot()) {\n return tree(root, root, new UrlSegmentGroup([], {}), queryParams, fragment);\n }\n const position = findStartingPositionForTargetGroup(nav, root, relativeTo);\n const newSegmentGroup = position.processChildren ?\n updateSegmentGroupChildren(position.segmentGroup, position.index, nav.commands) :\n updateSegmentGroup(position.segmentGroup, position.index, nav.commands);\n return tree(root, position.segmentGroup, newSegmentGroup, queryParams, fragment);\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 */\nfunction isCommandWithOutlets(command) {\n return typeof command === 'object' && command != null && command.outlets;\n}\nfunction tree(oldRoot, oldSegmentGroup, newSegmentGroup, queryParams, fragment) {\n let qp = {};\n if (queryParams) {\n Object.entries(queryParams).forEach(([name, value]) => {\n qp[name] = Array.isArray(value) ? value.map((v) => `${v}`) : `${value}`;\n });\n }\n let rootCandidate;\n if (oldRoot === oldSegmentGroup) {\n rootCandidate = newSegmentGroup;\n }\n else {\n rootCandidate = replaceSegment(oldRoot, oldSegmentGroup, newSegmentGroup);\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 */\nfunction replaceSegment(current, oldSegment, newSegment) {\n const children = {};\n Object.entries(current.children).forEach(([outletName, c]) => {\n if (c === oldSegment) {\n children[outletName] = newSegment;\n }\n else {\n children[outletName] = replaceSegment(c, oldSegment, newSegment);\n }\n });\n return new UrlSegmentGroup(current.segments, children);\n}\nclass Navigation {\n constructor(isAbsolute, numberOfDoubleDots, commands) {\n this.isAbsolute = isAbsolute;\n this.numberOfDoubleDots = numberOfDoubleDots;\n this.commands = commands;\n if (isAbsolute && commands.length > 0 && isMatrixParams(commands[0])) {\n throw new ɵRuntimeError(4003 /* RuntimeErrorCode.ROOT_SEGMENT_MATRIX_PARAMS */, (typeof ngDevMode === 'undefined' || ngDevMode) &&\n 'Root segment cannot have matrix parameters');\n }\n const cmdWithOutlet = commands.find(isCommandWithOutlets);\n if (cmdWithOutlet && cmdWithOutlet !== last(commands)) {\n throw new ɵRuntimeError(4004 /* RuntimeErrorCode.MISPLACED_OUTLETS_COMMAND */, (typeof ngDevMode === 'undefined' || ngDevMode) &&\n '{outlets:{}} has to be the last command');\n }\n }\n toRoot() {\n return this.isAbsolute && this.commands.length === 1 && this.commands[0] == '/';\n }\n}\n/** Transforms commands to a normalized `Navigation` */\nfunction computeNavigation(commands) {\n if ((typeof commands[0] === 'string') && commands.length === 1 && commands[0] === '/') {\n return new Navigation(true, 0, commands);\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 Object.entries(cmd.outlets).forEach(([name, commands]) => {\n outlets[name] = typeof commands === 'string' ? commands.split('/') : commands;\n });\n return [...res, { outlets }];\n }\n if (cmd.segmentPath) {\n return [...res, cmd.segmentPath];\n }\n }\n if (!(typeof cmd === 'string')) {\n return [...res, cmd];\n }\n if (cmdIdx === 0) {\n cmd.split('/').forEach((urlPart, partIndex) => {\n if (partIndex == 0 && urlPart === '.') {\n // skip './a'\n }\n else if (partIndex == 0 && urlPart === '') { // '/a'\n isAbsolute = true;\n }\n else if (urlPart === '..') { // '../a'\n numberOfDoubleDots++;\n }\n else if (urlPart != '') {\n res.push(urlPart);\n }\n });\n return res;\n }\n return [...res, cmd];\n }, []);\n return new Navigation(isAbsolute, numberOfDoubleDots, res);\n}\nclass Position {\n constructor(segmentGroup, processChildren, index) {\n this.segmentGroup = segmentGroup;\n this.processChildren = processChildren;\n this.index = index;\n }\n}\nfunction findStartingPositionForTargetGroup(nav, root, target) {\n if (nav.isAbsolute) {\n return new Position(root, true, 0);\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 if (target.parent === null) {\n return new Position(target, true, 0);\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}\nfunction createPositionApplyingDoubleDots(group, index, numberOfDoubleDots) {\n let g = group;\n let ci = index;\n let dd = numberOfDoubleDots;\n while (dd > ci) {\n dd -= ci;\n g = g.parent;\n if (!g) {\n throw new ɵRuntimeError(4005 /* RuntimeErrorCode.INVALID_DOUBLE_DOTS */, (typeof ngDevMode === 'undefined' || ngDevMode) && 'Invalid number of \\'../\\'');\n }\n ci = g.segments.length;\n }\n return new Position(g, false, ci - dd);\n}\nfunction getOutlets(commands) {\n if (isCommandWithOutlets(commands[0])) {\n return commands[0].outlets;\n }\n return { [PRIMARY_OUTLET]: commands };\n}\nfunction updateSegmentGroup(segmentGroup, startIndex, commands) {\n if (!segmentGroup) {\n segmentGroup = new UrlSegmentGroup([], {});\n }\n if (segmentGroup.segments.length === 0 && segmentGroup.hasChildren()) {\n return updateSegmentGroupChildren(segmentGroup, startIndex, commands);\n }\n const m = prefixedWith(segmentGroup, startIndex, commands);\n const slicedCommands = commands.slice(m.commandIndex);\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] =\n new UrlSegmentGroup(segmentGroup.segments.slice(m.pathIndex), segmentGroup.children);\n return updateSegmentGroupChildren(g, 0, slicedCommands);\n }\n else if (m.match && slicedCommands.length === 0) {\n return new UrlSegmentGroup(segmentGroup.segments, {});\n }\n else if (m.match && !segmentGroup.hasChildren()) {\n return createNewSegmentGroup(segmentGroup, startIndex, commands);\n }\n else if (m.match) {\n return updateSegmentGroupChildren(segmentGroup, 0, slicedCommands);\n }\n else {\n return createNewSegmentGroup(segmentGroup, startIndex, commands);\n }\n}\nfunction updateSegmentGroupChildren(segmentGroup, startIndex, commands) {\n if (commands.length === 0) {\n return new UrlSegmentGroup(segmentGroup.segments, {});\n }\n else {\n const outlets = getOutlets(commands);\n const children = {};\n // If the set of commands does not apply anything to the primary outlet and the child segment is\n // an empty path primary segment on its own, we want to apply the commands to the empty child\n // path rather than here. The outcome is that the empty primary child is effectively removed\n // from the final output UrlTree. Imagine the following config:\n //\n // {path: '', children: [{path: '**', outlet: 'popup'}]}.\n //\n // Navigation to /(popup:a) will activate the child outlet correctly Given a follow-up\n // navigation with commands\n // ['/', {outlets: {'popup': 'b'}}], we _would not_ want to apply the outlet commands to the\n // root segment because that would result in\n // //(popup:a)(popup:b) since the outlet command got applied one level above where it appears in\n // the `ActivatedRoute` rather than updating the existing one.\n //\n // Because empty paths do not appear in the URL segments and the fact that the segments used in\n // the output `UrlTree` are squashed to eliminate these empty paths where possible\n // https://github.com/angular/angular/blob/13f10de40e25c6900ca55bd83b36bd533dacfa9e/packages/router/src/url_tree.ts#L755\n // it can be hard to determine what is the right thing to do when applying commands to a\n // `UrlSegmentGroup` that is created from an \"unsquashed\"/expanded `ActivatedRoute` tree.\n // This code effectively \"squashes\" empty path primary routes when they have no siblings on\n // the same level of the tree.\n if (!outlets[PRIMARY_OUTLET] && segmentGroup.children[PRIMARY_OUTLET] &&\n segmentGroup.numberOfChildren === 1 &&\n segmentGroup.children[PRIMARY_OUTLET].segments.length === 0) {\n const childrenOfEmptyChild = updateSegmentGroupChildren(segmentGroup.children[PRIMARY_OUTLET], startIndex, commands);\n return new UrlSegmentGroup(segmentGroup.segments, childrenOfEmptyChild.children);\n }\n Object.entries(outlets).forEach(([outlet, commands]) => {\n if (typeof commands === 'string') {\n commands = [commands];\n }\n if (commands !== null) {\n children[outlet] = updateSegmentGroup(segmentGroup.children[outlet], startIndex, commands);\n }\n });\n Object.entries(segmentGroup.children).forEach(([childOutlet, child]) => {\n if (outlets[childOutlet] === undefined) {\n children[childOutlet] = child;\n }\n });\n return new UrlSegmentGroup(segmentGroup.segments, children);\n }\n}\nfunction prefixedWith(segmentGroup, startIndex, commands) {\n let currentCommandIndex = 0;\n let currentPathIndex = startIndex;\n const noMatch = { match: false, pathIndex: 0, commandIndex: 0 };\n while (currentPathIndex < segmentGroup.segments.length) {\n if (currentCommandIndex >= commands.length)\n return noMatch;\n const path = segmentGroup.segments[currentPathIndex];\n const command = commands[currentCommandIndex];\n // 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 if (isCommandWithOutlets(command)) {\n break;\n }\n const curr = `${command}`;\n const next = currentCommandIndex < commands.length - 1 ? commands[currentCommandIndex + 1] : null;\n if (currentPathIndex > 0 && curr === undefined)\n break;\n if (curr && next && (typeof next === 'object') && next.outlets === undefined) {\n if (!compare(curr, next, path))\n return noMatch;\n currentCommandIndex += 2;\n }\n else {\n if (!compare(curr, {}, path))\n return noMatch;\n currentCommandIndex++;\n }\n currentPathIndex++;\n }\n return { match: true, pathIndex: currentPathIndex, commandIndex: currentCommandIndex };\n}\nfunction createNewSegmentGroup(segmentGroup, startIndex, commands) {\n const paths = segmentGroup.segments.slice(0, startIndex);\n let i = 0;\n while (i < commands.length) {\n const command = commands[i];\n if (isCommandWithOutlets(command)) {\n const children = createNewSegmentChildren(command.outlets);\n return new UrlSegmentGroup(paths, children);\n }\n // if we start with an object literal, we need to reuse the path part from the segment\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 const curr = isCommandWithOutlets(command) ? command.outlets[PRIMARY_OUTLET] : `${command}`;\n const next = (i < commands.length - 1) ? commands[i + 1] : null;\n if (curr && next && isMatrixParams(next)) {\n paths.push(new UrlSegment(curr, stringify(next)));\n i += 2;\n }\n else {\n paths.push(new UrlSegment(curr, {}));\n i++;\n }\n }\n return new UrlSegmentGroup(paths, {});\n}\nfunction createNewSegmentChildren(outlets) {\n const children = {};\n Object.entries(outlets).forEach(([outlet, commands]) => {\n if (typeof commands === 'string') {\n commands = [commands];\n }\n if (commands !== null) {\n children[outlet] = createNewSegmentGroup(new UrlSegmentGroup([], {}), 0, commands);\n }\n });\n return children;\n}\nfunction stringify(params) {\n const res = {};\n Object.entries(params).forEach(([k, v]) => res[k] = `${v}`);\n return res;\n}\nfunction compare(path, params, segment) {\n return path == segment.path && shallowEqual(params, segment.parameters);\n}\n\nconst IMPERATIVE_NAVIGATION = 'imperative';\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 */\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 * An event triggered when a navigation starts.\n *\n * @publicApi\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 /* EventType.NavigationStart */;\n this.navigationTrigger = navigationTrigger;\n this.restoredState = restoredState;\n }\n /** @docsNotRequired */\n toString() {\n return `NavigationStart(id: ${this.id}, url: '${this.url}')`;\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 */\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 /* EventType.NavigationEnd */;\n }\n /** @docsNotRequired */\n toString() {\n return `NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`;\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 */\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 /* EventType.NavigationCancel */;\n }\n /** @docsNotRequired */\n toString() {\n return `NavigationCancel(id: ${this.id}, url: '${this.url}')`;\n }\n}\n/**\n * An event triggered when a navigation is skipped.\n * This can happen for a couple reasons including onSameUrlHandling\n * is set to `ignore` and the navigation URL is not different than the\n * current state.\n *\n * @publicApi\n */\nclass NavigationSkipped extends RouterEvent {\n constructor(\n /** @docsNotRequired */\n id, \n /** @docsNotRequired */\n url, \n /**\n * A description of why the navigation was skipped. For debug purposes only. Use `code`\n * instead for a stable skipped reason that can be used in production.\n */\n reason, \n /**\n * A code to indicate why the navigation was skipped. This 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 = 16 /* EventType.NavigationSkipped */;\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 */\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 /* EventType.NavigationError */;\n }\n /** @docsNotRequired */\n toString() {\n return `NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`;\n }\n}\n/**\n * An event triggered when routes are recognized.\n *\n * @publicApi\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 /* EventType.RoutesRecognized */;\n }\n /** @docsNotRequired */\n toString() {\n return `RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`;\n }\n}\n/**\n * An event triggered at the start of the Guard phase of routing.\n *\n * @see `GuardsCheckEnd`\n *\n * @publicApi\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 /* EventType.GuardsCheckStart */;\n }\n toString() {\n return `GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`;\n }\n}\n/**\n * An event triggered at the end of the Guard phase of routing.\n *\n * @see `GuardsCheckStart`\n *\n * @publicApi\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 /* EventType.GuardsCheckEnd */;\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 * 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 */\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 /* EventType.ResolveStart */;\n }\n toString() {\n return `ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`;\n }\n}\n/**\n * An event triggered at the end of the Resolve phase of routing.\n * @see `ResolveStart`.\n *\n * @publicApi\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 /* EventType.ResolveEnd */;\n }\n toString() {\n return `ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`;\n }\n}\n/**\n * An event triggered before lazy loading a route configuration.\n *\n * @see `RouteConfigLoadEnd`\n *\n * @publicApi\n */\nclass RouteConfigLoadStart {\n constructor(\n /** @docsNotRequired */\n route) {\n this.route = route;\n this.type = 9 /* EventType.RouteConfigLoadStart */;\n }\n toString() {\n return `RouteConfigLoadStart(path: ${this.route.path})`;\n }\n}\n/**\n * An event triggered when a route has been lazy loaded.\n *\n * @see `RouteConfigLoadStart`\n *\n * @publicApi\n */\nclass RouteConfigLoadEnd {\n constructor(\n /** @docsNotRequired */\n route) {\n this.route = route;\n this.type = 10 /* EventType.RouteConfigLoadEnd */;\n }\n toString() {\n return `RouteConfigLoadEnd(path: ${this.route.path})`;\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 */\nclass ChildActivationStart {\n constructor(\n /** @docsNotRequired */\n snapshot) {\n this.snapshot = snapshot;\n this.type = 11 /* EventType.ChildActivationStart */;\n }\n toString() {\n const path = this.snapshot.routeConfig && this.snapshot.routeConfig.path || '';\n return `ChildActivationStart(path: '${path}')`;\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 */\nclass ChildActivationEnd {\n constructor(\n /** @docsNotRequired */\n snapshot) {\n this.snapshot = snapshot;\n this.type = 12 /* EventType.ChildActivationEnd */;\n }\n toString() {\n const path = this.snapshot.routeConfig && this.snapshot.routeConfig.path || '';\n return `ChildActivationEnd(path: '${path}')`;\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 */\nclass ActivationStart {\n constructor(\n /** @docsNotRequired */\n snapshot) {\n this.snapshot = snapshot;\n this.type = 13 /* EventType.ActivationStart */;\n }\n toString() {\n const path = this.snapshot.routeConfig && this.snapshot.routeConfig.path || '';\n return `ActivationStart(path: '${path}')`;\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 */\nclass ActivationEnd {\n constructor(\n /** @docsNotRequired */\n snapshot) {\n this.snapshot = snapshot;\n this.type = 14 /* EventType.ActivationEnd */;\n }\n toString() {\n const path = this.snapshot.routeConfig && this.snapshot.routeConfig.path || '';\n return `ActivationEnd(path: '${path}')`;\n }\n}\n/**\n * An event triggered by scrolling.\n *\n * @publicApi\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 /* EventType.Scroll */;\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}\nfunction stringifyEvent(routerEvent) {\n switch (routerEvent.type) {\n case 14 /* EventType.ActivationEnd */:\n return `ActivationEnd(path: '${routerEvent.snapshot.routeConfig?.path || ''}')`;\n case 13 /* EventType.ActivationStart */:\n return `ActivationStart(path: '${routerEvent.snapshot.routeConfig?.path || ''}')`;\n case 12 /* EventType.ChildActivationEnd */:\n return `ChildActivationEnd(path: '${routerEvent.snapshot.routeConfig?.path || ''}')`;\n case 11 /* EventType.ChildActivationStart */:\n return `ChildActivationStart(path: '${routerEvent.snapshot.routeConfig?.path || ''}')`;\n case 8 /* EventType.GuardsCheckEnd */:\n return `GuardsCheckEnd(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}', state: ${routerEvent.state}, shouldActivate: ${routerEvent.shouldActivate})`;\n case 7 /* EventType.GuardsCheckStart */:\n return `GuardsCheckStart(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}', state: ${routerEvent.state})`;\n case 2 /* EventType.NavigationCancel */:\n return `NavigationCancel(id: ${routerEvent.id}, url: '${routerEvent.url}')`;\n case 16 /* EventType.NavigationSkipped */:\n return `NavigationSkipped(id: ${routerEvent.id}, url: '${routerEvent.url}')`;\n case 1 /* EventType.NavigationEnd */:\n return `NavigationEnd(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}')`;\n case 3 /* EventType.NavigationError */:\n return `NavigationError(id: ${routerEvent.id}, url: '${routerEvent.url}', error: ${routerEvent.error})`;\n case 0 /* EventType.NavigationStart */:\n return `NavigationStart(id: ${routerEvent.id}, url: '${routerEvent.url}')`;\n case 6 /* EventType.ResolveEnd */:\n return `ResolveEnd(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}', state: ${routerEvent.state})`;\n case 5 /* EventType.ResolveStart */:\n return `ResolveStart(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}', state: ${routerEvent.state})`;\n case 10 /* EventType.RouteConfigLoadEnd */:\n return `RouteConfigLoadEnd(path: ${routerEvent.route.path})`;\n case 9 /* EventType.RouteConfigLoadStart */:\n return `RouteConfigLoadStart(path: ${routerEvent.route.path})`;\n case 4 /* EventType.RoutesRecognized */:\n return `RoutesRecognized(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}', state: ${routerEvent.state})`;\n case 15 /* EventType.Scroll */:\n const pos = routerEvent.position ? `${routerEvent.position[0]}, ${routerEvent.position[1]}` : null;\n return `Scroll(anchor: '${routerEvent.anchor}', position: '${pos}')`;\n }\n}\n\n/**\n * Store contextual information about a `RouterOutlet`\n *\n * @publicApi\n */\nclass OutletContext {\n constructor() {\n this.outlet = null;\n this.route = null;\n this.injector = null;\n this.children = new ChildrenOutletContexts();\n this.attachRef = null;\n }\n}\n/**\n * Store contextual information about the children (= nested) `RouterOutlet`\n *\n * @publicApi\n */\nclass 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 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 onChildOutletDestroyed(childName) {\n const context = this.getContext(childName);\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 onOutletDeactivated() {\n const contexts = this.contexts;\n this.contexts = new Map();\n return contexts;\n }\n onOutletReAttached(contexts) {\n this.contexts = contexts;\n }\n getOrCreateContext(childName) {\n let context = this.getContext(childName);\n if (!context) {\n context = new OutletContext();\n this.contexts.set(childName, context);\n }\n return context;\n }\n getContext(childName) {\n return this.contexts.get(childName) || null;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ChildrenOutletContexts, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ChildrenOutletContexts, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ChildrenOutletContexts, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }] });\n\nclass Tree {\n constructor(root) {\n this._root = root;\n }\n get root() {\n return this._root.value;\n }\n /**\n * @internal\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 children(t) {\n const n = findNode(t, this._root);\n return n ? n.children.map(t => t.value) : [];\n }\n /**\n * @internal\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 siblings(t) {\n const p = findPath(t, this._root);\n if (p.length < 2)\n 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 pathFromRoot(t) {\n return findPath(t, this._root).map(s => s.value);\n }\n}\n// DFS for the node matching the value\nfunction findNode(value, node) {\n if (value === node.value)\n return node;\n for (const child of node.children) {\n const node = findNode(value, child);\n if (node)\n return node;\n }\n return null;\n}\n// Return the path to the node with the given value using DFS\nfunction findPath(value, node) {\n if (value === node.value)\n return [node];\n for (const child of node.children) {\n const path = findPath(value, child);\n if (path.length) {\n path.unshift(node);\n return path;\n }\n }\n return [];\n}\nclass TreeNode {\n constructor(value, children) {\n this.value = value;\n this.children = children;\n }\n toString() {\n return `TreeNode(${this.value})`;\n }\n}\n// Return the list of T indexed by outlet name\nfunction nodeChildrenAsMap(node) {\n const map = {};\n if (node) {\n node.children.forEach(child => map[child.value.outlet] = child);\n }\n return map;\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<string> = 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 */\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 toString() {\n return this.snapshot.toString();\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}\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, {});\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 */\nclass ActivatedRoute {\n /** @internal */\n constructor(\n /** @internal */\n urlSubject, \n /** @internal */\n paramsSubject, \n /** @internal */\n queryParamsSubject, \n /** @internal */\n fragmentSubject, \n /** @internal */\n dataSubject, \n /** The outlet name of the route, a constant. */\n outlet, \n /** The component of the route, a constant. */\n component, futureSnapshot) {\n this.urlSubject = urlSubject;\n this.paramsSubject = paramsSubject;\n this.queryParamsSubject = queryParamsSubject;\n this.fragmentSubject = fragmentSubject;\n this.dataSubject = dataSubject;\n this.outlet = outlet;\n this.component = component;\n this._futureSnapshot = futureSnapshot;\n this.title = this.dataSubject?.pipe(map((d) => d[RouteTitleKey])) ?? of(undefined);\n // TODO(atscott): Verify that these can be changed to `.asObservable()` with TGP.\n this.url = urlSubject;\n this.params = paramsSubject;\n this.queryParams = queryParamsSubject;\n this.fragment = fragmentSubject;\n this.data = dataSubject;\n }\n /** The configuration used to match this route. */\n get routeConfig() {\n return this._futureSnapshot.routeConfig;\n }\n /** The root of the router state. */\n get root() {\n return this._routerState.root;\n }\n /** The parent of this route in the router state tree. */\n get parent() {\n return this._routerState.parent(this);\n }\n /** The first child of this route in the router state tree. */\n get firstChild() {\n return this._routerState.firstChild(this);\n }\n /** The children of this route in the router state tree. */\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 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 get paramMap() {\n if (!this._paramMap) {\n this._paramMap = this.params.pipe(map((p) => convertToParamMap(p)));\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 get queryParamMap() {\n if (!this._queryParamMap) {\n this._queryParamMap =\n this.queryParams.pipe(map((p) => convertToParamMap(p)));\n }\n return this._queryParamMap;\n }\n toString() {\n return this.snapshot ? this.snapshot.toString() : `Future(${this._futureSnapshot})`;\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 */\nfunction inheritedParamsDataResolve(route, paramsInheritanceStrategy = 'emptyOnly') {\n const pathFromRoot = route.pathFromRoot;\n let inheritingStartingFrom = 0;\n if (paramsInheritanceStrategy !== 'always') {\n inheritingStartingFrom = pathFromRoot.length - 1;\n while (inheritingStartingFrom >= 1) {\n const current = pathFromRoot[inheritingStartingFrom];\n const parent = pathFromRoot[inheritingStartingFrom - 1];\n // current route is an empty path => inherits its parent's params and data\n if (current.routeConfig && current.routeConfig.path === '') {\n inheritingStartingFrom--;\n // parent is componentless => current route should inherit its params and data\n }\n else if (!parent.component) {\n inheritingStartingFrom--;\n }\n else {\n break;\n }\n }\n }\n return flattenInherited(pathFromRoot.slice(inheritingStartingFrom));\n}\n/** @internal */\nfunction flattenInherited(pathFromRoot) {\n return pathFromRoot.reduce((res, curr) => {\n const params = { ...res.params, ...curr.params };\n const data = { ...res.data, ...curr.data };\n const resolve = { ...curr.data, ...res.resolve, ...curr.routeConfig?.data, ...curr._resolvedData };\n return { params, data, resolve };\n }, { params: {}, data: {}, resolve: {} });\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 */\nclass ActivatedRouteSnapshot {\n /** The resolved route title */\n get title() {\n // Note: This _must_ be a getter because the data is mutated in the resolvers. Title will not be\n // available at the time of class instantiation.\n return this.data?.[RouteTitleKey];\n }\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, resolve) {\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 this.routeConfig = routeConfig;\n this._resolve = resolve;\n }\n /** The root of the router state */\n get root() {\n return this._routerState.root;\n }\n /** The parent of this route in the router state tree */\n get parent() {\n return this._routerState.parent(this);\n }\n /** The first child of this route in the router state tree */\n get firstChild() {\n return this._routerState.firstChild(this);\n }\n /** The children of this route in the router state tree */\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 get pathFromRoot() {\n return this._routerState.pathFromRoot(this);\n }\n get paramMap() {\n if (!this._paramMap) {\n this._paramMap = convertToParamMap(this.params);\n }\n return this._paramMap;\n }\n get queryParamMap() {\n if (!this._queryParamMap) {\n this._queryParamMap = convertToParamMap(this.queryParams);\n }\n return this._queryParamMap;\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 * @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<string> = child.params.map(p => p.id);\n * //...\n * }\n * }\n * ```\n *\n * @publicApi\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 toString() {\n return serializeNode(this._root);\n }\n}\nfunction setRouterState(state, node) {\n node.value._routerState = state;\n node.children.forEach(c => setRouterState(state, c));\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 */\nfunction advanceActivatedRoute(route) {\n if (route.snapshot) {\n const currentSnapshot = route.snapshot;\n const nextSnapshot = route._futureSnapshot;\n route.snapshot = nextSnapshot;\n if (!shallowEqual(currentSnapshot.queryParams, nextSnapshot.queryParams)) {\n route.queryParamsSubject.next(nextSnapshot.queryParams);\n }\n if (currentSnapshot.fragment !== nextSnapshot.fragment) {\n route.fragmentSubject.next(nextSnapshot.fragment);\n }\n if (!shallowEqual(currentSnapshot.params, nextSnapshot.params)) {\n route.paramsSubject.next(nextSnapshot.params);\n }\n if (!shallowEqualArrays(currentSnapshot.url, nextSnapshot.url)) {\n route.urlSubject.next(nextSnapshot.url);\n }\n if (!shallowEqual(currentSnapshot.data, nextSnapshot.data)) {\n route.dataSubject.next(nextSnapshot.data);\n }\n }\n else {\n route.snapshot = route._futureSnapshot;\n // this is for resolved data\n route.dataSubject.next(route._futureSnapshot.data);\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 &&\n (!a.parent || equalParamsAndUrlSegments(a.parent, b.parent));\n}\n\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 * <router-outlet></router-outlet>\n * <router-outlet name='left'></router-outlet>\n * <router-outlet name='right'></router-outlet>\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: <base-path>, component: <component>, outlet: <target_outlet_name>}`\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 * <router-outlet\n * (activate)='onActivate($event)'\n * (deactivate)='onDeactivate($event)'\n * (attach)='onAttach($event)'\n * (detach)='onDetach($event)'></router-outlet>\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 */\nclass RouterOutlet {\n constructor() {\n this.activated = null;\n this._activatedRoute = null;\n /**\n * The name of the outlet\n *\n * @see [named outlets](guide/router-tutorial-toh#displaying-multiple-routes-in-named-outlets)\n */\n this.name = PRIMARY_OUTLET;\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 this.attachEvents = new EventEmitter();\n /**\n * Emits a detached component instance when the `RouteReuseStrategy` instructs to detach the\n * subtree.\n */\n this.detachEvents = new EventEmitter();\n this.parentContexts = inject(ChildrenOutletContexts);\n this.location = inject(ViewContainerRef);\n this.changeDetector = inject(ChangeDetectorRef);\n this.environmentInjector = inject(EnvironmentInjector);\n this.inputBinder = inject(INPUT_BINDER, { optional: true });\n /** @nodoc */\n this.supportsBindingToComponentInputs = true;\n }\n /** @internal */\n get activatedComponentRef() {\n return this.activated;\n }\n /** @nodoc */\n ngOnChanges(changes) {\n if (changes['name']) {\n const { firstChange, previousValue } = changes['name'];\n if (firstChange) {\n // The first change is handled by ngOnInit. Because ngOnChanges doesn't get called when no\n // input is set at all, we need to centrally handle the first change there.\n return;\n }\n // unregister with the old name\n if (this.isTrackedInParentContexts(previousValue)) {\n this.deactivate();\n this.parentContexts.onChildOutletDestroyed(previousValue);\n }\n // register the new name\n this.initializeOutletWithName();\n }\n }\n /** @nodoc */\n ngOnDestroy() {\n // Ensure that the registered outlet is this one before removing it on the context.\n if (this.isTrackedInParentContexts(this.name)) {\n this.parentContexts.onChildOutletDestroyed(this.name);\n }\n this.inputBinder?.unsubscribeFromRouteData(this);\n }\n isTrackedInParentContexts(outletName) {\n return this.parentContexts.getContext(outletName)?.outlet === this;\n }\n /** @nodoc */\n ngOnInit() {\n this.initializeOutletWithName();\n }\n initializeOutletWithName() {\n this.parentContexts.onChildOutletCreated(this.name, this);\n if (this.activated) {\n return;\n }\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 if (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 }\n else {\n // otherwise the component defined in the configuration is created\n this.activateWith(context.route, context.injector);\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 get component() {\n if (!this.activated)\n throw new ɵRuntimeError(4012 /* RuntimeErrorCode.OUTLET_NOT_ACTIVATED */, (typeof ngDevMode === 'undefined' || ngDevMode) && 'Outlet is not activated');\n return this.activated.instance;\n }\n get activatedRoute() {\n if (!this.activated)\n throw new ɵRuntimeError(4012 /* RuntimeErrorCode.OUTLET_NOT_ACTIVATED */, (typeof ngDevMode === 'undefined' || ngDevMode) && 'Outlet is not activated');\n return this._activatedRoute;\n }\n get activatedRouteData() {\n if (this._activatedRoute) {\n return this._activatedRoute.snapshot.data;\n }\n return {};\n }\n /**\n * Called when the `RouteReuseStrategy` instructs to detach the subtree\n */\n detach() {\n if (!this.activated)\n throw new ɵRuntimeError(4012 /* RuntimeErrorCode.OUTLET_NOT_ACTIVATED */, (typeof ngDevMode === 'undefined' || ngDevMode) && '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 attach(ref, activatedRoute) {\n this.activated = ref;\n this._activatedRoute = activatedRoute;\n this.location.insert(ref.hostView);\n this.inputBinder?.bindActivatedRouteToOutletComponent(this);\n this.attachEvents.emit(ref.instance);\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 activateWith(activatedRoute, environmentInjector) {\n if (this.isActivated) {\n throw new ɵRuntimeError(4013 /* RuntimeErrorCode.OUTLET_ALREADY_ACTIVATED */, (typeof ngDevMode === 'undefined' || ngDevMode) &&\n 'Cannot activate an already activated outlet');\n }\n this._activatedRoute = activatedRoute;\n const location = this.location;\n const snapshot = activatedRoute.snapshot;\n const component = snapshot.component;\n const childContexts = this.parentContexts.getOrCreateContext(this.name).children;\n const injector = new OutletInjector(activatedRoute, childContexts, location.injector);\n this.activated = location.createComponent(component, {\n index: location.length,\n injector,\n environmentInjector: environmentInjector ?? this.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 this.changeDetector.markForCheck();\n this.inputBinder?.bindActivatedRouteToOutletComponent(this);\n this.activateEvents.emit(this.activated.instance);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RouterOutlet, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: RouterOutlet, isStandalone: true, selector: \"router-outlet\", inputs: { name: \"name\" }, outputs: { activateEvents: \"activate\", deactivateEvents: \"deactivate\", attachEvents: \"attach\", detachEvents: \"detach\" }, exportAs: [\"outlet\"], usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RouterOutlet, decorators: [{\n type: Directive,\n args: [{\n selector: 'router-outlet',\n exportAs: 'outlet',\n standalone: true,\n }]\n }], propDecorators: { name: [{\n type: Input\n }], activateEvents: [{\n type: Output,\n args: ['activate']\n }], deactivateEvents: [{\n type: Output,\n args: ['deactivate']\n }], attachEvents: [{\n type: Output,\n args: ['attach']\n }], detachEvents: [{\n type: Output,\n args: ['detach']\n }] } });\nclass OutletInjector {\n constructor(route, childContexts, parent) {\n this.route = route;\n this.childContexts = childContexts;\n this.parent = parent;\n }\n get(token, notFoundValue) {\n if (token === ActivatedRoute) {\n return this.route;\n }\n if (token === ChildrenOutletContexts) {\n return this.childContexts;\n }\n return this.parent.get(token, notFoundValue);\n }\n}\nconst INPUT_BINDER = new InjectionToken('');\n/**\n * Injectable used as a tree-shakable provider for opting in to binding router data to component\n * inputs.\n *\n * The RouterOutlet registers itself with this service when an `ActivatedRoute` is attached or\n * activated. When this happens, the service subscribes to the `ActivatedRoute` observables (params,\n * queryParams, data) and sets the inputs of the component using `ComponentRef.setInput`.\n * Importantly, when an input does not have an item in the route data with a matching key, this\n * input is set to `undefined`. If it were not done this way, the previous information would be\n * retained if the data got removed from the route (i.e. if a query parameter is removed).\n *\n * The `RouterOutlet` should unregister itself when destroyed via `unsubscribeFromRouteData` so that\n * the subscriptions are cleaned up.\n */\nclass RoutedComponentInputBinder {\n constructor() {\n this.outletDataSubscriptions = new Map;\n }\n bindActivatedRouteToOutletComponent(outlet) {\n this.unsubscribeFromRouteData(outlet);\n this.subscribeToRouteData(outlet);\n }\n unsubscribeFromRouteData(outlet) {\n this.outletDataSubscriptions.get(outlet)?.unsubscribe();\n this.outletDataSubscriptions.delete(outlet);\n }\n subscribeToRouteData(outlet) {\n const { activatedRoute } = outlet;\n const dataSubscription = combineLatest([\n activatedRoute.queryParams,\n activatedRoute.params,\n activatedRoute.data,\n ])\n .pipe(switchMap(([queryParams, params, data], index) => {\n data = { ...queryParams, ...params, ...data };\n // Get the first result from the data subscription synchronously so it's available to\n // the component as soon as possible (and doesn't require a second change detection).\n if (index === 0) {\n return of(data);\n }\n // Promise.resolve is used to avoid synchronously writing the wrong data when\n // two of the Observables in the `combineLatest` stream emit one after\n // another.\n return Promise.resolve(data);\n }))\n .subscribe(data => {\n // Outlet may have been deactivated or changed names to be associated with a different\n // route\n if (!outlet.isActivated || !outlet.activatedComponentRef ||\n outlet.activatedRoute !== activatedRoute || activatedRoute.component === null) {\n this.unsubscribeFromRouteData(outlet);\n return;\n }\n const mirror = reflectComponentType(activatedRoute.component);\n if (!mirror) {\n this.unsubscribeFromRouteData(outlet);\n return;\n }\n for (const { templateName } of mirror.inputs) {\n outlet.activatedComponentRef.setInput(templateName, data[templateName]);\n }\n });\n this.outletDataSubscriptions.set(outlet, dataSubscription);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RoutedComponentInputBinder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RoutedComponentInputBinder }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RoutedComponentInputBinder, decorators: [{\n type: Injectable\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}\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 }\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 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 const value = createActivatedRoute(curr.value);\n const children = curr.children.map(c => createNode(routeReuseStrategy, c));\n return new TreeNode(value, children);\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 return createNode(routeReuseStrategy, child);\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\nconst NAVIGATION_CANCELING_ERROR = 'ngNavigationCancelingError';\nfunction redirectingNavigationError(urlSerializer, redirect) {\n const { redirectTo, navigationBehaviorOptions } = isUrlTree(redirect) ? { redirectTo: redirect, navigationBehaviorOptions: undefined } : redirect;\n const error = navigationCancelingError(ngDevMode && `Redirecting to \"${urlSerializer.serialize(redirectTo)}\"`, 0 /* NavigationCancellationCode.Redirect */, redirect);\n error.url = redirectTo;\n error.navigationBehaviorOptions = navigationBehaviorOptions;\n return error;\n}\nfunction navigationCancelingError(message, code, redirectUrl) {\n const error = new Error('NavigationCancelingError: ' + (message || ''));\n error[NAVIGATION_CANCELING_ERROR] = true;\n error.cancellationCode = code;\n if (redirectUrl) {\n error.url = redirectUrl;\n }\n return error;\n}\nfunction isRedirectingNavigationCancelingError$1(error) {\n return isNavigationCancelingError$1(error) && isUrlTree(error.url);\n}\nfunction isNavigationCancelingError$1(error) {\n return error && error[NAVIGATION_CANCELING_ERROR];\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 */\nclass ɵEmptyOutletComponent {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ɵEmptyOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: ɵEmptyOutletComponent, isStandalone: true, selector: \"ng-component\", ngImport: i0, template: `<router-outlet></router-outlet>`, isInline: true, dependencies: [{ kind: \"directive\", type: RouterOutlet, selector: \"router-outlet\", inputs: [\"name\"], outputs: [\"activate\", \"deactivate\", \"attach\", \"detach\"], exportAs: [\"outlet\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ɵEmptyOutletComponent, decorators: [{\n type: Component,\n args: [{\n template: `<router-outlet></router-outlet>`,\n imports: [RouterOutlet],\n standalone: true,\n }]\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 */\nfunction getOrCreateRouteInjectorIfNeeded(route, currentInjector) {\n if (route.providers && !route._injector) {\n route._injector =\n createEnvironmentInjector(route.providers, currentInjector, `Route: ${route.path}`);\n }\n return route._injector ?? currentInjector;\n}\nfunction getLoadedRoutes(route) {\n return route._loadedRoutes;\n}\nfunction getLoadedInjector(route) {\n return route._loadedInjector;\n}\nfunction getLoadedComponent(route) {\n return route._loadedComponent;\n}\nfunction getProvidersInjector(route) {\n return route._injector;\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}\nfunction assertStandalone(fullPath, component) {\n if (component && ɵisNgModule(component)) {\n throw new ɵRuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '${fullPath}'. You are using 'loadComponent' with a module, ` +\n `but it must be used with standalone components. Use 'loadChildren' instead.`);\n }\n else if (component && !isStandalone(component)) {\n throw new ɵRuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '${fullPath}'. The component must be standalone.`);\n }\n}\nfunction validateNode(route, fullPath, requireStandaloneComponents) {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!route) {\n throw new ɵRuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `\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 if (Array.isArray(route)) {\n throw new ɵRuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '${fullPath}': Array cannot be specified`);\n }\n if (!route.redirectTo && !route.component && !route.loadComponent && !route.children &&\n !route.loadChildren && (route.outlet && route.outlet !== PRIMARY_OUTLET)) {\n throw new ɵRuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '${fullPath}': a componentless route without children or loadChildren cannot have a named outlet set`);\n }\n if (route.redirectTo && route.children) {\n throw new ɵRuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '${fullPath}': redirectTo and children cannot be used together`);\n }\n if (route.redirectTo && route.loadChildren) {\n throw new ɵRuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '${fullPath}': redirectTo and loadChildren cannot be used together`);\n }\n if (route.children && route.loadChildren) {\n throw new ɵRuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '${fullPath}': children and loadChildren cannot be used together`);\n }\n if (route.redirectTo && (route.component || route.loadComponent)) {\n throw new ɵRuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '${fullPath}': redirectTo and component/loadComponent cannot be used together`);\n }\n if (route.component && route.loadComponent) {\n throw new ɵRuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '${fullPath}': component and loadComponent cannot be used together`);\n }\n if (route.redirectTo && route.canActivate) {\n throw new ɵRuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '${fullPath}': redirectTo and canActivate cannot be used together. Redirects happen before activation ` +\n `so canActivate will never be executed.`);\n }\n if (route.path && route.matcher) {\n throw new ɵRuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '${fullPath}': path and matcher cannot be used together`);\n }\n if (route.redirectTo === void 0 && !route.component && !route.loadComponent &&\n !route.children && !route.loadChildren) {\n throw new ɵRuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '${fullPath}'. One of the following must be provided: component, loadComponent, redirectTo, children or loadChildren`);\n }\n if (route.path === void 0 && route.matcher === void 0) {\n throw new ɵRuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '${fullPath}': routes must have either a path or a matcher specified`);\n }\n if (typeof route.path === 'string' && route.path.charAt(0) === '/') {\n throw new ɵRuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '${fullPath}': path cannot start with a slash`);\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 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '{path: \"${fullPath}\", redirectTo: \"${route.redirectTo}\"}': please provide 'pathMatch'. ${exp}`);\n }\n if (requireStandaloneComponents) {\n assertStandalone(fullPath, route.component);\n }\n }\n if (route.children) {\n validateConfig(route.children, fullPath, requireStandaloneComponents);\n }\n}\nfunction getFullPath(parentPath, currentRoute) {\n if (!currentRoute) {\n return parentPath;\n }\n if (!parentPath && !currentRoute.path) {\n return '';\n }\n else if (parentPath && !currentRoute.path) {\n return `${parentPath}/`;\n }\n else if (!parentPath && currentRoute.path) {\n return currentRoute.path;\n }\n else {\n return `${parentPath}/${currentRoute.path}`;\n }\n}\n/**\n * Makes a copy of the config and adds any default required properties.\n */\nfunction standardizeConfig(r) {\n const children = r.children && r.children.map(standardizeConfig);\n const c = children ? { ...r, children } : { ...r };\n if ((!c.component && !c.loadComponent) && (children || c.loadChildren) &&\n (c.outlet && c.outlet !== PRIMARY_OUTLET)) {\n c.component = ɵEmptyOutletComponent;\n }\n return c;\n}\n/** Returns the `route.outlet` or PRIMARY_OUTLET if none exists. */\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 */\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 */\nfunction getClosestRouteInjector(snapshot) {\n if (!snapshot)\n return null;\n // 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 if (snapshot.routeConfig?._injector) {\n return snapshot.routeConfig._injector;\n }\n for (let s = snapshot.parent; s; s = s.parent) {\n const route = s.routeConfig;\n // 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 if (route?._loadedInjector)\n return route._loadedInjector;\n if (route?._injector)\n return route._injector;\n }\n return null;\n}\n\nlet warnedAboutUnsupportedInputBinding = false;\nconst activateRoutes = (rootContexts, routeReuseStrategy, forwardEvent, inputBindingEnabled) => map(t => {\n new ActivateRoutes(routeReuseStrategy, t.targetRouterState, t.currentRouterState, forwardEvent, inputBindingEnabled)\n .activate(rootContexts);\n return t;\n});\nclass ActivateRoutes {\n constructor(routeReuseStrategy, futureState, currState, forwardEvent, inputBindingEnabled) {\n this.routeReuseStrategy = routeReuseStrategy;\n this.futureState = futureState;\n this.currState = currState;\n this.forwardEvent = forwardEvent;\n this.inputBindingEnabled = inputBindingEnabled;\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 }\n // De-activate the child route that are not re-used for the future state\n deactivateChildRoutes(futureNode, currNode, contexts) {\n const children = nodeChildrenAsMap(currNode);\n // Recurse on the routes active in the future state to de-activate deeper children\n futureNode.children.forEach(futureChild => {\n const childOutletName = futureChild.value.outlet;\n this.deactivateRoutes(futureChild, children[childOutletName], contexts);\n delete children[childOutletName];\n });\n // De-activate the routes that will not be re-used\n Object.values(children).forEach((v) => {\n this.deactivateRouteAndItsChildren(v, contexts);\n });\n }\n deactivateRoutes(futureNode, currNode, parentContext) {\n const future = futureNode.value;\n const curr = currNode ? currNode.value : null;\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 if (context) {\n this.deactivateChildRoutes(futureNode, currNode, context.children);\n }\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 }\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 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 }\n else {\n this.deactivateRouteAndOutlet(route, parentContexts);\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 for (const childOutlet of Object.keys(children)) {\n this.deactivateRouteAndItsChildren(children[childOutlet], contexts);\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, { componentRef, route, contexts });\n }\n }\n deactivateRouteAndOutlet(route, parentContexts) {\n const context = parentContexts.getContext(route.value.outlet);\n // The context could be `null` if we are on a componentless route but there may still be\n // children that need deactivating.\n const contexts = context && route.value.component ? context.children : parentContexts;\n const children = nodeChildrenAsMap(route);\n for (const childOutlet of Object.keys(children)) {\n this.deactivateRouteAndItsChildren(children[childOutlet], contexts);\n }\n if (context) {\n if (context.outlet) {\n // Destroy the component\n context.outlet.deactivate();\n // Destroy the contexts for all the outlets that were in the component\n context.children.onOutletDeactivated();\n }\n // Clear the information about the attached component on the context but keep the reference to\n // the outlet. Clear even if outlet was not yet activated to avoid activating later with old\n // info\n context.attachRef = null;\n context.route = null;\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 if (futureNode.children.length) {\n this.forwardEvent(new ChildActivationEnd(futureNode.value.snapshot));\n }\n }\n activateRoutes(futureNode, currNode, parentContexts) {\n const future = futureNode.value;\n const curr = currNode ? currNode.value : null;\n advanceActivatedRoute(future);\n // reusing the node\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 }\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 }\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 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 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 advanceActivatedRoute(stored.route.value);\n this.activateChildRoutes(futureNode, null, context.children);\n }\n else {\n const injector = getClosestRouteInjector(future.snapshot);\n context.attachRef = null;\n context.route = future;\n context.injector = injector;\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 this.activateChildRoutes(futureNode, null, context.children);\n }\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 if ((typeof ngDevMode === 'undefined' || ngDevMode)) {\n const context = parentContexts.getOrCreateContext(future.outlet);\n const outlet = context.outlet;\n if (outlet && this.inputBindingEnabled && !outlet.supportsBindingToComponentInputs &&\n !warnedAboutUnsupportedInputBinding) {\n console.warn(`'withComponentInputBinding' feature is enabled but ` +\n `this application is using an outlet that may not support binding to component inputs.`);\n warnedAboutUnsupportedInputBinding = true;\n }\n }\n }\n}\n\nclass CanActivate {\n constructor(path) {\n this.path = path;\n this.route = this.path[this.path.length - 1];\n }\n}\nclass CanDeactivate {\n constructor(component, route) {\n this.component = component;\n this.route = route;\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}\nfunction getCanActivateChild(p) {\n const canActivateChild = p.routeConfig ? p.routeConfig.canActivateChild : null;\n if (!canActivateChild || canActivateChild.length === 0)\n return null;\n return { node: p, guards: canActivateChild };\n}\nfunction getTokenOrFunctionIdentity(tokenOrFunction, injector) {\n const NOT_FOUND = Symbol();\n const result = injector.get(tokenOrFunction, NOT_FOUND);\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 }\n else {\n // This will throw the not found error\n return injector.get(tokenOrFunction);\n }\n }\n return result;\n}\nfunction getChildRouteGuards(futureNode, currNode, contexts, futurePath, checks = {\n canDeactivateChecks: [],\n canActivateChecks: []\n}) {\n const prevChildren = nodeChildrenAsMap(currNode);\n // Process the children of the future route\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 });\n // Process any children left from the current route (not active for the future route)\n Object.entries(prevChildren)\n .forEach(([k, v]) => deactivateRouteAndItsChildren(v, contexts.getContext(k), checks));\n return checks;\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;\n // reusing the node\n if (curr && future.routeConfig === curr.routeConfig) {\n const shouldRun = shouldRunGuardsAndResolvers(curr, future, future.routeConfig.runGuardsAndResolvers);\n if (shouldRun) {\n checks.canActivateChecks.push(new CanActivate(futurePath));\n }\n else {\n // we need to set the data\n future.data = curr.data;\n future._resolvedData = curr._resolvedData;\n }\n // If we have a component, we need to go through an outlet.\n if (future.component) {\n getChildRouteGuards(futureNode, currNode, context ? context.children : null, futurePath, checks);\n // if we have a componentless route, we recurse but keep the same outlet map.\n }\n else {\n getChildRouteGuards(futureNode, currNode, parentContexts, futurePath, checks);\n }\n if (shouldRun && context && context.outlet && context.outlet.isActivated) {\n checks.canDeactivateChecks.push(new CanDeactivate(context.outlet.component, curr));\n }\n }\n else {\n if (curr) {\n deactivateRouteAndItsChildren(currNode, context, checks);\n }\n checks.canActivateChecks.push(new CanActivate(futurePath));\n // If we have a component, we need to go through an outlet.\n if (future.component) {\n getChildRouteGuards(futureNode, null, context ? context.children : null, futurePath, checks);\n // if we have a componentless route, we recurse but keep the same outlet map.\n }\n else {\n getChildRouteGuards(futureNode, null, parentContexts, futurePath, checks);\n }\n }\n return checks;\n}\nfunction shouldRunGuardsAndResolvers(curr, future, mode) {\n if (typeof mode === 'function') {\n return mode(curr, future);\n }\n switch (mode) {\n case 'pathParamsChange':\n return !equalPath(curr.url, future.url);\n case 'pathParamsOrQueryParamsChange':\n return !equalPath(curr.url, future.url) ||\n !shallowEqual(curr.queryParams, future.queryParams);\n case 'always':\n return true;\n case 'paramsOrQueryParamsChange':\n return !equalParamsAndUrlSegments(curr, future) ||\n !shallowEqual(curr.queryParams, future.queryParams);\n case 'paramsChange':\n default:\n return !equalParamsAndUrlSegments(curr, future);\n }\n}\nfunction deactivateRouteAndItsChildren(route, context, checks) {\n const children = nodeChildrenAsMap(route);\n const r = route.value;\n Object.entries(children).forEach(([childName, node]) => {\n if (!r.component) {\n deactivateRouteAndItsChildren(node, context, checks);\n }\n else if (context) {\n deactivateRouteAndItsChildren(node, context.children.getContext(childName), checks);\n }\n else {\n deactivateRouteAndItsChildren(node, null, checks);\n }\n });\n if (!r.component) {\n checks.canDeactivateChecks.push(new CanDeactivate(null, r));\n }\n else if (context && context.outlet && context.outlet.isActivated) {\n checks.canDeactivateChecks.push(new CanDeactivate(context.outlet.component, r));\n }\n else {\n checks.canDeactivateChecks.push(new CanDeactivate(null, r));\n }\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<product>(fn)) {\n * return fn(1, 2);\n * } else {\n * throw \"Must provide the `product` function\";\n * }\n */\nfunction isFunction(v) {\n return typeof v === 'function';\n}\nfunction isBoolean(v) {\n return typeof v === 'boolean';\n}\nfunction isCanLoad(guard) {\n return guard && isFunction(guard.canLoad);\n}\nfunction isCanActivate(guard) {\n return guard && isFunction(guard.canActivate);\n}\nfunction isCanActivateChild(guard) {\n return guard && isFunction(guard.canActivateChild);\n}\nfunction isCanDeactivate(guard) {\n return guard && isFunction(guard.canDeactivate);\n}\nfunction isCanMatch(guard) {\n return guard && isFunction(guard.canMatch);\n}\nfunction isRedirectingNavigationCancelingError(error) {\n return isNavigationCancelingError(error) && isUrlTree(error.url);\n}\nfunction isNavigationCancelingError(error) {\n return error && error[NAVIGATION_CANCELING_ERROR];\n}\nfunction isEmptyError(e) {\n return e instanceof EmptyError || e?.name === 'EmptyError';\n}\n\nconst INITIAL_VALUE = Symbol('INITIAL_VALUE');\nfunction prioritizedGuardValue() {\n return switchMap(obs => {\n return combineLatest(obs.map(o => o.pipe(take(1), startWith(INITIAL_VALUE))))\n .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 }\n else if (result === INITIAL_VALUE) {\n // If guard has not finished, we need to stop processing.\n return INITIAL_VALUE;\n }\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 }\n // Everything resolved to true. Return true.\n return true;\n }), filter((item) => item !== INITIAL_VALUE), take(1));\n });\n}\n\nfunction checkGuards(injector, forwardEvent) {\n return mergeMap(t => {\n const { targetSnapshot, currentSnapshot, guards: { canActivateChecks, canDeactivateChecks } } = t;\n if (canDeactivateChecks.length === 0 && canActivateChecks.length === 0) {\n return of({ ...t, guardsResult: true });\n }\n return runCanDeactivateChecks(canDeactivateChecks, targetSnapshot, currentSnapshot, injector)\n .pipe(mergeMap(canDeactivate => {\n return canDeactivate && isBoolean(canDeactivate) ?\n runCanActivateChecks(targetSnapshot, canActivateChecks, injector, forwardEvent) :\n of(canDeactivate);\n }), map(guardsResult => ({ ...t, guardsResult })));\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}\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 */\nfunction fireActivationStart(snapshot, forwardEvent) {\n if (snapshot !== null && forwardEvent) {\n forwardEvent(new ActivationStart(snapshot));\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 */\nfunction fireChildActivationStart(snapshot, forwardEvent) {\n if (snapshot !== null && forwardEvent) {\n forwardEvent(new ChildActivationStart(snapshot));\n }\n return of(true);\n}\nfunction runCanActivate(futureRSS, futureARS, injector) {\n const canActivate = futureARS.routeConfig ? futureARS.routeConfig.canActivate : null;\n if (!canActivate || canActivate.length === 0)\n return of(true);\n const canActivateObservables = canActivate.map((canActivate) => {\n return defer(() => {\n const closestInjector = getClosestRouteInjector(futureARS) ?? injector;\n const guard = getTokenOrFunctionIdentity(canActivate, closestInjector);\n const guardVal = isCanActivate(guard) ?\n guard.canActivate(futureARS, futureRSS) :\n closestInjector.runInContext(() => guard(futureARS, futureRSS));\n return wrapIntoObservable(guardVal).pipe(first());\n });\n });\n return of(canActivateObservables).pipe(prioritizedGuardValue());\n}\nfunction runCanActivateChild(futureRSS, path, injector) {\n const futureARS = path[path.length - 1];\n const canActivateChildGuards = path.slice(0, path.length - 1)\n .reverse()\n .map(p => getCanActivateChild(p))\n .filter(_ => _ !== null);\n const canActivateChildGuardsMapped = canActivateChildGuards.map((d) => {\n return defer(() => {\n const guardsMapped = d.guards.map((canActivateChild) => {\n const closestInjector = getClosestRouteInjector(d.node) ?? injector;\n const guard = getTokenOrFunctionIdentity(canActivateChild, closestInjector);\n const guardVal = isCanActivateChild(guard) ?\n guard.canActivateChild(futureARS, futureRSS) :\n 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}\nfunction runCanDeactivate(component, currARS, currRSS, futureRSS, injector) {\n const canDeactivate = currARS && currARS.routeConfig ? currARS.routeConfig.canDeactivate : null;\n if (!canDeactivate || canDeactivate.length === 0)\n return of(true);\n const canDeactivateObservables = canDeactivate.map((c) => {\n const closestInjector = getClosestRouteInjector(currARS) ?? injector;\n const guard = getTokenOrFunctionIdentity(c, closestInjector);\n const guardVal = isCanDeactivate(guard) ?\n guard.canDeactivate(component, currARS, currRSS, futureRSS) :\n closestInjector.runInContext(() => guard(component, currARS, currRSS, futureRSS));\n return wrapIntoObservable(guardVal).pipe(first());\n });\n return of(canDeactivateObservables).pipe(prioritizedGuardValue());\n}\nfunction runCanLoadGuards(injector, route, segments, urlSerializer) {\n const canLoad = route.canLoad;\n if (canLoad === undefined || canLoad.length === 0) {\n return of(true);\n }\n const canLoadObservables = canLoad.map((injectionToken) => {\n const guard = getTokenOrFunctionIdentity(injectionToken, injector);\n const guardVal = isCanLoad(guard) ?\n guard.canLoad(route, segments) :\n injector.runInContext(() => guard(route, segments));\n return wrapIntoObservable(guardVal);\n });\n return of(canLoadObservables)\n .pipe(prioritizedGuardValue(), redirectIfUrlTree(urlSerializer));\n}\nfunction redirectIfUrlTree(urlSerializer) {\n return pipe(tap((result) => {\n if (!isUrlTree(result))\n return;\n throw redirectingNavigationError(urlSerializer, result);\n }), map(result => result === true));\n}\nfunction runCanMatchGuards(injector, route, segments, urlSerializer) {\n const canMatch = route.canMatch;\n if (!canMatch || canMatch.length === 0)\n return of(true);\n const canMatchObservables = canMatch.map(injectionToken => {\n const guard = getTokenOrFunctionIdentity(injectionToken, injector);\n const guardVal = isCanMatch(guard) ?\n guard.canMatch(route, segments) :\n injector.runInContext(() => guard(route, segments));\n return wrapIntoObservable(guardVal);\n });\n return of(canMatchObservables)\n .pipe(prioritizedGuardValue(), redirectIfUrlTree(urlSerializer));\n}\n\nclass NoMatch {\n constructor(segmentGroup) {\n this.segmentGroup = segmentGroup || null;\n }\n}\nclass AbsoluteRedirect {\n constructor(urlTree) {\n this.urlTree = urlTree;\n }\n}\nfunction noMatch$1(segmentGroup) {\n return throwError(new NoMatch(segmentGroup));\n}\nfunction absoluteRedirect(newTree) {\n return throwError(new AbsoluteRedirect(newTree));\n}\nfunction namedOutletsRedirect(redirectTo) {\n return throwError(new ɵRuntimeError(4000 /* RuntimeErrorCode.NAMED_OUTLET_REDIRECT */, (typeof ngDevMode === 'undefined' || ngDevMode) &&\n `Only absolute redirects can have named outlets. redirectTo: '${redirectTo}'`));\n}\nfunction canLoadFails(route) {\n return throwError(navigationCancelingError((typeof ngDevMode === 'undefined' || ngDevMode) &&\n `Cannot load children because the guard of the route \"path: '${route.path}'\" returned false`, 3 /* NavigationCancellationCode.GuardRejected */));\n}\nclass ApplyRedirects {\n constructor(urlSerializer, urlTree) {\n this.urlSerializer = urlSerializer;\n this.urlTree = urlTree;\n }\n noMatchError(e) {\n return new ɵRuntimeError(4002 /* RuntimeErrorCode.NO_MATCH */, (typeof ngDevMode === 'undefined' || ngDevMode) &&\n `Cannot match any routes. URL Segment: '${e.segmentGroup}'`);\n }\n lineralizeSegments(route, urlTree) {\n let res = [];\n let c = urlTree.root;\n while (true) {\n res = res.concat(c.segments);\n if (c.numberOfChildren === 0) {\n return of(res);\n }\n if (c.numberOfChildren > 1 || !c.children[PRIMARY_OUTLET]) {\n return namedOutletsRedirect(route.redirectTo);\n }\n c = c.children[PRIMARY_OUTLET];\n }\n }\n applyRedirectCommands(segments, redirectTo, posParams) {\n return this.applyRedirectCreateUrlTree(redirectTo, this.urlSerializer.parse(redirectTo), segments, posParams);\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 createQueryParams(redirectToParams, actualParams) {\n const res = {};\n Object.entries(redirectToParams).forEach(([k, v]) => {\n const copySourceValue = typeof v === 'string' && v.startsWith(':');\n if (copySourceValue) {\n const sourceName = v.substring(1);\n res[k] = actualParams[sourceName];\n }\n else {\n res[k] = v;\n }\n });\n return res;\n }\n createSegmentGroup(redirectTo, group, segments, posParams) {\n const updatedSegments = this.createSegments(redirectTo, group.segments, segments, posParams);\n let children = {};\n Object.entries(group.children).forEach(([name, child]) => {\n children[name] = this.createSegmentGroup(redirectTo, child, segments, posParams);\n });\n return new UrlSegmentGroup(updatedSegments, children);\n }\n createSegments(redirectTo, redirectToSegments, actualSegments, posParams) {\n return redirectToSegments.map(s => s.path.startsWith(':') ? this.findPosParam(redirectTo, s, posParams) :\n this.findOrReturn(s, actualSegments));\n }\n findPosParam(redirectTo, redirectToUrlSegment, posParams) {\n const pos = posParams[redirectToUrlSegment.path.substring(1)];\n if (!pos)\n throw new ɵRuntimeError(4001 /* RuntimeErrorCode.MISSING_REDIRECT */, (typeof ngDevMode === 'undefined' || ngDevMode) &&\n `Cannot redirect to '${redirectTo}'. Cannot find '${redirectToUrlSegment.path}'.`);\n return pos;\n }\n findOrReturn(redirectToUrlSegment, actualSegments) {\n let idx = 0;\n for (const s of actualSegments) {\n if (s.path === redirectToUrlSegment.path) {\n actualSegments.splice(idx);\n return s;\n }\n idx++;\n }\n return redirectToUrlSegment;\n }\n}\n\nconst noMatch = {\n matched: false,\n consumedSegments: [],\n remainingSegments: [],\n parameters: {},\n positionalParamSegments: {}\n};\nfunction matchWithChecks(segmentGroup, route, segments, injector, urlSerializer) {\n const result = match(segmentGroup, route, segments);\n if (!result.matched) {\n return of(result);\n }\n // Only create the Route's `EnvironmentInjector` if it matches the attempted\n // navigation\n injector = getOrCreateRouteInjectorIfNeeded(route, injector);\n return runCanMatchGuards(injector, route, segments, urlSerializer)\n .pipe(map((v) => v === true ? result : { ...noMatch }));\n}\nfunction match(segmentGroup, route, segments) {\n if (route.path === '') {\n if (route.pathMatch === 'full' && (segmentGroup.hasChildren() || segments.length > 0)) {\n return { ...noMatch };\n }\n return {\n matched: true,\n consumedSegments: [],\n remainingSegments: segments,\n parameters: {},\n positionalParamSegments: {}\n };\n }\n const matcher = route.matcher || defaultUrlMatcher;\n const res = matcher(segments, segmentGroup, route);\n if (!res)\n return { ...noMatch };\n const posParams = {};\n Object.entries(res.posParams ?? {}).forEach(([k, v]) => {\n posParams[k] = v.path;\n });\n const parameters = res.consumed.length > 0 ?\n { ...posParams, ...res.consumed[res.consumed.length - 1].parameters } :\n 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: res.posParams ?? {}\n };\n}\nfunction split(segmentGroup, consumedSegments, slicedSegments, config) {\n if (slicedSegments.length > 0 &&\n containsEmptyPathMatchesWithNamedOutlets(segmentGroup, slicedSegments, config)) {\n const s = new UrlSegmentGroup(consumedSegments, createChildrenForEmptyPaths(config, new UrlSegmentGroup(slicedSegments, segmentGroup.children)));\n return { segmentGroup: s, slicedSegments: [] };\n }\n if (slicedSegments.length === 0 &&\n containsEmptyPathMatches(segmentGroup, slicedSegments, config)) {\n const s = new UrlSegmentGroup(segmentGroup.segments, addEmptyPathsToChildrenIfNeeded(segmentGroup, consumedSegments, slicedSegments, config, segmentGroup.children));\n return { segmentGroup: s, slicedSegments };\n }\n const s = new UrlSegmentGroup(segmentGroup.segments, segmentGroup.children);\n return { segmentGroup: s, slicedSegments };\n}\nfunction addEmptyPathsToChildrenIfNeeded(segmentGroup, consumedSegments, slicedSegments, routes, children) {\n const res = {};\n for (const r of routes) {\n if (emptyPathMatch(segmentGroup, slicedSegments, r) && !children[getOutlet(r)]) {\n const s = new UrlSegmentGroup([], {});\n res[getOutlet(r)] = s;\n }\n }\n return { ...children, ...res };\n}\nfunction createChildrenForEmptyPaths(routes, primarySegment) {\n const res = {};\n res[PRIMARY_OUTLET] = primarySegment;\n for (const r of routes) {\n if (r.path === '' && getOutlet(r) !== PRIMARY_OUTLET) {\n const s = new UrlSegmentGroup([], {});\n res[getOutlet(r)] = s;\n }\n }\n return res;\n}\nfunction containsEmptyPathMatchesWithNamedOutlets(segmentGroup, slicedSegments, routes) {\n return routes.some(r => emptyPathMatch(segmentGroup, slicedSegments, r) && getOutlet(r) !== PRIMARY_OUTLET);\n}\nfunction containsEmptyPathMatches(segmentGroup, slicedSegments, routes) {\n return routes.some(r => emptyPathMatch(segmentGroup, slicedSegments, r));\n}\nfunction emptyPathMatch(segmentGroup, slicedSegments, r) {\n if ((segmentGroup.hasChildren() || slicedSegments.length > 0) && r.pathMatch === 'full') {\n return false;\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 */\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 &&\n (outlet === PRIMARY_OUTLET || !emptyPathMatch(rawSegment, segments, route))) {\n return false;\n }\n if (route.path === '**') {\n return true;\n }\n return match(rawSegment, route, segments).matched;\n}\nfunction noLeftoversInUrl(segmentGroup, segments, outlet) {\n return segments.length === 0 && !segmentGroup.children[outlet];\n}\n\nfunction recognize$1(injector, configLoader, rootComponentType, config, urlTree, urlSerializer, paramsInheritanceStrategy = 'emptyOnly') {\n return new Recognizer(injector, configLoader, rootComponentType, config, urlTree, paramsInheritanceStrategy, urlSerializer)\n .recognize();\n}\nclass Recognizer {\n constructor(injector, configLoader, rootComponentType, config, urlTree, paramsInheritanceStrategy, urlSerializer) {\n this.injector = injector;\n this.configLoader = configLoader;\n this.rootComponentType = rootComponentType;\n this.config = config;\n this.urlTree = urlTree;\n this.paramsInheritanceStrategy = paramsInheritanceStrategy;\n this.urlSerializer = urlSerializer;\n this.allowRedirects = true;\n this.applyRedirects = new ApplyRedirects(this.urlSerializer, this.urlTree);\n }\n noMatchError(e) {\n return new ɵRuntimeError(4002 /* RuntimeErrorCode.NO_MATCH */, (typeof ngDevMode === 'undefined' || ngDevMode) &&\n `Cannot match any routes. URL Segment: '${e.segmentGroup}'`);\n }\n recognize() {\n const rootSegmentGroup = split(this.urlTree.root, [], [], this.config).segmentGroup;\n return this.processSegmentGroup(this.injector, this.config, rootSegmentGroup, PRIMARY_OUTLET)\n .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;\n this.urlTree = e.urlTree;\n return this.match(e.urlTree);\n }\n if (e instanceof NoMatch) {\n throw this.noMatchError(e);\n }\n throw e;\n }), map(children => {\n // Use Object.freeze to prevent readers of the Router state from modifying it outside\n // of a navigation, resulting in the router being out of sync with the browser.\n const root = new ActivatedRouteSnapshot([], Object.freeze({}), Object.freeze({ ...this.urlTree.queryParams }), this.urlTree.fragment, {}, PRIMARY_OUTLET, this.rootComponentType, null, {});\n const rootNode = new TreeNode(root, children);\n const routeState = new RouterStateSnapshot('', rootNode);\n const tree = createUrlTreeFromSnapshot(root, [], this.urlTree.queryParams, this.urlTree.fragment);\n // https://github.com/angular/angular/issues/47307\n // Creating the tree stringifies the query params\n // We don't want to do this here so reassign them to the original.\n tree.queryParams = this.urlTree.queryParams;\n routeState.url = this.urlSerializer.serialize(tree);\n this.inheritParamsAndData(routeState._root);\n return { state: routeState, tree };\n }));\n }\n match(tree) {\n const expanded$ = this.processSegmentGroup(this.injector, this.config, tree.root, PRIMARY_OUTLET);\n return expanded$.pipe(catchError((e) => {\n if (e instanceof NoMatch) {\n throw this.noMatchError(e);\n }\n throw e;\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 processSegmentGroup(injector, config, segmentGroup, outlet) {\n if (segmentGroup.segments.length === 0 && segmentGroup.hasChildren()) {\n return this.processChildren(injector, config, segmentGroup);\n }\n return this.processSegment(injector, config, segmentGroup, segmentGroup.segments, outlet, true);\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 processChildren(injector, config, 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 for (const child of Object.keys(segmentGroup.children)) {\n if (child === 'primary') {\n childOutlets.unshift(child);\n }\n else {\n childOutlets.push(child);\n }\n }\n return from(childOutlets)\n .pipe(concatMap(childOutlet => {\n const child = segmentGroup.children[childOutlet];\n // 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 const sortedConfig = sortByMatchingOutlets(config, childOutlet);\n return this.processSegmentGroup(injector, sortedConfig, child, childOutlet);\n }), scan((children, outletChildren) => {\n children.push(...outletChildren);\n return children;\n }), defaultIfEmpty(null), last$1(), mergeMap(children => {\n if (children === null)\n return noMatch$1(segmentGroup);\n // 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 const mergedChildren = mergeEmptyPathMatches(children);\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\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 sortActivatedRouteSnapshots(mergedChildren);\n return of(mergedChildren);\n }));\n }\n processSegment(injector, routes, segmentGroup, segments, outlet, allowRedirects) {\n return from(routes).pipe(concatMap(r => {\n return this\n .processSegmentAgainstRoute(r._injector ?? injector, routes, r, segmentGroup, segments, outlet, allowRedirects)\n .pipe(catchError((e) => {\n if (e instanceof NoMatch) {\n return of(null);\n }\n throw e;\n }));\n }), first((x) => !!x), catchError(e => {\n if (isEmptyError(e)) {\n if (noLeftoversInUrl(segmentGroup, segments, outlet)) {\n return of([]);\n }\n return noMatch$1(segmentGroup);\n }\n throw e;\n }));\n }\n processSegmentAgainstRoute(injector, routes, route, rawSegment, segments, outlet, allowRedirects) {\n if (!isImmediateMatch(route, rawSegment, segments, outlet))\n return noMatch$1(rawSegment);\n if (route.redirectTo === undefined) {\n return this.matchSegmentAgainstRoute(injector, rawSegment, route, segments, outlet, allowRedirects);\n }\n if (allowRedirects && this.allowRedirects) {\n return this.expandSegmentAgainstRouteUsingRedirect(injector, rawSegment, routes, route, segments, outlet);\n }\n return noMatch$1(rawSegment);\n }\n expandSegmentAgainstRouteUsingRedirect(injector, segmentGroup, routes, route, segments, outlet) {\n if (route.path === '**') {\n return this.expandWildCardWithParamsAgainstRouteUsingRedirect(injector, routes, route, outlet);\n }\n return this.expandRegularSegmentAgainstRouteUsingRedirect(injector, segmentGroup, routes, route, segments, outlet);\n }\n expandWildCardWithParamsAgainstRouteUsingRedirect(injector, routes, route, outlet) {\n const newTree = this.applyRedirects.applyRedirectCommands([], route.redirectTo, {});\n if (route.redirectTo.startsWith('/')) {\n return absoluteRedirect(newTree);\n }\n return this.applyRedirects.lineralizeSegments(route, newTree)\n .pipe(mergeMap((newSegments) => {\n const group = new UrlSegmentGroup(newSegments, {});\n return this.processSegment(injector, routes, group, newSegments, outlet, false);\n }));\n }\n expandRegularSegmentAgainstRouteUsingRedirect(injector, segmentGroup, routes, route, segments, outlet) {\n const { matched, consumedSegments, remainingSegments, positionalParamSegments } = match(segmentGroup, route, segments);\n if (!matched)\n return noMatch$1(segmentGroup);\n const newTree = this.applyRedirects.applyRedirectCommands(consumedSegments, route.redirectTo, positionalParamSegments);\n if (route.redirectTo.startsWith('/')) {\n return absoluteRedirect(newTree);\n }\n return this.applyRedirects.lineralizeSegments(route, newTree)\n .pipe(mergeMap((newSegments) => {\n return this.processSegment(injector, routes, segmentGroup, newSegments.concat(remainingSegments), outlet, false);\n }));\n }\n matchSegmentAgainstRoute(injector, rawSegment, route, segments, outlet, allowRedirects) {\n let matchResult;\n if (route.path === '**') {\n const params = segments.length > 0 ? last(segments).parameters : {};\n const snapshot = new ActivatedRouteSnapshot(segments, params, Object.freeze({ ...this.urlTree.queryParams }), this.urlTree.fragment, getData(route), getOutlet(route), route.component ?? route._loadedComponent ?? null, route, getResolve(route));\n matchResult = of({\n snapshot,\n consumedSegments: [],\n remainingSegments: [],\n });\n // Prior versions of the route matching algorithm would stop matching at the wildcard route.\n // We should investigate a better strategy for any existing children. Otherwise, these\n // child segments are silently dropped from the navigation.\n // https://github.com/angular/angular/issues/40089\n rawSegment.children = {};\n }\n else {\n matchResult =\n matchWithChecks(rawSegment, route, segments, injector, this.urlSerializer)\n .pipe(map(({ matched, consumedSegments, remainingSegments, parameters }) => {\n if (!matched) {\n return null;\n }\n const snapshot = new ActivatedRouteSnapshot(consumedSegments, parameters, Object.freeze({ ...this.urlTree.queryParams }), this.urlTree.fragment, getData(route), getOutlet(route), route.component ?? route._loadedComponent ?? null, route, getResolve(route));\n return { snapshot, consumedSegments, remainingSegments };\n }));\n }\n return matchResult.pipe(switchMap((result) => {\n if (result === null) {\n return noMatch$1(rawSegment);\n }\n // If the route has an injector created from providers, we should start using that.\n injector = route._injector ?? injector;\n return this.getChildConfig(injector, route, segments)\n .pipe(switchMap(({ routes: childConfig }) => {\n const childInjector = route._loadedInjector ?? injector;\n const { snapshot, consumedSegments, remainingSegments } = result;\n const { segmentGroup, slicedSegments } = split(rawSegment, consumedSegments, remainingSegments, childConfig);\n if (slicedSegments.length === 0 && segmentGroup.hasChildren()) {\n return this.processChildren(childInjector, childConfig, segmentGroup)\n .pipe(map(children => {\n if (children === null) {\n return null;\n }\n return [new TreeNode(snapshot, children)];\n }));\n }\n if (childConfig.length === 0 && slicedSegments.length === 0) {\n return of([new TreeNode(snapshot, [])]);\n }\n const matchedOnOutlet = getOutlet(route) === outlet;\n // 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 return this\n .processSegment(childInjector, childConfig, segmentGroup, slicedSegments, matchedOnOutlet ? PRIMARY_OUTLET : outlet, true)\n .pipe(map(children => {\n return [new TreeNode(snapshot, 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({ routes: route.children, injector });\n }\n if (route.loadChildren) {\n // lazy children belong to the loaded module\n if (route._loadedRoutes !== undefined) {\n return of({ routes: route._loadedRoutes, injector: route._loadedInjector });\n }\n return runCanLoadGuards(injector, route, segments, this.urlSerializer)\n .pipe(mergeMap((shouldLoadResult) => {\n if (shouldLoadResult) {\n return this.configLoader.loadChildren(injector, route)\n .pipe(tap((cfg) => {\n route._loadedRoutes = cfg.routes;\n route._loadedInjector = cfg.injector;\n }));\n }\n return canLoadFails(route);\n }));\n }\n return of({ routes: [], injector });\n }\n}\nfunction sortActivatedRouteSnapshots(nodes) {\n nodes.sort((a, b) => {\n if (a.value.outlet === PRIMARY_OUTLET)\n return -1;\n if (b.value.outlet === PRIMARY_OUTLET)\n return 1;\n return a.value.outlet.localeCompare(b.value.outlet);\n });\n}\nfunction hasEmptyPathConfig(node) {\n const config = node.value.routeConfig;\n return config && config.path === '';\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 */\nfunction mergeEmptyPathMatches(nodes) {\n const result = [];\n // The set of nodes which contain children that were merged from two duplicate empty path nodes.\n const mergedNodes = new Set();\n for (const node of nodes) {\n if (!hasEmptyPathConfig(node)) {\n result.push(node);\n continue;\n }\n const duplicateEmptyPathNode = result.find(resultNode => node.value.routeConfig === resultNode.value.routeConfig);\n if (duplicateEmptyPathNode !== undefined) {\n duplicateEmptyPathNode.children.push(...node.children);\n mergedNodes.add(duplicateEmptyPathNode);\n }\n else {\n result.push(node);\n }\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 for (const mergedNode of mergedNodes) {\n const mergedChildren = mergeEmptyPathMatches(mergedNode.children);\n result.push(new TreeNode(mergedNode.value, mergedChildren));\n }\n return result.filter(n => !mergedNodes.has(n));\n}\nfunction checkOutletNameUniqueness(nodes) {\n const names = {};\n nodes.forEach(n => {\n const routeWithSameOutletName = names[n.value.outlet];\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 /* RuntimeErrorCode.TWO_SEGMENTS_WITH_SAME_OUTLET */, (typeof ngDevMode === 'undefined' || ngDevMode) &&\n `Two segments cannot have the same outlet name: '${p}' and '${c}'.`);\n }\n names[n.value.outlet] = n.value;\n });\n}\nfunction getData(route) {\n return route.data || {};\n}\nfunction getResolve(route) {\n return route.resolve || {};\n}\n\nfunction recognize(injector, configLoader, rootComponentType, config, serializer, paramsInheritanceStrategy) {\n return mergeMap(t => recognize$1(injector, configLoader, rootComponentType, config, t.extractedUrl, serializer, paramsInheritanceStrategy)\n .pipe(map(({ state: targetSnapshot, tree: urlAfterRedirects }) => {\n return { ...t, targetSnapshot, urlAfterRedirects };\n })));\n}\n\nfunction resolveData(paramsInheritanceStrategy, injector) {\n return mergeMap(t => {\n const { targetSnapshot, guards: { canActivateChecks } } = t;\n if (!canActivateChecks.length) {\n return of(t);\n }\n let canActivateChecksResolved = 0;\n return from(canActivateChecks)\n .pipe(concatMap(check => runResolve(check.route, targetSnapshot, paramsInheritanceStrategy, injector)), tap(() => canActivateChecksResolved++), takeLast(1), mergeMap(_ => canActivateChecksResolved === canActivateChecks.length ? of(t) : EMPTY));\n });\n}\nfunction runResolve(futureARS, futureRSS, paramsInheritanceStrategy, injector) {\n const config = futureARS.routeConfig;\n const resolve = futureARS._resolve;\n if (config?.title !== undefined && !hasStaticTitle(config)) {\n resolve[RouteTitleKey] = config.title;\n }\n return resolveNode(resolve, futureARS, futureRSS, injector).pipe(map((resolvedData) => {\n futureARS._resolvedData = resolvedData;\n futureARS.data = inheritedParamsDataResolve(futureARS, paramsInheritanceStrategy).resolve;\n if (config && hasStaticTitle(config)) {\n futureARS.data[RouteTitleKey] = config.title;\n }\n return null;\n }));\n}\nfunction resolveNode(resolve, futureARS, futureRSS, injector) {\n const keys = getDataKeys(resolve);\n if (keys.length === 0) {\n return of({});\n }\n const data = {};\n return from(keys).pipe(mergeMap(key => getResolver(resolve[key], futureARS, futureRSS, injector)\n .pipe(first(), tap((value) => {\n data[key] = value;\n }))), takeLast(1), mapTo(data), catchError((e) => isEmptyError(e) ? EMPTY : throwError(e)));\n}\nfunction getDataKeys(obj) {\n return [...Object.keys(obj), ...Object.getOwnPropertySymbols(obj)];\n}\nfunction getResolver(injectionToken, futureARS, futureRSS, injector) {\n const closestInjector = getClosestRouteInjector(futureARS) ?? injector;\n const resolver = getTokenOrFunctionIdentity(injectionToken, closestInjector);\n const resolverValue = resolver.resolve ?\n resolver.resolve(futureARS, futureRSS) :\n closestInjector.runInContext(() => resolver(futureARS, futureRSS));\n return wrapIntoObservable(resolverValue);\n}\nfunction hasStaticTitle(config) {\n return typeof config.title === 'string' || config.title === null;\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 */\nfunction switchTap(next) {\n return switchMap(v => {\n const nextResult = next(v);\n if (nextResult) {\n return from(nextResult).pipe(map(() => v));\n }\n return of(v);\n });\n}\n\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 * `provideRouter`, or `Router.resetConfig()`.\n *\n * @publicApi\n */\nconst ROUTES = new InjectionToken('ROUTES');\nclass RouterConfigLoader {\n constructor() {\n this.componentLoaders = new WeakMap();\n this.childrenLoaders = new WeakMap();\n this.compiler = inject(Compiler);\n }\n loadComponent(route) {\n if (this.componentLoaders.get(route)) {\n return this.componentLoaders.get(route);\n }\n else if (route._loadedComponent) {\n return of(route._loadedComponent);\n }\n if (this.onLoadStartListener) {\n this.onLoadStartListener(route);\n }\n const loadRunner = wrapIntoObservable(route.loadComponent())\n .pipe(map(maybeUnwrapDefaultExport), tap(component => {\n if (this.onLoadEndListener) {\n this.onLoadEndListener(route);\n }\n (typeof ngDevMode === 'undefined' || ngDevMode) &&\n assertStandalone(route.path ?? '', component);\n route._loadedComponent = component;\n }), finalize(() => {\n this.componentLoaders.delete(route);\n }));\n // Use custom ConnectableObservable as share in runners pipe increasing the bundle size too much\n const loader = new ConnectableObservable(loadRunner, () => new Subject()).pipe(refCount());\n this.componentLoaders.set(route, loader);\n return loader;\n }\n loadChildren(parentInjector, route) {\n if (this.childrenLoaders.get(route)) {\n return this.childrenLoaders.get(route);\n }\n else if (route._loadedRoutes) {\n return of({ routes: route._loadedRoutes, injector: route._loadedInjector });\n }\n if (this.onLoadStartListener) {\n this.onLoadStartListener(route);\n }\n const moduleFactoryOrRoutes$ = this.loadModuleFactoryOrRoutes(route.loadChildren);\n const loadRunner = moduleFactoryOrRoutes$.pipe(map((factoryOrRoutes) => {\n if (this.onLoadEndListener) {\n this.onLoadEndListener(route);\n }\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 let injector;\n let rawRoutes;\n let requireStandaloneComponents = false;\n if (Array.isArray(factoryOrRoutes)) {\n rawRoutes = factoryOrRoutes;\n requireStandaloneComponents = true;\n }\n else {\n injector = factoryOrRoutes.create(parentInjector).injector;\n // 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 rawRoutes = injector.get(ROUTES, [], InjectFlags.Self | InjectFlags.Optional).flat();\n }\n const routes = rawRoutes.map(standardizeConfig);\n (typeof ngDevMode === 'undefined' || ngDevMode) &&\n validateConfig(routes, route.path, requireStandaloneComponents);\n return { routes, injector };\n }), finalize(() => {\n this.childrenLoaders.delete(route);\n }));\n // Use custom ConnectableObservable as share in runners pipe increasing the bundle size too much\n const loader = new ConnectableObservable(loadRunner, () => new Subject())\n .pipe(refCount());\n this.childrenLoaders.set(route, loader);\n return loader;\n }\n loadModuleFactoryOrRoutes(loadChildren) {\n return wrapIntoObservable(loadChildren())\n .pipe(map(maybeUnwrapDefaultExport), mergeMap((t) => {\n if (t instanceof NgModuleFactory || Array.isArray(t)) {\n return of(t);\n }\n else {\n return from(this.compiler.compileModuleAsync(t));\n }\n }));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RouterConfigLoader, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RouterConfigLoader, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RouterConfigLoader, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }] });\nfunction isWrappedDefaultExport(value) {\n // We use `in` here with a string key `'default'`, because we expect `DefaultExport` objects to be\n // dynamically imported ES modules with a spec-mandated `default` key. Thus we don't expect that\n // `default` will be a renamed property.\n return value && typeof value === 'object' && 'default' in value;\n}\nfunction maybeUnwrapDefaultExport(input) {\n // As per `isWrappedDefaultExport`, the `default` key here is generated by the browser and not\n // subject to property renaming, so we reference it with bracket access.\n return isWrappedDefaultExport(input) ? input['default'] : input;\n}\n\nclass NavigationTransitions {\n get hasRequestedNavigation() {\n return this.navigationId !== 0;\n }\n constructor() {\n this.currentNavigation = null;\n this.lastSuccessfulNavigation = null;\n this.events = new Subject();\n this.configLoader = inject(RouterConfigLoader);\n this.environmentInjector = inject(EnvironmentInjector);\n this.urlSerializer = inject(UrlSerializer);\n this.rootContexts = inject(ChildrenOutletContexts);\n this.inputBindingEnabled = inject(INPUT_BINDER, { optional: true }) !== null;\n this.navigationId = 0;\n /**\n * Hook that enables you to pause navigation after the preactivation phase.\n * Used by `RouterModule`.\n *\n * @internal\n */\n this.afterPreactivation = () => of(void 0);\n /** @internal */\n this.rootComponentType = null;\n const onLoadStart = (r) => this.events.next(new RouteConfigLoadStart(r));\n const onLoadEnd = (r) => this.events.next(new RouteConfigLoadEnd(r));\n this.configLoader.onLoadEndListener = onLoadEnd;\n this.configLoader.onLoadStartListener = onLoadStart;\n }\n complete() {\n this.transitions?.complete();\n }\n handleNavigationRequest(request) {\n const id = ++this.navigationId;\n this.transitions?.next({ ...this.transitions.value, ...request, id });\n }\n setupNavigations(router) {\n this.transitions = new BehaviorSubject({\n id: 0,\n currentUrlTree: router.currentUrlTree,\n currentRawUrl: router.currentUrlTree,\n extractedUrl: router.urlHandlingStrategy.extract(router.currentUrlTree),\n urlAfterRedirects: router.urlHandlingStrategy.extract(router.currentUrlTree),\n rawUrl: router.currentUrlTree,\n extras: {},\n resolve: null,\n reject: null,\n promise: Promise.resolve(true),\n source: IMPERATIVE_NAVIGATION,\n restoredState: null,\n currentSnapshot: router.routerState.snapshot,\n targetSnapshot: null,\n currentRouterState: router.routerState,\n targetRouterState: null,\n guards: { canActivateChecks: [], canDeactivateChecks: [] },\n guardsResult: null,\n });\n return this.transitions.pipe(filter(t => t.id !== 0), \n // Extract URL\n map(t => ({ ...t, extractedUrl: router.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)\n .pipe(\n // 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 ? null : {\n ...this.lastSuccessfulNavigation,\n previousNavigation: null,\n },\n };\n }), switchMap(t => {\n const browserUrlTree = router.browserUrlTree.toString();\n const urlTransition = !router.navigated ||\n t.extractedUrl.toString() !== browserUrlTree ||\n // 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 !== router.currentUrlTree.toString();\n const onSameUrlNavigation = t.extras.onSameUrlNavigation ?? router.onSameUrlNavigation;\n if (!urlTransition && onSameUrlNavigation !== 'reload') {\n const reason = (typeof ngDevMode === 'undefined' || ngDevMode) ?\n `Navigation to ${t.rawUrl} was ignored because it is the same as the current Router URL.` :\n '';\n this.events.next(new NavigationSkipped(t.id, router.serializeUrl(overallTransitionState.rawUrl), reason, 0 /* NavigationSkippedCode.IgnoredSameUrlNavigation */));\n router.rawUrlTree = t.rawUrl;\n t.resolve(null);\n return EMPTY;\n }\n if (router.urlHandlingStrategy.shouldProcessUrl(t.rawUrl)) {\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 router.browserUrlTree = t.extractedUrl;\n }\n return of(t).pipe(\n // Fire NavigationStart event\n switchMap(t => {\n const transition = this.transitions?.getValue();\n this.events.next(new NavigationStart(t.id, this.urlSerializer.serialize(t.extractedUrl), t.source, t.restoredState));\n if (transition !== this.transitions?.getValue()) {\n return EMPTY;\n }\n // This delay is required to match old behavior that forced\n // navigation to always be async\n return Promise.resolve(t);\n }), \n // Recognize\n recognize(this.environmentInjector, this.configLoader, this.rootComponentType, router.config, this.urlSerializer, router.paramsInheritanceStrategy), \n // Update URL if in `eager` update mode\n tap(t => {\n overallTransitionState.targetSnapshot = t.targetSnapshot;\n overallTransitionState.urlAfterRedirects = t.urlAfterRedirects;\n this.currentNavigation = {\n ...this.currentNavigation,\n finalUrl: t.urlAfterRedirects\n };\n if (router.urlUpdateStrategy === 'eager') {\n if (!t.extras.skipLocationChange) {\n const rawUrl = router.urlHandlingStrategy.merge(t.urlAfterRedirects, t.rawUrl);\n router.setBrowserUrl(rawUrl, t);\n }\n router.browserUrlTree = t.urlAfterRedirects;\n }\n // Fire RoutesRecognized\n const routesRecognized = new RoutesRecognized(t.id, this.urlSerializer.serialize(t.extractedUrl), this.urlSerializer.serialize(t.urlAfterRedirects), t.targetSnapshot);\n this.events.next(routesRecognized);\n }));\n }\n else if (urlTransition &&\n router.urlHandlingStrategy.shouldProcessUrl(router.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 const { id, extractedUrl, source, restoredState, extras } = t;\n const navStart = new NavigationStart(id, this.urlSerializer.serialize(extractedUrl), source, restoredState);\n this.events.next(navStart);\n const targetSnapshot = createEmptyState(extractedUrl, this.rootComponentType).snapshot;\n overallTransitionState = {\n ...t,\n targetSnapshot,\n urlAfterRedirects: extractedUrl,\n extras: { ...extras, skipLocationChange: false, replaceUrl: false },\n };\n return of(overallTransitionState);\n }\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 const reason = (typeof ngDevMode === 'undefined' || ngDevMode) ?\n `Navigation was ignored because the UrlHandlingStrategy` +\n ` indicated neither the current URL ${router.rawUrlTree} nor target URL ${t.rawUrl} should be processed.` :\n '';\n this.events.next(new NavigationSkipped(t.id, router.serializeUrl(overallTransitionState.extractedUrl), reason, 1 /* NavigationSkippedCode.IgnoredByUrlHandlingStrategy */));\n router.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.urlSerializer.serialize(t.extractedUrl), this.urlSerializer.serialize(t.urlAfterRedirects), t.targetSnapshot);\n this.events.next(guardsStart);\n }), map(t => {\n overallTransitionState = {\n ...t,\n guards: getAllRouteGuards(t.targetSnapshot, t.currentSnapshot, this.rootContexts)\n };\n return overallTransitionState;\n }), checkGuards(this.environmentInjector, (evt) => this.events.next(evt)), tap(t => {\n overallTransitionState.guardsResult = t.guardsResult;\n if (isUrlTree(t.guardsResult)) {\n throw redirectingNavigationError(this.urlSerializer, t.guardsResult);\n }\n const guardsEnd = new GuardsCheckEnd(t.id, this.urlSerializer.serialize(t.extractedUrl), this.urlSerializer.serialize(t.urlAfterRedirects), t.targetSnapshot, !!t.guardsResult);\n this.events.next(guardsEnd);\n }), filter(t => {\n if (!t.guardsResult) {\n router.restoreHistory(t);\n this.cancelNavigationTransition(t, '', 3 /* NavigationCancellationCode.GuardRejected */);\n return false;\n }\n return true;\n }), \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.urlSerializer.serialize(t.extractedUrl), this.urlSerializer.serialize(t.urlAfterRedirects), t.targetSnapshot);\n this.events.next(resolveStart);\n }), switchMap(t => {\n let dataResolved = false;\n return of(t).pipe(resolveData(router.paramsInheritanceStrategy, this.environmentInjector), tap({\n next: () => dataResolved = true,\n complete: () => {\n if (!dataResolved) {\n router.restoreHistory(t);\n this.cancelNavigationTransition(t, (typeof ngDevMode === 'undefined' || ngDevMode) ?\n `At least one route resolver didn't emit any value.` :\n '', 2 /* NavigationCancellationCode.NoDataFromResolver */);\n }\n }\n }));\n }), tap(t => {\n const resolveEnd = new ResolveEnd(t.id, this.urlSerializer.serialize(t.extractedUrl), this.urlSerializer.serialize(t.urlAfterRedirects), t.targetSnapshot);\n this.events.next(resolveEnd);\n }));\n }\n return undefined;\n }), \n // --- LOAD COMPONENTS ---\n switchTap((t) => {\n const loadComponents = (route) => {\n const loaders = [];\n if (route.routeConfig?.loadComponent &&\n !route.routeConfig._loadedComponent) {\n loaders.push(this.configLoader.loadComponent(route.routeConfig)\n .pipe(tap(loadedComponent => {\n route.component = loadedComponent;\n }), map(() => void 0)));\n }\n for (const child of route.children) {\n loaders.push(...loadComponents(child));\n }\n return loaders;\n };\n return combineLatest(loadComponents(t.targetSnapshot.root))\n .pipe(defaultIfEmpty(), take(1));\n }), switchTap(() => this.afterPreactivation()), map((t) => {\n const targetRouterState = createRouterState(router.routeReuseStrategy, t.targetSnapshot, t.currentRouterState);\n overallTransitionState = { ...t, targetRouterState };\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 router.currentUrlTree = t.urlAfterRedirects;\n router.rawUrlTree =\n router.urlHandlingStrategy.merge(t.urlAfterRedirects, t.rawUrl);\n router.routerState =\n t.targetRouterState;\n if (router.urlUpdateStrategy === 'deferred') {\n if (!t.extras.skipLocationChange) {\n router.setBrowserUrl(router.rawUrlTree, t);\n }\n router.browserUrlTree = t.urlAfterRedirects;\n }\n }), activateRoutes(this.rootContexts, router.routeReuseStrategy, (evt) => this.events.next(evt), this.inputBindingEnabled), \n // Ensure that if some observable used to drive the transition doesn't\n // complete, the navigation still finalizes This should never happen, but\n // this is done as a safety measure to avoid surfacing this error (#49567).\n take(1), tap({\n next: (t) => {\n completed = true;\n this.lastSuccessfulNavigation = this.currentNavigation;\n router.navigated = true;\n this.events.next(new NavigationEnd(t.id, this.urlSerializer.serialize(t.extractedUrl), this.urlSerializer.serialize(router.currentUrlTree)));\n router.titleStrategy?.updateTitle(t.targetRouterState.snapshot);\n t.resolve(true);\n },\n complete: () => {\n completed = true;\n }\n }), finalize(() => {\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 if (!completed && !errored) {\n const cancelationReason = (typeof ngDevMode === 'undefined' || ngDevMode) ?\n `Navigation ID ${overallTransitionState\n .id} is not equal to the current navigation id ${this.navigationId}` :\n '';\n this.cancelNavigationTransition(overallTransitionState, cancelationReason, 1 /* NavigationCancellationCode.SupersededByNewNavigation */);\n }\n // Only clear current navigation if it is still set to the one that\n // finalized.\n if (this.currentNavigation?.id === overallTransitionState.id) {\n this.currentNavigation = null;\n }\n }), catchError((e) => {\n errored = true;\n /* This error type is issued during Redirect, and is handled as a\n * cancellation rather than an error. */\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 router.navigated = true;\n router.restoreHistory(overallTransitionState, true);\n }\n const navCancel = new NavigationCancel(overallTransitionState.id, this.urlSerializer.serialize(overallTransitionState.extractedUrl), e.message, e.cancellationCode);\n this.events.next(navCancel);\n // When redirecting, we need to delay resolving the navigation\n // promise and push it to the redirect navigation\n if (!isRedirectingNavigationCancelingError$1(e)) {\n overallTransitionState.resolve(false);\n }\n else {\n const mergedTree = router.urlHandlingStrategy.merge(e.url, router.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: router.urlUpdateStrategy === 'eager' ||\n isBrowserTriggeredNavigation(overallTransitionState.source)\n };\n router.scheduleNavigation(mergedTree, IMPERATIVE_NAVIGATION, 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 router.restoreHistory(overallTransitionState, true);\n const navError = new NavigationError(overallTransitionState.id, this.urlSerializer.serialize(overallTransitionState.extractedUrl), e, overallTransitionState.targetSnapshot ?? undefined);\n this.events.next(navError);\n try {\n overallTransitionState.resolve(router.errorHandler(e));\n }\n catch (ee) {\n overallTransitionState.reject(ee);\n }\n }\n return EMPTY;\n }));\n // casting because `pipe` returns observable({}) when called with 8+ arguments\n }));\n }\n cancelNavigationTransition(t, reason, code) {\n const navCancel = new NavigationCancel(t.id, this.urlSerializer.serialize(t.extractedUrl), reason, code);\n this.events.next(navCancel);\n t.resolve(false);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NavigationTransitions, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NavigationTransitions, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NavigationTransitions, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return []; } });\nfunction isBrowserTriggeredNavigation(source) {\n return source !== IMPERATIVE_NAVIGATION;\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 */\nclass TitleStrategy {\n /**\n * @returns The `title` of the deepest primary route.\n */\n buildTitle(snapshot) {\n let pageTitle;\n let route = snapshot.root;\n while (route !== undefined) {\n pageTitle = this.getResolvedTitleForRoute(route) ?? pageTitle;\n route = route.children.find(child => child.outlet === PRIMARY_OUTLET);\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 getResolvedTitleForRoute(snapshot) {\n return snapshot.data[RouteTitleKey];\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: TitleStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: TitleStrategy, providedIn: 'root', useFactory: () => inject(DefaultTitleStrategy) }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: TitleStrategy, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root', useFactory: () => inject(DefaultTitleStrategy) }]\n }] });\n/**\n * The default `TitleStrategy` used by the router that updates the title using the `Title` service.\n */\nclass 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 updateTitle(snapshot) {\n const title = this.buildTitle(snapshot);\n if (title !== undefined) {\n this.title.setTitle(title);\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DefaultTitleStrategy, deps: [{ token: i1.Title }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DefaultTitleStrategy, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DefaultTitleStrategy, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: i1.Title }]; } });\n\n/**\n * @description\n *\n * Provides a way to customize when activated routes get reused.\n *\n * @publicApi\n */\nclass RouteReuseStrategy {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RouteReuseStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RouteReuseStrategy, providedIn: 'root', useFactory: () => inject(DefaultRouteReuseStrategy) }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RouteReuseStrategy, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root', useFactory: () => inject(DefaultRouteReuseStrategy) }]\n }] });\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 */\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 store(route, detachedTree) { }\n /** Returns `false`, meaning the route (and its subtree) is never reattached */\n shouldAttach(route) {\n return false;\n }\n /** Returns `null` because this strategy does not store routes for later re-use. */\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 shouldReuseRoute(future, curr) {\n return future.routeConfig === curr.routeConfig;\n }\n}\nclass DefaultRouteReuseStrategy extends BaseRouteReuseStrategy {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DefaultRouteReuseStrategy, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DefaultRouteReuseStrategy, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DefaultRouteReuseStrategy, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }] });\n\n/**\n * A [DI token](guide/glossary/#di-token) for the router service.\n *\n * @publicApi\n */\nconst ROUTER_CONFIGURATION = new InjectionToken((typeof ngDevMode === 'undefined' || ngDevMode) ? 'router config' : '', {\n providedIn: 'root',\n factory: () => ({}),\n});\n\n/**\n * @description\n *\n * Provides a way to migrate AngularJS applications to Angular.\n *\n * @publicApi\n */\nclass UrlHandlingStrategy {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: UrlHandlingStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: UrlHandlingStrategy, providedIn: 'root', useFactory: () => inject(DefaultUrlHandlingStrategy) }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: UrlHandlingStrategy, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root', useFactory: () => inject(DefaultUrlHandlingStrategy) }]\n }] });\n/**\n * @publicApi\n */\nclass DefaultUrlHandlingStrategy {\n shouldProcessUrl(url) {\n return true;\n }\n extract(url) {\n return url;\n }\n merge(newUrlPart, wholeUrl) {\n return newUrlPart;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DefaultUrlHandlingStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DefaultUrlHandlingStrategy, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DefaultUrlHandlingStrategy, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }] });\n\nvar NavigationResult;\n(function (NavigationResult) {\n NavigationResult[NavigationResult[\"COMPLETE\"] = 0] = \"COMPLETE\";\n NavigationResult[NavigationResult[\"FAILED\"] = 1] = \"FAILED\";\n NavigationResult[NavigationResult[\"REDIRECTING\"] = 2] = \"REDIRECTING\";\n})(NavigationResult || (NavigationResult = {}));\n/**\n * Performs the given action once the router finishes its next/current navigation.\n *\n * The navigation is considered complete under the following conditions:\n * - `NavigationCancel` event emits and the code is not `NavigationCancellationCode.Redirect` or\n * `NavigationCancellationCode.SupersededByNewNavigation`. In these cases, the\n * redirecting/superseding navigation must finish.\n * - `NavigationError`, `NavigationEnd`, or `NavigationSkipped` event emits\n */\nfunction afterNextNavigation(router, action) {\n router.events\n .pipe(filter((e) => e instanceof NavigationEnd || e instanceof NavigationCancel ||\n e instanceof NavigationError || e instanceof NavigationSkipped), map(e => {\n if (e instanceof NavigationEnd || e instanceof NavigationSkipped) {\n return NavigationResult.COMPLETE;\n }\n const redirecting = e instanceof NavigationCancel ?\n (e.code === 0 /* NavigationCancellationCode.Redirect */ ||\n e.code === 1 /* NavigationCancellationCode.SupersededByNewNavigation */) :\n false;\n return redirecting ? NavigationResult.REDIRECTING : NavigationResult.FAILED;\n }), filter((result) => result !== NavigationResult.REDIRECTING), take(1))\n .subscribe(() => {\n action();\n });\n}\n\nfunction defaultErrorHandler(error) {\n throw error;\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 */\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 */\nconst subsetMatchOptions = {\n paths: 'subset',\n fragment: 'ignored',\n matrixParams: 'ignored',\n queryParams: 'subset'\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 */\nclass Router {\n // TODO(b/260747083): This should not exist and navigationId should be private in\n // `NavigationTransitions`\n get navigationId() {\n return this.navigationTransitions.navigationId;\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 get browserPageId() {\n if (this.canceledNavigationResolution !== 'computed') {\n return undefined;\n }\n return this.location.getState()?.ɵrouterPageId;\n }\n /**\n * An event stream for routing events.\n */\n get events() {\n // TODO(atscott): This _should_ be events.asObservable(). However, this change requires internal\n // cleanup: tests are doing `(route.events as Subject<Event>).next(...)`. This isn't\n // allowed/supported but we still have to fix these or file bugs against the teams before making\n // the change.\n return this.navigationTransitions.events;\n }\n constructor() {\n this.disposed = false;\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 this.currentPageId = 0;\n this.console = inject(ɵConsole);\n this.isNgZoneEnabled = false;\n this.options = inject(ROUTER_CONFIGURATION, { optional: true }) || {};\n this.pendingTasks = inject(ɵInitialRenderPendingTasks);\n /**\n * A handler for navigation errors in this NgModule.\n *\n * @deprecated Subscribe to the `Router` events and watch for `NavigationError` instead.\n * `provideRouter` has the `withNavigationErrorHandler` feature to make this easier.\n * @see `withNavigationErrorHandler`\n */\n this.errorHandler = this.options.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 * @deprecated URI parsing errors should be handled in the `UrlSerializer`.\n *\n * @see `RouterModule`\n */\n this.malformedUriErrorHandler = this.options.malformedUriErrorHandler || defaultMalformedUriErrorHandler;\n /**\n * True if at least one navigation event has occurred,\n * false otherwise.\n */\n this.navigated = false;\n this.lastSuccessfulId = -1;\n /**\n * A strategy for extracting and merging URLs.\n * Used for AngularJS to Angular migrations.\n *\n * @deprecated Configure using `providers` instead:\n * `{provide: UrlHandlingStrategy, useClass: MyStrategy}`.\n */\n this.urlHandlingStrategy = inject(UrlHandlingStrategy);\n /**\n * A strategy for re-using routes.\n *\n * @deprecated Configure using `providers` instead:\n * `{provide: RouteReuseStrategy, useClass: MyStrategy}`.\n */\n this.routeReuseStrategy = inject(RouteReuseStrategy);\n /**\n * A strategy for setting the title based on the `routerState`.\n *\n * @deprecated Configure using `providers` instead:\n * `{provide: TitleStrategy, useClass: MyStrategy}`.\n */\n this.titleStrategy = inject(TitleStrategy);\n /**\n * How to handle a navigation request to the current URL.\n *\n *\n * @deprecated Configure this through `provideRouter` or `RouterModule.forRoot` instead.\n * @see `withRouterConfig`\n * @see `provideRouter`\n * @see `RouterModule`\n */\n this.onSameUrlNavigation = this.options.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 * @deprecated Configure this through `provideRouter` or `RouterModule.forRoot` instead.\n * @see `withRouterConfig`\n * @see `provideRouter`\n * @see `RouterModule`\n */\n this.paramsInheritanceStrategy = this.options.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 * @deprecated Configure this through `provideRouter` or `RouterModule.forRoot` instead.\n * @see `withRouterConfig`\n * @see `provideRouter`\n * @see `RouterModule`\n */\n this.urlUpdateStrategy = this.options.urlUpdateStrategy || 'deferred';\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 * @deprecated Configure this through `provideRouter` or `RouterModule.forRoot` instead.\n * @see `withRouterConfig`\n * @see `provideRouter`\n * @see `RouterModule`\n */\n this.canceledNavigationResolution = this.options.canceledNavigationResolution || 'replace';\n this.config = inject(ROUTES, { optional: true })?.flat() ?? [];\n this.navigationTransitions = inject(NavigationTransitions);\n this.urlSerializer = inject(UrlSerializer);\n this.location = inject(Location);\n /**\n * Indicates whether the the application has opted in to binding Router data to component inputs.\n *\n * This option is enabled by the `withComponentInputBinding` feature of `provideRouter` or\n * `bindToComponentInputs` in the `ExtraOptions` of `RouterModule.forRoot`.\n */\n this.componentInputBindingEnabled = !!inject(INPUT_BINDER, { optional: true });\n this.isNgZoneEnabled = inject(NgZone) instanceof NgZone && NgZone.isInAngularZone();\n this.resetConfig(this.config);\n this.currentUrlTree = new UrlTree();\n this.rawUrlTree = this.currentUrlTree;\n this.browserUrlTree = this.currentUrlTree;\n this.routerState = createEmptyState(this.currentUrlTree, null);\n this.navigationTransitions.setupNavigations(this).subscribe(t => {\n this.lastSuccessfulId = t.id;\n this.currentPageId = this.browserPageId ?? 0;\n }, e => {\n this.console.warn(`Unhandled Navigation Error: ${e}`);\n });\n }\n /** @internal */\n resetRootComponentType(rootComponentType) {\n // TODO: vsavkin router 4.0 should make the root component set to null\n // this will simplify the lifecycle of the router.\n this.routerState.root.component = rootComponentType;\n this.navigationTransitions.rootComponentType = rootComponentType;\n }\n /**\n * Sets up the location change listener and performs the initial navigation.\n */\n initialNavigation() {\n this.setUpLocationChangeListener();\n if (!this.navigationTransitions.hasRequestedNavigation) {\n const state = this.location.getState();\n this.navigateToSyncWithBrowser(this.location.path(true), IMPERATIVE_NAVIGATION, state);\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 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 if (source === 'popstate') {\n // The `setTimeout` was added in #12160 and is likely to support Angular/AngularJS\n // hybrid apps.\n setTimeout(() => {\n this.navigateToSyncWithBrowser(event['url'], source, event.state);\n }, 0);\n }\n });\n }\n }\n /**\n * Schedules a router navigation to synchronize Router state with the browser state.\n *\n * This is done as a response to a popstate event and the initial navigation. These\n * two scenarios represent times when the browser URL/state has been updated and\n * the Router needs to respond to ensure its internal state matches.\n */\n navigateToSyncWithBrowser(url, source, state) {\n const extras = { replaceUrl: true };\n // TODO: restoredState should always include the entire state, regardless\n // of navigationId. This requires a breaking change to update the type on\n // NavigationStart’s restoredState, which currently requires navigationId\n // to always be present. The Router used to only restore history state if\n // a navigationId was present.\n // The stored navigationId is used by the RouterScroller to retrieve the scroll\n // position for the page.\n const restoredState = state?.navigationId ? state : null;\n // Separate to NavigationStart.restoredState, we must also restore the state to\n // history.state and generate a new navigationId, since it will be overwritten\n if (state) {\n const stateCopy = { ...state };\n delete stateCopy.navigationId;\n delete stateCopy.ɵrouterPageId;\n if (Object.keys(stateCopy).length !== 0) {\n extras.state = stateCopy;\n }\n }\n const urlTree = this.parseUrl(url);\n this.scheduleNavigation(urlTree, source, restoredState, extras);\n }\n /** The current URL. */\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 getCurrentNavigation() {\n return this.navigationTransitions.currentNavigation;\n }\n /**\n * The `Navigation` object of the most recent navigation to succeed and `null` if there\n * has not been a successful navigation yet.\n */\n get lastSuccessfulNavigation() {\n return this.navigationTransitions.lastSuccessfulNavigation;\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 resetConfig(config) {\n (typeof ngDevMode === 'undefined' || ngDevMode) && validateConfig(config);\n this.config = config.map(standardizeConfig);\n this.navigated = false;\n this.lastSuccessfulId = -1;\n }\n /** @nodoc */\n ngOnDestroy() {\n this.dispose();\n }\n /** Disposes of the router. */\n dispose() {\n this.navigationTransitions.complete();\n if (this.locationSubscription) {\n this.locationSubscription.unsubscribe();\n this.locationSubscription = undefined;\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 createUrlTree(commands, navigationExtras = {}) {\n const { relativeTo, queryParams, fragment, queryParamsHandling, preserveFragment } = navigationExtras;\n const f = preserveFragment ? this.currentUrlTree.fragment : fragment;\n let q = null;\n switch (queryParamsHandling) {\n case 'merge':\n q = { ...this.currentUrlTree.queryParams, ...queryParams };\n break;\n case 'preserve':\n q = this.currentUrlTree.queryParams;\n break;\n default:\n q = queryParams || null;\n }\n if (q !== null) {\n q = this.removeEmptyProps(q);\n }\n let relativeToUrlSegmentGroup;\n try {\n const relativeToSnapshot = relativeTo ? relativeTo.snapshot : this.routerState.snapshot.root;\n relativeToUrlSegmentGroup = createSegmentGroupFromRoute(relativeToSnapshot);\n }\n catch (e) {\n // This is strictly for backwards compatibility with tests that create\n // invalid `ActivatedRoute` mocks.\n // Note: the difference between having this fallback for invalid `ActivatedRoute` setups and\n // just throwing is ~500 test failures. Fixing all of those tests by hand is not feasible at\n // the moment.\n if (typeof commands[0] !== 'string' || !commands[0].startsWith('/')) {\n // Navigations that were absolute in the old way of creating UrlTrees\n // would still work because they wouldn't attempt to match the\n // segments in the `ActivatedRoute` to the `currentUrlTree` but\n // instead just replace the root segment with the navigation result.\n // Non-absolute navigations would fail to apply the commands because\n // the logic could not find the segment to replace (so they'd act like there were no\n // commands).\n commands = [];\n }\n relativeToUrlSegmentGroup = this.currentUrlTree.root;\n }\n return createUrlTreeFromSegmentGroup(relativeToUrlSegmentGroup, commands, q, 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 navigateByUrl(url, extras = {\n skipLocationChange: false\n }) {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (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_NAVIGATION, 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 navigate(commands, extras = { skipLocationChange: false }) {\n validateCommands(commands);\n return this.navigateByUrl(this.createUrlTree(commands, extras), extras);\n }\n /** Serializes a `UrlTree` into a string */\n serializeUrl(url) {\n return this.urlSerializer.serialize(url);\n }\n /** Parses a string into a `UrlTree` */\n parseUrl(url) {\n let urlTree;\n try {\n urlTree = this.urlSerializer.parse(url);\n }\n catch (e) {\n urlTree = this.malformedUriErrorHandler(e, this.urlSerializer, url);\n }\n return urlTree;\n }\n isActive(url, matchOptions) {\n let options;\n if (matchOptions === true) {\n options = { ...exactMatchOptions };\n }\n else if (matchOptions === false) {\n options = { ...subsetMatchOptions };\n }\n else {\n options = matchOptions;\n }\n if (isUrlTree(url)) {\n return containsTree(this.currentUrlTree, url, options);\n }\n const urlTree = this.parseUrl(url);\n return containsTree(this.currentUrlTree, urlTree, options);\n }\n removeEmptyProps(params) {\n return Object.keys(params).reduce((result, key) => {\n const value = params[key];\n if (value !== null && value !== undefined) {\n result[key] = value;\n }\n return result;\n }, {});\n }\n /** @internal */\n scheduleNavigation(rawUrl, source, restoredState, extras, priorPromise) {\n if (this.disposed) {\n return Promise.resolve(false);\n }\n let resolve;\n let reject;\n let promise;\n if (priorPromise) {\n resolve = priorPromise.resolve;\n reject = priorPromise.reject;\n promise = priorPromise.promise;\n }\n else {\n promise = new Promise((res, rej) => {\n resolve = res;\n reject = rej;\n });\n }\n // Indicate that the navigation is happening.\n const taskId = this.pendingTasks.add();\n afterNextNavigation(this, () => {\n // Remove pending task in a microtask to allow for cancelled\n // initial navigations and redirects within the same task.\n Promise.resolve().then(() => this.pendingTasks.remove(taskId));\n });\n this.navigationTransitions.handleNavigationRequest({\n source,\n restoredState,\n currentUrlTree: this.currentUrlTree,\n currentRawUrl: this.currentUrlTree,\n rawUrl,\n extras,\n resolve,\n reject,\n promise,\n currentSnapshot: this.routerState.snapshot,\n currentRouterState: this.routerState\n });\n // Make sure that the error is propagated even though `processNavigations` catch\n // handler does not rethrow\n return promise.catch((e) => {\n return Promise.reject(e);\n });\n }\n /** @internal */\n setBrowserUrl(url, transition) {\n const path = this.urlSerializer.serialize(url);\n if (this.location.isCurrentPathEqualTo(path) || !!transition.extras.replaceUrl) {\n // replacements do not update the target page\n const currentBrowserPageId = this.browserPageId;\n const state = {\n ...transition.extras.state,\n ...this.generateNgRouterState(transition.id, currentBrowserPageId)\n };\n this.location.replaceState(path, '', state);\n }\n else {\n const state = {\n ...transition.extras.state,\n ...this.generateNgRouterState(transition.id, (this.browserPageId ?? 0) + 1)\n };\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 * @internal\n */\n restoreHistory(transition, restoringFromCaughtError = false) {\n if (this.canceledNavigationResolution === 'computed') {\n const currentBrowserPageId = this.browserPageId ?? this.currentPageId;\n const targetPagePosition = this.currentPageId - currentBrowserPageId;\n if (targetPagePosition !== 0) {\n this.location.historyGo(targetPagePosition);\n }\n else if (this.currentUrlTree === this.getCurrentNavigation()?.finalUrl &&\n 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(transition);\n // TODO(atscott): resetting the `browserUrlTree` should really be done in `resetState`.\n // Investigate if this can be done by running TGP.\n this.browserUrlTree = transition.currentUrlTree;\n this.resetUrlToCurrentUrlTree();\n }\n else {\n // The browser URL and router state was not updated before the navigation cancelled so\n // there's no restoration needed.\n }\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(transition);\n }\n this.resetUrlToCurrentUrlTree();\n }\n }\n resetState(t) {\n this.routerState = t.currentRouterState;\n this.currentUrlTree = t.currentUrlTree;\n // 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 this.rawUrlTree = this.urlHandlingStrategy.merge(this.currentUrlTree, t.rawUrl);\n }\n resetUrlToCurrentUrlTree() {\n this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree), '', this.generateNgRouterState(this.lastSuccessfulId, this.currentPageId));\n }\n generateNgRouterState(navigationId, routerPageId) {\n if (this.canceledNavigationResolution === 'computed') {\n return { navigationId, ɵrouterPageId: routerPageId };\n }\n return { navigationId };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: Router, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: Router, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: Router, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return []; } });\nfunction validateCommands(commands) {\n for (let i = 0; i < commands.length; i++) {\n const cmd = commands[i];\n if (cmd == null) {\n throw new ɵRuntimeError(4008 /* RuntimeErrorCode.NULLISH_COMMAND */, (typeof ngDevMode === 'undefined' || ngDevMode) &&\n `The requested path contains ${cmd} segment at index ${i}`);\n }\n }\n}\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 `<router-outlet>` 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 * `<a routerLink=\"/user/bob\">link to user component</a>`\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 `<a [routerLink]=\"['/user/jim']\">Jim</a>` 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 * <a [routerLink]=\"['/user/bob']\" [queryParams]=\"{debug: true}\" fragment=\"education\">\n * link to user component\n * </a>\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 * <a [routerLink]=\"['/user/bob']\" [queryParams]=\"{debug: true}\" queryParamsHandling=\"merge\">\n * link to user component\n * </a>\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 * <a [routerLink]=\"['/user/bob']\" [state]=\"{tracingId: 123}\">\n * link to user component\n * </a>\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 */\nclass RouterLink {\n constructor(router, route, tabIndexAttribute, renderer, el, locationStrategy) {\n this.router = router;\n this.route = route;\n this.tabIndexAttribute = tabIndexAttribute;\n this.renderer = renderer;\n this.el = el;\n this.locationStrategy = locationStrategy;\n this._preserveFragment = false;\n this._skipLocationChange = false;\n this._replaceUrl = false;\n /**\n * Represents an `href` attribute value applied to a host element,\n * when a host element is `<a>`. For other tags, the value is `null`.\n */\n this.href = null;\n this.commands = null;\n /** @internal */\n this.onChanges = new Subject();\n const tagName = el.nativeElement.tagName?.toLowerCase();\n this.isAnchorElement = tagName === 'a' || tagName === 'area';\n if (this.isAnchorElement) {\n this.subscription = router.events.subscribe((s) => {\n if (s instanceof NavigationEnd) {\n this.updateHref();\n }\n });\n }\n else {\n this.setTabIndexIfNotOnNativeEl('0');\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 set preserveFragment(preserveFragment) {\n this._preserveFragment = ɵcoerceToBoolean(preserveFragment);\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 set skipLocationChange(skipLocationChange) {\n this._skipLocationChange = ɵcoerceToBoolean(skipLocationChange);\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 set replaceUrl(replaceUrl) {\n this._replaceUrl = ɵcoerceToBoolean(replaceUrl);\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 setTabIndexIfNotOnNativeEl(newTabIndex) {\n if (this.tabIndexAttribute != null /* both `null` and `undefined` */ || this.isAnchorElement) {\n return;\n }\n this.applyAttributeValue('tabindex', newTabIndex);\n }\n /** @nodoc */\n ngOnChanges(changes) {\n if (this.isAnchorElement) {\n this.updateHref();\n }\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 set routerLink(commands) {\n if (commands != null) {\n this.commands = Array.isArray(commands) ? commands : [commands];\n this.setTabIndexIfNotOnNativeEl('0');\n }\n else {\n this.commands = null;\n this.setTabIndexIfNotOnNativeEl(null);\n }\n }\n /** @nodoc */\n onClick(button, ctrlKey, shiftKey, altKey, metaKey) {\n if (this.urlTree === null) {\n return true;\n }\n if (this.isAnchorElement) {\n if (button !== 0 || ctrlKey || shiftKey || altKey || metaKey) {\n return true;\n }\n if (typeof this.target === 'string' && this.target != '_self') {\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` for `<a>` elements to prevent default action\n // and cancel the native behavior, since the navigation is handled\n // by the Router.\n return !this.isAnchorElement;\n }\n /** @nodoc */\n ngOnDestroy() {\n this.subscription?.unsubscribe();\n }\n updateHref() {\n this.href = this.urlTree !== null && this.locationStrategy ?\n this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)) :\n null;\n const sanitizedValue = this.href === null ?\n null :\n // This class represents a directive that can be added to both `<a>` elements,\n // as well as other elements. As a result, we can't define security context at\n // compile time. So the security context is deferred to runtime.\n // The `ɵɵsanitizeUrlOrResourceUrl` selects the necessary sanitizer function\n // based on the tag and property names. The logic mimics the one from\n // `packages/compiler/src/schema/dom_security_schema.ts`, which is used at compile time.\n //\n // Note: we should investigate whether we can switch to using `@HostBinding('attr.href')`\n // instead of applying a value via a renderer, after a final merge of the\n // `RouterLinkWithHref` directive.\n ɵɵsanitizeUrlOrResourceUrl(this.href, this.el.nativeElement.tagName.toLowerCase(), 'href');\n this.applyAttributeValue('href', sanitizedValue);\n }\n applyAttributeValue(attrName, attrValue) {\n const renderer = this.renderer;\n const nativeElement = this.el.nativeElement;\n if (attrValue !== null) {\n renderer.setAttribute(nativeElement, attrName, attrValue);\n }\n else {\n renderer.removeAttribute(nativeElement, attrName);\n }\n }\n get urlTree() {\n if (this.commands === null) {\n return null;\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 static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RouterLink, deps: [{ token: Router }, { token: ActivatedRoute }, { token: 'tabindex', attribute: true }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i3.LocationStrategy }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: RouterLink, isStandalone: true, selector: \"[routerLink]\", inputs: { target: \"target\", queryParams: \"queryParams\", fragment: \"fragment\", queryParamsHandling: \"queryParamsHandling\", state: \"state\", relativeTo: \"relativeTo\", preserveFragment: \"preserveFragment\", skipLocationChange: \"skipLocationChange\", replaceUrl: \"replaceUrl\", routerLink: \"routerLink\" }, host: { listeners: { \"click\": \"onClick($event.button,$event.ctrlKey,$event.shiftKey,$event.altKey,$event.metaKey)\" }, properties: { \"attr.target\": \"this.target\" } }, usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RouterLink, decorators: [{\n type: Directive,\n args: [{\n selector: '[routerLink]',\n standalone: true,\n }]\n }], ctorParameters: function () { return [{ type: Router }, { type: ActivatedRoute }, { type: undefined, decorators: [{\n type: Attribute,\n args: ['tabindex']\n }] }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i3.LocationStrategy }]; }, propDecorators: { target: [{\n type: HostBinding,\n args: ['attr.target']\n }, {\n type: Input\n }], queryParams: [{\n type: Input\n }], fragment: [{\n type: Input\n }], queryParamsHandling: [{\n type: Input\n }], state: [{\n type: Input\n }], relativeTo: [{\n type: Input\n }], preserveFragment: [{\n type: Input\n }], skipLocationChange: [{\n type: Input\n }], replaceUrl: [{\n type: Input\n }], routerLink: [{\n type: Input\n }], onClick: [{\n type: HostListener,\n args: ['click',\n ['$event.button', '$event.ctrlKey', '$event.shiftKey', '$event.altKey', '$event.metaKey']]\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 * <a routerLink=\"/user/bob\" routerLinkActive=\"active-link\">Bob</a>\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 * <a routerLink=\"/user/bob\" routerLinkActive=\"class1 class2\">Bob</a>\n * <a routerLink=\"/user/bob\" [routerLinkActive]=\"['class1', 'class2']\">Bob</a>\n * ```\n *\n * To add the classes only when the URL matches the link exactly, add the option `exact: true`:\n *\n * ```\n * <a routerLink=\"/user/bob\" routerLinkActive=\"active-link\" [routerLinkActiveOptions]=\"{exact:\n * true}\">Bob</a>\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 * <a routerLink=\"/user/bob\" routerLinkActive #rla=\"routerLinkActive\">\n * Bob {{ rla.isActive ? '(already open)' : ''}}\n * </a>\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 `<div>` parent tag\n * when the URL is either '/user/jim' or '/user/bob'.\n *\n * ```\n * <div routerLinkActive=\"active-link\" [routerLinkActiveOptions]=\"{exact: true}\">\n * <a routerLink=\"/user/jim\">Jim</a>\n * <a routerLink=\"/user/bob\">Bob</a>\n * </div>\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 * <a routerLink=\"/\" routerLinkActive=\"active\" ariaCurrentWhenActive=\"page\">Home Page</a>\n * ```\n *\n * @ngModule RouterModule\n *\n * @publicApi\n */\nclass RouterLinkActive {\n get isActive() {\n return this._isActive;\n }\n constructor(router, element, renderer, cdr, link) {\n this.router = router;\n this.element = element;\n this.renderer = renderer;\n this.cdr = cdr;\n this.link = link;\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 this.routerLinkActiveOptions = { exact: false };\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 * <a\n * routerLink=\"/user/bob\"\n * routerLinkActive=\"active-link\"\n * (isActiveChange)=\"this.onRouterLinkActive($event)\">Bob</a>\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 ngAfterContentInit() {\n // `of(null)` is used to force subscribe body to execute once immediately (like `startWith`).\n of(this.links.changes, of(null)).pipe(mergeAll()).subscribe(_ => {\n this.update();\n this.subscribeToEachLinkOnChanges();\n });\n }\n subscribeToEachLinkOnChanges() {\n this.linkInputChangesSubscription?.unsubscribe();\n const allLinkChanges = [...this.links.toArray(), this.link]\n .filter((link) => !!link)\n .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 set routerLinkActive(data) {\n const classes = Array.isArray(data) ? data : data.split(' ');\n this.classes = classes.filter(c => !!c);\n }\n /** @nodoc */\n ngOnChanges(changes) {\n this.update();\n }\n /** @nodoc */\n ngOnDestroy() {\n this.routerEventsSubscription.unsubscribe();\n this.linkInputChangesSubscription?.unsubscribe();\n }\n update() {\n if (!this.links || !this.router.navigated)\n return;\n Promise.resolve().then(() => {\n const hasActiveLinks = this.hasActiveLinks();\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 }\n else {\n this.renderer.removeClass(this.element.nativeElement, c);\n }\n });\n if (hasActiveLinks && this.ariaCurrentWhenActive !== undefined) {\n this.renderer.setAttribute(this.element.nativeElement, 'aria-current', this.ariaCurrentWhenActive.toString());\n }\n else {\n this.renderer.removeAttribute(this.element.nativeElement, 'aria-current');\n }\n // Emit on isActiveChange after classes are updated\n this.isActiveChange.emit(hasActiveLinks);\n }\n });\n }\n isLinkActive(router) {\n const options = isActiveMatchOptions(this.routerLinkActiveOptions) ?\n this.routerLinkActiveOptions :\n // 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 hasActiveLinks() {\n const isActiveCheckFn = this.isLinkActive(this.router);\n return this.link && isActiveCheckFn(this.link) || this.links.some(isActiveCheckFn);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RouterLinkActive, deps: [{ token: Router }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: RouterLink, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: RouterLinkActive, isStandalone: true, selector: \"[routerLinkActive]\", inputs: { routerLinkActiveOptions: \"routerLinkActiveOptions\", ariaCurrentWhenActive: \"ariaCurrentWhenActive\", routerLinkActive: \"routerLinkActive\" }, outputs: { isActiveChange: \"isActiveChange\" }, queries: [{ propertyName: \"links\", predicate: RouterLink, descendants: true }], exportAs: [\"routerLinkActive\"], usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RouterLinkActive, decorators: [{\n type: Directive,\n args: [{\n selector: '[routerLinkActive]',\n exportAs: 'routerLinkActive',\n standalone: true,\n }]\n }], ctorParameters: function () { return [{ type: Router }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: RouterLink, decorators: [{\n type: Optional\n }] }]; }, propDecorators: { links: [{\n type: ContentChildren,\n args: [RouterLink, { descendants: true }]\n }], routerLinkActiveOptions: [{\n type: Input\n }], ariaCurrentWhenActive: [{\n type: Input\n }], isActiveChange: [{\n type: Output\n }], routerLinkActive: [{\n type: Input\n }] } });\n/**\n * Use instead of `'paths' in options` to be compatible with property renaming\n */\nfunction isActiveMatchOptions(options) {\n return !!options.paths;\n}\n\n/**\n * @description\n *\n * Provides a preloading strategy.\n *\n * @publicApi\n */\nclass PreloadingStrategy {\n}\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 */\nclass PreloadAllModules {\n preload(route, fn) {\n return fn().pipe(catchError(() => of(null)));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PreloadAllModules, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PreloadAllModules, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PreloadAllModules, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\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 */\nclass NoPreloading {\n preload(route, fn) {\n return of(null);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NoPreloading, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NoPreloading, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NoPreloading, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\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 */\nclass 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 setUpPreloading() {\n this.subscription =\n this.router.events\n .pipe(filter((e) => e instanceof NavigationEnd), concatMap(() => this.preload()))\n .subscribe(() => { });\n }\n preload() {\n return this.processRoutes(this.injector, this.router.config);\n }\n /** @nodoc */\n ngOnDestroy() {\n if (this.subscription) {\n this.subscription.unsubscribe();\n }\n }\n processRoutes(injector, routes) {\n const res = [];\n for (const route of routes) {\n if (route.providers && !route._injector) {\n route._injector =\n createEnvironmentInjector(route.providers, injector, `Route: ${route.path}`);\n }\n const injectorForCurrentRoute = route._injector ?? injector;\n const injectorForChildren = route._loadedInjector ?? injectorForCurrentRoute;\n // 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 if ((route.loadChildren && !route._loadedRoutes && route.canLoad === undefined) ||\n (route.loadComponent && !route._loadedComponent)) {\n res.push(this.preloadConfig(injectorForCurrentRoute, route));\n }\n if (route.children || route._loadedRoutes) {\n res.push(this.processRoutes(injectorForChildren, (route.children ?? route._loadedRoutes)));\n }\n }\n return from(res).pipe(mergeAll());\n }\n preloadConfig(injector, route) {\n return this.preloadingStrategy.preload(route, () => {\n let loadedChildren$;\n if (route.loadChildren && route.canLoad === undefined) {\n loadedChildren$ = this.loader.loadChildren(injector, route);\n }\n else {\n loadedChildren$ = of(null);\n }\n const recursiveLoadChildren$ = loadedChildren$.pipe(mergeMap((config) => {\n if (config === null) {\n return of(void 0);\n }\n route._loadedRoutes = config.routes;\n route._loadedInjector = config.injector;\n // 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 return this.processRoutes(config.injector ?? injector, config.routes);\n }));\n if (route.loadComponent && !route._loadedComponent) {\n const loadComponent$ = this.loader.loadComponent(route);\n return from([recursiveLoadChildren$, loadComponent$]).pipe(mergeAll());\n }\n else {\n return recursiveLoadChildren$;\n }\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RouterPreloader, deps: [{ token: Router }, { token: i0.Compiler }, { token: i0.EnvironmentInjector }, { token: PreloadingStrategy }, { token: RouterConfigLoader }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RouterPreloader, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RouterPreloader, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: Router }, { type: i0.Compiler }, { type: i0.EnvironmentInjector }, { type: PreloadingStrategy }, { type: RouterConfigLoader }]; } });\n\nconst ROUTER_SCROLLER = new InjectionToken('');\nclass RouterScroller {\n /** @nodoc */\n constructor(urlSerializer, transitions, viewportScroller, zone, options = {}) {\n this.urlSerializer = urlSerializer;\n this.transitions = transitions;\n this.viewportScroller = viewportScroller;\n this.zone = zone;\n this.options = options;\n this.lastId = 0;\n this.lastSource = 'imperative';\n this.restoredId = 0;\n this.store = {};\n // Default both options to 'disabled'\n options.scrollPositionRestoration = options.scrollPositionRestoration || 'disabled';\n options.anchorScrolling = options.anchorScrolling || 'disabled';\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 this.routerEventsSubscription = this.createScrollEvents();\n this.scrollEventsSubscription = this.consumeScrollEvents();\n }\n createScrollEvents() {\n return this.transitions.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 }\n else if (e instanceof NavigationEnd) {\n this.lastId = e.id;\n this.scheduleScrollEvent(e, this.urlSerializer.parse(e.urlAfterRedirects).fragment);\n }\n else if (e instanceof NavigationSkipped &&\n e.code === 0 /* NavigationSkippedCode.IgnoredSameUrlNavigation */) {\n this.lastSource = undefined;\n this.restoredId = 0;\n this.scheduleScrollEvent(e, this.urlSerializer.parse(e.url).fragment);\n }\n });\n }\n consumeScrollEvents() {\n return this.transitions.events.subscribe(e => {\n if (!(e instanceof Scroll))\n return;\n // a popstate event. The pop state event will always ignore anchor scrolling.\n if (e.position) {\n if (this.options.scrollPositionRestoration === 'top') {\n this.viewportScroller.scrollToPosition([0, 0]);\n }\n else if (this.options.scrollPositionRestoration === 'enabled') {\n this.viewportScroller.scrollToPosition(e.position);\n }\n // imperative navigation \"forward\"\n }\n else {\n if (e.anchor && this.options.anchorScrolling === 'enabled') {\n this.viewportScroller.scrollToAnchor(e.anchor);\n }\n else if (this.options.scrollPositionRestoration !== 'disabled') {\n this.viewportScroller.scrollToPosition([0, 0]);\n }\n }\n });\n }\n scheduleScrollEvent(routerEvent, anchor) {\n this.zone.runOutsideAngular(() => {\n // The scroll event needs to be delayed until after change detection. Otherwise, we may\n // attempt to restore the scroll position before the router outlet has fully rendered the\n // component by executing its update block of the template function.\n setTimeout(() => {\n this.zone.run(() => {\n this.transitions.events.next(new Scroll(routerEvent, this.lastSource === 'popstate' ? this.store[this.restoredId] : null, anchor));\n });\n }, 0);\n });\n }\n /** @nodoc */\n ngOnDestroy() {\n this.routerEventsSubscription?.unsubscribe();\n this.scrollEventsSubscription?.unsubscribe();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RouterScroller, deps: \"invalid\", target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RouterScroller }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RouterScroller, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: UrlSerializer }, { type: NavigationTransitions }, { type: i3.ViewportScroller }, { type: i0.NgZone }, { type: undefined }]; } });\n\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 * @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 */\nfunction provideRouter(routes, ...features) {\n return makeEnvironmentProviders([\n { provide: ROUTES, multi: true, useValue: routes },\n (typeof ngDevMode === 'undefined' || ngDevMode) ?\n { provide: ROUTER_IS_PROVIDED, useValue: true } :\n [],\n { provide: ActivatedRoute, useFactory: rootRoute, deps: [Router] },\n { provide: APP_BOOTSTRAP_LISTENER, multi: true, useFactory: getBootstrapListener },\n features.map(feature => feature.ɵproviders),\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 */\nfunction routerFeature(kind, providers) {\n return { ɵkind: kind, ɵproviders: providers };\n}\n/**\n * An Injection token used to indicate whether `provideRouter` or `RouterModule.forRoot` was ever\n * called.\n */\nconst ROUTER_IS_PROVIDED = new InjectionToken('', { providedIn: 'root', factory: () => false });\nconst routerIsProvidedDevModeCheck = {\n provide: ENVIRONMENT_INITIALIZER,\n multi: true,\n useFactory() {\n return () => {\n if (!inject(ROUTER_IS_PROVIDED)) {\n console.warn('`provideRoutes` was called without `provideRouter` or `RouterModule.forRoot`. ' +\n 'This is likely a mistake.');\n }\n };\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 * @deprecated If necessary, provide routes using the `ROUTES` `InjectionToken`.\n * @see `ROUTES`\n * @publicApi\n */\nfunction provideRoutes(routes) {\n return [\n { provide: ROUTES, multi: true, useValue: routes },\n (typeof ngDevMode === 'undefined' || ngDevMode) ? routerIsProvidedDevModeCheck : [],\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 * @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 */\nfunction withInMemoryScrolling(options = {}) {\n const providers = [{\n provide: ROUTER_SCROLLER,\n useFactory: () => {\n const viewportScroller = inject(ViewportScroller);\n const zone = inject(NgZone);\n const transitions = inject(NavigationTransitions);\n const urlSerializer = inject(UrlSerializer);\n return new RouterScroller(urlSerializer, transitions, viewportScroller, zone, options);\n },\n }];\n return routerFeature(4 /* RouterFeatureKind.InMemoryScrollingFeature */, providers);\n}\nfunction getBootstrapListener() {\n const injector = inject(Injector);\n return (bootstrappedComponentRef) => {\n const ref = injector.get(ApplicationRef);\n if (bootstrappedComponentRef !== ref.components[0]) {\n return;\n }\n const router = injector.get(Router);\n const bootstrapDone = injector.get(BOOTSTRAP_DONE);\n if (injector.get(INITIAL_NAVIGATION) === 1 /* InitialNavigation.EnabledNonBlocking */) {\n router.initialNavigation();\n }\n injector.get(ROUTER_PRELOADER, null, InjectFlags.Optional)?.setUpPreloading();\n injector.get(ROUTER_SCROLLER, null, InjectFlags.Optional)?.init();\n router.resetRootComponentType(ref.componentTypes[0]);\n if (!bootstrapDone.closed) {\n bootstrapDone.next();\n bootstrapDone.complete();\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 */\nconst BOOTSTRAP_DONE = new InjectionToken((typeof ngDevMode === 'undefined' || ngDevMode) ? 'bootstrap done indicator' : '', {\n factory: () => {\n return new Subject();\n }\n});\nconst INITIAL_NAVIGATION = new InjectionToken((typeof ngDevMode === 'undefined' || ngDevMode) ? 'initial navigation' : '', { providedIn: 'root', factory: () => 1 /* InitialNavigation.EnabledNonBlocking */ });\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 * @returns A set of providers for use with `provideRouter`.\n */\nfunction withEnabledBlockingInitialNavigation() {\n const providers = [\n { provide: INITIAL_NAVIGATION, useValue: 0 /* InitialNavigation.EnabledBlocking */ },\n {\n provide: APP_INITIALIZER,\n multi: true,\n deps: [Injector],\n useFactory: (injector) => {\n const locationInitialized = injector.get(LOCATION_INITIALIZED, Promise.resolve());\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(router, () => {\n // Unblock APP_INITIALIZER in case the initial navigation was canceled or errored\n // without a redirect.\n resolve(true);\n });\n injector.get(NavigationTransitions).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);\n return bootstrapDone.closed ? of(void 0) : bootstrapDone;\n };\n router.initialNavigation();\n });\n });\n };\n }\n },\n ];\n return routerFeature(2 /* RouterFeatureKind.EnabledBlockingInitialNavigationFeature */, 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 */\nfunction withDisabledInitialNavigation() {\n const providers = [\n {\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, useValue: 2 /* InitialNavigation.Disabled */ }\n ];\n return routerFeature(3 /* RouterFeatureKind.DisabledInitialNavigationFeature */, 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 */\nfunction withDebugTracing() {\n let providers = [];\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n providers = [{\n provide: ENVIRONMENT_INITIALIZER,\n multi: true,\n useFactory: () => {\n const router = inject(Router);\n return () => router.events.subscribe((e) => {\n // tslint:disable:no-console\n console.group?.(`Router Event: ${e.constructor.name}`);\n console.log(stringifyEvent(e));\n console.log(e);\n console.groupEnd?.();\n // tslint:enable:no-console\n });\n }\n }];\n }\n else {\n providers = [];\n }\n return routerFeature(1 /* RouterFeatureKind.DebugTracingFeature */, providers);\n}\nconst ROUTER_PRELOADER = new InjectionToken((typeof ngDevMode === 'undefined' || ngDevMode) ? '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 */\nfunction withPreloading(preloadingStrategy) {\n const providers = [\n { provide: ROUTER_PRELOADER, useExisting: RouterPreloader },\n { provide: PreloadingStrategy, useExisting: preloadingStrategy },\n ];\n return routerFeature(0 /* RouterFeatureKind.PreloadingFeature */, 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 */\nfunction withRouterConfig(options) {\n const providers = [\n { provide: ROUTER_CONFIGURATION, useValue: options },\n ];\n return routerFeature(5 /* RouterFeatureKind.RouterConfigurationFeature */, providers);\n}\n/**\n * Provides the location strategy that uses the URL fragment instead of the history API.\n *\n * @usageNotes\n *\n * Basic example of how you can use the hash location option:\n * ```\n * const appRoutes: Routes = [];\n * bootstrapApplication(AppComponent,\n * {\n * providers: [\n * provideRouter(appRoutes, withHashLocation())\n * ]\n * }\n * );\n * ```\n *\n * @see `provideRouter`\n * @see `HashLocationStrategy`\n *\n * @returns A set of providers for use with `provideRouter`.\n *\n * @publicApi\n */\nfunction withHashLocation() {\n const providers = [\n { provide: LocationStrategy, useClass: HashLocationStrategy },\n ];\n return routerFeature(5 /* RouterFeatureKind.RouterConfigurationFeature */, providers);\n}\n/**\n * Subscribes to the Router's navigation events and calls the given function when a\n * `NavigationError` happens.\n *\n * This function is run inside application's injection context so you can use the `inject` function.\n *\n * @usageNotes\n *\n * Basic example of how you can use the error handler option:\n * ```\n * const appRoutes: Routes = [];\n * bootstrapApplication(AppComponent,\n * {\n * providers: [\n * provideRouter(appRoutes, withNavigationErrorHandler((e: NavigationError) =>\n * inject(MyErrorTracker).trackError(e)))\n * ]\n * }\n * );\n * ```\n *\n * @see `NavigationError`\n * @see `inject`\n * @see `EnvironmentInjector#runInContext`\n *\n * @returns A set of providers for use with `provideRouter`.\n *\n * @publicApi\n */\nfunction withNavigationErrorHandler(fn) {\n const providers = [{\n provide: ENVIRONMENT_INITIALIZER,\n multi: true,\n useValue: () => {\n const injector = inject(EnvironmentInjector);\n inject(Router).events.subscribe((e) => {\n if (e instanceof NavigationError) {\n injector.runInContext(() => fn(e));\n }\n });\n }\n }];\n return routerFeature(7 /* RouterFeatureKind.NavigationErrorHandlerFeature */, providers);\n}\n/**\n * Enables binding information from the `Router` state directly to the inputs of the component in\n * `Route` configurations.\n *\n * @usageNotes\n *\n * Basic example of how you can enable the feature:\n * ```\n * const appRoutes: Routes = [];\n * bootstrapApplication(AppComponent,\n * {\n * providers: [\n * provideRouter(appRoutes, withComponentInputBinding())\n * ]\n * }\n * );\n * ```\n *\n * @returns A set of providers for use with `provideRouter`.\n */\nfunction withComponentInputBinding() {\n const providers = [\n RoutedComponentInputBinder,\n { provide: INPUT_BINDER, useExisting: RoutedComponentInputBinder },\n ];\n return routerFeature(8 /* RouterFeatureKind.ComponentInputBindingFeature */, providers);\n}\n\n/**\n * The directives defined in the `RouterModule`.\n */\nconst ROUTER_DIRECTIVES = [RouterOutlet, RouterLink, RouterLinkActive, ɵEmptyOutletComponent];\n/**\n * @docsNotRequired\n */\nconst ROUTER_FORROOT_GUARD = new InjectionToken((typeof ngDevMode === 'undefined' || ngDevMode) ? 'router duplicate forRoot guard' :\n 'ROUTER_FORROOT_GUARD');\n// 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.\nconst ROUTER_PROVIDERS = [\n Location,\n { provide: UrlSerializer, useClass: DefaultUrlSerializer },\n Router,\n ChildrenOutletContexts,\n { provide: ActivatedRoute, useFactory: rootRoute, deps: [Router] },\n RouterConfigLoader,\n // Only used to warn when `provideRoutes` is used without `RouterModule` or `provideRouter`. Can\n // be removed when `provideRoutes` is removed.\n (typeof ngDevMode === 'undefined' || ngDevMode) ? { provide: ROUTER_IS_PROVIDED, useValue: true } :\n [],\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 */\nclass 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 static forRoot(routes, config) {\n return {\n ngModule: RouterModule,\n providers: [\n ROUTER_PROVIDERS,\n (typeof ngDevMode === 'undefined' || ngDevMode) ?\n (config?.enableTracing ? withDebugTracing().ɵproviders : []) :\n [],\n { provide: ROUTES, multi: true, useValue: routes },\n {\n provide: ROUTER_FORROOT_GUARD,\n useFactory: provideForRootGuard,\n deps: [[Router, new Optional(), new SkipSelf()]]\n },\n { provide: ROUTER_CONFIGURATION, useValue: config ? config : {} },\n config?.useHash ? provideHashLocationStrategy() : providePathLocationStrategy(),\n provideRouterScroller(),\n config?.preloadingStrategy ? withPreloading(config.preloadingStrategy).ɵproviders : [],\n { provide: NgProbeToken, multi: true, useFactory: routerNgProbeToken },\n config?.initialNavigation ? provideInitialNavigation(config) : [],\n config?.bindToComponentInputs ? withComponentInputBinding().ɵproviders : [],\n provideRouterInitializer(),\n ],\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 static forChild(routes) {\n return {\n ngModule: RouterModule,\n providers: [{ provide: ROUTES, multi: true, useValue: routes }],\n };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RouterModule, deps: [{ token: ROUTER_FORROOT_GUARD, optional: true }], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: RouterModule, imports: [RouterOutlet, RouterLink, RouterLinkActive, ɵEmptyOutletComponent], exports: [RouterOutlet, RouterLink, RouterLinkActive, ɵEmptyOutletComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RouterModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RouterModule, decorators: [{\n type: NgModule,\n args: [{\n imports: ROUTER_DIRECTIVES,\n exports: ROUTER_DIRECTIVES,\n }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ROUTER_FORROOT_GUARD]\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 */\nfunction provideRouterScroller() {\n return {\n provide: ROUTER_SCROLLER,\n useFactory: () => {\n const viewportScroller = inject(ViewportScroller);\n const zone = inject(NgZone);\n const config = inject(ROUTER_CONFIGURATION);\n const transitions = inject(NavigationTransitions);\n const urlSerializer = inject(UrlSerializer);\n if (config.scrollOffset) {\n viewportScroller.setOffset(config.scrollOffset);\n }\n return new RouterScroller(urlSerializer, transitions, viewportScroller, zone, config);\n },\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}`.\nfunction provideHashLocationStrategy() {\n return { provide: LocationStrategy, 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`.\nfunction providePathLocationStrategy() {\n return { provide: LocationStrategy, useClass: PathLocationStrategy };\n}\nfunction provideForRootGuard(router) {\n if ((typeof ngDevMode === 'undefined' || ngDevMode) && router) {\n throw new ɵRuntimeError(4007 /* RuntimeErrorCode.FOR_ROOT_CALLED_TWICE */, `The Router was provided more than once. This can happen if 'forRoot' is used outside of the root injector.` +\n ` Lazy loaded modules should use RouterModule.forChild() instead.`);\n }\n return 'guarded';\n}\n// Note: For internal use only with `RouterModule`. Standalone router setup with `provideRouter`\n// users call `withXInitialNavigation` directly.\nfunction provideInitialNavigation(config) {\n return [\n config.initialNavigation === 'disabled' ? withDisabledInitialNavigation().ɵproviders : [],\n config.initialNavigation === 'enabledBlocking' ?\n withEnabledBlockingInitialNavigation().ɵproviders :\n [],\n ];\n}\n// TODO(atscott): This should not be in the public API\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 */\nconst ROUTER_INITIALIZER = new InjectionToken((typeof ngDevMode === 'undefined' || ngDevMode) ? 'Router Initializer' : '');\nfunction provideRouterInitializer() {\n return [\n // 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 { provide: ROUTER_INITIALIZER, useFactory: getBootstrapListener },\n { provide: APP_BOOTSTRAP_LISTENER, multi: true, useExisting: ROUTER_INITIALIZER },\n ];\n}\n\n/**\n * Maps an array of injectable classes with canMatch functions to an array of equivalent\n * `CanMatchFn` for use in a `Route` definition.\n *\n * Usage {@example router/utils/functional_guards.ts region='CanActivate'}\n *\n * @publicApi\n * @see Route\n */\nfunction mapToCanMatch(providers) {\n return providers.map(provider => (...params) => inject(provider).canMatch(...params));\n}\n/**\n * Maps an array of injectable classes with canActivate functions to an array of equivalent\n * `CanActivateFn` for use in a `Route` definition.\n *\n * Usage {@example router/utils/functional_guards.ts region='CanActivate'}\n *\n * @publicApi\n * @see Route\n */\nfunction mapToCanActivate(providers) {\n return providers.map(provider => (...params) => inject(provider).canActivate(...params));\n}\n/**\n * Maps an array of injectable classes with canActivateChild functions to an array of equivalent\n * `CanActivateChildFn` for use in a `Route` definition.\n *\n * Usage {@example router/utils/functional_guards.ts region='CanActivate'}\n *\n * @publicApi\n * @see Route\n */\nfunction mapToCanActivateChild(providers) {\n return providers.map(provider => (...params) => inject(provider).canActivateChild(...params));\n}\n/**\n * Maps an array of injectable classes with canDeactivate functions to an array of equivalent\n * `CanDeactivateFn` for use in a `Route` definition.\n *\n * Usage {@example router/utils/functional_guards.ts region='CanActivate'}\n *\n * @publicApi\n * @see Route\n */\nfunction mapToCanDeactivate(providers) {\n return providers.map(provider => (...params) => inject(provider).canDeactivate(...params));\n}\n/**\n * Maps an injectable class with a resolve function to an equivalent `ResolveFn`\n * for use in a `Route` definition.\n *\n * Usage {@example router/utils/functional_guards.ts region='Resolve'}\n *\n * @publicApi\n * @see Route\n */\nfunction mapToResolve(provider) {\n return (...params) => inject(provider).resolve(...params);\n}\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of the router package.\n */\n/**\n * @publicApi\n */\nconst VERSION = new Version('16.0.5');\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\n// This file only reexports content of the `src` folder. Keep it that way.\n\n// This file is not used to build this module. It is only used during editing\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, NavigationSkipped, NavigationStart, NoPreloading, OutletContext, PRIMARY_OUTLET, PreloadAllModules, PreloadingStrategy, ROUTER_CONFIGURATION, ROUTER_INITIALIZER, ROUTES, ResolveEnd, ResolveStart, RouteConfigLoadEnd, RouteConfigLoadStart, RouteReuseStrategy, Router, RouterEvent, RouterLink, RouterLinkActive, RouterLink as RouterLinkWithHref, RouterModule, RouterOutlet, RouterPreloader, RouterState, RouterStateSnapshot, RoutesRecognized, Scroll, TitleStrategy, UrlHandlingStrategy, UrlSegment, UrlSegmentGroup, UrlSerializer, UrlTree, VERSION, convertToParamMap, createUrlTreeFromSnapshot, defaultUrlMatcher, mapToCanActivate, mapToCanActivateChild, mapToCanDeactivate, mapToCanMatch, mapToResolve, provideRouter, provideRoutes, withComponentInputBinding, withDebugTracing, withDisabledInitialNavigation, withEnabledBlockingInitialNavigation, withHashLocation, withInMemoryScrolling, withNavigationErrorHandler, withPreloading, withRouterConfig, ɵEmptyOutletComponent, ROUTER_PROVIDERS as ɵROUTER_PROVIDERS, afterNextNavigation as ɵafterNextNavigation };\n","import { EmptyError } from '../util/EmptyError';\nimport { filter } from './filter';\nimport { takeLast } from './takeLast';\nimport { throwIfEmpty } from './throwIfEmpty';\nimport { defaultIfEmpty } from './defaultIfEmpty';\nimport { identity } from '../util/identity';\nexport function last(predicate, defaultValue) {\n const hasDefaultValue = arguments.length >= 2;\n return (source) => source.pipe(predicate ? filter((v, i) => predicate(v, i, source)) : identity, takeLast(1), hasDefaultValue ? defaultIfEmpty(defaultValue) : throwIfEmpty(() => new EmptyError()));\n}\n"],"x_google_ignoreList":[0,1,2,3,4,5,6]} \ No newline at end of file diff --git a/4902.28ad83213bdec45d.js b/4902.28ad83213bdec45d.js new file mode 100644 index 0000000..0ebbc82 --- /dev/null +++ b/4902.28ad83213bdec45d.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[4902,5106,7376,5187,4091,1217,7208,4968,6785,4155,1084,6896,7920,6980,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,8061,4680,2111,3326,8596,8352,5501,882,3098,8467,6578,8608,8443,7328,6441,1821,5915,3278,5391,6748,1551,6763,4151,5069,7432,8071,6618],{37400:(c,_,e)=>{e.d(_,{D:()=>O});var o=e(54987),u=e(8728),t=e(41944);function n(i){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,t.e)(function(h,y){y.add(i.schedule(function(){return h.subscribe(y)},l))})}var a=e(90833),v=e(67321),b=e(92971),d=e(1817);function p(i,l){if(!i)throw new Error("Iterable cannot be null");return new a.y(function(h){(0,d.f)(h,l,function(){var y=i[Symbol.asyncIterator]();(0,d.f)(h,l,function(){y.next().then(function(A){A.done?h.complete():h.next(A.value)})},0,!0)})})}var P=e(21331),E=e(79548),D=e(99806),I=e(23433),T=e(80470),R=e(27785),g=e(20181);function O(i,l){return l?function Z(i,l){if(null!=i){if((0,P.c)(i))return function r(i,l){return(0,o.Xf)(i).pipe(n(l),(0,u.Q)(l))}(i,l);if((0,D.z)(i))return function s(i,l){return new a.y(function(h){var y=0;return l.schedule(function(){y===i.length?h.complete():(h.next(i[y++]),h.closed||this.schedule())})})}(i,l);if((0,E.t)(i))return function f(i,l){return(0,o.Xf)(i).pipe(n(l),(0,u.Q)(l))}(i,l);if((0,T.D)(i))return p(i,l);if((0,I.T)(i))return function m(i,l){return new a.y(function(h){var y;return(0,d.f)(h,l,function(){y=i[v.h](),(0,d.f)(h,l,function(){var A,S;try{var w=y.next();A=w.value,S=w.done}catch(L){return void h.error(L)}S?h.complete():h.next(A)},0,!0)}),function(){return(0,b.m)(y?.return)&&y.return()}})}(i,l);if((0,g.L)(i))return function M(i,l){return p((0,g.Q)(i),l)}(i,l)}throw(0,R.z)(i)}(i,l):(0,o.Xf)(i)}},10745:(c,_,e)=>{e.d(_,{of:()=>t});var o=e(10420),u=e(37400);function t(){for(var n=arguments.length,r=new Array(n),f=0;f<n;f++)r[f]=arguments[f];var a=(0,o.yG)(r);return(0,u.D)(r,a)}},93945:(c,_,e)=>{e.d(_,{Q:()=>b,x:()=>v});var o=e(78069),u=e(48047),t=e(35488),n=e(24582),r=e(28694),f=e(4089),a=e(20265);function v(d,m,p,P,E){return new b(d,m,p,P,E)}var b=function(d){(0,n.Z)(p,d);var m=(0,r.Z)(p);function p(P,E,D,I,T,R){var g,M,Z,O;return(0,o.Z)(this,p),(O=m.call(this,P)).onFinalize=T,O.shouldUnsubscribe=R,O._next=E?function(i){try{E(i)}catch(l){P.error(l)}}:(0,f.Z)((g=(0,t.Z)(O),(0,a.Z)(p.prototype)),"_next",g),O._error=I?function(i){try{I(i)}catch(l){P.error(l)}finally{this.unsubscribe()}}:(0,f.Z)((M=(0,t.Z)(O),(0,a.Z)(p.prototype)),"_error",M),O._complete=D?function(){try{D()}catch(i){P.error(i)}finally{this.unsubscribe()}}:(0,f.Z)((Z=(0,t.Z)(O),(0,a.Z)(p.prototype)),"_complete",Z),O}return(0,u.Z)(p,[{key:"unsubscribe",value:function(){var E;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var D=this.closed;(0,f.Z)((0,a.Z)(p.prototype),"unsubscribe",this).call(this),!D&&(null===(E=this.onFinalize)||void 0===E||E.call(this))}}}]),p}(e(5463).Lv)},8728:(c,_,e)=>{e.d(_,{Q:()=>n});var o=e(1817),u=e(41944),t=e(93945);function n(r){var f=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,u.e)(function(a,s){a.subscribe((0,t.x)(s,function(v){return(0,o.f)(s,r,function(){return s.next(v)},f)},function(){return(0,o.f)(s,r,function(){return s.complete()},f)},function(v){return(0,o.f)(s,r,function(){return s.error(v)},f)}))})}},10420:(c,_,e)=>{e.d(_,{_6:()=>f,jO:()=>n,yG:()=>r});var o=e(92971),u=e(59867);function t(a){return a[a.length-1]}function n(a){return(0,o.m)(t(a))?a.pop():void 0}function r(a){return(0,u.K)(t(a))?a.pop():void 0}function f(a,s){return"number"==typeof t(a)?a.pop():s}},1817:(c,_,e)=>{function o(u,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,f=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=t.schedule(function(){n(),f?u.add(this.schedule(null,r)):this.unsubscribe()},r);if(u.add(a),!f)return a}e.d(_,{f:()=>o})},59867:(c,_,e)=>{e.d(_,{K:()=>u});var o=e(92971);function u(t){return t&&(0,o.m)(t.schedule)}},41944:(c,_,e)=>{e.d(_,{A:()=>u,e:()=>t});var o=e(92971);function u(n){return(0,o.m)(n?.lift)}function t(n){return function(r){if(u(r))return r.lift(function(f){try{return n(f,this)}catch(a){this.error(a)}});throw new TypeError("Unable to lift unknown Observable type")}}},44841:(c,_,e)=>{function o(u,t){(null==t||t>u.length)&&(t=u.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=u[n];return r}e.d(_,{Z:()=>o})},35488:(c,_,e)=>{function o(u){if(void 0===u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}e.d(_,{Z:()=>o})},95106:(c,_,e)=>{e.d(_,{Z:()=>u});var o=e(44206);function u(t,n){var r=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=(0,o.Z)(t))||n&&t&&"number"==typeof t.length){r&&(t=r);var f=0,a=function(){};return{s:a,n:function(){return f>=t.length?{done:!0}:{done:!1,value:t[f++]}},e:function(m){throw m},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var b,s=!0,v=!1;return{s:function(){r=r.call(t)},n:function(){var m=r.next();return s=m.done,m},e:function(m){v=!0,b=m},f:function(){try{!s&&null!=r.return&&r.return()}finally{if(v)throw b}}}}},28694:(c,_,e)=>{e.d(_,{Z:()=>f});var o=e(20265),u=e(98568),t=e(43445),n=e(35488);function f(a){var s=(0,u.Z)();return function(){var d,b=(0,o.Z)(a);if(s){var m=(0,o.Z)(this).constructor;d=Reflect.construct(b,arguments,m)}else d=b.apply(this,arguments);return function r(a,s){if(s&&("object"===(0,t.Z)(s)||"function"==typeof s))return s;if(void 0!==s)throw new TypeError("Derived constructors may only return object or undefined");return(0,n.Z)(a)}(this,d)}}},4089:(c,_,e)=>{e.d(_,{Z:()=>t});var o=e(20265);function t(){return t=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(r,f,a){var s=function u(n,r){for(;!Object.prototype.hasOwnProperty.call(n,r)&&null!==(n=(0,o.Z)(n)););return n}(r,f);if(s){var v=Object.getOwnPropertyDescriptor(s,f);return v.get?v.get.call(arguments.length<3?r:a):v.value}},t.apply(this,arguments)}},20265:(c,_,e)=>{function o(u){return(o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)})(u)}e.d(_,{Z:()=>o})},24582:(c,_,e)=>{e.d(_,{Z:()=>u});var o=e(10006);function u(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&(0,o.Z)(t,n)}},98568:(c,_,e)=>{function o(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(_,{Z:()=>o})},4826:(c,_,e)=>{function o(u){if(typeof Symbol<"u"&&null!=u[Symbol.iterator]||null!=u["@@iterator"])return Array.from(u)}e.d(_,{Z:()=>o})},10006:(c,_,e)=>{function o(u,t){return(o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,f){return r.__proto__=f,r})(u,t)}e.d(_,{Z:()=>o})},86170:(c,_,e)=>{e.d(_,{Z:()=>f});var o=e(44841),t=e(4826),n=e(44206);function f(a){return function u(a){if(Array.isArray(a))return(0,o.Z)(a)}(a)||(0,t.Z)(a)||(0,n.Z)(a)||function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(c,_,e)=>{e.d(_,{Z:()=>u});var o=e(44841);function u(t,n){if(t){if("string"==typeof t)return(0,o.Z)(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return(0,o.Z)(t,n)}}}}]); +//# sourceMappingURL=4902.28ad83213bdec45d.js.map \ No newline at end of file diff --git a/4902.28ad83213bdec45d.js.map b/4902.28ad83213bdec45d.js.map new file mode 100644 index 0000000..a88bc6b --- /dev/null +++ b/4902.28ad83213bdec45d.js.map @@ -0,0 +1 @@ +{"version":3,"file":"4902.28ad83213bdec45d.js","mappings":"gYACO,SAASA,EAAYC,GAAsB,IAAXC,EAAKC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAG,EAC3C,SAAOG,KAAQ,SAACC,EAAQC,GACpBA,EAAWC,IAAIR,EAAUS,SAAS,kBAAMH,EAAOI,UAAUH,EAAW,EAAEN,GAC1E,EACJ,gDCHO,SAASU,EAAsBC,EAAOZ,GACzC,IAAKY,EACD,MAAM,IAAIC,MAAM,2BAEpB,OAAO,IAAIC,IAAW,SAACP,IACnBQ,OAAgBR,EAAYP,EAAW,WACnC,IAAMgB,EAAWJ,EAAMK,OAAOC,kBAC9BH,OAAgBR,EAAYP,EAAW,WACnCgB,EAASG,OAAOC,KAAK,SAACC,GACdA,EAAOC,KACPf,EAAWgB,WAGXhB,EAAWY,KAAKE,EAAOG,MAE/B,EACJ,EAAG,GAAG,EACV,EACJ,EACJ,kFCnBO,SAASC,EAAKb,EAAOZ,GACxB,OAAOA,ECUJ,SAAS0B,EAAUd,EAAOZ,GAC7B,GAAa,MAATY,EAAe,CACf,MAAIe,KAAoBf,GACpB,OCbL,SAASgB,EAAmBhB,EAAOZ,GACtC,SAAO6B,MAAUjB,GAAOkB,KAAK/B,EAAYC,IAAS,EAAG+B,KAAU/B,GACnE,CDWmB4B,CAAmBhB,EAAOZ,GAErC,MAAIgC,KAAYpB,GACZ,OElBL,SAASqB,EAAcrB,EAAOZ,GACjC,OAAO,IAAIc,IAAW,SAACP,GACnB,IAAI2B,EAAI,EACR,OAAOlC,EAAUS,SAAS,WAClByB,IAAMtB,EAAMT,OACZI,EAAWgB,YAGXhB,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AR,EAAAsB,cAAAd,EAAAR,EAAAsB,YAAAgD,MACA,QAAA9D,GAAA,QAAAA,EAAA,OAAA/D,MAAA9B,KAAAqF,GACA,iBAAAQ,GAAA,2CAAA+D,KAAA/D,GAAA,SAAsF2D,EAAA9D,GAAgBL,EAAAkE,EAAA,CACtG","names":["subscribeOn","scheduler","delay","arguments","length","undefined","operate","source","subscriber","add","schedule","subscribe","scheduleAsyncIterable","input","Error","Observable","executeSchedule","iterator","Symbol","asyncIterator","next","then","result","done","complete","value","from","scheduled","isInteropObservable","scheduleObservable","innerFrom","pipe","observeOn","isArrayLike","scheduleArray","i","closed","this","isPromise","schedulePromise","isAsyncIterable","isIterable","scheduleIterable","Symbol_iterator","_iterator$next","err","error","isFunction","return","isReadableStreamLike","scheduleReadableStreamLike","readableStreamLikeToAsyncGenerator","createInvalidObservableTypeError","of","_len","args","Array","_key","popScheduler","createOperatorSubscriber","destination","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","_inherits","_super","_createSuper","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_this","_classCallCheck","call","_next","_get","_assertThisInitialized","_getPrototypeOf","prototype","_error","unsubscribe","_complete","_createClass","key","_a","Subscriber","last","arr","popResultSelector","pop","isScheduler","popNumber","defaultValue","parentSubscription","work","repeat","scheduleSubscription","hasLift","lift","init","liftedSource","TypeError","_arrayLikeToArray","len","arr2","self","ReferenceError","_createForOfIteratorHelper","o","allowArrayLike","it","isArray","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","s","n","e","_e","f","normalCompletion","didErr","step","_e2","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Super","getPrototypeOf","NewTarget","constructor","Reflect","construct","apply","_possibleConstructorReturn","esm_typeof","assertThisInitialized","get","bind","target","property","receiver","base","_superPropBase","object","Object","hasOwnProperty","desc","getOwnPropertyDescriptor","setPrototypeOf","__proto__","subClass","superClass","create","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_iterableToArray","iter","_setPrototypeOf","p","_toConsumableArray","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","toString","slice","name","test"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleAsyncIterable.js","./node_modules/rxjs/dist/esm/internal/observable/from.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduled.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleObservable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleArray.js","./node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleIterable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleReadableStreamLike.js","./node_modules/rxjs/dist/esm/internal/observable/of.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/observeOn.js","./node_modules/rxjs/dist/esm/internal/util/args.js","./node_modules/rxjs/dist/esm/internal/util/executeSchedule.js","./node_modules/rxjs/dist/esm/internal/util/isScheduler.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { operate } from '../util/lift';\nexport function subscribeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay));\n });\n}\n","import { Observable } from '../Observable';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleAsyncIterable(input, scheduler) {\n if (!input) {\n throw new Error('Iterable cannot be null');\n }\n return new Observable((subscriber) => {\n executeSchedule(subscriber, scheduler, () => {\n const iterator = input[Symbol.asyncIterator]();\n executeSchedule(subscriber, scheduler, () => {\n iterator.next().then((result) => {\n if (result.done) {\n subscriber.complete();\n }\n else {\n subscriber.next(result.value);\n }\n });\n }, 0, true);\n });\n });\n}\n","import { scheduled } from '../scheduled/scheduled';\nimport { innerFrom } from './innerFrom';\nexport function from(input, scheduler) {\n return scheduler ? scheduled(input, scheduler) : innerFrom(input);\n}\n","import { scheduleObservable } from './scheduleObservable';\nimport { schedulePromise } from './schedulePromise';\nimport { scheduleArray } from './scheduleArray';\nimport { scheduleIterable } from './scheduleIterable';\nimport { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isPromise } from '../util/isPromise';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isIterable } from '../util/isIterable';\nimport { isAsyncIterable } from '../util/isAsyncIterable';\nimport { createInvalidObservableTypeError } from '../util/throwUnobservableError';\nimport { isReadableStreamLike } from '../util/isReadableStreamLike';\nimport { scheduleReadableStreamLike } from './scheduleReadableStreamLike';\nexport function scheduled(input, scheduler) {\n if (input != null) {\n if (isInteropObservable(input)) {\n return scheduleObservable(input, scheduler);\n }\n if (isArrayLike(input)) {\n return scheduleArray(input, scheduler);\n }\n if (isPromise(input)) {\n return schedulePromise(input, scheduler);\n }\n if (isAsyncIterable(input)) {\n return scheduleAsyncIterable(input, scheduler);\n }\n if (isIterable(input)) {\n return scheduleIterable(input, scheduler);\n }\n if (isReadableStreamLike(input)) {\n return scheduleReadableStreamLike(input, scheduler);\n }\n }\n throw createInvalidObservableTypeError(input);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function scheduleObservable(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nexport function scheduleArray(input, scheduler) {\n return new Observable((subscriber) => {\n let i = 0;\n return scheduler.schedule(function () {\n if (i === input.length) {\n subscriber.complete();\n }\n else {\n subscriber.next(input[i++]);\n if (!subscriber.closed) {\n this.schedule();\n }\n }\n });\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function schedulePromise(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from '../util/isFunction';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleIterable(input, scheduler) {\n return new Observable((subscriber) => {\n let iterator;\n executeSchedule(subscriber, scheduler, () => {\n iterator = input[Symbol_iterator]();\n executeSchedule(subscriber, scheduler, () => {\n let value;\n let done;\n try {\n ({ value, done } = iterator.next());\n }\n catch (err) {\n subscriber.error(err);\n return;\n }\n if (done) {\n subscriber.complete();\n }\n else {\n subscriber.next(value);\n }\n }, 0, true);\n });\n return () => isFunction(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return();\n });\n}\n","import { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { readableStreamLikeToAsyncGenerator } from '../util/isReadableStreamLike';\nexport function scheduleReadableStreamLike(input, scheduler) {\n return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);\n}\n","import { popScheduler } from '../util/args';\nimport { from } from './from';\nexport function of(...args) {\n const scheduler = popScheduler(args);\n return from(args, scheduler);\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","import { executeSchedule } from '../util/executeSchedule';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function observeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, (value) => executeSchedule(subscriber, scheduler, () => subscriber.next(value), delay), () => executeSchedule(subscriber, scheduler, () => subscriber.complete(), delay), (err) => executeSchedule(subscriber, scheduler, () => subscriber.error(err), delay)));\n });\n}\n","import { isFunction } from './isFunction';\nimport { isScheduler } from './isScheduler';\nfunction last(arr) {\n return arr[arr.length - 1];\n}\nexport function popResultSelector(args) {\n return isFunction(last(args)) ? args.pop() : undefined;\n}\nexport function popScheduler(args) {\n return isScheduler(last(args)) ? args.pop() : undefined;\n}\nexport function popNumber(args, defaultValue) {\n return typeof last(args) === 'number' ? args.pop() : defaultValue;\n}\n","export function executeSchedule(parentSubscription, scheduler, work, delay = 0, repeat = false) {\n const scheduleSubscription = scheduler.schedule(function () {\n work();\n if (repeat) {\n parentSubscription.add(this.schedule(null, delay));\n }\n else {\n this.unsubscribe();\n }\n }, delay);\n parentSubscription.add(scheduleSubscription);\n if (!repeat) {\n return scheduleSubscription;\n }\n}\n","import { isFunction } from './isFunction';\nexport function isScheduler(value) {\n return value && isFunction(value.schedule);\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31]} \ No newline at end of file diff --git a/4967.cd6fdeac93fac987.js b/4967.cd6fdeac93fac987.js new file mode 100644 index 0000000..1cf0022 --- /dev/null +++ b/4967.cd6fdeac93fac987.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[4967,7376,5187,4091,1217,7208,4968,4155,1084,6896,5113,5749,4309,8024,8513,5555,8017,8116,5873,4680,2111,3326,8596,8352,5501,3098,8608,8443,5915,3278,5391,6748,6763,4151,5069,7432,6618],{35488:(f,n,e)=>{function t(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}e.d(n,{Z:()=>t})},28694:(f,n,e)=>{e.d(n,{Z:()=>i});var t=e(20265),o=e(98568),u=e(43445),r=e(35488);function i(p){var c=(0,o.Z)();return function(){var a,s=(0,t.Z)(p);if(c){var d=(0,t.Z)(this).constructor;a=Reflect.construct(s,arguments,d)}else a=s.apply(this,arguments);return function _(p,c){if(c&&("object"===(0,u.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(p)}(this,a)}}},20265:(f,n,e)=>{function t(o){return(t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)})(o)}e.d(n,{Z:()=>t})},24582:(f,n,e)=>{e.d(n,{Z:()=>o});var t=e(10006);function o(u,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(r&&r.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),r&&(0,t.Z)(u,r)}},98568:(f,n,e)=>{function t(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(n,{Z:()=>t})},10006:(f,n,e)=>{function t(o,u){return(t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_,i){return _.__proto__=i,_})(o,u)}e.d(n,{Z:()=>t})}}]); +//# sourceMappingURL=4967.cd6fdeac93fac987.js.map \ No newline at end of file diff --git a/4967.cd6fdeac93fac987.js.map b/4967.cd6fdeac93fac987.js.map new file mode 100644 index 0000000..facd3d4 --- /dev/null +++ b/4967.cd6fdeac93fac987.js.map @@ -0,0 +1 @@ +{"version":3,"file":"4967.cd6fdeac93fac987.js","mappings":"sQAAe,SAAAA,EAAAC,GACf,YAAAA,EACA,UAAAC,eAAA,6DAEA,OAAAD,CACA,oGCFe,SAAAE,EAAAC,GACf,IAAAC,KAAkCC,EAAAC,KAClC,kBACA,IACAC,EADAC,KAAgBC,EAAAH,GAAcH,GAE9B,GAAAC,EAAA,CACA,IAAAM,KAAsBD,EAAAH,GAAcK,MAAAC,YACpCL,EAAAM,QAAAC,UAAAN,EAAAO,UAAAL,EAAA,MAEAH,EAAAC,EAAAQ,MAAAL,KAAAI,WAEA,OCZe,SAAAE,EAAAjB,EAAAkB,GACf,GAAAA,IAAsB,YAAtBA,EAAeC,EAAAb,GAAOY,IAAA,mBAAAA,GACtB,OAAAA,EACI,YAAAA,EACJ,UAAAE,UAAA,4DAEA,SAASC,EAAAf,GAAqBN,EAC9B,CDKWiB,CAAyBN,KAAAJ,EACpC,CACA,mBEhBe,SAAAe,EAAAC,GACf,OAAAD,EAAAE,OAAAC,eAAAD,OAAAf,eAAAiB,OAAA,SAAAH,GACA,OAAAA,EAAAI,WAAAH,OAAAf,eAAAc,EACA,GACAA,EACA,mECJe,SAAAK,EAAAC,EAAAC,GACf,sBAAAA,GAAA,OAAAA,EACA,UAAAV,UAAA,sDAEAS,EAAAE,UAAAP,OAAAQ,OAAAF,KAAAC,UAAA,CACAnB,YAAA,CACAqB,MAAAJ,EACAK,UAAA,EACAC,cAAA,KAGAX,OAAAY,eAAAP,EAAA,aACAK,UAAA,IAEAJ,MAAkBO,EAAA/B,GAAcuB,EAAAC,EAChC,mBChBe,SAAAQ,IAEf,UADAzB,QAAA,MAAAA,QAAAC,WACAD,QAAAC,UAAAyB,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAAV,UAAAW,QAAAxB,KAAAL,QAAAC,UAAA2B,QAAA,mBACA,CACA,OACA,QACA,CACA,mCCVe,SAAAE,EAAApB,EAAAqB,GACf,OAAAD,EAAAnB,OAAAC,eAAAD,OAAAC,eAAAC,OAAA,SAAAH,EAAAqB,GACA,OAAArB,EAAAI,UAAAiB,EACArB,CACA,GACAA,EAAAqB,EACA","names":["_assertThisInitialized","self","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","call","esm_typeof","TypeError","assertThisInitialized","_getPrototypeOf","o","Object","setPrototypeOf","bind","__proto__","_inherits","subClass","superClass","prototype","create","value","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6]} \ No newline at end of file diff --git a/4968.4bfd65c5f3d533da.js b/4968.4bfd65c5f3d533da.js new file mode 100644 index 0000000..a1dd008 --- /dev/null +++ b/4968.4bfd65c5f3d533da.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[4968,7376,5187,4091,1217,7208,4155,1084,6896,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,4680,2111,3326,8596,8352,5501,3098,8608,8443,5915,3278,5391,6748,6763,4151,5069,7432,6618],{35488:(f,n,e)=>{function t(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}e.d(n,{Z:()=>t})},28694:(f,n,e)=>{e.d(n,{Z:()=>i});var t=e(20265),o=e(98568),u=e(43445),r=e(35488);function i(p){var c=(0,o.Z)();return function(){var a,s=(0,t.Z)(p);if(c){var d=(0,t.Z)(this).constructor;a=Reflect.construct(s,arguments,d)}else a=s.apply(this,arguments);return function _(p,c){if(c&&("object"===(0,u.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(p)}(this,a)}}},20265:(f,n,e)=>{function t(o){return(t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)})(o)}e.d(n,{Z:()=>t})},24582:(f,n,e)=>{e.d(n,{Z:()=>o});var t=e(10006);function o(u,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(r&&r.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),r&&(0,t.Z)(u,r)}},98568:(f,n,e)=>{function t(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(n,{Z:()=>t})},10006:(f,n,e)=>{function t(o,u){return(t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_,i){return _.__proto__=i,_})(o,u)}e.d(n,{Z:()=>t})}}]); +//# sourceMappingURL=4968.4bfd65c5f3d533da.js.map \ No newline at end of file diff --git a/4968.4bfd65c5f3d533da.js.map b/4968.4bfd65c5f3d533da.js.map new file mode 100644 index 0000000..754b4df --- /dev/null +++ b/4968.4bfd65c5f3d533da.js.map @@ -0,0 +1 @@ +{"version":3,"file":"4968.4bfd65c5f3d533da.js","mappings":"sQAAe,SAAAA,EAAAC,GACf,YAAAA,EACA,UAAAC,eAAA,6DAEA,OAAAD,CACA,oGCFe,SAAAE,EAAAC,GACf,IAAAC,KAAkCC,EAAAC,KAClC,kBACA,IACAC,EADAC,KAAgBC,EAAAH,GAAcH,GAE9B,GAAAC,EAAA,CACA,IAAAM,KAAsBD,EAAAH,GAAcK,MAAAC,YACpCL,EAAAM,QAAAC,UAAAN,EAAAO,UAAAL,EAAA,MAEAH,EAAAC,EAAAQ,MAAAL,KAAAI,WAEA,OCZe,SAAAE,EAAAjB,EAAAkB,GACf,GAAAA,IAAsB,YAAtBA,EAAeC,EAAAb,GAAOY,IAAA,mBAAAA,GACtB,OAAAA,EACI,YAAAA,EACJ,UAAAE,UAAA,4DAEA,SAASC,EAAAf,GAAqBN,EAC9B,CDKWiB,CAAyBN,KAAAJ,EACpC,CACA,mBEhBe,SAAAe,EAAAC,GACf,OAAAD,EAAAE,OAAAC,eAAAD,OAAAf,eAAAiB,OAAA,SAAAH,GACA,OAAAA,EAAAI,WAAAH,OAAAf,eAAAc,EACA,GACAA,EACA,mECJe,SAAAK,EAAAC,EAAAC,GACf,sBAAAA,GAAA,OAAAA,EACA,UAAAV,UAAA,sDAEAS,EAAAE,UAAAP,OAAAQ,OAAAF,KAAAC,UAAA,CACAnB,YAAA,CACAqB,MAAAJ,EACAK,UAAA,EACAC,cAAA,KAGAX,OAAAY,eAAAP,EAAA,aACAK,UAAA,IAEAJ,MAAkBO,EAAA/B,GAAcuB,EAAAC,EAChC,mBChBe,SAAAQ,IAEf,UADAzB,QAAA,MAAAA,QAAAC,WACAD,QAAAC,UAAAyB,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAAV,UAAAW,QAAAxB,KAAAL,QAAAC,UAAA2B,QAAA,mBACA,CACA,OACA,QACA,CACA,mCCVe,SAAAE,EAAApB,EAAAqB,GACf,OAAAD,EAAAnB,OAAAC,eAAAD,OAAAC,eAAAC,OAAA,SAAAH,EAAAqB,GACA,OAAArB,EAAAI,UAAAiB,EACArB,CACA,GACAA,EAAAqB,EACA","names":["_assertThisInitialized","self","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","call","esm_typeof","TypeError","assertThisInitialized","_getPrototypeOf","o","Object","setPrototypeOf","bind","__proto__","_inherits","subClass","superClass","prototype","create","value","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6]} \ No newline at end of file diff --git a/4987.33138ee02ba4ed0e.js b/4987.33138ee02ba4ed0e.js new file mode 100644 index 0000000..578cc9d --- /dev/null +++ b/4987.33138ee02ba4ed0e.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[4987],{54987:(C,b,l)=>{l.d(b,{Xf:()=>z});var v=l(81803),y=l(95106),h=l(42321),M=l(99806),I=l(79548),O=l(90833),k=l(21331),j=l(80470),F=l(27785),W=l(23433),P=l(20181),N=l(92971),m=l(84709),L=l(24585);function z(s){if(s instanceof O.y)return s;if(null!=s){if((0,k.c)(s))return function K(s){return new O.y(function(p){var d=s[L.L]();if((0,N.m)(d.subscribe))return d.subscribe(p);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(s);if((0,M.z)(s))return function S(s){return new O.y(function(p){for(var d=0;d<s.length&&!p.closed;d++)p.next(s[d]);p.complete()})}(s);if((0,I.t)(s))return function $(s){return new O.y(function(p){s.then(function(d){p.closed||(p.next(d),p.complete())},function(d){return p.error(d)}).then(null,m.h)})}(s);if((0,j.D)(s))return G(s);if((0,W.T)(s))return function Q(s){return new O.y(function(p){var A,d=(0,y.Z)(s);try{for(d.s();!(A=d.n()).done;)if(p.next(A.value),p.closed)return}catch(U){d.e(U)}finally{d.f()}p.complete()})}(s);if((0,P.L)(s))return function T(s){return G((0,P.Q)(s))}(s)}throw(0,F.z)(s)}function G(s){return new O.y(function(p){(function V(s,p){var d,A,R,U;return(0,h.mG)(this,void 0,void 0,(0,v.Z)().mark(function X(){return(0,v.Z)().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:o.prev=0,d=(0,h.KL)(s);case 2:return o.next=4,d.next();case 4:if((A=o.sent).done){o.next=12;break}if(p.next(A.value),!p.closed){o.next=10;break}return o.abrupt("return");case 10:o.next=2;break;case 12:o.next=17;break;case 14:o.prev=14,o.t0=o.catch(0),R={error:o.t0};case 17:if(o.prev=17,o.prev=18,!A||A.done||!(U=d.return)){o.next=22;break}return o.next=22,U.call(d);case 22:if(o.prev=22,!R){o.next=25;break}throw R.error;case 25:return o.finish(22);case 26:return o.finish(17);case 27:p.complete();case 28:case"end":return o.stop()}},X,null,[[0,14,17,27],[18,,22,26]])}))})(s,p).catch(function(d){return p.error(d)})})}},67321:(C,b,l)=>{l.d(b,{h:()=>y});var y=function v(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},99806:(C,b,l)=>{l.d(b,{z:()=>v});var v=function(h){return h&&"number"==typeof h.length&&"function"!=typeof h}},80470:(C,b,l)=>{l.d(b,{D:()=>y});var v=l(92971);function y(h){return Symbol.asyncIterator&&(0,v.m)(h?.[Symbol.asyncIterator])}},21331:(C,b,l)=>{l.d(b,{c:()=>h});var v=l(24585),y=l(92971);function h(M){return(0,y.m)(M[v.L])}},23433:(C,b,l)=>{l.d(b,{T:()=>h});var v=l(67321),y=l(92971);function h(M){return(0,y.m)(M?.[v.h])}},79548:(C,b,l)=>{l.d(b,{t:()=>y});var v=l(92971);function y(h){return(0,v.m)(h?.then)}},20181:(C,b,l)=>{l.d(b,{L:()=>I,Q:()=>M});var v=l(81803),y=l(42321),h=l(92971);function M(O){return(0,y.FC)(this,arguments,(0,v.Z)().mark(function k(){var j,F,W;return(0,v.Z)().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:j=O.getReader(),m.prev=1;case 2:return m.next=5,(0,y.qq)(j.read());case 5:if(W=(F=m.sent).value,!F.done){m.next=12;break}return m.next=11,(0,y.qq)(void 0);case 11:return m.abrupt("return",m.sent);case 12:return m.next=14,(0,y.qq)(W);case 14:return m.next=16,m.sent;case 16:m.next=2;break;case 18:return m.prev=18,j.releaseLock(),m.finish(18);case 21:case"end":return m.stop()}},k,null,[[1,,18,21]])}))}function I(O){return(0,h.m)(O?.getReader)}},27785:(C,b,l)=>{function v(y){return new TypeError("You provided ".concat(null!==y&&"object"==typeof y?"an invalid object":"'".concat(y,"'")," where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable."))}l.d(b,{z:()=>v})},81803:(C,b,l)=>{l.d(b,{Z:()=>y});var v=l(43445);function y(){"use strict";y=function(){return h};var h={},M=Object.prototype,I=M.hasOwnProperty,O=Object.defineProperty||function(u,o,e){u[o]=e.value},k="function"==typeof Symbol?Symbol:{},j=k.iterator||"@@iterator",F=k.asyncIterator||"@@asyncIterator",W=k.toStringTag||"@@toStringTag";function P(u,o,e){return Object.defineProperty(u,o,{value:e,enumerable:!0,configurable:!0,writable:!0}),u[o]}try{P({},"")}catch{P=function(e,r,t){return e[r]=t}}function N(u,o,e,r){var n=Object.create((o&&o.prototype instanceof z?o:z).prototype),a=new U(r||[]);return O(n,"_invoke",{value:p(u,e,a)}),n}function m(u,o,e){try{return{type:"normal",arg:u.call(o,e)}}catch(r){return{type:"throw",arg:r}}}h.wrap=N;var L={};function z(){}function K(){}function S(){}var $={};P($,j,function(){return this});var Q=Object.getPrototypeOf,G=Q&&Q(Q(X([])));G&&G!==M&&I.call(G,j)&&($=G);var T=S.prototype=z.prototype=Object.create($);function V(u){["next","throw","return"].forEach(function(o){P(u,o,function(e){return this._invoke(o,e)})})}function s(u,o){function e(t,n,a,i){var f=m(u[t],u,n);if("throw"!==f.type){var _=f.arg,w=_.value;return w&&"object"==(0,v.Z)(w)&&I.call(w,"__await")?o.resolve(w.__await).then(function(c){e("next",c,a,i)},function(c){e("throw",c,a,i)}):o.resolve(w).then(function(c){_.value=c,a(_)},function(c){return e("throw",c,a,i)})}i(f.arg)}var r;O(this,"_invoke",{value:function(n,a){function i(){return new o(function(f,_){e(n,a,f,_)})}return r=r?r.then(i,i):i()}})}function p(u,o,e){var r="suspendedStart";return function(t,n){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===t)throw n;return{value:void 0,done:!0}}for(e.method=t,e.arg=n;;){var a=e.delegate;if(a){var i=d(a,e);if(i){if(i===L)continue;return i}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if("suspendedStart"===r)throw r="completed",e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);r="executing";var f=m(u,o,e);if("normal"===f.type){if(r=e.done?"completed":"suspendedYield",f.arg===L)continue;return{value:f.arg,done:e.done}}"throw"===f.type&&(r="completed",e.method="throw",e.arg=f.arg)}}}function d(u,o){var e=o.method,r=u.iterator[e];if(void 0===r)return o.delegate=null,"throw"===e&&u.iterator.return&&(o.method="return",o.arg=void 0,d(u,o),"throw"===o.method)||"return"!==e&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+e+"' method")),L;var t=m(r,u.iterator,o.arg);if("throw"===t.type)return o.method="throw",o.arg=t.arg,o.delegate=null,L;var n=t.arg;return n?n.done?(o[u.resultName]=n.value,o.next=u.nextLoc,"return"!==o.method&&(o.method="next",o.arg=void 0),o.delegate=null,L):n:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,L)}function A(u){var o={tryLoc:u[0]};1 in u&&(o.catchLoc=u[1]),2 in u&&(o.finallyLoc=u[2],o.afterLoc=u[3]),this.tryEntries.push(o)}function R(u){var o=u.completion||{};o.type="normal",delete o.arg,u.completion=o}function U(u){this.tryEntries=[{tryLoc:"root"}],u.forEach(A,this),this.reset(!0)}function X(u){if(u){var o=u[j];if(o)return o.call(u);if("function"==typeof u.next)return u;if(!isNaN(u.length)){var e=-1,r=function t(){for(;++e<u.length;)if(I.call(u,e))return t.value=u[e],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:H}}function H(){return{value:void 0,done:!0}}return K.prototype=S,O(T,"constructor",{value:S,configurable:!0}),O(S,"constructor",{value:K,configurable:!0}),K.displayName=P(S,W,"GeneratorFunction"),h.isGeneratorFunction=function(u){var o="function"==typeof u&&u.constructor;return!!o&&(o===K||"GeneratorFunction"===(o.displayName||o.name))},h.mark=function(u){return Object.setPrototypeOf?Object.setPrototypeOf(u,S):(u.__proto__=S,P(u,W,"GeneratorFunction")),u.prototype=Object.create(T),u},h.awrap=function(u){return{__await:u}},V(s.prototype),P(s.prototype,F,function(){return this}),h.AsyncIterator=s,h.async=function(u,o,e,r,t){void 0===t&&(t=Promise);var n=new s(N(u,o,e,r),t);return h.isGeneratorFunction(o)?n:n.next().then(function(a){return a.done?a.value:n.next()})},V(T),P(T,W,"Generator"),P(T,j,function(){return this}),P(T,"toString",function(){return"[object Generator]"}),h.keys=function(u){var o=Object(u),e=[];for(var r in o)e.push(r);return e.reverse(),function t(){for(;e.length;){var n=e.pop();if(n in o)return t.value=n,t.done=!1,t}return t.done=!0,t}},h.values=X,U.prototype={constructor:U,reset:function(o){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(R),!o)for(var e in this)"t"===e.charAt(0)&&I.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var o=this.tryEntries[0].completion;if("throw"===o.type)throw o.arg;return this.rval},dispatchException:function(o){if(this.done)throw o;var e=this;function r(_,w){return a.type="throw",a.arg=o,e.next=_,w&&(e.method="next",e.arg=void 0),!!w}for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t],a=n.completion;if("root"===n.tryLoc)return r("end");if(n.tryLoc<=this.prev){var i=I.call(n,"catchLoc"),f=I.call(n,"finallyLoc");if(i&&f){if(this.prev<n.catchLoc)return r(n.catchLoc,!0);if(this.prev<n.finallyLoc)return r(n.finallyLoc)}else if(i){if(this.prev<n.catchLoc)return r(n.catchLoc,!0)}else{if(!f)throw new Error("try statement without catch or finally");if(this.prev<n.finallyLoc)return r(n.finallyLoc)}}}},abrupt:function(o,e){for(var r=this.tryEntries.length-1;r>=0;--r){var t=this.tryEntries[r];if(t.tryLoc<=this.prev&&I.call(t,"finallyLoc")&&this.prev<t.finallyLoc){var n=t;break}}n&&("break"===o||"continue"===o)&&n.tryLoc<=e&&e<=n.finallyLoc&&(n=null);var a=n?n.completion:{};return a.type=o,a.arg=e,n?(this.method="next",this.next=n.finallyLoc,L):this.complete(a)},complete:function(o,e){if("throw"===o.type)throw o.arg;return"break"===o.type||"continue"===o.type?this.next=o.arg:"return"===o.type?(this.rval=this.arg=o.arg,this.method="return",this.next="end"):"normal"===o.type&&e&&(this.next=e),L},finish:function(o){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===o)return this.complete(r.completion,r.afterLoc),R(r),L}},catch:function(o){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===o){var t=r.completion;if("throw"===t.type){var n=t.arg;R(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(o,e,r){return this.delegate={iterator:X(o),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),L}},h}},42321:(C,b,l)=>{function N(e,r,t,n){return new(t||(t=Promise))(function(i,f){function _(E){try{c(n.next(E))}catch(D){f(D)}}function w(E){try{c(n.throw(E))}catch(D){f(D)}}function c(E){E.done?i(E.value):function a(i){return i instanceof t?i:new t(function(f){f(i)})}(E.value).then(_,w)}c((n=n.apply(e,r||[])).next())})}function T(e){return this instanceof T?(this.v=e,this):new T(e)}function V(e,r,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var a,n=t.apply(e,r||[]),i=[];return a={},f("next"),f("throw"),f("return"),a[Symbol.asyncIterator]=function(){return this},a;function f(g){n[g]&&(a[g]=function(B){return new Promise(function(Z,Y){i.push([g,B,Z,Y])>1||_(g,B)})})}function _(g,B){try{!function w(g){g.value instanceof T?Promise.resolve(g.value.v).then(c,E):D(i[0][2],g)}(n[g](B))}catch(Z){D(i[0][3],Z)}}function c(g){_("next",g)}function E(g){_("throw",g)}function D(g,B){g(B),i.shift(),i.length&&_(i[0][0],i[0][1])}}function p(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=function K(e){var r="function"==typeof Symbol&&Symbol.iterator,t=r&&e[r],n=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(i){t[i]=e[i]&&function(f){return new Promise(function(_,w){!function a(i,f,_,w){Promise.resolve(w).then(function(c){i({value:c,done:_})},f)}(_,w,(f=e[i](f)).done,f.value)})}}}l.d(b,{FC:()=>V,KL:()=>p,mG:()=>N,qq:()=>T})}}]); +//# sourceMappingURL=4987.33138ee02ba4ed0e.js.map \ No newline at end of file diff --git a/4987.33138ee02ba4ed0e.js.map b/4987.33138ee02ba4ed0e.js.map new file mode 100644 index 0000000..3f36b5c --- /dev/null +++ b/4987.33138ee02ba4ed0e.js.map @@ -0,0 +1 @@ +{"version":3,"file":"4987.33138ee02ba4ed0e.js","mappings":"kQAYO,SAASA,EAAUC,GACtB,GAAIA,aAAiBC,IACjB,OAAOD,EAEX,GAAa,MAATA,EAAe,CACf,MAAIE,KAAoBF,GACpB,OAoBL,SAASG,EAAsBC,GAClC,OAAO,IAAIH,IAAW,SAACI,GACnB,IAAMC,EAAMF,EAAIG,OAChB,MAAIC,KAAWF,EAAIG,WACf,OAAOH,EAAIG,UAAUJ,GAEzB,MAAM,IAAIK,UAAU,iEACxB,EACJ,CA5BmBP,CAAsBH,GAEjC,MAAIW,KAAYX,GACZ,OA0BL,SAASY,EAAcC,GAC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AAmC,eAAAF,SAAAuJ,EAAAxL,GAAAuL,EAAAvL,GAAArB,EAAA,EACA,GAAA6M,EAAA,OAAAA,EAAA1J,KAAAyJ,GACA,GAAAA,GAAA,iBAAAA,EAAA3M,OAAA,OACAE,KAAA,WACA,OAAAyM,GAAA5M,GAAA4M,EAAA3M,SAAA2M,OAAA,GACA,CAAmBnM,MAAAmM,KAAA5M,KAAAuB,MAAAqL,EACnB,GAEA,UAAAhN,UAAAyB,EAAA,4DACA,CAsEAyL,CAAAF,GAAA5M,EAAA,GAAyGoM,EAAA,QAAAA,EAAA,SAAAA,EAAA,UAAApM,EAAAwD,OAAAE,eAAA,WAAuF,OAAApB,IAAA,EAActC,GAC9M,SAAAoM,EAAA9K,GAAqBtB,EAAAsB,GAAAsL,EAAAtL,IAAA,SAAA2K,GAA8B,WAAA9B,QAAA,SAAA7C,EAAAC,IACnD,SAAAmF,EAAApF,EAAAC,EAAAwF,EAAAd,GAA2C9B,QAAA7C,QAAA2E,GAAAzL,KAAA,SAAAyL,GAAsC3E,EAAA,CAAU7G,MAAAwL,EAAA1K,KAAAwL,GAAmB,EAAIxF,EAAA,CADfmF,CAAApF,EAAAC,GAAA0E,EAAAW,EAAAtL,GAAA2K,IAAA1K,KAAA0K,EAAAxL,MAAA,EAAwD,EAE3J","names":["innerFrom","input","Observable","isInteropObservable","fromInteropObservable","obj","subscriber","obs","Symbol_observable","isFunction","subscribe","TypeError","isArrayLike","fromArrayLike","array","i","length","closed","next","complete","isPromise","fromPromise","promise","then","value","err","error","reportUnhandledError","isAsyncIterable","fromAsyncIterable","isIterable","fromIterable","iterable","_step","_iterator","_createForOfIteratorHelper","s","n","done","e","f","isReadableStreamLike","fromReadableStreamLike","readableStream","readableStreamLikeToAsyncGenerator","createInvalidObservableTypeError","asyncIterable","process","asyncIterable_1","asyncIterable_1_1","e_1","_a","__awaiter","this","_regeneratorRuntime","mark","_callee","wrap","_context","prev","__asyncValues","sent","abrupt","t0","catch","return","call","finish","stop","iterator","getSymbolIterator","Symbol","x","asyncIterator","Symbol_iterator","__asyncGenerator","arguments","readableStreamLikeToAsyncGenerator_1","reader","_yield$__await","getReader","__await","read","releaseLock","concat","exports","Op","Object","prototype","hasOwn","hasOwnProperty","defineProperty","key","desc","$Symbol","iteratorSymbol","asyncIteratorSymbol","toStringTagSymbol","toStringTag","define","enumerable","configurable","writable","innerFn","outerFn","self","tryLocsList","generator","create","Generator","context","Context","makeInvokeMethod","tryCatch","fn","arg","type","ContinueSentinel","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","getProto","getPrototypeOf","NativeIteratorPrototype","values","Gp","defineIteratorMethods","forEach","method","_invoke","AsyncIterator","PromiseImpl","invoke","resolve","reject","record","result","_typeof_js__WEBPACK_IMPORTED_MODULE_0__","Z","unwrapped","previousPromise","callInvokeWithMethodAndArg","state","Error","delegate","delegateResult","maybeInvokeDelegate","_sent","dispatchException","methodName","info","resultName","nextLoc","pushTryEntry","locs","entry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","iteratorMethod","isNaN","doneResult","displayName","isGeneratorFunction","genFun","ctor","constructor","name","setPrototypeOf","__proto__","awrap","async","Promise","iter","keys","val","object","reverse","pop","skipTempReset","charAt","slice","rootRecord","rval","exception","handle","loc","caught","hasCatch","hasFinally","finallyEntry","thrown","delegateYield","thisArg","_arguments","P","fulfilled","step","rejected","throw","adopt","apply","v","g","q","verb","a","b","resume","r","fulfill","settle","shift","o","m","__values","d"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/observable/innerFrom.js","./node_modules/rxjs/dist/esm/internal/symbol/iterator.js","./node_modules/rxjs/dist/esm/internal/util/isArrayLike.js","./node_modules/rxjs/dist/esm/internal/util/isAsyncIterable.js","./node_modules/rxjs/dist/esm/internal/util/isInteropObservable.js","./node_modules/rxjs/dist/esm/internal/util/isIterable.js","./node_modules/rxjs/dist/esm/internal/util/isPromise.js","./node_modules/rxjs/dist/esm/internal/util/isReadableStreamLike.js","./node_modules/rxjs/dist/esm/internal/util/throwUnobservableError.js","./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js","./node_modules/tslib/tslib.es6.mjs"],"sourcesContent":["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 if (input != null) {\n if (isInteropObservable(input)) {\n return fromInteropObservable(input);\n }\n if (isArrayLike(input)) {\n return fromArrayLike(input);\n }\n if (isPromise(input)) {\n return fromPromise(input);\n }\n if (isAsyncIterable(input)) {\n return fromAsyncIterable(input);\n }\n if (isIterable(input)) {\n return fromIterable(input);\n }\n if (isReadableStreamLike(input)) {\n return fromReadableStreamLike(input);\n }\n }\n throw createInvalidObservableTypeError(input);\n}\nexport function fromInteropObservable(obj) {\n return new Observable((subscriber) => {\n const obs = obj[Symbol_observable]();\n if (isFunction(obs.subscribe)) {\n return obs.subscribe(subscriber);\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 subscriber.complete();\n });\n}\nexport function fromPromise(promise) {\n return new Observable((subscriber) => {\n promise\n .then((value) => {\n if (!subscriber.closed) {\n subscriber.next(value);\n subscriber.complete();\n }\n }, (err) => subscriber.error(err))\n .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 if (subscriber.closed) {\n return;\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}\nfunction process(asyncIterable, subscriber) {\n var asyncIterable_1, asyncIterable_1_1;\n var e_1, _a;\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 if (subscriber.closed) {\n return;\n }\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (asyncIterable_1_1 && !asyncIterable_1_1.done && (_a = asyncIterable_1.return)) yield _a.call(asyncIterable_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n subscriber.complete();\n });\n}\n","export function getSymbolIterator() {\n if (typeof Symbol !== 'function' || !Symbol.iterator) {\n return '@@iterator';\n }\n return Symbol.iterator;\n}\nexport const iterator = getSymbolIterator();\n","export const isArrayLike = ((x) => x && typeof x.length === 'number' && typeof x !== 'function');\n","import { isFunction } from './isFunction';\nexport function isAsyncIterable(obj) {\n return Symbol.asyncIterator && isFunction(obj === null || obj === void 0 ? void 0 : obj[Symbol.asyncIterator]);\n}\n","import { observable as Symbol_observable } from '../symbol/observable';\nimport { isFunction } from './isFunction';\nexport function isInteropObservable(input) {\n return isFunction(input[Symbol_observable]);\n}\n","import { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from './isFunction';\nexport function isIterable(input) {\n return isFunction(input === null || input === void 0 ? void 0 : input[Symbol_iterator]);\n}\n","import { isFunction } from \"./isFunction\";\nexport function isPromise(value) {\n return isFunction(value === null || value === void 0 ? void 0 : value.then);\n}\n","import { __asyncGenerator, __await } from \"tslib\";\nimport { isFunction } from './isFunction';\nexport function readableStreamLikeToAsyncGenerator(readableStream) {\n return __asyncGenerator(this, arguments, function* readableStreamLikeToAsyncGenerator_1() {\n const reader = readableStream.getReader();\n try {\n while (true) {\n const { value, done } = yield __await(reader.read());\n if (done) {\n return yield __await(void 0);\n }\n yield yield __await(value);\n }\n }\n finally {\n reader.releaseLock();\n }\n });\n}\nexport function isReadableStreamLike(obj) {\n return isFunction(obj === null || obj === void 0 ? void 0 : obj.getReader);\n}\n","export function createInvalidObservableTypeError(input) {\n return new TypeError(`You provided ${input !== null && typeof input === 'object' ? 'an invalid object' : `'${input}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`);\n}\n","import _typeof from \"./typeof.js\";\nexport default function _regeneratorRuntime() {\n \"use strict\"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */\n _regeneratorRuntime = function _regeneratorRuntime() {\n return exports;\n };\n var exports = {},\n Op = Object.prototype,\n hasOwn = Op.hasOwnProperty,\n defineProperty = Object.defineProperty || function (obj, key, desc) {\n obj[key] = desc.value;\n },\n $Symbol = \"function\" == typeof Symbol ? Symbol : {},\n iteratorSymbol = $Symbol.iterator || \"@@iterator\",\n asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\",\n toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n function define(obj, key, value) {\n return Object.defineProperty(obj, key, {\n value: value,\n enumerable: !0,\n configurable: !0,\n writable: !0\n }), obj[key];\n }\n try {\n define({}, \"\");\n } catch (err) {\n define = function define(obj, key, value) {\n return obj[key] = value;\n };\n }\n function wrap(innerFn, outerFn, self, tryLocsList) {\n var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,\n generator = Object.create(protoGenerator.prototype),\n context = new Context(tryLocsList || []);\n return defineProperty(generator, \"_invoke\", {\n value: makeInvokeMethod(innerFn, self, context)\n }), generator;\n }\n function tryCatch(fn, obj, arg) {\n try {\n return {\n type: \"normal\",\n arg: fn.call(obj, arg)\n };\n } catch (err) {\n return {\n type: \"throw\",\n arg: err\n };\n }\n }\n exports.wrap = wrap;\n var ContinueSentinel = {};\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n var IteratorPrototype = {};\n define(IteratorPrototype, iteratorSymbol, function () {\n return this;\n });\n var getProto = Object.getPrototypeOf,\n NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);\n var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);\n function defineIteratorMethods(prototype) {\n [\"next\", \"throw\", \"return\"].forEach(function (method) {\n define(prototype, method, function (arg) {\n return this._invoke(method, arg);\n });\n });\n }\n function AsyncIterator(generator, PromiseImpl) {\n function invoke(method, arg, resolve, reject) {\n var record = tryCatch(generator[method], generator, arg);\n if (\"throw\" !== record.type) {\n var result = record.arg,\n value = result.value;\n return value && \"object\" == _typeof(value) && hasOwn.call(value, \"__await\") ? PromiseImpl.resolve(value.__await).then(function (value) {\n invoke(\"next\", value, resolve, reject);\n }, function (err) {\n invoke(\"throw\", err, resolve, reject);\n }) : PromiseImpl.resolve(value).then(function (unwrapped) {\n result.value = unwrapped, resolve(result);\n }, function (error) {\n return invoke(\"throw\", error, resolve, reject);\n });\n }\n reject(record.arg);\n }\n var previousPromise;\n defineProperty(this, \"_invoke\", {\n value: function value(method, arg) {\n function callInvokeWithMethodAndArg() {\n return new PromiseImpl(function (resolve, reject) {\n invoke(method, arg, resolve, reject);\n });\n }\n return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();\n }\n });\n }\n function makeInvokeMethod(innerFn, self, context) {\n var state = \"suspendedStart\";\n return function (method, arg) {\n if (\"executing\" === state) throw new Error(\"Generator is already running\");\n if (\"completed\" === state) {\n if (\"throw\" === method) throw arg;\n return doneResult();\n }\n for (context.method = method, context.arg = arg;;) {\n var delegate = context.delegate;\n if (delegate) {\n var delegateResult = maybeInvokeDelegate(delegate, context);\n if (delegateResult) {\n if (delegateResult === ContinueSentinel) continue;\n return delegateResult;\n }\n }\n if (\"next\" === context.method) context.sent = context._sent = context.arg;else if (\"throw\" === context.method) {\n if (\"suspendedStart\" === state) throw state = \"completed\", context.arg;\n context.dispatchException(context.arg);\n } else \"return\" === context.method && context.abrupt(\"return\", context.arg);\n state = \"executing\";\n var record = tryCatch(innerFn, self, context);\n if (\"normal\" === record.type) {\n if (state = context.done ? \"completed\" : \"suspendedYield\", record.arg === ContinueSentinel) continue;\n return {\n value: record.arg,\n done: context.done\n };\n }\n \"throw\" === record.type && (state = \"completed\", context.method = \"throw\", context.arg = record.arg);\n }\n };\n }\n function maybeInvokeDelegate(delegate, context) {\n var methodName = context.method,\n method = delegate.iterator[methodName];\n if (undefined === method) return context.delegate = null, \"throw\" === methodName && delegate.iterator[\"return\"] && (context.method = \"return\", context.arg = undefined, maybeInvokeDelegate(delegate, context), \"throw\" === context.method) || \"return\" !== methodName && (context.method = \"throw\", context.arg = new TypeError(\"The iterator does not provide a '\" + methodName + \"' method\")), ContinueSentinel;\n var record = tryCatch(method, delegate.iterator, context.arg);\n if (\"throw\" === record.type) return context.method = \"throw\", context.arg = record.arg, context.delegate = null, ContinueSentinel;\n var info = record.arg;\n return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, \"return\" !== context.method && (context.method = \"next\", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = \"throw\", context.arg = new TypeError(\"iterator result is not an object\"), context.delegate = null, ContinueSentinel);\n }\n function pushTryEntry(locs) {\n var entry = {\n tryLoc: locs[0]\n };\n 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);\n }\n function resetTryEntry(entry) {\n var record = entry.completion || {};\n record.type = \"normal\", delete record.arg, entry.completion = record;\n }\n function Context(tryLocsList) {\n this.tryEntries = [{\n tryLoc: \"root\"\n }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);\n }\n function values(iterable) {\n if (iterable) {\n var iteratorMethod = iterable[iteratorSymbol];\n if (iteratorMethod) return iteratorMethod.call(iterable);\n if (\"function\" == typeof iterable.next) return iterable;\n if (!isNaN(iterable.length)) {\n var i = -1,\n next = function next() {\n for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;\n return next.value = undefined, next.done = !0, next;\n };\n return next.next = next;\n }\n }\n return {\n next: doneResult\n };\n }\n function doneResult() {\n return {\n value: undefined,\n done: !0\n };\n }\n return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, \"constructor\", {\n value: GeneratorFunctionPrototype,\n configurable: !0\n }), defineProperty(GeneratorFunctionPrototype, \"constructor\", {\n value: GeneratorFunction,\n configurable: !0\n }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, \"GeneratorFunction\"), exports.isGeneratorFunction = function (genFun) {\n var ctor = \"function\" == typeof genFun && genFun.constructor;\n return !!ctor && (ctor === GeneratorFunction || \"GeneratorFunction\" === (ctor.displayName || ctor.name));\n }, exports.mark = function (genFun) {\n return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, \"GeneratorFunction\")), genFun.prototype = Object.create(Gp), genFun;\n }, exports.awrap = function (arg) {\n return {\n __await: arg\n };\n }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {\n return this;\n }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {\n void 0 === PromiseImpl && (PromiseImpl = Promise);\n var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);\n return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {\n return result.done ? result.value : iter.next();\n });\n }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, \"Generator\"), define(Gp, iteratorSymbol, function () {\n return this;\n }), define(Gp, \"toString\", function () {\n return \"[object Generator]\";\n }), exports.keys = function (val) {\n var object = Object(val),\n keys = [];\n for (var key in object) keys.push(key);\n return keys.reverse(), function next() {\n for (; keys.length;) {\n var key = keys.pop();\n if (key in object) return next.value = key, next.done = !1, next;\n }\n return next.done = !0, next;\n };\n }, exports.values = values, Context.prototype = {\n constructor: Context,\n reset: function reset(skipTempReset) {\n if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = \"next\", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) \"t\" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);\n },\n stop: function stop() {\n this.done = !0;\n var rootRecord = this.tryEntries[0].completion;\n if (\"throw\" === rootRecord.type) throw rootRecord.arg;\n return this.rval;\n },\n dispatchException: function dispatchException(exception) {\n if (this.done) throw exception;\n var context = this;\n function handle(loc, caught) {\n return record.type = \"throw\", record.arg = exception, context.next = loc, caught && (context.method = \"next\", context.arg = undefined), !!caught;\n }\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i],\n record = entry.completion;\n if (\"root\" === entry.tryLoc) return handle(\"end\");\n if (entry.tryLoc <= this.prev) {\n var hasCatch = hasOwn.call(entry, \"catchLoc\"),\n hasFinally = hasOwn.call(entry, \"finallyLoc\");\n if (hasCatch && hasFinally) {\n if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);\n if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);\n } else if (hasCatch) {\n if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);\n } else {\n if (!hasFinally) throw new Error(\"try statement without catch or finally\");\n if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);\n }\n }\n }\n },\n abrupt: function abrupt(type, arg) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc <= this.prev && hasOwn.call(entry, \"finallyLoc\") && this.prev < entry.finallyLoc) {\n var finallyEntry = entry;\n break;\n }\n }\n finallyEntry && (\"break\" === type || \"continue\" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);\n var record = finallyEntry ? finallyEntry.completion : {};\n return record.type = type, record.arg = arg, finallyEntry ? (this.method = \"next\", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);\n },\n complete: function complete(record, afterLoc) {\n if (\"throw\" === record.type) throw record.arg;\n return \"break\" === record.type || \"continue\" === record.type ? this.next = record.arg : \"return\" === record.type ? (this.rval = this.arg = record.arg, this.method = \"return\", this.next = \"end\") : \"normal\" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;\n },\n finish: function finish(finallyLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;\n }\n },\n \"catch\": function _catch(tryLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc === tryLoc) {\n var record = entry.completion;\n if (\"throw\" === record.type) {\n var thrown = record.arg;\n resetTryEntry(entry);\n }\n return thrown;\n }\n }\n throw new Error(\"illegal catch attempt\");\n },\n delegateYield: function delegateYield(iterable, resultName, nextLoc) {\n return this.delegate = {\n iterator: values(iterable),\n resultName: resultName,\n nextLoc: nextLoc\n }, \"next\" === this.method && (this.arg = undefined), ContinueSentinel;\n }\n }, exports;\n}","/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport 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 for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n};\n"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10]} \ No newline at end of file diff --git a/5007.31862526f240da4f.js b/5007.31862526f240da4f.js new file mode 100644 index 0000000..b4ec369 --- /dev/null +++ b/5007.31862526f240da4f.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[5007,5106,1551],{59319:(A,p,n)=>{n.d(p,{z:()=>o});var h=n(1308),s=n(10420),c=n(37400);function o(){for(var d=arguments.length,u=new Array(d),t=0;t<d;t++)u[t]=arguments[t];return function f(){return(0,h.J)(1)}()((0,c.D)(u,(0,s.yG)(u)))}},20591:(A,p,n)=>{n.d(p,{E:()=>f});var f=new(n(90833).y)(function(o){return o.complete()})},37400:(A,p,n)=>{n.d(p,{D:()=>b});var h=n(54987),f=n(8728),s=n(41944);function c(_){var E=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,s.e)(function(v,O){O.add(_.schedule(function(){return v.subscribe(O)},E))})}var u=n(90833),g=n(67321),C=n(92971),I=n(1817);function T(_,E){if(!_)throw new Error("Iterable cannot be null");return new u.y(function(v){(0,I.f)(v,E,function(){var O=_[Symbol.asyncIterator]();(0,I.f)(v,E,function(){O.next().then(function(R){R.done?v.complete():v.next(R.value)})},0,!0)})})}var S=n(21331),L=n(79548),x=n(99806),W=n(23433),Z=n(80470),F=n(27785),w=n(20181);function b(_,E){return E?function B(_,E){if(null!=_){if((0,S.c)(_))return function o(_,E){return(0,h.Xf)(_).pipe(c(E),(0,f.Q)(E))}(_,E);if((0,x.z)(_))return function t(_,E){return new u.y(function(v){var O=0;return E.schedule(function(){O===_.length?v.complete():(v.next(_[O++]),v.closed||this.schedule())})})}(_,E);if((0,L.t)(_))return function d(_,E){return(0,h.Xf)(_).pipe(c(E),(0,f.Q)(E))}(_,E);if((0,Z.D)(_))return T(_,E);if((0,W.T)(_))return function D(_,E){return new u.y(function(v){var O;return(0,I.f)(v,E,function(){O=_[g.h](),(0,I.f)(v,E,function(){var R,U;try{var j=O.next();R=j.value,U=j.done}catch($){return void v.error($)}U?v.complete():v.next(R)},0,!0)}),function(){return(0,C.m)(O?.return)&&O.return()}})}(_,E);if((0,w.L)(_))return function K(_,E){return T((0,w.Q)(_),E)}(_,E)}throw(0,F.z)(_)}(_,E):(0,h.Xf)(_)}},36646:(A,p,n)=>{n.d(p,{T:()=>d});var h=n(1308),f=n(54987),s=n(20591),c=n(10420),o=n(37400);function d(){for(var u=arguments.length,t=new Array(u),g=0;g<u;g++)t[g]=arguments[g];var C=(0,c.yG)(t),I=(0,c._6)(t,1/0),D=t;return D.length?1===D.length?(0,f.Xf)(D[0]):(0,h.J)(I)((0,o.D)(D,C)):s.E}},10745:(A,p,n)=>{n.d(p,{of:()=>s});var h=n(10420),f=n(37400);function s(){for(var c=arguments.length,o=new Array(c),d=0;d<c;d++)o[d]=arguments[d];var u=(0,h.yG)(o);return(0,f.D)(o,u)}},93945:(A,p,n)=>{n.d(p,{Q:()=>C,x:()=>g});var h=n(78069),f=n(48047),s=n(35488),c=n(24582),o=n(28694),d=n(4089),u=n(20265);function g(I,D,T,S,L){return new C(I,D,T,S,L)}var C=function(I){(0,c.Z)(T,I);var D=(0,o.Z)(T);function T(S,L,x,W,Z,F){var w,K,B,b;return(0,h.Z)(this,T),(b=D.call(this,S)).onFinalize=Z,b.shouldUnsubscribe=F,b._next=L?function(_){try{L(_)}catch(E){S.error(E)}}:(0,d.Z)((w=(0,s.Z)(b),(0,u.Z)(T.prototype)),"_next",w),b._error=W?function(_){try{W(_)}catch(E){S.error(E)}finally{this.unsubscribe()}}:(0,d.Z)((K=(0,s.Z)(b),(0,u.Z)(T.prototype)),"_error",K),b._complete=x?function(){try{x()}catch(_){S.error(_)}finally{this.unsubscribe()}}:(0,d.Z)((B=(0,s.Z)(b),(0,u.Z)(T.prototype)),"_complete",B),b}return(0,f.Z)(T,[{key:"unsubscribe",value:function(){var L;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var x=this.closed;(0,d.Z)((0,u.Z)(T.prototype),"unsubscribe",this).call(this),!x&&(null===(L=this.onFinalize)||void 0===L||L.call(this))}}}]),T}(n(5463).Lv)},76234:(A,p,n)=>{n.d(p,{g:()=>g});var h=n(96936),f=n(59319),s=n(59295),c=n(90023),o=n(73),d=n(49525);function u(C,I){return I?function(D){return(0,f.z)(I.pipe((0,s.q)(1),(0,c.l)()),D.pipe(u(C)))}:(0,d.z)(function(D,T){return C(D,T).pipe((0,s.q)(1),(0,o.h)(D))})}var t=n(78947);function g(C){var D=(0,t.H)(C,arguments.length>1&&void 0!==arguments[1]?arguments[1]:h.z);return u(function(){return D})}},60116:(A,p,n)=>{n.d(p,{h:()=>s});var h=n(41944),f=n(93945);function s(c,o){return(0,h.e)(function(d,u){var t=0;d.subscribe((0,f.x)(u,function(g){return c.call(o,g,t++)&&u.next(g)}))})}},90023:(A,p,n)=>{n.d(p,{l:()=>c});var h=n(41944),f=n(93945),s=n(99635);function c(){return(0,h.e)(function(o,d){o.subscribe((0,f.x)(d,s.Z))})}},73:(A,p,n)=>{n.d(p,{h:()=>f});var h=n(50635);function f(s){return(0,h.U)(function(){return s})}},1308:(A,p,n)=>{n.d(p,{J:()=>s});var h=n(49525),f=n(89173);function s(){return(0,h.z)(f.y,arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0)}},8728:(A,p,n)=>{n.d(p,{Q:()=>c});var h=n(1817),f=n(41944),s=n(93945);function c(o){var d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,f.e)(function(u,t){u.subscribe((0,s.x)(t,function(g){return(0,h.f)(t,o,function(){return t.next(g)},d)},function(){return(0,h.f)(t,o,function(){return t.complete()},d)},function(g){return(0,h.f)(t,o,function(){return t.error(g)},d)}))})}},44874:(A,p,n)=>{n.d(p,{O:()=>c});var h=n(59319),f=n(10420),s=n(41944);function c(){for(var o=arguments.length,d=new Array(o),u=0;u<o;u++)d[u]=arguments[u];var t=(0,f.yG)(d);return(0,s.e)(function(g,C){(t?(0,h.z)(d,g,t):(0,h.z)(d,g)).subscribe(C)})}},32673:(A,p,n)=>{n.d(p,{w:()=>c});var h=n(54987),f=n(41944),s=n(93945);function c(o,d){return(0,f.e)(function(u,t){var g=null,C=0,I=!1,D=function(){return I&&!g&&t.complete()};u.subscribe((0,s.x)(t,function(T){g?.unsubscribe();var S=0,L=C++;(0,h.Xf)(o(T,L)).subscribe(g=(0,s.x)(t,function(x){return t.next(d?d(T,x,L,S++):x)},function(){g=null,D()}))},function(){I=!0,D()}))})}},59295:(A,p,n)=>{n.d(p,{q:()=>c});var h=n(20591),f=n(41944),s=n(93945);function c(o){return o<=0?function(){return h.E}:(0,f.e)(function(d,u){var t=0;d.subscribe((0,s.x)(u,function(g){++t<=o&&(u.next(g),o<=t&&u.complete())}))})}},68951:(A,p,n)=>{n.d(p,{R:()=>o});var h=n(41944),f=n(93945),s=n(54987),c=n(99635);function o(d){return(0,h.e)(function(u,t){(0,s.Xf)(d).subscribe((0,f.x)(t,function(){return t.complete()},c.Z)),!t.closed&&u.subscribe(t)})}},83888:(A,p,n)=>{n.d(p,{E:()=>w});var g,h=n(78069),f=n(48047),s=n(4089),c=n(20265),o=n(24582),d=n(28694),u=n(75417),t=1,C={};function I(B){return B in C&&(delete C[B],!0)}var S=function(b){var _=t++;return C[_]=!0,g||(g=Promise.resolve()),g.then(function(){return I(_)&&b()}),_},L=function(b){I(b)},x={setImmediate:function(){var b=x.delegate;return(b?.setImmediate||S).apply(void 0,arguments)},clearImmediate:function(b){var _=x.delegate;return(_?.clearImmediate||L)(b)},delegate:void 0},W=function(B){(0,o.Z)(_,B);var b=(0,d.Z)(_);function _(E,v){var O;return(0,h.Z)(this,_),(O=b.call(this,E,v)).scheduler=E,O.work=v,O}return(0,f.Z)(_,[{key:"requestAsyncId",value:function(v,O){var R=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==R&&R>0?(0,s.Z)((0,c.Z)(_.prototype),"requestAsyncId",this).call(this,v,O,R):(v.actions.push(this),v._scheduled||(v._scheduled=x.setImmediate(v.flush.bind(v,void 0))))}},{key:"recycleAsyncId",value:function(v,O){var U,R=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!=R?R>0:this.delay>0)return(0,s.Z)((0,c.Z)(_.prototype),"recycleAsyncId",this).call(this,v,O,R);var j=v.actions;null!=O&&(null===(U=j[j.length-1])||void 0===U?void 0:U.id)!==O&&(x.clearImmediate(O),v._scheduled=void 0)}}]),_}(u.o),w=new(function(B){(0,o.Z)(_,B);var b=(0,d.Z)(_);function _(){return(0,h.Z)(this,_),b.apply(this,arguments)}return(0,f.Z)(_,[{key:"flush",value:function(v){this._active=!0;var O=this._scheduled;this._scheduled=void 0;var U,R=this.actions;v=v||R.shift();do{if(U=v.execute(v.state,v.delay))break}while((v=R[0])&&v.id===O&&R.shift());if(this._active=!1,U){for(;(v=R[0])&&v.id===O&&R.shift();)v.unsubscribe();throw U}}}]),_}(n(41010).v))(W)},10420:(A,p,n)=>{n.d(p,{_6:()=>d,jO:()=>c,yG:()=>o});var h=n(92971),f=n(59867);function s(u){return u[u.length-1]}function c(u){return(0,h.m)(s(u))?u.pop():void 0}function o(u){return(0,f.K)(s(u))?u.pop():void 0}function d(u,t){return"number"==typeof s(u)?u.pop():t}},41944:(A,p,n)=>{n.d(p,{A:()=>f,e:()=>s});var h=n(92971);function f(c){return(0,h.m)(c?.lift)}function s(c){return function(o){if(f(o))return o.lift(function(d){try{return c(d,this)}catch(u){this.error(u)}});throw new TypeError("Unable to lift unknown Observable type")}}},89314:(A,p,n)=>{n.r(p),n.d(p,{MAT_MENU_CONTENT:()=>J,MAT_MENU_DEFAULT_OPTIONS:()=>q,MAT_MENU_PANEL:()=>Q,MAT_MENU_SCROLL_STRATEGY:()=>ee,MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>oe,MENU_PANEL_TOP_PADDING:()=>De,MatMenu:()=>Ee,MatMenuContent:()=>ve,MatMenuItem:()=>G,MatMenuModule:()=>Oe,MatMenuTrigger:()=>be,_MatMenuBase:()=>Y,_MatMenuContentBase:()=>ae,_MatMenuTriggerBase:()=>ue,fadeInItems:()=>pe,matMenuAnimations:()=>X,transformMenu:()=>ge});var h=n(32090),f=n(86170),s=n(35488),c=n(24582),o=n(28694),d=n(48047),u=n(78069),t=n(56718),g=n(908),C=n(35333),I=n(52069),D=n(50253),T=n(36646),S=n(17714),L=n(10745),x=n(83888),W=n(44874),Z=n(32673),F=n(59295),w=n(68951),K=n(60116),B=n(76234),b=n(6606),_=n(94055),E=n(18142),v=n(72223),O=n(43068),R=n(43662),U=n(23675),j=n(93168),$=["mat-menu-item",""];function ce(m,y){1&m&&(t.\u0275\u0275namespaceSVG(),t.\u0275\u0275elementStart(0,"svg",3),t.\u0275\u0275element(1,"polygon",4),t.\u0275\u0275elementEnd())}var _e=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],de=["mat-icon, [matMenuItemIcon]","*"];function me(m,y){if(1&m){var r=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"div",0),t.\u0275\u0275listener("keydown",function(a){t.\u0275\u0275restoreView(r);var l=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(l._handleKeydown(a))})("click",function(){t.\u0275\u0275restoreView(r);var a=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(a.closed.emit("click"))})("@transformMenu.start",function(a){t.\u0275\u0275restoreView(r);var l=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(l._onAnimationStart(a))})("@transformMenu.done",function(a){t.\u0275\u0275restoreView(r);var l=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(l._onAnimationDone(a))}),t.\u0275\u0275elementStart(1,"div",1),t.\u0275\u0275projection(2),t.\u0275\u0275elementEnd()()}if(2&m){var e=t.\u0275\u0275nextContext();t.\u0275\u0275property("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),t.\u0275\u0275attribute("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}var fe=["*"],Q=new t.InjectionToken("MAT_MENU_PANEL"),he=(0,b.mixinDisableRipple)((0,b.mixinDisabled)(function(){return(0,d.Z)(function m(){(0,u.Z)(this,m)})}())),G=function(){var m=function(y){(0,c.Z)(e,y);var r=(0,o.Z)(e);function e(i,a,l,M,P){var N,k;return(0,u.Z)(this,e),(k=r.call(this))._elementRef=i,k._document=a,k._focusMonitor=l,k._parentMenu=M,k._changeDetectorRef=P,k.role="menuitem",k._hovered=new D.x,k._focused=new D.x,k._highlighted=!1,k._triggersSubmenu=!1,null==M||null===(N=M.addItem)||void 0===N||N.call(M,(0,s.Z)(k)),k}return(0,d.Z)(e,[{key:"focus",value:function(a,l){this._focusMonitor&&a?this._focusMonitor.focusVia(this._getHostElement(),a,l):this._getHostElement().focus(l),this._focused.next(this)}},{key:"ngAfterViewInit",value:function(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}},{key:"ngOnDestroy",value:function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_checkDisabled",value:function(a){this.disabled&&(a.preventDefault(),a.stopPropagation())}},{key:"_handleMouseEnter",value:function(){this._hovered.next(this)}},{key:"getLabel",value:function(){for(var a,l=this._elementRef.nativeElement.cloneNode(!0),M=l.querySelectorAll("mat-icon, .material-icons"),P=0;P<M.length;P++)M[P].remove();return(null===(a=l.textContent)||void 0===a?void 0:a.trim())||""}},{key:"_setHighlighted",value:function(a){var l;this._highlighted=a,null===(l=this._changeDetectorRef)||void 0===l||l.markForCheck()}},{key:"_setTriggersSubmenu",value:function(a){var l;this._triggersSubmenu=a,null===(l=this._changeDetectorRef)||void 0===l||l.markForCheck()}},{key:"_hasFocus",value:function(){return this._document&&this._document.activeElement===this._getHostElement()}}]),e}(he);return m.\u0275fac=function(r){return new(r||m)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(_.DOCUMENT),t.\u0275\u0275directiveInject(g.FocusMonitor),t.\u0275\u0275directiveInject(Q,8),t.\u0275\u0275directiveInject(t.ChangeDetectorRef))},m.\u0275cmp=t.\u0275\u0275defineComponent({type:m,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-mdc-focus-indicator","mdc-list-item"],hostVars:8,hostBindings:function(r,e){1&r&&t.\u0275\u0275listener("click",function(a){return e._checkDisabled(a)})("mouseenter",function(){return e._handleMouseEnter()}),2&r&&(t.\u0275\u0275attribute("role",e.role)("tabindex",e._getTabIndex())("aria-disabled",e.disabled)("disabled",e.disabled||null),t.\u0275\u0275classProp("mat-mdc-menu-item-highlighted",e._highlighted)("mat-mdc-menu-item-submenu-trigger",e._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[t.\u0275\u0275InheritDefinitionFeature],attrs:$,ngContentSelectors:de,decls:5,vars:3,consts:[[1,"mdc-list-item__primary-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-mdc-menu-submenu-icon","viewBox","0 0 5 10","focusable","false","aria-hidden","true",4,"ngIf"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-mdc-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(r,e){1&r&&(t.\u0275\u0275projectionDef(_e),t.\u0275\u0275projection(0),t.\u0275\u0275elementStart(1,"span",0),t.\u0275\u0275projection(2,1),t.\u0275\u0275elementEnd(),t.\u0275\u0275element(3,"div",1),t.\u0275\u0275template(4,ce,2,0,"svg",2)),2&r&&(t.\u0275\u0275advance(3),t.\u0275\u0275property("matRippleDisabled",e.disableRipple||e.disabled)("matRippleTrigger",e._getHostElement()),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",e._triggersSubmenu))},dependencies:[_.NgIf,b.MatRipple],encapsulation:2,changeDetection:0}),m}(),J=new t.InjectionToken("MatMenuContent"),ae=function(){var m=function(){function y(r,e,i,a,l,M,P){(0,u.Z)(this,y),this._template=r,this._componentFactoryResolver=e,this._appRef=i,this._injector=a,this._viewContainerRef=l,this._document=M,this._changeDetectorRef=P,this._attached=new D.x}return(0,d.Z)(y,[{key:"attach",value:function(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._portal||(this._portal=new E.TemplatePortal(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new E.DomPortalOutlet(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));var a=this._template.elementRef.nativeElement;a.parentNode.insertBefore(this._outlet.outletElement,a),null===(e=this._changeDetectorRef)||void 0===e||e.markForCheck(),this._portal.attach(this._outlet,i),this._attached.next()}},{key:"detach",value:function(){this._portal.isAttached&&this._portal.detach()}},{key:"ngOnDestroy",value:function(){this._outlet&&this._outlet.dispose()}}]),y}();return m.\u0275fac=function(r){return new(r||m)(t.\u0275\u0275directiveInject(t.TemplateRef),t.\u0275\u0275directiveInject(t.ComponentFactoryResolver),t.\u0275\u0275directiveInject(t.ApplicationRef),t.\u0275\u0275directiveInject(t.Injector),t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(_.DOCUMENT),t.\u0275\u0275directiveInject(t.ChangeDetectorRef))},m.\u0275dir=t.\u0275\u0275defineDirective({type:m}),m}(),ve=function(){var m=function(y){(0,c.Z)(e,y);var r=(0,o.Z)(e);function e(){return(0,u.Z)(this,e),r.apply(this,arguments)}return(0,d.Z)(e)}(ae);return m.\u0275fac=function(){var y;return function(e){return(y||(y=t.\u0275\u0275getInheritedFactory(m)))(e||m)}}(),m.\u0275dir=t.\u0275\u0275defineDirective({type:m,selectors:[["ng-template","matMenuContent",""]],features:[t.\u0275\u0275ProvidersFeature([{provide:J,useExisting:m}]),t.\u0275\u0275InheritDefinitionFeature]}),m}(),X={transformMenu:(0,v.X$)("transformMenu",[(0,v.SB)("void",(0,v.oB)({opacity:0,transform:"scale(0.8)"})),(0,v.eR)("void => enter",(0,v.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,v.oB)({opacity:1,transform:"scale(1)"}))),(0,v.eR)("* => void",(0,v.jt)("100ms 25ms linear",(0,v.oB)({opacity:0})))]),fadeInItems:(0,v.X$)("fadeInItems",[(0,v.SB)("showing",(0,v.oB)({opacity:1})),(0,v.eR)("void => *",[(0,v.oB)({opacity:0}),(0,v.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},pe=X.fadeInItems,ge=X.transformMenu,Me=0,q=new t.InjectionToken("mat-menu-default-options",{providedIn:"root",factory:function ye(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}}),Y=function(){var m=function(){function y(r,e,i,a){(0,u.Z)(this,y),this._elementRef=r,this._ngZone=e,this._changeDetectorRef=a,this._directDescendantItems=new t.QueryList,this._classList={},this._panelAnimationState="void",this._animationDone=new D.x,this.closed=new t.EventEmitter,this.close=this.closed,this.panelId="mat-menu-panel-".concat(Me++),this.overlayPanelClass=i.overlayPanelClass||"",this._xPosition=i.xPosition,this._yPosition=i.yPosition,this.backdropClass=i.backdropClass,this._overlapTrigger=i.overlapTrigger,this._hasBackdrop=i.hasBackdrop}return(0,d.Z)(y,[{key:"xPosition",get:function(){return this._xPosition},set:function(e){this._xPosition=e,this.setPositionClasses()}},{key:"yPosition",get:function(){return this._yPosition},set:function(e){this._yPosition=e,this.setPositionClasses()}},{key:"overlapTrigger",get:function(){return this._overlapTrigger},set:function(e){this._overlapTrigger=(0,C.coerceBooleanProperty)(e)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(e){this._hasBackdrop=(0,C.coerceBooleanProperty)(e)}},{key:"panelClass",set:function(e){var i=this,a=this._previousPanelClass;a&&a.length&&a.split(" ").forEach(function(l){i._classList[l]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(function(l){i._classList[l]=!0}),this._elementRef.nativeElement.className="")}},{key:"classList",get:function(){return this.panelClass},set:function(e){this.panelClass=e}},{key:"ngOnInit",value:function(){this.setPositionClasses()}},{key:"ngAfterContentInit",value:function(){var e=this;this._updateDirectDescendants(),this._keyManager=new g.FocusKeyManager(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(function(){return e.closed.emit("tab")}),this._directDescendantItems.changes.pipe((0,W.O)(this._directDescendantItems),(0,Z.w)(function(i){return T.T.apply(void 0,(0,f.Z)(i.map(function(a){return a._focused})))})).subscribe(function(i){return e._keyManager.updateActiveItem(i)}),this._directDescendantItems.changes.subscribe(function(i){var a,l=e._keyManager;if("enter"===e._panelAnimationState&&null!==(a=l.activeItem)&&void 0!==a&&a._hasFocus()){var M=i.toArray(),P=Math.max(0,Math.min(M.length-1,l.activeItemIndex||0));M[P]&&!M[P].disabled?l.setActiveItem(P):l.setNextItemActive()}})}},{key:"ngOnDestroy",value:function(){var e,i;null===(e=this._keyManager)||void 0===e||e.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),null===(i=this._firstItemFocusSubscription)||void 0===i||i.unsubscribe()}},{key:"_hovered",value:function(){return this._directDescendantItems.changes.pipe((0,W.O)(this._directDescendantItems),(0,Z.w)(function(i){return T.T.apply(void 0,(0,f.Z)(i.map(function(a){return a._hovered})))}))}},{key:"addItem",value:function(e){}},{key:"removeItem",value:function(e){}},{key:"_handleKeydown",value:function(e){var i=e.keyCode,a=this._keyManager;switch(i){case I.ESCAPE:(0,I.hasModifierKey)(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case I.LEFT_ARROW:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case I.RIGHT_ARROW:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(i===I.UP_ARROW||i===I.DOWN_ARROW)&&a.setFocusOrigin("keyboard"),void a.onKeydown(e)}e.stopPropagation()}},{key:"focusFirstItem",value:function(){var e,i=this,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program";null===(e=this._firstItemFocusSubscription)||void 0===e||e.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,F.q)(1)).subscribe(function(){var l=null;if(i._directDescendantItems.length&&(l=i._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!l||!l.contains(document.activeElement)){var M=i._keyManager;M.setFocusOrigin(a).setFirstItemActive(),!M.activeItem&&l&&l.focus()}})}},{key:"resetActiveItem",value:function(){this._keyManager.setActiveItem(-1)}},{key:"setElevation",value:function(e){var i=this,a=Math.min(this._baseElevation+e,24),l="".concat(this._elevationPrefix).concat(a),M=Object.keys(this._classList).find(function(P){return P.startsWith(i._elevationPrefix)});(!M||M===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[l]=!0,this._previousElevation=l)}},{key:"setPositionClasses",value:function(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.xPosition,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.yPosition,l=this._classList;l["mat-menu-before"]="before"===i,l["mat-menu-after"]="after"===i,l["mat-menu-above"]="above"===a,l["mat-menu-below"]="below"===a,null===(e=this._changeDetectorRef)||void 0===e||e.markForCheck()}},{key:"_startAnimation",value:function(){this._panelAnimationState="enter"}},{key:"_resetAnimation",value:function(){this._panelAnimationState="void"}},{key:"_onAnimationDone",value:function(e){this._animationDone.next(e),this._isAnimating=!1}},{key:"_onAnimationStart",value:function(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}},{key:"_updateDirectDescendants",value:function(){var e=this;this._allItems.changes.pipe((0,W.O)(this._allItems)).subscribe(function(i){e._directDescendantItems.reset(i.filter(function(a){return a._parentMenu===e})),e._directDescendantItems.notifyOnChanges()})}}]),y}();return m.\u0275fac=function(r){return new(r||m)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275directiveInject(q),t.\u0275\u0275directiveInject(t.ChangeDetectorRef))},m.\u0275dir=t.\u0275\u0275defineDirective({type:m,contentQueries:function(r,e,i){var a;1&r&&(t.\u0275\u0275contentQuery(i,J,5),t.\u0275\u0275contentQuery(i,G,5),t.\u0275\u0275contentQuery(i,G,4)),2&r&&(t.\u0275\u0275queryRefresh(a=t.\u0275\u0275loadQuery())&&(e.lazyContent=a.first),t.\u0275\u0275queryRefresh(a=t.\u0275\u0275loadQuery())&&(e._allItems=a),t.\u0275\u0275queryRefresh(a=t.\u0275\u0275loadQuery())&&(e.items=a))},viewQuery:function(r,e){var i;1&r&&t.\u0275\u0275viewQuery(t.TemplateRef,5),2&r&&t.\u0275\u0275queryRefresh(i=t.\u0275\u0275loadQuery())&&(e.templateRef=i.first)},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),m}(),Ee=function(){var m=function(y){(0,c.Z)(e,y);var r=(0,o.Z)(e);function e(i,a,l,M){var P;return(0,u.Z)(this,e),(P=r.call(this,i,a,l,M))._elevationPrefix="mat-elevation-z",P._baseElevation=8,P}return(0,d.Z)(e)}(Y);return m.\u0275fac=function(r){return new(r||m)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275directiveInject(q),t.\u0275\u0275directiveInject(t.ChangeDetectorRef))},m.\u0275cmp=t.\u0275\u0275defineComponent({type:m,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(r,e){2&r&&t.\u0275\u0275attribute("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[t.\u0275\u0275ProvidersFeature([{provide:Q,useExisting:m}]),t.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:fe,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mdc-menu-surface","mdc-menu-surface--open","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content","mdc-list"]],template:function(r,e){1&r&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275template(0,me,3,6,"ng-template"))},dependencies:[_.NgClass],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mdc-menu-surface{max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:var(--mdc-menu-max-height, calc(100vh - 32px));z-index:8;border-radius:var(--mdc-shape-medium, 4px)}mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;position:relative}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item.mdc-list-item{align-items:center}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item .mdc-list-item__primary-text{white-space:normal}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[X.transformMenu,X.fadeInItems]},changeDetection:0}),m}(),ee=new t.InjectionToken("mat-menu-scroll-strategy"),oe={provide:ee,deps:[R.Overlay],useFactory:function Ie(m){return function(){return m.scrollStrategies.reposition()}}},se=(0,U.normalizePassiveListenerOptions)({passive:!0}),De=8,ue=function(){var m=function(){function y(r,e,i,a,l,M,P,N,k){var H=this;(0,u.Z)(this,y),this._overlay=r,this._element=e,this._viewContainerRef=i,this._menuItemInstance=M,this._dir=P,this._focusMonitor=N,this._ngZone=k,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=S.w0.EMPTY,this._hoverSubscription=S.w0.EMPTY,this._menuCloseSubscription=S.w0.EMPTY,this._changeDetectorRef=(0,t.inject)(t.ChangeDetectorRef),this._handleTouchStart=function(z){(0,g.isFakeTouchstartFromScreenReader)(z)||(H._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new t.EventEmitter,this.onMenuOpen=this.menuOpened,this.menuClosed=new t.EventEmitter,this.onMenuClose=this.menuClosed,this._scrollStrategy=a,this._parentMaterialMenu=l instanceof Y?l:void 0,e.nativeElement.addEventListener("touchstart",this._handleTouchStart,se)}return(0,d.Z)(y,[{key:"_deprecatedMatMenuTriggerFor",get:function(){return this.menu},set:function(e){this.menu=e}},{key:"menu",get:function(){return this._menu},set:function(e){var a,i=this;e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(function(l){i._destroyMenu(l),("click"===l||"tab"===l)&&i._parentMaterialMenu&&i._parentMaterialMenu.closed.emit(l)})),null===(a=this._menuItemInstance)||void 0===a||a._setTriggersSubmenu(this.triggersSubmenu()))}},{key:"ngAfterContentInit",value:function(){this._handleHover()}},{key:"ngOnDestroy",value:function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,se),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}},{key:"menuOpen",get:function(){return this._menuOpen}},{key:"dir",get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"triggersSubmenu",value:function(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}},{key:"toggleMenu",value:function(){return this._menuOpen?this.closeMenu():this.openMenu()}},{key:"openMenu",value:function(){var e=this,i=this.menu;if(!this._menuOpen&&i){var a=this._createOverlay(i),l=a.getConfig(),M=l.positionStrategy;this._setPosition(i,M),l.hasBackdrop=null==i.hasBackdrop?!this.triggersSubmenu():i.hasBackdrop,a.attach(this._getPortal(i)),i.lazyContent&&i.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(function(){return e.closeMenu()}),this._initMenu(i),i instanceof Y&&(i._startAnimation(),i._directDescendantItems.changes.pipe((0,w.R)(i.close)).subscribe(function(){M.withLockedPosition(!1).reapplyLastPosition(),M.withLockedPosition(!0)}))}}},{key:"closeMenu",value:function(){var e;null===(e=this.menu)||void 0===e||e.close.emit()}},{key:"focus",value:function(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}},{key:"updatePosition",value:function(){var e;null===(e=this._overlayRef)||void 0===e||e.updatePosition()}},{key:"_destroyMenu",value:function(e){var i=this;if(this._overlayRef&&this.menuOpen){var l,a=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===e||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,a instanceof Y?(a._resetAnimation(),a.lazyContent?a._animationDone.pipe((0,K.h)(function(M){return"void"===M.toState}),(0,F.q)(1),(0,w.R)(a.lazyContent._attached)).subscribe({next:function(){return a.lazyContent.detach()},complete:function(){return i._setIsMenuOpen(!1)}}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),null==a||null===(l=a.lazyContent)||void 0===l||l.detach())}}},{key:"_initMenu",value:function(e){e.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,e.direction=this.dir,this._setMenuElevation(e),e.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}},{key:"_setMenuElevation",value:function(e){if(e.setElevation){for(var i=0,a=e.parentMenu;a;)i++,a=a.parentMenu;e.setElevation(i)}}},{key:"_setIsMenuOpen",value:function(e){e!==this._menuOpen&&(this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e),this._changeDetectorRef.markForCheck())}},{key:"_createOverlay",value:function(e){if(!this._overlayRef){var i=this._getOverlayConfig(e);this._subscribeToPositions(e,i.positionStrategy),this._overlayRef=this._overlay.create(i),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}},{key:"_getOverlayConfig",value:function(e){return new R.OverlayConfig({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}},{key:"_subscribeToPositions",value:function(e,i){var a=this;e.setPositionClasses&&i.positionChanges.subscribe(function(l){var M="start"===l.connectionPair.overlayX?"after":"before",P="top"===l.connectionPair.overlayY?"below":"above";a._ngZone?a._ngZone.run(function(){return e.setPositionClasses(M,P)}):e.setPositionClasses(M,P)})}},{key:"_setPosition",value:function(e,i){var l=(0,h.Z)("before"===e.xPosition?["end","start"]:["start","end"],2),M=l[0],P=l[1],k=(0,h.Z)("above"===e.yPosition?["bottom","top"]:["top","bottom"],2),H=k[0],z=k[1],te=H,ne=z,ie=M,re=P,V=0;if(this.triggersSubmenu()){if(re=M="before"===e.xPosition?"start":"end",P=ie="end"===M?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){var le=this._parentMaterialMenu.items.first;this._parentInnerPadding=le?le._getHostElement().offsetTop:0}V="bottom"===H?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(te="top"===H?"bottom":"top",ne="top"===z?"bottom":"top");i.withPositions([{originX:M,originY:te,overlayX:ie,overlayY:H,offsetY:V},{originX:P,originY:te,overlayX:re,overlayY:H,offsetY:V},{originX:M,originY:ne,overlayX:ie,overlayY:z,offsetY:-V},{originX:P,originY:ne,overlayX:re,overlayY:z,offsetY:-V}])}},{key:"_menuClosingActions",value:function(){var e=this,i=this._overlayRef.backdropClick(),a=this._overlayRef.detachments(),l=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,L.of)(),M=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,K.h)(function(P){return P!==e._menuItemInstance}),(0,K.h)(function(){return e._menuOpen})):(0,L.of)();return(0,T.T)(i,l,M,a)}},{key:"_handleMousedown",value:function(e){(0,g.isFakeMousedownFromScreenReader)(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}},{key:"_handleKeydown",value:function(e){var i=e.keyCode;(i===I.ENTER||i===I.SPACE)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(i===I.RIGHT_ARROW&&"ltr"===this.dir||i===I.LEFT_ARROW&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}},{key:"_handleClick",value:function(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}},{key:"_handleHover",value:function(){var e=this;!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,K.h)(function(i){return i===e._menuItemInstance&&!i.disabled}),(0,B.g)(0,x.E)).subscribe(function(){e._openedBy="mouse",e.menu instanceof Y&&e.menu._isAnimating?e.menu._animationDone.pipe((0,F.q)(1),(0,B.g)(0,x.E),(0,w.R)(e._parentMaterialMenu._hovered())).subscribe(function(){return e.openMenu()}):e.openMenu()}))}},{key:"_getPortal",value:function(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new E.TemplatePortal(e.templateRef,this._viewContainerRef)),this._portal}}]),y}();return m.\u0275fac=function(r){return new(r||m)(t.\u0275\u0275directiveInject(R.Overlay),t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(ee),t.\u0275\u0275directiveInject(Q,8),t.\u0275\u0275directiveInject(G,10),t.\u0275\u0275directiveInject(O.Directionality,8),t.\u0275\u0275directiveInject(g.FocusMonitor),t.\u0275\u0275directiveInject(t.NgZone))},m.\u0275dir=t.\u0275\u0275defineDirective({type:m,hostVars:3,hostBindings:function(r,e){1&r&&t.\u0275\u0275listener("click",function(a){return e._handleClick(a)})("mousedown",function(a){return e._handleMousedown(a)})("keydown",function(a){return e._handleKeydown(a)}),2&r&&t.\u0275\u0275attribute("aria-haspopup",e.menu?"menu":null)("aria-expanded",e.menuOpen)("aria-controls",e.menuOpen?e.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),m}(),be=function(){var m=function(y){(0,c.Z)(e,y);var r=(0,o.Z)(e);function e(){return(0,u.Z)(this,e),r.apply(this,arguments)}return(0,d.Z)(e)}(ue);return m.\u0275fac=function(){var y;return function(e){return(y||(y=t.\u0275\u0275getInheritedFactory(m)))(e||m)}}(),m.\u0275dir=t.\u0275\u0275defineDirective({type:m,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[t.\u0275\u0275InheritDefinitionFeature]}),m}(),Oe=function(){var m=(0,d.Z)(function y(){(0,u.Z)(this,y)});return m.\u0275fac=function(r){return new(r||m)},m.\u0275mod=t.\u0275\u0275defineNgModule({type:m}),m.\u0275inj=t.\u0275\u0275defineInjector({providers:[oe],imports:[_.CommonModule,b.MatRippleModule,b.MatCommonModule,R.OverlayModule,j.CdkScrollableModule,b.MatCommonModule]}),m}()},44841:(A,p,n)=>{function h(f,s){(null==s||s>f.length)&&(s=f.length);for(var c=0,o=new Array(s);c<s;c++)o[c]=f[c];return o}n.d(p,{Z:()=>h})},95106:(A,p,n)=>{n.d(p,{Z:()=>f});var h=n(44206);function f(s,c){var o=typeof Symbol<"u"&&s[Symbol.iterator]||s["@@iterator"];if(!o){if(Array.isArray(s)||(o=(0,h.Z)(s))||c&&s&&"number"==typeof s.length){o&&(s=o);var d=0,u=function(){};return{s:u,n:function(){return d>=s.length?{done:!0}:{done:!1,value:s[d++]}},e:function(D){throw D},f:u}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var C,t=!0,g=!1;return{s:function(){o=o.call(s)},n:function(){var D=o.next();return t=D.done,D},e:function(D){g=!0,C=D},f:function(){try{!t&&null!=o.return&&o.return()}finally{if(g)throw C}}}}},4089:(A,p,n)=>{n.d(p,{Z:()=>s});var h=n(20265);function s(){return s=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(o,d,u){var t=function f(c,o){for(;!Object.prototype.hasOwnProperty.call(c,o)&&null!==(c=(0,h.Z)(c)););return c}(o,d);if(t){var g=Object.getOwnPropertyDescriptor(t,d);return g.get?g.get.call(arguments.length<3?o:u):g.value}},s.apply(this,arguments)}},4826:(A,p,n)=>{function h(f){if(typeof Symbol<"u"&&null!=f[Symbol.iterator]||null!=f["@@iterator"])return Array.from(f)}n.d(p,{Z:()=>h})},86170:(A,p,n)=>{n.d(p,{Z:()=>d});var h=n(44841),s=n(4826),c=n(44206);function d(u){return function f(u){if(Array.isArray(u))return(0,h.Z)(u)}(u)||(0,s.Z)(u)||(0,c.Z)(u)||function o(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(A,p,n)=>{n.d(p,{Z:()=>f});var h=n(44841);function f(s,c){if(s){if("string"==typeof s)return(0,h.Z)(s,c);var o=Object.prototype.toString.call(s).slice(8,-1);if("Object"===o&&s.constructor&&(o=s.constructor.name),"Map"===o||"Set"===o)return Array.from(s);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return(0,h.Z)(s,c)}}}}]); +//# sourceMappingURL=5007.31862526f240da4f.js.map \ No newline at end of file diff --git a/5007.31862526f240da4f.js.map b/5007.31862526f240da4f.js.map new file mode 100644 index 0000000..5822855 --- /dev/null +++ b/5007.31862526f240da4f.js.map @@ -0,0 +1 @@ +{"version":3,"file":"5007.31862526f240da4f.js","mappings":"iJAGO,SAASA,IAAgB,QAAAC,EAAAC,UAAAC,OAANC,EAAI,IAAAC,MAAAJ,GAAAK,EAAA,EAAAA,EAAAL,EAAAK,IAAJF,EAAIE,GAAAJ,UAAAI,GAC1B,OCHG,SAASC,IACZ,SAAOC,KAAS,EACpB,CDCWD,IAAS,EAAGE,KAAKL,KAAMM,MAAaN,IAC/C,wCEJaO,EAAQ,aAAIC,GAAW,SAACC,GAAU,OAAKA,EAAWC,UAAU,yECAlE,SAASC,EAAYC,GAAsB,IAAXC,EAAKf,UAAAC,OAAA,QAAAe,IAAAhB,UAAA,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IAAAC,ECLe,SAAAC,EAAAC,EAAAJ,GACf,MAAArM,OAAAhU,UAAA0gB,eAAA/gB,KAAA8gB,EAAAJ,IAEA,QADAI,KAAaE,EAAAnB,GAAciB,MAG3B,OAAAA,CACA,CDDiBD,CAAaJ,EAAAC,GAC9B,GAAAE,EACA,KAAAK,EAAA5M,OAAA6M,yBAAAN,EAAAF,GACA,OAAAO,EAAAlR,IACAkR,EAAAlR,IAAA/P,KAAAnF,UAAAC,OAAA,EAAA2lB,EAAAE,GAEAM,EAAAnkB,KAAA,CACA,EAEAoD,EAAAwD,MAAAjG,KAAA5C,UACA,kBEhBe,SAAAsmB,EAAAC,GACf,UAAA5kB,OAAA,WAAA4kB,EAAA5kB,OAAAD,WAAA,MAAA6kB,EAAA,qBAAApmB,MAAAI,KAAAgmB,EACA,wFCEe,SAAA/P,EAAArM,GACf,OCJe,SAAAqc,EAAArc,GACf,GAAAhK,MAAA2kB,QAAA3a,GAAA,SAAiCsc,EAAAzB,GAAgB7a,EACjD,CDESqc,CAAiBrc,KAAA,EAASuc,EAAA1B,GAAe7a,KAAA,EAASwc,EAAA3B,GAA0B7a,IELtE,SAAAyc,IACf,UAAAhc,UAAA,uIACA,CFG8Fgc,EAC9F,mDGLe,SAAAC,EAAAlC,EAAAmC,GACf,GAAAnC,EACA,qBAAAA,EAAA,SAAoCoC,EAAA/B,GAAgBL,EAAAmC,GACpD,IAAA3B,EAAA3L,OAAAhU,UAAAwhB,SAAA7hB,KAAAwf,GAAAsC,MAAA,MAEA,GADA,WAAA9B,GAAAR,EAAAuC,cAAA/B,EAAAR,EAAAuC,YAAAC,MACA,QAAAhC,GAAA,QAAAA,EAAA,OAAAhlB,MAAAI,KAAAokB,GACA,iBAAAQ,GAAA,2CAAAiC,KAAAjC,GAAA,SAAsF4B,EAAA/B,GAAgBL,EAAAmC,EAAA,CACtG","names":["concat","_len","arguments","length","args","Array","_key","concatAll","mergeAll","from","popScheduler","EMPTY","Observable","subscriber","complete","subscribeOn","scheduler","delay","undefined","operate","source","add","schedule","subscribe","scheduleAsyncIterable","input","Error","executeSchedule","iterator","Symbol","asyncIterator","next","then","result","done","value","scheduled","isInteropObservable","scheduleObservable","innerFrom","pipe","observeOn","isArrayLike","scheduleArray","i","closed","this","isPromise","schedulePromise","isAsyncIterable","isIterable","scheduleIterable","Symbol_iterator","_iterator$next","err","error","isFunction","return","isReadableStreamLike","scheduleReadableStreamLike","readableStreamLikeToAsyncGenerator","createInvalidObservableTypeError","merge","concurrent","popNumber","Infinity","sources","of","createOperatorSubscriber","destination","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","_inherits","_super","_createSuper","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_this","_classCallCheck","call","_next","_get","_assertThisInitialized","_getPrototypeOf","prototype","_error","unsubscribe","_complete","_createClass","key","_a","Subscriber","delayWhen","delayDurationSelector","subscriptionDelay","take","ignoreElements","mergeMap","index","mapTo","due","duration","timer","asyncScheduler","filter","predicate","thisArg","noop","map","identity","startWith","values","switchMap","project","resultSelector","innerSubscriber","isComplete","checkComplete","innerIndex","outerIndex","innerValue","count","seen","takeUntil","notifier","resolved","nextHandle","activeHandles","findAndClearHandle","handle","setImmediate","cb","Promise","resolve","clearImmediate","immediateProvider","delegate","apply","AsapAction","_AsyncAction","work","id","actions","push","_scheduled","flush","bind","AsyncAction","asapScheduler","_AsyncScheduler","AsapScheduler","action","_active","flushId","shift","execute","state","AsyncScheduler","last","arr","popResultSelector","pop","isScheduler","defaultValue","hasLift","lift","init","liftedSource","TypeError","_c0","MatMenuItem__svg_svg_4_Template","rf","ctx","i0","_c1","_c2","MatMenu_ng_template_0_Template","_r2","$event","ctx_r1","_handleKeydown","ctx_r3","emit","ctx_r4","_onAnimationStart","ctx_r5","_onAnimationDone","ctx_r0","panelId","_classList","_panelAnimationState","ariaLabel","ariaLabelledby","ariaDescribedby","_c3","MAT_MENU_PANEL","InjectionToken","_MatMenuItemBase","mixinDisableRipple","mixinDisabled","_class","MatMenuItem","_MatMenuItemBase2","_elementRef","_document","_focusMonitor","_parentMenu","_changeDetectorRef","_parentMenu$addItem","role","_hovered","Subject","_focused","_highlighted","_triggersSubmenu","addItem","origin","options","focusVia","_getHostElement","focus","monitor","stopMonitoring","removeItem","disabled","nativeElement","event","preventDefault","stopPropagation","_clone$textContent","clone","cloneNode","icons","querySelectorAll","remove","textContent","trim","isHighlighted","_this$_changeDetector","markForCheck","triggersSubmenu","_this$_changeDetector2","activeElement","ɵfac","t","DOCUMENT","i1","ɵcmp","type","selectors","hostAttrs","hostVars","hostBindings","_checkDisabled","_handleMouseEnter","_getTabIndex","inputs","disableRipple","exportAs","features","attrs","ngContentSelectors","decls","vars","consts","template","dependencies","i2","i3","encapsulation","changeDetection","MAT_MENU_CONTENT","_MatMenuContentBase","_template","_componentFactoryResolver","_appRef","_injector","_viewContainerRef","_attached","_this$_changeDetector3","context","_portal","TemplatePortal","detach","_outlet","DomPortalOutlet","createElement","element","elementRef","parentNode","insertBefore","outletElement","attach","isAttached","dispose","ɵdir","MatMenuContent","_MatMenuContentBase2","_super2","ɵMatMenuContent_BaseFactory","provide","useExisting","matMenuAnimations","transformMenu","trigger","style","opacity","transform","transition","animate","fadeInItems","menuPanelUid","MAT_MENU_DEFAULT_OPTIONS","providedIn","factory","MAT_MENU_DEFAULT_OPTIONS_FACTORY","overlapTrigger","xPosition","yPosition","backdropClass","_MatMenuBase","_ngZone","defaultOptions","_directDescendantItems","QueryList","_animationDone","EventEmitter","close","overlayPanelClass","_xPosition","_yPosition","_overlapTrigger","_hasBackdrop","hasBackdrop","get","set","setPositionClasses","coerceBooleanProperty","classes","_this2","previousPanelClass","_previousPanelClass","split","forEach","className","panelClass","_this3","_updateDirectDescendants","_keyManager","FocusKeyManager","withWrap","withTypeAhead","withHomeAndEnd","tabOut","changes","items","_toConsumableArray","item","focusedItem","updateActiveItem","itemsList","_manager$activeItem","manager","activeItem","_hasFocus","toArray","Math","max","min","activeItemIndex","setActiveItem","setNextItemActive","_this$_keyManager","_this$_firstItemFocus","destroy","_firstItemFocusSubscription","_item","keyCode","ESCAPE","hasModifierKey","LEFT_ARROW","parentMenu","direction","RIGHT_ARROW","UP_ARROW","DOWN_ARROW","setFocusOrigin","onKeydown","_this$_firstItemFocus2","_this4","onStable","menuPanel","first","closest","contains","document","setFirstItemActive","depth","_this5","elevation","_baseElevation","newElevation","_elevationPrefix","customElevation","Object","keys","find","startsWith","_previousElevation","_this$_changeDetector4","posX","posY","_isAnimating","toState","scrollTop","_this6","_allItems","reset","notifyOnChanges","contentQueries","dirIndex","_t","lazyContent","viewQuery","TemplateRef","templateRef","classList","outputs","MatMenu","_MatMenuBase2","_super3","_defaultOptions","changeDetectorRef","_this7","styles","data","animation","MAT_MENU_SCROLL_STRATEGY","MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER","deps","Overlay","useFactory","MAT_MENU_SCROLL_STRATEGY_FACTORY","overlay","scrollStrategies","reposition","passiveEventListenerOptions","normalizePassiveListenerOptions","passive","MENU_PANEL_TOP_PADDING","_MatMenuTriggerBase","_overlay","_element","scrollStrategy","_menuItemInstance","_dir","_this8","_overlayRef","_menuOpen","_closingActionsSubscription","Subscription","_hoverSubscription","_menuCloseSubscription","inject","ChangeDetectorRef","_handleTouchStart","isFakeTouchstartFromScreenReader","_openedBy","restoreFocus","menuOpened","onMenuOpen","menuClosed","onMenuClose","_scrollStrategy","_parentMaterialMenu","addEventListener","menu","v","_menu","_this$_menuItemInstan","_this9","reason","_destroyMenu","_setTriggersSubmenu","_handleHover","removeEventListener","closeMenu","openMenu","_this10","overlayRef","_createOverlay","overlayConfig","getConfig","positionStrategy","_setPosition","_getPortal","menuData","_menuClosingActions","_initMenu","_startAnimation","withLockedPosition","reapplyLastPosition","_this$menu","_this$_overlayRef","updatePosition","_this11","menuOpen","_menu$lazyContent","_resetAnimation","_setIsMenuOpen","dir","_setMenuElevation","focusFirstItem","setElevation","isOpen","_setHighlighted","config","_getOverlayConfig","_subscribeToPositions","create","keydownEvents","OverlayConfig","position","flexibleConnectedTo","withGrowAfterOpen","withTransformOriginOn","_this12","positionChanges","change","connectionPair","overlayX","overlayY","run","_ref2","_slicedToArray","originX","originFallbackX","_ref4","overlayFallbackY","originY","originFallbackY","overlayFallbackX","offsetY","_parentInnerPadding","firstItem","offsetTop","withPositions","_this13","backdrop","backdropClick","detachments","parentClose","hover","active","isFakeMousedownFromScreenReader","button","ENTER","SPACE","toggleMenu","_this14","i1$1","i3$1","_handleClick","_handleMousedown","_deprecatedMatMenuTriggerFor","MatMenuTrigger","_MatMenuTriggerBase2","_super4","ɵMatMenuTrigger_BaseFactory","MatMenuModule","ɵmod","ɵinj","providers","imports","CommonModule","MatRippleModule","MatCommonModule","OverlayModule","CdkScrollableModule","_arrayLikeToArray","len","arr2","_createForOfIteratorHelper","o","allowArrayLike","it","isArray","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","s","n","e","_e","f","normalCompletion","didErr","step","_e2","Reflect","target","property","receiver","base","_superPropBase","object","hasOwnProperty","getPrototypeOf","desc","getOwnPropertyDescriptor","_iterableToArray","iter","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","toString","slice","constructor","name","test"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/observable/concat.js","./node_modules/rxjs/dist/esm/internal/operators/concatAll.js","./node_modules/rxjs/dist/esm/internal/observable/empty.js","./node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleAsyncIterable.js","./node_modules/rxjs/dist/esm/internal/observable/from.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduled.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleObservable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleArray.js","./node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleIterable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleReadableStreamLike.js","./node_modules/rxjs/dist/esm/internal/observable/merge.js","./node_modules/rxjs/dist/esm/internal/observable/of.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/delayWhen.js","./node_modules/rxjs/dist/esm/internal/operators/delay.js","./node_modules/rxjs/dist/esm/internal/operators/filter.js","./node_modules/rxjs/dist/esm/internal/operators/ignoreElements.js","./node_modules/rxjs/dist/esm/internal/operators/mapTo.js","./node_modules/rxjs/dist/esm/internal/operators/mergeAll.js","./node_modules/rxjs/dist/esm/internal/operators/observeOn.js","./node_modules/rxjs/dist/esm/internal/operators/startWith.js","./node_modules/rxjs/dist/esm/internal/operators/switchMap.js","./node_modules/rxjs/dist/esm/internal/operators/take.js","./node_modules/rxjs/dist/esm/internal/operators/takeUntil.js","./node_modules/rxjs/dist/esm/internal/util/Immediate.js","./node_modules/rxjs/dist/esm/internal/scheduler/immediateProvider.js","./node_modules/rxjs/dist/esm/internal/scheduler/AsapAction.js","./node_modules/rxjs/dist/esm/internal/scheduler/asap.js","./node_modules/rxjs/dist/esm/internal/scheduler/AsapScheduler.js","./node_modules/rxjs/dist/esm/internal/util/args.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/@angular/material/fesm2022/menu.mjs","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["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}\n","import { mergeAll } from './mergeAll';\nexport function concatAll() {\n return mergeAll(1);\n}\n","import { Observable } from '../Observable';\nexport const EMPTY = new Observable((subscriber) => subscriber.complete());\nexport function empty(scheduler) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n return new Observable((subscriber) => scheduler.schedule(() => subscriber.complete()));\n}\n","import { operate } from '../util/lift';\nexport function subscribeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay));\n });\n}\n","import { Observable } from '../Observable';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleAsyncIterable(input, scheduler) {\n if (!input) {\n throw new Error('Iterable cannot be null');\n }\n return new Observable((subscriber) => {\n executeSchedule(subscriber, scheduler, () => {\n const iterator = input[Symbol.asyncIterator]();\n executeSchedule(subscriber, scheduler, () => {\n iterator.next().then((result) => {\n if (result.done) {\n subscriber.complete();\n }\n else {\n subscriber.next(result.value);\n }\n });\n }, 0, true);\n });\n });\n}\n","import { scheduled } from '../scheduled/scheduled';\nimport { innerFrom } from './innerFrom';\nexport function from(input, scheduler) {\n return scheduler ? scheduled(input, scheduler) : innerFrom(input);\n}\n","import { scheduleObservable } from './scheduleObservable';\nimport { schedulePromise } from './schedulePromise';\nimport { scheduleArray } from './scheduleArray';\nimport { scheduleIterable } from './scheduleIterable';\nimport { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isPromise } from '../util/isPromise';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isIterable } from '../util/isIterable';\nimport { isAsyncIterable } from '../util/isAsyncIterable';\nimport { createInvalidObservableTypeError } from '../util/throwUnobservableError';\nimport { isReadableStreamLike } from '../util/isReadableStreamLike';\nimport { scheduleReadableStreamLike } from './scheduleReadableStreamLike';\nexport function scheduled(input, scheduler) {\n if (input != null) {\n if (isInteropObservable(input)) {\n return scheduleObservable(input, scheduler);\n }\n if (isArrayLike(input)) {\n return scheduleArray(input, scheduler);\n }\n if (isPromise(input)) {\n return schedulePromise(input, scheduler);\n }\n if (isAsyncIterable(input)) {\n return scheduleAsyncIterable(input, scheduler);\n }\n if (isIterable(input)) {\n return scheduleIterable(input, scheduler);\n }\n if (isReadableStreamLike(input)) {\n return scheduleReadableStreamLike(input, scheduler);\n }\n }\n throw createInvalidObservableTypeError(input);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function scheduleObservable(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nexport function scheduleArray(input, scheduler) {\n return new Observable((subscriber) => {\n let i = 0;\n return scheduler.schedule(function () {\n if (i === input.length) {\n subscriber.complete();\n }\n else {\n subscriber.next(input[i++]);\n if (!subscriber.closed) {\n this.schedule();\n }\n }\n });\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function schedulePromise(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from '../util/isFunction';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleIterable(input, scheduler) {\n return new Observable((subscriber) => {\n let iterator;\n executeSchedule(subscriber, scheduler, () => {\n iterator = input[Symbol_iterator]();\n executeSchedule(subscriber, scheduler, () => {\n let value;\n let done;\n try {\n ({ value, done } = iterator.next());\n }\n catch (err) {\n subscriber.error(err);\n return;\n }\n if (done) {\n subscriber.complete();\n }\n else {\n subscriber.next(value);\n }\n }, 0, true);\n });\n return () => isFunction(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return();\n });\n}\n","import { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { readableStreamLikeToAsyncGenerator } from '../util/isReadableStreamLike';\nexport function scheduleReadableStreamLike(input, scheduler) {\n return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);\n}\n","import { mergeAll } from '../operators/mergeAll';\nimport { innerFrom } from './innerFrom';\nimport { EMPTY } from './empty';\nimport { popNumber, popScheduler } from '../util/args';\nimport { from } from './from';\nexport function merge(...args) {\n const scheduler = popScheduler(args);\n const concurrent = popNumber(args, Infinity);\n const sources = args;\n return !sources.length\n ?\n EMPTY\n : sources.length === 1\n ?\n innerFrom(sources[0])\n :\n mergeAll(concurrent)(from(sources, scheduler));\n}\n","import { popScheduler } from '../util/args';\nimport { from } from './from';\nexport function of(...args) {\n const scheduler = popScheduler(args);\n return from(args, scheduler);\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","import { concat } from '../observable/concat';\nimport { take } from './take';\nimport { ignoreElements } from './ignoreElements';\nimport { mapTo } from './mapTo';\nimport { mergeMap } from './mergeMap';\nexport function delayWhen(delayDurationSelector, subscriptionDelay) {\n if (subscriptionDelay) {\n return (source) => concat(subscriptionDelay.pipe(take(1), ignoreElements()), source.pipe(delayWhen(delayDurationSelector)));\n }\n return mergeMap((value, index) => delayDurationSelector(value, index).pipe(take(1), mapTo(value)));\n}\n","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}\n","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}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { noop } from '../util/noop';\nexport function ignoreElements() {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, noop));\n });\n}\n","import { map } from './map';\nexport function mapTo(value) {\n return map(() => value);\n}\n","import { mergeMap } from './mergeMap';\nimport { identity } from '../util/identity';\nexport function mergeAll(concurrent = Infinity) {\n return mergeMap(identity, concurrent);\n}\n","import { executeSchedule } from '../util/executeSchedule';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function observeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, (value) => executeSchedule(subscriber, scheduler, () => subscriber.next(value), delay), () => executeSchedule(subscriber, scheduler, () => subscriber.complete(), delay), (err) => executeSchedule(subscriber, scheduler, () => subscriber.error(err), delay)));\n });\n}\n","import { concat } from '../observable/concat';\nimport { popScheduler } from '../util/args';\nimport { operate } from '../util/lift';\nexport function startWith(...values) {\n const scheduler = popScheduler(values);\n return operate((source, subscriber) => {\n (scheduler ? concat(values, source, scheduler) : concat(values, source)).subscribe(subscriber);\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function switchMap(project, resultSelector) {\n return operate((source, subscriber) => {\n let innerSubscriber = null;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => isComplete && !innerSubscriber && subscriber.complete();\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n innerSubscriber === null || innerSubscriber === void 0 ? void 0 : innerSubscriber.unsubscribe();\n let innerIndex = 0;\n const outerIndex = index++;\n innerFrom(project(value, outerIndex)).subscribe((innerSubscriber = createOperatorSubscriber(subscriber, (innerValue) => subscriber.next(resultSelector ? resultSelector(value, innerValue, outerIndex, innerIndex++) : innerValue), () => {\n innerSubscriber = null;\n checkComplete();\n })));\n }, () => {\n isComplete = true;\n checkComplete();\n }));\n });\n}\n","import { EMPTY } from '../observable/empty';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function take(count) {\n return count <= 0\n ?\n () => EMPTY\n : operate((source, subscriber) => {\n let seen = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n if (++seen <= count) {\n subscriber.next(value);\n if (count <= seen) {\n subscriber.complete();\n }\n }\n }));\n });\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { innerFrom } from '../observable/innerFrom';\nimport { noop } from '../util/noop';\nexport function takeUntil(notifier) {\n return operate((source, subscriber) => {\n innerFrom(notifier).subscribe(createOperatorSubscriber(subscriber, () => subscriber.complete(), noop));\n !subscriber.closed && source.subscribe(subscriber);\n });\n}\n","let nextHandle = 1;\nlet resolved;\nconst activeHandles = {};\nfunction findAndClearHandle(handle) {\n if (handle in activeHandles) {\n delete activeHandles[handle];\n return true;\n }\n return false;\n}\nexport const Immediate = {\n setImmediate(cb) {\n const handle = nextHandle++;\n activeHandles[handle] = true;\n if (!resolved) {\n resolved = Promise.resolve();\n }\n resolved.then(() => findAndClearHandle(handle) && cb());\n return handle;\n },\n clearImmediate(handle) {\n findAndClearHandle(handle);\n },\n};\nexport const TestTools = {\n pending() {\n return Object.keys(activeHandles).length;\n }\n};\n","import { Immediate } from '../util/Immediate';\nconst { setImmediate, clearImmediate } = Immediate;\nexport const immediateProvider = {\n setImmediate(...args) {\n const { delegate } = immediateProvider;\n return ((delegate === null || delegate === void 0 ? void 0 : delegate.setImmediate) || setImmediate)(...args);\n },\n clearImmediate(handle) {\n const { delegate } = immediateProvider;\n return ((delegate === null || delegate === void 0 ? void 0 : delegate.clearImmediate) || clearImmediate)(handle);\n },\n delegate: undefined,\n};\n","import { AsyncAction } from './AsyncAction';\nimport { immediateProvider } from './immediateProvider';\nexport class AsapAction extends AsyncAction {\n constructor(scheduler, work) {\n super(scheduler, work);\n this.scheduler = scheduler;\n this.work = work;\n }\n requestAsyncId(scheduler, id, delay = 0) {\n if (delay !== null && delay > 0) {\n return super.requestAsyncId(scheduler, id, delay);\n }\n scheduler.actions.push(this);\n return scheduler._scheduled || (scheduler._scheduled = immediateProvider.setImmediate(scheduler.flush.bind(scheduler, undefined)));\n }\n recycleAsyncId(scheduler, id, delay = 0) {\n var _a;\n if (delay != null ? delay > 0 : this.delay > 0) {\n return super.recycleAsyncId(scheduler, id, delay);\n }\n const { actions } = scheduler;\n if (id != null && ((_a = actions[actions.length - 1]) === null || _a === void 0 ? void 0 : _a.id) !== id) {\n immediateProvider.clearImmediate(id);\n scheduler._scheduled = undefined;\n }\n return undefined;\n }\n}\n","import { AsapAction } from './AsapAction';\nimport { AsapScheduler } from './AsapScheduler';\nexport const asapScheduler = new AsapScheduler(AsapAction);\nexport const asap = asapScheduler;\n","import { AsyncScheduler } from './AsyncScheduler';\nexport class AsapScheduler extends AsyncScheduler {\n flush(action) {\n this._active = true;\n const flushId = this._scheduled;\n this._scheduled = undefined;\n const { actions } = this;\n let error;\n action = action || actions.shift();\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 this._active = false;\n if (error) {\n while ((action = actions[0]) && action.id === flushId && actions.shift()) {\n action.unsubscribe();\n }\n throw error;\n }\n }\n}\n","import { isFunction } from './isFunction';\nimport { isScheduler } from './isScheduler';\nfunction last(arr) {\n return arr[arr.length - 1];\n}\nexport function popResultSelector(args) {\n return isFunction(last(args)) ? args.pop() : undefined;\n}\nexport function popScheduler(args) {\n return isScheduler(last(args)) ? args.pop() : undefined;\n}\nexport function popNumber(args, defaultValue) {\n return typeof last(args) === 'number' ? args.pop() : defaultValue;\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","import * as i0 from '@angular/core';\nimport { InjectionToken, Component, ChangeDetectionStrategy, ViewEncapsulation, Inject, Optional, Input, Directive, QueryList, EventEmitter, TemplateRef, ContentChildren, ViewChild, ContentChild, Output, inject, ChangeDetectorRef, Self, NgModule } from '@angular/core';\nimport * as i1 from '@angular/cdk/a11y';\nimport { FocusKeyManager, isFakeTouchstartFromScreenReader, isFakeMousedownFromScreenReader } from '@angular/cdk/a11y';\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { UP_ARROW, DOWN_ARROW, RIGHT_ARROW, LEFT_ARROW, ESCAPE, hasModifierKey, ENTER, SPACE } from '@angular/cdk/keycodes';\nimport { Subject, merge, Subscription, of, asapScheduler } from 'rxjs';\nimport { startWith, switchMap, take, takeUntil, filter, delay } from 'rxjs/operators';\nimport * as i3 from '@angular/material/core';\nimport { mixinDisableRipple, mixinDisabled, MatRippleModule, MatCommonModule } from '@angular/material/core';\nimport * as i2 from '@angular/common';\nimport { DOCUMENT, CommonModule } from '@angular/common';\nimport { TemplatePortal, DomPortalOutlet } from '@angular/cdk/portal';\nimport { trigger, state, style, transition, animate } from '@angular/animations';\nimport * as i3$1 from '@angular/cdk/bidi';\nimport * as i1$1 from '@angular/cdk/overlay';\nimport { Overlay, OverlayConfig, OverlayModule } from '@angular/cdk/overlay';\nimport { normalizePassiveListenerOptions } from '@angular/cdk/platform';\nimport { CdkScrollableModule } from '@angular/cdk/scrolling';\n\n/**\n * Injection token used to provide the parent menu to menu-specific components.\n * @docs-private\n */\nconst MAT_MENU_PANEL = new InjectionToken('MAT_MENU_PANEL');\n\n// Boilerplate for applying mixins to MatMenuItem.\n/** @docs-private */\nconst _MatMenuItemBase = mixinDisableRipple(mixinDisabled(class {\n}));\n/**\n * Single item inside of a `mat-menu`. Provides the menu item styling and accessibility treatment.\n */\nclass MatMenuItem extends _MatMenuItemBase {\n constructor(_elementRef, _document, _focusMonitor, _parentMenu, _changeDetectorRef) {\n super();\n this._elementRef = _elementRef;\n this._document = _document;\n this._focusMonitor = _focusMonitor;\n this._parentMenu = _parentMenu;\n this._changeDetectorRef = _changeDetectorRef;\n /** ARIA role for the menu item. */\n this.role = 'menuitem';\n /** Stream that emits when the menu item is hovered. */\n this._hovered = new Subject();\n /** Stream that emits when the menu item is focused. */\n this._focused = new Subject();\n /** Whether the menu item is highlighted. */\n this._highlighted = false;\n /** Whether the menu item acts as a trigger for a sub-menu. */\n this._triggersSubmenu = false;\n _parentMenu?.addItem?.(this);\n }\n /** Focuses the menu item. */\n focus(origin, options) {\n if (this._focusMonitor && origin) {\n this._focusMonitor.focusVia(this._getHostElement(), origin, options);\n }\n else {\n this._getHostElement().focus(options);\n }\n this._focused.next(this);\n }\n ngAfterViewInit() {\n if (this._focusMonitor) {\n // Start monitoring the element so it gets the appropriate focused classes. We want\n // to show the focus style for menu items only when the focus was not caused by a\n // mouse or touch interaction.\n this._focusMonitor.monitor(this._elementRef, false);\n }\n }\n ngOnDestroy() {\n if (this._focusMonitor) {\n this._focusMonitor.stopMonitoring(this._elementRef);\n }\n if (this._parentMenu && this._parentMenu.removeItem) {\n this._parentMenu.removeItem(this);\n }\n this._hovered.complete();\n this._focused.complete();\n }\n /** Used to set the `tabindex`. */\n _getTabIndex() {\n return this.disabled ? '-1' : '0';\n }\n /** Returns the host DOM element. */\n _getHostElement() {\n return this._elementRef.nativeElement;\n }\n /** Prevents the default element actions if it is disabled. */\n _checkDisabled(event) {\n if (this.disabled) {\n event.preventDefault();\n event.stopPropagation();\n }\n }\n /** Emits to the hover stream. */\n _handleMouseEnter() {\n this._hovered.next(this);\n }\n /** Gets the label to be used when determining whether the option should be focused. */\n getLabel() {\n const clone = this._elementRef.nativeElement.cloneNode(true);\n const icons = clone.querySelectorAll('mat-icon, .material-icons');\n // Strip away icons so they don't show up in the text.\n for (let i = 0; i < icons.length; i++) {\n icons[i].remove();\n }\n return clone.textContent?.trim() || '';\n }\n _setHighlighted(isHighlighted) {\n // We need to mark this for check for the case where the content is coming from a\n // `matMenuContent` whose change detection tree is at the declaration position,\n // not the insertion position. See #23175.\n // @breaking-change 12.0.0 Remove null check for `_changeDetectorRef`.\n this._highlighted = isHighlighted;\n this._changeDetectorRef?.markForCheck();\n }\n _setTriggersSubmenu(triggersSubmenu) {\n // @breaking-change 12.0.0 Remove null check for `_changeDetectorRef`.\n this._triggersSubmenu = triggersSubmenu;\n this._changeDetectorRef?.markForCheck();\n }\n _hasFocus() {\n return this._document && this._document.activeElement === this._getHostElement();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatMenuItem, deps: [{ token: i0.ElementRef }, { token: DOCUMENT }, { token: i1.FocusMonitor }, { token: MAT_MENU_PANEL, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatMenuItem, selector: \"[mat-menu-item]\", inputs: { disabled: \"disabled\", disableRipple: \"disableRipple\", role: \"role\" }, host: { listeners: { \"click\": \"_checkDisabled($event)\", \"mouseenter\": \"_handleMouseEnter()\" }, properties: { \"attr.role\": \"role\", \"class.mat-mdc-menu-item-highlighted\": \"_highlighted\", \"class.mat-mdc-menu-item-submenu-trigger\": \"_triggersSubmenu\", \"attr.tabindex\": \"_getTabIndex()\", \"attr.aria-disabled\": \"disabled\", \"attr.disabled\": \"disabled || null\" }, classAttribute: \"mat-mdc-menu-item mat-mdc-focus-indicator mdc-list-item\" }, exportAs: [\"matMenuItem\"], usesInheritance: true, ngImport: i0, template: \"<ng-content select=\\\"mat-icon, [matMenuItemIcon]\\\"></ng-content>\\n<span class=\\\"mdc-list-item__primary-text\\\"><ng-content></ng-content></span>\\n<div class=\\\"mat-mdc-menu-ripple\\\" matRipple\\n [matRippleDisabled]=\\\"disableRipple || disabled\\\"\\n [matRippleTrigger]=\\\"_getHostElement()\\\">\\n</div>\\n<svg\\n *ngIf=\\\"_triggersSubmenu\\\"\\n class=\\\"mat-mdc-menu-submenu-icon\\\"\\n viewBox=\\\"0 0 5 10\\\"\\n focusable=\\\"false\\\"\\n aria-hidden=\\\"true\\\"><polygon points=\\\"0,0 5,5 0,10\\\"/></svg>\\n\", dependencies: [{ kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i3.MatRipple, selector: \"[mat-ripple], [matRipple]\", inputs: [\"matRippleColor\", \"matRippleUnbounded\", \"matRippleCentered\", \"matRippleRadius\", \"matRippleAnimation\", \"matRippleDisabled\", \"matRippleTrigger\"], exportAs: [\"matRipple\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatMenuItem, decorators: [{\n type: Component,\n args: [{ selector: '[mat-menu-item]', exportAs: 'matMenuItem', inputs: ['disabled', 'disableRipple'], host: {\n '[attr.role]': 'role',\n 'class': 'mat-mdc-menu-item mat-mdc-focus-indicator mdc-list-item',\n '[class.mat-mdc-menu-item-highlighted]': '_highlighted',\n '[class.mat-mdc-menu-item-submenu-trigger]': '_triggersSubmenu',\n '[attr.tabindex]': '_getTabIndex()',\n '[attr.aria-disabled]': 'disabled',\n '[attr.disabled]': 'disabled || null',\n '(click)': '_checkDisabled($event)',\n '(mouseenter)': '_handleMouseEnter()',\n }, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: \"<ng-content select=\\\"mat-icon, [matMenuItemIcon]\\\"></ng-content>\\n<span class=\\\"mdc-list-item__primary-text\\\"><ng-content></ng-content></span>\\n<div class=\\\"mat-mdc-menu-ripple\\\" matRipple\\n [matRippleDisabled]=\\\"disableRipple || disabled\\\"\\n [matRippleTrigger]=\\\"_getHostElement()\\\">\\n</div>\\n<svg\\n *ngIf=\\\"_triggersSubmenu\\\"\\n class=\\\"mat-mdc-menu-submenu-icon\\\"\\n viewBox=\\\"0 0 5 10\\\"\\n focusable=\\\"false\\\"\\n aria-hidden=\\\"true\\\"><polygon points=\\\"0,0 5,5 0,10\\\"/></svg>\\n\" }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: i1.FocusMonitor }, { type: undefined, decorators: [{\n type: Inject,\n args: [MAT_MENU_PANEL]\n }, {\n type: Optional\n }] }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { role: [{\n type: Input\n }] } });\n\n/**\n * Throws an exception for the case when menu's x-position value isn't valid.\n * In other words, it doesn't match 'before' or 'after'.\n * @docs-private\n */\nfunction throwMatMenuInvalidPositionX() {\n throw Error(`xPosition value must be either 'before' or after'.\n Example: <mat-menu xPosition=\"before\" #menu=\"matMenu\"></mat-menu>`);\n}\n/**\n * Throws an exception for the case when menu's y-position value isn't valid.\n * In other words, it doesn't match 'above' or 'below'.\n * @docs-private\n */\nfunction throwMatMenuInvalidPositionY() {\n throw Error(`yPosition value must be either 'above' or below'.\n Example: <mat-menu yPosition=\"above\" #menu=\"matMenu\"></mat-menu>`);\n}\n/**\n * Throws an exception for the case when a menu is assigned\n * to a trigger that is placed inside the same menu.\n * @docs-private\n */\nfunction throwMatMenuRecursiveError() {\n throw Error(`matMenuTriggerFor: menu cannot contain its own trigger. Assign a menu that is ` +\n `not a parent of the trigger or move the trigger outside of the menu.`);\n}\n\n/**\n * Injection token that can be used to reference instances of `MatMenuContent`. It serves\n * as alternative token to the actual `MatMenuContent` class which could cause unnecessary\n * retention of the class and its directive metadata.\n */\nconst MAT_MENU_CONTENT = new InjectionToken('MatMenuContent');\nclass _MatMenuContentBase {\n constructor(_template, _componentFactoryResolver, _appRef, _injector, _viewContainerRef, _document, _changeDetectorRef) {\n this._template = _template;\n this._componentFactoryResolver = _componentFactoryResolver;\n this._appRef = _appRef;\n this._injector = _injector;\n this._viewContainerRef = _viewContainerRef;\n this._document = _document;\n this._changeDetectorRef = _changeDetectorRef;\n /** Emits when the menu content has been attached. */\n this._attached = new Subject();\n }\n /**\n * Attaches the content with a particular context.\n * @docs-private\n */\n attach(context = {}) {\n if (!this._portal) {\n this._portal = new TemplatePortal(this._template, this._viewContainerRef);\n }\n this.detach();\n if (!this._outlet) {\n this._outlet = new DomPortalOutlet(this._document.createElement('div'), this._componentFactoryResolver, this._appRef, this._injector);\n }\n const element = this._template.elementRef.nativeElement;\n // Because we support opening the same menu from different triggers (which in turn have their\n // own `OverlayRef` panel), we have to re-insert the host element every time, otherwise we\n // risk it staying attached to a pane that's no longer in the DOM.\n element.parentNode.insertBefore(this._outlet.outletElement, element);\n // When `MatMenuContent` is used in an `OnPush` component, the insertion of the menu\n // content via `createEmbeddedView` does not cause the content to be seen as \"dirty\"\n // by Angular. This causes the `@ContentChildren` for menu items within the menu to\n // not be updated by Angular. By explicitly marking for check here, we tell Angular that\n // it needs to check for new menu items and update the `@ContentChild` in `MatMenu`.\n // @breaking-change 9.0.0 Make change detector ref required\n this._changeDetectorRef?.markForCheck();\n this._portal.attach(this._outlet, context);\n this._attached.next();\n }\n /**\n * Detaches the content.\n * @docs-private\n */\n detach() {\n if (this._portal.isAttached) {\n this._portal.detach();\n }\n }\n ngOnDestroy() {\n if (this._outlet) {\n this._outlet.dispose();\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatMenuContentBase, deps: [{ token: i0.TemplateRef }, { token: i0.ComponentFactoryResolver }, { token: i0.ApplicationRef }, { token: i0.Injector }, { token: i0.ViewContainerRef }, { token: DOCUMENT }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: _MatMenuContentBase, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatMenuContentBase, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: i0.ComponentFactoryResolver }, { type: i0.ApplicationRef }, { type: i0.Injector }, { type: i0.ViewContainerRef }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: i0.ChangeDetectorRef }]; } });\n/** Menu content that will be rendered lazily once the menu is opened. */\nclass MatMenuContent extends _MatMenuContentBase {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatMenuContent, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatMenuContent, selector: \"ng-template[matMenuContent]\", providers: [{ provide: MAT_MENU_CONTENT, useExisting: MatMenuContent }], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatMenuContent, decorators: [{\n type: Directive,\n args: [{\n selector: 'ng-template[matMenuContent]',\n providers: [{ provide: MAT_MENU_CONTENT, useExisting: MatMenuContent }],\n }]\n }] });\n\n/**\n * Animations used by the mat-menu component.\n * Animation duration and timing values are based on:\n * https://material.io/guidelines/components/menus.html#menus-usage\n * @docs-private\n */\nconst matMenuAnimations = {\n /**\n * This animation controls the menu panel's entry and exit from the page.\n *\n * When the menu panel is added to the DOM, it scales in and fades in its border.\n *\n * When the menu panel is removed from the DOM, it simply fades out after a brief\n * delay to display the ripple.\n */\n transformMenu: trigger('transformMenu', [\n state('void', style({\n opacity: 0,\n transform: 'scale(0.8)',\n })),\n transition('void => enter', animate('120ms cubic-bezier(0, 0, 0.2, 1)', style({\n opacity: 1,\n transform: 'scale(1)',\n }))),\n transition('* => void', animate('100ms 25ms linear', style({ opacity: 0 }))),\n ]),\n /**\n * This animation fades in the background color and content of the menu panel\n * after its containing element is scaled in.\n */\n fadeInItems: trigger('fadeInItems', [\n // TODO(crisbeto): this is inside the `transformMenu`\n // now. Remove next time we do breaking changes.\n state('showing', style({ opacity: 1 })),\n transition('void => *', [\n style({ opacity: 0 }),\n animate('400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)'),\n ]),\n ]),\n};\n/**\n * @deprecated\n * @breaking-change 8.0.0\n * @docs-private\n */\nconst fadeInItems = matMenuAnimations.fadeInItems;\n/**\n * @deprecated\n * @breaking-change 8.0.0\n * @docs-private\n */\nconst transformMenu = matMenuAnimations.transformMenu;\n\nlet menuPanelUid = 0;\n/** Injection token to be used to override the default options for `mat-menu`. */\nconst MAT_MENU_DEFAULT_OPTIONS = new InjectionToken('mat-menu-default-options', {\n providedIn: 'root',\n factory: MAT_MENU_DEFAULT_OPTIONS_FACTORY,\n});\n/** @docs-private */\nfunction MAT_MENU_DEFAULT_OPTIONS_FACTORY() {\n return {\n overlapTrigger: false,\n xPosition: 'after',\n yPosition: 'below',\n backdropClass: 'cdk-overlay-transparent-backdrop',\n };\n}\n/** Base class with all of the `MatMenu` functionality. */\nclass _MatMenuBase {\n /** Position of the menu in the X axis. */\n get xPosition() {\n return this._xPosition;\n }\n set xPosition(value) {\n if (value !== 'before' &&\n value !== 'after' &&\n (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throwMatMenuInvalidPositionX();\n }\n this._xPosition = value;\n this.setPositionClasses();\n }\n /** Position of the menu in the Y axis. */\n get yPosition() {\n return this._yPosition;\n }\n set yPosition(value) {\n if (value !== 'above' && value !== 'below' && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throwMatMenuInvalidPositionY();\n }\n this._yPosition = value;\n this.setPositionClasses();\n }\n /** Whether the menu should overlap its trigger. */\n get overlapTrigger() {\n return this._overlapTrigger;\n }\n set overlapTrigger(value) {\n this._overlapTrigger = coerceBooleanProperty(value);\n }\n /** Whether the menu has a backdrop. */\n get hasBackdrop() {\n return this._hasBackdrop;\n }\n set hasBackdrop(value) {\n this._hasBackdrop = coerceBooleanProperty(value);\n }\n /**\n * This method takes classes set on the host mat-menu element and applies them on the\n * menu template that displays in the overlay container. Otherwise, it's difficult\n * to style the containing menu from outside the component.\n * @param classes list of class names\n */\n set panelClass(classes) {\n const previousPanelClass = this._previousPanelClass;\n if (previousPanelClass && previousPanelClass.length) {\n previousPanelClass.split(' ').forEach((className) => {\n this._classList[className] = false;\n });\n }\n this._previousPanelClass = classes;\n if (classes && classes.length) {\n classes.split(' ').forEach((className) => {\n this._classList[className] = true;\n });\n this._elementRef.nativeElement.className = '';\n }\n }\n /**\n * This method takes classes set on the host mat-menu element and applies them on the\n * menu template that displays in the overlay container. Otherwise, it's difficult\n * to style the containing menu from outside the component.\n * @deprecated Use `panelClass` instead.\n * @breaking-change 8.0.0\n */\n get classList() {\n return this.panelClass;\n }\n set classList(classes) {\n this.panelClass = classes;\n }\n constructor(_elementRef, _ngZone, defaultOptions, \n // @breaking-change 15.0.0 `_changeDetectorRef` to become a required parameter.\n _changeDetectorRef) {\n this._elementRef = _elementRef;\n this._ngZone = _ngZone;\n this._changeDetectorRef = _changeDetectorRef;\n /** Only the direct descendant menu items. */\n this._directDescendantItems = new QueryList();\n /** Config object to be passed into the menu's ngClass */\n this._classList = {};\n /** Current state of the panel animation. */\n this._panelAnimationState = 'void';\n /** Emits whenever an animation on the menu completes. */\n this._animationDone = new Subject();\n /** Event emitted when the menu is closed. */\n this.closed = new EventEmitter();\n /**\n * Event emitted when the menu is closed.\n * @deprecated Switch to `closed` instead\n * @breaking-change 8.0.0\n */\n this.close = this.closed;\n this.panelId = `mat-menu-panel-${menuPanelUid++}`;\n this.overlayPanelClass = defaultOptions.overlayPanelClass || '';\n this._xPosition = defaultOptions.xPosition;\n this._yPosition = defaultOptions.yPosition;\n this.backdropClass = defaultOptions.backdropClass;\n this._overlapTrigger = defaultOptions.overlapTrigger;\n this._hasBackdrop = defaultOptions.hasBackdrop;\n }\n ngOnInit() {\n this.setPositionClasses();\n }\n ngAfterContentInit() {\n this._updateDirectDescendants();\n this._keyManager = new FocusKeyManager(this._directDescendantItems)\n .withWrap()\n .withTypeAhead()\n .withHomeAndEnd();\n this._keyManager.tabOut.subscribe(() => this.closed.emit('tab'));\n // If a user manually (programmatically) focuses a menu item, we need to reflect that focus\n // change back to the key manager. Note that we don't need to unsubscribe here because _focused\n // is internal and we know that it gets completed on destroy.\n this._directDescendantItems.changes\n .pipe(startWith(this._directDescendantItems), switchMap(items => merge(...items.map((item) => item._focused))))\n .subscribe(focusedItem => this._keyManager.updateActiveItem(focusedItem));\n this._directDescendantItems.changes.subscribe((itemsList) => {\n // Move focus to another item, if the active item is removed from the list.\n // We need to debounce the callback, because multiple items might be removed\n // in quick succession.\n const manager = this._keyManager;\n if (this._panelAnimationState === 'enter' && manager.activeItem?._hasFocus()) {\n const items = itemsList.toArray();\n const index = Math.max(0, Math.min(items.length - 1, manager.activeItemIndex || 0));\n if (items[index] && !items[index].disabled) {\n manager.setActiveItem(index);\n }\n else {\n manager.setNextItemActive();\n }\n }\n });\n }\n ngOnDestroy() {\n this._keyManager?.destroy();\n this._directDescendantItems.destroy();\n this.closed.complete();\n this._firstItemFocusSubscription?.unsubscribe();\n }\n /** Stream that emits whenever the hovered menu item changes. */\n _hovered() {\n // Coerce the `changes` property because Angular types it as `Observable<any>`\n const itemChanges = this._directDescendantItems.changes;\n return itemChanges.pipe(startWith(this._directDescendantItems), switchMap(items => merge(...items.map((item) => item._hovered))));\n }\n /*\n * Registers a menu item with the menu.\n * @docs-private\n * @deprecated No longer being used. To be removed.\n * @breaking-change 9.0.0\n */\n addItem(_item) { }\n /**\n * Removes an item from the menu.\n * @docs-private\n * @deprecated No longer being used. To be removed.\n * @breaking-change 9.0.0\n */\n removeItem(_item) { }\n /** Handle a keyboard event from the menu, delegating to the appropriate action. */\n _handleKeydown(event) {\n const keyCode = event.keyCode;\n const manager = this._keyManager;\n switch (keyCode) {\n case ESCAPE:\n if (!hasModifierKey(event)) {\n event.preventDefault();\n this.closed.emit('keydown');\n }\n break;\n case LEFT_ARROW:\n if (this.parentMenu && this.direction === 'ltr') {\n this.closed.emit('keydown');\n }\n break;\n case RIGHT_ARROW:\n if (this.parentMenu && this.direction === 'rtl') {\n this.closed.emit('keydown');\n }\n break;\n default:\n if (keyCode === UP_ARROW || keyCode === DOWN_ARROW) {\n manager.setFocusOrigin('keyboard');\n }\n manager.onKeydown(event);\n return;\n }\n // Don't allow the event to propagate if we've already handled it, or it may\n // end up reaching other overlays that were opened earlier (see #22694).\n event.stopPropagation();\n }\n /**\n * Focus the first item in the menu.\n * @param origin Action from which the focus originated. Used to set the correct styling.\n */\n focusFirstItem(origin = 'program') {\n // Wait for `onStable` to ensure iOS VoiceOver screen reader focuses the first item (#24735).\n this._firstItemFocusSubscription?.unsubscribe();\n this._firstItemFocusSubscription = this._ngZone.onStable.pipe(take(1)).subscribe(() => {\n let menuPanel = null;\n if (this._directDescendantItems.length) {\n // Because the `mat-menuPanel` is at the DOM insertion point, not inside the overlay, we don't\n // have a nice way of getting a hold of the menuPanel panel. We can't use a `ViewChild` either\n // because the panel is inside an `ng-template`. We work around it by starting from one of\n // the items and walking up the DOM.\n menuPanel = this._directDescendantItems.first._getHostElement().closest('[role=\"menu\"]');\n }\n // If an item in the menuPanel is already focused, avoid overriding the focus.\n if (!menuPanel || !menuPanel.contains(document.activeElement)) {\n const manager = this._keyManager;\n manager.setFocusOrigin(origin).setFirstItemActive();\n // If there's no active item at this point, it means that all the items are disabled.\n // Move focus to the menuPanel panel so keyboard events like Escape still work. Also this will\n // give _some_ feedback to screen readers.\n if (!manager.activeItem && menuPanel) {\n menuPanel.focus();\n }\n }\n });\n }\n /**\n * Resets the active item in the menu. This is used when the menu is opened, allowing\n * the user to start from the first option when pressing the down arrow.\n */\n resetActiveItem() {\n this._keyManager.setActiveItem(-1);\n }\n /**\n * Sets the menu panel elevation.\n * @param depth Number of parent menus that come before the menu.\n */\n setElevation(depth) {\n // The elevation starts at the base and increases by one for each level.\n // Capped at 24 because that's the maximum elevation defined in the Material design spec.\n const elevation = Math.min(this._baseElevation + depth, 24);\n const newElevation = `${this._elevationPrefix}${elevation}`;\n const customElevation = Object.keys(this._classList).find(className => {\n return className.startsWith(this._elevationPrefix);\n });\n if (!customElevation || customElevation === this._previousElevation) {\n if (this._previousElevation) {\n this._classList[this._previousElevation] = false;\n }\n this._classList[newElevation] = true;\n this._previousElevation = newElevation;\n }\n }\n /**\n * Adds classes to the menu panel based on its position. Can be used by\n * consumers to add specific styling based on the position.\n * @param posX Position of the menu along the x axis.\n * @param posY Position of the menu along the y axis.\n * @docs-private\n */\n setPositionClasses(posX = this.xPosition, posY = this.yPosition) {\n const classes = this._classList;\n classes['mat-menu-before'] = posX === 'before';\n classes['mat-menu-after'] = posX === 'after';\n classes['mat-menu-above'] = posY === 'above';\n classes['mat-menu-below'] = posY === 'below';\n // @breaking-change 15.0.0 Remove null check for `_changeDetectorRef`.\n this._changeDetectorRef?.markForCheck();\n }\n /** Starts the enter animation. */\n _startAnimation() {\n // @breaking-change 8.0.0 Combine with _resetAnimation.\n this._panelAnimationState = 'enter';\n }\n /** Resets the panel animation to its initial state. */\n _resetAnimation() {\n // @breaking-change 8.0.0 Combine with _startAnimation.\n this._panelAnimationState = 'void';\n }\n /** Callback that is invoked when the panel animation completes. */\n _onAnimationDone(event) {\n this._animationDone.next(event);\n this._isAnimating = false;\n }\n _onAnimationStart(event) {\n this._isAnimating = true;\n // Scroll the content element to the top as soon as the animation starts. This is necessary,\n // because we move focus to the first item while it's still being animated, which can throw\n // the browser off when it determines the scroll position. Alternatively we can move focus\n // when the animation is done, however moving focus asynchronously will interrupt screen\n // readers which are in the process of reading out the menu already. We take the `element`\n // from the `event` since we can't use a `ViewChild` to access the pane.\n if (event.toState === 'enter' && this._keyManager.activeItemIndex === 0) {\n event.element.scrollTop = 0;\n }\n }\n /**\n * Sets up a stream that will keep track of any newly-added menu items and will update the list\n * of direct descendants. We collect the descendants this way, because `_allItems` can include\n * items that are part of child menus, and using a custom way of registering items is unreliable\n * when it comes to maintaining the item order.\n */\n _updateDirectDescendants() {\n this._allItems.changes\n .pipe(startWith(this._allItems))\n .subscribe((items) => {\n this._directDescendantItems.reset(items.filter(item => item._parentMenu === this));\n this._directDescendantItems.notifyOnChanges();\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatMenuBase, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: MAT_MENU_DEFAULT_OPTIONS }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: _MatMenuBase, inputs: { backdropClass: \"backdropClass\", ariaLabel: [\"aria-label\", \"ariaLabel\"], ariaLabelledby: [\"aria-labelledby\", \"ariaLabelledby\"], ariaDescribedby: [\"aria-describedby\", \"ariaDescribedby\"], xPosition: \"xPosition\", yPosition: \"yPosition\", overlapTrigger: \"overlapTrigger\", hasBackdrop: \"hasBackdrop\", panelClass: [\"class\", \"panelClass\"], classList: \"classList\" }, outputs: { closed: \"closed\", close: \"close\" }, queries: [{ propertyName: \"lazyContent\", first: true, predicate: MAT_MENU_CONTENT, descendants: true }, { propertyName: \"_allItems\", predicate: MatMenuItem, descendants: true }, { propertyName: \"items\", predicate: MatMenuItem }], viewQueries: [{ propertyName: \"templateRef\", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatMenuBase, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: undefined, decorators: [{\n type: Inject,\n args: [MAT_MENU_DEFAULT_OPTIONS]\n }] }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _allItems: [{\n type: ContentChildren,\n args: [MatMenuItem, { descendants: true }]\n }], backdropClass: [{\n type: Input\n }], ariaLabel: [{\n type: Input,\n args: ['aria-label']\n }], ariaLabelledby: [{\n type: Input,\n args: ['aria-labelledby']\n }], ariaDescribedby: [{\n type: Input,\n args: ['aria-describedby']\n }], xPosition: [{\n type: Input\n }], yPosition: [{\n type: Input\n }], templateRef: [{\n type: ViewChild,\n args: [TemplateRef]\n }], items: [{\n type: ContentChildren,\n args: [MatMenuItem, { descendants: false }]\n }], lazyContent: [{\n type: ContentChild,\n args: [MAT_MENU_CONTENT]\n }], overlapTrigger: [{\n type: Input\n }], hasBackdrop: [{\n type: Input\n }], panelClass: [{\n type: Input,\n args: ['class']\n }], classList: [{\n type: Input\n }], closed: [{\n type: Output\n }], close: [{\n type: Output\n }] } });\nclass MatMenu extends _MatMenuBase {\n constructor(_elementRef, _ngZone, _defaultOptions, changeDetectorRef) {\n super(_elementRef, _ngZone, _defaultOptions, changeDetectorRef);\n this._elevationPrefix = 'mat-elevation-z';\n this._baseElevation = 8;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatMenu, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: MAT_MENU_DEFAULT_OPTIONS }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatMenu, selector: \"mat-menu\", host: { attributes: { \"ngSkipHydration\": \"\" }, properties: { \"attr.aria-label\": \"null\", \"attr.aria-labelledby\": \"null\", \"attr.aria-describedby\": \"null\" } }, providers: [{ provide: MAT_MENU_PANEL, useExisting: MatMenu }], exportAs: [\"matMenu\"], usesInheritance: true, ngImport: i0, template: \"<ng-template>\\n <div\\n class=\\\"mat-mdc-menu-panel mdc-menu-surface mdc-menu-surface--open mat-mdc-elevation-specific\\\"\\n [id]=\\\"panelId\\\"\\n [ngClass]=\\\"_classList\\\"\\n (keydown)=\\\"_handleKeydown($event)\\\"\\n (click)=\\\"closed.emit('click')\\\"\\n [@transformMenu]=\\\"_panelAnimationState\\\"\\n (@transformMenu.start)=\\\"_onAnimationStart($event)\\\"\\n (@transformMenu.done)=\\\"_onAnimationDone($event)\\\"\\n tabindex=\\\"-1\\\"\\n role=\\\"menu\\\"\\n [attr.aria-label]=\\\"ariaLabel || null\\\"\\n [attr.aria-labelledby]=\\\"ariaLabelledby || null\\\"\\n [attr.aria-describedby]=\\\"ariaDescribedby || null\\\">\\n <div class=\\\"mat-mdc-menu-content mdc-list\\\">\\n <ng-content></ng-content>\\n </div>\\n </div>\\n</ng-template>\\n\", styles: [\".mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mdc-menu-surface{max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:var(--mdc-menu-max-height, calc(100vh - 32px));z-index:8;border-radius:var(--mdc-shape-medium, 4px)}mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;position:relative}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item.mdc-list-item{align-items:center}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:\\\"\\\";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item .mdc-list-item__primary-text{white-space:normal}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\"], dependencies: [{ kind: \"directive\", type: i2.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }], animations: [matMenuAnimations.transformMenu, matMenuAnimations.fadeInItems], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatMenu, decorators: [{\n type: Component,\n args: [{ selector: 'mat-menu', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, exportAs: 'matMenu', host: {\n '[attr.aria-label]': 'null',\n '[attr.aria-labelledby]': 'null',\n '[attr.aria-describedby]': 'null',\n 'ngSkipHydration': '',\n }, animations: [matMenuAnimations.transformMenu, matMenuAnimations.fadeInItems], providers: [{ provide: MAT_MENU_PANEL, useExisting: MatMenu }], template: \"<ng-template>\\n <div\\n class=\\\"mat-mdc-menu-panel mdc-menu-surface mdc-menu-surface--open mat-mdc-elevation-specific\\\"\\n [id]=\\\"panelId\\\"\\n [ngClass]=\\\"_classList\\\"\\n (keydown)=\\\"_handleKeydown($event)\\\"\\n (click)=\\\"closed.emit('click')\\\"\\n [@transformMenu]=\\\"_panelAnimationState\\\"\\n (@transformMenu.start)=\\\"_onAnimationStart($event)\\\"\\n (@transformMenu.done)=\\\"_onAnimationDone($event)\\\"\\n tabindex=\\\"-1\\\"\\n role=\\\"menu\\\"\\n [attr.aria-label]=\\\"ariaLabel || null\\\"\\n [attr.aria-labelledby]=\\\"ariaLabelledby || null\\\"\\n [attr.aria-describedby]=\\\"ariaDescribedby || null\\\">\\n <div class=\\\"mat-mdc-menu-content mdc-list\\\">\\n <ng-content></ng-content>\\n </div>\\n </div>\\n</ng-template>\\n\", styles: [\".mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mdc-menu-surface{max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:var(--mdc-menu-max-height, calc(100vh - 32px));z-index:8;border-radius:var(--mdc-shape-medium, 4px)}mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;position:relative}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item.mdc-list-item{align-items:center}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:\\\"\\\";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item .mdc-list-item__primary-text{white-space:normal}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: undefined, decorators: [{\n type: Inject,\n args: [MAT_MENU_DEFAULT_OPTIONS]\n }] }, { type: i0.ChangeDetectorRef }]; } });\n\n/** Injection token that determines the scroll handling while the menu is open. */\nconst MAT_MENU_SCROLL_STRATEGY = new InjectionToken('mat-menu-scroll-strategy');\n/** @docs-private */\nfunction MAT_MENU_SCROLL_STRATEGY_FACTORY(overlay) {\n return () => overlay.scrollStrategies.reposition();\n}\n/** @docs-private */\nconst MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER = {\n provide: MAT_MENU_SCROLL_STRATEGY,\n deps: [Overlay],\n useFactory: MAT_MENU_SCROLL_STRATEGY_FACTORY,\n};\n/** Options for binding a passive event listener. */\nconst passiveEventListenerOptions = normalizePassiveListenerOptions({ passive: true });\n/**\n * Default top padding of the menu panel.\n * @deprecated No longer being used. Will be removed.\n * @breaking-change 15.0.0\n */\nconst MENU_PANEL_TOP_PADDING = 8;\nclass _MatMenuTriggerBase {\n /**\n * @deprecated\n * @breaking-change 8.0.0\n */\n get _deprecatedMatMenuTriggerFor() {\n return this.menu;\n }\n set _deprecatedMatMenuTriggerFor(v) {\n this.menu = v;\n }\n /** References the menu instance that the trigger is associated with. */\n get menu() {\n return this._menu;\n }\n set menu(menu) {\n if (menu === this._menu) {\n return;\n }\n this._menu = menu;\n this._menuCloseSubscription.unsubscribe();\n if (menu) {\n if (menu === this._parentMaterialMenu && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throwMatMenuRecursiveError();\n }\n this._menuCloseSubscription = menu.close.subscribe((reason) => {\n this._destroyMenu(reason);\n // If a click closed the menu, we should close the entire chain of nested menus.\n if ((reason === 'click' || reason === 'tab') && this._parentMaterialMenu) {\n this._parentMaterialMenu.closed.emit(reason);\n }\n });\n }\n this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu());\n }\n constructor(_overlay, _element, _viewContainerRef, scrollStrategy, parentMenu, \n // `MatMenuTrigger` is commonly used in combination with a `MatMenuItem`.\n // tslint:disable-next-line: lightweight-tokens\n _menuItemInstance, _dir, _focusMonitor, _ngZone) {\n this._overlay = _overlay;\n this._element = _element;\n this._viewContainerRef = _viewContainerRef;\n this._menuItemInstance = _menuItemInstance;\n this._dir = _dir;\n this._focusMonitor = _focusMonitor;\n this._ngZone = _ngZone;\n this._overlayRef = null;\n this._menuOpen = false;\n this._closingActionsSubscription = Subscription.EMPTY;\n this._hoverSubscription = Subscription.EMPTY;\n this._menuCloseSubscription = Subscription.EMPTY;\n this._changeDetectorRef = inject(ChangeDetectorRef);\n /**\n * Handles touch start events on the trigger.\n * Needs to be an arrow function so we can easily use addEventListener and removeEventListener.\n */\n this._handleTouchStart = (event) => {\n if (!isFakeTouchstartFromScreenReader(event)) {\n this._openedBy = 'touch';\n }\n };\n // Tracking input type is necessary so it's possible to only auto-focus\n // the first item of the list when the menu is opened via the keyboard\n this._openedBy = undefined;\n /**\n * Whether focus should be restored when the menu is closed.\n * Note that disabling this option can have accessibility implications\n * and it's up to you to manage focus, if you decide to turn it off.\n */\n this.restoreFocus = true;\n /** Event emitted when the associated menu is opened. */\n this.menuOpened = new EventEmitter();\n /**\n * Event emitted when the associated menu is opened.\n * @deprecated Switch to `menuOpened` instead\n * @breaking-change 8.0.0\n */\n // tslint:disable-next-line:no-output-on-prefix\n this.onMenuOpen = this.menuOpened;\n /** Event emitted when the associated menu is closed. */\n this.menuClosed = new EventEmitter();\n /**\n * Event emitted when the associated menu is closed.\n * @deprecated Switch to `menuClosed` instead\n * @breaking-change 8.0.0\n */\n // tslint:disable-next-line:no-output-on-prefix\n this.onMenuClose = this.menuClosed;\n this._scrollStrategy = scrollStrategy;\n this._parentMaterialMenu = parentMenu instanceof _MatMenuBase ? parentMenu : undefined;\n _element.nativeElement.addEventListener('touchstart', this._handleTouchStart, passiveEventListenerOptions);\n }\n ngAfterContentInit() {\n this._handleHover();\n }\n ngOnDestroy() {\n if (this._overlayRef) {\n this._overlayRef.dispose();\n this._overlayRef = null;\n }\n this._element.nativeElement.removeEventListener('touchstart', this._handleTouchStart, passiveEventListenerOptions);\n this._menuCloseSubscription.unsubscribe();\n this._closingActionsSubscription.unsubscribe();\n this._hoverSubscription.unsubscribe();\n }\n /** Whether the menu is open. */\n get menuOpen() {\n return this._menuOpen;\n }\n /** The text direction of the containing app. */\n get dir() {\n return this._dir && this._dir.value === 'rtl' ? 'rtl' : 'ltr';\n }\n /** Whether the menu triggers a sub-menu or a top-level one. */\n triggersSubmenu() {\n return !!(this._menuItemInstance && this._parentMaterialMenu && this.menu);\n }\n /** Toggles the menu between the open and closed states. */\n toggleMenu() {\n return this._menuOpen ? this.closeMenu() : this.openMenu();\n }\n /** Opens the menu. */\n openMenu() {\n const menu = this.menu;\n if (this._menuOpen || !menu) {\n return;\n }\n const overlayRef = this._createOverlay(menu);\n const overlayConfig = overlayRef.getConfig();\n const positionStrategy = overlayConfig.positionStrategy;\n this._setPosition(menu, positionStrategy);\n overlayConfig.hasBackdrop =\n menu.hasBackdrop == null ? !this.triggersSubmenu() : menu.hasBackdrop;\n overlayRef.attach(this._getPortal(menu));\n if (menu.lazyContent) {\n menu.lazyContent.attach(this.menuData);\n }\n this._closingActionsSubscription = this._menuClosingActions().subscribe(() => this.closeMenu());\n this._initMenu(menu);\n if (menu instanceof _MatMenuBase) {\n menu._startAnimation();\n menu._directDescendantItems.changes.pipe(takeUntil(menu.close)).subscribe(() => {\n // Re-adjust the position without locking when the amount of items\n // changes so that the overlay is allowed to pick a new optimal position.\n positionStrategy.withLockedPosition(false).reapplyLastPosition();\n positionStrategy.withLockedPosition(true);\n });\n }\n }\n /** Closes the menu. */\n closeMenu() {\n this.menu?.close.emit();\n }\n /**\n * Focuses the menu trigger.\n * @param origin Source of the menu trigger's focus.\n */\n focus(origin, options) {\n if (this._focusMonitor && origin) {\n this._focusMonitor.focusVia(this._element, origin, options);\n }\n else {\n this._element.nativeElement.focus(options);\n }\n }\n /**\n * Updates the position of the menu to ensure that it fits all options within the viewport.\n */\n updatePosition() {\n this._overlayRef?.updatePosition();\n }\n /** Closes the menu and does the necessary cleanup. */\n _destroyMenu(reason) {\n if (!this._overlayRef || !this.menuOpen) {\n return;\n }\n const menu = this.menu;\n this._closingActionsSubscription.unsubscribe();\n this._overlayRef.detach();\n // Always restore focus if the user is navigating using the keyboard or the menu was opened\n // programmatically. We don't restore for non-root triggers, because it can prevent focus\n // from making it back to the root trigger when closing a long chain of menus by clicking\n // on the backdrop.\n if (this.restoreFocus && (reason === 'keydown' || !this._openedBy || !this.triggersSubmenu())) {\n this.focus(this._openedBy);\n }\n this._openedBy = undefined;\n if (menu instanceof _MatMenuBase) {\n menu._resetAnimation();\n if (menu.lazyContent) {\n // Wait for the exit animation to finish before detaching the content.\n menu._animationDone\n .pipe(filter(event => event.toState === 'void'), take(1), \n // Interrupt if the content got re-attached.\n takeUntil(menu.lazyContent._attached))\n .subscribe({\n next: () => menu.lazyContent.detach(),\n // No matter whether the content got re-attached, reset the menu.\n complete: () => this._setIsMenuOpen(false),\n });\n }\n else {\n this._setIsMenuOpen(false);\n }\n }\n else {\n this._setIsMenuOpen(false);\n menu?.lazyContent?.detach();\n }\n }\n /**\n * This method sets the menu state to open and focuses the first item if\n * the menu was opened via the keyboard.\n */\n _initMenu(menu) {\n menu.parentMenu = this.triggersSubmenu() ? this._parentMaterialMenu : undefined;\n menu.direction = this.dir;\n this._setMenuElevation(menu);\n menu.focusFirstItem(this._openedBy || 'program');\n this._setIsMenuOpen(true);\n }\n /** Updates the menu elevation based on the amount of parent menus that it has. */\n _setMenuElevation(menu) {\n if (menu.setElevation) {\n let depth = 0;\n let parentMenu = menu.parentMenu;\n while (parentMenu) {\n depth++;\n parentMenu = parentMenu.parentMenu;\n }\n menu.setElevation(depth);\n }\n }\n // set state rather than toggle to support triggers sharing a menu\n _setIsMenuOpen(isOpen) {\n if (isOpen !== this._menuOpen) {\n this._menuOpen = isOpen;\n this._menuOpen ? this.menuOpened.emit() : this.menuClosed.emit();\n if (this.triggersSubmenu()) {\n this._menuItemInstance._setHighlighted(isOpen);\n }\n this._changeDetectorRef.markForCheck();\n }\n }\n /**\n * This method creates the overlay from the provided menu's template and saves its\n * OverlayRef so that it can be attached to the DOM when openMenu is called.\n */\n _createOverlay(menu) {\n if (!this._overlayRef) {\n const config = this._getOverlayConfig(menu);\n this._subscribeToPositions(menu, config.positionStrategy);\n this._overlayRef = this._overlay.create(config);\n // Consume the `keydownEvents` in order to prevent them from going to another overlay.\n // Ideally we'd also have our keyboard event logic in here, however doing so will\n // break anybody that may have implemented the `MatMenuPanel` themselves.\n this._overlayRef.keydownEvents().subscribe();\n }\n return this._overlayRef;\n }\n /**\n * This method builds the configuration object needed to create the overlay, the OverlayState.\n * @returns OverlayConfig\n */\n _getOverlayConfig(menu) {\n return new OverlayConfig({\n positionStrategy: this._overlay\n .position()\n .flexibleConnectedTo(this._element)\n .withLockedPosition()\n .withGrowAfterOpen()\n .withTransformOriginOn('.mat-menu-panel, .mat-mdc-menu-panel'),\n backdropClass: menu.backdropClass || 'cdk-overlay-transparent-backdrop',\n panelClass: menu.overlayPanelClass,\n scrollStrategy: this._scrollStrategy(),\n direction: this._dir,\n });\n }\n /**\n * Listens to changes in the position of the overlay and sets the correct classes\n * on the menu based on the new position. This ensures the animation origin is always\n * correct, even if a fallback position is used for the overlay.\n */\n _subscribeToPositions(menu, position) {\n if (menu.setPositionClasses) {\n position.positionChanges.subscribe(change => {\n const posX = change.connectionPair.overlayX === 'start' ? 'after' : 'before';\n const posY = change.connectionPair.overlayY === 'top' ? 'below' : 'above';\n // @breaking-change 15.0.0 Remove null check for `ngZone`.\n // `positionChanges` fires outside of the `ngZone` and `setPositionClasses` might be\n // updating something in the view so we need to bring it back in.\n if (this._ngZone) {\n this._ngZone.run(() => menu.setPositionClasses(posX, posY));\n }\n else {\n menu.setPositionClasses(posX, posY);\n }\n });\n }\n }\n /**\n * Sets the appropriate positions on a position strategy\n * so the overlay connects with the trigger correctly.\n * @param positionStrategy Strategy whose position to update.\n */\n _setPosition(menu, positionStrategy) {\n let [originX, originFallbackX] = menu.xPosition === 'before' ? ['end', 'start'] : ['start', 'end'];\n let [overlayY, overlayFallbackY] = menu.yPosition === 'above' ? ['bottom', 'top'] : ['top', 'bottom'];\n let [originY, originFallbackY] = [overlayY, overlayFallbackY];\n let [overlayX, overlayFallbackX] = [originX, originFallbackX];\n let offsetY = 0;\n if (this.triggersSubmenu()) {\n // When the menu is a sub-menu, it should always align itself\n // to the edges of the trigger, instead of overlapping it.\n overlayFallbackX = originX = menu.xPosition === 'before' ? 'start' : 'end';\n originFallbackX = overlayX = originX === 'end' ? 'start' : 'end';\n if (this._parentMaterialMenu) {\n if (this._parentInnerPadding == null) {\n const firstItem = this._parentMaterialMenu.items.first;\n this._parentInnerPadding = firstItem ? firstItem._getHostElement().offsetTop : 0;\n }\n offsetY = overlayY === 'bottom' ? this._parentInnerPadding : -this._parentInnerPadding;\n }\n }\n else if (!menu.overlapTrigger) {\n originY = overlayY === 'top' ? 'bottom' : 'top';\n originFallbackY = overlayFallbackY === 'top' ? 'bottom' : 'top';\n }\n positionStrategy.withPositions([\n { originX, originY, overlayX, overlayY, offsetY },\n { originX: originFallbackX, originY, overlayX: overlayFallbackX, overlayY, offsetY },\n {\n originX,\n originY: originFallbackY,\n overlayX,\n overlayY: overlayFallbackY,\n offsetY: -offsetY,\n },\n {\n originX: originFallbackX,\n originY: originFallbackY,\n overlayX: overlayFallbackX,\n overlayY: overlayFallbackY,\n offsetY: -offsetY,\n },\n ]);\n }\n /** Returns a stream that emits whenever an action that should close the menu occurs. */\n _menuClosingActions() {\n const backdrop = this._overlayRef.backdropClick();\n const detachments = this._overlayRef.detachments();\n const parentClose = this._parentMaterialMenu ? this._parentMaterialMenu.closed : of();\n const hover = this._parentMaterialMenu\n ? this._parentMaterialMenu._hovered().pipe(filter(active => active !== this._menuItemInstance), filter(() => this._menuOpen))\n : of();\n return merge(backdrop, parentClose, hover, detachments);\n }\n /** Handles mouse presses on the trigger. */\n _handleMousedown(event) {\n if (!isFakeMousedownFromScreenReader(event)) {\n // Since right or middle button clicks won't trigger the `click` event,\n // we shouldn't consider the menu as opened by mouse in those cases.\n this._openedBy = event.button === 0 ? 'mouse' : undefined;\n // Since clicking on the trigger won't close the menu if it opens a sub-menu,\n // we should prevent focus from moving onto it via click to avoid the\n // highlight from lingering on the menu item.\n if (this.triggersSubmenu()) {\n event.preventDefault();\n }\n }\n }\n /** Handles key presses on the trigger. */\n _handleKeydown(event) {\n const keyCode = event.keyCode;\n // Pressing enter on the trigger will trigger the click handler later.\n if (keyCode === ENTER || keyCode === SPACE) {\n this._openedBy = 'keyboard';\n }\n if (this.triggersSubmenu() &&\n ((keyCode === RIGHT_ARROW && this.dir === 'ltr') ||\n (keyCode === LEFT_ARROW && this.dir === 'rtl'))) {\n this._openedBy = 'keyboard';\n this.openMenu();\n }\n }\n /** Handles click events on the trigger. */\n _handleClick(event) {\n if (this.triggersSubmenu()) {\n // Stop event propagation to avoid closing the parent menu.\n event.stopPropagation();\n this.openMenu();\n }\n else {\n this.toggleMenu();\n }\n }\n /** Handles the cases where the user hovers over the trigger. */\n _handleHover() {\n // Subscribe to changes in the hovered item in order to toggle the panel.\n if (!this.triggersSubmenu() || !this._parentMaterialMenu) {\n return;\n }\n this._hoverSubscription = this._parentMaterialMenu\n ._hovered()\n // Since we might have multiple competing triggers for the same menu (e.g. a sub-menu\n // with different data and triggers), we have to delay it by a tick to ensure that\n // it won't be closed immediately after it is opened.\n .pipe(filter(active => active === this._menuItemInstance && !active.disabled), delay(0, asapScheduler))\n .subscribe(() => {\n this._openedBy = 'mouse';\n // If the same menu is used between multiple triggers, it might still be animating\n // while the new trigger tries to re-open it. Wait for the animation to finish\n // before doing so. Also interrupt if the user moves to another item.\n if (this.menu instanceof _MatMenuBase && this.menu._isAnimating) {\n // We need the `delay(0)` here in order to avoid\n // 'changed after checked' errors in some cases. See #12194.\n this.menu._animationDone\n .pipe(take(1), delay(0, asapScheduler), takeUntil(this._parentMaterialMenu._hovered()))\n .subscribe(() => this.openMenu());\n }\n else {\n this.openMenu();\n }\n });\n }\n /** Gets the portal that should be attached to the overlay. */\n _getPortal(menu) {\n // Note that we can avoid this check by keeping the portal on the menu panel.\n // While it would be cleaner, we'd have to introduce another required method on\n // `MatMenuPanel`, making it harder to consume.\n if (!this._portal || this._portal.templateRef !== menu.templateRef) {\n this._portal = new TemplatePortal(menu.templateRef, this._viewContainerRef);\n }\n return this._portal;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatMenuTriggerBase, deps: [{ token: i1$1.Overlay }, { token: i0.ElementRef }, { token: i0.ViewContainerRef }, { token: MAT_MENU_SCROLL_STRATEGY }, { token: MAT_MENU_PANEL, optional: true }, { token: MatMenuItem, optional: true, self: true }, { token: i3$1.Directionality, optional: true }, { token: i1.FocusMonitor }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: _MatMenuTriggerBase, inputs: { _deprecatedMatMenuTriggerFor: [\"mat-menu-trigger-for\", \"_deprecatedMatMenuTriggerFor\"], menu: [\"matMenuTriggerFor\", \"menu\"], menuData: [\"matMenuTriggerData\", \"menuData\"], restoreFocus: [\"matMenuTriggerRestoreFocus\", \"restoreFocus\"] }, outputs: { menuOpened: \"menuOpened\", onMenuOpen: \"onMenuOpen\", menuClosed: \"menuClosed\", onMenuClose: \"onMenuClose\" }, host: { listeners: { \"click\": \"_handleClick($event)\", \"mousedown\": \"_handleMousedown($event)\", \"keydown\": \"_handleKeydown($event)\" }, properties: { \"attr.aria-haspopup\": \"menu ? \\\"menu\\\" : null\", \"attr.aria-expanded\": \"menuOpen\", \"attr.aria-controls\": \"menuOpen ? menu.panelId : null\" } }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatMenuTriggerBase, decorators: [{\n type: Directive,\n args: [{\n host: {\n '[attr.aria-haspopup]': 'menu ? \"menu\" : null',\n '[attr.aria-expanded]': 'menuOpen',\n '[attr.aria-controls]': 'menuOpen ? menu.panelId : null',\n '(click)': '_handleClick($event)',\n '(mousedown)': '_handleMousedown($event)',\n '(keydown)': '_handleKeydown($event)',\n },\n }]\n }], ctorParameters: function () { return [{ type: i1$1.Overlay }, { type: i0.ElementRef }, { type: i0.ViewContainerRef }, { type: undefined, decorators: [{\n type: Inject,\n args: [MAT_MENU_SCROLL_STRATEGY]\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [MAT_MENU_PANEL]\n }, {\n type: Optional\n }] }, { type: MatMenuItem, decorators: [{\n type: Optional\n }, {\n type: Self\n }] }, { type: i3$1.Directionality, decorators: [{\n type: Optional\n }] }, { type: i1.FocusMonitor }, { type: i0.NgZone }]; }, propDecorators: { _deprecatedMatMenuTriggerFor: [{\n type: Input,\n args: ['mat-menu-trigger-for']\n }], menu: [{\n type: Input,\n args: ['matMenuTriggerFor']\n }], menuData: [{\n type: Input,\n args: ['matMenuTriggerData']\n }], restoreFocus: [{\n type: Input,\n args: ['matMenuTriggerRestoreFocus']\n }], menuOpened: [{\n type: Output\n }], onMenuOpen: [{\n type: Output\n }], menuClosed: [{\n type: Output\n }], onMenuClose: [{\n type: Output\n }] } });\n/** Directive applied to an element that should trigger a `mat-menu`. */\nclass MatMenuTrigger extends _MatMenuTriggerBase {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatMenuTrigger, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatMenuTrigger, selector: \"[mat-menu-trigger-for], [matMenuTriggerFor]\", host: { classAttribute: \"mat-mdc-menu-trigger\" }, exportAs: [\"matMenuTrigger\"], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatMenuTrigger, decorators: [{\n type: Directive,\n args: [{\n selector: `[mat-menu-trigger-for], [matMenuTriggerFor]`,\n host: {\n 'class': 'mat-mdc-menu-trigger',\n },\n exportAs: 'matMenuTrigger',\n }]\n }] });\n\nclass MatMenuModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatMenuModule, declarations: [MatMenu, MatMenuItem, MatMenuContent, MatMenuTrigger], imports: [CommonModule, MatRippleModule, MatCommonModule, OverlayModule], exports: [CdkScrollableModule,\n MatMenu,\n MatCommonModule,\n MatMenuItem,\n MatMenuContent,\n MatMenuTrigger] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatMenuModule, providers: [MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER], imports: [CommonModule, MatRippleModule, MatCommonModule, OverlayModule, CdkScrollableModule,\n MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatMenuModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [CommonModule, MatRippleModule, MatCommonModule, OverlayModule],\n exports: [\n CdkScrollableModule,\n MatMenu,\n MatCommonModule,\n MatMenuItem,\n MatMenuContent,\n MatMenuTrigger,\n ],\n declarations: [MatMenu, MatMenuItem, MatMenuContent, MatMenuTrigger],\n providers: [MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MAT_MENU_CONTENT, MAT_MENU_DEFAULT_OPTIONS, MAT_MENU_PANEL, MAT_MENU_SCROLL_STRATEGY, MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER, MENU_PANEL_TOP_PADDING, MatMenu, MatMenuContent, MatMenuItem, MatMenuModule, MatMenuTrigger, _MatMenuBase, _MatMenuContentBase, _MatMenuTriggerBase, fadeInItems, matMenuAnimations, transformMenu };\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42]} \ No newline at end of file diff --git a/5068.86ffa29fdc3c2b5b.js b/5068.86ffa29fdc3c2b5b.js new file mode 100644 index 0000000..aa29d0b --- /dev/null +++ b/5068.86ffa29fdc3c2b5b.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[5068,7376,5187,4091,1217,7208,4968,4155,1084,6896,6980,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,8061,4680,2111,3326,8596,8352,5501,3098,8467,6578,8608,8443,5915,3278,5391,6748,6763,4151,5069,7432,8071,6618],{85068:(p,o,t)=>{t.r(o),t.d(o,{MAT_LEGACY_CHECKBOX_CONTROL_VALUE_ACCESSOR:()=>O,MAT_LEGACY_CHECKBOX_DEFAULT_OPTIONS:()=>h.MAT_CHECKBOX_DEFAULT_OPTIONS,MAT_LEGACY_CHECKBOX_DEFAULT_OPTIONS_FACTORY:()=>h.MAT_CHECKBOX_DEFAULT_OPTIONS_FACTORY,MAT_LEGACY_CHECKBOX_REQUIRED_VALIDATOR:()=>h.MAT_CHECKBOX_REQUIRED_VALIDATOR,MatLegacyCheckbox:()=>R,MatLegacyCheckboxChange:()=>E,MatLegacyCheckboxModule:()=>P,MatLegacyCheckboxRequiredValidator:()=>h.MatCheckboxRequiredValidator,_MatLegacyCheckboxRequiredValidatorModule:()=>h._MatCheckboxRequiredValidatorModule});var n=t(4089),i=t(20265),r=t(24582),c=t(28694),d=t(48047),l=t(78069),f=t(908),e=t(56718),x=t(47405),v=t(33401),h=t(57021),g=t(6606),M=t(75321),T=function(u){return{enterDuration:u}},A=["*"],E=(0,d.Z)(function m(){(0,l.Z)(this,m)}),O={provide:x.NG_VALUE_ACCESSOR,useExisting:(0,e.forwardRef)(function(){return R}),multi:!0},R=function(){var m=function(u){(0,r.Z)(a,u);var b=(0,c.Z)(a);function a(_,s,k,y,L,D,I){var C;return(0,l.Z)(this,a),(C=b.call(this,"mat-checkbox-",_,s,y,L,D,I))._focusMonitor=k,C._animationClasses={uncheckedToChecked:"mat-checkbox-anim-unchecked-checked",uncheckedToIndeterminate:"mat-checkbox-anim-unchecked-indeterminate",checkedToUnchecked:"mat-checkbox-anim-checked-unchecked",checkedToIndeterminate:"mat-checkbox-anim-checked-indeterminate",indeterminateToChecked:"mat-checkbox-anim-indeterminate-checked",indeterminateToUnchecked:"mat-checkbox-anim-indeterminate-unchecked"},C}return(0,d.Z)(a,[{key:"_createChangeEvent",value:function(s){var k=new E;return k.source=this,k.checked=s,k}},{key:"_getAnimationTargetElement",value:function(){return this._elementRef.nativeElement}},{key:"ngAfterViewInit",value:function(){var s=this;(0,n.Z)((0,i.Z)(a.prototype),"ngAfterViewInit",this).call(this),this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(k){k||s._onBlur()})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"_onInputClick",value:function(s){s.stopPropagation(),(0,n.Z)((0,i.Z)(a.prototype),"_handleInputClick",this).call(this)}},{key:"focus",value:function(s,k){s?this._focusMonitor.focusVia(this._inputElement,s,k):this._inputElement.nativeElement.focus(k)}}]),a}(h._MatCheckboxBase);return m.\u0275fac=function(b){return new(b||m)(e.\u0275\u0275directiveInject(e.ElementRef),e.\u0275\u0275directiveInject(e.ChangeDetectorRef),e.\u0275\u0275directiveInject(f.FocusMonitor),e.\u0275\u0275directiveInject(e.NgZone),e.\u0275\u0275injectAttribute("tabindex"),e.\u0275\u0275directiveInject(v.ANIMATION_MODULE_TYPE,8),e.\u0275\u0275directiveInject(h.MAT_CHECKBOX_DEFAULT_OPTIONS,8))},m.\u0275cmp=e.\u0275\u0275defineComponent({type:m,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(b,a){2&b&&(e.\u0275\u0275hostProperty("id",a.id),e.\u0275\u0275attribute("tabindex",null)("aria-label",null)("aria-labelledby",null),e.\u0275\u0275classProp("mat-checkbox-indeterminate",a.indeterminate)("mat-checkbox-checked",a.checked)("mat-checkbox-disabled",a.disabled)("mat-checkbox-label-before","before"==a.labelPosition)("_mat-animation-noopable","NoopAnimations"===a._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[e.\u0275\u0275ProvidersFeature([O]),e.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:A,decls:17,vars:20,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(b,a){if(1&b&&(e.\u0275\u0275projectionDef(),e.\u0275\u0275elementStart(0,"label",0,1)(2,"span",2)(3,"input",3,4),e.\u0275\u0275listener("change",function(y){return a._onInteractionEvent(y)})("click",function(y){return a._onInputClick(y)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"span",5),e.\u0275\u0275element(6,"span",6),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(7,"span",7),e.\u0275\u0275elementStart(8,"span",8),e.\u0275\u0275namespaceSVG(),e.\u0275\u0275elementStart(9,"svg",9),e.\u0275\u0275element(10,"path",10),e.\u0275\u0275elementEnd(),e.\u0275\u0275namespaceHTML(),e.\u0275\u0275element(11,"span",11),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(12,"span",12,13),e.\u0275\u0275listener("cdkObserveContent",function(){return a._onLabelTextChange()}),e.\u0275\u0275elementStart(14,"span",14),e.\u0275\u0275text(15,"\xa0"),e.\u0275\u0275elementEnd(),e.\u0275\u0275projection(16),e.\u0275\u0275elementEnd()()),2&b){var _=e.\u0275\u0275reference(1),s=e.\u0275\u0275reference(13);e.\u0275\u0275attribute("for",a.inputId),e.\u0275\u0275advance(2),e.\u0275\u0275classProp("mat-checkbox-inner-container-no-side-margin",!s.textContent||!s.textContent.trim()),e.\u0275\u0275advance(1),e.\u0275\u0275property("id",a.inputId)("required",a.required)("checked",a.checked)("disabled",a.disabled)("tabIndex",a.tabIndex),e.\u0275\u0275attribute("value",a.value)("name",a.name)("aria-label",a.ariaLabel||null)("aria-labelledby",a.ariaLabelledby)("aria-describedby",a.ariaDescribedby),e.\u0275\u0275advance(2),e.\u0275\u0275property("matRippleTrigger",_)("matRippleDisabled",a._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",e.\u0275\u0275pureFunction1(18,T,"NoopAnimations"===a._animationMode?0:150))}},dependencies:[g.MatRipple,M.CdkObserveContent],styles:['@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative}.mat-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-checkbox-layout{-webkit-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:rgba(0,0,0,0);transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:rgba(0,0,0,0)}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox-input:focus~.mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),m}(),P=function(){var m=(0,d.Z)(function u(){(0,l.Z)(this,u)});return m.\u0275fac=function(b){return new(b||m)},m.\u0275mod=e.\u0275\u0275defineNgModule({type:m}),m.\u0275inj=e.\u0275\u0275defineInjector({imports:[g.MatRippleModule,g.MatCommonModule,M.ObserversModule,h._MatCheckboxRequiredValidatorModule,g.MatCommonModule,h._MatCheckboxRequiredValidatorModule]}),m}()},35488:(p,o,t)=>{function n(i){if(void 0===i)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}t.d(o,{Z:()=>n})},28694:(p,o,t)=>{t.d(o,{Z:()=>l});var n=t(20265),i=t(98568),r=t(43445),c=t(35488);function l(f){var e=(0,i.Z)();return function(){var h,v=(0,n.Z)(f);if(e){var g=(0,n.Z)(this).constructor;h=Reflect.construct(v,arguments,g)}else h=v.apply(this,arguments);return function d(f,e){if(e&&("object"===(0,r.Z)(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return(0,c.Z)(f)}(this,h)}}},4089:(p,o,t)=>{t.d(o,{Z:()=>r});var n=t(20265);function r(){return r=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(d,l,f){var e=function i(c,d){for(;!Object.prototype.hasOwnProperty.call(c,d)&&null!==(c=(0,n.Z)(c)););return c}(d,l);if(e){var x=Object.getOwnPropertyDescriptor(e,l);return x.get?x.get.call(arguments.length<3?d:f):x.value}},r.apply(this,arguments)}},20265:(p,o,t)=>{function n(i){return(n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(c){return c.__proto__||Object.getPrototypeOf(c)})(i)}t.d(o,{Z:()=>n})},24582:(p,o,t)=>{t.d(o,{Z:()=>i});var n=t(10006);function i(r,c){if("function"!=typeof c&&null!==c)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(c&&c.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),c&&(0,n.Z)(r,c)}},98568:(p,o,t)=>{function n(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}t.d(o,{Z:()=>n})},10006:(p,o,t)=>{function n(i,r){return(n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,l){return d.__proto__=l,d})(i,r)}t.d(o,{Z:()=>n})}}]); +//# sourceMappingURL=5068.86ffa29fdc3c2b5b.js.map \ No newline at end of file diff --git a/5068.86ffa29fdc3c2b5b.js.map b/5068.86ffa29fdc3c2b5b.js.map new file mode 100644 index 0000000..ad7d7a0 --- /dev/null +++ b/5068.86ffa29fdc3c2b5b.js.map @@ -0,0 +1 @@ +{"version":3,"file":"5068.86ffa29fdc3c2b5b.js","mappings":"68BAYAA,EAAA,SAAAC,GAAA,OAAAC,cAAAD,EAAA,EAAAE,EAAA,MAKMC,GAAuBC,OAAA,SAAAD,KAAAE,OAAAC,KAAAH,EAAA,GASvBI,EAA6C,CAC/CC,QAASC,oBACTC,aAAaC,gBAAW,kBAAMC,CAAiB,GAC/CC,OAAO,GAYLD,EAAiB,eAAjBA,EAAiB,SAAAE,IAAAC,OAAAH,EAAAE,GAAA,IAAAE,KAAAC,KAAAL,GACnB,SAAAA,EAAYM,EAAYC,EAAmBC,EAAeC,EAAQC,EAAUC,EAAeC,GAAS,IAAAC,EAAApB,cAAAC,KAAAM,IAChGa,EAAAT,EAAAU,KAAApB,KAAM,gBAAiBY,EAAYC,EAAmBE,EAAQC,EAAUC,EAAeC,IAClFJ,cAAgBA,EACrBK,EAAKE,kBAAoB,CACrBC,mBAAoB,sCACpBC,yBAA0B,4CAC1BC,mBAAoB,sCACpBC,uBAAwB,0CACxBC,uBAAwB,0CACxBC,yBAA0B,6CAC5BR,CACN,CAACrB,cAAAQ,EAAA,EAAAsB,IAAA,qBAAAC,MACD,SAAmBC,GACf,IAAMC,EAAQ,IAAIlC,EAClBkC,SAAMC,OAAShC,KACf+B,EAAME,QAAUH,EACTC,CACX,GAAC,CAAAH,IAAA,6BAAAC,MACD,WACI,OAAO7B,KAAKkC,YAAYC,aAC5B,GAAC,CAAAP,IAAA,kBAAAC,MACD,WAAkB,IAAAO,EAAApC,MACdqC,UAAAC,KAAAhC,EAAAiC,WAAA,kBAAAvC,MAAAoB,KAAApB,MACAA,KAAKc,cAAc0B,QAAQxC,KA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A,EAAAV,EAAAE,GAEAM,EAAA9G,KAAA,CACA,EAEAQ,EAAAuF,MAAA5H,KAAA2H,UACA,mBEhBe,SAAArF,EAAAwG,GACf,OAAAxG,EAAAmG,OAAAM,eAAAN,OAAAnB,eAAAY,OAAA,SAAAY,GACA,OAAAA,EAAAE,WAAAP,OAAAnB,eAAAwB,EACA,GACAA,EACA,mECJe,SAAArI,EAAAwI,EAAAC,GACf,sBAAAA,GAAA,OAAAA,EACA,UAAAnB,UAAA,sDAEAkB,EAAA1G,UAAAkG,OAAAU,OAAAD,KAAA3G,UAAA,CACAiF,YAAA,CACA3F,MAAAoH,EACAG,UAAA,EACAC,cAAA,KAGAZ,OAAAa,eAAAL,EAAA,aACAG,UAAA,IAEAF,MAAkBK,EAAApC,GAAc8B,EAAAC,EAChC,mBChBe,SAAAM,IAEf,UADA/B,QAAA,MAAAA,QAAAC,WACAD,QAAAC,UAAA+B,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAApH,UAAAqH,QAAAxI,KAAAqG,QAAAC,UAAAiC,QAAA,mBACA,CACA,OACA,QACA,CACA,mCCVe,SAAAE,EAAAf,EAAAgB,GACf,OAAAD,EAAApB,OAAAM,eAAAN,OAAAM,eAAAb,OAAA,SAAAY,EAAAgB,GACA,OAAAhB,EAAAE,UAAAc,EACAhB,CACA,GACAA,EAAAgB,EACA","names":["_c0","a0","enterDuration","_c1","MatLegacyCheckboxChange","_createClass","_classCallCheck","this","MAT_LEGACY_CHECKBOX_CONTROL_VALUE_ACCESSOR","provide","NG_VALUE_ACCESSOR","useExisting","forwardRef","MatLegacyCheckbox","multi","_MatCheckboxBase2","_inherits","_super","_createSuper","elementRef","changeDetectorRef","_focusMonitor","ngZone","tabIndex","animationMode","options","_this","call","_animationClasses","uncheckedToChecked","uncheckedToIndeterminate","checkedToUnchecked","checkedToIndeterminate","indeterminateToChecked","indeterminateToUnchecked","key","value","isChecked","event","source","checked","_elementRef","nativeElement","_this2","_get","_getPrototypeOf","prototype","monitor","subscribe","focusOrigin","_onBlur","stopMonitoring","stopPropagation","origin","focusVia","_inputElement","focus","_MatCheckboxBase","ɵfac","t","i0","i1","ANIMATION_MODULE_TYPE","MAT_CHECKBOX_DEFAULT_OPTIONS","ɵcmp","type","selectors","hostAttrs","hostVars","hostBindings","rf","ctx","id","indeterminate","disabled","labelPosition","_animationMode","inputs","disableRipple","color","exportAs","features","ngContentSelectors","decls","vars","consts","template","$event","_onInteractionEvent","_onInputClick","_onLabelTextChange","_r0","_r2","inputId","textContent","trim","required","name","ariaLabel","ariaLabelledby","ariaDescribedby","_isRippleDisabled","dependencies","i2","i3","styles","encapsulation","changeDetection","MatLegacyCheckboxModule","ɵmod","ɵinj","imports","MatRippleModule","MatCommonModule","ObserversModule","_MatCheckboxRequiredValidatorModule","_assertThisInitialized","self","ReferenceError","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","esm_typeof","TypeError","assertThisInitialized","get","bind","target","property","receiver","base","_superPropBase","object","Object","hasOwnProperty","desc","getOwnPropertyDescriptor","length","o","setPrototypeOf","__proto__","subClass","superClass","create","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@angular/material/fesm2022/legacy-checkbox.mjs","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["import * as i1 from '@angular/cdk/a11y';\nimport * as i0 from '@angular/core';\nimport { forwardRef, Component, ViewEncapsulation, ChangeDetectionStrategy, Attribute, Optional, Inject, NgModule } from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';\nimport { _MatCheckboxBase, MAT_CHECKBOX_DEFAULT_OPTIONS, _MatCheckboxRequiredValidatorModule } from '@angular/material/checkbox';\nexport { MAT_CHECKBOX_DEFAULT_OPTIONS as MAT_LEGACY_CHECKBOX_DEFAULT_OPTIONS, MAT_CHECKBOX_DEFAULT_OPTIONS_FACTORY as MAT_LEGACY_CHECKBOX_DEFAULT_OPTIONS_FACTORY, MAT_CHECKBOX_REQUIRED_VALIDATOR as MAT_LEGACY_CHECKBOX_REQUIRED_VALIDATOR, MatCheckboxRequiredValidator as MatLegacyCheckboxRequiredValidator, _MatCheckboxRequiredValidatorModule as _MatLegacyCheckboxRequiredValidatorModule } from '@angular/material/checkbox';\nimport * as i2 from '@angular/material/core';\nimport { MatRippleModule, MatCommonModule } from '@angular/material/core';\nimport * as i3 from '@angular/cdk/observers';\nimport { ObserversModule } from '@angular/cdk/observers';\n\n/**\n * Change event object emitted by a checkbox.\n * @deprecated Use `MatCheckboxChange` from `@angular/material/checkbox` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyCheckboxChange {\n}\n/**\n * Provider Expression that allows mat-checkbox to register as a ControlValueAccessor.\n * This allows it to support [(ngModel)].\n * @docs-private\n * @deprecated Use `MAT_CHECKBOX_CONTROL_VALUE_ACCESSOR` from `@angular/material/checkbox` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nconst MAT_LEGACY_CHECKBOX_CONTROL_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => MatLegacyCheckbox),\n multi: true,\n};\n/**\n * A material design checkbox component. Supports all of the functionality of an HTML5 checkbox,\n * and exposes a similar API. A checkbox can be either checked, unchecked, indeterminate, or\n * disabled. Note that all additional accessibility attributes are taken care of by the component,\n * so there is no need to provide them yourself. However, if you want to omit a label and still\n * have the checkbox be accessible, you may supply an [aria-label] input.\n * See: https://material.io/design/components/selection-controls.html\n * @deprecated Use `MatCheckbox` from `@angular/material/checkbox` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyCheckbox extends _MatCheckboxBase {\n constructor(elementRef, changeDetectorRef, _focusMonitor, ngZone, tabIndex, animationMode, options) {\n super('mat-checkbox-', elementRef, changeDetectorRef, ngZone, tabIndex, animationMode, options);\n this._focusMonitor = _focusMonitor;\n this._animationClasses = {\n uncheckedToChecked: 'mat-checkbox-anim-unchecked-checked',\n uncheckedToIndeterminate: 'mat-checkbox-anim-unchecked-indeterminate',\n checkedToUnchecked: 'mat-checkbox-anim-checked-unchecked',\n checkedToIndeterminate: 'mat-checkbox-anim-checked-indeterminate',\n indeterminateToChecked: 'mat-checkbox-anim-indeterminate-checked',\n indeterminateToUnchecked: 'mat-checkbox-anim-indeterminate-unchecked',\n };\n }\n _createChangeEvent(isChecked) {\n const event = new MatLegacyCheckboxChange();\n event.source = this;\n event.checked = isChecked;\n return event;\n }\n _getAnimationTargetElement() {\n return this._elementRef.nativeElement;\n }\n ngAfterViewInit() {\n super.ngAfterViewInit();\n this._focusMonitor.monitor(this._elementRef, true).subscribe(focusOrigin => {\n if (!focusOrigin) {\n this._onBlur();\n }\n });\n }\n ngOnDestroy() {\n this._focusMonitor.stopMonitoring(this._elementRef);\n }\n /**\n * Event handler for checkbox input element.\n * Toggles checked state if element is not disabled.\n * Do not toggle on (change) event since IE doesn't fire change event when\n * indeterminate checkbox is clicked.\n * @param event\n */\n _onInputClick(event) {\n // We have to stop propagation for click events on the visual hidden input element.\n // By default, when a user clicks on a label element, a generated click event will be\n // dispatched on the associated input element. Since we are using a label element as our\n // root container, the click event on the `checkbox` will be executed twice.\n // The real click event will bubble up, and the generated click event also tries to bubble up.\n // This will lead to multiple click events.\n // Preventing bubbling for the second event will solve that issue.\n event.stopPropagation();\n super._handleInputClick();\n }\n /** Focuses the checkbox. */\n focus(origin, options) {\n if (origin) {\n this._focusMonitor.focusVia(this._inputElement, origin, options);\n }\n else {\n this._inputElement.nativeElement.focus(options);\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyCheckbox, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.FocusMonitor }, { token: i0.NgZone }, { token: 'tabindex', attribute: true }, { token: ANIMATION_MODULE_TYPE, optional: true }, { token: MAT_CHECKBOX_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyCheckbox, selector: \"mat-checkbox\", inputs: { disableRipple: \"disableRipple\", color: \"color\", tabIndex: \"tabIndex\" }, host: { properties: { \"id\": \"id\", \"attr.tabindex\": \"null\", \"attr.aria-label\": \"null\", \"attr.aria-labelledby\": \"null\", \"class.mat-checkbox-indeterminate\": \"indeterminate\", \"class.mat-checkbox-checked\": \"checked\", \"class.mat-checkbox-disabled\": \"disabled\", \"class.mat-checkbox-label-before\": \"labelPosition == \\\"before\\\"\", \"class._mat-animation-noopable\": \"_animationMode === 'NoopAnimations'\" }, classAttribute: \"mat-checkbox\" }, providers: [MAT_LEGACY_CHECKBOX_CONTROL_VALUE_ACCESSOR], exportAs: [\"matCheckbox\"], usesInheritance: true, ngImport: i0, template: \"<label [attr.for]=\\\"inputId\\\" class=\\\"mat-checkbox-layout\\\" #label>\\n <span class=\\\"mat-checkbox-inner-container\\\"\\n [class.mat-checkbox-inner-container-no-side-margin]=\\\"!checkboxLabel.textContent || !checkboxLabel.textContent.trim()\\\">\\n <input #input\\n class=\\\"mat-checkbox-input cdk-visually-hidden\\\" type=\\\"checkbox\\\"\\n [id]=\\\"inputId\\\"\\n [required]=\\\"required\\\"\\n [checked]=\\\"checked\\\"\\n [attr.value]=\\\"value\\\"\\n [disabled]=\\\"disabled\\\"\\n [attr.name]=\\\"name\\\"\\n [tabIndex]=\\\"tabIndex\\\"\\n [attr.aria-label]=\\\"ariaLabel || null\\\"\\n [attr.aria-labelledby]=\\\"ariaLabelledby\\\"\\n [attr.aria-describedby]=\\\"ariaDescribedby\\\"\\n (change)=\\\"_onInteractionEvent($event)\\\"\\n (click)=\\\"_onInputClick($event)\\\">\\n <span matRipple class=\\\"mat-checkbox-ripple mat-focus-indicator\\\"\\n [matRippleTrigger]=\\\"label\\\"\\n [matRippleDisabled]=\\\"_isRippleDisabled()\\\"\\n [matRippleRadius]=\\\"20\\\"\\n [matRippleCentered]=\\\"true\\\"\\n [matRippleAnimation]=\\\"{enterDuration: _animationMode === 'NoopAnimations' ? 0 : 150}\\\">\\n <span class=\\\"mat-ripple-element mat-checkbox-persistent-ripple\\\"></span>\\n </span>\\n <span class=\\\"mat-checkbox-frame\\\"></span>\\n <span class=\\\"mat-checkbox-background\\\">\\n <svg version=\\\"1.1\\\"\\n focusable=\\\"false\\\"\\n class=\\\"mat-checkbox-checkmark\\\"\\n viewBox=\\\"0 0 24 24\\\"\\n aria-hidden=\\\"true\\\">\\n <path class=\\\"mat-checkbox-checkmark-path\\\"\\n fill=\\\"none\\\"\\n stroke=\\\"white\\\"\\n d=\\\"M4.1,12.7 9,17.6 20.3,6.3\\\"/>\\n </svg>\\n <!-- Element for rendering the indeterminate state checkbox. -->\\n <span class=\\\"mat-checkbox-mixedmark\\\"></span>\\n </span>\\n </span>\\n <span class=\\\"mat-checkbox-label\\\" #checkboxLabel (cdkObserveContent)=\\\"_onLabelTextChange()\\\">\\n <!-- Add an invisible span so JAWS can read the label -->\\n <span style=\\\"display:none\\\"> </span>\\n <ng-content></ng-content>\\n </span>\\n</label>\\n\", styles: [\"@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative}.mat-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-checkbox-layout{-webkit-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:rgba(0,0,0,0);transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:rgba(0,0,0,0)}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox-input:focus~.mat-focus-indicator::before{content:\\\"\\\"}\"], dependencies: [{ kind: \"directive\", type: i2.MatRipple, selector: \"[mat-ripple], [matRipple]\", inputs: [\"matRippleColor\", \"matRippleUnbounded\", \"matRippleCentered\", \"matRippleRadius\", \"matRippleAnimation\", \"matRippleDisabled\", \"matRippleTrigger\"], exportAs: [\"matRipple\"] }, { kind: \"directive\", type: i3.CdkObserveContent, selector: \"[cdkObserveContent]\", inputs: [\"cdkObserveContentDisabled\", \"debounce\"], outputs: [\"cdkObserveContent\"], exportAs: [\"cdkObserveContent\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyCheckbox, decorators: [{\n type: Component,\n args: [{ selector: 'mat-checkbox', exportAs: 'matCheckbox', host: {\n 'class': 'mat-checkbox',\n '[id]': 'id',\n '[attr.tabindex]': 'null',\n '[attr.aria-label]': 'null',\n '[attr.aria-labelledby]': 'null',\n '[class.mat-checkbox-indeterminate]': 'indeterminate',\n '[class.mat-checkbox-checked]': 'checked',\n '[class.mat-checkbox-disabled]': 'disabled',\n '[class.mat-checkbox-label-before]': 'labelPosition == \"before\"',\n '[class._mat-animation-noopable]': `_animationMode === 'NoopAnimations'`,\n }, providers: [MAT_LEGACY_CHECKBOX_CONTROL_VALUE_ACCESSOR], inputs: ['disableRipple', 'color', 'tabIndex'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: \"<label [attr.for]=\\\"inputId\\\" class=\\\"mat-checkbox-layout\\\" #label>\\n <span class=\\\"mat-checkbox-inner-container\\\"\\n [class.mat-checkbox-inner-container-no-side-margin]=\\\"!checkboxLabel.textContent || !checkboxLabel.textContent.trim()\\\">\\n <input #input\\n class=\\\"mat-checkbox-input cdk-visually-hidden\\\" type=\\\"checkbox\\\"\\n [id]=\\\"inputId\\\"\\n [required]=\\\"required\\\"\\n [checked]=\\\"checked\\\"\\n [attr.value]=\\\"value\\\"\\n [disabled]=\\\"disabled\\\"\\n [attr.name]=\\\"name\\\"\\n [tabIndex]=\\\"tabIndex\\\"\\n [attr.aria-label]=\\\"ariaLabel || null\\\"\\n [attr.aria-labelledby]=\\\"ariaLabelledby\\\"\\n [attr.aria-describedby]=\\\"ariaDescribedby\\\"\\n (change)=\\\"_onInteractionEvent($event)\\\"\\n (click)=\\\"_onInputClick($event)\\\">\\n <span matRipple class=\\\"mat-checkbox-ripple mat-focus-indicator\\\"\\n [matRippleTrigger]=\\\"label\\\"\\n [matRippleDisabled]=\\\"_isRippleDisabled()\\\"\\n [matRippleRadius]=\\\"20\\\"\\n [matRippleCentered]=\\\"true\\\"\\n [matRippleAnimation]=\\\"{enterDuration: _animationMode === 'NoopAnimations' ? 0 : 150}\\\">\\n <span class=\\\"mat-ripple-element mat-checkbox-persistent-ripple\\\"></span>\\n </span>\\n <span class=\\\"mat-checkbox-frame\\\"></span>\\n <span class=\\\"mat-checkbox-background\\\">\\n <svg version=\\\"1.1\\\"\\n focusable=\\\"false\\\"\\n class=\\\"mat-checkbox-checkmark\\\"\\n viewBox=\\\"0 0 24 24\\\"\\n aria-hidden=\\\"true\\\">\\n <path class=\\\"mat-checkbox-checkmark-path\\\"\\n fill=\\\"none\\\"\\n stroke=\\\"white\\\"\\n d=\\\"M4.1,12.7 9,17.6 20.3,6.3\\\"/>\\n </svg>\\n <!-- Element for rendering the indeterminate state checkbox. -->\\n <span class=\\\"mat-checkbox-mixedmark\\\"></span>\\n </span>\\n </span>\\n <span class=\\\"mat-checkbox-label\\\" #checkboxLabel (cdkObserveContent)=\\\"_onLabelTextChange()\\\">\\n <!-- Add an invisible span so JAWS can read the label -->\\n <span style=\\\"display:none\\\"> </span>\\n <ng-content></ng-content>\\n </span>\\n</label>\\n\", styles: [\"@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative}.mat-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-checkbox-layout{-webkit-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:rgba(0,0,0,0);transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:rgba(0,0,0,0)}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox-input:focus~.mat-focus-indicator::before{content:\\\"\\\"}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.FocusMonitor }, { type: i0.NgZone }, { type: undefined, decorators: [{\n type: Attribute,\n args: ['tabindex']\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_CHECKBOX_DEFAULT_OPTIONS]\n }] }]; } });\n\n/**\n * @deprecated Use `MatCheckboxModule` from `@angular/material/checkbox` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyCheckboxModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyCheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyCheckboxModule, declarations: [MatLegacyCheckbox], imports: [MatRippleModule, MatCommonModule, ObserversModule, _MatCheckboxRequiredValidatorModule], exports: [MatLegacyCheckbox, MatCommonModule, _MatCheckboxRequiredValidatorModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyCheckboxModule, imports: [MatRippleModule, MatCommonModule, ObserversModule, _MatCheckboxRequiredValidatorModule, MatCommonModule, _MatCheckboxRequiredValidatorModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyCheckboxModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [MatRippleModule, MatCommonModule, ObserversModule, _MatCheckboxRequiredValidatorModule],\n exports: [MatLegacyCheckbox, MatCommonModule, _MatCheckboxRequiredValidatorModule],\n declarations: [MatLegacyCheckbox],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MAT_LEGACY_CHECKBOX_CONTROL_VALUE_ACCESSOR, MatLegacyCheckbox, MatLegacyCheckboxChange, MatLegacyCheckboxModule };\n","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9]} \ No newline at end of file diff --git a/5069.53f13d63fe0558cb.js b/5069.53f13d63fe0558cb.js new file mode 100644 index 0000000..7d00826 --- /dev/null +++ b/5069.53f13d63fe0558cb.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[5069,7376,5187,4091,1217,7208,4968,4155,1084,6896,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,4680,2111,3326,8596,8352,5501,3098,8608,8443,5915,3278,5391,6748,6763,4151,7432,6618],{35488:(f,n,e)=>{function t(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}e.d(n,{Z:()=>t})},28694:(f,n,e)=>{e.d(n,{Z:()=>i});var t=e(20265),o=e(98568),u=e(43445),r=e(35488);function i(p){var c=(0,o.Z)();return function(){var a,s=(0,t.Z)(p);if(c){var d=(0,t.Z)(this).constructor;a=Reflect.construct(s,arguments,d)}else a=s.apply(this,arguments);return function _(p,c){if(c&&("object"===(0,u.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(p)}(this,a)}}},20265:(f,n,e)=>{function t(o){return(t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)})(o)}e.d(n,{Z:()=>t})},24582:(f,n,e)=>{e.d(n,{Z:()=>o});var t=e(10006);function o(u,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(r&&r.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),r&&(0,t.Z)(u,r)}},98568:(f,n,e)=>{function t(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(n,{Z:()=>t})},10006:(f,n,e)=>{function t(o,u){return(t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_,i){return _.__proto__=i,_})(o,u)}e.d(n,{Z:()=>t})}}]); +//# sourceMappingURL=5069.53f13d63fe0558cb.js.map \ No newline at end of file diff --git a/5069.53f13d63fe0558cb.js.map b/5069.53f13d63fe0558cb.js.map new file mode 100644 index 0000000..5248246 --- /dev/null +++ b/5069.53f13d63fe0558cb.js.map @@ -0,0 +1 @@ +{"version":3,"file":"5069.53f13d63fe0558cb.js","mappings":"sQAAe,SAAAA,EAAAC,GACf,YAAAA,EACA,UAAAC,eAAA,6DAEA,OAAAD,CACA,oGCFe,SAAAE,EAAAC,GACf,IAAAC,KAAkCC,EAAAC,KAClC,kBACA,IACAC,EADAC,KAAgBC,EAAAH,GAAcH,GAE9B,GAAAC,EAAA,CACA,IAAAM,KAAsBD,EAAAH,GAAcK,MAAAC,YACpCL,EAAAM,QAAAC,UAAAN,EAAAO,UAAAL,EAAA,MAEAH,EAAAC,EAAAQ,MAAAL,KAAAI,WAEA,OCZe,SAAAE,EAAAjB,EAAAkB,GACf,GAAAA,IAAsB,YAAtBA,EAAeC,EAAAb,GAAOY,IAAA,mBAAAA,GACtB,OAAAA,EACI,YAAAA,EACJ,UAAAE,UAAA,4DAEA,SAASC,EAAAf,GAAqBN,EAC9B,CDKWiB,CAAyBN,KAAAJ,EACpC,CACA,mBEhBe,SAAAe,EAAAC,GACf,OAAAD,EAAAE,OAAAC,eAAAD,OAAAf,eAAAiB,OAAA,SAAAH,GACA,OAAAA,EAAAI,WAAAH,OAAAf,eAAAc,EACA,GACAA,EACA,mECJe,SAAAK,EAAAC,EAAAC,GACf,sBAAAA,GAAA,OAAAA,EACA,UAAAV,UAAA,sDAEAS,EAAAE,UAAAP,OAAAQ,OAAAF,KAAAC,UAAA,CACAnB,YAAA,CACAqB,MAAAJ,EACAK,UAAA,EACAC,cAAA,KAGAX,OAAAY,eAAAP,EAAA,aACAK,UAAA,IAEAJ,MAAkBO,EAAA/B,GAAcuB,EAAAC,EAChC,mBChBe,SAAAQ,IAEf,UADAzB,QAAA,MAAAA,QAAAC,WACAD,QAAAC,UAAAyB,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAAV,UAAAW,QAAAxB,KAAAL,QAAAC,UAAA2B,QAAA,mBACA,CACA,OACA,QACA,CACA,mCCVe,SAAAE,EAAApB,EAAAqB,GACf,OAAAD,EAAAnB,OAAAC,eAAAD,OAAAC,eAAAC,OAAA,SAAAH,EAAAqB,GACA,OAAArB,EAAAI,UAAAiB,EACArB,CACA,GACAA,EAAAqB,EACA","names":["_assertThisInitialized","self","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","call","esm_typeof","TypeError","assertThisInitialized","_getPrototypeOf","o","Object","setPrototypeOf","bind","__proto__","_inherits","subClass","superClass","prototype","create","value","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6]} \ No newline at end of file diff --git a/5094.0672665b5e6e8b59.js b/5094.0672665b5e6e8b59.js new file mode 100644 index 0000000..7d504e9 --- /dev/null +++ b/5094.0672665b5e6e8b59.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[5094,5106,5603,9880,1551],{50253:(x,E,t)=>{t.d(E,{x:()=>j});var k=t(95106),b=t(78069),_=t(48047),f=t(4089),s=t(20265),v=t(24582),d=t(28694),e=t(90833),g=t(17714),D=(0,t(27543).d)(function(T){return function(){T(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),A=t(39663),B=t(12309),j=function(){var T=function(Z){(0,v.Z)(O,Z);var C=(0,d.Z)(O);function O(){var p;return(0,b.Z)(this,O),(p=C.call(this)).closed=!1,p.currentObservers=null,p.observers=[],p.isStopped=!1,p.hasError=!1,p.thrownError=null,p}return(0,_.Z)(O,[{key:"lift",value:function(o){var h=new I(this,this);return h.operator=o,h}},{key:"_throwIfClosed",value:function(){if(this.closed)throw new D}},{key:"next",value:function(o){var h=this;(0,B.x)(function(){if(h._throwIfClosed(),!h.isStopped){h.currentObservers||(h.currentObservers=Array.from(h.observers));var P,S=(0,k.Z)(h.currentObservers);try{for(S.s();!(P=S.n()).done;)P.value.next(o)}catch(U){S.e(U)}finally{S.f()}}})}},{key:"error",value:function(o){var h=this;(0,B.x)(function(){if(h._throwIfClosed(),!h.isStopped){h.hasError=h.isStopped=!0,h.thrownError=o;for(var S=h.observers;S.length;)S.shift().error(o)}})}},{key:"complete",value:function(){var o=this;(0,B.x)(function(){if(o._throwIfClosed(),!o.isStopped){o.isStopped=!0;for(var h=o.observers;h.length;)h.shift().complete()}})}},{key:"unsubscribe",value:function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}},{key:"observed",get:function(){var o;return(null===(o=this.observers)||void 0===o?void 0:o.length)>0}},{key:"_trySubscribe",value:function(o){return this._throwIfClosed(),(0,f.Z)((0,s.Z)(O.prototype),"_trySubscribe",this).call(this,o)}},{key:"_subscribe",value:function(o){return this._throwIfClosed(),this._checkFinalizedStatuses(o),this._innerSubscribe(o)}},{key:"_innerSubscribe",value:function(o){var h=this,R=this.observers;return this.hasError||this.isStopped?g.Lc:(this.currentObservers=null,R.push(o),new g.w0(function(){h.currentObservers=null,(0,A.P)(R,o)}))}},{key:"_checkFinalizedStatuses",value:function(o){var P=this.isStopped;this.hasError?o.error(this.thrownError):P&&o.complete()}},{key:"asObservable",value:function(){var o=new e.y;return o.source=this,o}}]),O}(e.y);return T.create=function(Z,C){return new I(Z,C)},T}(),I=function(T){(0,v.Z)(C,T);var Z=(0,d.Z)(C);function C(O,p){var o;return(0,b.Z)(this,C),(o=Z.call(this)).destination=O,o.source=p,o}return(0,_.Z)(C,[{key:"next",value:function(p){var o,h;null===(h=null===(o=this.destination)||void 0===o?void 0:o.next)||void 0===h||h.call(o,p)}},{key:"error",value:function(p){var o,h;null===(h=null===(o=this.destination)||void 0===o?void 0:o.error)||void 0===h||h.call(o,p)}},{key:"complete",value:function(){var p,o;null===(o=null===(p=this.destination)||void 0===p?void 0:p.complete)||void 0===o||o.call(p)}},{key:"_subscribe",value:function(p){var o,h;return null!==(h=null===(o=this.source)||void 0===o?void 0:o.subscribe(p))&&void 0!==h?h:g.Lc}}]),C}(j)},20591:(x,E,t)=>{t.d(E,{E:()=>b});var b=new(t(90833).y)(function(s){return s.complete()})},93945:(x,E,t)=>{t.d(E,{Q:()=>w,x:()=>g});var k=t(78069),b=t(48047),_=t(35488),f=t(24582),s=t(28694),v=t(4089),d=t(20265);function g(D,A,B,j,I){return new w(D,A,B,j,I)}var w=function(D){(0,f.Z)(B,D);var A=(0,s.Z)(B);function B(j,I,T,Z,C,O){var p,o,h,S;return(0,k.Z)(this,B),(S=A.call(this,j)).onFinalize=C,S.shouldUnsubscribe=O,S._next=I?function(P){try{I(P)}catch(R){j.error(R)}}:(0,v.Z)((p=(0,_.Z)(S),(0,d.Z)(B.prototype)),"_next",p),S._error=Z?function(P){try{Z(P)}catch(R){j.error(R)}finally{this.unsubscribe()}}:(0,v.Z)((o=(0,_.Z)(S),(0,d.Z)(B.prototype)),"_error",o),S._complete=T?function(){try{T()}catch(P){j.error(P)}finally{this.unsubscribe()}}:(0,v.Z)((h=(0,_.Z)(S),(0,d.Z)(B.prototype)),"_complete",h),S}return(0,b.Z)(B,[{key:"unsubscribe",value:function(){var I;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var T=this.closed;(0,v.Z)((0,d.Z)(B.prototype),"unsubscribe",this).call(this),!T&&(null===(I=this.onFinalize)||void 0===I||I.call(this))}}}]),B}(t(5463).Lv)},59295:(x,E,t)=>{t.d(E,{q:()=>f});var k=t(20591),b=t(41944),_=t(93945);function f(s){return s<=0?function(){return k.E}:(0,b.e)(function(v,d){var e=0;v.subscribe((0,_.x)(d,function(g){++e<=s&&(d.next(g),s<=e&&d.complete())}))})}},68951:(x,E,t)=>{t.d(E,{R:()=>s});var k=t(41944),b=t(93945),_=t(54987),f=t(99635);function s(v){return(0,k.e)(function(d,e){(0,_.Xf)(v).subscribe((0,b.x)(e,function(){return e.complete()},f.Z)),!e.closed&&d.subscribe(e)})}},41944:(x,E,t)=>{t.d(E,{A:()=>b,e:()=>_});var k=t(92971);function b(f){return(0,k.m)(f?.lift)}function _(f){return function(s){if(b(s))return s.lift(function(v){try{return f(v,this)}catch(d){this.error(d)}});throw new TypeError("Unable to lift unknown Observable type")}}},88511:(x,E,t)=>{t.r(E),t.d(E,{MAT_SNACK_BAR_DATA:()=>U,MAT_SNACK_BAR_DEFAULT_OPTIONS:()=>W,MAT_SNACK_BAR_DEFAULT_OPTIONS_FACTORY:()=>G,MatSnackBar:()=>ee,MatSnackBarAction:()=>H,MatSnackBarActions:()=>N,MatSnackBarConfig:()=>K,MatSnackBarContainer:()=>Y,MatSnackBarLabel:()=>z,MatSnackBarModule:()=>$,MatSnackBarRef:()=>R,SimpleSnackBar:()=>Q,_MatSnackBarBase:()=>J,_MatSnackBarContainerBase:()=>X,matSnackBarAnimations:()=>V});var k=t(35603),b=t(4089),_=t(20265),f=t(24582),s=t(28694),v=t(78069),d=t(48047),e=t(56718),g=t(50253),w=t(94055),D=t(64049),A=t(72223),B=t(18142),j=t(23675),I=t(59295),T=t(68951),Z=t(908),C=t(25121),O=t(43662),p=t(6606);function o(a,l){if(1&a){var i=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",2)(1,"button",3),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(i);var r=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(r.action())}),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()}if(2&a){var n=e.\u0275\u0275nextContext();e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",n.data.action," ")}}var h=["label"];function S(a,l){}var P=Math.pow(2,31)-1,R=function(){function a(l,i){var n=this;(0,v.Z)(this,a),this._overlayRef=i,this._afterDismissed=new g.x,this._afterOpened=new g.x,this._onAction=new g.x,this._dismissedByAction=!1,this.containerInstance=l,l._onExit.subscribe(function(){return n._finishDismiss()})}return(0,d.Z)(a,[{key:"dismiss",value:function(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}},{key:"dismissWithAction",value:function(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}},{key:"closeWithAction",value:function(){this.dismissWithAction()}},{key:"_dismissAfter",value:function(i){var n=this;this._durationTimeoutId=setTimeout(function(){return n.dismiss()},Math.min(i,P))}},{key:"_open",value:function(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}},{key:"_finishDismiss",value:function(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}},{key:"afterDismissed",value:function(){return this._afterDismissed}},{key:"afterOpened",value:function(){return this.containerInstance._onEnter}},{key:"onAction",value:function(){return this._onAction}}]),a}(),U=new e.InjectionToken("MatSnackBarData"),K=(0,d.Z)(function a(){(0,v.Z)(this,a),this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}),z=function(){var a=(0,d.Z)(function l(){(0,v.Z)(this,l)});return a.\u0275fac=function(i){return new(i||a)},a.\u0275dir=e.\u0275\u0275defineDirective({type:a,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}),a}(),N=function(){var a=(0,d.Z)(function l(){(0,v.Z)(this,l)});return a.\u0275fac=function(i){return new(i||a)},a.\u0275dir=e.\u0275\u0275defineDirective({type:a,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}),a}(),H=function(){var a=(0,d.Z)(function l(){(0,v.Z)(this,l)});return a.\u0275fac=function(i){return new(i||a)},a.\u0275dir=e.\u0275\u0275defineDirective({type:a,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}),a}(),Q=function(){var a=function(){function l(i,n){(0,v.Z)(this,l),this.snackBarRef=i,this.data=n}return(0,d.Z)(l,[{key:"action",value:function(){this.snackBarRef.dismissWithAction()}},{key:"hasAction",get:function(){return!!this.data.action}}]),l}();return a.\u0275fac=function(i){return new(i||a)(e.\u0275\u0275directiveInject(R),e.\u0275\u0275directiveInject(U))},a.\u0275cmp=e.\u0275\u0275defineComponent({type:a,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions","",4,"ngIf"],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(i,n){1&i&&(e.\u0275\u0275elementStart(0,"div",0),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(2,o,3,1,"div",1)),2&i&&(e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",n.data.message,"\n"),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",n.hasAction))},dependencies:[w.NgIf,D.MatButton,z,N,H],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0}),a}(),V={snackBarState:(0,A.X$)("state",[(0,A.SB)("void, hidden",(0,A.oB)({transform:"scale(0.8)",opacity:0})),(0,A.SB)("visible",(0,A.oB)({transform:"scale(1)",opacity:1})),(0,A.eR)("* => visible",(0,A.jt)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,A.eR)("* => void, * => hidden",(0,A.jt)("75ms cubic-bezier(0.4, 0.0, 1, 1)",(0,A.oB)({opacity:0})))])},q=0,X=function(){var a=function(l){(0,f.Z)(n,l);var i=(0,s.Z)(n);function n(c,r,u,y,M){var m;return(0,v.Z)(this,n),(m=i.call(this))._ngZone=c,m._elementRef=r,m._changeDetectorRef=u,m._platform=y,m.snackBarConfig=M,m._document=(0,e.inject)(w.DOCUMENT),m._trackedModals=new Set,m._announceDelay=150,m._destroyed=!1,m._onAnnounce=new g.x,m._onExit=new g.x,m._onEnter=new g.x,m._animationState="void",m._liveElementId="mat-snack-bar-container-live-".concat(q++),m.attachDomPortal=function(L){m._assertNotAttached();var F=m._portalOutlet.attachDomPortal(L);return m._afterPortalAttached(),F},m._live="assertive"!==M.politeness||M.announcementMessage?"off"===M.politeness?"off":"polite":"assertive",m._platform.FIREFOX&&("polite"===m._live&&(m._role="status"),"assertive"===m._live&&(m._role="alert")),m}return(0,d.Z)(n,[{key:"attachComponentPortal",value:function(r){this._assertNotAttached();var u=this._portalOutlet.attachComponentPortal(r);return this._afterPortalAttached(),u}},{key:"attachTemplatePortal",value:function(r){this._assertNotAttached();var u=this._portalOutlet.attachTemplatePortal(r);return this._afterPortalAttached(),u}},{key:"onAnimationEnd",value:function(r){var y=r.toState;if(("void"===y&&"void"!==r.fromState||"hidden"===y)&&this._completeExit(),"visible"===y){var M=this._onEnter;this._ngZone.run(function(){M.next(),M.complete()})}}},{key:"enter",value:function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}},{key:"exit",value:function(){var r=this;return this._ngZone.run(function(){r._animationState="hidden",r._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(r._announceTimeoutId)}),this._onExit}},{key:"ngOnDestroy",value:function(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}},{key:"_completeExit",value:function(){var r=this;this._ngZone.onMicrotaskEmpty.pipe((0,I.q)(1)).subscribe(function(){r._ngZone.run(function(){r._onExit.next(),r._onExit.complete()})})}},{key:"_afterPortalAttached",value:function(){var r=this._elementRef.nativeElement,u=this.snackBarConfig.panelClass;u&&(Array.isArray(u)?u.forEach(function(y){return r.classList.add(y)}):r.classList.add(u)),this._exposeToModals()}},{key:"_exposeToModals",value:function(){for(var r=this._liveElementId,u=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]'),y=0;y<u.length;y++){var M=u[y],m=M.getAttribute("aria-owns");this._trackedModals.add(M),m?-1===m.indexOf(r)&&M.setAttribute("aria-owns",m+" "+r):M.setAttribute("aria-owns",r)}}},{key:"_clearFromModals",value:function(){var r=this;this._trackedModals.forEach(function(u){var y=u.getAttribute("aria-owns");if(y){var M=y.replace(r._liveElementId,"").trim();M.length>0?u.setAttribute("aria-owns",M):u.removeAttribute("aria-owns")}}),this._trackedModals.clear()}},{key:"_assertNotAttached",value:function(){this._portalOutlet.hasAttached()}},{key:"_screenReaderAnnounce",value:function(){var r=this;this._announceTimeoutId||this._ngZone.runOutsideAngular(function(){r._announceTimeoutId=setTimeout(function(){var u=r._elementRef.nativeElement.querySelector("[aria-hidden]"),y=r._elementRef.nativeElement.querySelector("[aria-live]");if(u&&y){var M,m=null;r._platform.isBrowser&&document.activeElement instanceof HTMLElement&&u.contains(document.activeElement)&&(m=document.activeElement),u.removeAttribute("aria-hidden"),y.appendChild(u),null===(M=m)||void 0===M||M.focus(),r._onAnnounce.next(),r._onAnnounce.complete()}},r._announceDelay)})}}]),n}(B.BasePortalOutlet);return a.\u0275fac=function(i){return new(i||a)(e.\u0275\u0275directiveInject(e.NgZone),e.\u0275\u0275directiveInject(e.ElementRef),e.\u0275\u0275directiveInject(e.ChangeDetectorRef),e.\u0275\u0275directiveInject(j.Platform),e.\u0275\u0275directiveInject(K))},a.\u0275dir=e.\u0275\u0275defineDirective({type:a,viewQuery:function(i,n){var c;1&i&&e.\u0275\u0275viewQuery(B.CdkPortalOutlet,7),2&i&&e.\u0275\u0275queryRefresh(c=e.\u0275\u0275loadQuery())&&(n._portalOutlet=c.first)},features:[e.\u0275\u0275InheritDefinitionFeature]}),a}(),Y=function(){var a=function(l){(0,f.Z)(n,l);var i=(0,s.Z)(n);function n(){return(0,v.Z)(this,n),i.apply(this,arguments)}return(0,d.Z)(n,[{key:"_afterPortalAttached",value:function(){(0,b.Z)((0,_.Z)(n.prototype),"_afterPortalAttached",this).call(this);var r=this._label.nativeElement,u="mdc-snackbar__label";r.classList.toggle(u,!r.querySelector(".".concat(u)))}}]),n}(X);return a.\u0275fac=function(){var l;return function(n){return(l||(l=e.\u0275\u0275getInheritedFactory(a)))(n||a)}}(),a.\u0275cmp=e.\u0275\u0275defineComponent({type:a,selectors:[["mat-snack-bar-container"]],viewQuery:function(i,n){var c;1&i&&e.\u0275\u0275viewQuery(h,7),2&i&&e.\u0275\u0275queryRefresh(c=e.\u0275\u0275loadQuery())&&(n._label=c.first)},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(i,n){1&i&&e.\u0275\u0275syntheticHostListener("@state.done",function(r){return n.onAnimationEnd(r)}),2&i&&e.\u0275\u0275syntheticHostProperty("@state",n._animationState)},features:[e.\u0275\u0275InheritDefinitionFeature],decls:6,vars:3,consts:[[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["label",""],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(i,n){1&i&&(e.\u0275\u0275elementStart(0,"div",0)(1,"div",1,2)(3,"div",3),e.\u0275\u0275template(4,S,0,0,"ng-template",4),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(5,"div"),e.\u0275\u0275elementEnd()()),2&i&&(e.\u0275\u0275advance(5),e.\u0275\u0275attribute("aria-live",n._live)("role",n._role)("id",n._liveElementId))},dependencies:[B.CdkPortalOutlet],styles:['.mdc-snackbar{display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1)}.mdc-snackbar__label{padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-snack-bar-container{margin:8px;--mdc-snackbar-container-shape:4px;position:static}.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:100%}}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container{width:100vw}}.mat-mdc-snack-bar-container .mdc-snackbar__surface{max-width:672px}.mat-mdc-snack-bar-container .mdc-snackbar__surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape)}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size);font-family:var(--mdc-snackbar-supporting-text-font);font-weight:var(--mdc-snackbar-supporting-text-weight);line-height:var(--mdc-snackbar-supporting-text-line-height)}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-snack-bar-button-color);--mat-mdc-button-persistent-ripple-color: currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{background-color:currentColor;opacity:.1}.mat-mdc-snack-bar-container .mdc-snackbar__label::before{display:none}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-handset .mdc-snackbar__surface{width:100%}'],encapsulation:2,data:{animation:[V.snackBarState]}}),a}(),$=function(){var a=(0,d.Z)(function l(){(0,v.Z)(this,l)});return a.\u0275fac=function(i){return new(i||a)},a.\u0275mod=e.\u0275\u0275defineNgModule({type:a}),a.\u0275inj=e.\u0275\u0275defineInjector({imports:[O.OverlayModule,B.PortalModule,w.CommonModule,D.MatButtonModule,p.MatCommonModule,p.MatCommonModule]}),a}();function G(){return new K}var W=new e.InjectionToken("mat-snack-bar-default-options",{providedIn:"root",factory:G}),J=function(){var a=function(){function l(i,n,c,r,u,y){(0,v.Z)(this,l),this._overlay=i,this._live=n,this._injector=c,this._breakpointObserver=r,this._parentSnackBar=u,this._defaultConfig=y,this._snackBarRefAtThisLevel=null}return(0,d.Z)(l,[{key:"_openedSnackBarRef",get:function(){var n=this._parentSnackBar;return n?n._openedSnackBarRef:this._snackBarRefAtThisLevel},set:function(n){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=n:this._snackBarRefAtThisLevel=n}},{key:"openFromComponent",value:function(n,c){return this._attach(n,c)}},{key:"openFromTemplate",value:function(n,c){return this._attach(n,c)}},{key:"open",value:function(n){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2?arguments[2]:void 0,u=(0,k.Z)((0,k.Z)({},this._defaultConfig),r);return u.data={message:n,action:c},u.announcementMessage===n&&(u.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,u)}},{key:"dismiss",value:function(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}},{key:"ngOnDestroy",value:function(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}},{key:"_attachSnackBarContainer",value:function(n,c){var u=e.Injector.create({parent:c&&c.viewContainerRef&&c.viewContainerRef.injector||this._injector,providers:[{provide:K,useValue:c}]}),y=new B.ComponentPortal(this.snackBarContainerComponent,c.viewContainerRef,u),M=n.attach(y);return M.instance.snackBarConfig=c,M.instance}},{key:"_attach",value:function(n,c){var r=this,u=(0,k.Z)((0,k.Z)((0,k.Z)({},new K),this._defaultConfig),c),y=this._createOverlay(u),M=this._attachSnackBarContainer(y,u),m=new R(M,y);if(n instanceof e.TemplateRef){var L=new B.TemplatePortal(n,null,{$implicit:u.data,snackBarRef:m});m.instance=M.attachTemplatePortal(L)}else{var F=this._createInjector(u,m),te=new B.ComponentPortal(n,void 0,F),ne=M.attachComponentPortal(te);m.instance=ne.instance}return this._breakpointObserver.observe(C.Breakpoints.HandsetPortrait).pipe((0,T.R)(y.detachments())).subscribe(function(ae){y.overlayElement.classList.toggle(r.handsetCssClass,ae.matches)}),u.announcementMessage&&M._onAnnounce.subscribe(function(){r._live.announce(u.announcementMessage,u.politeness)}),this._animateSnackBar(m,u),this._openedSnackBarRef=m,this._openedSnackBarRef}},{key:"_animateSnackBar",value:function(n,c){var r=this;n.afterDismissed().subscribe(function(){r._openedSnackBarRef==n&&(r._openedSnackBarRef=null),c.announcementMessage&&r._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(function(){n.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):n.containerInstance.enter(),c.duration&&c.duration>0&&n.afterOpened().subscribe(function(){return n._dismissAfter(c.duration)})}},{key:"_createOverlay",value:function(n){var c=new O.OverlayConfig;c.direction=n.direction;var r=this._overlay.position().global(),u="rtl"===n.direction,y="left"===n.horizontalPosition||"start"===n.horizontalPosition&&!u||"end"===n.horizontalPosition&&u,M=!y&&"center"!==n.horizontalPosition;return y?r.left("0"):M?r.right("0"):r.centerHorizontally(),"top"===n.verticalPosition?r.top("0"):r.bottom("0"),c.positionStrategy=r,this._overlay.create(c)}},{key:"_createInjector",value:function(n,c){return e.Injector.create({parent:n&&n.viewContainerRef&&n.viewContainerRef.injector||this._injector,providers:[{provide:R,useValue:c},{provide:U,useValue:n.data}]})}}]),l}();return a.\u0275fac=function(i){return new(i||a)(e.\u0275\u0275inject(O.Overlay),e.\u0275\u0275inject(Z.LiveAnnouncer),e.\u0275\u0275inject(e.Injector),e.\u0275\u0275inject(C.BreakpointObserver),e.\u0275\u0275inject(a,12),e.\u0275\u0275inject(W))},a.\u0275prov=e.\u0275\u0275defineInjectable({token:a,factory:a.\u0275fac}),a}(),ee=function(){var a=function(l){(0,f.Z)(n,l);var i=(0,s.Z)(n);function n(c,r,u,y,M,m){var L;return(0,v.Z)(this,n),(L=i.call(this,c,r,u,y,M,m)).simpleSnackBarComponent=Q,L.snackBarContainerComponent=Y,L.handsetCssClass="mat-mdc-snack-bar-handset",L}return(0,d.Z)(n)}(J);return a.\u0275fac=function(i){return new(i||a)(e.\u0275\u0275inject(O.Overlay),e.\u0275\u0275inject(Z.LiveAnnouncer),e.\u0275\u0275inject(e.Injector),e.\u0275\u0275inject(C.BreakpointObserver),e.\u0275\u0275inject(a,12),e.\u0275\u0275inject(W))},a.\u0275prov=e.\u0275\u0275defineInjectable({token:a,factory:a.\u0275fac,providedIn:$}),a}()},44841:(x,E,t)=>{function k(b,_){(null==_||_>b.length)&&(_=b.length);for(var f=0,s=new Array(_);f<_;f++)s[f]=b[f];return s}t.d(E,{Z:()=>k})},95106:(x,E,t)=>{t.d(E,{Z:()=>b});var k=t(44206);function b(_,f){var s=typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(!s){if(Array.isArray(_)||(s=(0,k.Z)(_))||f&&_&&"number"==typeof _.length){s&&(_=s);var v=0,d=function(){};return{s:d,n:function(){return v>=_.length?{done:!0}:{done:!1,value:_[v++]}},e:function(A){throw A},f:d}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var w,e=!0,g=!1;return{s:function(){s=s.call(_)},n:function(){var A=s.next();return e=A.done,A},e:function(A){g=!0,w=A},f:function(){try{!e&&null!=s.return&&s.return()}finally{if(g)throw w}}}}},77797:(x,E,t)=>{t.d(E,{Z:()=>b});var k=t(51299);function b(_,f,s){return(f=(0,k.Z)(f))in _?Object.defineProperty(_,f,{value:s,enumerable:!0,configurable:!0,writable:!0}):_[f]=s,_}},4826:(x,E,t)=>{function k(b){if(typeof Symbol<"u"&&null!=b[Symbol.iterator]||null!=b["@@iterator"])return Array.from(b)}t.d(E,{Z:()=>k})},35603:(x,E,t)=>{t.d(E,{Z:()=>_});var k=t(77797);function b(f,s){var v=Object.keys(f);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(f);s&&(d=d.filter(function(e){return Object.getOwnPropertyDescriptor(f,e).enumerable})),v.push.apply(v,d)}return v}function _(f){for(var s=1;s<arguments.length;s++){var v=null!=arguments[s]?arguments[s]:{};s%2?b(Object(v),!0).forEach(function(d){(0,k.Z)(f,d,v[d])}):Object.getOwnPropertyDescriptors?Object.defineProperties(f,Object.getOwnPropertyDescriptors(v)):b(Object(v)).forEach(function(d){Object.defineProperty(f,d,Object.getOwnPropertyDescriptor(v,d))})}return f}},86170:(x,E,t)=>{t.d(E,{Z:()=>v});var k=t(44841),_=t(4826),f=t(44206);function v(d){return function b(d){if(Array.isArray(d))return(0,k.Z)(d)}(d)||(0,_.Z)(d)||(0,f.Z)(d)||function s(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(x,E,t)=>{t.d(E,{Z:()=>b});var k=t(44841);function b(_,f){if(_){if("string"==typeof _)return(0,k.Z)(_,f);var s=Object.prototype.toString.call(_).slice(8,-1);if("Object"===s&&_.constructor&&(s=_.constructor.name),"Map"===s||"Set"===s)return Array.from(_);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return(0,k.Z)(_,f)}}}}]); +//# sourceMappingURL=5094.0672665b5e6e8b59.js.map \ No newline at end of file diff --git a/5094.0672665b5e6e8b59.js.map b/5094.0672665b5e6e8b59.js.map new file mode 100644 index 0000000..1204450 --- /dev/null +++ b/5094.0672665b5e6e8b59.js.map @@ -0,0 +1 @@ +{"version":3,"file":"5094.0672665b5e6e8b59.js","mappings":"6NACaA,cAA0BC,GAAiB,SAACC,GAAM,OAAK,WAChEA,EAAOC,MACPA,KAAKC,KAAO,0BACZD,KAAKE,QAAU,qBACnB,CAAC,yBCAYC,EAAO,eAAPA,EAAO,SAAAC,IAAAC,OAAAF,EAAAC,GAAA,IAAAL,KAAAO,KAAAH,GAChB,SAAAA,IAAc,IAAAI,EAAAC,cAAAR,KAAAG,IACVI,EAAAR,EAAAU,KAAAT,OACKU,QAAS,EACdH,EAAKI,iBAAmB,KACxBJ,EAAKK,UAAY,GACjBL,EAAKM,WAAY,EACjBN,EAAKO,UAAW,EAChBP,EAAKQ,YAAc,KAAKR,CAC5B,CAACS,cAAAb,EAAA,EAAAc,IAAA,OAAAC,MACD,SAAKC,GACD,IAAMC,EAAU,IAAIC,EAAiBrB,KAAMA,MAC3CoB,SAAQD,SAAWA,EACZC,CACX,GAAC,CAAAH,IAAA,iBAAAC,MACD,WACI,GAAIlB,KAAKU,OACL,MAAM,IAAIb,CAElB,GAAC,CAAAoB,IAAA,OAAAC,MACD,SAAKA,GAAO,IAAAI,EAAAtB,MACRuB,OAAa,WAET,GADAD,EAAKE,kBACAF,EAAKT,UAAW,CACZS,EAAKX,mBACNW,EAAKX,iBAAmBc,MAAMC,KAAKJ,EAAKV,YAC3C,IAC2Ce,EAD3CC,KAAAC,KACsBP,EAAKX,k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BT,IELtE,SAAA8C,IACf,UAAAjU,UAAA,uIACA,CFG8FiU,EAC9F,mDGLe,SAAAC,EAAA5C,EAAA6C,GACf,GAAA7C,EACA,qBAAAA,EAAA,SAAoC8C,EAAAxC,GAAgBN,EAAA6C,GACpD,IAAArY,EAAAyW,OAAAxV,UAAAsX,SAAA7Z,KAAA8W,GAAAgD,MAAA,MAEA,GADA,WAAAxY,GAAAwV,EAAAiD,cAAAzY,EAAAwV,EAAAiD,YAAAva,MACA,QAAA8B,GAAA,QAAAA,EAAA,OAAAN,MAAAC,KAAA6V,GACA,iBAAAxV,GAAA,2CAAA0Y,KAAA1Y,GAAA,SAAsFsY,EAAAxC,GAAgBN,EAAA6C,EAAA,CACtG","names":["ObjectUnsubscribedError","createErrorClass","_super","this","name","message","Subject","_Observable","_inherits","_createSuper","_this","_classCallCheck","call","closed","currentObservers","observers","isStopped","hasError","thrownError","_createClass","key","value","operator","subject","AnonymousSubject","_this2","errorContext","_throwIfClosed","Array","from","_step","_iterator","_createForOfIteratorHelper","s","n","done","next","err","e","f","_this3","length","shift","error","_this4","complete","get","_a","subscriber","_get","_getPrototypeOf","prototype","_checkFinalizedStatuses","_innerSubscribe","_this5","EMPTY_SUBSCRIPTION","push","Subscription","arrRemove","observable","Observable","source","create","destination","_Subject","_super2","_this6","_b","subscribe","EMPTY","createOperatorSubscriber","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_next","_assertThisInitialized","_error","unsubscribe","_complete","Subscriber","take","count","operate","seen","takeUntil","notifier","innerFrom","noop","hasLift","isFunction","lift","init","liftedSource","TypeError","SimpleSnackBar_div_2_Template","rf","ctx","_r2","i0","ctx_r1","action","ctx_r0","data","_c0","MatSnackBarContainer_ng_template_4_Template","MAX_TIMEOUT","Math","pow","MatSnackBarRef","containerInstance","_overlayRef","_afterDismissed","_afterOpened","_onAction","_dismissedByAction","_onExit","_finishDismiss","exit","clearTimeout","_durationTimeoutId","dismiss","dismissWithAction","duration","setTimeout","min","dispose","dismissedByAction","_onEnter","MAT_SNACK_BAR_DATA","InjectionToken","MatSnackBarConfig","politeness","announcementMessage","horizontalPosition","verticalPosition","MatSnackBarLabel","ɵfac","t","ɵdir","type","selectors","hostAttrs","MatSnackBarActions","MatSnackBarAction","SimpleSnackBar","snackBarRef","ɵcmp","exportAs","decls","vars","consts","template","hasAction","dependencies","i2","i3","styles","encapsulation","changeDetection","matSnackBarAnimations","snackBarState","trigger","state","style","transform","opacity","transition","animate","uniqueId","_MatSnackBarContainerBase","_BasePortalOutlet","_ngZone","_elementRef","_changeDetectorRef","_platform","snackBarConfig","_document","inject","DOCUMENT","_trackedModals","Set","_announceDelay","_destroyed","_onAnnounce","_animationState","_liveElementId","concat","attachDomPortal","portal","_assertNotAttached","result","_portalOutlet","_afterPortalAttached","_live","FIREFOX","_role","attachComponentPortal","attachTemplatePortal","event","toState","fromState","_completeExit","onEnter","run","detectChanges","_screenReaderAnnounce","nativeElement","setAttribute","_announceTimeoutId","_clearFromModals","onMicrotaskEmpty","pipe","element","panelClasses","panelClass","isArray","forEach","cssClass","classList","add","_exposeToModals","id","modals","querySelectorAll","i","modal","ariaOwns","getAttribute","indexOf","newValue","replace","trim","removeAttribute","clear","hasAttached","_this7","runOutsideAngular","inertElement","querySelector","liveElement","_focusedElement","focusedElement","isBrowser","document","activeElement","HTMLElement","contains","appendChild","focus","BasePortalOutlet","i1","viewQuery","_t","CdkPortalOutlet","first","features","MatSnackBarContainer","_MatSnackBarContainer","apply","arguments","label","_label","labelClass","toggle","ɵMatSnackBarContainer_BaseFactory","hostVars","hostBindings","$event","onAnimationEnd","i3$1","animation","MatSnackBarModule","ɵmod","ɵinj","imports","OverlayModule","PortalModule","CommonModule","MatButtonModule","MatCommonModule","MAT_SNACK_BAR_DEFAULT_OPTIONS_FACTORY","MAT_SNACK_BAR_DEFAULT_OPTIONS","providedIn","factory","_MatSnackBarBase","_overlay","_injector","_breakpointObserver","_parentSnackBar","_defaultConfig","_snackBarRefAtThisLevel","parent","_openedSnackBarRef","set","component","config","_attach","undefined","_config","_objectSpread","openFromComponent","simpleSnackBarComponent","overlayRef","injector","Injector","viewContainerRef","providers","provide","useValue","containerPortal","ComponentPortal","snackBarContainerComponent","containerRef","attach","instance","content","userConfig","_this8","_createOverlay","container","_attachSnackBarContainer","TemplateRef","TemplatePortal","$implicit","_createInjector","contentRef","observe","Breakpoints","detachments","overlayElement","handsetCssClass","matches","announce","_animateSnackBar","_this9","afterDismissed","enter","afterOpened","_dismissAfter","overlayConfig","OverlayConfig","direction","positionStrategy","position","global","isRtl","isLeft","isRight","left","right","centerHorizontally","top","bottom","i1$1","i2$1","i3$2","ɵprov","token","MatSnackBar","_MatSnackBarBase2","_super3","overlay","live","breakpointObserver","parentSnackBar","defaultConfig","_this10","_arrayLikeToArray","arr","len","arr2","o","allowArrayLike","it","Symbol","iterator","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","_e","normalCompletion","didErr","step","_e2","return","_defineProperty","obj","_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__","Object","defineProperty","enumerable","configurable","writable","_iterableToArray","iter","ownKeys","object","enumerableOnly","keys","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","_objectSpread2","target","_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__","getOwnPropertyDescriptors","defineProperties","_toConsumableArray","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","toString","slice","constructor","test"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/util/ObjectUnsubscribedError.js","./node_modules/rxjs/dist/esm/internal/Subject.js","./node_modules/rxjs/dist/esm/internal/observable/empty.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/take.js","./node_modules/rxjs/dist/esm/internal/operators/takeUntil.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/@angular/material/fesm2022/snack-bar.mjs","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/defineProperty.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/objectSpread2.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { createErrorClass } from './createErrorClass';\nexport const ObjectUnsubscribedError = createErrorClass((_super) => function ObjectUnsubscribedErrorImpl() {\n _super(this);\n this.name = 'ObjectUnsubscribedError';\n this.message = 'object unsubscribed';\n});\n","import { Observable } from './Observable';\nimport { Subscription, EMPTY_SUBSCRIPTION } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { arrRemove } from './util/arrRemove';\nimport { errorContext } from './util/errorContext';\nexport class Subject extends Observable {\n constructor() {\n super();\n this.closed = false;\n this.currentObservers = null;\n this.observers = [];\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n lift(operator) {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n }\n _throwIfClosed() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n }\n next(value) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n if (!this.currentObservers) {\n this.currentObservers = Array.from(this.observers);\n }\n for (const observer of this.currentObservers) {\n observer.next(value);\n }\n }\n });\n }\n error(err) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.hasError = this.isStopped = true;\n this.thrownError = err;\n const { observers } = this;\n while (observers.length) {\n observers.shift().error(err);\n }\n }\n });\n }\n complete() {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.isStopped = true;\n const { observers } = this;\n while (observers.length) {\n observers.shift().complete();\n }\n }\n });\n }\n unsubscribe() {\n this.isStopped = this.closed = true;\n this.observers = this.currentObservers = null;\n }\n get observed() {\n var _a;\n return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;\n }\n _trySubscribe(subscriber) {\n this._throwIfClosed();\n return super._trySubscribe(subscriber);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._checkFinalizedStatuses(subscriber);\n return this._innerSubscribe(subscriber);\n }\n _innerSubscribe(subscriber) {\n const { hasError, isStopped, observers } = this;\n if (hasError || isStopped) {\n return EMPTY_SUBSCRIPTION;\n }\n this.currentObservers = null;\n observers.push(subscriber);\n return new Subscription(() => {\n this.currentObservers = null;\n arrRemove(observers, subscriber);\n });\n }\n _checkFinalizedStatuses(subscriber) {\n const { hasError, thrownError, isStopped } = this;\n if (hasError) {\n subscriber.error(thrownError);\n }\n else if (isStopped) {\n subscriber.complete();\n }\n }\n asObservable() {\n const observable = new Observable();\n observable.source = this;\n return observable;\n }\n}\nSubject.create = (destination, source) => {\n return new AnonymousSubject(destination, source);\n};\nexport class AnonymousSubject extends Subject {\n constructor(destination, source) {\n super();\n this.destination = destination;\n this.source = source;\n }\n next(value) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);\n }\n error(err) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);\n }\n complete() {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);\n }\n _subscribe(subscriber) {\n var _a, _b;\n return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;\n }\n}\n","import { Observable } from '../Observable';\nexport const EMPTY = new Observable((subscriber) => subscriber.complete());\nexport function empty(scheduler) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n return new Observable((subscriber) => scheduler.schedule(() => subscriber.complete()));\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","import { EMPTY } from '../observable/empty';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function take(count) {\n return count <= 0\n ?\n () => EMPTY\n : operate((source, subscriber) => {\n let seen = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n if (++seen <= count) {\n subscriber.next(value);\n if (count <= seen) {\n subscriber.complete();\n }\n }\n }));\n });\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { innerFrom } from '../observable/innerFrom';\nimport { noop } from '../util/noop';\nexport function takeUntil(notifier) {\n return operate((source, subscriber) => {\n innerFrom(notifier).subscribe(createOperatorSubscriber(subscriber, () => subscriber.complete(), noop));\n !subscriber.closed && source.subscribe(subscriber);\n });\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","import * as i0 from '@angular/core';\nimport { InjectionToken, Directive, Component, ViewEncapsulation, ChangeDetectionStrategy, Inject, inject, ViewChild, NgModule, Injector, TemplateRef, Injectable, Optional, SkipSelf } from '@angular/core';\nimport { Subject } from 'rxjs';\nimport * as i2 from '@angular/common';\nimport { DOCUMENT, CommonModule } from '@angular/common';\nimport * as i3 from '@angular/material/button';\nimport { MatButtonModule } from '@angular/material/button';\nimport { trigger, state, style, transition, animate } from '@angular/animations';\nimport * as i3$1 from '@angular/cdk/portal';\nimport { BasePortalOutlet, CdkPortalOutlet, PortalModule, ComponentPortal, TemplatePortal } from '@angular/cdk/portal';\nimport * as i1 from '@angular/cdk/platform';\nimport { take, takeUntil } from 'rxjs/operators';\nimport * as i2$1 from '@angular/cdk/a11y';\nimport * as i3$2 from '@angular/cdk/layout';\nimport { Breakpoints } from '@angular/cdk/layout';\nimport * as i1$1 from '@angular/cdk/overlay';\nimport { OverlayModule, OverlayConfig } from '@angular/cdk/overlay';\nimport { MatCommonModule } from '@angular/material/core';\n\n/** Maximum amount of milliseconds that can be passed into setTimeout. */\nconst MAX_TIMEOUT = Math.pow(2, 31) - 1;\n/**\n * Reference to a snack bar dispatched from the snack bar service.\n */\nclass MatSnackBarRef {\n constructor(containerInstance, _overlayRef) {\n this._overlayRef = _overlayRef;\n /** Subject for notifying the user that the snack bar has been dismissed. */\n this._afterDismissed = new Subject();\n /** Subject for notifying the user that the snack bar has opened and appeared. */\n this._afterOpened = new Subject();\n /** Subject for notifying the user that the snack bar action was called. */\n this._onAction = new Subject();\n /** Whether the snack bar was dismissed using the action button. */\n this._dismissedByAction = false;\n this.containerInstance = containerInstance;\n containerInstance._onExit.subscribe(() => this._finishDismiss());\n }\n /** Dismisses the snack bar. */\n dismiss() {\n if (!this._afterDismissed.closed) {\n this.containerInstance.exit();\n }\n clearTimeout(this._durationTimeoutId);\n }\n /** Marks the snackbar action clicked. */\n dismissWithAction() {\n if (!this._onAction.closed) {\n this._dismissedByAction = true;\n this._onAction.next();\n this._onAction.complete();\n this.dismiss();\n }\n clearTimeout(this._durationTimeoutId);\n }\n /**\n * Marks the snackbar action clicked.\n * @deprecated Use `dismissWithAction` instead.\n * @breaking-change 8.0.0\n */\n closeWithAction() {\n this.dismissWithAction();\n }\n /** Dismisses the snack bar after some duration */\n _dismissAfter(duration) {\n // Note that we need to cap the duration to the maximum value for setTimeout, because\n // it'll revert to 1 if somebody passes in something greater (e.g. `Infinity`). See #17234.\n this._durationTimeoutId = setTimeout(() => this.dismiss(), Math.min(duration, MAX_TIMEOUT));\n }\n /** Marks the snackbar as opened */\n _open() {\n if (!this._afterOpened.closed) {\n this._afterOpened.next();\n this._afterOpened.complete();\n }\n }\n /** Cleans up the DOM after closing. */\n _finishDismiss() {\n this._overlayRef.dispose();\n if (!this._onAction.closed) {\n this._onAction.complete();\n }\n this._afterDismissed.next({ dismissedByAction: this._dismissedByAction });\n this._afterDismissed.complete();\n this._dismissedByAction = false;\n }\n /** Gets an observable that is notified when the snack bar is finished closing. */\n afterDismissed() {\n return this._afterDismissed;\n }\n /** Gets an observable that is notified when the snack bar has opened and appeared. */\n afterOpened() {\n return this.containerInstance._onEnter;\n }\n /** Gets an observable that is notified when the snack bar action is called. */\n onAction() {\n return this._onAction;\n }\n}\n\n/** Injection token that can be used to access the data that was passed in to a snack bar. */\nconst MAT_SNACK_BAR_DATA = new InjectionToken('MatSnackBarData');\n/**\n * Configuration used when opening a snack-bar.\n */\nclass MatSnackBarConfig {\n constructor() {\n /** The politeness level for the MatAriaLiveAnnouncer announcement. */\n this.politeness = 'assertive';\n /**\n * Message to be announced by the LiveAnnouncer. When opening a snackbar without a custom\n * component or template, the announcement message will default to the specified message.\n */\n this.announcementMessage = '';\n /** The length of time in milliseconds to wait before automatically dismissing the snack bar. */\n this.duration = 0;\n /** Data being injected into the child component. */\n this.data = null;\n /** The horizontal position to place the snack bar. */\n this.horizontalPosition = 'center';\n /** The vertical position to place the snack bar. */\n this.verticalPosition = 'bottom';\n }\n}\n\n/** Directive that should be applied to the text element to be rendered in the snack bar. */\nclass MatSnackBarLabel {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSnackBarLabel, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatSnackBarLabel, selector: \"[matSnackBarLabel]\", host: { classAttribute: \"mat-mdc-snack-bar-label mdc-snackbar__label\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSnackBarLabel, decorators: [{\n type: Directive,\n args: [{\n selector: `[matSnackBarLabel]`,\n host: {\n 'class': 'mat-mdc-snack-bar-label mdc-snackbar__label',\n },\n }]\n }] });\n/** Directive that should be applied to the element containing the snack bar's action buttons. */\nclass MatSnackBarActions {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSnackBarActions, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatSnackBarActions, selector: \"[matSnackBarActions]\", host: { classAttribute: \"mat-mdc-snack-bar-actions mdc-snackbar__actions\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSnackBarActions, decorators: [{\n type: Directive,\n args: [{\n selector: `[matSnackBarActions]`,\n host: {\n 'class': 'mat-mdc-snack-bar-actions mdc-snackbar__actions',\n },\n }]\n }] });\n/** Directive that should be applied to each of the snack bar's action buttons. */\nclass MatSnackBarAction {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSnackBarAction, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatSnackBarAction, selector: \"[matSnackBarAction]\", host: { classAttribute: \"mat-mdc-snack-bar-action mdc-snackbar__action\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSnackBarAction, decorators: [{\n type: Directive,\n args: [{\n selector: `[matSnackBarAction]`,\n host: {\n 'class': 'mat-mdc-snack-bar-action mdc-snackbar__action',\n },\n }]\n }] });\n\nclass SimpleSnackBar {\n constructor(snackBarRef, data) {\n this.snackBarRef = snackBarRef;\n this.data = data;\n }\n /** Performs the action on the snack bar. */\n action() {\n this.snackBarRef.dismissWithAction();\n }\n /** If the action button should be shown. */\n get hasAction() {\n return !!this.data.action;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: SimpleSnackBar, deps: [{ token: MatSnackBarRef }, { token: MAT_SNACK_BAR_DATA }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: SimpleSnackBar, selector: \"simple-snack-bar\", host: { classAttribute: \"mat-mdc-simple-snack-bar\" }, exportAs: [\"matSnackBar\"], ngImport: i0, template: \"<div matSnackBarLabel>\\n {{data.message}}\\n</div>\\n\\n<div matSnackBarActions *ngIf=\\\"hasAction\\\">\\n <button mat-button matSnackBarAction (click)=\\\"action()\\\">\\n {{data.action}}\\n </button>\\n</div>\\n\", styles: [\".mat-mdc-simple-snack-bar{display:flex}\"], dependencies: [{ kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"component\", type: i3.MatButton, selector: \" button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] \", inputs: [\"disabled\", \"disableRipple\", \"color\"], exportAs: [\"matButton\"] }, { kind: \"directive\", type: MatSnackBarLabel, selector: \"[matSnackBarLabel]\" }, { kind: \"directive\", type: MatSnackBarActions, selector: \"[matSnackBarActions]\" }, { kind: \"directive\", type: MatSnackBarAction, selector: \"[matSnackBarAction]\" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: SimpleSnackBar, decorators: [{\n type: Component,\n args: [{ selector: 'simple-snack-bar', exportAs: 'matSnackBar', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {\n 'class': 'mat-mdc-simple-snack-bar',\n }, template: \"<div matSnackBarLabel>\\n {{data.message}}\\n</div>\\n\\n<div matSnackBarActions *ngIf=\\\"hasAction\\\">\\n <button mat-button matSnackBarAction (click)=\\\"action()\\\">\\n {{data.action}}\\n </button>\\n</div>\\n\", styles: [\".mat-mdc-simple-snack-bar{display:flex}\"] }]\n }], ctorParameters: function () { return [{ type: MatSnackBarRef }, { type: undefined, decorators: [{\n type: Inject,\n args: [MAT_SNACK_BAR_DATA]\n }] }]; } });\n\n/**\n * Animations used by the Material snack bar.\n * @docs-private\n */\nconst matSnackBarAnimations = {\n /** Animation that shows and hides a snack bar. */\n snackBarState: trigger('state', [\n state('void, hidden', style({\n transform: 'scale(0.8)',\n opacity: 0,\n })),\n state('visible', style({\n transform: 'scale(1)',\n opacity: 1,\n })),\n transition('* => visible', animate('150ms cubic-bezier(0, 0, 0.2, 1)')),\n transition('* => void, * => hidden', animate('75ms cubic-bezier(0.4, 0.0, 1, 1)', style({\n opacity: 0,\n }))),\n ]),\n};\n\nlet uniqueId = 0;\n/**\n * Base class for snack bar containers.\n * @docs-private\n */\nclass _MatSnackBarContainerBase extends BasePortalOutlet {\n constructor(_ngZone, _elementRef, _changeDetectorRef, _platform, \n /** The snack bar configuration. */\n snackBarConfig) {\n super();\n this._ngZone = _ngZone;\n this._elementRef = _elementRef;\n this._changeDetectorRef = _changeDetectorRef;\n this._platform = _platform;\n this.snackBarConfig = snackBarConfig;\n this._document = inject(DOCUMENT);\n this._trackedModals = new Set();\n /** The number of milliseconds to wait before announcing the snack bar's content. */\n this._announceDelay = 150;\n /** Whether the component has been destroyed. */\n this._destroyed = false;\n /** Subject for notifying that the snack bar has announced to screen readers. */\n this._onAnnounce = new Subject();\n /** Subject for notifying that the snack bar has exited from view. */\n this._onExit = new Subject();\n /** Subject for notifying that the snack bar has finished entering the view. */\n this._onEnter = new Subject();\n /** The state of the snack bar animations. */\n this._animationState = 'void';\n /** Unique ID of the aria-live element. */\n this._liveElementId = `mat-snack-bar-container-live-${uniqueId++}`;\n /**\n * Attaches a DOM portal to the snack bar container.\n * @deprecated To be turned into a method.\n * @breaking-change 10.0.0\n */\n this.attachDomPortal = (portal) => {\n this._assertNotAttached();\n const result = this._portalOutlet.attachDomPortal(portal);\n this._afterPortalAttached();\n return result;\n };\n // Use aria-live rather than a live role like 'alert' or 'status'\n // because NVDA and JAWS have show inconsistent behavior with live roles.\n if (snackBarConfig.politeness === 'assertive' && !snackBarConfig.announcementMessage) {\n this._live = 'assertive';\n }\n else if (snackBarConfig.politeness === 'off') {\n this._live = 'off';\n }\n else {\n this._live = 'polite';\n }\n // Only set role for Firefox. Set role based on aria-live because setting role=\"alert\" implies\n // aria-live=\"assertive\" which may cause issues if aria-live is set to \"polite\" above.\n if (this._platform.FIREFOX) {\n if (this._live === 'polite') {\n this._role = 'status';\n }\n if (this._live === 'assertive') {\n this._role = 'alert';\n }\n }\n }\n /** Attach a component portal as content to this snack bar container. */\n attachComponentPortal(portal) {\n this._assertNotAttached();\n const result = this._portalOutlet.attachComponentPortal(portal);\n this._afterPortalAttached();\n return result;\n }\n /** Attach a template portal as content to this snack bar container. */\n attachTemplatePortal(portal) {\n this._assertNotAttached();\n const result = this._portalOutlet.attachTemplatePortal(portal);\n this._afterPortalAttached();\n return result;\n }\n /** Handle end of animations, updating the state of the snackbar. */\n onAnimationEnd(event) {\n const { fromState, toState } = event;\n if ((toState === 'void' && fromState !== 'void') || toState === 'hidden') {\n this._completeExit();\n }\n if (toState === 'visible') {\n // Note: we shouldn't use `this` inside the zone callback,\n // because it can cause a memory leak.\n const onEnter = this._onEnter;\n this._ngZone.run(() => {\n onEnter.next();\n onEnter.complete();\n });\n }\n }\n /** Begin animation of snack bar entrance into view. */\n enter() {\n if (!this._destroyed) {\n this._animationState = 'visible';\n this._changeDetectorRef.detectChanges();\n this._screenReaderAnnounce();\n }\n }\n /** Begin animation of the snack bar exiting from view. */\n exit() {\n // It's common for snack bars to be opened by random outside calls like HTTP requests or\n // errors. Run inside the NgZone to ensure that it functions correctly.\n this._ngZone.run(() => {\n // Note: this one transitions to `hidden`, rather than `void`, in order to handle the case\n // where multiple snack bars are opened in quick succession (e.g. two consecutive calls to\n // `MatSnackBar.open`).\n this._animationState = 'hidden';\n // Mark this element with an 'exit' attribute to indicate that the snackbar has\n // been dismissed and will soon be removed from the DOM. This is used by the snackbar\n // test harness.\n this._elementRef.nativeElement.setAttribute('mat-exit', '');\n // If the snack bar hasn't been announced by the time it exits it wouldn't have been open\n // long enough to visually read it either, so clear the timeout for announcing.\n clearTimeout(this._announceTimeoutId);\n });\n return this._onExit;\n }\n /** Makes sure the exit callbacks have been invoked when the element is destroyed. */\n ngOnDestroy() {\n this._destroyed = true;\n this._clearFromModals();\n this._completeExit();\n }\n /**\n * Waits for the zone to settle before removing the element. Helps prevent\n * errors where we end up removing an element which is in the middle of an animation.\n */\n _completeExit() {\n this._ngZone.onMicrotaskEmpty.pipe(take(1)).subscribe(() => {\n this._ngZone.run(() => {\n this._onExit.next();\n this._onExit.complete();\n });\n });\n }\n /**\n * Called after the portal contents have been attached. Can be\n * used to modify the DOM once it's guaranteed to be in place.\n */\n _afterPortalAttached() {\n const element = this._elementRef.nativeElement;\n const panelClasses = this.snackBarConfig.panelClass;\n if (panelClasses) {\n if (Array.isArray(panelClasses)) {\n // Note that we can't use a spread here, because IE doesn't support multiple arguments.\n panelClasses.forEach(cssClass => element.classList.add(cssClass));\n }\n else {\n element.classList.add(panelClasses);\n }\n }\n this._exposeToModals();\n }\n /**\n * Some browsers won't expose the accessibility node of the live element if there is an\n * `aria-modal` and the live element is outside of it. This method works around the issue by\n * pointing the `aria-owns` of all modals to the live element.\n */\n _exposeToModals() {\n // TODO(crisbeto): consider de-duplicating this with the `LiveAnnouncer`.\n // Note that the selector here is limited to CDK overlays at the moment in order to reduce the\n // section of the DOM we need to look through. This should cover all the cases we support, but\n // the selector can be expanded if it turns out to be too narrow.\n const id = this._liveElementId;\n const modals = this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal=\"true\"]');\n for (let i = 0; i < modals.length; i++) {\n const modal = modals[i];\n const ariaOwns = modal.getAttribute('aria-owns');\n this._trackedModals.add(modal);\n if (!ariaOwns) {\n modal.setAttribute('aria-owns', id);\n }\n else if (ariaOwns.indexOf(id) === -1) {\n modal.setAttribute('aria-owns', ariaOwns + ' ' + id);\n }\n }\n }\n /** Clears the references to the live element from any modals it was added to. */\n _clearFromModals() {\n this._trackedModals.forEach(modal => {\n const ariaOwns = modal.getAttribute('aria-owns');\n if (ariaOwns) {\n const newValue = ariaOwns.replace(this._liveElementId, '').trim();\n if (newValue.length > 0) {\n modal.setAttribute('aria-owns', newValue);\n }\n else {\n modal.removeAttribute('aria-owns');\n }\n }\n });\n this._trackedModals.clear();\n }\n /** Asserts that no content is already attached to the container. */\n _assertNotAttached() {\n if (this._portalOutlet.hasAttached() && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error('Attempting to attach snack bar content after content is already attached');\n }\n }\n /**\n * Starts a timeout to move the snack bar content to the live region so screen readers will\n * announce it.\n */\n _screenReaderAnnounce() {\n if (!this._announceTimeoutId) {\n this._ngZone.runOutsideAngular(() => {\n this._announceTimeoutId = setTimeout(() => {\n const inertElement = this._elementRef.nativeElement.querySelector('[aria-hidden]');\n const liveElement = this._elementRef.nativeElement.querySelector('[aria-live]');\n if (inertElement && liveElement) {\n // If an element in the snack bar content is focused before being moved\n // track it and restore focus after moving to the live region.\n let focusedElement = null;\n if (this._platform.isBrowser &&\n document.activeElement instanceof HTMLElement &&\n inertElement.contains(document.activeElement)) {\n focusedElement = document.activeElement;\n }\n inertElement.removeAttribute('aria-hidden');\n liveElement.appendChild(inertElement);\n focusedElement?.focus();\n this._onAnnounce.next();\n this._onAnnounce.complete();\n }\n }, this._announceDelay);\n });\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatSnackBarContainerBase, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.Platform }, { token: MatSnackBarConfig }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: _MatSnackBarContainerBase, viewQueries: [{ propertyName: \"_portalOutlet\", first: true, predicate: CdkPortalOutlet, descendants: true, static: true }], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatSnackBarContainerBase, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.Platform }, { type: MatSnackBarConfig }]; }, propDecorators: { _portalOutlet: [{\n type: ViewChild,\n args: [CdkPortalOutlet, { static: true }]\n }] } });\n/**\n * Internal component that wraps user-provided snack bar content.\n * @docs-private\n */\nclass MatSnackBarContainer extends _MatSnackBarContainerBase {\n /** Applies the correct CSS class to the label based on its content. */\n _afterPortalAttached() {\n super._afterPortalAttached();\n // Check to see if the attached component or template uses the MDC template structure,\n // specifically the MDC label. If not, the container should apply the MDC label class to this\n // component's label container, which will apply MDC's label styles to the attached view.\n const label = this._label.nativeElement;\n const labelClass = 'mdc-snackbar__label';\n label.classList.toggle(labelClass, !label.querySelector(`.${labelClass}`));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSnackBarContainer, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatSnackBarContainer, selector: \"mat-snack-bar-container\", host: { listeners: { \"@state.done\": \"onAnimationEnd($event)\" }, properties: { \"@state\": \"_animationState\" }, classAttribute: \"mdc-snackbar mat-mdc-snack-bar-container mdc-snackbar--open\" }, viewQueries: [{ propertyName: \"_label\", first: true, predicate: [\"label\"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: \"<div class=\\\"mdc-snackbar__surface\\\">\\n <!--\\n This outer label wrapper will have the class `mdc-snackbar__label` applied if\\n the attached template/component does not contain it.\\n -->\\n <div class=\\\"mat-mdc-snack-bar-label\\\" #label>\\n <!-- Initialy holds the snack bar content, will be empty after announcing to screen readers. -->\\n <div aria-hidden=\\\"true\\\">\\n <ng-template cdkPortalOutlet></ng-template>\\n </div>\\n\\n <!-- Will receive the snack bar content from the non-live div, move will happen a short delay after opening -->\\n <div [attr.aria-live]=\\\"_live\\\" [attr.role]=\\\"_role\\\" [attr.id]=\\\"_liveElementId\\\"></div>\\n </div>\\n</div>\\n\", styles: [\".mdc-snackbar{display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1)}.mdc-snackbar__label{padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-snack-bar-container{margin:8px;--mdc-snackbar-container-shape:4px;position:static}.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:100%}}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container{width:100vw}}.mat-mdc-snack-bar-container .mdc-snackbar__surface{max-width:672px}.mat-mdc-snack-bar-container .mdc-snackbar__surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape)}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size);font-family:var(--mdc-snackbar-supporting-text-font);font-weight:var(--mdc-snackbar-supporting-text-weight);line-height:var(--mdc-snackbar-supporting-text-line-height)}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-snack-bar-button-color);--mat-mdc-button-persistent-ripple-color: currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{background-color:currentColor;opacity:.1}.mat-mdc-snack-bar-container .mdc-snackbar__label::before{display:none}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-handset .mdc-snackbar__surface{width:100%}\"], dependencies: [{ kind: \"directive\", type: i3$1.CdkPortalOutlet, selector: \"[cdkPortalOutlet]\", inputs: [\"cdkPortalOutlet\"], outputs: [\"attached\"], exportAs: [\"cdkPortalOutlet\"] }], animations: [matSnackBarAnimations.snackBarState], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSnackBarContainer, decorators: [{\n type: Component,\n args: [{ selector: 'mat-snack-bar-container', changeDetection: ChangeDetectionStrategy.Default, encapsulation: ViewEncapsulation.None, animations: [matSnackBarAnimations.snackBarState], host: {\n 'class': 'mdc-snackbar mat-mdc-snack-bar-container mdc-snackbar--open',\n '[@state]': '_animationState',\n '(@state.done)': 'onAnimationEnd($event)',\n }, template: \"<div class=\\\"mdc-snackbar__surface\\\">\\n <!--\\n This outer label wrapper will have the class `mdc-snackbar__label` applied if\\n the attached template/component does not contain it.\\n -->\\n <div class=\\\"mat-mdc-snack-bar-label\\\" #label>\\n <!-- Initialy holds the snack bar content, will be empty after announcing to screen readers. -->\\n <div aria-hidden=\\\"true\\\">\\n <ng-template cdkPortalOutlet></ng-template>\\n </div>\\n\\n <!-- Will receive the snack bar content from the non-live div, move will happen a short delay after opening -->\\n <div [attr.aria-live]=\\\"_live\\\" [attr.role]=\\\"_role\\\" [attr.id]=\\\"_liveElementId\\\"></div>\\n </div>\\n</div>\\n\", styles: [\".mdc-snackbar{display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1)}.mdc-snackbar__label{padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-snack-bar-container{margin:8px;--mdc-snackbar-container-shape:4px;position:static}.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:100%}}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container{width:100vw}}.mat-mdc-snack-bar-container .mdc-snackbar__surface{max-width:672px}.mat-mdc-snack-bar-container .mdc-snackbar__surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape)}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size);font-family:var(--mdc-snackbar-supporting-text-font);font-weight:var(--mdc-snackbar-supporting-text-weight);line-height:var(--mdc-snackbar-supporting-text-line-height)}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-snack-bar-button-color);--mat-mdc-button-persistent-ripple-color: currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{background-color:currentColor;opacity:.1}.mat-mdc-snack-bar-container .mdc-snackbar__label::before{display:none}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-handset .mdc-snackbar__surface{width:100%}\"] }]\n }], propDecorators: { _label: [{\n type: ViewChild,\n args: ['label', { static: true }]\n }] } });\n\nclass MatSnackBarModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSnackBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSnackBarModule, declarations: [SimpleSnackBar,\n MatSnackBarContainer,\n MatSnackBarLabel,\n MatSnackBarActions,\n MatSnackBarAction], imports: [OverlayModule, PortalModule, CommonModule, MatButtonModule, MatCommonModule], exports: [MatCommonModule,\n MatSnackBarContainer,\n MatSnackBarLabel,\n MatSnackBarActions,\n MatSnackBarAction] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSnackBarModule, imports: [OverlayModule, PortalModule, CommonModule, MatButtonModule, MatCommonModule, MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSnackBarModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [OverlayModule, PortalModule, CommonModule, MatButtonModule, MatCommonModule],\n exports: [\n MatCommonModule,\n MatSnackBarContainer,\n MatSnackBarLabel,\n MatSnackBarActions,\n MatSnackBarAction,\n ],\n declarations: [\n SimpleSnackBar,\n MatSnackBarContainer,\n MatSnackBarLabel,\n MatSnackBarActions,\n MatSnackBarAction,\n ],\n }]\n }] });\n\n/** @docs-private */\nfunction MAT_SNACK_BAR_DEFAULT_OPTIONS_FACTORY() {\n return new MatSnackBarConfig();\n}\n/** Injection token that can be used to specify default snack bar. */\nconst MAT_SNACK_BAR_DEFAULT_OPTIONS = new InjectionToken('mat-snack-bar-default-options', {\n providedIn: 'root',\n factory: MAT_SNACK_BAR_DEFAULT_OPTIONS_FACTORY,\n});\nclass _MatSnackBarBase {\n /** Reference to the currently opened snackbar at *any* level. */\n get _openedSnackBarRef() {\n const parent = this._parentSnackBar;\n return parent ? parent._openedSnackBarRef : this._snackBarRefAtThisLevel;\n }\n set _openedSnackBarRef(value) {\n if (this._parentSnackBar) {\n this._parentSnackBar._openedSnackBarRef = value;\n }\n else {\n this._snackBarRefAtThisLevel = value;\n }\n }\n constructor(_overlay, _live, _injector, _breakpointObserver, _parentSnackBar, _defaultConfig) {\n this._overlay = _overlay;\n this._live = _live;\n this._injector = _injector;\n this._breakpointObserver = _breakpointObserver;\n this._parentSnackBar = _parentSnackBar;\n this._defaultConfig = _defaultConfig;\n /**\n * Reference to the current snack bar in the view *at this level* (in the Angular injector tree).\n * If there is a parent snack-bar service, all operations should delegate to that parent\n * via `_openedSnackBarRef`.\n */\n this._snackBarRefAtThisLevel = null;\n }\n /**\n * Creates and dispatches a snack bar with a custom component for the content, removing any\n * currently opened snack bars.\n *\n * @param component Component to be instantiated.\n * @param config Extra configuration for the snack bar.\n */\n openFromComponent(component, config) {\n return this._attach(component, config);\n }\n /**\n * Creates and dispatches a snack bar with a custom template for the content, removing any\n * currently opened snack bars.\n *\n * @param template Template to be instantiated.\n * @param config Extra configuration for the snack bar.\n */\n openFromTemplate(template, config) {\n return this._attach(template, config);\n }\n /**\n * Opens a snackbar with a message and an optional action.\n * @param message The message to show in the snackbar.\n * @param action The label for the snackbar action.\n * @param config Additional configuration options for the snackbar.\n */\n open(message, action = '', config) {\n const _config = { ...this._defaultConfig, ...config };\n // Since the user doesn't have access to the component, we can\n // override the data to pass in our own message and action.\n _config.data = { message, action };\n // Since the snack bar has `role=\"alert\"`, we don't\n // want to announce the same message twice.\n if (_config.announcementMessage === message) {\n _config.announcementMessage = undefined;\n }\n return this.openFromComponent(this.simpleSnackBarComponent, _config);\n }\n /**\n * Dismisses the currently-visible snack bar.\n */\n dismiss() {\n if (this._openedSnackBarRef) {\n this._openedSnackBarRef.dismiss();\n }\n }\n ngOnDestroy() {\n // Only dismiss the snack bar at the current level on destroy.\n if (this._snackBarRefAtThisLevel) {\n this._snackBarRefAtThisLevel.dismiss();\n }\n }\n /**\n * Attaches the snack bar container component to the overlay.\n */\n _attachSnackBarContainer(overlayRef, config) {\n const userInjector = config && config.viewContainerRef && config.viewContainerRef.injector;\n const injector = Injector.create({\n parent: userInjector || this._injector,\n providers: [{ provide: MatSnackBarConfig, useValue: config }],\n });\n const containerPortal = new ComponentPortal(this.snackBarContainerComponent, config.viewContainerRef, injector);\n const containerRef = overlayRef.attach(containerPortal);\n containerRef.instance.snackBarConfig = config;\n return containerRef.instance;\n }\n /**\n * Places a new component or a template as the content of the snack bar container.\n */\n _attach(content, userConfig) {\n const config = { ...new MatSnackBarConfig(), ...this._defaultConfig, ...userConfig };\n const overlayRef = this._createOverlay(config);\n const container = this._attachSnackBarContainer(overlayRef, config);\n const snackBarRef = new MatSnackBarRef(container, overlayRef);\n if (content instanceof TemplateRef) {\n const portal = new TemplatePortal(content, null, {\n $implicit: config.data,\n snackBarRef,\n });\n snackBarRef.instance = container.attachTemplatePortal(portal);\n }\n else {\n const injector = this._createInjector(config, snackBarRef);\n const portal = new ComponentPortal(content, undefined, injector);\n const contentRef = container.attachComponentPortal(portal);\n // We can't pass this via the injector, because the injector is created earlier.\n snackBarRef.instance = contentRef.instance;\n }\n // Subscribe to the breakpoint observer and attach the mat-snack-bar-handset class as\n // appropriate. This class is applied to the overlay element because the overlay must expand to\n // fill the width of the screen for full width snackbars.\n this._breakpointObserver\n .observe(Breakpoints.HandsetPortrait)\n .pipe(takeUntil(overlayRef.detachments()))\n .subscribe(state => {\n overlayRef.overlayElement.classList.toggle(this.handsetCssClass, state.matches);\n });\n if (config.announcementMessage) {\n // Wait until the snack bar contents have been announced then deliver this message.\n container._onAnnounce.subscribe(() => {\n this._live.announce(config.announcementMessage, config.politeness);\n });\n }\n this._animateSnackBar(snackBarRef, config);\n this._openedSnackBarRef = snackBarRef;\n return this._openedSnackBarRef;\n }\n /** Animates the old snack bar out and the new one in. */\n _animateSnackBar(snackBarRef, config) {\n // When the snackbar is dismissed, clear the reference to it.\n snackBarRef.afterDismissed().subscribe(() => {\n // Clear the snackbar ref if it hasn't already been replaced by a newer snackbar.\n if (this._openedSnackBarRef == snackBarRef) {\n this._openedSnackBarRef = null;\n }\n if (config.announcementMessage) {\n this._live.clear();\n }\n });\n if (this._openedSnackBarRef) {\n // If a snack bar is already in view, dismiss it and enter the\n // new snack bar after exit animation is complete.\n this._openedSnackBarRef.afterDismissed().subscribe(() => {\n snackBarRef.containerInstance.enter();\n });\n this._openedSnackBarRef.dismiss();\n }\n else {\n // If no snack bar is in view, enter the new snack bar.\n snackBarRef.containerInstance.enter();\n }\n // If a dismiss timeout is provided, set up dismiss based on after the snackbar is opened.\n if (config.duration && config.duration > 0) {\n snackBarRef.afterOpened().subscribe(() => snackBarRef._dismissAfter(config.duration));\n }\n }\n /**\n * Creates a new overlay and places it in the correct location.\n * @param config The user-specified snack bar config.\n */\n _createOverlay(config) {\n const overlayConfig = new OverlayConfig();\n overlayConfig.direction = config.direction;\n let positionStrategy = this._overlay.position().global();\n // Set horizontal position.\n const isRtl = config.direction === 'rtl';\n const isLeft = config.horizontalPosition === 'left' ||\n (config.horizontalPosition === 'start' && !isRtl) ||\n (config.horizontalPosition === 'end' && isRtl);\n const isRight = !isLeft && config.horizontalPosition !== 'center';\n if (isLeft) {\n positionStrategy.left('0');\n }\n else if (isRight) {\n positionStrategy.right('0');\n }\n else {\n positionStrategy.centerHorizontally();\n }\n // Set horizontal position.\n if (config.verticalPosition === 'top') {\n positionStrategy.top('0');\n }\n else {\n positionStrategy.bottom('0');\n }\n overlayConfig.positionStrategy = positionStrategy;\n return this._overlay.create(overlayConfig);\n }\n /**\n * Creates an injector to be used inside of a snack bar component.\n * @param config Config that was used to create the snack bar.\n * @param snackBarRef Reference to the snack bar.\n */\n _createInjector(config, snackBarRef) {\n const userInjector = config && config.viewContainerRef && config.viewContainerRef.injector;\n return Injector.create({\n parent: userInjector || this._injector,\n providers: [\n { provide: MatSnackBarRef, useValue: snackBarRef },\n { provide: MAT_SNACK_BAR_DATA, useValue: config.data },\n ],\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatSnackBarBase, deps: [{ token: i1$1.Overlay }, { token: i2$1.LiveAnnouncer }, { token: i0.Injector }, { token: i3$2.BreakpointObserver }, { token: _MatSnackBarBase, optional: true, skipSelf: true }, { token: MAT_SNACK_BAR_DEFAULT_OPTIONS }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatSnackBarBase }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatSnackBarBase, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: i1$1.Overlay }, { type: i2$1.LiveAnnouncer }, { type: i0.Injector }, { type: i3$2.BreakpointObserver }, { type: _MatSnackBarBase, decorators: [{\n type: Optional\n }, {\n type: SkipSelf\n }] }, { type: MatSnackBarConfig, decorators: [{\n type: Inject,\n args: [MAT_SNACK_BAR_DEFAULT_OPTIONS]\n }] }]; } });\n/**\n * Service to dispatch Material Design snack bar messages.\n */\nclass MatSnackBar extends _MatSnackBarBase {\n constructor(overlay, live, injector, breakpointObserver, parentSnackBar, defaultConfig) {\n super(overlay, live, injector, breakpointObserver, parentSnackBar, defaultConfig);\n this.simpleSnackBarComponent = SimpleSnackBar;\n this.snackBarContainerComponent = MatSnackBarContainer;\n this.handsetCssClass = 'mat-mdc-snack-bar-handset';\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSnackBar, deps: [{ token: i1$1.Overlay }, { token: i2$1.LiveAnnouncer }, { token: i0.Injector }, { token: i3$2.BreakpointObserver }, { token: MatSnackBar, optional: true, skipSelf: true }, { token: MAT_SNACK_BAR_DEFAULT_OPTIONS }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSnackBar, providedIn: MatSnackBarModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSnackBar, decorators: [{\n type: Injectable,\n args: [{ providedIn: MatSnackBarModule }]\n }], ctorParameters: function () { return [{ type: i1$1.Overlay }, { type: i2$1.LiveAnnouncer }, { type: i0.Injector }, { type: i3$2.BreakpointObserver }, { type: MatSnackBar, decorators: [{\n type: Optional\n }, {\n type: SkipSelf\n }] }, { type: MatSnackBarConfig, decorators: [{\n type: Inject,\n args: [MAT_SNACK_BAR_DEFAULT_OPTIONS]\n }] }]; } });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MAT_SNACK_BAR_DATA, MAT_SNACK_BAR_DEFAULT_OPTIONS, MAT_SNACK_BAR_DEFAULT_OPTIONS_FACTORY, MatSnackBar, MatSnackBarAction, MatSnackBarActions, MatSnackBarConfig, MatSnackBarContainer, MatSnackBarLabel, MatSnackBarModule, MatSnackBarRef, SimpleSnackBar, _MatSnackBarBase, _MatSnackBarContainerBase, matSnackBarAnimations };\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import toPropertyKey from \"./toPropertyKey.js\";\nexport default function _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","import defineProperty from \"./defineProperty.js\";\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n return keys;\n}\nexport default function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]} \ No newline at end of file diff --git a/5106.926c12c126e770c2.js b/5106.926c12c126e770c2.js new file mode 100644 index 0000000..ff7641e --- /dev/null +++ b/5106.926c12c126e770c2.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[5106,1551],{44841:(i,f,n)=>{function u(a,r){(null==r||r>a.length)&&(r=a.length);for(var t=0,e=new Array(r);t<r;t++)e[t]=a[t];return e}n.d(f,{Z:()=>u})},95106:(i,f,n)=>{n.d(f,{Z:()=>a});var u=n(44206);function a(r,t){var e=typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"];if(!e){if(Array.isArray(r)||(e=(0,u.Z)(r))||t&&r&&"number"==typeof r.length){e&&(r=e);var l=0,c=function(){};return{s:c,n:function(){return l>=r.length?{done:!0}:{done:!1,value:r[l++]}},e:function(_){throw _},f:c}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var d,s=!0,p=!1;return{s:function(){e=e.call(r)},n:function(){var _=e.next();return s=_.done,_},e:function(_){p=!0,d=_},f:function(){try{!s&&null!=e.return&&e.return()}finally{if(p)throw d}}}}},44206:(i,f,n)=>{n.d(f,{Z:()=>a});var u=n(44841);function a(r,t){if(r){if("string"==typeof r)return(0,u.Z)(r,t);var e=Object.prototype.toString.call(r).slice(8,-1);if("Object"===e&&r.constructor&&(e=r.constructor.name),"Map"===e||"Set"===e)return Array.from(r);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return(0,u.Z)(r,t)}}}}]); +//# sourceMappingURL=5106.926c12c126e770c2.js.map \ No newline at end of file diff --git a/5106.926c12c126e770c2.js.map b/5106.926c12c126e770c2.js.map new file mode 100644 index 0000000..3f4f2d7 --- /dev/null +++ b/5106.926c12c126e770c2.js.map @@ -0,0 +1 @@ +{"version":3,"file":"5106.926c12c126e770c2.js","mappings":"uFAAe,SAAAA,EAAAC,EAAAC,IACf,MAAAA,KAAAD,EAAAE,UAAAD,EAAAD,EAAAE,QACA,QAAAC,EAAA,EAAAC,EAAA,IAAAC,MAAAJ,GAAyCE,EAAAF,EAASE,IAAAC,EAAAD,GAAAH,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elper","o","allowArrayLike","it","Symbol","iterator","isArray","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","s","n","done","value","e","_e","f","TypeError","err","normalCompletion","didErr","call","step","next","_e2","return","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","Object","prototype","toString","slice","constructor","name","from","test"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2]} \ No newline at end of file diff --git a/5113.06c4d3be2def5d91.js b/5113.06c4d3be2def5d91.js new file mode 100644 index 0000000..54af599 --- /dev/null +++ b/5113.06c4d3be2def5d91.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[5113,7376,5187,4091,1217,7208,4968,4155,1084,6896,5749,4309,8024,8513,5555,4967,8017,8116,5873,4680,2111,3326,8596,8352,5501,3098,8608,8443,5915,3278,5391,6748,6763,4151,5069,7432,6618],{35488:(f,n,e)=>{function t(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}e.d(n,{Z:()=>t})},28694:(f,n,e)=>{e.d(n,{Z:()=>i});var t=e(20265),o=e(98568),u=e(43445),r=e(35488);function i(p){var c=(0,o.Z)();return function(){var a,s=(0,t.Z)(p);if(c){var d=(0,t.Z)(this).constructor;a=Reflect.construct(s,arguments,d)}else a=s.apply(this,arguments);return function _(p,c){if(c&&("object"===(0,u.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(p)}(this,a)}}},20265:(f,n,e)=>{function t(o){return(t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)})(o)}e.d(n,{Z:()=>t})},24582:(f,n,e)=>{e.d(n,{Z:()=>o});var t=e(10006);function o(u,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(r&&r.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),r&&(0,t.Z)(u,r)}},98568:(f,n,e)=>{function t(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(n,{Z:()=>t})},10006:(f,n,e)=>{function t(o,u){return(t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_,i){return _.__proto__=i,_})(o,u)}e.d(n,{Z:()=>t})}}]); +//# sourceMappingURL=5113.06c4d3be2def5d91.js.map \ No newline at end of file diff --git a/5113.06c4d3be2def5d91.js.map b/5113.06c4d3be2def5d91.js.map new file mode 100644 index 0000000..3dd8483 --- /dev/null +++ b/5113.06c4d3be2def5d91.js.map @@ -0,0 +1 @@ +{"version":3,"file":"5113.06c4d3be2def5d91.js","mappings":"sQAAe,SAAAA,EAAAC,GACf,YAAAA,EACA,UAAAC,eAAA,6DAEA,OAAAD,CACA,oGCFe,SAAAE,EAAAC,GACf,IAAAC,KAAkCC,EAAAC,KAClC,kBACA,IACAC,EADAC,KAAgBC,EAAAH,GAAcH,GAE9B,GAAAC,EAAA,CACA,IAAAM,KAAsBD,EAAAH,GAAcK,MAAAC,YACpCL,EAAAM,QAAAC,UAAAN,EAAAO,UAAAL,EAAA,MAEAH,EAAAC,EAAAQ,MAAAL,KAAAI,WAEA,OCZe,SAAAE,EAAAjB,EAAAkB,GACf,GAAAA,IAAsB,YAAtBA,EAAeC,EAAAb,GAAOY,IAAA,mBAAAA,GACtB,OAAAA,EACI,YAAAA,EACJ,UAAAE,UAAA,4DAEA,SAASC,EAAAf,GAAqBN,EAC9B,CDKWiB,CAAyBN,KAAAJ,EACpC,CACA,mBEhBe,SAAAe,EAAAC,GACf,OAAAD,EAAAE,OAAAC,eAAAD,OAAAf,eAAAiB,OAAA,SAAAH,GACA,OAAAA,EAAAI,WAAAH,OAAAf,eAAAc,EACA,GACAA,EACA,mECJe,SAAAK,EAAAC,EAAAC,GACf,sBAAAA,GAAA,OAAAA,EACA,UAAAV,UAAA,sDAEAS,EAAAE,UAAAP,OAAAQ,OAAAF,KAAAC,UAAA,CACAnB,YAAA,CACAqB,MAAAJ,EACAK,UAAA,EACAC,cAAA,KAGAX,OAAAY,eAAAP,EAAA,aACAK,UAAA,IAEAJ,MAAkBO,EAAA/B,GAAcuB,EAAAC,EAChC,mBChBe,SAAAQ,IAEf,UADAzB,QAAA,MAAAA,QAAAC,WACAD,QAAAC,UAAAyB,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAAV,UAAAW,QAAAxB,KAAAL,QAAAC,UAAA2B,QAAA,mBACA,CACA,OACA,QACA,CACA,mCCVe,SAAAE,EAAApB,EAAAqB,GACf,OAAAD,EAAAnB,OAAAC,eAAAD,OAAAC,eAAAC,OAAA,SAAAH,EAAAqB,GACA,OAAArB,EAAAI,UAAAiB,EACArB,CACA,GACAA,EAAAqB,EACA","names":["_assertThisInitialized","self","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","call","esm_typeof","TypeError","assertThisInitialized","_getPrototypeOf","o","Object","setPrototypeOf","bind","__proto__","_inherits","subClass","superClass","prototype","create","value","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6]} \ No newline at end of file diff --git a/5125.cb6e8cbbc7ad49a7.js b/5125.cb6e8cbbc7ad49a7.js new file mode 100644 index 0000000..3c3ff5d --- /dev/null +++ b/5125.cb6e8cbbc7ad49a7.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[5125,5106,5603,9880,1551],{50253:(T,h,e)=>{e.d(h,{x:()=>w});var _=e(95106),u=e(78069),r=e(48047),s=e(4089),i=e(20265),d=e(24582),n=e(28694),v=e(90833),b=e(17714),E=(0,e(27543).d)(function(R){return function(){R(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),M=e(39663),C=e(12309),w=function(){var R=function(j){(0,d.Z)(I,j);var B=(0,n.Z)(I);function I(){var p;return(0,u.Z)(this,I),(p=B.call(this)).closed=!1,p.currentObservers=null,p.observers=[],p.isStopped=!1,p.hasError=!1,p.thrownError=null,p}return(0,r.Z)(I,[{key:"lift",value:function(m){var D=new S(this,this);return D.operator=m,D}},{key:"_throwIfClosed",value:function(){if(this.closed)throw new E}},{key:"next",value:function(m){var D=this;(0,C.x)(function(){if(D._throwIfClosed(),!D.isStopped){D.currentObservers||(D.currentObservers=Array.from(D.observers));var c,x=(0,_.Z)(D.currentObservers);try{for(x.s();!(c=x.n()).done;)c.value.next(m)}catch(A){x.e(A)}finally{x.f()}}})}},{key:"error",value:function(m){var D=this;(0,C.x)(function(){if(D._throwIfClosed(),!D.isStopped){D.hasError=D.isStopped=!0,D.thrownError=m;for(var x=D.observers;x.length;)x.shift().error(m)}})}},{key:"complete",value:function(){var m=this;(0,C.x)(function(){if(m._throwIfClosed(),!m.isStopped){m.isStopped=!0;for(var D=m.observers;D.length;)D.shift().complete()}})}},{key:"unsubscribe",value:function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}},{key:"observed",get:function(){var m;return(null===(m=this.observers)||void 0===m?void 0:m.length)>0}},{key:"_trySubscribe",value:function(m){return this._throwIfClosed(),(0,s.Z)((0,i.Z)(I.prototype),"_trySubscribe",this).call(this,m)}},{key:"_subscribe",value:function(m){return this._throwIfClosed(),this._checkFinalizedStatuses(m),this._innerSubscribe(m)}},{key:"_innerSubscribe",value:function(m){var D=this,y=this.observers;return this.hasError||this.isStopped?b.Lc:(this.currentObservers=null,y.push(m),new b.w0(function(){D.currentObservers=null,(0,M.P)(y,m)}))}},{key:"_checkFinalizedStatuses",value:function(m){var c=this.isStopped;this.hasError?m.error(this.thrownError):c&&m.complete()}},{key:"asObservable",value:function(){var m=new v.y;return m.source=this,m}}]),I}(v.y);return R.create=function(j,B){return new S(j,B)},R}(),S=function(R){(0,d.Z)(B,R);var j=(0,n.Z)(B);function B(I,p){var m;return(0,u.Z)(this,B),(m=j.call(this)).destination=I,m.source=p,m}return(0,r.Z)(B,[{key:"next",value:function(p){var m,D;null===(D=null===(m=this.destination)||void 0===m?void 0:m.next)||void 0===D||D.call(m,p)}},{key:"error",value:function(p){var m,D;null===(D=null===(m=this.destination)||void 0===m?void 0:m.error)||void 0===D||D.call(m,p)}},{key:"complete",value:function(){var p,m;null===(m=null===(p=this.destination)||void 0===p?void 0:p.complete)||void 0===m||m.call(p)}},{key:"_subscribe",value:function(p){var m,D;return null!==(D=null===(m=this.source)||void 0===m?void 0:m.subscribe(p))&&void 0!==D?D:b.Lc}}]),B}(w)},59319:(T,h,e)=>{e.d(h,{z:()=>i});var _=e(1308),r=e(10420),s=e(37400);function i(){for(var d=arguments.length,n=new Array(d),v=0;v<d;v++)n[v]=arguments[v];return function u(){return(0,_.J)(1)}()((0,s.D)(n,(0,r.yG)(n)))}},21954:(T,h,e)=>{e.d(h,{P:()=>r});var _=e(90833),u=e(54987);function r(s){return new _.y(function(i){(0,u.Xf)(s()).subscribe(i)})}},20591:(T,h,e)=>{e.d(h,{E:()=>u});var u=new(e(90833).y)(function(i){return i.complete()})},37400:(T,h,e)=>{e.d(h,{D:()=>x});var _=e(54987),u=e(8728),r=e(41944);function s(c){var y=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,r.e)(function(A,P){P.add(c.schedule(function(){return A.subscribe(P)},y))})}var n=e(90833),b=e(67321),t=e(92971),E=e(1817);function C(c,y){if(!c)throw new Error("Iterable cannot be null");return new n.y(function(A){(0,E.f)(A,y,function(){var P=c[Symbol.asyncIterator]();(0,E.f)(A,y,function(){P.next().then(function(W){W.done?A.complete():A.next(W.value)})},0,!0)})})}var w=e(21331),S=e(79548),R=e(99806),j=e(23433),B=e(80470),I=e(27785),p=e(20181);function x(c,y){return y?function D(c,y){if(null!=c){if((0,w.c)(c))return function i(c,y){return(0,_.Xf)(c).pipe(s(y),(0,u.Q)(y))}(c,y);if((0,R.z)(c))return function v(c,y){return new n.y(function(A){var P=0;return y.schedule(function(){P===c.length?A.complete():(A.next(c[P++]),A.closed||this.schedule())})})}(c,y);if((0,S.t)(c))return function d(c,y){return(0,_.Xf)(c).pipe(s(y),(0,u.Q)(y))}(c,y);if((0,B.D)(c))return C(c,y);if((0,j.T)(c))return function M(c,y){return new n.y(function(A){var P;return(0,E.f)(A,y,function(){P=c[b.h](),(0,E.f)(A,y,function(){var W,G;try{var V=P.next();W=V.value,G=V.done}catch(X){return void A.error(X)}G?A.complete():A.next(W)},0,!0)}),function(){return(0,t.m)(P?.return)&&P.return()}})}(c,y);if((0,p.L)(c))return function m(c,y){return C((0,p.Q)(c),y)}(c,y)}throw(0,I.z)(c)}(c,y):(0,_.Xf)(c)}},36646:(T,h,e)=>{e.d(h,{T:()=>d});var _=e(1308),u=e(54987),r=e(20591),s=e(10420),i=e(37400);function d(){for(var n=arguments.length,v=new Array(n),b=0;b<n;b++)v[b]=arguments[b];var t=(0,s.yG)(v),E=(0,s._6)(v,1/0),M=v;return M.length?1===M.length?(0,u.Xf)(M[0]):(0,_.J)(E)((0,i.D)(M,t)):r.E}},93945:(T,h,e)=>{e.d(h,{Q:()=>t,x:()=>b});var _=e(78069),u=e(48047),r=e(35488),s=e(24582),i=e(28694),d=e(4089),n=e(20265);function b(E,M,C,w,S){return new t(E,M,C,w,S)}var t=function(E){(0,s.Z)(C,E);var M=(0,i.Z)(C);function C(w,S,R,j,B,I){var p,m,D,x;return(0,_.Z)(this,C),(x=M.call(this,w)).onFinalize=B,x.shouldUnsubscribe=I,x._next=S?function(c){try{S(c)}catch(y){w.error(y)}}:(0,d.Z)((p=(0,r.Z)(x),(0,n.Z)(C.prototype)),"_next",p),x._error=j?function(c){try{j(c)}catch(y){w.error(y)}finally{this.unsubscribe()}}:(0,d.Z)((m=(0,r.Z)(x),(0,n.Z)(C.prototype)),"_error",m),x._complete=R?function(){try{R()}catch(c){w.error(c)}finally{this.unsubscribe()}}:(0,d.Z)((D=(0,r.Z)(x),(0,n.Z)(C.prototype)),"_complete",D),x}return(0,u.Z)(C,[{key:"unsubscribe",value:function(){var S;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var R=this.closed;(0,d.Z)((0,n.Z)(C.prototype),"unsubscribe",this).call(this),!R&&(null===(S=this.onFinalize)||void 0===S||S.call(this))}}}]),C}(e(5463).Lv)},60116:(T,h,e)=>{e.d(h,{h:()=>r});var _=e(41944),u=e(93945);function r(s,i){return(0,_.e)(function(d,n){var v=0;d.subscribe((0,u.x)(n,function(b){return s.call(i,b,v++)&&n.next(b)}))})}},50635:(T,h,e)=>{e.d(h,{U:()=>r});var _=e(41944),u=e(93945);function r(s,i){return(0,_.e)(function(d,n){var v=0;d.subscribe((0,u.x)(n,function(b){n.next(s.call(i,b,v++))}))})}},1308:(T,h,e)=>{e.d(h,{J:()=>r});var _=e(49525),u=e(89173);function r(){return(0,_.z)(u.y,arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0)}},49525:(T,h,e)=>{e.d(h,{z:()=>v});var _=e(50635),u=e(54987),r=e(41944),s=e(1817),i=e(93945),n=e(92971);function v(b,t){var E=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;return(0,n.m)(t)?v(function(M,C){return(0,_.U)(function(w,S){return t(M,w,C,S)})((0,u.Xf)(b(M,C)))},E):("number"==typeof t&&(E=t),(0,r.e)(function(M,C){return function d(b,t,E,M,C,w,S,R){var j=[],B=0,I=0,p=!1,m=function(){p&&!j.length&&!B&&t.complete()},D=function(y){return B<M?x(y):j.push(y)},x=function c(y){w&&t.next(y),B++;var A=!1;(0,u.Xf)(E(y,I++)).subscribe((0,i.x)(t,function(P){C?.(P),w?D(P):t.next(P)},function(){A=!0},void 0,function(){if(A)try{B--;for(var P=function(){var G=j.shift();S?(0,s.f)(t,S,function(){return c(G)}):c(G)};j.length&&B<M;)P();m()}catch(W){t.error(W)}}))};return b.subscribe((0,i.x)(t,D,function(){p=!0,m()})),function(){R?.()}}(M,C,b,E)}))}},8728:(T,h,e)=>{e.d(h,{Q:()=>s});var _=e(1817),u=e(41944),r=e(93945);function s(i){var d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,u.e)(function(n,v){n.subscribe((0,r.x)(v,function(b){return(0,_.f)(v,i,function(){return v.next(b)},d)},function(){return(0,_.f)(v,i,function(){return v.complete()},d)},function(b){return(0,_.f)(v,i,function(){return v.error(b)},d)}))})}},44874:(T,h,e)=>{e.d(h,{O:()=>s});var _=e(59319),u=e(10420),r=e(41944);function s(){for(var i=arguments.length,d=new Array(i),n=0;n<i;n++)d[n]=arguments[n];var v=(0,u.yG)(d);return(0,r.e)(function(b,t){(v?(0,_.z)(d,b,v):(0,_.z)(d,b)).subscribe(t)})}},59295:(T,h,e)=>{e.d(h,{q:()=>s});var _=e(20591),u=e(41944),r=e(93945);function s(i){return i<=0?function(){return _.E}:(0,u.e)(function(d,n){var v=0;d.subscribe((0,r.x)(n,function(b){++v<=i&&(n.next(b),i<=v&&n.complete())}))})}},10420:(T,h,e)=>{e.d(h,{_6:()=>d,jO:()=>s,yG:()=>i});var _=e(92971),u=e(59867);function r(n){return n[n.length-1]}function s(n){return(0,_.m)(r(n))?n.pop():void 0}function i(n){return(0,u.K)(r(n))?n.pop():void 0}function d(n,v){return"number"==typeof r(n)?n.pop():v}},1817:(T,h,e)=>{function _(u,r,s){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,d=arguments.length>4&&void 0!==arguments[4]&&arguments[4],n=r.schedule(function(){s(),d?u.add(this.schedule(null,i)):this.unsubscribe()},i);if(u.add(n),!d)return n}e.d(h,{f:()=>_})},59867:(T,h,e)=>{e.d(h,{K:()=>u});var _=e(92971);function u(r){return r&&(0,_.m)(r.schedule)}},41944:(T,h,e)=>{e.d(h,{A:()=>u,e:()=>r});var _=e(92971);function u(s){return(0,_.m)(s?.lift)}function r(s){return function(i){if(u(i))return i.lift(function(d){try{return s(d,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}},67486:(T,h,e)=>{e.r(h),e.d(h,{MAT_DIALOG_DATA:()=>oe,MAT_DIALOG_DEFAULT_OPTIONS:()=>re,MAT_DIALOG_SCROLL_STRATEGY:()=>J,MAT_DIALOG_SCROLL_STRATEGY_FACTORY:()=>ue,MAT_DIALOG_SCROLL_STRATEGY_PROVIDER:()=>se,MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY:()=>le,MatDialog:()=>H,MatDialogActions:()=>ve,MatDialogClose:()=>ge,MatDialogConfig:()=>A,MatDialogContainer:()=>ae,MatDialogContent:()=>he,MatDialogModule:()=>pe,MatDialogRef:()=>Y,MatDialogTitle:()=>fe,_MatDialogBase:()=>de,_MatDialogContainerBase:()=>te,_closeDialogVia:()=>Q,_defaultParams:()=>$,matDialogAnimations:()=>De});var _=e(35603),u=e(4089),r=e(20265),s=e(24582),i=e(28694),d=e(48047),n=e(78069),v=e(43662),b=e(94055),t=e(56718),E=e(908),M=e(33401),C=e(69064),w=e(35333),S=e(18142),R=e(50253),j=e(36646),B=e(21954),I=e(60116),p=e(59295),m=e(44874),D=e(52069),x=e(6606),c=e(72223);function y(l,f){}var A=(0,d.Z)(function l(){(0,n.Z)(this,l),this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}),P="mdc-dialog--open",W="mdc-dialog--opening",G="mdc-dialog--closing",te=function(){var l=function(f){(0,s.Z)(o,f);var a=(0,i.Z)(o);function o(g,O,U,k,K,F,z,N){var Z;return(0,n.Z)(this,o),(Z=a.call(this,g,O,U,k,K,F,z,N))._animationStateChanged=new t.EventEmitter,Z}return(0,d.Z)(o,[{key:"_captureInitialFocus",value:function(){this._config.delayFocusTrap||this._trapFocus()}},{key:"_openAnimationDone",value:function(O){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:O})}}]),o}(C.CdkDialogContainer);return l.\u0275fac=function(a){return new(a||l)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(E.FocusTrapFactory),t.\u0275\u0275directiveInject(b.DOCUMENT,8),t.\u0275\u0275directiveInject(A),t.\u0275\u0275directiveInject(E.InteractivityChecker),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275directiveInject(v.OverlayRef),t.\u0275\u0275directiveInject(E.FocusMonitor))},l.\u0275cmp=t.\u0275\u0275defineComponent({type:l,selectors:[["ng-component"]],features:[t.\u0275\u0275InheritDefinitionFeature],decls:0,vars:0,template:function(a,o){},encapsulation:2}),l}(),ne="--mat-dialog-transition-duration";function ie(l){return null==l?null:"number"==typeof l?l:l.endsWith("ms")?(0,w.coerceNumberProperty)(l.substring(0,l.length-2)):l.endsWith("s")?1e3*(0,w.coerceNumberProperty)(l.substring(0,l.length-1)):"0"===l?0:null}var ae=function(){var l=function(f){(0,s.Z)(o,f);var a=(0,i.Z)(o);function o(g,O,U,k,K,F,z,N,Z){var q,ee,L;return(0,n.Z)(this,o),(L=a.call(this,g,O,U,k,K,F,z,Z))._animationMode=N,L._animationsEnabled="NoopAnimations"!==L._animationMode,L._hostElement=L._elementRef.nativeElement,L._openAnimationDuration=L._animationsEnabled?null!==(q=ie(L._config.enterAnimationDuration))&&void 0!==q?q:150:0,L._closeAnimationDuration=L._animationsEnabled?null!==(ee=ie(L._config.exitAnimationDuration))&&void 0!==ee?ee:75:0,L._animationTimer=null,L._finishDialogOpen=function(){L._clearAnimationClasses(),L._openAnimationDone(L._openAnimationDuration)},L._finishDialogClose=function(){L._clearAnimationClasses(),L._animationStateChanged.emit({state:"closed",totalTime:L._closeAnimationDuration})},L}return(0,d.Z)(o,[{key:"_contentAttached",value:function(){(0,u.Z)((0,r.Z)(o.prototype),"_contentAttached",this).call(this),this._startOpenAnimation()}},{key:"ngOnDestroy",value:function(){(0,u.Z)((0,r.Z)(o.prototype),"ngOnDestroy",this).call(this),null!==this._animationTimer&&clearTimeout(this._animationTimer)}},{key:"_startOpenAnimation",value:function(){var O=this;this._animationStateChanged.emit({state:"opening",totalTime:this._openAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(ne,"".concat(this._openAnimationDuration,"ms")),this._requestAnimationFrame(function(){return O._hostElement.classList.add(W,P)}),this._waitForAnimationToComplete(this._openAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(P),Promise.resolve().then(function(){return O._finishDialogOpen()}))}},{key:"_startExitAnimation",value:function(){var O=this;this._animationStateChanged.emit({state:"closing",totalTime:this._closeAnimationDuration}),this._hostElement.classList.remove(P),this._animationsEnabled?(this._hostElement.style.setProperty(ne,"".concat(this._openAnimationDuration,"ms")),this._requestAnimationFrame(function(){return O._hostElement.classList.add(G)}),this._waitForAnimationToComplete(this._closeAnimationDuration,this._finishDialogClose)):Promise.resolve().then(function(){return O._finishDialogClose()})}},{key:"_clearAnimationClasses",value:function(){this._hostElement.classList.remove(W,G)}},{key:"_waitForAnimationToComplete",value:function(O,U){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(U,O)}},{key:"_requestAnimationFrame",value:function(O){this._ngZone.runOutsideAngular(function(){"function"==typeof requestAnimationFrame?requestAnimationFrame(O):O()})}}]),o}(te);return l.\u0275fac=function(a){return new(a||l)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(E.FocusTrapFactory),t.\u0275\u0275directiveInject(b.DOCUMENT,8),t.\u0275\u0275directiveInject(A),t.\u0275\u0275directiveInject(E.InteractivityChecker),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275directiveInject(v.OverlayRef),t.\u0275\u0275directiveInject(M.ANIMATION_MODULE_TYPE,8),t.\u0275\u0275directiveInject(E.FocusMonitor))},l.\u0275cmp=t.\u0275\u0275defineComponent({type:l,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(a,o){2&a&&(t.\u0275\u0275hostProperty("id",o._config.id),t.\u0275\u0275attribute("aria-modal",o._config.ariaModal)("role",o._config.role)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledBy)("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null),t.\u0275\u0275classProp("_mat-animation-noopable",!o._animationsEnabled))},features:[t.\u0275\u0275InheritDefinitionFeature],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(a,o){1&a&&(t.\u0275\u0275elementStart(0,"div",0)(1,"div",1),t.\u0275\u0275template(2,y,0,0,"ng-template",2),t.\u0275\u0275elementEnd()())},dependencies:[S.CdkPortalOutlet],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container{--mdc-dialog-container-elevation-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);--mdc-dialog-container-shadow-color:#000;--mdc-dialog-container-shape:4px;--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2}),l}(),Y=function(){function l(f,a,o){var g=this;(0,n.Z)(this,l),this._ref=f,this._containerInstance=o,this._afterOpened=new R.x,this._beforeClosed=new R.x,this._state=0,this.disableClose=a.disableClose,this.id=f.id,o._animationStateChanged.pipe((0,I.h)(function(O){return"opened"===O.state}),(0,p.q)(1)).subscribe(function(){g._afterOpened.next(),g._afterOpened.complete()}),o._animationStateChanged.pipe((0,I.h)(function(O){return"closed"===O.state}),(0,p.q)(1)).subscribe(function(){clearTimeout(g._closeFallbackTimeout),g._finishDialogClose()}),f.overlayRef.detachments().subscribe(function(){g._beforeClosed.next(g._result),g._beforeClosed.complete(),g._finishDialogClose()}),(0,j.T)(this.backdropClick(),this.keydownEvents().pipe((0,I.h)(function(O){return O.keyCode===D.ESCAPE&&!g.disableClose&&!(0,D.hasModifierKey)(O)}))).subscribe(function(O){g.disableClose||(O.preventDefault(),Q(g,"keydown"===O.type?"keyboard":"mouse"))})}return(0,d.Z)(l,[{key:"close",value:function(a){var o=this;this._result=a,this._containerInstance._animationStateChanged.pipe((0,I.h)(function(g){return"closing"===g.state}),(0,p.q)(1)).subscribe(function(g){o._beforeClosed.next(a),o._beforeClosed.complete(),o._ref.overlayRef.detachBackdrop(),o._closeFallbackTimeout=setTimeout(function(){return o._finishDialogClose()},g.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}},{key:"afterOpened",value:function(){return this._afterOpened}},{key:"afterClosed",value:function(){return this._ref.closed}},{key:"beforeClosed",value:function(){return this._beforeClosed}},{key:"backdropClick",value:function(){return this._ref.backdropClick}},{key:"keydownEvents",value:function(){return this._ref.keydownEvents}},{key:"updatePosition",value:function(a){var o=this._ref.config.positionStrategy;return a&&(a.left||a.right)?a.left?o.left(a.left):o.right(a.right):o.centerHorizontally(),a&&(a.top||a.bottom)?a.top?o.top(a.top):o.bottom(a.bottom):o.centerVertically(),this._ref.updatePosition(),this}},{key:"updateSize",value:function(){return this._ref.updateSize(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",arguments.length>1&&void 0!==arguments[1]?arguments[1]:""),this}},{key:"addPanelClass",value:function(a){return this._ref.addPanelClass(a),this}},{key:"removePanelClass",value:function(a){return this._ref.removePanelClass(a),this}},{key:"getState",value:function(){return this._state}},{key:"_finishDialogClose",value:function(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}]),l}();function Q(l,f,a){return l._closeInteractionType=f,l.close(a)}var oe=new t.InjectionToken("MatMdcDialogData"),re=new t.InjectionToken("mat-mdc-dialog-default-options"),J=new t.InjectionToken("mat-mdc-dialog-scroll-strategy");function le(l){return function(){return l.scrollStrategies.block()}}var se={provide:J,deps:[v.Overlay],useFactory:le};function ue(l){return function(){return l.scrollStrategies.block()}}var _e=0,de=function(){var l=function(){function f(a,o,g,O,U,k,K,F,z,N){var Z=this;(0,n.Z)(this,f),this._overlay=a,this._defaultOptions=g,this._parentDialog=O,this._dialogRefConstructor=K,this._dialogContainerType=F,this._dialogDataToken=z,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new R.x,this._afterOpenedAtThisLevel=new R.x,this._idPrefix="mat-dialog-",this.dialogConfigClass=A,this.afterAllClosed=(0,B.P)(function(){return Z.openDialogs.length?Z._getAfterAllClosed():Z._getAfterAllClosed().pipe((0,m.O)(void 0))}),this._scrollStrategy=k,this._dialog=o.get(C.Dialog)}return(0,d.Z)(f,[{key:"openDialogs",get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}},{key:"afterOpened",get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}},{key:"_getAfterAllClosed",value:function(){var o=this._parentDialog;return o?o._getAfterAllClosed():this._afterAllClosedAtThisLevel}},{key:"open",value:function(o,g){var U,O=this;(g=(0,_.Z)((0,_.Z)({},this._defaultOptions||new A),g)).id=g.id||"".concat(this._idPrefix).concat(_e++),g.scrollStrategy=g.scrollStrategy||this._scrollStrategy();var k=this._dialog.open(o,(0,_.Z)((0,_.Z)({},g),{},{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:function(){return[{provide:O.dialogConfigClass,useValue:g},{provide:C.DialogConfig,useValue:g}]}},templateContext:function(){return{dialogRef:U}},providers:function(F,z,N){var Z;return(U=new O._dialogRefConstructor(F,g,N)).updatePosition(null===(Z=g)||void 0===Z?void 0:Z.position),[{provide:O._dialogContainerType,useValue:N},{provide:O._dialogDataToken,useValue:z.data},{provide:O._dialogRefConstructor,useValue:U}]}}));return U.componentInstance=k.componentInstance,this.openDialogs.push(U),this.afterOpened.next(U),U.afterClosed().subscribe(function(){var K=O.openDialogs.indexOf(U);K>-1&&(O.openDialogs.splice(K,1),O.openDialogs.length||O._getAfterAllClosed().next())}),U}},{key:"closeAll",value:function(){this._closeDialogs(this.openDialogs)}},{key:"getDialogById",value:function(o){return this.openDialogs.find(function(g){return g.id===o})}},{key:"ngOnDestroy",value:function(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}},{key:"_closeDialogs",value:function(o){for(var g=o.length;g--;)o[g].close()}}]),f}();return l.\u0275fac=function(a){t.\u0275\u0275invalidFactory()},l.\u0275prov=t.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac}),l}(),H=function(){var l=function(f){(0,s.Z)(o,f);var a=(0,i.Z)(o);function o(g,O,U,k,K,F,z,N){var Z;return(0,n.Z)(this,o),(Z=a.call(this,g,O,k,F,z,K,Y,ae,oe,N))._idPrefix="mat-mdc-dialog-",Z}return(0,d.Z)(o)}(de);return l.\u0275fac=function(a){return new(a||l)(t.\u0275\u0275inject(v.Overlay),t.\u0275\u0275inject(t.Injector),t.\u0275\u0275inject(b.Location,8),t.\u0275\u0275inject(re,8),t.\u0275\u0275inject(J),t.\u0275\u0275inject(l,12),t.\u0275\u0275inject(v.OverlayContainer),t.\u0275\u0275inject(t.ANIMATION_MODULE_TYPE,8))},l.\u0275prov=t.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac}),l}(),me=0,ge=function(){var l=function(){function f(a,o,g){(0,n.Z)(this,f),this.dialogRef=a,this._elementRef=o,this._dialog=g,this.type="button"}return(0,d.Z)(f,[{key:"ngOnInit",value:function(){this.dialogRef||(this.dialogRef=ce(this._elementRef,this._dialog.openDialogs))}},{key:"ngOnChanges",value:function(o){var g=o._matDialogClose||o._matDialogCloseResult;g&&(this.dialogResult=g.currentValue)}},{key:"_onButtonClick",value:function(o){Q(this.dialogRef,0===o.screenX&&0===o.screenY?"keyboard":"mouse",this.dialogResult)}}]),f}();return l.\u0275fac=function(a){return new(a||l)(t.\u0275\u0275directiveInject(Y,8),t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(H))},l.\u0275dir=t.\u0275\u0275defineDirective({type:l,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(a,o){1&a&&t.\u0275\u0275listener("click",function(O){return o._onButtonClick(O)}),2&a&&t.\u0275\u0275attribute("aria-label",o.ariaLabel||null)("type",o.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[t.\u0275\u0275NgOnChangesFeature]}),l}(),fe=function(){var l=function(){function f(a,o,g){(0,n.Z)(this,f),this._dialogRef=a,this._elementRef=o,this._dialog=g,this.id="mat-mdc-dialog-title-".concat(me++)}return(0,d.Z)(f,[{key:"ngOnInit",value:function(){var o=this;this._dialogRef||(this._dialogRef=ce(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(function(){var g=o._dialogRef._containerInstance;g&&!g._ariaLabelledBy&&(g._ariaLabelledBy=o.id)})}}]),f}();return l.\u0275fac=function(a){return new(a||l)(t.\u0275\u0275directiveInject(Y,8),t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(H))},l.\u0275dir=t.\u0275\u0275defineDirective({type:l,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(a,o){2&a&&t.\u0275\u0275hostProperty("id",o.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),l}(),he=function(){var l=(0,d.Z)(function f(){(0,n.Z)(this,f)});return l.\u0275fac=function(a){return new(a||l)},l.\u0275dir=t.\u0275\u0275defineDirective({type:l,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"]}),l}(),ve=function(){var l=(0,d.Z)(function f(){(0,n.Z)(this,f),this.align="start"});return l.\u0275fac=function(a){return new(a||l)},l.\u0275dir=t.\u0275\u0275defineDirective({type:l,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:4,hostBindings:function(a,o){2&a&&t.\u0275\u0275classProp("mat-mdc-dialog-actions-align-center","center"===o.align)("mat-mdc-dialog-actions-align-end","end"===o.align)},inputs:{align:"align"}}),l}();function ce(l,f){for(var a=l.nativeElement.parentElement;a&&!a.classList.contains("mat-mdc-dialog-container");)a=a.parentElement;return a?f.find(function(o){return o.id===a.id}):null}var pe=function(){var l=(0,d.Z)(function f(){(0,n.Z)(this,f)});return l.\u0275fac=function(a){return new(a||l)},l.\u0275mod=t.\u0275\u0275defineNgModule({type:l}),l.\u0275inj=t.\u0275\u0275defineInjector({providers:[H,se],imports:[C.DialogModule,v.OverlayModule,S.PortalModule,x.MatCommonModule,x.MatCommonModule]}),l}(),$={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},De={dialogContainer:(0,c.X$)("dialogContainer",[(0,c.SB)("void, exit",(0,c.oB)({opacity:0,transform:"scale(0.7)"})),(0,c.SB)("enter",(0,c.oB)({transform:"none"})),(0,c.eR)("* => enter",(0,c.ru)([(0,c.jt)("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",(0,c.oB)({transform:"none",opacity:1})),(0,c.IO)("@*",(0,c.pV)(),{optional:!0})]),$),(0,c.eR)("* => void, * => exit",(0,c.ru)([(0,c.jt)("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",(0,c.oB)({opacity:0})),(0,c.IO)("@*",(0,c.pV)(),{optional:!0})]),$)])}},44841:(T,h,e)=>{function _(u,r){(null==r||r>u.length)&&(r=u.length);for(var s=0,i=new Array(r);s<r;s++)i[s]=u[s];return i}e.d(h,{Z:()=>_})},95106:(T,h,e)=>{e.d(h,{Z:()=>u});var _=e(44206);function u(r,s){var i=typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"];if(!i){if(Array.isArray(r)||(i=(0,_.Z)(r))||s&&r&&"number"==typeof r.length){i&&(r=i);var d=0,n=function(){};return{s:n,n:function(){return d>=r.length?{done:!0}:{done:!1,value:r[d++]}},e:function(M){throw M},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var t,v=!0,b=!1;return{s:function(){i=i.call(r)},n:function(){var M=i.next();return v=M.done,M},e:function(M){b=!0,t=M},f:function(){try{!v&&null!=i.return&&i.return()}finally{if(b)throw t}}}}},77797:(T,h,e)=>{e.d(h,{Z:()=>u});var _=e(51299);function u(r,s,i){return(s=(0,_.Z)(s))in r?Object.defineProperty(r,s,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[s]=i,r}},4089:(T,h,e)=>{e.d(h,{Z:()=>r});var _=e(20265);function r(){return r=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(i,d,n){var v=function u(s,i){for(;!Object.prototype.hasOwnProperty.call(s,i)&&null!==(s=(0,_.Z)(s)););return s}(i,d);if(v){var b=Object.getOwnPropertyDescriptor(v,d);return b.get?b.get.call(arguments.length<3?i:n):b.value}},r.apply(this,arguments)}},4826:(T,h,e)=>{function _(u){if(typeof Symbol<"u"&&null!=u[Symbol.iterator]||null!=u["@@iterator"])return Array.from(u)}e.d(h,{Z:()=>_})},35603:(T,h,e)=>{e.d(h,{Z:()=>r});var _=e(77797);function u(s,i){var d=Object.keys(s);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(s);i&&(n=n.filter(function(v){return Object.getOwnPropertyDescriptor(s,v).enumerable})),d.push.apply(d,n)}return d}function r(s){for(var i=1;i<arguments.length;i++){var d=null!=arguments[i]?arguments[i]:{};i%2?u(Object(d),!0).forEach(function(n){(0,_.Z)(s,n,d[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(d)):u(Object(d)).forEach(function(n){Object.defineProperty(s,n,Object.getOwnPropertyDescriptor(d,n))})}return s}},86170:(T,h,e)=>{e.d(h,{Z:()=>d});var _=e(44841),r=e(4826),s=e(44206);function d(n){return function u(n){if(Array.isArray(n))return(0,_.Z)(n)}(n)||(0,r.Z)(n)||(0,s.Z)(n)||function i(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(T,h,e)=>{e.d(h,{Z:()=>u});var _=e(44841);function u(r,s){if(r){if("string"==typeof r)return(0,_.Z)(r,s);var i=Object.prototype.toString.call(r).slice(8,-1);if("Object"===i&&r.constructor&&(i=r.constructor.name),"Map"===i||"Set"===i)return Array.from(r);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return(0,_.Z)(r,s)}}}}]); +//# sourceMappingURL=5125.cb6e8cbbc7ad49a7.js.map \ No newline at end of file diff --git a/5125.cb6e8cbbc7ad49a7.js.map b/5125.cb6e8cbbc7ad49a7.js.map new file mode 100644 index 0000000..c7a34b8 --- /dev/null +++ b/5125.cb6e8cbbc7ad49a7.js.map @@ -0,0 +1 @@ +{"version":3,"file":"5125.cb6e8cbbc7ad49a7.js","mappings":"6NACaA,cAA0BC,GAAiB,SAACC,GAAM,OAAK,WAChEA,EAAOC,MACPA,KAAKC,KAAO,0BACZD,KAAKE,QAAU,qBACnB,CAAC,yBCAYC,EAAO,eAAPA,EAAO,SAAAC,IAAAC,OAAAF,EAAAC,GAAA,IAAAL,KAAAO,KAAAH,GAChB,SAAAA,IAAc,IAAAI,EAAAC,cAAAR,KAAAG,IACVI,EAAAR,EAAAU,KAAAT,OACKU,QAAS,EACdH,EAAKI,iBAAmB,KACxBJ,EAAKK,UAAY,GACjBL,EAAKM,WAAY,EACjBN,EAAKO,UAAW,EAChBP,EAAKQ,YAAc,KAAKR,CAC5B,CAACS,cAAAb,EAAA,EAAAc,IAAA,OAAAC,MACD,SAAKC,GACD,IAAMC,EAAU,IAAIC,EAAiBrB,KAAMA,MAC3CoB,SAAQD,SAAWA,EACZC,CACX,GAAC,CAAAH,IAAA,iBAAAC,MACD,WACI,GAAIlB,KAAKU,OACL,MAAM,IAAIb,CAElB,GAAC,CAAAoB,IAAA,OAAAC,MACD,SAAKA,GAAO,IAAAI,EAAAtB,MACRuB,OAAa,WAET,GADAD,EAAKE,kBACAF,EAA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AvB,EAAAP,OAAA6B,0BAAA1b,IAAAib,EAAApB,OAAA7Z,IAAAwb,QAAA,SAAAje,GACLsc,OAAAC,eAAAM,EAAA7c,EAAAsc,OAAAgB,yBAAA7a,EAAAzC,GACA,EAAK,CAEL,OAAA6c,CACA,wECjBe,SAAAwB,EAAA5U,GACf,OCJe,SAAA6U,EAAA7U,GACf,GAAAjJ,MAAAkb,QAAAjS,GAAA,SAAiC8U,EAAA3C,GAAgBnS,EACjD,CDES6U,CAAiB7U,KAAA,EAAS+U,EAAA5C,GAAenS,KAAA,EAASgV,EAAA7C,GAA0BnS,IELtE,SAAAiV,IACf,UAAApU,UAAA,uIACA,CFG8FoU,EAC9F,mDGLe,SAAAC,EAAApD,EAAAqD,GACf,GAAArD,EACA,qBAAAA,EAAA,SAAoCsD,EAAAjD,GAAgBL,EAAAqD,GACpD,IAAA9d,EAAAwb,OAAAva,UAAA+c,SAAAtf,KAAA+b,GAAAwD,MAAA,MAEA,GADA,WAAAje,GAAAya,EAAAyD,cAAAle,EAAAya,EAAAyD,YAAAhgB,MACA,QAAA8B,GAAA,QAAAA,EAAA,OAAAN,MAAAC,KAAA8a,GACA,iBAAAza,GAAA,2CAAAme,KAAAne,GAAA,SAAsF+d,EAAAjD,GAAgBL,EAAAqD,EAAA,CACtG","names":["ObjectUnsubscribedError","createErrorClass","_super","this","name","message","Subject","_Observable","_inherits","_createSuper","_this","_classCallCheck","call","closed","currentObservers","observers","isStopped","hasError","thrownError","_createClass","key","value","operator","subject","AnonymousSubject","_this2","errorContext","_throwIfClosed","Array","from","_step","_iterator","_createForOfIteratorHelper","s","n","done","next","err","e","f","_this3","length","shift","error","_this4","complete","get","_a","subscriber","_get","_getPrototypeOf","prototype","_checkFinalizedStatuses","_innerSubscribe","_this5","EMPTY_SUBSCRIPTION","push","Subscription","arrRemove","observable","Observable","source","create","destination","_Subject","_super2","_this6","_b","subscribe","concat","_len","arguments","args","_key","concatAll","mergeAll","popScheduler","defer","observableFactory","innerFrom","EMPTY","subscribeOn","scheduler","delay","undefined","operate","add","schedule","scheduleAsyncIterable","input","Error","executeSchedule","iterator","Symbol","asyncIterator","then","result","scheduled","isInteropObservable","scheduleObservable","pipe","observeOn","isArrayLike","scheduleArray","i","isPromise","schedulePromise","isAsyncIterable","isIterable","scheduleIterable","Symbol_iterator","_iterator$next","isFunction","return","isReadableStreamLike","scheduleReadableStreamLike","readableStreamLikeToAsyncGenerator","createInvalidObservableTypeError","merge","concurrent","popNumber","Infinity","sources","createOperatorSubscriber","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_next","_assertThisInitialized","_error","unsubscribe","_complete","Subscriber","filter","predicate","thisArg","index","map","project","mergeMap","identity","resultSelector","a","b","ii","mergeInternals","onBeforeNext","expand","innerSubScheduler","additionalFinalizer","buffer","active","isComplete","checkComplete","outerNext","doInnerSub","innerComplete","innerValue","_loop","bufferedValue","startWith","values","take","count","seen","last","arr","popResultSelector","pop","isScheduler","defaultValue","parentSubscription","work","repeat","scheduleSubscription","hasLift","lift","init","liftedSource","TypeError","MatDialogContainer_ng_template_2_Template","rf","ctx","MatDialogConfig","role","panelClass","hasBackdrop","backdropClass","disableClose","width","height","maxWidth","data","ariaDescribedBy","ariaLabelledBy","ariaLabel","ariaModal","autoFocus","restoreFocus","delayFocusTrap","closeOnNavigation","OPEN_CLASS","OPENING_CLASS","CLOSING_CLASS","_MatDialogContainerBase","_CdkDialogContainer","elementRef","focusTrapFactory","_document","dialogConfig","interactivityChecker","ngZone","overlayRef","focusMonitor","_animationStateChanged","EventEmitter","_config","_trapFocus","totalTime","state","CdkDialogContainer","ɵfac","t","i0","i1","DOCUMENT","i1$1","ɵcmp","type","selectors","features","decls","vars","template","encapsulation","TRANSITION_DURATION_PROPERTY","parseCssTime","time","endsWith","coerceNumberProperty","substring","MatDialogContainer","_MatDialogContainerBa","document","checker","_animationMode","_parseCssTime","_parseCssTime2","_animationsEnabled","_hostElement","_elementRef","nativeElement","_openAnimationDuration","enterAnimationDuration","_closeAnimationDuration","exitAnimationDuration","_animationTimer","_finishDialogOpen","_clearAnimationClasses","_openAnimationDone","_finishDialogClose","emit","_startOpenAnimation","clearTimeout","style","setProperty","_requestAnimationFrame","classList","_waitForAnimationToComplete","Promise","resolve","remove","duration","callback","setTimeout","_ngZone","runOutsideAngular","requestAnimationFrame","ANIMATION_MODULE_TYPE","hostAttrs","hostVars","hostBindings","id","_ariaLabelledBy","consts","dependencies","i4","styles","MatDialogRef","_ref","config","_containerInstance","_afterOpened","_beforeClosed","_state","event","_closeFallbackTimeout","detachments","_result","backdropClick","keydownEvents","keyCode","ESCAPE","hasModifierKey","preventDefault","_closeDialogVia","dialogResult","detachBackdrop","_startExitAnimation","position","strategy","positionStrategy","left","right","centerHorizontally","top","bottom","centerVertically","updatePosition","updateSize","classes","addPanelClass","removePanelClass","close","focusOrigin","_closeInteractionType","componentInstance","ref","interactionType","MAT_DIALOG_DATA","InjectionToken","MAT_DIALOG_DEFAULT_OPTIONS","MAT_DIALOG_SCROLL_STRATEGY","MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY","overlay","scrollStrategies","block","MAT_DIALOG_SCROLL_STRATEGY_PROVIDER","provide","deps","Overlay","useFactory","MAT_DIALOG_SCROLL_STRATEGY_FACTORY","uniqueId","_MatDialogBase","_overlay","injector","_defaultOptions","_parentDialog","_overlayContainer","scrollStrategy","_dialogRefConstructor","_dialogContainerType","_dialogDataToken","_this7","_openDialogsAtThisLevel","_afterAllClosedAtThisLevel","_afterOpenedAtThisLevel","_idPrefix","dialogConfigClass","afterAllClosed","openDialogs","_getAfterAllClosed","_scrollStrategy","_dialog","Dialog","afterOpened","parent","componentOrTemplateRef","dialogRef","_this8","_objectSpread","cdkRef","open","global","closeOnDestroy","closeOnOverlayDetachments","container","providers","useValue","DialogConfig","templateContext","cdkConfig","dialogContainer","afterClosed","indexOf","splice","_closeDialogs","find","dialog","dialogs","ɵprov","token","factory","MatDialog","_MatDialogBase2","_super3","location","defaultOptions","parentDialog","overlayContainer","animationMode","_this9","i2","ANIMATION_MODULE_TYPE$1","dialogElementUid","MatDialogClose","getClosestDialog","changes","proxiedChange","_matDialogClose","_matDialogCloseResult","currentValue","screenX","screenY","ɵdir","$event","_onButtonClick","inputs","exportAs","MatDialogTitle","_dialogRef","_this10","MatDialogContent","MatDialogActions","align","element","parentElement","contains","MatDialogModule","ɵmod","ɵinj","imports","DialogModule","OverlayModule","PortalModule","MatCommonModule","_defaultParams","params","matDialogAnimations","trigger","opacity","transform","transition","group","animate","query","animateChild","optional","_arrayLikeToArray","len","arr2","o","allowArrayLike","it","isArray","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","_e","normalCompletion","didErr","step","_e2","_defineProperty","obj","_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__","Object","defineProperty","enumerable","configurable","writable","Reflect","bind","target","property","receiver","base","_superPropBase","object","hasOwnProperty","getPrototypeOf","desc","getOwnPropertyDescriptor","apply","_iterableToArray","iter","ownKeys","enumerableOnly","keys","getOwnPropertySymbols","symbols","sym","_objectSpread2","forEach","_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__","getOwnPropertyDescriptors","defineProperties","_toConsumableArray","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","toString","slice","constructor","test"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/util/ObjectUnsubscribedError.js","./node_modules/rxjs/dist/esm/internal/Subject.js","./node_modules/rxjs/dist/esm/internal/observable/concat.js","./node_modules/rxjs/dist/esm/internal/operators/concatAll.js","./node_modules/rxjs/dist/esm/internal/observable/defer.js","./node_modules/rxjs/dist/esm/internal/observable/empty.js","./node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleAsyncIterable.js","./node_modules/rxjs/dist/esm/internal/observable/from.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduled.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleObservable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleArray.js","./node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleIterable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleReadableStreamLike.js","./node_modules/rxjs/dist/esm/internal/observable/merge.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/filter.js","./node_modules/rxjs/dist/esm/internal/operators/map.js","./node_modules/rxjs/dist/esm/internal/operators/mergeAll.js","./node_modules/rxjs/dist/esm/internal/operators/mergeMap.js","./node_modules/rxjs/dist/esm/internal/operators/mergeInternals.js","./node_modules/rxjs/dist/esm/internal/operators/observeOn.js","./node_modules/rxjs/dist/esm/internal/operators/startWith.js","./node_modules/rxjs/dist/esm/internal/operators/take.js","./node_modules/rxjs/dist/esm/internal/util/args.js","./node_modules/rxjs/dist/esm/internal/util/executeSchedule.js","./node_modules/rxjs/dist/esm/internal/util/isScheduler.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/@angular/material/fesm2022/dialog.mjs","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/defineProperty.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/objectSpread2.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { createErrorClass } from './createErrorClass';\nexport const ObjectUnsubscribedError = createErrorClass((_super) => function ObjectUnsubscribedErrorImpl() {\n _super(this);\n this.name = 'ObjectUnsubscribedError';\n this.message = 'object unsubscribed';\n});\n","import { Observable } from './Observable';\nimport { Subscription, EMPTY_SUBSCRIPTION } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { arrRemove } from './util/arrRemove';\nimport { errorContext } from './util/errorContext';\nexport class Subject extends Observable {\n constructor() {\n super();\n this.closed = false;\n this.currentObservers = null;\n this.observers = [];\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n lift(operator) {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n }\n _throwIfClosed() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n }\n next(value) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n if (!this.currentObservers) {\n this.currentObservers = Array.from(this.observers);\n }\n for (const observer of this.currentObservers) {\n observer.next(value);\n }\n }\n });\n }\n error(err) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.hasError = this.isStopped = true;\n this.thrownError = err;\n const { observers } = this;\n while (observers.length) {\n observers.shift().error(err);\n }\n }\n });\n }\n complete() {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.isStopped = true;\n const { observers } = this;\n while (observers.length) {\n observers.shift().complete();\n }\n }\n });\n }\n unsubscribe() {\n this.isStopped = this.closed = true;\n this.observers = this.currentObservers = null;\n }\n get observed() {\n var _a;\n return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;\n }\n _trySubscribe(subscriber) {\n this._throwIfClosed();\n return super._trySubscribe(subscriber);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._checkFinalizedStatuses(subscriber);\n return this._innerSubscribe(subscriber);\n }\n _innerSubscribe(subscriber) {\n const { hasError, isStopped, observers } = this;\n if (hasError || isStopped) {\n return EMPTY_SUBSCRIPTION;\n }\n this.currentObservers = null;\n observers.push(subscriber);\n return new Subscription(() => {\n this.currentObservers = null;\n arrRemove(observers, subscriber);\n });\n }\n _checkFinalizedStatuses(subscriber) {\n const { hasError, thrownError, isStopped } = this;\n if (hasError) {\n subscriber.error(thrownError);\n }\n else if (isStopped) {\n subscriber.complete();\n }\n }\n asObservable() {\n const observable = new Observable();\n observable.source = this;\n return observable;\n }\n}\nSubject.create = (destination, source) => {\n return new AnonymousSubject(destination, source);\n};\nexport class AnonymousSubject extends Subject {\n constructor(destination, source) {\n super();\n this.destination = destination;\n this.source = source;\n }\n next(value) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);\n }\n error(err) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);\n }\n complete() {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);\n }\n _subscribe(subscriber) {\n var _a, _b;\n return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;\n }\n}\n","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}\n","import { mergeAll } from './mergeAll';\nexport function concatAll() {\n return mergeAll(1);\n}\n","import { Observable } from '../Observable';\nimport { innerFrom } from './innerFrom';\nexport function defer(observableFactory) {\n return new Observable((subscriber) => {\n innerFrom(observableFactory()).subscribe(subscriber);\n });\n}\n","import { Observable } from '../Observable';\nexport const EMPTY = new Observable((subscriber) => subscriber.complete());\nexport function empty(scheduler) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n return new Observable((subscriber) => scheduler.schedule(() => subscriber.complete()));\n}\n","import { operate } from '../util/lift';\nexport function subscribeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay));\n });\n}\n","import { Observable } from '../Observable';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleAsyncIterable(input, scheduler) {\n if (!input) {\n throw new Error('Iterable cannot be null');\n }\n return new Observable((subscriber) => {\n executeSchedule(subscriber, scheduler, () => {\n const iterator = input[Symbol.asyncIterator]();\n executeSchedule(subscriber, scheduler, () => {\n iterator.next().then((result) => {\n if (result.done) {\n subscriber.complete();\n }\n else {\n subscriber.next(result.value);\n }\n });\n }, 0, true);\n });\n });\n}\n","import { scheduled } from '../scheduled/scheduled';\nimport { innerFrom } from './innerFrom';\nexport function from(input, scheduler) {\n return scheduler ? scheduled(input, scheduler) : innerFrom(input);\n}\n","import { scheduleObservable } from './scheduleObservable';\nimport { schedulePromise } from './schedulePromise';\nimport { scheduleArray } from './scheduleArray';\nimport { scheduleIterable } from './scheduleIterable';\nimport { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isPromise } from '../util/isPromise';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isIterable } from '../util/isIterable';\nimport { isAsyncIterable } from '../util/isAsyncIterable';\nimport { createInvalidObservableTypeError } from '../util/throwUnobservableError';\nimport { isReadableStreamLike } from '../util/isReadableStreamLike';\nimport { scheduleReadableStreamLike } from './scheduleReadableStreamLike';\nexport function scheduled(input, scheduler) {\n if (input != null) {\n if (isInteropObservable(input)) {\n return scheduleObservable(input, scheduler);\n }\n if (isArrayLike(input)) {\n return scheduleArray(input, scheduler);\n }\n if (isPromise(input)) {\n return schedulePromise(input, scheduler);\n }\n if (isAsyncIterable(input)) {\n return scheduleAsyncIterable(input, scheduler);\n }\n if (isIterable(input)) {\n return scheduleIterable(input, scheduler);\n }\n if (isReadableStreamLike(input)) {\n return scheduleReadableStreamLike(input, scheduler);\n }\n }\n throw createInvalidObservableTypeError(input);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function scheduleObservable(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nexport function scheduleArray(input, scheduler) {\n return new Observable((subscriber) => {\n let i = 0;\n return scheduler.schedule(function () {\n if (i === input.length) {\n subscriber.complete();\n }\n else {\n subscriber.next(input[i++]);\n if (!subscriber.closed) {\n this.schedule();\n }\n }\n });\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function schedulePromise(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from '../util/isFunction';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleIterable(input, scheduler) {\n return new Observable((subscriber) => {\n let iterator;\n executeSchedule(subscriber, scheduler, () => {\n iterator = input[Symbol_iterator]();\n executeSchedule(subscriber, scheduler, () => {\n let value;\n let done;\n try {\n ({ value, done } = iterator.next());\n }\n catch (err) {\n subscriber.error(err);\n return;\n }\n if (done) {\n subscriber.complete();\n }\n else {\n subscriber.next(value);\n }\n }, 0, true);\n });\n return () => isFunction(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return();\n });\n}\n","import { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { readableStreamLikeToAsyncGenerator } from '../util/isReadableStreamLike';\nexport function scheduleReadableStreamLike(input, scheduler) {\n return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);\n}\n","import { mergeAll } from '../operators/mergeAll';\nimport { innerFrom } from './innerFrom';\nimport { EMPTY } from './empty';\nimport { popNumber, popScheduler } from '../util/args';\nimport { from } from './from';\nexport function merge(...args) {\n const scheduler = popScheduler(args);\n const concurrent = popNumber(args, Infinity);\n const sources = args;\n return !sources.length\n ?\n EMPTY\n : sources.length === 1\n ?\n innerFrom(sources[0])\n :\n mergeAll(concurrent)(from(sources, scheduler));\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","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}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function map(project, thisArg) {\n return operate((source, subscriber) => {\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n subscriber.next(project.call(thisArg, value, index++));\n }));\n });\n}\n","import { mergeMap } from './mergeMap';\nimport { identity } from '../util/identity';\nexport function mergeAll(concurrent = Infinity) {\n return mergeMap(identity, concurrent);\n}\n","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 }\n else if (typeof resultSelector === 'number') {\n concurrent = resultSelector;\n }\n return operate((source, subscriber) => mergeInternals(source, subscriber, project, concurrent));\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { executeSchedule } from '../util/executeSchedule';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function mergeInternals(source, subscriber, project, concurrent, onBeforeNext, expand, innerSubScheduler, additionalFinalizer) {\n const buffer = [];\n let active = 0;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => {\n if (isComplete && !buffer.length && !active) {\n subscriber.complete();\n }\n };\n const outerNext = (value) => (active < concurrent ? doInnerSub(value) : buffer.push(value));\n const doInnerSub = (value) => {\n expand && subscriber.next(value);\n active++;\n let innerComplete = false;\n innerFrom(project(value, index++)).subscribe(createOperatorSubscriber(subscriber, (innerValue) => {\n onBeforeNext === null || onBeforeNext === void 0 ? void 0 : onBeforeNext(innerValue);\n if (expand) {\n outerNext(innerValue);\n }\n else {\n subscriber.next(innerValue);\n }\n }, () => {\n innerComplete = true;\n }, undefined, () => {\n if (innerComplete) {\n try {\n active--;\n while (buffer.length && active < concurrent) {\n const bufferedValue = buffer.shift();\n if (innerSubScheduler) {\n executeSchedule(subscriber, innerSubScheduler, () => doInnerSub(bufferedValue));\n }\n else {\n doInnerSub(bufferedValue);\n }\n }\n checkComplete();\n }\n catch (err) {\n subscriber.error(err);\n }\n }\n }));\n };\n source.subscribe(createOperatorSubscriber(subscriber, outerNext, () => {\n isComplete = true;\n checkComplete();\n }));\n return () => {\n additionalFinalizer === null || additionalFinalizer === void 0 ? void 0 : additionalFinalizer();\n };\n}\n","import { executeSchedule } from '../util/executeSchedule';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function observeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, (value) => executeSchedule(subscriber, scheduler, () => subscriber.next(value), delay), () => executeSchedule(subscriber, scheduler, () => subscriber.complete(), delay), (err) => executeSchedule(subscriber, scheduler, () => subscriber.error(err), delay)));\n });\n}\n","import { concat } from '../observable/concat';\nimport { popScheduler } from '../util/args';\nimport { operate } from '../util/lift';\nexport function startWith(...values) {\n const scheduler = popScheduler(values);\n return operate((source, subscriber) => {\n (scheduler ? concat(values, source, scheduler) : concat(values, source)).subscribe(subscriber);\n });\n}\n","import { EMPTY } from '../observable/empty';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function take(count) {\n return count <= 0\n ?\n () => EMPTY\n : operate((source, subscriber) => {\n let seen = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n if (++seen <= count) {\n subscriber.next(value);\n if (count <= seen) {\n subscriber.complete();\n }\n }\n }));\n });\n}\n","import { isFunction } from './isFunction';\nimport { isScheduler } from './isScheduler';\nfunction last(arr) {\n return arr[arr.length - 1];\n}\nexport function popResultSelector(args) {\n return isFunction(last(args)) ? args.pop() : undefined;\n}\nexport function popScheduler(args) {\n return isScheduler(last(args)) ? args.pop() : undefined;\n}\nexport function popNumber(args, defaultValue) {\n return typeof last(args) === 'number' ? args.pop() : defaultValue;\n}\n","export function executeSchedule(parentSubscription, scheduler, work, delay = 0, repeat = false) {\n const scheduleSubscription = scheduler.schedule(function () {\n work();\n if (repeat) {\n parentSubscription.add(this.schedule(null, delay));\n }\n else {\n this.unsubscribe();\n }\n }, delay);\n parentSubscription.add(scheduleSubscription);\n if (!repeat) {\n return scheduleSubscription;\n }\n}\n","import { isFunction } from './isFunction';\nexport function isScheduler(value) {\n return value && isFunction(value.schedule);\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","import * as i1$1 from '@angular/cdk/overlay';\nimport { Overlay, OverlayModule } from '@angular/cdk/overlay';\nimport * as i2 from '@angular/common';\nimport { DOCUMENT } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { EventEmitter, Component, Optional, Inject, ViewEncapsulation, ChangeDetectionStrategy, InjectionToken, Injectable, ANIMATION_MODULE_TYPE as ANIMATION_MODULE_TYPE$1, SkipSelf, Directive, Input, NgModule } from '@angular/core';\nimport * as i1 from '@angular/cdk/a11y';\nimport { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';\nimport { CdkDialogContainer, Dialog, DialogConfig, DialogModule } from '@angular/cdk/dialog';\nimport { coerceNumberProperty } from '@angular/cdk/coercion';\nimport * as i4 from '@angular/cdk/portal';\nimport { PortalModule } from '@angular/cdk/portal';\nimport { Subject, merge, defer } from 'rxjs';\nimport { filter, take, startWith } from 'rxjs/operators';\nimport { ESCAPE, hasModifierKey } from '@angular/cdk/keycodes';\nimport { MatCommonModule } from '@angular/material/core';\nimport { trigger, state, style, transition, group, animate, query, animateChild } from '@angular/animations';\n\n/**\n * Configuration for opening a modal dialog with the MatDialog service.\n */\nclass MatDialogConfig {\n constructor() {\n /** The ARIA role of the dialog element. */\n this.role = 'dialog';\n /** Custom class for the overlay pane. */\n this.panelClass = '';\n /** Whether the dialog has a backdrop. */\n this.hasBackdrop = true;\n /** Custom class for the backdrop. */\n this.backdropClass = '';\n /** Whether the user can use escape or clicking on the backdrop to close the modal. */\n this.disableClose = false;\n /** Width of the dialog. */\n this.width = '';\n /** Height of the dialog. */\n this.height = '';\n /** Max-width of the dialog. If a number is provided, assumes pixel units. Defaults to 80vw. */\n this.maxWidth = '80vw';\n /** Data being injected into the child component. */\n this.data = null;\n /** ID of the element that describes the dialog. */\n this.ariaDescribedBy = null;\n /** ID of the element that labels the dialog. */\n this.ariaLabelledBy = null;\n /** Aria label to assign to the dialog element. */\n this.ariaLabel = null;\n /** Whether this is a modal dialog. Used to set the `aria-modal` attribute. */\n this.ariaModal = true;\n /**\n * Where the dialog should focus on open.\n * @breaking-change 14.0.0 Remove boolean option from autoFocus. Use string or\n * AutoFocusTarget instead.\n */\n this.autoFocus = 'first-tabbable';\n /**\n * Whether the dialog should restore focus to the\n * previously-focused element, after it's closed.\n */\n this.restoreFocus = true;\n /** Whether to wait for the opening animation to finish before trapping focus. */\n this.delayFocusTrap = true;\n /**\n * Whether the dialog should close when the user goes backwards/forwards in history.\n * Note that this usually doesn't include clicking on links (unless the user is using\n * the `HashLocationStrategy`).\n */\n this.closeOnNavigation = true;\n // TODO(jelbourn): add configuration for lifecycle hooks, ARIA labelling.\n }\n}\n\n/** Class added when the dialog is open. */\nconst OPEN_CLASS = 'mdc-dialog--open';\n/** Class added while the dialog is opening. */\nconst OPENING_CLASS = 'mdc-dialog--opening';\n/** Class added while the dialog is closing. */\nconst CLOSING_CLASS = 'mdc-dialog--closing';\n/** Duration of the opening animation in milliseconds. */\nconst OPEN_ANIMATION_DURATION = 150;\n/** Duration of the closing animation in milliseconds. */\nconst CLOSE_ANIMATION_DURATION = 75;\n/**\n * Base class for the `MatDialogContainer`. The base class does not implement\n * animations as these are left to implementers of the dialog container.\n */\n// tslint:disable-next-line:validate-decorators\nclass _MatDialogContainerBase extends CdkDialogContainer {\n constructor(elementRef, focusTrapFactory, _document, dialogConfig, interactivityChecker, ngZone, overlayRef, focusMonitor) {\n super(elementRef, focusTrapFactory, _document, dialogConfig, interactivityChecker, ngZone, overlayRef, focusMonitor);\n /** Emits when an animation state changes. */\n this._animationStateChanged = new EventEmitter();\n }\n _captureInitialFocus() {\n if (!this._config.delayFocusTrap) {\n this._trapFocus();\n }\n }\n /**\n * Callback for when the open dialog animation has finished. Intended to\n * be called by sub-classes that use different animation implementations.\n */\n _openAnimationDone(totalTime) {\n if (this._config.delayFocusTrap) {\n this._trapFocus();\n }\n this._animationStateChanged.next({ state: 'opened', totalTime });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatDialogContainerBase, deps: [{ token: i0.ElementRef }, { token: i1.FocusTrapFactory }, { token: DOCUMENT, optional: true }, { token: MatDialogConfig }, { token: i1.InteractivityChecker }, { token: i0.NgZone }, { token: i1$1.OverlayRef }, { token: i1.FocusMonitor }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: _MatDialogContainerBase, selector: \"ng-component\", usesInheritance: true, ngImport: i0, template: '', isInline: true }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatDialogContainerBase, decorators: [{\n type: Component,\n args: [{ template: '' }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.FocusTrapFactory }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: MatDialogConfig }, { type: i1.InteractivityChecker }, { type: i0.NgZone }, { type: i1$1.OverlayRef }, { type: i1.FocusMonitor }]; } });\nconst TRANSITION_DURATION_PROPERTY = '--mat-dialog-transition-duration';\n// TODO(mmalerba): Remove this function after animation durations are required\n// to be numbers.\n/**\n * Converts a CSS time string to a number in ms. If the given time is already a\n * number, it is assumed to be in ms.\n */\nfunction parseCssTime(time) {\n if (time == null) {\n return null;\n }\n if (typeof time === 'number') {\n return time;\n }\n if (time.endsWith('ms')) {\n return coerceNumberProperty(time.substring(0, time.length - 2));\n }\n if (time.endsWith('s')) {\n return coerceNumberProperty(time.substring(0, time.length - 1)) * 1000;\n }\n if (time === '0') {\n return 0;\n }\n return null; // anything else is invalid.\n}\n/**\n * Internal component that wraps user-provided dialog content in a MDC dialog.\n * @docs-private\n */\nclass MatDialogContainer extends _MatDialogContainerBase {\n constructor(elementRef, focusTrapFactory, document, dialogConfig, checker, ngZone, overlayRef, _animationMode, focusMonitor) {\n super(elementRef, focusTrapFactory, document, dialogConfig, checker, ngZone, overlayRef, focusMonitor);\n this._animationMode = _animationMode;\n /** Whether animations are enabled. */\n this._animationsEnabled = this._animationMode !== 'NoopAnimations';\n /** Host element of the dialog container component. */\n this._hostElement = this._elementRef.nativeElement;\n /** Duration of the dialog open animation. */\n this._openAnimationDuration = this._animationsEnabled\n ? parseCssTime(this._config.enterAnimationDuration) ?? OPEN_ANIMATION_DURATION\n : 0;\n /** Duration of the dialog close animation. */\n this._closeAnimationDuration = this._animationsEnabled\n ? parseCssTime(this._config.exitAnimationDuration) ?? CLOSE_ANIMATION_DURATION\n : 0;\n /** Current timer for dialog animations. */\n this._animationTimer = null;\n /**\n * Completes the dialog open by clearing potential animation classes, trapping\n * focus and emitting an opened event.\n */\n this._finishDialogOpen = () => {\n this._clearAnimationClasses();\n this._openAnimationDone(this._openAnimationDuration);\n };\n /**\n * Completes the dialog close by clearing potential animation classes, restoring\n * focus and emitting a closed event.\n */\n this._finishDialogClose = () => {\n this._clearAnimationClasses();\n this._animationStateChanged.emit({ state: 'closed', totalTime: this._closeAnimationDuration });\n };\n }\n _contentAttached() {\n // Delegate to the original dialog-container initialization (i.e. saving the\n // previous element, setting up the focus trap and moving focus to the container).\n super._contentAttached();\n // Note: Usually we would be able to use the MDC dialog foundation here to handle\n // the dialog animation for us, but there are a few reasons why we just leverage\n // their styles and not use the runtime foundation code:\n // 1. Foundation does not allow us to disable animations.\n // 2. Foundation contains unnecessary features we don't need and aren't\n // tree-shakeable. e.g. background scrim, keyboard event handlers for ESC button.\n // 3. Foundation uses unnecessary timers for animations to work around limitations\n // in React's `setState` mechanism.\n // https://github.com/material-components/material-components-web/pull/3682.\n this._startOpenAnimation();\n }\n ngOnDestroy() {\n super.ngOnDestroy();\n if (this._animationTimer !== null) {\n clearTimeout(this._animationTimer);\n }\n }\n /** Starts the dialog open animation if enabled. */\n _startOpenAnimation() {\n this._animationStateChanged.emit({ state: 'opening', totalTime: this._openAnimationDuration });\n if (this._animationsEnabled) {\n this._hostElement.style.setProperty(TRANSITION_DURATION_PROPERTY, `${this._openAnimationDuration}ms`);\n // We need to give the `setProperty` call from above some time to be applied.\n // One would expect that the open class is added once the animation finished, but MDC\n // uses the open class in combination with the opening class to start the animation.\n this._requestAnimationFrame(() => this._hostElement.classList.add(OPENING_CLASS, OPEN_CLASS));\n this._waitForAnimationToComplete(this._openAnimationDuration, this._finishDialogOpen);\n }\n else {\n this._hostElement.classList.add(OPEN_CLASS);\n // Note: We could immediately finish the dialog opening here with noop animations,\n // but we defer until next tick so that consumers can subscribe to `afterOpened`.\n // Executing this immediately would mean that `afterOpened` emits synchronously\n // on `dialog.open` before the consumer had a change to subscribe to `afterOpened`.\n Promise.resolve().then(() => this._finishDialogOpen());\n }\n }\n /**\n * Starts the exit animation of the dialog if enabled. This method is\n * called by the dialog ref.\n */\n _startExitAnimation() {\n this._animationStateChanged.emit({ state: 'closing', totalTime: this._closeAnimationDuration });\n this._hostElement.classList.remove(OPEN_CLASS);\n if (this._animationsEnabled) {\n this._hostElement.style.setProperty(TRANSITION_DURATION_PROPERTY, `${this._openAnimationDuration}ms`);\n // We need to give the `setProperty` call from above some time to be applied.\n this._requestAnimationFrame(() => this._hostElement.classList.add(CLOSING_CLASS));\n this._waitForAnimationToComplete(this._closeAnimationDuration, this._finishDialogClose);\n }\n else {\n // This subscription to the `OverlayRef#backdropClick` observable in the `DialogRef` is\n // set up before any user can subscribe to the backdrop click. The subscription triggers\n // the dialog close and this method synchronously. If we'd synchronously emit the `CLOSED`\n // animation state event if animations are disabled, the overlay would be disposed\n // immediately and all other subscriptions to `DialogRef#backdropClick` would be silently\n // skipped. We work around this by waiting with the dialog close until the next tick when\n // all subscriptions have been fired as expected. This is not an ideal solution, but\n // there doesn't seem to be any other good way. Alternatives that have been considered:\n // 1. Deferring `DialogRef.close`. This could be a breaking change due to a new microtask.\n // Also this issue is specific to the MDC implementation where the dialog could\n // technically be closed synchronously. In the non-MDC one, Angular animations are used\n // and closing always takes at least a tick.\n // 2. Ensuring that user subscriptions to `backdropClick`, `keydownEvents` in the dialog\n // ref are first. This would solve the issue, but has the risk of memory leaks and also\n // doesn't solve the case where consumers call `DialogRef.close` in their subscriptions.\n // Based on the fact that this is specific to the MDC-based implementation of the dialog\n // animations, the defer is applied here.\n Promise.resolve().then(() => this._finishDialogClose());\n }\n }\n /** Clears all dialog animation classes. */\n _clearAnimationClasses() {\n this._hostElement.classList.remove(OPENING_CLASS, CLOSING_CLASS);\n }\n _waitForAnimationToComplete(duration, callback) {\n if (this._animationTimer !== null) {\n clearTimeout(this._animationTimer);\n }\n // Note that we want this timer to run inside the NgZone, because we want\n // the related events like `afterClosed` to be inside the zone as well.\n this._animationTimer = setTimeout(callback, duration);\n }\n /** Runs a callback in `requestAnimationFrame`, if available. */\n _requestAnimationFrame(callback) {\n this._ngZone.runOutsideAngular(() => {\n if (typeof requestAnimationFrame === 'function') {\n requestAnimationFrame(callback);\n }\n else {\n callback();\n }\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDialogContainer, deps: [{ token: i0.ElementRef }, { token: i1.FocusTrapFactory }, { token: DOCUMENT, optional: true }, { token: MatDialogConfig }, { token: i1.InteractivityChecker }, { token: i0.NgZone }, { token: i1$1.OverlayRef }, { token: ANIMATION_MODULE_TYPE, optional: true }, { token: i1.FocusMonitor }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatDialogContainer, selector: \"mat-dialog-container\", host: { attributes: { \"tabindex\": \"-1\" }, properties: { \"attr.aria-modal\": \"_config.ariaModal\", \"id\": \"_config.id\", \"attr.role\": \"_config.role\", \"attr.aria-labelledby\": \"_config.ariaLabel ? null : _ariaLabelledBy\", \"attr.aria-label\": \"_config.ariaLabel\", \"attr.aria-describedby\": \"_config.ariaDescribedBy || null\", \"class._mat-animation-noopable\": \"!_animationsEnabled\" }, classAttribute: \"mat-mdc-dialog-container mdc-dialog\" }, usesInheritance: true, ngImport: i0, template: \"<div class=\\\"mdc-dialog__container\\\">\\n <div class=\\\"mat-mdc-dialog-surface mdc-dialog__surface\\\">\\n <ng-template cdkPortalOutlet></ng-template>\\n </div>\\n</div>\\n\", styles: [\".mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:\\\"\\\";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container{--mdc-dialog-container-elevation-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);--mdc-dialog-container-shadow-color:#000;--mdc-dialog-container-shape:4px;--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\"], dependencies: [{ kind: \"directive\", type: i4.CdkPortalOutlet, selector: \"[cdkPortalOutlet]\", inputs: [\"cdkPortalOutlet\"], outputs: [\"attached\"], exportAs: [\"cdkPortalOutlet\"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDialogContainer, decorators: [{\n type: Component,\n args: [{ selector: 'mat-dialog-container', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, host: {\n 'class': 'mat-mdc-dialog-container mdc-dialog',\n 'tabindex': '-1',\n '[attr.aria-modal]': '_config.ariaModal',\n '[id]': '_config.id',\n '[attr.role]': '_config.role',\n '[attr.aria-labelledby]': '_config.ariaLabel ? null : _ariaLabelledBy',\n '[attr.aria-label]': '_config.ariaLabel',\n '[attr.aria-describedby]': '_config.ariaDescribedBy || null',\n '[class._mat-animation-noopable]': '!_animationsEnabled',\n }, template: \"<div class=\\\"mdc-dialog__container\\\">\\n <div class=\\\"mat-mdc-dialog-surface mdc-dialog__surface\\\">\\n <ng-template cdkPortalOutlet></ng-template>\\n </div>\\n</div>\\n\", styles: [\".mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:\\\"\\\";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container{--mdc-dialog-container-elevation-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);--mdc-dialog-container-shadow-color:#000;--mdc-dialog-container-shape:4px;--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.FocusTrapFactory }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: MatDialogConfig }, { type: i1.InteractivityChecker }, { type: i0.NgZone }, { type: i1$1.OverlayRef }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }, { type: i1.FocusMonitor }]; } });\n\n/**\n * Reference to a dialog opened via the MatDialog service.\n */\nclass MatDialogRef {\n constructor(_ref, config, _containerInstance) {\n this._ref = _ref;\n this._containerInstance = _containerInstance;\n /** Subject for notifying the user that the dialog has finished opening. */\n this._afterOpened = new Subject();\n /** Subject for notifying the user that the dialog has started closing. */\n this._beforeClosed = new Subject();\n /** Current state of the dialog. */\n this._state = 0 /* MatDialogState.OPEN */;\n this.disableClose = config.disableClose;\n this.id = _ref.id;\n // Emit when opening animation completes\n _containerInstance._animationStateChanged\n .pipe(filter(event => event.state === 'opened'), take(1))\n .subscribe(() => {\n this._afterOpened.next();\n this._afterOpened.complete();\n });\n // Dispose overlay when closing animation is complete\n _containerInstance._animationStateChanged\n .pipe(filter(event => event.state === 'closed'), take(1))\n .subscribe(() => {\n clearTimeout(this._closeFallbackTimeout);\n this._finishDialogClose();\n });\n _ref.overlayRef.detachments().subscribe(() => {\n this._beforeClosed.next(this._result);\n this._beforeClosed.complete();\n this._finishDialogClose();\n });\n merge(this.backdropClick(), this.keydownEvents().pipe(filter(event => event.keyCode === ESCAPE && !this.disableClose && !hasModifierKey(event)))).subscribe(event => {\n if (!this.disableClose) {\n event.preventDefault();\n _closeDialogVia(this, event.type === 'keydown' ? 'keyboard' : 'mouse');\n }\n });\n }\n /**\n * Close the dialog.\n * @param dialogResult Optional result to return to the dialog opener.\n */\n close(dialogResult) {\n this._result = dialogResult;\n // Transition the backdrop in parallel to the dialog.\n this._containerInstance._animationStateChanged\n .pipe(filter(event => event.state === 'closing'), take(1))\n .subscribe(event => {\n this._beforeClosed.next(dialogResult);\n this._beforeClosed.complete();\n this._ref.overlayRef.detachBackdrop();\n // The logic that disposes of the overlay depends on the exit animation completing, however\n // it isn't guaranteed if the parent view is destroyed while it's running. Add a fallback\n // timeout which will clean everything up if the animation hasn't fired within the specified\n // amount of time plus 100ms. We don't need to run this outside the NgZone, because for the\n // vast majority of cases the timeout will have been cleared before it has the chance to fire.\n this._closeFallbackTimeout = setTimeout(() => this._finishDialogClose(), event.totalTime + 100);\n });\n this._state = 1 /* MatDialogState.CLOSING */;\n this._containerInstance._startExitAnimation();\n }\n /**\n * Gets an observable that is notified when the dialog is finished opening.\n */\n afterOpened() {\n return this._afterOpened;\n }\n /**\n * Gets an observable that is notified when the dialog is finished closing.\n */\n afterClosed() {\n return this._ref.closed;\n }\n /**\n * Gets an observable that is notified when the dialog has started closing.\n */\n beforeClosed() {\n return this._beforeClosed;\n }\n /**\n * Gets an observable that emits when the overlay's backdrop has been clicked.\n */\n backdropClick() {\n return this._ref.backdropClick;\n }\n /**\n * Gets an observable that emits when keydown events are targeted on the overlay.\n */\n keydownEvents() {\n return this._ref.keydownEvents;\n }\n /**\n * Updates the dialog's position.\n * @param position New dialog position.\n */\n updatePosition(position) {\n let strategy = this._ref.config.positionStrategy;\n if (position && (position.left || position.right)) {\n position.left ? strategy.left(position.left) : strategy.right(position.right);\n }\n else {\n strategy.centerHorizontally();\n }\n if (position && (position.top || position.bottom)) {\n position.top ? strategy.top(position.top) : strategy.bottom(position.bottom);\n }\n else {\n strategy.centerVertically();\n }\n this._ref.updatePosition();\n return this;\n }\n /**\n * Updates the dialog's width and height.\n * @param width New width of the dialog.\n * @param height New height of the dialog.\n */\n updateSize(width = '', height = '') {\n this._ref.updateSize(width, height);\n return this;\n }\n /** Add a CSS class or an array of classes to the overlay pane. */\n addPanelClass(classes) {\n this._ref.addPanelClass(classes);\n return this;\n }\n /** Remove a CSS class or an array of classes from the overlay pane. */\n removePanelClass(classes) {\n this._ref.removePanelClass(classes);\n return this;\n }\n /** Gets the current state of the dialog's lifecycle. */\n getState() {\n return this._state;\n }\n /**\n * Finishes the dialog close by updating the state of the dialog\n * and disposing the overlay.\n */\n _finishDialogClose() {\n this._state = 2 /* MatDialogState.CLOSED */;\n this._ref.close(this._result, { focusOrigin: this._closeInteractionType });\n this.componentInstance = null;\n }\n}\n/**\n * Closes the dialog with the specified interaction type. This is currently not part of\n * `MatDialogRef` as that would conflict with custom dialog ref mocks provided in tests.\n * More details. See: https://github.com/angular/components/pull/9257#issuecomment-651342226.\n */\n// TODO: Move this back into `MatDialogRef` when we provide an official mock dialog ref.\nfunction _closeDialogVia(ref, interactionType, result) {\n ref._closeInteractionType = interactionType;\n return ref.close(result);\n}\n\n/** Injection token that can be used to access the data that was passed in to a dialog. */\nconst MAT_DIALOG_DATA = new InjectionToken('MatMdcDialogData');\n/** Injection token that can be used to specify default dialog options. */\nconst MAT_DIALOG_DEFAULT_OPTIONS = new InjectionToken('mat-mdc-dialog-default-options');\n/** Injection token that determines the scroll handling while the dialog is open. */\nconst MAT_DIALOG_SCROLL_STRATEGY = new InjectionToken('mat-mdc-dialog-scroll-strategy');\n/** @docs-private */\nfunction MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY(overlay) {\n return () => overlay.scrollStrategies.block();\n}\n/** @docs-private */\nconst MAT_DIALOG_SCROLL_STRATEGY_PROVIDER = {\n provide: MAT_DIALOG_SCROLL_STRATEGY,\n deps: [Overlay],\n useFactory: MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY,\n};\n/** @docs-private */\nfunction MAT_DIALOG_SCROLL_STRATEGY_FACTORY(overlay) {\n return () => overlay.scrollStrategies.block();\n}\n// Counter for unique dialog ids.\nlet uniqueId = 0;\n/**\n * Base class for dialog services. The base dialog service allows\n * for arbitrary dialog refs and dialog container components.\n */\nclass _MatDialogBase {\n /** Keeps track of the currently-open dialogs. */\n get openDialogs() {\n return this._parentDialog ? this._parentDialog.openDialogs : this._openDialogsAtThisLevel;\n }\n /** Stream that emits when a dialog has been opened. */\n get afterOpened() {\n return this._parentDialog ? this._parentDialog.afterOpened : this._afterOpenedAtThisLevel;\n }\n _getAfterAllClosed() {\n const parent = this._parentDialog;\n return parent ? parent._getAfterAllClosed() : this._afterAllClosedAtThisLevel;\n }\n constructor(_overlay, injector, _defaultOptions, _parentDialog, \n /**\n * @deprecated No longer used. To be removed.\n * @breaking-change 15.0.0\n */\n _overlayContainer, scrollStrategy, _dialogRefConstructor, _dialogContainerType, _dialogDataToken, \n /**\n * @deprecated No longer used. To be removed.\n * @breaking-change 14.0.0\n */\n _animationMode) {\n this._overlay = _overlay;\n this._defaultOptions = _defaultOptions;\n this._parentDialog = _parentDialog;\n this._dialogRefConstructor = _dialogRefConstructor;\n this._dialogContainerType = _dialogContainerType;\n this._dialogDataToken = _dialogDataToken;\n this._openDialogsAtThisLevel = [];\n this._afterAllClosedAtThisLevel = new Subject();\n this._afterOpenedAtThisLevel = new Subject();\n this._idPrefix = 'mat-dialog-';\n this.dialogConfigClass = MatDialogConfig;\n /**\n * Stream that emits when all open dialog have finished closing.\n * Will emit on subscribe if there are no open dialogs to begin with.\n */\n this.afterAllClosed = defer(() => this.openDialogs.length\n ? this._getAfterAllClosed()\n : this._getAfterAllClosed().pipe(startWith(undefined)));\n this._scrollStrategy = scrollStrategy;\n this._dialog = injector.get(Dialog);\n }\n open(componentOrTemplateRef, config) {\n let dialogRef;\n config = { ...(this._defaultOptions || new MatDialogConfig()), ...config };\n config.id = config.id || `${this._idPrefix}${uniqueId++}`;\n config.scrollStrategy = config.scrollStrategy || this._scrollStrategy();\n const cdkRef = this._dialog.open(componentOrTemplateRef, {\n ...config,\n positionStrategy: this._overlay.position().global().centerHorizontally().centerVertically(),\n // Disable closing since we need to sync it up to the animation ourselves.\n disableClose: true,\n // Disable closing on destroy, because this service cleans up its open dialogs as well.\n // We want to do the cleanup here, rather than the CDK service, because the CDK destroys\n // the dialogs immediately whereas we want it to wait for the animations to finish.\n closeOnDestroy: false,\n // Disable closing on detachments so that we can sync up the animation.\n // The Material dialog ref handles this manually.\n closeOnOverlayDetachments: false,\n container: {\n type: this._dialogContainerType,\n providers: () => [\n // Provide our config as the CDK config as well since it has the same interface as the\n // CDK one, but it contains the actual values passed in by the user for things like\n // `disableClose` which we disable for the CDK dialog since we handle it ourselves.\n { provide: this.dialogConfigClass, useValue: config },\n { provide: DialogConfig, useValue: config },\n ],\n },\n templateContext: () => ({ dialogRef }),\n providers: (ref, cdkConfig, dialogContainer) => {\n dialogRef = new this._dialogRefConstructor(ref, config, dialogContainer);\n dialogRef.updatePosition(config?.position);\n return [\n { provide: this._dialogContainerType, useValue: dialogContainer },\n { provide: this._dialogDataToken, useValue: cdkConfig.data },\n { provide: this._dialogRefConstructor, useValue: dialogRef },\n ];\n },\n });\n // This can't be assigned in the `providers` callback, because\n // the instance hasn't been assigned to the CDK ref yet.\n dialogRef.componentInstance = cdkRef.componentInstance;\n this.openDialogs.push(dialogRef);\n this.afterOpened.next(dialogRef);\n dialogRef.afterClosed().subscribe(() => {\n const index = this.openDialogs.indexOf(dialogRef);\n if (index > -1) {\n this.openDialogs.splice(index, 1);\n if (!this.openDialogs.length) {\n this._getAfterAllClosed().next();\n }\n }\n });\n return dialogRef;\n }\n /**\n * Closes all of the currently-open dialogs.\n */\n closeAll() {\n this._closeDialogs(this.openDialogs);\n }\n /**\n * Finds an open dialog by its id.\n * @param id ID to use when looking up the dialog.\n */\n getDialogById(id) {\n return this.openDialogs.find(dialog => dialog.id === id);\n }\n ngOnDestroy() {\n // Only close the dialogs at this level on destroy\n // since the parent service may still be active.\n this._closeDialogs(this._openDialogsAtThisLevel);\n this._afterAllClosedAtThisLevel.complete();\n this._afterOpenedAtThisLevel.complete();\n }\n _closeDialogs(dialogs) {\n let i = dialogs.length;\n while (i--) {\n dialogs[i].close();\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatDialogBase, deps: \"invalid\", target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatDialogBase }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatDialogBase, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: i1$1.Overlay }, { type: i0.Injector }, { type: undefined }, { type: undefined }, { type: i1$1.OverlayContainer }, { type: undefined }, { type: i0.Type }, { type: i0.Type }, { type: i0.InjectionToken }, { type: undefined }]; } });\n/**\n * Service to open Material Design modal dialogs.\n */\nclass MatDialog extends _MatDialogBase {\n constructor(overlay, injector, \n /**\n * @deprecated `_location` parameter to be removed.\n * @breaking-change 10.0.0\n */\n location, defaultOptions, scrollStrategy, parentDialog, \n /**\n * @deprecated No longer used. To be removed.\n * @breaking-change 15.0.0\n */\n overlayContainer, \n /**\n * @deprecated No longer used. To be removed.\n * @breaking-change 14.0.0\n */\n animationMode) {\n super(overlay, injector, defaultOptions, parentDialog, overlayContainer, scrollStrategy, MatDialogRef, MatDialogContainer, MAT_DIALOG_DATA, animationMode);\n this._idPrefix = 'mat-mdc-dialog-';\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDialog, deps: [{ token: i1$1.Overlay }, { token: i0.Injector }, { token: i2.Location, optional: true }, { token: MAT_DIALOG_DEFAULT_OPTIONS, optional: true }, { token: MAT_DIALOG_SCROLL_STRATEGY }, { token: MatDialog, optional: true, skipSelf: true }, { token: i1$1.OverlayContainer }, { token: ANIMATION_MODULE_TYPE$1, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDialog }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDialog, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: i1$1.Overlay }, { type: i0.Injector }, { type: i2.Location, decorators: [{\n type: Optional\n }] }, { type: MatDialogConfig, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_DIALOG_DEFAULT_OPTIONS]\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [MAT_DIALOG_SCROLL_STRATEGY]\n }] }, { type: MatDialog, decorators: [{\n type: Optional\n }, {\n type: SkipSelf\n }] }, { type: i1$1.OverlayContainer }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE$1]\n }] }]; } });\n\n/** Counter used to generate unique IDs for dialog elements. */\nlet dialogElementUid = 0;\n/**\n * Button that will close the current dialog.\n */\nclass MatDialogClose {\n constructor(\n // The dialog title directive is always used in combination with a `MatDialogRef`.\n // tslint:disable-next-line: lightweight-tokens\n dialogRef, _elementRef, _dialog) {\n this.dialogRef = dialogRef;\n this._elementRef = _elementRef;\n this._dialog = _dialog;\n /** Default to \"button\" to prevents accidental form submits. */\n this.type = 'button';\n }\n ngOnInit() {\n if (!this.dialogRef) {\n // When this directive is included in a dialog via TemplateRef (rather than being\n // in a Component), the DialogRef isn't available via injection because embedded\n // views cannot be given a custom injector. Instead, we look up the DialogRef by\n // ID. This must occur in `onInit`, as the ID binding for the dialog container won't\n // be resolved at constructor time.\n this.dialogRef = getClosestDialog(this._elementRef, this._dialog.openDialogs);\n }\n }\n ngOnChanges(changes) {\n const proxiedChange = changes['_matDialogClose'] || changes['_matDialogCloseResult'];\n if (proxiedChange) {\n this.dialogResult = proxiedChange.currentValue;\n }\n }\n _onButtonClick(event) {\n // Determinate the focus origin using the click event, because using the FocusMonitor will\n // result in incorrect origins. Most of the time, close buttons will be auto focused in the\n // dialog, and therefore clicking the button won't result in a focus change. This means that\n // the FocusMonitor won't detect any origin change, and will always output `program`.\n _closeDialogVia(this.dialogRef, event.screenX === 0 && event.screenY === 0 ? 'keyboard' : 'mouse', this.dialogResult);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDialogClose, deps: [{ token: MatDialogRef, optional: true }, { token: i0.ElementRef }, { token: MatDialog }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatDialogClose, selector: \"[mat-dialog-close], [matDialogClose]\", inputs: { ariaLabel: [\"aria-label\", \"ariaLabel\"], type: \"type\", dialogResult: [\"mat-dialog-close\", \"dialogResult\"], _matDialogClose: [\"matDialogClose\", \"_matDialogClose\"] }, host: { listeners: { \"click\": \"_onButtonClick($event)\" }, properties: { \"attr.aria-label\": \"ariaLabel || null\", \"attr.type\": \"type\" } }, exportAs: [\"matDialogClose\"], usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDialogClose, decorators: [{\n type: Directive,\n args: [{\n selector: '[mat-dialog-close], [matDialogClose]',\n exportAs: 'matDialogClose',\n host: {\n '(click)': '_onButtonClick($event)',\n '[attr.aria-label]': 'ariaLabel || null',\n '[attr.type]': 'type',\n },\n }]\n }], ctorParameters: function () { return [{ type: MatDialogRef, decorators: [{\n type: Optional\n }] }, { type: i0.ElementRef }, { type: MatDialog }]; }, propDecorators: { ariaLabel: [{\n type: Input,\n args: ['aria-label']\n }], type: [{\n type: Input\n }], dialogResult: [{\n type: Input,\n args: ['mat-dialog-close']\n }], _matDialogClose: [{\n type: Input,\n args: ['matDialogClose']\n }] } });\n/**\n * Title of a dialog element. Stays fixed to the top of the dialog when scrolling.\n */\nclass MatDialogTitle {\n constructor(\n // The dialog title directive is always used in combination with a `MatDialogRef`.\n // tslint:disable-next-line: lightweight-tokens\n _dialogRef, _elementRef, _dialog) {\n this._dialogRef = _dialogRef;\n this._elementRef = _elementRef;\n this._dialog = _dialog;\n this.id = `mat-mdc-dialog-title-${dialogElementUid++}`;\n }\n ngOnInit() {\n if (!this._dialogRef) {\n this._dialogRef = getClosestDialog(this._elementRef, this._dialog.openDialogs);\n }\n if (this._dialogRef) {\n Promise.resolve().then(() => {\n const container = this._dialogRef._containerInstance;\n if (container && !container._ariaLabelledBy) {\n container._ariaLabelledBy = this.id;\n }\n });\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDialogTitle, deps: [{ token: MatDialogRef, optional: true }, { token: i0.ElementRef }, { token: MatDialog }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatDialogTitle, selector: \"[mat-dialog-title], [matDialogTitle]\", inputs: { id: \"id\" }, host: { properties: { \"id\": \"id\" }, classAttribute: \"mat-mdc-dialog-title mdc-dialog__title\" }, exportAs: [\"matDialogTitle\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDialogTitle, decorators: [{\n type: Directive,\n args: [{\n selector: '[mat-dialog-title], [matDialogTitle]',\n exportAs: 'matDialogTitle',\n host: {\n 'class': 'mat-mdc-dialog-title mdc-dialog__title',\n '[id]': 'id',\n },\n }]\n }], ctorParameters: function () { return [{ type: MatDialogRef, decorators: [{\n type: Optional\n }] }, { type: i0.ElementRef }, { type: MatDialog }]; }, propDecorators: { id: [{\n type: Input\n }] } });\n/**\n * Scrollable content container of a dialog.\n */\nclass MatDialogContent {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDialogContent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatDialogContent, selector: \"[mat-dialog-content], mat-dialog-content, [matDialogContent]\", host: { classAttribute: \"mat-mdc-dialog-content mdc-dialog__content\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDialogContent, decorators: [{\n type: Directive,\n args: [{\n selector: `[mat-dialog-content], mat-dialog-content, [matDialogContent]`,\n host: { 'class': 'mat-mdc-dialog-content mdc-dialog__content' },\n }]\n }] });\n/**\n * Container for the bottom action buttons in a dialog.\n * Stays fixed to the bottom when scrolling.\n */\nclass MatDialogActions {\n constructor() {\n /**\n * Horizontal alignment of action buttons.\n */\n this.align = 'start';\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDialogActions, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatDialogActions, selector: \"[mat-dialog-actions], mat-dialog-actions, [matDialogActions]\", inputs: { align: \"align\" }, host: { properties: { \"class.mat-mdc-dialog-actions-align-center\": \"align === \\\"center\\\"\", \"class.mat-mdc-dialog-actions-align-end\": \"align === \\\"end\\\"\" }, classAttribute: \"mat-mdc-dialog-actions mdc-dialog__actions\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDialogActions, decorators: [{\n type: Directive,\n args: [{\n selector: `[mat-dialog-actions], mat-dialog-actions, [matDialogActions]`,\n host: {\n 'class': 'mat-mdc-dialog-actions mdc-dialog__actions',\n '[class.mat-mdc-dialog-actions-align-center]': 'align === \"center\"',\n '[class.mat-mdc-dialog-actions-align-end]': 'align === \"end\"',\n },\n }]\n }], propDecorators: { align: [{\n type: Input\n }] } });\n/**\n * Finds the closest MatDialogRef to an element by looking at the DOM.\n * @param element Element relative to which to look for a dialog.\n * @param openDialogs References to the currently-open dialogs.\n */\nfunction getClosestDialog(element, openDialogs) {\n let parent = element.nativeElement.parentElement;\n while (parent && !parent.classList.contains('mat-mdc-dialog-container')) {\n parent = parent.parentElement;\n }\n return parent ? openDialogs.find(dialog => dialog.id === parent.id) : null;\n}\n\nclass MatDialogModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDialogModule, declarations: [MatDialogContainer,\n MatDialogClose,\n MatDialogTitle,\n MatDialogActions,\n MatDialogContent], imports: [DialogModule, OverlayModule, PortalModule, MatCommonModule], exports: [MatDialogContainer,\n MatDialogClose,\n MatDialogTitle,\n MatDialogContent,\n MatDialogActions,\n MatCommonModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDialogModule, providers: [MatDialog, MAT_DIALOG_SCROLL_STRATEGY_PROVIDER], imports: [DialogModule, OverlayModule, PortalModule, MatCommonModule, MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDialogModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [DialogModule, OverlayModule, PortalModule, MatCommonModule],\n exports: [\n MatDialogContainer,\n MatDialogClose,\n MatDialogTitle,\n MatDialogContent,\n MatDialogActions,\n MatCommonModule,\n ],\n declarations: [\n MatDialogContainer,\n MatDialogClose,\n MatDialogTitle,\n MatDialogActions,\n MatDialogContent,\n ],\n providers: [MatDialog, MAT_DIALOG_SCROLL_STRATEGY_PROVIDER],\n }]\n }] });\n\n/**\n * Default parameters for the animation for backwards compatibility.\n * @docs-private\n */\nconst _defaultParams = {\n params: { enterAnimationDuration: '150ms', exitAnimationDuration: '75ms' },\n};\n/**\n * Animations used by MatDialog.\n * @docs-private\n */\nconst matDialogAnimations = {\n /** Animation that is applied on the dialog container by default. */\n dialogContainer: trigger('dialogContainer', [\n // Note: The `enter` animation transitions to `transform: none`, because for some reason\n // specifying the transform explicitly, causes IE both to blur the dialog content and\n // decimate the animation performance. Leaving it as `none` solves both issues.\n state('void, exit', style({ opacity: 0, transform: 'scale(0.7)' })),\n state('enter', style({ transform: 'none' })),\n transition('* => enter', group([\n animate('{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)', style({ transform: 'none', opacity: 1 })),\n query('@*', animateChild(), { optional: true }),\n ]), _defaultParams),\n transition('* => void, * => exit', group([\n animate('{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)', style({ opacity: 0 })),\n query('@*', animateChild(), { optional: true }),\n ]), _defaultParams),\n ]),\n};\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MAT_DIALOG_DATA, MAT_DIALOG_DEFAULT_OPTIONS, MAT_DIALOG_SCROLL_STRATEGY, MAT_DIALOG_SCROLL_STRATEGY_FACTORY, MAT_DIALOG_SCROLL_STRATEGY_PROVIDER, MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY, MatDialog, MatDialogActions, MatDialogClose, MatDialogConfig, MatDialogContainer, MatDialogContent, MatDialogModule, MatDialogRef, MatDialogTitle, _MatDialogBase, _MatDialogContainerBase, _closeDialogVia, _defaultParams, matDialogAnimations };\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import toPropertyKey from \"./toPropertyKey.js\";\nexport default function _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","import defineProperty from \"./defineProperty.js\";\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n return keys;\n}\nexport default function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40]} \ No newline at end of file diff --git a/5146.b387d5f410c1016d.js b/5146.b387d5f410c1016d.js new file mode 100644 index 0000000..bff613a --- /dev/null +++ b/5146.b387d5f410c1016d.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[5146,3022,5106,7376,5187,4091,1217,7208,4968,6785,4155,1084,6896,7920,6980,5113,1328,5749,4309,8024,8513,5555,4967,8017,8116,5873,8061,4680,2111,3326,8596,8352,5501,882,3098,8467,6578,4093,8608,8443,7328,5915,3278,5391,6748,1551,6763,4151,5069,7432,8071,6618],{50253:(D,u,e)=>{e.d(u,{x:()=>U});var i=e(95106),s=e(78069),t=e(48047),r=e(4089),a=e(20265),l=e(24582),o=e(28694),_=e(90833),m=e(17714),M=(0,e(27543).d)(function(R){return function(){R(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),P=e(39663),b=e(12309),U=function(){var R=function(Z){(0,l.Z)(B,Z);var T=(0,o.Z)(B);function B(){var E;return(0,s.Z)(this,B),(E=T.call(this)).closed=!1,E.currentObservers=null,E.observers=[],E.isStopped=!1,E.hasError=!1,E.thrownError=null,E}return(0,t.Z)(B,[{key:"lift",value:function(c){var y=new L(this,this);return y.operator=c,y}},{key:"_throwIfClosed",value:function(){if(this.closed)throw new M}},{key:"next",value:function(c){var y=this;(0,b.x)(function(){if(y._throwIfClosed(),!y.isStopped){y.currentObservers||(y.currentObservers=Array.from(y.observers));var d,I=(0,i.Z)(y.currentObservers);try{for(I.s();!(d=I.n()).done;)d.value.next(c)}catch(C){I.e(C)}finally{I.f()}}})}},{key:"error",value:function(c){var y=this;(0,b.x)(function(){if(y._throwIfClosed(),!y.isStopped){y.hasError=y.isStopped=!0,y.thrownError=c;for(var I=y.observers;I.length;)I.shift().error(c)}})}},{key:"complete",value:function(){var c=this;(0,b.x)(function(){if(c._throwIfClosed(),!c.isStopped){c.isStopped=!0;for(var y=c.observers;y.length;)y.shift().complete()}})}},{key:"unsubscribe",value:function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}},{key:"observed",get:function(){var c;return(null===(c=this.observers)||void 0===c?void 0:c.length)>0}},{key:"_trySubscribe",value:function(c){return this._throwIfClosed(),(0,r.Z)((0,a.Z)(B.prototype),"_trySubscribe",this).call(this,c)}},{key:"_subscribe",value:function(c){return this._throwIfClosed(),this._checkFinalizedStatuses(c),this._innerSubscribe(c)}},{key:"_innerSubscribe",value:function(c){var y=this,x=this.observers;return this.hasError||this.isStopped?m.Lc:(this.currentObservers=null,x.push(c),new m.w0(function(){y.currentObservers=null,(0,P.P)(x,c)}))}},{key:"_checkFinalizedStatuses",value:function(c){var d=this.isStopped;this.hasError?c.error(this.thrownError):d&&c.complete()}},{key:"asObservable",value:function(){var c=new _.y;return c.source=this,c}}]),B}(_.y);return R.create=function(Z,T){return new L(Z,T)},R}(),L=function(R){(0,l.Z)(T,R);var Z=(0,o.Z)(T);function T(B,E){var c;return(0,s.Z)(this,T),(c=Z.call(this)).destination=B,c.source=E,c}return(0,t.Z)(T,[{key:"next",value:function(E){var c,y;null===(y=null===(c=this.destination)||void 0===c?void 0:c.next)||void 0===y||y.call(c,E)}},{key:"error",value:function(E){var c,y;null===(y=null===(c=this.destination)||void 0===c?void 0:c.error)||void 0===y||y.call(c,E)}},{key:"complete",value:function(){var E,c;null===(c=null===(E=this.destination)||void 0===E?void 0:E.complete)||void 0===c||c.call(E)}},{key:"_subscribe",value:function(E){var c,y;return null!==(y=null===(c=this.source)||void 0===c?void 0:c.subscribe(E))&&void 0!==y?y:m.Lc}}]),T}(U)},59319:(D,u,e)=>{e.d(u,{z:()=>a});var i=e(1308),t=e(10420),r=e(37400);function a(){for(var l=arguments.length,o=new Array(l),_=0;_<l;_++)o[_]=arguments[_];return function s(){return(0,i.J)(1)}()((0,r.D)(o,(0,t.yG)(o)))}},20591:(D,u,e)=>{e.d(u,{E:()=>s});var s=new(e(90833).y)(function(a){return a.complete()})},37400:(D,u,e)=>{e.d(u,{D:()=>I});var i=e(54987),s=e(8728),t=e(41944);function r(d){var x=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,t.e)(function(C,S){S.add(d.schedule(function(){return C.subscribe(S)},x))})}var o=e(90833),m=e(67321),n=e(92971),M=e(1817);function b(d,x){if(!d)throw new Error("Iterable cannot be null");return new o.y(function(C){(0,M.f)(C,x,function(){var S=d[Symbol.asyncIterator]();(0,M.f)(C,x,function(){S.next().then(function(j){j.done?C.complete():C.next(j.value)})},0,!0)})})}var U=e(21331),L=e(79548),R=e(99806),Z=e(23433),T=e(80470),B=e(27785),E=e(20181);function I(d,x){return x?function y(d,x){if(null!=d){if((0,U.c)(d))return function a(d,x){return(0,i.Xf)(d).pipe(r(x),(0,s.Q)(x))}(d,x);if((0,R.z)(d))return function _(d,x){return new o.y(function(C){var S=0;return x.schedule(function(){S===d.length?C.complete():(C.next(d[S++]),C.closed||this.schedule())})})}(d,x);if((0,L.t)(d))return function l(d,x){return(0,i.Xf)(d).pipe(r(x),(0,s.Q)(x))}(d,x);if((0,T.D)(d))return b(d,x);if((0,Z.T)(d))return function P(d,x){return new o.y(function(C){var S;return(0,M.f)(C,x,function(){S=d[m.h](),(0,M.f)(C,x,function(){var j,H;try{var F=S.next();j=F.value,H=F.done}catch(X){return void C.error(X)}H?C.complete():C.next(j)},0,!0)}),function(){return(0,n.m)(S?.return)&&S.return()}})}(d,x);if((0,E.L)(d))return function c(d,x){return b((0,E.Q)(d),x)}(d,x)}throw(0,B.z)(d)}(d,x):(0,i.Xf)(d)}},36646:(D,u,e)=>{e.d(u,{T:()=>l});var i=e(1308),s=e(54987),t=e(20591),r=e(10420),a=e(37400);function l(){for(var o=arguments.length,_=new Array(o),m=0;m<o;m++)_[m]=arguments[m];var n=(0,r.yG)(_),M=(0,r._6)(_,1/0),P=_;return P.length?1===P.length?(0,s.Xf)(P[0]):(0,i.J)(M)((0,a.D)(P,n)):t.E}},93945:(D,u,e)=>{e.d(u,{Q:()=>n,x:()=>m});var i=e(78069),s=e(48047),t=e(35488),r=e(24582),a=e(28694),l=e(4089),o=e(20265);function m(M,P,b,U,L){return new n(M,P,b,U,L)}var n=function(M){(0,r.Z)(b,M);var P=(0,a.Z)(b);function b(U,L,R,Z,T,B){var E,c,y,I;return(0,i.Z)(this,b),(I=P.call(this,U)).onFinalize=T,I.shouldUnsubscribe=B,I._next=L?function(d){try{L(d)}catch(x){U.error(x)}}:(0,l.Z)((E=(0,t.Z)(I),(0,o.Z)(b.prototype)),"_next",E),I._error=Z?function(d){try{Z(d)}catch(x){U.error(x)}finally{this.unsubscribe()}}:(0,l.Z)((c=(0,t.Z)(I),(0,o.Z)(b.prototype)),"_error",c),I._complete=R?function(){try{R()}catch(d){U.error(d)}finally{this.unsubscribe()}}:(0,l.Z)((y=(0,t.Z)(I),(0,o.Z)(b.prototype)),"_complete",y),I}return(0,s.Z)(b,[{key:"unsubscribe",value:function(){var L;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var R=this.closed;(0,l.Z)((0,o.Z)(b.prototype),"unsubscribe",this).call(this),!R&&(null===(L=this.onFinalize)||void 0===L||L.call(this))}}}]),b}(e(5463).Lv)},98977:(D,u,e)=>{e.d(u,{x:()=>r});var i=e(89173),s=e(41944),t=e(93945);function r(l){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.y;return l=l??a,(0,s.e)(function(_,m){var n,M=!0;_.subscribe((0,t.x)(m,function(P){var b=o(P);(M||!l(n,b))&&(M=!1,n=b,m.next(P))}))})}function a(l,o){return l===o}},60116:(D,u,e)=>{e.d(u,{h:()=>t});var i=e(41944),s=e(93945);function t(r,a){return(0,i.e)(function(l,o){var _=0;l.subscribe((0,s.x)(o,function(m){return r.call(a,m,_++)&&o.next(m)}))})}},50635:(D,u,e)=>{e.d(u,{U:()=>t});var i=e(41944),s=e(93945);function t(r,a){return(0,i.e)(function(l,o){var _=0;l.subscribe((0,s.x)(o,function(m){o.next(r.call(a,m,_++))}))})}},1308:(D,u,e)=>{e.d(u,{J:()=>t});var i=e(49525),s=e(89173);function t(){return(0,i.z)(s.y,arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0)}},49525:(D,u,e)=>{e.d(u,{z:()=>_});var i=e(50635),s=e(54987),t=e(41944),r=e(1817),a=e(93945),o=e(92971);function _(m,n){var M=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;return(0,o.m)(n)?_(function(P,b){return(0,i.U)(function(U,L){return n(P,U,b,L)})((0,s.Xf)(m(P,b)))},M):("number"==typeof n&&(M=n),(0,t.e)(function(P,b){return function l(m,n,M,P,b,U,L,R){var Z=[],T=0,B=0,E=!1,c=function(){E&&!Z.length&&!T&&n.complete()},y=function(x){return T<P?I(x):Z.push(x)},I=function d(x){U&&n.next(x),T++;var C=!1;(0,s.Xf)(M(x,B++)).subscribe((0,a.x)(n,function(S){b?.(S),U?y(S):n.next(S)},function(){C=!0},void 0,function(){if(C)try{T--;for(var S=function(){var H=Z.shift();L?(0,r.f)(n,L,function(){return d(H)}):d(H)};Z.length&&T<P;)S();c()}catch(j){n.error(j)}}))};return m.subscribe((0,a.x)(n,y,function(){E=!0,c()})),function(){R?.()}}(P,b,m,M)}))}},8728:(D,u,e)=>{e.d(u,{Q:()=>r});var i=e(1817),s=e(41944),t=e(93945);function r(a){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,s.e)(function(o,_){o.subscribe((0,t.x)(_,function(m){return(0,i.f)(_,a,function(){return _.next(m)},l)},function(){return(0,i.f)(_,a,function(){return _.complete()},l)},function(m){return(0,i.f)(_,a,function(){return _.error(m)},l)}))})}},44874:(D,u,e)=>{e.d(u,{O:()=>r});var i=e(59319),s=e(10420),t=e(41944);function r(){for(var a=arguments.length,l=new Array(a),o=0;o<a;o++)l[o]=arguments[o];var _=(0,s.yG)(l);return(0,t.e)(function(m,n){(_?(0,i.z)(l,m,_):(0,i.z)(l,m)).subscribe(n)})}},59295:(D,u,e)=>{e.d(u,{q:()=>r});var i=e(20591),s=e(41944),t=e(93945);function r(a){return a<=0?function(){return i.E}:(0,s.e)(function(l,o){var _=0;l.subscribe((0,t.x)(o,function(m){++_<=a&&(o.next(m),a<=_&&o.complete())}))})}},10420:(D,u,e)=>{e.d(u,{_6:()=>l,jO:()=>r,yG:()=>a});var i=e(92971),s=e(59867);function t(o){return o[o.length-1]}function r(o){return(0,i.m)(t(o))?o.pop():void 0}function a(o){return(0,s.K)(t(o))?o.pop():void 0}function l(o,_){return"number"==typeof t(o)?o.pop():_}},1817:(D,u,e)=>{function i(s,t,r){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,l=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=t.schedule(function(){r(),l?s.add(this.schedule(null,a)):this.unsubscribe()},a);if(s.add(o),!l)return o}e.d(u,{f:()=>i})},59867:(D,u,e)=>{e.d(u,{K:()=>s});var i=e(92971);function s(t){return t&&(0,i.m)(t.schedule)}},41944:(D,u,e)=>{e.d(u,{A:()=>s,e:()=>t});var i=e(92971);function s(r){return(0,i.m)(r?.lift)}function t(r){return function(a){if(s(a))return a.lift(function(l){try{return r(l,this)}catch(o){this.error(o)}});throw new TypeError("Unable to lift unknown Observable type")}}},61884:(D,u,e)=>{e.r(u),e.d(u,{EXPANSION_PANEL_ANIMATION_TIMING:()=>V,MAT_ACCORDION:()=>z,MAT_EXPANSION_PANEL:()=>Y,MAT_EXPANSION_PANEL_DEFAULT_OPTIONS:()=>J,MatAccordion:()=>de,MatExpansionModule:()=>ue,MatExpansionPanel:()=>ee,MatExpansionPanelActionRow:()=>oe,MatExpansionPanelContent:()=>q,MatExpansionPanelDescription:()=>se,MatExpansionPanelHeader:()=>ne,MatExpansionPanelTitle:()=>le,matExpansionAnimations:()=>G});var i=e(4089),s=e(20265),t=e(24582),r=e(28694),a=e(48047),l=e(78069),o=e(19759),_=e(18142),m=e(94055),n=e(56718),M=e(6606),P=e(35333),b=e(908),U=e(98977),L=e(44874),R=e(60116),Z=e(59295),T=e(52069),B=e(33401),E=e(50253),c=e(17714),y=e(20591),I=e(36646),d=e(72223),x=e(81382),C=["body"];function S(h,O){}var j=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],H=["mat-expansion-panel-header","*","mat-action-row"];function F(h,O){if(1&h&&n.\u0275\u0275element(0,"span",2),2&h){var g=n.\u0275\u0275nextContext();n.\u0275\u0275property("@indicatorRotate",g._getExpandedState())}}var X=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],te=["mat-panel-title","mat-panel-description","*"],z=new n.InjectionToken("MAT_ACCORDION"),V="225ms cubic-bezier(0.4,0.0,0.2,1)",G={indicatorRotate:(0,d.X$)("indicatorRotate",[(0,d.SB)("collapsed, void",(0,d.oB)({transform:"rotate(0deg)"})),(0,d.SB)("expanded",(0,d.oB)({transform:"rotate(180deg)"})),(0,d.eR)("expanded <=> collapsed, void => collapsed",(0,d.jt)(V))]),bodyExpansion:(0,d.X$)("bodyExpansion",[(0,d.SB)("collapsed, void",(0,d.oB)({height:"0px",visibility:"hidden"})),(0,d.SB)("expanded",(0,d.oB)({height:"*",visibility:"visible"})),(0,d.eR)("expanded <=> collapsed, void => collapsed",(0,d.jt)(V))])},Y=new n.InjectionToken("MAT_EXPANSION_PANEL"),q=function(){var h=(0,a.Z)(function O(g,v){(0,l.Z)(this,O),this._template=g,this._expansionPanel=v});return h.\u0275fac=function(g){return new(g||h)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(Y,8))},h.\u0275dir=n.\u0275\u0275defineDirective({type:h,selectors:[["ng-template","matExpansionPanelContent",""]]}),h}(),ae=0,J=new n.InjectionToken("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),ee=function(){var h=function(O){(0,t.Z)(v,O);var g=(0,r.Z)(v);function v(f,p,w,N,k,$,Q){var A;return(0,l.Z)(this,v),(A=g.call(this,f,p,w))._viewContainerRef=N,A._animationMode=$,A._hideToggle=!1,A.afterExpand=new n.EventEmitter,A.afterCollapse=new n.EventEmitter,A._inputChanges=new E.x,A._headerId="mat-expansion-panel-header-".concat(ae++),A._bodyAnimationDone=new E.x,A.accordion=f,A._document=k,A._bodyAnimationDone.pipe((0,U.x)(function(W,K){return W.fromState===K.fromState&&W.toState===K.toState})).subscribe(function(W){"void"!==W.fromState&&("expanded"===W.toState?A.afterExpand.emit():"collapsed"===W.toState&&A.afterCollapse.emit())}),Q&&(A.hideToggle=Q.hideToggle),A}return(0,a.Z)(v,[{key:"hideToggle",get:function(){return this._hideToggle||this.accordion&&this.accordion.hideToggle},set:function(p){this._hideToggle=(0,P.coerceBooleanProperty)(p)}},{key:"togglePosition",get:function(){return this._togglePosition||this.accordion&&this.accordion.togglePosition},set:function(p){this._togglePosition=p}},{key:"_hasSpacing",value:function(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}},{key:"_getExpandedState",value:function(){return this.expanded?"expanded":"collapsed"}},{key:"toggle",value:function(){this.expanded=!this.expanded}},{key:"close",value:function(){this.expanded=!1}},{key:"open",value:function(){this.expanded=!0}},{key:"ngAfterContentInit",value:function(){var p=this;this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe((0,L.O)(null),(0,R.h)(function(){return p.expanded&&!p._portal}),(0,Z.q)(1)).subscribe(function(){p._portal=new _.TemplatePortal(p._lazyContent._template,p._viewContainerRef)})}},{key:"ngOnChanges",value:function(p){this._inputChanges.next(p)}},{key:"ngOnDestroy",value:function(){(0,i.Z)((0,s.Z)(v.prototype),"ngOnDestroy",this).call(this),this._bodyAnimationDone.complete(),this._inputChanges.complete()}},{key:"_containsFocus",value:function(){if(this._body){var p=this._document.activeElement,w=this._body.nativeElement;return p===w||w.contains(p)}return!1}}]),v}(o.CdkAccordionItem);return h.\u0275fac=function(g){return new(g||h)(n.\u0275\u0275directiveInject(z,12),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(x.UniqueSelectionDispatcher),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(m.DOCUMENT),n.\u0275\u0275directiveInject(B.ANIMATION_MODULE_TYPE,8),n.\u0275\u0275directiveInject(J,8))},h.\u0275cmp=n.\u0275\u0275defineComponent({type:h,selectors:[["mat-expansion-panel"]],contentQueries:function(g,v,f){var p;1&g&&n.\u0275\u0275contentQuery(f,q,5),2&g&&n.\u0275\u0275queryRefresh(p=n.\u0275\u0275loadQuery())&&(v._lazyContent=p.first)},viewQuery:function(g,v){var f;1&g&&n.\u0275\u0275viewQuery(C,5),2&g&&n.\u0275\u0275queryRefresh(f=n.\u0275\u0275loadQuery())&&(v._body=f.first)},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(g,v){2&g&&n.\u0275\u0275classProp("mat-expanded",v.expanded)("_mat-animation-noopable","NoopAnimations"===v._animationMode)("mat-expansion-panel-spacing",v._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[n.\u0275\u0275ProvidersFeature([{provide:z,useValue:void 0},{provide:Y,useExisting:h}]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature],ngContentSelectors:H,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(g,v){1&g&&(n.\u0275\u0275projectionDef(j),n.\u0275\u0275projection(0),n.\u0275\u0275elementStart(1,"div",0,1),n.\u0275\u0275listener("@bodyExpansion.done",function(p){return v._bodyAnimationDone.next(p)}),n.\u0275\u0275elementStart(3,"div",2),n.\u0275\u0275projection(4,1),n.\u0275\u0275template(5,S,0,0,"ng-template",3),n.\u0275\u0275elementEnd(),n.\u0275\u0275projection(6,2),n.\u0275\u0275elementEnd()),2&g&&(n.\u0275\u0275advance(1),n.\u0275\u0275property("@bodyExpansion",v._getExpandedState())("id",v.id),n.\u0275\u0275attribute("aria-labelledby",v._headerId),n.\u0275\u0275advance(4),n.\u0275\u0275property("cdkPortalOutlet",v._portal))},dependencies:[_.CdkPortalOutlet],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[G.bodyExpansion]},changeDetection:0}),h}(),oe=function(){var h=(0,a.Z)(function O(){(0,l.Z)(this,O)});return h.\u0275fac=function(g){return new(g||h)},h.\u0275dir=n.\u0275\u0275defineDirective({type:h,selectors:[["mat-action-row"]],hostAttrs:[1,"mat-action-row"]}),h}(),ie=(0,M.mixinTabIndex)((0,a.Z)(function h(){(0,l.Z)(this,h)})),ne=function(){var h=function(O){(0,t.Z)(v,O);var g=(0,r.Z)(v);function v(f,p,w,N,k,$,Q){var A;(0,l.Z)(this,v),(A=g.call(this)).panel=f,A._element=p,A._focusMonitor=w,A._changeDetectorRef=N,A._animationMode=$,A._parentChangeSubscription=c.w0.EMPTY;var W=f.accordion?f.accordion._stateChanges.pipe((0,R.h)(function(K){return!(!K.hideToggle&&!K.togglePosition)})):y.E;return A.tabIndex=parseInt(Q||"")||0,A._parentChangeSubscription=(0,I.T)(f.opened,f.closed,W,f._inputChanges.pipe((0,R.h)(function(K){return!!(K.hideToggle||K.disabled||K.togglePosition)}))).subscribe(function(){return A._changeDetectorRef.markForCheck()}),f.closed.pipe((0,R.h)(function(){return f._containsFocus()})).subscribe(function(){return w.focusVia(p,"program")}),k&&(A.expandedHeight=k.expandedHeight,A.collapsedHeight=k.collapsedHeight),A}return(0,a.Z)(v,[{key:"disabled",get:function(){return this.panel.disabled}},{key:"_toggle",value:function(){this.disabled||this.panel.toggle()}},{key:"_isExpanded",value:function(){return this.panel.expanded}},{key:"_getExpandedState",value:function(){return this.panel._getExpandedState()}},{key:"_getPanelId",value:function(){return this.panel.id}},{key:"_getTogglePosition",value:function(){return this.panel.togglePosition}},{key:"_showToggle",value:function(){return!this.panel.hideToggle&&!this.panel.disabled}},{key:"_getHeaderHeight",value:function(){var p=this._isExpanded();return p&&this.expandedHeight?this.expandedHeight:!p&&this.collapsedHeight?this.collapsedHeight:null}},{key:"_keydown",value:function(p){switch(p.keyCode){case T.SPACE:case T.ENTER:(0,T.hasModifierKey)(p)||(p.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(p))}}},{key:"focus",value:function(p,w){p?this._focusMonitor.focusVia(this._element,p,w):this._element.nativeElement.focus(w)}},{key:"ngAfterViewInit",value:function(){var p=this;this._focusMonitor.monitor(this._element).subscribe(function(w){w&&p.panel.accordion&&p.panel.accordion._handleHeaderFocus(p)})}},{key:"ngOnDestroy",value:function(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}]),v}(ie);return h.\u0275fac=function(g){return new(g||h)(n.\u0275\u0275directiveInject(ee,1),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(b.FocusMonitor),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(J,8),n.\u0275\u0275directiveInject(B.ANIMATION_MODULE_TYPE,8),n.\u0275\u0275injectAttribute("tabindex"))},h.\u0275cmp=n.\u0275\u0275defineComponent({type:h,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(g,v){1&g&&n.\u0275\u0275listener("click",function(){return v._toggle()})("keydown",function(p){return v._keydown(p)}),2&g&&(n.\u0275\u0275attribute("id",v.panel._headerId)("tabindex",v.tabIndex)("aria-controls",v._getPanelId())("aria-expanded",v._isExpanded())("aria-disabled",v.panel.disabled),n.\u0275\u0275styleProp("height",v._getHeaderHeight()),n.\u0275\u0275classProp("mat-expanded",v._isExpanded())("mat-expansion-toggle-indicator-after","after"===v._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===v._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===v._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:te,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(g,v){1&g&&(n.\u0275\u0275projectionDef(X),n.\u0275\u0275elementStart(0,"span",0),n.\u0275\u0275projection(1),n.\u0275\u0275projection(2,1),n.\u0275\u0275projection(3,2),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(4,F,1,1,"span",1)),2&g&&(n.\u0275\u0275classProp("mat-content-hide-toggle",!v._showToggle()),n.\u0275\u0275advance(4),n.\u0275\u0275property("ngIf",v._showToggle()))},dependencies:[m.NgIf],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[G.indicatorRotate]},changeDetection:0}),h}(),se=function(){var h=(0,a.Z)(function O(){(0,l.Z)(this,O)});return h.\u0275fac=function(g){return new(g||h)},h.\u0275dir=n.\u0275\u0275defineDirective({type:h,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),h}(),le=function(){var h=(0,a.Z)(function O(){(0,l.Z)(this,O)});return h.\u0275fac=function(g){return new(g||h)},h.\u0275dir=n.\u0275\u0275defineDirective({type:h,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),h}(),de=function(){var h=function(O){(0,t.Z)(v,O);var g=(0,r.Z)(v);function v(){var f;return(0,l.Z)(this,v),(f=g.apply(this,arguments))._ownHeaders=new n.QueryList,f._hideToggle=!1,f.displayMode="default",f.togglePosition="after",f}return(0,a.Z)(v,[{key:"hideToggle",get:function(){return this._hideToggle},set:function(p){this._hideToggle=(0,P.coerceBooleanProperty)(p)}},{key:"ngAfterContentInit",value:function(){var p=this;this._headers.changes.pipe((0,L.O)(this._headers)).subscribe(function(w){p._ownHeaders.reset(w.filter(function(N){return N.panel.accordion===p})),p._ownHeaders.notifyOnChanges()}),this._keyManager=new b.FocusKeyManager(this._ownHeaders).withWrap().withHomeAndEnd()}},{key:"_handleHeaderKeydown",value:function(p){this._keyManager.onKeydown(p)}},{key:"_handleHeaderFocus",value:function(p){this._keyManager.updateActiveItem(p)}},{key:"ngOnDestroy",value:function(){var p;(0,i.Z)((0,s.Z)(v.prototype),"ngOnDestroy",this).call(this),null===(p=this._keyManager)||void 0===p||p.destroy(),this._ownHeaders.destroy()}}]),v}(o.CdkAccordion);return h.\u0275fac=function(){var O;return function(v){return(O||(O=n.\u0275\u0275getInheritedFactory(h)))(v||h)}}(),h.\u0275dir=n.\u0275\u0275defineDirective({type:h,selectors:[["mat-accordion"]],contentQueries:function(g,v,f){var p;1&g&&n.\u0275\u0275contentQuery(f,ne,5),2&g&&n.\u0275\u0275queryRefresh(p=n.\u0275\u0275loadQuery())&&(v._headers=p)},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(g,v){2&g&&n.\u0275\u0275classProp("mat-accordion-multi",v.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[n.\u0275\u0275ProvidersFeature([{provide:z,useExisting:h}]),n.\u0275\u0275InheritDefinitionFeature]}),h}(),ue=function(){var h=(0,a.Z)(function O(){(0,l.Z)(this,O)});return h.\u0275fac=function(g){return new(g||h)},h.\u0275mod=n.\u0275\u0275defineNgModule({type:h}),h.\u0275inj=n.\u0275\u0275defineInjector({imports:[m.CommonModule,M.MatCommonModule,o.CdkAccordionModule,_.PortalModule]}),h}()},44841:(D,u,e)=>{function i(s,t){(null==t||t>s.length)&&(t=s.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=s[r];return a}e.d(u,{Z:()=>i})},35488:(D,u,e)=>{function i(s){if(void 0===s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s}e.d(u,{Z:()=>i})},95106:(D,u,e)=>{e.d(u,{Z:()=>s});var i=e(44206);function s(t,r){var a=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!a){if(Array.isArray(t)||(a=(0,i.Z)(t))||r&&t&&"number"==typeof t.length){a&&(t=a);var l=0,o=function(){};return{s:o,n:function(){return l>=t.length?{done:!0}:{done:!1,value:t[l++]}},e:function(P){throw P},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,_=!0,m=!1;return{s:function(){a=a.call(t)},n:function(){var P=a.next();return _=P.done,P},e:function(P){m=!0,n=P},f:function(){try{!_&&null!=a.return&&a.return()}finally{if(m)throw n}}}}},28694:(D,u,e)=>{e.d(u,{Z:()=>l});var i=e(20265),s=e(98568),t=e(43445),r=e(35488);function l(o){var _=(0,s.Z)();return function(){var M,n=(0,i.Z)(o);if(_){var P=(0,i.Z)(this).constructor;M=Reflect.construct(n,arguments,P)}else M=n.apply(this,arguments);return function a(o,_){if(_&&("object"===(0,t.Z)(_)||"function"==typeof _))return _;if(void 0!==_)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(o)}(this,M)}}},4089:(D,u,e)=>{e.d(u,{Z:()=>t});var i=e(20265);function t(){return t=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(a,l,o){var _=function s(r,a){for(;!Object.prototype.hasOwnProperty.call(r,a)&&null!==(r=(0,i.Z)(r)););return r}(a,l);if(_){var m=Object.getOwnPropertyDescriptor(_,l);return m.get?m.get.call(arguments.length<3?a:o):m.value}},t.apply(this,arguments)}},20265:(D,u,e)=>{function i(s){return(i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)})(s)}e.d(u,{Z:()=>i})},24582:(D,u,e)=>{e.d(u,{Z:()=>s});var i=e(10006);function s(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),r&&(0,i.Z)(t,r)}},98568:(D,u,e)=>{function i(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(u,{Z:()=>i})},4826:(D,u,e)=>{function i(s){if(typeof Symbol<"u"&&null!=s[Symbol.iterator]||null!=s["@@iterator"])return Array.from(s)}e.d(u,{Z:()=>i})},10006:(D,u,e)=>{function i(s,t){return(i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,l){return a.__proto__=l,a})(s,t)}e.d(u,{Z:()=>i})},86170:(D,u,e)=>{e.d(u,{Z:()=>l});var i=e(44841),t=e(4826),r=e(44206);function l(o){return function s(o){if(Array.isArray(o))return(0,i.Z)(o)}(o)||(0,t.Z)(o)||(0,r.Z)(o)||function a(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(D,u,e)=>{e.d(u,{Z:()=>s});var i=e(44841);function s(t,r){if(t){if("string"==typeof t)return(0,i.Z)(t,r);var a=Object.prototype.toString.call(t).slice(8,-1);if("Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return(0,i.Z)(t,r)}}}}]); +//# sourceMappingURL=5146.b387d5f410c1016d.js.map \ No newline at end of file diff --git a/5146.b387d5f410c1016d.js.map b/5146.b387d5f410c1016d.js.map new file mode 100644 index 0000000..837efe1 --- /dev/null +++ b/5146.b387d5f410c1016d.js.map @@ -0,0 +1 @@ +{"version":3,"file":"5146.b387d5f410c1016d.js","mappings":"ucACaA,cAA0BC,GAAiB,SAACC,GAAM,OAAK,WAChEA,EAAOC,MACPA,KAAKC,KAAO,0BACZD,KAAKE,QAAU,qBACnB,CAAC,yBCAYC,EAAO,eAAPA,EAAO,SAAAC,IAAAC,OAAAF,EAAAC,GAAA,IAAAL,KAAAO,KAAAH,GAChB,SAAAA,IAAc,IAAAI,EAAAC,cAAAR,KAAAG,IACVI,EAAAR,EAAAU,KAAAT,OACKU,QAAS,EACdH,EAAKI,iBAAmB,KACxBJ,EAAKK,UAAY,GACjBL,EAAKM,WAAY,EACjBN,EAAKO,UAAW,EAChBP,EAAKQ,YAAc,KAAKR,CAC5B,CAACS,cAAAb,EAAA,EAAAc,IAAA,OAAAC,MACD,SAAKC,GACD,IAAMC,EAAU,IAAIC,EAAiBrB,KAAMA,MAC3CoB,SAAQD,SAAWA,EACZC,CACX,GAAC,CAAAH,IAAA,iBAAAC,MACD,WACI,GAAIlB,KAAKU,OACL,MAAM,IAAIb,CAElB,GAAC,CAAAoB,IAAA,OAAA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Apa,KAAAwY,QAAAC,UAAA0B,QAAA,mBACA,CACA,OACA,QACA,CACA,kCCVe,SAAAE,EAAAC,GACf,UAAAxV,OAAA,WAAAwV,EAAAxV,OAAAD,WAAA,MAAAyV,EAAA,qBAAAtZ,MAAAC,KAAAqZ,EACA,mCCFe,SAAAC,EAAAlD,EAAAmD,GACf,OAAAD,EAAAnB,OAAAI,eAAAJ,OAAAI,eAAAX,OAAA,SAAAxB,EAAAmD,GACA,OAAAnD,EAAAoC,UAAAe,EACAnD,CACA,GACAA,EAAAmD,EACA,wFCFe,SAAAC,EAAAnQ,GACf,OCJe,SAAAoQ,EAAApQ,GACf,GAAAtJ,MAAAwW,QAAAlN,GAAA,SAAiCqQ,EAAAjD,GAAgBpN,EACjD,CDESoQ,CAAiBpQ,KAAA,EAASsQ,EAAAlD,GAAepN,KAAA,EAASuQ,EAAAnD,GAA0BpN,IELtE,SAAAwQ,IACf,UAAA3P,UAAA,uIACA,CFG8F2P,EAC9F,mDGLe,SAAAC,EAAA1D,EAAA2D,GACf,GAAA3D,EACA,qBAAAA,EAAA,SAAoC4D,EAAAvD,GAAgBL,EAAA2D,GACpD,IAAA1Z,EAAA8X,OAAA7W,UAAA2Y,SAAAlb,KAAAqX,GAAA8D,MAAA,MAEA,GADA,WAAA7Z,GAAA+V,EAAAkB,cAAAjX,EAAA+V,EAAAkB,YAAA/Y,MACA,QAAA8B,GAAA,QAAAA,EAAA,OAAAN,MAAAC,KAAAoW,GACA,iBAAA/V,GAAA,2CAAA8Z,KAAA9Z,GAAA,SAAsF2Z,EAAAvD,GAAgBL,EAAA2D,EAAA,CACtG","names":["ObjectUnsubscribedError","createErrorClass","_super","this","name","message","Subject","_Observable","_inherits","_createSuper","_this","_classCallCheck","call","closed","currentObservers","observers","isStopped","hasError","thrownError","_createClass","key","value","operator","subject","AnonymousSubject","_this2","errorContext","_throwIfClosed","Array","from","_step","_iterator","_createForOfIteratorHelper","s","n","done","next","err","e","f","_this3","length","shift","error","_this4","complete","get","_a","subscriber","_get","_getPrototypeOf","prototype","_checkFinalizedStatuses","_innerSubscribe","_this5","EMPTY_SUBSCRIPTION","push","Subscription","arrRemove","observable","Observable","source","create","destination","_Subject","_super2","_this6","_b","subscribe","concat","_len","arguments","args","_key","concatAll","mergeAll","popScheduler","EMPTY","subscribeOn","scheduler","delay","undefined","operate","add","schedule","scheduleAsyncIterable","input","Error","executeSchedule","iterator","Symbol","asyncIterator","then","result","scheduled","isInteropObservable","scheduleObservable","innerFrom","pipe","observeOn","isArrayLike","scheduleArray","i","isPromise","schedulePromise","isAsyncIterable","isIterable","scheduleIterable","Symbol_iterator","_iterator$next","isFunction","return","isReadableStreamLike","scheduleReadableStreamLike","readableStreamLikeToAsyncGenerator","createInvalidObservableTypeError","merge","concurrent","popNumber","Infinity","sources","createOperatorSubscriber","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_next","_assertThisInitialized","_error","unsubscribe","_complete","Subscriber","distinctUntilChanged","comparator","keySelector","identity","defaultCompare","previousKey","first","currentKey","a","b","filter","predicate","thisArg","index","map","project","mergeMap","resultSelector","ii","mergeInternals","onBeforeNext","expand","innerSubScheduler","additionalFinalizer","buffer","active","isComplete","checkComplete","outerNext","doInnerSub","innerComplete","innerValue","_loop","bufferedValue","startWith","values","take","count","seen","last","arr","popResultSelector","pop","isScheduler","defaultValue","parentSubscription","work","repeat","scheduleSubscription","hasLift","lift","init","liftedSource","TypeError","_c0","MatExpansionPanel_ng_template_5_Template","rf","ctx","_c1","_c2","MatExpansionPanelHeader_span_4_Template","i0","ctx_r0","_getExpandedState","_c3","_c4","MAT_ACCORDION","InjectionToken","EXPANSION_PANEL_ANIMATION_TIMING","matExpansionAnimations","indicatorRotate","trigger","state","style","transform","transition","animate","bodyExpansion","height","visibility","MAT_EXPANSION_PANEL","MatExpansionPanelContent","_template","_expansionPanel","ɵfac","t","ɵdir","type","selectors","uniqueId","MAT_EXPANSION_PANEL_DEFAULT_OPTIONS","MatExpansionPanel","_CdkAccordionItem","accordion","_changeDetectorRef","_uniqueSelectionDispatcher","_viewContainerRef","_document","_animationMode","defaultOptions","_hideToggle","afterExpand","EventEmitter","afterCollapse","_inputChanges","_headerId","_bodyAnimationDone","x","y","fromState","toState","event","emit","hideToggle","set","coerceBooleanProperty","_togglePosition","togglePosition","expanded","displayMode","_lazyContent","opened","_portal","TemplatePortal","changes","_body","focusedElement","activeElement","bodyElement","nativeElement","contains","CdkAccordionItem","i1","DOCUMENT","ANIMATION_MODULE_TYPE","ɵcmp","contentQueries","dirIndex","_t","viewQuery","hostAttrs","hostVars","hostBindings","_hasSpacing","inputs","disabled","outputs","expandedChange","exportAs","features","provide","useValue","useExisting","ngContentSelectors","decls","vars","consts","template","$event","id","dependencies","i2","styles","encapsulation","data","animation","changeDetection","MatExpansionPanelActionRow","_MatExpansionPanelHeaderMixinBase","mixinTabIndex","MatExpansionPanelHeaderBase","MatExpansionPanelHeader","_MatExpansionPanelHea","panel","_element","_focusMonitor","tabIndex","_parentChangeSubscription","accordionHideToggleChange","_stateChanges","parseInt","markForCheck","_containsFocus","focusVia","expandedHeight","collapsedHeight","toggle","isExpanded","_isExpanded","keyCode","SPACE","ENTER","hasModifierKey","preventDefault","_toggle","_handleHeaderKeydown","origin","options","focus","monitor","_handleHeaderFocus","stopMonitoring","i2$1","_keydown","_getPanelId","_getHeaderHeight","_getTogglePosition","_showToggle","i3","MatExpansionPanelDescription","MatExpansionPanelTitle","MatAccordion","_CdkAccordion","_super3","apply","_ownHeaders","QueryList","show","_headers","headers","reset","header","notifyOnChanges","_keyManager","FocusKeyManager","withWrap","withHomeAndEnd","onKeydown","updateActiveItem","_this$_keyManager","destroy","CdkAccordion","ɵMatAccordion_BaseFactory","multi","MatExpansionModule","ɵmod","ɵinj","imports","CommonModule","MatCommonModule","CdkAccordionModule","PortalModule","_arrayLikeToArray","len","arr2","self","ReferenceError","o","allowArrayLike","it","isArray","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","_e","normalCompletion","didErr","step","_e2","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Super","getPrototypeOf","NewTarget","constructor","Reflect","construct","_possibleConstructorReturn","esm_typeof","assertThisInitialized","bind","target","property","receiver","base","_superPropBase","object","Object","hasOwnProperty","desc","getOwnPropertyDescriptor","setPrototypeOf","__proto__","subClass","superClass","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_iterableToArray","iter","_setPrototypeOf","p","_toConsumableArray","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","toString","slice","test"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/util/ObjectUnsubscribedError.js","./node_modules/rxjs/dist/esm/internal/Subject.js","./node_modules/rxjs/dist/esm/internal/observable/concat.js","./node_modules/rxjs/dist/esm/internal/operators/concatAll.js","./node_modules/rxjs/dist/esm/internal/observable/empty.js","./node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleAsyncIterable.js","./node_modules/rxjs/dist/esm/internal/observable/from.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduled.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleObservable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleArray.js","./node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleIterable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleReadableStreamLike.js","./node_modules/rxjs/dist/esm/internal/observable/merge.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/distinctUntilChanged.js","./node_modules/rxjs/dist/esm/internal/operators/filter.js","./node_modules/rxjs/dist/esm/internal/operators/map.js","./node_modules/rxjs/dist/esm/internal/operators/mergeAll.js","./node_modules/rxjs/dist/esm/internal/operators/mergeMap.js","./node_modules/rxjs/dist/esm/internal/operators/mergeInternals.js","./node_modules/rxjs/dist/esm/internal/operators/observeOn.js","./node_modules/rxjs/dist/esm/internal/operators/startWith.js","./node_modules/rxjs/dist/esm/internal/operators/take.js","./node_modules/rxjs/dist/esm/internal/util/args.js","./node_modules/rxjs/dist/esm/internal/util/executeSchedule.js","./node_modules/rxjs/dist/esm/internal/util/isScheduler.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/@angular/material/fesm2022/expansion.mjs","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { createErrorClass } from './createErrorClass';\nexport const ObjectUnsubscribedError = createErrorClass((_super) => function ObjectUnsubscribedErrorImpl() {\n _super(this);\n this.name = 'ObjectUnsubscribedError';\n this.message = 'object unsubscribed';\n});\n","import { Observable } from './Observable';\nimport { Subscription, EMPTY_SUBSCRIPTION } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { arrRemove } from './util/arrRemove';\nimport { errorContext } from './util/errorContext';\nexport class Subject extends Observable {\n constructor() {\n super();\n this.closed = false;\n this.currentObservers = null;\n this.observers = [];\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n lift(operator) {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n }\n _throwIfClosed() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n }\n next(value) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n if (!this.currentObservers) {\n this.currentObservers = Array.from(this.observers);\n }\n for (const observer of this.currentObservers) {\n observer.next(value);\n }\n }\n });\n }\n error(err) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.hasError = this.isStopped = true;\n this.thrownError = err;\n const { observers } = this;\n while (observers.length) {\n observers.shift().error(err);\n }\n }\n });\n }\n complete() {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.isStopped = true;\n const { observers } = this;\n while (observers.length) {\n observers.shift().complete();\n }\n }\n });\n }\n unsubscribe() {\n this.isStopped = this.closed = true;\n this.observers = this.currentObservers = null;\n }\n get observed() {\n var _a;\n return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;\n }\n _trySubscribe(subscriber) {\n this._throwIfClosed();\n return super._trySubscribe(subscriber);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._checkFinalizedStatuses(subscriber);\n return this._innerSubscribe(subscriber);\n }\n _innerSubscribe(subscriber) {\n const { hasError, isStopped, observers } = this;\n if (hasError || isStopped) {\n return EMPTY_SUBSCRIPTION;\n }\n this.currentObservers = null;\n observers.push(subscriber);\n return new Subscription(() => {\n this.currentObservers = null;\n arrRemove(observers, subscriber);\n });\n }\n _checkFinalizedStatuses(subscriber) {\n const { hasError, thrownError, isStopped } = this;\n if (hasError) {\n subscriber.error(thrownError);\n }\n else if (isStopped) {\n subscriber.complete();\n }\n }\n asObservable() {\n const observable = new Observable();\n observable.source = this;\n return observable;\n }\n}\nSubject.create = (destination, source) => {\n return new AnonymousSubject(destination, source);\n};\nexport class AnonymousSubject extends Subject {\n constructor(destination, source) {\n super();\n this.destination = destination;\n this.source = source;\n }\n next(value) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);\n }\n error(err) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);\n }\n complete() {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);\n }\n _subscribe(subscriber) {\n var _a, _b;\n return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;\n }\n}\n","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}\n","import { mergeAll } from './mergeAll';\nexport function concatAll() {\n return mergeAll(1);\n}\n","import { Observable } from '../Observable';\nexport const EMPTY = new Observable((subscriber) => subscriber.complete());\nexport function empty(scheduler) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n return new Observable((subscriber) => scheduler.schedule(() => subscriber.complete()));\n}\n","import { operate } from '../util/lift';\nexport function subscribeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay));\n });\n}\n","import { Observable } from '../Observable';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleAsyncIterable(input, scheduler) {\n if (!input) {\n throw new Error('Iterable cannot be null');\n }\n return new Observable((subscriber) => {\n executeSchedule(subscriber, scheduler, () => {\n const iterator = input[Symbol.asyncIterator]();\n executeSchedule(subscriber, scheduler, () => {\n iterator.next().then((result) => {\n if (result.done) {\n subscriber.complete();\n }\n else {\n subscriber.next(result.value);\n }\n });\n }, 0, true);\n });\n });\n}\n","import { scheduled } from '../scheduled/scheduled';\nimport { innerFrom } from './innerFrom';\nexport function from(input, scheduler) {\n return scheduler ? scheduled(input, scheduler) : innerFrom(input);\n}\n","import { scheduleObservable } from './scheduleObservable';\nimport { schedulePromise } from './schedulePromise';\nimport { scheduleArray } from './scheduleArray';\nimport { scheduleIterable } from './scheduleIterable';\nimport { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isPromise } from '../util/isPromise';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isIterable } from '../util/isIterable';\nimport { isAsyncIterable } from '../util/isAsyncIterable';\nimport { createInvalidObservableTypeError } from '../util/throwUnobservableError';\nimport { isReadableStreamLike } from '../util/isReadableStreamLike';\nimport { scheduleReadableStreamLike } from './scheduleReadableStreamLike';\nexport function scheduled(input, scheduler) {\n if (input != null) {\n if (isInteropObservable(input)) {\n return scheduleObservable(input, scheduler);\n }\n if (isArrayLike(input)) {\n return scheduleArray(input, scheduler);\n }\n if (isPromise(input)) {\n return schedulePromise(input, scheduler);\n }\n if (isAsyncIterable(input)) {\n return scheduleAsyncIterable(input, scheduler);\n }\n if (isIterable(input)) {\n return scheduleIterable(input, scheduler);\n }\n if (isReadableStreamLike(input)) {\n return scheduleReadableStreamLike(input, scheduler);\n }\n }\n throw createInvalidObservableTypeError(input);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function scheduleObservable(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nexport function scheduleArray(input, scheduler) {\n return new Observable((subscriber) => {\n let i = 0;\n return scheduler.schedule(function () {\n if (i === input.length) {\n subscriber.complete();\n }\n else {\n subscriber.next(input[i++]);\n if (!subscriber.closed) {\n this.schedule();\n }\n }\n });\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function schedulePromise(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from '../util/isFunction';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleIterable(input, scheduler) {\n return new Observable((subscriber) => {\n let iterator;\n executeSchedule(subscriber, scheduler, () => {\n iterator = input[Symbol_iterator]();\n executeSchedule(subscriber, scheduler, () => {\n let value;\n let done;\n try {\n ({ value, done } = iterator.next());\n }\n catch (err) {\n subscriber.error(err);\n return;\n }\n if (done) {\n subscriber.complete();\n }\n else {\n subscriber.next(value);\n }\n }, 0, true);\n });\n return () => isFunction(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return();\n });\n}\n","import { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { readableStreamLikeToAsyncGenerator } from '../util/isReadableStreamLike';\nexport function scheduleReadableStreamLike(input, scheduler) {\n return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);\n}\n","import { mergeAll } from '../operators/mergeAll';\nimport { innerFrom } from './innerFrom';\nimport { EMPTY } from './empty';\nimport { popNumber, popScheduler } from '../util/args';\nimport { from } from './from';\nexport function merge(...args) {\n const scheduler = popScheduler(args);\n const concurrent = popNumber(args, Infinity);\n const sources = args;\n return !sources.length\n ?\n EMPTY\n : sources.length === 1\n ?\n innerFrom(sources[0])\n :\n mergeAll(concurrent)(from(sources, scheduler));\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","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 if (first || !comparator(previousKey, currentKey)) {\n first = false;\n previousKey = currentKey;\n subscriber.next(value);\n }\n }));\n });\n}\nfunction defaultCompare(a, b) {\n return a === b;\n}\n","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}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function map(project, thisArg) {\n return operate((source, subscriber) => {\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n subscriber.next(project.call(thisArg, value, index++));\n }));\n });\n}\n","import { mergeMap } from './mergeMap';\nimport { identity } from '../util/identity';\nexport function mergeAll(concurrent = Infinity) {\n return mergeMap(identity, concurrent);\n}\n","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 }\n else if (typeof resultSelector === 'number') {\n concurrent = resultSelector;\n }\n return operate((source, subscriber) => mergeInternals(source, subscriber, project, concurrent));\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { executeSchedule } from '../util/executeSchedule';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function mergeInternals(source, subscriber, project, concurrent, onBeforeNext, expand, innerSubScheduler, additionalFinalizer) {\n const buffer = [];\n let active = 0;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => {\n if (isComplete && !buffer.length && !active) {\n subscriber.complete();\n }\n };\n const outerNext = (value) => (active < concurrent ? doInnerSub(value) : buffer.push(value));\n const doInnerSub = (value) => {\n expand && subscriber.next(value);\n active++;\n let innerComplete = false;\n innerFrom(project(value, index++)).subscribe(createOperatorSubscriber(subscriber, (innerValue) => {\n onBeforeNext === null || onBeforeNext === void 0 ? void 0 : onBeforeNext(innerValue);\n if (expand) {\n outerNext(innerValue);\n }\n else {\n subscriber.next(innerValue);\n }\n }, () => {\n innerComplete = true;\n }, undefined, () => {\n if (innerComplete) {\n try {\n active--;\n while (buffer.length && active < concurrent) {\n const bufferedValue = buffer.shift();\n if (innerSubScheduler) {\n executeSchedule(subscriber, innerSubScheduler, () => doInnerSub(bufferedValue));\n }\n else {\n doInnerSub(bufferedValue);\n }\n }\n checkComplete();\n }\n catch (err) {\n subscriber.error(err);\n }\n }\n }));\n };\n source.subscribe(createOperatorSubscriber(subscriber, outerNext, () => {\n isComplete = true;\n checkComplete();\n }));\n return () => {\n additionalFinalizer === null || additionalFinalizer === void 0 ? void 0 : additionalFinalizer();\n };\n}\n","import { executeSchedule } from '../util/executeSchedule';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function observeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, (value) => executeSchedule(subscriber, scheduler, () => subscriber.next(value), delay), () => executeSchedule(subscriber, scheduler, () => subscriber.complete(), delay), (err) => executeSchedule(subscriber, scheduler, () => subscriber.error(err), delay)));\n });\n}\n","import { concat } from '../observable/concat';\nimport { popScheduler } from '../util/args';\nimport { operate } from '../util/lift';\nexport function startWith(...values) {\n const scheduler = popScheduler(values);\n return operate((source, subscriber) => {\n (scheduler ? concat(values, source, scheduler) : concat(values, source)).subscribe(subscriber);\n });\n}\n","import { EMPTY } from '../observable/empty';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function take(count) {\n return count <= 0\n ?\n () => EMPTY\n : operate((source, subscriber) => {\n let seen = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n if (++seen <= count) {\n subscriber.next(value);\n if (count <= seen) {\n subscriber.complete();\n }\n }\n }));\n });\n}\n","import { isFunction } from './isFunction';\nimport { isScheduler } from './isScheduler';\nfunction last(arr) {\n return arr[arr.length - 1];\n}\nexport function popResultSelector(args) {\n return isFunction(last(args)) ? args.pop() : undefined;\n}\nexport function popScheduler(args) {\n return isScheduler(last(args)) ? args.pop() : undefined;\n}\nexport function popNumber(args, defaultValue) {\n return typeof last(args) === 'number' ? args.pop() : defaultValue;\n}\n","export function executeSchedule(parentSubscription, scheduler, work, delay = 0, repeat = false) {\n const scheduleSubscription = scheduler.schedule(function () {\n work();\n if (repeat) {\n parentSubscription.add(this.schedule(null, delay));\n }\n else {\n this.unsubscribe();\n }\n }, delay);\n parentSubscription.add(scheduleSubscription);\n if (!repeat) {\n return scheduleSubscription;\n }\n}\n","import { isFunction } from './isFunction';\nexport function isScheduler(value) {\n return value && isFunction(value.schedule);\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","import { CdkAccordionItem, CdkAccordion, CdkAccordionModule } from '@angular/cdk/accordion';\nimport * as i2 from '@angular/cdk/portal';\nimport { TemplatePortal, PortalModule } from '@angular/cdk/portal';\nimport * as i3 from '@angular/common';\nimport { DOCUMENT, CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { InjectionToken, Directive, Inject, Optional, EventEmitter, Component, ViewEncapsulation, ChangeDetectionStrategy, SkipSelf, Input, Output, ContentChild, ViewChild, Host, Attribute, QueryList, ContentChildren, NgModule } from '@angular/core';\nimport { mixinTabIndex, MatCommonModule } from '@angular/material/core';\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport * as i2$1 from '@angular/cdk/a11y';\nimport { FocusKeyManager } from '@angular/cdk/a11y';\nimport { distinctUntilChanged, startWith, filter, take } from 'rxjs/operators';\nimport { ENTER, hasModifierKey, SPACE } from '@angular/cdk/keycodes';\nimport { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';\nimport { Subject, Subscription, EMPTY, merge } from 'rxjs';\nimport { trigger, state, style, transition, animate } from '@angular/animations';\nimport * as i1 from '@angular/cdk/collections';\n\n/**\n * Token used to provide a `MatAccordion` to `MatExpansionPanel`.\n * Used primarily to avoid circular imports between `MatAccordion` and `MatExpansionPanel`.\n */\nconst MAT_ACCORDION = new InjectionToken('MAT_ACCORDION');\n\n/** Time and timing curve for expansion panel animations. */\n// Note: Keep this in sync with the Sass variable for the panel header animation.\nconst EXPANSION_PANEL_ANIMATION_TIMING = '225ms cubic-bezier(0.4,0.0,0.2,1)';\n/**\n * Animations used by the Material expansion panel.\n *\n * A bug in angular animation's `state` when ViewContainers are moved using ViewContainerRef.move()\n * causes the animation state of moved components to become `void` upon exit, and not update again\n * upon reentry into the DOM. This can lead a to situation for the expansion panel where the state\n * of the panel is `expanded` or `collapsed` but the animation state is `void`.\n *\n * To correctly handle animating to the next state, we animate between `void` and `collapsed` which\n * are defined to have the same styles. Since angular animates from the current styles to the\n * destination state's style definition, in situations where we are moving from `void`'s styles to\n * `collapsed` this acts a noop since no style values change.\n *\n * In the case where angular's animation state is out of sync with the expansion panel's state, the\n * expansion panel being `expanded` and angular animations being `void`, the animation from the\n * `expanded`'s effective styles (though in a `void` animation state) to the collapsed state will\n * occur as expected.\n *\n * Angular Bug: https://github.com/angular/angular/issues/18847\n *\n * @docs-private\n */\nconst matExpansionAnimations = {\n /** Animation that rotates the indicator arrow. */\n indicatorRotate: trigger('indicatorRotate', [\n state('collapsed, void', style({ transform: 'rotate(0deg)' })),\n state('expanded', style({ transform: 'rotate(180deg)' })),\n transition('expanded <=> collapsed, void => collapsed', animate(EXPANSION_PANEL_ANIMATION_TIMING)),\n ]),\n /** Animation that expands and collapses the panel content. */\n bodyExpansion: trigger('bodyExpansion', [\n state('collapsed, void', style({ height: '0px', visibility: 'hidden' })),\n state('expanded', style({ height: '*', visibility: 'visible' })),\n transition('expanded <=> collapsed, void => collapsed', animate(EXPANSION_PANEL_ANIMATION_TIMING)),\n ]),\n};\n\n/**\n * Token used to provide a `MatExpansionPanel` to `MatExpansionPanelContent`.\n * Used to avoid circular imports between `MatExpansionPanel` and `MatExpansionPanelContent`.\n */\nconst MAT_EXPANSION_PANEL = new InjectionToken('MAT_EXPANSION_PANEL');\n\n/**\n * Expansion panel content that will be rendered lazily\n * after the panel is opened for the first time.\n */\nclass MatExpansionPanelContent {\n constructor(_template, _expansionPanel) {\n this._template = _template;\n this._expansionPanel = _expansionPanel;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatExpansionPanelContent, deps: [{ token: i0.TemplateRef }, { token: MAT_EXPANSION_PANEL, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatExpansionPanelContent, selector: \"ng-template[matExpansionPanelContent]\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatExpansionPanelContent, decorators: [{\n type: Directive,\n args: [{\n selector: 'ng-template[matExpansionPanelContent]',\n }]\n }], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: undefined, decorators: [{\n type: Inject,\n args: [MAT_EXPANSION_PANEL]\n }, {\n type: Optional\n }] }]; } });\n\n/** Counter for generating unique element ids. */\nlet uniqueId = 0;\n/**\n * Injection token that can be used to configure the default\n * options for the expansion panel component.\n */\nconst MAT_EXPANSION_PANEL_DEFAULT_OPTIONS = new InjectionToken('MAT_EXPANSION_PANEL_DEFAULT_OPTIONS');\n/**\n * This component can be used as a single element to show expandable content, or as one of\n * multiple children of an element with the MatAccordion directive attached.\n */\nclass MatExpansionPanel extends CdkAccordionItem {\n /** Whether the toggle indicator should be hidden. */\n get hideToggle() {\n return this._hideToggle || (this.accordion && this.accordion.hideToggle);\n }\n set hideToggle(value) {\n this._hideToggle = coerceBooleanProperty(value);\n }\n /** The position of the expansion indicator. */\n get togglePosition() {\n return this._togglePosition || (this.accordion && this.accordion.togglePosition);\n }\n set togglePosition(value) {\n this._togglePosition = value;\n }\n constructor(accordion, _changeDetectorRef, _uniqueSelectionDispatcher, _viewContainerRef, _document, _animationMode, defaultOptions) {\n super(accordion, _changeDetectorRef, _uniqueSelectionDispatcher);\n this._viewContainerRef = _viewContainerRef;\n this._animationMode = _animationMode;\n this._hideToggle = false;\n /** An event emitted after the body's expansion animation happens. */\n this.afterExpand = new EventEmitter();\n /** An event emitted after the body's collapse animation happens. */\n this.afterCollapse = new EventEmitter();\n /** Stream that emits for changes in `@Input` properties. */\n this._inputChanges = new Subject();\n /** ID for the associated header element. Used for a11y labelling. */\n this._headerId = `mat-expansion-panel-header-${uniqueId++}`;\n /** Stream of body animation done events. */\n this._bodyAnimationDone = new Subject();\n this.accordion = accordion;\n this._document = _document;\n // We need a Subject with distinctUntilChanged, because the `done` event\n // fires twice on some browsers. See https://github.com/angular/angular/issues/24084\n this._bodyAnimationDone\n .pipe(distinctUntilChanged((x, y) => {\n return x.fromState === y.fromState && x.toState === y.toState;\n }))\n .subscribe(event => {\n if (event.fromState !== 'void') {\n if (event.toState === 'expanded') {\n this.afterExpand.emit();\n }\n else if (event.toState === 'collapsed') {\n this.afterCollapse.emit();\n }\n }\n });\n if (defaultOptions) {\n this.hideToggle = defaultOptions.hideToggle;\n }\n }\n /** Determines whether the expansion panel should have spacing between it and its siblings. */\n _hasSpacing() {\n if (this.accordion) {\n return this.expanded && this.accordion.displayMode === 'default';\n }\n return false;\n }\n /** Gets the expanded state string. */\n _getExpandedState() {\n return this.expanded ? 'expanded' : 'collapsed';\n }\n /** Toggles the expanded state of the expansion panel. */\n toggle() {\n this.expanded = !this.expanded;\n }\n /** Sets the expanded state of the expansion panel to false. */\n close() {\n this.expanded = false;\n }\n /** Sets the expanded state of the expansion panel to true. */\n open() {\n this.expanded = true;\n }\n ngAfterContentInit() {\n if (this._lazyContent && this._lazyContent._expansionPanel === this) {\n // Render the content as soon as the panel becomes open.\n this.opened\n .pipe(startWith(null), filter(() => this.expanded && !this._portal), take(1))\n .subscribe(() => {\n this._portal = new TemplatePortal(this._lazyContent._template, this._viewContainerRef);\n });\n }\n }\n ngOnChanges(changes) {\n this._inputChanges.next(changes);\n }\n ngOnDestroy() {\n super.ngOnDestroy();\n this._bodyAnimationDone.complete();\n this._inputChanges.complete();\n }\n /** Checks whether the expansion panel's content contains the currently-focused element. */\n _containsFocus() {\n if (this._body) {\n const focusedElement = this._document.activeElement;\n const bodyElement = this._body.nativeElement;\n return focusedElement === bodyElement || bodyElement.contains(focusedElement);\n }\n return false;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatExpansionPanel, deps: [{ token: MAT_ACCORDION, optional: true, skipSelf: true }, { token: i0.ChangeDetectorRef }, { token: i1.UniqueSelectionDispatcher }, { token: i0.ViewContainerRef }, { token: DOCUMENT }, { token: ANIMATION_MODULE_TYPE, optional: true }, { token: MAT_EXPANSION_PANEL_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatExpansionPanel, selector: \"mat-expansion-panel\", inputs: { disabled: \"disabled\", expanded: \"expanded\", hideToggle: \"hideToggle\", togglePosition: \"togglePosition\" }, outputs: { opened: \"opened\", closed: \"closed\", expandedChange: \"expandedChange\", afterExpand: \"afterExpand\", afterCollapse: \"afterCollapse\" }, host: { properties: { \"class.mat-expanded\": \"expanded\", \"class._mat-animation-noopable\": \"_animationMode === \\\"NoopAnimations\\\"\", \"class.mat-expansion-panel-spacing\": \"_hasSpacing()\" }, classAttribute: \"mat-expansion-panel\" }, providers: [\n // Provide MatAccordion as undefined to prevent nested expansion panels from registering\n // to the same accordion.\n { provide: MAT_ACCORDION, useValue: undefined },\n { provide: MAT_EXPANSION_PANEL, useExisting: MatExpansionPanel },\n ], queries: [{ propertyName: \"_lazyContent\", first: true, predicate: MatExpansionPanelContent, descendants: true }], viewQueries: [{ propertyName: \"_body\", first: true, predicate: [\"body\"], descendants: true }], exportAs: [\"matExpansionPanel\"], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: \"<ng-content select=\\\"mat-expansion-panel-header\\\"></ng-content>\\n<div class=\\\"mat-expansion-panel-content\\\"\\n role=\\\"region\\\"\\n [@bodyExpansion]=\\\"_getExpandedState()\\\"\\n (@bodyExpansion.done)=\\\"_bodyAnimationDone.next($event)\\\"\\n [attr.aria-labelledby]=\\\"_headerId\\\"\\n [id]=\\\"id\\\"\\n #body>\\n <div class=\\\"mat-expansion-panel-body\\\">\\n <ng-content></ng-content>\\n <ng-template [cdkPortalOutlet]=\\\"_portal\\\"></ng-template>\\n </div>\\n <ng-content select=\\\"mat-action-row\\\"></ng-content>\\n</div>\\n\", styles: [\".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-content[style*=\\\"visibility: hidden\\\"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}\"], dependencies: [{ kind: \"directive\", type: i2.CdkPortalOutlet, selector: \"[cdkPortalOutlet]\", inputs: [\"cdkPortalOutlet\"], outputs: [\"attached\"], exportAs: [\"cdkPortalOutlet\"] }], animations: [matExpansionAnimations.bodyExpansion], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatExpansionPanel, decorators: [{\n type: Component,\n args: [{ selector: 'mat-expansion-panel', exportAs: 'matExpansionPanel', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, inputs: ['disabled', 'expanded'], outputs: ['opened', 'closed', 'expandedChange'], animations: [matExpansionAnimations.bodyExpansion], providers: [\n // Provide MatAccordion as undefined to prevent nested expansion panels from registering\n // to the same accordion.\n { provide: MAT_ACCORDION, useValue: undefined },\n { provide: MAT_EXPANSION_PANEL, useExisting: MatExpansionPanel },\n ], host: {\n 'class': 'mat-expansion-panel',\n '[class.mat-expanded]': 'expanded',\n '[class._mat-animation-noopable]': '_animationMode === \"NoopAnimations\"',\n '[class.mat-expansion-panel-spacing]': '_hasSpacing()',\n }, template: \"<ng-content select=\\\"mat-expansion-panel-header\\\"></ng-content>\\n<div class=\\\"mat-expansion-panel-content\\\"\\n role=\\\"region\\\"\\n [@bodyExpansion]=\\\"_getExpandedState()\\\"\\n (@bodyExpansion.done)=\\\"_bodyAnimationDone.next($event)\\\"\\n [attr.aria-labelledby]=\\\"_headerId\\\"\\n [id]=\\\"id\\\"\\n #body>\\n <div class=\\\"mat-expansion-panel-body\\\">\\n <ng-content></ng-content>\\n <ng-template [cdkPortalOutlet]=\\\"_portal\\\"></ng-template>\\n </div>\\n <ng-content select=\\\"mat-action-row\\\"></ng-content>\\n</div>\\n\", styles: [\".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-content[style*=\\\"visibility: hidden\\\"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}\"] }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Optional\n }, {\n type: SkipSelf\n }, {\n type: Inject,\n args: [MAT_ACCORDION]\n }] }, { type: i0.ChangeDetectorRef }, { type: i1.UniqueSelectionDispatcher }, { type: i0.ViewContainerRef }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [MAT_EXPANSION_PANEL_DEFAULT_OPTIONS]\n }, {\n type: Optional\n }] }]; }, propDecorators: { hideToggle: [{\n type: Input\n }], togglePosition: [{\n type: Input\n }], afterExpand: [{\n type: Output\n }], afterCollapse: [{\n type: Output\n }], _lazyContent: [{\n type: ContentChild,\n args: [MatExpansionPanelContent]\n }], _body: [{\n type: ViewChild,\n args: ['body']\n }] } });\n/**\n * Actions of a `<mat-expansion-panel>`.\n */\nclass MatExpansionPanelActionRow {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatExpansionPanelActionRow, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatExpansionPanelActionRow, selector: \"mat-action-row\", host: { classAttribute: \"mat-action-row\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatExpansionPanelActionRow, decorators: [{\n type: Directive,\n args: [{\n selector: 'mat-action-row',\n host: {\n class: 'mat-action-row',\n },\n }]\n }] });\n\n// Boilerplate for applying mixins to MatExpansionPanelHeader.\n/** @docs-private */\nclass MatExpansionPanelHeaderBase {\n}\nconst _MatExpansionPanelHeaderMixinBase = mixinTabIndex(MatExpansionPanelHeaderBase);\n/**\n * Header element of a `<mat-expansion-panel>`.\n */\nclass MatExpansionPanelHeader extends _MatExpansionPanelHeaderMixinBase {\n constructor(panel, _element, _focusMonitor, _changeDetectorRef, defaultOptions, _animationMode, tabIndex) {\n super();\n this.panel = panel;\n this._element = _element;\n this._focusMonitor = _focusMonitor;\n this._changeDetectorRef = _changeDetectorRef;\n this._animationMode = _animationMode;\n this._parentChangeSubscription = Subscription.EMPTY;\n const accordionHideToggleChange = panel.accordion\n ? panel.accordion._stateChanges.pipe(filter(changes => !!(changes['hideToggle'] || changes['togglePosition'])))\n : EMPTY;\n this.tabIndex = parseInt(tabIndex || '') || 0;\n // Since the toggle state depends on an @Input on the panel, we\n // need to subscribe and trigger change detection manually.\n this._parentChangeSubscription = merge(panel.opened, panel.closed, accordionHideToggleChange, panel._inputChanges.pipe(filter(changes => {\n return !!(changes['hideToggle'] || changes['disabled'] || changes['togglePosition']);\n }))).subscribe(() => this._changeDetectorRef.markForCheck());\n // Avoids focus being lost if the panel contained the focused element and was closed.\n panel.closed\n .pipe(filter(() => panel._containsFocus()))\n .subscribe(() => _focusMonitor.focusVia(_element, 'program'));\n if (defaultOptions) {\n this.expandedHeight = defaultOptions.expandedHeight;\n this.collapsedHeight = defaultOptions.collapsedHeight;\n }\n }\n /**\n * Whether the associated panel is disabled. Implemented as a part of `FocusableOption`.\n * @docs-private\n */\n get disabled() {\n return this.panel.disabled;\n }\n /** Toggles the expanded state of the panel. */\n _toggle() {\n if (!this.disabled) {\n this.panel.toggle();\n }\n }\n /** Gets whether the panel is expanded. */\n _isExpanded() {\n return this.panel.expanded;\n }\n /** Gets the expanded state string of the panel. */\n _getExpandedState() {\n return this.panel._getExpandedState();\n }\n /** Gets the panel id. */\n _getPanelId() {\n return this.panel.id;\n }\n /** Gets the toggle position for the header. */\n _getTogglePosition() {\n return this.panel.togglePosition;\n }\n /** Gets whether the expand indicator should be shown. */\n _showToggle() {\n return !this.panel.hideToggle && !this.panel.disabled;\n }\n /**\n * Gets the current height of the header. Null if no custom height has been\n * specified, and if the default height from the stylesheet should be used.\n */\n _getHeaderHeight() {\n const isExpanded = this._isExpanded();\n if (isExpanded && this.expandedHeight) {\n return this.expandedHeight;\n }\n else if (!isExpanded && this.collapsedHeight) {\n return this.collapsedHeight;\n }\n return null;\n }\n /** Handle keydown event calling to toggle() if appropriate. */\n _keydown(event) {\n switch (event.keyCode) {\n // Toggle for space and enter keys.\n case SPACE:\n case ENTER:\n if (!hasModifierKey(event)) {\n event.preventDefault();\n this._toggle();\n }\n break;\n default:\n if (this.panel.accordion) {\n this.panel.accordion._handleHeaderKeydown(event);\n }\n return;\n }\n }\n /**\n * Focuses the panel header. Implemented as a part of `FocusableOption`.\n * @param origin Origin of the action that triggered the focus.\n * @docs-private\n */\n focus(origin, options) {\n if (origin) {\n this._focusMonitor.focusVia(this._element, origin, options);\n }\n else {\n this._element.nativeElement.focus(options);\n }\n }\n ngAfterViewInit() {\n this._focusMonitor.monitor(this._element).subscribe(origin => {\n if (origin && this.panel.accordion) {\n this.panel.accordion._handleHeaderFocus(this);\n }\n });\n }\n ngOnDestroy() {\n this._parentChangeSubscription.unsubscribe();\n this._focusMonitor.stopMonitoring(this._element);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatExpansionPanelHeader, deps: [{ token: MatExpansionPanel, host: true }, { token: i0.ElementRef }, { token: i2$1.FocusMonitor }, { token: i0.ChangeDetectorRef }, { token: MAT_EXPANSION_PANEL_DEFAULT_OPTIONS, optional: true }, { token: ANIMATION_MODULE_TYPE, optional: true }, { token: 'tabindex', attribute: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatExpansionPanelHeader, selector: \"mat-expansion-panel-header\", inputs: { tabIndex: \"tabIndex\", expandedHeight: \"expandedHeight\", collapsedHeight: \"collapsedHeight\" }, host: { attributes: { \"role\": \"button\" }, listeners: { \"click\": \"_toggle()\", \"keydown\": \"_keydown($event)\" }, properties: { \"attr.id\": \"panel._headerId\", \"attr.tabindex\": \"tabIndex\", \"attr.aria-controls\": \"_getPanelId()\", \"attr.aria-expanded\": \"_isExpanded()\", \"attr.aria-disabled\": \"panel.disabled\", \"class.mat-expanded\": \"_isExpanded()\", \"class.mat-expansion-toggle-indicator-after\": \"_getTogglePosition() === 'after'\", \"class.mat-expansion-toggle-indicator-before\": \"_getTogglePosition() === 'before'\", \"class._mat-animation-noopable\": \"_animationMode === \\\"NoopAnimations\\\"\", \"style.height\": \"_getHeaderHeight()\" }, classAttribute: \"mat-expansion-panel-header mat-focus-indicator\" }, usesInheritance: true, ngImport: i0, template: \"<span class=\\\"mat-content\\\" [class.mat-content-hide-toggle]=\\\"!_showToggle()\\\">\\n <ng-content select=\\\"mat-panel-title\\\"></ng-content>\\n <ng-content select=\\\"mat-panel-description\\\"></ng-content>\\n <ng-content></ng-content>\\n</span>\\n<span [@indicatorRotate]=\\\"_getExpandedState()\\\" *ngIf=\\\"_showToggle()\\\"\\n class=\\\"mat-expansion-indicator\\\"></span>\\n\", styles: [\".mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:\\\"\\\";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}\"], dependencies: [{ kind: \"directive\", type: i3.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }], animations: [matExpansionAnimations.indicatorRotate], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatExpansionPanelHeader, decorators: [{\n type: Component,\n args: [{ selector: 'mat-expansion-panel-header', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, inputs: ['tabIndex'], animations: [matExpansionAnimations.indicatorRotate], host: {\n 'class': 'mat-expansion-panel-header mat-focus-indicator',\n 'role': 'button',\n '[attr.id]': 'panel._headerId',\n '[attr.tabindex]': 'tabIndex',\n '[attr.aria-controls]': '_getPanelId()',\n '[attr.aria-expanded]': '_isExpanded()',\n '[attr.aria-disabled]': 'panel.disabled',\n '[class.mat-expanded]': '_isExpanded()',\n '[class.mat-expansion-toggle-indicator-after]': `_getTogglePosition() === 'after'`,\n '[class.mat-expansion-toggle-indicator-before]': `_getTogglePosition() === 'before'`,\n '[class._mat-animation-noopable]': '_animationMode === \"NoopAnimations\"',\n '[style.height]': '_getHeaderHeight()',\n '(click)': '_toggle()',\n '(keydown)': '_keydown($event)',\n }, template: \"<span class=\\\"mat-content\\\" [class.mat-content-hide-toggle]=\\\"!_showToggle()\\\">\\n <ng-content select=\\\"mat-panel-title\\\"></ng-content>\\n <ng-content select=\\\"mat-panel-description\\\"></ng-content>\\n <ng-content></ng-content>\\n</span>\\n<span [@indicatorRotate]=\\\"_getExpandedState()\\\" *ngIf=\\\"_showToggle()\\\"\\n class=\\\"mat-expansion-indicator\\\"></span>\\n\", styles: [\".mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:\\\"\\\";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}\"] }]\n }], ctorParameters: function () { return [{ type: MatExpansionPanel, decorators: [{\n type: Host\n }] }, { type: i0.ElementRef }, { type: i2$1.FocusMonitor }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{\n type: Inject,\n args: [MAT_EXPANSION_PANEL_DEFAULT_OPTIONS]\n }, {\n type: Optional\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }, { type: undefined, decorators: [{\n type: Attribute,\n args: ['tabindex']\n }] }]; }, propDecorators: { expandedHeight: [{\n type: Input\n }], collapsedHeight: [{\n type: Input\n }] } });\n/**\n * Description element of a `<mat-expansion-panel-header>`.\n */\nclass MatExpansionPanelDescription {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatExpansionPanelDescription, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatExpansionPanelDescription, selector: \"mat-panel-description\", host: { classAttribute: \"mat-expansion-panel-header-description\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatExpansionPanelDescription, decorators: [{\n type: Directive,\n args: [{\n selector: 'mat-panel-description',\n host: {\n class: 'mat-expansion-panel-header-description',\n },\n }]\n }] });\n/**\n * Title element of a `<mat-expansion-panel-header>`.\n */\nclass MatExpansionPanelTitle {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatExpansionPanelTitle, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatExpansionPanelTitle, selector: \"mat-panel-title\", host: { classAttribute: \"mat-expansion-panel-header-title\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatExpansionPanelTitle, decorators: [{\n type: Directive,\n args: [{\n selector: 'mat-panel-title',\n host: {\n class: 'mat-expansion-panel-header-title',\n },\n }]\n }] });\n\n/**\n * Directive for a Material Design Accordion.\n */\nclass MatAccordion extends CdkAccordion {\n constructor() {\n super(...arguments);\n /** Headers belonging to this accordion. */\n this._ownHeaders = new QueryList();\n this._hideToggle = false;\n /**\n * Display mode used for all expansion panels in the accordion. Currently two display\n * modes exist:\n * default - a gutter-like spacing is placed around any expanded panel, placing the expanded\n * panel at a different elevation from the rest of the accordion.\n * flat - no spacing is placed around expanded panels, showing all panels at the same\n * elevation.\n */\n this.displayMode = 'default';\n /** The position of the expansion indicator. */\n this.togglePosition = 'after';\n }\n /** Whether the expansion indicator should be hidden. */\n get hideToggle() {\n return this._hideToggle;\n }\n set hideToggle(show) {\n this._hideToggle = coerceBooleanProperty(show);\n }\n ngAfterContentInit() {\n this._headers.changes\n .pipe(startWith(this._headers))\n .subscribe((headers) => {\n this._ownHeaders.reset(headers.filter(header => header.panel.accordion === this));\n this._ownHeaders.notifyOnChanges();\n });\n this._keyManager = new FocusKeyManager(this._ownHeaders).withWrap().withHomeAndEnd();\n }\n /** Handles keyboard events coming in from the panel headers. */\n _handleHeaderKeydown(event) {\n this._keyManager.onKeydown(event);\n }\n _handleHeaderFocus(header) {\n this._keyManager.updateActiveItem(header);\n }\n ngOnDestroy() {\n super.ngOnDestroy();\n this._keyManager?.destroy();\n this._ownHeaders.destroy();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatAccordion, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatAccordion, selector: \"mat-accordion\", inputs: { multi: \"multi\", hideToggle: \"hideToggle\", displayMode: \"displayMode\", togglePosition: \"togglePosition\" }, host: { properties: { \"class.mat-accordion-multi\": \"this.multi\" }, classAttribute: \"mat-accordion\" }, providers: [\n {\n provide: MAT_ACCORDION,\n useExisting: MatAccordion,\n },\n ], queries: [{ propertyName: \"_headers\", predicate: MatExpansionPanelHeader, descendants: true }], exportAs: [\"matAccordion\"], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatAccordion, decorators: [{\n type: Directive,\n args: [{\n selector: 'mat-accordion',\n exportAs: 'matAccordion',\n inputs: ['multi'],\n providers: [\n {\n provide: MAT_ACCORDION,\n useExisting: MatAccordion,\n },\n ],\n host: {\n class: 'mat-accordion',\n // Class binding which is only used by the test harness as there is no other\n // way for the harness to detect if multiple panel support is enabled.\n '[class.mat-accordion-multi]': 'this.multi',\n },\n }]\n }], propDecorators: { _headers: [{\n type: ContentChildren,\n args: [MatExpansionPanelHeader, { descendants: true }]\n }], hideToggle: [{\n type: Input\n }], displayMode: [{\n type: Input\n }], togglePosition: [{\n type: Input\n }] } });\n\nclass MatExpansionModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatExpansionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatExpansionModule, declarations: [MatAccordion,\n MatExpansionPanel,\n MatExpansionPanelActionRow,\n MatExpansionPanelHeader,\n MatExpansionPanelTitle,\n MatExpansionPanelDescription,\n MatExpansionPanelContent], imports: [CommonModule, MatCommonModule, CdkAccordionModule, PortalModule], exports: [MatAccordion,\n MatExpansionPanel,\n MatExpansionPanelActionRow,\n MatExpansionPanelHeader,\n MatExpansionPanelTitle,\n MatExpansionPanelDescription,\n MatExpansionPanelContent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatExpansionModule, imports: [CommonModule, MatCommonModule, CdkAccordionModule, PortalModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatExpansionModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [CommonModule, MatCommonModule, CdkAccordionModule, PortalModule],\n exports: [\n MatAccordion,\n MatExpansionPanel,\n MatExpansionPanelActionRow,\n MatExpansionPanelHeader,\n MatExpansionPanelTitle,\n MatExpansionPanelDescription,\n MatExpansionPanelContent,\n ],\n declarations: [\n MatAccordion,\n MatExpansionPanel,\n MatExpansionPanelActionRow,\n MatExpansionPanelHeader,\n MatExpansionPanelTitle,\n MatExpansionPanelDescription,\n MatExpansionPanelContent,\n ],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { EXPANSION_PANEL_ANIMATION_TIMING, MAT_ACCORDION, MAT_EXPANSION_PANEL, MAT_EXPANSION_PANEL_DEFAULT_OPTIONS, MatAccordion, MatExpansionModule, MatExpansionPanel, MatExpansionPanelActionRow, MatExpansionPanelContent, MatExpansionPanelDescription, MatExpansionPanelHeader, MatExpansionPanelTitle, matExpansionAnimations };\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45]} \ No newline at end of file diff --git a/5187.965705915ef13b61.js b/5187.965705915ef13b61.js new file mode 100644 index 0000000..1177f5f --- /dev/null +++ b/5187.965705915ef13b61.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[5187,7376,4091,1217,7208,4968,4155,1084,6896,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,4680,2111,3326,8596,8352,5501,3098,8608,8443,5915,3278,5391,6748,6763,4151,5069,7432,6618],{35488:(f,n,e)=>{function t(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}e.d(n,{Z:()=>t})},28694:(f,n,e)=>{e.d(n,{Z:()=>i});var t=e(20265),o=e(98568),u=e(43445),r=e(35488);function i(p){var c=(0,o.Z)();return function(){var a,s=(0,t.Z)(p);if(c){var d=(0,t.Z)(this).constructor;a=Reflect.construct(s,arguments,d)}else a=s.apply(this,arguments);return function _(p,c){if(c&&("object"===(0,u.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(p)}(this,a)}}},20265:(f,n,e)=>{function t(o){return(t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)})(o)}e.d(n,{Z:()=>t})},24582:(f,n,e)=>{e.d(n,{Z:()=>o});var t=e(10006);function o(u,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(r&&r.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),r&&(0,t.Z)(u,r)}},98568:(f,n,e)=>{function t(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(n,{Z:()=>t})},10006:(f,n,e)=>{function t(o,u){return(t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_,i){return _.__proto__=i,_})(o,u)}e.d(n,{Z:()=>t})}}]); +//# sourceMappingURL=5187.965705915ef13b61.js.map \ No newline at end of file diff --git a/5187.965705915ef13b61.js.map b/5187.965705915ef13b61.js.map new file mode 100644 index 0000000..dd379a5 --- /dev/null +++ b/5187.965705915ef13b61.js.map @@ -0,0 +1 @@ +{"version":3,"file":"5187.965705915ef13b61.js","mappings":"sQAAe,SAAAA,EAAAC,GACf,YAAAA,EACA,UAAAC,eAAA,6DAEA,OAAAD,CACA,oGCFe,SAAAE,EAAAC,GACf,IAAAC,KAAkCC,EAAAC,KAClC,kBACA,IACAC,EADAC,KAAgBC,EAAAH,GAAcH,GAE9B,GAAAC,EAAA,CACA,IAAAM,KAAsBD,EAAAH,GAAcK,MAAAC,YACpCL,EAAAM,QAAAC,UAAAN,EAAAO,UAAAL,EAAA,MAEAH,EAAAC,EAAAQ,MAAAL,KAAAI,WAEA,OCZe,SAAAE,EAAAjB,EAAAkB,GACf,GAAAA,IAAsB,YAAtBA,EAAeC,EAAAb,GAAOY,IAAA,mBAAAA,GACtB,OAAAA,EACI,YAAAA,EACJ,UAAAE,UAAA,4DAEA,SAASC,EAAAf,GAAqBN,EAC9B,CDKWiB,CAAyBN,KAAAJ,EACpC,CACA,mBEhBe,SAAAe,EAAAC,GACf,OAAAD,EAAAE,OAAAC,eAAAD,OAAAf,eAAAiB,OAAA,SAAAH,GACA,OAAAA,EAAAI,WAAAH,OAAAf,eAAAc,EACA,GACAA,EACA,mECJe,SAAAK,EAAAC,EAAAC,GACf,sBAAAA,GAAA,OAAAA,EACA,UAAAV,UAAA,sDAEAS,EAAAE,UAAAP,OAAAQ,OAAAF,KAAAC,UAAA,CACAnB,YAAA,CACAqB,MAAAJ,EACAK,UAAA,EACAC,cAAA,KAGAX,OAAAY,eAAAP,EAAA,aACAK,UAAA,IAEAJ,MAAkBO,EAAA/B,GAAcuB,EAAAC,EAChC,mBChBe,SAAAQ,IAEf,UADAzB,QAAA,MAAAA,QAAAC,WACAD,QAAAC,UAAAyB,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAAV,UAAAW,QAAAxB,KAAAL,QAAAC,UAAA2B,QAAA,mBACA,CACA,OACA,QACA,CACA,mCCVe,SAAAE,EAAApB,EAAAqB,GACf,OAAAD,EAAAnB,OAAAC,eAAAD,OAAAC,eAAAC,OAAA,SAAAH,EAAAqB,GACA,OAAArB,EAAAI,UAAAiB,EACArB,CACA,GACAA,EAAAqB,EACA","names":["_assertThisInitialized","self","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","call","esm_typeof","TypeError","assertThisInitialized","_getPrototypeOf","o","Object","setPrototypeOf","bind","__proto__","_inherits","subClass","superClass","prototype","create","value","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6]} \ No newline at end of file diff --git a/5391.8db302d7cdc20831.js b/5391.8db302d7cdc20831.js new file mode 100644 index 0000000..6342721 --- /dev/null +++ b/5391.8db302d7cdc20831.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[5391,7376,5187,4091,1217,7208,4968,4155,1084,6896,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,4680,2111,3326,8596,8352,5501,3098,8608,8443,5915,3278,6748,6763,4151,5069,7432,6618],{35488:(f,n,e)=>{function t(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}e.d(n,{Z:()=>t})},28694:(f,n,e)=>{e.d(n,{Z:()=>i});var t=e(20265),o=e(98568),u=e(43445),r=e(35488);function i(p){var c=(0,o.Z)();return function(){var a,s=(0,t.Z)(p);if(c){var d=(0,t.Z)(this).constructor;a=Reflect.construct(s,arguments,d)}else a=s.apply(this,arguments);return function _(p,c){if(c&&("object"===(0,u.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(p)}(this,a)}}},20265:(f,n,e)=>{function t(o){return(t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)})(o)}e.d(n,{Z:()=>t})},24582:(f,n,e)=>{e.d(n,{Z:()=>o});var t=e(10006);function o(u,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(r&&r.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),r&&(0,t.Z)(u,r)}},98568:(f,n,e)=>{function t(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(n,{Z:()=>t})},10006:(f,n,e)=>{function t(o,u){return(t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_,i){return _.__proto__=i,_})(o,u)}e.d(n,{Z:()=>t})}}]); +//# sourceMappingURL=5391.8db302d7cdc20831.js.map \ No newline at end of file diff --git a/5391.8db302d7cdc20831.js.map b/5391.8db302d7cdc20831.js.map new file mode 100644 index 0000000..5d0e0fe --- /dev/null +++ b/5391.8db302d7cdc20831.js.map @@ -0,0 +1 @@ +{"version":3,"file":"5391.8db302d7cdc20831.js","mappings":"sQAAe,SAAAA,EAAAC,GACf,YAAAA,EACA,UAAAC,eAAA,6DAEA,OAAAD,CACA,oGCFe,SAAAE,EAAAC,GACf,IAAAC,KAAkCC,EAAAC,KAClC,kBACA,IACAC,EADAC,KAAgBC,EAAAH,GAAcH,GAE9B,GAAAC,EAAA,CACA,IAAAM,KAAsBD,EAAAH,GAAcK,MAAAC,YACpCL,EAAAM,QAAAC,UAAAN,EAAAO,UAAAL,EAAA,MAEAH,EAAAC,EAAAQ,MAAAL,KAAAI,WAEA,OCZe,SAAAE,EAAAjB,EAAAkB,GACf,GAAAA,IAAsB,YAAtBA,EAAeC,EAAAb,GAAOY,IAAA,mBAAAA,GACtB,OAAAA,EACI,YAAAA,EACJ,UAAAE,UAAA,4DAEA,SAASC,EAAAf,GAAqBN,EAC9B,CDKWiB,CAAyBN,KAAAJ,EACpC,CACA,mBEhBe,SAAAe,EAAAC,GACf,OAAAD,EAAAE,OAAAC,eAAAD,OAAAf,eAAAiB,OAAA,SAAAH,GACA,OAAAA,EAAAI,WAAAH,OAAAf,eAAAc,EACA,GACAA,EACA,mECJe,SAAAK,EAAAC,EAAAC,GACf,sBAAAA,GAAA,OAAAA,EACA,UAAAV,UAAA,sDAEAS,EAAAE,UAAAP,OAAAQ,OAAAF,KAAAC,UAAA,CACAnB,YAAA,CACAqB,MAAAJ,EACAK,UAAA,EACAC,cAAA,KAGAX,OAAAY,eAAAP,EAAA,aACAK,UAAA,IAEAJ,MAAkBO,EAAA/B,GAAcuB,EAAAC,EAChC,mBChBe,SAAAQ,IAEf,UADAzB,QAAA,MAAAA,QAAAC,WACAD,QAAAC,UAAAyB,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAAV,UAAAW,QAAAxB,KAAAL,QAAAC,UAAA2B,QAAA,mBACA,CACA,OACA,QACA,CACA,mCCVe,SAAAE,EAAApB,EAAAqB,GACf,OAAAD,EAAAnB,OAAAC,eAAAD,OAAAC,eAAAC,OAAA,SAAAH,EAAAqB,GACA,OAAArB,EAAAI,UAAAiB,EACArB,CACA,GACAA,EAAAqB,EACA","names":["_assertThisInitialized","self","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","call","esm_typeof","TypeError","assertThisInitialized","_getPrototypeOf","o","Object","setPrototypeOf","bind","__proto__","_inherits","subClass","superClass","prototype","create","value","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6]} \ No newline at end of file diff --git a/5501.ef2c2ee2f2ccecee.js b/5501.ef2c2ee2f2ccecee.js new file mode 100644 index 0000000..5d8bf5a --- /dev/null +++ b/5501.ef2c2ee2f2ccecee.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[5501,7376,5187,4091,1217,7208,4968,4155,1084,6896,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,4680,2111,3326,8596,8352,3098,8608,8443,5915,3278,5391,6748,6763,4151,5069,7432,6618],{35488:(f,n,e)=>{function t(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}e.d(n,{Z:()=>t})},28694:(f,n,e)=>{e.d(n,{Z:()=>i});var t=e(20265),o=e(98568),u=e(43445),r=e(35488);function i(p){var c=(0,o.Z)();return function(){var a,s=(0,t.Z)(p);if(c){var d=(0,t.Z)(this).constructor;a=Reflect.construct(s,arguments,d)}else a=s.apply(this,arguments);return function _(p,c){if(c&&("object"===(0,u.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(p)}(this,a)}}},20265:(f,n,e)=>{function t(o){return(t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)})(o)}e.d(n,{Z:()=>t})},24582:(f,n,e)=>{e.d(n,{Z:()=>o});var t=e(10006);function o(u,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(r&&r.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),r&&(0,t.Z)(u,r)}},98568:(f,n,e)=>{function t(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(n,{Z:()=>t})},10006:(f,n,e)=>{function t(o,u){return(t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_,i){return _.__proto__=i,_})(o,u)}e.d(n,{Z:()=>t})}}]); +//# sourceMappingURL=5501.ef2c2ee2f2ccecee.js.map \ No newline at end of file diff --git a/5501.ef2c2ee2f2ccecee.js.map b/5501.ef2c2ee2f2ccecee.js.map new file mode 100644 index 0000000..0940f6e --- /dev/null +++ b/5501.ef2c2ee2f2ccecee.js.map @@ -0,0 +1 @@ +{"version":3,"file":"5501.ef2c2ee2f2ccecee.js","mappings":"sQAAe,SAAAA,EAAAC,GACf,YAAAA,EACA,UAAAC,eAAA,6DAEA,OAAAD,CACA,oGCFe,SAAAE,EAAAC,GACf,IAAAC,KAAkCC,EAAAC,KAClC,kBACA,IACAC,EADAC,KAAgBC,EAAAH,GAAcH,GAE9B,GAAAC,EAAA,CACA,IAAAM,KAAsBD,EAAAH,GAAcK,MAAAC,YACpCL,EAAAM,QAAAC,UAAAN,EAAAO,UAAAL,EAAA,MAEAH,EAAAC,EAAAQ,MAAAL,KAAAI,WAEA,OCZe,SAAAE,EAAAjB,EAAAkB,GACf,GAAAA,IAAsB,YAAtBA,EAAeC,EAAAb,GAAOY,IAAA,mBAAAA,GACtB,OAAAA,EACI,YAAAA,EACJ,UAAAE,UAAA,4DAEA,SAASC,EAAAf,GAAqBN,EAC9B,CDKWiB,CAAyBN,KAAAJ,EACpC,CACA,mBEhBe,SAAAe,EAAAC,GACf,OAAAD,EAAAE,OAAAC,eAAAD,OAAAf,eAAAiB,OAAA,SAAAH,GACA,OAAAA,EAAAI,WAAAH,OAAAf,eAAAc,EACA,GACAA,EACA,mECJe,SAAAK,EAAAC,EAAAC,GACf,sBAAAA,GAAA,OAAAA,EACA,UAAAV,UAAA,sDAEAS,EAAAE,UAAAP,OAAAQ,OAAAF,KAAAC,UAAA,CACAnB,YAAA,CACAqB,MAAAJ,EACAK,UAAA,EACAC,cAAA,KAGAX,OAAAY,eAAAP,EAAA,aACAK,UAAA,IAEAJ,MAAkBO,EAAA/B,GAAcuB,EAAAC,EAChC,mBChBe,SAAAQ,IAEf,UADAzB,QAAA,MAAAA,QAAAC,WACAD,QAAAC,UAAAyB,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAAV,UAAAW,QAAAxB,KAAAL,QAAAC,UAAA2B,QAAA,mBACA,CACA,OACA,QACA,CACA,mCCVe,SAAAE,EAAApB,EAAAqB,GACf,OAAAD,EAAAnB,OAAAC,eAAAD,OAAAC,eAAAC,OAAA,SAAAH,EAAAqB,GACA,OAAArB,EAAAI,UAAAiB,EACArB,CACA,GACAA,EAAAqB,EACA","names":["_assertThisInitialized","self","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","call","esm_typeof","TypeError","assertThisInitialized","_getPrototypeOf","o","Object","setPrototypeOf","bind","__proto__","_inherits","subClass","superClass","prototype","create","value","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6]} \ No newline at end of file diff --git a/5544.0c122e7d49a65d8b.js b/5544.0c122e7d49a65d8b.js new file mode 100644 index 0000000..e77aaf6 --- /dev/null +++ b/5544.0c122e7d49a65d8b.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[5544,5106,5603,9880,1551],{50253:(I,O,o)=>{o.d(O,{x:()=>C});var p=o(95106),v=o(78069),u=o(48047),d=o(4089),c=o(20265),_=o(24582),f=o(28694),b=o(90833),g=o(17714),x=(0,o(27543).d)(function(X){return function(){X(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),D=o(39663),l=o(12309),C=function(){var X=function(U){(0,_.Z)(V,U);var W=(0,f.Z)(V);function V(){var w;return(0,v.Z)(this,V),(w=W.call(this)).closed=!1,w.currentObservers=null,w.observers=[],w.isStopped=!1,w.hasError=!1,w.thrownError=null,w}return(0,u.Z)(V,[{key:"lift",value:function(y){var P=new A(this,this);return P.operator=y,P}},{key:"_throwIfClosed",value:function(){if(this.closed)throw new x}},{key:"next",value:function(y){var P=this;(0,l.x)(function(){if(P._throwIfClosed(),!P.isStopped){P.currentObservers||(P.currentObservers=Array.from(P.observers));var m,B=(0,p.Z)(P.currentObservers);try{for(B.s();!(m=B.n()).done;)m.value.next(y)}catch(F){B.e(F)}finally{B.f()}}})}},{key:"error",value:function(y){var P=this;(0,l.x)(function(){if(P._throwIfClosed(),!P.isStopped){P.hasError=P.isStopped=!0,P.thrownError=y;for(var B=P.observers;B.length;)B.shift().error(y)}})}},{key:"complete",value:function(){var y=this;(0,l.x)(function(){if(y._throwIfClosed(),!y.isStopped){y.isStopped=!0;for(var P=y.observers;P.length;)P.shift().complete()}})}},{key:"unsubscribe",value:function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}},{key:"observed",get:function(){var y;return(null===(y=this.observers)||void 0===y?void 0:y.length)>0}},{key:"_trySubscribe",value:function(y){return this._throwIfClosed(),(0,d.Z)((0,c.Z)(V.prototype),"_trySubscribe",this).call(this,y)}},{key:"_subscribe",value:function(y){return this._throwIfClosed(),this._checkFinalizedStatuses(y),this._innerSubscribe(y)}},{key:"_innerSubscribe",value:function(y){var P=this,k=this.observers;return this.hasError||this.isStopped?g.Lc:(this.currentObservers=null,k.push(y),new g.w0(function(){P.currentObservers=null,(0,D.P)(k,y)}))}},{key:"_checkFinalizedStatuses",value:function(y){var m=this.isStopped;this.hasError?y.error(this.thrownError):m&&y.complete()}},{key:"asObservable",value:function(){var y=new b.y;return y.source=this,y}}]),V}(b.y);return X.create=function(U,W){return new A(U,W)},X}(),A=function(X){(0,_.Z)(W,X);var U=(0,f.Z)(W);function W(V,w){var y;return(0,v.Z)(this,W),(y=U.call(this)).destination=V,y.source=w,y}return(0,u.Z)(W,[{key:"next",value:function(w){var y,P;null===(P=null===(y=this.destination)||void 0===y?void 0:y.next)||void 0===P||P.call(y,w)}},{key:"error",value:function(w){var y,P;null===(P=null===(y=this.destination)||void 0===y?void 0:y.error)||void 0===P||P.call(y,w)}},{key:"complete",value:function(){var w,y;null===(y=null===(w=this.destination)||void 0===w?void 0:w.complete)||void 0===y||y.call(w)}},{key:"_subscribe",value:function(w){var y,P;return null!==(P=null===(y=this.source)||void 0===y?void 0:y.subscribe(w))&&void 0!==P?P:g.Lc}}]),W}(C)},20591:(I,O,o)=>{o.d(O,{E:()=>v});var v=new(o(90833).y)(function(c){return c.complete()})},37400:(I,O,o)=>{o.d(O,{D:()=>B});var p=o(54987),v=o(8728),u=o(41944);function d(m){var k=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,u.e)(function(F,Y){Y.add(m.schedule(function(){return F.subscribe(Y)},k))})}var f=o(90833),g=o(67321),E=o(92971),x=o(1817);function l(m,k){if(!m)throw new Error("Iterable cannot be null");return new f.y(function(F){(0,x.f)(F,k,function(){var Y=m[Symbol.asyncIterator]();(0,x.f)(F,k,function(){Y.next().then(function(K){K.done?F.complete():F.next(K.value)})},0,!0)})})}var C=o(21331),A=o(79548),X=o(99806),U=o(23433),W=o(80470),V=o(27785),w=o(20181);function B(m,k){return k?function P(m,k){if(null!=m){if((0,C.c)(m))return function c(m,k){return(0,p.Xf)(m).pipe(d(k),(0,v.Q)(k))}(m,k);if((0,X.z)(m))return function b(m,k){return new f.y(function(F){var Y=0;return k.schedule(function(){Y===m.length?F.complete():(F.next(m[Y++]),F.closed||this.schedule())})})}(m,k);if((0,A.t)(m))return function _(m,k){return(0,p.Xf)(m).pipe(d(k),(0,v.Q)(k))}(m,k);if((0,W.D)(m))return l(m,k);if((0,U.T)(m))return function D(m,k){return new f.y(function(F){var Y;return(0,x.f)(F,k,function(){Y=m[g.h](),(0,x.f)(F,k,function(){var K,G;try{var et=Y.next();K=et.value,G=et.done}catch(J){return void F.error(J)}G?F.complete():F.next(K)},0,!0)}),function(){return(0,E.m)(Y?.return)&&Y.return()}})}(m,k);if((0,w.L)(m))return function y(m,k){return l((0,w.Q)(m),k)}(m,k)}throw(0,V.z)(m)}(m,k):(0,p.Xf)(m)}},36646:(I,O,o)=>{o.d(O,{T:()=>_});var p=o(1308),v=o(54987),u=o(20591),d=o(10420),c=o(37400);function _(){for(var f=arguments.length,b=new Array(f),g=0;g<f;g++)b[g]=arguments[g];var E=(0,d.yG)(b),x=(0,d._6)(b,1/0),D=b;return D.length?1===D.length?(0,v.Xf)(D[0]):(0,p.J)(x)((0,c.D)(D,E)):u.E}},93945:(I,O,o)=>{o.d(O,{Q:()=>E,x:()=>g});var p=o(78069),v=o(48047),u=o(35488),d=o(24582),c=o(28694),_=o(4089),f=o(20265);function g(x,D,l,C,A){return new E(x,D,l,C,A)}var E=function(x){(0,d.Z)(l,x);var D=(0,c.Z)(l);function l(C,A,X,U,W,V){var w,y,P,B;return(0,p.Z)(this,l),(B=D.call(this,C)).onFinalize=W,B.shouldUnsubscribe=V,B._next=A?function(m){try{A(m)}catch(k){C.error(k)}}:(0,_.Z)((w=(0,u.Z)(B),(0,f.Z)(l.prototype)),"_next",w),B._error=U?function(m){try{U(m)}catch(k){C.error(k)}finally{this.unsubscribe()}}:(0,_.Z)((y=(0,u.Z)(B),(0,f.Z)(l.prototype)),"_error",y),B._complete=X?function(){try{X()}catch(m){C.error(m)}finally{this.unsubscribe()}}:(0,_.Z)((P=(0,u.Z)(B),(0,f.Z)(l.prototype)),"_complete",P),B}return(0,v.Z)(l,[{key:"unsubscribe",value:function(){var A;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var X=this.closed;(0,_.Z)((0,f.Z)(l.prototype),"unsubscribe",this).call(this),!X&&(null===(A=this.onFinalize)||void 0===A||A.call(this))}}}]),l}(o(5463).Lv)},60116:(I,O,o)=>{o.d(O,{h:()=>u});var p=o(41944),v=o(93945);function u(d,c){return(0,p.e)(function(_,f){var b=0;_.subscribe((0,v.x)(f,function(g){return d.call(c,g,b++)&&f.next(g)}))})}},50635:(I,O,o)=>{o.d(O,{U:()=>u});var p=o(41944),v=o(93945);function u(d,c){return(0,p.e)(function(_,f){var b=0;_.subscribe((0,v.x)(f,function(g){f.next(d.call(c,g,b++))}))})}},1308:(I,O,o)=>{o.d(O,{J:()=>u});var p=o(49525),v=o(89173);function u(){return(0,p.z)(v.y,arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0)}},49525:(I,O,o)=>{o.d(O,{z:()=>b});var p=o(50635),v=o(54987),u=o(41944),d=o(1817),c=o(93945),f=o(92971);function b(g,E){var x=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;return(0,f.m)(E)?b(function(D,l){return(0,p.U)(function(C,A){return E(D,C,l,A)})((0,v.Xf)(g(D,l)))},x):("number"==typeof E&&(x=E),(0,u.e)(function(D,l){return function _(g,E,x,D,l,C,A,X){var U=[],W=0,V=0,w=!1,y=function(){w&&!U.length&&!W&&E.complete()},P=function(k){return W<D?B(k):U.push(k)},B=function m(k){C&&E.next(k),W++;var F=!1;(0,v.Xf)(x(k,V++)).subscribe((0,c.x)(E,function(Y){l?.(Y),C?P(Y):E.next(Y)},function(){F=!0},void 0,function(){if(F)try{W--;for(var Y=function(){var G=U.shift();A?(0,d.f)(E,A,function(){return m(G)}):m(G)};U.length&&W<D;)Y();y()}catch(K){E.error(K)}}))};return g.subscribe((0,c.x)(E,P,function(){w=!0,y()})),function(){X?.()}}(D,l,g,x)}))}},8728:(I,O,o)=>{o.d(O,{Q:()=>d});var p=o(1817),v=o(41944),u=o(93945);function d(c){var _=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,v.e)(function(f,b){f.subscribe((0,u.x)(b,function(g){return(0,p.f)(b,c,function(){return b.next(g)},_)},function(){return(0,p.f)(b,c,function(){return b.complete()},_)},function(g){return(0,p.f)(b,c,function(){return b.error(g)},_)}))})}},59295:(I,O,o)=>{o.d(O,{q:()=>d});var p=o(20591),v=o(41944),u=o(93945);function d(c){return c<=0?function(){return p.E}:(0,v.e)(function(_,f){var b=0;_.subscribe((0,u.x)(f,function(g){++b<=c&&(f.next(g),c<=b&&f.complete())}))})}},68951:(I,O,o)=>{o.d(O,{R:()=>c});var p=o(41944),v=o(93945),u=o(54987),d=o(99635);function c(_){return(0,p.e)(function(f,b){(0,u.Xf)(_).subscribe((0,v.x)(b,function(){return b.complete()},d.Z)),!b.closed&&f.subscribe(b)})}},10420:(I,O,o)=>{o.d(O,{_6:()=>_,jO:()=>d,yG:()=>c});var p=o(92971),v=o(59867);function u(f){return f[f.length-1]}function d(f){return(0,p.m)(u(f))?f.pop():void 0}function c(f){return(0,v.K)(u(f))?f.pop():void 0}function _(f,b){return"number"==typeof u(f)?f.pop():b}},1817:(I,O,o)=>{function p(v,u,d){var c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,_=arguments.length>4&&void 0!==arguments[4]&&arguments[4],f=u.schedule(function(){d(),_?v.add(this.schedule(null,c)):this.unsubscribe()},c);if(v.add(f),!_)return f}o.d(O,{f:()=>p})},59867:(I,O,o)=>{o.d(O,{K:()=>v});var p=o(92971);function v(u){return u&&(0,p.m)(u.schedule)}},41944:(I,O,o)=>{o.d(O,{A:()=>v,e:()=>u});var p=o(92971);function v(d){return(0,p.m)(d?.lift)}function u(d){return function(c){if(v(c))return c.lift(function(_){try{return d(_,this)}catch(f){this.error(f)}});throw new TypeError("Unable to lift unknown Observable type")}}},75544:(I,O,o)=>{o.r(O),o.d(O,{BlockScrollStrategy:()=>G,CdkConnectedOverlay:()=>Bt,CdkOverlayOrigin:()=>Et,CdkScrollable:()=>x.CdkScrollable,CloseScrollStrategy:()=>J,ConnectedOverlayPositionChange:()=>ht,ConnectionPositionPair:()=>St,FlexibleConnectedPositionStrategy:()=>_t,FullscreenOverlayContainer:()=>Tt,GlobalPositionStrategy:()=>mt,NoopScrollStrategy:()=>it,Overlay:()=>q,OverlayConfig:()=>rt,OverlayContainer:()=>$,OverlayKeyboardDispatcher:()=>ut,OverlayModule:()=>It,OverlayOutsideClickDispatcher:()=>ft,OverlayPositionBuilder:()=>bt,OverlayRef:()=>dt,RepositionScrollStrategy:()=>at,STANDARD_DROPDOWN_ADJACENT_POSITIONS:()=>Rt,STANDARD_DROPDOWN_BELOW_POSITIONS:()=>xt,ScrollDispatcher:()=>x.ScrollDispatcher,ScrollStrategyOptions:()=>lt,ScrollingVisibility:()=>kt,ViewportRuler:()=>x.ViewportRuler,validateHorizontalPosition:()=>wt,validateVerticalPosition:()=>Pt});var p=o(32090),v=o(95106),u=o(86170),d=o(35603),c=o(4089),_=o(20265),f=o(24582),b=o(28694),g=o(78069),E=o(48047),x=o(93168),D=o(94055),l=o(56718),C=o(35333),A=o(23675),X=o(60116),U=o(59295),W=o(68951),V=o(41944),w=o(93945),P=o(43068),B=o(18142),m=o(50253),k=o(17714),F=o(36646),Y=o(52069),K=(0,A.supportsScrollBehavior)(),G=function(){function s(n,t){(0,g.Z)(this,s),this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}return(0,E.Z)(s,[{key:"attach",value:function(){}},{key:"enable",value:function(){if(this._canBeEnabled()){var t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=(0,C.coerceCssPixelValue)(-this._previousScrollPosition.left),t.style.top=(0,C.coerceCssPixelValue)(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}},{key:"disable",value:function(){if(this._isEnabled){var t=this._document.documentElement,i=t.style,r=this._document.body.style,a=i.scrollBehavior||"",h=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),K&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),K&&(i.scrollBehavior=a,r.scrollBehavior=h)}}},{key:"_canBeEnabled",value:function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var e=this._document.body,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}}]),s}(),J=function(){function s(n,t,e,i){var r=this;(0,g.Z)(this,s),this._scrollDispatcher=n,this._ngZone=t,this._viewportRuler=e,this._config=i,this._scrollSubscription=null,this._detach=function(){r.disable(),r._overlayRef.hasAttached()&&r._ngZone.run(function(){return r._overlayRef.detach()})}}return(0,E.Z)(s,[{key:"attach",value:function(t){this._overlayRef=t}},{key:"enable",value:function(){var t=this;if(!this._scrollSubscription){var e=this._scrollDispatcher.scrolled(0).pipe((0,X.h)(function(i){return!i||!t._overlayRef.overlayElement.contains(i.getElementRef().nativeElement)}));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(function(){var i=t._viewportRuler.getViewportScrollPosition().top;Math.abs(i-t._initialScrollPosition)>t._config.threshold?t._detach():t._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),s}(),it=function(){function s(){(0,g.Z)(this,s)}return(0,E.Z)(s,[{key:"enable",value:function(){}},{key:"disable",value:function(){}},{key:"attach",value:function(){}}]),s}();function nt(s,n){return n.some(function(t){return s.bottom<t.top||s.top>t.bottom||s.right<t.left||s.left>t.right})}function st(s,n){return n.some(function(t){return s.top<t.top||s.bottom>t.bottom||s.left<t.left||s.right>t.right})}var at=function(){function s(n,t,e,i){(0,g.Z)(this,s),this._scrollDispatcher=n,this._viewportRuler=t,this._ngZone=e,this._config=i,this._scrollSubscription=null}return(0,E.Z)(s,[{key:"attach",value:function(t){this._overlayRef=t}},{key:"enable",value:function(){var t=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(function(){if(t._overlayRef.updatePosition(),t._config&&t._config.autoClose){var i=t._overlayRef.overlayElement.getBoundingClientRect(),r=t._viewportRuler.getViewportSize(),a=r.width,h=r.height;nt(i,[{width:a,height:h,bottom:h,right:a,top:0,left:0}])&&(t.disable(),t._ngZone.run(function(){return t._overlayRef.detach()}))}}))}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),s}(),lt=function(){var s=(0,E.Z)(function n(t,e,i,r){var a=this;(0,g.Z)(this,n),this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this.noop=function(){return new it},this.close=function(h){return new J(a._scrollDispatcher,a._ngZone,a._viewportRuler,h)},this.block=function(){return new G(a._viewportRuler,a._document)},this.reposition=function(h){return new at(a._scrollDispatcher,a._viewportRuler,a._ngZone,h)},this._document=r});return s.\u0275fac=function(t){return new(t||s)(l.\u0275\u0275inject(x.ScrollDispatcher),l.\u0275\u0275inject(x.ViewportRuler),l.\u0275\u0275inject(l.NgZone),l.\u0275\u0275inject(D.DOCUMENT))},s.\u0275prov=l.\u0275\u0275defineInjectable({token:s,factory:s.\u0275fac,providedIn:"root"}),s}(),rt=(0,E.Z)(function s(n){if((0,g.Z)(this,s),this.scrollStrategy=new it,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n)for(var e=0,i=Object.keys(n);e<i.length;e++){var r=i[e];void 0!==n[r]&&(this[r]=n[r])}}),St=(0,E.Z)(function s(n,t,e,i,r){(0,g.Z)(this,s),this.offsetX=e,this.offsetY=i,this.panelClass=r,this.originX=n.originX,this.originY=n.originY,this.overlayX=t.overlayX,this.overlayY=t.overlayY}),kt=(0,E.Z)(function s(){(0,g.Z)(this,s)}),ht=(0,E.Z)(function s(n,t){(0,g.Z)(this,s),this.connectionPair=n,this.scrollableViewProperties=t});function Pt(s,n){if("top"!==n&&"bottom"!==n&&"center"!==n)throw Error("ConnectedPosition: Invalid ".concat(s,' "').concat(n,'". ')+'Expected "top", "bottom" or "center".')}function wt(s,n){if("start"!==n&&"end"!==n&&"center"!==n)throw Error("ConnectedPosition: Invalid ".concat(s,' "').concat(n,'". ')+'Expected "start", "end" or "center".')}var ct=function(){var s=function(){function n(t){(0,g.Z)(this,n),this._attachedOverlays=[],this._document=t}return(0,E.Z)(n,[{key:"ngOnDestroy",value:function(){this.detach()}},{key:"add",value:function(e){this.remove(e),this._attachedOverlays.push(e)}},{key:"remove",value:function(e){var i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}}]),n}();return s.\u0275fac=function(t){return new(t||s)(l.\u0275\u0275inject(D.DOCUMENT))},s.\u0275prov=l.\u0275\u0275defineInjectable({token:s,factory:s.\u0275fac,providedIn:"root"}),s}(),ut=function(){var s=function(n){(0,f.Z)(e,n);var t=(0,b.Z)(e);function e(i,r){var a;return(0,g.Z)(this,e),(a=t.call(this,i))._ngZone=r,a._keydownListener=function(h){for(var S=a._attachedOverlays,Z=function(){if(S[M]._keydownEvents.observers.length>0){var T=S[M]._keydownEvents;return a._ngZone?a._ngZone.run(function(){return T.next(h)}):T.next(h),"break"}},M=S.length-1;M>-1&&"break"!==Z();M--);},a}return(0,E.Z)(e,[{key:"add",value:function(r){var a=this;(0,c.Z)((0,_.Z)(e.prototype),"add",this).call(this,r),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(function(){return a._document.body.addEventListener("keydown",a._keydownListener)}):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}},{key:"detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}]),e}(ct);return s.\u0275fac=function(t){return new(t||s)(l.\u0275\u0275inject(D.DOCUMENT),l.\u0275\u0275inject(l.NgZone,8))},s.\u0275prov=l.\u0275\u0275defineInjectable({token:s,factory:s.\u0275fac,providedIn:"root"}),s}(),ft=function(){var s=function(n){(0,f.Z)(e,n);var t=(0,b.Z)(e);function e(i,r,a){var h;return(0,g.Z)(this,e),(h=t.call(this,i))._platform=r,h._ngZone=a,h._cursorStyleIsSet=!1,h._pointerDownListener=function(S){h._pointerDownEventTarget=(0,A._getEventTarget)(S)},h._clickListener=function(S){var Z=(0,A._getEventTarget)(S),M="click"===S.type&&h._pointerDownEventTarget?h._pointerDownEventTarget:Z;h._pointerDownEventTarget=null;for(var R=h._attachedOverlays.slice(),L=function(){var j=R[T];if(j._outsidePointerEvents.observers.length<1||!j.hasAttached())return"continue";if(j.overlayElement.contains(Z)||j.overlayElement.contains(M))return"break";var z=j._outsidePointerEvents;h._ngZone?h._ngZone.run(function(){return z.next(S)}):z.next(S)},T=R.length-1;T>-1;T--){var H=L();if("continue"!==H&&"break"===H)break}},h}return(0,E.Z)(e,[{key:"add",value:function(r){var a=this;if((0,c.Z)((0,_.Z)(e.prototype),"add",this).call(this,r),!this._isAttached){var h=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(function(){return a._addEventListeners(h)}):this._addEventListeners(h),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=h.style.cursor,h.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}},{key:"detach",value:function(){if(this._isAttached){var r=this._document.body;r.removeEventListener("pointerdown",this._pointerDownListener,!0),r.removeEventListener("click",this._clickListener,!0),r.removeEventListener("auxclick",this._clickListener,!0),r.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(r.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}},{key:"_addEventListeners",value:function(r){r.addEventListener("pointerdown",this._pointerDownListener,!0),r.addEventListener("click",this._clickListener,!0),r.addEventListener("auxclick",this._clickListener,!0),r.addEventListener("contextmenu",this._clickListener,!0)}}]),e}(ct);return s.\u0275fac=function(t){return new(t||s)(l.\u0275\u0275inject(D.DOCUMENT),l.\u0275\u0275inject(A.Platform),l.\u0275\u0275inject(l.NgZone,8))},s.\u0275prov=l.\u0275\u0275defineInjectable({token:s,factory:s.\u0275fac,providedIn:"root"}),s}(),$=function(){var s=function(){function n(t,e){(0,g.Z)(this,n),this._platform=e,this._document=t}return(0,E.Z)(n,[{key:"ngOnDestroy",value:function(){var e;null===(e=this._containerElement)||void 0===e||e.remove()}},{key:"getContainerElement",value:function(){return this._containerElement||this._createContainer(),this._containerElement}},{key:"_createContainer",value:function(){var e="cdk-overlay-container";if(this._platform.isBrowser||(0,A._isTestEnvironment)())for(var i=this._document.querySelectorAll(".".concat(e,'[platform="server"], ')+".".concat(e,'[platform="test"]')),r=0;r<i.length;r++)i[r].remove();var a=this._document.createElement("div");a.classList.add(e),(0,A._isTestEnvironment)()?a.setAttribute("platform","test"):this._platform.isBrowser||a.setAttribute("platform","server"),this._document.body.appendChild(a),this._containerElement=a}}]),n}();return s.\u0275fac=function(t){return new(t||s)(l.\u0275\u0275inject(D.DOCUMENT),l.\u0275\u0275inject(A.Platform))},s.\u0275prov=l.\u0275\u0275defineInjectable({token:s,factory:s.\u0275fac,providedIn:"root"}),s}(),dt=function(){function s(n,t,e,i,r,a,h,S,Z){var M=this,R=arguments.length>9&&void 0!==arguments[9]&&arguments[9];(0,g.Z)(this,s),this._portalOutlet=n,this._host=t,this._pane=e,this._config=i,this._ngZone=r,this._keyboardDispatcher=a,this._document=h,this._location=S,this._outsideClickDispatcher=Z,this._animationsDisabled=R,this._backdropElement=null,this._backdropClick=new m.x,this._attachments=new m.x,this._detachments=new m.x,this._locationChanges=k.w0.EMPTY,this._backdropClickHandler=function(L){return M._backdropClick.next(L)},this._backdropTransitionendHandler=function(L){M._disposeBackdrop(L.target)},this._keydownEvents=new m.x,this._outsidePointerEvents=new m.x,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}return(0,E.Z)(s,[{key:"overlayElement",get:function(){return this._pane}},{key:"backdropElement",get:function(){return this._backdropElement}},{key:"hostElement",get:function(){return this._host}},{key:"attach",value:function(t){var e=this;!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);var i=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,U.q)(1)).subscribe(function(){e.hasAttached()&&e.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(function(){return e.dispose()})),this._outsideClickDispatcher.add(this),"function"==typeof i?.onDestroy&&i.onDestroy(function(){e.hasAttached()&&e._ngZone.runOutsideAngular(function(){return Promise.resolve().then(function(){return e.detach()})})}),i}},{key:"detach",value:function(){if(this.hasAttached()){this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();var t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}}},{key:"dispose",value:function(){var t,e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(t=this._host)||void 0===t||t.remove(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete()}},{key:"hasAttached",value:function(){return this._portalOutlet.hasAttached()}},{key:"backdropClick",value:function(){return this._backdropClick}},{key:"attachments",value:function(){return this._attachments}},{key:"detachments",value:function(){return this._detachments}},{key:"keydownEvents",value:function(){return this._keydownEvents}},{key:"outsidePointerEvents",value:function(){return this._outsidePointerEvents}},{key:"getConfig",value:function(){return this._config}},{key:"updatePosition",value:function(){this._positionStrategy&&this._positionStrategy.apply()}},{key:"updatePositionStrategy",value:function(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}},{key:"updateSize",value:function(t){this._config=(0,d.Z)((0,d.Z)({},this._config),t),this._updateElementSize()}},{key:"setDirection",value:function(t){this._config=(0,d.Z)((0,d.Z)({},this._config),{},{direction:t}),this._updateElementDirection()}},{key:"addPanelClass",value:function(t){this._pane&&this._toggleClasses(this._pane,t,!0)}},{key:"removePanelClass",value:function(t){this._pane&&this._toggleClasses(this._pane,t,!1)}},{key:"getDirection",value:function(){var t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}},{key:"updateScrollStrategy",value:function(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}},{key:"_updateElementDirection",value:function(){this._host.setAttribute("dir",this.getDirection())}},{key:"_updateElementSize",value:function(){if(this._pane){var t=this._pane.style;t.width=(0,C.coerceCssPixelValue)(this._config.width),t.height=(0,C.coerceCssPixelValue)(this._config.height),t.minWidth=(0,C.coerceCssPixelValue)(this._config.minWidth),t.minHeight=(0,C.coerceCssPixelValue)(this._config.minHeight),t.maxWidth=(0,C.coerceCssPixelValue)(this._config.maxWidth),t.maxHeight=(0,C.coerceCssPixelValue)(this._config.maxHeight)}}},{key:"_togglePointerEvents",value:function(t){this._pane.style.pointerEvents=t?"":"none"}},{key:"_attachBackdrop",value:function(){var t=this,e="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){t._backdropElement&&t._backdropElement.classList.add(e)})}):this._backdropElement.classList.add(e)}},{key:"_updateStackingOrder",value:function(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}},{key:"detachBackdrop",value:function(){var t=this,e=this._backdropElement;if(e){if(this._animationsDisabled)return void this._disposeBackdrop(e);e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(function(){e.addEventListener("transitionend",t._backdropTransitionendHandler)}),e.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(function(){return setTimeout(function(){t._disposeBackdrop(e)},500)})}}},{key:"_toggleClasses",value:function(t,e,i){var a,h,r=(0,C.coerceArray)(e||[]).filter(function(S){return!!S});r.length&&(i?(a=t.classList).add.apply(a,(0,u.Z)(r)):(h=t.classList).remove.apply(h,(0,u.Z)(r)))}},{key:"_detachContentWhenStable",value:function(){var t=this;this._ngZone.runOutsideAngular(function(){var e=t._ngZone.onStable.pipe((0,W.R)((0,F.T)(t._attachments,t._detachments))).subscribe(function(){(!t._pane||!t._host||0===t._pane.children.length)&&(t._pane&&t._config.panelClass&&t._toggleClasses(t._pane,t._config.panelClass,!1),t._host&&t._host.parentElement&&(t._previousHostParent=t._host.parentElement,t._host.remove()),e.unsubscribe())})})}},{key:"_disposeScrollStrategy",value:function(){var t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}},{key:"_disposeBackdrop",value:function(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}]),s}(),vt="cdk-overlay-connected-position-bounding-box",Dt=/([A-Za-z%]+)$/,_t=function(){function s(n,t,e,i,r){(0,g.Z)(this,s),this._viewportRuler=t,this._document=e,this._platform=i,this._overlayContainer=r,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new m.x,this._resizeSubscription=k.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(n)}return(0,E.Z)(s,[{key:"positions",get:function(){return this._preferredPositions}},{key:"attach",value:function(t){var e=this;this._validatePositions(),t.hostElement.classList.add(vt),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(function(){e._isInitialRender=!0,e.apply()})}},{key:"apply",value:function(){if(!this._isDisposed&&this._platform.isBrowser){if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();var h,Z,t=this._originRect,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,a=[],S=(0,v.Z)(this._preferredPositions);try{for(S.s();!(Z=S.n()).done;){var M=Z.value,R=this._getOriginPoint(t,r,M),L=this._getOverlayPoint(R,e,M),T=this._getOverlayFit(L,e,i,M);if(T.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(M,R);this._canFitWithFlexibleDimensions(T,L,i)?a.push({position:M,origin:R,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(R,M)}):(!h||h.overlayFit.visibleArea<T.visibleArea)&&(h={overlayFit:T,overlayPoint:L,originPoint:R,position:M,overlayRect:e})}}catch(ot){S.e(ot)}finally{S.f()}if(a.length){var z,H=null,N=-1,j=(0,v.Z)(a);try{for(j.s();!(z=j.n()).done;){var tt=z.value,Ct=tt.boundingBoxRect.width*tt.boundingBoxRect.height*(tt.position.weight||1);Ct>N&&(N=Ct,H=tt)}}catch(ot){j.e(ot)}finally{j.f()}return this._isPushed=!1,void this._applyPosition(H.position,H.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(h.position,h.originPoint);this._applyPosition(h.position,h.originPoint)}}},{key:"detach",value:function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}},{key:"dispose",value:function(){this._isDisposed||(this._boundingBox&&Q(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(vt),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}},{key:"reapplyLastPosition",value:function(){if(!this._isDisposed&&this._platform.isBrowser){var t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();var e=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,e)}else this.apply()}}},{key:"withScrollableContainers",value:function(t){return this._scrollables=t,this}},{key:"withPositions",value:function(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}},{key:"withViewportMargin",value:function(t){return this._viewportMargin=t,this}},{key:"withFlexibleDimensions",value:function(){return this._hasFlexibleDimensions=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],this}},{key:"withGrowAfterOpen",value:function(){return this._growAfterOpen=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],this}},{key:"withPush",value:function(){return this._canPush=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],this}},{key:"withLockedPosition",value:function(){return this._positionLocked=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],this}},{key:"setOrigin",value:function(t){return this._origin=t,this}},{key:"withDefaultOffsetX",value:function(t){return this._offsetX=t,this}},{key:"withDefaultOffsetY",value:function(t){return this._offsetY=t,this}},{key:"withTransformOriginOn",value:function(t){return this._transformOriginSelector=t,this}},{key:"_getOriginPoint",value:function(t,e,i){var r,S;if("center"==i.originX)r=t.left+t.width/2;else{var a=this._isRtl()?t.right:t.left,h=this._isRtl()?t.left:t.right;r="start"==i.originX?a:h}return e.left<0&&(r-=e.left),S="center"==i.originY?t.top+t.height/2:"top"==i.originY?t.top:t.bottom,e.top<0&&(S-=e.top),{x:r,y:S}}},{key:"_getOverlayPoint",value:function(t,e,i){var r;return r="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,{x:t.x+r,y:t.y+("center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height)}}},{key:"_getOverlayFit",value:function(t,e,i,r){var a=gt(e),h=t.x,S=t.y,Z=this._getOffset(r,"x"),M=this._getOffset(r,"y");Z&&(h+=Z),M&&(S+=M);var T=0-S,H=S+a.height-i.height,N=this._subtractOverflows(a.width,0-h,h+a.width-i.width),j=this._subtractOverflows(a.height,T,H),z=N*j;return{visibleArea:z,isCompletelyWithinViewport:a.width*a.height===z,fitsInViewportVertically:j===a.height,fitsInViewportHorizontally:N==a.width}}},{key:"_canFitWithFlexibleDimensions",value:function(t,e,i){if(this._hasFlexibleDimensions){var r=i.bottom-e.y,a=i.right-e.x,h=yt(this._overlayRef.getConfig().minHeight),S=yt(this._overlayRef.getConfig().minWidth);return(t.fitsInViewportVertically||null!=h&&h<=r)&&(t.fitsInViewportHorizontally||null!=S&&S<=a)}return!1}},{key:"_pushOverlayOnScreen",value:function(t,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};var R,L,r=gt(e),a=this._viewportRect,h=Math.max(t.x+r.width-a.width,0),S=Math.max(t.y+r.height-a.height,0),Z=Math.max(a.top-i.top-t.y,0),M=Math.max(a.left-i.left-t.x,0);return this._previousPushAmount={x:R=r.width<=a.width?M||-h:t.x<this._viewportMargin?a.left-i.left-t.x:0,y:L=r.height<=a.height?Z||-S:t.y<this._viewportMargin?a.top-i.top-t.y:0},{x:t.x+R,y:t.y+L}}},{key:"_applyPosition",value:function(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._lastPosition=t,this._positionChanges.observers.length){var i=this._getScrollVisibility(),r=new ht(t,i);this._positionChanges.next(r)}this._isInitialRender=!1}},{key:"_setTransformOrigin",value:function(t){if(this._transformOriginSelector){var i,e=this._boundingBox.querySelectorAll(this._transformOriginSelector),r=t.overlayY;i="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(var a=0;a<e.length;a++)e[a].style.transformOrigin="".concat(i," ").concat(r)}}},{key:"_calculateBoundingBoxRect",value:function(t,e){var a,h,S,T,H,N,i=this._viewportRect,r=this._isRtl();if("top"===e.overlayY)a=i.height-(h=t.y)+this._viewportMargin;else if("bottom"===e.overlayY)a=i.height-(S=i.height-t.y+2*this._viewportMargin)+this._viewportMargin;else{var Z=Math.min(i.bottom-t.y+i.top,t.y),M=this._lastBoundingBoxSize.height;h=t.y-Z,(a=2*Z)>M&&!this._isInitialRender&&!this._growAfterOpen&&(h=t.y-M/2)}if("end"===e.overlayX&&!r||"start"===e.overlayX&&r)N=i.width-t.x+this._viewportMargin,T=t.x-this._viewportMargin;else if("start"===e.overlayX&&!r||"end"===e.overlayX&&r)H=t.x,T=i.right-t.x;else{var j=Math.min(i.right-t.x+i.left,t.x),z=this._lastBoundingBoxSize.width;H=t.x-j,(T=2*j)>z&&!this._isInitialRender&&!this._growAfterOpen&&(H=t.x-z/2)}return{top:h,left:H,bottom:S,right:N,width:T,height:a}}},{key:"_setBoundingBoxStyles",value:function(t,e){var i=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));var r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{var a=this._overlayRef.getConfig().maxHeight,h=this._overlayRef.getConfig().maxWidth;r.height=(0,C.coerceCssPixelValue)(i.height),r.top=(0,C.coerceCssPixelValue)(i.top),r.bottom=(0,C.coerceCssPixelValue)(i.bottom),r.width=(0,C.coerceCssPixelValue)(i.width),r.left=(0,C.coerceCssPixelValue)(i.left),r.right=(0,C.coerceCssPixelValue)(i.right),r.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",r.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",a&&(r.maxHeight=(0,C.coerceCssPixelValue)(a)),h&&(r.maxWidth=(0,C.coerceCssPixelValue)(h))}this._lastBoundingBoxSize=i,Q(this._boundingBox.style,r)}},{key:"_resetBoundingBoxStyles",value:function(){Q(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}},{key:"_resetOverlayElementStyles",value:function(){Q(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}},{key:"_setOverlayElementStyles",value:function(t,e){var i={},r=this._hasExactPosition(),a=this._hasFlexibleDimensions,h=this._overlayRef.getConfig();if(r){var S=this._viewportRuler.getViewportScrollPosition();Q(i,this._getExactOverlayY(e,t,S)),Q(i,this._getExactOverlayX(e,t,S))}else i.position="static";var Z="",M=this._getOffset(e,"x"),R=this._getOffset(e,"y");M&&(Z+="translateX(".concat(M,"px) ")),R&&(Z+="translateY(".concat(R,"px)")),i.transform=Z.trim(),h.maxHeight&&(r?i.maxHeight=(0,C.coerceCssPixelValue)(h.maxHeight):a&&(i.maxHeight="")),h.maxWidth&&(r?i.maxWidth=(0,C.coerceCssPixelValue)(h.maxWidth):a&&(i.maxWidth="")),Q(this._pane.style,i)}},{key:"_getExactOverlayY",value:function(t,e,i){var r={top:"",bottom:""},a=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,i)),"bottom"===t.overlayY?r.bottom="".concat(this._document.documentElement.clientHeight-(a.y+this._overlayRect.height),"px"):r.top=(0,C.coerceCssPixelValue)(a.y),r}},{key:"_getExactOverlayX",value:function(t,e,i){var r={left:"",right:""},a=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,i)),"right"==(this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left")?r.right="".concat(this._document.documentElement.clientWidth-(a.x+this._overlayRect.width),"px"):r.left=(0,C.coerceCssPixelValue)(a.x),r}},{key:"_getScrollVisibility",value:function(){var t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(function(r){return r.getElementRef().nativeElement.getBoundingClientRect()});return{isOriginClipped:st(t,i),isOriginOutsideView:nt(t,i),isOverlayClipped:st(e,i),isOverlayOutsideView:nt(e,i)}}},{key:"_subtractOverflows",value:function(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),r=1;r<e;r++)i[r-1]=arguments[r];return i.reduce(function(a,h){return a-Math.max(h,0)},t)}},{key:"_getNarrowedViewportRect",value:function(){var t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+t-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}},{key:"_isRtl",value:function(){return"rtl"===this._overlayRef.getDirection()}},{key:"_hasExactPosition",value:function(){return!this._hasFlexibleDimensions||this._isPushed}},{key:"_getOffset",value:function(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}},{key:"_validatePositions",value:function(){}},{key:"_addPanelClasses",value:function(t){var e=this;this._pane&&(0,C.coerceArray)(t).forEach(function(i){""!==i&&-1===e._appliedPanelClasses.indexOf(i)&&(e._appliedPanelClasses.push(i),e._pane.classList.add(i))})}},{key:"_clearPanelClasses",value:function(){var t=this;this._pane&&(this._appliedPanelClasses.forEach(function(e){t._pane.classList.remove(e)}),this._appliedPanelClasses=[])}},{key:"_getOriginRect",value:function(){var t=this._origin;if(t instanceof l.ElementRef)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();var e=t.width||0,i=t.height||0;return{top:t.y,bottom:t.y+i,left:t.x,right:t.x+e,height:i,width:e}}}]),s}();function Q(s,n){for(var t in n)n.hasOwnProperty(t)&&(s[t]=n[t]);return s}function yt(s){if("number"!=typeof s&&null!=s){var n=s.split(Dt),t=(0,p.Z)(n,2),i=t[1];return i&&"px"!==i?null:parseFloat(t[0])}return s||null}function gt(s){return{top:Math.floor(s.top),right:Math.floor(s.right),bottom:Math.floor(s.bottom),left:Math.floor(s.left),width:Math.floor(s.width),height:Math.floor(s.height)}}var xt=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}],Rt=[{originX:"end",originY:"top",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"start",overlayY:"bottom"},{originX:"start",originY:"top",overlayX:"end",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"end",overlayY:"bottom"}],pt="cdk-global-overlay-wrapper",mt=function(){function s(){(0,g.Z)(this,s),this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}return(0,E.Z)(s,[{key:"attach",value:function(t){var e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(pt),this._isDisposed=!1}},{key:"top",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}},{key:"left",value:function(){return this._xOffset=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",this._xPosition="left",this}},{key:"bottom",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}},{key:"right",value:function(){return this._xOffset=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",this._xPosition="right",this}},{key:"start",value:function(){return this._xOffset=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",this._xPosition="start",this}},{key:"end",value:function(){return this._xOffset=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",this._xPosition="end",this}},{key:"width",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}},{key:"height",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}},{key:"centerHorizontally",value:function(){return this.left(arguments.length>0&&void 0!==arguments[0]?arguments[0]:""),this._xPosition="center",this}},{key:"centerVertically",value:function(){return this.top(arguments.length>0&&void 0!==arguments[0]?arguments[0]:""),this._alignItems="center",this}},{key:"apply",value:function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),r=i.width,a=i.height,h=i.maxWidth,S=i.maxHeight,Z=!("100%"!==r&&"100vw"!==r||h&&"100%"!==h&&"100vw"!==h),M=!("100%"!==a&&"100vh"!==a||S&&"100%"!==S&&"100vh"!==S),R=this._xPosition,L=this._xOffset,T="rtl"===this._overlayRef.getConfig().direction,H="",N="",j="";Z?j="flex-start":"center"===R?(j="center",T?N=L:H=L):T?"left"===R||"end"===R?(j="flex-end",H=L):("right"===R||"start"===R)&&(j="flex-start",N=L):"left"===R||"start"===R?(j="flex-start",H=L):("right"===R||"end"===R)&&(j="flex-end",N=L),t.position=this._cssPosition,t.marginLeft=Z?"0":H,t.marginTop=M?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=Z?"0":N,e.justifyContent=j,e.alignItems=M?"flex-start":this._alignItems}}},{key:"dispose",value:function(){if(!this._isDisposed&&this._overlayRef){var t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(pt),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}}]),s}(),bt=function(){var s=function(){function n(t,e,i,r){(0,g.Z)(this,n),this._viewportRuler=t,this._document=e,this._platform=i,this._overlayContainer=r}return(0,E.Z)(n,[{key:"global",value:function(){return new mt}},{key:"flexibleConnectedTo",value:function(e){return new _t(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}]),n}();return s.\u0275fac=function(t){return new(t||s)(l.\u0275\u0275inject(x.ViewportRuler),l.\u0275\u0275inject(D.DOCUMENT),l.\u0275\u0275inject(A.Platform),l.\u0275\u0275inject($))},s.\u0275prov=l.\u0275\u0275defineInjectable({token:s,factory:s.\u0275fac,providedIn:"root"}),s}(),Mt=0,q=function(){var s=function(){function n(t,e,i,r,a,h,S,Z,M,R,L,T){(0,g.Z)(this,n),this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=i,this._positionBuilder=r,this._keyboardDispatcher=a,this._injector=h,this._ngZone=S,this._document=Z,this._directionality=M,this._location=R,this._outsideClickDispatcher=L,this._animationsModuleType=T}return(0,E.Z)(n,[{key:"create",value:function(e){var i=this._createHostElement(),r=this._createPaneElement(i),a=this._createPortalOutlet(r),h=new rt(e);return h.direction=h.direction||this._directionality.value,new dt(a,i,r,h,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}},{key:"position",value:function(){return this._positionBuilder}},{key:"_createPaneElement",value:function(e){var i=this._document.createElement("div");return i.id="cdk-overlay-".concat(Mt++),i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}},{key:"_createHostElement",value:function(){var e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}},{key:"_createPortalOutlet",value:function(e){return this._appRef||(this._appRef=this._injector.get(l.ApplicationRef)),new B.DomPortalOutlet(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}]),n}();return s.\u0275fac=function(t){return new(t||s)(l.\u0275\u0275inject(lt),l.\u0275\u0275inject($),l.\u0275\u0275inject(l.ComponentFactoryResolver),l.\u0275\u0275inject(bt),l.\u0275\u0275inject(ut),l.\u0275\u0275inject(l.Injector),l.\u0275\u0275inject(l.NgZone),l.\u0275\u0275inject(D.DOCUMENT),l.\u0275\u0275inject(P.Directionality),l.\u0275\u0275inject(D.Location),l.\u0275\u0275inject(ft),l.\u0275\u0275inject(l.ANIMATION_MODULE_TYPE,8))},s.\u0275prov=l.\u0275\u0275defineInjectable({token:s,factory:s.\u0275fac,providedIn:"root"}),s}(),At=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Ot=new l.InjectionToken("cdk-connected-overlay-scroll-strategy"),Et=function(){var s=(0,E.Z)(function n(t){(0,g.Z)(this,n),this.elementRef=t});return s.\u0275fac=function(t){return new(t||s)(l.\u0275\u0275directiveInject(l.ElementRef))},s.\u0275dir=l.\u0275\u0275defineDirective({type:s,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0}),s}(),Bt=function(){var s=function(){function n(t,e,i,r,a){(0,g.Z)(this,n),this._overlay=t,this._dir=a,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=k.w0.EMPTY,this._attachSubscription=k.w0.EMPTY,this._detachSubscription=k.w0.EMPTY,this._positionSubscription=k.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new l.EventEmitter,this.positionChange=new l.EventEmitter,this.attach=new l.EventEmitter,this.detach=new l.EventEmitter,this.overlayKeydown=new l.EventEmitter,this.overlayOutsideClick=new l.EventEmitter,this._templatePortal=new B.TemplatePortal(e,i),this._scrollStrategyFactory=r,this.scrollStrategy=this._scrollStrategyFactory()}return(0,E.Z)(n,[{key:"offsetX",get:function(){return this._offsetX},set:function(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}},{key:"offsetY",get:function(){return this._offsetY},set:function(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(e){this._hasBackdrop=(0,C.coerceBooleanProperty)(e)}},{key:"lockPosition",get:function(){return this._lockPosition},set:function(e){this._lockPosition=(0,C.coerceBooleanProperty)(e)}},{key:"flexibleDimensions",get:function(){return this._flexibleDimensions},set:function(e){this._flexibleDimensions=(0,C.coerceBooleanProperty)(e)}},{key:"growAfterOpen",get:function(){return this._growAfterOpen},set:function(e){this._growAfterOpen=(0,C.coerceBooleanProperty)(e)}},{key:"push",get:function(){return this._push},set:function(e){this._push=(0,C.coerceBooleanProperty)(e)}},{key:"overlayRef",get:function(){return this._overlayRef}},{key:"dir",get:function(){return this._dir?this._dir.value:"ltr"}},{key:"ngOnDestroy",value:function(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}},{key:"ngOnChanges",value:function(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}},{key:"_createOverlay",value:function(){var e=this;(!this.positions||!this.positions.length)&&(this.positions=At);var i=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=i.attachments().subscribe(function(){return e.attach.emit()}),this._detachSubscription=i.detachments().subscribe(function(){return e.detach.emit()}),i.keydownEvents().subscribe(function(r){e.overlayKeydown.next(r),r.keyCode===Y.ESCAPE&&!e.disableClose&&!(0,Y.hasModifierKey)(r)&&(r.preventDefault(),e._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(function(r){e.overlayOutsideClick.next(r)})}},{key:"_buildConfig",value:function(){var e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new rt({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(i.width=this.width),(this.height||0===this.height)&&(i.height=this.height),(this.minWidth||0===this.minWidth)&&(i.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}},{key:"_updatePositionStrategy",value:function(e){var i=this,r=this.positions.map(function(a){return{originX:a.originX,originY:a.originY,overlayX:a.overlayX,overlayY:a.overlayY,offsetX:a.offsetX||i.offsetX,offsetY:a.offsetY||i.offsetY,panelClass:a.panelClass||void 0}});return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(r).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}},{key:"_createPositionStrategy",value:function(){var e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}},{key:"_getFlexibleConnectedPositionStrategyOrigin",value:function(){return this.origin instanceof Et?this.origin.elementRef:this.origin}},{key:"_attachOverlay",value:function(){var e=this;this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(function(i){e.backdropClick.emit(i)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function y(s){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,V.e)(function(t,e){var i=0;t.subscribe((0,w.x)(e,function(r){var a=s(r,i++);(a||n)&&e.next(r),!a&&e.complete()}))})}(function(){return e.positionChange.observers.length>0})).subscribe(function(i){e.positionChange.emit(i),0===e.positionChange.observers.length&&e._positionSubscription.unsubscribe()}))}},{key:"_detachOverlay",value:function(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}]),n}();return s.\u0275fac=function(t){return new(t||s)(l.\u0275\u0275directiveInject(q),l.\u0275\u0275directiveInject(l.TemplateRef),l.\u0275\u0275directiveInject(l.ViewContainerRef),l.\u0275\u0275directiveInject(Ot),l.\u0275\u0275directiveInject(P.Directionality,8))},s.\u0275dir=l.\u0275\u0275defineDirective({type:s,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[l.\u0275\u0275NgOnChangesFeature]}),s}(),Lt={provide:Ot,deps:[q],useFactory:function Zt(s){return function(){return s.scrollStrategies.reposition()}}},It=function(){var s=(0,E.Z)(function n(){(0,g.Z)(this,n)});return s.\u0275fac=function(t){return new(t||s)},s.\u0275mod=l.\u0275\u0275defineNgModule({type:s}),s.\u0275inj=l.\u0275\u0275defineInjector({providers:[q,Lt],imports:[P.BidiModule,B.PortalModule,x.ScrollingModule,x.ScrollingModule]}),s}(),Tt=function(){var s=function(n){(0,f.Z)(e,n);var t=(0,b.Z)(e);function e(i,r){return(0,g.Z)(this,e),t.call(this,i,r)}return(0,E.Z)(e,[{key:"ngOnDestroy",value:function(){(0,c.Z)((0,_.Z)(e.prototype),"ngOnDestroy",this).call(this),this._fullScreenEventName&&this._fullScreenListener&&this._document.removeEventListener(this._fullScreenEventName,this._fullScreenListener)}},{key:"_createContainer",value:function(){var r=this;(0,c.Z)((0,_.Z)(e.prototype),"_createContainer",this).call(this),this._adjustParentForFullscreenChange(),this._addFullscreenChangeListener(function(){return r._adjustParentForFullscreenChange()})}},{key:"_adjustParentForFullscreenChange",value:function(){this._containerElement&&(this.getFullscreenElement()||this._document.body).appendChild(this._containerElement)}},{key:"_addFullscreenChangeListener",value:function(r){var a=this._getEventName();a&&(this._fullScreenListener&&this._document.removeEventListener(a,this._fullScreenListener),this._document.addEventListener(a,r),this._fullScreenListener=r)}},{key:"_getEventName",value:function(){if(!this._fullScreenEventName){var r=this._document;r.fullscreenEnabled?this._fullScreenEventName="fullscreenchange":r.webkitFullscreenEnabled?this._fullScreenEventName="webkitfullscreenchange":r.mozFullScreenEnabled?this._fullScreenEventName="mozfullscreenchange":r.msFullscreenEnabled&&(this._fullScreenEventName="MSFullscreenChange")}return this._fullScreenEventName}},{key:"getFullscreenElement",value:function(){var r=this._document;return r.fullscreenElement||r.webkitFullscreenElement||r.mozFullScreenElement||r.msFullscreenElement||null}}]),e}($);return s.\u0275fac=function(t){return new(t||s)(l.\u0275\u0275inject(D.DOCUMENT),l.\u0275\u0275inject(A.Platform))},s.\u0275prov=l.\u0275\u0275defineInjectable({token:s,factory:s.\u0275fac,providedIn:"root"}),s}()},44841:(I,O,o)=>{function p(v,u){(null==u||u>v.length)&&(u=v.length);for(var d=0,c=new Array(u);d<u;d++)c[d]=v[d];return c}o.d(O,{Z:()=>p})},8091:(I,O,o)=>{function p(v){if(Array.isArray(v))return v}o.d(O,{Z:()=>p})},95106:(I,O,o)=>{o.d(O,{Z:()=>v});var p=o(44206);function v(u,d){var c=typeof Symbol<"u"&&u[Symbol.iterator]||u["@@iterator"];if(!c){if(Array.isArray(u)||(c=(0,p.Z)(u))||d&&u&&"number"==typeof u.length){c&&(u=c);var _=0,f=function(){};return{s:f,n:function(){return _>=u.length?{done:!0}:{done:!1,value:u[_++]}},e:function(D){throw D},f}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var E,b=!0,g=!1;return{s:function(){c=c.call(u)},n:function(){var D=c.next();return b=D.done,D},e:function(D){g=!0,E=D},f:function(){try{!b&&null!=c.return&&c.return()}finally{if(g)throw E}}}}},77797:(I,O,o)=>{o.d(O,{Z:()=>v});var p=o(51299);function v(u,d,c){return(d=(0,p.Z)(d))in u?Object.defineProperty(u,d,{value:c,enumerable:!0,configurable:!0,writable:!0}):u[d]=c,u}},4089:(I,O,o)=>{o.d(O,{Z:()=>u});var p=o(20265);function u(){return u=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(c,_,f){var b=function v(d,c){for(;!Object.prototype.hasOwnProperty.call(d,c)&&null!==(d=(0,p.Z)(d)););return d}(c,_);if(b){var g=Object.getOwnPropertyDescriptor(b,_);return g.get?g.get.call(arguments.length<3?c:f):g.value}},u.apply(this,arguments)}},4826:(I,O,o)=>{function p(v){if(typeof Symbol<"u"&&null!=v[Symbol.iterator]||null!=v["@@iterator"])return Array.from(v)}o.d(O,{Z:()=>p})},8217:(I,O,o)=>{function p(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}o.d(O,{Z:()=>p})},35603:(I,O,o)=>{o.d(O,{Z:()=>u});var p=o(77797);function v(d,c){var _=Object.keys(d);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(d);c&&(f=f.filter(function(b){return Object.getOwnPropertyDescriptor(d,b).enumerable})),_.push.apply(_,f)}return _}function u(d){for(var c=1;c<arguments.length;c++){var _=null!=arguments[c]?arguments[c]:{};c%2?v(Object(_),!0).forEach(function(f){(0,p.Z)(d,f,_[f])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(_)):v(Object(_)).forEach(function(f){Object.defineProperty(d,f,Object.getOwnPropertyDescriptor(_,f))})}return d}},32090:(I,O,o)=>{o.d(O,{Z:()=>c});var p=o(8091),u=o(44206),d=o(8217);function c(_,f){return(0,p.Z)(_)||function v(_,f){var b=null==_?null:typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(null!=b){var g,E,x,D,l=[],C=!0,A=!1;try{if(x=(b=b.call(_)).next,0===f){if(Object(b)!==b)return;C=!1}else for(;!(C=(g=x.call(b)).done)&&(l.push(g.value),l.length!==f);C=!0);}catch(X){A=!0,E=X}finally{try{if(!C&&null!=b.return&&(D=b.return(),Object(D)!==D))return}finally{if(A)throw E}}return l}}(_,f)||(0,u.Z)(_,f)||(0,d.Z)()}},86170:(I,O,o)=>{o.d(O,{Z:()=>_});var p=o(44841),u=o(4826),d=o(44206);function _(f){return function v(f){if(Array.isArray(f))return(0,p.Z)(f)}(f)||(0,u.Z)(f)||(0,d.Z)(f)||function c(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(I,O,o)=>{o.d(O,{Z:()=>v});var p=o(44841);function v(u,d){if(u){if("string"==typeof u)return(0,p.Z)(u,d);var c=Object.prototype.toString.call(u).slice(8,-1);if("Object"===c&&u.constructor&&(c=u.constructor.name),"Map"===c||"Set"===c)return Array.from(u);if("Arguments"===c||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return(0,p.Z)(u,d)}}}}]); +//# sourceMappingURL=5544.0c122e7d49a65d8b.js.map \ No newline at end of file diff --git a/5544.0c122e7d49a65d8b.js.map b/5544.0c122e7d49a65d8b.js.map new file mode 100644 index 0000000..3d52ba6 --- /dev/null +++ b/5544.0c122e7d49a65d8b.js.map @@ -0,0 +1 @@ +{"version":3,"file":"5544.0c122e7d49a65d8b.js","mappings":"6NACaA,cAA0BC,GAAiB,SAACC,GAAM,OAAK,WAChEA,EAAOC,MACPA,KAAKC,KAAO,0BACZD,KAAKE,QAAU,qBACnB,CAAC,yBCAYC,EAAO,eAAPA,EAAO,SAAAC,IAAAC,OAAAF,EAAAC,GAAA,IAAAL,KAAAO,KAAAH,GAChB,SAAAA,IAAc,IAAAI,EAAAC,cAAAR,KAAAG,IACVI,EAAAR,EAAAU,KAAAT,OACKU,QAAS,EACdH,EAAKI,iBAAmB,KACxBJ,EAAKK,UAAY,GACjBL,EAAKM,WAAY,EACjBN,EAAKO,UAAW,EAChBP,EAAKQ,YAAc,KAAKR,CAC5B,CAACS,cAAAb,EAAA,EAAAc,IAAA,OAAAC,MACD,SAAKC,GACD,IAAMC,EAAU,IAAIC,EAAiBrB,KAAMA,MAC3CoB,SAAQD,SAAWA,EACZC,CACX,GAAC,CAAAH,IAAA,iBAAAC,MACD,WACI,GAAIlB,KAAKU,OAC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","createErrorClass","_super","this","name","message","Subject","_Observable","_inherits","_createSuper","_this","_classCallCheck","call","closed","currentObservers","observers","isStopped","hasError","thrownError","_createClass","key","value","operator","subject","AnonymousSubject","_this2","errorContext","_throwIfClosed","Array","from","_step","_iterator","_createForOfIteratorHelper","s","n","done","next","err","e","f","_this3","length","shift","error","_this4","complete","get","_a","subscriber","_get","_getPrototypeOf","prototype","_checkFinalizedStatuses","_innerSubscribe","_this5","EMPTY_SUBSCRIPTION","push","Subscription","arrRemove","observable","Observable","source","create","destination","_Subject","_super2","_this6","_b","subscribe","EMPTY","subscribeOn","scheduler","delay","arguments","undefined","operate","add","schedule","scheduleAsyncIterable","input","Error","executeSchedule","iterator","Symbol","asyncIterator","then","result","scheduled","isInteropObservable","scheduleObservable","innerFrom","pipe","observeOn","isArrayLike","scheduleArray","i","isPromise","schedulePromise","isAsyncIterable","isIterable","scheduleIterable","Symbol_iterator","_iterator$next","isFunction","return","isReadableStreamLike","scheduleReadableStreamLike","readableStreamLikeToAsyncGenerator","createInvalidObservableTypeError","merge","_len","args","_key","popScheduler","concurrent","popNumber","Infinity","sources","mergeAll","createOperatorSubscriber","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_next","_assertThisInitialized","_error","unsubscribe","_complete","Subscriber","filter","predicate","thisArg","index","map","project","mergeMap","identity","resultSelector","a","b","ii","mergeInternals","onBeforeNext","expand","innerSubScheduler","additionalFinalizer","buffer","active","isComplete","checkComplete","outerNext","doInnerSub","innerComplete","innerValue","_loop","bufferedValue","take","count","seen","takeUntil","notifier","noop","last","arr","popResultSelector","pop","isScheduler","defaultValue","parentSubscription","work","repeat","scheduleSubscription","hasLift","lift","init","liftedSource","TypeError","scrollBehaviorSupported","supportsScrollBehavior","BlockScrollStrategy","_viewportRuler","document","_previousHTMLStyles","top","left","_isEnabled","_document","_canBeEnabled","root","documentElement","_previousScrollPosition","getViewportScrollPosition","style","coerceCssPixelValue","classList","html","htmlStyle","bodyStyle","body","previousHtmlScrollBehavior","scrollBehavior","previousBodyScrollBehavior","remove","window","scroll","contains","viewport","getViewportSize","scrollHeight","height","scrollWidth","width","CloseScrollStrategy","_scrollDispatcher","_ngZone","_config","_scrollSubscription","_detach","disable","_overlayRef","hasAttached","run","detach","overlayRef","stream","scrolled","scrollable","overlayElement","getElementRef","nativeElement","threshold","_initialScrollPosition","scrollPosition","Math","abs","updatePosition","NoopScrollStrategy","isElementScrolledOutsideView","element","scrollContainers","some","containerBounds","bottom","right","isElementClippedByScrolling","scrollContainerRect","RepositionScrollStrategy","scrollThrottle","autoClose","overlayRect","getBoundingClientRect","_this3$_viewportRuler","ScrollStrategyOptions","close","config","block","reposition","ɵfac","t","i0","i1","DOCUMENT","ɵprov","token","factory","providedIn","OverlayConfig","scrollStrategy","panelClass","hasBackdrop","backdropClass","disposeOnNavigation","_i","_configKeys","Object","keys","ConnectionPositionPair","origin","overlay","offsetX","offsetY","originX","originY","overlayX","overlayY","ScrollingVisibility","ConnectedOverlayPositionChange","connectionPair","scrollableViewProperties","validateVerticalPosition","property","concat","validateHorizontalPosition","BaseOverlayDispatcher","_attachedOverlays","indexOf","splice","OverlayKeyboardDispatcher","_BaseOverlayDispatche","_keydownListener","event","overlays","_keydownEvents","keydownEvents","_isAttached","runOutsideAngular","addEventListener","removeEventListener","OverlayOutsideClickDispatcher","_BaseOverlayDispatche2","_platform","_this7","_cursorStyleIsSet","_pointerDownListener","_pointerDownEventTarget","_getEventTarget","_clickListener","target","type","slice","_loop2","_outsidePointerEvents","outsidePointerEvents","_ret2","_this8","_addEventListeners","IOS","_cursorOriginalValue","cursor","i1$1","OverlayContainer","_this$_containerEleme","_containerElement","_createContainer","containerClass","isBrowser","_isTestEnvironment","oppositePlatformContainers","querySelectorAll","container","createElement","setAttribute","appendChild","OverlayRef","_portalOutlet","_host","_pane","_keyboardDispatcher","_location","_outsideClickDispatcher","_this9","_animationsDisabled","_backdropElement","_backdropClick","_attachments","_detachments","_locationChanges","_backdropClickHandler","_backdropTransitionendHandler","_disposeBackdrop","_scrollStrategy","attach","_positionStrategy","positionStrategy","portal","_this10","parentElement","_previousHostParent","attachResult","_updateStackingOrder","_updateElementSize","_updateElementDirection","enable","onStable","_togglePointerEvents","_attachBackdrop","_toggleClasses","dispose","onDestroy","Promise","resolve","detachBackdrop","detachmentResult","_detachContentWhenStable","_this$_host","isAttached","_disposeScrollStrategy","apply","strategy","sizeConfig","_objectSpread","dir","direction","classes","getDirection","minWidth","minHeight","maxWidth","maxHeight","enablePointer","pointerEvents","_this11","showingClass","insertBefore","requestAnimationFrame","nextSibling","parentNode","_this12","backdropToDetach","_backdropTimeout","setTimeout","cssClasses","isAdd","_element$classList","_element$classList2","coerceArray","c","_toConsumableArray","_this13","subscription","children","backdrop","clearTimeout","boundingBoxClass","cssUnitPattern","FlexibleConnectedPositionStrategy","connectedTo","_overlayContainer","_lastBoundingBoxSize","_isPushed","_canPush","_growAfterOpen","_hasFlexibleDimensions","_positionLocked","_viewportMargin","_scrollables","_preferredPositions","_positionChanges","_resizeSubscription","_offsetX","_offsetY","_appliedPanelClasses","positionChanges","setOrigin","_this14","_validatePositions","hostElement","_boundingBox","_isDisposed","_isInitialRender","_lastPosition","change","reapplyLastPosition","_clearPanelClasses","_resetOverlayElementStyles","_resetBoundingBoxStyles","_viewportRect","_getNarrowedViewportRect","_originRect","_getOriginRect","_overlayRect","_containerRect","getContainerElement","fallback","originRect","viewportRect","containerRect","flexibleFits","pos","originPoint","_getOriginPoint","overlayPoint","_getOverlayPoint","overlayFit","_getOverlayFit","isCompletelyWithinViewport","_applyPosition","_canFitWithFlexibleDimensions","position","boundingBoxRect","_calculateBoundingBoxRect","visibleArea","_step2","bestFit","bestScore","_iterator2","fit","score","weight","_previousPushAmount","extendStyles","alignItems","justifyContent","lastPosition","scrollables","positions","margin","_origin","offset","selector","_transformOriginSelector","x","y","startX","_isRtl","endX","overlayStartX","point","rawOverlayRect","getRoundedBoundingClientRect","_getOffset","topOverflow","bottomOverflow","visibleWidth","_subtractOverflows","visibleHeight","fitsInViewportVertically","fitsInViewportHorizontally","availableHeight","availableWidth","getPixelValue","getConfig","horizontalFit","start","pushX","pushY","overflowRight","max","overflowBottom","overflowTop","overflowLeft","_setTransformOrigin","_setOverlayElementStyles","_setBoundingBoxStyles","_addPanelClasses","_getScrollVisibility","changeEvent","xOrigin","elements","yOrigin","transformOrigin","isRtl","smallestDistanceToViewportEdge","min","previousHeight","previousWidth","styles","_hasExactPosition","transform","hasExactPosition","hasFlexibleDimensions","_getExactOverlayY","_getExactOverlayX","transformString","trim","_pushOverlayOnScreen","clientHeight","clientWidth","originBounds","overlayBounds","scrollContainerBounds","isOriginClipped","isOriginOutsideView","isOverlayClipped","isOverlayOutsideView","overflows","reduce","currentValue","currentOverflow","axis","_this15","forEach","cssClass","_this16","ElementRef","Element","hasOwnProperty","_input$split","split","_input$split2","_slicedToArray","units","parseFloat","clientRect","floor","STANDARD_DROPDOWN_BELOW_POSITIONS","STANDARD_DROPDOWN_ADJACENT_POSITIONS","wrapperClass","GlobalPositionStrategy","_cssPosition","_topOffset","_bottomOffset","_alignItems","_xPosition","_xOffset","_width","_height","updateSize","parentStyles","shouldBeFlushHorizontally","shouldBeFlushVertically","xPosition","xOffset","marginLeft","marginRight","marginTop","marginBottom","parent","OverlayPositionBuilder","nextUniqueId","Overlay","scrollStrategies","_componentFactoryResolver","_positionBuilder","_injector","_directionality","_animationsModuleType","host","_createHostElement","pane","_createPaneElement","portalOutlet","_createPortalOutlet","overlayConfig","id","_appRef","ApplicationRef","DomPortalOutlet","i5","i6","ANIMATION_MODULE_TYPE","defaultPositionList","CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY","InjectionToken","CdkOverlayOrigin","elementRef","ɵdir","selectors","exportAs","standalone","CdkConnectedOverlay","_overlay","templateRef","viewContainerRef","scrollStrategyFactory","_dir","_hasBackdrop","_lockPosition","_flexibleDimensions","_push","_backdropSubscription","_attachSubscription","_detachSubscription","_positionSubscription","viewportMargin","open","disableClose","backdropClick","EventEmitter","positionChange","overlayKeydown","overlayOutsideClick","_templatePortal","TemplatePortal","_scrollStrategyFactory","set","_position","_updatePositionStrategy","coerceBooleanProperty","changes","_attachOverlay","_detachOverlay","_this17","_buildConfig","attachments","emit","detachments","keyCode","ESCAPE","hasModifierKey","preventDefault","_createPositionStrategy","_this18","currentPosition","_getFlexibleConnectedPositionStrategyOrigin","withPositions","withFlexibleDimensions","flexibleDimensions","withPush","withGrowAfterOpen","growAfterOpen","withViewportMargin","withLockedPosition","lockPosition","withTransformOriginOn","transformOriginSelector","flexibleConnectedTo","_this19","_createOverlay","takeWhile","inclusive","inputs","outputs","features","CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER","provide","deps","useFactory","CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER_FACTORY","OverlayModule","ɵmod","ɵinj","providers","imports","BidiModule","PortalModule","ScrollingModule","FullscreenOverlayContainer","_OverlayContainer","_super3","platform","_fullScreenEventName","_fullScreenListener","_this20","_adjustParentForFullscreenChange","_addFullscreenChangeListener","getFullscreenElement","fn","eventName","_getEventName","fullscreenEnabled","webkitFullscreenEnabled","mozFullScreenEnabled","msFullscreenEnabled","fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement","_arrayLikeToArray","len","arr2","_arrayWithHoles","isArray","o","allowArrayLike","it","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","_e","normalCompletion","didErr","step","_e2","_defineProperty","obj","_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__","defineProperty","enumerable","configurable","writable","Reflect","bind","receiver","base","_superPropBase","object","getPrototypeOf","desc","getOwnPropertyDescriptor","_iterableToArray","iter","_nonIterableRest","ownKeys","enumerableOnly","getOwnPropertySymbols","symbols","sym","_objectSpread2","_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__","getOwnPropertyDescriptors","defineProperties","arrayWithHoles","_iterableToArrayLimit","_s","_x","_r","_arr","_n","_d","unsupportedIterableToArray","nonIterableRest","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","toString","constructor","test"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/util/ObjectUnsubscribedError.js","./node_modules/rxjs/dist/esm/internal/Subject.js","./node_modules/rxjs/dist/esm/internal/observable/empty.js","./node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleAsyncIterable.js","./node_modules/rxjs/dist/esm/internal/observable/from.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduled.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleObservable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleArray.js","./node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleIterable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleReadableStreamLike.js","./node_modules/rxjs/dist/esm/internal/observable/merge.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/filter.js","./node_modules/rxjs/dist/esm/internal/operators/map.js","./node_modules/rxjs/dist/esm/internal/operators/mergeAll.js","./node_modules/rxjs/dist/esm/internal/operators/mergeMap.js","./node_modules/rxjs/dist/esm/internal/operators/mergeInternals.js","./node_modules/rxjs/dist/esm/internal/operators/observeOn.js","./node_modules/rxjs/dist/esm/internal/operators/take.js","./node_modules/rxjs/dist/esm/internal/operators/takeUntil.js","./node_modules/rxjs/dist/esm/internal/util/args.js","./node_modules/rxjs/dist/esm/internal/util/executeSchedule.js","./node_modules/rxjs/dist/esm/internal/util/isScheduler.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/@angular/cdk/fesm2022/overlay.mjs","./node_modules/rxjs/dist/esm/internal/operators/takeWhile.js","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/defineProperty.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","./node_modules/@babel/runtime/helpers/esm/objectSpread2.js","./node_modules/@babel/runtime/helpers/esm/slicedToArray.js","./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { createErrorClass } from './createErrorClass';\nexport const ObjectUnsubscribedError = createErrorClass((_super) => function ObjectUnsubscribedErrorImpl() {\n _super(this);\n this.name = 'ObjectUnsubscribedError';\n this.message = 'object unsubscribed';\n});\n","import { Observable } from './Observable';\nimport { Subscription, EMPTY_SUBSCRIPTION } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { arrRemove } from './util/arrRemove';\nimport { errorContext } from './util/errorContext';\nexport class Subject extends Observable {\n constructor() {\n super();\n this.closed = false;\n this.currentObservers = null;\n this.observers = [];\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n lift(operator) {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n }\n _throwIfClosed() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n }\n next(value) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n if (!this.currentObservers) {\n this.currentObservers = Array.from(this.observers);\n }\n for (const observer of this.currentObservers) {\n observer.next(value);\n }\n }\n });\n }\n error(err) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.hasError = this.isStopped = true;\n this.thrownError = err;\n const { observers } = this;\n while (observers.length) {\n observers.shift().error(err);\n }\n }\n });\n }\n complete() {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.isStopped = true;\n const { observers } = this;\n while (observers.length) {\n observers.shift().complete();\n }\n }\n });\n }\n unsubscribe() {\n this.isStopped = this.closed = true;\n this.observers = this.currentObservers = null;\n }\n get observed() {\n var _a;\n return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;\n }\n _trySubscribe(subscriber) {\n this._throwIfClosed();\n return super._trySubscribe(subscriber);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._checkFinalizedStatuses(subscriber);\n return this._innerSubscribe(subscriber);\n }\n _innerSubscribe(subscriber) {\n const { hasError, isStopped, observers } = this;\n if (hasError || isStopped) {\n return EMPTY_SUBSCRIPTION;\n }\n this.currentObservers = null;\n observers.push(subscriber);\n return new Subscription(() => {\n this.currentObservers = null;\n arrRemove(observers, subscriber);\n });\n }\n _checkFinalizedStatuses(subscriber) {\n const { hasError, thrownError, isStopped } = this;\n if (hasError) {\n subscriber.error(thrownError);\n }\n else if (isStopped) {\n subscriber.complete();\n }\n }\n asObservable() {\n const observable = new Observable();\n observable.source = this;\n return observable;\n }\n}\nSubject.create = (destination, source) => {\n return new AnonymousSubject(destination, source);\n};\nexport class AnonymousSubject extends Subject {\n constructor(destination, source) {\n super();\n this.destination = destination;\n this.source = source;\n }\n next(value) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);\n }\n error(err) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);\n }\n complete() {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);\n }\n _subscribe(subscriber) {\n var _a, _b;\n return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;\n }\n}\n","import { Observable } from '../Observable';\nexport const EMPTY = new Observable((subscriber) => subscriber.complete());\nexport function empty(scheduler) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n return new Observable((subscriber) => scheduler.schedule(() => subscriber.complete()));\n}\n","import { operate } from '../util/lift';\nexport function subscribeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay));\n });\n}\n","import { Observable } from '../Observable';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleAsyncIterable(input, scheduler) {\n if (!input) {\n throw new Error('Iterable cannot be null');\n }\n return new Observable((subscriber) => {\n executeSchedule(subscriber, scheduler, () => {\n const iterator = input[Symbol.asyncIterator]();\n executeSchedule(subscriber, scheduler, () => {\n iterator.next().then((result) => {\n if (result.done) {\n subscriber.complete();\n }\n else {\n subscriber.next(result.value);\n }\n });\n }, 0, true);\n });\n });\n}\n","import { scheduled } from '../scheduled/scheduled';\nimport { innerFrom } from './innerFrom';\nexport function from(input, scheduler) {\n return scheduler ? scheduled(input, scheduler) : innerFrom(input);\n}\n","import { scheduleObservable } from './scheduleObservable';\nimport { schedulePromise } from './schedulePromise';\nimport { scheduleArray } from './scheduleArray';\nimport { scheduleIterable } from './scheduleIterable';\nimport { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isPromise } from '../util/isPromise';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isIterable } from '../util/isIterable';\nimport { isAsyncIterable } from '../util/isAsyncIterable';\nimport { createInvalidObservableTypeError } from '../util/throwUnobservableError';\nimport { isReadableStreamLike } from '../util/isReadableStreamLike';\nimport { scheduleReadableStreamLike } from './scheduleReadableStreamLike';\nexport function scheduled(input, scheduler) {\n if (input != null) {\n if (isInteropObservable(input)) {\n return scheduleObservable(input, scheduler);\n }\n if (isArrayLike(input)) {\n return scheduleArray(input, scheduler);\n }\n if (isPromise(input)) {\n return schedulePromise(input, scheduler);\n }\n if (isAsyncIterable(input)) {\n return scheduleAsyncIterable(input, scheduler);\n }\n if (isIterable(input)) {\n return scheduleIterable(input, scheduler);\n }\n if (isReadableStreamLike(input)) {\n return scheduleReadableStreamLike(input, scheduler);\n }\n }\n throw createInvalidObservableTypeError(input);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function scheduleObservable(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nexport function scheduleArray(input, scheduler) {\n return new Observable((subscriber) => {\n let i = 0;\n return scheduler.schedule(function () {\n if (i === input.length) {\n subscriber.complete();\n }\n else {\n subscriber.next(input[i++]);\n if (!subscriber.closed) {\n this.schedule();\n }\n }\n });\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function schedulePromise(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from '../util/isFunction';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleIterable(input, scheduler) {\n return new Observable((subscriber) => {\n let iterator;\n executeSchedule(subscriber, scheduler, () => {\n iterator = input[Symbol_iterator]();\n executeSchedule(subscriber, scheduler, () => {\n let value;\n let done;\n try {\n ({ value, done } = iterator.next());\n }\n catch (err) {\n subscriber.error(err);\n return;\n }\n if (done) {\n subscriber.complete();\n }\n else {\n subscriber.next(value);\n }\n }, 0, true);\n });\n return () => isFunction(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return();\n });\n}\n","import { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { readableStreamLikeToAsyncGenerator } from '../util/isReadableStreamLike';\nexport function scheduleReadableStreamLike(input, scheduler) {\n return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);\n}\n","import { mergeAll } from '../operators/mergeAll';\nimport { innerFrom } from './innerFrom';\nimport { EMPTY } from './empty';\nimport { popNumber, popScheduler } from '../util/args';\nimport { from } from './from';\nexport function merge(...args) {\n const scheduler = popScheduler(args);\n const concurrent = popNumber(args, Infinity);\n const sources = args;\n return !sources.length\n ?\n EMPTY\n : sources.length === 1\n ?\n innerFrom(sources[0])\n :\n mergeAll(concurrent)(from(sources, scheduler));\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","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}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function map(project, thisArg) {\n return operate((source, subscriber) => {\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n subscriber.next(project.call(thisArg, value, index++));\n }));\n });\n}\n","import { mergeMap } from './mergeMap';\nimport { identity } from '../util/identity';\nexport function mergeAll(concurrent = Infinity) {\n return mergeMap(identity, concurrent);\n}\n","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 }\n else if (typeof resultSelector === 'number') {\n concurrent = resultSelector;\n }\n return operate((source, subscriber) => mergeInternals(source, subscriber, project, concurrent));\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { executeSchedule } from '../util/executeSchedule';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function mergeInternals(source, subscriber, project, concurrent, onBeforeNext, expand, innerSubScheduler, additionalFinalizer) {\n const buffer = [];\n let active = 0;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => {\n if (isComplete && !buffer.length && !active) {\n subscriber.complete();\n }\n };\n const outerNext = (value) => (active < concurrent ? doInnerSub(value) : buffer.push(value));\n const doInnerSub = (value) => {\n expand && subscriber.next(value);\n active++;\n let innerComplete = false;\n innerFrom(project(value, index++)).subscribe(createOperatorSubscriber(subscriber, (innerValue) => {\n onBeforeNext === null || onBeforeNext === void 0 ? void 0 : onBeforeNext(innerValue);\n if (expand) {\n outerNext(innerValue);\n }\n else {\n subscriber.next(innerValue);\n }\n }, () => {\n innerComplete = true;\n }, undefined, () => {\n if (innerComplete) {\n try {\n active--;\n while (buffer.length && active < concurrent) {\n const bufferedValue = buffer.shift();\n if (innerSubScheduler) {\n executeSchedule(subscriber, innerSubScheduler, () => doInnerSub(bufferedValue));\n }\n else {\n doInnerSub(bufferedValue);\n }\n }\n checkComplete();\n }\n catch (err) {\n subscriber.error(err);\n }\n }\n }));\n };\n source.subscribe(createOperatorSubscriber(subscriber, outerNext, () => {\n isComplete = true;\n checkComplete();\n }));\n return () => {\n additionalFinalizer === null || additionalFinalizer === void 0 ? void 0 : additionalFinalizer();\n };\n}\n","import { executeSchedule } from '../util/executeSchedule';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function observeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, (value) => executeSchedule(subscriber, scheduler, () => subscriber.next(value), delay), () => executeSchedule(subscriber, scheduler, () => subscriber.complete(), delay), (err) => executeSchedule(subscriber, scheduler, () => subscriber.error(err), delay)));\n });\n}\n","import { EMPTY } from '../observable/empty';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function take(count) {\n return count <= 0\n ?\n () => EMPTY\n : operate((source, subscriber) => {\n let seen = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n if (++seen <= count) {\n subscriber.next(value);\n if (count <= seen) {\n subscriber.complete();\n }\n }\n }));\n });\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { innerFrom } from '../observable/innerFrom';\nimport { noop } from '../util/noop';\nexport function takeUntil(notifier) {\n return operate((source, subscriber) => {\n innerFrom(notifier).subscribe(createOperatorSubscriber(subscriber, () => subscriber.complete(), noop));\n !subscriber.closed && source.subscribe(subscriber);\n });\n}\n","import { isFunction } from './isFunction';\nimport { isScheduler } from './isScheduler';\nfunction last(arr) {\n return arr[arr.length - 1];\n}\nexport function popResultSelector(args) {\n return isFunction(last(args)) ? args.pop() : undefined;\n}\nexport function popScheduler(args) {\n return isScheduler(last(args)) ? args.pop() : undefined;\n}\nexport function popNumber(args, defaultValue) {\n return typeof last(args) === 'number' ? args.pop() : defaultValue;\n}\n","export function executeSchedule(parentSubscription, scheduler, work, delay = 0, repeat = false) {\n const scheduleSubscription = scheduler.schedule(function () {\n work();\n if (repeat) {\n parentSubscription.add(this.schedule(null, delay));\n }\n else {\n this.unsubscribe();\n }\n }, delay);\n parentSubscription.add(scheduleSubscription);\n if (!repeat) {\n return scheduleSubscription;\n }\n}\n","import { isFunction } from './isFunction';\nexport function isScheduler(value) {\n return value && isFunction(value.schedule);\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","import * as i1 from '@angular/cdk/scrolling';\nimport { ScrollingModule } from '@angular/cdk/scrolling';\nexport { CdkScrollable, ScrollDispatcher, ViewportRuler } from '@angular/cdk/scrolling';\nimport * as i6 from '@angular/common';\nimport { DOCUMENT } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { Injectable, Inject, Optional, ElementRef, ApplicationRef, ANIMATION_MODULE_TYPE, InjectionToken, Directive, EventEmitter, Input, Output, NgModule } from '@angular/core';\nimport { coerceCssPixelValue, coerceArray, coerceBooleanProperty } from '@angular/cdk/coercion';\nimport * as i1$1 from '@angular/cdk/platform';\nimport { supportsScrollBehavior, _getEventTarget, _isTestEnvironment } from '@angular/cdk/platform';\nimport { filter, take, takeUntil, takeWhile } from 'rxjs/operators';\nimport * as i5 from '@angular/cdk/bidi';\nimport { BidiModule } from '@angular/cdk/bidi';\nimport { DomPortalOutlet, TemplatePortal, PortalModule } from '@angular/cdk/portal';\nimport { Subject, Subscription, merge } from 'rxjs';\nimport { ESCAPE, hasModifierKey } from '@angular/cdk/keycodes';\n\nconst scrollBehaviorSupported = supportsScrollBehavior();\n/**\n * Strategy that will prevent the user from scrolling while the overlay is visible.\n */\nclass BlockScrollStrategy {\n constructor(_viewportRuler, document) {\n this._viewportRuler = _viewportRuler;\n this._previousHTMLStyles = { top: '', left: '' };\n this._isEnabled = false;\n this._document = document;\n }\n /** Attaches this scroll strategy to an overlay. */\n attach() { }\n /** Blocks page-level scroll while the attached overlay is open. */\n enable() {\n if (this._canBeEnabled()) {\n const root = this._document.documentElement;\n this._previousScrollPosition = this._viewportRuler.getViewportScrollPosition();\n // Cache the previous inline styles in case the user had set them.\n this._previousHTMLStyles.left = root.style.left || '';\n this._previousHTMLStyles.top = root.style.top || '';\n // Note: we're using the `html` node, instead of the `body`, because the `body` may\n // have the user agent margin, whereas the `html` is guaranteed not to have one.\n root.style.left = coerceCssPixelValue(-this._previousScrollPosition.left);\n root.style.top = coerceCssPixelValue(-this._previousScrollPosition.top);\n root.classList.add('cdk-global-scrollblock');\n this._isEnabled = true;\n }\n }\n /** Unblocks page-level scroll while the attached overlay is open. */\n disable() {\n if (this._isEnabled) {\n const html = this._document.documentElement;\n const body = this._document.body;\n const htmlStyle = html.style;\n const bodyStyle = body.style;\n const previousHtmlScrollBehavior = htmlStyle.scrollBehavior || '';\n const previousBodyScrollBehavior = bodyStyle.scrollBehavior || '';\n this._isEnabled = false;\n htmlStyle.left = this._previousHTMLStyles.left;\n htmlStyle.top = this._previousHTMLStyles.top;\n html.classList.remove('cdk-global-scrollblock');\n // Disable user-defined smooth scrolling temporarily while we restore the scroll position.\n // See https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-behavior\n // Note that we don't mutate the property if the browser doesn't support `scroll-behavior`,\n // because it can throw off feature detections in `supportsScrollBehavior` which\n // checks for `'scrollBehavior' in documentElement.style`.\n if (scrollBehaviorSupported) {\n htmlStyle.scrollBehavior = bodyStyle.scrollBehavior = 'auto';\n }\n window.scroll(this._previousScrollPosition.left, this._previousScrollPosition.top);\n if (scrollBehaviorSupported) {\n htmlStyle.scrollBehavior = previousHtmlScrollBehavior;\n bodyStyle.scrollBehavior = previousBodyScrollBehavior;\n }\n }\n }\n _canBeEnabled() {\n // Since the scroll strategies can't be singletons, we have to use a global CSS class\n // (`cdk-global-scrollblock`) to make sure that we don't try to disable global\n // scrolling multiple times.\n const html = this._document.documentElement;\n if (html.classList.contains('cdk-global-scrollblock') || this._isEnabled) {\n return false;\n }\n const body = this._document.body;\n const viewport = this._viewportRuler.getViewportSize();\n return body.scrollHeight > viewport.height || body.scrollWidth > viewport.width;\n }\n}\n\n/**\n * Returns an error to be thrown when attempting to attach an already-attached scroll strategy.\n */\nfunction getMatScrollStrategyAlreadyAttachedError() {\n return Error(`Scroll strategy has already been attached.`);\n}\n\n/**\n * Strategy that will close the overlay as soon as the user starts scrolling.\n */\nclass CloseScrollStrategy {\n constructor(_scrollDispatcher, _ngZone, _viewportRuler, _config) {\n this._scrollDispatcher = _scrollDispatcher;\n this._ngZone = _ngZone;\n this._viewportRuler = _viewportRuler;\n this._config = _config;\n this._scrollSubscription = null;\n /** Detaches the overlay ref and disables the scroll strategy. */\n this._detach = () => {\n this.disable();\n if (this._overlayRef.hasAttached()) {\n this._ngZone.run(() => this._overlayRef.detach());\n }\n };\n }\n /** Attaches this scroll strategy to an overlay. */\n attach(overlayRef) {\n if (this._overlayRef && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw getMatScrollStrategyAlreadyAttachedError();\n }\n this._overlayRef = overlayRef;\n }\n /** Enables the closing of the attached overlay on scroll. */\n enable() {\n if (this._scrollSubscription) {\n return;\n }\n const stream = this._scrollDispatcher.scrolled(0).pipe(filter(scrollable => {\n return (!scrollable ||\n !this._overlayRef.overlayElement.contains(scrollable.getElementRef().nativeElement));\n }));\n if (this._config && this._config.threshold && this._config.threshold > 1) {\n this._initialScrollPosition = this._viewportRuler.getViewportScrollPosition().top;\n this._scrollSubscription = stream.subscribe(() => {\n const scrollPosition = this._viewportRuler.getViewportScrollPosition().top;\n if (Math.abs(scrollPosition - this._initialScrollPosition) > this._config.threshold) {\n this._detach();\n }\n else {\n this._overlayRef.updatePosition();\n }\n });\n }\n else {\n this._scrollSubscription = stream.subscribe(this._detach);\n }\n }\n /** Disables the closing the attached overlay on scroll. */\n disable() {\n if (this._scrollSubscription) {\n this._scrollSubscription.unsubscribe();\n this._scrollSubscription = null;\n }\n }\n detach() {\n this.disable();\n this._overlayRef = null;\n }\n}\n\n/** Scroll strategy that doesn't do anything. */\nclass NoopScrollStrategy {\n /** Does nothing, as this scroll strategy is a no-op. */\n enable() { }\n /** Does nothing, as this scroll strategy is a no-op. */\n disable() { }\n /** Does nothing, as this scroll strategy is a no-op. */\n attach() { }\n}\n\n/**\n * Gets whether an element is scrolled outside of view by any of its parent scrolling containers.\n * @param element Dimensions of the element (from getBoundingClientRect)\n * @param scrollContainers Dimensions of element's scrolling containers (from getBoundingClientRect)\n * @returns Whether the element is scrolled out of view\n * @docs-private\n */\nfunction isElementScrolledOutsideView(element, scrollContainers) {\n return scrollContainers.some(containerBounds => {\n const outsideAbove = element.bottom < containerBounds.top;\n const outsideBelow = element.top > containerBounds.bottom;\n const outsideLeft = element.right < containerBounds.left;\n const outsideRight = element.left > containerBounds.right;\n return outsideAbove || outsideBelow || outsideLeft || outsideRight;\n });\n}\n/**\n * Gets whether an element is clipped by any of its scrolling containers.\n * @param element Dimensions of the element (from getBoundingClientRect)\n * @param scrollContainers Dimensions of element's scrolling containers (from getBoundingClientRect)\n * @returns Whether the element is clipped\n * @docs-private\n */\nfunction isElementClippedByScrolling(element, scrollContainers) {\n return scrollContainers.some(scrollContainerRect => {\n const clippedAbove = element.top < scrollContainerRect.top;\n const clippedBelow = element.bottom > scrollContainerRect.bottom;\n const clippedLeft = element.left < scrollContainerRect.left;\n const clippedRight = element.right > scrollContainerRect.right;\n return clippedAbove || clippedBelow || clippedLeft || clippedRight;\n });\n}\n\n/**\n * Strategy that will update the element position as the user is scrolling.\n */\nclass RepositionScrollStrategy {\n constructor(_scrollDispatcher, _viewportRuler, _ngZone, _config) {\n this._scrollDispatcher = _scrollDispatcher;\n this._viewportRuler = _viewportRuler;\n this._ngZone = _ngZone;\n this._config = _config;\n this._scrollSubscription = null;\n }\n /** Attaches this scroll strategy to an overlay. */\n attach(overlayRef) {\n if (this._overlayRef && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw getMatScrollStrategyAlreadyAttachedError();\n }\n this._overlayRef = overlayRef;\n }\n /** Enables repositioning of the attached overlay on scroll. */\n enable() {\n if (!this._scrollSubscription) {\n const throttle = this._config ? this._config.scrollThrottle : 0;\n this._scrollSubscription = this._scrollDispatcher.scrolled(throttle).subscribe(() => {\n this._overlayRef.updatePosition();\n // TODO(crisbeto): make `close` on by default once all components can handle it.\n if (this._config && this._config.autoClose) {\n const overlayRect = this._overlayRef.overlayElement.getBoundingClientRect();\n const { width, height } = this._viewportRuler.getViewportSize();\n // TODO(crisbeto): include all ancestor scroll containers here once\n // we have a way of exposing the trigger element to the scroll strategy.\n const parentRects = [{ width, height, bottom: height, right: width, top: 0, left: 0 }];\n if (isElementScrolledOutsideView(overlayRect, parentRects)) {\n this.disable();\n this._ngZone.run(() => this._overlayRef.detach());\n }\n }\n });\n }\n }\n /** Disables repositioning of the attached overlay on scroll. */\n disable() {\n if (this._scrollSubscription) {\n this._scrollSubscription.unsubscribe();\n this._scrollSubscription = null;\n }\n }\n detach() {\n this.disable();\n this._overlayRef = null;\n }\n}\n\n/**\n * Options for how an overlay will handle scrolling.\n *\n * Users can provide a custom value for `ScrollStrategyOptions` to replace the default\n * behaviors. This class primarily acts as a factory for ScrollStrategy instances.\n */\nclass ScrollStrategyOptions {\n constructor(_scrollDispatcher, _viewportRuler, _ngZone, document) {\n this._scrollDispatcher = _scrollDispatcher;\n this._viewportRuler = _viewportRuler;\n this._ngZone = _ngZone;\n /** Do nothing on scroll. */\n this.noop = () => new NoopScrollStrategy();\n /**\n * Close the overlay as soon as the user scrolls.\n * @param config Configuration to be used inside the scroll strategy.\n */\n this.close = (config) => new CloseScrollStrategy(this._scrollDispatcher, this._ngZone, this._viewportRuler, config);\n /** Block scrolling. */\n this.block = () => new BlockScrollStrategy(this._viewportRuler, this._document);\n /**\n * Update the overlay's position on scroll.\n * @param config Configuration to be used inside the scroll strategy.\n * Allows debouncing the reposition calls.\n */\n this.reposition = (config) => new RepositionScrollStrategy(this._scrollDispatcher, this._viewportRuler, this._ngZone, config);\n this._document = document;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: ScrollStrategyOptions, deps: [{ token: i1.ScrollDispatcher }, { token: i1.ViewportRuler }, { token: i0.NgZone }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: ScrollStrategyOptions, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: ScrollStrategyOptions, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: i1.ScrollDispatcher }, { type: i1.ViewportRuler }, { type: i0.NgZone }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }]; } });\n\n/** Initial configuration used when creating an overlay. */\nclass OverlayConfig {\n constructor(config) {\n /** Strategy to be used when handling scroll events while the overlay is open. */\n this.scrollStrategy = new NoopScrollStrategy();\n /** Custom class to add to the overlay pane. */\n this.panelClass = '';\n /** Whether the overlay has a backdrop. */\n this.hasBackdrop = false;\n /** Custom class to add to the backdrop */\n this.backdropClass = 'cdk-overlay-dark-backdrop';\n /**\n * Whether the overlay should be disposed of when the user goes backwards/forwards in history.\n * Note that this usually doesn't include clicking on links (unless the user is using\n * the `HashLocationStrategy`).\n */\n this.disposeOnNavigation = false;\n if (config) {\n // Use `Iterable` instead of `Array` because TypeScript, as of 3.6.3,\n // loses the array generic type in the `for of`. But we *also* have to use `Array` because\n // typescript won't iterate over an `Iterable` unless you compile with `--downlevelIteration`\n const configKeys = Object.keys(config);\n for (const key of configKeys) {\n if (config[key] !== undefined) {\n // TypeScript, as of version 3.5, sees the left-hand-side of this expression\n // as \"I don't know *which* key this is, so the only valid value is the intersection\n // of all the possible values.\" In this case, that happens to be `undefined`. TypeScript\n // is not smart enough to see that the right-hand-side is actually an access of the same\n // exact type with the same exact key, meaning that the value type must be identical.\n // So we use `any` to work around this.\n this[key] = config[key];\n }\n }\n }\n }\n}\n\n/** The points of the origin element and the overlay element to connect. */\nclass ConnectionPositionPair {\n constructor(origin, overlay, \n /** Offset along the X axis. */\n offsetX, \n /** Offset along the Y axis. */\n offsetY, \n /** Class(es) to be applied to the panel while this position is active. */\n panelClass) {\n this.offsetX = offsetX;\n this.offsetY = offsetY;\n this.panelClass = panelClass;\n this.originX = origin.originX;\n this.originY = origin.originY;\n this.overlayX = overlay.overlayX;\n this.overlayY = overlay.overlayY;\n }\n}\n/**\n * Set of properties regarding the position of the origin and overlay relative to the viewport\n * with respect to the containing Scrollable elements.\n *\n * The overlay and origin are clipped if any part of their bounding client rectangle exceeds the\n * bounds of any one of the strategy's Scrollable's bounding client rectangle.\n *\n * The overlay and origin are outside view if there is no overlap between their bounding client\n * rectangle and any one of the strategy's Scrollable's bounding client rectangle.\n *\n * ----------- -----------\n * | outside | | clipped |\n * | view | --------------------------\n * | | | | | |\n * ---------- | ----------- |\n * -------------------------- | |\n * | | | Scrollable |\n * | | | |\n * | | --------------------------\n * | Scrollable |\n * | |\n * --------------------------\n *\n * @docs-private\n */\nclass ScrollingVisibility {\n}\n/** The change event emitted by the strategy when a fallback position is used. */\nclass ConnectedOverlayPositionChange {\n constructor(\n /** The position used as a result of this change. */\n connectionPair, \n /** @docs-private */\n scrollableViewProperties) {\n this.connectionPair = connectionPair;\n this.scrollableViewProperties = scrollableViewProperties;\n }\n}\n/**\n * Validates whether a vertical position property matches the expected values.\n * @param property Name of the property being validated.\n * @param value Value of the property being validated.\n * @docs-private\n */\nfunction validateVerticalPosition(property, value) {\n if (value !== 'top' && value !== 'bottom' && value !== 'center') {\n throw Error(`ConnectedPosition: Invalid ${property} \"${value}\". ` +\n `Expected \"top\", \"bottom\" or \"center\".`);\n }\n}\n/**\n * Validates whether a horizontal position property matches the expected values.\n * @param property Name of the property being validated.\n * @param value Value of the property being validated.\n * @docs-private\n */\nfunction validateHorizontalPosition(property, value) {\n if (value !== 'start' && value !== 'end' && value !== 'center') {\n throw Error(`ConnectedPosition: Invalid ${property} \"${value}\". ` +\n `Expected \"start\", \"end\" or \"center\".`);\n }\n}\n\n/**\n * Service for dispatching events that land on the body to appropriate overlay ref,\n * if any. It maintains a list of attached overlays to determine best suited overlay based\n * on event target and order of overlay opens.\n */\nclass BaseOverlayDispatcher {\n constructor(document) {\n /** Currently attached overlays in the order they were attached. */\n this._attachedOverlays = [];\n this._document = document;\n }\n ngOnDestroy() {\n this.detach();\n }\n /** Add a new overlay to the list of attached overlay refs. */\n add(overlayRef) {\n // Ensure that we don't get the same overlay multiple times.\n this.remove(overlayRef);\n this._attachedOverlays.push(overlayRef);\n }\n /** Remove an overlay from the list of attached overlay refs. */\n remove(overlayRef) {\n const index = this._attachedOverlays.indexOf(overlayRef);\n if (index > -1) {\n this._attachedOverlays.splice(index, 1);\n }\n // Remove the global listener once there are no more overlays.\n if (this._attachedOverlays.length === 0) {\n this.detach();\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: BaseOverlayDispatcher, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: BaseOverlayDispatcher, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: BaseOverlayDispatcher, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }]; } });\n\n/**\n * Service for dispatching keyboard events that land on the body to appropriate overlay ref,\n * if any. It maintains a list of attached overlays to determine best suited overlay based\n * on event target and order of overlay opens.\n */\nclass OverlayKeyboardDispatcher extends BaseOverlayDispatcher {\n constructor(document, \n /** @breaking-change 14.0.0 _ngZone will be required. */\n _ngZone) {\n super(document);\n this._ngZone = _ngZone;\n /** Keyboard event listener that will be attached to the body. */\n this._keydownListener = (event) => {\n const overlays = this._attachedOverlays;\n for (let i = overlays.length - 1; i > -1; i--) {\n // Dispatch the keydown event to the top overlay which has subscribers to its keydown events.\n // We want to target the most recent overlay, rather than trying to match where the event came\n // from, because some components might open an overlay, but keep focus on a trigger element\n // (e.g. for select and autocomplete). We skip overlays without keydown event subscriptions,\n // because we don't want overlays that don't handle keyboard events to block the ones below\n // them that do.\n if (overlays[i]._keydownEvents.observers.length > 0) {\n const keydownEvents = overlays[i]._keydownEvents;\n /** @breaking-change 14.0.0 _ngZone will be required. */\n if (this._ngZone) {\n this._ngZone.run(() => keydownEvents.next(event));\n }\n else {\n keydownEvents.next(event);\n }\n break;\n }\n }\n };\n }\n /** Add a new overlay to the list of attached overlay refs. */\n add(overlayRef) {\n super.add(overlayRef);\n // Lazily start dispatcher once first overlay is added\n if (!this._isAttached) {\n /** @breaking-change 14.0.0 _ngZone will be required. */\n if (this._ngZone) {\n this._ngZone.runOutsideAngular(() => this._document.body.addEventListener('keydown', this._keydownListener));\n }\n else {\n this._document.body.addEventListener('keydown', this._keydownListener);\n }\n this._isAttached = true;\n }\n }\n /** Detaches the global keyboard event listener. */\n detach() {\n if (this._isAttached) {\n this._document.body.removeEventListener('keydown', this._keydownListener);\n this._isAttached = false;\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: OverlayKeyboardDispatcher, deps: [{ token: DOCUMENT }, { token: i0.NgZone, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: OverlayKeyboardDispatcher, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: OverlayKeyboardDispatcher, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: i0.NgZone, decorators: [{\n type: Optional\n }] }]; } });\n\n/**\n * Service for dispatching mouse click events that land on the body to appropriate overlay ref,\n * if any. It maintains a list of attached overlays to determine best suited overlay based\n * on event target and order of overlay opens.\n */\nclass OverlayOutsideClickDispatcher extends BaseOverlayDispatcher {\n constructor(document, _platform, \n /** @breaking-change 14.0.0 _ngZone will be required. */\n _ngZone) {\n super(document);\n this._platform = _platform;\n this._ngZone = _ngZone;\n this._cursorStyleIsSet = false;\n /** Store pointerdown event target to track origin of click. */\n this._pointerDownListener = (event) => {\n this._pointerDownEventTarget = _getEventTarget(event);\n };\n /** Click event listener that will be attached to the body propagate phase. */\n this._clickListener = (event) => {\n const target = _getEventTarget(event);\n // In case of a click event, we want to check the origin of the click\n // (e.g. in case where a user starts a click inside the overlay and\n // releases the click outside of it).\n // This is done by using the event target of the preceding pointerdown event.\n // Every click event caused by a pointer device has a preceding pointerdown\n // event, unless the click was programmatically triggered (e.g. in a unit test).\n const origin = event.type === 'click' && this._pointerDownEventTarget\n ? this._pointerDownEventTarget\n : target;\n // Reset the stored pointerdown event target, to avoid having it interfere\n // in subsequent events.\n this._pointerDownEventTarget = null;\n // We copy the array because the original may be modified asynchronously if the\n // outsidePointerEvents listener decides to detach overlays resulting in index errors inside\n // the for loop.\n const overlays = this._attachedOverlays.slice();\n // Dispatch the mouse event to the top overlay which has subscribers to its mouse events.\n // We want to target all overlays for which the click could be considered as outside click.\n // As soon as we reach an overlay for which the click is not outside click we break off\n // the loop.\n for (let i = overlays.length - 1; i > -1; i--) {\n const overlayRef = overlays[i];\n if (overlayRef._outsidePointerEvents.observers.length < 1 || !overlayRef.hasAttached()) {\n continue;\n }\n // If it's a click inside the overlay, just break - we should do nothing\n // If it's an outside click (both origin and target of the click) dispatch the mouse event,\n // and proceed with the next overlay\n if (overlayRef.overlayElement.contains(target) ||\n overlayRef.overlayElement.contains(origin)) {\n break;\n }\n const outsidePointerEvents = overlayRef._outsidePointerEvents;\n /** @breaking-change 14.0.0 _ngZone will be required. */\n if (this._ngZone) {\n this._ngZone.run(() => outsidePointerEvents.next(event));\n }\n else {\n outsidePointerEvents.next(event);\n }\n }\n };\n }\n /** Add a new overlay to the list of attached overlay refs. */\n add(overlayRef) {\n super.add(overlayRef);\n // Safari on iOS does not generate click events for non-interactive\n // elements. However, we want to receive a click for any element outside\n // the overlay. We can force a \"clickable\" state by setting\n // `cursor: pointer` on the document body. See:\n // https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event#Safari_Mobile\n // https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariWebContent/HandlingEvents/HandlingEvents.html\n if (!this._isAttached) {\n const body = this._document.body;\n /** @breaking-change 14.0.0 _ngZone will be required. */\n if (this._ngZone) {\n this._ngZone.runOutsideAngular(() => this._addEventListeners(body));\n }\n else {\n this._addEventListeners(body);\n }\n // click event is not fired on iOS. To make element \"clickable\" we are\n // setting the cursor to pointer\n if (this._platform.IOS && !this._cursorStyleIsSet) {\n this._cursorOriginalValue = body.style.cursor;\n body.style.cursor = 'pointer';\n this._cursorStyleIsSet = true;\n }\n this._isAttached = true;\n }\n }\n /** Detaches the global keyboard event listener. */\n detach() {\n if (this._isAttached) {\n const body = this._document.body;\n body.removeEventListener('pointerdown', this._pointerDownListener, true);\n body.removeEventListener('click', this._clickListener, true);\n body.removeEventListener('auxclick', this._clickListener, true);\n body.removeEventListener('contextmenu', this._clickListener, true);\n if (this._platform.IOS && this._cursorStyleIsSet) {\n body.style.cursor = this._cursorOriginalValue;\n this._cursorStyleIsSet = false;\n }\n this._isAttached = false;\n }\n }\n _addEventListeners(body) {\n body.addEventListener('pointerdown', this._pointerDownListener, true);\n body.addEventListener('click', this._clickListener, true);\n body.addEventListener('auxclick', this._clickListener, true);\n body.addEventListener('contextmenu', this._clickListener, true);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: OverlayOutsideClickDispatcher, deps: [{ token: DOCUMENT }, { token: i1$1.Platform }, { token: i0.NgZone, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: OverlayOutsideClickDispatcher, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: OverlayOutsideClickDispatcher, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: i1$1.Platform }, { type: i0.NgZone, decorators: [{\n type: Optional\n }] }]; } });\n\n/** Container inside which all overlays will render. */\nclass OverlayContainer {\n constructor(document, _platform) {\n this._platform = _platform;\n this._document = document;\n }\n ngOnDestroy() {\n this._containerElement?.remove();\n }\n /**\n * This method returns the overlay container element. It will lazily\n * create the element the first time it is called to facilitate using\n * the container in non-browser environments.\n * @returns the container element\n */\n getContainerElement() {\n if (!this._containerElement) {\n this._createContainer();\n }\n return this._containerElement;\n }\n /**\n * Create the overlay container element, which is simply a div\n * with the 'cdk-overlay-container' class on the document body.\n */\n _createContainer() {\n const containerClass = 'cdk-overlay-container';\n // TODO(crisbeto): remove the testing check once we have an overlay testing\n // module or Angular starts tearing down the testing `NgModule`. See:\n // https://github.com/angular/angular/issues/18831\n if (this._platform.isBrowser || _isTestEnvironment()) {\n const oppositePlatformContainers = this._document.querySelectorAll(`.${containerClass}[platform=\"server\"], ` + `.${containerClass}[platform=\"test\"]`);\n // Remove any old containers from the opposite platform.\n // This can happen when transitioning from the server to the client.\n for (let i = 0; i < oppositePlatformContainers.length; i++) {\n oppositePlatformContainers[i].remove();\n }\n }\n const container = this._document.createElement('div');\n container.classList.add(containerClass);\n // A long time ago we kept adding new overlay containers whenever a new app was instantiated,\n // but at some point we added logic which clears the duplicate ones in order to avoid leaks.\n // The new logic was a little too aggressive since it was breaking some legitimate use cases.\n // To mitigate the problem we made it so that only containers from a different platform are\n // cleared, but the side-effect was that people started depending on the overly-aggressive\n // logic to clean up their tests for them. Until we can introduce an overlay-specific testing\n // module which does the cleanup, we try to detect that we're in a test environment and we\n // always clear the container. See #17006.\n // TODO(crisbeto): remove the test environment check once we have an overlay testing module.\n if (_isTestEnvironment()) {\n container.setAttribute('platform', 'test');\n }\n else if (!this._platform.isBrowser) {\n container.setAttribute('platform', 'server');\n }\n this._document.body.appendChild(container);\n this._containerElement = container;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: OverlayContainer, deps: [{ token: DOCUMENT }, { token: i1$1.Platform }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: OverlayContainer, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: OverlayContainer, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: i1$1.Platform }]; } });\n\n/**\n * Reference to an overlay that has been created with the Overlay service.\n * Used to manipulate or dispose of said overlay.\n */\nclass OverlayRef {\n constructor(_portalOutlet, _host, _pane, _config, _ngZone, _keyboardDispatcher, _document, _location, _outsideClickDispatcher, _animationsDisabled = false) {\n this._portalOutlet = _portalOutlet;\n this._host = _host;\n this._pane = _pane;\n this._config = _config;\n this._ngZone = _ngZone;\n this._keyboardDispatcher = _keyboardDispatcher;\n this._document = _document;\n this._location = _location;\n this._outsideClickDispatcher = _outsideClickDispatcher;\n this._animationsDisabled = _animationsDisabled;\n this._backdropElement = null;\n this._backdropClick = new Subject();\n this._attachments = new Subject();\n this._detachments = new Subject();\n this._locationChanges = Subscription.EMPTY;\n this._backdropClickHandler = (event) => this._backdropClick.next(event);\n this._backdropTransitionendHandler = (event) => {\n this._disposeBackdrop(event.target);\n };\n /** Stream of keydown events dispatched to this overlay. */\n this._keydownEvents = new Subject();\n /** Stream of mouse outside events dispatched to this overlay. */\n this._outsidePointerEvents = new Subject();\n if (_config.scrollStrategy) {\n this._scrollStrategy = _config.scrollStrategy;\n this._scrollStrategy.attach(this);\n }\n this._positionStrategy = _config.positionStrategy;\n }\n /** The overlay's HTML element */\n get overlayElement() {\n return this._pane;\n }\n /** The overlay's backdrop HTML element. */\n get backdropElement() {\n return this._backdropElement;\n }\n /**\n * Wrapper around the panel element. Can be used for advanced\n * positioning where a wrapper with specific styling is\n * required around the overlay pane.\n */\n get hostElement() {\n return this._host;\n }\n /**\n * Attaches content, given via a Portal, to the overlay.\n * If the overlay is configured to have a backdrop, it will be created.\n *\n * @param portal Portal instance to which to attach the overlay.\n * @returns The portal attachment result.\n */\n attach(portal) {\n // Insert the host into the DOM before attaching the portal, otherwise\n // the animations module will skip animations on repeat attachments.\n if (!this._host.parentElement && this._previousHostParent) {\n this._previousHostParent.appendChild(this._host);\n }\n const attachResult = this._portalOutlet.attach(portal);\n if (this._positionStrategy) {\n this._positionStrategy.attach(this);\n }\n this._updateStackingOrder();\n this._updateElementSize();\n this._updateElementDirection();\n if (this._scrollStrategy) {\n this._scrollStrategy.enable();\n }\n // Update the position once the zone is stable so that the overlay will be fully rendered\n // before attempting to position it, as the position may depend on the size of the rendered\n // content.\n this._ngZone.onStable.pipe(take(1)).subscribe(() => {\n // The overlay could've been detached before the zone has stabilized.\n if (this.hasAttached()) {\n this.updatePosition();\n }\n });\n // Enable pointer events for the overlay pane element.\n this._togglePointerEvents(true);\n if (this._config.hasBackdrop) {\n this._attachBackdrop();\n }\n if (this._config.panelClass) {\n this._toggleClasses(this._pane, this._config.panelClass, true);\n }\n // Only emit the `attachments` event once all other setup is done.\n this._attachments.next();\n // Track this overlay by the keyboard dispatcher\n this._keyboardDispatcher.add(this);\n if (this._config.disposeOnNavigation) {\n this._locationChanges = this._location.subscribe(() => this.dispose());\n }\n this._outsideClickDispatcher.add(this);\n // TODO(crisbeto): the null check is here, because the portal outlet returns `any`.\n // We should be guaranteed for the result to be `ComponentRef | EmbeddedViewRef`, but\n // `instanceof EmbeddedViewRef` doesn't appear to work at the moment.\n if (typeof attachResult?.onDestroy === 'function') {\n // In most cases we control the portal and we know when it is being detached so that\n // we can finish the disposal process. The exception is if the user passes in a custom\n // `ViewContainerRef` that isn't destroyed through the overlay API. Note that we use\n // `detach` here instead of `dispose`, because we don't know if the user intends to\n // reattach the overlay at a later point. It also has the advantage of waiting for animations.\n attachResult.onDestroy(() => {\n if (this.hasAttached()) {\n // We have to delay the `detach` call, because detaching immediately prevents\n // other destroy hooks from running. This is likely a framework bug similar to\n // https://github.com/angular/angular/issues/46119\n this._ngZone.runOutsideAngular(() => Promise.resolve().then(() => this.detach()));\n }\n });\n }\n return attachResult;\n }\n /**\n * Detaches an overlay from a portal.\n * @returns The portal detachment result.\n */\n detach() {\n if (!this.hasAttached()) {\n return;\n }\n this.detachBackdrop();\n // When the overlay is detached, the pane element should disable pointer events.\n // This is necessary because otherwise the pane element will cover the page and disable\n // pointer events therefore. Depends on the position strategy and the applied pane boundaries.\n this._togglePointerEvents(false);\n if (this._positionStrategy && this._positionStrategy.detach) {\n this._positionStrategy.detach();\n }\n if (this._scrollStrategy) {\n this._scrollStrategy.disable();\n }\n const detachmentResult = this._portalOutlet.detach();\n // Only emit after everything is detached.\n this._detachments.next();\n // Remove this overlay from keyboard dispatcher tracking.\n this._keyboardDispatcher.remove(this);\n // Keeping the host element in the DOM can cause scroll jank, because it still gets\n // rendered, even though it's transparent and unclickable which is why we remove it.\n this._detachContentWhenStable();\n this._locationChanges.unsubscribe();\n this._outsideClickDispatcher.remove(this);\n return detachmentResult;\n }\n /** Cleans up the overlay from the DOM. */\n dispose() {\n const isAttached = this.hasAttached();\n if (this._positionStrategy) {\n this._positionStrategy.dispose();\n }\n this._disposeScrollStrategy();\n this._disposeBackdrop(this._backdropElement);\n this._locationChanges.unsubscribe();\n this._keyboardDispatcher.remove(this);\n this._portalOutlet.dispose();\n this._attachments.complete();\n this._backdropClick.complete();\n this._keydownEvents.complete();\n this._outsidePointerEvents.complete();\n this._outsideClickDispatcher.remove(this);\n this._host?.remove();\n this._previousHostParent = this._pane = this._host = null;\n if (isAttached) {\n this._detachments.next();\n }\n this._detachments.complete();\n }\n /** Whether the overlay has attached content. */\n hasAttached() {\n return this._portalOutlet.hasAttached();\n }\n /** Gets an observable that emits when the backdrop has been clicked. */\n backdropClick() {\n return this._backdropClick;\n }\n /** Gets an observable that emits when the overlay has been attached. */\n attachments() {\n return this._attachments;\n }\n /** Gets an observable that emits when the overlay has been detached. */\n detachments() {\n return this._detachments;\n }\n /** Gets an observable of keydown events targeted to this overlay. */\n keydownEvents() {\n return this._keydownEvents;\n }\n /** Gets an observable of pointer events targeted outside this overlay. */\n outsidePointerEvents() {\n return this._outsidePointerEvents;\n }\n /** Gets the current overlay configuration, which is immutable. */\n getConfig() {\n return this._config;\n }\n /** Updates the position of the overlay based on the position strategy. */\n updatePosition() {\n if (this._positionStrategy) {\n this._positionStrategy.apply();\n }\n }\n /** Switches to a new position strategy and updates the overlay position. */\n updatePositionStrategy(strategy) {\n if (strategy === this._positionStrategy) {\n return;\n }\n if (this._positionStrategy) {\n this._positionStrategy.dispose();\n }\n this._positionStrategy = strategy;\n if (this.hasAttached()) {\n strategy.attach(this);\n this.updatePosition();\n }\n }\n /** Update the size properties of the overlay. */\n updateSize(sizeConfig) {\n this._config = { ...this._config, ...sizeConfig };\n this._updateElementSize();\n }\n /** Sets the LTR/RTL direction for the overlay. */\n setDirection(dir) {\n this._config = { ...this._config, direction: dir };\n this._updateElementDirection();\n }\n /** Add a CSS class or an array of classes to the overlay pane. */\n addPanelClass(classes) {\n if (this._pane) {\n this._toggleClasses(this._pane, classes, true);\n }\n }\n /** Remove a CSS class or an array of classes from the overlay pane. */\n removePanelClass(classes) {\n if (this._pane) {\n this._toggleClasses(this._pane, classes, false);\n }\n }\n /**\n * Returns the layout direction of the overlay panel.\n */\n getDirection() {\n const direction = this._config.direction;\n if (!direction) {\n return 'ltr';\n }\n return typeof direction === 'string' ? direction : direction.value;\n }\n /** Switches to a new scroll strategy. */\n updateScrollStrategy(strategy) {\n if (strategy === this._scrollStrategy) {\n return;\n }\n this._disposeScrollStrategy();\n this._scrollStrategy = strategy;\n if (this.hasAttached()) {\n strategy.attach(this);\n strategy.enable();\n }\n }\n /** Updates the text direction of the overlay panel. */\n _updateElementDirection() {\n this._host.setAttribute('dir', this.getDirection());\n }\n /** Updates the size of the overlay element based on the overlay config. */\n _updateElementSize() {\n if (!this._pane) {\n return;\n }\n const style = this._pane.style;\n style.width = coerceCssPixelValue(this._config.width);\n style.height = coerceCssPixelValue(this._config.height);\n style.minWidth = coerceCssPixelValue(this._config.minWidth);\n style.minHeight = coerceCssPixelValue(this._config.minHeight);\n style.maxWidth = coerceCssPixelValue(this._config.maxWidth);\n style.maxHeight = coerceCssPixelValue(this._config.maxHeight);\n }\n /** Toggles the pointer events for the overlay pane element. */\n _togglePointerEvents(enablePointer) {\n this._pane.style.pointerEvents = enablePointer ? '' : 'none';\n }\n /** Attaches a backdrop for this overlay. */\n _attachBackdrop() {\n const showingClass = 'cdk-overlay-backdrop-showing';\n this._backdropElement = this._document.createElement('div');\n this._backdropElement.classList.add('cdk-overlay-backdrop');\n if (this._animationsDisabled) {\n this._backdropElement.classList.add('cdk-overlay-backdrop-noop-animation');\n }\n if (this._config.backdropClass) {\n this._toggleClasses(this._backdropElement, this._config.backdropClass, true);\n }\n // Insert the backdrop before the pane in the DOM order,\n // in order to handle stacked overlays properly.\n this._host.parentElement.insertBefore(this._backdropElement, this._host);\n // Forward backdrop clicks such that the consumer of the overlay can perform whatever\n // action desired when such a click occurs (usually closing the overlay).\n this._backdropElement.addEventListener('click', this._backdropClickHandler);\n // Add class to fade-in the backdrop after one frame.\n if (!this._animationsDisabled && typeof requestAnimationFrame !== 'undefined') {\n this._ngZone.runOutsideAngular(() => {\n requestAnimationFrame(() => {\n if (this._backdropElement) {\n this._backdropElement.classList.add(showingClass);\n }\n });\n });\n }\n else {\n this._backdropElement.classList.add(showingClass);\n }\n }\n /**\n * Updates the stacking order of the element, moving it to the top if necessary.\n * This is required in cases where one overlay was detached, while another one,\n * that should be behind it, was destroyed. The next time both of them are opened,\n * the stacking will be wrong, because the detached element's pane will still be\n * in its original DOM position.\n */\n _updateStackingOrder() {\n if (this._host.nextSibling) {\n this._host.parentNode.appendChild(this._host);\n }\n }\n /** Detaches the backdrop (if any) associated with the overlay. */\n detachBackdrop() {\n const backdropToDetach = this._backdropElement;\n if (!backdropToDetach) {\n return;\n }\n if (this._animationsDisabled) {\n this._disposeBackdrop(backdropToDetach);\n return;\n }\n backdropToDetach.classList.remove('cdk-overlay-backdrop-showing');\n this._ngZone.runOutsideAngular(() => {\n backdropToDetach.addEventListener('transitionend', this._backdropTransitionendHandler);\n });\n // If the backdrop doesn't have a transition, the `transitionend` event won't fire.\n // In this case we make it unclickable and we try to remove it after a delay.\n backdropToDetach.style.pointerEvents = 'none';\n // Run this outside the Angular zone because there's nothing that Angular cares about.\n // If it were to run inside the Angular zone, every test that used Overlay would have to be\n // either async or fakeAsync.\n this._backdropTimeout = this._ngZone.runOutsideAngular(() => setTimeout(() => {\n this._disposeBackdrop(backdropToDetach);\n }, 500));\n }\n /** Toggles a single CSS class or an array of classes on an element. */\n _toggleClasses(element, cssClasses, isAdd) {\n const classes = coerceArray(cssClasses || []).filter(c => !!c);\n if (classes.length) {\n isAdd ? element.classList.add(...classes) : element.classList.remove(...classes);\n }\n }\n /** Detaches the overlay content next time the zone stabilizes. */\n _detachContentWhenStable() {\n // Normally we wouldn't have to explicitly run this outside the `NgZone`, however\n // if the consumer is using `zone-patch-rxjs`, the `Subscription.unsubscribe` call will\n // be patched to run inside the zone, which will throw us into an infinite loop.\n this._ngZone.runOutsideAngular(() => {\n // We can't remove the host here immediately, because the overlay pane's content\n // might still be animating. This stream helps us avoid interrupting the animation\n // by waiting for the pane to become empty.\n const subscription = this._ngZone.onStable\n .pipe(takeUntil(merge(this._attachments, this._detachments)))\n .subscribe(() => {\n // Needs a couple of checks for the pane and host, because\n // they may have been removed by the time the zone stabilizes.\n if (!this._pane || !this._host || this._pane.children.length === 0) {\n if (this._pane && this._config.panelClass) {\n this._toggleClasses(this._pane, this._config.panelClass, false);\n }\n if (this._host && this._host.parentElement) {\n this._previousHostParent = this._host.parentElement;\n this._host.remove();\n }\n subscription.unsubscribe();\n }\n });\n });\n }\n /** Disposes of a scroll strategy. */\n _disposeScrollStrategy() {\n const scrollStrategy = this._scrollStrategy;\n if (scrollStrategy) {\n scrollStrategy.disable();\n if (scrollStrategy.detach) {\n scrollStrategy.detach();\n }\n }\n }\n /** Removes a backdrop element from the DOM. */\n _disposeBackdrop(backdrop) {\n if (backdrop) {\n backdrop.removeEventListener('click', this._backdropClickHandler);\n backdrop.removeEventListener('transitionend', this._backdropTransitionendHandler);\n backdrop.remove();\n // It is possible that a new portal has been attached to this overlay since we started\n // removing the backdrop. If that is the case, only clear the backdrop reference if it\n // is still the same instance that we started to remove.\n if (this._backdropElement === backdrop) {\n this._backdropElement = null;\n }\n }\n if (this._backdropTimeout) {\n clearTimeout(this._backdropTimeout);\n this._backdropTimeout = undefined;\n }\n }\n}\n\n// TODO: refactor clipping detection into a separate thing (part of scrolling module)\n// TODO: doesn't handle both flexible width and height when it has to scroll along both axis.\n/** Class to be added to the overlay bounding box. */\nconst boundingBoxClass = 'cdk-overlay-connected-position-bounding-box';\n/** Regex used to split a string on its CSS units. */\nconst cssUnitPattern = /([A-Za-z%]+)$/;\n/**\n * A strategy for positioning overlays. Using this strategy, an overlay is given an\n * implicit position relative some origin element. The relative position is defined in terms of\n * a point on the origin element that is connected to a point on the overlay element. For example,\n * a basic dropdown is connecting the bottom-left corner of the origin to the top-left corner\n * of the overlay.\n */\nclass FlexibleConnectedPositionStrategy {\n /** Ordered list of preferred positions, from most to least desirable. */\n get positions() {\n return this._preferredPositions;\n }\n constructor(connectedTo, _viewportRuler, _document, _platform, _overlayContainer) {\n this._viewportRuler = _viewportRuler;\n this._document = _document;\n this._platform = _platform;\n this._overlayContainer = _overlayContainer;\n /** Last size used for the bounding box. Used to avoid resizing the overlay after open. */\n this._lastBoundingBoxSize = { width: 0, height: 0 };\n /** Whether the overlay was pushed in a previous positioning. */\n this._isPushed = false;\n /** Whether the overlay can be pushed on-screen on the initial open. */\n this._canPush = true;\n /** Whether the overlay can grow via flexible width/height after the initial open. */\n this._growAfterOpen = false;\n /** Whether the overlay's width and height can be constrained to fit within the viewport. */\n this._hasFlexibleDimensions = true;\n /** Whether the overlay position is locked. */\n this._positionLocked = false;\n /** Amount of space that must be maintained between the overlay and the edge of the viewport. */\n this._viewportMargin = 0;\n /** The Scrollable containers used to check scrollable view properties on position change. */\n this._scrollables = [];\n /** Ordered list of preferred positions, from most to least desirable. */\n this._preferredPositions = [];\n /** Subject that emits whenever the position changes. */\n this._positionChanges = new Subject();\n /** Subscription to viewport size changes. */\n this._resizeSubscription = Subscription.EMPTY;\n /** Default offset for the overlay along the x axis. */\n this._offsetX = 0;\n /** Default offset for the overlay along the y axis. */\n this._offsetY = 0;\n /** Keeps track of the CSS classes that the position strategy has applied on the overlay panel. */\n this._appliedPanelClasses = [];\n /** Observable sequence of position changes. */\n this.positionChanges = this._positionChanges;\n this.setOrigin(connectedTo);\n }\n /** Attaches this position strategy to an overlay. */\n attach(overlayRef) {\n if (this._overlayRef &&\n overlayRef !== this._overlayRef &&\n (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error('This position strategy is already attached to an overlay');\n }\n this._validatePositions();\n overlayRef.hostElement.classList.add(boundingBoxClass);\n this._overlayRef = overlayRef;\n this._boundingBox = overlayRef.hostElement;\n this._pane = overlayRef.overlayElement;\n this._isDisposed = false;\n this._isInitialRender = true;\n this._lastPosition = null;\n this._resizeSubscription.unsubscribe();\n this._resizeSubscription = this._viewportRuler.change().subscribe(() => {\n // When the window is resized, we want to trigger the next reposition as if it\n // was an initial render, in order for the strategy to pick a new optimal position,\n // otherwise position locking will cause it to stay at the old one.\n this._isInitialRender = true;\n this.apply();\n });\n }\n /**\n * Updates the position of the overlay element, using whichever preferred position relative\n * to the origin best fits on-screen.\n *\n * The selection of a position goes as follows:\n * - If any positions fit completely within the viewport as-is,\n * choose the first position that does so.\n * - If flexible dimensions are enabled and at least one satisfies the given minimum width/height,\n * choose the position with the greatest available size modified by the positions' weight.\n * - If pushing is enabled, take the position that went off-screen the least and push it\n * on-screen.\n * - If none of the previous criteria were met, use the position that goes off-screen the least.\n * @docs-private\n */\n apply() {\n // We shouldn't do anything if the strategy was disposed or we're on the server.\n if (this._isDisposed || !this._platform.isBrowser) {\n return;\n }\n // If the position has been applied already (e.g. when the overlay was opened) and the\n // consumer opted into locking in the position, re-use the old position, in order to\n // prevent the overlay from jumping around.\n if (!this._isInitialRender && this._positionLocked && this._lastPosition) {\n this.reapplyLastPosition();\n return;\n }\n this._clearPanelClasses();\n this._resetOverlayElementStyles();\n this._resetBoundingBoxStyles();\n // We need the bounding rects for the origin, the overlay and the container to determine how to position\n // the overlay relative to the origin.\n // We use the viewport rect to determine whether a position would go off-screen.\n this._viewportRect = this._getNarrowedViewportRect();\n this._originRect = this._getOriginRect();\n this._overlayRect = this._pane.getBoundingClientRect();\n this._containerRect = this._overlayContainer.getContainerElement().getBoundingClientRect();\n const originRect = this._originRect;\n const overlayRect = this._overlayRect;\n const viewportRect = this._viewportRect;\n const containerRect = this._containerRect;\n // Positions where the overlay will fit with flexible dimensions.\n const flexibleFits = [];\n // Fallback if none of the preferred positions fit within the viewport.\n let fallback;\n // Go through each of the preferred positions looking for a good fit.\n // If a good fit is found, it will be applied immediately.\n for (let pos of this._preferredPositions) {\n // Get the exact (x, y) coordinate for the point-of-origin on the origin element.\n let originPoint = this._getOriginPoint(originRect, containerRect, pos);\n // From that point-of-origin, get the exact (x, y) coordinate for the top-left corner of the\n // overlay in this position. We use the top-left corner for calculations and later translate\n // this into an appropriate (top, left, bottom, right) style.\n let overlayPoint = this._getOverlayPoint(originPoint, overlayRect, pos);\n // Calculate how well the overlay would fit into the viewport with this point.\n let overlayFit = this._getOverlayFit(overlayPoint, overlayRect, viewportRect, pos);\n // If the overlay, without any further work, fits into the viewport, use this position.\n if (overlayFit.isCompletelyWithinViewport) {\n this._isPushed = false;\n this._applyPosition(pos, originPoint);\n return;\n }\n // If the overlay has flexible dimensions, we can use this position\n // so long as there's enough space for the minimum dimensions.\n if (this._canFitWithFlexibleDimensions(overlayFit, overlayPoint, viewportRect)) {\n // Save positions where the overlay will fit with flexible dimensions. We will use these\n // if none of the positions fit *without* flexible dimensions.\n flexibleFits.push({\n position: pos,\n origin: originPoint,\n overlayRect,\n boundingBoxRect: this._calculateBoundingBoxRect(originPoint, pos),\n });\n continue;\n }\n // If the current preferred position does not fit on the screen, remember the position\n // if it has more visible area on-screen than we've seen and move onto the next preferred\n // position.\n if (!fallback || fallback.overlayFit.visibleArea < overlayFit.visibleArea) {\n fallback = { overlayFit, overlayPoint, originPoint, position: pos, overlayRect };\n }\n }\n // If there are any positions where the overlay would fit with flexible dimensions, choose the\n // one that has the greatest area available modified by the position's weight\n if (flexibleFits.length) {\n let bestFit = null;\n let bestScore = -1;\n for (const fit of flexibleFits) {\n const score = fit.boundingBoxRect.width * fit.boundingBoxRect.height * (fit.position.weight || 1);\n if (score > bestScore) {\n bestScore = score;\n bestFit = fit;\n }\n }\n this._isPushed = false;\n this._applyPosition(bestFit.position, bestFit.origin);\n return;\n }\n // When none of the preferred positions fit within the viewport, take the position\n // that went off-screen the least and attempt to push it on-screen.\n if (this._canPush) {\n // TODO(jelbourn): after pushing, the opening \"direction\" of the overlay might not make sense.\n this._isPushed = true;\n this._applyPosition(fallback.position, fallback.originPoint);\n return;\n }\n // All options for getting the overlay within the viewport have been exhausted, so go with the\n // position that went off-screen the least.\n this._applyPosition(fallback.position, fallback.originPoint);\n }\n detach() {\n this._clearPanelClasses();\n this._lastPosition = null;\n this._previousPushAmount = null;\n this._resizeSubscription.unsubscribe();\n }\n /** Cleanup after the element gets destroyed. */\n dispose() {\n if (this._isDisposed) {\n return;\n }\n // We can't use `_resetBoundingBoxStyles` here, because it resets\n // some properties to zero, rather than removing them.\n if (this._boundingBox) {\n extendStyles(this._boundingBox.style, {\n top: '',\n left: '',\n right: '',\n bottom: '',\n height: '',\n width: '',\n alignItems: '',\n justifyContent: '',\n });\n }\n if (this._pane) {\n this._resetOverlayElementStyles();\n }\n if (this._overlayRef) {\n this._overlayRef.hostElement.classList.remove(boundingBoxClass);\n }\n this.detach();\n this._positionChanges.complete();\n this._overlayRef = this._boundingBox = null;\n this._isDisposed = true;\n }\n /**\n * This re-aligns the overlay element with the trigger in its last calculated position,\n * even if a position higher in the \"preferred positions\" list would now fit. This\n * allows one to re-align the panel without changing the orientation of the panel.\n */\n reapplyLastPosition() {\n if (this._isDisposed || !this._platform.isBrowser) {\n return;\n }\n const lastPosition = this._lastPosition;\n if (lastPosition) {\n this._originRect = this._getOriginRect();\n this._overlayRect = this._pane.getBoundingClientRect();\n this._viewportRect = this._getNarrowedViewportRect();\n this._containerRect = this._overlayContainer.getContainerElement().getBoundingClientRect();\n const originPoint = this._getOriginPoint(this._originRect, this._containerRect, lastPosition);\n this._applyPosition(lastPosition, originPoint);\n }\n else {\n this.apply();\n }\n }\n /**\n * Sets the list of Scrollable containers that host the origin element so that\n * on reposition we can evaluate if it or the overlay has been clipped or outside view. Every\n * Scrollable must be an ancestor element of the strategy's origin element.\n */\n withScrollableContainers(scrollables) {\n this._scrollables = scrollables;\n return this;\n }\n /**\n * Adds new preferred positions.\n * @param positions List of positions options for this overlay.\n */\n withPositions(positions) {\n this._preferredPositions = positions;\n // If the last calculated position object isn't part of the positions anymore, clear\n // it in order to avoid it being picked up if the consumer tries to re-apply.\n if (positions.indexOf(this._lastPosition) === -1) {\n this._lastPosition = null;\n }\n this._validatePositions();\n return this;\n }\n /**\n * Sets a minimum distance the overlay may be positioned to the edge of the viewport.\n * @param margin Required margin between the overlay and the viewport edge in pixels.\n */\n withViewportMargin(margin) {\n this._viewportMargin = margin;\n return this;\n }\n /** Sets whether the overlay's width and height can be constrained to fit within the viewport. */\n withFlexibleDimensions(flexibleDimensions = true) {\n this._hasFlexibleDimensions = flexibleDimensions;\n return this;\n }\n /** Sets whether the overlay can grow after the initial open via flexible width/height. */\n withGrowAfterOpen(growAfterOpen = true) {\n this._growAfterOpen = growAfterOpen;\n return this;\n }\n /** Sets whether the overlay can be pushed on-screen if none of the provided positions fit. */\n withPush(canPush = true) {\n this._canPush = canPush;\n return this;\n }\n /**\n * Sets whether the overlay's position should be locked in after it is positioned\n * initially. When an overlay is locked in, it won't attempt to reposition itself\n * when the position is re-applied (e.g. when the user scrolls away).\n * @param isLocked Whether the overlay should locked in.\n */\n withLockedPosition(isLocked = true) {\n this._positionLocked = isLocked;\n return this;\n }\n /**\n * Sets the origin, relative to which to position the overlay.\n * Using an element origin is useful for building components that need to be positioned\n * relatively to a trigger (e.g. dropdown menus or tooltips), whereas using a point can be\n * used for cases like contextual menus which open relative to the user's pointer.\n * @param origin Reference to the new origin.\n */\n setOrigin(origin) {\n this._origin = origin;\n return this;\n }\n /**\n * Sets the default offset for the overlay's connection point on the x-axis.\n * @param offset New offset in the X axis.\n */\n withDefaultOffsetX(offset) {\n this._offsetX = offset;\n return this;\n }\n /**\n * Sets the default offset for the overlay's connection point on the y-axis.\n * @param offset New offset in the Y axis.\n */\n withDefaultOffsetY(offset) {\n this._offsetY = offset;\n return this;\n }\n /**\n * Configures that the position strategy should set a `transform-origin` on some elements\n * inside the overlay, depending on the current position that is being applied. This is\n * useful for the cases where the origin of an animation can change depending on the\n * alignment of the overlay.\n * @param selector CSS selector that will be used to find the target\n * elements onto which to set the transform origin.\n */\n withTransformOriginOn(selector) {\n this._transformOriginSelector = selector;\n return this;\n }\n /**\n * Gets the (x, y) coordinate of a connection point on the origin based on a relative position.\n */\n _getOriginPoint(originRect, containerRect, pos) {\n let x;\n if (pos.originX == 'center') {\n // Note: when centering we should always use the `left`\n // offset, otherwise the position will be wrong in RTL.\n x = originRect.left + originRect.width / 2;\n }\n else {\n const startX = this._isRtl() ? originRect.right : originRect.left;\n const endX = this._isRtl() ? originRect.left : originRect.right;\n x = pos.originX == 'start' ? startX : endX;\n }\n // When zooming in Safari the container rectangle contains negative values for the position\n // and we need to re-add them to the calculated coordinates.\n if (containerRect.left < 0) {\n x -= containerRect.left;\n }\n let y;\n if (pos.originY == 'center') {\n y = originRect.top + originRect.height / 2;\n }\n else {\n y = pos.originY == 'top' ? originRect.top : originRect.bottom;\n }\n // Normally the containerRect's top value would be zero, however when the overlay is attached to an input\n // (e.g. in an autocomplete), mobile browsers will shift everything in order to put the input in the middle\n // of the screen and to make space for the virtual keyboard. We need to account for this offset,\n // otherwise our positioning will be thrown off.\n // Additionally, when zooming in Safari this fixes the vertical position.\n if (containerRect.top < 0) {\n y -= containerRect.top;\n }\n return { x, y };\n }\n /**\n * Gets the (x, y) coordinate of the top-left corner of the overlay given a given position and\n * origin point to which the overlay should be connected.\n */\n _getOverlayPoint(originPoint, overlayRect, pos) {\n // Calculate the (overlayStartX, overlayStartY), the start of the\n // potential overlay position relative to the origin point.\n let overlayStartX;\n if (pos.overlayX == 'center') {\n overlayStartX = -overlayRect.width / 2;\n }\n else if (pos.overlayX === 'start') {\n overlayStartX = this._isRtl() ? -overlayRect.width : 0;\n }\n else {\n overlayStartX = this._isRtl() ? 0 : -overlayRect.width;\n }\n let overlayStartY;\n if (pos.overlayY == 'center') {\n overlayStartY = -overlayRect.height / 2;\n }\n else {\n overlayStartY = pos.overlayY == 'top' ? 0 : -overlayRect.height;\n }\n // The (x, y) coordinates of the overlay.\n return {\n x: originPoint.x + overlayStartX,\n y: originPoint.y + overlayStartY,\n };\n }\n /** Gets how well an overlay at the given point will fit within the viewport. */\n _getOverlayFit(point, rawOverlayRect, viewport, position) {\n // Round the overlay rect when comparing against the\n // viewport, because the viewport is always rounded.\n const overlay = getRoundedBoundingClientRect(rawOverlayRect);\n let { x, y } = point;\n let offsetX = this._getOffset(position, 'x');\n let offsetY = this._getOffset(position, 'y');\n // Account for the offsets since they could push the overlay out of the viewport.\n if (offsetX) {\n x += offsetX;\n }\n if (offsetY) {\n y += offsetY;\n }\n // How much the overlay would overflow at this position, on each side.\n let leftOverflow = 0 - x;\n let rightOverflow = x + overlay.width - viewport.width;\n let topOverflow = 0 - y;\n let bottomOverflow = y + overlay.height - viewport.height;\n // Visible parts of the element on each axis.\n let visibleWidth = this._subtractOverflows(overlay.width, leftOverflow, rightOverflow);\n let visibleHeight = this._subtractOverflows(overlay.height, topOverflow, bottomOverflow);\n let visibleArea = visibleWidth * visibleHeight;\n return {\n visibleArea,\n isCompletelyWithinViewport: overlay.width * overlay.height === visibleArea,\n fitsInViewportVertically: visibleHeight === overlay.height,\n fitsInViewportHorizontally: visibleWidth == overlay.width,\n };\n }\n /**\n * Whether the overlay can fit within the viewport when it may resize either its width or height.\n * @param fit How well the overlay fits in the viewport at some position.\n * @param point The (x, y) coordinates of the overlay at some position.\n * @param viewport The geometry of the viewport.\n */\n _canFitWithFlexibleDimensions(fit, point, viewport) {\n if (this._hasFlexibleDimensions) {\n const availableHeight = viewport.bottom - point.y;\n const availableWidth = viewport.right - point.x;\n const minHeight = getPixelValue(this._overlayRef.getConfig().minHeight);\n const minWidth = getPixelValue(this._overlayRef.getConfig().minWidth);\n const verticalFit = fit.fitsInViewportVertically || (minHeight != null && minHeight <= availableHeight);\n const horizontalFit = fit.fitsInViewportHorizontally || (minWidth != null && minWidth <= availableWidth);\n return verticalFit && horizontalFit;\n }\n return false;\n }\n /**\n * Gets the point at which the overlay can be \"pushed\" on-screen. If the overlay is larger than\n * the viewport, the top-left corner will be pushed on-screen (with overflow occurring on the\n * right and bottom).\n *\n * @param start Starting point from which the overlay is pushed.\n * @param rawOverlayRect Dimensions of the overlay.\n * @param scrollPosition Current viewport scroll position.\n * @returns The point at which to position the overlay after pushing. This is effectively a new\n * originPoint.\n */\n _pushOverlayOnScreen(start, rawOverlayRect, scrollPosition) {\n // If the position is locked and we've pushed the overlay already, reuse the previous push\n // amount, rather than pushing it again. If we were to continue pushing, the element would\n // remain in the viewport, which goes against the expectations when position locking is enabled.\n if (this._previousPushAmount && this._positionLocked) {\n return {\n x: start.x + this._previousPushAmount.x,\n y: start.y + this._previousPushAmount.y,\n };\n }\n // Round the overlay rect when comparing against the\n // viewport, because the viewport is always rounded.\n const overlay = getRoundedBoundingClientRect(rawOverlayRect);\n const viewport = this._viewportRect;\n // Determine how much the overlay goes outside the viewport on each\n // side, which we'll use to decide which direction to push it.\n const overflowRight = Math.max(start.x + overlay.width - viewport.width, 0);\n const overflowBottom = Math.max(start.y + overlay.height - viewport.height, 0);\n const overflowTop = Math.max(viewport.top - scrollPosition.top - start.y, 0);\n const overflowLeft = Math.max(viewport.left - scrollPosition.left - start.x, 0);\n // Amount by which to push the overlay in each axis such that it remains on-screen.\n let pushX = 0;\n let pushY = 0;\n // If the overlay fits completely within the bounds of the viewport, push it from whichever\n // direction is goes off-screen. Otherwise, push the top-left corner such that its in the\n // viewport and allow for the trailing end of the overlay to go out of bounds.\n if (overlay.width <= viewport.width) {\n pushX = overflowLeft || -overflowRight;\n }\n else {\n pushX = start.x < this._viewportMargin ? viewport.left - scrollPosition.left - start.x : 0;\n }\n if (overlay.height <= viewport.height) {\n pushY = overflowTop || -overflowBottom;\n }\n else {\n pushY = start.y < this._viewportMargin ? viewport.top - scrollPosition.top - start.y : 0;\n }\n this._previousPushAmount = { x: pushX, y: pushY };\n return {\n x: start.x + pushX,\n y: start.y + pushY,\n };\n }\n /**\n * Applies a computed position to the overlay and emits a position change.\n * @param position The position preference\n * @param originPoint The point on the origin element where the overlay is connected.\n */\n _applyPosition(position, originPoint) {\n this._setTransformOrigin(position);\n this._setOverlayElementStyles(originPoint, position);\n this._setBoundingBoxStyles(originPoint, position);\n if (position.panelClass) {\n this._addPanelClasses(position.panelClass);\n }\n // Save the last connected position in case the position needs to be re-calculated.\n this._lastPosition = position;\n // Notify that the position has been changed along with its change properties.\n // We only emit if we've got any subscriptions, because the scroll visibility\n // calculations can be somewhat expensive.\n if (this._positionChanges.observers.length) {\n const scrollableViewProperties = this._getScrollVisibility();\n const changeEvent = new ConnectedOverlayPositionChange(position, scrollableViewProperties);\n this._positionChanges.next(changeEvent);\n }\n this._isInitialRender = false;\n }\n /** Sets the transform origin based on the configured selector and the passed-in position. */\n _setTransformOrigin(position) {\n if (!this._transformOriginSelector) {\n return;\n }\n const elements = this._boundingBox.querySelectorAll(this._transformOriginSelector);\n let xOrigin;\n let yOrigin = position.overlayY;\n if (position.overlayX === 'center') {\n xOrigin = 'center';\n }\n else if (this._isRtl()) {\n xOrigin = position.overlayX === 'start' ? 'right' : 'left';\n }\n else {\n xOrigin = position.overlayX === 'start' ? 'left' : 'right';\n }\n for (let i = 0; i < elements.length; i++) {\n elements[i].style.transformOrigin = `${xOrigin} ${yOrigin}`;\n }\n }\n /**\n * Gets the position and size of the overlay's sizing container.\n *\n * This method does no measuring and applies no styles so that we can cheaply compute the\n * bounds for all positions and choose the best fit based on these results.\n */\n _calculateBoundingBoxRect(origin, position) {\n const viewport = this._viewportRect;\n const isRtl = this._isRtl();\n let height, top, bottom;\n if (position.overlayY === 'top') {\n // Overlay is opening \"downward\" and thus is bound by the bottom viewport edge.\n top = origin.y;\n height = viewport.height - top + this._viewportMargin;\n }\n else if (position.overlayY === 'bottom') {\n // Overlay is opening \"upward\" and thus is bound by the top viewport edge. We need to add\n // the viewport margin back in, because the viewport rect is narrowed down to remove the\n // margin, whereas the `origin` position is calculated based on its `ClientRect`.\n bottom = viewport.height - origin.y + this._viewportMargin * 2;\n height = viewport.height - bottom + this._viewportMargin;\n }\n else {\n // If neither top nor bottom, it means that the overlay is vertically centered on the\n // origin point. Note that we want the position relative to the viewport, rather than\n // the page, which is why we don't use something like `viewport.bottom - origin.y` and\n // `origin.y - viewport.top`.\n const smallestDistanceToViewportEdge = Math.min(viewport.bottom - origin.y + viewport.top, origin.y);\n const previousHeight = this._lastBoundingBoxSize.height;\n height = smallestDistanceToViewportEdge * 2;\n top = origin.y - smallestDistanceToViewportEdge;\n if (height > previousHeight && !this._isInitialRender && !this._growAfterOpen) {\n top = origin.y - previousHeight / 2;\n }\n }\n // The overlay is opening 'right-ward' (the content flows to the right).\n const isBoundedByRightViewportEdge = (position.overlayX === 'start' && !isRtl) || (position.overlayX === 'end' && isRtl);\n // The overlay is opening 'left-ward' (the content flows to the left).\n const isBoundedByLeftViewportEdge = (position.overlayX === 'end' && !isRtl) || (position.overlayX === 'start' && isRtl);\n let width, left, right;\n if (isBoundedByLeftViewportEdge) {\n right = viewport.width - origin.x + this._viewportMargin;\n width = origin.x - this._viewportMargin;\n }\n else if (isBoundedByRightViewportEdge) {\n left = origin.x;\n width = viewport.right - origin.x;\n }\n else {\n // If neither start nor end, it means that the overlay is horizontally centered on the\n // origin point. Note that we want the position relative to the viewport, rather than\n // the page, which is why we don't use something like `viewport.right - origin.x` and\n // `origin.x - viewport.left`.\n const smallestDistanceToViewportEdge = Math.min(viewport.right - origin.x + viewport.left, origin.x);\n const previousWidth = this._lastBoundingBoxSize.width;\n width = smallestDistanceToViewportEdge * 2;\n left = origin.x - smallestDistanceToViewportEdge;\n if (width > previousWidth && !this._isInitialRender && !this._growAfterOpen) {\n left = origin.x - previousWidth / 2;\n }\n }\n return { top: top, left: left, bottom: bottom, right: right, width, height };\n }\n /**\n * Sets the position and size of the overlay's sizing wrapper. The wrapper is positioned on the\n * origin's connection point and stretches to the bounds of the viewport.\n *\n * @param origin The point on the origin element where the overlay is connected.\n * @param position The position preference\n */\n _setBoundingBoxStyles(origin, position) {\n const boundingBoxRect = this._calculateBoundingBoxRect(origin, position);\n // It's weird if the overlay *grows* while scrolling, so we take the last size into account\n // when applying a new size.\n if (!this._isInitialRender && !this._growAfterOpen) {\n boundingBoxRect.height = Math.min(boundingBoxRect.height, this._lastBoundingBoxSize.height);\n boundingBoxRect.width = Math.min(boundingBoxRect.width, this._lastBoundingBoxSize.width);\n }\n const styles = {};\n if (this._hasExactPosition()) {\n styles.top = styles.left = '0';\n styles.bottom = styles.right = styles.maxHeight = styles.maxWidth = '';\n styles.width = styles.height = '100%';\n }\n else {\n const maxHeight = this._overlayRef.getConfig().maxHeight;\n const maxWidth = this._overlayRef.getConfig().maxWidth;\n styles.height = coerceCssPixelValue(boundingBoxRect.height);\n styles.top = coerceCssPixelValue(boundingBoxRect.top);\n styles.bottom = coerceCssPixelValue(boundingBoxRect.bottom);\n styles.width = coerceCssPixelValue(boundingBoxRect.width);\n styles.left = coerceCssPixelValue(boundingBoxRect.left);\n styles.right = coerceCssPixelValue(boundingBoxRect.right);\n // Push the pane content towards the proper direction.\n if (position.overlayX === 'center') {\n styles.alignItems = 'center';\n }\n else {\n styles.alignItems = position.overlayX === 'end' ? 'flex-end' : 'flex-start';\n }\n if (position.overlayY === 'center') {\n styles.justifyContent = 'center';\n }\n else {\n styles.justifyContent = position.overlayY === 'bottom' ? 'flex-end' : 'flex-start';\n }\n if (maxHeight) {\n styles.maxHeight = coerceCssPixelValue(maxHeight);\n }\n if (maxWidth) {\n styles.maxWidth = coerceCssPixelValue(maxWidth);\n }\n }\n this._lastBoundingBoxSize = boundingBoxRect;\n extendStyles(this._boundingBox.style, styles);\n }\n /** Resets the styles for the bounding box so that a new positioning can be computed. */\n _resetBoundingBoxStyles() {\n extendStyles(this._boundingBox.style, {\n top: '0',\n left: '0',\n right: '0',\n bottom: '0',\n height: '',\n width: '',\n alignItems: '',\n justifyContent: '',\n });\n }\n /** Resets the styles for the overlay pane so that a new positioning can be computed. */\n _resetOverlayElementStyles() {\n extendStyles(this._pane.style, {\n top: '',\n left: '',\n bottom: '',\n right: '',\n position: '',\n transform: '',\n });\n }\n /** Sets positioning styles to the overlay element. */\n _setOverlayElementStyles(originPoint, position) {\n const styles = {};\n const hasExactPosition = this._hasExactPosition();\n const hasFlexibleDimensions = this._hasFlexibleDimensions;\n const config = this._overlayRef.getConfig();\n if (hasExactPosition) {\n const scrollPosition = this._viewportRuler.getViewportScrollPosition();\n extendStyles(styles, this._getExactOverlayY(position, originPoint, scrollPosition));\n extendStyles(styles, this._getExactOverlayX(position, originPoint, scrollPosition));\n }\n else {\n styles.position = 'static';\n }\n // Use a transform to apply the offsets. We do this because the `center` positions rely on\n // being in the normal flex flow and setting a `top` / `left` at all will completely throw\n // off the position. We also can't use margins, because they won't have an effect in some\n // cases where the element doesn't have anything to \"push off of\". Finally, this works\n // better both with flexible and non-flexible positioning.\n let transformString = '';\n let offsetX = this._getOffset(position, 'x');\n let offsetY = this._getOffset(position, 'y');\n if (offsetX) {\n transformString += `translateX(${offsetX}px) `;\n }\n if (offsetY) {\n transformString += `translateY(${offsetY}px)`;\n }\n styles.transform = transformString.trim();\n // If a maxWidth or maxHeight is specified on the overlay, we remove them. We do this because\n // we need these values to both be set to \"100%\" for the automatic flexible sizing to work.\n // The maxHeight and maxWidth are set on the boundingBox in order to enforce the constraint.\n // Note that this doesn't apply when we have an exact position, in which case we do want to\n // apply them because they'll be cleared from the bounding box.\n if (config.maxHeight) {\n if (hasExactPosition) {\n styles.maxHeight = coerceCssPixelValue(config.maxHeight);\n }\n else if (hasFlexibleDimensions) {\n styles.maxHeight = '';\n }\n }\n if (config.maxWidth) {\n if (hasExactPosition) {\n styles.maxWidth = coerceCssPixelValue(config.maxWidth);\n }\n else if (hasFlexibleDimensions) {\n styles.maxWidth = '';\n }\n }\n extendStyles(this._pane.style, styles);\n }\n /** Gets the exact top/bottom for the overlay when not using flexible sizing or when pushing. */\n _getExactOverlayY(position, originPoint, scrollPosition) {\n // Reset any existing styles. This is necessary in case the\n // preferred position has changed since the last `apply`.\n let styles = { top: '', bottom: '' };\n let overlayPoint = this._getOverlayPoint(originPoint, this._overlayRect, position);\n if (this._isPushed) {\n overlayPoint = this._pushOverlayOnScreen(overlayPoint, this._overlayRect, scrollPosition);\n }\n // We want to set either `top` or `bottom` based on whether the overlay wants to appear\n // above or below the origin and the direction in which the element will expand.\n if (position.overlayY === 'bottom') {\n // When using `bottom`, we adjust the y position such that it is the distance\n // from the bottom of the viewport rather than the top.\n const documentHeight = this._document.documentElement.clientHeight;\n styles.bottom = `${documentHeight - (overlayPoint.y + this._overlayRect.height)}px`;\n }\n else {\n styles.top = coerceCssPixelValue(overlayPoint.y);\n }\n return styles;\n }\n /** Gets the exact left/right for the overlay when not using flexible sizing or when pushing. */\n _getExactOverlayX(position, originPoint, scrollPosition) {\n // Reset any existing styles. This is necessary in case the preferred position has\n // changed since the last `apply`.\n let styles = { left: '', right: '' };\n let overlayPoint = this._getOverlayPoint(originPoint, this._overlayRect, position);\n if (this._isPushed) {\n overlayPoint = this._pushOverlayOnScreen(overlayPoint, this._overlayRect, scrollPosition);\n }\n // We want to set either `left` or `right` based on whether the overlay wants to appear \"before\"\n // or \"after\" the origin, which determines the direction in which the element will expand.\n // For the horizontal axis, the meaning of \"before\" and \"after\" change based on whether the\n // page is in RTL or LTR.\n let horizontalStyleProperty;\n if (this._isRtl()) {\n horizontalStyleProperty = position.overlayX === 'end' ? 'left' : 'right';\n }\n else {\n horizontalStyleProperty = position.overlayX === 'end' ? 'right' : 'left';\n }\n // When we're setting `right`, we adjust the x position such that it is the distance\n // from the right edge of the viewport rather than the left edge.\n if (horizontalStyleProperty === 'right') {\n const documentWidth = this._document.documentElement.clientWidth;\n styles.right = `${documentWidth - (overlayPoint.x + this._overlayRect.width)}px`;\n }\n else {\n styles.left = coerceCssPixelValue(overlayPoint.x);\n }\n return styles;\n }\n /**\n * Gets the view properties of the trigger and overlay, including whether they are clipped\n * or completely outside the view of any of the strategy's scrollables.\n */\n _getScrollVisibility() {\n // Note: needs fresh rects since the position could've changed.\n const originBounds = this._getOriginRect();\n const overlayBounds = this._pane.getBoundingClientRect();\n // TODO(jelbourn): instead of needing all of the client rects for these scrolling containers\n // every time, we should be able to use the scrollTop of the containers if the size of those\n // containers hasn't changed.\n const scrollContainerBounds = this._scrollables.map(scrollable => {\n return scrollable.getElementRef().nativeElement.getBoundingClientRect();\n });\n return {\n isOriginClipped: isElementClippedByScrolling(originBounds, scrollContainerBounds),\n isOriginOutsideView: isElementScrolledOutsideView(originBounds, scrollContainerBounds),\n isOverlayClipped: isElementClippedByScrolling(overlayBounds, scrollContainerBounds),\n isOverlayOutsideView: isElementScrolledOutsideView(overlayBounds, scrollContainerBounds),\n };\n }\n /** Subtracts the amount that an element is overflowing on an axis from its length. */\n _subtractOverflows(length, ...overflows) {\n return overflows.reduce((currentValue, currentOverflow) => {\n return currentValue - Math.max(currentOverflow, 0);\n }, length);\n }\n /** Narrows the given viewport rect by the current _viewportMargin. */\n _getNarrowedViewportRect() {\n // We recalculate the viewport rect here ourselves, rather than using the ViewportRuler,\n // because we want to use the `clientWidth` and `clientHeight` as the base. The difference\n // being that the client properties don't include the scrollbar, as opposed to `innerWidth`\n // and `innerHeight` that do. This is necessary, because the overlay container uses\n // 100% `width` and `height` which don't include the scrollbar either.\n const width = this._document.documentElement.clientWidth;\n const height = this._document.documentElement.clientHeight;\n const scrollPosition = this._viewportRuler.getViewportScrollPosition();\n return {\n top: scrollPosition.top + this._viewportMargin,\n left: scrollPosition.left + this._viewportMargin,\n right: scrollPosition.left + width - this._viewportMargin,\n bottom: scrollPosition.top + height - this._viewportMargin,\n width: width - 2 * this._viewportMargin,\n height: height - 2 * this._viewportMargin,\n };\n }\n /** Whether the we're dealing with an RTL context */\n _isRtl() {\n return this._overlayRef.getDirection() === 'rtl';\n }\n /** Determines whether the overlay uses exact or flexible positioning. */\n _hasExactPosition() {\n return !this._hasFlexibleDimensions || this._isPushed;\n }\n /** Retrieves the offset of a position along the x or y axis. */\n _getOffset(position, axis) {\n if (axis === 'x') {\n // We don't do something like `position['offset' + axis]` in\n // order to avoid breaking minifiers that rename properties.\n return position.offsetX == null ? this._offsetX : position.offsetX;\n }\n return position.offsetY == null ? this._offsetY : position.offsetY;\n }\n /** Validates that the current position match the expected values. */\n _validatePositions() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!this._preferredPositions.length) {\n throw Error('FlexibleConnectedPositionStrategy: At least one position is required.');\n }\n // TODO(crisbeto): remove these once Angular's template type\n // checking is advanced enough to catch these cases.\n this._preferredPositions.forEach(pair => {\n validateHorizontalPosition('originX', pair.originX);\n validateVerticalPosition('originY', pair.originY);\n validateHorizontalPosition('overlayX', pair.overlayX);\n validateVerticalPosition('overlayY', pair.overlayY);\n });\n }\n }\n /** Adds a single CSS class or an array of classes on the overlay panel. */\n _addPanelClasses(cssClasses) {\n if (this._pane) {\n coerceArray(cssClasses).forEach(cssClass => {\n if (cssClass !== '' && this._appliedPanelClasses.indexOf(cssClass) === -1) {\n this._appliedPanelClasses.push(cssClass);\n this._pane.classList.add(cssClass);\n }\n });\n }\n }\n /** Clears the classes that the position strategy has applied from the overlay panel. */\n _clearPanelClasses() {\n if (this._pane) {\n this._appliedPanelClasses.forEach(cssClass => {\n this._pane.classList.remove(cssClass);\n });\n this._appliedPanelClasses = [];\n }\n }\n /** Returns the ClientRect of the current origin. */\n _getOriginRect() {\n const origin = this._origin;\n if (origin instanceof ElementRef) {\n return origin.nativeElement.getBoundingClientRect();\n }\n // Check for Element so SVG elements are also supported.\n if (origin instanceof Element) {\n return origin.getBoundingClientRect();\n }\n const width = origin.width || 0;\n const height = origin.height || 0;\n // If the origin is a point, return a client rect as if it was a 0x0 element at the point.\n return {\n top: origin.y,\n bottom: origin.y + height,\n left: origin.x,\n right: origin.x + width,\n height,\n width,\n };\n }\n}\n/** Shallow-extends a stylesheet object with another stylesheet object. */\nfunction extendStyles(destination, source) {\n for (let key in source) {\n if (source.hasOwnProperty(key)) {\n destination[key] = source[key];\n }\n }\n return destination;\n}\n/**\n * Extracts the pixel value as a number from a value, if it's a number\n * or a CSS pixel string (e.g. `1337px`). Otherwise returns null.\n */\nfunction getPixelValue(input) {\n if (typeof input !== 'number' && input != null) {\n const [value, units] = input.split(cssUnitPattern);\n return !units || units === 'px' ? parseFloat(value) : null;\n }\n return input || null;\n}\n/**\n * Gets a version of an element's bounding `ClientRect` where all the values are rounded down to\n * the nearest pixel. This allows us to account for the cases where there may be sub-pixel\n * deviations in the `ClientRect` returned by the browser (e.g. when zoomed in with a percentage\n * size, see #21350).\n */\nfunction getRoundedBoundingClientRect(clientRect) {\n return {\n top: Math.floor(clientRect.top),\n right: Math.floor(clientRect.right),\n bottom: Math.floor(clientRect.bottom),\n left: Math.floor(clientRect.left),\n width: Math.floor(clientRect.width),\n height: Math.floor(clientRect.height),\n };\n}\nconst STANDARD_DROPDOWN_BELOW_POSITIONS = [\n { originX: 'start', originY: 'bottom', overlayX: 'start', overlayY: 'top' },\n { originX: 'start', originY: 'top', overlayX: 'start', overlayY: 'bottom' },\n { originX: 'end', originY: 'bottom', overlayX: 'end', overlayY: 'top' },\n { originX: 'end', originY: 'top', overlayX: 'end', overlayY: 'bottom' },\n];\nconst STANDARD_DROPDOWN_ADJACENT_POSITIONS = [\n { originX: 'end', originY: 'top', overlayX: 'start', overlayY: 'top' },\n { originX: 'end', originY: 'bottom', overlayX: 'start', overlayY: 'bottom' },\n { originX: 'start', originY: 'top', overlayX: 'end', overlayY: 'top' },\n { originX: 'start', originY: 'bottom', overlayX: 'end', overlayY: 'bottom' },\n];\n\n/** Class to be added to the overlay pane wrapper. */\nconst wrapperClass = 'cdk-global-overlay-wrapper';\n/**\n * A strategy for positioning overlays. Using this strategy, an overlay is given an\n * explicit position relative to the browser's viewport. We use flexbox, instead of\n * transforms, in order to avoid issues with subpixel rendering which can cause the\n * element to become blurry.\n */\nclass GlobalPositionStrategy {\n constructor() {\n this._cssPosition = 'static';\n this._topOffset = '';\n this._bottomOffset = '';\n this._alignItems = '';\n this._xPosition = '';\n this._xOffset = '';\n this._width = '';\n this._height = '';\n this._isDisposed = false;\n }\n attach(overlayRef) {\n const config = overlayRef.getConfig();\n this._overlayRef = overlayRef;\n if (this._width && !config.width) {\n overlayRef.updateSize({ width: this._width });\n }\n if (this._height && !config.height) {\n overlayRef.updateSize({ height: this._height });\n }\n overlayRef.hostElement.classList.add(wrapperClass);\n this._isDisposed = false;\n }\n /**\n * Sets the top position of the overlay. Clears any previously set vertical position.\n * @param value New top offset.\n */\n top(value = '') {\n this._bottomOffset = '';\n this._topOffset = value;\n this._alignItems = 'flex-start';\n return this;\n }\n /**\n * Sets the left position of the overlay. Clears any previously set horizontal position.\n * @param value New left offset.\n */\n left(value = '') {\n this._xOffset = value;\n this._xPosition = 'left';\n return this;\n }\n /**\n * Sets the bottom position of the overlay. Clears any previously set vertical position.\n * @param value New bottom offset.\n */\n bottom(value = '') {\n this._topOffset = '';\n this._bottomOffset = value;\n this._alignItems = 'flex-end';\n return this;\n }\n /**\n * Sets the right position of the overlay. Clears any previously set horizontal position.\n * @param value New right offset.\n */\n right(value = '') {\n this._xOffset = value;\n this._xPosition = 'right';\n return this;\n }\n /**\n * Sets the overlay to the start of the viewport, depending on the overlay direction.\n * This will be to the left in LTR layouts and to the right in RTL.\n * @param offset Offset from the edge of the screen.\n */\n start(value = '') {\n this._xOffset = value;\n this._xPosition = 'start';\n return this;\n }\n /**\n * Sets the overlay to the end of the viewport, depending on the overlay direction.\n * This will be to the right in LTR layouts and to the left in RTL.\n * @param offset Offset from the edge of the screen.\n */\n end(value = '') {\n this._xOffset = value;\n this._xPosition = 'end';\n return this;\n }\n /**\n * Sets the overlay width and clears any previously set width.\n * @param value New width for the overlay\n * @deprecated Pass the `width` through the `OverlayConfig`.\n * @breaking-change 8.0.0\n */\n width(value = '') {\n if (this._overlayRef) {\n this._overlayRef.updateSize({ width: value });\n }\n else {\n this._width = value;\n }\n return this;\n }\n /**\n * Sets the overlay height and clears any previously set height.\n * @param value New height for the overlay\n * @deprecated Pass the `height` through the `OverlayConfig`.\n * @breaking-change 8.0.0\n */\n height(value = '') {\n if (this._overlayRef) {\n this._overlayRef.updateSize({ height: value });\n }\n else {\n this._height = value;\n }\n return this;\n }\n /**\n * Centers the overlay horizontally with an optional offset.\n * Clears any previously set horizontal position.\n *\n * @param offset Overlay offset from the horizontal center.\n */\n centerHorizontally(offset = '') {\n this.left(offset);\n this._xPosition = 'center';\n return this;\n }\n /**\n * Centers the overlay vertically with an optional offset.\n * Clears any previously set vertical position.\n *\n * @param offset Overlay offset from the vertical center.\n */\n centerVertically(offset = '') {\n this.top(offset);\n this._alignItems = 'center';\n return this;\n }\n /**\n * Apply the position to the element.\n * @docs-private\n */\n apply() {\n // Since the overlay ref applies the strategy asynchronously, it could\n // have been disposed before it ends up being applied. If that is the\n // case, we shouldn't do anything.\n if (!this._overlayRef || !this._overlayRef.hasAttached()) {\n return;\n }\n const styles = this._overlayRef.overlayElement.style;\n const parentStyles = this._overlayRef.hostElement.style;\n const config = this._overlayRef.getConfig();\n const { width, height, maxWidth, maxHeight } = config;\n const shouldBeFlushHorizontally = (width === '100%' || width === '100vw') &&\n (!maxWidth || maxWidth === '100%' || maxWidth === '100vw');\n const shouldBeFlushVertically = (height === '100%' || height === '100vh') &&\n (!maxHeight || maxHeight === '100%' || maxHeight === '100vh');\n const xPosition = this._xPosition;\n const xOffset = this._xOffset;\n const isRtl = this._overlayRef.getConfig().direction === 'rtl';\n let marginLeft = '';\n let marginRight = '';\n let justifyContent = '';\n if (shouldBeFlushHorizontally) {\n justifyContent = 'flex-start';\n }\n else if (xPosition === 'center') {\n justifyContent = 'center';\n if (isRtl) {\n marginRight = xOffset;\n }\n else {\n marginLeft = xOffset;\n }\n }\n else if (isRtl) {\n if (xPosition === 'left' || xPosition === 'end') {\n justifyContent = 'flex-end';\n marginLeft = xOffset;\n }\n else if (xPosition === 'right' || xPosition === 'start') {\n justifyContent = 'flex-start';\n marginRight = xOffset;\n }\n }\n else if (xPosition === 'left' || xPosition === 'start') {\n justifyContent = 'flex-start';\n marginLeft = xOffset;\n }\n else if (xPosition === 'right' || xPosition === 'end') {\n justifyContent = 'flex-end';\n marginRight = xOffset;\n }\n styles.position = this._cssPosition;\n styles.marginLeft = shouldBeFlushHorizontally ? '0' : marginLeft;\n styles.marginTop = shouldBeFlushVertically ? '0' : this._topOffset;\n styles.marginBottom = this._bottomOffset;\n styles.marginRight = shouldBeFlushHorizontally ? '0' : marginRight;\n parentStyles.justifyContent = justifyContent;\n parentStyles.alignItems = shouldBeFlushVertically ? 'flex-start' : this._alignItems;\n }\n /**\n * Cleans up the DOM changes from the position strategy.\n * @docs-private\n */\n dispose() {\n if (this._isDisposed || !this._overlayRef) {\n return;\n }\n const styles = this._overlayRef.overlayElement.style;\n const parent = this._overlayRef.hostElement;\n const parentStyles = parent.style;\n parent.classList.remove(wrapperClass);\n parentStyles.justifyContent =\n parentStyles.alignItems =\n styles.marginTop =\n styles.marginBottom =\n styles.marginLeft =\n styles.marginRight =\n styles.position =\n '';\n this._overlayRef = null;\n this._isDisposed = true;\n }\n}\n\n/** Builder for overlay position strategy. */\nclass OverlayPositionBuilder {\n constructor(_viewportRuler, _document, _platform, _overlayContainer) {\n this._viewportRuler = _viewportRuler;\n this._document = _document;\n this._platform = _platform;\n this._overlayContainer = _overlayContainer;\n }\n /**\n * Creates a global position strategy.\n */\n global() {\n return new GlobalPositionStrategy();\n }\n /**\n * Creates a flexible position strategy.\n * @param origin Origin relative to which to position the overlay.\n */\n flexibleConnectedTo(origin) {\n return new FlexibleConnectedPositionStrategy(origin, this._viewportRuler, this._document, this._platform, this._overlayContainer);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: OverlayPositionBuilder, deps: [{ token: i1.ViewportRuler }, { token: DOCUMENT }, { token: i1$1.Platform }, { token: OverlayContainer }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: OverlayPositionBuilder, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: OverlayPositionBuilder, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: i1.ViewportRuler }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: i1$1.Platform }, { type: OverlayContainer }]; } });\n\n/** Next overlay unique ID. */\nlet nextUniqueId = 0;\n// Note that Overlay is *not* scoped to the app root because of the ComponentFactoryResolver\n// which needs to be different depending on where OverlayModule is imported.\n/**\n * Service to create Overlays. Overlays are dynamically added pieces of floating UI, meant to be\n * used as a low-level building block for other components. Dialogs, tooltips, menus,\n * selects, etc. can all be built using overlays. The service should primarily be used by authors\n * of re-usable components rather than developers building end-user applications.\n *\n * An overlay *is* a PortalOutlet, so any kind of Portal can be loaded into one.\n */\nclass Overlay {\n constructor(\n /** Scrolling strategies that can be used when creating an overlay. */\n scrollStrategies, _overlayContainer, _componentFactoryResolver, _positionBuilder, _keyboardDispatcher, _injector, _ngZone, _document, _directionality, _location, _outsideClickDispatcher, _animationsModuleType) {\n this.scrollStrategies = scrollStrategies;\n this._overlayContainer = _overlayContainer;\n this._componentFactoryResolver = _componentFactoryResolver;\n this._positionBuilder = _positionBuilder;\n this._keyboardDispatcher = _keyboardDispatcher;\n this._injector = _injector;\n this._ngZone = _ngZone;\n this._document = _document;\n this._directionality = _directionality;\n this._location = _location;\n this._outsideClickDispatcher = _outsideClickDispatcher;\n this._animationsModuleType = _animationsModuleType;\n }\n /**\n * Creates an overlay.\n * @param config Configuration applied to the overlay.\n * @returns Reference to the created overlay.\n */\n create(config) {\n const host = this._createHostElement();\n const pane = this._createPaneElement(host);\n const portalOutlet = this._createPortalOutlet(pane);\n const overlayConfig = new OverlayConfig(config);\n overlayConfig.direction = overlayConfig.direction || this._directionality.value;\n return new OverlayRef(portalOutlet, host, pane, overlayConfig, this._ngZone, this._keyboardDispatcher, this._document, this._location, this._outsideClickDispatcher, this._animationsModuleType === 'NoopAnimations');\n }\n /**\n * Gets a position builder that can be used, via fluent API,\n * to construct and configure a position strategy.\n * @returns An overlay position builder.\n */\n position() {\n return this._positionBuilder;\n }\n /**\n * Creates the DOM element for an overlay and appends it to the overlay container.\n * @returns Newly-created pane element\n */\n _createPaneElement(host) {\n const pane = this._document.createElement('div');\n pane.id = `cdk-overlay-${nextUniqueId++}`;\n pane.classList.add('cdk-overlay-pane');\n host.appendChild(pane);\n return pane;\n }\n /**\n * Creates the host element that wraps around an overlay\n * and can be used for advanced positioning.\n * @returns Newly-create host element.\n */\n _createHostElement() {\n const host = this._document.createElement('div');\n this._overlayContainer.getContainerElement().appendChild(host);\n return host;\n }\n /**\n * Create a DomPortalOutlet into which the overlay content can be loaded.\n * @param pane The DOM element to turn into a portal outlet.\n * @returns A portal outlet for the given DOM element.\n */\n _createPortalOutlet(pane) {\n // We have to resolve the ApplicationRef later in order to allow people\n // to use overlay-based providers during app initialization.\n if (!this._appRef) {\n this._appRef = this._injector.get(ApplicationRef);\n }\n return new DomPortalOutlet(pane, this._componentFactoryResolver, this._appRef, this._injector, this._document);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: Overlay, deps: [{ token: ScrollStrategyOptions }, { token: OverlayContainer }, { token: i0.ComponentFactoryResolver }, { token: OverlayPositionBuilder }, { token: OverlayKeyboardDispatcher }, { token: i0.Injector }, { token: i0.NgZone }, { token: DOCUMENT }, { token: i5.Directionality }, { token: i6.Location }, { token: OverlayOutsideClickDispatcher }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: Overlay, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: Overlay, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: ScrollStrategyOptions }, { type: OverlayContainer }, { type: i0.ComponentFactoryResolver }, { type: OverlayPositionBuilder }, { type: OverlayKeyboardDispatcher }, { type: i0.Injector }, { type: i0.NgZone }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: i5.Directionality }, { type: i6.Location }, { type: OverlayOutsideClickDispatcher }, { type: undefined, decorators: [{\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }, {\n type: Optional\n }] }]; } });\n\n/** Default set of positions for the overlay. Follows the behavior of a dropdown. */\nconst defaultPositionList = [\n {\n originX: 'start',\n originY: 'bottom',\n overlayX: 'start',\n overlayY: 'top',\n },\n {\n originX: 'start',\n originY: 'top',\n overlayX: 'start',\n overlayY: 'bottom',\n },\n {\n originX: 'end',\n originY: 'top',\n overlayX: 'end',\n overlayY: 'bottom',\n },\n {\n originX: 'end',\n originY: 'bottom',\n overlayX: 'end',\n overlayY: 'top',\n },\n];\n/** Injection token that determines the scroll handling while the connected overlay is open. */\nconst CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY = new InjectionToken('cdk-connected-overlay-scroll-strategy');\n/**\n * Directive applied to an element to make it usable as an origin for an Overlay using a\n * ConnectedPositionStrategy.\n */\nclass CdkOverlayOrigin {\n constructor(\n /** Reference to the element on which the directive is applied. */\n elementRef) {\n this.elementRef = elementRef;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkOverlayOrigin, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkOverlayOrigin, isStandalone: true, selector: \"[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]\", exportAs: [\"cdkOverlayOrigin\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkOverlayOrigin, decorators: [{\n type: Directive,\n args: [{\n selector: '[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]',\n exportAs: 'cdkOverlayOrigin',\n standalone: true,\n }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });\n/**\n * Directive to facilitate declarative creation of an\n * Overlay using a FlexibleConnectedPositionStrategy.\n */\nclass CdkConnectedOverlay {\n /** The offset in pixels for the overlay connection point on the x-axis */\n get offsetX() {\n return this._offsetX;\n }\n set offsetX(offsetX) {\n this._offsetX = offsetX;\n if (this._position) {\n this._updatePositionStrategy(this._position);\n }\n }\n /** The offset in pixels for the overlay connection point on the y-axis */\n get offsetY() {\n return this._offsetY;\n }\n set offsetY(offsetY) {\n this._offsetY = offsetY;\n if (this._position) {\n this._updatePositionStrategy(this._position);\n }\n }\n /** Whether or not the overlay should attach a backdrop. */\n get hasBackdrop() {\n return this._hasBackdrop;\n }\n set hasBackdrop(value) {\n this._hasBackdrop = coerceBooleanProperty(value);\n }\n /** Whether or not the overlay should be locked when scrolling. */\n get lockPosition() {\n return this._lockPosition;\n }\n set lockPosition(value) {\n this._lockPosition = coerceBooleanProperty(value);\n }\n /** Whether the overlay's width and height can be constrained to fit within the viewport. */\n get flexibleDimensions() {\n return this._flexibleDimensions;\n }\n set flexibleDimensions(value) {\n this._flexibleDimensions = coerceBooleanProperty(value);\n }\n /** Whether the overlay can grow after the initial open when flexible positioning is turned on. */\n get growAfterOpen() {\n return this._growAfterOpen;\n }\n set growAfterOpen(value) {\n this._growAfterOpen = coerceBooleanProperty(value);\n }\n /** Whether the overlay can be pushed on-screen if none of the provided positions fit. */\n get push() {\n return this._push;\n }\n set push(value) {\n this._push = coerceBooleanProperty(value);\n }\n // TODO(jelbourn): inputs for size, scroll behavior, animation, etc.\n constructor(_overlay, templateRef, viewContainerRef, scrollStrategyFactory, _dir) {\n this._overlay = _overlay;\n this._dir = _dir;\n this._hasBackdrop = false;\n this._lockPosition = false;\n this._growAfterOpen = false;\n this._flexibleDimensions = false;\n this._push = false;\n this._backdropSubscription = Subscription.EMPTY;\n this._attachSubscription = Subscription.EMPTY;\n this._detachSubscription = Subscription.EMPTY;\n this._positionSubscription = Subscription.EMPTY;\n /** Margin between the overlay and the viewport edges. */\n this.viewportMargin = 0;\n /** Whether the overlay is open. */\n this.open = false;\n /** Whether the overlay can be closed by user interaction. */\n this.disableClose = false;\n /** Event emitted when the backdrop is clicked. */\n this.backdropClick = new EventEmitter();\n /** Event emitted when the position has changed. */\n this.positionChange = new EventEmitter();\n /** Event emitted when the overlay has been attached. */\n this.attach = new EventEmitter();\n /** Event emitted when the overlay has been detached. */\n this.detach = new EventEmitter();\n /** Emits when there are keyboard events that are targeted at the overlay. */\n this.overlayKeydown = new EventEmitter();\n /** Emits when there are mouse outside click events that are targeted at the overlay. */\n this.overlayOutsideClick = new EventEmitter();\n this._templatePortal = new TemplatePortal(templateRef, viewContainerRef);\n this._scrollStrategyFactory = scrollStrategyFactory;\n this.scrollStrategy = this._scrollStrategyFactory();\n }\n /** The associated overlay reference. */\n get overlayRef() {\n return this._overlayRef;\n }\n /** The element's layout direction. */\n get dir() {\n return this._dir ? this._dir.value : 'ltr';\n }\n ngOnDestroy() {\n this._attachSubscription.unsubscribe();\n this._detachSubscription.unsubscribe();\n this._backdropSubscription.unsubscribe();\n this._positionSubscription.unsubscribe();\n if (this._overlayRef) {\n this._overlayRef.dispose();\n }\n }\n ngOnChanges(changes) {\n if (this._position) {\n this._updatePositionStrategy(this._position);\n this._overlayRef.updateSize({\n width: this.width,\n minWidth: this.minWidth,\n height: this.height,\n minHeight: this.minHeight,\n });\n if (changes['origin'] && this.open) {\n this._position.apply();\n }\n }\n if (changes['open']) {\n this.open ? this._attachOverlay() : this._detachOverlay();\n }\n }\n /** Creates an overlay */\n _createOverlay() {\n if (!this.positions || !this.positions.length) {\n this.positions = defaultPositionList;\n }\n const overlayRef = (this._overlayRef = this._overlay.create(this._buildConfig()));\n this._attachSubscription = overlayRef.attachments().subscribe(() => this.attach.emit());\n this._detachSubscription = overlayRef.detachments().subscribe(() => this.detach.emit());\n overlayRef.keydownEvents().subscribe((event) => {\n this.overlayKeydown.next(event);\n if (event.keyCode === ESCAPE && !this.disableClose && !hasModifierKey(event)) {\n event.preventDefault();\n this._detachOverlay();\n }\n });\n this._overlayRef.outsidePointerEvents().subscribe((event) => {\n this.overlayOutsideClick.next(event);\n });\n }\n /** Builds the overlay config based on the directive's inputs */\n _buildConfig() {\n const positionStrategy = (this._position =\n this.positionStrategy || this._createPositionStrategy());\n const overlayConfig = new OverlayConfig({\n direction: this._dir,\n positionStrategy,\n scrollStrategy: this.scrollStrategy,\n hasBackdrop: this.hasBackdrop,\n });\n if (this.width || this.width === 0) {\n overlayConfig.width = this.width;\n }\n if (this.height || this.height === 0) {\n overlayConfig.height = this.height;\n }\n if (this.minWidth || this.minWidth === 0) {\n overlayConfig.minWidth = this.minWidth;\n }\n if (this.minHeight || this.minHeight === 0) {\n overlayConfig.minHeight = this.minHeight;\n }\n if (this.backdropClass) {\n overlayConfig.backdropClass = this.backdropClass;\n }\n if (this.panelClass) {\n overlayConfig.panelClass = this.panelClass;\n }\n return overlayConfig;\n }\n /** Updates the state of a position strategy, based on the values of the directive inputs. */\n _updatePositionStrategy(positionStrategy) {\n const positions = this.positions.map(currentPosition => ({\n originX: currentPosition.originX,\n originY: currentPosition.originY,\n overlayX: currentPosition.overlayX,\n overlayY: currentPosition.overlayY,\n offsetX: currentPosition.offsetX || this.offsetX,\n offsetY: currentPosition.offsetY || this.offsetY,\n panelClass: currentPosition.panelClass || undefined,\n }));\n return positionStrategy\n .setOrigin(this._getFlexibleConnectedPositionStrategyOrigin())\n .withPositions(positions)\n .withFlexibleDimensions(this.flexibleDimensions)\n .withPush(this.push)\n .withGrowAfterOpen(this.growAfterOpen)\n .withViewportMargin(this.viewportMargin)\n .withLockedPosition(this.lockPosition)\n .withTransformOriginOn(this.transformOriginSelector);\n }\n /** Returns the position strategy of the overlay to be set on the overlay config */\n _createPositionStrategy() {\n const strategy = this._overlay\n .position()\n .flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());\n this._updatePositionStrategy(strategy);\n return strategy;\n }\n _getFlexibleConnectedPositionStrategyOrigin() {\n if (this.origin instanceof CdkOverlayOrigin) {\n return this.origin.elementRef;\n }\n else {\n return this.origin;\n }\n }\n /** Attaches the overlay and subscribes to backdrop clicks if backdrop exists */\n _attachOverlay() {\n if (!this._overlayRef) {\n this._createOverlay();\n }\n else {\n // Update the overlay size, in case the directive's inputs have changed\n this._overlayRef.getConfig().hasBackdrop = this.hasBackdrop;\n }\n if (!this._overlayRef.hasAttached()) {\n this._overlayRef.attach(this._templatePortal);\n }\n if (this.hasBackdrop) {\n this._backdropSubscription = this._overlayRef.backdropClick().subscribe(event => {\n this.backdropClick.emit(event);\n });\n }\n else {\n this._backdropSubscription.unsubscribe();\n }\n this._positionSubscription.unsubscribe();\n // Only subscribe to `positionChanges` if requested, because putting\n // together all the information for it can be expensive.\n if (this.positionChange.observers.length > 0) {\n this._positionSubscription = this._position.positionChanges\n .pipe(takeWhile(() => this.positionChange.observers.length > 0))\n .subscribe(position => {\n this.positionChange.emit(position);\n if (this.positionChange.observers.length === 0) {\n this._positionSubscription.unsubscribe();\n }\n });\n }\n }\n /** Detaches the overlay and unsubscribes to backdrop clicks if backdrop exists */\n _detachOverlay() {\n if (this._overlayRef) {\n this._overlayRef.detach();\n }\n this._backdropSubscription.unsubscribe();\n this._positionSubscription.unsubscribe();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkConnectedOverlay, deps: [{ token: Overlay }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY }, { token: i5.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkConnectedOverlay, isStandalone: true, selector: \"[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]\", inputs: { origin: [\"cdkConnectedOverlayOrigin\", \"origin\"], positions: [\"cdkConnectedOverlayPositions\", \"positions\"], positionStrategy: [\"cdkConnectedOverlayPositionStrategy\", \"positionStrategy\"], offsetX: [\"cdkConnectedOverlayOffsetX\", \"offsetX\"], offsetY: [\"cdkConnectedOverlayOffsetY\", \"offsetY\"], width: [\"cdkConnectedOverlayWidth\", \"width\"], height: [\"cdkConnectedOverlayHeight\", \"height\"], minWidth: [\"cdkConnectedOverlayMinWidth\", \"minWidth\"], minHeight: [\"cdkConnectedOverlayMinHeight\", \"minHeight\"], backdropClass: [\"cdkConnectedOverlayBackdropClass\", \"backdropClass\"], panelClass: [\"cdkConnectedOverlayPanelClass\", \"panelClass\"], viewportMargin: [\"cdkConnectedOverlayViewportMargin\", \"viewportMargin\"], scrollStrategy: [\"cdkConnectedOverlayScrollStrategy\", \"scrollStrategy\"], open: [\"cdkConnectedOverlayOpen\", \"open\"], disableClose: [\"cdkConnectedOverlayDisableClose\", \"disableClose\"], transformOriginSelector: [\"cdkConnectedOverlayTransformOriginOn\", \"transformOriginSelector\"], hasBackdrop: [\"cdkConnectedOverlayHasBackdrop\", \"hasBackdrop\"], lockPosition: [\"cdkConnectedOverlayLockPosition\", \"lockPosition\"], flexibleDimensions: [\"cdkConnectedOverlayFlexibleDimensions\", \"flexibleDimensions\"], growAfterOpen: [\"cdkConnectedOverlayGrowAfterOpen\", \"growAfterOpen\"], push: [\"cdkConnectedOverlayPush\", \"push\"] }, outputs: { backdropClick: \"backdropClick\", positionChange: \"positionChange\", attach: \"attach\", detach: \"detach\", overlayKeydown: \"overlayKeydown\", overlayOutsideClick: \"overlayOutsideClick\" }, exportAs: [\"cdkConnectedOverlay\"], usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkConnectedOverlay, decorators: [{\n type: Directive,\n args: [{\n selector: '[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]',\n exportAs: 'cdkConnectedOverlay',\n standalone: true,\n }]\n }], ctorParameters: function () { return [{ type: Overlay }, { type: i0.TemplateRef }, { type: i0.ViewContainerRef }, { type: undefined, decorators: [{\n type: Inject,\n args: [CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY]\n }] }, { type: i5.Directionality, decorators: [{\n type: Optional\n }] }]; }, propDecorators: { origin: [{\n type: Input,\n args: ['cdkConnectedOverlayOrigin']\n }], positions: [{\n type: Input,\n args: ['cdkConnectedOverlayPositions']\n }], positionStrategy: [{\n type: Input,\n args: ['cdkConnectedOverlayPositionStrategy']\n }], offsetX: [{\n type: Input,\n args: ['cdkConnectedOverlayOffsetX']\n }], offsetY: [{\n type: Input,\n args: ['cdkConnectedOverlayOffsetY']\n }], width: [{\n type: Input,\n args: ['cdkConnectedOverlayWidth']\n }], height: [{\n type: Input,\n args: ['cdkConnectedOverlayHeight']\n }], minWidth: [{\n type: Input,\n args: ['cdkConnectedOverlayMinWidth']\n }], minHeight: [{\n type: Input,\n args: ['cdkConnectedOverlayMinHeight']\n }], backdropClass: [{\n type: Input,\n args: ['cdkConnectedOverlayBackdropClass']\n }], panelClass: [{\n type: Input,\n args: ['cdkConnectedOverlayPanelClass']\n }], viewportMargin: [{\n type: Input,\n args: ['cdkConnectedOverlayViewportMargin']\n }], scrollStrategy: [{\n type: Input,\n args: ['cdkConnectedOverlayScrollStrategy']\n }], open: [{\n type: Input,\n args: ['cdkConnectedOverlayOpen']\n }], disableClose: [{\n type: Input,\n args: ['cdkConnectedOverlayDisableClose']\n }], transformOriginSelector: [{\n type: Input,\n args: ['cdkConnectedOverlayTransformOriginOn']\n }], hasBackdrop: [{\n type: Input,\n args: ['cdkConnectedOverlayHasBackdrop']\n }], lockPosition: [{\n type: Input,\n args: ['cdkConnectedOverlayLockPosition']\n }], flexibleDimensions: [{\n type: Input,\n args: ['cdkConnectedOverlayFlexibleDimensions']\n }], growAfterOpen: [{\n type: Input,\n args: ['cdkConnectedOverlayGrowAfterOpen']\n }], push: [{\n type: Input,\n args: ['cdkConnectedOverlayPush']\n }], backdropClick: [{\n type: Output\n }], positionChange: [{\n type: Output\n }], attach: [{\n type: Output\n }], detach: [{\n type: Output\n }], overlayKeydown: [{\n type: Output\n }], overlayOutsideClick: [{\n type: Output\n }] } });\n/** @docs-private */\nfunction CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER_FACTORY(overlay) {\n return () => overlay.scrollStrategies.reposition();\n}\n/** @docs-private */\nconst CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER = {\n provide: CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY,\n deps: [Overlay],\n useFactory: CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER_FACTORY,\n};\n\nclass OverlayModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: OverlayModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: OverlayModule, imports: [BidiModule, PortalModule, ScrollingModule, CdkConnectedOverlay, CdkOverlayOrigin], exports: [CdkConnectedOverlay, CdkOverlayOrigin, ScrollingModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: OverlayModule, providers: [Overlay, CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER], imports: [BidiModule, PortalModule, ScrollingModule, ScrollingModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: OverlayModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [BidiModule, PortalModule, ScrollingModule, CdkConnectedOverlay, CdkOverlayOrigin],\n exports: [CdkConnectedOverlay, CdkOverlayOrigin, ScrollingModule],\n providers: [Overlay, CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER],\n }]\n }] });\n\n/**\n * Alternative to OverlayContainer that supports correct displaying of overlay elements in\n * Fullscreen mode\n * https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullScreen\n *\n * Should be provided in the root component.\n */\nclass FullscreenOverlayContainer extends OverlayContainer {\n constructor(_document, platform) {\n super(_document, platform);\n }\n ngOnDestroy() {\n super.ngOnDestroy();\n if (this._fullScreenEventName && this._fullScreenListener) {\n this._document.removeEventListener(this._fullScreenEventName, this._fullScreenListener);\n }\n }\n _createContainer() {\n super._createContainer();\n this._adjustParentForFullscreenChange();\n this._addFullscreenChangeListener(() => this._adjustParentForFullscreenChange());\n }\n _adjustParentForFullscreenChange() {\n if (!this._containerElement) {\n return;\n }\n const fullscreenElement = this.getFullscreenElement();\n const parent = fullscreenElement || this._document.body;\n parent.appendChild(this._containerElement);\n }\n _addFullscreenChangeListener(fn) {\n const eventName = this._getEventName();\n if (eventName) {\n if (this._fullScreenListener) {\n this._document.removeEventListener(eventName, this._fullScreenListener);\n }\n this._document.addEventListener(eventName, fn);\n this._fullScreenListener = fn;\n }\n }\n _getEventName() {\n if (!this._fullScreenEventName) {\n const _document = this._document;\n if (_document.fullscreenEnabled) {\n this._fullScreenEventName = 'fullscreenchange';\n }\n else if (_document.webkitFullscreenEnabled) {\n this._fullScreenEventName = 'webkitfullscreenchange';\n }\n else if (_document.mozFullScreenEnabled) {\n this._fullScreenEventName = 'mozfullscreenchange';\n }\n else if (_document.msFullscreenEnabled) {\n this._fullScreenEventName = 'MSFullscreenChange';\n }\n }\n return this._fullScreenEventName;\n }\n /**\n * When the page is put into fullscreen mode, a specific element is specified.\n * Only that element and its children are visible when in fullscreen mode.\n */\n getFullscreenElement() {\n const _document = this._document;\n return (_document.fullscreenElement ||\n _document.webkitFullscreenElement ||\n _document.mozFullScreenElement ||\n _document.msFullscreenElement ||\n null);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: FullscreenOverlayContainer, deps: [{ token: DOCUMENT }, { token: i1$1.Platform }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: FullscreenOverlayContainer, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: FullscreenOverlayContainer, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: i1$1.Platform }]; } });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { BlockScrollStrategy, CdkConnectedOverlay, CdkOverlayOrigin, CloseScrollStrategy, ConnectedOverlayPositionChange, ConnectionPositionPair, FlexibleConnectedPositionStrategy, FullscreenOverlayContainer, GlobalPositionStrategy, NoopScrollStrategy, Overlay, OverlayConfig, OverlayContainer, OverlayKeyboardDispatcher, OverlayModule, OverlayOutsideClickDispatcher, OverlayPositionBuilder, OverlayRef, RepositionScrollStrategy, STANDARD_DROPDOWN_ADJACENT_POSITIONS, STANDARD_DROPDOWN_BELOW_POSITIONS, ScrollStrategyOptions, ScrollingVisibility, validateHorizontalPosition, validateVerticalPosition };\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function takeWhile(predicate, inclusive = false) {\n return operate((source, subscriber) => {\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n const result = predicate(value, index++);\n (result || inclusive) && subscriber.next(value);\n !result && subscriber.complete();\n }));\n });\n}\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import toPropertyKey from \"./toPropertyKey.js\";\nexport default function _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import defineProperty from \"./defineProperty.js\";\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n return keys;\n}\nexport default function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}","export default function _iterableToArrayLimit(arr, i) {\n var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"];\n if (null != _i) {\n var _s,\n _e,\n _x,\n _r,\n _arr = [],\n _n = !0,\n _d = !1;\n try {\n if (_x = (_i = _i.call(arr)).next, 0 === i) {\n if (Object(_i) !== _i) return;\n _n = !1;\n } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);\n } catch (err) {\n _d = !0, _e = err;\n } finally {\n try {\n if (!_n && null != _i[\"return\"] && (_r = _i[\"return\"](), Object(_r) !== _r)) return;\n } finally {\n if (_d) throw _e;\n }\n }\n return _arr;\n }\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42]} \ No newline at end of file diff --git a/5555.29d4358f47cf82e8.js b/5555.29d4358f47cf82e8.js new file mode 100644 index 0000000..df7928f --- /dev/null +++ b/5555.29d4358f47cf82e8.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[5555,7376,5187,4091,1217,7208,4968,4155,1084,6896,5113,5749,4309,8024,8513,4967,8017,8116,5873,4680,2111,3326,8596,8352,5501,3098,8608,8443,5915,3278,5391,6748,6763,4151,5069,7432,6618],{35488:(f,n,e)=>{function t(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}e.d(n,{Z:()=>t})},28694:(f,n,e)=>{e.d(n,{Z:()=>i});var t=e(20265),o=e(98568),u=e(43445),r=e(35488);function i(p){var c=(0,o.Z)();return function(){var a,s=(0,t.Z)(p);if(c){var d=(0,t.Z)(this).constructor;a=Reflect.construct(s,arguments,d)}else a=s.apply(this,arguments);return function _(p,c){if(c&&("object"===(0,u.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(p)}(this,a)}}},20265:(f,n,e)=>{function t(o){return(t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)})(o)}e.d(n,{Z:()=>t})},24582:(f,n,e)=>{e.d(n,{Z:()=>o});var t=e(10006);function o(u,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(r&&r.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),r&&(0,t.Z)(u,r)}},98568:(f,n,e)=>{function t(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(n,{Z:()=>t})},10006:(f,n,e)=>{function t(o,u){return(t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_,i){return _.__proto__=i,_})(o,u)}e.d(n,{Z:()=>t})}}]); +//# sourceMappingURL=5555.29d4358f47cf82e8.js.map \ No newline at end of file diff --git a/5555.29d4358f47cf82e8.js.map b/5555.29d4358f47cf82e8.js.map new file mode 100644 index 0000000..7141bfb --- /dev/null +++ b/5555.29d4358f47cf82e8.js.map @@ -0,0 +1 @@ +{"version":3,"file":"5555.29d4358f47cf82e8.js","mappings":"sQAAe,SAAAA,EAAAC,GACf,YAAAA,EACA,UAAAC,eAAA,6DAEA,OAAAD,CACA,oGCFe,SAAAE,EAAAC,GACf,IAAAC,KAAkCC,EAAAC,KAClC,kBACA,IACAC,EADAC,KAAgBC,EAAAH,GAAcH,GAE9B,GAAAC,EAAA,CACA,IAAAM,KAAsBD,EAAAH,GAAcK,MAAAC,YACpCL,EAAAM,QAAAC,UAAAN,EAAAO,UAAAL,EAAA,MAEAH,EAAAC,EAAAQ,MAAAL,KAAAI,WAEA,OCZe,SAAAE,EAAAjB,EAAAkB,GACf,GAAAA,IAAsB,YAAtBA,EAAeC,EAAAb,GAAOY,IAAA,mBAAAA,GACtB,OAAAA,EACI,YAAAA,EACJ,UAAAE,UAAA,4DAEA,SAASC,EAAAf,GAAqBN,EAC9B,CDKWiB,CAAyBN,KAAAJ,EACpC,CACA,mBEhBe,SAAAe,EAAAC,GACf,OAAAD,EAAAE,OAAAC,eAAAD,OAAAf,eAAAiB,OAAA,SAAAH,GACA,OAAAA,EAAAI,WAAAH,OAAAf,eAAAc,EACA,GACAA,EACA,mECJe,SAAAK,EAAAC,EAAAC,GACf,sBAAAA,GAAA,OAAAA,EACA,UAAAV,UAAA,sDAEAS,EAAAE,UAAAP,OAAAQ,OAAAF,KAAAC,UAAA,CACAnB,YAAA,CACAqB,MAAAJ,EACAK,UAAA,EACAC,cAAA,KAGAX,OAAAY,eAAAP,EAAA,aACAK,UAAA,IAEAJ,MAAkBO,EAAA/B,GAAcuB,EAAAC,EAChC,mBChBe,SAAAQ,IAEf,UADAzB,QAAA,MAAAA,QAAAC,WACAD,QAAAC,UAAAyB,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAAV,UAAAW,QAAAxB,KAAAL,QAAAC,UAAA2B,QAAA,mBACA,CACA,OACA,QACA,CACA,mCCVe,SAAAE,EAAApB,EAAAqB,GACf,OAAAD,EAAAnB,OAAAC,eAAAD,OAAAC,eAAAC,OAAA,SAAAH,EAAAqB,GACA,OAAArB,EAAAI,UAAAiB,EACArB,CACA,GACAA,EAAAqB,EACA","names":["_assertThisInitialized","self","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","call","esm_typeof","TypeError","assertThisInitialized","_getPrototypeOf","o","Object","setPrototypeOf","bind","__proto__","_inherits","subClass","superClass","prototype","create","value","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6]} \ No newline at end of file diff --git a/5598.4cbade95a704b244.js b/5598.4cbade95a704b244.js new file mode 100644 index 0000000..5151996 --- /dev/null +++ b/5598.4cbade95a704b244.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[5598,5106,5603,9880,1551],{50253:(S,v,e)=>{e.d(v,{x:()=>k});var _=e(95106),c=e(78069),n=e(48047),o=e(4089),r=e(20265),l=e(24582),a=e(28694),y=e(90833),E=e(17714),T=(0,e(27543).d)(function(U){return function(){U(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),d=e(39663),A=e(12309),k=function(){var U=function(w){(0,l.Z)(Z,w);var B=(0,a.Z)(Z);function Z(){var p;return(0,c.Z)(this,Z),(p=B.call(this)).closed=!1,p.currentObservers=null,p.observers=[],p.isStopped=!1,p.hasError=!1,p.thrownError=null,p}return(0,n.Z)(Z,[{key:"lift",value:function(s){var m=new F(this,this);return m.operator=s,m}},{key:"_throwIfClosed",value:function(){if(this.closed)throw new T}},{key:"next",value:function(s){var m=this;(0,A.x)(function(){if(m._throwIfClosed(),!m.isStopped){m.currentObservers||(m.currentObservers=Array.from(m.observers));var h,b=(0,_.Z)(m.currentObservers);try{for(b.s();!(h=b.n()).done;)h.value.next(s)}catch(L){b.e(L)}finally{b.f()}}})}},{key:"error",value:function(s){var m=this;(0,A.x)(function(){if(m._throwIfClosed(),!m.isStopped){m.hasError=m.isStopped=!0,m.thrownError=s;for(var b=m.observers;b.length;)b.shift().error(s)}})}},{key:"complete",value:function(){var s=this;(0,A.x)(function(){if(s._throwIfClosed(),!s.isStopped){s.isStopped=!0;for(var m=s.observers;m.length;)m.shift().complete()}})}},{key:"unsubscribe",value:function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}},{key:"observed",get:function(){var s;return(null===(s=this.observers)||void 0===s?void 0:s.length)>0}},{key:"_trySubscribe",value:function(s){return this._throwIfClosed(),(0,o.Z)((0,r.Z)(Z.prototype),"_trySubscribe",this).call(this,s)}},{key:"_subscribe",value:function(s){return this._throwIfClosed(),this._checkFinalizedStatuses(s),this._innerSubscribe(s)}},{key:"_innerSubscribe",value:function(s){var m=this,D=this.observers;return this.hasError||this.isStopped?E.Lc:(this.currentObservers=null,D.push(s),new E.w0(function(){m.currentObservers=null,(0,d.P)(D,s)}))}},{key:"_checkFinalizedStatuses",value:function(s){var h=this.isStopped;this.hasError?s.error(this.thrownError):h&&s.complete()}},{key:"asObservable",value:function(){var s=new y.y;return s.source=this,s}}]),Z}(y.y);return U.create=function(w,B){return new F(w,B)},U}(),F=function(U){(0,l.Z)(B,U);var w=(0,a.Z)(B);function B(Z,p){var s;return(0,c.Z)(this,B),(s=w.call(this)).destination=Z,s.source=p,s}return(0,n.Z)(B,[{key:"next",value:function(p){var s,m;null===(m=null===(s=this.destination)||void 0===s?void 0:s.next)||void 0===m||m.call(s,p)}},{key:"error",value:function(p){var s,m;null===(m=null===(s=this.destination)||void 0===s?void 0:s.error)||void 0===m||m.call(s,p)}},{key:"complete",value:function(){var p,s;null===(s=null===(p=this.destination)||void 0===p?void 0:p.complete)||void 0===s||s.call(p)}},{key:"_subscribe",value:function(p){var s,m;return null!==(m=null===(s=this.source)||void 0===s?void 0:s.subscribe(p))&&void 0!==m?m:E.Lc}}]),B}(k)},59319:(S,v,e)=>{e.d(v,{z:()=>r});var _=e(1308),n=e(10420),o=e(37400);function r(){for(var l=arguments.length,a=new Array(l),y=0;y<l;y++)a[y]=arguments[y];return function c(){return(0,_.J)(1)}()((0,o.D)(a,(0,n.yG)(a)))}},21954:(S,v,e)=>{e.d(v,{P:()=>n});var _=e(90833),c=e(54987);function n(o){return new _.y(function(r){(0,c.Xf)(o()).subscribe(r)})}},37400:(S,v,e)=>{e.d(v,{D:()=>b});var _=e(54987),c=e(8728),n=e(41944);function o(h){var D=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,n.e)(function(L,j){j.add(h.schedule(function(){return L.subscribe(j)},D))})}var a=e(90833),E=e(67321),g=e(92971),T=e(1817);function A(h,D){if(!h)throw new Error("Iterable cannot be null");return new a.y(function(L){(0,T.f)(L,D,function(){var j=h[Symbol.asyncIterator]();(0,T.f)(L,D,function(){j.next().then(function(K){K.done?L.complete():L.next(K.value)})},0,!0)})})}var k=e(21331),F=e(79548),U=e(99806),w=e(23433),B=e(80470),Z=e(27785),p=e(20181);function b(h,D){return D?function m(h,D){if(null!=h){if((0,k.c)(h))return function r(h,D){return(0,_.Xf)(h).pipe(o(D),(0,c.Q)(D))}(h,D);if((0,U.z)(h))return function y(h,D){return new a.y(function(L){var j=0;return D.schedule(function(){j===h.length?L.complete():(L.next(h[j++]),L.closed||this.schedule())})})}(h,D);if((0,F.t)(h))return function l(h,D){return(0,_.Xf)(h).pipe(o(D),(0,c.Q)(D))}(h,D);if((0,B.D)(h))return A(h,D);if((0,w.T)(h))return function d(h,D){return new a.y(function(L){var j;return(0,T.f)(L,D,function(){j=h[E.h](),(0,T.f)(L,D,function(){var K,G;try{var z=j.next();K=z.value,G=z.done}catch(H){return void L.error(H)}G?L.complete():L.next(K)},0,!0)}),function(){return(0,g.m)(j?.return)&&j.return()}})}(h,D);if((0,p.L)(h))return function s(h,D){return A((0,p.Q)(h),D)}(h,D)}throw(0,Z.z)(h)}(h,D):(0,_.Xf)(h)}},10745:(S,v,e)=>{e.d(v,{of:()=>n});var _=e(10420),c=e(37400);function n(){for(var o=arguments.length,r=new Array(o),l=0;l<o;l++)r[l]=arguments[l];var a=(0,_.yG)(r);return(0,c.D)(r,a)}},93945:(S,v,e)=>{e.d(v,{Q:()=>g,x:()=>E});var _=e(78069),c=e(48047),n=e(35488),o=e(24582),r=e(28694),l=e(4089),a=e(20265);function E(T,d,A,k,F){return new g(T,d,A,k,F)}var g=function(T){(0,o.Z)(A,T);var d=(0,r.Z)(A);function A(k,F,U,w,B,Z){var p,s,m,b;return(0,_.Z)(this,A),(b=d.call(this,k)).onFinalize=B,b.shouldUnsubscribe=Z,b._next=F?function(h){try{F(h)}catch(D){k.error(D)}}:(0,l.Z)((p=(0,n.Z)(b),(0,a.Z)(A.prototype)),"_next",p),b._error=w?function(h){try{w(h)}catch(D){k.error(D)}finally{this.unsubscribe()}}:(0,l.Z)((s=(0,n.Z)(b),(0,a.Z)(A.prototype)),"_error",s),b._complete=U?function(){try{U()}catch(h){k.error(h)}finally{this.unsubscribe()}}:(0,l.Z)((m=(0,n.Z)(b),(0,a.Z)(A.prototype)),"_complete",m),b}return(0,c.Z)(A,[{key:"unsubscribe",value:function(){var F;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var U=this.closed;(0,l.Z)((0,a.Z)(A.prototype),"unsubscribe",this).call(this),!U&&(null===(F=this.onFinalize)||void 0===F||F.call(this))}}}]),A}(e(5463).Lv)},50635:(S,v,e)=>{e.d(v,{U:()=>n});var _=e(41944),c=e(93945);function n(o,r){return(0,_.e)(function(l,a){var y=0;l.subscribe((0,c.x)(a,function(E){a.next(o.call(r,E,y++))}))})}},1308:(S,v,e)=>{e.d(v,{J:()=>n});var _=e(49525),c=e(89173);function n(){return(0,_.z)(c.y,arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0)}},49525:(S,v,e)=>{e.d(v,{z:()=>y});var _=e(50635),c=e(54987),n=e(41944),o=e(1817),r=e(93945),a=e(92971);function y(E,g){var T=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;return(0,a.m)(g)?y(function(d,A){return(0,_.U)(function(k,F){return g(d,k,A,F)})((0,c.Xf)(E(d,A)))},T):("number"==typeof g&&(T=g),(0,n.e)(function(d,A){return function l(E,g,T,d,A,k,F,U){var w=[],B=0,Z=0,p=!1,s=function(){p&&!w.length&&!B&&g.complete()},m=function(D){return B<d?b(D):w.push(D)},b=function h(D){k&&g.next(D),B++;var L=!1;(0,c.Xf)(T(D,Z++)).subscribe((0,r.x)(g,function(j){A?.(j),k?m(j):g.next(j)},function(){L=!0},void 0,function(){if(L)try{B--;for(var j=function(){var G=w.shift();F?(0,o.f)(g,F,function(){return h(G)}):h(G)};w.length&&B<d;)j();s()}catch(K){g.error(K)}}))};return E.subscribe((0,r.x)(g,m,function(){p=!0,s()})),function(){U?.()}}(d,A,E,T)}))}},8728:(S,v,e)=>{e.d(v,{Q:()=>o});var _=e(1817),c=e(41944),n=e(93945);function o(r){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,c.e)(function(a,y){a.subscribe((0,n.x)(y,function(E){return(0,_.f)(y,r,function(){return y.next(E)},l)},function(){return(0,_.f)(y,r,function(){return y.complete()},l)},function(E){return(0,_.f)(y,r,function(){return y.error(E)},l)}))})}},44874:(S,v,e)=>{e.d(v,{O:()=>o});var _=e(59319),c=e(10420),n=e(41944);function o(){for(var r=arguments.length,l=new Array(r),a=0;a<r;a++)l[a]=arguments[a];var y=(0,c.yG)(l);return(0,n.e)(function(E,g){(y?(0,_.z)(l,E,y):(0,_.z)(l,E)).subscribe(g)})}},10420:(S,v,e)=>{e.d(v,{_6:()=>l,jO:()=>o,yG:()=>r});var _=e(92971),c=e(59867);function n(a){return a[a.length-1]}function o(a){return(0,_.m)(n(a))?a.pop():void 0}function r(a){return(0,c.K)(n(a))?a.pop():void 0}function l(a,y){return"number"==typeof n(a)?a.pop():y}},1817:(S,v,e)=>{function _(c,n,o){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,l=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=n.schedule(function(){o(),l?c.add(this.schedule(null,r)):this.unsubscribe()},r);if(c.add(a),!l)return a}e.d(v,{f:()=>_})},59867:(S,v,e)=>{e.d(v,{K:()=>c});var _=e(92971);function c(n){return n&&(0,_.m)(n.schedule)}},41944:(S,v,e)=>{e.d(v,{A:()=>c,e:()=>n});var _=e(92971);function c(o){return(0,_.m)(o?.lift)}function n(o){return function(r){if(c(r))return r.lift(function(l){try{return o(l,this)}catch(a){this.error(a)}});throw new TypeError("Unable to lift unknown Observable type")}}},65598:(S,v,e)=>{e.r(v),e.d(v,{CdkDialogContainer:()=>m,DEFAULT_DIALOG_CONFIG:()=>L,DIALOG_DATA:()=>D,DIALOG_SCROLL_STRATEGY:()=>h,DIALOG_SCROLL_STRATEGY_PROVIDER:()=>K,DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY:()=>j,Dialog:()=>z,DialogConfig:()=>p,DialogModule:()=>V,DialogRef:()=>b,throwDialogContentAlreadyAttachedError:()=>s});var _=e(86170),c=e(35603),n=e(24582),o=e(28694),r=e(48047),l=e(78069),a=e(908),y=e(43662),E=e(23675),g=e(18142),T=e(94055),d=e(56718),A=e(52069),k=e(50253),F=e(21954),U=e(10745),w=e(43068),B=e(44874);function Z(C,I){}var p=(0,r.Z)(function C(){(0,l.Z)(this,C),this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0});function s(){throw Error("Attempting to attach dialog content after content is already attached")}var m=function(){var C=function(I){(0,n.Z)(t,I);var O=(0,o.Z)(t);function t(i,u,f,P,M,R,x,N){var W;return(0,l.Z)(this,t),(W=O.call(this))._elementRef=i,W._focusTrapFactory=u,W._config=P,W._interactivityChecker=M,W._ngZone=R,W._overlayRef=x,W._focusMonitor=N,W._elementFocusedBeforeDialogWasOpened=null,W._closeInteractionType=null,W.attachDomPortal=function(Q){W._portalOutlet.hasAttached();var Y=W._portalOutlet.attachDomPortal(Q);return W._contentAttached(),Y},W._ariaLabelledBy=W._config.ariaLabelledBy||null,W._document=f,W}return(0,r.Z)(t,[{key:"_contentAttached",value:function(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}},{key:"_captureInitialFocus",value:function(){this._trapFocus()}},{key:"ngOnDestroy",value:function(){this._restoreFocus()}},{key:"attachComponentPortal",value:function(u){this._portalOutlet.hasAttached();var f=this._portalOutlet.attachComponentPortal(u);return this._contentAttached(),f}},{key:"attachTemplatePortal",value:function(u){this._portalOutlet.hasAttached();var f=this._portalOutlet.attachTemplatePortal(u);return this._contentAttached(),f}},{key:"_recaptureFocus",value:function(){this._containsFocus()||this._trapFocus()}},{key:"_forceFocus",value:function(u,f){this._interactivityChecker.isFocusable(u)||(u.tabIndex=-1,this._ngZone.runOutsideAngular(function(){var P=function M(){u.removeEventListener("blur",M),u.removeEventListener("mousedown",M),u.removeAttribute("tabindex")};u.addEventListener("blur",P),u.addEventListener("mousedown",P)})),u.focus(f)}},{key:"_focusByCssSelector",value:function(u,f){var P=this._elementRef.nativeElement.querySelector(u);P&&this._forceFocus(P,f)}},{key:"_trapFocus",value:function(){var u=this,f=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||f.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(function(P){P||u._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}},{key:"_restoreFocus",value:function(){var u=this._config.restoreFocus,f=null;if("string"==typeof u?f=this._document.querySelector(u):"boolean"==typeof u?f=u?this._elementFocusedBeforeDialogWasOpened:null:u&&(f=u),this._config.restoreFocus&&f&&"function"==typeof f.focus){var P=(0,E._getFocusedElementPierceShadowDom)(),M=this._elementRef.nativeElement;(!P||P===this._document.body||P===M||M.contains(P))&&(this._focusMonitor?(this._focusMonitor.focusVia(f,this._closeInteractionType),this._closeInteractionType=null):f.focus())}this._focusTrap&&this._focusTrap.destroy()}},{key:"_focusDialogContainer",value:function(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}},{key:"_containsFocus",value:function(){var u=this._elementRef.nativeElement,f=(0,E._getFocusedElementPierceShadowDom)();return u===f||u.contains(f)}},{key:"_initializeFocusTrap",value:function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,E._getFocusedElementPierceShadowDom)())}},{key:"_handleBackdropClicks",value:function(){var u=this;this._overlayRef.backdropClick().subscribe(function(){u._config.disableClose&&u._recaptureFocus()})}}]),t}(g.BasePortalOutlet);return C.\u0275fac=function(O){return new(O||C)(d.\u0275\u0275directiveInject(d.ElementRef),d.\u0275\u0275directiveInject(a.FocusTrapFactory),d.\u0275\u0275directiveInject(T.DOCUMENT,8),d.\u0275\u0275directiveInject(p),d.\u0275\u0275directiveInject(a.InteractivityChecker),d.\u0275\u0275directiveInject(d.NgZone),d.\u0275\u0275directiveInject(y.OverlayRef),d.\u0275\u0275directiveInject(a.FocusMonitor))},C.\u0275cmp=d.\u0275\u0275defineComponent({type:C,selectors:[["cdk-dialog-container"]],viewQuery:function(O,t){var i;1&O&&d.\u0275\u0275viewQuery(g.CdkPortalOutlet,7),2&O&&d.\u0275\u0275queryRefresh(i=d.\u0275\u0275loadQuery())&&(t._portalOutlet=i.first)},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(O,t){2&O&&d.\u0275\u0275attribute("id",t._config.id||null)("role",t._config.role)("aria-modal",t._config.ariaModal)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null)},features:[d.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(O,t){1&O&&d.\u0275\u0275template(0,Z,0,0,"ng-template",0)},dependencies:[g.CdkPortalOutlet],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),C}(),b=function(){function C(I,O){var t=this;(0,l.Z)(this,C),this.overlayRef=I,this.config=O,this.closed=new k.x,this.disableClose=O.disableClose,this.backdropClick=I.backdropClick(),this.keydownEvents=I.keydownEvents(),this.outsidePointerEvents=I.outsidePointerEvents(),this.id=O.id,this.keydownEvents.subscribe(function(i){i.keyCode===A.ESCAPE&&!t.disableClose&&!(0,A.hasModifierKey)(i)&&(i.preventDefault(),t.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(function(){t.disableClose||t.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=I.detachments().subscribe(function(){!1!==O.closeOnOverlayDetachments&&t.close()})}return(0,r.Z)(C,[{key:"close",value:function(O,t){if(this.containerInstance){var i=this.closed;this.containerInstance._closeInteractionType=t?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),i.next(O),i.complete(),this.componentInstance=this.containerInstance=null}}},{key:"updatePosition",value:function(){return this.overlayRef.updatePosition(),this}},{key:"updateSize",value:function(){return this.overlayRef.updateSize({width:arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",height:arguments.length>1&&void 0!==arguments[1]?arguments[1]:""}),this}},{key:"addPanelClass",value:function(O){return this.overlayRef.addPanelClass(O),this}},{key:"removePanelClass",value:function(O){return this.overlayRef.removePanelClass(O),this}}]),C}(),h=new d.InjectionToken("DialogScrollStrategy"),D=new d.InjectionToken("DialogData"),L=new d.InjectionToken("DefaultDialogConfig");function j(C){return function(){return C.scrollStrategies.block()}}var K={provide:h,deps:[y.Overlay],useFactory:j},G=0,z=function(){var C=function(){function I(O,t,i,u,f,P){var M=this;(0,l.Z)(this,I),this._overlay=O,this._injector=t,this._defaultOptions=i,this._parentDialog=u,this._overlayContainer=f,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new k.x,this._afterOpenedAtThisLevel=new k.x,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,F.P)(function(){return M.openDialogs.length?M._getAfterAllClosed():M._getAfterAllClosed().pipe((0,B.O)(void 0))}),this._scrollStrategy=P}return(0,r.Z)(I,[{key:"openDialogs",get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}},{key:"afterOpened",get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}},{key:"open",value:function(t,i){var u=this,f=this._defaultOptions||new p;(i=(0,c.Z)((0,c.Z)({},f),i)).id=i.id||"cdk-dialog-".concat(G++),i.id&&this.getDialogById(i.id);var P=this._getOverlayConfig(i),M=this._overlay.create(P),R=new b(M,i),x=this._attachContainer(M,R,i);return R.containerInstance=x,this._attachDialogContent(t,R,x,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(R),R.closed.subscribe(function(){return u._removeOpenDialog(R,!0)}),this.afterOpened.next(R),R}},{key:"closeAll",value:function(){H(this.openDialogs,function(t){return t.close()})}},{key:"getDialogById",value:function(t){return this.openDialogs.find(function(i){return i.id===t})}},{key:"ngOnDestroy",value:function(){var t=this;H(this._openDialogsAtThisLevel,function(i){!1===i.config.closeOnDestroy&&t._removeOpenDialog(i,!1)}),H(this._openDialogsAtThisLevel,function(i){return i.close()}),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}},{key:"_getOverlayConfig",value:function(t){var i=new y.OverlayConfig({positionStrategy:t.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,width:t.width,height:t.height,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(i.backdropClass=t.backdropClass),i}},{key:"_attachContainer",value:function(t,i,u){var f,R,P=u.injector||(null===(f=u.viewContainerRef)||void 0===f?void 0:f.injector),M=[{provide:p,useValue:u},{provide:b,useValue:i},{provide:y.OverlayRef,useValue:t}];u.container?"function"==typeof u.container?R=u.container:(R=u.container.type,M.push.apply(M,(0,_.Z)(u.container.providers(u)))):R=m;var x=new g.ComponentPortal(R,u.viewContainerRef,d.Injector.create({parent:P||this._injector,providers:M}),u.componentFactoryResolver);return t.attach(x).instance}},{key:"_attachDialogContent",value:function(t,i,u,f){if(t instanceof d.TemplateRef){var P=this._createInjector(f,i,u,void 0),M={$implicit:f.data,dialogRef:i};f.templateContext&&(M=(0,c.Z)((0,c.Z)({},M),"function"==typeof f.templateContext?f.templateContext():f.templateContext)),u.attachTemplatePortal(new g.TemplatePortal(t,null,M,P))}else{var R=this._createInjector(f,i,u,this._injector),x=u.attachComponentPortal(new g.ComponentPortal(t,f.viewContainerRef,R,f.componentFactoryResolver));i.componentInstance=x.instance}}},{key:"_createInjector",value:function(t,i,u,f){var P,M=t.injector||(null===(P=t.viewContainerRef)||void 0===P?void 0:P.injector),R=[{provide:D,useValue:t.data},{provide:b,useValue:i}];return t.providers&&R.push.apply(R,(0,_.Z)("function"==typeof t.providers?t.providers(i,t,u):t.providers)),t.direction&&(!M||!M.get(w.Directionality,null,{optional:!0}))&&R.push({provide:w.Directionality,useValue:{value:t.direction,change:(0,U.of)()}}),d.Injector.create({parent:M||f,providers:R})}},{key:"_removeOpenDialog",value:function(t,i){var u=this.openDialogs.indexOf(t);u>-1&&(this.openDialogs.splice(u,1),this.openDialogs.length||(this._ariaHiddenElements.forEach(function(f,P){f?P.setAttribute("aria-hidden",f):P.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}},{key:"_hideNonDialogContentFromAssistiveTechnology",value:function(){var t=this._overlayContainer.getContainerElement();if(t.parentElement)for(var i=t.parentElement.children,u=i.length-1;u>-1;u--){var f=i[u];f!==t&&"SCRIPT"!==f.nodeName&&"STYLE"!==f.nodeName&&!f.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(f,f.getAttribute("aria-hidden")),f.setAttribute("aria-hidden","true"))}}},{key:"_getAfterAllClosed",value:function(){var t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}}]),I}();return C.\u0275fac=function(O){return new(O||C)(d.\u0275\u0275inject(y.Overlay),d.\u0275\u0275inject(d.Injector),d.\u0275\u0275inject(L,8),d.\u0275\u0275inject(C,12),d.\u0275\u0275inject(y.OverlayContainer),d.\u0275\u0275inject(h))},C.\u0275prov=d.\u0275\u0275defineInjectable({token:C,factory:C.\u0275fac}),C}();function H(C,I){for(var O=C.length;O--;)I(C[O])}var V=function(){var C=(0,r.Z)(function I(){(0,l.Z)(this,I)});return C.\u0275fac=function(O){return new(O||C)},C.\u0275mod=d.\u0275\u0275defineNgModule({type:C}),C.\u0275inj=d.\u0275\u0275defineInjector({providers:[z,K],imports:[y.OverlayModule,g.PortalModule,a.A11yModule,g.PortalModule]}),C}()},44841:(S,v,e)=>{function _(c,n){(null==n||n>c.length)&&(n=c.length);for(var o=0,r=new Array(n);o<n;o++)r[o]=c[o];return r}e.d(v,{Z:()=>_})},95106:(S,v,e)=>{e.d(v,{Z:()=>c});var _=e(44206);function c(n,o){var r=typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(!r){if(Array.isArray(n)||(r=(0,_.Z)(n))||o&&n&&"number"==typeof n.length){r&&(n=r);var l=0,a=function(){};return{s:a,n:function(){return l>=n.length?{done:!0}:{done:!1,value:n[l++]}},e:function(d){throw d},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var g,y=!0,E=!1;return{s:function(){r=r.call(n)},n:function(){var d=r.next();return y=d.done,d},e:function(d){E=!0,g=d},f:function(){try{!y&&null!=r.return&&r.return()}finally{if(E)throw g}}}}},77797:(S,v,e)=>{e.d(v,{Z:()=>c});var _=e(51299);function c(n,o,r){return(o=(0,_.Z)(o))in n?Object.defineProperty(n,o,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[o]=r,n}},4089:(S,v,e)=>{e.d(v,{Z:()=>n});var _=e(20265);function n(){return n=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(r,l,a){var y=function c(o,r){for(;!Object.prototype.hasOwnProperty.call(o,r)&&null!==(o=(0,_.Z)(o)););return o}(r,l);if(y){var E=Object.getOwnPropertyDescriptor(y,l);return E.get?E.get.call(arguments.length<3?r:a):E.value}},n.apply(this,arguments)}},4826:(S,v,e)=>{function _(c){if(typeof Symbol<"u"&&null!=c[Symbol.iterator]||null!=c["@@iterator"])return Array.from(c)}e.d(v,{Z:()=>_})},35603:(S,v,e)=>{e.d(v,{Z:()=>n});var _=e(77797);function c(o,r){var l=Object.keys(o);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(o);r&&(a=a.filter(function(y){return Object.getOwnPropertyDescriptor(o,y).enumerable})),l.push.apply(l,a)}return l}function n(o){for(var r=1;r<arguments.length;r++){var l=null!=arguments[r]?arguments[r]:{};r%2?c(Object(l),!0).forEach(function(a){(0,_.Z)(o,a,l[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(l)):c(Object(l)).forEach(function(a){Object.defineProperty(o,a,Object.getOwnPropertyDescriptor(l,a))})}return o}},86170:(S,v,e)=>{e.d(v,{Z:()=>l});var _=e(44841),n=e(4826),o=e(44206);function l(a){return function c(a){if(Array.isArray(a))return(0,_.Z)(a)}(a)||(0,n.Z)(a)||(0,o.Z)(a)||function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(S,v,e)=>{e.d(v,{Z:()=>c});var _=e(44841);function c(n,o){if(n){if("string"==typeof n)return(0,_.Z)(n,o);var r=Object.prototype.toString.call(n).slice(8,-1);if("Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r)return Array.from(n);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return(0,_.Z)(n,o)}}}}]); +//# sourceMappingURL=5598.4cbade95a704b244.js.map \ No newline at end of file diff --git a/5598.4cbade95a704b244.js.map b/5598.4cbade95a704b244.js.map new file mode 100644 index 0000000..1d774f1 --- /dev/null +++ b/5598.4cbade95a704b244.js.map @@ -0,0 +1 @@ +{"version":3,"file":"5598.4cbade95a704b244.js","mappings":"6NACaA,cAA0BC,GAAiB,SAACC,GAAM,OAAK,WAChEA,EAAOC,MACPA,KAAKC,KAAO,0BACZD,KAAKE,QAAU,qBACnB,CAAC,yBCAYC,EAAO,eAAPA,EAAO,SAAAC,IAAAC,OAAAF,EAAAC,GAAA,IAAAL,KAAAO,KAAAH,GAChB,SAAAA,IAAc,IAAAI,EAAAC,cAAAR,KAAAG,IACVI,EAAAR,EAAAU,KAAAT,OACKU,QAAS,EACdH,EAAKI,iBAAmB,KACxBJ,EAAKK,UAAY,GACjBL,EAAKM,WAAY,EACjBN,EAAKO,UAAW,EAChBP,EAAKQ,YAAc,KAAKR,CAC5B,CAACS,cAAAb,EAAA,EAAAc,IAAA,OAAAC,MACD,SAAKC,GACD,IAAMC,EAAU,IAAIC,EAAiBrB,KAAMA,MAC3CoB,SAAQD,SAAWA,EACZC,CACX,GAAC,CAAAH,IAAA,iBAAAC,MACD,WACI,GAAIlB,KAAKU,OACL,MAAM,IAAIb,CAElB,GAAC,CAAAoB,IAAA,OAAAC,MACD,SAAKA,GAAO,IAAAI,EAAAtB,MACRuB,OAAa,WAET,GADAD,EAAKE,kBACAF,EAAKT,UAAW,CACZS,EAAKX,mBACNW,EAAKX,iBAAmBc,MAAMC,KAAKJ,EAAKV,YAC3C,IAC2Ce,EAD3CC,KAAAC,KACsBP,EAAKX,kBAAgB,IAA5C,IAAAiB,EAAAE,MAAAH,EAAAC,EAAAG,KAAAC,MAAmBL,EAAAT,MACNe,KAAKf,EACjB,OAAAgB,GAAAN,EAAAO,EAAAD,EAAA,SAAAN,EAA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ACpD,IAAA9b,EAAA0Z,OAAAzY,UAAA+a,SAAAtd,KAAAia,GAAAsD,MAAA,MAEA,GADA,WAAAjc,GAAA2Y,EAAAuD,cAAAlc,EAAA2Y,EAAAuD,YAAAhe,MACA,QAAA8B,GAAA,QAAAA,EAAA,OAAAN,MAAAC,KAAAgZ,GACA,iBAAA3Y,GAAA,2CAAAmc,KAAAnc,GAAA,SAAsF+b,EAAA/C,GAAgBL,EAAAmD,EAAA,CACtG","names":["ObjectUnsubscribedError","createErrorClass","_super","this","name","message","Subject","_Observable","_inherits","_createSuper","_this","_classCallCheck","call","closed","currentObservers","observers","isStopped","hasError","thrownError","_createClass","key","value","operator","subject","AnonymousSubject","_this2","errorContext","_throwIfClosed","Array","from","_step","_iterator","_createForOfIteratorHelper","s","n","done","next","err","e","f","_this3","length","shift","error","_this4","complete","get","_a","subscriber","_get","_getPrototypeOf","prototype","_checkFinalizedStatuses","_innerSubscribe","_this5","EMPTY_SUBSCRIPTION","push","Subscription","arrRemove","observable","Observable","source","create","destination","_Subject","_super2","_this6","_b","subscribe","concat","_len","arguments","args","_key","concatAll","mergeAll","popScheduler","defer","observableFactory","innerFrom","subscribeOn","scheduler","delay","undefined","operate","add","schedule","scheduleAsyncIterable","input","Error","executeSchedule","iterator","Symbol","asyncIterator","then","result","scheduled","isInteropObservable","scheduleObservable","pipe","observeOn","isArrayLike","scheduleArray","i","isPromise","schedulePromise","isAsyncIterable","isIterable","scheduleIterable","Symbol_iterator","_iterator$next","isFunction","return","isReadableStreamLike","scheduleReadableStreamLike","readableStreamLikeToAsyncGenerator","createInvalidObservableTypeError","of","createOperatorSubscriber","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_next","_assertThisInitialized","_error","unsubscribe","_complete","Subscriber","map","project","thisArg","index","mergeMap","identity","Infinity","resultSelector","concurrent","a","b","ii","mergeInternals","onBeforeNext","expand","innerSubScheduler","additionalFinalizer","buffer","active","isComplete","checkComplete","outerNext","doInnerSub","innerComplete","innerValue","_loop","bufferedValue","startWith","values","last","arr","popResultSelector","pop","isScheduler","popNumber","defaultValue","parentSubscription","work","repeat","scheduleSubscription","hasLift","lift","init","liftedSource","TypeError","CdkDialogContainer_ng_template_0_Template","rf","ctx","DialogConfig","role","panelClass","hasBackdrop","backdropClass","disableClose","width","height","data","ariaDescribedBy","ariaLabelledBy","ariaLabel","ariaModal","autoFocus","restoreFocus","closeOnNavigation","closeOnDestroy","closeOnOverlayDetachments","throwDialogContentAlreadyAttachedError","CdkDialogContainer","_BasePortalOutlet","_elementRef","_focusTrapFactory","_document","_config","_interactivityChecker","_ngZone","_overlayRef","_focusMonitor","_elementFocusedBeforeDialogWasOpened","_closeInteractionType","attachDomPortal","portal","_portalOutlet","hasAttached","_contentAttached","_ariaLabelledBy","_initializeFocusTrap","_handleBackdropClicks","_captureInitialFocus","_trapFocus","_restoreFocus","attachComponentPortal","attachTemplatePortal","_containsFocus","element","options","isFocusable","tabIndex","runOutsideAngular","callback","removeEventListener","removeAttribute","addEventListener","focus","selector","elementToFocus","nativeElement","querySelector","_forceFocus","_focusTrap","focusInitialElementWhenReady","focusedSuccessfully","_focusDialogContainer","_focusByCssSelector","focusConfig","focusTargetElement","activeElement","_getFocusedElementPierceShadowDom","body","contains","focusVia","destroy","backdropClick","_recaptureFocus","BasePortalOutlet","ɵfac","t","i0","i1","DOCUMENT","i1$1","ɵcmp","type","selectors","viewQuery","_t","CdkPortalOutlet","first","hostAttrs","hostVars","hostBindings","id","features","decls","vars","consts","template","dependencies","i3","styles","encapsulation","DialogRef","overlayRef","config","keydownEvents","outsidePointerEvents","event","keyCode","ESCAPE","hasModifierKey","preventDefault","close","focusOrigin","_detachSubscription","detachments","containerInstance","closedSubject","dispose","componentInstance","updatePosition","updateSize","classes","addPanelClass","removePanelClass","DIALOG_SCROLL_STRATEGY","InjectionToken","DIALOG_DATA","DEFAULT_DIALOG_CONFIG","DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY","overlay","scrollStrategies","block","DIALOG_SCROLL_STRATEGY_PROVIDER","provide","deps","Overlay","useFactory","uniqueId","Dialog","_overlay","_injector","_defaultOptions","_parentDialog","_overlayContainer","scrollStrategy","_openDialogsAtThisLevel","_afterAllClosedAtThisLevel","_afterOpenedAtThisLevel","_ariaHiddenElements","Map","afterAllClosed","openDialogs","_getAfterAllClosed","_scrollStrategy","afterOpened","componentOrTemplateRef","defaults","_objectSpread","getDialogById","overlayConfig","_getOverlayConfig","dialogRef","dialogContainer","_attachContainer","_attachDialogContent","_hideNonDialogContentFromAssistiveTechnology","_removeOpenDialog","reverseForEach","dialog","find","_this7","state","OverlayConfig","positionStrategy","position","global","centerHorizontally","centerVertically","direction","minWidth","minHeight","maxWidth","maxHeight","disposeOnNavigation","_config$viewContainer","containerType","userInjector","injector","viewContainerRef","providers","useValue","OverlayRef","container","apply","_toConsumableArray","containerPortal","ComponentPortal","Injector","parent","componentFactoryResolver","attach","instance","TemplateRef","_createInjector","context","$implicit","templateContext","TemplatePortal","contentRef","fallbackInjector","_config$viewContainer2","Directionality","optional","change","emitEvent","indexOf","splice","forEach","previousValue","setAttribute","clear","overlayContainer","getContainerElement","parentElement","siblings","children","sibling","nodeName","hasAttribute","set","getAttribute","ɵprov","token","factory","items","DialogModule","ɵmod","ɵinj","imports","OverlayModule","PortalModule","A11yModule","_arrayLikeToArray","len","arr2","o","allowArrayLike","it","isArray","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","_e","normalCompletion","didErr","step","_e2","_defineProperty","obj","_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__","Object","defineProperty","enumerable","configurable","writable","Reflect","bind","target","property","receiver","base","_superPropBase","object","hasOwnProperty","getPrototypeOf","desc","getOwnPropertyDescriptor","_iterableToArray","iter","ownKeys","enumerableOnly","keys","getOwnPropertySymbols","symbols","filter","sym","_objectSpread2","_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__","getOwnPropertyDescriptors","defineProperties","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","toString","slice","constructor","test"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/util/ObjectUnsubscribedError.js","./node_modules/rxjs/dist/esm/internal/Subject.js","./node_modules/rxjs/dist/esm/internal/observable/concat.js","./node_modules/rxjs/dist/esm/internal/operators/concatAll.js","./node_modules/rxjs/dist/esm/internal/observable/defer.js","./node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleAsyncIterable.js","./node_modules/rxjs/dist/esm/internal/observable/from.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduled.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleObservable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleArray.js","./node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleIterable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleReadableStreamLike.js","./node_modules/rxjs/dist/esm/internal/observable/of.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/map.js","./node_modules/rxjs/dist/esm/internal/operators/mergeAll.js","./node_modules/rxjs/dist/esm/internal/operators/mergeMap.js","./node_modules/rxjs/dist/esm/internal/operators/mergeInternals.js","./node_modules/rxjs/dist/esm/internal/operators/observeOn.js","./node_modules/rxjs/dist/esm/internal/operators/startWith.js","./node_modules/rxjs/dist/esm/internal/util/args.js","./node_modules/rxjs/dist/esm/internal/util/executeSchedule.js","./node_modules/rxjs/dist/esm/internal/util/isScheduler.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/@angular/cdk/fesm2022/dialog.mjs","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/defineProperty.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/objectSpread2.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { createErrorClass } from './createErrorClass';\nexport const ObjectUnsubscribedError = createErrorClass((_super) => function ObjectUnsubscribedErrorImpl() {\n _super(this);\n this.name = 'ObjectUnsubscribedError';\n this.message = 'object unsubscribed';\n});\n","import { Observable } from './Observable';\nimport { Subscription, EMPTY_SUBSCRIPTION } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { arrRemove } from './util/arrRemove';\nimport { errorContext } from './util/errorContext';\nexport class Subject extends Observable {\n constructor() {\n super();\n this.closed = false;\n this.currentObservers = null;\n this.observers = [];\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n lift(operator) {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n }\n _throwIfClosed() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n }\n next(value) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n if (!this.currentObservers) {\n this.currentObservers = Array.from(this.observers);\n }\n for (const observer of this.currentObservers) {\n observer.next(value);\n }\n }\n });\n }\n error(err) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.hasError = this.isStopped = true;\n this.thrownError = err;\n const { observers } = this;\n while (observers.length) {\n observers.shift().error(err);\n }\n }\n });\n }\n complete() {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.isStopped = true;\n const { observers } = this;\n while (observers.length) {\n observers.shift().complete();\n }\n }\n });\n }\n unsubscribe() {\n this.isStopped = this.closed = true;\n this.observers = this.currentObservers = null;\n }\n get observed() {\n var _a;\n return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;\n }\n _trySubscribe(subscriber) {\n this._throwIfClosed();\n return super._trySubscribe(subscriber);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._checkFinalizedStatuses(subscriber);\n return this._innerSubscribe(subscriber);\n }\n _innerSubscribe(subscriber) {\n const { hasError, isStopped, observers } = this;\n if (hasError || isStopped) {\n return EMPTY_SUBSCRIPTION;\n }\n this.currentObservers = null;\n observers.push(subscriber);\n return new Subscription(() => {\n this.currentObservers = null;\n arrRemove(observers, subscriber);\n });\n }\n _checkFinalizedStatuses(subscriber) {\n const { hasError, thrownError, isStopped } = this;\n if (hasError) {\n subscriber.error(thrownError);\n }\n else if (isStopped) {\n subscriber.complete();\n }\n }\n asObservable() {\n const observable = new Observable();\n observable.source = this;\n return observable;\n }\n}\nSubject.create = (destination, source) => {\n return new AnonymousSubject(destination, source);\n};\nexport class AnonymousSubject extends Subject {\n constructor(destination, source) {\n super();\n this.destination = destination;\n this.source = source;\n }\n next(value) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);\n }\n error(err) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);\n }\n complete() {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);\n }\n _subscribe(subscriber) {\n var _a, _b;\n return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;\n }\n}\n","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}\n","import { mergeAll } from './mergeAll';\nexport function concatAll() {\n return mergeAll(1);\n}\n","import { Observable } from '../Observable';\nimport { innerFrom } from './innerFrom';\nexport function defer(observableFactory) {\n return new Observable((subscriber) => {\n innerFrom(observableFactory()).subscribe(subscriber);\n });\n}\n","import { operate } from '../util/lift';\nexport function subscribeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay));\n });\n}\n","import { Observable } from '../Observable';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleAsyncIterable(input, scheduler) {\n if (!input) {\n throw new Error('Iterable cannot be null');\n }\n return new Observable((subscriber) => {\n executeSchedule(subscriber, scheduler, () => {\n const iterator = input[Symbol.asyncIterator]();\n executeSchedule(subscriber, scheduler, () => {\n iterator.next().then((result) => {\n if (result.done) {\n subscriber.complete();\n }\n else {\n subscriber.next(result.value);\n }\n });\n }, 0, true);\n });\n });\n}\n","import { scheduled } from '../scheduled/scheduled';\nimport { innerFrom } from './innerFrom';\nexport function from(input, scheduler) {\n return scheduler ? scheduled(input, scheduler) : innerFrom(input);\n}\n","import { scheduleObservable } from './scheduleObservable';\nimport { schedulePromise } from './schedulePromise';\nimport { scheduleArray } from './scheduleArray';\nimport { scheduleIterable } from './scheduleIterable';\nimport { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isPromise } from '../util/isPromise';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isIterable } from '../util/isIterable';\nimport { isAsyncIterable } from '../util/isAsyncIterable';\nimport { createInvalidObservableTypeError } from '../util/throwUnobservableError';\nimport { isReadableStreamLike } from '../util/isReadableStreamLike';\nimport { scheduleReadableStreamLike } from './scheduleReadableStreamLike';\nexport function scheduled(input, scheduler) {\n if (input != null) {\n if (isInteropObservable(input)) {\n return scheduleObservable(input, scheduler);\n }\n if (isArrayLike(input)) {\n return scheduleArray(input, scheduler);\n }\n if (isPromise(input)) {\n return schedulePromise(input, scheduler);\n }\n if (isAsyncIterable(input)) {\n return scheduleAsyncIterable(input, scheduler);\n }\n if (isIterable(input)) {\n return scheduleIterable(input, scheduler);\n }\n if (isReadableStreamLike(input)) {\n return scheduleReadableStreamLike(input, scheduler);\n }\n }\n throw createInvalidObservableTypeError(input);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function scheduleObservable(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nexport function scheduleArray(input, scheduler) {\n return new Observable((subscriber) => {\n let i = 0;\n return scheduler.schedule(function () {\n if (i === input.length) {\n subscriber.complete();\n }\n else {\n subscriber.next(input[i++]);\n if (!subscriber.closed) {\n this.schedule();\n }\n }\n });\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function schedulePromise(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from '../util/isFunction';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleIterable(input, scheduler) {\n return new Observable((subscriber) => {\n let iterator;\n executeSchedule(subscriber, scheduler, () => {\n iterator = input[Symbol_iterator]();\n executeSchedule(subscriber, scheduler, () => {\n let value;\n let done;\n try {\n ({ value, done } = iterator.next());\n }\n catch (err) {\n subscriber.error(err);\n return;\n }\n if (done) {\n subscriber.complete();\n }\n else {\n subscriber.next(value);\n }\n }, 0, true);\n });\n return () => isFunction(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return();\n });\n}\n","import { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { readableStreamLikeToAsyncGenerator } from '../util/isReadableStreamLike';\nexport function scheduleReadableStreamLike(input, scheduler) {\n return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);\n}\n","import { popScheduler } from '../util/args';\nimport { from } from './from';\nexport function of(...args) {\n const scheduler = popScheduler(args);\n return from(args, scheduler);\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function map(project, thisArg) {\n return operate((source, subscriber) => {\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n subscriber.next(project.call(thisArg, value, index++));\n }));\n });\n}\n","import { mergeMap } from './mergeMap';\nimport { identity } from '../util/identity';\nexport function mergeAll(concurrent = Infinity) {\n return mergeMap(identity, concurrent);\n}\n","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 }\n else if (typeof resultSelector === 'number') {\n concurrent = resultSelector;\n }\n return operate((source, subscriber) => mergeInternals(source, subscriber, project, concurrent));\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { executeSchedule } from '../util/executeSchedule';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function mergeInternals(source, subscriber, project, concurrent, onBeforeNext, expand, innerSubScheduler, additionalFinalizer) {\n const buffer = [];\n let active = 0;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => {\n if (isComplete && !buffer.length && !active) {\n subscriber.complete();\n }\n };\n const outerNext = (value) => (active < concurrent ? doInnerSub(value) : buffer.push(value));\n const doInnerSub = (value) => {\n expand && subscriber.next(value);\n active++;\n let innerComplete = false;\n innerFrom(project(value, index++)).subscribe(createOperatorSubscriber(subscriber, (innerValue) => {\n onBeforeNext === null || onBeforeNext === void 0 ? void 0 : onBeforeNext(innerValue);\n if (expand) {\n outerNext(innerValue);\n }\n else {\n subscriber.next(innerValue);\n }\n }, () => {\n innerComplete = true;\n }, undefined, () => {\n if (innerComplete) {\n try {\n active--;\n while (buffer.length && active < concurrent) {\n const bufferedValue = buffer.shift();\n if (innerSubScheduler) {\n executeSchedule(subscriber, innerSubScheduler, () => doInnerSub(bufferedValue));\n }\n else {\n doInnerSub(bufferedValue);\n }\n }\n checkComplete();\n }\n catch (err) {\n subscriber.error(err);\n }\n }\n }));\n };\n source.subscribe(createOperatorSubscriber(subscriber, outerNext, () => {\n isComplete = true;\n checkComplete();\n }));\n return () => {\n additionalFinalizer === null || additionalFinalizer === void 0 ? void 0 : additionalFinalizer();\n };\n}\n","import { executeSchedule } from '../util/executeSchedule';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function observeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, (value) => executeSchedule(subscriber, scheduler, () => subscriber.next(value), delay), () => executeSchedule(subscriber, scheduler, () => subscriber.complete(), delay), (err) => executeSchedule(subscriber, scheduler, () => subscriber.error(err), delay)));\n });\n}\n","import { concat } from '../observable/concat';\nimport { popScheduler } from '../util/args';\nimport { operate } from '../util/lift';\nexport function startWith(...values) {\n const scheduler = popScheduler(values);\n return operate((source, subscriber) => {\n (scheduler ? concat(values, source, scheduler) : concat(values, source)).subscribe(subscriber);\n });\n}\n","import { isFunction } from './isFunction';\nimport { isScheduler } from './isScheduler';\nfunction last(arr) {\n return arr[arr.length - 1];\n}\nexport function popResultSelector(args) {\n return isFunction(last(args)) ? args.pop() : undefined;\n}\nexport function popScheduler(args) {\n return isScheduler(last(args)) ? args.pop() : undefined;\n}\nexport function popNumber(args, defaultValue) {\n return typeof last(args) === 'number' ? args.pop() : defaultValue;\n}\n","export function executeSchedule(parentSubscription, scheduler, work, delay = 0, repeat = false) {\n const scheduleSubscription = scheduler.schedule(function () {\n work();\n if (repeat) {\n parentSubscription.add(this.schedule(null, delay));\n }\n else {\n this.unsubscribe();\n }\n }, delay);\n parentSubscription.add(scheduleSubscription);\n if (!repeat) {\n return scheduleSubscription;\n }\n}\n","import { isFunction } from './isFunction';\nexport function isScheduler(value) {\n return value && isFunction(value.schedule);\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","import * as i1 from '@angular/cdk/a11y';\nimport { A11yModule } from '@angular/cdk/a11y';\nimport * as i1$1 from '@angular/cdk/overlay';\nimport { Overlay, OverlayConfig, OverlayRef, OverlayModule } from '@angular/cdk/overlay';\nimport { _getFocusedElementPierceShadowDom } from '@angular/cdk/platform';\nimport * as i3 from '@angular/cdk/portal';\nimport { BasePortalOutlet, CdkPortalOutlet, ComponentPortal, TemplatePortal, PortalModule } from '@angular/cdk/portal';\nimport { DOCUMENT } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { Component, ViewEncapsulation, ChangeDetectionStrategy, Optional, Inject, ViewChild, InjectionToken, Injector, TemplateRef, Injectable, SkipSelf, NgModule } from '@angular/core';\nimport { ESCAPE, hasModifierKey } from '@angular/cdk/keycodes';\nimport { Subject, defer, of } from 'rxjs';\nimport { Directionality } from '@angular/cdk/bidi';\nimport { startWith } from 'rxjs/operators';\n\n/** Configuration for opening a modal dialog. */\nclass DialogConfig {\n constructor() {\n /** The ARIA role of the dialog element. */\n this.role = 'dialog';\n /** Optional CSS class or classes applied to the overlay panel. */\n this.panelClass = '';\n /** Whether the dialog has a backdrop. */\n this.hasBackdrop = true;\n /** Optional CSS class or classes applied to the overlay backdrop. */\n this.backdropClass = '';\n /** Whether the dialog closes with the escape key or pointer events outside the panel element. */\n this.disableClose = false;\n /** Width of the dialog. */\n this.width = '';\n /** Height of the dialog. */\n this.height = '';\n /** Data being injected into the child component. */\n this.data = null;\n /** ID of the element that describes the dialog. */\n this.ariaDescribedBy = null;\n /** ID of the element that labels the dialog. */\n this.ariaLabelledBy = null;\n /** Dialog label applied via `aria-label` */\n this.ariaLabel = null;\n /** Whether this is a modal dialog. Used to set the `aria-modal` attribute. */\n this.ariaModal = true;\n /**\n * Where the dialog should focus on open.\n * @breaking-change 14.0.0 Remove boolean option from autoFocus. Use string or\n * AutoFocusTarget instead.\n */\n this.autoFocus = 'first-tabbable';\n /**\n * Whether the dialog should restore focus to the previously-focused element upon closing.\n * Has the following behavior based on the type that is passed in:\n * - `boolean` - when true, will return focus to the element that was focused before the dialog\n * was opened, otherwise won't restore focus at all.\n * - `string` - focus will be restored to the first element that matches the CSS selector.\n * - `HTMLElement` - focus will be restored to the specific element.\n */\n this.restoreFocus = true;\n /**\n * Whether the dialog should close when the user navigates backwards or forwards through browser\n * history. This does not apply to navigation via anchor element unless using URL-hash based\n * routing (`HashLocationStrategy` in the Angular router).\n */\n this.closeOnNavigation = true;\n /**\n * Whether the dialog should close when the dialog service is destroyed. This is useful if\n * another service is wrapping the dialog and is managing the destruction instead.\n */\n this.closeOnDestroy = true;\n /**\n * Whether the dialog should close when the underlying overlay is detached. This is useful if\n * another service is wrapping the dialog and is managing the destruction instead. E.g. an\n * external detachment can happen as a result of a scroll strategy triggering it or when the\n * browser location changes.\n */\n this.closeOnOverlayDetachments = true;\n }\n}\n\nfunction throwDialogContentAlreadyAttachedError() {\n throw Error('Attempting to attach dialog content after content is already attached');\n}\n/**\n * Internal component that wraps user-provided dialog content.\n * @docs-private\n */\nclass CdkDialogContainer extends BasePortalOutlet {\n constructor(_elementRef, _focusTrapFactory, _document, _config, _interactivityChecker, _ngZone, _overlayRef, _focusMonitor) {\n super();\n this._elementRef = _elementRef;\n this._focusTrapFactory = _focusTrapFactory;\n this._config = _config;\n this._interactivityChecker = _interactivityChecker;\n this._ngZone = _ngZone;\n this._overlayRef = _overlayRef;\n this._focusMonitor = _focusMonitor;\n /** Element that was focused before the dialog was opened. Save this to restore upon close. */\n this._elementFocusedBeforeDialogWasOpened = null;\n /**\n * Type of interaction that led to the dialog being closed. This is used to determine\n * whether the focus style will be applied when returning focus to its original location\n * after the dialog is closed.\n */\n this._closeInteractionType = null;\n /**\n * Attaches a DOM portal to the dialog container.\n * @param portal Portal to be attached.\n * @deprecated To be turned into a method.\n * @breaking-change 10.0.0\n */\n this.attachDomPortal = (portal) => {\n if (this._portalOutlet.hasAttached() && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throwDialogContentAlreadyAttachedError();\n }\n const result = this._portalOutlet.attachDomPortal(portal);\n this._contentAttached();\n return result;\n };\n this._ariaLabelledBy = this._config.ariaLabelledBy || null;\n this._document = _document;\n }\n _contentAttached() {\n this._initializeFocusTrap();\n this._handleBackdropClicks();\n this._captureInitialFocus();\n }\n /**\n * Can be used by child classes to customize the initial focus\n * capturing behavior (e.g. if it's tied to an animation).\n */\n _captureInitialFocus() {\n this._trapFocus();\n }\n ngOnDestroy() {\n this._restoreFocus();\n }\n /**\n * Attach a ComponentPortal as content to this dialog container.\n * @param portal Portal to be attached as the dialog content.\n */\n attachComponentPortal(portal) {\n if (this._portalOutlet.hasAttached() && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throwDialogContentAlreadyAttachedError();\n }\n const result = this._portalOutlet.attachComponentPortal(portal);\n this._contentAttached();\n return result;\n }\n /**\n * Attach a TemplatePortal as content to this dialog container.\n * @param portal Portal to be attached as the dialog content.\n */\n attachTemplatePortal(portal) {\n if (this._portalOutlet.hasAttached() && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throwDialogContentAlreadyAttachedError();\n }\n const result = this._portalOutlet.attachTemplatePortal(portal);\n this._contentAttached();\n return result;\n }\n // TODO(crisbeto): this shouldn't be exposed, but there are internal references to it.\n /** Captures focus if it isn't already inside the dialog. */\n _recaptureFocus() {\n if (!this._containsFocus()) {\n this._trapFocus();\n }\n }\n /**\n * Focuses the provided element. If the element is not focusable, it will add a tabIndex\n * attribute to forcefully focus it. The attribute is removed after focus is moved.\n * @param element The element to focus.\n */\n _forceFocus(element, options) {\n if (!this._interactivityChecker.isFocusable(element)) {\n element.tabIndex = -1;\n // The tabindex attribute should be removed to avoid navigating to that element again\n this._ngZone.runOutsideAngular(() => {\n const callback = () => {\n element.removeEventListener('blur', callback);\n element.removeEventListener('mousedown', callback);\n element.removeAttribute('tabindex');\n };\n element.addEventListener('blur', callback);\n element.addEventListener('mousedown', callback);\n });\n }\n element.focus(options);\n }\n /**\n * Focuses the first element that matches the given selector within the focus trap.\n * @param selector The CSS selector for the element to set focus to.\n */\n _focusByCssSelector(selector, options) {\n let elementToFocus = this._elementRef.nativeElement.querySelector(selector);\n if (elementToFocus) {\n this._forceFocus(elementToFocus, options);\n }\n }\n /**\n * Moves the focus inside the focus trap. When autoFocus is not set to 'dialog', if focus\n * cannot be moved then focus will go to the dialog container.\n */\n _trapFocus() {\n const element = this._elementRef.nativeElement;\n // If were to attempt to focus immediately, then the content of the dialog would not yet be\n // ready in instances where change detection has to run first. To deal with this, we simply\n // wait for the microtask queue to be empty when setting focus when autoFocus isn't set to\n // dialog. If the element inside the dialog can't be focused, then the container is focused\n // so the user can't tab into other elements behind it.\n switch (this._config.autoFocus) {\n case false:\n case 'dialog':\n // Ensure that focus is on the dialog container. It's possible that a different\n // component tried to move focus while the open animation was running. See:\n // https://github.com/angular/components/issues/16215. Note that we only want to do this\n // if the focus isn't inside the dialog already, because it's possible that the consumer\n // turned off `autoFocus` in order to move focus themselves.\n if (!this._containsFocus()) {\n element.focus();\n }\n break;\n case true:\n case 'first-tabbable':\n this._focusTrap.focusInitialElementWhenReady().then(focusedSuccessfully => {\n // If we weren't able to find a focusable element in the dialog, then focus the dialog\n // container instead.\n if (!focusedSuccessfully) {\n this._focusDialogContainer();\n }\n });\n break;\n case 'first-heading':\n this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role=\"heading\"]');\n break;\n default:\n this._focusByCssSelector(this._config.autoFocus);\n break;\n }\n }\n /** Restores focus to the element that was focused before the dialog opened. */\n _restoreFocus() {\n const focusConfig = this._config.restoreFocus;\n let focusTargetElement = null;\n if (typeof focusConfig === 'string') {\n focusTargetElement = this._document.querySelector(focusConfig);\n }\n else if (typeof focusConfig === 'boolean') {\n focusTargetElement = focusConfig ? this._elementFocusedBeforeDialogWasOpened : null;\n }\n else if (focusConfig) {\n focusTargetElement = focusConfig;\n }\n // We need the extra check, because IE can set the `activeElement` to null in some cases.\n if (this._config.restoreFocus &&\n focusTargetElement &&\n typeof focusTargetElement.focus === 'function') {\n const activeElement = _getFocusedElementPierceShadowDom();\n const element = this._elementRef.nativeElement;\n // Make sure that focus is still inside the dialog or is on the body (usually because a\n // non-focusable element like the backdrop was clicked) before moving it. It's possible that\n // the consumer moved it themselves before the animation was done, in which case we shouldn't\n // do anything.\n if (!activeElement ||\n activeElement === this._document.body ||\n activeElement === element ||\n element.contains(activeElement)) {\n if (this._focusMonitor) {\n this._focusMonitor.focusVia(focusTargetElement, this._closeInteractionType);\n this._closeInteractionType = null;\n }\n else {\n focusTargetElement.focus();\n }\n }\n }\n if (this._focusTrap) {\n this._focusTrap.destroy();\n }\n }\n /** Focuses the dialog container. */\n _focusDialogContainer() {\n // Note that there is no focus method when rendering on the server.\n if (this._elementRef.nativeElement.focus) {\n this._elementRef.nativeElement.focus();\n }\n }\n /** Returns whether focus is inside the dialog. */\n _containsFocus() {\n const element = this._elementRef.nativeElement;\n const activeElement = _getFocusedElementPierceShadowDom();\n return element === activeElement || element.contains(activeElement);\n }\n /** Sets up the focus trap. */\n _initializeFocusTrap() {\n this._focusTrap = this._focusTrapFactory.create(this._elementRef.nativeElement);\n // Save the previously focused element. This element will be re-focused\n // when the dialog closes.\n if (this._document) {\n this._elementFocusedBeforeDialogWasOpened = _getFocusedElementPierceShadowDom();\n }\n }\n /** Sets up the listener that handles clicks on the dialog backdrop. */\n _handleBackdropClicks() {\n // Clicking on the backdrop will move focus out of dialog.\n // Recapture it if closing via the backdrop is disabled.\n this._overlayRef.backdropClick().subscribe(() => {\n if (this._config.disableClose) {\n this._recaptureFocus();\n }\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkDialogContainer, deps: [{ token: i0.ElementRef }, { token: i1.FocusTrapFactory }, { token: DOCUMENT, optional: true }, { token: DialogConfig }, { token: i1.InteractivityChecker }, { token: i0.NgZone }, { token: i1$1.OverlayRef }, { token: i1.FocusMonitor }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkDialogContainer, selector: \"cdk-dialog-container\", host: { attributes: { \"tabindex\": \"-1\" }, properties: { \"attr.id\": \"_config.id || null\", \"attr.role\": \"_config.role\", \"attr.aria-modal\": \"_config.ariaModal\", \"attr.aria-labelledby\": \"_config.ariaLabel ? null : _ariaLabelledBy\", \"attr.aria-label\": \"_config.ariaLabel\", \"attr.aria-describedby\": \"_config.ariaDescribedBy || null\" }, classAttribute: \"cdk-dialog-container\" }, viewQueries: [{ propertyName: \"_portalOutlet\", first: true, predicate: CdkPortalOutlet, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: \"<ng-template cdkPortalOutlet></ng-template>\\n\", styles: [\".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}\"], dependencies: [{ kind: \"directive\", type: i3.CdkPortalOutlet, selector: \"[cdkPortalOutlet]\", inputs: [\"cdkPortalOutlet\"], outputs: [\"attached\"], exportAs: [\"cdkPortalOutlet\"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkDialogContainer, decorators: [{\n type: Component,\n args: [{ selector: 'cdk-dialog-container', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, host: {\n 'class': 'cdk-dialog-container',\n 'tabindex': '-1',\n '[attr.id]': '_config.id || null',\n '[attr.role]': '_config.role',\n '[attr.aria-modal]': '_config.ariaModal',\n '[attr.aria-labelledby]': '_config.ariaLabel ? null : _ariaLabelledBy',\n '[attr.aria-label]': '_config.ariaLabel',\n '[attr.aria-describedby]': '_config.ariaDescribedBy || null',\n }, template: \"<ng-template cdkPortalOutlet></ng-template>\\n\", styles: [\".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.FocusTrapFactory }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [DialogConfig]\n }] }, { type: i1.InteractivityChecker }, { type: i0.NgZone }, { type: i1$1.OverlayRef }, { type: i1.FocusMonitor }]; }, propDecorators: { _portalOutlet: [{\n type: ViewChild,\n args: [CdkPortalOutlet, { static: true }]\n }] } });\n\n/**\n * Reference to a dialog opened via the Dialog service.\n */\nclass DialogRef {\n constructor(overlayRef, config) {\n this.overlayRef = overlayRef;\n this.config = config;\n /** Emits when the dialog has been closed. */\n this.closed = new Subject();\n this.disableClose = config.disableClose;\n this.backdropClick = overlayRef.backdropClick();\n this.keydownEvents = overlayRef.keydownEvents();\n this.outsidePointerEvents = overlayRef.outsidePointerEvents();\n this.id = config.id; // By the time the dialog is created we are guaranteed to have an ID.\n this.keydownEvents.subscribe(event => {\n if (event.keyCode === ESCAPE && !this.disableClose && !hasModifierKey(event)) {\n event.preventDefault();\n this.close(undefined, { focusOrigin: 'keyboard' });\n }\n });\n this.backdropClick.subscribe(() => {\n if (!this.disableClose) {\n this.close(undefined, { focusOrigin: 'mouse' });\n }\n });\n this._detachSubscription = overlayRef.detachments().subscribe(() => {\n // Check specifically for `false`, because we want `undefined` to be treated like `true`.\n if (config.closeOnOverlayDetachments !== false) {\n this.close();\n }\n });\n }\n /**\n * Close the dialog.\n * @param result Optional result to return to the dialog opener.\n * @param options Additional options to customize the closing behavior.\n */\n close(result, options) {\n if (this.containerInstance) {\n const closedSubject = this.closed;\n this.containerInstance._closeInteractionType = options?.focusOrigin || 'program';\n // Drop the detach subscription first since it can be triggered by the\n // `dispose` call and override the result of this closing sequence.\n this._detachSubscription.unsubscribe();\n this.overlayRef.dispose();\n closedSubject.next(result);\n closedSubject.complete();\n this.componentInstance = this.containerInstance = null;\n }\n }\n /** Updates the position of the dialog based on the current position strategy. */\n updatePosition() {\n this.overlayRef.updatePosition();\n return this;\n }\n /**\n * Updates the dialog's width and height.\n * @param width New width of the dialog.\n * @param height New height of the dialog.\n */\n updateSize(width = '', height = '') {\n this.overlayRef.updateSize({ width, height });\n return this;\n }\n /** Add a CSS class or an array of classes to the overlay pane. */\n addPanelClass(classes) {\n this.overlayRef.addPanelClass(classes);\n return this;\n }\n /** Remove a CSS class or an array of classes from the overlay pane. */\n removePanelClass(classes) {\n this.overlayRef.removePanelClass(classes);\n return this;\n }\n}\n\n/** Injection token for the Dialog's ScrollStrategy. */\nconst DIALOG_SCROLL_STRATEGY = new InjectionToken('DialogScrollStrategy');\n/** Injection token for the Dialog's Data. */\nconst DIALOG_DATA = new InjectionToken('DialogData');\n/** Injection token that can be used to provide default options for the dialog module. */\nconst DEFAULT_DIALOG_CONFIG = new InjectionToken('DefaultDialogConfig');\n/** @docs-private */\nfunction DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY(overlay) {\n return () => overlay.scrollStrategies.block();\n}\n/** @docs-private */\nconst DIALOG_SCROLL_STRATEGY_PROVIDER = {\n provide: DIALOG_SCROLL_STRATEGY,\n deps: [Overlay],\n useFactory: DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY,\n};\n\n/** Unique id for the created dialog. */\nlet uniqueId = 0;\nclass Dialog {\n /** Keeps track of the currently-open dialogs. */\n get openDialogs() {\n return this._parentDialog ? this._parentDialog.openDialogs : this._openDialogsAtThisLevel;\n }\n /** Stream that emits when a dialog has been opened. */\n get afterOpened() {\n return this._parentDialog ? this._parentDialog.afterOpened : this._afterOpenedAtThisLevel;\n }\n constructor(_overlay, _injector, _defaultOptions, _parentDialog, _overlayContainer, scrollStrategy) {\n this._overlay = _overlay;\n this._injector = _injector;\n this._defaultOptions = _defaultOptions;\n this._parentDialog = _parentDialog;\n this._overlayContainer = _overlayContainer;\n this._openDialogsAtThisLevel = [];\n this._afterAllClosedAtThisLevel = new Subject();\n this._afterOpenedAtThisLevel = new Subject();\n this._ariaHiddenElements = new Map();\n /**\n * Stream that emits when all open dialog have finished closing.\n * Will emit on subscribe if there are no open dialogs to begin with.\n */\n this.afterAllClosed = defer(() => this.openDialogs.length\n ? this._getAfterAllClosed()\n : this._getAfterAllClosed().pipe(startWith(undefined)));\n this._scrollStrategy = scrollStrategy;\n }\n open(componentOrTemplateRef, config) {\n const defaults = (this._defaultOptions || new DialogConfig());\n config = { ...defaults, ...config };\n config.id = config.id || `cdk-dialog-${uniqueId++}`;\n if (config.id &&\n this.getDialogById(config.id) &&\n (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error(`Dialog with id \"${config.id}\" exists already. The dialog id must be unique.`);\n }\n const overlayConfig = this._getOverlayConfig(config);\n const overlayRef = this._overlay.create(overlayConfig);\n const dialogRef = new DialogRef(overlayRef, config);\n const dialogContainer = this._attachContainer(overlayRef, dialogRef, config);\n dialogRef.containerInstance = dialogContainer;\n this._attachDialogContent(componentOrTemplateRef, dialogRef, dialogContainer, config);\n // If this is the first dialog that we're opening, hide all the non-overlay content.\n if (!this.openDialogs.length) {\n this._hideNonDialogContentFromAssistiveTechnology();\n }\n this.openDialogs.push(dialogRef);\n dialogRef.closed.subscribe(() => this._removeOpenDialog(dialogRef, true));\n this.afterOpened.next(dialogRef);\n return dialogRef;\n }\n /**\n * Closes all of the currently-open dialogs.\n */\n closeAll() {\n reverseForEach(this.openDialogs, dialog => dialog.close());\n }\n /**\n * Finds an open dialog by its id.\n * @param id ID to use when looking up the dialog.\n */\n getDialogById(id) {\n return this.openDialogs.find(dialog => dialog.id === id);\n }\n ngOnDestroy() {\n // Make one pass over all the dialogs that need to be untracked, but should not be closed. We\n // want to stop tracking the open dialog even if it hasn't been closed, because the tracking\n // determines when `aria-hidden` is removed from elements outside the dialog.\n reverseForEach(this._openDialogsAtThisLevel, dialog => {\n // Check for `false` specifically since we want `undefined` to be interpreted as `true`.\n if (dialog.config.closeOnDestroy === false) {\n this._removeOpenDialog(dialog, false);\n }\n });\n // Make a second pass and close the remaining dialogs. We do this second pass in order to\n // correctly dispatch the `afterAllClosed` event in case we have a mixed array of dialogs\n // that should be closed and dialogs that should not.\n reverseForEach(this._openDialogsAtThisLevel, dialog => dialog.close());\n this._afterAllClosedAtThisLevel.complete();\n this._afterOpenedAtThisLevel.complete();\n this._openDialogsAtThisLevel = [];\n }\n /**\n * Creates an overlay config from a dialog config.\n * @param config The dialog configuration.\n * @returns The overlay configuration.\n */\n _getOverlayConfig(config) {\n const state = new OverlayConfig({\n positionStrategy: config.positionStrategy ||\n this._overlay.position().global().centerHorizontally().centerVertically(),\n scrollStrategy: config.scrollStrategy || this._scrollStrategy(),\n panelClass: config.panelClass,\n hasBackdrop: config.hasBackdrop,\n direction: config.direction,\n minWidth: config.minWidth,\n minHeight: config.minHeight,\n maxWidth: config.maxWidth,\n maxHeight: config.maxHeight,\n width: config.width,\n height: config.height,\n disposeOnNavigation: config.closeOnNavigation,\n });\n if (config.backdropClass) {\n state.backdropClass = config.backdropClass;\n }\n return state;\n }\n /**\n * Attaches a dialog container to a dialog's already-created overlay.\n * @param overlay Reference to the dialog's underlying overlay.\n * @param config The dialog configuration.\n * @returns A promise resolving to a ComponentRef for the attached container.\n */\n _attachContainer(overlay, dialogRef, config) {\n const userInjector = config.injector || config.viewContainerRef?.injector;\n const providers = [\n { provide: DialogConfig, useValue: config },\n { provide: DialogRef, useValue: dialogRef },\n { provide: OverlayRef, useValue: overlay },\n ];\n let containerType;\n if (config.container) {\n if (typeof config.container === 'function') {\n containerType = config.container;\n }\n else {\n containerType = config.container.type;\n providers.push(...config.container.providers(config));\n }\n }\n else {\n containerType = CdkDialogContainer;\n }\n const containerPortal = new ComponentPortal(containerType, config.viewContainerRef, Injector.create({ parent: userInjector || this._injector, providers }), config.componentFactoryResolver);\n const containerRef = overlay.attach(containerPortal);\n return containerRef.instance;\n }\n /**\n * Attaches the user-provided component to the already-created dialog container.\n * @param componentOrTemplateRef The type of component being loaded into the dialog,\n * or a TemplateRef to instantiate as the content.\n * @param dialogRef Reference to the dialog being opened.\n * @param dialogContainer Component that is going to wrap the dialog content.\n * @param config Configuration used to open the dialog.\n */\n _attachDialogContent(componentOrTemplateRef, dialogRef, dialogContainer, config) {\n if (componentOrTemplateRef instanceof TemplateRef) {\n const injector = this._createInjector(config, dialogRef, dialogContainer, undefined);\n let context = { $implicit: config.data, dialogRef };\n if (config.templateContext) {\n context = {\n ...context,\n ...(typeof config.templateContext === 'function'\n ? config.templateContext()\n : config.templateContext),\n };\n }\n dialogContainer.attachTemplatePortal(new TemplatePortal(componentOrTemplateRef, null, context, injector));\n }\n else {\n const injector = this._createInjector(config, dialogRef, dialogContainer, this._injector);\n const contentRef = dialogContainer.attachComponentPortal(new ComponentPortal(componentOrTemplateRef, config.viewContainerRef, injector, config.componentFactoryResolver));\n dialogRef.componentInstance = contentRef.instance;\n }\n }\n /**\n * Creates a custom injector to be used inside the dialog. This allows a component loaded inside\n * of a dialog to close itself and, optionally, to return a value.\n * @param config Config object that is used to construct the dialog.\n * @param dialogRef Reference to the dialog being opened.\n * @param dialogContainer Component that is going to wrap the dialog content.\n * @param fallbackInjector Injector to use as a fallback when a lookup fails in the custom\n * dialog injector, if the user didn't provide a custom one.\n * @returns The custom injector that can be used inside the dialog.\n */\n _createInjector(config, dialogRef, dialogContainer, fallbackInjector) {\n const userInjector = config.injector || config.viewContainerRef?.injector;\n const providers = [\n { provide: DIALOG_DATA, useValue: config.data },\n { provide: DialogRef, useValue: dialogRef },\n ];\n if (config.providers) {\n if (typeof config.providers === 'function') {\n providers.push(...config.providers(dialogRef, config, dialogContainer));\n }\n else {\n providers.push(...config.providers);\n }\n }\n if (config.direction &&\n (!userInjector ||\n !userInjector.get(Directionality, null, { optional: true }))) {\n providers.push({\n provide: Directionality,\n useValue: { value: config.direction, change: of() },\n });\n }\n return Injector.create({ parent: userInjector || fallbackInjector, providers });\n }\n /**\n * Removes a dialog from the array of open dialogs.\n * @param dialogRef Dialog to be removed.\n * @param emitEvent Whether to emit an event if this is the last dialog.\n */\n _removeOpenDialog(dialogRef, emitEvent) {\n const index = this.openDialogs.indexOf(dialogRef);\n if (index > -1) {\n this.openDialogs.splice(index, 1);\n // If all the dialogs were closed, remove/restore the `aria-hidden`\n // to a the siblings and emit to the `afterAllClosed` stream.\n if (!this.openDialogs.length) {\n this._ariaHiddenElements.forEach((previousValue, element) => {\n if (previousValue) {\n element.setAttribute('aria-hidden', previousValue);\n }\n else {\n element.removeAttribute('aria-hidden');\n }\n });\n this._ariaHiddenElements.clear();\n if (emitEvent) {\n this._getAfterAllClosed().next();\n }\n }\n }\n }\n /** Hides all of the content that isn't an overlay from assistive technology. */\n _hideNonDialogContentFromAssistiveTechnology() {\n const overlayContainer = this._overlayContainer.getContainerElement();\n // Ensure that the overlay container is attached to the DOM.\n if (overlayContainer.parentElement) {\n const siblings = overlayContainer.parentElement.children;\n for (let i = siblings.length - 1; i > -1; i--) {\n const sibling = siblings[i];\n if (sibling !== overlayContainer &&\n sibling.nodeName !== 'SCRIPT' &&\n sibling.nodeName !== 'STYLE' &&\n !sibling.hasAttribute('aria-live')) {\n this._ariaHiddenElements.set(sibling, sibling.getAttribute('aria-hidden'));\n sibling.setAttribute('aria-hidden', 'true');\n }\n }\n }\n }\n _getAfterAllClosed() {\n const parent = this._parentDialog;\n return parent ? parent._getAfterAllClosed() : this._afterAllClosedAtThisLevel;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: Dialog, deps: [{ token: i1$1.Overlay }, { token: i0.Injector }, { token: DEFAULT_DIALOG_CONFIG, optional: true }, { token: Dialog, optional: true, skipSelf: true }, { token: i1$1.OverlayContainer }, { token: DIALOG_SCROLL_STRATEGY }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: Dialog }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: Dialog, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: i1$1.Overlay }, { type: i0.Injector }, { type: DialogConfig, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [DEFAULT_DIALOG_CONFIG]\n }] }, { type: Dialog, decorators: [{\n type: Optional\n }, {\n type: SkipSelf\n }] }, { type: i1$1.OverlayContainer }, { type: undefined, decorators: [{\n type: Inject,\n args: [DIALOG_SCROLL_STRATEGY]\n }] }]; } });\n/**\n * Executes a callback against all elements in an array while iterating in reverse.\n * Useful if the array is being modified as it is being iterated.\n */\nfunction reverseForEach(items, callback) {\n let i = items.length;\n while (i--) {\n callback(items[i]);\n }\n}\n\nclass DialogModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: DialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: DialogModule, declarations: [CdkDialogContainer], imports: [OverlayModule, PortalModule, A11yModule], exports: [\n // Re-export the PortalModule so that people extending the `CdkDialogContainer`\n // don't have to remember to import it or be faced with an unhelpful error.\n PortalModule,\n CdkDialogContainer] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: DialogModule, providers: [Dialog, DIALOG_SCROLL_STRATEGY_PROVIDER], imports: [OverlayModule, PortalModule, A11yModule, \n // Re-export the PortalModule so that people extending the `CdkDialogContainer`\n // don't have to remember to import it or be faced with an unhelpful error.\n PortalModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: DialogModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [OverlayModule, PortalModule, A11yModule],\n exports: [\n // Re-export the PortalModule so that people extending the `CdkDialogContainer`\n // don't have to remember to import it or be faced with an unhelpful error.\n PortalModule,\n CdkDialogContainer,\n ],\n declarations: [CdkDialogContainer],\n providers: [Dialog, DIALOG_SCROLL_STRATEGY_PROVIDER],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { CdkDialogContainer, DEFAULT_DIALOG_CONFIG, DIALOG_DATA, DIALOG_SCROLL_STRATEGY, DIALOG_SCROLL_STRATEGY_PROVIDER, DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY, Dialog, DialogConfig, DialogModule, DialogRef, throwDialogContentAlreadyAttachedError };\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import toPropertyKey from \"./toPropertyKey.js\";\nexport default function _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","import defineProperty from \"./defineProperty.js\";\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n return keys;\n}\nexport default function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37]} \ No newline at end of file diff --git a/5603.e3fb7439c64f9ec3.js b/5603.e3fb7439c64f9ec3.js new file mode 100644 index 0000000..b44fa1d --- /dev/null +++ b/5603.e3fb7439c64f9ec3.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[5603,9880],{77797:(O,u,p)=>{p.d(u,{Z:()=>c});var o=p(51299);function c(_,e,r){return(e=(0,o.Z)(e))in _?Object.defineProperty(_,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):_[e]=r,_}},35603:(O,u,p)=>{p.d(u,{Z:()=>_});var o=p(77797);function c(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),t.push.apply(t,n)}return t}function _(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?c(Object(t),!0).forEach(function(n){(0,o.Z)(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):c(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}}}]); +//# sourceMappingURL=5603.e3fb7439c64f9ec3.js.map \ No newline at end of file diff --git a/5603.e3fb7439c64f9ec3.js.map b/5603.e3fb7439c64f9ec3.js.map new file mode 100644 index 0000000..627c5c4 --- /dev/null +++ b/5603.e3fb7439c64f9ec3.js.map @@ -0,0 +1 @@ +{"version":3,"file":"5603.e3fb7439c64f9ec3.js","mappings":"uHACe,SAAAA,EAAAC,EAAAC,EAAAC,GACf,OAAAD,KAAQE,EAAAC,GAAaH,MACrBD,EACAK,OAAAC,eAAAN,EAAAC,EAAA,CACAC,QACAK,YAAA,EACAC,cAAA,EACAC,UAAA,IAGAT,EAAAC,GAAAC,EAEAF,CACA,mDCbA,SAAAU,EAAAC,EAAAC,GACA,IAAAC,EAAAR,OAAAQ,KAAAF,GACA,GAAAN,OAAAS,sBAAA,CACA,IAAAC,EAAAV,OAAAS,sBAAAH,GACAC,IAAAG,IAAAC,OAAA,SAAAC,GACA,OAAAZ,OAAAa,yBAAAP,EAAAM,GAAAV,UACA,IAAKM,EAAAM,KAAAC,MAAAP,EAAAE,EAAA,CAEL,OAAAF,CACA,CACe,SAAAQ,EAAAC,GACf,QAAAC,EAAA,EAAkBA,EAAAC,UAAAC,OAAsBF,IAAA,CACxC,IAAAG,EAAA,MAAAF,UAAAD,GAAAC,UAAAD,GAAA,GACAA,EAAA,EAAAb,EAAAL,OAAAqB,IAAA,GAAAC,QAAA,SAAA1B,IACM,EAAA2B,EAAAxB,GAAckB,EAAArB,EAAAyB,EAAAzB,GACpB,GAAKI,OAAAwB,0BAAAxB,OAAAyB,iBAAAR,EAAAjB,OAAAwB,0BAAAH,IAAAhB,EAAAL,OAAAqB,IAAAC,QAAA,SAAA1B,GACLI,OAAAC,eAAAgB,EAAArB,EAAAI,OAAAa,yBAAAQ,EAAAzB,GACA,EAAK,CAEL,OAAAqB,CACA","names":["_defineProperty","obj","key","value","_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__","Z","Object","defineProperty","enumerable","configurable","writable","ownKeys","object","enumerableOnly","keys","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","push","apply","_objectSpread2","target","i","arguments","length","source","forEach","_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__","getOwnPropertyDescriptors","defineProperties"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/defineProperty.js","./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"],"sourcesContent":["import toPropertyKey from \"./toPropertyKey.js\";\nexport default function _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}","import defineProperty from \"./defineProperty.js\";\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n return keys;\n}\nexport default function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}"],"x_google_ignoreList":[0,1]} \ No newline at end of file diff --git a/5749.3443645c0dda54c3.js b/5749.3443645c0dda54c3.js new file mode 100644 index 0000000..2dc2ac0 --- /dev/null +++ b/5749.3443645c0dda54c3.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[5749,7376,5187,4091,1217,7208,4968,4155,1084,6896,5113,4309,8024,8513,5555,4967,8017,8116,5873,4680,2111,3326,8596,8352,5501,3098,8608,8443,5915,3278,5391,6748,6763,4151,5069,7432,6618],{35488:(f,n,e)=>{function t(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}e.d(n,{Z:()=>t})},28694:(f,n,e)=>{e.d(n,{Z:()=>i});var t=e(20265),o=e(98568),u=e(43445),r=e(35488);function i(p){var c=(0,o.Z)();return function(){var a,s=(0,t.Z)(p);if(c){var d=(0,t.Z)(this).constructor;a=Reflect.construct(s,arguments,d)}else a=s.apply(this,arguments);return function _(p,c){if(c&&("object"===(0,u.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(p)}(this,a)}}},20265:(f,n,e)=>{function t(o){return(t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)})(o)}e.d(n,{Z:()=>t})},24582:(f,n,e)=>{e.d(n,{Z:()=>o});var t=e(10006);function o(u,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(r&&r.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),r&&(0,t.Z)(u,r)}},98568:(f,n,e)=>{function t(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(n,{Z:()=>t})},10006:(f,n,e)=>{function t(o,u){return(t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_,i){return _.__proto__=i,_})(o,u)}e.d(n,{Z:()=>t})}}]); +//# sourceMappingURL=5749.3443645c0dda54c3.js.map \ No newline at end of file diff --git a/5749.3443645c0dda54c3.js.map b/5749.3443645c0dda54c3.js.map new file mode 100644 index 0000000..e99706d --- /dev/null +++ b/5749.3443645c0dda54c3.js.map @@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AAAC,eAAAD,OAAAC,eAAAC,OAAA,SAAAH,EAAAqB,GACA,OAAArB,EAAAI,UAAAiB,EACArB,CACA,GACAA,EAAAqB,EACA","names":["_assertThisInitialized","self","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","call","esm_typeof","TypeError","assertThisInitialized","_getPrototypeOf","o","Object","setPrototypeOf","bind","__proto__","_inherits","subClass","superClass","prototype","create","value","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6]} \ No newline at end of file diff --git a/5873.7dbdb8681d2e2ea9.js b/5873.7dbdb8681d2e2ea9.js new file mode 100644 index 0000000..2d51e02 --- /dev/null +++ b/5873.7dbdb8681d2e2ea9.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[5873,7376,5187,4091,1217,7208,4968,4155,1084,6896,5113,5749,4309,8024,8513,5555,4967,8017,8116,4680,2111,3326,8596,8352,5501,3098,8608,8443,5915,3278,5391,6748,6763,4151,5069,7432,6618],{35488:(f,n,e)=>{function t(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}e.d(n,{Z:()=>t})},28694:(f,n,e)=>{e.d(n,{Z:()=>i});var t=e(20265),o=e(98568),u=e(43445),r=e(35488);function i(p){var c=(0,o.Z)();return function(){var a,s=(0,t.Z)(p);if(c){var d=(0,t.Z)(this).constructor;a=Reflect.construct(s,arguments,d)}else a=s.apply(this,arguments);return function _(p,c){if(c&&("object"===(0,u.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(p)}(this,a)}}},20265:(f,n,e)=>{function t(o){return(t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)})(o)}e.d(n,{Z:()=>t})},24582:(f,n,e)=>{e.d(n,{Z:()=>o});var t=e(10006);function o(u,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(r&&r.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),r&&(0,t.Z)(u,r)}},98568:(f,n,e)=>{function t(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(n,{Z:()=>t})},10006:(f,n,e)=>{function t(o,u){return(t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_,i){return _.__proto__=i,_})(o,u)}e.d(n,{Z:()=>t})}}]); +//# sourceMappingURL=5873.7dbdb8681d2e2ea9.js.map \ No newline at end of file diff --git a/5873.7dbdb8681d2e2ea9.js.map b/5873.7dbdb8681d2e2ea9.js.map new file mode 100644 index 0000000..a7e11ba --- /dev/null +++ b/5873.7dbdb8681d2e2ea9.js.map @@ -0,0 +1 @@ +{"version":3,"file":"5873.7dbdb8681d2e2ea9.js","mappings":"sQAAe,SAAAA,E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,UAAAiB,EACArB,CACA,GACAA,EAAAqB,EACA","names":["_assertThisInitialized","self","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","call","esm_typeof","TypeError","assertThisInitialized","_getPrototypeOf","o","Object","setPrototypeOf","bind","__proto__","_inherits","subClass","superClass","prototype","create","value","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6]} \ No newline at end of file diff --git a/5915.d27f1fecd9111bee.js b/5915.d27f1fecd9111bee.js new file mode 100644 index 0000000..da7f6bd --- /dev/null +++ b/5915.d27f1fecd9111bee.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[5915,7376,5187,4091,1217,7208,4968,4155,1084,6896,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,4680,2111,3326,8596,8352,5501,3098,8608,8443,3278,5391,6748,6763,4151,5069,7432,6618],{35488:(f,n,e)=>{function t(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}e.d(n,{Z:()=>t})},28694:(f,n,e)=>{e.d(n,{Z:()=>i});var t=e(20265),o=e(98568),u=e(43445),r=e(35488);function i(p){var c=(0,o.Z)();return function(){var a,s=(0,t.Z)(p);if(c){var d=(0,t.Z)(this).constructor;a=Reflect.construct(s,arguments,d)}else a=s.apply(this,arguments);return function _(p,c){if(c&&("object"===(0,u.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(p)}(this,a)}}},20265:(f,n,e)=>{function t(o){return(t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)})(o)}e.d(n,{Z:()=>t})},24582:(f,n,e)=>{e.d(n,{Z:()=>o});var t=e(10006);function o(u,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(r&&r.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),r&&(0,t.Z)(u,r)}},98568:(f,n,e)=>{function t(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(n,{Z:()=>t})},10006:(f,n,e)=>{function t(o,u){return(t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_,i){return _.__proto__=i,_})(o,u)}e.d(n,{Z:()=>t})}}]); +//# sourceMappingURL=5915.d27f1fecd9111bee.js.map \ No newline at end of file diff --git a/5915.d27f1fecd9111bee.js.map b/5915.d27f1fecd9111bee.js.map new file mode 100644 index 0000000..5ee2866 --- /dev/null +++ b/5915.d27f1fecd9111bee.js.map @@ -0,0 +1 @@ +{"version":3,"file":"5915.d27f1fecd9111bee.js","mappings":"sQAAe,SAAAA,EAAAC,GACf,YAAAA,EACA,UAAAC,eAAA,6DAEA,OAAAD,CACA,oGCFe,SAAAE,EAAAC,GACf,IAAAC,KAAkCC,EAAAC,KAClC,kBACA,IACAC,EADAC,KAAgBC,EAAAH,GAAcH,GAE9B,GAAAC,EAAA,CACA,IAAAM,KAAsBD,EAAAH,GAAcK,MAAAC,YACpCL,EAAAM,QAAAC,UAAAN,EAAAO,UAAAL,EAAA,MAEAH,EAAAC,EAAAQ,MAAAL,KAAAI,WAEA,OCZe,SAAAE,EAAAjB,EAAAkB,GACf,GAAAA,IAAsB,YAAtBA,EAAeC,EAAAb,GAAOY,IAAA,mBAAAA,GACtB,OAAAA,EACI,YAAAA,EACJ,UAAAE,UAAA,4DAEA,SAASC,EAAAf,GAAqBN,EAC9B,CDKWiB,CAAyBN,KAAAJ,EACpC,CACA,mBEhBe,SAAAe,EAAAC,GACf,OAAAD,EAAAE,OAAAC,eAAAD,OAAAf,eAAAiB,OAAA,SAAAH,GACA,OAAAA,EAAAI,WAAAH,OAAAf,eAAAc,EACA,GACAA,EACA,mECJe,SAAAK,EAAAC,EAAAC,GACf,sBAAAA,GAAA,OAAAA,EACA,UAAAV,UAAA,sDAEAS,EAAAE,UAAAP,OAAAQ,OAAAF,KAAAC,UAAA,CACAnB,YAAA,CACAqB,MAAAJ,EACAK,UAAA,EACAC,cAAA,KAGAX,OAAAY,eAAAP,EAAA,aACAK,UAAA,IAEAJ,MAAkBO,EAAA/B,GAAcuB,EAAAC,EAChC,mBChBe,SAAAQ,IAEf,UADAzB,QAAA,MAAAA,QAAAC,WACAD,QAAAC,UAAAyB,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAAV,UAAAW,QAAAxB,KAAAL,QAAAC,UAAA2B,QAAA,mBACA,CACA,OACA,QACA,CACA,mCCVe,SAAAE,EAAApB,EAAAqB,GACf,OAAAD,EAAAnB,OAAAC,eAAAD,OAAAC,eAAAC,OAAA,SAAAH,EAAAqB,GACA,OAAArB,EAAAI,UAAAiB,EACArB,CACA,GACAA,EAAAqB,EACA","names":["_assertThisInitialized","self","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","call","esm_typeof","TypeError","assertThisInitialized","_getPrototypeOf","o","Object","setPrototypeOf","bind","__proto__","_inherits","subClass","superClass","prototype","create","value","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6]} \ No newline at end of file diff --git a/6069.47ef4be18c0da5af.js b/6069.47ef4be18c0da5af.js new file mode 100644 index 0000000..53e7f20 --- /dev/null +++ b/6069.47ef4be18c0da5af.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[6069],{20591:(B,k,r)=>{r.d(k,{E:()=>L});var L=new(r(90833).y)(function(g){return g.complete()})},36646:(B,k,r)=>{r.d(k,{T:()=>s});var y=r(1308),L=r(54987),I=r(20591),v=r(10420),g=r(37400);function s(){for(var h=arguments.length,t=new Array(h),_=0;_<h;_++)t[_]=arguments[_];var M=(0,v.yG)(t),x=(0,v._6)(t,1/0),f=t;return f.length?1===f.length?(0,L.Xf)(f[0]):(0,y.J)(x)((0,g.D)(f,M)):I.E}},16069:(B,k,r)=>{r.r(k),r.d(k,{MAT_LIST:()=>Lt,MAT_LIST_CONFIG:()=>V,MAT_NAV_LIST:()=>Et,MAT_SELECTION_LIST_VALUE_ACCESSOR:()=>H,MatActionList:()=>yt,MatList:()=>Mt,MatListItem:()=>It,MatListItemAvatar:()=>K,MatListItemIcon:()=>Q,MatListItemLine:()=>z,MatListItemMeta:()=>W,MatListItemTitle:()=>T,MatListModule:()=>At,MatListOption:()=>G,MatListSubheaderCssMatStyler:()=>Ot,MatNavList:()=>Ct,MatSelectionList:()=>X,MatSelectionListChange:()=>$,SELECTION_LIST:()=>P,_MatListItemGraphicBase:()=>D});var y=r(95106),L=r(4089),I=r(20265),v=r(24582),g=r(28694),s=r(48047),h=r(78069),t=r(56718),_=r(35333),M=r(23675),x=r(6606),f=r(33401),Y=r(17714),J=r(36646),q=r(50253),C=r(75321),A=r(94055),tt=r(97040),it=r(908),j=r(81382),O=r(52069),et=r(47405),Z=r(68951),E=["*"],F='@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-list-divider::after{content:"";display:block;border-bottom-width:1px;border-bottom-style:solid}}.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item__wrapper{display:block}.mdc-list-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer}.mdc-list-item:focus{outline:none}.mdc-list-item.mdc-list-item--with-one-line{height:48px}.mdc-list-item.mdc-list-item--with-two-lines{height:64px}.mdc-list-item.mdc-list-item--with-three-lines{height:88px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--disabled,.mdc-list-item.mdc-list-item--non-interactive{cursor:auto}.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px double rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected:focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected:focus::before{border-color:CanvasText}}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__content[for]{pointer-events:none}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item__overline-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start,.mdc-list-item--with-leading-avatar .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-avatar .mdc-list-item__start{border-radius:50%}.mdc-list-item--with-leading-icon.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-leading-icon .mdc-list-item__start[dir=rtl]{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-thumbnail.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-thumbnail.mdc-list-item,.mdc-list-item--with-leading-thumbnail.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-thumbnail .mdc-list-item__start,.mdc-list-item--with-leading-thumbnail .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-image.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-image.mdc-list-item,.mdc-list-item--with-leading-image.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-image .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-image .mdc-list-item__start,.mdc-list-item--with-leading-image .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-video.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-video.mdc-list-item,.mdc-list-item--with-leading-video.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-video .mdc-list-item__start{margin-left:0;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-video .mdc-list-item__start,.mdc-list-item--with-leading-video .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-checkbox.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-radio.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-radio.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-radio .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-radio .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-switch.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-switch.mdc-list-item,.mdc-list-item--with-leading-switch.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-switch .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-switch .mdc-list-item__start,.mdc-list-item--with-leading-switch .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item,.mdc-list-item--with-trailing-icon.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-icon .mdc-list-item__end,.mdc-list-item--with-trailing-icon .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item,.mdc-list-item--with-trailing-meta.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-trailing-meta .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);line-height:var(--mdc-typography-caption-line-height);font-weight:var(--mdc-typography-caption-font-weight);letter-spacing:var(--mdc-typography-caption-letter-spacing);text-decoration:var(--mdc-typography-caption-text-decoration);text-transform:var(--mdc-typography-caption-text-transform)}.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-radio.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-radio .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-radio .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-switch.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-switch.mdc-list-item,.mdc-list-item--with-trailing-switch.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-switch .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-switch .mdc-list-item__end,.mdc-list-item--with-trailing-switch .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-switch.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-list-item,.mdc-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-list-group .mdc-deprecated-list{padding:0}.mdc-list-group__subheader{margin:calc((3rem - 1.5rem)/2) 16px}.mdc-list-divider{padding:0;background-clip:content-box}.mdc-list-divider.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset{padding-left:16px;padding-right:auto}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset,.mdc-list-divider.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:16px}.mdc-list-divider.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset{padding-left:auto;padding-right:16px}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset,.mdc-list-divider.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset[dir=rtl]{padding-left:16px;padding-right:auto}.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset{padding-left:0px;padding-right:auto}[dir=rtl] .mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:0px}[dir=rtl] .mdc-list-divider,.mdc-list-divider[dir=rtl]{padding:0}.mdc-list-item{background-color:var(--mdc-list-list-item-container-color)}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item--with-one-line{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-avatar,.mdc-list-item--with-one-line.mdc-list-item--with-leading-icon,.mdc-list-item--with-one-line.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-one-line.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-one-line.mdc-list-item--with-leading-radio,.mdc-list-item--with-one-line.mdc-list-item--with-leading-switch{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-image,.mdc-list-item--with-one-line.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines.mdc-list-item--with-leading-avatar,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-icon,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-radio,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-switch,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-image,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-three-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height)}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height)}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height)}.mdc-list-item__primary-text{color:var(--mdc-list-list-item-label-text-color)}.mdc-list-item__primary-text{font-family:var(--mdc-list-list-item-label-text-font);line-height:var(--mdc-list-list-item-label-text-line-height);font-size:var(--mdc-list-list-item-label-text-size);font-weight:var(--mdc-list-list-item-label-text-weight);letter-spacing:var(--mdc-list-list-item-label-text-tracking)}.mdc-list-item__secondary-text{color:var(--mdc-list-list-item-supporting-text-color)}.mdc-list-item__secondary-text{font-family:var(--mdc-list-list-item-supporting-text-font);line-height:var(--mdc-list-list-item-supporting-text-line-height);font-size:var(--mdc-list-list-item-supporting-text-size);font-weight:var(--mdc-list-list-item-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-supporting-text-tracking)}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color)}.mdc-list-item--with-leading-icon .mdc-list-item__start{width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start>i{font-size:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon{font-size:var(--mdc-list-list-item-leading-icon-size);width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon,.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size);height:var(--mdc-list-list-item-leading-avatar-size)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color)}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font);line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height);font-size:var(--mdc-list-list-item-trailing-supporting-text-size);font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end>i{font-size:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon{font-size:var(--mdc-list-list-item-trailing-icon-size);width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon,.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color)}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text,.mdc-list-item--disabled .mdc-list-item__overline-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity)}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color)}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mdc-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color)}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color)}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color);opacity:var(--mdc-list-list-item-hover-state-layer-opacity)}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color);opacity:var(--mdc-list-list-item-disabled-state-layer-opacity)}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color);opacity:var(--mdc-list-list-item-focus-state-layer-opacity)}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape);background-color:var(--mdc-list-list-item-leading-avatar-color)}.mat-mdc-list-base{--mdc-list-list-item-container-shape:0;--mdc-list-list-item-leading-avatar-shape:50%;--mdc-list-list-item-container-color:transparent;--mdc-list-list-item-selected-container-color:transparent;--mdc-list-list-item-leading-avatar-color:transparent;--mdc-list-list-item-leading-icon-size:24px;--mdc-list-list-item-leading-avatar-size:40px;--mdc-list-list-item-trailing-icon-size:24px;--mdc-list-list-item-disabled-state-layer-color:transparent;--mdc-list-list-item-disabled-state-layer-opacity:0;--mdc-list-list-item-disabled-label-text-opacity:0.38;--mdc-list-list-item-disabled-leading-icon-opacity:0.38;--mdc-list-list-item-disabled-trailing-icon-opacity:0.38}.cdk-high-contrast-active a.mdc-list-item--activated::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none}.mat-mdc-list-item>.mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-mdc-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}',N=["unscopedContent"],ct=["text"],dt=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],lt=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"];function nt(e,l){1&e&&t.\u0275\u0275projection(0,4)}function at(e,l){if(1&e&&(t.\u0275\u0275elementStart(0,"div",11),t.\u0275\u0275element(1,"input",12),t.\u0275\u0275elementStart(2,"div",13),t.\u0275\u0275namespaceSVG(),t.\u0275\u0275elementStart(3,"svg",14),t.\u0275\u0275element(4,"path",15),t.\u0275\u0275elementEnd(),t.\u0275\u0275namespaceHTML(),t.\u0275\u0275element(5,"div",16),t.\u0275\u0275elementEnd()()),2&e){var d=t.\u0275\u0275nextContext();t.\u0275\u0275classProp("mdc-checkbox--disabled",d.disabled),t.\u0275\u0275advance(1),t.\u0275\u0275property("checked",d.selected)("disabled",d.disabled)}}function ot(e,l){if(1&e&&(t.\u0275\u0275elementStart(0,"div",17),t.\u0275\u0275element(1,"input",18),t.\u0275\u0275elementStart(2,"div",19),t.\u0275\u0275element(3,"div",20)(4,"div",21),t.\u0275\u0275elementEnd()()),2&e){var d=t.\u0275\u0275nextContext();t.\u0275\u0275classProp("mdc-radio--disabled",d.disabled),t.\u0275\u0275advance(1),t.\u0275\u0275property("checked",d.selected)("disabled",d.disabled)}}function mt(e,l){}function rt(e,l){if(1&e&&(t.\u0275\u0275elementStart(0,"span",22),t.\u0275\u0275template(1,mt,0,0,"ng-template",23),t.\u0275\u0275elementEnd()),2&e){t.\u0275\u0275nextContext();var d=t.\u0275\u0275reference(3);t.\u0275\u0275advance(1),t.\u0275\u0275property("ngTemplateOutlet",d)}}function st(e,l){}function ht(e,l){if(1&e&&(t.\u0275\u0275elementStart(0,"span",24),t.\u0275\u0275template(1,st,0,0,"ng-template",23),t.\u0275\u0275elementEnd()),2&e){t.\u0275\u0275nextContext();var d=t.\u0275\u0275reference(5);t.\u0275\u0275advance(1),t.\u0275\u0275property("ngTemplateOutlet",d)}}function gt(e,l){}function pt(e,l){if(1&e&&t.\u0275\u0275template(0,gt,0,0,"ng-template",23),2&e){t.\u0275\u0275nextContext();var d=t.\u0275\u0275reference(1);t.\u0275\u0275property("ngTemplateOutlet",d)}}function _t(e,l){}function bt(e,l){if(1&e&&(t.\u0275\u0275elementStart(0,"span",25),t.\u0275\u0275template(1,_t,0,0,"ng-template",23),t.\u0275\u0275elementEnd()),2&e){t.\u0275\u0275nextContext();var d=t.\u0275\u0275reference(3);t.\u0275\u0275advance(1),t.\u0275\u0275property("ngTemplateOutlet",d)}}function vt(e,l){}function ut(e,l){if(1&e&&(t.\u0275\u0275elementStart(0,"span",25),t.\u0275\u0275template(1,vt,0,0,"ng-template",23),t.\u0275\u0275elementEnd()),2&e){t.\u0275\u0275nextContext();var d=t.\u0275\u0275reference(5);t.\u0275\u0275advance(1),t.\u0275\u0275property("ngTemplateOutlet",d)}}function wt(e,l){}function xt(e,l){if(1&e&&t.\u0275\u0275template(0,wt,0,0,"ng-template",23),2&e){t.\u0275\u0275nextContext();var d=t.\u0275\u0275reference(1);t.\u0275\u0275property("ngTemplateOutlet",d)}}var ft=[[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["mat-divider"]],[["","matListItemAvatar",""],["","matListItemIcon",""]]],kt=["[matListItemTitle]","[matListItemLine]","*","mat-divider","[matListItemAvatar],[matListItemIcon]"],U=new t.InjectionToken("ListOption"),T=function(){var e=(0,s.Z)(function l(d){(0,h.Z)(this,l),this._elementRef=d});return e.\u0275fac=function(d){return new(d||e)(t.\u0275\u0275directiveInject(t.ElementRef))},e.\u0275dir=t.\u0275\u0275defineDirective({type:e,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"]}),e}(),z=function(){var e=(0,s.Z)(function l(d){(0,h.Z)(this,l),this._elementRef=d});return e.\u0275fac=function(d){return new(d||e)(t.\u0275\u0275directiveInject(t.ElementRef))},e.\u0275dir=t.\u0275\u0275defineDirective({type:e,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"]}),e}(),W=function(){var e=(0,s.Z)(function l(){(0,h.Z)(this,l)});return e.\u0275fac=function(d){return new(d||e)},e.\u0275dir=t.\u0275\u0275defineDirective({type:e,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"]}),e}(),D=function(){var e=function(){function l(d){(0,h.Z)(this,l),this._listOption=d}return(0,s.Z)(l,[{key:"_isAlignedAtStart",value:function(){var i;return!this._listOption||"after"===(null===(i=this._listOption)||void 0===i?void 0:i._getTogglePosition())}}]),l}();return e.\u0275fac=function(d){return new(d||e)(t.\u0275\u0275directiveInject(U,8))},e.\u0275dir=t.\u0275\u0275defineDirective({type:e,hostVars:4,hostBindings:function(d,i){2&d&&t.\u0275\u0275classProp("mdc-list-item__start",i._isAlignedAtStart())("mdc-list-item__end",!i._isAlignedAtStart())}}),e}(),K=function(){var e=function(l){(0,v.Z)(i,l);var d=(0,g.Z)(i);function i(){return(0,h.Z)(this,i),d.apply(this,arguments)}return(0,s.Z)(i)}(D);return e.\u0275fac=function(){var l;return function(i){return(l||(l=t.\u0275\u0275getInheritedFactory(e)))(i||e)}}(),e.\u0275dir=t.\u0275\u0275defineDirective({type:e,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],features:[t.\u0275\u0275InheritDefinitionFeature]}),e}(),Q=function(){var e=function(l){(0,v.Z)(i,l);var d=(0,g.Z)(i);function i(){return(0,h.Z)(this,i),d.apply(this,arguments)}return(0,s.Z)(i)}(D);return e.\u0275fac=function(){var l;return function(i){return(l||(l=t.\u0275\u0275getInheritedFactory(e)))(i||e)}}(),e.\u0275dir=t.\u0275\u0275defineDirective({type:e,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],features:[t.\u0275\u0275InheritDefinitionFeature]}),e}(),V=new t.InjectionToken("MAT_LIST_CONFIG"),w=function(){var e=function(){function l(){(0,h.Z)(this,l),this._isNonInteractive=!0,this._disableRipple=!1,this._disabled=!1,this._defaultOptions=(0,t.inject)(V,{optional:!0})}return(0,s.Z)(l,[{key:"disableRipple",get:function(){return this._disableRipple},set:function(i){this._disableRipple=(0,_.coerceBooleanProperty)(i)}},{key:"disabled",get:function(){return this._disabled},set:function(i){this._disabled=(0,_.coerceBooleanProperty)(i)}}]),l}();return e.\u0275fac=function(d){return new(d||e)},e.\u0275dir=t.\u0275\u0275defineDirective({type:e,hostVars:1,hostBindings:function(d,i){2&d&&t.\u0275\u0275attribute("aria-disabled",i.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}}),e}(),S=function(){var e=function(){function l(d,i,n,c,a,m){(0,h.Z)(this,l),this._elementRef=d,this._ngZone=i,this._listBase=n,this._platform=c,this._explicitLines=null,this._disableRipple=!1,this._disabled=!1,this._subscriptions=new Y.w0,this._rippleRenderer=null,this._hasUnscopedTextContent=!1,this.rippleConfig=a||{},this._hostElement=this._elementRef.nativeElement,this._isButtonElement="button"===this._hostElement.nodeName.toLowerCase(),this._noopAnimations="NoopAnimations"===m,n&&!n._isNonInteractive&&this._initInteractiveListItem(),this._isButtonElement&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")}return(0,s.Z)(l,[{key:"lines",set:function(i){this._explicitLines=(0,_.coerceNumberProperty)(i,null),this._updateItemLines(!1)}},{key:"disableRipple",get:function(){var i;return this.disabled||this._disableRipple||this._noopAnimations||!(null===(i=this._listBase)||void 0===i||!i.disableRipple)},set:function(i){this._disableRipple=(0,_.coerceBooleanProperty)(i)}},{key:"disabled",get:function(){var i;return this._disabled||!(null===(i=this._listBase)||void 0===i||!i.disabled)},set:function(i){this._disabled=(0,_.coerceBooleanProperty)(i)}},{key:"rippleDisabled",get:function(){return this.disableRipple||!!this.rippleConfig.disabled}},{key:"ngAfterViewInit",value:function(){this._monitorProjectedLinesAndTitle(),this._updateItemLines(!0)}},{key:"ngOnDestroy",value:function(){this._subscriptions.unsubscribe(),null!==this._rippleRenderer&&this._rippleRenderer._removeTriggerEvents()}},{key:"_hasIconOrAvatar",value:function(){return!(!this._avatars.length&&!this._icons.length)}},{key:"_initInteractiveListItem",value:function(){this._hostElement.classList.add("mat-mdc-list-item-interactive"),this._rippleRenderer=new x.RippleRenderer(this,this._ngZone,this._hostElement,this._platform),this._rippleRenderer.setupTriggerEvents(this._hostElement)}},{key:"_monitorProjectedLinesAndTitle",value:function(){var i=this;this._ngZone.runOutsideAngular(function(){i._subscriptions.add((0,J.T)(i._lines.changes,i._titles.changes).subscribe(function(){return i._updateItemLines(!1)}))})}},{key:"_updateItemLines",value:function(i){var n;if(this._lines&&this._titles&&this._unscopedContent){i&&this._checkDomForUnscopedTextContent();var c=null!==(n=this._explicitLines)&&void 0!==n?n:this._inferLinesFromContent(),a=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",c<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",c<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",2===c),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",3===c),this._hasUnscopedTextContent){var m=0===this._titles.length&&1===c;a.classList.toggle("mdc-list-item__primary-text",m),a.classList.toggle("mdc-list-item__secondary-text",!m)}else a.classList.remove("mdc-list-item__primary-text"),a.classList.remove("mdc-list-item__secondary-text")}}},{key:"_inferLinesFromContent",value:function(){var i=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(i+=1),i}},{key:"_checkDomForUnscopedTextContent",value:function(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(function(i){return i.nodeType!==i.COMMENT_NODE}).some(function(i){return!(!i.textContent||!i.textContent.trim())})}}]),l}();return e.\u0275fac=function(d){return new(d||e)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275directiveInject(w,8),t.\u0275\u0275directiveInject(M.Platform),t.\u0275\u0275directiveInject(x.MAT_RIPPLE_GLOBAL_OPTIONS,8),t.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))},e.\u0275dir=t.\u0275\u0275defineDirective({type:e,contentQueries:function(d,i,n){var c;1&d&&(t.\u0275\u0275contentQuery(n,K,4),t.\u0275\u0275contentQuery(n,Q,4)),2&d&&(t.\u0275\u0275queryRefresh(c=t.\u0275\u0275loadQuery())&&(i._avatars=c),t.\u0275\u0275queryRefresh(c=t.\u0275\u0275loadQuery())&&(i._icons=c))},hostVars:4,hostBindings:function(d,i){2&d&&(t.\u0275\u0275attribute("aria-disabled",i.disabled)("disabled",i._isButtonElement&&i.disabled||null),t.\u0275\u0275classProp("mdc-list-item--disabled",i.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"}}),e}(),yt=function(){var e=function(l){(0,v.Z)(i,l);var d=(0,g.Z)(i);function i(){var n;return(0,h.Z)(this,i),(n=d.apply(this,arguments))._isNonInteractive=!1,n}return(0,s.Z)(i)}(w);return e.\u0275fac=function(){var l;return function(i){return(l||(l=t.\u0275\u0275getInheritedFactory(e)))(i||e)}}(),e.\u0275cmp=t.\u0275\u0275defineComponent({type:e,selectors:[["mat-action-list"]],hostAttrs:["role","group",1,"mat-mdc-action-list","mat-mdc-list-base","mdc-list"],exportAs:["matActionList"],features:[t.\u0275\u0275ProvidersFeature([{provide:w,useExisting:e}]),t.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:E,decls:1,vars:0,template:function(d,i){1&d&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275projection(0))},styles:['@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-list-divider::after{content:"";display:block;border-bottom-width:1px;border-bottom-style:solid}}.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item__wrapper{display:block}.mdc-list-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer}.mdc-list-item:focus{outline:none}.mdc-list-item.mdc-list-item--with-one-line{height:48px}.mdc-list-item.mdc-list-item--with-two-lines{height:64px}.mdc-list-item.mdc-list-item--with-three-lines{height:88px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--disabled,.mdc-list-item.mdc-list-item--non-interactive{cursor:auto}.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px double rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected:focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected:focus::before{border-color:CanvasText}}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__content[for]{pointer-events:none}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item__overline-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start,.mdc-list-item--with-leading-avatar .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-avatar .mdc-list-item__start{border-radius:50%}.mdc-list-item--with-leading-icon.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-leading-icon .mdc-list-item__start[dir=rtl]{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-thumbnail.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-thumbnail.mdc-list-item,.mdc-list-item--with-leading-thumbnail.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-thumbnail .mdc-list-item__start,.mdc-list-item--with-leading-thumbnail .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-image.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-image.mdc-list-item,.mdc-list-item--with-leading-image.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-image .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-image .mdc-list-item__start,.mdc-list-item--with-leading-image .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-video.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-video.mdc-list-item,.mdc-list-item--with-leading-video.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-video .mdc-list-item__start{margin-left:0;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-video .mdc-list-item__start,.mdc-list-item--with-leading-video .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-checkbox.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-radio.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-radio.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-radio .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-radio .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-switch.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-switch.mdc-list-item,.mdc-list-item--with-leading-switch.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-switch .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-switch .mdc-list-item__start,.mdc-list-item--with-leading-switch .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item,.mdc-list-item--with-trailing-icon.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-icon .mdc-list-item__end,.mdc-list-item--with-trailing-icon .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item,.mdc-list-item--with-trailing-meta.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-trailing-meta .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);line-height:var(--mdc-typography-caption-line-height);font-weight:var(--mdc-typography-caption-font-weight);letter-spacing:var(--mdc-typography-caption-letter-spacing);text-decoration:var(--mdc-typography-caption-text-decoration);text-transform:var(--mdc-typography-caption-text-transform)}.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-radio.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-radio .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-radio .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-switch.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-switch.mdc-list-item,.mdc-list-item--with-trailing-switch.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-switch .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-switch .mdc-list-item__end,.mdc-list-item--with-trailing-switch .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-switch.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-list-item,.mdc-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-list-group .mdc-deprecated-list{padding:0}.mdc-list-group__subheader{margin:calc((3rem - 1.5rem)/2) 16px}.mdc-list-divider{padding:0;background-clip:content-box}.mdc-list-divider.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset{padding-left:16px;padding-right:auto}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset,.mdc-list-divider.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:16px}.mdc-list-divider.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset{padding-left:auto;padding-right:16px}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset,.mdc-list-divider.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset[dir=rtl]{padding-left:16px;padding-right:auto}.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset{padding-left:0px;padding-right:auto}[dir=rtl] .mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:0px}[dir=rtl] .mdc-list-divider,.mdc-list-divider[dir=rtl]{padding:0}.mdc-list-item{background-color:var(--mdc-list-list-item-container-color)}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item--with-one-line{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-avatar,.mdc-list-item--with-one-line.mdc-list-item--with-leading-icon,.mdc-list-item--with-one-line.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-one-line.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-one-line.mdc-list-item--with-leading-radio,.mdc-list-item--with-one-line.mdc-list-item--with-leading-switch{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-image,.mdc-list-item--with-one-line.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines.mdc-list-item--with-leading-avatar,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-icon,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-radio,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-switch,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-image,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-three-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height)}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height)}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height)}.mdc-list-item__primary-text{color:var(--mdc-list-list-item-label-text-color)}.mdc-list-item__primary-text{font-family:var(--mdc-list-list-item-label-text-font);line-height:var(--mdc-list-list-item-label-text-line-height);font-size:var(--mdc-list-list-item-label-text-size);font-weight:var(--mdc-list-list-item-label-text-weight);letter-spacing:var(--mdc-list-list-item-label-text-tracking)}.mdc-list-item__secondary-text{color:var(--mdc-list-list-item-supporting-text-color)}.mdc-list-item__secondary-text{font-family:var(--mdc-list-list-item-supporting-text-font);line-height:var(--mdc-list-list-item-supporting-text-line-height);font-size:var(--mdc-list-list-item-supporting-text-size);font-weight:var(--mdc-list-list-item-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-supporting-text-tracking)}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color)}.mdc-list-item--with-leading-icon .mdc-list-item__start{width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start>i{font-size:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon{font-size:var(--mdc-list-list-item-leading-icon-size);width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon,.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size);height:var(--mdc-list-list-item-leading-avatar-size)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color)}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font);line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height);font-size:var(--mdc-list-list-item-trailing-supporting-text-size);font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end>i{font-size:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon{font-size:var(--mdc-list-list-item-trailing-icon-size);width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon,.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color)}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text,.mdc-list-item--disabled .mdc-list-item__overline-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity)}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color)}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mdc-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color)}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color)}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color);opacity:var(--mdc-list-list-item-hover-state-layer-opacity)}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color);opacity:var(--mdc-list-list-item-disabled-state-layer-opacity)}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color);opacity:var(--mdc-list-list-item-focus-state-layer-opacity)}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape);background-color:var(--mdc-list-list-item-leading-avatar-color)}.mat-mdc-list-base{--mdc-list-list-item-container-shape:0;--mdc-list-list-item-leading-avatar-shape:50%;--mdc-list-list-item-container-color:transparent;--mdc-list-list-item-selected-container-color:transparent;--mdc-list-list-item-leading-avatar-color:transparent;--mdc-list-list-item-leading-icon-size:24px;--mdc-list-list-item-leading-avatar-size:40px;--mdc-list-list-item-trailing-icon-size:24px;--mdc-list-list-item-disabled-state-layer-color:transparent;--mdc-list-list-item-disabled-state-layer-opacity:0;--mdc-list-list-item-disabled-label-text-opacity:0.38;--mdc-list-list-item-disabled-leading-icon-opacity:0.38;--mdc-list-list-item-disabled-trailing-icon-opacity:0.38}.cdk-high-contrast-active a.mdc-list-item--activated::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none}.mat-mdc-list-item>.mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-mdc-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}'],encapsulation:2,changeDetection:0}),e}(),Lt=new t.InjectionToken("MatList"),Mt=function(){var e=function(l){(0,v.Z)(i,l);var d=(0,g.Z)(i);function i(){return(0,h.Z)(this,i),d.apply(this,arguments)}return(0,s.Z)(i)}(w);return e.\u0275fac=function(){var l;return function(i){return(l||(l=t.\u0275\u0275getInheritedFactory(e)))(i||e)}}(),e.\u0275cmp=t.\u0275\u0275defineComponent({type:e,selectors:[["mat-list"]],hostAttrs:[1,"mat-mdc-list","mat-mdc-list-base","mdc-list"],exportAs:["matList"],features:[t.\u0275\u0275ProvidersFeature([{provide:w,useExisting:e}]),t.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:E,decls:1,vars:0,template:function(d,i){1&d&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275projection(0))},styles:[F],encapsulation:2,changeDetection:0}),e}(),It=function(){var e=function(l){(0,v.Z)(i,l);var d=(0,g.Z)(i);function i(n,c,a,m,o,p){var b;return(0,h.Z)(this,i),(b=d.call(this,n,c,a,m,o,p))._activated=!1,b}return(0,s.Z)(i,[{key:"activated",get:function(){return this._activated},set:function(c){this._activated=(0,_.coerceBooleanProperty)(c)}},{key:"_getAriaCurrent",value:function(){return"A"===this._hostElement.nodeName&&this._activated?"page":null}}]),i}(S);return e.\u0275fac=function(d){return new(d||e)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275directiveInject(w,8),t.\u0275\u0275directiveInject(M.Platform),t.\u0275\u0275directiveInject(x.MAT_RIPPLE_GLOBAL_OPTIONS,8),t.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))},e.\u0275cmp=t.\u0275\u0275defineComponent({type:e,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(d,i,n){var c;1&d&&(t.\u0275\u0275contentQuery(n,z,5),t.\u0275\u0275contentQuery(n,T,5),t.\u0275\u0275contentQuery(n,W,5)),2&d&&(t.\u0275\u0275queryRefresh(c=t.\u0275\u0275loadQuery())&&(i._lines=c),t.\u0275\u0275queryRefresh(c=t.\u0275\u0275loadQuery())&&(i._titles=c),t.\u0275\u0275queryRefresh(c=t.\u0275\u0275loadQuery())&&(i._meta=c))},viewQuery:function(d,i){var n;1&d&&(t.\u0275\u0275viewQuery(N,5),t.\u0275\u0275viewQuery(ct,5)),2&d&&(t.\u0275\u0275queryRefresh(n=t.\u0275\u0275loadQuery())&&(i._unscopedContent=n.first),t.\u0275\u0275queryRefresh(n=t.\u0275\u0275loadQuery())&&(i._itemText=n.first))},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:11,hostBindings:function(d,i){2&d&&(t.\u0275\u0275attribute("aria-current",i._getAriaCurrent()),t.\u0275\u0275classProp("mdc-list-item--activated",i.activated)("mdc-list-item--with-leading-avatar",0!==i._avatars.length)("mdc-list-item--with-leading-icon",0!==i._icons.length)("mdc-list-item--with-trailing-meta",0!==i._meta.length)("_mat-animation-noopable",i._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],features:[t.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:lt,decls:10,vars:0,consts:[[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],["unscopedContent",""],[1,"mat-mdc-focus-indicator"]],template:function(d,i){1&d&&(t.\u0275\u0275projectionDef(dt),t.\u0275\u0275projection(0),t.\u0275\u0275elementStart(1,"span",0),t.\u0275\u0275projection(2,1),t.\u0275\u0275projection(3,2),t.\u0275\u0275elementStart(4,"span",1,2),t.\u0275\u0275listener("cdkObserveContent",function(){return i._updateItemLines(!0)}),t.\u0275\u0275projection(6,3),t.\u0275\u0275elementEnd()(),t.\u0275\u0275projection(7,4),t.\u0275\u0275projection(8,5),t.\u0275\u0275element(9,"div",3))},dependencies:[C.CdkObserveContent],encapsulation:2,changeDetection:0}),e}(),P=new t.InjectionToken("SelectionList"),G=function(){var e=function(l){(0,v.Z)(i,l);var d=(0,g.Z)(i);function i(n,c,a,m,o,p,b){var u;return(0,h.Z)(this,i),(u=d.call(this,n,c,a,m,p,b))._selectionList=a,u._changeDetectorRef=o,u.selectedChange=new t.EventEmitter,u.togglePosition="after",u._selected=!1,u._inputsInitialized=!1,u}return(0,s.Z)(i,[{key:"checkboxPosition",get:function(){return this.togglePosition},set:function(c){this.togglePosition=c}},{key:"color",get:function(){return this._color||this._selectionList.color},set:function(c){this._color=c}},{key:"value",get:function(){return this._value},set:function(c){this.selected&&c!==this.value&&this._inputsInitialized&&(this.selected=!1),this._value=c}},{key:"selected",get:function(){return this._selectionList.selectedOptions.isSelected(this)},set:function(c){var a=(0,_.coerceBooleanProperty)(c);a!==this._selected&&(this._setSelected(a),(a||this._selectionList.multiple)&&this._selectionList._reportValueChange())}},{key:"ngOnInit",value:function(){var c=this,a=this._selectionList;a._value&&a._value.some(function(o){return a.compareWith(c._value,o)})&&this._setSelected(!0);var m=this._selected;Promise.resolve().then(function(){(c._selected||m)&&(c.selected=!0,c._changeDetectorRef.markForCheck())}),this._inputsInitialized=!0}},{key:"ngOnDestroy",value:function(){var c=this;(0,L.Z)((0,I.Z)(i.prototype),"ngOnDestroy",this).call(this),this.selected&&Promise.resolve().then(function(){c.selected=!1})}},{key:"toggle",value:function(){this.selected=!this.selected}},{key:"focus",value:function(){this._hostElement.focus()}},{key:"getLabel",value:function(){var c,a,m,p=(null===(c=this._titles)||void 0===c||null===(a=c.get(0))||void 0===a?void 0:a._elementRef.nativeElement)||(null===(m=this._unscopedContent)||void 0===m?void 0:m.nativeElement);return p?.textContent||""}},{key:"_hasCheckboxAt",value:function(c){return this._selectionList.multiple&&this._getTogglePosition()===c}},{key:"_hasRadioAt",value:function(c){return!this._selectionList.multiple&&this._getTogglePosition()===c&&!this._selectionList.hideSingleSelectionIndicator}},{key:"_hasIconsOrAvatarsAt",value:function(c){return this._hasProjected("icons",c)||this._hasProjected("avatars",c)}},{key:"_hasProjected",value:function(c,a){return this._getTogglePosition()!==a&&("avatars"===c?0!==this._avatars.length:0!==this._icons.length)}},{key:"_handleBlur",value:function(){this._selectionList._onTouched()}},{key:"_getTogglePosition",value:function(){return this.togglePosition||"after"}},{key:"_setSelected",value:function(c){return c!==this._selected&&(this._selected=c,c?this._selectionList.selectedOptions.select(this):this._selectionList.selectedOptions.deselect(this),this.selectedChange.emit(c),this._changeDetectorRef.markForCheck(),!0)}},{key:"_markForCheck",value:function(){this._changeDetectorRef.markForCheck()}},{key:"_toggleOnInteraction",value:function(){this.disabled||(this._selectionList.multiple?(this.selected=!this.selected,this._selectionList._emitChangeEvent([this])):this.selected||(this.selected=!0,this._selectionList._emitChangeEvent([this])))}},{key:"_setTabindex",value:function(c){this._hostElement.setAttribute("tabindex",c+"")}}]),i}(S);return e.\u0275fac=function(d){return new(d||e)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275directiveInject(P),t.\u0275\u0275directiveInject(M.Platform),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(x.MAT_RIPPLE_GLOBAL_OPTIONS,8),t.\u0275\u0275directiveInject(t.ANIMATION_MODULE_TYPE,8))},e.\u0275cmp=t.\u0275\u0275defineComponent({type:e,selectors:[["mat-list-option"]],contentQueries:function(d,i,n){var c;1&d&&(t.\u0275\u0275contentQuery(n,z,5),t.\u0275\u0275contentQuery(n,T,5)),2&d&&(t.\u0275\u0275queryRefresh(c=t.\u0275\u0275loadQuery())&&(i._lines=c),t.\u0275\u0275queryRefresh(c=t.\u0275\u0275loadQuery())&&(i._titles=c))},viewQuery:function(d,i){var n;1&d&&t.\u0275\u0275viewQuery(N,5),2&d&&t.\u0275\u0275queryRefresh(n=t.\u0275\u0275loadQuery())&&(i._unscopedContent=n.first)},hostAttrs:["role","option",1,"mat-mdc-list-item","mat-mdc-list-option","mdc-list-item"],hostVars:25,hostBindings:function(d,i){1&d&&t.\u0275\u0275listener("blur",function(){return i._handleBlur()})("click",function(){return i._toggleOnInteraction()}),2&d&&(t.\u0275\u0275attribute("aria-selected",i.selected),t.\u0275\u0275classProp("mdc-list-item--selected",i.selected&&!i._selectionList.multiple&&i._selectionList.hideSingleSelectionIndicator)("mdc-list-item--with-leading-avatar",i._hasProjected("avatars","before"))("mdc-list-item--with-leading-icon",i._hasProjected("icons","before"))("mdc-list-item--with-trailing-icon",i._hasProjected("icons","after"))("mat-mdc-list-option-with-trailing-avatar",i._hasProjected("avatars","after"))("mdc-list-item--with-leading-checkbox",i._hasCheckboxAt("before"))("mdc-list-item--with-trailing-checkbox",i._hasCheckboxAt("after"))("mdc-list-item--with-leading-radio",i._hasRadioAt("before"))("mdc-list-item--with-trailing-radio",i._hasRadioAt("after"))("mat-accent","primary"!==i.color&&"warn"!==i.color)("mat-warn","warn"===i.color)("_mat-animation-noopable",i._noopAnimations))},inputs:{togglePosition:"togglePosition",checkboxPosition:"checkboxPosition",color:"color",value:"value",selected:"selected"},outputs:{selectedChange:"selectedChange"},exportAs:["matListOption"],features:[t.\u0275\u0275ProvidersFeature([{provide:S,useExisting:e},{provide:U,useExisting:e}]),t.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:kt,decls:20,vars:6,consts:[["icons",""],["checkbox",""],["radio",""],["class","mdc-list-item__start mat-mdc-list-option-checkbox-before",4,"ngIf"],["class","mdc-list-item__start mat-mdc-list-option-radio-before",4,"ngIf"],[3,"ngIf"],[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],["unscopedContent",""],["class","mdc-list-item__end",4,"ngIf"],[1,"mat-mdc-focus-indicator"],[1,"mdc-checkbox"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","disabled"],[1,"mdc-checkbox__background"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],[1,"mdc-radio"],["type","radio",1,"mdc-radio__native-control",3,"checked","disabled"],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"],[1,"mdc-list-item__start","mat-mdc-list-option-checkbox-before"],[3,"ngTemplateOutlet"],[1,"mdc-list-item__start","mat-mdc-list-option-radio-before"],[1,"mdc-list-item__end"]],template:function(d,i){1&d&&(t.\u0275\u0275projectionDef(ft),t.\u0275\u0275template(0,nt,1,0,"ng-template",null,0,t.\u0275\u0275templateRefExtractor),t.\u0275\u0275template(2,at,6,4,"ng-template",null,1,t.\u0275\u0275templateRefExtractor),t.\u0275\u0275template(4,ot,5,4,"ng-template",null,2,t.\u0275\u0275templateRefExtractor),t.\u0275\u0275template(6,rt,2,1,"span",3),t.\u0275\u0275template(7,ht,2,1,"span",4),t.\u0275\u0275template(8,pt,1,1,"ng-template",5),t.\u0275\u0275elementStart(9,"span",6),t.\u0275\u0275projection(10),t.\u0275\u0275projection(11,1),t.\u0275\u0275elementStart(12,"span",7,8),t.\u0275\u0275listener("cdkObserveContent",function(){return i._updateItemLines(!0)}),t.\u0275\u0275projection(14,2),t.\u0275\u0275elementEnd()(),t.\u0275\u0275template(15,bt,2,1,"span",9),t.\u0275\u0275template(16,ut,2,1,"span",9),t.\u0275\u0275template(17,xt,1,1,"ng-template",5),t.\u0275\u0275projection(18,3),t.\u0275\u0275element(19,"div",10)),2&d&&(t.\u0275\u0275advance(6),t.\u0275\u0275property("ngIf",i._hasCheckboxAt("before")),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",i._hasRadioAt("before")),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",i._hasIconsOrAvatarsAt("before")),t.\u0275\u0275advance(7),t.\u0275\u0275property("ngIf",i._hasCheckboxAt("after")),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",i._hasRadioAt("after")),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",i._hasIconsOrAvatarsAt("after")))},dependencies:[C.CdkObserveContent,A.NgIf,A.NgTemplateOutlet],styles:['.mat-mdc-list-option-with-trailing-avatar.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mat-mdc-list-option-with-trailing-avatar.mdc-list-item,.mat-mdc-list-option-with-trailing-avatar.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end,.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{width:40px;height:40px}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{border-radius:50%}.mat-mdc-list-option .mdc-touch-target-wrapper{display:inline}.mat-mdc-list-option .mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mat-mdc-list-option .mdc-checkbox[hidden]{display:none}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-list-option .mdc-checkbox__mixedmark{margin:0 1px}}.mat-mdc-list-option .mdc-checkbox--disabled{cursor:default;pointer-events:none}.mat-mdc-list-option .mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color}.mat-mdc-list-option .mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0}.mdc-checkbox--upgraded .mat-mdc-list-option .mdc-checkbox__checkmark{opacity:1}.mat-mdc-list-option .mdc-checkbox__checkmark-path{stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mat-mdc-list-option .mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mat-mdc-list-option .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mat-mdc-list-option .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mat-mdc-list-option .mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mat-mdc-list-option .mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size, 48px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mat-mdc-list-option .mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);width:var(--mdc-checkbox-state-layer-size, 48px);height:var(--mdc-checkbox-state-layer-size, 48px)}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{opacity:1}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mat-mdc-list-option .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0}.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mat-mdc-list-option .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mat-mdc-list-option .mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color}.mat-mdc-list-option .mdc-radio[hidden]{display:none}.mat-mdc-list-option .mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mat-mdc-list-option .mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:""}.mat-mdc-list-option .mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%}.mat-mdc-list-option .mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%}.mat-mdc-list-option .mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1}.mat-mdc-list-option .mdc-radio--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mat-mdc-list-option .mdc-radio--touch .mdc-radio__native-control{top:calc((40px - 48px) / 2);right:calc((40px - 48px) / 2);left:calc((40px - 48px) / 2);width:48px;height:48px}.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{border-color:CanvasText}}.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{border-color:CanvasText}}.mat-mdc-list-option .mdc-radio--disabled{cursor:default;pointer-events:none}.mat-mdc-list-option .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5)}.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background,.mat-mdc-list-option [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background{cursor:default}.mat-mdc-list-option .mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}@media all and (-ms-high-contrast: none){.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox .mdc-checkbox__focus-ring{display:none}}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__background{transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__mixedmark{transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__background::before{transition:opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:focus+.mdc-radio__background::before{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option .mdc-checkbox{padding:calc((40px - 18px) / 2);padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);margin:calc((40px - 40px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.38);border-color:var(--mdc-checkbox-disabled-unselected-icon-color, rgba(0, 0, 0, 0.38));background-color:transparent}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:rgba(0, 0, 0, 0.38);background-color:var(--mdc-checkbox-disabled-selected-icon-color, rgba(0, 0, 0, 0.38))}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:#fff;color:var(--mdc-checkbox-selected-checkmark-color, "#fff")}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:#fff;border-color:var(--mdc-checkbox-selected-checkmark-color, "#fff")}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:#fff;color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:#fff;border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:#f44336;border-color:var(--mdc-checkbox-selected-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-icon-color, #f44336)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-icon-color, #f44336)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-icon-color, #f44336)}100%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:#212121;border-color:var(--mdc-checkbox-unselected-hover-icon-color, #212121);background-color:transparent}.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:#f44336;border-color:var(--mdc-checkbox-selected-hover-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-hover-icon-color, #f44336)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:#212121;border-color:var(--mdc-checkbox-unselected-hover-icon-color, #212121);background-color:transparent}50%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-hover-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-hover-icon-color, #f44336)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-hover-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-hover-icon-color, #f44336)}100%{border-color:#212121;border-color:var(--mdc-checkbox-unselected-hover-icon-color, #212121);background-color:transparent}}.mat-mdc-list-option .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:#212121;border-color:var(--mdc-checkbox-unselected-focus-icon-color, #212121);background-color:transparent}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:#f44336;border-color:var(--mdc-checkbox-selected-focus-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-focus-icon-color, #f44336)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:#212121;border-color:var(--mdc-checkbox-unselected-focus-icon-color, #212121);background-color:transparent}50%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-focus-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-focus-icon-color, #f44336)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-focus-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-focus-icon-color, #f44336)}100%{border-color:#212121;border-color:var(--mdc-checkbox-unselected-focus-icon-color, #212121);background-color:transparent}}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-list-option .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:#f44336;border-color:var(--mdc-checkbox-selected-pressed-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-pressed-icon-color, #f44336)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-pressed-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-pressed-icon-color, #f44336)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-pressed-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-pressed-icon-color, #f44336)}100%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-list-option .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__ripple::after{background-color:black;background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, black)}.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox.mdc-ripple-surface--hover .mdc-checkbox__ripple::before{opacity:0.04;opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity, 0.04)}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__ripple::before{transition-duration:75ms;opacity:0.16;opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity, 0.16)}.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded) .mdc-checkbox__ripple::after{transition:opacity 150ms linear}.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):active .mdc-checkbox__ripple::after{transition-duration:75ms;opacity:0.16;opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity, 0.16)}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity, 0.16)}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected .mdc-checkbox__ripple::after{background-color:#f44336;background-color:var(--mdc-checkbox-selected-hover-state-layer-color, #f44336)}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected:hover .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected.mdc-ripple-surface--hover .mdc-checkbox__ripple::before{opacity:0.04;opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity, 0.04)}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected.mdc-ripple-upgraded--background-focused .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded):focus .mdc-checkbox__ripple::before{transition-duration:75ms;opacity:0.16;opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity, 0.16)}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded) .mdc-checkbox__ripple::after{transition:opacity 150ms linear}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded):active .mdc-checkbox__ripple::after{transition-duration:75ms;opacity:0.16;opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity, 0.16)}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity, 0.16)}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--selected .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--selected .mdc-checkbox__ripple::after{background-color:#f44336;background-color:var(--mdc-checkbox-selected-hover-state-layer-color, #f44336)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__background{top:calc((40px - 18px) / 2);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);left:calc((40px - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control{top:calc((40px - 40px) / 2);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);right:calc((40px - 40px) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);left:calc((40px - 40px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);width:40px;width:var(--mdc-checkbox-state-layer-size, 40px);height:40px;height:var(--mdc-checkbox-state-layer-size, 40px)}.mat-mdc-list-option .mdc-radio{padding:calc((40px - 20px) / 2);padding:calc((var(--mdc-radio-state-layer-size, 40px) - 20px) / 2)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#000;border-color:var(--mdc-radio-disabled-selected-icon-color, #000)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#000;border-color:var(--mdc-radio-disabled-selected-icon-color, #000)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{opacity:0.38;opacity:var(--mdc-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{opacity:0.38;opacity:var(--mdc-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:#000;border-color:var(--mdc-radio-disabled-unselected-icon-color, #000)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{opacity:0.38;opacity:var(--mdc-radio-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-focus-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-focus-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-hover-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio:hover .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-hover-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-pressed-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-pressed-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio:hover .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:#212121;border-color:var(--mdc-radio-unselected-hover-icon-color, #212121)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-radio-unselected-icon-color, rgba(0, 0, 0, 0.54))}.mat-mdc-list-option .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-radio-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54))}.mat-mdc-list-option .mdc-radio .mdc-radio__background::before{top:calc(-1 * (40px - 20px) / 2);top:calc(-1 * (var(--mdc-radio-state-layer-size, 40px) - 20px) / 2);left:calc(-1 * (40px - 20px) / 2);left:calc(-1 * (var(--mdc-radio-state-layer-size, 40px) - 20px) / 2);width:40px;width:var(--mdc-radio-state-layer-size, 40px);height:40px;height:var(--mdc-radio-state-layer-size, 40px)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control{top:calc((40px - 40px) / 2);top:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);right:calc((40px - 40px) / 2);right:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);left:calc((40px - 40px) / 2);left:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);width:40px;width:var(--mdc-radio-state-layer-size, 40px);height:40px;height:var(--mdc-radio-state-layer-size, 40px)}.mat-mdc-list-option .mdc-checkbox__native-control,.mat-mdc-list-option .mdc-radio__native-control{display:none}.cdk-high-contrast-active .mat-mdc-list-option.mdc-list-item--selected::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active .mat-mdc-list-option.mdc-list-item--selected [dir=rtl]::after{right:auto;left:16px}'],encapsulation:2,changeDetection:0}),e}(),Ot=function(){var e=(0,s.Z)(function l(){(0,h.Z)(this,l)});return e.\u0275fac=function(d){return new(d||e)},e.\u0275dir=t.\u0275\u0275defineDirective({type:e,selectors:[["","mat-subheader",""],["","matSubheader",""]],hostAttrs:[1,"mat-mdc-subheader","mdc-list-group__subheader"]}),e}(),Et=new t.InjectionToken("MatNavList"),Ct=function(){var e=function(l){(0,v.Z)(i,l);var d=(0,g.Z)(i);function i(){var n;return(0,h.Z)(this,i),(n=d.apply(this,arguments))._isNonInteractive=!1,n}return(0,s.Z)(i)}(w);return e.\u0275fac=function(){var l;return function(i){return(l||(l=t.\u0275\u0275getInheritedFactory(e)))(i||e)}}(),e.\u0275cmp=t.\u0275\u0275defineComponent({type:e,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-mdc-nav-list","mat-mdc-list-base","mdc-list"],exportAs:["matNavList"],features:[t.\u0275\u0275ProvidersFeature([{provide:w,useExisting:e}]),t.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:E,decls:1,vars:0,template:function(d,i){1&d&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275projection(0))},styles:[F],encapsulation:2,changeDetection:0}),e}(),H={provide:et.NG_VALUE_ACCESSOR,useExisting:(0,t.forwardRef)(function(){return X}),multi:!0},$=(0,s.Z)(function e(l,d){(0,h.Z)(this,e),this.source=l,this.options=d}),X=function(){var e=function(l){(0,v.Z)(i,l);var d=(0,g.Z)(i);function i(n,c){var a,m,o;return(0,h.Z)(this,i),(o=d.call(this))._element=n,o._ngZone=c,o._initialized=!1,o._destroyed=new q.x,o._onChange=function(p){},o.selectionChange=new t.EventEmitter,o.color="accent",o.compareWith=function(p,b){return p===b},o._multiple=!0,o._hideSingleSelectionIndicator=null!==(a=null===(m=o._defaultOptions)||void 0===m?void 0:m.hideSingleSelectionIndicator)&&void 0!==a&&a,o.selectedOptions=new j.SelectionModel(o._multiple),o._onTouched=function(){},o._selectionListDisabled=!1,o._handleFocusout=function(){setTimeout(function(){o._containsFocus()||o._resetActiveOption()})},o._handleFocusin=function(p){if(!o.disabled){var b=o._items.toArray().findIndex(function(u){return u._elementRef.nativeElement.contains(p.target)});b>-1?o._setActiveOption(b):o._resetActiveOption()}},o._isNonInteractive=!1,o}return(0,s.Z)(i,[{key:"multiple",get:function(){return this._multiple},set:function(c){var a=(0,_.coerceBooleanProperty)(c);a!==this._multiple&&(this._multiple=a,this.selectedOptions=new j.SelectionModel(this._multiple,this.selectedOptions.selected))}},{key:"hideSingleSelectionIndicator",get:function(){return this._hideSingleSelectionIndicator},set:function(c){this._hideSingleSelectionIndicator=(0,_.coerceBooleanProperty)(c)}},{key:"ngAfterViewInit",value:function(){var c=this;this._initialized=!0,this._setupRovingTabindex(),this._ngZone.runOutsideAngular(function(){c._element.nativeElement.addEventListener("focusin",c._handleFocusin),c._element.nativeElement.addEventListener("focusout",c._handleFocusout)}),this._value&&this._setOptionsFromValues(this._value),this._watchForSelectionChange()}},{key:"ngOnChanges",value:function(c){var a=c.disabled,m=c.disableRipple,o=c.hideSingleSelectionIndicator;(m&&!m.firstChange||a&&!a.firstChange||o&&!o.firstChange)&&this._markOptionsForCheck()}},{key:"ngOnDestroy",value:function(){var c;null===(c=this._keyManager)||void 0===c||c.destroy(),this._element.nativeElement.removeEventListener("focusin",this._handleFocusin),this._element.nativeElement.removeEventListener("focusout",this._handleFocusout),this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0}},{key:"focus",value:function(c){this._element.nativeElement.focus(c)}},{key:"selectAll",value:function(){return this._setAllOptionsSelected(!0)}},{key:"deselectAll",value:function(){return this._setAllOptionsSelected(!1)}},{key:"_reportValueChange",value:function(){if(this.options&&!this._isDestroyed){var c=this._getSelectedOptionValues();this._onChange(c),this._value=c}}},{key:"_emitChangeEvent",value:function(c){this.selectionChange.emit(new $(this,c))}},{key:"writeValue",value:function(c){this._value=c,this.options&&this._setOptionsFromValues(c||[])}},{key:"setDisabledState",value:function(c){this.disabled=c}},{key:"disabled",get:function(){return this._selectionListDisabled},set:function(c){var a;this._selectionListDisabled=(0,_.coerceBooleanProperty)(c),this._selectionListDisabled&&(null===(a=this._keyManager)||void 0===a||a.setActiveItem(-1))}},{key:"registerOnChange",value:function(c){this._onChange=c}},{key:"registerOnTouched",value:function(c){this._onTouched=c}},{key:"_watchForSelectionChange",value:function(){var c=this;this.selectedOptions.changed.pipe((0,Z.R)(this._destroyed)).subscribe(function(a){var o,m=(0,y.Z)(a.added);try{for(m.s();!(o=m.n()).done;)o.value.selected=!0}catch(R){m.e(R)}finally{m.f()}var u,b=(0,y.Z)(a.removed);try{for(b.s();!(u=b.n()).done;)u.value.selected=!1}catch(R){b.e(R)}finally{b.f()}c._containsFocus()||c._resetActiveOption()})}},{key:"_setOptionsFromValues",value:function(c){var a=this;this.options.forEach(function(m){return m._setSelected(!1)}),c.forEach(function(m){var o=a.options.find(function(p){return!p.selected&&a.compareWith(p.value,m)});o&&o._setSelected(!0)})}},{key:"_getSelectedOptionValues",value:function(){return this.options.filter(function(c){return c.selected}).map(function(c){return c.value})}},{key:"_markOptionsForCheck",value:function(){this.options&&this.options.forEach(function(c){return c._markForCheck()})}},{key:"_setAllOptionsSelected",value:function(c,a){var m=[];return this.options.forEach(function(o){(!a||!o.disabled)&&o._setSelected(c)&&m.push(o)}),m.length&&this._reportValueChange(),m}},{key:"options",get:function(){return this._items}},{key:"_handleKeydown",value:function(c){var a=this._keyManager.activeItem;if(c.keyCode!==O.ENTER&&c.keyCode!==O.SPACE||this._keyManager.isTyping()||!a||a.disabled)if(c.keyCode===O.A&&this.multiple&&!this._keyManager.isTyping()&&(0,O.hasModifierKey)(c,"ctrlKey")){var m=this.options.some(function(o){return!o.disabled&&!o.selected});c.preventDefault(),this._emitChangeEvent(this._setAllOptionsSelected(m,!0))}else this._keyManager.onKeydown(c);else c.preventDefault(),a._toggleOnInteraction()}},{key:"_setupRovingTabindex",value:function(){var c=this;this._keyManager=new it.FocusKeyManager(this._items).withHomeAndEnd().withTypeAhead().withWrap().skipPredicate(function(){return c.disabled}),this._resetActiveOption(),this._keyManager.change.subscribe(function(a){return c._setActiveOption(a)}),this._items.changes.pipe((0,Z.R)(this._destroyed)).subscribe(function(){var a=c._keyManager.activeItem;(!a||!c._items.toArray().indexOf(a))&&c._resetActiveOption()})}},{key:"_setActiveOption",value:function(c){this._items.forEach(function(a,m){return a._setTabindex(m===c?0:-1)}),this._keyManager.updateActiveItem(c)}},{key:"_resetActiveOption",value:function(){if(this.disabled)this._setActiveOption(-1);else{var c=this._items.find(function(a){return a.selected&&!a.disabled})||this._items.first;this._setActiveOption(c?this._items.toArray().indexOf(c):-1)}}},{key:"_containsFocus",value:function(){var c=(0,M._getFocusedElementPierceShadowDom)();return c&&this._element.nativeElement.contains(c)}}]),i}(w);return e.\u0275fac=function(d){return new(d||e)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.NgZone))},e.\u0275cmp=t.\u0275\u0275defineComponent({type:e,selectors:[["mat-selection-list"]],contentQueries:function(d,i,n){var c;1&d&&t.\u0275\u0275contentQuery(n,G,5),2&d&&t.\u0275\u0275queryRefresh(c=t.\u0275\u0275loadQuery())&&(i._items=c)},hostAttrs:["role","listbox",1,"mat-mdc-selection-list","mat-mdc-list-base","mdc-list"],hostVars:1,hostBindings:function(d,i){1&d&&t.\u0275\u0275listener("keydown",function(c){return i._handleKeydown(c)}),2&d&&t.\u0275\u0275attribute("aria-multiselectable",i.multiple)},inputs:{color:"color",compareWith:"compareWith",multiple:"multiple",hideSingleSelectionIndicator:"hideSingleSelectionIndicator",disabled:"disabled"},outputs:{selectionChange:"selectionChange"},exportAs:["matSelectionList"],features:[t.\u0275\u0275ProvidersFeature([H,{provide:w,useExisting:e},{provide:P,useExisting:e}]),t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275NgOnChangesFeature],ngContentSelectors:E,decls:1,vars:0,template:function(d,i){1&d&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275projection(0))},styles:[F],encapsulation:2,changeDetection:0}),e}(),At=function(){var e=(0,s.Z)(function l(){(0,h.Z)(this,l)});return e.\u0275fac=function(d){return new(d||e)},e.\u0275mod=t.\u0275\u0275defineNgModule({type:e}),e.\u0275inj=t.\u0275\u0275defineInjector({imports:[C.ObserversModule,A.CommonModule,x.MatCommonModule,x.MatRippleModule,x.MatPseudoCheckboxModule,tt.MatDividerModule]}),e}()}}]); +//# sourceMappingURL=6069.47ef4be18c0da5af.js.map \ No newline at end of file diff --git a/6069.47ef4be18c0da5af.js.map b/6069.47ef4be18c0da5af.js.map new file mode 100644 index 0000000..85a2801 --- /dev/null +++ b/6069.47ef4be18c0da5af.js.map @@ -0,0 +1 @@ +{"version":3,"file":"6069.47ef4be18c0da5af.js","mappings":"uGACaA,EAAQ,aAAIC,GAAW,SAACC,GAAU,OAAKA,EAAWC,UAAU,+FCIlE,SAASC,IAAe,QAAAC,EAAAC,UAAAC,OAANC,EAAI,IAAAC,MAAAJ,GAAAK,EAAA,EAAAA,EAAAL,EAAAK,IAAJF,EAAIE,GAAAJ,UAAAI,GACzB,IAAMC,KAAYC,MAAaJ,GACzBK,KAAaC,MAAUN,EAAMO,KAC7BC,EAAUR,EAChB,OAAQQ,EAAQT,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C,IAAAC,EAJ2C,EAAA5I,GA5lCdE,2BAAEyI,EAgmC5C2C,EAAa,KAAAtL,GAhmC6BE,2BAAE0I,EAAF1I,6BAAED,EAAAoR,OAAAzI,EAAA,EAAAtG,UAAA,QA4lC+R,UAAS,2DAAAS,SAAA,EAAAC,aAAA,SAAAhD,EAAAC,GAAA,EAAAD,GA5lC1SE,uBAAE,mBAAAqW,GAAA,OA4lCJtW,EAAAuW,eAAAD,EAAsB,KAAAvW,GA5lCpBE,wBAAE,uBAAAD,EAAAwM,SAAA,EAAAhI,OAAA,CAAA0H,MAAA,QAAAU,YAAA,cAAAJ,SAAA,WAAAoB,6BAAA,+BAAAxN,SAAA,YAAAqO,QAAA,CAAA6B,gBAAA,mBAAApH,SAAA,qBAAA1F,SAAA,CAAFvD,+BA4lC6e,CACrkBkP,EACA,CAAEhG,QAASrF,EAAasF,YAAakG,GACrC,CAAEnG,QAASiC,EAAgBhC,YAAakG,KA/lCgDrP,yEAAEoJ,mBAAA7J,EAAA8J,MAAA,EAAAC,KAAA,EAAAC,SAAA,SAAAzJ,EAAAC,GAAA,EAAAD,IAAFE,uDAAE,GAgmCuH,EAAAwJ,OAAA,CAAAhK,GAAAiK,cAAA,EAAAC,gBAAA,IA5TvN2F,CAAgB,IA2VhBkH,GAAa,eAAbA,GAAa5U,OAAA,SAAA4U,KAAA1U,OAAAC,KAAAyU,EAAA,GAAbA,SACYxU,UAAI,SAAAC,GAAA,WAAAA,GAAwFuU,EAAa,EADrHA,EAEYC,UAjoCkFxW,6BAAE,CAAAkC,KAioCSqU,IAFzGA,EA8BYE,UA7pCkFzW,6BAAE,CAAA0W,QAAA,CA6pCkCC,kBAC5HC,eACAC,kBACAC,kBACAC,0BAAyBC,uBAlC/BT,CAAa","names":["EMPTY","Observable","subscriber","complete","merge","_len","arguments","length","args","Array","_key","scheduler","popScheduler","concurrent","popNumber","Infinity","sources","innerFrom","mergeAll","from","_c0","_c1","_c2","_c3","_c4","_c5","MatListOption_ng_template_0_Template","rf","ctx","i0","MatListOption_ng_template_2_Template","ctx_r3","disabled","selected","MatListOption_ng_template_4_Template","ctx_r5","MatListOption_span_6_ng_template_1_Template","MatListOption_span_6_Template","_r2","MatListOption_span_7_ng_template_1_Template","MatListOption_span_7_Template","_r4","MatListOption_ng_template_8_ng_template_0_Template","MatListOption_ng_template_8_Template","_r0","MatListOption_span_15_ng_template_1_Template","MatListOption_span_15_Template","MatListOption_span_16_ng_template_1_Template","MatListOption_span_16_Template","MatListOption_ng_template_17_ng_template_0_Template","MatListOption_ng_template_17_Template","_c6","_c7","LIST_OPTION","InjectionToken","MatListItemTitle","_createClass","_elementRef","_classCallCheck","this","ɵfac","t","ɵdir","type","selectors","hostAttrs","MatListItemLine","MatListItemMeta","_MatListItemGraphicBase","_listOption","key","value","_this$_listOption","_getTogglePosition","hostVars","hostBindings","_isAlignedAtStart","MatListItemAvatar","_MatListItemGraphicBa","_inherits","_super","_createSuper","apply","ɵMatListItemAvatar_BaseFactory","features","MatListItemIcon","_MatListItemGraphicBa2","_super2","ɵMatListItemIcon_BaseFactory","MAT_LIST_CONFIG","MatListBase","_isNonInteractive","_disableRipple","_disabled","_defaultOptions","inject","optional","get","set","coerceBooleanProperty","inputs","disableRipple","MatListItemBase","_ngZone","_listBase","_platform","globalRippleOptions","animationMode","_explicitLines","_subscriptions","Subscription","_rippleRenderer","_hasUnscopedTextContent","rippleConfig","_hostElement","nativeElement","_isButtonElement","nodeName","toLowerCase","_noopAnimations","_initInteractiveListItem","hasAttribute","setAttribute","lines","coerceNumberProperty","_updateItemLines","_this$_listBase","_this$_listBase2","_monitorProjectedLinesAndTitle","unsubscribe","_removeTriggerEvents","_avatars","_icons","classList","add","RippleRenderer","setupTriggerEvents","_this","runOutsideAngular","_lines","changes","_titles","subscribe","recheckUnscopedContent","_this$_explicitLines","_unscopedContent","_checkDomForUnscopedTextContent","numberOfLines","_inferLinesFromContent","unscopedContentEl","toggle","treatAsTitle","remove","numOfLines","childNodes","filter","node","nodeType","COMMENT_NODE","some","textContent","trim","i1","MAT_RIPPLE_GLOBAL_OPTIONS","ANIMATION_MODULE_TYPE","contentQueries","dirIndex","_t","MatActionList","_MatListBase","_super3","_this2","ɵMatActionList_BaseFactory","ɵcmp","exportAs","provide","useExisting","ngContentSelectors","decls","vars","template","styles","encapsulation","changeDetection","MAT_LIST","MatList","_MatListBase2","_super4","ɵMatList_BaseFactory","MatListItem","_MatListItemBase","_super5","element","ngZone","listBase","platform","_this3","call","_activated","activated","_meta","viewQuery","first","_itemText","_getAriaCurrent","consts","dependencies","i3","SELECTION_LIST","MatListOption","_MatListItemBase2","_super6","elementRef","_selectionList","_changeDetectorRef","_this4","selectedChange","EventEmitter","togglePosition","_selected","_inputsInitialized","_color","color","newValue","_value","selectedOptions","isSelected","_setSelected","multiple","_reportValueChange","_this5","list","compareWith","wasSelected","Promise","resolve","then","markForCheck","_this6","_get","_getPrototypeOf","prototype","focus","_this$_titles","_this$_titles$get","_this$_unscopedConten","labelEl","position","hideSingleSelectionIndicator","_hasProjected","_onTouched","select","deselect","emit","_emitChangeEvent","ANIMATION_MODULE_TYPE$1","_handleBlur","_toggleOnInteraction","_hasCheckboxAt","_hasRadioAt","checkboxPosition","outputs","_hasIconsOrAvatarsAt","i3$1","MatListSubheaderCssMatStyler","MAT_NAV_LIST","MatNavList","_MatListBase3","_super7","_this7","ɵMatNavList_BaseFactory","MAT_SELECTION_LIST_VALUE_ACCESSOR","NG_VALUE_ACCESSOR","forwardRef","MatSelectionList","multi","MatSelectionListChange","source","options","_MatListBase4","_super8","_element","_this8$_defaultOption","_this8$_defaultOption2","_this8","_initialized","_destroyed","Subject","_onChange","_","selectionChange","a1","a2","_multiple","_hideSingleSelectionIndicator","SelectionModel","_selectionListDisabled","_handleFocusout","setTimeout","_containsFocus","_resetActiveOption","_handleFocusin","event","activeIndex","_items","toArray","findIndex","item","contains","target","_setActiveOption","_this9","_setupRovingTabindex","addEventListener","_setOptionsFromValues","_watchForSelectionChange","disabledChanges","disableRippleChanges","hideSingleSelectionIndicatorChanges","firstChange","_markOptionsForCheck","_this$_keyManager","_keyManager","destroy","removeEventListener","next","_isDestroyed","_setAllOptionsSelected","_getSelectedOptionValues","values","isDisabled","_this$_keyManager2","setActiveItem","fn","_this10","changed","pipe","takeUntil","_step","_iterator","_createForOfIteratorHelper","added","s","n","done","err","e","f","_step2","_iterator2","removed","_this11","forEach","option","correspondingOption","find","map","_markForCheck","skipDisabled","changedOptions","push","activeItem","keyCode","ENTER","SPACE","isTyping","A","hasModifierKey","shouldSelect","preventDefault","onKeydown","_this12","FocusKeyManager","withHomeAndEnd","withTypeAhead","withWrap","skipPredicate","change","activeItemIndex","indexOf","index","itemIndex","_setTabindex","updateActiveItem","activeElement","_getFocusedElementPierceShadowDom","$event","_handleKeydown","MatListModule","ɵmod","ɵinj","imports","ObserversModule","CommonModule","MatCommonModule","MatRippleModule","MatPseudoCheckboxModule","MatDividerModule"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/observable/empty.js","./node_modules/rxjs/dist/esm/internal/observable/merge.js","./node_modules/@angular/material/fesm2022/list.mjs"],"sourcesContent":["import { Observable } from '../Observable';\nexport const EMPTY = new Observable((subscriber) => subscriber.complete());\nexport function empty(scheduler) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n return new Observable((subscriber) => scheduler.schedule(() => subscriber.complete()));\n}\n","import { mergeAll } from '../operators/mergeAll';\nimport { innerFrom } from './innerFrom';\nimport { EMPTY } from './empty';\nimport { popNumber, popScheduler } from '../util/args';\nimport { from } from './from';\nexport function merge(...args) {\n const scheduler = popScheduler(args);\n const concurrent = popNumber(args, Infinity);\n const sources = args;\n return !sources.length\n ?\n EMPTY\n : sources.length === 1\n ?\n innerFrom(sources[0])\n :\n mergeAll(concurrent)(from(sources, scheduler));\n}\n","import * as i0 from '@angular/core';\nimport { InjectionToken, Directive, Optional, Inject, inject, Input, ContentChildren, Component, ViewEncapsulation, ChangeDetectionStrategy, ViewChild, EventEmitter, ANIMATION_MODULE_TYPE as ANIMATION_MODULE_TYPE$1, Output, forwardRef, NgModule } from '@angular/core';\nimport { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';\nimport * as i1 from '@angular/cdk/platform';\nimport { _getFocusedElementPierceShadowDom } from '@angular/cdk/platform';\nimport { RippleRenderer, MAT_RIPPLE_GLOBAL_OPTIONS, MatCommonModule, MatRippleModule, MatPseudoCheckboxModule } from '@angular/material/core';\nimport { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';\nimport { Subscription, merge, Subject } from 'rxjs';\nimport * as i3 from '@angular/cdk/observers';\nimport { ObserversModule } from '@angular/cdk/observers';\nimport * as i3$1 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport { MatDividerModule } from '@angular/material/divider';\nimport { FocusKeyManager } from '@angular/cdk/a11y';\nimport { SelectionModel } from '@angular/cdk/collections';\nimport { ENTER, SPACE, A, hasModifierKey } from '@angular/cdk/keycodes';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { takeUntil } from 'rxjs/operators';\n\n/**\n * Injection token that can be used to reference instances of an `ListOption`. It serves\n * as alternative token to an actual implementation which could result in undesired\n * retention of the class or circular references breaking runtime execution.\n * @docs-private\n */\nconst LIST_OPTION = new InjectionToken('ListOption');\n\n/**\n * Directive capturing the title of a list item. A list item usually consists of a\n * title and optional secondary or tertiary lines.\n *\n * Text content for the title never wraps. There can only be a single title per list item.\n */\nclass MatListItemTitle {\n constructor(_elementRef) {\n this._elementRef = _elementRef;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatListItemTitle, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatListItemTitle, selector: \"[matListItemTitle]\", host: { classAttribute: \"mat-mdc-list-item-title mdc-list-item__primary-text\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatListItemTitle, decorators: [{\n type: Directive,\n args: [{\n selector: '[matListItemTitle]',\n host: { 'class': 'mat-mdc-list-item-title mdc-list-item__primary-text' },\n }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });\n/**\n * Directive capturing a line in a list item. A list item usually consists of a\n * title and optional secondary or tertiary lines.\n *\n * Text content inside a line never wraps. There can be at maximum two lines per list item.\n */\nclass MatListItemLine {\n constructor(_elementRef) {\n this._elementRef = _elementRef;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatListItemLine, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatListItemLine, selector: \"[matListItemLine]\", host: { classAttribute: \"mat-mdc-list-item-line mdc-list-item__secondary-text\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatListItemLine, decorators: [{\n type: Directive,\n args: [{\n selector: '[matListItemLine]',\n host: { 'class': 'mat-mdc-list-item-line mdc-list-item__secondary-text' },\n }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });\n/**\n * Directive matching an optional meta section for list items.\n *\n * List items can reserve space at the end of an item to display a control,\n * button or additional text content.\n */\nclass MatListItemMeta {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatListItemMeta, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatListItemMeta, selector: \"[matListItemMeta]\", host: { classAttribute: \"mat-mdc-list-item-meta mdc-list-item__end\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatListItemMeta, decorators: [{\n type: Directive,\n args: [{\n selector: '[matListItemMeta]',\n host: { 'class': 'mat-mdc-list-item-meta mdc-list-item__end' },\n }]\n }] });\n/**\n * @docs-private\n *\n * MDC uses the very intuitively named classes `.mdc-list-item__start` and `.mat-list-item__end` to\n * position content such as icons or checkboxes/radios that comes either before or after the text\n * content respectively. This directive detects the placement of the checkbox/radio and applies the\n * correct MDC class to position the icon/avatar on the opposite side.\n */\nclass _MatListItemGraphicBase {\n constructor(_listOption) {\n this._listOption = _listOption;\n }\n _isAlignedAtStart() {\n // By default, in all list items the graphic is aligned at start. In list options,\n // the graphic is only aligned at start if the checkbox/radio is at the end.\n return !this._listOption || this._listOption?._getTogglePosition() === 'after';\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatListItemGraphicBase, deps: [{ token: LIST_OPTION, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: _MatListItemGraphicBase, host: { properties: { \"class.mdc-list-item__start\": \"_isAlignedAtStart()\", \"class.mdc-list-item__end\": \"!_isAlignedAtStart()\" } }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatListItemGraphicBase, decorators: [{\n type: Directive,\n args: [{\n host: {\n // MDC uses intuitively named classes `.mdc-list-item__start` and `.mat-list-item__end` to\n // position content such as icons or checkboxes/radios that comes either before or after the\n // text content respectively. This directive detects the placement of the checkbox/radio and\n // applies the correct MDC class to position the icon/avatar on the opposite side.\n '[class.mdc-list-item__start]': '_isAlignedAtStart()',\n '[class.mdc-list-item__end]': '!_isAlignedAtStart()',\n },\n }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [LIST_OPTION]\n }] }]; } });\n/**\n * Directive matching an optional avatar within a list item.\n *\n * List items can reserve space at the beginning of an item to display an avatar.\n */\nclass MatListItemAvatar extends _MatListItemGraphicBase {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatListItemAvatar, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatListItemAvatar, selector: \"[matListItemAvatar]\", host: { classAttribute: \"mat-mdc-list-item-avatar\" }, usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatListItemAvatar, decorators: [{\n type: Directive,\n args: [{\n selector: '[matListItemAvatar]',\n host: { 'class': 'mat-mdc-list-item-avatar' },\n }]\n }] });\n/**\n * Directive matching an optional icon within a list item.\n *\n * List items can reserve space at the beginning of an item to display an icon.\n */\nclass MatListItemIcon extends _MatListItemGraphicBase {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatListItemIcon, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatListItemIcon, selector: \"[matListItemIcon]\", host: { classAttribute: \"mat-mdc-list-item-icon\" }, usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatListItemIcon, decorators: [{\n type: Directive,\n args: [{\n selector: '[matListItemIcon]',\n host: { 'class': 'mat-mdc-list-item-icon' },\n }]\n }] });\n\n/** Injection token that can be used to provide the default options the list module. */\nconst MAT_LIST_CONFIG = new InjectionToken('MAT_LIST_CONFIG');\n\nclass MatListBase {\n constructor() {\n this._isNonInteractive = true;\n this._disableRipple = false;\n this._disabled = false;\n this._defaultOptions = inject(MAT_LIST_CONFIG, { optional: true });\n }\n /** Whether ripples for all list items is disabled. */\n get disableRipple() {\n return this._disableRipple;\n }\n set disableRipple(value) {\n this._disableRipple = coerceBooleanProperty(value);\n }\n /**\n * Whether the entire list is disabled. When disabled, the list itself and each of its list items\n * are disabled.\n */\n get disabled() {\n return this._disabled;\n }\n set disabled(value) {\n this._disabled = coerceBooleanProperty(value);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatListBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatListBase, inputs: { disableRipple: \"disableRipple\", disabled: \"disabled\" }, host: { properties: { \"attr.aria-disabled\": \"disabled\" } }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatListBase, decorators: [{\n type: Directive,\n args: [{\n host: {\n '[attr.aria-disabled]': 'disabled',\n },\n }]\n }], propDecorators: { disableRipple: [{\n type: Input\n }], disabled: [{\n type: Input\n }] } });\nclass MatListItemBase {\n /**\n * The number of lines this list item should reserve space for. If not specified,\n * lines are inferred based on the projected content.\n *\n * Explicitly specifying the number of lines is useful if you want to acquire additional\n * space and enable the wrapping of text. The unscoped text content of a list item will\n * always be able to take up the remaining space of the item, unless it represents the title.\n *\n * A maximum of three lines is supported as per the Material Design specification.\n */\n set lines(lines) {\n this._explicitLines = coerceNumberProperty(lines, null);\n this._updateItemLines(false);\n }\n /** Whether ripples for list items are disabled. */\n get disableRipple() {\n return (this.disabled ||\n this._disableRipple ||\n this._noopAnimations ||\n !!this._listBase?.disableRipple);\n }\n set disableRipple(value) {\n this._disableRipple = coerceBooleanProperty(value);\n }\n /** Whether the list-item is disabled. */\n get disabled() {\n return this._disabled || !!this._listBase?.disabled;\n }\n set disabled(value) {\n this._disabled = coerceBooleanProperty(value);\n }\n /**\n * Implemented as part of `RippleTarget`.\n * @docs-private\n */\n get rippleDisabled() {\n return this.disableRipple || !!this.rippleConfig.disabled;\n }\n constructor(_elementRef, _ngZone, _listBase, _platform, globalRippleOptions, animationMode) {\n this._elementRef = _elementRef;\n this._ngZone = _ngZone;\n this._listBase = _listBase;\n this._platform = _platform;\n this._explicitLines = null;\n this._disableRipple = false;\n this._disabled = false;\n this._subscriptions = new Subscription();\n this._rippleRenderer = null;\n /** Whether the list item has unscoped text content. */\n this._hasUnscopedTextContent = false;\n this.rippleConfig = globalRippleOptions || {};\n this._hostElement = this._elementRef.nativeElement;\n this._isButtonElement = this._hostElement.nodeName.toLowerCase() === 'button';\n this._noopAnimations = animationMode === 'NoopAnimations';\n if (_listBase && !_listBase._isNonInteractive) {\n this._initInteractiveListItem();\n }\n // If no type attribute is specified for a host `<button>` element, set it to `button`. If a\n // type attribute is already specified, we do nothing. We do this for backwards compatibility.\n // TODO: Determine if we intend to continue doing this for the MDC-based list.\n if (this._isButtonElement && !this._hostElement.hasAttribute('type')) {\n this._hostElement.setAttribute('type', 'button');\n }\n }\n ngAfterViewInit() {\n this._monitorProjectedLinesAndTitle();\n this._updateItemLines(true);\n }\n ngOnDestroy() {\n this._subscriptions.unsubscribe();\n if (this._rippleRenderer !== null) {\n this._rippleRenderer._removeTriggerEvents();\n }\n }\n /** Whether the list item has icons or avatars. */\n _hasIconOrAvatar() {\n return !!(this._avatars.length || this._icons.length);\n }\n _initInteractiveListItem() {\n this._hostElement.classList.add('mat-mdc-list-item-interactive');\n this._rippleRenderer = new RippleRenderer(this, this._ngZone, this._hostElement, this._platform);\n this._rippleRenderer.setupTriggerEvents(this._hostElement);\n }\n /**\n * Subscribes to changes in the projected title and lines. Triggers a\n * item lines update whenever a change occurs.\n */\n _monitorProjectedLinesAndTitle() {\n this._ngZone.runOutsideAngular(() => {\n this._subscriptions.add(merge(this._lines.changes, this._titles.changes).subscribe(() => this._updateItemLines(false)));\n });\n }\n /**\n * Updates the lines of the list item. Based on the projected user content and optional\n * explicit lines setting, the visual appearance of the list item is determined.\n *\n * This method should be invoked whenever the projected user content changes, or\n * when the explicit lines have been updated.\n *\n * @param recheckUnscopedContent Whether the projected unscoped content should be re-checked.\n * The unscoped content is not re-checked for every update as it is a rather expensive check\n * for content that is expected to not change very often.\n */\n _updateItemLines(recheckUnscopedContent) {\n // If the updated is triggered too early before the view and content is initialized,\n // we just skip the update. After view initialization the update is triggered again.\n if (!this._lines || !this._titles || !this._unscopedContent) {\n return;\n }\n // Re-check the DOM for unscoped text content if requested. This needs to\n // happen before any computation or sanity checks run as these rely on the\n // result of whether there is unscoped text content or not.\n if (recheckUnscopedContent) {\n this._checkDomForUnscopedTextContent();\n }\n // Sanity check the list item lines and title in the content. This is a dev-mode only\n // check that can be dead-code eliminated by Terser in production.\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n sanityCheckListItemContent(this);\n }\n const numberOfLines = this._explicitLines ?? this._inferLinesFromContent();\n const unscopedContentEl = this._unscopedContent.nativeElement;\n // Update the list item element to reflect the number of lines.\n this._hostElement.classList.toggle('mat-mdc-list-item-single-line', numberOfLines <= 1);\n this._hostElement.classList.toggle('mdc-list-item--with-one-line', numberOfLines <= 1);\n this._hostElement.classList.toggle('mdc-list-item--with-two-lines', numberOfLines === 2);\n this._hostElement.classList.toggle('mdc-list-item--with-three-lines', numberOfLines === 3);\n // If there is no title and the unscoped content is the is the only line, the\n // unscoped text content will be treated as the title of the list-item.\n if (this._hasUnscopedTextContent) {\n const treatAsTitle = this._titles.length === 0 && numberOfLines === 1;\n unscopedContentEl.classList.toggle('mdc-list-item__primary-text', treatAsTitle);\n unscopedContentEl.classList.toggle('mdc-list-item__secondary-text', !treatAsTitle);\n }\n else {\n unscopedContentEl.classList.remove('mdc-list-item__primary-text');\n unscopedContentEl.classList.remove('mdc-list-item__secondary-text');\n }\n }\n /**\n * Infers the number of lines based on the projected user content. This is useful\n * if no explicit number of lines has been specified on the list item.\n *\n * The number of lines is inferred based on whether there is a title, the number of\n * additional lines (secondary/tertiary). An additional line is acquired if there is\n * unscoped text content.\n */\n _inferLinesFromContent() {\n let numOfLines = this._titles.length + this._lines.length;\n if (this._hasUnscopedTextContent) {\n numOfLines += 1;\n }\n return numOfLines;\n }\n /** Checks whether the list item has unscoped text content. */\n _checkDomForUnscopedTextContent() {\n this._hasUnscopedTextContent = Array.from(this._unscopedContent.nativeElement.childNodes)\n .filter(node => node.nodeType !== node.COMMENT_NODE)\n .some(node => !!(node.textContent && node.textContent.trim()));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatListItemBase, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: MatListBase, optional: true }, { token: i1.Platform }, { token: MAT_RIPPLE_GLOBAL_OPTIONS, optional: true }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatListItemBase, inputs: { lines: \"lines\", disableRipple: \"disableRipple\", disabled: \"disabled\" }, host: { properties: { \"class.mdc-list-item--disabled\": \"disabled\", \"attr.aria-disabled\": \"disabled\", \"attr.disabled\": \"(_isButtonElement && disabled) || null\" } }, queries: [{ propertyName: \"_avatars\", predicate: MatListItemAvatar }, { propertyName: \"_icons\", predicate: MatListItemIcon }], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatListItemBase, decorators: [{\n type: Directive,\n args: [{\n host: {\n '[class.mdc-list-item--disabled]': 'disabled',\n '[attr.aria-disabled]': 'disabled',\n '[attr.disabled]': '(_isButtonElement && disabled) || null',\n },\n }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: MatListBase, decorators: [{\n type: Optional\n }] }, { type: i1.Platform }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_RIPPLE_GLOBAL_OPTIONS]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }]; }, propDecorators: { _avatars: [{\n type: ContentChildren,\n args: [MatListItemAvatar, { descendants: false }]\n }], _icons: [{\n type: ContentChildren,\n args: [MatListItemIcon, { descendants: false }]\n }], lines: [{\n type: Input\n }], disableRipple: [{\n type: Input\n }], disabled: [{\n type: Input\n }] } });\n/**\n * Sanity checks the configuration of the list item with respect to the amount\n * of lines, whether there is a title, or if there is unscoped text content.\n *\n * The checks are extracted into a top-level function that can be dead-code\n * eliminated by Terser or other optimizers in production mode.\n */\nfunction sanityCheckListItemContent(item) {\n const numTitles = item._titles.length;\n const numLines = item._titles.length;\n if (numTitles > 1) {\n throw Error('A list item cannot have multiple titles.');\n }\n if (numTitles === 0 && numLines > 0) {\n throw Error('A list item line can only be used if there is a list item title.');\n }\n if (numTitles === 0 &&\n item._hasUnscopedTextContent &&\n item._explicitLines !== null &&\n item._explicitLines > 1) {\n throw Error('A list item cannot have wrapping content without a title.');\n }\n if (numLines > 2 || (numLines === 2 && item._hasUnscopedTextContent)) {\n throw Error('A list item can have at maximum three lines.');\n }\n}\n\nclass MatActionList extends MatListBase {\n constructor() {\n super(...arguments);\n // An navigation list is considered interactive, but does not extend the interactive list\n // base class. We do this because as per MDC, items of interactive lists are only reachable\n // through keyboard shortcuts. We want all items for the navigation list to be reachable\n // through tab key as we do not intend to provide any special accessibility treatment. The\n // accessibility treatment depends on how the end-user will interact with it.\n this._isNonInteractive = false;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatActionList, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatActionList, selector: \"mat-action-list\", host: { attributes: { \"role\": \"group\" }, classAttribute: \"mat-mdc-action-list mat-mdc-list-base mdc-list\" }, providers: [{ provide: MatListBase, useExisting: MatActionList }], exportAs: [\"matActionList\"], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [\"@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-list-divider::after{content:\\\"\\\";display:block;border-bottom-width:1px;border-bottom-style:solid}}.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item__wrapper{display:block}.mdc-list-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer}.mdc-list-item:focus{outline:none}.mdc-list-item.mdc-list-item--with-one-line{height:48px}.mdc-list-item.mdc-list-item--with-two-lines{height:64px}.mdc-list-item.mdc-list-item--with-three-lines{height:88px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--disabled,.mdc-list-item.mdc-list-item--non-interactive{cursor:auto}.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px double rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected:focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected:focus::before{border-color:CanvasText}}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__content[for]{pointer-events:none}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item__overline-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:24px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start,.mdc-list-item--with-leading-avatar .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-avatar .mdc-list-item__start{border-radius:50%}.mdc-list-item--with-leading-icon.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-leading-icon .mdc-list-item__start[dir=rtl]{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-thumbnail.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-thumbnail.mdc-list-item,.mdc-list-item--with-leading-thumbnail.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-thumbnail .mdc-list-item__start,.mdc-list-item--with-leading-thumbnail .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-image.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-image.mdc-list-item,.mdc-list-item--with-leading-image.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-image .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-image .mdc-list-item__start,.mdc-list-item--with-leading-image .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-video.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-video.mdc-list-item,.mdc-list-item--with-leading-video.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-video .mdc-list-item__start{margin-left:0;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-video .mdc-list-item__start,.mdc-list-item--with-leading-video .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-checkbox.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-radio.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-radio.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-radio .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-radio .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-switch.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-switch.mdc-list-item,.mdc-list-item--with-leading-switch.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-switch .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-switch .mdc-list-item__start,.mdc-list-item--with-leading-switch .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item,.mdc-list-item--with-trailing-icon.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-icon .mdc-list-item__end,.mdc-list-item--with-trailing-icon .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item,.mdc-list-item--with-trailing-meta.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-trailing-meta .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);line-height:var(--mdc-typography-caption-line-height);font-weight:var(--mdc-typography-caption-font-weight);letter-spacing:var(--mdc-typography-caption-letter-spacing);text-decoration:var(--mdc-typography-caption-text-decoration);text-transform:var(--mdc-typography-caption-text-transform)}.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-radio.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-radio .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-radio .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-switch.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-switch.mdc-list-item,.mdc-list-item--with-trailing-switch.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-switch .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-switch .mdc-list-item__end,.mdc-list-item--with-trailing-switch .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-switch.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:0}.mdc-list-item{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-list-item,.mdc-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-list-group .mdc-deprecated-list{padding:0}.mdc-list-group__subheader{margin:calc((3rem - 1.5rem)/2) 16px}.mdc-list-divider{padding:0;background-clip:content-box}.mdc-list-divider.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset{padding-left:16px;padding-right:auto}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset,.mdc-list-divider.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:16px}.mdc-list-divider.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset{padding-left:auto;padding-right:16px}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset,.mdc-list-divider.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset[dir=rtl]{padding-left:16px;padding-right:auto}.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset{padding-left:0px;padding-right:auto}[dir=rtl] .mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:0px}[dir=rtl] .mdc-list-divider,.mdc-list-divider[dir=rtl]{padding:0}.mdc-list-item{background-color:var(--mdc-list-list-item-container-color)}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item--with-one-line{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-avatar,.mdc-list-item--with-one-line.mdc-list-item--with-leading-icon,.mdc-list-item--with-one-line.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-one-line.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-one-line.mdc-list-item--with-leading-radio,.mdc-list-item--with-one-line.mdc-list-item--with-leading-switch{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-image,.mdc-list-item--with-one-line.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines.mdc-list-item--with-leading-avatar,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-icon,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-radio,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-switch,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-image,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-three-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height)}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height)}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height)}.mdc-list-item__primary-text{color:var(--mdc-list-list-item-label-text-color)}.mdc-list-item__primary-text{font-family:var(--mdc-list-list-item-label-text-font);line-height:var(--mdc-list-list-item-label-text-line-height);font-size:var(--mdc-list-list-item-label-text-size);font-weight:var(--mdc-list-list-item-label-text-weight);letter-spacing:var(--mdc-list-list-item-label-text-tracking)}.mdc-list-item__secondary-text{color:var(--mdc-list-list-item-supporting-text-color)}.mdc-list-item__secondary-text{font-family:var(--mdc-list-list-item-supporting-text-font);line-height:var(--mdc-list-list-item-supporting-text-line-height);font-size:var(--mdc-list-list-item-supporting-text-size);font-weight:var(--mdc-list-list-item-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-supporting-text-tracking)}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color)}.mdc-list-item--with-leading-icon .mdc-list-item__start{width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start>i{font-size:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon{font-size:var(--mdc-list-list-item-leading-icon-size);width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon,.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size);height:var(--mdc-list-list-item-leading-avatar-size)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color)}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font);line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height);font-size:var(--mdc-list-list-item-trailing-supporting-text-size);font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end>i{font-size:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon{font-size:var(--mdc-list-list-item-trailing-icon-size);width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon,.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color)}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text,.mdc-list-item--disabled .mdc-list-item__overline-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity)}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color)}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mdc-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color)}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color)}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color);opacity:var(--mdc-list-list-item-hover-state-layer-opacity)}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color);opacity:var(--mdc-list-list-item-disabled-state-layer-opacity)}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color);opacity:var(--mdc-list-list-item-focus-state-layer-opacity)}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape);background-color:var(--mdc-list-list-item-leading-avatar-color)}.mat-mdc-list-base{--mdc-list-list-item-container-shape:0;--mdc-list-list-item-leading-avatar-shape:50%;--mdc-list-list-item-container-color:transparent;--mdc-list-list-item-selected-container-color:transparent;--mdc-list-list-item-leading-avatar-color:transparent;--mdc-list-list-item-leading-icon-size:24px;--mdc-list-list-item-leading-avatar-size:40px;--mdc-list-list-item-trailing-icon-size:24px;--mdc-list-list-item-disabled-state-layer-color:transparent;--mdc-list-list-item-disabled-state-layer-opacity:0;--mdc-list-list-item-disabled-label-text-opacity:0.38;--mdc-list-list-item-disabled-leading-icon-opacity:0.38;--mdc-list-list-item-disabled-trailing-icon-opacity:0.38}.cdk-high-contrast-active a.mdc-list-item--activated::after{content:\\\"\\\";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:\\\"\\\";opacity:0;pointer-events:none}.mat-mdc-list-item>.mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatActionList, decorators: [{\n type: Component,\n args: [{ selector: 'mat-action-list', exportAs: 'matActionList', template: '<ng-content></ng-content>', host: {\n 'class': 'mat-mdc-action-list mat-mdc-list-base mdc-list',\n 'role': 'group',\n }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [{ provide: MatListBase, useExisting: MatActionList }], styles: [\"@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-list-divider::after{content:\\\"\\\";display:block;border-bottom-width:1px;border-bottom-style:solid}}.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item__wrapper{display:block}.mdc-list-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer}.mdc-list-item:focus{outline:none}.mdc-list-item.mdc-list-item--with-one-line{height:48px}.mdc-list-item.mdc-list-item--with-two-lines{height:64px}.mdc-list-item.mdc-list-item--with-three-lines{height:88px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--disabled,.mdc-list-item.mdc-list-item--non-interactive{cursor:auto}.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px double rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected:focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected:focus::before{border-color:CanvasText}}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__content[for]{pointer-events:none}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item__overline-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:24px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start,.mdc-list-item--with-leading-avatar .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-avatar .mdc-list-item__start{border-radius:50%}.mdc-list-item--with-leading-icon.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-leading-icon .mdc-list-item__start[dir=rtl]{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-thumbnail.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-thumbnail.mdc-list-item,.mdc-list-item--with-leading-thumbnail.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-thumbnail .mdc-list-item__start,.mdc-list-item--with-leading-thumbnail .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-image.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-image.mdc-list-item,.mdc-list-item--with-leading-image.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-image .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-image .mdc-list-item__start,.mdc-list-item--with-leading-image .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-video.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-video.mdc-list-item,.mdc-list-item--with-leading-video.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-video .mdc-list-item__start{margin-left:0;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-video .mdc-list-item__start,.mdc-list-item--with-leading-video .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-checkbox.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-radio.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-radio.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-radio .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-radio .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-switch.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-switch.mdc-list-item,.mdc-list-item--with-leading-switch.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-switch .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-switch .mdc-list-item__start,.mdc-list-item--with-leading-switch .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item,.mdc-list-item--with-trailing-icon.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-icon .mdc-list-item__end,.mdc-list-item--with-trailing-icon .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item,.mdc-list-item--with-trailing-meta.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-trailing-meta .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);line-height:var(--mdc-typography-caption-line-height);font-weight:var(--mdc-typography-caption-font-weight);letter-spacing:var(--mdc-typography-caption-letter-spacing);text-decoration:var(--mdc-typography-caption-text-decoration);text-transform:var(--mdc-typography-caption-text-transform)}.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-radio.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-radio .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-radio .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-switch.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-switch.mdc-list-item,.mdc-list-item--with-trailing-switch.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-switch .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-switch .mdc-list-item__end,.mdc-list-item--with-trailing-switch .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-switch.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:0}.mdc-list-item{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-list-item,.mdc-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-list-group .mdc-deprecated-list{padding:0}.mdc-list-group__subheader{margin:calc((3rem - 1.5rem)/2) 16px}.mdc-list-divider{padding:0;background-clip:content-box}.mdc-list-divider.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset{padding-left:16px;padding-right:auto}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset,.mdc-list-divider.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:16px}.mdc-list-divider.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset{padding-left:auto;padding-right:16px}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset,.mdc-list-divider.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset[dir=rtl]{padding-left:16px;padding-right:auto}.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset{padding-left:0px;padding-right:auto}[dir=rtl] .mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:0px}[dir=rtl] .mdc-list-divider,.mdc-list-divider[dir=rtl]{padding:0}.mdc-list-item{background-color:var(--mdc-list-list-item-container-color)}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item--with-one-line{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-avatar,.mdc-list-item--with-one-line.mdc-list-item--with-leading-icon,.mdc-list-item--with-one-line.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-one-line.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-one-line.mdc-list-item--with-leading-radio,.mdc-list-item--with-one-line.mdc-list-item--with-leading-switch{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-image,.mdc-list-item--with-one-line.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines.mdc-list-item--with-leading-avatar,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-icon,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-radio,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-switch,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-image,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-three-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height)}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height)}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height)}.mdc-list-item__primary-text{color:var(--mdc-list-list-item-label-text-color)}.mdc-list-item__primary-text{font-family:var(--mdc-list-list-item-label-text-font);line-height:var(--mdc-list-list-item-label-text-line-height);font-size:var(--mdc-list-list-item-label-text-size);font-weight:var(--mdc-list-list-item-label-text-weight);letter-spacing:var(--mdc-list-list-item-label-text-tracking)}.mdc-list-item__secondary-text{color:var(--mdc-list-list-item-supporting-text-color)}.mdc-list-item__secondary-text{font-family:var(--mdc-list-list-item-supporting-text-font);line-height:var(--mdc-list-list-item-supporting-text-line-height);font-size:var(--mdc-list-list-item-supporting-text-size);font-weight:var(--mdc-list-list-item-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-supporting-text-tracking)}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color)}.mdc-list-item--with-leading-icon .mdc-list-item__start{width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start>i{font-size:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon{font-size:var(--mdc-list-list-item-leading-icon-size);width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon,.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size);height:var(--mdc-list-list-item-leading-avatar-size)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color)}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font);line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height);font-size:var(--mdc-list-list-item-trailing-supporting-text-size);font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end>i{font-size:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon{font-size:var(--mdc-list-list-item-trailing-icon-size);width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon,.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color)}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text,.mdc-list-item--disabled .mdc-list-item__overline-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity)}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color)}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mdc-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color)}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color)}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color);opacity:var(--mdc-list-list-item-hover-state-layer-opacity)}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color);opacity:var(--mdc-list-list-item-disabled-state-layer-opacity)}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color);opacity:var(--mdc-list-list-item-focus-state-layer-opacity)}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape);background-color:var(--mdc-list-list-item-leading-avatar-color)}.mat-mdc-list-base{--mdc-list-list-item-container-shape:0;--mdc-list-list-item-leading-avatar-shape:50%;--mdc-list-list-item-container-color:transparent;--mdc-list-list-item-selected-container-color:transparent;--mdc-list-list-item-leading-avatar-color:transparent;--mdc-list-list-item-leading-icon-size:24px;--mdc-list-list-item-leading-avatar-size:40px;--mdc-list-list-item-trailing-icon-size:24px;--mdc-list-list-item-disabled-state-layer-color:transparent;--mdc-list-list-item-disabled-state-layer-opacity:0;--mdc-list-list-item-disabled-label-text-opacity:0.38;--mdc-list-list-item-disabled-leading-icon-opacity:0.38;--mdc-list-list-item-disabled-trailing-icon-opacity:0.38}.cdk-high-contrast-active a.mdc-list-item--activated::after{content:\\\"\\\";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:\\\"\\\";opacity:0;pointer-events:none}.mat-mdc-list-item>.mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}\"] }]\n }] });\n\n/**\n * Injection token that can be used to inject instances of `MatList`. It serves as\n * alternative token to the actual `MatList` class which could cause unnecessary\n * retention of the class and its component metadata.\n */\nconst MAT_LIST = new InjectionToken('MatList');\nclass MatList extends MatListBase {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatList, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatList, selector: \"mat-list\", host: { classAttribute: \"mat-mdc-list mat-mdc-list-base mdc-list\" }, providers: [{ provide: MatListBase, useExisting: MatList }], exportAs: [\"matList\"], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [\"@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-list-divider::after{content:\\\"\\\";display:block;border-bottom-width:1px;border-bottom-style:solid}}.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item__wrapper{display:block}.mdc-list-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer}.mdc-list-item:focus{outline:none}.mdc-list-item.mdc-list-item--with-one-line{height:48px}.mdc-list-item.mdc-list-item--with-two-lines{height:64px}.mdc-list-item.mdc-list-item--with-three-lines{height:88px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--disabled,.mdc-list-item.mdc-list-item--non-interactive{cursor:auto}.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px double rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected:focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected:focus::before{border-color:CanvasText}}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__content[for]{pointer-events:none}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item__overline-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:24px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start,.mdc-list-item--with-leading-avatar .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-avatar .mdc-list-item__start{border-radius:50%}.mdc-list-item--with-leading-icon.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-leading-icon .mdc-list-item__start[dir=rtl]{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-thumbnail.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-thumbnail.mdc-list-item,.mdc-list-item--with-leading-thumbnail.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-thumbnail .mdc-list-item__start,.mdc-list-item--with-leading-thumbnail .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-image.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-image.mdc-list-item,.mdc-list-item--with-leading-image.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-image .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-image .mdc-list-item__start,.mdc-list-item--with-leading-image .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-video.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-video.mdc-list-item,.mdc-list-item--with-leading-video.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-video .mdc-list-item__start{margin-left:0;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-video .mdc-list-item__start,.mdc-list-item--with-leading-video .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-checkbox.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-radio.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-radio.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-radio .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-radio .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-switch.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-switch.mdc-list-item,.mdc-list-item--with-leading-switch.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-switch .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-switch .mdc-list-item__start,.mdc-list-item--with-leading-switch .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item,.mdc-list-item--with-trailing-icon.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-icon .mdc-list-item__end,.mdc-list-item--with-trailing-icon .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item,.mdc-list-item--with-trailing-meta.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-trailing-meta .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);line-height:var(--mdc-typography-caption-line-height);font-weight:var(--mdc-typography-caption-font-weight);letter-spacing:var(--mdc-typography-caption-letter-spacing);text-decoration:var(--mdc-typography-caption-text-decoration);text-transform:var(--mdc-typography-caption-text-transform)}.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-radio.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-radio .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-radio .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-switch.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-switch.mdc-list-item,.mdc-list-item--with-trailing-switch.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-switch .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-switch .mdc-list-item__end,.mdc-list-item--with-trailing-switch .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-switch.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:0}.mdc-list-item{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-list-item,.mdc-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-list-group .mdc-deprecated-list{padding:0}.mdc-list-group__subheader{margin:calc((3rem - 1.5rem)/2) 16px}.mdc-list-divider{padding:0;background-clip:content-box}.mdc-list-divider.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset{padding-left:16px;padding-right:auto}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset,.mdc-list-divider.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:16px}.mdc-list-divider.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset{padding-left:auto;padding-right:16px}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset,.mdc-list-divider.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset[dir=rtl]{padding-left:16px;padding-right:auto}.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset{padding-left:0px;padding-right:auto}[dir=rtl] .mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:0px}[dir=rtl] .mdc-list-divider,.mdc-list-divider[dir=rtl]{padding:0}.mdc-list-item{background-color:var(--mdc-list-list-item-container-color)}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item--with-one-line{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-avatar,.mdc-list-item--with-one-line.mdc-list-item--with-leading-icon,.mdc-list-item--with-one-line.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-one-line.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-one-line.mdc-list-item--with-leading-radio,.mdc-list-item--with-one-line.mdc-list-item--with-leading-switch{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-image,.mdc-list-item--with-one-line.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines.mdc-list-item--with-leading-avatar,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-icon,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-radio,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-switch,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-image,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-three-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height)}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height)}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height)}.mdc-list-item__primary-text{color:var(--mdc-list-list-item-label-text-color)}.mdc-list-item__primary-text{font-family:var(--mdc-list-list-item-label-text-font);line-height:var(--mdc-list-list-item-label-text-line-height);font-size:var(--mdc-list-list-item-label-text-size);font-weight:var(--mdc-list-list-item-label-text-weight);letter-spacing:var(--mdc-list-list-item-label-text-tracking)}.mdc-list-item__secondary-text{color:var(--mdc-list-list-item-supporting-text-color)}.mdc-list-item__secondary-text{font-family:var(--mdc-list-list-item-supporting-text-font);line-height:var(--mdc-list-list-item-supporting-text-line-height);font-size:var(--mdc-list-list-item-supporting-text-size);font-weight:var(--mdc-list-list-item-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-supporting-text-tracking)}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color)}.mdc-list-item--with-leading-icon .mdc-list-item__start{width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start>i{font-size:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon{font-size:var(--mdc-list-list-item-leading-icon-size);width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon,.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size);height:var(--mdc-list-list-item-leading-avatar-size)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color)}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font);line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height);font-size:var(--mdc-list-list-item-trailing-supporting-text-size);font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end>i{font-size:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon{font-size:var(--mdc-list-list-item-trailing-icon-size);width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon,.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color)}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text,.mdc-list-item--disabled .mdc-list-item__overline-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity)}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color)}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mdc-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color)}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color)}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color);opacity:var(--mdc-list-list-item-hover-state-layer-opacity)}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color);opacity:var(--mdc-list-list-item-disabled-state-layer-opacity)}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color);opacity:var(--mdc-list-list-item-focus-state-layer-opacity)}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape);background-color:var(--mdc-list-list-item-leading-avatar-color)}.mat-mdc-list-base{--mdc-list-list-item-container-shape:0;--mdc-list-list-item-leading-avatar-shape:50%;--mdc-list-list-item-container-color:transparent;--mdc-list-list-item-selected-container-color:transparent;--mdc-list-list-item-leading-avatar-color:transparent;--mdc-list-list-item-leading-icon-size:24px;--mdc-list-list-item-leading-avatar-size:40px;--mdc-list-list-item-trailing-icon-size:24px;--mdc-list-list-item-disabled-state-layer-color:transparent;--mdc-list-list-item-disabled-state-layer-opacity:0;--mdc-list-list-item-disabled-label-text-opacity:0.38;--mdc-list-list-item-disabled-leading-icon-opacity:0.38;--mdc-list-list-item-disabled-trailing-icon-opacity:0.38}.cdk-high-contrast-active a.mdc-list-item--activated::after{content:\\\"\\\";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:\\\"\\\";opacity:0;pointer-events:none}.mat-mdc-list-item>.mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatList, decorators: [{\n type: Component,\n args: [{ selector: 'mat-list', exportAs: 'matList', template: '<ng-content></ng-content>', host: {\n 'class': 'mat-mdc-list mat-mdc-list-base mdc-list',\n }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [{ provide: MatListBase, useExisting: MatList }], styles: [\"@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-list-divider::after{content:\\\"\\\";display:block;border-bottom-width:1px;border-bottom-style:solid}}.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item__wrapper{display:block}.mdc-list-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer}.mdc-list-item:focus{outline:none}.mdc-list-item.mdc-list-item--with-one-line{height:48px}.mdc-list-item.mdc-list-item--with-two-lines{height:64px}.mdc-list-item.mdc-list-item--with-three-lines{height:88px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--disabled,.mdc-list-item.mdc-list-item--non-interactive{cursor:auto}.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px double rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected:focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected:focus::before{border-color:CanvasText}}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__content[for]{pointer-events:none}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item__overline-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:24px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start,.mdc-list-item--with-leading-avatar .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-avatar .mdc-list-item__start{border-radius:50%}.mdc-list-item--with-leading-icon.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-leading-icon .mdc-list-item__start[dir=rtl]{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-thumbnail.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-thumbnail.mdc-list-item,.mdc-list-item--with-leading-thumbnail.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-thumbnail .mdc-list-item__start,.mdc-list-item--with-leading-thumbnail .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-image.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-image.mdc-list-item,.mdc-list-item--with-leading-image.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-image .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-image .mdc-list-item__start,.mdc-list-item--with-leading-image .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-video.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-video.mdc-list-item,.mdc-list-item--with-leading-video.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-video .mdc-list-item__start{margin-left:0;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-video .mdc-list-item__start,.mdc-list-item--with-leading-video .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-checkbox.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-radio.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-radio.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-radio .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-radio .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-switch.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-switch.mdc-list-item,.mdc-list-item--with-leading-switch.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-switch .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-switch .mdc-list-item__start,.mdc-list-item--with-leading-switch .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item,.mdc-list-item--with-trailing-icon.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-icon .mdc-list-item__end,.mdc-list-item--with-trailing-icon .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item,.mdc-list-item--with-trailing-meta.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-trailing-meta .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);line-height:var(--mdc-typography-caption-line-height);font-weight:var(--mdc-typography-caption-font-weight);letter-spacing:var(--mdc-typography-caption-letter-spacing);text-decoration:var(--mdc-typography-caption-text-decoration);text-transform:var(--mdc-typography-caption-text-transform)}.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-radio.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-radio .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-radio .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-switch.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-switch.mdc-list-item,.mdc-list-item--with-trailing-switch.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-switch .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-switch .mdc-list-item__end,.mdc-list-item--with-trailing-switch .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-switch.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:0}.mdc-list-item{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-list-item,.mdc-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-list-group .mdc-deprecated-list{padding:0}.mdc-list-group__subheader{margin:calc((3rem - 1.5rem)/2) 16px}.mdc-list-divider{padding:0;background-clip:content-box}.mdc-list-divider.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset{padding-left:16px;padding-right:auto}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset,.mdc-list-divider.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:16px}.mdc-list-divider.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset{padding-left:auto;padding-right:16px}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset,.mdc-list-divider.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset[dir=rtl]{padding-left:16px;padding-right:auto}.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset{padding-left:0px;padding-right:auto}[dir=rtl] .mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:0px}[dir=rtl] .mdc-list-divider,.mdc-list-divider[dir=rtl]{padding:0}.mdc-list-item{background-color:var(--mdc-list-list-item-container-color)}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item--with-one-line{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-avatar,.mdc-list-item--with-one-line.mdc-list-item--with-leading-icon,.mdc-list-item--with-one-line.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-one-line.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-one-line.mdc-list-item--with-leading-radio,.mdc-list-item--with-one-line.mdc-list-item--with-leading-switch{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-image,.mdc-list-item--with-one-line.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines.mdc-list-item--with-leading-avatar,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-icon,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-radio,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-switch,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-image,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-three-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height)}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height)}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height)}.mdc-list-item__primary-text{color:var(--mdc-list-list-item-label-text-color)}.mdc-list-item__primary-text{font-family:var(--mdc-list-list-item-label-text-font);line-height:var(--mdc-list-list-item-label-text-line-height);font-size:var(--mdc-list-list-item-label-text-size);font-weight:var(--mdc-list-list-item-label-text-weight);letter-spacing:var(--mdc-list-list-item-label-text-tracking)}.mdc-list-item__secondary-text{color:var(--mdc-list-list-item-supporting-text-color)}.mdc-list-item__secondary-text{font-family:var(--mdc-list-list-item-supporting-text-font);line-height:var(--mdc-list-list-item-supporting-text-line-height);font-size:var(--mdc-list-list-item-supporting-text-size);font-weight:var(--mdc-list-list-item-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-supporting-text-tracking)}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color)}.mdc-list-item--with-leading-icon .mdc-list-item__start{width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start>i{font-size:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon{font-size:var(--mdc-list-list-item-leading-icon-size);width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon,.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size);height:var(--mdc-list-list-item-leading-avatar-size)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color)}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font);line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height);font-size:var(--mdc-list-list-item-trailing-supporting-text-size);font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end>i{font-size:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon{font-size:var(--mdc-list-list-item-trailing-icon-size);width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon,.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color)}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text,.mdc-list-item--disabled .mdc-list-item__overline-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity)}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color)}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mdc-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color)}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color)}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color);opacity:var(--mdc-list-list-item-hover-state-layer-opacity)}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color);opacity:var(--mdc-list-list-item-disabled-state-layer-opacity)}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color);opacity:var(--mdc-list-list-item-focus-state-layer-opacity)}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape);background-color:var(--mdc-list-list-item-leading-avatar-color)}.mat-mdc-list-base{--mdc-list-list-item-container-shape:0;--mdc-list-list-item-leading-avatar-shape:50%;--mdc-list-list-item-container-color:transparent;--mdc-list-list-item-selected-container-color:transparent;--mdc-list-list-item-leading-avatar-color:transparent;--mdc-list-list-item-leading-icon-size:24px;--mdc-list-list-item-leading-avatar-size:40px;--mdc-list-list-item-trailing-icon-size:24px;--mdc-list-list-item-disabled-state-layer-color:transparent;--mdc-list-list-item-disabled-state-layer-opacity:0;--mdc-list-list-item-disabled-label-text-opacity:0.38;--mdc-list-list-item-disabled-leading-icon-opacity:0.38;--mdc-list-list-item-disabled-trailing-icon-opacity:0.38}.cdk-high-contrast-active a.mdc-list-item--activated::after{content:\\\"\\\";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:\\\"\\\";opacity:0;pointer-events:none}.mat-mdc-list-item>.mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}\"] }]\n }] });\nclass MatListItem extends MatListItemBase {\n /** Indicates whether an item in a `<mat-nav-list>` is the currently active page. */\n get activated() {\n return this._activated;\n }\n set activated(activated) {\n this._activated = coerceBooleanProperty(activated);\n }\n constructor(element, ngZone, listBase, platform, globalRippleOptions, animationMode) {\n super(element, ngZone, listBase, platform, globalRippleOptions, animationMode);\n this._activated = false;\n }\n /**\n * Determine the value of `aria-current`. Return 'page' if this item is an activated anchor tag.\n * Otherwise, return `null`. This method is safe to use with server-side rendering.\n */\n _getAriaCurrent() {\n return this._hostElement.nodeName === 'A' && this._activated ? 'page' : null;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatListItem, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: MatListBase, optional: true }, { token: i1.Platform }, { token: MAT_RIPPLE_GLOBAL_OPTIONS, optional: true }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatListItem, selector: \"mat-list-item, a[mat-list-item], button[mat-list-item]\", inputs: { activated: \"activated\" }, host: { properties: { \"class.mdc-list-item--activated\": \"activated\", \"class.mdc-list-item--with-leading-avatar\": \"_avatars.length !== 0\", \"class.mdc-list-item--with-leading-icon\": \"_icons.length !== 0\", \"class.mdc-list-item--with-trailing-meta\": \"_meta.length !== 0\", \"class._mat-animation-noopable\": \"_noopAnimations\", \"attr.aria-current\": \"_getAriaCurrent()\" }, classAttribute: \"mat-mdc-list-item mdc-list-item\" }, queries: [{ propertyName: \"_lines\", predicate: MatListItemLine, descendants: true }, { propertyName: \"_titles\", predicate: MatListItemTitle, descendants: true }, { propertyName: \"_meta\", predicate: MatListItemMeta, descendants: true }], viewQueries: [{ propertyName: \"_unscopedContent\", first: true, predicate: [\"unscopedContent\"], descendants: true }, { propertyName: \"_itemText\", first: true, predicate: [\"text\"], descendants: true }], exportAs: [\"matListItem\"], usesInheritance: true, ngImport: i0, template: \"<ng-content select=\\\"[matListItemAvatar],[matListItemIcon]\\\"></ng-content>\\n\\n<span class=\\\"mdc-list-item__content\\\">\\n <ng-content select=\\\"[matListItemTitle]\\\"></ng-content>\\n <ng-content select=\\\"[matListItemLine]\\\"></ng-content>\\n <span #unscopedContent class=\\\"mat-mdc-list-item-unscoped-content\\\"\\n (cdkObserveContent)=\\\"_updateItemLines(true)\\\">\\n <ng-content></ng-content>\\n </span>\\n</span>\\n\\n<ng-content select=\\\"[matListItemMeta]\\\"></ng-content>\\n\\n<ng-content select=\\\"mat-divider\\\"></ng-content>\\n\\n<!--\\n Strong focus indicator element. MDC uses the `::before` pseudo element for the default\\n focus/hover/selected state, so we need a separate element.\\n-->\\n<div class=\\\"mat-mdc-focus-indicator\\\"></div>\\n\", dependencies: [{ kind: \"directive\", type: i3.CdkObserveContent, selector: \"[cdkObserveContent]\", inputs: [\"cdkObserveContentDisabled\", \"debounce\"], outputs: [\"cdkObserveContent\"], exportAs: [\"cdkObserveContent\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatListItem, decorators: [{\n type: Component,\n args: [{ selector: 'mat-list-item, a[mat-list-item], button[mat-list-item]', exportAs: 'matListItem', host: {\n 'class': 'mat-mdc-list-item mdc-list-item',\n '[class.mdc-list-item--activated]': 'activated',\n '[class.mdc-list-item--with-leading-avatar]': '_avatars.length !== 0',\n '[class.mdc-list-item--with-leading-icon]': '_icons.length !== 0',\n '[class.mdc-list-item--with-trailing-meta]': '_meta.length !== 0',\n '[class._mat-animation-noopable]': '_noopAnimations',\n '[attr.aria-current]': '_getAriaCurrent()',\n }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: \"<ng-content select=\\\"[matListItemAvatar],[matListItemIcon]\\\"></ng-content>\\n\\n<span class=\\\"mdc-list-item__content\\\">\\n <ng-content select=\\\"[matListItemTitle]\\\"></ng-content>\\n <ng-content select=\\\"[matListItemLine]\\\"></ng-content>\\n <span #unscopedContent class=\\\"mat-mdc-list-item-unscoped-content\\\"\\n (cdkObserveContent)=\\\"_updateItemLines(true)\\\">\\n <ng-content></ng-content>\\n </span>\\n</span>\\n\\n<ng-content select=\\\"[matListItemMeta]\\\"></ng-content>\\n\\n<ng-content select=\\\"mat-divider\\\"></ng-content>\\n\\n<!--\\n Strong focus indicator element. MDC uses the `::before` pseudo element for the default\\n focus/hover/selected state, so we need a separate element.\\n-->\\n<div class=\\\"mat-mdc-focus-indicator\\\"></div>\\n\" }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: MatListBase, decorators: [{\n type: Optional\n }] }, { type: i1.Platform }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_RIPPLE_GLOBAL_OPTIONS]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }]; }, propDecorators: { _lines: [{\n type: ContentChildren,\n args: [MatListItemLine, { descendants: true }]\n }], _titles: [{\n type: ContentChildren,\n args: [MatListItemTitle, { descendants: true }]\n }], _meta: [{\n type: ContentChildren,\n args: [MatListItemMeta, { descendants: true }]\n }], _unscopedContent: [{\n type: ViewChild,\n args: ['unscopedContent']\n }], _itemText: [{\n type: ViewChild,\n args: ['text']\n }], activated: [{\n type: Input\n }] } });\n\n/**\n * Injection token that can be used to reference instances of an `SelectionList`. It serves\n * as alternative token to an actual implementation which would result in circular references.\n * @docs-private\n */\nconst SELECTION_LIST = new InjectionToken('SelectionList');\nclass MatListOption extends MatListItemBase {\n /**\n * Whether the label should appear before or after the checkbox/radio. Defaults to 'after'\n *\n * @deprecated Use `togglePosition` instead.\n * @breaking-change 17.0.0\n */\n get checkboxPosition() {\n return this.togglePosition;\n }\n set checkboxPosition(value) {\n this.togglePosition = value;\n }\n /** Theme color of the list option. This sets the color of the checkbox/radio. */\n get color() {\n return this._color || this._selectionList.color;\n }\n set color(newValue) {\n this._color = newValue;\n }\n /** Value of the option */\n get value() {\n return this._value;\n }\n set value(newValue) {\n if (this.selected && newValue !== this.value && this._inputsInitialized) {\n this.selected = false;\n }\n this._value = newValue;\n }\n /** Whether the option is selected. */\n get selected() {\n return this._selectionList.selectedOptions.isSelected(this);\n }\n set selected(value) {\n const isSelected = coerceBooleanProperty(value);\n if (isSelected !== this._selected) {\n this._setSelected(isSelected);\n if (isSelected || this._selectionList.multiple) {\n this._selectionList._reportValueChange();\n }\n }\n }\n constructor(elementRef, ngZone, _selectionList, platform, _changeDetectorRef, globalRippleOptions, animationMode) {\n super(elementRef, ngZone, _selectionList, platform, globalRippleOptions, animationMode);\n this._selectionList = _selectionList;\n this._changeDetectorRef = _changeDetectorRef;\n /**\n * Emits when the selected state of the option has changed.\n * Use to facilitate two-data binding to the `selected` property.\n * @docs-private\n */\n this.selectedChange = new EventEmitter();\n /** Whether the label should appear before or after the checkbox/radio. Defaults to 'after' */\n this.togglePosition = 'after';\n this._selected = false;\n /**\n * This is set to true after the first OnChanges cycle so we don't\n * clear the value of `selected` in the first cycle.\n */\n this._inputsInitialized = false;\n }\n ngOnInit() {\n const list = this._selectionList;\n if (list._value && list._value.some(value => list.compareWith(this._value, value))) {\n this._setSelected(true);\n }\n const wasSelected = this._selected;\n // List options that are selected at initialization can't be reported properly to the form\n // control. This is because it takes some time until the selection-list knows about all\n // available options. Also it can happen that the ControlValueAccessor has an initial value\n // that should be used instead. Deferring the value change report to the next tick ensures\n // that the form control value is not being overwritten.\n Promise.resolve().then(() => {\n if (this._selected || wasSelected) {\n this.selected = true;\n this._changeDetectorRef.markForCheck();\n }\n });\n this._inputsInitialized = true;\n }\n ngOnDestroy() {\n super.ngOnDestroy();\n if (this.selected) {\n // We have to delay this until the next tick in order\n // to avoid changed after checked errors.\n Promise.resolve().then(() => {\n this.selected = false;\n });\n }\n }\n /** Toggles the selection state of the option. */\n toggle() {\n this.selected = !this.selected;\n }\n /** Allows for programmatic focusing of the option. */\n focus() {\n this._hostElement.focus();\n }\n /** Gets the text label of the list option. Used for the typeahead functionality in the list. */\n getLabel() {\n const titleElement = this._titles?.get(0)?._elementRef.nativeElement;\n // If there is no explicit title element, the unscoped text content\n // is treated as the list item title.\n const labelEl = titleElement || this._unscopedContent?.nativeElement;\n return labelEl?.textContent || '';\n }\n /** Whether a checkbox is shown at the given position. */\n _hasCheckboxAt(position) {\n return this._selectionList.multiple && this._getTogglePosition() === position;\n }\n /** Where a radio indicator is shown at the given position. */\n _hasRadioAt(position) {\n return (!this._selectionList.multiple &&\n this._getTogglePosition() === position &&\n !this._selectionList.hideSingleSelectionIndicator);\n }\n /** Whether icons or avatars are shown at the given position. */\n _hasIconsOrAvatarsAt(position) {\n return this._hasProjected('icons', position) || this._hasProjected('avatars', position);\n }\n /** Gets whether the given type of element is projected at the specified position. */\n _hasProjected(type, position) {\n // If the checkbox/radio is shown at the specified position, neither icons or\n // avatars can be shown at the position.\n return (this._getTogglePosition() !== position &&\n (type === 'avatars' ? this._avatars.length !== 0 : this._icons.length !== 0));\n }\n _handleBlur() {\n this._selectionList._onTouched();\n }\n /** Gets the current position of the checkbox/radio. */\n _getTogglePosition() {\n return this.togglePosition || 'after';\n }\n /**\n * Sets the selected state of the option.\n * @returns Whether the value has changed.\n */\n _setSelected(selected) {\n if (selected === this._selected) {\n return false;\n }\n this._selected = selected;\n if (selected) {\n this._selectionList.selectedOptions.select(this);\n }\n else {\n this._selectionList.selectedOptions.deselect(this);\n }\n this.selectedChange.emit(selected);\n this._changeDetectorRef.markForCheck();\n return true;\n }\n /**\n * Notifies Angular that the option needs to be checked in the next change detection run.\n * Mainly used to trigger an update of the list option if the disabled state of the selection\n * list changed.\n */\n _markForCheck() {\n this._changeDetectorRef.markForCheck();\n }\n /** Toggles the option's value based on a user interaction. */\n _toggleOnInteraction() {\n if (!this.disabled) {\n if (this._selectionList.multiple) {\n this.selected = !this.selected;\n this._selectionList._emitChangeEvent([this]);\n }\n else if (!this.selected) {\n this.selected = true;\n this._selectionList._emitChangeEvent([this]);\n }\n }\n }\n /** Sets the tabindex of the list option. */\n _setTabindex(value) {\n this._hostElement.setAttribute('tabindex', value + '');\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatListOption, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: SELECTION_LIST }, { token: i1.Platform }, { token: i0.ChangeDetectorRef }, { token: MAT_RIPPLE_GLOBAL_OPTIONS, optional: true }, { token: ANIMATION_MODULE_TYPE$1, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatListOption, selector: \"mat-list-option\", inputs: { togglePosition: \"togglePosition\", checkboxPosition: \"checkboxPosition\", color: \"color\", value: \"value\", selected: \"selected\" }, outputs: { selectedChange: \"selectedChange\" }, host: { attributes: { \"role\": \"option\" }, listeners: { \"blur\": \"_handleBlur()\", \"click\": \"_toggleOnInteraction()\" }, properties: { \"class.mdc-list-item--selected\": \"selected && !_selectionList.multiple && _selectionList.hideSingleSelectionIndicator\", \"class.mdc-list-item--with-leading-avatar\": \"_hasProjected(\\\"avatars\\\", \\\"before\\\")\", \"class.mdc-list-item--with-leading-icon\": \"_hasProjected(\\\"icons\\\", \\\"before\\\")\", \"class.mdc-list-item--with-trailing-icon\": \"_hasProjected(\\\"icons\\\", \\\"after\\\")\", \"class.mat-mdc-list-option-with-trailing-avatar\": \"_hasProjected(\\\"avatars\\\", \\\"after\\\")\", \"class.mdc-list-item--with-leading-checkbox\": \"_hasCheckboxAt(\\\"before\\\")\", \"class.mdc-list-item--with-trailing-checkbox\": \"_hasCheckboxAt(\\\"after\\\")\", \"class.mdc-list-item--with-leading-radio\": \"_hasRadioAt(\\\"before\\\")\", \"class.mdc-list-item--with-trailing-radio\": \"_hasRadioAt(\\\"after\\\")\", \"class.mat-accent\": \"color !== \\\"primary\\\" && color !== \\\"warn\\\"\", \"class.mat-warn\": \"color === \\\"warn\\\"\", \"class._mat-animation-noopable\": \"_noopAnimations\", \"attr.aria-selected\": \"selected\" }, classAttribute: \"mat-mdc-list-item mat-mdc-list-option mdc-list-item\" }, providers: [\n { provide: MatListItemBase, useExisting: MatListOption },\n { provide: LIST_OPTION, useExisting: MatListOption },\n ], queries: [{ propertyName: \"_lines\", predicate: MatListItemLine, descendants: true }, { propertyName: \"_titles\", predicate: MatListItemTitle, descendants: true }], viewQueries: [{ propertyName: \"_unscopedContent\", first: true, predicate: [\"unscopedContent\"], descendants: true }], exportAs: [\"matListOption\"], usesInheritance: true, ngImport: i0, template: \"<!--\\n Save icons and the pseudo checkbox/radio so that they can be re-used in the template without\\n duplication. Also content can only be injected once so we need to extract icons/avatars\\n into a template since we use it in multiple places.\\n-->\\n<ng-template #icons>\\n <ng-content select=\\\"[matListItemAvatar],[matListItemIcon]\\\">\\n </ng-content>\\n</ng-template>\\n\\n<ng-template #checkbox>\\n <div class=\\\"mdc-checkbox\\\" [class.mdc-checkbox--disabled]=\\\"disabled\\\">\\n <input type=\\\"checkbox\\\" class=\\\"mdc-checkbox__native-control\\\"\\n [checked]=\\\"selected\\\" [disabled]=\\\"disabled\\\"/>\\n <div class=\\\"mdc-checkbox__background\\\">\\n <svg class=\\\"mdc-checkbox__checkmark\\\"\\n viewBox=\\\"0 0 24 24\\\"\\n aria-hidden=\\\"true\\\">\\n <path class=\\\"mdc-checkbox__checkmark-path\\\"\\n fill=\\\"none\\\"\\n d=\\\"M1.73,12.91 8.1,19.28 22.79,4.59\\\"/>\\n </svg>\\n <div class=\\\"mdc-checkbox__mixedmark\\\"></div>\\n </div>\\n </div>\\n</ng-template>\\n\\n<ng-template #radio>\\n <div class=\\\"mdc-radio\\\" [class.mdc-radio--disabled]=\\\"disabled\\\">\\n <input type=\\\"radio\\\" class=\\\"mdc-radio__native-control\\\"\\n [checked]=\\\"selected\\\" [disabled]=\\\"disabled\\\"/>\\n <div class=\\\"mdc-radio__background\\\">\\n <div class=\\\"mdc-radio__outer-circle\\\"></div>\\n <div class=\\\"mdc-radio__inner-circle\\\"></div>\\n </div>\\n </div>\\n</ng-template>\\n\\n<!-- Container for the checkbox at start. -->\\n<span class=\\\"mdc-list-item__start mat-mdc-list-option-checkbox-before\\\"\\n *ngIf=\\\"_hasCheckboxAt('before')\\\">\\n <ng-template [ngTemplateOutlet]=\\\"checkbox\\\"></ng-template>\\n</span>\\n<!-- Container for the radio at the start. -->\\n<span class=\\\"mdc-list-item__start mat-mdc-list-option-radio-before\\\"\\n *ngIf=\\\"_hasRadioAt('before')\\\">\\n <ng-template [ngTemplateOutlet]=\\\"radio\\\"></ng-template>\\n</span>\\n<!-- Conditionally renders icons/avatars before the list item text. -->\\n<ng-template [ngIf]=\\\"_hasIconsOrAvatarsAt('before')\\\">\\n <ng-template [ngTemplateOutlet]=\\\"icons\\\"></ng-template>\\n</ng-template>\\n\\n<!-- Text -->\\n<span class=\\\"mdc-list-item__content\\\">\\n <ng-content select=\\\"[matListItemTitle]\\\"></ng-content>\\n <ng-content select=\\\"[matListItemLine]\\\"></ng-content>\\n <span #unscopedContent class=\\\"mat-mdc-list-item-unscoped-content\\\"\\n (cdkObserveContent)=\\\"_updateItemLines(true)\\\">\\n <ng-content></ng-content>\\n </span>\\n</span>\\n\\n<!-- Container for the checkbox at the end. -->\\n<span class=\\\"mdc-list-item__end\\\" *ngIf=\\\"_hasCheckboxAt('after')\\\">\\n <ng-template [ngTemplateOutlet]=\\\"checkbox\\\"></ng-template>\\n</span>\\n<!-- Container for the radio at the end. -->\\n<span class=\\\"mdc-list-item__end\\\" *ngIf=\\\"_hasRadioAt('after')\\\">\\n <ng-template [ngTemplateOutlet]=\\\"radio\\\"></ng-template>\\n</span>\\n<!-- Conditionally renders icons/avatars after the list item text. -->\\n<ng-template [ngIf]=\\\"_hasIconsOrAvatarsAt('after')\\\">\\n <ng-template [ngTemplateOutlet]=\\\"icons\\\"></ng-template>\\n</ng-template>\\n\\n<!-- Divider -->\\n<ng-content select=\\\"mat-divider\\\"></ng-content>\\n\\n<!--\\n Strong focus indicator element. MDC uses the `::before` pseudo element for the default\\n focus/hover/selected state, so we need a separate element.\\n-->\\n<div class=\\\"mat-mdc-focus-indicator\\\"></div>\\n\", styles: [\".mat-mdc-list-option-with-trailing-avatar.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mat-mdc-list-option-with-trailing-avatar.mdc-list-item,.mat-mdc-list-option-with-trailing-avatar.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end,.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{width:40px;height:40px}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{border-radius:50%}.mat-mdc-list-option .mdc-touch-target-wrapper{display:inline}.mat-mdc-list-option .mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mat-mdc-list-option .mdc-checkbox[hidden]{display:none}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-list-option .mdc-checkbox__mixedmark{margin:0 1px}}.mat-mdc-list-option .mdc-checkbox--disabled{cursor:default;pointer-events:none}.mat-mdc-list-option .mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color}.mat-mdc-list-option .mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0}.mdc-checkbox--upgraded .mat-mdc-list-option .mdc-checkbox__checkmark{opacity:1}.mat-mdc-list-option .mdc-checkbox__checkmark-path{stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mat-mdc-list-option .mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mat-mdc-list-option .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mat-mdc-list-option .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mat-mdc-list-option .mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mat-mdc-list-option .mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size, 48px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mat-mdc-list-option .mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);width:var(--mdc-checkbox-state-layer-size, 48px);height:var(--mdc-checkbox-state-layer-size, 48px)}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{opacity:1}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mat-mdc-list-option .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0}.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mat-mdc-list-option .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mat-mdc-list-option .mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color}.mat-mdc-list-option .mdc-radio[hidden]{display:none}.mat-mdc-list-option .mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mat-mdc-list-option .mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:\\\"\\\"}.mat-mdc-list-option .mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%}.mat-mdc-list-option .mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%}.mat-mdc-list-option .mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1}.mat-mdc-list-option .mdc-radio--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mat-mdc-list-option .mdc-radio--touch .mdc-radio__native-control{top:calc((40px - 48px) / 2);right:calc((40px - 48px) / 2);left:calc((40px - 48px) / 2);width:48px;height:48px}.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{border-color:CanvasText}}.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{border-color:CanvasText}}.mat-mdc-list-option .mdc-radio--disabled{cursor:default;pointer-events:none}.mat-mdc-list-option .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5)}.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background,.mat-mdc-list-option [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background{cursor:default}.mat-mdc-list-option .mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}@media all and (-ms-high-contrast: none){.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox .mdc-checkbox__focus-ring{display:none}}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__background{transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__mixedmark{transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__background::before{transition:opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:focus+.mdc-radio__background::before{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option .mdc-checkbox{padding:calc((40px - 18px) / 2);padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);margin:calc((40px - 40px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.38);border-color:var(--mdc-checkbox-disabled-unselected-icon-color, rgba(0, 0, 0, 0.38));background-color:transparent}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:rgba(0, 0, 0, 0.38);background-color:var(--mdc-checkbox-disabled-selected-icon-color, rgba(0, 0, 0, 0.38))}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:#fff;color:var(--mdc-checkbox-selected-checkmark-color, \\\"#fff\\\")}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:#fff;border-color:var(--mdc-checkbox-selected-checkmark-color, \\\"#fff\\\")}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:#fff;color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:#fff;border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:#f44336;border-color:var(--mdc-checkbox-selected-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-icon-color, #f44336)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-icon-color, #f44336)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-icon-color, #f44336)}100%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:#212121;border-color:var(--mdc-checkbox-unselected-hover-icon-color, #212121);background-color:transparent}.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:#f44336;border-color:var(--mdc-checkbox-selected-hover-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-hover-icon-color, #f44336)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:#212121;border-color:var(--mdc-checkbox-unselected-hover-icon-color, #212121);background-color:transparent}50%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-hover-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-hover-icon-color, #f44336)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-hover-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-hover-icon-color, #f44336)}100%{border-color:#212121;border-color:var(--mdc-checkbox-unselected-hover-icon-color, #212121);background-color:transparent}}.mat-mdc-list-option .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:#212121;border-color:var(--mdc-checkbox-unselected-focus-icon-color, #212121);background-color:transparent}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:#f44336;border-color:var(--mdc-checkbox-selected-focus-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-focus-icon-color, #f44336)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:#212121;border-color:var(--mdc-checkbox-unselected-focus-icon-color, #212121);background-color:transparent}50%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-focus-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-focus-icon-color, #f44336)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-focus-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-focus-icon-color, #f44336)}100%{border-color:#212121;border-color:var(--mdc-checkbox-unselected-focus-icon-color, #212121);background-color:transparent}}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-list-option .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:#f44336;border-color:var(--mdc-checkbox-selected-pressed-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-pressed-icon-color, #f44336)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-pressed-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-pressed-icon-color, #f44336)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-pressed-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-pressed-icon-color, #f44336)}100%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-list-option .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__ripple::after{background-color:black;background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, black)}.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox.mdc-ripple-surface--hover .mdc-checkbox__ripple::before{opacity:0.04;opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity, 0.04)}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__ripple::before{transition-duration:75ms;opacity:0.16;opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity, 0.16)}.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded) .mdc-checkbox__ripple::after{transition:opacity 150ms linear}.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):active .mdc-checkbox__ripple::after{transition-duration:75ms;opacity:0.16;opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity, 0.16)}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity, 0.16)}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected .mdc-checkbox__ripple::after{background-color:#f44336;background-color:var(--mdc-checkbox-selected-hover-state-layer-color, #f44336)}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected:hover .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected.mdc-ripple-surface--hover .mdc-checkbox__ripple::before{opacity:0.04;opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity, 0.04)}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected.mdc-ripple-upgraded--background-focused .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded):focus .mdc-checkbox__ripple::before{transition-duration:75ms;opacity:0.16;opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity, 0.16)}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded) .mdc-checkbox__ripple::after{transition:opacity 150ms linear}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded):active .mdc-checkbox__ripple::after{transition-duration:75ms;opacity:0.16;opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity, 0.16)}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity, 0.16)}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--selected .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--selected .mdc-checkbox__ripple::after{background-color:#f44336;background-color:var(--mdc-checkbox-selected-hover-state-layer-color, #f44336)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__background{top:calc((40px - 18px) / 2);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);left:calc((40px - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control{top:calc((40px - 40px) / 2);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);right:calc((40px - 40px) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);left:calc((40px - 40px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);width:40px;width:var(--mdc-checkbox-state-layer-size, 40px);height:40px;height:var(--mdc-checkbox-state-layer-size, 40px)}.mat-mdc-list-option .mdc-radio{padding:calc((40px - 20px) / 2);padding:calc((var(--mdc-radio-state-layer-size, 40px) - 20px) / 2)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#000;border-color:var(--mdc-radio-disabled-selected-icon-color, #000)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#000;border-color:var(--mdc-radio-disabled-selected-icon-color, #000)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{opacity:0.38;opacity:var(--mdc-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{opacity:0.38;opacity:var(--mdc-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:#000;border-color:var(--mdc-radio-disabled-unselected-icon-color, #000)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{opacity:0.38;opacity:var(--mdc-radio-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-focus-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-focus-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-hover-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio:hover .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-hover-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-pressed-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-pressed-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio:hover .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:#212121;border-color:var(--mdc-radio-unselected-hover-icon-color, #212121)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-radio-unselected-icon-color, rgba(0, 0, 0, 0.54))}.mat-mdc-list-option .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-radio-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54))}.mat-mdc-list-option .mdc-radio .mdc-radio__background::before{top:calc(-1 * (40px - 20px) / 2);top:calc(-1 * (var(--mdc-radio-state-layer-size, 40px) - 20px) / 2);left:calc(-1 * (40px - 20px) / 2);left:calc(-1 * (var(--mdc-radio-state-layer-size, 40px) - 20px) / 2);width:40px;width:var(--mdc-radio-state-layer-size, 40px);height:40px;height:var(--mdc-radio-state-layer-size, 40px)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control{top:calc((40px - 40px) / 2);top:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);right:calc((40px - 40px) / 2);right:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);left:calc((40px - 40px) / 2);left:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);width:40px;width:var(--mdc-radio-state-layer-size, 40px);height:40px;height:var(--mdc-radio-state-layer-size, 40px)}.mat-mdc-list-option .mdc-checkbox__native-control,.mat-mdc-list-option .mdc-radio__native-control{display:none}.cdk-high-contrast-active .mat-mdc-list-option.mdc-list-item--selected::after{content:\\\"\\\";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active .mat-mdc-list-option.mdc-list-item--selected [dir=rtl]::after{right:auto;left:16px}\"], dependencies: [{ kind: \"directive\", type: i3.CdkObserveContent, selector: \"[cdkObserveContent]\", inputs: [\"cdkObserveContentDisabled\", \"debounce\"], outputs: [\"cdkObserveContent\"], exportAs: [\"cdkObserveContent\"] }, { kind: \"directive\", type: i3$1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i3$1.NgTemplateOutlet, selector: \"[ngTemplateOutlet]\", inputs: [\"ngTemplateOutletContext\", \"ngTemplateOutlet\", \"ngTemplateOutletInjector\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatListOption, decorators: [{\n type: Component,\n args: [{ selector: 'mat-list-option', exportAs: 'matListOption', host: {\n 'class': 'mat-mdc-list-item mat-mdc-list-option mdc-list-item',\n 'role': 'option',\n // As per MDC, only list items without checkbox or radio indicator should receive the\n // `--selected` class.\n '[class.mdc-list-item--selected]': 'selected && !_selectionList.multiple && _selectionList.hideSingleSelectionIndicator',\n // Based on the checkbox/radio position and whether there are icons or avatars, we apply MDC's\n // list-item `--leading` and `--trailing` classes.\n '[class.mdc-list-item--with-leading-avatar]': '_hasProjected(\"avatars\", \"before\")',\n '[class.mdc-list-item--with-leading-icon]': '_hasProjected(\"icons\", \"before\")',\n '[class.mdc-list-item--with-trailing-icon]': '_hasProjected(\"icons\", \"after\")',\n '[class.mat-mdc-list-option-with-trailing-avatar]': '_hasProjected(\"avatars\", \"after\")',\n // Based on the checkbox/radio position, we apply the `--leading` or `--trailing` MDC classes\n // which ensure that the checkbox/radio is positioned correctly within the list item.\n '[class.mdc-list-item--with-leading-checkbox]': '_hasCheckboxAt(\"before\")',\n '[class.mdc-list-item--with-trailing-checkbox]': '_hasCheckboxAt(\"after\")',\n '[class.mdc-list-item--with-leading-radio]': '_hasRadioAt(\"before\")',\n '[class.mdc-list-item--with-trailing-radio]': '_hasRadioAt(\"after\")',\n '[class.mat-accent]': 'color !== \"primary\" && color !== \"warn\"',\n '[class.mat-warn]': 'color === \"warn\"',\n '[class._mat-animation-noopable]': '_noopAnimations',\n '[attr.aria-selected]': 'selected',\n '(blur)': '_handleBlur()',\n '(click)': '_toggleOnInteraction()',\n }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [\n { provide: MatListItemBase, useExisting: MatListOption },\n { provide: LIST_OPTION, useExisting: MatListOption },\n ], template: \"<!--\\n Save icons and the pseudo checkbox/radio so that they can be re-used in the template without\\n duplication. Also content can only be injected once so we need to extract icons/avatars\\n into a template since we use it in multiple places.\\n-->\\n<ng-template #icons>\\n <ng-content select=\\\"[matListItemAvatar],[matListItemIcon]\\\">\\n </ng-content>\\n</ng-template>\\n\\n<ng-template #checkbox>\\n <div class=\\\"mdc-checkbox\\\" [class.mdc-checkbox--disabled]=\\\"disabled\\\">\\n <input type=\\\"checkbox\\\" class=\\\"mdc-checkbox__native-control\\\"\\n [checked]=\\\"selected\\\" [disabled]=\\\"disabled\\\"/>\\n <div class=\\\"mdc-checkbox__background\\\">\\n <svg class=\\\"mdc-checkbox__checkmark\\\"\\n viewBox=\\\"0 0 24 24\\\"\\n aria-hidden=\\\"true\\\">\\n <path class=\\\"mdc-checkbox__checkmark-path\\\"\\n fill=\\\"none\\\"\\n d=\\\"M1.73,12.91 8.1,19.28 22.79,4.59\\\"/>\\n </svg>\\n <div class=\\\"mdc-checkbox__mixedmark\\\"></div>\\n </div>\\n </div>\\n</ng-template>\\n\\n<ng-template #radio>\\n <div class=\\\"mdc-radio\\\" [class.mdc-radio--disabled]=\\\"disabled\\\">\\n <input type=\\\"radio\\\" class=\\\"mdc-radio__native-control\\\"\\n [checked]=\\\"selected\\\" [disabled]=\\\"disabled\\\"/>\\n <div class=\\\"mdc-radio__background\\\">\\n <div class=\\\"mdc-radio__outer-circle\\\"></div>\\n <div class=\\\"mdc-radio__inner-circle\\\"></div>\\n </div>\\n </div>\\n</ng-template>\\n\\n<!-- Container for the checkbox at start. -->\\n<span class=\\\"mdc-list-item__start mat-mdc-list-option-checkbox-before\\\"\\n *ngIf=\\\"_hasCheckboxAt('before')\\\">\\n <ng-template [ngTemplateOutlet]=\\\"checkbox\\\"></ng-template>\\n</span>\\n<!-- Container for the radio at the start. -->\\n<span class=\\\"mdc-list-item__start mat-mdc-list-option-radio-before\\\"\\n *ngIf=\\\"_hasRadioAt('before')\\\">\\n <ng-template [ngTemplateOutlet]=\\\"radio\\\"></ng-template>\\n</span>\\n<!-- Conditionally renders icons/avatars before the list item text. -->\\n<ng-template [ngIf]=\\\"_hasIconsOrAvatarsAt('before')\\\">\\n <ng-template [ngTemplateOutlet]=\\\"icons\\\"></ng-template>\\n</ng-template>\\n\\n<!-- Text -->\\n<span class=\\\"mdc-list-item__content\\\">\\n <ng-content select=\\\"[matListItemTitle]\\\"></ng-content>\\n <ng-content select=\\\"[matListItemLine]\\\"></ng-content>\\n <span #unscopedContent class=\\\"mat-mdc-list-item-unscoped-content\\\"\\n (cdkObserveContent)=\\\"_updateItemLines(true)\\\">\\n <ng-content></ng-content>\\n </span>\\n</span>\\n\\n<!-- Container for the checkbox at the end. -->\\n<span class=\\\"mdc-list-item__end\\\" *ngIf=\\\"_hasCheckboxAt('after')\\\">\\n <ng-template [ngTemplateOutlet]=\\\"checkbox\\\"></ng-template>\\n</span>\\n<!-- Container for the radio at the end. -->\\n<span class=\\\"mdc-list-item__end\\\" *ngIf=\\\"_hasRadioAt('after')\\\">\\n <ng-template [ngTemplateOutlet]=\\\"radio\\\"></ng-template>\\n</span>\\n<!-- Conditionally renders icons/avatars after the list item text. -->\\n<ng-template [ngIf]=\\\"_hasIconsOrAvatarsAt('after')\\\">\\n <ng-template [ngTemplateOutlet]=\\\"icons\\\"></ng-template>\\n</ng-template>\\n\\n<!-- Divider -->\\n<ng-content select=\\\"mat-divider\\\"></ng-content>\\n\\n<!--\\n Strong focus indicator element. MDC uses the `::before` pseudo element for the default\\n focus/hover/selected state, so we need a separate element.\\n-->\\n<div class=\\\"mat-mdc-focus-indicator\\\"></div>\\n\", styles: [\".mat-mdc-list-option-with-trailing-avatar.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mat-mdc-list-option-with-trailing-avatar.mdc-list-item,.mat-mdc-list-option-with-trailing-avatar.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end,.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{width:40px;height:40px}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{border-radius:50%}.mat-mdc-list-option .mdc-touch-target-wrapper{display:inline}.mat-mdc-list-option .mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mat-mdc-list-option .mdc-checkbox[hidden]{display:none}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-list-option .mdc-checkbox__mixedmark{margin:0 1px}}.mat-mdc-list-option .mdc-checkbox--disabled{cursor:default;pointer-events:none}.mat-mdc-list-option .mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color}.mat-mdc-list-option .mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0}.mdc-checkbox--upgraded .mat-mdc-list-option .mdc-checkbox__checkmark{opacity:1}.mat-mdc-list-option .mdc-checkbox__checkmark-path{stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mat-mdc-list-option .mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mat-mdc-list-option .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mat-mdc-list-option .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mat-mdc-list-option .mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mat-mdc-list-option .mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size, 48px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mat-mdc-list-option .mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);width:var(--mdc-checkbox-state-layer-size, 48px);height:var(--mdc-checkbox-state-layer-size, 48px)}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{opacity:1}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mat-mdc-list-option .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0}.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mat-mdc-list-option .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mat-mdc-list-option .mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color}.mat-mdc-list-option .mdc-radio[hidden]{display:none}.mat-mdc-list-option .mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mat-mdc-list-option .mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:\\\"\\\"}.mat-mdc-list-option .mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%}.mat-mdc-list-option .mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%}.mat-mdc-list-option .mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1}.mat-mdc-list-option .mdc-radio--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mat-mdc-list-option .mdc-radio--touch .mdc-radio__native-control{top:calc((40px - 48px) / 2);right:calc((40px - 48px) / 2);left:calc((40px - 48px) / 2);width:48px;height:48px}.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{border-color:CanvasText}}.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{border-color:CanvasText}}.mat-mdc-list-option .mdc-radio--disabled{cursor:default;pointer-events:none}.mat-mdc-list-option .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5)}.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background,.mat-mdc-list-option [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background{cursor:default}.mat-mdc-list-option .mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}@media all and (-ms-high-contrast: none){.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox .mdc-checkbox__focus-ring{display:none}}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__background{transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__mixedmark{transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__background::before{transition:opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:focus+.mdc-radio__background::before{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option .mdc-checkbox{padding:calc((40px - 18px) / 2);padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);margin:calc((40px - 40px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.38);border-color:var(--mdc-checkbox-disabled-unselected-icon-color, rgba(0, 0, 0, 0.38));background-color:transparent}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:rgba(0, 0, 0, 0.38);background-color:var(--mdc-checkbox-disabled-selected-icon-color, rgba(0, 0, 0, 0.38))}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:#fff;color:var(--mdc-checkbox-selected-checkmark-color, \\\"#fff\\\")}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:#fff;border-color:var(--mdc-checkbox-selected-checkmark-color, \\\"#fff\\\")}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:#fff;color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:#fff;border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:#f44336;border-color:var(--mdc-checkbox-selected-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-icon-color, #f44336)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-icon-color, #f44336)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-icon-color, #f44336)}100%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:#212121;border-color:var(--mdc-checkbox-unselected-hover-icon-color, #212121);background-color:transparent}.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:#f44336;border-color:var(--mdc-checkbox-selected-hover-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-hover-icon-color, #f44336)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:#212121;border-color:var(--mdc-checkbox-unselected-hover-icon-color, #212121);background-color:transparent}50%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-hover-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-hover-icon-color, #f44336)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-hover-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-hover-icon-color, #f44336)}100%{border-color:#212121;border-color:var(--mdc-checkbox-unselected-hover-icon-color, #212121);background-color:transparent}}.mat-mdc-list-option .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:#212121;border-color:var(--mdc-checkbox-unselected-focus-icon-color, #212121);background-color:transparent}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:#f44336;border-color:var(--mdc-checkbox-selected-focus-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-focus-icon-color, #f44336)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:#212121;border-color:var(--mdc-checkbox-unselected-focus-icon-color, #212121);background-color:transparent}50%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-focus-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-focus-icon-color, #f44336)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-focus-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-focus-icon-color, #f44336)}100%{border-color:#212121;border-color:var(--mdc-checkbox-unselected-focus-icon-color, #212121);background-color:transparent}}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-list-option .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:#f44336;border-color:var(--mdc-checkbox-selected-pressed-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-pressed-icon-color, #f44336)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-pressed-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-pressed-icon-color, #f44336)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-pressed-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-pressed-icon-color, #f44336)}100%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-list-option .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__ripple::after{background-color:black;background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, black)}.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox.mdc-ripple-surface--hover .mdc-checkbox__ripple::before{opacity:0.04;opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity, 0.04)}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__ripple::before{transition-duration:75ms;opacity:0.16;opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity, 0.16)}.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded) .mdc-checkbox__ripple::after{transition:opacity 150ms linear}.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):active .mdc-checkbox__ripple::after{transition-duration:75ms;opacity:0.16;opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity, 0.16)}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity, 0.16)}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected .mdc-checkbox__ripple::after{background-color:#f44336;background-color:var(--mdc-checkbox-selected-hover-state-layer-color, #f44336)}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected:hover .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected.mdc-ripple-surface--hover .mdc-checkbox__ripple::before{opacity:0.04;opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity, 0.04)}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected.mdc-ripple-upgraded--background-focused .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded):focus .mdc-checkbox__ripple::before{transition-duration:75ms;opacity:0.16;opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity, 0.16)}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded) .mdc-checkbox__ripple::after{transition:opacity 150ms linear}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded):active .mdc-checkbox__ripple::after{transition-duration:75ms;opacity:0.16;opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity, 0.16)}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity, 0.16)}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--selected .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--selected .mdc-checkbox__ripple::after{background-color:#f44336;background-color:var(--mdc-checkbox-selected-hover-state-layer-color, #f44336)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__background{top:calc((40px - 18px) / 2);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);left:calc((40px - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control{top:calc((40px - 40px) / 2);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);right:calc((40px - 40px) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);left:calc((40px - 40px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);width:40px;width:var(--mdc-checkbox-state-layer-size, 40px);height:40px;height:var(--mdc-checkbox-state-layer-size, 40px)}.mat-mdc-list-option .mdc-radio{padding:calc((40px - 20px) / 2);padding:calc((var(--mdc-radio-state-layer-size, 40px) - 20px) / 2)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#000;border-color:var(--mdc-radio-disabled-selected-icon-color, #000)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#000;border-color:var(--mdc-radio-disabled-selected-icon-color, #000)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{opacity:0.38;opacity:var(--mdc-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{opacity:0.38;opacity:var(--mdc-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:#000;border-color:var(--mdc-radio-disabled-unselected-icon-color, #000)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{opacity:0.38;opacity:var(--mdc-radio-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-focus-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-focus-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-hover-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio:hover .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-hover-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-pressed-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-pressed-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio:hover .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:#212121;border-color:var(--mdc-radio-unselected-hover-icon-color, #212121)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-radio-unselected-icon-color, rgba(0, 0, 0, 0.54))}.mat-mdc-list-option .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-radio-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54))}.mat-mdc-list-option .mdc-radio .mdc-radio__background::before{top:calc(-1 * (40px - 20px) / 2);top:calc(-1 * (var(--mdc-radio-state-layer-size, 40px) - 20px) / 2);left:calc(-1 * (40px - 20px) / 2);left:calc(-1 * (var(--mdc-radio-state-layer-size, 40px) - 20px) / 2);width:40px;width:var(--mdc-radio-state-layer-size, 40px);height:40px;height:var(--mdc-radio-state-layer-size, 40px)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control{top:calc((40px - 40px) / 2);top:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);right:calc((40px - 40px) / 2);right:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);left:calc((40px - 40px) / 2);left:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);width:40px;width:var(--mdc-radio-state-layer-size, 40px);height:40px;height:var(--mdc-radio-state-layer-size, 40px)}.mat-mdc-list-option .mdc-checkbox__native-control,.mat-mdc-list-option .mdc-radio__native-control{display:none}.cdk-high-contrast-active .mat-mdc-list-option.mdc-list-item--selected::after{content:\\\"\\\";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active .mat-mdc-list-option.mdc-list-item--selected [dir=rtl]::after{right:auto;left:16px}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: undefined, decorators: [{\n type: Inject,\n args: [SELECTION_LIST]\n }] }, { type: i1.Platform }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_RIPPLE_GLOBAL_OPTIONS]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE$1]\n }] }]; }, propDecorators: { _lines: [{\n type: ContentChildren,\n args: [MatListItemLine, { descendants: true }]\n }], _titles: [{\n type: ContentChildren,\n args: [MatListItemTitle, { descendants: true }]\n }], _unscopedContent: [{\n type: ViewChild,\n args: ['unscopedContent']\n }], selectedChange: [{\n type: Output\n }], togglePosition: [{\n type: Input\n }], checkboxPosition: [{\n type: Input\n }], color: [{\n type: Input\n }], value: [{\n type: Input\n }], selected: [{\n type: Input\n }] } });\n\n/**\n * Directive whose purpose is to add the mat- CSS styling to this selector.\n * @docs-private\n */\nclass MatListSubheaderCssMatStyler {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatListSubheaderCssMatStyler, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatListSubheaderCssMatStyler, selector: \"[mat-subheader], [matSubheader]\", host: { classAttribute: \"mat-mdc-subheader mdc-list-group__subheader\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatListSubheaderCssMatStyler, decorators: [{\n type: Directive,\n args: [{\n selector: '[mat-subheader], [matSubheader]',\n // TODO(mmalerba): MDC's subheader font looks identical to the list item font, figure out why and\n // make a change in one of the repos to visually distinguish.\n host: { 'class': 'mat-mdc-subheader mdc-list-group__subheader' },\n }]\n }] });\n\n/**\n * Injection token that can be used to inject instances of `MatNavList`. It serves as\n * alternative token to the actual `MatNavList` class which could cause unnecessary\n * retention of the class and its component metadata.\n */\nconst MAT_NAV_LIST = new InjectionToken('MatNavList');\nclass MatNavList extends MatListBase {\n constructor() {\n super(...arguments);\n // An navigation list is considered interactive, but does not extend the interactive list\n // base class. We do this because as per MDC, items of interactive lists are only reachable\n // through keyboard shortcuts. We want all items for the navigation list to be reachable\n // through tab key as we do not intend to provide any special accessibility treatment. The\n // accessibility treatment depends on how the end-user will interact with it.\n this._isNonInteractive = false;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatNavList, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatNavList, selector: \"mat-nav-list\", host: { attributes: { \"role\": \"navigation\" }, classAttribute: \"mat-mdc-nav-list mat-mdc-list-base mdc-list\" }, providers: [{ provide: MatListBase, useExisting: MatNavList }], exportAs: [\"matNavList\"], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [\"@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-list-divider::after{content:\\\"\\\";display:block;border-bottom-width:1px;border-bottom-style:solid}}.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item__wrapper{display:block}.mdc-list-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer}.mdc-list-item:focus{outline:none}.mdc-list-item.mdc-list-item--with-one-line{height:48px}.mdc-list-item.mdc-list-item--with-two-lines{height:64px}.mdc-list-item.mdc-list-item--with-three-lines{height:88px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--disabled,.mdc-list-item.mdc-list-item--non-interactive{cursor:auto}.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px double rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected:focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected:focus::before{border-color:CanvasText}}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__content[for]{pointer-events:none}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item__overline-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:24px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start,.mdc-list-item--with-leading-avatar .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-avatar .mdc-list-item__start{border-radius:50%}.mdc-list-item--with-leading-icon.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-leading-icon .mdc-list-item__start[dir=rtl]{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-thumbnail.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-thumbnail.mdc-list-item,.mdc-list-item--with-leading-thumbnail.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-thumbnail .mdc-list-item__start,.mdc-list-item--with-leading-thumbnail .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-image.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-image.mdc-list-item,.mdc-list-item--with-leading-image.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-image .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-image .mdc-list-item__start,.mdc-list-item--with-leading-image .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-video.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-video.mdc-list-item,.mdc-list-item--with-leading-video.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-video .mdc-list-item__start{margin-left:0;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-video .mdc-list-item__start,.mdc-list-item--with-leading-video .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-checkbox.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-radio.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-radio.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-radio .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-radio .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-switch.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-switch.mdc-list-item,.mdc-list-item--with-leading-switch.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-switch .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-switch .mdc-list-item__start,.mdc-list-item--with-leading-switch .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item,.mdc-list-item--with-trailing-icon.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-icon .mdc-list-item__end,.mdc-list-item--with-trailing-icon .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item,.mdc-list-item--with-trailing-meta.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-trailing-meta .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);line-height:var(--mdc-typography-caption-line-height);font-weight:var(--mdc-typography-caption-font-weight);letter-spacing:var(--mdc-typography-caption-letter-spacing);text-decoration:var(--mdc-typography-caption-text-decoration);text-transform:var(--mdc-typography-caption-text-transform)}.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-radio.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-radio .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-radio .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-switch.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-switch.mdc-list-item,.mdc-list-item--with-trailing-switch.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-switch .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-switch .mdc-list-item__end,.mdc-list-item--with-trailing-switch .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-switch.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:0}.mdc-list-item{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-list-item,.mdc-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-list-group .mdc-deprecated-list{padding:0}.mdc-list-group__subheader{margin:calc((3rem - 1.5rem)/2) 16px}.mdc-list-divider{padding:0;background-clip:content-box}.mdc-list-divider.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset{padding-left:16px;padding-right:auto}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset,.mdc-list-divider.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:16px}.mdc-list-divider.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset{padding-left:auto;padding-right:16px}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset,.mdc-list-divider.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset[dir=rtl]{padding-left:16px;padding-right:auto}.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset{padding-left:0px;padding-right:auto}[dir=rtl] .mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:0px}[dir=rtl] .mdc-list-divider,.mdc-list-divider[dir=rtl]{padding:0}.mdc-list-item{background-color:var(--mdc-list-list-item-container-color)}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item--with-one-line{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-avatar,.mdc-list-item--with-one-line.mdc-list-item--with-leading-icon,.mdc-list-item--with-one-line.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-one-line.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-one-line.mdc-list-item--with-leading-radio,.mdc-list-item--with-one-line.mdc-list-item--with-leading-switch{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-image,.mdc-list-item--with-one-line.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines.mdc-list-item--with-leading-avatar,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-icon,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-radio,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-switch,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-image,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-three-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height)}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height)}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height)}.mdc-list-item__primary-text{color:var(--mdc-list-list-item-label-text-color)}.mdc-list-item__primary-text{font-family:var(--mdc-list-list-item-label-text-font);line-height:var(--mdc-list-list-item-label-text-line-height);font-size:var(--mdc-list-list-item-label-text-size);font-weight:var(--mdc-list-list-item-label-text-weight);letter-spacing:var(--mdc-list-list-item-label-text-tracking)}.mdc-list-item__secondary-text{color:var(--mdc-list-list-item-supporting-text-color)}.mdc-list-item__secondary-text{font-family:var(--mdc-list-list-item-supporting-text-font);line-height:var(--mdc-list-list-item-supporting-text-line-height);font-size:var(--mdc-list-list-item-supporting-text-size);font-weight:var(--mdc-list-list-item-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-supporting-text-tracking)}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color)}.mdc-list-item--with-leading-icon .mdc-list-item__start{width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start>i{font-size:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon{font-size:var(--mdc-list-list-item-leading-icon-size);width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon,.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size);height:var(--mdc-list-list-item-leading-avatar-size)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color)}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font);line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height);font-size:var(--mdc-list-list-item-trailing-supporting-text-size);font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end>i{font-size:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon{font-size:var(--mdc-list-list-item-trailing-icon-size);width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon,.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color)}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text,.mdc-list-item--disabled .mdc-list-item__overline-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity)}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color)}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mdc-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color)}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color)}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color);opacity:var(--mdc-list-list-item-hover-state-layer-opacity)}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color);opacity:var(--mdc-list-list-item-disabled-state-layer-opacity)}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color);opacity:var(--mdc-list-list-item-focus-state-layer-opacity)}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape);background-color:var(--mdc-list-list-item-leading-avatar-color)}.mat-mdc-list-base{--mdc-list-list-item-container-shape:0;--mdc-list-list-item-leading-avatar-shape:50%;--mdc-list-list-item-container-color:transparent;--mdc-list-list-item-selected-container-color:transparent;--mdc-list-list-item-leading-avatar-color:transparent;--mdc-list-list-item-leading-icon-size:24px;--mdc-list-list-item-leading-avatar-size:40px;--mdc-list-list-item-trailing-icon-size:24px;--mdc-list-list-item-disabled-state-layer-color:transparent;--mdc-list-list-item-disabled-state-layer-opacity:0;--mdc-list-list-item-disabled-label-text-opacity:0.38;--mdc-list-list-item-disabled-leading-icon-opacity:0.38;--mdc-list-list-item-disabled-trailing-icon-opacity:0.38}.cdk-high-contrast-active a.mdc-list-item--activated::after{content:\\\"\\\";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:\\\"\\\";opacity:0;pointer-events:none}.mat-mdc-list-item>.mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatNavList, decorators: [{\n type: Component,\n args: [{ selector: 'mat-nav-list', exportAs: 'matNavList', template: '<ng-content></ng-content>', host: {\n 'class': 'mat-mdc-nav-list mat-mdc-list-base mdc-list',\n 'role': 'navigation',\n }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [{ provide: MatListBase, useExisting: MatNavList }], styles: [\"@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-list-divider::after{content:\\\"\\\";display:block;border-bottom-width:1px;border-bottom-style:solid}}.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item__wrapper{display:block}.mdc-list-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer}.mdc-list-item:focus{outline:none}.mdc-list-item.mdc-list-item--with-one-line{height:48px}.mdc-list-item.mdc-list-item--with-two-lines{height:64px}.mdc-list-item.mdc-list-item--with-three-lines{height:88px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--disabled,.mdc-list-item.mdc-list-item--non-interactive{cursor:auto}.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px double rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected:focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected:focus::before{border-color:CanvasText}}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__content[for]{pointer-events:none}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item__overline-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:24px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start,.mdc-list-item--with-leading-avatar .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-avatar .mdc-list-item__start{border-radius:50%}.mdc-list-item--with-leading-icon.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-leading-icon .mdc-list-item__start[dir=rtl]{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-thumbnail.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-thumbnail.mdc-list-item,.mdc-list-item--with-leading-thumbnail.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-thumbnail .mdc-list-item__start,.mdc-list-item--with-leading-thumbnail .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-image.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-image.mdc-list-item,.mdc-list-item--with-leading-image.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-image .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-image .mdc-list-item__start,.mdc-list-item--with-leading-image .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-video.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-video.mdc-list-item,.mdc-list-item--with-leading-video.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-video .mdc-list-item__start{margin-left:0;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-video .mdc-list-item__start,.mdc-list-item--with-leading-video .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-checkbox.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-radio.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-radio.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-radio .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-radio .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-switch.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-switch.mdc-list-item,.mdc-list-item--with-leading-switch.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-switch .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-switch .mdc-list-item__start,.mdc-list-item--with-leading-switch .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item,.mdc-list-item--with-trailing-icon.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-icon .mdc-list-item__end,.mdc-list-item--with-trailing-icon .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item,.mdc-list-item--with-trailing-meta.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-trailing-meta .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);line-height:var(--mdc-typography-caption-line-height);font-weight:var(--mdc-typography-caption-font-weight);letter-spacing:var(--mdc-typography-caption-letter-spacing);text-decoration:var(--mdc-typography-caption-text-decoration);text-transform:var(--mdc-typography-caption-text-transform)}.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-radio.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-radio .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-radio .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-switch.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-switch.mdc-list-item,.mdc-list-item--with-trailing-switch.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-switch .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-switch .mdc-list-item__end,.mdc-list-item--with-trailing-switch .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-switch.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:0}.mdc-list-item{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-list-item,.mdc-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-list-group .mdc-deprecated-list{padding:0}.mdc-list-group__subheader{margin:calc((3rem - 1.5rem)/2) 16px}.mdc-list-divider{padding:0;background-clip:content-box}.mdc-list-divider.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset{padding-left:16px;padding-right:auto}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset,.mdc-list-divider.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:16px}.mdc-list-divider.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset{padding-left:auto;padding-right:16px}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset,.mdc-list-divider.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset[dir=rtl]{padding-left:16px;padding-right:auto}.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset{padding-left:0px;padding-right:auto}[dir=rtl] .mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:0px}[dir=rtl] .mdc-list-divider,.mdc-list-divider[dir=rtl]{padding:0}.mdc-list-item{background-color:var(--mdc-list-list-item-container-color)}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item--with-one-line{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-avatar,.mdc-list-item--with-one-line.mdc-list-item--with-leading-icon,.mdc-list-item--with-one-line.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-one-line.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-one-line.mdc-list-item--with-leading-radio,.mdc-list-item--with-one-line.mdc-list-item--with-leading-switch{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-image,.mdc-list-item--with-one-line.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines.mdc-list-item--with-leading-avatar,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-icon,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-radio,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-switch,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-image,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-three-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height)}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height)}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height)}.mdc-list-item__primary-text{color:var(--mdc-list-list-item-label-text-color)}.mdc-list-item__primary-text{font-family:var(--mdc-list-list-item-label-text-font);line-height:var(--mdc-list-list-item-label-text-line-height);font-size:var(--mdc-list-list-item-label-text-size);font-weight:var(--mdc-list-list-item-label-text-weight);letter-spacing:var(--mdc-list-list-item-label-text-tracking)}.mdc-list-item__secondary-text{color:var(--mdc-list-list-item-supporting-text-color)}.mdc-list-item__secondary-text{font-family:var(--mdc-list-list-item-supporting-text-font);line-height:var(--mdc-list-list-item-supporting-text-line-height);font-size:var(--mdc-list-list-item-supporting-text-size);font-weight:var(--mdc-list-list-item-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-supporting-text-tracking)}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color)}.mdc-list-item--with-leading-icon .mdc-list-item__start{width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start>i{font-size:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon{font-size:var(--mdc-list-list-item-leading-icon-size);width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon,.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size);height:var(--mdc-list-list-item-leading-avatar-size)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color)}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font);line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height);font-size:var(--mdc-list-list-item-trailing-supporting-text-size);font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end>i{font-size:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon{font-size:var(--mdc-list-list-item-trailing-icon-size);width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon,.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color)}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text,.mdc-list-item--disabled .mdc-list-item__overline-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity)}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color)}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mdc-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color)}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color)}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color);opacity:var(--mdc-list-list-item-hover-state-layer-opacity)}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color);opacity:var(--mdc-list-list-item-disabled-state-layer-opacity)}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color);opacity:var(--mdc-list-list-item-focus-state-layer-opacity)}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape);background-color:var(--mdc-list-list-item-leading-avatar-color)}.mat-mdc-list-base{--mdc-list-list-item-container-shape:0;--mdc-list-list-item-leading-avatar-shape:50%;--mdc-list-list-item-container-color:transparent;--mdc-list-list-item-selected-container-color:transparent;--mdc-list-list-item-leading-avatar-color:transparent;--mdc-list-list-item-leading-icon-size:24px;--mdc-list-list-item-leading-avatar-size:40px;--mdc-list-list-item-trailing-icon-size:24px;--mdc-list-list-item-disabled-state-layer-color:transparent;--mdc-list-list-item-disabled-state-layer-opacity:0;--mdc-list-list-item-disabled-label-text-opacity:0.38;--mdc-list-list-item-disabled-leading-icon-opacity:0.38;--mdc-list-list-item-disabled-trailing-icon-opacity:0.38}.cdk-high-contrast-active a.mdc-list-item--activated::after{content:\\\"\\\";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:\\\"\\\";opacity:0;pointer-events:none}.mat-mdc-list-item>.mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}\"] }]\n }] });\n\nconst MAT_SELECTION_LIST_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => MatSelectionList),\n multi: true,\n};\n/** Change event that is being fired whenever the selected state of an option changes. */\nclass MatSelectionListChange {\n constructor(\n /** Reference to the selection list that emitted the event. */\n source, \n /** Reference to the options that have been changed. */\n options) {\n this.source = source;\n this.options = options;\n }\n}\nclass MatSelectionList extends MatListBase {\n /** Whether selection is limited to one or multiple items (default multiple). */\n get multiple() {\n return this._multiple;\n }\n set multiple(value) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this._multiple) {\n if ((typeof ngDevMode === 'undefined' || ngDevMode) && this._initialized) {\n throw new Error('Cannot change `multiple` mode of mat-selection-list after initialization.');\n }\n this._multiple = newValue;\n this.selectedOptions = new SelectionModel(this._multiple, this.selectedOptions.selected);\n }\n }\n /** Whether radio indicator for all list items is hidden. */\n get hideSingleSelectionIndicator() {\n return this._hideSingleSelectionIndicator;\n }\n set hideSingleSelectionIndicator(value) {\n this._hideSingleSelectionIndicator = coerceBooleanProperty(value);\n }\n constructor(_element, _ngZone) {\n super();\n this._element = _element;\n this._ngZone = _ngZone;\n this._initialized = false;\n /** Emits when the list has been destroyed. */\n this._destroyed = new Subject();\n /** View to model callback that should be called whenever the selected options change. */\n this._onChange = (_) => { };\n /** Emits a change event whenever the selected state of an option changes. */\n this.selectionChange = new EventEmitter();\n /** Theme color of the selection list. This sets the checkbox color for all list options. */\n this.color = 'accent';\n /**\n * Function used for comparing an option against the selected value when determining which\n * options should appear as selected. The first argument is the value of an options. The second\n * one is a value from the selected value. A boolean must be returned.\n */\n this.compareWith = (a1, a2) => a1 === a2;\n this._multiple = true;\n this._hideSingleSelectionIndicator = this._defaultOptions?.hideSingleSelectionIndicator ?? false;\n /** The currently selected options. */\n this.selectedOptions = new SelectionModel(this._multiple);\n /** View to model callback that should be called if the list or its options lost focus. */\n this._onTouched = () => { };\n this._selectionListDisabled = false;\n /** Handles focusout events within the list. */\n this._handleFocusout = () => {\n // Focus takes a while to update so we have to wrap our call in a timeout.\n setTimeout(() => {\n if (!this._containsFocus()) {\n this._resetActiveOption();\n }\n });\n };\n /** Handles focusin events within the list. */\n this._handleFocusin = (event) => {\n if (this.disabled) {\n return;\n }\n const activeIndex = this._items\n .toArray()\n .findIndex(item => item._elementRef.nativeElement.contains(event.target));\n if (activeIndex > -1) {\n this._setActiveOption(activeIndex);\n }\n else {\n this._resetActiveOption();\n }\n };\n this._isNonInteractive = false;\n }\n ngAfterViewInit() {\n // Mark the selection list as initialized so that the `multiple`\n // binding can no longer be changed.\n this._initialized = true;\n this._setupRovingTabindex();\n // These events are bound outside the zone, because they don't change\n // any change-detected properties and they can trigger timeouts.\n this._ngZone.runOutsideAngular(() => {\n this._element.nativeElement.addEventListener('focusin', this._handleFocusin);\n this._element.nativeElement.addEventListener('focusout', this._handleFocusout);\n });\n if (this._value) {\n this._setOptionsFromValues(this._value);\n }\n this._watchForSelectionChange();\n }\n ngOnChanges(changes) {\n const disabledChanges = changes['disabled'];\n const disableRippleChanges = changes['disableRipple'];\n const hideSingleSelectionIndicatorChanges = changes['hideSingleSelectionIndicator'];\n if ((disableRippleChanges && !disableRippleChanges.firstChange) ||\n (disabledChanges && !disabledChanges.firstChange) ||\n (hideSingleSelectionIndicatorChanges && !hideSingleSelectionIndicatorChanges.firstChange)) {\n this._markOptionsForCheck();\n }\n }\n ngOnDestroy() {\n this._keyManager?.destroy();\n this._element.nativeElement.removeEventListener('focusin', this._handleFocusin);\n this._element.nativeElement.removeEventListener('focusout', this._handleFocusout);\n this._destroyed.next();\n this._destroyed.complete();\n this._isDestroyed = true;\n }\n /** Focuses the selection list. */\n focus(options) {\n this._element.nativeElement.focus(options);\n }\n /** Selects all of the options. Returns the options that changed as a result. */\n selectAll() {\n return this._setAllOptionsSelected(true);\n }\n /** Deselects all of the options. Returns the options that changed as a result. */\n deselectAll() {\n return this._setAllOptionsSelected(false);\n }\n /** Reports a value change to the ControlValueAccessor */\n _reportValueChange() {\n // Stop reporting value changes after the list has been destroyed. This avoids\n // cases where the list might wrongly reset its value once it is removed, but\n // the form control is still live.\n if (this.options && !this._isDestroyed) {\n const value = this._getSelectedOptionValues();\n this._onChange(value);\n this._value = value;\n }\n }\n /** Emits a change event if the selected state of an option changed. */\n _emitChangeEvent(options) {\n this.selectionChange.emit(new MatSelectionListChange(this, options));\n }\n /** Implemented as part of ControlValueAccessor. */\n writeValue(values) {\n this._value = values;\n if (this.options) {\n this._setOptionsFromValues(values || []);\n }\n }\n /** Implemented as a part of ControlValueAccessor. */\n setDisabledState(isDisabled) {\n this.disabled = isDisabled;\n }\n /**\n * Whether the *entire* selection list is disabled. When true, each list item is also disabled\n * and each list item is removed from the tab order (has tabindex=\"-1\").\n */\n get disabled() {\n return this._selectionListDisabled;\n }\n set disabled(value) {\n // Update the disabled state of this list. Write to `this._selectionListDisabled` instead of\n // `super.disabled`. That is to avoid closure compiler compatibility issues with assigning to\n // a super property.\n this._selectionListDisabled = coerceBooleanProperty(value);\n if (this._selectionListDisabled) {\n this._keyManager?.setActiveItem(-1);\n }\n }\n /** Implemented as part of ControlValueAccessor. */\n registerOnChange(fn) {\n this._onChange = fn;\n }\n /** Implemented as part of ControlValueAccessor. */\n registerOnTouched(fn) {\n this._onTouched = fn;\n }\n /** Watches for changes in the selected state of the options and updates the list accordingly. */\n _watchForSelectionChange() {\n this.selectedOptions.changed.pipe(takeUntil(this._destroyed)).subscribe(event => {\n // Sync external changes to the model back to the options.\n for (let item of event.added) {\n item.selected = true;\n }\n for (let item of event.removed) {\n item.selected = false;\n }\n if (!this._containsFocus()) {\n this._resetActiveOption();\n }\n });\n }\n /** Sets the selected options based on the specified values. */\n _setOptionsFromValues(values) {\n this.options.forEach(option => option._setSelected(false));\n values.forEach(value => {\n const correspondingOption = this.options.find(option => {\n // Skip options that are already in the model. This allows us to handle cases\n // where the same primitive value is selected multiple times.\n return option.selected ? false : this.compareWith(option.value, value);\n });\n if (correspondingOption) {\n correspondingOption._setSelected(true);\n }\n });\n }\n /** Returns the values of the selected options. */\n _getSelectedOptionValues() {\n return this.options.filter(option => option.selected).map(option => option.value);\n }\n /** Marks all the options to be checked in the next change detection run. */\n _markOptionsForCheck() {\n if (this.options) {\n this.options.forEach(option => option._markForCheck());\n }\n }\n /**\n * Sets the selected state on all of the options\n * and emits an event if anything changed.\n */\n _setAllOptionsSelected(isSelected, skipDisabled) {\n // Keep track of whether anything changed, because we only want to\n // emit the changed event when something actually changed.\n const changedOptions = [];\n this.options.forEach(option => {\n if ((!skipDisabled || !option.disabled) && option._setSelected(isSelected)) {\n changedOptions.push(option);\n }\n });\n if (changedOptions.length) {\n this._reportValueChange();\n }\n return changedOptions;\n }\n // Note: This getter exists for backwards compatibility. The `_items` query list\n // cannot be named `options` as it will be picked up by the interactive list base.\n /** The option components contained within this selection-list. */\n get options() {\n return this._items;\n }\n /** Handles keydown events within the list. */\n _handleKeydown(event) {\n const activeItem = this._keyManager.activeItem;\n if ((event.keyCode === ENTER || event.keyCode === SPACE) &&\n !this._keyManager.isTyping() &&\n activeItem &&\n !activeItem.disabled) {\n event.preventDefault();\n activeItem._toggleOnInteraction();\n }\n else if (event.keyCode === A &&\n this.multiple &&\n !this._keyManager.isTyping() &&\n hasModifierKey(event, 'ctrlKey')) {\n const shouldSelect = this.options.some(option => !option.disabled && !option.selected);\n event.preventDefault();\n this._emitChangeEvent(this._setAllOptionsSelected(shouldSelect, true));\n }\n else {\n this._keyManager.onKeydown(event);\n }\n }\n /**\n * Sets up the logic for maintaining the roving tabindex.\n *\n * `skipPredicate` determines if key manager should avoid putting a given list item in the tab\n * index. Allow disabled list items to receive focus to align with WAI ARIA recommendation.\n * Normally WAI ARIA's instructions are to exclude disabled items from the tab order, but it\n * makes a few exceptions for compound widgets.\n *\n * From [Developing a Keyboard Interface](\n * https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/):\n * \"For the following composite widget elements, keep them focusable when disabled: Options in a\n * Listbox...\"\n */\n _setupRovingTabindex() {\n this._keyManager = new FocusKeyManager(this._items)\n .withHomeAndEnd()\n .withTypeAhead()\n .withWrap()\n .skipPredicate(() => this.disabled);\n // Set the initial focus.\n this._resetActiveOption();\n // Move the tabindex to the currently-focused list item.\n this._keyManager.change.subscribe(activeItemIndex => this._setActiveOption(activeItemIndex));\n // If the active item is removed from the list, reset back to the first one.\n this._items.changes.pipe(takeUntil(this._destroyed)).subscribe(() => {\n const activeItem = this._keyManager.activeItem;\n if (!activeItem || !this._items.toArray().indexOf(activeItem)) {\n this._resetActiveOption();\n }\n });\n }\n /**\n * Sets an option as active.\n * @param index Index of the active option. If set to -1, no option will be active.\n */\n _setActiveOption(index) {\n this._items.forEach((item, itemIndex) => item._setTabindex(itemIndex === index ? 0 : -1));\n this._keyManager.updateActiveItem(index);\n }\n /**\n * Resets the active option. When the list is disabled, remove all options from to the tab order.\n * Otherwise, focus the first selected option.\n */\n _resetActiveOption() {\n if (this.disabled) {\n this._setActiveOption(-1);\n return;\n }\n const activeItem = this._items.find(item => item.selected && !item.disabled) || this._items.first;\n this._setActiveOption(activeItem ? this._items.toArray().indexOf(activeItem) : -1);\n }\n /** Returns whether the focus is currently within the list. */\n _containsFocus() {\n const activeElement = _getFocusedElementPierceShadowDom();\n return activeElement && this._element.nativeElement.contains(activeElement);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSelectionList, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatSelectionList, selector: \"mat-selection-list\", inputs: { color: \"color\", compareWith: \"compareWith\", multiple: \"multiple\", hideSingleSelectionIndicator: \"hideSingleSelectionIndicator\", disabled: \"disabled\" }, outputs: { selectionChange: \"selectionChange\" }, host: { attributes: { \"role\": \"listbox\" }, listeners: { \"keydown\": \"_handleKeydown($event)\" }, properties: { \"attr.aria-multiselectable\": \"multiple\" }, classAttribute: \"mat-mdc-selection-list mat-mdc-list-base mdc-list\" }, providers: [\n MAT_SELECTION_LIST_VALUE_ACCESSOR,\n { provide: MatListBase, useExisting: MatSelectionList },\n { provide: SELECTION_LIST, useExisting: MatSelectionList },\n ], queries: [{ propertyName: \"_items\", predicate: MatListOption, descendants: true }], exportAs: [\"matSelectionList\"], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [\"@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-list-divider::after{content:\\\"\\\";display:block;border-bottom-width:1px;border-bottom-style:solid}}.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item__wrapper{display:block}.mdc-list-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer}.mdc-list-item:focus{outline:none}.mdc-list-item.mdc-list-item--with-one-line{height:48px}.mdc-list-item.mdc-list-item--with-two-lines{height:64px}.mdc-list-item.mdc-list-item--with-three-lines{height:88px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--disabled,.mdc-list-item.mdc-list-item--non-interactive{cursor:auto}.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px double rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected:focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected:focus::before{border-color:CanvasText}}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__content[for]{pointer-events:none}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item__overline-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:24px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start,.mdc-list-item--with-leading-avatar .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-avatar .mdc-list-item__start{border-radius:50%}.mdc-list-item--with-leading-icon.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-leading-icon .mdc-list-item__start[dir=rtl]{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-thumbnail.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-thumbnail.mdc-list-item,.mdc-list-item--with-leading-thumbnail.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-thumbnail .mdc-list-item__start,.mdc-list-item--with-leading-thumbnail .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-image.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-image.mdc-list-item,.mdc-list-item--with-leading-image.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-image .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-image .mdc-list-item__start,.mdc-list-item--with-leading-image .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-video.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-video.mdc-list-item,.mdc-list-item--with-leading-video.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-video .mdc-list-item__start{margin-left:0;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-video .mdc-list-item__start,.mdc-list-item--with-leading-video .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-checkbox.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-radio.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-radio.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-radio .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-radio .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-switch.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-switch.mdc-list-item,.mdc-list-item--with-leading-switch.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-switch .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-switch .mdc-list-item__start,.mdc-list-item--with-leading-switch .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item,.mdc-list-item--with-trailing-icon.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-icon .mdc-list-item__end,.mdc-list-item--with-trailing-icon .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item,.mdc-list-item--with-trailing-meta.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-trailing-meta .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);line-height:var(--mdc-typography-caption-line-height);font-weight:var(--mdc-typography-caption-font-weight);letter-spacing:var(--mdc-typography-caption-letter-spacing);text-decoration:var(--mdc-typography-caption-text-decoration);text-transform:var(--mdc-typography-caption-text-transform)}.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-radio.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-radio .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-radio .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-switch.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-switch.mdc-list-item,.mdc-list-item--with-trailing-switch.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-switch .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-switch .mdc-list-item__end,.mdc-list-item--with-trailing-switch .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-switch.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:0}.mdc-list-item{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-list-item,.mdc-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-list-group .mdc-deprecated-list{padding:0}.mdc-list-group__subheader{margin:calc((3rem - 1.5rem)/2) 16px}.mdc-list-divider{padding:0;background-clip:content-box}.mdc-list-divider.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset{padding-left:16px;padding-right:auto}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset,.mdc-list-divider.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:16px}.mdc-list-divider.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset{padding-left:auto;padding-right:16px}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset,.mdc-list-divider.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset[dir=rtl]{padding-left:16px;padding-right:auto}.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset{padding-left:0px;padding-right:auto}[dir=rtl] .mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:0px}[dir=rtl] .mdc-list-divider,.mdc-list-divider[dir=rtl]{padding:0}.mdc-list-item{background-color:var(--mdc-list-list-item-container-color)}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item--with-one-line{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-avatar,.mdc-list-item--with-one-line.mdc-list-item--with-leading-icon,.mdc-list-item--with-one-line.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-one-line.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-one-line.mdc-list-item--with-leading-radio,.mdc-list-item--with-one-line.mdc-list-item--with-leading-switch{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-image,.mdc-list-item--with-one-line.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines.mdc-list-item--with-leading-avatar,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-icon,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-radio,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-switch,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-image,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-three-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height)}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height)}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height)}.mdc-list-item__primary-text{color:var(--mdc-list-list-item-label-text-color)}.mdc-list-item__primary-text{font-family:var(--mdc-list-list-item-label-text-font);line-height:var(--mdc-list-list-item-label-text-line-height);font-size:var(--mdc-list-list-item-label-text-size);font-weight:var(--mdc-list-list-item-label-text-weight);letter-spacing:var(--mdc-list-list-item-label-text-tracking)}.mdc-list-item__secondary-text{color:var(--mdc-list-list-item-supporting-text-color)}.mdc-list-item__secondary-text{font-family:var(--mdc-list-list-item-supporting-text-font);line-height:var(--mdc-list-list-item-supporting-text-line-height);font-size:var(--mdc-list-list-item-supporting-text-size);font-weight:var(--mdc-list-list-item-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-supporting-text-tracking)}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color)}.mdc-list-item--with-leading-icon .mdc-list-item__start{width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start>i{font-size:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon{font-size:var(--mdc-list-list-item-leading-icon-size);width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon,.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size);height:var(--mdc-list-list-item-leading-avatar-size)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color)}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font);line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height);font-size:var(--mdc-list-list-item-trailing-supporting-text-size);font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end>i{font-size:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon{font-size:var(--mdc-list-list-item-trailing-icon-size);width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon,.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color)}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text,.mdc-list-item--disabled .mdc-list-item__overline-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity)}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color)}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mdc-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color)}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color)}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color);opacity:var(--mdc-list-list-item-hover-state-layer-opacity)}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color);opacity:var(--mdc-list-list-item-disabled-state-layer-opacity)}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color);opacity:var(--mdc-list-list-item-focus-state-layer-opacity)}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape);background-color:var(--mdc-list-list-item-leading-avatar-color)}.mat-mdc-list-base{--mdc-list-list-item-container-shape:0;--mdc-list-list-item-leading-avatar-shape:50%;--mdc-list-list-item-container-color:transparent;--mdc-list-list-item-selected-container-color:transparent;--mdc-list-list-item-leading-avatar-color:transparent;--mdc-list-list-item-leading-icon-size:24px;--mdc-list-list-item-leading-avatar-size:40px;--mdc-list-list-item-trailing-icon-size:24px;--mdc-list-list-item-disabled-state-layer-color:transparent;--mdc-list-list-item-disabled-state-layer-opacity:0;--mdc-list-list-item-disabled-label-text-opacity:0.38;--mdc-list-list-item-disabled-leading-icon-opacity:0.38;--mdc-list-list-item-disabled-trailing-icon-opacity:0.38}.cdk-high-contrast-active a.mdc-list-item--activated::after{content:\\\"\\\";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:\\\"\\\";opacity:0;pointer-events:none}.mat-mdc-list-item>.mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSelectionList, decorators: [{\n type: Component,\n args: [{ selector: 'mat-selection-list', exportAs: 'matSelectionList', host: {\n 'class': 'mat-mdc-selection-list mat-mdc-list-base mdc-list',\n 'role': 'listbox',\n '[attr.aria-multiselectable]': 'multiple',\n '(keydown)': '_handleKeydown($event)',\n }, template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.None, providers: [\n MAT_SELECTION_LIST_VALUE_ACCESSOR,\n { provide: MatListBase, useExisting: MatSelectionList },\n { provide: SELECTION_LIST, useExisting: MatSelectionList },\n ], changeDetection: ChangeDetectionStrategy.OnPush, styles: [\"@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-list-divider::after{content:\\\"\\\";display:block;border-bottom-width:1px;border-bottom-style:solid}}.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item__wrapper{display:block}.mdc-list-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer}.mdc-list-item:focus{outline:none}.mdc-list-item.mdc-list-item--with-one-line{height:48px}.mdc-list-item.mdc-list-item--with-two-lines{height:64px}.mdc-list-item.mdc-list-item--with-three-lines{height:88px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--disabled,.mdc-list-item.mdc-list-item--non-interactive{cursor:auto}.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px double rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected:focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected:focus::before{border-color:CanvasText}}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__content[for]{pointer-events:none}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item__overline-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:24px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start,.mdc-list-item--with-leading-avatar .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-avatar .mdc-list-item__start{border-radius:50%}.mdc-list-item--with-leading-icon.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-leading-icon .mdc-list-item__start[dir=rtl]{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-thumbnail.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-thumbnail.mdc-list-item,.mdc-list-item--with-leading-thumbnail.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-thumbnail .mdc-list-item__start,.mdc-list-item--with-leading-thumbnail .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-image.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-image.mdc-list-item,.mdc-list-item--with-leading-image.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-image .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-image .mdc-list-item__start,.mdc-list-item--with-leading-image .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-video.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-video.mdc-list-item,.mdc-list-item--with-leading-video.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-video .mdc-list-item__start{margin-left:0;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-video .mdc-list-item__start,.mdc-list-item--with-leading-video .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-checkbox.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-radio.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-radio.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-radio .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-radio .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-switch.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-switch.mdc-list-item,.mdc-list-item--with-leading-switch.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-switch .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-switch .mdc-list-item__start,.mdc-list-item--with-leading-switch .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item,.mdc-list-item--with-trailing-icon.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-icon .mdc-list-item__end,.mdc-list-item--with-trailing-icon .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item,.mdc-list-item--with-trailing-meta.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-trailing-meta .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);line-height:var(--mdc-typography-caption-line-height);font-weight:var(--mdc-typography-caption-font-weight);letter-spacing:var(--mdc-typography-caption-letter-spacing);text-decoration:var(--mdc-typography-caption-text-decoration);text-transform:var(--mdc-typography-caption-text-transform)}.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-radio.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-radio .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-radio .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-switch.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-switch.mdc-list-item,.mdc-list-item--with-trailing-switch.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-switch .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-switch .mdc-list-item__end,.mdc-list-item--with-trailing-switch .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-switch.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:0}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:\\\"\\\";vertical-align:0}.mdc-list-item{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-list-item,.mdc-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-list-group .mdc-deprecated-list{padding:0}.mdc-list-group__subheader{margin:calc((3rem - 1.5rem)/2) 16px}.mdc-list-divider{padding:0;background-clip:content-box}.mdc-list-divider.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset{padding-left:16px;padding-right:auto}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset,.mdc-list-divider.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:16px}.mdc-list-divider.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset{padding-left:auto;padding-right:16px}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset,.mdc-list-divider.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset[dir=rtl]{padding-left:16px;padding-right:auto}.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset{padding-left:0px;padding-right:auto}[dir=rtl] .mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:0px}[dir=rtl] .mdc-list-divider,.mdc-list-divider[dir=rtl]{padding:0}.mdc-list-item{background-color:var(--mdc-list-list-item-container-color)}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item--with-one-line{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-avatar,.mdc-list-item--with-one-line.mdc-list-item--with-leading-icon,.mdc-list-item--with-one-line.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-one-line.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-one-line.mdc-list-item--with-leading-radio,.mdc-list-item--with-one-line.mdc-list-item--with-leading-switch{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-image,.mdc-list-item--with-one-line.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines.mdc-list-item--with-leading-avatar,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-icon,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-radio,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-switch,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-image,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-three-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height)}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height)}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height)}.mdc-list-item__primary-text{color:var(--mdc-list-list-item-label-text-color)}.mdc-list-item__primary-text{font-family:var(--mdc-list-list-item-label-text-font);line-height:var(--mdc-list-list-item-label-text-line-height);font-size:var(--mdc-list-list-item-label-text-size);font-weight:var(--mdc-list-list-item-label-text-weight);letter-spacing:var(--mdc-list-list-item-label-text-tracking)}.mdc-list-item__secondary-text{color:var(--mdc-list-list-item-supporting-text-color)}.mdc-list-item__secondary-text{font-family:var(--mdc-list-list-item-supporting-text-font);line-height:var(--mdc-list-list-item-supporting-text-line-height);font-size:var(--mdc-list-list-item-supporting-text-size);font-weight:var(--mdc-list-list-item-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-supporting-text-tracking)}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color)}.mdc-list-item--with-leading-icon .mdc-list-item__start{width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start>i{font-size:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon{font-size:var(--mdc-list-list-item-leading-icon-size);width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon,.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size);height:var(--mdc-list-list-item-leading-avatar-size)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color)}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font);line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height);font-size:var(--mdc-list-list-item-trailing-supporting-text-size);font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end>i{font-size:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon{font-size:var(--mdc-list-list-item-trailing-icon-size);width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon,.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color)}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text,.mdc-list-item--disabled .mdc-list-item__overline-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity)}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color)}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mdc-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color)}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color)}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color);opacity:var(--mdc-list-list-item-hover-state-layer-opacity)}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color);opacity:var(--mdc-list-list-item-disabled-state-layer-opacity)}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color);opacity:var(--mdc-list-list-item-focus-state-layer-opacity)}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape);background-color:var(--mdc-list-list-item-leading-avatar-color)}.mat-mdc-list-base{--mdc-list-list-item-container-shape:0;--mdc-list-list-item-leading-avatar-shape:50%;--mdc-list-list-item-container-color:transparent;--mdc-list-list-item-selected-container-color:transparent;--mdc-list-list-item-leading-avatar-color:transparent;--mdc-list-list-item-leading-icon-size:24px;--mdc-list-list-item-leading-avatar-size:40px;--mdc-list-list-item-trailing-icon-size:24px;--mdc-list-list-item-disabled-state-layer-color:transparent;--mdc-list-list-item-disabled-state-layer-opacity:0;--mdc-list-list-item-disabled-label-text-opacity:0.38;--mdc-list-list-item-disabled-leading-icon-opacity:0.38;--mdc-list-list-item-disabled-trailing-icon-opacity:0.38}.cdk-high-contrast-active a.mdc-list-item--activated::after{content:\\\"\\\";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:\\\"\\\";opacity:0;pointer-events:none}.mat-mdc-list-item>.mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { _items: [{\n type: ContentChildren,\n args: [MatListOption, { descendants: true }]\n }], selectionChange: [{\n type: Output\n }], color: [{\n type: Input\n }], compareWith: [{\n type: Input\n }], multiple: [{\n type: Input\n }], hideSingleSelectionIndicator: [{\n type: Input\n }], disabled: [{\n type: Input\n }] } });\n\nclass MatListModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatListModule, declarations: [MatList,\n MatActionList,\n MatNavList,\n MatSelectionList,\n MatListItem,\n MatListOption,\n MatListSubheaderCssMatStyler,\n MatListItemAvatar,\n MatListItemIcon,\n MatListItemLine,\n MatListItemTitle,\n MatListItemMeta], imports: [ObserversModule,\n CommonModule,\n MatCommonModule,\n MatRippleModule,\n MatPseudoCheckboxModule], exports: [MatList,\n MatActionList,\n MatNavList,\n MatSelectionList,\n MatListItem,\n MatListOption,\n MatListItemAvatar,\n MatListItemIcon,\n MatListSubheaderCssMatStyler,\n MatDividerModule,\n MatListItemLine,\n MatListItemTitle,\n MatListItemMeta] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatListModule, imports: [ObserversModule,\n CommonModule,\n MatCommonModule,\n MatRippleModule,\n MatPseudoCheckboxModule, MatDividerModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatListModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n ObserversModule,\n CommonModule,\n MatCommonModule,\n MatRippleModule,\n MatPseudoCheckboxModule,\n ],\n exports: [\n MatList,\n MatActionList,\n MatNavList,\n MatSelectionList,\n MatListItem,\n MatListOption,\n MatListItemAvatar,\n MatListItemIcon,\n MatListSubheaderCssMatStyler,\n MatDividerModule,\n MatListItemLine,\n MatListItemTitle,\n MatListItemMeta,\n ],\n declarations: [\n MatList,\n MatActionList,\n MatNavList,\n MatSelectionList,\n MatListItem,\n MatListOption,\n MatListSubheaderCssMatStyler,\n MatListItemAvatar,\n MatListItemIcon,\n MatListItemLine,\n MatListItemTitle,\n MatListItemMeta,\n ],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MAT_LIST, MAT_LIST_CONFIG, MAT_NAV_LIST, MAT_SELECTION_LIST_VALUE_ACCESSOR, MatActionList, MatList, MatListItem, MatListItemAvatar, MatListItemIcon, MatListItemLine, MatListItemMeta, MatListItemTitle, MatListModule, MatListOption, MatListSubheaderCssMatStyler, MatNavList, MatSelectionList, MatSelectionListChange, SELECTION_LIST, _MatListItemGraphicBase };\n"],"x_google_ignoreList":[0,1,2]} \ No newline at end of file diff --git a/6215.10b022de38e29aa9.js b/6215.10b022de38e29aa9.js new file mode 100644 index 0000000..3b7ab03 --- /dev/null +++ b/6215.10b022de38e29aa9.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[6215,3022,5106,7376,5187,4091,1217,7208,4968,6785,4155,1084,6896,7920,6980,5113,1328,5749,4309,8024,8513,5555,4967,8017,8116,5873,8061,4680,2112,2111,3326,8596,8352,5501,882,3098,8467,6578,8608,8443,7328,6441,1821,4902,5915,3278,5391,6748,1551,6763,4151,5069,7432,8071,6618],{50253:(M,d,e)=>{e.d(d,{x:()=>x});var i=e(95106),a=e(78069),o=e(48047),u=e(4089),s=e(20265),f=e(24582),t=e(28694),p=e(90833),g=e(17714),O=(0,e(27543).d)(function(R){return function(){R(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),S=e(39663),C=e(12309),x=function(){var R=function(T){(0,f.Z)(D,T);var A=(0,t.Z)(D);function D(){var m;return(0,a.Z)(this,D),(m=A.call(this)).closed=!1,m.currentObservers=null,m.observers=[],m.isStopped=!1,m.hasError=!1,m.thrownError=null,m}return(0,o.Z)(D,[{key:"lift",value:function(c){var y=new k(this,this);return y.operator=c,y}},{key:"_throwIfClosed",value:function(){if(this.closed)throw new O}},{key:"next",value:function(c){var y=this;(0,C.x)(function(){if(y._throwIfClosed(),!y.isStopped){y.currentObservers||(y.currentObservers=Array.from(y.observers));var v,P=(0,i.Z)(y.currentObservers);try{for(P.s();!(v=P.n()).done;)v.value.next(c)}catch(l){P.e(l)}finally{P.f()}}})}},{key:"error",value:function(c){var y=this;(0,C.x)(function(){if(y._throwIfClosed(),!y.isStopped){y.hasError=y.isStopped=!0,y.thrownError=c;for(var P=y.observers;P.length;)P.shift().error(c)}})}},{key:"complete",value:function(){var c=this;(0,C.x)(function(){if(c._throwIfClosed(),!c.isStopped){c.isStopped=!0;for(var y=c.observers;y.length;)y.shift().complete()}})}},{key:"unsubscribe",value:function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}},{key:"observed",get:function(){var c;return(null===(c=this.observers)||void 0===c?void 0:c.length)>0}},{key:"_trySubscribe",value:function(c){return this._throwIfClosed(),(0,u.Z)((0,s.Z)(D.prototype),"_trySubscribe",this).call(this,c)}},{key:"_subscribe",value:function(c){return this._throwIfClosed(),this._checkFinalizedStatuses(c),this._innerSubscribe(c)}},{key:"_innerSubscribe",value:function(c){var y=this,E=this.observers;return this.hasError||this.isStopped?g.Lc:(this.currentObservers=null,E.push(c),new g.w0(function(){y.currentObservers=null,(0,S.P)(E,c)}))}},{key:"_checkFinalizedStatuses",value:function(c){var v=this.isStopped;this.hasError?c.error(this.thrownError):v&&c.complete()}},{key:"asObservable",value:function(){var c=new p.y;return c.source=this,c}}]),D}(p.y);return R.create=function(T,A){return new k(T,A)},R}(),k=function(R){(0,f.Z)(A,R);var T=(0,t.Z)(A);function A(D,m){var c;return(0,a.Z)(this,A),(c=T.call(this)).destination=D,c.source=m,c}return(0,o.Z)(A,[{key:"next",value:function(m){var c,y;null===(y=null===(c=this.destination)||void 0===c?void 0:c.next)||void 0===y||y.call(c,m)}},{key:"error",value:function(m){var c,y;null===(y=null===(c=this.destination)||void 0===c?void 0:c.error)||void 0===y||y.call(c,m)}},{key:"complete",value:function(){var m,c;null===(c=null===(m=this.destination)||void 0===m?void 0:m.complete)||void 0===c||c.call(m)}},{key:"_subscribe",value:function(m){var c,y;return null!==(y=null===(c=this.source)||void 0===c?void 0:c.subscribe(m))&&void 0!==y?y:g.Lc}}]),A}(x)},59319:(M,d,e)=>{e.d(d,{z:()=>s});var i=e(1308),o=e(10420),u=e(37400);function s(){for(var f=arguments.length,t=new Array(f),p=0;p<f;p++)t[p]=arguments[p];return function a(){return(0,i.J)(1)}()((0,u.D)(t,(0,o.yG)(t)))}},37400:(M,d,e)=>{e.d(d,{D:()=>P});var i=e(54987),a=e(8728),o=e(41944);function u(v){var E=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,o.e)(function(l,h){h.add(v.schedule(function(){return l.subscribe(h)},E))})}var t=e(90833),g=e(67321),b=e(92971),O=e(1817);function C(v,E){if(!v)throw new Error("Iterable cannot be null");return new t.y(function(l){(0,O.f)(l,E,function(){var h=v[Symbol.asyncIterator]();(0,O.f)(l,E,function(){h.next().then(function(r){r.done?l.complete():l.next(r.value)})},0,!0)})})}var x=e(21331),k=e(79548),R=e(99806),T=e(23433),A=e(80470),D=e(27785),m=e(20181);function P(v,E){return E?function y(v,E){if(null!=v){if((0,x.c)(v))return function s(v,E){return(0,i.Xf)(v).pipe(u(E),(0,a.Q)(E))}(v,E);if((0,R.z)(v))return function p(v,E){return new t.y(function(l){var h=0;return E.schedule(function(){h===v.length?l.complete():(l.next(v[h++]),l.closed||this.schedule())})})}(v,E);if((0,k.t)(v))return function f(v,E){return(0,i.Xf)(v).pipe(u(E),(0,a.Q)(E))}(v,E);if((0,A.D)(v))return C(v,E);if((0,T.T)(v))return function S(v,E){return new t.y(function(l){var h;return(0,O.f)(l,E,function(){h=v[g.h](),(0,O.f)(l,E,function(){var r,n;try{var _=h.next();r=_.value,n=_.done}catch(I){return void l.error(I)}n?l.complete():l.next(r)},0,!0)}),function(){return(0,b.m)(h?.return)&&h.return()}})}(v,E);if((0,m.L)(v))return function c(v,E){return C((0,m.Q)(v),E)}(v,E)}throw(0,D.z)(v)}(v,E):(0,i.Xf)(v)}},10745:(M,d,e)=>{e.d(d,{of:()=>o});var i=e(10420),a=e(37400);function o(){for(var u=arguments.length,s=new Array(u),f=0;f<u;f++)s[f]=arguments[f];var t=(0,i.yG)(s);return(0,a.D)(s,t)}},93945:(M,d,e)=>{e.d(d,{Q:()=>b,x:()=>g});var i=e(78069),a=e(48047),o=e(35488),u=e(24582),s=e(28694),f=e(4089),t=e(20265);function g(O,S,C,x,k){return new b(O,S,C,x,k)}var b=function(O){(0,u.Z)(C,O);var S=(0,s.Z)(C);function C(x,k,R,T,A,D){var m,c,y,P;return(0,i.Z)(this,C),(P=S.call(this,x)).onFinalize=A,P.shouldUnsubscribe=D,P._next=k?function(v){try{k(v)}catch(E){x.error(E)}}:(0,f.Z)((m=(0,o.Z)(P),(0,t.Z)(C.prototype)),"_next",m),P._error=T?function(v){try{T(v)}catch(E){x.error(E)}finally{this.unsubscribe()}}:(0,f.Z)((c=(0,o.Z)(P),(0,t.Z)(C.prototype)),"_error",c),P._complete=R?function(){try{R()}catch(v){x.error(v)}finally{this.unsubscribe()}}:(0,f.Z)((y=(0,o.Z)(P),(0,t.Z)(C.prototype)),"_complete",y),P}return(0,a.Z)(C,[{key:"unsubscribe",value:function(){var k;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var R=this.closed;(0,f.Z)((0,t.Z)(C.prototype),"unsubscribe",this).call(this),!R&&(null===(k=this.onFinalize)||void 0===k||k.call(this))}}}]),C}(e(5463).Lv)},50635:(M,d,e)=>{e.d(d,{U:()=>o});var i=e(41944),a=e(93945);function o(u,s){return(0,i.e)(function(f,t){var p=0;f.subscribe((0,a.x)(t,function(g){t.next(u.call(s,g,p++))}))})}},1308:(M,d,e)=>{e.d(d,{J:()=>o});var i=e(49525),a=e(89173);function o(){return(0,i.z)(a.y,arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0)}},49525:(M,d,e)=>{e.d(d,{z:()=>p});var i=e(50635),a=e(54987),o=e(41944),u=e(1817),s=e(93945),t=e(92971);function p(g,b){var O=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;return(0,t.m)(b)?p(function(S,C){return(0,i.U)(function(x,k){return b(S,x,C,k)})((0,a.Xf)(g(S,C)))},O):("number"==typeof b&&(O=b),(0,o.e)(function(S,C){return function f(g,b,O,S,C,x,k,R){var T=[],A=0,D=0,m=!1,c=function(){m&&!T.length&&!A&&b.complete()},y=function(E){return A<S?P(E):T.push(E)},P=function v(E){x&&b.next(E),A++;var l=!1;(0,a.Xf)(O(E,D++)).subscribe((0,s.x)(b,function(h){C?.(h),x?y(h):b.next(h)},function(){l=!0},void 0,function(){if(l)try{A--;for(var h=function(){var n=T.shift();k?(0,u.f)(b,k,function(){return v(n)}):v(n)};T.length&&A<S;)h();c()}catch(r){b.error(r)}}))};return g.subscribe((0,s.x)(b,y,function(){m=!0,c()})),function(){R?.()}}(S,C,g,O)}))}},8728:(M,d,e)=>{e.d(d,{Q:()=>u});var i=e(1817),a=e(41944),o=e(93945);function u(s){var f=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,a.e)(function(t,p){t.subscribe((0,o.x)(p,function(g){return(0,i.f)(p,s,function(){return p.next(g)},f)},function(){return(0,i.f)(p,s,function(){return p.complete()},f)},function(g){return(0,i.f)(p,s,function(){return p.error(g)},f)}))})}},44874:(M,d,e)=>{e.d(d,{O:()=>u});var i=e(59319),a=e(10420),o=e(41944);function u(){for(var s=arguments.length,f=new Array(s),t=0;t<s;t++)f[t]=arguments[t];var p=(0,a.yG)(f);return(0,o.e)(function(g,b){(p?(0,i.z)(f,g,p):(0,i.z)(f,g)).subscribe(b)})}},68951:(M,d,e)=>{e.d(d,{R:()=>s});var i=e(41944),a=e(93945),o=e(54987),u=e(99635);function s(f){return(0,i.e)(function(t,p){(0,o.Xf)(f).subscribe((0,a.x)(p,function(){return p.complete()},u.Z)),!p.closed&&t.subscribe(p)})}},10420:(M,d,e)=>{e.d(d,{_6:()=>f,jO:()=>u,yG:()=>s});var i=e(92971),a=e(59867);function o(t){return t[t.length-1]}function u(t){return(0,i.m)(o(t))?t.pop():void 0}function s(t){return(0,a.K)(o(t))?t.pop():void 0}function f(t,p){return"number"==typeof o(t)?t.pop():p}},1817:(M,d,e)=>{function i(a,o,u){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,f=arguments.length>4&&void 0!==arguments[4]&&arguments[4],t=o.schedule(function(){u(),f?a.add(this.schedule(null,s)):this.unsubscribe()},s);if(a.add(t),!f)return t}e.d(d,{f:()=>i})},59867:(M,d,e)=>{e.d(d,{K:()=>a});var i=e(92971);function a(o){return o&&(0,i.m)(o.schedule)}},41944:(M,d,e)=>{e.d(d,{A:()=>a,e:()=>o});var i=e(92971);function a(u){return(0,i.m)(u?.lift)}function o(u){return function(s){if(a(s))return s.lift(function(f){try{return u(f,this)}catch(t){this.error(t)}});throw new TypeError("Unable to lift unknown Observable type")}}},77405:(M,d,e)=>{e.r(d),e.d(d,{CdkStep:()=>c,CdkStepHeader:()=>k,CdkStepLabel:()=>R,CdkStepper:()=>y,CdkStepperModule:()=>E,CdkStepperNext:()=>P,CdkStepperPrevious:()=>v,STEPPER_GLOBAL_OPTIONS:()=>m,STEP_STATE:()=>D,StepperSelectionEvent:()=>A});var i=e(78069),a=e(48047),o=e(908),u=e(43068),s=e(35333),f=e(52069),t=e(56718),p=e(23675),g=e(50253),b=e(10745),O=e(44874),S=e(68951);function C(l,h){1&l&&t.\u0275\u0275projection(0)}var x=["*"],k=function(){var l=function(){function h(r){(0,i.Z)(this,h),this._elementRef=r}return(0,a.Z)(h,[{key:"focus",value:function(){this._elementRef.nativeElement.focus()}}]),h}();return l.\u0275fac=function(r){return new(r||l)(t.\u0275\u0275directiveInject(t.ElementRef))},l.\u0275dir=t.\u0275\u0275defineDirective({type:l,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]}),l}(),R=function(){var l=(0,a.Z)(function h(r){(0,i.Z)(this,h),this.template=r});return l.\u0275fac=function(r){return new(r||l)(t.\u0275\u0275directiveInject(t.TemplateRef))},l.\u0275dir=t.\u0275\u0275defineDirective({type:l,selectors:[["","cdkStepLabel",""]]}),l}(),T=0,A=(0,a.Z)(function l(){(0,i.Z)(this,l)}),D={NUMBER:"number",EDIT:"edit",DONE:"done",ERROR:"error"},m=new t.InjectionToken("STEPPER_GLOBAL_OPTIONS"),c=function(){var l=function(){function h(r,n){(0,i.Z)(this,h),this._stepper=r,this.interacted=!1,this.interactedStream=new t.EventEmitter,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=n||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}return(0,a.Z)(h,[{key:"editable",get:function(){return this._editable},set:function(n){this._editable=(0,s.coerceBooleanProperty)(n)}},{key:"optional",get:function(){return this._optional},set:function(n){this._optional=(0,s.coerceBooleanProperty)(n)}},{key:"completed",get:function(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride},set:function(n){this._completedOverride=(0,s.coerceBooleanProperty)(n)}},{key:"_getDefaultCompleted",value:function(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}},{key:"hasError",get:function(){return null==this._customError?this._getDefaultError():this._customError},set:function(n){this._customError=(0,s.coerceBooleanProperty)(n)}},{key:"_getDefaultError",value:function(){return this.stepControl&&this.stepControl.invalid&&this.interacted}},{key:"select",value:function(){this._stepper.selected=this}},{key:"reset",value:function(){this.interacted=!1,null!=this._completedOverride&&(this._completedOverride=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}},{key:"ngOnChanges",value:function(){this._stepper._stateChanged()}},{key:"_markAsInteracted",value:function(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}},{key:"_showError",value:function(){var n;return null!==(n=this._stepperOptions.showError)&&void 0!==n?n:null!=this._customError}}]),h}();return l.\u0275fac=function(r){return new(r||l)(t.\u0275\u0275directiveInject((0,t.forwardRef)(function(){return y})),t.\u0275\u0275directiveInject(m,8))},l.\u0275cmp=t.\u0275\u0275defineComponent({type:l,selectors:[["cdk-step"]],contentQueries:function(r,n,_){var I;1&r&&t.\u0275\u0275contentQuery(_,R,5),2&r&&t.\u0275\u0275queryRefresh(I=t.\u0275\u0275loadQuery())&&(n.stepLabel=I.first)},viewQuery:function(r,n){var _;1&r&&t.\u0275\u0275viewQuery(t.TemplateRef,7),2&r&&t.\u0275\u0275queryRefresh(_=t.\u0275\u0275loadQuery())&&(n.content=_.first)},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],state:"state",editable:"editable",optional:"optional",completed:"completed",hasError:"hasError"},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[t.\u0275\u0275NgOnChangesFeature],ngContentSelectors:x,decls:1,vars:0,template:function(r,n){1&r&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275template(0,C,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),l}(),y=function(){var l=function(){function h(r,n,_){(0,i.Z)(this,h),this._dir=r,this._changeDetectorRef=n,this._elementRef=_,this._destroyed=new g.x,this.steps=new t.QueryList,this._sortedHeaders=new t.QueryList,this._linear=!1,this._selectedIndex=0,this.selectionChange=new t.EventEmitter,this._orientation="horizontal",this._groupId=T++}return(0,a.Z)(h,[{key:"linear",get:function(){return this._linear},set:function(n){this._linear=(0,s.coerceBooleanProperty)(n)}},{key:"selectedIndex",get:function(){return this._selectedIndex},set:function(n){var I,_=(0,s.coerceNumberProperty)(n);this.steps&&this._steps?(this._isValidIndex(_),null===(I=this.selected)||void 0===I||I._markAsInteracted(),this._selectedIndex!==_&&!this._anyControlsInvalidOrPending(_)&&(_>=this._selectedIndex||this.steps.toArray()[_].editable)&&this._updateSelectedItemIndex(_)):this._selectedIndex=_}},{key:"selected",get:function(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0},set:function(n){this.selectedIndex=n&&this.steps?this.steps.toArray().indexOf(n):-1}},{key:"orientation",get:function(){return this._orientation},set:function(n){this._orientation=n,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===n)}},{key:"ngAfterContentInit",value:function(){var n=this;this._steps.changes.pipe((0,O.O)(this._steps),(0,S.R)(this._destroyed)).subscribe(function(_){n.steps.reset(_.filter(function(I){return I._stepper===n})),n.steps.notifyOnChanges()})}},{key:"ngAfterViewInit",value:function(){var n=this;this._stepHeader.changes.pipe((0,O.O)(this._stepHeader),(0,S.R)(this._destroyed)).subscribe(function(_){n._sortedHeaders.reset(_.toArray().sort(function(I,L){return I._elementRef.nativeElement.compareDocumentPosition(L._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1})),n._sortedHeaders.notifyOnChanges()}),this._keyManager=new o.FocusKeyManager(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:(0,b.of)()).pipe((0,O.O)(this._layoutDirection()),(0,S.R)(this._destroyed)).subscribe(function(_){return n._keyManager.withHorizontalOrientation(_)}),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(function(){n.selected||(n._selectedIndex=Math.max(n._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)}},{key:"ngOnDestroy",value:function(){var n;null===(n=this._keyManager)||void 0===n||n.destroy(),this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}},{key:"next",value:function(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}},{key:"previous",value:function(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}},{key:"reset",value:function(){this._updateSelectedItemIndex(0),this.steps.forEach(function(n){return n.reset()}),this._stateChanged()}},{key:"_getStepLabelId",value:function(n){return"cdk-step-label-".concat(this._groupId,"-").concat(n)}},{key:"_getStepContentId",value:function(n){return"cdk-step-content-".concat(this._groupId,"-").concat(n)}},{key:"_stateChanged",value:function(){this._changeDetectorRef.markForCheck()}},{key:"_getAnimationDirection",value:function(n){var _=n-this._selectedIndex;return _<0?"rtl"===this._layoutDirection()?"next":"previous":_>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}},{key:"_getIndicatorType",value:function(n){var _=arguments.length>1&&void 0!==arguments[1]?arguments[1]:D.NUMBER,I=this.steps.toArray()[n],L=this._isCurrentStep(n);return I._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(I,L):this._getGuidelineLogic(I,L,_)}},{key:"_getDefaultIndicatorLogic",value:function(n,_){return n._showError()&&n.hasError&&!_?D.ERROR:!n.completed||_?D.NUMBER:n.editable?D.EDIT:D.DONE}},{key:"_getGuidelineLogic",value:function(n,_){var I=arguments.length>2&&void 0!==arguments[2]?arguments[2]:D.NUMBER;return n._showError()&&n.hasError&&!_?D.ERROR:n.completed&&!_?D.DONE:n.completed&&_?I:n.editable&&_?D.EDIT:I}},{key:"_isCurrentStep",value:function(n){return this._selectedIndex===n}},{key:"_getFocusIndex",value:function(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}},{key:"_updateSelectedItemIndex",value:function(n){var _=this.steps.toArray();this.selectionChange.emit({selectedIndex:n,previouslySelectedIndex:this._selectedIndex,selectedStep:_[n],previouslySelectedStep:_[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(n):this._keyManager.updateActiveItem(n),this._selectedIndex=n,this._stateChanged()}},{key:"_onKeydown",value:function(n){var _=(0,f.hasModifierKey)(n),I=n.keyCode,L=this._keyManager;null==L.activeItemIndex||_||I!==f.SPACE&&I!==f.ENTER?L.setFocusOrigin("keyboard").onKeydown(n):(this.selectedIndex=L.activeItemIndex,n.preventDefault())}},{key:"_anyControlsInvalidOrPending",value:function(n){return!!(this._linear&&n>=0)&&this.steps.toArray().slice(0,n).some(function(_){var I=_.stepControl;return(I?I.invalid||I.pending||!_.interacted:!_.completed)&&!_.optional&&!_._completedOverride})}},{key:"_layoutDirection",value:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"_containsFocus",value:function(){var n=this._elementRef.nativeElement,_=(0,p._getFocusedElementPierceShadowDom)();return n===_||n.contains(_)}},{key:"_isValidIndex",value:function(n){return n>-1&&(!this.steps||n<this.steps.length)}}]),h}();return l.\u0275fac=function(r){return new(r||l)(t.\u0275\u0275directiveInject(u.Directionality,8),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(t.ElementRef))},l.\u0275dir=t.\u0275\u0275defineDirective({type:l,selectors:[["","cdkStepper",""]],contentQueries:function(r,n,_){var I;1&r&&(t.\u0275\u0275contentQuery(_,c,5),t.\u0275\u0275contentQuery(_,k,5)),2&r&&(t.\u0275\u0275queryRefresh(I=t.\u0275\u0275loadQuery())&&(n._steps=I),t.\u0275\u0275queryRefresh(I=t.\u0275\u0275loadQuery())&&(n._stepHeader=I))},inputs:{linear:"linear",selectedIndex:"selectedIndex",selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange"},exportAs:["cdkStepper"]}),l}(),P=function(){var l=(0,a.Z)(function h(r){(0,i.Z)(this,h),this._stepper=r,this.type="submit"});return l.\u0275fac=function(r){return new(r||l)(t.\u0275\u0275directiveInject(y))},l.\u0275dir=t.\u0275\u0275defineDirective({type:l,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(r,n){1&r&&t.\u0275\u0275listener("click",function(){return n._stepper.next()}),2&r&&t.\u0275\u0275hostProperty("type",n.type)},inputs:{type:"type"}}),l}(),v=function(){var l=(0,a.Z)(function h(r){(0,i.Z)(this,h),this._stepper=r,this.type="button"});return l.\u0275fac=function(r){return new(r||l)(t.\u0275\u0275directiveInject(y))},l.\u0275dir=t.\u0275\u0275defineDirective({type:l,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(r,n){1&r&&t.\u0275\u0275listener("click",function(){return n._stepper.previous()}),2&r&&t.\u0275\u0275hostProperty("type",n.type)},inputs:{type:"type"}}),l}(),E=function(){var l=(0,a.Z)(function h(){(0,i.Z)(this,h)});return l.\u0275fac=function(r){return new(r||l)},l.\u0275mod=t.\u0275\u0275defineNgModule({type:l}),l.\u0275inj=t.\u0275\u0275defineInjector({imports:[u.BidiModule]}),l}()},44841:(M,d,e)=>{function i(a,o){(null==o||o>a.length)&&(o=a.length);for(var u=0,s=new Array(o);u<o;u++)s[u]=a[u];return s}e.d(d,{Z:()=>i})},35488:(M,d,e)=>{function i(a){if(void 0===a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}e.d(d,{Z:()=>i})},95106:(M,d,e)=>{e.d(d,{Z:()=>a});var i=e(44206);function a(o,u){var s=typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(!s){if(Array.isArray(o)||(s=(0,i.Z)(o))||u&&o&&"number"==typeof o.length){s&&(o=s);var f=0,t=function(){};return{s:t,n:function(){return f>=o.length?{done:!0}:{done:!1,value:o[f++]}},e:function(S){throw S},f:t}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var b,p=!0,g=!1;return{s:function(){s=s.call(o)},n:function(){var S=s.next();return p=S.done,S},e:function(S){g=!0,b=S},f:function(){try{!p&&null!=s.return&&s.return()}finally{if(g)throw b}}}}},28694:(M,d,e)=>{e.d(d,{Z:()=>f});var i=e(20265),a=e(98568),o=e(43445),u=e(35488);function f(t){var p=(0,a.Z)();return function(){var O,b=(0,i.Z)(t);if(p){var S=(0,i.Z)(this).constructor;O=Reflect.construct(b,arguments,S)}else O=b.apply(this,arguments);return function s(t,p){if(p&&("object"===(0,o.Z)(p)||"function"==typeof p))return p;if(void 0!==p)throw new TypeError("Derived constructors may only return object or undefined");return(0,u.Z)(t)}(this,O)}}},4089:(M,d,e)=>{e.d(d,{Z:()=>o});var i=e(20265);function o(){return o=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(s,f,t){var p=function a(u,s){for(;!Object.prototype.hasOwnProperty.call(u,s)&&null!==(u=(0,i.Z)(u)););return u}(s,f);if(p){var g=Object.getOwnPropertyDescriptor(p,f);return g.get?g.get.call(arguments.length<3?s:t):g.value}},o.apply(this,arguments)}},20265:(M,d,e)=>{function i(a){return(i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(u){return u.__proto__||Object.getPrototypeOf(u)})(a)}e.d(d,{Z:()=>i})},24582:(M,d,e)=>{e.d(d,{Z:()=>a});var i=e(10006);function a(o,u){if("function"!=typeof u&&null!==u)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&(0,i.Z)(o,u)}},98568:(M,d,e)=>{function i(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(d,{Z:()=>i})},4826:(M,d,e)=>{function i(a){if(typeof Symbol<"u"&&null!=a[Symbol.iterator]||null!=a["@@iterator"])return Array.from(a)}e.d(d,{Z:()=>i})},10006:(M,d,e)=>{function i(a,o){return(i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(s,f){return s.__proto__=f,s})(a,o)}e.d(d,{Z:()=>i})},86170:(M,d,e)=>{e.d(d,{Z:()=>f});var i=e(44841),o=e(4826),u=e(44206);function f(t){return function a(t){if(Array.isArray(t))return(0,i.Z)(t)}(t)||(0,o.Z)(t)||(0,u.Z)(t)||function s(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(M,d,e)=>{e.d(d,{Z:()=>a});var i=e(44841);function a(o,u){if(o){if("string"==typeof o)return(0,i.Z)(o,u);var s=Object.prototype.toString.call(o).slice(8,-1);if("Object"===s&&o.constructor&&(s=o.constructor.name),"Map"===s||"Set"===s)return Array.from(o);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return(0,i.Z)(o,u)}}}}]); +//# sourceMappingURL=6215.10b022de38e29aa9.js.map \ No newline at end of file diff --git a/6215.10b022de38e29aa9.js.map b/6215.10b022de38e29aa9.js.map new file mode 100644 index 0000000..64c3df5 --- /dev/null +++ b/6215.10b022de38e29aa9.js.map @@ -0,0 +1 @@ +{"version":3,"file":"6215.10b022de38e29aa9.js","mappings":"sdACaA,cAA0BC,GAAiB,SAACC,GAAM,OAAK,WAChEA,EAAOC,MACPA,KAAKC,KAAO,0BACZD,KAAKE,QAAU,qBACnB,CAAC,yBCAYC,EAAO,eAAPA,EAAO,SAAAC,IAAAC,OAAAF,EAAAC,GAAA,IAAAL,KAAAO,KAAAH,GAChB,SAAAA,IAAc,IAAAI,EAAAC,cAAAR,KAAAG,IACVI,EAAAR,EAAAU,KAAAT,OACKU,QAAS,EACdH,EAAKI,iBAAmB,KACxBJ,EAAKK,UAAY,GACjBL,EAAKM,WAAY,EACjBN,EAAKO,UAAW,EAChBP,EAAKQ,YAAc,KAAKR,CAC5B,CAACS,cAAAb,EAAA,EAAAc,IAAA,OAAAC,MACD,SAAKC,GACD,IAAMC,EAAU,IAAIC,EAAiBrB,KAAMA,MAC3CoB,SAAQD,SAA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yB,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAAlW,UAAAmW,QAAA1Y,KAAA6W,QAAAC,UAAA2B,QAAA,mBACA,CACA,OACA,QACA,CACA,kCCVe,SAAAE,EAAAC,GACf,UAAA/T,OAAA,WAAA+T,EAAA/T,OAAAD,WAAA,MAAAgU,EAAA,qBAAA5X,MAAAC,KAAA2X,EACA,mCCFe,SAAAC,EAAAlD,EAAAmD,GACf,OAAAD,EAAAnB,OAAAI,eAAAJ,OAAAI,eAAAX,OAAA,SAAAxB,EAAAmD,GACA,OAAAnD,EAAAoC,UAAAe,EACAnD,CACA,GACAA,EAAAmD,EACA,wFCFe,SAAAC,EAAArP,GACf,OCJe,SAAAsP,EAAAtP,GACf,GAAA1I,MAAA8U,QAAApM,GAAA,SAAiCuP,EAAAjD,GAAgBtM,EACjD,CDESsP,CAAiBtP,KAAA,EAASwP,EAAAlD,GAAetM,KAAA,EAASyP,EAAAnD,GAA0BtM,IELtE,SAAA0P,IACf,UAAA5O,UAAA,uIACA,CFG8F4O,EAC9F,mDGLe,SAAAC,EAAA1D,EAAA2D,GACf,GAAA3D,EACA,qBAAAA,EAAA,SAAoC4D,EAAAvD,GAAgBL,EAAA2D,GACpD,IAAAhY,EAAAoW,OAAAnV,UAAAiX,SAAAxZ,KAAA2V,GAAA1B,MAAA,MAEA,GADA,WAAA3S,GAAAqU,EAAAiB,cAAAtV,EAAAqU,EAAAiB,YAAApX,MACA,QAAA8B,GAAA,QAAAA,EAAA,OAAAN,MAAAC,KAAA0U,GACA,iBAAArU,GAAA,2CAAAmY,KAAAnY,GAAA,SAAsFiY,EAAAvD,GAAgBL,EAAA2D,EAAA,CACtG","names":["ObjectUnsubscribedError","createErrorClass","_super","this","name","message","Subject","_Observable","_inherits","_createSuper","_this","_classCallCheck","call","closed","currentObservers","observers","isStopped","hasError","thrownError","_createClass","key","value","operator","subject","AnonymousSubject","_this2","errorContext","_throwIfClosed","Array","from","_step","_iterator","_createForOfIteratorHelper","s","n","done","next","err","e","f","_this3","length","shift","error","_this4","complete","get","_a","subscriber","_get","_getPrototypeOf","prototype","_checkFinalizedStatuses","_innerSubscribe","_this5","EMPTY_SUBSCRIPTION","push","Subscription","arrRemove","observable","Observable","source","create","destination","_Subject","_super2","_this6","_b","subscribe","concat","_len","arguments","args","_key","concatAll","mergeAll","popScheduler","subscribeOn","scheduler","delay","undefined","operate","add","schedule","scheduleAsyncIterable","input","Error","executeSchedule","iterator","Symbol","asyncIterator","then","result","scheduled","isInteropObservable","scheduleObservable","innerFrom","pipe","observeOn","isArrayLike","scheduleArray","i","isPromise","schedulePromise","isAsyncIterable","isIterable","scheduleIterable","Symbol_iterator","_iterator$next","isFunction","return","isReadableStreamLike","scheduleReadableStreamLike","readableStreamLikeToAsyncGenerator","createInvalidObservableTypeError","of","createOperatorSubscriber","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_next","_assertThisInitialized","_error","unsubscribe","_complete","Subscriber","map","project","thisArg","index","mergeMap","identity","Infinity","resultSelector","concurrent","a","b","ii","mergeInternals","onBeforeNext","expand","innerSubScheduler","additionalFinalizer","buffer","active","isComplete","checkComplete","outerNext","doInnerSub","innerComplete","innerValue","_loop","bufferedValue","startWith","values","takeUntil","notifier","noop","last","arr","popResultSelector","pop","isScheduler","popNumber","defaultValue","parentSubscription","work","repeat","scheduleSubscription","hasLift","lift","init","liftedSource","TypeError","CdkStep_ng_template_0_Template","rf","ctx","i0","_c0","CdkStepHeader","_elementRef","nativeElement","focus","ɵfac","t","ɵdir","type","selectors","hostAttrs","CdkStepLabel","template","nextId","StepperSelectionEvent","STEP_STATE","NUMBER","EDIT","DONE","ERROR","STEPPER_GLOBAL_OPTIONS","InjectionToken","CdkStep","_stepper","stepperOptions","interacted","interactedStream","EventEmitter","_editable","_optional","_completedOverride","_customError","_stepperOptions","_displayDefaultIndicatorType","displayDefaultIndicatorType","set","coerceBooleanProperty","_getDefaultCompleted","stepControl","valid","_getDefaultError","invalid","selected","reset","_stateChanged","emit","_this$_stepperOptions","showError","forwardRef","CdkStepper","ɵcmp","contentQueries","dirIndex","_t","stepLabel","first","viewQuery","TemplateRef","content","inputs","label","errorMessage","ariaLabel","ariaLabelledby","state","editable","optional","completed","outputs","exportAs","features","ngContentSelectors","decls","vars","encapsulation","changeDetection","_dir","_changeDetectorRef","_destroyed","steps","QueryList","_sortedHeaders","_linear","_selectedIndex","selectionChange","_orientation","_groupId","_this$selected","newIndex","coerceNumberProperty","_steps","_isValidIndex","_markAsInteracted","_anyControlsInvalidOrPending","toArray","_updateSelectedItemIndex","selectedIndex","step","indexOf","_keyManager","withVerticalOrientation","changes","filter","notifyOnChanges","_stepHeader","headers","sort","compareDocumentPosition","Node","DOCUMENT_POSITION_FOLLOWING","FocusKeyManager","withWrap","withHomeAndEnd","change","_layoutDirection","direction","withHorizontalOrientation","updateActiveItem","Math","max","_this$_keyManager","destroy","min","forEach","markForCheck","position","isCurrentStep","_isCurrentStep","_getDefaultIndicatorLogic","_getGuidelineLogic","_showError","activeItemIndex","stepsArray","previouslySelectedIndex","selectedStep","previouslySelectedStep","_containsFocus","setActiveItem","event","hasModifier","hasModifierKey","keyCode","manager","SPACE","ENTER","setFocusOrigin","onKeydown","preventDefault","slice","some","control","pending","stepperElement","focusedElement","_getFocusedElementPierceShadowDom","contains","i1","linear","orientation","CdkStepperNext","hostVars","hostBindings","CdkStepperPrevious","previous","CdkStepperModule","ɵmod","ɵinj","imports","BidiModule","_arrayLikeToArray","len","arr2","self","ReferenceError","o","allowArrayLike","it","isArray","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","_e","normalCompletion","didErr","_e2","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Super","getPrototypeOf","NewTarget","constructor","Reflect","construct","apply","_possibleConstructorReturn","esm_typeof","assertThisInitialized","bind","target","property","receiver","base","_superPropBase","object","Object","hasOwnProperty","desc","getOwnPropertyDescriptor","setPrototypeOf","__proto__","subClass","superClass","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_iterableToArray","iter","_setPrototypeOf","p","_toConsumableArray","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","toString","test"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/util/ObjectUnsubscribedError.js","./node_modules/rxjs/dist/esm/internal/Subject.js","./node_modules/rxjs/dist/esm/internal/observable/concat.js","./node_modules/rxjs/dist/esm/internal/operators/concatAll.js","./node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleAsyncIterable.js","./node_modules/rxjs/dist/esm/internal/observable/from.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduled.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleObservable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleArray.js","./node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleIterable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleReadableStreamLike.js","./node_modules/rxjs/dist/esm/internal/observable/of.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/map.js","./node_modules/rxjs/dist/esm/internal/operators/mergeAll.js","./node_modules/rxjs/dist/esm/internal/operators/mergeMap.js","./node_modules/rxjs/dist/esm/internal/operators/mergeInternals.js","./node_modules/rxjs/dist/esm/internal/operators/observeOn.js","./node_modules/rxjs/dist/esm/internal/operators/startWith.js","./node_modules/rxjs/dist/esm/internal/operators/takeUntil.js","./node_modules/rxjs/dist/esm/internal/util/args.js","./node_modules/rxjs/dist/esm/internal/util/executeSchedule.js","./node_modules/rxjs/dist/esm/internal/util/isScheduler.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/@angular/cdk/fesm2022/stepper.mjs","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { createErrorClass } from './createErrorClass';\nexport const ObjectUnsubscribedError = createErrorClass((_super) => function ObjectUnsubscribedErrorImpl() {\n _super(this);\n this.name = 'ObjectUnsubscribedError';\n this.message = 'object unsubscribed';\n});\n","import { Observable } from './Observable';\nimport { Subscription, EMPTY_SUBSCRIPTION } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { arrRemove } from './util/arrRemove';\nimport { errorContext } from './util/errorContext';\nexport class Subject extends Observable {\n constructor() {\n super();\n this.closed = false;\n this.currentObservers = null;\n this.observers = [];\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n lift(operator) {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n }\n _throwIfClosed() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n }\n next(value) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n if (!this.currentObservers) {\n this.currentObservers = Array.from(this.observers);\n }\n for (const observer of this.currentObservers) {\n observer.next(value);\n }\n }\n });\n }\n error(err) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.hasError = this.isStopped = true;\n this.thrownError = err;\n const { observers } = this;\n while (observers.length) {\n observers.shift().error(err);\n }\n }\n });\n }\n complete() {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.isStopped = true;\n const { observers } = this;\n while (observers.length) {\n observers.shift().complete();\n }\n }\n });\n }\n unsubscribe() {\n this.isStopped = this.closed = true;\n this.observers = this.currentObservers = null;\n }\n get observed() {\n var _a;\n return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;\n }\n _trySubscribe(subscriber) {\n this._throwIfClosed();\n return super._trySubscribe(subscriber);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._checkFinalizedStatuses(subscriber);\n return this._innerSubscribe(subscriber);\n }\n _innerSubscribe(subscriber) {\n const { hasError, isStopped, observers } = this;\n if (hasError || isStopped) {\n return EMPTY_SUBSCRIPTION;\n }\n this.currentObservers = null;\n observers.push(subscriber);\n return new Subscription(() => {\n this.currentObservers = null;\n arrRemove(observers, subscriber);\n });\n }\n _checkFinalizedStatuses(subscriber) {\n const { hasError, thrownError, isStopped } = this;\n if (hasError) {\n subscriber.error(thrownError);\n }\n else if (isStopped) {\n subscriber.complete();\n }\n }\n asObservable() {\n const observable = new Observable();\n observable.source = this;\n return observable;\n }\n}\nSubject.create = (destination, source) => {\n return new AnonymousSubject(destination, source);\n};\nexport class AnonymousSubject extends Subject {\n constructor(destination, source) {\n super();\n this.destination = destination;\n this.source = source;\n }\n next(value) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);\n }\n error(err) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);\n }\n complete() {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);\n }\n _subscribe(subscriber) {\n var _a, _b;\n return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;\n }\n}\n","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}\n","import { mergeAll } from './mergeAll';\nexport function concatAll() {\n return mergeAll(1);\n}\n","import { operate } from '../util/lift';\nexport function subscribeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay));\n });\n}\n","import { Observable } from '../Observable';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleAsyncIterable(input, scheduler) {\n if (!input) {\n throw new Error('Iterable cannot be null');\n }\n return new Observable((subscriber) => {\n executeSchedule(subscriber, scheduler, () => {\n const iterator = input[Symbol.asyncIterator]();\n executeSchedule(subscriber, scheduler, () => {\n iterator.next().then((result) => {\n if (result.done) {\n subscriber.complete();\n }\n else {\n subscriber.next(result.value);\n }\n });\n }, 0, true);\n });\n });\n}\n","import { scheduled } from '../scheduled/scheduled';\nimport { innerFrom } from './innerFrom';\nexport function from(input, scheduler) {\n return scheduler ? scheduled(input, scheduler) : innerFrom(input);\n}\n","import { scheduleObservable } from './scheduleObservable';\nimport { schedulePromise } from './schedulePromise';\nimport { scheduleArray } from './scheduleArray';\nimport { scheduleIterable } from './scheduleIterable';\nimport { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isPromise } from '../util/isPromise';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isIterable } from '../util/isIterable';\nimport { isAsyncIterable } from '../util/isAsyncIterable';\nimport { createInvalidObservableTypeError } from '../util/throwUnobservableError';\nimport { isReadableStreamLike } from '../util/isReadableStreamLike';\nimport { scheduleReadableStreamLike } from './scheduleReadableStreamLike';\nexport function scheduled(input, scheduler) {\n if (input != null) {\n if (isInteropObservable(input)) {\n return scheduleObservable(input, scheduler);\n }\n if (isArrayLike(input)) {\n return scheduleArray(input, scheduler);\n }\n if (isPromise(input)) {\n return schedulePromise(input, scheduler);\n }\n if (isAsyncIterable(input)) {\n return scheduleAsyncIterable(input, scheduler);\n }\n if (isIterable(input)) {\n return scheduleIterable(input, scheduler);\n }\n if (isReadableStreamLike(input)) {\n return scheduleReadableStreamLike(input, scheduler);\n }\n }\n throw createInvalidObservableTypeError(input);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function scheduleObservable(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nexport function scheduleArray(input, scheduler) {\n return new Observable((subscriber) => {\n let i = 0;\n return scheduler.schedule(function () {\n if (i === input.length) {\n subscriber.complete();\n }\n else {\n subscriber.next(input[i++]);\n if (!subscriber.closed) {\n this.schedule();\n }\n }\n });\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function schedulePromise(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from '../util/isFunction';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleIterable(input, scheduler) {\n return new Observable((subscriber) => {\n let iterator;\n executeSchedule(subscriber, scheduler, () => {\n iterator = input[Symbol_iterator]();\n executeSchedule(subscriber, scheduler, () => {\n let value;\n let done;\n try {\n ({ value, done } = iterator.next());\n }\n catch (err) {\n subscriber.error(err);\n return;\n }\n if (done) {\n subscriber.complete();\n }\n else {\n subscriber.next(value);\n }\n }, 0, true);\n });\n return () => isFunction(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return();\n });\n}\n","import { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { readableStreamLikeToAsyncGenerator } from '../util/isReadableStreamLike';\nexport function scheduleReadableStreamLike(input, scheduler) {\n return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);\n}\n","import { popScheduler } from '../util/args';\nimport { from } from './from';\nexport function of(...args) {\n const scheduler = popScheduler(args);\n return from(args, scheduler);\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function map(project, thisArg) {\n return operate((source, subscriber) => {\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n subscriber.next(project.call(thisArg, value, index++));\n }));\n });\n}\n","import { mergeMap } from './mergeMap';\nimport { identity } from '../util/identity';\nexport function mergeAll(concurrent = Infinity) {\n return mergeMap(identity, concurrent);\n}\n","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 }\n else if (typeof resultSelector === 'number') {\n concurrent = resultSelector;\n }\n return operate((source, subscriber) => mergeInternals(source, subscriber, project, concurrent));\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { executeSchedule } from '../util/executeSchedule';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function mergeInternals(source, subscriber, project, concurrent, onBeforeNext, expand, innerSubScheduler, additionalFinalizer) {\n const buffer = [];\n let active = 0;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => {\n if (isComplete && !buffer.length && !active) {\n subscriber.complete();\n }\n };\n const outerNext = (value) => (active < concurrent ? doInnerSub(value) : buffer.push(value));\n const doInnerSub = (value) => {\n expand && subscriber.next(value);\n active++;\n let innerComplete = false;\n innerFrom(project(value, index++)).subscribe(createOperatorSubscriber(subscriber, (innerValue) => {\n onBeforeNext === null || onBeforeNext === void 0 ? void 0 : onBeforeNext(innerValue);\n if (expand) {\n outerNext(innerValue);\n }\n else {\n subscriber.next(innerValue);\n }\n }, () => {\n innerComplete = true;\n }, undefined, () => {\n if (innerComplete) {\n try {\n active--;\n while (buffer.length && active < concurrent) {\n const bufferedValue = buffer.shift();\n if (innerSubScheduler) {\n executeSchedule(subscriber, innerSubScheduler, () => doInnerSub(bufferedValue));\n }\n else {\n doInnerSub(bufferedValue);\n }\n }\n checkComplete();\n }\n catch (err) {\n subscriber.error(err);\n }\n }\n }));\n };\n source.subscribe(createOperatorSubscriber(subscriber, outerNext, () => {\n isComplete = true;\n checkComplete();\n }));\n return () => {\n additionalFinalizer === null || additionalFinalizer === void 0 ? void 0 : additionalFinalizer();\n };\n}\n","import { executeSchedule } from '../util/executeSchedule';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function observeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, (value) => executeSchedule(subscriber, scheduler, () => subscriber.next(value), delay), () => executeSchedule(subscriber, scheduler, () => subscriber.complete(), delay), (err) => executeSchedule(subscriber, scheduler, () => subscriber.error(err), delay)));\n });\n}\n","import { concat } from '../observable/concat';\nimport { popScheduler } from '../util/args';\nimport { operate } from '../util/lift';\nexport function startWith(...values) {\n const scheduler = popScheduler(values);\n return operate((source, subscriber) => {\n (scheduler ? concat(values, source, scheduler) : concat(values, source)).subscribe(subscriber);\n });\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { innerFrom } from '../observable/innerFrom';\nimport { noop } from '../util/noop';\nexport function takeUntil(notifier) {\n return operate((source, subscriber) => {\n innerFrom(notifier).subscribe(createOperatorSubscriber(subscriber, () => subscriber.complete(), noop));\n !subscriber.closed && source.subscribe(subscriber);\n });\n}\n","import { isFunction } from './isFunction';\nimport { isScheduler } from './isScheduler';\nfunction last(arr) {\n return arr[arr.length - 1];\n}\nexport function popResultSelector(args) {\n return isFunction(last(args)) ? args.pop() : undefined;\n}\nexport function popScheduler(args) {\n return isScheduler(last(args)) ? args.pop() : undefined;\n}\nexport function popNumber(args, defaultValue) {\n return typeof last(args) === 'number' ? args.pop() : defaultValue;\n}\n","export function executeSchedule(parentSubscription, scheduler, work, delay = 0, repeat = false) {\n const scheduleSubscription = scheduler.schedule(function () {\n work();\n if (repeat) {\n parentSubscription.add(this.schedule(null, delay));\n }\n else {\n this.unsubscribe();\n }\n }, delay);\n parentSubscription.add(scheduleSubscription);\n if (!repeat) {\n return scheduleSubscription;\n }\n}\n","import { isFunction } from './isFunction';\nexport function isScheduler(value) {\n return value && isFunction(value.schedule);\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","import { FocusKeyManager } from '@angular/cdk/a11y';\nimport * as i1 from '@angular/cdk/bidi';\nimport { BidiModule } from '@angular/cdk/bidi';\nimport { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';\nimport { hasModifierKey, SPACE, ENTER } from '@angular/cdk/keycodes';\nimport * as i0 from '@angular/core';\nimport { Directive, InjectionToken, EventEmitter, forwardRef, TemplateRef, Component, ViewEncapsulation, ChangeDetectionStrategy, Inject, Optional, ContentChild, ViewChild, Input, Output, QueryList, ContentChildren, NgModule } from '@angular/core';\nimport { _getFocusedElementPierceShadowDom } from '@angular/cdk/platform';\nimport { Subject, of } from 'rxjs';\nimport { startWith, takeUntil } from 'rxjs/operators';\n\nclass CdkStepHeader {\n constructor(_elementRef) {\n this._elementRef = _elementRef;\n }\n /** Focuses the step header. */\n focus() {\n this._elementRef.nativeElement.focus();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkStepHeader, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkStepHeader, selector: \"[cdkStepHeader]\", host: { attributes: { \"role\": \"tab\" } }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkStepHeader, decorators: [{\n type: Directive,\n args: [{\n selector: '[cdkStepHeader]',\n host: {\n 'role': 'tab',\n },\n }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });\n\nclass CdkStepLabel {\n constructor(/** @docs-private */ template) {\n this.template = template;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkStepLabel, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkStepLabel, selector: \"[cdkStepLabel]\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkStepLabel, decorators: [{\n type: Directive,\n args: [{\n selector: '[cdkStepLabel]',\n }]\n }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });\n\n/** Used to generate unique ID for each stepper component. */\nlet nextId = 0;\n/** Change event emitted on selection changes. */\nclass StepperSelectionEvent {\n}\n/** Enum to represent the different states of the steps. */\nconst STEP_STATE = {\n NUMBER: 'number',\n EDIT: 'edit',\n DONE: 'done',\n ERROR: 'error',\n};\n/** InjectionToken that can be used to specify the global stepper options. */\nconst STEPPER_GLOBAL_OPTIONS = new InjectionToken('STEPPER_GLOBAL_OPTIONS');\nclass CdkStep {\n /** Whether the user can return to this step once it has been marked as completed. */\n get editable() {\n return this._editable;\n }\n set editable(value) {\n this._editable = coerceBooleanProperty(value);\n }\n /** Whether the completion of step is optional. */\n get optional() {\n return this._optional;\n }\n set optional(value) {\n this._optional = coerceBooleanProperty(value);\n }\n /** Whether step is marked as completed. */\n get completed() {\n return this._completedOverride == null ? this._getDefaultCompleted() : this._completedOverride;\n }\n set completed(value) {\n this._completedOverride = coerceBooleanProperty(value);\n }\n _getDefaultCompleted() {\n return this.stepControl ? this.stepControl.valid && this.interacted : this.interacted;\n }\n /** Whether step has an error. */\n get hasError() {\n return this._customError == null ? this._getDefaultError() : this._customError;\n }\n set hasError(value) {\n this._customError = coerceBooleanProperty(value);\n }\n _getDefaultError() {\n return this.stepControl && this.stepControl.invalid && this.interacted;\n }\n constructor(_stepper, stepperOptions) {\n this._stepper = _stepper;\n /** Whether user has attempted to move away from the step. */\n this.interacted = false;\n /** Emits when the user has attempted to move away from the step. */\n this.interactedStream = new EventEmitter();\n this._editable = true;\n this._optional = false;\n this._completedOverride = null;\n this._customError = null;\n this._stepperOptions = stepperOptions ? stepperOptions : {};\n this._displayDefaultIndicatorType = this._stepperOptions.displayDefaultIndicatorType !== false;\n }\n /** Selects this step component. */\n select() {\n this._stepper.selected = this;\n }\n /** Resets the step to its initial state. Note that this includes resetting form data. */\n reset() {\n this.interacted = false;\n if (this._completedOverride != null) {\n this._completedOverride = false;\n }\n if (this._customError != null) {\n this._customError = false;\n }\n if (this.stepControl) {\n this.stepControl.reset();\n }\n }\n ngOnChanges() {\n // Since basically all inputs of the MatStep get proxied through the view down to the\n // underlying MatStepHeader, we have to make sure that change detection runs correctly.\n this._stepper._stateChanged();\n }\n _markAsInteracted() {\n if (!this.interacted) {\n this.interacted = true;\n this.interactedStream.emit(this);\n }\n }\n /** Determines whether the error state can be shown. */\n _showError() {\n // We want to show the error state either if the user opted into/out of it using the\n // global options, or if they've explicitly set it through the `hasError` input.\n return this._stepperOptions.showError ?? this._customError != null;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkStep, deps: [{ token: forwardRef(() => CdkStepper) }, { token: STEPPER_GLOBAL_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkStep, selector: \"cdk-step\", inputs: { stepControl: \"stepControl\", label: \"label\", errorMessage: \"errorMessage\", ariaLabel: [\"aria-label\", \"ariaLabel\"], ariaLabelledby: [\"aria-labelledby\", \"ariaLabelledby\"], state: \"state\", editable: \"editable\", optional: \"optional\", completed: \"completed\", hasError: \"hasError\" }, outputs: { interactedStream: \"interacted\" }, queries: [{ propertyName: \"stepLabel\", first: true, predicate: CdkStepLabel, descendants: true }], viewQueries: [{ propertyName: \"content\", first: true, predicate: TemplateRef, descendants: true, static: true }], exportAs: [\"cdkStep\"], usesOnChanges: true, ngImport: i0, template: '<ng-template><ng-content></ng-content></ng-template>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkStep, decorators: [{\n type: Component,\n args: [{\n selector: 'cdk-step',\n exportAs: 'cdkStep',\n template: '<ng-template><ng-content></ng-content></ng-template>',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n }]\n }], ctorParameters: function () { return [{ type: CdkStepper, decorators: [{\n type: Inject,\n args: [forwardRef(() => CdkStepper)]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [STEPPER_GLOBAL_OPTIONS]\n }] }]; }, propDecorators: { stepLabel: [{\n type: ContentChild,\n args: [CdkStepLabel]\n }], content: [{\n type: ViewChild,\n args: [TemplateRef, { static: true }]\n }], stepControl: [{\n type: Input\n }], interactedStream: [{\n type: Output,\n args: ['interacted']\n }], label: [{\n type: Input\n }], errorMessage: [{\n type: Input\n }], ariaLabel: [{\n type: Input,\n args: ['aria-label']\n }], ariaLabelledby: [{\n type: Input,\n args: ['aria-labelledby']\n }], state: [{\n type: Input\n }], editable: [{\n type: Input\n }], optional: [{\n type: Input\n }], completed: [{\n type: Input\n }], hasError: [{\n type: Input\n }] } });\nclass CdkStepper {\n /** Whether the validity of previous steps should be checked or not. */\n get linear() {\n return this._linear;\n }\n set linear(value) {\n this._linear = coerceBooleanProperty(value);\n }\n /** The index of the selected step. */\n get selectedIndex() {\n return this._selectedIndex;\n }\n set selectedIndex(index) {\n const newIndex = coerceNumberProperty(index);\n if (this.steps && this._steps) {\n // Ensure that the index can't be out of bounds.\n if (!this._isValidIndex(newIndex) && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error('cdkStepper: Cannot assign out-of-bounds value to `selectedIndex`.');\n }\n this.selected?._markAsInteracted();\n if (this._selectedIndex !== newIndex &&\n !this._anyControlsInvalidOrPending(newIndex) &&\n (newIndex >= this._selectedIndex || this.steps.toArray()[newIndex].editable)) {\n this._updateSelectedItemIndex(newIndex);\n }\n }\n else {\n this._selectedIndex = newIndex;\n }\n }\n /** The step that is selected. */\n get selected() {\n return this.steps ? this.steps.toArray()[this.selectedIndex] : undefined;\n }\n set selected(step) {\n this.selectedIndex = step && this.steps ? this.steps.toArray().indexOf(step) : -1;\n }\n /** Orientation of the stepper. */\n get orientation() {\n return this._orientation;\n }\n set orientation(value) {\n // This is a protected method so that `MatStepper` can hook into it.\n this._orientation = value;\n if (this._keyManager) {\n this._keyManager.withVerticalOrientation(value === 'vertical');\n }\n }\n constructor(_dir, _changeDetectorRef, _elementRef) {\n this._dir = _dir;\n this._changeDetectorRef = _changeDetectorRef;\n this._elementRef = _elementRef;\n /** Emits when the component is destroyed. */\n this._destroyed = new Subject();\n /** Steps that belong to the current stepper, excluding ones from nested steppers. */\n this.steps = new QueryList();\n /** List of step headers sorted based on their DOM order. */\n this._sortedHeaders = new QueryList();\n this._linear = false;\n this._selectedIndex = 0;\n /** Event emitted when the selected step has changed. */\n this.selectionChange = new EventEmitter();\n this._orientation = 'horizontal';\n this._groupId = nextId++;\n }\n ngAfterContentInit() {\n this._steps.changes\n .pipe(startWith(this._steps), takeUntil(this._destroyed))\n .subscribe((steps) => {\n this.steps.reset(steps.filter(step => step._stepper === this));\n this.steps.notifyOnChanges();\n });\n }\n ngAfterViewInit() {\n // If the step headers are defined outside of the `ngFor` that renders the steps, like in the\n // Material stepper, they won't appear in the `QueryList` in the same order as they're\n // rendered in the DOM which will lead to incorrect keyboard navigation. We need to sort\n // them manually to ensure that they're correct. Alternatively, we can change the Material\n // template to inline the headers in the `ngFor`, but that'll result in a lot of\n // code duplication. See #23539.\n this._stepHeader.changes\n .pipe(startWith(this._stepHeader), takeUntil(this._destroyed))\n .subscribe((headers) => {\n this._sortedHeaders.reset(headers.toArray().sort((a, b) => {\n const documentPosition = a._elementRef.nativeElement.compareDocumentPosition(b._elementRef.nativeElement);\n // `compareDocumentPosition` returns a bitmask so we have to use a bitwise operator.\n // https://developer.mozilla.org/en-US/docs/Web/API/Node/compareDocumentPosition\n // tslint:disable-next-line:no-bitwise\n return documentPosition & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : 1;\n }));\n this._sortedHeaders.notifyOnChanges();\n });\n // Note that while the step headers are content children by default, any components that\n // extend this one might have them as view children. We initialize the keyboard handling in\n // AfterViewInit so we're guaranteed for both view and content children to be defined.\n this._keyManager = new FocusKeyManager(this._sortedHeaders)\n .withWrap()\n .withHomeAndEnd()\n .withVerticalOrientation(this._orientation === 'vertical');\n (this._dir ? this._dir.change : of())\n .pipe(startWith(this._layoutDirection()), takeUntil(this._destroyed))\n .subscribe(direction => this._keyManager.withHorizontalOrientation(direction));\n this._keyManager.updateActiveItem(this._selectedIndex);\n // No need to `takeUntil` here, because we're the ones destroying `steps`.\n this.steps.changes.subscribe(() => {\n if (!this.selected) {\n this._selectedIndex = Math.max(this._selectedIndex - 1, 0);\n }\n });\n // The logic which asserts that the selected index is within bounds doesn't run before the\n // steps are initialized, because we don't how many steps there are yet so we may have an\n // invalid index on init. If that's the case, auto-correct to the default so we don't throw.\n if (!this._isValidIndex(this._selectedIndex)) {\n this._selectedIndex = 0;\n }\n }\n ngOnDestroy() {\n this._keyManager?.destroy();\n this.steps.destroy();\n this._sortedHeaders.destroy();\n this._destroyed.next();\n this._destroyed.complete();\n }\n /** Selects and focuses the next step in list. */\n next() {\n this.selectedIndex = Math.min(this._selectedIndex + 1, this.steps.length - 1);\n }\n /** Selects and focuses the previous step in list. */\n previous() {\n this.selectedIndex = Math.max(this._selectedIndex - 1, 0);\n }\n /** Resets the stepper to its initial state. Note that this includes clearing form data. */\n reset() {\n this._updateSelectedItemIndex(0);\n this.steps.forEach(step => step.reset());\n this._stateChanged();\n }\n /** Returns a unique id for each step label element. */\n _getStepLabelId(i) {\n return `cdk-step-label-${this._groupId}-${i}`;\n }\n /** Returns unique id for each step content element. */\n _getStepContentId(i) {\n return `cdk-step-content-${this._groupId}-${i}`;\n }\n /** Marks the component to be change detected. */\n _stateChanged() {\n this._changeDetectorRef.markForCheck();\n }\n /** Returns position state of the step with the given index. */\n _getAnimationDirection(index) {\n const position = index - this._selectedIndex;\n if (position < 0) {\n return this._layoutDirection() === 'rtl' ? 'next' : 'previous';\n }\n else if (position > 0) {\n return this._layoutDirection() === 'rtl' ? 'previous' : 'next';\n }\n return 'current';\n }\n /** Returns the type of icon to be displayed. */\n _getIndicatorType(index, state = STEP_STATE.NUMBER) {\n const step = this.steps.toArray()[index];\n const isCurrentStep = this._isCurrentStep(index);\n return step._displayDefaultIndicatorType\n ? this._getDefaultIndicatorLogic(step, isCurrentStep)\n : this._getGuidelineLogic(step, isCurrentStep, state);\n }\n _getDefaultIndicatorLogic(step, isCurrentStep) {\n if (step._showError() && step.hasError && !isCurrentStep) {\n return STEP_STATE.ERROR;\n }\n else if (!step.completed || isCurrentStep) {\n return STEP_STATE.NUMBER;\n }\n else {\n return step.editable ? STEP_STATE.EDIT : STEP_STATE.DONE;\n }\n }\n _getGuidelineLogic(step, isCurrentStep, state = STEP_STATE.NUMBER) {\n if (step._showError() && step.hasError && !isCurrentStep) {\n return STEP_STATE.ERROR;\n }\n else if (step.completed && !isCurrentStep) {\n return STEP_STATE.DONE;\n }\n else if (step.completed && isCurrentStep) {\n return state;\n }\n else if (step.editable && isCurrentStep) {\n return STEP_STATE.EDIT;\n }\n else {\n return state;\n }\n }\n _isCurrentStep(index) {\n return this._selectedIndex === index;\n }\n /** Returns the index of the currently-focused step header. */\n _getFocusIndex() {\n return this._keyManager ? this._keyManager.activeItemIndex : this._selectedIndex;\n }\n _updateSelectedItemIndex(newIndex) {\n const stepsArray = this.steps.toArray();\n this.selectionChange.emit({\n selectedIndex: newIndex,\n previouslySelectedIndex: this._selectedIndex,\n selectedStep: stepsArray[newIndex],\n previouslySelectedStep: stepsArray[this._selectedIndex],\n });\n // If focus is inside the stepper, move it to the next header, otherwise it may become\n // lost when the active step content is hidden. We can't be more granular with the check\n // (e.g. checking whether focus is inside the active step), because we don't have a\n // reference to the elements that are rendering out the content.\n this._containsFocus()\n ? this._keyManager.setActiveItem(newIndex)\n : this._keyManager.updateActiveItem(newIndex);\n this._selectedIndex = newIndex;\n this._stateChanged();\n }\n _onKeydown(event) {\n const hasModifier = hasModifierKey(event);\n const keyCode = event.keyCode;\n const manager = this._keyManager;\n if (manager.activeItemIndex != null &&\n !hasModifier &&\n (keyCode === SPACE || keyCode === ENTER)) {\n this.selectedIndex = manager.activeItemIndex;\n event.preventDefault();\n }\n else {\n manager.setFocusOrigin('keyboard').onKeydown(event);\n }\n }\n _anyControlsInvalidOrPending(index) {\n if (this._linear && index >= 0) {\n return this.steps\n .toArray()\n .slice(0, index)\n .some(step => {\n const control = step.stepControl;\n const isIncomplete = control\n ? control.invalid || control.pending || !step.interacted\n : !step.completed;\n return isIncomplete && !step.optional && !step._completedOverride;\n });\n }\n return false;\n }\n _layoutDirection() {\n return this._dir && this._dir.value === 'rtl' ? 'rtl' : 'ltr';\n }\n /** Checks whether the stepper contains the focused element. */\n _containsFocus() {\n const stepperElement = this._elementRef.nativeElement;\n const focusedElement = _getFocusedElementPierceShadowDom();\n return stepperElement === focusedElement || stepperElement.contains(focusedElement);\n }\n /** Checks whether the passed-in index is a valid step index. */\n _isValidIndex(index) {\n return index > -1 && (!this.steps || index < this.steps.length);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkStepper, deps: [{ token: i1.Directionality, optional: true }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkStepper, selector: \"[cdkStepper]\", inputs: { linear: \"linear\", selectedIndex: \"selectedIndex\", selected: \"selected\", orientation: \"orientation\" }, outputs: { selectionChange: \"selectionChange\" }, queries: [{ propertyName: \"_steps\", predicate: CdkStep, descendants: true }, { propertyName: \"_stepHeader\", predicate: CdkStepHeader, descendants: true }], exportAs: [\"cdkStepper\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkStepper, decorators: [{\n type: Directive,\n args: [{\n selector: '[cdkStepper]',\n exportAs: 'cdkStepper',\n }]\n }], ctorParameters: function () { return [{ type: i1.Directionality, decorators: [{\n type: Optional\n }] }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }]; }, propDecorators: { _steps: [{\n type: ContentChildren,\n args: [CdkStep, { descendants: true }]\n }], _stepHeader: [{\n type: ContentChildren,\n args: [CdkStepHeader, { descendants: true }]\n }], linear: [{\n type: Input\n }], selectedIndex: [{\n type: Input\n }], selected: [{\n type: Input\n }], selectionChange: [{\n type: Output\n }], orientation: [{\n type: Input\n }] } });\n\n/** Button that moves to the next step in a stepper workflow. */\nclass CdkStepperNext {\n constructor(_stepper) {\n this._stepper = _stepper;\n /** Type of the next button. Defaults to \"submit\" if not specified. */\n this.type = 'submit';\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkStepperNext, deps: [{ token: CdkStepper }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkStepperNext, selector: \"button[cdkStepperNext]\", inputs: { type: \"type\" }, host: { listeners: { \"click\": \"_stepper.next()\" }, properties: { \"type\": \"type\" } }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkStepperNext, decorators: [{\n type: Directive,\n args: [{\n selector: 'button[cdkStepperNext]',\n host: {\n '[type]': 'type',\n '(click)': '_stepper.next()',\n },\n }]\n }], ctorParameters: function () { return [{ type: CdkStepper }]; }, propDecorators: { type: [{\n type: Input\n }] } });\n/** Button that moves to the previous step in a stepper workflow. */\nclass CdkStepperPrevious {\n constructor(_stepper) {\n this._stepper = _stepper;\n /** Type of the previous button. Defaults to \"button\" if not specified. */\n this.type = 'button';\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkStepperPrevious, deps: [{ token: CdkStepper }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkStepperPrevious, selector: \"button[cdkStepperPrevious]\", inputs: { type: \"type\" }, host: { listeners: { \"click\": \"_stepper.previous()\" }, properties: { \"type\": \"type\" } }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkStepperPrevious, decorators: [{\n type: Directive,\n args: [{\n selector: 'button[cdkStepperPrevious]',\n host: {\n '[type]': 'type',\n '(click)': '_stepper.previous()',\n },\n }]\n }], ctorParameters: function () { return [{ type: CdkStepper }]; }, propDecorators: { type: [{\n type: Input\n }] } });\n\nclass CdkStepperModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkStepperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkStepperModule, declarations: [CdkStep,\n CdkStepper,\n CdkStepHeader,\n CdkStepLabel,\n CdkStepperNext,\n CdkStepperPrevious], imports: [BidiModule], exports: [CdkStep, CdkStepper, CdkStepHeader, CdkStepLabel, CdkStepperNext, CdkStepperPrevious] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkStepperModule, imports: [BidiModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkStepperModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [BidiModule],\n exports: [CdkStep, CdkStepper, CdkStepHeader, CdkStepLabel, CdkStepperNext, CdkStepperPrevious],\n declarations: [\n CdkStep,\n CdkStepper,\n CdkStepHeader,\n CdkStepLabel,\n CdkStepperNext,\n CdkStepperPrevious,\n ],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { CdkStep, CdkStepHeader, CdkStepLabel, CdkStepper, CdkStepperModule, CdkStepperNext, CdkStepperPrevious, STEPPER_GLOBAL_OPTIONS, STEP_STATE, StepperSelectionEvent };\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42]} \ No newline at end of file diff --git a/6237.404c096af053e535.js b/6237.404c096af053e535.js new file mode 100644 index 0000000..42a77b7 --- /dev/null +++ b/6237.404c096af053e535.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[6237,5106,7376,5187,4091,1217,7208,4968,6785,4155,1084,6896,7920,6980,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,8061,4680,2111,3326,8596,8352,5501,882,3098,8467,6578,8608,8443,7328,6441,1821,4902,3418,5915,3278,5391,6748,1551,6763,4151,5069,7432,8071,6618],{91640:(v,_,e)=>{e.d(_,{D:()=>l});var a=e(90833),u=e(45756),n=e(54987),r=e(10420),o=e(93945),i=e(58385),t=e(11054);function l(){for(var c=arguments.length,h=new Array(c),d=0;d<c;d++)h[d]=arguments[d];var p=(0,r.jO)(h),m=(0,u.D)(h),b=m.args,y=m.keys,A=new a.y(function(D){var M=b.length;if(M)for(var I=new Array(M),g=M,T=M,R=function(s){var O=!1;(0,n.Xf)(b[s]).subscribe((0,o.x)(D,function(P){O||(O=!0,T--),I[s]=P},function(){return g--},void 0,function(){(!g||!O)&&(T||D.next(y?(0,t.n)(y,I):I),D.complete())}))},E=0;E<M;E++)R(E);else D.complete()});return p?A.pipe((0,i.Z)(p)):A}},37400:(v,_,e)=>{e.d(_,{D:()=>E});var a=e(54987),u=e(8728),n=e(41944);function r(f){var s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,n.e)(function(O,P){P.add(f.schedule(function(){return O.subscribe(P)},s))})}var t=e(90833),c=e(67321),h=e(92971),d=e(1817);function m(f,s){if(!f)throw new Error("Iterable cannot be null");return new t.y(function(O){(0,d.f)(O,s,function(){var P=f[Symbol.asyncIterator]();(0,d.f)(O,s,function(){P.next().then(function(Z){Z.done?O.complete():O.next(Z.value)})},0,!0)})})}var b=e(21331),y=e(79548),A=e(99806),D=e(23433),M=e(80470),I=e(27785),g=e(20181);function E(f,s){return s?function R(f,s){if(null!=f){if((0,b.c)(f))return function o(f,s){return(0,a.Xf)(f).pipe(r(s),(0,u.Q)(s))}(f,s);if((0,A.z)(f))return function l(f,s){return new t.y(function(O){var P=0;return s.schedule(function(){P===f.length?O.complete():(O.next(f[P++]),O.closed||this.schedule())})})}(f,s);if((0,y.t)(f))return function i(f,s){return(0,a.Xf)(f).pipe(r(s),(0,u.Q)(s))}(f,s);if((0,M.D)(f))return m(f,s);if((0,D.T)(f))return function p(f,s){return new t.y(function(O){var P;return(0,d.f)(O,s,function(){P=f[c.h](),(0,d.f)(O,s,function(){var Z,C;try{var L=P.next();Z=L.value,C=L.done}catch(U){return void O.error(U)}C?O.complete():O.next(Z)},0,!0)}),function(){return(0,h.m)(P?.return)&&P.return()}})}(f,s);if((0,g.L)(f))return function T(f,s){return m((0,g.Q)(f),s)}(f,s)}throw(0,I.z)(f)}(f,s):(0,a.Xf)(f)}},10745:(v,_,e)=>{e.d(_,{of:()=>n});var a=e(10420),u=e(37400);function n(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var t=(0,a.yG)(o);return(0,u.D)(o,t)}},93945:(v,_,e)=>{e.d(_,{Q:()=>h,x:()=>c});var a=e(78069),u=e(48047),n=e(35488),r=e(24582),o=e(28694),i=e(4089),t=e(20265);function c(d,p,m,b,y){return new h(d,p,m,b,y)}var h=function(d){(0,r.Z)(m,d);var p=(0,o.Z)(m);function m(b,y,A,D,M,I){var g,T,R,E;return(0,a.Z)(this,m),(E=p.call(this,b)).onFinalize=M,E.shouldUnsubscribe=I,E._next=y?function(f){try{y(f)}catch(s){b.error(s)}}:(0,i.Z)((g=(0,n.Z)(E),(0,t.Z)(m.prototype)),"_next",g),E._error=D?function(f){try{D(f)}catch(s){b.error(s)}finally{this.unsubscribe()}}:(0,i.Z)((T=(0,n.Z)(E),(0,t.Z)(m.prototype)),"_error",T),E._complete=A?function(){try{A()}catch(f){b.error(f)}finally{this.unsubscribe()}}:(0,i.Z)((R=(0,n.Z)(E),(0,t.Z)(m.prototype)),"_complete",R),E}return(0,u.Z)(m,[{key:"unsubscribe",value:function(){var y;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var A=this.closed;(0,i.Z)((0,t.Z)(m.prototype),"unsubscribe",this).call(this),!A&&(null===(y=this.onFinalize)||void 0===y||y.call(this))}}}]),m}(e(5463).Lv)},50635:(v,_,e)=>{e.d(_,{U:()=>n});var a=e(41944),u=e(93945);function n(r,o){return(0,a.e)(function(i,t){var l=0;i.subscribe((0,u.x)(t,function(c){t.next(r.call(o,c,l++))}))})}},8728:(v,_,e)=>{e.d(_,{Q:()=>r});var a=e(1817),u=e(41944),n=e(93945);function r(o){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,u.e)(function(t,l){t.subscribe((0,n.x)(l,function(c){return(0,a.f)(l,o,function(){return l.next(c)},i)},function(){return(0,a.f)(l,o,function(){return l.complete()},i)},function(c){return(0,a.f)(l,o,function(){return l.error(c)},i)}))})}},32673:(v,_,e)=>{e.d(_,{w:()=>r});var a=e(54987),u=e(41944),n=e(93945);function r(o,i){return(0,u.e)(function(t,l){var c=null,h=0,d=!1,p=function(){return d&&!c&&l.complete()};t.subscribe((0,n.x)(l,function(m){c?.unsubscribe();var b=0,y=h++;(0,a.Xf)(o(m,y)).subscribe(c=(0,n.x)(l,function(A){return l.next(i?i(m,A,y,b++):A)},function(){c=null,p()}))},function(){d=!0,p()}))})}},10420:(v,_,e)=>{e.d(_,{_6:()=>i,jO:()=>r,yG:()=>o});var a=e(92971),u=e(59867);function n(t){return t[t.length-1]}function r(t){return(0,a.m)(n(t))?t.pop():void 0}function o(t){return(0,u.K)(n(t))?t.pop():void 0}function i(t,l){return"number"==typeof n(t)?t.pop():l}},45756:(v,_,e)=>{e.d(_,{D:()=>o});var a=Array.isArray,u=Object.getPrototypeOf,n=Object.prototype,r=Object.keys;function o(t){if(1===t.length){var l=t[0];if(a(l))return{args:l,keys:null};if(function i(t){return t&&"object"==typeof t&&u(t)===n}(l)){var c=r(l);return{args:c.map(function(h){return l[h]}),keys:c}}}return{args:t,keys:null}}},11054:(v,_,e)=>{function a(u,n){return u.reduce(function(r,o,i){return r[o]=n[i],r},{})}e.d(_,{n:()=>a})},1817:(v,_,e)=>{function a(u,n,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],t=n.schedule(function(){r(),i?u.add(this.schedule(null,o)):this.unsubscribe()},o);if(u.add(t),!i)return t}e.d(_,{f:()=>a})},59867:(v,_,e)=>{e.d(_,{K:()=>u});var a=e(92971);function u(n){return n&&(0,a.m)(n.schedule)}},41944:(v,_,e)=>{e.d(_,{A:()=>u,e:()=>n});var a=e(92971);function u(r){return(0,a.m)(r?.lift)}function n(r){return function(o){if(u(o))return o.lift(function(i){try{return r(i,this)}catch(t){this.error(t)}});throw new TypeError("Unable to lift unknown Observable type")}}},58385:(v,_,e)=>{e.d(_,{Z:()=>o});var a=e(86170),u=e(50635),n=Array.isArray;function o(i){return(0,u.U)(function(t){return function r(i,t){return n(t)?i.apply(void 0,(0,a.Z)(t)):i(t)}(i,t)})}},44841:(v,_,e)=>{function a(u,n){(null==n||n>u.length)&&(n=u.length);for(var r=0,o=new Array(n);r<n;r++)o[r]=u[r];return o}e.d(_,{Z:()=>a})},35488:(v,_,e)=>{function a(u){if(void 0===u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}e.d(_,{Z:()=>a})},95106:(v,_,e)=>{e.d(_,{Z:()=>u});var a=e(44206);function u(n,r){var o=typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(!o){if(Array.isArray(n)||(o=(0,a.Z)(n))||r&&n&&"number"==typeof n.length){o&&(n=o);var i=0,t=function(){};return{s:t,n:function(){return i>=n.length?{done:!0}:{done:!1,value:n[i++]}},e:function(p){throw p},f:t}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var h,l=!0,c=!1;return{s:function(){o=o.call(n)},n:function(){var p=o.next();return l=p.done,p},e:function(p){c=!0,h=p},f:function(){try{!l&&null!=o.return&&o.return()}finally{if(c)throw h}}}}},28694:(v,_,e)=>{e.d(_,{Z:()=>i});var a=e(20265),u=e(98568),n=e(43445),r=e(35488);function i(t){var l=(0,u.Z)();return function(){var d,h=(0,a.Z)(t);if(l){var p=(0,a.Z)(this).constructor;d=Reflect.construct(h,arguments,p)}else d=h.apply(this,arguments);return function o(t,l){if(l&&("object"===(0,n.Z)(l)||"function"==typeof l))return l;if(void 0!==l)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(t)}(this,d)}}},4089:(v,_,e)=>{e.d(_,{Z:()=>n});var a=e(20265);function n(){return n=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(o,i,t){var l=function u(r,o){for(;!Object.prototype.hasOwnProperty.call(r,o)&&null!==(r=(0,a.Z)(r)););return r}(o,i);if(l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(arguments.length<3?o:t):c.value}},n.apply(this,arguments)}},20265:(v,_,e)=>{function a(u){return(a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)})(u)}e.d(_,{Z:()=>a})},24582:(v,_,e)=>{e.d(_,{Z:()=>u});var a=e(10006);function u(n,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(r&&r.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),r&&(0,a.Z)(n,r)}},98568:(v,_,e)=>{function a(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(_,{Z:()=>a})},4826:(v,_,e)=>{function a(u){if(typeof Symbol<"u"&&null!=u[Symbol.iterator]||null!=u["@@iterator"])return Array.from(u)}e.d(_,{Z:()=>a})},10006:(v,_,e)=>{function a(u,n){return(a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,i){return o.__proto__=i,o})(u,n)}e.d(_,{Z:()=>a})},86170:(v,_,e)=>{e.d(_,{Z:()=>i});var a=e(44841),n=e(4826),r=e(44206);function i(t){return function u(t){if(Array.isArray(t))return(0,a.Z)(t)}(t)||(0,n.Z)(t)||(0,r.Z)(t)||function o(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(v,_,e)=>{e.d(_,{Z:()=>u});var a=e(44841);function u(n,r){if(n){if("string"==typeof n)return(0,a.Z)(n,r);var o=Object.prototype.toString.call(n).slice(8,-1);if("Object"===o&&n.constructor&&(o=n.constructor.name),"Map"===o||"Set"===o)return Array.from(n);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return(0,a.Z)(n,r)}}}}]); +//# sourceMappingURL=6237.404c096af053e535.js.map \ No newline at end of file diff --git a/6237.404c096af053e535.js.map b/6237.404c096af053e535.js.map new file mode 100644 index 0000000..0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,EAAA6D,EAAA,CACtG","names":["forkJoin","_len","arguments","length","args","Array","_key","resultSelector","popResultSelector","_argsArgArrayOrObject","argsArgArrayOrObject","sources","keys","result","Observable","subscriber","values","remainingCompletions","remainingEmissions","_loop","sourceIndex","hasValue","innerFrom","subscribe","createOperatorSubscriber","value","undefined","next","createObject","complete","pipe","mapOneOrManyArgs","subscribeOn","scheduler","delay","operate","source","add","schedule","scheduleAsyncIterable","input","Error","executeSchedule","iterator","Symbol","asyncIterator","then","done","from","scheduled","isInteropObservable","scheduleObservable","observeOn","isArrayLike","scheduleArray","i","closed","this","isPromise","schedulePromise","isAsyncIterable","isIterable","scheduleIterable","Symbol_iterator","_iterator$next","err","error","isFunction","return","isReadableStreamLike","scheduleReadableStreamLike","readableStreamLikeToAsyncGenerator","createInvalidObservableTypeError","of","popScheduler","destination","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","_inherits","_super","_createSuper","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_this","_classCallCheck","call","_next","_get","_assertThisInitialized","_getPrototypeOf","prototype","_error","unsubscribe","_complete","_createClass","key","_a","Subscriber","map","project","thisArg","index","switchMap","innerSubscriber","isComplete","checkComplete","innerIndex","outerIndex","innerValue","last","arr","pop","isScheduler","popNumber","defaultValue","isArray","getPrototypeOf","Object","objectProto","getKeys","first","isPOJO","obj","reduce","parentSubscription","work","repeat","scheduleSubscription","hasLift","lift","init","liftedSource","TypeError","fn","callOrApply","apply","_toConsumableArray","_arrayLikeToArray","len","arr2","self","ReferenceError","_createForOfIteratorHelper","o","allowArrayLike","it","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","s","n","e","_e","f","normalCompletion","didErr","step","_e2","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Super","NewTarget","constructor","Reflect","construct","_possibleConstructorReturn","esm_typeof","assertThisInitialized","get","bind","target","property","receiver","base","_superPropBase","object","hasOwnProperty","desc","getOwnPropertyDescriptor","setPrototypeOf","__proto__","subClass","superClass","create","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_iterableToArray","iter","_setPrototypeOf","p","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","toString","slice","name","test"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/observable/forkJoin.js","./node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleAsyncIterable.js","./node_modules/rxjs/dist/esm/internal/observable/from.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduled.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleObservable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleArray.js","./node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleIterable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleReadableStreamLike.js","./node_modules/rxjs/dist/esm/internal/observable/of.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/map.js","./node_modules/rxjs/dist/esm/internal/operators/observeOn.js","./node_modules/rxjs/dist/esm/internal/operators/switchMap.js","./node_modules/rxjs/dist/esm/internal/util/args.js","./node_modules/rxjs/dist/esm/internal/util/argsArgArrayOrObject.js","./node_modules/rxjs/dist/esm/internal/util/createObject.js","./node_modules/rxjs/dist/esm/internal/util/executeSchedule.js","./node_modules/rxjs/dist/esm/internal/util/isScheduler.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/rxjs/dist/esm/internal/util/mapOneOrManyArgs.js","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { Observable } from '../Observable';\nimport { argsArgArrayOrObject } from '../util/argsArgArrayOrObject';\nimport { innerFrom } from './innerFrom';\nimport { popResultSelector } from '../util/args';\nimport { createOperatorSubscriber } from '../operators/OperatorSubscriber';\nimport { mapOneOrManyArgs } from '../util/mapOneOrManyArgs';\nimport { createObject } from '../util/createObject';\nexport function forkJoin(...args) {\n const resultSelector = popResultSelector(args);\n const { args: sources, keys } = argsArgArrayOrObject(args);\n const result = new Observable((subscriber) => {\n const { length } = sources;\n if (!length) {\n subscriber.complete();\n return;\n }\n const values = new Array(length);\n let remainingCompletions = length;\n let remainingEmissions = length;\n for (let sourceIndex = 0; sourceIndex < length; sourceIndex++) {\n let hasValue = false;\n innerFrom(sources[sourceIndex]).subscribe(createOperatorSubscriber(subscriber, (value) => {\n if (!hasValue) {\n hasValue = true;\n remainingEmissions--;\n }\n values[sourceIndex] = value;\n }, () => remainingCompletions--, undefined, () => {\n if (!remainingCompletions || !hasValue) {\n if (!remainingEmissions) {\n subscriber.next(keys ? createObject(keys, values) : values);\n }\n subscriber.complete();\n }\n }));\n }\n });\n return resultSelector ? result.pipe(mapOneOrManyArgs(resultSelector)) : result;\n}\n","import { operate } from '../util/lift';\nexport function subscribeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay));\n });\n}\n","import { Observable } from '../Observable';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleAsyncIterable(input, scheduler) {\n if (!input) {\n throw new Error('Iterable cannot be null');\n }\n return new Observable((subscriber) => {\n executeSchedule(subscriber, scheduler, () => {\n const iterator = input[Symbol.asyncIterator]();\n executeSchedule(subscriber, scheduler, () => {\n iterator.next().then((result) => {\n if (result.done) {\n subscriber.complete();\n }\n else {\n subscriber.next(result.value);\n }\n });\n }, 0, true);\n });\n });\n}\n","import { scheduled } from '../scheduled/scheduled';\nimport { innerFrom } from './innerFrom';\nexport function from(input, scheduler) {\n return scheduler ? scheduled(input, scheduler) : innerFrom(input);\n}\n","import { scheduleObservable } from './scheduleObservable';\nimport { schedulePromise } from './schedulePromise';\nimport { scheduleArray } from './scheduleArray';\nimport { scheduleIterable } from './scheduleIterable';\nimport { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isPromise } from '../util/isPromise';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isIterable } from '../util/isIterable';\nimport { isAsyncIterable } from '../util/isAsyncIterable';\nimport { createInvalidObservableTypeError } from '../util/throwUnobservableError';\nimport { isReadableStreamLike } from '../util/isReadableStreamLike';\nimport { scheduleReadableStreamLike } from './scheduleReadableStreamLike';\nexport function scheduled(input, scheduler) {\n if (input != null) {\n if (isInteropObservable(input)) {\n return scheduleObservable(input, scheduler);\n }\n if (isArrayLike(input)) {\n return scheduleArray(input, scheduler);\n }\n if (isPromise(input)) {\n return schedulePromise(input, scheduler);\n }\n if (isAsyncIterable(input)) {\n return scheduleAsyncIterable(input, scheduler);\n }\n if (isIterable(input)) {\n return scheduleIterable(input, scheduler);\n }\n if (isReadableStreamLike(input)) {\n return scheduleReadableStreamLike(input, scheduler);\n }\n }\n throw createInvalidObservableTypeError(input);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function scheduleObservable(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nexport function scheduleArray(input, scheduler) {\n return new Observable((subscriber) => {\n let i = 0;\n return scheduler.schedule(function () {\n if (i === input.length) {\n subscriber.complete();\n }\n else {\n subscriber.next(input[i++]);\n if (!subscriber.closed) {\n this.schedule();\n }\n }\n });\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function schedulePromise(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from '../util/isFunction';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleIterable(input, scheduler) {\n return new Observable((subscriber) => {\n let iterator;\n executeSchedule(subscriber, scheduler, () => {\n iterator = input[Symbol_iterator]();\n executeSchedule(subscriber, scheduler, () => {\n let value;\n let done;\n try {\n ({ value, done } = iterator.next());\n }\n catch (err) {\n subscriber.error(err);\n return;\n }\n if (done) {\n subscriber.complete();\n }\n else {\n subscriber.next(value);\n }\n }, 0, true);\n });\n return () => isFunction(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return();\n });\n}\n","import { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { readableStreamLikeToAsyncGenerator } from '../util/isReadableStreamLike';\nexport function scheduleReadableStreamLike(input, scheduler) {\n return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);\n}\n","import { popScheduler } from '../util/args';\nimport { from } from './from';\nexport function of(...args) {\n const scheduler = popScheduler(args);\n return from(args, scheduler);\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function map(project, thisArg) {\n return operate((source, subscriber) => {\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n subscriber.next(project.call(thisArg, value, index++));\n }));\n });\n}\n","import { executeSchedule } from '../util/executeSchedule';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function observeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, (value) => executeSchedule(subscriber, scheduler, () => subscriber.next(value), delay), () => executeSchedule(subscriber, scheduler, () => subscriber.complete(), delay), (err) => executeSchedule(subscriber, scheduler, () => subscriber.error(err), delay)));\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function switchMap(project, resultSelector) {\n return operate((source, subscriber) => {\n let innerSubscriber = null;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => isComplete && !innerSubscriber && subscriber.complete();\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n innerSubscriber === null || innerSubscriber === void 0 ? void 0 : innerSubscriber.unsubscribe();\n let innerIndex = 0;\n const outerIndex = index++;\n innerFrom(project(value, outerIndex)).subscribe((innerSubscriber = createOperatorSubscriber(subscriber, (innerValue) => subscriber.next(resultSelector ? resultSelector(value, innerValue, outerIndex, innerIndex++) : innerValue), () => {\n innerSubscriber = null;\n checkComplete();\n })));\n }, () => {\n isComplete = true;\n checkComplete();\n }));\n });\n}\n","import { isFunction } from './isFunction';\nimport { isScheduler } from './isScheduler';\nfunction last(arr) {\n return arr[arr.length - 1];\n}\nexport function popResultSelector(args) {\n return isFunction(last(args)) ? args.pop() : undefined;\n}\nexport function popScheduler(args) {\n return isScheduler(last(args)) ? args.pop() : undefined;\n}\nexport function popNumber(args, defaultValue) {\n return typeof last(args) === 'number' ? args.pop() : defaultValue;\n}\n","const { isArray } = Array;\nconst { getPrototypeOf, prototype: objectProto, keys: getKeys } = Object;\nexport function argsArgArrayOrObject(args) {\n if (args.length === 1) {\n const first = args[0];\n if (isArray(first)) {\n return { args: first, keys: null };\n }\n if (isPOJO(first)) {\n const keys = getKeys(first);\n return {\n args: keys.map((key) => first[key]),\n keys,\n };\n }\n }\n return { args: args, keys: null };\n}\nfunction isPOJO(obj) {\n return obj && typeof obj === 'object' && getPrototypeOf(obj) === objectProto;\n}\n","export function createObject(keys, values) {\n return keys.reduce((result, key, i) => ((result[key] = values[i]), result), {});\n}\n","export function executeSchedule(parentSubscription, scheduler, work, delay = 0, repeat = false) {\n const scheduleSubscription = scheduler.schedule(function () {\n work();\n if (repeat) {\n parentSubscription.add(this.schedule(null, delay));\n }\n else {\n this.unsubscribe();\n }\n }, delay);\n parentSubscription.add(scheduleSubscription);\n if (!repeat) {\n return scheduleSubscription;\n }\n}\n","import { isFunction } from './isFunction';\nexport function isScheduler(value) {\n return value && isFunction(value.schedule);\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","import { map } from \"../operators/map\";\nconst { isArray } = Array;\nfunction callOrApply(fn, args) {\n return isArray(args) ? fn(...args) : fn(args);\n}\nexport function mapOneOrManyArgs(fn) {\n return map(args => callOrApply(fn, args));\n}\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37]} \ No newline at end of file diff --git a/6297.510c28b6eef50735.js b/6297.510c28b6eef50735.js new file mode 100644 index 0000000..f1c593e --- /dev/null +++ b/6297.510c28b6eef50735.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[6297],{46297:(w,g,o)=>{o.r(g),o.d(g,{MAT_PROGRESS_BAR_DEFAULT_OPTIONS:()=>f,MAT_PROGRESS_BAR_LOCATION:()=>x,MAT_PROGRESS_BAR_LOCATION_FACTORY:()=>u,MatProgressBar:()=>B,MatProgressBarModule:()=>A});var y=o(24582),E=o(28694),c=o(48047),d=o(78069),r=o(56718),M=o(94055),_=o(6606),k=o(33401),p=o(35333),f=new r.InjectionToken("MAT_PROGRESS_BAR_DEFAULT_OPTIONS"),x=new r.InjectionToken("mat-progress-bar-location",{providedIn:"root",factory:u});function u(){var a=(0,r.inject)(M.DOCUMENT),n=a?a.location:null;return{getPathname:function(){return n?n.pathname+n.search:""}}}var P=(0,_.mixinColor)(function(){return(0,c.Z)(function a(n){(0,d.Z)(this,a),this._elementRef=n})}(),"primary"),B=function(){var a=function(n){(0,y.Z)(i,n);var s=(0,E.Z)(i);function i(t,m,O,h,l){var e;return(0,d.Z)(this,i),(e=s.call(this,t))._ngZone=m,e._changeDetectorRef=O,e._animationMode=h,e._isNoopAnimation=!1,e._value=0,e._bufferValue=0,e.animationEnd=new r.EventEmitter,e._mode="determinate",e._transitionendHandler=function(v){0===e.animationEnd.observers.length||!v.target||!v.target.classList.contains("mdc-linear-progress__primary-bar")||("determinate"===e.mode||"buffer"===e.mode)&&e._ngZone.run(function(){return e.animationEnd.next({value:e.value})})},e._isNoopAnimation="NoopAnimations"===h,l&&(l.color&&(e.color=e.defaultColor=l.color),e.mode=l.mode||e.mode),e}return(0,c.Z)(i,[{key:"value",get:function(){return this._value},set:function(m){this._value=b((0,p.coerceNumberProperty)(m)),this._changeDetectorRef.markForCheck()}},{key:"bufferValue",get:function(){return this._bufferValue||0},set:function(m){this._bufferValue=b((0,p.coerceNumberProperty)(m)),this._changeDetectorRef.markForCheck()}},{key:"mode",get:function(){return this._mode},set:function(m){this._mode=m,this._changeDetectorRef.markForCheck()}},{key:"ngAfterViewInit",value:function(){var m=this;this._ngZone.runOutsideAngular(function(){m._elementRef.nativeElement.addEventListener("transitionend",m._transitionendHandler)})}},{key:"ngOnDestroy",value:function(){this._elementRef.nativeElement.removeEventListener("transitionend",this._transitionendHandler)}},{key:"_getPrimaryBarTransform",value:function(){return"scaleX(".concat(this._isIndeterminate()?1:this.value/100,")")}},{key:"_getBufferBarFlexBasis",value:function(){return"".concat("buffer"===this.mode?this.bufferValue:100,"%")}},{key:"_isIndeterminate",value:function(){return"indeterminate"===this.mode||"query"===this.mode}}]),i}(P);return a.\u0275fac=function(s){return new(s||a)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(k.ANIMATION_MODULE_TYPE,8),r.\u0275\u0275directiveInject(f,8))},a.\u0275cmp=r.\u0275\u0275defineComponent({type:a,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:8,hostBindings:function(s,i){2&s&&(r.\u0275\u0275attribute("aria-valuenow",i._isIndeterminate()?null:i.value)("mode",i.mode),r.\u0275\u0275classProp("_mat-animation-noopable",i._isNoopAnimation)("mdc-linear-progress--animation-ready",!i._isNoopAnimation)("mdc-linear-progress--indeterminate",i._isIndeterminate()))},inputs:{color:"color",value:"value",bufferValue:"bufferValue",mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[r.\u0275\u0275InheritDefinitionFeature],decls:7,vars:4,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(s,i){1&s&&(r.\u0275\u0275elementStart(0,"div",0),r.\u0275\u0275element(1,"div",1)(2,"div",2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"div",3),r.\u0275\u0275element(4,"span",4),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(5,"div",5),r.\u0275\u0275element(6,"span",4),r.\u0275\u0275elementEnd()),2&s&&(r.\u0275\u0275advance(1),r.\u0275\u0275styleProp("flex-basis",i._getBufferBarFlexBasis()),r.\u0275\u0275advance(2),r.\u0275\u0275styleProp("transform",i._getPrimaryBarTransform()))},styles:["@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half))}100%{transform:translateX(var(--mdc-linear-progress-primary-full))}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full))}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-primary-full-neg))}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter-neg))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full-neg))}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}@media screen and (forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden}.mdc-linear-progress__buffer-dots{background-repeat:repeat-x;flex:auto;transform:rotate(180deg);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");animation:mdc-linear-progress-buffering 250ms infinite linear}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__bar{right:0;-webkit-transform-origin:center right;transform-origin:center right}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__buffer-dots,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}.mdc-linear-progress--closed{opacity:0}.mdc-linear-progress--closed-animation-off .mdc-linear-progress__buffer-dots{animation:none}.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar,.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar .mdc-linear-progress__bar-inner{animation:none}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height) * -2.5))}}.mdc-linear-progress__bar-inner{border-color:var(--mdc-linear-progress-active-indicator-color)}@media(forced-colors: active){.mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-color:rgba(0,0,0,0);background-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill=''/%3E%3C/svg%3E\")}}.mdc-linear-progress{height:max(var(--mdc-linear-progress-track-height), var(--mdc-linear-progress-active-indicator-height))}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress{height:4px}}.mdc-linear-progress__bar{height:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__bar-inner{border-top-width:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__buffer{height:var(--mdc-linear-progress-track-height)}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-size:10px var(--mdc-linear-progress-track-height)}}.mdc-linear-progress__buffer{border-radius:var(--mdc-linear-progress-track-shape)}.mat-mdc-progress-bar{--mdc-linear-progress-active-indicator-height:4px;--mdc-linear-progress-track-height:4px;--mdc-linear-progress-track-shape:0}.mat-mdc-progress-bar{display:block;--mdc-linear-progress-primary-half: 83.67142%;--mdc-linear-progress-primary-full: 200.611057%;--mdc-linear-progress-secondary-quarter: 37.651913%;--mdc-linear-progress-secondary-half: 84.386165%;--mdc-linear-progress-secondary-full: 160.277782%;--mdc-linear-progress-primary-half-neg: -83.67142%;--mdc-linear-progress-primary-full-neg: -200.611057%;--mdc-linear-progress-secondary-quarter-neg: -37.651913%;--mdc-linear-progress-secondary-half-neg: -84.386165%;--mdc-linear-progress-secondary-full-neg: -160.277782%}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}"],encapsulation:2,changeDetection:0}),a}();function b(a){return Math.max(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,Math.min(arguments.length>2&&void 0!==arguments[2]?arguments[2]:100,a))}var A=function(){var a=(0,c.Z)(function n(){(0,d.Z)(this,n)});return a.\u0275fac=function(s){return new(s||a)},a.\u0275mod=r.\u0275\u0275defineNgModule({type:a}),a.\u0275inj=r.\u0275\u0275defineInjector({imports:[_.MatCommonModule]}),a}()}}]); +//# sourceMappingURL=6297.510c28b6eef50735.js.map \ No newline at end of file diff --git a/6297.510c28b6eef50735.js.map b/6297.510c28b6eef50735.js.map new file mode 100644 index 0000000..2e1506f --- /dev/null +++ b/6297.510c28b6eef50735.js.map @@ -0,0 +1 @@ +{"version":3,"file":"6297.510c28b6eef50735.js","mappings":"uWAQMA,EAAmC,IAAIC,iBAAe,oCAMtDC,EAA4B,IAAID,iBAAe,4BAA6B,CAAEE,WAAY,OAAQC,QAASC,IAEjH,SAASA,I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In","factory","MAT_PROGRESS_BAR_LOCATION_FACTORY","_document","inject","DOCUMENT","_location","location","getPathname","pathname","search","_MatProgressBarBase","mixinColor","_createClass","_class","_elementRef","_classCallCheck","this","MatProgressBar","_MatProgressBarBase2","_inherits","_super","_createSuper","elementRef","_ngZone","_changeDetectorRef","_animationMode","defaults","_this","call","_isNoopAnimation","_value","_bufferValue","animationEnd","EventEmitter","_mode","_transitionendHandler","event","observers","length","target","classList","contains","mode","run","next","value","color","defaultColor","key","get","set","v","clamp","coerceNumberProperty","markForCheck","_this2","runOutsideAngular","nativeElement","addEventListener","removeEventListener","concat","_isIndeterminate","bufferValue","ɵfac","t","i0","ANIMATION_MODULE_TYPE","ɵcmp","type","selectors","hostAttrs","hostVars","hostBindings","rf","ctx","inputs","outputs","exportAs","features","decls","vars","consts","template","_getBufferBarFlexBasis","_getPrimaryBarTransform","styles","encapsulation","changeDetection","Math","max","arguments","undefined","min","MatProgressBarModule","ɵmod","ɵinj","imports","MatCommonModule"],"sourceRoot":"webpack:///","sources":["./node_modules/@angular/material/fesm2022/progress-bar.mjs"],"sourcesContent":["import * as i0 from '@angular/core';\nimport { InjectionToken, inject, EventEmitter, Component, ChangeDetectionStrategy, ViewEncapsulation, Optional, Inject, Input, Output, NgModule } from '@angular/core';\nimport { DOCUMENT } from '@angular/common';\nimport { mixinColor, MatCommonModule } from '@angular/material/core';\nimport { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';\nimport { coerceNumberProperty } from '@angular/cdk/coercion';\n\n/** Injection token to be used to override the default options for `mat-progress-bar`. */\nconst MAT_PROGRESS_BAR_DEFAULT_OPTIONS = new InjectionToken('MAT_PROGRESS_BAR_DEFAULT_OPTIONS');\n/**\n * Injection token used to provide the current location to `MatProgressBar`.\n * Used to handle server-side rendering and to stub out during unit tests.\n * @docs-private\n */\nconst MAT_PROGRESS_BAR_LOCATION = new InjectionToken('mat-progress-bar-location', { providedIn: 'root', factory: MAT_PROGRESS_BAR_LOCATION_FACTORY });\n/** @docs-private */\nfunction MAT_PROGRESS_BAR_LOCATION_FACTORY() {\n const _document = inject(DOCUMENT);\n const _location = _document ? _document.location : null;\n return {\n // Note that this needs to be a function, rather than a property, because Angular\n // will only resolve it once, but we want the current path on each call.\n getPathname: () => (_location ? _location.pathname + _location.search : ''),\n };\n}\n// Boilerplate for applying mixins to MatProgressBar.\n/** @docs-private */\nconst _MatProgressBarBase = mixinColor(class {\n constructor(_elementRef) {\n this._elementRef = _elementRef;\n }\n}, 'primary');\nclass MatProgressBar extends _MatProgressBarBase {\n constructor(elementRef, _ngZone, _changeDetectorRef, _animationMode, defaults) {\n super(elementRef);\n this._ngZone = _ngZone;\n this._changeDetectorRef = _changeDetectorRef;\n this._animationMode = _animationMode;\n /** Flag that indicates whether NoopAnimations mode is set to true. */\n this._isNoopAnimation = false;\n this._value = 0;\n this._bufferValue = 0;\n /**\n * Event emitted when animation of the primary progress bar completes. This event will not\n * be emitted when animations are disabled, nor will it be emitted for modes with continuous\n * animations (indeterminate and query).\n */\n this.animationEnd = new EventEmitter();\n this._mode = 'determinate';\n /** Event handler for `transitionend` events. */\n this._transitionendHandler = (event) => {\n if (this.animationEnd.observers.length === 0 ||\n !event.target ||\n !event.target.classList.contains('mdc-linear-progress__primary-bar')) {\n return;\n }\n if (this.mode === 'determinate' || this.mode === 'buffer') {\n this._ngZone.run(() => this.animationEnd.next({ value: this.value }));\n }\n };\n this._isNoopAnimation = _animationMode === 'NoopAnimations';\n if (defaults) {\n if (defaults.color) {\n this.color = this.defaultColor = defaults.color;\n }\n this.mode = defaults.mode || this.mode;\n }\n }\n /** Value of the progress bar. Defaults to zero. Mirrored to aria-valuenow. */\n get value() {\n return this._value;\n }\n set value(v) {\n this._value = clamp(coerceNumberProperty(v));\n this._changeDetectorRef.markForCheck();\n }\n /** Buffer value of the progress bar. Defaults to zero. */\n get bufferValue() {\n return this._bufferValue || 0;\n }\n set bufferValue(v) {\n this._bufferValue = clamp(coerceNumberProperty(v));\n this._changeDetectorRef.markForCheck();\n }\n /**\n * Mode of the progress bar.\n *\n * Input must be one of these values: determinate, indeterminate, buffer, query, defaults to\n * 'determinate'.\n * Mirrored to mode attribute.\n */\n get mode() {\n return this._mode;\n }\n set mode(value) {\n // Note that we don't technically need a getter and a setter here,\n // but we use it to match the behavior of the existing mat-progress-bar.\n this._mode = value;\n this._changeDetectorRef.markForCheck();\n }\n ngAfterViewInit() {\n // Run outside angular so change detection didn't get triggered on every transition end\n // instead only on the animation that we care about (primary value bar's transitionend)\n this._ngZone.runOutsideAngular(() => {\n this._elementRef.nativeElement.addEventListener('transitionend', this._transitionendHandler);\n });\n }\n ngOnDestroy() {\n this._elementRef.nativeElement.removeEventListener('transitionend', this._transitionendHandler);\n }\n /** Gets the transform style that should be applied to the primary bar. */\n _getPrimaryBarTransform() {\n return `scaleX(${this._isIndeterminate() ? 1 : this.value / 100})`;\n }\n /** Gets the `flex-basis` value that should be applied to the buffer bar. */\n _getBufferBarFlexBasis() {\n return `${this.mode === 'buffer' ? this.bufferValue : 100}%`;\n }\n /** Returns whether the progress bar is indeterminate. */\n _isIndeterminate() {\n return this.mode === 'indeterminate' || this.mode === 'query';\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatProgressBar, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: ANIMATION_MODULE_TYPE, optional: true }, { token: MAT_PROGRESS_BAR_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatProgressBar, selector: \"mat-progress-bar\", inputs: { color: \"color\", value: \"value\", bufferValue: \"bufferValue\", mode: \"mode\" }, outputs: { animationEnd: \"animationEnd\" }, host: { attributes: { \"role\": \"progressbar\", \"aria-valuemin\": \"0\", \"aria-valuemax\": \"100\", \"tabindex\": \"-1\" }, properties: { \"attr.aria-valuenow\": \"_isIndeterminate() ? null : value\", \"attr.mode\": \"mode\", \"class._mat-animation-noopable\": \"_isNoopAnimation\", \"class.mdc-linear-progress--animation-ready\": \"!_isNoopAnimation\", \"class.mdc-linear-progress--indeterminate\": \"_isIndeterminate()\" }, classAttribute: \"mat-mdc-progress-bar mdc-linear-progress\" }, exportAs: [\"matProgressBar\"], usesInheritance: true, ngImport: i0, template: \"<!--\\n All children need to be hidden for screen readers in order to support ChromeVox.\\n More context in the issue: https://github.com/angular/components/issues/22165.\\n-->\\n<div class=\\\"mdc-linear-progress__buffer\\\" aria-hidden=\\\"true\\\">\\n <div\\n class=\\\"mdc-linear-progress__buffer-bar\\\"\\n [style.flex-basis]=\\\"_getBufferBarFlexBasis()\\\"></div>\\n <div class=\\\"mdc-linear-progress__buffer-dots\\\"></div>\\n</div>\\n<div\\n class=\\\"mdc-linear-progress__bar mdc-linear-progress__primary-bar\\\"\\n aria-hidden=\\\"true\\\"\\n [style.transform]=\\\"_getPrimaryBarTransform()\\\">\\n <span class=\\\"mdc-linear-progress__bar-inner\\\"></span>\\n</div>\\n<div class=\\\"mdc-linear-progress__bar mdc-linear-progress__secondary-bar\\\" aria-hidden=\\\"true\\\">\\n <span class=\\\"mdc-linear-progress__bar-inner\\\"></span>\\n</div>\\n\", styles: [\"@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half))}100%{transform:translateX(var(--mdc-linear-progress-primary-full))}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full))}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-primary-full-neg))}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter-neg))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full-neg))}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}@media screen and (forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden}.mdc-linear-progress__buffer-dots{background-repeat:repeat-x;flex:auto;transform:rotate(180deg);-webkit-mask-image:url(\\\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\\\");mask-image:url(\\\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\\\");animation:mdc-linear-progress-buffering 250ms infinite linear}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__bar{right:0;-webkit-transform-origin:center right;transform-origin:center right}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__buffer-dots,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}.mdc-linear-progress--closed{opacity:0}.mdc-linear-progress--closed-animation-off .mdc-linear-progress__buffer-dots{animation:none}.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar,.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar .mdc-linear-progress__bar-inner{animation:none}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height) * -2.5))}}.mdc-linear-progress__bar-inner{border-color:var(--mdc-linear-progress-active-indicator-color)}@media(forced-colors: active){.mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-color:rgba(0,0,0,0);background-image:url(\\\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill=''/%3E%3C/svg%3E\\\")}}.mdc-linear-progress{height:max(var(--mdc-linear-progress-track-height), var(--mdc-linear-progress-active-indicator-height))}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress{height:4px}}.mdc-linear-progress__bar{height:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__bar-inner{border-top-width:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__buffer{height:var(--mdc-linear-progress-track-height)}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-size:10px var(--mdc-linear-progress-track-height)}}.mdc-linear-progress__buffer{border-radius:var(--mdc-linear-progress-track-shape)}.mat-mdc-progress-bar{--mdc-linear-progress-active-indicator-height:4px;--mdc-linear-progress-track-height:4px;--mdc-linear-progress-track-shape:0}.mat-mdc-progress-bar{display:block;--mdc-linear-progress-primary-half: 83.67142%;--mdc-linear-progress-primary-full: 200.611057%;--mdc-linear-progress-secondary-quarter: 37.651913%;--mdc-linear-progress-secondary-half: 84.386165%;--mdc-linear-progress-secondary-full: 160.277782%;--mdc-linear-progress-primary-half-neg: -83.67142%;--mdc-linear-progress-primary-full-neg: -200.611057%;--mdc-linear-progress-secondary-quarter-neg: -37.651913%;--mdc-linear-progress-secondary-half-neg: -84.386165%;--mdc-linear-progress-secondary-full-neg: -160.277782%}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatProgressBar, decorators: [{\n type: Component,\n args: [{ selector: 'mat-progress-bar', exportAs: 'matProgressBar', host: {\n 'role': 'progressbar',\n 'aria-valuemin': '0',\n 'aria-valuemax': '100',\n // set tab index to -1 so screen readers will read the aria-label\n // Note: there is a known issue with JAWS that does not read progressbar aria labels on FireFox\n 'tabindex': '-1',\n '[attr.aria-valuenow]': '_isIndeterminate() ? null : value',\n '[attr.mode]': 'mode',\n 'class': 'mat-mdc-progress-bar mdc-linear-progress',\n '[class._mat-animation-noopable]': '_isNoopAnimation',\n '[class.mdc-linear-progress--animation-ready]': '!_isNoopAnimation',\n '[class.mdc-linear-progress--indeterminate]': '_isIndeterminate()',\n }, inputs: ['color'], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: \"<!--\\n All children need to be hidden for screen readers in order to support ChromeVox.\\n More context in the issue: https://github.com/angular/components/issues/22165.\\n-->\\n<div class=\\\"mdc-linear-progress__buffer\\\" aria-hidden=\\\"true\\\">\\n <div\\n class=\\\"mdc-linear-progress__buffer-bar\\\"\\n [style.flex-basis]=\\\"_getBufferBarFlexBasis()\\\"></div>\\n <div class=\\\"mdc-linear-progress__buffer-dots\\\"></div>\\n</div>\\n<div\\n class=\\\"mdc-linear-progress__bar mdc-linear-progress__primary-bar\\\"\\n aria-hidden=\\\"true\\\"\\n [style.transform]=\\\"_getPrimaryBarTransform()\\\">\\n <span class=\\\"mdc-linear-progress__bar-inner\\\"></span>\\n</div>\\n<div class=\\\"mdc-linear-progress__bar mdc-linear-progress__secondary-bar\\\" aria-hidden=\\\"true\\\">\\n <span class=\\\"mdc-linear-progress__bar-inner\\\"></span>\\n</div>\\n\", styles: [\"@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half))}100%{transform:translateX(var(--mdc-linear-progress-primary-full))}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full))}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-primary-full-neg))}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter-neg))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full-neg))}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}@media screen and (forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden}.mdc-linear-progress__buffer-dots{background-repeat:repeat-x;flex:auto;transform:rotate(180deg);-webkit-mask-image:url(\\\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\\\");mask-image:url(\\\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\\\");animation:mdc-linear-progress-buffering 250ms infinite linear}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__bar{right:0;-webkit-transform-origin:center right;transform-origin:center right}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__buffer-dots,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}.mdc-linear-progress--closed{opacity:0}.mdc-linear-progress--closed-animation-off .mdc-linear-progress__buffer-dots{animation:none}.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar,.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar .mdc-linear-progress__bar-inner{animation:none}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height) * -2.5))}}.mdc-linear-progress__bar-inner{border-color:var(--mdc-linear-progress-active-indicator-color)}@media(forced-colors: active){.mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-color:rgba(0,0,0,0);background-image:url(\\\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill=''/%3E%3C/svg%3E\\\")}}.mdc-linear-progress{height:max(var(--mdc-linear-progress-track-height), var(--mdc-linear-progress-active-indicator-height))}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress{height:4px}}.mdc-linear-progress__bar{height:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__bar-inner{border-top-width:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__buffer{height:var(--mdc-linear-progress-track-height)}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-size:10px var(--mdc-linear-progress-track-height)}}.mdc-linear-progress__buffer{border-radius:var(--mdc-linear-progress-track-shape)}.mat-mdc-progress-bar{--mdc-linear-progress-active-indicator-height:4px;--mdc-linear-progress-track-height:4px;--mdc-linear-progress-track-shape:0}.mat-mdc-progress-bar{display:block;--mdc-linear-progress-primary-half: 83.67142%;--mdc-linear-progress-primary-full: 200.611057%;--mdc-linear-progress-secondary-quarter: 37.651913%;--mdc-linear-progress-secondary-half: 84.386165%;--mdc-linear-progress-secondary-full: 160.277782%;--mdc-linear-progress-primary-half-neg: -83.67142%;--mdc-linear-progress-primary-full-neg: -200.611057%;--mdc-linear-progress-secondary-quarter-neg: -37.651913%;--mdc-linear-progress-secondary-half-neg: -84.386165%;--mdc-linear-progress-secondary-full-neg: -160.277782%}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_PROGRESS_BAR_DEFAULT_OPTIONS]\n }] }]; }, propDecorators: { value: [{\n type: Input\n }], bufferValue: [{\n type: Input\n }], animationEnd: [{\n type: Output\n }], mode: [{\n type: Input\n }] } });\n/** Clamps a value to be between two numbers, by default 0 and 100. */\nfunction clamp(v, min = 0, max = 100) {\n return Math.max(min, Math.min(max, v));\n}\n\nclass MatProgressBarModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatProgressBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatProgressBarModule, declarations: [MatProgressBar], exports: [MatProgressBar, MatCommonModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatProgressBarModule, imports: [MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatProgressBarModule, decorators: [{\n type: NgModule,\n args: [{\n exports: [MatProgressBar, MatCommonModule],\n declarations: [MatProgressBar],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MAT_PROGRESS_BAR_DEFAULT_OPTIONS, MAT_PROGRESS_BAR_LOCATION, MAT_PROGRESS_BAR_LOCATION_FACTORY, MatProgressBar, MatProgressBarModule };\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/6441.1ed54299f1bb8173.js b/6441.1ed54299f1bb8173.js new file mode 100644 index 0000000..e53caac --- /dev/null +++ b/6441.1ed54299f1bb8173.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[6441,5106,7376,5187,4091,1217,7208,4968,6785,4155,1084,6896,7920,6980,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,8061,4680,2111,3326,8596,8352,5501,882,3098,8467,6578,8608,8443,7328,1821,4902,5915,3278,5391,6748,1551,6763,4151,5069,7432,8071,6618],{37400:(c,_,e)=>{e.d(_,{D:()=>O});var o=e(54987),u=e(8728),t=e(41944);function n(i){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,t.e)(function(h,y){y.add(i.schedule(function(){return h.subscribe(y)},l))})}var a=e(90833),v=e(67321),b=e(92971),d=e(1817);function p(i,l){if(!i)throw new Error("Iterable cannot be null");return new a.y(function(h){(0,d.f)(h,l,function(){var y=i[Symbol.asyncIterator]();(0,d.f)(h,l,function(){y.next().then(function(A){A.done?h.complete():h.next(A.value)})},0,!0)})})}var P=e(21331),E=e(79548),D=e(99806),I=e(23433),T=e(80470),R=e(27785),g=e(20181);function O(i,l){return l?function Z(i,l){if(null!=i){if((0,P.c)(i))return function r(i,l){return(0,o.Xf)(i).pipe(n(l),(0,u.Q)(l))}(i,l);if((0,D.z)(i))return function s(i,l){return new a.y(function(h){var y=0;return l.schedule(function(){y===i.length?h.complete():(h.next(i[y++]),h.closed||this.schedule())})})}(i,l);if((0,E.t)(i))return function f(i,l){return(0,o.Xf)(i).pipe(n(l),(0,u.Q)(l))}(i,l);if((0,T.D)(i))return p(i,l);if((0,I.T)(i))return function m(i,l){return new a.y(function(h){var y;return(0,d.f)(h,l,function(){y=i[v.h](),(0,d.f)(h,l,function(){var A,S;try{var w=y.next();A=w.value,S=w.done}catch(L){return void h.error(L)}S?h.complete():h.next(A)},0,!0)}),function(){return(0,b.m)(y?.return)&&y.return()}})}(i,l);if((0,g.L)(i))return function M(i,l){return p((0,g.Q)(i),l)}(i,l)}throw(0,R.z)(i)}(i,l):(0,o.Xf)(i)}},10745:(c,_,e)=>{e.d(_,{of:()=>t});var o=e(10420),u=e(37400);function t(){for(var n=arguments.length,r=new Array(n),f=0;f<n;f++)r[f]=arguments[f];var a=(0,o.yG)(r);return(0,u.D)(r,a)}},93945:(c,_,e)=>{e.d(_,{Q:()=>b,x:()=>v});var o=e(78069),u=e(48047),t=e(35488),n=e(24582),r=e(28694),f=e(4089),a=e(20265);function v(d,m,p,P,E){return new b(d,m,p,P,E)}var b=function(d){(0,n.Z)(p,d);var m=(0,r.Z)(p);function p(P,E,D,I,T,R){var g,M,Z,O;return(0,o.Z)(this,p),(O=m.call(this,P)).onFinalize=T,O.shouldUnsubscribe=R,O._next=E?function(i){try{E(i)}catch(l){P.error(l)}}:(0,f.Z)((g=(0,t.Z)(O),(0,a.Z)(p.prototype)),"_next",g),O._error=I?function(i){try{I(i)}catch(l){P.error(l)}finally{this.unsubscribe()}}:(0,f.Z)((M=(0,t.Z)(O),(0,a.Z)(p.prototype)),"_error",M),O._complete=D?function(){try{D()}catch(i){P.error(i)}finally{this.unsubscribe()}}:(0,f.Z)((Z=(0,t.Z)(O),(0,a.Z)(p.prototype)),"_complete",Z),O}return(0,u.Z)(p,[{key:"unsubscribe",value:function(){var E;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var D=this.closed;(0,f.Z)((0,a.Z)(p.prototype),"unsubscribe",this).call(this),!D&&(null===(E=this.onFinalize)||void 0===E||E.call(this))}}}]),p}(e(5463).Lv)},8728:(c,_,e)=>{e.d(_,{Q:()=>n});var o=e(1817),u=e(41944),t=e(93945);function n(r){var f=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,u.e)(function(a,s){a.subscribe((0,t.x)(s,function(v){return(0,o.f)(s,r,function(){return s.next(v)},f)},function(){return(0,o.f)(s,r,function(){return s.complete()},f)},function(v){return(0,o.f)(s,r,function(){return s.error(v)},f)}))})}},10420:(c,_,e)=>{e.d(_,{_6:()=>f,jO:()=>n,yG:()=>r});var o=e(92971),u=e(59867);function t(a){return a[a.length-1]}function n(a){return(0,o.m)(t(a))?a.pop():void 0}function r(a){return(0,u.K)(t(a))?a.pop():void 0}function f(a,s){return"number"==typeof t(a)?a.pop():s}},1817:(c,_,e)=>{function o(u,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,f=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=t.schedule(function(){n(),f?u.add(this.schedule(null,r)):this.unsubscribe()},r);if(u.add(a),!f)return a}e.d(_,{f:()=>o})},59867:(c,_,e)=>{e.d(_,{K:()=>u});var o=e(92971);function u(t){return t&&(0,o.m)(t.schedule)}},41944:(c,_,e)=>{e.d(_,{A:()=>u,e:()=>t});var o=e(92971);function u(n){return(0,o.m)(n?.lift)}function t(n){return function(r){if(u(r))return r.lift(function(f){try{return n(f,this)}catch(a){this.error(a)}});throw new TypeError("Unable to lift unknown Observable type")}}},44841:(c,_,e)=>{function o(u,t){(null==t||t>u.length)&&(t=u.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=u[n];return r}e.d(_,{Z:()=>o})},35488:(c,_,e)=>{function o(u){if(void 0===u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}e.d(_,{Z:()=>o})},95106:(c,_,e)=>{e.d(_,{Z:()=>u});var o=e(44206);function u(t,n){var r=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=(0,o.Z)(t))||n&&t&&"number"==typeof t.length){r&&(t=r);var f=0,a=function(){};return{s:a,n:function(){return f>=t.length?{done:!0}:{done:!1,value:t[f++]}},e:function(m){throw m},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var b,s=!0,v=!1;return{s:function(){r=r.call(t)},n:function(){var m=r.next();return s=m.done,m},e:function(m){v=!0,b=m},f:function(){try{!s&&null!=r.return&&r.return()}finally{if(v)throw b}}}}},28694:(c,_,e)=>{e.d(_,{Z:()=>f});var o=e(20265),u=e(98568),t=e(43445),n=e(35488);function f(a){var s=(0,u.Z)();return function(){var d,b=(0,o.Z)(a);if(s){var m=(0,o.Z)(this).constructor;d=Reflect.construct(b,arguments,m)}else d=b.apply(this,arguments);return function r(a,s){if(s&&("object"===(0,t.Z)(s)||"function"==typeof s))return s;if(void 0!==s)throw new TypeError("Derived constructors may only return object or undefined");return(0,n.Z)(a)}(this,d)}}},4089:(c,_,e)=>{e.d(_,{Z:()=>t});var o=e(20265);function t(){return t=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(r,f,a){var s=function u(n,r){for(;!Object.prototype.hasOwnProperty.call(n,r)&&null!==(n=(0,o.Z)(n)););return n}(r,f);if(s){var v=Object.getOwnPropertyDescriptor(s,f);return v.get?v.get.call(arguments.length<3?r:a):v.value}},t.apply(this,arguments)}},20265:(c,_,e)=>{function o(u){return(o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)})(u)}e.d(_,{Z:()=>o})},24582:(c,_,e)=>{e.d(_,{Z:()=>u});var o=e(10006);function u(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&(0,o.Z)(t,n)}},98568:(c,_,e)=>{function o(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(_,{Z:()=>o})},4826:(c,_,e)=>{function o(u){if(typeof Symbol<"u"&&null!=u[Symbol.iterator]||null!=u["@@iterator"])return Array.from(u)}e.d(_,{Z:()=>o})},10006:(c,_,e)=>{function o(u,t){return(o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,f){return r.__proto__=f,r})(u,t)}e.d(_,{Z:()=>o})},86170:(c,_,e)=>{e.d(_,{Z:()=>f});var o=e(44841),t=e(4826),n=e(44206);function f(a){return function u(a){if(Array.isArray(a))return(0,o.Z)(a)}(a)||(0,t.Z)(a)||(0,n.Z)(a)||function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(c,_,e)=>{e.d(_,{Z:()=>u});var o=e(44841);function u(t,n){if(t){if("string"==typeof t)return(0,o.Z)(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return(0,o.Z)(t,n)}}}}]); +//# sourceMappingURL=6441.1ed54299f1bb8173.js.map \ No newline at end of file diff --git a/6441.1ed54299f1bb8173.js.map b/6441.1ed54299f1bb8173.js.map new file mode 100644 index 0000000..cc159be --- /dev/null +++ b/6441.1ed54299f1bb8173.js.map @@ -0,0 +1 @@ +{"version":3,"file":"6441.1ed54299f1bb8173.js","mappings":"gYACO,SAASA,EAAYC,GAAsB,IAAXC,EAAKC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAG,EAC3C,SAAOG,KAAQ,SAACC,EAAQC,GACpBA,EAAWC,IAAIR,EAAUS,SAAS,kBAAMH,EAAOI,UAAUH,EAAW,EAAEN,GAC1E,EACJ,gDCHO,SAASU,EAAsBC,EAAOZ,GACzC,IAAKY,EACD,MAAM,IAAIC,MAAM,2BAEpB,OAAO,IAAIC,IAAW,SAACP,IACnBQ,OAAgBR,EAAYP,EAAW,WACnC,IAAMgB,EAAWJ,EAAMK,OAAOC,kBAC9BH,OAAgBR,EAAYP,EAAW,WACnCgB,EAASG,OAAOC,KAAK,SAACC,GACdA,EAAOC,KACPf,EAAWgB,WAGXhB,EAAWY,KAAKE,EAAOG,MAE/B,EACJ,EAAG,GAAG,EACV,EACJ,EACJ,kFCnBO,SAASC,EAAKb,EAAOZ,GACxB,OAAOA,ECUJ,SAAS0B,EAAUd,EAAOZ,GAC7B,GAAa,MAATY,EAAe,CACf,MAAIe,KAAoBf,GACpB,OCbL,SAASgB,EAAmBhB,EAAOZ,GACtC,SAAO6B,MAAUjB,GAAOkB,KAAK/B,EAAYC,IAAS,EAAG+B,KAAU/B,GACnE,CDWmB4B,CAAmBhB,EAAOZ,GAErC,MAAIgC,KAAYpB,GACZ,OElBL,SAASqB,EAAcrB,EAAOZ,GACjC,OAAO,IAAIc,IAAW,SAACP,GACnB,IAAI2B,EAAI,EACR,OAAOlC,EAAUS,SAAS,WAClByB,IAAMtB,EAAMT,OACZI,EAAWgB,YAGXhB,EAAWY,KAAKP,EAAMsB,MACjB3B,EAAW4B,QACZC,KAAK3B,WAGjB,EACJ,EACJ,CFGmBwB,CAAcrB,EAAOZ,GAEhC,MAAIqC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,GAAA,2CAAA+D,KAAA/D,GAAA,SAAsF2D,EAAA9D,GAAgBL,EAAAkE,EAAA,CACtG","names":["subscribeOn","scheduler","delay","arguments","length","undefined","operate","source","subscriber","add","schedule","subscribe","scheduleAsyncIterable","input","Error","Observable","executeSchedule","iterator","Symbol","asyncIterator","next","then","result","done","complete","value","from","scheduled","isInteropObservable","scheduleObservable","innerFrom","pipe","observeOn","isArrayLike","scheduleArray","i","closed","this","isPromise","schedulePromise","isAsyncIterable","isIterable","scheduleIterable","Symbol_iterator","_iterator$next","err","error","isFunction","return","isReadableStreamLike","scheduleReadableStreamLike","readableStreamLikeToAsyncGenerator","createInvalidObservableTypeError","of","_len","args","Array","_key","popScheduler","createOperatorSubscriber","destination","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","_inherits","_super","_createSuper","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_this","_classCallCheck","call","_next","_get","_assertThisInitialized","_getPrototypeOf","prototype","_error","unsubscribe","_complete","_createClass","key","_a","Subscriber","last","arr","popResultSelector","pop","isScheduler","popNumber","defaultValue","parentSubscription","work","repeat","scheduleSubscription","hasLift","lift","init","liftedSource","TypeError","_arrayLikeToArray","len","arr2","self","ReferenceError","_createForOfIteratorHelper","o","allowArrayLike","it","isArray","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","s","n","e","_e","f","normalCompletion","didErr","step","_e2","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Super","getPrototypeOf","NewTarget","constructor","Reflect","construct","apply","_possibleConstructorReturn","esm_typeof","assertThisInitialized","get","bind","target","property","receiver","base","_superPropBase","object","Object","hasOwnProperty","desc","getOwnPropertyDescriptor","setPrototypeOf","__proto__","subClass","superClass","create","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_iterableToArray","iter","_setPrototypeOf","p","_toConsumableArray","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","toString","slice","name","test"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleAsyncIterable.js","./node_modules/rxjs/dist/esm/internal/observable/from.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduled.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleObservable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleArray.js","./node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleIterable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleReadableStreamLike.js","./node_modules/rxjs/dist/esm/internal/observable/of.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/observeOn.js","./node_modules/rxjs/dist/esm/internal/util/args.js","./node_modules/rxjs/dist/esm/internal/util/executeSchedule.js","./node_modules/rxjs/dist/esm/internal/util/isScheduler.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { operate } from '../util/lift';\nexport function subscribeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay));\n });\n}\n","import { Observable } from '../Observable';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleAsyncIterable(input, scheduler) {\n if (!input) {\n throw new Error('Iterable cannot be null');\n }\n return new Observable((subscriber) => {\n executeSchedule(subscriber, scheduler, () => {\n const iterator = input[Symbol.asyncIterator]();\n executeSchedule(subscriber, scheduler, () => {\n iterator.next().then((result) => {\n if (result.done) {\n subscriber.complete();\n }\n else {\n subscriber.next(result.value);\n }\n });\n }, 0, true);\n });\n });\n}\n","import { scheduled } from '../scheduled/scheduled';\nimport { innerFrom } from './innerFrom';\nexport function from(input, scheduler) {\n return scheduler ? scheduled(input, scheduler) : innerFrom(input);\n}\n","import { scheduleObservable } from './scheduleObservable';\nimport { schedulePromise } from './schedulePromise';\nimport { scheduleArray } from './scheduleArray';\nimport { scheduleIterable } from './scheduleIterable';\nimport { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isPromise } from '../util/isPromise';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isIterable } from '../util/isIterable';\nimport { isAsyncIterable } from '../util/isAsyncIterable';\nimport { createInvalidObservableTypeError } from '../util/throwUnobservableError';\nimport { isReadableStreamLike } from '../util/isReadableStreamLike';\nimport { scheduleReadableStreamLike } from './scheduleReadableStreamLike';\nexport function scheduled(input, scheduler) {\n if (input != null) {\n if (isInteropObservable(input)) {\n return scheduleObservable(input, scheduler);\n }\n if (isArrayLike(input)) {\n return scheduleArray(input, scheduler);\n }\n if (isPromise(input)) {\n return schedulePromise(input, scheduler);\n }\n if (isAsyncIterable(input)) {\n return scheduleAsyncIterable(input, scheduler);\n }\n if (isIterable(input)) {\n return scheduleIterable(input, scheduler);\n }\n if (isReadableStreamLike(input)) {\n return scheduleReadableStreamLike(input, scheduler);\n }\n }\n throw createInvalidObservableTypeError(input);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function scheduleObservable(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nexport function scheduleArray(input, scheduler) {\n return new Observable((subscriber) => {\n let i = 0;\n return scheduler.schedule(function () {\n if (i === input.length) {\n subscriber.complete();\n }\n else {\n subscriber.next(input[i++]);\n if (!subscriber.closed) {\n this.schedule();\n }\n }\n });\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function schedulePromise(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from '../util/isFunction';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleIterable(input, scheduler) {\n return new Observable((subscriber) => {\n let iterator;\n executeSchedule(subscriber, scheduler, () => {\n iterator = input[Symbol_iterator]();\n executeSchedule(subscriber, scheduler, () => {\n let value;\n let done;\n try {\n ({ value, done } = iterator.next());\n }\n catch (err) {\n subscriber.error(err);\n return;\n }\n if (done) {\n subscriber.complete();\n }\n else {\n subscriber.next(value);\n }\n }, 0, true);\n });\n return () => isFunction(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return();\n });\n}\n","import { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { readableStreamLikeToAsyncGenerator } from '../util/isReadableStreamLike';\nexport function scheduleReadableStreamLike(input, scheduler) {\n return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);\n}\n","import { popScheduler } from '../util/args';\nimport { from } from './from';\nexport function of(...args) {\n const scheduler = popScheduler(args);\n return from(args, scheduler);\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","import { executeSchedule } from '../util/executeSchedule';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function observeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, (value) => executeSchedule(subscriber, scheduler, () => subscriber.next(value), delay), () => executeSchedule(subscriber, scheduler, () => subscriber.complete(), delay), (err) => executeSchedule(subscriber, scheduler, () => subscriber.error(err), delay)));\n });\n}\n","import { isFunction } from './isFunction';\nimport { isScheduler } from './isScheduler';\nfunction last(arr) {\n return arr[arr.length - 1];\n}\nexport function popResultSelector(args) {\n return isFunction(last(args)) ? args.pop() : undefined;\n}\nexport function popScheduler(args) {\n return isScheduler(last(args)) ? args.pop() : undefined;\n}\nexport function popNumber(args, defaultValue) {\n return typeof last(args) === 'number' ? args.pop() : defaultValue;\n}\n","export function executeSchedule(parentSubscription, scheduler, work, delay = 0, repeat = false) {\n const scheduleSubscription = scheduler.schedule(function () {\n work();\n if (repeat) {\n parentSubscription.add(this.schedule(null, delay));\n }\n else {\n this.unsubscribe();\n }\n }, delay);\n parentSubscription.add(scheduleSubscription);\n if (!repeat) {\n return scheduleSubscription;\n }\n}\n","import { isFunction } from './isFunction';\nexport function isScheduler(value) {\n return value && isFunction(value.schedule);\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31]} \ No newline at end of file diff --git a/6477.0424bf6b21aa4e25.js b/6477.0424bf6b21aa4e25.js new file mode 100644 index 0000000..013e28b --- /dev/null +++ b/6477.0424bf6b21aa4e25.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[6477,5106,7376,5187,4091,1217,7208,4968,4155,1084,6896,5603,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,4680,2111,3326,8596,8352,5501,3098,8608,8443,9880,5915,3278,5391,6748,1551,6763,4151,5069,7432,6618],{86477:(U,S,D)=>{D.r(S),D.d(S,{APP_BASE_HREF:()=>Le,AsyncPipe:()=>Tt,BrowserPlatformLocation:()=>he,CommonModule:()=>tr,CurrencyPipe:()=>Kt,DATE_PIPE_DEFAULT_OPTIONS:()=>Zt,DATE_PIPE_DEFAULT_TIMEZONE:()=>Nt,DOCUMENT:()=>K,DatePipe:()=>xt,DecimalPipe:()=>Wt,FormStyle:()=>I,FormatWidth:()=>k,HashLocationStrategy:()=>gn,I18nPluralPipe:()=>jt,I18nSelectPipe:()=>Ut,IMAGE_CONFIG:()=>ln,IMAGE_LOADER:()=>Ve,JsonPipe:()=>zt,KeyValuePipe:()=>Vt,LOCATION_INITIALIZED:()=>de,Location:()=>Ye,LocationStrategy:()=>re,LowerCasePipe:()=>Mt,NgClass:()=>_t,NgComponentOutlet:()=>Ct,NgFor:()=>Ne,NgForOf:()=>Ne,NgForOfContext:()=>Ft,NgIf:()=>St,NgIfContext:()=>At,NgLocaleLocalization:()=>mt,NgLocalization:()=>Ce,NgOptimizedImage:()=>Vr,NgPlural:()=>xe,NgPluralCase:()=>kt,NgStyle:()=>It,NgSwitch:()=>Ee,NgSwitchCase:()=>Lt,NgSwitchDefault:()=>Pt,NgTemplateOutlet:()=>Ot,NumberFormatStyle:()=>j,NumberSymbol:()=>h,PRECONNECT_CHECK_BLOCKLIST:()=>rn,PathLocationStrategy:()=>Ke,PercentPipe:()=>Ht,PlatformLocation:()=>J,Plural:()=>T,SlicePipe:()=>Yt,TitleCasePipe:()=>Bt,TranslationWidth:()=>E,UpperCasePipe:()=>Rt,VERSION:()=>ar,ViewportScroller:()=>ur,WeekDay:()=>N,XhrFactory:()=>fr,formatCurrency:()=>gt,formatDate:()=>st,formatNumber:()=>vt,formatPercent:()=>Dt,getCurrencySymbol:()=>ut,getLocaleCurrencyCode:()=>En,getLocaleCurrencyName:()=>Cn,getLocaleCurrencySymbol:()=>_n,getLocaleDateFormat:()=>ie,getLocaleDateTimeFormat:()=>ue,getLocaleDayNames:()=>qe,getLocaleDayPeriods:()=>Qe,getLocaleDirection:()=>wn,getLocaleEraNames:()=>tt,getLocaleExtraDayPeriodRules:()=>it,getLocaleExtraDayPeriods:()=>at,getLocaleFirstDayOfWeek:()=>mn,getLocaleId:()=>Je,getLocaleMonthNames:()=>et,getLocaleNumberFormat:()=>ge,getLocaleNumberSymbol:()=>W,getLocalePluralCase:()=>nt,getLocaleTimeFormat:()=>ae,getLocaleWeekEndRange:()=>yn,getNumberOfCurrencyDigits:()=>ot,isPlatformBrowser:()=>nr,isPlatformServer:()=>qt,isPlatformWorkerApp:()=>rr,isPlatformWorkerUi:()=>ir,provideCloudflareLoader:()=>vr,provideCloudinaryLoader:()=>Cr,provideImageKitLoader:()=>Ar,provideImgixLoader:()=>Ir,registerLocaleData:()=>Wn,\u0275DomAdapter:()=>z,\u0275NullViewportScroller:()=>cr,\u0275PLATFORM_BROWSER_ID:()=>$t,\u0275PLATFORM_SERVER_ID:()=>Xt,\u0275PLATFORM_WORKER_APP_ID:()=>Jt,\u0275PLATFORM_WORKER_UI_ID:()=>Qt,\u0275getDOM:()=>G,\u0275parseCookieValue:()=>Hn,\u0275setRootDomAdapter:()=>x});var F=D(35603),w=D(95106),g=D(32090),m=D(24582),y=D(28694),f=D(48047),d=D(78069),u=D(56718),X=null;function G(){return X}function x(e){X||(X=e)}var z=(0,f.Z)(function e(){(0,d.Z)(this,e)}),K=new u.InjectionToken("DocumentToken"),J=function(){var e=function(){function t(){(0,d.Z)(this,t)}return(0,f.Z)(t,[{key:"historyGo",value:function(n){throw new Error("Not implemented")}}]),t}();return e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=u.\u0275\u0275defineInjectable({token:e,factory:function(){return(0,u.inject)(he)},providedIn:"platform"}),e}(),de=new u.InjectionToken("Location Initialized"),he=function(){var e=function(t){(0,m.Z)(n,t);var r=(0,y.Z)(n);function n(){var i;return(0,d.Z)(this,n),(i=r.call(this))._doc=(0,u.inject)(K),i._location=window.location,i._history=window.history,i}return(0,f.Z)(n,[{key:"getBaseHrefFromDOM",value:function(){return G().getBaseHref(this._doc)}},{key:"onPopState",value:function(a){var o=G().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",a,!1),function(){return o.removeEventListener("popstate",a)}}},{key:"onHashChange",value:function(a){var o=G().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",a,!1),function(){return o.removeEventListener("hashchange",a)}}},{key:"href",get:function(){return this._location.href}},{key:"protocol",get:function(){return this._location.protocol}},{key:"hostname",get:function(){return this._location.hostname}},{key:"port",get:function(){return this._location.port}},{key:"pathname",get:function(){return this._location.pathname},set:function(a){this._location.pathname=a}},{key:"search",get:function(){return this._location.search}},{key:"hash",get:function(){return this._location.hash}},{key:"pushState",value:function(a,o,s){this._history.pushState(a,o,s)}},{key:"replaceState",value:function(a,o,s){this._history.replaceState(a,o,s)}},{key:"forward",value:function(){this._history.forward()}},{key:"back",value:function(){this._history.back()}},{key:"historyGo",value:function(){this._history.go(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)}},{key:"getState",value:function(){return this._history.state}}]),n}(J);return e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=u.\u0275\u0275defineInjectable({token:e,factory:function(){return new e},providedIn:"platform"}),e}();function be(e,t){if(0==e.length)return t;if(0==t.length)return e;var r=0;return e.endsWith("/")&&r++,t.startsWith("/")&&r++,2==r?e+t.substring(1):1==r?e+t:e+"/"+t}function He(e){var t=e.match(/#|\?|$/),r=t&&t.index||e.length;return e.slice(0,r-("/"===e[r-1]?1:0))+e.slice(r)}function Q(e){return e&&"?"!==e[0]?"?"+e:e}var re=function(){var e=function(){function t(){(0,d.Z)(this,t)}return(0,f.Z)(t,[{key:"historyGo",value:function(n){throw new Error("Not implemented")}}]),t}();return e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=u.\u0275\u0275defineInjectable({token:e,factory:function(){return(0,u.inject)(Ke)},providedIn:"root"}),e}(),Le=new u.InjectionToken("appBaseHref"),Ke=function(){var e=function(t){(0,m.Z)(n,t);var r=(0,y.Z)(n);function n(i,a){var o,s,c,l;return(0,d.Z)(this,n),(l=r.call(this))._platformLocation=i,l._removeListenerFns=[],l._baseHref=null!==(o=null!==(s=a??l._platformLocation.getBaseHrefFromDOM())&&void 0!==s?s:null===(c=(0,u.inject)(K).location)||void 0===c?void 0:c.origin)&&void 0!==o?o:"",l}return(0,f.Z)(n,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(a){this._removeListenerFns.push(this._platformLocation.onPopState(a),this._platformLocation.onHashChange(a))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(a){return be(this._baseHref,a)}},{key:"path",value:function(){var a=arguments.length>0&&void 0!==arguments[0]&&arguments[0],o=this._platformLocation.pathname+Q(this._platformLocation.search),s=this._platformLocation.hash;return s&&a?"".concat(o).concat(s):o}},{key:"pushState",value:function(a,o,s,c){var l=this.prepareExternalUrl(s+Q(c));this._platformLocation.pushState(a,o,l)}},{key:"replaceState",value:function(a,o,s,c){var l=this.prepareExternalUrl(s+Q(c));this._platformLocation.replaceState(a,o,l)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"historyGo",value:function(){var a,o;null===(a=(o=this._platformLocation).historyGo)||void 0===a||a.call(o,arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)}}]),n}(re);return e.\u0275fac=function(r){return new(r||e)(u.\u0275\u0275inject(J),u.\u0275\u0275inject(Le,8))},e.\u0275prov=u.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),gn=function(){var e=function(t){(0,m.Z)(n,t);var r=(0,y.Z)(n);function n(i,a){var o;return(0,d.Z)(this,n),(o=r.call(this))._platformLocation=i,o._baseHref="",o._removeListenerFns=[],null!=a&&(o._baseHref=a),o}return(0,f.Z)(n,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(a){this._removeListenerFns.push(this._platformLocation.onPopState(a),this._platformLocation.onHashChange(a))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){var o=this._platformLocation.hash;return null==o&&(o="#"),o.length>0?o.substring(1):o}},{key:"prepareExternalUrl",value:function(a){var o=be(this._baseHref,a);return o.length>0?"#"+o:o}},{key:"pushState",value:function(a,o,s,c){var l=this.prepareExternalUrl(s+Q(c));0==l.length&&(l=this._platformLocation.pathname),this._platformLocation.pushState(a,o,l)}},{key:"replaceState",value:function(a,o,s,c){var l=this.prepareExternalUrl(s+Q(c));0==l.length&&(l=this._platformLocation.pathname),this._platformLocation.replaceState(a,o,l)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"historyGo",value:function(){var a,o;null===(a=(o=this._platformLocation).historyGo)||void 0===a||a.call(o,arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)}}]),n}(re);return e.\u0275fac=function(r){return new(r||e)(u.\u0275\u0275inject(J),u.\u0275\u0275inject(Le,8))},e.\u0275prov=u.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac}),e}(),Ye=function(){var e=function(){function t(r){var n=this;(0,d.Z)(this,t),this._subject=new u.EventEmitter,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;var i=this._locationStrategy.getBaseHref();this._basePath=function pn(e){if(new RegExp("^(https?:)?//").test(e)){var r=e.split(/\/\/[^\/]+/);return(0,g.Z)(r,2)[1]}return e}(He($e(i))),this._locationStrategy.onPopState(function(a){n._subject.emit({url:n.path(!0),pop:!0,state:a.state,type:a.type})})}return(0,f.Z)(t,[{key:"ngOnDestroy",value:function(){var n;null===(n=this._urlChangeSubscription)||void 0===n||n.unsubscribe(),this._urlChangeListeners=[]}},{key:"path",value:function(){return this.normalize(this._locationStrategy.path(arguments.length>0&&void 0!==arguments[0]&&arguments[0]))}},{key:"getState",value:function(){return this._locationStrategy.getState()}},{key:"isCurrentPathEqualTo",value:function(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(n+Q(i))}},{key:"normalize",value:function(n){return t.stripTrailingSlash(function vn(e,t){if(!e||!t.startsWith(e))return t;var r=t.substring(e.length);return""===r||["/",";","?","#"].includes(r[0])?r:t}(this._basePath,$e(n)))}},{key:"prepareExternalUrl",value:function(n){return n&&"/"!==n[0]&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}},{key:"go",value:function(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._locationStrategy.pushState(a,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Q(i)),a)}},{key:"replaceState",value:function(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._locationStrategy.replaceState(a,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Q(i)),a)}},{key:"forward",value:function(){this._locationStrategy.forward()}},{key:"back",value:function(){this._locationStrategy.back()}},{key:"historyGo",value:function(){var n,i;null===(n=(i=this._locationStrategy).historyGo)||void 0===n||n.call(i,arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)}},{key:"onUrlChange",value:function(n){var i=this;return this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(function(a){i._notifyUrlChangeListeners(a.url,a.state)})),function(){var o,a=i._urlChangeListeners.indexOf(n);i._urlChangeListeners.splice(a,1),0===i._urlChangeListeners.length&&(null===(o=i._urlChangeSubscription)||void 0===o||o.unsubscribe(),i._urlChangeSubscription=null)}}},{key:"_notifyUrlChangeListeners",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach(function(a){return a(n,i)})}},{key:"subscribe",value:function(n,i,a){return this._subject.subscribe({next:n,error:i,complete:a})}}]),t}();return e.normalizeQueryParams=Q,e.joinWithSlash=be,e.stripTrailingSlash=He,e.\u0275fac=function(r){return new(r||e)(u.\u0275\u0275inject(re))},e.\u0275prov=u.\u0275\u0275defineInjectable({token:e,factory:function(){return function Dn(){return new Ye((0,u.\u0275\u0275inject)(re))}()},providedIn:"root"}),e}();function $e(e){return e.replace(/\/index.html$/,"")}var Xe={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},j=function(){return(j=j||{})[j.Decimal=0]="Decimal",j[j.Percent=1]="Percent",j[j.Currency=2]="Currency",j[j.Scientific=3]="Scientific",j}(),T=function(){return(T=T||{})[T.Zero=0]="Zero",T[T.One=1]="One",T[T.Two=2]="Two",T[T.Few=3]="Few",T[T.Many=4]="Many",T[T.Other=5]="Other",T}(),I=function(){return(I=I||{})[I.Format=0]="Format",I[I.Standalone=1]="Standalone",I}(),E=function(){return(E=E||{})[E.Narrow=0]="Narrow",E[E.Abbreviated=1]="Abbreviated",E[E.Wide=2]="Wide",E[E.Short=3]="Short",E}(),k=function(){return(k=k||{})[k.Short=0]="Short",k[k.Medium=1]="Medium",k[k.Long=2]="Long",k[k.Full=3]="Full",k}(),h=function(){return(h=h||{})[h.Decimal=0]="Decimal",h[h.Group=1]="Group",h[h.List=2]="List",h[h.PercentSign=3]="PercentSign",h[h.PlusSign=4]="PlusSign",h[h.MinusSign=5]="MinusSign",h[h.Exponential=6]="Exponential",h[h.SuperscriptingExponent=7]="SuperscriptingExponent",h[h.PerMille=8]="PerMille",h[h.Infinity=9]="Infinity",h[h.NaN=10]="NaN",h[h.TimeSeparator=11]="TimeSeparator",h[h.CurrencyDecimal=12]="CurrencyDecimal",h[h.CurrencyGroup=13]="CurrencyGroup",h}(),N=function(){return(N=N||{})[N.Sunday=0]="Sunday",N[N.Monday=1]="Monday",N[N.Tuesday=2]="Tuesday",N[N.Wednesday=3]="Wednesday",N[N.Thursday=4]="Thursday",N[N.Friday=5]="Friday",N[N.Saturday=6]="Saturday",N}();function Je(e){return(0,u.\u0275findLocaleData)(e)[u.\u0275LocaleDataIndex.LocaleId]}function Qe(e,t,r){var n=(0,u.\u0275findLocaleData)(e),a=H([n[u.\u0275LocaleDataIndex.DayPeriodsFormat],n[u.\u0275LocaleDataIndex.DayPeriodsStandalone]],t);return H(a,r)}function qe(e,t,r){var n=(0,u.\u0275findLocaleData)(e),a=H([n[u.\u0275LocaleDataIndex.DaysFormat],n[u.\u0275LocaleDataIndex.DaysStandalone]],t);return H(a,r)}function et(e,t,r){var n=(0,u.\u0275findLocaleData)(e),a=H([n[u.\u0275LocaleDataIndex.MonthsFormat],n[u.\u0275LocaleDataIndex.MonthsStandalone]],t);return H(a,r)}function tt(e,t){return H((0,u.\u0275findLocaleData)(e)[u.\u0275LocaleDataIndex.Eras],t)}function mn(e){return(0,u.\u0275findLocaleData)(e)[u.\u0275LocaleDataIndex.FirstDayOfWeek]}function yn(e){return(0,u.\u0275findLocaleData)(e)[u.\u0275LocaleDataIndex.WeekendRange]}function ie(e,t){return H((0,u.\u0275findLocaleData)(e)[u.\u0275LocaleDataIndex.DateFormat],t)}function ae(e,t){return H((0,u.\u0275findLocaleData)(e)[u.\u0275LocaleDataIndex.TimeFormat],t)}function ue(e,t){return H((0,u.\u0275findLocaleData)(e)[u.\u0275LocaleDataIndex.DateTimeFormat],t)}function W(e,t){var r=(0,u.\u0275findLocaleData)(e),n=r[u.\u0275LocaleDataIndex.NumberSymbols][t];if(typeof n>"u"){if(t===h.CurrencyDecimal)return r[u.\u0275LocaleDataIndex.NumberSymbols][h.Decimal];if(t===h.CurrencyGroup)return r[u.\u0275LocaleDataIndex.NumberSymbols][h.Group]}return n}function ge(e,t){return(0,u.\u0275findLocaleData)(e)[u.\u0275LocaleDataIndex.NumberFormats][t]}function _n(e){return(0,u.\u0275findLocaleData)(e)[u.\u0275LocaleDataIndex.CurrencySymbol]||null}function Cn(e){return(0,u.\u0275findLocaleData)(e)[u.\u0275LocaleDataIndex.CurrencyName]||null}function En(e){return(0,u.\u0275getLocaleCurrencyCode)(e)}var nt=u.\u0275getLocalePluralCase;function rt(e){if(!e[u.\u0275LocaleDataIndex.ExtraData])throw new Error('Missing extra locale data for the locale "'.concat(e[u.\u0275LocaleDataIndex.LocaleId],'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.'))}function it(e){var t=(0,u.\u0275findLocaleData)(e);return rt(t),(t[u.\u0275LocaleDataIndex.ExtraData][2]||[]).map(function(n){return"string"==typeof n?Pe(n):[Pe(n[0]),Pe(n[1])]})}function at(e,t,r){var n=(0,u.\u0275findLocaleData)(e);rt(n);var a=H([n[u.\u0275LocaleDataIndex.ExtraData][0],n[u.\u0275LocaleDataIndex.ExtraData][1]],t)||[];return H(a,r)||[]}function wn(e){return(0,u.\u0275findLocaleData)(e)[u.\u0275LocaleDataIndex.Directionality]}function H(e,t){for(var r=t;r>-1;r--)if(typeof e[r]<"u")return e[r];throw new Error("Locale data API: locale data undefined")}function Pe(e){var t=e.split(":"),r=(0,g.Z)(t,2);return{hours:+r[0],minutes:+r[1]}}function ut(e,t){var n=function Fn(e){return(0,u.\u0275findLocaleData)(e)[u.\u0275LocaleDataIndex.Currencies]}(arguments.length>2&&void 0!==arguments[2]?arguments[2]:"en")[e]||Xe[e]||[],i=n[1];return"narrow"===t&&"string"==typeof i?i:n[0]||e}var Sn=2;function ot(e){var t,r=Xe[e];return r&&(t=r[2]),"number"==typeof t?t:Sn}var An=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,oe={},bn=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,R=function(){return(R=R||{})[R.Short=0]="Short",R[R.ShortGMT=1]="ShortGMT",R[R.Long=2]="Long",R[R.Extended=3]="Extended",R}(),v=function(){return(v=v||{})[v.FullYear=0]="FullYear",v[v.Month=1]="Month",v[v.Date=2]="Date",v[v.Hours=3]="Hours",v[v.Minutes=4]="Minutes",v[v.Seconds=5]="Seconds",v[v.FractionalSeconds=6]="FractionalSeconds",v[v.Day=7]="Day",v}(),C=function(){return(C=C||{})[C.DayPeriods=0]="DayPeriods",C[C.Days=1]="Days",C[C.Months=2]="Months",C[C.Eras=3]="Eras",C}();function st(e,t,r,n){var i=function Rn(e){if(lt(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){var t=e.split("-").map(function(_){return+_}),r=(0,g.Z)(t,3),i=r[1],o=r[2];return De(r[0],(void 0===i?1:i)-1,void 0===o?1:o)}var l,c=parseFloat(e);if(!isNaN(e-c))return new Date(c);if(l=e.match(An))return function Nn(e){var t=new Date(0),r=0,n=0,i=e[8]?t.setUTCFullYear:t.setFullYear,a=e[8]?t.setUTCHours:t.setHours;e[9]&&(r=Number(e[9]+e[10]),n=Number(e[9]+e[11])),i.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));var o=Number(e[4]||0)-r,s=Number(e[5]||0)-n,c=Number(e[6]||0),l=Math.floor(1e3*parseFloat("0."+(e[7]||0)));return a.call(t,o,s,c,l),t}(l)}var p=new Date(e);if(!lt(p))throw new Error('Unable to convert "'.concat(e,'" into a date'));return p}(e);t=q(r,t)||t;for(var s,o=[];t;){if(!(s=bn.exec(t))){o.push(t);break}var c=(o=o.concat(s.slice(1))).pop();if(!c)break;t=c}var l=i.getTimezoneOffset();n&&(l=ft(n,l),i=function Bn(e,t,r){var n=r?-1:1,i=e.getTimezoneOffset();return function Mn(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,n*(ft(t,i)-i))}(i,n,!0));var p="";return o.forEach(function(_){var A=function Tn(e){if(Ie[e])return Ie[e];var t;switch(e){case"G":case"GG":case"GGG":t=b(C.Eras,E.Abbreviated);break;case"GGGG":t=b(C.Eras,E.Wide);break;case"GGGGG":t=b(C.Eras,E.Narrow);break;case"y":t=B(v.FullYear,1,0,!1,!0);break;case"yy":t=B(v.FullYear,2,0,!0,!0);break;case"yyy":t=B(v.FullYear,3,0,!1,!0);break;case"yyyy":t=B(v.FullYear,4,0,!1,!0);break;case"Y":t=ye(1);break;case"YY":t=ye(2,!0);break;case"YYY":t=ye(3);break;case"YYYY":t=ye(4);break;case"M":case"L":t=B(v.Month,1,1);break;case"MM":case"LL":t=B(v.Month,2,1);break;case"MMM":t=b(C.Months,E.Abbreviated);break;case"MMMM":t=b(C.Months,E.Wide);break;case"MMMMM":t=b(C.Months,E.Narrow);break;case"LLL":t=b(C.Months,E.Abbreviated,I.Standalone);break;case"LLLL":t=b(C.Months,E.Wide,I.Standalone);break;case"LLLLL":t=b(C.Months,E.Narrow,I.Standalone);break;case"w":t=ke(1);break;case"ww":t=ke(2);break;case"W":t=ke(1,!0);break;case"d":t=B(v.Date,1);break;case"dd":t=B(v.Date,2);break;case"c":case"cc":t=B(v.Day,1);break;case"ccc":t=b(C.Days,E.Abbreviated,I.Standalone);break;case"cccc":t=b(C.Days,E.Wide,I.Standalone);break;case"ccccc":t=b(C.Days,E.Narrow,I.Standalone);break;case"cccccc":t=b(C.Days,E.Short,I.Standalone);break;case"E":case"EE":case"EEE":t=b(C.Days,E.Abbreviated);break;case"EEEE":t=b(C.Days,E.Wide);break;case"EEEEE":t=b(C.Days,E.Narrow);break;case"EEEEEE":t=b(C.Days,E.Short);break;case"a":case"aa":case"aaa":t=b(C.DayPeriods,E.Abbreviated);break;case"aaaa":t=b(C.DayPeriods,E.Wide);break;case"aaaaa":t=b(C.DayPeriods,E.Narrow);break;case"b":case"bb":case"bbb":t=b(C.DayPeriods,E.Abbreviated,I.Standalone,!0);break;case"bbbb":t=b(C.DayPeriods,E.Wide,I.Standalone,!0);break;case"bbbbb":t=b(C.DayPeriods,E.Narrow,I.Standalone,!0);break;case"B":case"BB":case"BBB":t=b(C.DayPeriods,E.Abbreviated,I.Format,!0);break;case"BBBB":t=b(C.DayPeriods,E.Wide,I.Format,!0);break;case"BBBBB":t=b(C.DayPeriods,E.Narrow,I.Format,!0);break;case"h":t=B(v.Hours,1,-12);break;case"hh":t=B(v.Hours,2,-12);break;case"H":t=B(v.Hours,1);break;case"HH":t=B(v.Hours,2);break;case"m":t=B(v.Minutes,1);break;case"mm":t=B(v.Minutes,2);break;case"s":t=B(v.Seconds,1);break;case"ss":t=B(v.Seconds,2);break;case"S":t=B(v.FractionalSeconds,1);break;case"SS":t=B(v.FractionalSeconds,2);break;case"SSS":t=B(v.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=pe(R.Short);break;case"ZZZZZ":t=pe(R.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=pe(R.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=pe(R.Long);break;default:return null}return Ie[e]=t,t}(_);p+=A?A(i,r,l):"''"===_?"'":_.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),p}function De(e,t,r){var n=new Date(0);return n.setFullYear(e,t,r),n.setHours(0,0,0),n}function q(e,t){var r=Je(e);if(oe[r]=oe[r]||{},oe[r][t])return oe[r][t];var n="";switch(t){case"shortDate":n=ie(e,k.Short);break;case"mediumDate":n=ie(e,k.Medium);break;case"longDate":n=ie(e,k.Long);break;case"fullDate":n=ie(e,k.Full);break;case"shortTime":n=ae(e,k.Short);break;case"mediumTime":n=ae(e,k.Medium);break;case"longTime":n=ae(e,k.Long);break;case"fullTime":n=ae(e,k.Full);break;case"short":var i=q(e,"shortTime"),a=q(e,"shortDate");n=ve(ue(e,k.Short),[i,a]);break;case"medium":var o=q(e,"mediumTime"),s=q(e,"mediumDate");n=ve(ue(e,k.Medium),[o,s]);break;case"long":var c=q(e,"longTime"),l=q(e,"longDate");n=ve(ue(e,k.Long),[c,l]);break;case"full":var p=q(e,"fullTime"),_=q(e,"fullDate");n=ve(ue(e,k.Full),[p,_])}return n&&(oe[r][t]=n),n}function ve(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(r,n){return null!=t&&n in t?t[n]:r})),e}function Y(e,t){var n=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0,a="";(e<0||i&&e<=0)&&(i?e=1-e:(e=-e,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"-"));for(var o=String(e);o.length<t;)o="0"+o;return n&&(o=o.slice(o.length-t)),a+o}function B(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return function(a,o){var s=function Pn(e,t){switch(e){case v.FullYear:return t.getFullYear();case v.Month:return t.getMonth();case v.Date:return t.getDate();case v.Hours:return t.getHours();case v.Minutes:return t.getMinutes();case v.Seconds:return t.getSeconds();case v.FractionalSeconds:return t.getMilliseconds();case v.Day:return t.getDay();default:throw new Error('Unknown DateType value "'.concat(e,'".'))}}(e,a);if((r>0||s>-r)&&(s+=r),e===v.Hours)0===s&&-12===r&&(s=12);else if(e===v.FractionalSeconds)return function Ln(e,t){return Y(e,3).substring(0,t)}(s,t);var c=W(o,h.MinusSign);return Y(s,t,c,n,i)}}function b(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:I.Format,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(i,a){return function kn(e,t,r,n,i,a){switch(r){case C.Months:return et(t,i,n)[e.getMonth()];case C.Days:return qe(t,i,n)[e.getDay()];case C.DayPeriods:var o=e.getHours(),s=e.getMinutes();if(a){var c=it(t),l=at(t,i,n),p=c.findIndex(function(A){if(Array.isArray(A)){var L=(0,g.Z)(A,2),Z=L[0],M=L[1],V=o>=Z.hours&&s>=Z.minutes,P=o<M.hours||o===M.hours&&s<M.minutes;if(Z.hours<M.hours){if(V&&P)return!0}else if(V||P)return!0}else if(A.hours===o&&A.minutes===s)return!0;return!1});if(-1!==p)return l[p]}return Qe(t,i,n)[o<12?0:1];case C.Eras:return tt(t,n)[e.getFullYear()<=0?0:1];default:throw new Error("unexpected translation type ".concat(r))}}(i,a,e,t,r,n)}}function pe(e){return function(t,r,n){var i=-1*n,a=W(r,h.MinusSign),o=i>0?Math.floor(i/60):Math.ceil(i/60);switch(e){case R.Short:return(i>=0?"+":"")+Y(o,2,a)+Y(Math.abs(i%60),2,a);case R.ShortGMT:return"GMT"+(i>=0?"+":"")+Y(o,1,a);case R.Long:return"GMT"+(i>=0?"+":"")+Y(o,2,a)+":"+Y(Math.abs(i%60),2,a);case R.Extended:return 0===n?"Z":(i>=0?"+":"")+Y(o,2,a)+":"+Y(Math.abs(i%60),2,a);default:throw new Error('Unknown zone width "'.concat(e,'"'))}}}var In=0,me=4;function ct(e){return De(e.getFullYear(),e.getMonth(),e.getDate()+(me-e.getDay()))}function ke(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(r,n){var i;if(t){var a=new Date(r.getFullYear(),r.getMonth(),1).getDay()-1,o=r.getDate();i=1+Math.floor((o+a)/7)}else{var s=ct(r),c=function On(e){var t=De(e,In,1).getDay();return De(e,0,1+(t<=me?me:me+7)-t)}(s.getFullYear()),l=s.getTime()-c.getTime();i=1+Math.round(l/6048e5)}return Y(i,e,W(n,h.MinusSign))}}function ye(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(r,n){return Y(ct(r).getFullYear(),e,W(n,h.MinusSign),t)}}var Ie={};function ft(e,t){e=e.replace(/:/g,"");var r=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(r)?t:r}function lt(e){return e instanceof Date&&!isNaN(e.valueOf())}var Zn=/^(\d+)?\.((\d+)(-(\d+))?)?$/,dt=22,_e=".",se="0",xn=";",jn=",",Oe="#",ht="\xa4",Un="%";function Te(e,t,r,n,i,a){var o=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s="",c=!1;if(isFinite(e)){var l=function Vn(e){var n,i,a,o,s,t=Math.abs(e)+"",r=0;for((i=t.indexOf(_e))>-1&&(t=t.replace(_e,"")),(a=t.search(/e/i))>0?(i<0&&(i=a),i+=+t.slice(a+1),t=t.substring(0,a)):i<0&&(i=t.length),a=0;t.charAt(a)===se;a++);if(a===(s=t.length))n=[0],i=1;else{for(s--;t.charAt(s)===se;)s--;for(i-=a,n=[],o=0;a<=s;a++,o++)n[o]=Number(t.charAt(a))}return i>dt&&(n=n.splice(0,dt-1),r=i-1,i=1),{digits:n,exponent:r,integerLen:i}}(e);o&&(l=function zn(e){if(0===e.digits[0])return e;var t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2),e}(l));var p=t.minInt,_=t.minFrac,A=t.maxFrac;if(a){var L=a.match(Zn);if(null===L)throw new Error("".concat(a," is not a valid digit info"));var Z=L[1],M=L[3],V=L[5];null!=Z&&(p=Be(Z)),null!=M&&(_=Be(M)),null!=V?A=Be(V):null!=M&&_>A&&(A=_)}!function Gn(e,t,r){if(t>r)throw new Error("The minimum number of digits after fraction (".concat(t,") is higher than the maximum (").concat(r,")."));var n=e.digits,i=n.length-e.integerLen,a=Math.min(Math.max(t,i),r),o=a+e.integerLen,s=n[o];if(o>0){n.splice(Math.max(e.integerLen,o));for(var c=o;c<n.length;c++)n[c]=0}else{i=Math.max(0,i),e.integerLen=1,n.length=Math.max(1,o=a+1),n[0]=0;for(var l=1;l<o;l++)n[l]=0}if(s>=5)if(o-1<0){for(var p=0;p>o;p--)n.unshift(0),e.integerLen++;n.unshift(1),e.integerLen++}else n[o-1]++;for(;i<Math.max(0,a);i++)n.push(0);var _=0!==a,A=t+e.integerLen,L=n.reduceRight(function(Z,M,V,P){return P[V]=(M+=Z)<10?M:M-10,_&&(0===P[V]&&V>=A?P.pop():_=!1),M>=10?1:0},0);L&&(n.unshift(L),e.integerLen++)}(l,_,A);var P=l.digits,ee=l.integerLen,le=l.exponent,te=[];for(c=P.every(function(Ae){return!Ae});ee<p;ee++)P.unshift(0);for(;ee<0;ee++)P.unshift(0);ee>0?te=P.splice(ee,P.length):(te=P,P=[0]);var ne=[];for(P.length>=t.lgSize&&ne.unshift(P.splice(-t.lgSize,P.length).join(""));P.length>t.gSize;)ne.unshift(P.splice(-t.gSize,P.length).join(""));P.length&&ne.unshift(P.join("")),s=ne.join(W(r,n)),te.length&&(s+=W(r,i)+te.join("")),le&&(s+=W(r,h.Exponential)+"+"+le)}else s=W(r,h.Infinity);return e<0&&!c?t.negPre+s+t.negSuf:t.posPre+s+t.posSuf}function gt(e,t,r,n,i){var o=Me(ge(t,j.Currency),W(t,h.MinusSign));return o.minFrac=ot(n),o.maxFrac=o.minFrac,Te(e,o,t,h.CurrencyGroup,h.CurrencyDecimal,i).replace(ht,r).replace(ht,"").trim()}function Dt(e,t,r){return Te(e,Me(ge(t,j.Percent),W(t,h.MinusSign)),t,h.Group,h.Decimal,r,!0).replace(new RegExp(Un,"g"),W(t,h.PercentSign))}function vt(e,t,r){return Te(e,Me(ge(t,j.Decimal),W(t,h.MinusSign)),t,h.Group,h.Decimal,r)}function Me(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-",r={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=e.split(xn),i=n[0],a=n[1],o=-1!==i.indexOf(_e)?i.split(_e):[i.substring(0,i.lastIndexOf(se)+1),i.substring(i.lastIndexOf(se)+1)],s=o[0],c=o[1]||"";r.posPre=s.substring(0,s.indexOf(Oe));for(var l=0;l<c.length;l++){var p=c.charAt(l);p===se?r.minFrac=r.maxFrac=l+1:p===Oe?r.maxFrac=l+1:r.posSuf+=p}var _=s.split(jn);if(r.gSize=_[1]?_[1].length:0,r.lgSize=_[2]||_[1]?(_[2]||_[1]).length:0,a){var A=i.length-r.posPre.length-r.posSuf.length,L=a.indexOf(Oe);r.negPre=a.substring(0,L).replace(/'/g,""),r.negSuf=a.slice(L+A).replace(/'/g,"")}else r.negPre=t+r.posPre,r.negSuf=r.posSuf;return r}function Be(e){var t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}var Ce=function(){var e=(0,f.Z)(function t(){(0,d.Z)(this,t)});return e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=u.\u0275\u0275defineInjectable({token:e,factory:function(r){var i,n=null;return r?n=new r:(i=u.\u0275\u0275inject(u.LOCALE_ID),n=new mt(i)),n},providedIn:"root"}),e}();function pt(e,t,r,n){var i="=".concat(e);if(t.indexOf(i)>-1||(i=r.getPluralCategory(e,n),t.indexOf(i)>-1))return i;if(t.indexOf("other")>-1)return"other";throw new Error('No plural message found for value "'.concat(e,'"'))}var mt=function(){var e=function(t){(0,m.Z)(n,t);var r=(0,y.Z)(n);function n(i){var a;return(0,d.Z)(this,n),(a=r.call(this)).locale=i,a}return(0,f.Z)(n,[{key:"getPluralCategory",value:function(a,o){switch(nt(o||this.locale)(a)){case T.Zero:return"zero";case T.One:return"one";case T.Two:return"two";case T.Few:return"few";case T.Many:return"many";default:return"other"}}}]),n}(Ce);return e.\u0275fac=function(r){return new(r||e)(u.\u0275\u0275inject(u.LOCALE_ID))},e.\u0275prov=u.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac}),e}();function Wn(e,t,r){return(0,u.\u0275registerLocaleData)(e,t,r)}function Hn(e,t){t=encodeURIComponent(t);var n,r=(0,w.Z)(e.split(";"));try{for(r.s();!(n=r.n()).done;){var i=n.value,a=i.indexOf("="),o=-1==a?[i,""]:[i.slice(0,a),i.slice(a+1)],s=(0,g.Z)(o,2),l=s[1];if(s[0].trim()===t)return decodeURIComponent(l)}}catch(p){r.e(p)}finally{r.f()}return null}var Re=/\s+/,yt=[],_t=function(){var e=function(){function t(r,n,i,a){(0,d.Z)(this,t),this._iterableDiffers=r,this._keyValueDiffers=n,this._ngEl=i,this._renderer=a,this.initialClasses=yt,this.stateMap=new Map}return(0,f.Z)(t,[{key:"klass",set:function(n){this.initialClasses=null!=n?n.trim().split(Re):yt}},{key:"ngClass",set:function(n){this.rawClass="string"==typeof n?n.trim().split(Re):n}},{key:"ngDoCheck",value:function(){var i,n=(0,w.Z)(this.initialClasses);try{for(n.s();!(i=n.n()).done;)this._updateState(i.value,!0)}catch(L){n.e(L)}finally{n.f()}var o=this.rawClass;if(Array.isArray(o)||o instanceof Set){var c,s=(0,w.Z)(o);try{for(s.s();!(c=s.n()).done;)this._updateState(c.value,!0)}catch(L){s.e(L)}finally{s.f()}}else if(null!=o)for(var p=0,_=Object.keys(o);p<_.length;p++){var A=_[p];this._updateState(A,!!o[A])}this._applyStateDiff()}},{key:"_updateState",value:function(n,i){var a=this.stateMap.get(n);void 0!==a?(a.enabled!==i&&(a.changed=!0,a.enabled=i),a.touched=!0):this.stateMap.set(n,{enabled:i,changed:!0,touched:!0})}},{key:"_applyStateDiff",value:function(){var i,n=(0,w.Z)(this.stateMap);try{for(n.s();!(i=n.n()).done;){var a=i.value,o=a[0],s=a[1];s.changed?(this._toggleClass(o,s.enabled),s.changed=!1):s.touched||(s.enabled&&this._toggleClass(o,!1),this.stateMap.delete(o)),s.touched=!1}}catch(c){n.e(c)}finally{n.f()}}},{key:"_toggleClass",value:function(n,i){var a=this;(n=n.trim()).length>0&&n.split(Re).forEach(function(o){i?a._renderer.addClass(a._ngEl.nativeElement,o):a._renderer.removeClass(a._ngEl.nativeElement,o)})}}]),t}();return e.\u0275fac=function(r){return new(r||e)(u.\u0275\u0275directiveInject(u.IterableDiffers),u.\u0275\u0275directiveInject(u.KeyValueDiffers),u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(u.Renderer2))},e.\u0275dir=u.\u0275\u0275defineDirective({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),e}(),Ct=function(){var e=function(){function t(r){(0,d.Z)(this,t),this._viewContainerRef=r,this.ngComponentOutlet=null}return(0,f.Z)(t,[{key:"ngOnChanges",value:function(n){var i=this._viewContainerRef,a=this.ngComponentOutletNgModule,o=this.ngComponentOutletNgModuleFactory;if(i.clear(),this._componentRef=void 0,this.ngComponentOutlet){var s=this.ngComponentOutletInjector||i.parentInjector;(n.ngComponentOutletNgModule||n.ngComponentOutletNgModuleFactory)&&(this._moduleRef&&this._moduleRef.destroy(),this._moduleRef=a?(0,u.createNgModule)(a,Et(s)):o?o.create(Et(s)):void 0),this._componentRef=i.createComponent(this.ngComponentOutlet,{index:i.length,injector:s,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}},{key:"ngOnDestroy",value:function(){this._moduleRef&&this._moduleRef.destroy()}}]),t}();return e.\u0275fac=function(r){return new(r||e)(u.\u0275\u0275directiveInject(u.ViewContainerRef))},e.\u0275dir=u.\u0275\u0275defineDirective({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[u.\u0275\u0275NgOnChangesFeature]}),e}();function Et(e){return e.get(u.NgModuleRef).injector}var Ft=function(){function e(t,r,n,i){(0,d.Z)(this,e),this.$implicit=t,this.ngForOf=r,this.index=n,this.count=i}return(0,f.Z)(e,[{key:"first",get:function(){return 0===this.index}},{key:"last",get:function(){return this.index===this.count-1}},{key:"even",get:function(){return this.index%2==0}},{key:"odd",get:function(){return!this.even}}]),e}(),Ne=function(){var e=function(){function t(r,n,i){(0,d.Z)(this,t),this._viewContainer=r,this._template=n,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return(0,f.Z)(t,[{key:"ngForOf",set:function(n){this._ngForOf=n,this._ngForOfDirty=!0}},{key:"ngForTrackBy",get:function(){return this._trackByFn},set:function(n){this._trackByFn=n}},{key:"ngForTemplate",set:function(n){n&&(this._template=n)}},{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){var a=this._differ.diff(this._ngForOf);a&&this._applyChanges(a)}}},{key:"_applyChanges",value:function(n){var i=this,a=this._viewContainer;n.forEachOperation(function(p,_,A){if(null==p.previousIndex)a.createEmbeddedView(i._template,new Ft(p.item,i._ngForOf,-1,-1),null===A?void 0:A);else if(null==A)a.remove(null===_?void 0:_);else if(null!==_){var L=a.get(_);a.move(L,A),wt(L,p)}});for(var o=0,s=a.length;o<s;o++){var l=a.get(o).context;l.index=o,l.count=s,l.ngForOf=this._ngForOf}n.forEachIdentityChange(function(p){wt(a.get(p.currentIndex),p)})}}],[{key:"ngTemplateContextGuard",value:function(n,i){return!0}}]),t}();return e.\u0275fac=function(r){return new(r||e)(u.\u0275\u0275directiveInject(u.ViewContainerRef),u.\u0275\u0275directiveInject(u.TemplateRef),u.\u0275\u0275directiveInject(u.IterableDiffers))},e.\u0275dir=u.\u0275\u0275defineDirective({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),e}();function wt(e,t){e.context.$implicit=t.item}var St=function(){var e=function(){function t(r,n){(0,d.Z)(this,t),this._viewContainer=r,this._context=new At,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=n}return(0,f.Z)(t,[{key:"ngIf",set:function(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}},{key:"ngIfThen",set:function(n){bt("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}},{key:"ngIfElse",set:function(n){bt("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}},{key:"_updateView",value:function(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}}],[{key:"ngTemplateContextGuard",value:function(n,i){return!0}}]),t}();return e.\u0275fac=function(r){return new(r||e)(u.\u0275\u0275directiveInject(u.ViewContainerRef),u.\u0275\u0275directiveInject(u.TemplateRef))},e.\u0275dir=u.\u0275\u0275defineDirective({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),e}(),At=(0,f.Z)(function e(){(0,d.Z)(this,e),this.$implicit=null,this.ngIf=null});function bt(e,t){if(t&&!t.createEmbeddedView)throw new Error("".concat(e," must be a TemplateRef, but received '").concat((0,u.\u0275stringify)(t),"'."))}var Ze=function(){function e(t,r){(0,d.Z)(this,e),this._viewContainerRef=t,this._templateRef=r,this._created=!1}return(0,f.Z)(e,[{key:"create",value:function(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}},{key:"destroy",value:function(){this._created=!1,this._viewContainerRef.clear()}},{key:"enforceState",value:function(r){r&&!this._created?this.create():!r&&this._created&&this.destroy()}}]),e}(),Ee=function(){var e=function(){function t(){(0,d.Z)(this,t),this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}return(0,f.Z)(t,[{key:"ngSwitch",set:function(n){this._ngSwitch=n,0===this._caseCount&&this._updateDefaultCases(!0)}},{key:"_addCase",value:function(){return this._caseCount++}},{key:"_addDefault",value:function(n){this._defaultViews.push(n)}},{key:"_matchCase",value:function(n){var i=n==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}},{key:"_updateDefaultCases",value:function(n){if(this._defaultViews.length>0&&n!==this._defaultUsed){this._defaultUsed=n;var a,i=(0,w.Z)(this._defaultViews);try{for(i.s();!(a=i.n()).done;)a.value.enforceState(n)}catch(s){i.e(s)}finally{i.f()}}}}]),t}();return e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=u.\u0275\u0275defineDirective({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),e}(),Lt=function(){var e=function(){function t(r,n,i){(0,d.Z)(this,t),this.ngSwitch=i,i._addCase(),this._view=new Ze(r,n)}return(0,f.Z)(t,[{key:"ngDoCheck",value:function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}]),t}();return e.\u0275fac=function(r){return new(r||e)(u.\u0275\u0275directiveInject(u.ViewContainerRef),u.\u0275\u0275directiveInject(u.TemplateRef),u.\u0275\u0275directiveInject(Ee,9))},e.\u0275dir=u.\u0275\u0275defineDirective({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),e}(),Pt=function(){var e=(0,f.Z)(function t(r,n,i){(0,d.Z)(this,t),i._addDefault(new Ze(r,n))});return e.\u0275fac=function(r){return new(r||e)(u.\u0275\u0275directiveInject(u.ViewContainerRef),u.\u0275\u0275directiveInject(u.TemplateRef),u.\u0275\u0275directiveInject(Ee,9))},e.\u0275dir=u.\u0275\u0275defineDirective({type:e,selectors:[["","ngSwitchDefault",""]],standalone:!0}),e}(),xe=function(){var e=function(){function t(r){(0,d.Z)(this,t),this._localization=r,this._caseViews={}}return(0,f.Z)(t,[{key:"ngPlural",set:function(n){this._updateView(n)}},{key:"addCase",value:function(n,i){this._caseViews[n]=i}},{key:"_updateView",value:function(n){this._clearViews();var a=pt(n,Object.keys(this._caseViews),this._localization);this._activateView(this._caseViews[a])}},{key:"_clearViews",value:function(){this._activeView&&this._activeView.destroy()}},{key:"_activateView",value:function(n){n&&(this._activeView=n,this._activeView.create())}}]),t}();return e.\u0275fac=function(r){return new(r||e)(u.\u0275\u0275directiveInject(Ce))},e.\u0275dir=u.\u0275\u0275defineDirective({type:e,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0}),e}(),kt=function(){var e=(0,f.Z)(function t(r,n,i,a){(0,d.Z)(this,t),this.value=r;var o=!isNaN(Number(r));a.addCase(o?"=".concat(r):r,new Ze(i,n))});return e.\u0275fac=function(r){return new(r||e)(u.\u0275\u0275injectAttribute("ngPluralCase"),u.\u0275\u0275directiveInject(u.TemplateRef),u.\u0275\u0275directiveInject(u.ViewContainerRef),u.\u0275\u0275directiveInject(xe,1))},e.\u0275dir=u.\u0275\u0275defineDirective({type:e,selectors:[["","ngPluralCase",""]],standalone:!0}),e}(),It=function(){var e=function(){function t(r,n,i){(0,d.Z)(this,t),this._ngEl=r,this._differs=n,this._renderer=i,this._ngStyle=null,this._differ=null}return(0,f.Z)(t,[{key:"ngStyle",set:function(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}},{key:"ngDoCheck",value:function(){if(this._differ){var n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}},{key:"_setStyle",value:function(n,i){var a=n.split("."),o=(0,g.Z)(a,2),s=o[0],c=o[1],l=-1===s.indexOf("-")?void 0:u.RendererStyleFlags2.DashCase;null!=i?this._renderer.setStyle(this._ngEl.nativeElement,s,c?"".concat(i).concat(c):i,l):this._renderer.removeStyle(this._ngEl.nativeElement,s,l)}},{key:"_applyChanges",value:function(n){var i=this;n.forEachRemovedItem(function(a){return i._setStyle(a.key,null)}),n.forEachAddedItem(function(a){return i._setStyle(a.key,a.currentValue)}),n.forEachChangedItem(function(a){return i._setStyle(a.key,a.currentValue)})}}]),t}();return e.\u0275fac=function(r){return new(r||e)(u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(u.KeyValueDiffers),u.\u0275\u0275directiveInject(u.Renderer2))},e.\u0275dir=u.\u0275\u0275defineDirective({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),e}(),Ot=function(){var e=function(){function t(r){(0,d.Z)(this,t),this._viewContainerRef=r,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}return(0,f.Z)(t,[{key:"ngOnChanges",value:function(n){if(n.ngTemplateOutlet||n.ngTemplateOutletInjector){var i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),this.ngTemplateOutlet){var s=this.ngTemplateOutletInjector;this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext,s?{injector:s}:void 0)}else this._viewRef=null}else this._viewRef&&n.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}]),t}();return e.\u0275fac=function(r){return new(r||e)(u.\u0275\u0275directiveInject(u.ViewContainerRef))},e.\u0275dir=u.\u0275\u0275defineDirective({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[u.\u0275\u0275NgOnChangesFeature]}),e}();function $(e,t){return new u.\u0275RuntimeError(2100,!1)}var Kn=function(){function e(){(0,d.Z)(this,e)}return(0,f.Z)(e,[{key:"createSubscription",value:function(r,n){return(0,u.untracked)(function(){return r.subscribe({next:n,error:function(a){throw a}})})}},{key:"dispose",value:function(r){(0,u.untracked)(function(){return r.unsubscribe()})}}]),e}(),$n=new(function(){function e(){(0,d.Z)(this,e)}return(0,f.Z)(e,[{key:"createSubscription",value:function(r,n){return r.then(n,function(i){throw i})}},{key:"dispose",value:function(r){}}]),e}()),Xn=new Kn,Tt=function(){var e=function(){function t(r){(0,d.Z)(this,t),this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=r}return(0,f.Z)(t,[{key:"ngOnDestroy",value:function(){this._subscription&&this._dispose(),this._ref=null}},{key:"transform",value:function(n){return this._obj?n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue:(n&&this._subscribe(n),this._latestValue)}},{key:"_subscribe",value:function(n){var i=this;this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,function(a){return i._updateLatestValue(n,a)})}},{key:"_selectStrategy",value:function(n){if((0,u.\u0275isPromise)(n))return $n;if((0,u.\u0275isSubscribable)(n))return Xn;throw $()}},{key:"_dispose",value:function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}},{key:"_updateLatestValue",value:function(n,i){n===this._obj&&(this._latestValue=i,this._ref.markForCheck())}}]),t}();return e.\u0275fac=function(r){return new(r||e)(u.\u0275\u0275directiveInject(u.ChangeDetectorRef,16))},e.\u0275pipe=u.\u0275\u0275definePipe({name:"async",type:e,pure:!1,standalone:!0}),e}(),Mt=function(){var e=function(){function t(){(0,d.Z)(this,t)}return(0,f.Z)(t,[{key:"transform",value:function(n){if(null==n)return null;if("string"!=typeof n)throw $();return n.toLowerCase()}}]),t}();return e.\u0275fac=function(r){return new(r||e)},e.\u0275pipe=u.\u0275\u0275definePipe({name:"lowercase",type:e,pure:!0,standalone:!0}),e}(),Jn=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\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8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uD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-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g,Bt=function(){var e=function(){function t(){(0,d.Z)(this,t)}return(0,f.Z)(t,[{key:"transform",value:function(n){if(null==n)return null;if("string"!=typeof n)throw $();return n.replace(Jn,function(i){return i[0].toUpperCase()+i.slice(1).toLowerCase()})}}]),t}();return e.\u0275fac=function(r){return new(r||e)},e.\u0275pipe=u.\u0275\u0275definePipe({name:"titlecase",type:e,pure:!0,standalone:!0}),e}(),Rt=function(){var e=function(){function t(){(0,d.Z)(this,t)}return(0,f.Z)(t,[{key:"transform",value:function(n){if(null==n)return null;if("string"!=typeof n)throw $();return n.toUpperCase()}}]),t}();return e.\u0275fac=function(r){return new(r||e)},e.\u0275pipe=u.\u0275\u0275definePipe({name:"uppercase",type:e,pure:!0,standalone:!0}),e}(),Nt=new u.InjectionToken("DATE_PIPE_DEFAULT_TIMEZONE"),Zt=new u.InjectionToken("DATE_PIPE_DEFAULT_OPTIONS"),xt=function(){var e=function(){function t(r,n,i){(0,d.Z)(this,t),this.locale=r,this.defaultTimezone=n,this.defaultOptions=i}return(0,f.Z)(t,[{key:"transform",value:function(n,i,a,o){if(null==n||""===n||n!=n)return null;try{var s,c,l,p,_,A=null!==(s=i??(null===(c=this.defaultOptions)||void 0===c?void 0:c.dateFormat))&&void 0!==s?s:"mediumDate",L=null!==(l=null!==(p=a??(null===(_=this.defaultOptions)||void 0===_?void 0:_.timezone))&&void 0!==p?p:this.defaultTimezone)&&void 0!==l?l:void 0;return st(n,A,o||this.locale,L)}catch(Z){throw $()}}}]),t}();return e.\u0275fac=function(r){return new(r||e)(u.\u0275\u0275directiveInject(u.LOCALE_ID,16),u.\u0275\u0275directiveInject(Nt,24),u.\u0275\u0275directiveInject(Zt,24))},e.\u0275pipe=u.\u0275\u0275definePipe({name:"date",type:e,pure:!0,standalone:!0}),e}(),qn=/#/g,jt=function(){var e=function(){function t(r){(0,d.Z)(this,t),this._localization=r}return(0,f.Z)(t,[{key:"transform",value:function(n,i,a){if(null==n)return"";if("object"!=typeof i||null===i)throw $();return i[pt(n,Object.keys(i),this._localization,a)].replace(qn,n.toString())}}]),t}();return e.\u0275fac=function(r){return new(r||e)(u.\u0275\u0275directiveInject(Ce,16))},e.\u0275pipe=u.\u0275\u0275definePipe({name:"i18nPlural",type:e,pure:!0,standalone:!0}),e}(),Ut=function(){var e=function(){function t(){(0,d.Z)(this,t)}return(0,f.Z)(t,[{key:"transform",value:function(n,i){if(null==n)return"";if("object"!=typeof i||"string"!=typeof n)throw $();return i.hasOwnProperty(n)?i[n]:i.hasOwnProperty("other")?i.other:""}}]),t}();return e.\u0275fac=function(r){return new(r||e)},e.\u0275pipe=u.\u0275\u0275definePipe({name:"i18nSelect",type:e,pure:!0,standalone:!0}),e}(),zt=function(){var e=function(){function t(){(0,d.Z)(this,t)}return(0,f.Z)(t,[{key:"transform",value:function(n){return JSON.stringify(n,null,2)}}]),t}();return e.\u0275fac=function(r){return new(r||e)},e.\u0275pipe=u.\u0275\u0275definePipe({name:"json",type:e,pure:!1,standalone:!0}),e}(),Vt=function(){var e=function(){function t(r){(0,d.Z)(this,t),this.differs=r,this.keyValues=[],this.compareFn=Gt}return(0,f.Z)(t,[{key:"transform",value:function(n){var i=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Gt;if(!n||!(n instanceof Map)&&"object"!=typeof n)return null;this.differ||(this.differ=this.differs.find(n).create());var o=this.differ.diff(n),s=a!==this.compareFn;return o&&(this.keyValues=[],o.forEachItem(function(c){i.keyValues.push(function er(e,t){return{key:e,value:t}}(c.key,c.currentValue))})),(o||s)&&(this.keyValues.sort(a),this.compareFn=a),this.keyValues}}]),t}();return e.\u0275fac=function(r){return new(r||e)(u.\u0275\u0275directiveInject(u.KeyValueDiffers,16))},e.\u0275pipe=u.\u0275\u0275definePipe({name:"keyvalue",type:e,pure:!1,standalone:!0}),e}();function Gt(e,t){var r=e.key,n=t.key;if(r===n)return 0;if(void 0===r)return 1;if(void 0===n)return-1;if(null===r)return 1;if(null===n)return-1;if("string"==typeof r&&"string"==typeof n)return r<n?-1:1;if("number"==typeof r&&"number"==typeof n)return r-n;if("boolean"==typeof r&&"boolean"==typeof n)return r<n?-1:1;var i=String(r),a=String(n);return i==a?0:i<a?-1:1}var Wt=function(){var e=function(){function t(r){(0,d.Z)(this,t),this._locale=r}return(0,f.Z)(t,[{key:"transform",value:function(n,i,a){if(!je(n))return null;a=a||this._locale;try{return vt(Ue(n),a,i)}catch(s){throw $()}}}]),t}();return e.\u0275fac=function(r){return new(r||e)(u.\u0275\u0275directiveInject(u.LOCALE_ID,16))},e.\u0275pipe=u.\u0275\u0275definePipe({name:"number",type:e,pure:!0,standalone:!0}),e}(),Ht=function(){var e=function(){function t(r){(0,d.Z)(this,t),this._locale=r}return(0,f.Z)(t,[{key:"transform",value:function(n,i,a){if(!je(n))return null;a=a||this._locale;try{return Dt(Ue(n),a,i)}catch(s){throw $()}}}]),t}();return e.\u0275fac=function(r){return new(r||e)(u.\u0275\u0275directiveInject(u.LOCALE_ID,16))},e.\u0275pipe=u.\u0275\u0275definePipe({name:"percent",type:e,pure:!0,standalone:!0}),e}(),Kt=function(){var e=function(){function t(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"USD";(0,d.Z)(this,t),this._locale=r,this._defaultCurrencyCode=n}return(0,f.Z)(t,[{key:"transform",value:function(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._defaultCurrencyCode,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"symbol",o=arguments.length>3?arguments[3]:void 0,s=arguments.length>4?arguments[4]:void 0;if(!je(n))return null;s=s||this._locale,"boolean"==typeof a&&(a=a?"symbol":"code");var c=i||this._defaultCurrencyCode;"code"!==a&&(c="symbol"===a||"symbol-narrow"===a?ut(c,"symbol"===a?"wide":"narrow",s):a);try{return gt(Ue(n),s,c,i,o)}catch(p){throw $()}}}]),t}();return e.\u0275fac=function(r){return new(r||e)(u.\u0275\u0275directiveInject(u.LOCALE_ID,16),u.\u0275\u0275directiveInject(u.DEFAULT_CURRENCY_CODE,16))},e.\u0275pipe=u.\u0275\u0275definePipe({name:"currency",type:e,pure:!0,standalone:!0}),e}();function je(e){return!(null==e||""===e||e!=e)}function Ue(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error("".concat(e," is not a number"));return e}var Yt=function(){var e=function(){function t(){(0,d.Z)(this,t)}return(0,f.Z)(t,[{key:"transform",value:function(n,i,a){if(null==n)return null;if(!this.supports(n))throw $();return n.slice(i,a)}},{key:"supports",value:function(n){return"string"==typeof n||Array.isArray(n)}}]),t}();return e.\u0275fac=function(r){return new(r||e)},e.\u0275pipe=u.\u0275\u0275definePipe({name:"slice",type:e,pure:!1,standalone:!0}),e}(),tr=function(){var e=(0,f.Z)(function t(){(0,d.Z)(this,t)});return e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=u.\u0275\u0275defineNgModule({type:e}),e.\u0275inj=u.\u0275\u0275defineInjector({}),e}(),$t="browser",Xt="server",Jt="browserWorkerApp",Qt="browserWorkerUi";function nr(e){return e===$t}function qt(e){return e===Xt}function rr(e){return e===Jt}function ir(e){return e===Qt}var ar=new u.Version("16.0.5"),ur=function(){var e=(0,f.Z)(function t(){(0,d.Z)(this,t)});return e.\u0275prov=(0,u.\u0275\u0275defineInjectable)({token:e,providedIn:"root",factory:function(){return new or((0,u.\u0275\u0275inject)(K),window)}}),e}(),or=function(){function e(t,r){(0,d.Z)(this,e),this.document=t,this.window=r,this.offset=function(){return[0,0]}}return(0,f.Z)(e,[{key:"setOffset",value:function(r){this.offset=Array.isArray(r)?function(){return r}:r}},{key:"getScrollPosition",value:function(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}},{key:"scrollToPosition",value:function(r){this.supportsScrolling()&&this.window.scrollTo(r[0],r[1])}},{key:"scrollToAnchor",value:function(r){if(this.supportsScrolling()){var n=function sr(e,t){var r=e.getElementById(t)||e.getElementsByName(t)[0];if(r)return r;if("function"==typeof e.createTreeWalker&&e.body&&"function"==typeof e.body.attachShadow)for(var n=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),i=n.currentNode;i;){var a=i.shadowRoot;if(a){var o=a.getElementById(t)||a.querySelector('[name="'.concat(t,'"]'));if(o)return o}i=n.nextNode()}return null}(this.document,r);n&&(this.scrollToElement(n),n.focus())}}},{key:"setHistoryScrollRestoration",value:function(r){if(this.supportScrollRestoration()){var n=this.window.history;n&&n.scrollRestoration&&(n.scrollRestoration=r)}}},{key:"scrollToElement",value:function(r){var n=r.getBoundingClientRect(),i=n.left+this.window.pageXOffset,a=n.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(i-o[0],a-o[1])}},{key:"supportScrollRestoration",value:function(){try{if(!this.supportsScrolling())return!1;var r=en(this.window.history)||en(Object.getPrototypeOf(this.window.history));return!(!r||!r.writable&&!r.set)}catch{return!1}}},{key:"supportsScrolling",value:function(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}]),e}();function en(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}var cr=function(){function e(){(0,d.Z)(this,e)}return(0,f.Z)(e,[{key:"setOffset",value:function(r){}},{key:"getScrollPosition",value:function(){return[0,0]}},{key:"scrollToPosition",value:function(r){}},{key:"scrollToAnchor",value:function(r){}},{key:"setHistoryScrollRestoration",value:function(r){}}]),e}(),fr=(0,f.Z)(function e(){(0,d.Z)(this,e)});function hr(e){return e.startsWith("/")?e.slice(1):e}var ce=function(t){return t.src},Ve=new u.InjectionToken("ImageLoader",{providedIn:"root",factory:function(){return ce}});function we(e,t){return function(n){return function lr(e){if("string"!=typeof e||""===e.trim())return!1;try{return new URL(e),!0}catch{return!1}}(n)||function gr(e,t){throw new u.\u0275RuntimeError(2959,!1)}(),n=function dr(e){return e.endsWith("/")?e.slice(0,-1):e}(n),[{provide:Ve,useValue:function(s){return function ze(e){return/^https?:\/\//.test(e)}(s.src)&&function Dr(e,t){throw new u.\u0275RuntimeError(2959,!1)}(),e(n,(0,F.Z)((0,F.Z)({},s),{},{src:hr(s.src)}))}}]}}var vr=we(pr);function pr(e,t){var r="format=auto";return t.width&&(r+=",width=".concat(t.width)),"".concat(e,"/cdn-cgi/image/").concat(r,"/").concat(t.src)}var Cr=we(Er);function Er(e,t){var r="f_auto,q_auto";return t.width&&(r+=",w_".concat(t.width)),"".concat(e,"/image/upload/").concat(r,"/").concat(t.src)}var Ar=we(br);function br(e,t){var r=t.src,n=t.width;return(n?[e,"tr:w-".concat(n),r]:[e,r]).join("/")}var Ir=we(Or);function Or(e,t){var r=new URL("".concat(e,"/").concat(t.src));return r.searchParams.set("auto","format"),t.width&&r.searchParams.set("w",t.width.toString()),r.href}var rn=new u.InjectionToken("PRECONNECT_CHECK_BLOCKLIST"),Br=new u.InjectionToken("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:function(){return new Set}}),Rr=function(){var e=function(){function t(){(0,d.Z)(this,t),this.preloadedImages=(0,u.inject)(Br),this.document=(0,u.inject)(K)}return(0,f.Z)(t,[{key:"createPreloadLinkTag",value:function(n,i,a,o){if(!this.preloadedImages.has(i)){this.preloadedImages.add(i);var s=n.createElement("link");n.setAttribute(s,"as","image"),n.setAttribute(s,"href",i),n.setAttribute(s,"rel","preload"),n.setAttribute(s,"fetchpriority","high"),o&&n.setAttribute(s,"imageSizes",o),a&&n.setAttribute(s,"imageSrcset",a),n.appendChild(this.document.head,s)}}}]),t}();return e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=u.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),on=/^((\s*\d+w\s*(,|$)){1,})$/,Zr=[1,2],fn={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840]},ln=new u.InjectionToken("ImageConfig",{providedIn:"root",factory:function(){return fn}}),Vr=function(){var e=function(){function t(){(0,d.Z)(this,t),this.imageLoader=(0,u.inject)(Ve),this.config=function Gr(e){var t={};return e.breakpoints&&(t.breakpoints=e.breakpoints.sort(function(r,n){return r-n})),Object.assign({},fn,e,t)}((0,u.inject)(ln)),this.renderer=(0,u.inject)(u.Renderer2),this.imgElement=(0,u.inject)(u.ElementRef).nativeElement,this.injector=(0,u.inject)(u.Injector),this.isServer=qt((0,u.inject)(u.PLATFORM_ID)),this.preloadLinkCreator=(0,u.inject)(Rr),this.lcpObserver=null,this._renderedSrc=null,this._priority=!1,this._disableOptimizedSrcset=!1,this._fill=!1}return(0,f.Z)(t,[{key:"width",get:function(){return this._width},set:function(n){this._width=dn(n)}},{key:"height",get:function(){return this._height},set:function(n){this._height=dn(n)}},{key:"priority",get:function(){return this._priority},set:function(n){this._priority=We(n)}},{key:"disableOptimizedSrcset",get:function(){return this._disableOptimizedSrcset},set:function(n){this._disableOptimizedSrcset=We(n)}},{key:"fill",get:function(){return this._fill},set:function(n){this._fill=We(n)}},{key:"ngOnInit",value:function(){this.setHostAttributes()}},{key:"setHostAttributes",value:function(){this.fill?this.sizes||(this.sizes="100vw"):(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");var n=this.getRewrittenSrc();this.setHostAttribute("src",n);var i=void 0;this.sizes&&this.setHostAttribute("sizes",this.sizes),this.ngSrcset?i=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(i=this.getAutomaticSrcset()),i&&this.setHostAttribute("srcset",i),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,n,i,this.sizes)}},{key:"ngOnChanges",value:function(n){}},{key:"callImageLoader",value:function(n){var i=n;return this.loaderParams&&(i.loaderParams=this.loaderParams),this.imageLoader(i)}},{key:"getLoadingBehavior",value:function(){return this.priority||void 0===this.loading?this.priority?"eager":"lazy":this.loading}},{key:"getFetchPriority",value:function(){return this.priority?"high":"auto"}},{key:"getRewrittenSrc",value:function(){return this._renderedSrc||(this._renderedSrc=this.callImageLoader({src:this.ngSrc})),this._renderedSrc}},{key:"getRewrittenSrcset",value:function(){var n=this,i=on.test(this.ngSrcset);return this.ngSrcset.split(",").filter(function(o){return""!==o}).map(function(o){o=o.trim();var s=i?parseFloat(o):parseFloat(o)*n.width;return"".concat(n.callImageLoader({src:n.ngSrc,width:s})," ").concat(o)}).join(", ")}},{key:"getAutomaticSrcset",value:function(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}},{key:"getResponsiveSrcset",value:function(){var n,i=this,a=this.config.breakpoints,o=a;return"100vw"===(null===(n=this.sizes)||void 0===n?void 0:n.trim())&&(o=a.filter(function(c){return c>=640})),o.map(function(c){return"".concat(i.callImageLoader({src:i.ngSrc,width:c})," ").concat(c,"w")}).join(", ")}},{key:"getFixedSrcset",value:function(){var n=this;return Zr.map(function(a){return"".concat(n.callImageLoader({src:n.ngSrc,width:n.width*a})," ").concat(a,"x")}).join(", ")}},{key:"shouldGenerateAutomaticSrcset",value:function(){return!this._disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==ce&&!(this.width>1920||this.height>1080)}},{key:"ngOnDestroy",value:function(){}},{key:"setHostAttribute",value:function(n,i){this.renderer.setAttribute(this.imgElement,n,i)}}]),t}();return e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=u.\u0275\u0275defineDirective({type:e,selectors:[["img","ngSrc",""]],hostVars:8,hostBindings:function(r,n){2&r&&u.\u0275\u0275styleProp("position",n.fill?"absolute":null)("width",n.fill?"100%":null)("height",n.fill?"100%":null)("inset",n.fill?"0px":null)},inputs:{ngSrc:"ngSrc",ngSrcset:"ngSrcset",sizes:"sizes",width:"width",height:"height",loading:"loading",priority:"priority",loaderParams:"loaderParams",disableOptimizedSrcset:"disableOptimizedSrcset",fill:"fill",src:"src",srcset:"srcset"},standalone:!0,features:[u.\u0275\u0275NgOnChangesFeature]}),e}();function dn(e){return"string"==typeof e?parseInt(e,10):e}function We(e){return null!=e&&"false"!=="".concat(e)}},44841:(U,S,D)=>{function F(w,g){(null==g||g>w.length)&&(g=w.length);for(var m=0,y=new Array(g);m<g;m++)y[m]=w[m];return y}D.d(S,{Z:()=>F})},8091:(U,S,D)=>{function F(w){if(Array.isArray(w))return w}D.d(S,{Z:()=>F})},35488:(U,S,D)=>{function F(w){if(void 0===w)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w}D.d(S,{Z:()=>F})},95106:(U,S,D)=>{D.d(S,{Z:()=>w});var F=D(44206);function w(g,m){var y=typeof Symbol<"u"&&g[Symbol.iterator]||g["@@iterator"];if(!y){if(Array.isArray(g)||(y=(0,F.Z)(g))||m&&g&&"number"==typeof g.length){y&&(g=y);var f=0,d=function(){};return{s:d,n:function(){return f>=g.length?{done:!0}:{done:!1,value:g[f++]}},e:function(z){throw z},f:d}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var G,u=!0,X=!1;return{s:function(){y=y.call(g)},n:function(){var z=y.next();return u=z.done,z},e:function(z){X=!0,G=z},f:function(){try{!u&&null!=y.return&&y.return()}finally{if(X)throw G}}}}},28694:(U,S,D)=>{D.d(S,{Z:()=>f});var F=D(20265),w=D(98568),g=D(43445),m=D(35488);function f(d){var u=(0,w.Z)();return function(){var x,G=(0,F.Z)(d);if(u){var z=(0,F.Z)(this).constructor;x=Reflect.construct(G,arguments,z)}else x=G.apply(this,arguments);return function y(d,u){if(u&&("object"===(0,g.Z)(u)||"function"==typeof u))return u;if(void 0!==u)throw new TypeError("Derived constructors may only return object or undefined");return(0,m.Z)(d)}(this,x)}}},77797:(U,S,D)=>{D.d(S,{Z:()=>w});var F=D(51299);function w(g,m,y){return(m=(0,F.Z)(m))in g?Object.defineProperty(g,m,{value:y,enumerable:!0,configurable:!0,writable:!0}):g[m]=y,g}},20265:(U,S,D)=>{function F(w){return(F=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(m){return m.__proto__||Object.getPrototypeOf(m)})(w)}D.d(S,{Z:()=>F})},24582:(U,S,D)=>{D.d(S,{Z:()=>w});var F=D(10006);function w(g,m){if("function"!=typeof m&&null!==m)throw new TypeError("Super expression must either be null or a function");g.prototype=Object.create(m&&m.prototype,{constructor:{value:g,writable:!0,configurable:!0}}),Object.defineProperty(g,"prototype",{writable:!1}),m&&(0,F.Z)(g,m)}},98568:(U,S,D)=>{function F(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}D.d(S,{Z:()=>F})},8217:(U,S,D)=>{function F(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}D.d(S,{Z:()=>F})},35603:(U,S,D)=>{D.d(S,{Z:()=>g});var F=D(77797);function w(m,y){var f=Object.keys(m);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(m);y&&(d=d.filter(function(u){return Object.getOwnPropertyDescriptor(m,u).enumerable})),f.push.apply(f,d)}return f}function g(m){for(var y=1;y<arguments.length;y++){var f=null!=arguments[y]?arguments[y]:{};y%2?w(Object(f),!0).forEach(function(d){(0,F.Z)(m,d,f[d])}):Object.getOwnPropertyDescriptors?Object.defineProperties(m,Object.getOwnPropertyDescriptors(f)):w(Object(f)).forEach(function(d){Object.defineProperty(m,d,Object.getOwnPropertyDescriptor(f,d))})}return m}},10006:(U,S,D)=>{function F(w,g){return(F=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(y,f){return y.__proto__=f,y})(w,g)}D.d(S,{Z:()=>F})},32090:(U,S,D)=>{D.d(S,{Z:()=>y});var F=D(8091),g=D(44206),m=D(8217);function y(f,d){return(0,F.Z)(f)||function w(f,d){var u=null==f?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(null!=u){var X,G,x,z,K=[],J=!0,de=!1;try{if(x=(u=u.call(f)).next,0===d){if(Object(u)!==u)return;J=!1}else for(;!(J=(X=x.call(u)).done)&&(K.push(X.value),K.length!==d);J=!0);}catch(he){de=!0,G=he}finally{try{if(!J&&null!=u.return&&(z=u.return(),Object(z)!==z))return}finally{if(de)throw G}}return K}}(f,d)||(0,g.Z)(f,d)||(0,m.Z)()}},44206:(U,S,D)=>{D.d(S,{Z:()=>w});var F=D(44841);function w(g,m){if(g){if("string"==typeof g)return(0,F.Z)(g,m);var y=Object.prototype.toString.call(g).slice(8,-1);if("Object"===y&&g.constructor&&(y=g.constructor.name),"Map"===y||"Set"===y)return Array.from(g);if("Arguments"===y||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return(0,F.Z)(g,m)}}}}]); +//# sourceMappingURL=6477.0424bf6b21aa4e25.js.map \ No newline at end of file diff --git a/6477.0424bf6b21aa4e25.js.map b/6477.0424bf6b21aa4e25.js.map new file mode 100644 index 0000000..61e06d7 --- /dev/null +++ b/6477.0424bf6b21aa4e25.js.map @@ -0,0 +1 @@ +{"version":3,"file":"6477.0424bf6b21aa4e25.js","mappings":"qqFASIA,EAAO,KACX,SAASC,IACL,OAAOD,CACX,CACA,SAASE,EAAkBC,GAClBH,IACDA,EAAOG,EAEf,CAEA,IAMMC,GAAUC,OAAA,SAAAD,KAAAE,OAAAC,KAAAH,EAAA,GAUVI,EAAW,IAAIC,iBAAe,iBAwB9BC,EAAgB,eAAhBA,EAAgB,oBAAAA,KAAAJ,OAAAC,KAAAG,EAAA,CAAAL,cAAAK,EAAA,EAAAC,IAAA,YAAAC,MAClB,SAAUC,GACN,MAAM,IAAIC,MAAM,kBACpB,KAACJ,CAAA,CAHiB,GAAhBA,SAIYK,UAAI,SAAAC,GAAA,WAAAA,GAAwFN,EAAgB,EAJxHA,EAKYO,WADkFC,+BAAE,CAAAC,MACYT,EA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","names":["_DOM","getDOM","setRootDomAdapter","adapter","DomAdapter","_createClass","_classCallCheck","this","DOCUMENT","InjectionToken","PlatformLocation","key","value","relativePosition","Error","ɵfac","t","ɵprov","i0","token","factory","inject","BrowserPlatformLocation","providedIn","LOCATION_INITIALIZED","_PlatformLocation","_inherits","_super","_createSuper","_this","call","_doc","_location","window","location","_history","history","getBaseHref","fn","getGlobalEventTarget","addEventListener","removeEventListener","get","href","protocol","hostname","port","pathname","set","newPath","search","hash","state","title","url","pushState","replaceState","forward","back","go","arguments","length","undefined","joinWithSlash","start","end","slashes","endsWith","startsWith","substring","stripTrailingSlash","match","pathEndIdx","index","slice","normalizeQueryParams","params","LocationStrategy","PathLocationStrategy","APP_BASE_HREF","_LocationStrategy","_super2","_platformLocation","_ref","_ref2","_inject$location","_this2","_removeListenerFns","_baseHref","getBaseHrefFromDOM","origin","pop","push","onPopState","onHashChange","internal","includeHash","concat","queryParams","externalUrl","prepareExternalUrl","getState","_this$_platformLocati","_this$_platformLocati2","historyGo","HashLocationStrategy","_LocationStrategy2","_super3","_this3","path","_this$_platformLocati3","_this$_platformLocati4","Location","locationStrategy","_this4","_subject","EventEmitter","_urlChangeListeners","_urlChangeSubscription","_locationStrategy","baseHref","_basePath","_stripOrigin","RegExp","test","_baseHref$split","split","_baseHref$split2","_slicedToArray","_stripIndexHtml","ev","emit","type","_this$_urlChangeSubsc","unsubscribe","normalize","query","_stripBasePath","basePath","strippedUrl","includes","_notifyUrlChangeListeners","_this$_locationStrate","_this$_locationStrate2","_this5","subscribe","v","_this5$_urlChangeSubs","fnIndex","indexOf","splice","forEach","onNext","onThrow","onReturn","next","error","complete","createLocation","ɵɵinject","replace","CURRENCIES_EN","ADP","AFN","ALL","AMD","AOA","ARS","AUD","AZN","BAM","BBD","BDT","BHD","BIF","BMD","BND","BOB","BRL","BSD","BWP","BYN","BYR","BZD","CAD","CHF","CLF","CLP","CNY","COP","CRC","CUC","CUP","CZK","DJF","DKK","DOP","EGP","ESP","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GNF","GTQ","GYD","HKD","HNL","HRK","HUF","IDR","ILS","INR","IQD","IRR","ISK","ITL","JMD","JOD","JPY","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LTL","LUF","LVL","LYD","MGA","MGF","MMK","MNT","MRO","MUR","MXN","MYR","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PHP","PKR","PLN","PYG","RON","RSD","RUB","RWF","SBD","SEK","SGD","SHP","SLE","SLL","SOS","SRD","SSP","STD","STN","SYP","THB","TMM","TND","TOP","TRL","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYI","UYU","UYW","UZS","VEF","VND","VUV","XAF","XCD","XOF","XPF","XXX","YER","ZAR","ZMK","ZMW","ZWD","NumberFormatStyle","Decimal","Percent","Currency","Scientific","Plural","Zero","One","Two","Few","Many","Other","FormStyle","Format","Standalone","TranslationWidth","Narrow","Abbreviated","Wide","Short","FormatWidth","Medium","Long","Full","NumberSymbol","Group","List","PercentSign","PlusSign","MinusSign","Exponential","SuperscriptingExponent","PerMille","Infinity","NaN","TimeSeparator","CurrencyDecimal","CurrencyGroup","WeekDay","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","getLocaleId","locale","ɵfindLocaleData","ɵLocaleDataIndex","getLocaleDayPeriods","formStyle","width","data","amPm","getLastDefinedValue","getLocaleDayNames","days","getLocaleMonthNames","months","getLocaleEraNames","getLocaleFirstDayOfWeek","getLocaleWeekEndRange","getLocaleDateFormat","getLocaleTimeFormat","getLocaleDateTimeFormat","getLocaleNumberSymbol","symbol","res","getLocaleNumberFormat","getLocaleCurrencySymbol","getLocaleCurrencyName","getLocaleCurrencyCode","ɵgetLocaleCurrencyCode","getLocalePluralCase","ɵgetLocalePluralCase","checkFullData","getLocaleExtraDayPeriodRules","map","rule","extractTime","getLocaleExtraDayPeriods","dayPeriods","getLocaleDirection","i","time","_time$split","_time$split2","hours","minutes","getCurrencySymbol","code","format","currency","getLocaleCurrencies","symbolNarrow","DEFAULT_NB_OF_CURRENCY_DIGITS","getNumberOfCurrencyDigits","digits","ISO8601_DATE_REGEX","NAMED_FORMATS","DATE_FORMATS_SPLIT","ZoneWidth","ShortGMT","Extended","DateType","FullYear","Month","Date","Hours","Minutes","Seconds","FractionalSeconds","Day","TranslationType","DayPeriods","Days","Months","Eras","formatDate","timezone","date","toDate","isDate","isNaN","trim","_value$split$map","val","_value$split$map2","_value$split$map2$","_value$split$map2$2","createDate","parsedNb","parseFloat","isoStringToDate","tzHour","tzMin","dateSetter","setUTCFullYear","setFullYear","timeSetter","setUTCHours","setHours","Number","h","m","s","ms","Math","floor","getNamedFormat","parts","exec","part","dateTimezoneOffset","getTimezoneOffset","timezoneToOffset","convertTimezoneToLocal","reverse","reverseValue","addDateMinutes","getTime","setMinutes","getMinutes","text","dateFormatter","getDateFormatter","DATE_FORMATS","formatter","dateStrGetter","dateGetter","weekNumberingYearGetter","weekGetter","timeZoneGetter","year","month","newDate","localeId","formatValue","shortTime","shortDate","formatDateTime","mediumTime","mediumDate","longTime","longDate","fullTime","fullDate","str","opt_values","padNumber","num","negWrap","neg","strNum","String","name","size","offset","getDatePart","getFullYear","getMonth","getDate","getHours","getSeconds","getMilliseconds","getDay","formatFractionalSeconds","milliseconds","localeMinus","form","extended","getDateTranslation","currentHours","currentMinutes","rules","findIndex","Array","isArray","_rule","from","to","afterFrom","beforeTo","zone","minusSign","ceil","abs","JANUARY","THURSDAY","getThursdayThisWeek","datetime","monthBased","result","nbDaysBefore1stDayOfMonth","today","thisThurs","firstThurs","getFirstThursdayOfYear","firstDayOfYear","diff","round","fallback","requestedTimezoneOffset","parse","valueOf","NUMBER_FORMAT_REGEXP","MAX_DIGITS","DECIMAL_SEP","ZERO_CHAR","PATTERN_SEP","GROUP_SEP","DIGIT_CHAR","CURRENCY_CHAR","PERCENT_CHAR","formatNumberToLocaleString","pattern","groupSymbol","decimalSymbol","digitsInfo","isPercent","formattedText","isZero","isFinite","parsedNumber","parseNumber","integerLen","j","zeros","numStr","exponent","charAt","toPercent","fractionLen","minInt","minFraction","minFrac","maxFraction","maxFrac","minIntPart","minFractionPart","maxFractionPart","parseIntAutoRadix","roundNumber","fractionSize","min","max","roundAt","digit","k","unshift","dropTrailingZeros","minLen","carry","reduceRight","d","decimals","every","groups","lgSize","join","gSize","negPre","negSuf","posPre","posSuf","formatCurrency","currencyCode","parseNumberFormat","formatPercent","formatNumber","p","patternParts","positive","negative","positiveParts","lastIndexOf","integer","fraction","ch","trunkLen","pos","parseInt","NgLocalization","r","LOCALE_ID","NgLocaleLocalization","getPluralCategory","cases","ngLocalization","_NgLocalization","_super4","_this6","registerLocaleData","extraData","ɵregisterLocaleData","parseCookieValue","cookieStr","encodeURIComponent","_step","_iterator","_createForOfIteratorHelper","n","done","cookie","eqIndex","_ref3","_ref4","cookieValue","decodeURIComponent","err","e","f","WS_REGEXP","EMPTY_ARRAY","NgClass","_iterableDiffers","_keyValueDiffers","_ngEl","_renderer","initialClasses","stateMap","Map","rawClass","_step2","_iterator2","_updateState","Set","_step3","_iterator3","_i","_Object$keys","Object","keys","klass","_applyStateDiff","nextEnabled","enabled","changed","touched","_step4","_iterator4","stateEntry","_toggleClass","delete","_this7","addClass","nativeElement","removeClass","ɵdir","selectors","inputs","ngClass","standalone","NgComponentOutlet","_viewContainerRef","ngComponentOutlet","changes","viewContainerRef","ngModule","ngComponentOutletNgModule","ngModuleFactory","ngComponentOutletNgModuleFactory","clear","_componentRef","injector","ngComponentOutletInjector","parentInjector","_moduleRef","destroy","createNgModule","getParentInjector","create","createComponent","ngModuleRef","projectableNodes","ngComponentOutletContent","features","NgModuleRef","NgForOfContext","$implicit","ngForOf","count","even","NgForOf","_viewContainer","_template","_differs","_ngForOf","_ngForOfDirty","_differ","_trackByFn","find","ngForTrackBy","_applyChanges","_this8","viewContainer","forEachOperation","item","adjustedPreviousIndex","currentIndex","previousIndex","createEmbeddedView","remove","view","move","applyViewChange","ilen","context","forEachIdentityChange","record","dir","ctx","ngForTemplate","NgIf","templateRef","_context","NgIfContext","_thenTemplateRef","_elseTemplateRef","_thenViewRef","_elseViewRef","condition","ngIf","_updateView","assertTemplate","ngIfThen","ngIfElse","property","ɵstringify","SwitchView","_templateRef","_created","created","NgSwitch","_defaultViews","_defaultUsed","_caseCount","_lastCaseCheckIndex","_lastCasesMatched","newValue","_ngSwitch","_updateDefaultCases","matched","useDefault","_step5","_iterator5","enforceState","ngSwitch","NgSwitchCase","_addCase","_view","_matchCase","ngSwitchCase","NgSwitchDefault","_addDefault","NgPlural","_localization","_caseViews","switchView","switchValue","_clearViews","_activateView","_activeView","ngPlural","NgPluralCase","template","isANumber","addCase","NgStyle","_ngStyle","values","nameAndUnit","_nameAndUnit$split","_nameAndUnit$split2","unit","flags","RendererStyleFlags2","setStyle","removeStyle","_this9","forEachRemovedItem","_setStyle","forEachAddedItem","currentValue","forEachChangedItem","ngStyle","NgTemplateOutlet","_viewRef","ngTemplateOutletContext","ngTemplateOutlet","ngTemplateOutletInjector","invalidPipeArgumentError","ɵRuntimeError","ngDevMode","SubscribableStrategy","async","updateLatestValue","untracked","subscription","_promiseStrategy","PromiseStrategy","then","_subscribableStrategy","AsyncPipe","ref","_latestValue","_subscription","_obj","_strategy","_dispose","obj","transform","_subscribe","_this10","_selectStrategy","createSubscription","_updateLatestValue","ɵisPromise","ɵisSubscribable","dispose","markForCheck","ɵpipe","pure","LowerCasePipe","toLowerCase","unicodeWordMatch","TitleCasePipe","txt","toUpperCase","UpperCasePipe","DATE_PIPE_DEFAULT_TIMEZONE","DATE_PIPE_DEFAULT_OPTIONS","DatePipe","defaultTimezone","defaultOptions","_ref5","_this$defaultOptions","_ref6","_ref7","_this$defaultOptions2","_format","dateFormat","_timezone","_INTERPOLATION_REGEXP","I18nPluralPipe","pluralMap","toString","I18nSelectPipe","mapping","hasOwnProperty","other","JsonPipe","JSON","stringify","KeyValuePipe","differs","keyValues","compareFn","defaultComparator","input","_this11","differ","differChanges","compareFnChanged","forEachItem","makeKeyValuePair","sort","keyValueA","keyValueB","a","b","aString","bString","DecimalPipe","_locale","isValue","strToNumber","PercentPipe","CurrencyPipe","_defaultCurrencyCode","display","DEFAULT_CURRENCY_CODE","SlicePipe","supports","CommonModule","ɵmod","ɵinj","PLATFORM_BROWSER_ID","PLATFORM_SERVER_ID","PLATFORM_WORKER_APP_ID","PLATFORM_WORKER_UI_ID","isPlatformBrowser","platformId","isPlatformServer","isPlatformWorkerApp","isPlatformWorkerUi","VERSION","Version","ViewportScroller","ɵɵdefineInjectable","BrowserViewportScroller","document","supportsScrolling","pageXOffset","pageYOffset","position","scrollTo","target","elSelected","findAnchorFromDocument","documentResult","getElementById","getElementsByName","createTreeWalker","body","attachShadow","treeWalker","NodeFilter","SHOW_ELEMENT","currentNode","shadowRoot","querySelector","nextNode","scrollToElement","focus","scrollRestoration","supportScrollRestoration","el","rect","getBoundingClientRect","left","top","scrollRestorationDescriptor","getScrollRestorationProperty","getPrototypeOf","writable","getOwnPropertyDescriptor","NullViewportScroller","anchor","XhrFactory","normalizeSrc","src","noopImageLoader","config","IMAGE_LOADER","createImageLoader","buildUrlFn","exampleUrls","isValidPath","URL","throwInvalidPathError","normalizePath","provide","useValue","isAbsoluteUrl","throwUnexpectedAbsoluteUrlError","_objectSpread","provideCloudflareLoader","createCloudflareUrl","provideCloudinaryLoader","createCloudinaryUrl","provideImageKitLoader","createImagekitUrl","provideImgixLoader","createImgixUrl","searchParams","PRECONNECT_CHECK_BLOCKLIST","PRELOADED_IMAGES","PreloadLinkCreator","preloadedImages","renderer","srcset","sizes","has","add","preload","createElement","setAttribute","appendChild","head","VALID_WIDTH_DESCRIPTOR_SRCSET","DENSITY_SRCSET_MULTIPLIERS","defaultConfig","breakpoints","IMAGE_CONFIG","NgOptimizedImage","imageLoader","processConfig","sortedBreakpoints","assign","Renderer2","imgElement","ElementRef","Injector","isServer","PLATFORM_ID","preloadLinkCreator","lcpObserver","_renderedSrc","_priority","_disableOptimizedSrcset","_fill","_width","inputToInteger","_height","inputToBoolean","setHostAttributes","fill","setHostAttribute","height","getLoadingBehavior","getFetchPriority","rewrittenSrc","getRewrittenSrc","rewrittenSrcset","ngSrcset","getRewrittenSrcset","shouldGenerateAutomaticSrcset","getAutomaticSrcset","priority","createPreloadLinkTag","configWithoutCustomParams","augmentedConfig","loaderParams","loading","callImageLoader","ngSrc","_this15","widthSrcSet","filter","srcStr","getResponsiveSrcset","getFixedSrcset","_this$sizes","_this16","filteredBreakpoints","bp","_this17","multiplier","hostVars","hostBindings","rf","disableOptimizedSrcset","_arrayLikeToArray","arr","len","arr2","_arrayWithHoles","_assertThisInitialized","self","ReferenceError","o","allowArrayLike","it","Symbol","iterator","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","_e","TypeError","normalCompletion","didErr","step","_e2","return","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Super","NewTarget","constructor","Reflect","construct","apply","_possibleConstructorReturn","esm_typeof","assertThisInitialized","_defineProperty","_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__","defineProperty","enumerable","configurable","_getPrototypeOf","setPrototypeOf","bind","__proto__","subClass","superClass","prototype","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","_nonIterableRest","ownKeys","object","enumerableOnly","getOwnPropertySymbols","symbols","sym","_objectSpread2","source","_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__","getOwnPropertyDescriptors","defineProperties","_setPrototypeOf","arrayWithHoles","_iterableToArrayLimit","_s","_x","_r","_arr","_n","_d","unsupportedIterableToArray","nonIterableRest","_unsupportedIterableToArray","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__"],"sourceRoot":"webpack:///","sources":["./node_modules/@angular/common/fesm2022/common.mjs","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/defineProperty.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","./node_modules/@babel/runtime/helpers/esm/objectSpread2.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/slicedToArray.js","./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["/**\n * @license Angular v16.0.5\n * (c) 2010-2022 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport * as i0 from '@angular/core';\nimport { InjectionToken, inject, Injectable, Optional, Inject, EventEmitter, ɵɵinject, ɵfindLocaleData, ɵLocaleDataIndex, ɵgetLocaleCurrencyCode, ɵgetLocalePluralCase, LOCALE_ID, ɵregisterLocaleData, ɵstringify, Directive, Input, createNgModule, NgModuleRef, ɵRuntimeError, Host, Attribute, RendererStyleFlags2, untracked, ɵisPromise, ɵisSubscribable, Pipe, DEFAULT_CURRENCY_CODE, NgModule, Version, ɵɵdefineInjectable, ɵformatRuntimeError, Renderer2, ElementRef, Injector, PLATFORM_ID, NgZone } from '@angular/core';\n\nlet _DOM = null;\nfunction getDOM() {\n return _DOM;\n}\nfunction setRootDomAdapter(adapter) {\n if (!_DOM) {\n _DOM = adapter;\n }\n}\n/* tslint:disable:requireParameterType */\n/**\n * Provides DOM operations in an environment-agnostic way.\n *\n * @security Tread carefully! Interacting with the DOM directly is dangerous and\n * can introduce XSS risks.\n */\nclass DomAdapter {\n}\n\n/**\n * A DI Token representing the main rendering context.\n * In a browser and SSR this is the DOM Document.\n * When using SSR, that document is created by [Domino](https://github.com/angular/domino).\n *\n * @publicApi\n */\nconst DOCUMENT = new InjectionToken('DocumentToken');\n\n/**\n * This class should not be used directly by an application developer. Instead, use\n * {@link Location}.\n *\n * `PlatformLocation` encapsulates all calls to DOM APIs, which allows the Router to be\n * platform-agnostic.\n * This means that we can have different implementation of `PlatformLocation` for the different\n * platforms that Angular supports. For example, `@angular/platform-browser` provides an\n * implementation specific to the browser environment, while `@angular/platform-server` provides\n * one suitable for use with server-side rendering.\n *\n * The `PlatformLocation` class is used directly by all implementations of {@link LocationStrategy}\n * when they need to interact with the DOM APIs like pushState, popState, etc.\n *\n * {@link LocationStrategy} in turn is used by the {@link Location} service which is used directly\n * by the {@link Router} in order to navigate between routes. Since all interactions between {@link\n * Router} /\n * {@link Location} / {@link LocationStrategy} and DOM APIs flow through the `PlatformLocation`\n * class, they are all platform-agnostic.\n *\n * @publicApi\n */\nclass PlatformLocation {\n historyGo(relativePosition) {\n throw new Error('Not implemented');\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PlatformLocation, providedIn: 'platform', useFactory: () => inject(BrowserPlatformLocation) }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PlatformLocation, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'platform', useFactory: () => inject(BrowserPlatformLocation) }]\n }] });\n/**\n * @description\n * Indicates when a location is initialized.\n *\n * @publicApi\n */\nconst LOCATION_INITIALIZED = new InjectionToken('Location Initialized');\n/**\n * `PlatformLocation` encapsulates all of the direct calls to platform APIs.\n * This class should not be used directly by an application developer. Instead, use\n * {@link Location}.\n *\n * @publicApi\n */\nclass BrowserPlatformLocation extends PlatformLocation {\n constructor() {\n super();\n this._doc = inject(DOCUMENT);\n this._location = window.location;\n this._history = window.history;\n }\n getBaseHrefFromDOM() {\n return getDOM().getBaseHref(this._doc);\n }\n onPopState(fn) {\n const window = getDOM().getGlobalEventTarget(this._doc, 'window');\n window.addEventListener('popstate', fn, false);\n return () => window.removeEventListener('popstate', fn);\n }\n onHashChange(fn) {\n const window = getDOM().getGlobalEventTarget(this._doc, 'window');\n window.addEventListener('hashchange', fn, false);\n return () => window.removeEventListener('hashchange', fn);\n }\n get href() {\n return this._location.href;\n }\n get protocol() {\n return this._location.protocol;\n }\n get hostname() {\n return this._location.hostname;\n }\n get port() {\n return this._location.port;\n }\n get pathname() {\n return this._location.pathname;\n }\n get search() {\n return this._location.search;\n }\n get hash() {\n return this._location.hash;\n }\n set pathname(newPath) {\n this._location.pathname = newPath;\n }\n pushState(state, title, url) {\n this._history.pushState(state, title, url);\n }\n replaceState(state, title, url) {\n this._history.replaceState(state, title, url);\n }\n forward() {\n this._history.forward();\n }\n back() {\n this._history.back();\n }\n historyGo(relativePosition = 0) {\n this._history.go(relativePosition);\n }\n getState() {\n return this._history.state;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: BrowserPlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: BrowserPlatformLocation, providedIn: 'platform', useFactory: () => new BrowserPlatformLocation() }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: BrowserPlatformLocation, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'platform',\n useFactory: () => new BrowserPlatformLocation(),\n }]\n }], ctorParameters: function () { return []; } });\n\n/**\n * Joins two parts of a URL with a slash if needed.\n *\n * @param start URL string\n * @param end URL string\n *\n *\n * @returns The joined URL string.\n */\nfunction joinWithSlash(start, end) {\n if (start.length == 0) {\n return end;\n }\n if (end.length == 0) {\n return start;\n }\n let slashes = 0;\n if (start.endsWith('/')) {\n slashes++;\n }\n if (end.startsWith('/')) {\n slashes++;\n }\n if (slashes == 2) {\n return start + end.substring(1);\n }\n if (slashes == 1) {\n return start + end;\n }\n return start + '/' + end;\n}\n/**\n * Removes a trailing slash from a URL string if needed.\n * Looks for the first occurrence of either `#`, `?`, or the end of the\n * line as `/` characters and removes the trailing slash if one exists.\n *\n * @param url URL string.\n *\n * @returns The URL string, modified if needed.\n */\nfunction stripTrailingSlash(url) {\n const match = url.match(/#|\\?|$/);\n const pathEndIdx = match && match.index || url.length;\n const droppedSlashIdx = pathEndIdx - (url[pathEndIdx - 1] === '/' ? 1 : 0);\n return url.slice(0, droppedSlashIdx) + url.slice(pathEndIdx);\n}\n/**\n * Normalizes URL parameters by prepending with `?` if needed.\n *\n * @param params String of URL parameters.\n *\n * @returns The normalized URL parameters string.\n */\nfunction normalizeQueryParams(params) {\n return params && params[0] !== '?' ? '?' + params : params;\n}\n\n/**\n * Enables the `Location` service to read route state from the browser's URL.\n * Angular provides two strategies:\n * `HashLocationStrategy` and `PathLocationStrategy`.\n *\n * Applications should use the `Router` or `Location` services to\n * interact with application route state.\n *\n * For instance, `HashLocationStrategy` produces URLs like\n * <code class=\"no-auto-link\">http://example.com#/foo</code>,\n * and `PathLocationStrategy` produces\n * <code class=\"no-auto-link\">http://example.com/foo</code> as an equivalent URL.\n *\n * See these two classes for more.\n *\n * @publicApi\n */\nclass LocationStrategy {\n historyGo(relativePosition) {\n throw new Error('Not implemented');\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: LocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: LocationStrategy, providedIn: 'root', useFactory: () => inject(PathLocationStrategy) }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: LocationStrategy, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root', useFactory: () => inject(PathLocationStrategy) }]\n }] });\n/**\n * A predefined [DI token](guide/glossary#di-token) for the base href\n * to be used with the `PathLocationStrategy`.\n * The base href is the URL prefix that should be preserved when generating\n * and recognizing URLs.\n *\n * @usageNotes\n *\n * The following example shows how to use this token to configure the root app injector\n * with a base href value, so that the DI framework can supply the dependency anywhere in the app.\n *\n * ```typescript\n * import {Component, NgModule} from '@angular/core';\n * import {APP_BASE_HREF} from '@angular/common';\n *\n * @NgModule({\n * providers: [{provide: APP_BASE_HREF, useValue: '/my/app'}]\n * })\n * class AppModule {}\n * ```\n *\n * @publicApi\n */\nconst APP_BASE_HREF = new InjectionToken('appBaseHref');\n/**\n * @description\n * A {@link LocationStrategy} used to configure the {@link Location} service to\n * represent its state in the\n * [path](https://en.wikipedia.org/wiki/Uniform_Resource_Locator#Syntax) of the\n * browser's URL.\n *\n * If you're using `PathLocationStrategy`, you may provide a {@link APP_BASE_HREF}\n * or add a `<base href>` element to the document to override the default.\n *\n * For instance, if you provide an `APP_BASE_HREF` of `'/my/app/'` and call\n * `location.go('/foo')`, the browser's URL will become\n * `example.com/my/app/foo`. To ensure all relative URIs resolve correctly,\n * the `<base href>` and/or `APP_BASE_HREF` should end with a `/`.\n *\n * Similarly, if you add `<base href='/my/app/'/>` to the document and call\n * `location.go('/foo')`, the browser's URL will become\n * `example.com/my/app/foo`.\n *\n * Note that when using `PathLocationStrategy`, neither the query nor\n * the fragment in the `<base href>` will be preserved, as outlined\n * by the [RFC](https://tools.ietf.org/html/rfc3986#section-5.2.2).\n *\n * @usageNotes\n *\n * ### Example\n *\n * {@example common/location/ts/path_location_component.ts region='LocationComponent'}\n *\n * @publicApi\n */\nclass PathLocationStrategy extends LocationStrategy {\n constructor(_platformLocation, href) {\n super();\n this._platformLocation = _platformLocation;\n this._removeListenerFns = [];\n this._baseHref = href ?? this._platformLocation.getBaseHrefFromDOM() ??\n inject(DOCUMENT).location?.origin ?? '';\n }\n /** @nodoc */\n ngOnDestroy() {\n while (this._removeListenerFns.length) {\n this._removeListenerFns.pop()();\n }\n }\n onPopState(fn) {\n this._removeListenerFns.push(this._platformLocation.onPopState(fn), this._platformLocation.onHashChange(fn));\n }\n getBaseHref() {\n return this._baseHref;\n }\n prepareExternalUrl(internal) {\n return joinWithSlash(this._baseHref, internal);\n }\n path(includeHash = false) {\n const pathname = this._platformLocation.pathname + normalizeQueryParams(this._platformLocation.search);\n const hash = this._platformLocation.hash;\n return hash && includeHash ? `${pathname}${hash}` : pathname;\n }\n pushState(state, title, url, queryParams) {\n const externalUrl = this.prepareExternalUrl(url + normalizeQueryParams(queryParams));\n this._platformLocation.pushState(state, title, externalUrl);\n }\n replaceState(state, title, url, queryParams) {\n const externalUrl = this.prepareExternalUrl(url + normalizeQueryParams(queryParams));\n this._platformLocation.replaceState(state, title, externalUrl);\n }\n forward() {\n this._platformLocation.forward();\n }\n back() {\n this._platformLocation.back();\n }\n getState() {\n return this._platformLocation.getState();\n }\n historyGo(relativePosition = 0) {\n this._platformLocation.historyGo?.(relativePosition);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PathLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PathLocationStrategy, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PathLocationStrategy, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: PlatformLocation }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [APP_BASE_HREF]\n }] }]; } });\n\n/**\n * @description\n * A {@link LocationStrategy} used to configure the {@link Location} service to\n * represent its state in the\n * [hash fragment](https://en.wikipedia.org/wiki/Uniform_Resource_Locator#Syntax)\n * of the browser's URL.\n *\n * For instance, if you call `location.go('/foo')`, the browser's URL will become\n * `example.com#/foo`.\n *\n * @usageNotes\n *\n * ### Example\n *\n * {@example common/location/ts/hash_location_component.ts region='LocationComponent'}\n *\n * @publicApi\n */\nclass HashLocationStrategy extends LocationStrategy {\n constructor(_platformLocation, _baseHref) {\n super();\n this._platformLocation = _platformLocation;\n this._baseHref = '';\n this._removeListenerFns = [];\n if (_baseHref != null) {\n this._baseHref = _baseHref;\n }\n }\n /** @nodoc */\n ngOnDestroy() {\n while (this._removeListenerFns.length) {\n this._removeListenerFns.pop()();\n }\n }\n onPopState(fn) {\n this._removeListenerFns.push(this._platformLocation.onPopState(fn), this._platformLocation.onHashChange(fn));\n }\n getBaseHref() {\n return this._baseHref;\n }\n path(includeHash = false) {\n // the hash value is always prefixed with a `#`\n // and if it is empty then it will stay empty\n let path = this._platformLocation.hash;\n if (path == null)\n path = '#';\n return path.length > 0 ? path.substring(1) : path;\n }\n prepareExternalUrl(internal) {\n const url = joinWithSlash(this._baseHref, internal);\n return url.length > 0 ? ('#' + url) : url;\n }\n pushState(state, title, path, queryParams) {\n let url = this.prepareExternalUrl(path + normalizeQueryParams(queryParams));\n if (url.length == 0) {\n url = this._platformLocation.pathname;\n }\n this._platformLocation.pushState(state, title, url);\n }\n replaceState(state, title, path, queryParams) {\n let url = this.prepareExternalUrl(path + normalizeQueryParams(queryParams));\n if (url.length == 0) {\n url = this._platformLocation.pathname;\n }\n this._platformLocation.replaceState(state, title, url);\n }\n forward() {\n this._platformLocation.forward();\n }\n back() {\n this._platformLocation.back();\n }\n getState() {\n return this._platformLocation.getState();\n }\n historyGo(relativePosition = 0) {\n this._platformLocation.historyGo?.(relativePosition);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: HashLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: HashLocationStrategy }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: HashLocationStrategy, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: PlatformLocation }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [APP_BASE_HREF]\n }] }]; } });\n\n/**\n * @description\n *\n * A service that applications can use to interact with a browser's URL.\n *\n * Depending on the `LocationStrategy` used, `Location` persists\n * to the URL's path or the URL's hash segment.\n *\n * @usageNotes\n *\n * It's better to use the `Router.navigate()` service to trigger route changes. Use\n * `Location` only if you need to interact with or create normalized URLs outside of\n * routing.\n *\n * `Location` is responsible for normalizing the URL against the application's base href.\n * A normalized URL is absolute from the URL host, includes the application's base href, and has no\n * trailing slash:\n * - `/my/app/user/123` is normalized\n * - `my/app/user/123` **is not** normalized\n * - `/my/app/user/123/` **is not** normalized\n *\n * ### Example\n *\n * <code-example path='common/location/ts/path_location_component.ts'\n * region='LocationComponent'></code-example>\n *\n * @publicApi\n */\nclass Location {\n constructor(locationStrategy) {\n /** @internal */\n this._subject = new EventEmitter();\n /** @internal */\n this._urlChangeListeners = [];\n /** @internal */\n this._urlChangeSubscription = null;\n this._locationStrategy = locationStrategy;\n const baseHref = this._locationStrategy.getBaseHref();\n // Note: This class's interaction with base HREF does not fully follow the rules\n // outlined in the spec https://www.freesoft.org/CIE/RFC/1808/18.htm.\n // Instead of trying to fix individual bugs with more and more code, we should\n // investigate using the URL constructor and providing the base as a second\n // argument.\n // https://developer.mozilla.org/en-US/docs/Web/API/URL/URL#parameters\n this._basePath = _stripOrigin(stripTrailingSlash(_stripIndexHtml(baseHref)));\n this._locationStrategy.onPopState((ev) => {\n this._subject.emit({\n 'url': this.path(true),\n 'pop': true,\n 'state': ev.state,\n 'type': ev.type,\n });\n });\n }\n /** @nodoc */\n ngOnDestroy() {\n this._urlChangeSubscription?.unsubscribe();\n this._urlChangeListeners = [];\n }\n /**\n * Normalizes the URL path for this location.\n *\n * @param includeHash True to include an anchor fragment in the path.\n *\n * @returns The normalized URL path.\n */\n // TODO: vsavkin. Remove the boolean flag and always include hash once the deprecated router is\n // removed.\n path(includeHash = false) {\n return this.normalize(this._locationStrategy.path(includeHash));\n }\n /**\n * Reports the current state of the location history.\n * @returns The current value of the `history.state` object.\n */\n getState() {\n return this._locationStrategy.getState();\n }\n /**\n * Normalizes the given path and compares to the current normalized path.\n *\n * @param path The given URL path.\n * @param query Query parameters.\n *\n * @returns True if the given URL path is equal to the current normalized path, false\n * otherwise.\n */\n isCurrentPathEqualTo(path, query = '') {\n return this.path() == this.normalize(path + normalizeQueryParams(query));\n }\n /**\n * Normalizes a URL path by stripping any trailing slashes.\n *\n * @param url String representing a URL.\n *\n * @returns The normalized URL string.\n */\n normalize(url) {\n return Location.stripTrailingSlash(_stripBasePath(this._basePath, _stripIndexHtml(url)));\n }\n /**\n * Normalizes an external URL path.\n * If the given URL doesn't begin with a leading slash (`'/'`), adds one\n * before normalizing. Adds a hash if `HashLocationStrategy` is\n * in use, or the `APP_BASE_HREF` if the `PathLocationStrategy` is in use.\n *\n * @param url String representing a URL.\n *\n * @returns A normalized platform-specific URL.\n */\n prepareExternalUrl(url) {\n if (url && url[0] !== '/') {\n url = '/' + url;\n }\n return this._locationStrategy.prepareExternalUrl(url);\n }\n // TODO: rename this method to pushState\n /**\n * Changes the browser's URL to a normalized version of a given URL, and pushes a\n * new item onto the platform's history.\n *\n * @param path URL path to normalize.\n * @param query Query parameters.\n * @param state Location history state.\n *\n */\n go(path, query = '', state = null) {\n this._locationStrategy.pushState(state, '', path, query);\n this._notifyUrlChangeListeners(this.prepareExternalUrl(path + normalizeQueryParams(query)), state);\n }\n /**\n * Changes the browser's URL to a normalized version of the given URL, and replaces\n * the top item on the platform's history stack.\n *\n * @param path URL path to normalize.\n * @param query Query parameters.\n * @param state Location history state.\n */\n replaceState(path, query = '', state = null) {\n this._locationStrategy.replaceState(state, '', path, query);\n this._notifyUrlChangeListeners(this.prepareExternalUrl(path + normalizeQueryParams(query)), state);\n }\n /**\n * Navigates forward in the platform's history.\n */\n forward() {\n this._locationStrategy.forward();\n }\n /**\n * Navigates back in the platform's history.\n */\n back() {\n this._locationStrategy.back();\n }\n /**\n * Navigate to a specific page from session history, identified by its relative position to the\n * current page.\n *\n * @param relativePosition Position of the target page in the history relative to the current\n * page.\n * A negative value moves backwards, a positive value moves forwards, e.g. `location.historyGo(2)`\n * moves forward two pages and `location.historyGo(-2)` moves back two pages. When we try to go\n * beyond what's stored in the history session, we stay in the current page. Same behaviour occurs\n * when `relativePosition` equals 0.\n * @see https://developer.mozilla.org/en-US/docs/Web/API/History_API#Moving_to_a_specific_point_in_history\n */\n historyGo(relativePosition = 0) {\n this._locationStrategy.historyGo?.(relativePosition);\n }\n /**\n * Registers a URL change listener. Use to catch updates performed by the Angular\n * framework that are not detectible through \"popstate\" or \"hashchange\" events.\n *\n * @param fn The change handler function, which take a URL and a location history state.\n * @returns A function that, when executed, unregisters a URL change listener.\n */\n onUrlChange(fn) {\n this._urlChangeListeners.push(fn);\n if (!this._urlChangeSubscription) {\n this._urlChangeSubscription = this.subscribe(v => {\n this._notifyUrlChangeListeners(v.url, v.state);\n });\n }\n return () => {\n const fnIndex = this._urlChangeListeners.indexOf(fn);\n this._urlChangeListeners.splice(fnIndex, 1);\n if (this._urlChangeListeners.length === 0) {\n this._urlChangeSubscription?.unsubscribe();\n this._urlChangeSubscription = null;\n }\n };\n }\n /** @internal */\n _notifyUrlChangeListeners(url = '', state) {\n this._urlChangeListeners.forEach(fn => fn(url, state));\n }\n /**\n * Subscribes to the platform's `popState` events.\n *\n * Note: `Location.go()` does not trigger the `popState` event in the browser. Use\n * `Location.onUrlChange()` to subscribe to URL changes instead.\n *\n * @param value Event that is triggered when the state history changes.\n * @param exception The exception to throw.\n *\n * @see [onpopstate](https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onpopstate)\n *\n * @returns Subscribed events.\n */\n subscribe(onNext, onThrow, onReturn) {\n return this._subject.subscribe({ next: onNext, error: onThrow, complete: onReturn });\n }\n /**\n * Normalizes URL parameters by prepending with `?` if needed.\n *\n * @param params String of URL parameters.\n *\n * @returns The normalized URL parameters string.\n */\n static { this.normalizeQueryParams = normalizeQueryParams; }\n /**\n * Joins two parts of a URL with a slash if needed.\n *\n * @param start URL string\n * @param end URL string\n *\n *\n * @returns The joined URL string.\n */\n static { this.joinWithSlash = joinWithSlash; }\n /**\n * Removes a trailing slash from a URL string if needed.\n * Looks for the first occurrence of either `#`, `?`, or the end of the\n * line as `/` characters and removes the trailing slash if one exists.\n *\n * @param url URL string.\n *\n * @returns The URL string, modified if needed.\n */\n static { this.stripTrailingSlash = stripTrailingSlash; }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: Location, deps: [{ token: LocationStrategy }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: Location, providedIn: 'root', useFactory: createLocation }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: Location, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root',\n // See #23917\n useFactory: createLocation,\n }]\n }], ctorParameters: function () { return [{ type: LocationStrategy }]; } });\nfunction createLocation() {\n return new Location(ɵɵinject(LocationStrategy));\n}\nfunction _stripBasePath(basePath, url) {\n if (!basePath || !url.startsWith(basePath)) {\n return url;\n }\n const strippedUrl = url.substring(basePath.length);\n if (strippedUrl === '' || ['/', ';', '?', '#'].includes(strippedUrl[0])) {\n return strippedUrl;\n }\n return url;\n}\nfunction _stripIndexHtml(url) {\n return url.replace(/\\/index.html$/, '');\n}\nfunction _stripOrigin(baseHref) {\n // DO NOT REFACTOR! Previously, this check looked like this:\n // `/^(https?:)?\\/\\//.test(baseHref)`, but that resulted in\n // syntactically incorrect code after Closure Compiler minification.\n // This was likely caused by a bug in Closure Compiler, but\n // for now, the check is rewritten to use `new RegExp` instead.\n const isAbsoluteUrl = (new RegExp('^(https?:)?//')).test(baseHref);\n if (isAbsoluteUrl) {\n const [, pathname] = baseHref.split(/\\/\\/[^\\/]+/);\n return pathname;\n }\n return baseHref;\n}\n\n/** @internal */\nconst CURRENCIES_EN = { \"ADP\": [undefined, undefined, 0], \"AFN\": [undefined, \"؋\", 0], \"ALL\": [undefined, undefined, 0], \"AMD\": [undefined, \"֏\", 2], \"AOA\": [undefined, \"Kz\"], \"ARS\": [undefined, \"$\"], \"AUD\": [\"A$\", \"$\"], \"AZN\": [undefined, \"₼\"], \"BAM\": [undefined, \"KM\"], \"BBD\": [undefined, \"$\"], \"BDT\": [undefined, \"৳\"], \"BHD\": [undefined, undefined, 3], \"BIF\": [undefined, undefined, 0], \"BMD\": [undefined, \"$\"], \"BND\": [undefined, \"$\"], \"BOB\": [undefined, \"Bs\"], \"BRL\": [\"R$\"], \"BSD\": [undefined, \"$\"], \"BWP\": [undefined, \"P\"], \"BYN\": [undefined, undefined, 2], \"BYR\": [undefined, undefined, 0], \"BZD\": [undefined, \"$\"], \"CAD\": [\"CA$\", \"$\", 2], \"CHF\": [undefined, undefined, 2], \"CLF\": [undefined, undefined, 4], \"CLP\": [undefined, \"$\", 0], \"CNY\": [\"CN¥\", \"¥\"], \"COP\": [undefined, \"$\", 2], \"CRC\": [undefined, \"₡\", 2], \"CUC\": [undefined, \"$\"], \"CUP\": [undefined, \"$\"], \"CZK\": [undefined, \"Kč\", 2], \"DJF\": [undefined, undefined, 0], \"DKK\": [undefined, \"kr\", 2], \"DOP\": [undefined, \"$\"], \"EGP\": [undefined, \"E£\"], \"ESP\": [undefined, \"₧\", 0], \"EUR\": [\"€\"], \"FJD\": [undefined, \"$\"], \"FKP\": [undefined, \"£\"], \"GBP\": [\"£\"], \"GEL\": [undefined, \"₾\"], \"GHS\": [undefined, \"GH₵\"], \"GIP\": [undefined, \"£\"], \"GNF\": [undefined, \"FG\", 0], \"GTQ\": [undefined, \"Q\"], \"GYD\": [undefined, \"$\", 2], \"HKD\": [\"HK$\", \"$\"], \"HNL\": [undefined, \"L\"], \"HRK\": [undefined, \"kn\"], \"HUF\": [undefined, \"Ft\", 2], \"IDR\": [undefined, \"Rp\", 2], \"ILS\": [\"₪\"], \"INR\": [\"₹\"], \"IQD\": [undefined, undefined, 0], \"IRR\": [undefined, undefined, 0], \"ISK\": [undefined, \"kr\", 0], \"ITL\": [undefined, undefined, 0], \"JMD\": [undefined, \"$\"], \"JOD\": [undefined, undefined, 3], \"JPY\": [\"¥\", undefined, 0], \"KHR\": [undefined, \"៛\"], \"KMF\": [undefined, \"CF\", 0], \"KPW\": [undefined, \"₩\", 0], \"KRW\": [\"₩\", undefined, 0], \"KWD\": [undefined, undefined, 3], \"KYD\": [undefined, \"$\"], \"KZT\": [undefined, \"₸\"], \"LAK\": [undefined, \"₭\", 0], \"LBP\": [undefined, \"L£\", 0], \"LKR\": [undefined, \"Rs\"], \"LRD\": [undefined, \"$\"], \"LTL\": [undefined, \"Lt\"], \"LUF\": [undefined, undefined, 0], \"LVL\": [undefined, \"Ls\"], \"LYD\": [undefined, undefined, 3], \"MGA\": [undefined, \"Ar\", 0], \"MGF\": [undefined, undefined, 0], \"MMK\": [undefined, \"K\", 0], \"MNT\": [undefined, \"₮\", 2], \"MRO\": [undefined, undefined, 0], \"MUR\": [undefined, \"Rs\", 2], \"MXN\": [\"MX$\", \"$\"], \"MYR\": [undefined, \"RM\"], \"NAD\": [undefined, \"$\"], \"NGN\": [undefined, \"₦\"], \"NIO\": [undefined, \"C$\"], \"NOK\": [undefined, \"kr\", 2], \"NPR\": [undefined, \"Rs\"], \"NZD\": [\"NZ$\", \"$\"], \"OMR\": [undefined, undefined, 3], \"PHP\": [\"₱\"], \"PKR\": [undefined, \"Rs\", 2], \"PLN\": [undefined, \"zł\"], \"PYG\": [undefined, \"₲\", 0], \"RON\": [undefined, \"lei\"], \"RSD\": [undefined, undefined, 0], \"RUB\": [undefined, \"₽\"], \"RWF\": [undefined, \"RF\", 0], \"SBD\": [undefined, \"$\"], \"SEK\": [undefined, \"kr\", 2], \"SGD\": [undefined, \"$\"], \"SHP\": [undefined, \"£\"], \"SLE\": [undefined, undefined, 2], \"SLL\": [undefined, undefined, 0], \"SOS\": [undefined, undefined, 0], \"SRD\": [undefined, \"$\"], \"SSP\": [undefined, \"£\"], \"STD\": [undefined, undefined, 0], \"STN\": [undefined, \"Db\"], \"SYP\": [undefined, \"£\", 0], \"THB\": [undefined, \"฿\"], \"TMM\": [undefined, undefined, 0], \"TND\": [undefined, undefined, 3], \"TOP\": [undefined, \"T$\"], \"TRL\": [undefined, undefined, 0], \"TRY\": [undefined, \"₺\"], \"TTD\": [undefined, \"$\"], \"TWD\": [\"NT$\", \"$\", 2], \"TZS\": [undefined, undefined, 2], \"UAH\": [undefined, \"₴\"], \"UGX\": [undefined, undefined, 0], \"USD\": [\"$\"], \"UYI\": [undefined, undefined, 0], \"UYU\": [undefined, \"$\"], \"UYW\": [undefined, undefined, 4], \"UZS\": [undefined, undefined, 2], \"VEF\": [undefined, \"Bs\", 2], \"VND\": [\"₫\", undefined, 0], \"VUV\": [undefined, undefined, 0], \"XAF\": [\"FCFA\", undefined, 0], \"XCD\": [\"EC$\", \"$\"], \"XOF\": [\"F CFA\", undefined, 0], \"XPF\": [\"CFPF\", undefined, 0], \"XXX\": [\"¤\"], \"YER\": [undefined, undefined, 0], \"ZAR\": [undefined, \"R\"], \"ZMK\": [undefined, undefined, 0], \"ZMW\": [undefined, \"ZK\"], \"ZWD\": [undefined, undefined, 0] };\n\n/**\n * Format styles that can be used to represent numbers.\n * @see `getLocaleNumberFormat()`.\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nvar NumberFormatStyle;\n(function (NumberFormatStyle) {\n NumberFormatStyle[NumberFormatStyle[\"Decimal\"] = 0] = \"Decimal\";\n NumberFormatStyle[NumberFormatStyle[\"Percent\"] = 1] = \"Percent\";\n NumberFormatStyle[NumberFormatStyle[\"Currency\"] = 2] = \"Currency\";\n NumberFormatStyle[NumberFormatStyle[\"Scientific\"] = 3] = \"Scientific\";\n})(NumberFormatStyle || (NumberFormatStyle = {}));\n/**\n * Plurality cases used for translating plurals to different languages.\n *\n * @see `NgPlural`\n * @see `NgPluralCase`\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nvar Plural;\n(function (Plural) {\n Plural[Plural[\"Zero\"] = 0] = \"Zero\";\n Plural[Plural[\"One\"] = 1] = \"One\";\n Plural[Plural[\"Two\"] = 2] = \"Two\";\n Plural[Plural[\"Few\"] = 3] = \"Few\";\n Plural[Plural[\"Many\"] = 4] = \"Many\";\n Plural[Plural[\"Other\"] = 5] = \"Other\";\n})(Plural || (Plural = {}));\n/**\n * Context-dependant translation forms for strings.\n * Typically the standalone version is for the nominative form of the word,\n * and the format version is used for the genitive case.\n * @see [CLDR website](http://cldr.unicode.org/translation/date-time-1/date-time#TOC-Standalone-vs.-Format-Styles)\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nvar FormStyle;\n(function (FormStyle) {\n FormStyle[FormStyle[\"Format\"] = 0] = \"Format\";\n FormStyle[FormStyle[\"Standalone\"] = 1] = \"Standalone\";\n})(FormStyle || (FormStyle = {}));\n/**\n * String widths available for translations.\n * The specific character widths are locale-specific.\n * Examples are given for the word \"Sunday\" in English.\n *\n * @publicApi\n */\nvar TranslationWidth;\n(function (TranslationWidth) {\n /** 1 character for `en-US`. For example: 'S' */\n TranslationWidth[TranslationWidth[\"Narrow\"] = 0] = \"Narrow\";\n /** 3 characters for `en-US`. For example: 'Sun' */\n TranslationWidth[TranslationWidth[\"Abbreviated\"] = 1] = \"Abbreviated\";\n /** Full length for `en-US`. For example: \"Sunday\" */\n TranslationWidth[TranslationWidth[\"Wide\"] = 2] = \"Wide\";\n /** 2 characters for `en-US`, For example: \"Su\" */\n TranslationWidth[TranslationWidth[\"Short\"] = 3] = \"Short\";\n})(TranslationWidth || (TranslationWidth = {}));\n/**\n * String widths available for date-time formats.\n * The specific character widths are locale-specific.\n * Examples are given for `en-US`.\n *\n * @see `getLocaleDateFormat()`\n * @see `getLocaleTimeFormat()`\n * @see `getLocaleDateTimeFormat()`\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n * @publicApi\n */\nvar FormatWidth;\n(function (FormatWidth) {\n /**\n * For `en-US`, 'M/d/yy, h:mm a'`\n * (Example: `6/15/15, 9:03 AM`)\n */\n FormatWidth[FormatWidth[\"Short\"] = 0] = \"Short\";\n /**\n * For `en-US`, `'MMM d, y, h:mm:ss a'`\n * (Example: `Jun 15, 2015, 9:03:01 AM`)\n */\n FormatWidth[FormatWidth[\"Medium\"] = 1] = \"Medium\";\n /**\n * For `en-US`, `'MMMM d, y, h:mm:ss a z'`\n * (Example: `June 15, 2015 at 9:03:01 AM GMT+1`)\n */\n FormatWidth[FormatWidth[\"Long\"] = 2] = \"Long\";\n /**\n * For `en-US`, `'EEEE, MMMM d, y, h:mm:ss a zzzz'`\n * (Example: `Monday, June 15, 2015 at 9:03:01 AM GMT+01:00`)\n */\n FormatWidth[FormatWidth[\"Full\"] = 3] = \"Full\";\n})(FormatWidth || (FormatWidth = {}));\n/**\n * Symbols that can be used to replace placeholders in number patterns.\n * Examples are based on `en-US` values.\n *\n * @see `getLocaleNumberSymbol()`\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nvar NumberSymbol;\n(function (NumberSymbol) {\n /**\n * Decimal separator.\n * For `en-US`, the dot character.\n * Example: 2,345`.`67\n */\n NumberSymbol[NumberSymbol[\"Decimal\"] = 0] = \"Decimal\";\n /**\n * Grouping separator, typically for thousands.\n * For `en-US`, the comma character.\n * Example: 2`,`345.67\n */\n NumberSymbol[NumberSymbol[\"Group\"] = 1] = \"Group\";\n /**\n * List-item separator.\n * Example: \"one, two, and three\"\n */\n NumberSymbol[NumberSymbol[\"List\"] = 2] = \"List\";\n /**\n * Sign for percentage (out of 100).\n * Example: 23.4%\n */\n NumberSymbol[NumberSymbol[\"PercentSign\"] = 3] = \"PercentSign\";\n /**\n * Sign for positive numbers.\n * Example: +23\n */\n NumberSymbol[NumberSymbol[\"PlusSign\"] = 4] = \"PlusSign\";\n /**\n * Sign for negative numbers.\n * Example: -23\n */\n NumberSymbol[NumberSymbol[\"MinusSign\"] = 5] = \"MinusSign\";\n /**\n * Computer notation for exponential value (n times a power of 10).\n * Example: 1.2E3\n */\n NumberSymbol[NumberSymbol[\"Exponential\"] = 6] = \"Exponential\";\n /**\n * Human-readable format of exponential.\n * Example: 1.2x103\n */\n NumberSymbol[NumberSymbol[\"SuperscriptingExponent\"] = 7] = \"SuperscriptingExponent\";\n /**\n * Sign for permille (out of 1000).\n * Example: 23.4‰\n */\n NumberSymbol[NumberSymbol[\"PerMille\"] = 8] = \"PerMille\";\n /**\n * Infinity, can be used with plus and minus.\n * Example: ∞, +∞, -∞\n */\n NumberSymbol[NumberSymbol[\"Infinity\"] = 9] = \"Infinity\";\n /**\n * Not a number.\n * Example: NaN\n */\n NumberSymbol[NumberSymbol[\"NaN\"] = 10] = \"NaN\";\n /**\n * Symbol used between time units.\n * Example: 10:52\n */\n NumberSymbol[NumberSymbol[\"TimeSeparator\"] = 11] = \"TimeSeparator\";\n /**\n * Decimal separator for currency values (fallback to `Decimal`).\n * Example: $2,345.67\n */\n NumberSymbol[NumberSymbol[\"CurrencyDecimal\"] = 12] = \"CurrencyDecimal\";\n /**\n * Group separator for currency values (fallback to `Group`).\n * Example: $2,345.67\n */\n NumberSymbol[NumberSymbol[\"CurrencyGroup\"] = 13] = \"CurrencyGroup\";\n})(NumberSymbol || (NumberSymbol = {}));\n/**\n * The value for each day of the week, based on the `en-US` locale\n *\n * @publicApi\n */\nvar WeekDay;\n(function (WeekDay) {\n WeekDay[WeekDay[\"Sunday\"] = 0] = \"Sunday\";\n WeekDay[WeekDay[\"Monday\"] = 1] = \"Monday\";\n WeekDay[WeekDay[\"Tuesday\"] = 2] = \"Tuesday\";\n WeekDay[WeekDay[\"Wednesday\"] = 3] = \"Wednesday\";\n WeekDay[WeekDay[\"Thursday\"] = 4] = \"Thursday\";\n WeekDay[WeekDay[\"Friday\"] = 5] = \"Friday\";\n WeekDay[WeekDay[\"Saturday\"] = 6] = \"Saturday\";\n})(WeekDay || (WeekDay = {}));\n/**\n * Retrieves the locale ID from the currently loaded locale.\n * The loaded locale could be, for example, a global one rather than a regional one.\n * @param locale A locale code, such as `fr-FR`.\n * @returns The locale code. For example, `fr`.\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleId(locale) {\n return ɵfindLocaleData(locale)[ɵLocaleDataIndex.LocaleId];\n}\n/**\n * Retrieves day period strings for the given locale.\n *\n * @param locale A locale code for the locale format rules to use.\n * @param formStyle The required grammatical form.\n * @param width The required character width.\n * @returns An array of localized period strings. For example, `[AM, PM]` for `en-US`.\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleDayPeriods(locale, formStyle, width) {\n const data = ɵfindLocaleData(locale);\n const amPmData = [\n data[ɵLocaleDataIndex.DayPeriodsFormat], data[ɵLocaleDataIndex.DayPeriodsStandalone]\n ];\n const amPm = getLastDefinedValue(amPmData, formStyle);\n return getLastDefinedValue(amPm, width);\n}\n/**\n * Retrieves days of the week for the given locale, using the Gregorian calendar.\n *\n * @param locale A locale code for the locale format rules to use.\n * @param formStyle The required grammatical form.\n * @param width The required character width.\n * @returns An array of localized name strings.\n * For example,`[Sunday, Monday, ... Saturday]` for `en-US`.\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleDayNames(locale, formStyle, width) {\n const data = ɵfindLocaleData(locale);\n const daysData = [data[ɵLocaleDataIndex.DaysFormat], data[ɵLocaleDataIndex.DaysStandalone]];\n const days = getLastDefinedValue(daysData, formStyle);\n return getLastDefinedValue(days, width);\n}\n/**\n * Retrieves months of the year for the given locale, using the Gregorian calendar.\n *\n * @param locale A locale code for the locale format rules to use.\n * @param formStyle The required grammatical form.\n * @param width The required character width.\n * @returns An array of localized name strings.\n * For example, `[January, February, ...]` for `en-US`.\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleMonthNames(locale, formStyle, width) {\n const data = ɵfindLocaleData(locale);\n const monthsData = [data[ɵLocaleDataIndex.MonthsFormat], data[ɵLocaleDataIndex.MonthsStandalone]];\n const months = getLastDefinedValue(monthsData, formStyle);\n return getLastDefinedValue(months, width);\n}\n/**\n * Retrieves Gregorian-calendar eras for the given locale.\n * @param locale A locale code for the locale format rules to use.\n * @param width The required character width.\n\n * @returns An array of localized era strings.\n * For example, `[AD, BC]` for `en-US`.\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleEraNames(locale, width) {\n const data = ɵfindLocaleData(locale);\n const erasData = data[ɵLocaleDataIndex.Eras];\n return getLastDefinedValue(erasData, width);\n}\n/**\n * Retrieves the first day of the week for the given locale.\n *\n * @param locale A locale code for the locale format rules to use.\n * @returns A day index number, using the 0-based week-day index for `en-US`\n * (Sunday = 0, Monday = 1, ...).\n * For example, for `fr-FR`, returns 1 to indicate that the first day is Monday.\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleFirstDayOfWeek(locale) {\n const data = ɵfindLocaleData(locale);\n return data[ɵLocaleDataIndex.FirstDayOfWeek];\n}\n/**\n * Range of week days that are considered the week-end for the given locale.\n *\n * @param locale A locale code for the locale format rules to use.\n * @returns The range of day values, `[startDay, endDay]`.\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleWeekEndRange(locale) {\n const data = ɵfindLocaleData(locale);\n return data[ɵLocaleDataIndex.WeekendRange];\n}\n/**\n * Retrieves a localized date-value formatting string.\n *\n * @param locale A locale code for the locale format rules to use.\n * @param width The format type.\n * @returns The localized formatting string.\n * @see `FormatWidth`\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleDateFormat(locale, width) {\n const data = ɵfindLocaleData(locale);\n return getLastDefinedValue(data[ɵLocaleDataIndex.DateFormat], width);\n}\n/**\n * Retrieves a localized time-value formatting string.\n *\n * @param locale A locale code for the locale format rules to use.\n * @param width The format type.\n * @returns The localized formatting string.\n * @see `FormatWidth`\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n\n * @publicApi\n */\nfunction getLocaleTimeFormat(locale, width) {\n const data = ɵfindLocaleData(locale);\n return getLastDefinedValue(data[ɵLocaleDataIndex.TimeFormat], width);\n}\n/**\n * Retrieves a localized date-time formatting string.\n *\n * @param locale A locale code for the locale format rules to use.\n * @param width The format type.\n * @returns The localized formatting string.\n * @see `FormatWidth`\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleDateTimeFormat(locale, width) {\n const data = ɵfindLocaleData(locale);\n const dateTimeFormatData = data[ɵLocaleDataIndex.DateTimeFormat];\n return getLastDefinedValue(dateTimeFormatData, width);\n}\n/**\n * Retrieves a localized number symbol that can be used to replace placeholders in number formats.\n * @param locale The locale code.\n * @param symbol The symbol to localize.\n * @returns The character for the localized symbol.\n * @see `NumberSymbol`\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleNumberSymbol(locale, symbol) {\n const data = ɵfindLocaleData(locale);\n const res = data[ɵLocaleDataIndex.NumberSymbols][symbol];\n if (typeof res === 'undefined') {\n if (symbol === NumberSymbol.CurrencyDecimal) {\n return data[ɵLocaleDataIndex.NumberSymbols][NumberSymbol.Decimal];\n }\n else if (symbol === NumberSymbol.CurrencyGroup) {\n return data[ɵLocaleDataIndex.NumberSymbols][NumberSymbol.Group];\n }\n }\n return res;\n}\n/**\n * Retrieves a number format for a given locale.\n *\n * Numbers are formatted using patterns, like `#,###.00`. For example, the pattern `#,###.00`\n * when used to format the number 12345.678 could result in \"12'345,678\". That would happen if the\n * grouping separator for your language is an apostrophe, and the decimal separator is a comma.\n *\n * <b>Important:</b> The characters `.` `,` `0` `#` (and others below) are special placeholders\n * that stand for the decimal separator, and so on, and are NOT real characters.\n * You must NOT \"translate\" the placeholders. For example, don't change `.` to `,` even though in\n * your language the decimal point is written with a comma. The symbols should be replaced by the\n * local equivalents, using the appropriate `NumberSymbol` for your language.\n *\n * Here are the special characters used in number patterns:\n *\n * | Symbol | Meaning |\n * |--------|---------|\n * | . | Replaced automatically by the character used for the decimal point. |\n * | , | Replaced by the \"grouping\" (thousands) separator. |\n * | 0 | Replaced by a digit (or zero if there aren't enough digits). |\n * | # | Replaced by a digit (or nothing if there aren't enough). |\n * | ¤ | Replaced by a currency symbol, such as $ or USD. |\n * | % | Marks a percent format. The % symbol may change position, but must be retained. |\n * | E | Marks a scientific format. The E symbol may change position, but must be retained. |\n * | ' | Special characters used as literal characters are quoted with ASCII single quotes. |\n *\n * @param locale A locale code for the locale format rules to use.\n * @param type The type of numeric value to be formatted (such as `Decimal` or `Currency`.)\n * @returns The localized format string.\n * @see `NumberFormatStyle`\n * @see [CLDR website](http://cldr.unicode.org/translation/number-patterns)\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleNumberFormat(locale, type) {\n const data = ɵfindLocaleData(locale);\n return data[ɵLocaleDataIndex.NumberFormats][type];\n}\n/**\n * Retrieves the symbol used to represent the currency for the main country\n * corresponding to a given locale. For example, '$' for `en-US`.\n *\n * @param locale A locale code for the locale format rules to use.\n * @returns The localized symbol character,\n * or `null` if the main country cannot be determined.\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleCurrencySymbol(locale) {\n const data = ɵfindLocaleData(locale);\n return data[ɵLocaleDataIndex.CurrencySymbol] || null;\n}\n/**\n * Retrieves the name of the currency for the main country corresponding\n * to a given locale. For example, 'US Dollar' for `en-US`.\n * @param locale A locale code for the locale format rules to use.\n * @returns The currency name,\n * or `null` if the main country cannot be determined.\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleCurrencyName(locale) {\n const data = ɵfindLocaleData(locale);\n return data[ɵLocaleDataIndex.CurrencyName] || null;\n}\n/**\n * Retrieves the default currency code for the given locale.\n *\n * The default is defined as the first currency which is still in use.\n *\n * @param locale The code of the locale whose currency code we want.\n * @returns The code of the default currency for the given locale.\n *\n * @publicApi\n */\nfunction getLocaleCurrencyCode(locale) {\n return ɵgetLocaleCurrencyCode(locale);\n}\n/**\n * Retrieves the currency values for a given locale.\n * @param locale A locale code for the locale format rules to use.\n * @returns The currency values.\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n */\nfunction getLocaleCurrencies(locale) {\n const data = ɵfindLocaleData(locale);\n return data[ɵLocaleDataIndex.Currencies];\n}\n/**\n * @alias core/ɵgetLocalePluralCase\n * @publicApi\n */\nconst getLocalePluralCase = ɵgetLocalePluralCase;\nfunction checkFullData(data) {\n if (!data[ɵLocaleDataIndex.ExtraData]) {\n throw new Error(`Missing extra locale data for the locale \"${data[ɵLocaleDataIndex\n .LocaleId]}\". Use \"registerLocaleData\" to load new data. See the \"I18n guide\" on angular.io to know more.`);\n }\n}\n/**\n * Retrieves locale-specific rules used to determine which day period to use\n * when more than one period is defined for a locale.\n *\n * There is a rule for each defined day period. The\n * first rule is applied to the first day period and so on.\n * Fall back to AM/PM when no rules are available.\n *\n * A rule can specify a period as time range, or as a single time value.\n *\n * This functionality is only available when you have loaded the full locale data.\n * See the [\"I18n guide\"](guide/i18n-common-format-data-locale).\n *\n * @param locale A locale code for the locale format rules to use.\n * @returns The rules for the locale, a single time value or array of *from-time, to-time*,\n * or null if no periods are available.\n *\n * @see `getLocaleExtraDayPeriods()`\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleExtraDayPeriodRules(locale) {\n const data = ɵfindLocaleData(locale);\n checkFullData(data);\n const rules = data[ɵLocaleDataIndex.ExtraData][2 /* ɵExtraLocaleDataIndex.ExtraDayPeriodsRules */] || [];\n return rules.map((rule) => {\n if (typeof rule === 'string') {\n return extractTime(rule);\n }\n return [extractTime(rule[0]), extractTime(rule[1])];\n });\n}\n/**\n * Retrieves locale-specific day periods, which indicate roughly how a day is broken up\n * in different languages.\n * For example, for `en-US`, periods are morning, noon, afternoon, evening, and midnight.\n *\n * This functionality is only available when you have loaded the full locale data.\n * See the [\"I18n guide\"](guide/i18n-common-format-data-locale).\n *\n * @param locale A locale code for the locale format rules to use.\n * @param formStyle The required grammatical form.\n * @param width The required character width.\n * @returns The translated day-period strings.\n * @see `getLocaleExtraDayPeriodRules()`\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleExtraDayPeriods(locale, formStyle, width) {\n const data = ɵfindLocaleData(locale);\n checkFullData(data);\n const dayPeriodsData = [\n data[ɵLocaleDataIndex.ExtraData][0 /* ɵExtraLocaleDataIndex.ExtraDayPeriodFormats */],\n data[ɵLocaleDataIndex.ExtraData][1 /* ɵExtraLocaleDataIndex.ExtraDayPeriodStandalone */]\n ];\n const dayPeriods = getLastDefinedValue(dayPeriodsData, formStyle) || [];\n return getLastDefinedValue(dayPeriods, width) || [];\n}\n/**\n * Retrieves the writing direction of a specified locale\n * @param locale A locale code for the locale format rules to use.\n * @publicApi\n * @returns 'rtl' or 'ltr'\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n */\nfunction getLocaleDirection(locale) {\n const data = ɵfindLocaleData(locale);\n return data[ɵLocaleDataIndex.Directionality];\n}\n/**\n * Retrieves the first value that is defined in an array, going backwards from an index position.\n *\n * To avoid repeating the same data (as when the \"format\" and \"standalone\" forms are the same)\n * add the first value to the locale data arrays, and add other values only if they are different.\n *\n * @param data The data array to retrieve from.\n * @param index A 0-based index into the array to start from.\n * @returns The value immediately before the given index position.\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLastDefinedValue(data, index) {\n for (let i = index; i > -1; i--) {\n if (typeof data[i] !== 'undefined') {\n return data[i];\n }\n }\n throw new Error('Locale data API: locale data undefined');\n}\n/**\n * Extracts the hours and minutes from a string like \"15:45\"\n */\nfunction extractTime(time) {\n const [h, m] = time.split(':');\n return { hours: +h, minutes: +m };\n}\n/**\n * Retrieves the currency symbol for a given currency code.\n *\n * For example, for the default `en-US` locale, the code `USD` can\n * be represented by the narrow symbol `$` or the wide symbol `US$`.\n *\n * @param code The currency code.\n * @param format The format, `wide` or `narrow`.\n * @param locale A locale code for the locale format rules to use.\n *\n * @returns The symbol, or the currency code if no symbol is available.\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getCurrencySymbol(code, format, locale = 'en') {\n const currency = getLocaleCurrencies(locale)[code] || CURRENCIES_EN[code] || [];\n const symbolNarrow = currency[1 /* ɵCurrencyIndex.SymbolNarrow */];\n if (format === 'narrow' && typeof symbolNarrow === 'string') {\n return symbolNarrow;\n }\n return currency[0 /* ɵCurrencyIndex.Symbol */] || code;\n}\n// Most currencies have cents, that's why the default is 2\nconst DEFAULT_NB_OF_CURRENCY_DIGITS = 2;\n/**\n * Reports the number of decimal digits for a given currency.\n * The value depends upon the presence of cents in that particular currency.\n *\n * @param code The currency code.\n * @returns The number of decimal digits, typically 0 or 2.\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getNumberOfCurrencyDigits(code) {\n let digits;\n const currency = CURRENCIES_EN[code];\n if (currency) {\n digits = currency[2 /* ɵCurrencyIndex.NbOfDigits */];\n }\n return typeof digits === 'number' ? digits : DEFAULT_NB_OF_CURRENCY_DIGITS;\n}\n\nconst ISO8601_DATE_REGEX = /^(\\d{4,})-?(\\d\\d)-?(\\d\\d)(?:T(\\d\\d)(?::?(\\d\\d)(?::?(\\d\\d)(?:\\.(\\d+))?)?)?(Z|([+-])(\\d\\d):?(\\d\\d))?)?$/;\n// 1 2 3 4 5 6 7 8 9 10 11\nconst NAMED_FORMATS = {};\nconst DATE_FORMATS_SPLIT = /((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\\s\\S]*)/;\nvar ZoneWidth;\n(function (ZoneWidth) {\n ZoneWidth[ZoneWidth[\"Short\"] = 0] = \"Short\";\n ZoneWidth[ZoneWidth[\"ShortGMT\"] = 1] = \"ShortGMT\";\n ZoneWidth[ZoneWidth[\"Long\"] = 2] = \"Long\";\n ZoneWidth[ZoneWidth[\"Extended\"] = 3] = \"Extended\";\n})(ZoneWidth || (ZoneWidth = {}));\nvar DateType;\n(function (DateType) {\n DateType[DateType[\"FullYear\"] = 0] = \"FullYear\";\n DateType[DateType[\"Month\"] = 1] = \"Month\";\n DateType[DateType[\"Date\"] = 2] = \"Date\";\n DateType[DateType[\"Hours\"] = 3] = \"Hours\";\n DateType[DateType[\"Minutes\"] = 4] = \"Minutes\";\n DateType[DateType[\"Seconds\"] = 5] = \"Seconds\";\n DateType[DateType[\"FractionalSeconds\"] = 6] = \"FractionalSeconds\";\n DateType[DateType[\"Day\"] = 7] = \"Day\";\n})(DateType || (DateType = {}));\nvar TranslationType;\n(function (TranslationType) {\n TranslationType[TranslationType[\"DayPeriods\"] = 0] = \"DayPeriods\";\n TranslationType[TranslationType[\"Days\"] = 1] = \"Days\";\n TranslationType[TranslationType[\"Months\"] = 2] = \"Months\";\n TranslationType[TranslationType[\"Eras\"] = 3] = \"Eras\";\n})(TranslationType || (TranslationType = {}));\n/**\n * @ngModule CommonModule\n * @description\n *\n * Formats a date according to locale rules.\n *\n * @param value The date to format, as a Date, or a number (milliseconds since UTC epoch)\n * or an [ISO date-time string](https://www.w3.org/TR/NOTE-datetime).\n * @param format The date-time components to include. See `DatePipe` for details.\n * @param locale A locale code for the locale format rules to use.\n * @param timezone The time zone. A time zone offset from GMT (such as `'+0430'`),\n * or a standard UTC/GMT or continental US time zone abbreviation.\n * If not specified, uses host system settings.\n *\n * @returns The formatted date string.\n *\n * @see `DatePipe`\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction formatDate(value, format, locale, timezone) {\n let date = toDate(value);\n const namedFormat = getNamedFormat(locale, format);\n format = namedFormat || format;\n let parts = [];\n let match;\n while (format) {\n match = DATE_FORMATS_SPLIT.exec(format);\n if (match) {\n parts = parts.concat(match.slice(1));\n const part = parts.pop();\n if (!part) {\n break;\n }\n format = part;\n }\n else {\n parts.push(format);\n break;\n }\n }\n let dateTimezoneOffset = date.getTimezoneOffset();\n if (timezone) {\n dateTimezoneOffset = timezoneToOffset(timezone, dateTimezoneOffset);\n date = convertTimezoneToLocal(date, timezone, true);\n }\n let text = '';\n parts.forEach(value => {\n const dateFormatter = getDateFormatter(value);\n text += dateFormatter ? dateFormatter(date, locale, dateTimezoneOffset) :\n value === '\\'\\'' ? '\\'' :\n value.replace(/(^'|'$)/g, '').replace(/''/g, '\\'');\n });\n return text;\n}\n/**\n * Create a new Date object with the given date value, and the time set to midnight.\n *\n * We cannot use `new Date(year, month, date)` because it maps years between 0 and 99 to 1900-1999.\n * See: https://github.com/angular/angular/issues/40377\n *\n * Note that this function returns a Date object whose time is midnight in the current locale's\n * timezone. In the future we might want to change this to be midnight in UTC, but this would be a\n * considerable breaking change.\n */\nfunction createDate(year, month, date) {\n // The `newDate` is set to midnight (UTC) on January 1st 1970.\n // - In PST this will be December 31st 1969 at 4pm.\n // - In GMT this will be January 1st 1970 at 1am.\n // Note that they even have different years, dates and months!\n const newDate = new Date(0);\n // `setFullYear()` allows years like 0001 to be set correctly. This function does not\n // change the internal time of the date.\n // Consider calling `setFullYear(2019, 8, 20)` (September 20, 2019).\n // - In PST this will now be September 20, 2019 at 4pm\n // - In GMT this will now be September 20, 2019 at 1am\n newDate.setFullYear(year, month, date);\n // We want the final date to be at local midnight, so we reset the time.\n // - In PST this will now be September 20, 2019 at 12am\n // - In GMT this will now be September 20, 2019 at 12am\n newDate.setHours(0, 0, 0);\n return newDate;\n}\nfunction getNamedFormat(locale, format) {\n const localeId = getLocaleId(locale);\n NAMED_FORMATS[localeId] = NAMED_FORMATS[localeId] || {};\n if (NAMED_FORMATS[localeId][format]) {\n return NAMED_FORMATS[localeId][format];\n }\n let formatValue = '';\n switch (format) {\n case 'shortDate':\n formatValue = getLocaleDateFormat(locale, FormatWidth.Short);\n break;\n case 'mediumDate':\n formatValue = getLocaleDateFormat(locale, FormatWidth.Medium);\n break;\n case 'longDate':\n formatValue = getLocaleDateFormat(locale, FormatWidth.Long);\n break;\n case 'fullDate':\n formatValue = getLocaleDateFormat(locale, FormatWidth.Full);\n break;\n case 'shortTime':\n formatValue = getLocaleTimeFormat(locale, FormatWidth.Short);\n break;\n case 'mediumTime':\n formatValue = getLocaleTimeFormat(locale, FormatWidth.Medium);\n break;\n case 'longTime':\n formatValue = getLocaleTimeFormat(locale, FormatWidth.Long);\n break;\n case 'fullTime':\n formatValue = getLocaleTimeFormat(locale, FormatWidth.Full);\n break;\n case 'short':\n const shortTime = getNamedFormat(locale, 'shortTime');\n const shortDate = getNamedFormat(locale, 'shortDate');\n formatValue = formatDateTime(getLocaleDateTimeFormat(locale, FormatWidth.Short), [shortTime, shortDate]);\n break;\n case 'medium':\n const mediumTime = getNamedFormat(locale, 'mediumTime');\n const mediumDate = getNamedFormat(locale, 'mediumDate');\n formatValue = formatDateTime(getLocaleDateTimeFormat(locale, FormatWidth.Medium), [mediumTime, mediumDate]);\n break;\n case 'long':\n const longTime = getNamedFormat(locale, 'longTime');\n const longDate = getNamedFormat(locale, 'longDate');\n formatValue =\n formatDateTime(getLocaleDateTimeFormat(locale, FormatWidth.Long), [longTime, longDate]);\n break;\n case 'full':\n const fullTime = getNamedFormat(locale, 'fullTime');\n const fullDate = getNamedFormat(locale, 'fullDate');\n formatValue =\n formatDateTime(getLocaleDateTimeFormat(locale, FormatWidth.Full), [fullTime, fullDate]);\n break;\n }\n if (formatValue) {\n NAMED_FORMATS[localeId][format] = formatValue;\n }\n return formatValue;\n}\nfunction formatDateTime(str, opt_values) {\n if (opt_values) {\n str = str.replace(/\\{([^}]+)}/g, function (match, key) {\n return (opt_values != null && key in opt_values) ? opt_values[key] : match;\n });\n }\n return str;\n}\nfunction padNumber(num, digits, minusSign = '-', trim, negWrap) {\n let neg = '';\n if (num < 0 || (negWrap && num <= 0)) {\n if (negWrap) {\n num = -num + 1;\n }\n else {\n num = -num;\n neg = minusSign;\n }\n }\n let strNum = String(num);\n while (strNum.length < digits) {\n strNum = '0' + strNum;\n }\n if (trim) {\n strNum = strNum.slice(strNum.length - digits);\n }\n return neg + strNum;\n}\nfunction formatFractionalSeconds(milliseconds, digits) {\n const strMs = padNumber(milliseconds, 3);\n return strMs.substring(0, digits);\n}\n/**\n * Returns a date formatter that transforms a date into its locale digit representation\n */\nfunction dateGetter(name, size, offset = 0, trim = false, negWrap = false) {\n return function (date, locale) {\n let part = getDatePart(name, date);\n if (offset > 0 || part > -offset) {\n part += offset;\n }\n if (name === DateType.Hours) {\n if (part === 0 && offset === -12) {\n part = 12;\n }\n }\n else if (name === DateType.FractionalSeconds) {\n return formatFractionalSeconds(part, size);\n }\n const localeMinus = getLocaleNumberSymbol(locale, NumberSymbol.MinusSign);\n return padNumber(part, size, localeMinus, trim, negWrap);\n };\n}\nfunction getDatePart(part, date) {\n switch (part) {\n case DateType.FullYear:\n return date.getFullYear();\n case DateType.Month:\n return date.getMonth();\n case DateType.Date:\n return date.getDate();\n case DateType.Hours:\n return date.getHours();\n case DateType.Minutes:\n return date.getMinutes();\n case DateType.Seconds:\n return date.getSeconds();\n case DateType.FractionalSeconds:\n return date.getMilliseconds();\n case DateType.Day:\n return date.getDay();\n default:\n throw new Error(`Unknown DateType value \"${part}\".`);\n }\n}\n/**\n * Returns a date formatter that transforms a date into its locale string representation\n */\nfunction dateStrGetter(name, width, form = FormStyle.Format, extended = false) {\n return function (date, locale) {\n return getDateTranslation(date, locale, name, width, form, extended);\n };\n}\n/**\n * Returns the locale translation of a date for a given form, type and width\n */\nfunction getDateTranslation(date, locale, name, width, form, extended) {\n switch (name) {\n case TranslationType.Months:\n return getLocaleMonthNames(locale, form, width)[date.getMonth()];\n case TranslationType.Days:\n return getLocaleDayNames(locale, form, width)[date.getDay()];\n case TranslationType.DayPeriods:\n const currentHours = date.getHours();\n const currentMinutes = date.getMinutes();\n if (extended) {\n const rules = getLocaleExtraDayPeriodRules(locale);\n const dayPeriods = getLocaleExtraDayPeriods(locale, form, width);\n const index = rules.findIndex(rule => {\n if (Array.isArray(rule)) {\n // morning, afternoon, evening, night\n const [from, to] = rule;\n const afterFrom = currentHours >= from.hours && currentMinutes >= from.minutes;\n const beforeTo = (currentHours < to.hours ||\n (currentHours === to.hours && currentMinutes < to.minutes));\n // We must account for normal rules that span a period during the day (e.g. 6am-9am)\n // where `from` is less (earlier) than `to`. But also rules that span midnight (e.g.\n // 10pm - 5am) where `from` is greater (later!) than `to`.\n //\n // In the first case the current time must be BOTH after `from` AND before `to`\n // (e.g. 8am is after 6am AND before 10am).\n //\n // In the second case the current time must be EITHER after `from` OR before `to`\n // (e.g. 4am is before 5am but not after 10pm; and 11pm is not before 5am but it is\n // after 10pm).\n if (from.hours < to.hours) {\n if (afterFrom && beforeTo) {\n return true;\n }\n }\n else if (afterFrom || beforeTo) {\n return true;\n }\n }\n else { // noon or midnight\n if (rule.hours === currentHours && rule.minutes === currentMinutes) {\n return true;\n }\n }\n return false;\n });\n if (index !== -1) {\n return dayPeriods[index];\n }\n }\n // if no rules for the day periods, we use am/pm by default\n return getLocaleDayPeriods(locale, form, width)[currentHours < 12 ? 0 : 1];\n case TranslationType.Eras:\n return getLocaleEraNames(locale, width)[date.getFullYear() <= 0 ? 0 : 1];\n default:\n // This default case is not needed by TypeScript compiler, as the switch is exhaustive.\n // However Closure Compiler does not understand that and reports an error in typed mode.\n // The `throw new Error` below works around the problem, and the unexpected: never variable\n // makes sure tsc still checks this code is unreachable.\n const unexpected = name;\n throw new Error(`unexpected translation type ${unexpected}`);\n }\n}\n/**\n * Returns a date formatter that transforms a date and an offset into a timezone with ISO8601 or\n * GMT format depending on the width (eg: short = +0430, short:GMT = GMT+4, long = GMT+04:30,\n * extended = +04:30)\n */\nfunction timeZoneGetter(width) {\n return function (date, locale, offset) {\n const zone = -1 * offset;\n const minusSign = getLocaleNumberSymbol(locale, NumberSymbol.MinusSign);\n const hours = zone > 0 ? Math.floor(zone / 60) : Math.ceil(zone / 60);\n switch (width) {\n case ZoneWidth.Short:\n return ((zone >= 0) ? '+' : '') + padNumber(hours, 2, minusSign) +\n padNumber(Math.abs(zone % 60), 2, minusSign);\n case ZoneWidth.ShortGMT:\n return 'GMT' + ((zone >= 0) ? '+' : '') + padNumber(hours, 1, minusSign);\n case ZoneWidth.Long:\n return 'GMT' + ((zone >= 0) ? '+' : '') + padNumber(hours, 2, minusSign) + ':' +\n padNumber(Math.abs(zone % 60), 2, minusSign);\n case ZoneWidth.Extended:\n if (offset === 0) {\n return 'Z';\n }\n else {\n return ((zone >= 0) ? '+' : '') + padNumber(hours, 2, minusSign) + ':' +\n padNumber(Math.abs(zone % 60), 2, minusSign);\n }\n default:\n throw new Error(`Unknown zone width \"${width}\"`);\n }\n };\n}\nconst JANUARY = 0;\nconst THURSDAY = 4;\nfunction getFirstThursdayOfYear(year) {\n const firstDayOfYear = createDate(year, JANUARY, 1).getDay();\n return createDate(year, 0, 1 + ((firstDayOfYear <= THURSDAY) ? THURSDAY : THURSDAY + 7) - firstDayOfYear);\n}\nfunction getThursdayThisWeek(datetime) {\n return createDate(datetime.getFullYear(), datetime.getMonth(), datetime.getDate() + (THURSDAY - datetime.getDay()));\n}\nfunction weekGetter(size, monthBased = false) {\n return function (date, locale) {\n let result;\n if (monthBased) {\n const nbDaysBefore1stDayOfMonth = new Date(date.getFullYear(), date.getMonth(), 1).getDay() - 1;\n const today = date.getDate();\n result = 1 + Math.floor((today + nbDaysBefore1stDayOfMonth) / 7);\n }\n else {\n const thisThurs = getThursdayThisWeek(date);\n // Some days of a year are part of next year according to ISO 8601.\n // Compute the firstThurs from the year of this week's Thursday\n const firstThurs = getFirstThursdayOfYear(thisThurs.getFullYear());\n const diff = thisThurs.getTime() - firstThurs.getTime();\n result = 1 + Math.round(diff / 6.048e8); // 6.048e8 ms per week\n }\n return padNumber(result, size, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign));\n };\n}\n/**\n * Returns a date formatter that provides the week-numbering year for the input date.\n */\nfunction weekNumberingYearGetter(size, trim = false) {\n return function (date, locale) {\n const thisThurs = getThursdayThisWeek(date);\n const weekNumberingYear = thisThurs.getFullYear();\n return padNumber(weekNumberingYear, size, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign), trim);\n };\n}\nconst DATE_FORMATS = {};\n// Based on CLDR formats:\n// See complete list: http://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table\n// See also explanations: http://cldr.unicode.org/translation/date-time\n// TODO(ocombe): support all missing cldr formats: U, Q, D, F, e, j, J, C, A, v, V, X, x\nfunction getDateFormatter(format) {\n if (DATE_FORMATS[format]) {\n return DATE_FORMATS[format];\n }\n let formatter;\n switch (format) {\n // Era name (AD/BC)\n case 'G':\n case 'GG':\n case 'GGG':\n formatter = dateStrGetter(TranslationType.Eras, TranslationWidth.Abbreviated);\n break;\n case 'GGGG':\n formatter = dateStrGetter(TranslationType.Eras, TranslationWidth.Wide);\n break;\n case 'GGGGG':\n formatter = dateStrGetter(TranslationType.Eras, TranslationWidth.Narrow);\n break;\n // 1 digit representation of the year, e.g. (AD 1 => 1, AD 199 => 199)\n case 'y':\n formatter = dateGetter(DateType.FullYear, 1, 0, false, true);\n break;\n // 2 digit representation of the year, padded (00-99). (e.g. AD 2001 => 01, AD 2010 => 10)\n case 'yy':\n formatter = dateGetter(DateType.FullYear, 2, 0, true, true);\n break;\n // 3 digit representation of the year, padded (000-999). (e.g. AD 2001 => 01, AD 2010 => 10)\n case 'yyy':\n formatter = dateGetter(DateType.FullYear, 3, 0, false, true);\n break;\n // 4 digit representation of the year (e.g. AD 1 => 0001, AD 2010 => 2010)\n case 'yyyy':\n formatter = dateGetter(DateType.FullYear, 4, 0, false, true);\n break;\n // 1 digit representation of the week-numbering year, e.g. (AD 1 => 1, AD 199 => 199)\n case 'Y':\n formatter = weekNumberingYearGetter(1);\n break;\n // 2 digit representation of the week-numbering year, padded (00-99). (e.g. AD 2001 => 01, AD\n // 2010 => 10)\n case 'YY':\n formatter = weekNumberingYearGetter(2, true);\n break;\n // 3 digit representation of the week-numbering year, padded (000-999). (e.g. AD 1 => 001, AD\n // 2010 => 2010)\n case 'YYY':\n formatter = weekNumberingYearGetter(3);\n break;\n // 4 digit representation of the week-numbering year (e.g. AD 1 => 0001, AD 2010 => 2010)\n case 'YYYY':\n formatter = weekNumberingYearGetter(4);\n break;\n // Month of the year (1-12), numeric\n case 'M':\n case 'L':\n formatter = dateGetter(DateType.Month, 1, 1);\n break;\n case 'MM':\n case 'LL':\n formatter = dateGetter(DateType.Month, 2, 1);\n break;\n // Month of the year (January, ...), string, format\n case 'MMM':\n formatter = dateStrGetter(TranslationType.Months, TranslationWidth.Abbreviated);\n break;\n case 'MMMM':\n formatter = dateStrGetter(TranslationType.Months, TranslationWidth.Wide);\n break;\n case 'MMMMM':\n formatter = dateStrGetter(TranslationType.Months, TranslationWidth.Narrow);\n break;\n // Month of the year (January, ...), string, standalone\n case 'LLL':\n formatter =\n dateStrGetter(TranslationType.Months, TranslationWidth.Abbreviated, FormStyle.Standalone);\n break;\n case 'LLLL':\n formatter =\n dateStrGetter(TranslationType.Months, TranslationWidth.Wide, FormStyle.Standalone);\n break;\n case 'LLLLL':\n formatter =\n dateStrGetter(TranslationType.Months, TranslationWidth.Narrow, FormStyle.Standalone);\n break;\n // Week of the year (1, ... 52)\n case 'w':\n formatter = weekGetter(1);\n break;\n case 'ww':\n formatter = weekGetter(2);\n break;\n // Week of the month (1, ...)\n case 'W':\n formatter = weekGetter(1, true);\n break;\n // Day of the month (1-31)\n case 'd':\n formatter = dateGetter(DateType.Date, 1);\n break;\n case 'dd':\n formatter = dateGetter(DateType.Date, 2);\n break;\n // Day of the Week StandAlone (1, 1, Mon, Monday, M, Mo)\n case 'c':\n case 'cc':\n formatter = dateGetter(DateType.Day, 1);\n break;\n case 'ccc':\n formatter =\n dateStrGetter(TranslationType.Days, TranslationWidth.Abbreviated, FormStyle.Standalone);\n break;\n case 'cccc':\n formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Wide, FormStyle.Standalone);\n break;\n case 'ccccc':\n formatter =\n dateStrGetter(TranslationType.Days, TranslationWidth.Narrow, FormStyle.Standalone);\n break;\n case 'cccccc':\n formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Short, FormStyle.Standalone);\n break;\n // Day of the Week\n case 'E':\n case 'EE':\n case 'EEE':\n formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Abbreviated);\n break;\n case 'EEEE':\n formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Wide);\n break;\n case 'EEEEE':\n formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Narrow);\n break;\n case 'EEEEEE':\n formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Short);\n break;\n // Generic period of the day (am-pm)\n case 'a':\n case 'aa':\n case 'aaa':\n formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Abbreviated);\n break;\n case 'aaaa':\n formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Wide);\n break;\n case 'aaaaa':\n formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Narrow);\n break;\n // Extended period of the day (midnight, at night, ...), standalone\n case 'b':\n case 'bb':\n case 'bbb':\n formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Abbreviated, FormStyle.Standalone, true);\n break;\n case 'bbbb':\n formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Wide, FormStyle.Standalone, true);\n break;\n case 'bbbbb':\n formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Narrow, FormStyle.Standalone, true);\n break;\n // Extended period of the day (midnight, night, ...), standalone\n case 'B':\n case 'BB':\n case 'BBB':\n formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Abbreviated, FormStyle.Format, true);\n break;\n case 'BBBB':\n formatter =\n dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Wide, FormStyle.Format, true);\n break;\n case 'BBBBB':\n formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Narrow, FormStyle.Format, true);\n break;\n // Hour in AM/PM, (1-12)\n case 'h':\n formatter = dateGetter(DateType.Hours, 1, -12);\n break;\n case 'hh':\n formatter = dateGetter(DateType.Hours, 2, -12);\n break;\n // Hour of the day (0-23)\n case 'H':\n formatter = dateGetter(DateType.Hours, 1);\n break;\n // Hour in day, padded (00-23)\n case 'HH':\n formatter = dateGetter(DateType.Hours, 2);\n break;\n // Minute of the hour (0-59)\n case 'm':\n formatter = dateGetter(DateType.Minutes, 1);\n break;\n case 'mm':\n formatter = dateGetter(DateType.Minutes, 2);\n break;\n // Second of the minute (0-59)\n case 's':\n formatter = dateGetter(DateType.Seconds, 1);\n break;\n case 'ss':\n formatter = dateGetter(DateType.Seconds, 2);\n break;\n // Fractional second\n case 'S':\n formatter = dateGetter(DateType.FractionalSeconds, 1);\n break;\n case 'SS':\n formatter = dateGetter(DateType.FractionalSeconds, 2);\n break;\n case 'SSS':\n formatter = dateGetter(DateType.FractionalSeconds, 3);\n break;\n // Timezone ISO8601 short format (-0430)\n case 'Z':\n case 'ZZ':\n case 'ZZZ':\n formatter = timeZoneGetter(ZoneWidth.Short);\n break;\n // Timezone ISO8601 extended format (-04:30)\n case 'ZZZZZ':\n formatter = timeZoneGetter(ZoneWidth.Extended);\n break;\n // Timezone GMT short format (GMT+4)\n case 'O':\n case 'OO':\n case 'OOO':\n // Should be location, but fallback to format O instead because we don't have the data yet\n case 'z':\n case 'zz':\n case 'zzz':\n formatter = timeZoneGetter(ZoneWidth.ShortGMT);\n break;\n // Timezone GMT long format (GMT+0430)\n case 'OOOO':\n case 'ZZZZ':\n // Should be location, but fallback to format O instead because we don't have the data yet\n case 'zzzz':\n formatter = timeZoneGetter(ZoneWidth.Long);\n break;\n default:\n return null;\n }\n DATE_FORMATS[format] = formatter;\n return formatter;\n}\nfunction timezoneToOffset(timezone, fallback) {\n // Support: IE 11 only, Edge 13-15+\n // IE/Edge do not \"understand\" colon (`:`) in timezone\n timezone = timezone.replace(/:/g, '');\n const requestedTimezoneOffset = Date.parse('Jan 01, 1970 00:00:00 ' + timezone) / 60000;\n return isNaN(requestedTimezoneOffset) ? fallback : requestedTimezoneOffset;\n}\nfunction addDateMinutes(date, minutes) {\n date = new Date(date.getTime());\n date.setMinutes(date.getMinutes() + minutes);\n return date;\n}\nfunction convertTimezoneToLocal(date, timezone, reverse) {\n const reverseValue = reverse ? -1 : 1;\n const dateTimezoneOffset = date.getTimezoneOffset();\n const timezoneOffset = timezoneToOffset(timezone, dateTimezoneOffset);\n return addDateMinutes(date, reverseValue * (timezoneOffset - dateTimezoneOffset));\n}\n/**\n * Converts a value to date.\n *\n * Supported input formats:\n * - `Date`\n * - number: timestamp\n * - string: numeric (e.g. \"1234\"), ISO and date strings in a format supported by\n * [Date.parse()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/parse).\n * Note: ISO strings without time return a date without timeoffset.\n *\n * Throws if unable to convert to a date.\n */\nfunction toDate(value) {\n if (isDate(value)) {\n return value;\n }\n if (typeof value === 'number' && !isNaN(value)) {\n return new Date(value);\n }\n if (typeof value === 'string') {\n value = value.trim();\n if (/^(\\d{4}(-\\d{1,2}(-\\d{1,2})?)?)$/.test(value)) {\n /* For ISO Strings without time the day, month and year must be extracted from the ISO String\n before Date creation to avoid time offset and errors in the new Date.\n If we only replace '-' with ',' in the ISO String (\"2015,01,01\"), and try to create a new\n date, some browsers (e.g. IE 9) will throw an invalid Date error.\n If we leave the '-' (\"2015-01-01\") and try to create a new Date(\"2015-01-01\") the timeoffset\n is applied.\n Note: ISO months are 0 for January, 1 for February, ... */\n const [y, m = 1, d = 1] = value.split('-').map((val) => +val);\n return createDate(y, m - 1, d);\n }\n const parsedNb = parseFloat(value);\n // any string that only contains numbers, like \"1234\" but not like \"1234hello\"\n if (!isNaN(value - parsedNb)) {\n return new Date(parsedNb);\n }\n let match;\n if (match = value.match(ISO8601_DATE_REGEX)) {\n return isoStringToDate(match);\n }\n }\n const date = new Date(value);\n if (!isDate(date)) {\n throw new Error(`Unable to convert \"${value}\" into a date`);\n }\n return date;\n}\n/**\n * Converts a date in ISO8601 to a Date.\n * Used instead of `Date.parse` because of browser discrepancies.\n */\nfunction isoStringToDate(match) {\n const date = new Date(0);\n let tzHour = 0;\n let tzMin = 0;\n // match[8] means that the string contains \"Z\" (UTC) or a timezone like \"+01:00\" or \"+0100\"\n const dateSetter = match[8] ? date.setUTCFullYear : date.setFullYear;\n const timeSetter = match[8] ? date.setUTCHours : date.setHours;\n // if there is a timezone defined like \"+01:00\" or \"+0100\"\n if (match[9]) {\n tzHour = Number(match[9] + match[10]);\n tzMin = Number(match[9] + match[11]);\n }\n dateSetter.call(date, Number(match[1]), Number(match[2]) - 1, Number(match[3]));\n const h = Number(match[4] || 0) - tzHour;\n const m = Number(match[5] || 0) - tzMin;\n const s = Number(match[6] || 0);\n // The ECMAScript specification (https://www.ecma-international.org/ecma-262/5.1/#sec-15.9.1.11)\n // defines that `DateTime` milliseconds should always be rounded down, so that `999.9ms`\n // becomes `999ms`.\n const ms = Math.floor(parseFloat('0.' + (match[7] || 0)) * 1000);\n timeSetter.call(date, h, m, s, ms);\n return date;\n}\nfunction isDate(value) {\n return value instanceof Date && !isNaN(value.valueOf());\n}\n\nconst NUMBER_FORMAT_REGEXP = /^(\\d+)?\\.((\\d+)(-(\\d+))?)?$/;\nconst MAX_DIGITS = 22;\nconst DECIMAL_SEP = '.';\nconst ZERO_CHAR = '0';\nconst PATTERN_SEP = ';';\nconst GROUP_SEP = ',';\nconst DIGIT_CHAR = '#';\nconst CURRENCY_CHAR = '¤';\nconst PERCENT_CHAR = '%';\n/**\n * Transforms a number to a locale string based on a style and a format.\n */\nfunction formatNumberToLocaleString(value, pattern, locale, groupSymbol, decimalSymbol, digitsInfo, isPercent = false) {\n let formattedText = '';\n let isZero = false;\n if (!isFinite(value)) {\n formattedText = getLocaleNumberSymbol(locale, NumberSymbol.Infinity);\n }\n else {\n let parsedNumber = parseNumber(value);\n if (isPercent) {\n parsedNumber = toPercent(parsedNumber);\n }\n let minInt = pattern.minInt;\n let minFraction = pattern.minFrac;\n let maxFraction = pattern.maxFrac;\n if (digitsInfo) {\n const parts = digitsInfo.match(NUMBER_FORMAT_REGEXP);\n if (parts === null) {\n throw new Error(`${digitsInfo} is not a valid digit info`);\n }\n const minIntPart = parts[1];\n const minFractionPart = parts[3];\n const maxFractionPart = parts[5];\n if (minIntPart != null) {\n minInt = parseIntAutoRadix(minIntPart);\n }\n if (minFractionPart != null) {\n minFraction = parseIntAutoRadix(minFractionPart);\n }\n if (maxFractionPart != null) {\n maxFraction = parseIntAutoRadix(maxFractionPart);\n }\n else if (minFractionPart != null && minFraction > maxFraction) {\n maxFraction = minFraction;\n }\n }\n roundNumber(parsedNumber, minFraction, maxFraction);\n let digits = parsedNumber.digits;\n let integerLen = parsedNumber.integerLen;\n const exponent = parsedNumber.exponent;\n let decimals = [];\n isZero = digits.every(d => !d);\n // pad zeros for small numbers\n for (; integerLen < minInt; integerLen++) {\n digits.unshift(0);\n }\n // pad zeros for small numbers\n for (; integerLen < 0; integerLen++) {\n digits.unshift(0);\n }\n // extract decimals digits\n if (integerLen > 0) {\n decimals = digits.splice(integerLen, digits.length);\n }\n else {\n decimals = digits;\n digits = [0];\n }\n // format the integer digits with grouping separators\n const groups = [];\n if (digits.length >= pattern.lgSize) {\n groups.unshift(digits.splice(-pattern.lgSize, digits.length).join(''));\n }\n while (digits.length > pattern.gSize) {\n groups.unshift(digits.splice(-pattern.gSize, digits.length).join(''));\n }\n if (digits.length) {\n groups.unshift(digits.join(''));\n }\n formattedText = groups.join(getLocaleNumberSymbol(locale, groupSymbol));\n // append the decimal digits\n if (decimals.length) {\n formattedText += getLocaleNumberSymbol(locale, decimalSymbol) + decimals.join('');\n }\n if (exponent) {\n formattedText += getLocaleNumberSymbol(locale, NumberSymbol.Exponential) + '+' + exponent;\n }\n }\n if (value < 0 && !isZero) {\n formattedText = pattern.negPre + formattedText + pattern.negSuf;\n }\n else {\n formattedText = pattern.posPre + formattedText + pattern.posSuf;\n }\n return formattedText;\n}\n/**\n * @ngModule CommonModule\n * @description\n *\n * Formats a number as currency using locale rules.\n *\n * @param value The number to format.\n * @param locale A locale code for the locale format rules to use.\n * @param currency A string containing the currency symbol or its name,\n * such as \"$\" or \"Canadian Dollar\". Used in output string, but does not affect the operation\n * of the function.\n * @param currencyCode The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217)\n * currency code, such as `USD` for the US dollar and `EUR` for the euro.\n * Used to determine the number of digits in the decimal part.\n * @param digitsInfo Decimal representation options, specified by a string in the following format:\n * `{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}`. See `DecimalPipe` for more details.\n *\n * @returns The formatted currency value.\n *\n * @see `formatNumber()`\n * @see `DecimalPipe`\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction formatCurrency(value, locale, currency, currencyCode, digitsInfo) {\n const format = getLocaleNumberFormat(locale, NumberFormatStyle.Currency);\n const pattern = parseNumberFormat(format, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign));\n pattern.minFrac = getNumberOfCurrencyDigits(currencyCode);\n pattern.maxFrac = pattern.minFrac;\n const res = formatNumberToLocaleString(value, pattern, locale, NumberSymbol.CurrencyGroup, NumberSymbol.CurrencyDecimal, digitsInfo);\n return res\n .replace(CURRENCY_CHAR, currency)\n // if we have 2 time the currency character, the second one is ignored\n .replace(CURRENCY_CHAR, '')\n // If there is a spacing between currency character and the value and\n // the currency character is suppressed by passing an empty string, the\n // spacing character would remain as part of the string. Then we\n // should remove it.\n .trim();\n}\n/**\n * @ngModule CommonModule\n * @description\n *\n * Formats a number as a percentage according to locale rules.\n *\n * @param value The number to format.\n * @param locale A locale code for the locale format rules to use.\n * @param digitsInfo Decimal representation options, specified by a string in the following format:\n * `{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}`. See `DecimalPipe` for more details.\n *\n * @returns The formatted percentage value.\n *\n * @see `formatNumber()`\n * @see `DecimalPipe`\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n * @publicApi\n *\n */\nfunction formatPercent(value, locale, digitsInfo) {\n const format = getLocaleNumberFormat(locale, NumberFormatStyle.Percent);\n const pattern = parseNumberFormat(format, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign));\n const res = formatNumberToLocaleString(value, pattern, locale, NumberSymbol.Group, NumberSymbol.Decimal, digitsInfo, true);\n return res.replace(new RegExp(PERCENT_CHAR, 'g'), getLocaleNumberSymbol(locale, NumberSymbol.PercentSign));\n}\n/**\n * @ngModule CommonModule\n * @description\n *\n * Formats a number as text, with group sizing, separator, and other\n * parameters based on the locale.\n *\n * @param value The number to format.\n * @param locale A locale code for the locale format rules to use.\n * @param digitsInfo Decimal representation options, specified by a string in the following format:\n * `{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}`. See `DecimalPipe` for more details.\n *\n * @returns The formatted text string.\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction formatNumber(value, locale, digitsInfo) {\n const format = getLocaleNumberFormat(locale, NumberFormatStyle.Decimal);\n const pattern = parseNumberFormat(format, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign));\n return formatNumberToLocaleString(value, pattern, locale, NumberSymbol.Group, NumberSymbol.Decimal, digitsInfo);\n}\nfunction parseNumberFormat(format, minusSign = '-') {\n const p = {\n minInt: 1,\n minFrac: 0,\n maxFrac: 0,\n posPre: '',\n posSuf: '',\n negPre: '',\n negSuf: '',\n gSize: 0,\n lgSize: 0\n };\n const patternParts = format.split(PATTERN_SEP);\n const positive = patternParts[0];\n const negative = patternParts[1];\n const positiveParts = positive.indexOf(DECIMAL_SEP) !== -1 ?\n positive.split(DECIMAL_SEP) :\n [\n positive.substring(0, positive.lastIndexOf(ZERO_CHAR) + 1),\n positive.substring(positive.lastIndexOf(ZERO_CHAR) + 1)\n ], integer = positiveParts[0], fraction = positiveParts[1] || '';\n p.posPre = integer.substring(0, integer.indexOf(DIGIT_CHAR));\n for (let i = 0; i < fraction.length; i++) {\n const ch = fraction.charAt(i);\n if (ch === ZERO_CHAR) {\n p.minFrac = p.maxFrac = i + 1;\n }\n else if (ch === DIGIT_CHAR) {\n p.maxFrac = i + 1;\n }\n else {\n p.posSuf += ch;\n }\n }\n const groups = integer.split(GROUP_SEP);\n p.gSize = groups[1] ? groups[1].length : 0;\n p.lgSize = (groups[2] || groups[1]) ? (groups[2] || groups[1]).length : 0;\n if (negative) {\n const trunkLen = positive.length - p.posPre.length - p.posSuf.length, pos = negative.indexOf(DIGIT_CHAR);\n p.negPre = negative.substring(0, pos).replace(/'/g, '');\n p.negSuf = negative.slice(pos + trunkLen).replace(/'/g, '');\n }\n else {\n p.negPre = minusSign + p.posPre;\n p.negSuf = p.posSuf;\n }\n return p;\n}\n// Transforms a parsed number into a percentage by multiplying it by 100\nfunction toPercent(parsedNumber) {\n // if the number is 0, don't do anything\n if (parsedNumber.digits[0] === 0) {\n return parsedNumber;\n }\n // Getting the current number of decimals\n const fractionLen = parsedNumber.digits.length - parsedNumber.integerLen;\n if (parsedNumber.exponent) {\n parsedNumber.exponent += 2;\n }\n else {\n if (fractionLen === 0) {\n parsedNumber.digits.push(0, 0);\n }\n else if (fractionLen === 1) {\n parsedNumber.digits.push(0);\n }\n parsedNumber.integerLen += 2;\n }\n return parsedNumber;\n}\n/**\n * Parses a number.\n * Significant bits of this parse algorithm came from https://github.com/MikeMcl/big.js/\n */\nfunction parseNumber(num) {\n let numStr = Math.abs(num) + '';\n let exponent = 0, digits, integerLen;\n let i, j, zeros;\n // Decimal point?\n if ((integerLen = numStr.indexOf(DECIMAL_SEP)) > -1) {\n numStr = numStr.replace(DECIMAL_SEP, '');\n }\n // Exponential form?\n if ((i = numStr.search(/e/i)) > 0) {\n // Work out the exponent.\n if (integerLen < 0)\n integerLen = i;\n integerLen += +numStr.slice(i + 1);\n numStr = numStr.substring(0, i);\n }\n else if (integerLen < 0) {\n // There was no decimal point or exponent so it is an integer.\n integerLen = numStr.length;\n }\n // Count the number of leading zeros.\n for (i = 0; numStr.charAt(i) === ZERO_CHAR; i++) { /* empty */\n }\n if (i === (zeros = numStr.length)) {\n // The digits are all zero.\n digits = [0];\n integerLen = 1;\n }\n else {\n // Count the number of trailing zeros\n zeros--;\n while (numStr.charAt(zeros) === ZERO_CHAR)\n zeros--;\n // Trailing zeros are insignificant so ignore them\n integerLen -= i;\n digits = [];\n // Convert string to array of digits without leading/trailing zeros.\n for (j = 0; i <= zeros; i++, j++) {\n digits[j] = Number(numStr.charAt(i));\n }\n }\n // If the number overflows the maximum allowed digits then use an exponent.\n if (integerLen > MAX_DIGITS) {\n digits = digits.splice(0, MAX_DIGITS - 1);\n exponent = integerLen - 1;\n integerLen = 1;\n }\n return { digits, exponent, integerLen };\n}\n/**\n * Round the parsed number to the specified number of decimal places\n * This function changes the parsedNumber in-place\n */\nfunction roundNumber(parsedNumber, minFrac, maxFrac) {\n if (minFrac > maxFrac) {\n throw new Error(`The minimum number of digits after fraction (${minFrac}) is higher than the maximum (${maxFrac}).`);\n }\n let digits = parsedNumber.digits;\n let fractionLen = digits.length - parsedNumber.integerLen;\n const fractionSize = Math.min(Math.max(minFrac, fractionLen), maxFrac);\n // The index of the digit to where rounding is to occur\n let roundAt = fractionSize + parsedNumber.integerLen;\n let digit = digits[roundAt];\n if (roundAt > 0) {\n // Drop fractional digits beyond `roundAt`\n digits.splice(Math.max(parsedNumber.integerLen, roundAt));\n // Set non-fractional digits beyond `roundAt` to 0\n for (let j = roundAt; j < digits.length; j++) {\n digits[j] = 0;\n }\n }\n else {\n // We rounded to zero so reset the parsedNumber\n fractionLen = Math.max(0, fractionLen);\n parsedNumber.integerLen = 1;\n digits.length = Math.max(1, roundAt = fractionSize + 1);\n digits[0] = 0;\n for (let i = 1; i < roundAt; i++)\n digits[i] = 0;\n }\n if (digit >= 5) {\n if (roundAt - 1 < 0) {\n for (let k = 0; k > roundAt; k--) {\n digits.unshift(0);\n parsedNumber.integerLen++;\n }\n digits.unshift(1);\n parsedNumber.integerLen++;\n }\n else {\n digits[roundAt - 1]++;\n }\n }\n // Pad out with zeros to get the required fraction length\n for (; fractionLen < Math.max(0, fractionSize); fractionLen++)\n digits.push(0);\n let dropTrailingZeros = fractionSize !== 0;\n // Minimal length = nb of decimals required + current nb of integers\n // Any number besides that is optional and can be removed if it's a trailing 0\n const minLen = minFrac + parsedNumber.integerLen;\n // Do any carrying, e.g. a digit was rounded up to 10\n const carry = digits.reduceRight(function (carry, d, i, digits) {\n d = d + carry;\n digits[i] = d < 10 ? d : d - 10; // d % 10\n if (dropTrailingZeros) {\n // Do not keep meaningless fractional trailing zeros (e.g. 15.52000 --> 15.52)\n if (digits[i] === 0 && i >= minLen) {\n digits.pop();\n }\n else {\n dropTrailingZeros = false;\n }\n }\n return d >= 10 ? 1 : 0; // Math.floor(d / 10);\n }, 0);\n if (carry) {\n digits.unshift(carry);\n parsedNumber.integerLen++;\n }\n}\nfunction parseIntAutoRadix(text) {\n const result = parseInt(text);\n if (isNaN(result)) {\n throw new Error('Invalid integer literal when parsing ' + text);\n }\n return result;\n}\n\n/**\n * @publicApi\n */\nclass NgLocalization {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NgLocalization, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NgLocalization, providedIn: 'root', useFactory: (locale) => new NgLocaleLocalization(locale), deps: [{ token: LOCALE_ID }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NgLocalization, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root',\n useFactory: (locale) => new NgLocaleLocalization(locale),\n deps: [LOCALE_ID],\n }]\n }] });\n/**\n * Returns the plural category for a given value.\n * - \"=value\" when the case exists,\n * - the plural category otherwise\n */\nfunction getPluralCategory(value, cases, ngLocalization, locale) {\n let key = `=${value}`;\n if (cases.indexOf(key) > -1) {\n return key;\n }\n key = ngLocalization.getPluralCategory(value, locale);\n if (cases.indexOf(key) > -1) {\n return key;\n }\n if (cases.indexOf('other') > -1) {\n return 'other';\n }\n throw new Error(`No plural message found for value \"${value}\"`);\n}\n/**\n * Returns the plural case based on the locale\n *\n * @publicApi\n */\nclass NgLocaleLocalization extends NgLocalization {\n constructor(locale) {\n super();\n this.locale = locale;\n }\n getPluralCategory(value, locale) {\n const plural = getLocalePluralCase(locale || this.locale)(value);\n switch (plural) {\n case Plural.Zero:\n return 'zero';\n case Plural.One:\n return 'one';\n case Plural.Two:\n return 'two';\n case Plural.Few:\n return 'few';\n case Plural.Many:\n return 'many';\n default:\n return 'other';\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NgLocaleLocalization, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NgLocaleLocalization }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NgLocaleLocalization, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [LOCALE_ID]\n }] }]; } });\n\n/**\n * Register global data to be used internally by Angular. See the\n * [\"I18n guide\"](guide/i18n-common-format-data-locale) to know how to import additional locale\n * data.\n *\n * The signature registerLocaleData(data: any, extraData?: any) is deprecated since v5.1\n *\n * @publicApi\n */\nfunction registerLocaleData(data, localeId, extraData) {\n return ɵregisterLocaleData(data, localeId, extraData);\n}\n\nfunction parseCookieValue(cookieStr, name) {\n name = encodeURIComponent(name);\n for (const cookie of cookieStr.split(';')) {\n const eqIndex = cookie.indexOf('=');\n const [cookieName, cookieValue] = eqIndex == -1 ? [cookie, ''] : [cookie.slice(0, eqIndex), cookie.slice(eqIndex + 1)];\n if (cookieName.trim() === name) {\n return decodeURIComponent(cookieValue);\n }\n }\n return null;\n}\n\nconst WS_REGEXP = /\\s+/;\nconst EMPTY_ARRAY = [];\n/**\n * @ngModule CommonModule\n *\n * @usageNotes\n * ```\n * <some-element [ngClass]=\"'first second'\">...</some-element>\n *\n * <some-element [ngClass]=\"['first', 'second']\">...</some-element>\n *\n * <some-element [ngClass]=\"{'first': true, 'second': true, 'third': false}\">...</some-element>\n *\n * <some-element [ngClass]=\"stringExp|arrayExp|objExp\">...</some-element>\n *\n * <some-element [ngClass]=\"{'class1 class2 class3' : true}\">...</some-element>\n * ```\n *\n * @description\n *\n * Adds and removes CSS classes on an HTML element.\n *\n * The CSS classes are updated as follows, depending on the type of the expression evaluation:\n * - `string` - the CSS classes listed in the string (space delimited) are added,\n * - `Array` - the CSS classes declared as Array elements are added,\n * - `Object` - keys are CSS classes that get added when the expression given in the value\n * evaluates to a truthy value, otherwise they are removed.\n *\n * @publicApi\n */\nclass NgClass {\n constructor(\n // leaving references to differs in place since flex layout is extending NgClass...\n _iterableDiffers, _keyValueDiffers, _ngEl, _renderer) {\n this._iterableDiffers = _iterableDiffers;\n this._keyValueDiffers = _keyValueDiffers;\n this._ngEl = _ngEl;\n this._renderer = _renderer;\n this.initialClasses = EMPTY_ARRAY;\n this.stateMap = new Map();\n }\n set klass(value) {\n this.initialClasses = value != null ? value.trim().split(WS_REGEXP) : EMPTY_ARRAY;\n }\n set ngClass(value) {\n this.rawClass = typeof value === 'string' ? value.trim().split(WS_REGEXP) : value;\n }\n /*\n The NgClass directive uses the custom change detection algorithm for its inputs. The custom\n algorithm is necessary since inputs are represented as complex object or arrays that need to be\n deeply-compared.\n \n This algorithm is perf-sensitive since NgClass is used very frequently and its poor performance\n might negatively impact runtime performance of the entire change detection cycle. The design of\n this algorithm is making sure that:\n - there is no unnecessary DOM manipulation (CSS classes are added / removed from the DOM only when\n needed), even if references to bound objects change;\n - there is no memory allocation if nothing changes (even relatively modest memory allocation\n during the change detection cycle can result in GC pauses for some of the CD cycles).\n \n The algorithm works by iterating over the set of bound classes, staring with [class] binding and\n then going over [ngClass] binding. For each CSS class name:\n - check if it was seen before (this information is tracked in the state map) and if its value\n changed;\n - mark it as \"touched\" - names that are not marked are not present in the latest set of binding\n and we can remove such class name from the internal data structures;\n \n After iteration over all the CSS class names we've got data structure with all the information\n necessary to synchronize changes to the DOM - it is enough to iterate over the state map, flush\n changes to the DOM and reset internal data structures so those are ready for the next change\n detection cycle.\n */\n ngDoCheck() {\n // classes from the [class] binding\n for (const klass of this.initialClasses) {\n this._updateState(klass, true);\n }\n // classes from the [ngClass] binding\n const rawClass = this.rawClass;\n if (Array.isArray(rawClass) || rawClass instanceof Set) {\n for (const klass of rawClass) {\n this._updateState(klass, true);\n }\n }\n else if (rawClass != null) {\n for (const klass of Object.keys(rawClass)) {\n this._updateState(klass, Boolean(rawClass[klass]));\n }\n }\n this._applyStateDiff();\n }\n _updateState(klass, nextEnabled) {\n const state = this.stateMap.get(klass);\n if (state !== undefined) {\n if (state.enabled !== nextEnabled) {\n state.changed = true;\n state.enabled = nextEnabled;\n }\n state.touched = true;\n }\n else {\n this.stateMap.set(klass, { enabled: nextEnabled, changed: true, touched: true });\n }\n }\n _applyStateDiff() {\n for (const stateEntry of this.stateMap) {\n const klass = stateEntry[0];\n const state = stateEntry[1];\n if (state.changed) {\n this._toggleClass(klass, state.enabled);\n state.changed = false;\n }\n else if (!state.touched) {\n // A class that was previously active got removed from the new collection of classes -\n // remove from the DOM as well.\n if (state.enabled) {\n this._toggleClass(klass, false);\n }\n this.stateMap.delete(klass);\n }\n state.touched = false;\n }\n }\n _toggleClass(klass, enabled) {\n if (ngDevMode) {\n if (typeof klass !== 'string') {\n throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${ɵstringify(klass)}`);\n }\n }\n klass = klass.trim();\n if (klass.length > 0) {\n klass.split(WS_REGEXP).forEach(klass => {\n if (enabled) {\n this._renderer.addClass(this._ngEl.nativeElement, klass);\n }\n else {\n this._renderer.removeClass(this._ngEl.nativeElement, klass);\n }\n });\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NgClass, deps: [{ token: i0.IterableDiffers }, { token: i0.KeyValueDiffers }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: NgClass, isStandalone: true, selector: \"[ngClass]\", inputs: { klass: [\"class\", \"klass\"], ngClass: \"ngClass\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NgClass, decorators: [{\n type: Directive,\n args: [{\n selector: '[ngClass]',\n standalone: true,\n }]\n }], ctorParameters: function () { return [{ type: i0.IterableDiffers }, { type: i0.KeyValueDiffers }, { type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { klass: [{\n type: Input,\n args: ['class']\n }], ngClass: [{\n type: Input,\n args: ['ngClass']\n }] } });\n\n/**\n * Instantiates a {@link Component} type and inserts its Host View into the current View.\n * `NgComponentOutlet` provides a declarative approach for dynamic component creation.\n *\n * `NgComponentOutlet` requires a component type, if a falsy value is set the view will clear and\n * any existing component will be destroyed.\n *\n * @usageNotes\n *\n * ### Fine tune control\n *\n * You can control the component creation process by using the following optional attributes:\n *\n * * `ngComponentOutletInjector`: Optional custom {@link Injector} that will be used as parent for\n * the Component. Defaults to the injector of the current view container.\n *\n * * `ngComponentOutletContent`: Optional list of projectable nodes to insert into the content\n * section of the component, if it exists.\n *\n * * `ngComponentOutletNgModule`: Optional NgModule class reference to allow loading another\n * module dynamically, then loading a component from that module.\n *\n * * `ngComponentOutletNgModuleFactory`: Deprecated config option that allows providing optional\n * NgModule factory to allow loading another module dynamically, then loading a component from that\n * module. Use `ngComponentOutletNgModule` instead.\n *\n * ### Syntax\n *\n * Simple\n * ```\n * <ng-container *ngComponentOutlet=\"componentTypeExpression\"></ng-container>\n * ```\n *\n * Customized injector/content\n * ```\n * <ng-container *ngComponentOutlet=\"componentTypeExpression;\n * injector: injectorExpression;\n * content: contentNodesExpression;\">\n * </ng-container>\n * ```\n *\n * Customized NgModule reference\n * ```\n * <ng-container *ngComponentOutlet=\"componentTypeExpression;\n * ngModule: ngModuleClass;\">\n * </ng-container>\n * ```\n *\n * ### A simple example\n *\n * {@example common/ngComponentOutlet/ts/module.ts region='SimpleExample'}\n *\n * A more complete example with additional options:\n *\n * {@example common/ngComponentOutlet/ts/module.ts region='CompleteExample'}\n *\n * @publicApi\n * @ngModule CommonModule\n */\nclass NgComponentOutlet {\n constructor(_viewContainerRef) {\n this._viewContainerRef = _viewContainerRef;\n this.ngComponentOutlet = null;\n }\n /** @nodoc */\n ngOnChanges(changes) {\n const { _viewContainerRef: viewContainerRef, ngComponentOutletNgModule: ngModule, ngComponentOutletNgModuleFactory: ngModuleFactory, } = this;\n viewContainerRef.clear();\n this._componentRef = undefined;\n if (this.ngComponentOutlet) {\n const injector = this.ngComponentOutletInjector || viewContainerRef.parentInjector;\n if (changes['ngComponentOutletNgModule'] || changes['ngComponentOutletNgModuleFactory']) {\n if (this._moduleRef)\n this._moduleRef.destroy();\n if (ngModule) {\n this._moduleRef = createNgModule(ngModule, getParentInjector(injector));\n }\n else if (ngModuleFactory) {\n this._moduleRef = ngModuleFactory.create(getParentInjector(injector));\n }\n else {\n this._moduleRef = undefined;\n }\n }\n this._componentRef = viewContainerRef.createComponent(this.ngComponentOutlet, {\n index: viewContainerRef.length,\n injector,\n ngModuleRef: this._moduleRef,\n projectableNodes: this.ngComponentOutletContent,\n });\n }\n }\n /** @nodoc */\n ngOnDestroy() {\n if (this._moduleRef)\n this._moduleRef.destroy();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NgComponentOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: NgComponentOutlet, isStandalone: true, selector: \"[ngComponentOutlet]\", inputs: { ngComponentOutlet: \"ngComponentOutlet\", ngComponentOutletInjector: \"ngComponentOutletInjector\", ngComponentOutletContent: \"ngComponentOutletContent\", ngComponentOutletNgModule: \"ngComponentOutletNgModule\", ngComponentOutletNgModuleFactory: \"ngComponentOutletNgModuleFactory\" }, usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NgComponentOutlet, decorators: [{\n type: Directive,\n args: [{\n selector: '[ngComponentOutlet]',\n standalone: true,\n }]\n }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { ngComponentOutlet: [{\n type: Input\n }], ngComponentOutletInjector: [{\n type: Input\n }], ngComponentOutletContent: [{\n type: Input\n }], ngComponentOutletNgModule: [{\n type: Input\n }], ngComponentOutletNgModuleFactory: [{\n type: Input\n }] } });\n// Helper function that returns an Injector instance of a parent NgModule.\nfunction getParentInjector(injector) {\n const parentNgModule = injector.get(NgModuleRef);\n return parentNgModule.injector;\n}\n\n/**\n * @publicApi\n */\nclass NgForOfContext {\n constructor($implicit, ngForOf, index, count) {\n this.$implicit = $implicit;\n this.ngForOf = ngForOf;\n this.index = index;\n this.count = count;\n }\n get first() {\n return this.index === 0;\n }\n get last() {\n return this.index === this.count - 1;\n }\n get even() {\n return this.index % 2 === 0;\n }\n get odd() {\n return !this.even;\n }\n}\n/**\n * A [structural directive](guide/structural-directives) that renders\n * a template for each item in a collection.\n * The directive is placed on an element, which becomes the parent\n * of the cloned templates.\n *\n * The `ngForOf` directive is generally used in the\n * [shorthand form](guide/structural-directives#asterisk) `*ngFor`.\n * In this form, the template to be rendered for each iteration is the content\n * of an anchor element containing the directive.\n *\n * The following example shows the shorthand syntax with some options,\n * contained in an `<li>` element.\n *\n * ```\n * <li *ngFor=\"let item of items; index as i; trackBy: trackByFn\">...</li>\n * ```\n *\n * The shorthand form expands into a long form that uses the `ngForOf` selector\n * on an `<ng-template>` element.\n * The content of the `<ng-template>` element is the `<li>` element that held the\n * short-form directive.\n *\n * Here is the expanded version of the short-form example.\n *\n * ```\n * <ng-template ngFor let-item [ngForOf]=\"items\" let-i=\"index\" [ngForTrackBy]=\"trackByFn\">\n * <li>...</li>\n * </ng-template>\n * ```\n *\n * Angular automatically expands the shorthand syntax as it compiles the template.\n * The context for each embedded view is logically merged to the current component\n * context according to its lexical position.\n *\n * When using the shorthand syntax, Angular allows only [one structural directive\n * on an element](guide/structural-directives#one-per-element).\n * If you want to iterate conditionally, for example,\n * put the `*ngIf` on a container element that wraps the `*ngFor` element.\n * For further discussion, see\n * [Structural Directives](guide/structural-directives#one-per-element).\n *\n * @usageNotes\n *\n * ### Local variables\n *\n * `NgForOf` provides exported values that can be aliased to local variables.\n * For example:\n *\n * ```\n * <li *ngFor=\"let user of users; index as i; first as isFirst\">\n * {{i}}/{{users.length}}. {{user}} <span *ngIf=\"isFirst\">default</span>\n * </li>\n * ```\n *\n * The following exported values can be aliased to local variables:\n *\n * - `$implicit: T`: The value of the individual items in the iterable (`ngForOf`).\n * - `ngForOf: NgIterable<T>`: The value of the iterable expression. Useful when the expression is\n * more complex then a property access, for example when using the async pipe (`userStreams |\n * async`).\n * - `index: number`: The index of the current item in the iterable.\n * - `count: number`: The length of the iterable.\n * - `first: boolean`: True when the item is the first item in the iterable.\n * - `last: boolean`: True when the item is the last item in the iterable.\n * - `even: boolean`: True when the item has an even index in the iterable.\n * - `odd: boolean`: True when the item has an odd index in the iterable.\n *\n * ### Change propagation\n *\n * When the contents of the iterator changes, `NgForOf` makes the corresponding changes to the DOM:\n *\n * * When an item is added, a new instance of the template is added to the DOM.\n * * When an item is removed, its template instance is removed from the DOM.\n * * When items are reordered, their respective templates are reordered in the DOM.\n *\n * Angular uses object identity to track insertions and deletions within the iterator and reproduce\n * those changes in the DOM. This has important implications for animations and any stateful\n * controls that are present, such as `<input>` elements that accept user input. Inserted rows can\n * be animated in, deleted rows can be animated out, and unchanged rows retain any unsaved state\n * such as user input.\n * For more on animations, see [Transitions and Triggers](guide/transition-and-triggers).\n *\n * The identities of elements in the iterator can change while the data does not.\n * This can happen, for example, if the iterator is produced from an RPC to the server, and that\n * RPC is re-run. Even if the data hasn't changed, the second response produces objects with\n * different identities, and Angular must tear down the entire DOM and rebuild it (as if all old\n * elements were deleted and all new elements inserted).\n *\n * To avoid this expensive operation, you can customize the default tracking algorithm.\n * by supplying the `trackBy` option to `NgForOf`.\n * `trackBy` takes a function that has two arguments: `index` and `item`.\n * If `trackBy` is given, Angular tracks changes by the return value of the function.\n *\n * @see [Structural Directives](guide/structural-directives)\n * @ngModule CommonModule\n * @publicApi\n */\nclass NgForOf {\n /**\n * The value of the iterable expression, which can be used as a\n * [template input variable](guide/structural-directives#shorthand).\n */\n set ngForOf(ngForOf) {\n this._ngForOf = ngForOf;\n this._ngForOfDirty = true;\n }\n /**\n * Specifies a custom `TrackByFunction` to compute the identity of items in an iterable.\n *\n * If a custom `TrackByFunction` is not provided, `NgForOf` will use the item's [object\n * identity](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is)\n * as the key.\n *\n * `NgForOf` uses the computed key to associate items in an iterable with DOM elements\n * it produces for these items.\n *\n * A custom `TrackByFunction` is useful to provide good user experience in cases when items in an\n * iterable rendered using `NgForOf` have a natural identifier (for example, custom ID or a\n * primary key), and this iterable could be updated with new object instances that still\n * represent the same underlying entity (for example, when data is re-fetched from the server,\n * and the iterable is recreated and re-rendered, but most of the data is still the same).\n *\n * @see `TrackByFunction`\n */\n set ngForTrackBy(fn) {\n if ((typeof ngDevMode === 'undefined' || ngDevMode) && fn != null && typeof fn !== 'function') {\n console.warn(`trackBy must be a function, but received ${JSON.stringify(fn)}. ` +\n `See https://angular.io/api/common/NgForOf#change-propagation for more information.`);\n }\n this._trackByFn = fn;\n }\n get ngForTrackBy() {\n return this._trackByFn;\n }\n constructor(_viewContainer, _template, _differs) {\n this._viewContainer = _viewContainer;\n this._template = _template;\n this._differs = _differs;\n this._ngForOf = null;\n this._ngForOfDirty = true;\n this._differ = null;\n }\n /**\n * A reference to the template that is stamped out for each item in the iterable.\n * @see [template reference variable](guide/template-reference-variables)\n */\n set ngForTemplate(value) {\n // TODO(TS2.1): make TemplateRef<Partial<NgForRowOf<T>>> once we move to TS v2.1\n // The current type is too restrictive; a template that just uses index, for example,\n // should be acceptable.\n if (value) {\n this._template = value;\n }\n }\n /**\n * Applies the changes when needed.\n * @nodoc\n */\n ngDoCheck() {\n if (this._ngForOfDirty) {\n this._ngForOfDirty = false;\n // React on ngForOf changes only once all inputs have been initialized\n const value = this._ngForOf;\n if (!this._differ && value) {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n try {\n // CAUTION: this logic is duplicated for production mode below, as the try-catch\n // is only present in development builds.\n this._differ = this._differs.find(value).create(this.ngForTrackBy);\n }\n catch {\n let errorMessage = `Cannot find a differ supporting object '${value}' of type '` +\n `${getTypeName(value)}'. NgFor only supports binding to Iterables, such as Arrays.`;\n if (typeof value === 'object') {\n errorMessage += ' Did you mean to use the keyvalue pipe?';\n }\n throw new ɵRuntimeError(-2200 /* RuntimeErrorCode.NG_FOR_MISSING_DIFFER */, errorMessage);\n }\n }\n else {\n // CAUTION: this logic is duplicated for development mode above, as the try-catch\n // is only present in development builds.\n this._differ = this._differs.find(value).create(this.ngForTrackBy);\n }\n }\n }\n if (this._differ) {\n const changes = this._differ.diff(this._ngForOf);\n if (changes)\n this._applyChanges(changes);\n }\n }\n _applyChanges(changes) {\n const viewContainer = this._viewContainer;\n changes.forEachOperation((item, adjustedPreviousIndex, currentIndex) => {\n if (item.previousIndex == null) {\n // NgForOf is never \"null\" or \"undefined\" here because the differ detected\n // that a new item needs to be inserted from the iterable. This implies that\n // there is an iterable value for \"_ngForOf\".\n viewContainer.createEmbeddedView(this._template, new NgForOfContext(item.item, this._ngForOf, -1, -1), currentIndex === null ? undefined : currentIndex);\n }\n else if (currentIndex == null) {\n viewContainer.remove(adjustedPreviousIndex === null ? undefined : adjustedPreviousIndex);\n }\n else if (adjustedPreviousIndex !== null) {\n const view = viewContainer.get(adjustedPreviousIndex);\n viewContainer.move(view, currentIndex);\n applyViewChange(view, item);\n }\n });\n for (let i = 0, ilen = viewContainer.length; i < ilen; i++) {\n const viewRef = viewContainer.get(i);\n const context = viewRef.context;\n context.index = i;\n context.count = ilen;\n context.ngForOf = this._ngForOf;\n }\n changes.forEachIdentityChange((record) => {\n const viewRef = viewContainer.get(record.currentIndex);\n applyViewChange(viewRef, record);\n });\n }\n /**\n * Asserts the correct type of the context for the template that `NgForOf` will render.\n *\n * The presence of this method is a signal to the Ivy template type-check compiler that the\n * `NgForOf` structural directive renders its template with a specific context type.\n */\n static ngTemplateContextGuard(dir, ctx) {\n return true;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NgForOf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: NgForOf, isStandalone: true, selector: \"[ngFor][ngForOf]\", inputs: { ngForOf: \"ngForOf\", ngForTrackBy: \"ngForTrackBy\", ngForTemplate: \"ngForTemplate\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NgForOf, decorators: [{\n type: Directive,\n args: [{\n selector: '[ngFor][ngForOf]',\n standalone: true,\n }]\n }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: i0.IterableDiffers }]; }, propDecorators: { ngForOf: [{\n type: Input\n }], ngForTrackBy: [{\n type: Input\n }], ngForTemplate: [{\n type: Input\n }] } });\nfunction applyViewChange(view, record) {\n view.context.$implicit = record.item;\n}\nfunction getTypeName(type) {\n return type['name'] || typeof type;\n}\n\n/**\n * A structural directive that conditionally includes a template based on the value of\n * an expression coerced to Boolean.\n * When the expression evaluates to true, Angular renders the template\n * provided in a `then` clause, and when false or null,\n * Angular renders the template provided in an optional `else` clause. The default\n * template for the `else` clause is blank.\n *\n * A [shorthand form](guide/structural-directives#asterisk) of the directive,\n * `*ngIf=\"condition\"`, is generally used, provided\n * as an attribute of the anchor element for the inserted template.\n * Angular expands this into a more explicit version, in which the anchor element\n * is contained in an `<ng-template>` element.\n *\n * Simple form with shorthand syntax:\n *\n * ```\n * <div *ngIf=\"condition\">Content to render when condition is true.</div>\n * ```\n *\n * Simple form with expanded syntax:\n *\n * ```\n * <ng-template [ngIf]=\"condition\"><div>Content to render when condition is\n * true.</div></ng-template>\n * ```\n *\n * Form with an \"else\" block:\n *\n * ```\n * <div *ngIf=\"condition; else elseBlock\">Content to render when condition is true.</div>\n * <ng-template #elseBlock>Content to render when condition is false.</ng-template>\n * ```\n *\n * Shorthand form with \"then\" and \"else\" blocks:\n *\n * ```\n * <div *ngIf=\"condition; then thenBlock else elseBlock\"></div>\n * <ng-template #thenBlock>Content to render when condition is true.</ng-template>\n * <ng-template #elseBlock>Content to render when condition is false.</ng-template>\n * ```\n *\n * Form with storing the value locally:\n *\n * ```\n * <div *ngIf=\"condition as value; else elseBlock\">{{value}}</div>\n * <ng-template #elseBlock>Content to render when value is null.</ng-template>\n * ```\n *\n * @usageNotes\n *\n * The `*ngIf` directive is most commonly used to conditionally show an inline template,\n * as seen in the following example.\n * The default `else` template is blank.\n *\n * {@example common/ngIf/ts/module.ts region='NgIfSimple'}\n *\n * ### Showing an alternative template using `else`\n *\n * To display a template when `expression` evaluates to false, use an `else` template\n * binding as shown in the following example.\n * The `else` binding points to an `<ng-template>` element labeled `#elseBlock`.\n * The template can be defined anywhere in the component view, but is typically placed right after\n * `ngIf` for readability.\n *\n * {@example common/ngIf/ts/module.ts region='NgIfElse'}\n *\n * ### Using an external `then` template\n *\n * In the previous example, the then-clause template is specified inline, as the content of the\n * tag that contains the `ngIf` directive. You can also specify a template that is defined\n * externally, by referencing a labeled `<ng-template>` element. When you do this, you can\n * change which template to use at runtime, as shown in the following example.\n *\n * {@example common/ngIf/ts/module.ts region='NgIfThenElse'}\n *\n * ### Storing a conditional result in a variable\n *\n * You might want to show a set of properties from the same object. If you are waiting\n * for asynchronous data, the object can be undefined.\n * In this case, you can use `ngIf` and store the result of the condition in a local\n * variable as shown in the following example.\n *\n * {@example common/ngIf/ts/module.ts region='NgIfAs'}\n *\n * This code uses only one `AsyncPipe`, so only one subscription is created.\n * The conditional statement stores the result of `userStream|async` in the local variable `user`.\n * You can then bind the local `user` repeatedly.\n *\n * The conditional displays the data only if `userStream` returns a value,\n * so you don't need to use the\n * safe-navigation-operator (`?.`)\n * to guard against null values when accessing properties.\n * You can display an alternative template while waiting for the data.\n *\n * ### Shorthand syntax\n *\n * The shorthand syntax `*ngIf` expands into two separate template specifications\n * for the \"then\" and \"else\" clauses. For example, consider the following shorthand statement,\n * that is meant to show a loading page while waiting for data to be loaded.\n *\n * ```\n * <div class=\"hero-list\" *ngIf=\"heroes else loading\">\n * ...\n * </div>\n *\n * <ng-template #loading>\n * <div>Loading...</div>\n * </ng-template>\n * ```\n *\n * You can see that the \"else\" clause references the `<ng-template>`\n * with the `#loading` label, and the template for the \"then\" clause\n * is provided as the content of the anchor element.\n *\n * However, when Angular expands the shorthand syntax, it creates\n * another `<ng-template>` tag, with `ngIf` and `ngIfElse` directives.\n * The anchor element containing the template for the \"then\" clause becomes\n * the content of this unlabeled `<ng-template>` tag.\n *\n * ```\n * <ng-template [ngIf]=\"heroes\" [ngIfElse]=\"loading\">\n * <div class=\"hero-list\">\n * ...\n * </div>\n * </ng-template>\n *\n * <ng-template #loading>\n * <div>Loading...</div>\n * </ng-template>\n * ```\n *\n * The presence of the implicit template object has implications for the nesting of\n * structural directives. For more on this subject, see\n * [Structural Directives](guide/structural-directives#one-per-element).\n *\n * @ngModule CommonModule\n * @publicApi\n */\nclass NgIf {\n constructor(_viewContainer, templateRef) {\n this._viewContainer = _viewContainer;\n this._context = new NgIfContext();\n this._thenTemplateRef = null;\n this._elseTemplateRef = null;\n this._thenViewRef = null;\n this._elseViewRef = null;\n this._thenTemplateRef = templateRef;\n }\n /**\n * The Boolean expression to evaluate as the condition for showing a template.\n */\n set ngIf(condition) {\n this._context.$implicit = this._context.ngIf = condition;\n this._updateView();\n }\n /**\n * A template to show if the condition expression evaluates to true.\n */\n set ngIfThen(templateRef) {\n assertTemplate('ngIfThen', templateRef);\n this._thenTemplateRef = templateRef;\n this._thenViewRef = null; // clear previous view if any.\n this._updateView();\n }\n /**\n * A template to show if the condition expression evaluates to false.\n */\n set ngIfElse(templateRef) {\n assertTemplate('ngIfElse', templateRef);\n this._elseTemplateRef = templateRef;\n this._elseViewRef = null; // clear previous view if any.\n this._updateView();\n }\n _updateView() {\n if (this._context.$implicit) {\n if (!this._thenViewRef) {\n this._viewContainer.clear();\n this._elseViewRef = null;\n if (this._thenTemplateRef) {\n this._thenViewRef =\n this._viewContainer.createEmbeddedView(this._thenTemplateRef, this._context);\n }\n }\n }\n else {\n if (!this._elseViewRef) {\n this._viewContainer.clear();\n this._thenViewRef = null;\n if (this._elseTemplateRef) {\n this._elseViewRef =\n this._viewContainer.createEmbeddedView(this._elseTemplateRef, this._context);\n }\n }\n }\n }\n /**\n * Asserts the correct type of the context for the template that `NgIf` will render.\n *\n * The presence of this method is a signal to the Ivy template type-check compiler that the\n * `NgIf` structural directive renders its template with a specific context type.\n */\n static ngTemplateContextGuard(dir, ctx) {\n return true;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NgIf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: NgIf, isStandalone: true, selector: \"[ngIf]\", inputs: { ngIf: \"ngIf\", ngIfThen: \"ngIfThen\", ngIfElse: \"ngIfElse\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NgIf, decorators: [{\n type: Directive,\n args: [{\n selector: '[ngIf]',\n standalone: true,\n }]\n }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }]; }, propDecorators: { ngIf: [{\n type: Input\n }], ngIfThen: [{\n type: Input\n }], ngIfElse: [{\n type: Input\n }] } });\n/**\n * @publicApi\n */\nclass NgIfContext {\n constructor() {\n this.$implicit = null;\n this.ngIf = null;\n }\n}\nfunction assertTemplate(property, templateRef) {\n const isTemplateRefOrNull = !!(!templateRef || templateRef.createEmbeddedView);\n if (!isTemplateRefOrNull) {\n throw new Error(`${property} must be a TemplateRef, but received '${ɵstringify(templateRef)}'.`);\n }\n}\n\nclass SwitchView {\n constructor(_viewContainerRef, _templateRef) {\n this._viewContainerRef = _viewContainerRef;\n this._templateRef = _templateRef;\n this._created = false;\n }\n create() {\n this._created = true;\n this._viewContainerRef.createEmbeddedView(this._templateRef);\n }\n destroy() {\n this._created = false;\n this._viewContainerRef.clear();\n }\n enforceState(created) {\n if (created && !this._created) {\n this.create();\n }\n else if (!created && this._created) {\n this.destroy();\n }\n }\n}\n/**\n * @ngModule CommonModule\n *\n * @description\n * The `[ngSwitch]` directive on a container specifies an expression to match against.\n * The expressions to match are provided by `ngSwitchCase` directives on views within the container.\n * - Every view that matches is rendered.\n * - If there are no matches, a view with the `ngSwitchDefault` directive is rendered.\n * - Elements within the `[NgSwitch]` statement but outside of any `NgSwitchCase`\n * or `ngSwitchDefault` directive are preserved at the location.\n *\n * @usageNotes\n * Define a container element for the directive, and specify the switch expression\n * to match against as an attribute:\n *\n * ```\n * <container-element [ngSwitch]=\"switch_expression\">\n * ```\n *\n * Within the container, `*ngSwitchCase` statements specify the match expressions\n * as attributes. Include `*ngSwitchDefault` as the final case.\n *\n * ```\n * <container-element [ngSwitch]=\"switch_expression\">\n * <some-element *ngSwitchCase=\"match_expression_1\">...</some-element>\n * ...\n * <some-element *ngSwitchDefault>...</some-element>\n * </container-element>\n * ```\n *\n * ### Usage Examples\n *\n * The following example shows how to use more than one case to display the same view:\n *\n * ```\n * <container-element [ngSwitch]=\"switch_expression\">\n * <!-- the same view can be shown in more than one case -->\n * <some-element *ngSwitchCase=\"match_expression_1\">...</some-element>\n * <some-element *ngSwitchCase=\"match_expression_2\">...</some-element>\n * <some-other-element *ngSwitchCase=\"match_expression_3\">...</some-other-element>\n * <!--default case when there are no matches -->\n * <some-element *ngSwitchDefault>...</some-element>\n * </container-element>\n * ```\n *\n * The following example shows how cases can be nested:\n * ```\n * <container-element [ngSwitch]=\"switch_expression\">\n * <some-element *ngSwitchCase=\"match_expression_1\">...</some-element>\n * <some-element *ngSwitchCase=\"match_expression_2\">...</some-element>\n * <some-other-element *ngSwitchCase=\"match_expression_3\">...</some-other-element>\n * <ng-container *ngSwitchCase=\"match_expression_3\">\n * <!-- use a ng-container to group multiple root nodes -->\n * <inner-element></inner-element>\n * <inner-other-element></inner-other-element>\n * </ng-container>\n * <some-element *ngSwitchDefault>...</some-element>\n * </container-element>\n * ```\n *\n * @publicApi\n * @see `NgSwitchCase`\n * @see `NgSwitchDefault`\n * @see [Structural Directives](guide/structural-directives)\n *\n */\nclass NgSwitch {\n constructor() {\n this._defaultViews = [];\n this._defaultUsed = false;\n this._caseCount = 0;\n this._lastCaseCheckIndex = 0;\n this._lastCasesMatched = false;\n }\n set ngSwitch(newValue) {\n this._ngSwitch = newValue;\n if (this._caseCount === 0) {\n this._updateDefaultCases(true);\n }\n }\n /** @internal */\n _addCase() {\n return this._caseCount++;\n }\n /** @internal */\n _addDefault(view) {\n this._defaultViews.push(view);\n }\n /** @internal */\n _matchCase(value) {\n const matched = value == this._ngSwitch;\n this._lastCasesMatched = this._lastCasesMatched || matched;\n this._lastCaseCheckIndex++;\n if (this._lastCaseCheckIndex === this._caseCount) {\n this._updateDefaultCases(!this._lastCasesMatched);\n this._lastCaseCheckIndex = 0;\n this._lastCasesMatched = false;\n }\n return matched;\n }\n _updateDefaultCases(useDefault) {\n if (this._defaultViews.length > 0 && useDefault !== this._defaultUsed) {\n this._defaultUsed = useDefault;\n for (const defaultView of this._defaultViews) {\n defaultView.enforceState(useDefault);\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NgSwitch, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: NgSwitch, isStandalone: true, selector: \"[ngSwitch]\", inputs: { ngSwitch: \"ngSwitch\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NgSwitch, decorators: [{\n type: Directive,\n args: [{\n selector: '[ngSwitch]',\n standalone: true,\n }]\n }], propDecorators: { ngSwitch: [{\n type: Input\n }] } });\n/**\n * @ngModule CommonModule\n *\n * @description\n * Provides a switch case expression to match against an enclosing `ngSwitch` expression.\n * When the expressions match, the given `NgSwitchCase` template is rendered.\n * If multiple match expressions match the switch expression value, all of them are displayed.\n *\n * @usageNotes\n *\n * Within a switch container, `*ngSwitchCase` statements specify the match expressions\n * as attributes. Include `*ngSwitchDefault` as the final case.\n *\n * ```\n * <container-element [ngSwitch]=\"switch_expression\">\n * <some-element *ngSwitchCase=\"match_expression_1\">...</some-element>\n * ...\n * <some-element *ngSwitchDefault>...</some-element>\n * </container-element>\n * ```\n *\n * Each switch-case statement contains an in-line HTML template or template reference\n * that defines the subtree to be selected if the value of the match expression\n * matches the value of the switch expression.\n *\n * Unlike JavaScript, which uses strict equality, Angular uses loose equality.\n * This means that the empty string, `\"\"` matches 0.\n *\n * @publicApi\n * @see `NgSwitch`\n * @see `NgSwitchDefault`\n *\n */\nclass NgSwitchCase {\n constructor(viewContainer, templateRef, ngSwitch) {\n this.ngSwitch = ngSwitch;\n if ((typeof ngDevMode === 'undefined' || ngDevMode) && !ngSwitch) {\n throwNgSwitchProviderNotFoundError('ngSwitchCase', 'NgSwitchCase');\n }\n ngSwitch._addCase();\n this._view = new SwitchView(viewContainer, templateRef);\n }\n /**\n * Performs case matching. For internal use only.\n * @nodoc\n */\n ngDoCheck() {\n this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NgSwitchCase, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: NgSwitchCase, isStandalone: true, selector: \"[ngSwitchCase]\", inputs: { ngSwitchCase: \"ngSwitchCase\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NgSwitchCase, decorators: [{\n type: Directive,\n args: [{\n selector: '[ngSwitchCase]',\n standalone: true,\n }]\n }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: NgSwitch, decorators: [{\n type: Optional\n }, {\n type: Host\n }] }]; }, propDecorators: { ngSwitchCase: [{\n type: Input\n }] } });\n/**\n * @ngModule CommonModule\n *\n * @description\n *\n * Creates a view that is rendered when no `NgSwitchCase` expressions\n * match the `NgSwitch` expression.\n * This statement should be the final case in an `NgSwitch`.\n *\n * @publicApi\n * @see `NgSwitch`\n * @see `NgSwitchCase`\n *\n */\nclass NgSwitchDefault {\n constructor(viewContainer, templateRef, ngSwitch) {\n if ((typeof ngDevMode === 'undefined' || ngDevMode) && !ngSwitch) {\n throwNgSwitchProviderNotFoundError('ngSwitchDefault', 'NgSwitchDefault');\n }\n ngSwitch._addDefault(new SwitchView(viewContainer, templateRef));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NgSwitchDefault, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: NgSwitchDefault, isStandalone: true, selector: \"[ngSwitchDefault]\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NgSwitchDefault, decorators: [{\n type: Directive,\n args: [{\n selector: '[ngSwitchDefault]',\n standalone: true,\n }]\n }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: NgSwitch, decorators: [{\n type: Optional\n }, {\n type: Host\n }] }]; } });\nfunction throwNgSwitchProviderNotFoundError(attrName, directiveName) {\n throw new ɵRuntimeError(2000 /* RuntimeErrorCode.PARENT_NG_SWITCH_NOT_FOUND */, `An element with the \"${attrName}\" attribute ` +\n `(matching the \"${directiveName}\" directive) must be located inside an element with the \"ngSwitch\" attribute ` +\n `(matching \"NgSwitch\" directive)`);\n}\n\n/**\n * @ngModule CommonModule\n *\n * @usageNotes\n * ```\n * <some-element [ngPlural]=\"value\">\n * <ng-template ngPluralCase=\"=0\">there is nothing</ng-template>\n * <ng-template ngPluralCase=\"=1\">there is one</ng-template>\n * <ng-template ngPluralCase=\"few\">there are a few</ng-template>\n * </some-element>\n * ```\n *\n * @description\n *\n * Adds / removes DOM sub-trees based on a numeric value. Tailored for pluralization.\n *\n * Displays DOM sub-trees that match the switch expression value, or failing that, DOM sub-trees\n * that match the switch expression's pluralization category.\n *\n * To use this directive you must provide a container element that sets the `[ngPlural]` attribute\n * to a switch expression. Inner elements with a `[ngPluralCase]` will display based on their\n * expression:\n * - if `[ngPluralCase]` is set to a value starting with `=`, it will only display if the value\n * matches the switch expression exactly,\n * - otherwise, the view will be treated as a \"category match\", and will only display if exact\n * value matches aren't found and the value maps to its category for the defined locale.\n *\n * See http://cldr.unicode.org/index/cldr-spec/plural-rules\n *\n * @publicApi\n */\nclass NgPlural {\n constructor(_localization) {\n this._localization = _localization;\n this._caseViews = {};\n }\n set ngPlural(value) {\n this._updateView(value);\n }\n addCase(value, switchView) {\n this._caseViews[value] = switchView;\n }\n _updateView(switchValue) {\n this._clearViews();\n const cases = Object.keys(this._caseViews);\n const key = getPluralCategory(switchValue, cases, this._localization);\n this._activateView(this._caseViews[key]);\n }\n _clearViews() {\n if (this._activeView)\n this._activeView.destroy();\n }\n _activateView(view) {\n if (view) {\n this._activeView = view;\n this._activeView.create();\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NgPlural, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: NgPlural, isStandalone: true, selector: \"[ngPlural]\", inputs: { ngPlural: \"ngPlural\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NgPlural, decorators: [{\n type: Directive,\n args: [{\n selector: '[ngPlural]',\n standalone: true,\n }]\n }], ctorParameters: function () { return [{ type: NgLocalization }]; }, propDecorators: { ngPlural: [{\n type: Input\n }] } });\n/**\n * @ngModule CommonModule\n *\n * @description\n *\n * Creates a view that will be added/removed from the parent {@link NgPlural} when the\n * given expression matches the plural expression according to CLDR rules.\n *\n * @usageNotes\n * ```\n * <some-element [ngPlural]=\"value\">\n * <ng-template ngPluralCase=\"=0\">...</ng-template>\n * <ng-template ngPluralCase=\"other\">...</ng-template>\n * </some-element>\n *```\n *\n * See {@link NgPlural} for more details and example.\n *\n * @publicApi\n */\nclass NgPluralCase {\n constructor(value, template, viewContainer, ngPlural) {\n this.value = value;\n const isANumber = !isNaN(Number(value));\n ngPlural.addCase(isANumber ? `=${value}` : value, new SwitchView(viewContainer, template));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NgPluralCase, deps: [{ token: 'ngPluralCase', attribute: true }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: NgPlural, host: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: NgPluralCase, isStandalone: true, selector: \"[ngPluralCase]\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NgPluralCase, decorators: [{\n type: Directive,\n args: [{\n selector: '[ngPluralCase]',\n standalone: true,\n }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Attribute,\n args: ['ngPluralCase']\n }] }, { type: i0.TemplateRef }, { type: i0.ViewContainerRef }, { type: NgPlural, decorators: [{\n type: Host\n }] }]; } });\n\n/**\n * @ngModule CommonModule\n *\n * @usageNotes\n *\n * Set the font of the containing element to the result of an expression.\n *\n * ```\n * <some-element [ngStyle]=\"{'font-style': styleExp}\">...</some-element>\n * ```\n *\n * Set the width of the containing element to a pixel value returned by an expression.\n *\n * ```\n * <some-element [ngStyle]=\"{'max-width.px': widthExp}\">...</some-element>\n * ```\n *\n * Set a collection of style values using an expression that returns key-value pairs.\n *\n * ```\n * <some-element [ngStyle]=\"objExp\">...</some-element>\n * ```\n *\n * @description\n *\n * An attribute directive that updates styles for the containing HTML element.\n * Sets one or more style properties, specified as colon-separated key-value pairs.\n * The key is a style name, with an optional `.<unit>` suffix\n * (such as 'top.px', 'font-style.em').\n * The value is an expression to be evaluated.\n * The resulting non-null value, expressed in the given unit,\n * is assigned to the given style property.\n * If the result of evaluation is null, the corresponding style is removed.\n *\n * @publicApi\n */\nclass NgStyle {\n constructor(_ngEl, _differs, _renderer) {\n this._ngEl = _ngEl;\n this._differs = _differs;\n this._renderer = _renderer;\n this._ngStyle = null;\n this._differ = null;\n }\n set ngStyle(values) {\n this._ngStyle = values;\n if (!this._differ && values) {\n this._differ = this._differs.find(values).create();\n }\n }\n ngDoCheck() {\n if (this._differ) {\n const changes = this._differ.diff(this._ngStyle);\n if (changes) {\n this._applyChanges(changes);\n }\n }\n }\n _setStyle(nameAndUnit, value) {\n const [name, unit] = nameAndUnit.split('.');\n const flags = name.indexOf('-') === -1 ? undefined : RendererStyleFlags2.DashCase;\n if (value != null) {\n this._renderer.setStyle(this._ngEl.nativeElement, name, unit ? `${value}${unit}` : value, flags);\n }\n else {\n this._renderer.removeStyle(this._ngEl.nativeElement, name, flags);\n }\n }\n _applyChanges(changes) {\n changes.forEachRemovedItem((record) => this._setStyle(record.key, null));\n changes.forEachAddedItem((record) => this._setStyle(record.key, record.currentValue));\n changes.forEachChangedItem((record) => this._setStyle(record.key, record.currentValue));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NgStyle, deps: [{ token: i0.ElementRef }, { token: i0.KeyValueDiffers }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: NgStyle, isStandalone: true, selector: \"[ngStyle]\", inputs: { ngStyle: \"ngStyle\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NgStyle, decorators: [{\n type: Directive,\n args: [{\n selector: '[ngStyle]',\n standalone: true,\n }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.KeyValueDiffers }, { type: i0.Renderer2 }]; }, propDecorators: { ngStyle: [{\n type: Input,\n args: ['ngStyle']\n }] } });\n\n/**\n * @ngModule CommonModule\n *\n * @description\n *\n * Inserts an embedded view from a prepared `TemplateRef`.\n *\n * You can attach a context object to the `EmbeddedViewRef` by setting `[ngTemplateOutletContext]`.\n * `[ngTemplateOutletContext]` should be an object, the object's keys will be available for binding\n * by the local template `let` declarations.\n *\n * @usageNotes\n * ```\n * <ng-container *ngTemplateOutlet=\"templateRefExp; context: contextExp\"></ng-container>\n * ```\n *\n * Using the key `$implicit` in the context object will set its value as default.\n *\n * ### Example\n *\n * {@example common/ngTemplateOutlet/ts/module.ts region='NgTemplateOutlet'}\n *\n * @publicApi\n */\nclass NgTemplateOutlet {\n constructor(_viewContainerRef) {\n this._viewContainerRef = _viewContainerRef;\n this._viewRef = null;\n /**\n * A context object to attach to the {@link EmbeddedViewRef}. This should be an\n * object, the object's keys will be available for binding by the local template `let`\n * declarations.\n * Using the key `$implicit` in the context object will set its value as default.\n */\n this.ngTemplateOutletContext = null;\n /**\n * A string defining the template reference and optionally the context object for the template.\n */\n this.ngTemplateOutlet = null;\n /** Injector to be used within the embedded view. */\n this.ngTemplateOutletInjector = null;\n }\n /** @nodoc */\n ngOnChanges(changes) {\n if (changes['ngTemplateOutlet'] || changes['ngTemplateOutletInjector']) {\n const viewContainerRef = this._viewContainerRef;\n if (this._viewRef) {\n viewContainerRef.remove(viewContainerRef.indexOf(this._viewRef));\n }\n if (this.ngTemplateOutlet) {\n const { ngTemplateOutlet: template, ngTemplateOutletContext: context, ngTemplateOutletInjector: injector, } = this;\n this._viewRef =\n viewContainerRef.createEmbeddedView(template, context, injector ? { injector } : undefined);\n }\n else {\n this._viewRef = null;\n }\n }\n else if (this._viewRef && changes['ngTemplateOutletContext'] && this.ngTemplateOutletContext) {\n this._viewRef.context = this.ngTemplateOutletContext;\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NgTemplateOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: NgTemplateOutlet, isStandalone: true, selector: \"[ngTemplateOutlet]\", inputs: { ngTemplateOutletContext: \"ngTemplateOutletContext\", ngTemplateOutlet: \"ngTemplateOutlet\", ngTemplateOutletInjector: \"ngTemplateOutletInjector\" }, usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NgTemplateOutlet, decorators: [{\n type: Directive,\n args: [{\n selector: '[ngTemplateOutlet]',\n standalone: true,\n }]\n }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { ngTemplateOutletContext: [{\n type: Input\n }], ngTemplateOutlet: [{\n type: Input\n }], ngTemplateOutletInjector: [{\n type: Input\n }] } });\n\n/**\n * A collection of Angular directives that are likely to be used in each and every Angular\n * application.\n */\nconst COMMON_DIRECTIVES = [\n NgClass,\n NgComponentOutlet,\n NgForOf,\n NgIf,\n NgTemplateOutlet,\n NgStyle,\n NgSwitch,\n NgSwitchCase,\n NgSwitchDefault,\n NgPlural,\n NgPluralCase,\n];\n\nfunction invalidPipeArgumentError(type, value) {\n return new ɵRuntimeError(2100 /* RuntimeErrorCode.INVALID_PIPE_ARGUMENT */, ngDevMode && `InvalidPipeArgument: '${value}' for pipe '${ɵstringify(type)}'`);\n}\n\nclass SubscribableStrategy {\n createSubscription(async, updateLatestValue) {\n // Subscription can be side-effectful, and we don't want any signal reads which happen in the\n // side effect of the subscription to be tracked by a component's template when that\n // subscription is triggered via the async pipe. So we wrap the subscription in `untracked` to\n // decouple from the current reactive context.\n //\n // `untracked` also prevents signal _writes_ which happen in the subscription side effect from\n // being treated as signal writes during the template evaluation (which throws errors).\n return untracked(() => async.subscribe({\n next: updateLatestValue,\n error: (e) => {\n throw e;\n }\n }));\n }\n dispose(subscription) {\n // See the comment in `createSubscription` above on the use of `untracked`.\n untracked(() => subscription.unsubscribe());\n }\n}\nclass PromiseStrategy {\n createSubscription(async, updateLatestValue) {\n return async.then(updateLatestValue, e => {\n throw e;\n });\n }\n dispose(subscription) { }\n}\nconst _promiseStrategy = new PromiseStrategy();\nconst _subscribableStrategy = new SubscribableStrategy();\n/**\n * @ngModule CommonModule\n * @description\n *\n * Unwraps a value from an asynchronous primitive.\n *\n * The `async` pipe subscribes to an `Observable` or `Promise` and returns the latest value it has\n * emitted. When a new value is emitted, the `async` pipe marks the component to be checked for\n * changes. When the component gets destroyed, the `async` pipe unsubscribes automatically to avoid\n * potential memory leaks. When the reference of the expression changes, the `async` pipe\n * automatically unsubscribes from the old `Observable` or `Promise` and subscribes to the new one.\n *\n * @usageNotes\n *\n * ### Examples\n *\n * This example binds a `Promise` to the view. Clicking the `Resolve` button resolves the\n * promise.\n *\n * {@example common/pipes/ts/async_pipe.ts region='AsyncPipePromise'}\n *\n * It's also possible to use `async` with Observables. The example below binds the `time` Observable\n * to the view. The Observable continuously updates the view with the current time.\n *\n * {@example common/pipes/ts/async_pipe.ts region='AsyncPipeObservable'}\n *\n * @publicApi\n */\nclass AsyncPipe {\n constructor(ref) {\n this._latestValue = null;\n this._subscription = null;\n this._obj = null;\n this._strategy = null;\n // Assign `ref` into `this._ref` manually instead of declaring `_ref` in the constructor\n // parameter list, as the type of `this._ref` includes `null` unlike the type of `ref`.\n this._ref = ref;\n }\n ngOnDestroy() {\n if (this._subscription) {\n this._dispose();\n }\n // Clear the `ChangeDetectorRef` and its association with the view data, to mitigate\n // potential memory leaks in Observables that could otherwise cause the view data to\n // be retained.\n // https://github.com/angular/angular/issues/17624\n this._ref = null;\n }\n transform(obj) {\n if (!this._obj) {\n if (obj) {\n this._subscribe(obj);\n }\n return this._latestValue;\n }\n if (obj !== this._obj) {\n this._dispose();\n return this.transform(obj);\n }\n return this._latestValue;\n }\n _subscribe(obj) {\n this._obj = obj;\n this._strategy = this._selectStrategy(obj);\n this._subscription = this._strategy.createSubscription(obj, (value) => this._updateLatestValue(obj, value));\n }\n _selectStrategy(obj) {\n if (ɵisPromise(obj)) {\n return _promiseStrategy;\n }\n if (ɵisSubscribable(obj)) {\n return _subscribableStrategy;\n }\n throw invalidPipeArgumentError(AsyncPipe, obj);\n }\n _dispose() {\n // Note: `dispose` is only called if a subscription has been initialized before, indicating\n // that `this._strategy` is also available.\n this._strategy.dispose(this._subscription);\n this._latestValue = null;\n this._subscription = null;\n this._obj = null;\n }\n _updateLatestValue(async, value) {\n if (async === this._obj) {\n this._latestValue = value;\n // Note: `this._ref` is only cleared in `ngOnDestroy` so is known to be available when a\n // value is being updated.\n this._ref.markForCheck();\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AsyncPipe, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: AsyncPipe, isStandalone: true, name: \"async\", pure: false }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AsyncPipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'async',\n pure: false,\n standalone: true,\n }]\n }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; } });\n\n/**\n * Transforms text to all lower case.\n *\n * @see `UpperCasePipe`\n * @see `TitleCasePipe`\n * @usageNotes\n *\n * The following example defines a view that allows the user to enter\n * text, and then uses the pipe to convert the input text to all lower case.\n *\n * <code-example path=\"common/pipes/ts/lowerupper_pipe.ts\" region='LowerUpperPipe'></code-example>\n *\n * @ngModule CommonModule\n * @publicApi\n */\nclass LowerCasePipe {\n transform(value) {\n if (value == null)\n return null;\n if (typeof value !== 'string') {\n throw invalidPipeArgumentError(LowerCasePipe, value);\n }\n return value.toLowerCase();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: LowerCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: LowerCasePipe, isStandalone: true, name: \"lowercase\" }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: LowerCasePipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'lowercase',\n standalone: true,\n }]\n }] });\n//\n// Regex below matches any Unicode word and number compatible with ES5. In ES2018 the same result\n// can be achieved by using /[0-9\\p{L}]\\S*/gu and also known as Unicode Property Escapes\n// (https://2ality.com/2017/07/regexp-unicode-property-escapes.html). Since there is no\n// transpilation of this functionality down to ES5 without external tool, the only solution is\n// to use already transpiled form. Example can be found here -\n// https://mothereff.in/regexpu#input=var+regex+%3D+%2F%5B0-9%5Cp%7BL%7D%5D%5CS*%2Fgu%3B%0A%0A&unicodePropertyEscape=1\n//\nconst unicodeWordMatch = /(?:[0-9A-Za-z\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0560-\\u0588\\u05D0-\\u05EA\\u05EF-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u0860-\\u086A\\u0870-\\u0887\\u0889-\\u088E\\u08A0-\\u08C9\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B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0E8C-\\u0EA3\\u0EA5\\u0EA7-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F5\\u13F8-\\u13FD\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16F1-\\u16F8\\u1700-\\u1711\\u171F-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1878\\u1880-\\u1884\\u1887-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4C\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1C80-\\u1C88\\u1C90-\\u1CBA\\u1CBD-\\u1CBF\\u1CE9-\\u1CEC\\u1CEE-\\u1CF3\\u1CF5\\u1CF6\\u1CFA\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2183\\u2184\\u2C00-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005\\u3006\\u3031-\\u3035\\u303B\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312F\\u3131-\\u318E\\u31A0-\\u31BF\\u31F0-\\u31FF\\u3400-\\u4DBF\\u4E00-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6E5\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA7CA\\uA7D0\\uA7D1\\uA7D3\\uA7D5-\\uA7D9\\uA7F2-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA8FD\\uA8FE\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B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F35-\\uDF39\\uDF3D\\uDF50\\uDF5D-\\uDF61]|\\uD805[\\uDC00-\\uDC34\\uDC47-\\uDC4A\\uDC5F-\\uDC61\\uDC80-\\uDCAF\\uDCC4\\uDCC5\\uDCC7\\uDD80-\\uDDAE\\uDDD8-\\uDDDB\\uDE00-\\uDE2F\\uDE44\\uDE80-\\uDEAA\\uDEB8\\uDF00-\\uDF1A\\uDF40-\\uDF46]|\\uD806[\\uDC00-\\uDC2B\\uDCA0-\\uDCDF\\uDCFF-\\uDD06\\uDD09\\uDD0C-\\uDD13\\uDD15\\uDD16\\uDD18-\\uDD2F\\uDD3F\\uDD41\\uDDA0-\\uDDA7\\uDDAA-\\uDDD0\\uDDE1\\uDDE3\\uDE00\\uDE0B-\\uDE32\\uDE3A\\uDE50\\uDE5C-\\uDE89\\uDE9D\\uDEB0-\\uDEF8]|\\uD807[\\uDC00-\\uDC08\\uDC0A-\\uDC2E\\uDC40\\uDC72-\\uDC8F\\uDD00-\\uDD06\\uDD08\\uDD09\\uDD0B-\\uDD30\\uDD46\\uDD60-\\uDD65\\uDD67\\uDD68\\uDD6A-\\uDD89\\uDD98\\uDEE0-\\uDEF2\\uDFB0]|\\uD808[\\uDC00-\\uDF99]|\\uD809[\\uDC80-\\uDD43]|\\uD80B[\\uDF90-\\uDFF0]|[\\uD80C\\uD81C-\\uD820\\uD822\\uD840-\\uD868\\uD86A-\\uD86C\\uD86F-\\uD872\\uD874-\\uD879\\uD880-\\uD883][\\uDC00-\\uDFFF]|\\uD80D[\\uDC00-\\uDC2E]|\\uD811[\\uDC00-\\uDE46]|\\uD81A[\\uDC00-\\uDE38\\uDE40-\\uDE5E\\uDE70-\\uDEBE\\uDED0-\\uDEED\\uDF00-\\uDF2F\\uDF40-\\uDF43\\uDF63-\\uDF77\\uDF7D-\\uDF8F]|\\uD81B[\\uDE40-\\uDE7F\\uDF00-\\uDF4A\\uDF50\\uDF93-\\uDF9F\\uDFE0\\uDFE1\\uDFE3]|\\uD821[\\uD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DE5F\\uDE61\\uDE62\\uDE64\\uDE67-\\uDE6A\\uDE6C-\\uDE72\\uDE74-\\uDE77\\uDE79-\\uDE7C\\uDE7E\\uDE80-\\uDE89\\uDE8B-\\uDE9B\\uDEA1-\\uDEA3\\uDEA5-\\uDEA9\\uDEAB-\\uDEBB]|\\uD869[\\uDC00-\\uDEDF\\uDF00-\\uDFFF]|\\uD86D[\\uDC00-\\uDF38\\uDF40-\\uDFFF]|\\uD86E[\\uDC00-\\uDC1D\\uDC20-\\uDFFF]|\\uD873[\\uDC00-\\uDEA1\\uDEB0-\\uDFFF]|\\uD87A[\\uDC00-\\uDFE0]|\\uD87E[\\uDC00-\\uDE1D]|\\uD884[\\uDC00-\\uDF4A])\\S*/g;\n/**\n * Transforms text to title case.\n * Capitalizes the first letter of each word and transforms the\n * rest of the word to lower case.\n * Words are delimited by any whitespace character, such as a space, tab, or line-feed character.\n *\n * @see `LowerCasePipe`\n * @see `UpperCasePipe`\n *\n * @usageNotes\n * The following example shows the result of transforming various strings into title case.\n *\n * <code-example path=\"common/pipes/ts/titlecase_pipe.ts\" region='TitleCasePipe'></code-example>\n *\n * @ngModule CommonModule\n * @publicApi\n */\nclass TitleCasePipe {\n transform(value) {\n if (value == null)\n return null;\n if (typeof value !== 'string') {\n throw invalidPipeArgumentError(TitleCasePipe, value);\n }\n return value.replace(unicodeWordMatch, (txt => txt[0].toUpperCase() + txt.slice(1).toLowerCase()));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: TitleCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: TitleCasePipe, isStandalone: true, name: \"titlecase\" }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: TitleCasePipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'titlecase',\n standalone: true,\n }]\n }] });\n/**\n * Transforms text to all upper case.\n * @see `LowerCasePipe`\n * @see `TitleCasePipe`\n *\n * @ngModule CommonModule\n * @publicApi\n */\nclass UpperCasePipe {\n transform(value) {\n if (value == null)\n return null;\n if (typeof value !== 'string') {\n throw invalidPipeArgumentError(UpperCasePipe, value);\n }\n return value.toUpperCase();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: UpperCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: UpperCasePipe, isStandalone: true, name: \"uppercase\" }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: UpperCasePipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'uppercase',\n standalone: true,\n }]\n }] });\n\n/**\n * The default date format of Angular date pipe, which corresponds to the following format:\n * `'MMM d,y'` (e.g. `Jun 15, 2015`)\n */\nconst DEFAULT_DATE_FORMAT = 'mediumDate';\n\n/**\n * Optionally-provided default timezone to use for all instances of `DatePipe` (such as `'+0430'`).\n * If the value isn't provided, the `DatePipe` will use the end-user's local system timezone.\n *\n * @deprecated use DATE_PIPE_DEFAULT_OPTIONS token to configure DatePipe\n */\nconst DATE_PIPE_DEFAULT_TIMEZONE = new InjectionToken('DATE_PIPE_DEFAULT_TIMEZONE');\n/**\n * DI token that allows to provide default configuration for the `DatePipe` instances in an\n * application. The value is an object which can include the following fields:\n * - `dateFormat`: configures the default date format. If not provided, the `DatePipe`\n * will use the 'mediumDate' as a value.\n * - `timezone`: configures the default timezone. If not provided, the `DatePipe` will\n * use the end-user's local system timezone.\n *\n * @see `DatePipeConfig`\n *\n * @usageNotes\n *\n * Various date pipe default values can be overwritten by providing this token with\n * the value that has this interface.\n *\n * For example:\n *\n * Override the default date format by providing a value using the token:\n * ```typescript\n * providers: [\n * {provide: DATE_PIPE_DEFAULT_OPTIONS, useValue: {dateFormat: 'shortDate'}}\n * ]\n * ```\n *\n * Override the default timezone by providing a value using the token:\n * ```typescript\n * providers: [\n * {provide: DATE_PIPE_DEFAULT_OPTIONS, useValue: {timezone: '-1200'}}\n * ]\n * ```\n */\nconst DATE_PIPE_DEFAULT_OPTIONS = new InjectionToken('DATE_PIPE_DEFAULT_OPTIONS');\n// clang-format off\n/**\n * @ngModule CommonModule\n * @description\n *\n * Formats a date value according to locale rules.\n *\n * `DatePipe` is executed only when it detects a pure change to the input value.\n * A pure change is either a change to a primitive input value\n * (such as `String`, `Number`, `Boolean`, or `Symbol`),\n * or a changed object reference (such as `Date`, `Array`, `Function`, or `Object`).\n *\n * Note that mutating a `Date` object does not cause the pipe to be rendered again.\n * To ensure that the pipe is executed, you must create a new `Date` object.\n *\n * Only the `en-US` locale data comes with Angular. To localize dates\n * in another language, you must import the corresponding locale data.\n * See the [I18n guide](guide/i18n-common-format-data-locale) for more information.\n *\n * The time zone of the formatted value can be specified either by passing it in as the second\n * parameter of the pipe, or by setting the default through the `DATE_PIPE_DEFAULT_OPTIONS`\n * injection token. The value that is passed in as the second parameter takes precedence over\n * the one defined using the injection token.\n *\n * @see `formatDate()`\n *\n *\n * @usageNotes\n *\n * The result of this pipe is not reevaluated when the input is mutated. To avoid the need to\n * reformat the date on every change-detection cycle, treat the date as an immutable object\n * and change the reference when the pipe needs to run again.\n *\n * ### Pre-defined format options\n *\n * | Option | Equivalent to | Examples (given in `en-US` locale) |\n * |---------------|-------------------------------------|-------------------------------------------------|\n * | `'short'` | `'M/d/yy, h:mm a'` | `6/15/15, 9:03 AM` |\n * | `'medium'` | `'MMM d, y, h:mm:ss a'` | `Jun 15, 2015, 9:03:01 AM` |\n * | `'long'` | `'MMMM d, y, h:mm:ss a z'` | `June 15, 2015 at 9:03:01 AM GMT+1` |\n * | `'full'` | `'EEEE, MMMM d, y, h:mm:ss a zzzz'` | `Monday, June 15, 2015 at 9:03:01 AM GMT+01:00` |\n * | `'shortDate'` | `'M/d/yy'` | `6/15/15` |\n * | `'mediumDate'`| `'MMM d, y'` | `Jun 15, 2015` |\n * | `'longDate'` | `'MMMM d, y'` | `June 15, 2015` |\n * | `'fullDate'` | `'EEEE, MMMM d, y'` | `Monday, June 15, 2015` |\n * | `'shortTime'` | `'h:mm a'` | `9:03 AM` |\n * | `'mediumTime'`| `'h:mm:ss a'` | `9:03:01 AM` |\n * | `'longTime'` | `'h:mm:ss a z'` | `9:03:01 AM GMT+1` |\n * | `'fullTime'` | `'h:mm:ss a zzzz'` | `9:03:01 AM GMT+01:00` |\n *\n * ### Custom format options\n *\n * You can construct a format string using symbols to specify the components\n * of a date-time value, as described in the following table.\n * Format details depend on the locale.\n * Fields marked with (*) are only available in the extra data set for the given locale.\n *\n * | Field type | Format | Description | Example Value |\n * |-------------------- |-------------|---------------------------------------------------------------|------------------------------------------------------------|\n * | Era | G, GG & GGG | Abbreviated | AD |\n * | | GGGG | Wide | Anno Domini |\n * | | GGGGG | Narrow | A |\n * | Year | y | Numeric: minimum digits | 2, 20, 201, 2017, 20173 |\n * | | yy | Numeric: 2 digits + zero padded | 02, 20, 01, 17, 73 |\n * | | yyy | Numeric: 3 digits + zero padded | 002, 020, 201, 2017, 20173 |\n * | | yyyy | Numeric: 4 digits or more + zero padded | 0002, 0020, 0201, 2017, 20173 |\n * | Week-numbering year | Y | Numeric: minimum digits | 2, 20, 201, 2017, 20173 |\n * | | YY | Numeric: 2 digits + zero padded | 02, 20, 01, 17, 73 |\n * | | YYY | Numeric: 3 digits + zero padded | 002, 020, 201, 2017, 20173 |\n * | | YYYY | Numeric: 4 digits or more + zero padded | 0002, 0020, 0201, 2017, 20173 |\n * | Month | M | Numeric: 1 digit | 9, 12 |\n * | | MM | Numeric: 2 digits + zero padded | 09, 12 |\n * | | MMM | Abbreviated | Sep |\n * | | MMMM | Wide | September |\n * | | MMMMM | Narrow | S |\n * | Month standalone | L | Numeric: 1 digit | 9, 12 |\n * | | LL | Numeric: 2 digits + zero padded | 09, 12 |\n * | | LLL | Abbreviated | Sep |\n * | | LLLL | Wide | September |\n * | | LLLLL | Narrow | S |\n * | Week of year | w | Numeric: minimum digits | 1... 53 |\n * | | ww | Numeric: 2 digits + zero padded | 01... 53 |\n * | Week of month | W | Numeric: 1 digit | 1... 5 |\n * | Day of month | d | Numeric: minimum digits | 1 |\n * | | dd | Numeric: 2 digits + zero padded | 01 |\n * | Week day | E, EE & EEE | Abbreviated | Tue |\n * | | EEEE | Wide | Tuesday |\n * | | EEEEE | Narrow | T |\n * | | EEEEEE | Short | Tu |\n * | Week day standalone | c, cc | Numeric: 1 digit | 2 |\n * | | ccc | Abbreviated | Tue |\n * | | cccc | Wide | Tuesday |\n * | | ccccc | Narrow | T |\n * | | cccccc | Short | Tu |\n * | Period | a, aa & aaa | Abbreviated | am/pm or AM/PM |\n * | | aaaa | Wide (fallback to `a` when missing) | ante meridiem/post meridiem |\n * | | aaaaa | Narrow | a/p |\n * | Period* | B, BB & BBB | Abbreviated | mid. |\n * | | BBBB | Wide | am, pm, midnight, noon, morning, afternoon, evening, night |\n * | | BBBBB | Narrow | md |\n * | Period standalone* | b, bb & bbb | Abbreviated | mid. |\n * | | bbbb | Wide | am, pm, midnight, noon, morning, afternoon, evening, night |\n * | | bbbbb | Narrow | md |\n * | Hour 1-12 | h | Numeric: minimum digits | 1, 12 |\n * | | hh | Numeric: 2 digits + zero padded | 01, 12 |\n * | Hour 0-23 | H | Numeric: minimum digits | 0, 23 |\n * | | HH | Numeric: 2 digits + zero padded | 00, 23 |\n * | Minute | m | Numeric: minimum digits | 8, 59 |\n * | | mm | Numeric: 2 digits + zero padded | 08, 59 |\n * | Second | s | Numeric: minimum digits | 0... 59 |\n * | | ss | Numeric: 2 digits + zero padded | 00... 59 |\n * | Fractional seconds | S | Numeric: 1 digit | 0... 9 |\n * | | SS | Numeric: 2 digits + zero padded | 00... 99 |\n * | | SSS | Numeric: 3 digits + zero padded (= milliseconds) | 000... 999 |\n * | Zone | z, zz & zzz | Short specific non location format (fallback to O) | GMT-8 |\n * | | zzzz | Long specific non location format (fallback to OOOO) | GMT-08:00 |\n * | | Z, ZZ & ZZZ | ISO8601 basic format | -0800 |\n * | | ZZZZ | Long localized GMT format | GMT-8:00 |\n * | | ZZZZZ | ISO8601 extended format + Z indicator for offset 0 (= XXXXX) | -08:00 |\n * | | O, OO & OOO | Short localized GMT format | GMT-8 |\n * | | OOOO | Long localized GMT format | GMT-08:00 |\n *\n *\n * ### Format examples\n *\n * These examples transform a date into various formats,\n * assuming that `dateObj` is a JavaScript `Date` object for\n * year: 2015, month: 6, day: 15, hour: 21, minute: 43, second: 11,\n * given in the local time for the `en-US` locale.\n *\n * ```\n * {{ dateObj | date }} // output is 'Jun 15, 2015'\n * {{ dateObj | date:'medium' }} // output is 'Jun 15, 2015, 9:43:11 PM'\n * {{ dateObj | date:'shortTime' }} // output is '9:43 PM'\n * {{ dateObj | date:'mm:ss' }} // output is '43:11'\n * ```\n *\n * ### Usage example\n *\n * The following component uses a date pipe to display the current date in different formats.\n *\n * ```\n * @Component({\n * selector: 'date-pipe',\n * template: `<div>\n * <p>Today is {{today | date}}</p>\n * <p>Or if you prefer, {{today | date:'fullDate'}}</p>\n * <p>The time is {{today | date:'h:mm a z'}}</p>\n * </div>`\n * })\n * // Get the current date and time as a date-time value.\n * export class DatePipeComponent {\n * today: number = Date.now();\n * }\n * ```\n *\n * @publicApi\n */\n// clang-format on\nclass DatePipe {\n constructor(locale, defaultTimezone, defaultOptions) {\n this.locale = locale;\n this.defaultTimezone = defaultTimezone;\n this.defaultOptions = defaultOptions;\n }\n transform(value, format, timezone, locale) {\n if (value == null || value === '' || value !== value)\n return null;\n try {\n const _format = format ?? this.defaultOptions?.dateFormat ?? DEFAULT_DATE_FORMAT;\n const _timezone = timezone ?? this.defaultOptions?.timezone ?? this.defaultTimezone ?? undefined;\n return formatDate(value, _format, locale || this.locale, _timezone);\n }\n catch (error) {\n throw invalidPipeArgumentError(DatePipe, error.message);\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DatePipe, deps: [{ token: LOCALE_ID }, { token: DATE_PIPE_DEFAULT_TIMEZONE, optional: true }, { token: DATE_PIPE_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: DatePipe, isStandalone: true, name: \"date\" }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DatePipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'date',\n pure: true,\n standalone: true,\n }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [LOCALE_ID]\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [DATE_PIPE_DEFAULT_TIMEZONE]\n }, {\n type: Optional\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [DATE_PIPE_DEFAULT_OPTIONS]\n }, {\n type: Optional\n }] }]; } });\n\nconst _INTERPOLATION_REGEXP = /#/g;\n/**\n * @ngModule CommonModule\n * @description\n *\n * Maps a value to a string that pluralizes the value according to locale rules.\n *\n * @usageNotes\n *\n * ### Example\n *\n * {@example common/pipes/ts/i18n_pipe.ts region='I18nPluralPipeComponent'}\n *\n * @publicApi\n */\nclass I18nPluralPipe {\n constructor(_localization) {\n this._localization = _localization;\n }\n /**\n * @param value the number to be formatted\n * @param pluralMap an object that mimics the ICU format, see\n * https://unicode-org.github.io/icu/userguide/format_parse/messages/.\n * @param locale a `string` defining the locale to use (uses the current {@link LOCALE_ID} by\n * default).\n */\n transform(value, pluralMap, locale) {\n if (value == null)\n return '';\n if (typeof pluralMap !== 'object' || pluralMap === null) {\n throw invalidPipeArgumentError(I18nPluralPipe, pluralMap);\n }\n const key = getPluralCategory(value, Object.keys(pluralMap), this._localization, locale);\n return pluralMap[key].replace(_INTERPOLATION_REGEXP, value.toString());\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: I18nPluralPipe, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: I18nPluralPipe, isStandalone: true, name: \"i18nPlural\" }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: I18nPluralPipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'i18nPlural',\n pure: true,\n standalone: true,\n }]\n }], ctorParameters: function () { return [{ type: NgLocalization }]; } });\n\n/**\n * @ngModule CommonModule\n * @description\n *\n * Generic selector that displays the string that matches the current value.\n *\n * If none of the keys of the `mapping` match the `value`, then the content\n * of the `other` key is returned when present, otherwise an empty string is returned.\n *\n * @usageNotes\n *\n * ### Example\n *\n * {@example common/pipes/ts/i18n_pipe.ts region='I18nSelectPipeComponent'}\n *\n * @publicApi\n */\nclass I18nSelectPipe {\n /**\n * @param value a string to be internationalized.\n * @param mapping an object that indicates the text that should be displayed\n * for different values of the provided `value`.\n */\n transform(value, mapping) {\n if (value == null)\n return '';\n if (typeof mapping !== 'object' || typeof value !== 'string') {\n throw invalidPipeArgumentError(I18nSelectPipe, mapping);\n }\n if (mapping.hasOwnProperty(value)) {\n return mapping[value];\n }\n if (mapping.hasOwnProperty('other')) {\n return mapping['other'];\n }\n return '';\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: I18nSelectPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: I18nSelectPipe, isStandalone: true, name: \"i18nSelect\" }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: I18nSelectPipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'i18nSelect',\n pure: true,\n standalone: true,\n }]\n }] });\n\n/**\n * @ngModule CommonModule\n * @description\n *\n * Converts a value into its JSON-format representation. Useful for debugging.\n *\n * @usageNotes\n *\n * The following component uses a JSON pipe to convert an object\n * to JSON format, and displays the string in both formats for comparison.\n *\n * {@example common/pipes/ts/json_pipe.ts region='JsonPipe'}\n *\n * @publicApi\n */\nclass JsonPipe {\n /**\n * @param value A value of any type to convert into a JSON-format string.\n */\n transform(value) {\n return JSON.stringify(value, null, 2);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: JsonPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: JsonPipe, isStandalone: true, name: \"json\", pure: false }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: JsonPipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'json',\n pure: false,\n standalone: true,\n }]\n }] });\n\nfunction makeKeyValuePair(key, value) {\n return { key: key, value: value };\n}\n/**\n * @ngModule CommonModule\n * @description\n *\n * Transforms Object or Map into an array of key value pairs.\n *\n * The output array will be ordered by keys.\n * By default the comparator will be by Unicode point value.\n * You can optionally pass a compareFn if your keys are complex types.\n *\n * @usageNotes\n * ### Examples\n *\n * This examples show how an Object or a Map can be iterated by ngFor with the use of this\n * keyvalue pipe.\n *\n * {@example common/pipes/ts/keyvalue_pipe.ts region='KeyValuePipe'}\n *\n * @publicApi\n */\nclass KeyValuePipe {\n constructor(differs) {\n this.differs = differs;\n this.keyValues = [];\n this.compareFn = defaultComparator;\n }\n transform(input, compareFn = defaultComparator) {\n if (!input || (!(input instanceof Map) && typeof input !== 'object')) {\n return null;\n }\n if (!this.differ) {\n // make a differ for whatever type we've been passed in\n this.differ = this.differs.find(input).create();\n }\n const differChanges = this.differ.diff(input);\n const compareFnChanged = compareFn !== this.compareFn;\n if (differChanges) {\n this.keyValues = [];\n differChanges.forEachItem((r) => {\n this.keyValues.push(makeKeyValuePair(r.key, r.currentValue));\n });\n }\n if (differChanges || compareFnChanged) {\n this.keyValues.sort(compareFn);\n this.compareFn = compareFn;\n }\n return this.keyValues;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: KeyValuePipe, deps: [{ token: i0.KeyValueDiffers }], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: KeyValuePipe, isStandalone: true, name: \"keyvalue\", pure: false }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: KeyValuePipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'keyvalue',\n pure: false,\n standalone: true,\n }]\n }], ctorParameters: function () { return [{ type: i0.KeyValueDiffers }]; } });\nfunction defaultComparator(keyValueA, keyValueB) {\n const a = keyValueA.key;\n const b = keyValueB.key;\n // if same exit with 0;\n if (a === b)\n return 0;\n // make sure that undefined are at the end of the sort.\n if (a === undefined)\n return 1;\n if (b === undefined)\n return -1;\n // make sure that nulls are at the end of the sort.\n if (a === null)\n return 1;\n if (b === null)\n return -1;\n if (typeof a == 'string' && typeof b == 'string') {\n return a < b ? -1 : 1;\n }\n if (typeof a == 'number' && typeof b == 'number') {\n return a - b;\n }\n if (typeof a == 'boolean' && typeof b == 'boolean') {\n return a < b ? -1 : 1;\n }\n // `a` and `b` are of different types. Compare their string values.\n const aString = String(a);\n const bString = String(b);\n return aString == bString ? 0 : aString < bString ? -1 : 1;\n}\n\n/**\n * @ngModule CommonModule\n * @description\n *\n * Formats a value according to digit options and locale rules.\n * Locale determines group sizing and separator,\n * decimal point character, and other locale-specific configurations.\n *\n * @see `formatNumber()`\n *\n * @usageNotes\n *\n * ### digitsInfo\n *\n * The value's decimal representation is specified by the `digitsInfo`\n * parameter, written in the following format:<br>\n *\n * ```\n * {minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}\n * ```\n *\n * - `minIntegerDigits`:\n * The minimum number of integer digits before the decimal point.\n * Default is 1.\n *\n * - `minFractionDigits`:\n * The minimum number of digits after the decimal point.\n * Default is 0.\n *\n * - `maxFractionDigits`:\n * The maximum number of digits after the decimal point.\n * Default is 3.\n *\n * If the formatted value is truncated it will be rounded using the \"to-nearest\" method:\n *\n * ```\n * {{3.6 | number: '1.0-0'}}\n * <!--will output '4'-->\n *\n * {{-3.6 | number:'1.0-0'}}\n * <!--will output '-4'-->\n * ```\n *\n * ### locale\n *\n * `locale` will format a value according to locale rules.\n * Locale determines group sizing and separator,\n * decimal point character, and other locale-specific configurations.\n *\n * When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default.\n *\n * See [Setting your app locale](guide/i18n-common-locale-id).\n *\n * ### Example\n *\n * The following code shows how the pipe transforms values\n * according to various format specifications,\n * where the caller's default locale is `en-US`.\n *\n * <code-example path=\"common/pipes/ts/number_pipe.ts\" region='NumberPipe'></code-example>\n *\n * @publicApi\n */\nclass DecimalPipe {\n constructor(_locale) {\n this._locale = _locale;\n }\n /**\n * @param value The value to be formatted.\n * @param digitsInfo Sets digit and decimal representation.\n * [See more](#digitsinfo).\n * @param locale Specifies what locale format rules to use.\n * [See more](#locale).\n */\n transform(value, digitsInfo, locale) {\n if (!isValue(value))\n return null;\n locale = locale || this._locale;\n try {\n const num = strToNumber(value);\n return formatNumber(num, locale, digitsInfo);\n }\n catch (error) {\n throw invalidPipeArgumentError(DecimalPipe, error.message);\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DecimalPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: DecimalPipe, isStandalone: true, name: \"number\" }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DecimalPipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'number',\n standalone: true,\n }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [LOCALE_ID]\n }] }]; } });\n/**\n * @ngModule CommonModule\n * @description\n *\n * Transforms a number to a percentage\n * string, formatted according to locale rules that determine group sizing and\n * separator, decimal-point character, and other locale-specific\n * configurations.\n *\n * @see `formatPercent()`\n *\n * @usageNotes\n * The following code shows how the pipe transforms numbers\n * into text strings, according to various format specifications,\n * where the caller's default locale is `en-US`.\n *\n * <code-example path=\"common/pipes/ts/percent_pipe.ts\" region='PercentPipe'></code-example>\n *\n * @publicApi\n */\nclass PercentPipe {\n constructor(_locale) {\n this._locale = _locale;\n }\n /**\n *\n * @param value The number to be formatted as a percentage.\n * @param digitsInfo Decimal representation options, specified by a string\n * in the following format:<br>\n * <code>{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}</code>.\n * - `minIntegerDigits`: The minimum number of integer digits before the decimal point.\n * Default is `1`.\n * - `minFractionDigits`: The minimum number of digits after the decimal point.\n * Default is `0`.\n * - `maxFractionDigits`: The maximum number of digits after the decimal point.\n * Default is `0`.\n * @param locale A locale code for the locale format rules to use.\n * When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default.\n * See [Setting your app locale](guide/i18n-common-locale-id).\n */\n transform(value, digitsInfo, locale) {\n if (!isValue(value))\n return null;\n locale = locale || this._locale;\n try {\n const num = strToNumber(value);\n return formatPercent(num, locale, digitsInfo);\n }\n catch (error) {\n throw invalidPipeArgumentError(PercentPipe, error.message);\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PercentPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: PercentPipe, isStandalone: true, name: \"percent\" }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PercentPipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'percent',\n standalone: true,\n }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [LOCALE_ID]\n }] }]; } });\n/**\n * @ngModule CommonModule\n * @description\n *\n * Transforms a number to a currency string, formatted according to locale rules\n * that determine group sizing and separator, decimal-point character,\n * and other locale-specific configurations.\n *\n *\n * @see `getCurrencySymbol()`\n * @see `formatCurrency()`\n *\n * @usageNotes\n * The following code shows how the pipe transforms numbers\n * into text strings, according to various format specifications,\n * where the caller's default locale is `en-US`.\n *\n * <code-example path=\"common/pipes/ts/currency_pipe.ts\" region='CurrencyPipe'></code-example>\n *\n * @publicApi\n */\nclass CurrencyPipe {\n constructor(_locale, _defaultCurrencyCode = 'USD') {\n this._locale = _locale;\n this._defaultCurrencyCode = _defaultCurrencyCode;\n }\n /**\n *\n * @param value The number to be formatted as currency.\n * @param currencyCode The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code,\n * such as `USD` for the US dollar and `EUR` for the euro. The default currency code can be\n * configured using the `DEFAULT_CURRENCY_CODE` injection token.\n * @param display The format for the currency indicator. One of the following:\n * - `code`: Show the code (such as `USD`).\n * - `symbol`(default): Show the symbol (such as `$`).\n * - `symbol-narrow`: Use the narrow symbol for locales that have two symbols for their\n * currency.\n * For example, the Canadian dollar CAD has the symbol `CA$` and the symbol-narrow `$`. If the\n * locale has no narrow symbol, uses the standard symbol for the locale.\n * - String: Use the given string value instead of a code or a symbol.\n * For example, an empty string will suppress the currency & symbol.\n * - Boolean (marked deprecated in v5): `true` for symbol and false for `code`.\n *\n * @param digitsInfo Decimal representation options, specified by a string\n * in the following format:<br>\n * <code>{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}</code>.\n * - `minIntegerDigits`: The minimum number of integer digits before the decimal point.\n * Default is `1`.\n * - `minFractionDigits`: The minimum number of digits after the decimal point.\n * Default is `2`.\n * - `maxFractionDigits`: The maximum number of digits after the decimal point.\n * Default is `2`.\n * If not provided, the number will be formatted with the proper amount of digits,\n * depending on what the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) specifies.\n * For example, the Canadian dollar has 2 digits, whereas the Chilean peso has none.\n * @param locale A locale code for the locale format rules to use.\n * When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default.\n * See [Setting your app locale](guide/i18n-common-locale-id).\n */\n transform(value, currencyCode = this._defaultCurrencyCode, display = 'symbol', digitsInfo, locale) {\n if (!isValue(value))\n return null;\n locale = locale || this._locale;\n if (typeof display === 'boolean') {\n if ((typeof ngDevMode === 'undefined' || ngDevMode) && console && console.warn) {\n console.warn(`Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are \"code\", \"symbol\" or \"symbol-narrow\".`);\n }\n display = display ? 'symbol' : 'code';\n }\n let currency = currencyCode || this._defaultCurrencyCode;\n if (display !== 'code') {\n if (display === 'symbol' || display === 'symbol-narrow') {\n currency = getCurrencySymbol(currency, display === 'symbol' ? 'wide' : 'narrow', locale);\n }\n else {\n currency = display;\n }\n }\n try {\n const num = strToNumber(value);\n return formatCurrency(num, locale, currency, currencyCode, digitsInfo);\n }\n catch (error) {\n throw invalidPipeArgumentError(CurrencyPipe, error.message);\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: CurrencyPipe, deps: [{ token: LOCALE_ID }, { token: DEFAULT_CURRENCY_CODE }], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: CurrencyPipe, isStandalone: true, name: \"currency\" }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: CurrencyPipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'currency',\n standalone: true,\n }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [LOCALE_ID]\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [DEFAULT_CURRENCY_CODE]\n }] }]; } });\nfunction isValue(value) {\n return !(value == null || value === '' || value !== value);\n}\n/**\n * Transforms a string into a number (if needed).\n */\nfunction strToNumber(value) {\n // Convert strings to numbers\n if (typeof value === 'string' && !isNaN(Number(value) - parseFloat(value))) {\n return Number(value);\n }\n if (typeof value !== 'number') {\n throw new Error(`${value} is not a number`);\n }\n return value;\n}\n\n/**\n * @ngModule CommonModule\n * @description\n *\n * Creates a new `Array` or `String` containing a subset (slice) of the elements.\n *\n * @usageNotes\n *\n * All behavior is based on the expected behavior of the JavaScript API `Array.prototype.slice()`\n * and `String.prototype.slice()`.\n *\n * When operating on an `Array`, the returned `Array` is always a copy even when all\n * the elements are being returned.\n *\n * When operating on a blank value, the pipe returns the blank value.\n *\n * ### List Example\n *\n * This `ngFor` example:\n *\n * {@example common/pipes/ts/slice_pipe.ts region='SlicePipe_list'}\n *\n * produces the following:\n *\n * ```html\n * <li>b</li>\n * <li>c</li>\n * ```\n *\n * ### String Examples\n *\n * {@example common/pipes/ts/slice_pipe.ts region='SlicePipe_string'}\n *\n * @publicApi\n */\nclass SlicePipe {\n transform(value, start, end) {\n if (value == null)\n return null;\n if (!this.supports(value)) {\n throw invalidPipeArgumentError(SlicePipe, value);\n }\n return value.slice(start, end);\n }\n supports(obj) {\n return typeof obj === 'string' || Array.isArray(obj);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: SlicePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: SlicePipe, isStandalone: true, name: \"slice\", pure: false }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: SlicePipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'slice',\n pure: false,\n standalone: true,\n }]\n }] });\n\n/**\n * @module\n * @description\n * This module provides a set of common Pipes.\n */\n/**\n * A collection of Angular pipes that are likely to be used in each and every application.\n */\nconst COMMON_PIPES = [\n AsyncPipe,\n UpperCasePipe,\n LowerCasePipe,\n JsonPipe,\n SlicePipe,\n DecimalPipe,\n PercentPipe,\n TitleCasePipe,\n CurrencyPipe,\n DatePipe,\n I18nPluralPipe,\n I18nSelectPipe,\n KeyValuePipe,\n];\n\n// Note: This does not contain the location providers,\n// as they need some platform specific implementations to work.\n/**\n * Exports all the basic Angular directives and pipes,\n * such as `NgIf`, `NgForOf`, `DecimalPipe`, and so on.\n * Re-exported by `BrowserModule`, which is included automatically in the root\n * `AppModule` when you create a new app with the CLI `new` command.\n *\n * @publicApi\n */\nclass CommonModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: CommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: CommonModule, imports: [NgClass, NgComponentOutlet, NgForOf, NgIf, NgTemplateOutlet, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgPlural, NgPluralCase, AsyncPipe, UpperCasePipe, LowerCasePipe, JsonPipe, SlicePipe, DecimalPipe, PercentPipe, TitleCasePipe, CurrencyPipe, DatePipe, I18nPluralPipe, I18nSelectPipe, KeyValuePipe], exports: [NgClass, NgComponentOutlet, NgForOf, NgIf, NgTemplateOutlet, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgPlural, NgPluralCase, AsyncPipe, UpperCasePipe, LowerCasePipe, JsonPipe, SlicePipe, DecimalPipe, PercentPipe, TitleCasePipe, CurrencyPipe, DatePipe, I18nPluralPipe, I18nSelectPipe, KeyValuePipe] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: CommonModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: CommonModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [COMMON_DIRECTIVES, COMMON_PIPES],\n exports: [COMMON_DIRECTIVES, COMMON_PIPES],\n }]\n }] });\n\nconst PLATFORM_BROWSER_ID = 'browser';\nconst PLATFORM_SERVER_ID = 'server';\nconst PLATFORM_WORKER_APP_ID = 'browserWorkerApp';\nconst PLATFORM_WORKER_UI_ID = 'browserWorkerUi';\n/**\n * Returns whether a platform id represents a browser platform.\n * @publicApi\n */\nfunction isPlatformBrowser(platformId) {\n return platformId === PLATFORM_BROWSER_ID;\n}\n/**\n * Returns whether a platform id represents a server platform.\n * @publicApi\n */\nfunction isPlatformServer(platformId) {\n return platformId === PLATFORM_SERVER_ID;\n}\n/**\n * Returns whether a platform id represents a web worker app platform.\n * @publicApi\n * @deprecated This function serves no purpose since the removal of the Webworker platform. It will\n * always return `false`.\n */\nfunction isPlatformWorkerApp(platformId) {\n return platformId === PLATFORM_WORKER_APP_ID;\n}\n/**\n * Returns whether a platform id represents a web worker UI platform.\n * @publicApi\n * @deprecated This function serves no purpose since the removal of the Webworker platform. It will\n * always return `false`.\n */\nfunction isPlatformWorkerUi(platformId) {\n return platformId === PLATFORM_WORKER_UI_ID;\n}\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of the common package.\n */\n/**\n * @publicApi\n */\nconst VERSION = new Version('16.0.5');\n\n/**\n * Defines a scroll position manager. Implemented by `BrowserViewportScroller`.\n *\n * @publicApi\n */\nclass ViewportScroller {\n // De-sugared tree-shakable injection\n // See #23917\n /** @nocollapse */\n static { this.ɵprov = ɵɵdefineInjectable({\n token: ViewportScroller,\n providedIn: 'root',\n factory: () => new BrowserViewportScroller(ɵɵinject(DOCUMENT), window)\n }); }\n}\n/**\n * Manages the scroll position for a browser window.\n */\nclass BrowserViewportScroller {\n constructor(document, window) {\n this.document = document;\n this.window = window;\n this.offset = () => [0, 0];\n }\n /**\n * Configures the top offset used when scrolling to an anchor.\n * @param offset A position in screen coordinates (a tuple with x and y values)\n * or a function that returns the top offset position.\n *\n */\n setOffset(offset) {\n if (Array.isArray(offset)) {\n this.offset = () => offset;\n }\n else {\n this.offset = offset;\n }\n }\n /**\n * Retrieves the current scroll position.\n * @returns The position in screen coordinates.\n */\n getScrollPosition() {\n if (this.supportsScrolling()) {\n return [this.window.pageXOffset, this.window.pageYOffset];\n }\n else {\n return [0, 0];\n }\n }\n /**\n * Sets the scroll position.\n * @param position The new position in screen coordinates.\n */\n scrollToPosition(position) {\n if (this.supportsScrolling()) {\n this.window.scrollTo(position[0], position[1]);\n }\n }\n /**\n * Scrolls to an element and attempts to focus the element.\n *\n * Note that the function name here is misleading in that the target string may be an ID for a\n * non-anchor element.\n *\n * @param target The ID of an element or name of the anchor.\n *\n * @see https://html.spec.whatwg.org/#the-indicated-part-of-the-document\n * @see https://html.spec.whatwg.org/#scroll-to-fragid\n */\n scrollToAnchor(target) {\n if (!this.supportsScrolling()) {\n return;\n }\n const elSelected = findAnchorFromDocument(this.document, target);\n if (elSelected) {\n this.scrollToElement(elSelected);\n // After scrolling to the element, the spec dictates that we follow the focus steps for the\n // target. Rather than following the robust steps, simply attempt focus.\n //\n // @see https://html.spec.whatwg.org/#get-the-focusable-area\n // @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLOrForeignElement/focus\n // @see https://html.spec.whatwg.org/#focusable-area\n elSelected.focus();\n }\n }\n /**\n * Disables automatic scroll restoration provided by the browser.\n */\n setHistoryScrollRestoration(scrollRestoration) {\n if (this.supportScrollRestoration()) {\n const history = this.window.history;\n if (history && history.scrollRestoration) {\n history.scrollRestoration = scrollRestoration;\n }\n }\n }\n /**\n * Scrolls to an element using the native offset and the specified offset set on this scroller.\n *\n * The offset can be used when we know that there is a floating header and scrolling naively to an\n * element (ex: `scrollIntoView`) leaves the element hidden behind the floating header.\n */\n scrollToElement(el) {\n const rect = el.getBoundingClientRect();\n const left = rect.left + this.window.pageXOffset;\n const top = rect.top + this.window.pageYOffset;\n const offset = this.offset();\n this.window.scrollTo(left - offset[0], top - offset[1]);\n }\n /**\n * We only support scroll restoration when we can get a hold of window.\n * This means that we do not support this behavior when running in a web worker.\n *\n * Lifting this restriction right now would require more changes in the dom adapter.\n * Since webworkers aren't widely used, we will lift it once RouterScroller is\n * battle-tested.\n */\n supportScrollRestoration() {\n try {\n if (!this.supportsScrolling()) {\n return false;\n }\n // The `scrollRestoration` property could be on the `history` instance or its prototype.\n const scrollRestorationDescriptor = getScrollRestorationProperty(this.window.history) ||\n getScrollRestorationProperty(Object.getPrototypeOf(this.window.history));\n // We can write to the `scrollRestoration` property if it is a writable data field or it has a\n // setter function.\n return !!scrollRestorationDescriptor &&\n !!(scrollRestorationDescriptor.writable || scrollRestorationDescriptor.set);\n }\n catch {\n return false;\n }\n }\n supportsScrolling() {\n try {\n return !!this.window && !!this.window.scrollTo && 'pageXOffset' in this.window;\n }\n catch {\n return false;\n }\n }\n}\nfunction getScrollRestorationProperty(obj) {\n return Object.getOwnPropertyDescriptor(obj, 'scrollRestoration');\n}\nfunction findAnchorFromDocument(document, target) {\n const documentResult = document.getElementById(target) || document.getElementsByName(target)[0];\n if (documentResult) {\n return documentResult;\n }\n // `getElementById` and `getElementsByName` won't pierce through the shadow DOM so we\n // have to traverse the DOM manually and do the lookup through the shadow roots.\n if (typeof document.createTreeWalker === 'function' && document.body &&\n typeof document.body.attachShadow === 'function') {\n const treeWalker = document.createTreeWalker(document.body, NodeFilter.SHOW_ELEMENT);\n let currentNode = treeWalker.currentNode;\n while (currentNode) {\n const shadowRoot = currentNode.shadowRoot;\n if (shadowRoot) {\n // Note that `ShadowRoot` doesn't support `getElementsByName`\n // so we have to fall back to `querySelector`.\n const result = shadowRoot.getElementById(target) || shadowRoot.querySelector(`[name=\"${target}\"]`);\n if (result) {\n return result;\n }\n }\n currentNode = treeWalker.nextNode();\n }\n }\n return null;\n}\n/**\n * Provides an empty implementation of the viewport scroller.\n */\nclass NullViewportScroller {\n /**\n * Empty implementation\n */\n setOffset(offset) { }\n /**\n * Empty implementation\n */\n getScrollPosition() {\n return [0, 0];\n }\n /**\n * Empty implementation\n */\n scrollToPosition(position) { }\n /**\n * Empty implementation\n */\n scrollToAnchor(anchor) { }\n /**\n * Empty implementation\n */\n setHistoryScrollRestoration(scrollRestoration) { }\n}\n\n/**\n * A wrapper around the `XMLHttpRequest` constructor.\n *\n * @publicApi\n */\nclass XhrFactory {\n}\n\n// Converts a string that represents a URL into a URL class instance.\nfunction getUrl(src, win) {\n // Don't use a base URL is the URL is absolute.\n return isAbsoluteUrl(src) ? new URL(src) : new URL(src, win.location.href);\n}\n// Checks whether a URL is absolute (i.e. starts with `http://` or `https://`).\nfunction isAbsoluteUrl(src) {\n return /^https?:\\/\\//.test(src);\n}\n// Given a URL, extract the hostname part.\n// If a URL is a relative one - the URL is returned as is.\nfunction extractHostname(url) {\n return isAbsoluteUrl(url) ? (new URL(url)).hostname : url;\n}\nfunction isValidPath(path) {\n const isString = typeof path === 'string';\n if (!isString || path.trim() === '') {\n return false;\n }\n // Calling new URL() will throw if the path string is malformed\n try {\n const url = new URL(path);\n return true;\n }\n catch {\n return false;\n }\n}\nfunction normalizePath(path) {\n return path.endsWith('/') ? path.slice(0, -1) : path;\n}\nfunction normalizeSrc(src) {\n return src.startsWith('/') ? src.slice(1) : src;\n}\n\n/**\n * Noop image loader that does no transformation to the original src and just returns it as is.\n * This loader is used as a default one if more specific logic is not provided in an app config.\n *\n * @see `ImageLoader`\n * @see `NgOptimizedImage`\n */\nconst noopImageLoader = (config) => config.src;\n/**\n * Injection token that configures the image loader function.\n *\n * @see `ImageLoader`\n * @see `NgOptimizedImage`\n * @publicApi\n */\nconst IMAGE_LOADER = new InjectionToken('ImageLoader', {\n providedIn: 'root',\n factory: () => noopImageLoader,\n});\n/**\n * Internal helper function that makes it easier to introduce custom image loaders for the\n * `NgOptimizedImage` directive. It is enough to specify a URL builder function to obtain full DI\n * configuration for a given loader: a DI token corresponding to the actual loader function, plus DI\n * tokens managing preconnect check functionality.\n * @param buildUrlFn a function returning a full URL based on loader's configuration\n * @param exampleUrls example of full URLs for a given loader (used in error messages)\n * @returns a set of DI providers corresponding to the configured image loader\n */\nfunction createImageLoader(buildUrlFn, exampleUrls) {\n return function provideImageLoader(path) {\n if (!isValidPath(path)) {\n throwInvalidPathError(path, exampleUrls || []);\n }\n // The trailing / is stripped (if provided) to make URL construction (concatenation) easier in\n // the individual loader functions.\n path = normalizePath(path);\n const loaderFn = (config) => {\n if (isAbsoluteUrl(config.src)) {\n // Image loader functions expect an image file name (e.g. `my-image.png`)\n // or a relative path + a file name (e.g. `/a/b/c/my-image.png`) as an input,\n // so the final absolute URL can be constructed.\n // When an absolute URL is provided instead - the loader can not\n // build a final URL, thus the error is thrown to indicate that.\n throwUnexpectedAbsoluteUrlError(path, config.src);\n }\n return buildUrlFn(path, { ...config, src: normalizeSrc(config.src) });\n };\n const providers = [{ provide: IMAGE_LOADER, useValue: loaderFn }];\n return providers;\n };\n}\nfunction throwInvalidPathError(path, exampleUrls) {\n throw new ɵRuntimeError(2959 /* RuntimeErrorCode.INVALID_LOADER_ARGUMENTS */, ngDevMode &&\n `Image loader has detected an invalid path (\\`${path}\\`). ` +\n `To fix this, supply a path using one of the following formats: ${exampleUrls.join(' or ')}`);\n}\nfunction throwUnexpectedAbsoluteUrlError(path, url) {\n throw new ɵRuntimeError(2959 /* RuntimeErrorCode.INVALID_LOADER_ARGUMENTS */, ngDevMode &&\n `Image loader has detected a \\`<img>\\` tag with an invalid \\`ngSrc\\` attribute: ${url}. ` +\n `This image loader expects \\`ngSrc\\` to be a relative URL - ` +\n `however the provided value is an absolute URL. ` +\n `To fix this, provide \\`ngSrc\\` as a path relative to the base URL ` +\n `configured for this loader (\\`${path}\\`).`);\n}\n\n/**\n * Function that generates an ImageLoader for [Cloudflare Image\n * Resizing](https://developers.cloudflare.com/images/image-resizing/) and turns it into an Angular\n * provider. Note: Cloudflare has multiple image products - this provider is specifically for\n * Cloudflare Image Resizing; it will not work with Cloudflare Images or Cloudflare Polish.\n *\n * @param path Your domain name, e.g. https://mysite.com\n * @returns Provider that provides an ImageLoader function\n *\n * @publicApi\n */\nconst provideCloudflareLoader = createImageLoader(createCloudflareUrl, ngDevMode ? ['https://<ZONE>/cdn-cgi/image/<OPTIONS>/<SOURCE-IMAGE>'] : undefined);\nfunction createCloudflareUrl(path, config) {\n let params = `format=auto`;\n if (config.width) {\n params += `,width=${config.width}`;\n }\n // Cloudflare image URLs format:\n // https://developers.cloudflare.com/images/image-resizing/url-format/\n return `${path}/cdn-cgi/image/${params}/${config.src}`;\n}\n\n/**\n * Name and URL tester for Cloudinary.\n */\nconst cloudinaryLoaderInfo = {\n name: 'Cloudinary',\n testUrl: isCloudinaryUrl\n};\nconst CLOUDINARY_LOADER_REGEX = /https?\\:\\/\\/[^\\/]+\\.cloudinary\\.com\\/.+/;\n/**\n * Tests whether a URL is from Cloudinary CDN.\n */\nfunction isCloudinaryUrl(url) {\n return CLOUDINARY_LOADER_REGEX.test(url);\n}\n/**\n * Function that generates an ImageLoader for Cloudinary and turns it into an Angular provider.\n *\n * @param path Base URL of your Cloudinary images\n * This URL should match one of the following formats:\n * https://res.cloudinary.com/mysite\n * https://mysite.cloudinary.com\n * https://subdomain.mysite.com\n * @returns Set of providers to configure the Cloudinary loader.\n *\n * @publicApi\n */\nconst provideCloudinaryLoader = createImageLoader(createCloudinaryUrl, ngDevMode ?\n [\n 'https://res.cloudinary.com/mysite', 'https://mysite.cloudinary.com',\n 'https://subdomain.mysite.com'\n ] :\n undefined);\nfunction createCloudinaryUrl(path, config) {\n // Cloudinary image URLformat:\n // https://cloudinary.com/documentation/image_transformations#transformation_url_structure\n // Example of a Cloudinary image URL:\n // https://res.cloudinary.com/mysite/image/upload/c_scale,f_auto,q_auto,w_600/marketing/tile-topics-m.png\n let params = `f_auto,q_auto`; // sets image format and quality to \"auto\"\n if (config.width) {\n params += `,w_${config.width}`;\n }\n return `${path}/image/upload/${params}/${config.src}`;\n}\n\n/**\n * Name and URL tester for ImageKit.\n */\nconst imageKitLoaderInfo = {\n name: 'ImageKit',\n testUrl: isImageKitUrl,\n};\nconst IMAGE_KIT_LOADER_REGEX = /https?\\:\\/\\/[^\\/]+\\.imagekit\\.io\\/.+/;\n/**\n * Tests whether a URL is from ImageKit CDN.\n */\nfunction isImageKitUrl(url) {\n return IMAGE_KIT_LOADER_REGEX.test(url);\n}\n/**\n * Function that generates an ImageLoader for ImageKit and turns it into an Angular provider.\n *\n * @param path Base URL of your ImageKit images\n * This URL should match one of the following formats:\n * https://ik.imagekit.io/myaccount\n * https://subdomain.mysite.com\n * @returns Set of providers to configure the ImageKit loader.\n *\n * @publicApi\n */\nconst provideImageKitLoader = createImageLoader(createImagekitUrl, ngDevMode ? ['https://ik.imagekit.io/mysite', 'https://subdomain.mysite.com'] : undefined);\nfunction createImagekitUrl(path, config) {\n // Example of an ImageKit image URL:\n // https://ik.imagekit.io/demo/tr:w-300,h-300/medium_cafe_B1iTdD0C.jpg\n const { src, width } = config;\n let urlSegments;\n if (width) {\n const params = `tr:w-${width}`;\n urlSegments = [path, params, src];\n }\n else {\n urlSegments = [path, src];\n }\n return urlSegments.join('/');\n}\n\n/**\n * Name and URL tester for Imgix.\n */\nconst imgixLoaderInfo = {\n name: 'Imgix',\n testUrl: isImgixUrl\n};\nconst IMGIX_LOADER_REGEX = /https?\\:\\/\\/[^\\/]+\\.imgix\\.net\\/.+/;\n/**\n * Tests whether a URL is from Imgix CDN.\n */\nfunction isImgixUrl(url) {\n return IMGIX_LOADER_REGEX.test(url);\n}\n/**\n * Function that generates an ImageLoader for Imgix and turns it into an Angular provider.\n *\n * @param path path to the desired Imgix origin,\n * e.g. https://somepath.imgix.net or https://images.mysite.com\n * @returns Set of providers to configure the Imgix loader.\n *\n * @publicApi\n */\nconst provideImgixLoader = createImageLoader(createImgixUrl, ngDevMode ? ['https://somepath.imgix.net/'] : undefined);\nfunction createImgixUrl(path, config) {\n const url = new URL(`${path}/${config.src}`);\n // This setting ensures the smallest allowable format is set.\n url.searchParams.set('auto', 'format');\n if (config.width) {\n url.searchParams.set('w', config.width.toString());\n }\n return url.href;\n}\n\n// Assembles directive details string, useful for error messages.\nfunction imgDirectiveDetails(ngSrc, includeNgSrc = true) {\n const ngSrcInfo = includeNgSrc ? `(activated on an <img> element with the \\`ngSrc=\"${ngSrc}\"\\`) ` : '';\n return `The NgOptimizedImage directive ${ngSrcInfo}has detected that`;\n}\n\n/**\n * Asserts that the application is in development mode. Throws an error if the application is in\n * production mode. This assert can be used to make sure that there is no dev-mode code invoked in\n * the prod mode accidentally.\n */\nfunction assertDevMode(checkName) {\n if (!ngDevMode) {\n throw new ɵRuntimeError(2958 /* RuntimeErrorCode.UNEXPECTED_DEV_MODE_CHECK_IN_PROD_MODE */, `Unexpected invocation of the ${checkName} in the prod mode. ` +\n `Please make sure that the prod mode is enabled for production builds.`);\n }\n}\n\n/**\n * Observer that detects whether an image with `NgOptimizedImage`\n * is treated as a Largest Contentful Paint (LCP) element. If so,\n * asserts that the image has the `priority` attribute.\n *\n * Note: this is a dev-mode only class and it does not appear in prod bundles,\n * thus there is no `ngDevMode` use in the code.\n *\n * Based on https://web.dev/lcp/#measure-lcp-in-javascript.\n */\nclass LCPImageObserver {\n constructor() {\n // Map of full image URLs -> original `ngSrc` values.\n this.images = new Map();\n // Keep track of images for which `console.warn` was produced.\n this.alreadyWarned = new Set();\n this.window = null;\n this.observer = null;\n assertDevMode('LCP checker');\n const win = inject(DOCUMENT).defaultView;\n if (typeof win !== 'undefined' && typeof PerformanceObserver !== 'undefined') {\n this.window = win;\n this.observer = this.initPerformanceObserver();\n }\n }\n /**\n * Inits PerformanceObserver and subscribes to LCP events.\n * Based on https://web.dev/lcp/#measure-lcp-in-javascript\n */\n initPerformanceObserver() {\n const observer = new PerformanceObserver((entryList) => {\n const entries = entryList.getEntries();\n if (entries.length === 0)\n return;\n // We use the latest entry produced by the `PerformanceObserver` as the best\n // signal on which element is actually an LCP one. As an example, the first image to load on\n // a page, by virtue of being the only thing on the page so far, is often a LCP candidate\n // and gets reported by PerformanceObserver, but isn't necessarily the LCP element.\n const lcpElement = entries[entries.length - 1];\n // Cast to `any` due to missing `element` on the `LargestContentfulPaint` type of entry.\n // See https://developer.mozilla.org/en-US/docs/Web/API/LargestContentfulPaint\n const imgSrc = lcpElement.element?.src ?? '';\n // Exclude `data:` and `blob:` URLs, since they are not supported by the directive.\n if (imgSrc.startsWith('data:') || imgSrc.startsWith('blob:'))\n return;\n const imgNgSrc = this.images.get(imgSrc);\n if (imgNgSrc && !this.alreadyWarned.has(imgSrc)) {\n this.alreadyWarned.add(imgSrc);\n logMissingPriorityWarning(imgSrc);\n }\n });\n observer.observe({ type: 'largest-contentful-paint', buffered: true });\n return observer;\n }\n registerImage(rewrittenSrc, originalNgSrc) {\n if (!this.observer)\n return;\n this.images.set(getUrl(rewrittenSrc, this.window).href, originalNgSrc);\n }\n unregisterImage(rewrittenSrc) {\n if (!this.observer)\n return;\n this.images.delete(getUrl(rewrittenSrc, this.window).href);\n }\n ngOnDestroy() {\n if (!this.observer)\n return;\n this.observer.disconnect();\n this.images.clear();\n this.alreadyWarned.clear();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: LCPImageObserver, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: LCPImageObserver, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: LCPImageObserver, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return []; } });\nfunction logMissingPriorityWarning(ngSrc) {\n const directiveDetails = imgDirectiveDetails(ngSrc);\n console.warn(ɵformatRuntimeError(2955 /* RuntimeErrorCode.LCP_IMG_MISSING_PRIORITY */, `${directiveDetails} this image is the Largest Contentful Paint (LCP) ` +\n `element but was not marked \"priority\". This image should be marked ` +\n `\"priority\" in order to prioritize its loading. ` +\n `To fix this, add the \"priority\" attribute.`));\n}\n\n// Set of origins that are always excluded from the preconnect checks.\nconst INTERNAL_PRECONNECT_CHECK_BLOCKLIST = new Set(['localhost', '127.0.0.1', '0.0.0.0']);\n/**\n * Injection token to configure which origins should be excluded\n * from the preconnect checks. It can either be a single string or an array of strings\n * to represent a group of origins, for example:\n *\n * ```typescript\n * {provide: PRECONNECT_CHECK_BLOCKLIST, useValue: 'https://your-domain.com'}\n * ```\n *\n * or:\n *\n * ```typescript\n * {provide: PRECONNECT_CHECK_BLOCKLIST,\n * useValue: ['https://your-domain-1.com', 'https://your-domain-2.com']}\n * ```\n *\n * @publicApi\n */\nconst PRECONNECT_CHECK_BLOCKLIST = new InjectionToken('PRECONNECT_CHECK_BLOCKLIST');\n/**\n * Contains the logic to detect whether an image, marked with the \"priority\" attribute\n * has a corresponding `<link rel=\"preconnect\">` tag in the `document.head`.\n *\n * Note: this is a dev-mode only class, which should not appear in prod bundles,\n * thus there is no `ngDevMode` use in the code.\n */\nclass PreconnectLinkChecker {\n constructor() {\n this.document = inject(DOCUMENT);\n /**\n * Set of <link rel=\"preconnect\"> tags found on this page.\n * The `null` value indicates that there was no DOM query operation performed.\n */\n this.preconnectLinks = null;\n /*\n * Keep track of all already seen origin URLs to avoid repeating the same check.\n */\n this.alreadySeen = new Set();\n this.window = null;\n this.blocklist = new Set(INTERNAL_PRECONNECT_CHECK_BLOCKLIST);\n assertDevMode('preconnect link checker');\n const win = this.document.defaultView;\n if (typeof win !== 'undefined') {\n this.window = win;\n }\n const blocklist = inject(PRECONNECT_CHECK_BLOCKLIST, { optional: true });\n if (blocklist) {\n this.populateBlocklist(blocklist);\n }\n }\n populateBlocklist(origins) {\n if (Array.isArray(origins)) {\n deepForEach(origins, origin => {\n this.blocklist.add(extractHostname(origin));\n });\n }\n else {\n this.blocklist.add(extractHostname(origins));\n }\n }\n /**\n * Checks that a preconnect resource hint exists in the head for the\n * given src.\n *\n * @param rewrittenSrc src formatted with loader\n * @param originalNgSrc ngSrc value\n */\n assertPreconnect(rewrittenSrc, originalNgSrc) {\n if (!this.window)\n return;\n const imgUrl = getUrl(rewrittenSrc, this.window);\n if (this.blocklist.has(imgUrl.hostname) || this.alreadySeen.has(imgUrl.origin))\n return;\n // Register this origin as seen, so we don't check it again later.\n this.alreadySeen.add(imgUrl.origin);\n if (!this.preconnectLinks) {\n // Note: we query for preconnect links only *once* and cache the results\n // for the entire lifespan of an application, since it's unlikely that the\n // list would change frequently. This allows to make sure there are no\n // performance implications of making extra DOM lookups for each image.\n this.preconnectLinks = this.queryPreconnectLinks();\n }\n if (!this.preconnectLinks.has(imgUrl.origin)) {\n console.warn(ɵformatRuntimeError(2956 /* RuntimeErrorCode.PRIORITY_IMG_MISSING_PRECONNECT_TAG */, `${imgDirectiveDetails(originalNgSrc)} there is no preconnect tag present for this ` +\n `image. Preconnecting to the origin(s) that serve priority images ensures that these ` +\n `images are delivered as soon as possible. To fix this, please add the following ` +\n `element into the <head> of the document:\\n` +\n ` <link rel=\"preconnect\" href=\"${imgUrl.origin}\">`));\n }\n }\n queryPreconnectLinks() {\n const preconnectUrls = new Set();\n const selector = 'link[rel=preconnect]';\n const links = Array.from(this.document.querySelectorAll(selector));\n for (let link of links) {\n const url = getUrl(link.href, this.window);\n preconnectUrls.add(url.origin);\n }\n return preconnectUrls;\n }\n ngOnDestroy() {\n this.preconnectLinks?.clear();\n this.alreadySeen.clear();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PreconnectLinkChecker, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PreconnectLinkChecker, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PreconnectLinkChecker, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return []; } });\n/**\n * Invokes a callback for each element in the array. Also invokes a callback\n * recursively for each nested array.\n */\nfunction deepForEach(input, fn) {\n for (let value of input) {\n Array.isArray(value) ? deepForEach(value, fn) : fn(value);\n }\n}\n\n/**\n * In SSR scenarios, a preload `<link>` element is generated for priority images.\n * Having a large number of preload tags may negatively affect the performance,\n * so we warn developers (by throwing an error) if the number of preloaded images\n * is above a certain threshold. This const specifies this threshold.\n */\nconst DEFAULT_PRELOADED_IMAGES_LIMIT = 5;\n/**\n * Helps to keep track of priority images that already have a corresponding\n * preload tag (to avoid generating multiple preload tags with the same URL).\n *\n * This Set tracks the original src passed into the `ngSrc` input not the src after it has been\n * run through the specified `IMAGE_LOADER`.\n */\nconst PRELOADED_IMAGES = new InjectionToken('NG_OPTIMIZED_PRELOADED_IMAGES', { providedIn: 'root', factory: () => new Set() });\n\n/**\n * @description Contains the logic needed to track and add preload link tags to the `<head>` tag. It\n * will also track what images have already had preload link tags added so as to not duplicate link\n * tags.\n *\n * In dev mode this service will validate that the number of preloaded images does not exceed the\n * configured default preloaded images limit: {@link DEFAULT_PRELOADED_IMAGES_LIMIT}.\n */\nclass PreloadLinkCreator {\n constructor() {\n this.preloadedImages = inject(PRELOADED_IMAGES);\n this.document = inject(DOCUMENT);\n }\n /**\n * @description Add a preload `<link>` to the `<head>` of the `index.html` that is served from the\n * server while using Angular Universal and SSR to kick off image loads for high priority images.\n *\n * The `sizes` (passed in from the user) and `srcset` (parsed and formatted from `ngSrcset`)\n * properties used to set the corresponding attributes, `imagesizes` and `imagesrcset`\n * respectively, on the preload `<link>` tag so that the correctly sized image is preloaded from\n * the CDN.\n *\n * {@link https://web.dev/preload-responsive-images/#imagesrcset-and-imagesizes}\n *\n * @param renderer The `Renderer2` passed in from the directive\n * @param src The original src of the image that is set on the `ngSrc` input.\n * @param srcset The parsed and formatted srcset created from the `ngSrcset` input\n * @param sizes The value of the `sizes` attribute passed in to the `<img>` tag\n */\n createPreloadLinkTag(renderer, src, srcset, sizes) {\n if (ngDevMode) {\n if (this.preloadedImages.size >= DEFAULT_PRELOADED_IMAGES_LIMIT) {\n throw new ɵRuntimeError(2961 /* RuntimeErrorCode.TOO_MANY_PRELOADED_IMAGES */, ngDevMode &&\n `The \\`NgOptimizedImage\\` directive has detected that more than ` +\n `${DEFAULT_PRELOADED_IMAGES_LIMIT} images were marked as priority. ` +\n `This might negatively affect an overall performance of the page. ` +\n `To fix this, remove the \"priority\" attribute from images with less priority.`);\n }\n }\n if (this.preloadedImages.has(src)) {\n return;\n }\n this.preloadedImages.add(src);\n const preload = renderer.createElement('link');\n renderer.setAttribute(preload, 'as', 'image');\n renderer.setAttribute(preload, 'href', src);\n renderer.setAttribute(preload, 'rel', 'preload');\n renderer.setAttribute(preload, 'fetchpriority', 'high');\n if (sizes) {\n renderer.setAttribute(preload, 'imageSizes', sizes);\n }\n if (srcset) {\n renderer.setAttribute(preload, 'imageSrcset', srcset);\n }\n renderer.appendChild(this.document.head, preload);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PreloadLinkCreator, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PreloadLinkCreator, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PreloadLinkCreator, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }] });\n\n/**\n * When a Base64-encoded image is passed as an input to the `NgOptimizedImage` directive,\n * an error is thrown. The image content (as a string) might be very long, thus making\n * it hard to read an error message if the entire string is included. This const defines\n * the number of characters that should be included into the error message. The rest\n * of the content is truncated.\n */\nconst BASE64_IMG_MAX_LENGTH_IN_ERROR = 50;\n/**\n * RegExpr to determine whether a src in a srcset is using width descriptors.\n * Should match something like: \"100w, 200w\".\n */\nconst VALID_WIDTH_DESCRIPTOR_SRCSET = /^((\\s*\\d+w\\s*(,|$)){1,})$/;\n/**\n * RegExpr to determine whether a src in a srcset is using density descriptors.\n * Should match something like: \"1x, 2x, 50x\". Also supports decimals like \"1.5x, 1.50x\".\n */\nconst VALID_DENSITY_DESCRIPTOR_SRCSET = /^((\\s*\\d+(\\.\\d+)?x\\s*(,|$)){1,})$/;\n/**\n * Srcset values with a density descriptor higher than this value will actively\n * throw an error. Such densities are not permitted as they cause image sizes\n * to be unreasonably large and slow down LCP.\n */\nconst ABSOLUTE_SRCSET_DENSITY_CAP = 3;\n/**\n * Used only in error message text to communicate best practices, as we will\n * only throw based on the slightly more conservative ABSOLUTE_SRCSET_DENSITY_CAP.\n */\nconst RECOMMENDED_SRCSET_DENSITY_CAP = 2;\n/**\n * Used in generating automatic density-based srcsets\n */\nconst DENSITY_SRCSET_MULTIPLIERS = [1, 2];\n/**\n * Used to determine which breakpoints to use on full-width images\n */\nconst VIEWPORT_BREAKPOINT_CUTOFF = 640;\n/**\n * Used to determine whether two aspect ratios are similar in value.\n */\nconst ASPECT_RATIO_TOLERANCE = .1;\n/**\n * Used to determine whether the image has been requested at an overly\n * large size compared to the actual rendered image size (after taking\n * into account a typical device pixel ratio). In pixels.\n */\nconst OVERSIZED_IMAGE_TOLERANCE = 1000;\n/**\n * Used to limit automatic srcset generation of very large sources for\n * fixed-size images. In pixels.\n */\nconst FIXED_SRCSET_WIDTH_LIMIT = 1920;\nconst FIXED_SRCSET_HEIGHT_LIMIT = 1080;\n/** Info about built-in loaders we can test for. */\nconst BUILT_IN_LOADERS = [imgixLoaderInfo, imageKitLoaderInfo, cloudinaryLoaderInfo];\nconst defaultConfig = {\n breakpoints: [16, 32, 48, 64, 96, 128, 256, 384, 640, 750, 828, 1080, 1200, 1920, 2048, 3840],\n};\n/**\n * Injection token that configures the image optimized image functionality.\n *\n * @see `NgOptimizedImage`\n * @publicApi\n * @developerPreview\n */\nconst IMAGE_CONFIG = new InjectionToken('ImageConfig', { providedIn: 'root', factory: () => defaultConfig });\n/**\n * Directive that improves image loading performance by enforcing best practices.\n *\n * `NgOptimizedImage` ensures that the loading of the Largest Contentful Paint (LCP) image is\n * prioritized by:\n * - Automatically setting the `fetchpriority` attribute on the `<img>` tag\n * - Lazy loading non-priority images by default\n * - Asserting that there is a corresponding preconnect link tag in the document head\n *\n * In addition, the directive:\n * - Generates appropriate asset URLs if a corresponding `ImageLoader` function is provided\n * - Automatically generates a srcset\n * - Requires that `width` and `height` are set\n * - Warns if `width` or `height` have been set incorrectly\n * - Warns if the image will be visually distorted when rendered\n *\n * @usageNotes\n * The `NgOptimizedImage` directive is marked as [standalone](guide/standalone-components) and can\n * be imported directly.\n *\n * Follow the steps below to enable and use the directive:\n * 1. Import it into the necessary NgModule or a standalone Component.\n * 2. Optionally provide an `ImageLoader` if you use an image hosting service.\n * 3. Update the necessary `<img>` tags in templates and replace `src` attributes with `ngSrc`.\n * Using a `ngSrc` allows the directive to control when the `src` gets set, which triggers an image\n * download.\n *\n * Step 1: import the `NgOptimizedImage` directive.\n *\n * ```typescript\n * import { NgOptimizedImage } from '@angular/common';\n *\n * // Include it into the necessary NgModule\n * @NgModule({\n * imports: [NgOptimizedImage],\n * })\n * class AppModule {}\n *\n * // ... or a standalone Component\n * @Component({\n * standalone: true\n * imports: [NgOptimizedImage],\n * })\n * class MyStandaloneComponent {}\n * ```\n *\n * Step 2: configure a loader.\n *\n * To use the **default loader**: no additional code changes are necessary. The URL returned by the\n * generic loader will always match the value of \"src\". In other words, this loader applies no\n * transformations to the resource URL and the value of the `ngSrc` attribute will be used as is.\n *\n * To use an existing loader for a **third-party image service**: add the provider factory for your\n * chosen service to the `providers` array. In the example below, the Imgix loader is used:\n *\n * ```typescript\n * import {provideImgixLoader} from '@angular/common';\n *\n * // Call the function and add the result to the `providers` array:\n * providers: [\n * provideImgixLoader(\"https://my.base.url/\"),\n * ],\n * ```\n *\n * The `NgOptimizedImage` directive provides the following functions:\n * - `provideCloudflareLoader`\n * - `provideCloudinaryLoader`\n * - `provideImageKitLoader`\n * - `provideImgixLoader`\n *\n * If you use a different image provider, you can create a custom loader function as described\n * below.\n *\n * To use a **custom loader**: provide your loader function as a value for the `IMAGE_LOADER` DI\n * token.\n *\n * ```typescript\n * import {IMAGE_LOADER, ImageLoaderConfig} from '@angular/common';\n *\n * // Configure the loader using the `IMAGE_LOADER` token.\n * providers: [\n * {\n * provide: IMAGE_LOADER,\n * useValue: (config: ImageLoaderConfig) => {\n * return `https://example.com/${config.src}-${config.width}.jpg}`;\n * }\n * },\n * ],\n * ```\n *\n * Step 3: update `<img>` tags in templates to use `ngSrc` instead of `src`.\n *\n * ```\n * <img ngSrc=\"logo.png\" width=\"200\" height=\"100\">\n * ```\n *\n * @publicApi\n */\nclass NgOptimizedImage {\n constructor() {\n this.imageLoader = inject(IMAGE_LOADER);\n this.config = processConfig(inject(IMAGE_CONFIG));\n this.renderer = inject(Renderer2);\n this.imgElement = inject(ElementRef).nativeElement;\n this.injector = inject(Injector);\n this.isServer = isPlatformServer(inject(PLATFORM_ID));\n this.preloadLinkCreator = inject(PreloadLinkCreator);\n // a LCP image observer - should be injected only in the dev mode\n this.lcpObserver = ngDevMode ? this.injector.get(LCPImageObserver) : null;\n /**\n * Calculate the rewritten `src` once and store it.\n * This is needed to avoid repetitive calculations and make sure the directive cleanup in the\n * `ngOnDestroy` does not rely on the `IMAGE_LOADER` logic (which in turn can rely on some other\n * instance that might be already destroyed).\n */\n this._renderedSrc = null;\n this._priority = false;\n this._disableOptimizedSrcset = false;\n this._fill = false;\n }\n /**\n * For responsive images: the intrinsic width of the image in pixels.\n * For fixed size images: the desired rendered width of the image in pixels.\n */\n set width(value) {\n ngDevMode && assertGreaterThanZero(this, value, 'width');\n this._width = inputToInteger(value);\n }\n get width() {\n return this._width;\n }\n /**\n * For responsive images: the intrinsic height of the image in pixels.\n * For fixed size images: the desired rendered height of the image in pixels.* The intrinsic\n * height of the image in pixels.\n */\n set height(value) {\n ngDevMode && assertGreaterThanZero(this, value, 'height');\n this._height = inputToInteger(value);\n }\n get height() {\n return this._height;\n }\n /**\n * Indicates whether this image should have a high priority.\n */\n set priority(value) {\n this._priority = inputToBoolean(value);\n }\n get priority() {\n return this._priority;\n }\n /**\n * Disables automatic srcset generation for this image.\n */\n set disableOptimizedSrcset(value) {\n this._disableOptimizedSrcset = inputToBoolean(value);\n }\n get disableOptimizedSrcset() {\n return this._disableOptimizedSrcset;\n }\n /**\n * Sets the image to \"fill mode\", which eliminates the height/width requirement and adds\n * styles such that the image fills its containing element.\n *\n * @developerPreview\n */\n set fill(value) {\n this._fill = inputToBoolean(value);\n }\n get fill() {\n return this._fill;\n }\n /** @nodoc */\n ngOnInit() {\n if (ngDevMode) {\n assertNonEmptyInput(this, 'ngSrc', this.ngSrc);\n assertValidNgSrcset(this, this.ngSrcset);\n assertNoConflictingSrc(this);\n if (this.ngSrcset) {\n assertNoConflictingSrcset(this);\n }\n assertNotBase64Image(this);\n assertNotBlobUrl(this);\n if (this.fill) {\n assertEmptyWidthAndHeight(this);\n assertNonZeroRenderedHeight(this, this.imgElement, this.renderer);\n }\n else {\n assertNonEmptyWidthAndHeight(this);\n // Only check for distorted images when not in fill mode, where\n // images may be intentionally stretched, cropped or letterboxed.\n assertNoImageDistortion(this, this.imgElement, this.renderer);\n }\n assertValidLoadingInput(this);\n if (!this.ngSrcset) {\n assertNoComplexSizes(this);\n }\n assertNotMissingBuiltInLoader(this.ngSrc, this.imageLoader);\n assertNoNgSrcsetWithoutLoader(this, this.imageLoader);\n assertNoLoaderParamsWithoutLoader(this, this.imageLoader);\n if (this.priority) {\n const checker = this.injector.get(PreconnectLinkChecker);\n checker.assertPreconnect(this.getRewrittenSrc(), this.ngSrc);\n }\n else {\n // Monitor whether an image is an LCP element only in case\n // the `priority` attribute is missing. Otherwise, an image\n // has the necessary settings and no extra checks are required.\n if (this.lcpObserver !== null) {\n const ngZone = this.injector.get(NgZone);\n ngZone.runOutsideAngular(() => {\n this.lcpObserver.registerImage(this.getRewrittenSrc(), this.ngSrc);\n });\n }\n }\n }\n this.setHostAttributes();\n }\n setHostAttributes() {\n // Must set width/height explicitly in case they are bound (in which case they will\n // only be reflected and not found by the browser)\n if (this.fill) {\n if (!this.sizes) {\n this.sizes = '100vw';\n }\n }\n else {\n this.setHostAttribute('width', this.width.toString());\n this.setHostAttribute('height', this.height.toString());\n }\n this.setHostAttribute('loading', this.getLoadingBehavior());\n this.setHostAttribute('fetchpriority', this.getFetchPriority());\n // The `data-ng-img` attribute flags an image as using the directive, to allow\n // for analysis of the directive's performance.\n this.setHostAttribute('ng-img', 'true');\n // The `src` and `srcset` attributes should be set last since other attributes\n // could affect the image's loading behavior.\n const rewrittenSrc = this.getRewrittenSrc();\n this.setHostAttribute('src', rewrittenSrc);\n let rewrittenSrcset = undefined;\n if (this.sizes) {\n this.setHostAttribute('sizes', this.sizes);\n }\n if (this.ngSrcset) {\n rewrittenSrcset = this.getRewrittenSrcset();\n }\n else if (this.shouldGenerateAutomaticSrcset()) {\n rewrittenSrcset = this.getAutomaticSrcset();\n }\n if (rewrittenSrcset) {\n this.setHostAttribute('srcset', rewrittenSrcset);\n }\n if (this.isServer && this.priority) {\n this.preloadLinkCreator.createPreloadLinkTag(this.renderer, rewrittenSrc, rewrittenSrcset, this.sizes);\n }\n }\n /** @nodoc */\n ngOnChanges(changes) {\n if (ngDevMode) {\n assertNoPostInitInputChange(this, changes, [\n 'ngSrc',\n 'ngSrcset',\n 'width',\n 'height',\n 'priority',\n 'fill',\n 'loading',\n 'sizes',\n 'loaderParams',\n 'disableOptimizedSrcset',\n ]);\n }\n }\n callImageLoader(configWithoutCustomParams) {\n let augmentedConfig = configWithoutCustomParams;\n if (this.loaderParams) {\n augmentedConfig.loaderParams = this.loaderParams;\n }\n return this.imageLoader(augmentedConfig);\n }\n getLoadingBehavior() {\n if (!this.priority && this.loading !== undefined) {\n return this.loading;\n }\n return this.priority ? 'eager' : 'lazy';\n }\n getFetchPriority() {\n return this.priority ? 'high' : 'auto';\n }\n getRewrittenSrc() {\n // ImageLoaderConfig supports setting a width property. However, we're not setting width here\n // because if the developer uses rendered width instead of intrinsic width in the HTML width\n // attribute, the image requested may be too small for 2x+ screens.\n if (!this._renderedSrc) {\n const imgConfig = { src: this.ngSrc };\n // Cache calculated image src to reuse it later in the code.\n this._renderedSrc = this.callImageLoader(imgConfig);\n }\n return this._renderedSrc;\n }\n getRewrittenSrcset() {\n const widthSrcSet = VALID_WIDTH_DESCRIPTOR_SRCSET.test(this.ngSrcset);\n const finalSrcs = this.ngSrcset.split(',').filter(src => src !== '').map(srcStr => {\n srcStr = srcStr.trim();\n const width = widthSrcSet ? parseFloat(srcStr) : parseFloat(srcStr) * this.width;\n return `${this.callImageLoader({ src: this.ngSrc, width })} ${srcStr}`;\n });\n return finalSrcs.join(', ');\n }\n getAutomaticSrcset() {\n if (this.sizes) {\n return this.getResponsiveSrcset();\n }\n else {\n return this.getFixedSrcset();\n }\n }\n getResponsiveSrcset() {\n const { breakpoints } = this.config;\n let filteredBreakpoints = breakpoints;\n if (this.sizes?.trim() === '100vw') {\n // Since this is a full-screen-width image, our srcset only needs to include\n // breakpoints with full viewport widths.\n filteredBreakpoints = breakpoints.filter(bp => bp >= VIEWPORT_BREAKPOINT_CUTOFF);\n }\n const finalSrcs = filteredBreakpoints.map(bp => `${this.callImageLoader({ src: this.ngSrc, width: bp })} ${bp}w`);\n return finalSrcs.join(', ');\n }\n getFixedSrcset() {\n const finalSrcs = DENSITY_SRCSET_MULTIPLIERS.map(multiplier => `${this.callImageLoader({\n src: this.ngSrc,\n width: this.width * multiplier\n })} ${multiplier}x`);\n return finalSrcs.join(', ');\n }\n shouldGenerateAutomaticSrcset() {\n return !this._disableOptimizedSrcset && !this.srcset && this.imageLoader !== noopImageLoader &&\n !(this.width > FIXED_SRCSET_WIDTH_LIMIT || this.height > FIXED_SRCSET_HEIGHT_LIMIT);\n }\n /** @nodoc */\n ngOnDestroy() {\n if (ngDevMode) {\n if (!this.priority && this._renderedSrc !== null && this.lcpObserver !== null) {\n this.lcpObserver.unregisterImage(this._renderedSrc);\n }\n }\n }\n setHostAttribute(name, value) {\n this.renderer.setAttribute(this.imgElement, name, value);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NgOptimizedImage, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: NgOptimizedImage, isStandalone: true, selector: \"img[ngSrc]\", inputs: { ngSrc: \"ngSrc\", ngSrcset: \"ngSrcset\", sizes: \"sizes\", width: \"width\", height: \"height\", loading: \"loading\", priority: \"priority\", loaderParams: \"loaderParams\", disableOptimizedSrcset: \"disableOptimizedSrcset\", fill: \"fill\", src: \"src\", srcset: \"srcset\" }, host: { properties: { \"style.position\": \"fill ? \\\"absolute\\\" : null\", \"style.width\": \"fill ? \\\"100%\\\" : null\", \"style.height\": \"fill ? \\\"100%\\\" : null\", \"style.inset\": \"fill ? \\\"0px\\\" : null\" } }, usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NgOptimizedImage, decorators: [{\n type: Directive,\n args: [{\n standalone: true,\n selector: 'img[ngSrc]',\n host: {\n '[style.position]': 'fill ? \"absolute\" : null',\n '[style.width]': 'fill ? \"100%\" : null',\n '[style.height]': 'fill ? \"100%\" : null',\n '[style.inset]': 'fill ? \"0px\" : null'\n }\n }]\n }], propDecorators: { ngSrc: [{\n type: Input\n }], ngSrcset: [{\n type: Input\n }], sizes: [{\n type: Input\n }], width: [{\n type: Input\n }], height: [{\n type: Input\n }], loading: [{\n type: Input\n }], priority: [{\n type: Input\n }], loaderParams: [{\n type: Input\n }], disableOptimizedSrcset: [{\n type: Input\n }], fill: [{\n type: Input\n }], src: [{\n type: Input\n }], srcset: [{\n type: Input\n }] } });\n/***** Helpers *****/\n/**\n * Convert input value to integer.\n */\nfunction inputToInteger(value) {\n return typeof value === 'string' ? parseInt(value, 10) : value;\n}\n/**\n * Convert input value to boolean.\n */\nfunction inputToBoolean(value) {\n return value != null && `${value}` !== 'false';\n}\n/**\n * Sorts provided config breakpoints and uses defaults.\n */\nfunction processConfig(config) {\n let sortedBreakpoints = {};\n if (config.breakpoints) {\n sortedBreakpoints.breakpoints = config.breakpoints.sort((a, b) => a - b);\n }\n return Object.assign({}, defaultConfig, config, sortedBreakpoints);\n}\n/***** Assert functions *****/\n/**\n * Verifies that there is no `src` set on a host element.\n */\nfunction assertNoConflictingSrc(dir) {\n if (dir.src) {\n throw new ɵRuntimeError(2950 /* RuntimeErrorCode.UNEXPECTED_SRC_ATTR */, `${imgDirectiveDetails(dir.ngSrc)} both \\`src\\` and \\`ngSrc\\` have been set. ` +\n `Supplying both of these attributes breaks lazy loading. ` +\n `The NgOptimizedImage directive sets \\`src\\` itself based on the value of \\`ngSrc\\`. ` +\n `To fix this, please remove the \\`src\\` attribute.`);\n }\n}\n/**\n * Verifies that there is no `srcset` set on a host element.\n */\nfunction assertNoConflictingSrcset(dir) {\n if (dir.srcset) {\n throw new ɵRuntimeError(2951 /* RuntimeErrorCode.UNEXPECTED_SRCSET_ATTR */, `${imgDirectiveDetails(dir.ngSrc)} both \\`srcset\\` and \\`ngSrcset\\` have been set. ` +\n `Supplying both of these attributes breaks lazy loading. ` +\n `The NgOptimizedImage directive sets \\`srcset\\` itself based on the value of ` +\n `\\`ngSrcset\\`. To fix this, please remove the \\`srcset\\` attribute.`);\n }\n}\n/**\n * Verifies that the `ngSrc` is not a Base64-encoded image.\n */\nfunction assertNotBase64Image(dir) {\n let ngSrc = dir.ngSrc.trim();\n if (ngSrc.startsWith('data:')) {\n if (ngSrc.length > BASE64_IMG_MAX_LENGTH_IN_ERROR) {\n ngSrc = ngSrc.substring(0, BASE64_IMG_MAX_LENGTH_IN_ERROR) + '...';\n }\n throw new ɵRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc, false)} \\`ngSrc\\` is a Base64-encoded string ` +\n `(${ngSrc}). NgOptimizedImage does not support Base64-encoded strings. ` +\n `To fix this, disable the NgOptimizedImage directive for this element ` +\n `by removing \\`ngSrc\\` and using a standard \\`src\\` attribute instead.`);\n }\n}\n/**\n * Verifies that the 'sizes' only includes responsive values.\n */\nfunction assertNoComplexSizes(dir) {\n let sizes = dir.sizes;\n if (sizes?.match(/((\\)|,)\\s|^)\\d+px/)) {\n throw new ɵRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc, false)} \\`sizes\\` was set to a string including ` +\n `pixel values. For automatic \\`srcset\\` generation, \\`sizes\\` must only include responsive ` +\n `values, such as \\`sizes=\"50vw\"\\` or \\`sizes=\"(min-width: 768px) 50vw, 100vw\"\\`. ` +\n `To fix this, modify the \\`sizes\\` attribute, or provide your own \\`ngSrcset\\` value directly.`);\n }\n}\n/**\n * Verifies that the `ngSrc` is not a Blob URL.\n */\nfunction assertNotBlobUrl(dir) {\n const ngSrc = dir.ngSrc.trim();\n if (ngSrc.startsWith('blob:')) {\n throw new ɵRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} \\`ngSrc\\` was set to a blob URL (${ngSrc}). ` +\n `Blob URLs are not supported by the NgOptimizedImage directive. ` +\n `To fix this, disable the NgOptimizedImage directive for this element ` +\n `by removing \\`ngSrc\\` and using a regular \\`src\\` attribute instead.`);\n }\n}\n/**\n * Verifies that the input is set to a non-empty string.\n */\nfunction assertNonEmptyInput(dir, name, value) {\n const isString = typeof value === 'string';\n const isEmptyString = isString && value.trim() === '';\n if (!isString || isEmptyString) {\n throw new ɵRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} \\`${name}\\` has an invalid value ` +\n `(\\`${value}\\`). To fix this, change the value to a non-empty string.`);\n }\n}\n/**\n * Verifies that the `ngSrcset` is in a valid format, e.g. \"100w, 200w\" or \"1x, 2x\".\n */\nfunction assertValidNgSrcset(dir, value) {\n if (value == null)\n return;\n assertNonEmptyInput(dir, 'ngSrcset', value);\n const stringVal = value;\n const isValidWidthDescriptor = VALID_WIDTH_DESCRIPTOR_SRCSET.test(stringVal);\n const isValidDensityDescriptor = VALID_DENSITY_DESCRIPTOR_SRCSET.test(stringVal);\n if (isValidDensityDescriptor) {\n assertUnderDensityCap(dir, stringVal);\n }\n const isValidSrcset = isValidWidthDescriptor || isValidDensityDescriptor;\n if (!isValidSrcset) {\n throw new ɵRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} \\`ngSrcset\\` has an invalid value (\\`${value}\\`). ` +\n `To fix this, supply \\`ngSrcset\\` using a comma-separated list of one or more width ` +\n `descriptors (e.g. \"100w, 200w\") or density descriptors (e.g. \"1x, 2x\").`);\n }\n}\nfunction assertUnderDensityCap(dir, value) {\n const underDensityCap = value.split(',').every(num => num === '' || parseFloat(num) <= ABSOLUTE_SRCSET_DENSITY_CAP);\n if (!underDensityCap) {\n throw new ɵRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} the \\`ngSrcset\\` contains an unsupported image density:` +\n `\\`${value}\\`. NgOptimizedImage generally recommends a max image density of ` +\n `${RECOMMENDED_SRCSET_DENSITY_CAP}x but supports image densities up to ` +\n `${ABSOLUTE_SRCSET_DENSITY_CAP}x. The human eye cannot distinguish between image densities ` +\n `greater than ${RECOMMENDED_SRCSET_DENSITY_CAP}x - which makes them unnecessary for ` +\n `most use cases. Images that will be pinch-zoomed are typically the primary use case for ` +\n `${ABSOLUTE_SRCSET_DENSITY_CAP}x images. Please remove the high density descriptor and try again.`);\n }\n}\n/**\n * Creates a `RuntimeError` instance to represent a situation when an input is set after\n * the directive has initialized.\n */\nfunction postInitInputChangeError(dir, inputName) {\n let reason;\n if (inputName === 'width' || inputName === 'height') {\n reason = `Changing \\`${inputName}\\` may result in different attribute value ` +\n `applied to the underlying image element and cause layout shifts on a page.`;\n }\n else {\n reason = `Changing the \\`${inputName}\\` would have no effect on the underlying ` +\n `image element, because the resource loading has already occurred.`;\n }\n return new ɵRuntimeError(2953 /* RuntimeErrorCode.UNEXPECTED_INPUT_CHANGE */, `${imgDirectiveDetails(dir.ngSrc)} \\`${inputName}\\` was updated after initialization. ` +\n `The NgOptimizedImage directive will not react to this input change. ${reason} ` +\n `To fix this, either switch \\`${inputName}\\` to a static value ` +\n `or wrap the image element in an *ngIf that is gated on the necessary value.`);\n}\n/**\n * Verify that none of the listed inputs has changed.\n */\nfunction assertNoPostInitInputChange(dir, changes, inputs) {\n inputs.forEach(input => {\n const isUpdated = changes.hasOwnProperty(input);\n if (isUpdated && !changes[input].isFirstChange()) {\n if (input === 'ngSrc') {\n // When the `ngSrc` input changes, we detect that only in the\n // `ngOnChanges` hook, thus the `ngSrc` is already set. We use\n // `ngSrc` in the error message, so we use a previous value, but\n // not the updated one in it.\n dir = { ngSrc: changes[input].previousValue };\n }\n throw postInitInputChangeError(dir, input);\n }\n });\n}\n/**\n * Verifies that a specified input is a number greater than 0.\n */\nfunction assertGreaterThanZero(dir, inputValue, inputName) {\n const validNumber = typeof inputValue === 'number' && inputValue > 0;\n const validString = typeof inputValue === 'string' && /^\\d+$/.test(inputValue.trim()) && parseInt(inputValue) > 0;\n if (!validNumber && !validString) {\n throw new ɵRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} \\`${inputName}\\` has an invalid value ` +\n `(\\`${inputValue}\\`). To fix this, provide \\`${inputName}\\` ` +\n `as a number greater than 0.`);\n }\n}\n/**\n * Verifies that the rendered image is not visually distorted. Effectively this is checking:\n * - Whether the \"width\" and \"height\" attributes reflect the actual dimensions of the image.\n * - Whether image styling is \"correct\" (see below for a longer explanation).\n */\nfunction assertNoImageDistortion(dir, img, renderer) {\n const removeListenerFn = renderer.listen(img, 'load', () => {\n removeListenerFn();\n const computedStyle = window.getComputedStyle(img);\n let renderedWidth = parseFloat(computedStyle.getPropertyValue('width'));\n let renderedHeight = parseFloat(computedStyle.getPropertyValue('height'));\n const boxSizing = computedStyle.getPropertyValue('box-sizing');\n if (boxSizing === 'border-box') {\n const paddingTop = computedStyle.getPropertyValue('padding-top');\n const paddingRight = computedStyle.getPropertyValue('padding-right');\n const paddingBottom = computedStyle.getPropertyValue('padding-bottom');\n const paddingLeft = computedStyle.getPropertyValue('padding-left');\n renderedWidth -= parseFloat(paddingRight) + parseFloat(paddingLeft);\n renderedHeight -= parseFloat(paddingTop) + parseFloat(paddingBottom);\n }\n const renderedAspectRatio = renderedWidth / renderedHeight;\n const nonZeroRenderedDimensions = renderedWidth !== 0 && renderedHeight !== 0;\n const intrinsicWidth = img.naturalWidth;\n const intrinsicHeight = img.naturalHeight;\n const intrinsicAspectRatio = intrinsicWidth / intrinsicHeight;\n const suppliedWidth = dir.width;\n const suppliedHeight = dir.height;\n const suppliedAspectRatio = suppliedWidth / suppliedHeight;\n // Tolerance is used to account for the impact of subpixel rendering.\n // Due to subpixel rendering, the rendered, intrinsic, and supplied\n // aspect ratios of a correctly configured image may not exactly match.\n // For example, a `width=4030 height=3020` image might have a rendered\n // size of \"1062w, 796.48h\". (An aspect ratio of 1.334... vs. 1.333...)\n const inaccurateDimensions = Math.abs(suppliedAspectRatio - intrinsicAspectRatio) > ASPECT_RATIO_TOLERANCE;\n const stylingDistortion = nonZeroRenderedDimensions &&\n Math.abs(intrinsicAspectRatio - renderedAspectRatio) > ASPECT_RATIO_TOLERANCE;\n if (inaccurateDimensions) {\n console.warn(ɵformatRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} the aspect ratio of the image does not match ` +\n `the aspect ratio indicated by the width and height attributes. ` +\n `\\nIntrinsic image size: ${intrinsicWidth}w x ${intrinsicHeight}h ` +\n `(aspect-ratio: ${round(intrinsicAspectRatio)}). \\nSupplied width and height attributes: ` +\n `${suppliedWidth}w x ${suppliedHeight}h (aspect-ratio: ${round(suppliedAspectRatio)}). ` +\n `\\nTo fix this, update the width and height attributes.`));\n }\n else if (stylingDistortion) {\n console.warn(ɵformatRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} the aspect ratio of the rendered image ` +\n `does not match the image's intrinsic aspect ratio. ` +\n `\\nIntrinsic image size: ${intrinsicWidth}w x ${intrinsicHeight}h ` +\n `(aspect-ratio: ${round(intrinsicAspectRatio)}). \\nRendered image size: ` +\n `${renderedWidth}w x ${renderedHeight}h (aspect-ratio: ` +\n `${round(renderedAspectRatio)}). \\nThis issue can occur if \"width\" and \"height\" ` +\n `attributes are added to an image without updating the corresponding ` +\n `image styling. To fix this, adjust image styling. In most cases, ` +\n `adding \"height: auto\" or \"width: auto\" to the image styling will fix ` +\n `this issue.`));\n }\n else if (!dir.ngSrcset && nonZeroRenderedDimensions) {\n // If `ngSrcset` hasn't been set, sanity check the intrinsic size.\n const recommendedWidth = RECOMMENDED_SRCSET_DENSITY_CAP * renderedWidth;\n const recommendedHeight = RECOMMENDED_SRCSET_DENSITY_CAP * renderedHeight;\n const oversizedWidth = (intrinsicWidth - recommendedWidth) >= OVERSIZED_IMAGE_TOLERANCE;\n const oversizedHeight = (intrinsicHeight - recommendedHeight) >= OVERSIZED_IMAGE_TOLERANCE;\n if (oversizedWidth || oversizedHeight) {\n console.warn(ɵformatRuntimeError(2960 /* RuntimeErrorCode.OVERSIZED_IMAGE */, `${imgDirectiveDetails(dir.ngSrc)} the intrinsic image is significantly ` +\n `larger than necessary. ` +\n `\\nRendered image size: ${renderedWidth}w x ${renderedHeight}h. ` +\n `\\nIntrinsic image size: ${intrinsicWidth}w x ${intrinsicHeight}h. ` +\n `\\nRecommended intrinsic image size: ${recommendedWidth}w x ${recommendedHeight}h. ` +\n `\\nNote: Recommended intrinsic image size is calculated assuming a maximum DPR of ` +\n `${RECOMMENDED_SRCSET_DENSITY_CAP}. To improve loading time, resize the image ` +\n `or consider using the \"ngSrcset\" and \"sizes\" attributes.`));\n }\n }\n });\n}\n/**\n * Verifies that a specified input is set.\n */\nfunction assertNonEmptyWidthAndHeight(dir) {\n let missingAttributes = [];\n if (dir.width === undefined)\n missingAttributes.push('width');\n if (dir.height === undefined)\n missingAttributes.push('height');\n if (missingAttributes.length > 0) {\n throw new ɵRuntimeError(2954 /* RuntimeErrorCode.REQUIRED_INPUT_MISSING */, `${imgDirectiveDetails(dir.ngSrc)} these required attributes ` +\n `are missing: ${missingAttributes.map(attr => `\"${attr}\"`).join(', ')}. ` +\n `Including \"width\" and \"height\" attributes will prevent image-related layout shifts. ` +\n `To fix this, include \"width\" and \"height\" attributes on the image tag or turn on ` +\n `\"fill\" mode with the \\`fill\\` attribute.`);\n }\n}\n/**\n * Verifies that width and height are not set. Used in fill mode, where those attributes don't make\n * sense.\n */\nfunction assertEmptyWidthAndHeight(dir) {\n if (dir.width || dir.height) {\n throw new ɵRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} the attributes \\`height\\` and/or \\`width\\` are present ` +\n `along with the \\`fill\\` attribute. Because \\`fill\\` mode causes an image to fill its containing ` +\n `element, the size attributes have no effect and should be removed.`);\n }\n}\n/**\n * Verifies that the rendered image has a nonzero height. If the image is in fill mode, provides\n * guidance that this can be caused by the containing element's CSS position property.\n */\nfunction assertNonZeroRenderedHeight(dir, img, renderer) {\n const removeListenerFn = renderer.listen(img, 'load', () => {\n removeListenerFn();\n const renderedHeight = img.clientHeight;\n if (dir.fill && renderedHeight === 0) {\n console.warn(ɵformatRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} the height of the fill-mode image is zero. ` +\n `This is likely because the containing element does not have the CSS 'position' ` +\n `property set to one of the following: \"relative\", \"fixed\", or \"absolute\". ` +\n `To fix this problem, make sure the container element has the CSS 'position' ` +\n `property defined and the height of the element is not zero.`));\n }\n });\n}\n/**\n * Verifies that the `loading` attribute is set to a valid input &\n * is not used on priority images.\n */\nfunction assertValidLoadingInput(dir) {\n if (dir.loading && dir.priority) {\n throw new ɵRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} the \\`loading\\` attribute ` +\n `was used on an image that was marked \"priority\". ` +\n `Setting \\`loading\\` on priority images is not allowed ` +\n `because these images will always be eagerly loaded. ` +\n `To fix this, remove the “loading” attribute from the priority image.`);\n }\n const validInputs = ['auto', 'eager', 'lazy'];\n if (typeof dir.loading === 'string' && !validInputs.includes(dir.loading)) {\n throw new ɵRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} the \\`loading\\` attribute ` +\n `has an invalid value (\\`${dir.loading}\\`). ` +\n `To fix this, provide a valid value (\"lazy\", \"eager\", or \"auto\").`);\n }\n}\n/**\n * Warns if NOT using a loader (falling back to the generic loader) and\n * the image appears to be hosted on one of the image CDNs for which\n * we do have a built-in image loader. Suggests switching to the\n * built-in loader.\n *\n * @param ngSrc Value of the ngSrc attribute\n * @param imageLoader ImageLoader provided\n */\nfunction assertNotMissingBuiltInLoader(ngSrc, imageLoader) {\n if (imageLoader === noopImageLoader) {\n let builtInLoaderName = '';\n for (const loader of BUILT_IN_LOADERS) {\n if (loader.testUrl(ngSrc)) {\n builtInLoaderName = loader.name;\n break;\n }\n }\n if (builtInLoaderName) {\n console.warn(ɵformatRuntimeError(2962 /* RuntimeErrorCode.MISSING_BUILTIN_LOADER */, `NgOptimizedImage: It looks like your images may be hosted on the ` +\n `${builtInLoaderName} CDN, but your app is not using Angular's ` +\n `built-in loader for that CDN. We recommend switching to use ` +\n `the built-in by calling \\`provide${builtInLoaderName}Loader()\\` ` +\n `in your \\`providers\\` and passing it your instance's base URL. ` +\n `If you don't want to use the built-in loader, define a custom ` +\n `loader function using IMAGE_LOADER to silence this warning.`));\n }\n }\n}\n/**\n * Warns if ngSrcset is present and no loader is configured (i.e. the default one is being used).\n */\nfunction assertNoNgSrcsetWithoutLoader(dir, imageLoader) {\n if (dir.ngSrcset && imageLoader === noopImageLoader) {\n console.warn(ɵformatRuntimeError(2963 /* RuntimeErrorCode.MISSING_NECESSARY_LOADER */, `${imgDirectiveDetails(dir.ngSrc)} the \\`ngSrcset\\` attribute is present but ` +\n `no image loader is configured (i.e. the default one is being used), ` +\n `which would result in the same image being used for all configured sizes. ` +\n `To fix this, provide a loader or remove the \\`ngSrcset\\` attribute from the image.`));\n }\n}\n/**\n * Warns if loaderParams is present and no loader is configured (i.e. the default one is being\n * used).\n */\nfunction assertNoLoaderParamsWithoutLoader(dir, imageLoader) {\n if (dir.loaderParams && imageLoader === noopImageLoader) {\n console.warn(ɵformatRuntimeError(2963 /* RuntimeErrorCode.MISSING_NECESSARY_LOADER */, `${imgDirectiveDetails(dir.ngSrc)} the \\`loaderParams\\` attribute is present but ` +\n `no image loader is configured (i.e. the default one is being used), ` +\n `which means that the loaderParams data will not be consumed and will not affect the URL. ` +\n `To fix this, provide a custom loader or remove the \\`loaderParams\\` attribute from the image.`));\n }\n}\nfunction round(input) {\n return Number.isInteger(input) ? input : input.toFixed(2);\n}\n\n// These exports represent the set of symbols exposed as a public API.\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of the common package.\n */\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\n// This file only reexports content of the `src` folder. Keep it that way.\n\n// This file is not used to build this module. It is only used during editing\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { APP_BASE_HREF, AsyncPipe, BrowserPlatformLocation, CommonModule, CurrencyPipe, DATE_PIPE_DEFAULT_OPTIONS, DATE_PIPE_DEFAULT_TIMEZONE, DOCUMENT, DatePipe, DecimalPipe, FormStyle, FormatWidth, HashLocationStrategy, I18nPluralPipe, I18nSelectPipe, IMAGE_CONFIG, IMAGE_LOADER, JsonPipe, KeyValuePipe, LOCATION_INITIALIZED, Location, LocationStrategy, LowerCasePipe, NgClass, NgComponentOutlet, NgForOf as NgFor, NgForOf, NgForOfContext, NgIf, NgIfContext, NgLocaleLocalization, NgLocalization, NgOptimizedImage, NgPlural, NgPluralCase, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgTemplateOutlet, NumberFormatStyle, NumberSymbol, PRECONNECT_CHECK_BLOCKLIST, PathLocationStrategy, PercentPipe, PlatformLocation, Plural, SlicePipe, TitleCasePipe, TranslationWidth, UpperCasePipe, VERSION, ViewportScroller, WeekDay, XhrFactory, formatCurrency, formatDate, formatNumber, formatPercent, getCurrencySymbol, getLocaleCurrencyCode, getLocaleCurrencyName, getLocaleCurrencySymbol, getLocaleDateFormat, getLocaleDateTimeFormat, getLocaleDayNames, getLocaleDayPeriods, getLocaleDirection, getLocaleEraNames, getLocaleExtraDayPeriodRules, getLocaleExtraDayPeriods, getLocaleFirstDayOfWeek, getLocaleId, getLocaleMonthNames, getLocaleNumberFormat, getLocaleNumberSymbol, getLocalePluralCase, getLocaleTimeFormat, getLocaleWeekEndRange, getNumberOfCurrencyDigits, isPlatformBrowser, isPlatformServer, isPlatformWorkerApp, isPlatformWorkerUi, provideCloudflareLoader, provideCloudinaryLoader, provideImageKitLoader, provideImgixLoader, registerLocaleData, DomAdapter as ɵDomAdapter, NullViewportScroller as ɵNullViewportScroller, PLATFORM_BROWSER_ID as ɵPLATFORM_BROWSER_ID, PLATFORM_SERVER_ID as ɵPLATFORM_SERVER_ID, PLATFORM_WORKER_APP_ID as ɵPLATFORM_WORKER_APP_ID, PLATFORM_WORKER_UI_ID as ɵPLATFORM_WORKER_UI_ID, getDOM as ɵgetDOM, parseCookieValue as ɵparseCookieValue, setRootDomAdapter as ɵsetRootDomAdapter };\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import toPropertyKey from \"./toPropertyKey.js\";\nexport default function _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import defineProperty from \"./defineProperty.js\";\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n return keys;\n}\nexport default function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}","export default function _iterableToArrayLimit(arr, i) {\n var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"];\n if (null != _i) {\n var _s,\n _e,\n _x,\n _r,\n _arr = [],\n _n = !0,\n _d = !1;\n try {\n if (_x = (_i = _i.call(arr)).next, 0 === i) {\n if (Object(_i) !== _i) return;\n _n = !1;\n } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);\n } catch (err) {\n _d = !0, _e = err;\n } finally {\n try {\n if (!_n && null != _i[\"return\"] && (_r = _i[\"return\"](), Object(_r) !== _r)) return;\n } finally {\n if (_d) throw _e;\n }\n }\n return _arr;\n }\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]} \ No newline at end of file diff --git a/6508.9d89448241dbbf53.js b/6508.9d89448241dbbf53.js new file mode 100644 index 0000000..06583c5 --- /dev/null +++ b/6508.9d89448241dbbf53.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[6508],{50253:(w,b,t)=>{t.d(b,{x:()=>x});var g=t(95106),f=t(78069),v=t(48047),y=t(4089),h=t(20265),u=t(24582),o=t(28694),s=t(90833),O=t(17714),P=(0,t(27543).d)(function(B){return function(){B(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),n=t(39663),m=t(12309),x=function(){var B=function(U){(0,u.Z)(W,U);var T=(0,o.Z)(W);function W(){var d;return(0,f.Z)(this,W),(d=T.call(this)).closed=!1,d.currentObservers=null,d.observers=[],d.isStopped=!1,d.hasError=!1,d.thrownError=null,d}return(0,v.Z)(W,[{key:"lift",value:function(l){var E=new k(this,this);return E.operator=l,E}},{key:"_throwIfClosed",value:function(){if(this.closed)throw new P}},{key:"next",value:function(l){var E=this;(0,m.x)(function(){if(E._throwIfClosed(),!E.isStopped){E.currentObservers||(E.currentObservers=Array.from(E.observers));var _,I=(0,g.Z)(E.currentObservers);try{for(I.s();!(_=I.n()).done;)_.value.next(l)}catch(L){I.e(L)}finally{I.f()}}})}},{key:"error",value:function(l){var E=this;(0,m.x)(function(){if(E._throwIfClosed(),!E.isStopped){E.hasError=E.isStopped=!0,E.thrownError=l;for(var I=E.observers;I.length;)I.shift().error(l)}})}},{key:"complete",value:function(){var l=this;(0,m.x)(function(){if(l._throwIfClosed(),!l.isStopped){l.isStopped=!0;for(var E=l.observers;E.length;)E.shift().complete()}})}},{key:"unsubscribe",value:function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}},{key:"observed",get:function(){var l;return(null===(l=this.observers)||void 0===l?void 0:l.length)>0}},{key:"_trySubscribe",value:function(l){return this._throwIfClosed(),(0,y.Z)((0,h.Z)(W.prototype),"_trySubscribe",this).call(this,l)}},{key:"_subscribe",value:function(l){return this._throwIfClosed(),this._checkFinalizedStatuses(l),this._innerSubscribe(l)}},{key:"_innerSubscribe",value:function(l){var E=this,C=this.observers;return this.hasError||this.isStopped?O.Lc:(this.currentObservers=null,C.push(l),new O.w0(function(){E.currentObservers=null,(0,n.P)(C,l)}))}},{key:"_checkFinalizedStatuses",value:function(l){var _=this.isStopped;this.hasError?l.error(this.thrownError):_&&l.complete()}},{key:"asObservable",value:function(){var l=new s.y;return l.source=this,l}}]),W}(s.y);return B.create=function(U,T){return new k(U,T)},B}(),k=function(B){(0,u.Z)(T,B);var U=(0,o.Z)(T);function T(W,d){var l;return(0,f.Z)(this,T),(l=U.call(this)).destination=W,l.source=d,l}return(0,v.Z)(T,[{key:"next",value:function(d){var l,E;null===(E=null===(l=this.destination)||void 0===l?void 0:l.next)||void 0===E||E.call(l,d)}},{key:"error",value:function(d){var l,E;null===(E=null===(l=this.destination)||void 0===l?void 0:l.error)||void 0===E||E.call(l,d)}},{key:"complete",value:function(){var d,l;null===(l=null===(d=this.destination)||void 0===d?void 0:d.complete)||void 0===l||l.call(d)}},{key:"_subscribe",value:function(d){var l,E;return null!==(E=null===(l=this.source)||void 0===l?void 0:l.subscribe(d))&&void 0!==E?E:O.Lc}}]),T}(x)},59319:(w,b,t)=>{t.d(b,{z:()=>h});var g=t(1308),v=t(10420),y=t(37400);function h(){for(var u=arguments.length,o=new Array(u),s=0;s<u;s++)o[s]=arguments[s];return function f(){return(0,g.J)(1)}()((0,y.D)(o,(0,v.yG)(o)))}},21954:(w,b,t)=>{t.d(b,{P:()=>v});var g=t(90833),f=t(54987);function v(y){return new g.y(function(h){(0,f.Xf)(y()).subscribe(h)})}},20591:(w,b,t)=>{t.d(b,{E:()=>f});var f=new(t(90833).y)(function(h){return h.complete()})},37400:(w,b,t)=>{t.d(b,{D:()=>I});var g=t(54987),f=t(8728),v=t(41944);function y(_){var C=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,v.e)(function(L,K){K.add(_.schedule(function(){return L.subscribe(K)},C))})}var o=t(90833),O=t(67321),D=t(92971),P=t(1817);function m(_,C){if(!_)throw new Error("Iterable cannot be null");return new o.y(function(L){(0,P.f)(L,C,function(){var K=_[Symbol.asyncIterator]();(0,P.f)(L,C,function(){K.next().then(function(j){j.done?L.complete():L.next(j.value)})},0,!0)})})}var x=t(21331),k=t(79548),B=t(99806),U=t(23433),T=t(80470),W=t(27785),d=t(20181);function I(_,C){return C?function E(_,C){if(null!=_){if((0,x.c)(_))return function h(_,C){return(0,g.Xf)(_).pipe(y(C),(0,f.Q)(C))}(_,C);if((0,B.z)(_))return function s(_,C){return new o.y(function(L){var K=0;return C.schedule(function(){K===_.length?L.complete():(L.next(_[K++]),L.closed||this.schedule())})})}(_,C);if((0,k.t)(_))return function u(_,C){return(0,g.Xf)(_).pipe(y(C),(0,f.Q)(C))}(_,C);if((0,T.D)(_))return m(_,C);if((0,U.T)(_))return function n(_,C){return new o.y(function(L){var K;return(0,P.f)(L,C,function(){K=_[O.h](),(0,P.f)(L,C,function(){var j,G;try{var X=K.next();j=X.value,G=X.done}catch(z){return void L.error(z)}G?L.complete():L.next(j)},0,!0)}),function(){return(0,D.m)(K?.return)&&K.return()}})}(_,C);if((0,d.L)(_))return function l(_,C){return m((0,d.Q)(_),C)}(_,C)}throw(0,W.z)(_)}(_,C):(0,g.Xf)(_)}},36646:(w,b,t)=>{t.d(b,{T:()=>u});var g=t(1308),f=t(54987),v=t(20591),y=t(10420),h=t(37400);function u(){for(var o=arguments.length,s=new Array(o),O=0;O<o;O++)s[O]=arguments[O];var D=(0,y.yG)(s),P=(0,y._6)(s,1/0),n=s;return n.length?1===n.length?(0,f.Xf)(n[0]):(0,g.J)(P)((0,h.D)(n,D)):v.E}},93945:(w,b,t)=>{t.d(b,{Q:()=>D,x:()=>O});var g=t(78069),f=t(48047),v=t(35488),y=t(24582),h=t(28694),u=t(4089),o=t(20265);function O(P,n,m,x,k){return new D(P,n,m,x,k)}var D=function(P){(0,y.Z)(m,P);var n=(0,h.Z)(m);function m(x,k,B,U,T,W){var d,l,E,I;return(0,g.Z)(this,m),(I=n.call(this,x)).onFinalize=T,I.shouldUnsubscribe=W,I._next=k?function(_){try{k(_)}catch(C){x.error(C)}}:(0,u.Z)((d=(0,v.Z)(I),(0,o.Z)(m.prototype)),"_next",d),I._error=U?function(_){try{U(_)}catch(C){x.error(C)}finally{this.unsubscribe()}}:(0,u.Z)((l=(0,v.Z)(I),(0,o.Z)(m.prototype)),"_error",l),I._complete=B?function(){try{B()}catch(_){x.error(_)}finally{this.unsubscribe()}}:(0,u.Z)((E=(0,v.Z)(I),(0,o.Z)(m.prototype)),"_complete",E),I}return(0,f.Z)(m,[{key:"unsubscribe",value:function(){var k;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var B=this.closed;(0,u.Z)((0,o.Z)(m.prototype),"unsubscribe",this).call(this),!B&&(null===(k=this.onFinalize)||void 0===k||k.call(this))}}}]),m}(t(5463).Lv)},98977:(w,b,t)=>{t.d(b,{x:()=>y});var g=t(89173),f=t(41944),v=t(93945);function y(u){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g.y;return u=u??h,(0,f.e)(function(s,O){var D,P=!0;s.subscribe((0,v.x)(O,function(n){var m=o(n);(P||!u(D,m))&&(P=!1,D=m,O.next(n))}))})}function h(u,o){return u===o}},60116:(w,b,t)=>{t.d(b,{h:()=>v});var g=t(41944),f=t(93945);function v(y,h){return(0,g.e)(function(u,o){var s=0;u.subscribe((0,f.x)(o,function(O){return y.call(h,O,s++)&&o.next(O)}))})}},50635:(w,b,t)=>{t.d(b,{U:()=>v});var g=t(41944),f=t(93945);function v(y,h){return(0,g.e)(function(u,o){var s=0;u.subscribe((0,f.x)(o,function(O){o.next(y.call(h,O,s++))}))})}},1308:(w,b,t)=>{t.d(b,{J:()=>v});var g=t(49525),f=t(89173);function v(){return(0,g.z)(f.y,arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0)}},49525:(w,b,t)=>{t.d(b,{z:()=>s});var g=t(50635),f=t(54987),v=t(41944),y=t(1817),h=t(93945),o=t(92971);function s(O,D){var P=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;return(0,o.m)(D)?s(function(n,m){return(0,g.U)(function(x,k){return D(n,x,m,k)})((0,f.Xf)(O(n,m)))},P):("number"==typeof D&&(P=D),(0,v.e)(function(n,m){return function u(O,D,P,n,m,x,k,B){var U=[],T=0,W=0,d=!1,l=function(){d&&!U.length&&!T&&D.complete()},E=function(C){return T<n?I(C):U.push(C)},I=function _(C){x&&D.next(C),T++;var L=!1;(0,f.Xf)(P(C,W++)).subscribe((0,h.x)(D,function(K){m?.(K),x?E(K):D.next(K)},function(){L=!0},void 0,function(){if(L)try{T--;for(var K=function(){var G=U.shift();k?(0,y.f)(D,k,function(){return _(G)}):_(G)};U.length&&T<n;)K();l()}catch(j){D.error(j)}}))};return O.subscribe((0,h.x)(D,E,function(){d=!0,l()})),function(){B?.()}}(n,m,O,P)}))}},8728:(w,b,t)=>{t.d(b,{Q:()=>y});var g=t(1817),f=t(41944),v=t(93945);function y(h){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,f.e)(function(o,s){o.subscribe((0,v.x)(s,function(O){return(0,g.f)(s,h,function(){return s.next(O)},u)},function(){return(0,g.f)(s,h,function(){return s.complete()},u)},function(O){return(0,g.f)(s,h,function(){return s.error(O)},u)}))})}},44874:(w,b,t)=>{t.d(b,{O:()=>y});var g=t(59319),f=t(10420),v=t(41944);function y(){for(var h=arguments.length,u=new Array(h),o=0;o<h;o++)u[o]=arguments[o];var s=(0,f.yG)(u);return(0,v.e)(function(O,D){(s?(0,g.z)(u,O,s):(0,g.z)(u,O)).subscribe(D)})}},32673:(w,b,t)=>{t.d(b,{w:()=>y});var g=t(54987),f=t(41944),v=t(93945);function y(h,u){return(0,f.e)(function(o,s){var O=null,D=0,P=!1,n=function(){return P&&!O&&s.complete()};o.subscribe((0,v.x)(s,function(m){O?.unsubscribe();var x=0,k=D++;(0,g.Xf)(h(m,k)).subscribe(O=(0,v.x)(s,function(B){return s.next(u?u(m,B,k,x++):B)},function(){O=null,n()}))},function(){P=!0,n()}))})}},59295:(w,b,t)=>{t.d(b,{q:()=>y});var g=t(20591),f=t(41944),v=t(93945);function y(h){return h<=0?function(){return g.E}:(0,f.e)(function(u,o){var s=0;u.subscribe((0,v.x)(o,function(O){++s<=h&&(o.next(O),h<=s&&o.complete())}))})}},68951:(w,b,t)=>{t.d(b,{R:()=>h});var g=t(41944),f=t(93945),v=t(54987),y=t(99635);function h(u){return(0,g.e)(function(o,s){(0,v.Xf)(u).subscribe((0,f.x)(s,function(){return s.complete()},y.Z)),!s.closed&&o.subscribe(s)})}},10420:(w,b,t)=>{t.d(b,{_6:()=>u,jO:()=>y,yG:()=>h});var g=t(92971),f=t(59867);function v(o){return o[o.length-1]}function y(o){return(0,g.m)(v(o))?o.pop():void 0}function h(o){return(0,f.K)(v(o))?o.pop():void 0}function u(o,s){return"number"==typeof v(o)?o.pop():s}},1817:(w,b,t)=>{function g(f,v,y){var h=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,u=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=v.schedule(function(){y(),u?f.add(this.schedule(null,h)):this.unsubscribe()},h);if(f.add(o),!u)return o}t.d(b,{f:()=>g})},59867:(w,b,t)=>{t.d(b,{K:()=>f});var g=t(92971);function f(v){return v&&(0,g.m)(v.schedule)}},41944:(w,b,t)=>{t.d(b,{A:()=>f,e:()=>v});var g=t(92971);function f(y){return(0,g.m)(y?.lift)}function v(y){return function(h){if(f(h))return h.lift(function(u){try{return y(u,this)}catch(o){this.error(o)}});throw new TypeError("Unable to lift unknown Observable type")}}},56508:(w,b,t)=>{t.r(b),t.d(b,{MAT_SELECT_CONFIG:()=>oe,MAT_SELECT_SCROLL_STRATEGY:()=>Y,MAT_SELECT_SCROLL_STRATEGY_PROVIDER:()=>le,MAT_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY:()=>ie,MAT_SELECT_TRIGGER:()=>J,MatSelect:()=>Ee,MatSelectChange:()=>se,MatSelectModule:()=>Me,MatSelectTrigger:()=>Oe,_MatSelectBase:()=>ce,matSelectAnimations:()=>re});var g=t(95106),f=t(4089),v=t(20265),y=t(86170),h=t(35488),u=t(24582),o=t(28694),s=t(48047),O=t(78069),D=t(43662),P=t(94055),n=t(56718),m=t(6606),x=t(137),k=t(93168),B=t(908),U=t(43068),T=t(35333),W=t(81382),d=t(52069),l=t(47405),E=t(50253),I=t(21954),_=t(36646),C=t(44874),L=t(32673),K=t(59295),j=t(60116),G=t(50635),X=t(98977),z=t(68951),F=t(72223),ue=["trigger"],de=["panel"];function _e(p,A){if(1&p&&(n.\u0275\u0275elementStart(0,"span",10),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&p){var S=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate(S.placeholder)}}function he(p,A){if(1&p&&(n.\u0275\u0275elementStart(0,"span",14),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&p){var S=n.\u0275\u0275nextContext(2);n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate(S.triggerValue)}}function fe(p,A){1&p&&n.\u0275\u0275projection(0,0,["*ngSwitchCase","true"])}function ve(p,A){if(1&p&&(n.\u0275\u0275elementStart(0,"span",11),n.\u0275\u0275template(1,he,2,1,"span",12),n.\u0275\u0275template(2,fe,1,0,"ng-content",13),n.\u0275\u0275elementEnd()),2&p){var S=n.\u0275\u0275nextContext();n.\u0275\u0275property("ngSwitch",!!S.customTrigger),n.\u0275\u0275advance(2),n.\u0275\u0275property("ngSwitchCase",!0)}}function me(p,A){if(1&p){var S=n.\u0275\u0275getCurrentView();n.\u0275\u0275namespaceSVG(),n.\u0275\u0275namespaceHTML(),n.\u0275\u0275elementStart(0,"div",15,16),n.\u0275\u0275listener("@transformPanel.done",function(e){n.\u0275\u0275restoreView(S);var a=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(a._panelDoneAnimatingStream.next(e.toState))})("keydown",function(e){n.\u0275\u0275restoreView(S);var a=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(a._handleKeydown(e))}),n.\u0275\u0275projection(2,1),n.\u0275\u0275elementEnd()}if(2&p){var i=n.\u0275\u0275nextContext();n.\u0275\u0275classMapInterpolate1("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",i._getPanelTheme(),""),n.\u0275\u0275property("ngClass",i.panelClass)("@transformPanel","showing"),n.\u0275\u0275attribute("id",i.id+"-panel")("aria-multiselectable",i.multiple)("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby())}}var pe=[[["mat-select-trigger"]],"*"],ge=["mat-select-trigger","*"],re={transformPanelWrap:(0,F.X$)("transformPanelWrap",[(0,F.eR)("* => void",(0,F.IO)("@transformPanel",[(0,F.pV)()],{optional:!0}))]),transformPanel:(0,F.X$)("transformPanel",[(0,F.SB)("void",(0,F.oB)({opacity:0,transform:"scale(1, 0.8)"})),(0,F.eR)("void => showing",(0,F.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,F.oB)({opacity:1,transform:"scale(1, 1)"}))),(0,F.eR)("* => void",(0,F.jt)("100ms linear",(0,F.oB)({opacity:0})))])},ae=0,Y=new n.InjectionToken("mat-select-scroll-strategy");function ie(p){return function(){return p.scrollStrategies.reposition()}}var oe=new n.InjectionToken("MAT_SELECT_CONFIG"),le={provide:Y,deps:[D.Overlay],useFactory:ie},J=new n.InjectionToken("MatSelectTrigger"),se=(0,s.Z)(function p(A,S){(0,O.Z)(this,p),this.source=A,this.value=S}),ye=(0,m.mixinDisableRipple)((0,m.mixinTabIndex)((0,m.mixinDisabled)((0,m.mixinErrorState)(function(){return(0,s.Z)(function p(A,S,i,r,e){(0,O.Z)(this,p),this._elementRef=A,this._defaultErrorStateMatcher=S,this._parentForm=i,this._parentFormGroup=r,this.ngControl=e,this.stateChanges=new E.x})}())))),ce=function(){var p=function(A){(0,u.Z)(i,A);var S=(0,o.Z)(i);function i(r,e,a,c,R,Z,H,Q,N,Ce,be,De,Se,$){var q,ee,te,M;return(0,O.Z)(this,i),(M=S.call(this,R,c,H,Q,Ce))._viewportRuler=r,M._changeDetectorRef=e,M._ngZone=a,M._dir=Z,M._parentFormField=N,M._liveAnnouncer=Se,M._defaultOptions=$,M._panelOpen=!1,M._compareWith=function(V,ne){return V===ne},M._uid="mat-select-".concat(ae++),M._triggerAriaLabelledBy=null,M._destroy=new E.x,M._onChange=function(){},M._onTouched=function(){},M._valueId="mat-select-value-".concat(ae++),M._panelDoneAnimatingStream=new E.x,M._overlayPanelClass=(null===(q=M._defaultOptions)||void 0===q?void 0:q.overlayPanelClass)||"",M._focused=!1,M.controlType="mat-select",M._multiple=!1,M._disableOptionCentering=null!==(ee=null===(te=M._defaultOptions)||void 0===te?void 0:te.disableOptionCentering)&&void 0!==ee&&ee,M.ariaLabel="",M.optionSelectionChanges=(0,I.P)(function(){var V=M.options;return V?V.changes.pipe((0,C.O)(V),(0,L.w)(function(){return _.T.apply(void 0,(0,y.Z)(V.map(function(ne){return ne.onSelectionChange})))})):M._ngZone.onStable.pipe((0,K.q)(1),(0,L.w)(function(){return M.optionSelectionChanges}))}),M.openedChange=new n.EventEmitter,M._openedStream=M.openedChange.pipe((0,j.h)(function(V){return V}),(0,G.U)(function(){})),M._closedStream=M.openedChange.pipe((0,j.h)(function(V){return!V}),(0,G.U)(function(){})),M.selectionChange=new n.EventEmitter,M.valueChange=new n.EventEmitter,M.ngControl&&(M.ngControl.valueAccessor=(0,h.Z)(M)),null!=$?.typeaheadDebounceInterval&&(M._typeaheadDebounceInterval=$.typeaheadDebounceInterval),M._scrollStrategyFactory=De,M._scrollStrategy=M._scrollStrategyFactory(),M.tabIndex=parseInt(be)||0,M.id=M.id,M}return(0,s.Z)(i,[{key:"focused",get:function(){return this._focused||this._panelOpen}},{key:"placeholder",get:function(){return this._placeholder},set:function(e){this._placeholder=e,this.stateChanges.next()}},{key:"required",get:function(){var e,a,c,R;return null!==(e=null!==(a=this._required)&&void 0!==a?a:null===(c=this.ngControl)||void 0===c||null===(R=c.control)||void 0===R?void 0:R.hasValidator(l.Validators.required))&&void 0!==e&&e},set:function(e){this._required=(0,T.coerceBooleanProperty)(e),this.stateChanges.next()}},{key:"multiple",get:function(){return this._multiple},set:function(e){this._multiple=(0,T.coerceBooleanProperty)(e)}},{key:"disableOptionCentering",get:function(){return this._disableOptionCentering},set:function(e){this._disableOptionCentering=(0,T.coerceBooleanProperty)(e)}},{key:"compareWith",get:function(){return this._compareWith},set:function(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(e){this._assignValue(e)&&this._onChange(e)}},{key:"typeaheadDebounceInterval",get:function(){return this._typeaheadDebounceInterval},set:function(e){this._typeaheadDebounceInterval=(0,T.coerceNumberProperty)(e)}},{key:"id",get:function(){return this._id},set:function(e){this._id=e||this._uid,this.stateChanges.next()}},{key:"ngOnInit",value:function(){var e=this;this._selectionModel=new W.SelectionModel(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,X.x)(),(0,z.R)(this._destroy)).subscribe(function(){return e._panelDoneAnimating(e.panelOpen)})}},{key:"ngAfterContentInit",value:function(){var e=this;this._initKeyManager(),this._selectionModel.changed.pipe((0,z.R)(this._destroy)).subscribe(function(a){a.added.forEach(function(c){return c.select()}),a.removed.forEach(function(c){return c.deselect()})}),this.options.changes.pipe((0,C.O)(null),(0,z.R)(this._destroy)).subscribe(function(){e._resetOptions(),e._initializeSelection()})}},{key:"ngDoCheck",value:function(){var e=this._getTriggerAriaLabelledby(),a=this.ngControl;if(e!==this._triggerAriaLabelledBy){var c=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?c.setAttribute("aria-labelledby",e):c.removeAttribute("aria-labelledby")}a&&(this._previousControl!==a.control&&(void 0!==this._previousControl&&null!==a.disabled&&a.disabled!==this.disabled&&(this.disabled=a.disabled),this._previousControl=a.control),this.updateErrorState())}},{key:"ngOnChanges",value:function(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}},{key:"ngOnDestroy",value:function(){var e;null===(e=this._keyManager)||void 0===e||e.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}},{key:"toggle",value:function(){this.panelOpen?this.close():this.open()}},{key:"open",value:function(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}},{key:"close",value:function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}},{key:"writeValue",value:function(e){this._assignValue(e)}},{key:"registerOnChange",value:function(e){this._onChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}},{key:"panelOpen",get:function(){return this._panelOpen}},{key:"selected",get:function(){var e,a;return this.multiple?(null===(e=this._selectionModel)||void 0===e?void 0:e.selected)||[]:null===(a=this._selectionModel)||void 0===a?void 0:a.selected[0]}},{key:"triggerValue",get:function(){if(this.empty)return"";if(this._multiple){var e=this._selectionModel.selected.map(function(a){return a.viewValue});return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}},{key:"_isRtl",value:function(){return!!this._dir&&"rtl"===this._dir.value}},{key:"_handleKeydown",value:function(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}},{key:"_handleClosedKeydown",value:function(e){var a=e.keyCode,c=a===d.DOWN_ARROW||a===d.UP_ARROW||a===d.LEFT_ARROW||a===d.RIGHT_ARROW,R=a===d.ENTER||a===d.SPACE,Z=this._keyManager;if(!Z.isTyping()&&R&&!(0,d.hasModifierKey)(e)||(this.multiple||e.altKey)&&c)e.preventDefault(),this.open();else if(!this.multiple){var H=this.selected;Z.onKeydown(e);var Q=this.selected;Q&&H!==Q&&this._liveAnnouncer.announce(Q.viewValue,1e4)}}},{key:"_handleOpenKeydown",value:function(e){var a=this._keyManager,c=e.keyCode,R=c===d.DOWN_ARROW||c===d.UP_ARROW,Z=a.isTyping();if(R&&e.altKey)e.preventDefault(),this.close();else if(Z||c!==d.ENTER&&c!==d.SPACE||!a.activeItem||(0,d.hasModifierKey)(e))if(!Z&&this._multiple&&c===d.A&&e.ctrlKey){e.preventDefault();var H=this.options.some(function(N){return!N.disabled&&!N.selected});this.options.forEach(function(N){N.disabled||(H?N.select():N.deselect())})}else{var Q=a.activeItemIndex;a.onKeydown(e),this._multiple&&R&&e.shiftKey&&a.activeItem&&a.activeItemIndex!==Q&&a.activeItem._selectViaInteraction()}else e.preventDefault(),a.activeItem._selectViaInteraction()}},{key:"_onFocus",value:function(){this.disabled||(this._focused=!0,this.stateChanges.next())}},{key:"_onBlur",value:function(){var e;this._focused=!1,null===(e=this._keyManager)||void 0===e||e.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}},{key:"_onAttached",value:function(){var e=this;this._overlayDir.positionChange.pipe((0,K.q)(1)).subscribe(function(){e._changeDetectorRef.detectChanges(),e._positioningSettled()})}},{key:"_getPanelTheme",value:function(){return this._parentFormField?"mat-".concat(this._parentFormField.color):""}},{key:"empty",get:function(){return!this._selectionModel||this._selectionModel.isEmpty()}},{key:"_initializeSelection",value:function(){var e=this;Promise.resolve().then(function(){e.ngControl&&(e._value=e.ngControl.value),e._setSelectionByValue(e._value),e.stateChanges.next()})}},{key:"_setSelectionByValue",value:function(e){var a=this;if(this.options.forEach(function(R){return R.setInactiveStyles()}),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(function(R){return a._selectOptionByValue(R)}),this._sortValues();else{var c=this._selectOptionByValue(e);c?this._keyManager.updateActiveItem(c):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}},{key:"_selectOptionByValue",value:function(e){var a=this,c=this.options.find(function(R){if(a._selectionModel.isSelected(R))return!1;try{return null!=R.value&&a._compareWith(R.value,e)}catch{return!1}});return c&&this._selectionModel.select(c),c}},{key:"_assignValue",value:function(e){return!!(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e,!0)}},{key:"_skipPredicate",value:function(e){return e.disabled}},{key:"_initKeyManager",value:function(){var e=this;this._keyManager=new B.ActiveDescendantKeyManager(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(function(){e.panelOpen&&(!e.multiple&&e._keyManager.activeItem&&e._keyManager.activeItem._selectViaInteraction(),e.focus(),e.close())}),this._keyManager.change.subscribe(function(){e._panelOpen&&e.panel?e._scrollOptionIntoView(e._keyManager.activeItemIndex||0):!e._panelOpen&&!e.multiple&&e._keyManager.activeItem&&e._keyManager.activeItem._selectViaInteraction()})}},{key:"_resetOptions",value:function(){var e=this,a=(0,_.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,z.R)(a)).subscribe(function(c){e._onSelect(c.source,c.isUserInput),c.isUserInput&&!e.multiple&&e._panelOpen&&(e.close(),e.focus())}),_.T.apply(void 0,(0,y.Z)(this.options.map(function(c){return c._stateChanges}))).pipe((0,z.R)(a)).subscribe(function(){e._changeDetectorRef.detectChanges(),e.stateChanges.next()})}},{key:"_onSelect",value:function(e,a){var c=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(c!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),a&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),a&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),c!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}},{key:"_sortValues",value:function(){var e=this;if(this.multiple){var a=this.options.toArray();this._selectionModel.sort(function(c,R){return e.sortComparator?e.sortComparator(c,R,a):a.indexOf(c)-a.indexOf(R)}),this.stateChanges.next()}}},{key:"_propagateChanges",value:function(e){var a;a=this.multiple?this.selected.map(function(c){return c.value}):this.selected?this.selected.value:e,this._value=a,this.valueChange.emit(a),this._onChange(a),this.selectionChange.emit(this._getChangeEvent(a)),this._changeDetectorRef.markForCheck()}},{key:"_highlightCorrectOption",value:function(){if(this._keyManager)if(this.empty){for(var e=-1,a=0;a<this.options.length;a++)if(!this.options.get(a).disabled){e=a;break}this._keyManager.setActiveItem(e)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}},{key:"_canOpen",value:function(){var e;return!this._panelOpen&&!this.disabled&&(null===(e=this.options)||void 0===e?void 0:e.length)>0}},{key:"focus",value:function(e){this._elementRef.nativeElement.focus(e)}},{key:"_getPanelAriaLabelledby",value:function(){var e;if(this.ariaLabel)return null;var a=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();return this.ariaLabelledby?(a?a+" ":"")+this.ariaLabelledby:a}},{key:"_getAriaActiveDescendant",value:function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}},{key:"_getTriggerAriaLabelledby",value:function(){var e;if(this.ariaLabel)return null;var a=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId(),c=(a?a+" ":"")+this._valueId;return this.ariaLabelledby&&(c+=" "+this.ariaLabelledby),c}},{key:"_panelDoneAnimating",value:function(e){this.openedChange.emit(e)}},{key:"setDescribedByIds",value:function(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}},{key:"onContainerClick",value:function(){this.focus(),this.open()}},{key:"shouldLabelFloat",get:function(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}]),i}(ye);return p.\u0275fac=function(S){return new(S||p)(n.\u0275\u0275directiveInject(k.ViewportRuler),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(m.ErrorStateMatcher),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(U.Directionality,8),n.\u0275\u0275directiveInject(l.NgForm,8),n.\u0275\u0275directiveInject(l.FormGroupDirective,8),n.\u0275\u0275directiveInject(x.MAT_FORM_FIELD,8),n.\u0275\u0275directiveInject(l.NgControl,10),n.\u0275\u0275injectAttribute("tabindex"),n.\u0275\u0275directiveInject(Y),n.\u0275\u0275directiveInject(B.LiveAnnouncer),n.\u0275\u0275directiveInject(oe,8))},p.\u0275dir=n.\u0275\u0275defineDirective({type:p,viewQuery:function(S,i){var r;1&S&&(n.\u0275\u0275viewQuery(ue,5),n.\u0275\u0275viewQuery(de,5),n.\u0275\u0275viewQuery(D.CdkConnectedOverlay,5)),2&S&&(n.\u0275\u0275queryRefresh(r=n.\u0275\u0275loadQuery())&&(i.trigger=r.first),n.\u0275\u0275queryRefresh(r=n.\u0275\u0275loadQuery())&&(i.panel=r.first),n.\u0275\u0275queryRefresh(r=n.\u0275\u0275loadQuery())&&(i._overlayDir=r.first))},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),p}(),Oe=function(){var p=(0,s.Z)(function A(){(0,O.Z)(this,A)});return p.\u0275fac=function(S){return new(S||p)},p.\u0275dir=n.\u0275\u0275defineDirective({type:p,selectors:[["mat-select-trigger"]],features:[n.\u0275\u0275ProvidersFeature([{provide:J,useExisting:p}])]}),p}(),Ee=function(){var p=function(A){(0,u.Z)(i,A);var S=(0,o.Z)(i);function i(){var r,e,a;return(0,O.Z)(this,i),(a=S.apply(this,arguments))._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],a._hideSingleSelectionIndicator=null!==(r=null===(e=a._defaultOptions)||void 0===e?void 0:e.hideSingleSelectionIndicator)&&void 0!==r&&r,a._skipPredicate=function(c){return!a.panelOpen&&c.disabled},a}return(0,s.Z)(i,[{key:"shouldLabelFloat",get:function(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}},{key:"ngOnInit",value:function(){var e=this;(0,f.Z)((0,v.Z)(i.prototype),"ngOnInit",this).call(this),this._viewportRuler.change().pipe((0,z.R)(this._destroy)).subscribe(function(){e.panelOpen&&(e._overlayWidth=e._getOverlayWidth(),e._changeDetectorRef.detectChanges())})}},{key:"ngAfterViewInit",value:function(){this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin())}},{key:"open",value:function(){this._overlayWidth=this._getOverlayWidth(),(0,f.Z)((0,v.Z)(i.prototype),"open",this).call(this),this.stateChanges.next()}},{key:"close",value:function(){(0,f.Z)((0,v.Z)(i.prototype),"close",this).call(this),this.stateChanges.next()}},{key:"_scrollOptionIntoView",value:function(e){var a=this.options.toArray()[e];if(a){var c=this.panel.nativeElement,R=(0,m._countGroupLabelsBeforeOption)(e,this.options,this.optionGroups),Z=a._getHostElement();c.scrollTop=0===e&&1===R?0:(0,m._getOptionScrollPosition)(Z.offsetTop,Z.offsetHeight,c.scrollTop,c.offsetHeight)}}},{key:"_positioningSettled",value:function(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}},{key:"_getChangeEvent",value:function(e){return new se(this,e)}},{key:"_getOverlayWidth",value:function(){return(this._preferredOverlayOrigin instanceof D.CdkOverlayOrigin?this._preferredOverlayOrigin.elementRef:this._preferredOverlayOrigin||this._elementRef).nativeElement.getBoundingClientRect().width}},{key:"hideSingleSelectionIndicator",get:function(){return this._hideSingleSelectionIndicator},set:function(e){this._hideSingleSelectionIndicator=(0,T.coerceBooleanProperty)(e),this._syncParentProperties()}},{key:"_syncParentProperties",value:function(){if(this.options){var a,e=(0,g.Z)(this.options);try{for(e.s();!(a=e.n()).done;)a.value._changeDetectorRef.markForCheck()}catch(R){e.e(R)}finally{e.f()}}}}]),i}(ce);return p.\u0275fac=function(){var A;return function(i){return(A||(A=n.\u0275\u0275getInheritedFactory(p)))(i||p)}}(),p.\u0275cmp=n.\u0275\u0275defineComponent({type:p,selectors:[["mat-select"]],contentQueries:function(S,i,r){var e;1&S&&(n.\u0275\u0275contentQuery(r,J,5),n.\u0275\u0275contentQuery(r,m.MatOption,5),n.\u0275\u0275contentQuery(r,m.MAT_OPTGROUP,5)),2&S&&(n.\u0275\u0275queryRefresh(e=n.\u0275\u0275loadQuery())&&(i.customTrigger=e.first),n.\u0275\u0275queryRefresh(e=n.\u0275\u0275loadQuery())&&(i.options=e),n.\u0275\u0275queryRefresh(e=n.\u0275\u0275loadQuery())&&(i.optionGroups=e))},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox","ngSkipHydration","",1,"mat-mdc-select"],hostVars:19,hostBindings:function(S,i){1&S&&n.\u0275\u0275listener("keydown",function(e){return i._handleKeydown(e)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),2&S&&(n.\u0275\u0275attribute("id",i.id)("tabindex",i.tabIndex)("aria-controls",i.panelOpen?i.id+"-panel":null)("aria-expanded",i.panelOpen)("aria-label",i.ariaLabel||null)("aria-required",i.required.toString())("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-activedescendant",i._getAriaActiveDescendant()),n.\u0275\u0275classProp("mat-mdc-select-disabled",i.disabled)("mat-mdc-select-invalid",i.errorState)("mat-mdc-select-required",i.required)("mat-mdc-select-empty",i.empty)("mat-mdc-select-multiple",i.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matSelect"],features:[n.\u0275\u0275ProvidersFeature([{provide:x.MatFormFieldControl,useExisting:p},{provide:m.MAT_OPTION_PARENT_COMPONENT,useExisting:p}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:ge,decls:11,vars:11,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value",3,"ngSwitch"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line",4,"ngSwitchCase"],["class","mat-mdc-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text",3,"ngSwitch"],["class","mat-mdc-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(S,i){if(1&S&&(n.\u0275\u0275projectionDef(pe),n.\u0275\u0275elementStart(0,"div",0,1),n.\u0275\u0275listener("click",function(){return i.toggle()}),n.\u0275\u0275elementStart(3,"div",2),n.\u0275\u0275template(4,_e,2,1,"span",3),n.\u0275\u0275template(5,ve,3,2,"span",4),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(6,"div",5)(7,"div",6),n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(8,"svg",7),n.\u0275\u0275element(9,"path",8),n.\u0275\u0275elementEnd()()()(),n.\u0275\u0275template(10,me,3,9,"ng-template",9),n.\u0275\u0275listener("backdropClick",function(){return i.close()})("attach",function(){return i._onAttached()})("detach",function(){return i.close()})),2&S){var r=n.\u0275\u0275reference(1);n.\u0275\u0275attribute("aria-owns",i.panelOpen?i.id+"-panel":null),n.\u0275\u0275advance(3),n.\u0275\u0275property("ngSwitch",i.empty),n.\u0275\u0275attribute("id",i._valueId),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngSwitchCase",!0),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngSwitchCase",!1),n.\u0275\u0275advance(5),n.\u0275\u0275property("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",i._preferredOverlayOrigin||r)("cdkConnectedOverlayOpen",i.panelOpen)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayWidth",i._overlayWidth)}},dependencies:[P.NgClass,P.NgSwitch,P.NgSwitchCase,P.NgSwitchDefault,D.CdkConnectedOverlay,D.CdkOverlayOrigin],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mdc-menu-surface{max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px)}.mat-mdc-select{display:inline-block;width:100%;outline:none}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:translateY(-8px)}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-select-arrow{width:10px;height:5px;position:relative}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}.mdc-menu-surface.mat-mdc-select-panel{width:100%;max-height:275px;position:static;outline:0;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-select-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) .mdc-menu-surface.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above .mdc-menu-surface.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[re.transformPanel]},changeDetection:0}),p}(),Me=function(){var p=(0,s.Z)(function A(){(0,O.Z)(this,A)});return p.\u0275fac=function(S){return new(S||p)},p.\u0275mod=n.\u0275\u0275defineNgModule({type:p}),p.\u0275inj=n.\u0275\u0275defineInjector({providers:[le],imports:[P.CommonModule,D.OverlayModule,m.MatOptionModule,m.MatCommonModule,k.CdkScrollableModule,x.MatFormFieldModule,m.MatOptionModule,m.MatCommonModule]}),p}()}}]); +//# sourceMappingURL=6508.9d89448241dbbf53.js.map \ No newline at end of file diff --git a/6508.9d89448241dbbf53.js.map b/6508.9d89448241dbbf53.js.map new file mode 100644 index 0000000..62754b6 --- /dev/null +++ b/6508.9d89448241dbbf53.js.map @@ -0,0 +1 @@ +{"version":3,"file":"6508.9d89448241dbbf53.js","mappings":"yMACaA,cAA0BC,GAAiB,SAACC,GAAM,OAAK,WAChEA,EAAOC,MACPA,KAAKC,KAAO,0BACZD,KAAKE,QAAU,qBACnB,CAAC,yBCAYC,EAAO,eAAPA,EAAO,SAAAC,IAAAC,OAAAF,EAAAC,GAAA,IAAAL,KAAAO,KAAAH,GAChB,SAAAA,IAAc,IAAAI,EAAAC,cAAAR,KAAAG,IACVI,EAAAR,EAAAU,KAAAT,OACKU,QAAS,EACdH,EAAKI,iBAAmB,KACxBJ,EAAKK,UAAY,GACjBL,EAAKM,WAAY,EACjBN,EAAKO,UAAW,EAChBP,EAAKQ,YAAc,KAAKR,CAC5B,CAACS,cA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AwFsF,EAAe,EADvHA,EAEYC,UAlRkFxW,6BAAE,CAAAyR,KAkRS8E,IAFzGA,EAQYE,UAxRkFzW,6BAAE,CAAA0W,UAwRqC,CAAC1T,IAAoC2T,QAAA,CAAYC,eAAcC,gBAAeC,kBAAiBC,kBAAiBC,sBAC/OC,qBACAH,kBACAC,qBAXNR,CAAe","names":["ObjectUnsubscribedError","createErrorClass","_super","this","name","message","Subject","_Observable","_inherits","_createSuper","_this","_classCallCheck","call","closed","currentObservers","observers","isStopped","hasError","thrownError","_createClass","key","value","operator","subject","AnonymousSubject","_this2","errorContext","_throwIfClosed","Array","from","_step","_iterator","_createForOfIteratorHelper","s","n","done","next","err","e","f","_this3","length","shift","error","_this4","complete","get","_a","subscriber","_get","_getPrototypeOf","prototype","_checkFinalizedStatuses","_innerSubscribe","_this5","EMPTY_SUBSCRIPTION","push","Subscription","arrRemove","observable","Observable","source","create","destination","_Subject","_super2","_this6","_b","subscribe","concat","_len","arguments","args","_key","concatAll","mergeAll","popScheduler","defer","observableFactory","innerFrom","EMPTY","subscribeOn","scheduler","delay","undefined","operate","add","schedule","scheduleAsyncIterable","input","Error","executeSchedule","iterator","Symbol","asyncIterator","then","result","scheduled","isInteropObservable","scheduleObservable","pipe","observeOn","isArrayLike","scheduleArray","i","isPromise","schedulePromise","isAsyncIterable","isIterable","scheduleIterable","Symbol_iterator","_iterator$next","isFunction","return","isReadableStreamLike","scheduleReadableStreamLike","readableStreamLikeToAsyncGenerator","createInvalidObservableTypeError","merge","concurrent","popNumber","Infinity","sources","createOperatorSubscriber","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_next","_assertThisInitialized","_error","unsubscribe","_complete","Subscriber","distinctUntilChanged","comparator","keySelector","identity","defaultCompare","previousKey","first","currentKey","a","b","filter","predicate","thisArg","index","map","project","mergeMap","resultSelector","ii","mergeInternals","onBeforeNext","expand","innerSubScheduler","additionalFinalizer","buffer","active","isComplete","checkComplete","outerNext","doInnerSub","innerComplete","innerValue","_loop","bufferedValue","startWith","values","switchMap","innerSubscriber","innerIndex","outerIndex","take","count","seen","takeUntil","notifier","noop","last","arr","popResultSelector","pop","isScheduler","defaultValue","parentSubscription","work","repeat","scheduleSubscription","hasLift","lift","init","liftedSource","TypeError","_c0","_c1","MatSelect_span_4_Template","rf","ctx","i0","ctx_r2","placeholder","MatSelect_span_5_span_1_Template","ctx_r5","triggerValue","MatSelect_span_5_ng_content_2_Template","MatSelect_span_5_Template","ctx_r3","customTrigger","MatSelect_ng_template_10_Template","_r9","$event","ctx_r8","_panelDoneAnimatingStream","toState","ctx_r10","_handleKeydown","ctx_r4","_getPanelTheme","panelClass","id","multiple","ariaLabel","_getPanelAriaLabelledby","_c2","_c3","matSelectAnimations","transformPanelWrap","trigger","transition","query","animateChild","optional","transformPanel","state","style","opacity","transform","animate","nextUniqueId","MAT_SELECT_SCROLL_STRATEGY","InjectionToken","MAT_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY","overlay","scrollStrategies","reposition","MAT_SELECT_CONFIG","MAT_SELECT_SCROLL_STRATEGY_PROVIDER","provide","deps","Overlay","useFactory","MAT_SELECT_TRIGGER","MatSelectChange","_MatSelectMixinBase","mixinDisableRipple","mixinTabIndex","mixinDisabled","mixinErrorState","_class","_elementRef","_defaultErrorStateMatcher","_parentForm","_parentFormGroup","ngControl","stateChanges","_MatSelectBase","_MatSelectMixinBase2","_viewportRuler","_changeDetectorRef","_ngZone","elementRef","_dir","_parentFormField","tabIndex","scrollStrategyFactory","_liveAnnouncer","_defaultOptions","_this$_defaultOptions","_this$_defaultOptions2","_this$_defaultOptions3","_panelOpen","_compareWith","o1","o2","_uid","_triggerAriaLabelledBy","_destroy","_onChange","_onTouched","_valueId","_overlayPanelClass","overlayPanelClass","_focused","controlType","_multiple","_disableOptionCentering","disableOptionCentering","optionSelectionChanges","options","changes","_toConsumableArray","option","onSelectionChange","onStable","openedChange","EventEmitter","_openedStream","o","_closedStream","selectionChange","valueChange","valueAccessor","typeaheadDebounceInterval","_typeaheadDebounceInterval","_scrollStrategyFactory","_scrollStrategy","parseInt","_placeholder","set","_ref","_this$_required","_this$ngControl","_this$ngControl$contr","_required","control","hasValidator","Validators","coerceBooleanProperty","fn","_selectionModel","_initializeSelection","_value","newValue","_assignValue","coerceNumberProperty","_id","SelectionModel","_panelDoneAnimating","panelOpen","_initKeyManager","changed","event","added","forEach","select","removed","deselect","_resetOptions","newAriaLabelledby","_getTriggerAriaLabelledby","element","nativeElement","setAttribute","removeAttribute","_previousControl","disabled","updateErrorState","userAriaDescribedBy","_keyManager","withTypeAhead","_this$_keyManager","destroy","close","open","_canOpen","withHorizontalOrientation","_highlightCorrectOption","markForCheck","_isRtl","isDisabled","_this$_selectionModel","_this$_selectionModel2","selected","empty","selectedOptions","viewValue","reverse","join","_handleOpenKeydown","_handleClosedKeydown","keyCode","isArrowKey","DOWN_ARROW","UP_ARROW","LEFT_ARROW","RIGHT_ARROW","isOpenKey","ENTER","SPACE","manager","isTyping","hasModifierKey","altKey","preventDefault","previouslySelectedOption","onKeydown","selectedOption","announce","activeItem","A","ctrlKey","hasDeselectedOptions","some","opt","previouslyFocusedIndex","activeItemIndex","shiftKey","_selectViaInteraction","_this$_keyManager2","cancelTypeahead","_overlayDir","positionChange","detectChanges","_positioningSettled","color","isEmpty","Promise","resolve","_setSelectionByValue","setInactiveStyles","clear","isArray","currentValue","_selectOptionByValue","_sortValues","correspondingOption","updateActiveItem","_this7","find","isSelected","item","_this8","ActiveDescendantKeyManager","withVerticalOrientation","withHomeAndEnd","withPageUpDown","withAllowedModifierKeys","skipPredicate","_skipPredicate","tabOut","focus","change","panel","_scrollOptionIntoView","_this9","changedOrDestroyed","_onSelect","isUserInput","_stateChanges","wasSelected","setActiveItem","_propagateChanges","_this10","toArray","sort","sortComparator","indexOf","fallbackValue","valueToEmit","emit","_getChangeEvent","firstEnabledOptionIndex","_this$options","_this$_parentFormFiel","labelId","getLabelId","ariaLabelledby","_this$_parentFormFiel2","isOpen","ids","ɵfac","t","i1","i2","i3","i4","MAT_FORM_FIELD","i5","ɵdir","type","viewQuery","_t","CdkConnectedOverlay","inputs","required","compareWith","errorStateMatcher","outputs","features","MatSelectTrigger","selectors","useExisting","MatSelect","_MatSelectBase2","_this11$_defaultOptio","_this11$_defaultOptio2","_this11","apply","_positions","originX","originY","overlayX","overlayY","_hideSingleSelectionIndicator","hideSingleSelectionIndicator","focused","_this12","_overlayWidth","_getOverlayWidth","_preferredOverlayOrigin","getConnectedOverlayOrigin","labelCount","_countGroupLabelsBeforeOption","optionGroups","_getHostElement","scrollTop","_getOptionScrollPosition","offsetTop","offsetHeight","CdkOverlayOrigin","getBoundingClientRect","width","_syncParentProperties","ɵMatSelect_BaseFactory","ɵcmp","contentQueries","dirIndex","MatOption","MAT_OPTGROUP","hostAttrs","hostVars","hostBindings","_onFocus","_onBlur","toString","errorState","_getAriaActiveDescendant","disableRipple","exportAs","MatFormFieldControl","MAT_OPTION_PARENT_COMPONENT","ngContentSelectors","decls","vars","consts","template","toggle","_onAttached","_r0","dependencies","i7","i8","styles","encapsulation","data","animation","changeDetection","MatSelectModule","ɵmod","ɵinj","providers","imports","CommonModule","OverlayModule","MatOptionModule","MatCommonModule","CdkScrollableModule","MatFormFieldModule"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/util/ObjectUnsubscribedError.js","./node_modules/rxjs/dist/esm/internal/Subject.js","./node_modules/rxjs/dist/esm/internal/observable/concat.js","./node_modules/rxjs/dist/esm/internal/operators/concatAll.js","./node_modules/rxjs/dist/esm/internal/observable/defer.js","./node_modules/rxjs/dist/esm/internal/observable/empty.js","./node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleAsyncIterable.js","./node_modules/rxjs/dist/esm/internal/observable/from.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduled.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleObservable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleArray.js","./node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleIterable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleReadableStreamLike.js","./node_modules/rxjs/dist/esm/internal/observable/merge.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/distinctUntilChanged.js","./node_modules/rxjs/dist/esm/internal/operators/filter.js","./node_modules/rxjs/dist/esm/internal/operators/map.js","./node_modules/rxjs/dist/esm/internal/operators/mergeAll.js","./node_modules/rxjs/dist/esm/internal/operators/mergeMap.js","./node_modules/rxjs/dist/esm/internal/operators/mergeInternals.js","./node_modules/rxjs/dist/esm/internal/operators/observeOn.js","./node_modules/rxjs/dist/esm/internal/operators/startWith.js","./node_modules/rxjs/dist/esm/internal/operators/switchMap.js","./node_modules/rxjs/dist/esm/internal/operators/take.js","./node_modules/rxjs/dist/esm/internal/operators/takeUntil.js","./node_modules/rxjs/dist/esm/internal/util/args.js","./node_modules/rxjs/dist/esm/internal/util/executeSchedule.js","./node_modules/rxjs/dist/esm/internal/util/isScheduler.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/@angular/material/fesm2022/select.mjs"],"sourcesContent":["import { createErrorClass } from './createErrorClass';\nexport const ObjectUnsubscribedError = createErrorClass((_super) => function ObjectUnsubscribedErrorImpl() {\n _super(this);\n this.name = 'ObjectUnsubscribedError';\n this.message = 'object unsubscribed';\n});\n","import { Observable } from './Observable';\nimport { Subscription, EMPTY_SUBSCRIPTION } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { arrRemove } from './util/arrRemove';\nimport { errorContext } from './util/errorContext';\nexport class Subject extends Observable {\n constructor() {\n super();\n this.closed = false;\n this.currentObservers = null;\n this.observers = [];\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n lift(operator) {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n }\n _throwIfClosed() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n }\n next(value) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n if (!this.currentObservers) {\n this.currentObservers = Array.from(this.observers);\n }\n for (const observer of this.currentObservers) {\n observer.next(value);\n }\n }\n });\n }\n error(err) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.hasError = this.isStopped = true;\n this.thrownError = err;\n const { observers } = this;\n while (observers.length) {\n observers.shift().error(err);\n }\n }\n });\n }\n complete() {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.isStopped = true;\n const { observers } = this;\n while (observers.length) {\n observers.shift().complete();\n }\n }\n });\n }\n unsubscribe() {\n this.isStopped = this.closed = true;\n this.observers = this.currentObservers = null;\n }\n get observed() {\n var _a;\n return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;\n }\n _trySubscribe(subscriber) {\n this._throwIfClosed();\n return super._trySubscribe(subscriber);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._checkFinalizedStatuses(subscriber);\n return this._innerSubscribe(subscriber);\n }\n _innerSubscribe(subscriber) {\n const { hasError, isStopped, observers } = this;\n if (hasError || isStopped) {\n return EMPTY_SUBSCRIPTION;\n }\n this.currentObservers = null;\n observers.push(subscriber);\n return new Subscription(() => {\n this.currentObservers = null;\n arrRemove(observers, subscriber);\n });\n }\n _checkFinalizedStatuses(subscriber) {\n const { hasError, thrownError, isStopped } = this;\n if (hasError) {\n subscriber.error(thrownError);\n }\n else if (isStopped) {\n subscriber.complete();\n }\n }\n asObservable() {\n const observable = new Observable();\n observable.source = this;\n return observable;\n }\n}\nSubject.create = (destination, source) => {\n return new AnonymousSubject(destination, source);\n};\nexport class AnonymousSubject extends Subject {\n constructor(destination, source) {\n super();\n this.destination = destination;\n this.source = source;\n }\n next(value) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);\n }\n error(err) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);\n }\n complete() {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);\n }\n _subscribe(subscriber) {\n var _a, _b;\n return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;\n }\n}\n","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}\n","import { mergeAll } from './mergeAll';\nexport function concatAll() {\n return mergeAll(1);\n}\n","import { Observable } from '../Observable';\nimport { innerFrom } from './innerFrom';\nexport function defer(observableFactory) {\n return new Observable((subscriber) => {\n innerFrom(observableFactory()).subscribe(subscriber);\n });\n}\n","import { Observable } from '../Observable';\nexport const EMPTY = new Observable((subscriber) => subscriber.complete());\nexport function empty(scheduler) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n return new Observable((subscriber) => scheduler.schedule(() => subscriber.complete()));\n}\n","import { operate } from '../util/lift';\nexport function subscribeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay));\n });\n}\n","import { Observable } from '../Observable';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleAsyncIterable(input, scheduler) {\n if (!input) {\n throw new Error('Iterable cannot be null');\n }\n return new Observable((subscriber) => {\n executeSchedule(subscriber, scheduler, () => {\n const iterator = input[Symbol.asyncIterator]();\n executeSchedule(subscriber, scheduler, () => {\n iterator.next().then((result) => {\n if (result.done) {\n subscriber.complete();\n }\n else {\n subscriber.next(result.value);\n }\n });\n }, 0, true);\n });\n });\n}\n","import { scheduled } from '../scheduled/scheduled';\nimport { innerFrom } from './innerFrom';\nexport function from(input, scheduler) {\n return scheduler ? scheduled(input, scheduler) : innerFrom(input);\n}\n","import { scheduleObservable } from './scheduleObservable';\nimport { schedulePromise } from './schedulePromise';\nimport { scheduleArray } from './scheduleArray';\nimport { scheduleIterable } from './scheduleIterable';\nimport { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isPromise } from '../util/isPromise';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isIterable } from '../util/isIterable';\nimport { isAsyncIterable } from '../util/isAsyncIterable';\nimport { createInvalidObservableTypeError } from '../util/throwUnobservableError';\nimport { isReadableStreamLike } from '../util/isReadableStreamLike';\nimport { scheduleReadableStreamLike } from './scheduleReadableStreamLike';\nexport function scheduled(input, scheduler) {\n if (input != null) {\n if (isInteropObservable(input)) {\n return scheduleObservable(input, scheduler);\n }\n if (isArrayLike(input)) {\n return scheduleArray(input, scheduler);\n }\n if (isPromise(input)) {\n return schedulePromise(input, scheduler);\n }\n if (isAsyncIterable(input)) {\n return scheduleAsyncIterable(input, scheduler);\n }\n if (isIterable(input)) {\n return scheduleIterable(input, scheduler);\n }\n if (isReadableStreamLike(input)) {\n return scheduleReadableStreamLike(input, scheduler);\n }\n }\n throw createInvalidObservableTypeError(input);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function scheduleObservable(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nexport function scheduleArray(input, scheduler) {\n return new Observable((subscriber) => {\n let i = 0;\n return scheduler.schedule(function () {\n if (i === input.length) {\n subscriber.complete();\n }\n else {\n subscriber.next(input[i++]);\n if (!subscriber.closed) {\n this.schedule();\n }\n }\n });\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function schedulePromise(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from '../util/isFunction';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleIterable(input, scheduler) {\n return new Observable((subscriber) => {\n let iterator;\n executeSchedule(subscriber, scheduler, () => {\n iterator = input[Symbol_iterator]();\n executeSchedule(subscriber, scheduler, () => {\n let value;\n let done;\n try {\n ({ value, done } = iterator.next());\n }\n catch (err) {\n subscriber.error(err);\n return;\n }\n if (done) {\n subscriber.complete();\n }\n else {\n subscriber.next(value);\n }\n }, 0, true);\n });\n return () => isFunction(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return();\n });\n}\n","import { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { readableStreamLikeToAsyncGenerator } from '../util/isReadableStreamLike';\nexport function scheduleReadableStreamLike(input, scheduler) {\n return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);\n}\n","import { mergeAll } from '../operators/mergeAll';\nimport { innerFrom } from './innerFrom';\nimport { EMPTY } from './empty';\nimport { popNumber, popScheduler } from '../util/args';\nimport { from } from './from';\nexport function merge(...args) {\n const scheduler = popScheduler(args);\n const concurrent = popNumber(args, Infinity);\n const sources = args;\n return !sources.length\n ?\n EMPTY\n : sources.length === 1\n ?\n innerFrom(sources[0])\n :\n mergeAll(concurrent)(from(sources, scheduler));\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","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 if (first || !comparator(previousKey, currentKey)) {\n first = false;\n previousKey = currentKey;\n subscriber.next(value);\n }\n }));\n });\n}\nfunction defaultCompare(a, b) {\n return a === b;\n}\n","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}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function map(project, thisArg) {\n return operate((source, subscriber) => {\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n subscriber.next(project.call(thisArg, value, index++));\n }));\n });\n}\n","import { mergeMap } from './mergeMap';\nimport { identity } from '../util/identity';\nexport function mergeAll(concurrent = Infinity) {\n return mergeMap(identity, concurrent);\n}\n","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 }\n else if (typeof resultSelector === 'number') {\n concurrent = resultSelector;\n }\n return operate((source, subscriber) => mergeInternals(source, subscriber, project, concurrent));\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { executeSchedule } from '../util/executeSchedule';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function mergeInternals(source, subscriber, project, concurrent, onBeforeNext, expand, innerSubScheduler, additionalFinalizer) {\n const buffer = [];\n let active = 0;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => {\n if (isComplete && !buffer.length && !active) {\n subscriber.complete();\n }\n };\n const outerNext = (value) => (active < concurrent ? doInnerSub(value) : buffer.push(value));\n const doInnerSub = (value) => {\n expand && subscriber.next(value);\n active++;\n let innerComplete = false;\n innerFrom(project(value, index++)).subscribe(createOperatorSubscriber(subscriber, (innerValue) => {\n onBeforeNext === null || onBeforeNext === void 0 ? void 0 : onBeforeNext(innerValue);\n if (expand) {\n outerNext(innerValue);\n }\n else {\n subscriber.next(innerValue);\n }\n }, () => {\n innerComplete = true;\n }, undefined, () => {\n if (innerComplete) {\n try {\n active--;\n while (buffer.length && active < concurrent) {\n const bufferedValue = buffer.shift();\n if (innerSubScheduler) {\n executeSchedule(subscriber, innerSubScheduler, () => doInnerSub(bufferedValue));\n }\n else {\n doInnerSub(bufferedValue);\n }\n }\n checkComplete();\n }\n catch (err) {\n subscriber.error(err);\n }\n }\n }));\n };\n source.subscribe(createOperatorSubscriber(subscriber, outerNext, () => {\n isComplete = true;\n checkComplete();\n }));\n return () => {\n additionalFinalizer === null || additionalFinalizer === void 0 ? void 0 : additionalFinalizer();\n };\n}\n","import { executeSchedule } from '../util/executeSchedule';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function observeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, (value) => executeSchedule(subscriber, scheduler, () => subscriber.next(value), delay), () => executeSchedule(subscriber, scheduler, () => subscriber.complete(), delay), (err) => executeSchedule(subscriber, scheduler, () => subscriber.error(err), delay)));\n });\n}\n","import { concat } from '../observable/concat';\nimport { popScheduler } from '../util/args';\nimport { operate } from '../util/lift';\nexport function startWith(...values) {\n const scheduler = popScheduler(values);\n return operate((source, subscriber) => {\n (scheduler ? concat(values, source, scheduler) : concat(values, source)).subscribe(subscriber);\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function switchMap(project, resultSelector) {\n return operate((source, subscriber) => {\n let innerSubscriber = null;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => isComplete && !innerSubscriber && subscriber.complete();\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n innerSubscriber === null || innerSubscriber === void 0 ? void 0 : innerSubscriber.unsubscribe();\n let innerIndex = 0;\n const outerIndex = index++;\n innerFrom(project(value, outerIndex)).subscribe((innerSubscriber = createOperatorSubscriber(subscriber, (innerValue) => subscriber.next(resultSelector ? resultSelector(value, innerValue, outerIndex, innerIndex++) : innerValue), () => {\n innerSubscriber = null;\n checkComplete();\n })));\n }, () => {\n isComplete = true;\n checkComplete();\n }));\n });\n}\n","import { EMPTY } from '../observable/empty';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function take(count) {\n return count <= 0\n ?\n () => EMPTY\n : operate((source, subscriber) => {\n let seen = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n if (++seen <= count) {\n subscriber.next(value);\n if (count <= seen) {\n subscriber.complete();\n }\n }\n }));\n });\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { innerFrom } from '../observable/innerFrom';\nimport { noop } from '../util/noop';\nexport function takeUntil(notifier) {\n return operate((source, subscriber) => {\n innerFrom(notifier).subscribe(createOperatorSubscriber(subscriber, () => subscriber.complete(), noop));\n !subscriber.closed && source.subscribe(subscriber);\n });\n}\n","import { isFunction } from './isFunction';\nimport { isScheduler } from './isScheduler';\nfunction last(arr) {\n return arr[arr.length - 1];\n}\nexport function popResultSelector(args) {\n return isFunction(last(args)) ? args.pop() : undefined;\n}\nexport function popScheduler(args) {\n return isScheduler(last(args)) ? args.pop() : undefined;\n}\nexport function popNumber(args, defaultValue) {\n return typeof last(args) === 'number' ? args.pop() : defaultValue;\n}\n","export function executeSchedule(parentSubscription, scheduler, work, delay = 0, repeat = false) {\n const scheduleSubscription = scheduler.schedule(function () {\n work();\n if (repeat) {\n parentSubscription.add(this.schedule(null, delay));\n }\n else {\n this.unsubscribe();\n }\n }, delay);\n parentSubscription.add(scheduleSubscription);\n if (!repeat) {\n return scheduleSubscription;\n }\n}\n","import { isFunction } from './isFunction';\nexport function isScheduler(value) {\n return value && isFunction(value.schedule);\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","import * as i8 from '@angular/cdk/overlay';\nimport { Overlay, CdkConnectedOverlay, CdkOverlayOrigin, OverlayModule } from '@angular/cdk/overlay';\nimport * as i7 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { InjectionToken, EventEmitter, Directive, Optional, Inject, Self, Attribute, Input, ViewChild, Output, Component, ViewEncapsulation, ChangeDetectionStrategy, ContentChildren, ContentChild, NgModule } from '@angular/core';\nimport * as i2 from '@angular/material/core';\nimport { mixinDisableRipple, mixinTabIndex, mixinDisabled, mixinErrorState, _countGroupLabelsBeforeOption, _getOptionScrollPosition, MAT_OPTION_PARENT_COMPONENT, MatOption, MAT_OPTGROUP, MatOptionModule, MatCommonModule } from '@angular/material/core';\nimport * as i6 from '@angular/material/form-field';\nimport { MAT_FORM_FIELD, MatFormFieldControl, MatFormFieldModule } from '@angular/material/form-field';\nimport * as i1 from '@angular/cdk/scrolling';\nimport { CdkScrollableModule } from '@angular/cdk/scrolling';\nimport * as i5 from '@angular/cdk/a11y';\nimport { ActiveDescendantKeyManager } from '@angular/cdk/a11y';\nimport * as i3 from '@angular/cdk/bidi';\nimport { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';\nimport { SelectionModel } from '@angular/cdk/collections';\nimport { DOWN_ARROW, UP_ARROW, LEFT_ARROW, RIGHT_ARROW, ENTER, SPACE, hasModifierKey, A } from '@angular/cdk/keycodes';\nimport * as i4 from '@angular/forms';\nimport { Validators } from '@angular/forms';\nimport { Subject, defer, merge } from 'rxjs';\nimport { startWith, switchMap, take, filter, map, distinctUntilChanged, takeUntil } from 'rxjs/operators';\nimport { trigger, transition, query, animateChild, state, style, animate } from '@angular/animations';\n\n/**\n * The following are all the animations for the mat-select component, with each\n * const containing the metadata for one animation.\n *\n * The values below match the implementation of the AngularJS Material mat-select animation.\n * @docs-private\n */\nconst matSelectAnimations = {\n /**\n * This animation ensures the select's overlay panel animation (transformPanel) is called when\n * closing the select.\n * This is needed due to https://github.com/angular/angular/issues/23302\n */\n transformPanelWrap: trigger('transformPanelWrap', [\n transition('* => void', query('@transformPanel', [animateChild()], { optional: true })),\n ]),\n /** This animation transforms the select's overlay panel on and off the page. */\n transformPanel: trigger('transformPanel', [\n state('void', style({\n opacity: 0,\n transform: 'scale(1, 0.8)',\n })),\n transition('void => showing', animate('120ms cubic-bezier(0, 0, 0.2, 1)', style({\n opacity: 1,\n transform: 'scale(1, 1)',\n }))),\n transition('* => void', animate('100ms linear', style({ opacity: 0 }))),\n ]),\n};\n\n// Note that these have been copied over verbatim from\n// `material/select` so that we don't have to expose them publicly.\n/**\n * Returns an exception to be thrown when attempting to change a select's `multiple` option\n * after initialization.\n * @docs-private\n */\nfunction getMatSelectDynamicMultipleError() {\n return Error('Cannot change `multiple` mode of select after initialization.');\n}\n/**\n * Returns an exception to be thrown when attempting to assign a non-array value to a select\n * in `multiple` mode. Note that `undefined` and `null` are still valid values to allow for\n * resetting the value.\n * @docs-private\n */\nfunction getMatSelectNonArrayValueError() {\n return Error('Value must be an array in multiple-selection mode.');\n}\n/**\n * Returns an exception to be thrown when assigning a non-function value to the comparator\n * used to determine if a value corresponds to an option. Note that whether the function\n * actually takes two values and returns a boolean is not checked.\n */\nfunction getMatSelectNonFunctionValueError() {\n return Error('`compareWith` must be a function.');\n}\n\nlet nextUniqueId = 0;\n/** Injection token that determines the scroll handling while a select is open. */\nconst MAT_SELECT_SCROLL_STRATEGY = new InjectionToken('mat-select-scroll-strategy');\n/** @docs-private */\nfunction MAT_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY(overlay) {\n return () => overlay.scrollStrategies.reposition();\n}\n/** Injection token that can be used to provide the default options the select module. */\nconst MAT_SELECT_CONFIG = new InjectionToken('MAT_SELECT_CONFIG');\n/** @docs-private */\nconst MAT_SELECT_SCROLL_STRATEGY_PROVIDER = {\n provide: MAT_SELECT_SCROLL_STRATEGY,\n deps: [Overlay],\n useFactory: MAT_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY,\n};\n/**\n * Injection token that can be used to reference instances of `MatSelectTrigger`. It serves as\n * alternative token to the actual `MatSelectTrigger` class which could cause unnecessary\n * retention of the class and its directive metadata.\n */\nconst MAT_SELECT_TRIGGER = new InjectionToken('MatSelectTrigger');\n/** Change event object that is emitted when the select value has changed. */\nclass MatSelectChange {\n constructor(\n /** Reference to the select that emitted the change event. */\n source, \n /** Current value of the select that emitted the event. */\n value) {\n this.source = source;\n this.value = value;\n }\n}\n// Boilerplate for applying mixins to MatSelect.\n/** @docs-private */\nconst _MatSelectMixinBase = mixinDisableRipple(mixinTabIndex(mixinDisabled(mixinErrorState(class {\n constructor(_elementRef, _defaultErrorStateMatcher, _parentForm, _parentFormGroup, \n /**\n * Form control bound to the component.\n * Implemented as part of `MatFormFieldControl`.\n * @docs-private\n */\n ngControl) {\n this._elementRef = _elementRef;\n this._defaultErrorStateMatcher = _defaultErrorStateMatcher;\n this._parentForm = _parentForm;\n this._parentFormGroup = _parentFormGroup;\n this.ngControl = ngControl;\n /**\n * Emits whenever the component state changes and should cause the parent\n * form-field to update. Implemented as part of `MatFormFieldControl`.\n * @docs-private\n */\n this.stateChanges = new Subject();\n }\n}))));\n/** Base class with all of the `MatSelect` functionality. */\nclass _MatSelectBase extends _MatSelectMixinBase {\n /** Whether the select is focused. */\n get focused() {\n return this._focused || this._panelOpen;\n }\n /** Placeholder to be shown if no value has been selected. */\n get placeholder() {\n return this._placeholder;\n }\n set placeholder(value) {\n this._placeholder = value;\n this.stateChanges.next();\n }\n /** Whether the component is required. */\n get required() {\n return this._required ?? this.ngControl?.control?.hasValidator(Validators.required) ?? false;\n }\n set required(value) {\n this._required = coerceBooleanProperty(value);\n this.stateChanges.next();\n }\n /** Whether the user should be allowed to select multiple options. */\n get multiple() {\n return this._multiple;\n }\n set multiple(value) {\n if (this._selectionModel && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw getMatSelectDynamicMultipleError();\n }\n this._multiple = coerceBooleanProperty(value);\n }\n /** Whether to center the active option over the trigger. */\n get disableOptionCentering() {\n return this._disableOptionCentering;\n }\n set disableOptionCentering(value) {\n this._disableOptionCentering = coerceBooleanProperty(value);\n }\n /**\n * Function to compare the option values with the selected values. The first argument\n * is a value from an option. The second is a value from the selection. A boolean\n * should be returned.\n */\n get compareWith() {\n return this._compareWith;\n }\n set compareWith(fn) {\n if (typeof fn !== 'function' && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw getMatSelectNonFunctionValueError();\n }\n this._compareWith = fn;\n if (this._selectionModel) {\n // A different comparator means the selection could change.\n this._initializeSelection();\n }\n }\n /** Value of the select control. */\n get value() {\n return this._value;\n }\n set value(newValue) {\n const hasAssigned = this._assignValue(newValue);\n if (hasAssigned) {\n this._onChange(newValue);\n }\n }\n /** Time to wait in milliseconds after the last keystroke before moving focus to an item. */\n get typeaheadDebounceInterval() {\n return this._typeaheadDebounceInterval;\n }\n set typeaheadDebounceInterval(value) {\n this._typeaheadDebounceInterval = coerceNumberProperty(value);\n }\n /** Unique id of the element. */\n get id() {\n return this._id;\n }\n set id(value) {\n this._id = value || this._uid;\n this.stateChanges.next();\n }\n constructor(_viewportRuler, _changeDetectorRef, _ngZone, _defaultErrorStateMatcher, elementRef, _dir, _parentForm, _parentFormGroup, _parentFormField, ngControl, tabIndex, scrollStrategyFactory, _liveAnnouncer, _defaultOptions) {\n super(elementRef, _defaultErrorStateMatcher, _parentForm, _parentFormGroup, ngControl);\n this._viewportRuler = _viewportRuler;\n this._changeDetectorRef = _changeDetectorRef;\n this._ngZone = _ngZone;\n this._dir = _dir;\n this._parentFormField = _parentFormField;\n this._liveAnnouncer = _liveAnnouncer;\n this._defaultOptions = _defaultOptions;\n /** Whether or not the overlay panel is open. */\n this._panelOpen = false;\n /** Comparison function to specify which option is displayed. Defaults to object equality. */\n this._compareWith = (o1, o2) => o1 === o2;\n /** Unique id for this input. */\n this._uid = `mat-select-${nextUniqueId++}`;\n /** Current `aria-labelledby` value for the select trigger. */\n this._triggerAriaLabelledBy = null;\n /** Emits whenever the component is destroyed. */\n this._destroy = new Subject();\n /** `View -> model callback called when value changes` */\n this._onChange = () => { };\n /** `View -> model callback called when select has been touched` */\n this._onTouched = () => { };\n /** ID for the DOM node containing the select's value. */\n this._valueId = `mat-select-value-${nextUniqueId++}`;\n /** Emits when the panel element is finished transforming in. */\n this._panelDoneAnimatingStream = new Subject();\n this._overlayPanelClass = this._defaultOptions?.overlayPanelClass || '';\n this._focused = false;\n /** A name for this control that can be used by `mat-form-field`. */\n this.controlType = 'mat-select';\n this._multiple = false;\n this._disableOptionCentering = this._defaultOptions?.disableOptionCentering ?? false;\n /** Aria label of the select. */\n this.ariaLabel = '';\n /** Combined stream of all of the child options' change events. */\n this.optionSelectionChanges = defer(() => {\n const options = this.options;\n if (options) {\n return options.changes.pipe(startWith(options), switchMap(() => merge(...options.map(option => option.onSelectionChange))));\n }\n return this._ngZone.onStable.pipe(take(1), switchMap(() => this.optionSelectionChanges));\n });\n /** Event emitted when the select panel has been toggled. */\n this.openedChange = new EventEmitter();\n /** Event emitted when the select has been opened. */\n this._openedStream = this.openedChange.pipe(filter(o => o), map(() => { }));\n /** Event emitted when the select has been closed. */\n this._closedStream = this.openedChange.pipe(filter(o => !o), map(() => { }));\n /** Event emitted when the selected value has been changed by the user. */\n this.selectionChange = new EventEmitter();\n /**\n * Event that emits whenever the raw value of the select changes. This is here primarily\n * to facilitate the two-way binding for the `value` input.\n * @docs-private\n */\n this.valueChange = new EventEmitter();\n if (this.ngControl) {\n // Note: we provide the value accessor through here, instead of\n // the `providers` to avoid running into a circular import.\n this.ngControl.valueAccessor = this;\n }\n // Note that we only want to set this when the defaults pass it in, otherwise it should\n // stay as `undefined` so that it falls back to the default in the key manager.\n if (_defaultOptions?.typeaheadDebounceInterval != null) {\n this._typeaheadDebounceInterval = _defaultOptions.typeaheadDebounceInterval;\n }\n this._scrollStrategyFactory = scrollStrategyFactory;\n this._scrollStrategy = this._scrollStrategyFactory();\n this.tabIndex = parseInt(tabIndex) || 0;\n // Force setter to be called in case id was not specified.\n this.id = this.id;\n }\n ngOnInit() {\n this._selectionModel = new SelectionModel(this.multiple);\n this.stateChanges.next();\n // We need `distinctUntilChanged` here, because some browsers will\n // fire the animation end event twice for the same animation. See:\n // https://github.com/angular/angular/issues/24084\n this._panelDoneAnimatingStream\n .pipe(distinctUntilChanged(), takeUntil(this._destroy))\n .subscribe(() => this._panelDoneAnimating(this.panelOpen));\n }\n ngAfterContentInit() {\n this._initKeyManager();\n this._selectionModel.changed.pipe(takeUntil(this._destroy)).subscribe(event => {\n event.added.forEach(option => option.select());\n event.removed.forEach(option => option.deselect());\n });\n this.options.changes.pipe(startWith(null), takeUntil(this._destroy)).subscribe(() => {\n this._resetOptions();\n this._initializeSelection();\n });\n }\n ngDoCheck() {\n const newAriaLabelledby = this._getTriggerAriaLabelledby();\n const ngControl = this.ngControl;\n // We have to manage setting the `aria-labelledby` ourselves, because part of its value\n // is computed as a result of a content query which can cause this binding to trigger a\n // \"changed after checked\" error.\n if (newAriaLabelledby !== this._triggerAriaLabelledBy) {\n const element = this._elementRef.nativeElement;\n this._triggerAriaLabelledBy = newAriaLabelledby;\n if (newAriaLabelledby) {\n element.setAttribute('aria-labelledby', newAriaLabelledby);\n }\n else {\n element.removeAttribute('aria-labelledby');\n }\n }\n if (ngControl) {\n // The disabled state might go out of sync if the form group is swapped out. See #17860.\n if (this._previousControl !== ngControl.control) {\n if (this._previousControl !== undefined &&\n ngControl.disabled !== null &&\n ngControl.disabled !== this.disabled) {\n this.disabled = ngControl.disabled;\n }\n this._previousControl = ngControl.control;\n }\n this.updateErrorState();\n }\n }\n ngOnChanges(changes) {\n // Updating the disabled state is handled by `mixinDisabled`, but we need to additionally let\n // the parent form field know to run change detection when the disabled state changes.\n if (changes['disabled'] || changes['userAriaDescribedBy']) {\n this.stateChanges.next();\n }\n if (changes['typeaheadDebounceInterval'] && this._keyManager) {\n this._keyManager.withTypeAhead(this._typeaheadDebounceInterval);\n }\n }\n ngOnDestroy() {\n this._keyManager?.destroy();\n this._destroy.next();\n this._destroy.complete();\n this.stateChanges.complete();\n }\n /** Toggles the overlay panel open or closed. */\n toggle() {\n this.panelOpen ? this.close() : this.open();\n }\n /** Opens the overlay panel. */\n open() {\n if (this._canOpen()) {\n this._panelOpen = true;\n this._keyManager.withHorizontalOrientation(null);\n this._highlightCorrectOption();\n this._changeDetectorRef.markForCheck();\n }\n }\n /** Closes the overlay panel and focuses the host element. */\n close() {\n if (this._panelOpen) {\n this._panelOpen = false;\n this._keyManager.withHorizontalOrientation(this._isRtl() ? 'rtl' : 'ltr');\n this._changeDetectorRef.markForCheck();\n this._onTouched();\n }\n }\n /**\n * Sets the select's value. Part of the ControlValueAccessor interface\n * required to integrate with Angular's core forms API.\n *\n * @param value New value to be written to the model.\n */\n writeValue(value) {\n this._assignValue(value);\n }\n /**\n * Saves a callback function to be invoked when the select's value\n * changes from user input. Part of the ControlValueAccessor interface\n * required to integrate with Angular's core forms API.\n *\n * @param fn Callback to be triggered when the value changes.\n */\n registerOnChange(fn) {\n this._onChange = fn;\n }\n /**\n * Saves a callback function to be invoked when the select is blurred\n * by the user. Part of the ControlValueAccessor interface required\n * to integrate with Angular's core forms API.\n *\n * @param fn Callback to be triggered when the component has been touched.\n */\n registerOnTouched(fn) {\n this._onTouched = fn;\n }\n /**\n * Disables the select. Part of the ControlValueAccessor interface required\n * to integrate with Angular's core forms API.\n *\n * @param isDisabled Sets whether the component is disabled.\n */\n setDisabledState(isDisabled) {\n this.disabled = isDisabled;\n this._changeDetectorRef.markForCheck();\n this.stateChanges.next();\n }\n /** Whether or not the overlay panel is open. */\n get panelOpen() {\n return this._panelOpen;\n }\n /** The currently selected option. */\n get selected() {\n return this.multiple ? this._selectionModel?.selected || [] : this._selectionModel?.selected[0];\n }\n /** The value displayed in the trigger. */\n get triggerValue() {\n if (this.empty) {\n return '';\n }\n if (this._multiple) {\n const selectedOptions = this._selectionModel.selected.map(option => option.viewValue);\n if (this._isRtl()) {\n selectedOptions.reverse();\n }\n // TODO(crisbeto): delimiter should be configurable for proper localization.\n return selectedOptions.join(', ');\n }\n return this._selectionModel.selected[0].viewValue;\n }\n /** Whether the element is in RTL mode. */\n _isRtl() {\n return this._dir ? this._dir.value === 'rtl' : false;\n }\n /** Handles all keydown events on the select. */\n _handleKeydown(event) {\n if (!this.disabled) {\n this.panelOpen ? this._handleOpenKeydown(event) : this._handleClosedKeydown(event);\n }\n }\n /** Handles keyboard events while the select is closed. */\n _handleClosedKeydown(event) {\n const keyCode = event.keyCode;\n const isArrowKey = keyCode === DOWN_ARROW ||\n keyCode === UP_ARROW ||\n keyCode === LEFT_ARROW ||\n keyCode === RIGHT_ARROW;\n const isOpenKey = keyCode === ENTER || keyCode === SPACE;\n const manager = this._keyManager;\n // Open the select on ALT + arrow key to match the native <select>\n if ((!manager.isTyping() && isOpenKey && !hasModifierKey(event)) ||\n ((this.multiple || event.altKey) && isArrowKey)) {\n event.preventDefault(); // prevents the page from scrolling down when pressing space\n this.open();\n }\n else if (!this.multiple) {\n const previouslySelectedOption = this.selected;\n manager.onKeydown(event);\n const selectedOption = this.selected;\n // Since the value has changed, we need to announce it ourselves.\n if (selectedOption && previouslySelectedOption !== selectedOption) {\n // We set a duration on the live announcement, because we want the live element to be\n // cleared after a while so that users can't navigate to it using the arrow keys.\n this._liveAnnouncer.announce(selectedOption.viewValue, 10000);\n }\n }\n }\n /** Handles keyboard events when the selected is open. */\n _handleOpenKeydown(event) {\n const manager = this._keyManager;\n const keyCode = event.keyCode;\n const isArrowKey = keyCode === DOWN_ARROW || keyCode === UP_ARROW;\n const isTyping = manager.isTyping();\n if (isArrowKey && event.altKey) {\n // Close the select on ALT + arrow key to match the native <select>\n event.preventDefault();\n this.close();\n // Don't do anything in this case if the user is typing,\n // because the typing sequence can include the space key.\n }\n else if (!isTyping &&\n (keyCode === ENTER || keyCode === SPACE) &&\n manager.activeItem &&\n !hasModifierKey(event)) {\n event.preventDefault();\n manager.activeItem._selectViaInteraction();\n }\n else if (!isTyping && this._multiple && keyCode === A && event.ctrlKey) {\n event.preventDefault();\n const hasDeselectedOptions = this.options.some(opt => !opt.disabled && !opt.selected);\n this.options.forEach(option => {\n if (!option.disabled) {\n hasDeselectedOptions ? option.select() : option.deselect();\n }\n });\n }\n else {\n const previouslyFocusedIndex = manager.activeItemIndex;\n manager.onKeydown(event);\n if (this._multiple &&\n isArrowKey &&\n event.shiftKey &&\n manager.activeItem &&\n manager.activeItemIndex !== previouslyFocusedIndex) {\n manager.activeItem._selectViaInteraction();\n }\n }\n }\n _onFocus() {\n if (!this.disabled) {\n this._focused = true;\n this.stateChanges.next();\n }\n }\n /**\n * Calls the touched callback only if the panel is closed. Otherwise, the trigger will\n * \"blur\" to the panel when it opens, causing a false positive.\n */\n _onBlur() {\n this._focused = false;\n this._keyManager?.cancelTypeahead();\n if (!this.disabled && !this.panelOpen) {\n this._onTouched();\n this._changeDetectorRef.markForCheck();\n this.stateChanges.next();\n }\n }\n /**\n * Callback that is invoked when the overlay panel has been attached.\n */\n _onAttached() {\n this._overlayDir.positionChange.pipe(take(1)).subscribe(() => {\n this._changeDetectorRef.detectChanges();\n this._positioningSettled();\n });\n }\n /** Returns the theme to be used on the panel. */\n _getPanelTheme() {\n return this._parentFormField ? `mat-${this._parentFormField.color}` : '';\n }\n /** Whether the select has a value. */\n get empty() {\n return !this._selectionModel || this._selectionModel.isEmpty();\n }\n _initializeSelection() {\n // Defer setting the value in order to avoid the \"Expression\n // has changed after it was checked\" errors from Angular.\n Promise.resolve().then(() => {\n if (this.ngControl) {\n this._value = this.ngControl.value;\n }\n this._setSelectionByValue(this._value);\n this.stateChanges.next();\n });\n }\n /**\n * Sets the selected option based on a value. If no option can be\n * found with the designated value, the select trigger is cleared.\n */\n _setSelectionByValue(value) {\n this.options.forEach(option => option.setInactiveStyles());\n this._selectionModel.clear();\n if (this.multiple && value) {\n if (!Array.isArray(value) && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw getMatSelectNonArrayValueError();\n }\n value.forEach((currentValue) => this._selectOptionByValue(currentValue));\n this._sortValues();\n }\n else {\n const correspondingOption = this._selectOptionByValue(value);\n // Shift focus to the active item. Note that we shouldn't do this in multiple\n // mode, because we don't know what option the user interacted with last.\n if (correspondingOption) {\n this._keyManager.updateActiveItem(correspondingOption);\n }\n else if (!this.panelOpen) {\n // Otherwise reset the highlighted option. Note that we only want to do this while\n // closed, because doing it while open can shift the user's focus unnecessarily.\n this._keyManager.updateActiveItem(-1);\n }\n }\n this._changeDetectorRef.markForCheck();\n }\n /**\n * Finds and selects and option based on its value.\n * @returns Option that has the corresponding value.\n */\n _selectOptionByValue(value) {\n const correspondingOption = this.options.find((option) => {\n // Skip options that are already in the model. This allows us to handle cases\n // where the same primitive value is selected multiple times.\n if (this._selectionModel.isSelected(option)) {\n return false;\n }\n try {\n // Treat null as a special reset value.\n return option.value != null && this._compareWith(option.value, value);\n }\n catch (error) {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n // Notify developers of errors in their comparator.\n console.warn(error);\n }\n return false;\n }\n });\n if (correspondingOption) {\n this._selectionModel.select(correspondingOption);\n }\n return correspondingOption;\n }\n /** Assigns a specific value to the select. Returns whether the value has changed. */\n _assignValue(newValue) {\n // Always re-assign an array, because it might have been mutated.\n if (newValue !== this._value || (this._multiple && Array.isArray(newValue))) {\n if (this.options) {\n this._setSelectionByValue(newValue);\n }\n this._value = newValue;\n return true;\n }\n return false;\n }\n _skipPredicate(item) {\n return item.disabled;\n }\n /** Sets up a key manager to listen to keyboard events on the overlay panel. */\n _initKeyManager() {\n this._keyManager = new ActiveDescendantKeyManager(this.options)\n .withTypeAhead(this._typeaheadDebounceInterval)\n .withVerticalOrientation()\n .withHorizontalOrientation(this._isRtl() ? 'rtl' : 'ltr')\n .withHomeAndEnd()\n .withPageUpDown()\n .withAllowedModifierKeys(['shiftKey'])\n .skipPredicate(this._skipPredicate);\n this._keyManager.tabOut.subscribe(() => {\n if (this.panelOpen) {\n // Select the active item when tabbing away. This is consistent with how the native\n // select behaves. Note that we only want to do this in single selection mode.\n if (!this.multiple && this._keyManager.activeItem) {\n this._keyManager.activeItem._selectViaInteraction();\n }\n // Restore focus to the trigger before closing. Ensures that the focus\n // position won't be lost if the user got focus into the overlay.\n this.focus();\n this.close();\n }\n });\n this._keyManager.change.subscribe(() => {\n if (this._panelOpen && this.panel) {\n this._scrollOptionIntoView(this._keyManager.activeItemIndex || 0);\n }\n else if (!this._panelOpen && !this.multiple && this._keyManager.activeItem) {\n this._keyManager.activeItem._selectViaInteraction();\n }\n });\n }\n /** Drops current option subscriptions and IDs and resets from scratch. */\n _resetOptions() {\n const changedOrDestroyed = merge(this.options.changes, this._destroy);\n this.optionSelectionChanges.pipe(takeUntil(changedOrDestroyed)).subscribe(event => {\n this._onSelect(event.source, event.isUserInput);\n if (event.isUserInput && !this.multiple && this._panelOpen) {\n this.close();\n this.focus();\n }\n });\n // Listen to changes in the internal state of the options and react accordingly.\n // Handles cases like the labels of the selected options changing.\n merge(...this.options.map(option => option._stateChanges))\n .pipe(takeUntil(changedOrDestroyed))\n .subscribe(() => {\n // `_stateChanges` can fire as a result of a change in the label's DOM value which may\n // be the result of an expression changing. We have to use `detectChanges` in order\n // to avoid \"changed after checked\" errors (see #14793).\n this._changeDetectorRef.detectChanges();\n this.stateChanges.next();\n });\n }\n /** Invoked when an option is clicked. */\n _onSelect(option, isUserInput) {\n const wasSelected = this._selectionModel.isSelected(option);\n if (option.value == null && !this._multiple) {\n option.deselect();\n this._selectionModel.clear();\n if (this.value != null) {\n this._propagateChanges(option.value);\n }\n }\n else {\n if (wasSelected !== option.selected) {\n option.selected\n ? this._selectionModel.select(option)\n : this._selectionModel.deselect(option);\n }\n if (isUserInput) {\n this._keyManager.setActiveItem(option);\n }\n if (this.multiple) {\n this._sortValues();\n if (isUserInput) {\n // In case the user selected the option with their mouse, we\n // want to restore focus back to the trigger, in order to\n // prevent the select keyboard controls from clashing with\n // the ones from `mat-option`.\n this.focus();\n }\n }\n }\n if (wasSelected !== this._selectionModel.isSelected(option)) {\n this._propagateChanges();\n }\n this.stateChanges.next();\n }\n /** Sorts the selected values in the selected based on their order in the panel. */\n _sortValues() {\n if (this.multiple) {\n const options = this.options.toArray();\n this._selectionModel.sort((a, b) => {\n return this.sortComparator\n ? this.sortComparator(a, b, options)\n : options.indexOf(a) - options.indexOf(b);\n });\n this.stateChanges.next();\n }\n }\n /** Emits change event to set the model value. */\n _propagateChanges(fallbackValue) {\n let valueToEmit = null;\n if (this.multiple) {\n valueToEmit = this.selected.map(option => option.value);\n }\n else {\n valueToEmit = this.selected ? this.selected.value : fallbackValue;\n }\n this._value = valueToEmit;\n this.valueChange.emit(valueToEmit);\n this._onChange(valueToEmit);\n this.selectionChange.emit(this._getChangeEvent(valueToEmit));\n this._changeDetectorRef.markForCheck();\n }\n /**\n * Highlights the selected item. If no option is selected, it will highlight\n * the first *enabled* option.\n */\n _highlightCorrectOption() {\n if (this._keyManager) {\n if (this.empty) {\n // Find the index of the first *enabled* option. Avoid calling `_keyManager.setActiveItem`\n // because it activates the first option that passes the skip predicate, rather than the\n // first *enabled* option.\n let firstEnabledOptionIndex = -1;\n for (let index = 0; index < this.options.length; index++) {\n const option = this.options.get(index);\n if (!option.disabled) {\n firstEnabledOptionIndex = index;\n break;\n }\n }\n this._keyManager.setActiveItem(firstEnabledOptionIndex);\n }\n else {\n this._keyManager.setActiveItem(this._selectionModel.selected[0]);\n }\n }\n }\n /** Whether the panel is allowed to open. */\n _canOpen() {\n return !this._panelOpen && !this.disabled && this.options?.length > 0;\n }\n /** Focuses the select element. */\n focus(options) {\n this._elementRef.nativeElement.focus(options);\n }\n /** Gets the aria-labelledby for the select panel. */\n _getPanelAriaLabelledby() {\n if (this.ariaLabel) {\n return null;\n }\n const labelId = this._parentFormField?.getLabelId();\n const labelExpression = labelId ? labelId + ' ' : '';\n return this.ariaLabelledby ? labelExpression + this.ariaLabelledby : labelId;\n }\n /** Determines the `aria-activedescendant` to be set on the host. */\n _getAriaActiveDescendant() {\n if (this.panelOpen && this._keyManager && this._keyManager.activeItem) {\n return this._keyManager.activeItem.id;\n }\n return null;\n }\n /** Gets the aria-labelledby of the select component trigger. */\n _getTriggerAriaLabelledby() {\n if (this.ariaLabel) {\n return null;\n }\n const labelId = this._parentFormField?.getLabelId();\n let value = (labelId ? labelId + ' ' : '') + this._valueId;\n if (this.ariaLabelledby) {\n value += ' ' + this.ariaLabelledby;\n }\n return value;\n }\n /** Called when the overlay panel is done animating. */\n _panelDoneAnimating(isOpen) {\n this.openedChange.emit(isOpen);\n }\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n setDescribedByIds(ids) {\n if (ids.length) {\n this._elementRef.nativeElement.setAttribute('aria-describedby', ids.join(' '));\n }\n else {\n this._elementRef.nativeElement.removeAttribute('aria-describedby');\n }\n }\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n onContainerClick() {\n this.focus();\n this.open();\n }\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n get shouldLabelFloat() {\n return this._panelOpen || !this.empty || (this._focused && !!this._placeholder);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatSelectBase, deps: [{ token: i1.ViewportRuler }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i2.ErrorStateMatcher }, { token: i0.ElementRef }, { token: i3.Directionality, optional: true }, { token: i4.NgForm, optional: true }, { token: i4.FormGroupDirective, optional: true }, { token: MAT_FORM_FIELD, optional: true }, { token: i4.NgControl, optional: true, self: true }, { token: 'tabindex', attribute: true }, { token: MAT_SELECT_SCROLL_STRATEGY }, { token: i5.LiveAnnouncer }, { token: MAT_SELECT_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: _MatSelectBase, inputs: { userAriaDescribedBy: [\"aria-describedby\", \"userAriaDescribedBy\"], panelClass: \"panelClass\", placeholder: \"placeholder\", required: \"required\", multiple: \"multiple\", disableOptionCentering: \"disableOptionCentering\", compareWith: \"compareWith\", value: \"value\", ariaLabel: [\"aria-label\", \"ariaLabel\"], ariaLabelledby: [\"aria-labelledby\", \"ariaLabelledby\"], errorStateMatcher: \"errorStateMatcher\", typeaheadDebounceInterval: \"typeaheadDebounceInterval\", sortComparator: \"sortComparator\", id: \"id\" }, outputs: { openedChange: \"openedChange\", _openedStream: \"opened\", _closedStream: \"closed\", selectionChange: \"selectionChange\", valueChange: \"valueChange\" }, viewQueries: [{ propertyName: \"trigger\", first: true, predicate: [\"trigger\"], descendants: true }, { propertyName: \"panel\", first: true, predicate: [\"panel\"], descendants: true }, { propertyName: \"_overlayDir\", first: true, predicate: CdkConnectedOverlay, descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatSelectBase, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i1.ViewportRuler }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i2.ErrorStateMatcher }, { type: i0.ElementRef }, { type: i3.Directionality, decorators: [{\n type: Optional\n }] }, { type: i4.NgForm, decorators: [{\n type: Optional\n }] }, { type: i4.FormGroupDirective, decorators: [{\n type: Optional\n }] }, { type: i6.MatFormField, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_FORM_FIELD]\n }] }, { type: i4.NgControl, decorators: [{\n type: Self\n }, {\n type: Optional\n }] }, { type: undefined, decorators: [{\n type: Attribute,\n args: ['tabindex']\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [MAT_SELECT_SCROLL_STRATEGY]\n }] }, { type: i5.LiveAnnouncer }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_SELECT_CONFIG]\n }] }]; }, propDecorators: { userAriaDescribedBy: [{\n type: Input,\n args: ['aria-describedby']\n }], trigger: [{\n type: ViewChild,\n args: ['trigger']\n }], panel: [{\n type: ViewChild,\n args: ['panel']\n }], _overlayDir: [{\n type: ViewChild,\n args: [CdkConnectedOverlay]\n }], panelClass: [{\n type: Input\n }], placeholder: [{\n type: Input\n }], required: [{\n type: Input\n }], multiple: [{\n type: Input\n }], disableOptionCentering: [{\n type: Input\n }], compareWith: [{\n type: Input\n }], value: [{\n type: Input\n }], ariaLabel: [{\n type: Input,\n args: ['aria-label']\n }], ariaLabelledby: [{\n type: Input,\n args: ['aria-labelledby']\n }], errorStateMatcher: [{\n type: Input\n }], typeaheadDebounceInterval: [{\n type: Input\n }], sortComparator: [{\n type: Input\n }], id: [{\n type: Input\n }], openedChange: [{\n type: Output\n }], _openedStream: [{\n type: Output,\n args: ['opened']\n }], _closedStream: [{\n type: Output,\n args: ['closed']\n }], selectionChange: [{\n type: Output\n }], valueChange: [{\n type: Output\n }] } });\n/**\n * Allows the user to customize the trigger that is displayed when the select has a value.\n */\nclass MatSelectTrigger {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSelectTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatSelectTrigger, selector: \"mat-select-trigger\", providers: [{ provide: MAT_SELECT_TRIGGER, useExisting: MatSelectTrigger }], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSelectTrigger, decorators: [{\n type: Directive,\n args: [{\n selector: 'mat-select-trigger',\n providers: [{ provide: MAT_SELECT_TRIGGER, useExisting: MatSelectTrigger }],\n }]\n }] });\nclass MatSelect extends _MatSelectBase {\n constructor() {\n super(...arguments);\n this._positions = [\n {\n originX: 'start',\n originY: 'bottom',\n overlayX: 'start',\n overlayY: 'top',\n },\n {\n originX: 'start',\n originY: 'top',\n overlayX: 'start',\n overlayY: 'bottom',\n panelClass: 'mat-mdc-select-panel-above',\n },\n ];\n this._hideSingleSelectionIndicator = this._defaultOptions?.hideSingleSelectionIndicator ?? false;\n // `skipPredicate` determines if key manager should avoid putting a given option in the tab\n // order. Allow disabled list items to receive focus via keyboard to align with WAI ARIA\n // recommendation.\n //\n // Normally WAI ARIA's instructions are to exclude disabled items from the tab order, but it\n // makes a few exceptions for compound widgets.\n //\n // From [Developing a Keyboard Interface](\n // https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/):\n // \"For the following composite widget elements, keep them focusable when disabled: Options in a\n // Listbox...\"\n //\n // The user can focus disabled options using the keyboard, but the user cannot click disabled\n // options.\n this._skipPredicate = (option) => {\n if (this.panelOpen) {\n // Support keyboard focusing disabled options in an ARIA listbox.\n return false;\n }\n // When the panel is closed, skip over disabled options. Support options via the UP/DOWN arrow\n // keys on a closed select. ARIA listbox interaction pattern is less relevant when the panel is\n // closed.\n return option.disabled;\n };\n }\n get shouldLabelFloat() {\n // Since the panel doesn't overlap the trigger, we\n // want the label to only float when there's a value.\n return this.panelOpen || !this.empty || (this.focused && !!this.placeholder);\n }\n ngOnInit() {\n super.ngOnInit();\n this._viewportRuler\n .change()\n .pipe(takeUntil(this._destroy))\n .subscribe(() => {\n if (this.panelOpen) {\n this._overlayWidth = this._getOverlayWidth();\n this._changeDetectorRef.detectChanges();\n }\n });\n }\n ngAfterViewInit() {\n // Note that it's important that we read this in `ngAfterViewInit`, because\n // reading it earlier will cause the form field to return a different element.\n if (this._parentFormField) {\n this._preferredOverlayOrigin = this._parentFormField.getConnectedOverlayOrigin();\n }\n }\n open() {\n this._overlayWidth = this._getOverlayWidth();\n super.open();\n // Required for the MDC form field to pick up when the overlay has been opened.\n this.stateChanges.next();\n }\n close() {\n super.close();\n // Required for the MDC form field to pick up when the overlay has been closed.\n this.stateChanges.next();\n }\n /** Scrolls the active option into view. */\n _scrollOptionIntoView(index) {\n const option = this.options.toArray()[index];\n if (option) {\n const panel = this.panel.nativeElement;\n const labelCount = _countGroupLabelsBeforeOption(index, this.options, this.optionGroups);\n const element = option._getHostElement();\n if (index === 0 && labelCount === 1) {\n // If we've got one group label before the option and we're at the top option,\n // scroll the list to the top. This is better UX than scrolling the list to the\n // top of the option, because it allows the user to read the top group's label.\n panel.scrollTop = 0;\n }\n else {\n panel.scrollTop = _getOptionScrollPosition(element.offsetTop, element.offsetHeight, panel.scrollTop, panel.offsetHeight);\n }\n }\n }\n _positioningSettled() {\n this._scrollOptionIntoView(this._keyManager.activeItemIndex || 0);\n }\n _getChangeEvent(value) {\n return new MatSelectChange(this, value);\n }\n /** Gets how wide the overlay panel should be. */\n _getOverlayWidth() {\n const refToMeasure = this._preferredOverlayOrigin instanceof CdkOverlayOrigin\n ? this._preferredOverlayOrigin.elementRef\n : this._preferredOverlayOrigin || this._elementRef;\n return refToMeasure.nativeElement.getBoundingClientRect().width;\n }\n /** Whether checkmark indicator for single-selection options is hidden. */\n get hideSingleSelectionIndicator() {\n return this._hideSingleSelectionIndicator;\n }\n set hideSingleSelectionIndicator(value) {\n this._hideSingleSelectionIndicator = coerceBooleanProperty(value);\n this._syncParentProperties();\n }\n /** Syncs the parent state with the individual options. */\n _syncParentProperties() {\n if (this.options) {\n for (const option of this.options) {\n option._changeDetectorRef.markForCheck();\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSelect, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatSelect, selector: \"mat-select\", inputs: { disabled: \"disabled\", disableRipple: \"disableRipple\", tabIndex: \"tabIndex\", hideSingleSelectionIndicator: \"hideSingleSelectionIndicator\" }, host: { attributes: { \"role\": \"combobox\", \"aria-autocomplete\": \"none\", \"aria-haspopup\": \"listbox\", \"ngSkipHydration\": \"\" }, listeners: { \"keydown\": \"_handleKeydown($event)\", \"focus\": \"_onFocus()\", \"blur\": \"_onBlur()\" }, properties: { \"attr.id\": \"id\", \"attr.tabindex\": \"tabIndex\", \"attr.aria-controls\": \"panelOpen ? id + \\\"-panel\\\" : null\", \"attr.aria-expanded\": \"panelOpen\", \"attr.aria-label\": \"ariaLabel || null\", \"attr.aria-required\": \"required.toString()\", \"attr.aria-disabled\": \"disabled.toString()\", \"attr.aria-invalid\": \"errorState\", \"attr.aria-activedescendant\": \"_getAriaActiveDescendant()\", \"class.mat-mdc-select-disabled\": \"disabled\", \"class.mat-mdc-select-invalid\": \"errorState\", \"class.mat-mdc-select-required\": \"required\", \"class.mat-mdc-select-empty\": \"empty\", \"class.mat-mdc-select-multiple\": \"multiple\" }, classAttribute: \"mat-mdc-select\" }, providers: [\n { provide: MatFormFieldControl, useExisting: MatSelect },\n { provide: MAT_OPTION_PARENT_COMPONENT, useExisting: MatSelect },\n ], queries: [{ propertyName: \"customTrigger\", first: true, predicate: MAT_SELECT_TRIGGER, descendants: true }, { propertyName: \"options\", predicate: MatOption, descendants: true }, { propertyName: \"optionGroups\", predicate: MAT_OPTGROUP, descendants: true }], exportAs: [\"matSelect\"], usesInheritance: true, ngImport: i0, template: \"<!--\\n Note that the select trigger element specifies `aria-owns` pointing to the listbox overlay.\\n While aria-owns is not required for the ARIA 1.2 `role=\\\"combobox\\\"` interaction pattern,\\n it fixes an issue with VoiceOver when the select appears inside of an `aria-model=\\\"true\\\"`\\n element (e.g. a dialog). Without this `aria-owns`, the `aria-modal` on a dialog prevents\\n VoiceOver from \\\"seeing\\\" the select's listbox overlay for aria-activedescendant.\\n Using `aria-owns` re-parents the select overlay so that it works again.\\n See https://github.com/angular/components/issues/20694\\n-->\\n<div cdk-overlay-origin\\n [attr.aria-owns]=\\\"panelOpen ? id + '-panel' : null\\\"\\n class=\\\"mat-mdc-select-trigger\\\"\\n (click)=\\\"toggle()\\\"\\n #fallbackOverlayOrigin=\\\"cdkOverlayOrigin\\\"\\n #trigger>\\n <div class=\\\"mat-mdc-select-value\\\" [ngSwitch]=\\\"empty\\\" [attr.id]=\\\"_valueId\\\">\\n <span class=\\\"mat-mdc-select-placeholder mat-mdc-select-min-line\\\" *ngSwitchCase=\\\"true\\\">{{placeholder}}</span>\\n <span class=\\\"mat-mdc-select-value-text\\\" *ngSwitchCase=\\\"false\\\" [ngSwitch]=\\\"!!customTrigger\\\">\\n <span class=\\\"mat-mdc-select-min-line\\\" *ngSwitchDefault>{{triggerValue}}</span>\\n <ng-content select=\\\"mat-select-trigger\\\" *ngSwitchCase=\\\"true\\\"></ng-content>\\n </span>\\n </div>\\n\\n <div class=\\\"mat-mdc-select-arrow-wrapper\\\">\\n <div class=\\\"mat-mdc-select-arrow\\\">\\n <!-- Use an inline SVG, because it works better than a CSS triangle in high contrast mode. -->\\n <svg viewBox=\\\"0 0 24 24\\\" width=\\\"24px\\\" height=\\\"24px\\\" focusable=\\\"false\\\" aria-hidden=\\\"true\\\">\\n <path d=\\\"M7 10l5 5 5-5z\\\"/>\\n </svg>\\n </div>\\n </div>\\n</div>\\n\\n<ng-template\\n cdk-connected-overlay\\n cdkConnectedOverlayLockPosition\\n cdkConnectedOverlayHasBackdrop\\n cdkConnectedOverlayBackdropClass=\\\"cdk-overlay-transparent-backdrop\\\"\\n [cdkConnectedOverlayPanelClass]=\\\"_overlayPanelClass\\\"\\n [cdkConnectedOverlayScrollStrategy]=\\\"_scrollStrategy\\\"\\n [cdkConnectedOverlayOrigin]=\\\"_preferredOverlayOrigin || fallbackOverlayOrigin\\\"\\n [cdkConnectedOverlayOpen]=\\\"panelOpen\\\"\\n [cdkConnectedOverlayPositions]=\\\"_positions\\\"\\n [cdkConnectedOverlayWidth]=\\\"_overlayWidth\\\"\\n (backdropClick)=\\\"close()\\\"\\n (attach)=\\\"_onAttached()\\\"\\n (detach)=\\\"close()\\\">\\n <div\\n #panel\\n role=\\\"listbox\\\"\\n tabindex=\\\"-1\\\"\\n class=\\\"mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open {{ _getPanelTheme() }}\\\"\\n [attr.id]=\\\"id + '-panel'\\\"\\n [attr.aria-multiselectable]=\\\"multiple\\\"\\n [attr.aria-label]=\\\"ariaLabel || null\\\"\\n [attr.aria-labelledby]=\\\"_getPanelAriaLabelledby()\\\"\\n [ngClass]=\\\"panelClass\\\"\\n [@transformPanel]=\\\"'showing'\\\"\\n (@transformPanel.done)=\\\"_panelDoneAnimatingStream.next($event.toState)\\\"\\n (keydown)=\\\"_handleKeydown($event)\\\">\\n <ng-content></ng-content>\\n </div>\\n</ng-template>\\n\", styles: [\".mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mdc-menu-surface{max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px)}.mat-mdc-select{display:inline-block;width:100%;outline:none}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:translateY(-8px)}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-select-arrow{width:10px;height:5px;position:relative}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}.mdc-menu-surface.mat-mdc-select-panel{width:100%;max-height:275px;position:static;outline:0;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-select-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) .mdc-menu-surface.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above .mdc-menu-surface.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:\\\" \\\";white-space:pre;width:1px;display:inline-block;visibility:hidden}\"], dependencies: [{ kind: \"directive\", type: i7.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i7.NgSwitch, selector: \"[ngSwitch]\", inputs: [\"ngSwitch\"] }, { kind: \"directive\", type: i7.NgSwitchCase, selector: \"[ngSwitchCase]\", inputs: [\"ngSwitchCase\"] }, { kind: \"directive\", type: i7.NgSwitchDefault, selector: \"[ngSwitchDefault]\" }, { kind: \"directive\", type: i8.CdkConnectedOverlay, selector: \"[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]\", inputs: [\"cdkConnectedOverlayOrigin\", \"cdkConnectedOverlayPositions\", \"cdkConnectedOverlayPositionStrategy\", \"cdkConnectedOverlayOffsetX\", \"cdkConnectedOverlayOffsetY\", \"cdkConnectedOverlayWidth\", \"cdkConnectedOverlayHeight\", \"cdkConnectedOverlayMinWidth\", \"cdkConnectedOverlayMinHeight\", \"cdkConnectedOverlayBackdropClass\", \"cdkConnectedOverlayPanelClass\", \"cdkConnectedOverlayViewportMargin\", \"cdkConnectedOverlayScrollStrategy\", \"cdkConnectedOverlayOpen\", \"cdkConnectedOverlayDisableClose\", \"cdkConnectedOverlayTransformOriginOn\", \"cdkConnectedOverlayHasBackdrop\", \"cdkConnectedOverlayLockPosition\", \"cdkConnectedOverlayFlexibleDimensions\", \"cdkConnectedOverlayGrowAfterOpen\", \"cdkConnectedOverlayPush\"], outputs: [\"backdropClick\", \"positionChange\", \"attach\", \"detach\", \"overlayKeydown\", \"overlayOutsideClick\"], exportAs: [\"cdkConnectedOverlay\"] }, { kind: \"directive\", type: i8.CdkOverlayOrigin, selector: \"[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]\", exportAs: [\"cdkOverlayOrigin\"] }], animations: [matSelectAnimations.transformPanel], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSelect, decorators: [{\n type: Component,\n args: [{ selector: 'mat-select', exportAs: 'matSelect', inputs: ['disabled', 'disableRipple', 'tabIndex'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {\n 'role': 'combobox',\n 'aria-autocomplete': 'none',\n 'aria-haspopup': 'listbox',\n 'class': 'mat-mdc-select',\n '[attr.id]': 'id',\n '[attr.tabindex]': 'tabIndex',\n '[attr.aria-controls]': 'panelOpen ? id + \"-panel\" : null',\n '[attr.aria-expanded]': 'panelOpen',\n '[attr.aria-label]': 'ariaLabel || null',\n '[attr.aria-required]': 'required.toString()',\n '[attr.aria-disabled]': 'disabled.toString()',\n '[attr.aria-invalid]': 'errorState',\n '[attr.aria-activedescendant]': '_getAriaActiveDescendant()',\n 'ngSkipHydration': '',\n '[class.mat-mdc-select-disabled]': 'disabled',\n '[class.mat-mdc-select-invalid]': 'errorState',\n '[class.mat-mdc-select-required]': 'required',\n '[class.mat-mdc-select-empty]': 'empty',\n '[class.mat-mdc-select-multiple]': 'multiple',\n '(keydown)': '_handleKeydown($event)',\n '(focus)': '_onFocus()',\n '(blur)': '_onBlur()',\n }, animations: [matSelectAnimations.transformPanel], providers: [\n { provide: MatFormFieldControl, useExisting: MatSelect },\n { provide: MAT_OPTION_PARENT_COMPONENT, useExisting: MatSelect },\n ], template: \"<!--\\n Note that the select trigger element specifies `aria-owns` pointing to the listbox overlay.\\n While aria-owns is not required for the ARIA 1.2 `role=\\\"combobox\\\"` interaction pattern,\\n it fixes an issue with VoiceOver when the select appears inside of an `aria-model=\\\"true\\\"`\\n element (e.g. a dialog). Without this `aria-owns`, the `aria-modal` on a dialog prevents\\n VoiceOver from \\\"seeing\\\" the select's listbox overlay for aria-activedescendant.\\n Using `aria-owns` re-parents the select overlay so that it works again.\\n See https://github.com/angular/components/issues/20694\\n-->\\n<div cdk-overlay-origin\\n [attr.aria-owns]=\\\"panelOpen ? id + '-panel' : null\\\"\\n class=\\\"mat-mdc-select-trigger\\\"\\n (click)=\\\"toggle()\\\"\\n #fallbackOverlayOrigin=\\\"cdkOverlayOrigin\\\"\\n #trigger>\\n <div class=\\\"mat-mdc-select-value\\\" [ngSwitch]=\\\"empty\\\" [attr.id]=\\\"_valueId\\\">\\n <span class=\\\"mat-mdc-select-placeholder mat-mdc-select-min-line\\\" *ngSwitchCase=\\\"true\\\">{{placeholder}}</span>\\n <span class=\\\"mat-mdc-select-value-text\\\" *ngSwitchCase=\\\"false\\\" [ngSwitch]=\\\"!!customTrigger\\\">\\n <span class=\\\"mat-mdc-select-min-line\\\" *ngSwitchDefault>{{triggerValue}}</span>\\n <ng-content select=\\\"mat-select-trigger\\\" *ngSwitchCase=\\\"true\\\"></ng-content>\\n </span>\\n </div>\\n\\n <div class=\\\"mat-mdc-select-arrow-wrapper\\\">\\n <div class=\\\"mat-mdc-select-arrow\\\">\\n <!-- Use an inline SVG, because it works better than a CSS triangle in high contrast mode. -->\\n <svg viewBox=\\\"0 0 24 24\\\" width=\\\"24px\\\" height=\\\"24px\\\" focusable=\\\"false\\\" aria-hidden=\\\"true\\\">\\n <path d=\\\"M7 10l5 5 5-5z\\\"/>\\n </svg>\\n </div>\\n </div>\\n</div>\\n\\n<ng-template\\n cdk-connected-overlay\\n cdkConnectedOverlayLockPosition\\n cdkConnectedOverlayHasBackdrop\\n cdkConnectedOverlayBackdropClass=\\\"cdk-overlay-transparent-backdrop\\\"\\n [cdkConnectedOverlayPanelClass]=\\\"_overlayPanelClass\\\"\\n [cdkConnectedOverlayScrollStrategy]=\\\"_scrollStrategy\\\"\\n [cdkConnectedOverlayOrigin]=\\\"_preferredOverlayOrigin || fallbackOverlayOrigin\\\"\\n [cdkConnectedOverlayOpen]=\\\"panelOpen\\\"\\n [cdkConnectedOverlayPositions]=\\\"_positions\\\"\\n [cdkConnectedOverlayWidth]=\\\"_overlayWidth\\\"\\n (backdropClick)=\\\"close()\\\"\\n (attach)=\\\"_onAttached()\\\"\\n (detach)=\\\"close()\\\">\\n <div\\n #panel\\n role=\\\"listbox\\\"\\n tabindex=\\\"-1\\\"\\n class=\\\"mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open {{ _getPanelTheme() }}\\\"\\n [attr.id]=\\\"id + '-panel'\\\"\\n [attr.aria-multiselectable]=\\\"multiple\\\"\\n [attr.aria-label]=\\\"ariaLabel || null\\\"\\n [attr.aria-labelledby]=\\\"_getPanelAriaLabelledby()\\\"\\n [ngClass]=\\\"panelClass\\\"\\n [@transformPanel]=\\\"'showing'\\\"\\n (@transformPanel.done)=\\\"_panelDoneAnimatingStream.next($event.toState)\\\"\\n (keydown)=\\\"_handleKeydown($event)\\\">\\n <ng-content></ng-content>\\n </div>\\n</ng-template>\\n\", styles: [\".mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mdc-menu-surface{max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px)}.mat-mdc-select{display:inline-block;width:100%;outline:none}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:translateY(-8px)}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-select-arrow{width:10px;height:5px;position:relative}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}.mdc-menu-surface.mat-mdc-select-panel{width:100%;max-height:275px;position:static;outline:0;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-select-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) .mdc-menu-surface.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above .mdc-menu-surface.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:\\\" \\\";white-space:pre;width:1px;display:inline-block;visibility:hidden}\"] }]\n }], propDecorators: { options: [{\n type: ContentChildren,\n args: [MatOption, { descendants: true }]\n }], optionGroups: [{\n type: ContentChildren,\n args: [MAT_OPTGROUP, { descendants: true }]\n }], customTrigger: [{\n type: ContentChild,\n args: [MAT_SELECT_TRIGGER]\n }], hideSingleSelectionIndicator: [{\n type: Input\n }] } });\n\nclass MatSelectModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSelectModule, declarations: [MatSelect, MatSelectTrigger], imports: [CommonModule, OverlayModule, MatOptionModule, MatCommonModule], exports: [CdkScrollableModule,\n MatFormFieldModule,\n MatSelect,\n MatSelectTrigger,\n MatOptionModule,\n MatCommonModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSelectModule, providers: [MAT_SELECT_SCROLL_STRATEGY_PROVIDER], imports: [CommonModule, OverlayModule, MatOptionModule, MatCommonModule, CdkScrollableModule,\n MatFormFieldModule,\n MatOptionModule,\n MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSelectModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [CommonModule, OverlayModule, MatOptionModule, MatCommonModule],\n exports: [\n CdkScrollableModule,\n MatFormFieldModule,\n MatSelect,\n MatSelectTrigger,\n MatOptionModule,\n MatCommonModule,\n ],\n declarations: [MatSelect, MatSelectTrigger],\n providers: [MAT_SELECT_SCROLL_STRATEGY_PROVIDER],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MAT_SELECT_CONFIG, MAT_SELECT_SCROLL_STRATEGY, MAT_SELECT_SCROLL_STRATEGY_PROVIDER, MAT_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY, MAT_SELECT_TRIGGER, MatSelect, MatSelectChange, MatSelectModule, MatSelectTrigger, _MatSelectBase, matSelectAnimations };\n"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32]} \ No newline at end of file diff --git a/6578.1dc26f3f2eb234f6.js b/6578.1dc26f3f2eb234f6.js new file mode 100644 index 0000000..41d7397 --- /dev/null +++ b/6578.1dc26f3f2eb234f6.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[6578,7376,5187,4091,1217,7208,4968,4155,1084,6896,6980,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,8061,4680,2111,3326,8596,8352,5501,3098,8467,8608,8443,5915,3278,5391,6748,6763,4151,5069,7432,8071,6618],{35488:(i,o,e)=>{function r(u){if(void 0===u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}e.d(o,{Z:()=>r})},28694:(i,o,e)=>{e.d(o,{Z:()=>_});var r=e(20265),u=e(98568),n=e(43445),t=e(35488);function _(a){var c=(0,u.Z)();return function(){var s,l=(0,r.Z)(a);if(c){var d=(0,r.Z)(this).constructor;s=Reflect.construct(l,arguments,d)}else s=l.apply(this,arguments);return function f(a,c){if(c&&("object"===(0,n.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return(0,t.Z)(a)}(this,s)}}},4089:(i,o,e)=>{e.d(o,{Z:()=>n});var r=e(20265);function n(){return n=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(f,_,a){var c=function u(t,f){for(;!Object.prototype.hasOwnProperty.call(t,f)&&null!==(t=(0,r.Z)(t)););return t}(f,_);if(c){var p=Object.getOwnPropertyDescriptor(c,_);return p.get?p.get.call(arguments.length<3?f:a):p.value}},n.apply(this,arguments)}},20265:(i,o,e)=>{function r(u){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(u)}e.d(o,{Z:()=>r})},24582:(i,o,e)=>{e.d(o,{Z:()=>u});var r=e(10006);function u(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&(0,r.Z)(n,t)}},98568:(i,o,e)=>{function r(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(o,{Z:()=>r})},10006:(i,o,e)=>{function r(u,n){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(f,_){return f.__proto__=_,f})(u,n)}e.d(o,{Z:()=>r})}}]); +//# sourceMappingURL=6578.1dc26f3f2eb234f6.js.map \ No newline at end of file diff --git a/6578.1dc26f3f2eb234f6.js.map b/6578.1dc26f3f2eb234f6.js.map new file mode 100644 index 0000000..8b990ae --- /dev/null +++ b/6578.1dc26f3f2eb234f6.js.map @@ -0,0 +1 @@ +{"version":3,"file":"6578.1dc26f3f2eb234f6.js","mappings":"+RAAe,SAAAA,EAAAC,GACf,YAAAA,EACA,UAAAC,eAAA,6DAEA,OAAAD,CACA,oGCFe,SAAAE,EAAAC,GACf,IAAAC,KAAkCC,EAAAC,KAClC,kBACA,IACAC,EADAC,KAAgBC,EAAAH,GAAcH,GAE9B,GAAAC,EAAA,CACA,IAAAM,KAAsBD,EAAAH,GAAcK,MAAAC,YACpCL,EAAAM,QAAAC,UAAAN,EAAAO,UAAAL,EAAA,MAEAH,EAAAC,EAAAQ,MAAAL,KAAAI,WAEA,OCZe,SAAAE,EAAAjB,EAAAkB,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A,CACA,mCCVe,SAAAE,EAAAhB,EAAAiB,GACf,OAAAD,EAAAxB,OAAAS,eAAAT,OAAAS,eAAAhB,OAAA,SAAAe,EAAAiB,GACA,OAAAjB,EAAAE,UAAAe,EACAjB,CACA,GACAA,EAAAiB,EACA","names":["_assertThisInitialized","self","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","call","esm_typeof","TypeError","assertThisInitialized","_get","get","bind","target","property","receiver","base","_superPropBase","object","Object","prototype","hasOwnProperty","desc","getOwnPropertyDescriptor","length","value","_getPrototypeOf","o","setPrototypeOf","__proto__","_inherits","subClass","superClass","create","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8]} \ No newline at end of file diff --git a/6618.f423d4017883477a.js b/6618.f423d4017883477a.js new file mode 100644 index 0000000..43e365f --- /dev/null +++ b/6618.f423d4017883477a.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[6618,7376,5187,4091,1217,7208,4968,4155,1084,6896,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,4680,2111,3326,8596,8352,5501,3098,8608,8443,5915,3278,5391,6748,6763,4151,5069,7432],{35488:(f,n,e)=>{function t(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}e.d(n,{Z:()=>t})},28694:(f,n,e)=>{e.d(n,{Z:()=>i});var t=e(20265),o=e(98568),u=e(43445),r=e(35488);function i(p){var c=(0,o.Z)();return function(){var a,s=(0,t.Z)(p);if(c){var d=(0,t.Z)(this).constructor;a=Reflect.construct(s,arguments,d)}else a=s.apply(this,arguments);return function _(p,c){if(c&&("object"===(0,u.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(p)}(this,a)}}},20265:(f,n,e)=>{function t(o){return(t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)})(o)}e.d(n,{Z:()=>t})},24582:(f,n,e)=>{e.d(n,{Z:()=>o});var t=e(10006);function o(u,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(r&&r.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),r&&(0,t.Z)(u,r)}},98568:(f,n,e)=>{function t(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(n,{Z:()=>t})},10006:(f,n,e)=>{function t(o,u){return(t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_,i){return _.__proto__=i,_})(o,u)}e.d(n,{Z:()=>t})}}]); +//# sourceMappingURL=6618.f423d4017883477a.js.map \ No newline at end of file diff --git a/6618.f423d4017883477a.js.map b/6618.f423d4017883477a.js.map new file mode 100644 index 0000000..f4ca57c --- /dev/null +++ b/6618.f423d4017883477a.js.map @@ -0,0 +1 @@ +{"version":3,"file":"6618.f423d4017883477a.js","mappings":"sQAAe,SAAAA,EAAAC,GACf,YAAAA,EACA,UAAAC,eAAA,6DAEA,OAAAD,CACA,oGCFe,SAAAE,EAAAC,GACf,IAAAC,KAAkCC,EAAAC,KAClC,kBACA,IACAC,EADAC,KAAgBC,EAAAH,GAAcH,GAE9B,GAAAC,EAAA,CACA,IAAAM,KAAsBD,EAAAH,GAAcK,MAAAC,YACpCL,EAAAM,QAAAC,UAAAN,EAAAO,UAAAL,EAAA,MAEAH,EAAAC,EAAAQ,MAAAL,KAAAI,WAEA,OCZe,SAAAE,EAAAjB,EAAAkB,GACf,GAAAA,IAAsB,YAAtBA,EAAeC,EAAAb,GAAOY,IAAA,mBAAAA,GACtB,OAAAA,EACI,YAAAA,EACJ,UAAAE,UAAA,4DAEA,SAASC,EAAAf,GAAqBN,EAC9B,CDKWiB,CAAyBN,KAAAJ,EACpC,CACA,mBEhBe,SAAAe,EAAAC,GACf,OAAAD,EAAAE,OAAAC,eAAAD,OAAAf,eAAAiB,OAAA,SAAAH,GACA,OAAAA,EAAAI,WAAAH,OAAAf,eAAAc,EACA,GACAA,EACA,mECJe,SAAAK,EAAAC,EAAAC,GACf,sBAAAA,GAAA,OAAAA,EACA,UAAAV,UAAA,sDAEAS,EAAAE,UAAAP,OAAAQ,OAAAF,KAAAC,UAAA,CACAnB,YAAA,CACAqB,MAAAJ,EACAK,UAAA,EACAC,cAAA,KAGAX,OAAAY,eAAAP,EAAA,aACAK,UAAA,IAEAJ,MAAkBO,EAAA/B,GAAcuB,EAAAC,EAChC,mBChBe,SAAAQ,IAEf,UADAzB,QAAA,MAAAA,QAAAC,WACAD,QAAAC,UAAAyB,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAAV,UAAAW,QAAAxB,KAAAL,QAAAC,UAAA2B,QAAA,mBACA,CACA,OACA,QACA,CACA,mCCVe,SAAAE,EAAApB,EAAAqB,GACf,OAAAD,EAAAnB,OAAAC,eAAAD,OAAAC,eAAAC,OAAA,SAAAH,EAAAqB,GACA,OAAArB,EAAAI,UAAAiB,EACArB,CACA,GACAA,EAAAqB,EACA","names":["_assertThisInitialized","self","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","call","esm_typeof","TypeError","assertThisInitialized","_getPrototypeOf","o","Object","setPrototypeOf","bind","__proto__","_inherits","subClass","superClass","prototype","create","value","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6]} \ No newline at end of file diff --git a/6748.1496b15b2d5af775.js b/6748.1496b15b2d5af775.js new file mode 100644 index 0000000..ba65e42 --- /dev/null +++ b/6748.1496b15b2d5af775.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[6748,7376,5187,4091,1217,7208,4968,4155,1084,6896,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,4680,2111,3326,8596,8352,5501,3098,8608,8443,5915,3278,5391,6763,4151,5069,7432,6618],{35488:(f,n,e)=>{function t(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}e.d(n,{Z:()=>t})},28694:(f,n,e)=>{e.d(n,{Z:()=>i});var t=e(20265),o=e(98568),u=e(43445),r=e(35488);function i(p){var c=(0,o.Z)();return function(){var a,s=(0,t.Z)(p);if(c){var d=(0,t.Z)(this).constructor;a=Reflect.construct(s,arguments,d)}else a=s.apply(this,arguments);return function _(p,c){if(c&&("object"===(0,u.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(p)}(this,a)}}},20265:(f,n,e)=>{function t(o){return(t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)})(o)}e.d(n,{Z:()=>t})},24582:(f,n,e)=>{e.d(n,{Z:()=>o});var t=e(10006);function o(u,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(r&&r.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),r&&(0,t.Z)(u,r)}},98568:(f,n,e)=>{function t(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(n,{Z:()=>t})},10006:(f,n,e)=>{function t(o,u){return(t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_,i){return _.__proto__=i,_})(o,u)}e.d(n,{Z:()=>t})}}]); +//# sourceMappingURL=6748.1496b15b2d5af775.js.map \ No newline at end of file diff --git a/6748.1496b15b2d5af775.js.map b/6748.1496b15b2d5af775.js.map new file mode 100644 index 0000000..da1f273 --- /dev/null +++ b/6748.1496b15b2d5af775.js.map @@ -0,0 +1 @@ +{"version":3,"file":"6748.1496b15b2d5af775.js","mappings":"sQAAe,SAAAA,EAAAC,GACf,YAAAA,EACA,UAAAC,eAAA,6DAEA,OAAAD,CACA,oGCFe,SAAAE,EAAAC,GACf,IAAAC,KAAkCC,EAAAC,KAClC,kBACA,IACAC,EADAC,KAAgBC,EAAAH,GAAcH,GAE9B,GAAAC,EAAA,CACA,IAAAM,KAAsBD,EAAAH,GAAcK,MAAAC,YACpCL,EAAAM,QAAAC,UAAAN,EAAAO,UAAAL,EAAA,MAEAH,EAAAC,EAAAQ,MAAAL,KAAAI,WAEA,OCZe,SAAAE,EAAAjB,EAAAkB,GACf,GAAAA,IAAsB,YAAtBA,EAAeC,EAAAb,GAAOY,IAAA,mBAAAA,GACtB,OAAAA,EACI,YAAAA,EACJ,UAAAE,UAAA,4DAEA,SAASC,EAAAf,GAAqBN,EAC9B,CDKWiB,CAAyBN,KAAAJ,EACpC,CACA,mBEhBe,SAAAe,EAAAC,GACf,OAAAD,EAAAE,OAAAC,eAAAD,OAAAf,eAAAiB,OAAA,SAAAH,GACA,OAAAA,EAAAI,WAAAH,OAAAf,eAAAc,EACA,GACAA,EACA,mECJe,SAAAK,EAAAC,EAAAC,GACf,sBAAAA,GAAA,OAAAA,EACA,UAAAV,UAAA,sDAEAS,EAAAE,UAAAP,OAAAQ,OAAAF,KAAAC,UAAA,CACAnB,YAAA,CACAqB,MAAAJ,EACAK,UAAA,EACAC,cAAA,KAGAX,OAAAY,eAAAP,EAAA,aACAK,UAAA,IAEAJ,MAAkBO,EAAA/B,GAAcuB,EAAAC,EAChC,mBChBe,SAAAQ,IAEf,UADAzB,QAAA,MAAAA,QAAAC,WACAD,QAAAC,UAAAyB,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAAV,UAAAW,QAAAxB,KAAAL,QAAAC,UAAA2B,QAAA,mBACA,CACA,OACA,QACA,CACA,mCCVe,SAAAE,EAAApB,EAAAqB,GACf,OAAAD,EAAAnB,OAAAC,eAAAD,OAAAC,eAAAC,OAAA,SAAAH,EAAAqB,GACA,OAAArB,EAAAI,UAAAiB,EACArB,CACA,GACAA,EAAAqB,EACA","names":["_assertThisInitialized","self","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","call","esm_typeof","TypeError","assertThisInitialized","_getPrototypeOf","o","Object","setPrototypeOf","bind","__proto__","_inherits","subClass","superClass","prototype","create","value","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6]} \ No newline at end of file diff --git a/6763.4771ea4780be6711.js b/6763.4771ea4780be6711.js new file mode 100644 index 0000000..f42d5a4 --- /dev/null +++ b/6763.4771ea4780be6711.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[6763,7376,5187,4091,1217,7208,4968,4155,1084,6896,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,4680,2111,3326,8596,8352,5501,3098,8608,8443,5915,3278,5391,6748,4151,5069,7432,6618],{35488:(f,n,e)=>{function t(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}e.d(n,{Z:()=>t})},28694:(f,n,e)=>{e.d(n,{Z:()=>i});var t=e(20265),o=e(98568),u=e(43445),r=e(35488);function i(p){var c=(0,o.Z)();return function(){var a,s=(0,t.Z)(p);if(c){var d=(0,t.Z)(this).constructor;a=Reflect.construct(s,arguments,d)}else a=s.apply(this,arguments);return function _(p,c){if(c&&("object"===(0,u.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(p)}(this,a)}}},20265:(f,n,e)=>{function t(o){return(t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)})(o)}e.d(n,{Z:()=>t})},24582:(f,n,e)=>{e.d(n,{Z:()=>o});var t=e(10006);function o(u,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(r&&r.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),r&&(0,t.Z)(u,r)}},98568:(f,n,e)=>{function t(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(n,{Z:()=>t})},10006:(f,n,e)=>{function t(o,u){return(t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_,i){return _.__proto__=i,_})(o,u)}e.d(n,{Z:()=>t})}}]); +//# sourceMappingURL=6763.4771ea4780be6711.js.map \ No newline at end of file diff --git a/6763.4771ea4780be6711.js.map b/6763.4771ea4780be6711.js.map new file mode 100644 index 0000000..d64aa7d --- /dev/null +++ b/6763.4771ea4780be6711.js.map @@ -0,0 +1 @@ +{"version":3,"file":"6763.4771ea4780be6711.js","mappings":"sQAAe,SAAAA,EAAAC,GACf,YAAAA,EACA,UAAAC,eAAA,6DAEA,OAAAD,CACA,oGCFe,SAAAE,EAAAC,GACf,IAAAC,KAAkCC,EAAAC,KAClC,kBACA,IACAC,EADAC,KAAgBC,EAAAH,GAAcH,GAE9B,GAAAC,EAAA,CACA,IAAAM,KAAsBD,EAAAH,GAAcK,MAAAC,YACpCL,EAAAM,QAAAC,UAAAN,EAAAO,UAAAL,EAAA,MAEAH,EAAAC,EAAAQ,MAAAL,KAAAI,WAEA,OCZe,SAAAE,EAAAjB,EAAAkB,GACf,GAAAA,IAAsB,YAAtBA,EAAeC,EAAAb,GAAOY,IAAA,mBAAAA,GACtB,OAAAA,EACI,YAAAA,EACJ,UAAAE,UAAA,4DAEA,SAASC,EAAAf,GAAqBN,EAC9B,CDKWiB,CAAyBN,KAAAJ,EACpC,CACA,mBEhBe,SAAAe,EAAAC,GACf,OAAAD,EAAAE,OAAAC,eAAAD,OAAAf,eAAAiB,OAAA,SAAAH,GACA,OAAAA,EAAAI,WAAAH,OAAAf,eAAAc,EACA,GACAA,EACA,mECJe,SAAAK,EAAAC,EAAAC,GACf,sBAAAA,GAAA,OAAAA,EACA,UAAAV,UAAA,sDAEAS,EAAAE,UAAAP,OAAAQ,OAAAF,KAAAC,UAAA,CACAnB,YAAA,CACAqB,MAAAJ,EACAK,UAAA,EACAC,cAAA,KAGAX,OAAAY,eAAAP,EAAA,aACAK,UAAA,IAEAJ,MAAkBO,EAAA/B,GAAcuB,EAAAC,EAChC,mBChBe,SAAAQ,IAEf,UADAzB,QAAA,MAAAA,QAAAC,WACAD,QAAAC,UAAAyB,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAAV,UAAAW,QAAAxB,KAAAL,QAAAC,UAAA2B,QAAA,mBACA,CACA,OACA,QACA,CACA,mCCVe,SAAAE,EAAApB,EAAAqB,GACf,OAAAD,EAAAnB,OAAAC,eAAAD,OAAAC,eAAAC,OAAA,SAAAH,EAAAqB,GACA,OAAArB,EAAAI,UAAAiB,EACArB,CACA,GACAA,EAAAqB,EACA","names":["_assertThisInitialized","self","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","call","esm_typeof","TypeError","assertThisInitialized","_getPrototypeOf","o","Object","setPrototypeOf","bind","__proto__","_inherits","subClass","superClass","prototype","create","value","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6]} \ No newline at end of file diff --git a/6785.56f0194b8bc6f8fb.js b/6785.56f0194b8bc6f8fb.js new file mode 100644 index 0000000..6007843 --- /dev/null +++ b/6785.56f0194b8bc6f8fb.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[6785,5106,7376,5187,4091,1217,7208,4968,4155,1084,6896,7920,6980,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,8061,4680,2111,3326,8596,8352,5501,882,3098,8467,6578,8608,8443,7328,5915,3278,5391,6748,1551,6763,4151,5069,7432,8071,6618],{44841:(_,a,t)=>{function o(u,e){(null==e||e>u.length)&&(e=u.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=u[r];return n}t.d(a,{Z:()=>o})},35488:(_,a,t)=>{function o(u){if(void 0===u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}t.d(a,{Z:()=>o})},95106:(_,a,t)=>{t.d(a,{Z:()=>u});var o=t(44206);function u(e,r){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=(0,o.Z)(e))||r&&e&&"number"==typeof e.length){n&&(e=n);var c=0,f=function(){};return{s:f,n:function(){return c>=e.length?{done:!0}:{done:!1,value:e[c++]}},e:function(p){throw p},f}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var d,i=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var p=n.next();return i=p.done,p},e:function(p){s=!0,d=p},f:function(){try{!i&&null!=n.return&&n.return()}finally{if(s)throw d}}}}},28694:(_,a,t)=>{t.d(a,{Z:()=>c});var o=t(20265),u=t(98568),e=t(43445),r=t(35488);function c(f){var i=(0,u.Z)();return function(){var l,d=(0,o.Z)(f);if(i){var p=(0,o.Z)(this).constructor;l=Reflect.construct(d,arguments,p)}else l=d.apply(this,arguments);return function n(f,i){if(i&&("object"===(0,e.Z)(i)||"function"==typeof i))return i;if(void 0!==i)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(f)}(this,l)}}},4089:(_,a,t)=>{t.d(a,{Z:()=>e});var o=t(20265);function e(){return e=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(n,c,f){var i=function u(r,n){for(;!Object.prototype.hasOwnProperty.call(r,n)&&null!==(r=(0,o.Z)(r)););return r}(n,c);if(i){var s=Object.getOwnPropertyDescriptor(i,c);return s.get?s.get.call(arguments.length<3?n:f):s.value}},e.apply(this,arguments)}},20265:(_,a,t)=>{function o(u){return(o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)})(u)}t.d(a,{Z:()=>o})},24582:(_,a,t)=>{t.d(a,{Z:()=>u});var o=t(10006);function u(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),r&&(0,o.Z)(e,r)}},98568:(_,a,t)=>{function o(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}t.d(a,{Z:()=>o})},4826:(_,a,t)=>{function o(u){if(typeof Symbol<"u"&&null!=u[Symbol.iterator]||null!=u["@@iterator"])return Array.from(u)}t.d(a,{Z:()=>o})},10006:(_,a,t)=>{function o(u,e){return(o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,c){return n.__proto__=c,n})(u,e)}t.d(a,{Z:()=>o})},86170:(_,a,t)=>{t.d(a,{Z:()=>c});var o=t(44841),e=t(4826),r=t(44206);function c(f){return function u(f){if(Array.isArray(f))return(0,o.Z)(f)}(f)||(0,e.Z)(f)||(0,r.Z)(f)||function 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.")}()}},44206:(_,a,t)=>{t.d(a,{Z:()=>u});var o=t(44841);function u(e,r){if(e){if("string"==typeof e)return(0,o.Z)(e,r);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return(0,o.Z)(e,r)}}}}]); +//# sourceMappingURL=6785.56f0194b8bc6f8fb.js.map \ No newline at end of file diff --git a/6785.56f0194b8bc6f8fb.js.map b/6785.56f0194b8bc6f8fb.js.map new file mode 100644 index 0000000..e62bf3c --- /dev/null +++ b/6785.56f0194b8bc6f8fb.js.map @@ -0,0 +1 @@ +{"version":3,"file":"6785.56f0194b8bc6f8fb.js","mappings":"4TAAe,SAAAA,EAAAC,EAAAC,IACf,MAAAA,KAAAD,EAAAE,UAAAD,EAAAD,EAAAE,QACA,QAAAC,EAAA,EAAAC,EAAA,IAAAC,MAAAJ,GAAyCE,EAAAF,EAASE,IAAAC,EAAAD,GAAAH,EAAAG,GAClD,OAAAC,CACA,mCCJe,SAAAE,EAAAC,GACf,YAAAA,EACA,UAAAC,eAAA,6DAEA,OAAAD,CACA,mECJe,SAAAE,EAAAC,EAAAC,GACf,IAAAC,SAAAC,OAAA,KAAAH,EAAAG,OAAAC,WAAAJ,EAAA,cACA,IAAAE,EAAA,CACA,GAAAP,MAAAU,QAAAL,KAAAE,KAAkCI,EAAAC,GAA0BP,KAAAC,GAAAD,GAAA,iBAAAA,EAAAR,OAAA,CAC5DU,IAAAF,EAAAE,GACA,IAAAT,EAAA,EACAe,EAAA,aACA,OACAC,EAAAD,EACAE,EAAA,WACA,OAAAjB,GAAAO,EAAAR,OAAA,CACAmB,MAAA,GAEA,CACAA,MAAA,EACAC,MAAAZ,EAAAP,KAEA,EACAoB,EAAA,SAAAC,GACA,MAAAA,CACA,EACAN,EACA,CAEA,UAAAO,UAAA,yIAEA,IAEAC,EAFAC,GAAA,EACAC,GAAA,EAEA,OACAT,EAAA,WACAP,IAAAiB,KAAAnB,EACA,EACAU,EAAA,WACA,IAAAU,EAAAlB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,GADA,WAAA7E,GAAAV,EAAAkC,cAAAxB,EAAAV,EAAAkC,YAAAsD,MACA,QAAA9E,GAAA,QAAAA,EAAA,OAAAf,MAAA+E,KAAA1E,GACA,iBAAAU,GAAA,2CAAA+E,KAAA/E,GAAA,SAAsF2E,EAAA9E,GAAgBP,EAAAoF,EAAA,CACtG","names":["_arrayLikeToArray","arr","len","length","i","arr2","Array","_assertThisInitialized","self","ReferenceError","_createForOfIteratorHelper","o","allowArrayLike","it","Symbol","iterator","isArray","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","s","n","done","value","e","_e","TypeError","err","normalCompletion","didErr","call","step","next","_e2","f","return","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","esm_typeof","assertThisInitialized","_get","get","bind","target","property","receiver","base","_superPropBase","object","Object","prototype","hasOwnProperty","desc","getOwnPropertyDescriptor","_getPrototypeOf","setPrototypeOf","__proto__","_inherits","subClass","superClass","create","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_iterableToArray","iter","from","_setPrototypeOf","p","_toConsumableArray","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","toString","slice","name","test"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]} \ No newline at end of file diff --git a/6839.055ca8b6e5386f89.js b/6839.055ca8b6e5386f89.js new file mode 100644 index 0000000..b0b44b6 --- /dev/null +++ b/6839.055ca8b6e5386f89.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[6839,3022,5106,7376,5187,4091,1217,7208,4968,6785,4155,1084,6896,5603,7920,6980,5113,1328,5749,4309,8024,8513,5555,4967,8017,8116,5873,8061,4680,2111,3326,8596,8352,5501,882,3098,8467,6578,4093,8608,8443,7328,6441,1821,9880,4902,5915,3278,5391,6748,1551,6763,4151,5069,7432,8071,6618],{76317:(ee,R,p)=>{p.d(R,{X:()=>P});var O=p(78069),A=p(48047),I=p(4089),b=p(20265),T=p(24582),D=p(28694),P=function(w){(0,T.Z)(y,w);var F=(0,D.Z)(y);function y(m){var N;return(0,O.Z)(this,y),(N=F.call(this))._value=m,N}return(0,A.Z)(y,[{key:"value",get:function(){return this.getValue()}},{key:"_subscribe",value:function(N){var j=(0,I.Z)((0,b.Z)(y.prototype),"_subscribe",this).call(this,N);return!j.closed&&N.next(this._value),j}},{key:"getValue",value:function(){var se=this._value;if(this.hasError)throw this.thrownError;return this._throwIfClosed(),se}},{key:"next",value:function(N){(0,I.Z)((0,b.Z)(y.prototype),"next",this).call(this,this._value=N)}}]),y}(p(50253).x)},50253:(ee,R,p)=>{p.d(R,{x:()=>j});var O=p(95106),A=p(78069),I=p(48047),b=p(4089),T=p(20265),D=p(24582),M=p(28694),P=p(90833),w=p(17714),y=(0,p(27543).d)(function(he){return function(){he(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),m=p(39663),N=p(12309),j=function(){var he=function(ye){(0,D.Z)(pe,ye);var de=(0,M.Z)(pe);function pe(){var G;return(0,A.Z)(this,pe),(G=de.call(this)).closed=!1,G.currentObservers=null,G.observers=[],G.isStopped=!1,G.hasError=!1,G.thrownError=null,G}return(0,I.Z)(pe,[{key:"lift",value:function(L){var W=new se(this,this);return W.operator=L,W}},{key:"_throwIfClosed",value:function(){if(this.closed)throw new y}},{key:"next",value:function(L){var W=this;(0,N.x)(function(){if(W._throwIfClosed(),!W.isStopped){W.currentObservers||(W.currentObservers=Array.from(W.observers));var H,ae=(0,O.Z)(W.currentObservers);try{for(ae.s();!(H=ae.n()).done;)H.value.next(L)}catch(le){ae.e(le)}finally{ae.f()}}})}},{key:"error",value:function(L){var W=this;(0,N.x)(function(){if(W._throwIfClosed(),!W.isStopped){W.hasError=W.isStopped=!0,W.thrownError=L;for(var ae=W.observers;ae.length;)ae.shift().error(L)}})}},{key:"complete",value:function(){var L=this;(0,N.x)(function(){if(L._throwIfClosed(),!L.isStopped){L.isStopped=!0;for(var W=L.observers;W.length;)W.shift().complete()}})}},{key:"unsubscribe",value:function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}},{key:"observed",get:function(){var L;return(null===(L=this.observers)||void 0===L?void 0:L.length)>0}},{key:"_trySubscribe",value:function(L){return this._throwIfClosed(),(0,b.Z)((0,T.Z)(pe.prototype),"_trySubscribe",this).call(this,L)}},{key:"_subscribe",value:function(L){return this._throwIfClosed(),this._checkFinalizedStatuses(L),this._innerSubscribe(L)}},{key:"_innerSubscribe",value:function(L){var W=this,q=this.observers;return this.hasError||this.isStopped?w.Lc:(this.currentObservers=null,q.push(L),new w.w0(function(){W.currentObservers=null,(0,m.P)(q,L)}))}},{key:"_checkFinalizedStatuses",value:function(L){var H=this.isStopped;this.hasError?L.error(this.thrownError):H&&L.complete()}},{key:"asObservable",value:function(){var L=new P.y;return L.source=this,L}}]),pe}(P.y);return he.create=function(ye,de){return new se(ye,de)},he}(),se=function(he){(0,D.Z)(de,he);var ye=(0,M.Z)(de);function de(pe,G){var L;return(0,A.Z)(this,de),(L=ye.call(this)).destination=pe,L.source=G,L}return(0,I.Z)(de,[{key:"next",value:function(G){var L,W;null===(W=null===(L=this.destination)||void 0===L?void 0:L.next)||void 0===W||W.call(L,G)}},{key:"error",value:function(G){var L,W;null===(W=null===(L=this.destination)||void 0===L?void 0:L.error)||void 0===W||W.call(L,G)}},{key:"complete",value:function(){var G,L;null===(L=null===(G=this.destination)||void 0===G?void 0:G.complete)||void 0===L||L.call(G)}},{key:"_subscribe",value:function(G){var L,W;return null!==(W=null===(L=this.source)||void 0===L?void 0:L.subscribe(G))&&void 0!==W?W:w.Lc}}]),de}(j)},20591:(ee,R,p)=>{p.d(R,{E:()=>A});var A=new(p(90833).y)(function(T){return T.complete()})},37400:(ee,R,p)=>{p.d(R,{D:()=>ae});var O=p(54987),A=p(8728),I=p(41944);function b(H){var q=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,I.e)(function(le,U){U.add(H.schedule(function(){return le.subscribe(U)},q))})}var M=p(90833),w=p(67321),F=p(92971),y=p(1817);function N(H,q){if(!H)throw new Error("Iterable cannot be null");return new M.y(function(le){(0,y.f)(le,q,function(){var U=H[Symbol.asyncIterator]();(0,y.f)(le,q,function(){U.next().then(function(ke){ke.done?le.complete():le.next(ke.value)})},0,!0)})})}var j=p(21331),se=p(79548),he=p(99806),ye=p(23433),de=p(80470),pe=p(27785),G=p(20181);function ae(H,q){return q?function W(H,q){if(null!=H){if((0,j.c)(H))return function T(H,q){return(0,O.Xf)(H).pipe(b(q),(0,A.Q)(q))}(H,q);if((0,he.z)(H))return function P(H,q){return new M.y(function(le){var U=0;return q.schedule(function(){U===H.length?le.complete():(le.next(H[U++]),le.closed||this.schedule())})})}(H,q);if((0,se.t)(H))return function D(H,q){return(0,O.Xf)(H).pipe(b(q),(0,A.Q)(q))}(H,q);if((0,de.D)(H))return N(H,q);if((0,ye.T)(H))return function m(H,q){return new M.y(function(le){var U;return(0,y.f)(le,q,function(){U=H[w.h](),(0,y.f)(le,q,function(){var ke,ve;try{var cn=U.next();ke=cn.value,ve=cn.done}catch(Zi){return void le.error(Zi)}ve?le.complete():le.next(ke)},0,!0)}),function(){return(0,F.m)(U?.return)&&U.return()}})}(H,q);if((0,G.L)(H))return function L(H,q){return N((0,G.Q)(H),q)}(H,q)}throw(0,pe.z)(H)}(H,q):(0,O.Xf)(H)}},36646:(ee,R,p)=>{p.d(R,{T:()=>D});var O=p(1308),A=p(54987),I=p(20591),b=p(10420),T=p(37400);function D(){for(var M=arguments.length,P=new Array(M),w=0;w<M;w++)P[w]=arguments[w];var F=(0,b.yG)(P),y=(0,b._6)(P,1/0),m=P;return m.length?1===m.length?(0,A.Xf)(m[0]):(0,O.J)(y)((0,T.D)(m,F)):I.E}},10745:(ee,R,p)=>{p.d(R,{of:()=>I});var O=p(10420),A=p(37400);function I(){for(var b=arguments.length,T=new Array(b),D=0;D<b;D++)T[D]=arguments[D];var M=(0,O.yG)(T);return(0,A.D)(T,M)}},93945:(ee,R,p)=>{p.d(R,{Q:()=>F,x:()=>w});var O=p(78069),A=p(48047),I=p(35488),b=p(24582),T=p(28694),D=p(4089),M=p(20265);function w(y,m,N,j,se){return new F(y,m,N,j,se)}var F=function(y){(0,b.Z)(N,y);var m=(0,T.Z)(N);function N(j,se,he,ye,de,pe){var G,L,W,ae;return(0,O.Z)(this,N),(ae=m.call(this,j)).onFinalize=de,ae.shouldUnsubscribe=pe,ae._next=se?function(H){try{se(H)}catch(q){j.error(q)}}:(0,D.Z)((G=(0,I.Z)(ae),(0,M.Z)(N.prototype)),"_next",G),ae._error=ye?function(H){try{ye(H)}catch(q){j.error(q)}finally{this.unsubscribe()}}:(0,D.Z)((L=(0,I.Z)(ae),(0,M.Z)(N.prototype)),"_error",L),ae._complete=he?function(){try{he()}catch(H){j.error(H)}finally{this.unsubscribe()}}:(0,D.Z)((W=(0,I.Z)(ae),(0,M.Z)(N.prototype)),"_complete",W),ae}return(0,A.Z)(N,[{key:"unsubscribe",value:function(){var se;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var he=this.closed;(0,D.Z)((0,M.Z)(N.prototype),"unsubscribe",this).call(this),!he&&(null===(se=this.onFinalize)||void 0===se||se.call(this))}}}]),N}(p(5463).Lv)},64744:(ee,R,p)=>{p.d(R,{d:()=>I});var O=p(41944),A=p(93945);function I(b){return(0,O.e)(function(T,D){var M=!1;T.subscribe((0,A.x)(D,function(P){M=!0,D.next(P)},function(){M||D.next(b),D.complete()}))})}},98977:(ee,R,p)=>{p.d(R,{x:()=>b});var O=p(89173),A=p(41944),I=p(93945);function b(D){var M=arguments.length>1&&void 0!==arguments[1]?arguments[1]:O.y;return D=D??T,(0,A.e)(function(P,w){var F,y=!0;P.subscribe((0,I.x)(w,function(m){var N=M(m);(y||!D(F,N))&&(y=!1,F=N,w.next(m))}))})}function T(D,M){return D===M}},60116:(ee,R,p)=>{p.d(R,{h:()=>I});var O=p(41944),A=p(93945);function I(b,T){return(0,O.e)(function(D,M){var P=0;D.subscribe((0,A.x)(M,function(w){return b.call(T,w,P++)&&M.next(w)}))})}},80155:(ee,R,p)=>{p.d(R,{P:()=>M});var O=p(14423),A=p(60116),I=p(59295),b=p(64744),T=p(77354),D=p(89173);function M(P,w){var F=arguments.length>=2;return function(y){return y.pipe(P?(0,A.h)(function(m,N){return P(m,N,y)}):D.y,(0,I.q)(1),F?(0,b.d)(w):(0,T.T)(function(){return new O.K}))}}},50635:(ee,R,p)=>{p.d(R,{U:()=>I});var O=p(41944),A=p(93945);function I(b,T){return(0,O.e)(function(D,M){var P=0;D.subscribe((0,A.x)(M,function(w){M.next(b.call(T,w,P++))}))})}},1308:(ee,R,p)=>{p.d(R,{J:()=>I});var O=p(49525),A=p(89173);function I(){return(0,O.z)(A.y,arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0)}},49525:(ee,R,p)=>{p.d(R,{z:()=>P});var O=p(50635),A=p(54987),I=p(41944),b=p(1817),T=p(93945),M=p(92971);function P(w,F){var y=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;return(0,M.m)(F)?P(function(m,N){return(0,O.U)(function(j,se){return F(m,j,N,se)})((0,A.Xf)(w(m,N)))},y):("number"==typeof F&&(y=F),(0,I.e)(function(m,N){return function D(w,F,y,m,N,j,se,he){var ye=[],de=0,pe=0,G=!1,L=function(){G&&!ye.length&&!de&&F.complete()},W=function(q){return de<m?ae(q):ye.push(q)},ae=function H(q){j&&F.next(q),de++;var le=!1;(0,A.Xf)(y(q,pe++)).subscribe((0,T.x)(F,function(U){N?.(U),j?W(U):F.next(U)},function(){le=!0},void 0,function(){if(le)try{de--;for(var U=function(){var ve=ye.shift();se?(0,b.f)(F,se,function(){return H(ve)}):H(ve)};ye.length&&de<m;)U();L()}catch(ke){F.error(ke)}}))};return w.subscribe((0,T.x)(F,W,function(){G=!0,L()})),function(){he?.()}}(m,N,w,y)}))}},8728:(ee,R,p)=>{p.d(R,{Q:()=>b});var O=p(1817),A=p(41944),I=p(93945);function b(T){var D=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,A.e)(function(M,P){M.subscribe((0,I.x)(P,function(w){return(0,O.f)(P,T,function(){return P.next(w)},D)},function(){return(0,O.f)(P,T,function(){return P.complete()},D)},function(w){return(0,O.f)(P,T,function(){return P.error(w)},D)}))})}},81203:(ee,R,p)=>{p.d(R,{B:()=>T});var O=p(54987),A=p(50253),I=p(5463),b=p(41944);function T(){var M=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},P=M.connector,w=void 0===P?function(){return new A.x}:P,F=M.resetOnError,y=void 0===F||F,m=M.resetOnComplete,N=void 0===m||m,j=M.resetOnRefCountZero,se=void 0===j||j;return function(he){var ye,de,pe,G=0,L=!1,W=!1,ae=function(){de?.unsubscribe(),de=void 0},H=function(){ae(),ye=pe=void 0,L=W=!1},q=function(){var U=ye;H(),U?.unsubscribe()};return(0,b.e)(function(le,U){G++,!W&&!L&&ae();var ke=pe=pe??w();U.add(function(){0==--G&&!W&&!L&&(de=D(q,se))}),ke.subscribe(U),!ye&&G>0&&(ye=new I.Hp({next:function(cn){return ke.next(cn)},error:function(cn){W=!0,ae(),de=D(H,y,cn),ke.error(cn)},complete:function(){L=!0,ae(),de=D(H,N),ke.complete()}}),(0,O.Xf)(le).subscribe(ye))})(he)}}function D(M,P){if(!0!==P){if(!1!==P){for(var w=new I.Hp({next:function(){w.unsubscribe(),M()}}),F=arguments.length,y=new Array(F>2?F-2:0),m=2;m<F;m++)y[m-2]=arguments[m];return P.apply(void 0,y).subscribe(w)}}else M()}},32673:(ee,R,p)=>{p.d(R,{w:()=>b});var O=p(54987),A=p(41944),I=p(93945);function b(T,D){return(0,A.e)(function(M,P){var w=null,F=0,y=!1,m=function(){return y&&!w&&P.complete()};M.subscribe((0,I.x)(P,function(N){w?.unsubscribe();var j=0,se=F++;(0,O.Xf)(T(N,se)).subscribe(w=(0,I.x)(P,function(he){return P.next(D?D(N,he,se,j++):he)},function(){w=null,m()}))},function(){y=!0,m()}))})}},59295:(ee,R,p)=>{p.d(R,{q:()=>b});var O=p(20591),A=p(41944),I=p(93945);function b(T){return T<=0?function(){return O.E}:(0,A.e)(function(D,M){var P=0;D.subscribe((0,I.x)(M,function(w){++P<=T&&(M.next(w),T<=P&&M.complete())}))})}},77354:(ee,R,p)=>{p.d(R,{T:()=>b});var O=p(14423),A=p(41944),I=p(93945);function b(){var D=arguments.length>0&&void 0!==arguments[0]?arguments[0]:T;return(0,A.e)(function(M,P){var w=!1;M.subscribe((0,I.x)(P,function(F){w=!0,P.next(F)},function(){return w?P.complete():P.error(D())}))})}function T(){return new O.K}},14423:(ee,R,p)=>{p.d(R,{K:()=>A});var A=(0,p(27543).d)(function(I){return function(){I(this),this.name="EmptyError",this.message="no elements in sequence"}})},10420:(ee,R,p)=>{p.d(R,{_6:()=>D,jO:()=>b,yG:()=>T});var O=p(92971),A=p(59867);function I(M){return M[M.length-1]}function b(M){return(0,O.m)(I(M))?M.pop():void 0}function T(M){return(0,A.K)(I(M))?M.pop():void 0}function D(M,P){return"number"==typeof I(M)?M.pop():P}},1817:(ee,R,p)=>{function O(A,I,b){var T=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,D=arguments.length>4&&void 0!==arguments[4]&&arguments[4],M=I.schedule(function(){b(),D?A.add(this.schedule(null,T)):this.unsubscribe()},T);if(A.add(M),!D)return M}p.d(R,{f:()=>O})},59867:(ee,R,p)=>{p.d(R,{K:()=>A});var O=p(92971);function A(I){return I&&(0,O.m)(I.schedule)}},41944:(ee,R,p)=>{p.d(R,{A:()=>A,e:()=>I});var O=p(92971);function A(b){return(0,O.m)(b?.lift)}function I(b){return function(T){if(A(T))return T.lift(function(D){try{return b(D,this)}catch(M){this.error(M)}});throw new TypeError("Unable to lift unknown Observable type")}}},86839:(ee,R,p)=>{p.r(R),p.d(R,{ANIMATION_MODULE_TYPE:()=>OE,APP_BOOTSTRAP_LISTENER:()=>fl,APP_ID:()=>pd,APP_INITIALIZER:()=>pg,ApplicationInitStatus:()=>Ni,ApplicationModule:()=>zC,ApplicationRef:()=>ar,Attribute:()=>Qc,COMPILER_OPTIONS:()=>yg,CSP_NONCE:()=>AE,CUSTOM_ELEMENTS_SCHEMA:()=>ff,ChangeDetectionStrategy:()=>an,ChangeDetectorRef:()=>Kg,Compiler:()=>sC,CompilerFactory:()=>lC,Component:()=>JM,ComponentFactory:()=>ai,ComponentFactoryResolver:()=>Zr,ComponentRef:()=>Id,ContentChild:()=>Ky,ContentChildren:()=>zy,DEFAULT_CURRENCY_CODE:()=>iC,DebugElement:()=>ia,DebugEventListener:()=>PC,DebugNode:()=>vl,DefaultIterableDiffer:()=>Xg,DestroyRef:()=>wu,Directive:()=>vg,ENVIRONMENT_INITIALIZER:()=>Nr,ElementRef:()=>jr,EmbeddedViewRef:()=>AC,EnvironmentInjector:()=>ot,ErrorHandler:()=>jt,EventEmitter:()=>An,Host:()=>tf,HostBinding:()=>nC,HostListener:()=>tC,INJECTOR:()=>qo,Inject:()=>ef,InjectFlags:()=>z,Injectable:()=>aD,InjectionToken:()=>ue,Injector:()=>Qn,Input:()=>XM,IterableDiffers:()=>yl,KeyValueDiffers:()=>_l,LOCALE_ID:()=>ki,MissingTranslationStrategy:()=>Pn,ModuleWithComponentFactories:()=>mg,NO_ERRORS_SCHEMA:()=>df,NgModule:()=>rC,NgModuleFactory:()=>qp,NgModuleRef:()=>tr,NgProbeToken:()=>yC,NgZone:()=>ln,Optional:()=>La,Output:()=>eC,PACKAGE_ROOT_URL:()=>SE,PLATFORM_ID:()=>iu,PLATFORM_INITIALIZER:()=>hd,Pipe:()=>$M,PlatformRef:()=>dl,Query:()=>Dr,QueryList:()=>Sh,Renderer2:()=>GE,RendererFactory2:()=>Cd,RendererStyleFlags2:()=>Tn,Sanitizer:()=>Td,SecurityContext:()=>Te,Self:()=>nf,SimpleChange:()=>tc,SkipSelf:()=>Fa,TRANSLATIONS:()=>oC,TRANSLATIONS_FORMAT:()=>uC,TemplateRef:()=>ra,Testability:()=>mC,TestabilityRegistry:()=>Og,TransferState:()=>kr,Type:()=>Yc,VERSION:()=>wd,Version:()=>bd,ViewChild:()=>qy,ViewChildren:()=>Qy,ViewContainerRef:()=>Pi,ViewEncapsulation:()=>yn,ViewRef:()=>qg,asNativeElements:()=>RC,assertInInjectionContext:()=>Bd,assertPlatform:()=>Fg,computed:()=>ey,createComponent:()=>vT,createEnvironmentInjector:()=>$p,createNgModule:()=>Yp,createNgModuleRef:()=>JI,createPlatform:()=>kg,createPlatformFactory:()=>Lg,defineInjectable:()=>mm,destroyPlatform:()=>DC,effect:()=>lv,enableProdMode:()=>bC,forwardRef:()=>oa,getDebugNode:()=>ir,getModuleFactory:()=>wC,getNgModuleById:()=>SC,getPlatform:()=>xi,importProvidersFrom:()=>sd,inject:()=>ge,isDevMode:()=>TC,isSignal:()=>Qm,isStandalone:()=>ht,makeEnvironmentProviders:()=>Yo,makeStateKey:()=>PE,mergeApplicationConfig:()=>hT,platformCore:()=>GC,provideZoneChangeDetection:()=>Gg,reflectComponentType:()=>pT,resolveForwardRef:()=>Q,runInInjectionContext:()=>$E,setTestabilityGetter:()=>Ag,signal:()=>iy,untracked:()=>oy,\u0275ALLOW_MULTIPLE_PLATFORMS:()=>ll,\u0275ComponentFactory:()=>ai,\u0275Console:()=>hg,\u0275DEFAULT_LOCALE_ID:()=>ct,\u0275ENABLED_SSR_FEATURES:()=>gd,\u0275INJECTOR_SCOPE:()=>eu,\u0275IS_HYDRATION_DOM_REUSE_ENABLED:()=>Ur,\u0275InitialRenderPendingTasks:()=>gg,\u0275LContext:()=>_f,\u0275LifecycleHooksFeature:()=>pv,\u0275LocaleDataIndex:()=>V,\u0275NG_COMP_DEF:()=>dr,\u0275NG_DIR_DEF:()=>da,\u0275NG_ELEMENT_ID:()=>pt,\u0275NG_INJ_DEF:()=>ca,\u0275NG_MOD_DEF:()=>Gi,\u0275NG_PIPE_DEF:()=>va,\u0275NG_PROV_DEF:()=>sr,\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR:()=>ii,\u0275NO_CHANGE:()=>J,\u0275NgModuleFactory:()=>Oi,\u0275NoopNgZone:()=>Cg,\u0275ReflectionCapabilities:()=>Xc,\u0275Render3ComponentFactory:()=>Wt,\u0275Render3ComponentRef:()=>vv,\u0275Render3NgModuleRef:()=>Si,\u0275RuntimeError:()=>Z,\u0275TESTABILITY:()=>wg,\u0275TESTABILITY_GETTER:()=>Sg,\u0275ViewRef:()=>Vt,\u0275XSS_SECURITY_URL:()=>Hi,\u0275_sanitizeHtml:()=>Xf,\u0275_sanitizeUrl:()=>Ya,\u0275allowSanitizationBypassAndThrow:()=>xt,\u0275annotateForHydration:()=>qC,\u0275bypassSanitizationTrustHtml:()=>X_,\u0275bypassSanitizationTrustResourceUrl:()=>rE,\u0275bypassSanitizationTrustScript:()=>nE,\u0275bypassSanitizationTrustStyle:()=>eE,\u0275bypassSanitizationTrustUrl:()=>tE,\u0275clearResolutionOfComponentResourcesQueue:()=>sf,\u0275coerceToBoolean:()=>rT,\u0275compileComponent:()=>ng,\u0275compileDirective:()=>al,\u0275compileNgModule:()=>Yh,\u0275compileNgModuleDefs:()=>Jh,\u0275compileNgModuleFactory:()=>Pg,\u0275compilePipe:()=>fg,\u0275convertToBitFlags:()=>cr,\u0275createInjector:()=>hu,\u0275defaultIterableDiffers:()=>VC,\u0275defaultKeyValueDiffers:()=>WC,\u0275detectChanges:()=>cv,\u0275devModeEqual:()=>Dv,\u0275findLocaleData:()=>xs,\u0275flushModuleScopingQueueAsMuchAsPossible:()=>Qh,\u0275formatRuntimeError:()=>or,\u0275getDebugNode:()=>ir,\u0275getDirectives:()=>ah,\u0275getHostElement:()=>Ks,\u0275getInjectableDef:()=>ur,\u0275getLContext:()=>We,\u0275getLocaleCurrencyCode:()=>nI,\u0275getLocalePluralCase:()=>Ep,\u0275getSanitizationBypassType:()=>zf,\u0275getUnknownElementStrictMode:()=>d_,\u0275getUnknownPropertyStrictMode:()=>p_,\u0275global:()=>we,\u0275injectChangeDetectorRef:()=>Qg,\u0275internalCreateApplication:()=>EC,\u0275isBoundToModule:()=>Ng,\u0275isEnvironmentProviders:()=>ua,\u0275isInjectable:()=>ym,\u0275isNgModule:()=>$s,\u0275isPromise:()=>Ju,\u0275isSubscribable:()=>Nv,\u0275noSideEffects:()=>mn,\u0275patchComponentDefWithScope:()=>tl,\u0275publishDefaultGlobalUtils:()=>fC,\u0275publishGlobalUtil:()=>sn,\u0275registerLocaleData:()=>eI,\u0275resetCompiledComponents:()=>jM,\u0275resetJitOptions:()=>xM,\u0275resolveComponentResources:()=>of,\u0275setAllowDuplicateNgModuleIdsForTest:()=>c_,\u0275setAlternateWeakRefImpl:()=>$m,\u0275setClassMetadata:()=>oh,\u0275setCurrentInjector:()=>Rn,\u0275setDocument:()=>K_,\u0275setLocaleId:()=>Ls,\u0275setUnknownElementStrictMode:()=>f_,\u0275setUnknownPropertyStrictMode:()=>v_,\u0275store:()=>Sv,\u0275stringify:()=>ve,\u0275transitiveScopesFor:()=>ft,\u0275unregisterLocaleData:()=>tI,\u0275unwrapSafeValue:()=>Zn,\u0275withDomHydration:()=>tT,\u0275\u0275CopyDefinitionFeature:()=>gv,\u0275\u0275FactoryTarget:()=>Ae,\u0275\u0275HostDirectivesFeature:()=>mv,\u0275\u0275InheritDefinitionFeature:()=>Ou,\u0275\u0275NgOnChangesFeature:()=>no,\u0275\u0275ProvidersFeature:()=>Qp,\u0275\u0275StandaloneFeature:()=>Xp,\u0275\u0275advance:()=>Hd,\u0275\u0275attribute:()=>Ru,\u0275\u0275attributeInterpolate1:()=>Nu,\u0275\u0275attributeInterpolate2:()=>ku,\u0275\u0275attributeInterpolate3:()=>xu,\u0275\u0275attributeInterpolate4:()=>Lu,\u0275\u0275attributeInterpolate5:()=>Fu,\u0275\u0275attributeInterpolate6:()=>Zu,\u0275\u0275attributeInterpolate7:()=>ju,\u0275\u0275attributeInterpolate8:()=>Hu,\u0275\u0275attributeInterpolateV:()=>Uu,\u0275\u0275classMap:()=>Kv,\u0275\u0275classMapInterpolate1:()=>tp,\u0275\u0275classMapInterpolate2:()=>rp,\u0275\u0275classMapInterpolate3:()=>ap,\u0275\u0275classMapInterpolate4:()=>ip,\u0275\u0275classMapInterpolate5:()=>op,\u0275\u0275classMapInterpolate6:()=>up,\u0275\u0275classMapInterpolate7:()=>sp,\u0275\u0275classMapInterpolate8:()=>lp,\u0275\u0275classMapInterpolateV:()=>cp,\u0275\u0275classProp:()=>vs,\u0275\u0275contentQuery:()=>Uh,\u0275\u0275defineComponent:()=>jl,\u0275\u0275defineDirective:()=>Vl,\u0275\u0275defineInjectable:()=>Ce,\u0275\u0275defineInjector:()=>la,\u0275\u0275defineNgModule:()=>Ki,\u0275\u0275definePipe:()=>Wl,\u0275\u0275directiveInject:()=>Ut,\u0275\u0275disableBindings:()=>gc,\u0275\u0275element:()=>qu,\u0275\u0275elementContainer:()=>Yu,\u0275\u0275elementContainerEnd:()=>_i,\u0275\u0275elementContainerStart:()=>yi,\u0275\u0275elementEnd:()=>mi,\u0275\u0275elementStart:()=>gi,\u0275\u0275enableBindings:()=>hc,\u0275\u0275getCurrentView:()=>Rv,\u0275\u0275getInheritedFactory:()=>zc,\u0275\u0275hostProperty:()=>Ns,\u0275\u0275i18n:()=>Vp,\u0275\u0275i18nApply:()=>Gp,\u0275\u0275i18nAttributes:()=>Wp,\u0275\u0275i18nEnd:()=>Hs,\u0275\u0275i18nExp:()=>Us,\u0275\u0275i18nPostprocess:()=>zp,\u0275\u0275i18nStart:()=>js,\u0275\u0275inject:()=>Fe,\u0275\u0275injectAttribute:()=>yo,\u0275\u0275invalidFactory:()=>Kd,\u0275\u0275invalidFactoryDep:()=>Vi,\u0275\u0275listener:()=>$u,\u0275\u0275loadQuery:()=>Bh,\u0275\u0275namespaceHTML:()=>Pc,\u0275\u0275namespaceMathML:()=>Ac,\u0275\u0275namespaceSVG:()=>Oc,\u0275\u0275nextContext:()=>Fv,\u0275\u0275ngDeclareClassMetadata:()=>iT,\u0275\u0275ngDeclareComponent:()=>oT,\u0275\u0275ngDeclareDirective:()=>aT,\u0275\u0275ngDeclareFactory:()=>uT,\u0275\u0275ngDeclareInjectable:()=>lT,\u0275\u0275ngDeclareInjector:()=>cT,\u0275\u0275ngDeclareNgModule:()=>fT,\u0275\u0275ngDeclarePipe:()=>dT,\u0275\u0275pipe:()=>Ih,\u0275\u0275pipeBind1:()=>Mh,\u0275\u0275pipeBind2:()=>Ch,\u0275\u0275pipeBind3:()=>Th,\u0275\u0275pipeBind4:()=>bh,\u0275\u0275pipeBindV:()=>wh,\u0275\u0275projection:()=>jv,\u0275\u0275projectionDef:()=>Zv,\u0275\u0275property:()=>Ku,\u0275\u0275propertyInterpolate:()=>es,\u0275\u0275propertyInterpolate1:()=>Ei,\u0275\u0275propertyInterpolate2:()=>ns,\u0275\u0275propertyInterpolate3:()=>ts,\u0275\u0275propertyInterpolate4:()=>rs,\u0275\u0275propertyInterpolate5:()=>as,\u0275\u0275propertyInterpolate6:()=>is,\u0275\u0275propertyInterpolate7:()=>os,\u0275\u0275propertyInterpolate8:()=>us,\u0275\u0275propertyInterpolateV:()=>ss,\u0275\u0275pureFunction0:()=>uh,\u0275\u0275pureFunction1:()=>sh,\u0275\u0275pureFunction2:()=>lh,\u0275\u0275pureFunction3:()=>ch,\u0275\u0275pureFunction4:()=>fh,\u0275\u0275pureFunction5:()=>dh,\u0275\u0275pureFunction6:()=>vh,\u0275\u0275pureFunction7:()=>ph,\u0275\u0275pureFunction8:()=>hh,\u0275\u0275pureFunctionV:()=>gh,\u0275\u0275queryRefresh:()=>jh,\u0275\u0275reference:()=>Ov,\u0275\u0275registerNgModuleType:()=>Mo,\u0275\u0275resetView:()=>yc,\u0275\u0275resolveBody:()=>pu,\u0275\u0275resolveDocument:()=>Rd,\u0275\u0275resolveWindow:()=>Pd,\u0275\u0275restoreView:()=>mc,\u0275\u0275sanitizeHtml:()=>ed,\u0275\u0275sanitizeResourceUrl:()=>Qo,\u0275\u0275sanitizeScript:()=>td,\u0275\u0275sanitizeStyle:()=>nd,\u0275\u0275sanitizeUrl:()=>Ko,\u0275\u0275sanitizeUrlOrResourceUrl:()=>id,\u0275\u0275setComponentScope:()=>Hl,\u0275\u0275setNgModuleScope:()=>Ul,\u0275\u0275styleMap:()=>pn,\u0275\u0275styleMapInterpolate1:()=>fp,\u0275\u0275styleMapInterpolate2:()=>dp,\u0275\u0275styleMapInterpolate3:()=>vp,\u0275\u0275styleMapInterpolate4:()=>pp,\u0275\u0275styleMapInterpolate5:()=>hp,\u0275\u0275styleMapInterpolate6:()=>gp,\u0275\u0275styleMapInterpolate7:()=>mp,\u0275\u0275styleMapInterpolate8:()=>yp,\u0275\u0275styleMapInterpolateV:()=>_p,\u0275\u0275styleProp:()=>ds,\u0275\u0275stylePropInterpolate1:()=>Cs,\u0275\u0275stylePropInterpolate2:()=>Ts,\u0275\u0275stylePropInterpolate3:()=>bs,\u0275\u0275stylePropInterpolate4:()=>ws,\u0275\u0275stylePropInterpolate5:()=>Ss,\u0275\u0275stylePropInterpolate6:()=>Os,\u0275\u0275stylePropInterpolate7:()=>As,\u0275\u0275stylePropInterpolate8:()=>Ps,\u0275\u0275stylePropInterpolateV:()=>Rs,\u0275\u0275syntheticHostListener:()=>Xu,\u0275\u0275syntheticHostProperty:()=>ks,\u0275\u0275template:()=>Tv,\u0275\u0275templateRefExtractor:()=>zh,\u0275\u0275text:()=>ep,\u0275\u0275textInterpolate:()=>hs,\u0275\u0275textInterpolate1:()=>Mi,\u0275\u0275textInterpolate2:()=>gs,\u0275\u0275textInterpolate3:()=>ms,\u0275\u0275textInterpolate4:()=>ys,\u0275\u0275textInterpolate5:()=>_s,\u0275\u0275textInterpolate6:()=>Es,\u0275\u0275textInterpolate7:()=>Ds,\u0275\u0275textInterpolate8:()=>Is,\u0275\u0275textInterpolateV:()=>Ms,\u0275\u0275trustConstantHtml:()=>rd,\u0275\u0275trustConstantResourceUrl:()=>ad,\u0275\u0275validateIframeAttribute:()=>Bf,\u0275\u0275viewQuery:()=>Hh});var le,O=p(4089),A=p(20265),I=p(77797),b=p(60609),T=p(35488),D=p(86170),M=p(32162),P=p(32090),w=p(95106),F=p(35603),y=p(48047),m=p(78069),N=p(24582),j=p(28694),se=p(62902),he=p(17714),ye=p(50253),de=p(76317),pe=p(90833),G=p(36646),L=p(10745),W=p(81203),ae=p(32673),H=p(98977),q=p(80155);function U(e){for(var n in e)if(e[n]===U)return n;throw Error("Could not find renamed property on target object.")}function ke(e,n){for(var t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function ve(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ve).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return"".concat(e.overriddenName);if(e.name)return"".concat(e.name);var n=e.toString();if(null==n)return""+n;var t=n.indexOf("\n");return-1===t?n:n.substring(0,t)}function cn(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}var Zi=U({__forward_ref__:U});function oa(e){return e.__forward_ref__=oa,e.toString=function(){return ve(this())},e}function Q(e){return ji(e)?e():e}function ji(e){return"function"==typeof e&&e.hasOwnProperty(Zi)&&e.__forward_ref__===oa}function ua(e){return e&&!!e.\u0275providers}var Hi="https://g.co/ng/security#xss",Z=function(e){(0,N.Z)(t,e);var n=(0,j.Z)(t);function t(r,a){var i;return(0,m.Z)(this,t),(i=n.call(this,or(r,a))).code=r,i}return(0,y.Z)(t)}((0,se.Z)(Error));function or(e,n){var t="NG0".concat(Math.abs(e));return"".concat(t).concat(n?": "+n:"")}function Y(e){return"string"==typeof e?e:null==e?"":String(e)}function ce(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Y(e)}function sa(e,n){throw n&&" in ".concat(n),new Z(-201,!1)}function fe(e,n,t,r){throw new Error("ASSERTION ERROR: ".concat(e)+(null==r?"":" [Expected=> ".concat(t," ").concat(r," ").concat(n," <=Actual]")))}function Ce(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}var mm=Ce;function la(e){return{providers:e.providers||[],imports:e.imports||[]}}function ur(e){return Cl(e,sr)||Cl(e,bl)}function ym(e){return null!==ur(e)}function Cl(e,n){return e.hasOwnProperty(n)?e[n]:null}function Tl(e){return e&&(e.hasOwnProperty(ca)||e.hasOwnProperty(Em))?e[ca]:null}var Ui,sr=U({\u0275prov:U}),ca=U({\u0275inj:U}),bl=U({ngInjectableDef:U}),Em=U({ngInjectorDef:U}),z=function(){return(z=z||{})[z.Default=0]="Default",z[z.Host=1]="Host",z[z.Self=2]="Self",z[z.SkipSelf=4]="SkipSelf",z[z.Optional=8]="Optional",z}();function wl(){return Ui}function ze(e){var n=Ui;return Ui=e,n}function Sl(e,n,t){var r=ur(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:t&z.Optional?null:void 0!==n?n:void sa(ve(e),"Injector")}var we=function(){return typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self}(),lr={},Bi="__NG_DI_FLAG__",fa="ngTempTokenPath",Mm=/\n/gm,Ol="__source",vt=void 0;function Rn(e){var n=vt;return vt=e,n}function bm(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:z.Default;if(void 0===vt)throw new Z(-203,!1);return null===vt?Sl(e,void 0,n):vt.get(e,n&z.Optional?null:void 0,n)}function Fe(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:z.Default;return(wl()||bm)(Q(e),n)}function Vi(e){throw new Z(202,!1)}function ge(e){return Fe(e,cr(arguments.length>1&&void 0!==arguments[1]?arguments[1]:z.Default))}function cr(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Wi(e){for(var n=[],t=0;t<e.length;t++){var r=Q(e[t]);if(Array.isArray(r)){if(0===r.length)throw new Z(900,!1);for(var a=void 0,i=z.Default,o=0;o<r.length;o++){var u=r[o],s=wm(u);"number"==typeof s?-1===s?a=u.token:i|=s:a=u}n.push(Fe(a,i))}else n.push(Fe(r))}return n}function fr(e,n){return e[Bi]=n,e.prototype[Bi]=n,e}function wm(e){return e[Bi]}function mn(e){return{toString:e}.toString()}var an=function(){return(an=an||{})[an.OnPush=0]="OnPush",an[an.Default=1]="Default",an}(),yn=function(){return(e=yn||(yn={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",yn;var e}(),Nn={},ie=[],dr=U({\u0275cmp:U}),da=U({\u0275dir:U}),va=U({\u0275pipe:U}),Gi=U({\u0275mod:U}),kn=U({\u0275fac:U}),pt=U({__NG_ELEMENT_ID__:U}),Al=U({__NG_ENV_ID__:U});function Pl(e,n,t){for(var r=e.length;;){var a=e.indexOf(n,t);if(-1===a)return a;if(0===a||e.charCodeAt(a-1)<=32){var i=n.length;if(a+i===r||e.charCodeAt(a+i)<=32)return a}t=a+1}}function zi(e,n,t){for(var r=0;r<t.length;){var a=t[r];if("number"==typeof a){if(0!==a)break;r++;var i=t[r++],o=t[r++],u=t[r++];e.setAttribute(n,o,u,i)}else{var s=a,l=t[++r];Nl(s)?e.setProperty(n,s,l):e.setAttribute(n,s,l),r++}}return r}function Rl(e){return 3===e||4===e||6===e}function Nl(e){return 64===e.charCodeAt(0)}function vr(e,n){if(null!==n&&0!==n.length)if(null===e||0===e.length)e=n.slice();else for(var t=-1,r=0;r<n.length;r++){var a=n[r];"number"==typeof a?t=a:0===t||kl(e,t,a,null,-1===t||2===t?n[++r]:null)}return e}function kl(e,n,t,r,a){var i=0,o=e.length;if(-1===n)o=-1;else for(;i<e.length;){var u=e[i++];if("number"==typeof u){if(u===n){o=-1;break}if(u>n){o=i-1;break}}}for(;i<e.length;){var s=e[i];if("number"==typeof s)break;if(s===t){if(null===r)return void(null!==a&&(e[i+1]=a));if(r===e[i+1])return void(e[i+2]=a)}i++,null!==r&&i++,null!==a&&i++}-1!==o&&(e.splice(o,0,n),i=o+1),e.splice(i++,0,t),null!==r&&e.splice(i++,0,r),null!==a&&e.splice(i++,0,a)}var xl="ng-template";function Am(e,n,t){for(var r=0,a=!0;r<e.length;){var i=e[r++];if("string"==typeof i&&a){var o=e[r++];if(t&&"class"===i&&-1!==Pl(o.toLowerCase(),n,0))return!0}else{if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===n)return!0;return!1}"number"==typeof i&&(a=!1)}}return!1}function Ll(e){return 4===e.type&&e.value!==xl}function Pm(e,n,t){return n===(4!==e.type||t?e.value:xl)}function Rm(e,n,t){for(var r=4,a=e.attrs||[],i=function xm(e){for(var n=0;n<e.length;n++)if(Rl(e[n]))return n;return e.length}(a),o=!1,u=0;u<n.length;u++){var s=n[u];if("number"!=typeof s){if(!o)if(4&r){if(r=2|1&r,""!==s&&!Pm(e,s,t)||""===s&&1===n.length){if(fn(r))return!1;o=!0}}else{var l=8&r?s:n[++u];if(8&r&&null!==e.attrs){if(!Am(e.attrs,l,t)){if(fn(r))return!1;o=!0}continue}var f=Nm(8&r?"class":s,a,Ll(e),t);if(-1===f){if(fn(r))return!1;o=!0;continue}if(""!==l){var d;d=f>i?"":a[f+1].toLowerCase();var v=8&r?d:null;if(v&&-1!==Pl(v,l,0)||2&r&&l!==d){if(fn(r))return!1;o=!0}}}}else{if(!o&&!fn(r)&&!fn(s))return!1;if(o&&fn(s))continue;o=!1,r=s|1&r}}return fn(r)||o}function fn(e){return 0==(1&e)}function Nm(e,n,t,r){if(null===n)return-1;var a=0;if(r||!t){for(var i=!1;a<n.length;){var o=n[a];if(o===e)return a;if(3===o||6===o)i=!0;else{if(1===o||2===o){for(var u=n[++a];"string"==typeof u;)u=n[++a];continue}if(4===o)break;if(0===o){a+=4;continue}}a+=i?1:2}return-1}return function Lm(e,n){var t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){var r=e[t];if("number"==typeof r)return-1;if(r===n)return t;t++}return-1}(n,e)}function Fl(e,n){for(var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=0;r<n.length;r++)if(Rm(e,n[r],t))return!0;return!1}function Fm(e,n){e:for(var t=0;t<n.length;t++){var r=n[t];if(e.length===r.length){for(var a=0;a<e.length;a++)if(e[a]!==r[a])continue e;return!0}}return!1}function Zl(e,n){return e?":not("+n.trim()+")":n}function Zm(e){for(var n=e[0],t=1,r=2,a="",i=!1;t<e.length;){var o=e[t];if("string"==typeof o)if(2&r){var u=e[++t];a+="["+o+(u.length>0?'="'+u+'"':"")+"]"}else 8&r?a+="."+o:4&r&&(a+=" "+o);else""!==a&&!fn(o)&&(n+=Zl(i,a),a=""),r=o,i=i||!fn(r);t++}return""!==a&&(n+=Zl(i,a)),n}function jl(e){return mn(function(){var n=Gl(e),t=(0,F.Z)((0,F.Z)({},n),{},{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===an.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,data:e.data||{},encapsulation:e.encapsulation||yn.Emulated,styles:e.styles||ie,_:null,schemas:e.schemas||null,tView:null,id:""});zl(t);var r=e.dependencies;return t.directiveDefs=pa(r,!1),t.pipeDefs=pa(r,!0),t.id=function Wm(e){var a,n=0,t=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|"),r=(0,w.Z)(t);try{for(r.s();!(a=r.n()).done;){var i=a.value;n=Math.imul(31,n)+i.charCodeAt(0)<<0}}catch(s){r.e(s)}finally{r.f()}return"c"+(n+=2147483648)}(t),t})}function Hl(e,n,t){var r=e.\u0275cmp;r.directiveDefs=pa(n,!1),r.pipeDefs=pa(t,!0)}function Um(e){return oe(e)||Ze(e)}function Bm(e){return null!==e}function Ki(e){return mn(function(){return{type:e.type,bootstrap:e.bootstrap||ie,declarations:e.declarations||ie,imports:e.imports||ie,exports:e.exports||ie,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}})}function Ul(e,n){return mn(function(){var t=$e(e,!0);t.declarations=n.declarations||ie,t.imports=n.imports||ie,t.exports=n.exports||ie})}function Bl(e,n){if(null==e)return Nn;var t={};for(var r in e)if(e.hasOwnProperty(r)){var a=e[r],i=a;Array.isArray(a)&&(i=a[1],a=a[0]),t[a]=r,n&&(n[a]=i)}return t}function Vl(e){return mn(function(){var n=Gl(e);return zl(n),n})}function Wl(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function oe(e){return e[dr]||null}function Ze(e){return e[da]||null}function Ke(e){return e[va]||null}function ht(e){var n=oe(e)||Ze(e)||Ke(e);return null!==n&&n.standalone}function $e(e,n){var t=e[Gi]||null;if(!t&&!0===n)throw new Error("Type ".concat(ve(e)," does not have '\u0275mod' property."));return t}function Gl(e){var n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,exportAs:e.exportAs||null,standalone:!0===e.standalone,selectors:e.selectors||ie,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Bl(e.inputs,n),outputs:Bl(e.outputs)}}function zl(e){var n;null===(n=e.features)||void 0===n||n.forEach(function(t){return t(e)})}function pa(e,n){if(!e)return null;var t=n?Ke:Um;return function(){return("function"==typeof e?e():e).map(function(r){return t(r)}).filter(Bm)}}var Vm=new Map,Oe=0,x=1,X=2,_e=3,dn=4,Jn=5,je=6,gt=7,De=8,mt=9,$n=10,$=11,pr=12,Kl=13,yt=14,Se=15,hr=16,_t=17,_n=18,gr=19,Ql=20,Wn=21,xn=22,ha=23,ga=24,ne=25,Qi=1,ql=2,En=7,ma=8,Et=9,mr=10,xe=11;function Xe(e){return Array.isArray(e)&&"object"==typeof e[Qi]}function Qe(e){return Array.isArray(e)&&!0===e[Qi]}function qi(e){return 0!=(4&e.flags)}function Xn(e){return e.componentOffset>-1}function ya(e){return 1==(1&e.flags)}function vn(e){return!!e.template}function Yi(e){return 0!=(512&e[X])}function Gm(e){return 16==(16&e.type)}function et(e,n){return e.hasOwnProperty(kn)?e[kn]:null}var $l=Symbol("SIGNAL");function Qm(e){return"function"==typeof e&&void 0!==e[$l]}function Ji(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n[$l]=e,Object.assign(n,t)}function Xl(e,n){return(null===e||"object"!=typeof e)&&Object.is(e,n)}var Ym=null!==(le=we.WeakRef)&&void 0!==le?le:function(){function e(n){(0,m.Z)(this,e),this.ref=n}return(0,y.Z)(e,[{key:"deref",value:function(){return this.ref}}]),e}();function $m(e){}var Xm=0,Dn=null,_a=!1;function Ne(e){var n=Dn;return Dn=e,n}var Ea=function(){function e(){(0,m.Z)(this,e),this.id=Xm++,this.ref=function Jm(e){return new Ym(e)}(this),this.producers=new Map,this.consumers=new Map,this.trackingVersion=0,this.valueVersion=0}return(0,y.Z)(e,[{key:"consumerPollProducersForChange",value:function(){var r,t=(0,w.Z)(this.producers);try{for(t.s();!(r=t.n()).done;){var a=(0,P.Z)(r.value,2),i=a[0],o=a[1],u=o.producerNode.deref();if(void 0!==u&&o.atTrackingVersion===this.trackingVersion){if(u.producerPollStatus(o.seenValueVersion))return!0}else this.producers.delete(i),u?.consumers.delete(this.id)}}catch(s){t.e(s)}finally{t.f()}return!1}},{key:"producerMayHaveChanged",value:function(){var t=_a;_a=!0;try{var a,r=(0,w.Z)(this.consumers);try{for(r.s();!(a=r.n()).done;){var i=(0,P.Z)(a.value,2),o=i[0],u=i[1],s=u.consumerNode.deref();void 0!==s&&s.trackingVersion===u.atTrackingVersion?s.onConsumerDependencyMayHaveChanged():(this.consumers.delete(o),s?.producers.delete(this.id))}}catch(l){r.e(l)}finally{r.f()}}finally{_a=t}}},{key:"producerAccessed",value:function(){if(_a)throw new Error("");if(null!==Dn){var t=Dn.producers.get(this.id);void 0===t?(Dn.producers.set(this.id,t={consumerNode:Dn.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:Dn.trackingVersion}),this.consumers.set(Dn.id,t)):(t.seenValueVersion=this.valueVersion,t.atTrackingVersion=Dn.trackingVersion)}}},{key:"hasProducers",get:function(){return this.producers.size>0}},{key:"producerUpdatesAllowed",get:function(){var t;return!1!==(null===(t=Dn)||void 0===t?void 0:t.consumerAllowSignalWrites)}},{key:"producerPollStatus",value:function(t){return this.valueVersion!==t||(this.onProducerUpdateValueVersion(),this.valueVersion!==t)}}]),e}();function ey(e,n){var t,r=new ny(e,null!==(t=n?.equal)&&void 0!==t?t:Xl);return Ji(r,r.signal.bind(r))}var $i=Symbol("UNSET"),Xi=Symbol("COMPUTING"),Da=Symbol("ERRORED"),ny=function(e){(0,N.Z)(t,e);var n=(0,j.Z)(t);function t(r,a){var i;return(0,m.Z)(this,t),(i=n.call(this)).computation=r,i.equal=a,i.value=$i,i.error=null,i.stale=!0,i.consumerAllowSignalWrites=!1,i}return(0,y.Z)(t,[{key:"onConsumerDependencyMayHaveChanged",value:function(){this.stale||(this.stale=!0,this.producerMayHaveChanged())}},{key:"onProducerUpdateValueVersion",value:function(){if(this.stale){if(this.value!==$i&&this.value!==Xi&&!this.consumerPollProducersForChange())return void(this.stale=!1);this.recomputeValue()}}},{key:"recomputeValue",value:function(){if(this.value===Xi)throw new Error("Detected cycle in computations.");var a=this.value;this.value=Xi,this.trackingVersion++;var o,i=Ne(this);try{o=this.computation()}catch(u){o=Da,this.error=u}finally{Ne(i)}this.stale=!1,a!==$i&&a!==Da&&o!==Da&&this.equal(a,o)?this.value=a:(this.value=o,this.valueVersion++)}},{key:"signal",value:function(){if(this.onProducerUpdateValueVersion(),this.producerAccessed(),this.value===Da)throw this.error;return this.value}}]),t}(Ea),ec=function ty(){throw new Error};function eo(){ec()}var ay=function(e){(0,N.Z)(t,e);var n=(0,j.Z)(t);function t(r,a){var i;return(0,m.Z)(this,t),(i=n.call(this)).value=r,i.equal=a,i.consumerAllowSignalWrites=!1,i}return(0,y.Z)(t,[{key:"onConsumerDependencyMayHaveChanged",value:function(){}},{key:"onProducerUpdateValueVersion",value:function(){}},{key:"set",value:function(a){var i;this.producerUpdatesAllowed||eo(),this.equal(this.value,a)||(this.value=a,this.valueVersion++,this.producerMayHaveChanged(),null===(i=null)||void 0===i||i())}},{key:"update",value:function(a){this.producerUpdatesAllowed||eo(),this.set(a(this.value))}},{key:"mutate",value:function(a){var i;this.producerUpdatesAllowed||eo(),a(this.value),this.valueVersion++,this.producerMayHaveChanged(),null===(i=null)||void 0===i||i()}},{key:"asReadonly",value:function(){var a=this;return void 0===this.readonlySignal&&(this.readonlySignal=Ji(this,function(){return a.signal()})),this.readonlySignal}},{key:"signal",value:function(){return this.producerAccessed(),this.value}}]),t}(Ea);function iy(e,n){var t,r=new ay(e,null!==(t=n?.equal)&&void 0!==t?t:Xl);return Ji(r,r.signal.bind(r),{set:r.set.bind(r),update:r.update.bind(r),mutate:r.mutate.bind(r),asReadonly:r.asReadonly.bind(r)})}function oy(e){var n=Ne(null);try{return e()}finally{Ne(n)}}var nc=function(){},uy=function(e){(0,N.Z)(t,e);var n=(0,j.Z)(t);function t(r,a,i){var o;return(0,m.Z)(this,t),(o=n.call(this)).watch=r,o.schedule=a,o.dirty=!1,o.cleanupFn=nc,o.registerOnCleanup=function(u){o.cleanupFn=u},o.consumerAllowSignalWrites=i,o}return(0,y.Z)(t,[{key:"notify",value:function(){this.dirty||this.schedule(this),this.dirty=!0}},{key:"onConsumerDependencyMayHaveChanged",value:function(){this.notify()}},{key:"onProducerUpdateValueVersion",value:function(){}},{key:"run",value:function(){if(this.dirty=!1,0===this.trackingVersion||this.consumerPollProducersForChange()){var a=Ne(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=nc,this.watch(this.registerOnCleanup)}finally{Ne(a)}}}},{key:"cleanup",value:function(){this.cleanupFn()}}]),t}(Ea),tc=function(){function e(n,t,r){(0,m.Z)(this,e),this.previousValue=n,this.currentValue=t,this.firstChange=r}return(0,y.Z)(e,[{key:"isFirstChange",value:function(){return this.firstChange}}]),e}();function no(){return rc}function rc(e){return e.type.prototype.ngOnChanges&&(e.setInput=ly),sy}function sy(){var e=ic(this),n=e?.current;if(n){var t=e.previous;if(t===Nn)e.previous=n;else for(var r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function ly(e,n,t,r){var a=this.declaredInputs[t],i=ic(e)||function cy(e,n){return e[ac]=n}(e,{previous:Nn,current:null}),o=i.current||(i.current={}),u=i.previous,s=u[a];o[a]=new tc(s&&s.currentValue,n,u===Nn),e[r]=n}no.ngInherit=!0;var ac="__ngSimpleChanges__";function ic(e){return e[ac]||null}var to=null,fy=function(n){to=n},In=function(n,t,r){to?.(n,t,r)},oc="svg",uc="math";function me(e){for(;Array.isArray(e);)e=e[Oe];return e}function Ma(e,n){return me(n[e])}function qe(e,n){return me(n[e.index])}function sc(e,n){return e.data[n]}function Dt(e,n){return e[n]}function Ye(e,n){var t=n[e];return Xe(t)?t:t[Oe]}function Ca(e){return 128==(128&e[X])}function Gn(e,n){return null==n?null:e[n]}function lc(e){e[_t]=0}function gy(e){1024&e[X]||(e[X]|=1024,fc(e,1))}function cc(e){1024&e[X]&&(e[X]&=-1025,fc(e,-1))}function fc(e,n){var t=e[_e];if(null!==t){t[Jn]+=n;var r=t;for(t=t[_e];null!==t&&(1===n&&1===r[Jn]||-1===n&&0===r[Jn]);)t[Jn]+=n,r=t,t=t[_e]}}function dc(e,n){if(256==(256&e[X]))throw new Z(911,!1);null===e[Wn]&&(e[Wn]=[]),e[Wn].push(n)}var K={lFrame:bc(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function pc(){return K.bindingsEnabled}function It(){return null!==K.skipHydrationRootTNode}function hc(){K.bindingsEnabled=!0}function gc(){K.bindingsEnabled=!1}function C(){return K.lFrame.lView}function re(){return K.lFrame.tView}function mc(e){return K.lFrame.contextLView=e,e[De]}function yc(e){return K.lFrame.contextLView=null,e}function Le(){for(var e=_c();null!==e&&64===e.type;)e=e.parent;return e}function _c(){return K.lFrame.currentTNode}function yr(){var e=K.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function Mn(e,n){var t=K.lFrame;t.currentTNode=e,t.isParent=n}function ro(){return K.lFrame.isParent}function ao(){K.lFrame.isParent=!1}function Be(){var e=K.lFrame,n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Ln(){return K.lFrame.bindingIndex}function Dc(e){return K.lFrame.bindingIndex=e}function Mt(){return K.lFrame.bindingIndex++}function Fn(e){var n=K.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function Ic(e){K.lFrame.inI18n=e}function by(e,n){var t=K.lFrame;t.bindingIndex=t.bindingRootIndex=e,io(n)}function io(e){K.lFrame.currentDirectiveIndex=e}function oo(e){var n=K.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}function Mc(){return K.lFrame.currentQueryIndex}function uo(e){K.lFrame.currentQueryIndex=e}function Sy(e){var n=e[x];return 2===n.type?n.declTNode:1===n.type?e[je]:null}function Cc(e,n,t){if(t&z.SkipSelf){for(var r=n,a=e;!(null!==(r=r.parent)||t&z.Host||null===(r=Sy(a))||(a=a[yt],10&r.type)););if(null===r)return!1;n=r,e=a}var i=K.lFrame=Tc();return i.currentTNode=n,i.lView=e,!0}function so(e){var n=Tc(),t=e[x];K.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Tc(){var e=K.lFrame,n=null===e?null:e.child;return null===n?bc(e):n}function bc(e){var n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=n),n}function wc(){var e=K.lFrame;return K.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Sc=wc;function lo(){var e=wc();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Ve(){return K.lFrame.selectedIndex}function nt(e){K.lFrame.selectedIndex=e}function Ee(){var e=K.lFrame;return sc(e.tView,e.selectedIndex)}function Oc(){K.lFrame.currentNamespace=oc}function Ac(){K.lFrame.currentNamespace=uc}function Pc(){!function Py(){K.lFrame.currentNamespace=null}()}function Rc(){return K.lFrame.currentNamespace}var Nc=!0;function Ta(){return Nc}function zn(e){Nc=e}function ba(e,n){for(var t=n.directiveStart,r=n.directiveEnd;t<r;t++){var f,d,v,h,g,E,S,i=e.data[t].type.prototype,o=i.ngAfterContentInit,u=i.ngAfterContentChecked,s=i.ngAfterViewInit,l=i.ngAfterViewChecked,c=i.ngOnDestroy;o&&(null!==(f=e.contentHooks)&&void 0!==f?f:e.contentHooks=[]).push(-t,o),u&&((null!==(d=e.contentHooks)&&void 0!==d?d:e.contentHooks=[]).push(t,u),(null!==(v=e.contentCheckHooks)&&void 0!==v?v:e.contentCheckHooks=[]).push(t,u)),s&&(null!==(h=e.viewHooks)&&void 0!==h?h:e.viewHooks=[]).push(-t,s),l&&((null!==(g=e.viewHooks)&&void 0!==g?g:e.viewHooks=[]).push(t,l),(null!==(E=e.viewCheckHooks)&&void 0!==E?E:e.viewCheckHooks=[]).push(t,l)),null!=c&&(null!==(S=e.destroyHooks)&&void 0!==S?S:e.destroyHooks=[]).push(t,c)}}function wa(e,n,t){kc(e,n,3,t)}function Sa(e,n,t,r){(3&e[X])===t&&kc(e,n,t,r)}function co(e,n){var t=e[X];(3&t)===n&&(t&=4095,e[X]=t+=1)}function kc(e,n,t,r){for(var i=r??-1,o=n.length-1,u=0,s=void 0!==r?65535&e[_t]:0;s<o;s++)if("number"==typeof n[s+1]){if(u=n[s],null!=r&&u>=r)break}else n[s]<0&&(e[_t]+=65536),(u<i||-1==i)&&(Ny(e,t,n,s),e[_t]=(4294901760&e[_t])+s+2),s++}function xc(e,n){In(4,e,n);var t=Ne(null);try{n.call(e)}finally{Ne(t),In(5,e,n)}}function Ny(e,n,t,r){var a=t[r]<0,i=t[r+1],u=e[a?-t[r]:t[r]];a?e[X]>>12<e[_t]>>16&&(3&e[X])===n&&(e[X]+=4096,xc(u,i)):xc(u,i)}var Ct=-1,_r=(0,y.Z)(function e(n,t,r){(0,m.Z)(this,e),this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=r});function Lc(e){return e!==Ct}function Oa(e){return 32767&e}function Aa(e,n){for(var t=function Fy(e){return e>>16}(e),r=n;t>0;)r=r[yt],t--;return r}var vo=!0;function Pa(e){var n=vo;return vo=e,n}var Fc=255,Zc=5,jy=0,Cn={};function Ra(e,n){var t=jc(e,n);if(-1!==t)return t;var r=n[x];r.firstCreatePass&&(e.injectorIndex=n.length,po(r.data,e),po(n,null),po(r.blueprint,null));var a=ho(e,n),i=e.injectorIndex;if(Lc(a))for(var o=Oa(a),u=Aa(a,n),s=u[x].data,l=0;l<8;l++)n[i+l]=u[o+l]|s[o+l];return n[i+8]=a,i}function po(e,n){e.push(0,0,0,0,0,0,0,0,n)}function jc(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function ho(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var t=0,r=null,a=n;null!==a;){if(null===(r=Kc(a)))return Ct;if(t++,a=a[yt],-1!==r.injectorIndex)return r.injectorIndex|t<<16}return Ct}function go(e,n,t){!function Hy(e,n,t){var r;"string"==typeof t?r=t.charCodeAt(0)||0:t.hasOwnProperty(pt)&&(r=t[pt]),null==r&&(r=t[pt]=jy++);var a=r&Fc;n.data[e+(a>>Zc)]|=1<<a}(e,n,t)}function Hc(e,n,t){if(t&z.Optional||void 0!==e)return e;sa(0,"NodeInjector")}function Uc(e,n,t,r){if(t&z.Optional&&void 0===r&&(r=null),!(t&(z.Self|z.Host))){var a=e[mt],i=ze(void 0);try{return a?a.get(n,r,t&z.Optional):Sl(n,r,t&z.Optional)}finally{ze(i)}}return Hc(r,0,t)}function Bc(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:z.Default,a=arguments.length>4?arguments[4]:void 0;if(null!==e){if(2048&n[X]&&!(r&z.Self)){var i=function Gy(e,n,t,r,a){for(var i=e,o=n;null!==i&&null!==o&&2048&o[X]&&!(512&o[X]);){var u=Vc(i,o,t,r|z.Self,Cn);if(u!==Cn)return u;var s=i.parent;if(!s){var l=o[Ql];if(l){var c=l.get(t,Cn,r);if(c!==Cn)return c}s=Kc(o),o=o[yt]}i=s}return a}(e,n,t,r,Cn);if(i!==Cn)return i}var o=Vc(e,n,t,r,Cn);if(o!==Cn)return o}return Uc(n,t,r,a)}function Vc(e,n,t,r,a){var i=function Vy(e){if("string"==typeof e)return e.charCodeAt(0)||0;var n=e.hasOwnProperty(pt)?e[pt]:void 0;return"number"==typeof n?n>=0?n&Fc:Wy:n}(t);if("function"==typeof i){if(!Cc(n,e,r))return r&z.Host?Hc(a,0,r):Uc(n,t,r,a);try{var o=i(r);if(null!=o||r&z.Optional)return o;sa()}finally{Sc()}}else if("number"==typeof i){var u=null,s=jc(e,n),l=Ct,c=r&z.Host?n[Se][je]:null;for((-1===s||r&z.SkipSelf)&&((l=-1===s?ho(e,n):n[s+8])!==Ct&&Gc(r,!1)?(u=n[x],s=Oa(l),n=Aa(l,n)):s=-1);-1!==s;){var f=n[x];if(Wc(i,s,f.data)){var d=By(s,n,t,u,r,c);if(d!==Cn)return d}(l=n[s+8])!==Ct&&Gc(r,n[x].data[s+8]===c)&&Wc(i,s,n)?(u=f,s=Oa(l),n=Aa(l,n)):s=-1}}return a}function By(e,n,t,r,a,i){var o=n[x],u=o.data[e+8],c=Na(u,o,t,null==r?Xn(u)&&vo:r!=o&&0!=(3&u.type),a&z.Host&&i===u);return null!==c?tt(n,o,c,u):Cn}function Na(e,n,t,r,a){for(var i=e.providerIndexes,o=n.data,u=1048575&i,s=e.directiveStart,c=i>>20,d=a?u+c:e.directiveEnd,v=r?u:u+c;v<d;v++){var h=o[v];if(v<s&&t===h||v>=s&&h.type===t)return v}if(a){var g=o[s];if(g&&vn(g)&&g.type===t)return s}return null}function tt(e,n,t,r){var a=e[t],i=n.data;if(function ky(e){return e instanceof _r}(a)){var o=a;o.resolving&&function dm(e,n){var t=n?". Dependency path: ".concat(n.join(" > ")," > ").concat(e):"";throw new Z(-200,"Circular dependency in DI detected for ".concat(e).concat(t))}(ce(i[t]));var u=Pa(o.canSeeViewProviders);o.resolving=!0;var s=o.injectImpl?ze(o.injectImpl):null;Cc(e,r,z.Default);try{a=e[t]=o.factory(void 0,i,e,r),n.firstCreatePass&&t>=r.directiveStart&&function Ry(e,n,t){var c,f,d,r=n.type.prototype,i=r.ngOnInit,o=r.ngDoCheck;if(r.ngOnChanges){var u,s,l=rc(n);(null!==(u=t.preOrderHooks)&&void 0!==u?u:t.preOrderHooks=[]).push(e,l),(null!==(s=t.preOrderCheckHooks)&&void 0!==s?s:t.preOrderCheckHooks=[]).push(e,l)}i&&(null!==(c=t.preOrderHooks)&&void 0!==c?c:t.preOrderHooks=[]).push(0-e,i),o&&((null!==(f=t.preOrderHooks)&&void 0!==f?f:t.preOrderHooks=[]).push(e,o),(null!==(d=t.preOrderCheckHooks)&&void 0!==d?d:t.preOrderCheckHooks=[]).push(e,o))}(t,i[t],n)}finally{null!==s&&ze(s),Pa(u),o.resolving=!1,Sc()}}return a}function Wc(e,n,t){return!!(t[n+(e>>Zc)]&1<<e)}function Gc(e,n){return!(e&z.Self||e&z.Host&&n)}var Tt=function(){function e(n,t){(0,m.Z)(this,e),this._tNode=n,this._lView=t}return(0,y.Z)(e,[{key:"get",value:function(t,r,a){return Bc(this._tNode,this._lView,t,cr(a),r)}}]),e}();function Wy(){return new Tt(Le(),C())}function zc(e){return mn(function(){for(var n=e.prototype.constructor,t=n[kn]||mo(n),r=Object.prototype,a=Object.getPrototypeOf(e.prototype).constructor;a&&a!==r;){var i=a[kn]||mo(a);if(i&&i!==t)return i;a=Object.getPrototypeOf(a)}return function(o){return new o}})}function mo(e){return ji(e)?function(){var n=mo(Q(e));return n&&n()}:et(e)}function Kc(e){var n=e[x],t=n.type;return 2===t?n.declTNode:1===t?e[je]:null}function yo(e){return function Uy(e,n){if("class"===n)return e.classes;if("style"===n)return e.styles;var t=e.attrs;if(t)for(var r=t.length,a=0;a<r;){var i=t[a];if(Rl(i))break;if(0===i)a+=2;else if("number"==typeof i)for(a++;a<r&&"string"==typeof t[a];)a++;else{if(i===n)return t[a+1];a+=2}}return null}(Le(),e)}var bt="__annotations__",wt="__parameters__",St="__prop__metadata__";function Er(e,n,t,r,a){return mn(function(){var i=_o(n);function o(){for(var u=arguments.length,s=new Array(u),l=0;l<u;l++)s[l]=arguments[l];if(this instanceof o)return i.call.apply(i,[this].concat(s)),this;var c=(0,M.Z)(o,s);return function(d){return a&&a.apply(void 0,[d].concat(s)),(d.hasOwnProperty(bt)?d[bt]:Object.defineProperty(d,bt,{value:[]})[bt]).push(c),r&&r(d),d}}return t&&(o.prototype=Object.create(t.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function _o(e){return function(){if(e){var t=e.apply(void 0,arguments);for(var r in t)this[r]=t[r]}}}function Ot(e,n,t){return mn(function(){var r=_o(n);function a(){for(var i=arguments.length,o=new Array(i),u=0;u<i;u++)o[u]=arguments[u];if(this instanceof a)return r.apply(this,o),this;var s=(0,M.Z)(a,o);return l.annotation=s,l;function l(c,f,d){for(var v=c.hasOwnProperty(wt)?c[wt]:Object.defineProperty(c,wt,{value:[]})[wt];v.length<=d;)v.push(null);return(v[d]=v[d]||[]).push(s),c}}return t&&(a.prototype=Object.create(t.prototype)),a.prototype.ngMetadataName=e,a.annotationCls=a,a})}function Kn(e,n,t,r){return mn(function(){var a=_o(n);function i(){for(var o=arguments.length,u=new Array(o),s=0;s<o;s++)u[s]=arguments[s];if(this instanceof i)return a.apply(this,u),this;var l=(0,M.Z)(i,u);return function c(f,d){if(void 0===f)throw new Error("Standard Angular field decorators are not supported in JIT mode.");var v=f.constructor,h=v.hasOwnProperty(St)?v[St]:Object.defineProperty(v,St,{value:{}})[St];h[d]=h.hasOwnProperty(d)&&h[d]||[],h[d].unshift(l),r&&r.apply(void 0,[f,d].concat(u))}}return t&&(i.prototype=Object.create(t.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}var Qc=Ot("Attribute",function(e){return{attributeName:e,__NG_ELEMENT_ID__:function(){return yo(e)}}}),Dr=(0,y.Z)(function e(){(0,m.Z)(this,e)}),zy=Kn("ContentChildren",function(e){return(0,F.Z)({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})},Dr),Ky=Kn("ContentChild",function(e){return(0,F.Z)({selector:e,first:!0,isViewQuery:!1,descendants:!0},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})},Dr),Qy=Kn("ViewChildren",function(e){return(0,F.Z)({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:!0},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})},Dr),qy=Kn("ViewChild",function(e,n){return(0,F.Z)({selector:e,first:!0,isViewQuery:!0,descendants:!0},n)},Dr),Ae=function(){return(Ae=Ae||{})[Ae.Directive=0]="Directive",Ae[Ae.Component=1]="Component",Ae[Ae.Injectable=2]="Injectable",Ae[Ae.Pipe=3]="Pipe",Ae[Ae.NgModule=4]="NgModule",Ae}();function Pe(e){var n=we.ng;if(n&&n.\u0275compilerFacade)return n.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}var Yc=Function;function Ir(e){return"function"==typeof e}function on(e){return e.flat(Number.POSITIVE_INFINITY)}function Mr(e,n){e.forEach(function(t){return Array.isArray(t)?Mr(t,n):n(t)})}function Jc(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function ka(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Cr(e,n){for(var t=[],r=0;r<e;r++)t.push(n);return t}function en(e,n,t){var r=At(e,n);return r>=0?e[1|r]=t:function $y(e,n,t,r){var a=e.length;if(a==n)e.push(t,r);else if(1===a)e.push(r,e[0]),e[0]=t;else{for(a--,e.push(e[a-1],e[a]);a>n;)e[a]=e[a-2],a--;e[n]=t,e[n+1]=r}}(e,r=~r,n,t),r}function Eo(e,n){var t=At(e,n);if(t>=0)return e[1|t]}function At(e,n){return function $c(e,n,t){for(var r=0,a=e.length>>t;a!==r;){var i=r+(a-r>>1),o=e[i<<t];if(n===o)return i<<t;o>n?a=i:r=i+1}return~(a<<t)}(e,n,1)}var Xy=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,e_=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,n_=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,t_=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/,Xc=function(){function e(n){(0,m.Z)(this,e),this._reflect=n||we.Reflect}return(0,y.Z)(e,[{key:"factory",value:function(t){return function(){for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return(0,M.Z)(t,a)}}},{key:"_zipTypesAndAnnotations",value:function(t,r){var a;a=Cr(typeof t>"u"?r.length:t.length);for(var i=0;i<a.length;i++)a[i]=typeof t>"u"?[]:t[i]&&t[i]!=Object?[t[i]]:[],r&&null!=r[i]&&(a[i]=a[i].concat(r[i]));return a}},{key:"_ownParameters",value:function(t,r){if(function r_(e){return Xy.test(e)||t_.test(e)||e_.test(e)&&!n_.test(e)}(t.toString()))return null;if(t.parameters&&t.parameters!==r.parameters)return t.parameters;var i=t.ctorParameters;if(i&&i!==r.ctorParameters){var o="function"==typeof i?i():i,u=o.map(function(f){return f&&f.type}),s=o.map(function(f){return f&&Do(f.decorators)});return this._zipTypesAndAnnotations(u,s)}var l=t.hasOwnProperty(wt)&&t[wt],c=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return c||l?this._zipTypesAndAnnotations(c,l):Cr(t.length)}},{key:"parameters",value:function(t){if(!Ir(t))return[];var r=xa(t),a=this._ownParameters(t,r);return!a&&r!==Object&&(a=this.parameters(r)),a||[]}},{key:"_ownAnnotations",value:function(t,r){if(t.annotations&&t.annotations!==r.annotations){var a=t.annotations;return"function"==typeof a&&a.annotations&&(a=a.annotations),a}return t.decorators&&t.decorators!==r.decorators?Do(t.decorators):t.hasOwnProperty(bt)?t[bt]:null}},{key:"annotations",value:function(t){if(!Ir(t))return[];var r=xa(t),a=this._ownAnnotations(t,r)||[];return(r!==Object?this.annotations(r):[]).concat(a)}},{key:"_ownPropMetadata",value:function(t,r){if(t.propMetadata&&t.propMetadata!==r.propMetadata){var a=t.propMetadata;return"function"==typeof a&&a.propMetadata&&(a=a.propMetadata),a}if(t.propDecorators&&t.propDecorators!==r.propDecorators){var i=t.propDecorators,o={};return Object.keys(i).forEach(function(u){o[u]=Do(i[u])}),o}return t.hasOwnProperty(St)?t[St]:null}},{key:"propMetadata",value:function(t){if(!Ir(t))return{};var r=xa(t),a={};if(r!==Object){var i=this.propMetadata(r);Object.keys(i).forEach(function(u){a[u]=i[u]})}var o=this._ownPropMetadata(t,r);return o&&Object.keys(o).forEach(function(u){var s=[];a.hasOwnProperty(u)&&s.push.apply(s,(0,D.Z)(a[u])),s.push.apply(s,(0,D.Z)(o[u])),a[u]=s}),a}},{key:"ownPropMetadata",value:function(t){return Ir(t)&&this._ownPropMetadata(t,xa(t))||{}}},{key:"hasLifecycleHook",value:function(t,r){return t instanceof Yc&&r in t.prototype}}]),e}();function Do(e){return e?e.map(function(n){return(0,M.Z)(n.type.annotationCls,(0,D.Z)(n.args?n.args:[]))}):[]}function xa(e){var n=e.prototype?Object.getPrototypeOf(e.prototype):null;return(n?n.constructor:null)||Object}var ef=fr(Ot("Inject",function(e){return{token:e}}),-1),La=fr(Ot("Optional"),8),nf=fr(Ot("Self"),2),Fa=fr(Ot("SkipSelf"),4),tf=fr(Ot("Host"),1),rf=null;function Io(){return rf=rf||new Xc}function Za(e){return af(Io().parameters(e))}function af(e){return e.map(function(n){return function a_(e){var n={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(e)&&e.length>0)for(var t=0;t<e.length;t++){var r=e[t];if(void 0!==r){var a=Object.getPrototypeOf(r);if(r instanceof La||"Optional"===a.ngMetadataName)n.optional=!0;else if(r instanceof Fa||"SkipSelf"===a.ngMetadataName)n.skipSelf=!0;else if(r instanceof nf||"Self"===a.ngMetadataName)n.self=!0;else if(r instanceof tf||"Host"===a.ngMetadataName)n.host=!0;else if(r instanceof ef)n.token=r.token;else if(r instanceof Qc){if(void 0===r.attributeName)throw new Z(204,!1);n.attribute=r.attributeName}else n.token=r}}else n.token=void 0===e||Array.isArray(e)&&0===e.length?null:e;return n}(n)})}function of(e){var n=[],t=new Map;function r(a){var i=t.get(a);if(!i){var o=e(a);t.set(a,i=o.then(u_))}return i}return Pt.forEach(function(a,i){var o=[];a.templateUrl&&o.push(r(a.templateUrl).then(function(f){a.template=f}));var u=a.styleUrls,s=a.styles||(a.styles=[]),l=a.styles.length;u&&u.forEach(function(f,d){s.push(""),o.push(r(f).then(function(v){s[l+d]=v,u.splice(u.indexOf(f),1),0==u.length&&(a.styleUrls=void 0)}))});var c=Promise.all(o).then(function(){return function s_(e){Tr.delete(e)}(i)});n.push(c)}),sf(),Promise.all(n).then(function(){})}var Pt=new Map,Tr=new Set;function uf(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length)}function sf(){var e=Pt;return Pt=new Map,e}function u_(e){return"string"==typeof e?e:e.text()}var ja=new Map,lf=!0;function Mo(e,n){(function l_(e,n,t){if(n&&n!==t&&lf)throw new Error("Duplicate module registered for ".concat(e," - ").concat(ve(n)," vs ").concat(ve(n.name)))})(n,ja.get(n)||null,e),ja.set(n,e)}function cf(e){return ja.get(e)}function c_(e){lf=!e}var ff={name:"custom-elements"},df={name:"no-errors-schema"},Co=!1;function f_(e){Co=e}function d_(){return Co}var To=!1;function v_(e){To=e}function p_(){return To}var Rt="ngSkipHydration";function gf(e){var n=Rt.toLowerCase(),t=e.mergedAttrs;if(null===t)return!1;for(var r=0;r<t.length;r+=2){var a=t[r];if("number"==typeof a)return!1;if("string"==typeof a&&a.toLowerCase()===n)return!0}return!1}function Ua(e){return 128==(128&e.flags)}function Ba(e){for(var n=e.parent;n;){if(gf(n))return!0;n=n.parent}return!1}var Tn=function(){return(Tn=Tn||{})[Tn.Important=1]="Important",Tn[Tn.DashCase=2]="DashCase",Tn}(),g_=/^>|^->|<!--|-->|--!>|<!-$/g,m_=/(<|>)/,y_="\u200b$1\u200b";var wo=new Map,__=0;function yf(e){return wo.get(e)||null}var _f=function(){function e(n,t,r){(0,m.Z)(this,e),this.lViewId=n,this.nodeIndex=t,this.native=r}return(0,y.Z)(e,[{key:"lView",get:function(){return yf(this.lViewId)}}]),e}();function We(e){var n=br(e);if(n){if(Xe(n)){var r,t=n,a=void 0,i=void 0;if(If(e)){if(-1==(r=Cf(t,e)))throw new Error("The provided component was not found in the application");a=e}else if(function M_(e){return e&&e.constructor&&e.constructor.\u0275dir}(e)){if(r=function T_(e,n){for(var t=e[x].firstChild;t;){for(var a=t.directiveEnd,i=t.directiveStart;i<a;i++)if(e[i]===n)return t.index;t=C_(t)}return-1}(t,e),-1==r)throw new Error("The provided directive was not found in the application");i=Tf(r,t)}else if(-1==(r=Mf(t,e)))return null;var o=me(t[r]),u=br(o),s=u&&!Array.isArray(u)?u:So(t,r,o);if(a&&void 0===s.component&&(s.component=a,He(s.component,s)),i&&void 0===s.directives){s.directives=i;for(var l=0;l<i.length;l++)He(i[l],s)}He(s.native,s),n=s}}else for(var c=e,f=c;f=f.parentNode;){var d=br(f);if(d){var v=Array.isArray(d)?d:d.lView;if(!v)return null;var h=Mf(v,c);if(h>=0){var g=me(v[h]),E=So(v,h,g);He(g,E),n=E;break}}}return n||null}function So(e,n,t){return new _f(e[gr],n,t)}function Ef(e){var t,n=br(e);if(Xe(n)){var r=n,a=Cf(r,e),i=So(r,a,(t=Ye(a,r))[Oe]);i.component=e,He(e,i),He(i.native,i)}else t=Ye(n.nodeIndex,n.lView);return t}var Ao,Oo="__ngContext__";function He(e,n){Xe(n)?(e[Oo]=n[gr],function D_(e){wo.set(e[gr],e)}(n)):e[Oo]=n}function br(e){var n=e[Oo];return"number"==typeof n?yf(n):n||null}function Df(e){var n=br(e);return n?Xe(n)?n:n.lView:null}function If(e){return e&&e.constructor&&e.constructor.\u0275cmp}function Mf(e,n){for(var t=e[x],r=ne;r<t.bindingStartIndex;r++)if(me(e[r])===n)return r;return-1}function C_(e){if(e.child)return e.child;if(e.next)return e.next;for(;e.parent&&!e.parent.next;)e=e.parent;return e.parent&&e.parent.next}function Cf(e,n){var t=e[x].components;if(t)for(var r=0;r<t.length;r++){var a=t[r];if(Ye(a,e)[De]===n)return a}else if(Ye(ne,e)[De]===n)return ne;return-1}function Tf(e,n){var t=n[x].data[e];if(0===t.directiveStart)return ie;for(var r=[],a=t.directiveStart;a<t.directiveEnd;a++){var i=n[a];If(i)||r.push(i)}return r}function Po(e,n){return Ao(e,n)}function wr(e){var n=e[_e];return Qe(n)?n[_e]:n}function A_(e){var n=function O_(e){for(var n=Xe(e)?e:Df(e);n&&!(512&n[X]);)n=wr(n);return n}(e);return n[De]}function Ro(e){return bf(e[pr])}function No(e){return bf(e[dn])}function bf(e){for(;null!==e&&!Qe(e);)e=e[dn];return e}function Nt(e,n,t,r,a){if(null!=r){var i,o=!1;Qe(r)?i=r:Xe(r)&&(o=!0,r=r[Oe]);var u=me(r);0===e&&null!==t?null==a?Pf(n,t,u):rt(n,t,u,a||null,!0):1===e&&null!==t?rt(n,t,u,a||null,!0):2===e?Ka(n,u,o):3===e&&n.destroyNode(u),null!=i&&function B_(e,n,t,r,a){var i=t[En];i!==me(t)&&Nt(n,e,r,i,a);for(var u=xe;u<t.length;u++){var s=t[u];Or(s[x],s,e,n,r,i)}}(n,e,i,t,a)}}function Va(e,n){return e.createText(n)}function wf(e,n,t){e.setValue(n,t)}function ko(e,n){return e.createComment(function mf(e){return e.replace(g_,function(n){return n.replace(m_,y_)})}(n))}function Wa(e,n,t){return e.createElement(n,t)}function Sf(e,n){var t=e[Et],r=t.indexOf(n);cc(n),t.splice(r,1)}function xo(e,n){if(!(e.length<=xe)){var t=xe+n,r=e[t];if(r){var a=r[hr];null!==a&&a!==e&&Sf(a,r),n>0&&(e[t-1][dn]=r[dn]);var i=ka(e,xe+n);!function P_(e,n){Or(e,n,n[$],2,null,null),n[Oe]=null,n[je]=null}(r[x],r);var o=i[_n];null!==o&&o.detachView(i[x]),r[_e]=null,r[dn]=null,r[X]&=-129}return r}}function Of(e,n){if(!(256&n[X])){var t,r,a=n[$];null===(t=n[ha])||void 0===t||t.destroy(),null===(r=n[ga])||void 0===r||r.destroy(),a.destroyNode&&Or(e,n,a,3,null,null),function k_(e){var n=e[pr];if(!n)return Lo(e[x],e);for(;n;){var t=null;if(Xe(n))t=n[pr];else{var r=n[xe];r&&(t=r)}if(!t){for(;n&&!n[dn]&&n!==e;)Xe(n)&&Lo(n[x],n),n=n[_e];null===n&&(n=e),Xe(n)&&Lo(n[x],n),t=n&&n[dn]}n=t}}(n)}}function Lo(e,n){if(!(256&n[X])){n[X]&=-129,n[X]|=256,function Z_(e,n){var t;if(null!=e&&null!=(t=e.destroyHooks))for(var r=0;r<t.length;r+=2){var a=n[t[r]];if(!(a instanceof _r)){var i=t[r+1];if(Array.isArray(i))for(var o=0;o<i.length;o+=2){var u=a[i[o]],s=i[o+1];In(4,u,s);try{s.call(u)}finally{In(5,u,s)}}else{In(4,a,i);try{i.call(a)}finally{In(5,a,i)}}}}}(e,n),function F_(e,n){var t=e.cleanup,r=n[gt];if(null!==t)for(var a=0;a<t.length-1;a+=2)if("string"==typeof t[a]){var i=t[a+3];i>=0?r[i]():r[-i].unsubscribe(),a+=2}else t[a].call(r[t[a+1]]);null!==r&&(n[gt]=null);var u=n[Wn];if(null!==u){n[Wn]=null;for(var s=0;s<u.length;s++)(0,u[s])()}}(e,n),1===n[x].type&&n[$].destroy();var t=n[hr];if(null!==t&&Qe(n[_e])){t!==n[_e]&&Sf(t,n);var r=n[_n];null!==r&&r.detachView(e)}!function I_(e){wo.delete(e[gr])}(n)}}function Fo(e,n,t){return Af(e,n.parent,t)}function Af(e,n,t){for(var r=n;null!==r&&40&r.type;)r=(n=r).parent;if(null===r)return t[Oe];var i=r.componentOffset;if(i>-1){var o=e.data[r.directiveStart+i].encapsulation;if(o===yn.None||o===yn.Emulated)return null}return qe(r,t)}function rt(e,n,t,r,a){e.insertBefore(n,t,r,a)}function Pf(e,n,t){e.appendChild(n,t)}function Rf(e,n,t,r,a){null!==r?rt(e,n,t,r,a):Pf(e,n,t)}function Ga(e,n){return e.parentNode(n)}function Nf(e,n,t){return xf(e,n,t)}function kf(e,n,t){return 40&e.type?qe(e,t):null}var Zo,Qa,xf=kf;function Lf(e,n){xf=e,Zo=n}function za(e,n,t,r){var a=Fo(e,r,n),i=n[$],u=Nf(r.parent||n[je],r,n);if(null!=a)if(Array.isArray(t))for(var s=0;s<t.length;s++)Rf(i,a,t[s],u,!1);else Rf(i,a,t,u,!1);void 0!==Zo&&Zo(i,r,n,t,a)}function Sr(e,n){if(null!==n){var t=n.type;if(3&t)return qe(n,e);if(4&t)return jo(-1,e[n.index]);if(8&t){var r=n.child;if(null!==r)return Sr(e,r);var a=e[n.index];return Qe(a)?jo(-1,a):me(a)}if(32&t)return Po(n,e)()||me(e[n.index]);var u=Ff(e,n);return null!==u?Array.isArray(u)?u[0]:Sr(wr(e[Se]),u):Sr(e,n.next)}return null}function Ff(e,n){return null!==n?e[Se][je].projection[n.projection]:null}function jo(e,n){var t=xe+e+1;if(t<n.length){var r=n[t],a=r[x].firstChild;if(null!==a)return Sr(r,a)}return n[En]}function Ka(e,n,t){var r=Ga(e,n);r&&function j_(e,n,t,r){e.removeChild(n,t,r)}(e,r,n,t)}function Zf(e){e.textContent=""}function Ho(e,n,t,r,a,i,o){for(;null!=t;){var u=r[t.index],s=t.type;if(o&&0===n&&(u&&He(me(u),r),t.flags|=2),32!=(32&t.flags))if(8&s)Ho(e,n,t.child,r,a,i,!1),Nt(n,e,a,u,i);else if(32&s){for(var l=Po(t,r),c=void 0;c=l();)Nt(n,e,a,c,i);Nt(n,e,a,u,i)}else 16&s?jf(e,n,r,t,a,i):Nt(n,e,a,u,i);t=o?t.projectionNext:t.next}}function Or(e,n,t,r,a,i){Ho(t,r,e.firstChild,n,a,i,!1)}function jf(e,n,t,r,a,i){var o=t[Se],s=o[je].projection[r.projection];if(Array.isArray(s))for(var l=0;l<s.length;l++)Nt(n,e,a,s[l],i);else{var f=s,d=o[_e];Ua(r)&&(f.flags|=128),Ho(e,n,f,d,a,i,!0)}}function Hf(e,n,t){""===t?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function Uf(e,n,t){var r=t.mergedAttrs,a=t.classes,i=t.styles;null!==r&&zi(e,n,r),null!==a&&Hf(e,n,a),null!==i&&function W_(e,n,t){e.setAttribute(n,"style",t)}(e,n,i)}function Uo(){if(void 0===Qa&&(Qa=null,we.trustedTypes))try{Qa=we.trustedTypes.createPolicy("angular",{createHTML:function(n){return n},createScript:function(n){return n},createScriptURL:function(n){return n}})}catch{}return Qa}function kt(e){var n;return(null===(n=Uo())||void 0===n?void 0:n.createHTML(e))||e}function Bf(e,n,t){var r=C(),a=Ee(),i=qe(a,r);if(2===a.type&&"iframe"===n.toLowerCase()){var o=i;throw o.src="",o.srcdoc=kt(""),Ka(r[$],o),new Z(-910,!1)}return e}var qa,Bo=void 0;function K_(e){Bo=e}function Ar(){if(void 0!==Bo)return Bo;if(typeof document<"u")return document;throw new Z(210,!1)}function Vo(){if(void 0===qa&&(qa=null,we.trustedTypes))try{qa=we.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:function(n){return n},createScript:function(n){return n},createScriptURL:function(n){return n}})}catch{}return qa}function Vf(e){var n;return(null===(n=Vo())||void 0===n?void 0:n.createHTML(e))||e}function Wf(e){var n;return(null===(n=Vo())||void 0===n?void 0:n.createScript(e))||e}function Gf(e){var n;return(null===(n=Vo())||void 0===n?void 0:n.createScriptURL(e))||e}var at=function(){function e(n){(0,m.Z)(this,e),this.changingThisBreaksApplicationSecurity=n}return(0,y.Z)(e,[{key:"toString",value:function(){return"SafeValue must use [property]=binding: ".concat(this.changingThisBreaksApplicationSecurity)+" (see ".concat(Hi,")")}}]),e}(),Q_=function(e){(0,N.Z)(t,e);var n=(0,j.Z)(t);function t(){return(0,m.Z)(this,t),n.apply(this,arguments)}return(0,y.Z)(t,[{key:"getTypeName",value:function(){return"HTML"}}]),t}(at),q_=function(e){(0,N.Z)(t,e);var n=(0,j.Z)(t);function t(){return(0,m.Z)(this,t),n.apply(this,arguments)}return(0,y.Z)(t,[{key:"getTypeName",value:function(){return"Style"}}]),t}(at),Y_=function(e){(0,N.Z)(t,e);var n=(0,j.Z)(t);function t(){return(0,m.Z)(this,t),n.apply(this,arguments)}return(0,y.Z)(t,[{key:"getTypeName",value:function(){return"Script"}}]),t}(at),J_=function(e){(0,N.Z)(t,e);var n=(0,j.Z)(t);function t(){return(0,m.Z)(this,t),n.apply(this,arguments)}return(0,y.Z)(t,[{key:"getTypeName",value:function(){return"URL"}}]),t}(at),$_=function(e){(0,N.Z)(t,e);var n=(0,j.Z)(t);function t(){return(0,m.Z)(this,t),n.apply(this,arguments)}return(0,y.Z)(t,[{key:"getTypeName",value:function(){return"ResourceURL"}}]),t}(at);function Zn(e){return e instanceof at?e.changingThisBreaksApplicationSecurity:e}function xt(e,n){var t=zf(e);if(null!=t&&t!==n){if("ResourceURL"===t&&"URL"===n)return!0;throw new Error("Required a safe ".concat(n,", got a ").concat(t," (see ").concat(Hi,")"))}return t===n}function zf(e){return e instanceof at&&e.getTypeName()||null}function X_(e){return new Q_(e)}function eE(e){return new q_(e)}function nE(e){return new Y_(e)}function tE(e){return new J_(e)}function rE(e){return new $_(e)}function Kf(e){var n=new iE(e);return function oE(){try{return!!(new window.DOMParser).parseFromString(kt(""),"text/html")}catch{return!1}}()?new aE(n):n}var aE=function(){function e(n){(0,m.Z)(this,e),this.inertDocumentHelper=n}return(0,y.Z)(e,[{key:"getInertBodyElement",value:function(t){t="<body><remove></remove>"+t;try{var r=(new window.DOMParser).parseFromString(kt(t),"text/html").body;return null===r?this.inertDocumentHelper.getInertBodyElement(t):(r.removeChild(r.firstChild),r)}catch{return null}}}]),e}(),iE=function(){function e(n){(0,m.Z)(this,e),this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}return(0,y.Z)(e,[{key:"getInertBodyElement",value:function(t){var r=this.inertDocument.createElement("template");return r.innerHTML=kt(t),r}}]),e}(),uE=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ya(e){return(e=String(e)).match(uE)?e:"unsafe:"+e}function jn(e){var r,n={},t=(0,w.Z)(e.split(","));try{for(t.s();!(r=t.n()).done;)n[r.value]=!0}catch(i){t.e(i)}finally{t.f()}return n}function Pr(){for(var e={},n=arguments.length,t=new Array(n),r=0;r<n;r++)t[r]=arguments[r];for(var a=0,i=t;a<i.length;a++){var o=i[a];for(var u in o)o.hasOwnProperty(u)&&(e[u]=!0)}return e}var Ja,Qf=jn("area,br,col,hr,img,wbr"),qf=jn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Yf=jn("rp,rt"),sE=Pr(Yf,qf),Wo=Pr(Qf,Pr(qf,jn("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Pr(Yf,jn("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),sE),Go=jn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Jf=Pr(Go,jn("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),jn("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),vE=jn("script,style,template"),pE=function(){function e(){(0,m.Z)(this,e),this.sanitizedSomething=!1,this.buf=[]}return(0,y.Z)(e,[{key:"sanitizeChildren",value:function(t){for(var r=t.firstChild,a=!0;r;)if(r.nodeType===Node.ELEMENT_NODE?a=this.startElement(r):r.nodeType===Node.TEXT_NODE?this.chars(r.nodeValue):this.sanitizedSomething=!0,a&&r.firstChild)r=r.firstChild;else for(;r;){r.nodeType===Node.ELEMENT_NODE&&this.endElement(r);var i=this.checkClobberedElement(r,r.nextSibling);if(i){r=i;break}r=this.checkClobberedElement(r,r.parentNode)}return this.buf.join("")}},{key:"startElement",value:function(t){var r=t.nodeName.toLowerCase();if(!Wo.hasOwnProperty(r))return this.sanitizedSomething=!0,!vE.hasOwnProperty(r);this.buf.push("<"),this.buf.push(r);for(var a=t.attributes,i=0;i<a.length;i++){var o=a.item(i),u=o.name,s=u.toLowerCase();if(Jf.hasOwnProperty(s)){var l=o.value;Go[s]&&(l=Ya(l)),this.buf.push(" ",u,'="',$f(l),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0}},{key:"endElement",value:function(t){var r=t.nodeName.toLowerCase();Wo.hasOwnProperty(r)&&!Qf.hasOwnProperty(r)&&(this.buf.push("</"),this.buf.push(r),this.buf.push(">"))}},{key:"chars",value:function(t){this.buf.push($f(t))}},{key:"checkClobberedElement",value:function(t,r){if(r&&(t.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: ".concat(t.outerHTML));return r}}]),e}(),hE=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,gE=/([^\#-~ |!])/g;function $f(e){return e.replace(/&/g,"&").replace(hE,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(gE,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function Xf(e,n){var t=null;try{Ja=Ja||Kf(e);var r=n?String(n):"";t=Ja.getInertBodyElement(r);var a=5,i=r;do{if(0===a)throw new Error("Failed to sanitize html because the input is unstable");a--,r=i,i=t.innerHTML,t=Ja.getInertBodyElement(r)}while(r!==i);return kt((new pE).sanitizeChildren(zo(t)||t))}finally{if(t)for(var s=zo(t)||t;s.firstChild;)s.removeChild(s.firstChild)}}function zo(e){return"content"in e&&function mE(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Te=function(){return(Te=Te||{})[Te.NONE=0]="NONE",Te[Te.HTML=1]="HTML",Te[Te.STYLE=2]="STYLE",Te[Te.SCRIPT=3]="SCRIPT",Te[Te.URL=4]="URL",Te[Te.RESOURCE_URL=5]="RESOURCE_URL",Te}();function ed(e){var n=Rr();return n?Vf(n.sanitize(Te.HTML,e)||""):xt(e,"HTML")?Vf(Zn(e)):Xf(Ar(),Y(e))}function nd(e){var n=Rr();return n?n.sanitize(Te.STYLE,e)||"":xt(e,"Style")?Zn(e):Y(e)}function Ko(e){var n=Rr();return n?n.sanitize(Te.URL,e)||"":xt(e,"URL")?Zn(e):Ya(Y(e))}function Qo(e){var n=Rr();if(n)return Gf(n.sanitize(Te.RESOURCE_URL,e)||"");if(xt(e,"ResourceURL"))return Gf(Zn(e));throw new Z(904,!1)}function td(e){var n=Rr();if(n)return Wf(n.sanitize(Te.SCRIPT,e)||"");if(xt(e,"Script"))return Wf(Zn(e));throw new Z(905,!1)}function rd(e){return kt(e[0])}function ad(e){return function z_(e){var n;return(null===(n=Uo())||void 0===n?void 0:n.createScriptURL(e))||e}(e[0])}function id(e,n,t){return function yE(e,n){return"src"===n&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===n&&("base"===e||"link"===e)?Qo:Ko}(n,t)(e)}function Rr(){var e=C();return e&&e[$n].sanitizer}var ue=function(){function e(n,t){(0,m.Z)(this,e),this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=Ce({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}return(0,y.Z)(e,[{key:"multi",get:function(){return this}},{key:"toString",value:function(){return"InjectionToken ".concat(this._desc)}}]),e}(),Nr=new ue("ENVIRONMENT_INITIALIZER"),qo=new ue("INJECTOR",-1),od=new ue("INJECTOR_DEF_TYPES"),ud=function(){function e(){(0,m.Z)(this,e)}return(0,y.Z)(e,[{key:"get",value:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:lr;if(r===lr){var a=new Error("NullInjectorError: No provider for ".concat(ve(t),"!"));throw a.name="NullInjectorError",a}return r}}]),e}();function Yo(e){return{\u0275providers:e}}function sd(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return{\u0275providers:ld(!0,n),\u0275fromNgModule:!0}}function ld(e){for(var r,n=[],t=new Set,a=arguments.length,i=new Array(a>1?a-1:0),o=1;o<a;o++)i[o-1]=arguments[o];return Mr(i,function(u){var l=u;Jo(l,n,[],t)&&(r||(r=[]),r.push(l))}),void 0!==r&&cd(r,n),n}function cd(e,n){for(var r=0;r<e.length;r++)$o(e[r].providers,function(s){n.push(s)})}function Jo(e,n,t,r){if(!(e=Q(e)))return!1;var a=null,i=Tl(e),o=!i&&oe(e);if(i||o){if(o&&!o.standalone)return!1;a=e}else{var u=e.ngModule;if(!(i=Tl(u)))return!1;a=u}var c=r.has(a);if(o){if(c)return!1;if(r.add(a),o.dependencies){var v,f="function"==typeof o.dependencies?o.dependencies():o.dependencies,d=(0,w.Z)(f);try{for(d.s();!(v=d.n()).done;)Jo(v.value,n,t,r)}catch(k){d.e(k)}finally{d.f()}}}else{if(!i)return!1;if(null!=i.imports&&!c){var g;r.add(a);try{Mr(i.imports,function(k){Jo(k,n,t,r)&&(g||(g=[]),g.push(k))})}finally{}void 0!==g&&cd(g,n)}if(!c){var E=et(a)||function(){return new a};n.push({provide:a,useFactory:E,deps:ie},{provide:od,useValue:a,multi:!0},{provide:Nr,useValue:function(){return Fe(a)},multi:!0})}var S=i.providers;null==S||c||$o(S,function(k){n.push(k)})}return a!==e&&void 0!==e.providers}function $o(e,n){var r,t=(0,w.Z)(e);try{for(t.s();!(r=t.n()).done;){var a=r.value;ua(a)&&(a=a.\u0275providers),Array.isArray(a)?$o(a,n):n(a)}}catch(i){t.e(i)}finally{t.f()}}var _E=U({provide:String,useValue:U});function Xo(e){return null!==e&&"object"==typeof e&&_E in e}function it(e){return"function"==typeof e}var eu=new ue("Set Injector scope."),$a={},DE={},nu=void 0;function Xa(){return void 0===nu&&(nu=new ud),nu}var ot=(0,y.Z)(function e(){(0,m.Z)(this,e)}),tu=function(e){(0,N.Z)(t,e);var n=(0,j.Z)(t);function t(r,a,i,o){var u;(0,m.Z)(this,t),(u=n.call(this)).parent=a,u.source=i,u.scopes=o,u.records=new Map,u._ngOnDestroyHooks=new Set,u._onDestroyHooks=[],u._destroyed=!1,au(r,function(l){return u.processProvider(l)}),u.records.set(qo,Lt(void 0,(0,T.Z)(u))),o.has("environment")&&u.records.set(ot,Lt(void 0,(0,T.Z)(u)));var s=u.records.get(eu);return null!=s&&"string"==typeof s.value&&u.scopes.add(s.value),u.injectorDefTypes=new Set(u.get(od.multi,ie,z.Self)),u}return(0,y.Z)(t,[{key:"destroyed",get:function(){return this._destroyed}},{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{var i,a=(0,w.Z)(this._ngOnDestroyHooks);try{for(a.s();!(i=a.n()).done;)i.value.ngOnDestroy()}catch(f){a.e(f)}finally{a.f()}var u=this._onDestroyHooks;this._onDestroyHooks=[];var l,s=(0,w.Z)(u);try{for(s.s();!(l=s.n()).done;)(0,l.value)()}catch(f){s.e(f)}finally{s.f()}}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}},{key:"onDestroy",value:function(a){var i=this;return this.assertNotDestroyed(),this._onDestroyHooks.push(a),function(){return i.removeOnDestroy(a)}}},{key:"runInContext",value:function(a){this.assertNotDestroyed();var i=Rn(this),o=ze(void 0);try{return a()}finally{Rn(i),ze(o)}}},{key:"get",value:function(a){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:lr,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:z.Default;if(this.assertNotDestroyed(),a.hasOwnProperty(Al))return a[Al](this);o=cr(o);var u=Rn(this),s=ze(void 0);try{if(!(o&z.SkipSelf)){var l=this.records.get(a);if(void 0===l){var c=function bE(e){return"function"==typeof e||"object"==typeof e&&e instanceof ue}(a)&&ur(a);l=c&&this.injectableDefInScope(c)?Lt(ru(a),$a):null,this.records.set(a,l)}if(null!=l)return this.hydrate(a,l)}return(o&z.Self?Xa():this.parent).get(a,i=o&z.Optional&&i===lr?null:i)}catch(v){if("NullInjectorError"===v.name){if((v[fa]=v[fa]||[]).unshift(ve(a)),u)throw v;return function Sm(e,n,t,r){var a=e[fa];throw n[Ol]&&a.unshift(n[Ol]),e.message=function Om(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;var a=ve(n);if(Array.isArray(n))a=n.map(ve).join(" -> ");else if("object"==typeof n){var i=[];for(var o in n)if(n.hasOwnProperty(o)){var u=n[o];i.push(o+":"+("string"==typeof u?JSON.stringify(u):ve(u)))}a="{".concat(i.join(", "),"}")}return"".concat(t).concat(r?"("+r+")":"","[").concat(a,"]: ").concat(e.replace(Mm,"\n "))}("\n"+e.message,a,t,r),e.ngTokenPath=a,e[fa]=null,e}(v,a,"R3InjectorError",this.source)}throw v}finally{ze(s),Rn(u)}}},{key:"resolveInjectorInitializers",value:function(){var a=Rn(this),i=ze(void 0);try{var s,o=this.get(Nr.multi,ie,z.Self),u=(0,w.Z)(o);try{for(u.s();!(s=u.n()).done;)(0,s.value)()}catch(c){u.e(c)}finally{u.f()}}finally{Rn(a),ze(i)}}},{key:"toString",value:function(){var u,a=[],o=(0,w.Z)(this.records.keys());try{for(o.s();!(u=o.n()).done;)a.push(ve(u.value))}catch(l){o.e(l)}finally{o.f()}return"R3Injector[".concat(a.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Z(205,!1)}},{key:"processProvider",value:function(a){var i=it(a=Q(a))?a:Q(a&&a.provide),o=function ME(e){return Xo(e)?Lt(void 0,e.useValue):Lt(vd(e),$a)}(a);if(it(a)||!0!==a.multi)this.records.get(i);else{var u=this.records.get(i);u||((u=Lt(void 0,$a,!0)).factory=function(){return Wi(u.multi)},this.records.set(i,u)),i=a,u.multi.push(a)}this.records.set(i,o)}},{key:"hydrate",value:function(a,i){return i.value===$a&&(i.value=DE,i.value=i.factory()),"object"==typeof i.value&&i.value&&function TE(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}},{key:"injectableDefInScope",value:function(a){if(!a.providedIn)return!1;var i=Q(a.providedIn);return"string"==typeof i?"any"===i||this.scopes.has(i):this.injectorDefTypes.has(i)}},{key:"removeOnDestroy",value:function(a){var i=this._onDestroyHooks.indexOf(a);-1!==i&&this._onDestroyHooks.splice(i,1)}}]),t}(ot);function ru(e){var n=ur(e),t=null!==n?n.factory:et(e);if(null!==t)return t;if(e instanceof ue)throw new Z(204,!1);if(e instanceof Function)return function IE(e){var n=e.length;if(n>0)throw Cr(n,"?"),new Z(204,!1);var r=function _m(e){return e&&(e[sr]||e[bl])||null}(e);return null!==r?function(){return r.factory(e)}:function(){return new e}}(e);throw new Z(204,!1)}function vd(e,n,t){var r=void 0;if(it(e)){var a=Q(e);return et(a)||ru(a)}if(Xo(e))r=function(){return Q(e.useValue)};else if(function dd(e){return!(!e||!e.useFactory)}(e))r=function(){return e.useFactory.apply(e,(0,D.Z)(Wi(e.deps||[])))};else if(function fd(e){return!(!e||!e.useExisting)}(e))r=function(){return Fe(Q(e.useExisting))};else{var i=Q(e&&(e.useClass||e.provide));if(!function CE(e){return!!e.deps}(e))return et(i)||ru(i);r=function(){return(0,M.Z)(i,(0,D.Z)(Wi(e.deps)))}}return r}function Lt(e,n){return{factory:e,value:n,multi:arguments.length>2&&void 0!==arguments[2]&&arguments[2]?[]:void 0}}function au(e,n){var r,t=(0,w.Z)(e);try{for(t.s();!(r=t.n()).done;){var a=r.value;Array.isArray(a)?au(a,n):a&&ua(a)?au(a.\u0275providers,n):n(a)}}catch(i){t.e(i)}finally{t.f()}}var pd=new ue("AppId",{providedIn:"root",factory:function(){return wE}}),wE="ng",hd=new ue("Platform Initializer"),iu=new ue("Platform ID",{providedIn:"platform",factory:function(){return"unknown"}}),SE=new ue("Application Packages Root URL"),OE=new ue("AnimationModuleType"),AE=new ue("CSP nonce",{providedIn:"root",factory:function(){var n,t;return(null===(n=Ar().body)||void 0===n||null===(t=n.querySelector("[ngCspNonce]"))||void 0===t?void 0:t.getAttribute("ngCspNonce"))||null}}),gd=new ue("",{providedIn:"root",factory:function(){return new Set}});function PE(e){return e}function RE(){var e=new kr;return"browser"===ge(iu)&&(e.store=function NE(e,n){var t=e.getElementById(n+"-state");if(null!=t&&t.textContent)try{return JSON.parse(t.textContent)}catch(r){console.warn("Exception while restoring TransferState for app "+n,r)}return{}}(Ar(),ge(pd))),e}var kr=function(){var e=function(){function n(){(0,m.Z)(this,n),this.store={},this.onSerializeCallbacks={}}return(0,y.Z)(n,[{key:"get",value:function(r,a){return void 0!==this.store[r]?this.store[r]:a}},{key:"set",value:function(r,a){this.store[r]=a}},{key:"remove",value:function(r){delete this.store[r]}},{key:"hasKey",value:function(r){return this.store.hasOwnProperty(r)}},{key:"isEmpty",get:function(){return 0===Object.keys(this.store).length}},{key:"onSerialize",value:function(r,a){this.onSerializeCallbacks[r]=a}},{key:"toJson",value:function(){for(var r in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(r))try{this.store[r]=this.onSerializeCallbacks[r]()}catch(a){console.warn("Exception in onSerialize callback: ",a)}return JSON.stringify(this.store).replace(/</g,"\\u003C")}}]),n}();return e.\u0275prov=Ce({token:e,providedIn:"root",factory:RE}),e}(),ou="h",uu="b",bn=function(){return(bn=bn||{}).FirstChild="f",bn.NextSibling="n",bn}(),ei="e",ni="t",Ft="c",xr="x",Lr="r",md="i",ti="n",Fr="d",su="__\u0275nghData__",lu="ngh",yd=function(n,t){return null};function xE(e,n){var t,r=e.getAttribute(lu);if(null==r)return null;var a={};if(""!==r){var i=n.get(kr,null,{optional:!0});null!==i&&(a=i.get(su,[])[Number(r)])}var u={data:a,firstChild:null!==(t=e.firstChild)&&void 0!==t?t:null};return e.removeAttribute(lu),u}function _d(e,n){return yd(e,n)}function Ed(e){var n=e._lView;return 2===n[x].type?null:(Yi(n)&&(n=n[ne]),Qe(n)&&(n=n[Oe]),n)}function cu(e,n,t){var r;null!==(r=e.segmentHeads)&&void 0!==r||(e.segmentHeads={}),e.segmentHeads[n]=t}function fu(e,n){var t,r;return null!==(t=null===(r=e.segmentHeads)||void 0===r?void 0:r[n])&&void 0!==t?t:null}function Dd(e,n){var t,r;return null!==(t=null===(r=e.data[Ft])||void 0===r?void 0:r[n])&&void 0!==t?t:null}function du(e,n){var t,o,r=null!==(t=Dd(e,n))&&void 0!==t?t:[],a=0,i=(0,w.Z)(r);try{for(i.s();!(o=i.n()).done;){var u,s=o.value;a+=s[Lr]*(null!==(u=s[xr])&&void 0!==u?u:1)}}catch(l){i.e(l)}finally{i.f()}return a}function ri(e,n){var t;if(typeof e.disconnectedNodes>"u"){var r=e.data[Fr];e.disconnectedNodes=r?new Set(r):null}return!(null===(t=e.disconnectedNodes)||void 0===t||!t.has(n))}var Id=(0,y.Z)(function e(){(0,m.Z)(this,e)}),ai=(0,y.Z)(function e(){(0,m.Z)(this,e)}),BE=function(){function e(){(0,m.Z)(this,e)}return(0,y.Z)(e,[{key:"resolveComponentFactory",value:function(t){throw function UE(e){var n=Error("No component factory found for ".concat(ve(e),"."));return n.ngComponent=e,n}(t)}}]),e}(),Zr=function(){var e=(0,y.Z)(function n(){(0,m.Z)(this,n)});return e.NULL=new BE,e}();function VE(){return Zt(Le(),C())}function Zt(e,n){return new jr(qe(e,n))}var jr=function(){var e=(0,y.Z)(function n(t){(0,m.Z)(this,n),this.nativeElement=t});return e.__NG_ELEMENT_ID__=VE,e}();function WE(e){return e instanceof jr?e.nativeElement:e}var Cd=(0,y.Z)(function e(){(0,m.Z)(this,e)}),GE=function(){var e=(0,y.Z)(function n(){(0,m.Z)(this,n)});return e.__NG_ELEMENT_ID__=function(){return function zE(){var e=C(),t=Ye(Le().index,e);return(Xe(t)?t:e)[$]}()},e}(),Td=function(){var e=(0,y.Z)(function n(){(0,m.Z)(this,n)});return e.\u0275prov=Ce({token:e,providedIn:"root",factory:function(){return null}}),e}(),bd=(0,y.Z)(function e(n){(0,m.Z)(this,e),this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}),wd=new bd("16.0.5"),ii={};function Hr(e){for(;e;){e[X]|=64;var n=wr(e);if(Yi(e)&&!n)return e;e=n}return null}function vu(e){return e.ngOriginalError}var jt=function(){function e(){(0,m.Z)(this,e),this._console=console}return(0,y.Z)(e,[{key:"handleError",value:function(t){var r=this._findOriginalError(t);this._console.error("ERROR",t),r&&this._console.error("ORIGINAL ERROR",r)}},{key:"_findOriginalError",value:function(t){for(var r=t&&vu(t);r&&vu(r);)r=vu(r);return r||null}}]),e}(),Ur=new ue(""),Ad=new ue("",{providedIn:"root",factory:function(){return!1}});function Pd(e){return e.ownerDocument.defaultView}function Rd(e){return e.ownerDocument}function pu(e){return e.ownerDocument.body}function Hn(e){return e instanceof Function?e():e}var Ld=function(e){(0,N.Z)(t,e);var n=(0,j.Z)(t);function t(){var r;return(0,m.Z)(this,t),(r=n.apply(this,arguments)).consumerAllowSignalWrites=!1,r._lView=null,r}return(0,y.Z)(t,[{key:"lView",set:function(a){this._lView=a}},{key:"onConsumerDependencyMayHaveChanged",value:function(){Hr(this._lView)}},{key:"onProducerUpdateValueVersion",value:function(){}},{key:"hasReadASignal",get:function(){return this.hasProducers}},{key:"runInContext",value:function(a,i,o){var u=Ne(this);this.trackingVersion++;try{a(i,o)}finally{Ne(u)}}},{key:"destroy",value:function(){this.trackingVersion++}}]),t}(Ea),Br=null;function Fd(){var e;return null!==(e=Br)&&void 0!==e||(Br=new Ld),Br}function Zd(e,n){var t;return null!==(t=e[n])&&void 0!==t?t:Fd()}function jd(e,n){var t=Fd();t.hasReadASignal&&(e[n]=Br,t.lView=e,Br=new Ld)}var J={};function Hd(e){Ud(re(),C(),Ve()+e,!1)}function Ud(e,n,t,r){if(!r)if(3==(3&n[X])){var i=e.preOrderCheckHooks;null!==i&&wa(n,i,t)}else{var o=e.preOrderHooks;null!==o&&Sa(n,o,0,t)}nt(t)}function $E(e,n){e instanceof tu&&e.assertNotDestroyed();var t=Rn(e),r=ze(void 0);try{return n()}finally{Rn(t),ze(r)}}function Bd(e){if(!wl()&&!function Tm(){return vt}())throw new Z(-203,!1)}var Vd={\u0275\u0275defineInjectable:Ce,\u0275\u0275defineInjector:la,\u0275\u0275inject:Fe,\u0275\u0275invalidFactoryDep:Vi,resolveForwardRef:Q};var eD=U({provide:String,useValue:U});function Wd(e){return void 0!==e.useClass}function Gd(e){return void 0!==e.useFactory}var aD=Er("Injectable",void 0,void 0,void 0,function(e,n){return function XE(e,n){var t=null,r=null;e.hasOwnProperty(sr)||Object.defineProperty(e,sr,{get:function(){if(null===t){var i=Pe();t=i.compileInjectable(Vd,"ng:///".concat(e.name,"/\u0275prov.js"),function rD(e,n){var t=n||{providedIn:null},r={name:e.name,type:e,typeArgumentCount:0,providedIn:t.providedIn};return(Wd(t)||Gd(t))&&void 0!==t.deps&&(r.deps=af(t.deps)),Wd(t)?r.useClass=t.useClass:function nD(e){return eD in e}(t)?r.useValue=t.useValue:Gd(t)?r.useFactory=t.useFactory:function tD(e){return void 0!==e.useExisting}(t)&&(r.useExisting=t.useExisting),r}(e,n))}return t}}),e.hasOwnProperty(kn)||Object.defineProperty(e,kn,{get:function(){if(null===r){var i=Pe();r=i.compileFactory(Vd,"ng:///".concat(e.name,"/\u0275fac.js"),{name:e.name,type:e,typeArgumentCount:0,deps:Za(e),target:i.FactoryTarget.Injectable})}return r},configurable:!0})}(e,n)});function hu(e){var a=zd(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,arguments.length>3?arguments[3]:void 0);return a.resolveInjectorInitializers(),a}function zd(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3?arguments[3]:void 0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:new Set,i=[t||ie,sd(e)];return r=r||("object"==typeof e?void 0:ve(e)),new tu(i,n||Xa(),r||null,a)}var Qn=function(){var e=function(){function n(){(0,m.Z)(this,n)}return(0,y.Z)(n,null,[{key:"create",value:function(r,a){if(Array.isArray(r))return hu({name:""},a,r,"");var i,o=null!==(i=r.name)&&void 0!==i?i:"";return hu({name:o},r.parent,r.providers,o)}}]),n}();return e.THROW_IF_NOT_FOUND=lr,e.NULL=new ud,e.\u0275prov=Ce({token:e,providedIn:"any",factory:function(){return Fe(qo)}}),e.__NG_ELEMENT_ID__=-1,e}();function Ut(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:z.Default,t=C();return null===t?Fe(e,n):Bc(Le(),t,Q(e),n)}function Kd(){throw new Error("invalid")}function oi(e,n,t,r,a,i,o,u,s,l,c){var f=n.blueprint.slice();return f[Oe]=a,f[X]=140|r,(null!==l||e&&2048&e[X])&&(f[X]|=2048),lc(f),f[_e]=f[yt]=e,f[De]=t,f[$n]=o||e&&e[$n],f[$]=u||e&&e[$],f[mt]=s||e&&e[mt]||null,f[je]=i,f[gr]=function E_(){return __++}(),f[xn]=c,f[Ql]=l,f[Se]=2==n.type?e[Se]:f,f}function Bt(e,n,t,r,a){var i=e.data[n];if(null===i)i=gu(e,n,t,r,a),function Ty(){return K.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=t,i.value=r,i.attrs=a;var o=yr();i.injectorIndex=null===o?-1:o.injectorIndex}return Mn(i,!0),i}function gu(e,n,t,r,a){var i=_c(),o=ro(),s=e.data[n]=function dD(e,n,t,r,a,i){var o=n?n.injectorIndex:-1,u=0;return It()&&(u|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:o,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:u,providerIndexes:0,value:a,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,o?i:i&&i.parent,t,n,r,a);return null===e.firstChild&&(e.firstChild=s),null!==i&&(o?null==i.child&&null!==s.parent&&(i.child=s):null===i.next&&(i.next=s,s.prev=i)),s}function Vr(e,n,t,r){if(0===t)return-1;for(var a=n.length,i=0;i<t;i++)n.push(r),e.blueprint.push(r),e.data.push(null);return a}function Qd(e,n,t,r,a){var i=Zd(n,ha),o=Ve(),u=2&r;try{if(nt(-1),u&&n.length>ne&&Ud(e,n,ne,!1),In(u?2:0,a),u)i.runInContext(t,r,a);else{var l=Ne(null);try{t(r,a)}finally{Ne(l)}}}finally{u&&null===n[ha]&&jd(n,ha),nt(o),In(u?3:1,a)}}function mu(e,n,t){if(qi(n)){var r=Ne(null);try{for(var i=n.directiveEnd,o=n.directiveStart;o<i;o++){var u=e.data[o];u.contentQueries&&u.contentQueries(1,t[o],o)}}finally{Ne(r)}}}function yu(e,n,t){pc()&&(function _D(e,n,t,r){var a=t.directiveStart,i=t.directiveEnd;Xn(t)&&function bD(e,n,t){var r=qe(n,e),o=ui(e,oi(e,qd(t),null,t.onPush?64:16,r,n,null,e[$n].rendererFactory.createRenderer(r,t),null,null,null));e[n.index]=o}(n,t,e.data[a+t.componentOffset]),e.firstCreatePass||Ra(t,n),He(r,n);for(var o=t.initialInputs,u=a;u<i;u++){var s=e.data[u],l=tt(n,e,u,t);He(l,n),null!==o&&wD(0,u-a,l,s,0,o),vn(s)&&(Ye(t.index,n)[De]=tt(n,e,u,t))}}(e,n,t,qe(t,n)),64==(64&t.flags)&&ev(e,n,t))}function _u(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:qe,r=n.localNames;if(null!==r)for(var a=n.index+1,i=0;i<r.length;i+=2){var o=r[i+1],u=-1===o?t(n,e):e[o];e[a++]=u}}function qd(e){var n=e.tView;return null===n||n.incompleteFirstPass?e.tView=Eu(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function Eu(e,n,t,r,a,i,o,u,s,l,c){var f=ne+r,d=f+a,v=function oD(e,n){for(var t=[],r=0;r<n;r++)t.push(r<e?null:J);return t}(f,d),h="function"==typeof l?l():l;return v[x]={type:e,blueprint:v,template:t,queries:null,viewQuery:u,declTNode:n,data:v.slice().fill(null,f),bindingStartIndex:f,expandoStartIndex:d,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof i?i():i,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:s,consts:h,incompleteFirstPass:!1,ssrId:c}}var Yd=function(n){return null};function lD(e){e.hasAttribute(Rt)?Zf(e):function ZE(e){for(var r,n=Ar(),t=n.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode:function(l){var c=function FE(e){var n;return null===(n=e.textContent)||void 0===n?void 0:n.replace(/\s/gm,"")}(l);return"ngetn"===c||"ngtns"===c?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),a=[];r=t.nextNode();)a.push(r);for(var i=0,o=a;i<o.length;i++){var u=o[i];"ngetn"===u.textContent?u.replaceWith(n.createTextNode("")):u.remove()}}(e)}function Jd(e,n,t,r){for(var a in e)if(e.hasOwnProperty(a)){t=null===t?{}:t;var i=e[a];null===r?$d(t,n,a,i):r.hasOwnProperty(a)&&$d(t,n,r[a],i)}return t}function $d(e,n,t,r){e.hasOwnProperty(t)?e[t].push(n,r):e[t]=[n,r]}function nn(e,n,t,r,a,i,o,u){var c,s=qe(n,t),l=n.inputs;!u&&null!=l&&(c=l[r])?(Tu(e,t,c,r,a),Xn(n)&&function hD(e,n){var t=Ye(n,e);16&t[X]||(t[X]|=64)}(t,n.index)):3&n.type&&(r=function pD(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),a=null!=o?o(a,n.value||"",r):a,i.setProperty(s,r,a))}function Du(e,n,t,r){if(pc()){var o,u,a=null===r?null:{"":-1},i=function DD(e,n){var t=e.directiveRegistry,r=null,a=null;if(t)for(var i=0;i<t.length;i++){var o=t[i];if(Fl(n,o.selectors,!1))if(r||(r=[]),vn(o))if(null!==o.findHostDirectiveDefs){var u,s=[];o.findHostDirectiveDefs(o,s,a=a||new Map),(u=r).unshift.apply(u,s.concat([o])),Iu(e,n,s.length)}else r.unshift(o),Iu(e,n,0);else{var c;a=a||new Map,null===(c=o.findHostDirectiveDefs)||void 0===c||c.call(o,o,r,a),r.push(o)}}return null===r?null:[r,a]}(e,t);if(null===i)o=u=null;else{var s=(0,P.Z)(i,2);o=s[0],u=s[1]}null!==o&&Xd(e,n,t,o,a,u),a&&function ID(e,n,t){if(n)for(var r=e.localNames=[],a=0;a<n.length;a+=2){var i=t[n[a+1]];if(null==i)throw new Z(-301,!1);r.push(n[a],i)}}(t,r,a)}t.mergedAttrs=vr(t.mergedAttrs,t.attrs)}function Xd(e,n,t,r,a,i){for(var o=0;o<r.length;o++)go(Ra(t,n),e,r[o].type);!function CD(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}(t,e.data.length,r.length);for(var u=0;u<r.length;u++){var s=r[u];s.providersResolver&&s.providersResolver(s)}for(var l=!1,c=!1,f=Vr(e,n,r.length,null),d=0;d<r.length;d++){var v=r[d];t.mergedAttrs=vr(t.mergedAttrs,v.hostAttrs),TD(e,t,n,f,v),MD(f,v,a),null!==v.contentQueries&&(t.flags|=4),(null!==v.hostBindings||null!==v.hostAttrs||0!==v.hostVars)&&(t.flags|=64);var g,E,h=v.type.prototype;!l&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((null!==(g=e.preOrderHooks)&&void 0!==g?g:e.preOrderHooks=[]).push(t.index),l=!0),c||!h.ngOnChanges&&!h.ngDoCheck||((null!==(E=e.preOrderCheckHooks)&&void 0!==E?E:e.preOrderCheckHooks=[]).push(t.index),c=!0),f++}!function vD(e,n,t){for(var a=n.directiveEnd,i=e.data,o=n.attrs,u=[],s=null,l=null,c=n.directiveStart;c<a;c++){var f=i[c],d=t?t.get(f):null,h=d?d.outputs:null;s=Jd(f.inputs,c,s,d?d.inputs:null),l=Jd(f.outputs,c,l,h);var g=null===s||null===o||Ll(n)?null:SD(s,c,o);u.push(g)}null!==s&&(s.hasOwnProperty("class")&&(n.flags|=8),s.hasOwnProperty("style")&&(n.flags|=16)),n.initialInputs=u,n.inputs=s,n.outputs=l}(e,t,i)}function ev(e,n,t){var r=t.directiveStart,a=t.directiveEnd,i=t.index,o=function wy(){return K.lFrame.currentDirectiveIndex}();try{nt(i);for(var u=r;u<a;u++){var s=e.data[u],l=n[u];io(u),(null!==s.hostBindings||0!==s.hostVars||null!==s.hostAttrs)&&ED(s,l)}}finally{nt(-1),io(o)}}function ED(e,n){null!==e.hostBindings&&e.hostBindings(1,n)}function Iu(e,n,t){var r;n.componentOffset=t,(null!==(r=e.components)&&void 0!==r?r:e.components=[]).push(n.index)}function MD(e,n,t){if(t){if(n.exportAs)for(var r=0;r<n.exportAs.length;r++)t[n.exportAs[r]]=e;vn(n)&&(t[""]=e)}}function TD(e,n,t,r,a){e.data[r]=a;var i=a.factory||(a.factory=et(a.type)),o=new _r(i,vn(a),Ut);e.blueprint[r]=o,t[r]=o,function mD(e,n,t,r,a){var i=a.hostBindings;if(i){var o=e.hostBindingOpCodes;null===o&&(o=e.hostBindingOpCodes=[]);var u=~n.index;(function yD(e){for(var n=e.length;n>0;){var t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(o)!=u&&o.push(u),o.push(t,r,i)}}(e,n,r,Vr(e,t,a.hostVars,J),a)}function wn(e,n,t,r,a,i){var o=qe(e,n);Mu(n[$],o,i,e.value,t,r,a)}function Mu(e,n,t,r,a,i,o){if(null==i)e.removeAttribute(n,a,t);else{var u=null==o?Y(i):o(i,r||"",a);e.setAttribute(n,a,u,t)}}function wD(e,n,t,r,a,i){var o=i[n];if(null!==o)for(var u=0;u<o.length;)nv(r,t,o[u++],o[u++],o[u++])}function nv(e,n,t,r,a){var i=Ne(null);try{null!==e.setInput?e.setInput(n,a,t,r):n[r]=a}finally{Ne(i)}}function SD(e,n,t){for(var r=null,a=0;a<t.length;){var i=t[a];if(0!==i)if(5!==i){if("number"==typeof i)break;if(e.hasOwnProperty(i)){null===r&&(r=[]);for(var o=e[i],u=0;u<o.length;u+=2)if(o[u]===n){r.push(i,o[u+1],t[a+1]);break}}a+=2}else a+=2;else a+=4}return r}function tv(e,n,t,r){return[e,!0,!1,n,null,0,r,t,null,null,null]}function rv(e,n){var t=e.contentQueries;if(null!==t)for(var r=0;r<t.length;r+=2){var i=t[r+1];if(-1!==i){var o=e.data[i];uo(t[r]),o.contentQueries(2,n[i],i)}}}function ui(e,n){return e[pr]?e[Kl][dn]=n:e[pr]=n,e[Kl]=n,n}function Cu(e,n,t){uo(0);var r=Ne(null);try{n(e,t)}finally{Ne(r)}}function av(e){return e[gt]||(e[gt]=[])}function iv(e){return e.cleanup||(e.cleanup=[])}function ov(e,n,t){return(null===e||vn(e))&&(t=function dy(e){for(;Array.isArray(e);){if("object"==typeof e[Qi])return e;e=e[Oe]}return null}(t[n.index])),t[$]}function uv(e,n){var t=e[mt],r=t?t.get(jt,null):null;r&&r.handleError(n)}function Tu(e,n,t,r,a){for(var i=0;i<t.length;){var o=t[i++],u=t[i++];nv(e.data[o],n[o],r,u,a)}}function Un(e,n,t){var r=Ma(n,e);wf(e[$],r,t)}function OD(e,n){var t=Ye(n,e),r=t[x];!function AD(e,n){for(var t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}(r,t);var a=t[Oe];null!==a&&null===t[xn]&&(t[xn]=_d(a,t[mt])),bu(r,t,t[De])}function bu(e,n,t){so(n);try{var r=e.viewQuery;null!==r&&Cu(1,r,t);var a=e.template;null!==a&&Qd(e,n,a,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&rv(e,n),e.staticViewQueries&&Cu(2,e.viewQuery,t);var i=e.components;null!==i&&function PD(e,n){for(var t=0;t<n.length;t++)OD(e,n[t])}(n,i)}catch(o){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),o}finally{n[X]&=-5,lo()}}var wu=function(){var e=(0,y.Z)(function n(){(0,m.Z)(this,n)});return e.__NG_ELEMENT_ID__=ND,e.__NG_ENV_ID__=function(n){return n},e}(),RD=function(e){(0,N.Z)(t,e);var n=(0,j.Z)(t);function t(r){var a;return(0,m.Z)(this,t),(a=n.call(this))._lView=r,a}return(0,y.Z)(t,[{key:"onDestroy",value:function(a){var i=this;return dc(this._lView,a),function(){return function my(e,n){if(null!==e[Wn]){var t=e[Wn].indexOf(n);-1!==t&&e[Wn].splice(t,1)}}(i._lView,a)}}}]),t}(wu);function ND(){return new RD(C())}var sv=function(){var e=function(){function n(){(0,m.Z)(this,n),this.all=new Set,this.queue=new Map}return(0,y.Z)(n,[{key:"create",value:function(r,a,i){var o=this,u=typeof Zone>"u"?null:Zone.current,s=new uy(r,function(f){o.all.has(f)&&o.queue.set(f,u)},i);this.all.add(s),s.notify();var l,c=function(){var d;s.cleanup(),null===(d=l)||void 0===d||d(),o.all.delete(s),o.queue.delete(s)};return l=a?.onDestroy(c),{destroy:c}}},{key:"flush",value:function(){var r=this;if(0!==this.queue.size){var i,a=(0,w.Z)(this.queue);try{var o=function(){var s=(0,P.Z)(i.value,2),l=s[0],c=s[1];r.queue.delete(l),c?c.run(function(){return l.run()}):l.run()};for(a.s();!(i=a.n()).done;)o()}catch(u){a.e(u)}finally{a.f()}}}},{key:"isQueueEmpty",get:function(){return 0===this.queue.size}}]),n}();return e.\u0275prov=Ce({token:e,providedIn:"root",factory:function(){return new e}}),e}();function lv(e,n){var t;(null==n||!n.injector)&&Bd();var r=null!==(t=n?.injector)&&void 0!==t?t:ge(Qn),a=r.get(sv),i=!0!==n?.manualCleanup?r.get(wu):null;return a.create(e,i,!(null==n||!n.allowSignalWrites))}function si(e,n,t){var r=t?e.styles:null,a=t?e.classes:null,i=0;if(null!==n)for(var o=0;o<n.length;o++){var u=n[o];"number"==typeof u?i=u:1==i?a=cn(a,u):2==i&&(r=cn(r,u+": "+n[++o]+";"))}t?e.styles=r:e.stylesWithoutHost=r,t?e.classes=a:e.classesWithoutHost=a}function Wr(e,n,t,r){for(var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];null!==t;){var i=n[t.index];if(null!==i&&r.push(me(i)),Qe(i)){for(var o=xe;o<i.length;o++){var u=i[o],s=u[x].firstChild;null!==s&&Wr(u[x],u,s,r)}i[En]!==i[Oe]&&r.push(i[En])}var l=t.type;if(8&l)Wr(e,n,t.child,r);else if(32&l)for(var c=Po(t,n),f=void 0;f=c();)r.push(f);else if(16&l){var d=Ff(n,t);if(Array.isArray(d))r.push.apply(r,(0,D.Z)(d));else{var v=wr(n[Se]);Wr(v[x],v,d,r,!0)}}t=a?t.projectionNext:t.next}return r}function li(e,n,t){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=n[$n].rendererFactory;a.begin&&a.begin();try{ci(e,n,e.template,t)}catch(u){throw r&&uv(n,u),u}finally{var o;a.end&&a.end(),null===(o=n[$n].effectManager)||void 0===o||o.flush()}}function cv(e){var n=Ef(e);li(n[x],n,e)}function ci(e,n,t,r){var a,i=n[X];if(256!=(256&i)){null===(a=n[$n].effectManager)||void 0===a||a.flush(),so(n);try{lc(n),Dc(e.bindingStartIndex),null!==t&&Qd(e,n,t,2,r);var u=3==(3&i);if(u){var s=e.preOrderCheckHooks;null!==s&&wa(n,s,null)}else{var l=e.preOrderHooks;null!==l&&Sa(n,l,0,null),co(n,0)}if(function xD(e){for(var n=Ro(e);null!==n;n=No(n))if(n[ql])for(var t=n[Et],r=0;r<t.length;r++){gy(t[r])}}(n),function kD(e){for(var n=Ro(e);null!==n;n=No(n))for(var t=xe;t<n.length;t++){var r=n[t],a=r[x];Ca(r)&&ci(a,r,a.template,r[De])}}(n),null!==e.contentQueries&&rv(e,n),u){var c=e.contentCheckHooks;null!==c&&wa(n,c)}else{var f=e.contentHooks;null!==f&&Sa(n,f,1),co(n,1)}!function iD(e,n){var t=e.hostBindingOpCodes;if(null!==t){var r=Zd(n,ga);try{for(var a=0;a<t.length;a++){var i=t[a];if(i<0)nt(~i);else{var o=i,u=t[++a],s=t[++a];by(u,o),r.runInContext(s,2,n[o])}}}finally{null===n[ga]&&jd(n,ga),nt(-1)}}}(e,n);var d=e.components;null!==d&&function FD(e,n){for(var t=0;t<n.length;t++)LD(e,n[t])}(n,d);var v=e.viewQuery;if(null!==v&&Cu(2,v,r),u){var h=e.viewCheckHooks;null!==h&&wa(n,h)}else{var g=e.viewHooks;null!==g&&Sa(n,g,2),co(n,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),n[X]&=-73,cc(n)}finally{lo()}}}function LD(e,n){var t=Ye(n,e);if(Ca(t)){var r=t[x];80&t[X]?ci(r,t,r.template,t[De]):t[Jn]>0&&Su(t)}}function Su(e){for(var n=Ro(e);null!==n;n=No(n))for(var t=xe;t<n.length;t++){var r=n[t];if(Ca(r))if(1024&r[X]){var a=r[x];ci(a,r,a.template,r[De])}else r[Jn]>0&&Su(r)}var o=e[x].components;if(null!==o)for(var u=0;u<o.length;u++){var s=Ye(o[u],e);Ca(s)&&s[Jn]>0&&Su(s)}}var Vt=function(){function e(n,t){(0,m.Z)(this,e),this._lView=n,this._cdRefInjectingView=t,this._appRef=null,this._attachedToViewContainer=!1}return(0,y.Z)(e,[{key:"rootNodes",get:function(){var t=this._lView,r=t[x];return Wr(r,t,r.firstChild,[])}},{key:"context",get:function(){return this._lView[De]},set:function(t){this._lView[De]=t}},{key:"destroyed",get:function(){return 256==(256&this._lView[X])}},{key:"destroy",value:function(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){var t=this._lView[_e];if(Qe(t)){var r=t[ma],a=r?r.indexOf(this):-1;a>-1&&(xo(t,a),ka(r,a))}this._attachedToViewContainer=!1}Of(this._lView[x],this._lView)}},{key:"onDestroy",value:function(t){dc(this._lView,t)}},{key:"markForCheck",value:function(){Hr(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[X]&=-129}},{key:"reattach",value:function(){this._lView[X]|=128}},{key:"detectChanges",value:function(){li(this._lView[x],this._lView,this.context)}},{key:"checkNoChanges",value:function(){}},{key:"attachToViewContainerRef",value:function(){if(this._appRef)throw new Z(902,!1);this._attachedToViewContainer=!0}},{key:"detachFromAppRef",value:function(){this._appRef=null,function N_(e,n){Or(e,n,n[$],2,null,null)}(this._lView[x],this._lView)}},{key:"attachToAppRef",value:function(t){if(this._attachedToViewContainer)throw new Z(902,!1);this._appRef=t}}]),e}(),ZD=function(e){(0,N.Z)(t,e);var n=(0,j.Z)(t);function t(r){var a;return(0,m.Z)(this,t),(a=n.call(this,r))._view=r,a}return(0,y.Z)(t,[{key:"detectChanges",value:function(){var a=this._view;li(a[x],a,a[De],!1)}},{key:"checkNoChanges",value:function(){}},{key:"context",get:function(){return null}}]),t}(Vt),fv=function(e){(0,N.Z)(t,e);var n=(0,j.Z)(t);function t(r){var a;return(0,m.Z)(this,t),(a=n.call(this)).ngModule=r,a}return(0,y.Z)(t,[{key:"resolveComponentFactory",value:function(a){var i=oe(a);return new Wt(i,this.ngModule)}}]),t}(Zr);function dv(e){var n=[];for(var t in e)e.hasOwnProperty(t)&&n.push({propName:e[t],templateName:t});return n}var HD=function(){function e(n,t){(0,m.Z)(this,e),this.injector=n,this.parentInjector=t}return(0,y.Z)(e,[{key:"get",value:function(t,r,a){a=cr(a);var i=this.injector.get(t,ii,a);return i!==ii||r===ii?i:this.parentInjector.get(t,r,a)}}]),e}(),Wt=function(e){(0,N.Z)(t,e);var n=(0,j.Z)(t);function t(r,a){var i;return(0,m.Z)(this,t),(i=n.call(this)).componentDef=r,i.ngModule=a,i.componentType=r.type,i.selector=function jm(e){return e.map(Zm).join(",")}(r.selectors),i.ngContentSelectors=r.ngContentSelectors?r.ngContentSelectors:[],i.isBoundToModule=!!a,i}return(0,y.Z)(t,[{key:"inputs",get:function(){return dv(this.componentDef.inputs)}},{key:"outputs",get:function(){return dv(this.componentDef.outputs)}},{key:"create",value:function(a,i,o,u){var s,l=(u=u||this.ngModule)instanceof ot?u:null===(s=u)||void 0===s?void 0:s.injector;l&&null!==this.componentDef.getStandaloneInjector&&(l=this.componentDef.getStandaloneInjector(l)||l);var c=l?new HD(a,l):a,f=c.get(Cd,null);if(null===f)throw new Z(407,!1);var te,be,h={rendererFactory:f,sanitizer:c.get(Td,null),effectManager:c.get(sv,null)},g=f.createRenderer(null,this.componentDef),E=this.componentDef.selectors[0][0]||"div",S=o?function uD(e,n,t,r){var a=r.get(Ad,!1),o=e.selectRootElement(n,a||t===yn.ShadowDom);return function sD(e){Yd(e)}(o),o}(g,o,this.componentDef.encapsulation,c):Wa(g,E,function jD(e){var n=e.toLowerCase();return"svg"===n?oc:"math"===n?uc:null}(E)),_=this.componentDef.onPush?576:528,k=Eu(0,null,null,1,0,null,null,null,null,null,null),B=oi(null,k,null,_,null,null,h,g,c,null,null);so(B);try{var tn,Me=this.componentDef,Bn=null;Me.findHostDirectiveDefs?(Me.findHostDirectiveDefs(Me,tn=[],Bn=new Map),tn.push(Me)):tn=[Me];var Il=function UD(e,n){var t=e[x],r=ne;return e[r]=n,Bt(t,r,2,"#host",null)}(B,S),Ml=function BD(e,n,t,r,a,i,o){var u=a[x];!function VD(e,n,t,r){var i,a=(0,w.Z)(e);try{for(a.s();!(i=a.n()).done;)n.mergedAttrs=vr(n.mergedAttrs,i.value.hostAttrs)}catch(u){a.e(u)}finally{a.f()}null!==n.mergedAttrs&&(si(n,n.mergedAttrs,!0),null!==t&&Uf(r,t,n))}(r,e,n,o);var s=null;null!==n&&(s=_d(n,a[mt]));var l=i.rendererFactory.createRenderer(n,t),c=oi(a,qd(t),null,t.onPush?64:16,a[e.index],e,i,l,null,null,s);return u.firstCreatePass&&Iu(u,e,r.length-1),ui(a,c),a[e.index]=c}(Il,S,Me,tn,B,h,g);be=sc(k,ne),S&&function GD(e,n,t,r){if(r)zi(e,t,["ng-version",wd.full]);else{var a=function Hm(e){for(var n=[],t=[],r=1,a=2;r<e.length;){var i=e[r];if("string"==typeof i)2===a?""!==i&&n.push(i,e[++r]):8===a&&t.push(i);else{if(!fn(a))break;a=i}r++}return{attrs:n,classes:t}}(n.selectors[0]),i=a.attrs,o=a.classes;i&&zi(e,t,i),o&&o.length>0&&Hf(e,t,o.join(" "))}}(g,Me,S,o),void 0!==i&&function zD(e,n,t){for(var r=e.projection=[],a=0;a<n.length;a++){var i=t[a];r.push(null!=i?Array.from(i):null)}}(be,this.ngContentSelectors,i),te=function WD(e,n,t,r,a,i){var o=Le(),u=a[x],s=qe(o,a);Xd(u,a,o,t,null,r);for(var l=0;l<t.length;l++)He(tt(a,u,o.directiveStart+l,o),a);ev(u,a,o),s&&He(s,a);var d=tt(a,u,o.directiveStart+o.componentOffset,o);if(e[De]=a[De]=d,null!==i){var h,v=(0,w.Z)(i);try{for(v.s();!(h=v.n()).done;)(0,h.value)(d,n)}catch(E){v.e(E)}finally{v.f()}}return mu(u,o,e),d}(Ml,Me,tn,Bn,B,[pv]),bu(k,B,null)}finally{lo()}return new vv(this.componentType,te,Zt(be,B),B,be)}}]),t}(ai),vv=function(e){(0,N.Z)(t,e);var n=(0,j.Z)(t);function t(r,a,i,o,u){var s;return(0,m.Z)(this,t),(s=n.call(this)).location=i,s._rootLView=o,s._tNode=u,s.previousInputValues=null,s.instance=a,s.hostView=s.changeDetectorRef=new ZD(o),s.componentType=r,s}return(0,y.Z)(t,[{key:"setInput",value:function(a,i){var u,o=this._tNode.inputs;if(null!==o&&(u=o[a])){var s;if(null!==(s=this.previousInputValues)&&void 0!==s||(this.previousInputValues=new Map),this.previousInputValues.has(a)&&Object.is(this.previousInputValues.get(a),i))return;var l=this._rootLView;Tu(l[x],l,u,a,i),this.previousInputValues.set(a,i),Hr(Ye(this._tNode.index,l))}}},{key:"injector",get:function(){return new Tt(this._tNode,this._rootLView)}},{key:"destroy",value:function(){this.hostView.destroy()}},{key:"onDestroy",value:function(a){this.hostView.onDestroy(a)}}]),t}(Id);function pv(){var e=Le();ba(C()[x],e)}function hv(e){return Object.getPrototypeOf(e.prototype).constructor}function Ou(e){for(var n=hv(e.type),t=!0,r=[e];n;){var a=void 0;if(vn(e))a=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new Z(903,!1);a=n.\u0275dir}if(a){if(t){r.push(a);var i=e;i.inputs=Au(e.inputs),i.declaredInputs=Au(e.declaredInputs),i.outputs=Au(e.outputs);var o=a.hostBindings;o&&YD(e,o);var u=a.viewQuery,s=a.contentQueries;if(u&&QD(e,u),s&&qD(e,s),ke(e.inputs,a.inputs),ke(e.declaredInputs,a.declaredInputs),ke(e.outputs,a.outputs),vn(a)&&a.data.animation){var l=e.data;l.animation=(l.animation||[]).concat(a.data.animation)}}var c=a.features;if(c)for(var f=0;f<c.length;f++){var d=c[f];d&&d.ngInherit&&d(e),d===Ou&&(t=!1)}}n=Object.getPrototypeOf(n)}!function KD(e){for(var n=0,t=null,r=e.length-1;r>=0;r--){var a=e[r];a.hostVars=n+=a.hostVars,a.hostAttrs=vr(a.hostAttrs,t=vr(t,a.hostAttrs))}}(r)}function Au(e){return e===Nn?{}:e===ie?[]:e}function QD(e,n){var t=e.viewQuery;e.viewQuery=t?function(r,a){n(r,a),t(r,a)}:n}function qD(e,n){var t=e.contentQueries;e.contentQueries=t?function(r,a,i){n(r,a,i),t(r,a,i)}:n}function YD(e,n){var t=e.hostBindings;e.hostBindings=t?function(r,a){n(r,a),t(r,a)}:n}var JD=["providersResolver"],$D=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function gv(e){var t,n=hv(e.type);t=vn(e)?n.\u0275cmp:n.\u0275dir;var i,r=e,a=(0,w.Z)(JD);try{for(a.s();!(i=a.n()).done;){var o=i.value;r[o]=t[o]}}catch(c){a.e(c)}finally{a.f()}if(vn(t)){var s,u=(0,w.Z)($D);try{for(u.s();!(s=u.n()).done;){var l=s.value;r[l]=t[l]}}catch(c){u.e(c)}finally{u.f()}}}function mv(e){return function(n){n.findHostDirectiveDefs=yv,n.hostDirectives=(Array.isArray(e)?e:e()).map(function(t){return"function"==typeof t?{directive:Q(t),inputs:Nn,outputs:Nn}:{directive:Q(t.directive),inputs:_v(t.inputs),outputs:_v(t.outputs)}})}}function yv(e,n,t){if(null!==e.hostDirectives){var a,r=(0,w.Z)(e.hostDirectives);try{for(r.s();!(a=r.n()).done;){var i=a.value,o=Ze(i.directive);XD(o.declaredInputs,i.inputs),yv(o,n,t),t.set(o,i),n.push(o)}}catch(u){r.e(u)}finally{r.f()}}}function _v(e){if(void 0===e||0===e.length)return Nn;for(var n={},t=0;t<e.length;t+=2)n[e[t]]=e[t+1];return n}function XD(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[n[t]]=e[t])}function fi(e){return!!Pu(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Pu(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Dv(e,n){var t=fi(e),r=fi(n);return t&&r?function e0(e,n,t){for(var r=e[Symbol.iterator](),a=n[Symbol.iterator]();;){var i=r.next(),o=a.next();if(i.done&&o.done)return!0;if(i.done||o.done||!t(i.value,o.value))return!1}}(e,n,Dv):!(t||!e||"object"!=typeof e&&"function"!=typeof e||r||!n||"object"!=typeof n&&"function"!=typeof n)||Object.is(e,n)}function Sn(e,n,t){return e[n]=t}function Gr(e,n){return e[n]}function Ue(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function ut(e,n,t,r){var a=Ue(e,n,t);return Ue(e,n+1,r)||a}function di(e,n,t,r,a){var i=ut(e,n,t,r);return Ue(e,n+2,a)||i}function un(e,n,t,r,a,i){var o=ut(e,n,t,r);return ut(e,n+2,a,i)||o}function Ru(e,n,t,r){var a=C();return Ue(a,Mt(),n)&&(re(),wn(Ee(),a,e,n,t,r)),Ru}function Gt(e,n){for(var t=!1,r=Ln(),a=1;a<n.length;a+=2)t=Ue(e,r++,n[a])||t;if(Dc(r),!t)return J;for(var i=n[0],o=1;o<n.length;o+=2)i+=Y(n[o])+n[o+1];return i}function zt(e,n,t,r){return Ue(e,Mt(),t)?n+Y(t)+r:J}function Kt(e,n,t,r,a,i){var u=ut(e,Ln(),t,a);return Fn(2),u?n+Y(t)+r+Y(a)+i:J}function Qt(e,n,t,r,a,i,o,u){var l=di(e,Ln(),t,a,o);return Fn(3),l?n+Y(t)+r+Y(a)+i+Y(o)+u:J}function qt(e,n,t,r,a,i,o,u,s,l){var f=un(e,Ln(),t,a,o,s);return Fn(4),f?n+Y(t)+r+Y(a)+i+Y(o)+u+Y(s)+l:J}function Yt(e,n,t,r,a,i,o,u,s,l,c,f){var d=Ln(),v=un(e,d,t,a,o,s);return v=Ue(e,d+4,c)||v,Fn(5),v?n+Y(t)+r+Y(a)+i+Y(o)+u+Y(s)+l+Y(c)+f:J}function Jt(e,n,t,r,a,i,o,u,s,l,c,f,d,v){var h=Ln(),g=un(e,h,t,a,o,s);return g=ut(e,h+4,c,d)||g,Fn(6),g?n+Y(t)+r+Y(a)+i+Y(o)+u+Y(s)+l+Y(c)+f+Y(d)+v:J}function $t(e,n,t,r,a,i,o,u,s,l,c,f,d,v,h,g){var E=Ln(),S=un(e,E,t,a,o,s);return S=di(e,E+4,c,d,h)||S,Fn(7),S?n+Y(t)+r+Y(a)+i+Y(o)+u+Y(s)+l+Y(c)+f+Y(d)+v+Y(h)+g:J}function Xt(e,n,t,r,a,i,o,u,s,l,c,f,d,v,h,g,E,S){var _=Ln(),k=un(e,_,t,a,o,s);return k=un(e,_+4,c,d,h,E)||k,Fn(8),k?n+Y(t)+r+Y(a)+i+Y(o)+u+Y(s)+l+Y(c)+f+Y(d)+v+Y(h)+g+Y(E)+S:J}function Nu(e,n,t,r,a,i){var o=C(),u=zt(o,n,t,r);return u!==J&&wn(Ee(),o,e,u,a,i),Nu}function ku(e,n,t,r,a,i,o,u){var s=C(),l=Kt(s,n,t,r,a,i);return l!==J&&wn(Ee(),s,e,l,o,u),ku}function xu(e,n,t,r,a,i,o,u,s,l){var c=C(),f=Qt(c,n,t,r,a,i,o,u);return f!==J&&wn(Ee(),c,e,f,s,l),xu}function Lu(e,n,t,r,a,i,o,u,s,l,c,f){var d=C(),v=qt(d,n,t,r,a,i,o,u,s,l);return v!==J&&wn(Ee(),d,e,v,c,f),Lu}function Fu(e,n,t,r,a,i,o,u,s,l,c,f,d,v){var h=C(),g=Yt(h,n,t,r,a,i,o,u,s,l,c,f);return g!==J&&wn(Ee(),h,e,g,d,v),Fu}function Zu(e,n,t,r,a,i,o,u,s,l,c,f,d,v,h,g){var E=C(),S=Jt(E,n,t,r,a,i,o,u,s,l,c,f,d,v);return S!==J&&wn(Ee(),E,e,S,h,g),Zu}function ju(e,n,t,r,a,i,o,u,s,l,c,f,d,v,h,g,E,S){var _=C(),k=$t(_,n,t,r,a,i,o,u,s,l,c,f,d,v,h,g);return k!==J&&wn(Ee(),_,e,k,E,S),ju}function Hu(e,n,t,r,a,i,o,u,s,l,c,f,d,v,h,g,E,S,_,k){var B=C(),te=Xt(B,n,t,r,a,i,o,u,s,l,c,f,d,v,h,g,E,S);return te!==J&&wn(Ee(),B,e,te,_,k),Hu}function Uu(e,n,t,r){var a=C(),i=Gt(a,n);return i!==J&&wn(Ee(),a,e,i,t,r),Uu}var Bu="<-- AT THIS LOCATION";function i0(e){var r="During serialization, Angular detected DOM nodes that were created outside of Angular context and provided as projectable nodes (likely via `ViewContainerRef.createComponent` or `createComponent` APIs). Hydration is not supported for such cases, consider refactoring the code to avoid this pattern or using `ngSkipHydration` on the host element of the component.\n\n"+"".concat(function vi(e){var n=" ",t="",r=e;return r.previousSibling&&(t+=" \u2026\n",t+=n+zr(r.previousSibling)+"\n"),t+=n+zr(r)+" ".concat(Bu,"\n"),e.nextSibling&&(t+=" \u2026\n"),e.parentNode&&(t=zr(r.parentNode,"\n"+t)),t}(e),"\n\n")+"Note: attributes are only displayed to better represent the DOM but have no effect on hydration mismatches.\n\n";return new Z(-503,r)}var u0=new Set(["ngh","ng-version","ng-server-context"]);function Vu(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"\u2026";switch(e.type){case 1:var t=e.value?"(".concat(e.value,")"):"";return"#text".concat(t);case 2:var r=function o0(e){var n=[];if(e.attrs)for(var t=0;t<e.attrs.length;){var r=e.attrs[t++];if("number"==typeof r)break;var a=e.attrs[t++];n.push("".concat(r,'="').concat(Qr(a),'"'))}return n.join(" ")}(e),a=e.value.toLowerCase();return"<".concat(a).concat(r?" "+r:"",">").concat(n,"</").concat(a,">");case 8:return"\x3c!-- ng-container --\x3e";case 4:return"\x3c!-- container --\x3e";default:var i=function t0(e){switch(e){case 4:return"view container";case 2:return"element";case 8:return"ng-container";case 32:return"icu";case 64:return"i18n";case 16:return"projection";case 1:return"text";default:return"<unknown>"}}(e.type);return"#node(".concat(i,")")}}function zr(e){var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"\u2026",r=e;switch(r.nodeType){case Node.ELEMENT_NODE:var a=r.tagName.toLowerCase(),i=function s0(e){for(var n=[],t=0;t<e.attributes.length;t++){var r=e.attributes[t];u0.has(r.name)||n.push("".concat(r.name,'="').concat(Qr(r.value),'"'))}return n.join(" ")}(r);return"<".concat(a).concat(i?" "+i:"",">").concat(t,"</").concat(a,">");case Node.TEXT_NODE:var o=r.textContent?Qr(r.textContent):"";return"#text".concat(o?"(".concat(o,")"):"");case Node.COMMENT_NODE:return"\x3c!-- ".concat(Qr(null!==(n=r.textContent)&&void 0!==n?n:"")," --\x3e");default:return"#node(".concat(r.nodeType,")")}}function Qr(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50;return e?(e=function l0(e){return e.replace(/\s+/gm,"")}(e)).length>n?"".concat(e.substring(0,n-1),"\u2026"):e:""}var c0=new RegExp("^(\\d+)*(".concat(uu,"|").concat(ou,")*(.*)"));function Gu(e){return e.index-ne}function pi(e,n,t,r){var a=null,i=Gu(r),o=e.data[ti];if(null!=o&&o[i])a=function h0(e,n){var t=function d0(e){var c,n=e.match(c0),t=(0,P.Z)(n,4),a=t[1],i=t[2],o=t[3],u=a?parseInt(a,10):i,s=[],l=(0,w.Z)(o.matchAll(/(f|n)(\d*)/g));try{for(l.s();!(c=l.n()).done;){var f=(0,P.Z)(c.value,3),v=f[1],g=parseInt(f[2],10)||1;s.push(v,g)}}catch(E){l.e(E)}finally{l.f()}return[u].concat(s)}(e),r=(0,b.Z)(t),a=r[0],i=r.slice(1);return function p0(e,n){for(var t=e,r=0;r<n.length;r+=2)for(var a=n[r],i=n[r+1],o=0;o<i;o++)switch(a){case bn.FirstChild:t=t.firstChild;break;case bn.NextSibling:t=t.nextSibling}return t}(a===ou?n[Se][Oe]:a===uu?pu(n[Se][Oe]):me(n[Number(a)+ne]),i)}(o[i],t);else if(n.firstChild===r)a=e.firstChild;else{var u,s=null===r.prev,l=null!==(u=r.prev)&&void 0!==u?u:r.parent;if(function v0(e){var n;return!e.prev&&8===(null===(n=e.parent)||void 0===n?void 0:n.type)}(r))a=fu(e,Gu(r.parent));else{var f=qe(l,t);if(s)a=f.firstChild;else{var d=Gu(l),v=fu(e,d);a=2===l.type&&v?hi(du(e,d)+1,v):f.nextSibling}}}return a}function hi(e,n){for(var t=n,r=0;r<e;r++)t=t.nextSibling;return t}function zu(e,n){if(e===n)return[];if(null==e.parentElement||null==n.parentElement)return null;if(e.parentElement===n.parentElement)return function g0(e,n){var t=[],r=null;for(r=e;null!=r&&r!==n;r=r.nextSibling)t.push(bn.NextSibling);return null==r?null:t}(e,n);var t=n.parentElement,r=zu(e,t),a=zu(t.firstChild,n);return r&&a?[].concat((0,D.Z)(r),[bn.FirstChild],(0,D.Z)(a)):null}function Cv(e,n,t){var r=zu(e,n);return null===r?null:function f0(e,n){var a,t=[e],r=(0,w.Z)(n);try{for(r.s();!(a=r.n()).done;){var i=a.value,o=t.length-1;o>0&&t[o-1]===i?t[o]=(t[o]||1)+1:t.push(i,"")}}catch(s){r.e(s)}finally{r.f()}return t.join("")}(t,r)}function m0(e,n){var r,a,i,t=e.parent;null!==t&&3&t.type?(a=me(n[r=t.index]),i=Y(r-ne)):(r=i=ou,a=n[Se][Oe]);var o=me(n[e.index]);if(12&e.type){var u=Sr(n,e);u&&(o=u)}var s=Cv(a,o,i);if(null===s&&a!==o&&null===(s=Cv(a.ownerDocument.body,o,uu)))throw function a0(e,n){var r="".concat(function Wu(e,n,t){var r=" ",a="";n.prev?(a+=" \u2026\n",a+=r+Vu(n.prev)+"\n"):n.type&&12&n.type&&(a+=" \u2026\n"),t?(a+=r+Vu(n)+"\n",a+=r+"\x3c!-- container --\x3e ".concat(Bu,"\n")):a+=r+Vu(n)+" ".concat(Bu,"\n"),a+=" \u2026\n";var i=n.type?Fo(e[x],n,e):null;return i&&(a=zr(i,"\n"+a)),a}(e,n,!1),"\n\n"),a=function Kr(e){var n=e?'the "'.concat(e,'"'):"corresponding";return"To fix this problem:\n"+" * check ".concat(n," component for hydration-related issues\n")+" * check to see if your template has valid HTML structure\n * or skip hydration by adding the `ngSkipHydration` attribute to its host node in a template\n\n"}();throw new Z(-502,"During serialization, Angular was unable to find an element in the DOM:\n\n"+r+a)}(n,e);return s}function Tv(e,n,t,r,a,i,o,u){var s=C(),l=re(),c=e+ne,f=l.firstCreatePass?function y0(e,n,t,r,a,i,o,u,s){var l=n.consts,c=Bt(n,e,4,o||null,Gn(l,u));Du(n,t,c,Gn(l,s)),ba(n,c);var f=c.tView=Eu(2,c,r,a,i,n.directiveRegistry,n.pipeRegistry,null,n.schemas,l,null);return null!==n.queries&&(n.queries.template(n,c),f.queries=n.queries.embeddedTView(c)),c}(c,l,s,n,t,r,a,i,o):l.data[c];Mn(f,!1);var d=bv(l,s,f,e);Ta()&&za(l,s,d,f),He(d,s),ui(s,s[c]=tv(d,s,d,f)),ya(f)&&yu(l,s,f),null!=o&&_u(s,f,u)}var bv=wv;function wv(e,n,t,r){return zn(!0),n[$].createComment("")}function _0(e,n,t,r){var a,i,o=n[xn],u=!o||It()||ri(o,r);if(zn(u),u)return wv(0,n);var s=null!==(a=null===(i=o.data[ni])||void 0===i?void 0:i[r])&&void 0!==a?a:null;null!==s&&null!==t.tView&&null===t.tView.ssrId&&(t.tView.ssrId=s);var l=pi(o,e,n,t);return cu(o,r,l),hi(du(o,r),l)}function Sv(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}function Ov(e){return Dt(function Cy(){return K.lFrame.contextLView}(),ne+e)}function Ku(e,n,t){var r=C();return Ue(r,Mt(),n)&&nn(re(),Ee(),r,e,n,r[$],t,!1),Ku}function Qu(e,n,t,r,a){var o=a?"class":"style";Tu(e,t,n.inputs[o],o,r)}function gi(e,n,t,r){var a=C(),i=re(),o=ne+e,u=a[$],s=i.firstCreatePass?function D0(e,n,t,r,a,i){var o=n.consts,s=Bt(n,e,2,r,Gn(o,a));return Du(n,t,s,Gn(o,i)),null!==s.attrs&&si(s,s.attrs,!1),null!==s.mergedAttrs&&si(s,s.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,s),s}(o,i,a,n,t,r):i.data[o],l=Av(i,a,s,u,n,e);a[o]=l;var c=ya(s);return Mn(s,!0),Uf(u,l,s),32!=(32&s.flags)&&Ta()&&za(i,a,l,s),0===function yy(){return K.lFrame.elementDepthCount}()&&He(l,a),function _y(){K.lFrame.elementDepthCount++}(),c&&(yu(i,a,s),mu(i,s,a)),null!==r&&_u(a,s),gi}function mi(){var e=Le();ro()?ao():Mn(e=e.parent,!1);var n=e;(function Dy(e){return K.skipHydrationRootTNode===e})(n)&&function My(){K.skipHydrationRootTNode=null}(),function Ey(){K.lFrame.elementDepthCount--}();var t=re();return t.firstCreatePass&&(ba(t,e),qi(e)&&t.queries.elementEnd(e)),null!=n.classesWithoutHost&&function xy(e){return 0!=(8&e.flags)}(n)&&Qu(t,n,C(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function Ly(e){return 0!=(16&e.flags)}(n)&&Qu(t,n,C(),n.stylesWithoutHost,!1),mi}function qu(e,n,t,r){return gi(e,n,t,r),mi(),qu}var Av=function(n,t,r,a,i,o){return zn(!0),Wa(a,i,Rc())};function I0(e,n,t,r,a,i){var o=n[xn],u=!o||It()||ri(o,i);if(zn(u),u)return Wa(r,a,Rc());var s=pi(o,e,n,t);return Dd(o,i)&&cu(o,i,s.nextSibling),o&&gf(t)&&Xn(t)&&(function Iy(e){K.skipHydrationRootTNode=e}(t),Zf(s)),s}function yi(e,n,t){var r=C(),a=re(),i=e+ne,o=a.firstCreatePass?function C0(e,n,t,r,a){var i=n.consts,o=Gn(i,r),u=Bt(n,e,8,"ng-container",o);return null!==o&&si(u,o,!0),Du(n,t,u,Gn(i,a)),null!==n.queries&&n.queries.elementStart(n,u),u}(i,a,r,n,t):a.data[i];Mn(o,!0);var u=Pv(a,r,o,e);return r[i]=u,Ta()&&za(a,r,u,o),He(u,r),ya(o)&&(yu(a,r,o),mu(a,o,r)),null!=t&&_u(r,o),yi}function _i(){var e=Le(),n=re();return ro()?ao():Mn(e=e.parent,!1),n.firstCreatePass&&(ba(n,e),qi(e)&&n.queries.elementEnd(e)),_i}function Yu(e,n,t){return yi(e,n,t),_i(),Yu}var Pv=function(n,t,r,a){return zn(!0),ko(t[$],"")};function T0(e,n,t,r){var i=n[xn],o=!i||It();if(zn(o),o)return ko(n[$],"");var u=pi(i,e,n,t),s=function HE(e,n){var t,r,a,i=e.data,o=null!==(t=null===(r=i[ei])||void 0===r?void 0:r[n])&&void 0!==t?t:null;return null===o&&null!==(a=i[Ft])&&void 0!==a&&a[n]&&(o=du(e,n)),o}(i,r);return cu(i,r,u),hi(s,u)}function Rv(){return C()}function Ju(e){return!!e&&"function"==typeof e.then}function Nv(e){return!!e&&"function"==typeof e.subscribe}function $u(e,n,t,r){var a=C(),i=re(),o=Le();return kv(i,a,a[$],o,e,n,r),$u}function Xu(e,n){var t=Le(),r=C(),a=re();return kv(a,r,ov(oo(a.data),t,r),t,e,n),Xu}function kv(e,n,t,r,a,i,o){var u=ya(r),l=e.firstCreatePass&&iv(e),c=n[De],f=av(n),d=!0;if(3&r.type||o){var v=qe(r,n),h=o?o(v):v,g=f.length,E=o?function(mT){return o(me(mT[r.index]))}:r.index,S=null;if(!o&&u&&(S=function w0(e,n,t,r){var a=e.cleanup;if(null!=a)for(var i=0;i<a.length-1;i+=2){var o=a[i];if(o===t&&a[i+1]===r){var u=n[gt],s=a[i+2];return u.length>s?u[s]:null}"string"==typeof o&&(i+=2)}return null}(e,n,a,r.index)),null!==S)(S.__ngLastListenerFn__||S).__ngNextListenerFn__=i,S.__ngLastListenerFn__=i,d=!1;else{i=Lv(r,n,c,i,!1);var k=t.listen(h,a,i);f.push(i,k),l&&l.push(a,E,g,g+1)}}else i=Lv(r,n,c,i,!1);var te,B=r.outputs;if(d&&null!==B&&(te=B[a])){var be=te.length;if(be)for(var Me=0;Me<be;Me+=2){var gT=n[te[Me]][te[Me+1]].subscribe(i),fm=f.length;f.push(i,gT),l&&l.push(a,r.index,fm,-(fm+1))}}}function xv(e,n,t,r){try{return In(6,n,t),!1!==t(r)}catch(a){return uv(e,a),!1}finally{In(7,n,t)}}function Lv(e,n,t,r,a){return function i(o){if(o===Function)return r;Hr(e.componentOffset>-1?Ye(e.index,n):n);for(var s=xv(n,t,r,o),l=i.__ngNextListenerFn__;l;)s=xv(n,t,l,o)&&s,l=l.__ngNextListenerFn__;return a&&!1===s&&o.preventDefault(),s}}function Fv(){return function Oy(e){return(K.lFrame.contextLView=function Ay(e,n){for(;e>0;)n=n[yt],e--;return n}(e,K.lFrame.contextLView))[De]}(arguments.length>0&&void 0!==arguments[0]?arguments[0]:1)}function S0(e,n){for(var t=null,r=function km(e){var n=e.attrs;if(null!=n){var t=n.indexOf(5);if(!(1&t))return n[t+1]}return null}(e),a=0;a<n.length;a++){var i=n[a];if("*"!==i){if(null===r?Fl(e,i,!0):Fm(r,i))return a}else t=a}return t}function Zv(e){var n=C()[Se][je];if(!n.projection)for(var r=n.projection=Cr(e?e.length:1,null),a=r.slice(),i=n.child;null!==i;){var o=e?S0(i,e):0;null!==o&&(a[o]?a[o].projectionNext=i:r[o]=i,a[o]=i),i=i.next}}function jv(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=arguments.length>2?arguments[2]:void 0,r=C(),a=re(),i=Bt(a,ne+e,16,null,t||null);null===i.projection&&(i.projection=n),ao(),(!r[xn]||It())&&32!=(32&i.flags)&&function U_(e,n,t){jf(n[$],0,n,t,Fo(e,t,n),Nf(t.parent||n[je],t,n))}(a,r,i)}function es(e,n,t){return Ei(e,"",n,"",t),es}function Ei(e,n,t,r,a){var i=C(),o=zt(i,n,t,r);return o!==J&&nn(re(),Ee(),i,e,o,i[$],a,!1),Ei}function ns(e,n,t,r,a,i,o){var u=C(),s=Kt(u,n,t,r,a,i);return s!==J&&nn(re(),Ee(),u,e,s,u[$],o,!1),ns}function ts(e,n,t,r,a,i,o,u,s){var l=C(),c=Qt(l,n,t,r,a,i,o,u);return c!==J&&nn(re(),Ee(),l,e,c,l[$],s,!1),ts}function rs(e,n,t,r,a,i,o,u,s,l,c){var f=C(),d=qt(f,n,t,r,a,i,o,u,s,l);return d!==J&&nn(re(),Ee(),f,e,d,f[$],c,!1),rs}function as(e,n,t,r,a,i,o,u,s,l,c,f,d){var v=C(),h=Yt(v,n,t,r,a,i,o,u,s,l,c,f);return h!==J&&nn(re(),Ee(),v,e,h,v[$],d,!1),as}function is(e,n,t,r,a,i,o,u,s,l,c,f,d,v,h){var g=C(),E=Jt(g,n,t,r,a,i,o,u,s,l,c,f,d,v);return E!==J&&nn(re(),Ee(),g,e,E,g[$],h,!1),is}function os(e,n,t,r,a,i,o,u,s,l,c,f,d,v,h,g,E){var S=C(),_=$t(S,n,t,r,a,i,o,u,s,l,c,f,d,v,h,g);return _!==J&&nn(re(),Ee(),S,e,_,S[$],E,!1),os}function us(e,n,t,r,a,i,o,u,s,l,c,f,d,v,h,g,E,S,_){var k=C(),B=Xt(k,n,t,r,a,i,o,u,s,l,c,f,d,v,h,g,E,S);return B!==J&&nn(re(),Ee(),k,e,B,k[$],_,!1),us}function ss(e,n,t){var r=C(),a=Gt(r,n);return a!==J&&nn(re(),Ee(),r,e,a,r[$],t,!1),ss}function Di(e,n){return e<<17|n<<2}function qn(e){return e>>17&32767}function ls(e){return 2|e}function st(e){return(131068&e)>>2}function cs(e,n){return-131069&e|n<<2}function fs(e){return 1|e}function Hv(e,n,t,r,a){for(var i=e[t+1],o=null===n,u=r?qn(i):st(i),s=!1;0!==u&&(!1===s||o);){var c=e[u+1];k0(e[u],n)&&(s=!0,e[u+1]=r?fs(c):ls(c)),u=r?qn(c):st(c)}s&&(e[t+1]=r?ls(i):fs(i))}function k0(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&At(e,n)>=0}var Re={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Uv(e){return e.substring(Re.key,Re.keyEnd)}function x0(e){return e.substring(Re.value,Re.valueEnd)}function Bv(e,n){var t=Re.textEnd;return t===n?-1:(n=Re.keyEnd=function Z0(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}(e,Re.key=n,t),er(e,n,t))}function Vv(e,n){var t=Re.textEnd,r=Re.key=er(e,n,t);return t===r?-1:(r=Re.keyEnd=function j0(e,n,t){for(var r;n<t&&(45===(r=e.charCodeAt(n))||95===r||(-33&r)>=65&&(-33&r)<=90||r>=48&&r<=57);)n++;return n}(e,r,t),r=Gv(e,r,t),r=Re.value=er(e,r,t),r=Re.valueEnd=function H0(e,n,t){for(var r=-1,a=-1,i=-1,o=n,u=o;o<t;){var s=e.charCodeAt(o++);if(59===s)return u;34===s||39===s?u=o=zv(e,s,o,t):n===o-4&&85===i&&82===a&&76===r&&40===s?u=o=zv(e,41,o,t):s>32&&(u=o),i=a,a=r,r=-33&s}return u}(e,r,t),Gv(e,r,t))}function Wv(e){Re.key=0,Re.keyEnd=0,Re.value=0,Re.valueEnd=0,Re.textEnd=e.length}function er(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function Gv(e,n,t,r){return(n=er(e,n,t))<t&&n++,n}function zv(e,n,t,r){for(var a=-1,i=t;i<r;){var o=e.charCodeAt(i++);if(o==n&&92!==a)return i;a=92==o&&92===a?0:o}throw new Error}function ds(e,n,t){return hn(e,n,t,!1),ds}function vs(e,n){return hn(e,n,null,!0),vs}function pn(e){gn(Yv,U0,e,!1)}function U0(e,n){for(var t=function F0(e){return Wv(e),Vv(e,er(e,0,Re.textEnd))}(n);t>=0;t=Vv(n,t))Yv(e,Uv(n),x0(n))}function Kv(e){gn(K0,On,e,!0)}function On(e,n){for(var t=function L0(e){return Wv(e),Bv(e,er(e,0,Re.textEnd))}(n);t>=0;t=Bv(n,t))en(e,Uv(n),!0)}function hn(e,n,t,r){var a=C(),i=re(),o=Fn(2);i.firstUpdatePass&&qv(i,e,o,r),n!==J&&Ue(a,o,n)&&Jv(i,i.data[Ve()],a,a[$],e,a[o+1]=function q0(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=ve(Zn(e)))),e}(n,t),r,o)}function gn(e,n,t,r){var a=re(),i=Fn(2);a.firstUpdatePass&&qv(a,null,i,r);var o=C();if(t!==J&&Ue(o,i,t)){var u=a.data[Ve()];if(Xv(u,r)&&!Qv(a,i)){var l=r?u.classesWithoutHost:u.stylesWithoutHost;null!==l&&(t=cn(l,t||"")),Qu(a,u,o,t,r)}else!function Q0(e,n,t,r,a,i,o,u){a===J&&(a=ie);for(var s=0,l=0,c=0<a.length?a[0]:null,f=0<i.length?i[0]:null;null!==c||null!==f;){var d=s<a.length?a[s+1]:void 0,v=l<i.length?i[l+1]:void 0,h=null,g=void 0;c===f?(s+=2,l+=2,d!==v&&(h=f,g=v)):null===f||null!==c&&c<f?(s+=2,h=c):(l+=2,h=f,g=v),null!==h&&Jv(e,n,t,r,h,g,o,u),c=s<a.length?a[s]:null,f=l<i.length?i[l]:null}}(a,u,o,o[$],o[i+1],o[i+1]=function z0(e,n,t){if(null==t||""===t)return ie;var r=[],a=Zn(t);if(Array.isArray(a))for(var i=0;i<a.length;i++)e(r,a[i],!0);else if("object"==typeof a)for(var o in a)a.hasOwnProperty(o)&&e(r,o,a[o]);else"string"==typeof a&&n(r,a);return r}(e,n,t),r,i)}}function Qv(e,n){return n>=e.expandoStartIndex}function qv(e,n,t,r){var a=e.data;if(null===a[t+1]){var i=a[Ve()],o=Qv(e,t);Xv(i,r)&&null===n&&!o&&(n=!1),n=function B0(e,n,t,r){var a=oo(e),i=r?n.residualClasses:n.residualStyles;if(null===a)0===(r?n.classBindings:n.styleBindings)&&(t=qr(t=ps(null,e,n,t,r),n.attrs,r),i=null);else{var u=n.directiveStylingLast;if(-1===u||e[u]!==a)if(t=ps(a,e,n,t,r),null===i){var l=function V0(e,n,t){var r=t?n.classBindings:n.styleBindings;if(0!==st(r))return e[qn(r)]}(e,n,r);void 0!==l&&Array.isArray(l)&&function W0(e,n,t,r){e[qn(t?n.classBindings:n.styleBindings)]=r}(e,n,r,l=qr(l=ps(null,e,n,l[1],r),n.attrs,r))}else i=function G0(e,n,t){for(var r=void 0,a=n.directiveEnd,i=1+n.directiveStylingLast;i<a;i++)r=qr(r,e[i].hostAttrs,t);return qr(r,n.attrs,t)}(e,n,r)}return void 0!==i&&(r?n.residualClasses=i:n.residualStyles=i),t}(a,i,n,r),function R0(e,n,t,r,a,i){var o=i?n.classBindings:n.styleBindings,u=qn(o),s=st(o);e[r]=t;var c,l=!1;if(Array.isArray(t)?(null===(c=t[1])||At(t,c)>0)&&(l=!0):c=t,a)if(0!==s){var v=qn(e[u+1]);e[r+1]=Di(v,u),0!==v&&(e[v+1]=cs(e[v+1],r)),e[u+1]=function A0(e,n){return 131071&e|n<<17}(e[u+1],r)}else e[r+1]=Di(u,0),0!==u&&(e[u+1]=cs(e[u+1],r)),u=r;else e[r+1]=Di(s,0),0===u?u=r:e[s+1]=cs(e[s+1],r),s=r;l&&(e[r+1]=ls(e[r+1])),Hv(e,c,r,!0),Hv(e,c,r,!1),function N0(e,n,t,r,a){var i=a?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof n&&At(i,n)>=0&&(t[r+1]=fs(t[r+1]))}(n,c,e,r,i),o=Di(u,s),i?n.classBindings=o:n.styleBindings=o}(a,i,n,t,o,r)}}function ps(e,n,t,r,a){var i=null,o=t.directiveEnd,u=t.directiveStylingLast;for(-1===u?u=t.directiveStart:u++;u<o&&(r=qr(r,(i=n[u]).hostAttrs,a),i!==e);)u++;return null!==e&&(t.directiveStylingLast=u),r}function qr(e,n,t){var r=t?1:2,a=-1;if(null!==n)for(var i=0;i<n.length;i++){var o=n[i];"number"==typeof o?a=o:a===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),en(e,o,!!t||n[++i]))}return void 0===e?null:e}function Yv(e,n,t){en(e,n,Zn(t))}function K0(e,n,t){var r=String(n);""!==r&&!r.includes(" ")&&en(e,r,t)}function Jv(e,n,t,r,a,i,o,u){if(3&n.type){var s=e.data,l=s[u+1],c=function P0(e){return 1==(1&e)}(l)?$v(s,n,t,a,st(l),o):void 0;Ii(c)||(Ii(i)||function O0(e){return 2==(2&e)}(l)&&(i=$v(s,null,t,a,u,o)),function V_(e,n,t,r,a){if(n)a?e.addClass(t,r):e.removeClass(t,r);else{var i=-1===r.indexOf("-")?void 0:Tn.DashCase;null==a?e.removeStyle(t,r,i):("string"==typeof a&&a.endsWith("!important")&&(a=a.slice(0,-10),i|=Tn.Important),e.setStyle(t,r,a,i))}}(r,o,Ma(Ve(),t),a,i))}}function $v(e,n,t,r,a,i){for(var o=null===n,u=void 0;a>0;){var s=e[a],l=Array.isArray(s),c=l?s[1]:s,f=null===c,d=t[a+1];d===J&&(d=f?ie:void 0);var v=f?Eo(d,r):c===r?d:void 0;if(l&&!Ii(v)&&(v=Eo(s,r)),Ii(v)&&(u=v,o))return u;var h=e[a+1];a=o?qn(h):st(h)}if(null!==n){var g=i?n.residualClasses:n.residualStyles;null!=g&&(u=Eo(g,r))}return u}function Ii(e){return void 0!==e}function Xv(e,n){return 0!=(e.flags&(n?8:16))}function ep(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=C(),r=re(),a=e+ne,i=r.firstCreatePass?Bt(r,a,1,n,null):r.data[a],o=np(r,t,i,n,e);t[a]=o,Ta()&&za(r,t,o,i),Mn(i,!1)}var np=function(n,t,r,a,i){return zn(!0),Va(t[$],a)};function Y0(e,n,t,r,a){var i=n[xn],o=!i||It()||ri(i,a);return zn(o),o?Va(n[$],r):pi(i,e,n,t)}function hs(e){return Mi("",e,""),hs}function Mi(e,n,t){var r=C(),a=zt(r,e,n,t);return a!==J&&Un(r,Ve(),a),Mi}function gs(e,n,t,r,a){var i=C(),o=Kt(i,e,n,t,r,a);return o!==J&&Un(i,Ve(),o),gs}function ms(e,n,t,r,a,i,o){var u=C(),s=Qt(u,e,n,t,r,a,i,o);return s!==J&&Un(u,Ve(),s),ms}function ys(e,n,t,r,a,i,o,u,s){var l=C(),c=qt(l,e,n,t,r,a,i,o,u,s);return c!==J&&Un(l,Ve(),c),ys}function _s(e,n,t,r,a,i,o,u,s,l,c){var f=C(),d=Yt(f,e,n,t,r,a,i,o,u,s,l,c);return d!==J&&Un(f,Ve(),d),_s}function Es(e,n,t,r,a,i,o,u,s,l,c,f,d){var v=C(),h=Jt(v,e,n,t,r,a,i,o,u,s,l,c,f,d);return h!==J&&Un(v,Ve(),h),Es}function Ds(e,n,t,r,a,i,o,u,s,l,c,f,d,v,h){var g=C(),E=$t(g,e,n,t,r,a,i,o,u,s,l,c,f,d,v,h);return E!==J&&Un(g,Ve(),E),Ds}function Is(e,n,t,r,a,i,o,u,s,l,c,f,d,v,h,g,E){var S=C(),_=Xt(S,e,n,t,r,a,i,o,u,s,l,c,f,d,v,h,g,E);return _!==J&&Un(S,Ve(),_),Is}function Ms(e){var n=C(),t=Gt(n,e);return t!==J&&Un(n,Ve(),t),Ms}function tp(e,n,t){gn(en,On,zt(C(),e,n,t),!0)}function rp(e,n,t,r,a){gn(en,On,Kt(C(),e,n,t,r,a),!0)}function ap(e,n,t,r,a,i,o){gn(en,On,Qt(C(),e,n,t,r,a,i,o),!0)}function ip(e,n,t,r,a,i,o,u,s){gn(en,On,qt(C(),e,n,t,r,a,i,o,u,s),!0)}function op(e,n,t,r,a,i,o,u,s,l,c){gn(en,On,Yt(C(),e,n,t,r,a,i,o,u,s,l,c),!0)}function up(e,n,t,r,a,i,o,u,s,l,c,f,d){gn(en,On,Jt(C(),e,n,t,r,a,i,o,u,s,l,c,f,d),!0)}function sp(e,n,t,r,a,i,o,u,s,l,c,f,d,v,h){gn(en,On,$t(C(),e,n,t,r,a,i,o,u,s,l,c,f,d,v,h),!0)}function lp(e,n,t,r,a,i,o,u,s,l,c,f,d,v,h,g,E){gn(en,On,Xt(C(),e,n,t,r,a,i,o,u,s,l,c,f,d,v,h,g,E),!0)}function cp(e){gn(en,On,Gt(C(),e),!0)}function fp(e,n,t){pn(zt(C(),e,n,t))}function dp(e,n,t,r,a){pn(Kt(C(),e,n,t,r,a))}function vp(e,n,t,r,a,i,o){pn(Qt(C(),e,n,t,r,a,i,o))}function pp(e,n,t,r,a,i,o,u,s){pn(qt(C(),e,n,t,r,a,i,o,u,s))}function hp(e,n,t,r,a,i,o,u,s,l,c){pn(Yt(C(),e,n,t,r,a,i,o,u,s,l,c))}function gp(e,n,t,r,a,i,o,u,s,l,c,f,d){pn(Jt(C(),e,n,t,r,a,i,o,u,s,l,c,f,d))}function mp(e,n,t,r,a,i,o,u,s,l,c,f,d,v,h){pn($t(C(),e,n,t,r,a,i,o,u,s,l,c,f,d,v,h))}function yp(e,n,t,r,a,i,o,u,s,l,c,f,d,v,h,g,E){pn(Xt(C(),e,n,t,r,a,i,o,u,s,l,c,f,d,v,h,g,E))}function _p(e){pn(Gt(C(),e))}function Cs(e,n,t,r,a){return hn(e,zt(C(),n,t,r),a,!1),Cs}function Ts(e,n,t,r,a,i,o){return hn(e,Kt(C(),n,t,r,a,i),o,!1),Ts}function bs(e,n,t,r,a,i,o,u,s){return hn(e,Qt(C(),n,t,r,a,i,o,u),s,!1),bs}function ws(e,n,t,r,a,i,o,u,s,l,c){return hn(e,qt(C(),n,t,r,a,i,o,u,s,l),c,!1),ws}function Ss(e,n,t,r,a,i,o,u,s,l,c,f,d){return hn(e,Yt(C(),n,t,r,a,i,o,u,s,l,c,f),d,!1),Ss}function Os(e,n,t,r,a,i,o,u,s,l,c,f,d,v,h){return hn(e,Jt(C(),n,t,r,a,i,o,u,s,l,c,f,d,v),h,!1),Os}function As(e,n,t,r,a,i,o,u,s,l,c,f,d,v,h,g,E){return hn(e,$t(C(),n,t,r,a,i,o,u,s,l,c,f,d,v,h,g),E,!1),As}function Ps(e,n,t,r,a,i,o,u,s,l,c,f,d,v,h,g,E,S,_){return hn(e,Xt(C(),n,t,r,a,i,o,u,s,l,c,f,d,v,h,g,E,S),_,!1),Ps}function Rs(e,n,t){return hn(e,Gt(C(),n),t,!1),Rs}function Ns(e,n,t){var r=C();return Ue(r,Mt(),n)&&nn(re(),Ee(),r,e,n,r[$],t,!0),Ns}function ks(e,n,t){var r=C();if(Ue(r,Mt(),n)){var i=re(),o=Ee();nn(i,o,r,e,n,ov(oo(i.data),o,r),t,!0)}return ks}var lt=void 0,X0=["en",[["a","p"],["AM","PM"],lt],[["AM","PM"],lt,lt],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],lt,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],lt,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",lt,"{1} 'at' {0}",lt],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function $0(e){var t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===r?1:5}],nr={};function eI(e,n,t){"string"!=typeof n&&(t=n,n=e[V.LocaleId]),n=n.toLowerCase().replace(/_/g,"-"),nr[n]=e,t&&(nr[n][V.ExtraData]=t)}function xs(e){var n=function rI(e){return e.toLowerCase().replace(/_/g,"-")}(e),t=Dp(n);if(t)return t;var r=n.split("-")[0];if(t=Dp(r))return t;if("en"===r)return X0;throw new Z(701,!1)}function nI(e){return xs(e)[V.CurrencyCode]||null}function Ep(e){return xs(e)[V.PluralCase]}function Dp(e){return e in nr||(nr[e]=we.ng&&we.ng.common&&we.ng.common.locales&&we.ng.common.locales[e]),nr[e]}function tI(){nr={}}var V=function(){return(V=V||{})[V.LocaleId=0]="LocaleId",V[V.DayPeriodsFormat=1]="DayPeriodsFormat",V[V.DayPeriodsStandalone=2]="DayPeriodsStandalone",V[V.DaysFormat=3]="DaysFormat",V[V.DaysStandalone=4]="DaysStandalone",V[V.MonthsFormat=5]="MonthsFormat",V[V.MonthsStandalone=6]="MonthsStandalone",V[V.Eras=7]="Eras",V[V.FirstDayOfWeek=8]="FirstDayOfWeek",V[V.WeekendRange=9]="WeekendRange",V[V.DateFormat=10]="DateFormat",V[V.TimeFormat=11]="TimeFormat",V[V.DateTimeFormat=12]="DateTimeFormat",V[V.NumberSymbols=13]="NumberSymbols",V[V.NumberFormats=14]="NumberFormats",V[V.CurrencyCode=15]="CurrencyCode",V[V.CurrencySymbol=16]="CurrencySymbol",V[V.CurrencyName=17]="CurrencyName",V[V.Currencies=18]="Currencies",V[V.Directionality=19]="Directionality",V[V.PluralCase=20]="PluralCase",V[V.ExtraData=21]="ExtraData",V}(),aI=["zero","one","two","few","many"],ct="en-US",Ci={marker:"element"},Ti={marker:"ICU"},Ie=function(){return(Ie=Ie||{})[Ie.SHIFT=2]="SHIFT",Ie[Ie.APPEND_EAGERLY=1]="APPEND_EAGERLY",Ie[Ie.COMMENT=2]="COMMENT",Ie}(),Ip=ct;function Ls(e){(function rn(e,n){null==e&&fe(n,e,null,"!=")})(e,"Expected localeId to be defined"),"string"==typeof e&&(Ip=e.toLowerCase().replace(/_/g,"-"))}function Mp(e,n,t){var r=n.insertBeforeIndex,a=Array.isArray(r)?r[0]:r;return null===a?kf(e,0,t):me(t[a])}function Cp(e,n,t,r,a){var i=n.insertBeforeIndex;if(Array.isArray(i)){var o=r,u=null;if(3&n.type||(u=o,o=a),null!==o&&-1===n.componentOffset)for(var s=1;s<i.length;s++)rt(e,o,t[i[s]],u,!1)}}function Tp(e,n){if(e.push(n),e.length>1)for(var t=e.length-2;t>=0;t--){var r=e[t];bp(r)||sI(r,n)&&null===lI(r)&&cI(r,n.index)}}function bp(e){return!(64&e.type)}function sI(e,n){return bp(n)||e.index>n.index}function lI(e){var n=e.insertBeforeIndex;return Array.isArray(n)?n[0]:n}function cI(e,n){var t=e.insertBeforeIndex;Array.isArray(t)?t[0]=n:(Lf(Mp,Cp),e.insertBeforeIndex=n)}function Yr(e,n){var t=e.data[n];return null===t||"string"==typeof t?null:t.hasOwnProperty("currentCaseLViewIndex")?t:t.value}function vI(e,n,t){var r=gu(e,t,64,null,null);return Tp(n,r),r}function bi(e,n){var t=n[e.currentCaseLViewIndex];return null===t?t:t<0?~t:t}function wp(e){return e>>>17}function Sp(e){return(131070&e)>>>1}var Jr=0,$r=0;function Ap(e,n,t,r){for(var o,a=t[$],i=null,u=0;u<n.length;u++){var s=n[u];if("string"==typeof s){var l=n[++u];null===t[l]&&(t[l]=Va(a,s))}else if("number"==typeof s)switch(1&s){case 0:var c=wp(s);null===i&&(i=c,o=Ga(a,r));var f=void 0,d=void 0;if(c===i?(f=r,d=o):(f=null,d=me(t[c])),null!==d){var v=Sp(s);rt(a,d,t[v],f,!1);var g=Yr(e,v);if(null!==g&&"object"==typeof g){var E=bi(g,t);null!==E&&Ap(e,g.create[E],t,t[g.anchorIdx])}}break;case 1:var _=n[++u],k=n[++u];Mu(a,Ma(s>>>1,t),null,null,_,k,null)}else switch(s){case Ti:var B=n[++u],te=n[++u];null===t[te]&&He(t[te]=ko(a,B),t);break;case Ci:var Me=n[++u],tn=n[++u];null===t[tn]&&He(t[tn]=Wa(a,Me,null),t)}}}function Pp(e,n,t,r,a){for(var i=0;i<t.length;i++){var o=t[i],u=t[++i];if(o&a)for(var s="",l=i+1;l<=i+u;l++){var c=t[l];if("string"==typeof c)s+=c;else if("number"==typeof c)if(c<0)s+=Y(n[r-c]);else{var f=c>>>2;switch(3&c){case 1:var d=t[++l],v=t[++l],h=e.data[f];"string"==typeof h?Mu(n[$],n[f],null,h,d,s,v):nn(e,h,n,d,s,n[$],v,!1);break;case 0:var g=n[f];null!==g&&wf(n[$],g,s);break;case 2:yI(e,Yr(e,f),n,s);break;case 3:Rp(e,Yr(e,f),r,n)}}}else{var E=t[i+1];if(E>0&&3==(3&E)){var _=Yr(e,E>>>2);n[_.currentCaseLViewIndex]<0&&Rp(e,_,r,n)}}i+=u}}function Rp(e,n,t,r){var a=r[n.currentCaseLViewIndex];if(null!==a){var i=Jr;a<0&&(a=r[n.currentCaseLViewIndex]=~a,i=-1),Pp(e,r,n.update[a],t,i)}}function yI(e,n,t,r){var a=function _I(e,n){var t=e.cases.indexOf(n);if(-1===t)switch(e.type){case 1:var r=function iI(e,n){var t=Ep(n)(parseInt(e,10)),r=aI[t];return void 0!==r?r:"other"}(n,function uI(){return Ip}());-1===(t=e.cases.indexOf(r))&&"other"!==r&&(t=e.cases.indexOf("other"));break;case 0:t=e.cases.indexOf("other")}return-1===t?null:t}(n,r);if(bi(n,t)!==a&&(Np(e,n,t),t[n.currentCaseLViewIndex]=null===a?null:~a,null!==a)){var o=t[n.anchorIdx];o&&Ap(e,n.create[a],t,o)}}function Np(e,n,t){var r=bi(n,t);if(null!==r)for(var a=n.remove[r],i=0;i<a.length;i++){var o=a[i];if(o>0){var u=Ma(o,t);null!==u&&Ka(t[$],u)}else Np(e,Yr(e,~o),t)}}function EI(){var t,r,e=[],n=-1;function i(u,s){n=0;var l=bi(u,s);r=null!==l?u.remove[l]:ie}function o(){if(n<r.length){var u=r[n++];return u>0?t[u]:(e.push(n,r),i(t[x].data[~u],t),o())}return 0===e.length?null:(r=e.pop(),n=e.pop(),o())}return function a(u,s){for(t=s;e.length;)e.pop();return i(u.value,s),o}}var wi=/\ufffd(\d+):?\d*\ufffd/gi,DI=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,II=/\ufffd(\d+)\ufffd/,xp=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,Xr="\ufffd",MI=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,CI=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,TI=/\uE500/g;function Lp(e,n,t,r,a,i,o){var u=Vr(e,r,1,null),s=u<<Ie.SHIFT,l=yr();n===l&&(l=null),null===l&&(s|=Ie.APPEND_EAGERLY),o&&(s|=Ie.COMMENT,function S_(e){void 0===Ao&&(Ao=e())}(EI)),a.push(s,null===i?"":i);var c=gu(e,u,o?32:1,null===i?"":i,null);Tp(t,c);var f=c.index;return Mn(c,!1),null!==l&&n!==l&&function dI(e,n){var t=e.insertBeforeIndex;null===t?(Lf(Mp,Cp),t=e.insertBeforeIndex=[null,n]):(function Vn(e,n,t){e!=n&&fe(t,e,n,"==")}(Array.isArray(t),!0,"Expecting array here"),t.push(n))}(l,f),c}function SI(e,n,t,r,a,i,o){var u=o.match(wi),s=Lp(e,n,t,i,r,u?null:o,!1);u&&ea(a,o,s.index,null,0,null)}function ea(e,n,t,r,a,i){var o=e.length,u=o+1;e.push(null,null);for(var s=o+2,l=n.split(wi),c=0,f=0;f<l.length;f++){var d=l[f];if(1&f){var v=a+parseInt(d,10);e.push(-1-v),c|=Fp(v)}else""!==d&&e.push(d)}return e.push(t<<2|(r?1:0)),r&&e.push(r,i),e[o]=c,e[u]=e.length-s,c}function AI(e){for(var n=0,t=0;t<e.length;t++){var r=e[t];"number"==typeof r&&r<0&&n++}return n}function Fp(e){return 1<<Math.min(e,31)}function Zp(e){for(var n,i,t="",r=0,a=!1;null!==(n=MI.exec(e));)a?n[0]==="".concat(Xr,"/*").concat(i).concat(Xr)&&(r=n.index,a=!1):(t+=e.substring(r,n.index+n[0].length),i=n[1],a=!0);return t+e.slice(r)}function jp(e,n,t,r,a,i){var o=0,u={type:a.type,currentCaseLViewIndex:Vr(e,n,1,null),anchorIdx:i,cases:[],create:[],remove:[],update:[]};(function LI(e,n,t){e.push(Fp(n.mainBinding),2,-1-n.mainBinding,t<<2|2)})(t,a,i),function fI(e,n,t){var r=e.data[n];null===r?e.data[n]=t:r.value=t}(e,i,u);for(var s=a.values,l=0;l<s.length;l++){for(var c=s[l],f=[],d=0;d<c.length;d++){var v=c[d];if("string"!=typeof v){var h=f.push(v)-1;c[d]="\x3c!--\ufffd".concat(h,"\ufffd--\x3e")}}o=kI(e,u,n,t,r,a.cases[l],c.join(""),f)|o}o&&function FI(e,n,t){e.push(n,1,t<<2|3)}(t,o,i)}function NI(e){for(var n=[],t=[],r=1,a=0,i=Fs(e=e.replace(xp,function(l,c,f){return r="select"===f?0:1,a=parseInt(c.slice(1),10),""})),o=0;o<i.length;){var u=i[o++].trim();1===r&&(u=u.replace(/\s*(?:=)?(\w+)\s*/,"$1")),u.length&&n.push(u);var s=Fs(i[o++]);n.length>t.length&&t.push(s)}return{type:r,mainBinding:a,cases:n,values:t}}function Fs(e){if(!e)return[];var i,n=0,t=[],r=[],a=/[{}]/g;for(a.lastIndex=0;i=a.exec(e);){var o=i.index;if("}"==i[0]){if(t.pop(),0==t.length){var u=e.substring(n,o);xp.test(u)?r.push(NI(u)):r.push(u),n=o+1}}else{if(0==t.length){var s=e.substring(n,o);r.push(s),n=o+1}t.push("{")}}var l=e.substring(n);return r.push(l),r}function kI(e,n,t,r,a,i,o,u){var s=[],l=[],c=[];n.cases.push(i),n.create.push(s),n.remove.push(l),n.update.push(c);var d=Kf(Ar()).getInertBodyElement(o),v=zo(d)||d;return v?Hp(e,n,t,r,s,l,c,v,a,u,0):0}function Hp(e,n,t,r,a,i,o,u,s,l,c){for(var f=0,d=u.firstChild;d;){var v=Vr(e,t,1,null);switch(d.nodeType){case Node.ELEMENT_NODE:var h=d,g=h.tagName.toLowerCase();if(Wo.hasOwnProperty(g)){Zs(a,Ci,g,s,v),e.data[v]=g;for(var E=h.attributes,S=0;S<E.length;S++){var _=E.item(S),k=_.name.toLowerCase();_.value.match(wi)?Jf.hasOwnProperty(k)&&ea(o,_.value,v,_.name,0,Go[k]?Ya:null):ZI(a,v,_)}f=Hp(e,n,t,r,a,i,o,d,v,l,c+1)|f,Up(i,v,c)}break;case Node.TEXT_NODE:var te=d.textContent||"",be=te.match(wi);Zs(a,null,be?"":te,s,v),Up(i,v,c),be&&(f=ea(o,te,v,null,0,null)|f);break;case Node.COMMENT_NODE:var Me=II.exec(d.textContent||"");if(Me){var Bn=l[parseInt(Me[1],10)];Zs(a,Ti,"",s,v),jp(e,t,r,s,Bn,v),xI(i,v,c)}}d=d.nextSibling}return f}function Up(e,n,t){0===t&&e.push(n)}function xI(e,n,t){0===t&&(e.push(~n),e.push(n))}function Zs(e,n,t,r,a){null!==n&&e.push(n),e.push(t,a,function pI(e,n,t){return e|n<<17|t<<1}(0,r,a))}function ZI(e,n,t){e.push(n<<1|1,t.name,t.value)}var Bp=0,jI=/\[(\ufffd.+?\ufffd?)\]/,HI=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,UI=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,BI=/{([A-Z0-9_]+)}/g,VI=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,WI=/\/\*/,GI=/\d+\:(\d+)/;function js(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1,r=re(),a=C(),i=ne+e,o=Gn(r.consts,n),u=yr();r.firstCreatePass&&function wI(e,n,t,r,a,i){var o=yr(),u=[],s=[],l=[[]];a=function RI(e,n){if(function PI(e){return-1===e}(n))return Zp(e);var t=e.indexOf(":".concat(n).concat(Xr))+2+n.toString().length,r=e.search(new RegExp("".concat(Xr,"\\/\\*\\d+:").concat(n).concat(Xr)));return Zp(e.substring(t,r))}(a,i);for(var c=function bI(e){return e.replace(TI," ")}(a).split(CI),f=0;f<c.length;f++){var d=c[f];if(1&f){var B=47===d.charCodeAt(0),be=(d.charCodeAt(B?1:0),ne+Number.parseInt(d.substring(B?2:1)));if(B)l.shift(),Mn(yr(),!1);else{var Me=vI(e,l[0],be);l.unshift([]),Mn(Me,!0)}}else for(var v=Fs(d),h=0;h<v.length;h++){var g=v[h];if(1&h){var S=g;if("object"!=typeof S)throw new Error('Unable to parse ICU expression in "'.concat(a,'" message.'));jp(e,t,s,n,S,Lp(e,o,l[0],t,u,"",!0).index)}else""!==g&&SI(e,o,l[0],u,s,t,g)}}e.data[r]={create:u,update:s}}(r,null===u?0:u.index,a,i,o,t),2===r.type?a[Se][X]|=32:a[X]|=32;var l=r.data[i],f=Af(r,u===a[je]?null:u,a);(function mI(e,n,t,r){for(var a=e[$],i=0;i<n.length;i++){var o=n[i++],u=n[i],l=(o&Ie.APPEND_EAGERLY)===Ie.APPEND_EAGERLY,c=o>>>Ie.SHIFT,f=e[c];null===f&&(f=e[c]=(o&Ie.COMMENT)===Ie.COMMENT?a.createComment(u):Va(a,u)),l&&null!==t&&rt(a,t,f,r,!1)}})(a,l.create,f,u&&8&u.type?a[u.index]:null),Ic(!0)}function Hs(){Ic(!1)}function Vp(e,n,t){js(e,n,t),Hs()}function Wp(e,n){var t=re(),r=Gn(t.consts,n);!function OI(e,n,t){var a=Le().index,i=[];if(e.firstCreatePass&&null===e.data[n]){for(var o=0;o<t.length;o+=2){var u=t[o],s=t[o+1];if(""!==s){if(DI.test(s))throw new Error('ICU expressions are not supported in attributes. Message: "'.concat(s,'".'));ea(i,s,a,u,AI(i),null)}}e.data[n]=i}}(t,e+ne,r)}function Us(e){return function hI(e){e&&(Jr|=1<<Math.min($r,31)),$r++}(Ue(C(),Mt(),e)),Us}function Gp(e){!function gI(e,n,t){if($r>0){var r=e.data[t];Pp(e,n,Array.isArray(r)?r:r.update,Ln()-$r-1,Jr)}Jr=0,$r=0}(re(),C(),e+ne)}function zp(e){return function zI(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=e;if(jI.test(e)){var r={},a=[Bp];t=t.replace(HI,function(i,o,u){var s=o||u,l=r[s]||[];if(l.length||(s.split("|").forEach(function(S){var _=S.match(GI),k=_?parseInt(_[1],10):Bp,B=WI.test(S);l.push([k,B,S])}),r[s]=l),!l.length)throw new Error("i18n postprocess: unmatched placeholder - ".concat(s));for(var c=a[a.length-1],f=0,d=0;d<l.length;d++)if(l[d][0]===c){f=d;break}var v=(0,P.Z)(l[f],3),h=v[0],E=v[2];return v[1]?a.pop():c!==h&&a.push(h),l.splice(f,1),E})}return Object.keys(n).length&&(t=(t=(t=t.replace(UI,function(i,o,u,s,l,c){return n.hasOwnProperty(u)?"".concat(o).concat(n[u]).concat(c):i})).replace(BI,function(i,o){return n.hasOwnProperty(o)?n[o]:i})).replace(VI,function(i,o){if(n.hasOwnProperty(o)){var u=n[o];if(!u.length)throw new Error("i18n postprocess: unmatched ICU - ".concat(i," with key: ").concat(o));return u.shift()}return i})),t}(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}function Bs(e,n,t,r,a){if(e=Q(e),Array.isArray(e))for(var i=0;i<e.length;i++)Bs(e[i],n,t,r,a);else{var o=re(),u=C(),s=it(e)?e:Q(e.provide),l=vd(e),c=Le(),f=1048575&c.providerIndexes,d=c.directiveStart,v=c.providerIndexes>>20;if(it(e)||!e.multi){var h=new _r(l,a,Ut),g=Ws(s,n,a?f:f+v,d);-1===g?(go(Ra(c,u),o,s),Vs(o,e,n.length),n.push(s),c.directiveStart++,c.directiveEnd++,a&&(c.providerIndexes+=1048576),t.push(h),u.push(h)):(t[g]=h,u[g]=h)}else{var E=Ws(s,n,f+v,d),S=Ws(s,n,f,f+v),k=S>=0&&t[S];if(a&&!k||!a&&!(E>=0&&t[E])){go(Ra(c,u),o,s);var B=function YI(e,n,t,r,a){var i=new _r(e,t,Ut);return i.multi=[],i.index=n,i.componentProviders=0,Kp(i,a,r&&!t),i}(a?qI:QI,t.length,a,r,l);!a&&k&&(t[S].providerFactory=B),Vs(o,e,n.length,0),n.push(s),c.directiveStart++,c.directiveEnd++,a&&(c.providerIndexes+=1048576),t.push(B),u.push(B)}else Vs(o,e,E>-1?E:S,Kp(t[a?S:E],l,!a&&r));!a&&r&&k&&t[S].componentProviders++}}}function Vs(e,n,t,r){var a=it(n),i=function EE(e){return!!e.useClass}(n);if(a||i){var s=(i?Q(n.useClass):n).prototype.ngOnDestroy;if(s){var l=e.destroyHooks||(e.destroyHooks=[]);if(!a&&n.multi){var c=l.indexOf(t);-1===c?l.push(t,[r,s]):l[c+1].push(r,s)}else l.push(t,s)}}}function Kp(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Ws(e,n,t,r){for(var a=t;a<r;a++)if(n[a]===e)return a;return-1}function QI(e,n,t,r){return Gs(this.multi,[])}function qI(e,n,t,r){var i,a=this.multi;if(this.providerFactory){var o=this.providerFactory.componentProviders,u=tt(t,t[x],this.providerFactory.index,r);Gs(a,i=u.slice(0,o));for(var s=o;s<u.length;s++)i.push(u[s])}else Gs(a,i=[]);return i}function Gs(e,n){for(var t=0;t<e.length;t++)n.push((0,e[t])());return n}function Qp(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return function(t){t.providersResolver=function(r,a){return function KI(e,n,t){var r=re();if(r.firstCreatePass){var a=vn(e);Bs(t,r.data,r.blueprint,a,!0),Bs(n,r.data,r.blueprint,a,!1)}}(r,a?a(e):e,n)}}}var tr=(0,y.Z)(function e(){(0,m.Z)(this,e)}),qp=(0,y.Z)(function e(){(0,m.Z)(this,e)});function Yp(e,n){return new Si(e,n??null,[])}var JI=Yp,Si=function(e){(0,N.Z)(t,e);var n=(0,j.Z)(t);function t(r,a,i){var o;(0,m.Z)(this,t),(o=n.call(this))._parent=a,o._bootstrapComponents=[],o.destroyCbs=[],o.componentFactoryResolver=new fv((0,T.Z)(o));var u=$e(r);return o._bootstrapComponents=Hn(u.bootstrap),o._r3Injector=zd(r,a,[{provide:tr,useValue:(0,T.Z)(o)},{provide:Zr,useValue:o.componentFactoryResolver}].concat((0,D.Z)(i)),ve(r),new Set(["environment"])),o._r3Injector.resolveInjectorInitializers(),o.instance=o._r3Injector.get(r),o}return(0,y.Z)(t,[{key:"injector",get:function(){return this._r3Injector}},{key:"destroy",value:function(){var a=this._r3Injector;!a.destroyed&&a.destroy(),this.destroyCbs.forEach(function(i){return i()}),this.destroyCbs=null}},{key:"onDestroy",value:function(a){this.destroyCbs.push(a)}}]),t}(tr),Oi=function(e){(0,N.Z)(t,e);var n=(0,j.Z)(t);function t(r){var a;return(0,m.Z)(this,t),(a=n.call(this)).moduleType=r,a}return(0,y.Z)(t,[{key:"create",value:function(a){return new Si(this.moduleType,a,[])}}]),t}(qp),Jp=function(e){(0,N.Z)(t,e);var n=(0,j.Z)(t);function t(r){var a;(0,m.Z)(this,t),(a=n.call(this)).componentFactoryResolver=new fv((0,T.Z)(a)),a.instance=null;var i=new tu([].concat((0,D.Z)(r.providers),[{provide:tr,useValue:(0,T.Z)(a)},{provide:Zr,useValue:a.componentFactoryResolver}]),r.parent||Xa(),r.debugName,new Set(["environment"]));return a.injector=i,r.runEnvironmentInitializers&&i.resolveInjectorInitializers(),a}return(0,y.Z)(t,[{key:"destroy",value:function(){this.injector.destroy()}},{key:"onDestroy",value:function(a){this.injector.onDestroy(a)}}]),t}(tr);function $p(e,n){return new Jp({providers:e,parent:n,debugName:arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,runEnvironmentInitializers:!0}).injector}var XI=function(){var e=function(){function n(t){(0,m.Z)(this,n),this._injector=t,this.cachedInjectors=new Map}return(0,y.Z)(n,[{key:"getOrCreateStandaloneInjector",value:function(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r.id)){var a=ld(!1,r.type),i=a.length>0?$p([a],this._injector,"Standalone[".concat(r.type.name,"]")):null;this.cachedInjectors.set(r.id,i)}return this.cachedInjectors.get(r.id)}},{key:"ngOnDestroy",value:function(){try{var a,r=(0,w.Z)(this.cachedInjectors.values());try{for(r.s();!(a=r.n()).done;){var i=a.value;null!==i&&i.destroy()}}catch(o){r.e(o)}finally{r.f()}}finally{this.cachedInjectors.clear()}}}]),n}();return e.\u0275prov=Ce({token:e,providedIn:"environment",factory:function(){return new e(Fe(ot))}}),e}();function Xp(e){e.getStandaloneInjector=function(n){return n.get(XI).getOrCreateStandaloneInjector(e)}}function zs(e){var n=We(e);if(null===n)return null;if(void 0===n.component){var t=n.lView;if(null===t)return null;n.component=function b_(e,n){var t=n[x].data[e],a=t.componentOffset;return a>-1?n[t.directiveStart+a]:null}(n.nodeIndex,t)}return n.component}function eh(e){!function iM(e){if(typeof Element<"u"&&!(e instanceof Element))throw new Error("Expecting instance of DOM Element")}(e);var n=We(e),t=n?n.lView:null;return null===t?null:t[De]}function nh(e){var r,n=We(e),t=n?n.lView:null;if(null===t)return null;for(;2===t[x].type&&(r=wr(t));)t=r;return 512&t[X]?null:t[De]}function th(e){var n=Df(e);return null!==n?[A_(n)]:[]}function rh(e){var n=We(e),t=n?n.lView:null;return null===t?Qn.NULL:new Tt(t[x].data[n.nodeIndex],t)}function ah(e){if(e instanceof Text)return[];var n=We(e),t=n?n.lView:null;if(null===t)return[];var r=t[x],a=n.nodeIndex;return null!=r&&r.data[a]?(void 0===n.directives&&(n.directives=Tf(a,t)),null===n.directives?[]:(0,D.Z)(n.directives)):[]}function nM(e){var n=e.constructor;if(!n)throw new Error("Unable to find the instance constructor");var t=oe(n);if(t)return{inputs:t.inputs,outputs:t.outputs,encapsulation:t.encapsulation,changeDetection:t.onPush?an.OnPush:an.Default};var r=Ze(n);return r?{inputs:r.inputs,outputs:r.outputs}:null}function Ks(e){return We(e).native}function ih(e){var n=We(e),t=null===n?null:n.lView;if(null===t)return[];var a=t[gt],i=t[x].cleanup,o=[];if(i&&a)for(var u=0;u<i.length;){var s=i[u++],l=i[u++];if("string"==typeof s){var c=s,f=me(t[l]),d=a[i[u++]],v=i[u++];e==f&&o.push({element:e,name:c,callback:d,useCapture:"boolean"==typeof v&&v,type:"boolean"==typeof v||v>=0?"dom":"output"})}}return o.sort(rM),o}function rM(e,n){return e.name==n.name?0:e.name<n.name?-1:1}function aM(e){return void 0!==e.type&&void 0!==e.declaredInputs&&void 0!==e.findHostDirectiveDefs}function oh(e,n,t,r){return mn(function(){var a=e;if(null!==n)if(a.hasOwnProperty("decorators")&&void 0!==a.decorators){var i;(i=a.decorators).push.apply(i,(0,D.Z)(n))}else a.decorators=n;null!==t&&(a.ctorParameters=t),null!==r&&(a.propDecorators=a.hasOwnProperty("propDecorators")&&void 0!==a.propDecorators?(0,F.Z)((0,F.Z)({},a.propDecorators),r):r)})}function uh(e,n,t){var r=Be()+e,a=C();return a[r]===J?Sn(a,r,t?n.call(t):n()):Gr(a,r)}function sh(e,n,t,r){return mh(C(),Be(),e,n,t,r)}function lh(e,n,t,r,a){return yh(C(),Be(),e,n,t,r,a)}function ch(e,n,t,r,a,i){return _h(C(),Be(),e,n,t,r,a,i)}function fh(e,n,t,r,a,i,o){return Eh(C(),Be(),e,n,t,r,a,i,o)}function dh(e,n,t,r,a,i,o,u){var s=Be()+e,l=C(),c=un(l,s,t,r,a,i);return Ue(l,s+4,o)||c?Sn(l,s+5,u?n.call(u,t,r,a,i,o):n(t,r,a,i,o)):Gr(l,s+5)}function vh(e,n,t,r,a,i,o,u,s){var l=Be()+e,c=C(),f=un(c,l,t,r,a,i);return ut(c,l+4,o,u)||f?Sn(c,l+6,s?n.call(s,t,r,a,i,o,u):n(t,r,a,i,o,u)):Gr(c,l+6)}function ph(e,n,t,r,a,i,o,u,s,l){var c=Be()+e,f=C(),d=un(f,c,t,r,a,i);return di(f,c+4,o,u,s)||d?Sn(f,c+7,l?n.call(l,t,r,a,i,o,u,s):n(t,r,a,i,o,u,s)):Gr(f,c+7)}function hh(e,n,t,r,a,i,o,u,s,l,c){var f=Be()+e,d=C(),v=un(d,f,t,r,a,i);return un(d,f+4,o,u,s,l)||v?Sn(d,f+8,c?n.call(c,t,r,a,i,o,u,s,l):n(t,r,a,i,o,u,s,l)):Gr(d,f+8)}function gh(e,n,t,r){return Dh(C(),Be(),e,n,t,r)}function na(e,n){var t=e[n];return t===J?void 0:t}function mh(e,n,t,r,a,i){var o=n+t;return Ue(e,o,a)?Sn(e,o+1,i?r.call(i,a):r(a)):na(e,o+1)}function yh(e,n,t,r,a,i,o){var u=n+t;return ut(e,u,a,i)?Sn(e,u+2,o?r.call(o,a,i):r(a,i)):na(e,u+2)}function _h(e,n,t,r,a,i,o,u){var s=n+t;return di(e,s,a,i,o)?Sn(e,s+3,u?r.call(u,a,i,o):r(a,i,o)):na(e,s+3)}function Eh(e,n,t,r,a,i,o,u,s){var l=n+t;return un(e,l,a,i,o,u)?Sn(e,l+4,s?r.call(s,a,i,o,u):r(a,i,o,u)):na(e,l+4)}function Dh(e,n,t,r,a,i){for(var o=n+t,u=!1,s=0;s<a.length;s++)Ue(e,o++,a[s])&&(u=!0);return u?Sn(e,o,r.apply(i,a)):na(e,o)}function Ih(e,n){var r,i,t=re(),a=e+ne;t.firstCreatePass?(r=function oM(e,n){if(n)for(var t=n.length-1;t>=0;t--){var r=n[t];if(e===r.name)return r}}(n,t.pipeRegistry),t.data[a]=r,r.onDestroy&&(null!==(i=t.destroyHooks)&&void 0!==i?i:t.destroyHooks=[]).push(a,r.onDestroy)):r=t.data[a];var o=r.factory||(r.factory=et(r.type)),u=ze(Ut);try{var s=Pa(!1),l=o();return Pa(s),Sv(t,C(),a,l),l}finally{ze(u)}}function Mh(e,n,t){var r=e+ne,a=C(),i=Dt(a,r);return ta(a,r)?mh(a,Be(),n,i.transform,t,i):i.transform(t)}function Ch(e,n,t,r){var a=e+ne,i=C(),o=Dt(i,a);return ta(i,a)?yh(i,Be(),n,o.transform,t,r,o):o.transform(t,r)}function Th(e,n,t,r,a){var i=e+ne,o=C(),u=Dt(o,i);return ta(o,i)?_h(o,Be(),n,u.transform,t,r,a,u):u.transform(t,r,a)}function bh(e,n,t,r,a,i){var o=e+ne,u=C(),s=Dt(u,o);return ta(u,o)?Eh(u,Be(),n,s.transform,t,r,a,i,s):s.transform(t,r,a,i)}function wh(e,n,t){var r=e+ne,a=C(),i=Dt(a,r);return ta(a,r)?Dh(a,Be(),n,i.transform,t,i):i.transform.apply(i,t)}function ta(e,n){return e[x].data[n].pure}function Qs(e){return function(n){setTimeout(e,void 0,n)}}var An=function(e){(0,N.Z)(t,e);var n=(0,j.Z)(t);function t(){var r,a=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return(0,m.Z)(this,t),(r=n.call(this)).__isAsync=a,r}return(0,y.Z)(t,[{key:"emit",value:function(a){(0,O.Z)((0,A.Z)(t.prototype),"next",this).call(this,a)}},{key:"subscribe",value:function(a,i,o){var u=a,s=i||function(){return null},l=o;if(a&&"object"==typeof a){var c,f,d,v=a;u=null===(c=v.next)||void 0===c?void 0:c.bind(v),s=null===(f=v.error)||void 0===f?void 0:f.bind(v),l=null===(d=v.complete)||void 0===d?void 0:d.bind(v)}this.__isAsync&&(s=Qs(s),u&&(u=Qs(u)),l&&(l=Qs(l)));var h=(0,O.Z)((0,A.Z)(t.prototype),"subscribe",this).call(this,{next:u,error:s,complete:l});return a instanceof he.w0&&a.add(h),h}}]),t}(ye.x);function sM(){return this._results[Symbol.iterator]()}var Sh=function(){function e(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];(0,m.Z)(this,e),this._emitDistinctChangesOnly=n,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;var t=e.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=sM)}return(0,y.Z)(e,[{key:"changes",get:function(){return this._changes||(this._changes=new An)}},{key:"get",value:function(t){return this._results[t]}},{key:"map",value:function(t){return this._results.map(t)}},{key:"filter",value:function(t){return this._results.filter(t)}},{key:"find",value:function(t){return this._results.find(t)}},{key:"reduce",value:function(t,r){return this._results.reduce(t,r)}},{key:"forEach",value:function(t){this._results.forEach(t)}},{key:"some",value:function(t){return this._results.some(t)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(t,r){var a=this;a.dirty=!1;var i=on(t);(this._changesDetected=!function Yy(e,n,t){if(e.length!==n.length)return!1;for(var r=0;r<e.length;r++){var a=e[r],i=n[r];if(t&&(a=t(a),i=t(i)),i!==a)return!1}return!0}(a._results,i,r))&&(a._results=i,a.length=i.length,a.last=i[this.length-1],a.first=i[0])}},{key:"notifyOnChanges",value:function(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}},{key:"setDirty",value:function(){this.dirty=!0}},{key:"destroy",value:function(){this.changes.complete(),this.changes.unsubscribe()}}]),e}(),ra=function(){var e=(0,y.Z)(function n(){(0,m.Z)(this,n)});return e.__NG_ELEMENT_ID__=fM,e}(),cM=function(e){(0,N.Z)(t,e);var n=(0,j.Z)(t);function t(r,a,i){var o;return(0,m.Z)(this,t),(o=n.call(this))._declarationLView=r,o._declarationTContainer=a,o.elementRef=i,o}return(0,y.Z)(t,[{key:"ssrId",get:function(){var a;return(null===(a=this._declarationTContainer.tView)||void 0===a?void 0:a.ssrId)||null}},{key:"createEmbeddedView",value:function(a,i){return this.createEmbeddedViewImpl(a,i,null)}},{key:"createEmbeddedViewImpl",value:function(a,i,o){var u=this._declarationTContainer.tView,s=oi(this._declarationLView,u,a,16,null,u.declTNode,null,null,null,i||null,o||null);s[hr]=this._declarationLView[this._declarationTContainer.index];var c=this._declarationLView[_n];return null!==c&&(s[_n]=c.createEmbeddedView(u)),bu(u,s,a),new Vt(s)}}]),t}(ra);function fM(){return Ai(Le(),C())}function Ai(e,n){return 4&e.type?new cM(n,e,Zt(e,n)):null}function Oh(e){var n,o,t=null!==(n=e[mr])&&void 0!==n?n:[],a=e[_e][$],i=(0,w.Z)(t);try{for(i.s();!(o=i.n()).done;)dM(o.value,a)}catch(s){i.e(s)}finally{i.f()}e[mr]=ie}function dM(e,n){var t=0,r=e.firstChild;if(r)for(var a=e.data[Lr];t<a;){var i=r.nextSibling;Ka(n,r,!1),r=i,t++}}function vM(e){Oh(e);for(var n=xe;n<e.length;n++)qs(e[n])}function qs(e){for(var n=e[x],t=ne;t<n.bindingStartIndex;t++)Qe(e[t])?vM(e[t]):Array.isArray(e[t])&&qs(e[t])}var Ah=function(n,t){return null};function gM(e,n){var t,r=null!==(t=e[mr])&&void 0!==t?t:[];return n&&0!==r.length?r[0].data[md]===n?r.shift():(Oh(e),null):null}function Ph(e,n){return Ah(e,n)}var Pi=function(){var e=(0,y.Z)(function n(){(0,m.Z)(this,n)});return e.__NG_ELEMENT_ID__=yM,e}();function yM(){return kh(Le(),C())}var Rh=function(e){(0,N.Z)(t,e);var n=(0,j.Z)(t);function t(r,a,i){var o;return(0,m.Z)(this,t),(o=n.call(this))._lContainer=r,o._hostTNode=a,o._hostLView=i,o}return(0,y.Z)(t,[{key:"element",get:function(){return Zt(this._hostTNode,this._hostLView)}},{key:"injector",get:function(){return new Tt(this._hostTNode,this._hostLView)}},{key:"parentInjector",get:function(){var a=ho(this._hostTNode,this._hostLView);if(Lc(a)){var i=Aa(a,this._hostLView),o=Oa(a);return new Tt(i[x].data[o+8],i)}return new Tt(null,this._hostLView)}},{key:"clear",value:function(){for(;this.length>0;)this.remove(this.length-1)}},{key:"get",value:function(a){var i=Nh(this._lContainer);return null!==i&&i[a]||null}},{key:"length",get:function(){return this._lContainer.length-xe}},{key:"createEmbeddedView",value:function(a,i,o){var u,s;"number"==typeof o?u=o:null!=o&&(u=o.index,s=o.injector);var l=Ph(this._lContainer,a.ssrId),c=a.createEmbeddedViewImpl(i||{},s,l),f=!!l&&!Ua(this._hostTNode);return this.insertImpl(c,u,f),c}},{key:"createComponent",value:function(a,i,o,u,s){var l,c,f,v,d=a&&!Ir(a);if(d)v=i;else{var h=i||{};v=h.index,o=h.injector,u=h.projectableNodes,s=h.environmentInjector||h.ngModuleRef}var g=d?a:new Wt(oe(a)),E=o||this.parentInjector;if(!s&&null==g.ngModule){var _=(d?E:this.parentInjector).get(ot,null);_&&(s=_)}var k=oe(null!==(l=g.componentType)&&void 0!==l?l:{}),B=Ph(this._lContainer,null!==(c=k?.id)&&void 0!==c?c:null),te=null!==(f=B?.firstChild)&&void 0!==f?f:null,be=g.create(E,u,te,s),Me=!!B&&!Ua(this._hostTNode);return this.insertImpl(be.hostView,v,Me),be}},{key:"insert",value:function(a,i){return this.insertImpl(a,i,!1)}},{key:"insertImpl",value:function(a,i,o){var u=a._lView,s=u[x];if(function hy(e){return Qe(e[_e])}(u)){var l=this.indexOf(a);if(-1!==l)this.detach(l);else{var c=u[_e],f=new Rh(c,c[je],c[_e]);f.detach(f.indexOf(a))}}var d=this._adjustIndex(i),v=this._lContainer;if(function x_(e,n,t,r){var a=xe+r,i=t.length;r>0&&(t[a-1][dn]=n),r<i-xe?(n[dn]=t[a],Jc(t,xe+r,n)):(t.push(n),n[dn]=null),n[_e]=t;var o=n[hr];null!==o&&t!==o&&function L_(e,n){var t=e[Et];n[Se]!==n[_e][_e][Se]&&(e[ql]=!0),null===t?e[Et]=[n]:t.push(n)}(o,n);var u=n[_n];null!==u&&u.insertView(e),n[X]|=128}(s,u,v,d),!o){var h=jo(d,v),g=u[$],E=Ga(g,v[En]);null!==E&&function R_(e,n,t,r,a,i){r[Oe]=a,r[je]=n,Or(e,r,t,1,a,i)}(s,v[je],g,u,E,h)}return a.attachToViewContainerRef(),Jc(Ys(v),d,a),a}},{key:"move",value:function(a,i){return this.insert(a,i)}},{key:"indexOf",value:function(a){var i=Nh(this._lContainer);return null!==i?i.indexOf(a):-1}},{key:"remove",value:function(a){var i=this._adjustIndex(a,-1),o=xo(this._lContainer,i);o&&(ka(Ys(this._lContainer),i),Of(o[x],o))}},{key:"detach",value:function(a){var i=this._adjustIndex(a,-1),o=xo(this._lContainer,i);return o&&null!=ka(Ys(this._lContainer),i)?new Vt(o):null}},{key:"_adjustIndex",value:function(a){return a??this.length+(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0)}}]),t}(Pi);function Nh(e){return e[ma]}function Ys(e){return e[ma]||(e[ma]=[])}function kh(e,n){var t,r=n[e.index];return Qe(r)?t=r:(t=tv(r,n,null,e),n[e.index]=t,ui(n,t)),xh(t,n,e,r),new Rh(t,e,n)}var xh=Lh;function Lh(e,n,t,r){var a;e[En]||(a=8&t.type?me(r):function EM(e,n){var t=e[$],r=t.createComment(""),a=qe(n,e);return rt(t,Ga(t,a),r,function H_(e,n){return e.nextSibling(n)}(t,a),!1),r}(n,t),e[En]=a)}function DM(e,n,t,r){var a;if(!e[En]||!e[mr]){var i=n[xn],o=t.index-ne,u=Ba(t)||Ua(t);if(!i||u||ri(i,o))return Lh(e,n,t,r);var f=function hM(e,n){var a,t=[],r=(0,w.Z)(n);try{for(r.s();!(a=r.n()).done;)for(var i=a.value,o=0;o<(null!==(u=i[xr])&&void 0!==u?u:1);o++){var u,s={data:i,firstChild:null};i[Lr]>0&&(s.firstChild=e,e=hi(i[Lr],e)),t.push(s)}}catch(l){r.e(l)}finally{r.f()}return[e,t]}(fu(i,o),null===(a=i.data[Ft])||void 0===a?void 0:a[o]),d=(0,P.Z)(f,2),h=d[1];e[En]=d[0],e[mr]=h}}var MM=function(){function e(n){(0,m.Z)(this,e),this.queryList=n,this.matches=null}return(0,y.Z)(e,[{key:"clone",value:function(){return new e(this.queryList)}},{key:"setDirty",value:function(){this.queryList.setDirty()}}]),e}(),CM=function(){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];(0,m.Z)(this,e),this.queries=n}return(0,y.Z)(e,[{key:"createEmbeddedView",value:function(t){var r=t.queries;if(null!==r){for(var a=null!==t.contentQueries?t.contentQueries[0]:r.length,i=[],o=0;o<a;o++){var u=r.getByIndex(o);i.push(this.queries[u.indexInDeclarationView].clone())}return new e(i)}return null}},{key:"insertView",value:function(t){this.dirtyQueriesWithMatches(t)}},{key:"detachView",value:function(t){this.dirtyQueriesWithMatches(t)}},{key:"dirtyQueriesWithMatches",value:function(t){for(var r=0;r<this.queries.length;r++)null!==Gh(t,r).matches&&this.queries[r].setDirty()}}]),e}(),Fh=(0,y.Z)(function e(n,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;(0,m.Z)(this,e),this.predicate=n,this.flags=t,this.read=r}),TM=function(){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];(0,m.Z)(this,e),this.queries=n}return(0,y.Z)(e,[{key:"elementStart",value:function(t,r){for(var a=0;a<this.queries.length;a++)this.queries[a].elementStart(t,r)}},{key:"elementEnd",value:function(t){for(var r=0;r<this.queries.length;r++)this.queries[r].elementEnd(t)}},{key:"embeddedTView",value:function(t){for(var r=null,a=0;a<this.length;a++){var i=null!==r?r.length:0,o=this.getByIndex(a).embeddedTView(t,i);o&&(o.indexInDeclarationView=a,null!==r?r.push(o):r=[o])}return null!==r?new e(r):null}},{key:"template",value:function(t,r){for(var a=0;a<this.queries.length;a++)this.queries[a].template(t,r)}},{key:"getByIndex",value:function(t){return this.queries[t]}},{key:"length",get:function(){return this.queries.length}},{key:"track",value:function(t){this.queries.push(t)}}]),e}(),bM=function(){function e(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;(0,m.Z)(this,e),this.metadata=n,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}return(0,y.Z)(e,[{key:"elementStart",value:function(t,r){this.isApplyingToNode(r)&&this.matchTNode(t,r)}},{key:"elementEnd",value:function(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(t,r){this.elementStart(t,r)}},{key:"embeddedTView",value:function(t,r){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,r),new e(this.metadata)):null}},{key:"isApplyingToNode",value:function(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){for(var r=this._declarationNodeIndex,a=t.parent;null!==a&&8&a.type&&a.index!==r;)a=a.parent;return r===(null!==a?a.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(t,r){var a=this.metadata.predicate;if(Array.isArray(a))for(var i=0;i<a.length;i++){var o=a[i];this.matchTNodeWithReadOption(t,r,wM(r,o)),this.matchTNodeWithReadOption(t,r,Na(r,t,o,!1,!1))}else a===ra?4&r.type&&this.matchTNodeWithReadOption(t,r,-1):this.matchTNodeWithReadOption(t,r,Na(r,t,a,!1,!1))}},{key:"matchTNodeWithReadOption",value:function(t,r,a){if(null!==a){var i=this.metadata.read;if(null!==i)if(i===jr||i===Pi||i===ra&&4&r.type)this.addMatch(r.index,-2);else{var o=Na(r,t,i,!1,!1);null!==o&&this.addMatch(r.index,o)}else this.addMatch(r.index,a)}}},{key:"addMatch",value:function(t,r){null===this.matches?this.matches=[t,r]:this.matches.push(t,r)}}]),e}();function wM(e,n){var t=e.localNames;if(null!==t)for(var r=0;r<t.length;r+=2)if(t[r]===n)return t[r+1];return null}function OM(e,n,t,r){return-1===t?function SM(e,n){return 11&e.type?Zt(e,n):4&e.type?Ai(e,n):null}(n,e):-2===t?function AM(e,n,t){return t===jr?Zt(n,e):t===ra?Ai(n,e):t===Pi?kh(n,e):void 0}(e,n,r):tt(e,e[x],t,n)}function Zh(e,n,t,r){var a=n[_n].queries[r];if(null===a.matches){for(var i=e.data,o=t.matches,u=[],s=0;s<o.length;s+=2){var l=o[s];u.push(l<0?null:OM(n,i[l],o[s+1],t.metadata.read))}a.matches=u}return a.matches}function Js(e,n,t,r){var a=e.queries.getByIndex(t),i=a.matches;if(null!==i)for(var o=Zh(e,n,a,t),u=0;u<i.length;u+=2){var s=i[u];if(s>0)r.push(o[u/2]);else{for(var l=i[u+1],c=n[-s],f=xe;f<c.length;f++){var d=c[f];d[hr]===d[_e]&&Js(d[x],d,l,r)}if(null!==c[Et])for(var v=c[Et],h=0;h<v.length;h++){var g=v[h];Js(g[x],g,l,r)}}}return r}function jh(e){var n=C(),t=re(),r=Mc();uo(r+1);var a=Gh(t,r);if(e.dirty&&function py(e){return 4==(4&e[X])}(n)===(2==(2&a.metadata.flags))){if(null===a.matches)e.reset([]);else{var i=a.crossesNgTemplate?Js(t,n,r,[]):Zh(t,n,a,r);e.reset(i,WE),e.notifyOnChanges()}return!0}return!1}function Hh(e,n,t){var r=re();r.firstCreatePass&&(Wh(r,new Fh(e,n,t),-1),2==(2&n)&&(r.staticViewQueries=!0)),Vh(r,C(),n)}function Uh(e,n,t,r){var a=re();if(a.firstCreatePass){var i=Le();Wh(a,new Fh(n,t,r),i.index),function RM(e,n){var t=e.contentQueries||(e.contentQueries=[]);n!==(t.length?t[t.length-1]:-1)&&t.push(e.queries.length-1,n)}(a,e),2==(2&t)&&(a.staticContentQueries=!0)}Vh(a,C(),t)}function Bh(){return function PM(e,n){return e[_n].queries[n].queryList}(C(),Mc())}function Vh(e,n,t){var r=new Sh(4==(4&t));(function fD(e,n,t,r){var a=av(n);a.push(t),e.firstCreatePass&&iv(e).push(r,a.length-1)})(e,n,r,r.destroy),null===n[_n]&&(n[_n]=new CM),n[_n].queries.push(new MM(r))}function Wh(e,n,t){null===e.queries&&(e.queries=new TM),e.queries.track(new bM(n,t))}function Gh(e,n){return e.queries.getByIndex(n)}function zh(e,n){return Ai(e,n)}var Ge=function(){return{\u0275\u0275attribute:Ru,\u0275\u0275attributeInterpolate1:Nu,\u0275\u0275attributeInterpolate2:ku,\u0275\u0275attributeInterpolate3:xu,\u0275\u0275attributeInterpolate4:Lu,\u0275\u0275attributeInterpolate5:Fu,\u0275\u0275attributeInterpolate6:Zu,\u0275\u0275attributeInterpolate7:ju,\u0275\u0275attributeInterpolate8:Hu,\u0275\u0275attributeInterpolateV:Uu,\u0275\u0275defineComponent:jl,\u0275\u0275defineDirective:Vl,\u0275\u0275defineInjectable:Ce,\u0275\u0275defineInjector:la,\u0275\u0275defineNgModule:Ki,\u0275\u0275definePipe:Wl,\u0275\u0275directiveInject:Ut,\u0275\u0275getInheritedFactory:zc,\u0275\u0275inject:Fe,\u0275\u0275injectAttribute:yo,\u0275\u0275invalidFactory:Kd,\u0275\u0275invalidFactoryDep:Vi,\u0275\u0275templateRefExtractor:zh,\u0275\u0275resetView:yc,\u0275\u0275HostDirectivesFeature:mv,\u0275\u0275NgOnChangesFeature:no,\u0275\u0275ProvidersFeature:Qp,\u0275\u0275CopyDefinitionFeature:gv,\u0275\u0275InheritDefinitionFeature:Ou,\u0275\u0275StandaloneFeature:Xp,\u0275\u0275nextContext:Fv,\u0275\u0275namespaceHTML:Pc,\u0275\u0275namespaceMathML:Ac,\u0275\u0275namespaceSVG:Oc,\u0275\u0275enableBindings:hc,\u0275\u0275disableBindings:gc,\u0275\u0275elementStart:gi,\u0275\u0275elementEnd:mi,\u0275\u0275element:qu,\u0275\u0275elementContainerStart:yi,\u0275\u0275elementContainerEnd:_i,\u0275\u0275elementContainer:Yu,\u0275\u0275pureFunction0:uh,\u0275\u0275pureFunction1:sh,\u0275\u0275pureFunction2:lh,\u0275\u0275pureFunction3:ch,\u0275\u0275pureFunction4:fh,\u0275\u0275pureFunction5:dh,\u0275\u0275pureFunction6:vh,\u0275\u0275pureFunction7:ph,\u0275\u0275pureFunction8:hh,\u0275\u0275pureFunctionV:gh,\u0275\u0275getCurrentView:Rv,\u0275\u0275restoreView:mc,\u0275\u0275listener:$u,\u0275\u0275projection:jv,\u0275\u0275syntheticHostProperty:ks,\u0275\u0275syntheticHostListener:Xu,\u0275\u0275pipeBind1:Mh,\u0275\u0275pipeBind2:Ch,\u0275\u0275pipeBind3:Th,\u0275\u0275pipeBind4:bh,\u0275\u0275pipeBindV:wh,\u0275\u0275projectionDef:Zv,\u0275\u0275hostProperty:Ns,\u0275\u0275property:Ku,\u0275\u0275propertyInterpolate:es,\u0275\u0275propertyInterpolate1:Ei,\u0275\u0275propertyInterpolate2:ns,\u0275\u0275propertyInterpolate3:ts,\u0275\u0275propertyInterpolate4:rs,\u0275\u0275propertyInterpolate5:as,\u0275\u0275propertyInterpolate6:is,\u0275\u0275propertyInterpolate7:os,\u0275\u0275propertyInterpolate8:us,\u0275\u0275propertyInterpolateV:ss,\u0275\u0275pipe:Ih,\u0275\u0275queryRefresh:jh,\u0275\u0275viewQuery:Hh,\u0275\u0275loadQuery:Bh,\u0275\u0275contentQuery:Uh,\u0275\u0275reference:Ov,\u0275\u0275classMap:Kv,\u0275\u0275classMapInterpolate1:tp,\u0275\u0275classMapInterpolate2:rp,\u0275\u0275classMapInterpolate3:ap,\u0275\u0275classMapInterpolate4:ip,\u0275\u0275classMapInterpolate5:op,\u0275\u0275classMapInterpolate6:up,\u0275\u0275classMapInterpolate7:sp,\u0275\u0275classMapInterpolate8:lp,\u0275\u0275classMapInterpolateV:cp,\u0275\u0275styleMap:pn,\u0275\u0275styleMapInterpolate1:fp,\u0275\u0275styleMapInterpolate2:dp,\u0275\u0275styleMapInterpolate3:vp,\u0275\u0275styleMapInterpolate4:pp,\u0275\u0275styleMapInterpolate5:hp,\u0275\u0275styleMapInterpolate6:gp,\u0275\u0275styleMapInterpolate7:mp,\u0275\u0275styleMapInterpolate8:yp,\u0275\u0275styleMapInterpolateV:_p,\u0275\u0275styleProp:ds,\u0275\u0275stylePropInterpolate1:Cs,\u0275\u0275stylePropInterpolate2:Ts,\u0275\u0275stylePropInterpolate3:bs,\u0275\u0275stylePropInterpolate4:ws,\u0275\u0275stylePropInterpolate5:Ss,\u0275\u0275stylePropInterpolate6:Os,\u0275\u0275stylePropInterpolate7:As,\u0275\u0275stylePropInterpolate8:Ps,\u0275\u0275stylePropInterpolateV:Rs,\u0275\u0275classProp:vs,\u0275\u0275advance:Hd,\u0275\u0275template:Tv,\u0275\u0275text:ep,\u0275\u0275textInterpolate:hs,\u0275\u0275textInterpolate1:Mi,\u0275\u0275textInterpolate2:gs,\u0275\u0275textInterpolate3:ms,\u0275\u0275textInterpolate4:ys,\u0275\u0275textInterpolate5:_s,\u0275\u0275textInterpolate6:Es,\u0275\u0275textInterpolate7:Ds,\u0275\u0275textInterpolate8:Is,\u0275\u0275textInterpolateV:Ms,\u0275\u0275i18n:Vp,\u0275\u0275i18nAttributes:Wp,\u0275\u0275i18nExp:Us,\u0275\u0275i18nStart:js,\u0275\u0275i18nEnd:Hs,\u0275\u0275i18nApply:Gp,\u0275\u0275i18nPostprocess:zp,\u0275\u0275resolveWindow:Pd,\u0275\u0275resolveDocument:Rd,\u0275\u0275resolveBody:pu,\u0275\u0275setComponentScope:Hl,\u0275\u0275setNgModuleScope:Ul,\u0275\u0275registerNgModuleType:Mo,\u0275\u0275sanitizeHtml:ed,\u0275\u0275sanitizeStyle:nd,\u0275\u0275sanitizeResourceUrl:Qo,\u0275\u0275sanitizeScript:td,\u0275\u0275sanitizeUrl:Ko,\u0275\u0275sanitizeUrlOrResourceUrl:id,\u0275\u0275trustConstantHtml:rd,\u0275\u0275trustConstantResourceUrl:ad,\u0275\u0275validateIframeAttribute:Bf,forwardRef:oa,resolveForwardRef:Q}}(),rr=null;function xM(){rr=null}function $s(e){return!!$e(e)}var aa=[],Xs=!1;function Qh(){if(!Xs){Xs=!0;try{for(var e=aa.length-1;e>=0;e--){var n=aa[e],t=n.moduleType,r=n.ngModule;r.declarations&&r.declarations.every(qh)&&(aa.splice(e,1),HM(t,r))}}finally{Xs=!1}}}function qh(e){return Array.isArray(e)?e.every(qh):!!Q(e)}function Yh(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Jh(e,n),void 0!==n.id&&Mo(e,n.id),function LM(e,n){aa.push({moduleType:e,ngModule:n})}(e,n)}function Jh(e,n){var r=on(n.declarations||ie),a=null;Object.defineProperty(e,Gi,{configurable:!0,get:function(){if(null===a){var s=Pe();(a=s.compileNgModule(Ge,"ng:///".concat(e.name,"/\u0275mod.js"),{type:e,bootstrap:on(n.bootstrap||ie).map(Q),declarations:r.map(Q),imports:on(n.imports||ie).map(Q).map(eg),exports:on(n.exports||ie).map(Q).map(eg),schemas:n.schemas?on(n.schemas):null,id:n.id||null})).schemas||(a.schemas=[])}return a}});var i=null;Object.defineProperty(e,kn,{get:function(){if(null===i){var s=Pe();i=s.compileFactory(Ge,"ng:///".concat(e.name,"/\u0275fac.js"),{name:e.name,type:e,deps:Za(e),target:s.FactoryTarget.NgModule,typeArgumentCount:0})}return i},configurable:!1});var o=null;Object.defineProperty(e,ca,{get:function(){if(null===o){var s={name:e.name,type:e,providers:n.providers||ie,imports:[(n.imports||ie).map(Q),(n.exports||ie).map(Q)]},l=Pe();o=l.compileInjector(Ge,"ng:///".concat(e.name,"/\u0275inj.js"),s)}return o},configurable:!1})}function jM(){aa.length=0,Vm.clear()}function HM(e,n){var t=on(n.declarations||ie),r=ft(e);t.forEach(function(a){(a=Q(a)).hasOwnProperty(dr)?tl(oe(a),r):!a.hasOwnProperty(da)&&!a.hasOwnProperty(va)&&(a.ngSelectorScope=e)})}function tl(e,n){e.directiveDefs=function(){return Array.from(n.compilation.directives).map(function(t){return t.hasOwnProperty(dr)?oe(t):Ze(t)}).filter(function(t){return!!t})},e.pipeDefs=function(){return Array.from(n.compilation.pipes).map(function(t){return Ke(t)})},e.schemas=n.schemas,e.tView=null}function ft(e){if($s(e))return function UM(e){var n=$e(e,!0);if(null!==n.transitiveCompileScopes)return n.transitiveCompileScopes;var t={schemas:n.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return Hn(n.imports).forEach(function(r){var a=ft(r);a.exported.directives.forEach(function(i){return t.compilation.directives.add(i)}),a.exported.pipes.forEach(function(i){return t.compilation.pipes.add(i)})}),Hn(n.declarations).forEach(function(r){Ke(r)?t.compilation.pipes.add(r):t.compilation.directives.add(r)}),Hn(n.exports).forEach(function(r){var a=r;if($s(a)){var i=ft(a);i.exported.directives.forEach(function(o){t.compilation.directives.add(o),t.exported.directives.add(o)}),i.exported.pipes.forEach(function(o){t.compilation.pipes.add(o),t.exported.pipes.add(o)})}else Ke(a)?t.exported.pipes.add(a):t.exported.directives.add(a)}),n.transitiveCompileScopes=t,t}(e);if(ht(e)){if(null!==(oe(e)||Ze(e)))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([e]),pipes:new Set}};if(null!==Ke(e))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set([e])}}}throw new Error("".concat(e.name," does not have a module def (\u0275mod property)"))}function eg(e){return function Kh(e){return void 0!==e.ngModule}(e)?e.ngModule:e}var rl=0;function ng(e,n){var t=null;(function i_(e,n){uf(n)&&(Pt.set(e,n),Tr.add(e))})(e,n),rg(e,n),Object.defineProperty(e,dr,{get:function(){if(null===t){var a=Pe();if(uf(n)){var i=["Component '".concat(e.name,"' is not resolved:")];throw n.templateUrl&&i.push(" - templateUrl: ".concat(n.templateUrl)),n.styleUrls&&n.styleUrls.length&&i.push(" - styleUrls: ".concat(JSON.stringify(n.styleUrls))),i.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(i.join("\n"))}var o=function kM(){return rr}(),u=n.preserveWhitespaces;void 0===u&&(u=null!==o&&void 0!==o.preserveWhitespaces&&o.preserveWhitespaces);var s=n.encapsulation;void 0===s&&(s=null!==o&&void 0!==o.defaultEncapsulation?o.defaultEncapsulation:yn.Emulated);var l=n.templateUrl||"ng:///".concat(e.name,"/template.html"),c=(0,F.Z)((0,F.Z)({},ag(e,n)),{},{typeSourceSpan:a.createParseSourceSpan("Component",e.name,l),template:n.template||"",preserveWhitespaces:u,styles:n.styles||ie,animations:n.animations,declarations:[],changeDetection:n.changeDetection,encapsulation:s,interpolation:n.interpolation,viewProviders:n.viewProviders||null});rl++;try{if(c.usesInheritance&&ig(e),t=a.compileComponent(Ge,l,c),n.standalone){var f=on(n.imports||ie),d=function VM(e,n){var t=null,r=null;return{directiveDefs:function(){if(null===t){t=[oe(e)];var l,u=new Set([e]),s=(0,w.Z)(n);try{for(s.s();!(l=s.n()).done;){var f=Q(l.value);if(!u.has(f))if(u.add(f),$e(f)){var h,d=ft(f),v=(0,w.Z)(d.exported.directives);try{for(v.s();!(h=v.n()).done;){var g=h.value,E=oe(g)||Ze(g);E&&!u.has(g)&&(u.add(g),t.push(E))}}catch(_){v.e(_)}finally{v.f()}}else{var S=oe(f)||Ze(f);S&&t.push(S)}}}catch(_){s.e(_)}finally{s.f()}}return t},pipeDefs:function(){if(null===r){r=[];var l,u=new Set,s=(0,w.Z)(n);try{for(s.s();!(l=s.n()).done;){var f=Q(l.value);if(!u.has(f))if(u.add(f),$e(f)){var h,d=ft(f),v=(0,w.Z)(d.exported.pipes);try{for(v.s();!(h=v.n()).done;){var g=h.value,E=Ke(g);E&&!u.has(g)&&(u.add(g),r.push(E))}}catch(_){v.e(_)}finally{v.f()}}else{var S=Ke(f);S&&r.push(S)}}}catch(_){s.e(_)}finally{s.f()}}return r}}}(e,f),h=d.pipeDefs;t.directiveDefs=d.directiveDefs,t.pipeDefs=h,t.dependencies=function(){return f.map(Q)}}}finally{rl--}if(0===rl&&Qh(),function WM(e){return void 0!==e.ngSelectorScope}(e)){var g=ft(e.ngSelectorScope);tl(t,g)}if(n.schemas){if(!n.standalone)throw new Error("The 'schemas' was specified for the ".concat(ce(e)," but is only valid on a component that is standalone."));t.schemas=n.schemas}else n.standalone&&(t.schemas=[])}return t},configurable:!1})}function al(e,n){var t=null;rg(e,n||{}),Object.defineProperty(e,da,{get:function(){if(null===t){var a=tg(e,n||{}),i=Pe();t=i.compileDirective(Ge,a.sourceMapUrl,a.metadata)}return t},configurable:!1})}function tg(e,n){var t=e&&e.name,r="ng:///".concat(t,"/\u0275dir.js"),a=Pe(),i=ag(e,n);return i.typeSourceSpan=a.createParseSourceSpan("Directive",t,r),i.usesInheritance&&ig(e),{metadata:i,sourceMapUrl:r}}function rg(e,n){var t=null;Object.defineProperty(e,kn,{get:function(){if(null===t){var a=tg(e,n),i=Pe();t=i.compileFactory(Ge,"ng:///".concat(e.name,"/\u0275fac.js"),{name:a.metadata.name,type:a.metadata.type,typeArgumentCount:0,deps:Za(e),target:i.FactoryTarget.Directive})}return t},configurable:!1})}function GM(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function ag(e,n){var t,r=Io(),a=r.ownPropMetadata(e);return{name:e.name,type:e,selector:void 0!==n.selector?n.selector:null,host:n.host||Nn,propMetadata:a,inputs:n.inputs||ie,outputs:n.outputs||ie,queries:og(e,a,ug),lifecycle:{usesOnChanges:r.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!GM(e),exportAs:QM(n.exportAs),providers:n.providers||null,viewQueries:og(e,a,sg),isStandalone:!!n.standalone,hostDirectives:(null===(t=n.hostDirectives)||void 0===t?void 0:t.map(function(i){return"function"==typeof i?{directive:i}:i}))||null}}function ig(e){for(var n=Object.prototype,t=Object.getPrototypeOf(e.prototype).constructor;t&&t!==n;)!Ze(t)&&!oe(t)&&YM(t)&&al(t,null),t=Object.getPrototypeOf(t)}function zM(e){return"string"==typeof e?cg(e):Q(e)}function og(e,n,t){var r=[],a=function(u){if(n.hasOwnProperty(u)){var s=n[u];s.forEach(function(l){if(t(l)){if(!l.selector)throw new Error("Can't construct a query for the property \"".concat(u,'" of ')+'"'.concat(ce(e),"\" since the query selector wasn't defined."));if(s.some(lg))throw new Error("Cannot combine @Input decorators with query decorators");r.push(function KM(e,n){return{propertyName:e,predicate:zM(n.selector),descendants:n.descendants,first:n.first,read:n.read?n.read:null,static:!!n.static,emitDistinctChangesOnly:!!n.emitDistinctChangesOnly}}(u,l))}})}};for(var i in n)a(i);return r}function QM(e){return void 0===e?null:cg(e)}function ug(e){var n=e.ngMetadataName;return"ContentChild"===n||"ContentChildren"===n}function sg(e){var n=e.ngMetadataName;return"ViewChild"===n||"ViewChildren"===n}function lg(e){return"Input"===e.ngMetadataName}function cg(e){return e.split(",").map(function(n){return n.trim()})}var qM=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function YM(e){var n=Io();if(qM.some(function(s){return n.hasLifecycleHook(e,s)}))return!0;var t=n.propMetadata(e);for(var r in t)for(var a=t[r],i=0;i<a.length;i++){var o=a[i],u=o.ngMetadataName;if(lg(o)||ug(o)||sg(o)||"Output"===u||"HostBinding"===u||"HostListener"===u)return!0}return!1}function fg(e,n){var t=null,r=null;Object.defineProperty(e,kn,{get:function(){if(null===r){var i=dg(e,n),o=Pe();r=o.compileFactory(Ge,"ng:///".concat(i.name,"/\u0275fac.js"),{name:i.name,type:i.type,typeArgumentCount:0,deps:Za(e),target:o.FactoryTarget.Pipe})}return r},configurable:!1}),Object.defineProperty(e,va,{get:function(){if(null===t){var i=dg(e,n),o=Pe();t=o.compilePipe(Ge,"ng:///".concat(i.name,"/\u0275pipe.js"),i)}return t},configurable:!1})}function dg(e,n){return{type:e,name:e.name,pipeName:n.name,pure:void 0===n.pure||n.pure,isStandalone:!!n.standalone}}var vg=Er("Directive",function(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}},void 0,void 0,function(e,n){return al(e,n)}),JM=Er("Component",function(){return(0,F.Z)({changeDetection:an.Default},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})},vg,void 0,function(e,n){return ng(e,n)}),$M=Er("Pipe",function(e){return(0,F.Z)({pure:!0},e)},void 0,void 0,function(e,n){return fg(e,n)}),XM=Kn("Input",function(e){return e?"string"==typeof e?{alias:e}:e:{}}),eC=Kn("Output",function(e){return{alias:e}}),nC=Kn("HostBinding",function(e){return{hostPropertyName:e}}),tC=Kn("HostListener",function(e,n){return{eventName:e,args:n}}),rC=Er("NgModule",function(e){return e},void 0,void 0,function(e,n){return Yh(e,n)}),pg=new ue("Application Initializer"),Ni=function(){var e=function(){function n(){var r,t=this;(0,m.Z)(this,n),this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(a,i){t.resolve=a,t.reject=i}),this.appInits=null!==(r=ge(pg,{optional:!0}))&&void 0!==r?r:[]}return(0,y.Z)(n,[{key:"runInitializers",value:function(){var r=this;if(!this.initialized){var o,a=[],i=(0,w.Z)(this.appInits);try{var u=function(){var f=(0,o.value)();if(Ju(f))a.push(f);else if(Nv(f)){var d=new Promise(function(v,h){f.subscribe({complete:v,error:h})});a.push(d)}};for(i.s();!(o=i.n()).done;)u()}catch(l){i.e(l)}finally{i.f()}var s=function(){r.done=!0,r.resolve()};Promise.all(a).then(function(){s()}).catch(function(l){r.reject(l)}),0===a.length&&s(),this.initialized=!0}}}]),n}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Ce({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),hg=function(){var e=function(){function n(){(0,m.Z)(this,n)}return(0,y.Z)(n,[{key:"log",value:function(r){console.log(r)}},{key:"warn",value:function(r){console.warn(r)}}]),n}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Ce({token:e,factory:e.\u0275fac,providedIn:"platform"}),e}(),ki=new ue("LocaleId",{providedIn:"root",factory:function(){return ge(ki,z.Optional|z.SkipSelf)||function aC(){return typeof $localize<"u"&&$localize.locale||ct}()}}),iC=new ue("DefaultCurrencyCode",{providedIn:"root",factory:function(){return"USD"}}),oC=new ue("Translations"),uC=new ue("TranslationsFormat"),Pn=function(){return(Pn=Pn||{})[Pn.Error=0]="Error",Pn[Pn.Warning=1]="Warning",Pn[Pn.Ignore=2]="Ignore",Pn}(),gg=function(){var e=function(){function n(){(0,m.Z)(this,n),this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new de.X(!1)}return(0,y.Z)(n,[{key:"add",value:function(){this.hasPendingTasks.next(!0);var r=this.taskId++;return this.pendingTasks.add(r),r}},{key:"remove",value:function(r){this.pendingTasks.delete(r),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}},{key:"ngOnDestroy",value:function(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}]),n}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Ce({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),mg=(0,y.Z)(function e(n,t){(0,m.Z)(this,e),this.ngModuleFactory=n,this.componentFactories=t}),sC=function(){var e=function(){function n(){(0,m.Z)(this,n)}return(0,y.Z)(n,[{key:"compileModuleSync",value:function(r){return new Oi(r)}},{key:"compileModuleAsync",value:function(r){return Promise.resolve(this.compileModuleSync(r))}},{key:"compileModuleAndAllComponentsSync",value:function(r){var a=this.compileModuleSync(r),o=Hn($e(r).declarations).reduce(function(u,s){var l=oe(s);return l&&u.push(new Wt(l)),u},[]);return new mg(a,o)}},{key:"compileModuleAndAllComponentsAsync",value:function(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}},{key:"clearCache",value:function(){}},{key:"clearCacheFor",value:function(r){}},{key:"getModuleId",value:function(r){}}]),n}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Ce({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),yg=new ue("compilerOptions"),lC=(0,y.Z)(function e(){(0,m.Z)(this,e)});function cC(e){Hr(Ef(e)),th(e).forEach(function(n){return cv(n)})}var _g="ng",Eg=!1;function fC(){Eg||(Eg=!0,sn("\u0275setProfiler",fy),sn("getDirectiveMetadata",nM),sn("getComponent",zs),sn("getContext",eh),sn("getListeners",ih),sn("getOwningComponent",nh),sn("getHostElement",Ks),sn("getInjector",rh),sn("getRootComponents",th),sn("getDirectives",ah),sn("applyChanges",cC))}function sn(e,n){if((typeof COMPILED>"u"||!COMPILED)&&we){var r=we[_g];r||(r=we[_g]={}),r[e]=n}}var dC=function(){return Promise.resolve(0)}();function il(e){typeof Zone>"u"?dC.then(function(){e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}function Dg(){}var ln=function(){function e(n){var t=n.enableLongStackTrace,r=void 0!==t&&t,a=n.shouldCoalesceEventChangeDetection,i=void 0!==a&&a,o=n.shouldCoalesceRunChangeDetection,u=void 0!==o&&o;if((0,m.Z)(this,e),this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new An(!1),this.onMicrotaskEmpty=new An(!1),this.onStable=new An(!1),this.onError=new An(!1),typeof Zone>"u")throw new Z(908,!1);Zone.assertZonePatched();var s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!u&&i,s.shouldCoalesceRunChangeDetection=u,s.lastRequestAnimationFrameId=-1,s.nativeRequestAnimationFrame=function vC(){var e=we.requestAnimationFrame,n=we.cancelAnimationFrame;if(typeof Zone<"u"&&e&&n){var t=e[Zone.__symbol__("OriginalDelegate")];t&&(e=t);var r=n[Zone.__symbol__("OriginalDelegate")];r&&(n=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function gC(e){var n=function(){!function hC(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(we,function(){e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",function(){e.lastRequestAnimationFrameId=-1,ul(e),e.isCheckStableRunning=!0,ol(e),e.isCheckStableRunning=!1},void 0,function(){},function(){})),e.fakeTopEventTask.invoke()}),ul(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(r,a,i,o,u,s){try{return Ig(e),r.invokeTask(i,o,u,s)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&n(),Mg(e)}},onInvoke:function(r,a,i,o,u,s,l){try{return Ig(e),r.invoke(i,o,u,s,l)}finally{e.shouldCoalesceRunChangeDetection&&n(),Mg(e)}},onHasTask:function(r,a,i,o){r.hasTask(i,o),a===i&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,ul(e),ol(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:function(r,a,i,o){return r.handleError(i,o),e.runOutsideAngular(function(){return e.onError.emit(o)}),!1}})}(s)}return(0,y.Z)(e,[{key:"run",value:function(t,r,a){return this._inner.run(t,r,a)}},{key:"runTask",value:function(t,r,a,i){var o=this._inner,u=o.scheduleEventTask("NgZoneEvent: "+i,t,pC,Dg,Dg);try{return o.runTask(u,r,a)}finally{o.cancelTask(u)}}},{key:"runGuarded",value:function(t,r,a){return this._inner.runGuarded(t,r,a)}},{key:"runOutsideAngular",value:function(t){return this._outer.run(t)}}],[{key:"isInAngularZone",value:function(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}},{key:"assertInAngularZone",value:function(){if(!e.isInAngularZone())throw new Z(909,!1)}},{key:"assertNotInAngularZone",value:function(){if(e.isInAngularZone())throw new Z(909,!1)}}]),e}(),pC={};function ol(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(function(){return e.onStable.emit(null)})}finally{e.isStable=!0}}}function ul(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Ig(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Mg(e){e._nesting--,ol(e)}var Cg=function(){function e(){(0,m.Z)(this,e),this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new An,this.onMicrotaskEmpty=new An,this.onStable=new An,this.onError=new An}return(0,y.Z)(e,[{key:"run",value:function(t,r,a){return t.apply(r,a)}},{key:"runGuarded",value:function(t,r,a){return t.apply(r,a)}},{key:"runOutsideAngular",value:function(t){return t()}},{key:"runTask",value:function(t,r,a,i){return t.apply(r,a)}}]),e}(),Tg=new ue("",{providedIn:"root",factory:bg});function bg(){var e=ge(ln),n=!0,t=new pe.y(function(a){n=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(function(){a.next(n),a.complete()})}),r=new pe.y(function(a){var i;e.runOutsideAngular(function(){i=e.onStable.subscribe(function(){ln.assertNotInAngularZone(),il(function(){!n&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(n=!0,a.next(!0))})})});var o=e.onUnstable.subscribe(function(){ln.assertInAngularZone(),n&&(n=!1,e.runOutsideAngular(function(){a.next(!1)}))});return function(){i.unsubscribe(),o.unsubscribe()}});return(0,G.T)(t,r.pipe((0,W.B)()))}var wg=new ue(""),Sg=new ue(""),mC=function(){var e=function(){function n(t,r,a){var i=this;(0,m.Z)(this,n),this._ngZone=t,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,sl||(Ag(a),a.addToWindow(r)),this._watchAngularEvents(),t.run(function(){i.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}return(0,y.Z)(n,[{key:"_watchAngularEvents",value:function(){var r=this;this._ngZone.onUnstable.subscribe({next:function(){r._didWork=!0,r._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){r._ngZone.onStable.subscribe({next:function(){ln.assertNotInAngularZone(),il(function(){r._isZoneStable=!0,r._runCallbacksIfReady()})}})})}},{key:"increasePendingRequestCount",value:function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}},{key:"decreasePendingRequestCount",value:function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}},{key:"isStable",value:function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}},{key:"_runCallbacksIfReady",value:function(){var r=this;if(this.isStable())il(function(){for(;0!==r._callbacks.length;){var i=r._callbacks.pop();clearTimeout(i.timeoutId),i.doneCb(r._didWork)}r._didWork=!1});else{var a=this.getPendingTasks();this._callbacks=this._callbacks.filter(function(i){return!i.updateCb||!i.updateCb(a)||(clearTimeout(i.timeoutId),!1)}),this._didWork=!0}}},{key:"getPendingTasks",value:function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(function(r){return{source:r.source,creationLocation:r.creationLocation,data:r.data}}):[]}},{key:"addCallback",value:function(r,a,i){var o=this,u=-1;a&&a>0&&(u=setTimeout(function(){o._callbacks=o._callbacks.filter(function(s){return s.timeoutId!==u}),r(o._didWork,o.getPendingTasks())},a)),this._callbacks.push({doneCb:r,timeoutId:u,updateCb:i})}},{key:"whenStable",value:function(r,a,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(r,a,i),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"registerApplication",value:function(r){this.registry.registerApplication(r,this)}},{key:"unregisterApplication",value:function(r){this.registry.unregisterApplication(r)}},{key:"findProviders",value:function(r,a,i){return[]}}]),n}();return e.\u0275fac=function(t){return new(t||e)(Fe(ln),Fe(Og),Fe(Sg))},e.\u0275prov=Ce({token:e,factory:e.\u0275fac}),e}(),Og=function(){var e=function(){function n(){(0,m.Z)(this,n),this._applications=new Map}return(0,y.Z)(n,[{key:"registerApplication",value:function(r,a){this._applications.set(r,a)}},{key:"unregisterApplication",value:function(r){this._applications.delete(r)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(r){return this._applications.get(r)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(r){var a,i;return null!==(a=null===(i=sl)||void 0===i?void 0:i.findTestabilityInTree(this,r,!(arguments.length>1&&void 0!==arguments[1])||arguments[1]))&&void 0!==a?a:null}}]),n}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Ce({token:e,factory:e.\u0275fac,providedIn:"platform"}),e}();function Ag(e){sl=e}var sl,Yn=null,ll=new ue("AllowMultipleToken"),cl=new ue("PlatformDestroyListeners"),fl=new ue("appBootstrapListener");function Pg(e,n,t){var r=new Oi(t);return Promise.resolve(r)}function Rg(){!function ry(e){ec=e}(function(){throw new Z(600,!1)})}function Ng(e){return e.isBoundToModule}var yC=(0,y.Z)(function e(n,t){(0,m.Z)(this,e),this.name=n,this.token=t});function kg(e){if(Yn&&!Yn.get(ll,!1))throw new Z(400,!1);Rg(),Yn=e;var n=e.get(dl);return xg(e),n}function xg(e){var n=e.get(hd,null);n?.forEach(function(t){return t()})}function EC(e){try{var n=e.rootComponent,t=e.appProviders,a=function _C(){if(Yn)return Yn;var n=Zg(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]);return Yn=n,Rg(),xg(n),n}(e.platformProviders),i=[Gg()].concat((0,D.Z)(t||[])),u=new Jp({providers:i,parent:a,debugName:"",runEnvironmentInitializers:!1}).injector,s=u.get(ln);return s.run(function(){u.resolveInjectorInitializers();var c,l=u.get(jt,null);s.runOutsideAngular(function(){c=s.onError.subscribe({next:function(h){l.handleError(h)}})});var f=function(){return u.destroy()},d=a.get(cl);return d.add(f),u.onDestroy(function(){c.unsubscribe(),d.delete(f)}),Hg(l,s,function(){var v=u.get(Ni);return v.runInitializers(),v.donePromise.then(function(){Ls(u.get(ki,ct)||ct);var g=u.get(ar);return void 0!==n&&g.bootstrap(n),g})})})}catch(l){return Promise.reject(l)}}function Lg(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r="Platform: ".concat(n),a=new ue(r);return function(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=xi();if(!o||o.injector.get(ll,!1)){var u=[].concat((0,D.Z)(t),(0,D.Z)(i),[{provide:a,useValue:!0}]);e?e(u):kg(Zg(u,r))}return Fg()}}function Fg(e){var n=xi();if(!n)throw new Z(401,!1);return n}function Zg(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return Qn.create({name:arguments.length>1?arguments[1]:void 0,providers:[{provide:eu,useValue:"platform"},{provide:cl,useValue:new Set([function(){return Yn=null}])}].concat((0,D.Z)(e))})}function DC(){var e;null===(e=xi())||void 0===e||e.destroy()}function xi(){var e,n;return null!==(e=null===(n=Yn)||void 0===n?void 0:n.get(dl))&&void 0!==e?e:null}var dl=function(){var e=function(){function n(t){(0,m.Z)(this,n),this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return(0,y.Z)(n,[{key:"bootstrapModuleFactory",value:function(r,a){var i=this,o=function IC(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"zone.js",n=arguments.length>1?arguments[1]:void 0;return"noop"===e?new Cg:"zone.js"===e?new ln(n):e}(a?.ngZone,jg({eventCoalescing:a?.ngZoneEventCoalescing,runCoalescing:a?.ngZoneRunCoalescing}));return o.run(function(){var u=function $I(e,n,t){return new Si(e,n,t)}(r.moduleType,i.injector,Wg(function(){return o})),s=u.injector.get(jt,null);return o.runOutsideAngular(function(){var l=o.onError.subscribe({next:function(f){s.handleError(f)}});u.onDestroy(function(){Li(i._modules,u),l.unsubscribe()})}),Hg(s,o,function(){var l=u.injector.get(Ni);return l.runInitializers(),l.donePromise.then(function(){return Ls(u.injector.get(ki,ct)||ct),i._moduleDoBootstrap(u),u})})})}},{key:"bootstrapModule",value:function(r){var a=this,o=Ug({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]);return Pg(0,0,r).then(function(u){return a.bootstrapModuleFactory(u,o)})}},{key:"_moduleDoBootstrap",value:function(r){var a=r.injector.get(ar);if(r._bootstrapComponents.length>0)r._bootstrapComponents.forEach(function(i){return a.bootstrap(i)});else{if(!r.instance.ngDoBootstrap)throw new Z(-403,!1);r.instance.ngDoBootstrap(a)}this._modules.push(r)}},{key:"onDestroy",value:function(r){this._destroyListeners.push(r)}},{key:"injector",get:function(){return this._injector}},{key:"destroy",value:function(){if(this._destroyed)throw new Z(404,!1);this._modules.slice().forEach(function(a){return a.destroy()}),this._destroyListeners.forEach(function(a){return a()});var r=this._injector.get(cl,null);r&&(r.forEach(function(a){return a()}),r.clear()),this._destroyed=!0}},{key:"destroyed",get:function(){return this._destroyed}}]),n}();return e.\u0275fac=function(t){return new(t||e)(Fe(Qn))},e.\u0275prov=Ce({token:e,factory:e.\u0275fac,providedIn:"platform"}),e}();function jg(e){var n,t;return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:null!==(n=e?.eventCoalescing)&&void 0!==n&&n,shouldCoalesceRunChangeDetection:null!==(t=e?.runCoalescing)&&void 0!==t&&t}}function Hg(e,n,t){try{var r=t();return Ju(r)?r.catch(function(a){throw n.runOutsideAngular(function(){return e.handleError(a)}),a}):r}catch(a){throw n.runOutsideAngular(function(){return e.handleError(a)}),a}}function Ug(e,n){return Array.isArray(n)?n.reduce(Ug,e):(0,F.Z)((0,F.Z)({},e),n)}var ar=function(){var e=function(){function n(){var t=this;(0,m.Z)(this,n),this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=ge(Vg),this.zoneIsStable=ge(Tg),this.componentTypes=[],this.components=[],this.isStable=ge(gg).hasPendingTasks.pipe((0,ae.w)(function(r){return r?(0,L.of)(!1):t.zoneIsStable}),(0,H.x)(),(0,W.B)()),this._injector=ge(ot)}return(0,y.Z)(n,[{key:"destroyed",get:function(){return this._destroyed}},{key:"injector",get:function(){return this._injector}},{key:"bootstrap",value:function(r,a){var c,i=this,o=r instanceof ai;if(!this._injector.get(Ni).done)throw!o&&ht(r),new Z(405,!1);c=o?r:this._injector.get(Zr).resolveComponentFactory(r),this.componentTypes.push(c.componentType);var d=Ng(c)?void 0:this._injector.get(tr),h=c.create(Qn.NULL,[],a||c.selector,d),g=h.location.nativeElement,E=h.injector.get(wg,null);return E?.registerApplication(g),h.onDestroy(function(){i.detachView(h.hostView),Li(i.components,h),E?.unregisterApplication(g)}),this._loadComponent(h),h}},{key:"tick",value:function(){if(this._runningTick)throw new Z(101,!1);try{this._runningTick=!0;var a,r=(0,w.Z)(this._views);try{for(r.s();!(a=r.n()).done;)a.value.detectChanges()}catch(l){r.e(l)}finally{r.f()}}catch(l){this.internalErrorHandler(l)}finally{this._runningTick=!1}}},{key:"attachView",value:function(r){var a=r;this._views.push(a),a.attachToAppRef(this)}},{key:"detachView",value:function(r){var a=r;Li(this._views,a),a.detachFromAppRef()}},{key:"_loadComponent",value:function(r){this.attachView(r.hostView),this.tick(),this.components.push(r);var a=this._injector.get(fl,[]);a.push.apply(a,(0,D.Z)(this._bootstrapListeners)),a.forEach(function(i){return i(r)})}},{key:"ngOnDestroy",value:function(){if(!this._destroyed)try{this._destroyListeners.forEach(function(r){return r()}),this._views.slice().forEach(function(r){return r.destroy()})}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}},{key:"onDestroy",value:function(r){var a=this;return this._destroyListeners.push(r),function(){return Li(a._destroyListeners,r)}}},{key:"destroy",value:function(){if(this._destroyed)throw new Z(406,!1);var r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}},{key:"viewCount",get:function(){return this._views.length}},{key:"warnIfDestroyed",value:function(){}}]),n}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Ce({token:e,factory:e.\u0275fac,providedIn:"root"}),e}();function Li(e,n){var t=e.indexOf(n);t>-1&&e.splice(t,1)}var Vg=new ue("",{providedIn:"root",factory:function(){return ge(jt).handleError.bind(void 0)}});function MC(){var e=ge(ln),n=ge(jt);return function(t){return e.runOutsideAngular(function(){return n.handleError(t)})}}var CC=function(){var e=function(){function n(){(0,m.Z)(this,n),this.zone=ge(ln),this.applicationRef=ge(ar)}return(0,y.Z)(n,[{key:"initialize",value:function(){var r=this;this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:function(){r.zone.run(function(){r.applicationRef.tick()})}}))}},{key:"ngOnDestroy",value:function(){var r;null===(r=this._onMicrotaskEmptySubscription)||void 0===r||r.unsubscribe()}}]),n}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Ce({token:e,factory:e.\u0275fac,providedIn:"root"}),e}();function Wg(e){return[{provide:ln,useFactory:e},{provide:Nr,multi:!0,useFactory:function(){var t=ge(CC,{optional:!0});return function(){return t.initialize()}}},{provide:Vg,useFactory:MC},{provide:Tg,useFactory:bg}]}function Gg(e){return Yo([[],Wg(function(){return new ln(jg(e))})])}function TC(){return!1}function bC(){}function wC(e){var n=cf(e);if(!n)throw zg(e);return new Oi(n)}function SC(e){var n=cf(e);if(!n)throw zg(e);return n}function zg(e){return new Error("No module with ID ".concat(e," loaded"))}var Kg=function(){var e=(0,y.Z)(function n(){(0,m.Z)(this,n)});return e.__NG_ELEMENT_ID__=Qg,e}();function Qg(e){return function OC(e,n,t){if(Xn(e)&&!t){var r=Ye(e.index,n);return new Vt(r,r)}return 47&e.type?new Vt(n[Se],n):null}(Le(),C(),16==(16&e))}var qg=function(e){(0,N.Z)(t,e);var n=(0,j.Z)(t);function t(){return(0,m.Z)(this,t),n.apply(this,arguments)}return(0,y.Z)(t)}(Kg),AC=function(e){(0,N.Z)(t,e);var n=(0,j.Z)(t);function t(){return(0,m.Z)(this,t),n.apply(this,arguments)}return(0,y.Z)(t)}(qg),PC=(0,y.Z)(function e(n,t){(0,m.Z)(this,e),this.name=n,this.callback=t});function RC(e){return e.map(function(n){return n.nativeElement})}var vl=function(){function e(n){(0,m.Z)(this,e),this.nativeNode=n}return(0,y.Z)(e,[{key:"parent",get:function(){var t=this.nativeNode.parentNode;return t?new ia(t):null}},{key:"injector",get:function(){return rh(this.nativeNode)}},{key:"componentInstance",get:function(){var t=this.nativeNode;return t&&(zs(t)||nh(t))}},{key:"context",get:function(){return zs(this.nativeNode)||eh(this.nativeNode)}},{key:"listeners",get:function(){return ih(this.nativeNode).filter(function(t){return"dom"===t.type})}},{key:"references",get:function(){return function tM(e){var n=We(e);if(null===n)return{};if(void 0===n.localRefs){var t=n.lView;if(null===t)return{};n.localRefs=function w_(e,n){var t=e[x].data[n];if(t&&t.localNames){for(var r={},a=t.index+1,i=0;i<t.localNames.length;i+=2)r[t.localNames[i]]=e[a],a++;return r}return null}(t,n.nodeIndex)}return n.localRefs||{}}(this.nativeNode)}},{key:"providerTokens",get:function(){return function eM(e){var n=We(e),t=n?n.lView:null;if(null===t)return[];for(var r=t[x],a=r.data[n.nodeIndex],i=[],u=a.directiveEnd,s=1048575&a.providerIndexes;s<u;s++){var l=r.data[s];aM(l)&&(l=l.type),i.push(l)}return i}(this.nativeNode)}}]),e}(),ia=function(e){(0,N.Z)(t,e);var n=(0,j.Z)(t);function t(r){return(0,m.Z)(this,t),n.call(this,r)}return(0,y.Z)(t,[{key:"nativeElement",get:function(){return this.nativeNode.nodeType==Node.ELEMENT_NODE?this.nativeNode:null}},{key:"name",get:function(){var a=We(this.nativeNode),i=a?a.lView:null;return null!==i?i[x].data[a.nodeIndex].value:this.nativeNode.nodeName}},{key:"properties",get:function(){var a=We(this.nativeNode),i=a?a.lView:null;if(null===i)return{};var o=i[x].data,u=o[a.nodeIndex],s={};return function NC(e,n){if(e)for(var t=Object.getPrototypeOf(e),r=Node.prototype;null!==t&&t!==r;){var a=Object.getOwnPropertyDescriptors(t);for(var i in a)if(!i.startsWith("__")&&!i.startsWith("on")){var o=e[i];kC(o)&&(n[i]=o)}t=Object.getPrototypeOf(t)}}(this.nativeElement,s),function xC(e,n,t,r){var a=n.propertyBindings;if(null!==a)for(var i=0;i<a.length;i++){var o=a[i],s=r[o].split("\ufffd"),l=s[0];if(s.length>1){for(var c=s[1],f=1;f<s.length-1;f++)c+=Y(t[o+f-1])+s[f+1];e[l]=c}else e[l]=t[o]}}(s,u,i,o),s}},{key:"attributes",get:function(){var a={},i=this.nativeElement;if(!i)return a;var o=We(i),u=o?o.lView:null;if(null===u)return{};var s=u[x].data[o.nodeIndex].attrs,l=[];if(s)for(var c=0;c<s.length;){var f=s[c];if("string"!=typeof f)break;a[f]=s[c+1],l.push(f.toLowerCase()),c+=2}var h,v=(0,w.Z)(i.attributes);try{for(v.s();!(h=v.n()).done;){var g=h.value;l.includes(g.name)||(a[g.name]=g.value)}}catch(E){v.e(E)}finally{v.f()}return a}},{key:"styles",get:function(){return this.nativeElement&&this.nativeElement.style?this.nativeElement.style:{}}},{key:"classes",get:function(){var a={},o=this.nativeElement.className;return("string"!=typeof o?o.baseVal.split(" "):o.split(" ")).forEach(function(s){return a[s]=!0}),a}},{key:"childNodes",get:function(){for(var a=this.nativeNode.childNodes,i=[],o=0;o<a.length;o++)i.push(ir(a[o]));return i}},{key:"children",get:function(){var a=this.nativeElement;if(!a)return[];for(var i=a.children,o=[],u=0;u<i.length;u++)o.push(ir(i[u]));return o}},{key:"query",value:function(a){return this.queryAll(a)[0]||null}},{key:"queryAll",value:function(a){var i=[];return Yg(this,a,i,!0),i}},{key:"queryAllNodes",value:function(a){var i=[];return Yg(this,a,i,!1),i}},{key:"triggerEventHandler",value:function(a,i){var o=this.nativeNode,u=[];this.listeners.forEach(function(s){if(s.name===a){var l=s.callback;l.call(o,i),u.push(l)}}),"function"==typeof o.eventListeners&&o.eventListeners(a).forEach(function(s){if(-1!==s.toString().indexOf("__ngUnwrap__")){var l=s("__ngUnwrap__");return-1===u.indexOf(l)&&l.call(o,i)}})}}]),t}(vl);function kC(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e}function Yg(e,n,t,r){var a=We(e.nativeNode),i=a?a.lView:null;null!==i?dt(i[x].data[a.nodeIndex],i,n,t,r,e.nativeNode):hl(e.nativeNode,n,t,r)}function dt(e,n,t,r,a,i){var o=function vy(e,n){var t=null===e?-1:e.index;return-1!==t?me(n[t]):null}(e,n);if(11&e.type){if(pl(o,t,r,a,i),Xn(e)){var u=Ye(e.index,n);u&&u[x].firstChild&&dt(u[x].firstChild,u,t,r,a,i)}else e.child&&dt(e.child,n,t,r,a,i),o&&hl(o,t,r,a);var s=n[e.index];Qe(s)&&Jg(s,t,r,a,i)}else if(4&e.type){var l=n[e.index];pl(l[En],t,r,a,i),Jg(l,t,r,a,i)}else if(16&e.type){var c=n[Se],d=c[je].projection[e.projection];if(Array.isArray(d)){var h,v=(0,w.Z)(d);try{for(v.s();!(h=v.n()).done;)pl(h.value,t,r,a,i)}catch(k){v.e(k)}finally{v.f()}}else if(d){var E=c[_e];dt(E[x].data[d.index],E,t,r,a,i)}}else e.child&&dt(e.child,n,t,r,a,i);if(i!==o){var _=2&e.flags?e.projectionNext:e.next;_&&dt(_,n,t,r,a,i)}}function Jg(e,n,t,r,a){for(var i=xe;i<e.length;i++){var o=e[i],u=o[x].firstChild;u&&dt(u,o,n,t,r,a)}}function pl(e,n,t,r,a){if(a!==e){var i=ir(e);if(!i)return;(r&&i instanceof ia&&n(i)&&-1===t.indexOf(i)||!r&&n(i)&&-1===t.indexOf(i))&&t.push(i)}}function hl(e,n,t,r){for(var a=e.childNodes,i=a.length,o=0;o<i;o++){var u=a[o],s=ir(u);s&&((r&&s instanceof ia&&n(s)&&-1===t.indexOf(s)||!r&&n(s)&&-1===t.indexOf(s))&&t.push(s),hl(u,n,t,r))}}var ml="__ng_debug__";function ir(e){return e instanceof Node?(e.hasOwnProperty(ml)||(e[ml]=e.nodeType==Node.ELEMENT_NODE?new ia(e):new vl(e)),e[ml]):null}var $g=function(){function e(){(0,m.Z)(this,e)}return(0,y.Z)(e,[{key:"supports",value:function(t){return fi(t)}},{key:"create",value:function(t){return new Xg(t)}}]),e}(),LC=function(n,t){return t},Xg=function(){function e(n){(0,m.Z)(this,e),this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=n||LC}return(0,y.Z)(e,[{key:"forEachItem",value:function(t){var r;for(r=this._itHead;null!==r;r=r._next)t(r)}},{key:"forEachOperation",value:function(t){for(var r=this._itHead,a=this._removalsHead,i=0,o=null;r||a;){var u=!a||r&&r.currentIndex<nm(a,i,o)?r:a,s=nm(u,i,o),l=u.currentIndex;if(u===a)i--,a=a._nextRemoved;else if(r=r._next,null==u.previousIndex)i++;else{o||(o=[]);var c=s-i,f=l-i;if(c!=f){for(var d=0;d<c;d++){var v=d<o.length?o[d]:o[d]=0,h=v+d;f<=h&&h<c&&(o[d]=v+1)}o[u.previousIndex]=f-c}}s!==l&&t(u,s,l)}}},{key:"forEachPreviousItem",value:function(t){var r;for(r=this._previousItHead;null!==r;r=r._nextPrevious)t(r)}},{key:"forEachAddedItem",value:function(t){var r;for(r=this._additionsHead;null!==r;r=r._nextAdded)t(r)}},{key:"forEachMovedItem",value:function(t){var r;for(r=this._movesHead;null!==r;r=r._nextMoved)t(r)}},{key:"forEachRemovedItem",value:function(t){var r;for(r=this._removalsHead;null!==r;r=r._nextRemoved)t(r)}},{key:"forEachIdentityChange",value:function(t){var r;for(r=this._identityChangesHead;null!==r;r=r._nextIdentityChange)t(r)}},{key:"diff",value:function(t){if(null==t&&(t=[]),!fi(t))throw new Z(900,!1);return this.check(t)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(t){var r=this;this._reset();var o,u,s,a=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(var l=0;l<this.length;l++)s=this._trackByFn(l,u=t[l]),null!==a&&Object.is(a.trackById,s)?(i&&(a=this._verifyReinsertion(a,u,s,l)),Object.is(a.item,u)||this._addIdentityChange(a,u)):(a=this._mismatch(a,u,s,l),i=!0),a=a._next}else o=0,function n0(e,n){if(Array.isArray(e))for(var t=0;t<e.length;t++)n(e[t]);else for(var a,r=e[Symbol.iterator]();!(a=r.next()).done;)n(a.value)}(t,function(c){s=r._trackByFn(o,c),null!==a&&Object.is(a.trackById,s)?(i&&(a=r._verifyReinsertion(a,c,s,o)),Object.is(a.item,c)||r._addIdentityChange(a,c)):(a=r._mismatch(a,c,s,o),i=!0),a=a._next,o++}),this.length=o;return this._truncate(a),this.collection=t,this.isDirty}},{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}},{key:"_reset",value:function(){if(this.isDirty){var t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}},{key:"_mismatch",value:function(t,r,a,i){var o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(a,null))?(Object.is(t.item,r)||this._addIdentityChange(t,r),this._reinsertAfter(t,o,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(a,i))?(Object.is(t.item,r)||this._addIdentityChange(t,r),this._moveAfter(t,o,i)):t=this._addAfter(new FC(r,a),o,i),t}},{key:"_verifyReinsertion",value:function(t,r,a,i){var o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(a,null);return null!==o?t=this._reinsertAfter(o,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}},{key:"_truncate",value:function(t){for(;null!==t;){var r=t._next;this._addToRemovals(this._unlink(t)),t=r}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}},{key:"_reinsertAfter",value:function(t,r,a){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);var i=t._prevRemoved,o=t._nextRemoved;return null===i?this._removalsHead=o:i._nextRemoved=o,null===o?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(t,r,a),this._addToMoves(t,a),t}},{key:"_moveAfter",value:function(t,r,a){return this._unlink(t),this._insertAfter(t,r,a),this._addToMoves(t,a),t}},{key:"_addAfter",value:function(t,r,a){return this._insertAfter(t,r,a),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}},{key:"_insertAfter",value:function(t,r,a){var i=null===r?this._itHead:r._next;return t._next=i,t._prev=r,null===i?this._itTail=t:i._prev=t,null===r?this._itHead=t:r._next=t,null===this._linkedRecords&&(this._linkedRecords=new em),this._linkedRecords.put(t),t.currentIndex=a,t}},{key:"_remove",value:function(t){return this._addToRemovals(this._unlink(t))}},{key:"_unlink",value:function(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);var r=t._prev,a=t._next;return null===r?this._itHead=a:r._next=a,null===a?this._itTail=r:a._prev=r,t}},{key:"_addToMoves",value:function(t,r){return t.previousIndex===r||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}},{key:"_addToRemovals",value:function(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new em),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}},{key:"_addIdentityChange",value:function(t,r){return t.item=r,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}]),e}(),FC=(0,y.Z)(function e(n,t){(0,m.Z)(this,e),this.item=n,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}),ZC=function(){function e(){(0,m.Z)(this,e),this._head=null,this._tail=null}return(0,y.Z)(e,[{key:"add",value:function(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}},{key:"get",value:function(t,r){var a;for(a=this._head;null!==a;a=a._nextDup)if((null===r||r<=a.currentIndex)&&Object.is(a.trackById,t))return a;return null}},{key:"remove",value:function(t){var r=t._prevDup,a=t._nextDup;return null===r?this._head=a:r._nextDup=a,null===a?this._tail=r:a._prevDup=r,null===this._head}}]),e}(),em=function(){function e(){(0,m.Z)(this,e),this.map=new Map}return(0,y.Z)(e,[{key:"put",value:function(t){var r=t.trackById,a=this.map.get(r);a||(a=new ZC,this.map.set(r,a)),a.add(t)}},{key:"get",value:function(t,r){var i=this.map.get(t);return i?i.get(t,r):null}},{key:"remove",value:function(t){var r=t.trackById;return this.map.get(r).remove(t)&&this.map.delete(r),t}},{key:"isEmpty",get:function(){return 0===this.map.size}},{key:"clear",value:function(){this.map.clear()}}]),e}();function nm(e,n,t){var r=e.previousIndex;if(null===r)return r;var a=0;return t&&r<t.length&&(a=t[r]),r+n+a}var tm=function(){function e(){(0,m.Z)(this,e)}return(0,y.Z)(e,[{key:"supports",value:function(t){return t instanceof Map||Pu(t)}},{key:"create",value:function(){return new jC}}]),e}(),jC=function(){function e(){(0,m.Z)(this,e),this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return(0,y.Z)(e,[{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}},{key:"forEachItem",value:function(t){var r;for(r=this._mapHead;null!==r;r=r._next)t(r)}},{key:"forEachPreviousItem",value:function(t){var r;for(r=this._previousMapHead;null!==r;r=r._nextPrevious)t(r)}},{key:"forEachChangedItem",value:function(t){var r;for(r=this._changesHead;null!==r;r=r._nextChanged)t(r)}},{key:"forEachAddedItem",value:function(t){var r;for(r=this._additionsHead;null!==r;r=r._nextAdded)t(r)}},{key:"forEachRemovedItem",value:function(t){var r;for(r=this._removalsHead;null!==r;r=r._nextRemoved)t(r)}},{key:"diff",value:function(t){if(t){if(!(t instanceof Map||Pu(t)))throw new Z(900,!1)}else t=new Map;return this.check(t)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(t){var r=this;this._reset();var a=this._mapHead;if(this._appendAfter=null,this._forEach(t,function(o,u){if(a&&a.key===u)r._maybeAddToChanges(a,o),r._appendAfter=a,a=a._next;else{var s=r._getOrCreateRecordForKey(u,o);a=r._insertBeforeOrAppend(a,s)}}),a){a._prev&&(a._prev._next=null),this._removalsHead=a;for(var i=a;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}},{key:"_insertBeforeOrAppend",value:function(t,r){if(t){var a=t._prev;return r._next=t,r._prev=a,t._prev=r,a&&(a._next=r),t===this._mapHead&&(this._mapHead=r),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=r,r._prev=this._appendAfter):this._mapHead=r,this._appendAfter=r,null}},{key:"_getOrCreateRecordForKey",value:function(t,r){if(this._records.has(t)){var a=this._records.get(t);this._maybeAddToChanges(a,r);var i=a._prev,o=a._next;return i&&(i._next=o),o&&(o._prev=i),a._next=null,a._prev=null,a}var u=new HC(t);return this._records.set(t,u),u.currentValue=r,this._addToAdditions(u),u}},{key:"_reset",value:function(){if(this.isDirty){var t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}},{key:"_maybeAddToChanges",value:function(t,r){Object.is(r,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=r,this._addToChanges(t))}},{key:"_addToAdditions",value:function(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}},{key:"_addToChanges",value:function(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}},{key:"_forEach",value:function(t,r){t instanceof Map?t.forEach(r):Object.keys(t).forEach(function(a){return r(t[a],a)})}}]),e}(),HC=(0,y.Z)(function e(n){(0,m.Z)(this,e),this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null});function rm(){return new yl([new $g])}var yl=function(){var e=function(){function n(t){(0,m.Z)(this,n),this.factories=t}return(0,y.Z)(n,[{key:"find",value:function(r){var a=this.factories.find(function(i){return i.supports(r)});if(null!=a)return a;throw new Z(901,!1)}}],[{key:"create",value:function(r,a){if(null!=a){var i=a.factories.slice();r=r.concat(i)}return new n(r)}},{key:"extend",value:function(r){return{provide:n,useFactory:function(i){return n.create(r,i||rm())},deps:[[n,new Fa,new La]]}}}]),n}();return e.\u0275prov=Ce({token:e,providedIn:"root",factory:rm}),e}();function am(){return new _l([new tm])}var _l=function(){var e=function(){function n(t){(0,m.Z)(this,n),this.factories=t}return(0,y.Z)(n,[{key:"find",value:function(r){var a=this.factories.find(function(i){return i.supports(r)});if(a)return a;throw new Z(901,!1)}}],[{key:"create",value:function(r,a){if(a){var i=a.factories.slice();r=r.concat(i)}return new n(r)}},{key:"extend",value:function(r){return{provide:n,useFactory:function(i){return n.create(r,i||am())},deps:[[n,new Fa,new La]]}}}]),n}();return e.\u0275prov=Ce({token:e,providedIn:"root",factory:am}),e}(),UC=[new tm],VC=new yl([new $g]),WC=new _l(UC),GC=Lg(null,"core",[]),zC=function(){var e=(0,y.Z)(function n(t){(0,m.Z)(this,n)});return e.\u0275fac=function(t){return new(t||e)(Fe(ar))},e.\u0275mod=Ki({type:e}),e.\u0275inj=la({}),e}(),KC=function(){function e(){(0,m.Z)(this,e),this.views=[],this.indexByContent=new Map}return(0,y.Z)(e,[{key:"add",value:function(t){var r=JSON.stringify(t);if(!this.indexByContent.has(r)){var a=this.views.length;return this.views.push(t),this.indexByContent.set(r,a),a}return this.indexByContent.get(r)}},{key:"getAll",value:function(){return this.views}}]),e}(),QC=0;function im(e){return e.ssrId||(e.ssrId="t".concat(QC++)),e.ssrId}function om(e,n,t){var r=[];return Wr(e,n,t,r),r.length}function qC(e,n){var o,t=new KC,r=new Map,i=(0,w.Z)(e._views);try{for(i.s();!(o=i.n()).done;){var s=Ed(o.value);if(null!==s){var l=s[Oe];l&&!l.hasAttribute(Rt)&&(Dl(l,s,{serializedViewCollection:t,corruptedTextNodes:r}),$C(r,n))}}}catch(v){i.e(v)}finally{i.f()}var f=t.getAll();e.injector.get(kr).set(su,f)}function YC(e,n){for(var t=[],r="",a=xe;a<e.length;a++){var i,o=e[a];Yi(o)&&(o=o[ne]);var u=o[x],s=void 0,l=0;1===u.type?(s=u.ssrId,l=1):(s=im(u),l=om(u,o,u.firstChild));var c=(0,F.Z)(((0,I.Z)(i={},md,s),(0,I.Z)(i,Lr,l),i),sm(e[a],n)),f=JSON.stringify(c);if(t.length>0&&f===r){var d,v=t[t.length-1];null!==(d=v[xr])&&void 0!==d||(v[xr]=1),v[xr]++}else r=f,t.push(c)}return t}function El(e,n,t){var r,a=n.index-ne;null!==(r=e[ti])&&void 0!==r||(e[ti]={}),e[ti][a]=m0(n,t)}function um(e,n){var t,r=n.index-ne;null!==(t=e[Fr])&&void 0!==t||(e[Fr]=[]),e[Fr].includes(r)||e[Fr].push(r)}function sm(e,n){for(var t={},r=e[x],a=ne;a<r.bindingStartIndex;a++){var i=r.data[a],o=a-ne;if(i){if(lm(i,e)&&XC(i)){um(t,i);continue}if(Array.isArray(i.projection)){var s,u=(0,w.Z)(i.projection);try{for(u.s();!(s=u.n()).done;){var l=s.value;if(l){if(Array.isArray(l))throw i0(me(e[a]));!Gm(l)&&!Ba(l)&&(lm(l,e)?um(t,l):El(t,l,e))}}}catch(B){u.e(B)}finally{u.f()}}if(Qe(e[a])){var c,d,f=i.tView;null!==f&&(null!==(d=t[ni])&&void 0!==d||(t[ni]={}),t[ni][o]=im(f));var v=e[a][Oe];if(Array.isArray(v)){var h=me(v);h.hasAttribute(Rt)||Dl(h,v,n)}null!==(c=t[Ft])&&void 0!==c||(t[Ft]={}),t[Ft][o]=YC(e[a],n)}else if(Array.isArray(e[a])){var g=me(e[a][Oe]);g.hasAttribute(Rt)||Dl(g,e[a],n)}else if(8&i.type){var E;null!==(E=t[ei])&&void 0!==E||(t[ei]={}),t[ei][o]=om(r,e,i.child)}else if(16&i.type){for(var S=i.next;null!==S&&16&S.type;)S=S.next;S&&!Ba(S)&&El(t,S,e)}else{if(1&i.type){var _,k=me(e[a]);""===k.textContent?n.corruptedTextNodes.set(k,"ngetn"):(null===(_=k.nextSibling)||void 0===_?void 0:_.nodeType)===Node.TEXT_NODE&&n.corruptedTextNodes.set(k,"ngtns")}i.projectionNext&&i.projectionNext!==i.next&&!Ba(i.projectionNext)&&El(t,i.projectionNext,e)}}}return t}function Dl(e,n,t){var r=n[$];if(32==(32&n[X])||function JC(e){var n,t=e[De];return!(null==t||!t.constructor)&&(null===(n=oe(t.constructor))||void 0===n?void 0:n.encapsulation)===yn.ShadowDom}(n))r.setAttribute(e,Rt,"");else{var a=sm(n,t),i=t.serializedViewCollection.add(a);r.setAttribute(e,lu,i.toString())}}function $C(e,n){var r,t=(0,w.Z)(e);try{for(t.s();!(r=t.n()).done;){var a=(0,P.Z)(r.value,2);a[0].after(n.createComment(a[1]))}}catch(u){t.e(u)}finally{t.f()}}function XC(e){for(var n=e;null!=n;){if(Xn(n))return!0;n=n.parent}return!1}function lm(e,n){return!(16&e.type||!n[e.index]||me(n[e.index]).isConnected)}var cm=!1;function Fi(){return"browser"===ge(iu)}function tT(){return Yo([{provide:Ur,useFactory:function(){var n=!0;if(Fi()){var t=ge(kr,{optional:!0});n=!(null==t||!t.get(su,null))}return n&&ge(gd).add("hydration"),n}},{provide:Nr,useValue:function(){Fi()&&ge(Ur)&&function eT(){cm||(cm=!0,function LE(){yd=xE}(),function M0(){Av=I0}(),function J0(){np=Y0}(),function b0(){Pv=T0}(),function E0(){bv=_0}(),function IM(){xh=DM}(),function mM(){Ah=gM}(),function cD(){Yd=lD}())}()},multi:!0},{provide:Ad,useFactory:function(){return Fi()&&ge(Ur)}},{provide:fl,useFactory:function(){if(Fi()&&ge(Ur)){var n=ge(ar);return ge(Qn),function(){(function nT(e,n){return e.isStable.pipe((0,q.P)(function(u){return u})).toPromise().then(function(){})})(n).then(function(){!function pM(e){var r,t=(0,w.Z)(e._views);try{for(t.s();!(r=t.n()).done;){var i=Ed(r.value);null!==i&&null!==i[Oe]&&qs(i)}}catch(o){t.e(o)}finally{t.f()}}(n)})}}return function(){}},multi:!0}])}function rT(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function aT(e){return Pe().compileDirectiveDeclaration(Ge,"ng:///".concat(e.type.name,"/\u0275fac.js"),e)}function iT(e){var n,t;oh(e.type,e.decorators,null!==(n=e.ctorParameters)&&void 0!==n?n:null,null!==(t=e.propDecorators)&&void 0!==t?t:null)}function oT(e){return Pe().compileComponentDeclaration(Ge,"ng:///".concat(e.type.name,"/\u0275cmp.js"),e)}function uT(e){return Pe(function sT(e){switch(e){case Ae.Directive:return"directive";case Ae.Component:return"component";case Ae.Injectable:return"injectable";case Ae.Pipe:return"pipe";case Ae.NgModule:return"NgModule"}}(e.target)).compileFactoryDeclaration(Ge,"ng:///".concat(e.type.name,"/\u0275fac.js"),e)}function lT(e){return Pe().compileInjectableDeclaration(Ge,"ng:///".concat(e.type.name,"/\u0275prov.js"),e)}function cT(e){return Pe().compileInjectorDeclaration(Ge,"ng:///".concat(e.type.name,"/\u0275inj.js"),e)}function fT(e){return Pe().compileNgModuleDeclaration(Ge,"ng:///".concat(e.type.name,"/\u0275mod.js"),e)}function dT(e){return Pe().compilePipeDeclaration(Ge,"ng:///".concat(e.type.name,"/\u0275pipe.js"),e)}function vT(e,n){var t=oe(e),r=n.elementInjector||Xa();return new Wt(t).create(r,n.projectableNodes,n.hostElement,n.environmentInjector)}function pT(e){var n=oe(e);if(!n)return null;var t=new Wt(n);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return n.standalone}}}function hT(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return n.reduce(function(r,a){return Object.assign(r,a,{providers:[].concat((0,D.Z)(r.providers),(0,D.Z)(a.providers))})},{providers:[]})}},44841:(ee,R,p)=>{function O(A,I){(null==I||I>A.length)&&(I=A.length);for(var b=0,T=new Array(I);b<I;b++)T[b]=A[b];return T}p.d(R,{Z:()=>O})},8091:(ee,R,p)=>{function O(A){if(Array.isArray(A))return A}p.d(R,{Z:()=>O})},35488:(ee,R,p)=>{function O(A){if(void 0===A)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A}p.d(R,{Z:()=>O})},95106:(ee,R,p)=>{p.d(R,{Z:()=>A});var O=p(44206);function A(I,b){var T=typeof Symbol<"u"&&I[Symbol.iterator]||I["@@iterator"];if(!T){if(Array.isArray(I)||(T=(0,O.Z)(I))||b&&I&&"number"==typeof I.length){T&&(I=T);var D=0,M=function(){};return{s:M,n:function(){return D>=I.length?{done:!0}:{done:!1,value:I[D++]}},e:function(m){throw m},f:M}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var F,P=!0,w=!1;return{s:function(){T=T.call(I)},n:function(){var m=T.next();return P=m.done,m},e:function(m){w=!0,F=m},f:function(){try{!P&&null!=T.return&&T.return()}finally{if(w)throw F}}}}},28694:(ee,R,p)=>{p.d(R,{Z:()=>D});var O=p(20265),A=p(98568),I=p(43445),b=p(35488);function D(M){var P=(0,A.Z)();return function(){var y,F=(0,O.Z)(M);if(P){var m=(0,O.Z)(this).constructor;y=Reflect.construct(F,arguments,m)}else y=F.apply(this,arguments);return function T(M,P){if(P&&("object"===(0,I.Z)(P)||"function"==typeof P))return P;if(void 0!==P)throw new TypeError("Derived constructors may only return object or undefined");return(0,b.Z)(M)}(this,y)}}},77797:(ee,R,p)=>{p.d(R,{Z:()=>A});var O=p(51299);function A(I,b,T){return(b=(0,O.Z)(b))in I?Object.defineProperty(I,b,{value:T,enumerable:!0,configurable:!0,writable:!0}):I[b]=T,I}},4089:(ee,R,p)=>{p.d(R,{Z:()=>I});var O=p(20265);function I(){return I=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(T,D,M){var P=function A(b,T){for(;!Object.prototype.hasOwnProperty.call(b,T)&&null!==(b=(0,O.Z)(b)););return b}(T,D);if(P){var w=Object.getOwnPropertyDescriptor(P,D);return w.get?w.get.call(arguments.length<3?T:M):w.value}},I.apply(this,arguments)}},20265:(ee,R,p)=>{function O(A){return(O=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(b){return b.__proto__||Object.getPrototypeOf(b)})(A)}p.d(R,{Z:()=>O})},24582:(ee,R,p)=>{p.d(R,{Z:()=>A});var O=p(10006);function A(I,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function");I.prototype=Object.create(b&&b.prototype,{constructor:{value:I,writable:!0,configurable:!0}}),Object.defineProperty(I,"prototype",{writable:!1}),b&&(0,O.Z)(I,b)}},98568:(ee,R,p)=>{function O(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}p.d(R,{Z:()=>O})},4826:(ee,R,p)=>{function O(A){if(typeof Symbol<"u"&&null!=A[Symbol.iterator]||null!=A["@@iterator"])return Array.from(A)}p.d(R,{Z:()=>O})},8217:(ee,R,p)=>{function O(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}p.d(R,{Z:()=>O})},35603:(ee,R,p)=>{p.d(R,{Z:()=>I});var O=p(77797);function A(b,T){var D=Object.keys(b);if(Object.getOwnPropertySymbols){var M=Object.getOwnPropertySymbols(b);T&&(M=M.filter(function(P){return Object.getOwnPropertyDescriptor(b,P).enumerable})),D.push.apply(D,M)}return D}function I(b){for(var T=1;T<arguments.length;T++){var D=null!=arguments[T]?arguments[T]:{};T%2?A(Object(D),!0).forEach(function(M){(0,O.Z)(b,M,D[M])}):Object.getOwnPropertyDescriptors?Object.defineProperties(b,Object.getOwnPropertyDescriptors(D)):A(Object(D)).forEach(function(M){Object.defineProperty(b,M,Object.getOwnPropertyDescriptor(D,M))})}return b}},10006:(ee,R,p)=>{function O(A,I){return(O=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(T,D){return T.__proto__=D,T})(A,I)}p.d(R,{Z:()=>O})},32090:(ee,R,p)=>{p.d(R,{Z:()=>T});var O=p(8091),I=p(44206),b=p(8217);function T(D,M){return(0,O.Z)(D)||function A(D,M){var P=null==D?null:typeof Symbol<"u"&&D[Symbol.iterator]||D["@@iterator"];if(null!=P){var w,F,y,m,N=[],j=!0,se=!1;try{if(y=(P=P.call(D)).next,0===M){if(Object(P)!==P)return;j=!1}else for(;!(j=(w=y.call(P)).done)&&(N.push(w.value),N.length!==M);j=!0);}catch(he){se=!0,F=he}finally{try{if(!j&&null!=P.return&&(m=P.return(),Object(m)!==m))return}finally{if(se)throw F}}return N}}(D,M)||(0,I.Z)(D,M)||(0,b.Z)()}},86170:(ee,R,p)=>{p.d(R,{Z:()=>D});var O=p(44841),I=p(4826),b=p(44206);function D(M){return function A(M){if(Array.isArray(M))return(0,O.Z)(M)}(M)||(0,I.Z)(M)||(0,b.Z)(M)||function T(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(ee,R,p)=>{p.d(R,{Z:()=>A});var O=p(44841);function A(I,b){if(I){if("string"==typeof I)return(0,O.Z)(I,b);var T=Object.prototype.toString.call(I).slice(8,-1);if("Object"===T&&I.constructor&&(T=I.constructor.name),"Map"===T||"Set"===T)return Array.from(I);if("Arguments"===T||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T))return(0,O.Z)(I,b)}}}}]); +//# sourceMappingURL=6839.055ca8b6e5386f89.js.map \ No newline at end of file diff --git a/6839.055ca8b6e5386f89.js.map b/6839.055ca8b6e5386f89.js.map new file mode 100644 index 0000000..aa2c974 --- /dev/null +++ b/6839.055ca8b6e5386f89.js.map @@ -0,0 +1 @@ +{"version":3,"file":"6839.055ca8b6e5386f89.js","mappings":"gcACaA,EAAe,SAAAC,IAAAC,OAAAF,EAAAC,GAAA,IAAAE,KAAAC,KAAAJ,GACxB,SAAAA,EAAYK,GAAQ,IAAAC,EAAAC,cAAAC,KAAAR,IAChBM,EAAAH,EAAAM,KAAAD,OACKH,OAASA,EAAOC,CACzB,CAACI,cAAAV,EAAA,EAAAW,IAAA,QAAAC,IACD,WACI,OAAOJ,KAAKK,UAChB,GAAC,CAAAF,IAAA,aAAAG,MACD,SAAWC,GACP,IAAMC,KAAYC,QAAAC,KAAAlB,EAAAmB,WAAA,aAAAX,MAAAC,KAAAD,KAAoBO,GACtC,OAACC,EAAaI,QAAUL,EAAWM,KAAKb,KAAKH,QACtCW,CACX,GAAC,CAAAL,IAAA,WAAAG,MACD,WACI,IAA+BT,GAAWG,KAAXH,OAC/B,GAD0CG,KAAlCc,SAEJ,MAFsCd,KAAxBe,YAIlB,OAAAf,KAAKgB,iBACEnB,EACX,GAAC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AA2lH,EAAAtjH,SAAAgD,GAA6EugH,GAAA,GACjG,OAAM3jH,IACN4jH,IAAA,EAAAlD,EAAA1gH,EACA,SACA,IACA,IAAA2jH,GAAA,MAAAL,EAAAz/G,SAAA4/G,EAAAH,EAAAz/G,SAAAqX,OAAAuoG,QAAA,MACA,SACA,GAAAG,GAAA,MAAAlD,CACA,CACA,CACA,OAAAgD,CAAA,CAEA,CDrBgCL,CAAoB14G,EAAAvH,KAAA,EAAYygH,EAAArD,GAA0B71G,EAAAvH,KAAA,EAAY0gH,EAAAtD,IACtG,yEEFe,SAAAjhF,EAAA50B,GACf,OCJe,SAAAo5G,EAAAp5G,GACf,GAAAnL,MAAAuM,QAAApB,GAAA,SAAiCq5G,EAAAxD,GAAgB71G,EACjD,CDESo5G,CAAiBp5G,KAAA,EAASs5G,EAAAzD,GAAe71G,KAAA,EAASk5G,EAAArD,GAA0B71G,IELtE,SAAAu5G,IACf,UAAA34G,UAAA,uIACA,CFG8F24G,EAC9F,oDGLe,SAAAC,EAAAhnD,EAAAinD,GACf,GAAAjnD,EACA,qBAAAA,EAAA,SAAoCknD,EAAA7D,GAAgBrjD,EAAAinD,GACpD,IAAAtkH,EAAAob,OAAA9c,UAAAgO,SAAA1O,KAAAy/D,GAAAznD,MAAA,MAEA,GADA,WAAA5V,GAAAq9D,EAAA3lC,cAAA13B,EAAAq9D,EAAA3lC,YAAA34B,MACA,QAAAiB,GAAA,QAAAA,EAAA,OAAAN,MAAAC,KAAA09D,GACA,iBAAAr9D,GAAA,2CAAAq+B,KAAAr+B,GAAA,SAAsFukH,EAAA7D,GAAgBrjD,EAAAinD,EAAA,CACtG","names":["BehaviorSubject","_Subject","_inherits","_super","_createSuper","_value","_this","_classCallCheck","this","call","_createClass","key","get","getValue","value","subscriber","subscription","_get","_getPrototypeOf","prototype","closed","next","hasError","thrownError","_throwIfClosed","Subject","ObjectUnsubscribedError","createErrorClass","name","message","_Observable","currentObservers","observers","isStopped","operator","subject","AnonymousSubject","_this2","errorContext","Array","from","_step","_iterator","_createForOfIteratorHelper","s","n","done","err","e","f","_this3","length","shift","error","_this4","complete","_a","_checkFinalizedStatuses","_innerSubscribe","_this5","EMPTY_SUBSCRIPTION","push","Subscription","arrRemove","observable","Observable","source","create","destination","_super2","_this6","_b","subscribe","EMPTY","subscribeOn","scheduler","delay","arguments","undefined","operate","add","schedule","scheduleAsyncIterable","input","Error","executeSchedule","iterator","Symbol","asyncIterator","then","result","scheduled","isInteropObservable","scheduleObservable","innerFrom","pipe","observeOn","isArrayLike","scheduleArray","i","isPromise","schedulePromise","isAsyncIterable","isIterable","scheduleIterable","Symbol_iterator","_iterator$next","isFunction","return","isReadableStreamLike","scheduleReadableStreamLike","readableStreamLikeToAsyncGenerator","createInvalidObservableTypeError","merge","_len","args","_key","popScheduler","concurrent","popNumber","Infinity","sources","mergeAll","of","createOperatorSubscriber","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_next","_assertThisInitialized","_error","unsubscribe","_complete","Subscriber","defaultIfEmpty","defaultValue","hasValue","distinctUntilChanged","comparator","keySelector","identity","defaultCompare","previousKey","first","currentKey","a","b","filter","predicate","thisArg","index","hasDefaultValue","v","take","throwIfEmpty","EmptyError","map","project","mergeMap","resultSelector","ii","mergeInternals","onBeforeNext","expand","innerSubScheduler","additionalFinalizer","buffer","active","isComplete","checkComplete","outerNext","doInnerSub","innerComplete","innerValue","_loop","bufferedValue","share","options","_options$connector","connector","_options$resetOnError","resetOnError","_options$resetOnCompl","resetOnComplete","_options$resetOnRefCo","resetOnRefCountZero","wrapperSource","connection","resetConnection","refCount","hasCompleted","hasErrored","cancelReset","reset","resetAndUnsubscribe","conn","dest","handleReset","SafeSubscriber","on","onSubscriber","apply","switchMap","innerSubscriber","innerIndex","outerIndex","count","seen","errorFactory","defaultErrorFactory","last","arr","popResultSelector","pop","isScheduler","parentSubscription","work","repeat","scheduleSubscription","hasLift","lift","init","liftedSource","TypeError","getClosureSafeProperty","objWithPropertyToExtract","fillProperties","target","hasOwnProperty","stringify","token","isArray","join","overriddenName","concat","res","toString","newLineIndex","indexOf","substring","concatStringsWithSpace","before","after","__forward_ref__","forwardRef","forwardRefFn","resolveForwardRef","type","isForwardRef","fn","isEnvironmentProviders","ɵproviders","XSS_SECURITY_URL","RuntimeError","_Error","code","formatRuntimeError","_wrapNativeSuper","fullCode","Math","abs","renderStringify","String","stringifyForError","throwProviderNotFoundError","injectorName","ngDevMode","throwError","msg","actual","expected","comparison","ɵɵdefineInjectable","opts","providedIn","factory","defineInjectable","ɵɵdefineInjector","providers","imports","getInjectableDef","getOwnDefinition","NG_PROV_DEF","NG_INJECTABLE_DEF","isInjectable","field","getInjectorDef","NG_INJ_DEF","NG_INJECTOR_DEF","_injectImplementation","ɵprov","ɵinj","ngInjectableDef","ngInjectorDef","InjectFlags","Default","Host","Self","SkipSelf","Optional","getInjectImplementation","setInjectImplementation","impl","previous","injectRootLimpMode","notFoundValue","flags","injectableDef","_global","globalThis","global","window","self","WorkerGlobalScope","THROW_IF_NOT_FOUND","DI_DECORATOR_FLAG","NG_TEMP_TOKEN_PATH","NEW_LINE","SOURCE","_currentInjector","setCurrentInjector","injector","former","injectInjectorOnly","ɵɵinject","ɵɵinvalidFactoryDep","inject","convertToBitFlags","optional","host","skipSelf","injectArgs","types","arg","j","meta","flag","getInjectFlag","attachInjectFlag","decorator","noSideEffects","ChangeDetectionStrategy","OnPush","ViewEncapsulation$1","ViewEncapsulation","Emulated","None","ShadowDom","EMPTY_OBJ","EMPTY_ARRAY","NG_COMP_DEF","ɵcmp","NG_DIR_DEF","ɵdir","NG_PIPE_DEF","ɵpipe","NG_MOD_DEF","ɵmod","NG_FACTORY_DEF","ɵfac","NG_ELEMENT_ID","__NG_ELEMENT_ID__","NG_ENV_ID","__NG_ENV_ID__","classIndexOf","className","classToSearch","startingIndex","end","foundIndex","charCodeAt","setUpAttributes","renderer","native","attrs","namespaceURI","attrName","attrVal","setAttribute","isAnimationProp","setProperty","isNameOnlyAttributeMarker","marker","mergeHostAttrs","dst","src","slice","srcMarker","item","mergeHostAttribute","key1","key2","markerInsertPosition","dstValue","splice","NG_TEMPLATE_SELECTOR","isCssClassMatching","cssClassToMatch","isProjectionMode","isImplicitAttrsSection","toLowerCase","isInlineTemplate","tNode","hasTagAndTypeMatch","currentSelector","isNodeMatchingSelector","selector","mode","nodeAttrs","nameOnlyMarkerIdx","getNameOnlyMarkerIndex","skipToNextSelector","current","isPositive","selectorAttrValue","attrIndexInNode","findAttrIndexInNode","nodeAttrValue","compareAgainstClassName","bindingsMode","maybeAttrName","matchTemplateAttribute","attr","isNodeMatchingSelectorList","isSelectorInSelectorList","list","selectorListLoop","currentSelectorInList","maybeWrapInNotSelector","isNegativeMode","chunk","trim","stringifyCSSSelector","currentChunk","valueOrMarker","attrValue","ɵɵdefineComponent","componentDefinition","baseDef","getNgDirectiveDef","def","_objectSpread","decls","vars","template","consts","ngContentSelectors","onPush","changeDetection","directiveDefs","pipeDefs","dependencies","standalone","getStandaloneInjector","data","encapsulation","styles","_","schemas","tView","id","initFeatures","extractDefListOrFactory","getComponentId","componentDef","hash","hashSelectors","selectors","hostVars","hostAttrs","exportAs","JSON","inputs","outputs","Object","getOwnPropertyNames","contentQueries","viewQuery","char","imul","ɵɵsetComponentScope","directives","pipes","extractDirectiveDef","getComponentDef","getDirectiveDef","nonNull","ɵɵdefineNgModule","bootstrap","declarations","exports","transitiveCompileScopes","ɵɵsetNgModuleScope","scope","ngModuleDef","getNgModuleDef","invertObject","obj","secondary","newLookup","minifiedKey","publicName","declaredName","ɵɵdefineDirective","directiveDefinition","ɵɵdefinePipe","pipeDef","pure","onDestroy","ngOnDestroy","getPipeDef$1","isStandalone","throwNotFound","declaredInputs","providersResolver","hostBindings","features","setInput","findHostDirectiveDefs","hostDirectives","definition","_definition$features","forEach","defExtractor","dep","GENERATED_COMP_IDS","Map","HOST","TVIEW","FLAGS","PARENT","NEXT","DESCENDANT_VIEWS_TO_REFRESH","T_HOST","CLEANUP","CONTEXT","INJECTOR$1","ENVIRONMENT","RENDERER","CHILD_HEAD","CHILD_TAIL","DECLARATION_VIEW","DECLARATION_COMPONENT_VIEW","DECLARATION_LCONTAINER","PREORDER_HOOK_FLAGS","QUERIES","ID","EMBEDDED_VIEW_INJECTOR","ON_DESTROY_HOOKS","HYDRATION","REACTIVE_TEMPLATE_CONSUMER","REACTIVE_HOST_BINDING_CONSUMER","HEADER_OFFSET","TYPE","HAS_TRANSPLANTED_VIEWS","NATIVE","VIEW_REFS","MOVED_VIEWS","DEHYDRATED_VIEWS","CONTAINER_HEADER_OFFSET","isLView","isLContainer","isContentQueryHost","isComponentHost","componentOffset","isDirectiveHost","isComponentDef","isRootView","isProjectionTNode","getFactoryDef","SIGNAL","isSignal","createSignalFromFunction","node","extraApi","assign","defaultEquals","is","WeakRefImpl","_global$WeakRef","WeakRef","LeakyRef","ref","setAlternateWeakRefImpl","_nextReactiveId","activeConsumer","inNotificationPhase","setActiveConsumer","consumer","prev","ReactiveNode","newWeakRef","producers","consumers","trackingVersion","valueVersion","_step2","_iterator2","_step2$value","_slicedToArray","producerId","edge","producer","producerNode","deref","atTrackingVersion","producerPollStatus","seenValueVersion","delete","_step3","_iterator3","_step3$value","consumerId","consumerNode","onConsumerDependencyMayHaveChanged","set","size","_activeConsumer","consumerAllowSignalWrites","lastSeenValueVersion","onProducerUpdateValueVersion","computed","computation","_options$equal","ComputedImpl","equal","signal","bind","UNSET","COMPUTING","ERRORED","_ReactiveNode","stale","producerMayHaveChanged","consumerPollProducersForChange","recomputeValue","oldValue","newValue","prevConsumer","producerAccessed","throwInvalidWriteToSignalErrorFn","defaultThrowError","throwInvalidWriteToSignalError","WritableSignalImpl","_ReactiveNode2","_super3","_postSignalSetFn","producerUpdatesAllowed","updater","mutator","_postSignalSetFn2","readonlySignal","initialValue","_options$equal2","signalNode","update","mutate","asReadonly","untracked","nonReactiveReadsFn","NOOP_CLEANUP_FN","Watch","_ReactiveNode3","_super4","watch","allowSignalWrites","dirty","cleanupFn","registerOnCleanup","notify","SimpleChange","previousValue","currentValue","firstChange","ɵɵNgOnChangesFeature","NgOnChangesFeatureImpl","ngOnChanges","ngOnChangesSetInput","rememberChangeHistoryAndInvokeOnChangesHook","simpleChangesStore","getSimpleChangesStore","instance","privateName","setSimpleChangesStore","store","SIMPLE_CHANGES_STORE","previousChange","ngInherit","profilerCallback","setProfiler","profiler","event","hookOrListener","SVG_NAMESPACE","MATH_ML_NAMESPACE","unwrapRNode","getNativeByIndex","lView","getNativeByTNode","getTNode","load","view","getComponentLViewByIndex","nodeIndex","hostView","slotValue","viewAttachedToChangeDetector","getConstant","resetPreOrderHookFlags","markViewForRefresh","updateViewsToRefresh","clearViewRefreshFlag","amount","parent","viewOrContainer","storeLViewOnDestroy","onDestroyCallback","instructionState","lFrame","createLFrame","bindingsEnabled","skipHydrationRootTNode","getBindingsEnabled","isInSkipHydrationBlock$1","ɵɵenableBindings","ɵɵdisableBindings","getLView","getTView","ɵɵrestoreView","viewToRestore","contextLView","ɵɵresetView","getCurrentTNode","currentTNode","getCurrentTNodePlaceholderOk","getCurrentParentTNode","isParent","setCurrentTNode","isCurrentTNodeParent","setCurrentTNodeAsNotParent","getBindingRoot","bindingRootIndex","bindingStartIndex","getBindingIndex","bindingIndex","setBindingIndex","nextBindingIndex","incrementBindingIndex","setInI18nBlock","isInI18nBlock","inI18n","setBindingRootForHostBindings","currentDirectiveIndex","setCurrentDirectiveIndex","getCurrentDirectiveDef","tData","getCurrentQueryIndex","currentQueryIndex","setCurrentQueryIndex","getDeclarationTNode","declTNode","enterDI","parentTNode","parentLView","allocLFrame","enterView","newView","newLFrame","firstChild","currentLFrame","childLFrame","child","selectedIndex","elementDepthCount","currentNamespace","leaveViewLight","oldLFrame","leaveDI","leaveView","getSelectedIndex","setSelectedIndex","getSelectedTNode","ɵɵnamespaceSVG","ɵɵnamespaceMathML","ɵɵnamespaceHTML","namespaceHTMLInternal","getNamespace$1","_wasLastNodeCreated","wasLastNodeCreated","lastNodeWasCreated","registerPostOrderHooks","directiveStart","directiveEnd","_tView$contentHooks","_tView$contentHooks2","_tView$contentCheckHo","_tView$viewHooks","_tView$viewHooks2","_tView$viewCheckHooks","_tView$destroyHooks","lifecycleHooks","ngAfterContentInit","ngAfterContentChecked","ngAfterViewInit","ngAfterViewChecked","contentHooks","contentCheckHooks","viewHooks","viewCheckHooks","destroyHooks","executeCheckHooks","hooks","callHooks","executeInitAndCheckHooks","initPhase","incrementInitPhaseFlags","currentView","currentNodeIndex","nodeIndexLimit","max","lastNodeIndexFound","callHook","callHookInternal","directive","hook","isInitHook","NO_PARENT_INJECTOR","NodeInjectorFactory","isViewProvider","injectImplementation","resolving","canSeeViewProviders","injectImpl","hasParentInjector","parentLocation","getParentInjectorIndex","getParentInjectorView","location","startView","viewOffset","getParentInjectorViewOffset","parentView","includeViewProviders","setIncludeViewProviders","BLOOM_MASK","BLOOM_SIZE","BLOOM_BUCKET_BITS","nextNgElementId","NOT_FOUND","getOrCreateNodeInjectorForNode","existingInjectorIndex","getInjectorIndex","firstCreatePass","injectorIndex","insertBloom","blueprint","parentLoc","getParentInjectorLocation","parentIndex","parentData","footer","declarationViewOffset","lViewCursor","getTNodeFromLView","diPublicInInjector","bloomAdd","bloomHash","notFoundValueOrThrow","lookupTokenUsingModuleInjector","moduleInjector","previousInjectImplementation","getOrCreateInjectable","embeddedInjectorValue","lookupTokenUsingEmbeddedInjector","currentLView","nodeInjectorValue","lookupTokenUsingNodeInjector","embeddedViewInjector","embeddedViewInjectorValue","bloomHashBitOrFactory","tokenId","createNodeInjector","previousTView","hostTElementNode","shouldSearchParent","bloomHasToken","searchTokensOnInjector","currentTView","injectableIdx","locateDirectiveOrProvider","getNodeInjectable","canAccessViewProviders","isHostSpecialCase","nodeProviderIndexes","providerIndexes","tInjectables","injectablesStart","directivesStart","cptViewProvidersCount","endIndex","providerTokenOrDef","dirDef","isFactory","throwCyclicDependencyError","path","depPath","previousIncludeViewProviders","registerPreOrderHooks","directiveIndex","directiveDef","_tView$preOrderHooks2","_tView$preOrderHooks3","_tView$preOrderCheckH2","_directiveDef$type$pr","ngOnInit","ngDoCheck","_tView$preOrderHooks","_tView$preOrderCheckH","wrappedOnChanges","preOrderHooks","preOrderCheckHooks","injectorView","isFirstHostTNode","NodeInjector","_tNode","_lView","ɵɵgetInheritedFactory","ownConstructor","constructor","ownFactory","getFactoryOf","objectPrototype","getPrototypeOf","t","tViewType","ɵɵinjectAttribute","attrNameToInject","injectAttributeImpl","classes","attrsLength","ANNOTATIONS","PARAMETERS","PROP_METADATA","makeDecorator","props","parentClass","additionalProcessing","typeFn","metaCtor","makeMetadataCtor","DecoratorFactory","_len2","_key2","annotationInstance","_construct","cls","annotations","defineProperty","ngMetadataName","annotationCls","values","propName","makeParamDecorator","ParamDecoratorFactory","_len3","_key3","ParamDecorator","annotation","unusedKey","parameters","makePropDecorator","PropDecoratorFactory","_len4","_key4","decoratorInstance","PropDecorator","unshift","Attribute","attributeName","Query","ContentChildren","isViewQuery","descendants","emitDistinctChangesOnly","ContentChild","ViewChildren","ViewChild","FactoryTarget","Directive","Component","Injectable","Pipe","NgModule","getCompilerFacade","request","globalNg","ng","ɵcompilerFacade","Type","Function","isType","flatten","flat","Number","POSITIVE_INFINITY","deepForEach","addToArray","removeFromArray","newArray","keyValueArraySet","keyValueArray","keyValueArrayIndexOf","arrayInsert2","array","value1","value2","keyValueArrayGet","_arrayIndexOfSorted","start","middle","ES5_DELEGATE_CTOR","ES2015_INHERITED_CLASS","ES2015_INHERITED_CLASS_WITH_CTOR","ES2015_INHERITED_CLASS_WITH_DELEGATE_CTOR","ReflectionCapabilities","reflect","_reflect","Reflect","_len5","_key5","paramTypes","paramAnnotations","parentCtor","isDelegateCtor","typeStr","test","tsickleCtorParams","ctorParameters","ctorParam","convertTsickleDecoratorIntoMetadata","decorators","_zipTypesAndAnnotations","getOwnMetadata","getParentCtor","_ownParameters","typeOrFunc","ownAnnotations","_ownAnnotations","propMetadata","propDecorators","keys","prop","parentPropMetadata","ownPropMetadata","_ownPropMetadata","_toConsumableArray","lcProperty","decoratorInvocations","decoratorInvocation","ctor","parentProto","Inject","getReflect","reflectDependencies","convertDependencies","deps","reflectDependency","attribute","param","proto","resolveComponentResources","resourceResolver","componentResolved","urlMap","cachedResourceResolve","url","promise","resp","unwrapResponse","componentResourceResolutionQueue","component","promises","templateUrl","styleUrls","styleOffset","styleUrl","style","fullyResolved","Promise","all","componentDefResolved","componentDefPendingResolution","clearResolutionOfComponentResourcesQueue","Set","componentNeedsResolution","old","response","text","modules","checkForDuplicateNgModules","registerNgModuleType","ngModuleType","assertSameOrNotExisting","incoming","getRegisteredNgModuleType","setAllowDuplicateNgModuleIdsForTest","allowDuplicates","CUSTOM_ELEMENTS_SCHEMA","NO_ERRORS_SCHEMA","shouldThrowErrorOnUnknownElement","ɵsetUnknownElementStrictMode","shouldThrow","ɵgetUnknownElementStrictMode","shouldThrowErrorOnUnknownProperty","ɵsetUnknownPropertyStrictMode","ɵgetUnknownPropertyStrictMode","SKIP_HYDRATION_ATTR_NAME","hasNgSkipHydrationAttr","SKIP_HYDRATION_ATTR_NAME_LOWER_CASE","mergedAttrs","hasInSkipHydrationBlockFlag","isInSkipHydrationBlock","RendererStyleFlags2","Important","DashCase","COMMENT_DISALLOWED","COMMENT_DELIMITER","COMMENT_DELIMITER_ESCAPED","TRACKED_LVIEWS","uniqueIdCounter","getLViewById","LContext","lViewId","getLContext","mpValue","readPatchedData","isComponentInstance","findViaComponent","isDirectiveInstance","findViaDirective","directiveInstance","directiveIndexEnd","traverseNextElement","getDirectivesAtNodeIndex","findViaNativeElement","existingCtx","context","createLContext","attachPatchData","rElement","parentNode","parentContext","getComponentViewByInstance","componentInstance","patchedData","_icuContainerIterate","MONKEY_PATCH_KEY_NAME","registerLView","readPatchedLView","componentIndices","components","elementComponentIndex","results","icuContainerIterate","tIcuContainerNode","getLViewParent","getRootContext","viewOrComponent","rootView","getRootView","componentOrLView","getFirstLContainer","getNearestLContainer","getNextLContainer","container","applyToElementOrContainer","action","lNodeToHandle","beforeNode","lContainer","isComponent","rNode","nativeAppendChild","nativeInsertBefore","nativeRemoveNode","destroyNode","applyContainer","parentRElement","anchor","applyView","createTextNode","createText","updateTextNode","setValue","createCommentNode","createComment","escapeCommentText","replace","createElementNode","namespace","createElement","detachMovedView","declarationContainer","movedViews","declarationViewIndex","detachView","removeIndex","indexInContainer","viewToDetach","declarationLContainer","removedLView","removeViewFromContainer","lQueries","destroyLView","_lView$REACTIVE_TEMPL","_lView$REACTIVE_HOST_","destroy","destroyViewTree","lViewOrLContainer","cleanUpView","firstView","executeOnDestroys","toCall","callContext","processCleanups","tCleanup","cleanup","lCleanup","targetIdx","destroyHooksFn","unregisterLView","getParentRElement","getClosestRElement","isMove","insertBefore","appendChild","nativeAppendOrInsertBefore","nativeParentNode","getInsertInFrontOfRNode","_getInsertInFrontOfRNodeWithI18n","getInsertInFrontOfRNodeWithNoI18n","_processI18nInsertBefore","policy$1","setI18nHandling","getInsertInFrontOfRNodeWithI18n","processI18nInsertBefore","childRNode","childTNode","parentRNode","anchorNode","getFirstNativeNode","tNodeType","getBeforeNodeForView","elIcuContainerChild","rNodeOrLContainer","nextRNode","projectionNodes","getProjectionNodes","projection","viewIndexInContainer","nextViewIndex","firstTNodeOfView","isHostElement","nativeParent","nativeRemoveChild","removeChild","clearElementContents","textContent","applyNodes","isProjection","rawSlotValue","applyProjectionRecursive","projectionNext","tProjectionNode","componentLView","nodeToProjectOrRNodes","nodeToProject","projectedComponentLView","writeDirectClass","element","removeAttribute","setupStaticAttributes","writeDirectStyle","getPolicy$1","trustedTypes","createPolicy","createHTML","createScript","createScriptURL","trustedHTMLFromString","html","_getPolicy$","ɵɵvalidateIframeAttribute","tagName","iframe","srcdoc","policy","DOCUMENT","setDocument","document","getDocument","getPolicy","trustedHTMLFromStringBypass","_getPolicy","trustedScriptFromStringBypass","script","_getPolicy2","trustedScriptURLFromStringBypass","_getPolicy3","SafeValueImpl","changingThisBreaksApplicationSecurity","SafeHtmlImpl","_SafeValueImpl","_super5","SafeStyleImpl","_SafeValueImpl2","_super6","SafeScriptImpl","_SafeValueImpl3","_super7","SafeUrlImpl","_SafeValueImpl4","_super8","SafeResourceUrlImpl","_SafeValueImpl5","_super9","unwrapSafeValue","allowSanitizationBypassAndThrow","actualType","getSanitizationBypassType","getTypeName","bypassSanitizationTrustHtml","trustedHtml","bypassSanitizationTrustStyle","trustedStyle","bypassSanitizationTrustScript","trustedScript","bypassSanitizationTrustUrl","trustedUrl","bypassSanitizationTrustResourceUrl","trustedResourceUrl","getInertBodyHelper","defaultDoc","inertDocumentHelper","InertDocumentHelper","isDOMParserAvailable","DOMParser","parseFromString","DOMParserHelper","body","getInertBodyElement","inertDocument","implementation","createHTMLDocument","templateEl","innerHTML","SAFE_URL_PATTERN","_sanitizeUrl","match","tagSet","tags","_step4","_iterator4","split","_len7","sets","_key7","_i2","_sets","inertBodyHelper","VOID_ELEMENTS","OPTIONAL_END_TAG_BLOCK_ELEMENTS","OPTIONAL_END_TAG_INLINE_ELEMENTS","OPTIONAL_END_TAG_ELEMENTS","VALID_ELEMENTS","URI_ATTRS","VALID_ATTRS","SKIP_TRAVERSING_CONTENT_IF_INVALID_ELEMENTS","SanitizingHtmlSerializer","sanitizedSomething","buf","el","traverseContent","nodeType","Node","ELEMENT_NODE","startElement","TEXT_NODE","chars","nodeValue","endElement","checkClobberedElement","nextSibling","nodeName","elAttrs","attributes","elAttr","lower","encodeEntities","nextNode","compareDocumentPosition","DOCUMENT_POSITION_CONTAINED_BY","outerHTML","SURROGATE_PAIR_REGEXP","NON_ALPHANUMERIC_REGEXP","_sanitizeHtml","unsafeHtmlInput","inertBodyElement","unsafeHtml","mXSSAttempts","parsedHtml","sanitizeChildren","getTemplateContent","isTemplateElement","content","SecurityContext","NONE","HTML","STYLE","SCRIPT","URL","RESOURCE_URL","ɵɵsanitizeHtml","sanitizer","getSanitizer","sanitize","ɵɵsanitizeStyle","unsafeStyle","ɵɵsanitizeUrl","unsafeUrl","ɵɵsanitizeResourceUrl","unsafeResourceUrl","ɵɵsanitizeScript","unsafeScript","ɵɵtrustConstantHtml","ɵɵtrustConstantResourceUrl","trustedScriptURLFromString","_getPolicy$3","ɵɵsanitizeUrlOrResourceUrl","tag","getUrlSanitizer","InjectionToken","_desc","ENVIRONMENT_INITIALIZER","INJECTOR","INJECTOR_DEF_TYPES","NullInjector","makeEnvironmentProviders","importProvidersFrom","_len8","_key8","internalImportProvidersFrom","ɵfromNgModule","checkForStandaloneCmp","injectorTypesWithProviders","providersOut","dedup","_len9","_key9","internalSource","walkProviderTree","processInjectorTypesWithProviders","typesWithProviders","deepForEachProvider","provider","parents","defType","injDef","cmpDef","ngModule","isDuplicate","has","_step5","_iterator5","importTypesWithProviders","imported","provide","useFactory","useValue","multi","defProviders","_step6","_iterator6","USE_VALUE$1","isValueProvider","isTypeProvider","INJECTOR_SCOPE","NOT_YET","CIRCULAR","NULL_INJECTOR$1","getNullInjector","EnvironmentInjector","R3Injector","_EnvironmentInjector","_super10","scopes","records","_ngOnDestroyHooks","_onDestroyHooks","_destroyed","forEachSingleProvider","processProvider","makeRecord","record","injectorDefTypes","assertNotDestroyed","_step7","_iterator7","onDestroyHooks","_step8","_iterator8","clear","callback","_this7","removeOnDestroy","previousInjector","couldBeInjectableType","injectableDefInScope","injectableDefOrInjectorDefFactory","hydrate","catchInjectorError","injectorErrorName","tokenPath","formatError","charAt","parts","_step9","initializers","_iterator9","initializer","_step10","tokens","_iterator10","providerToRecord","providerToFactory","multiRecord","hasOnDestroy","destroyCBIdx","getUndecoratedInjectableFactory","paramLength","inheritedInjectableDef","getInheritedInjectableDef","unwrappedProvider","isFactoryProvider","isExistingProvider","useExisting","classRef","useClass","hasDeps","_step11","_iterator11","APP_ID","DEFAULT_APP_ID","PLATFORM_INITIALIZER","PLATFORM_ID","PACKAGE_ROOT_URL","ANIMATION_MODULE_TYPE","CSP_NONCE","_getDocument$body","_getDocument$body$que","querySelector","getAttribute","ENABLED_SSR_FEATURES","makeStateKey","initTransferState","transferState","TransferState","retrieveTransferredState","doc","appId","getElementById","parse","console","warn","onSerializeCallbacks","REFERENCE_NODE_HOST","REFERENCE_NODE_BODY","NodeNavigationStep","FirstChild","NextSibling","ELEMENT_CONTAINERS","TEMPLATES","CONTAINERS","MULTIPLIER","NUM_ROOT_NODES","TEMPLATE_ID","NODES","DISCONNECTED_NODES","NGH_DATA_KEY","NGH_ATTR_NAME","_retrieveHydrationInfoImpl","retrieveHydrationInfoImpl","_rNode$firstChild","nghAttrValue","dehydratedView","retrieveHydrationInfo","getComponentLViewForHydration","viewRef","setSegmentHead","hydrationInfo","_hydrationInfo$segmen","segmentHeads","getSegmentHead","_hydrationInfo$segmen2","_hydrationInfo$segmen3","getSerializedContainerViews","_hydrationInfo$data$C","_hydrationInfo$data$C2","calcSerializedContainerSize","_getSerializedContain","_step12","views","numNodes","_iterator12","_view$MULTIPLIER","isDisconnectedNode$1","_hydrationInfo$discon","disconnectedNodes","nodeIds","ComponentRef$1","ComponentFactory$1","_NullComponentFactoryResolver","noComponentFactoryError","ComponentFactoryResolver$1","NULL","injectElementRef","createElementRef","ElementRef","nativeElement","unwrapElementRef","RendererFactory2","Renderer2","injectRenderer2","nodeAtIndex","Sanitizer","Version","full","major","minor","patch","VERSION","NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR","markViewDirty","getOriginalError","ErrorHandler","_console","originalError","_findOriginalError","IS_HYDRATION_DOM_REUSE_ENABLED","PRESERVE_HOST_CONTENT","ɵɵresolveWindow","ownerDocument","defaultView","ɵɵresolveDocument","ɵɵresolveBody","maybeUnwrapFn","ReactiveLViewConsumer","_ReactiveNode4","_super11","_this8","hasProducers","rf","ctx","currentConsumer","getOrCreateCurrentLViewConsumer","_currentConsumer","getReactiveLViewConsumer","slot","_lView$slot","commitLViewConsumerIfHasProducers","hasReadASignal","NO_CHANGE","ɵɵadvance","delta","selectIndexInternal","checkNoChangesMode","runInInjectionContext","prevInjector","assertInInjectionContext","debugFn","getCurrentInjector","angularCoreDiEnv","USE_VALUE","isUseClassProvider","isUseFactoryProvider","compileInjectable","ngFactoryDef","compiler","getInjectableMetadata","srcMeta","compilerMeta","typeArgumentCount","isUseValueProvider","isUseExistingProvider","compileFactory","configurable","createInjector","createInjectorWithoutInjectorInstances","resolveInjectorInitializers","additionalProviders","Injector","_options$name","ɵɵdirectiveInject","ɵɵinvalidFactory","createLView","tHostNode","environment","getUniqueLViewId","getOrCreateTNode","createTNodeAtIndex","createTNode","tParent","insertBeforeIndex","directiveStylingLast","propertyBindings","localNames","initialInputs","stylesWithoutHost","residualStyles","classesWithoutHost","residualClasses","classBindings","styleBindings","allocExpando","numSlotsToAlloc","allocIdx","executeTemplate","templateFn","prevSelectedIndex","isUpdatePhase","runInContext","executeContentQueries","createDirectivesInstances","instantiateAllDirectives","addComponentLogic","hostTNode","componentView","addToViewTree","getOrCreateComponentTView","rendererFactory","createRenderer","setInputsFromAttrs","invokeDirectivesHostBindings","saveResolvedLocalsInData","viewData","localRefExtractor","localIndex","incompleteFirstPass","createTView","constsOrFactory","ssrId","initialViewLength","createViewBlueprint","queries","fill","expandoStartIndex","hostBindingOpCodes","firstUpdatePass","staticViewQueries","staticContentQueries","directiveRegistry","pipeRegistry","_applyRootElementTransformImpl","rootElement","applyRootElementTransformImpl","hasAttribute","processTextNodeMarkersBeforeHydration","currentNode","commentNodesIterator","createNodeIterator","NodeFilter","SHOW_COMMENT","acceptNode","getTextNodeContent","_node$textContent","FILTER_ACCEPT","FILTER_REJECT","nodes","_i3","_nodes","replaceWith","remove","generatePropertyAliases","aliasMap","propertyAliases","hostDirectiveAliasMap","internalName","addPropertyAlias","elementPropertyInternal","nativeOnly","dataValue","inputData","setInputsForProperty","markDirtyIfOnPush","viewIndex","childComponentLView","mapPropName","resolveDirectives","localRefs","hostDirectiveDefs","exportsMap","matchResult","findDirectiveDefMatches","registry","matches","_matches","hostDirectiveMatches","markAsComponentHost","_def$findHostDirectiv","_matchResult","initializeDirectives","cacheMatchingLocalNames","initTNodeFlags","numberOfDirectives","preOrderHooksFound","preOrderCheckHooksFound","directiveIdx","configureViewWithDirective","saveNameToExportMap","_tView$preOrderHooks4","_tView$preOrderCheckH3","lifeCycleHooks","initializeInputAndOutputAliases","hostDirectiveDefinitionMap","tViewData","tNodeAttrs","inputsFromAttrs","inputsStore","outputsStore","aliasData","aliasedOutputs","generateInitialInputs","elementIndex","getCurrentDirectiveIndex","dirIndex","invokeHostBindingsInCreationMode","_tView$components","directiveFactory","nodeInjectorFactory","registerHostBindingOpCodes","directiveVarsIdx","elementIndx","lastSelectedElementIdx","elementAttributeInternal","setElementAttribute","strValue","initialInputData","writeToDirectiveInput","inputsToStore","inputConfig","createLContainer","hostNative","refreshContentQueries","directiveDefIdx","executeViewQueryFn","viewQueryFn","getOrCreateLViewCleanup","getOrCreateTViewCleanup","loadComponentRenderer","currentDef","unwrapLView","handleError","errorHandler","textBindingInternal","renderComponent","hostLView","componentHostIdx","componentTView","syncViewWithBlueprint","hostRNode","renderView","renderChildComponents","DestroyRef","injectDestroyRef","NodeInjectorDestroyRef","_DestroyRef","_super12","_this9","_this10","removeLViewOnDestroy","EffectManager","queue","effectFn","destroyRef","_this11","zone","Zone","unregisterOnDestroy","_unregisterOnDestroy","_this12","_step13","_iterator13","_loop2","_step13$value","run","effect","_options$injector","effectManager","manualCleanup","computeStaticStyling","writeToHost","collectNativeNodes","lNode","lViewInAContainer","lViewFirstChildTNode","nodesInSlot","detectChangesInternal","notifyErrorHandler","begin","refreshView","_lView$ENVIRONMENT$ef","flush","detectChanges","_lView$ENVIRONMENT$ef2","hooksInitPhaseCompleted","markTransplantedViewsForRefresh","refreshEmbeddedViews","embeddedLView","embeddedTView","processHostBindingOpCodes","opCode","bindingRootIndx","hostBindingFn","refreshChildComponents","refreshComponent","refreshContainsDirtyView","ViewRef$1","_cdRefInjectingView","_appRef","_attachedToViewContainer","viewRefs","renderDetachView","appRef","RootViewRef","_ViewRef$","_super13","_view","_this13","ComponentFactoryResolver","_ComponentFactoryReso","_super14","_this14","ComponentFactory","toRefArray","nonMinified","templateName","ChainedInjector","parentInjector","_ComponentFactory$","_super15","_this15","componentType","stringifyCSSSelectorList","selectorList","isBoundToModule","projectableNodes","rootSelectorOrNode","environmentInjector","_environmentInjector","realEnvironmentInjector","rootViewInjector","tElementNode","hostRenderer","elementName","locateHostElement","elementOrSelector","preserveHostContent","selectRootElement","applyRootElementTransform","getNamespace","rootFlags","rootTView","rootLView","rootDirectives","rootComponentDef","createRootComponentTNode","createRootComponentView","applyRootComponentStyling","_step14","_iterator14","viewRenderer","setRootNodeAttributes","_extractAttrsAndClass","extractAttrsAndClassesFromSelector","projectNodes","nodesforSlot","createRootComponent","hostFeatures","rootTNode","_step15","_iterator15","feature","LifecycleHooksFeature","ComponentRef","_ComponentRef$","_super16","_rootLView","_this16","previousInputValues","changeDetectorRef","_this$previousInputVa","getSuperType","ɵɵInheritDefinitionFeature","superType","shouldInheritFields","inheritanceChain","superDef","writeableDef","maybeUnwrapEmpty","superHostBindings","inheritHostBindings","superViewQuery","superContentQueries","inheritViewQuery","inheritContentQueries","animation","defData","mergeHostAttrsAcrossInheritance","prevViewQuery","prevContentQueries","prevHostBindings","COPY_DIRECTIVE_FIELDS","COPY_COMPONENT_FIELDS","ɵɵCopyDefinitionFeature","_step16","defAny","_iterator16","_step17","_iterator17","ɵɵHostDirectivesFeature","rawHostDirectives","dir","bindingArrayToMap","matchedDefs","_step18","_iterator18","hostDirectiveConfig","hostDirectiveDef","patchDeclaredInputs","bindings","exposedInputs","isListLikeIterable","isJsObject","o","devModeEqual","isListLikeIterableA","isListLikeIterableB","areIterablesEqual","iterator1","iterator2","item1","item2","updateBinding","getBinding","bindingUpdated","bindingUpdated2","exp1","exp2","different","bindingUpdated3","exp3","bindingUpdated4","exp4","ɵɵattribute","interpolationV","isBindingUpdated","interpolation1","prefix","v0","suffix","interpolation2","i0","v1","interpolation3","i1","v2","interpolation4","i2","v3","interpolation5","i3","v4","interpolation6","i4","v5","interpolation7","i5","v6","interpolation8","i6","v7","ɵɵattributeInterpolate1","interpolatedValue","ɵɵattributeInterpolate2","ɵɵattributeInterpolate3","ɵɵattributeInterpolate4","ɵɵattributeInterpolate5","ɵɵattributeInterpolate6","ɵɵattributeInterpolate7","ɵɵattributeInterpolate8","ɵɵattributeInterpolateV","interpolated","AT_THIS_LOCATION","unsupportedProjectionOfDomNodes","describeDomFromNode","spacer","previousSibling","describeRNode","internalAttrs","describeTNode","innerContent","stringifyTNodeAttrs","shorten","typeAsString","getFriendlyStringFromTNodeType","_node$textContent3","stringifyRNodeAttrs","COMMENT_NODE","maxLength","stripNewlines","REF_EXTRACTOR_REGEXP","RegExp","getNoOffsetIndex","locateNextRNode","noOffsetIndex","locateRNodeByPath","_decompressNodeLocati","decompressNodeLocation","_step20","_matches2","refNodeId","refNodeName","rest","parseInt","steps","_iterator20","matchAll","_step20$value","step","_decompressNodeLocati2","_toArray","referenceNode","navigationInstructions","navigateToNode","instructions","r","_tNode$prev","previousTNodeParent","previousTNode","isFirstElementInNgContainer","_tNode$parent","previousRElement","noOffsetPrevSiblingIndex","segmentHead","siblingAfter","skip","navigateBetween","finish","parentElement","navigateBetweenSiblings","nav","parentPath","childPath","calcPathBetween","to","fromNodeName","compressNodeLocation","_step19","_iterator19","segment","lastIdx","calcPathForNode","referenceNodeName","firstRNode","nodeNotFoundError","describeExpectedDom","isViewContainerAnchor","getHydrationErrorFooter","componentClassName","componentInfo","ɵɵtemplate","attrsIndex","localRefsIndex","adjustedIndex","templateFirstCreatePass","tViewConsts","comment","_locateOrCreateContainerAnchor","createContainerAnchorImpl","locateOrCreateContainerAnchorImpl","_hydrationInfo$data$T","_hydrationInfo$data$T2","isNodeCreationMode","currentRNode","ɵɵreference","getContextLView","ɵɵproperty","setDirectiveInputsWhichShadowsStyling","isClassBased","property","ɵɵelementStart","elementStartFirstCreatePass","elementStart","_locateOrCreateElementNode","hasDirectives","getElementDepthCount","increaseElementDepthCount","ɵɵelementEnd","isSkipHydrationRootTNode","leaveSkipHydrationBlock","decreaseElementDepthCount","elementEnd","hasClassInput","hasStyleInput","ɵɵelement","locateOrCreateElementNodeImpl","enterSkipHydrationBlock","ɵɵelementContainerStart","elementContainerStartFirstCreatePass","_locateOrCreateElementContainerNode","ɵɵelementContainerEnd","ɵɵelementContainer","locateOrCreateElementContainerNode","ngContainerSize","getNgContainerSize","_data$ELEMENT_CONTAIN","_data$ELEMENT_CONTAIN2","_data$CONTAINERS","ɵɵgetCurrentView","isSubscribable","ɵɵlistener","eventName","listenerFn","useCapture","eventTargetResolver","listenerInternal","ɵɵsyntheticHostListener","isTNodeDirectiveHost","processOutputs","lCleanupIndex","idxOrTargetGetter","existingListener","findExistingListener","tNodeIdx","cleanupEventName","listenerIdxInLCleanup","__ngLastListenerFn__","__ngNextListenerFn__","wrapListener","listen","propsLength","idx","executeListenerWithErrorHandling","wrapWithPreventDefault","wrapListenerIn_markDirtyAndPreventDefault","nextListenerFn","preventDefault","ɵɵnextContext","nextContextImpl","level","walkUpViews","nestingLevel","matchingProjectionSlotIndex","projectionSlots","wildcardNgContentIndex","ngProjectAsAttrVal","getProjectAsAttrValue","ngProjectAsAttrIdx","ɵɵprojectionDef","componentNode","projectionHeads","tails","componentChild","slotIndex","ɵɵprojection","selectorIndex","applyProjection","ɵɵpropertyInterpolate","ɵɵpropertyInterpolate1","ɵɵpropertyInterpolate2","ɵɵpropertyInterpolate3","ɵɵpropertyInterpolate4","ɵɵpropertyInterpolate5","ɵɵpropertyInterpolate6","ɵɵpropertyInterpolate7","ɵɵpropertyInterpolate8","ɵɵpropertyInterpolateV","toTStylingRange","getTStylingRangePrev","tStylingRange","setTStylingRangePrevDuplicate","getTStylingRangeNext","setTStylingRangeNext","setTStylingRangeNextDuplicate","markDuplicates","tStylingKey","isPrevDir","isClassBinding","tStylingAtIndex","isMap","cursor","foundDuplicate","tStyleRangeAtCursor","isStylingMatch","tStylingKeyCursor","parserState","textEnd","keyEnd","valueEnd","getLastParsedKey","getLastParsedValue","parseClassNameNext","consumeClassToken","startIndex","consumeWhitespace","parseStyleNext","consumeStyleKey","ch","consumeSeparator","consumeStyleValue","ch1","ch2","ch3","lastChIndex","consumeQuotedText","resetParserState","separator","quoteCharCode","ɵɵstyleProp","checkStylingProperty","ɵɵclassProp","ɵɵstyleMap","checkStylingMap","styleKeyValueArraySet","styleStringParser","parseStyle","ɵɵclassMap","classKeyValueArraySet","classStringParser","parseClassName","stylingFirstUpdatePass","updateStyling","normalizeSuffix","stringParser","hasStylingInputShadow","isInHostBindings","staticPrefix","updateStylingMap","oldKeyValueArray","newKeyValueArray","oldIndex","newIndex","oldKey","newKey","setKey","toStylingKeyValueArray","styleKeyValueArray","unwrappedValue","isHostBindings","wrapInStaticStylingKey","stylingKey","residual","collectStylingFromTAttrs","collectStylingFromDirectives","templateStylingKey","getTemplateHeadTStylingKey","setTemplateHeadTStylingKey","collectResidual","insertTStylingBinding","tStylingKeyWithStatic","isHostBinding","tBindings","tmplHead","tmplTail","isKeyDuplicateOfStatic","previousNode","setTStylingRangePrev","markDuplicateOfResidualStyling","currentDirective","desiredMarker","currentMarker","stringKey","includes","tRange","higherPriorityValue","getTStylingRangeNextDuplicate","findStylingValue","isStylingValuePresent","getTStylingRangePrevDuplicate","applyStyling","addClass","removeClass","removeStyle","endsWith","setStyle","isPrevDirection","rawKey","containsStatics","isStylingMap","valueAtLViewIndex","ɵɵtext","textNative","_locateOrCreateTextNode","locateOrCreateTextNodeImpl","ɵɵtextInterpolate","ɵɵtextInterpolate1","ɵɵtextInterpolate2","ɵɵtextInterpolate3","ɵɵtextInterpolate4","ɵɵtextInterpolate5","ɵɵtextInterpolate6","ɵɵtextInterpolate7","ɵɵtextInterpolate8","ɵɵtextInterpolateV","ɵɵclassMapInterpolate1","ɵɵclassMapInterpolate2","ɵɵclassMapInterpolate3","ɵɵclassMapInterpolate4","ɵɵclassMapInterpolate5","ɵɵclassMapInterpolate6","ɵɵclassMapInterpolate7","ɵɵclassMapInterpolate8","ɵɵclassMapInterpolateV","ɵɵstyleMapInterpolate1","ɵɵstyleMapInterpolate2","ɵɵstyleMapInterpolate3","ɵɵstyleMapInterpolate4","ɵɵstyleMapInterpolate5","ɵɵstyleMapInterpolate6","ɵɵstyleMapInterpolate7","ɵɵstyleMapInterpolate8","ɵɵstyleMapInterpolateV","ɵɵstylePropInterpolate1","valueSuffix","ɵɵstylePropInterpolate2","ɵɵstylePropInterpolate3","ɵɵstylePropInterpolate4","ɵɵstylePropInterpolate5","ɵɵstylePropInterpolate6","ɵɵstylePropInterpolate7","ɵɵstylePropInterpolate8","ɵɵstylePropInterpolateV","ɵɵhostProperty","ɵɵsyntheticHostProperty","u","localeEn","plural","val","floor","LOCALE_DATA","registerLocaleData","localeId","extraData","LocaleDataIndex","LocaleId","ExtraData","findLocaleData","locale","normalizedLocale","normalizeLocale","getLocaleData","parentLocale","getLocaleCurrencyCode","CurrencyCode","getLocalePluralCase","PluralCase","common","locales","unregisterAllLocaleData","DayPeriodsFormat","DayPeriodsStandalone","DaysFormat","DaysStandalone","MonthsFormat","MonthsStandalone","Eras","FirstDayOfWeek","WeekendRange","DateFormat","TimeFormat","DateTimeFormat","NumberSymbols","NumberFormats","CurrencySymbol","CurrencyName","Currencies","Directionality","pluralMapping","DEFAULT_LOCALE_ID","ELEMENT_MARKER","ICU_MARKER","I18nCreateOpCode","SHIFT","APPEND_EAGERLY","COMMENT","LOCALE_ID$1","setLocaleId","assertDefined","tNodeInsertBeforeIndex","i18nParent","anchorRNode","addTNodeAndUpdateInsertBeforeIndex","previousTNodes","newTNode","existingTNode","isI18nText","isNewTNodeCreatedBefore","getInsertBeforeIndex","setInsertBeforeIndex","getTIcu","createTNodePlaceholder","getCurrentICUCaseIndex","tIcu","currentCase","currentCaseLViewIndex","getParentFromIcuCreateOpCode","mergedCode","getRefFromIcuCreateOpCode","changeMask","changeMaskCounter","applyMutableOpCodes","mutableOpCodes","rootRNode","rootIdx","textNodeIndex","parentIdx","insertInFrontOf","refIdx","caseIndex","anchorIdx","commentValue","commentNodeIndex","elementNodeIndex","applyUpdateOpCodes","updateOpCodes","bindingsStartIndex","checkBit","skipCodes","sanitizeFn","tNodeOrTagName","rText","applyIcuSwitchCase","applyIcuUpdateCase","activeCaseIndex","mask","getCaseIndex","icuExpression","bindingValue","cases","resolvedCase","getPluralCase","getLocaleId","applyIcuSwitchCaseRemove","removeCodes","nodeOrIcuIndex","loadIcuContainerVisitor","_removes","_stack","_index","enterIcu","icuContainerIteratorNext","removeOpCode","icuContainerIteratorStart","BINDING_REGEXP","ICU_REGEXP","NESTED_ICU","ICU_BLOCK_REGEXP","MARKER","SUBTEMPLATE_REGEXP","PH_REGEXP","NGSP_UNICODE_REGEXP","createTNodeAndAddOpCode","existingTNodes","createOpCodes","isICU","i18nNodeIdx","ensureIcuContainerVisitorLoaded","loader","setTNodeInsertBeforeIndex","assertEqual","i18nStartFirstCreatePassProcessTextNode","hasBinding","generateBindingUpdateOpCodes","str","destinationNode","bindingStart","maskIndex","sizeIndex","textParts","textValue","toMaskBit","countBindings","opCodes","min","removeInnerTemplateTranslation","tagMatched","inTemplate","exec","icuStart","bindingMask","addUpdateIcuSwitch","mainBinding","setTIcu","valueArr","nestedIcus","icuIndex","parseIcuCase","addUpdateIcuUpdate","parseICUBlock","pattern","icuType","i18nParseTextIntoPartsAndICU","binding","pos","blocks","prevPos","braceStack","braces","lastIndex","block","caseName","unsafeCaseHtml","inertRootNode","walkIcuTree","sharedUpdateOpCodes","depth","addCreateNodeAndAppend","lowerAttrName","addCreateAttribute","addRemoveNode","isNestedIcu","addRemoveNestedIcu","appendToParentIdx","createAtIdx","icuCreateOpCode","ROOT_TEMPLATE_ID","PP_MULTI_VALUE_PLACEHOLDERS_REGEXP","PP_PLACEHOLDERS_REGEXP","PP_ICU_VARS_REGEXP","PP_ICU_PLACEHOLDERS_REGEXP","PP_ICUS_REGEXP","PP_CLOSE_TEMPLATE_REGEXP","PP_TEMPLATE_ID_REGEXP","ɵɵi18nStart","messageIndex","subTemplateIndex","i18nStartFirstCreatePass","parentTNodeIndex","existingTNodeStack","getTranslationForTemplate","isRootTemplateMessage","search","msgParts","replaceNgsp","isClosing","part","tI18n","applyCreateOpCodes","appendNow","ɵɵi18nEnd","ɵɵi18n","ɵɵi18nAttributes","i18nAttributesFirstPass","previousElementIndex","ɵɵi18nExp","setMaskBit","hasChange","ɵɵi18nApply","applyI18n","ɵɵi18nPostprocess","i18nPostprocess","replacements","templateIdsStack","m","phs","tmpl","placeholders","placeholder","templateId","isCloseTemplateTag","currentTemplateId","_placeholders$idx","_type","_idx","resolveProvider","lInjectablesBlueprint","providerFactory","beginIndex","existingFactoryIndex","registerDestroyHooksIfSupported","existingProvidersFactoryIndex","existingViewProvidersFactoryIndex","doesViewProvidersFactoryExist","multiFactory","factoryFn","componentProviders","multiFactoryAdd","multiViewProvidersFactoryResolver","multiProvidersFactoryResolver","contextIndex","indexInFactory","providerIsTypeProvider","providerIsClassProvider","isClassProvider","existingCallbacksIndex","isComponentProvider","lData","multiResolve","factories","componentCount","multiProviders","ɵɵProvidersFeature","viewProviders","processProvidersFn","NgModuleRef$1","NgModuleFactory$1","createNgModule","NgModuleRef","createNgModuleRef","_NgModuleRef$","_super17","_parent","_this17","_bootstrapComponents","destroyCbs","componentFactoryResolver","_r3Injector","destroyed","NgModuleFactory","_NgModuleFactory$","_super18","moduleType","_this18","EnvironmentNgModuleRefAdapter","_NgModuleRef$2","_super19","config","_this19","debugName","runEnvironmentInitializers","createEnvironmentInjector","StandaloneService","_injector","cachedInjectors","standaloneInjector","_step21","_iterator21","ɵɵStandaloneFeature","getOrCreateStandaloneInjector","getComponent","getComponentAtNodeIndex","getContext","assertDomElement","Element","getOwningComponent","elementOrDir","getRootComponents","getInjector","getDirectives","Text","getDirectiveMetadata$1","directiveOrComponentInstance","getHostElement","componentOrDirective","getListeners","lContext","listeners","firstParam","secondParam","listenerElement","useCaptureOrIndx","sort","sortListeners","isDirectiveDefHack","setClassMetadata","clazz","_clazz$decorators","ɵɵpureFunction0","slotOffset","pureFn","ɵɵpureFunction1","exp","pureFunction1Internal","ɵɵpureFunction2","pureFunction2Internal","ɵɵpureFunction3","pureFunction3Internal","ɵɵpureFunction4","pureFunction4Internal","ɵɵpureFunction5","exp5","ɵɵpureFunction6","exp6","ɵɵpureFunction7","exp7","ɵɵpureFunction8","exp8","ɵɵpureFunctionV","exps","pureFunctionVInternal","getPureFunctionReturnValue","returnValueIndex","lastReturnValue","bindingRoot","ɵɵpipe","pipeName","_tView$destroyHooks2","getPipeDef","pipeFactory","pipeInstance","ɵɵpipeBind1","isPure","transform","ɵɵpipeBind2","ɵɵpipeBind3","ɵɵpipeBind4","ɵɵpipeBindV","_wrapInTimeout","setTimeout","EventEmitter","EventEmitter_","_super20","_this20","isAsync","__isAsync","observerOrNext","nextFn","errorFn","completeFn","_observer$next","_observer$error","_observer$complete","observer","sink","symbolIterator","_results","QueryList","_emitDistinctChangesOnly","_changesDetected","_changes","find","reduce","some","resultsTree","identityAccessor","newResultFlat","arrayEquals","valueA","valueB","emit","changes","TemplateRef","injectTemplateRef","R3TemplateRef","_ViewEngineTemplateRe","_super21","_declarationLView","_declarationTContainer","elementRef","_this21","_this$_declarationTCo","createEmbeddedViewImpl","declarationViewLQueries","createEmbeddedView","createTemplateRef","removeDehydratedViews","_lContainer$DEHYDRATE","_step22","_iterator22","removeDehydratedView","nodesRemoved","cleanupLContainer","cleanupLView","_findMatchingDehydratedViewImpl","findMatchingDehydratedViewImpl","_lContainer$DEHYDRATE2","findMatchingDehydratedView","ViewContainerRef","injectViewContainerRef","createContainerRef","R3ViewContainerRef","_VE_ViewContainerRef","_super22","_lContainer","_hostTNode","_hostLView","_this22","getViewRefs","templateRef","indexOrOptions","skipDomInsertion","insertImpl","componentFactoryOrType","_componentFactory$com","_componentDef$id","_dehydratedView$first","isComponentFactory","ngModuleRef","componentFactory","contextInjector","componentRef","viewAttachedToContainer","prevIdx","detach","prevLContainer","prevVCRef","adjustedIdx","_adjustIndex","insertView","containerLength","trackMovedView","addViewToContainer","parentNativeNode","attachToViewContainerRef","getOrCreateViewRefs","insert","viewRefsArr","detachedView","_locateOrCreateAnchorNode","createAnchorNode","commentNode","insertAnchorNode","nativeNextSibling","locateOrCreateAnchorNode","_hydrationInfo$data$C3","skipHydration","_locateDehydratedView","locateDehydratedViewsInContainer","serializedViews","_step24","dehydratedViews","_iterator24","serializedView","_serializedView$MULTI","_locateDehydratedView2","LQuery_","queryList","setDirty","LQueries_","tQueries","noOfInheritedQueries","viewLQueries","tQuery","getByIndex","indexInDeclarationView","clone","dirtyQueriesWithMatches","getTQuery","TQueryMetadata_","read","TQueries_","queriesForTemplateRef","childQueryIndex","tqueryClone","tquery","TQuery_","metadata","crossesNgTemplate","_appliesToNextNode","_declarationNodeIndex","isApplyingToNode","matchTNode","addMatch","declarationNodeIdx","matchTNodeWithReadOption","getIdxOfMatchingSelector","nodeMatchIdx","directiveOrProviderIdx","matchIdx","createResultForNode","matchingIdx","createResultByTNodeType","createSpecialToken","materializeViewResults","queryIndex","lQuery","tQueryMatches","matchedNodeIdx","collectQueryResults","lViewResults","embeddedLViews","ɵɵqueryRefresh","isCreationMode","notifyOnChanges","ɵɵviewQuery","createTQuery","createLQuery","ɵɵcontentQuery","saveContentQueryAndDirectiveIndex","tViewContentQueries","ɵɵloadQuery","loadQueryInternal","storeCleanupWithContext","track","ɵɵtemplateRefExtractor","angularCoreEnv","jitOptions","resetJitOptions","isNgModule","moduleQueue","flushingModuleQueue","flushModuleScopingQueueAsMuchAsPossible","_moduleQueue$i","every","isResolvedDeclaration","setScopeOnDeclaredComponents","declaration","compileNgModule","compileNgModuleDefs","enqueueModuleForDelayedScoping","expandModuleWithProviders","compileInjector","resetCompiledComponents","transitiveScopes","transitiveScopesFor","patchComponentDefWithScope","ngSelectorScope","compilation","transitiveScopesForNgModule","exported","importedScope","entry","declared","exportedType","exportedScope","isModuleWithProviders","compilationDepth","compileComponent","ngComponentDef","maybeQueueResolutionOfComponentResources","addDirectiveFactoryDef","getJitOptions","preserveWhitespaces","defaultEncapsulation","directiveMetadata","typeSourceSpan","createParseSourceSpan","animations","interpolation","usesInheritance","addDirectiveDefToUndecoratedParents","_getStandaloneDefFunc","getStandaloneDefFunctions","cachedDirectiveDefs","cachedPipeDefs","_step25","_iterator25","_step26","_iterator26","_step27","_iterator27","_step28","_iterator28","hasSelectorScope","compileDirective","ngDirectiveDef","getDirectiveMetadata","sourceMapUrl","facade","extendsDirectlyFromObject","_metadata$hostDirecti","extractQueriesMetadata","isContentQuery","lifecycle","usesOnChanges","hasLifecycleHook","extractExportAs","viewQueries","objPrototype","shouldAddAbstractDirective","convertToR3QueryPredicate","splitByComma","isQueryAnn","queriesMeta","_loop3","ann","isInputAnnotation","convertToR3QueryMetadata","propertyName","static","piece","LIFECYCLE_HOOKS","hookName","metadataName","compilePipe","ngPipeDef","getPipeMetadata","p","Input","alias","Output","HostBinding","hostPropertyName","HostListener","APP_INITIALIZER","ApplicationInitStatus","_inject","_this23","initialized","donePromise","rej","resolve","reject","appInits","_this24","_step29","asyncInitPromises","_iterator29","_loop4","initResult","observableAsPromise","catch","Console","log","LOCALE_ID","getGlobalLocale","$localize","DEFAULT_CURRENCY_CODE","TRANSLATIONS","TRANSLATIONS_FORMAT","MissingTranslationStrategy","Warning","Ignore","InitialRenderPendingTasks","taskId","pendingTasks","hasPendingTasks","ModuleWithComponentFactories","ngModuleFactory","componentFactories","Compiler","compileModuleSync","compileModuleAndAllComponentsSync","COMPILER_OPTIONS","CompilerFactory","applyChanges","rootComponent","GLOBAL_PUBLISH_EXPANDO_KEY","_published","publishDefaultGlobalUtils$1","publishGlobalUtil","COMPILED","scheduleMicroTask","noop","NgZone","_ref","_ref$enableLongStackT","enableLongStackTrace","_ref$shouldCoalesceEv","shouldCoalesceEventChangeDetection","_ref$shouldCoalesceRu","shouldCoalesceRunChangeDetection","hasPendingMacrotasks","hasPendingMicrotasks","isStable","onUnstable","onMicrotaskEmpty","onStable","assertZonePatched","_nesting","_outer","_inner","TaskTrackingZoneSpec","fork","longStackTraceZoneSpec","lastRequestAnimationFrameId","nativeRequestAnimationFrame","getNativeRequestAnimationFrame","requestAnimationFrame","nativeCancelAnimationFrame","cancelAnimationFrame","unpatchedRequestAnimationFrame","__symbol__","unpatchedCancelAnimationFrame","forkInnerZoneWithAngularBehavior","delayChangeDetectionForEventsDelegate","delayChangeDetectionForEvents","isCheckStableRunning","fakeTopEventTask","root","scheduleEventTask","updateMicroTaskStatus","checkStable","invoke","properties","isAngularZone","onInvokeTask","delegate","task","applyThis","applyArgs","onEnter","invokeTask","onLeave","onInvoke","onHasTask","hasTaskState","hasTask","change","_hasPendingMicrotasks","microTask","macroTask","onHandleError","runOutsideAngular","EMPTY_PAYLOAD","runTask","cancelTask","runGuarded","isInAngularZone","NoopNgZone","ZONE_IS_STABLE_OBSERVABLE","isStableFactory","_stable","isCurrentlyStable","stableSub","assertNotInAngularZone","unstableSub","assertInAngularZone","merge$1","TESTABILITY","TESTABILITY_GETTER","Testability","_ngZone","testabilityGetter","_this25","_pendingCount","_isZoneStable","_didWork","_callbacks","taskTrackingZone","_testabilityGetter","setTestabilityGetter","addToWindow","_watchAngularEvents","_this26","_runCallbacksIfReady","_this27","cb","clearTimeout","timeoutId","doneCb","pending","getPendingTasks","updateCb","macroTasks","creationLocation","timeout","_this28","addCallback","registerApplication","unregisterApplication","using","exactMatch","TestabilityRegistry","_applications","testability","elem","_testabilityGetter$fi","_testabilityGetter2","findTestabilityInTree","getter","_platformInjector","ALLOW_MULTIPLE_PLATFORMS","PLATFORM_DESTROY_LISTENERS","APP_BOOTSTRAP_LISTENER","compileNgModuleFactory","moduleFactory","publishSignalConfiguration","setThrowInvalidWriteToSignalError","cf","NgProbeToken","createPlatform","platform","PlatformRef","runPlatformInitializers","inits","internalCreateApplication","appProviders","platformInjector","createOrReusePlatformInjector","createPlatformInjector","platformProviders","allAppProviders","provideZoneChangeDetection","envInjector","ngZone","onErrorSubscription","exceptionHandler","destroyListener","onPlatformDestroyListeners","_callAndReportToErrorHandler","initStatus","runInitializers","ApplicationRef","createPlatformFactory","parentPlatformFactory","desc","extraProviders","getPlatform","assertPlatform","requiredToken","destroyPlatform","_getPlatform","_platformInjector$get","_platformInjector2","_modules","_destroyListeners","_this29","getNgZone","ngZoneToUse","getNgZoneOptions","eventCoalescing","ngZoneEventCoalescing","runCoalescing","ngZoneRunCoalescing","moduleRef","createNgModuleRefWithProviders","internalProvideZoneChangeDetection","_moduleDoBootstrap","_this30","optionsReducer","bootstrapModuleFactory","ngDoBootstrap","module","listener","destroyListeners","_options$eventCoalesc","_options$runCoalescin","objs","_this31","_bootstrapListeners","_runningTick","_views","internalErrorHandler","INTERNAL_APPLICATION_ERROR_HANDLER","zoneIsStable","componentTypes","componentOrFactory","_this32","resolveComponentFactory","compRef","_loadComponent","_step30","_iterator30","attachToAppRef","detachFromAppRef","attachView","tick","_this33","ngZoneApplicationErrorHandlerFactory","userErrorHandler","NgZoneChangeDetectionScheduler","applicationRef","_this34","_onMicrotaskEmptySubscription","_this$_onMicrotaskEmp","ngZoneFactory","ngZoneChangeDetectionScheduler","initialize","isDevMode","enableProdMode","getModuleFactory","noModuleError","getNgModuleById","ChangeDetectorRef","injectChangeDetectorRef","createViewRef","isPipe","ViewRef","_ChangeDetectorRef","_super23","EmbeddedViewRef","_ViewRef","_super24","DebugEventListener","asNativeElements","debugEls","DebugNode","nativeNode","DebugElement","getLocalRefs","discoverLocalRefs","getInjectionTokens","providerTokens","_DebugNode","_super25","copyDomProperties","NodePrototype","descriptors","getOwnPropertyDescriptors","startsWith","isPrimitiveValue","collectPropertyBindings","bindingIndexes","metadataParts","lowercaseTNodeAttrs","_step32","_iterator32","baseVal","childNodes","children","getDebugNode","queryAll","_queryAll","eventObj","invokedListeners","eventListeners","unwrappedListener","elementsOnly","_queryNodeChildren","_queryNativeNodeDescendants","rootNativeNode","getNativeByTNodeOrNull","_addQueryMatch","nodeOrContainer","_queryNodeChildrenInContainer","head","_step33","_iterator33","nextLView","nextTNode","childView","debugNode","NG_DEBUG_PROPERTY","DefaultIterableDifferFactory","trackByFn","DefaultIterableDiffer","trackByIdentity","_linkedRecords","_unlinkedRecords","_previousItHead","_itHead","_itTail","_additionsHead","_additionsTail","_movesHead","_movesTail","_removalsHead","_removalsTail","_identityChangesHead","_identityChangesTail","_trackByFn","nextIt","nextRemove","addRemoveOffset","moveOffsets","currentIndex","getPreviousIndex","adjPreviousIndex","_nextRemoved","previousIndex","localMovePreviousIndex","localCurrentIndex","offset","_nextPrevious","_nextAdded","_nextMoved","_nextIdentityChange","collection","check","_this35","_reset","itemTrackBy","mayBeDirty","trackById","_verifyReinsertion","_addIdentityChange","_mismatch","iterateListLike","_truncate","isDirty","previousRecord","_prev","_remove","_reinsertAfter","_moveAfter","_addAfter","IterableChangeRecord_","reinsertRecord","_addToMoves","nextRecord","_addToRemovals","_unlink","prevRecord","_prevRemoved","_insertAfter","_DuplicateMap","put","toIndex","_prevDup","_nextDup","_DuplicateItemRecordList","_head","_tail","atOrAfterIndex","duplicates","recordList","moveOffset","DefaultKeyValueDifferFactory","DefaultKeyValueDiffer","_records","_mapHead","_appendAfter","_previousMapHead","_changesHead","_changesTail","_nextChanged","_this36","_forEach","_maybeAddToChanges","_getOrCreateRecordForKey","_insertBeforeOrAppend","KeyValueChangeRecord_","_addToAdditions","_addToChanges","k","defaultIterableDiffersFactory","IterableDiffers","iterable","supports","copied","defaultKeyValueDiffersFactory","KeyValueDiffers","kv","keyValDiff","defaultIterableDiffers","defaultKeyValueDiffers","platformCore","ApplicationModule","SerializedViewCollection","indexByContent","viewAsString","tViewSsrId","getSsrId","calcNumRootNodes","rootNodes","annotateForHydration","_step34","serializedViewCollection","corruptedTextNodes","_iterator34","hostElement","annotateHostElementForHydration","insertCorruptedTextNodeMarkers","getAll","serializeLContainer","lastViewAsString","_objectSpread2","childLView","childTView","numRootNodes","_defineProperty","serializeLView","currentViewAsString","_previousView$MULTIPL","previousView","appendSerializedNodePath","ngh","_ngh$NODES","appendDisconnectedNodeIndex","_ngh$DISCONNECTED_NOD","isDisconnectedNode","isContentProjectedNode","_step35","_iterator35","projectionHeadTNode","_ngh$CONTAINERS","_ngh$TEMPLATES","hostNode","targetNode","_ngh$ELEMENT_CONTAINE","_rNode$nextSibling","componentUsesShadowDomEncapsulation","_getComponentDef","_step36","_iterator36","_step36$value","isConnected","isHydrationSupportEnabled","isBrowser","withDomHydration","isEnabled","enableHydrationRuntimeSupport","enableRetrieveHydrationInfoImpl","enableLocateOrCreateElementNodeImpl","enableLocateOrCreateTextNodeImpl","enableLocateOrCreateElementContainerNodeImpl","enableLocateOrCreateContainerAnchorImpl","enableLocateOrCreateContainerRefImpl","enableFindMatchingDehydratedViewImpl","enableApplyRootElementTransformImpl","whenStable","toPromise","cleanupDehydratedViews","_step23","_iterator23","coerceToBoolean","ɵɵngDeclareDirective","decl","compileDirectiveDeclaration","ɵɵngDeclareClassMetadata","_decl$ctorParameters","_decl$propDecorators","ɵɵngDeclareComponent","compileComponentDeclaration","ɵɵngDeclareFactory","getFactoryKind","compileFactoryDeclaration","ɵɵngDeclareInjectable","compileInjectableDeclaration","ɵɵngDeclareInjector","compileInjectorDeclaration","ɵɵngDeclareNgModule","compileNgModuleDeclaration","ɵɵngDeclarePipe","compilePipeDeclaration","createComponent","elementInjector","reflectComponentType","mergeApplicationConfig","_len12","configs","_key12","curr","_arrayLikeToArray","len","arr2","_arrayWithHoles","ReferenceError","allowArrayLike","it","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","_e","normalCompletion","didErr","_e2","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Super","NewTarget","construct","_possibleConstructorReturn","esm_typeof","assertThisInitialized","_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__","enumerable","writable","receiver","base","_superPropBase","object","getOwnPropertyDescriptor","setPrototypeOf","__proto__","subClass","superClass","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_iterableToArray","iter","_nonIterableRest","ownKeys","enumerableOnly","getOwnPropertySymbols","symbols","sym","_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__","defineProperties","_setPrototypeOf","arrayWithHoles","_iterableToArrayLimit","_i","_s","_x","_r","_arr","_n","_d","unsupportedIterableToArray","nonIterableRest","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/BehaviorSubject.js","./node_modules/rxjs/dist/esm/internal/util/ObjectUnsubscribedError.js","./node_modules/rxjs/dist/esm/internal/Subject.js","./node_modules/rxjs/dist/esm/internal/observable/empty.js","./node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleAsyncIterable.js","./node_modules/rxjs/dist/esm/internal/observable/from.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduled.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleObservable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleArray.js","./node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleIterable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleReadableStreamLike.js","./node_modules/rxjs/dist/esm/internal/observable/merge.js","./node_modules/rxjs/dist/esm/internal/observable/of.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/defaultIfEmpty.js","./node_modules/rxjs/dist/esm/internal/operators/distinctUntilChanged.js","./node_modules/rxjs/dist/esm/internal/operators/filter.js","./node_modules/rxjs/dist/esm/internal/operators/first.js","./node_modules/rxjs/dist/esm/internal/operators/map.js","./node_modules/rxjs/dist/esm/internal/operators/mergeAll.js","./node_modules/rxjs/dist/esm/internal/operators/mergeMap.js","./node_modules/rxjs/dist/esm/internal/operators/mergeInternals.js","./node_modules/rxjs/dist/esm/internal/operators/observeOn.js","./node_modules/rxjs/dist/esm/internal/operators/share.js","./node_modules/rxjs/dist/esm/internal/operators/switchMap.js","./node_modules/rxjs/dist/esm/internal/operators/take.js","./node_modules/rxjs/dist/esm/internal/operators/throwIfEmpty.js","./node_modules/rxjs/dist/esm/internal/util/EmptyError.js","./node_modules/rxjs/dist/esm/internal/util/args.js","./node_modules/rxjs/dist/esm/internal/util/executeSchedule.js","./node_modules/rxjs/dist/esm/internal/util/isScheduler.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/@angular/core/fesm2022/core.mjs","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/defineProperty.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","./node_modules/@babel/runtime/helpers/esm/objectSpread2.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/slicedToArray.js","./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { Subject } from './Subject';\nexport class BehaviorSubject extends Subject {\n constructor(_value) {\n super();\n this._value = _value;\n }\n get value() {\n return this.getValue();\n }\n _subscribe(subscriber) {\n const subscription = super._subscribe(subscriber);\n !subscription.closed && subscriber.next(this._value);\n return subscription;\n }\n getValue() {\n const { hasError, thrownError, _value } = this;\n if (hasError) {\n throw thrownError;\n }\n this._throwIfClosed();\n return _value;\n }\n next(value) {\n super.next((this._value = value));\n }\n}\n","import { createErrorClass } from './createErrorClass';\nexport const ObjectUnsubscribedError = createErrorClass((_super) => function ObjectUnsubscribedErrorImpl() {\n _super(this);\n this.name = 'ObjectUnsubscribedError';\n this.message = 'object unsubscribed';\n});\n","import { Observable } from './Observable';\nimport { Subscription, EMPTY_SUBSCRIPTION } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { arrRemove } from './util/arrRemove';\nimport { errorContext } from './util/errorContext';\nexport class Subject extends Observable {\n constructor() {\n super();\n this.closed = false;\n this.currentObservers = null;\n this.observers = [];\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n lift(operator) {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n }\n _throwIfClosed() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n }\n next(value) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n if (!this.currentObservers) {\n this.currentObservers = Array.from(this.observers);\n }\n for (const observer of this.currentObservers) {\n observer.next(value);\n }\n }\n });\n }\n error(err) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.hasError = this.isStopped = true;\n this.thrownError = err;\n const { observers } = this;\n while (observers.length) {\n observers.shift().error(err);\n }\n }\n });\n }\n complete() {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.isStopped = true;\n const { observers } = this;\n while (observers.length) {\n observers.shift().complete();\n }\n }\n });\n }\n unsubscribe() {\n this.isStopped = this.closed = true;\n this.observers = this.currentObservers = null;\n }\n get observed() {\n var _a;\n return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;\n }\n _trySubscribe(subscriber) {\n this._throwIfClosed();\n return super._trySubscribe(subscriber);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._checkFinalizedStatuses(subscriber);\n return this._innerSubscribe(subscriber);\n }\n _innerSubscribe(subscriber) {\n const { hasError, isStopped, observers } = this;\n if (hasError || isStopped) {\n return EMPTY_SUBSCRIPTION;\n }\n this.currentObservers = null;\n observers.push(subscriber);\n return new Subscription(() => {\n this.currentObservers = null;\n arrRemove(observers, subscriber);\n });\n }\n _checkFinalizedStatuses(subscriber) {\n const { hasError, thrownError, isStopped } = this;\n if (hasError) {\n subscriber.error(thrownError);\n }\n else if (isStopped) {\n subscriber.complete();\n }\n }\n asObservable() {\n const observable = new Observable();\n observable.source = this;\n return observable;\n }\n}\nSubject.create = (destination, source) => {\n return new AnonymousSubject(destination, source);\n};\nexport class AnonymousSubject extends Subject {\n constructor(destination, source) {\n super();\n this.destination = destination;\n this.source = source;\n }\n next(value) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);\n }\n error(err) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);\n }\n complete() {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);\n }\n _subscribe(subscriber) {\n var _a, _b;\n return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;\n }\n}\n","import { Observable } from '../Observable';\nexport const EMPTY = new Observable((subscriber) => subscriber.complete());\nexport function empty(scheduler) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n return new Observable((subscriber) => scheduler.schedule(() => subscriber.complete()));\n}\n","import { operate } from '../util/lift';\nexport function subscribeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay));\n });\n}\n","import { Observable } from '../Observable';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleAsyncIterable(input, scheduler) {\n if (!input) {\n throw new Error('Iterable cannot be null');\n }\n return new Observable((subscriber) => {\n executeSchedule(subscriber, scheduler, () => {\n const iterator = input[Symbol.asyncIterator]();\n executeSchedule(subscriber, scheduler, () => {\n iterator.next().then((result) => {\n if (result.done) {\n subscriber.complete();\n }\n else {\n subscriber.next(result.value);\n }\n });\n }, 0, true);\n });\n });\n}\n","import { scheduled } from '../scheduled/scheduled';\nimport { innerFrom } from './innerFrom';\nexport function from(input, scheduler) {\n return scheduler ? scheduled(input, scheduler) : innerFrom(input);\n}\n","import { scheduleObservable } from './scheduleObservable';\nimport { schedulePromise } from './schedulePromise';\nimport { scheduleArray } from './scheduleArray';\nimport { scheduleIterable } from './scheduleIterable';\nimport { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isPromise } from '../util/isPromise';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isIterable } from '../util/isIterable';\nimport { isAsyncIterable } from '../util/isAsyncIterable';\nimport { createInvalidObservableTypeError } from '../util/throwUnobservableError';\nimport { isReadableStreamLike } from '../util/isReadableStreamLike';\nimport { scheduleReadableStreamLike } from './scheduleReadableStreamLike';\nexport function scheduled(input, scheduler) {\n if (input != null) {\n if (isInteropObservable(input)) {\n return scheduleObservable(input, scheduler);\n }\n if (isArrayLike(input)) {\n return scheduleArray(input, scheduler);\n }\n if (isPromise(input)) {\n return schedulePromise(input, scheduler);\n }\n if (isAsyncIterable(input)) {\n return scheduleAsyncIterable(input, scheduler);\n }\n if (isIterable(input)) {\n return scheduleIterable(input, scheduler);\n }\n if (isReadableStreamLike(input)) {\n return scheduleReadableStreamLike(input, scheduler);\n }\n }\n throw createInvalidObservableTypeError(input);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function scheduleObservable(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nexport function scheduleArray(input, scheduler) {\n return new Observable((subscriber) => {\n let i = 0;\n return scheduler.schedule(function () {\n if (i === input.length) {\n subscriber.complete();\n }\n else {\n subscriber.next(input[i++]);\n if (!subscriber.closed) {\n this.schedule();\n }\n }\n });\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function schedulePromise(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from '../util/isFunction';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleIterable(input, scheduler) {\n return new Observable((subscriber) => {\n let iterator;\n executeSchedule(subscriber, scheduler, () => {\n iterator = input[Symbol_iterator]();\n executeSchedule(subscriber, scheduler, () => {\n let value;\n let done;\n try {\n ({ value, done } = iterator.next());\n }\n catch (err) {\n subscriber.error(err);\n return;\n }\n if (done) {\n subscriber.complete();\n }\n else {\n subscriber.next(value);\n }\n }, 0, true);\n });\n return () => isFunction(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return();\n });\n}\n","import { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { readableStreamLikeToAsyncGenerator } from '../util/isReadableStreamLike';\nexport function scheduleReadableStreamLike(input, scheduler) {\n return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);\n}\n","import { mergeAll } from '../operators/mergeAll';\nimport { innerFrom } from './innerFrom';\nimport { EMPTY } from './empty';\nimport { popNumber, popScheduler } from '../util/args';\nimport { from } from './from';\nexport function merge(...args) {\n const scheduler = popScheduler(args);\n const concurrent = popNumber(args, Infinity);\n const sources = args;\n return !sources.length\n ?\n EMPTY\n : sources.length === 1\n ?\n innerFrom(sources[0])\n :\n mergeAll(concurrent)(from(sources, scheduler));\n}\n","import { popScheduler } from '../util/args';\nimport { from } from './from';\nexport function of(...args) {\n const scheduler = popScheduler(args);\n return from(args, scheduler);\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function defaultIfEmpty(defaultValue) {\n return operate((source, subscriber) => {\n let hasValue = false;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n hasValue = true;\n subscriber.next(value);\n }, () => {\n if (!hasValue) {\n subscriber.next(defaultValue);\n }\n subscriber.complete();\n }));\n });\n}\n","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 if (first || !comparator(previousKey, currentKey)) {\n first = false;\n previousKey = currentKey;\n subscriber.next(value);\n }\n }));\n });\n}\nfunction defaultCompare(a, b) {\n return a === b;\n}\n","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}\n","import { EmptyError } from '../util/EmptyError';\nimport { filter } from './filter';\nimport { take } from './take';\nimport { defaultIfEmpty } from './defaultIfEmpty';\nimport { throwIfEmpty } from './throwIfEmpty';\nimport { identity } from '../util/identity';\nexport function first(predicate, defaultValue) {\n const hasDefaultValue = arguments.length >= 2;\n return (source) => source.pipe(predicate ? filter((v, i) => predicate(v, i, source)) : identity, take(1), hasDefaultValue ? defaultIfEmpty(defaultValue) : throwIfEmpty(() => new EmptyError()));\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function map(project, thisArg) {\n return operate((source, subscriber) => {\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n subscriber.next(project.call(thisArg, value, index++));\n }));\n });\n}\n","import { mergeMap } from './mergeMap';\nimport { identity } from '../util/identity';\nexport function mergeAll(concurrent = Infinity) {\n return mergeMap(identity, concurrent);\n}\n","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 }\n else if (typeof resultSelector === 'number') {\n concurrent = resultSelector;\n }\n return operate((source, subscriber) => mergeInternals(source, subscriber, project, concurrent));\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { executeSchedule } from '../util/executeSchedule';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function mergeInternals(source, subscriber, project, concurrent, onBeforeNext, expand, innerSubScheduler, additionalFinalizer) {\n const buffer = [];\n let active = 0;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => {\n if (isComplete && !buffer.length && !active) {\n subscriber.complete();\n }\n };\n const outerNext = (value) => (active < concurrent ? doInnerSub(value) : buffer.push(value));\n const doInnerSub = (value) => {\n expand && subscriber.next(value);\n active++;\n let innerComplete = false;\n innerFrom(project(value, index++)).subscribe(createOperatorSubscriber(subscriber, (innerValue) => {\n onBeforeNext === null || onBeforeNext === void 0 ? void 0 : onBeforeNext(innerValue);\n if (expand) {\n outerNext(innerValue);\n }\n else {\n subscriber.next(innerValue);\n }\n }, () => {\n innerComplete = true;\n }, undefined, () => {\n if (innerComplete) {\n try {\n active--;\n while (buffer.length && active < concurrent) {\n const bufferedValue = buffer.shift();\n if (innerSubScheduler) {\n executeSchedule(subscriber, innerSubScheduler, () => doInnerSub(bufferedValue));\n }\n else {\n doInnerSub(bufferedValue);\n }\n }\n checkComplete();\n }\n catch (err) {\n subscriber.error(err);\n }\n }\n }));\n };\n source.subscribe(createOperatorSubscriber(subscriber, outerNext, () => {\n isComplete = true;\n checkComplete();\n }));\n return () => {\n additionalFinalizer === null || additionalFinalizer === void 0 ? void 0 : additionalFinalizer();\n };\n}\n","import { executeSchedule } from '../util/executeSchedule';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function observeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, (value) => executeSchedule(subscriber, scheduler, () => subscriber.next(value), delay), () => executeSchedule(subscriber, scheduler, () => subscriber.complete(), delay), (err) => executeSchedule(subscriber, scheduler, () => subscriber.error(err), delay)));\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { Subject } from '../Subject';\nimport { SafeSubscriber } from '../Subscriber';\nimport { operate } from '../util/lift';\nexport function share(options = {}) {\n const { connector = () => new Subject(), resetOnError = true, resetOnComplete = true, resetOnRefCountZero = true } = 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 const cancelReset = () => {\n resetConnection === null || resetConnection === void 0 ? void 0 : resetConnection.unsubscribe();\n resetConnection = undefined;\n };\n const reset = () => {\n cancelReset();\n connection = subject = undefined;\n hasCompleted = hasErrored = false;\n };\n const resetAndUnsubscribe = () => {\n const conn = connection;\n reset();\n conn === null || conn === void 0 ? void 0 : conn.unsubscribe();\n };\n return operate((source, subscriber) => {\n refCount++;\n if (!hasErrored && !hasCompleted) {\n cancelReset();\n }\n const dest = (subject = subject !== null && subject !== void 0 ? subject : connector());\n subscriber.add(() => {\n refCount--;\n if (refCount === 0 && !hasErrored && !hasCompleted) {\n resetConnection = handleReset(resetAndUnsubscribe, resetOnRefCountZero);\n }\n });\n dest.subscribe(subscriber);\n if (!connection &&\n 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}\nfunction handleReset(reset, on, ...args) {\n if (on === true) {\n reset();\n return;\n }\n if (on === false) {\n return;\n }\n const onSubscriber = new SafeSubscriber({\n next: () => {\n onSubscriber.unsubscribe();\n reset();\n },\n });\n return on(...args).subscribe(onSubscriber);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function switchMap(project, resultSelector) {\n return operate((source, subscriber) => {\n let innerSubscriber = null;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => isComplete && !innerSubscriber && subscriber.complete();\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n innerSubscriber === null || innerSubscriber === void 0 ? void 0 : innerSubscriber.unsubscribe();\n let innerIndex = 0;\n const outerIndex = index++;\n innerFrom(project(value, outerIndex)).subscribe((innerSubscriber = createOperatorSubscriber(subscriber, (innerValue) => subscriber.next(resultSelector ? resultSelector(value, innerValue, outerIndex, innerIndex++) : innerValue), () => {\n innerSubscriber = null;\n checkComplete();\n })));\n }, () => {\n isComplete = true;\n checkComplete();\n }));\n });\n}\n","import { EMPTY } from '../observable/empty';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function take(count) {\n return count <= 0\n ?\n () => EMPTY\n : operate((source, subscriber) => {\n let seen = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n if (++seen <= count) {\n subscriber.next(value);\n if (count <= seen) {\n subscriber.complete();\n }\n }\n }));\n });\n}\n","import { EmptyError } from '../util/EmptyError';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function throwIfEmpty(errorFactory = defaultErrorFactory) {\n return operate((source, subscriber) => {\n let hasValue = false;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n hasValue = true;\n subscriber.next(value);\n }, () => (hasValue ? subscriber.complete() : subscriber.error(errorFactory()))));\n });\n}\nfunction defaultErrorFactory() {\n return new EmptyError();\n}\n","import { createErrorClass } from './createErrorClass';\nexport const EmptyError = createErrorClass((_super) => function EmptyErrorImpl() {\n _super(this);\n this.name = 'EmptyError';\n this.message = 'no elements in sequence';\n});\n","import { isFunction } from './isFunction';\nimport { isScheduler } from './isScheduler';\nfunction last(arr) {\n return arr[arr.length - 1];\n}\nexport function popResultSelector(args) {\n return isFunction(last(args)) ? args.pop() : undefined;\n}\nexport function popScheduler(args) {\n return isScheduler(last(args)) ? args.pop() : undefined;\n}\nexport function popNumber(args, defaultValue) {\n return typeof last(args) === 'number' ? args.pop() : defaultValue;\n}\n","export function executeSchedule(parentSubscription, scheduler, work, delay = 0, repeat = false) {\n const scheduleSubscription = scheduler.schedule(function () {\n work();\n if (repeat) {\n parentSubscription.add(this.schedule(null, delay));\n }\n else {\n this.unsubscribe();\n }\n }, delay);\n parentSubscription.add(scheduleSubscription);\n if (!repeat) {\n return scheduleSubscription;\n }\n}\n","import { isFunction } from './isFunction';\nexport function isScheduler(value) {\n return value && isFunction(value.schedule);\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","/**\n * @license Angular v16.0.5\n * (c) 2010-2022 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport { Subject, Subscription, BehaviorSubject, Observable, merge as merge$1, of } from 'rxjs';\nimport { share, switchMap, distinctUntilChanged, first } from 'rxjs/operators';\n\nfunction getClosureSafeProperty(objWithPropertyToExtract) {\n for (let key in objWithPropertyToExtract) {\n if (objWithPropertyToExtract[key] === getClosureSafeProperty) {\n return key;\n }\n }\n throw Error('Could not find renamed property on target object.');\n}\n/**\n * Sets properties on a target object from a source object, but only if\n * the property doesn't already exist on the target object.\n * @param target The target to set properties on\n * @param source The source of the property keys and values to set\n */\nfunction fillProperties(target, source) {\n for (const key in source) {\n if (source.hasOwnProperty(key) && !target.hasOwnProperty(key)) {\n target[key] = source[key];\n }\n }\n}\n\nfunction stringify(token) {\n if (typeof token === 'string') {\n return token;\n }\n if (Array.isArray(token)) {\n return '[' + token.map(stringify).join(', ') + ']';\n }\n if (token == null) {\n return '' + token;\n }\n if (token.overriddenName) {\n return `${token.overriddenName}`;\n }\n if (token.name) {\n return `${token.name}`;\n }\n const res = token.toString();\n if (res == null) {\n return '' + res;\n }\n const newLineIndex = res.indexOf('\\n');\n return newLineIndex === -1 ? res : res.substring(0, newLineIndex);\n}\n/**\n * Concatenates two strings with separator, allocating new strings only when necessary.\n *\n * @param before before string.\n * @param separator separator string.\n * @param after after string.\n * @returns concatenated string.\n */\nfunction concatStringsWithSpace(before, after) {\n return (before == null || before === '') ?\n (after === null ? '' : after) :\n ((after == null || after === '') ? before : before + ' ' + after);\n}\n\nconst __forward_ref__ = getClosureSafeProperty({ __forward_ref__: getClosureSafeProperty });\n/**\n * Allows to refer to references which are not yet defined.\n *\n * For instance, `forwardRef` is used when the `token` which we need to refer to for the purposes of\n * DI is declared, but not yet defined. It is also used when the `token` which we use when creating\n * a query is not yet defined.\n *\n * `forwardRef` is also used to break circularities in standalone components imports.\n *\n * @usageNotes\n * ### Circular dependency example\n * {@example core/di/ts/forward_ref/forward_ref_spec.ts region='forward_ref'}\n *\n * ### Circular standalone reference import example\n * ```ts\n * @Component({\n * standalone: true,\n * imports: [ChildComponent],\n * selector: 'app-parent',\n * template: `<app-child [hideParent]=\"hideParent\"></app-child>`,\n * })\n * export class ParentComponent {\n * @Input() hideParent: boolean;\n * }\n *\n *\n * @Component({\n * standalone: true,\n * imports: [CommonModule, forwardRef(() => ParentComponent)],\n * selector: 'app-child',\n * template: `<app-parent *ngIf=\"!hideParent\"></app-parent>`,\n * })\n * export class ChildComponent {\n * @Input() hideParent: boolean;\n * }\n * ```\n *\n * @publicApi\n */\nfunction forwardRef(forwardRefFn) {\n forwardRefFn.__forward_ref__ = forwardRef;\n forwardRefFn.toString = function () {\n return stringify(this());\n };\n return forwardRefFn;\n}\n/**\n * Lazily retrieves the reference value from a forwardRef.\n *\n * Acts as the identity function when given a non-forward-ref value.\n *\n * @usageNotes\n * ### Example\n *\n * {@example core/di/ts/forward_ref/forward_ref_spec.ts region='resolve_forward_ref'}\n *\n * @see `forwardRef`\n * @publicApi\n */\nfunction resolveForwardRef(type) {\n return isForwardRef(type) ? type() : type;\n}\n/** Checks whether a function is wrapped by a `forwardRef`. */\nfunction isForwardRef(fn) {\n return typeof fn === 'function' && fn.hasOwnProperty(__forward_ref__) &&\n fn.__forward_ref__ === forwardRef;\n}\n\nfunction isEnvironmentProviders(value) {\n return value && !!value.ɵproviders;\n}\n\n/**\n * Base URL for the error details page.\n *\n * Keep this constant in sync across:\n * - packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.ts\n * - packages/core/src/error_details_base_url.ts\n */\nconst ERROR_DETAILS_PAGE_BASE_URL = 'https://angular.io/errors';\n/**\n * URL for the XSS security documentation.\n */\nconst XSS_SECURITY_URL = 'https://g.co/ng/security#xss';\n\n/**\n * Class that represents a runtime error.\n * Formats and outputs the error message in a consistent way.\n *\n * Example:\n * ```\n * throw new RuntimeError(\n * RuntimeErrorCode.INJECTOR_ALREADY_DESTROYED,\n * ngDevMode && 'Injector has already been destroyed.');\n * ```\n *\n * Note: the `message` argument contains a descriptive error message as a string in development\n * mode (when the `ngDevMode` is defined). In production mode (after tree-shaking pass), the\n * `message` argument becomes `false`, thus we account for it in the typings and the runtime\n * logic.\n */\nclass RuntimeError extends Error {\n constructor(code, message) {\n super(formatRuntimeError(code, message));\n this.code = code;\n }\n}\n/**\n * Called to format a runtime error.\n * See additional info on the `message` argument type in the `RuntimeError` class description.\n */\nfunction formatRuntimeError(code, message) {\n // Error code might be a negative number, which is a special marker that instructs the logic to\n // generate a link to the error details page on angular.io.\n // We also prepend `0` to non-compile-time errors.\n const fullCode = `NG0${Math.abs(code)}`;\n let errorMessage = `${fullCode}${message ? ': ' + message : ''}`;\n if (ngDevMode && code < 0) {\n const addPeriodSeparator = !errorMessage.match(/[.,;!?\\n]$/);\n const separator = addPeriodSeparator ? '.' : '';\n errorMessage =\n `${errorMessage}${separator} Find more at ${ERROR_DETAILS_PAGE_BASE_URL}/${fullCode}`;\n }\n return errorMessage;\n}\n\n/**\n * Used for stringify render output in Ivy.\n * Important! This function is very performance-sensitive and we should\n * be extra careful not to introduce megamorphic reads in it.\n * Check `core/test/render3/perf/render_stringify` for benchmarks and alternate implementations.\n */\nfunction renderStringify(value) {\n if (typeof value === 'string')\n return value;\n if (value == null)\n return '';\n // Use `String` so that it invokes the `toString` method of the value. Note that this\n // appears to be faster than calling `value.toString` (see `render_stringify` benchmark).\n return String(value);\n}\n/**\n * Used to stringify a value so that it can be displayed in an error message.\n * Important! This function contains a megamorphic read and should only be\n * used for error messages.\n */\nfunction stringifyForError(value) {\n if (typeof value === 'function')\n return value.name || value.toString();\n if (typeof value === 'object' && value != null && typeof value.type === 'function') {\n return value.type.name || value.type.toString();\n }\n return renderStringify(value);\n}\n\n/** Called when directives inject each other (creating a circular dependency) */\nfunction throwCyclicDependencyError(token, path) {\n const depPath = path ? `. Dependency path: ${path.join(' > ')} > ${token}` : '';\n throw new RuntimeError(-200 /* RuntimeErrorCode.CYCLIC_DI_DEPENDENCY */, `Circular dependency in DI detected for ${token}${depPath}`);\n}\nfunction throwMixedMultiProviderError() {\n throw new Error(`Cannot mix multi providers and regular providers`);\n}\nfunction throwInvalidProviderError(ngModuleType, providers, provider) {\n if (ngModuleType && providers) {\n const providerDetail = providers.map(v => v == provider ? '?' + provider + '?' : '...');\n throw new Error(`Invalid provider for the NgModule '${stringify(ngModuleType)}' - only instances of Provider and Type are allowed, got: [${providerDetail.join(', ')}]`);\n }\n else if (isEnvironmentProviders(provider)) {\n if (provider.ɵfromNgModule) {\n throw new RuntimeError(207 /* RuntimeErrorCode.PROVIDER_IN_WRONG_CONTEXT */, `Invalid providers from 'importProvidersFrom' present in a non-environment injector. 'importProvidersFrom' can't be used for component providers.`);\n }\n else {\n throw new RuntimeError(207 /* RuntimeErrorCode.PROVIDER_IN_WRONG_CONTEXT */, `Invalid providers present in a non-environment injector. 'EnvironmentProviders' can't be used for component providers.`);\n }\n }\n else {\n throw new Error('Invalid provider');\n }\n}\n/** Throws an error when a token is not found in DI. */\nfunction throwProviderNotFoundError(token, injectorName) {\n const injectorDetails = injectorName ? ` in ${injectorName}` : '';\n throw new RuntimeError(-201 /* RuntimeErrorCode.PROVIDER_NOT_FOUND */, ngDevMode && `No provider for ${stringifyForError(token)} found${injectorDetails}`);\n}\n\n// The functions in this file verify that the assumptions we are making\nfunction assertNumber(actual, msg) {\n if (!(typeof actual === 'number')) {\n throwError(msg, typeof actual, 'number', '===');\n }\n}\nfunction assertNumberInRange(actual, minInclusive, maxInclusive) {\n assertNumber(actual, 'Expected a number');\n assertLessThanOrEqual(actual, maxInclusive, 'Expected number to be less than or equal to');\n assertGreaterThanOrEqual(actual, minInclusive, 'Expected number to be greater than or equal to');\n}\nfunction assertString(actual, msg) {\n if (!(typeof actual === 'string')) {\n throwError(msg, actual === null ? 'null' : typeof actual, 'string', '===');\n }\n}\nfunction assertFunction(actual, msg) {\n if (!(typeof actual === 'function')) {\n throwError(msg, actual === null ? 'null' : typeof actual, 'function', '===');\n }\n}\nfunction assertEqual(actual, expected, msg) {\n if (!(actual == expected)) {\n throwError(msg, actual, expected, '==');\n }\n}\nfunction assertNotEqual(actual, expected, msg) {\n if (!(actual != expected)) {\n throwError(msg, actual, expected, '!=');\n }\n}\nfunction assertSame(actual, expected, msg) {\n if (!(actual === expected)) {\n throwError(msg, actual, expected, '===');\n }\n}\nfunction assertNotSame(actual, expected, msg) {\n if (!(actual !== expected)) {\n throwError(msg, actual, expected, '!==');\n }\n}\nfunction assertLessThan(actual, expected, msg) {\n if (!(actual < expected)) {\n throwError(msg, actual, expected, '<');\n }\n}\nfunction assertLessThanOrEqual(actual, expected, msg) {\n if (!(actual <= expected)) {\n throwError(msg, actual, expected, '<=');\n }\n}\nfunction assertGreaterThan(actual, expected, msg) {\n if (!(actual > expected)) {\n throwError(msg, actual, expected, '>');\n }\n}\nfunction assertGreaterThanOrEqual(actual, expected, msg) {\n if (!(actual >= expected)) {\n throwError(msg, actual, expected, '>=');\n }\n}\nfunction assertNotDefined(actual, msg) {\n if (actual != null) {\n throwError(msg, actual, null, '==');\n }\n}\nfunction assertDefined(actual, msg) {\n if (actual == null) {\n throwError(msg, actual, null, '!=');\n }\n}\nfunction throwError(msg, actual, expected, comparison) {\n throw new Error(`ASSERTION ERROR: ${msg}` +\n (comparison == null ? '' : ` [Expected=> ${expected} ${comparison} ${actual} <=Actual]`));\n}\nfunction assertDomNode(node) {\n if (!(node instanceof Node)) {\n throwError(`The provided value must be an instance of a DOM Node but got ${stringify(node)}`);\n }\n}\nfunction assertIndexInRange(arr, index) {\n assertDefined(arr, 'Array must be defined.');\n const maxLen = arr.length;\n if (index < 0 || index >= maxLen) {\n throwError(`Index expected to be less than ${maxLen} but got ${index}`);\n }\n}\nfunction assertOneOf(value, ...validValues) {\n if (validValues.indexOf(value) !== -1)\n return true;\n throwError(`Expected value to be one of ${JSON.stringify(validValues)} but was ${JSON.stringify(value)}.`);\n}\n\n/**\n * Construct an injectable definition which defines how a token will be constructed by the DI\n * system, and in which injectors (if any) it will be available.\n *\n * This should be assigned to a static `ɵprov` field on a type, which will then be an\n * `InjectableType`.\n *\n * Options:\n * * `providedIn` determines which injectors will include the injectable, by either associating it\n * with an `@NgModule` or other `InjectorType`, or by specifying that this injectable should be\n * provided in the `'root'` injector, which will be the application-level injector in most apps.\n * * `factory` gives the zero argument function which will create an instance of the injectable.\n * The factory can call `inject` to access the `Injector` and request injection of dependencies.\n *\n * @codeGenApi\n * @publicApi This instruction has been emitted by ViewEngine for some time and is deployed to npm.\n */\nfunction ɵɵdefineInjectable(opts) {\n return {\n token: opts.token,\n providedIn: opts.providedIn || null,\n factory: opts.factory,\n value: undefined,\n };\n}\n/**\n * @deprecated in v8, delete after v10. This API should be used only by generated code, and that\n * code should now use ɵɵdefineInjectable instead.\n * @publicApi\n */\nconst defineInjectable = ɵɵdefineInjectable;\n/**\n * Construct an `InjectorDef` which configures an injector.\n *\n * This should be assigned to a static injector def (`ɵinj`) field on a type, which will then be an\n * `InjectorType`.\n *\n * Options:\n *\n * * `providers`: an optional array of providers to add to the injector. Each provider must\n * either have a factory or point to a type which has a `ɵprov` static property (the\n * type must be an `InjectableType`).\n * * `imports`: an optional array of imports of other `InjectorType`s or `InjectorTypeWithModule`s\n * whose providers will also be added to the injector. Locally provided types will override\n * providers from imports.\n *\n * @codeGenApi\n */\nfunction ɵɵdefineInjector(options) {\n return { providers: options.providers || [], imports: options.imports || [] };\n}\n/**\n * Read the injectable def (`ɵprov`) for `type` in a way which is immune to accidentally reading\n * inherited value.\n *\n * @param type A type which may have its own (non-inherited) `ɵprov`.\n */\nfunction getInjectableDef(type) {\n return getOwnDefinition(type, NG_PROV_DEF) || getOwnDefinition(type, NG_INJECTABLE_DEF);\n}\nfunction isInjectable(type) {\n return getInjectableDef(type) !== null;\n}\n/**\n * Return definition only if it is defined directly on `type` and is not inherited from a base\n * class of `type`.\n */\nfunction getOwnDefinition(type, field) {\n return type.hasOwnProperty(field) ? type[field] : null;\n}\n/**\n * Read the injectable def (`ɵprov`) for `type` or read the `ɵprov` from one of its ancestors.\n *\n * @param type A type which may have `ɵprov`, via inheritance.\n *\n * @deprecated Will be removed in a future version of Angular, where an error will occur in the\n * scenario if we find the `ɵprov` on an ancestor only.\n */\nfunction getInheritedInjectableDef(type) {\n const def = type && (type[NG_PROV_DEF] || type[NG_INJECTABLE_DEF]);\n if (def) {\n ngDevMode &&\n console.warn(`DEPRECATED: DI is instantiating a token \"${type.name}\" that inherits its @Injectable decorator but does not provide one itself.\\n` +\n `This will become an error in a future version of Angular. Please add @Injectable() to the \"${type.name}\" class.`);\n return def;\n }\n else {\n return null;\n }\n}\n/**\n * Read the injector def type in a way which is immune to accidentally reading inherited value.\n *\n * @param type type which may have an injector def (`ɵinj`)\n */\nfunction getInjectorDef(type) {\n return type && (type.hasOwnProperty(NG_INJ_DEF) || type.hasOwnProperty(NG_INJECTOR_DEF)) ?\n type[NG_INJ_DEF] :\n null;\n}\nconst NG_PROV_DEF = getClosureSafeProperty({ ɵprov: getClosureSafeProperty });\nconst NG_INJ_DEF = getClosureSafeProperty({ ɵinj: getClosureSafeProperty });\n// We need to keep these around so we can read off old defs if new defs are unavailable\nconst NG_INJECTABLE_DEF = getClosureSafeProperty({ ngInjectableDef: getClosureSafeProperty });\nconst NG_INJECTOR_DEF = getClosureSafeProperty({ ngInjectorDef: getClosureSafeProperty });\n\n/**\n * Injection flags for DI.\n *\n * @publicApi\n * @deprecated use an options object for `inject` instead.\n */\nvar InjectFlags;\n(function (InjectFlags) {\n // TODO(alxhub): make this 'const' (and remove `InternalInjectFlags` enum) when ngc no longer\n // writes exports of it into ngfactory files.\n /** Check self and check parent injector if needed */\n InjectFlags[InjectFlags[\"Default\"] = 0] = \"Default\";\n /**\n * Specifies that an injector should retrieve a dependency from any injector until reaching the\n * host element of the current component. (Only used with Element Injector)\n */\n InjectFlags[InjectFlags[\"Host\"] = 1] = \"Host\";\n /** Don't ascend to ancestors of the node requesting injection. */\n InjectFlags[InjectFlags[\"Self\"] = 2] = \"Self\";\n /** Skip the node that is requesting injection. */\n InjectFlags[InjectFlags[\"SkipSelf\"] = 4] = \"SkipSelf\";\n /** Inject `defaultValue` instead if token not found. */\n InjectFlags[InjectFlags[\"Optional\"] = 8] = \"Optional\";\n})(InjectFlags || (InjectFlags = {}));\n\n/**\n * Current implementation of inject.\n *\n * By default, it is `injectInjectorOnly`, which makes it `Injector`-only aware. It can be changed\n * to `directiveInject`, which brings in the `NodeInjector` system of ivy. It is designed this\n * way for two reasons:\n * 1. `Injector` should not depend on ivy logic.\n * 2. To maintain tree shake-ability we don't want to bring in unnecessary code.\n */\nlet _injectImplementation;\nfunction getInjectImplementation() {\n return _injectImplementation;\n}\n/**\n * Sets the current inject implementation.\n */\nfunction setInjectImplementation(impl) {\n const previous = _injectImplementation;\n _injectImplementation = impl;\n return previous;\n}\n/**\n * Injects `root` tokens in limp mode.\n *\n * If no injector exists, we can still inject tree-shakable providers which have `providedIn` set to\n * `\"root\"`. This is known as the limp mode injection. In such case the value is stored in the\n * injectable definition.\n */\nfunction injectRootLimpMode(token, notFoundValue, flags) {\n const injectableDef = getInjectableDef(token);\n if (injectableDef && injectableDef.providedIn == 'root') {\n return injectableDef.value === undefined ? injectableDef.value = injectableDef.factory() :\n injectableDef.value;\n }\n if (flags & InjectFlags.Optional)\n return null;\n if (notFoundValue !== undefined)\n return notFoundValue;\n throwProviderNotFoundError(stringify(token), 'Injector');\n}\n/**\n * Assert that `_injectImplementation` is not `fn`.\n *\n * This is useful, to prevent infinite recursion.\n *\n * @param fn Function which it should not equal to\n */\nfunction assertInjectImplementationNotEqual(fn) {\n ngDevMode &&\n assertNotEqual(_injectImplementation, fn, 'Calling ɵɵinject would cause infinite recursion');\n}\n\n// Always use __globalThis if available, which is the spec-defined global variable across all\n// environments, then fallback to __global first, because in Node tests both __global and\n// __window may be defined and _global should be __global in that case. Note: Typeof/Instanceof\n// checks are considered side-effects in Terser. We explicitly mark this as side-effect free:\n// https://github.com/terser/terser/issues/250.\nconst _global = ( /* @__PURE__ */(() => (typeof globalThis !== 'undefined' && globalThis) ||\n (typeof global !== 'undefined' && global) || (typeof window !== 'undefined' && window) ||\n (typeof self !== 'undefined' && typeof WorkerGlobalScope !== 'undefined' &&\n self instanceof WorkerGlobalScope && self))());\n\nfunction ngDevModeResetPerfCounters() {\n const locationString = typeof location !== 'undefined' ? location.toString() : '';\n const newCounters = {\n namedConstructors: locationString.indexOf('ngDevMode=namedConstructors') != -1,\n firstCreatePass: 0,\n tNode: 0,\n tView: 0,\n rendererCreateTextNode: 0,\n rendererSetText: 0,\n rendererCreateElement: 0,\n rendererAddEventListener: 0,\n rendererSetAttribute: 0,\n rendererRemoveAttribute: 0,\n rendererSetProperty: 0,\n rendererSetClassName: 0,\n rendererAddClass: 0,\n rendererRemoveClass: 0,\n rendererSetStyle: 0,\n rendererRemoveStyle: 0,\n rendererDestroy: 0,\n rendererDestroyNode: 0,\n rendererMoveNode: 0,\n rendererRemoveNode: 0,\n rendererAppendChild: 0,\n rendererInsertBefore: 0,\n rendererCreateComment: 0,\n hydratedNodes: 0,\n hydratedComponents: 0,\n dehydratedViewsRemoved: 0,\n dehydratedViewsCleanupRuns: 0,\n componentsSkippedHydration: 0,\n };\n // Make sure to refer to ngDevMode as ['ngDevMode'] for closure.\n const allowNgDevModeTrue = locationString.indexOf('ngDevMode=false') === -1;\n _global['ngDevMode'] = allowNgDevModeTrue && newCounters;\n return newCounters;\n}\n/**\n * This function checks to see if the `ngDevMode` has been set. If yes,\n * then we honor it, otherwise we default to dev mode with additional checks.\n *\n * The idea is that unless we are doing production build where we explicitly\n * set `ngDevMode == false` we should be helping the developer by providing\n * as much early warning and errors as possible.\n *\n * `ɵɵdefineComponent` is guaranteed to have been called before any component template functions\n * (and thus Ivy instructions), so a single initialization there is sufficient to ensure ngDevMode\n * is defined for the entire instruction set.\n *\n * When checking `ngDevMode` on toplevel, always init it before referencing it\n * (e.g. `((typeof ngDevMode === 'undefined' || ngDevMode) && initNgDevMode())`), otherwise you can\n * get a `ReferenceError` like in https://github.com/angular/angular/issues/31595.\n *\n * Details on possible values for `ngDevMode` can be found on its docstring.\n *\n * NOTE:\n * - changes to the `ngDevMode` name must be synced with `compiler-cli/src/tooling.ts`.\n */\nfunction initNgDevMode() {\n // The below checks are to ensure that calling `initNgDevMode` multiple times does not\n // reset the counters.\n // If the `ngDevMode` is not an object, then it means we have not created the perf counters\n // yet.\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (typeof ngDevMode !== 'object') {\n ngDevModeResetPerfCounters();\n }\n return typeof ngDevMode !== 'undefined' && !!ngDevMode;\n }\n return false;\n}\n\nconst _THROW_IF_NOT_FOUND = {};\nconst THROW_IF_NOT_FOUND = _THROW_IF_NOT_FOUND;\n/*\n * Name of a property (that we patch onto DI decorator), which is used as an annotation of which\n * InjectFlag this decorator represents. This allows to avoid direct references to the DI decorators\n * in the code, thus making them tree-shakable.\n */\nconst DI_DECORATOR_FLAG = '__NG_DI_FLAG__';\nconst NG_TEMP_TOKEN_PATH = 'ngTempTokenPath';\nconst NG_TOKEN_PATH = 'ngTokenPath';\nconst NEW_LINE = /\\n/gm;\nconst NO_NEW_LINE = 'ɵ';\nconst SOURCE = '__source';\n/**\n * Current injector value used by `inject`.\n * - `undefined`: it is an error to call `inject`\n * - `null`: `inject` can be called but there is no injector (limp-mode).\n * - Injector instance: Use the injector for resolution.\n */\nlet _currentInjector = undefined;\nfunction getCurrentInjector() {\n return _currentInjector;\n}\nfunction setCurrentInjector(injector) {\n const former = _currentInjector;\n _currentInjector = injector;\n return former;\n}\nfunction injectInjectorOnly(token, flags = InjectFlags.Default) {\n if (_currentInjector === undefined) {\n throw new RuntimeError(-203 /* RuntimeErrorCode.MISSING_INJECTION_CONTEXT */, ngDevMode &&\n `inject() must be called from an injection context such as a constructor, a factory function, a field initializer, or a function used with \\`runInInjectionContext\\`.`);\n }\n else if (_currentInjector === null) {\n return injectRootLimpMode(token, undefined, flags);\n }\n else {\n return _currentInjector.get(token, flags & InjectFlags.Optional ? null : undefined, flags);\n }\n}\nfunction ɵɵinject(token, flags = InjectFlags.Default) {\n return (getInjectImplementation() || injectInjectorOnly)(resolveForwardRef(token), flags);\n}\n/**\n * Throws an error indicating that a factory function could not be generated by the compiler for a\n * particular class.\n *\n * The name of the class is not mentioned here, but will be in the generated factory function name\n * and thus in the stack trace.\n *\n * @codeGenApi\n */\nfunction ɵɵinvalidFactoryDep(index) {\n throw new RuntimeError(202 /* RuntimeErrorCode.INVALID_FACTORY_DEPENDENCY */, ngDevMode &&\n `This constructor is not compatible with Angular Dependency Injection because its dependency at index ${index} of the parameter list is invalid.\nThis can happen if the dependency type is a primitive like a string or if an ancestor of this class is missing an Angular decorator.\n\nPlease check that 1) the type for the parameter at index ${index} is correct and 2) the correct Angular decorators are defined for this class and its ancestors.`);\n}\n/**\n * Injects a token from the currently active injector.\n * `inject` is only supported during instantiation of a dependency by the DI system. It can be used\n * during:\n * - Construction (via the `constructor`) of a class being instantiated by the DI system, such\n * as an `@Injectable` or `@Component`.\n * - In the initializer for fields of such classes.\n * - In the factory function specified for `useFactory` of a `Provider` or an `@Injectable`.\n * - In the `factory` function specified for an `InjectionToken`.\n *\n * @param token A token that represents a dependency that should be injected.\n * @param flags Optional flags that control how injection is executed.\n * The flags correspond to injection strategies that can be specified with\n * parameter decorators `@Host`, `@Self`, `@SkipSelf`, and `@Optional`.\n * @returns the injected value if operation is successful, `null` otherwise.\n * @throws if called outside of a supported context.\n *\n * @usageNotes\n * In practice the `inject()` calls are allowed in a constructor, a constructor parameter and a\n * field initializer:\n *\n * ```typescript\n * @Injectable({providedIn: 'root'})\n * export class Car {\n * radio: Radio|undefined;\n * // OK: field initializer\n * spareTyre = inject(Tyre);\n *\n * constructor() {\n * // OK: constructor body\n * this.radio = inject(Radio);\n * }\n * }\n * ```\n *\n * It is also legal to call `inject` from a provider's factory:\n *\n * ```typescript\n * providers: [\n * {provide: Car, useFactory: () => {\n * // OK: a class factory\n * const engine = inject(Engine);\n * return new Car(engine);\n * }}\n * ]\n * ```\n *\n * Calls to the `inject()` function outside of the class creation context will result in error. Most\n * notably, calls to `inject()` are disallowed after a class instance was created, in methods\n * (including lifecycle hooks):\n *\n * ```typescript\n * @Component({ ... })\n * export class CarComponent {\n * ngOnInit() {\n * // ERROR: too late, the component instance was already created\n * const engine = inject(Engine);\n * engine.start();\n * }\n * }\n * ```\n *\n * @publicApi\n */\nfunction inject(token, flags = InjectFlags.Default) {\n return ɵɵinject(token, convertToBitFlags(flags));\n}\n// Converts object-based DI flags (`InjectOptions`) to bit flags (`InjectFlags`).\nfunction convertToBitFlags(flags) {\n if (typeof flags === 'undefined' || typeof flags === 'number') {\n return flags;\n }\n // While TypeScript doesn't accept it without a cast, bitwise OR with false-y values in\n // JavaScript is a no-op. We can use that for a very codesize-efficient conversion from\n // `InjectOptions` to `InjectFlags`.\n return (0 /* InternalInjectFlags.Default */ | // comment to force a line break in the formatter\n (flags.optional && 8 /* InternalInjectFlags.Optional */) |\n (flags.host && 1 /* InternalInjectFlags.Host */) |\n (flags.self && 2 /* InternalInjectFlags.Self */) |\n (flags.skipSelf && 4 /* InternalInjectFlags.SkipSelf */));\n}\nfunction injectArgs(types) {\n const args = [];\n for (let i = 0; i < types.length; i++) {\n const arg = resolveForwardRef(types[i]);\n if (Array.isArray(arg)) {\n if (arg.length === 0) {\n throw new RuntimeError(900 /* RuntimeErrorCode.INVALID_DIFFER_INPUT */, ngDevMode && 'Arguments array must have arguments.');\n }\n let type = undefined;\n let flags = InjectFlags.Default;\n for (let j = 0; j < arg.length; j++) {\n const meta = arg[j];\n const flag = getInjectFlag(meta);\n if (typeof flag === 'number') {\n // Special case when we handle @Inject decorator.\n if (flag === -1 /* DecoratorFlags.Inject */) {\n type = meta.token;\n }\n else {\n flags |= flag;\n }\n }\n else {\n type = meta;\n }\n }\n args.push(ɵɵinject(type, flags));\n }\n else {\n args.push(ɵɵinject(arg));\n }\n }\n return args;\n}\n/**\n * Attaches a given InjectFlag to a given decorator using monkey-patching.\n * Since DI decorators can be used in providers `deps` array (when provider is configured using\n * `useFactory`) without initialization (e.g. `Host`) and as an instance (e.g. `new Host()`), we\n * attach the flag to make it available both as a static property and as a field on decorator\n * instance.\n *\n * @param decorator Provided DI decorator.\n * @param flag InjectFlag that should be applied.\n */\nfunction attachInjectFlag(decorator, flag) {\n decorator[DI_DECORATOR_FLAG] = flag;\n decorator.prototype[DI_DECORATOR_FLAG] = flag;\n return decorator;\n}\n/**\n * Reads monkey-patched property that contains InjectFlag attached to a decorator.\n *\n * @param token Token that may contain monkey-patched DI flags property.\n */\nfunction getInjectFlag(token) {\n return token[DI_DECORATOR_FLAG];\n}\nfunction catchInjectorError(e, token, injectorErrorName, source) {\n const tokenPath = e[NG_TEMP_TOKEN_PATH];\n if (token[SOURCE]) {\n tokenPath.unshift(token[SOURCE]);\n }\n e.message = formatError('\\n' + e.message, tokenPath, injectorErrorName, source);\n e[NG_TOKEN_PATH] = tokenPath;\n e[NG_TEMP_TOKEN_PATH] = null;\n throw e;\n}\nfunction formatError(text, obj, injectorErrorName, source = null) {\n text = text && text.charAt(0) === '\\n' && text.charAt(1) == NO_NEW_LINE ? text.slice(2) : text;\n let context = stringify(obj);\n if (Array.isArray(obj)) {\n context = obj.map(stringify).join(' -> ');\n }\n else if (typeof obj === 'object') {\n let parts = [];\n for (let key in obj) {\n if (obj.hasOwnProperty(key)) {\n let value = obj[key];\n parts.push(key + ':' + (typeof value === 'string' ? JSON.stringify(value) : stringify(value)));\n }\n }\n context = `{${parts.join(', ')}}`;\n }\n return `${injectorErrorName}${source ? '(' + source + ')' : ''}[${context}]: ${text.replace(NEW_LINE, '\\n ')}`;\n}\n\n/**\n * Convince closure compiler that the wrapped function has no side-effects.\n *\n * Closure compiler always assumes that `toString` has no side-effects. We use this quirk to\n * allow us to execute a function but have closure compiler mark the call as no-side-effects.\n * It is important that the return value for the `noSideEffects` function be assigned\n * to something which is retained otherwise the call to `noSideEffects` will be removed by closure\n * compiler.\n */\nfunction noSideEffects(fn) {\n return { toString: fn }.toString();\n}\n\n/**\n * The strategy that the default change detector uses to detect changes.\n * When set, takes effect the next time change detection is triggered.\n *\n * @see {@link ChangeDetectorRef#usage-notes Change detection usage}\n *\n * @publicApi\n */\nvar ChangeDetectionStrategy;\n(function (ChangeDetectionStrategy) {\n /**\n * Use the `CheckOnce` strategy, meaning that automatic change detection is deactivated\n * until reactivated by setting the strategy to `Default` (`CheckAlways`).\n * Change detection can still be explicitly invoked.\n * This strategy applies to all child directives and cannot be overridden.\n */\n ChangeDetectionStrategy[ChangeDetectionStrategy[\"OnPush\"] = 0] = \"OnPush\";\n /**\n * Use the default `CheckAlways` strategy, in which change detection is automatic until\n * explicitly deactivated.\n */\n ChangeDetectionStrategy[ChangeDetectionStrategy[\"Default\"] = 1] = \"Default\";\n})(ChangeDetectionStrategy || (ChangeDetectionStrategy = {}));\n\n/**\n * Defines the CSS styles encapsulation policies for the {@link Component} decorator's\n * `encapsulation` option.\n *\n * See {@link Component#encapsulation encapsulation}.\n *\n * @usageNotes\n * ### Example\n *\n * {@example core/ts/metadata/encapsulation.ts region='longform'}\n *\n * @publicApi\n */\nvar ViewEncapsulation$1;\n(function (ViewEncapsulation) {\n // TODO: consider making `ViewEncapsulation` a `const enum` instead. See\n // https://github.com/angular/angular/issues/44119 for additional information.\n /**\n * Emulates a native Shadow DOM encapsulation behavior by adding a specific attribute to the\n * component's host element and applying the same attribute to all the CSS selectors provided\n * via {@link Component#styles styles} or {@link Component#styleUrls styleUrls}.\n *\n * This is the default option.\n */\n ViewEncapsulation[ViewEncapsulation[\"Emulated\"] = 0] = \"Emulated\";\n // Historically the 1 value was for `Native` encapsulation which has been removed as of v11.\n /**\n * Doesn't provide any sort of CSS style encapsulation, meaning that all the styles provided\n * via {@link Component#styles styles} or {@link Component#styleUrls styleUrls} are applicable\n * to any HTML element of the application regardless of their host Component.\n */\n ViewEncapsulation[ViewEncapsulation[\"None\"] = 2] = \"None\";\n /**\n * Uses the browser's native Shadow DOM API to encapsulate CSS styles, meaning that it creates\n * a ShadowRoot for the component's host element which is then used to encapsulate\n * all the Component's styling.\n */\n ViewEncapsulation[ViewEncapsulation[\"ShadowDom\"] = 3] = \"ShadowDom\";\n})(ViewEncapsulation$1 || (ViewEncapsulation$1 = {}));\n\n/**\n * This file contains reuseable \"empty\" symbols that can be used as default return values\n * in different parts of the rendering code. Because the same symbols are returned, this\n * allows for identity checks against these values to be consistently used by the framework\n * code.\n */\nconst EMPTY_OBJ = {};\nconst EMPTY_ARRAY = [];\n// freezing the values prevents any code from accidentally inserting new values in\nif ((typeof ngDevMode === 'undefined' || ngDevMode) && initNgDevMode()) {\n // These property accesses can be ignored because ngDevMode will be set to false\n // when optimizing code and the whole if statement will be dropped.\n // tslint:disable-next-line:no-toplevel-property-access\n Object.freeze(EMPTY_OBJ);\n // tslint:disable-next-line:no-toplevel-property-access\n Object.freeze(EMPTY_ARRAY);\n}\n\nconst NG_COMP_DEF = getClosureSafeProperty({ ɵcmp: getClosureSafeProperty });\nconst NG_DIR_DEF = getClosureSafeProperty({ ɵdir: getClosureSafeProperty });\nconst NG_PIPE_DEF = getClosureSafeProperty({ ɵpipe: getClosureSafeProperty });\nconst NG_MOD_DEF = getClosureSafeProperty({ ɵmod: getClosureSafeProperty });\nconst NG_FACTORY_DEF = getClosureSafeProperty({ ɵfac: getClosureSafeProperty });\n/**\n * If a directive is diPublic, bloomAdd sets a property on the type with this constant as\n * the key and the directive's unique ID as the value. This allows us to map directives to their\n * bloom filter bit for DI.\n */\n// TODO(misko): This is wrong. The NG_ELEMENT_ID should never be minified.\nconst NG_ELEMENT_ID = getClosureSafeProperty({ __NG_ELEMENT_ID__: getClosureSafeProperty });\n/**\n * The `NG_ENV_ID` field on a DI token indicates special processing in the `EnvironmentInjector`:\n * getting such tokens from the `EnvironmentInjector` will bypass the standard DI resolution\n * strategy and instead will return implementation produced by the `NG_ENV_ID` factory function.\n *\n * This particular retrieval of DI tokens is mostly done to eliminate circular dependencies and\n * improve tree-shaking.\n */\nconst NG_ENV_ID = getClosureSafeProperty({ __NG_ENV_ID__: getClosureSafeProperty });\n\n/**\n * Returns an index of `classToSearch` in `className` taking token boundaries into account.\n *\n * `classIndexOf('AB A', 'A', 0)` will be 3 (not 0 since `AB!==A`)\n *\n * @param className A string containing classes (whitespace separated)\n * @param classToSearch A class name to locate\n * @param startingIndex Starting location of search\n * @returns an index of the located class (or -1 if not found)\n */\nfunction classIndexOf(className, classToSearch, startingIndex) {\n ngDevMode && assertNotEqual(classToSearch, '', 'can not look for \"\" string.');\n let end = className.length;\n while (true) {\n const foundIndex = className.indexOf(classToSearch, startingIndex);\n if (foundIndex === -1)\n return foundIndex;\n if (foundIndex === 0 || className.charCodeAt(foundIndex - 1) <= 32 /* CharCode.SPACE */) {\n // Ensure that it has leading whitespace\n const length = classToSearch.length;\n if (foundIndex + length === end ||\n className.charCodeAt(foundIndex + length) <= 32 /* CharCode.SPACE */) {\n // Ensure that it has trailing whitespace\n return foundIndex;\n }\n }\n // False positive, keep searching from where we left off.\n startingIndex = foundIndex + 1;\n }\n}\n\n/**\n * Assigns all attribute values to the provided element via the inferred renderer.\n *\n * This function accepts two forms of attribute entries:\n *\n * default: (key, value):\n * attrs = [key1, value1, key2, value2]\n *\n * namespaced: (NAMESPACE_MARKER, uri, name, value)\n * attrs = [NAMESPACE_MARKER, uri, name, value, NAMESPACE_MARKER, uri, name, value]\n *\n * The `attrs` array can contain a mix of both the default and namespaced entries.\n * The \"default\" values are set without a marker, but if the function comes across\n * a marker value then it will attempt to set a namespaced value. If the marker is\n * not of a namespaced value then the function will quit and return the index value\n * where it stopped during the iteration of the attrs array.\n *\n * See [AttributeMarker] to understand what the namespace marker value is.\n *\n * Note that this instruction does not support assigning style and class values to\n * an element. See `elementStart` and `elementHostAttrs` to learn how styling values\n * are applied to an element.\n * @param renderer The renderer to be used\n * @param native The element that the attributes will be assigned to\n * @param attrs The attribute array of values that will be assigned to the element\n * @returns the index value that was last accessed in the attributes array\n */\nfunction setUpAttributes(renderer, native, attrs) {\n let i = 0;\n while (i < attrs.length) {\n const value = attrs[i];\n if (typeof value === 'number') {\n // only namespaces are supported. Other value types (such as style/class\n // entries) are not supported in this function.\n if (value !== 0 /* AttributeMarker.NamespaceURI */) {\n break;\n }\n // we just landed on the marker value ... therefore\n // we should skip to the next entry\n i++;\n const namespaceURI = attrs[i++];\n const attrName = attrs[i++];\n const attrVal = attrs[i++];\n ngDevMode && ngDevMode.rendererSetAttribute++;\n renderer.setAttribute(native, attrName, attrVal, namespaceURI);\n }\n else {\n // attrName is string;\n const attrName = value;\n const attrVal = attrs[++i];\n // Standard attributes\n ngDevMode && ngDevMode.rendererSetAttribute++;\n if (isAnimationProp(attrName)) {\n renderer.setProperty(native, attrName, attrVal);\n }\n else {\n renderer.setAttribute(native, attrName, attrVal);\n }\n i++;\n }\n }\n // another piece of code may iterate over the same attributes array. Therefore\n // it may be helpful to return the exact spot where the attributes array exited\n // whether by running into an unsupported marker or if all the static values were\n // iterated over.\n return i;\n}\n/**\n * Test whether the given value is a marker that indicates that the following\n * attribute values in a `TAttributes` array are only the names of attributes,\n * and not name-value pairs.\n * @param marker The attribute marker to test.\n * @returns true if the marker is a \"name-only\" marker (e.g. `Bindings`, `Template` or `I18n`).\n */\nfunction isNameOnlyAttributeMarker(marker) {\n return marker === 3 /* AttributeMarker.Bindings */ || marker === 4 /* AttributeMarker.Template */ ||\n marker === 6 /* AttributeMarker.I18n */;\n}\nfunction isAnimationProp(name) {\n // Perf note: accessing charCodeAt to check for the first character of a string is faster as\n // compared to accessing a character at index 0 (ex. name[0]). The main reason for this is that\n // charCodeAt doesn't allocate memory to return a substring.\n return name.charCodeAt(0) === 64 /* CharCode.AT_SIGN */;\n}\n/**\n * Merges `src` `TAttributes` into `dst` `TAttributes` removing any duplicates in the process.\n *\n * This merge function keeps the order of attrs same.\n *\n * @param dst Location of where the merged `TAttributes` should end up.\n * @param src `TAttributes` which should be appended to `dst`\n */\nfunction mergeHostAttrs(dst, src) {\n if (src === null || src.length === 0) {\n // do nothing\n }\n else if (dst === null || dst.length === 0) {\n // We have source, but dst is empty, just make a copy.\n dst = src.slice();\n }\n else {\n let srcMarker = -1 /* AttributeMarker.ImplicitAttributes */;\n for (let i = 0; i < src.length; i++) {\n const item = src[i];\n if (typeof item === 'number') {\n srcMarker = item;\n }\n else {\n if (srcMarker === 0 /* AttributeMarker.NamespaceURI */) {\n // Case where we need to consume `key1`, `key2`, `value` items.\n }\n else if (srcMarker === -1 /* AttributeMarker.ImplicitAttributes */ ||\n srcMarker === 2 /* AttributeMarker.Styles */) {\n // Case where we have to consume `key1` and `value` only.\n mergeHostAttribute(dst, srcMarker, item, null, src[++i]);\n }\n else {\n // Case where we have to consume `key1` only.\n mergeHostAttribute(dst, srcMarker, item, null, null);\n }\n }\n }\n }\n return dst;\n}\n/**\n * Append `key`/`value` to existing `TAttributes` taking region marker and duplicates into account.\n *\n * @param dst `TAttributes` to append to.\n * @param marker Region where the `key`/`value` should be added.\n * @param key1 Key to add to `TAttributes`\n * @param key2 Key to add to `TAttributes` (in case of `AttributeMarker.NamespaceURI`)\n * @param value Value to add or to overwrite to `TAttributes` Only used if `marker` is not Class.\n */\nfunction mergeHostAttribute(dst, marker, key1, key2, value) {\n let i = 0;\n // Assume that new markers will be inserted at the end.\n let markerInsertPosition = dst.length;\n // scan until correct type.\n if (marker === -1 /* AttributeMarker.ImplicitAttributes */) {\n markerInsertPosition = -1;\n }\n else {\n while (i < dst.length) {\n const dstValue = dst[i++];\n if (typeof dstValue === 'number') {\n if (dstValue === marker) {\n markerInsertPosition = -1;\n break;\n }\n else if (dstValue > marker) {\n // We need to save this as we want the markers to be inserted in specific order.\n markerInsertPosition = i - 1;\n break;\n }\n }\n }\n }\n // search until you find place of insertion\n while (i < dst.length) {\n const item = dst[i];\n if (typeof item === 'number') {\n // since `i` started as the index after the marker, we did not find it if we are at the next\n // marker\n break;\n }\n else if (item === key1) {\n // We already have same token\n if (key2 === null) {\n if (value !== null) {\n dst[i + 1] = value;\n }\n return;\n }\n else if (key2 === dst[i + 1]) {\n dst[i + 2] = value;\n return;\n }\n }\n // Increment counter.\n i++;\n if (key2 !== null)\n i++;\n if (value !== null)\n i++;\n }\n // insert at location.\n if (markerInsertPosition !== -1) {\n dst.splice(markerInsertPosition, 0, marker);\n i = markerInsertPosition + 1;\n }\n dst.splice(i++, 0, key1);\n if (key2 !== null) {\n dst.splice(i++, 0, key2);\n }\n if (value !== null) {\n dst.splice(i++, 0, value);\n }\n}\n\nconst NG_TEMPLATE_SELECTOR = 'ng-template';\n/**\n * Search the `TAttributes` to see if it contains `cssClassToMatch` (case insensitive)\n *\n * @param attrs `TAttributes` to search through.\n * @param cssClassToMatch class to match (lowercase)\n * @param isProjectionMode Whether or not class matching should look into the attribute `class` in\n * addition to the `AttributeMarker.Classes`.\n */\nfunction isCssClassMatching(attrs, cssClassToMatch, isProjectionMode) {\n // TODO(misko): The fact that this function needs to know about `isProjectionMode` seems suspect.\n // It is strange to me that sometimes the class information comes in form of `class` attribute\n // and sometimes in form of `AttributeMarker.Classes`. Some investigation is needed to determine\n // if that is the right behavior.\n ngDevMode &&\n assertEqual(cssClassToMatch, cssClassToMatch.toLowerCase(), 'Class name expected to be lowercase.');\n let i = 0;\n // Indicates whether we are processing value from the implicit\n // attribute section (i.e. before the first marker in the array).\n let isImplicitAttrsSection = true;\n while (i < attrs.length) {\n let item = attrs[i++];\n if (typeof item === 'string' && isImplicitAttrsSection) {\n const value = attrs[i++];\n if (isProjectionMode && item === 'class') {\n // We found a `class` attribute in the implicit attribute section,\n // check if it matches the value of the `cssClassToMatch` argument.\n if (classIndexOf(value.toLowerCase(), cssClassToMatch, 0) !== -1) {\n return true;\n }\n }\n }\n else if (item === 1 /* AttributeMarker.Classes */) {\n // We found the classes section. Start searching for the class.\n while (i < attrs.length && typeof (item = attrs[i++]) == 'string') {\n // while we have strings\n if (item.toLowerCase() === cssClassToMatch)\n return true;\n }\n return false;\n }\n else if (typeof item === 'number') {\n // We've came across a first marker, which indicates\n // that the implicit attribute section is over.\n isImplicitAttrsSection = false;\n }\n }\n return false;\n}\n/**\n * Checks whether the `tNode` represents an inline template (e.g. `*ngFor`).\n *\n * @param tNode current TNode\n */\nfunction isInlineTemplate(tNode) {\n return tNode.type === 4 /* TNodeType.Container */ && tNode.value !== NG_TEMPLATE_SELECTOR;\n}\n/**\n * Function that checks whether a given tNode matches tag-based selector and has a valid type.\n *\n * Matching can be performed in 2 modes: projection mode (when we project nodes) and regular\n * directive matching mode:\n * - in the \"directive matching\" mode we do _not_ take TContainer's tagName into account if it is\n * different from NG_TEMPLATE_SELECTOR (value different from NG_TEMPLATE_SELECTOR indicates that a\n * tag name was extracted from * syntax so we would match the same directive twice);\n * - in the \"projection\" mode, we use a tag name potentially extracted from the * syntax processing\n * (applicable to TNodeType.Container only).\n */\nfunction hasTagAndTypeMatch(tNode, currentSelector, isProjectionMode) {\n const tagNameToCompare = tNode.type === 4 /* TNodeType.Container */ && !isProjectionMode ? NG_TEMPLATE_SELECTOR : tNode.value;\n return currentSelector === tagNameToCompare;\n}\n/**\n * A utility function to match an Ivy node static data against a simple CSS selector\n *\n * @param node static data of the node to match\n * @param selector The selector to try matching against the node.\n * @param isProjectionMode if `true` we are matching for content projection, otherwise we are doing\n * directive matching.\n * @returns true if node matches the selector.\n */\nfunction isNodeMatchingSelector(tNode, selector, isProjectionMode) {\n ngDevMode && assertDefined(selector[0], 'Selector should have a tag name');\n let mode = 4 /* SelectorFlags.ELEMENT */;\n const nodeAttrs = tNode.attrs || [];\n // Find the index of first attribute that has no value, only a name.\n const nameOnlyMarkerIdx = getNameOnlyMarkerIndex(nodeAttrs);\n // When processing \":not\" selectors, we skip to the next \":not\" if the\n // current one doesn't match\n let skipToNextSelector = false;\n for (let i = 0; i < selector.length; i++) {\n const current = selector[i];\n if (typeof current === 'number') {\n // If we finish processing a :not selector and it hasn't failed, return false\n if (!skipToNextSelector && !isPositive(mode) && !isPositive(current)) {\n return false;\n }\n // If we are skipping to the next :not() and this mode flag is positive,\n // it's a part of the current :not() selector, and we should keep skipping\n if (skipToNextSelector && isPositive(current))\n continue;\n skipToNextSelector = false;\n mode = current | (mode & 1 /* SelectorFlags.NOT */);\n continue;\n }\n if (skipToNextSelector)\n continue;\n if (mode & 4 /* SelectorFlags.ELEMENT */) {\n mode = 2 /* SelectorFlags.ATTRIBUTE */ | mode & 1 /* SelectorFlags.NOT */;\n if (current !== '' && !hasTagAndTypeMatch(tNode, current, isProjectionMode) ||\n current === '' && selector.length === 1) {\n if (isPositive(mode))\n return false;\n skipToNextSelector = true;\n }\n }\n else {\n const selectorAttrValue = mode & 8 /* SelectorFlags.CLASS */ ? current : selector[++i];\n // special case for matching against classes when a tNode has been instantiated with\n // class and style values as separate attribute values (e.g. ['title', CLASS, 'foo'])\n if ((mode & 8 /* SelectorFlags.CLASS */) && tNode.attrs !== null) {\n if (!isCssClassMatching(tNode.attrs, selectorAttrValue, isProjectionMode)) {\n if (isPositive(mode))\n return false;\n skipToNextSelector = true;\n }\n continue;\n }\n const attrName = (mode & 8 /* SelectorFlags.CLASS */) ? 'class' : current;\n const attrIndexInNode = findAttrIndexInNode(attrName, nodeAttrs, isInlineTemplate(tNode), isProjectionMode);\n if (attrIndexInNode === -1) {\n if (isPositive(mode))\n return false;\n skipToNextSelector = true;\n continue;\n }\n if (selectorAttrValue !== '') {\n let nodeAttrValue;\n if (attrIndexInNode > nameOnlyMarkerIdx) {\n nodeAttrValue = '';\n }\n else {\n ngDevMode &&\n assertNotEqual(nodeAttrs[attrIndexInNode], 0 /* AttributeMarker.NamespaceURI */, 'We do not match directives on namespaced attributes');\n // we lowercase the attribute value to be able to match\n // selectors without case-sensitivity\n // (selectors are already in lowercase when generated)\n nodeAttrValue = nodeAttrs[attrIndexInNode + 1].toLowerCase();\n }\n const compareAgainstClassName = mode & 8 /* SelectorFlags.CLASS */ ? nodeAttrValue : null;\n if (compareAgainstClassName &&\n classIndexOf(compareAgainstClassName, selectorAttrValue, 0) !== -1 ||\n mode & 2 /* SelectorFlags.ATTRIBUTE */ && selectorAttrValue !== nodeAttrValue) {\n if (isPositive(mode))\n return false;\n skipToNextSelector = true;\n }\n }\n }\n }\n return isPositive(mode) || skipToNextSelector;\n}\nfunction isPositive(mode) {\n return (mode & 1 /* SelectorFlags.NOT */) === 0;\n}\n/**\n * Examines the attribute's definition array for a node to find the index of the\n * attribute that matches the given `name`.\n *\n * NOTE: This will not match namespaced attributes.\n *\n * Attribute matching depends upon `isInlineTemplate` and `isProjectionMode`.\n * The following table summarizes which types of attributes we attempt to match:\n *\n * ===========================================================================================================\n * Modes | Normal Attributes | Bindings Attributes | Template Attributes | I18n\n * Attributes\n * ===========================================================================================================\n * Inline + Projection | YES | YES | NO | YES\n * -----------------------------------------------------------------------------------------------------------\n * Inline + Directive | NO | NO | YES | NO\n * -----------------------------------------------------------------------------------------------------------\n * Non-inline + Projection | YES | YES | NO | YES\n * -----------------------------------------------------------------------------------------------------------\n * Non-inline + Directive | YES | YES | NO | YES\n * ===========================================================================================================\n *\n * @param name the name of the attribute to find\n * @param attrs the attribute array to examine\n * @param isInlineTemplate true if the node being matched is an inline template (e.g. `*ngFor`)\n * rather than a manually expanded template node (e.g `<ng-template>`).\n * @param isProjectionMode true if we are matching against content projection otherwise we are\n * matching against directives.\n */\nfunction findAttrIndexInNode(name, attrs, isInlineTemplate, isProjectionMode) {\n if (attrs === null)\n return -1;\n let i = 0;\n if (isProjectionMode || !isInlineTemplate) {\n let bindingsMode = false;\n while (i < attrs.length) {\n const maybeAttrName = attrs[i];\n if (maybeAttrName === name) {\n return i;\n }\n else if (maybeAttrName === 3 /* AttributeMarker.Bindings */ || maybeAttrName === 6 /* AttributeMarker.I18n */) {\n bindingsMode = true;\n }\n else if (maybeAttrName === 1 /* AttributeMarker.Classes */ || maybeAttrName === 2 /* AttributeMarker.Styles */) {\n let value = attrs[++i];\n // We should skip classes here because we have a separate mechanism for\n // matching classes in projection mode.\n while (typeof value === 'string') {\n value = attrs[++i];\n }\n continue;\n }\n else if (maybeAttrName === 4 /* AttributeMarker.Template */) {\n // We do not care about Template attributes in this scenario.\n break;\n }\n else if (maybeAttrName === 0 /* AttributeMarker.NamespaceURI */) {\n // Skip the whole namespaced attribute and value. This is by design.\n i += 4;\n continue;\n }\n // In binding mode there are only names, rather than name-value pairs.\n i += bindingsMode ? 1 : 2;\n }\n // We did not match the attribute\n return -1;\n }\n else {\n return matchTemplateAttribute(attrs, name);\n }\n}\nfunction isNodeMatchingSelectorList(tNode, selector, isProjectionMode = false) {\n for (let i = 0; i < selector.length; i++) {\n if (isNodeMatchingSelector(tNode, selector[i], isProjectionMode)) {\n return true;\n }\n }\n return false;\n}\nfunction getProjectAsAttrValue(tNode) {\n const nodeAttrs = tNode.attrs;\n if (nodeAttrs != null) {\n const ngProjectAsAttrIdx = nodeAttrs.indexOf(5 /* AttributeMarker.ProjectAs */);\n // only check for ngProjectAs in attribute names, don't accidentally match attribute's value\n // (attribute names are stored at even indexes)\n if ((ngProjectAsAttrIdx & 1) === 0) {\n return nodeAttrs[ngProjectAsAttrIdx + 1];\n }\n }\n return null;\n}\nfunction getNameOnlyMarkerIndex(nodeAttrs) {\n for (let i = 0; i < nodeAttrs.length; i++) {\n const nodeAttr = nodeAttrs[i];\n if (isNameOnlyAttributeMarker(nodeAttr)) {\n return i;\n }\n }\n return nodeAttrs.length;\n}\nfunction matchTemplateAttribute(attrs, name) {\n let i = attrs.indexOf(4 /* AttributeMarker.Template */);\n if (i > -1) {\n i++;\n while (i < attrs.length) {\n const attr = attrs[i];\n // Return in case we checked all template attrs and are switching to the next section in the\n // attrs array (that starts with a number that represents an attribute marker).\n if (typeof attr === 'number')\n return -1;\n if (attr === name)\n return i;\n i++;\n }\n }\n return -1;\n}\n/**\n * Checks whether a selector is inside a CssSelectorList\n * @param selector Selector to be checked.\n * @param list List in which to look for the selector.\n */\nfunction isSelectorInSelectorList(selector, list) {\n selectorListLoop: for (let i = 0; i < list.length; i++) {\n const currentSelectorInList = list[i];\n if (selector.length !== currentSelectorInList.length) {\n continue;\n }\n for (let j = 0; j < selector.length; j++) {\n if (selector[j] !== currentSelectorInList[j]) {\n continue selectorListLoop;\n }\n }\n return true;\n }\n return false;\n}\nfunction maybeWrapInNotSelector(isNegativeMode, chunk) {\n return isNegativeMode ? ':not(' + chunk.trim() + ')' : chunk;\n}\nfunction stringifyCSSSelector(selector) {\n let result = selector[0];\n let i = 1;\n let mode = 2 /* SelectorFlags.ATTRIBUTE */;\n let currentChunk = '';\n let isNegativeMode = false;\n while (i < selector.length) {\n let valueOrMarker = selector[i];\n if (typeof valueOrMarker === 'string') {\n if (mode & 2 /* SelectorFlags.ATTRIBUTE */) {\n const attrValue = selector[++i];\n currentChunk +=\n '[' + valueOrMarker + (attrValue.length > 0 ? '=\"' + attrValue + '\"' : '') + ']';\n }\n else if (mode & 8 /* SelectorFlags.CLASS */) {\n currentChunk += '.' + valueOrMarker;\n }\n else if (mode & 4 /* SelectorFlags.ELEMENT */) {\n currentChunk += ' ' + valueOrMarker;\n }\n }\n else {\n //\n // Append current chunk to the final result in case we come across SelectorFlag, which\n // indicates that the previous section of a selector is over. We need to accumulate content\n // between flags to make sure we wrap the chunk later in :not() selector if needed, e.g.\n // ```\n // ['', Flags.CLASS, '.classA', Flags.CLASS | Flags.NOT, '.classB', '.classC']\n // ```\n // should be transformed to `.classA :not(.classB .classC)`.\n //\n // Note: for negative selector part, we accumulate content between flags until we find the\n // next negative flag. This is needed to support a case where `:not()` rule contains more than\n // one chunk, e.g. the following selector:\n // ```\n // ['', Flags.ELEMENT | Flags.NOT, 'p', Flags.CLASS, 'foo', Flags.CLASS | Flags.NOT, 'bar']\n // ```\n // should be stringified to `:not(p.foo) :not(.bar)`\n //\n if (currentChunk !== '' && !isPositive(valueOrMarker)) {\n result += maybeWrapInNotSelector(isNegativeMode, currentChunk);\n currentChunk = '';\n }\n mode = valueOrMarker;\n // According to CssSelector spec, once we come across `SelectorFlags.NOT` flag, the negative\n // mode is maintained for remaining chunks of a selector.\n isNegativeMode = isNegativeMode || !isPositive(mode);\n }\n i++;\n }\n if (currentChunk !== '') {\n result += maybeWrapInNotSelector(isNegativeMode, currentChunk);\n }\n return result;\n}\n/**\n * Generates string representation of CSS selector in parsed form.\n *\n * ComponentDef and DirectiveDef are generated with the selector in parsed form to avoid doing\n * additional parsing at runtime (for example, for directive matching). However in some cases (for\n * example, while bootstrapping a component), a string version of the selector is required to query\n * for the host element on the page. This function takes the parsed form of a selector and returns\n * its string representation.\n *\n * @param selectorList selector in parsed form\n * @returns string representation of a given selector\n */\nfunction stringifyCSSSelectorList(selectorList) {\n return selectorList.map(stringifyCSSSelector).join(',');\n}\n/**\n * Extracts attributes and classes information from a given CSS selector.\n *\n * This function is used while creating a component dynamically. In this case, the host element\n * (that is created dynamically) should contain attributes and classes specified in component's CSS\n * selector.\n *\n * @param selector CSS selector in parsed form (in a form of array)\n * @returns object with `attrs` and `classes` fields that contain extracted information\n */\nfunction extractAttrsAndClassesFromSelector(selector) {\n const attrs = [];\n const classes = [];\n let i = 1;\n let mode = 2 /* SelectorFlags.ATTRIBUTE */;\n while (i < selector.length) {\n let valueOrMarker = selector[i];\n if (typeof valueOrMarker === 'string') {\n if (mode === 2 /* SelectorFlags.ATTRIBUTE */) {\n if (valueOrMarker !== '') {\n attrs.push(valueOrMarker, selector[++i]);\n }\n }\n else if (mode === 8 /* SelectorFlags.CLASS */) {\n classes.push(valueOrMarker);\n }\n }\n else {\n // According to CssSelector spec, once we come across `SelectorFlags.NOT` flag, the negative\n // mode is maintained for remaining chunks of a selector. Since attributes and classes are\n // extracted only for \"positive\" part of the selector, we can stop here.\n if (!isPositive(mode))\n break;\n mode = valueOrMarker;\n }\n i++;\n }\n return { attrs, classes };\n}\n\n/**\n * Create a component definition object.\n *\n *\n * # Example\n * ```\n * class MyComponent {\n * // Generated by Angular Template Compiler\n * // [Symbol] syntax will not be supported by TypeScript until v2.7\n * static ɵcmp = defineComponent({\n * ...\n * });\n * }\n * ```\n * @codeGenApi\n */\nfunction ɵɵdefineComponent(componentDefinition) {\n return noSideEffects(() => {\n // Initialize ngDevMode. This must be the first statement in ɵɵdefineComponent.\n // See the `initNgDevMode` docstring for more information.\n (typeof ngDevMode === 'undefined' || ngDevMode) && initNgDevMode();\n const baseDef = getNgDirectiveDef(componentDefinition);\n const def = {\n ...baseDef,\n decls: componentDefinition.decls,\n vars: componentDefinition.vars,\n template: componentDefinition.template,\n consts: componentDefinition.consts || null,\n ngContentSelectors: componentDefinition.ngContentSelectors,\n onPush: componentDefinition.changeDetection === ChangeDetectionStrategy.OnPush,\n directiveDefs: null,\n pipeDefs: null,\n dependencies: baseDef.standalone && componentDefinition.dependencies || null,\n getStandaloneInjector: null,\n data: componentDefinition.data || {},\n encapsulation: componentDefinition.encapsulation || ViewEncapsulation$1.Emulated,\n styles: componentDefinition.styles || EMPTY_ARRAY,\n _: null,\n schemas: componentDefinition.schemas || null,\n tView: null,\n id: '',\n };\n initFeatures(def);\n const dependencies = componentDefinition.dependencies;\n def.directiveDefs = extractDefListOrFactory(dependencies, /* pipeDef */ false);\n def.pipeDefs = extractDefListOrFactory(dependencies, /* pipeDef */ true);\n def.id = getComponentId(def);\n return def;\n });\n}\n/**\n * Generated next to NgModules to monkey-patch directive and pipe references onto a component's\n * definition, when generating a direct reference in the component file would otherwise create an\n * import cycle.\n *\n * See [this explanation](https://hackmd.io/Odw80D0pR6yfsOjg_7XCJg?view) for more details.\n *\n * @codeGenApi\n */\nfunction ɵɵsetComponentScope(type, directives, pipes) {\n const def = type.ɵcmp;\n def.directiveDefs = extractDefListOrFactory(directives, /* pipeDef */ false);\n def.pipeDefs = extractDefListOrFactory(pipes, /* pipeDef */ true);\n}\nfunction extractDirectiveDef(type) {\n return getComponentDef(type) || getDirectiveDef(type);\n}\nfunction nonNull(value) {\n return value !== null;\n}\n/**\n * @codeGenApi\n */\nfunction ɵɵdefineNgModule(def) {\n return noSideEffects(() => {\n const res = {\n type: def.type,\n bootstrap: def.bootstrap || EMPTY_ARRAY,\n declarations: def.declarations || EMPTY_ARRAY,\n imports: def.imports || EMPTY_ARRAY,\n exports: def.exports || EMPTY_ARRAY,\n transitiveCompileScopes: null,\n schemas: def.schemas || null,\n id: def.id || null,\n };\n return res;\n });\n}\n/**\n * Adds the module metadata that is necessary to compute the module's transitive scope to an\n * existing module definition.\n *\n * Scope metadata of modules is not used in production builds, so calls to this function can be\n * marked pure to tree-shake it from the bundle, allowing for all referenced declarations\n * to become eligible for tree-shaking as well.\n *\n * @codeGenApi\n */\nfunction ɵɵsetNgModuleScope(type, scope) {\n return noSideEffects(() => {\n const ngModuleDef = getNgModuleDef(type, true);\n ngModuleDef.declarations = scope.declarations || EMPTY_ARRAY;\n ngModuleDef.imports = scope.imports || EMPTY_ARRAY;\n ngModuleDef.exports = scope.exports || EMPTY_ARRAY;\n });\n}\n/**\n * Inverts an inputs or outputs lookup such that the keys, which were the\n * minified keys, are part of the values, and the values are parsed so that\n * the publicName of the property is the new key\n *\n * e.g. for\n *\n * ```\n * class Comp {\n * @Input()\n * propName1: string;\n *\n * @Input('publicName2')\n * declaredPropName2: number;\n * }\n * ```\n *\n * will be serialized as\n *\n * ```\n * {\n * propName1: 'propName1',\n * declaredPropName2: ['publicName2', 'declaredPropName2'],\n * }\n * ```\n *\n * which is than translated by the minifier as:\n *\n * ```\n * {\n * minifiedPropName1: 'propName1',\n * minifiedPropName2: ['publicName2', 'declaredPropName2'],\n * }\n * ```\n *\n * becomes: (public name => minifiedName)\n *\n * ```\n * {\n * 'propName1': 'minifiedPropName1',\n * 'publicName2': 'minifiedPropName2',\n * }\n * ```\n *\n * Optionally the function can take `secondary` which will result in: (public name => declared name)\n *\n * ```\n * {\n * 'propName1': 'propName1',\n * 'publicName2': 'declaredPropName2',\n * }\n * ```\n *\n\n */\nfunction invertObject(obj, secondary) {\n if (obj == null)\n return EMPTY_OBJ;\n const newLookup = {};\n for (const minifiedKey in obj) {\n if (obj.hasOwnProperty(minifiedKey)) {\n let publicName = obj[minifiedKey];\n let declaredName = publicName;\n if (Array.isArray(publicName)) {\n declaredName = publicName[1];\n publicName = publicName[0];\n }\n newLookup[publicName] = minifiedKey;\n if (secondary) {\n (secondary[publicName] = declaredName);\n }\n }\n }\n return newLookup;\n}\n/**\n * Create a directive definition object.\n *\n * # Example\n * ```ts\n * class MyDirective {\n * // Generated by Angular Template Compiler\n * // [Symbol] syntax will not be supported by TypeScript until v2.7\n * static ɵdir = ɵɵdefineDirective({\n * ...\n * });\n * }\n * ```\n *\n * @codeGenApi\n */\nfunction ɵɵdefineDirective(directiveDefinition) {\n return noSideEffects(() => {\n const def = getNgDirectiveDef(directiveDefinition);\n initFeatures(def);\n return def;\n });\n}\n/**\n * Create a pipe definition object.\n *\n * # Example\n * ```\n * class MyPipe implements PipeTransform {\n * // Generated by Angular Template Compiler\n * static ɵpipe = definePipe({\n * ...\n * });\n * }\n * ```\n * @param pipeDef Pipe definition generated by the compiler\n *\n * @codeGenApi\n */\nfunction ɵɵdefinePipe(pipeDef) {\n return {\n type: pipeDef.type,\n name: pipeDef.name,\n factory: null,\n pure: pipeDef.pure !== false,\n standalone: pipeDef.standalone === true,\n onDestroy: pipeDef.type.prototype.ngOnDestroy || null\n };\n}\n/**\n * The following getter methods retrieve the definition from the type. Currently the retrieval\n * honors inheritance, but in the future we may change the rule to require that definitions are\n * explicit. This would require some sort of migration strategy.\n */\nfunction getComponentDef(type) {\n return type[NG_COMP_DEF] || null;\n}\nfunction getDirectiveDef(type) {\n return type[NG_DIR_DEF] || null;\n}\nfunction getPipeDef$1(type) {\n return type[NG_PIPE_DEF] || null;\n}\n/**\n * Checks whether a given Component, Directive or Pipe is marked as standalone.\n * This will return false if passed anything other than a Component, Directive, or Pipe class\n * See [this guide](/guide/standalone-components) for additional information:\n *\n * @param type A reference to a Component, Directive or Pipe.\n * @publicApi\n */\nfunction isStandalone(type) {\n const def = getComponentDef(type) || getDirectiveDef(type) || getPipeDef$1(type);\n return def !== null ? def.standalone : false;\n}\nfunction getNgModuleDef(type, throwNotFound) {\n const ngModuleDef = type[NG_MOD_DEF] || null;\n if (!ngModuleDef && throwNotFound === true) {\n throw new Error(`Type ${stringify(type)} does not have 'ɵmod' property.`);\n }\n return ngModuleDef;\n}\nfunction getNgDirectiveDef(directiveDefinition) {\n const declaredInputs = {};\n return {\n type: directiveDefinition.type,\n providersResolver: null,\n factory: null,\n hostBindings: directiveDefinition.hostBindings || null,\n hostVars: directiveDefinition.hostVars || 0,\n hostAttrs: directiveDefinition.hostAttrs || null,\n contentQueries: directiveDefinition.contentQueries || null,\n declaredInputs,\n exportAs: directiveDefinition.exportAs || null,\n standalone: directiveDefinition.standalone === true,\n selectors: directiveDefinition.selectors || EMPTY_ARRAY,\n viewQuery: directiveDefinition.viewQuery || null,\n features: directiveDefinition.features || null,\n setInput: null,\n findHostDirectiveDefs: null,\n hostDirectives: null,\n inputs: invertObject(directiveDefinition.inputs, declaredInputs),\n outputs: invertObject(directiveDefinition.outputs),\n };\n}\nfunction initFeatures(definition) {\n definition.features?.forEach((fn) => fn(definition));\n}\nfunction extractDefListOrFactory(dependencies, pipeDef) {\n if (!dependencies) {\n return null;\n }\n const defExtractor = pipeDef ? getPipeDef$1 : extractDirectiveDef;\n return () => (typeof dependencies === 'function' ? dependencies() : dependencies)\n .map(dep => defExtractor(dep))\n .filter(nonNull);\n}\n/**\n * A map that contains the generated component IDs and type.\n */\nconst GENERATED_COMP_IDS = new Map();\n/**\n * A method can returns a component ID from the component definition using a variant of DJB2 hash\n * algorithm.\n */\nfunction getComponentId(componentDef) {\n let hash = 0;\n // We cannot rely solely on the component selector as the same selector can be used in different\n // modules.\n //\n // `componentDef.style` is not used, due to it causing inconsistencies. Ex: when server\n // component styles has no sourcemaps and browsers do.\n //\n // Example:\n // https://github.com/angular/components/blob/d9f82c8f95309e77a6d82fd574c65871e91354c2/src/material/core/option/option.ts#L248\n // https://github.com/angular/components/blob/285f46dc2b4c5b127d356cb7c4714b221f03ce50/src/material/legacy-core/option/option.ts#L32\n const hashSelectors = [\n componentDef.selectors,\n componentDef.ngContentSelectors,\n componentDef.hostVars,\n componentDef.hostAttrs,\n componentDef.consts,\n componentDef.vars,\n componentDef.decls,\n componentDef.encapsulation,\n componentDef.standalone,\n componentDef.exportAs,\n JSON.stringify(componentDef.inputs),\n JSON.stringify(componentDef.outputs),\n // We cannot use 'componentDef.type.name' as the name of the symbol will change and will not\n // match in the server and browser bundles.\n Object.getOwnPropertyNames(componentDef.type.prototype),\n !!componentDef.contentQueries,\n !!componentDef.viewQuery,\n ].join('|');\n for (const char of hashSelectors) {\n hash = Math.imul(31, hash) + char.charCodeAt(0) << 0;\n }\n // Force positive number hash.\n // 2147483647 = equivalent of Integer.MAX_VALUE.\n hash += 2147483647 + 1;\n const compId = 'c' + hash;\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (GENERATED_COMP_IDS.has(compId)) {\n const previousCompDefType = GENERATED_COMP_IDS.get(compId);\n if (previousCompDefType !== componentDef.type) {\n console.warn(formatRuntimeError(-912 /* RuntimeErrorCode.COMPONENT_ID_COLLISION */, `Component ID generation collision detected. Components '${previousCompDefType.name}' and '${componentDef.type.name}' with selector '${stringifyCSSSelectorList(componentDef\n .selectors)}' generated the same component ID. To fix this, you can change the selector of one of those components or add an extra host attribute to force a different ID.`));\n }\n }\n else {\n GENERATED_COMP_IDS.set(compId, componentDef.type);\n }\n }\n return compId;\n}\n\n// Below are constants for LView indices to help us look up LView members\n// without having to remember the specific indices.\n// Uglify will inline these when minifying so there shouldn't be a cost.\nconst HOST = 0;\nconst TVIEW = 1;\nconst FLAGS = 2;\nconst PARENT = 3;\nconst NEXT = 4;\nconst DESCENDANT_VIEWS_TO_REFRESH = 5;\nconst T_HOST = 6;\nconst CLEANUP = 7;\nconst CONTEXT = 8;\nconst INJECTOR$1 = 9;\nconst ENVIRONMENT = 10;\nconst RENDERER = 11;\nconst CHILD_HEAD = 12;\nconst CHILD_TAIL = 13;\n// FIXME(misko): Investigate if the three declarations aren't all same thing.\nconst DECLARATION_VIEW = 14;\nconst DECLARATION_COMPONENT_VIEW = 15;\nconst DECLARATION_LCONTAINER = 16;\nconst PREORDER_HOOK_FLAGS = 17;\nconst QUERIES = 18;\nconst ID = 19;\nconst EMBEDDED_VIEW_INJECTOR = 20;\nconst ON_DESTROY_HOOKS = 21;\nconst HYDRATION = 22;\nconst REACTIVE_TEMPLATE_CONSUMER = 23;\nconst REACTIVE_HOST_BINDING_CONSUMER = 24;\n/**\n * Size of LView's header. Necessary to adjust for it when setting slots.\n *\n * IMPORTANT: `HEADER_OFFSET` should only be referred to the in the `ɵɵ*` instructions to translate\n * instruction index into `LView` index. All other indexes should be in the `LView` index space and\n * there should be no need to refer to `HEADER_OFFSET` anywhere else.\n */\nconst HEADER_OFFSET = 25;\n// Note: This hack is necessary so we don't erroneously get a circular dependency\n// failure based on types.\nconst unusedValueExportToPlacateAjd$4 = 1;\n\n/**\n * Special location which allows easy identification of type. If we have an array which was\n * retrieved from the `LView` and that array has `true` at `TYPE` location, we know it is\n * `LContainer`.\n */\nconst TYPE = 1;\n/**\n * Below are constants for LContainer indices to help us look up LContainer members\n * without having to remember the specific indices.\n * Uglify will inline these when minifying so there shouldn't be a cost.\n */\n/**\n * Flag to signify that this `LContainer` may have transplanted views which need to be change\n * detected. (see: `LView[DECLARATION_COMPONENT_VIEW])`.\n *\n * This flag, once set, is never unset for the `LContainer`. This means that when unset we can skip\n * a lot of work in `refreshEmbeddedViews`. But when set we still need to verify\n * that the `MOVED_VIEWS` are transplanted and on-push.\n */\nconst HAS_TRANSPLANTED_VIEWS = 2;\n// PARENT, NEXT, DESCENDANT_VIEWS_TO_REFRESH are indices 3, 4, and 5\n// As we already have these constants in LView, we don't need to re-create them.\n// T_HOST is index 6\n// We already have this constants in LView, we don't need to re-create it.\nconst NATIVE = 7;\nconst VIEW_REFS = 8;\nconst MOVED_VIEWS = 9;\nconst DEHYDRATED_VIEWS = 10;\n/**\n * Size of LContainer's header. Represents the index after which all views in the\n * container will be inserted. We need to keep a record of current views so we know\n * which views are already in the DOM (and don't need to be re-added) and so we can\n * remove views from the DOM when they are no longer required.\n */\nconst CONTAINER_HEADER_OFFSET = 11;\n// Note: This hack is necessary so we don't erroneously get a circular dependency\n// failure based on types.\nconst unusedValueExportToPlacateAjd$3 = 1;\n\n/**\n * True if `value` is `LView`.\n * @param value wrapped value of `RNode`, `LView`, `LContainer`\n */\nfunction isLView(value) {\n return Array.isArray(value) && typeof value[TYPE] === 'object';\n}\n/**\n * True if `value` is `LContainer`.\n * @param value wrapped value of `RNode`, `LView`, `LContainer`\n */\nfunction isLContainer(value) {\n return Array.isArray(value) && value[TYPE] === true;\n}\nfunction isContentQueryHost(tNode) {\n return (tNode.flags & 4 /* TNodeFlags.hasContentQuery */) !== 0;\n}\nfunction isComponentHost(tNode) {\n return tNode.componentOffset > -1;\n}\nfunction isDirectiveHost(tNode) {\n return (tNode.flags & 1 /* TNodeFlags.isDirectiveHost */) === 1 /* TNodeFlags.isDirectiveHost */;\n}\nfunction isComponentDef(def) {\n return !!def.template;\n}\nfunction isRootView(target) {\n return (target[FLAGS] & 512 /* LViewFlags.IsRoot */) !== 0;\n}\nfunction isProjectionTNode(tNode) {\n return (tNode.type & 16 /* TNodeType.Projection */) === 16 /* TNodeType.Projection */;\n}\n\n// [Assert functions do not constraint type when they are guarded by a truthy\n// expression.](https://github.com/microsoft/TypeScript/issues/37295)\nfunction assertTNodeForLView(tNode, lView) {\n assertTNodeForTView(tNode, lView[TVIEW]);\n}\nfunction assertTNodeForTView(tNode, tView) {\n assertTNode(tNode);\n tNode.hasOwnProperty('tView_') &&\n assertEqual(tNode.tView_, tView, 'This TNode does not belong to this TView.');\n}\nfunction assertTNode(tNode) {\n assertDefined(tNode, 'TNode must be defined');\n if (!(tNode && typeof tNode === 'object' && tNode.hasOwnProperty('directiveStylingLast'))) {\n throwError('Not of type TNode, got: ' + tNode);\n }\n}\nfunction assertTIcu(tIcu) {\n assertDefined(tIcu, 'Expected TIcu to be defined');\n if (!(typeof tIcu.currentCaseLViewIndex === 'number')) {\n throwError('Object is not of TIcu type.');\n }\n}\nfunction assertComponentType(actual, msg = 'Type passed in is not ComponentType, it does not have \\'ɵcmp\\' property.') {\n if (!getComponentDef(actual)) {\n throwError(msg);\n }\n}\nfunction assertNgModuleType(actual, msg = 'Type passed in is not NgModuleType, it does not have \\'ɵmod\\' property.') {\n if (!getNgModuleDef(actual)) {\n throwError(msg);\n }\n}\nfunction assertCurrentTNodeIsParent(isParent) {\n assertEqual(isParent, true, 'currentTNode should be a parent');\n}\nfunction assertHasParent(tNode) {\n assertDefined(tNode, 'currentTNode should exist!');\n assertDefined(tNode.parent, 'currentTNode should have a parent');\n}\nfunction assertLContainer(value) {\n assertDefined(value, 'LContainer must be defined');\n assertEqual(isLContainer(value), true, 'Expecting LContainer');\n}\nfunction assertLViewOrUndefined(value) {\n value && assertEqual(isLView(value), true, 'Expecting LView or undefined or null');\n}\nfunction assertLView(value) {\n assertDefined(value, 'LView must be defined');\n assertEqual(isLView(value), true, 'Expecting LView');\n}\nfunction assertFirstCreatePass(tView, errMessage) {\n assertEqual(tView.firstCreatePass, true, errMessage || 'Should only be called in first create pass.');\n}\nfunction assertFirstUpdatePass(tView, errMessage) {\n assertEqual(tView.firstUpdatePass, true, errMessage || 'Should only be called in first update pass.');\n}\n/**\n * This is a basic sanity check that an object is probably a directive def. DirectiveDef is\n * an interface, so we can't do a direct instanceof check.\n */\nfunction assertDirectiveDef(obj) {\n if (obj.type === undefined || obj.selectors == undefined || obj.inputs === undefined) {\n throwError(`Expected a DirectiveDef/ComponentDef and this object does not seem to have the expected shape.`);\n }\n}\nfunction assertIndexInDeclRange(lView, index) {\n const tView = lView[1];\n assertBetween(HEADER_OFFSET, tView.bindingStartIndex, index);\n}\nfunction assertIndexInExpandoRange(lView, index) {\n const tView = lView[1];\n assertBetween(tView.expandoStartIndex, lView.length, index);\n}\nfunction assertBetween(lower, upper, index) {\n if (!(lower <= index && index < upper)) {\n throwError(`Index out of range (expecting ${lower} <= ${index} < ${upper})`);\n }\n}\nfunction assertProjectionSlots(lView, errMessage) {\n assertDefined(lView[DECLARATION_COMPONENT_VIEW], 'Component views should exist.');\n assertDefined(lView[DECLARATION_COMPONENT_VIEW][T_HOST].projection, errMessage ||\n 'Components with projection nodes (<ng-content>) must have projection slots defined.');\n}\nfunction assertParentView(lView, errMessage) {\n assertDefined(lView, errMessage || 'Component views should always have a parent view (component\\'s host view)');\n}\n/**\n * This is a basic sanity check that the `injectorIndex` seems to point to what looks like a\n * NodeInjector data structure.\n *\n * @param lView `LView` which should be checked.\n * @param injectorIndex index into the `LView` where the `NodeInjector` is expected.\n */\nfunction assertNodeInjector(lView, injectorIndex) {\n assertIndexInExpandoRange(lView, injectorIndex);\n assertIndexInExpandoRange(lView, injectorIndex + 8 /* NodeInjectorOffset.PARENT */);\n assertNumber(lView[injectorIndex + 0], 'injectorIndex should point to a bloom filter');\n assertNumber(lView[injectorIndex + 1], 'injectorIndex should point to a bloom filter');\n assertNumber(lView[injectorIndex + 2], 'injectorIndex should point to a bloom filter');\n assertNumber(lView[injectorIndex + 3], 'injectorIndex should point to a bloom filter');\n assertNumber(lView[injectorIndex + 4], 'injectorIndex should point to a bloom filter');\n assertNumber(lView[injectorIndex + 5], 'injectorIndex should point to a bloom filter');\n assertNumber(lView[injectorIndex + 6], 'injectorIndex should point to a bloom filter');\n assertNumber(lView[injectorIndex + 7], 'injectorIndex should point to a bloom filter');\n assertNumber(lView[injectorIndex + 8 /* NodeInjectorOffset.PARENT */], 'injectorIndex should point to parent injector');\n}\n\nfunction getFactoryDef(type, throwNotFound) {\n const hasFactoryDef = type.hasOwnProperty(NG_FACTORY_DEF);\n if (!hasFactoryDef && throwNotFound === true && ngDevMode) {\n throw new Error(`Type ${stringify(type)} does not have 'ɵfac' property.`);\n }\n return hasFactoryDef ? type[NG_FACTORY_DEF] : null;\n}\n\n/**\n * Symbol used to tell `Signal`s apart from other functions.\n *\n * This can be used to auto-unwrap signals in various cases, or to auto-wrap non-signal values.\n */\nconst SIGNAL = Symbol('SIGNAL');\n/**\n * Checks if the given `value` is a reactive `Signal`.\n *\n * @developerPreview\n */\nfunction isSignal(value) {\n return typeof value === 'function' && value[SIGNAL] !== undefined;\n}\n/**\n * Converts `fn` into a marked signal function (where `isSignal(fn)` will be `true`), and\n * potentially add some set of extra properties (passed as an object record `extraApi`).\n */\nfunction createSignalFromFunction(node, fn, extraApi = {}) {\n fn[SIGNAL] = node;\n // Copy properties from `extraApi` to `fn` to complete the desired API of the `Signal`.\n return Object.assign(fn, extraApi);\n}\n/**\n * The default equality function used for `signal` and `computed`, which treats objects and arrays\n * as never equal, and all other primitive values using identity semantics.\n *\n * This allows signals to hold non-primitive values (arrays, objects, other collections) and still\n * propagate change notification upon explicit mutation without identity change.\n *\n * @developerPreview\n */\nfunction defaultEquals(a, b) {\n // `Object.is` compares two values using identity semantics which is desired behavior for\n // primitive values. If `Object.is` determines two values to be equal we need to make sure that\n // those don't represent objects (we want to make sure that 2 objects are always considered\n // \"unequal\"). The null check is needed for the special case of JavaScript reporting null values\n // as objects (`typeof null === 'object'`).\n return (a === null || typeof a !== 'object') && Object.is(a, b);\n}\n\n// Required as the signals library is in a separate package, so we need to explicitly ensure the\n/**\n * A `WeakRef`-compatible reference that fakes the API with a strong reference\n * internally.\n */\nclass LeakyRef {\n constructor(ref) {\n this.ref = ref;\n }\n deref() {\n return this.ref;\n }\n}\n// `WeakRef` is not always defined in every TS environment where Angular is compiled. Instead,\n// read it off of the global context if available.\n// tslint:disable-next-line: no-toplevel-property-access\nlet WeakRefImpl = _global['WeakRef'] ?? LeakyRef;\nfunction newWeakRef(value) {\n if (typeof ngDevMode !== 'undefined' && ngDevMode && WeakRefImpl === undefined) {\n throw new Error(`Angular requires a browser which supports the 'WeakRef' API`);\n }\n return new WeakRefImpl(value);\n}\nfunction setAlternateWeakRefImpl(impl) {\n // no-op since the alternate impl is included by default by the framework. Remove once internal\n // migration is complete.\n}\n\n// Required as the signals library is in a separate package, so we need to explicitly ensure the\n/**\n * Counter tracking the next `ProducerId` or `ConsumerId`.\n */\nlet _nextReactiveId = 0;\n/**\n * Tracks the currently active reactive consumer (or `null` if there is no active\n * consumer).\n */\nlet activeConsumer = null;\n/**\n * Whether the graph is currently propagating change notifications.\n */\nlet inNotificationPhase = false;\nfunction setActiveConsumer(consumer) {\n const prev = activeConsumer;\n activeConsumer = consumer;\n return prev;\n}\n/**\n * A node in the reactive graph.\n *\n * Nodes can be producers of reactive values, consumers of other reactive values, or both.\n *\n * Producers are nodes that produce values, and can be depended upon by consumer nodes.\n *\n * Producers expose a monotonic `valueVersion` counter, and are responsible for incrementing this\n * version when their value semantically changes. Some producers may produce their values lazily and\n * thus at times need to be polled for potential updates to their value (and by extension their\n * `valueVersion`). This is accomplished via the `onProducerUpdateValueVersion` method for\n * implemented by producers, which should perform whatever calculations are necessary to ensure\n * `valueVersion` is up to date.\n *\n * Consumers are nodes that depend on the values of producers and are notified when those values\n * might have changed.\n *\n * Consumers do not wrap the reads they consume themselves, but rather can be set as the active\n * reader via `setActiveConsumer`. Reads of producers that happen while a consumer is active will\n * result in those producers being added as dependencies of that consumer node.\n *\n * The set of dependencies of a consumer is dynamic. Implementers expose a monotonically increasing\n * `trackingVersion` counter, which increments whenever the consumer is about to re-run any reactive\n * reads it needs and establish a new set of dependencies as a result.\n *\n * Producers store the last `trackingVersion` they've seen from `Consumer`s which have read them.\n * This allows a producer to identify whether its record of the dependency is current or stale, by\n * comparing the consumer's `trackingVersion` to the version at which the dependency was\n * last observed.\n */\nclass ReactiveNode {\n constructor() {\n this.id = _nextReactiveId++;\n /**\n * A cached weak reference to this node, which will be used in `ReactiveEdge`s.\n */\n this.ref = newWeakRef(this);\n /**\n * Edges to producers on which this node depends (in its consumer capacity).\n */\n this.producers = new Map();\n /**\n * Edges to consumers on which this node depends (in its producer capacity).\n */\n this.consumers = new Map();\n /**\n * Monotonically increasing counter representing a version of this `Consumer`'s\n * dependencies.\n */\n this.trackingVersion = 0;\n /**\n * Monotonically increasing counter which increases when the value of this `Producer`\n * semantically changes.\n */\n this.valueVersion = 0;\n }\n /**\n * Polls dependencies of a consumer to determine if they have actually changed.\n *\n * If this returns `false`, then even though the consumer may have previously been notified of a\n * change, the values of its dependencies have not actually changed and the consumer should not\n * rerun any reactions.\n */\n consumerPollProducersForChange() {\n for (const [producerId, edge] of this.producers) {\n const producer = edge.producerNode.deref();\n if (producer === undefined || edge.atTrackingVersion !== this.trackingVersion) {\n // This dependency edge is stale, so remove it.\n this.producers.delete(producerId);\n producer?.consumers.delete(this.id);\n continue;\n }\n if (producer.producerPollStatus(edge.seenValueVersion)) {\n // One of the dependencies reports a real value change.\n return true;\n }\n }\n // No dependency reported a real value change, so the `Consumer` has also not been\n // impacted.\n return false;\n }\n /**\n * Notify all consumers of this producer that its value may have changed.\n */\n producerMayHaveChanged() {\n // Prevent signal reads when we're updating the graph\n const prev = inNotificationPhase;\n inNotificationPhase = true;\n try {\n for (const [consumerId, edge] of this.consumers) {\n const consumer = edge.consumerNode.deref();\n if (consumer === undefined || consumer.trackingVersion !== edge.atTrackingVersion) {\n this.consumers.delete(consumerId);\n consumer?.producers.delete(this.id);\n continue;\n }\n consumer.onConsumerDependencyMayHaveChanged();\n }\n }\n finally {\n inNotificationPhase = prev;\n }\n }\n /**\n * Mark that this producer node has been accessed in the current reactive context.\n */\n producerAccessed() {\n if (inNotificationPhase) {\n throw new Error(typeof ngDevMode !== 'undefined' && ngDevMode ?\n `Assertion error: signal read during notification phase` :\n '');\n }\n if (activeConsumer === null) {\n return;\n }\n // Either create or update the dependency `Edge` in both directions.\n let edge = activeConsumer.producers.get(this.id);\n if (edge === undefined) {\n edge = {\n consumerNode: activeConsumer.ref,\n producerNode: this.ref,\n seenValueVersion: this.valueVersion,\n atTrackingVersion: activeConsumer.trackingVersion,\n };\n activeConsumer.producers.set(this.id, edge);\n this.consumers.set(activeConsumer.id, edge);\n }\n else {\n edge.seenValueVersion = this.valueVersion;\n edge.atTrackingVersion = activeConsumer.trackingVersion;\n }\n }\n /**\n * Whether this consumer currently has any producers registered.\n */\n get hasProducers() {\n return this.producers.size > 0;\n }\n /**\n * Whether this `ReactiveNode` in its producer capacity is currently allowed to initiate updates,\n * based on the current consumer context.\n */\n get producerUpdatesAllowed() {\n return activeConsumer?.consumerAllowSignalWrites !== false;\n }\n /**\n * Checks if a `Producer` has a current value which is different than the value\n * last seen at a specific version by a `Consumer` which recorded a dependency on\n * this `Producer`.\n */\n producerPollStatus(lastSeenValueVersion) {\n // `producer.valueVersion` may be stale, but a mismatch still means that the value\n // last seen by the `Consumer` is also stale.\n if (this.valueVersion !== lastSeenValueVersion) {\n return true;\n }\n // Trigger the `Producer` to update its `valueVersion` if necessary.\n this.onProducerUpdateValueVersion();\n // At this point, we can trust `producer.valueVersion`.\n return this.valueVersion !== lastSeenValueVersion;\n }\n}\n\n/**\n * Create a computed `Signal` which derives a reactive value from an expression.\n *\n * @developerPreview\n */\nfunction computed(computation, options) {\n const node = new ComputedImpl(computation, options?.equal ?? defaultEquals);\n // Casting here is required for g3, as TS inference behavior is slightly different between our\n // version/options and g3's.\n return createSignalFromFunction(node, node.signal.bind(node));\n}\n/**\n * A dedicated symbol used before a computed value has been calculated for the first time.\n * Explicitly typed as `any` so we can use it as signal's value.\n */\nconst UNSET = Symbol('UNSET');\n/**\n * A dedicated symbol used in place of a computed signal value to indicate that a given computation\n * is in progress. Used to detect cycles in computation chains.\n * Explicitly typed as `any` so we can use it as signal's value.\n */\nconst COMPUTING = Symbol('COMPUTING');\n/**\n * A dedicated symbol used in place of a computed signal value to indicate that a given computation\n * failed. The thrown error is cached until the computation gets dirty again.\n * Explicitly typed as `any` so we can use it as signal's value.\n */\nconst ERRORED = Symbol('ERRORED');\n/**\n * A computation, which derives a value from a declarative reactive expression.\n *\n * `Computed`s are both producers and consumers of reactivity.\n */\nclass ComputedImpl extends ReactiveNode {\n constructor(computation, equal) {\n super();\n this.computation = computation;\n this.equal = equal;\n /**\n * Current value of the computation.\n *\n * This can also be one of the special values `UNSET`, `COMPUTING`, or `ERRORED`.\n */\n this.value = UNSET;\n /**\n * If `value` is `ERRORED`, the error caught from the last computation attempt which will\n * be re-thrown.\n */\n this.error = null;\n /**\n * Flag indicating that the computation is currently stale, meaning that one of the\n * dependencies has notified of a potential change.\n *\n * It's possible that no dependency has _actually_ changed, in which case the `stale`\n * state can be resolved without recomputing the value.\n */\n this.stale = true;\n this.consumerAllowSignalWrites = false;\n }\n onConsumerDependencyMayHaveChanged() {\n if (this.stale) {\n // We've already notified consumers that this value has potentially changed.\n return;\n }\n // Record that the currently cached value may be stale.\n this.stale = true;\n // Notify any consumers about the potential change.\n this.producerMayHaveChanged();\n }\n onProducerUpdateValueVersion() {\n if (!this.stale) {\n // The current value and its version are already up to date.\n return;\n }\n // The current value is stale. Check whether we need to produce a new one.\n if (this.value !== UNSET && this.value !== COMPUTING &&\n !this.consumerPollProducersForChange()) {\n // Even though we were previously notified of a potential dependency update, all of\n // our dependencies report that they have not actually changed in value, so we can\n // resolve the stale state without needing to recompute the current value.\n this.stale = false;\n return;\n }\n // The current value is stale, and needs to be recomputed. It still may not change -\n // that depends on whether the newly computed value is equal to the old.\n this.recomputeValue();\n }\n recomputeValue() {\n if (this.value === COMPUTING) {\n // Our computation somehow led to a cyclic read of itself.\n throw new Error('Detected cycle in computations.');\n }\n const oldValue = this.value;\n this.value = COMPUTING;\n // As we're re-running the computation, update our dependent tracking version number.\n this.trackingVersion++;\n const prevConsumer = setActiveConsumer(this);\n let newValue;\n try {\n newValue = this.computation();\n }\n catch (err) {\n newValue = ERRORED;\n this.error = err;\n }\n finally {\n setActiveConsumer(prevConsumer);\n }\n this.stale = false;\n if (oldValue !== UNSET && oldValue !== ERRORED && newValue !== ERRORED &&\n this.equal(oldValue, newValue)) {\n // No change to `valueVersion` - old and new values are\n // semantically equivalent.\n this.value = oldValue;\n return;\n }\n this.value = newValue;\n this.valueVersion++;\n }\n signal() {\n // Check if the value needs updating before returning it.\n this.onProducerUpdateValueVersion();\n // Record that someone looked at this signal.\n this.producerAccessed();\n if (this.value === ERRORED) {\n throw this.error;\n }\n return this.value;\n }\n}\n\nfunction defaultThrowError() {\n throw new Error();\n}\nlet throwInvalidWriteToSignalErrorFn = defaultThrowError;\nfunction throwInvalidWriteToSignalError() {\n throwInvalidWriteToSignalErrorFn();\n}\nfunction setThrowInvalidWriteToSignalError(fn) {\n throwInvalidWriteToSignalErrorFn = fn;\n}\n\n/**\n * If set, called after `WritableSignal`s are updated.\n *\n * This hook can be used to achieve various effects, such as running effects synchronously as part\n * of setting a signal.\n */\nlet postSignalSetFn = null;\nclass WritableSignalImpl extends ReactiveNode {\n constructor(value, equal) {\n super();\n this.value = value;\n this.equal = equal;\n this.consumerAllowSignalWrites = false;\n }\n onConsumerDependencyMayHaveChanged() {\n // This never happens for writable signals as they're not consumers.\n }\n onProducerUpdateValueVersion() {\n // Writable signal value versions are always up to date.\n }\n /**\n * Directly update the value of the signal to a new value, which may or may not be\n * equal to the previous.\n *\n * In the event that `newValue` is semantically equal to the current value, `set` is\n * a no-op.\n */\n set(newValue) {\n if (!this.producerUpdatesAllowed) {\n throwInvalidWriteToSignalError();\n }\n if (!this.equal(this.value, newValue)) {\n this.value = newValue;\n this.valueVersion++;\n this.producerMayHaveChanged();\n postSignalSetFn?.();\n }\n }\n /**\n * Derive a new value for the signal from its current value using the `updater` function.\n *\n * This is equivalent to calling `set` on the result of running `updater` on the current\n * value.\n */\n update(updater) {\n if (!this.producerUpdatesAllowed) {\n throwInvalidWriteToSignalError();\n }\n this.set(updater(this.value));\n }\n /**\n * Calls `mutator` on the current value and assumes that it has been mutated.\n */\n mutate(mutator) {\n if (!this.producerUpdatesAllowed) {\n throwInvalidWriteToSignalError();\n }\n // Mutate bypasses equality checks as it's by definition changing the value.\n mutator(this.value);\n this.valueVersion++;\n this.producerMayHaveChanged();\n postSignalSetFn?.();\n }\n asReadonly() {\n if (this.readonlySignal === undefined) {\n this.readonlySignal = createSignalFromFunction(this, () => this.signal());\n }\n return this.readonlySignal;\n }\n signal() {\n this.producerAccessed();\n return this.value;\n }\n}\n/**\n * Create a `Signal` that can be set or updated directly.\n *\n * @developerPreview\n */\nfunction signal(initialValue, options) {\n const signalNode = new WritableSignalImpl(initialValue, options?.equal ?? defaultEquals);\n // Casting here is required for g3, as TS inference behavior is slightly different between our\n // version/options and g3's.\n const signalFn = createSignalFromFunction(signalNode, signalNode.signal.bind(signalNode), {\n set: signalNode.set.bind(signalNode),\n update: signalNode.update.bind(signalNode),\n mutate: signalNode.mutate.bind(signalNode),\n asReadonly: signalNode.asReadonly.bind(signalNode)\n });\n return signalFn;\n}\nfunction setPostSignalSetFn(fn) {\n const prev = postSignalSetFn;\n postSignalSetFn = fn;\n return prev;\n}\n\n/**\n * Execute an arbitrary function in a non-reactive (non-tracking) context. The executed function\n * can, optionally, return a value.\n *\n * @developerPreview\n */\nfunction untracked(nonReactiveReadsFn) {\n const prevConsumer = setActiveConsumer(null);\n // We are not trying to catch any particular errors here, just making sure that the consumers\n // stack is restored in case of errors.\n try {\n return nonReactiveReadsFn();\n }\n finally {\n setActiveConsumer(prevConsumer);\n }\n}\n\nconst NOOP_CLEANUP_FN = () => { };\n/**\n * Watches a reactive expression and allows it to be scheduled to re-run\n * when any dependencies notify of a change.\n *\n * `Watch` doesn't run reactive expressions itself, but relies on a consumer-\n * provided scheduling operation to coordinate calling `Watch.run()`.\n */\nclass Watch extends ReactiveNode {\n constructor(watch, schedule, allowSignalWrites) {\n super();\n this.watch = watch;\n this.schedule = schedule;\n this.dirty = false;\n this.cleanupFn = NOOP_CLEANUP_FN;\n this.registerOnCleanup = (cleanupFn) => {\n this.cleanupFn = cleanupFn;\n };\n this.consumerAllowSignalWrites = allowSignalWrites;\n }\n notify() {\n if (!this.dirty) {\n this.schedule(this);\n }\n this.dirty = true;\n }\n onConsumerDependencyMayHaveChanged() {\n this.notify();\n }\n onProducerUpdateValueVersion() {\n // Watches are not producers.\n }\n /**\n * Execute the reactive expression in the context of this `Watch` consumer.\n *\n * Should be called by the user scheduling algorithm when the provided\n * `schedule` hook is called by `Watch`.\n */\n run() {\n this.dirty = false;\n if (this.trackingVersion !== 0 && !this.consumerPollProducersForChange()) {\n return;\n }\n const prevConsumer = setActiveConsumer(this);\n this.trackingVersion++;\n try {\n this.cleanupFn();\n this.cleanupFn = NOOP_CLEANUP_FN;\n this.watch(this.registerOnCleanup);\n }\n finally {\n setActiveConsumer(prevConsumer);\n }\n }\n cleanup() {\n this.cleanupFn();\n }\n}\n\n/**\n * Represents a basic change from a previous to a new value for a single\n * property on a directive instance. Passed as a value in a\n * {@link SimpleChanges} object to the `ngOnChanges` hook.\n *\n * @see `OnChanges`\n *\n * @publicApi\n */\nclass SimpleChange {\n constructor(previousValue, currentValue, firstChange) {\n this.previousValue = previousValue;\n this.currentValue = currentValue;\n this.firstChange = firstChange;\n }\n /**\n * Check whether the new value is the first value assigned.\n */\n isFirstChange() {\n return this.firstChange;\n }\n}\n\n/**\n * The NgOnChangesFeature decorates a component with support for the ngOnChanges\n * lifecycle hook, so it should be included in any component that implements\n * that hook.\n *\n * If the component or directive uses inheritance, the NgOnChangesFeature MUST\n * be included as a feature AFTER {@link InheritDefinitionFeature}, otherwise\n * inherited properties will not be propagated to the ngOnChanges lifecycle\n * hook.\n *\n * Example usage:\n *\n * ```\n * static ɵcmp = defineComponent({\n * ...\n * inputs: {name: 'publicName'},\n * features: [NgOnChangesFeature]\n * });\n * ```\n *\n * @codeGenApi\n */\nfunction ɵɵNgOnChangesFeature() {\n return NgOnChangesFeatureImpl;\n}\nfunction NgOnChangesFeatureImpl(definition) {\n if (definition.type.prototype.ngOnChanges) {\n definition.setInput = ngOnChangesSetInput;\n }\n return rememberChangeHistoryAndInvokeOnChangesHook;\n}\n// This option ensures that the ngOnChanges lifecycle hook will be inherited\n// from superclasses (in InheritDefinitionFeature).\n/** @nocollapse */\n// tslint:disable-next-line:no-toplevel-property-access\nɵɵNgOnChangesFeature.ngInherit = true;\n/**\n * This is a synthetic lifecycle hook which gets inserted into `TView.preOrderHooks` to simulate\n * `ngOnChanges`.\n *\n * The hook reads the `NgSimpleChangesStore` data from the component instance and if changes are\n * found it invokes `ngOnChanges` on the component instance.\n *\n * @param this Component instance. Because this function gets inserted into `TView.preOrderHooks`,\n * it is guaranteed to be called with component instance.\n */\nfunction rememberChangeHistoryAndInvokeOnChangesHook() {\n const simpleChangesStore = getSimpleChangesStore(this);\n const current = simpleChangesStore?.current;\n if (current) {\n const previous = simpleChangesStore.previous;\n if (previous === EMPTY_OBJ) {\n simpleChangesStore.previous = current;\n }\n else {\n // New changes are copied to the previous store, so that we don't lose history for inputs\n // which were not changed this time\n for (let key in current) {\n previous[key] = current[key];\n }\n }\n simpleChangesStore.current = null;\n this.ngOnChanges(current);\n }\n}\nfunction ngOnChangesSetInput(instance, value, publicName, privateName) {\n const declaredName = this.declaredInputs[publicName];\n ngDevMode && assertString(declaredName, 'Name of input in ngOnChanges has to be a string');\n const simpleChangesStore = getSimpleChangesStore(instance) ||\n setSimpleChangesStore(instance, { previous: EMPTY_OBJ, current: null });\n const current = simpleChangesStore.current || (simpleChangesStore.current = {});\n const previous = simpleChangesStore.previous;\n const previousChange = previous[declaredName];\n current[declaredName] = new SimpleChange(previousChange && previousChange.currentValue, value, previous === EMPTY_OBJ);\n instance[privateName] = value;\n}\nconst SIMPLE_CHANGES_STORE = '__ngSimpleChanges__';\nfunction getSimpleChangesStore(instance) {\n return instance[SIMPLE_CHANGES_STORE] || null;\n}\nfunction setSimpleChangesStore(instance, store) {\n return instance[SIMPLE_CHANGES_STORE] = store;\n}\n\nlet profilerCallback = null;\n/**\n * Sets the callback function which will be invoked before and after performing certain actions at\n * runtime (for example, before and after running change detection).\n *\n * Warning: this function is *INTERNAL* and should not be relied upon in application's code.\n * The contract of the function might be changed in any release and/or the function can be removed\n * completely.\n *\n * @param profiler function provided by the caller or null value to disable profiling.\n */\nconst setProfiler = (profiler) => {\n profilerCallback = profiler;\n};\n/**\n * Profiler function which wraps user code executed by the runtime.\n *\n * @param event ProfilerEvent corresponding to the execution context\n * @param instance component instance\n * @param hookOrListener lifecycle hook function or output listener. The value depends on the\n * execution context\n * @returns\n */\nconst profiler = function (event, instance, hookOrListener) {\n if (profilerCallback != null /* both `null` and `undefined` */) {\n profilerCallback(event, instance, hookOrListener);\n }\n};\n\nconst SVG_NAMESPACE = 'svg';\nconst MATH_ML_NAMESPACE = 'math';\n\n/**\n * For efficiency reasons we often put several different data types (`RNode`, `LView`, `LContainer`)\n * in same location in `LView`. This is because we don't want to pre-allocate space for it\n * because the storage is sparse. This file contains utilities for dealing with such data types.\n *\n * How do we know what is stored at a given location in `LView`.\n * - `Array.isArray(value) === false` => `RNode` (The normal storage value)\n * - `Array.isArray(value) === true` => then the `value[0]` represents the wrapped value.\n * - `typeof value[TYPE] === 'object'` => `LView`\n * - This happens when we have a component at a given location\n * - `typeof value[TYPE] === true` => `LContainer`\n * - This happens when we have `LContainer` binding at a given location.\n *\n *\n * NOTE: it is assumed that `Array.isArray` and `typeof` operations are very efficient.\n */\n/**\n * Returns `RNode`.\n * @param value wrapped value of `RNode`, `LView`, `LContainer`\n */\nfunction unwrapRNode(value) {\n while (Array.isArray(value)) {\n value = value[HOST];\n }\n return value;\n}\n/**\n * Returns `LView` or `null` if not found.\n * @param value wrapped value of `RNode`, `LView`, `LContainer`\n */\nfunction unwrapLView(value) {\n while (Array.isArray(value)) {\n // This check is same as `isLView()` but we don't call at as we don't want to call\n // `Array.isArray()` twice and give JITer more work for inlining.\n if (typeof value[TYPE] === 'object')\n return value;\n value = value[HOST];\n }\n return null;\n}\n/**\n * Retrieves an element value from the provided `viewData`, by unwrapping\n * from any containers, component views, or style contexts.\n */\nfunction getNativeByIndex(index, lView) {\n ngDevMode && assertIndexInRange(lView, index);\n ngDevMode && assertGreaterThanOrEqual(index, HEADER_OFFSET, 'Expected to be past HEADER_OFFSET');\n return unwrapRNode(lView[index]);\n}\n/**\n * Retrieve an `RNode` for a given `TNode` and `LView`.\n *\n * This function guarantees in dev mode to retrieve a non-null `RNode`.\n *\n * @param tNode\n * @param lView\n */\nfunction getNativeByTNode(tNode, lView) {\n ngDevMode && assertTNodeForLView(tNode, lView);\n ngDevMode && assertIndexInRange(lView, tNode.index);\n const node = unwrapRNode(lView[tNode.index]);\n return node;\n}\n/**\n * Retrieve an `RNode` or `null` for a given `TNode` and `LView`.\n *\n * Some `TNode`s don't have associated `RNode`s. For example `Projection`\n *\n * @param tNode\n * @param lView\n */\nfunction getNativeByTNodeOrNull(tNode, lView) {\n const index = tNode === null ? -1 : tNode.index;\n if (index !== -1) {\n ngDevMode && assertTNodeForLView(tNode, lView);\n const node = unwrapRNode(lView[index]);\n return node;\n }\n return null;\n}\n// fixme(misko): The return Type should be `TNode|null`\nfunction getTNode(tView, index) {\n ngDevMode && assertGreaterThan(index, -1, 'wrong index for TNode');\n ngDevMode && assertLessThan(index, tView.data.length, 'wrong index for TNode');\n const tNode = tView.data[index];\n ngDevMode && tNode !== null && assertTNode(tNode);\n return tNode;\n}\n/** Retrieves a value from any `LView` or `TData`. */\nfunction load(view, index) {\n ngDevMode && assertIndexInRange(view, index);\n return view[index];\n}\nfunction getComponentLViewByIndex(nodeIndex, hostView) {\n // Could be an LView or an LContainer. If LContainer, unwrap to find LView.\n ngDevMode && assertIndexInRange(hostView, nodeIndex);\n const slotValue = hostView[nodeIndex];\n const lView = isLView(slotValue) ? slotValue : slotValue[HOST];\n return lView;\n}\n/** Checks whether a given view is in creation mode */\nfunction isCreationMode(view) {\n return (view[FLAGS] & 4 /* LViewFlags.CreationMode */) === 4 /* LViewFlags.CreationMode */;\n}\n/**\n * Returns a boolean for whether the view is attached to the change detection tree.\n *\n * Note: This determines whether a view should be checked, not whether it's inserted\n * into a container. For that, you'll want `viewAttachedToContainer` below.\n */\nfunction viewAttachedToChangeDetector(view) {\n return (view[FLAGS] & 128 /* LViewFlags.Attached */) === 128 /* LViewFlags.Attached */;\n}\n/** Returns a boolean for whether the view is attached to a container. */\nfunction viewAttachedToContainer(view) {\n return isLContainer(view[PARENT]);\n}\nfunction getConstant(consts, index) {\n if (index === null || index === undefined)\n return null;\n ngDevMode && assertIndexInRange(consts, index);\n return consts[index];\n}\n/**\n * Resets the pre-order hook flags of the view.\n * @param lView the LView on which the flags are reset\n */\nfunction resetPreOrderHookFlags(lView) {\n lView[PREORDER_HOOK_FLAGS] = 0;\n}\n/**\n * Adds the `RefreshView` flag from the lView and updates DESCENDANT_VIEWS_TO_REFRESH counters of\n * parents.\n */\nfunction markViewForRefresh(lView) {\n if ((lView[FLAGS] & 1024 /* LViewFlags.RefreshView */) === 0) {\n lView[FLAGS] |= 1024 /* LViewFlags.RefreshView */;\n updateViewsToRefresh(lView, 1);\n }\n}\n/**\n * Removes the `RefreshView` flag from the lView and updates DESCENDANT_VIEWS_TO_REFRESH counters of\n * parents.\n */\nfunction clearViewRefreshFlag(lView) {\n if (lView[FLAGS] & 1024 /* LViewFlags.RefreshView */) {\n lView[FLAGS] &= ~1024 /* LViewFlags.RefreshView */;\n updateViewsToRefresh(lView, -1);\n }\n}\n/**\n * Updates the `DESCENDANT_VIEWS_TO_REFRESH` counter on the parents of the `LView` as well as the\n * parents above that whose\n * 1. counter goes from 0 to 1, indicating that there is a new child that has a view to refresh\n * or\n * 2. counter goes from 1 to 0, indicating there are no more descendant views to refresh\n */\nfunction updateViewsToRefresh(lView, amount) {\n let parent = lView[PARENT];\n if (parent === null) {\n return;\n }\n parent[DESCENDANT_VIEWS_TO_REFRESH] += amount;\n let viewOrContainer = parent;\n parent = parent[PARENT];\n while (parent !== null &&\n ((amount === 1 && viewOrContainer[DESCENDANT_VIEWS_TO_REFRESH] === 1) ||\n (amount === -1 && viewOrContainer[DESCENDANT_VIEWS_TO_REFRESH] === 0))) {\n parent[DESCENDANT_VIEWS_TO_REFRESH] += amount;\n viewOrContainer = parent;\n parent = parent[PARENT];\n }\n}\n/**\n * Stores a LView-specific destroy callback.\n */\nfunction storeLViewOnDestroy(lView, onDestroyCallback) {\n if ((lView[FLAGS] & 256 /* LViewFlags.Destroyed */) === 256 /* LViewFlags.Destroyed */) {\n throw new RuntimeError(911 /* RuntimeErrorCode.VIEW_ALREADY_DESTROYED */, ngDevMode && 'View has already been destroyed.');\n }\n if (lView[ON_DESTROY_HOOKS] === null) {\n lView[ON_DESTROY_HOOKS] = [];\n }\n lView[ON_DESTROY_HOOKS].push(onDestroyCallback);\n}\n/**\n * Removes previously registered LView-specific destroy callback.\n */\nfunction removeLViewOnDestroy(lView, onDestroyCallback) {\n if (lView[ON_DESTROY_HOOKS] === null)\n return;\n const destroyCBIdx = lView[ON_DESTROY_HOOKS].indexOf(onDestroyCallback);\n if (destroyCBIdx !== -1) {\n lView[ON_DESTROY_HOOKS].splice(destroyCBIdx, 1);\n }\n}\n\nconst instructionState = {\n lFrame: createLFrame(null),\n bindingsEnabled: true,\n skipHydrationRootTNode: null,\n};\n/**\n * In this mode, any changes in bindings will throw an ExpressionChangedAfterChecked error.\n *\n * Necessary to support ChangeDetectorRef.checkNoChanges().\n *\n * The `checkNoChanges` function is invoked only in ngDevMode=true and verifies that no unintended\n * changes exist in the change detector or its children.\n */\nlet _isInCheckNoChangesMode = false;\n/**\n * Returns true if the instruction state stack is empty.\n *\n * Intended to be called from tests only (tree shaken otherwise).\n */\nfunction specOnlyIsInstructionStateEmpty() {\n return instructionState.lFrame.parent === null;\n}\nfunction getElementDepthCount() {\n return instructionState.lFrame.elementDepthCount;\n}\nfunction increaseElementDepthCount() {\n instructionState.lFrame.elementDepthCount++;\n}\nfunction decreaseElementDepthCount() {\n instructionState.lFrame.elementDepthCount--;\n}\nfunction getBindingsEnabled() {\n return instructionState.bindingsEnabled;\n}\n/**\n * Returns true if currently inside a skip hydration block.\n * @returns boolean\n */\nfunction isInSkipHydrationBlock$1() {\n return instructionState.skipHydrationRootTNode !== null;\n}\n/**\n * Returns true if this is the root TNode of the skip hydration block.\n * @param tNode the current TNode\n * @returns boolean\n */\nfunction isSkipHydrationRootTNode(tNode) {\n return instructionState.skipHydrationRootTNode === tNode;\n}\n/**\n * Enables directive matching on elements.\n *\n * * Example:\n * ```\n * <my-comp my-directive>\n * Should match component / directive.\n * </my-comp>\n * <div ngNonBindable>\n * <!-- ɵɵdisableBindings() -->\n * <my-comp my-directive>\n * Should not match component / directive because we are in ngNonBindable.\n * </my-comp>\n * <!-- ɵɵenableBindings() -->\n * </div>\n * ```\n *\n * @codeGenApi\n */\nfunction ɵɵenableBindings() {\n instructionState.bindingsEnabled = true;\n}\n/**\n * Sets a flag to specify that the TNode is in a skip hydration block.\n * @param tNode the current TNode\n */\nfunction enterSkipHydrationBlock(tNode) {\n instructionState.skipHydrationRootTNode = tNode;\n}\n/**\n * Disables directive matching on element.\n *\n * * Example:\n * ```\n * <my-comp my-directive>\n * Should match component / directive.\n * </my-comp>\n * <div ngNonBindable>\n * <!-- ɵɵdisableBindings() -->\n * <my-comp my-directive>\n * Should not match component / directive because we are in ngNonBindable.\n * </my-comp>\n * <!-- ɵɵenableBindings() -->\n * </div>\n * ```\n *\n * @codeGenApi\n */\nfunction ɵɵdisableBindings() {\n instructionState.bindingsEnabled = false;\n}\n/**\n * Clears the root skip hydration node when leaving a skip hydration block.\n */\nfunction leaveSkipHydrationBlock() {\n instructionState.skipHydrationRootTNode = null;\n}\n/**\n * Return the current `LView`.\n */\nfunction getLView() {\n return instructionState.lFrame.lView;\n}\n/**\n * Return the current `TView`.\n */\nfunction getTView() {\n return instructionState.lFrame.tView;\n}\n/**\n * Restores `contextViewData` to the given OpaqueViewState instance.\n *\n * Used in conjunction with the getCurrentView() instruction to save a snapshot\n * of the current view and restore it when listeners are invoked. This allows\n * walking the declaration view tree in listeners to get vars from parent views.\n *\n * @param viewToRestore The OpaqueViewState instance to restore.\n * @returns Context of the restored OpaqueViewState instance.\n *\n * @codeGenApi\n */\nfunction ɵɵrestoreView(viewToRestore) {\n instructionState.lFrame.contextLView = viewToRestore;\n return viewToRestore[CONTEXT];\n}\n/**\n * Clears the view set in `ɵɵrestoreView` from memory. Returns the passed in\n * value so that it can be used as a return value of an instruction.\n *\n * @codeGenApi\n */\nfunction ɵɵresetView(value) {\n instructionState.lFrame.contextLView = null;\n return value;\n}\nfunction getCurrentTNode() {\n let currentTNode = getCurrentTNodePlaceholderOk();\n while (currentTNode !== null && currentTNode.type === 64 /* TNodeType.Placeholder */) {\n currentTNode = currentTNode.parent;\n }\n return currentTNode;\n}\nfunction getCurrentTNodePlaceholderOk() {\n return instructionState.lFrame.currentTNode;\n}\nfunction getCurrentParentTNode() {\n const lFrame = instructionState.lFrame;\n const currentTNode = lFrame.currentTNode;\n return lFrame.isParent ? currentTNode : currentTNode.parent;\n}\nfunction setCurrentTNode(tNode, isParent) {\n ngDevMode && tNode && assertTNodeForTView(tNode, instructionState.lFrame.tView);\n const lFrame = instructionState.lFrame;\n lFrame.currentTNode = tNode;\n lFrame.isParent = isParent;\n}\nfunction isCurrentTNodeParent() {\n return instructionState.lFrame.isParent;\n}\nfunction setCurrentTNodeAsNotParent() {\n instructionState.lFrame.isParent = false;\n}\nfunction getContextLView() {\n const contextLView = instructionState.lFrame.contextLView;\n ngDevMode && assertDefined(contextLView, 'contextLView must be defined.');\n return contextLView;\n}\nfunction isInCheckNoChangesMode() {\n !ngDevMode && throwError('Must never be called in production mode');\n return _isInCheckNoChangesMode;\n}\nfunction setIsInCheckNoChangesMode(mode) {\n !ngDevMode && throwError('Must never be called in production mode');\n _isInCheckNoChangesMode = mode;\n}\n// top level variables should not be exported for performance reasons (PERF_NOTES.md)\nfunction getBindingRoot() {\n const lFrame = instructionState.lFrame;\n let index = lFrame.bindingRootIndex;\n if (index === -1) {\n index = lFrame.bindingRootIndex = lFrame.tView.bindingStartIndex;\n }\n return index;\n}\nfunction getBindingIndex() {\n return instructionState.lFrame.bindingIndex;\n}\nfunction setBindingIndex(value) {\n return instructionState.lFrame.bindingIndex = value;\n}\nfunction nextBindingIndex() {\n return instructionState.lFrame.bindingIndex++;\n}\nfunction incrementBindingIndex(count) {\n const lFrame = instructionState.lFrame;\n const index = lFrame.bindingIndex;\n lFrame.bindingIndex = lFrame.bindingIndex + count;\n return index;\n}\nfunction isInI18nBlock() {\n return instructionState.lFrame.inI18n;\n}\nfunction setInI18nBlock(isInI18nBlock) {\n instructionState.lFrame.inI18n = isInI18nBlock;\n}\n/**\n * Set a new binding root index so that host template functions can execute.\n *\n * Bindings inside the host template are 0 index. But because we don't know ahead of time\n * how many host bindings we have we can't pre-compute them. For this reason they are all\n * 0 index and we just shift the root so that they match next available location in the LView.\n *\n * @param bindingRootIndex Root index for `hostBindings`\n * @param currentDirectiveIndex `TData[currentDirectiveIndex]` will point to the current directive\n * whose `hostBindings` are being processed.\n */\nfunction setBindingRootForHostBindings(bindingRootIndex, currentDirectiveIndex) {\n const lFrame = instructionState.lFrame;\n lFrame.bindingIndex = lFrame.bindingRootIndex = bindingRootIndex;\n setCurrentDirectiveIndex(currentDirectiveIndex);\n}\n/**\n * When host binding is executing this points to the directive index.\n * `TView.data[getCurrentDirectiveIndex()]` is `DirectiveDef`\n * `LView[getCurrentDirectiveIndex()]` is directive instance.\n */\nfunction getCurrentDirectiveIndex() {\n return instructionState.lFrame.currentDirectiveIndex;\n}\n/**\n * Sets an index of a directive whose `hostBindings` are being processed.\n *\n * @param currentDirectiveIndex `TData` index where current directive instance can be found.\n */\nfunction setCurrentDirectiveIndex(currentDirectiveIndex) {\n instructionState.lFrame.currentDirectiveIndex = currentDirectiveIndex;\n}\n/**\n * Retrieve the current `DirectiveDef` which is active when `hostBindings` instruction is being\n * executed.\n *\n * @param tData Current `TData` where the `DirectiveDef` will be looked up at.\n */\nfunction getCurrentDirectiveDef(tData) {\n const currentDirectiveIndex = instructionState.lFrame.currentDirectiveIndex;\n return currentDirectiveIndex === -1 ? null : tData[currentDirectiveIndex];\n}\nfunction getCurrentQueryIndex() {\n return instructionState.lFrame.currentQueryIndex;\n}\nfunction setCurrentQueryIndex(value) {\n instructionState.lFrame.currentQueryIndex = value;\n}\n/**\n * Returns a `TNode` of the location where the current `LView` is declared at.\n *\n * @param lView an `LView` that we want to find parent `TNode` for.\n */\nfunction getDeclarationTNode(lView) {\n const tView = lView[TVIEW];\n // Return the declaration parent for embedded views\n if (tView.type === 2 /* TViewType.Embedded */) {\n ngDevMode && assertDefined(tView.declTNode, 'Embedded TNodes should have declaration parents.');\n return tView.declTNode;\n }\n // Components don't have `TView.declTNode` because each instance of component could be\n // inserted in different location, hence `TView.declTNode` is meaningless.\n // Falling back to `T_HOST` in case we cross component boundary.\n if (tView.type === 1 /* TViewType.Component */) {\n return lView[T_HOST];\n }\n // Remaining TNode type is `TViewType.Root` which doesn't have a parent TNode.\n return null;\n}\n/**\n * This is a light weight version of the `enterView` which is needed by the DI system.\n *\n * @param lView `LView` location of the DI context.\n * @param tNode `TNode` for DI context\n * @param flags DI context flags. if `SkipSelf` flag is set than we walk up the declaration\n * tree from `tNode` until we find parent declared `TElementNode`.\n * @returns `true` if we have successfully entered DI associated with `tNode` (or with declared\n * `TNode` if `flags` has `SkipSelf`). Failing to enter DI implies that no associated\n * `NodeInjector` can be found and we should instead use `ModuleInjector`.\n * - If `true` than this call must be fallowed by `leaveDI`\n * - If `false` than this call failed and we should NOT call `leaveDI`\n */\nfunction enterDI(lView, tNode, flags) {\n ngDevMode && assertLViewOrUndefined(lView);\n if (flags & InjectFlags.SkipSelf) {\n ngDevMode && assertTNodeForTView(tNode, lView[TVIEW]);\n let parentTNode = tNode;\n let parentLView = lView;\n while (true) {\n ngDevMode && assertDefined(parentTNode, 'Parent TNode should be defined');\n parentTNode = parentTNode.parent;\n if (parentTNode === null && !(flags & InjectFlags.Host)) {\n parentTNode = getDeclarationTNode(parentLView);\n if (parentTNode === null)\n break;\n // In this case, a parent exists and is definitely an element. So it will definitely\n // have an existing lView as the declaration view, which is why we can assume it's defined.\n ngDevMode && assertDefined(parentLView, 'Parent LView should be defined');\n parentLView = parentLView[DECLARATION_VIEW];\n // In Ivy there are Comment nodes that correspond to ngIf and NgFor embedded directives\n // We want to skip those and look only at Elements and ElementContainers to ensure\n // we're looking at true parent nodes, and not content or other types.\n if (parentTNode.type & (2 /* TNodeType.Element */ | 8 /* TNodeType.ElementContainer */)) {\n break;\n }\n }\n else {\n break;\n }\n }\n if (parentTNode === null) {\n // If we failed to find a parent TNode this means that we should use module injector.\n return false;\n }\n else {\n tNode = parentTNode;\n lView = parentLView;\n }\n }\n ngDevMode && assertTNodeForLView(tNode, lView);\n const lFrame = instructionState.lFrame = allocLFrame();\n lFrame.currentTNode = tNode;\n lFrame.lView = lView;\n return true;\n}\n/**\n * Swap the current lView with a new lView.\n *\n * For performance reasons we store the lView in the top level of the module.\n * This way we minimize the number of properties to read. Whenever a new view\n * is entered we have to store the lView for later, and when the view is\n * exited the state has to be restored\n *\n * @param newView New lView to become active\n * @returns the previously active lView;\n */\nfunction enterView(newView) {\n ngDevMode && assertNotEqual(newView[0], newView[1], '????');\n ngDevMode && assertLViewOrUndefined(newView);\n const newLFrame = allocLFrame();\n if (ngDevMode) {\n assertEqual(newLFrame.isParent, true, 'Expected clean LFrame');\n assertEqual(newLFrame.lView, null, 'Expected clean LFrame');\n assertEqual(newLFrame.tView, null, 'Expected clean LFrame');\n assertEqual(newLFrame.selectedIndex, -1, 'Expected clean LFrame');\n assertEqual(newLFrame.elementDepthCount, 0, 'Expected clean LFrame');\n assertEqual(newLFrame.currentDirectiveIndex, -1, 'Expected clean LFrame');\n assertEqual(newLFrame.currentNamespace, null, 'Expected clean LFrame');\n assertEqual(newLFrame.bindingRootIndex, -1, 'Expected clean LFrame');\n assertEqual(newLFrame.currentQueryIndex, 0, 'Expected clean LFrame');\n }\n const tView = newView[TVIEW];\n instructionState.lFrame = newLFrame;\n ngDevMode && tView.firstChild && assertTNodeForTView(tView.firstChild, tView);\n newLFrame.currentTNode = tView.firstChild;\n newLFrame.lView = newView;\n newLFrame.tView = tView;\n newLFrame.contextLView = newView;\n newLFrame.bindingIndex = tView.bindingStartIndex;\n newLFrame.inI18n = false;\n}\n/**\n * Allocates next free LFrame. This function tries to reuse the `LFrame`s to lower memory pressure.\n */\nfunction allocLFrame() {\n const currentLFrame = instructionState.lFrame;\n const childLFrame = currentLFrame === null ? null : currentLFrame.child;\n const newLFrame = childLFrame === null ? createLFrame(currentLFrame) : childLFrame;\n return newLFrame;\n}\nfunction createLFrame(parent) {\n const lFrame = {\n currentTNode: null,\n isParent: true,\n lView: null,\n tView: null,\n selectedIndex: -1,\n contextLView: null,\n elementDepthCount: 0,\n currentNamespace: null,\n currentDirectiveIndex: -1,\n bindingRootIndex: -1,\n bindingIndex: -1,\n currentQueryIndex: 0,\n parent: parent,\n child: null,\n inI18n: false,\n };\n parent !== null && (parent.child = lFrame); // link the new LFrame for reuse.\n return lFrame;\n}\n/**\n * A lightweight version of leave which is used with DI.\n *\n * This function only resets `currentTNode` and `LView` as those are the only properties\n * used with DI (`enterDI()`).\n *\n * NOTE: This function is reexported as `leaveDI`. However `leaveDI` has return type of `void` where\n * as `leaveViewLight` has `LFrame`. This is so that `leaveViewLight` can be used in `leaveView`.\n */\nfunction leaveViewLight() {\n const oldLFrame = instructionState.lFrame;\n instructionState.lFrame = oldLFrame.parent;\n oldLFrame.currentTNode = null;\n oldLFrame.lView = null;\n return oldLFrame;\n}\n/**\n * This is a lightweight version of the `leaveView` which is needed by the DI system.\n *\n * NOTE: this function is an alias so that we can change the type of the function to have `void`\n * return type.\n */\nconst leaveDI = leaveViewLight;\n/**\n * Leave the current `LView`\n *\n * This pops the `LFrame` with the associated `LView` from the stack.\n *\n * IMPORTANT: We must zero out the `LFrame` values here otherwise they will be retained. This is\n * because for performance reasons we don't release `LFrame` but rather keep it for next use.\n */\nfunction leaveView() {\n const oldLFrame = leaveViewLight();\n oldLFrame.isParent = true;\n oldLFrame.tView = null;\n oldLFrame.selectedIndex = -1;\n oldLFrame.contextLView = null;\n oldLFrame.elementDepthCount = 0;\n oldLFrame.currentDirectiveIndex = -1;\n oldLFrame.currentNamespace = null;\n oldLFrame.bindingRootIndex = -1;\n oldLFrame.bindingIndex = -1;\n oldLFrame.currentQueryIndex = 0;\n}\nfunction nextContextImpl(level) {\n const contextLView = instructionState.lFrame.contextLView =\n walkUpViews(level, instructionState.lFrame.contextLView);\n return contextLView[CONTEXT];\n}\nfunction walkUpViews(nestingLevel, currentView) {\n while (nestingLevel > 0) {\n ngDevMode &&\n assertDefined(currentView[DECLARATION_VIEW], 'Declaration view should be defined if nesting level is greater than 0.');\n currentView = currentView[DECLARATION_VIEW];\n nestingLevel--;\n }\n return currentView;\n}\n/**\n * Gets the currently selected element index.\n *\n * Used with {@link property} instruction (and more in the future) to identify the index in the\n * current `LView` to act on.\n */\nfunction getSelectedIndex() {\n return instructionState.lFrame.selectedIndex;\n}\n/**\n * Sets the most recent index passed to {@link select}\n *\n * Used with {@link property} instruction (and more in the future) to identify the index in the\n * current `LView` to act on.\n *\n * (Note that if an \"exit function\" was set earlier (via `setElementExitFn()`) then that will be\n * run if and when the provided `index` value is different from the current selected index value.)\n */\nfunction setSelectedIndex(index) {\n ngDevMode && index !== -1 &&\n assertGreaterThanOrEqual(index, HEADER_OFFSET, 'Index must be past HEADER_OFFSET (or -1).');\n ngDevMode &&\n assertLessThan(index, instructionState.lFrame.lView.length, 'Can\\'t set index passed end of LView');\n instructionState.lFrame.selectedIndex = index;\n}\n/**\n * Gets the `tNode` that represents currently selected element.\n */\nfunction getSelectedTNode() {\n const lFrame = instructionState.lFrame;\n return getTNode(lFrame.tView, lFrame.selectedIndex);\n}\n/**\n * Sets the namespace used to create elements to `'http://www.w3.org/2000/svg'` in global state.\n *\n * @codeGenApi\n */\nfunction ɵɵnamespaceSVG() {\n instructionState.lFrame.currentNamespace = SVG_NAMESPACE;\n}\n/**\n * Sets the namespace used to create elements to `'http://www.w3.org/1998/MathML/'` in global state.\n *\n * @codeGenApi\n */\nfunction ɵɵnamespaceMathML() {\n instructionState.lFrame.currentNamespace = MATH_ML_NAMESPACE;\n}\n/**\n * Sets the namespace used to create elements to `null`, which forces element creation to use\n * `createElement` rather than `createElementNS`.\n *\n * @codeGenApi\n */\nfunction ɵɵnamespaceHTML() {\n namespaceHTMLInternal();\n}\n/**\n * Sets the namespace used to create elements to `null`, which forces element creation to use\n * `createElement` rather than `createElementNS`.\n */\nfunction namespaceHTMLInternal() {\n instructionState.lFrame.currentNamespace = null;\n}\nfunction getNamespace$1() {\n return instructionState.lFrame.currentNamespace;\n}\nlet _wasLastNodeCreated = true;\n/**\n * Retrieves a global flag that indicates whether the most recent DOM node\n * was created or hydrated.\n */\nfunction wasLastNodeCreated() {\n return _wasLastNodeCreated;\n}\n/**\n * Sets a global flag to indicate whether the most recent DOM node\n * was created or hydrated.\n */\nfunction lastNodeWasCreated(flag) {\n _wasLastNodeCreated = flag;\n}\n\n/**\n * Adds all directive lifecycle hooks from the given `DirectiveDef` to the given `TView`.\n *\n * Must be run *only* on the first template pass.\n *\n * Sets up the pre-order hooks on the provided `tView`,\n * see {@link HookData} for details about the data structure.\n *\n * @param directiveIndex The index of the directive in LView\n * @param directiveDef The definition containing the hooks to setup in tView\n * @param tView The current TView\n */\nfunction registerPreOrderHooks(directiveIndex, directiveDef, tView) {\n ngDevMode && assertFirstCreatePass(tView);\n const { ngOnChanges, ngOnInit, ngDoCheck } = directiveDef.type.prototype;\n if (ngOnChanges) {\n const wrappedOnChanges = NgOnChangesFeatureImpl(directiveDef);\n (tView.preOrderHooks ??= []).push(directiveIndex, wrappedOnChanges);\n (tView.preOrderCheckHooks ??= []).push(directiveIndex, wrappedOnChanges);\n }\n if (ngOnInit) {\n (tView.preOrderHooks ??= []).push(0 - directiveIndex, ngOnInit);\n }\n if (ngDoCheck) {\n (tView.preOrderHooks ??= []).push(directiveIndex, ngDoCheck);\n (tView.preOrderCheckHooks ??= []).push(directiveIndex, ngDoCheck);\n }\n}\n/**\n *\n * Loops through the directives on the provided `tNode` and queues hooks to be\n * run that are not initialization hooks.\n *\n * Should be executed during `elementEnd()` and similar to\n * preserve hook execution order. Content, view, and destroy hooks for projected\n * components and directives must be called *before* their hosts.\n *\n * Sets up the content, view, and destroy hooks on the provided `tView`,\n * see {@link HookData} for details about the data structure.\n *\n * NOTE: This does not set up `onChanges`, `onInit` or `doCheck`, those are set up\n * separately at `elementStart`.\n *\n * @param tView The current TView\n * @param tNode The TNode whose directives are to be searched for hooks to queue\n */\nfunction registerPostOrderHooks(tView, tNode) {\n ngDevMode && assertFirstCreatePass(tView);\n // It's necessary to loop through the directives at elementEnd() (rather than processing in\n // directiveCreate) so we can preserve the current hook order. Content, view, and destroy\n // hooks for projected components and directives must be called *before* their hosts.\n for (let i = tNode.directiveStart, end = tNode.directiveEnd; i < end; i++) {\n const directiveDef = tView.data[i];\n ngDevMode && assertDefined(directiveDef, 'Expecting DirectiveDef');\n const lifecycleHooks = directiveDef.type.prototype;\n const { ngAfterContentInit, ngAfterContentChecked, ngAfterViewInit, ngAfterViewChecked, ngOnDestroy } = lifecycleHooks;\n if (ngAfterContentInit) {\n (tView.contentHooks ??= []).push(-i, ngAfterContentInit);\n }\n if (ngAfterContentChecked) {\n (tView.contentHooks ??= []).push(i, ngAfterContentChecked);\n (tView.contentCheckHooks ??= []).push(i, ngAfterContentChecked);\n }\n if (ngAfterViewInit) {\n (tView.viewHooks ??= []).push(-i, ngAfterViewInit);\n }\n if (ngAfterViewChecked) {\n (tView.viewHooks ??= []).push(i, ngAfterViewChecked);\n (tView.viewCheckHooks ??= []).push(i, ngAfterViewChecked);\n }\n if (ngOnDestroy != null) {\n (tView.destroyHooks ??= []).push(i, ngOnDestroy);\n }\n }\n}\n/**\n * Executing hooks requires complex logic as we need to deal with 2 constraints.\n *\n * 1. Init hooks (ngOnInit, ngAfterContentInit, ngAfterViewInit) must all be executed once and only\n * once, across many change detection cycles. This must be true even if some hooks throw, or if\n * some recursively trigger a change detection cycle.\n * To solve that, it is required to track the state of the execution of these init hooks.\n * This is done by storing and maintaining flags in the view: the {@link InitPhaseState},\n * and the index within that phase. They can be seen as a cursor in the following structure:\n * [[onInit1, onInit2], [afterContentInit1], [afterViewInit1, afterViewInit2, afterViewInit3]]\n * They are are stored as flags in LView[FLAGS].\n *\n * 2. Pre-order hooks can be executed in batches, because of the select instruction.\n * To be able to pause and resume their execution, we also need some state about the hook's array\n * that is being processed:\n * - the index of the next hook to be executed\n * - the number of init hooks already found in the processed part of the array\n * They are are stored as flags in LView[PREORDER_HOOK_FLAGS].\n */\n/**\n * Executes pre-order check hooks ( OnChanges, DoChanges) given a view where all the init hooks were\n * executed once. This is a light version of executeInitAndCheckPreOrderHooks where we can skip read\n * / write of the init-hooks related flags.\n * @param lView The LView where hooks are defined\n * @param hooks Hooks to be run\n * @param nodeIndex 3 cases depending on the value:\n * - undefined: all hooks from the array should be executed (post-order case)\n * - null: execute hooks only from the saved index until the end of the array (pre-order case, when\n * flushing the remaining hooks)\n * - number: execute hooks only from the saved index until that node index exclusive (pre-order\n * case, when executing select(number))\n */\nfunction executeCheckHooks(lView, hooks, nodeIndex) {\n callHooks(lView, hooks, 3 /* InitPhaseState.InitPhaseCompleted */, nodeIndex);\n}\n/**\n * Executes post-order init and check hooks (one of AfterContentInit, AfterContentChecked,\n * AfterViewInit, AfterViewChecked) given a view where there are pending init hooks to be executed.\n * @param lView The LView where hooks are defined\n * @param hooks Hooks to be run\n * @param initPhase A phase for which hooks should be run\n * @param nodeIndex 3 cases depending on the value:\n * - undefined: all hooks from the array should be executed (post-order case)\n * - null: execute hooks only from the saved index until the end of the array (pre-order case, when\n * flushing the remaining hooks)\n * - number: execute hooks only from the saved index until that node index exclusive (pre-order\n * case, when executing select(number))\n */\nfunction executeInitAndCheckHooks(lView, hooks, initPhase, nodeIndex) {\n ngDevMode &&\n assertNotEqual(initPhase, 3 /* InitPhaseState.InitPhaseCompleted */, 'Init pre-order hooks should not be called more than once');\n if ((lView[FLAGS] & 3 /* LViewFlags.InitPhaseStateMask */) === initPhase) {\n callHooks(lView, hooks, initPhase, nodeIndex);\n }\n}\nfunction incrementInitPhaseFlags(lView, initPhase) {\n ngDevMode &&\n assertNotEqual(initPhase, 3 /* InitPhaseState.InitPhaseCompleted */, 'Init hooks phase should not be incremented after all init hooks have been run.');\n let flags = lView[FLAGS];\n if ((flags & 3 /* LViewFlags.InitPhaseStateMask */) === initPhase) {\n flags &= 4095 /* LViewFlags.IndexWithinInitPhaseReset */;\n flags += 1 /* LViewFlags.InitPhaseStateIncrementer */;\n lView[FLAGS] = flags;\n }\n}\n/**\n * Calls lifecycle hooks with their contexts, skipping init hooks if it's not\n * the first LView pass\n *\n * @param currentView The current view\n * @param arr The array in which the hooks are found\n * @param initPhaseState the current state of the init phase\n * @param currentNodeIndex 3 cases depending on the value:\n * - undefined: all hooks from the array should be executed (post-order case)\n * - null: execute hooks only from the saved index until the end of the array (pre-order case, when\n * flushing the remaining hooks)\n * - number: execute hooks only from the saved index until that node index exclusive (pre-order\n * case, when executing select(number))\n */\nfunction callHooks(currentView, arr, initPhase, currentNodeIndex) {\n ngDevMode &&\n assertEqual(isInCheckNoChangesMode(), false, 'Hooks should never be run when in check no changes mode.');\n const startIndex = currentNodeIndex !== undefined ?\n (currentView[PREORDER_HOOK_FLAGS] & 65535 /* PreOrderHookFlags.IndexOfTheNextPreOrderHookMaskMask */) :\n 0;\n const nodeIndexLimit = currentNodeIndex != null ? currentNodeIndex : -1;\n const max = arr.length - 1; // Stop the loop at length - 1, because we look for the hook at i + 1\n let lastNodeIndexFound = 0;\n for (let i = startIndex; i < max; i++) {\n const hook = arr[i + 1];\n if (typeof hook === 'number') {\n lastNodeIndexFound = arr[i];\n if (currentNodeIndex != null && lastNodeIndexFound >= currentNodeIndex) {\n break;\n }\n }\n else {\n const isInitHook = arr[i] < 0;\n if (isInitHook) {\n currentView[PREORDER_HOOK_FLAGS] += 65536 /* PreOrderHookFlags.NumberOfInitHooksCalledIncrementer */;\n }\n if (lastNodeIndexFound < nodeIndexLimit || nodeIndexLimit == -1) {\n callHook(currentView, initPhase, arr, i);\n currentView[PREORDER_HOOK_FLAGS] =\n (currentView[PREORDER_HOOK_FLAGS] & 4294901760 /* PreOrderHookFlags.NumberOfInitHooksCalledMask */) + i +\n 2;\n }\n i++;\n }\n }\n}\n/**\n * Executes a single lifecycle hook, making sure that:\n * - it is called in the non-reactive context;\n * - profiling data are registered.\n */\nfunction callHookInternal(directive, hook) {\n profiler(4 /* ProfilerEvent.LifecycleHookStart */, directive, hook);\n const prevConsumer = setActiveConsumer(null);\n try {\n hook.call(directive);\n }\n finally {\n setActiveConsumer(prevConsumer);\n profiler(5 /* ProfilerEvent.LifecycleHookEnd */, directive, hook);\n }\n}\n/**\n * Execute one hook against the current `LView`.\n *\n * @param currentView The current view\n * @param initPhaseState the current state of the init phase\n * @param arr The array in which the hooks are found\n * @param i The current index within the hook data array\n */\nfunction callHook(currentView, initPhase, arr, i) {\n const isInitHook = arr[i] < 0;\n const hook = arr[i + 1];\n const directiveIndex = isInitHook ? -arr[i] : arr[i];\n const directive = currentView[directiveIndex];\n if (isInitHook) {\n const indexWithintInitPhase = currentView[FLAGS] >> 12 /* LViewFlags.IndexWithinInitPhaseShift */;\n // The init phase state must be always checked here as it may have been recursively updated.\n if (indexWithintInitPhase <\n (currentView[PREORDER_HOOK_FLAGS] >> 16 /* PreOrderHookFlags.NumberOfInitHooksCalledShift */) &&\n (currentView[FLAGS] & 3 /* LViewFlags.InitPhaseStateMask */) === initPhase) {\n currentView[FLAGS] += 4096 /* LViewFlags.IndexWithinInitPhaseIncrementer */;\n callHookInternal(directive, hook);\n }\n }\n else {\n callHookInternal(directive, hook);\n }\n}\n\nconst NO_PARENT_INJECTOR = -1;\n/**\n * Each injector is saved in 9 contiguous slots in `LView` and 9 contiguous slots in\n * `TView.data`. This allows us to store information about the current node's tokens (which\n * can be shared in `TView`) as well as the tokens of its ancestor nodes (which cannot be\n * shared, so they live in `LView`).\n *\n * Each of these slots (aside from the last slot) contains a bloom filter. This bloom filter\n * determines whether a directive is available on the associated node or not. This prevents us\n * from searching the directives array at this level unless it's probable the directive is in it.\n *\n * See: https://en.wikipedia.org/wiki/Bloom_filter for more about bloom filters.\n *\n * Because all injectors have been flattened into `LView` and `TViewData`, they cannot typed\n * using interfaces as they were previously. The start index of each `LInjector` and `TInjector`\n * will differ based on where it is flattened into the main array, so it's not possible to know\n * the indices ahead of time and save their types here. The interfaces are still included here\n * for documentation purposes.\n *\n * export interface LInjector extends Array<any> {\n *\n * // Cumulative bloom for directive IDs 0-31 (IDs are % BLOOM_SIZE)\n * [0]: number;\n *\n * // Cumulative bloom for directive IDs 32-63\n * [1]: number;\n *\n * // Cumulative bloom for directive IDs 64-95\n * [2]: number;\n *\n * // Cumulative bloom for directive IDs 96-127\n * [3]: number;\n *\n * // Cumulative bloom for directive IDs 128-159\n * [4]: number;\n *\n * // Cumulative bloom for directive IDs 160 - 191\n * [5]: number;\n *\n * // Cumulative bloom for directive IDs 192 - 223\n * [6]: number;\n *\n * // Cumulative bloom for directive IDs 224 - 255\n * [7]: number;\n *\n * // We need to store a reference to the injector's parent so DI can keep looking up\n * // the injector tree until it finds the dependency it's looking for.\n * [PARENT_INJECTOR]: number;\n * }\n *\n * export interface TInjector extends Array<any> {\n *\n * // Shared node bloom for directive IDs 0-31 (IDs are % BLOOM_SIZE)\n * [0]: number;\n *\n * // Shared node bloom for directive IDs 32-63\n * [1]: number;\n *\n * // Shared node bloom for directive IDs 64-95\n * [2]: number;\n *\n * // Shared node bloom for directive IDs 96-127\n * [3]: number;\n *\n * // Shared node bloom for directive IDs 128-159\n * [4]: number;\n *\n * // Shared node bloom for directive IDs 160 - 191\n * [5]: number;\n *\n * // Shared node bloom for directive IDs 192 - 223\n * [6]: number;\n *\n * // Shared node bloom for directive IDs 224 - 255\n * [7]: number;\n *\n * // Necessary to find directive indices for a particular node.\n * [TNODE]: TElementNode|TElementContainerNode|TContainerNode;\n * }\n */\n/**\n * Factory for creating instances of injectors in the NodeInjector.\n *\n * This factory is complicated by the fact that it can resolve `multi` factories as well.\n *\n * NOTE: Some of the fields are optional which means that this class has two hidden classes.\n * - One without `multi` support (most common)\n * - One with `multi` values, (rare).\n *\n * Since VMs can cache up to 4 inline hidden classes this is OK.\n *\n * - Single factory: Only `resolving` and `factory` is defined.\n * - `providers` factory: `componentProviders` is a number and `index = -1`.\n * - `viewProviders` factory: `componentProviders` is a number and `index` points to `providers`.\n */\nclass NodeInjectorFactory {\n constructor(\n /**\n * Factory to invoke in order to create a new instance.\n */\n factory, \n /**\n * Set to `true` if the token is declared in `viewProviders` (or if it is component).\n */\n isViewProvider, injectImplementation) {\n this.factory = factory;\n /**\n * Marker set to true during factory invocation to see if we get into recursive loop.\n * Recursive loop causes an error to be displayed.\n */\n this.resolving = false;\n ngDevMode && assertDefined(factory, 'Factory not specified');\n ngDevMode && assertEqual(typeof factory, 'function', 'Expected factory function.');\n this.canSeeViewProviders = isViewProvider;\n this.injectImpl = injectImplementation;\n }\n}\nfunction isFactory(obj) {\n return obj instanceof NodeInjectorFactory;\n}\n// Note: This hack is necessary so we don't erroneously get a circular dependency\n// failure based on types.\nconst unusedValueExportToPlacateAjd$2 = 1;\n\n/**\n * Converts `TNodeType` into human readable text.\n * Make sure this matches with `TNodeType`\n */\nfunction toTNodeTypeAsString(tNodeType) {\n let text = '';\n (tNodeType & 1 /* TNodeType.Text */) && (text += '|Text');\n (tNodeType & 2 /* TNodeType.Element */) && (text += '|Element');\n (tNodeType & 4 /* TNodeType.Container */) && (text += '|Container');\n (tNodeType & 8 /* TNodeType.ElementContainer */) && (text += '|ElementContainer');\n (tNodeType & 16 /* TNodeType.Projection */) && (text += '|Projection');\n (tNodeType & 32 /* TNodeType.Icu */) && (text += '|IcuContainer');\n (tNodeType & 64 /* TNodeType.Placeholder */) && (text += '|Placeholder');\n return text.length > 0 ? text.substring(1) : text;\n}\n// Note: This hack is necessary so we don't erroneously get a circular dependency\n// failure based on types.\nconst unusedValueExportToPlacateAjd$1 = 1;\n/**\n * Returns `true` if the `TNode` has a directive which has `@Input()` for `class` binding.\n *\n * ```\n * <div my-dir [class]=\"exp\"></div>\n * ```\n * and\n * ```\n * @Directive({\n * })\n * class MyDirective {\n * @Input()\n * class: string;\n * }\n * ```\n *\n * In the above case it is necessary to write the reconciled styling information into the\n * directive's input.\n *\n * @param tNode\n */\nfunction hasClassInput(tNode) {\n return (tNode.flags & 8 /* TNodeFlags.hasClassInput */) !== 0;\n}\n/**\n * Returns `true` if the `TNode` has a directive which has `@Input()` for `style` binding.\n *\n * ```\n * <div my-dir [style]=\"exp\"></div>\n * ```\n * and\n * ```\n * @Directive({\n * })\n * class MyDirective {\n * @Input()\n * class: string;\n * }\n * ```\n *\n * In the above case it is necessary to write the reconciled styling information into the\n * directive's input.\n *\n * @param tNode\n */\nfunction hasStyleInput(tNode) {\n return (tNode.flags & 16 /* TNodeFlags.hasStyleInput */) !== 0;\n}\n\nfunction assertTNodeType(tNode, expectedTypes, message) {\n assertDefined(tNode, 'should be called with a TNode');\n if ((tNode.type & expectedTypes) === 0) {\n throwError(message ||\n `Expected [${toTNodeTypeAsString(expectedTypes)}] but got ${toTNodeTypeAsString(tNode.type)}.`);\n }\n}\nfunction assertPureTNodeType(type) {\n if (!(type === 2 /* TNodeType.Element */ || //\n type === 1 /* TNodeType.Text */ || //\n type === 4 /* TNodeType.Container */ || //\n type === 8 /* TNodeType.ElementContainer */ || //\n type === 32 /* TNodeType.Icu */ || //\n type === 16 /* TNodeType.Projection */ || //\n type === 64 /* TNodeType.Placeholder */)) {\n throwError(`Expected TNodeType to have only a single type selected, but got ${toTNodeTypeAsString(type)}.`);\n }\n}\n\n/// Parent Injector Utils ///////////////////////////////////////////////////////////////\nfunction hasParentInjector(parentLocation) {\n return parentLocation !== NO_PARENT_INJECTOR;\n}\nfunction getParentInjectorIndex(parentLocation) {\n ngDevMode && assertNumber(parentLocation, 'Number expected');\n ngDevMode && assertNotEqual(parentLocation, -1, 'Not a valid state.');\n const parentInjectorIndex = parentLocation & 32767 /* RelativeInjectorLocationFlags.InjectorIndexMask */;\n ngDevMode &&\n assertGreaterThan(parentInjectorIndex, HEADER_OFFSET, 'Parent injector must be pointing past HEADER_OFFSET.');\n return parentLocation & 32767 /* RelativeInjectorLocationFlags.InjectorIndexMask */;\n}\nfunction getParentInjectorViewOffset(parentLocation) {\n return parentLocation >> 16 /* RelativeInjectorLocationFlags.ViewOffsetShift */;\n}\n/**\n * Unwraps a parent injector location number to find the view offset from the current injector,\n * then walks up the declaration view tree until the view is found that contains the parent\n * injector.\n *\n * @param location The location of the parent injector, which contains the view offset\n * @param startView The LView instance from which to start walking up the view tree\n * @returns The LView instance that contains the parent injector\n */\nfunction getParentInjectorView(location, startView) {\n let viewOffset = getParentInjectorViewOffset(location);\n let parentView = startView;\n // For most cases, the parent injector can be found on the host node (e.g. for component\n // or container), but we must keep the loop here to support the rarer case of deeply nested\n // <ng-template> tags or inline views, where the parent injector might live many views\n // above the child injector.\n while (viewOffset > 0) {\n parentView = parentView[DECLARATION_VIEW];\n viewOffset--;\n }\n return parentView;\n}\n\n/**\n * Defines if the call to `inject` should include `viewProviders` in its resolution.\n *\n * This is set to true when we try to instantiate a component. This value is reset in\n * `getNodeInjectable` to a value which matches the declaration location of the token about to be\n * instantiated. This is done so that if we are injecting a token which was declared outside of\n * `viewProviders` we don't accidentally pull `viewProviders` in.\n *\n * Example:\n *\n * ```\n * @Injectable()\n * class MyService {\n * constructor(public value: String) {}\n * }\n *\n * @Component({\n * providers: [\n * MyService,\n * {provide: String, value: 'providers' }\n * ]\n * viewProviders: [\n * {provide: String, value: 'viewProviders'}\n * ]\n * })\n * class MyComponent {\n * constructor(myService: MyService, value: String) {\n * // We expect that Component can see into `viewProviders`.\n * expect(value).toEqual('viewProviders');\n * // `MyService` was not declared in `viewProviders` hence it can't see it.\n * expect(myService.value).toEqual('providers');\n * }\n * }\n *\n * ```\n */\nlet includeViewProviders = true;\nfunction setIncludeViewProviders(v) {\n const oldValue = includeViewProviders;\n includeViewProviders = v;\n return oldValue;\n}\n/**\n * The number of slots in each bloom filter (used by DI). The larger this number, the fewer\n * directives that will share slots, and thus, the fewer false positives when checking for\n * the existence of a directive.\n */\nconst BLOOM_SIZE = 256;\nconst BLOOM_MASK = BLOOM_SIZE - 1;\n/**\n * The number of bits that is represented by a single bloom bucket. JS bit operations are 32 bits,\n * so each bucket represents 32 distinct tokens which accounts for log2(32) = 5 bits of a bloom hash\n * number.\n */\nconst BLOOM_BUCKET_BITS = 5;\n/** Counter used to generate unique IDs for directives. */\nlet nextNgElementId = 0;\n/** Value used when something wasn't found by an injector. */\nconst NOT_FOUND = {};\n/**\n * Registers this directive as present in its node's injector by flipping the directive's\n * corresponding bit in the injector's bloom filter.\n *\n * @param injectorIndex The index of the node injector where this token should be registered\n * @param tView The TView for the injector's bloom filters\n * @param type The directive token to register\n */\nfunction bloomAdd(injectorIndex, tView, type) {\n ngDevMode && assertEqual(tView.firstCreatePass, true, 'expected firstCreatePass to be true');\n let id;\n if (typeof type === 'string') {\n id = type.charCodeAt(0) || 0;\n }\n else if (type.hasOwnProperty(NG_ELEMENT_ID)) {\n id = type[NG_ELEMENT_ID];\n }\n // Set a unique ID on the directive type, so if something tries to inject the directive,\n // we can easily retrieve the ID and hash it into the bloom bit that should be checked.\n if (id == null) {\n id = type[NG_ELEMENT_ID] = nextNgElementId++;\n }\n // We only have BLOOM_SIZE (256) slots in our bloom filter (8 buckets * 32 bits each),\n // so all unique IDs must be modulo-ed into a number from 0 - 255 to fit into the filter.\n const bloomHash = id & BLOOM_MASK;\n // Create a mask that targets the specific bit associated with the directive.\n // JS bit operations are 32 bits, so this will be a number between 2^0 and 2^31, corresponding\n // to bit positions 0 - 31 in a 32 bit integer.\n const mask = 1 << bloomHash;\n // Each bloom bucket in `tData` represents `BLOOM_BUCKET_BITS` number of bits of `bloomHash`.\n // Any bits in `bloomHash` beyond `BLOOM_BUCKET_BITS` indicate the bucket offset that the mask\n // should be written to.\n tView.data[injectorIndex + (bloomHash >> BLOOM_BUCKET_BITS)] |= mask;\n}\n/**\n * Creates (or gets an existing) injector for a given element or container.\n *\n * @param tNode for which an injector should be retrieved / created.\n * @param lView View where the node is stored\n * @returns Node injector\n */\nfunction getOrCreateNodeInjectorForNode(tNode, lView) {\n const existingInjectorIndex = getInjectorIndex(tNode, lView);\n if (existingInjectorIndex !== -1) {\n return existingInjectorIndex;\n }\n const tView = lView[TVIEW];\n if (tView.firstCreatePass) {\n tNode.injectorIndex = lView.length;\n insertBloom(tView.data, tNode); // foundation for node bloom\n insertBloom(lView, null); // foundation for cumulative bloom\n insertBloom(tView.blueprint, null);\n }\n const parentLoc = getParentInjectorLocation(tNode, lView);\n const injectorIndex = tNode.injectorIndex;\n // If a parent injector can't be found, its location is set to -1.\n // In that case, we don't need to set up a cumulative bloom\n if (hasParentInjector(parentLoc)) {\n const parentIndex = getParentInjectorIndex(parentLoc);\n const parentLView = getParentInjectorView(parentLoc, lView);\n const parentData = parentLView[TVIEW].data;\n // Creates a cumulative bloom filter that merges the parent's bloom filter\n // and its own cumulative bloom (which contains tokens for all ancestors)\n for (let i = 0; i < 8 /* NodeInjectorOffset.BLOOM_SIZE */; i++) {\n lView[injectorIndex + i] = parentLView[parentIndex + i] | parentData[parentIndex + i];\n }\n }\n lView[injectorIndex + 8 /* NodeInjectorOffset.PARENT */] = parentLoc;\n return injectorIndex;\n}\nfunction insertBloom(arr, footer) {\n arr.push(0, 0, 0, 0, 0, 0, 0, 0, footer);\n}\nfunction getInjectorIndex(tNode, lView) {\n if (tNode.injectorIndex === -1 ||\n // If the injector index is the same as its parent's injector index, then the index has been\n // copied down from the parent node. No injector has been created yet on this node.\n (tNode.parent && tNode.parent.injectorIndex === tNode.injectorIndex) ||\n // After the first template pass, the injector index might exist but the parent values\n // might not have been calculated yet for this instance\n lView[tNode.injectorIndex + 8 /* NodeInjectorOffset.PARENT */] === null) {\n return -1;\n }\n else {\n ngDevMode && assertIndexInRange(lView, tNode.injectorIndex);\n return tNode.injectorIndex;\n }\n}\n/**\n * Finds the index of the parent injector, with a view offset if applicable. Used to set the\n * parent injector initially.\n *\n * @returns Returns a number that is the combination of the number of LViews that we have to go up\n * to find the LView containing the parent inject AND the index of the injector within that LView.\n */\nfunction getParentInjectorLocation(tNode, lView) {\n if (tNode.parent && tNode.parent.injectorIndex !== -1) {\n // If we have a parent `TNode` and there is an injector associated with it we are done, because\n // the parent injector is within the current `LView`.\n return tNode.parent.injectorIndex; // ViewOffset is 0\n }\n // When parent injector location is computed it may be outside of the current view. (ie it could\n // be pointing to a declared parent location). This variable stores number of declaration parents\n // we need to walk up in order to find the parent injector location.\n let declarationViewOffset = 0;\n let parentTNode = null;\n let lViewCursor = lView;\n // The parent injector is not in the current `LView`. We will have to walk the declared parent\n // `LView` hierarchy and look for it. If we walk of the top, that means that there is no parent\n // `NodeInjector`.\n while (lViewCursor !== null) {\n parentTNode = getTNodeFromLView(lViewCursor);\n if (parentTNode === null) {\n // If we have no parent, than we are done.\n return NO_PARENT_INJECTOR;\n }\n ngDevMode && parentTNode && assertTNodeForLView(parentTNode, lViewCursor[DECLARATION_VIEW]);\n // Every iteration of the loop requires that we go to the declared parent.\n declarationViewOffset++;\n lViewCursor = lViewCursor[DECLARATION_VIEW];\n if (parentTNode.injectorIndex !== -1) {\n // We found a NodeInjector which points to something.\n return (parentTNode.injectorIndex |\n (declarationViewOffset << 16 /* RelativeInjectorLocationFlags.ViewOffsetShift */));\n }\n }\n return NO_PARENT_INJECTOR;\n}\n/**\n * Makes a type or an injection token public to the DI system by adding it to an\n * injector's bloom filter.\n *\n * @param di The node injector in which a directive will be added\n * @param token The type or the injection token to be made public\n */\nfunction diPublicInInjector(injectorIndex, tView, token) {\n bloomAdd(injectorIndex, tView, token);\n}\n/**\n * Inject static attribute value into directive constructor.\n *\n * This method is used with `factory` functions which are generated as part of\n * `defineDirective` or `defineComponent`. The method retrieves the static value\n * of an attribute. (Dynamic attributes are not supported since they are not resolved\n * at the time of injection and can change over time.)\n *\n * # Example\n * Given:\n * ```\n * @Component(...)\n * class MyComponent {\n * constructor(@Attribute('title') title: string) { ... }\n * }\n * ```\n * When instantiated with\n * ```\n * <my-component title=\"Hello\"></my-component>\n * ```\n *\n * Then factory method generated is:\n * ```\n * MyComponent.ɵcmp = defineComponent({\n * factory: () => new MyComponent(injectAttribute('title'))\n * ...\n * })\n * ```\n *\n * @publicApi\n */\nfunction injectAttributeImpl(tNode, attrNameToInject) {\n ngDevMode && assertTNodeType(tNode, 12 /* TNodeType.AnyContainer */ | 3 /* TNodeType.AnyRNode */);\n ngDevMode && assertDefined(tNode, 'expecting tNode');\n if (attrNameToInject === 'class') {\n return tNode.classes;\n }\n if (attrNameToInject === 'style') {\n return tNode.styles;\n }\n const attrs = tNode.attrs;\n if (attrs) {\n const attrsLength = attrs.length;\n let i = 0;\n while (i < attrsLength) {\n const value = attrs[i];\n // If we hit a `Bindings` or `Template` marker then we are done.\n if (isNameOnlyAttributeMarker(value))\n break;\n // Skip namespaced attributes\n if (value === 0 /* AttributeMarker.NamespaceURI */) {\n // we skip the next two values\n // as namespaced attributes looks like\n // [..., AttributeMarker.NamespaceURI, 'http://someuri.com/test', 'test:exist',\n // 'existValue', ...]\n i = i + 2;\n }\n else if (typeof value === 'number') {\n // Skip to the first value of the marked attribute.\n i++;\n while (i < attrsLength && typeof attrs[i] === 'string') {\n i++;\n }\n }\n else if (value === attrNameToInject) {\n return attrs[i + 1];\n }\n else {\n i = i + 2;\n }\n }\n }\n return null;\n}\nfunction notFoundValueOrThrow(notFoundValue, token, flags) {\n if ((flags & InjectFlags.Optional) || notFoundValue !== undefined) {\n return notFoundValue;\n }\n else {\n throwProviderNotFoundError(token, 'NodeInjector');\n }\n}\n/**\n * Returns the value associated to the given token from the ModuleInjector or throws exception\n *\n * @param lView The `LView` that contains the `tNode`\n * @param token The token to look for\n * @param flags Injection flags\n * @param notFoundValue The value to return when the injection flags is `InjectFlags.Optional`\n * @returns the value from the injector or throws an exception\n */\nfunction lookupTokenUsingModuleInjector(lView, token, flags, notFoundValue) {\n if ((flags & InjectFlags.Optional) && notFoundValue === undefined) {\n // This must be set or the NullInjector will throw for optional deps\n notFoundValue = null;\n }\n if ((flags & (InjectFlags.Self | InjectFlags.Host)) === 0) {\n const moduleInjector = lView[INJECTOR$1];\n // switch to `injectInjectorOnly` implementation for module injector, since module injector\n // should not have access to Component/Directive DI scope (that may happen through\n // `directiveInject` implementation)\n const previousInjectImplementation = setInjectImplementation(undefined);\n try {\n if (moduleInjector) {\n return moduleInjector.get(token, notFoundValue, flags & InjectFlags.Optional);\n }\n else {\n return injectRootLimpMode(token, notFoundValue, flags & InjectFlags.Optional);\n }\n }\n finally {\n setInjectImplementation(previousInjectImplementation);\n }\n }\n return notFoundValueOrThrow(notFoundValue, token, flags);\n}\n/**\n * Returns the value associated to the given token from the NodeInjectors => ModuleInjector.\n *\n * Look for the injector providing the token by walking up the node injector tree and then\n * the module injector tree.\n *\n * This function patches `token` with `__NG_ELEMENT_ID__` which contains the id for the bloom\n * filter. `-1` is reserved for injecting `Injector` (implemented by `NodeInjector`)\n *\n * @param tNode The Node where the search for the injector should start\n * @param lView The `LView` that contains the `tNode`\n * @param token The token to look for\n * @param flags Injection flags\n * @param notFoundValue The value to return when the injection flags is `InjectFlags.Optional`\n * @returns the value from the injector, `null` when not found, or `notFoundValue` if provided\n */\nfunction getOrCreateInjectable(tNode, lView, token, flags = InjectFlags.Default, notFoundValue) {\n if (tNode !== null) {\n // If the view or any of its ancestors have an embedded\n // view injector, we have to look it up there first.\n if (lView[FLAGS] & 2048 /* LViewFlags.HasEmbeddedViewInjector */ &&\n // The token must be present on the current node injector when the `Self`\n // flag is set, so the lookup on embedded view injector(s) can be skipped.\n !(flags & InjectFlags.Self)) {\n const embeddedInjectorValue = lookupTokenUsingEmbeddedInjector(tNode, lView, token, flags, NOT_FOUND);\n if (embeddedInjectorValue !== NOT_FOUND) {\n return embeddedInjectorValue;\n }\n }\n // Otherwise try the node injector.\n const value = lookupTokenUsingNodeInjector(tNode, lView, token, flags, NOT_FOUND);\n if (value !== NOT_FOUND) {\n return value;\n }\n }\n // Finally, fall back to the module injector.\n return lookupTokenUsingModuleInjector(lView, token, flags, notFoundValue);\n}\n/**\n * Returns the value associated to the given token from the node injector.\n *\n * @param tNode The Node where the search for the injector should start\n * @param lView The `LView` that contains the `tNode`\n * @param token The token to look for\n * @param flags Injection flags\n * @param notFoundValue The value to return when the injection flags is `InjectFlags.Optional`\n * @returns the value from the injector, `null` when not found, or `notFoundValue` if provided\n */\nfunction lookupTokenUsingNodeInjector(tNode, lView, token, flags, notFoundValue) {\n const bloomHash = bloomHashBitOrFactory(token);\n // If the ID stored here is a function, this is a special object like ElementRef or TemplateRef\n // so just call the factory function to create it.\n if (typeof bloomHash === 'function') {\n if (!enterDI(lView, tNode, flags)) {\n // Failed to enter DI, try module injector instead. If a token is injected with the @Host\n // flag, the module injector is not searched for that token in Ivy.\n return (flags & InjectFlags.Host) ?\n notFoundValueOrThrow(notFoundValue, token, flags) :\n lookupTokenUsingModuleInjector(lView, token, flags, notFoundValue);\n }\n try {\n const value = bloomHash(flags);\n if (value == null && !(flags & InjectFlags.Optional)) {\n throwProviderNotFoundError(token);\n }\n else {\n return value;\n }\n }\n finally {\n leaveDI();\n }\n }\n else if (typeof bloomHash === 'number') {\n // A reference to the previous injector TView that was found while climbing the element\n // injector tree. This is used to know if viewProviders can be accessed on the current\n // injector.\n let previousTView = null;\n let injectorIndex = getInjectorIndex(tNode, lView);\n let parentLocation = NO_PARENT_INJECTOR;\n let hostTElementNode = flags & InjectFlags.Host ? lView[DECLARATION_COMPONENT_VIEW][T_HOST] : null;\n // If we should skip this injector, or if there is no injector on this node, start by\n // searching the parent injector.\n if (injectorIndex === -1 || flags & InjectFlags.SkipSelf) {\n parentLocation = injectorIndex === -1 ? getParentInjectorLocation(tNode, lView) :\n lView[injectorIndex + 8 /* NodeInjectorOffset.PARENT */];\n if (parentLocation === NO_PARENT_INJECTOR || !shouldSearchParent(flags, false)) {\n injectorIndex = -1;\n }\n else {\n previousTView = lView[TVIEW];\n injectorIndex = getParentInjectorIndex(parentLocation);\n lView = getParentInjectorView(parentLocation, lView);\n }\n }\n // Traverse up the injector tree until we find a potential match or until we know there\n // *isn't* a match.\n while (injectorIndex !== -1) {\n ngDevMode && assertNodeInjector(lView, injectorIndex);\n // Check the current injector. If it matches, see if it contains token.\n const tView = lView[TVIEW];\n ngDevMode &&\n assertTNodeForLView(tView.data[injectorIndex + 8 /* NodeInjectorOffset.TNODE */], lView);\n if (bloomHasToken(bloomHash, injectorIndex, tView.data)) {\n // At this point, we have an injector which *may* contain the token, so we step through\n // the providers and directives associated with the injector's corresponding node to get\n // the instance.\n const instance = searchTokensOnInjector(injectorIndex, lView, token, previousTView, flags, hostTElementNode);\n if (instance !== NOT_FOUND) {\n return instance;\n }\n }\n parentLocation = lView[injectorIndex + 8 /* NodeInjectorOffset.PARENT */];\n if (parentLocation !== NO_PARENT_INJECTOR &&\n shouldSearchParent(flags, lView[TVIEW].data[injectorIndex + 8 /* NodeInjectorOffset.TNODE */] === hostTElementNode) &&\n bloomHasToken(bloomHash, injectorIndex, lView)) {\n // The def wasn't found anywhere on this node, so it was a false positive.\n // Traverse up the tree and continue searching.\n previousTView = tView;\n injectorIndex = getParentInjectorIndex(parentLocation);\n lView = getParentInjectorView(parentLocation, lView);\n }\n else {\n // If we should not search parent OR If the ancestor bloom filter value does not have the\n // bit corresponding to the directive we can give up on traversing up to find the specific\n // injector.\n injectorIndex = -1;\n }\n }\n }\n return notFoundValue;\n}\nfunction searchTokensOnInjector(injectorIndex, lView, token, previousTView, flags, hostTElementNode) {\n const currentTView = lView[TVIEW];\n const tNode = currentTView.data[injectorIndex + 8 /* NodeInjectorOffset.TNODE */];\n // First, we need to determine if view providers can be accessed by the starting element.\n // There are two possibilities\n const canAccessViewProviders = previousTView == null ?\n // 1) This is the first invocation `previousTView == null` which means that we are at the\n // `TNode` of where injector is starting to look. In such a case the only time we are allowed\n // to look into the ViewProviders is if:\n // - we are on a component\n // - AND the injector set `includeViewProviders` to true (implying that the token can see\n // ViewProviders because it is the Component or a Service which itself was declared in\n // ViewProviders)\n (isComponentHost(tNode) && includeViewProviders) :\n // 2) `previousTView != null` which means that we are now walking across the parent nodes.\n // In such a case we are only allowed to look into the ViewProviders if:\n // - We just crossed from child View to Parent View `previousTView != currentTView`\n // - AND the parent TNode is an Element.\n // This means that we just came from the Component's View and therefore are allowed to see\n // into the ViewProviders.\n (previousTView != currentTView && ((tNode.type & 3 /* TNodeType.AnyRNode */) !== 0));\n // This special case happens when there is a @host on the inject and when we are searching\n // on the host element node.\n const isHostSpecialCase = (flags & InjectFlags.Host) && hostTElementNode === tNode;\n const injectableIdx = locateDirectiveOrProvider(tNode, currentTView, token, canAccessViewProviders, isHostSpecialCase);\n if (injectableIdx !== null) {\n return getNodeInjectable(lView, currentTView, injectableIdx, tNode);\n }\n else {\n return NOT_FOUND;\n }\n}\n/**\n * Searches for the given token among the node's directives and providers.\n *\n * @param tNode TNode on which directives are present.\n * @param tView The tView we are currently processing\n * @param token Provider token or type of a directive to look for.\n * @param canAccessViewProviders Whether view providers should be considered.\n * @param isHostSpecialCase Whether the host special case applies.\n * @returns Index of a found directive or provider, or null when none found.\n */\nfunction locateDirectiveOrProvider(tNode, tView, token, canAccessViewProviders, isHostSpecialCase) {\n const nodeProviderIndexes = tNode.providerIndexes;\n const tInjectables = tView.data;\n const injectablesStart = nodeProviderIndexes & 1048575 /* TNodeProviderIndexes.ProvidersStartIndexMask */;\n const directivesStart = tNode.directiveStart;\n const directiveEnd = tNode.directiveEnd;\n const cptViewProvidersCount = nodeProviderIndexes >> 20 /* TNodeProviderIndexes.CptViewProvidersCountShift */;\n const startingIndex = canAccessViewProviders ? injectablesStart : injectablesStart + cptViewProvidersCount;\n // When the host special case applies, only the viewProviders and the component are visible\n const endIndex = isHostSpecialCase ? injectablesStart + cptViewProvidersCount : directiveEnd;\n for (let i = startingIndex; i < endIndex; i++) {\n const providerTokenOrDef = tInjectables[i];\n if (i < directivesStart && token === providerTokenOrDef ||\n i >= directivesStart && providerTokenOrDef.type === token) {\n return i;\n }\n }\n if (isHostSpecialCase) {\n const dirDef = tInjectables[directivesStart];\n if (dirDef && isComponentDef(dirDef) && dirDef.type === token) {\n return directivesStart;\n }\n }\n return null;\n}\n/**\n * Retrieve or instantiate the injectable from the `LView` at particular `index`.\n *\n * This function checks to see if the value has already been instantiated and if so returns the\n * cached `injectable`. Otherwise if it detects that the value is still a factory it\n * instantiates the `injectable` and caches the value.\n */\nfunction getNodeInjectable(lView, tView, index, tNode) {\n let value = lView[index];\n const tData = tView.data;\n if (isFactory(value)) {\n const factory = value;\n if (factory.resolving) {\n throwCyclicDependencyError(stringifyForError(tData[index]));\n }\n const previousIncludeViewProviders = setIncludeViewProviders(factory.canSeeViewProviders);\n factory.resolving = true;\n const previousInjectImplementation = factory.injectImpl ? setInjectImplementation(factory.injectImpl) : null;\n const success = enterDI(lView, tNode, InjectFlags.Default);\n ngDevMode &&\n assertEqual(success, true, 'Because flags do not contain \\`SkipSelf\\' we expect this to always succeed.');\n try {\n value = lView[index] = factory.factory(undefined, tData, lView, tNode);\n // This code path is hit for both directives and providers.\n // For perf reasons, we want to avoid searching for hooks on providers.\n // It does no harm to try (the hooks just won't exist), but the extra\n // checks are unnecessary and this is a hot path. So we check to see\n // if the index of the dependency is in the directive range for this\n // tNode. If it's not, we know it's a provider and skip hook registration.\n if (tView.firstCreatePass && index >= tNode.directiveStart) {\n ngDevMode && assertDirectiveDef(tData[index]);\n registerPreOrderHooks(index, tData[index], tView);\n }\n }\n finally {\n previousInjectImplementation !== null &&\n setInjectImplementation(previousInjectImplementation);\n setIncludeViewProviders(previousIncludeViewProviders);\n factory.resolving = false;\n leaveDI();\n }\n }\n return value;\n}\n/**\n * Returns the bit in an injector's bloom filter that should be used to determine whether or not\n * the directive might be provided by the injector.\n *\n * When a directive is public, it is added to the bloom filter and given a unique ID that can be\n * retrieved on the Type. When the directive isn't public or the token is not a directive `null`\n * is returned as the node injector can not possibly provide that token.\n *\n * @param token the injection token\n * @returns the matching bit to check in the bloom filter or `null` if the token is not known.\n * When the returned value is negative then it represents special values such as `Injector`.\n */\nfunction bloomHashBitOrFactory(token) {\n ngDevMode && assertDefined(token, 'token must be defined');\n if (typeof token === 'string') {\n return token.charCodeAt(0) || 0;\n }\n const tokenId = \n // First check with `hasOwnProperty` so we don't get an inherited ID.\n token.hasOwnProperty(NG_ELEMENT_ID) ? token[NG_ELEMENT_ID] : undefined;\n // Negative token IDs are used for special objects such as `Injector`\n if (typeof tokenId === 'number') {\n if (tokenId >= 0) {\n return tokenId & BLOOM_MASK;\n }\n else {\n ngDevMode &&\n assertEqual(tokenId, -1 /* InjectorMarkers.Injector */, 'Expecting to get Special Injector Id');\n return createNodeInjector;\n }\n }\n else {\n return tokenId;\n }\n}\nfunction bloomHasToken(bloomHash, injectorIndex, injectorView) {\n // Create a mask that targets the specific bit associated with the directive we're looking for.\n // JS bit operations are 32 bits, so this will be a number between 2^0 and 2^31, corresponding\n // to bit positions 0 - 31 in a 32 bit integer.\n const mask = 1 << bloomHash;\n // Each bloom bucket in `injectorView` represents `BLOOM_BUCKET_BITS` number of bits of\n // `bloomHash`. Any bits in `bloomHash` beyond `BLOOM_BUCKET_BITS` indicate the bucket offset\n // that should be used.\n const value = injectorView[injectorIndex + (bloomHash >> BLOOM_BUCKET_BITS)];\n // If the bloom filter value has the bit corresponding to the directive's bloomBit flipped on,\n // this injector is a potential match.\n return !!(value & mask);\n}\n/** Returns true if flags prevent parent injector from being searched for tokens */\nfunction shouldSearchParent(flags, isFirstHostTNode) {\n return !(flags & InjectFlags.Self) && !(flags & InjectFlags.Host && isFirstHostTNode);\n}\nclass NodeInjector {\n constructor(_tNode, _lView) {\n this._tNode = _tNode;\n this._lView = _lView;\n }\n get(token, notFoundValue, flags) {\n return getOrCreateInjectable(this._tNode, this._lView, token, convertToBitFlags(flags), notFoundValue);\n }\n}\n/** Creates a `NodeInjector` for the current node. */\nfunction createNodeInjector() {\n return new NodeInjector(getCurrentTNode(), getLView());\n}\n/**\n * @codeGenApi\n */\nfunction ɵɵgetInheritedFactory(type) {\n return noSideEffects(() => {\n const ownConstructor = type.prototype.constructor;\n const ownFactory = ownConstructor[NG_FACTORY_DEF] || getFactoryOf(ownConstructor);\n const objectPrototype = Object.prototype;\n let parent = Object.getPrototypeOf(type.prototype).constructor;\n // Go up the prototype until we hit `Object`.\n while (parent && parent !== objectPrototype) {\n const factory = parent[NG_FACTORY_DEF] || getFactoryOf(parent);\n // If we hit something that has a factory and the factory isn't the same as the type,\n // we've found the inherited factory. Note the check that the factory isn't the type's\n // own factory is redundant in most cases, but if the user has custom decorators on the\n // class, this lookup will start one level down in the prototype chain, causing us to\n // find the own factory first and potentially triggering an infinite loop downstream.\n if (factory && factory !== ownFactory) {\n return factory;\n }\n parent = Object.getPrototypeOf(parent);\n }\n // There is no factory defined. Either this was improper usage of inheritance\n // (no Angular decorator on the superclass) or there is no constructor at all\n // in the inheritance chain. Since the two cases cannot be distinguished, the\n // latter has to be assumed.\n return t => new t();\n });\n}\nfunction getFactoryOf(type) {\n if (isForwardRef(type)) {\n return () => {\n const factory = getFactoryOf(resolveForwardRef(type));\n return factory && factory();\n };\n }\n return getFactoryDef(type);\n}\n/**\n * Returns a value from the closest embedded or node injector.\n *\n * @param tNode The Node where the search for the injector should start\n * @param lView The `LView` that contains the `tNode`\n * @param token The token to look for\n * @param flags Injection flags\n * @param notFoundValue The value to return when the injection flags is `InjectFlags.Optional`\n * @returns the value from the injector, `null` when not found, or `notFoundValue` if provided\n */\nfunction lookupTokenUsingEmbeddedInjector(tNode, lView, token, flags, notFoundValue) {\n let currentTNode = tNode;\n let currentLView = lView;\n // When an LView with an embedded view injector is inserted, it'll likely be interlaced with\n // nodes who may have injectors (e.g. node injector -> embedded view injector -> node injector).\n // Since the bloom filters for the node injectors have already been constructed and we don't\n // have a way of extracting the records from an injector, the only way to maintain the correct\n // hierarchy when resolving the value is to walk it node-by-node while attempting to resolve\n // the token at each level.\n while (currentTNode !== null && currentLView !== null &&\n (currentLView[FLAGS] & 2048 /* LViewFlags.HasEmbeddedViewInjector */) &&\n !(currentLView[FLAGS] & 512 /* LViewFlags.IsRoot */)) {\n ngDevMode && assertTNodeForLView(currentTNode, currentLView);\n // Note that this lookup on the node injector is using the `Self` flag, because\n // we don't want the node injector to look at any parent injectors since we\n // may hit the embedded view injector first.\n const nodeInjectorValue = lookupTokenUsingNodeInjector(currentTNode, currentLView, token, flags | InjectFlags.Self, NOT_FOUND);\n if (nodeInjectorValue !== NOT_FOUND) {\n return nodeInjectorValue;\n }\n // Has an explicit type due to a TS bug: https://github.com/microsoft/TypeScript/issues/33191\n let parentTNode = currentTNode.parent;\n // `TNode.parent` includes the parent within the current view only. If it doesn't exist,\n // it means that we've hit the view boundary and we need to go up to the next view.\n if (!parentTNode) {\n // Before we go to the next LView, check if the token exists on the current embedded injector.\n const embeddedViewInjector = currentLView[EMBEDDED_VIEW_INJECTOR];\n if (embeddedViewInjector) {\n const embeddedViewInjectorValue = embeddedViewInjector.get(token, NOT_FOUND, flags);\n if (embeddedViewInjectorValue !== NOT_FOUND) {\n return embeddedViewInjectorValue;\n }\n }\n // Otherwise keep going up the tree.\n parentTNode = getTNodeFromLView(currentLView);\n currentLView = currentLView[DECLARATION_VIEW];\n }\n currentTNode = parentTNode;\n }\n return notFoundValue;\n}\n/** Gets the TNode associated with an LView inside of the declaration view. */\nfunction getTNodeFromLView(lView) {\n const tView = lView[TVIEW];\n const tViewType = tView.type;\n // The parent pointer differs based on `TView.type`.\n if (tViewType === 2 /* TViewType.Embedded */) {\n ngDevMode && assertDefined(tView.declTNode, 'Embedded TNodes should have declaration parents.');\n return tView.declTNode;\n }\n else if (tViewType === 1 /* TViewType.Component */) {\n // Components don't have `TView.declTNode` because each instance of component could be\n // inserted in different location, hence `TView.declTNode` is meaningless.\n return lView[T_HOST];\n }\n return null;\n}\n\n/**\n * Facade for the attribute injection from DI.\n *\n * @codeGenApi\n */\nfunction ɵɵinjectAttribute(attrNameToInject) {\n return injectAttributeImpl(getCurrentTNode(), attrNameToInject);\n}\n\nconst ANNOTATIONS = '__annotations__';\nconst PARAMETERS = '__parameters__';\nconst PROP_METADATA = '__prop__metadata__';\n/**\n * @suppress {globalThis}\n */\nfunction makeDecorator(name, props, parentClass, additionalProcessing, typeFn) {\n return noSideEffects(() => {\n const metaCtor = makeMetadataCtor(props);\n function DecoratorFactory(...args) {\n if (this instanceof DecoratorFactory) {\n metaCtor.call(this, ...args);\n return this;\n }\n const annotationInstance = new DecoratorFactory(...args);\n return function TypeDecorator(cls) {\n if (typeFn)\n typeFn(cls, ...args);\n // Use of Object.defineProperty is important since it creates non-enumerable property which\n // prevents the property is copied during subclassing.\n const annotations = cls.hasOwnProperty(ANNOTATIONS) ?\n cls[ANNOTATIONS] :\n Object.defineProperty(cls, ANNOTATIONS, { value: [] })[ANNOTATIONS];\n annotations.push(annotationInstance);\n if (additionalProcessing)\n additionalProcessing(cls);\n return cls;\n };\n }\n if (parentClass) {\n DecoratorFactory.prototype = Object.create(parentClass.prototype);\n }\n DecoratorFactory.prototype.ngMetadataName = name;\n DecoratorFactory.annotationCls = DecoratorFactory;\n return DecoratorFactory;\n });\n}\nfunction makeMetadataCtor(props) {\n return function ctor(...args) {\n if (props) {\n const values = props(...args);\n for (const propName in values) {\n this[propName] = values[propName];\n }\n }\n };\n}\nfunction makeParamDecorator(name, props, parentClass) {\n return noSideEffects(() => {\n const metaCtor = makeMetadataCtor(props);\n function ParamDecoratorFactory(...args) {\n if (this instanceof ParamDecoratorFactory) {\n metaCtor.apply(this, args);\n return this;\n }\n const annotationInstance = new ParamDecoratorFactory(...args);\n ParamDecorator.annotation = annotationInstance;\n return ParamDecorator;\n function ParamDecorator(cls, unusedKey, index) {\n // Use of Object.defineProperty is important since it creates non-enumerable property which\n // prevents the property is copied during subclassing.\n const parameters = cls.hasOwnProperty(PARAMETERS) ?\n cls[PARAMETERS] :\n Object.defineProperty(cls, PARAMETERS, { value: [] })[PARAMETERS];\n // there might be gaps if some in between parameters do not have annotations.\n // we pad with nulls.\n while (parameters.length <= index) {\n parameters.push(null);\n }\n (parameters[index] = parameters[index] || []).push(annotationInstance);\n return cls;\n }\n }\n if (parentClass) {\n ParamDecoratorFactory.prototype = Object.create(parentClass.prototype);\n }\n ParamDecoratorFactory.prototype.ngMetadataName = name;\n ParamDecoratorFactory.annotationCls = ParamDecoratorFactory;\n return ParamDecoratorFactory;\n });\n}\nfunction makePropDecorator(name, props, parentClass, additionalProcessing) {\n return noSideEffects(() => {\n const metaCtor = makeMetadataCtor(props);\n function PropDecoratorFactory(...args) {\n if (this instanceof PropDecoratorFactory) {\n metaCtor.apply(this, args);\n return this;\n }\n const decoratorInstance = new PropDecoratorFactory(...args);\n function PropDecorator(target, name) {\n // target is undefined with standard decorators. This case is not supported and will throw\n // if this decorator is used in JIT mode with standard decorators.\n if (target === undefined) {\n throw new Error('Standard Angular field decorators are not supported in JIT mode.');\n }\n const constructor = target.constructor;\n // Use of Object.defineProperty is important because it creates a non-enumerable property\n // which prevents the property from being copied during subclassing.\n const meta = constructor.hasOwnProperty(PROP_METADATA) ?\n constructor[PROP_METADATA] :\n Object.defineProperty(constructor, PROP_METADATA, { value: {} })[PROP_METADATA];\n meta[name] = meta.hasOwnProperty(name) && meta[name] || [];\n meta[name].unshift(decoratorInstance);\n if (additionalProcessing)\n additionalProcessing(target, name, ...args);\n }\n return PropDecorator;\n }\n if (parentClass) {\n PropDecoratorFactory.prototype = Object.create(parentClass.prototype);\n }\n PropDecoratorFactory.prototype.ngMetadataName = name;\n PropDecoratorFactory.annotationCls = PropDecoratorFactory;\n return PropDecoratorFactory;\n });\n}\n\n/**\n * Attribute decorator and metadata.\n *\n * @Annotation\n * @publicApi\n */\nconst Attribute = makeParamDecorator('Attribute', (attributeName) => ({ attributeName, __NG_ELEMENT_ID__: () => ɵɵinjectAttribute(attributeName) }));\n\n// Stores the default value of `emitDistinctChangesOnly` when the `emitDistinctChangesOnly` is not\n// explicitly set.\nconst emitDistinctChangesOnlyDefaultValue = true;\n/**\n * Base class for query metadata.\n *\n * @see `ContentChildren`.\n * @see `ContentChild`.\n * @see `ViewChildren`.\n * @see `ViewChild`.\n *\n * @publicApi\n */\nclass Query {\n}\n/**\n * ContentChildren decorator and metadata.\n *\n *\n * @Annotation\n * @publicApi\n */\nconst ContentChildren = makePropDecorator('ContentChildren', (selector, data = {}) => ({\n selector,\n first: false,\n isViewQuery: false,\n descendants: false,\n emitDistinctChangesOnly: emitDistinctChangesOnlyDefaultValue,\n ...data\n}), Query);\n/**\n * ContentChild decorator and metadata.\n *\n *\n * @Annotation\n *\n * @publicApi\n */\nconst ContentChild = makePropDecorator('ContentChild', (selector, data = {}) => ({ selector, first: true, isViewQuery: false, descendants: true, ...data }), Query);\n/**\n * ViewChildren decorator and metadata.\n *\n * @Annotation\n * @publicApi\n */\nconst ViewChildren = makePropDecorator('ViewChildren', (selector, data = {}) => ({\n selector,\n first: false,\n isViewQuery: true,\n descendants: true,\n emitDistinctChangesOnly: emitDistinctChangesOnlyDefaultValue,\n ...data\n}), Query);\n/**\n * ViewChild decorator and metadata.\n *\n * @Annotation\n * @publicApi\n */\nconst ViewChild = makePropDecorator('ViewChild', (selector, data) => ({ selector, first: true, isViewQuery: true, descendants: true, ...data }), Query);\n\nvar FactoryTarget;\n(function (FactoryTarget) {\n FactoryTarget[FactoryTarget[\"Directive\"] = 0] = \"Directive\";\n FactoryTarget[FactoryTarget[\"Component\"] = 1] = \"Component\";\n FactoryTarget[FactoryTarget[\"Injectable\"] = 2] = \"Injectable\";\n FactoryTarget[FactoryTarget[\"Pipe\"] = 3] = \"Pipe\";\n FactoryTarget[FactoryTarget[\"NgModule\"] = 4] = \"NgModule\";\n})(FactoryTarget || (FactoryTarget = {}));\nvar R3TemplateDependencyKind;\n(function (R3TemplateDependencyKind) {\n R3TemplateDependencyKind[R3TemplateDependencyKind[\"Directive\"] = 0] = \"Directive\";\n R3TemplateDependencyKind[R3TemplateDependencyKind[\"Pipe\"] = 1] = \"Pipe\";\n R3TemplateDependencyKind[R3TemplateDependencyKind[\"NgModule\"] = 2] = \"NgModule\";\n})(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));\nvar ViewEncapsulation;\n(function (ViewEncapsulation) {\n ViewEncapsulation[ViewEncapsulation[\"Emulated\"] = 0] = \"Emulated\";\n // Historically the 1 value was for `Native` encapsulation which has been removed as of v11.\n ViewEncapsulation[ViewEncapsulation[\"None\"] = 2] = \"None\";\n ViewEncapsulation[ViewEncapsulation[\"ShadowDom\"] = 3] = \"ShadowDom\";\n})(ViewEncapsulation || (ViewEncapsulation = {}));\n\nfunction getCompilerFacade(request) {\n const globalNg = _global['ng'];\n if (globalNg && globalNg.ɵcompilerFacade) {\n return globalNg.ɵcompilerFacade;\n }\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n // Log the type as an error so that a developer can easily navigate to the type from the\n // console.\n console.error(`JIT compilation failed for ${request.kind}`, request.type);\n let message = `The ${request.kind} '${request\n .type.name}' needs to be compiled using the JIT compiler, but '@angular/compiler' is not available.\\n\\n`;\n if (request.usage === 1 /* JitCompilerUsage.PartialDeclaration */) {\n message += `The ${request.kind} is part of a library that has been partially compiled.\\n`;\n message +=\n `However, the Angular Linker has not processed the library such that JIT compilation is used as fallback.\\n`;\n message += '\\n';\n message +=\n `Ideally, the library is processed using the Angular Linker to become fully AOT compiled.\\n`;\n }\n else {\n message +=\n `JIT compilation is discouraged for production use-cases! Consider using AOT mode instead.\\n`;\n }\n message +=\n `Alternatively, the JIT compiler should be loaded by bootstrapping using '@angular/platform-browser-dynamic' or '@angular/platform-server',\\n`;\n message +=\n `or manually provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.`;\n throw new Error(message);\n }\n else {\n throw new Error('JIT compiler unavailable');\n }\n}\n\n/**\n * @description\n *\n * Represents a type that a Component or other object is instances of.\n *\n * An example of a `Type` is `MyCustomComponent` class, which in JavaScript is represented by\n * the `MyCustomComponent` constructor function.\n *\n * @publicApi\n */\nconst Type = Function;\nfunction isType(v) {\n return typeof v === 'function';\n}\n\n/**\n * Determines if the contents of two arrays is identical\n *\n * @param a first array\n * @param b second array\n * @param identityAccessor Optional function for extracting stable object identity from a value in\n * the array.\n */\nfunction arrayEquals(a, b, identityAccessor) {\n if (a.length !== b.length)\n return false;\n for (let i = 0; i < a.length; i++) {\n let valueA = a[i];\n let valueB = b[i];\n if (identityAccessor) {\n valueA = identityAccessor(valueA);\n valueB = identityAccessor(valueB);\n }\n if (valueB !== valueA) {\n return false;\n }\n }\n return true;\n}\n/**\n * Flattens an array.\n */\nfunction flatten(list) {\n return list.flat(Number.POSITIVE_INFINITY);\n}\nfunction deepForEach(input, fn) {\n input.forEach(value => Array.isArray(value) ? deepForEach(value, fn) : fn(value));\n}\nfunction addToArray(arr, index, value) {\n // perf: array.push is faster than array.splice!\n if (index >= arr.length) {\n arr.push(value);\n }\n else {\n arr.splice(index, 0, value);\n }\n}\nfunction removeFromArray(arr, index) {\n // perf: array.pop is faster than array.splice!\n if (index >= arr.length - 1) {\n return arr.pop();\n }\n else {\n return arr.splice(index, 1)[0];\n }\n}\nfunction newArray(size, value) {\n const list = [];\n for (let i = 0; i < size; i++) {\n list.push(value);\n }\n return list;\n}\n/**\n * Remove item from array (Same as `Array.splice()` but faster.)\n *\n * `Array.splice()` is not as fast because it has to allocate an array for the elements which were\n * removed. This causes memory pressure and slows down code when most of the time we don't\n * care about the deleted items array.\n *\n * https://jsperf.com/fast-array-splice (About 20x faster)\n *\n * @param array Array to splice\n * @param index Index of element in array to remove.\n * @param count Number of items to remove.\n */\nfunction arraySplice(array, index, count) {\n const length = array.length - count;\n while (index < length) {\n array[index] = array[index + count];\n index++;\n }\n while (count--) {\n array.pop(); // shrink the array\n }\n}\n/**\n * Same as `Array.splice(index, 0, value)` but faster.\n *\n * `Array.splice()` is not fast because it has to allocate an array for the elements which were\n * removed. This causes memory pressure and slows down code when most of the time we don't\n * care about the deleted items array.\n *\n * @param array Array to splice.\n * @param index Index in array where the `value` should be added.\n * @param value Value to add to array.\n */\nfunction arrayInsert(array, index, value) {\n ngDevMode && assertLessThanOrEqual(index, array.length, 'Can\\'t insert past array end.');\n let end = array.length;\n while (end > index) {\n const previousEnd = end - 1;\n array[end] = array[previousEnd];\n end = previousEnd;\n }\n array[index] = value;\n}\n/**\n * Same as `Array.splice2(index, 0, value1, value2)` but faster.\n *\n * `Array.splice()` is not fast because it has to allocate an array for the elements which were\n * removed. This causes memory pressure and slows down code when most of the time we don't\n * care about the deleted items array.\n *\n * @param array Array to splice.\n * @param index Index in array where the `value` should be added.\n * @param value1 Value to add to array.\n * @param value2 Value to add to array.\n */\nfunction arrayInsert2(array, index, value1, value2) {\n ngDevMode && assertLessThanOrEqual(index, array.length, 'Can\\'t insert past array end.');\n let end = array.length;\n if (end == index) {\n // inserting at the end.\n array.push(value1, value2);\n }\n else if (end === 1) {\n // corner case when we have less items in array than we have items to insert.\n array.push(value2, array[0]);\n array[0] = value1;\n }\n else {\n end--;\n array.push(array[end - 1], array[end]);\n while (end > index) {\n const previousEnd = end - 2;\n array[end] = array[previousEnd];\n end--;\n }\n array[index] = value1;\n array[index + 1] = value2;\n }\n}\n/**\n * Get an index of an `value` in a sorted `array`.\n *\n * NOTE:\n * - This uses binary search algorithm for fast removals.\n *\n * @param array A sorted array to binary search.\n * @param value The value to look for.\n * @returns index of the value.\n * - positive index if value found.\n * - negative index if value not found. (`~index` to get the value where it should have been\n * located)\n */\nfunction arrayIndexOfSorted(array, value) {\n return _arrayIndexOfSorted(array, value, 0);\n}\n/**\n * Set a `value` for a `key`.\n *\n * @param keyValueArray to modify.\n * @param key The key to locate or create.\n * @param value The value to set for a `key`.\n * @returns index (always even) of where the value vas set.\n */\nfunction keyValueArraySet(keyValueArray, key, value) {\n let index = keyValueArrayIndexOf(keyValueArray, key);\n if (index >= 0) {\n // if we found it set it.\n keyValueArray[index | 1] = value;\n }\n else {\n index = ~index;\n arrayInsert2(keyValueArray, index, key, value);\n }\n return index;\n}\n/**\n * Retrieve a `value` for a `key` (on `undefined` if not found.)\n *\n * @param keyValueArray to search.\n * @param key The key to locate.\n * @return The `value` stored at the `key` location or `undefined if not found.\n */\nfunction keyValueArrayGet(keyValueArray, key) {\n const index = keyValueArrayIndexOf(keyValueArray, key);\n if (index >= 0) {\n // if we found it retrieve it.\n return keyValueArray[index | 1];\n }\n return undefined;\n}\n/**\n * Retrieve a `key` index value in the array or `-1` if not found.\n *\n * @param keyValueArray to search.\n * @param key The key to locate.\n * @returns index of where the key is (or should have been.)\n * - positive (even) index if key found.\n * - negative index if key not found. (`~index` (even) to get the index where it should have\n * been inserted.)\n */\nfunction keyValueArrayIndexOf(keyValueArray, key) {\n return _arrayIndexOfSorted(keyValueArray, key, 1);\n}\n/**\n * Delete a `key` (and `value`) from the `KeyValueArray`.\n *\n * @param keyValueArray to modify.\n * @param key The key to locate or delete (if exist).\n * @returns index of where the key was (or should have been.)\n * - positive (even) index if key found and deleted.\n * - negative index if key not found. (`~index` (even) to get the index where it should have\n * been.)\n */\nfunction keyValueArrayDelete(keyValueArray, key) {\n const index = keyValueArrayIndexOf(keyValueArray, key);\n if (index >= 0) {\n // if we found it remove it.\n arraySplice(keyValueArray, index, 2);\n }\n return index;\n}\n/**\n * INTERNAL: Get an index of an `value` in a sorted `array` by grouping search by `shift`.\n *\n * NOTE:\n * - This uses binary search algorithm for fast removals.\n *\n * @param array A sorted array to binary search.\n * @param value The value to look for.\n * @param shift grouping shift.\n * - `0` means look at every location\n * - `1` means only look at every other (even) location (the odd locations are to be ignored as\n * they are values.)\n * @returns index of the value.\n * - positive index if value found.\n * - negative index if value not found. (`~index` to get the value where it should have been\n * inserted)\n */\nfunction _arrayIndexOfSorted(array, value, shift) {\n ngDevMode && assertEqual(Array.isArray(array), true, 'Expecting an array');\n let start = 0;\n let end = array.length >> shift;\n while (end !== start) {\n const middle = start + ((end - start) >> 1); // find the middle.\n const current = array[middle << shift];\n if (value === current) {\n return (middle << shift);\n }\n else if (current > value) {\n end = middle;\n }\n else {\n start = middle + 1; // We already searched middle so make it non-inclusive by adding 1\n }\n }\n return ~(end << shift);\n}\n\n/*\n * #########################\n * Attention: These Regular expressions have to hold even if the code is minified!\n * ##########################\n */\n/**\n * Regular expression that detects pass-through constructors for ES5 output. This Regex\n * intends to capture the common delegation pattern emitted by TypeScript and Babel. Also\n * it intends to capture the pattern where existing constructors have been downleveled from\n * ES2015 to ES5 using TypeScript w/ downlevel iteration. e.g.\n *\n * ```\n * function MyClass() {\n * var _this = _super.apply(this, arguments) || this;\n * ```\n *\n * downleveled to ES5 with `downlevelIteration` for TypeScript < 4.2:\n * ```\n * function MyClass() {\n * var _this = _super.apply(this, __spread(arguments)) || this;\n * ```\n *\n * or downleveled to ES5 with `downlevelIteration` for TypeScript >= 4.2:\n * ```\n * function MyClass() {\n * var _this = _super.apply(this, __spreadArray([], __read(arguments), false)) || this;\n * ```\n *\n * More details can be found in: https://github.com/angular/angular/issues/38453.\n */\nconst ES5_DELEGATE_CTOR = /^function\\s+\\S+\\(\\)\\s*{[\\s\\S]+\\.apply\\(this,\\s*(arguments|(?:[^()]+\\(\\[\\],)?[^()]+\\(arguments\\).*)\\)/;\n/** Regular expression that detects ES2015 classes which extend from other classes. */\nconst ES2015_INHERITED_CLASS = /^class\\s+[A-Za-z\\d$_]*\\s*extends\\s+[^{]+{/;\n/**\n * Regular expression that detects ES2015 classes which extend from other classes and\n * have an explicit constructor defined.\n */\nconst ES2015_INHERITED_CLASS_WITH_CTOR = /^class\\s+[A-Za-z\\d$_]*\\s*extends\\s+[^{]+{[\\s\\S]*constructor\\s*\\(/;\n/**\n * Regular expression that detects ES2015 classes which extend from other classes\n * and inherit a constructor.\n */\nconst ES2015_INHERITED_CLASS_WITH_DELEGATE_CTOR = /^class\\s+[A-Za-z\\d$_]*\\s*extends\\s+[^{]+{[\\s\\S]*constructor\\s*\\(\\)\\s*{[^}]*super\\(\\.\\.\\.arguments\\)/;\n/**\n * Determine whether a stringified type is a class which delegates its constructor\n * to its parent.\n *\n * This is not trivial since compiled code can actually contain a constructor function\n * even if the original source code did not. For instance, when the child class contains\n * an initialized instance property.\n */\nfunction isDelegateCtor(typeStr) {\n return ES5_DELEGATE_CTOR.test(typeStr) ||\n ES2015_INHERITED_CLASS_WITH_DELEGATE_CTOR.test(typeStr) ||\n (ES2015_INHERITED_CLASS.test(typeStr) && !ES2015_INHERITED_CLASS_WITH_CTOR.test(typeStr));\n}\nclass ReflectionCapabilities {\n constructor(reflect) {\n this._reflect = reflect || _global['Reflect'];\n }\n factory(t) {\n return (...args) => new t(...args);\n }\n /** @internal */\n _zipTypesAndAnnotations(paramTypes, paramAnnotations) {\n let result;\n if (typeof paramTypes === 'undefined') {\n result = newArray(paramAnnotations.length);\n }\n else {\n result = newArray(paramTypes.length);\n }\n for (let i = 0; i < result.length; i++) {\n // TS outputs Object for parameters without types, while Traceur omits\n // the annotations. For now we preserve the Traceur behavior to aid\n // migration, but this can be revisited.\n if (typeof paramTypes === 'undefined') {\n result[i] = [];\n }\n else if (paramTypes[i] && paramTypes[i] != Object) {\n result[i] = [paramTypes[i]];\n }\n else {\n result[i] = [];\n }\n if (paramAnnotations && paramAnnotations[i] != null) {\n result[i] = result[i].concat(paramAnnotations[i]);\n }\n }\n return result;\n }\n _ownParameters(type, parentCtor) {\n const typeStr = type.toString();\n // If we have no decorators, we only have function.length as metadata.\n // In that case, to detect whether a child class declared an own constructor or not,\n // we need to look inside of that constructor to check whether it is\n // just calling the parent.\n // This also helps to work around for https://github.com/Microsoft/TypeScript/issues/12439\n // that sets 'design:paramtypes' to []\n // if a class inherits from another class but has no ctor declared itself.\n if (isDelegateCtor(typeStr)) {\n return null;\n }\n // Prefer the direct API.\n if (type.parameters && type.parameters !== parentCtor.parameters) {\n return type.parameters;\n }\n // API of tsickle for lowering decorators to properties on the class.\n const tsickleCtorParams = type.ctorParameters;\n if (tsickleCtorParams && tsickleCtorParams !== parentCtor.ctorParameters) {\n // Newer tsickle uses a function closure\n // Retain the non-function case for compatibility with older tsickle\n const ctorParameters = typeof tsickleCtorParams === 'function' ? tsickleCtorParams() : tsickleCtorParams;\n const paramTypes = ctorParameters.map((ctorParam) => ctorParam && ctorParam.type);\n const paramAnnotations = ctorParameters.map((ctorParam) => ctorParam && convertTsickleDecoratorIntoMetadata(ctorParam.decorators));\n return this._zipTypesAndAnnotations(paramTypes, paramAnnotations);\n }\n // API for metadata created by invoking the decorators.\n const paramAnnotations = type.hasOwnProperty(PARAMETERS) && type[PARAMETERS];\n const paramTypes = this._reflect && this._reflect.getOwnMetadata &&\n this._reflect.getOwnMetadata('design:paramtypes', type);\n if (paramTypes || paramAnnotations) {\n return this._zipTypesAndAnnotations(paramTypes, paramAnnotations);\n }\n // If a class has no decorators, at least create metadata\n // based on function.length.\n // Note: We know that this is a real constructor as we checked\n // the content of the constructor above.\n return newArray(type.length);\n }\n parameters(type) {\n // Note: only report metadata if we have at least one class decorator\n // to stay in sync with the static reflector.\n if (!isType(type)) {\n return [];\n }\n const parentCtor = getParentCtor(type);\n let parameters = this._ownParameters(type, parentCtor);\n if (!parameters && parentCtor !== Object) {\n parameters = this.parameters(parentCtor);\n }\n return parameters || [];\n }\n _ownAnnotations(typeOrFunc, parentCtor) {\n // Prefer the direct API.\n if (typeOrFunc.annotations && typeOrFunc.annotations !== parentCtor.annotations) {\n let annotations = typeOrFunc.annotations;\n if (typeof annotations === 'function' && annotations.annotations) {\n annotations = annotations.annotations;\n }\n return annotations;\n }\n // API of tsickle for lowering decorators to properties on the class.\n if (typeOrFunc.decorators && typeOrFunc.decorators !== parentCtor.decorators) {\n return convertTsickleDecoratorIntoMetadata(typeOrFunc.decorators);\n }\n // API for metadata created by invoking the decorators.\n if (typeOrFunc.hasOwnProperty(ANNOTATIONS)) {\n return typeOrFunc[ANNOTATIONS];\n }\n return null;\n }\n annotations(typeOrFunc) {\n if (!isType(typeOrFunc)) {\n return [];\n }\n const parentCtor = getParentCtor(typeOrFunc);\n const ownAnnotations = this._ownAnnotations(typeOrFunc, parentCtor) || [];\n const parentAnnotations = parentCtor !== Object ? this.annotations(parentCtor) : [];\n return parentAnnotations.concat(ownAnnotations);\n }\n _ownPropMetadata(typeOrFunc, parentCtor) {\n // Prefer the direct API.\n if (typeOrFunc.propMetadata &&\n typeOrFunc.propMetadata !== parentCtor.propMetadata) {\n let propMetadata = typeOrFunc.propMetadata;\n if (typeof propMetadata === 'function' && propMetadata.propMetadata) {\n propMetadata = propMetadata.propMetadata;\n }\n return propMetadata;\n }\n // API of tsickle for lowering decorators to properties on the class.\n if (typeOrFunc.propDecorators &&\n typeOrFunc.propDecorators !== parentCtor.propDecorators) {\n const propDecorators = typeOrFunc.propDecorators;\n const propMetadata = {};\n Object.keys(propDecorators).forEach(prop => {\n propMetadata[prop] = convertTsickleDecoratorIntoMetadata(propDecorators[prop]);\n });\n return propMetadata;\n }\n // API for metadata created by invoking the decorators.\n if (typeOrFunc.hasOwnProperty(PROP_METADATA)) {\n return typeOrFunc[PROP_METADATA];\n }\n return null;\n }\n propMetadata(typeOrFunc) {\n if (!isType(typeOrFunc)) {\n return {};\n }\n const parentCtor = getParentCtor(typeOrFunc);\n const propMetadata = {};\n if (parentCtor !== Object) {\n const parentPropMetadata = this.propMetadata(parentCtor);\n Object.keys(parentPropMetadata).forEach((propName) => {\n propMetadata[propName] = parentPropMetadata[propName];\n });\n }\n const ownPropMetadata = this._ownPropMetadata(typeOrFunc, parentCtor);\n if (ownPropMetadata) {\n Object.keys(ownPropMetadata).forEach((propName) => {\n const decorators = [];\n if (propMetadata.hasOwnProperty(propName)) {\n decorators.push(...propMetadata[propName]);\n }\n decorators.push(...ownPropMetadata[propName]);\n propMetadata[propName] = decorators;\n });\n }\n return propMetadata;\n }\n ownPropMetadata(typeOrFunc) {\n if (!isType(typeOrFunc)) {\n return {};\n }\n return this._ownPropMetadata(typeOrFunc, getParentCtor(typeOrFunc)) || {};\n }\n hasLifecycleHook(type, lcProperty) {\n return type instanceof Type && lcProperty in type.prototype;\n }\n}\nfunction convertTsickleDecoratorIntoMetadata(decoratorInvocations) {\n if (!decoratorInvocations) {\n return [];\n }\n return decoratorInvocations.map(decoratorInvocation => {\n const decoratorType = decoratorInvocation.type;\n const annotationCls = decoratorType.annotationCls;\n const annotationArgs = decoratorInvocation.args ? decoratorInvocation.args : [];\n return new annotationCls(...annotationArgs);\n });\n}\nfunction getParentCtor(ctor) {\n const parentProto = ctor.prototype ? Object.getPrototypeOf(ctor.prototype) : null;\n const parentCtor = parentProto ? parentProto.constructor : null;\n // Note: We always use `Object` as the null value\n // to simplify checking later on.\n return parentCtor || Object;\n}\n\n/**\n * Inject decorator and metadata.\n *\n * @Annotation\n * @publicApi\n */\nconst Inject = attachInjectFlag(\n// Disable tslint because `DecoratorFlags` is a const enum which gets inlined.\n// tslint:disable-next-line: no-toplevel-property-access\nmakeParamDecorator('Inject', (token) => ({ token })), -1 /* DecoratorFlags.Inject */);\n/**\n * Optional decorator and metadata.\n *\n * @Annotation\n * @publicApi\n */\nconst Optional = \n// Disable tslint because `InternalInjectFlags` is a const enum which gets inlined.\n// tslint:disable-next-line: no-toplevel-property-access\nattachInjectFlag(makeParamDecorator('Optional'), 8 /* InternalInjectFlags.Optional */);\n/**\n * Self decorator and metadata.\n *\n * @Annotation\n * @publicApi\n */\nconst Self = \n// Disable tslint because `InternalInjectFlags` is a const enum which gets inlined.\n// tslint:disable-next-line: no-toplevel-property-access\nattachInjectFlag(makeParamDecorator('Self'), 2 /* InternalInjectFlags.Self */);\n/**\n * `SkipSelf` decorator and metadata.\n *\n * @Annotation\n * @publicApi\n */\nconst SkipSelf = \n// Disable tslint because `InternalInjectFlags` is a const enum which gets inlined.\n// tslint:disable-next-line: no-toplevel-property-access\nattachInjectFlag(makeParamDecorator('SkipSelf'), 4 /* InternalInjectFlags.SkipSelf */);\n/**\n * Host decorator and metadata.\n *\n * @Annotation\n * @publicApi\n */\nconst Host = \n// Disable tslint because `InternalInjectFlags` is a const enum which gets inlined.\n// tslint:disable-next-line: no-toplevel-property-access\nattachInjectFlag(makeParamDecorator('Host'), 1 /* InternalInjectFlags.Host */);\n\nlet _reflect = null;\nfunction getReflect() {\n return (_reflect = _reflect || new ReflectionCapabilities());\n}\nfunction reflectDependencies(type) {\n return convertDependencies(getReflect().parameters(type));\n}\nfunction convertDependencies(deps) {\n return deps.map(dep => reflectDependency(dep));\n}\nfunction reflectDependency(dep) {\n const meta = {\n token: null,\n attribute: null,\n host: false,\n optional: false,\n self: false,\n skipSelf: false,\n };\n if (Array.isArray(dep) && dep.length > 0) {\n for (let j = 0; j < dep.length; j++) {\n const param = dep[j];\n if (param === undefined) {\n // param may be undefined if type of dep is not set by ngtsc\n continue;\n }\n const proto = Object.getPrototypeOf(param);\n if (param instanceof Optional || proto.ngMetadataName === 'Optional') {\n meta.optional = true;\n }\n else if (param instanceof SkipSelf || proto.ngMetadataName === 'SkipSelf') {\n meta.skipSelf = true;\n }\n else if (param instanceof Self || proto.ngMetadataName === 'Self') {\n meta.self = true;\n }\n else if (param instanceof Host || proto.ngMetadataName === 'Host') {\n meta.host = true;\n }\n else if (param instanceof Inject) {\n meta.token = param.token;\n }\n else if (param instanceof Attribute) {\n if (param.attributeName === undefined) {\n throw new RuntimeError(204 /* RuntimeErrorCode.INVALID_INJECTION_TOKEN */, ngDevMode && `Attribute name must be defined.`);\n }\n meta.attribute = param.attributeName;\n }\n else {\n meta.token = param;\n }\n }\n }\n else if (dep === undefined || (Array.isArray(dep) && dep.length === 0)) {\n meta.token = null;\n }\n else {\n meta.token = dep;\n }\n return meta;\n}\n\n/**\n * Used to resolve resource URLs on `@Component` when used with JIT compilation.\n *\n * Example:\n * ```\n * @Component({\n * selector: 'my-comp',\n * templateUrl: 'my-comp.html', // This requires asynchronous resolution\n * })\n * class MyComponent{\n * }\n *\n * // Calling `renderComponent` will fail because `renderComponent` is a synchronous process\n * // and `MyComponent`'s `@Component.templateUrl` needs to be resolved asynchronously.\n *\n * // Calling `resolveComponentResources()` will resolve `@Component.templateUrl` into\n * // `@Component.template`, which allows `renderComponent` to proceed in a synchronous manner.\n *\n * // Use browser's `fetch()` function as the default resource resolution strategy.\n * resolveComponentResources(fetch).then(() => {\n * // After resolution all URLs have been converted into `template` strings.\n * renderComponent(MyComponent);\n * });\n *\n * ```\n *\n * NOTE: In AOT the resolution happens during compilation, and so there should be no need\n * to call this method outside JIT mode.\n *\n * @param resourceResolver a function which is responsible for returning a `Promise` to the\n * contents of the resolved URL. Browser's `fetch()` method is a good default implementation.\n */\nfunction resolveComponentResources(resourceResolver) {\n // Store all promises which are fetching the resources.\n const componentResolved = [];\n // Cache so that we don't fetch the same resource more than once.\n const urlMap = new Map();\n function cachedResourceResolve(url) {\n let promise = urlMap.get(url);\n if (!promise) {\n const resp = resourceResolver(url);\n urlMap.set(url, promise = resp.then(unwrapResponse));\n }\n return promise;\n }\n componentResourceResolutionQueue.forEach((component, type) => {\n const promises = [];\n if (component.templateUrl) {\n promises.push(cachedResourceResolve(component.templateUrl).then((template) => {\n component.template = template;\n }));\n }\n const styleUrls = component.styleUrls;\n const styles = component.styles || (component.styles = []);\n const styleOffset = component.styles.length;\n styleUrls && styleUrls.forEach((styleUrl, index) => {\n styles.push(''); // pre-allocate array.\n promises.push(cachedResourceResolve(styleUrl).then((style) => {\n styles[styleOffset + index] = style;\n styleUrls.splice(styleUrls.indexOf(styleUrl), 1);\n if (styleUrls.length == 0) {\n component.styleUrls = undefined;\n }\n }));\n });\n const fullyResolved = Promise.all(promises).then(() => componentDefResolved(type));\n componentResolved.push(fullyResolved);\n });\n clearResolutionOfComponentResourcesQueue();\n return Promise.all(componentResolved).then(() => undefined);\n}\nlet componentResourceResolutionQueue = new Map();\n// Track when existing ɵcmp for a Type is waiting on resources.\nconst componentDefPendingResolution = new Set();\nfunction maybeQueueResolutionOfComponentResources(type, metadata) {\n if (componentNeedsResolution(metadata)) {\n componentResourceResolutionQueue.set(type, metadata);\n componentDefPendingResolution.add(type);\n }\n}\nfunction isComponentDefPendingResolution(type) {\n return componentDefPendingResolution.has(type);\n}\nfunction componentNeedsResolution(component) {\n return !!((component.templateUrl && !component.hasOwnProperty('template')) ||\n component.styleUrls && component.styleUrls.length);\n}\nfunction clearResolutionOfComponentResourcesQueue() {\n const old = componentResourceResolutionQueue;\n componentResourceResolutionQueue = new Map();\n return old;\n}\nfunction restoreComponentResolutionQueue(queue) {\n componentDefPendingResolution.clear();\n queue.forEach((_, type) => componentDefPendingResolution.add(type));\n componentResourceResolutionQueue = queue;\n}\nfunction isComponentResourceResolutionQueueEmpty() {\n return componentResourceResolutionQueue.size === 0;\n}\nfunction unwrapResponse(response) {\n return typeof response == 'string' ? response : response.text();\n}\nfunction componentDefResolved(type) {\n componentDefPendingResolution.delete(type);\n}\n\n/**\n * Map of module-id to the corresponding NgModule.\n */\nconst modules = new Map();\n/**\n * Whether to check for duplicate NgModule registrations.\n *\n * This can be disabled for testing.\n */\nlet checkForDuplicateNgModules = true;\nfunction assertSameOrNotExisting(id, type, incoming) {\n if (type && type !== incoming && checkForDuplicateNgModules) {\n throw new Error(`Duplicate module registered for ${id} - ${stringify(type)} vs ${stringify(type.name)}`);\n }\n}\n/**\n * Adds the given NgModule type to Angular's NgModule registry.\n *\n * This is generated as a side-effect of NgModule compilation. Note that the `id` is passed in\n * explicitly and not read from the NgModule definition. This is for two reasons: it avoids a\n * megamorphic read, and in JIT there's a chicken-and-egg problem where the NgModule may not be\n * fully resolved when it's registered.\n *\n * @codeGenApi\n */\nfunction registerNgModuleType(ngModuleType, id) {\n const existing = modules.get(id) || null;\n assertSameOrNotExisting(id, existing, ngModuleType);\n modules.set(id, ngModuleType);\n}\nfunction clearModulesForTest() {\n modules.clear();\n}\nfunction getRegisteredNgModuleType(id) {\n return modules.get(id);\n}\n/**\n * Control whether the NgModule registration system enforces that each NgModule type registered has\n * a unique id.\n *\n * This is useful for testing as the NgModule registry cannot be properly reset between tests with\n * Angular's current API.\n */\nfunction setAllowDuplicateNgModuleIdsForTest(allowDuplicates) {\n checkForDuplicateNgModules = !allowDuplicates;\n}\n\n/**\n * Defines a schema that allows an NgModule to contain the following:\n * - Non-Angular elements named with dash case (`-`).\n * - Element properties named with dash case (`-`).\n * Dash case is the naming convention for custom elements.\n *\n * @publicApi\n */\nconst CUSTOM_ELEMENTS_SCHEMA = {\n name: 'custom-elements'\n};\n/**\n * Defines a schema that allows any property on any element.\n *\n * This schema allows you to ignore the errors related to any unknown elements or properties in a\n * template. The usage of this schema is generally discouraged because it prevents useful validation\n * and may hide real errors in your template. Consider using the `CUSTOM_ELEMENTS_SCHEMA` instead.\n *\n * @publicApi\n */\nconst NO_ERRORS_SCHEMA = {\n name: 'no-errors-schema'\n};\n\nlet shouldThrowErrorOnUnknownElement = false;\n/**\n * Sets a strict mode for JIT-compiled components to throw an error on unknown elements,\n * instead of just logging the error.\n * (for AOT-compiled ones this check happens at build time).\n */\nfunction ɵsetUnknownElementStrictMode(shouldThrow) {\n shouldThrowErrorOnUnknownElement = shouldThrow;\n}\n/**\n * Gets the current value of the strict mode.\n */\nfunction ɵgetUnknownElementStrictMode() {\n return shouldThrowErrorOnUnknownElement;\n}\nlet shouldThrowErrorOnUnknownProperty = false;\n/**\n * Sets a strict mode for JIT-compiled components to throw an error on unknown properties,\n * instead of just logging the error.\n * (for AOT-compiled ones this check happens at build time).\n */\nfunction ɵsetUnknownPropertyStrictMode(shouldThrow) {\n shouldThrowErrorOnUnknownProperty = shouldThrow;\n}\n/**\n * Gets the current value of the strict mode.\n */\nfunction ɵgetUnknownPropertyStrictMode() {\n return shouldThrowErrorOnUnknownProperty;\n}\n/**\n * Validates that the element is known at runtime and produces\n * an error if it's not the case.\n * This check is relevant for JIT-compiled components (for AOT-compiled\n * ones this check happens at build time).\n *\n * The element is considered known if either:\n * - it's a known HTML element\n * - it's a known custom element\n * - the element matches any directive\n * - the element is allowed by one of the schemas\n *\n * @param element Element to validate\n * @param lView An `LView` that represents a current component that is being rendered\n * @param tagName Name of the tag to check\n * @param schemas Array of schemas\n * @param hasDirectives Boolean indicating that the element matches any directive\n */\nfunction validateElementIsKnown(element, lView, tagName, schemas, hasDirectives) {\n // If `schemas` is set to `null`, that's an indication that this Component was compiled in AOT\n // mode where this check happens at compile time. In JIT mode, `schemas` is always present and\n // defined as an array (as an empty array in case `schemas` field is not defined) and we should\n // execute the check below.\n if (schemas === null)\n return;\n // If the element matches any directive, it's considered as valid.\n if (!hasDirectives && tagName !== null) {\n // The element is unknown if it's an instance of HTMLUnknownElement, or it isn't registered\n // as a custom element. Note that unknown elements with a dash in their name won't be instances\n // of HTMLUnknownElement in browsers that support web components.\n const isUnknown = \n // Note that we can't check for `typeof HTMLUnknownElement === 'function'` because\n // Domino doesn't expose HTMLUnknownElement globally.\n (typeof HTMLUnknownElement !== 'undefined' && HTMLUnknownElement &&\n element instanceof HTMLUnknownElement) ||\n (typeof customElements !== 'undefined' && tagName.indexOf('-') > -1 &&\n !customElements.get(tagName));\n if (isUnknown && !matchingSchemas(schemas, tagName)) {\n const isHostStandalone = isHostComponentStandalone(lView);\n const templateLocation = getTemplateLocationDetails(lView);\n const schemas = `'${isHostStandalone ? '@Component' : '@NgModule'}.schemas'`;\n let message = `'${tagName}' is not a known element${templateLocation}:\\n`;\n message += `1. If '${tagName}' is an Angular component, then verify that it is ${isHostStandalone ? 'included in the \\'@Component.imports\\' of this component' :\n 'a part of an @NgModule where this component is declared'}.\\n`;\n if (tagName && tagName.indexOf('-') > -1) {\n message +=\n `2. If '${tagName}' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the ${schemas} of this component to suppress this message.`;\n }\n else {\n message +=\n `2. To allow any element add 'NO_ERRORS_SCHEMA' to the ${schemas} of this component.`;\n }\n if (shouldThrowErrorOnUnknownElement) {\n throw new RuntimeError(304 /* RuntimeErrorCode.UNKNOWN_ELEMENT */, message);\n }\n else {\n console.error(formatRuntimeError(304 /* RuntimeErrorCode.UNKNOWN_ELEMENT */, message));\n }\n }\n }\n}\n/**\n * Validates that the property of the element is known at runtime and returns\n * false if it's not the case.\n * This check is relevant for JIT-compiled components (for AOT-compiled\n * ones this check happens at build time).\n *\n * The property is considered known if either:\n * - it's a known property of the element\n * - the element is allowed by one of the schemas\n * - the property is used for animations\n *\n * @param element Element to validate\n * @param propName Name of the property to check\n * @param tagName Name of the tag hosting the property\n * @param schemas Array of schemas\n */\nfunction isPropertyValid(element, propName, tagName, schemas) {\n // If `schemas` is set to `null`, that's an indication that this Component was compiled in AOT\n // mode where this check happens at compile time. In JIT mode, `schemas` is always present and\n // defined as an array (as an empty array in case `schemas` field is not defined) and we should\n // execute the check below.\n if (schemas === null)\n return true;\n // The property is considered valid if the element matches the schema, it exists on the element,\n // or it is synthetic.\n if (matchingSchemas(schemas, tagName) || propName in element || isAnimationProp(propName)) {\n return true;\n }\n // Note: `typeof Node` returns 'function' in most browsers, but is undefined with domino.\n return typeof Node === 'undefined' || Node === null || !(element instanceof Node);\n}\n/**\n * Logs or throws an error that a property is not supported on an element.\n *\n * @param propName Name of the invalid property\n * @param tagName Name of the tag hosting the property\n * @param nodeType Type of the node hosting the property\n * @param lView An `LView` that represents a current component\n */\nfunction handleUnknownPropertyError(propName, tagName, nodeType, lView) {\n // Special-case a situation when a structural directive is applied to\n // an `<ng-template>` element, for example: `<ng-template *ngIf=\"true\">`.\n // In this case the compiler generates the `ɵɵtemplate` instruction with\n // the `null` as the tagName. The directive matching logic at runtime relies\n // on this effect (see `isInlineTemplate`), thus using the 'ng-template' as\n // a default value of the `tNode.value` is not feasible at this moment.\n if (!tagName && nodeType === 4 /* TNodeType.Container */) {\n tagName = 'ng-template';\n }\n const isHostStandalone = isHostComponentStandalone(lView);\n const templateLocation = getTemplateLocationDetails(lView);\n let message = `Can't bind to '${propName}' since it isn't a known property of '${tagName}'${templateLocation}.`;\n const schemas = `'${isHostStandalone ? '@Component' : '@NgModule'}.schemas'`;\n const importLocation = isHostStandalone ?\n 'included in the \\'@Component.imports\\' of this component' :\n 'a part of an @NgModule where this component is declared';\n if (KNOWN_CONTROL_FLOW_DIRECTIVES.has(propName)) {\n // Most likely this is a control flow directive (such as `*ngIf`) used in\n // a template, but the directive or the `CommonModule` is not imported.\n const correspondingImport = KNOWN_CONTROL_FLOW_DIRECTIVES.get(propName);\n message += `\\nIf the '${propName}' is an Angular control flow directive, ` +\n `please make sure that either the '${correspondingImport}' directive or the 'CommonModule' is ${importLocation}.`;\n }\n else {\n // May be an Angular component, which is not imported/declared?\n message += `\\n1. If '${tagName}' is an Angular component and it has the ` +\n `'${propName}' input, then verify that it is ${importLocation}.`;\n // May be a Web Component?\n if (tagName && tagName.indexOf('-') > -1) {\n message += `\\n2. If '${tagName}' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' ` +\n `to the ${schemas} of this component to suppress this message.`;\n message += `\\n3. To allow any property add 'NO_ERRORS_SCHEMA' to ` +\n `the ${schemas} of this component.`;\n }\n else {\n // If it's expected, the error can be suppressed by the `NO_ERRORS_SCHEMA` schema.\n message += `\\n2. To allow any property add 'NO_ERRORS_SCHEMA' to ` +\n `the ${schemas} of this component.`;\n }\n }\n reportUnknownPropertyError(message);\n}\nfunction reportUnknownPropertyError(message) {\n if (shouldThrowErrorOnUnknownProperty) {\n throw new RuntimeError(303 /* RuntimeErrorCode.UNKNOWN_BINDING */, message);\n }\n else {\n console.error(formatRuntimeError(303 /* RuntimeErrorCode.UNKNOWN_BINDING */, message));\n }\n}\n/**\n * WARNING: this is a **dev-mode only** function (thus should always be guarded by the `ngDevMode`)\n * and must **not** be used in production bundles. The function makes megamorphic reads, which might\n * be too slow for production mode and also it relies on the constructor function being available.\n *\n * Gets a reference to the host component def (where a current component is declared).\n *\n * @param lView An `LView` that represents a current component that is being rendered.\n */\nfunction getDeclarationComponentDef(lView) {\n !ngDevMode && throwError('Must never be called in production mode');\n const declarationLView = lView[DECLARATION_COMPONENT_VIEW];\n const context = declarationLView[CONTEXT];\n // Unable to obtain a context.\n if (!context)\n return null;\n return context.constructor ? getComponentDef(context.constructor) : null;\n}\n/**\n * WARNING: this is a **dev-mode only** function (thus should always be guarded by the `ngDevMode`)\n * and must **not** be used in production bundles. The function makes megamorphic reads, which might\n * be too slow for production mode.\n *\n * Checks if the current component is declared inside of a standalone component template.\n *\n * @param lView An `LView` that represents a current component that is being rendered.\n */\nfunction isHostComponentStandalone(lView) {\n !ngDevMode && throwError('Must never be called in production mode');\n const componentDef = getDeclarationComponentDef(lView);\n // Treat host component as non-standalone if we can't obtain the def.\n return !!componentDef?.standalone;\n}\n/**\n * WARNING: this is a **dev-mode only** function (thus should always be guarded by the `ngDevMode`)\n * and must **not** be used in production bundles. The function makes megamorphic reads, which might\n * be too slow for production mode.\n *\n * Constructs a string describing the location of the host component template. The function is used\n * in dev mode to produce error messages.\n *\n * @param lView An `LView` that represents a current component that is being rendered.\n */\nfunction getTemplateLocationDetails(lView) {\n !ngDevMode && throwError('Must never be called in production mode');\n const hostComponentDef = getDeclarationComponentDef(lView);\n const componentClassName = hostComponentDef?.type?.name;\n return componentClassName ? ` (used in the '${componentClassName}' component template)` : '';\n}\n/**\n * The set of known control flow directives and their corresponding imports.\n * We use this set to produce a more precises error message with a note\n * that the `CommonModule` should also be included.\n */\nconst KNOWN_CONTROL_FLOW_DIRECTIVES = new Map([\n ['ngIf', 'NgIf'], ['ngFor', 'NgFor'], ['ngSwitchCase', 'NgSwitchCase'],\n ['ngSwitchDefault', 'NgSwitchDefault']\n]);\n/**\n * Returns true if the tag name is allowed by specified schemas.\n * @param schemas Array of schemas\n * @param tagName Name of the tag\n */\nfunction matchingSchemas(schemas, tagName) {\n if (schemas !== null) {\n for (let i = 0; i < schemas.length; i++) {\n const schema = schemas[i];\n if (schema === NO_ERRORS_SCHEMA ||\n schema === CUSTOM_ELEMENTS_SCHEMA && tagName && tagName.indexOf('-') > -1) {\n return true;\n }\n }\n }\n return false;\n}\n\n/**\n * The name of an attribute that can be added to the hydration boundary node\n * (component host node) to disable hydration for the content within that boundary.\n */\nconst SKIP_HYDRATION_ATTR_NAME = 'ngSkipHydration';\n/**\n * Helper function to check if a given node has the 'ngSkipHydration' attribute\n */\nfunction hasNgSkipHydrationAttr(tNode) {\n const SKIP_HYDRATION_ATTR_NAME_LOWER_CASE = SKIP_HYDRATION_ATTR_NAME.toLowerCase();\n const attrs = tNode.mergedAttrs;\n if (attrs === null)\n return false;\n // only ever look at the attribute name and skip the values\n for (let i = 0; i < attrs.length; i += 2) {\n const value = attrs[i];\n // This is a marker, which means that the static attributes section is over,\n // so we can exit early.\n if (typeof value === 'number')\n return false;\n if (typeof value === 'string' && value.toLowerCase() === SKIP_HYDRATION_ATTR_NAME_LOWER_CASE) {\n return true;\n }\n }\n return false;\n}\n/**\n * Checks whether a TNode has a flag to indicate that it's a part of\n * a skip hydration block.\n */\nfunction hasInSkipHydrationBlockFlag(tNode) {\n return (tNode.flags & 128 /* TNodeFlags.inSkipHydrationBlock */) === 128 /* TNodeFlags.inSkipHydrationBlock */;\n}\n/**\n * Helper function that determines if a given node is within a skip hydration block\n * by navigating up the TNode tree to see if any parent nodes have skip hydration\n * attribute.\n *\n * TODO(akushnir): this function should contain the logic of `hasInSkipHydrationBlockFlag`,\n * there is no need to traverse parent nodes when we have a TNode flag (which would also\n * make this lookup O(1)).\n */\nfunction isInSkipHydrationBlock(tNode) {\n let currentTNode = tNode.parent;\n while (currentTNode) {\n if (hasNgSkipHydrationAttr(currentTNode)) {\n return true;\n }\n currentTNode = currentTNode.parent;\n }\n return false;\n}\n\n/**\n * Flags for renderer-specific style modifiers.\n * @publicApi\n */\nvar RendererStyleFlags2;\n(function (RendererStyleFlags2) {\n // TODO(misko): This needs to be refactored into a separate file so that it can be imported from\n // `node_manipulation.ts` Currently doing the import cause resolution order to change and fails\n // the tests. The work around is to have hard coded value in `node_manipulation.ts` for now.\n /**\n * Marks a style as important.\n */\n RendererStyleFlags2[RendererStyleFlags2[\"Important\"] = 1] = \"Important\";\n /**\n * Marks a style as using dash case naming (this-is-dash-case).\n */\n RendererStyleFlags2[RendererStyleFlags2[\"DashCase\"] = 2] = \"DashCase\";\n})(RendererStyleFlags2 || (RendererStyleFlags2 = {}));\n\n/**\n * Disallowed strings in the comment.\n *\n * see: https://html.spec.whatwg.org/multipage/syntax.html#comments\n */\nconst COMMENT_DISALLOWED = /^>|^->|<!--|-->|--!>|<!-$/g;\n/**\n * Delimiter in the disallowed strings which needs to be wrapped with zero with character.\n */\nconst COMMENT_DELIMITER = /(<|>)/;\nconst COMMENT_DELIMITER_ESCAPED = '\\u200B$1\\u200B';\n/**\n * Escape the content of comment strings so that it can be safely inserted into a comment node.\n *\n * The issue is that HTML does not specify any way to escape comment end text inside the comment.\n * Consider: `<!-- The way you close a comment is with \">\", and \"->\" at the beginning or by \"-->\" or\n * \"--!>\" at the end. -->`. Above the `\"-->\"` is meant to be text not an end to the comment. This\n * can be created programmatically through DOM APIs. (`<!--` are also disallowed.)\n *\n * see: https://html.spec.whatwg.org/multipage/syntax.html#comments\n *\n * ```\n * div.innerHTML = div.innerHTML\n * ```\n *\n * One would expect that the above code would be safe to do, but it turns out that because comment\n * text is not escaped, the comment may contain text which will prematurely close the comment\n * opening up the application for XSS attack. (In SSR we programmatically create comment nodes which\n * may contain such text and expect them to be safe.)\n *\n * This function escapes the comment text by looking for comment delimiters (`<` and `>`) and\n * surrounding them with `_>_` where the `_` is a zero width space `\\u200B`. The result is that if a\n * comment contains any of the comment start/end delimiters (such as `<!--`, `-->` or `--!>`) the\n * text it will render normally but it will not cause the HTML parser to close/open the comment.\n *\n * @param value text to make safe for comment node by escaping the comment open/close character\n * sequence.\n */\nfunction escapeCommentText(value) {\n return value.replace(COMMENT_DISALLOWED, (text) => text.replace(COMMENT_DELIMITER, COMMENT_DELIMITER_ESCAPED));\n}\n\n// Keeps track of the currently-active LViews.\nconst TRACKED_LVIEWS = new Map();\n// Used for generating unique IDs for LViews.\nlet uniqueIdCounter = 0;\n/** Gets a unique ID that can be assigned to an LView. */\nfunction getUniqueLViewId() {\n return uniqueIdCounter++;\n}\n/** Starts tracking an LView. */\nfunction registerLView(lView) {\n ngDevMode && assertNumber(lView[ID], 'LView must have an ID in order to be registered');\n TRACKED_LVIEWS.set(lView[ID], lView);\n}\n/** Gets an LView by its unique ID. */\nfunction getLViewById(id) {\n ngDevMode && assertNumber(id, 'ID used for LView lookup must be a number');\n return TRACKED_LVIEWS.get(id) || null;\n}\n/** Stops tracking an LView. */\nfunction unregisterLView(lView) {\n ngDevMode && assertNumber(lView[ID], 'Cannot stop tracking an LView that does not have an ID');\n TRACKED_LVIEWS.delete(lView[ID]);\n}\n\n/**\n * The internal view context which is specific to a given DOM element, directive or\n * component instance. Each value in here (besides the LView and element node details)\n * can be present, null or undefined. If undefined then it implies the value has not been\n * looked up yet, otherwise, if null, then a lookup was executed and nothing was found.\n *\n * Each value will get filled when the respective value is examined within the getContext\n * function. The component, element and each directive instance will share the same instance\n * of the context.\n */\nclass LContext {\n /** Component's parent view data. */\n get lView() {\n return getLViewById(this.lViewId);\n }\n constructor(\n /**\n * ID of the component's parent view data.\n */\n lViewId, \n /**\n * The index instance of the node.\n */\n nodeIndex, \n /**\n * The instance of the DOM node that is attached to the lNode.\n */\n native) {\n this.lViewId = lViewId;\n this.nodeIndex = nodeIndex;\n this.native = native;\n }\n}\n\n/**\n * Returns the matching `LContext` data for a given DOM node, directive or component instance.\n *\n * This function will examine the provided DOM element, component, or directive instance\\'s\n * monkey-patched property to derive the `LContext` data. Once called then the monkey-patched\n * value will be that of the newly created `LContext`.\n *\n * If the monkey-patched value is the `LView` instance then the context value for that\n * target will be created and the monkey-patch reference will be updated. Therefore when this\n * function is called it may mutate the provided element\\'s, component\\'s or any of the associated\n * directive\\'s monkey-patch values.\n *\n * If the monkey-patch value is not detected then the code will walk up the DOM until an element\n * is found which contains a monkey-patch reference. When that occurs then the provided element\n * will be updated with a new context (which is then returned). If the monkey-patch value is not\n * detected for a component/directive instance then it will throw an error (all components and\n * directives should be automatically monkey-patched by ivy).\n *\n * @param target Component, Directive or DOM Node.\n */\nfunction getLContext(target) {\n let mpValue = readPatchedData(target);\n if (mpValue) {\n // only when it's an array is it considered an LView instance\n // ... otherwise it's an already constructed LContext instance\n if (isLView(mpValue)) {\n const lView = mpValue;\n let nodeIndex;\n let component = undefined;\n let directives = undefined;\n if (isComponentInstance(target)) {\n nodeIndex = findViaComponent(lView, target);\n if (nodeIndex == -1) {\n throw new Error('The provided component was not found in the application');\n }\n component = target;\n }\n else if (isDirectiveInstance(target)) {\n nodeIndex = findViaDirective(lView, target);\n if (nodeIndex == -1) {\n throw new Error('The provided directive was not found in the application');\n }\n directives = getDirectivesAtNodeIndex(nodeIndex, lView);\n }\n else {\n nodeIndex = findViaNativeElement(lView, target);\n if (nodeIndex == -1) {\n return null;\n }\n }\n // the goal is not to fill the entire context full of data because the lookups\n // are expensive. Instead, only the target data (the element, component, container, ICU\n // expression or directive details) are filled into the context. If called multiple times\n // with different target values then the missing target data will be filled in.\n const native = unwrapRNode(lView[nodeIndex]);\n const existingCtx = readPatchedData(native);\n const context = (existingCtx && !Array.isArray(existingCtx)) ?\n existingCtx :\n createLContext(lView, nodeIndex, native);\n // only when the component has been discovered then update the monkey-patch\n if (component && context.component === undefined) {\n context.component = component;\n attachPatchData(context.component, context);\n }\n // only when the directives have been discovered then update the monkey-patch\n if (directives && context.directives === undefined) {\n context.directives = directives;\n for (let i = 0; i < directives.length; i++) {\n attachPatchData(directives[i], context);\n }\n }\n attachPatchData(context.native, context);\n mpValue = context;\n }\n }\n else {\n const rElement = target;\n ngDevMode && assertDomNode(rElement);\n // if the context is not found then we need to traverse upwards up the DOM\n // to find the nearest element that has already been monkey patched with data\n let parent = rElement;\n while (parent = parent.parentNode) {\n const parentContext = readPatchedData(parent);\n if (parentContext) {\n const lView = Array.isArray(parentContext) ? parentContext : parentContext.lView;\n // the edge of the app was also reached here through another means\n // (maybe because the DOM was changed manually).\n if (!lView) {\n return null;\n }\n const index = findViaNativeElement(lView, rElement);\n if (index >= 0) {\n const native = unwrapRNode(lView[index]);\n const context = createLContext(lView, index, native);\n attachPatchData(native, context);\n mpValue = context;\n break;\n }\n }\n }\n }\n return mpValue || null;\n}\n/**\n * Creates an empty instance of a `LContext` context\n */\nfunction createLContext(lView, nodeIndex, native) {\n return new LContext(lView[ID], nodeIndex, native);\n}\n/**\n * Takes a component instance and returns the view for that component.\n *\n * @param componentInstance\n * @returns The component's view\n */\nfunction getComponentViewByInstance(componentInstance) {\n let patchedData = readPatchedData(componentInstance);\n let lView;\n if (isLView(patchedData)) {\n const contextLView = patchedData;\n const nodeIndex = findViaComponent(contextLView, componentInstance);\n lView = getComponentLViewByIndex(nodeIndex, contextLView);\n const context = createLContext(contextLView, nodeIndex, lView[HOST]);\n context.component = componentInstance;\n attachPatchData(componentInstance, context);\n attachPatchData(context.native, context);\n }\n else {\n const context = patchedData;\n const contextLView = context.lView;\n ngDevMode && assertLView(contextLView);\n lView = getComponentLViewByIndex(context.nodeIndex, contextLView);\n }\n return lView;\n}\n/**\n * This property will be monkey-patched on elements, components and directives.\n */\nconst MONKEY_PATCH_KEY_NAME = '__ngContext__';\n/**\n * Assigns the given data to the given target (which could be a component,\n * directive or DOM node instance) using monkey-patching.\n */\nfunction attachPatchData(target, data) {\n ngDevMode && assertDefined(target, 'Target expected');\n // Only attach the ID of the view in order to avoid memory leaks (see #41047). We only do this\n // for `LView`, because we have control over when an `LView` is created and destroyed, whereas\n // we can't know when to remove an `LContext`.\n if (isLView(data)) {\n target[MONKEY_PATCH_KEY_NAME] = data[ID];\n registerLView(data);\n }\n else {\n target[MONKEY_PATCH_KEY_NAME] = data;\n }\n}\n/**\n * Returns the monkey-patch value data present on the target (which could be\n * a component, directive or a DOM node).\n */\nfunction readPatchedData(target) {\n ngDevMode && assertDefined(target, 'Target expected');\n const data = target[MONKEY_PATCH_KEY_NAME];\n return (typeof data === 'number') ? getLViewById(data) : data || null;\n}\nfunction readPatchedLView(target) {\n const value = readPatchedData(target);\n if (value) {\n return (isLView(value) ? value : value.lView);\n }\n return null;\n}\nfunction isComponentInstance(instance) {\n return instance && instance.constructor && instance.constructor.ɵcmp;\n}\nfunction isDirectiveInstance(instance) {\n return instance && instance.constructor && instance.constructor.ɵdir;\n}\n/**\n * Locates the element within the given LView and returns the matching index\n */\nfunction findViaNativeElement(lView, target) {\n const tView = lView[TVIEW];\n for (let i = HEADER_OFFSET; i < tView.bindingStartIndex; i++) {\n if (unwrapRNode(lView[i]) === target) {\n return i;\n }\n }\n return -1;\n}\n/**\n * Locates the next tNode (child, sibling or parent).\n */\nfunction traverseNextElement(tNode) {\n if (tNode.child) {\n return tNode.child;\n }\n else if (tNode.next) {\n return tNode.next;\n }\n else {\n // Let's take the following template: <div><span>text</span></div><component/>\n // After checking the text node, we need to find the next parent that has a \"next\" TNode,\n // in this case the parent `div`, so that we can find the component.\n while (tNode.parent && !tNode.parent.next) {\n tNode = tNode.parent;\n }\n return tNode.parent && tNode.parent.next;\n }\n}\n/**\n * Locates the component within the given LView and returns the matching index\n */\nfunction findViaComponent(lView, componentInstance) {\n const componentIndices = lView[TVIEW].components;\n if (componentIndices) {\n for (let i = 0; i < componentIndices.length; i++) {\n const elementComponentIndex = componentIndices[i];\n const componentView = getComponentLViewByIndex(elementComponentIndex, lView);\n if (componentView[CONTEXT] === componentInstance) {\n return elementComponentIndex;\n }\n }\n }\n else {\n const rootComponentView = getComponentLViewByIndex(HEADER_OFFSET, lView);\n const rootComponent = rootComponentView[CONTEXT];\n if (rootComponent === componentInstance) {\n // we are dealing with the root element here therefore we know that the\n // element is the very first element after the HEADER data in the lView\n return HEADER_OFFSET;\n }\n }\n return -1;\n}\n/**\n * Locates the directive within the given LView and returns the matching index\n */\nfunction findViaDirective(lView, directiveInstance) {\n // if a directive is monkey patched then it will (by default)\n // have a reference to the LView of the current view. The\n // element bound to the directive being search lives somewhere\n // in the view data. We loop through the nodes and check their\n // list of directives for the instance.\n let tNode = lView[TVIEW].firstChild;\n while (tNode) {\n const directiveIndexStart = tNode.directiveStart;\n const directiveIndexEnd = tNode.directiveEnd;\n for (let i = directiveIndexStart; i < directiveIndexEnd; i++) {\n if (lView[i] === directiveInstance) {\n return tNode.index;\n }\n }\n tNode = traverseNextElement(tNode);\n }\n return -1;\n}\n/**\n * Returns a list of directives applied to a node at a specific index. The list includes\n * directives matched by selector and any host directives, but it excludes components.\n * Use `getComponentAtNodeIndex` to find the component applied to a node.\n *\n * @param nodeIndex The node index\n * @param lView The target view data\n */\nfunction getDirectivesAtNodeIndex(nodeIndex, lView) {\n const tNode = lView[TVIEW].data[nodeIndex];\n if (tNode.directiveStart === 0)\n return EMPTY_ARRAY;\n const results = [];\n for (let i = tNode.directiveStart; i < tNode.directiveEnd; i++) {\n const directiveInstance = lView[i];\n if (!isComponentInstance(directiveInstance)) {\n results.push(directiveInstance);\n }\n }\n return results;\n}\nfunction getComponentAtNodeIndex(nodeIndex, lView) {\n const tNode = lView[TVIEW].data[nodeIndex];\n const { directiveStart, componentOffset } = tNode;\n return componentOffset > -1 ? lView[directiveStart + componentOffset] : null;\n}\n/**\n * Returns a map of local references (local reference name => element or directive instance) that\n * exist on a given element.\n */\nfunction discoverLocalRefs(lView, nodeIndex) {\n const tNode = lView[TVIEW].data[nodeIndex];\n if (tNode && tNode.localNames) {\n const result = {};\n let localIndex = tNode.index + 1;\n for (let i = 0; i < tNode.localNames.length; i += 2) {\n result[tNode.localNames[i]] = lView[localIndex];\n localIndex++;\n }\n return result;\n }\n return null;\n}\n\nlet _icuContainerIterate;\n/**\n * Iterator which provides ability to visit all of the `TIcuContainerNode` root `RNode`s.\n */\nfunction icuContainerIterate(tIcuContainerNode, lView) {\n return _icuContainerIterate(tIcuContainerNode, lView);\n}\n/**\n * Ensures that `IcuContainerVisitor`'s implementation is present.\n *\n * This function is invoked when i18n instruction comes across an ICU. The purpose is to allow the\n * bundler to tree shake ICU logic and only load it if ICU instruction is executed.\n */\nfunction ensureIcuContainerVisitorLoaded(loader) {\n if (_icuContainerIterate === undefined) {\n // Do not inline this function. We want to keep `ensureIcuContainerVisitorLoaded` light, so it\n // can be inlined into call-site.\n _icuContainerIterate = loader();\n }\n}\n\n/**\n * Gets the parent LView of the passed LView, if the PARENT is an LContainer, will get the parent of\n * that LContainer, which is an LView\n * @param lView the lView whose parent to get\n */\nfunction getLViewParent(lView) {\n ngDevMode && assertLView(lView);\n const parent = lView[PARENT];\n return isLContainer(parent) ? parent[PARENT] : parent;\n}\n/**\n * Retrieve the root view from any component or `LView` by walking the parent `LView` until\n * reaching the root `LView`.\n *\n * @param componentOrLView any component or `LView`\n */\nfunction getRootView(componentOrLView) {\n ngDevMode && assertDefined(componentOrLView, 'component');\n let lView = isLView(componentOrLView) ? componentOrLView : readPatchedLView(componentOrLView);\n while (lView && !(lView[FLAGS] & 512 /* LViewFlags.IsRoot */)) {\n lView = getLViewParent(lView);\n }\n ngDevMode && assertLView(lView);\n return lView;\n}\n/**\n * Returns the context information associated with the application where the target is situated. It\n * does this by walking the parent views until it gets to the root view, then getting the context\n * off of that.\n *\n * @param viewOrComponent the `LView` or component to get the root context for.\n */\nfunction getRootContext(viewOrComponent) {\n const rootView = getRootView(viewOrComponent);\n ngDevMode &&\n assertDefined(rootView[CONTEXT], 'Root view has no context. Perhaps it is disconnected?');\n return rootView[CONTEXT];\n}\n/**\n * Gets the first `LContainer` in the LView or `null` if none exists.\n */\nfunction getFirstLContainer(lView) {\n return getNearestLContainer(lView[CHILD_HEAD]);\n}\n/**\n * Gets the next `LContainer` that is a sibling of the given container.\n */\nfunction getNextLContainer(container) {\n return getNearestLContainer(container[NEXT]);\n}\nfunction getNearestLContainer(viewOrContainer) {\n while (viewOrContainer !== null && !isLContainer(viewOrContainer)) {\n viewOrContainer = viewOrContainer[NEXT];\n }\n return viewOrContainer;\n}\n\n/**\n * NOTE: for performance reasons, the possible actions are inlined within the function instead of\n * being passed as an argument.\n */\nfunction applyToElementOrContainer(action, renderer, parent, lNodeToHandle, beforeNode) {\n // If this slot was allocated for a text node dynamically created by i18n, the text node itself\n // won't be created until i18nApply() in the update block, so this node should be skipped.\n // For more info, see \"ICU expressions should work inside an ngTemplateOutlet inside an ngFor\"\n // in `i18n_spec.ts`.\n if (lNodeToHandle != null) {\n let lContainer;\n let isComponent = false;\n // We are expecting an RNode, but in the case of a component or LContainer the `RNode` is\n // wrapped in an array which needs to be unwrapped. We need to know if it is a component and if\n // it has LContainer so that we can process all of those cases appropriately.\n if (isLContainer(lNodeToHandle)) {\n lContainer = lNodeToHandle;\n }\n else if (isLView(lNodeToHandle)) {\n isComponent = true;\n ngDevMode && assertDefined(lNodeToHandle[HOST], 'HOST must be defined for a component LView');\n lNodeToHandle = lNodeToHandle[HOST];\n }\n const rNode = unwrapRNode(lNodeToHandle);\n if (action === 0 /* WalkTNodeTreeAction.Create */ && parent !== null) {\n if (beforeNode == null) {\n nativeAppendChild(renderer, parent, rNode);\n }\n else {\n nativeInsertBefore(renderer, parent, rNode, beforeNode || null, true);\n }\n }\n else if (action === 1 /* WalkTNodeTreeAction.Insert */ && parent !== null) {\n nativeInsertBefore(renderer, parent, rNode, beforeNode || null, true);\n }\n else if (action === 2 /* WalkTNodeTreeAction.Detach */) {\n nativeRemoveNode(renderer, rNode, isComponent);\n }\n else if (action === 3 /* WalkTNodeTreeAction.Destroy */) {\n ngDevMode && ngDevMode.rendererDestroyNode++;\n renderer.destroyNode(rNode);\n }\n if (lContainer != null) {\n applyContainer(renderer, action, lContainer, parent, beforeNode);\n }\n }\n}\nfunction createTextNode(renderer, value) {\n ngDevMode && ngDevMode.rendererCreateTextNode++;\n ngDevMode && ngDevMode.rendererSetText++;\n return renderer.createText(value);\n}\nfunction updateTextNode(renderer, rNode, value) {\n ngDevMode && ngDevMode.rendererSetText++;\n renderer.setValue(rNode, value);\n}\nfunction createCommentNode(renderer, value) {\n ngDevMode && ngDevMode.rendererCreateComment++;\n return renderer.createComment(escapeCommentText(value));\n}\n/**\n * Creates a native element from a tag name, using a renderer.\n * @param renderer A renderer to use\n * @param name the tag name\n * @param namespace Optional namespace for element.\n * @returns the element created\n */\nfunction createElementNode(renderer, name, namespace) {\n ngDevMode && ngDevMode.rendererCreateElement++;\n return renderer.createElement(name, namespace);\n}\n/**\n * Removes all DOM elements associated with a view.\n *\n * Because some root nodes of the view may be containers, we sometimes need\n * to propagate deeply into the nested containers to remove all elements in the\n * views beneath it.\n *\n * @param tView The `TView' of the `LView` from which elements should be added or removed\n * @param lView The view from which elements should be added or removed\n */\nfunction removeViewFromContainer(tView, lView) {\n const renderer = lView[RENDERER];\n applyView(tView, lView, renderer, 2 /* WalkTNodeTreeAction.Detach */, null, null);\n lView[HOST] = null;\n lView[T_HOST] = null;\n}\n/**\n * Adds all DOM elements associated with a view.\n *\n * Because some root nodes of the view may be containers, we sometimes need\n * to propagate deeply into the nested containers to add all elements in the\n * views beneath it.\n *\n * @param tView The `TView' of the `LView` from which elements should be added or removed\n * @param parentTNode The `TNode` where the `LView` should be attached to.\n * @param renderer Current renderer to use for DOM manipulations.\n * @param lView The view from which elements should be added or removed\n * @param parentNativeNode The parent `RElement` where it should be inserted into.\n * @param beforeNode The node before which elements should be added, if insert mode\n */\nfunction addViewToContainer(tView, parentTNode, renderer, lView, parentNativeNode, beforeNode) {\n lView[HOST] = parentNativeNode;\n lView[T_HOST] = parentTNode;\n applyView(tView, lView, renderer, 1 /* WalkTNodeTreeAction.Insert */, parentNativeNode, beforeNode);\n}\n/**\n * Detach a `LView` from the DOM by detaching its nodes.\n *\n * @param tView The `TView' of the `LView` to be detached\n * @param lView the `LView` to be detached.\n */\nfunction renderDetachView(tView, lView) {\n applyView(tView, lView, lView[RENDERER], 2 /* WalkTNodeTreeAction.Detach */, null, null);\n}\n/**\n * Traverses down and up the tree of views and containers to remove listeners and\n * call onDestroy callbacks.\n *\n * Notes:\n * - Because it's used for onDestroy calls, it needs to be bottom-up.\n * - Must process containers instead of their views to avoid splicing\n * when views are destroyed and re-added.\n * - Using a while loop because it's faster than recursion\n * - Destroy only called on movement to sibling or movement to parent (laterally or up)\n *\n * @param rootView The view to destroy\n */\nfunction destroyViewTree(rootView) {\n // If the view has no children, we can clean it up and return early.\n let lViewOrLContainer = rootView[CHILD_HEAD];\n if (!lViewOrLContainer) {\n return cleanUpView(rootView[TVIEW], rootView);\n }\n while (lViewOrLContainer) {\n let next = null;\n if (isLView(lViewOrLContainer)) {\n // If LView, traverse down to child.\n next = lViewOrLContainer[CHILD_HEAD];\n }\n else {\n ngDevMode && assertLContainer(lViewOrLContainer);\n // If container, traverse down to its first LView.\n const firstView = lViewOrLContainer[CONTAINER_HEADER_OFFSET];\n if (firstView)\n next = firstView;\n }\n if (!next) {\n // Only clean up view when moving to the side or up, as destroy hooks\n // should be called in order from the bottom up.\n while (lViewOrLContainer && !lViewOrLContainer[NEXT] && lViewOrLContainer !== rootView) {\n if (isLView(lViewOrLContainer)) {\n cleanUpView(lViewOrLContainer[TVIEW], lViewOrLContainer);\n }\n lViewOrLContainer = lViewOrLContainer[PARENT];\n }\n if (lViewOrLContainer === null)\n lViewOrLContainer = rootView;\n if (isLView(lViewOrLContainer)) {\n cleanUpView(lViewOrLContainer[TVIEW], lViewOrLContainer);\n }\n next = lViewOrLContainer && lViewOrLContainer[NEXT];\n }\n lViewOrLContainer = next;\n }\n}\n/**\n * Inserts a view into a container.\n *\n * This adds the view to the container's array of active views in the correct\n * position. It also adds the view's elements to the DOM if the container isn't a\n * root node of another view (in that case, the view's elements will be added when\n * the container's parent view is added later).\n *\n * @param tView The `TView' of the `LView` to insert\n * @param lView The view to insert\n * @param lContainer The container into which the view should be inserted\n * @param index Which index in the container to insert the child view into\n */\nfunction insertView(tView, lView, lContainer, index) {\n ngDevMode && assertLView(lView);\n ngDevMode && assertLContainer(lContainer);\n const indexInContainer = CONTAINER_HEADER_OFFSET + index;\n const containerLength = lContainer.length;\n if (index > 0) {\n // This is a new view, we need to add it to the children.\n lContainer[indexInContainer - 1][NEXT] = lView;\n }\n if (index < containerLength - CONTAINER_HEADER_OFFSET) {\n lView[NEXT] = lContainer[indexInContainer];\n addToArray(lContainer, CONTAINER_HEADER_OFFSET + index, lView);\n }\n else {\n lContainer.push(lView);\n lView[NEXT] = null;\n }\n lView[PARENT] = lContainer;\n // track views where declaration and insertion points are different\n const declarationLContainer = lView[DECLARATION_LCONTAINER];\n if (declarationLContainer !== null && lContainer !== declarationLContainer) {\n trackMovedView(declarationLContainer, lView);\n }\n // notify query that a new view has been added\n const lQueries = lView[QUERIES];\n if (lQueries !== null) {\n lQueries.insertView(tView);\n }\n // Sets the attached flag\n lView[FLAGS] |= 128 /* LViewFlags.Attached */;\n}\n/**\n * Track views created from the declaration container (TemplateRef) and inserted into a\n * different LContainer.\n */\nfunction trackMovedView(declarationContainer, lView) {\n ngDevMode && assertDefined(lView, 'LView required');\n ngDevMode && assertLContainer(declarationContainer);\n const movedViews = declarationContainer[MOVED_VIEWS];\n const insertedLContainer = lView[PARENT];\n ngDevMode && assertLContainer(insertedLContainer);\n const insertedComponentLView = insertedLContainer[PARENT][DECLARATION_COMPONENT_VIEW];\n ngDevMode && assertDefined(insertedComponentLView, 'Missing insertedComponentLView');\n const declaredComponentLView = lView[DECLARATION_COMPONENT_VIEW];\n ngDevMode && assertDefined(declaredComponentLView, 'Missing declaredComponentLView');\n if (declaredComponentLView !== insertedComponentLView) {\n // At this point the declaration-component is not same as insertion-component; this means that\n // this is a transplanted view. Mark the declared lView as having transplanted views so that\n // those views can participate in CD.\n declarationContainer[HAS_TRANSPLANTED_VIEWS] = true;\n }\n if (movedViews === null) {\n declarationContainer[MOVED_VIEWS] = [lView];\n }\n else {\n movedViews.push(lView);\n }\n}\nfunction detachMovedView(declarationContainer, lView) {\n ngDevMode && assertLContainer(declarationContainer);\n ngDevMode &&\n assertDefined(declarationContainer[MOVED_VIEWS], 'A projected view should belong to a non-empty projected views collection');\n const movedViews = declarationContainer[MOVED_VIEWS];\n const declarationViewIndex = movedViews.indexOf(lView);\n const insertionLContainer = lView[PARENT];\n ngDevMode && assertLContainer(insertionLContainer);\n // If the view was marked for refresh but then detached before it was checked (where the flag\n // would be cleared and the counter decremented), we need to update the status here.\n clearViewRefreshFlag(lView);\n movedViews.splice(declarationViewIndex, 1);\n}\n/**\n * Detaches a view from a container.\n *\n * This method removes the view from the container's array of active views. It also\n * removes the view's elements from the DOM.\n *\n * @param lContainer The container from which to detach a view\n * @param removeIndex The index of the view to detach\n * @returns Detached LView instance.\n */\nfunction detachView(lContainer, removeIndex) {\n if (lContainer.length <= CONTAINER_HEADER_OFFSET)\n return;\n const indexInContainer = CONTAINER_HEADER_OFFSET + removeIndex;\n const viewToDetach = lContainer[indexInContainer];\n if (viewToDetach) {\n const declarationLContainer = viewToDetach[DECLARATION_LCONTAINER];\n if (declarationLContainer !== null && declarationLContainer !== lContainer) {\n detachMovedView(declarationLContainer, viewToDetach);\n }\n if (removeIndex > 0) {\n lContainer[indexInContainer - 1][NEXT] = viewToDetach[NEXT];\n }\n const removedLView = removeFromArray(lContainer, CONTAINER_HEADER_OFFSET + removeIndex);\n removeViewFromContainer(viewToDetach[TVIEW], viewToDetach);\n // notify query that a view has been removed\n const lQueries = removedLView[QUERIES];\n if (lQueries !== null) {\n lQueries.detachView(removedLView[TVIEW]);\n }\n viewToDetach[PARENT] = null;\n viewToDetach[NEXT] = null;\n // Unsets the attached flag\n viewToDetach[FLAGS] &= ~128 /* LViewFlags.Attached */;\n }\n return viewToDetach;\n}\n/**\n * A standalone function which destroys an LView,\n * conducting clean up (e.g. removing listeners, calling onDestroys).\n *\n * @param tView The `TView' of the `LView` to be destroyed\n * @param lView The view to be destroyed.\n */\nfunction destroyLView(tView, lView) {\n if (!(lView[FLAGS] & 256 /* LViewFlags.Destroyed */)) {\n const renderer = lView[RENDERER];\n lView[REACTIVE_TEMPLATE_CONSUMER]?.destroy();\n lView[REACTIVE_HOST_BINDING_CONSUMER]?.destroy();\n if (renderer.destroyNode) {\n applyView(tView, lView, renderer, 3 /* WalkTNodeTreeAction.Destroy */, null, null);\n }\n destroyViewTree(lView);\n }\n}\n/**\n * Calls onDestroys hooks for all directives and pipes in a given view and then removes all\n * listeners. Listeners are removed as the last step so events delivered in the onDestroys hooks\n * can be propagated to @Output listeners.\n *\n * @param tView `TView` for the `LView` to clean up.\n * @param lView The LView to clean up\n */\nfunction cleanUpView(tView, lView) {\n if (!(lView[FLAGS] & 256 /* LViewFlags.Destroyed */)) {\n // Usually the Attached flag is removed when the view is detached from its parent, however\n // if it's a root view, the flag won't be unset hence why we're also removing on destroy.\n lView[FLAGS] &= ~128 /* LViewFlags.Attached */;\n // Mark the LView as destroyed *before* executing the onDestroy hooks. An onDestroy hook\n // runs arbitrary user code, which could include its own `viewRef.destroy()` (or similar). If\n // We don't flag the view as destroyed before the hooks, this could lead to an infinite loop.\n // This also aligns with the ViewEngine behavior. It also means that the onDestroy hook is\n // really more of an \"afterDestroy\" hook if you think about it.\n lView[FLAGS] |= 256 /* LViewFlags.Destroyed */;\n executeOnDestroys(tView, lView);\n processCleanups(tView, lView);\n // For component views only, the local renderer is destroyed at clean up time.\n if (lView[TVIEW].type === 1 /* TViewType.Component */) {\n ngDevMode && ngDevMode.rendererDestroy++;\n lView[RENDERER].destroy();\n }\n const declarationContainer = lView[DECLARATION_LCONTAINER];\n // we are dealing with an embedded view that is still inserted into a container\n if (declarationContainer !== null && isLContainer(lView[PARENT])) {\n // and this is a projected view\n if (declarationContainer !== lView[PARENT]) {\n detachMovedView(declarationContainer, lView);\n }\n // For embedded views still attached to a container: remove query result from this view.\n const lQueries = lView[QUERIES];\n if (lQueries !== null) {\n lQueries.detachView(tView);\n }\n }\n // Unregister the view once everything else has been cleaned up.\n unregisterLView(lView);\n }\n}\n/** Removes listeners and unsubscribes from output subscriptions */\nfunction processCleanups(tView, lView) {\n const tCleanup = tView.cleanup;\n const lCleanup = lView[CLEANUP];\n if (tCleanup !== null) {\n for (let i = 0; i < tCleanup.length - 1; i += 2) {\n if (typeof tCleanup[i] === 'string') {\n // This is a native DOM listener. It will occupy 4 entries in the TCleanup array (hence i +=\n // 2 at the end of this block).\n const targetIdx = tCleanup[i + 3];\n ngDevMode && assertNumber(targetIdx, 'cleanup target must be a number');\n if (targetIdx >= 0) {\n // unregister\n lCleanup[targetIdx]();\n }\n else {\n // Subscription\n lCleanup[-targetIdx].unsubscribe();\n }\n i += 2;\n }\n else {\n // This is a cleanup function that is grouped with the index of its context\n const context = lCleanup[tCleanup[i + 1]];\n tCleanup[i].call(context);\n }\n }\n }\n if (lCleanup !== null) {\n lView[CLEANUP] = null;\n }\n const destroyHooks = lView[ON_DESTROY_HOOKS];\n if (destroyHooks !== null) {\n // Reset the ON_DESTROY_HOOKS array before iterating over it to prevent hooks that unregister\n // themselves from mutating the array during iteration.\n lView[ON_DESTROY_HOOKS] = null;\n for (let i = 0; i < destroyHooks.length; i++) {\n const destroyHooksFn = destroyHooks[i];\n ngDevMode && assertFunction(destroyHooksFn, 'Expecting destroy hook to be a function.');\n destroyHooksFn();\n }\n }\n}\n/** Calls onDestroy hooks for this view */\nfunction executeOnDestroys(tView, lView) {\n let destroyHooks;\n if (tView != null && (destroyHooks = tView.destroyHooks) != null) {\n for (let i = 0; i < destroyHooks.length; i += 2) {\n const context = lView[destroyHooks[i]];\n // Only call the destroy hook if the context has been requested.\n if (!(context instanceof NodeInjectorFactory)) {\n const toCall = destroyHooks[i + 1];\n if (Array.isArray(toCall)) {\n for (let j = 0; j < toCall.length; j += 2) {\n const callContext = context[toCall[j]];\n const hook = toCall[j + 1];\n profiler(4 /* ProfilerEvent.LifecycleHookStart */, callContext, hook);\n try {\n hook.call(callContext);\n }\n finally {\n profiler(5 /* ProfilerEvent.LifecycleHookEnd */, callContext, hook);\n }\n }\n }\n else {\n profiler(4 /* ProfilerEvent.LifecycleHookStart */, context, toCall);\n try {\n toCall.call(context);\n }\n finally {\n profiler(5 /* ProfilerEvent.LifecycleHookEnd */, context, toCall);\n }\n }\n }\n }\n }\n}\n/**\n * Returns a native element if a node can be inserted into the given parent.\n *\n * There are two reasons why we may not be able to insert a element immediately.\n * - Projection: When creating a child content element of a component, we have to skip the\n * insertion because the content of a component will be projected.\n * `<component><content>delayed due to projection</content></component>`\n * - Parent container is disconnected: This can happen when we are inserting a view into\n * parent container, which itself is disconnected. For example the parent container is part\n * of a View which has not be inserted or is made for projection but has not been inserted\n * into destination.\n *\n * @param tView: Current `TView`.\n * @param tNode: `TNode` for which we wish to retrieve render parent.\n * @param lView: Current `LView`.\n */\nfunction getParentRElement(tView, tNode, lView) {\n return getClosestRElement(tView, tNode.parent, lView);\n}\n/**\n * Get closest `RElement` or `null` if it can't be found.\n *\n * If `TNode` is `TNodeType.Element` => return `RElement` at `LView[tNode.index]` location.\n * If `TNode` is `TNodeType.ElementContainer|IcuContain` => return the parent (recursively).\n * If `TNode` is `null` then return host `RElement`:\n * - return `null` if projection\n * - return `null` if parent container is disconnected (we have no parent.)\n *\n * @param tView: Current `TView`.\n * @param tNode: `TNode` for which we wish to retrieve `RElement` (or `null` if host element is\n * needed).\n * @param lView: Current `LView`.\n * @returns `null` if the `RElement` can't be determined at this time (no parent / projection)\n */\nfunction getClosestRElement(tView, tNode, lView) {\n let parentTNode = tNode;\n // Skip over element and ICU containers as those are represented by a comment node and\n // can't be used as a render parent.\n while (parentTNode !== null &&\n (parentTNode.type & (8 /* TNodeType.ElementContainer */ | 32 /* TNodeType.Icu */))) {\n tNode = parentTNode;\n parentTNode = tNode.parent;\n }\n // If the parent tNode is null, then we are inserting across views: either into an embedded view\n // or a component view.\n if (parentTNode === null) {\n // We are inserting a root element of the component view into the component host element and\n // it should always be eager.\n return lView[HOST];\n }\n else {\n ngDevMode && assertTNodeType(parentTNode, 3 /* TNodeType.AnyRNode */ | 4 /* TNodeType.Container */);\n const { componentOffset } = parentTNode;\n if (componentOffset > -1) {\n ngDevMode && assertTNodeForLView(parentTNode, lView);\n const { encapsulation } = tView.data[parentTNode.directiveStart + componentOffset];\n // We've got a parent which is an element in the current view. We just need to verify if the\n // parent element is not a component. Component's content nodes are not inserted immediately\n // because they will be projected, and so doing insert at this point would be wasteful.\n // Since the projection would then move it to its final destination. Note that we can't\n // make this assumption when using the Shadow DOM, because the native projection placeholders\n // (<content> or <slot>) have to be in place as elements are being inserted.\n if (encapsulation === ViewEncapsulation$1.None ||\n encapsulation === ViewEncapsulation$1.Emulated) {\n return null;\n }\n }\n return getNativeByTNode(parentTNode, lView);\n }\n}\n/**\n * Inserts a native node before another native node for a given parent.\n * This is a utility function that can be used when native nodes were determined.\n */\nfunction nativeInsertBefore(renderer, parent, child, beforeNode, isMove) {\n ngDevMode && ngDevMode.rendererInsertBefore++;\n renderer.insertBefore(parent, child, beforeNode, isMove);\n}\nfunction nativeAppendChild(renderer, parent, child) {\n ngDevMode && ngDevMode.rendererAppendChild++;\n ngDevMode && assertDefined(parent, 'parent node must be defined');\n renderer.appendChild(parent, child);\n}\nfunction nativeAppendOrInsertBefore(renderer, parent, child, beforeNode, isMove) {\n if (beforeNode !== null) {\n nativeInsertBefore(renderer, parent, child, beforeNode, isMove);\n }\n else {\n nativeAppendChild(renderer, parent, child);\n }\n}\n/** Removes a node from the DOM given its native parent. */\nfunction nativeRemoveChild(renderer, parent, child, isHostElement) {\n renderer.removeChild(parent, child, isHostElement);\n}\n/** Checks if an element is a `<template>` node. */\nfunction isTemplateNode(node) {\n return node.tagName === 'TEMPLATE' && node.content !== undefined;\n}\n/**\n * Returns a native parent of a given native node.\n */\nfunction nativeParentNode(renderer, node) {\n return renderer.parentNode(node);\n}\n/**\n * Returns a native sibling of a given native node.\n */\nfunction nativeNextSibling(renderer, node) {\n return renderer.nextSibling(node);\n}\n/**\n * Find a node in front of which `currentTNode` should be inserted.\n *\n * This method determines the `RNode` in front of which we should insert the `currentRNode`. This\n * takes `TNode.insertBeforeIndex` into account if i18n code has been invoked.\n *\n * @param parentTNode parent `TNode`\n * @param currentTNode current `TNode` (The node which we would like to insert into the DOM)\n * @param lView current `LView`\n */\nfunction getInsertInFrontOfRNode(parentTNode, currentTNode, lView) {\n return _getInsertInFrontOfRNodeWithI18n(parentTNode, currentTNode, lView);\n}\n/**\n * Find a node in front of which `currentTNode` should be inserted. (Does not take i18n into\n * account)\n *\n * This method determines the `RNode` in front of which we should insert the `currentRNode`. This\n * does not take `TNode.insertBeforeIndex` into account.\n *\n * @param parentTNode parent `TNode`\n * @param currentTNode current `TNode` (The node which we would like to insert into the DOM)\n * @param lView current `LView`\n */\nfunction getInsertInFrontOfRNodeWithNoI18n(parentTNode, currentTNode, lView) {\n if (parentTNode.type & (8 /* TNodeType.ElementContainer */ | 32 /* TNodeType.Icu */)) {\n return getNativeByTNode(parentTNode, lView);\n }\n return null;\n}\n/**\n * Tree shakable boundary for `getInsertInFrontOfRNodeWithI18n` function.\n *\n * This function will only be set if i18n code runs.\n */\nlet _getInsertInFrontOfRNodeWithI18n = getInsertInFrontOfRNodeWithNoI18n;\n/**\n * Tree shakable boundary for `processI18nInsertBefore` function.\n *\n * This function will only be set if i18n code runs.\n */\nlet _processI18nInsertBefore;\nfunction setI18nHandling(getInsertInFrontOfRNodeWithI18n, processI18nInsertBefore) {\n _getInsertInFrontOfRNodeWithI18n = getInsertInFrontOfRNodeWithI18n;\n _processI18nInsertBefore = processI18nInsertBefore;\n}\n/**\n * Appends the `child` native node (or a collection of nodes) to the `parent`.\n *\n * @param tView The `TView' to be appended\n * @param lView The current LView\n * @param childRNode The native child (or children) that should be appended\n * @param childTNode The TNode of the child element\n */\nfunction appendChild(tView, lView, childRNode, childTNode) {\n const parentRNode = getParentRElement(tView, childTNode, lView);\n const renderer = lView[RENDERER];\n const parentTNode = childTNode.parent || lView[T_HOST];\n const anchorNode = getInsertInFrontOfRNode(parentTNode, childTNode, lView);\n if (parentRNode != null) {\n if (Array.isArray(childRNode)) {\n for (let i = 0; i < childRNode.length; i++) {\n nativeAppendOrInsertBefore(renderer, parentRNode, childRNode[i], anchorNode, false);\n }\n }\n else {\n nativeAppendOrInsertBefore(renderer, parentRNode, childRNode, anchorNode, false);\n }\n }\n _processI18nInsertBefore !== undefined &&\n _processI18nInsertBefore(renderer, childTNode, lView, childRNode, parentRNode);\n}\n/**\n * Returns the first native node for a given LView, starting from the provided TNode.\n *\n * Native nodes are returned in the order in which those appear in the native tree (DOM).\n */\nfunction getFirstNativeNode(lView, tNode) {\n if (tNode !== null) {\n ngDevMode &&\n assertTNodeType(tNode, 3 /* TNodeType.AnyRNode */ | 12 /* TNodeType.AnyContainer */ | 32 /* TNodeType.Icu */ | 16 /* TNodeType.Projection */);\n const tNodeType = tNode.type;\n if (tNodeType & 3 /* TNodeType.AnyRNode */) {\n return getNativeByTNode(tNode, lView);\n }\n else if (tNodeType & 4 /* TNodeType.Container */) {\n return getBeforeNodeForView(-1, lView[tNode.index]);\n }\n else if (tNodeType & 8 /* TNodeType.ElementContainer */) {\n const elIcuContainerChild = tNode.child;\n if (elIcuContainerChild !== null) {\n return getFirstNativeNode(lView, elIcuContainerChild);\n }\n else {\n const rNodeOrLContainer = lView[tNode.index];\n if (isLContainer(rNodeOrLContainer)) {\n return getBeforeNodeForView(-1, rNodeOrLContainer);\n }\n else {\n return unwrapRNode(rNodeOrLContainer);\n }\n }\n }\n else if (tNodeType & 32 /* TNodeType.Icu */) {\n let nextRNode = icuContainerIterate(tNode, lView);\n let rNode = nextRNode();\n // If the ICU container has no nodes, than we use the ICU anchor as the node.\n return rNode || unwrapRNode(lView[tNode.index]);\n }\n else {\n const projectionNodes = getProjectionNodes(lView, tNode);\n if (projectionNodes !== null) {\n if (Array.isArray(projectionNodes)) {\n return projectionNodes[0];\n }\n const parentView = getLViewParent(lView[DECLARATION_COMPONENT_VIEW]);\n ngDevMode && assertParentView(parentView);\n return getFirstNativeNode(parentView, projectionNodes);\n }\n else {\n return getFirstNativeNode(lView, tNode.next);\n }\n }\n }\n return null;\n}\nfunction getProjectionNodes(lView, tNode) {\n if (tNode !== null) {\n const componentView = lView[DECLARATION_COMPONENT_VIEW];\n const componentHost = componentView[T_HOST];\n const slotIdx = tNode.projection;\n ngDevMode && assertProjectionSlots(lView);\n return componentHost.projection[slotIdx];\n }\n return null;\n}\nfunction getBeforeNodeForView(viewIndexInContainer, lContainer) {\n const nextViewIndex = CONTAINER_HEADER_OFFSET + viewIndexInContainer + 1;\n if (nextViewIndex < lContainer.length) {\n const lView = lContainer[nextViewIndex];\n const firstTNodeOfView = lView[TVIEW].firstChild;\n if (firstTNodeOfView !== null) {\n return getFirstNativeNode(lView, firstTNodeOfView);\n }\n }\n return lContainer[NATIVE];\n}\n/**\n * Removes a native node itself using a given renderer. To remove the node we are looking up its\n * parent from the native tree as not all platforms / browsers support the equivalent of\n * node.remove().\n *\n * @param renderer A renderer to be used\n * @param rNode The native node that should be removed\n * @param isHostElement A flag indicating if a node to be removed is a host of a component.\n */\nfunction nativeRemoveNode(renderer, rNode, isHostElement) {\n ngDevMode && ngDevMode.rendererRemoveNode++;\n const nativeParent = nativeParentNode(renderer, rNode);\n if (nativeParent) {\n nativeRemoveChild(renderer, nativeParent, rNode, isHostElement);\n }\n}\n/**\n * Clears the contents of a given RElement.\n *\n * @param rElement the native RElement to be cleared\n */\nfunction clearElementContents(rElement) {\n rElement.textContent = '';\n}\n/**\n * Performs the operation of `action` on the node. Typically this involves inserting or removing\n * nodes on the LView or projection boundary.\n */\nfunction applyNodes(renderer, action, tNode, lView, parentRElement, beforeNode, isProjection) {\n while (tNode != null) {\n ngDevMode && assertTNodeForLView(tNode, lView);\n ngDevMode &&\n assertTNodeType(tNode, 3 /* TNodeType.AnyRNode */ | 12 /* TNodeType.AnyContainer */ | 16 /* TNodeType.Projection */ | 32 /* TNodeType.Icu */);\n const rawSlotValue = lView[tNode.index];\n const tNodeType = tNode.type;\n if (isProjection) {\n if (action === 0 /* WalkTNodeTreeAction.Create */) {\n rawSlotValue && attachPatchData(unwrapRNode(rawSlotValue), lView);\n tNode.flags |= 2 /* TNodeFlags.isProjected */;\n }\n }\n if ((tNode.flags & 32 /* TNodeFlags.isDetached */) !== 32 /* TNodeFlags.isDetached */) {\n if (tNodeType & 8 /* TNodeType.ElementContainer */) {\n applyNodes(renderer, action, tNode.child, lView, parentRElement, beforeNode, false);\n applyToElementOrContainer(action, renderer, parentRElement, rawSlotValue, beforeNode);\n }\n else if (tNodeType & 32 /* TNodeType.Icu */) {\n const nextRNode = icuContainerIterate(tNode, lView);\n let rNode;\n while (rNode = nextRNode()) {\n applyToElementOrContainer(action, renderer, parentRElement, rNode, beforeNode);\n }\n applyToElementOrContainer(action, renderer, parentRElement, rawSlotValue, beforeNode);\n }\n else if (tNodeType & 16 /* TNodeType.Projection */) {\n applyProjectionRecursive(renderer, action, lView, tNode, parentRElement, beforeNode);\n }\n else {\n ngDevMode && assertTNodeType(tNode, 3 /* TNodeType.AnyRNode */ | 4 /* TNodeType.Container */);\n applyToElementOrContainer(action, renderer, parentRElement, rawSlotValue, beforeNode);\n }\n }\n tNode = isProjection ? tNode.projectionNext : tNode.next;\n }\n}\nfunction applyView(tView, lView, renderer, action, parentRElement, beforeNode) {\n applyNodes(renderer, action, tView.firstChild, lView, parentRElement, beforeNode, false);\n}\n/**\n * `applyProjection` performs operation on the projection.\n *\n * Inserting a projection requires us to locate the projected nodes from the parent component. The\n * complication is that those nodes themselves could be re-projected from their parent component.\n *\n * @param tView The `TView` of `LView` which needs to be inserted, detached, destroyed\n * @param lView The `LView` which needs to be inserted, detached, destroyed.\n * @param tProjectionNode node to project\n */\nfunction applyProjection(tView, lView, tProjectionNode) {\n const renderer = lView[RENDERER];\n const parentRNode = getParentRElement(tView, tProjectionNode, lView);\n const parentTNode = tProjectionNode.parent || lView[T_HOST];\n let beforeNode = getInsertInFrontOfRNode(parentTNode, tProjectionNode, lView);\n applyProjectionRecursive(renderer, 0 /* WalkTNodeTreeAction.Create */, lView, tProjectionNode, parentRNode, beforeNode);\n}\n/**\n * `applyProjectionRecursive` performs operation on the projection specified by `action` (insert,\n * detach, destroy)\n *\n * Inserting a projection requires us to locate the projected nodes from the parent component. The\n * complication is that those nodes themselves could be re-projected from their parent component.\n *\n * @param renderer Render to use\n * @param action action to perform (insert, detach, destroy)\n * @param lView The LView which needs to be inserted, detached, destroyed.\n * @param tProjectionNode node to project\n * @param parentRElement parent DOM element for insertion/removal.\n * @param beforeNode Before which node the insertions should happen.\n */\nfunction applyProjectionRecursive(renderer, action, lView, tProjectionNode, parentRElement, beforeNode) {\n const componentLView = lView[DECLARATION_COMPONENT_VIEW];\n const componentNode = componentLView[T_HOST];\n ngDevMode &&\n assertEqual(typeof tProjectionNode.projection, 'number', 'expecting projection index');\n const nodeToProjectOrRNodes = componentNode.projection[tProjectionNode.projection];\n if (Array.isArray(nodeToProjectOrRNodes)) {\n // This should not exist, it is a bit of a hack. When we bootstrap a top level node and we\n // need to support passing projectable nodes, so we cheat and put them in the TNode\n // of the Host TView. (Yes we put instance info at the T Level). We can get away with it\n // because we know that that TView is not shared and therefore it will not be a problem.\n // This should be refactored and cleaned up.\n for (let i = 0; i < nodeToProjectOrRNodes.length; i++) {\n const rNode = nodeToProjectOrRNodes[i];\n applyToElementOrContainer(action, renderer, parentRElement, rNode, beforeNode);\n }\n }\n else {\n let nodeToProject = nodeToProjectOrRNodes;\n const projectedComponentLView = componentLView[PARENT];\n // If a parent <ng-content> is located within a skip hydration block,\n // annotate an actual node that is being projected with the same flag too.\n if (hasInSkipHydrationBlockFlag(tProjectionNode)) {\n nodeToProject.flags |= 128 /* TNodeFlags.inSkipHydrationBlock */;\n }\n applyNodes(renderer, action, nodeToProject, projectedComponentLView, parentRElement, beforeNode, true);\n }\n}\n/**\n * `applyContainer` performs an operation on the container and its views as specified by\n * `action` (insert, detach, destroy)\n *\n * Inserting a Container is complicated by the fact that the container may have Views which\n * themselves have containers or projections.\n *\n * @param renderer Renderer to use\n * @param action action to perform (insert, detach, destroy)\n * @param lContainer The LContainer which needs to be inserted, detached, destroyed.\n * @param parentRElement parent DOM element for insertion/removal.\n * @param beforeNode Before which node the insertions should happen.\n */\nfunction applyContainer(renderer, action, lContainer, parentRElement, beforeNode) {\n ngDevMode && assertLContainer(lContainer);\n const anchor = lContainer[NATIVE]; // LContainer has its own before node.\n const native = unwrapRNode(lContainer);\n // An LContainer can be created dynamically on any node by injecting ViewContainerRef.\n // Asking for a ViewContainerRef on an element will result in a creation of a separate anchor\n // node (comment in the DOM) that will be different from the LContainer's host node. In this\n // particular case we need to execute action on 2 nodes:\n // - container's host node (this is done in the executeActionOnElementOrContainer)\n // - container's host node (this is done here)\n if (anchor !== native) {\n // This is very strange to me (Misko). I would expect that the native is same as anchor. I\n // don't see a reason why they should be different, but they are.\n //\n // If they are we need to process the second anchor as well.\n applyToElementOrContainer(action, renderer, parentRElement, anchor, beforeNode);\n }\n for (let i = CONTAINER_HEADER_OFFSET; i < lContainer.length; i++) {\n const lView = lContainer[i];\n applyView(lView[TVIEW], lView, renderer, action, parentRElement, anchor);\n }\n}\n/**\n * Writes class/style to element.\n *\n * @param renderer Renderer to use.\n * @param isClassBased `true` if it should be written to `class` (`false` to write to `style`)\n * @param rNode The Node to write to.\n * @param prop Property to write to. This would be the class/style name.\n * @param value Value to write. If `null`/`undefined`/`false` this is considered a remove (set/add\n * otherwise).\n */\nfunction applyStyling(renderer, isClassBased, rNode, prop, value) {\n if (isClassBased) {\n // We actually want JS true/false here because any truthy value should add the class\n if (!value) {\n ngDevMode && ngDevMode.rendererRemoveClass++;\n renderer.removeClass(rNode, prop);\n }\n else {\n ngDevMode && ngDevMode.rendererAddClass++;\n renderer.addClass(rNode, prop);\n }\n }\n else {\n let flags = prop.indexOf('-') === -1 ? undefined : RendererStyleFlags2.DashCase;\n if (value == null /** || value === undefined */) {\n ngDevMode && ngDevMode.rendererRemoveStyle++;\n renderer.removeStyle(rNode, prop, flags);\n }\n else {\n // A value is important if it ends with `!important`. The style\n // parser strips any semicolons at the end of the value.\n const isImportant = typeof value === 'string' ? value.endsWith('!important') : false;\n if (isImportant) {\n // !important has to be stripped from the value for it to be valid.\n value = value.slice(0, -10);\n flags |= RendererStyleFlags2.Important;\n }\n ngDevMode && ngDevMode.rendererSetStyle++;\n renderer.setStyle(rNode, prop, value, flags);\n }\n }\n}\n/**\n * Write `cssText` to `RElement`.\n *\n * This function does direct write without any reconciliation. Used for writing initial values, so\n * that static styling values do not pull in the style parser.\n *\n * @param renderer Renderer to use\n * @param element The element which needs to be updated.\n * @param newValue The new class list to write.\n */\nfunction writeDirectStyle(renderer, element, newValue) {\n ngDevMode && assertString(newValue, '\\'newValue\\' should be a string');\n renderer.setAttribute(element, 'style', newValue);\n ngDevMode && ngDevMode.rendererSetStyle++;\n}\n/**\n * Write `className` to `RElement`.\n *\n * This function does direct write without any reconciliation. Used for writing initial values, so\n * that static styling values do not pull in the style parser.\n *\n * @param renderer Renderer to use\n * @param element The element which needs to be updated.\n * @param newValue The new class list to write.\n */\nfunction writeDirectClass(renderer, element, newValue) {\n ngDevMode && assertString(newValue, '\\'newValue\\' should be a string');\n if (newValue === '') {\n // There are tests in `google3` which expect `element.getAttribute('class')` to be `null`.\n renderer.removeAttribute(element, 'class');\n }\n else {\n renderer.setAttribute(element, 'class', newValue);\n }\n ngDevMode && ngDevMode.rendererSetClassName++;\n}\n/** Sets up the static DOM attributes on an `RNode`. */\nfunction setupStaticAttributes(renderer, element, tNode) {\n const { mergedAttrs, classes, styles } = tNode;\n if (mergedAttrs !== null) {\n setUpAttributes(renderer, element, mergedAttrs);\n }\n if (classes !== null) {\n writeDirectClass(renderer, element, classes);\n }\n if (styles !== null) {\n writeDirectStyle(renderer, element, styles);\n }\n}\n\n/**\n * @fileoverview\n * A module to facilitate use of a Trusted Types policy internally within\n * Angular. It lazily constructs the Trusted Types policy, providing helper\n * utilities for promoting strings to Trusted Types. When Trusted Types are not\n * available, strings are used as a fallback.\n * @security All use of this module is security-sensitive and should go through\n * security review.\n */\n/**\n * The Trusted Types policy, or null if Trusted Types are not\n * enabled/supported, or undefined if the policy has not been created yet.\n */\nlet policy$1;\n/**\n * Returns the Trusted Types policy, or null if Trusted Types are not\n * enabled/supported. The first call to this function will create the policy.\n */\nfunction getPolicy$1() {\n if (policy$1 === undefined) {\n policy$1 = null;\n if (_global.trustedTypes) {\n try {\n policy$1 = _global.trustedTypes.createPolicy('angular', {\n createHTML: (s) => s,\n createScript: (s) => s,\n createScriptURL: (s) => s,\n });\n }\n catch {\n // trustedTypes.createPolicy throws if called with a name that is\n // already registered, even in report-only mode. Until the API changes,\n // catch the error not to break the applications functionally. In such\n // cases, the code will fall back to using strings.\n }\n }\n }\n return policy$1;\n}\n/**\n * Unsafely promote a string to a TrustedHTML, falling back to strings when\n * Trusted Types are not available.\n * @security This is a security-sensitive function; any use of this function\n * must go through security review. In particular, it must be assured that the\n * provided string will never cause an XSS vulnerability if used in a context\n * that will be interpreted as HTML by a browser, e.g. when assigning to\n * element.innerHTML.\n */\nfunction trustedHTMLFromString(html) {\n return getPolicy$1()?.createHTML(html) || html;\n}\n/**\n * Unsafely promote a string to a TrustedScript, falling back to strings when\n * Trusted Types are not available.\n * @security In particular, it must be assured that the provided string will\n * never cause an XSS vulnerability if used in a context that will be\n * interpreted and executed as a script by a browser, e.g. when calling eval.\n */\nfunction trustedScriptFromString(script) {\n return getPolicy$1()?.createScript(script) || script;\n}\n/**\n * Unsafely promote a string to a TrustedScriptURL, falling back to strings\n * when Trusted Types are not available.\n * @security This is a security-sensitive function; any use of this function\n * must go through security review. In particular, it must be assured that the\n * provided string will never cause an XSS vulnerability if used in a context\n * that will cause a browser to load and execute a resource, e.g. when\n * assigning to script.src.\n */\nfunction trustedScriptURLFromString(url) {\n return getPolicy$1()?.createScriptURL(url) || url;\n}\n/**\n * Unsafely call the Function constructor with the given string arguments. It\n * is only available in development mode, and should be stripped out of\n * production code.\n * @security This is a security-sensitive function; any use of this function\n * must go through security review. In particular, it must be assured that it\n * is only called from development code, as use in production code can lead to\n * XSS vulnerabilities.\n */\nfunction newTrustedFunctionForDev(...args) {\n if (typeof ngDevMode === 'undefined') {\n throw new Error('newTrustedFunctionForDev should never be called in production');\n }\n if (!_global.trustedTypes) {\n // In environments that don't support Trusted Types, fall back to the most\n // straightforward implementation:\n return new Function(...args);\n }\n // Chrome currently does not support passing TrustedScript to the Function\n // constructor. The following implements the workaround proposed on the page\n // below, where the Chromium bug is also referenced:\n // https://github.com/w3c/webappsec-trusted-types/wiki/Trusted-Types-for-function-constructor\n const fnArgs = args.slice(0, -1).join(',');\n const fnBody = args[args.length - 1];\n const body = `(function anonymous(${fnArgs}\n) { ${fnBody}\n})`;\n // Using eval directly confuses the compiler and prevents this module from\n // being stripped out of JS binaries even if not used. The global['eval']\n // indirection fixes that.\n const fn = _global['eval'](trustedScriptFromString(body));\n if (fn.bind === undefined) {\n // Workaround for a browser bug that only exists in Chrome 83, where passing\n // a TrustedScript to eval just returns the TrustedScript back without\n // evaluating it. In that case, fall back to the most straightforward\n // implementation:\n return new Function(...args);\n }\n // To completely mimic the behavior of calling \"new Function\", two more\n // things need to happen:\n // 1. Stringifying the resulting function should return its source code\n fn.toString = () => body;\n // 2. When calling the resulting function, `this` should refer to `global`\n return fn.bind(_global);\n // When Trusted Types support in Function constructors is widely available,\n // the implementation of this function can be simplified to:\n // return new Function(...args.map(a => trustedScriptFromString(a)));\n}\n\n/**\n * Validation function invoked at runtime for each binding that might potentially\n * represent a security-sensitive attribute of an <iframe>.\n * See `IFRAME_SECURITY_SENSITIVE_ATTRS` in the\n * `packages/compiler/src/schema/dom_security_schema.ts` script for the full list\n * of such attributes.\n *\n * @codeGenApi\n */\nfunction ɵɵvalidateIframeAttribute(attrValue, tagName, attrName) {\n const lView = getLView();\n const tNode = getSelectedTNode();\n const element = getNativeByTNode(tNode, lView);\n // Restrict any dynamic bindings of security-sensitive attributes/properties\n // on an <iframe> for security reasons.\n if (tNode.type === 2 /* TNodeType.Element */ && tagName.toLowerCase() === 'iframe') {\n const iframe = element;\n // Unset previously applied `src` and `srcdoc` if we come across a situation when\n // a security-sensitive attribute is set later via an attribute/property binding.\n iframe.src = '';\n iframe.srcdoc = trustedHTMLFromString('');\n // Also remove the <iframe> from the document.\n nativeRemoveNode(lView[RENDERER], iframe);\n const errorMessage = ngDevMode &&\n `Angular has detected that the \\`${attrName}\\` was applied ` +\n `as a binding to an <iframe>${getTemplateLocationDetails(lView)}. ` +\n `For security reasons, the \\`${attrName}\\` can be set on an <iframe> ` +\n `as a static attribute only. \\n` +\n `To fix this, switch the \\`${attrName}\\` binding to a static attribute ` +\n `in a template or in host bindings section.`;\n throw new RuntimeError(-910 /* RuntimeErrorCode.UNSAFE_IFRAME_ATTRS */, errorMessage);\n }\n return attrValue;\n}\n\n/**\n * Most of the use of `document` in Angular is from within the DI system so it is possible to simply\n * inject the `DOCUMENT` token and are done.\n *\n * Ivy is special because it does not rely upon the DI and must get hold of the document some other\n * way.\n *\n * The solution is to define `getDocument()` and `setDocument()` top-level functions for ivy.\n * Wherever ivy needs the global document, it calls `getDocument()` instead.\n *\n * When running ivy outside of a browser environment, it is necessary to call `setDocument()` to\n * tell ivy what the global `document` is.\n *\n * Angular does this for us in each of the standard platforms (`Browser` and `Server`)\n * by calling `setDocument()` when providing the `DOCUMENT` token.\n */\nlet DOCUMENT = undefined;\n/**\n * Tell ivy what the `document` is for this platform.\n *\n * It is only necessary to call this if the current platform is not a browser.\n *\n * @param document The object representing the global `document` in this environment.\n */\nfunction setDocument(document) {\n DOCUMENT = document;\n}\n/**\n * Access the object that represents the `document` for this platform.\n *\n * Ivy calls this whenever it needs to access the `document` object.\n * For example to create the renderer or to do sanitization.\n */\nfunction getDocument() {\n if (DOCUMENT !== undefined) {\n return DOCUMENT;\n }\n else if (typeof document !== 'undefined') {\n return document;\n }\n throw new RuntimeError(210 /* RuntimeErrorCode.MISSING_DOCUMENT */, (typeof ngDevMode === 'undefined' || ngDevMode) &&\n `The document object is not available in this context. Make sure the DOCUMENT injection token is provided.`);\n // No \"document\" can be found. This should only happen if we are running ivy outside Angular and\n // the current platform is not a browser. Since this is not a supported scenario at the moment\n // this should not happen in Angular apps.\n // Once we support running ivy outside of Angular we will need to publish `setDocument()` as a\n // public API.\n}\n\n/**\n * @fileoverview\n * A module to facilitate use of a Trusted Types policy internally within\n * Angular specifically for bypassSecurityTrust* and custom sanitizers. It\n * lazily constructs the Trusted Types policy, providing helper utilities for\n * promoting strings to Trusted Types. When Trusted Types are not available,\n * strings are used as a fallback.\n * @security All use of this module is security-sensitive and should go through\n * security review.\n */\n/**\n * The Trusted Types policy, or null if Trusted Types are not\n * enabled/supported, or undefined if the policy has not been created yet.\n */\nlet policy;\n/**\n * Returns the Trusted Types policy, or null if Trusted Types are not\n * enabled/supported. The first call to this function will create the policy.\n */\nfunction getPolicy() {\n if (policy === undefined) {\n policy = null;\n if (_global.trustedTypes) {\n try {\n policy = _global.trustedTypes\n .createPolicy('angular#unsafe-bypass', {\n createHTML: (s) => s,\n createScript: (s) => s,\n createScriptURL: (s) => s,\n });\n }\n catch {\n // trustedTypes.createPolicy throws if called with a name that is\n // already registered, even in report-only mode. Until the API changes,\n // catch the error not to break the applications functionally. In such\n // cases, the code will fall back to using strings.\n }\n }\n }\n return policy;\n}\n/**\n * Unsafely promote a string to a TrustedHTML, falling back to strings when\n * Trusted Types are not available.\n * @security This is a security-sensitive function; any use of this function\n * must go through security review. In particular, it must be assured that it\n * is only passed strings that come directly from custom sanitizers or the\n * bypassSecurityTrust* functions.\n */\nfunction trustedHTMLFromStringBypass(html) {\n return getPolicy()?.createHTML(html) || html;\n}\n/**\n * Unsafely promote a string to a TrustedScript, falling back to strings when\n * Trusted Types are not available.\n * @security This is a security-sensitive function; any use of this function\n * must go through security review. In particular, it must be assured that it\n * is only passed strings that come directly from custom sanitizers or the\n * bypassSecurityTrust* functions.\n */\nfunction trustedScriptFromStringBypass(script) {\n return getPolicy()?.createScript(script) || script;\n}\n/**\n * Unsafely promote a string to a TrustedScriptURL, falling back to strings\n * when Trusted Types are not available.\n * @security This is a security-sensitive function; any use of this function\n * must go through security review. In particular, it must be assured that it\n * is only passed strings that come directly from custom sanitizers or the\n * bypassSecurityTrust* functions.\n */\nfunction trustedScriptURLFromStringBypass(url) {\n return getPolicy()?.createScriptURL(url) || url;\n}\n\nclass SafeValueImpl {\n constructor(changingThisBreaksApplicationSecurity) {\n this.changingThisBreaksApplicationSecurity = changingThisBreaksApplicationSecurity;\n }\n toString() {\n return `SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity}` +\n ` (see ${XSS_SECURITY_URL})`;\n }\n}\nclass SafeHtmlImpl extends SafeValueImpl {\n getTypeName() {\n return \"HTML\" /* BypassType.Html */;\n }\n}\nclass SafeStyleImpl extends SafeValueImpl {\n getTypeName() {\n return \"Style\" /* BypassType.Style */;\n }\n}\nclass SafeScriptImpl extends SafeValueImpl {\n getTypeName() {\n return \"Script\" /* BypassType.Script */;\n }\n}\nclass SafeUrlImpl extends SafeValueImpl {\n getTypeName() {\n return \"URL\" /* BypassType.Url */;\n }\n}\nclass SafeResourceUrlImpl extends SafeValueImpl {\n getTypeName() {\n return \"ResourceURL\" /* BypassType.ResourceUrl */;\n }\n}\nfunction unwrapSafeValue(value) {\n return value instanceof SafeValueImpl ? value.changingThisBreaksApplicationSecurity :\n value;\n}\nfunction allowSanitizationBypassAndThrow(value, type) {\n const actualType = getSanitizationBypassType(value);\n if (actualType != null && actualType !== type) {\n // Allow ResourceURLs in URL contexts, they are strictly more trusted.\n if (actualType === \"ResourceURL\" /* BypassType.ResourceUrl */ && type === \"URL\" /* BypassType.Url */)\n return true;\n throw new Error(`Required a safe ${type}, got a ${actualType} (see ${XSS_SECURITY_URL})`);\n }\n return actualType === type;\n}\nfunction getSanitizationBypassType(value) {\n return value instanceof SafeValueImpl && value.getTypeName() || null;\n}\n/**\n * Mark `html` string as trusted.\n *\n * This function wraps the trusted string in `String` and brands it in a way which makes it\n * recognizable to {@link htmlSanitizer} to be trusted implicitly.\n *\n * @param trustedHtml `html` string which needs to be implicitly trusted.\n * @returns a `html` which has been branded to be implicitly trusted.\n */\nfunction bypassSanitizationTrustHtml(trustedHtml) {\n return new SafeHtmlImpl(trustedHtml);\n}\n/**\n * Mark `style` string as trusted.\n *\n * This function wraps the trusted string in `String` and brands it in a way which makes it\n * recognizable to {@link styleSanitizer} to be trusted implicitly.\n *\n * @param trustedStyle `style` string which needs to be implicitly trusted.\n * @returns a `style` hich has been branded to be implicitly trusted.\n */\nfunction bypassSanitizationTrustStyle(trustedStyle) {\n return new SafeStyleImpl(trustedStyle);\n}\n/**\n * Mark `script` string as trusted.\n *\n * This function wraps the trusted string in `String` and brands it in a way which makes it\n * recognizable to {@link scriptSanitizer} to be trusted implicitly.\n *\n * @param trustedScript `script` string which needs to be implicitly trusted.\n * @returns a `script` which has been branded to be implicitly trusted.\n */\nfunction bypassSanitizationTrustScript(trustedScript) {\n return new SafeScriptImpl(trustedScript);\n}\n/**\n * Mark `url` string as trusted.\n *\n * This function wraps the trusted string in `String` and brands it in a way which makes it\n * recognizable to {@link urlSanitizer} to be trusted implicitly.\n *\n * @param trustedUrl `url` string which needs to be implicitly trusted.\n * @returns a `url` which has been branded to be implicitly trusted.\n */\nfunction bypassSanitizationTrustUrl(trustedUrl) {\n return new SafeUrlImpl(trustedUrl);\n}\n/**\n * Mark `url` string as trusted.\n *\n * This function wraps the trusted string in `String` and brands it in a way which makes it\n * recognizable to {@link resourceUrlSanitizer} to be trusted implicitly.\n *\n * @param trustedResourceUrl `url` string which needs to be implicitly trusted.\n * @returns a `url` which has been branded to be implicitly trusted.\n */\nfunction bypassSanitizationTrustResourceUrl(trustedResourceUrl) {\n return new SafeResourceUrlImpl(trustedResourceUrl);\n}\n\n/**\n * This helper is used to get hold of an inert tree of DOM elements containing dirty HTML\n * that needs sanitizing.\n * Depending upon browser support we use one of two strategies for doing this.\n * Default: DOMParser strategy\n * Fallback: InertDocument strategy\n */\nfunction getInertBodyHelper(defaultDoc) {\n const inertDocumentHelper = new InertDocumentHelper(defaultDoc);\n return isDOMParserAvailable() ? new DOMParserHelper(inertDocumentHelper) : inertDocumentHelper;\n}\n/**\n * Uses DOMParser to create and fill an inert body element.\n * This is the default strategy used in browsers that support it.\n */\nclass DOMParserHelper {\n constructor(inertDocumentHelper) {\n this.inertDocumentHelper = inertDocumentHelper;\n }\n getInertBodyElement(html) {\n // We add these extra elements to ensure that the rest of the content is parsed as expected\n // e.g. leading whitespace is maintained and tags like `<meta>` do not get hoisted to the\n // `<head>` tag. Note that the `<body>` tag is closed implicitly to prevent unclosed tags\n // in `html` from consuming the otherwise explicit `</body>` tag.\n html = '<body><remove></remove>' + html;\n try {\n const body = new window.DOMParser()\n .parseFromString(trustedHTMLFromString(html), 'text/html')\n .body;\n if (body === null) {\n // In some browsers (e.g. Mozilla/5.0 iPad AppleWebKit Mobile) the `body` property only\n // becomes available in the following tick of the JS engine. In that case we fall back to\n // the `inertDocumentHelper` instead.\n return this.inertDocumentHelper.getInertBodyElement(html);\n }\n body.removeChild(body.firstChild);\n return body;\n }\n catch {\n return null;\n }\n }\n}\n/**\n * Use an HTML5 `template` element to create and fill an inert DOM element.\n * This is the fallback strategy if the browser does not support DOMParser.\n */\nclass InertDocumentHelper {\n constructor(defaultDoc) {\n this.defaultDoc = defaultDoc;\n this.inertDocument = this.defaultDoc.implementation.createHTMLDocument('sanitization-inert');\n }\n getInertBodyElement(html) {\n const templateEl = this.inertDocument.createElement('template');\n templateEl.innerHTML = trustedHTMLFromString(html);\n return templateEl;\n }\n}\n/**\n * We need to determine whether the DOMParser exists in the global context and\n * supports parsing HTML; HTML parsing support is not as wide as other formats, see\n * https://developer.mozilla.org/en-US/docs/Web/API/DOMParser#Browser_compatibility.\n *\n * @suppress {uselessCode}\n */\nfunction isDOMParserAvailable() {\n try {\n return !!new window.DOMParser().parseFromString(trustedHTMLFromString(''), 'text/html');\n }\n catch {\n return false;\n }\n}\n\n/**\n * A pattern that recognizes URLs that are safe wrt. XSS in URL navigation\n * contexts.\n *\n * This regular expression matches a subset of URLs that will not cause script\n * execution if used in URL context within a HTML document. Specifically, this\n * regular expression matches if:\n * (1) Either a protocol that is not javascript:, and that has valid characters\n * (alphanumeric or [+-.]).\n * (2) or no protocol. A protocol must be followed by a colon. The below\n * allows that by allowing colons only after one of the characters [/?#].\n * A colon after a hash (#) must be in the fragment.\n * Otherwise, a colon after a (?) must be in a query.\n * Otherwise, a colon after a single solidus (/) must be in a path.\n * Otherwise, a colon after a double solidus (//) must be in the authority\n * (before port).\n *\n * The pattern disallows &, used in HTML entity declarations before\n * one of the characters in [/?#]. This disallows HTML entities used in the\n * protocol name, which should never happen, e.g. \"http\" for \"http\".\n * It also disallows HTML entities in the first path part of a relative path,\n * e.g. \"foo<bar/baz\". Our existing escaping functions should not produce\n * that. More importantly, it disallows masking of a colon,\n * e.g. \"javascript:...\".\n *\n * This regular expression was taken from the Closure sanitization library.\n */\nconst SAFE_URL_PATTERN = /^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\\/?#]*(?:[\\/?#]|$))/i;\nfunction _sanitizeUrl(url) {\n url = String(url);\n if (url.match(SAFE_URL_PATTERN))\n return url;\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n console.warn(`WARNING: sanitizing unsafe URL value ${url} (see ${XSS_SECURITY_URL})`);\n }\n return 'unsafe:' + url;\n}\n\nfunction tagSet(tags) {\n const res = {};\n for (const t of tags.split(','))\n res[t] = true;\n return res;\n}\nfunction merge(...sets) {\n const res = {};\n for (const s of sets) {\n for (const v in s) {\n if (s.hasOwnProperty(v))\n res[v] = true;\n }\n }\n return res;\n}\n// Good source of info about elements and attributes\n// https://html.spec.whatwg.org/#semantics\n// https://simon.html5.org/html-elements\n// Safe Void Elements - HTML5\n// https://html.spec.whatwg.org/#void-elements\nconst VOID_ELEMENTS = tagSet('area,br,col,hr,img,wbr');\n// Elements that you can, intentionally, leave open (and which close themselves)\n// https://html.spec.whatwg.org/#optional-tags\nconst OPTIONAL_END_TAG_BLOCK_ELEMENTS = tagSet('colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr');\nconst OPTIONAL_END_TAG_INLINE_ELEMENTS = tagSet('rp,rt');\nconst OPTIONAL_END_TAG_ELEMENTS = merge(OPTIONAL_END_TAG_INLINE_ELEMENTS, OPTIONAL_END_TAG_BLOCK_ELEMENTS);\n// Safe Block Elements - HTML5\nconst BLOCK_ELEMENTS = merge(OPTIONAL_END_TAG_BLOCK_ELEMENTS, tagSet('address,article,' +\n 'aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,' +\n 'h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul'));\n// Inline Elements - HTML5\nconst INLINE_ELEMENTS = merge(OPTIONAL_END_TAG_INLINE_ELEMENTS, tagSet('a,abbr,acronym,audio,b,' +\n 'bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,' +\n 'samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video'));\nconst VALID_ELEMENTS = merge(VOID_ELEMENTS, BLOCK_ELEMENTS, INLINE_ELEMENTS, OPTIONAL_END_TAG_ELEMENTS);\n// Attributes that have href and hence need to be sanitized\nconst URI_ATTRS = tagSet('background,cite,href,itemtype,longdesc,poster,src,xlink:href');\nconst HTML_ATTRS = tagSet('abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,' +\n 'compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,' +\n 'ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,' +\n 'scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,' +\n 'valign,value,vspace,width');\n// Accessibility attributes as per WAI-ARIA 1.1 (W3C Working Draft 14 December 2018)\nconst ARIA_ATTRS = tagSet('aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,' +\n 'aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,' +\n 'aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,' +\n 'aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,' +\n 'aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,' +\n 'aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,' +\n 'aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext');\n// NB: This currently consciously doesn't support SVG. SVG sanitization has had several security\n// issues in the past, so it seems safer to leave it out if possible. If support for binding SVG via\n// innerHTML is required, SVG attributes should be added here.\n// NB: Sanitization does not allow <form> elements or other active elements (<button> etc). Those\n// can be sanitized, but they increase security surface area without a legitimate use case, so they\n// are left out here.\nconst VALID_ATTRS = merge(URI_ATTRS, HTML_ATTRS, ARIA_ATTRS);\n// Elements whose content should not be traversed/preserved, if the elements themselves are invalid.\n//\n// Typically, `<invalid>Some content</invalid>` would traverse (and in this case preserve)\n// `Some content`, but strip `invalid-element` opening/closing tags. For some elements, though, we\n// don't want to preserve the content, if the elements themselves are going to be removed.\nconst SKIP_TRAVERSING_CONTENT_IF_INVALID_ELEMENTS = tagSet('script,style,template');\n/**\n * SanitizingHtmlSerializer serializes a DOM fragment, stripping out any unsafe elements and unsafe\n * attributes.\n */\nclass SanitizingHtmlSerializer {\n constructor() {\n // Explicitly track if something was stripped, to avoid accidentally warning of sanitization just\n // because characters were re-encoded.\n this.sanitizedSomething = false;\n this.buf = [];\n }\n sanitizeChildren(el) {\n // This cannot use a TreeWalker, as it has to run on Angular's various DOM adapters.\n // However this code never accesses properties off of `document` before deleting its contents\n // again, so it shouldn't be vulnerable to DOM clobbering.\n let current = el.firstChild;\n let traverseContent = true;\n while (current) {\n if (current.nodeType === Node.ELEMENT_NODE) {\n traverseContent = this.startElement(current);\n }\n else if (current.nodeType === Node.TEXT_NODE) {\n this.chars(current.nodeValue);\n }\n else {\n // Strip non-element, non-text nodes.\n this.sanitizedSomething = true;\n }\n if (traverseContent && current.firstChild) {\n current = current.firstChild;\n continue;\n }\n while (current) {\n // Leaving the element. Walk up and to the right, closing tags as we go.\n if (current.nodeType === Node.ELEMENT_NODE) {\n this.endElement(current);\n }\n let next = this.checkClobberedElement(current, current.nextSibling);\n if (next) {\n current = next;\n break;\n }\n current = this.checkClobberedElement(current, current.parentNode);\n }\n }\n return this.buf.join('');\n }\n /**\n * Sanitizes an opening element tag (if valid) and returns whether the element's contents should\n * be traversed. Element content must always be traversed (even if the element itself is not\n * valid/safe), unless the element is one of `SKIP_TRAVERSING_CONTENT_IF_INVALID_ELEMENTS`.\n *\n * @param element The element to sanitize.\n * @return True if the element's contents should be traversed.\n */\n startElement(element) {\n const tagName = element.nodeName.toLowerCase();\n if (!VALID_ELEMENTS.hasOwnProperty(tagName)) {\n this.sanitizedSomething = true;\n return !SKIP_TRAVERSING_CONTENT_IF_INVALID_ELEMENTS.hasOwnProperty(tagName);\n }\n this.buf.push('<');\n this.buf.push(tagName);\n const elAttrs = element.attributes;\n for (let i = 0; i < elAttrs.length; i++) {\n const elAttr = elAttrs.item(i);\n const attrName = elAttr.name;\n const lower = attrName.toLowerCase();\n if (!VALID_ATTRS.hasOwnProperty(lower)) {\n this.sanitizedSomething = true;\n continue;\n }\n let value = elAttr.value;\n // TODO(martinprobst): Special case image URIs for data:image/...\n if (URI_ATTRS[lower])\n value = _sanitizeUrl(value);\n this.buf.push(' ', attrName, '=\"', encodeEntities(value), '\"');\n }\n this.buf.push('>');\n return true;\n }\n endElement(current) {\n const tagName = current.nodeName.toLowerCase();\n if (VALID_ELEMENTS.hasOwnProperty(tagName) && !VOID_ELEMENTS.hasOwnProperty(tagName)) {\n this.buf.push('</');\n this.buf.push(tagName);\n this.buf.push('>');\n }\n }\n chars(chars) {\n this.buf.push(encodeEntities(chars));\n }\n checkClobberedElement(node, nextNode) {\n if (nextNode &&\n (node.compareDocumentPosition(nextNode) &\n Node.DOCUMENT_POSITION_CONTAINED_BY) === Node.DOCUMENT_POSITION_CONTAINED_BY) {\n throw new Error(`Failed to sanitize html because the element is clobbered: ${node.outerHTML}`);\n }\n return nextNode;\n }\n}\n// Regular Expressions for parsing tags and attributes\nconst SURROGATE_PAIR_REGEXP = /[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]/g;\n// ! to ~ is the ASCII range.\nconst NON_ALPHANUMERIC_REGEXP = /([^\\#-~ |!])/g;\n/**\n * Escapes all potentially dangerous characters, so that the\n * resulting string can be safely inserted into attribute or\n * element text.\n * @param value\n */\nfunction encodeEntities(value) {\n return value.replace(/&/g, '&')\n .replace(SURROGATE_PAIR_REGEXP, function (match) {\n const hi = match.charCodeAt(0);\n const low = match.charCodeAt(1);\n return '&#' + (((hi - 0xD800) * 0x400) + (low - 0xDC00) + 0x10000) + ';';\n })\n .replace(NON_ALPHANUMERIC_REGEXP, function (match) {\n return '&#' + match.charCodeAt(0) + ';';\n })\n .replace(/</g, '<')\n .replace(/>/g, '>');\n}\nlet inertBodyHelper;\n/**\n * Sanitizes the given unsafe, untrusted HTML fragment, and returns HTML text that is safe to add to\n * the DOM in a browser environment.\n */\nfunction _sanitizeHtml(defaultDoc, unsafeHtmlInput) {\n let inertBodyElement = null;\n try {\n inertBodyHelper = inertBodyHelper || getInertBodyHelper(defaultDoc);\n // Make sure unsafeHtml is actually a string (TypeScript types are not enforced at runtime).\n let unsafeHtml = unsafeHtmlInput ? String(unsafeHtmlInput) : '';\n inertBodyElement = inertBodyHelper.getInertBodyElement(unsafeHtml);\n // mXSS protection. Repeatedly parse the document to make sure it stabilizes, so that a browser\n // trying to auto-correct incorrect HTML cannot cause formerly inert HTML to become dangerous.\n let mXSSAttempts = 5;\n let parsedHtml = unsafeHtml;\n do {\n if (mXSSAttempts === 0) {\n throw new Error('Failed to sanitize html because the input is unstable');\n }\n mXSSAttempts--;\n unsafeHtml = parsedHtml;\n parsedHtml = inertBodyElement.innerHTML;\n inertBodyElement = inertBodyHelper.getInertBodyElement(unsafeHtml);\n } while (unsafeHtml !== parsedHtml);\n const sanitizer = new SanitizingHtmlSerializer();\n const safeHtml = sanitizer.sanitizeChildren(getTemplateContent(inertBodyElement) || inertBodyElement);\n if ((typeof ngDevMode === 'undefined' || ngDevMode) && sanitizer.sanitizedSomething) {\n console.warn(`WARNING: sanitizing HTML stripped some content, see ${XSS_SECURITY_URL}`);\n }\n return trustedHTMLFromString(safeHtml);\n }\n finally {\n // In case anything goes wrong, clear out inertElement to reset the entire DOM structure.\n if (inertBodyElement) {\n const parent = getTemplateContent(inertBodyElement) || inertBodyElement;\n while (parent.firstChild) {\n parent.removeChild(parent.firstChild);\n }\n }\n }\n}\nfunction getTemplateContent(el) {\n return 'content' in el /** Microsoft/TypeScript#21517 */ && isTemplateElement(el) ?\n el.content :\n null;\n}\nfunction isTemplateElement(el) {\n return el.nodeType === Node.ELEMENT_NODE && el.nodeName === 'TEMPLATE';\n}\n\n/**\n * A SecurityContext marks a location that has dangerous security implications, e.g. a DOM property\n * like `innerHTML` that could cause Cross Site Scripting (XSS) security bugs when improperly\n * handled.\n *\n * See DomSanitizer for more details on security in Angular applications.\n *\n * @publicApi\n */\nvar SecurityContext;\n(function (SecurityContext) {\n SecurityContext[SecurityContext[\"NONE\"] = 0] = \"NONE\";\n SecurityContext[SecurityContext[\"HTML\"] = 1] = \"HTML\";\n SecurityContext[SecurityContext[\"STYLE\"] = 2] = \"STYLE\";\n SecurityContext[SecurityContext[\"SCRIPT\"] = 3] = \"SCRIPT\";\n SecurityContext[SecurityContext[\"URL\"] = 4] = \"URL\";\n SecurityContext[SecurityContext[\"RESOURCE_URL\"] = 5] = \"RESOURCE_URL\";\n})(SecurityContext || (SecurityContext = {}));\n\n/**\n * An `html` sanitizer which converts untrusted `html` **string** into trusted string by removing\n * dangerous content.\n *\n * This method parses the `html` and locates potentially dangerous content (such as urls and\n * javascript) and removes it.\n *\n * It is possible to mark a string as trusted by calling {@link bypassSanitizationTrustHtml}.\n *\n * @param unsafeHtml untrusted `html`, typically from the user.\n * @returns `html` string which is safe to display to user, because all of the dangerous javascript\n * and urls have been removed.\n *\n * @codeGenApi\n */\nfunction ɵɵsanitizeHtml(unsafeHtml) {\n const sanitizer = getSanitizer();\n if (sanitizer) {\n return trustedHTMLFromStringBypass(sanitizer.sanitize(SecurityContext.HTML, unsafeHtml) || '');\n }\n if (allowSanitizationBypassAndThrow(unsafeHtml, \"HTML\" /* BypassType.Html */)) {\n return trustedHTMLFromStringBypass(unwrapSafeValue(unsafeHtml));\n }\n return _sanitizeHtml(getDocument(), renderStringify(unsafeHtml));\n}\n/**\n * A `style` sanitizer which converts untrusted `style` **string** into trusted string by removing\n * dangerous content.\n *\n * It is possible to mark a string as trusted by calling {@link bypassSanitizationTrustStyle}.\n *\n * @param unsafeStyle untrusted `style`, typically from the user.\n * @returns `style` string which is safe to bind to the `style` properties.\n *\n * @codeGenApi\n */\nfunction ɵɵsanitizeStyle(unsafeStyle) {\n const sanitizer = getSanitizer();\n if (sanitizer) {\n return sanitizer.sanitize(SecurityContext.STYLE, unsafeStyle) || '';\n }\n if (allowSanitizationBypassAndThrow(unsafeStyle, \"Style\" /* BypassType.Style */)) {\n return unwrapSafeValue(unsafeStyle);\n }\n return renderStringify(unsafeStyle);\n}\n/**\n * A `url` sanitizer which converts untrusted `url` **string** into trusted string by removing\n * dangerous\n * content.\n *\n * This method parses the `url` and locates potentially dangerous content (such as javascript) and\n * removes it.\n *\n * It is possible to mark a string as trusted by calling {@link bypassSanitizationTrustUrl}.\n *\n * @param unsafeUrl untrusted `url`, typically from the user.\n * @returns `url` string which is safe to bind to the `src` properties such as `<img src>`, because\n * all of the dangerous javascript has been removed.\n *\n * @codeGenApi\n */\nfunction ɵɵsanitizeUrl(unsafeUrl) {\n const sanitizer = getSanitizer();\n if (sanitizer) {\n return sanitizer.sanitize(SecurityContext.URL, unsafeUrl) || '';\n }\n if (allowSanitizationBypassAndThrow(unsafeUrl, \"URL\" /* BypassType.Url */)) {\n return unwrapSafeValue(unsafeUrl);\n }\n return _sanitizeUrl(renderStringify(unsafeUrl));\n}\n/**\n * A `url` sanitizer which only lets trusted `url`s through.\n *\n * This passes only `url`s marked trusted by calling {@link bypassSanitizationTrustResourceUrl}.\n *\n * @param unsafeResourceUrl untrusted `url`, typically from the user.\n * @returns `url` string which is safe to bind to the `src` properties such as `<img src>`, because\n * only trusted `url`s have been allowed to pass.\n *\n * @codeGenApi\n */\nfunction ɵɵsanitizeResourceUrl(unsafeResourceUrl) {\n const sanitizer = getSanitizer();\n if (sanitizer) {\n return trustedScriptURLFromStringBypass(sanitizer.sanitize(SecurityContext.RESOURCE_URL, unsafeResourceUrl) || '');\n }\n if (allowSanitizationBypassAndThrow(unsafeResourceUrl, \"ResourceURL\" /* BypassType.ResourceUrl */)) {\n return trustedScriptURLFromStringBypass(unwrapSafeValue(unsafeResourceUrl));\n }\n throw new RuntimeError(904 /* RuntimeErrorCode.UNSAFE_VALUE_IN_RESOURCE_URL */, ngDevMode && `unsafe value used in a resource URL context (see ${XSS_SECURITY_URL})`);\n}\n/**\n * A `script` sanitizer which only lets trusted javascript through.\n *\n * This passes only `script`s marked trusted by calling {@link\n * bypassSanitizationTrustScript}.\n *\n * @param unsafeScript untrusted `script`, typically from the user.\n * @returns `url` string which is safe to bind to the `<script>` element such as `<img src>`,\n * because only trusted `scripts` have been allowed to pass.\n *\n * @codeGenApi\n */\nfunction ɵɵsanitizeScript(unsafeScript) {\n const sanitizer = getSanitizer();\n if (sanitizer) {\n return trustedScriptFromStringBypass(sanitizer.sanitize(SecurityContext.SCRIPT, unsafeScript) || '');\n }\n if (allowSanitizationBypassAndThrow(unsafeScript, \"Script\" /* BypassType.Script */)) {\n return trustedScriptFromStringBypass(unwrapSafeValue(unsafeScript));\n }\n throw new RuntimeError(905 /* RuntimeErrorCode.UNSAFE_VALUE_IN_SCRIPT */, ngDevMode && 'unsafe value used in a script context');\n}\n/**\n * A template tag function for promoting the associated constant literal to a\n * TrustedHTML. Interpolation is explicitly not allowed.\n *\n * @param html constant template literal containing trusted HTML.\n * @returns TrustedHTML wrapping `html`.\n *\n * @security This is a security-sensitive function and should only be used to\n * convert constant values of attributes and properties found in\n * application-provided Angular templates to TrustedHTML.\n *\n * @codeGenApi\n */\nfunction ɵɵtrustConstantHtml(html) {\n // The following runtime check ensures that the function was called as a\n // template tag (e.g. ɵɵtrustConstantHtml`content`), without any interpolation\n // (e.g. not ɵɵtrustConstantHtml`content ${variable}`). A TemplateStringsArray\n // is an array with a `raw` property that is also an array. The associated\n // template literal has no interpolation if and only if the length of the\n // TemplateStringsArray is 1.\n if (ngDevMode && (!Array.isArray(html) || !Array.isArray(html.raw) || html.length !== 1)) {\n throw new Error(`Unexpected interpolation in trusted HTML constant: ${html.join('?')}`);\n }\n return trustedHTMLFromString(html[0]);\n}\n/**\n * A template tag function for promoting the associated constant literal to a\n * TrustedScriptURL. Interpolation is explicitly not allowed.\n *\n * @param url constant template literal containing a trusted script URL.\n * @returns TrustedScriptURL wrapping `url`.\n *\n * @security This is a security-sensitive function and should only be used to\n * convert constant values of attributes and properties found in\n * application-provided Angular templates to TrustedScriptURL.\n *\n * @codeGenApi\n */\nfunction ɵɵtrustConstantResourceUrl(url) {\n // The following runtime check ensures that the function was called as a\n // template tag (e.g. ɵɵtrustConstantResourceUrl`content`), without any\n // interpolation (e.g. not ɵɵtrustConstantResourceUrl`content ${variable}`). A\n // TemplateStringsArray is an array with a `raw` property that is also an\n // array. The associated template literal has no interpolation if and only if\n // the length of the TemplateStringsArray is 1.\n if (ngDevMode && (!Array.isArray(url) || !Array.isArray(url.raw) || url.length !== 1)) {\n throw new Error(`Unexpected interpolation in trusted URL constant: ${url.join('?')}`);\n }\n return trustedScriptURLFromString(url[0]);\n}\n/**\n * Detects which sanitizer to use for URL property, based on tag name and prop name.\n *\n * The rules are based on the RESOURCE_URL context config from\n * `packages/compiler/src/schema/dom_security_schema.ts`.\n * If tag and prop names don't match Resource URL schema, use URL sanitizer.\n */\nfunction getUrlSanitizer(tag, prop) {\n if ((prop === 'src' &&\n (tag === 'embed' || tag === 'frame' || tag === 'iframe' || tag === 'media' ||\n tag === 'script')) ||\n (prop === 'href' && (tag === 'base' || tag === 'link'))) {\n return ɵɵsanitizeResourceUrl;\n }\n return ɵɵsanitizeUrl;\n}\n/**\n * Sanitizes URL, selecting sanitizer function based on tag and property names.\n *\n * This function is used in case we can't define security context at compile time, when only prop\n * name is available. This happens when we generate host bindings for Directives/Components. The\n * host element is unknown at compile time, so we defer calculation of specific sanitizer to\n * runtime.\n *\n * @param unsafeUrl untrusted `url`, typically from the user.\n * @param tag target element tag name.\n * @param prop name of the property that contains the value.\n * @returns `url` string which is safe to bind.\n *\n * @codeGenApi\n */\nfunction ɵɵsanitizeUrlOrResourceUrl(unsafeUrl, tag, prop) {\n return getUrlSanitizer(tag, prop)(unsafeUrl);\n}\nfunction validateAgainstEventProperties(name) {\n if (name.toLowerCase().startsWith('on')) {\n const errorMessage = `Binding to event property '${name}' is disallowed for security reasons, ` +\n `please use (${name.slice(2)})=...` +\n `\\nIf '${name}' is a directive input, make sure the directive is imported by the` +\n ` current module.`;\n throw new RuntimeError(306 /* RuntimeErrorCode.INVALID_EVENT_BINDING */, errorMessage);\n }\n}\nfunction validateAgainstEventAttributes(name) {\n if (name.toLowerCase().startsWith('on')) {\n const errorMessage = `Binding to event attribute '${name}' is disallowed for security reasons, ` +\n `please use (${name.slice(2)})=...`;\n throw new RuntimeError(306 /* RuntimeErrorCode.INVALID_EVENT_BINDING */, errorMessage);\n }\n}\nfunction getSanitizer() {\n const lView = getLView();\n return lView && lView[ENVIRONMENT].sanitizer;\n}\n\n/**\n * Creates a token that can be used in a DI Provider.\n *\n * Use an `InjectionToken` whenever the type you are injecting is not reified (does not have a\n * runtime representation) such as when injecting an interface, callable type, array or\n * parameterized type.\n *\n * `InjectionToken` is parameterized on `T` which is the type of object which will be returned by\n * the `Injector`. This provides an additional level of type safety.\n *\n * ```\n * interface MyInterface {...}\n * const myInterface = injector.get(new InjectionToken<MyInterface>('SomeToken'));\n * // myInterface is inferred to be MyInterface.\n * ```\n *\n * When creating an `InjectionToken`, you can optionally specify a factory function which returns\n * (possibly by creating) a default value of the parameterized type `T`. This sets up the\n * `InjectionToken` using this factory as a provider as if it was defined explicitly in the\n * application's root injector. If the factory function, which takes zero arguments, needs to inject\n * dependencies, it can do so using the `inject` function.\n * As you can see in the Tree-shakable InjectionToken example below.\n *\n * Additionally, if a `factory` is specified you can also specify the `providedIn` option, which\n * overrides the above behavior and marks the token as belonging to a particular `@NgModule` (note:\n * this option is now deprecated). As mentioned above, `'root'` is the default value for\n * `providedIn`.\n *\n * The `providedIn: NgModule` and `providedIn: 'any'` options are deprecated.\n *\n * @usageNotes\n * ### Basic Examples\n *\n * ### Plain InjectionToken\n *\n * {@example core/di/ts/injector_spec.ts region='InjectionToken'}\n *\n * ### Tree-shakable InjectionToken\n *\n * {@example core/di/ts/injector_spec.ts region='ShakableInjectionToken'}\n *\n *\n * @publicApi\n */\nclass InjectionToken {\n /**\n * @param _desc Description for the token,\n * used only for debugging purposes,\n * it should but does not need to be unique\n * @param options Options for the token's usage, as described above\n */\n constructor(_desc, options) {\n this._desc = _desc;\n /** @internal */\n this.ngMetadataName = 'InjectionToken';\n this.ɵprov = undefined;\n if (typeof options == 'number') {\n (typeof ngDevMode === 'undefined' || ngDevMode) &&\n assertLessThan(options, 0, 'Only negative numbers are supported here');\n // This is a special hack to assign __NG_ELEMENT_ID__ to this instance.\n // See `InjectorMarkers`\n this.__NG_ELEMENT_ID__ = options;\n }\n else if (options !== undefined) {\n this.ɵprov = ɵɵdefineInjectable({\n token: this,\n providedIn: options.providedIn || 'root',\n factory: options.factory,\n });\n }\n }\n /**\n * @internal\n */\n get multi() {\n return this;\n }\n toString() {\n return `InjectionToken ${this._desc}`;\n }\n}\n\n/**\n * A multi-provider token for initialization functions that will run upon construction of an\n * environment injector.\n *\n * @publicApi\n */\nconst ENVIRONMENT_INITIALIZER = new InjectionToken('ENVIRONMENT_INITIALIZER');\n\n/**\n * An InjectionToken that gets the current `Injector` for `createInjector()`-style injectors.\n *\n * Requesting this token instead of `Injector` allows `StaticInjector` to be tree-shaken from a\n * project.\n *\n * @publicApi\n */\nconst INJECTOR = new InjectionToken('INJECTOR', \n// Disable tslint because this is const enum which gets inlined not top level prop access.\n// tslint:disable-next-line: no-toplevel-property-access\n-1 /* InjectorMarkers.Injector */);\n\nconst INJECTOR_DEF_TYPES = new InjectionToken('INJECTOR_DEF_TYPES');\n\nclass NullInjector {\n get(token, notFoundValue = THROW_IF_NOT_FOUND) {\n if (notFoundValue === THROW_IF_NOT_FOUND) {\n const error = new Error(`NullInjectorError: No provider for ${stringify(token)}!`);\n error.name = 'NullInjectorError';\n throw error;\n }\n return notFoundValue;\n }\n}\n\n/**\n * Wrap an array of `Provider`s into `EnvironmentProviders`, preventing them from being accidentally\n * referenced in `@Component in a component injector.\n */\nfunction makeEnvironmentProviders(providers) {\n return {\n ɵproviders: providers,\n };\n}\n/**\n * Collects providers from all NgModules and standalone components, including transitively imported\n * ones.\n *\n * Providers extracted via `importProvidersFrom` are only usable in an application injector or\n * another environment injector (such as a route injector). They should not be used in component\n * providers.\n *\n * More information about standalone components can be found in [this\n * guide](guide/standalone-components).\n *\n * @usageNotes\n * The results of the `importProvidersFrom` call can be used in the `bootstrapApplication` call:\n *\n * ```typescript\n * await bootstrapApplication(RootComponent, {\n * providers: [\n * importProvidersFrom(NgModuleOne, NgModuleTwo)\n * ]\n * });\n * ```\n *\n * You can also use the `importProvidersFrom` results in the `providers` field of a route, when a\n * standalone component is used:\n *\n * ```typescript\n * export const ROUTES: Route[] = [\n * {\n * path: 'foo',\n * providers: [\n * importProvidersFrom(NgModuleOne, NgModuleTwo)\n * ],\n * component: YourStandaloneComponent\n * }\n * ];\n * ```\n *\n * @returns Collected providers from the specified list of types.\n * @publicApi\n */\nfunction importProvidersFrom(...sources) {\n return {\n ɵproviders: internalImportProvidersFrom(true, sources),\n ɵfromNgModule: true,\n };\n}\nfunction internalImportProvidersFrom(checkForStandaloneCmp, ...sources) {\n const providersOut = [];\n const dedup = new Set(); // already seen types\n let injectorTypesWithProviders;\n deepForEach(sources, source => {\n if ((typeof ngDevMode === 'undefined' || ngDevMode) && checkForStandaloneCmp) {\n const cmpDef = getComponentDef(source);\n if (cmpDef?.standalone) {\n throw new RuntimeError(800 /* RuntimeErrorCode.IMPORT_PROVIDERS_FROM_STANDALONE */, `Importing providers supports NgModule or ModuleWithProviders but got a standalone component \"${stringifyForError(source)}\"`);\n }\n }\n // Narrow `source` to access the internal type analogue for `ModuleWithProviders`.\n const internalSource = source;\n if (walkProviderTree(internalSource, providersOut, [], dedup)) {\n injectorTypesWithProviders ||= [];\n injectorTypesWithProviders.push(internalSource);\n }\n });\n // Collect all providers from `ModuleWithProviders` types.\n if (injectorTypesWithProviders !== undefined) {\n processInjectorTypesWithProviders(injectorTypesWithProviders, providersOut);\n }\n return providersOut;\n}\n/**\n * Collects all providers from the list of `ModuleWithProviders` and appends them to the provided\n * array.\n */\nfunction processInjectorTypesWithProviders(typesWithProviders, providersOut) {\n for (let i = 0; i < typesWithProviders.length; i++) {\n const { ngModule, providers } = typesWithProviders[i];\n deepForEachProvider(providers, provider => {\n ngDevMode && validateProvider(provider, providers || EMPTY_ARRAY, ngModule);\n providersOut.push(provider);\n });\n }\n}\n/**\n * The logic visits an `InjectorType`, an `InjectorTypeWithProviders`, or a standalone\n * `ComponentType`, and all of its transitive providers and collects providers.\n *\n * If an `InjectorTypeWithProviders` that declares providers besides the type is specified,\n * the function will return \"true\" to indicate that the providers of the type definition need\n * to be processed. This allows us to process providers of injector types after all imports of\n * an injector definition are processed. (following View Engine semantics: see FW-1349)\n */\nfunction walkProviderTree(container, providersOut, parents, dedup) {\n container = resolveForwardRef(container);\n if (!container)\n return false;\n // The actual type which had the definition. Usually `container`, but may be an unwrapped type\n // from `InjectorTypeWithProviders`.\n let defType = null;\n let injDef = getInjectorDef(container);\n const cmpDef = !injDef && getComponentDef(container);\n if (!injDef && !cmpDef) {\n // `container` is not an injector type or a component type. It might be:\n // * An `InjectorTypeWithProviders` that wraps an injector type.\n // * A standalone directive or pipe that got pulled in from a standalone component's\n // dependencies.\n // Try to unwrap it as an `InjectorTypeWithProviders` first.\n const ngModule = container.ngModule;\n injDef = getInjectorDef(ngModule);\n if (injDef) {\n defType = ngModule;\n }\n else {\n // Not a component or injector type, so ignore it.\n return false;\n }\n }\n else if (cmpDef && !cmpDef.standalone) {\n return false;\n }\n else {\n defType = container;\n }\n // Check for circular dependencies.\n if (ngDevMode && parents.indexOf(defType) !== -1) {\n const defName = stringify(defType);\n const path = parents.map(stringify);\n throwCyclicDependencyError(defName, path);\n }\n // Check for multiple imports of the same module\n const isDuplicate = dedup.has(defType);\n if (cmpDef) {\n if (isDuplicate) {\n // This component definition has already been processed.\n return false;\n }\n dedup.add(defType);\n if (cmpDef.dependencies) {\n const deps = typeof cmpDef.dependencies === 'function' ? cmpDef.dependencies() : cmpDef.dependencies;\n for (const dep of deps) {\n walkProviderTree(dep, providersOut, parents, dedup);\n }\n }\n }\n else if (injDef) {\n // First, include providers from any imports.\n if (injDef.imports != null && !isDuplicate) {\n // Before processing defType's imports, add it to the set of parents. This way, if it ends\n // up deeply importing itself, this can be detected.\n ngDevMode && parents.push(defType);\n // Add it to the set of dedups. This way we can detect multiple imports of the same module\n dedup.add(defType);\n let importTypesWithProviders;\n try {\n deepForEach(injDef.imports, imported => {\n if (walkProviderTree(imported, providersOut, parents, dedup)) {\n importTypesWithProviders ||= [];\n // If the processed import is an injector type with providers, we store it in the\n // list of import types with providers, so that we can process those afterwards.\n importTypesWithProviders.push(imported);\n }\n });\n }\n finally {\n // Remove it from the parents set when finished.\n ngDevMode && parents.pop();\n }\n // Imports which are declared with providers (TypeWithProviders) need to be processed\n // after all imported modules are processed. This is similar to how View Engine\n // processes/merges module imports in the metadata resolver. See: FW-1349.\n if (importTypesWithProviders !== undefined) {\n processInjectorTypesWithProviders(importTypesWithProviders, providersOut);\n }\n }\n if (!isDuplicate) {\n // Track the InjectorType and add a provider for it.\n // It's important that this is done after the def's imports.\n const factory = getFactoryDef(defType) || (() => new defType());\n // Append extra providers to make more info available for consumers (to retrieve an injector\n // type), as well as internally (to calculate an injection scope correctly and eagerly\n // instantiate a `defType` when an injector is created).\n providersOut.push(\n // Provider to create `defType` using its factory.\n { provide: defType, useFactory: factory, deps: EMPTY_ARRAY }, \n // Make this `defType` available to an internal logic that calculates injector scope.\n { provide: INJECTOR_DEF_TYPES, useValue: defType, multi: true }, \n // Provider to eagerly instantiate `defType` via `ENVIRONMENT_INITIALIZER`.\n { provide: ENVIRONMENT_INITIALIZER, useValue: () => ɵɵinject(defType), multi: true } //\n );\n }\n // Next, include providers listed on the definition itself.\n const defProviders = injDef.providers;\n if (defProviders != null && !isDuplicate) {\n const injectorType = container;\n deepForEachProvider(defProviders, provider => {\n ngDevMode && validateProvider(provider, defProviders, injectorType);\n providersOut.push(provider);\n });\n }\n }\n else {\n // Should not happen, but just in case.\n return false;\n }\n return (defType !== container &&\n container.providers !== undefined);\n}\nfunction validateProvider(provider, providers, containerType) {\n if (isTypeProvider(provider) || isValueProvider(provider) || isFactoryProvider(provider) ||\n isExistingProvider(provider)) {\n return;\n }\n // Here we expect the provider to be a `useClass` provider (by elimination).\n const classRef = resolveForwardRef(provider && (provider.useClass || provider.provide));\n if (!classRef) {\n throwInvalidProviderError(containerType, providers, provider);\n }\n}\nfunction deepForEachProvider(providers, fn) {\n for (let provider of providers) {\n if (isEnvironmentProviders(provider)) {\n provider = provider.ɵproviders;\n }\n if (Array.isArray(provider)) {\n deepForEachProvider(provider, fn);\n }\n else {\n fn(provider);\n }\n }\n}\nconst USE_VALUE$1 = getClosureSafeProperty({ provide: String, useValue: getClosureSafeProperty });\nfunction isValueProvider(value) {\n return value !== null && typeof value == 'object' && USE_VALUE$1 in value;\n}\nfunction isExistingProvider(value) {\n return !!(value && value.useExisting);\n}\nfunction isFactoryProvider(value) {\n return !!(value && value.useFactory);\n}\nfunction isTypeProvider(value) {\n return typeof value === 'function';\n}\nfunction isClassProvider(value) {\n return !!value.useClass;\n}\n\n/**\n * An internal token whose presence in an injector indicates that the injector should treat itself\n * as a root scoped injector when processing requests for unknown tokens which may indicate\n * they are provided in the root scope.\n */\nconst INJECTOR_SCOPE = new InjectionToken('Set Injector scope.');\n\n/**\n * Marker which indicates that a value has not yet been created from the factory function.\n */\nconst NOT_YET = {};\n/**\n * Marker which indicates that the factory function for a token is in the process of being called.\n *\n * If the injector is asked to inject a token with its value set to CIRCULAR, that indicates\n * injection of a dependency has recursively attempted to inject the original token, and there is\n * a circular dependency among the providers.\n */\nconst CIRCULAR = {};\n/**\n * A lazily initialized NullInjector.\n */\nlet NULL_INJECTOR$1 = undefined;\nfunction getNullInjector() {\n if (NULL_INJECTOR$1 === undefined) {\n NULL_INJECTOR$1 = new NullInjector();\n }\n return NULL_INJECTOR$1;\n}\n/**\n * An `Injector` that's part of the environment injector hierarchy, which exists outside of the\n * component tree.\n */\nclass EnvironmentInjector {\n}\nclass R3Injector extends EnvironmentInjector {\n /**\n * Flag indicating that this injector was previously destroyed.\n */\n get destroyed() {\n return this._destroyed;\n }\n constructor(providers, parent, source, scopes) {\n super();\n this.parent = parent;\n this.source = source;\n this.scopes = scopes;\n /**\n * Map of tokens to records which contain the instances of those tokens.\n * - `null` value implies that we don't have the record. Used by tree-shakable injectors\n * to prevent further searches.\n */\n this.records = new Map();\n /**\n * Set of values instantiated by this injector which contain `ngOnDestroy` lifecycle hooks.\n */\n this._ngOnDestroyHooks = new Set();\n this._onDestroyHooks = [];\n this._destroyed = false;\n // Start off by creating Records for every provider.\n forEachSingleProvider(providers, provider => this.processProvider(provider));\n // Make sure the INJECTOR token provides this injector.\n this.records.set(INJECTOR, makeRecord(undefined, this));\n // And `EnvironmentInjector` if the current injector is supposed to be env-scoped.\n if (scopes.has('environment')) {\n this.records.set(EnvironmentInjector, makeRecord(undefined, this));\n }\n // Detect whether this injector has the APP_ROOT_SCOPE token and thus should provide\n // any injectable scoped to APP_ROOT_SCOPE.\n const record = this.records.get(INJECTOR_SCOPE);\n if (record != null && typeof record.value === 'string') {\n this.scopes.add(record.value);\n }\n this.injectorDefTypes =\n new Set(this.get(INJECTOR_DEF_TYPES.multi, EMPTY_ARRAY, InjectFlags.Self));\n }\n /**\n * Destroy the injector and release references to every instance or provider associated with it.\n *\n * Also calls the `OnDestroy` lifecycle hooks of every instance that was created for which a\n * hook was found.\n */\n destroy() {\n this.assertNotDestroyed();\n // Set destroyed = true first, in case lifecycle hooks re-enter destroy().\n this._destroyed = true;\n try {\n // Call all the lifecycle hooks.\n for (const service of this._ngOnDestroyHooks) {\n service.ngOnDestroy();\n }\n const onDestroyHooks = this._onDestroyHooks;\n // Reset the _onDestroyHooks array before iterating over it to prevent hooks that unregister\n // themselves from mutating the array during iteration.\n this._onDestroyHooks = [];\n for (const hook of onDestroyHooks) {\n hook();\n }\n }\n finally {\n // Release all references.\n this.records.clear();\n this._ngOnDestroyHooks.clear();\n this.injectorDefTypes.clear();\n }\n }\n onDestroy(callback) {\n this.assertNotDestroyed();\n this._onDestroyHooks.push(callback);\n return () => this.removeOnDestroy(callback);\n }\n runInContext(fn) {\n this.assertNotDestroyed();\n const previousInjector = setCurrentInjector(this);\n const previousInjectImplementation = setInjectImplementation(undefined);\n try {\n return fn();\n }\n finally {\n setCurrentInjector(previousInjector);\n setInjectImplementation(previousInjectImplementation);\n }\n }\n get(token, notFoundValue = THROW_IF_NOT_FOUND, flags = InjectFlags.Default) {\n this.assertNotDestroyed();\n if (token.hasOwnProperty(NG_ENV_ID)) {\n return token[NG_ENV_ID](this);\n }\n flags = convertToBitFlags(flags);\n // Set the injection context.\n const previousInjector = setCurrentInjector(this);\n const previousInjectImplementation = setInjectImplementation(undefined);\n try {\n // Check for the SkipSelf flag.\n if (!(flags & InjectFlags.SkipSelf)) {\n // SkipSelf isn't set, check if the record belongs to this injector.\n let record = this.records.get(token);\n if (record === undefined) {\n // No record, but maybe the token is scoped to this injector. Look for an injectable\n // def with a scope matching this injector.\n const def = couldBeInjectableType(token) && getInjectableDef(token);\n if (def && this.injectableDefInScope(def)) {\n // Found an injectable def and it's scoped to this injector. Pretend as if it was here\n // all along.\n record = makeRecord(injectableDefOrInjectorDefFactory(token), NOT_YET);\n }\n else {\n record = null;\n }\n this.records.set(token, record);\n }\n // If a record was found, get the instance for it and return it.\n if (record != null /* NOT null || undefined */) {\n return this.hydrate(token, record);\n }\n }\n // Select the next injector based on the Self flag - if self is set, the next injector is\n // the NullInjector, otherwise it's the parent.\n const nextInjector = !(flags & InjectFlags.Self) ? this.parent : getNullInjector();\n // Set the notFoundValue based on the Optional flag - if optional is set and notFoundValue\n // is undefined, the value is null, otherwise it's the notFoundValue.\n notFoundValue = (flags & InjectFlags.Optional) && notFoundValue === THROW_IF_NOT_FOUND ?\n null :\n notFoundValue;\n return nextInjector.get(token, notFoundValue);\n }\n catch (e) {\n if (e.name === 'NullInjectorError') {\n const path = e[NG_TEMP_TOKEN_PATH] = e[NG_TEMP_TOKEN_PATH] || [];\n path.unshift(stringify(token));\n if (previousInjector) {\n // We still have a parent injector, keep throwing\n throw e;\n }\n else {\n // Format & throw the final error message when we don't have any previous injector\n return catchInjectorError(e, token, 'R3InjectorError', this.source);\n }\n }\n else {\n throw e;\n }\n }\n finally {\n // Lastly, restore the previous injection context.\n setInjectImplementation(previousInjectImplementation);\n setCurrentInjector(previousInjector);\n }\n }\n /** @internal */\n resolveInjectorInitializers() {\n const previousInjector = setCurrentInjector(this);\n const previousInjectImplementation = setInjectImplementation(undefined);\n try {\n const initializers = this.get(ENVIRONMENT_INITIALIZER.multi, EMPTY_ARRAY, InjectFlags.Self);\n if (ngDevMode && !Array.isArray(initializers)) {\n throw new RuntimeError(-209 /* RuntimeErrorCode.INVALID_MULTI_PROVIDER */, 'Unexpected type of the `ENVIRONMENT_INITIALIZER` token value ' +\n `(expected an array, but got ${typeof initializers}). ` +\n 'Please check that the `ENVIRONMENT_INITIALIZER` token is configured as a ' +\n '`multi: true` provider.');\n }\n for (const initializer of initializers) {\n initializer();\n }\n }\n finally {\n setCurrentInjector(previousInjector);\n setInjectImplementation(previousInjectImplementation);\n }\n }\n toString() {\n const tokens = [];\n const records = this.records;\n for (const token of records.keys()) {\n tokens.push(stringify(token));\n }\n return `R3Injector[${tokens.join(', ')}]`;\n }\n assertNotDestroyed() {\n if (this._destroyed) {\n throw new RuntimeError(205 /* RuntimeErrorCode.INJECTOR_ALREADY_DESTROYED */, ngDevMode && 'Injector has already been destroyed.');\n }\n }\n /**\n * Process a `SingleProvider` and add it.\n */\n processProvider(provider) {\n // Determine the token from the provider. Either it's its own token, or has a {provide: ...}\n // property.\n provider = resolveForwardRef(provider);\n let token = isTypeProvider(provider) ? provider : resolveForwardRef(provider && provider.provide);\n // Construct a `Record` for the provider.\n const record = providerToRecord(provider);\n if (!isTypeProvider(provider) && provider.multi === true) {\n // If the provider indicates that it's a multi-provider, process it specially.\n // First check whether it's been defined already.\n let multiRecord = this.records.get(token);\n if (multiRecord) {\n // It has. Throw a nice error if\n if (ngDevMode && multiRecord.multi === undefined) {\n throwMixedMultiProviderError();\n }\n }\n else {\n multiRecord = makeRecord(undefined, NOT_YET, true);\n multiRecord.factory = () => injectArgs(multiRecord.multi);\n this.records.set(token, multiRecord);\n }\n token = provider;\n multiRecord.multi.push(provider);\n }\n else {\n const existing = this.records.get(token);\n if (ngDevMode && existing && existing.multi !== undefined) {\n throwMixedMultiProviderError();\n }\n }\n this.records.set(token, record);\n }\n hydrate(token, record) {\n if (ngDevMode && record.value === CIRCULAR) {\n throwCyclicDependencyError(stringify(token));\n }\n else if (record.value === NOT_YET) {\n record.value = CIRCULAR;\n record.value = record.factory();\n }\n if (typeof record.value === 'object' && record.value && hasOnDestroy(record.value)) {\n this._ngOnDestroyHooks.add(record.value);\n }\n return record.value;\n }\n injectableDefInScope(def) {\n if (!def.providedIn) {\n return false;\n }\n const providedIn = resolveForwardRef(def.providedIn);\n if (typeof providedIn === 'string') {\n return providedIn === 'any' || (this.scopes.has(providedIn));\n }\n else {\n return this.injectorDefTypes.has(providedIn);\n }\n }\n removeOnDestroy(callback) {\n const destroyCBIdx = this._onDestroyHooks.indexOf(callback);\n if (destroyCBIdx !== -1) {\n this._onDestroyHooks.splice(destroyCBIdx, 1);\n }\n }\n}\nfunction injectableDefOrInjectorDefFactory(token) {\n // Most tokens will have an injectable def directly on them, which specifies a factory directly.\n const injectableDef = getInjectableDef(token);\n const factory = injectableDef !== null ? injectableDef.factory : getFactoryDef(token);\n if (factory !== null) {\n return factory;\n }\n // InjectionTokens should have an injectable def (ɵprov) and thus should be handled above.\n // If it's missing that, it's an error.\n if (token instanceof InjectionToken) {\n throw new RuntimeError(204 /* RuntimeErrorCode.INVALID_INJECTION_TOKEN */, ngDevMode && `Token ${stringify(token)} is missing a ɵprov definition.`);\n }\n // Undecorated types can sometimes be created if they have no constructor arguments.\n if (token instanceof Function) {\n return getUndecoratedInjectableFactory(token);\n }\n // There was no way to resolve a factory for this token.\n throw new RuntimeError(204 /* RuntimeErrorCode.INVALID_INJECTION_TOKEN */, ngDevMode && 'unreachable');\n}\nfunction getUndecoratedInjectableFactory(token) {\n // If the token has parameters then it has dependencies that we cannot resolve implicitly.\n const paramLength = token.length;\n if (paramLength > 0) {\n const args = newArray(paramLength, '?');\n throw new RuntimeError(204 /* RuntimeErrorCode.INVALID_INJECTION_TOKEN */, ngDevMode && `Can't resolve all parameters for ${stringify(token)}: (${args.join(', ')}).`);\n }\n // The constructor function appears to have no parameters.\n // This might be because it inherits from a super-class. In which case, use an injectable\n // def from an ancestor if there is one.\n // Otherwise this really is a simple class with no dependencies, so return a factory that\n // just instantiates the zero-arg constructor.\n const inheritedInjectableDef = getInheritedInjectableDef(token);\n if (inheritedInjectableDef !== null) {\n return () => inheritedInjectableDef.factory(token);\n }\n else {\n return () => new token();\n }\n}\nfunction providerToRecord(provider) {\n if (isValueProvider(provider)) {\n return makeRecord(undefined, provider.useValue);\n }\n else {\n const factory = providerToFactory(provider);\n return makeRecord(factory, NOT_YET);\n }\n}\n/**\n * Converts a `SingleProvider` into a factory function.\n *\n * @param provider provider to convert to factory\n */\nfunction providerToFactory(provider, ngModuleType, providers) {\n let factory = undefined;\n if (ngDevMode && isEnvironmentProviders(provider)) {\n throwInvalidProviderError(undefined, providers, provider);\n }\n if (isTypeProvider(provider)) {\n const unwrappedProvider = resolveForwardRef(provider);\n return getFactoryDef(unwrappedProvider) || injectableDefOrInjectorDefFactory(unwrappedProvider);\n }\n else {\n if (isValueProvider(provider)) {\n factory = () => resolveForwardRef(provider.useValue);\n }\n else if (isFactoryProvider(provider)) {\n factory = () => provider.useFactory(...injectArgs(provider.deps || []));\n }\n else if (isExistingProvider(provider)) {\n factory = () => ɵɵinject(resolveForwardRef(provider.useExisting));\n }\n else {\n const classRef = resolveForwardRef(provider &&\n (provider.useClass || provider.provide));\n if (ngDevMode && !classRef) {\n throwInvalidProviderError(ngModuleType, providers, provider);\n }\n if (hasDeps(provider)) {\n factory = () => new (classRef)(...injectArgs(provider.deps));\n }\n else {\n return getFactoryDef(classRef) || injectableDefOrInjectorDefFactory(classRef);\n }\n }\n }\n return factory;\n}\nfunction makeRecord(factory, value, multi = false) {\n return {\n factory: factory,\n value: value,\n multi: multi ? [] : undefined,\n };\n}\nfunction hasDeps(value) {\n return !!value.deps;\n}\nfunction hasOnDestroy(value) {\n return value !== null && typeof value === 'object' &&\n typeof value.ngOnDestroy === 'function';\n}\nfunction couldBeInjectableType(value) {\n return (typeof value === 'function') ||\n (typeof value === 'object' && value instanceof InjectionToken);\n}\nfunction forEachSingleProvider(providers, fn) {\n for (const provider of providers) {\n if (Array.isArray(provider)) {\n forEachSingleProvider(provider, fn);\n }\n else if (provider && isEnvironmentProviders(provider)) {\n forEachSingleProvider(provider.ɵproviders, fn);\n }\n else {\n fn(provider);\n }\n }\n}\n\n/**\n * A [DI token](guide/glossary#di-token \"DI token definition\") representing a string ID, used\n * primarily for prefixing application attributes and CSS styles when\n * {@link ViewEncapsulation#Emulated ViewEncapsulation.Emulated} is being used.\n *\n * The token is needed in cases when multiple applications are bootstrapped on a page\n * (for example, using `bootstrapApplication` calls). In this case, ensure that those applications\n * have different `APP_ID` value setup. For example:\n *\n * ```\n * bootstrapApplication(ComponentA, {\n * providers: [\n * { provide: APP_ID, useValue: 'app-a' },\n * // ... other providers ...\n * ]\n * });\n *\n * bootstrapApplication(ComponentB, {\n * providers: [\n * { provide: APP_ID, useValue: 'app-b' },\n * // ... other providers ...\n * ]\n * });\n * ```\n *\n * By default, when there is only one application bootstrapped, you don't need to provide the\n * `APP_ID` token (the `ng` will be used as an app ID).\n *\n * @publicApi\n */\nconst APP_ID = new InjectionToken('AppId', {\n providedIn: 'root',\n factory: () => DEFAULT_APP_ID,\n});\n/** Default value of the `APP_ID` token. */\nconst DEFAULT_APP_ID = 'ng';\n/**\n * A function that is executed when a platform is initialized.\n * @publicApi\n */\nconst PLATFORM_INITIALIZER = new InjectionToken('Platform Initializer');\n/**\n * A token that indicates an opaque platform ID.\n * @publicApi\n */\nconst PLATFORM_ID = new InjectionToken('Platform ID', {\n providedIn: 'platform',\n factory: () => 'unknown', // set a default platform name, when none set explicitly\n});\n/**\n * A [DI token](guide/glossary#di-token \"DI token definition\") that indicates the root directory of\n * the application\n * @publicApi\n */\nconst PACKAGE_ROOT_URL = new InjectionToken('Application Packages Root URL');\n// We keep this token here, rather than the animations package, so that modules that only care\n// about which animations module is loaded (e.g. the CDK) can retrieve it without having to\n// include extra dependencies. See #44970 for more context.\n/**\n * A [DI token](guide/glossary#di-token \"DI token definition\") that indicates which animations\n * module has been loaded.\n * @publicApi\n */\nconst ANIMATION_MODULE_TYPE = new InjectionToken('AnimationModuleType');\n// TODO(crisbeto): link to CSP guide here.\n/**\n * Token used to configure the [Content Security Policy](https://web.dev/strict-csp/) nonce that\n * Angular will apply when inserting inline styles. If not provided, Angular will look up its value\n * from the `ngCspNonce` attribute of the application root node.\n *\n * @publicApi\n */\nconst CSP_NONCE = new InjectionToken('CSP nonce', {\n providedIn: 'root',\n factory: () => {\n // Ideally we wouldn't have to use `querySelector` here since we know that the nonce will be on\n // the root node, but because the token value is used in renderers, it has to be available\n // *very* early in the bootstrapping process. This should be a fairly shallow search, because\n // the app won't have been added to the DOM yet. Some approaches that were considered:\n // 1. Find the root node through `ApplicationRef.components[i].location` - normally this would\n // be enough for our purposes, but the token is injected very early so the `components` array\n // isn't populated yet.\n // 2. Find the root `LView` through the current `LView` - renderers are a prerequisite to\n // creating the `LView`. This means that no `LView` will have been entered when this factory is\n // invoked for the root component.\n // 3. Have the token factory return `() => string` which is invoked when a nonce is requested -\n // the slightly later execution does allow us to get an `LView` reference, but the fact that\n // it is a function means that it could be executed at *any* time (including immediately) which\n // may lead to weird bugs.\n // 4. Have the `ComponentFactory` read the attribute and provide it to the injector under the\n // hood - has the same problem as #1 and #2 in that the renderer is used to query for the root\n // node and the nonce value needs to be available when the renderer is created.\n return getDocument().body?.querySelector('[ngCspNonce]')?.getAttribute('ngCspNonce') || null;\n },\n});\n/**\n * Internal token to collect all SSR-related features enabled for this application.\n *\n * Note: the token is in `core` to let other packages register features (the `core`\n * package is imported in other packages).\n */\nconst ENABLED_SSR_FEATURES = new InjectionToken((typeof ngDevMode === 'undefined' || ngDevMode) ? 'ENABLED_SSR_FEATURES' : '', {\n providedIn: 'root',\n factory: () => new Set(),\n});\n\n/**\n * Create a `StateKey<T>` that can be used to store value of type T with `TransferState`.\n *\n * Example:\n *\n * ```\n * const COUNTER_KEY = makeStateKey<number>('counter');\n * let value = 10;\n *\n * transferState.set(COUNTER_KEY, value);\n * ```\n *\n * @publicApi\n */\nfunction makeStateKey(key) {\n return key;\n}\nfunction initTransferState() {\n const transferState = new TransferState();\n if (inject(PLATFORM_ID) === 'browser') {\n transferState.store = retrieveTransferredState(getDocument(), inject(APP_ID));\n }\n return transferState;\n}\n/**\n * A key value store that is transferred from the application on the server side to the application\n * on the client side.\n *\n * The `TransferState` is available as an injectable token.\n * On the client, just inject this token using DI and use it, it will be lazily initialized.\n * On the server it's already included if `renderApplication` function is used. Otherwise, import\n * the `ServerTransferStateModule` module to make the `TransferState` available.\n *\n * The values in the store are serialized/deserialized using JSON.stringify/JSON.parse. So only\n * boolean, number, string, null and non-class objects will be serialized and deserialized in a\n * non-lossy manner.\n *\n * @publicApi\n */\nclass TransferState {\n constructor() {\n /** @internal */\n this.store = {};\n this.onSerializeCallbacks = {};\n }\n /** @nocollapse */\n static { this.ɵprov = \n /** @pureOrBreakMyCode */ ɵɵdefineInjectable({\n token: TransferState,\n providedIn: 'root',\n factory: initTransferState,\n }); }\n /**\n * Get the value corresponding to a key. Return `defaultValue` if key is not found.\n */\n get(key, defaultValue) {\n return this.store[key] !== undefined ? this.store[key] : defaultValue;\n }\n /**\n * Set the value corresponding to a key.\n */\n set(key, value) {\n this.store[key] = value;\n }\n /**\n * Remove a key from the store.\n */\n remove(key) {\n delete this.store[key];\n }\n /**\n * Test whether a key exists in the store.\n */\n hasKey(key) {\n return this.store.hasOwnProperty(key);\n }\n /**\n * Indicates whether the state is empty.\n */\n get isEmpty() {\n return Object.keys(this.store).length === 0;\n }\n /**\n * Register a callback to provide the value for a key when `toJson` is called.\n */\n onSerialize(key, callback) {\n this.onSerializeCallbacks[key] = callback;\n }\n /**\n * Serialize the current state of the store to JSON.\n */\n toJson() {\n // Call the onSerialize callbacks and put those values into the store.\n for (const key in this.onSerializeCallbacks) {\n if (this.onSerializeCallbacks.hasOwnProperty(key)) {\n try {\n this.store[key] = this.onSerializeCallbacks[key]();\n }\n catch (e) {\n console.warn('Exception in onSerialize callback: ', e);\n }\n }\n }\n // Escape script tag to avoid break out of <script> tag in serialized output.\n // Encoding of `<` is the same behaviour as G3 script_builders.\n return JSON.stringify(this.store).replace(/</g, '\\\\u003C');\n }\n}\nfunction retrieveTransferredState(doc, appId) {\n // Locate the script tag with the JSON data transferred from the server.\n // The id of the script tag is set to the Angular appId + 'state'.\n const script = doc.getElementById(appId + '-state');\n if (script?.textContent) {\n try {\n // Avoid using any here as it triggers lint errors in google3 (any is not allowed).\n // Decoding of `<` is done of the box by browsers and node.js, same behaviour as G3\n // script_builders.\n return JSON.parse(script.textContent);\n }\n catch (e) {\n console.warn('Exception while restoring TransferState for app ' + appId, e);\n }\n }\n return {};\n}\n\n/** Encodes that the node lookup should start from the host node of this component. */\nconst REFERENCE_NODE_HOST = 'h';\n/** Encodes that the node lookup should start from the document body node. */\nconst REFERENCE_NODE_BODY = 'b';\n/**\n * Describes navigation steps that the runtime logic need to perform,\n * starting from a given (known) element.\n */\nvar NodeNavigationStep;\n(function (NodeNavigationStep) {\n NodeNavigationStep[\"FirstChild\"] = \"f\";\n NodeNavigationStep[\"NextSibling\"] = \"n\";\n})(NodeNavigationStep || (NodeNavigationStep = {}));\n/**\n * Keys within serialized view data structure to represent various\n * parts. See the `SerializedView` interface below for additional information.\n */\nconst ELEMENT_CONTAINERS = 'e';\nconst TEMPLATES = 't';\nconst CONTAINERS = 'c';\nconst MULTIPLIER = 'x';\nconst NUM_ROOT_NODES = 'r';\nconst TEMPLATE_ID = 'i'; // as it's also an \"id\"\nconst NODES = 'n';\nconst DISCONNECTED_NODES = 'd';\n\n/**\n * The name of the key used in the TransferState collection,\n * where hydration information is located.\n */\nconst TRANSFER_STATE_TOKEN_ID = '__ɵnghData__';\n/**\n * Lookup key used to reference DOM hydration data (ngh) in `TransferState`.\n */\nconst NGH_DATA_KEY = makeStateKey(TRANSFER_STATE_TOKEN_ID);\n/**\n * The name of the attribute that would be added to host component\n * nodes and contain a reference to a particular slot in transferred\n * state that contains the necessary hydration info for this component.\n */\nconst NGH_ATTR_NAME = 'ngh';\n/**\n * Reference to a function that reads `ngh` attribute value from a given RNode\n * and retrieves hydration information from the TransferState using that value\n * as an index. Returns `null` by default, when hydration is not enabled.\n *\n * @param rNode Component's host element.\n * @param injector Injector that this component has access to.\n */\nlet _retrieveHydrationInfoImpl = (rNode, injector) => null;\nfunction retrieveHydrationInfoImpl(rNode, injector) {\n const nghAttrValue = rNode.getAttribute(NGH_ATTR_NAME);\n if (nghAttrValue == null)\n return null;\n let data = {};\n // An element might have an empty `ngh` attribute value (e.g. `<comp ngh=\"\" />`),\n // which means that no special annotations are required. Do not attempt to read\n // from the TransferState in this case.\n if (nghAttrValue !== '') {\n const transferState = injector.get(TransferState, null, { optional: true });\n if (transferState !== null) {\n const nghData = transferState.get(NGH_DATA_KEY, []);\n // The nghAttrValue is always a number referencing an index\n // in the hydration TransferState data.\n data = nghData[Number(nghAttrValue)];\n // If the `ngh` attribute exists and has a non-empty value,\n // the hydration info *must* be present in the TransferState.\n // If there is no data for some reasons, this is an error.\n ngDevMode && assertDefined(data, 'Unable to retrieve hydration info from the TransferState.');\n }\n }\n const dehydratedView = {\n data,\n firstChild: rNode.firstChild ?? null,\n };\n // The `ngh` attribute is cleared from the DOM node now\n // that the data has been retrieved.\n rNode.removeAttribute(NGH_ATTR_NAME);\n // Note: don't check whether this node was claimed for hydration,\n // because this node might've been previously claimed while processing\n // template instructions.\n ngDevMode && markRNodeAsClaimedByHydration(rNode, /* checkIfAlreadyClaimed */ false);\n ngDevMode && ngDevMode.hydratedComponents++;\n return dehydratedView;\n}\n/**\n * Sets the implementation for the `retrieveHydrationInfo` function.\n */\nfunction enableRetrieveHydrationInfoImpl() {\n _retrieveHydrationInfoImpl = retrieveHydrationInfoImpl;\n}\n/**\n * Retrieves hydration info by reading the value from the `ngh` attribute\n * and accessing a corresponding slot in TransferState storage.\n */\nfunction retrieveHydrationInfo(rNode, injector) {\n return _retrieveHydrationInfoImpl(rNode, injector);\n}\n/**\n * Retrieves an instance of a component LView from a given ViewRef.\n * Returns an instance of a component LView or `null` in case of an embedded view.\n */\nfunction getComponentLViewForHydration(viewRef) {\n // Reading an internal field from `ViewRef` instance.\n let lView = viewRef._lView;\n const tView = lView[TVIEW];\n // A registered ViewRef might represent an instance of an\n // embedded view, in which case we do not need to annotate it.\n if (tView.type === 2 /* TViewType.Embedded */) {\n return null;\n }\n // Check if it's a root view and if so, retrieve component's\n // LView from the first slot after the header.\n if (isRootView(lView)) {\n lView = lView[HEADER_OFFSET];\n }\n // If a `ViewContainerRef` was injected in a component class, this resulted\n // in an LContainer creation at that location. In this case, the component\n // LView is in the LContainer's `HOST` slot.\n if (isLContainer(lView)) {\n lView = lView[HOST];\n }\n return lView;\n}\nfunction getTextNodeContent(node) {\n return node.textContent?.replace(/\\s/gm, '');\n}\n/**\n * Restores text nodes and separators into the DOM that were lost during SSR\n * serialization. The hydration process replaces empty text nodes and text\n * nodes that are immediately adjacent to other text nodes with comment nodes\n * that this method filters on to restore those missing nodes that the\n * hydration process is expecting to be present.\n *\n * @param node The app's root HTML Element\n */\nfunction processTextNodeMarkersBeforeHydration(node) {\n const doc = getDocument();\n const commentNodesIterator = doc.createNodeIterator(node, NodeFilter.SHOW_COMMENT, {\n acceptNode(node) {\n const content = getTextNodeContent(node);\n const isTextNodeMarker = content === \"ngetn\" /* TextNodeMarker.EmptyNode */ || content === \"ngtns\" /* TextNodeMarker.Separator */;\n return isTextNodeMarker ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_REJECT;\n }\n });\n let currentNode;\n // We cannot modify the DOM while using the commentIterator,\n // because it throws off the iterator state.\n // So we collect all marker nodes first and then follow up with\n // applying the changes to the DOM: either inserting an empty node\n // or just removing the marker if it was used as a separator.\n const nodes = [];\n while (currentNode = commentNodesIterator.nextNode()) {\n nodes.push(currentNode);\n }\n for (const node of nodes) {\n if (node.textContent === \"ngetn\" /* TextNodeMarker.EmptyNode */) {\n node.replaceWith(doc.createTextNode(''));\n }\n else {\n node.remove();\n }\n }\n}\n/**\n * Marks a node as \"claimed\" by hydration process.\n * This is needed to make assessments in tests whether\n * the hydration process handled all nodes.\n */\nfunction markRNodeAsClaimedByHydration(node, checkIfAlreadyClaimed = true) {\n if (!ngDevMode) {\n throw new Error('Calling `markRNodeAsClaimedByHydration` in prod mode ' +\n 'is not supported and likely a mistake.');\n }\n if (checkIfAlreadyClaimed && isRNodeClaimedForHydration(node)) {\n throw new Error('Trying to claim a node, which was claimed already.');\n }\n node.__claimed = true;\n ngDevMode.hydratedNodes++;\n}\nfunction isRNodeClaimedForHydration(node) {\n return !!node.__claimed;\n}\nfunction setSegmentHead(hydrationInfo, index, node) {\n hydrationInfo.segmentHeads ??= {};\n hydrationInfo.segmentHeads[index] = node;\n}\nfunction getSegmentHead(hydrationInfo, index) {\n return hydrationInfo.segmentHeads?.[index] ?? null;\n}\n/**\n * Returns the size of an <ng-container>, using either the information\n * serialized in `ELEMENT_CONTAINERS` (element container size) or by\n * computing the sum of root nodes in all dehydrated views in a given\n * container (in case this `<ng-container>` was also used as a view\n * container host node, e.g. <ng-container *ngIf>).\n */\nfunction getNgContainerSize(hydrationInfo, index) {\n const data = hydrationInfo.data;\n let size = data[ELEMENT_CONTAINERS]?.[index] ?? null;\n // If there is no serialized information available in the `ELEMENT_CONTAINERS` slot,\n // check if we have info about view containers at this location (e.g.\n // `<ng-container *ngIf>`) and use container size as a number of root nodes in this\n // element container.\n if (size === null && data[CONTAINERS]?.[index]) {\n size = calcSerializedContainerSize(hydrationInfo, index);\n }\n return size;\n}\nfunction getSerializedContainerViews(hydrationInfo, index) {\n return hydrationInfo.data[CONTAINERS]?.[index] ?? null;\n}\n/**\n * Computes the size of a serialized container (the number of root nodes)\n * by calculating the sum of root nodes in all dehydrated views in this container.\n */\nfunction calcSerializedContainerSize(hydrationInfo, index) {\n const views = getSerializedContainerViews(hydrationInfo, index) ?? [];\n let numNodes = 0;\n for (let view of views) {\n numNodes += view[NUM_ROOT_NODES] * (view[MULTIPLIER] ?? 1);\n }\n return numNodes;\n}\n/**\n * Checks whether a node is annotated as \"disconnected\", i.e. not present\n * in the DOM at serialization time. We should not attempt hydration for\n * such nodes and instead, use a regular \"creation mode\".\n */\nfunction isDisconnectedNode$1(hydrationInfo, index) {\n // Check if we are processing disconnected info for the first time.\n if (typeof hydrationInfo.disconnectedNodes === 'undefined') {\n const nodeIds = hydrationInfo.data[DISCONNECTED_NODES];\n hydrationInfo.disconnectedNodes = nodeIds ? (new Set(nodeIds)) : null;\n }\n return !!hydrationInfo.disconnectedNodes?.has(index);\n}\n\n/**\n * Represents a component created by a `ComponentFactory`.\n * Provides access to the component instance and related objects,\n * and provides the means of destroying the instance.\n *\n * @publicApi\n */\nclass ComponentRef$1 {\n}\n/**\n * Base class for a factory that can create a component dynamically.\n * Instantiate a factory for a given type of component with `resolveComponentFactory()`.\n * Use the resulting `ComponentFactory.create()` method to create a component of that type.\n *\n * @see [Dynamic Components](guide/dynamic-component-loader)\n *\n * @publicApi\n *\n * @deprecated Angular no longer requires Component factories. Please use other APIs where\n * Component class can be used directly.\n */\nclass ComponentFactory$1 {\n}\n\nfunction noComponentFactoryError(component) {\n const error = Error(`No component factory found for ${stringify(component)}.`);\n error[ERROR_COMPONENT] = component;\n return error;\n}\nconst ERROR_COMPONENT = 'ngComponent';\nfunction getComponent$1(error) {\n return error[ERROR_COMPONENT];\n}\nclass _NullComponentFactoryResolver {\n resolveComponentFactory(component) {\n throw noComponentFactoryError(component);\n }\n}\n/**\n * A simple registry that maps `Components` to generated `ComponentFactory` classes\n * that can be used to create instances of components.\n * Use to obtain the factory for a given component type,\n * then use the factory's `create()` method to create a component of that type.\n *\n * Note: since v13, dynamic component creation via\n * [`ViewContainerRef.createComponent`](api/core/ViewContainerRef#createComponent)\n * does **not** require resolving component factory: component class can be used directly.\n *\n * @publicApi\n *\n * @deprecated Angular no longer requires Component factories. Please use other APIs where\n * Component class can be used directly.\n */\nclass ComponentFactoryResolver$1 {\n static { this.NULL = ( /* @__PURE__ */new _NullComponentFactoryResolver()); }\n}\n\n/**\n * Creates an ElementRef from the most recent node.\n *\n * @returns The ElementRef instance to use\n */\nfunction injectElementRef() {\n return createElementRef(getCurrentTNode(), getLView());\n}\n/**\n * Creates an ElementRef given a node.\n *\n * @param tNode The node for which you'd like an ElementRef\n * @param lView The view to which the node belongs\n * @returns The ElementRef instance to use\n */\nfunction createElementRef(tNode, lView) {\n return new ElementRef(getNativeByTNode(tNode, lView));\n}\n/**\n * A wrapper around a native element inside of a View.\n *\n * An `ElementRef` is backed by a render-specific element. In the browser, this is usually a DOM\n * element.\n *\n * @security Permitting direct access to the DOM can make your application more vulnerable to\n * XSS attacks. Carefully review any use of `ElementRef` in your code. For more detail, see the\n * [Security Guide](https://g.co/ng/security).\n *\n * @publicApi\n */\n// Note: We don't expose things like `Injector`, `ViewContainer`, ... here,\n// i.e. users have to ask for what they need. With that, we can build better analysis tools\n// and could do better codegen in the future.\nclass ElementRef {\n constructor(nativeElement) {\n this.nativeElement = nativeElement;\n }\n /**\n * @internal\n * @nocollapse\n */\n static { this.__NG_ELEMENT_ID__ = injectElementRef; }\n}\n/**\n * Unwraps `ElementRef` and return the `nativeElement`.\n *\n * @param value value to unwrap\n * @returns `nativeElement` if `ElementRef` otherwise returns value as is.\n */\nfunction unwrapElementRef(value) {\n return value instanceof ElementRef ? value.nativeElement : value;\n}\n\n/**\n * Creates and initializes a custom renderer that implements the `Renderer2` base class.\n *\n * @publicApi\n */\nclass RendererFactory2 {\n}\n/**\n * Extend this base class to implement custom rendering. By default, Angular\n * renders a template into DOM. You can use custom rendering to intercept\n * rendering calls, or to render to something other than DOM.\n *\n * Create your custom renderer using `RendererFactory2`.\n *\n * Use a custom renderer to bypass Angular's templating and\n * make custom UI changes that can't be expressed declaratively.\n * For example if you need to set a property or an attribute whose name is\n * not statically known, use the `setProperty()` or\n * `setAttribute()` method.\n *\n * @publicApi\n */\nclass Renderer2 {\n /**\n * @internal\n * @nocollapse\n */\n static { this.__NG_ELEMENT_ID__ = () => injectRenderer2(); }\n}\n/** Injects a Renderer2 for the current component. */\nfunction injectRenderer2() {\n // We need the Renderer to be based on the component that it's being injected into, however since\n // DI happens before we've entered its view, `getLView` will return the parent view instead.\n const lView = getLView();\n const tNode = getCurrentTNode();\n const nodeAtIndex = getComponentLViewByIndex(tNode.index, lView);\n return (isLView(nodeAtIndex) ? nodeAtIndex : lView)[RENDERER];\n}\n\n/**\n * Sanitizer is used by the views to sanitize potentially dangerous values.\n *\n * @publicApi\n */\nclass Sanitizer {\n /** @nocollapse */\n static { this.ɵprov = ɵɵdefineInjectable({\n token: Sanitizer,\n providedIn: 'root',\n factory: () => null,\n }); }\n}\n\n/**\n * @description Represents the version of Angular\n *\n * @publicApi\n */\nclass Version {\n constructor(full) {\n this.full = full;\n this.major = full.split('.')[0];\n this.minor = full.split('.')[1];\n this.patch = full.split('.').slice(2).join('.');\n }\n}\n/**\n * @publicApi\n */\nconst VERSION = new Version('16.0.5');\n\n// This default value is when checking the hierarchy for a token.\n//\n// It means both:\n// - the token is not provided by the current injector,\n// - only the element injectors should be checked (ie do not check module injectors\n//\n// mod1\n// /\n// el1 mod2\n// \\ /\n// el2\n//\n// When requesting el2.injector.get(token), we should check in the following order and return the\n// first found value:\n// - el2.injector.get(token, default)\n// - el1.injector.get(token, NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR) -> do not check the module\n// - mod2.injector.get(token, default)\nconst NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR = {};\n\n/**\n * Marks current view and all ancestors dirty.\n *\n * Returns the root view because it is found as a byproduct of marking the view tree\n * dirty, and can be used by methods that consume markViewDirty() to easily schedule\n * change detection. Otherwise, such methods would need to traverse up the view tree\n * an additional time to get the root view and schedule a tick on it.\n *\n * @param lView The starting LView to mark dirty\n * @returns the root LView\n */\nfunction markViewDirty(lView) {\n while (lView) {\n lView[FLAGS] |= 64 /* LViewFlags.Dirty */;\n const parent = getLViewParent(lView);\n // Stop traversing up as soon as you find a root view that wasn't attached to any container\n if (isRootView(lView) && !parent) {\n return lView;\n }\n // continue otherwise\n lView = parent;\n }\n return null;\n}\n\nconst ERROR_ORIGINAL_ERROR = 'ngOriginalError';\nfunction wrappedError(message, originalError) {\n const msg = `${message} caused by: ${originalError instanceof Error ? originalError.message : originalError}`;\n const error = Error(msg);\n error[ERROR_ORIGINAL_ERROR] = originalError;\n return error;\n}\nfunction getOriginalError(error) {\n return error[ERROR_ORIGINAL_ERROR];\n}\n\n/**\n * Provides a hook for centralized exception handling.\n *\n * The default implementation of `ErrorHandler` prints error messages to the `console`. To\n * intercept error handling, write a custom exception handler that replaces this default as\n * appropriate for your app.\n *\n * @usageNotes\n * ### Example\n *\n * ```\n * class MyErrorHandler implements ErrorHandler {\n * handleError(error) {\n * // do something with the exception\n * }\n * }\n *\n * @NgModule({\n * providers: [{provide: ErrorHandler, useClass: MyErrorHandler}]\n * })\n * class MyModule {}\n * ```\n *\n * @publicApi\n */\nclass ErrorHandler {\n constructor() {\n /**\n * @internal\n */\n this._console = console;\n }\n handleError(error) {\n const originalError = this._findOriginalError(error);\n this._console.error('ERROR', error);\n if (originalError) {\n this._console.error('ORIGINAL ERROR', originalError);\n }\n }\n /** @internal */\n _findOriginalError(error) {\n let e = error && getOriginalError(error);\n while (e && getOriginalError(e)) {\n e = getOriginalError(e);\n }\n return e || null;\n }\n}\n\n/**\n * Internal token that specifies whether DOM reuse logic\n * during hydration is enabled.\n */\nconst IS_HYDRATION_DOM_REUSE_ENABLED = new InjectionToken((typeof ngDevMode === 'undefined' || !!ngDevMode) ? 'IS_HYDRATION_DOM_REUSE_ENABLED' : '');\n// By default (in client rendering mode), we remove all the contents\n// of the host element and render an application after that.\nconst PRESERVE_HOST_CONTENT_DEFAULT = false;\n/**\n * Internal token that indicates whether host element content should be\n * retained during the bootstrap.\n */\nconst PRESERVE_HOST_CONTENT = new InjectionToken((typeof ngDevMode === 'undefined' || !!ngDevMode) ? 'PRESERVE_HOST_CONTENT' : '', {\n providedIn: 'root',\n factory: () => PRESERVE_HOST_CONTENT_DEFAULT,\n});\n\nfunction normalizeDebugBindingName(name) {\n // Attribute names with `$` (eg `x-y$`) are valid per spec, but unsupported by some browsers\n name = camelCaseToDashCase(name.replace(/[$@]/g, '_'));\n return `ng-reflect-${name}`;\n}\nconst CAMEL_CASE_REGEXP = /([A-Z])/g;\nfunction camelCaseToDashCase(input) {\n return input.replace(CAMEL_CASE_REGEXP, (...m) => '-' + m[1].toLowerCase());\n}\nfunction normalizeDebugBindingValue(value) {\n try {\n // Limit the size of the value as otherwise the DOM just gets polluted.\n return value != null ? value.toString().slice(0, 30) : value;\n }\n catch (e) {\n return '[ERROR] Exception while trying to serialize the value';\n }\n}\n\n/**\n *\n * @codeGenApi\n */\nfunction ɵɵresolveWindow(element) {\n return element.ownerDocument.defaultView;\n}\n/**\n *\n * @codeGenApi\n */\nfunction ɵɵresolveDocument(element) {\n return element.ownerDocument;\n}\n/**\n *\n * @codeGenApi\n */\nfunction ɵɵresolveBody(element) {\n return element.ownerDocument.body;\n}\n/**\n * The special delimiter we use to separate property names, prefixes, and suffixes\n * in property binding metadata. See storeBindingMetadata().\n *\n * We intentionally use the Unicode \"REPLACEMENT CHARACTER\" (U+FFFD) as a delimiter\n * because it is a very uncommon character that is unlikely to be part of a user's\n * property names or interpolation strings. If it is in fact used in a property\n * binding, DebugElement.properties will not return the correct value for that\n * binding. However, there should be no runtime effect for real applications.\n *\n * This character is typically rendered as a question mark inside of a diamond.\n * See https://en.wikipedia.org/wiki/Specials_(Unicode_block)\n *\n */\nconst INTERPOLATION_DELIMITER = `�`;\n/**\n * Unwrap a value which might be behind a closure (for forward declaration reasons).\n */\nfunction maybeUnwrapFn(value) {\n if (value instanceof Function) {\n return value();\n }\n else {\n return value;\n }\n}\n\n/**\n * The max length of the string representation of a value in an error message\n */\nconst VALUE_STRING_LENGTH_LIMIT = 200;\n/** Verifies that a given type is a Standalone Component. */\nfunction assertStandaloneComponentType(type) {\n assertComponentDef(type);\n const componentDef = getComponentDef(type);\n if (!componentDef.standalone) {\n throw new RuntimeError(907 /* RuntimeErrorCode.TYPE_IS_NOT_STANDALONE */, `The ${stringifyForError(type)} component is not marked as standalone, ` +\n `but Angular expects to have a standalone component here. ` +\n `Please make sure the ${stringifyForError(type)} component has ` +\n `the \\`standalone: true\\` flag in the decorator.`);\n }\n}\n/** Verifies whether a given type is a component */\nfunction assertComponentDef(type) {\n if (!getComponentDef(type)) {\n throw new RuntimeError(906 /* RuntimeErrorCode.MISSING_GENERATED_DEF */, `The ${stringifyForError(type)} is not an Angular component, ` +\n `make sure it has the \\`@Component\\` decorator.`);\n }\n}\n/** Called when there are multiple component selectors that match a given node */\nfunction throwMultipleComponentError(tNode, first, second) {\n throw new RuntimeError(-300 /* RuntimeErrorCode.MULTIPLE_COMPONENTS_MATCH */, `Multiple components match node with tagname ${tNode.value}: ` +\n `${stringifyForError(first)} and ` +\n `${stringifyForError(second)}`);\n}\n/** Throws an ExpressionChangedAfterChecked error if checkNoChanges mode is on. */\nfunction throwErrorIfNoChangesMode(creationMode, oldValue, currValue, propName, lView) {\n const hostComponentDef = getDeclarationComponentDef(lView);\n const componentClassName = hostComponentDef?.type?.name;\n const field = propName ? ` for '${propName}'` : '';\n let msg = `ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value${field}: '${formatValue(oldValue)}'. Current value: '${formatValue(currValue)}'.${componentClassName ? ` Expression location: ${componentClassName} component` : ''}`;\n if (creationMode) {\n msg +=\n ` It seems like the view has been created after its parent and its children have been dirty checked.` +\n ` Has it been created in a change detection hook?`;\n }\n throw new RuntimeError(-100 /* RuntimeErrorCode.EXPRESSION_CHANGED_AFTER_CHECKED */, msg);\n}\nfunction formatValue(value) {\n let strValue = String(value);\n // JSON.stringify will throw on circular references\n try {\n if (Array.isArray(value) || strValue === '[object Object]') {\n strValue = JSON.stringify(value);\n }\n }\n catch (error) {\n }\n return strValue.length > VALUE_STRING_LENGTH_LIMIT ?\n (strValue.substring(0, VALUE_STRING_LENGTH_LIMIT) + '…') :\n strValue;\n}\nfunction constructDetailsForInterpolation(lView, rootIndex, expressionIndex, meta, changedValue) {\n const [propName, prefix, ...chunks] = meta.split(INTERPOLATION_DELIMITER);\n let oldValue = prefix, newValue = prefix;\n for (let i = 0; i < chunks.length; i++) {\n const slotIdx = rootIndex + i;\n oldValue += `${lView[slotIdx]}${chunks[i]}`;\n newValue += `${slotIdx === expressionIndex ? changedValue : lView[slotIdx]}${chunks[i]}`;\n }\n return { propName, oldValue, newValue };\n}\n/**\n * Constructs an object that contains details for the ExpressionChangedAfterItHasBeenCheckedError:\n * - property name (for property bindings or interpolations)\n * - old and new values, enriched using information from metadata\n *\n * More information on the metadata storage format can be found in `storePropertyBindingMetadata`\n * function description.\n */\nfunction getExpressionChangedErrorDetails(lView, bindingIndex, oldValue, newValue) {\n const tData = lView[TVIEW].data;\n const metadata = tData[bindingIndex];\n if (typeof metadata === 'string') {\n // metadata for property interpolation\n if (metadata.indexOf(INTERPOLATION_DELIMITER) > -1) {\n return constructDetailsForInterpolation(lView, bindingIndex, bindingIndex, metadata, newValue);\n }\n // metadata for property binding\n return { propName: metadata, oldValue, newValue };\n }\n // metadata is not available for this expression, check if this expression is a part of the\n // property interpolation by going from the current binding index left and look for a string that\n // contains INTERPOLATION_DELIMITER, the layout in tView.data for this case will look like this:\n // [..., 'id�Prefix � and � suffix', null, null, null, ...]\n if (metadata === null) {\n let idx = bindingIndex - 1;\n while (typeof tData[idx] !== 'string' && tData[idx + 1] === null) {\n idx--;\n }\n const meta = tData[idx];\n if (typeof meta === 'string') {\n const matches = meta.match(new RegExp(INTERPOLATION_DELIMITER, 'g'));\n // first interpolation delimiter separates property name from interpolation parts (in case of\n // property interpolations), so we subtract one from total number of found delimiters\n if (matches && (matches.length - 1) > bindingIndex - idx) {\n return constructDetailsForInterpolation(lView, idx, bindingIndex, meta, newValue);\n }\n }\n }\n return { propName: undefined, oldValue, newValue };\n}\n\nclass ReactiveLViewConsumer extends ReactiveNode {\n constructor() {\n super(...arguments);\n this.consumerAllowSignalWrites = false;\n this._lView = null;\n }\n set lView(lView) {\n (typeof ngDevMode === 'undefined' || ngDevMode) &&\n assertEqual(this._lView, null, 'Consumer already associated with a view.');\n this._lView = lView;\n }\n onConsumerDependencyMayHaveChanged() {\n (typeof ngDevMode === 'undefined' || ngDevMode) &&\n assertDefined(this._lView, 'Updating a signal during template or host binding execution is not allowed.');\n markViewDirty(this._lView);\n }\n onProducerUpdateValueVersion() {\n // This type doesn't implement the producer side of a `ReactiveNode`.\n }\n get hasReadASignal() {\n return this.hasProducers;\n }\n runInContext(fn, rf, ctx) {\n const prevConsumer = setActiveConsumer(this);\n this.trackingVersion++;\n try {\n fn(rf, ctx);\n }\n finally {\n setActiveConsumer(prevConsumer);\n }\n }\n destroy() {\n // Incrementing the version means that every producer which tries to update this consumer will\n // consider its record stale, and not notify.\n this.trackingVersion++;\n }\n}\nlet currentConsumer = null;\nfunction getOrCreateCurrentLViewConsumer() {\n currentConsumer ??= new ReactiveLViewConsumer();\n return currentConsumer;\n}\n/**\n * Create a new template consumer pointing at the specified LView.\n * Sometimes, a previously created consumer may be reused, in order to save on allocations. In that\n * case, the LView will be updated.\n */\nfunction getReactiveLViewConsumer(lView, slot) {\n return lView[slot] ?? getOrCreateCurrentLViewConsumer();\n}\n/**\n * Assigns the `currentTemplateContext` to its LView's `REACTIVE_CONSUMER` slot if there are tracked\n * producers.\n *\n * The presence of producers means that a signal was read while the consumer was the active\n * consumer.\n *\n * If no producers are present, we do not assign the current template context. This also means we\n * can just reuse the template context for the next LView.\n */\nfunction commitLViewConsumerIfHasProducers(lView, slot) {\n const consumer = getOrCreateCurrentLViewConsumer();\n if (!consumer.hasReadASignal) {\n return;\n }\n lView[slot] = currentConsumer;\n consumer.lView = lView;\n currentConsumer = new ReactiveLViewConsumer();\n}\n\n/** A special value which designates that a value has not changed. */\nconst NO_CHANGE = (typeof ngDevMode === 'undefined' || ngDevMode) ? { __brand__: 'NO_CHANGE' } : {};\n\n/**\n * Advances to an element for later binding instructions.\n *\n * Used in conjunction with instructions like {@link property} to act on elements with specified\n * indices, for example those created with {@link element} or {@link elementStart}.\n *\n * ```ts\n * (rf: RenderFlags, ctx: any) => {\n * if (rf & 1) {\n * text(0, 'Hello');\n * text(1, 'Goodbye')\n * element(2, 'div');\n * }\n * if (rf & 2) {\n * advance(2); // Advance twice to the <div>.\n * property('title', 'test');\n * }\n * }\n * ```\n * @param delta Number of elements to advance forwards by.\n *\n * @codeGenApi\n */\nfunction ɵɵadvance(delta) {\n ngDevMode && assertGreaterThan(delta, 0, 'Can only advance forward');\n selectIndexInternal(getTView(), getLView(), getSelectedIndex() + delta, !!ngDevMode && isInCheckNoChangesMode());\n}\nfunction selectIndexInternal(tView, lView, index, checkNoChangesMode) {\n ngDevMode && assertIndexInDeclRange(lView, index);\n // Flush the initial hooks for elements in the view that have been added up to this point.\n // PERF WARNING: do NOT extract this to a separate function without running benchmarks\n if (!checkNoChangesMode) {\n const hooksInitPhaseCompleted = (lView[FLAGS] & 3 /* LViewFlags.InitPhaseStateMask */) === 3 /* InitPhaseState.InitPhaseCompleted */;\n if (hooksInitPhaseCompleted) {\n const preOrderCheckHooks = tView.preOrderCheckHooks;\n if (preOrderCheckHooks !== null) {\n executeCheckHooks(lView, preOrderCheckHooks, index);\n }\n }\n else {\n const preOrderHooks = tView.preOrderHooks;\n if (preOrderHooks !== null) {\n executeInitAndCheckHooks(lView, preOrderHooks, 0 /* InitPhaseState.OnInitHooksToBeRun */, index);\n }\n }\n }\n // We must set the selected index *after* running the hooks, because hooks may have side-effects\n // that cause other template functions to run, thus updating the selected index, which is global\n // state. If we run `setSelectedIndex` *before* we run the hooks, in some cases the selected index\n // will be altered by the time we leave the `ɵɵadvance` instruction.\n setSelectedIndex(index);\n}\n\n/**\n * Runs the given function in the context of the given `Injector`.\n *\n * Within the function's stack frame, `inject` can be used to inject dependencies from the given\n * `Injector`. Note that `inject` is only usable synchronously, and cannot be used in any\n * asynchronous callbacks or after any `await` points.\n *\n * @param injector the injector which will satisfy calls to `inject` while `fn` is executing\n * @param fn the closure to be run in the context of `injector`\n * @returns the return value of the function, if any\n * @publicApi\n */\nfunction runInInjectionContext(injector, fn) {\n if (injector instanceof R3Injector) {\n injector.assertNotDestroyed();\n }\n const prevInjector = setCurrentInjector(injector);\n const previousInjectImplementation = setInjectImplementation(undefined);\n try {\n return fn();\n }\n finally {\n setCurrentInjector(prevInjector);\n setInjectImplementation(previousInjectImplementation);\n }\n}\n/**\n * Asserts that the current stack frame is within an injection context and has access to `inject`.\n *\n * @param debugFn a reference to the function making the assertion (used for the error message).\n *\n * @publicApi\n */\nfunction assertInInjectionContext(debugFn) {\n // Taking a `Function` instead of a string name here prevents the unminified name of the function\n // from being retained in the bundle regardless of minification.\n if (!getInjectImplementation() && !getCurrentInjector()) {\n throw new RuntimeError(-203 /* RuntimeErrorCode.MISSING_INJECTION_CONTEXT */, ngDevMode &&\n (debugFn.name +\n '() can only be used within an injection context such as a constructor, a factory function, a field initializer, or a function used with `runInInjectionContext`'));\n }\n}\n\n/**\n * A mapping of the @angular/core API surface used in generated expressions to the actual symbols.\n *\n * This should be kept up to date with the public exports of @angular/core.\n */\nconst angularCoreDiEnv = {\n 'ɵɵdefineInjectable': ɵɵdefineInjectable,\n 'ɵɵdefineInjector': ɵɵdefineInjector,\n 'ɵɵinject': ɵɵinject,\n 'ɵɵinvalidFactoryDep': ɵɵinvalidFactoryDep,\n 'resolveForwardRef': resolveForwardRef,\n};\n\n/**\n * Compile an Angular injectable according to its `Injectable` metadata, and patch the resulting\n * injectable def (`ɵprov`) onto the injectable type.\n */\nfunction compileInjectable(type, meta) {\n let ngInjectableDef = null;\n let ngFactoryDef = null;\n // if NG_PROV_DEF is already defined on this class then don't overwrite it\n if (!type.hasOwnProperty(NG_PROV_DEF)) {\n Object.defineProperty(type, NG_PROV_DEF, {\n get: () => {\n if (ngInjectableDef === null) {\n const compiler = getCompilerFacade({ usage: 0 /* JitCompilerUsage.Decorator */, kind: 'injectable', type });\n ngInjectableDef = compiler.compileInjectable(angularCoreDiEnv, `ng:///${type.name}/ɵprov.js`, getInjectableMetadata(type, meta));\n }\n return ngInjectableDef;\n },\n });\n }\n // if NG_FACTORY_DEF is already defined on this class then don't overwrite it\n if (!type.hasOwnProperty(NG_FACTORY_DEF)) {\n Object.defineProperty(type, NG_FACTORY_DEF, {\n get: () => {\n if (ngFactoryDef === null) {\n const compiler = getCompilerFacade({ usage: 0 /* JitCompilerUsage.Decorator */, kind: 'injectable', type });\n ngFactoryDef = compiler.compileFactory(angularCoreDiEnv, `ng:///${type.name}/ɵfac.js`, {\n name: type.name,\n type,\n typeArgumentCount: 0,\n deps: reflectDependencies(type),\n target: compiler.FactoryTarget.Injectable\n });\n }\n return ngFactoryDef;\n },\n // Leave this configurable so that the factories from directives or pipes can take precedence.\n configurable: true\n });\n }\n}\nconst USE_VALUE = getClosureSafeProperty({ provide: String, useValue: getClosureSafeProperty });\nfunction isUseClassProvider(meta) {\n return meta.useClass !== undefined;\n}\nfunction isUseValueProvider(meta) {\n return USE_VALUE in meta;\n}\nfunction isUseFactoryProvider(meta) {\n return meta.useFactory !== undefined;\n}\nfunction isUseExistingProvider(meta) {\n return meta.useExisting !== undefined;\n}\nfunction getInjectableMetadata(type, srcMeta) {\n // Allow the compilation of a class with a `@Injectable()` decorator without parameters\n const meta = srcMeta || { providedIn: null };\n const compilerMeta = {\n name: type.name,\n type: type,\n typeArgumentCount: 0,\n providedIn: meta.providedIn,\n };\n if ((isUseClassProvider(meta) || isUseFactoryProvider(meta)) && meta.deps !== undefined) {\n compilerMeta.deps = convertDependencies(meta.deps);\n }\n // Check to see if the user explicitly provided a `useXxxx` property.\n if (isUseClassProvider(meta)) {\n compilerMeta.useClass = meta.useClass;\n }\n else if (isUseValueProvider(meta)) {\n compilerMeta.useValue = meta.useValue;\n }\n else if (isUseFactoryProvider(meta)) {\n compilerMeta.useFactory = meta.useFactory;\n }\n else if (isUseExistingProvider(meta)) {\n compilerMeta.useExisting = meta.useExisting;\n }\n return compilerMeta;\n}\n\n/**\n * Injectable decorator and metadata.\n *\n * @Annotation\n * @publicApi\n */\nconst Injectable = makeDecorator('Injectable', undefined, undefined, undefined, (type, meta) => compileInjectable(type, meta));\n\n/**\n * Create a new `Injector` which is configured using a `defType` of `InjectorType<any>`s.\n *\n * @publicApi\n */\nfunction createInjector(defType, parent = null, additionalProviders = null, name) {\n const injector = createInjectorWithoutInjectorInstances(defType, parent, additionalProviders, name);\n injector.resolveInjectorInitializers();\n return injector;\n}\n/**\n * Creates a new injector without eagerly resolving its injector types. Can be used in places\n * where resolving the injector types immediately can lead to an infinite loop. The injector types\n * should be resolved at a later point by calling `_resolveInjectorDefTypes`.\n */\nfunction createInjectorWithoutInjectorInstances(defType, parent = null, additionalProviders = null, name, scopes = new Set()) {\n const providers = [\n additionalProviders || EMPTY_ARRAY,\n importProvidersFrom(defType),\n ];\n name = name || (typeof defType === 'object' ? undefined : stringify(defType));\n return new R3Injector(providers, parent || getNullInjector(), name || null, scopes);\n}\n\n/**\n * Concrete injectors implement this interface. Injectors are configured\n * with [providers](guide/glossary#provider) that associate\n * dependencies of various types with [injection tokens](guide/glossary#di-token).\n *\n * @see [\"DI Providers\"](guide/dependency-injection-providers).\n * @see `StaticProvider`\n *\n * @usageNotes\n *\n * The following example creates a service injector instance.\n *\n * {@example core/di/ts/provider_spec.ts region='ConstructorProvider'}\n *\n * ### Usage example\n *\n * {@example core/di/ts/injector_spec.ts region='Injector'}\n *\n * `Injector` returns itself when given `Injector` as a token:\n *\n * {@example core/di/ts/injector_spec.ts region='injectInjector'}\n *\n * @publicApi\n */\nclass Injector {\n static { this.THROW_IF_NOT_FOUND = THROW_IF_NOT_FOUND; }\n static { this.NULL = ( /* @__PURE__ */new NullInjector()); }\n static create(options, parent) {\n if (Array.isArray(options)) {\n return createInjector({ name: '' }, parent, options, '');\n }\n else {\n const name = options.name ?? '';\n return createInjector({ name }, options.parent, options.providers, name);\n }\n }\n /** @nocollapse */\n static { this.ɵprov = ɵɵdefineInjectable({\n token: Injector,\n providedIn: 'any',\n factory: () => ɵɵinject(INJECTOR),\n }); }\n /**\n * @internal\n * @nocollapse\n */\n static { this.__NG_ELEMENT_ID__ = -1 /* InjectorMarkers.Injector */; }\n}\n\n/**\n * @module\n * @description\n * The `di` module provides dependency injection container services.\n */\n\n/**\n * This file should not be necessary because node resolution should just default to `./di/index`!\n *\n * However it does not seem to work and it breaks:\n * - //packages/animations/browser/test:test_web_chromium-local\n * - //packages/compiler-cli/test:extract_i18n\n * - //packages/compiler-cli/test:ngc\n * - //packages/compiler-cli/test:perform_watch\n * - //packages/compiler-cli/test/diagnostics:check_types\n * - //packages/compiler-cli/test/transformers:test\n * - //packages/compiler/test:test\n * - //tools/public_api_guard:core_api\n *\n * Remove this file once the above is solved or wait until `ngc` is deleted and then it should be\n * safe to delete this file.\n */\n\nfunction ɵɵdirectiveInject(token, flags = InjectFlags.Default) {\n const lView = getLView();\n // Fall back to inject() if view hasn't been created. This situation can happen in tests\n // if inject utilities are used before bootstrapping.\n if (lView === null) {\n // Verify that we will not get into infinite loop.\n ngDevMode && assertInjectImplementationNotEqual(ɵɵdirectiveInject);\n return ɵɵinject(token, flags);\n }\n const tNode = getCurrentTNode();\n return getOrCreateInjectable(tNode, lView, resolveForwardRef(token), flags);\n}\n/**\n * Throws an error indicating that a factory function could not be generated by the compiler for a\n * particular class.\n *\n * This instruction allows the actual error message to be optimized away when ngDevMode is turned\n * off, saving bytes of generated code while still providing a good experience in dev mode.\n *\n * The name of the class is not mentioned here, but will be in the generated factory function name\n * and thus in the stack trace.\n *\n * @codeGenApi\n */\nfunction ɵɵinvalidFactory() {\n const msg = ngDevMode ? `This constructor was not compatible with Dependency Injection.` : 'invalid';\n throw new Error(msg);\n}\n\n/**\n * Invoke `HostBindingsFunction`s for view.\n *\n * This methods executes `TView.hostBindingOpCodes`. It is used to execute the\n * `HostBindingsFunction`s associated with the current `LView`.\n *\n * @param tView Current `TView`.\n * @param lView Current `LView`.\n */\nfunction processHostBindingOpCodes(tView, lView) {\n const hostBindingOpCodes = tView.hostBindingOpCodes;\n if (hostBindingOpCodes === null)\n return;\n const consumer = getReactiveLViewConsumer(lView, REACTIVE_HOST_BINDING_CONSUMER);\n try {\n for (let i = 0; i < hostBindingOpCodes.length; i++) {\n const opCode = hostBindingOpCodes[i];\n if (opCode < 0) {\n // Negative numbers are element indexes.\n setSelectedIndex(~opCode);\n }\n else {\n // Positive numbers are NumberTuple which store bindingRootIndex and directiveIndex.\n const directiveIdx = opCode;\n const bindingRootIndx = hostBindingOpCodes[++i];\n const hostBindingFn = hostBindingOpCodes[++i];\n setBindingRootForHostBindings(bindingRootIndx, directiveIdx);\n const context = lView[directiveIdx];\n consumer.runInContext(hostBindingFn, 2 /* RenderFlags.Update */, context);\n }\n }\n }\n finally {\n if (lView[REACTIVE_HOST_BINDING_CONSUMER] === null) {\n commitLViewConsumerIfHasProducers(lView, REACTIVE_HOST_BINDING_CONSUMER);\n }\n setSelectedIndex(-1);\n }\n}\nfunction createLView(parentLView, tView, context, flags, host, tHostNode, environment, renderer, injector, embeddedViewInjector, hydrationInfo) {\n const lView = tView.blueprint.slice();\n lView[HOST] = host;\n lView[FLAGS] = flags | 4 /* LViewFlags.CreationMode */ | 128 /* LViewFlags.Attached */ | 8 /* LViewFlags.FirstLViewPass */;\n if (embeddedViewInjector !== null ||\n (parentLView && (parentLView[FLAGS] & 2048 /* LViewFlags.HasEmbeddedViewInjector */))) {\n lView[FLAGS] |= 2048 /* LViewFlags.HasEmbeddedViewInjector */;\n }\n resetPreOrderHookFlags(lView);\n ngDevMode && tView.declTNode && parentLView && assertTNodeForLView(tView.declTNode, parentLView);\n lView[PARENT] = lView[DECLARATION_VIEW] = parentLView;\n lView[CONTEXT] = context;\n lView[ENVIRONMENT] = (environment || parentLView && parentLView[ENVIRONMENT]);\n ngDevMode && assertDefined(lView[ENVIRONMENT], 'LViewEnvironment is required');\n lView[RENDERER] = (renderer || parentLView && parentLView[RENDERER]);\n ngDevMode && assertDefined(lView[RENDERER], 'Renderer is required');\n lView[INJECTOR$1] = injector || parentLView && parentLView[INJECTOR$1] || null;\n lView[T_HOST] = tHostNode;\n lView[ID] = getUniqueLViewId();\n lView[HYDRATION] = hydrationInfo;\n lView[EMBEDDED_VIEW_INJECTOR] = embeddedViewInjector;\n ngDevMode &&\n assertEqual(tView.type == 2 /* TViewType.Embedded */ ? parentLView !== null : true, true, 'Embedded views must have parentLView');\n lView[DECLARATION_COMPONENT_VIEW] =\n tView.type == 2 /* TViewType.Embedded */ ? parentLView[DECLARATION_COMPONENT_VIEW] : lView;\n return lView;\n}\nfunction getOrCreateTNode(tView, index, type, name, attrs) {\n ngDevMode && index !== 0 && // 0 are bogus nodes and they are OK. See `createContainerRef` in\n // `view_engine_compatibility` for additional context.\n assertGreaterThanOrEqual(index, HEADER_OFFSET, 'TNodes can\\'t be in the LView header.');\n // Keep this function short, so that the VM will inline it.\n ngDevMode && assertPureTNodeType(type);\n let tNode = tView.data[index];\n if (tNode === null) {\n tNode = createTNodeAtIndex(tView, index, type, name, attrs);\n if (isInI18nBlock()) {\n // If we are in i18n block then all elements should be pre declared through `Placeholder`\n // See `TNodeType.Placeholder` and `LFrame.inI18n` for more context.\n // If the `TNode` was not pre-declared than it means it was not mentioned which means it was\n // removed, so we mark it as detached.\n tNode.flags |= 32 /* TNodeFlags.isDetached */;\n }\n }\n else if (tNode.type & 64 /* TNodeType.Placeholder */) {\n tNode.type = type;\n tNode.value = name;\n tNode.attrs = attrs;\n const parent = getCurrentParentTNode();\n tNode.injectorIndex = parent === null ? -1 : parent.injectorIndex;\n ngDevMode && assertTNodeForTView(tNode, tView);\n ngDevMode && assertEqual(index, tNode.index, 'Expecting same index');\n }\n setCurrentTNode(tNode, true);\n return tNode;\n}\nfunction createTNodeAtIndex(tView, index, type, name, attrs) {\n const currentTNode = getCurrentTNodePlaceholderOk();\n const isParent = isCurrentTNodeParent();\n const parent = isParent ? currentTNode : currentTNode && currentTNode.parent;\n // Parents cannot cross component boundaries because components will be used in multiple places.\n const tNode = tView.data[index] =\n createTNode(tView, parent, type, index, name, attrs);\n // Assign a pointer to the first child node of a given view. The first node is not always the one\n // at index 0, in case of i18n, index 0 can be the instruction `i18nStart` and the first node has\n // the index 1 or more, so we can't just check node index.\n if (tView.firstChild === null) {\n tView.firstChild = tNode;\n }\n if (currentTNode !== null) {\n if (isParent) {\n // FIXME(misko): This logic looks unnecessarily complicated. Could we simplify?\n if (currentTNode.child == null && tNode.parent !== null) {\n // We are in the same view, which means we are adding content node to the parent view.\n currentTNode.child = tNode;\n }\n }\n else {\n if (currentTNode.next === null) {\n // In the case of i18n the `currentTNode` may already be linked, in which case we don't want\n // to break the links which i18n created.\n currentTNode.next = tNode;\n tNode.prev = currentTNode;\n }\n }\n }\n return tNode;\n}\n/**\n * When elements are created dynamically after a view blueprint is created (e.g. through\n * i18nApply()), we need to adjust the blueprint for future\n * template passes.\n *\n * @param tView `TView` associated with `LView`\n * @param lView The `LView` containing the blueprint to adjust\n * @param numSlotsToAlloc The number of slots to alloc in the LView, should be >0\n * @param initialValue Initial value to store in blueprint\n */\nfunction allocExpando(tView, lView, numSlotsToAlloc, initialValue) {\n if (numSlotsToAlloc === 0)\n return -1;\n if (ngDevMode) {\n assertFirstCreatePass(tView);\n assertSame(tView, lView[TVIEW], '`LView` must be associated with `TView`!');\n assertEqual(tView.data.length, lView.length, 'Expecting LView to be same size as TView');\n assertEqual(tView.data.length, tView.blueprint.length, 'Expecting Blueprint to be same size as TView');\n assertFirstUpdatePass(tView);\n }\n const allocIdx = lView.length;\n for (let i = 0; i < numSlotsToAlloc; i++) {\n lView.push(initialValue);\n tView.blueprint.push(initialValue);\n tView.data.push(null);\n }\n return allocIdx;\n}\nfunction executeTemplate(tView, lView, templateFn, rf, context) {\n const consumer = getReactiveLViewConsumer(lView, REACTIVE_TEMPLATE_CONSUMER);\n const prevSelectedIndex = getSelectedIndex();\n const isUpdatePhase = rf & 2 /* RenderFlags.Update */;\n try {\n setSelectedIndex(-1);\n if (isUpdatePhase && lView.length > HEADER_OFFSET) {\n // When we're updating, inherently select 0 so we don't\n // have to generate that instruction for most update blocks.\n selectIndexInternal(tView, lView, HEADER_OFFSET, !!ngDevMode && isInCheckNoChangesMode());\n }\n const preHookType = isUpdatePhase ? 2 /* ProfilerEvent.TemplateUpdateStart */ : 0 /* ProfilerEvent.TemplateCreateStart */;\n profiler(preHookType, context);\n if (isUpdatePhase) {\n consumer.runInContext(templateFn, rf, context);\n }\n else {\n const prevConsumer = setActiveConsumer(null);\n try {\n templateFn(rf, context);\n }\n finally {\n setActiveConsumer(prevConsumer);\n }\n }\n }\n finally {\n if (isUpdatePhase && lView[REACTIVE_TEMPLATE_CONSUMER] === null) {\n commitLViewConsumerIfHasProducers(lView, REACTIVE_TEMPLATE_CONSUMER);\n }\n setSelectedIndex(prevSelectedIndex);\n const postHookType = isUpdatePhase ? 3 /* ProfilerEvent.TemplateUpdateEnd */ : 1 /* ProfilerEvent.TemplateCreateEnd */;\n profiler(postHookType, context);\n }\n}\n//////////////////////////\n//// Element\n//////////////////////////\nfunction executeContentQueries(tView, tNode, lView) {\n if (isContentQueryHost(tNode)) {\n const prevConsumer = setActiveConsumer(null);\n try {\n const start = tNode.directiveStart;\n const end = tNode.directiveEnd;\n for (let directiveIndex = start; directiveIndex < end; directiveIndex++) {\n const def = tView.data[directiveIndex];\n if (def.contentQueries) {\n def.contentQueries(1 /* RenderFlags.Create */, lView[directiveIndex], directiveIndex);\n }\n }\n }\n finally {\n setActiveConsumer(prevConsumer);\n }\n }\n}\n/**\n * Creates directive instances.\n */\nfunction createDirectivesInstances(tView, lView, tNode) {\n if (!getBindingsEnabled())\n return;\n instantiateAllDirectives(tView, lView, tNode, getNativeByTNode(tNode, lView));\n if ((tNode.flags & 64 /* TNodeFlags.hasHostBindings */) === 64 /* TNodeFlags.hasHostBindings */) {\n invokeDirectivesHostBindings(tView, lView, tNode);\n }\n}\n/**\n * Takes a list of local names and indices and pushes the resolved local variable values\n * to LView in the same order as they are loaded in the template with load().\n */\nfunction saveResolvedLocalsInData(viewData, tNode, localRefExtractor = getNativeByTNode) {\n const localNames = tNode.localNames;\n if (localNames !== null) {\n let localIndex = tNode.index + 1;\n for (let i = 0; i < localNames.length; i += 2) {\n const index = localNames[i + 1];\n const value = index === -1 ?\n localRefExtractor(tNode, viewData) :\n viewData[index];\n viewData[localIndex++] = value;\n }\n }\n}\n/**\n * Gets TView from a template function or creates a new TView\n * if it doesn't already exist.\n *\n * @param def ComponentDef\n * @returns TView\n */\nfunction getOrCreateComponentTView(def) {\n const tView = def.tView;\n // Create a TView if there isn't one, or recreate it if the first create pass didn't\n // complete successfully since we can't know for sure whether it's in a usable shape.\n if (tView === null || tView.incompleteFirstPass) {\n // Declaration node here is null since this function is called when we dynamically create a\n // component and hence there is no declaration.\n const declTNode = null;\n return def.tView = createTView(1 /* TViewType.Component */, declTNode, def.template, def.decls, def.vars, def.directiveDefs, def.pipeDefs, def.viewQuery, def.schemas, def.consts, def.id);\n }\n return tView;\n}\n/**\n * Creates a TView instance\n *\n * @param type Type of `TView`.\n * @param declTNode Declaration location of this `TView`.\n * @param templateFn Template function\n * @param decls The number of nodes, local refs, and pipes in this template\n * @param directives Registry of directives for this view\n * @param pipes Registry of pipes for this view\n * @param viewQuery View queries for this view\n * @param schemas Schemas for this view\n * @param consts Constants for this view\n */\nfunction createTView(type, declTNode, templateFn, decls, vars, directives, pipes, viewQuery, schemas, constsOrFactory, ssrId) {\n ngDevMode && ngDevMode.tView++;\n const bindingStartIndex = HEADER_OFFSET + decls;\n // This length does not yet contain host bindings from child directives because at this point,\n // we don't know which directives are active on this template. As soon as a directive is matched\n // that has a host binding, we will update the blueprint with that def's hostVars count.\n const initialViewLength = bindingStartIndex + vars;\n const blueprint = createViewBlueprint(bindingStartIndex, initialViewLength);\n const consts = typeof constsOrFactory === 'function' ? constsOrFactory() : constsOrFactory;\n const tView = blueprint[TVIEW] = {\n type: type,\n blueprint: blueprint,\n template: templateFn,\n queries: null,\n viewQuery: viewQuery,\n declTNode: declTNode,\n data: blueprint.slice().fill(null, bindingStartIndex),\n bindingStartIndex: bindingStartIndex,\n expandoStartIndex: initialViewLength,\n hostBindingOpCodes: null,\n firstCreatePass: true,\n firstUpdatePass: true,\n staticViewQueries: false,\n staticContentQueries: false,\n preOrderHooks: null,\n preOrderCheckHooks: null,\n contentHooks: null,\n contentCheckHooks: null,\n viewHooks: null,\n viewCheckHooks: null,\n destroyHooks: null,\n cleanup: null,\n contentQueries: null,\n components: null,\n directiveRegistry: typeof directives === 'function' ? directives() : directives,\n pipeRegistry: typeof pipes === 'function' ? pipes() : pipes,\n firstChild: null,\n schemas: schemas,\n consts: consts,\n incompleteFirstPass: false,\n ssrId,\n };\n if (ngDevMode) {\n // For performance reasons it is important that the tView retains the same shape during runtime.\n // (To make sure that all of the code is monomorphic.) For this reason we seal the object to\n // prevent class transitions.\n Object.seal(tView);\n }\n return tView;\n}\nfunction createViewBlueprint(bindingStartIndex, initialViewLength) {\n const blueprint = [];\n for (let i = 0; i < initialViewLength; i++) {\n blueprint.push(i < bindingStartIndex ? null : NO_CHANGE);\n }\n return blueprint;\n}\n/**\n * Locates the host native element, used for bootstrapping existing nodes into rendering pipeline.\n *\n * @param renderer the renderer used to locate the element.\n * @param elementOrSelector Render element or CSS selector to locate the element.\n * @param encapsulation View Encapsulation defined for component that requests host element.\n * @param injector Root view injector instance.\n */\nfunction locateHostElement(renderer, elementOrSelector, encapsulation, injector) {\n // Note: we use default value for the `PRESERVE_HOST_CONTENT` here even though it's a\n // tree-shakable one (providedIn:'root'). This code path can be triggered during dynamic\n // component creation (after calling ViewContainerRef.createComponent) when an injector\n // instance can be provided. The injector instance might be disconnected from the main DI\n // tree, thus the `PRESERVE_HOST_CONTENT` would not be able to instantiate. In this case, the\n // default value will be used.\n const preserveHostContent = injector.get(PRESERVE_HOST_CONTENT, PRESERVE_HOST_CONTENT_DEFAULT);\n // When using native Shadow DOM, do not clear host element to allow native slot\n // projection.\n const preserveContent = preserveHostContent || encapsulation === ViewEncapsulation$1.ShadowDom;\n const rootElement = renderer.selectRootElement(elementOrSelector, preserveContent);\n applyRootElementTransform(rootElement);\n return rootElement;\n}\n/**\n * Applies any root element transformations that are needed. If hydration is enabled,\n * this will process corrupted text nodes.\n *\n * @param rootElement the app root HTML Element\n */\nfunction applyRootElementTransform(rootElement) {\n _applyRootElementTransformImpl(rootElement);\n}\n/**\n * Reference to a function that applies transformations to the root HTML element\n * of an app. When hydration is enabled, this processes any corrupt text nodes\n * so they are properly hydratable on the client.\n *\n * @param rootElement the app root HTML Element\n */\nlet _applyRootElementTransformImpl = (rootElement) => null;\n/**\n * Processes text node markers before hydration begins. This replaces any special comment\n * nodes that were added prior to serialization are swapped out to restore proper text\n * nodes before hydration.\n *\n * @param rootElement the app root HTML Element\n */\nfunction applyRootElementTransformImpl(rootElement) {\n if (rootElement.hasAttribute(SKIP_HYDRATION_ATTR_NAME)) {\n // Handle a situation when the `ngSkipHydration` attribute is applied\n // to the root node of an application. In this case, we should clear\n // the contents and render everything from scratch.\n clearElementContents(rootElement);\n }\n else {\n processTextNodeMarkersBeforeHydration(rootElement);\n }\n}\n/**\n * Sets the implementation for the `applyRootElementTransform` function.\n */\nfunction enableApplyRootElementTransformImpl() {\n _applyRootElementTransformImpl = applyRootElementTransformImpl;\n}\n/**\n * Saves context for this cleanup function in LView.cleanupInstances.\n *\n * On the first template pass, saves in TView:\n * - Cleanup function\n * - Index of context we just saved in LView.cleanupInstances\n */\nfunction storeCleanupWithContext(tView, lView, context, cleanupFn) {\n const lCleanup = getOrCreateLViewCleanup(lView);\n // Historically the `storeCleanupWithContext` was used to register both framework-level and\n // user-defined cleanup callbacks, but over time those two types of cleanups were separated.\n // This dev mode checks assures that user-level cleanup callbacks are _not_ stored in data\n // structures reserved for framework-specific hooks.\n ngDevMode &&\n assertDefined(context, 'Cleanup context is mandatory when registering framework-level destroy hooks');\n lCleanup.push(context);\n if (tView.firstCreatePass) {\n getOrCreateTViewCleanup(tView).push(cleanupFn, lCleanup.length - 1);\n }\n else {\n // Make sure that no new framework-level cleanup functions are registered after the first\n // template pass is done (and TView data structures are meant to fully constructed).\n if (ngDevMode) {\n Object.freeze(getOrCreateTViewCleanup(tView));\n }\n }\n}\nfunction createTNode(tView, tParent, type, index, value, attrs) {\n ngDevMode && index !== 0 && // 0 are bogus nodes and they are OK. See `createContainerRef` in\n // `view_engine_compatibility` for additional context.\n assertGreaterThanOrEqual(index, HEADER_OFFSET, 'TNodes can\\'t be in the LView header.');\n ngDevMode && assertNotSame(attrs, undefined, '\\'undefined\\' is not valid value for \\'attrs\\'');\n ngDevMode && ngDevMode.tNode++;\n ngDevMode && tParent && assertTNodeForTView(tParent, tView);\n let injectorIndex = tParent ? tParent.injectorIndex : -1;\n let flags = 0;\n if (isInSkipHydrationBlock$1()) {\n flags |= 128 /* TNodeFlags.inSkipHydrationBlock */;\n }\n const tNode = {\n type,\n index,\n insertBeforeIndex: null,\n injectorIndex,\n directiveStart: -1,\n directiveEnd: -1,\n directiveStylingLast: -1,\n componentOffset: -1,\n propertyBindings: null,\n flags,\n providerIndexes: 0,\n value: value,\n attrs: attrs,\n mergedAttrs: null,\n localNames: null,\n initialInputs: undefined,\n inputs: null,\n outputs: null,\n tView: null,\n next: null,\n prev: null,\n projectionNext: null,\n child: null,\n parent: tParent,\n projection: null,\n styles: null,\n stylesWithoutHost: null,\n residualStyles: undefined,\n classes: null,\n classesWithoutHost: null,\n residualClasses: undefined,\n classBindings: 0,\n styleBindings: 0,\n };\n if (ngDevMode) {\n // For performance reasons it is important that the tNode retains the same shape during runtime.\n // (To make sure that all of the code is monomorphic.) For this reason we seal the object to\n // prevent class transitions.\n Object.seal(tNode);\n }\n return tNode;\n}\n/**\n * Generates the `PropertyAliases` data structure from the provided input/output mapping.\n * @param aliasMap Input/output mapping from the directive definition.\n * @param directiveIndex Index of the directive.\n * @param propertyAliases Object in which to store the results.\n * @param hostDirectiveAliasMap Object used to alias or filter out properties for host directives.\n * If the mapping is provided, it'll act as an allowlist, as well as a mapping of what public\n * name inputs/outputs should be exposed under.\n */\nfunction generatePropertyAliases(aliasMap, directiveIndex, propertyAliases, hostDirectiveAliasMap) {\n for (let publicName in aliasMap) {\n if (aliasMap.hasOwnProperty(publicName)) {\n propertyAliases = propertyAliases === null ? {} : propertyAliases;\n const internalName = aliasMap[publicName];\n // If there are no host directive mappings, we want to remap using the alias map from the\n // definition itself. If there is an alias map, it has two functions:\n // 1. It serves as an allowlist of bindings that are exposed by the host directives. Only the\n // ones inside the host directive map will be exposed on the host.\n // 2. The public name of the property is aliased using the host directive alias map, rather\n // than the alias map from the definition.\n if (hostDirectiveAliasMap === null) {\n addPropertyAlias(propertyAliases, directiveIndex, publicName, internalName);\n }\n else if (hostDirectiveAliasMap.hasOwnProperty(publicName)) {\n addPropertyAlias(propertyAliases, directiveIndex, hostDirectiveAliasMap[publicName], internalName);\n }\n }\n }\n return propertyAliases;\n}\nfunction addPropertyAlias(propertyAliases, directiveIndex, publicName, internalName) {\n if (propertyAliases.hasOwnProperty(publicName)) {\n propertyAliases[publicName].push(directiveIndex, internalName);\n }\n else {\n propertyAliases[publicName] = [directiveIndex, internalName];\n }\n}\n/**\n * Initializes data structures required to work with directive inputs and outputs.\n * Initialization is done for all directives matched on a given TNode.\n */\nfunction initializeInputAndOutputAliases(tView, tNode, hostDirectiveDefinitionMap) {\n ngDevMode && assertFirstCreatePass(tView);\n const start = tNode.directiveStart;\n const end = tNode.directiveEnd;\n const tViewData = tView.data;\n const tNodeAttrs = tNode.attrs;\n const inputsFromAttrs = [];\n let inputsStore = null;\n let outputsStore = null;\n for (let directiveIndex = start; directiveIndex < end; directiveIndex++) {\n const directiveDef = tViewData[directiveIndex];\n const aliasData = hostDirectiveDefinitionMap ? hostDirectiveDefinitionMap.get(directiveDef) : null;\n const aliasedInputs = aliasData ? aliasData.inputs : null;\n const aliasedOutputs = aliasData ? aliasData.outputs : null;\n inputsStore =\n generatePropertyAliases(directiveDef.inputs, directiveIndex, inputsStore, aliasedInputs);\n outputsStore =\n generatePropertyAliases(directiveDef.outputs, directiveIndex, outputsStore, aliasedOutputs);\n // Do not use unbound attributes as inputs to structural directives, since structural\n // directive inputs can only be set using microsyntax (e.g. `<div *dir=\"exp\">`).\n // TODO(FW-1930): microsyntax expressions may also contain unbound/static attributes, which\n // should be set for inline templates.\n const initialInputs = (inputsStore !== null && tNodeAttrs !== null && !isInlineTemplate(tNode)) ?\n generateInitialInputs(inputsStore, directiveIndex, tNodeAttrs) :\n null;\n inputsFromAttrs.push(initialInputs);\n }\n if (inputsStore !== null) {\n if (inputsStore.hasOwnProperty('class')) {\n tNode.flags |= 8 /* TNodeFlags.hasClassInput */;\n }\n if (inputsStore.hasOwnProperty('style')) {\n tNode.flags |= 16 /* TNodeFlags.hasStyleInput */;\n }\n }\n tNode.initialInputs = inputsFromAttrs;\n tNode.inputs = inputsStore;\n tNode.outputs = outputsStore;\n}\n/**\n * Mapping between attributes names that don't correspond to their element property names.\n *\n * Performance note: this function is written as a series of if checks (instead of, say, a property\n * object lookup) for performance reasons - the series of `if` checks seems to be the fastest way of\n * mapping property names. Do NOT change without benchmarking.\n *\n * Note: this mapping has to be kept in sync with the equally named mapping in the template\n * type-checking machinery of ngtsc.\n */\nfunction mapPropName(name) {\n if (name === 'class')\n return 'className';\n if (name === 'for')\n return 'htmlFor';\n if (name === 'formaction')\n return 'formAction';\n if (name === 'innerHtml')\n return 'innerHTML';\n if (name === 'readonly')\n return 'readOnly';\n if (name === 'tabindex')\n return 'tabIndex';\n return name;\n}\nfunction elementPropertyInternal(tView, tNode, lView, propName, value, renderer, sanitizer, nativeOnly) {\n ngDevMode && assertNotSame(value, NO_CHANGE, 'Incoming value should never be NO_CHANGE.');\n const element = getNativeByTNode(tNode, lView);\n let inputData = tNode.inputs;\n let dataValue;\n if (!nativeOnly && inputData != null && (dataValue = inputData[propName])) {\n setInputsForProperty(tView, lView, dataValue, propName, value);\n if (isComponentHost(tNode))\n markDirtyIfOnPush(lView, tNode.index);\n if (ngDevMode) {\n setNgReflectProperties(lView, element, tNode.type, dataValue, value);\n }\n }\n else if (tNode.type & 3 /* TNodeType.AnyRNode */) {\n propName = mapPropName(propName);\n if (ngDevMode) {\n validateAgainstEventProperties(propName);\n if (!isPropertyValid(element, propName, tNode.value, tView.schemas)) {\n handleUnknownPropertyError(propName, tNode.value, tNode.type, lView);\n }\n ngDevMode.rendererSetProperty++;\n }\n // It is assumed that the sanitizer is only added when the compiler determines that the\n // property is risky, so sanitization can be done without further checks.\n value = sanitizer != null ? sanitizer(value, tNode.value || '', propName) : value;\n renderer.setProperty(element, propName, value);\n }\n else if (tNode.type & 12 /* TNodeType.AnyContainer */) {\n // If the node is a container and the property didn't\n // match any of the inputs or schemas we should throw.\n if (ngDevMode && !matchingSchemas(tView.schemas, tNode.value)) {\n handleUnknownPropertyError(propName, tNode.value, tNode.type, lView);\n }\n }\n}\n/** If node is an OnPush component, marks its LView dirty. */\nfunction markDirtyIfOnPush(lView, viewIndex) {\n ngDevMode && assertLView(lView);\n const childComponentLView = getComponentLViewByIndex(viewIndex, lView);\n if (!(childComponentLView[FLAGS] & 16 /* LViewFlags.CheckAlways */)) {\n childComponentLView[FLAGS] |= 64 /* LViewFlags.Dirty */;\n }\n}\nfunction setNgReflectProperty(lView, element, type, attrName, value) {\n const renderer = lView[RENDERER];\n attrName = normalizeDebugBindingName(attrName);\n const debugValue = normalizeDebugBindingValue(value);\n if (type & 3 /* TNodeType.AnyRNode */) {\n if (value == null) {\n renderer.removeAttribute(element, attrName);\n }\n else {\n renderer.setAttribute(element, attrName, debugValue);\n }\n }\n else {\n const textContent = escapeCommentText(`bindings=${JSON.stringify({ [attrName]: debugValue }, null, 2)}`);\n renderer.setValue(element, textContent);\n }\n}\nfunction setNgReflectProperties(lView, element, type, dataValue, value) {\n if (type & (3 /* TNodeType.AnyRNode */ | 4 /* TNodeType.Container */)) {\n /**\n * dataValue is an array containing runtime input or output names for the directives:\n * i+0: directive instance index\n * i+1: privateName\n *\n * e.g. [0, 'change', 'change-minified']\n * we want to set the reflected property with the privateName: dataValue[i+1]\n */\n for (let i = 0; i < dataValue.length; i += 2) {\n setNgReflectProperty(lView, element, type, dataValue[i + 1], value);\n }\n }\n}\n/**\n * Resolve the matched directives on a node.\n */\nfunction resolveDirectives(tView, lView, tNode, localRefs) {\n // Please make sure to have explicit type for `exportsMap`. Inferred type triggers bug in\n // tsickle.\n ngDevMode && assertFirstCreatePass(tView);\n if (getBindingsEnabled()) {\n const exportsMap = localRefs === null ? null : { '': -1 };\n const matchResult = findDirectiveDefMatches(tView, tNode);\n let directiveDefs;\n let hostDirectiveDefs;\n if (matchResult === null) {\n directiveDefs = hostDirectiveDefs = null;\n }\n else {\n [directiveDefs, hostDirectiveDefs] = matchResult;\n }\n if (directiveDefs !== null) {\n initializeDirectives(tView, lView, tNode, directiveDefs, exportsMap, hostDirectiveDefs);\n }\n if (exportsMap)\n cacheMatchingLocalNames(tNode, localRefs, exportsMap);\n }\n // Merge the template attrs last so that they have the highest priority.\n tNode.mergedAttrs = mergeHostAttrs(tNode.mergedAttrs, tNode.attrs);\n}\n/** Initializes the data structures necessary for a list of directives to be instantiated. */\nfunction initializeDirectives(tView, lView, tNode, directives, exportsMap, hostDirectiveDefs) {\n ngDevMode && assertFirstCreatePass(tView);\n // Publishes the directive types to DI so they can be injected. Needs to\n // happen in a separate pass before the TNode flags have been initialized.\n for (let i = 0; i < directives.length; i++) {\n diPublicInInjector(getOrCreateNodeInjectorForNode(tNode, lView), tView, directives[i].type);\n }\n initTNodeFlags(tNode, tView.data.length, directives.length);\n // When the same token is provided by several directives on the same node, some rules apply in\n // the viewEngine:\n // - viewProviders have priority over providers\n // - the last directive in NgModule.declarations has priority over the previous one\n // So to match these rules, the order in which providers are added in the arrays is very\n // important.\n for (let i = 0; i < directives.length; i++) {\n const def = directives[i];\n if (def.providersResolver)\n def.providersResolver(def);\n }\n let preOrderHooksFound = false;\n let preOrderCheckHooksFound = false;\n let directiveIdx = allocExpando(tView, lView, directives.length, null);\n ngDevMode &&\n assertSame(directiveIdx, tNode.directiveStart, 'TNode.directiveStart should point to just allocated space');\n for (let i = 0; i < directives.length; i++) {\n const def = directives[i];\n // Merge the attrs in the order of matches. This assumes that the first directive is the\n // component itself, so that the component has the least priority.\n tNode.mergedAttrs = mergeHostAttrs(tNode.mergedAttrs, def.hostAttrs);\n configureViewWithDirective(tView, tNode, lView, directiveIdx, def);\n saveNameToExportMap(directiveIdx, def, exportsMap);\n if (def.contentQueries !== null)\n tNode.flags |= 4 /* TNodeFlags.hasContentQuery */;\n if (def.hostBindings !== null || def.hostAttrs !== null || def.hostVars !== 0)\n tNode.flags |= 64 /* TNodeFlags.hasHostBindings */;\n const lifeCycleHooks = def.type.prototype;\n // Only push a node index into the preOrderHooks array if this is the first\n // pre-order hook found on this node.\n if (!preOrderHooksFound &&\n (lifeCycleHooks.ngOnChanges || lifeCycleHooks.ngOnInit || lifeCycleHooks.ngDoCheck)) {\n // We will push the actual hook function into this array later during dir instantiation.\n // We cannot do it now because we must ensure hooks are registered in the same\n // order that directives are created (i.e. injection order).\n (tView.preOrderHooks ??= []).push(tNode.index);\n preOrderHooksFound = true;\n }\n if (!preOrderCheckHooksFound && (lifeCycleHooks.ngOnChanges || lifeCycleHooks.ngDoCheck)) {\n (tView.preOrderCheckHooks ??= []).push(tNode.index);\n preOrderCheckHooksFound = true;\n }\n directiveIdx++;\n }\n initializeInputAndOutputAliases(tView, tNode, hostDirectiveDefs);\n}\n/**\n * Add `hostBindings` to the `TView.hostBindingOpCodes`.\n *\n * @param tView `TView` to which the `hostBindings` should be added.\n * @param tNode `TNode` the element which contains the directive\n * @param directiveIdx Directive index in view.\n * @param directiveVarsIdx Where will the directive's vars be stored\n * @param def `ComponentDef`/`DirectiveDef`, which contains the `hostVars`/`hostBindings` to add.\n */\nfunction registerHostBindingOpCodes(tView, tNode, directiveIdx, directiveVarsIdx, def) {\n ngDevMode && assertFirstCreatePass(tView);\n const hostBindings = def.hostBindings;\n if (hostBindings) {\n let hostBindingOpCodes = tView.hostBindingOpCodes;\n if (hostBindingOpCodes === null) {\n hostBindingOpCodes = tView.hostBindingOpCodes = [];\n }\n const elementIndx = ~tNode.index;\n if (lastSelectedElementIdx(hostBindingOpCodes) != elementIndx) {\n // Conditionally add select element so that we are more efficient in execution.\n // NOTE: this is strictly not necessary and it trades code size for runtime perf.\n // (We could just always add it.)\n hostBindingOpCodes.push(elementIndx);\n }\n hostBindingOpCodes.push(directiveIdx, directiveVarsIdx, hostBindings);\n }\n}\n/**\n * Returns the last selected element index in the `HostBindingOpCodes`\n *\n * For perf reasons we don't need to update the selected element index in `HostBindingOpCodes` only\n * if it changes. This method returns the last index (or '0' if not found.)\n *\n * Selected element index are only the ones which are negative.\n */\nfunction lastSelectedElementIdx(hostBindingOpCodes) {\n let i = hostBindingOpCodes.length;\n while (i > 0) {\n const value = hostBindingOpCodes[--i];\n if (typeof value === 'number' && value < 0) {\n return value;\n }\n }\n return 0;\n}\n/**\n * Instantiate all the directives that were previously resolved on the current node.\n */\nfunction instantiateAllDirectives(tView, lView, tNode, native) {\n const start = tNode.directiveStart;\n const end = tNode.directiveEnd;\n // The component view needs to be created before creating the node injector\n // since it is used to inject some special symbols like `ChangeDetectorRef`.\n if (isComponentHost(tNode)) {\n ngDevMode && assertTNodeType(tNode, 3 /* TNodeType.AnyRNode */);\n addComponentLogic(lView, tNode, tView.data[start + tNode.componentOffset]);\n }\n if (!tView.firstCreatePass) {\n getOrCreateNodeInjectorForNode(tNode, lView);\n }\n attachPatchData(native, lView);\n const initialInputs = tNode.initialInputs;\n for (let i = start; i < end; i++) {\n const def = tView.data[i];\n const directive = getNodeInjectable(lView, tView, i, tNode);\n attachPatchData(directive, lView);\n if (initialInputs !== null) {\n setInputsFromAttrs(lView, i - start, directive, def, tNode, initialInputs);\n }\n if (isComponentDef(def)) {\n const componentView = getComponentLViewByIndex(tNode.index, lView);\n componentView[CONTEXT] = getNodeInjectable(lView, tView, i, tNode);\n }\n }\n}\nfunction invokeDirectivesHostBindings(tView, lView, tNode) {\n const start = tNode.directiveStart;\n const end = tNode.directiveEnd;\n const elementIndex = tNode.index;\n const currentDirectiveIndex = getCurrentDirectiveIndex();\n try {\n setSelectedIndex(elementIndex);\n for (let dirIndex = start; dirIndex < end; dirIndex++) {\n const def = tView.data[dirIndex];\n const directive = lView[dirIndex];\n setCurrentDirectiveIndex(dirIndex);\n if (def.hostBindings !== null || def.hostVars !== 0 || def.hostAttrs !== null) {\n invokeHostBindingsInCreationMode(def, directive);\n }\n }\n }\n finally {\n setSelectedIndex(-1);\n setCurrentDirectiveIndex(currentDirectiveIndex);\n }\n}\n/**\n * Invoke the host bindings in creation mode.\n *\n * @param def `DirectiveDef` which may contain the `hostBindings` function.\n * @param directive Instance of directive.\n */\nfunction invokeHostBindingsInCreationMode(def, directive) {\n if (def.hostBindings !== null) {\n def.hostBindings(1 /* RenderFlags.Create */, directive);\n }\n}\n/**\n * Matches the current node against all available selectors.\n * If a component is matched (at most one), it is returned in first position in the array.\n */\nfunction findDirectiveDefMatches(tView, tNode) {\n ngDevMode && assertFirstCreatePass(tView);\n ngDevMode && assertTNodeType(tNode, 3 /* TNodeType.AnyRNode */ | 12 /* TNodeType.AnyContainer */);\n const registry = tView.directiveRegistry;\n let matches = null;\n let hostDirectiveDefs = null;\n if (registry) {\n for (let i = 0; i < registry.length; i++) {\n const def = registry[i];\n if (isNodeMatchingSelectorList(tNode, def.selectors, /* isProjectionMode */ false)) {\n matches || (matches = []);\n if (isComponentDef(def)) {\n if (ngDevMode) {\n assertTNodeType(tNode, 2 /* TNodeType.Element */, `\"${tNode.value}\" tags cannot be used as component hosts. ` +\n `Please use a different tag to activate the ${stringify(def.type)} component.`);\n if (isComponentHost(tNode)) {\n throwMultipleComponentError(tNode, matches.find(isComponentDef).type, def.type);\n }\n }\n // Components are inserted at the front of the matches array so that their lifecycle\n // hooks run before any directive lifecycle hooks. This appears to be for ViewEngine\n // compatibility. This logic doesn't make sense with host directives, because it\n // would allow the host directives to undo any overrides the host may have made.\n // To handle this case, the host directives of components are inserted at the beginning\n // of the array, followed by the component. As such, the insertion order is as follows:\n // 1. Host directives belonging to the selector-matched component.\n // 2. Selector-matched component.\n // 3. Host directives belonging to selector-matched directives.\n // 4. Selector-matched directives.\n if (def.findHostDirectiveDefs !== null) {\n const hostDirectiveMatches = [];\n hostDirectiveDefs = hostDirectiveDefs || new Map();\n def.findHostDirectiveDefs(def, hostDirectiveMatches, hostDirectiveDefs);\n // Add all host directives declared on this component, followed by the component itself.\n // Host directives should execute first so the host has a chance to override changes\n // to the DOM made by them.\n matches.unshift(...hostDirectiveMatches, def);\n // Component is offset starting from the beginning of the host directives array.\n const componentOffset = hostDirectiveMatches.length;\n markAsComponentHost(tView, tNode, componentOffset);\n }\n else {\n // No host directives on this component, just add the\n // component def to the beginning of the matches.\n matches.unshift(def);\n markAsComponentHost(tView, tNode, 0);\n }\n }\n else {\n // Append any host directives to the matches first.\n hostDirectiveDefs = hostDirectiveDefs || new Map();\n def.findHostDirectiveDefs?.(def, matches, hostDirectiveDefs);\n matches.push(def);\n }\n }\n }\n }\n return matches === null ? null : [matches, hostDirectiveDefs];\n}\n/**\n * Marks a given TNode as a component's host. This consists of:\n * - setting the component offset on the TNode.\n * - storing index of component's host element so it will be queued for view refresh during CD.\n */\nfunction markAsComponentHost(tView, hostTNode, componentOffset) {\n ngDevMode && assertFirstCreatePass(tView);\n ngDevMode && assertGreaterThan(componentOffset, -1, 'componentOffset must be great than -1');\n hostTNode.componentOffset = componentOffset;\n (tView.components ??= []).push(hostTNode.index);\n}\n/** Caches local names and their matching directive indices for query and template lookups. */\nfunction cacheMatchingLocalNames(tNode, localRefs, exportsMap) {\n if (localRefs) {\n const localNames = tNode.localNames = [];\n // Local names must be stored in tNode in the same order that localRefs are defined\n // in the template to ensure the data is loaded in the same slots as their refs\n // in the template (for template queries).\n for (let i = 0; i < localRefs.length; i += 2) {\n const index = exportsMap[localRefs[i + 1]];\n if (index == null)\n throw new RuntimeError(-301 /* RuntimeErrorCode.EXPORT_NOT_FOUND */, ngDevMode && `Export of name '${localRefs[i + 1]}' not found!`);\n localNames.push(localRefs[i], index);\n }\n }\n}\n/**\n * Builds up an export map as directives are created, so local refs can be quickly mapped\n * to their directive instances.\n */\nfunction saveNameToExportMap(directiveIdx, def, exportsMap) {\n if (exportsMap) {\n if (def.exportAs) {\n for (let i = 0; i < def.exportAs.length; i++) {\n exportsMap[def.exportAs[i]] = directiveIdx;\n }\n }\n if (isComponentDef(def))\n exportsMap[''] = directiveIdx;\n }\n}\n/**\n * Initializes the flags on the current node, setting all indices to the initial index,\n * the directive count to 0, and adding the isComponent flag.\n * @param index the initial index\n */\nfunction initTNodeFlags(tNode, index, numberOfDirectives) {\n ngDevMode &&\n assertNotEqual(numberOfDirectives, tNode.directiveEnd - tNode.directiveStart, 'Reached the max number of directives');\n tNode.flags |= 1 /* TNodeFlags.isDirectiveHost */;\n // When the first directive is created on a node, save the index\n tNode.directiveStart = index;\n tNode.directiveEnd = index + numberOfDirectives;\n tNode.providerIndexes = index;\n}\n/**\n * Setup directive for instantiation.\n *\n * We need to create a `NodeInjectorFactory` which is then inserted in both the `Blueprint` as well\n * as `LView`. `TView` gets the `DirectiveDef`.\n *\n * @param tView `TView`\n * @param tNode `TNode`\n * @param lView `LView`\n * @param directiveIndex Index where the directive will be stored in the Expando.\n * @param def `DirectiveDef`\n */\nfunction configureViewWithDirective(tView, tNode, lView, directiveIndex, def) {\n ngDevMode &&\n assertGreaterThanOrEqual(directiveIndex, HEADER_OFFSET, 'Must be in Expando section');\n tView.data[directiveIndex] = def;\n const directiveFactory = def.factory || (def.factory = getFactoryDef(def.type, true));\n // Even though `directiveFactory` will already be using `ɵɵdirectiveInject` in its generated code,\n // we also want to support `inject()` directly from the directive constructor context so we set\n // `ɵɵdirectiveInject` as the inject implementation here too.\n const nodeInjectorFactory = new NodeInjectorFactory(directiveFactory, isComponentDef(def), ɵɵdirectiveInject);\n tView.blueprint[directiveIndex] = nodeInjectorFactory;\n lView[directiveIndex] = nodeInjectorFactory;\n registerHostBindingOpCodes(tView, tNode, directiveIndex, allocExpando(tView, lView, def.hostVars, NO_CHANGE), def);\n}\nfunction addComponentLogic(lView, hostTNode, def) {\n const native = getNativeByTNode(hostTNode, lView);\n const tView = getOrCreateComponentTView(def);\n // Only component views should be added to the view tree directly. Embedded views are\n // accessed through their containers because they may be removed / re-added later.\n const rendererFactory = lView[ENVIRONMENT].rendererFactory;\n const componentView = addToViewTree(lView, createLView(lView, tView, null, def.onPush ? 64 /* LViewFlags.Dirty */ : 16 /* LViewFlags.CheckAlways */, native, hostTNode, null, rendererFactory.createRenderer(native, def), null, null, null));\n // Component view will always be created before any injected LContainers,\n // so this is a regular element, wrap it with the component view\n lView[hostTNode.index] = componentView;\n}\nfunction elementAttributeInternal(tNode, lView, name, value, sanitizer, namespace) {\n if (ngDevMode) {\n assertNotSame(value, NO_CHANGE, 'Incoming value should never be NO_CHANGE.');\n validateAgainstEventAttributes(name);\n assertTNodeType(tNode, 2 /* TNodeType.Element */, `Attempted to set attribute \\`${name}\\` on a container node. ` +\n `Host bindings are not valid on ng-container or ng-template.`);\n }\n const element = getNativeByTNode(tNode, lView);\n setElementAttribute(lView[RENDERER], element, namespace, tNode.value, name, value, sanitizer);\n}\nfunction setElementAttribute(renderer, element, namespace, tagName, name, value, sanitizer) {\n if (value == null) {\n ngDevMode && ngDevMode.rendererRemoveAttribute++;\n renderer.removeAttribute(element, name, namespace);\n }\n else {\n ngDevMode && ngDevMode.rendererSetAttribute++;\n const strValue = sanitizer == null ? renderStringify(value) : sanitizer(value, tagName || '', name);\n renderer.setAttribute(element, name, strValue, namespace);\n }\n}\n/**\n * Sets initial input properties on directive instances from attribute data\n *\n * @param lView Current LView that is being processed.\n * @param directiveIndex Index of the directive in directives array\n * @param instance Instance of the directive on which to set the initial inputs\n * @param def The directive def that contains the list of inputs\n * @param tNode The static data for this node\n */\nfunction setInputsFromAttrs(lView, directiveIndex, instance, def, tNode, initialInputData) {\n const initialInputs = initialInputData[directiveIndex];\n if (initialInputs !== null) {\n for (let i = 0; i < initialInputs.length;) {\n const publicName = initialInputs[i++];\n const privateName = initialInputs[i++];\n const value = initialInputs[i++];\n writeToDirectiveInput(def, instance, publicName, privateName, value);\n if (ngDevMode) {\n const nativeElement = getNativeByTNode(tNode, lView);\n setNgReflectProperty(lView, nativeElement, tNode.type, privateName, value);\n }\n }\n }\n}\nfunction writeToDirectiveInput(def, instance, publicName, privateName, value) {\n const prevConsumer = setActiveConsumer(null);\n try {\n if (def.setInput !== null) {\n def.setInput(instance, value, publicName, privateName);\n }\n else {\n instance[privateName] = value;\n }\n }\n finally {\n setActiveConsumer(prevConsumer);\n }\n}\n/**\n * Generates initialInputData for a node and stores it in the template's static storage\n * so subsequent template invocations don't have to recalculate it.\n *\n * initialInputData is an array containing values that need to be set as input properties\n * for directives on this node, but only once on creation. We need this array to support\n * the case where you set an @Input property of a directive using attribute-like syntax.\n * e.g. if you have a `name` @Input, you can set it once like this:\n *\n * <my-component name=\"Bess\"></my-component>\n *\n * @param inputs Input alias map that was generated from the directive def inputs.\n * @param directiveIndex Index of the directive that is currently being processed.\n * @param attrs Static attrs on this node.\n */\nfunction generateInitialInputs(inputs, directiveIndex, attrs) {\n let inputsToStore = null;\n let i = 0;\n while (i < attrs.length) {\n const attrName = attrs[i];\n if (attrName === 0 /* AttributeMarker.NamespaceURI */) {\n // We do not allow inputs on namespaced attributes.\n i += 4;\n continue;\n }\n else if (attrName === 5 /* AttributeMarker.ProjectAs */) {\n // Skip over the `ngProjectAs` value.\n i += 2;\n continue;\n }\n // If we hit any other attribute markers, we're done anyway. None of those are valid inputs.\n if (typeof attrName === 'number')\n break;\n if (inputs.hasOwnProperty(attrName)) {\n if (inputsToStore === null)\n inputsToStore = [];\n // Find the input's public name from the input store. Note that we can be found easier\n // through the directive def, but we want to do it using the inputs store so that it can\n // account for host directive aliases.\n const inputConfig = inputs[attrName];\n for (let j = 0; j < inputConfig.length; j += 2) {\n if (inputConfig[j] === directiveIndex) {\n inputsToStore.push(attrName, inputConfig[j + 1], attrs[i + 1]);\n // A directive can't have multiple inputs with the same name so we can break here.\n break;\n }\n }\n }\n i += 2;\n }\n return inputsToStore;\n}\n//////////////////////////\n//// ViewContainer & View\n//////////////////////////\n/**\n * Creates a LContainer, either from a container instruction, or for a ViewContainerRef.\n *\n * @param hostNative The host element for the LContainer\n * @param hostTNode The host TNode for the LContainer\n * @param currentView The parent view of the LContainer\n * @param native The native comment element\n * @param isForViewContainerRef Optional a flag indicating the ViewContainerRef case\n * @returns LContainer\n */\nfunction createLContainer(hostNative, currentView, native, tNode) {\n ngDevMode && assertLView(currentView);\n const lContainer = [\n hostNative,\n true,\n false,\n currentView,\n null,\n 0,\n tNode,\n native,\n null,\n null,\n null, // dehydrated views\n ];\n ngDevMode &&\n assertEqual(lContainer.length, CONTAINER_HEADER_OFFSET, 'Should allocate correct number of slots for LContainer header.');\n return lContainer;\n}\n/** Refreshes all content queries declared by directives in a given view */\nfunction refreshContentQueries(tView, lView) {\n const contentQueries = tView.contentQueries;\n if (contentQueries !== null) {\n for (let i = 0; i < contentQueries.length; i += 2) {\n const queryStartIdx = contentQueries[i];\n const directiveDefIdx = contentQueries[i + 1];\n if (directiveDefIdx !== -1) {\n const directiveDef = tView.data[directiveDefIdx];\n ngDevMode && assertDefined(directiveDef, 'DirectiveDef not found.');\n ngDevMode &&\n assertDefined(directiveDef.contentQueries, 'contentQueries function should be defined');\n setCurrentQueryIndex(queryStartIdx);\n directiveDef.contentQueries(2 /* RenderFlags.Update */, lView[directiveDefIdx], directiveDefIdx);\n }\n }\n }\n}\n/**\n * Adds LView or LContainer to the end of the current view tree.\n *\n * This structure will be used to traverse through nested views to remove listeners\n * and call onDestroy callbacks.\n *\n * @param lView The view where LView or LContainer should be added\n * @param adjustedHostIndex Index of the view's host node in LView[], adjusted for header\n * @param lViewOrLContainer The LView or LContainer to add to the view tree\n * @returns The state passed in\n */\nfunction addToViewTree(lView, lViewOrLContainer) {\n // TODO(benlesh/misko): This implementation is incorrect, because it always adds the LContainer\n // to the end of the queue, which means if the developer retrieves the LContainers from RNodes out\n // of order, the change detection will run out of order, as the act of retrieving the the\n // LContainer from the RNode is what adds it to the queue.\n if (lView[CHILD_HEAD]) {\n lView[CHILD_TAIL][NEXT] = lViewOrLContainer;\n }\n else {\n lView[CHILD_HEAD] = lViewOrLContainer;\n }\n lView[CHILD_TAIL] = lViewOrLContainer;\n return lViewOrLContainer;\n}\n///////////////////////////////\n//// Change detection\n///////////////////////////////\nfunction executeViewQueryFn(flags, viewQueryFn, component) {\n ngDevMode && assertDefined(viewQueryFn, 'View queries function to execute must be defined.');\n setCurrentQueryIndex(0);\n const prevConsumer = setActiveConsumer(null);\n try {\n viewQueryFn(flags, component);\n }\n finally {\n setActiveConsumer(prevConsumer);\n }\n}\n///////////////////////////////\n//// Bindings & interpolations\n///////////////////////////////\n/**\n * Stores meta-data for a property binding to be used by TestBed's `DebugElement.properties`.\n *\n * In order to support TestBed's `DebugElement.properties` we need to save, for each binding:\n * - a bound property name;\n * - a static parts of interpolated strings;\n *\n * A given property metadata is saved at the binding's index in the `TView.data` (in other words, a\n * property binding metadata will be stored in `TView.data` at the same index as a bound value in\n * `LView`). Metadata are represented as `INTERPOLATION_DELIMITER`-delimited string with the\n * following format:\n * - `propertyName` for bound properties;\n * - `propertyName�prefix�interpolation_static_part1�..interpolation_static_partN�suffix` for\n * interpolated properties.\n *\n * @param tData `TData` where meta-data will be saved;\n * @param tNode `TNode` that is a target of the binding;\n * @param propertyName bound property name;\n * @param bindingIndex binding index in `LView`\n * @param interpolationParts static interpolation parts (for property interpolations)\n */\nfunction storePropertyBindingMetadata(tData, tNode, propertyName, bindingIndex, ...interpolationParts) {\n // Binding meta-data are stored only the first time a given property instruction is processed.\n // Since we don't have a concept of the \"first update pass\" we need to check for presence of the\n // binding meta-data to decide if one should be stored (or if was stored already).\n if (tData[bindingIndex] === null) {\n if (tNode.inputs == null || !tNode.inputs[propertyName]) {\n const propBindingIdxs = tNode.propertyBindings || (tNode.propertyBindings = []);\n propBindingIdxs.push(bindingIndex);\n let bindingMetadata = propertyName;\n if (interpolationParts.length > 0) {\n bindingMetadata +=\n INTERPOLATION_DELIMITER + interpolationParts.join(INTERPOLATION_DELIMITER);\n }\n tData[bindingIndex] = bindingMetadata;\n }\n }\n}\nfunction getOrCreateLViewCleanup(view) {\n // top level variables should not be exported for performance reasons (PERF_NOTES.md)\n return view[CLEANUP] || (view[CLEANUP] = []);\n}\nfunction getOrCreateTViewCleanup(tView) {\n return tView.cleanup || (tView.cleanup = []);\n}\n/**\n * There are cases where the sub component's renderer needs to be included\n * instead of the current renderer (see the componentSyntheticHost* instructions).\n */\nfunction loadComponentRenderer(currentDef, tNode, lView) {\n // TODO(FW-2043): the `currentDef` is null when host bindings are invoked while creating root\n // component (see packages/core/src/render3/component.ts). This is not consistent with the process\n // of creating inner components, when current directive index is available in the state. In order\n // to avoid relying on current def being `null` (thus special-casing root component creation), the\n // process of creating root component should be unified with the process of creating inner\n // components.\n if (currentDef === null || isComponentDef(currentDef)) {\n lView = unwrapLView(lView[tNode.index]);\n }\n return lView[RENDERER];\n}\n/** Handles an error thrown in an LView. */\nfunction handleError(lView, error) {\n const injector = lView[INJECTOR$1];\n const errorHandler = injector ? injector.get(ErrorHandler, null) : null;\n errorHandler && errorHandler.handleError(error);\n}\n/**\n * Set the inputs of directives at the current node to corresponding value.\n *\n * @param tView The current TView\n * @param lView the `LView` which contains the directives.\n * @param inputs mapping between the public \"input\" name and privately-known,\n * possibly minified, property names to write to.\n * @param value Value to set.\n */\nfunction setInputsForProperty(tView, lView, inputs, publicName, value) {\n for (let i = 0; i < inputs.length;) {\n const index = inputs[i++];\n const privateName = inputs[i++];\n const instance = lView[index];\n ngDevMode && assertIndexInRange(lView, index);\n const def = tView.data[index];\n writeToDirectiveInput(def, instance, publicName, privateName, value);\n }\n}\n/**\n * Updates a text binding at a given index in a given LView.\n */\nfunction textBindingInternal(lView, index, value) {\n ngDevMode && assertString(value, 'Value should be a string');\n ngDevMode && assertNotSame(value, NO_CHANGE, 'value should not be NO_CHANGE');\n ngDevMode && assertIndexInRange(lView, index);\n const element = getNativeByIndex(index, lView);\n ngDevMode && assertDefined(element, 'native element should exist');\n updateTextNode(lView[RENDERER], element, value);\n}\n\nfunction renderComponent(hostLView, componentHostIdx) {\n ngDevMode && assertEqual(isCreationMode(hostLView), true, 'Should be run in creation mode');\n const componentView = getComponentLViewByIndex(componentHostIdx, hostLView);\n const componentTView = componentView[TVIEW];\n syncViewWithBlueprint(componentTView, componentView);\n const hostRNode = componentView[HOST];\n // Populate an LView with hydration info retrieved from the DOM via TransferState.\n if (hostRNode !== null && componentView[HYDRATION] === null) {\n componentView[HYDRATION] = retrieveHydrationInfo(hostRNode, componentView[INJECTOR$1]);\n }\n renderView(componentTView, componentView, componentView[CONTEXT]);\n}\n/**\n * Syncs an LView instance with its blueprint if they have gotten out of sync.\n *\n * Typically, blueprints and their view instances should always be in sync, so the loop here\n * will be skipped. However, consider this case of two components side-by-side:\n *\n * App template:\n * ```\n * <comp></comp>\n * <comp></comp>\n * ```\n *\n * The following will happen:\n * 1. App template begins processing.\n * 2. First <comp> is matched as a component and its LView is created.\n * 3. Second <comp> is matched as a component and its LView is created.\n * 4. App template completes processing, so it's time to check child templates.\n * 5. First <comp> template is checked. It has a directive, so its def is pushed to blueprint.\n * 6. Second <comp> template is checked. Its blueprint has been updated by the first\n * <comp> template, but its LView was created before this update, so it is out of sync.\n *\n * Note that embedded views inside ngFor loops will never be out of sync because these views\n * are processed as soon as they are created.\n *\n * @param tView The `TView` that contains the blueprint for syncing\n * @param lView The view to sync\n */\nfunction syncViewWithBlueprint(tView, lView) {\n for (let i = lView.length; i < tView.blueprint.length; i++) {\n lView.push(tView.blueprint[i]);\n }\n}\n/**\n * Processes a view in the creation mode. This includes a number of steps in a specific order:\n * - creating view query functions (if any);\n * - executing a template function in the creation mode;\n * - updating static queries (if any);\n * - creating child components defined in a given view.\n */\nfunction renderView(tView, lView, context) {\n ngDevMode && assertEqual(isCreationMode(lView), true, 'Should be run in creation mode');\n enterView(lView);\n try {\n const viewQuery = tView.viewQuery;\n if (viewQuery !== null) {\n executeViewQueryFn(1 /* RenderFlags.Create */, viewQuery, context);\n }\n // Execute a template associated with this view, if it exists. A template function might not be\n // defined for the root component views.\n const templateFn = tView.template;\n if (templateFn !== null) {\n executeTemplate(tView, lView, templateFn, 1 /* RenderFlags.Create */, context);\n }\n // This needs to be set before children are processed to support recursive components.\n // This must be set to false immediately after the first creation run because in an\n // ngFor loop, all the views will be created together before update mode runs and turns\n // off firstCreatePass. If we don't set it here, instances will perform directive\n // matching, etc again and again.\n if (tView.firstCreatePass) {\n tView.firstCreatePass = false;\n }\n // We resolve content queries specifically marked as `static` in creation mode. Dynamic\n // content queries are resolved during change detection (i.e. update mode), after embedded\n // views are refreshed (see block above).\n if (tView.staticContentQueries) {\n refreshContentQueries(tView, lView);\n }\n // We must materialize query results before child components are processed\n // in case a child component has projected a container. The LContainer needs\n // to exist so the embedded views are properly attached by the container.\n if (tView.staticViewQueries) {\n executeViewQueryFn(2 /* RenderFlags.Update */, tView.viewQuery, context);\n }\n // Render child component views.\n const components = tView.components;\n if (components !== null) {\n renderChildComponents(lView, components);\n }\n }\n catch (error) {\n // If we didn't manage to get past the first template pass due to\n // an error, mark the view as corrupted so we can try to recover.\n if (tView.firstCreatePass) {\n tView.incompleteFirstPass = true;\n tView.firstCreatePass = false;\n }\n throw error;\n }\n finally {\n lView[FLAGS] &= ~4 /* LViewFlags.CreationMode */;\n leaveView();\n }\n}\n/** Renders child components in the current view (creation mode). */\nfunction renderChildComponents(hostLView, components) {\n for (let i = 0; i < components.length; i++) {\n renderComponent(hostLView, components[i]);\n }\n}\n\n/**\n * `DestroyRef` lets you set callbacks to run for any cleanup or destruction behavior.\n * The scope of this destruction depends on where `DestroyRef` is injected. If `DestroyRef`\n * is injected in a component or directive, the callbacks run when that component or\n * directive is destroyed. Otherwise the callbacks run when a corresponding injector is destroyed.\n *\n * @publicApi\n */\nclass DestroyRef {\n /**\n * @internal\n * @nocollapse\n */\n static { this.__NG_ELEMENT_ID__ = injectDestroyRef; }\n /**\n * @internal\n * @nocollapse\n */\n static { this.__NG_ENV_ID__ = (injector) => injector; }\n}\nclass NodeInjectorDestroyRef extends DestroyRef {\n constructor(_lView) {\n super();\n this._lView = _lView;\n }\n onDestroy(callback) {\n storeLViewOnDestroy(this._lView, callback);\n return () => removeLViewOnDestroy(this._lView, callback);\n }\n}\nfunction injectDestroyRef() {\n return new NodeInjectorDestroyRef(getLView());\n}\n\n/**\n * Tracks all effects registered within a given application and runs them via `flush`.\n */\nclass EffectManager {\n constructor() {\n this.all = new Set();\n this.queue = new Map();\n }\n create(effectFn, destroyRef, allowSignalWrites) {\n const zone = (typeof Zone === 'undefined') ? null : Zone.current;\n const watch = new Watch(effectFn, (watch) => {\n if (!this.all.has(watch)) {\n return;\n }\n this.queue.set(watch, zone);\n }, allowSignalWrites);\n this.all.add(watch);\n // Effects start dirty.\n watch.notify();\n let unregisterOnDestroy;\n const destroy = () => {\n watch.cleanup();\n unregisterOnDestroy?.();\n this.all.delete(watch);\n this.queue.delete(watch);\n };\n unregisterOnDestroy = destroyRef?.onDestroy(destroy);\n return {\n destroy,\n };\n }\n flush() {\n if (this.queue.size === 0) {\n return;\n }\n for (const [watch, zone] of this.queue) {\n this.queue.delete(watch);\n if (zone) {\n zone.run(() => watch.run());\n }\n else {\n watch.run();\n }\n }\n }\n get isQueueEmpty() {\n return this.queue.size === 0;\n }\n /** @nocollapse */\n static { this.ɵprov = ɵɵdefineInjectable({\n token: EffectManager,\n providedIn: 'root',\n factory: () => new EffectManager(),\n }); }\n}\n/**\n * Create a global `Effect` for the given reactive function.\n *\n * @developerPreview\n */\nfunction effect(effectFn, options) {\n !options?.injector && assertInInjectionContext(effect);\n const injector = options?.injector ?? inject(Injector);\n const effectManager = injector.get(EffectManager);\n const destroyRef = options?.manualCleanup !== true ? injector.get(DestroyRef) : null;\n return effectManager.create(effectFn, destroyRef, !!options?.allowSignalWrites);\n}\n\n/**\n * Compute the static styling (class/style) from `TAttributes`.\n *\n * This function should be called during `firstCreatePass` only.\n *\n * @param tNode The `TNode` into which the styling information should be loaded.\n * @param attrs `TAttributes` containing the styling information.\n * @param writeToHost Where should the resulting static styles be written?\n * - `false` Write to `TNode.stylesWithoutHost` / `TNode.classesWithoutHost`\n * - `true` Write to `TNode.styles` / `TNode.classes`\n */\nfunction computeStaticStyling(tNode, attrs, writeToHost) {\n ngDevMode &&\n assertFirstCreatePass(getTView(), 'Expecting to be called in first template pass only');\n let styles = writeToHost ? tNode.styles : null;\n let classes = writeToHost ? tNode.classes : null;\n let mode = 0;\n if (attrs !== null) {\n for (let i = 0; i < attrs.length; i++) {\n const value = attrs[i];\n if (typeof value === 'number') {\n mode = value;\n }\n else if (mode == 1 /* AttributeMarker.Classes */) {\n classes = concatStringsWithSpace(classes, value);\n }\n else if (mode == 2 /* AttributeMarker.Styles */) {\n const style = value;\n const styleValue = attrs[++i];\n styles = concatStringsWithSpace(styles, style + ': ' + styleValue + ';');\n }\n }\n }\n writeToHost ? tNode.styles = styles : tNode.stylesWithoutHost = styles;\n writeToHost ? tNode.classes = classes : tNode.classesWithoutHost = classes;\n}\n\nfunction collectNativeNodes(tView, lView, tNode, result, isProjection = false) {\n while (tNode !== null) {\n ngDevMode &&\n assertTNodeType(tNode, 3 /* TNodeType.AnyRNode */ | 12 /* TNodeType.AnyContainer */ | 16 /* TNodeType.Projection */ | 32 /* TNodeType.Icu */);\n const lNode = lView[tNode.index];\n if (lNode !== null) {\n result.push(unwrapRNode(lNode));\n }\n // A given lNode can represent either a native node or a LContainer (when it is a host of a\n // ViewContainerRef). When we find a LContainer we need to descend into it to collect root nodes\n // from the views in this container.\n if (isLContainer(lNode)) {\n for (let i = CONTAINER_HEADER_OFFSET; i < lNode.length; i++) {\n const lViewInAContainer = lNode[i];\n const lViewFirstChildTNode = lViewInAContainer[TVIEW].firstChild;\n if (lViewFirstChildTNode !== null) {\n collectNativeNodes(lViewInAContainer[TVIEW], lViewInAContainer, lViewFirstChildTNode, result);\n }\n }\n // When an LContainer is created, the anchor (comment) node is:\n // - (1) either reused in case of an ElementContainer (<ng-container>)\n // - (2) or a new comment node is created\n // In the first case, the anchor comment node would be added to the final\n // list by the code above (`result.push(unwrapRNode(lNode))`), but the second\n // case requires extra handling: the anchor node needs to be added to the\n // final list manually. See additional information in the `createAnchorNode`\n // function in the `view_container_ref.ts`.\n //\n // In the first case, the same reference would be stored in the `NATIVE`\n // and `HOST` slots in an LContainer. Otherwise, this is the second case and\n // we should add an element to the final list.\n if (lNode[NATIVE] !== lNode[HOST]) {\n result.push(lNode[NATIVE]);\n }\n }\n const tNodeType = tNode.type;\n if (tNodeType & 8 /* TNodeType.ElementContainer */) {\n collectNativeNodes(tView, lView, tNode.child, result);\n }\n else if (tNodeType & 32 /* TNodeType.Icu */) {\n const nextRNode = icuContainerIterate(tNode, lView);\n let rNode;\n while (rNode = nextRNode()) {\n result.push(rNode);\n }\n }\n else if (tNodeType & 16 /* TNodeType.Projection */) {\n const nodesInSlot = getProjectionNodes(lView, tNode);\n if (Array.isArray(nodesInSlot)) {\n result.push(...nodesInSlot);\n }\n else {\n const parentView = getLViewParent(lView[DECLARATION_COMPONENT_VIEW]);\n ngDevMode && assertParentView(parentView);\n collectNativeNodes(parentView[TVIEW], parentView, nodesInSlot, result, true);\n }\n }\n tNode = isProjection ? tNode.projectionNext : tNode.next;\n }\n return result;\n}\n\nfunction detectChangesInternal(tView, lView, context, notifyErrorHandler = true) {\n const rendererFactory = lView[ENVIRONMENT].rendererFactory;\n // Check no changes mode is a dev only mode used to verify that bindings have not changed\n // since they were assigned. We do not want to invoke renderer factory functions in that mode\n // to avoid any possible side-effects.\n const checkNoChangesMode = !!ngDevMode && isInCheckNoChangesMode();\n if (!checkNoChangesMode && rendererFactory.begin)\n rendererFactory.begin();\n try {\n refreshView(tView, lView, tView.template, context);\n }\n catch (error) {\n if (notifyErrorHandler) {\n handleError(lView, error);\n }\n throw error;\n }\n finally {\n if (!checkNoChangesMode && rendererFactory.end)\n rendererFactory.end();\n // One final flush of the effects queue to catch any effects created in `ngAfterViewInit` or\n // other post-order hooks.\n !checkNoChangesMode && lView[ENVIRONMENT].effectManager?.flush();\n }\n}\nfunction checkNoChangesInternal(tView, lView, context, notifyErrorHandler = true) {\n setIsInCheckNoChangesMode(true);\n try {\n detectChangesInternal(tView, lView, context, notifyErrorHandler);\n }\n finally {\n setIsInCheckNoChangesMode(false);\n }\n}\n/**\n * Synchronously perform change detection on a component (and possibly its sub-components).\n *\n * This function triggers change detection in a synchronous way on a component.\n *\n * @param component The component which the change detection should be performed on.\n */\nfunction detectChanges(component) {\n const view = getComponentViewByInstance(component);\n detectChangesInternal(view[TVIEW], view, component);\n}\n/**\n * Processes a view in update mode. This includes a number of steps in a specific order:\n * - executing a template function in update mode;\n * - executing hooks;\n * - refreshing queries;\n * - setting host bindings;\n * - refreshing child (embedded and component) views.\n */\nfunction refreshView(tView, lView, templateFn, context) {\n ngDevMode && assertEqual(isCreationMode(lView), false, 'Should be run in update mode');\n const flags = lView[FLAGS];\n if ((flags & 256 /* LViewFlags.Destroyed */) === 256 /* LViewFlags.Destroyed */)\n return;\n // Check no changes mode is a dev only mode used to verify that bindings have not changed\n // since they were assigned. We do not want to execute lifecycle hooks in that mode.\n const isInCheckNoChangesPass = ngDevMode && isInCheckNoChangesMode();\n !isInCheckNoChangesPass && lView[ENVIRONMENT].effectManager?.flush();\n enterView(lView);\n try {\n resetPreOrderHookFlags(lView);\n setBindingIndex(tView.bindingStartIndex);\n if (templateFn !== null) {\n executeTemplate(tView, lView, templateFn, 2 /* RenderFlags.Update */, context);\n }\n const hooksInitPhaseCompleted = (flags & 3 /* LViewFlags.InitPhaseStateMask */) === 3 /* InitPhaseState.InitPhaseCompleted */;\n // execute pre-order hooks (OnInit, OnChanges, DoCheck)\n // PERF WARNING: do NOT extract this to a separate function without running benchmarks\n if (!isInCheckNoChangesPass) {\n if (hooksInitPhaseCompleted) {\n const preOrderCheckHooks = tView.preOrderCheckHooks;\n if (preOrderCheckHooks !== null) {\n executeCheckHooks(lView, preOrderCheckHooks, null);\n }\n }\n else {\n const preOrderHooks = tView.preOrderHooks;\n if (preOrderHooks !== null) {\n executeInitAndCheckHooks(lView, preOrderHooks, 0 /* InitPhaseState.OnInitHooksToBeRun */, null);\n }\n incrementInitPhaseFlags(lView, 0 /* InitPhaseState.OnInitHooksToBeRun */);\n }\n }\n // First mark transplanted views that are declared in this lView as needing a refresh at their\n // insertion points. This is needed to avoid the situation where the template is defined in this\n // `LView` but its declaration appears after the insertion component.\n markTransplantedViewsForRefresh(lView);\n refreshEmbeddedViews(lView);\n // Content query results must be refreshed before content hooks are called.\n if (tView.contentQueries !== null) {\n refreshContentQueries(tView, lView);\n }\n // execute content hooks (AfterContentInit, AfterContentChecked)\n // PERF WARNING: do NOT extract this to a separate function without running benchmarks\n if (!isInCheckNoChangesPass) {\n if (hooksInitPhaseCompleted) {\n const contentCheckHooks = tView.contentCheckHooks;\n if (contentCheckHooks !== null) {\n executeCheckHooks(lView, contentCheckHooks);\n }\n }\n else {\n const contentHooks = tView.contentHooks;\n if (contentHooks !== null) {\n executeInitAndCheckHooks(lView, contentHooks, 1 /* InitPhaseState.AfterContentInitHooksToBeRun */);\n }\n incrementInitPhaseFlags(lView, 1 /* InitPhaseState.AfterContentInitHooksToBeRun */);\n }\n }\n processHostBindingOpCodes(tView, lView);\n // Refresh child component views.\n const components = tView.components;\n if (components !== null) {\n refreshChildComponents(lView, components);\n }\n // View queries must execute after refreshing child components because a template in this view\n // could be inserted in a child component. If the view query executes before child component\n // refresh, the template might not yet be inserted.\n const viewQuery = tView.viewQuery;\n if (viewQuery !== null) {\n executeViewQueryFn(2 /* RenderFlags.Update */, viewQuery, context);\n }\n // execute view hooks (AfterViewInit, AfterViewChecked)\n // PERF WARNING: do NOT extract this to a separate function without running benchmarks\n if (!isInCheckNoChangesPass) {\n if (hooksInitPhaseCompleted) {\n const viewCheckHooks = tView.viewCheckHooks;\n if (viewCheckHooks !== null) {\n executeCheckHooks(lView, viewCheckHooks);\n }\n }\n else {\n const viewHooks = tView.viewHooks;\n if (viewHooks !== null) {\n executeInitAndCheckHooks(lView, viewHooks, 2 /* InitPhaseState.AfterViewInitHooksToBeRun */);\n }\n incrementInitPhaseFlags(lView, 2 /* InitPhaseState.AfterViewInitHooksToBeRun */);\n }\n }\n if (tView.firstUpdatePass === true) {\n // We need to make sure that we only flip the flag on successful `refreshView` only\n // Don't do this in `finally` block.\n // If we did this in `finally` block then an exception could block the execution of styling\n // instructions which in turn would be unable to insert themselves into the styling linked\n // list. The result of this would be that if the exception would not be throw on subsequent CD\n // the styling would be unable to process it data and reflect to the DOM.\n tView.firstUpdatePass = false;\n }\n // Do not reset the dirty state when running in check no changes mode. We don't want components\n // to behave differently depending on whether check no changes is enabled or not. For example:\n // Marking an OnPush component as dirty from within the `ngAfterViewInit` hook in order to\n // refresh a `NgClass` binding should work. If we would reset the dirty state in the check\n // no changes cycle, the component would be not be dirty for the next update pass. This would\n // be different in production mode where the component dirty state is not reset.\n if (!isInCheckNoChangesPass) {\n lView[FLAGS] &= ~(64 /* LViewFlags.Dirty */ | 8 /* LViewFlags.FirstLViewPass */);\n }\n clearViewRefreshFlag(lView);\n }\n finally {\n leaveView();\n }\n}\n/**\n * Goes over embedded views (ones created through ViewContainerRef APIs) and refreshes\n * them by executing an associated template function.\n */\nfunction refreshEmbeddedViews(lView) {\n for (let lContainer = getFirstLContainer(lView); lContainer !== null; lContainer = getNextLContainer(lContainer)) {\n for (let i = CONTAINER_HEADER_OFFSET; i < lContainer.length; i++) {\n const embeddedLView = lContainer[i];\n const embeddedTView = embeddedLView[TVIEW];\n ngDevMode && assertDefined(embeddedTView, 'TView must be allocated');\n if (viewAttachedToChangeDetector(embeddedLView)) {\n refreshView(embeddedTView, embeddedLView, embeddedTView.template, embeddedLView[CONTEXT]);\n }\n }\n }\n}\n/**\n * Mark transplanted views as needing to be refreshed at their insertion points.\n *\n * @param lView The `LView` that may have transplanted views.\n */\nfunction markTransplantedViewsForRefresh(lView) {\n for (let lContainer = getFirstLContainer(lView); lContainer !== null; lContainer = getNextLContainer(lContainer)) {\n if (!lContainer[HAS_TRANSPLANTED_VIEWS])\n continue;\n const movedViews = lContainer[MOVED_VIEWS];\n ngDevMode && assertDefined(movedViews, 'Transplanted View flags set but missing MOVED_VIEWS');\n for (let i = 0; i < movedViews.length; i++) {\n const movedLView = movedViews[i];\n const insertionLContainer = movedLView[PARENT];\n ngDevMode && assertLContainer(insertionLContainer);\n markViewForRefresh(movedLView);\n }\n }\n}\n/**\n * Refreshes components by entering the component view and processing its bindings, queries, etc.\n *\n * @param componentHostIdx Element index in LView[] (adjusted for HEADER_OFFSET)\n */\nfunction refreshComponent(hostLView, componentHostIdx) {\n ngDevMode && assertEqual(isCreationMode(hostLView), false, 'Should be run in update mode');\n const componentView = getComponentLViewByIndex(componentHostIdx, hostLView);\n // Only attached components that are CheckAlways or OnPush and dirty should be refreshed\n if (viewAttachedToChangeDetector(componentView)) {\n const tView = componentView[TVIEW];\n if (componentView[FLAGS] & (16 /* LViewFlags.CheckAlways */ | 64 /* LViewFlags.Dirty */)) {\n refreshView(tView, componentView, tView.template, componentView[CONTEXT]);\n }\n else if (componentView[DESCENDANT_VIEWS_TO_REFRESH] > 0) {\n // Only attached components that are CheckAlways or OnPush and dirty should be refreshed\n refreshContainsDirtyView(componentView);\n }\n }\n}\n/**\n * Refreshes all transplanted views marked with `LViewFlags.RefreshTransplantedView` that are\n * children or descendants of the given lView.\n *\n * @param lView The lView which contains descendant transplanted views that need to be refreshed.\n */\nfunction refreshContainsDirtyView(lView) {\n for (let lContainer = getFirstLContainer(lView); lContainer !== null; lContainer = getNextLContainer(lContainer)) {\n for (let i = CONTAINER_HEADER_OFFSET; i < lContainer.length; i++) {\n const embeddedLView = lContainer[i];\n if (viewAttachedToChangeDetector(embeddedLView)) {\n if (embeddedLView[FLAGS] & 1024 /* LViewFlags.RefreshView */) {\n const embeddedTView = embeddedLView[TVIEW];\n ngDevMode && assertDefined(embeddedTView, 'TView must be allocated');\n refreshView(embeddedTView, embeddedLView, embeddedTView.template, embeddedLView[CONTEXT]);\n }\n else if (embeddedLView[DESCENDANT_VIEWS_TO_REFRESH] > 0) {\n refreshContainsDirtyView(embeddedLView);\n }\n }\n }\n }\n const tView = lView[TVIEW];\n // Refresh child component views.\n const components = tView.components;\n if (components !== null) {\n for (let i = 0; i < components.length; i++) {\n const componentView = getComponentLViewByIndex(components[i], lView);\n // Only attached components that are CheckAlways or OnPush and dirty should be refreshed\n if (viewAttachedToChangeDetector(componentView) &&\n componentView[DESCENDANT_VIEWS_TO_REFRESH] > 0) {\n refreshContainsDirtyView(componentView);\n }\n }\n }\n}\n/** Refreshes child components in the current view (update mode). */\nfunction refreshChildComponents(hostLView, components) {\n for (let i = 0; i < components.length; i++) {\n refreshComponent(hostLView, components[i]);\n }\n}\n\nclass ViewRef$1 {\n get rootNodes() {\n const lView = this._lView;\n const tView = lView[TVIEW];\n return collectNativeNodes(tView, lView, tView.firstChild, []);\n }\n constructor(\n /**\n * This represents `LView` associated with the component when ViewRef is a ChangeDetectorRef.\n *\n * When ViewRef is created for a dynamic component, this also represents the `LView` for the\n * component.\n *\n * For a \"regular\" ViewRef created for an embedded view, this is the `LView` for the embedded\n * view.\n *\n * @internal\n */\n _lView, \n /**\n * This represents the `LView` associated with the point where `ChangeDetectorRef` was\n * requested.\n *\n * This may be different from `_lView` if the `_cdRefInjectingView` is an embedded view.\n */\n _cdRefInjectingView) {\n this._lView = _lView;\n this._cdRefInjectingView = _cdRefInjectingView;\n this._appRef = null;\n this._attachedToViewContainer = false;\n }\n get context() {\n return this._lView[CONTEXT];\n }\n set context(value) {\n this._lView[CONTEXT] = value;\n }\n get destroyed() {\n return (this._lView[FLAGS] & 256 /* LViewFlags.Destroyed */) === 256 /* LViewFlags.Destroyed */;\n }\n destroy() {\n if (this._appRef) {\n this._appRef.detachView(this);\n }\n else if (this._attachedToViewContainer) {\n const parent = this._lView[PARENT];\n if (isLContainer(parent)) {\n const viewRefs = parent[VIEW_REFS];\n const index = viewRefs ? viewRefs.indexOf(this) : -1;\n if (index > -1) {\n ngDevMode &&\n assertEqual(index, parent.indexOf(this._lView) - CONTAINER_HEADER_OFFSET, 'An attached view should be in the same position within its container as its ViewRef in the VIEW_REFS array.');\n detachView(parent, index);\n removeFromArray(viewRefs, index);\n }\n }\n this._attachedToViewContainer = false;\n }\n destroyLView(this._lView[TVIEW], this._lView);\n }\n onDestroy(callback) {\n storeLViewOnDestroy(this._lView, callback);\n }\n /**\n * Marks a view and all of its ancestors dirty.\n *\n * This can be used to ensure an {@link ChangeDetectionStrategy#OnPush OnPush} component is\n * checked when it needs to be re-rendered but the two normal triggers haven't marked it\n * dirty (i.e. inputs haven't changed and events haven't fired in the view).\n *\n * <!-- TODO: Add a link to a chapter on OnPush components -->\n *\n * @usageNotes\n * ### Example\n *\n * ```typescript\n * @Component({\n * selector: 'app-root',\n * template: `Number of ticks: {{numberOfTicks}}`\n * changeDetection: ChangeDetectionStrategy.OnPush,\n * })\n * class AppComponent {\n * numberOfTicks = 0;\n *\n * constructor(private ref: ChangeDetectorRef) {\n * setInterval(() => {\n * this.numberOfTicks++;\n * // the following is required, otherwise the view will not be updated\n * this.ref.markForCheck();\n * }, 1000);\n * }\n * }\n * ```\n */\n markForCheck() {\n markViewDirty(this._cdRefInjectingView || this._lView);\n }\n /**\n * Detaches the view from the change detection tree.\n *\n * Detached views will not be checked during change detection runs until they are\n * re-attached, even if they are dirty. `detach` can be used in combination with\n * {@link ChangeDetectorRef#detectChanges detectChanges} to implement local change\n * detection checks.\n *\n * <!-- TODO: Add a link to a chapter on detach/reattach/local digest -->\n * <!-- TODO: Add a live demo once ref.detectChanges is merged into master -->\n *\n * @usageNotes\n * ### Example\n *\n * The following example defines a component with a large list of readonly data.\n * Imagine the data changes constantly, many times per second. For performance reasons,\n * we want to check and update the list every five seconds. We can do that by detaching\n * the component's change detector and doing a local check every five seconds.\n *\n * ```typescript\n * class DataProvider {\n * // in a real application the returned data will be different every time\n * get data() {\n * return [1,2,3,4,5];\n * }\n * }\n *\n * @Component({\n * selector: 'giant-list',\n * template: `\n * <li *ngFor=\"let d of dataProvider.data\">Data {{d}}</li>\n * `,\n * })\n * class GiantList {\n * constructor(private ref: ChangeDetectorRef, private dataProvider: DataProvider) {\n * ref.detach();\n * setInterval(() => {\n * this.ref.detectChanges();\n * }, 5000);\n * }\n * }\n *\n * @Component({\n * selector: 'app',\n * providers: [DataProvider],\n * template: `\n * <giant-list><giant-list>\n * `,\n * })\n * class App {\n * }\n * ```\n */\n detach() {\n this._lView[FLAGS] &= ~128 /* LViewFlags.Attached */;\n }\n /**\n * Re-attaches a view to the change detection tree.\n *\n * This can be used to re-attach views that were previously detached from the tree\n * using {@link ChangeDetectorRef#detach detach}. Views are attached to the tree by default.\n *\n * <!-- TODO: Add a link to a chapter on detach/reattach/local digest -->\n *\n * @usageNotes\n * ### Example\n *\n * The following example creates a component displaying `live` data. The component will detach\n * its change detector from the main change detector tree when the component's live property\n * is set to false.\n *\n * ```typescript\n * class DataProvider {\n * data = 1;\n *\n * constructor() {\n * setInterval(() => {\n * this.data = this.data * 2;\n * }, 500);\n * }\n * }\n *\n * @Component({\n * selector: 'live-data',\n * inputs: ['live'],\n * template: 'Data: {{dataProvider.data}}'\n * })\n * class LiveData {\n * constructor(private ref: ChangeDetectorRef, private dataProvider: DataProvider) {}\n *\n * set live(value) {\n * if (value) {\n * this.ref.reattach();\n * } else {\n * this.ref.detach();\n * }\n * }\n * }\n *\n * @Component({\n * selector: 'app-root',\n * providers: [DataProvider],\n * template: `\n * Live Update: <input type=\"checkbox\" [(ngModel)]=\"live\">\n * <live-data [live]=\"live\"><live-data>\n * `,\n * })\n * class AppComponent {\n * live = true;\n * }\n * ```\n */\n reattach() {\n this._lView[FLAGS] |= 128 /* LViewFlags.Attached */;\n }\n /**\n * Checks the view and its children.\n *\n * This can also be used in combination with {@link ChangeDetectorRef#detach detach} to implement\n * local change detection checks.\n *\n * <!-- TODO: Add a link to a chapter on detach/reattach/local digest -->\n * <!-- TODO: Add a live demo once ref.detectChanges is merged into master -->\n *\n * @usageNotes\n * ### Example\n *\n * The following example defines a component with a large list of readonly data.\n * Imagine, the data changes constantly, many times per second. For performance reasons,\n * we want to check and update the list every five seconds.\n *\n * We can do that by detaching the component's change detector and doing a local change detection\n * check every five seconds.\n *\n * See {@link ChangeDetectorRef#detach detach} for more information.\n */\n detectChanges() {\n detectChangesInternal(this._lView[TVIEW], this._lView, this.context);\n }\n /**\n * Checks the change detector and its children, and throws if any changes are detected.\n *\n * This is used in development mode to verify that running change detection doesn't\n * introduce other changes.\n */\n checkNoChanges() {\n if (ngDevMode) {\n checkNoChangesInternal(this._lView[TVIEW], this._lView, this.context);\n }\n }\n attachToViewContainerRef() {\n if (this._appRef) {\n throw new RuntimeError(902 /* RuntimeErrorCode.VIEW_ALREADY_ATTACHED */, ngDevMode && 'This view is already attached directly to the ApplicationRef!');\n }\n this._attachedToViewContainer = true;\n }\n detachFromAppRef() {\n this._appRef = null;\n renderDetachView(this._lView[TVIEW], this._lView);\n }\n attachToAppRef(appRef) {\n if (this._attachedToViewContainer) {\n throw new RuntimeError(902 /* RuntimeErrorCode.VIEW_ALREADY_ATTACHED */, ngDevMode && 'This view is already attached to a ViewContainer!');\n }\n this._appRef = appRef;\n }\n}\n/** @internal */\nclass RootViewRef extends ViewRef$1 {\n constructor(_view) {\n super(_view);\n this._view = _view;\n }\n detectChanges() {\n const lView = this._view;\n const tView = lView[TVIEW];\n const context = lView[CONTEXT];\n detectChangesInternal(tView, lView, context, false);\n }\n checkNoChanges() {\n if (ngDevMode) {\n const lView = this._view;\n const tView = lView[TVIEW];\n const context = lView[CONTEXT];\n checkNoChangesInternal(tView, lView, context, false);\n }\n }\n get context() {\n return null;\n }\n}\n\nclass ComponentFactoryResolver extends ComponentFactoryResolver$1 {\n /**\n * @param ngModule The NgModuleRef to which all resolved factories are bound.\n */\n constructor(ngModule) {\n super();\n this.ngModule = ngModule;\n }\n resolveComponentFactory(component) {\n ngDevMode && assertComponentType(component);\n const componentDef = getComponentDef(component);\n return new ComponentFactory(componentDef, this.ngModule);\n }\n}\nfunction toRefArray(map) {\n const array = [];\n for (let nonMinified in map) {\n if (map.hasOwnProperty(nonMinified)) {\n const minified = map[nonMinified];\n array.push({ propName: minified, templateName: nonMinified });\n }\n }\n return array;\n}\nfunction getNamespace(elementName) {\n const name = elementName.toLowerCase();\n return name === 'svg' ? SVG_NAMESPACE : (name === 'math' ? MATH_ML_NAMESPACE : null);\n}\n/**\n * Injector that looks up a value using a specific injector, before falling back to the module\n * injector. Used primarily when creating components or embedded views dynamically.\n */\nclass ChainedInjector {\n constructor(injector, parentInjector) {\n this.injector = injector;\n this.parentInjector = parentInjector;\n }\n get(token, notFoundValue, flags) {\n flags = convertToBitFlags(flags);\n const value = this.injector.get(token, NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR, flags);\n if (value !== NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR ||\n notFoundValue === NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR) {\n // Return the value from the root element injector when\n // - it provides it\n // (value !== NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR)\n // - the module injector should not be checked\n // (notFoundValue === NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR)\n return value;\n }\n return this.parentInjector.get(token, notFoundValue, flags);\n }\n}\n/**\n * ComponentFactory interface implementation.\n */\nclass ComponentFactory extends ComponentFactory$1 {\n get inputs() {\n return toRefArray(this.componentDef.inputs);\n }\n get outputs() {\n return toRefArray(this.componentDef.outputs);\n }\n /**\n * @param componentDef The component definition.\n * @param ngModule The NgModuleRef to which the factory is bound.\n */\n constructor(componentDef, ngModule) {\n super();\n this.componentDef = componentDef;\n this.ngModule = ngModule;\n this.componentType = componentDef.type;\n this.selector = stringifyCSSSelectorList(componentDef.selectors);\n this.ngContentSelectors =\n componentDef.ngContentSelectors ? componentDef.ngContentSelectors : [];\n this.isBoundToModule = !!ngModule;\n }\n create(injector, projectableNodes, rootSelectorOrNode, environmentInjector) {\n environmentInjector = environmentInjector || this.ngModule;\n let realEnvironmentInjector = environmentInjector instanceof EnvironmentInjector ?\n environmentInjector :\n environmentInjector?.injector;\n if (realEnvironmentInjector && this.componentDef.getStandaloneInjector !== null) {\n realEnvironmentInjector = this.componentDef.getStandaloneInjector(realEnvironmentInjector) ||\n realEnvironmentInjector;\n }\n const rootViewInjector = realEnvironmentInjector ? new ChainedInjector(injector, realEnvironmentInjector) : injector;\n const rendererFactory = rootViewInjector.get(RendererFactory2, null);\n if (rendererFactory === null) {\n throw new RuntimeError(407 /* RuntimeErrorCode.RENDERER_NOT_FOUND */, ngDevMode &&\n 'Angular was not able to inject a renderer (RendererFactory2). ' +\n 'Likely this is due to a broken DI hierarchy. ' +\n 'Make sure that any injector used to create this component has a correct parent.');\n }\n const sanitizer = rootViewInjector.get(Sanitizer, null);\n const effectManager = rootViewInjector.get(EffectManager, null);\n const environment = {\n rendererFactory,\n sanitizer,\n effectManager,\n };\n const hostRenderer = rendererFactory.createRenderer(null, this.componentDef);\n // Determine a tag name used for creating host elements when this component is created\n // dynamically. Default to 'div' if this component did not specify any tag name in its selector.\n const elementName = this.componentDef.selectors[0][0] || 'div';\n const hostRNode = rootSelectorOrNode ?\n locateHostElement(hostRenderer, rootSelectorOrNode, this.componentDef.encapsulation, rootViewInjector) :\n createElementNode(hostRenderer, elementName, getNamespace(elementName));\n const rootFlags = this.componentDef.onPush ? 64 /* LViewFlags.Dirty */ | 512 /* LViewFlags.IsRoot */ :\n 16 /* LViewFlags.CheckAlways */ | 512 /* LViewFlags.IsRoot */;\n // Create the root view. Uses empty TView and ContentTemplate.\n const rootTView = createTView(0 /* TViewType.Root */, null, null, 1, 0, null, null, null, null, null, null);\n const rootLView = createLView(null, rootTView, null, rootFlags, null, null, environment, hostRenderer, rootViewInjector, null, null);\n // rootView is the parent when bootstrapping\n // TODO(misko): it looks like we are entering view here but we don't really need to as\n // `renderView` does that. However as the code is written it is needed because\n // `createRootComponentView` and `createRootComponent` both read global state. Fixing those\n // issues would allow us to drop this.\n enterView(rootLView);\n let component;\n let tElementNode;\n try {\n const rootComponentDef = this.componentDef;\n let rootDirectives;\n let hostDirectiveDefs = null;\n if (rootComponentDef.findHostDirectiveDefs) {\n rootDirectives = [];\n hostDirectiveDefs = new Map();\n rootComponentDef.findHostDirectiveDefs(rootComponentDef, rootDirectives, hostDirectiveDefs);\n rootDirectives.push(rootComponentDef);\n }\n else {\n rootDirectives = [rootComponentDef];\n }\n const hostTNode = createRootComponentTNode(rootLView, hostRNode);\n const componentView = createRootComponentView(hostTNode, hostRNode, rootComponentDef, rootDirectives, rootLView, environment, hostRenderer);\n tElementNode = getTNode(rootTView, HEADER_OFFSET);\n // TODO(crisbeto): in practice `hostRNode` should always be defined, but there are some tests\n // where the renderer is mocked out and `undefined` is returned. We should update the tests so\n // that this check can be removed.\n if (hostRNode) {\n setRootNodeAttributes(hostRenderer, rootComponentDef, hostRNode, rootSelectorOrNode);\n }\n if (projectableNodes !== undefined) {\n projectNodes(tElementNode, this.ngContentSelectors, projectableNodes);\n }\n // TODO: should LifecycleHooksFeature and other host features be generated by the compiler and\n // executed here?\n // Angular 5 reference: https://stackblitz.com/edit/lifecycle-hooks-vcref\n component = createRootComponent(componentView, rootComponentDef, rootDirectives, hostDirectiveDefs, rootLView, [LifecycleHooksFeature]);\n renderView(rootTView, rootLView, null);\n }\n finally {\n leaveView();\n }\n return new ComponentRef(this.componentType, component, createElementRef(tElementNode, rootLView), rootLView, tElementNode);\n }\n}\n/**\n * Represents an instance of a Component created via a {@link ComponentFactory}.\n *\n * `ComponentRef` provides access to the Component Instance as well other objects related to this\n * Component Instance and allows you to destroy the Component Instance via the {@link #destroy}\n * method.\n *\n */\nclass ComponentRef extends ComponentRef$1 {\n constructor(componentType, instance, location, _rootLView, _tNode) {\n super();\n this.location = location;\n this._rootLView = _rootLView;\n this._tNode = _tNode;\n this.previousInputValues = null;\n this.instance = instance;\n this.hostView = this.changeDetectorRef = new RootViewRef(_rootLView);\n this.componentType = componentType;\n }\n setInput(name, value) {\n const inputData = this._tNode.inputs;\n let dataValue;\n if (inputData !== null && (dataValue = inputData[name])) {\n this.previousInputValues ??= new Map();\n // Do not set the input if it is the same as the last value\n // This behavior matches `bindingUpdated` when binding inputs in templates.\n if (this.previousInputValues.has(name) &&\n Object.is(this.previousInputValues.get(name), value)) {\n return;\n }\n const lView = this._rootLView;\n setInputsForProperty(lView[TVIEW], lView, dataValue, name, value);\n this.previousInputValues.set(name, value);\n const childComponentLView = getComponentLViewByIndex(this._tNode.index, lView);\n markViewDirty(childComponentLView);\n }\n else {\n if (ngDevMode) {\n const cmpNameForError = stringifyForError(this.componentType);\n let message = `Can't set value of the '${name}' input on the '${cmpNameForError}' component. `;\n message += `Make sure that the '${name}' property is annotated with @Input() or a mapped @Input('${name}') exists.`;\n reportUnknownPropertyError(message);\n }\n }\n }\n get injector() {\n return new NodeInjector(this._tNode, this._rootLView);\n }\n destroy() {\n this.hostView.destroy();\n }\n onDestroy(callback) {\n this.hostView.onDestroy(callback);\n }\n}\n// TODO: A hack to not pull in the NullInjector from @angular/core.\nconst NULL_INJECTOR = {\n get: (token, notFoundValue) => {\n throwProviderNotFoundError(token, 'NullInjector');\n }\n};\n/** Creates a TNode that can be used to instantiate a root component. */\nfunction createRootComponentTNode(lView, rNode) {\n const tView = lView[TVIEW];\n const index = HEADER_OFFSET;\n ngDevMode && assertIndexInRange(lView, index);\n lView[index] = rNode;\n // '#host' is added here as we don't know the real host DOM name (we don't want to read it) and at\n // the same time we want to communicate the debug `TNode` that this is a special `TNode`\n // representing a host element.\n return getOrCreateTNode(tView, index, 2 /* TNodeType.Element */, '#host', null);\n}\n/**\n * Creates the root component view and the root component node.\n *\n * @param hostRNode Render host element.\n * @param rootComponentDef ComponentDef\n * @param rootView The parent view where the host node is stored\n * @param rendererFactory Factory to be used for creating child renderers.\n * @param hostRenderer The current renderer\n * @param sanitizer The sanitizer, if provided\n *\n * @returns Component view created\n */\nfunction createRootComponentView(tNode, hostRNode, rootComponentDef, rootDirectives, rootView, environment, hostRenderer) {\n const tView = rootView[TVIEW];\n applyRootComponentStyling(rootDirectives, tNode, hostRNode, hostRenderer);\n // Hydration info is on the host element and needs to be retreived\n // and passed to the component LView.\n let hydrationInfo = null;\n if (hostRNode !== null) {\n hydrationInfo = retrieveHydrationInfo(hostRNode, rootView[INJECTOR$1]);\n }\n const viewRenderer = environment.rendererFactory.createRenderer(hostRNode, rootComponentDef);\n const componentView = createLView(rootView, getOrCreateComponentTView(rootComponentDef), null, rootComponentDef.onPush ? 64 /* LViewFlags.Dirty */ : 16 /* LViewFlags.CheckAlways */, rootView[tNode.index], tNode, environment, viewRenderer, null, null, hydrationInfo);\n if (tView.firstCreatePass) {\n markAsComponentHost(tView, tNode, rootDirectives.length - 1);\n }\n addToViewTree(rootView, componentView);\n // Store component view at node index, with node as the HOST\n return rootView[tNode.index] = componentView;\n}\n/** Sets up the styling information on a root component. */\nfunction applyRootComponentStyling(rootDirectives, tNode, rNode, hostRenderer) {\n for (const def of rootDirectives) {\n tNode.mergedAttrs = mergeHostAttrs(tNode.mergedAttrs, def.hostAttrs);\n }\n if (tNode.mergedAttrs !== null) {\n computeStaticStyling(tNode, tNode.mergedAttrs, true);\n if (rNode !== null) {\n setupStaticAttributes(hostRenderer, rNode, tNode);\n }\n }\n}\n/**\n * Creates a root component and sets it up with features and host bindings.Shared by\n * renderComponent() and ViewContainerRef.createComponent().\n */\nfunction createRootComponent(componentView, rootComponentDef, rootDirectives, hostDirectiveDefs, rootLView, hostFeatures) {\n const rootTNode = getCurrentTNode();\n ngDevMode && assertDefined(rootTNode, 'tNode should have been already created');\n const tView = rootLView[TVIEW];\n const native = getNativeByTNode(rootTNode, rootLView);\n initializeDirectives(tView, rootLView, rootTNode, rootDirectives, null, hostDirectiveDefs);\n for (let i = 0; i < rootDirectives.length; i++) {\n const directiveIndex = rootTNode.directiveStart + i;\n const directiveInstance = getNodeInjectable(rootLView, tView, directiveIndex, rootTNode);\n attachPatchData(directiveInstance, rootLView);\n }\n invokeDirectivesHostBindings(tView, rootLView, rootTNode);\n if (native) {\n attachPatchData(native, rootLView);\n }\n // We're guaranteed for the `componentOffset` to be positive here\n // since a root component always matches a component def.\n ngDevMode &&\n assertGreaterThan(rootTNode.componentOffset, -1, 'componentOffset must be great than -1');\n const component = getNodeInjectable(rootLView, tView, rootTNode.directiveStart + rootTNode.componentOffset, rootTNode);\n componentView[CONTEXT] = rootLView[CONTEXT] = component;\n if (hostFeatures !== null) {\n for (const feature of hostFeatures) {\n feature(component, rootComponentDef);\n }\n }\n // We want to generate an empty QueryList for root content queries for backwards\n // compatibility with ViewEngine.\n executeContentQueries(tView, rootTNode, componentView);\n return component;\n}\n/** Sets the static attributes on a root component. */\nfunction setRootNodeAttributes(hostRenderer, componentDef, hostRNode, rootSelectorOrNode) {\n if (rootSelectorOrNode) {\n setUpAttributes(hostRenderer, hostRNode, ['ng-version', VERSION.full]);\n }\n else {\n // If host element is created as a part of this function call (i.e. `rootSelectorOrNode`\n // is not defined), also apply attributes and classes extracted from component selector.\n // Extract attributes and classes from the first selector only to match VE behavior.\n const { attrs, classes } = extractAttrsAndClassesFromSelector(componentDef.selectors[0]);\n if (attrs) {\n setUpAttributes(hostRenderer, hostRNode, attrs);\n }\n if (classes && classes.length > 0) {\n writeDirectClass(hostRenderer, hostRNode, classes.join(' '));\n }\n }\n}\n/** Projects the `projectableNodes` that were specified when creating a root component. */\nfunction projectNodes(tNode, ngContentSelectors, projectableNodes) {\n const projection = tNode.projection = [];\n for (let i = 0; i < ngContentSelectors.length; i++) {\n const nodesforSlot = projectableNodes[i];\n // Projectable nodes can be passed as array of arrays or an array of iterables (ngUpgrade\n // case). Here we do normalize passed data structure to be an array of arrays to avoid\n // complex checks down the line.\n // We also normalize the length of the passed in projectable nodes (to match the number of\n // <ng-container> slots defined by a component).\n projection.push(nodesforSlot != null ? Array.from(nodesforSlot) : null);\n }\n}\n/**\n * Used to enable lifecycle hooks on the root component.\n *\n * Include this feature when calling `renderComponent` if the root component\n * you are rendering has lifecycle hooks defined. Otherwise, the hooks won't\n * be called properly.\n *\n * Example:\n *\n * ```\n * renderComponent(AppComponent, {hostFeatures: [LifecycleHooksFeature]});\n * ```\n */\nfunction LifecycleHooksFeature() {\n const tNode = getCurrentTNode();\n ngDevMode && assertDefined(tNode, 'TNode is required');\n registerPostOrderHooks(getLView()[TVIEW], tNode);\n}\n\nfunction getSuperType(type) {\n return Object.getPrototypeOf(type.prototype).constructor;\n}\n/**\n * Merges the definition from a super class to a sub class.\n * @param definition The definition that is a SubClass of another directive of component\n *\n * @codeGenApi\n */\nfunction ɵɵInheritDefinitionFeature(definition) {\n let superType = getSuperType(definition.type);\n let shouldInheritFields = true;\n const inheritanceChain = [definition];\n while (superType) {\n let superDef = undefined;\n if (isComponentDef(definition)) {\n // Don't use getComponentDef/getDirectiveDef. This logic relies on inheritance.\n superDef = superType.ɵcmp || superType.ɵdir;\n }\n else {\n if (superType.ɵcmp) {\n throw new RuntimeError(903 /* RuntimeErrorCode.INVALID_INHERITANCE */, ngDevMode &&\n `Directives cannot inherit Components. Directive ${stringifyForError(definition.type)} is attempting to extend component ${stringifyForError(superType)}`);\n }\n // Don't use getComponentDef/getDirectiveDef. This logic relies on inheritance.\n superDef = superType.ɵdir;\n }\n if (superDef) {\n if (shouldInheritFields) {\n inheritanceChain.push(superDef);\n // Some fields in the definition may be empty, if there were no values to put in them that\n // would've justified object creation. Unwrap them if necessary.\n const writeableDef = definition;\n writeableDef.inputs = maybeUnwrapEmpty(definition.inputs);\n writeableDef.declaredInputs = maybeUnwrapEmpty(definition.declaredInputs);\n writeableDef.outputs = maybeUnwrapEmpty(definition.outputs);\n // Merge hostBindings\n const superHostBindings = superDef.hostBindings;\n superHostBindings && inheritHostBindings(definition, superHostBindings);\n // Merge queries\n const superViewQuery = superDef.viewQuery;\n const superContentQueries = superDef.contentQueries;\n superViewQuery && inheritViewQuery(definition, superViewQuery);\n superContentQueries && inheritContentQueries(definition, superContentQueries);\n // Merge inputs and outputs\n fillProperties(definition.inputs, superDef.inputs);\n fillProperties(definition.declaredInputs, superDef.declaredInputs);\n fillProperties(definition.outputs, superDef.outputs);\n // Merge animations metadata.\n // If `superDef` is a Component, the `data` field is present (defaults to an empty object).\n if (isComponentDef(superDef) && superDef.data.animation) {\n // If super def is a Component, the `definition` is also a Component, since Directives can\n // not inherit Components (we throw an error above and cannot reach this code).\n const defData = definition.data;\n defData.animation = (defData.animation || []).concat(superDef.data.animation);\n }\n }\n // Run parent features\n const features = superDef.features;\n if (features) {\n for (let i = 0; i < features.length; i++) {\n const feature = features[i];\n if (feature && feature.ngInherit) {\n feature(definition);\n }\n // If `InheritDefinitionFeature` is a part of the current `superDef`, it means that this\n // def already has all the necessary information inherited from its super class(es), so we\n // can stop merging fields from super classes. However we need to iterate through the\n // prototype chain to look for classes that might contain other \"features\" (like\n // NgOnChanges), which we should invoke for the original `definition`. We set the\n // `shouldInheritFields` flag to indicate that, essentially skipping fields inheritance\n // logic and only invoking functions from the \"features\" list.\n if (feature === ɵɵInheritDefinitionFeature) {\n shouldInheritFields = false;\n }\n }\n }\n }\n superType = Object.getPrototypeOf(superType);\n }\n mergeHostAttrsAcrossInheritance(inheritanceChain);\n}\n/**\n * Merge the `hostAttrs` and `hostVars` from the inherited parent to the base class.\n *\n * @param inheritanceChain A list of `WritableDefs` starting at the top most type and listing\n * sub-types in order. For each type take the `hostAttrs` and `hostVars` and merge it with the child\n * type.\n */\nfunction mergeHostAttrsAcrossInheritance(inheritanceChain) {\n let hostVars = 0;\n let hostAttrs = null;\n // We process the inheritance order from the base to the leaves here.\n for (let i = inheritanceChain.length - 1; i >= 0; i--) {\n const def = inheritanceChain[i];\n // For each `hostVars`, we need to add the superclass amount.\n def.hostVars = (hostVars += def.hostVars);\n // for each `hostAttrs` we need to merge it with superclass.\n def.hostAttrs =\n mergeHostAttrs(def.hostAttrs, hostAttrs = mergeHostAttrs(hostAttrs, def.hostAttrs));\n }\n}\nfunction maybeUnwrapEmpty(value) {\n if (value === EMPTY_OBJ) {\n return {};\n }\n else if (value === EMPTY_ARRAY) {\n return [];\n }\n else {\n return value;\n }\n}\nfunction inheritViewQuery(definition, superViewQuery) {\n const prevViewQuery = definition.viewQuery;\n if (prevViewQuery) {\n definition.viewQuery = (rf, ctx) => {\n superViewQuery(rf, ctx);\n prevViewQuery(rf, ctx);\n };\n }\n else {\n definition.viewQuery = superViewQuery;\n }\n}\nfunction inheritContentQueries(definition, superContentQueries) {\n const prevContentQueries = definition.contentQueries;\n if (prevContentQueries) {\n definition.contentQueries = (rf, ctx, directiveIndex) => {\n superContentQueries(rf, ctx, directiveIndex);\n prevContentQueries(rf, ctx, directiveIndex);\n };\n }\n else {\n definition.contentQueries = superContentQueries;\n }\n}\nfunction inheritHostBindings(definition, superHostBindings) {\n const prevHostBindings = definition.hostBindings;\n if (prevHostBindings) {\n definition.hostBindings = (rf, ctx) => {\n superHostBindings(rf, ctx);\n prevHostBindings(rf, ctx);\n };\n }\n else {\n definition.hostBindings = superHostBindings;\n }\n}\n\n/**\n * Fields which exist on either directive or component definitions, and need to be copied from\n * parent to child classes by the `ɵɵCopyDefinitionFeature`.\n */\nconst COPY_DIRECTIVE_FIELDS = [\n // The child class should use the providers of its parent.\n 'providersResolver',\n // Not listed here are any fields which are handled by the `ɵɵInheritDefinitionFeature`, such\n // as inputs, outputs, and host binding functions.\n];\n/**\n * Fields which exist only on component definitions, and need to be copied from parent to child\n * classes by the `ɵɵCopyDefinitionFeature`.\n *\n * The type here allows any field of `ComponentDef` which is not also a property of `DirectiveDef`,\n * since those should go in `COPY_DIRECTIVE_FIELDS` above.\n */\nconst COPY_COMPONENT_FIELDS = [\n // The child class should use the template function of its parent, including all template\n // semantics.\n 'template',\n 'decls',\n 'consts',\n 'vars',\n 'onPush',\n 'ngContentSelectors',\n // The child class should use the CSS styles of its parent, including all styling semantics.\n 'styles',\n 'encapsulation',\n // The child class should be checked by the runtime in the same way as its parent.\n 'schemas',\n];\n/**\n * Copies the fields not handled by the `ɵɵInheritDefinitionFeature` from the supertype of a\n * definition.\n *\n * This exists primarily to support ngcc migration of an existing View Engine pattern, where an\n * entire decorator is inherited from a parent to a child class. When ngcc detects this case, it\n * generates a skeleton definition on the child class, and applies this feature.\n *\n * The `ɵɵCopyDefinitionFeature` then copies any needed fields from the parent class' definition,\n * including things like the component template function.\n *\n * @param definition The definition of a child class which inherits from a parent class with its\n * own definition.\n *\n * @codeGenApi\n */\nfunction ɵɵCopyDefinitionFeature(definition) {\n let superType = getSuperType(definition.type);\n let superDef = undefined;\n if (isComponentDef(definition)) {\n // Don't use getComponentDef/getDirectiveDef. This logic relies on inheritance.\n superDef = superType.ɵcmp;\n }\n else {\n // Don't use getComponentDef/getDirectiveDef. This logic relies on inheritance.\n superDef = superType.ɵdir;\n }\n // Needed because `definition` fields are readonly.\n const defAny = definition;\n // Copy over any fields that apply to either directives or components.\n for (const field of COPY_DIRECTIVE_FIELDS) {\n defAny[field] = superDef[field];\n }\n if (isComponentDef(superDef)) {\n // Copy over any component-specific fields.\n for (const field of COPY_COMPONENT_FIELDS) {\n defAny[field] = superDef[field];\n }\n }\n}\n\n/**\n * This feature adds the host directives behavior to a directive definition by patching a\n * function onto it. The expectation is that the runtime will invoke the function during\n * directive matching.\n *\n * For example:\n * ```ts\n * class ComponentWithHostDirective {\n * static ɵcmp = defineComponent({\n * type: ComponentWithHostDirective,\n * features: [ɵɵHostDirectivesFeature([\n * SimpleHostDirective,\n * {directive: AdvancedHostDirective, inputs: ['foo: alias'], outputs: ['bar']},\n * ])]\n * });\n * }\n * ```\n *\n * @codeGenApi\n */\nfunction ɵɵHostDirectivesFeature(rawHostDirectives) {\n return (definition) => {\n definition.findHostDirectiveDefs = findHostDirectiveDefs;\n definition.hostDirectives =\n (Array.isArray(rawHostDirectives) ? rawHostDirectives : rawHostDirectives()).map(dir => {\n return typeof dir === 'function' ?\n { directive: resolveForwardRef(dir), inputs: EMPTY_OBJ, outputs: EMPTY_OBJ } :\n {\n directive: resolveForwardRef(dir.directive),\n inputs: bindingArrayToMap(dir.inputs),\n outputs: bindingArrayToMap(dir.outputs)\n };\n });\n };\n}\nfunction findHostDirectiveDefs(currentDef, matchedDefs, hostDirectiveDefs) {\n if (currentDef.hostDirectives !== null) {\n for (const hostDirectiveConfig of currentDef.hostDirectives) {\n const hostDirectiveDef = getDirectiveDef(hostDirectiveConfig.directive);\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n validateHostDirective(hostDirectiveConfig, hostDirectiveDef, matchedDefs);\n }\n // We need to patch the `declaredInputs` so that\n // `ngOnChanges` can map the properties correctly.\n patchDeclaredInputs(hostDirectiveDef.declaredInputs, hostDirectiveConfig.inputs);\n // Host directives execute before the host so that its host bindings can be overwritten.\n findHostDirectiveDefs(hostDirectiveDef, matchedDefs, hostDirectiveDefs);\n hostDirectiveDefs.set(hostDirectiveDef, hostDirectiveConfig);\n matchedDefs.push(hostDirectiveDef);\n }\n }\n}\n/**\n * Converts an array in the form of `['publicName', 'alias', 'otherPublicName', 'otherAlias']` into\n * a map in the form of `{publicName: 'alias', otherPublicName: 'otherAlias'}`.\n */\nfunction bindingArrayToMap(bindings) {\n if (bindings === undefined || bindings.length === 0) {\n return EMPTY_OBJ;\n }\n const result = {};\n for (let i = 0; i < bindings.length; i += 2) {\n result[bindings[i]] = bindings[i + 1];\n }\n return result;\n}\n/**\n * `ngOnChanges` has some leftover legacy ViewEngine behavior where the keys inside the\n * `SimpleChanges` event refer to the *declared* name of the input, not its public name or its\n * minified name. E.g. in `@Input('alias') foo: string`, the name in the `SimpleChanges` object\n * will always be `foo`, and not `alias` or the minified name of `foo` in apps using property\n * minification.\n *\n * This is achieved through the `DirectiveDef.declaredInputs` map that is constructed when the\n * definition is declared. When a property is written to the directive instance, the\n * `NgOnChangesFeature` will try to remap the property name being written to using the\n * `declaredInputs`.\n *\n * Since the host directive input remapping happens during directive matching, `declaredInputs`\n * won't contain the new alias that the input is available under. This function addresses the\n * issue by patching the host directive aliases to the `declaredInputs`. There is *not* a risk of\n * this patching accidentally introducing new inputs to the host directive, because `declaredInputs`\n * is used *only* by the `NgOnChangesFeature` when determining what name is used in the\n * `SimpleChanges` object which won't be reached if an input doesn't exist.\n */\nfunction patchDeclaredInputs(declaredInputs, exposedInputs) {\n for (const publicName in exposedInputs) {\n if (exposedInputs.hasOwnProperty(publicName)) {\n const remappedPublicName = exposedInputs[publicName];\n const privateName = declaredInputs[publicName];\n // We *technically* shouldn't be able to hit this case because we can't have multiple\n // inputs on the same property and we have validations against conflicting aliases in\n // `validateMappings`. If we somehow did, it would lead to `ngOnChanges` being invoked\n // with the wrong name so we have a non-user-friendly assertion here just in case.\n if ((typeof ngDevMode === 'undefined' || ngDevMode) &&\n declaredInputs.hasOwnProperty(remappedPublicName)) {\n assertEqual(declaredInputs[remappedPublicName], declaredInputs[publicName], `Conflicting host directive input alias ${publicName}.`);\n }\n declaredInputs[remappedPublicName] = privateName;\n }\n }\n}\n/**\n * Verifies that the host directive has been configured correctly.\n * @param hostDirectiveConfig Host directive configuration object.\n * @param directiveDef Directive definition of the host directive.\n * @param matchedDefs Directives that have been matched so far.\n */\nfunction validateHostDirective(hostDirectiveConfig, directiveDef, matchedDefs) {\n const type = hostDirectiveConfig.directive;\n if (directiveDef === null) {\n if (getComponentDef(type) !== null) {\n throw new RuntimeError(310 /* RuntimeErrorCode.HOST_DIRECTIVE_COMPONENT */, `Host directive ${type.name} cannot be a component.`);\n }\n throw new RuntimeError(307 /* RuntimeErrorCode.HOST_DIRECTIVE_UNRESOLVABLE */, `Could not resolve metadata for host directive ${type.name}. ` +\n `Make sure that the ${type.name} class is annotated with an @Directive decorator.`);\n }\n if (!directiveDef.standalone) {\n throw new RuntimeError(308 /* RuntimeErrorCode.HOST_DIRECTIVE_NOT_STANDALONE */, `Host directive ${directiveDef.type.name} must be standalone.`);\n }\n if (matchedDefs.indexOf(directiveDef) > -1) {\n throw new RuntimeError(309 /* RuntimeErrorCode.DUPLICATE_DIRECTITVE */, `Directive ${directiveDef.type.name} matches multiple times on the same element. ` +\n `Directives can only match an element once.`);\n }\n validateMappings('input', directiveDef, hostDirectiveConfig.inputs);\n validateMappings('output', directiveDef, hostDirectiveConfig.outputs);\n}\n/**\n * Checks that the host directive inputs/outputs configuration is valid.\n * @param bindingType Kind of binding that is being validated. Used in the error message.\n * @param def Definition of the host directive that is being validated against.\n * @param hostDirectiveBindings Host directive mapping object that shold be validated.\n */\nfunction validateMappings(bindingType, def, hostDirectiveBindings) {\n const className = def.type.name;\n const bindings = bindingType === 'input' ? def.inputs : def.outputs;\n for (const publicName in hostDirectiveBindings) {\n if (hostDirectiveBindings.hasOwnProperty(publicName)) {\n if (!bindings.hasOwnProperty(publicName)) {\n throw new RuntimeError(311 /* RuntimeErrorCode.HOST_DIRECTIVE_UNDEFINED_BINDING */, `Directive ${className} does not have an ${bindingType} with a public name of ${publicName}.`);\n }\n const remappedPublicName = hostDirectiveBindings[publicName];\n if (bindings.hasOwnProperty(remappedPublicName) && remappedPublicName !== publicName &&\n bindings[remappedPublicName] !== publicName) {\n throw new RuntimeError(312 /* RuntimeErrorCode.HOST_DIRECTIVE_CONFLICTING_ALIAS */, `Cannot alias ${bindingType} ${publicName} of host directive ${className} to ${remappedPublicName}, because it already has a different ${bindingType} with the same public name.`);\n }\n }\n }\n}\n\nfunction isIterable(obj) {\n return obj !== null && typeof obj === 'object' && obj[Symbol.iterator] !== undefined;\n}\nfunction isListLikeIterable(obj) {\n if (!isJsObject(obj))\n return false;\n return Array.isArray(obj) ||\n (!(obj instanceof Map) && // JS Map are iterables but return entries as [k, v]\n Symbol.iterator in obj); // JS Iterable have a Symbol.iterator prop\n}\nfunction areIterablesEqual(a, b, comparator) {\n const iterator1 = a[Symbol.iterator]();\n const iterator2 = b[Symbol.iterator]();\n while (true) {\n const item1 = iterator1.next();\n const item2 = iterator2.next();\n if (item1.done && item2.done)\n return true;\n if (item1.done || item2.done)\n return false;\n if (!comparator(item1.value, item2.value))\n return false;\n }\n}\nfunction iterateListLike(obj, fn) {\n if (Array.isArray(obj)) {\n for (let i = 0; i < obj.length; i++) {\n fn(obj[i]);\n }\n }\n else {\n const iterator = obj[Symbol.iterator]();\n let item;\n while (!((item = iterator.next()).done)) {\n fn(item.value);\n }\n }\n}\nfunction isJsObject(o) {\n return o !== null && (typeof o === 'function' || typeof o === 'object');\n}\n\nfunction devModeEqual(a, b) {\n const isListLikeIterableA = isListLikeIterable(a);\n const isListLikeIterableB = isListLikeIterable(b);\n if (isListLikeIterableA && isListLikeIterableB) {\n return areIterablesEqual(a, b, devModeEqual);\n }\n else {\n const isAObject = a && (typeof a === 'object' || typeof a === 'function');\n const isBObject = b && (typeof b === 'object' || typeof b === 'function');\n if (!isListLikeIterableA && isAObject && !isListLikeIterableB && isBObject) {\n return true;\n }\n else {\n return Object.is(a, b);\n }\n }\n}\n\n// TODO(misko): consider inlining\n/** Updates binding and returns the value. */\nfunction updateBinding(lView, bindingIndex, value) {\n return lView[bindingIndex] = value;\n}\n/** Gets the current binding value. */\nfunction getBinding(lView, bindingIndex) {\n ngDevMode && assertIndexInRange(lView, bindingIndex);\n ngDevMode &&\n assertNotSame(lView[bindingIndex], NO_CHANGE, 'Stored value should never be NO_CHANGE.');\n return lView[bindingIndex];\n}\n/**\n * Updates binding if changed, then returns whether it was updated.\n *\n * This function also checks the `CheckNoChangesMode` and throws if changes are made.\n * Some changes (Objects/iterables) during `CheckNoChangesMode` are exempt to comply with VE\n * behavior.\n *\n * @param lView current `LView`\n * @param bindingIndex The binding in the `LView` to check\n * @param value New value to check against `lView[bindingIndex]`\n * @returns `true` if the bindings has changed. (Throws if binding has changed during\n * `CheckNoChangesMode`)\n */\nfunction bindingUpdated(lView, bindingIndex, value) {\n ngDevMode && assertNotSame(value, NO_CHANGE, 'Incoming value should never be NO_CHANGE.');\n ngDevMode &&\n assertLessThan(bindingIndex, lView.length, `Slot should have been initialized to NO_CHANGE`);\n const oldValue = lView[bindingIndex];\n if (Object.is(oldValue, value)) {\n return false;\n }\n else {\n if (ngDevMode && isInCheckNoChangesMode()) {\n // View engine didn't report undefined values as changed on the first checkNoChanges pass\n // (before the change detection was run).\n const oldValueToCompare = oldValue !== NO_CHANGE ? oldValue : undefined;\n if (!devModeEqual(oldValueToCompare, value)) {\n const details = getExpressionChangedErrorDetails(lView, bindingIndex, oldValueToCompare, value);\n throwErrorIfNoChangesMode(oldValue === NO_CHANGE, details.oldValue, details.newValue, details.propName, lView);\n }\n // There was a change, but the `devModeEqual` decided that the change is exempt from an error.\n // For this reason we exit as if no change. The early exit is needed to prevent the changed\n // value to be written into `LView` (If we would write the new value that we would not see it\n // as change on next CD.)\n return false;\n }\n lView[bindingIndex] = value;\n return true;\n }\n}\n/** Updates 2 bindings if changed, then returns whether either was updated. */\nfunction bindingUpdated2(lView, bindingIndex, exp1, exp2) {\n const different = bindingUpdated(lView, bindingIndex, exp1);\n return bindingUpdated(lView, bindingIndex + 1, exp2) || different;\n}\n/** Updates 3 bindings if changed, then returns whether any was updated. */\nfunction bindingUpdated3(lView, bindingIndex, exp1, exp2, exp3) {\n const different = bindingUpdated2(lView, bindingIndex, exp1, exp2);\n return bindingUpdated(lView, bindingIndex + 2, exp3) || different;\n}\n/** Updates 4 bindings if changed, then returns whether any was updated. */\nfunction bindingUpdated4(lView, bindingIndex, exp1, exp2, exp3, exp4) {\n const different = bindingUpdated2(lView, bindingIndex, exp1, exp2);\n return bindingUpdated2(lView, bindingIndex + 2, exp3, exp4) || different;\n}\n\n/**\n * Updates the value of or removes a bound attribute on an Element.\n *\n * Used in the case of `[attr.title]=\"value\"`\n *\n * @param name name The name of the attribute.\n * @param value value The attribute is removed when value is `null` or `undefined`.\n * Otherwise the attribute value is set to the stringified value.\n * @param sanitizer An optional function used to sanitize the value.\n * @param namespace Optional namespace to use when setting the attribute.\n *\n * @codeGenApi\n */\nfunction ɵɵattribute(name, value, sanitizer, namespace) {\n const lView = getLView();\n const bindingIndex = nextBindingIndex();\n if (bindingUpdated(lView, bindingIndex, value)) {\n const tView = getTView();\n const tNode = getSelectedTNode();\n elementAttributeInternal(tNode, lView, name, value, sanitizer, namespace);\n ngDevMode && storePropertyBindingMetadata(tView.data, tNode, 'attr.' + name, bindingIndex);\n }\n return ɵɵattribute;\n}\n\n/**\n * Create interpolation bindings with a variable number of expressions.\n *\n * If there are 1 to 8 expressions `interpolation1()` to `interpolation8()` should be used instead.\n * Those are faster because there is no need to create an array of expressions and iterate over it.\n *\n * `values`:\n * - has static text at even indexes,\n * - has evaluated expressions at odd indexes.\n *\n * Returns the concatenated string when any of the arguments changes, `NO_CHANGE` otherwise.\n */\nfunction interpolationV(lView, values) {\n ngDevMode && assertLessThan(2, values.length, 'should have at least 3 values');\n ngDevMode && assertEqual(values.length % 2, 1, 'should have an odd number of values');\n let isBindingUpdated = false;\n let bindingIndex = getBindingIndex();\n for (let i = 1; i < values.length; i += 2) {\n // Check if bindings (odd indexes) have changed\n isBindingUpdated = bindingUpdated(lView, bindingIndex++, values[i]) || isBindingUpdated;\n }\n setBindingIndex(bindingIndex);\n if (!isBindingUpdated) {\n return NO_CHANGE;\n }\n // Build the updated content\n let content = values[0];\n for (let i = 1; i < values.length; i += 2) {\n content += renderStringify(values[i]) + values[i + 1];\n }\n return content;\n}\n/**\n * Creates an interpolation binding with 1 expression.\n *\n * @param prefix static value used for concatenation only.\n * @param v0 value checked for change.\n * @param suffix static value used for concatenation only.\n */\nfunction interpolation1(lView, prefix, v0, suffix) {\n const different = bindingUpdated(lView, nextBindingIndex(), v0);\n return different ? prefix + renderStringify(v0) + suffix : NO_CHANGE;\n}\n/**\n * Creates an interpolation binding with 2 expressions.\n */\nfunction interpolation2(lView, prefix, v0, i0, v1, suffix) {\n const bindingIndex = getBindingIndex();\n const different = bindingUpdated2(lView, bindingIndex, v0, v1);\n incrementBindingIndex(2);\n return different ? prefix + renderStringify(v0) + i0 + renderStringify(v1) + suffix : NO_CHANGE;\n}\n/**\n * Creates an interpolation binding with 3 expressions.\n */\nfunction interpolation3(lView, prefix, v0, i0, v1, i1, v2, suffix) {\n const bindingIndex = getBindingIndex();\n const different = bindingUpdated3(lView, bindingIndex, v0, v1, v2);\n incrementBindingIndex(3);\n return different ?\n prefix + renderStringify(v0) + i0 + renderStringify(v1) + i1 + renderStringify(v2) + suffix :\n NO_CHANGE;\n}\n/**\n * Create an interpolation binding with 4 expressions.\n */\nfunction interpolation4(lView, prefix, v0, i0, v1, i1, v2, i2, v3, suffix) {\n const bindingIndex = getBindingIndex();\n const different = bindingUpdated4(lView, bindingIndex, v0, v1, v2, v3);\n incrementBindingIndex(4);\n return different ? prefix + renderStringify(v0) + i0 + renderStringify(v1) + i1 +\n renderStringify(v2) + i2 + renderStringify(v3) + suffix :\n NO_CHANGE;\n}\n/**\n * Creates an interpolation binding with 5 expressions.\n */\nfunction interpolation5(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix) {\n const bindingIndex = getBindingIndex();\n let different = bindingUpdated4(lView, bindingIndex, v0, v1, v2, v3);\n different = bindingUpdated(lView, bindingIndex + 4, v4) || different;\n incrementBindingIndex(5);\n return different ? prefix + renderStringify(v0) + i0 + renderStringify(v1) + i1 +\n renderStringify(v2) + i2 + renderStringify(v3) + i3 + renderStringify(v4) + suffix :\n NO_CHANGE;\n}\n/**\n * Creates an interpolation binding with 6 expressions.\n */\nfunction interpolation6(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix) {\n const bindingIndex = getBindingIndex();\n let different = bindingUpdated4(lView, bindingIndex, v0, v1, v2, v3);\n different = bindingUpdated2(lView, bindingIndex + 4, v4, v5) || different;\n incrementBindingIndex(6);\n return different ?\n prefix + renderStringify(v0) + i0 + renderStringify(v1) + i1 + renderStringify(v2) + i2 +\n renderStringify(v3) + i3 + renderStringify(v4) + i4 + renderStringify(v5) + suffix :\n NO_CHANGE;\n}\n/**\n * Creates an interpolation binding with 7 expressions.\n */\nfunction interpolation7(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix) {\n const bindingIndex = getBindingIndex();\n let different = bindingUpdated4(lView, bindingIndex, v0, v1, v2, v3);\n different = bindingUpdated3(lView, bindingIndex + 4, v4, v5, v6) || different;\n incrementBindingIndex(7);\n return different ? prefix + renderStringify(v0) + i0 + renderStringify(v1) + i1 +\n renderStringify(v2) + i2 + renderStringify(v3) + i3 + renderStringify(v4) + i4 +\n renderStringify(v5) + i5 + renderStringify(v6) + suffix :\n NO_CHANGE;\n}\n/**\n * Creates an interpolation binding with 8 expressions.\n */\nfunction interpolation8(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix) {\n const bindingIndex = getBindingIndex();\n let different = bindingUpdated4(lView, bindingIndex, v0, v1, v2, v3);\n different = bindingUpdated4(lView, bindingIndex + 4, v4, v5, v6, v7) || different;\n incrementBindingIndex(8);\n return different ? prefix + renderStringify(v0) + i0 + renderStringify(v1) + i1 +\n renderStringify(v2) + i2 + renderStringify(v3) + i3 + renderStringify(v4) + i4 +\n renderStringify(v5) + i5 + renderStringify(v6) + i6 + renderStringify(v7) + suffix :\n NO_CHANGE;\n}\n\n/**\n *\n * Update an interpolated attribute on an element with single bound value surrounded by text.\n *\n * Used when the value passed to a property has 1 interpolated value in it:\n *\n * ```html\n * <div attr.title=\"prefix{{v0}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵattributeInterpolate1('title', 'prefix', v0, 'suffix');\n * ```\n *\n * @param attrName The name of the attribute to update\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param sanitizer An optional sanitizer function\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵattributeInterpolate1(attrName, prefix, v0, suffix, sanitizer, namespace) {\n const lView = getLView();\n const interpolatedValue = interpolation1(lView, prefix, v0, suffix);\n if (interpolatedValue !== NO_CHANGE) {\n const tNode = getSelectedTNode();\n elementAttributeInternal(tNode, lView, attrName, interpolatedValue, sanitizer, namespace);\n ngDevMode &&\n storePropertyBindingMetadata(getTView().data, tNode, 'attr.' + attrName, getBindingIndex() - 1, prefix, suffix);\n }\n return ɵɵattributeInterpolate1;\n}\n/**\n *\n * Update an interpolated attribute on an element with 2 bound values surrounded by text.\n *\n * Used when the value passed to a property has 2 interpolated values in it:\n *\n * ```html\n * <div attr.title=\"prefix{{v0}}-{{v1}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵattributeInterpolate2('title', 'prefix', v0, '-', v1, 'suffix');\n * ```\n *\n * @param attrName The name of the attribute to update\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param sanitizer An optional sanitizer function\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵattributeInterpolate2(attrName, prefix, v0, i0, v1, suffix, sanitizer, namespace) {\n const lView = getLView();\n const interpolatedValue = interpolation2(lView, prefix, v0, i0, v1, suffix);\n if (interpolatedValue !== NO_CHANGE) {\n const tNode = getSelectedTNode();\n elementAttributeInternal(tNode, lView, attrName, interpolatedValue, sanitizer, namespace);\n ngDevMode &&\n storePropertyBindingMetadata(getTView().data, tNode, 'attr.' + attrName, getBindingIndex() - 2, prefix, i0, suffix);\n }\n return ɵɵattributeInterpolate2;\n}\n/**\n *\n * Update an interpolated attribute on an element with 3 bound values surrounded by text.\n *\n * Used when the value passed to a property has 3 interpolated values in it:\n *\n * ```html\n * <div attr.title=\"prefix{{v0}}-{{v1}}-{{v2}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵattributeInterpolate3(\n * 'title', 'prefix', v0, '-', v1, '-', v2, 'suffix');\n * ```\n *\n * @param attrName The name of the attribute to update\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param sanitizer An optional sanitizer function\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵattributeInterpolate3(attrName, prefix, v0, i0, v1, i1, v2, suffix, sanitizer, namespace) {\n const lView = getLView();\n const interpolatedValue = interpolation3(lView, prefix, v0, i0, v1, i1, v2, suffix);\n if (interpolatedValue !== NO_CHANGE) {\n const tNode = getSelectedTNode();\n elementAttributeInternal(tNode, lView, attrName, interpolatedValue, sanitizer, namespace);\n ngDevMode &&\n storePropertyBindingMetadata(getTView().data, tNode, 'attr.' + attrName, getBindingIndex() - 3, prefix, i0, i1, suffix);\n }\n return ɵɵattributeInterpolate3;\n}\n/**\n *\n * Update an interpolated attribute on an element with 4 bound values surrounded by text.\n *\n * Used when the value passed to a property has 4 interpolated values in it:\n *\n * ```html\n * <div attr.title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵattributeInterpolate4(\n * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, 'suffix');\n * ```\n *\n * @param attrName The name of the attribute to update\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param sanitizer An optional sanitizer function\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵattributeInterpolate4(attrName, prefix, v0, i0, v1, i1, v2, i2, v3, suffix, sanitizer, namespace) {\n const lView = getLView();\n const interpolatedValue = interpolation4(lView, prefix, v0, i0, v1, i1, v2, i2, v3, suffix);\n if (interpolatedValue !== NO_CHANGE) {\n const tNode = getSelectedTNode();\n elementAttributeInternal(tNode, lView, attrName, interpolatedValue, sanitizer, namespace);\n ngDevMode &&\n storePropertyBindingMetadata(getTView().data, tNode, 'attr.' + attrName, getBindingIndex() - 4, prefix, i0, i1, i2, suffix);\n }\n return ɵɵattributeInterpolate4;\n}\n/**\n *\n * Update an interpolated attribute on an element with 5 bound values surrounded by text.\n *\n * Used when the value passed to a property has 5 interpolated values in it:\n *\n * ```html\n * <div attr.title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵattributeInterpolate5(\n * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, 'suffix');\n * ```\n *\n * @param attrName The name of the attribute to update\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param i3 Static value used for concatenation only.\n * @param v4 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param sanitizer An optional sanitizer function\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵattributeInterpolate5(attrName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix, sanitizer, namespace) {\n const lView = getLView();\n const interpolatedValue = interpolation5(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix);\n if (interpolatedValue !== NO_CHANGE) {\n const tNode = getSelectedTNode();\n elementAttributeInternal(tNode, lView, attrName, interpolatedValue, sanitizer, namespace);\n ngDevMode &&\n storePropertyBindingMetadata(getTView().data, tNode, 'attr.' + attrName, getBindingIndex() - 5, prefix, i0, i1, i2, i3, suffix);\n }\n return ɵɵattributeInterpolate5;\n}\n/**\n *\n * Update an interpolated attribute on an element with 6 bound values surrounded by text.\n *\n * Used when the value passed to a property has 6 interpolated values in it:\n *\n * ```html\n * <div attr.title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵattributeInterpolate6(\n * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, 'suffix');\n * ```\n *\n * @param attrName The name of the attribute to update\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param i3 Static value used for concatenation only.\n * @param v4 Value checked for change.\n * @param i4 Static value used for concatenation only.\n * @param v5 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param sanitizer An optional sanitizer function\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵattributeInterpolate6(attrName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix, sanitizer, namespace) {\n const lView = getLView();\n const interpolatedValue = interpolation6(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix);\n if (interpolatedValue !== NO_CHANGE) {\n const tNode = getSelectedTNode();\n elementAttributeInternal(tNode, lView, attrName, interpolatedValue, sanitizer, namespace);\n ngDevMode &&\n storePropertyBindingMetadata(getTView().data, tNode, 'attr.' + attrName, getBindingIndex() - 6, prefix, i0, i1, i2, i3, i4, suffix);\n }\n return ɵɵattributeInterpolate6;\n}\n/**\n *\n * Update an interpolated attribute on an element with 7 bound values surrounded by text.\n *\n * Used when the value passed to a property has 7 interpolated values in it:\n *\n * ```html\n * <div attr.title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵattributeInterpolate7(\n * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, 'suffix');\n * ```\n *\n * @param attrName The name of the attribute to update\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param i3 Static value used for concatenation only.\n * @param v4 Value checked for change.\n * @param i4 Static value used for concatenation only.\n * @param v5 Value checked for change.\n * @param i5 Static value used for concatenation only.\n * @param v6 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param sanitizer An optional sanitizer function\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵattributeInterpolate7(attrName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix, sanitizer, namespace) {\n const lView = getLView();\n const interpolatedValue = interpolation7(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix);\n if (interpolatedValue !== NO_CHANGE) {\n const tNode = getSelectedTNode();\n elementAttributeInternal(tNode, lView, attrName, interpolatedValue, sanitizer, namespace);\n ngDevMode &&\n storePropertyBindingMetadata(getTView().data, tNode, 'attr.' + attrName, getBindingIndex() - 7, prefix, i0, i1, i2, i3, i4, i5, suffix);\n }\n return ɵɵattributeInterpolate7;\n}\n/**\n *\n * Update an interpolated attribute on an element with 8 bound values surrounded by text.\n *\n * Used when the value passed to a property has 8 interpolated values in it:\n *\n * ```html\n * <div attr.title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵattributeInterpolate8(\n * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, 'suffix');\n * ```\n *\n * @param attrName The name of the attribute to update\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param i3 Static value used for concatenation only.\n * @param v4 Value checked for change.\n * @param i4 Static value used for concatenation only.\n * @param v5 Value checked for change.\n * @param i5 Static value used for concatenation only.\n * @param v6 Value checked for change.\n * @param i6 Static value used for concatenation only.\n * @param v7 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param sanitizer An optional sanitizer function\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵattributeInterpolate8(attrName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix, sanitizer, namespace) {\n const lView = getLView();\n const interpolatedValue = interpolation8(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix);\n if (interpolatedValue !== NO_CHANGE) {\n const tNode = getSelectedTNode();\n elementAttributeInternal(tNode, lView, attrName, interpolatedValue, sanitizer, namespace);\n ngDevMode &&\n storePropertyBindingMetadata(getTView().data, tNode, 'attr.' + attrName, getBindingIndex() - 8, prefix, i0, i1, i2, i3, i4, i5, i6, suffix);\n }\n return ɵɵattributeInterpolate8;\n}\n/**\n * Update an interpolated attribute on an element with 9 or more bound values surrounded by text.\n *\n * Used when the number of interpolated values exceeds 8.\n *\n * ```html\n * <div\n * title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}-{{v8}}-{{v9}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵattributeInterpolateV(\n * 'title', ['prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, '-', v9,\n * 'suffix']);\n * ```\n *\n * @param attrName The name of the attribute to update.\n * @param values The collection of values and the strings in-between those values, beginning with\n * a string prefix and ending with a string suffix.\n * (e.g. `['prefix', value0, '-', value1, '-', value2, ..., value99, 'suffix']`)\n * @param sanitizer An optional sanitizer function\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵattributeInterpolateV(attrName, values, sanitizer, namespace) {\n const lView = getLView();\n const interpolated = interpolationV(lView, values);\n if (interpolated !== NO_CHANGE) {\n const tNode = getSelectedTNode();\n elementAttributeInternal(tNode, lView, attrName, interpolated, sanitizer, namespace);\n if (ngDevMode) {\n const interpolationInBetween = [values[0]]; // prefix\n for (let i = 2; i < values.length; i += 2) {\n interpolationInBetween.push(values[i]);\n }\n storePropertyBindingMetadata(getTView().data, tNode, 'attr.' + attrName, getBindingIndex() - interpolationInBetween.length + 1, ...interpolationInBetween);\n }\n }\n return ɵɵattributeInterpolateV;\n}\n\nconst AT_THIS_LOCATION = '<-- AT THIS LOCATION';\n/**\n * Retrieves a user friendly string for a given TNodeType for use in\n * friendly error messages\n *\n * @param tNodeType\n * @returns\n */\nfunction getFriendlyStringFromTNodeType(tNodeType) {\n switch (tNodeType) {\n case 4 /* TNodeType.Container */:\n return 'view container';\n case 2 /* TNodeType.Element */:\n return 'element';\n case 8 /* TNodeType.ElementContainer */:\n return 'ng-container';\n case 32 /* TNodeType.Icu */:\n return 'icu';\n case 64 /* TNodeType.Placeholder */:\n return 'i18n';\n case 16 /* TNodeType.Projection */:\n return 'projection';\n case 1 /* TNodeType.Text */:\n return 'text';\n default:\n // This should not happen as we cover all possible TNode types above.\n return '<unknown>';\n }\n}\n/**\n * Validates that provided nodes match during the hydration process.\n */\nfunction validateMatchingNode(node, nodeType, tagName, lView, tNode, isViewContainerAnchor = false) {\n if (!node ||\n (node.nodeType !== nodeType ||\n (node.nodeType === Node.ELEMENT_NODE &&\n node.tagName.toLowerCase() !== tagName?.toLowerCase()))) {\n const expectedNode = shortRNodeDescription(nodeType, tagName, null);\n let header = `During hydration Angular expected ${expectedNode} but `;\n const hostComponentDef = getDeclarationComponentDef(lView);\n const componentClassName = hostComponentDef?.type?.name;\n const expected = `Angular expected this DOM:\\n\\n${describeExpectedDom(lView, tNode, isViewContainerAnchor)}\\n\\n`;\n let actual = '';\n if (!node) {\n // No node found during hydration.\n header += `the node was not found.\\n\\n`;\n }\n else {\n const actualNode = shortRNodeDescription(node.nodeType, node.tagName ?? null, node.textContent ?? null);\n header += `found ${actualNode}.\\n\\n`;\n actual = `Actual DOM is:\\n\\n${describeDomFromNode(node)}\\n\\n`;\n }\n const footer = getHydrationErrorFooter(componentClassName);\n const message = header + expected + actual + getHydrationAttributeNote() + footer;\n throw new RuntimeError(-500 /* RuntimeErrorCode.HYDRATION_NODE_MISMATCH */, message);\n }\n}\n/**\n * Validates that a given node has sibling nodes\n */\nfunction validateSiblingNodeExists(node) {\n validateNodeExists(node);\n if (!node.nextSibling) {\n const header = 'During hydration Angular expected more sibling nodes to be present.\\n\\n';\n const actual = `Actual DOM is:\\n\\n${describeDomFromNode(node)}\\n\\n`;\n const footer = getHydrationErrorFooter();\n const message = header + actual + footer;\n throw new RuntimeError(-501 /* RuntimeErrorCode.HYDRATION_MISSING_SIBLINGS */, message);\n }\n}\n/**\n * Validates that a node exists or throws\n */\nfunction validateNodeExists(node, lView = null, tNode = null) {\n if (!node) {\n const header = 'During hydration, Angular expected an element to be present at this location.\\n\\n';\n let expected = '';\n let footer = '';\n if (lView !== null && tNode !== null) {\n expected = `${describeExpectedDom(lView, tNode, false)}\\n\\n`;\n footer = getHydrationErrorFooter();\n }\n throw new RuntimeError(-502 /* RuntimeErrorCode.HYDRATION_MISSING_NODE */, header + expected + footer);\n }\n}\n/**\n * Builds the hydration error message when a node is not found\n *\n * @param lView the LView where the node exists\n * @param tNode the TNode\n */\nfunction nodeNotFoundError(lView, tNode) {\n const header = 'During serialization, Angular was unable to find an element in the DOM:\\n\\n';\n const expected = `${describeExpectedDom(lView, tNode, false)}\\n\\n`;\n const footer = getHydrationErrorFooter();\n throw new RuntimeError(-502 /* RuntimeErrorCode.HYDRATION_MISSING_NODE */, header + expected + footer);\n}\n/**\n * Builds a hydration error message when a node is not found at a path location\n *\n * @param host the Host Node\n * @param path the path to the node\n */\nfunction nodeNotFoundAtPathError(host, path) {\n const header = `During hydration Angular was unable to locate a node ` +\n `using the \"${path}\" path, starting from the ${describeRNode(host)} node.\\n\\n`;\n const footer = getHydrationErrorFooter();\n throw new RuntimeError(-502 /* RuntimeErrorCode.HYDRATION_MISSING_NODE */, header + footer);\n}\n/**\n * Builds the hydration error message in the case that dom nodes are created outside of\n * the Angular context and are being used as projected nodes\n *\n * @param lView the LView\n * @param tNode the TNode\n * @returns an error\n */\nfunction unsupportedProjectionOfDomNodes(rNode) {\n const header = 'During serialization, Angular detected DOM nodes ' +\n 'that were created outside of Angular context and provided as projectable nodes ' +\n '(likely via `ViewContainerRef.createComponent` or `createComponent` APIs). ' +\n 'Hydration is not supported for such cases, consider refactoring the code to avoid ' +\n 'this pattern or using `ngSkipHydration` on the host element of the component.\\n\\n';\n const actual = `${describeDomFromNode(rNode)}\\n\\n`;\n const message = header + actual + getHydrationAttributeNote();\n return new RuntimeError(-503 /* RuntimeErrorCode.UNSUPPORTED_PROJECTION_DOM_NODES */, message);\n}\n/**\n * Builds the hydration error message in the case that ngSkipHydration was used on a\n * node that is not a component host element or host binding\n *\n * @param rNode the HTML Element\n * @returns an error\n */\nfunction invalidSkipHydrationHost(rNode) {\n const header = 'The `ngSkipHydration` flag is applied on a node ' +\n 'that doesn\\'t act as a component host. Hydration can be ' +\n 'skipped only on per-component basis.\\n\\n';\n const actual = `${describeDomFromNode(rNode)}\\n\\n`;\n const footer = 'Please move the `ngSkipHydration` attribute to the component host element.\\n\\n';\n const message = header + actual + footer;\n return new RuntimeError(-504 /* RuntimeErrorCode.INVALID_SKIP_HYDRATION_HOST */, message);\n}\n// Stringification methods\n/**\n * Stringifies a given TNode's attributes\n *\n * @param tNode a provided TNode\n * @returns string\n */\nfunction stringifyTNodeAttrs(tNode) {\n const results = [];\n if (tNode.attrs) {\n for (let i = 0; i < tNode.attrs.length;) {\n const attrName = tNode.attrs[i++];\n // Once we reach the first flag, we know that the list of\n // attributes is over.\n if (typeof attrName == 'number') {\n break;\n }\n const attrValue = tNode.attrs[i++];\n results.push(`${attrName}=\"${shorten(attrValue)}\"`);\n }\n }\n return results.join(' ');\n}\n/**\n * The list of internal attributes that should be filtered out while\n * producing an error message.\n */\nconst internalAttrs = new Set(['ngh', 'ng-version', 'ng-server-context']);\n/**\n * Stringifies an HTML Element's attributes\n *\n * @param rNode an HTML Element\n * @returns string\n */\nfunction stringifyRNodeAttrs(rNode) {\n const results = [];\n for (let i = 0; i < rNode.attributes.length; i++) {\n const attr = rNode.attributes[i];\n if (internalAttrs.has(attr.name))\n continue;\n results.push(`${attr.name}=\"${shorten(attr.value)}\"`);\n }\n return results.join(' ');\n}\n// Methods for Describing the DOM\n/**\n * Converts a tNode to a helpful readable string value for use in error messages\n *\n * @param tNode a given TNode\n * @param innerContent the content of the node\n * @returns string\n */\nfunction describeTNode(tNode, innerContent = '…') {\n switch (tNode.type) {\n case 1 /* TNodeType.Text */:\n const content = tNode.value ? `(${tNode.value})` : '';\n return `#text${content}`;\n case 2 /* TNodeType.Element */:\n const attrs = stringifyTNodeAttrs(tNode);\n const tag = tNode.value.toLowerCase();\n return `<${tag}${attrs ? ' ' + attrs : ''}>${innerContent}</${tag}>`;\n case 8 /* TNodeType.ElementContainer */:\n return '<!-- ng-container -->';\n case 4 /* TNodeType.Container */:\n return '<!-- container -->';\n default:\n const typeAsString = getFriendlyStringFromTNodeType(tNode.type);\n return `#node(${typeAsString})`;\n }\n}\n/**\n * Converts an RNode to a helpful readable string value for use in error messages\n *\n * @param rNode a given RNode\n * @param innerContent the content of the node\n * @returns string\n */\nfunction describeRNode(rNode, innerContent = '…') {\n const node = rNode;\n switch (node.nodeType) {\n case Node.ELEMENT_NODE:\n const tag = node.tagName.toLowerCase();\n const attrs = stringifyRNodeAttrs(node);\n return `<${tag}${attrs ? ' ' + attrs : ''}>${innerContent}</${tag}>`;\n case Node.TEXT_NODE:\n const content = node.textContent ? shorten(node.textContent) : '';\n return `#text${content ? `(${content})` : ''}`;\n case Node.COMMENT_NODE:\n return `<!-- ${shorten(node.textContent ?? '')} -->`;\n default:\n return `#node(${node.nodeType})`;\n }\n}\n/**\n * Builds the string containing the expected DOM present given the LView and TNode\n * values for a readable error message\n *\n * @param lView the lView containing the DOM\n * @param tNode the tNode\n * @param isViewContainerAnchor boolean\n * @returns string\n */\nfunction describeExpectedDom(lView, tNode, isViewContainerAnchor) {\n const spacer = ' ';\n let content = '';\n if (tNode.prev) {\n content += spacer + '…\\n';\n content += spacer + describeTNode(tNode.prev) + '\\n';\n }\n else if (tNode.type && tNode.type & 12 /* TNodeType.AnyContainer */) {\n content += spacer + '…\\n';\n }\n if (isViewContainerAnchor) {\n content += spacer + describeTNode(tNode) + '\\n';\n content += spacer + `<!-- container --> ${AT_THIS_LOCATION}\\n`;\n }\n else {\n content += spacer + describeTNode(tNode) + ` ${AT_THIS_LOCATION}\\n`;\n }\n content += spacer + '…\\n';\n const parentRNode = tNode.type ? getParentRElement(lView[TVIEW], tNode, lView) : null;\n if (parentRNode) {\n content = describeRNode(parentRNode, '\\n' + content);\n }\n return content;\n}\n/**\n * Builds the string containing the DOM present around a given RNode for a\n * readable error message\n *\n * @param node the RNode\n * @returns string\n */\nfunction describeDomFromNode(node) {\n const spacer = ' ';\n let content = '';\n const currentNode = node;\n if (currentNode.previousSibling) {\n content += spacer + '…\\n';\n content += spacer + describeRNode(currentNode.previousSibling) + '\\n';\n }\n content += spacer + describeRNode(currentNode) + ` ${AT_THIS_LOCATION}\\n`;\n if (node.nextSibling) {\n content += spacer + '…\\n';\n }\n if (node.parentNode) {\n content = describeRNode(currentNode.parentNode, '\\n' + content);\n }\n return content;\n}\n/**\n * Shortens the description of a given RNode by its type for readability\n *\n * @param nodeType the type of node\n * @param tagName the node tag name\n * @param textContent the text content in the node\n * @returns string\n */\nfunction shortRNodeDescription(nodeType, tagName, textContent) {\n switch (nodeType) {\n case Node.ELEMENT_NODE:\n return `<${tagName.toLowerCase()}>`;\n case Node.TEXT_NODE:\n const content = textContent ? ` (with the \"${shorten(textContent)}\" content)` : '';\n return `a text node${content}`;\n case Node.COMMENT_NODE:\n return 'a comment node';\n default:\n return `#node(nodeType=${nodeType})`;\n }\n}\n/**\n * Builds the footer hydration error message\n *\n * @param componentClassName the name of the component class\n * @returns string\n */\nfunction getHydrationErrorFooter(componentClassName) {\n const componentInfo = componentClassName ? `the \"${componentClassName}\"` : 'corresponding';\n return `To fix this problem:\\n` +\n ` * check ${componentInfo} component for hydration-related issues\\n` +\n ` * check to see if your template has valid HTML structure\\n` +\n ` * or skip hydration by adding the \\`ngSkipHydration\\` attribute ` +\n `to its host node in a template\\n\\n`;\n}\n/**\n * An attribute related note for hydration errors\n */\nfunction getHydrationAttributeNote() {\n return 'Note: attributes are only displayed to better represent the DOM' +\n ' but have no effect on hydration mismatches.\\n\\n';\n}\n// Node string utility functions\n/**\n * Strips all newlines out of a given string\n *\n * @param input a string to be cleared of new line characters\n * @returns\n */\nfunction stripNewlines(input) {\n return input.replace(/\\s+/gm, '');\n}\n/**\n * Reduces a string down to a maximum length of characters with ellipsis for readability\n *\n * @param input a string input\n * @param maxLength a maximum length in characters\n * @returns string\n */\nfunction shorten(input, maxLength = 50) {\n if (!input) {\n return '';\n }\n input = stripNewlines(input);\n return input.length > maxLength ? `${input.substring(0, maxLength - 1)}…` : input;\n}\n\n/**\n * Regexp that extracts a reference node information from the compressed node location.\n * The reference node is represented as either:\n * - a number which points to an LView slot\n * - the `b` char which indicates that the lookup should start from the `document.body`\n * - the `h` char to start lookup from the component host node (`lView[HOST]`)\n */\nconst REF_EXTRACTOR_REGEXP = new RegExp(`^(\\\\d+)*(${REFERENCE_NODE_BODY}|${REFERENCE_NODE_HOST})*(.*)`);\n/**\n * Helper function that takes a reference node location and a set of navigation steps\n * (from the reference node) to a target node and outputs a string that represents\n * a location.\n *\n * For example, given: referenceNode = 'b' (body) and path = ['firstChild', 'firstChild',\n * 'nextSibling'], the function returns: `bf2n`.\n */\nfunction compressNodeLocation(referenceNode, path) {\n const result = [referenceNode];\n for (const segment of path) {\n const lastIdx = result.length - 1;\n if (lastIdx > 0 && result[lastIdx - 1] === segment) {\n // An empty string in a count slot represents 1 occurrence of an instruction.\n const value = (result[lastIdx] || 1);\n result[lastIdx] = value + 1;\n }\n else {\n // Adding a new segment to the path.\n // Using an empty string in a counter field to avoid encoding `1`s\n // into the path, since they are implicit (e.g. `f1n1` vs `fn`), so\n // it's enough to have a single char in this case.\n result.push(segment, '');\n }\n }\n return result.join('');\n}\n/**\n * Helper function that reverts the `compressNodeLocation` and transforms a given\n * string into an array where at 0th position there is a reference node info and\n * after that it contains information (in pairs) about a navigation step and the\n * number of repetitions.\n *\n * For example, the path like 'bf2n' will be transformed to:\n * ['b', 'firstChild', 2, 'nextSibling', 1].\n *\n * This information is later consumed by the code that navigates the DOM to find\n * a given node by its location.\n */\nfunction decompressNodeLocation(path) {\n const matches = path.match(REF_EXTRACTOR_REGEXP);\n const [_, refNodeId, refNodeName, rest] = matches;\n // If a reference node is represented by an index, transform it to a number.\n const ref = refNodeId ? parseInt(refNodeId, 10) : refNodeName;\n const steps = [];\n // Match all segments in a path.\n for (const [_, step, count] of rest.matchAll(/(f|n)(\\d*)/g)) {\n const repeat = parseInt(count, 10) || 1;\n steps.push(step, repeat);\n }\n return [ref, ...steps];\n}\n\n/** Whether current TNode is a first node in an <ng-container>. */\nfunction isFirstElementInNgContainer(tNode) {\n return !tNode.prev && tNode.parent?.type === 8 /* TNodeType.ElementContainer */;\n}\n/** Returns an instruction index (subtracting HEADER_OFFSET). */\nfunction getNoOffsetIndex(tNode) {\n return tNode.index - HEADER_OFFSET;\n}\n/**\n * Locate a node in DOM tree that corresponds to a given TNode.\n *\n * @param hydrationInfo The hydration annotation data\n * @param tView the current tView\n * @param lView the current lView\n * @param tNode the current tNode\n * @returns an RNode that represents a given tNode\n */\nfunction locateNextRNode(hydrationInfo, tView, lView, tNode) {\n let native = null;\n const noOffsetIndex = getNoOffsetIndex(tNode);\n const nodes = hydrationInfo.data[NODES];\n if (nodes?.[noOffsetIndex]) {\n // We know the exact location of the node.\n native = locateRNodeByPath(nodes[noOffsetIndex], lView);\n }\n else if (tView.firstChild === tNode) {\n // We create a first node in this view, so we use a reference\n // to the first child in this DOM segment.\n native = hydrationInfo.firstChild;\n }\n else {\n // Locate a node based on a previous sibling or a parent node.\n const previousTNodeParent = tNode.prev === null;\n const previousTNode = (tNode.prev ?? tNode.parent);\n ngDevMode &&\n assertDefined(previousTNode, 'Unexpected state: current TNode does not have a connection ' +\n 'to the previous node or a parent node.');\n if (isFirstElementInNgContainer(tNode)) {\n const noOffsetParentIndex = getNoOffsetIndex(tNode.parent);\n native = getSegmentHead(hydrationInfo, noOffsetParentIndex);\n }\n else {\n let previousRElement = getNativeByTNode(previousTNode, lView);\n if (previousTNodeParent) {\n native = previousRElement.firstChild;\n }\n else {\n // If the previous node is an element, but it also has container info,\n // this means that we are processing a node like `<div #vcrTarget>`, which is\n // represented in the DOM as `<div></div>...<!--container-->`.\n // In this case, there are nodes *after* this element and we need to skip\n // all of them to reach an element that we are looking for.\n const noOffsetPrevSiblingIndex = getNoOffsetIndex(previousTNode);\n const segmentHead = getSegmentHead(hydrationInfo, noOffsetPrevSiblingIndex);\n if (previousTNode.type === 2 /* TNodeType.Element */ && segmentHead) {\n const numRootNodesToSkip = calcSerializedContainerSize(hydrationInfo, noOffsetPrevSiblingIndex);\n // `+1` stands for an anchor comment node after all the views in this container.\n const nodesToSkip = numRootNodesToSkip + 1;\n // First node after this segment.\n native = siblingAfter(nodesToSkip, segmentHead);\n }\n else {\n native = previousRElement.nextSibling;\n }\n }\n }\n }\n return native;\n}\n/**\n * Skips over a specified number of nodes and returns the next sibling node after that.\n */\nfunction siblingAfter(skip, from) {\n let currentNode = from;\n for (let i = 0; i < skip; i++) {\n ngDevMode && validateSiblingNodeExists(currentNode);\n currentNode = currentNode.nextSibling;\n }\n return currentNode;\n}\n/**\n * Helper function to produce a string representation of the navigation steps\n * (in terms of `nextSibling` and `firstChild` navigations). Used in error\n * messages in dev mode.\n */\nfunction stringifyNavigationInstructions(instructions) {\n const container = [];\n for (let i = 0; i < instructions.length; i += 2) {\n const step = instructions[i];\n const repeat = instructions[i + 1];\n for (let r = 0; r < repeat; r++) {\n container.push(step === NodeNavigationStep.FirstChild ? 'firstChild' : 'nextSibling');\n }\n }\n return container.join('.');\n}\n/**\n * Helper function that navigates from a starting point node (the `from` node)\n * using provided set of navigation instructions (within `path` argument).\n */\nfunction navigateToNode(from, instructions) {\n let node = from;\n for (let i = 0; i < instructions.length; i += 2) {\n const step = instructions[i];\n const repeat = instructions[i + 1];\n for (let r = 0; r < repeat; r++) {\n if (ngDevMode && !node) {\n throw nodeNotFoundAtPathError(from, stringifyNavigationInstructions(instructions));\n }\n switch (step) {\n case NodeNavigationStep.FirstChild:\n node = node.firstChild;\n break;\n case NodeNavigationStep.NextSibling:\n node = node.nextSibling;\n break;\n }\n }\n }\n if (ngDevMode && !node) {\n throw nodeNotFoundAtPathError(from, stringifyNavigationInstructions(instructions));\n }\n return node;\n}\n/**\n * Locates an RNode given a set of navigation instructions (which also contains\n * a starting point node info).\n */\nfunction locateRNodeByPath(path, lView) {\n const [referenceNode, ...navigationInstructions] = decompressNodeLocation(path);\n let ref;\n if (referenceNode === REFERENCE_NODE_HOST) {\n ref = lView[DECLARATION_COMPONENT_VIEW][HOST];\n }\n else if (referenceNode === REFERENCE_NODE_BODY) {\n ref = ɵɵresolveBody(lView[DECLARATION_COMPONENT_VIEW][HOST]);\n }\n else {\n const parentElementId = Number(referenceNode);\n ref = unwrapRNode(lView[parentElementId + HEADER_OFFSET]);\n }\n return navigateToNode(ref, navigationInstructions);\n}\n/**\n * Generate a list of DOM navigation operations to get from node `start` to node `finish`.\n *\n * Note: assumes that node `start` occurs before node `finish` in an in-order traversal of the DOM\n * tree. That is, we should be able to get from `start` to `finish` purely by using `.firstChild`\n * and `.nextSibling` operations.\n */\nfunction navigateBetween(start, finish) {\n if (start === finish) {\n return [];\n }\n else if (start.parentElement == null || finish.parentElement == null) {\n return null;\n }\n else if (start.parentElement === finish.parentElement) {\n return navigateBetweenSiblings(start, finish);\n }\n else {\n // `finish` is a child of its parent, so the parent will always have a child.\n const parent = finish.parentElement;\n const parentPath = navigateBetween(start, parent);\n const childPath = navigateBetween(parent.firstChild, finish);\n if (!parentPath || !childPath)\n return null;\n return [\n // First navigate to `finish`'s parent\n ...parentPath,\n // Then to its first child.\n NodeNavigationStep.FirstChild,\n // And finally from that node to `finish` (maybe a no-op if we're already there).\n ...childPath,\n ];\n }\n}\n/**\n * Calculates a path between 2 sibling nodes (generates a number of `NextSibling` navigations).\n * Returns `null` if no such path exists between the given nodes.\n */\nfunction navigateBetweenSiblings(start, finish) {\n const nav = [];\n let node = null;\n for (node = start; node != null && node !== finish; node = node.nextSibling) {\n nav.push(NodeNavigationStep.NextSibling);\n }\n // If the `node` becomes `null` or `undefined` at the end, that means that we\n // didn't find the `end` node, thus return `null` (which would trigger serialization\n // error to be produced).\n return node == null ? null : nav;\n}\n/**\n * Calculates a path between 2 nodes in terms of `nextSibling` and `firstChild`\n * navigations:\n * - the `from` node is a known node, used as an starting point for the lookup\n * (the `fromNodeName` argument is a string representation of the node).\n * - the `to` node is a node that the runtime logic would be looking up,\n * using the path generated by this function.\n */\nfunction calcPathBetween(from, to, fromNodeName) {\n const path = navigateBetween(from, to);\n return path === null ? null : compressNodeLocation(fromNodeName, path);\n}\n/**\n * Invoked at serialization time (on the server) when a set of navigation\n * instructions needs to be generated for a TNode.\n */\nfunction calcPathForNode(tNode, lView) {\n const parentTNode = tNode.parent;\n let parentIndex;\n let parentRNode;\n let referenceNodeName;\n if (parentTNode === null || !(parentTNode.type & 3 /* TNodeType.AnyRNode */)) {\n // If there is no parent TNode or a parent TNode does not represent an RNode\n // (i.e. not a DOM node), use component host element as a reference node.\n parentIndex = referenceNodeName = REFERENCE_NODE_HOST;\n parentRNode = lView[DECLARATION_COMPONENT_VIEW][HOST];\n }\n else {\n // Use parent TNode as a reference node.\n parentIndex = parentTNode.index;\n parentRNode = unwrapRNode(lView[parentIndex]);\n referenceNodeName = renderStringify(parentIndex - HEADER_OFFSET);\n }\n let rNode = unwrapRNode(lView[tNode.index]);\n if (tNode.type & 12 /* TNodeType.AnyContainer */) {\n // For <ng-container> nodes, instead of serializing a reference\n // to the anchor comment node, serialize a location of the first\n // DOM element. Paired with the container size (serialized as a part\n // of `ngh.containers`), it should give enough information for runtime\n // to hydrate nodes in this container.\n const firstRNode = getFirstNativeNode(lView, tNode);\n // If container is not empty, use a reference to the first element,\n // otherwise, rNode would point to an anchor comment node.\n if (firstRNode) {\n rNode = firstRNode;\n }\n }\n let path = calcPathBetween(parentRNode, rNode, referenceNodeName);\n if (path === null && parentRNode !== rNode) {\n // Searching for a path between elements within a host node failed.\n // Trying to find a path to an element starting from the `document.body` instead.\n //\n // Important note: this type of reference is relatively unstable, since Angular\n // may not be able to control parts of the page that the runtime logic navigates\n // through. This is mostly needed to cover \"portals\" use-case (like menus, dialog boxes,\n // etc), where nodes are content-projected (including direct DOM manipulations) outside\n // of the host node. The better solution is to provide APIs to work with \"portals\",\n // at which point this code path would not be needed.\n const body = parentRNode.ownerDocument.body;\n path = calcPathBetween(body, rNode, REFERENCE_NODE_BODY);\n if (path === null) {\n // If the path is still empty, it's likely that this node is detached and\n // won't be found during hydration.\n throw nodeNotFoundError(lView, tNode);\n }\n }\n return path;\n}\n\nfunction templateFirstCreatePass(index, tView, lView, templateFn, decls, vars, tagName, attrsIndex, localRefsIndex) {\n ngDevMode && assertFirstCreatePass(tView);\n ngDevMode && ngDevMode.firstCreatePass++;\n const tViewConsts = tView.consts;\n // TODO(pk): refactor getOrCreateTNode to have the \"create\" only version\n const tNode = getOrCreateTNode(tView, index, 4 /* TNodeType.Container */, tagName || null, getConstant(tViewConsts, attrsIndex));\n resolveDirectives(tView, lView, tNode, getConstant(tViewConsts, localRefsIndex));\n registerPostOrderHooks(tView, tNode);\n const embeddedTView = tNode.tView = createTView(2 /* TViewType.Embedded */, tNode, templateFn, decls, vars, tView.directiveRegistry, tView.pipeRegistry, null, tView.schemas, tViewConsts, null /* ssrId */);\n if (tView.queries !== null) {\n tView.queries.template(tView, tNode);\n embeddedTView.queries = tView.queries.embeddedTView(tNode);\n }\n return tNode;\n}\n/**\n * Creates an LContainer for an ng-template (dynamically-inserted view), e.g.\n *\n * <ng-template #foo>\n * <div></div>\n * </ng-template>\n *\n * @param index The index of the container in the data array\n * @param templateFn Inline template\n * @param decls The number of nodes, local refs, and pipes for this template\n * @param vars The number of bindings for this template\n * @param tagName The name of the container element, if applicable\n * @param attrsIndex Index of template attributes in the `consts` array.\n * @param localRefs Index of the local references in the `consts` array.\n * @param localRefExtractor A function which extracts local-refs values from the template.\n * Defaults to the current element associated with the local-ref.\n *\n * @codeGenApi\n */\nfunction ɵɵtemplate(index, templateFn, decls, vars, tagName, attrsIndex, localRefsIndex, localRefExtractor) {\n const lView = getLView();\n const tView = getTView();\n const adjustedIndex = index + HEADER_OFFSET;\n const tNode = tView.firstCreatePass ? templateFirstCreatePass(adjustedIndex, tView, lView, templateFn, decls, vars, tagName, attrsIndex, localRefsIndex) :\n tView.data[adjustedIndex];\n setCurrentTNode(tNode, false);\n const comment = _locateOrCreateContainerAnchor(tView, lView, tNode, index);\n if (wasLastNodeCreated()) {\n appendChild(tView, lView, comment, tNode);\n }\n attachPatchData(comment, lView);\n addToViewTree(lView, lView[adjustedIndex] = createLContainer(comment, lView, comment, tNode));\n if (isDirectiveHost(tNode)) {\n createDirectivesInstances(tView, lView, tNode);\n }\n if (localRefsIndex != null) {\n saveResolvedLocalsInData(lView, tNode, localRefExtractor);\n }\n}\nlet _locateOrCreateContainerAnchor = createContainerAnchorImpl;\n/**\n * Regular creation mode for LContainers and their anchor (comment) nodes.\n */\nfunction createContainerAnchorImpl(tView, lView, tNode, index) {\n lastNodeWasCreated(true);\n return lView[RENDERER].createComment(ngDevMode ? 'container' : '');\n}\n/**\n * Enables hydration code path (to lookup existing elements in DOM)\n * in addition to the regular creation mode for LContainers and their\n * anchor (comment) nodes.\n */\nfunction locateOrCreateContainerAnchorImpl(tView, lView, tNode, index) {\n const hydrationInfo = lView[HYDRATION];\n const isNodeCreationMode = !hydrationInfo || isInSkipHydrationBlock$1() || isDisconnectedNode$1(hydrationInfo, index);\n lastNodeWasCreated(isNodeCreationMode);\n // Regular creation mode.\n if (isNodeCreationMode) {\n return createContainerAnchorImpl(tView, lView, tNode, index);\n }\n const ssrId = hydrationInfo.data[TEMPLATES]?.[index] ?? null;\n // Apply `ssrId` value to the underlying TView if it was not previously set.\n //\n // There might be situations when the same component is present in a template\n // multiple times and some instances are opted-out of using hydration via\n // `ngSkipHydration` attribute. In this scenario, at the time a TView is created,\n // the `ssrId` might be `null` (if the first component is opted-out of hydration).\n // The code below makes sure that the `ssrId` is applied to the TView if it's still\n // `null` and verifies we never try to override it with a different value.\n if (ssrId !== null && tNode.tView !== null) {\n if (tNode.tView.ssrId === null) {\n tNode.tView.ssrId = ssrId;\n }\n else {\n ngDevMode &&\n assertEqual(tNode.tView.ssrId, ssrId, 'Unexpected value of the `ssrId` for this TView');\n }\n }\n // Hydration mode, looking up existing elements in DOM.\n const currentRNode = locateNextRNode(hydrationInfo, tView, lView, tNode);\n ngDevMode && validateNodeExists(currentRNode, lView, tNode);\n setSegmentHead(hydrationInfo, index, currentRNode);\n const viewContainerSize = calcSerializedContainerSize(hydrationInfo, index);\n const comment = siblingAfter(viewContainerSize, currentRNode);\n if (ngDevMode) {\n validateMatchingNode(comment, Node.COMMENT_NODE, null, lView, tNode);\n markRNodeAsClaimedByHydration(comment);\n }\n return comment;\n}\nfunction enableLocateOrCreateContainerAnchorImpl() {\n _locateOrCreateContainerAnchor = locateOrCreateContainerAnchorImpl;\n}\n\n/** Store a value in the `data` at a given `index`. */\nfunction store(tView, lView, index, value) {\n // We don't store any static data for local variables, so the first time\n // we see the template, we should store as null to avoid a sparse array\n if (index >= tView.data.length) {\n tView.data[index] = null;\n tView.blueprint[index] = null;\n }\n lView[index] = value;\n}\n/**\n * Retrieves a local reference from the current contextViewData.\n *\n * If the reference to retrieve is in a parent view, this instruction is used in conjunction\n * with a nextContext() call, which walks up the tree and updates the contextViewData instance.\n *\n * @param index The index of the local ref in contextViewData.\n *\n * @codeGenApi\n */\nfunction ɵɵreference(index) {\n const contextLView = getContextLView();\n return load(contextLView, HEADER_OFFSET + index);\n}\n\n/**\n * Update a property on a selected element.\n *\n * Operates on the element selected by index via the {@link select} instruction.\n *\n * If the property name also exists as an input property on one of the element's directives,\n * the component property will be set instead of the element property. This check must\n * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled\n *\n * @param propName Name of property. Because it is going to DOM, this is not subject to\n * renaming as part of minification.\n * @param value New value to write.\n * @param sanitizer An optional function used to sanitize the value.\n * @returns This function returns itself so that it may be chained\n * (e.g. `property('name', ctx.name)('title', ctx.title)`)\n *\n * @codeGenApi\n */\nfunction ɵɵproperty(propName, value, sanitizer) {\n const lView = getLView();\n const bindingIndex = nextBindingIndex();\n if (bindingUpdated(lView, bindingIndex, value)) {\n const tView = getTView();\n const tNode = getSelectedTNode();\n elementPropertyInternal(tView, tNode, lView, propName, value, lView[RENDERER], sanitizer, false);\n ngDevMode && storePropertyBindingMetadata(tView.data, tNode, propName, bindingIndex);\n }\n return ɵɵproperty;\n}\n/**\n * Given `<div style=\"...\" my-dir>` and `MyDir` with `@Input('style')` we need to write to\n * directive input.\n */\nfunction setDirectiveInputsWhichShadowsStyling(tView, tNode, lView, value, isClassBased) {\n const inputs = tNode.inputs;\n const property = isClassBased ? 'class' : 'style';\n // We support both 'class' and `className` hence the fallback.\n setInputsForProperty(tView, lView, inputs[property], property, value);\n}\n\nfunction elementStartFirstCreatePass(index, tView, lView, name, attrsIndex, localRefsIndex) {\n ngDevMode && assertFirstCreatePass(tView);\n ngDevMode && ngDevMode.firstCreatePass++;\n const tViewConsts = tView.consts;\n const attrs = getConstant(tViewConsts, attrsIndex);\n const tNode = getOrCreateTNode(tView, index, 2 /* TNodeType.Element */, name, attrs);\n resolveDirectives(tView, lView, tNode, getConstant(tViewConsts, localRefsIndex));\n if (tNode.attrs !== null) {\n computeStaticStyling(tNode, tNode.attrs, false);\n }\n if (tNode.mergedAttrs !== null) {\n computeStaticStyling(tNode, tNode.mergedAttrs, true);\n }\n if (tView.queries !== null) {\n tView.queries.elementStart(tView, tNode);\n }\n return tNode;\n}\n/**\n * Create DOM element. The instruction must later be followed by `elementEnd()` call.\n *\n * @param index Index of the element in the LView array\n * @param name Name of the DOM Node\n * @param attrsIndex Index of the element's attributes in the `consts` array.\n * @param localRefsIndex Index of the element's local references in the `consts` array.\n * @returns This function returns itself so that it may be chained.\n *\n * Attributes and localRefs are passed as an array of strings where elements with an even index\n * hold an attribute name and elements with an odd index hold an attribute value, ex.:\n * ['id', 'warning5', 'class', 'alert']\n *\n * @codeGenApi\n */\nfunction ɵɵelementStart(index, name, attrsIndex, localRefsIndex) {\n const lView = getLView();\n const tView = getTView();\n const adjustedIndex = HEADER_OFFSET + index;\n ngDevMode &&\n assertEqual(getBindingIndex(), tView.bindingStartIndex, 'elements should be created before any bindings');\n ngDevMode && assertIndexInRange(lView, adjustedIndex);\n const renderer = lView[RENDERER];\n const tNode = tView.firstCreatePass ?\n elementStartFirstCreatePass(adjustedIndex, tView, lView, name, attrsIndex, localRefsIndex) :\n tView.data[adjustedIndex];\n const native = _locateOrCreateElementNode(tView, lView, tNode, renderer, name, index);\n lView[adjustedIndex] = native;\n const hasDirectives = isDirectiveHost(tNode);\n if (ngDevMode && tView.firstCreatePass) {\n validateElementIsKnown(native, lView, tNode.value, tView.schemas, hasDirectives);\n }\n setCurrentTNode(tNode, true);\n setupStaticAttributes(renderer, native, tNode);\n if ((tNode.flags & 32 /* TNodeFlags.isDetached */) !== 32 /* TNodeFlags.isDetached */ && wasLastNodeCreated()) {\n // In the i18n case, the translation may have removed this element, so only add it if it is not\n // detached. See `TNodeType.Placeholder` and `LFrame.inI18n` for more context.\n appendChild(tView, lView, native, tNode);\n }\n // any immediate children of a component or template container must be pre-emptively\n // monkey-patched with the component view data so that the element can be inspected\n // later on using any element discovery utility methods (see `element_discovery.ts`)\n if (getElementDepthCount() === 0) {\n attachPatchData(native, lView);\n }\n increaseElementDepthCount();\n if (hasDirectives) {\n createDirectivesInstances(tView, lView, tNode);\n executeContentQueries(tView, tNode, lView);\n }\n if (localRefsIndex !== null) {\n saveResolvedLocalsInData(lView, tNode);\n }\n return ɵɵelementStart;\n}\n/**\n * Mark the end of the element.\n * @returns This function returns itself so that it may be chained.\n *\n * @codeGenApi\n */\nfunction ɵɵelementEnd() {\n let currentTNode = getCurrentTNode();\n ngDevMode && assertDefined(currentTNode, 'No parent node to close.');\n if (isCurrentTNodeParent()) {\n setCurrentTNodeAsNotParent();\n }\n else {\n ngDevMode && assertHasParent(getCurrentTNode());\n currentTNode = currentTNode.parent;\n setCurrentTNode(currentTNode, false);\n }\n const tNode = currentTNode;\n ngDevMode && assertTNodeType(tNode, 3 /* TNodeType.AnyRNode */);\n if (isSkipHydrationRootTNode(tNode)) {\n leaveSkipHydrationBlock();\n }\n decreaseElementDepthCount();\n const tView = getTView();\n if (tView.firstCreatePass) {\n registerPostOrderHooks(tView, currentTNode);\n if (isContentQueryHost(currentTNode)) {\n tView.queries.elementEnd(currentTNode);\n }\n }\n if (tNode.classesWithoutHost != null && hasClassInput(tNode)) {\n setDirectiveInputsWhichShadowsStyling(tView, tNode, getLView(), tNode.classesWithoutHost, true);\n }\n if (tNode.stylesWithoutHost != null && hasStyleInput(tNode)) {\n setDirectiveInputsWhichShadowsStyling(tView, tNode, getLView(), tNode.stylesWithoutHost, false);\n }\n return ɵɵelementEnd;\n}\n/**\n * Creates an empty element using {@link elementStart} and {@link elementEnd}\n *\n * @param index Index of the element in the data array\n * @param name Name of the DOM Node\n * @param attrsIndex Index of the element's attributes in the `consts` array.\n * @param localRefsIndex Index of the element's local references in the `consts` array.\n * @returns This function returns itself so that it may be chained.\n *\n * @codeGenApi\n */\nfunction ɵɵelement(index, name, attrsIndex, localRefsIndex) {\n ɵɵelementStart(index, name, attrsIndex, localRefsIndex);\n ɵɵelementEnd();\n return ɵɵelement;\n}\nlet _locateOrCreateElementNode = (tView, lView, tNode, renderer, name, index) => {\n lastNodeWasCreated(true);\n return createElementNode(renderer, name, getNamespace$1());\n};\n/**\n * Enables hydration code path (to lookup existing elements in DOM)\n * in addition to the regular creation mode of element nodes.\n */\nfunction locateOrCreateElementNodeImpl(tView, lView, tNode, renderer, name, index) {\n const hydrationInfo = lView[HYDRATION];\n const isNodeCreationMode = !hydrationInfo || isInSkipHydrationBlock$1() || isDisconnectedNode$1(hydrationInfo, index);\n lastNodeWasCreated(isNodeCreationMode);\n // Regular creation mode.\n if (isNodeCreationMode) {\n return createElementNode(renderer, name, getNamespace$1());\n }\n // Hydration mode, looking up an existing element in DOM.\n const native = locateNextRNode(hydrationInfo, tView, lView, tNode);\n ngDevMode && validateMatchingNode(native, Node.ELEMENT_NODE, name, lView, tNode);\n ngDevMode && markRNodeAsClaimedByHydration(native);\n // This element might also be an anchor of a view container.\n if (getSerializedContainerViews(hydrationInfo, index)) {\n // Important note: this element acts as an anchor, but it's **not** a part\n // of the embedded view, so we start the segment **after** this element, taking\n // a reference to the next sibling. For example, the following template:\n // `<div #vcrTarget>` is represented in the DOM as `<div></div>...<!--container-->`,\n // so while processing a `<div>` instruction, point to the next sibling as a\n // start of a segment.\n ngDevMode && validateNodeExists(native.nextSibling, lView, tNode);\n setSegmentHead(hydrationInfo, index, native.nextSibling);\n }\n // Checks if the skip hydration attribute is present during hydration so we know to\n // skip attempting to hydrate this block.\n if (hydrationInfo && hasNgSkipHydrationAttr(tNode)) {\n if (isComponentHost(tNode)) {\n enterSkipHydrationBlock(tNode);\n // Since this isn't hydratable, we need to empty the node\n // so there's no duplicate content after render\n clearElementContents(native);\n ngDevMode && ngDevMode.componentsSkippedHydration++;\n }\n else if (ngDevMode) {\n // If this is not a component host, throw an error.\n // Hydration can be skipped on per-component basis only.\n throw invalidSkipHydrationHost(native);\n }\n }\n return native;\n}\nfunction enableLocateOrCreateElementNodeImpl() {\n _locateOrCreateElementNode = locateOrCreateElementNodeImpl;\n}\n\nfunction elementContainerStartFirstCreatePass(index, tView, lView, attrsIndex, localRefsIndex) {\n ngDevMode && ngDevMode.firstCreatePass++;\n const tViewConsts = tView.consts;\n const attrs = getConstant(tViewConsts, attrsIndex);\n const tNode = getOrCreateTNode(tView, index, 8 /* TNodeType.ElementContainer */, 'ng-container', attrs);\n // While ng-container doesn't necessarily support styling, we use the style context to identify\n // and execute directives on the ng-container.\n if (attrs !== null) {\n computeStaticStyling(tNode, attrs, true);\n }\n const localRefs = getConstant(tViewConsts, localRefsIndex);\n resolveDirectives(tView, lView, tNode, localRefs);\n if (tView.queries !== null) {\n tView.queries.elementStart(tView, tNode);\n }\n return tNode;\n}\n/**\n * Creates a logical container for other nodes (<ng-container>) backed by a comment node in the DOM.\n * The instruction must later be followed by `elementContainerEnd()` call.\n *\n * @param index Index of the element in the LView array\n * @param attrsIndex Index of the container attributes in the `consts` array.\n * @param localRefsIndex Index of the container's local references in the `consts` array.\n * @returns This function returns itself so that it may be chained.\n *\n * Even if this instruction accepts a set of attributes no actual attribute values are propagated to\n * the DOM (as a comment node can't have attributes). Attributes are here only for directive\n * matching purposes and setting initial inputs of directives.\n *\n * @codeGenApi\n */\nfunction ɵɵelementContainerStart(index, attrsIndex, localRefsIndex) {\n const lView = getLView();\n const tView = getTView();\n const adjustedIndex = index + HEADER_OFFSET;\n ngDevMode && assertIndexInRange(lView, adjustedIndex);\n ngDevMode &&\n assertEqual(getBindingIndex(), tView.bindingStartIndex, 'element containers should be created before any bindings');\n const tNode = tView.firstCreatePass ?\n elementContainerStartFirstCreatePass(adjustedIndex, tView, lView, attrsIndex, localRefsIndex) :\n tView.data[adjustedIndex];\n setCurrentTNode(tNode, true);\n const comment = _locateOrCreateElementContainerNode(tView, lView, tNode, index);\n lView[adjustedIndex] = comment;\n if (wasLastNodeCreated()) {\n appendChild(tView, lView, comment, tNode);\n }\n attachPatchData(comment, lView);\n if (isDirectiveHost(tNode)) {\n createDirectivesInstances(tView, lView, tNode);\n executeContentQueries(tView, tNode, lView);\n }\n if (localRefsIndex != null) {\n saveResolvedLocalsInData(lView, tNode);\n }\n return ɵɵelementContainerStart;\n}\n/**\n * Mark the end of the <ng-container>.\n * @returns This function returns itself so that it may be chained.\n *\n * @codeGenApi\n */\nfunction ɵɵelementContainerEnd() {\n let currentTNode = getCurrentTNode();\n const tView = getTView();\n if (isCurrentTNodeParent()) {\n setCurrentTNodeAsNotParent();\n }\n else {\n ngDevMode && assertHasParent(currentTNode);\n currentTNode = currentTNode.parent;\n setCurrentTNode(currentTNode, false);\n }\n ngDevMode && assertTNodeType(currentTNode, 8 /* TNodeType.ElementContainer */);\n if (tView.firstCreatePass) {\n registerPostOrderHooks(tView, currentTNode);\n if (isContentQueryHost(currentTNode)) {\n tView.queries.elementEnd(currentTNode);\n }\n }\n return ɵɵelementContainerEnd;\n}\n/**\n * Creates an empty logical container using {@link elementContainerStart}\n * and {@link elementContainerEnd}\n *\n * @param index Index of the element in the LView array\n * @param attrsIndex Index of the container attributes in the `consts` array.\n * @param localRefsIndex Index of the container's local references in the `consts` array.\n * @returns This function returns itself so that it may be chained.\n *\n * @codeGenApi\n */\nfunction ɵɵelementContainer(index, attrsIndex, localRefsIndex) {\n ɵɵelementContainerStart(index, attrsIndex, localRefsIndex);\n ɵɵelementContainerEnd();\n return ɵɵelementContainer;\n}\nlet _locateOrCreateElementContainerNode = (tView, lView, tNode, index) => {\n lastNodeWasCreated(true);\n return createCommentNode(lView[RENDERER], ngDevMode ? 'ng-container' : '');\n};\n/**\n * Enables hydration code path (to lookup existing elements in DOM)\n * in addition to the regular creation mode of comment nodes that\n * represent <ng-container>'s anchor.\n */\nfunction locateOrCreateElementContainerNode(tView, lView, tNode, index) {\n let comment;\n const hydrationInfo = lView[HYDRATION];\n const isNodeCreationMode = !hydrationInfo || isInSkipHydrationBlock$1();\n lastNodeWasCreated(isNodeCreationMode);\n // Regular creation mode.\n if (isNodeCreationMode) {\n return createCommentNode(lView[RENDERER], ngDevMode ? 'ng-container' : '');\n }\n // Hydration mode, looking up existing elements in DOM.\n const currentRNode = locateNextRNode(hydrationInfo, tView, lView, tNode);\n ngDevMode && validateNodeExists(currentRNode, lView, tNode);\n const ngContainerSize = getNgContainerSize(hydrationInfo, index);\n ngDevMode &&\n assertNumber(ngContainerSize, 'Unexpected state: hydrating an <ng-container>, ' +\n 'but no hydration info is available.');\n setSegmentHead(hydrationInfo, index, currentRNode);\n comment = siblingAfter(ngContainerSize, currentRNode);\n if (ngDevMode) {\n validateMatchingNode(comment, Node.COMMENT_NODE, null, lView, tNode);\n markRNodeAsClaimedByHydration(comment);\n }\n return comment;\n}\nfunction enableLocateOrCreateElementContainerNodeImpl() {\n _locateOrCreateElementContainerNode = locateOrCreateElementContainerNode;\n}\n\n/**\n * Returns the current OpaqueViewState instance.\n *\n * Used in conjunction with the restoreView() instruction to save a snapshot\n * of the current view and restore it when listeners are invoked. This allows\n * walking the declaration view tree in listeners to get vars from parent views.\n *\n * @codeGenApi\n */\nfunction ɵɵgetCurrentView() {\n return getLView();\n}\n\n/**\n * Determine if the argument is shaped like a Promise\n */\nfunction isPromise(obj) {\n // allow any Promise/A+ compliant thenable.\n // It's up to the caller to ensure that obj.then conforms to the spec\n return !!obj && typeof obj.then === 'function';\n}\n/**\n * Determine if the argument is a Subscribable\n */\nfunction isSubscribable(obj) {\n return !!obj && typeof obj.subscribe === 'function';\n}\n\n/**\n * Adds an event listener to the current node.\n *\n * If an output exists on one of the node's directives, it also subscribes to the output\n * and saves the subscription for later cleanup.\n *\n * @param eventName Name of the event\n * @param listenerFn The function to be called when event emits\n * @param useCapture Whether or not to use capture in event listener - this argument is a reminder\n * from the Renderer3 infrastructure and should be removed from the instruction arguments\n * @param eventTargetResolver Function that returns global target information in case this listener\n * should be attached to a global object like window, document or body\n *\n * @codeGenApi\n */\nfunction ɵɵlistener(eventName, listenerFn, useCapture, eventTargetResolver) {\n const lView = getLView();\n const tView = getTView();\n const tNode = getCurrentTNode();\n listenerInternal(tView, lView, lView[RENDERER], tNode, eventName, listenerFn, eventTargetResolver);\n return ɵɵlistener;\n}\n/**\n * Registers a synthetic host listener (e.g. `(@foo.start)`) on a component or directive.\n *\n * This instruction is for compatibility purposes and is designed to ensure that a\n * synthetic host listener (e.g. `@HostListener('@foo.start')`) properly gets rendered\n * in the component's renderer. Normally all host listeners are evaluated with the\n * parent component's renderer, but, in the case of animation @triggers, they need\n * to be evaluated with the sub component's renderer (because that's where the\n * animation triggers are defined).\n *\n * Do not use this instruction as a replacement for `listener`. This instruction\n * only exists to ensure compatibility with the ViewEngine's host binding behavior.\n *\n * @param eventName Name of the event\n * @param listenerFn The function to be called when event emits\n * @param useCapture Whether or not to use capture in event listener\n * @param eventTargetResolver Function that returns global target information in case this listener\n * should be attached to a global object like window, document or body\n *\n * @codeGenApi\n */\nfunction ɵɵsyntheticHostListener(eventName, listenerFn) {\n const tNode = getCurrentTNode();\n const lView = getLView();\n const tView = getTView();\n const currentDef = getCurrentDirectiveDef(tView.data);\n const renderer = loadComponentRenderer(currentDef, tNode, lView);\n listenerInternal(tView, lView, renderer, tNode, eventName, listenerFn);\n return ɵɵsyntheticHostListener;\n}\n/**\n * A utility function that checks if a given element has already an event handler registered for an\n * event with a specified name. The TView.cleanup data structure is used to find out which events\n * are registered for a given element.\n */\nfunction findExistingListener(tView, lView, eventName, tNodeIdx) {\n const tCleanup = tView.cleanup;\n if (tCleanup != null) {\n for (let i = 0; i < tCleanup.length - 1; i += 2) {\n const cleanupEventName = tCleanup[i];\n if (cleanupEventName === eventName && tCleanup[i + 1] === tNodeIdx) {\n // We have found a matching event name on the same node but it might not have been\n // registered yet, so we must explicitly verify entries in the LView cleanup data\n // structures.\n const lCleanup = lView[CLEANUP];\n const listenerIdxInLCleanup = tCleanup[i + 2];\n return lCleanup.length > listenerIdxInLCleanup ? lCleanup[listenerIdxInLCleanup] : null;\n }\n // TView.cleanup can have a mix of 4-elements entries (for event handler cleanups) or\n // 2-element entries (for directive and queries destroy hooks). As such we can encounter\n // blocks of 4 or 2 items in the tView.cleanup and this is why we iterate over 2 elements\n // first and jump another 2 elements if we detect listeners cleanup (4 elements). Also check\n // documentation of TView.cleanup for more details of this data structure layout.\n if (typeof cleanupEventName === 'string') {\n i += 2;\n }\n }\n }\n return null;\n}\nfunction listenerInternal(tView, lView, renderer, tNode, eventName, listenerFn, eventTargetResolver) {\n const isTNodeDirectiveHost = isDirectiveHost(tNode);\n const firstCreatePass = tView.firstCreatePass;\n const tCleanup = firstCreatePass && getOrCreateTViewCleanup(tView);\n const context = lView[CONTEXT];\n // When the ɵɵlistener instruction was generated and is executed we know that there is either a\n // native listener or a directive output on this element. As such we we know that we will have to\n // register a listener and store its cleanup function on LView.\n const lCleanup = getOrCreateLViewCleanup(lView);\n ngDevMode && assertTNodeType(tNode, 3 /* TNodeType.AnyRNode */ | 12 /* TNodeType.AnyContainer */);\n let processOutputs = true;\n // Adding a native event listener is applicable when:\n // - The corresponding TNode represents a DOM element.\n // - The event target has a resolver (usually resulting in a global object,\n // such as `window` or `document`).\n if ((tNode.type & 3 /* TNodeType.AnyRNode */) || eventTargetResolver) {\n const native = getNativeByTNode(tNode, lView);\n const target = eventTargetResolver ? eventTargetResolver(native) : native;\n const lCleanupIndex = lCleanup.length;\n const idxOrTargetGetter = eventTargetResolver ?\n (_lView) => eventTargetResolver(unwrapRNode(_lView[tNode.index])) :\n tNode.index;\n // In order to match current behavior, native DOM event listeners must be added for all\n // events (including outputs).\n // There might be cases where multiple directives on the same element try to register an event\n // handler function for the same event. In this situation we want to avoid registration of\n // several native listeners as each registration would be intercepted by NgZone and\n // trigger change detection. This would mean that a single user action would result in several\n // change detections being invoked. To avoid this situation we want to have only one call to\n // native handler registration (for the same element and same type of event).\n //\n // In order to have just one native event handler in presence of multiple handler functions,\n // we just register a first handler function as a native event listener and then chain\n // (coalesce) other handler functions on top of the first native handler function.\n let existingListener = null;\n // Please note that the coalescing described here doesn't happen for events specifying an\n // alternative target (ex. (document:click)) - this is to keep backward compatibility with the\n // view engine.\n // Also, we don't have to search for existing listeners is there are no directives\n // matching on a given node as we can't register multiple event handlers for the same event in\n // a template (this would mean having duplicate attributes).\n if (!eventTargetResolver && isTNodeDirectiveHost) {\n existingListener = findExistingListener(tView, lView, eventName, tNode.index);\n }\n if (existingListener !== null) {\n // Attach a new listener to coalesced listeners list, maintaining the order in which\n // listeners are registered. For performance reasons, we keep a reference to the last\n // listener in that list (in `__ngLastListenerFn__` field), so we can avoid going through\n // the entire set each time we need to add a new listener.\n const lastListenerFn = existingListener.__ngLastListenerFn__ || existingListener;\n lastListenerFn.__ngNextListenerFn__ = listenerFn;\n existingListener.__ngLastListenerFn__ = listenerFn;\n processOutputs = false;\n }\n else {\n listenerFn = wrapListener(tNode, lView, context, listenerFn, false /** preventDefault */);\n const cleanupFn = renderer.listen(target, eventName, listenerFn);\n ngDevMode && ngDevMode.rendererAddEventListener++;\n lCleanup.push(listenerFn, cleanupFn);\n tCleanup && tCleanup.push(eventName, idxOrTargetGetter, lCleanupIndex, lCleanupIndex + 1);\n }\n }\n else {\n // Even if there is no native listener to add, we still need to wrap the listener so that OnPush\n // ancestors are marked dirty when an event occurs.\n listenerFn = wrapListener(tNode, lView, context, listenerFn, false /** preventDefault */);\n }\n // subscribe to directive outputs\n const outputs = tNode.outputs;\n let props;\n if (processOutputs && outputs !== null && (props = outputs[eventName])) {\n const propsLength = props.length;\n if (propsLength) {\n for (let i = 0; i < propsLength; i += 2) {\n const index = props[i];\n ngDevMode && assertIndexInRange(lView, index);\n const minifiedName = props[i + 1];\n const directiveInstance = lView[index];\n const output = directiveInstance[minifiedName];\n if (ngDevMode && !isSubscribable(output)) {\n throw new Error(`@Output ${minifiedName} not initialized in '${directiveInstance.constructor.name}'.`);\n }\n const subscription = output.subscribe(listenerFn);\n const idx = lCleanup.length;\n lCleanup.push(listenerFn, subscription);\n tCleanup && tCleanup.push(eventName, tNode.index, idx, -(idx + 1));\n }\n }\n }\n}\nfunction executeListenerWithErrorHandling(lView, context, listenerFn, e) {\n try {\n profiler(6 /* ProfilerEvent.OutputStart */, context, listenerFn);\n // Only explicitly returning false from a listener should preventDefault\n return listenerFn(e) !== false;\n }\n catch (error) {\n handleError(lView, error);\n return false;\n }\n finally {\n profiler(7 /* ProfilerEvent.OutputEnd */, context, listenerFn);\n }\n}\n/**\n * Wraps an event listener with a function that marks ancestors dirty and prevents default behavior,\n * if applicable.\n *\n * @param tNode The TNode associated with this listener\n * @param lView The LView that contains this listener\n * @param listenerFn The listener function to call\n * @param wrapWithPreventDefault Whether or not to prevent default behavior\n * (the procedural renderer does this already, so in those cases, we should skip)\n */\nfunction wrapListener(tNode, lView, context, listenerFn, wrapWithPreventDefault) {\n // Note: we are performing most of the work in the listener function itself\n // to optimize listener registration.\n return function wrapListenerIn_markDirtyAndPreventDefault(e) {\n // Ivy uses `Function` as a special token that allows us to unwrap the function\n // so that it can be invoked programmatically by `DebugNode.triggerEventHandler`.\n if (e === Function) {\n return listenerFn;\n }\n // In order to be backwards compatible with View Engine, events on component host nodes\n // must also mark the component view itself dirty (i.e. the view that it owns).\n const startView = tNode.componentOffset > -1 ? getComponentLViewByIndex(tNode.index, lView) : lView;\n markViewDirty(startView);\n let result = executeListenerWithErrorHandling(lView, context, listenerFn, e);\n // A just-invoked listener function might have coalesced listeners so we need to check for\n // their presence and invoke as needed.\n let nextListenerFn = wrapListenerIn_markDirtyAndPreventDefault.__ngNextListenerFn__;\n while (nextListenerFn) {\n // We should prevent default if any of the listeners explicitly return false\n result = executeListenerWithErrorHandling(lView, context, nextListenerFn, e) && result;\n nextListenerFn = nextListenerFn.__ngNextListenerFn__;\n }\n if (wrapWithPreventDefault && result === false) {\n e.preventDefault();\n }\n return result;\n };\n}\n\n/**\n * Retrieves a context at the level specified and saves it as the global, contextViewData.\n * Will get the next level up if level is not specified.\n *\n * This is used to save contexts of parent views so they can be bound in embedded views, or\n * in conjunction with reference() to bind a ref from a parent view.\n *\n * @param level The relative level of the view from which to grab context compared to contextVewData\n * @returns context\n *\n * @codeGenApi\n */\nfunction ɵɵnextContext(level = 1) {\n return nextContextImpl(level);\n}\n\n/**\n * Checks a given node against matching projection slots and returns the\n * determined slot index. Returns \"null\" if no slot matched the given node.\n *\n * This function takes into account the parsed ngProjectAs selector from the\n * node's attributes. If present, it will check whether the ngProjectAs selector\n * matches any of the projection slot selectors.\n */\nfunction matchingProjectionSlotIndex(tNode, projectionSlots) {\n let wildcardNgContentIndex = null;\n const ngProjectAsAttrVal = getProjectAsAttrValue(tNode);\n for (let i = 0; i < projectionSlots.length; i++) {\n const slotValue = projectionSlots[i];\n // The last wildcard projection slot should match all nodes which aren't matching\n // any selector. This is necessary to be backwards compatible with view engine.\n if (slotValue === '*') {\n wildcardNgContentIndex = i;\n continue;\n }\n // If we ran into an `ngProjectAs` attribute, we should match its parsed selector\n // to the list of selectors, otherwise we fall back to matching against the node.\n if (ngProjectAsAttrVal === null ?\n isNodeMatchingSelectorList(tNode, slotValue, /* isProjectionMode */ true) :\n isSelectorInSelectorList(ngProjectAsAttrVal, slotValue)) {\n return i; // first matching selector \"captures\" a given node\n }\n }\n return wildcardNgContentIndex;\n}\n/**\n * Instruction to distribute projectable nodes among <ng-content> occurrences in a given template.\n * It takes all the selectors from the entire component's template and decides where\n * each projected node belongs (it re-distributes nodes among \"buckets\" where each \"bucket\" is\n * backed by a selector).\n *\n * This function requires CSS selectors to be provided in 2 forms: parsed (by a compiler) and text,\n * un-parsed form.\n *\n * The parsed form is needed for efficient matching of a node against a given CSS selector.\n * The un-parsed, textual form is needed for support of the ngProjectAs attribute.\n *\n * Having a CSS selector in 2 different formats is not ideal, but alternatives have even more\n * drawbacks:\n * - having only a textual form would require runtime parsing of CSS selectors;\n * - we can't have only a parsed as we can't re-construct textual form from it (as entered by a\n * template author).\n *\n * @param projectionSlots? A collection of projection slots. A projection slot can be based\n * on a parsed CSS selectors or set to the wildcard selector (\"*\") in order to match\n * all nodes which do not match any selector. If not specified, a single wildcard\n * selector projection slot will be defined.\n *\n * @codeGenApi\n */\nfunction ɵɵprojectionDef(projectionSlots) {\n const componentNode = getLView()[DECLARATION_COMPONENT_VIEW][T_HOST];\n if (!componentNode.projection) {\n // If no explicit projection slots are defined, fall back to a single\n // projection slot with the wildcard selector.\n const numProjectionSlots = projectionSlots ? projectionSlots.length : 1;\n const projectionHeads = componentNode.projection =\n newArray(numProjectionSlots, null);\n const tails = projectionHeads.slice();\n let componentChild = componentNode.child;\n while (componentChild !== null) {\n const slotIndex = projectionSlots ? matchingProjectionSlotIndex(componentChild, projectionSlots) : 0;\n if (slotIndex !== null) {\n if (tails[slotIndex]) {\n tails[slotIndex].projectionNext = componentChild;\n }\n else {\n projectionHeads[slotIndex] = componentChild;\n }\n tails[slotIndex] = componentChild;\n }\n componentChild = componentChild.next;\n }\n }\n}\n/**\n * Inserts previously re-distributed projected nodes. This instruction must be preceded by a call\n * to the projectionDef instruction.\n *\n * @param nodeIndex\n * @param selectorIndex:\n * - 0 when the selector is `*` (or unspecified as this is the default value),\n * - 1 based index of the selector from the {@link projectionDef}\n *\n * @codeGenApi\n */\nfunction ɵɵprojection(nodeIndex, selectorIndex = 0, attrs) {\n const lView = getLView();\n const tView = getTView();\n const tProjectionNode = getOrCreateTNode(tView, HEADER_OFFSET + nodeIndex, 16 /* TNodeType.Projection */, null, attrs || null);\n // We can't use viewData[HOST_NODE] because projection nodes can be nested in embedded views.\n if (tProjectionNode.projection === null)\n tProjectionNode.projection = selectorIndex;\n // `<ng-content>` has no content\n setCurrentTNodeAsNotParent();\n const hydrationInfo = lView[HYDRATION];\n const isNodeCreationMode = !hydrationInfo || isInSkipHydrationBlock$1();\n if (isNodeCreationMode &&\n (tProjectionNode.flags & 32 /* TNodeFlags.isDetached */) !== 32 /* TNodeFlags.isDetached */) {\n // re-distribution of projectable nodes is stored on a component's view level\n applyProjection(tView, lView, tProjectionNode);\n }\n}\n\n/**\n *\n * Update an interpolated property on an element with a lone bound value\n *\n * Used when the value passed to a property has 1 interpolated value in it, an no additional text\n * surrounds that interpolated value:\n *\n * ```html\n * <div title=\"{{v0}}\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵpropertyInterpolate('title', v0);\n * ```\n *\n * If the property name also exists as an input property on one of the element's directives,\n * the component property will be set instead of the element property. This check must\n * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled.\n *\n * @param propName The name of the property to update\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param sanitizer An optional sanitizer function\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵpropertyInterpolate(propName, v0, sanitizer) {\n ɵɵpropertyInterpolate1(propName, '', v0, '', sanitizer);\n return ɵɵpropertyInterpolate;\n}\n/**\n *\n * Update an interpolated property on an element with single bound value surrounded by text.\n *\n * Used when the value passed to a property has 1 interpolated value in it:\n *\n * ```html\n * <div title=\"prefix{{v0}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵpropertyInterpolate1('title', 'prefix', v0, 'suffix');\n * ```\n *\n * If the property name also exists as an input property on one of the element's directives,\n * the component property will be set instead of the element property. This check must\n * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled.\n *\n * @param propName The name of the property to update\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param sanitizer An optional sanitizer function\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵpropertyInterpolate1(propName, prefix, v0, suffix, sanitizer) {\n const lView = getLView();\n const interpolatedValue = interpolation1(lView, prefix, v0, suffix);\n if (interpolatedValue !== NO_CHANGE) {\n const tView = getTView();\n const tNode = getSelectedTNode();\n elementPropertyInternal(tView, tNode, lView, propName, interpolatedValue, lView[RENDERER], sanitizer, false);\n ngDevMode &&\n storePropertyBindingMetadata(tView.data, tNode, propName, getBindingIndex() - 1, prefix, suffix);\n }\n return ɵɵpropertyInterpolate1;\n}\n/**\n *\n * Update an interpolated property on an element with 2 bound values surrounded by text.\n *\n * Used when the value passed to a property has 2 interpolated values in it:\n *\n * ```html\n * <div title=\"prefix{{v0}}-{{v1}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵpropertyInterpolate2('title', 'prefix', v0, '-', v1, 'suffix');\n * ```\n *\n * If the property name also exists as an input property on one of the element's directives,\n * the component property will be set instead of the element property. This check must\n * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled.\n *\n * @param propName The name of the property to update\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param sanitizer An optional sanitizer function\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵpropertyInterpolate2(propName, prefix, v0, i0, v1, suffix, sanitizer) {\n const lView = getLView();\n const interpolatedValue = interpolation2(lView, prefix, v0, i0, v1, suffix);\n if (interpolatedValue !== NO_CHANGE) {\n const tView = getTView();\n const tNode = getSelectedTNode();\n elementPropertyInternal(tView, tNode, lView, propName, interpolatedValue, lView[RENDERER], sanitizer, false);\n ngDevMode &&\n storePropertyBindingMetadata(tView.data, tNode, propName, getBindingIndex() - 2, prefix, i0, suffix);\n }\n return ɵɵpropertyInterpolate2;\n}\n/**\n *\n * Update an interpolated property on an element with 3 bound values surrounded by text.\n *\n * Used when the value passed to a property has 3 interpolated values in it:\n *\n * ```html\n * <div title=\"prefix{{v0}}-{{v1}}-{{v2}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵpropertyInterpolate3(\n * 'title', 'prefix', v0, '-', v1, '-', v2, 'suffix');\n * ```\n *\n * If the property name also exists as an input property on one of the element's directives,\n * the component property will be set instead of the element property. This check must\n * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled.\n *\n * @param propName The name of the property to update\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param sanitizer An optional sanitizer function\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵpropertyInterpolate3(propName, prefix, v0, i0, v1, i1, v2, suffix, sanitizer) {\n const lView = getLView();\n const interpolatedValue = interpolation3(lView, prefix, v0, i0, v1, i1, v2, suffix);\n if (interpolatedValue !== NO_CHANGE) {\n const tView = getTView();\n const tNode = getSelectedTNode();\n elementPropertyInternal(tView, tNode, lView, propName, interpolatedValue, lView[RENDERER], sanitizer, false);\n ngDevMode &&\n storePropertyBindingMetadata(tView.data, tNode, propName, getBindingIndex() - 3, prefix, i0, i1, suffix);\n }\n return ɵɵpropertyInterpolate3;\n}\n/**\n *\n * Update an interpolated property on an element with 4 bound values surrounded by text.\n *\n * Used when the value passed to a property has 4 interpolated values in it:\n *\n * ```html\n * <div title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵpropertyInterpolate4(\n * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, 'suffix');\n * ```\n *\n * If the property name also exists as an input property on one of the element's directives,\n * the component property will be set instead of the element property. This check must\n * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled.\n *\n * @param propName The name of the property to update\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param sanitizer An optional sanitizer function\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵpropertyInterpolate4(propName, prefix, v0, i0, v1, i1, v2, i2, v3, suffix, sanitizer) {\n const lView = getLView();\n const interpolatedValue = interpolation4(lView, prefix, v0, i0, v1, i1, v2, i2, v3, suffix);\n if (interpolatedValue !== NO_CHANGE) {\n const tView = getTView();\n const tNode = getSelectedTNode();\n elementPropertyInternal(tView, tNode, lView, propName, interpolatedValue, lView[RENDERER], sanitizer, false);\n ngDevMode &&\n storePropertyBindingMetadata(tView.data, tNode, propName, getBindingIndex() - 4, prefix, i0, i1, i2, suffix);\n }\n return ɵɵpropertyInterpolate4;\n}\n/**\n *\n * Update an interpolated property on an element with 5 bound values surrounded by text.\n *\n * Used when the value passed to a property has 5 interpolated values in it:\n *\n * ```html\n * <div title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵpropertyInterpolate5(\n * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, 'suffix');\n * ```\n *\n * If the property name also exists as an input property on one of the element's directives,\n * the component property will be set instead of the element property. This check must\n * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled.\n *\n * @param propName The name of the property to update\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param i3 Static value used for concatenation only.\n * @param v4 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param sanitizer An optional sanitizer function\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵpropertyInterpolate5(propName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix, sanitizer) {\n const lView = getLView();\n const interpolatedValue = interpolation5(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix);\n if (interpolatedValue !== NO_CHANGE) {\n const tView = getTView();\n const tNode = getSelectedTNode();\n elementPropertyInternal(tView, tNode, lView, propName, interpolatedValue, lView[RENDERER], sanitizer, false);\n ngDevMode &&\n storePropertyBindingMetadata(tView.data, tNode, propName, getBindingIndex() - 5, prefix, i0, i1, i2, i3, suffix);\n }\n return ɵɵpropertyInterpolate5;\n}\n/**\n *\n * Update an interpolated property on an element with 6 bound values surrounded by text.\n *\n * Used when the value passed to a property has 6 interpolated values in it:\n *\n * ```html\n * <div title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵpropertyInterpolate6(\n * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, 'suffix');\n * ```\n *\n * If the property name also exists as an input property on one of the element's directives,\n * the component property will be set instead of the element property. This check must\n * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled.\n *\n * @param propName The name of the property to update\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param i3 Static value used for concatenation only.\n * @param v4 Value checked for change.\n * @param i4 Static value used for concatenation only.\n * @param v5 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param sanitizer An optional sanitizer function\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵpropertyInterpolate6(propName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix, sanitizer) {\n const lView = getLView();\n const interpolatedValue = interpolation6(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix);\n if (interpolatedValue !== NO_CHANGE) {\n const tView = getTView();\n const tNode = getSelectedTNode();\n elementPropertyInternal(tView, tNode, lView, propName, interpolatedValue, lView[RENDERER], sanitizer, false);\n ngDevMode &&\n storePropertyBindingMetadata(tView.data, tNode, propName, getBindingIndex() - 6, prefix, i0, i1, i2, i3, i4, suffix);\n }\n return ɵɵpropertyInterpolate6;\n}\n/**\n *\n * Update an interpolated property on an element with 7 bound values surrounded by text.\n *\n * Used when the value passed to a property has 7 interpolated values in it:\n *\n * ```html\n * <div title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵpropertyInterpolate7(\n * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, 'suffix');\n * ```\n *\n * If the property name also exists as an input property on one of the element's directives,\n * the component property will be set instead of the element property. This check must\n * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled.\n *\n * @param propName The name of the property to update\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param i3 Static value used for concatenation only.\n * @param v4 Value checked for change.\n * @param i4 Static value used for concatenation only.\n * @param v5 Value checked for change.\n * @param i5 Static value used for concatenation only.\n * @param v6 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param sanitizer An optional sanitizer function\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵpropertyInterpolate7(propName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix, sanitizer) {\n const lView = getLView();\n const interpolatedValue = interpolation7(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix);\n if (interpolatedValue !== NO_CHANGE) {\n const tView = getTView();\n const tNode = getSelectedTNode();\n elementPropertyInternal(tView, tNode, lView, propName, interpolatedValue, lView[RENDERER], sanitizer, false);\n ngDevMode &&\n storePropertyBindingMetadata(tView.data, tNode, propName, getBindingIndex() - 7, prefix, i0, i1, i2, i3, i4, i5, suffix);\n }\n return ɵɵpropertyInterpolate7;\n}\n/**\n *\n * Update an interpolated property on an element with 8 bound values surrounded by text.\n *\n * Used when the value passed to a property has 8 interpolated values in it:\n *\n * ```html\n * <div title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵpropertyInterpolate8(\n * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, 'suffix');\n * ```\n *\n * If the property name also exists as an input property on one of the element's directives,\n * the component property will be set instead of the element property. This check must\n * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled.\n *\n * @param propName The name of the property to update\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param i3 Static value used for concatenation only.\n * @param v4 Value checked for change.\n * @param i4 Static value used for concatenation only.\n * @param v5 Value checked for change.\n * @param i5 Static value used for concatenation only.\n * @param v6 Value checked for change.\n * @param i6 Static value used for concatenation only.\n * @param v7 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param sanitizer An optional sanitizer function\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵpropertyInterpolate8(propName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix, sanitizer) {\n const lView = getLView();\n const interpolatedValue = interpolation8(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix);\n if (interpolatedValue !== NO_CHANGE) {\n const tView = getTView();\n const tNode = getSelectedTNode();\n elementPropertyInternal(tView, tNode, lView, propName, interpolatedValue, lView[RENDERER], sanitizer, false);\n ngDevMode &&\n storePropertyBindingMetadata(tView.data, tNode, propName, getBindingIndex() - 8, prefix, i0, i1, i2, i3, i4, i5, i6, suffix);\n }\n return ɵɵpropertyInterpolate8;\n}\n/**\n * Update an interpolated property on an element with 9 or more bound values surrounded by text.\n *\n * Used when the number of interpolated values exceeds 8.\n *\n * ```html\n * <div\n * title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}-{{v8}}-{{v9}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵpropertyInterpolateV(\n * 'title', ['prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, '-', v9,\n * 'suffix']);\n * ```\n *\n * If the property name also exists as an input property on one of the element's directives,\n * the component property will be set instead of the element property. This check must\n * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled.\n *\n * @param propName The name of the property to update.\n * @param values The collection of values and the strings in between those values, beginning with a\n * string prefix and ending with a string suffix.\n * (e.g. `['prefix', value0, '-', value1, '-', value2, ..., value99, 'suffix']`)\n * @param sanitizer An optional sanitizer function\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵpropertyInterpolateV(propName, values, sanitizer) {\n const lView = getLView();\n const interpolatedValue = interpolationV(lView, values);\n if (interpolatedValue !== NO_CHANGE) {\n const tView = getTView();\n const tNode = getSelectedTNode();\n elementPropertyInternal(tView, tNode, lView, propName, interpolatedValue, lView[RENDERER], sanitizer, false);\n if (ngDevMode) {\n const interpolationInBetween = [values[0]]; // prefix\n for (let i = 2; i < values.length; i += 2) {\n interpolationInBetween.push(values[i]);\n }\n storePropertyBindingMetadata(tView.data, tNode, propName, getBindingIndex() - interpolationInBetween.length + 1, ...interpolationInBetween);\n }\n }\n return ɵɵpropertyInterpolateV;\n}\n\nfunction toTStylingRange(prev, next) {\n ngDevMode && assertNumberInRange(prev, 0, 32767 /* StylingRange.UNSIGNED_MASK */);\n ngDevMode && assertNumberInRange(next, 0, 32767 /* StylingRange.UNSIGNED_MASK */);\n return (prev << 17 /* StylingRange.PREV_SHIFT */ | next << 2 /* StylingRange.NEXT_SHIFT */);\n}\nfunction getTStylingRangePrev(tStylingRange) {\n ngDevMode && assertNumber(tStylingRange, 'expected number');\n return (tStylingRange >> 17 /* StylingRange.PREV_SHIFT */) & 32767 /* StylingRange.UNSIGNED_MASK */;\n}\nfunction getTStylingRangePrevDuplicate(tStylingRange) {\n ngDevMode && assertNumber(tStylingRange, 'expected number');\n return (tStylingRange & 2 /* StylingRange.PREV_DUPLICATE */) ==\n 2 /* StylingRange.PREV_DUPLICATE */;\n}\nfunction setTStylingRangePrev(tStylingRange, previous) {\n ngDevMode && assertNumber(tStylingRange, 'expected number');\n ngDevMode && assertNumberInRange(previous, 0, 32767 /* StylingRange.UNSIGNED_MASK */);\n return ((tStylingRange & ~4294836224 /* StylingRange.PREV_MASK */) |\n (previous << 17 /* StylingRange.PREV_SHIFT */));\n}\nfunction setTStylingRangePrevDuplicate(tStylingRange) {\n ngDevMode && assertNumber(tStylingRange, 'expected number');\n return (tStylingRange | 2 /* StylingRange.PREV_DUPLICATE */);\n}\nfunction getTStylingRangeNext(tStylingRange) {\n ngDevMode && assertNumber(tStylingRange, 'expected number');\n return (tStylingRange & 131068 /* StylingRange.NEXT_MASK */) >> 2 /* StylingRange.NEXT_SHIFT */;\n}\nfunction setTStylingRangeNext(tStylingRange, next) {\n ngDevMode && assertNumber(tStylingRange, 'expected number');\n ngDevMode && assertNumberInRange(next, 0, 32767 /* StylingRange.UNSIGNED_MASK */);\n return ((tStylingRange & ~131068 /* StylingRange.NEXT_MASK */) | //\n next << 2 /* StylingRange.NEXT_SHIFT */);\n}\nfunction getTStylingRangeNextDuplicate(tStylingRange) {\n ngDevMode && assertNumber(tStylingRange, 'expected number');\n return (tStylingRange & 1 /* StylingRange.NEXT_DUPLICATE */) ===\n 1 /* StylingRange.NEXT_DUPLICATE */;\n}\nfunction setTStylingRangeNextDuplicate(tStylingRange) {\n ngDevMode && assertNumber(tStylingRange, 'expected number');\n return (tStylingRange | 1 /* StylingRange.NEXT_DUPLICATE */);\n}\nfunction getTStylingRangeTail(tStylingRange) {\n ngDevMode && assertNumber(tStylingRange, 'expected number');\n const next = getTStylingRangeNext(tStylingRange);\n return next === 0 ? getTStylingRangePrev(tStylingRange) : next;\n}\n\n/**\n * NOTE: The word `styling` is used interchangeably as style or class styling.\n *\n * This file contains code to link styling instructions together so that they can be replayed in\n * priority order. The file exists because Ivy styling instruction execution order does not match\n * that of the priority order. The purpose of this code is to create a linked list so that the\n * instructions can be traversed in priority order when computing the styles.\n *\n * Assume we are dealing with the following code:\n * ```\n * @Component({\n * template: `\n * <my-cmp [style]=\" {color: '#001'} \"\n * [style.color]=\" #002 \"\n * dir-style-color-1\n * dir-style-color-2> `\n * })\n * class ExampleComponent {\n * static ngComp = ... {\n * ...\n * // Compiler ensures that `ɵɵstyleProp` is after `ɵɵstyleMap`\n * ɵɵstyleMap({color: '#001'});\n * ɵɵstyleProp('color', '#002');\n * ...\n * }\n * }\n *\n * @Directive({\n * selector: `[dir-style-color-1]',\n * })\n * class Style1Directive {\n * @HostBinding('style') style = {color: '#005'};\n * @HostBinding('style.color') color = '#006';\n *\n * static ngDir = ... {\n * ...\n * // Compiler ensures that `ɵɵstyleProp` is after `ɵɵstyleMap`\n * ɵɵstyleMap({color: '#005'});\n * ɵɵstyleProp('color', '#006');\n * ...\n * }\n * }\n *\n * @Directive({\n * selector: `[dir-style-color-2]',\n * })\n * class Style2Directive {\n * @HostBinding('style') style = {color: '#007'};\n * @HostBinding('style.color') color = '#008';\n *\n * static ngDir = ... {\n * ...\n * // Compiler ensures that `ɵɵstyleProp` is after `ɵɵstyleMap`\n * ɵɵstyleMap({color: '#007'});\n * ɵɵstyleProp('color', '#008');\n * ...\n * }\n * }\n *\n * @Directive({\n * selector: `my-cmp',\n * })\n * class MyComponent {\n * @HostBinding('style') style = {color: '#003'};\n * @HostBinding('style.color') color = '#004';\n *\n * static ngComp = ... {\n * ...\n * // Compiler ensures that `ɵɵstyleProp` is after `ɵɵstyleMap`\n * ɵɵstyleMap({color: '#003'});\n * ɵɵstyleProp('color', '#004');\n * ...\n * }\n * }\n * ```\n *\n * The Order of instruction execution is:\n *\n * NOTE: the comment binding location is for illustrative purposes only.\n *\n * ```\n * // Template: (ExampleComponent)\n * ɵɵstyleMap({color: '#001'}); // Binding index: 10\n * ɵɵstyleProp('color', '#002'); // Binding index: 12\n * // MyComponent\n * ɵɵstyleMap({color: '#003'}); // Binding index: 20\n * ɵɵstyleProp('color', '#004'); // Binding index: 22\n * // Style1Directive\n * ɵɵstyleMap({color: '#005'}); // Binding index: 24\n * ɵɵstyleProp('color', '#006'); // Binding index: 26\n * // Style2Directive\n * ɵɵstyleMap({color: '#007'}); // Binding index: 28\n * ɵɵstyleProp('color', '#008'); // Binding index: 30\n * ```\n *\n * The correct priority order of concatenation is:\n *\n * ```\n * // MyComponent\n * ɵɵstyleMap({color: '#003'}); // Binding index: 20\n * ɵɵstyleProp('color', '#004'); // Binding index: 22\n * // Style1Directive\n * ɵɵstyleMap({color: '#005'}); // Binding index: 24\n * ɵɵstyleProp('color', '#006'); // Binding index: 26\n * // Style2Directive\n * ɵɵstyleMap({color: '#007'}); // Binding index: 28\n * ɵɵstyleProp('color', '#008'); // Binding index: 30\n * // Template: (ExampleComponent)\n * ɵɵstyleMap({color: '#001'}); // Binding index: 10\n * ɵɵstyleProp('color', '#002'); // Binding index: 12\n * ```\n *\n * What color should be rendered?\n *\n * Once the items are correctly sorted in the list, the answer is simply the last item in the\n * concatenation list which is `#002`.\n *\n * To do so we keep a linked list of all of the bindings which pertain to this element.\n * Notice that the bindings are inserted in the order of execution, but the `TView.data` allows\n * us to traverse them in the order of priority.\n *\n * |Idx|`TView.data`|`LView` | Notes\n * |---|------------|-----------------|--------------\n * |...| | |\n * |10 |`null` |`{color: '#001'}`| `ɵɵstyleMap('color', {color: '#001'})`\n * |11 |`30 | 12` | ... |\n * |12 |`color` |`'#002'` | `ɵɵstyleProp('color', '#002')`\n * |13 |`10 | 0` | ... |\n * |...| | |\n * |20 |`null` |`{color: '#003'}`| `ɵɵstyleMap('color', {color: '#003'})`\n * |21 |`0 | 22` | ... |\n * |22 |`color` |`'#004'` | `ɵɵstyleProp('color', '#004')`\n * |23 |`20 | 24` | ... |\n * |24 |`null` |`{color: '#005'}`| `ɵɵstyleMap('color', {color: '#005'})`\n * |25 |`22 | 26` | ... |\n * |26 |`color` |`'#006'` | `ɵɵstyleProp('color', '#006')`\n * |27 |`24 | 28` | ... |\n * |28 |`null` |`{color: '#007'}`| `ɵɵstyleMap('color', {color: '#007'})`\n * |29 |`26 | 30` | ... |\n * |30 |`color` |`'#008'` | `ɵɵstyleProp('color', '#008')`\n * |31 |`28 | 10` | ... |\n *\n * The above data structure allows us to re-concatenate the styling no matter which data binding\n * changes.\n *\n * NOTE: in addition to keeping track of next/previous index the `TView.data` also stores prev/next\n * duplicate bit. The duplicate bit if true says there either is a binding with the same name or\n * there is a map (which may contain the name). This information is useful in knowing if other\n * styles with higher priority need to be searched for overwrites.\n *\n * NOTE: See `should support example in 'tnode_linked_list.ts' documentation` in\n * `tnode_linked_list_spec.ts` for working example.\n */\nlet __unused_const_as_closure_does_not_like_standalone_comment_blocks__;\n/**\n * Insert new `tStyleValue` at `TData` and link existing style bindings such that we maintain linked\n * list of styles and compute the duplicate flag.\n *\n * Note: this function is executed during `firstUpdatePass` only to populate the `TView.data`.\n *\n * The function works by keeping track of `tStylingRange` which contains two pointers pointing to\n * the head/tail of the template portion of the styles.\n * - if `isHost === false` (we are template) then insertion is at tail of `TStylingRange`\n * - if `isHost === true` (we are host binding) then insertion is at head of `TStylingRange`\n *\n * @param tData The `TData` to insert into.\n * @param tNode `TNode` associated with the styling element.\n * @param tStylingKey See `TStylingKey`.\n * @param index location of where `tStyleValue` should be stored (and linked into list.)\n * @param isHostBinding `true` if the insertion is for a `hostBinding`. (insertion is in front of\n * template.)\n * @param isClassBinding True if the associated `tStylingKey` as a `class` styling.\n * `tNode.classBindings` should be used (or `tNode.styleBindings` otherwise.)\n */\nfunction insertTStylingBinding(tData, tNode, tStylingKeyWithStatic, index, isHostBinding, isClassBinding) {\n ngDevMode && assertFirstUpdatePass(getTView());\n let tBindings = isClassBinding ? tNode.classBindings : tNode.styleBindings;\n let tmplHead = getTStylingRangePrev(tBindings);\n let tmplTail = getTStylingRangeNext(tBindings);\n tData[index] = tStylingKeyWithStatic;\n let isKeyDuplicateOfStatic = false;\n let tStylingKey;\n if (Array.isArray(tStylingKeyWithStatic)) {\n // We are case when the `TStylingKey` contains static fields as well.\n const staticKeyValueArray = tStylingKeyWithStatic;\n tStylingKey = staticKeyValueArray[1]; // unwrap.\n // We need to check if our key is present in the static so that we can mark it as duplicate.\n if (tStylingKey === null ||\n keyValueArrayIndexOf(staticKeyValueArray, tStylingKey) > 0) {\n // tStylingKey is present in the statics, need to mark it as duplicate.\n isKeyDuplicateOfStatic = true;\n }\n }\n else {\n tStylingKey = tStylingKeyWithStatic;\n }\n if (isHostBinding) {\n // We are inserting host bindings\n // If we don't have template bindings then `tail` is 0.\n const hasTemplateBindings = tmplTail !== 0;\n // This is important to know because that means that the `head` can't point to the first\n // template bindings (there are none.) Instead the head points to the tail of the template.\n if (hasTemplateBindings) {\n // template head's \"prev\" will point to last host binding or to 0 if no host bindings yet\n const previousNode = getTStylingRangePrev(tData[tmplHead + 1]);\n tData[index + 1] = toTStylingRange(previousNode, tmplHead);\n // if a host binding has already been registered, we need to update the next of that host\n // binding to point to this one\n if (previousNode !== 0) {\n // We need to update the template-tail value to point to us.\n tData[previousNode + 1] =\n setTStylingRangeNext(tData[previousNode + 1], index);\n }\n // The \"previous\" of the template binding head should point to this host binding\n tData[tmplHead + 1] = setTStylingRangePrev(tData[tmplHead + 1], index);\n }\n else {\n tData[index + 1] = toTStylingRange(tmplHead, 0);\n // if a host binding has already been registered, we need to update the next of that host\n // binding to point to this one\n if (tmplHead !== 0) {\n // We need to update the template-tail value to point to us.\n tData[tmplHead + 1] = setTStylingRangeNext(tData[tmplHead + 1], index);\n }\n // if we don't have template, the head points to template-tail, and needs to be advanced.\n tmplHead = index;\n }\n }\n else {\n // We are inserting in template section.\n // We need to set this binding's \"previous\" to the current template tail\n tData[index + 1] = toTStylingRange(tmplTail, 0);\n ngDevMode &&\n assertEqual(tmplHead !== 0 && tmplTail === 0, false, 'Adding template bindings after hostBindings is not allowed.');\n if (tmplHead === 0) {\n tmplHead = index;\n }\n else {\n // We need to update the previous value \"next\" to point to this binding\n tData[tmplTail + 1] = setTStylingRangeNext(tData[tmplTail + 1], index);\n }\n tmplTail = index;\n }\n // Now we need to update / compute the duplicates.\n // Starting with our location search towards head (least priority)\n if (isKeyDuplicateOfStatic) {\n tData[index + 1] = setTStylingRangePrevDuplicate(tData[index + 1]);\n }\n markDuplicates(tData, tStylingKey, index, true, isClassBinding);\n markDuplicates(tData, tStylingKey, index, false, isClassBinding);\n markDuplicateOfResidualStyling(tNode, tStylingKey, tData, index, isClassBinding);\n tBindings = toTStylingRange(tmplHead, tmplTail);\n if (isClassBinding) {\n tNode.classBindings = tBindings;\n }\n else {\n tNode.styleBindings = tBindings;\n }\n}\n/**\n * Look into the residual styling to see if the current `tStylingKey` is duplicate of residual.\n *\n * @param tNode `TNode` where the residual is stored.\n * @param tStylingKey `TStylingKey` to store.\n * @param tData `TData` associated with the current `LView`.\n * @param index location of where `tStyleValue` should be stored (and linked into list.)\n * @param isClassBinding True if the associated `tStylingKey` as a `class` styling.\n * `tNode.classBindings` should be used (or `tNode.styleBindings` otherwise.)\n */\nfunction markDuplicateOfResidualStyling(tNode, tStylingKey, tData, index, isClassBinding) {\n const residual = isClassBinding ? tNode.residualClasses : tNode.residualStyles;\n if (residual != null /* or undefined */ && typeof tStylingKey == 'string' &&\n keyValueArrayIndexOf(residual, tStylingKey) >= 0) {\n // We have duplicate in the residual so mark ourselves as duplicate.\n tData[index + 1] = setTStylingRangeNextDuplicate(tData[index + 1]);\n }\n}\n/**\n * Marks `TStyleValue`s as duplicates if another style binding in the list has the same\n * `TStyleValue`.\n *\n * NOTE: this function is intended to be called twice once with `isPrevDir` set to `true` and once\n * with it set to `false` to search both the previous as well as next items in the list.\n *\n * No duplicate case\n * ```\n * [style.color]\n * [style.width.px] <<- index\n * [style.height.px]\n * ```\n *\n * In the above case adding `[style.width.px]` to the existing `[style.color]` produces no\n * duplicates because `width` is not found in any other part of the linked list.\n *\n * Duplicate case\n * ```\n * [style.color]\n * [style.width.em]\n * [style.width.px] <<- index\n * ```\n * In the above case adding `[style.width.px]` will produce a duplicate with `[style.width.em]`\n * because `width` is found in the chain.\n *\n * Map case 1\n * ```\n * [style.width.px]\n * [style.color]\n * [style] <<- index\n * ```\n * In the above case adding `[style]` will produce a duplicate with any other bindings because\n * `[style]` is a Map and as such is fully dynamic and could produce `color` or `width`.\n *\n * Map case 2\n * ```\n * [style]\n * [style.width.px]\n * [style.color] <<- index\n * ```\n * In the above case adding `[style.color]` will produce a duplicate because there is already a\n * `[style]` binding which is a Map and as such is fully dynamic and could produce `color` or\n * `width`.\n *\n * NOTE: Once `[style]` (Map) is added into the system all things are mapped as duplicates.\n * NOTE: We use `style` as example, but same logic is applied to `class`es as well.\n *\n * @param tData `TData` where the linked list is stored.\n * @param tStylingKey `TStylingKeyPrimitive` which contains the value to compare to other keys in\n * the linked list.\n * @param index Starting location in the linked list to search from\n * @param isPrevDir Direction.\n * - `true` for previous (lower priority);\n * - `false` for next (higher priority).\n */\nfunction markDuplicates(tData, tStylingKey, index, isPrevDir, isClassBinding) {\n const tStylingAtIndex = tData[index + 1];\n const isMap = tStylingKey === null;\n let cursor = isPrevDir ? getTStylingRangePrev(tStylingAtIndex) : getTStylingRangeNext(tStylingAtIndex);\n let foundDuplicate = false;\n // We keep iterating as long as we have a cursor\n // AND either:\n // - we found what we are looking for, OR\n // - we are a map in which case we have to continue searching even after we find what we were\n // looking for since we are a wild card and everything needs to be flipped to duplicate.\n while (cursor !== 0 && (foundDuplicate === false || isMap)) {\n ngDevMode && assertIndexInRange(tData, cursor);\n const tStylingValueAtCursor = tData[cursor];\n const tStyleRangeAtCursor = tData[cursor + 1];\n if (isStylingMatch(tStylingValueAtCursor, tStylingKey)) {\n foundDuplicate = true;\n tData[cursor + 1] = isPrevDir ? setTStylingRangeNextDuplicate(tStyleRangeAtCursor) :\n setTStylingRangePrevDuplicate(tStyleRangeAtCursor);\n }\n cursor = isPrevDir ? getTStylingRangePrev(tStyleRangeAtCursor) :\n getTStylingRangeNext(tStyleRangeAtCursor);\n }\n if (foundDuplicate) {\n // if we found a duplicate, than mark ourselves.\n tData[index + 1] = isPrevDir ? setTStylingRangePrevDuplicate(tStylingAtIndex) :\n setTStylingRangeNextDuplicate(tStylingAtIndex);\n }\n}\n/**\n * Determines if two `TStylingKey`s are a match.\n *\n * When computing whether a binding contains a duplicate, we need to compare if the instruction\n * `TStylingKey` has a match.\n *\n * Here are examples of `TStylingKey`s which match given `tStylingKeyCursor` is:\n * - `color`\n * - `color` // Match another color\n * - `null` // That means that `tStylingKey` is a `classMap`/`styleMap` instruction\n * - `['', 'color', 'other', true]` // wrapped `color` so match\n * - `['', null, 'other', true]` // wrapped `null` so match\n * - `['', 'width', 'color', 'value']` // wrapped static value contains a match on `'color'`\n * - `null` // `tStylingKeyCursor` always match as it is `classMap`/`styleMap` instruction\n *\n * @param tStylingKeyCursor\n * @param tStylingKey\n */\nfunction isStylingMatch(tStylingKeyCursor, tStylingKey) {\n ngDevMode &&\n assertNotEqual(Array.isArray(tStylingKey), true, 'Expected that \\'tStylingKey\\' has been unwrapped');\n if (tStylingKeyCursor === null || // If the cursor is `null` it means that we have map at that\n // location so we must assume that we have a match.\n tStylingKey == null || // If `tStylingKey` is `null` then it is a map therefor assume that it\n // contains a match.\n (Array.isArray(tStylingKeyCursor) ? tStylingKeyCursor[1] : tStylingKeyCursor) ===\n tStylingKey // If the keys match explicitly than we are a match.\n ) {\n return true;\n }\n else if (Array.isArray(tStylingKeyCursor) && typeof tStylingKey === 'string') {\n // if we did not find a match, but `tStylingKeyCursor` is `KeyValueArray` that means cursor has\n // statics and we need to check those as well.\n return keyValueArrayIndexOf(tStylingKeyCursor, tStylingKey) >=\n 0; // see if we are matching the key\n }\n return false;\n}\n\n// Global state of the parser. (This makes parser non-reentrant, but that is not an issue)\nconst parserState = {\n textEnd: 0,\n key: 0,\n keyEnd: 0,\n value: 0,\n valueEnd: 0,\n};\n/**\n * Retrieves the last parsed `key` of style.\n * @param text the text to substring the key from.\n */\nfunction getLastParsedKey(text) {\n return text.substring(parserState.key, parserState.keyEnd);\n}\n/**\n * Retrieves the last parsed `value` of style.\n * @param text the text to substring the key from.\n */\nfunction getLastParsedValue(text) {\n return text.substring(parserState.value, parserState.valueEnd);\n}\n/**\n * Initializes `className` string for parsing and parses the first token.\n *\n * This function is intended to be used in this format:\n * ```\n * for (let i = parseClassName(text); i >= 0; i = parseClassNameNext(text, i)) {\n * const key = getLastParsedKey();\n * ...\n * }\n * ```\n * @param text `className` to parse\n * @returns index where the next invocation of `parseClassNameNext` should resume.\n */\nfunction parseClassName(text) {\n resetParserState(text);\n return parseClassNameNext(text, consumeWhitespace(text, 0, parserState.textEnd));\n}\n/**\n * Parses next `className` token.\n *\n * This function is intended to be used in this format:\n * ```\n * for (let i = parseClassName(text); i >= 0; i = parseClassNameNext(text, i)) {\n * const key = getLastParsedKey();\n * ...\n * }\n * ```\n *\n * @param text `className` to parse\n * @param index where the parsing should resume.\n * @returns index where the next invocation of `parseClassNameNext` should resume.\n */\nfunction parseClassNameNext(text, index) {\n const end = parserState.textEnd;\n if (end === index) {\n return -1;\n }\n index = parserState.keyEnd = consumeClassToken(text, parserState.key = index, end);\n return consumeWhitespace(text, index, end);\n}\n/**\n * Initializes `cssText` string for parsing and parses the first key/values.\n *\n * This function is intended to be used in this format:\n * ```\n * for (let i = parseStyle(text); i >= 0; i = parseStyleNext(text, i))) {\n * const key = getLastParsedKey();\n * const value = getLastParsedValue();\n * ...\n * }\n * ```\n * @param text `cssText` to parse\n * @returns index where the next invocation of `parseStyleNext` should resume.\n */\nfunction parseStyle(text) {\n resetParserState(text);\n return parseStyleNext(text, consumeWhitespace(text, 0, parserState.textEnd));\n}\n/**\n * Parses the next `cssText` key/values.\n *\n * This function is intended to be used in this format:\n * ```\n * for (let i = parseStyle(text); i >= 0; i = parseStyleNext(text, i))) {\n * const key = getLastParsedKey();\n * const value = getLastParsedValue();\n * ...\n * }\n *\n * @param text `cssText` to parse\n * @param index where the parsing should resume.\n * @returns index where the next invocation of `parseStyleNext` should resume.\n */\nfunction parseStyleNext(text, startIndex) {\n const end = parserState.textEnd;\n let index = parserState.key = consumeWhitespace(text, startIndex, end);\n if (end === index) {\n // we reached an end so just quit\n return -1;\n }\n index = parserState.keyEnd = consumeStyleKey(text, index, end);\n index = consumeSeparator(text, index, end, 58 /* CharCode.COLON */);\n index = parserState.value = consumeWhitespace(text, index, end);\n index = parserState.valueEnd = consumeStyleValue(text, index, end);\n return consumeSeparator(text, index, end, 59 /* CharCode.SEMI_COLON */);\n}\n/**\n * Reset the global state of the styling parser.\n * @param text The styling text to parse.\n */\nfunction resetParserState(text) {\n parserState.key = 0;\n parserState.keyEnd = 0;\n parserState.value = 0;\n parserState.valueEnd = 0;\n parserState.textEnd = text.length;\n}\n/**\n * Returns index of next non-whitespace character.\n *\n * @param text Text to scan\n * @param startIndex Starting index of character where the scan should start.\n * @param endIndex Ending index of character where the scan should end.\n * @returns Index of next non-whitespace character (May be the same as `start` if no whitespace at\n * that location.)\n */\nfunction consumeWhitespace(text, startIndex, endIndex) {\n while (startIndex < endIndex && text.charCodeAt(startIndex) <= 32 /* CharCode.SPACE */) {\n startIndex++;\n }\n return startIndex;\n}\n/**\n * Returns index of last char in class token.\n *\n * @param text Text to scan\n * @param startIndex Starting index of character where the scan should start.\n * @param endIndex Ending index of character where the scan should end.\n * @returns Index after last char in class token.\n */\nfunction consumeClassToken(text, startIndex, endIndex) {\n while (startIndex < endIndex && text.charCodeAt(startIndex) > 32 /* CharCode.SPACE */) {\n startIndex++;\n }\n return startIndex;\n}\n/**\n * Consumes all of the characters belonging to style key and token.\n *\n * @param text Text to scan\n * @param startIndex Starting index of character where the scan should start.\n * @param endIndex Ending index of character where the scan should end.\n * @returns Index after last style key character.\n */\nfunction consumeStyleKey(text, startIndex, endIndex) {\n let ch;\n while (startIndex < endIndex &&\n ((ch = text.charCodeAt(startIndex)) === 45 /* CharCode.DASH */ || ch === 95 /* CharCode.UNDERSCORE */ ||\n ((ch & -33 /* CharCode.UPPER_CASE */) >= 65 /* CharCode.A */ && (ch & -33 /* CharCode.UPPER_CASE */) <= 90 /* CharCode.Z */) ||\n (ch >= 48 /* CharCode.ZERO */ && ch <= 57 /* CharCode.NINE */))) {\n startIndex++;\n }\n return startIndex;\n}\n/**\n * Consumes all whitespace and the separator `:` after the style key.\n *\n * @param text Text to scan\n * @param startIndex Starting index of character where the scan should start.\n * @param endIndex Ending index of character where the scan should end.\n * @returns Index after separator and surrounding whitespace.\n */\nfunction consumeSeparator(text, startIndex, endIndex, separator) {\n startIndex = consumeWhitespace(text, startIndex, endIndex);\n if (startIndex < endIndex) {\n if (ngDevMode && text.charCodeAt(startIndex) !== separator) {\n malformedStyleError(text, String.fromCharCode(separator), startIndex);\n }\n startIndex++;\n }\n return startIndex;\n}\n/**\n * Consumes style value honoring `url()` and `\"\"` text.\n *\n * @param text Text to scan\n * @param startIndex Starting index of character where the scan should start.\n * @param endIndex Ending index of character where the scan should end.\n * @returns Index after last style value character.\n */\nfunction consumeStyleValue(text, startIndex, endIndex) {\n let ch1 = -1; // 1st previous character\n let ch2 = -1; // 2nd previous character\n let ch3 = -1; // 3rd previous character\n let i = startIndex;\n let lastChIndex = i;\n while (i < endIndex) {\n const ch = text.charCodeAt(i++);\n if (ch === 59 /* CharCode.SEMI_COLON */) {\n return lastChIndex;\n }\n else if (ch === 34 /* CharCode.DOUBLE_QUOTE */ || ch === 39 /* CharCode.SINGLE_QUOTE */) {\n lastChIndex = i = consumeQuotedText(text, ch, i, endIndex);\n }\n else if (startIndex ===\n i - 4 && // We have seen only 4 characters so far \"URL(\" (Ignore \"foo_URL()\")\n ch3 === 85 /* CharCode.U */ &&\n ch2 === 82 /* CharCode.R */ && ch1 === 76 /* CharCode.L */ && ch === 40 /* CharCode.OPEN_PAREN */) {\n lastChIndex = i = consumeQuotedText(text, 41 /* CharCode.CLOSE_PAREN */, i, endIndex);\n }\n else if (ch > 32 /* CharCode.SPACE */) {\n // if we have a non-whitespace character then capture its location\n lastChIndex = i;\n }\n ch3 = ch2;\n ch2 = ch1;\n ch1 = ch & -33 /* CharCode.UPPER_CASE */;\n }\n return lastChIndex;\n}\n/**\n * Consumes all of the quoted characters.\n *\n * @param text Text to scan\n * @param quoteCharCode CharCode of either `\"` or `'` quote or `)` for `url(...)`.\n * @param startIndex Starting index of character where the scan should start.\n * @param endIndex Ending index of character where the scan should end.\n * @returns Index after quoted characters.\n */\nfunction consumeQuotedText(text, quoteCharCode, startIndex, endIndex) {\n let ch1 = -1; // 1st previous character\n let index = startIndex;\n while (index < endIndex) {\n const ch = text.charCodeAt(index++);\n if (ch == quoteCharCode && ch1 !== 92 /* CharCode.BACK_SLASH */) {\n return index;\n }\n if (ch == 92 /* CharCode.BACK_SLASH */ && ch1 === 92 /* CharCode.BACK_SLASH */) {\n // two back slashes cancel each other out. For example `\"\\\\\"` should properly end the\n // quotation. (It should not assume that the last `\"` is escaped.)\n ch1 = 0;\n }\n else {\n ch1 = ch;\n }\n }\n throw ngDevMode ? malformedStyleError(text, String.fromCharCode(quoteCharCode), endIndex) :\n new Error();\n}\nfunction malformedStyleError(text, expecting, index) {\n ngDevMode && assertEqual(typeof text === 'string', true, 'String expected here');\n throw throwError(`Malformed style at location ${index} in string '` + text.substring(0, index) + '[>>' +\n text.substring(index, index + 1) + '<<]' + text.slice(index + 1) +\n `'. Expecting '${expecting}'.`);\n}\n\n/**\n * Update a style binding on an element with the provided value.\n *\n * If the style value is falsy then it will be removed from the element\n * (or assigned a different value depending if there are any styles placed\n * on the element with `styleMap` or any static styles that are\n * present from when the element was created with `styling`).\n *\n * Note that the styling element is updated as part of `stylingApply`.\n *\n * @param prop A valid CSS property.\n * @param value New value to write (`null` or an empty string to remove).\n * @param suffix Optional suffix. Used with scalar values to add unit such as `px`.\n *\n * Note that this will apply the provided style value to the host element if this function is called\n * within a host binding function.\n *\n * @codeGenApi\n */\nfunction ɵɵstyleProp(prop, value, suffix) {\n checkStylingProperty(prop, value, suffix, false);\n return ɵɵstyleProp;\n}\n/**\n * Update a class binding on an element with the provided value.\n *\n * This instruction is meant to handle the `[class.foo]=\"exp\"` case and,\n * therefore, the class binding itself must already be allocated using\n * `styling` within the creation block.\n *\n * @param prop A valid CSS class (only one).\n * @param value A true/false value which will turn the class on or off.\n *\n * Note that this will apply the provided class value to the host element if this function\n * is called within a host binding function.\n *\n * @codeGenApi\n */\nfunction ɵɵclassProp(className, value) {\n checkStylingProperty(className, value, null, true);\n return ɵɵclassProp;\n}\n/**\n * Update style bindings using an object literal on an element.\n *\n * This instruction is meant to apply styling via the `[style]=\"exp\"` template bindings.\n * When styles are applied to the element they will then be updated with respect to\n * any styles/classes set via `styleProp`. If any styles are set to falsy\n * then they will be removed from the element.\n *\n * Note that the styling instruction will not be applied until `stylingApply` is called.\n *\n * @param styles A key/value style map of the styles that will be applied to the given element.\n * Any missing styles (that have already been applied to the element beforehand) will be\n * removed (unset) from the element's styling.\n *\n * Note that this will apply the provided styleMap value to the host element if this function\n * is called within a host binding.\n *\n * @codeGenApi\n */\nfunction ɵɵstyleMap(styles) {\n checkStylingMap(styleKeyValueArraySet, styleStringParser, styles, false);\n}\n/**\n * Parse text as style and add values to KeyValueArray.\n *\n * This code is pulled out to a separate function so that it can be tree shaken away if it is not\n * needed. It is only referenced from `ɵɵstyleMap`.\n *\n * @param keyValueArray KeyValueArray to add parsed values to.\n * @param text text to parse.\n */\nfunction styleStringParser(keyValueArray, text) {\n for (let i = parseStyle(text); i >= 0; i = parseStyleNext(text, i)) {\n styleKeyValueArraySet(keyValueArray, getLastParsedKey(text), getLastParsedValue(text));\n }\n}\n/**\n * Update class bindings using an object literal or class-string on an element.\n *\n * This instruction is meant to apply styling via the `[class]=\"exp\"` template bindings.\n * When classes are applied to the element they will then be updated with\n * respect to any styles/classes set via `classProp`. If any\n * classes are set to falsy then they will be removed from the element.\n *\n * Note that the styling instruction will not be applied until `stylingApply` is called.\n * Note that this will the provided classMap value to the host element if this function is called\n * within a host binding.\n *\n * @param classes A key/value map or string of CSS classes that will be added to the\n * given element. Any missing classes (that have already been applied to the element\n * beforehand) will be removed (unset) from the element's list of CSS classes.\n *\n * @codeGenApi\n */\nfunction ɵɵclassMap(classes) {\n checkStylingMap(classKeyValueArraySet, classStringParser, classes, true);\n}\n/**\n * Parse text as class and add values to KeyValueArray.\n *\n * This code is pulled out to a separate function so that it can be tree shaken away if it is not\n * needed. It is only referenced from `ɵɵclassMap`.\n *\n * @param keyValueArray KeyValueArray to add parsed values to.\n * @param text text to parse.\n */\nfunction classStringParser(keyValueArray, text) {\n for (let i = parseClassName(text); i >= 0; i = parseClassNameNext(text, i)) {\n keyValueArraySet(keyValueArray, getLastParsedKey(text), true);\n }\n}\n/**\n * Common code between `ɵɵclassProp` and `ɵɵstyleProp`.\n *\n * @param prop property name.\n * @param value binding value.\n * @param suffix suffix for the property (e.g. `em` or `px`)\n * @param isClassBased `true` if `class` change (`false` if `style`)\n */\nfunction checkStylingProperty(prop, value, suffix, isClassBased) {\n const lView = getLView();\n const tView = getTView();\n // Styling instructions use 2 slots per binding.\n // 1. one for the value / TStylingKey\n // 2. one for the intermittent-value / TStylingRange\n const bindingIndex = incrementBindingIndex(2);\n if (tView.firstUpdatePass) {\n stylingFirstUpdatePass(tView, prop, bindingIndex, isClassBased);\n }\n if (value !== NO_CHANGE && bindingUpdated(lView, bindingIndex, value)) {\n const tNode = tView.data[getSelectedIndex()];\n updateStyling(tView, tNode, lView, lView[RENDERER], prop, lView[bindingIndex + 1] = normalizeSuffix(value, suffix), isClassBased, bindingIndex);\n }\n}\n/**\n * Common code between `ɵɵclassMap` and `ɵɵstyleMap`.\n *\n * @param keyValueArraySet (See `keyValueArraySet` in \"util/array_utils\") Gets passed in as a\n * function so that `style` can be processed. This is done for tree shaking purposes.\n * @param stringParser Parser used to parse `value` if `string`. (Passed in as `style` and `class`\n * have different parsers.)\n * @param value bound value from application\n * @param isClassBased `true` if `class` change (`false` if `style`)\n */\nfunction checkStylingMap(keyValueArraySet, stringParser, value, isClassBased) {\n const tView = getTView();\n const bindingIndex = incrementBindingIndex(2);\n if (tView.firstUpdatePass) {\n stylingFirstUpdatePass(tView, null, bindingIndex, isClassBased);\n }\n const lView = getLView();\n if (value !== NO_CHANGE && bindingUpdated(lView, bindingIndex, value)) {\n // `getSelectedIndex()` should be here (rather than in instruction) so that it is guarded by the\n // if so as not to read unnecessarily.\n const tNode = tView.data[getSelectedIndex()];\n if (hasStylingInputShadow(tNode, isClassBased) && !isInHostBindings(tView, bindingIndex)) {\n if (ngDevMode) {\n // verify that if we are shadowing then `TData` is appropriately marked so that we skip\n // processing this binding in styling resolution.\n const tStylingKey = tView.data[bindingIndex];\n assertEqual(Array.isArray(tStylingKey) ? tStylingKey[1] : tStylingKey, false, 'Styling linked list shadow input should be marked as \\'false\\'');\n }\n // VE does not concatenate the static portion like we are doing here.\n // Instead VE just ignores the static completely if dynamic binding is present.\n // Because of locality we have already set the static portion because we don't know if there\n // is a dynamic portion until later. If we would ignore the static portion it would look like\n // the binding has removed it. This would confuse `[ngStyle]`/`[ngClass]` to do the wrong\n // thing as it would think that the static portion was removed. For this reason we\n // concatenate it so that `[ngStyle]`/`[ngClass]` can continue to work on changed.\n let staticPrefix = isClassBased ? tNode.classesWithoutHost : tNode.stylesWithoutHost;\n ngDevMode && isClassBased === false && staticPrefix !== null &&\n assertEqual(staticPrefix.endsWith(';'), true, 'Expecting static portion to end with \\';\\'');\n if (staticPrefix !== null) {\n // We want to make sure that falsy values of `value` become empty strings.\n value = concatStringsWithSpace(staticPrefix, value ? value : '');\n }\n // Given `<div [style] my-dir>` such that `my-dir` has `@Input('style')`.\n // This takes over the `[style]` binding. (Same for `[class]`)\n setDirectiveInputsWhichShadowsStyling(tView, tNode, lView, value, isClassBased);\n }\n else {\n updateStylingMap(tView, tNode, lView, lView[RENDERER], lView[bindingIndex + 1], lView[bindingIndex + 1] = toStylingKeyValueArray(keyValueArraySet, stringParser, value), isClassBased, bindingIndex);\n }\n }\n}\n/**\n * Determines when the binding is in `hostBindings` section\n *\n * @param tView Current `TView`\n * @param bindingIndex index of binding which we would like if it is in `hostBindings`\n */\nfunction isInHostBindings(tView, bindingIndex) {\n // All host bindings are placed after the expando section.\n return bindingIndex >= tView.expandoStartIndex;\n}\n/**\n * Collects the necessary information to insert the binding into a linked list of style bindings\n * using `insertTStylingBinding`.\n *\n * @param tView `TView` where the binding linked list will be stored.\n * @param tStylingKey Property/key of the binding.\n * @param bindingIndex Index of binding associated with the `prop`\n * @param isClassBased `true` if `class` change (`false` if `style`)\n */\nfunction stylingFirstUpdatePass(tView, tStylingKey, bindingIndex, isClassBased) {\n ngDevMode && assertFirstUpdatePass(tView);\n const tData = tView.data;\n if (tData[bindingIndex + 1] === null) {\n // The above check is necessary because we don't clear first update pass until first successful\n // (no exception) template execution. This prevents the styling instruction from double adding\n // itself to the list.\n // `getSelectedIndex()` should be here (rather than in instruction) so that it is guarded by the\n // if so as not to read unnecessarily.\n const tNode = tData[getSelectedIndex()];\n ngDevMode && assertDefined(tNode, 'TNode expected');\n const isHostBindings = isInHostBindings(tView, bindingIndex);\n if (hasStylingInputShadow(tNode, isClassBased) && tStylingKey === null && !isHostBindings) {\n // `tStylingKey === null` implies that we are either `[style]` or `[class]` binding.\n // If there is a directive which uses `@Input('style')` or `@Input('class')` than\n // we need to neutralize this binding since that directive is shadowing it.\n // We turn this into a noop by setting the key to `false`\n tStylingKey = false;\n }\n tStylingKey = wrapInStaticStylingKey(tData, tNode, tStylingKey, isClassBased);\n insertTStylingBinding(tData, tNode, tStylingKey, bindingIndex, isHostBindings, isClassBased);\n }\n}\n/**\n * Adds static styling information to the binding if applicable.\n *\n * The linked list of styles not only stores the list and keys, but also stores static styling\n * information on some of the keys. This function determines if the key should contain the styling\n * information and computes it.\n *\n * See `TStylingStatic` for more details.\n *\n * @param tData `TData` where the linked list is stored.\n * @param tNode `TNode` for which the styling is being computed.\n * @param stylingKey `TStylingKeyPrimitive` which may need to be wrapped into `TStylingKey`\n * @param isClassBased `true` if `class` (`false` if `style`)\n */\nfunction wrapInStaticStylingKey(tData, tNode, stylingKey, isClassBased) {\n const hostDirectiveDef = getCurrentDirectiveDef(tData);\n let residual = isClassBased ? tNode.residualClasses : tNode.residualStyles;\n if (hostDirectiveDef === null) {\n // We are in template node.\n // If template node already had styling instruction then it has already collected the static\n // styling and there is no need to collect them again. We know that we are the first styling\n // instruction because the `TNode.*Bindings` points to 0 (nothing has been inserted yet).\n const isFirstStylingInstructionInTemplate = (isClassBased ? tNode.classBindings : tNode.styleBindings) === 0;\n if (isFirstStylingInstructionInTemplate) {\n // It would be nice to be able to get the statics from `mergeAttrs`, however, at this point\n // they are already merged and it would not be possible to figure which property belongs where\n // in the priority.\n stylingKey = collectStylingFromDirectives(null, tData, tNode, stylingKey, isClassBased);\n stylingKey = collectStylingFromTAttrs(stylingKey, tNode.attrs, isClassBased);\n // We know that if we have styling binding in template we can't have residual.\n residual = null;\n }\n }\n else {\n // We are in host binding node and there was no binding instruction in template node.\n // This means that we need to compute the residual.\n const directiveStylingLast = tNode.directiveStylingLast;\n const isFirstStylingInstructionInHostBinding = directiveStylingLast === -1 || tData[directiveStylingLast] !== hostDirectiveDef;\n if (isFirstStylingInstructionInHostBinding) {\n stylingKey =\n collectStylingFromDirectives(hostDirectiveDef, tData, tNode, stylingKey, isClassBased);\n if (residual === null) {\n // - If `null` than either:\n // - Template styling instruction already ran and it has consumed the static\n // styling into its `TStylingKey` and so there is no need to update residual. Instead\n // we need to update the `TStylingKey` associated with the first template node\n // instruction. OR\n // - Some other styling instruction ran and determined that there are no residuals\n let templateStylingKey = getTemplateHeadTStylingKey(tData, tNode, isClassBased);\n if (templateStylingKey !== undefined && Array.isArray(templateStylingKey)) {\n // Only recompute if `templateStylingKey` had static values. (If no static value found\n // then there is nothing to do since this operation can only produce less static keys, not\n // more.)\n templateStylingKey = collectStylingFromDirectives(null, tData, tNode, templateStylingKey[1] /* unwrap previous statics */, isClassBased);\n templateStylingKey =\n collectStylingFromTAttrs(templateStylingKey, tNode.attrs, isClassBased);\n setTemplateHeadTStylingKey(tData, tNode, isClassBased, templateStylingKey);\n }\n }\n else {\n // We only need to recompute residual if it is not `null`.\n // - If existing residual (implies there was no template styling). This means that some of\n // the statics may have moved from the residual to the `stylingKey` and so we have to\n // recompute.\n // - If `undefined` this is the first time we are running.\n residual = collectResidual(tData, tNode, isClassBased);\n }\n }\n }\n if (residual !== undefined) {\n isClassBased ? (tNode.residualClasses = residual) : (tNode.residualStyles = residual);\n }\n return stylingKey;\n}\n/**\n * Retrieve the `TStylingKey` for the template styling instruction.\n *\n * This is needed since `hostBinding` styling instructions are inserted after the template\n * instruction. While the template instruction needs to update the residual in `TNode` the\n * `hostBinding` instructions need to update the `TStylingKey` of the template instruction because\n * the template instruction is downstream from the `hostBindings` instructions.\n *\n * @param tData `TData` where the linked list is stored.\n * @param tNode `TNode` for which the styling is being computed.\n * @param isClassBased `true` if `class` (`false` if `style`)\n * @return `TStylingKey` if found or `undefined` if not found.\n */\nfunction getTemplateHeadTStylingKey(tData, tNode, isClassBased) {\n const bindings = isClassBased ? tNode.classBindings : tNode.styleBindings;\n if (getTStylingRangeNext(bindings) === 0) {\n // There does not seem to be a styling instruction in the `template`.\n return undefined;\n }\n return tData[getTStylingRangePrev(bindings)];\n}\n/**\n * Update the `TStylingKey` of the first template instruction in `TNode`.\n *\n * Logically `hostBindings` styling instructions are of lower priority than that of the template.\n * However, they execute after the template styling instructions. This means that they get inserted\n * in front of the template styling instructions.\n *\n * If we have a template styling instruction and a new `hostBindings` styling instruction is\n * executed it means that it may need to steal static fields from the template instruction. This\n * method allows us to update the first template instruction `TStylingKey` with a new value.\n *\n * Assume:\n * ```\n * <div my-dir style=\"color: red\" [style.color]=\"tmplExp\"></div>\n *\n * @Directive({\n * host: {\n * 'style': 'width: 100px',\n * '[style.color]': 'dirExp',\n * }\n * })\n * class MyDir {}\n * ```\n *\n * when `[style.color]=\"tmplExp\"` executes it creates this data structure.\n * ```\n * ['', 'color', 'color', 'red', 'width', '100px'],\n * ```\n *\n * The reason for this is that the template instruction does not know if there are styling\n * instructions and must assume that there are none and must collect all of the static styling.\n * (both\n * `color' and 'width`)\n *\n * When `'[style.color]': 'dirExp',` executes we need to insert a new data into the linked list.\n * ```\n * ['', 'color', 'width', '100px'], // newly inserted\n * ['', 'color', 'color', 'red', 'width', '100px'], // this is wrong\n * ```\n *\n * Notice that the template statics is now wrong as it incorrectly contains `width` so we need to\n * update it like so:\n * ```\n * ['', 'color', 'width', '100px'],\n * ['', 'color', 'color', 'red'], // UPDATE\n * ```\n *\n * @param tData `TData` where the linked list is stored.\n * @param tNode `TNode` for which the styling is being computed.\n * @param isClassBased `true` if `class` (`false` if `style`)\n * @param tStylingKey New `TStylingKey` which is replacing the old one.\n */\nfunction setTemplateHeadTStylingKey(tData, tNode, isClassBased, tStylingKey) {\n const bindings = isClassBased ? tNode.classBindings : tNode.styleBindings;\n ngDevMode &&\n assertNotEqual(getTStylingRangeNext(bindings), 0, 'Expecting to have at least one template styling binding.');\n tData[getTStylingRangePrev(bindings)] = tStylingKey;\n}\n/**\n * Collect all static values after the current `TNode.directiveStylingLast` index.\n *\n * Collect the remaining styling information which has not yet been collected by an existing\n * styling instruction.\n *\n * @param tData `TData` where the `DirectiveDefs` are stored.\n * @param tNode `TNode` which contains the directive range.\n * @param isClassBased `true` if `class` (`false` if `style`)\n */\nfunction collectResidual(tData, tNode, isClassBased) {\n let residual = undefined;\n const directiveEnd = tNode.directiveEnd;\n ngDevMode &&\n assertNotEqual(tNode.directiveStylingLast, -1, 'By the time this function gets called at least one hostBindings-node styling instruction must have executed.');\n // We add `1 + tNode.directiveStart` because we need to skip the current directive (as we are\n // collecting things after the last `hostBindings` directive which had a styling instruction.)\n for (let i = 1 + tNode.directiveStylingLast; i < directiveEnd; i++) {\n const attrs = tData[i].hostAttrs;\n residual = collectStylingFromTAttrs(residual, attrs, isClassBased);\n }\n return collectStylingFromTAttrs(residual, tNode.attrs, isClassBased);\n}\n/**\n * Collect the static styling information with lower priority than `hostDirectiveDef`.\n *\n * (This is opposite of residual styling.)\n *\n * @param hostDirectiveDef `DirectiveDef` for which we want to collect lower priority static\n * styling. (Or `null` if template styling)\n * @param tData `TData` where the linked list is stored.\n * @param tNode `TNode` for which the styling is being computed.\n * @param stylingKey Existing `TStylingKey` to update or wrap.\n * @param isClassBased `true` if `class` (`false` if `style`)\n */\nfunction collectStylingFromDirectives(hostDirectiveDef, tData, tNode, stylingKey, isClassBased) {\n // We need to loop because there can be directives which have `hostAttrs` but don't have\n // `hostBindings` so this loop catches up to the current directive..\n let currentDirective = null;\n const directiveEnd = tNode.directiveEnd;\n let directiveStylingLast = tNode.directiveStylingLast;\n if (directiveStylingLast === -1) {\n directiveStylingLast = tNode.directiveStart;\n }\n else {\n directiveStylingLast++;\n }\n while (directiveStylingLast < directiveEnd) {\n currentDirective = tData[directiveStylingLast];\n ngDevMode && assertDefined(currentDirective, 'expected to be defined');\n stylingKey = collectStylingFromTAttrs(stylingKey, currentDirective.hostAttrs, isClassBased);\n if (currentDirective === hostDirectiveDef)\n break;\n directiveStylingLast++;\n }\n if (hostDirectiveDef !== null) {\n // we only advance the styling cursor if we are collecting data from host bindings.\n // Template executes before host bindings and so if we would update the index,\n // host bindings would not get their statics.\n tNode.directiveStylingLast = directiveStylingLast;\n }\n return stylingKey;\n}\n/**\n * Convert `TAttrs` into `TStylingStatic`.\n *\n * @param stylingKey existing `TStylingKey` to update or wrap.\n * @param attrs `TAttributes` to process.\n * @param isClassBased `true` if `class` (`false` if `style`)\n */\nfunction collectStylingFromTAttrs(stylingKey, attrs, isClassBased) {\n const desiredMarker = isClassBased ? 1 /* AttributeMarker.Classes */ : 2 /* AttributeMarker.Styles */;\n let currentMarker = -1 /* AttributeMarker.ImplicitAttributes */;\n if (attrs !== null) {\n for (let i = 0; i < attrs.length; i++) {\n const item = attrs[i];\n if (typeof item === 'number') {\n currentMarker = item;\n }\n else {\n if (currentMarker === desiredMarker) {\n if (!Array.isArray(stylingKey)) {\n stylingKey = stylingKey === undefined ? [] : ['', stylingKey];\n }\n keyValueArraySet(stylingKey, item, isClassBased ? true : attrs[++i]);\n }\n }\n }\n }\n return stylingKey === undefined ? null : stylingKey;\n}\n/**\n * Convert user input to `KeyValueArray`.\n *\n * This function takes user input which could be `string`, Object literal, or iterable and converts\n * it into a consistent representation. The output of this is `KeyValueArray` (which is an array\n * where\n * even indexes contain keys and odd indexes contain values for those keys).\n *\n * The advantage of converting to `KeyValueArray` is that we can perform diff in an input\n * independent\n * way.\n * (ie we can compare `foo bar` to `['bar', 'baz'] and determine a set of changes which need to be\n * applied)\n *\n * The fact that `KeyValueArray` is sorted is very important because it allows us to compute the\n * difference in linear fashion without the need to allocate any additional data.\n *\n * For example if we kept this as a `Map` we would have to iterate over previous `Map` to determine\n * which values need to be deleted, over the new `Map` to determine additions, and we would have to\n * keep additional `Map` to keep track of duplicates or items which have not yet been visited.\n *\n * @param keyValueArraySet (See `keyValueArraySet` in \"util/array_utils\") Gets passed in as a\n * function so that `style` can be processed. This is done\n * for tree shaking purposes.\n * @param stringParser The parser is passed in so that it will be tree shakable. See\n * `styleStringParser` and `classStringParser`\n * @param value The value to parse/convert to `KeyValueArray`\n */\nfunction toStylingKeyValueArray(keyValueArraySet, stringParser, value) {\n if (value == null /*|| value === undefined */ || value === '')\n return EMPTY_ARRAY;\n const styleKeyValueArray = [];\n const unwrappedValue = unwrapSafeValue(value);\n if (Array.isArray(unwrappedValue)) {\n for (let i = 0; i < unwrappedValue.length; i++) {\n keyValueArraySet(styleKeyValueArray, unwrappedValue[i], true);\n }\n }\n else if (typeof unwrappedValue === 'object') {\n for (const key in unwrappedValue) {\n if (unwrappedValue.hasOwnProperty(key)) {\n keyValueArraySet(styleKeyValueArray, key, unwrappedValue[key]);\n }\n }\n }\n else if (typeof unwrappedValue === 'string') {\n stringParser(styleKeyValueArray, unwrappedValue);\n }\n else {\n ngDevMode &&\n throwError('Unsupported styling type ' + typeof unwrappedValue + ': ' + unwrappedValue);\n }\n return styleKeyValueArray;\n}\n/**\n * Set a `value` for a `key`.\n *\n * See: `keyValueArraySet` for details\n *\n * @param keyValueArray KeyValueArray to add to.\n * @param key Style key to add.\n * @param value The value to set.\n */\nfunction styleKeyValueArraySet(keyValueArray, key, value) {\n keyValueArraySet(keyValueArray, key, unwrapSafeValue(value));\n}\n/**\n * Class-binding-specific function for setting the `value` for a `key`.\n *\n * See: `keyValueArraySet` for details\n *\n * @param keyValueArray KeyValueArray to add to.\n * @param key Style key to add.\n * @param value The value to set.\n */\nfunction classKeyValueArraySet(keyValueArray, key, value) {\n // We use `classList.add` to eventually add the CSS classes to the DOM node. Any value passed into\n // `add` is stringified and added to the `class` attribute, e.g. even null, undefined or numbers\n // will be added. Stringify the key here so that our internal data structure matches the value in\n // the DOM. The only exceptions are empty strings and strings that contain spaces for which\n // the browser throws an error. We ignore such values, because the error is somewhat cryptic.\n const stringKey = String(key);\n if (stringKey !== '' && !stringKey.includes(' ')) {\n keyValueArraySet(keyValueArray, stringKey, value);\n }\n}\n/**\n * Update map based styling.\n *\n * Map based styling could be anything which contains more than one binding. For example `string`,\n * or object literal. Dealing with all of these types would complicate the logic so\n * instead this function expects that the complex input is first converted into normalized\n * `KeyValueArray`. The advantage of normalization is that we get the values sorted, which makes it\n * very cheap to compute deltas between the previous and current value.\n *\n * @param tView Associated `TView.data` contains the linked list of binding priorities.\n * @param tNode `TNode` where the binding is located.\n * @param lView `LView` contains the values associated with other styling binding at this `TNode`.\n * @param renderer Renderer to use if any updates.\n * @param oldKeyValueArray Previous value represented as `KeyValueArray`\n * @param newKeyValueArray Current value represented as `KeyValueArray`\n * @param isClassBased `true` if `class` (`false` if `style`)\n * @param bindingIndex Binding index of the binding.\n */\nfunction updateStylingMap(tView, tNode, lView, renderer, oldKeyValueArray, newKeyValueArray, isClassBased, bindingIndex) {\n if (oldKeyValueArray === NO_CHANGE) {\n // On first execution the oldKeyValueArray is NO_CHANGE => treat it as empty KeyValueArray.\n oldKeyValueArray = EMPTY_ARRAY;\n }\n let oldIndex = 0;\n let newIndex = 0;\n let oldKey = 0 < oldKeyValueArray.length ? oldKeyValueArray[0] : null;\n let newKey = 0 < newKeyValueArray.length ? newKeyValueArray[0] : null;\n while (oldKey !== null || newKey !== null) {\n ngDevMode && assertLessThan(oldIndex, 999, 'Are we stuck in infinite loop?');\n ngDevMode && assertLessThan(newIndex, 999, 'Are we stuck in infinite loop?');\n const oldValue = oldIndex < oldKeyValueArray.length ? oldKeyValueArray[oldIndex + 1] : undefined;\n const newValue = newIndex < newKeyValueArray.length ? newKeyValueArray[newIndex + 1] : undefined;\n let setKey = null;\n let setValue = undefined;\n if (oldKey === newKey) {\n // UPDATE: Keys are equal => new value is overwriting old value.\n oldIndex += 2;\n newIndex += 2;\n if (oldValue !== newValue) {\n setKey = newKey;\n setValue = newValue;\n }\n }\n else if (newKey === null || oldKey !== null && oldKey < newKey) {\n // DELETE: oldKey key is missing or we did not find the oldKey in the newValue\n // (because the keyValueArray is sorted and `newKey` is found later alphabetically).\n // `\"background\" < \"color\"` so we need to delete `\"background\"` because it is not found in the\n // new array.\n oldIndex += 2;\n setKey = oldKey;\n }\n else {\n // CREATE: newKey's is earlier alphabetically than oldKey's (or no oldKey) => we have new key.\n // `\"color\" > \"background\"` so we need to add `color` because it is in new array but not in\n // old array.\n ngDevMode && assertDefined(newKey, 'Expecting to have a valid key');\n newIndex += 2;\n setKey = newKey;\n setValue = newValue;\n }\n if (setKey !== null) {\n updateStyling(tView, tNode, lView, renderer, setKey, setValue, isClassBased, bindingIndex);\n }\n oldKey = oldIndex < oldKeyValueArray.length ? oldKeyValueArray[oldIndex] : null;\n newKey = newIndex < newKeyValueArray.length ? newKeyValueArray[newIndex] : null;\n }\n}\n/**\n * Update a simple (property name) styling.\n *\n * This function takes `prop` and updates the DOM to that value. The function takes the binding\n * value as well as binding priority into consideration to determine which value should be written\n * to DOM. (For example it may be determined that there is a higher priority overwrite which blocks\n * the DOM write, or if the value goes to `undefined` a lower priority overwrite may be consulted.)\n *\n * @param tView Associated `TView.data` contains the linked list of binding priorities.\n * @param tNode `TNode` where the binding is located.\n * @param lView `LView` contains the values associated with other styling binding at this `TNode`.\n * @param renderer Renderer to use if any updates.\n * @param prop Either style property name or a class name.\n * @param value Either style value for `prop` or `true`/`false` if `prop` is class.\n * @param isClassBased `true` if `class` (`false` if `style`)\n * @param bindingIndex Binding index of the binding.\n */\nfunction updateStyling(tView, tNode, lView, renderer, prop, value, isClassBased, bindingIndex) {\n if (!(tNode.type & 3 /* TNodeType.AnyRNode */)) {\n // It is possible to have styling on non-elements (such as ng-container).\n // This is rare, but it does happen. In such a case, just ignore the binding.\n return;\n }\n const tData = tView.data;\n const tRange = tData[bindingIndex + 1];\n const higherPriorityValue = getTStylingRangeNextDuplicate(tRange) ?\n findStylingValue(tData, tNode, lView, prop, getTStylingRangeNext(tRange), isClassBased) :\n undefined;\n if (!isStylingValuePresent(higherPriorityValue)) {\n // We don't have a next duplicate, or we did not find a duplicate value.\n if (!isStylingValuePresent(value)) {\n // We should delete current value or restore to lower priority value.\n if (getTStylingRangePrevDuplicate(tRange)) {\n // We have a possible prev duplicate, let's retrieve it.\n value = findStylingValue(tData, null, lView, prop, bindingIndex, isClassBased);\n }\n }\n const rNode = getNativeByIndex(getSelectedIndex(), lView);\n applyStyling(renderer, isClassBased, rNode, prop, value);\n }\n}\n/**\n * Search for styling value with higher priority which is overwriting current value, or a\n * value of lower priority to which we should fall back if the value is `undefined`.\n *\n * When value is being applied at a location, related values need to be consulted.\n * - If there is a higher priority binding, we should be using that one instead.\n * For example `<div [style]=\"{color:exp1}\" [style.color]=\"exp2\">` change to `exp1`\n * requires that we check `exp2` to see if it is set to value other than `undefined`.\n * - If there is a lower priority binding and we are changing to `undefined`\n * For example `<div [style]=\"{color:exp1}\" [style.color]=\"exp2\">` change to `exp2` to\n * `undefined` requires that we check `exp1` (and static values) and use that as new value.\n *\n * NOTE: The styling stores two values.\n * 1. The raw value which came from the application is stored at `index + 0` location. (This value\n * is used for dirty checking).\n * 2. The normalized value is stored at `index + 1`.\n *\n * @param tData `TData` used for traversing the priority.\n * @param tNode `TNode` to use for resolving static styling. Also controls search direction.\n * - `TNode` search next and quit as soon as `isStylingValuePresent(value)` is true.\n * If no value found consult `tNode.residualStyle`/`tNode.residualClass` for default value.\n * - `null` search prev and go all the way to end. Return last value where\n * `isStylingValuePresent(value)` is true.\n * @param lView `LView` used for retrieving the actual values.\n * @param prop Property which we are interested in.\n * @param index Starting index in the linked list of styling bindings where the search should start.\n * @param isClassBased `true` if `class` (`false` if `style`)\n */\nfunction findStylingValue(tData, tNode, lView, prop, index, isClassBased) {\n // `TNode` to use for resolving static styling. Also controls search direction.\n // - `TNode` search next and quit as soon as `isStylingValuePresent(value)` is true.\n // If no value found consult `tNode.residualStyle`/`tNode.residualClass` for default value.\n // - `null` search prev and go all the way to end. Return last value where\n // `isStylingValuePresent(value)` is true.\n const isPrevDirection = tNode === null;\n let value = undefined;\n while (index > 0) {\n const rawKey = tData[index];\n const containsStatics = Array.isArray(rawKey);\n // Unwrap the key if we contain static values.\n const key = containsStatics ? rawKey[1] : rawKey;\n const isStylingMap = key === null;\n let valueAtLViewIndex = lView[index + 1];\n if (valueAtLViewIndex === NO_CHANGE) {\n // In firstUpdatePass the styling instructions create a linked list of styling.\n // On subsequent passes it is possible for a styling instruction to try to read a binding\n // which\n // has not yet executed. In that case we will find `NO_CHANGE` and we should assume that\n // we have `undefined` (or empty array in case of styling-map instruction) instead. This\n // allows the resolution to apply the value (which may later be overwritten when the\n // binding actually executes.)\n valueAtLViewIndex = isStylingMap ? EMPTY_ARRAY : undefined;\n }\n let currentValue = isStylingMap ? keyValueArrayGet(valueAtLViewIndex, prop) :\n (key === prop ? valueAtLViewIndex : undefined);\n if (containsStatics && !isStylingValuePresent(currentValue)) {\n currentValue = keyValueArrayGet(rawKey, prop);\n }\n if (isStylingValuePresent(currentValue)) {\n value = currentValue;\n if (isPrevDirection) {\n return value;\n }\n }\n const tRange = tData[index + 1];\n index = isPrevDirection ? getTStylingRangePrev(tRange) : getTStylingRangeNext(tRange);\n }\n if (tNode !== null) {\n // in case where we are going in next direction AND we did not find anything, we need to\n // consult residual styling\n let residual = isClassBased ? tNode.residualClasses : tNode.residualStyles;\n if (residual != null /** OR residual !=== undefined */) {\n value = keyValueArrayGet(residual, prop);\n }\n }\n return value;\n}\n/**\n * Determines if the binding value should be used (or if the value is 'undefined' and hence priority\n * resolution should be used.)\n *\n * @param value Binding style value.\n */\nfunction isStylingValuePresent(value) {\n // Currently only `undefined` value is considered non-binding. That is `undefined` says I don't\n // have an opinion as to what this binding should be and you should consult other bindings by\n // priority to determine the valid value.\n // This is extracted into a single function so that we have a single place to control this.\n return value !== undefined;\n}\n/**\n * Normalizes and/or adds a suffix to the value.\n *\n * If value is `null`/`undefined` no suffix is added\n * @param value\n * @param suffix\n */\nfunction normalizeSuffix(value, suffix) {\n if (value == null || value === '') {\n // do nothing\n // Do not add the suffix if the value is going to be empty.\n // As it produce invalid CSS, which the browsers will automatically omit but Domino will not.\n // Example: `\"left\": \"px;\"` instead of `\"left\": \"\"`.\n }\n else if (typeof suffix === 'string') {\n value = value + suffix;\n }\n else if (typeof value === 'object') {\n value = stringify(unwrapSafeValue(value));\n }\n return value;\n}\n/**\n * Tests if the `TNode` has input shadow.\n *\n * An input shadow is when a directive steals (shadows) the input by using `@Input('style')` or\n * `@Input('class')` as input.\n *\n * @param tNode `TNode` which we would like to see if it has shadow.\n * @param isClassBased `true` if `class` (`false` if `style`)\n */\nfunction hasStylingInputShadow(tNode, isClassBased) {\n return (tNode.flags & (isClassBased ? 8 /* TNodeFlags.hasClassInput */ : 16 /* TNodeFlags.hasStyleInput */)) !== 0;\n}\n\n/**\n * Create static text node\n *\n * @param index Index of the node in the data array\n * @param value Static string value to write.\n *\n * @codeGenApi\n */\nfunction ɵɵtext(index, value = '') {\n const lView = getLView();\n const tView = getTView();\n const adjustedIndex = index + HEADER_OFFSET;\n ngDevMode &&\n assertEqual(getBindingIndex(), tView.bindingStartIndex, 'text nodes should be created before any bindings');\n ngDevMode && assertIndexInRange(lView, adjustedIndex);\n const tNode = tView.firstCreatePass ?\n getOrCreateTNode(tView, adjustedIndex, 1 /* TNodeType.Text */, value, null) :\n tView.data[adjustedIndex];\n const textNative = _locateOrCreateTextNode(tView, lView, tNode, value, index);\n lView[adjustedIndex] = textNative;\n if (wasLastNodeCreated()) {\n appendChild(tView, lView, textNative, tNode);\n }\n // Text nodes are self closing.\n setCurrentTNode(tNode, false);\n}\nlet _locateOrCreateTextNode = (tView, lView, tNode, value, index) => {\n lastNodeWasCreated(true);\n return createTextNode(lView[RENDERER], value);\n};\n/**\n * Enables hydration code path (to lookup existing elements in DOM)\n * in addition to the regular creation mode of text nodes.\n */\nfunction locateOrCreateTextNodeImpl(tView, lView, tNode, value, index) {\n const hydrationInfo = lView[HYDRATION];\n const isNodeCreationMode = !hydrationInfo || isInSkipHydrationBlock$1() || isDisconnectedNode$1(hydrationInfo, index);\n lastNodeWasCreated(isNodeCreationMode);\n // Regular creation mode.\n if (isNodeCreationMode) {\n return createTextNode(lView[RENDERER], value);\n }\n // Hydration mode, looking up an existing element in DOM.\n const textNative = locateNextRNode(hydrationInfo, tView, lView, tNode);\n ngDevMode && validateMatchingNode(textNative, Node.TEXT_NODE, null, lView, tNode);\n ngDevMode && markRNodeAsClaimedByHydration(textNative);\n return textNative;\n}\nfunction enableLocateOrCreateTextNodeImpl() {\n _locateOrCreateTextNode = locateOrCreateTextNodeImpl;\n}\n\n/**\n *\n * Update text content with a lone bound value\n *\n * Used when a text node has 1 interpolated value in it, an no additional text\n * surrounds that interpolated value:\n *\n * ```html\n * <div>{{v0}}</div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵtextInterpolate(v0);\n * ```\n * @returns itself, so that it may be chained.\n * @see textInterpolateV\n * @codeGenApi\n */\nfunction ɵɵtextInterpolate(v0) {\n ɵɵtextInterpolate1('', v0, '');\n return ɵɵtextInterpolate;\n}\n/**\n *\n * Update text content with single bound value surrounded by other text.\n *\n * Used when a text node has 1 interpolated value in it:\n *\n * ```html\n * <div>prefix{{v0}}suffix</div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵtextInterpolate1('prefix', v0, 'suffix');\n * ```\n * @returns itself, so that it may be chained.\n * @see textInterpolateV\n * @codeGenApi\n */\nfunction ɵɵtextInterpolate1(prefix, v0, suffix) {\n const lView = getLView();\n const interpolated = interpolation1(lView, prefix, v0, suffix);\n if (interpolated !== NO_CHANGE) {\n textBindingInternal(lView, getSelectedIndex(), interpolated);\n }\n return ɵɵtextInterpolate1;\n}\n/**\n *\n * Update text content with 2 bound values surrounded by other text.\n *\n * Used when a text node has 2 interpolated values in it:\n *\n * ```html\n * <div>prefix{{v0}}-{{v1}}suffix</div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵtextInterpolate2('prefix', v0, '-', v1, 'suffix');\n * ```\n * @returns itself, so that it may be chained.\n * @see textInterpolateV\n * @codeGenApi\n */\nfunction ɵɵtextInterpolate2(prefix, v0, i0, v1, suffix) {\n const lView = getLView();\n const interpolated = interpolation2(lView, prefix, v0, i0, v1, suffix);\n if (interpolated !== NO_CHANGE) {\n textBindingInternal(lView, getSelectedIndex(), interpolated);\n }\n return ɵɵtextInterpolate2;\n}\n/**\n *\n * Update text content with 3 bound values surrounded by other text.\n *\n * Used when a text node has 3 interpolated values in it:\n *\n * ```html\n * <div>prefix{{v0}}-{{v1}}-{{v2}}suffix</div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵtextInterpolate3(\n * 'prefix', v0, '-', v1, '-', v2, 'suffix');\n * ```\n * @returns itself, so that it may be chained.\n * @see textInterpolateV\n * @codeGenApi\n */\nfunction ɵɵtextInterpolate3(prefix, v0, i0, v1, i1, v2, suffix) {\n const lView = getLView();\n const interpolated = interpolation3(lView, prefix, v0, i0, v1, i1, v2, suffix);\n if (interpolated !== NO_CHANGE) {\n textBindingInternal(lView, getSelectedIndex(), interpolated);\n }\n return ɵɵtextInterpolate3;\n}\n/**\n *\n * Update text content with 4 bound values surrounded by other text.\n *\n * Used when a text node has 4 interpolated values in it:\n *\n * ```html\n * <div>prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}suffix</div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵtextInterpolate4(\n * 'prefix', v0, '-', v1, '-', v2, '-', v3, 'suffix');\n * ```\n * @returns itself, so that it may be chained.\n * @see ɵɵtextInterpolateV\n * @codeGenApi\n */\nfunction ɵɵtextInterpolate4(prefix, v0, i0, v1, i1, v2, i2, v3, suffix) {\n const lView = getLView();\n const interpolated = interpolation4(lView, prefix, v0, i0, v1, i1, v2, i2, v3, suffix);\n if (interpolated !== NO_CHANGE) {\n textBindingInternal(lView, getSelectedIndex(), interpolated);\n }\n return ɵɵtextInterpolate4;\n}\n/**\n *\n * Update text content with 5 bound values surrounded by other text.\n *\n * Used when a text node has 5 interpolated values in it:\n *\n * ```html\n * <div>prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}suffix</div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵtextInterpolate5(\n * 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, 'suffix');\n * ```\n * @returns itself, so that it may be chained.\n * @see textInterpolateV\n * @codeGenApi\n */\nfunction ɵɵtextInterpolate5(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix) {\n const lView = getLView();\n const interpolated = interpolation5(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix);\n if (interpolated !== NO_CHANGE) {\n textBindingInternal(lView, getSelectedIndex(), interpolated);\n }\n return ɵɵtextInterpolate5;\n}\n/**\n *\n * Update text content with 6 bound values surrounded by other text.\n *\n * Used when a text node has 6 interpolated values in it:\n *\n * ```html\n * <div>prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}suffix</div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵtextInterpolate6(\n * 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, 'suffix');\n * ```\n *\n * @param i4 Static value used for concatenation only.\n * @param v5 Value checked for change. @returns itself, so that it may be chained.\n * @see textInterpolateV\n * @codeGenApi\n */\nfunction ɵɵtextInterpolate6(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix) {\n const lView = getLView();\n const interpolated = interpolation6(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix);\n if (interpolated !== NO_CHANGE) {\n textBindingInternal(lView, getSelectedIndex(), interpolated);\n }\n return ɵɵtextInterpolate6;\n}\n/**\n *\n * Update text content with 7 bound values surrounded by other text.\n *\n * Used when a text node has 7 interpolated values in it:\n *\n * ```html\n * <div>prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}suffix</div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵtextInterpolate7(\n * 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, 'suffix');\n * ```\n * @returns itself, so that it may be chained.\n * @see textInterpolateV\n * @codeGenApi\n */\nfunction ɵɵtextInterpolate7(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix) {\n const lView = getLView();\n const interpolated = interpolation7(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix);\n if (interpolated !== NO_CHANGE) {\n textBindingInternal(lView, getSelectedIndex(), interpolated);\n }\n return ɵɵtextInterpolate7;\n}\n/**\n *\n * Update text content with 8 bound values surrounded by other text.\n *\n * Used when a text node has 8 interpolated values in it:\n *\n * ```html\n * <div>prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}suffix</div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵtextInterpolate8(\n * 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, 'suffix');\n * ```\n * @returns itself, so that it may be chained.\n * @see textInterpolateV\n * @codeGenApi\n */\nfunction ɵɵtextInterpolate8(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix) {\n const lView = getLView();\n const interpolated = interpolation8(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix);\n if (interpolated !== NO_CHANGE) {\n textBindingInternal(lView, getSelectedIndex(), interpolated);\n }\n return ɵɵtextInterpolate8;\n}\n/**\n * Update text content with 9 or more bound values other surrounded by text.\n *\n * Used when the number of interpolated values exceeds 8.\n *\n * ```html\n * <div>prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}-{{v8}}-{{v9}}suffix</div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵtextInterpolateV(\n * ['prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, '-', v9,\n * 'suffix']);\n * ```\n *.\n * @param values The collection of values and the strings in between those values, beginning with\n * a string prefix and ending with a string suffix.\n * (e.g. `['prefix', value0, '-', value1, '-', value2, ..., value99, 'suffix']`)\n *\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵtextInterpolateV(values) {\n const lView = getLView();\n const interpolated = interpolationV(lView, values);\n if (interpolated !== NO_CHANGE) {\n textBindingInternal(lView, getSelectedIndex(), interpolated);\n }\n return ɵɵtextInterpolateV;\n}\n\n/**\n *\n * Update an interpolated class on an element with single bound value surrounded by text.\n *\n * Used when the value passed to a property has 1 interpolated value in it:\n *\n * ```html\n * <div class=\"prefix{{v0}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵclassMapInterpolate1('prefix', v0, 'suffix');\n * ```\n *\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @codeGenApi\n */\nfunction ɵɵclassMapInterpolate1(prefix, v0, suffix) {\n const lView = getLView();\n const interpolatedValue = interpolation1(lView, prefix, v0, suffix);\n checkStylingMap(keyValueArraySet, classStringParser, interpolatedValue, true);\n}\n/**\n *\n * Update an interpolated class on an element with 2 bound values surrounded by text.\n *\n * Used when the value passed to a property has 2 interpolated values in it:\n *\n * ```html\n * <div class=\"prefix{{v0}}-{{v1}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵclassMapInterpolate2('prefix', v0, '-', v1, 'suffix');\n * ```\n *\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @codeGenApi\n */\nfunction ɵɵclassMapInterpolate2(prefix, v0, i0, v1, suffix) {\n const lView = getLView();\n const interpolatedValue = interpolation2(lView, prefix, v0, i0, v1, suffix);\n checkStylingMap(keyValueArraySet, classStringParser, interpolatedValue, true);\n}\n/**\n *\n * Update an interpolated class on an element with 3 bound values surrounded by text.\n *\n * Used when the value passed to a property has 3 interpolated values in it:\n *\n * ```html\n * <div class=\"prefix{{v0}}-{{v1}}-{{v2}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵclassMapInterpolate3(\n * 'prefix', v0, '-', v1, '-', v2, 'suffix');\n * ```\n *\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @codeGenApi\n */\nfunction ɵɵclassMapInterpolate3(prefix, v0, i0, v1, i1, v2, suffix) {\n const lView = getLView();\n const interpolatedValue = interpolation3(lView, prefix, v0, i0, v1, i1, v2, suffix);\n checkStylingMap(keyValueArraySet, classStringParser, interpolatedValue, true);\n}\n/**\n *\n * Update an interpolated class on an element with 4 bound values surrounded by text.\n *\n * Used when the value passed to a property has 4 interpolated values in it:\n *\n * ```html\n * <div class=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵclassMapInterpolate4(\n * 'prefix', v0, '-', v1, '-', v2, '-', v3, 'suffix');\n * ```\n *\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @codeGenApi\n */\nfunction ɵɵclassMapInterpolate4(prefix, v0, i0, v1, i1, v2, i2, v3, suffix) {\n const lView = getLView();\n const interpolatedValue = interpolation4(lView, prefix, v0, i0, v1, i1, v2, i2, v3, suffix);\n checkStylingMap(keyValueArraySet, classStringParser, interpolatedValue, true);\n}\n/**\n *\n * Update an interpolated class on an element with 5 bound values surrounded by text.\n *\n * Used when the value passed to a property has 5 interpolated values in it:\n *\n * ```html\n * <div class=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵclassMapInterpolate5(\n * 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, 'suffix');\n * ```\n *\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param i3 Static value used for concatenation only.\n * @param v4 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @codeGenApi\n */\nfunction ɵɵclassMapInterpolate5(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix) {\n const lView = getLView();\n const interpolatedValue = interpolation5(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix);\n checkStylingMap(keyValueArraySet, classStringParser, interpolatedValue, true);\n}\n/**\n *\n * Update an interpolated class on an element with 6 bound values surrounded by text.\n *\n * Used when the value passed to a property has 6 interpolated values in it:\n *\n * ```html\n * <div class=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵclassMapInterpolate6(\n * 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, 'suffix');\n * ```\n *\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param i3 Static value used for concatenation only.\n * @param v4 Value checked for change.\n * @param i4 Static value used for concatenation only.\n * @param v5 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @codeGenApi\n */\nfunction ɵɵclassMapInterpolate6(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix) {\n const lView = getLView();\n const interpolatedValue = interpolation6(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix);\n checkStylingMap(keyValueArraySet, classStringParser, interpolatedValue, true);\n}\n/**\n *\n * Update an interpolated class on an element with 7 bound values surrounded by text.\n *\n * Used when the value passed to a property has 7 interpolated values in it:\n *\n * ```html\n * <div class=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵclassMapInterpolate7(\n * 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, 'suffix');\n * ```\n *\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param i3 Static value used for concatenation only.\n * @param v4 Value checked for change.\n * @param i4 Static value used for concatenation only.\n * @param v5 Value checked for change.\n * @param i5 Static value used for concatenation only.\n * @param v6 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @codeGenApi\n */\nfunction ɵɵclassMapInterpolate7(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix) {\n const lView = getLView();\n const interpolatedValue = interpolation7(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix);\n checkStylingMap(keyValueArraySet, classStringParser, interpolatedValue, true);\n}\n/**\n *\n * Update an interpolated class on an element with 8 bound values surrounded by text.\n *\n * Used when the value passed to a property has 8 interpolated values in it:\n *\n * ```html\n * <div class=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵclassMapInterpolate8(\n * 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, 'suffix');\n * ```\n *\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param i3 Static value used for concatenation only.\n * @param v4 Value checked for change.\n * @param i4 Static value used for concatenation only.\n * @param v5 Value checked for change.\n * @param i5 Static value used for concatenation only.\n * @param v6 Value checked for change.\n * @param i6 Static value used for concatenation only.\n * @param v7 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @codeGenApi\n */\nfunction ɵɵclassMapInterpolate8(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix) {\n const lView = getLView();\n const interpolatedValue = interpolation8(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix);\n checkStylingMap(keyValueArraySet, classStringParser, interpolatedValue, true);\n}\n/**\n * Update an interpolated class on an element with 9 or more bound values surrounded by text.\n *\n * Used when the number of interpolated values exceeds 8.\n *\n * ```html\n * <div\n * class=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}-{{v8}}-{{v9}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵclassMapInterpolateV(\n * ['prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, '-', v9,\n * 'suffix']);\n * ```\n *.\n * @param values The collection of values and the strings in-between those values, beginning with\n * a string prefix and ending with a string suffix.\n * (e.g. `['prefix', value0, '-', value1, '-', value2, ..., value99, 'suffix']`)\n * @codeGenApi\n */\nfunction ɵɵclassMapInterpolateV(values) {\n const lView = getLView();\n const interpolatedValue = interpolationV(lView, values);\n checkStylingMap(keyValueArraySet, classStringParser, interpolatedValue, true);\n}\n\n/**\n *\n * Update an interpolated style on an element with single bound value surrounded by text.\n *\n * Used when the value passed to a property has 1 interpolated value in it:\n *\n * ```html\n * <div style=\"key: {{v0}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstyleMapInterpolate1('key: ', v0, 'suffix');\n * ```\n *\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @codeGenApi\n */\nfunction ɵɵstyleMapInterpolate1(prefix, v0, suffix) {\n const lView = getLView();\n const interpolatedValue = interpolation1(lView, prefix, v0, suffix);\n ɵɵstyleMap(interpolatedValue);\n}\n/**\n *\n * Update an interpolated style on an element with 2 bound values surrounded by text.\n *\n * Used when the value passed to a property has 2 interpolated values in it:\n *\n * ```html\n * <div style=\"key: {{v0}}; key1: {{v1}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstyleMapInterpolate2('key: ', v0, '; key1: ', v1, 'suffix');\n * ```\n *\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @codeGenApi\n */\nfunction ɵɵstyleMapInterpolate2(prefix, v0, i0, v1, suffix) {\n const lView = getLView();\n const interpolatedValue = interpolation2(lView, prefix, v0, i0, v1, suffix);\n ɵɵstyleMap(interpolatedValue);\n}\n/**\n *\n * Update an interpolated style on an element with 3 bound values surrounded by text.\n *\n * Used when the value passed to a property has 3 interpolated values in it:\n *\n * ```html\n * <div style=\"key: {{v0}}; key2: {{v1}}; key2: {{v2}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstyleMapInterpolate3(\n * 'key: ', v0, '; key1: ', v1, '; key2: ', v2, 'suffix');\n * ```\n *\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @codeGenApi\n */\nfunction ɵɵstyleMapInterpolate3(prefix, v0, i0, v1, i1, v2, suffix) {\n const lView = getLView();\n const interpolatedValue = interpolation3(lView, prefix, v0, i0, v1, i1, v2, suffix);\n ɵɵstyleMap(interpolatedValue);\n}\n/**\n *\n * Update an interpolated style on an element with 4 bound values surrounded by text.\n *\n * Used when the value passed to a property has 4 interpolated values in it:\n *\n * ```html\n * <div style=\"key: {{v0}}; key1: {{v1}}; key2: {{v2}}; key3: {{v3}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstyleMapInterpolate4(\n * 'key: ', v0, '; key1: ', v1, '; key2: ', v2, '; key3: ', v3, 'suffix');\n * ```\n *\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @codeGenApi\n */\nfunction ɵɵstyleMapInterpolate4(prefix, v0, i0, v1, i1, v2, i2, v3, suffix) {\n const lView = getLView();\n const interpolatedValue = interpolation4(lView, prefix, v0, i0, v1, i1, v2, i2, v3, suffix);\n ɵɵstyleMap(interpolatedValue);\n}\n/**\n *\n * Update an interpolated style on an element with 5 bound values surrounded by text.\n *\n * Used when the value passed to a property has 5 interpolated values in it:\n *\n * ```html\n * <div style=\"key: {{v0}}; key1: {{v1}}; key2: {{v2}}; key3: {{v3}}; key4: {{v4}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstyleMapInterpolate5(\n * 'key: ', v0, '; key1: ', v1, '; key2: ', v2, '; key3: ', v3, '; key4: ', v4, 'suffix');\n * ```\n *\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param i3 Static value used for concatenation only.\n * @param v4 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @codeGenApi\n */\nfunction ɵɵstyleMapInterpolate5(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix) {\n const lView = getLView();\n const interpolatedValue = interpolation5(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix);\n ɵɵstyleMap(interpolatedValue);\n}\n/**\n *\n * Update an interpolated style on an element with 6 bound values surrounded by text.\n *\n * Used when the value passed to a property has 6 interpolated values in it:\n *\n * ```html\n * <div style=\"key: {{v0}}; key1: {{v1}}; key2: {{v2}}; key3: {{v3}}; key4: {{v4}};\n * key5: {{v5}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstyleMapInterpolate6(\n * 'key: ', v0, '; key1: ', v1, '; key2: ', v2, '; key3: ', v3, '; key4: ', v4, '; key5: ', v5,\n * 'suffix');\n * ```\n *\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param i3 Static value used for concatenation only.\n * @param v4 Value checked for change.\n * @param i4 Static value used for concatenation only.\n * @param v5 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @codeGenApi\n */\nfunction ɵɵstyleMapInterpolate6(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix) {\n const lView = getLView();\n const interpolatedValue = interpolation6(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix);\n ɵɵstyleMap(interpolatedValue);\n}\n/**\n *\n * Update an interpolated style on an element with 7 bound values surrounded by text.\n *\n * Used when the value passed to a property has 7 interpolated values in it:\n *\n * ```html\n * <div style=\"key: {{v0}}; key1: {{v1}}; key2: {{v2}}; key3: {{v3}}; key4: {{v4}}; key5: {{v5}};\n * key6: {{v6}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstyleMapInterpolate7(\n * 'key: ', v0, '; key1: ', v1, '; key2: ', v2, '; key3: ', v3, '; key4: ', v4, '; key5: ', v5,\n * '; key6: ', v6, 'suffix');\n * ```\n *\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param i3 Static value used for concatenation only.\n * @param v4 Value checked for change.\n * @param i4 Static value used for concatenation only.\n * @param v5 Value checked for change.\n * @param i5 Static value used for concatenation only.\n * @param v6 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @codeGenApi\n */\nfunction ɵɵstyleMapInterpolate7(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix) {\n const lView = getLView();\n const interpolatedValue = interpolation7(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix);\n ɵɵstyleMap(interpolatedValue);\n}\n/**\n *\n * Update an interpolated style on an element with 8 bound values surrounded by text.\n *\n * Used when the value passed to a property has 8 interpolated values in it:\n *\n * ```html\n * <div style=\"key: {{v0}}; key1: {{v1}}; key2: {{v2}}; key3: {{v3}}; key4: {{v4}}; key5: {{v5}};\n * key6: {{v6}}; key7: {{v7}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstyleMapInterpolate8(\n * 'key: ', v0, '; key1: ', v1, '; key2: ', v2, '; key3: ', v3, '; key4: ', v4, '; key5: ', v5,\n * '; key6: ', v6, '; key7: ', v7, 'suffix');\n * ```\n *\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param i3 Static value used for concatenation only.\n * @param v4 Value checked for change.\n * @param i4 Static value used for concatenation only.\n * @param v5 Value checked for change.\n * @param i5 Static value used for concatenation only.\n * @param v6 Value checked for change.\n * @param i6 Static value used for concatenation only.\n * @param v7 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @codeGenApi\n */\nfunction ɵɵstyleMapInterpolate8(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix) {\n const lView = getLView();\n const interpolatedValue = interpolation8(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix);\n ɵɵstyleMap(interpolatedValue);\n}\n/**\n * Update an interpolated style on an element with 9 or more bound values surrounded by text.\n *\n * Used when the number of interpolated values exceeds 8.\n *\n * ```html\n * <div\n * class=\"key: {{v0}}; key1: {{v1}}; key2: {{v2}}; key3: {{v3}}; key4: {{v4}}; key5: {{v5}};\n * key6: {{v6}}; key7: {{v7}}; key8: {{v8}}; key9: {{v9}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstyleMapInterpolateV(\n * ['key: ', v0, '; key1: ', v1, '; key2: ', v2, '; key3: ', v3, '; key4: ', v4, '; key5: ', v5,\n * '; key6: ', v6, '; key7: ', v7, '; key8: ', v8, '; key9: ', v9, 'suffix']);\n * ```\n *.\n * @param values The collection of values and the strings in-between those values, beginning with\n * a string prefix and ending with a string suffix.\n * (e.g. `['prefix', value0, '; key2: ', value1, '; key2: ', value2, ..., value99, 'suffix']`)\n * @codeGenApi\n */\nfunction ɵɵstyleMapInterpolateV(values) {\n const lView = getLView();\n const interpolatedValue = interpolationV(lView, values);\n ɵɵstyleMap(interpolatedValue);\n}\n\n/**\n *\n * Update an interpolated style property on an element with single bound value surrounded by text.\n *\n * Used when the value passed to a property has 1 interpolated value in it:\n *\n * ```html\n * <div style.color=\"prefix{{v0}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstylePropInterpolate1(0, 'prefix', v0, 'suffix');\n * ```\n *\n * @param styleIndex Index of style to update. This index value refers to the\n * index of the style in the style bindings array that was passed into\n * `styling`.\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵstylePropInterpolate1(prop, prefix, v0, suffix, valueSuffix) {\n const lView = getLView();\n const interpolatedValue = interpolation1(lView, prefix, v0, suffix);\n checkStylingProperty(prop, interpolatedValue, valueSuffix, false);\n return ɵɵstylePropInterpolate1;\n}\n/**\n *\n * Update an interpolated style property on an element with 2 bound values surrounded by text.\n *\n * Used when the value passed to a property has 2 interpolated values in it:\n *\n * ```html\n * <div style.color=\"prefix{{v0}}-{{v1}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstylePropInterpolate2(0, 'prefix', v0, '-', v1, 'suffix');\n * ```\n *\n * @param styleIndex Index of style to update. This index value refers to the\n * index of the style in the style bindings array that was passed into\n * `styling`.\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵstylePropInterpolate2(prop, prefix, v0, i0, v1, suffix, valueSuffix) {\n const lView = getLView();\n const interpolatedValue = interpolation2(lView, prefix, v0, i0, v1, suffix);\n checkStylingProperty(prop, interpolatedValue, valueSuffix, false);\n return ɵɵstylePropInterpolate2;\n}\n/**\n *\n * Update an interpolated style property on an element with 3 bound values surrounded by text.\n *\n * Used when the value passed to a property has 3 interpolated values in it:\n *\n * ```html\n * <div style.color=\"prefix{{v0}}-{{v1}}-{{v2}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstylePropInterpolate3(0, 'prefix', v0, '-', v1, '-', v2, 'suffix');\n * ```\n *\n * @param styleIndex Index of style to update. This index value refers to the\n * index of the style in the style bindings array that was passed into\n * `styling`.\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵstylePropInterpolate3(prop, prefix, v0, i0, v1, i1, v2, suffix, valueSuffix) {\n const lView = getLView();\n const interpolatedValue = interpolation3(lView, prefix, v0, i0, v1, i1, v2, suffix);\n checkStylingProperty(prop, interpolatedValue, valueSuffix, false);\n return ɵɵstylePropInterpolate3;\n}\n/**\n *\n * Update an interpolated style property on an element with 4 bound values surrounded by text.\n *\n * Used when the value passed to a property has 4 interpolated values in it:\n *\n * ```html\n * <div style.color=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstylePropInterpolate4(0, 'prefix', v0, '-', v1, '-', v2, '-', v3, 'suffix');\n * ```\n *\n * @param styleIndex Index of style to update. This index value refers to the\n * index of the style in the style bindings array that was passed into\n * `styling`.\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵstylePropInterpolate4(prop, prefix, v0, i0, v1, i1, v2, i2, v3, suffix, valueSuffix) {\n const lView = getLView();\n const interpolatedValue = interpolation4(lView, prefix, v0, i0, v1, i1, v2, i2, v3, suffix);\n checkStylingProperty(prop, interpolatedValue, valueSuffix, false);\n return ɵɵstylePropInterpolate4;\n}\n/**\n *\n * Update an interpolated style property on an element with 5 bound values surrounded by text.\n *\n * Used when the value passed to a property has 5 interpolated values in it:\n *\n * ```html\n * <div style.color=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstylePropInterpolate5(0, 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, 'suffix');\n * ```\n *\n * @param styleIndex Index of style to update. This index value refers to the\n * index of the style in the style bindings array that was passed into\n * `styling`.\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param i3 Static value used for concatenation only.\n * @param v4 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵstylePropInterpolate5(prop, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix, valueSuffix) {\n const lView = getLView();\n const interpolatedValue = interpolation5(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix);\n checkStylingProperty(prop, interpolatedValue, valueSuffix, false);\n return ɵɵstylePropInterpolate5;\n}\n/**\n *\n * Update an interpolated style property on an element with 6 bound values surrounded by text.\n *\n * Used when the value passed to a property has 6 interpolated values in it:\n *\n * ```html\n * <div style.color=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstylePropInterpolate6(0, 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, 'suffix');\n * ```\n *\n * @param styleIndex Index of style to update. This index value refers to the\n * index of the style in the style bindings array that was passed into\n * `styling`.\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param i3 Static value used for concatenation only.\n * @param v4 Value checked for change.\n * @param i4 Static value used for concatenation only.\n * @param v5 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵstylePropInterpolate6(prop, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix, valueSuffix) {\n const lView = getLView();\n const interpolatedValue = interpolation6(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix);\n checkStylingProperty(prop, interpolatedValue, valueSuffix, false);\n return ɵɵstylePropInterpolate6;\n}\n/**\n *\n * Update an interpolated style property on an element with 7 bound values surrounded by text.\n *\n * Used when the value passed to a property has 7 interpolated values in it:\n *\n * ```html\n * <div style.color=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstylePropInterpolate7(\n * 0, 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, 'suffix');\n * ```\n *\n * @param styleIndex Index of style to update. This index value refers to the\n * index of the style in the style bindings array that was passed into\n * `styling`.\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param i3 Static value used for concatenation only.\n * @param v4 Value checked for change.\n * @param i4 Static value used for concatenation only.\n * @param v5 Value checked for change.\n * @param i5 Static value used for concatenation only.\n * @param v6 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵstylePropInterpolate7(prop, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix, valueSuffix) {\n const lView = getLView();\n const interpolatedValue = interpolation7(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix);\n checkStylingProperty(prop, interpolatedValue, valueSuffix, false);\n return ɵɵstylePropInterpolate7;\n}\n/**\n *\n * Update an interpolated style property on an element with 8 bound values surrounded by text.\n *\n * Used when the value passed to a property has 8 interpolated values in it:\n *\n * ```html\n * <div style.color=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstylePropInterpolate8(0, 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6,\n * '-', v7, 'suffix');\n * ```\n *\n * @param styleIndex Index of style to update. This index value refers to the\n * index of the style in the style bindings array that was passed into\n * `styling`.\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param i3 Static value used for concatenation only.\n * @param v4 Value checked for change.\n * @param i4 Static value used for concatenation only.\n * @param v5 Value checked for change.\n * @param i5 Static value used for concatenation only.\n * @param v6 Value checked for change.\n * @param i6 Static value used for concatenation only.\n * @param v7 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵstylePropInterpolate8(prop, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix, valueSuffix) {\n const lView = getLView();\n const interpolatedValue = interpolation8(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix);\n checkStylingProperty(prop, interpolatedValue, valueSuffix, false);\n return ɵɵstylePropInterpolate8;\n}\n/**\n * Update an interpolated style property on an element with 9 or more bound values surrounded by\n * text.\n *\n * Used when the number of interpolated values exceeds 8.\n *\n * ```html\n * <div\n * style.color=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}-{{v8}}-{{v9}}suffix\">\n * </div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstylePropInterpolateV(\n * 0, ['prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, '-', v9,\n * 'suffix']);\n * ```\n *\n * @param styleIndex Index of style to update. This index value refers to the\n * index of the style in the style bindings array that was passed into\n * `styling`..\n * @param values The collection of values and the strings in-between those values, beginning with\n * a string prefix and ending with a string suffix.\n * (e.g. `['prefix', value0, '-', value1, '-', value2, ..., value99, 'suffix']`)\n * @param valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵstylePropInterpolateV(prop, values, valueSuffix) {\n const lView = getLView();\n const interpolatedValue = interpolationV(lView, values);\n checkStylingProperty(prop, interpolatedValue, valueSuffix, false);\n return ɵɵstylePropInterpolateV;\n}\n\n/**\n * Update a property on a host element. Only applies to native node properties, not inputs.\n *\n * Operates on the element selected by index via the {@link select} instruction.\n *\n * @param propName Name of property. Because it is going to DOM, this is not subject to\n * renaming as part of minification.\n * @param value New value to write.\n * @param sanitizer An optional function used to sanitize the value.\n * @returns This function returns itself so that it may be chained\n * (e.g. `property('name', ctx.name)('title', ctx.title)`)\n *\n * @codeGenApi\n */\nfunction ɵɵhostProperty(propName, value, sanitizer) {\n const lView = getLView();\n const bindingIndex = nextBindingIndex();\n if (bindingUpdated(lView, bindingIndex, value)) {\n const tView = getTView();\n const tNode = getSelectedTNode();\n elementPropertyInternal(tView, tNode, lView, propName, value, lView[RENDERER], sanitizer, true);\n ngDevMode && storePropertyBindingMetadata(tView.data, tNode, propName, bindingIndex);\n }\n return ɵɵhostProperty;\n}\n/**\n * Updates a synthetic host binding (e.g. `[@foo]`) on a component or directive.\n *\n * This instruction is for compatibility purposes and is designed to ensure that a\n * synthetic host binding (e.g. `@HostBinding('@foo')`) properly gets rendered in\n * the component's renderer. Normally all host bindings are evaluated with the parent\n * component's renderer, but, in the case of animation @triggers, they need to be\n * evaluated with the sub component's renderer (because that's where the animation\n * triggers are defined).\n *\n * Do not use this instruction as a replacement for `elementProperty`. This instruction\n * only exists to ensure compatibility with the ViewEngine's host binding behavior.\n *\n * @param index The index of the element to update in the data array\n * @param propName Name of property. Because it is going to DOM, this is not subject to\n * renaming as part of minification.\n * @param value New value to write.\n * @param sanitizer An optional function used to sanitize the value.\n *\n * @codeGenApi\n */\nfunction ɵɵsyntheticHostProperty(propName, value, sanitizer) {\n const lView = getLView();\n const bindingIndex = nextBindingIndex();\n if (bindingUpdated(lView, bindingIndex, value)) {\n const tView = getTView();\n const tNode = getSelectedTNode();\n const currentDef = getCurrentDirectiveDef(tView.data);\n const renderer = loadComponentRenderer(currentDef, tNode, lView);\n elementPropertyInternal(tView, tNode, lView, propName, value, renderer, sanitizer, true);\n ngDevMode && storePropertyBindingMetadata(tView.data, tNode, propName, bindingIndex);\n }\n return ɵɵsyntheticHostProperty;\n}\n\n/**\n * NOTE: changes to the `ngI18nClosureMode` name must be synced with `compiler-cli/src/tooling.ts`.\n */\nif (typeof ngI18nClosureMode === 'undefined') {\n // These property accesses can be ignored because ngI18nClosureMode will be set to false\n // when optimizing code and the whole if statement will be dropped.\n // Make sure to refer to ngI18nClosureMode as ['ngI18nClosureMode'] for closure.\n // NOTE: we need to have it in IIFE so that the tree-shaker is happy.\n (function () {\n // tslint:disable-next-line:no-toplevel-property-access\n _global['ngI18nClosureMode'] =\n // TODO(FW-1250): validate that this actually, you know, works.\n // tslint:disable-next-line:no-toplevel-property-access\n typeof goog !== 'undefined' && typeof goog.getMsg === 'function';\n })();\n}\n\n// THIS CODE IS GENERATED - DO NOT MODIFY.\nconst u = undefined;\nfunction plural(val) {\n const n = val, i = Math.floor(Math.abs(val)), v = val.toString().replace(/^[^.]*\\.?/, '').length;\n if (i === 1 && v === 0)\n return 1;\n return 5;\n}\nvar localeEn = [\"en\", [[\"a\", \"p\"], [\"AM\", \"PM\"], u], [[\"AM\", \"PM\"], u, u], [[\"S\", \"M\", \"T\", \"W\", \"T\", \"F\", \"S\"], [\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\"], [\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"], [\"Su\", \"Mo\", \"Tu\", \"We\", \"Th\", \"Fr\", \"Sa\"]], u, [[\"J\", \"F\", \"M\", \"A\", \"M\", \"J\", \"J\", \"A\", \"S\", \"O\", \"N\", \"D\"], [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\", \"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\"], [\"January\", \"February\", \"March\", \"April\", \"May\", \"June\", \"July\", \"August\", \"September\", \"October\", \"November\", \"December\"]], u, [[\"B\", \"A\"], [\"BC\", \"AD\"], [\"Before Christ\", \"Anno Domini\"]], 0, [6, 0], [\"M/d/yy\", \"MMM d, y\", \"MMMM d, y\", \"EEEE, MMMM d, y\"], [\"h:mm a\", \"h:mm:ss a\", \"h:mm:ss a z\", \"h:mm:ss a zzzz\"], [\"{1}, {0}\", u, \"{1} 'at' {0}\", u], [\".\", \",\", \";\", \"%\", \"+\", \"-\", \"E\", \"×\", \"‰\", \"∞\", \"NaN\", \":\"], [\"#,##0.###\", \"#,##0%\", \"¤#,##0.00\", \"#E0\"], \"USD\", \"$\", \"US Dollar\", {}, \"ltr\", plural];\n\n/**\n * This const is used to store the locale data registered with `registerLocaleData`\n */\nlet LOCALE_DATA = {};\n/**\n * Register locale data to be used internally by Angular. See the\n * [\"I18n guide\"](guide/i18n-common-format-data-locale) to know how to import additional locale\n * data.\n *\n * The signature `registerLocaleData(data: any, extraData?: any)` is deprecated since v5.1\n */\nfunction registerLocaleData(data, localeId, extraData) {\n if (typeof localeId !== 'string') {\n extraData = localeId;\n localeId = data[LocaleDataIndex.LocaleId];\n }\n localeId = localeId.toLowerCase().replace(/_/g, '-');\n LOCALE_DATA[localeId] = data;\n if (extraData) {\n LOCALE_DATA[localeId][LocaleDataIndex.ExtraData] = extraData;\n }\n}\n/**\n * Finds the locale data for a given locale.\n *\n * @param locale The locale code.\n * @returns The locale data.\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)\n */\nfunction findLocaleData(locale) {\n const normalizedLocale = normalizeLocale(locale);\n let match = getLocaleData(normalizedLocale);\n if (match) {\n return match;\n }\n // let's try to find a parent locale\n const parentLocale = normalizedLocale.split('-')[0];\n match = getLocaleData(parentLocale);\n if (match) {\n return match;\n }\n if (parentLocale === 'en') {\n return localeEn;\n }\n throw new RuntimeError(701 /* RuntimeErrorCode.MISSING_LOCALE_DATA */, ngDevMode && `Missing locale data for the locale \"${locale}\".`);\n}\n/**\n * Retrieves the default currency code for the given locale.\n *\n * The default is defined as the first currency which is still in use.\n *\n * @param locale The code of the locale whose currency code we want.\n * @returns The code of the default currency for the given locale.\n *\n */\nfunction getLocaleCurrencyCode(locale) {\n const data = findLocaleData(locale);\n return data[LocaleDataIndex.CurrencyCode] || null;\n}\n/**\n * Retrieves the plural function used by ICU expressions to determine the plural case to use\n * for a given locale.\n * @param locale A locale code for the locale format rules to use.\n * @returns The plural function for the locale.\n * @see `NgPlural`\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n */\nfunction getLocalePluralCase(locale) {\n const data = findLocaleData(locale);\n return data[LocaleDataIndex.PluralCase];\n}\n/**\n * Helper function to get the given `normalizedLocale` from `LOCALE_DATA`\n * or from the global `ng.common.locale`.\n */\nfunction getLocaleData(normalizedLocale) {\n if (!(normalizedLocale in LOCALE_DATA)) {\n LOCALE_DATA[normalizedLocale] = _global.ng && _global.ng.common && _global.ng.common.locales &&\n _global.ng.common.locales[normalizedLocale];\n }\n return LOCALE_DATA[normalizedLocale];\n}\n/**\n * Helper function to remove all the locale data from `LOCALE_DATA`.\n */\nfunction unregisterAllLocaleData() {\n LOCALE_DATA = {};\n}\n/**\n * Index of each type of locale data from the locale data array\n */\nvar LocaleDataIndex;\n(function (LocaleDataIndex) {\n LocaleDataIndex[LocaleDataIndex[\"LocaleId\"] = 0] = \"LocaleId\";\n LocaleDataIndex[LocaleDataIndex[\"DayPeriodsFormat\"] = 1] = \"DayPeriodsFormat\";\n LocaleDataIndex[LocaleDataIndex[\"DayPeriodsStandalone\"] = 2] = \"DayPeriodsStandalone\";\n LocaleDataIndex[LocaleDataIndex[\"DaysFormat\"] = 3] = \"DaysFormat\";\n LocaleDataIndex[LocaleDataIndex[\"DaysStandalone\"] = 4] = \"DaysStandalone\";\n LocaleDataIndex[LocaleDataIndex[\"MonthsFormat\"] = 5] = \"MonthsFormat\";\n LocaleDataIndex[LocaleDataIndex[\"MonthsStandalone\"] = 6] = \"MonthsStandalone\";\n LocaleDataIndex[LocaleDataIndex[\"Eras\"] = 7] = \"Eras\";\n LocaleDataIndex[LocaleDataIndex[\"FirstDayOfWeek\"] = 8] = \"FirstDayOfWeek\";\n LocaleDataIndex[LocaleDataIndex[\"WeekendRange\"] = 9] = \"WeekendRange\";\n LocaleDataIndex[LocaleDataIndex[\"DateFormat\"] = 10] = \"DateFormat\";\n LocaleDataIndex[LocaleDataIndex[\"TimeFormat\"] = 11] = \"TimeFormat\";\n LocaleDataIndex[LocaleDataIndex[\"DateTimeFormat\"] = 12] = \"DateTimeFormat\";\n LocaleDataIndex[LocaleDataIndex[\"NumberSymbols\"] = 13] = \"NumberSymbols\";\n LocaleDataIndex[LocaleDataIndex[\"NumberFormats\"] = 14] = \"NumberFormats\";\n LocaleDataIndex[LocaleDataIndex[\"CurrencyCode\"] = 15] = \"CurrencyCode\";\n LocaleDataIndex[LocaleDataIndex[\"CurrencySymbol\"] = 16] = \"CurrencySymbol\";\n LocaleDataIndex[LocaleDataIndex[\"CurrencyName\"] = 17] = \"CurrencyName\";\n LocaleDataIndex[LocaleDataIndex[\"Currencies\"] = 18] = \"Currencies\";\n LocaleDataIndex[LocaleDataIndex[\"Directionality\"] = 19] = \"Directionality\";\n LocaleDataIndex[LocaleDataIndex[\"PluralCase\"] = 20] = \"PluralCase\";\n LocaleDataIndex[LocaleDataIndex[\"ExtraData\"] = 21] = \"ExtraData\";\n})(LocaleDataIndex || (LocaleDataIndex = {}));\n/**\n * Returns the canonical form of a locale name - lowercase with `_` replaced with `-`.\n */\nfunction normalizeLocale(locale) {\n return locale.toLowerCase().replace(/_/g, '-');\n}\n\nconst pluralMapping = ['zero', 'one', 'two', 'few', 'many'];\n/**\n * Returns the plural case based on the locale\n */\nfunction getPluralCase(value, locale) {\n const plural = getLocalePluralCase(locale)(parseInt(value, 10));\n const result = pluralMapping[plural];\n return (result !== undefined) ? result : 'other';\n}\n/**\n * The locale id that the application is using by default (for translations and ICU expressions).\n */\nconst DEFAULT_LOCALE_ID = 'en-US';\n/**\n * USD currency code that the application uses by default for CurrencyPipe when no\n * DEFAULT_CURRENCY_CODE is provided.\n */\nconst USD_CURRENCY_CODE = 'USD';\n\n/**\n * Marks that the next string is an element name.\n *\n * See `I18nMutateOpCodes` documentation.\n */\nconst ELEMENT_MARKER = {\n marker: 'element'\n};\n/**\n * Marks that the next string is comment text need for ICU.\n *\n * See `I18nMutateOpCodes` documentation.\n */\nconst ICU_MARKER = {\n marker: 'ICU'\n};\n/**\n * See `I18nCreateOpCodes`\n */\nvar I18nCreateOpCode;\n(function (I18nCreateOpCode) {\n /**\n * Number of bits to shift index so that it can be combined with the `APPEND_EAGERLY` and\n * `COMMENT`.\n */\n I18nCreateOpCode[I18nCreateOpCode[\"SHIFT\"] = 2] = \"SHIFT\";\n /**\n * Should the node be appended to parent immediately after creation.\n */\n I18nCreateOpCode[I18nCreateOpCode[\"APPEND_EAGERLY\"] = 1] = \"APPEND_EAGERLY\";\n /**\n * If set the node should be comment (rather than a text) node.\n */\n I18nCreateOpCode[I18nCreateOpCode[\"COMMENT\"] = 2] = \"COMMENT\";\n})(I18nCreateOpCode || (I18nCreateOpCode = {}));\n// Note: This hack is necessary so we don't erroneously get a circular dependency\n// failure based on types.\nconst unusedValueExportToPlacateAjd = 1;\n\n/**\n * The locale id that the application is currently using (for translations and ICU expressions).\n * This is the ivy version of `LOCALE_ID` that was defined as an injection token for the view engine\n * but is now defined as a global value.\n */\nlet LOCALE_ID$1 = DEFAULT_LOCALE_ID;\n/**\n * Sets the locale id that will be used for translations and ICU expressions.\n * This is the ivy version of `LOCALE_ID` that was defined as an injection token for the view engine\n * but is now defined as a global value.\n *\n * @param localeId\n */\nfunction setLocaleId(localeId) {\n assertDefined(localeId, `Expected localeId to be defined`);\n if (typeof localeId === 'string') {\n LOCALE_ID$1 = localeId.toLowerCase().replace(/_/g, '-');\n }\n}\n/**\n * Gets the locale id that will be used for translations and ICU expressions.\n * This is the ivy version of `LOCALE_ID` that was defined as an injection token for the view engine\n * but is now defined as a global value.\n */\nfunction getLocaleId() {\n return LOCALE_ID$1;\n}\n\n/**\n * Find a node in front of which `currentTNode` should be inserted (takes i18n into account).\n *\n * This method determines the `RNode` in front of which we should insert the `currentRNode`. This\n * takes `TNode.insertBeforeIndex` into account.\n *\n * @param parentTNode parent `TNode`\n * @param currentTNode current `TNode` (The node which we would like to insert into the DOM)\n * @param lView current `LView`\n */\nfunction getInsertInFrontOfRNodeWithI18n(parentTNode, currentTNode, lView) {\n const tNodeInsertBeforeIndex = currentTNode.insertBeforeIndex;\n const insertBeforeIndex = Array.isArray(tNodeInsertBeforeIndex) ? tNodeInsertBeforeIndex[0] : tNodeInsertBeforeIndex;\n if (insertBeforeIndex === null) {\n return getInsertInFrontOfRNodeWithNoI18n(parentTNode, currentTNode, lView);\n }\n else {\n ngDevMode && assertIndexInRange(lView, insertBeforeIndex);\n return unwrapRNode(lView[insertBeforeIndex]);\n }\n}\n/**\n * Process `TNode.insertBeforeIndex` by adding i18n text nodes.\n *\n * See `TNode.insertBeforeIndex`\n */\nfunction processI18nInsertBefore(renderer, childTNode, lView, childRNode, parentRElement) {\n const tNodeInsertBeforeIndex = childTNode.insertBeforeIndex;\n if (Array.isArray(tNodeInsertBeforeIndex)) {\n // An array indicates that there are i18n nodes that need to be added as children of this\n // `childRNode`. These i18n nodes were created before this `childRNode` was available and so\n // only now can be added. The first element of the array is the normal index where we should\n // insert the `childRNode`. Additional elements are the extra nodes to be added as children of\n // `childRNode`.\n ngDevMode && assertDomNode(childRNode);\n let i18nParent = childRNode;\n let anchorRNode = null;\n if (!(childTNode.type & 3 /* TNodeType.AnyRNode */)) {\n anchorRNode = i18nParent;\n i18nParent = parentRElement;\n }\n if (i18nParent !== null && childTNode.componentOffset === -1) {\n for (let i = 1; i < tNodeInsertBeforeIndex.length; i++) {\n // No need to `unwrapRNode` because all of the indexes point to i18n text nodes.\n // see `assertDomNode` below.\n const i18nChild = lView[tNodeInsertBeforeIndex[i]];\n nativeInsertBefore(renderer, i18nParent, i18nChild, anchorRNode, false);\n }\n }\n }\n}\n\n/**\n * Add `tNode` to `previousTNodes` list and update relevant `TNode`s in `previousTNodes` list\n * `tNode.insertBeforeIndex`.\n *\n * Things to keep in mind:\n * 1. All i18n text nodes are encoded as `TNodeType.Element` and are created eagerly by the\n * `ɵɵi18nStart` instruction.\n * 2. All `TNodeType.Placeholder` `TNodes` are elements which will be created later by\n * `ɵɵelementStart` instruction.\n * 3. `ɵɵelementStart` instruction will create `TNode`s in the ascending `TNode.index` order. (So a\n * smaller index `TNode` is guaranteed to be created before a larger one)\n *\n * We use the above three invariants to determine `TNode.insertBeforeIndex`.\n *\n * In an ideal world `TNode.insertBeforeIndex` would always be `TNode.next.index`. However,\n * this will not work because `TNode.next.index` may be larger than `TNode.index` which means that\n * the next node is not yet created and therefore we can't insert in front of it.\n *\n * Rule1: `TNode.insertBeforeIndex = null` if `TNode.next === null` (Initial condition, as we don't\n * know if there will be further `TNode`s inserted after.)\n * Rule2: If `previousTNode` is created after the `tNode` being inserted, then\n * `previousTNode.insertBeforeNode = tNode.index` (So when a new `tNode` is added we check\n * previous to see if we can update its `insertBeforeTNode`)\n *\n * See `TNode.insertBeforeIndex` for more context.\n *\n * @param previousTNodes A list of previous TNodes so that we can easily traverse `TNode`s in\n * reverse order. (If `TNode` would have `previous` this would not be necessary.)\n * @param newTNode A TNode to add to the `previousTNodes` list.\n */\nfunction addTNodeAndUpdateInsertBeforeIndex(previousTNodes, newTNode) {\n // Start with Rule1\n ngDevMode &&\n assertEqual(newTNode.insertBeforeIndex, null, 'We expect that insertBeforeIndex is not set');\n previousTNodes.push(newTNode);\n if (previousTNodes.length > 1) {\n for (let i = previousTNodes.length - 2; i >= 0; i--) {\n const existingTNode = previousTNodes[i];\n // Text nodes are created eagerly and so they don't need their `indexBeforeIndex` updated.\n // It is safe to ignore them.\n if (!isI18nText(existingTNode)) {\n if (isNewTNodeCreatedBefore(existingTNode, newTNode) &&\n getInsertBeforeIndex(existingTNode) === null) {\n // If it was created before us in time, (and it does not yet have `insertBeforeIndex`)\n // then add the `insertBeforeIndex`.\n setInsertBeforeIndex(existingTNode, newTNode.index);\n }\n }\n }\n }\n}\nfunction isI18nText(tNode) {\n return !(tNode.type & 64 /* TNodeType.Placeholder */);\n}\nfunction isNewTNodeCreatedBefore(existingTNode, newTNode) {\n return isI18nText(newTNode) || existingTNode.index > newTNode.index;\n}\nfunction getInsertBeforeIndex(tNode) {\n const index = tNode.insertBeforeIndex;\n return Array.isArray(index) ? index[0] : index;\n}\nfunction setInsertBeforeIndex(tNode, value) {\n const index = tNode.insertBeforeIndex;\n if (Array.isArray(index)) {\n // Array is stored if we have to insert child nodes. See `TNode.insertBeforeIndex`\n index[0] = value;\n }\n else {\n setI18nHandling(getInsertInFrontOfRNodeWithI18n, processI18nInsertBefore);\n tNode.insertBeforeIndex = value;\n }\n}\n\n/**\n * Retrieve `TIcu` at a given `index`.\n *\n * The `TIcu` can be stored either directly (if it is nested ICU) OR\n * it is stored inside tho `TIcuContainer` if it is top level ICU.\n *\n * The reason for this is that the top level ICU need a `TNode` so that they are part of the render\n * tree, but nested ICU's have no TNode, because we don't know ahead of time if the nested ICU is\n * expressed (parent ICU may have selected a case which does not contain it.)\n *\n * @param tView Current `TView`.\n * @param index Index where the value should be read from.\n */\nfunction getTIcu(tView, index) {\n const value = tView.data[index];\n if (value === null || typeof value === 'string')\n return null;\n if (ngDevMode &&\n !(value.hasOwnProperty('tView') || value.hasOwnProperty('currentCaseLViewIndex'))) {\n throwError('We expect to get \\'null\\'|\\'TIcu\\'|\\'TIcuContainer\\', but got: ' + value);\n }\n // Here the `value.hasOwnProperty('currentCaseLViewIndex')` is a polymorphic read as it can be\n // either TIcu or TIcuContainerNode. This is not ideal, but we still think it is OK because it\n // will be just two cases which fits into the browser inline cache (inline cache can take up to\n // 4)\n const tIcu = value.hasOwnProperty('currentCaseLViewIndex') ? value :\n value.value;\n ngDevMode && assertTIcu(tIcu);\n return tIcu;\n}\n/**\n * Store `TIcu` at a give `index`.\n *\n * The `TIcu` can be stored either directly (if it is nested ICU) OR\n * it is stored inside tho `TIcuContainer` if it is top level ICU.\n *\n * The reason for this is that the top level ICU need a `TNode` so that they are part of the render\n * tree, but nested ICU's have no TNode, because we don't know ahead of time if the nested ICU is\n * expressed (parent ICU may have selected a case which does not contain it.)\n *\n * @param tView Current `TView`.\n * @param index Index where the value should be stored at in `Tview.data`\n * @param tIcu The TIcu to store.\n */\nfunction setTIcu(tView, index, tIcu) {\n const tNode = tView.data[index];\n ngDevMode &&\n assertEqual(tNode === null || tNode.hasOwnProperty('tView'), true, 'We expect to get \\'null\\'|\\'TIcuContainer\\'');\n if (tNode === null) {\n tView.data[index] = tIcu;\n }\n else {\n ngDevMode && assertTNodeType(tNode, 32 /* TNodeType.Icu */);\n tNode.value = tIcu;\n }\n}\n/**\n * Set `TNode.insertBeforeIndex` taking the `Array` into account.\n *\n * See `TNode.insertBeforeIndex`\n */\nfunction setTNodeInsertBeforeIndex(tNode, index) {\n ngDevMode && assertTNode(tNode);\n let insertBeforeIndex = tNode.insertBeforeIndex;\n if (insertBeforeIndex === null) {\n setI18nHandling(getInsertInFrontOfRNodeWithI18n, processI18nInsertBefore);\n insertBeforeIndex = tNode.insertBeforeIndex =\n [null /* may be updated to number later */, index];\n }\n else {\n assertEqual(Array.isArray(insertBeforeIndex), true, 'Expecting array here');\n insertBeforeIndex.push(index);\n }\n}\n/**\n * Create `TNode.type=TNodeType.Placeholder` node.\n *\n * See `TNodeType.Placeholder` for more information.\n */\nfunction createTNodePlaceholder(tView, previousTNodes, index) {\n const tNode = createTNodeAtIndex(tView, index, 64 /* TNodeType.Placeholder */, null, null);\n addTNodeAndUpdateInsertBeforeIndex(previousTNodes, tNode);\n return tNode;\n}\n/**\n * Returns current ICU case.\n *\n * ICU cases are stored as index into the `TIcu.cases`.\n * At times it is necessary to communicate that the ICU case just switched and that next ICU update\n * should update all bindings regardless of the mask. In such a case the we store negative numbers\n * for cases which have just been switched. This function removes the negative flag.\n */\nfunction getCurrentICUCaseIndex(tIcu, lView) {\n const currentCase = lView[tIcu.currentCaseLViewIndex];\n return currentCase === null ? currentCase : (currentCase < 0 ? ~currentCase : currentCase);\n}\nfunction getParentFromIcuCreateOpCode(mergedCode) {\n return mergedCode >>> 17 /* IcuCreateOpCode.SHIFT_PARENT */;\n}\nfunction getRefFromIcuCreateOpCode(mergedCode) {\n return (mergedCode & 131070 /* IcuCreateOpCode.MASK_REF */) >>> 1 /* IcuCreateOpCode.SHIFT_REF */;\n}\nfunction getInstructionFromIcuCreateOpCode(mergedCode) {\n return mergedCode & 1 /* IcuCreateOpCode.MASK_INSTRUCTION */;\n}\nfunction icuCreateOpCode(opCode, parentIdx, refIdx) {\n ngDevMode && assertGreaterThanOrEqual(parentIdx, 0, 'Missing parent index');\n ngDevMode && assertGreaterThan(refIdx, 0, 'Missing ref index');\n return opCode | parentIdx << 17 /* IcuCreateOpCode.SHIFT_PARENT */ | refIdx << 1 /* IcuCreateOpCode.SHIFT_REF */;\n}\n\n/**\n * Keep track of which input bindings in `ɵɵi18nExp` have changed.\n *\n * This is used to efficiently update expressions in i18n only when the corresponding input has\n * changed.\n *\n * 1) Each bit represents which of the `ɵɵi18nExp` has changed.\n * 2) There are 32 bits allowed in JS.\n * 3) Bit 32 is special as it is shared for all changes past 32. (In other words if you have more\n * than 32 `ɵɵi18nExp` then all changes past 32nd `ɵɵi18nExp` will be mapped to same bit. This means\n * that we may end up changing more than we need to. But i18n expressions with 32 bindings is rare\n * so in practice it should not be an issue.)\n */\nlet changeMask = 0b0;\n/**\n * Keeps track of which bit needs to be updated in `changeMask`\n *\n * This value gets incremented on every call to `ɵɵi18nExp`\n */\nlet changeMaskCounter = 0;\n/**\n * Keep track of which input bindings in `ɵɵi18nExp` have changed.\n *\n * `setMaskBit` gets invoked by each call to `ɵɵi18nExp`.\n *\n * @param hasChange did `ɵɵi18nExp` detect a change.\n */\nfunction setMaskBit(hasChange) {\n if (hasChange) {\n changeMask = changeMask | (1 << Math.min(changeMaskCounter, 31));\n }\n changeMaskCounter++;\n}\nfunction applyI18n(tView, lView, index) {\n if (changeMaskCounter > 0) {\n ngDevMode && assertDefined(tView, `tView should be defined`);\n const tI18n = tView.data[index];\n // When `index` points to an `ɵɵi18nAttributes` then we have an array otherwise `TI18n`\n const updateOpCodes = Array.isArray(tI18n) ? tI18n : tI18n.update;\n const bindingsStartIndex = getBindingIndex() - changeMaskCounter - 1;\n applyUpdateOpCodes(tView, lView, updateOpCodes, bindingsStartIndex, changeMask);\n }\n // Reset changeMask & maskBit to default for the next update cycle\n changeMask = 0b0;\n changeMaskCounter = 0;\n}\n/**\n * Apply `I18nCreateOpCodes` op-codes as stored in `TI18n.create`.\n *\n * Creates text (and comment) nodes which are internationalized.\n *\n * @param lView Current lView\n * @param createOpCodes Set of op-codes to apply\n * @param parentRNode Parent node (so that direct children can be added eagerly) or `null` if it is\n * a root node.\n * @param insertInFrontOf DOM node that should be used as an anchor.\n */\nfunction applyCreateOpCodes(lView, createOpCodes, parentRNode, insertInFrontOf) {\n const renderer = lView[RENDERER];\n for (let i = 0; i < createOpCodes.length; i++) {\n const opCode = createOpCodes[i++];\n const text = createOpCodes[i];\n const isComment = (opCode & I18nCreateOpCode.COMMENT) === I18nCreateOpCode.COMMENT;\n const appendNow = (opCode & I18nCreateOpCode.APPEND_EAGERLY) === I18nCreateOpCode.APPEND_EAGERLY;\n const index = opCode >>> I18nCreateOpCode.SHIFT;\n let rNode = lView[index];\n if (rNode === null) {\n // We only create new DOM nodes if they don't already exist: If ICU switches case back to a\n // case which was already instantiated, no need to create new DOM nodes.\n rNode = lView[index] =\n isComment ? renderer.createComment(text) : createTextNode(renderer, text);\n }\n if (appendNow && parentRNode !== null) {\n nativeInsertBefore(renderer, parentRNode, rNode, insertInFrontOf, false);\n }\n }\n}\n/**\n * Apply `I18nMutateOpCodes` OpCodes.\n *\n * @param tView Current `TView`\n * @param mutableOpCodes Mutable OpCodes to process\n * @param lView Current `LView`\n * @param anchorRNode place where the i18n node should be inserted.\n */\nfunction applyMutableOpCodes(tView, mutableOpCodes, lView, anchorRNode) {\n ngDevMode && assertDomNode(anchorRNode);\n const renderer = lView[RENDERER];\n // `rootIdx` represents the node into which all inserts happen.\n let rootIdx = null;\n // `rootRNode` represents the real node into which we insert. This can be different from\n // `lView[rootIdx]` if we have projection.\n // - null we don't have a parent (as can be the case in when we are inserting into a root of\n // LView which has no parent.)\n // - `RElement` The element representing the root after taking projection into account.\n let rootRNode;\n for (let i = 0; i < mutableOpCodes.length; i++) {\n const opCode = mutableOpCodes[i];\n if (typeof opCode == 'string') {\n const textNodeIndex = mutableOpCodes[++i];\n if (lView[textNodeIndex] === null) {\n ngDevMode && ngDevMode.rendererCreateTextNode++;\n ngDevMode && assertIndexInRange(lView, textNodeIndex);\n lView[textNodeIndex] = createTextNode(renderer, opCode);\n }\n }\n else if (typeof opCode == 'number') {\n switch (opCode & 1 /* IcuCreateOpCode.MASK_INSTRUCTION */) {\n case 0 /* IcuCreateOpCode.AppendChild */:\n const parentIdx = getParentFromIcuCreateOpCode(opCode);\n if (rootIdx === null) {\n // The first operation should save the `rootIdx` because the first operation\n // must insert into the root. (Only subsequent operations can insert into a dynamic\n // parent)\n rootIdx = parentIdx;\n rootRNode = nativeParentNode(renderer, anchorRNode);\n }\n let insertInFrontOf;\n let parentRNode;\n if (parentIdx === rootIdx) {\n insertInFrontOf = anchorRNode;\n parentRNode = rootRNode;\n }\n else {\n insertInFrontOf = null;\n parentRNode = unwrapRNode(lView[parentIdx]);\n }\n // FIXME(misko): Refactor with `processI18nText`\n if (parentRNode !== null) {\n // This can happen if the `LView` we are adding to is not attached to a parent `LView`.\n // In such a case there is no \"root\" we can attach to. This is fine, as we still need to\n // create the elements. When the `LView` gets later added to a parent these \"root\" nodes\n // get picked up and added.\n ngDevMode && assertDomNode(parentRNode);\n const refIdx = getRefFromIcuCreateOpCode(opCode);\n ngDevMode && assertGreaterThan(refIdx, HEADER_OFFSET, 'Missing ref');\n // `unwrapRNode` is not needed here as all of these point to RNodes as part of the i18n\n // which can't have components.\n const child = lView[refIdx];\n ngDevMode && assertDomNode(child);\n nativeInsertBefore(renderer, parentRNode, child, insertInFrontOf, false);\n const tIcu = getTIcu(tView, refIdx);\n if (tIcu !== null && typeof tIcu === 'object') {\n // If we just added a comment node which has ICU then that ICU may have already been\n // rendered and therefore we need to re-add it here.\n ngDevMode && assertTIcu(tIcu);\n const caseIndex = getCurrentICUCaseIndex(tIcu, lView);\n if (caseIndex !== null) {\n applyMutableOpCodes(tView, tIcu.create[caseIndex], lView, lView[tIcu.anchorIdx]);\n }\n }\n }\n break;\n case 1 /* IcuCreateOpCode.Attr */:\n const elementNodeIndex = opCode >>> 1 /* IcuCreateOpCode.SHIFT_REF */;\n const attrName = mutableOpCodes[++i];\n const attrValue = mutableOpCodes[++i];\n // This code is used for ICU expressions only, since we don't support\n // directives/components in ICUs, we don't need to worry about inputs here\n setElementAttribute(renderer, getNativeByIndex(elementNodeIndex, lView), null, null, attrName, attrValue, null);\n break;\n default:\n if (ngDevMode) {\n throw new RuntimeError(700 /* RuntimeErrorCode.INVALID_I18N_STRUCTURE */, `Unable to determine the type of mutate operation for \"${opCode}\"`);\n }\n }\n }\n else {\n switch (opCode) {\n case ICU_MARKER:\n const commentValue = mutableOpCodes[++i];\n const commentNodeIndex = mutableOpCodes[++i];\n if (lView[commentNodeIndex] === null) {\n ngDevMode &&\n assertEqual(typeof commentValue, 'string', `Expected \"${commentValue}\" to be a comment node value`);\n ngDevMode && ngDevMode.rendererCreateComment++;\n ngDevMode && assertIndexInExpandoRange(lView, commentNodeIndex);\n const commentRNode = lView[commentNodeIndex] =\n createCommentNode(renderer, commentValue);\n // FIXME(misko): Attaching patch data is only needed for the root (Also add tests)\n attachPatchData(commentRNode, lView);\n }\n break;\n case ELEMENT_MARKER:\n const tagName = mutableOpCodes[++i];\n const elementNodeIndex = mutableOpCodes[++i];\n if (lView[elementNodeIndex] === null) {\n ngDevMode &&\n assertEqual(typeof tagName, 'string', `Expected \"${tagName}\" to be an element node tag name`);\n ngDevMode && ngDevMode.rendererCreateElement++;\n ngDevMode && assertIndexInExpandoRange(lView, elementNodeIndex);\n const elementRNode = lView[elementNodeIndex] =\n createElementNode(renderer, tagName, null);\n // FIXME(misko): Attaching patch data is only needed for the root (Also add tests)\n attachPatchData(elementRNode, lView);\n }\n break;\n default:\n ngDevMode &&\n throwError(`Unable to determine the type of mutate operation for \"${opCode}\"`);\n }\n }\n }\n}\n/**\n * Apply `I18nUpdateOpCodes` OpCodes\n *\n * @param tView Current `TView`\n * @param lView Current `LView`\n * @param updateOpCodes OpCodes to process\n * @param bindingsStartIndex Location of the first `ɵɵi18nApply`\n * @param changeMask Each bit corresponds to a `ɵɵi18nExp` (Counting backwards from\n * `bindingsStartIndex`)\n */\nfunction applyUpdateOpCodes(tView, lView, updateOpCodes, bindingsStartIndex, changeMask) {\n for (let i = 0; i < updateOpCodes.length; i++) {\n // bit code to check if we should apply the next update\n const checkBit = updateOpCodes[i];\n // Number of opCodes to skip until next set of update codes\n const skipCodes = updateOpCodes[++i];\n if (checkBit & changeMask) {\n // The value has been updated since last checked\n let value = '';\n for (let j = i + 1; j <= (i + skipCodes); j++) {\n const opCode = updateOpCodes[j];\n if (typeof opCode == 'string') {\n value += opCode;\n }\n else if (typeof opCode == 'number') {\n if (opCode < 0) {\n // Negative opCode represent `i18nExp` values offset.\n value += renderStringify(lView[bindingsStartIndex - opCode]);\n }\n else {\n const nodeIndex = (opCode >>> 2 /* I18nUpdateOpCode.SHIFT_REF */);\n switch (opCode & 3 /* I18nUpdateOpCode.MASK_OPCODE */) {\n case 1 /* I18nUpdateOpCode.Attr */:\n const propName = updateOpCodes[++j];\n const sanitizeFn = updateOpCodes[++j];\n const tNodeOrTagName = tView.data[nodeIndex];\n ngDevMode && assertDefined(tNodeOrTagName, 'Experting TNode or string');\n if (typeof tNodeOrTagName === 'string') {\n // IF we don't have a `TNode`, then we are an element in ICU (as ICU content does\n // not have TNode), in which case we know that there are no directives, and hence\n // we use attribute setting.\n setElementAttribute(lView[RENDERER], lView[nodeIndex], null, tNodeOrTagName, propName, value, sanitizeFn);\n }\n else {\n elementPropertyInternal(tView, tNodeOrTagName, lView, propName, value, lView[RENDERER], sanitizeFn, false);\n }\n break;\n case 0 /* I18nUpdateOpCode.Text */:\n const rText = lView[nodeIndex];\n rText !== null && updateTextNode(lView[RENDERER], rText, value);\n break;\n case 2 /* I18nUpdateOpCode.IcuSwitch */:\n applyIcuSwitchCase(tView, getTIcu(tView, nodeIndex), lView, value);\n break;\n case 3 /* I18nUpdateOpCode.IcuUpdate */:\n applyIcuUpdateCase(tView, getTIcu(tView, nodeIndex), bindingsStartIndex, lView);\n break;\n }\n }\n }\n }\n }\n else {\n const opCode = updateOpCodes[i + 1];\n if (opCode > 0 && (opCode & 3 /* I18nUpdateOpCode.MASK_OPCODE */) === 3 /* I18nUpdateOpCode.IcuUpdate */) {\n // Special case for the `icuUpdateCase`. It could be that the mask did not match, but\n // we still need to execute `icuUpdateCase` because the case has changed recently due to\n // previous `icuSwitchCase` instruction. (`icuSwitchCase` and `icuUpdateCase` always come in\n // pairs.)\n const nodeIndex = (opCode >>> 2 /* I18nUpdateOpCode.SHIFT_REF */);\n const tIcu = getTIcu(tView, nodeIndex);\n const currentIndex = lView[tIcu.currentCaseLViewIndex];\n if (currentIndex < 0) {\n applyIcuUpdateCase(tView, tIcu, bindingsStartIndex, lView);\n }\n }\n }\n i += skipCodes;\n }\n}\n/**\n * Apply OpCodes associated with updating an existing ICU.\n *\n * @param tView Current `TView`\n * @param tIcu Current `TIcu`\n * @param bindingsStartIndex Location of the first `ɵɵi18nApply`\n * @param lView Current `LView`\n */\nfunction applyIcuUpdateCase(tView, tIcu, bindingsStartIndex, lView) {\n ngDevMode && assertIndexInRange(lView, tIcu.currentCaseLViewIndex);\n let activeCaseIndex = lView[tIcu.currentCaseLViewIndex];\n if (activeCaseIndex !== null) {\n let mask = changeMask;\n if (activeCaseIndex < 0) {\n // Clear the flag.\n // Negative number means that the ICU was freshly created and we need to force the update.\n activeCaseIndex = lView[tIcu.currentCaseLViewIndex] = ~activeCaseIndex;\n // -1 is same as all bits on, which simulates creation since it marks all bits dirty\n mask = -1;\n }\n applyUpdateOpCodes(tView, lView, tIcu.update[activeCaseIndex], bindingsStartIndex, mask);\n }\n}\n/**\n * Apply OpCodes associated with switching a case on ICU.\n *\n * This involves tearing down existing case and than building up a new case.\n *\n * @param tView Current `TView`\n * @param tIcu Current `TIcu`\n * @param lView Current `LView`\n * @param value Value of the case to update to.\n */\nfunction applyIcuSwitchCase(tView, tIcu, lView, value) {\n // Rebuild a new case for this ICU\n const caseIndex = getCaseIndex(tIcu, value);\n let activeCaseIndex = getCurrentICUCaseIndex(tIcu, lView);\n if (activeCaseIndex !== caseIndex) {\n applyIcuSwitchCaseRemove(tView, tIcu, lView);\n lView[tIcu.currentCaseLViewIndex] = caseIndex === null ? null : ~caseIndex;\n if (caseIndex !== null) {\n // Add the nodes for the new case\n const anchorRNode = lView[tIcu.anchorIdx];\n if (anchorRNode) {\n ngDevMode && assertDomNode(anchorRNode);\n applyMutableOpCodes(tView, tIcu.create[caseIndex], lView, anchorRNode);\n }\n }\n }\n}\n/**\n * Apply OpCodes associated with tearing ICU case.\n *\n * This involves tearing down existing case and than building up a new case.\n *\n * @param tView Current `TView`\n * @param tIcu Current `TIcu`\n * @param lView Current `LView`\n */\nfunction applyIcuSwitchCaseRemove(tView, tIcu, lView) {\n let activeCaseIndex = getCurrentICUCaseIndex(tIcu, lView);\n if (activeCaseIndex !== null) {\n const removeCodes = tIcu.remove[activeCaseIndex];\n for (let i = 0; i < removeCodes.length; i++) {\n const nodeOrIcuIndex = removeCodes[i];\n if (nodeOrIcuIndex > 0) {\n // Positive numbers are `RNode`s.\n const rNode = getNativeByIndex(nodeOrIcuIndex, lView);\n rNode !== null && nativeRemoveNode(lView[RENDERER], rNode);\n }\n else {\n // Negative numbers are ICUs\n applyIcuSwitchCaseRemove(tView, getTIcu(tView, ~nodeOrIcuIndex), lView);\n }\n }\n }\n}\n/**\n * Returns the index of the current case of an ICU expression depending on the main binding value\n *\n * @param icuExpression\n * @param bindingValue The value of the main binding used by this ICU expression\n */\nfunction getCaseIndex(icuExpression, bindingValue) {\n let index = icuExpression.cases.indexOf(bindingValue);\n if (index === -1) {\n switch (icuExpression.type) {\n case 1 /* IcuType.plural */: {\n const resolvedCase = getPluralCase(bindingValue, getLocaleId());\n index = icuExpression.cases.indexOf(resolvedCase);\n if (index === -1 && resolvedCase !== 'other') {\n index = icuExpression.cases.indexOf('other');\n }\n break;\n }\n case 0 /* IcuType.select */: {\n index = icuExpression.cases.indexOf('other');\n break;\n }\n }\n }\n return index === -1 ? null : index;\n}\n\nfunction loadIcuContainerVisitor() {\n const _stack = [];\n let _index = -1;\n let _lView;\n let _removes;\n /**\n * Retrieves a set of root nodes from `TIcu.remove`. Used by `TNodeType.ICUContainer`\n * to determine which root belong to the ICU.\n *\n * Example of usage.\n * ```\n * const nextRNode = icuContainerIteratorStart(tIcuContainerNode, lView);\n * let rNode: RNode|null;\n * while(rNode = nextRNode()) {\n * console.log(rNode);\n * }\n * ```\n *\n * @param tIcuContainerNode Current `TIcuContainerNode`\n * @param lView `LView` where the `RNode`s should be looked up.\n */\n function icuContainerIteratorStart(tIcuContainerNode, lView) {\n _lView = lView;\n while (_stack.length)\n _stack.pop();\n ngDevMode && assertTNodeForLView(tIcuContainerNode, lView);\n enterIcu(tIcuContainerNode.value, lView);\n return icuContainerIteratorNext;\n }\n function enterIcu(tIcu, lView) {\n _index = 0;\n const currentCase = getCurrentICUCaseIndex(tIcu, lView);\n if (currentCase !== null) {\n ngDevMode && assertNumberInRange(currentCase, 0, tIcu.cases.length - 1);\n _removes = tIcu.remove[currentCase];\n }\n else {\n _removes = EMPTY_ARRAY;\n }\n }\n function icuContainerIteratorNext() {\n if (_index < _removes.length) {\n const removeOpCode = _removes[_index++];\n ngDevMode && assertNumber(removeOpCode, 'Expecting OpCode number');\n if (removeOpCode > 0) {\n const rNode = _lView[removeOpCode];\n ngDevMode && assertDomNode(rNode);\n return rNode;\n }\n else {\n _stack.push(_index, _removes);\n // ICUs are represented by negative indices\n const tIcuIndex = ~removeOpCode;\n const tIcu = _lView[TVIEW].data[tIcuIndex];\n ngDevMode && assertTIcu(tIcu);\n enterIcu(tIcu, _lView);\n return icuContainerIteratorNext();\n }\n }\n else {\n if (_stack.length === 0) {\n return null;\n }\n else {\n _removes = _stack.pop();\n _index = _stack.pop();\n return icuContainerIteratorNext();\n }\n }\n }\n return icuContainerIteratorStart;\n}\n\n/**\n * Converts `I18nCreateOpCodes` array into a human readable format.\n *\n * This function is attached to the `I18nCreateOpCodes.debug` property if `ngDevMode` is enabled.\n * This function provides a human readable view of the opcodes. This is useful when debugging the\n * application as well as writing more readable tests.\n *\n * @param this `I18nCreateOpCodes` if attached as a method.\n * @param opcodes `I18nCreateOpCodes` if invoked as a function.\n */\nfunction i18nCreateOpCodesToString(opcodes) {\n const createOpCodes = opcodes || (Array.isArray(this) ? this : []);\n let lines = [];\n for (let i = 0; i < createOpCodes.length; i++) {\n const opCode = createOpCodes[i++];\n const text = createOpCodes[i];\n const isComment = (opCode & I18nCreateOpCode.COMMENT) === I18nCreateOpCode.COMMENT;\n const appendNow = (opCode & I18nCreateOpCode.APPEND_EAGERLY) === I18nCreateOpCode.APPEND_EAGERLY;\n const index = opCode >>> I18nCreateOpCode.SHIFT;\n lines.push(`lView[${index}] = document.${isComment ? 'createComment' : 'createText'}(${JSON.stringify(text)});`);\n if (appendNow) {\n lines.push(`parent.appendChild(lView[${index}]);`);\n }\n }\n return lines;\n}\n/**\n * Converts `I18nUpdateOpCodes` array into a human readable format.\n *\n * This function is attached to the `I18nUpdateOpCodes.debug` property if `ngDevMode` is enabled.\n * This function provides a human readable view of the opcodes. This is useful when debugging the\n * application as well as writing more readable tests.\n *\n * @param this `I18nUpdateOpCodes` if attached as a method.\n * @param opcodes `I18nUpdateOpCodes` if invoked as a function.\n */\nfunction i18nUpdateOpCodesToString(opcodes) {\n const parser = new OpCodeParser(opcodes || (Array.isArray(this) ? this : []));\n let lines = [];\n function consumeOpCode(value) {\n const ref = value >>> 2 /* I18nUpdateOpCode.SHIFT_REF */;\n const opCode = value & 3 /* I18nUpdateOpCode.MASK_OPCODE */;\n switch (opCode) {\n case 0 /* I18nUpdateOpCode.Text */:\n return `(lView[${ref}] as Text).textContent = $$$`;\n case 1 /* I18nUpdateOpCode.Attr */:\n const attrName = parser.consumeString();\n const sanitizationFn = parser.consumeFunction();\n const value = sanitizationFn ? `(${sanitizationFn})($$$)` : '$$$';\n return `(lView[${ref}] as Element).setAttribute('${attrName}', ${value})`;\n case 2 /* I18nUpdateOpCode.IcuSwitch */:\n return `icuSwitchCase(${ref}, $$$)`;\n case 3 /* I18nUpdateOpCode.IcuUpdate */:\n return `icuUpdateCase(${ref})`;\n }\n throw new Error('unexpected OpCode');\n }\n while (parser.hasMore()) {\n let mask = parser.consumeNumber();\n let size = parser.consumeNumber();\n const end = parser.i + size;\n const statements = [];\n let statement = '';\n while (parser.i < end) {\n let value = parser.consumeNumberOrString();\n if (typeof value === 'string') {\n statement += value;\n }\n else if (value < 0) {\n // Negative numbers are ref indexes\n // Here `i` refers to current binding index. It is to signify that the value is relative,\n // rather than absolute.\n statement += '${lView[i' + value + ']}';\n }\n else {\n // Positive numbers are operations.\n const opCodeText = consumeOpCode(value);\n statements.push(opCodeText.replace('$$$', '`' + statement + '`') + ';');\n statement = '';\n }\n }\n lines.push(`if (mask & 0b${mask.toString(2)}) { ${statements.join(' ')} }`);\n }\n return lines;\n}\n/**\n * Converts `I18nCreateOpCodes` array into a human readable format.\n *\n * This function is attached to the `I18nCreateOpCodes.debug` if `ngDevMode` is enabled. This\n * function provides a human readable view of the opcodes. This is useful when debugging the\n * application as well as writing more readable tests.\n *\n * @param this `I18nCreateOpCodes` if attached as a method.\n * @param opcodes `I18nCreateOpCodes` if invoked as a function.\n */\nfunction icuCreateOpCodesToString(opcodes) {\n const parser = new OpCodeParser(opcodes || (Array.isArray(this) ? this : []));\n let lines = [];\n function consumeOpCode(opCode) {\n const parent = getParentFromIcuCreateOpCode(opCode);\n const ref = getRefFromIcuCreateOpCode(opCode);\n switch (getInstructionFromIcuCreateOpCode(opCode)) {\n case 0 /* IcuCreateOpCode.AppendChild */:\n return `(lView[${parent}] as Element).appendChild(lView[${lastRef}])`;\n case 1 /* IcuCreateOpCode.Attr */:\n return `(lView[${ref}] as Element).setAttribute(\"${parser.consumeString()}\", \"${parser.consumeString()}\")`;\n }\n throw new Error('Unexpected OpCode: ' + getInstructionFromIcuCreateOpCode(opCode));\n }\n let lastRef = -1;\n while (parser.hasMore()) {\n let value = parser.consumeNumberStringOrMarker();\n if (value === ICU_MARKER) {\n const text = parser.consumeString();\n lastRef = parser.consumeNumber();\n lines.push(`lView[${lastRef}] = document.createComment(\"${text}\")`);\n }\n else if (value === ELEMENT_MARKER) {\n const text = parser.consumeString();\n lastRef = parser.consumeNumber();\n lines.push(`lView[${lastRef}] = document.createElement(\"${text}\")`);\n }\n else if (typeof value === 'string') {\n lastRef = parser.consumeNumber();\n lines.push(`lView[${lastRef}] = document.createTextNode(\"${value}\")`);\n }\n else if (typeof value === 'number') {\n const line = consumeOpCode(value);\n line && lines.push(line);\n }\n else {\n throw new Error('Unexpected value');\n }\n }\n return lines;\n}\n/**\n * Converts `I18nRemoveOpCodes` array into a human readable format.\n *\n * This function is attached to the `I18nRemoveOpCodes.debug` if `ngDevMode` is enabled. This\n * function provides a human readable view of the opcodes. This is useful when debugging the\n * application as well as writing more readable tests.\n *\n * @param this `I18nRemoveOpCodes` if attached as a method.\n * @param opcodes `I18nRemoveOpCodes` if invoked as a function.\n */\nfunction i18nRemoveOpCodesToString(opcodes) {\n const removeCodes = opcodes || (Array.isArray(this) ? this : []);\n let lines = [];\n for (let i = 0; i < removeCodes.length; i++) {\n const nodeOrIcuIndex = removeCodes[i];\n if (nodeOrIcuIndex > 0) {\n // Positive numbers are `RNode`s.\n lines.push(`remove(lView[${nodeOrIcuIndex}])`);\n }\n else {\n // Negative numbers are ICUs\n lines.push(`removeNestedICU(${~nodeOrIcuIndex})`);\n }\n }\n return lines;\n}\nclass OpCodeParser {\n constructor(codes) {\n this.i = 0;\n this.codes = codes;\n }\n hasMore() {\n return this.i < this.codes.length;\n }\n consumeNumber() {\n let value = this.codes[this.i++];\n assertNumber(value, 'expecting number in OpCode');\n return value;\n }\n consumeString() {\n let value = this.codes[this.i++];\n assertString(value, 'expecting string in OpCode');\n return value;\n }\n consumeFunction() {\n let value = this.codes[this.i++];\n if (value === null || typeof value === 'function') {\n return value;\n }\n throw new Error('expecting function in OpCode');\n }\n consumeNumberOrString() {\n let value = this.codes[this.i++];\n if (typeof value === 'string') {\n return value;\n }\n assertNumber(value, 'expecting number or string in OpCode');\n return value;\n }\n consumeNumberStringOrMarker() {\n let value = this.codes[this.i++];\n if (typeof value === 'string' || typeof value === 'number' || value == ICU_MARKER ||\n value == ELEMENT_MARKER) {\n return value;\n }\n assertNumber(value, 'expecting number, string, ICU_MARKER or ELEMENT_MARKER in OpCode');\n return value;\n }\n}\n\nconst BINDING_REGEXP = /�(\\d+):?\\d*�/gi;\nconst ICU_REGEXP = /({\\s*�\\d+:?\\d*�\\s*,\\s*\\S{6}\\s*,[\\s\\S]*})/gi;\nconst NESTED_ICU = /�(\\d+)�/;\nconst ICU_BLOCK_REGEXP = /^\\s*(�\\d+:?\\d*�)\\s*,\\s*(select|plural)\\s*,/;\nconst MARKER = `�`;\nconst SUBTEMPLATE_REGEXP = /�\\/?\\*(\\d+:\\d+)�/gi;\nconst PH_REGEXP = /�(\\/?[#*]\\d+):?\\d*�/gi;\n/**\n * Angular uses the special entity &ngsp; as a placeholder for non-removable space.\n * It's replaced by the 0xE500 PUA (Private Use Areas) unicode character and later on replaced by a\n * space.\n * We are re-implementing the same idea since translations might contain this special character.\n */\nconst NGSP_UNICODE_REGEXP = /\\uE500/g;\nfunction replaceNgsp(value) {\n return value.replace(NGSP_UNICODE_REGEXP, ' ');\n}\n/**\n * Patch a `debug` property getter on top of the existing object.\n *\n * NOTE: always call this method with `ngDevMode && attachDebugObject(...)`\n *\n * @param obj Object to patch\n * @param debugGetter Getter returning a value to patch\n */\nfunction attachDebugGetter(obj, debugGetter) {\n if (ngDevMode) {\n Object.defineProperty(obj, 'debug', { get: debugGetter, enumerable: false });\n }\n else {\n throw new Error('This method should be guarded with `ngDevMode` so that it can be tree shaken in production!');\n }\n}\n/**\n * Create dynamic nodes from i18n translation block.\n *\n * - Text nodes are created synchronously\n * - TNodes are linked into tree lazily\n *\n * @param tView Current `TView`\n * @parentTNodeIndex index to the parent TNode of this i18n block\n * @param lView Current `LView`\n * @param index Index of `ɵɵi18nStart` instruction.\n * @param message Message to translate.\n * @param subTemplateIndex Index into the sub template of message translation. (ie in case of\n * `ngIf`) (-1 otherwise)\n */\nfunction i18nStartFirstCreatePass(tView, parentTNodeIndex, lView, index, message, subTemplateIndex) {\n const rootTNode = getCurrentParentTNode();\n const createOpCodes = [];\n const updateOpCodes = [];\n const existingTNodeStack = [[]];\n if (ngDevMode) {\n attachDebugGetter(createOpCodes, i18nCreateOpCodesToString);\n attachDebugGetter(updateOpCodes, i18nUpdateOpCodesToString);\n }\n message = getTranslationForTemplate(message, subTemplateIndex);\n const msgParts = replaceNgsp(message).split(PH_REGEXP);\n for (let i = 0; i < msgParts.length; i++) {\n let value = msgParts[i];\n if ((i & 1) === 0) {\n // Even indexes are text (including bindings & ICU expressions)\n const parts = i18nParseTextIntoPartsAndICU(value);\n for (let j = 0; j < parts.length; j++) {\n let part = parts[j];\n if ((j & 1) === 0) {\n // `j` is odd therefore `part` is string\n const text = part;\n ngDevMode && assertString(text, 'Parsed ICU part should be string');\n if (text !== '') {\n i18nStartFirstCreatePassProcessTextNode(tView, rootTNode, existingTNodeStack[0], createOpCodes, updateOpCodes, lView, text);\n }\n }\n else {\n // `j` is Even therefor `part` is an `ICUExpression`\n const icuExpression = part;\n // Verify that ICU expression has the right shape. Translations might contain invalid\n // constructions (while original messages were correct), so ICU parsing at runtime may\n // not succeed (thus `icuExpression` remains a string).\n // Note: we intentionally retain the error here by not using `ngDevMode`, because\n // the value can change based on the locale and users aren't guaranteed to hit\n // an invalid string while they're developing.\n if (typeof icuExpression !== 'object') {\n throw new Error(`Unable to parse ICU expression in \"${message}\" message.`);\n }\n const icuContainerTNode = createTNodeAndAddOpCode(tView, rootTNode, existingTNodeStack[0], lView, createOpCodes, ngDevMode ? `ICU ${index}:${icuExpression.mainBinding}` : '', true);\n const icuNodeIndex = icuContainerTNode.index;\n ngDevMode &&\n assertGreaterThanOrEqual(icuNodeIndex, HEADER_OFFSET, 'Index must be in absolute LView offset');\n icuStart(tView, lView, updateOpCodes, parentTNodeIndex, icuExpression, icuNodeIndex);\n }\n }\n }\n else {\n // Odd indexes are placeholders (elements and sub-templates)\n // At this point value is something like: '/#1:2' (originally coming from '�/#1:2�')\n const isClosing = value.charCodeAt(0) === 47 /* CharCode.SLASH */;\n const type = value.charCodeAt(isClosing ? 1 : 0);\n ngDevMode && assertOneOf(type, 42 /* CharCode.STAR */, 35 /* CharCode.HASH */);\n const index = HEADER_OFFSET + Number.parseInt(value.substring((isClosing ? 2 : 1)));\n if (isClosing) {\n existingTNodeStack.shift();\n setCurrentTNode(getCurrentParentTNode(), false);\n }\n else {\n const tNode = createTNodePlaceholder(tView, existingTNodeStack[0], index);\n existingTNodeStack.unshift([]);\n setCurrentTNode(tNode, true);\n }\n }\n }\n tView.data[index] = {\n create: createOpCodes,\n update: updateOpCodes,\n };\n}\n/**\n * Allocate space in i18n Range add create OpCode instruction to create a text or comment node.\n *\n * @param tView Current `TView` needed to allocate space in i18n range.\n * @param rootTNode Root `TNode` of the i18n block. This node determines if the new TNode will be\n * added as part of the `i18nStart` instruction or as part of the `TNode.insertBeforeIndex`.\n * @param existingTNodes internal state for `addTNodeAndUpdateInsertBeforeIndex`.\n * @param lView Current `LView` needed to allocate space in i18n range.\n * @param createOpCodes Array storing `I18nCreateOpCodes` where new opCodes will be added.\n * @param text Text to be added when the `Text` or `Comment` node will be created.\n * @param isICU true if a `Comment` node for ICU (instead of `Text`) node should be created.\n */\nfunction createTNodeAndAddOpCode(tView, rootTNode, existingTNodes, lView, createOpCodes, text, isICU) {\n const i18nNodeIdx = allocExpando(tView, lView, 1, null);\n let opCode = i18nNodeIdx << I18nCreateOpCode.SHIFT;\n let parentTNode = getCurrentParentTNode();\n if (rootTNode === parentTNode) {\n // FIXME(misko): A null `parentTNode` should represent when we fall of the `LView` boundary.\n // (there is no parent), but in some circumstances (because we are inconsistent about how we set\n // `previousOrParentTNode`) it could point to `rootTNode` So this is a work around.\n parentTNode = null;\n }\n if (parentTNode === null) {\n // If we don't have a parent that means that we can eagerly add nodes.\n // If we have a parent than these nodes can't be added now (as the parent has not been created\n // yet) and instead the `parentTNode` is responsible for adding it. See\n // `TNode.insertBeforeIndex`\n opCode |= I18nCreateOpCode.APPEND_EAGERLY;\n }\n if (isICU) {\n opCode |= I18nCreateOpCode.COMMENT;\n ensureIcuContainerVisitorLoaded(loadIcuContainerVisitor);\n }\n createOpCodes.push(opCode, text === null ? '' : text);\n // We store `{{?}}` so that when looking at debug `TNodeType.template` we can see where the\n // bindings are.\n const tNode = createTNodeAtIndex(tView, i18nNodeIdx, isICU ? 32 /* TNodeType.Icu */ : 1 /* TNodeType.Text */, text === null ? (ngDevMode ? '{{?}}' : '') : text, null);\n addTNodeAndUpdateInsertBeforeIndex(existingTNodes, tNode);\n const tNodeIdx = tNode.index;\n setCurrentTNode(tNode, false /* Text nodes are self closing */);\n if (parentTNode !== null && rootTNode !== parentTNode) {\n // We are a child of deeper node (rather than a direct child of `i18nStart` instruction.)\n // We have to make sure to add ourselves to the parent.\n setTNodeInsertBeforeIndex(parentTNode, tNodeIdx);\n }\n return tNode;\n}\n/**\n * Processes text node in i18n block.\n *\n * Text nodes can have:\n * - Create instruction in `createOpCodes` for creating the text node.\n * - Allocate spec for text node in i18n range of `LView`\n * - If contains binding:\n * - bindings => allocate space in i18n range of `LView` to store the binding value.\n * - populate `updateOpCodes` with update instructions.\n *\n * @param tView Current `TView`\n * @param rootTNode Root `TNode` of the i18n block. This node determines if the new TNode will\n * be added as part of the `i18nStart` instruction or as part of the\n * `TNode.insertBeforeIndex`.\n * @param existingTNodes internal state for `addTNodeAndUpdateInsertBeforeIndex`.\n * @param createOpCodes Location where the creation OpCodes will be stored.\n * @param lView Current `LView`\n * @param text The translated text (which may contain binding)\n */\nfunction i18nStartFirstCreatePassProcessTextNode(tView, rootTNode, existingTNodes, createOpCodes, updateOpCodes, lView, text) {\n const hasBinding = text.match(BINDING_REGEXP);\n const tNode = createTNodeAndAddOpCode(tView, rootTNode, existingTNodes, lView, createOpCodes, hasBinding ? null : text, false);\n if (hasBinding) {\n generateBindingUpdateOpCodes(updateOpCodes, text, tNode.index, null, 0, null);\n }\n}\n/**\n * See `i18nAttributes` above.\n */\nfunction i18nAttributesFirstPass(tView, index, values) {\n const previousElement = getCurrentTNode();\n const previousElementIndex = previousElement.index;\n const updateOpCodes = [];\n if (ngDevMode) {\n attachDebugGetter(updateOpCodes, i18nUpdateOpCodesToString);\n }\n if (tView.firstCreatePass && tView.data[index] === null) {\n for (let i = 0; i < values.length; i += 2) {\n const attrName = values[i];\n const message = values[i + 1];\n if (message !== '') {\n // Check if attribute value contains an ICU and throw an error if that's the case.\n // ICUs in element attributes are not supported.\n // Note: we intentionally retain the error here by not using `ngDevMode`, because\n // the `value` can change based on the locale and users aren't guaranteed to hit\n // an invalid string while they're developing.\n if (ICU_REGEXP.test(message)) {\n throw new Error(`ICU expressions are not supported in attributes. Message: \"${message}\".`);\n }\n // i18n attributes that hit this code path are guaranteed to have bindings, because\n // the compiler treats static i18n attributes as regular attribute bindings.\n // Since this may not be the first i18n attribute on this element we need to pass in how\n // many previous bindings there have already been.\n generateBindingUpdateOpCodes(updateOpCodes, message, previousElementIndex, attrName, countBindings(updateOpCodes), null);\n }\n }\n tView.data[index] = updateOpCodes;\n }\n}\n/**\n * Generate the OpCodes to update the bindings of a string.\n *\n * @param updateOpCodes Place where the update opcodes will be stored.\n * @param str The string containing the bindings.\n * @param destinationNode Index of the destination node which will receive the binding.\n * @param attrName Name of the attribute, if the string belongs to an attribute.\n * @param sanitizeFn Sanitization function used to sanitize the string after update, if necessary.\n * @param bindingStart The lView index of the next expression that can be bound via an opCode.\n * @returns The mask value for these bindings\n */\nfunction generateBindingUpdateOpCodes(updateOpCodes, str, destinationNode, attrName, bindingStart, sanitizeFn) {\n ngDevMode &&\n assertGreaterThanOrEqual(destinationNode, HEADER_OFFSET, 'Index must be in absolute LView offset');\n const maskIndex = updateOpCodes.length; // Location of mask\n const sizeIndex = maskIndex + 1; // location of size for skipping\n updateOpCodes.push(null, null); // Alloc space for mask and size\n const startIndex = maskIndex + 2; // location of first allocation.\n if (ngDevMode) {\n attachDebugGetter(updateOpCodes, i18nUpdateOpCodesToString);\n }\n const textParts = str.split(BINDING_REGEXP);\n let mask = 0;\n for (let j = 0; j < textParts.length; j++) {\n const textValue = textParts[j];\n if (j & 1) {\n // Odd indexes are bindings\n const bindingIndex = bindingStart + parseInt(textValue, 10);\n updateOpCodes.push(-1 - bindingIndex);\n mask = mask | toMaskBit(bindingIndex);\n }\n else if (textValue !== '') {\n // Even indexes are text\n updateOpCodes.push(textValue);\n }\n }\n updateOpCodes.push(destinationNode << 2 /* I18nUpdateOpCode.SHIFT_REF */ |\n (attrName ? 1 /* I18nUpdateOpCode.Attr */ : 0 /* I18nUpdateOpCode.Text */));\n if (attrName) {\n updateOpCodes.push(attrName, sanitizeFn);\n }\n updateOpCodes[maskIndex] = mask;\n updateOpCodes[sizeIndex] = updateOpCodes.length - startIndex;\n return mask;\n}\n/**\n * Count the number of bindings in the given `opCodes`.\n *\n * It could be possible to speed this up, by passing the number of bindings found back from\n * `generateBindingUpdateOpCodes()` to `i18nAttributesFirstPass()` but this would then require more\n * complexity in the code and/or transient objects to be created.\n *\n * Since this function is only called once when the template is instantiated, is trivial in the\n * first instance (since `opCodes` will be an empty array), and it is not common for elements to\n * contain multiple i18n bound attributes, it seems like this is a reasonable compromise.\n */\nfunction countBindings(opCodes) {\n let count = 0;\n for (let i = 0; i < opCodes.length; i++) {\n const opCode = opCodes[i];\n // Bindings are negative numbers.\n if (typeof opCode === 'number' && opCode < 0) {\n count++;\n }\n }\n return count;\n}\n/**\n * Convert binding index to mask bit.\n *\n * Each index represents a single bit on the bit-mask. Because bit-mask only has 32 bits, we make\n * the 32nd bit share all masks for all bindings higher than 32. Since it is extremely rare to\n * have more than 32 bindings this will be hit very rarely. The downside of hitting this corner\n * case is that we will execute binding code more often than necessary. (penalty of performance)\n */\nfunction toMaskBit(bindingIndex) {\n return 1 << Math.min(bindingIndex, 31);\n}\nfunction isRootTemplateMessage(subTemplateIndex) {\n return subTemplateIndex === -1;\n}\n/**\n * Removes everything inside the sub-templates of a message.\n */\nfunction removeInnerTemplateTranslation(message) {\n let match;\n let res = '';\n let index = 0;\n let inTemplate = false;\n let tagMatched;\n while ((match = SUBTEMPLATE_REGEXP.exec(message)) !== null) {\n if (!inTemplate) {\n res += message.substring(index, match.index + match[0].length);\n tagMatched = match[1];\n inTemplate = true;\n }\n else {\n if (match[0] === `${MARKER}/*${tagMatched}${MARKER}`) {\n index = match.index;\n inTemplate = false;\n }\n }\n }\n ngDevMode &&\n assertEqual(inTemplate, false, `Tag mismatch: unable to find the end of the sub-template in the translation \"${message}\"`);\n res += message.slice(index);\n return res;\n}\n/**\n * Extracts a part of a message and removes the rest.\n *\n * This method is used for extracting a part of the message associated with a template. A\n * translated message can span multiple templates.\n *\n * Example:\n * ```\n * <div i18n>Translate <span *ngIf>me</span>!</div>\n * ```\n *\n * @param message The message to crop\n * @param subTemplateIndex Index of the sub-template to extract. If undefined it returns the\n * external template and removes all sub-templates.\n */\nfunction getTranslationForTemplate(message, subTemplateIndex) {\n if (isRootTemplateMessage(subTemplateIndex)) {\n // We want the root template message, ignore all sub-templates\n return removeInnerTemplateTranslation(message);\n }\n else {\n // We want a specific sub-template\n const start = message.indexOf(`:${subTemplateIndex}${MARKER}`) + 2 + subTemplateIndex.toString().length;\n const end = message.search(new RegExp(`${MARKER}\\\\/\\\\*\\\\d+:${subTemplateIndex}${MARKER}`));\n return removeInnerTemplateTranslation(message.substring(start, end));\n }\n}\n/**\n * Generate the OpCodes for ICU expressions.\n *\n * @param icuExpression\n * @param index Index where the anchor is stored and an optional `TIcuContainerNode`\n * - `lView[anchorIdx]` points to a `Comment` node representing the anchor for the ICU.\n * - `tView.data[anchorIdx]` points to the `TIcuContainerNode` if ICU is root (`null` otherwise)\n */\nfunction icuStart(tView, lView, updateOpCodes, parentIdx, icuExpression, anchorIdx) {\n ngDevMode && assertDefined(icuExpression, 'ICU expression must be defined');\n let bindingMask = 0;\n const tIcu = {\n type: icuExpression.type,\n currentCaseLViewIndex: allocExpando(tView, lView, 1, null),\n anchorIdx,\n cases: [],\n create: [],\n remove: [],\n update: []\n };\n addUpdateIcuSwitch(updateOpCodes, icuExpression, anchorIdx);\n setTIcu(tView, anchorIdx, tIcu);\n const values = icuExpression.values;\n for (let i = 0; i < values.length; i++) {\n // Each value is an array of strings & other ICU expressions\n const valueArr = values[i];\n const nestedIcus = [];\n for (let j = 0; j < valueArr.length; j++) {\n const value = valueArr[j];\n if (typeof value !== 'string') {\n // It is an nested ICU expression\n const icuIndex = nestedIcus.push(value) - 1;\n // Replace nested ICU expression by a comment node\n valueArr[j] = `<!--�${icuIndex}�-->`;\n }\n }\n bindingMask = parseIcuCase(tView, tIcu, lView, updateOpCodes, parentIdx, icuExpression.cases[i], valueArr.join(''), nestedIcus) |\n bindingMask;\n }\n if (bindingMask) {\n addUpdateIcuUpdate(updateOpCodes, bindingMask, anchorIdx);\n }\n}\n/**\n * Parses text containing an ICU expression and produces a JSON object for it.\n * Original code from closure library, modified for Angular.\n *\n * @param pattern Text containing an ICU expression that needs to be parsed.\n *\n */\nfunction parseICUBlock(pattern) {\n const cases = [];\n const values = [];\n let icuType = 1 /* IcuType.plural */;\n let mainBinding = 0;\n pattern = pattern.replace(ICU_BLOCK_REGEXP, function (str, binding, type) {\n if (type === 'select') {\n icuType = 0 /* IcuType.select */;\n }\n else {\n icuType = 1 /* IcuType.plural */;\n }\n mainBinding = parseInt(binding.slice(1), 10);\n return '';\n });\n const parts = i18nParseTextIntoPartsAndICU(pattern);\n // Looking for (key block)+ sequence. One of the keys has to be \"other\".\n for (let pos = 0; pos < parts.length;) {\n let key = parts[pos++].trim();\n if (icuType === 1 /* IcuType.plural */) {\n // Key can be \"=x\", we just want \"x\"\n key = key.replace(/\\s*(?:=)?(\\w+)\\s*/, '$1');\n }\n if (key.length) {\n cases.push(key);\n }\n const blocks = i18nParseTextIntoPartsAndICU(parts[pos++]);\n if (cases.length > values.length) {\n values.push(blocks);\n }\n }\n // TODO(ocombe): support ICU expressions in attributes, see #21615\n return { type: icuType, mainBinding: mainBinding, cases, values };\n}\n/**\n * Breaks pattern into strings and top level {...} blocks.\n * Can be used to break a message into text and ICU expressions, or to break an ICU expression\n * into keys and cases. Original code from closure library, modified for Angular.\n *\n * @param pattern (sub)Pattern to be broken.\n * @returns An `Array<string|IcuExpression>` where:\n * - odd positions: `string` => text between ICU expressions\n * - even positions: `ICUExpression` => ICU expression parsed into `ICUExpression` record.\n */\nfunction i18nParseTextIntoPartsAndICU(pattern) {\n if (!pattern) {\n return [];\n }\n let prevPos = 0;\n const braceStack = [];\n const results = [];\n const braces = /[{}]/g;\n // lastIndex doesn't get set to 0 so we have to.\n braces.lastIndex = 0;\n let match;\n while (match = braces.exec(pattern)) {\n const pos = match.index;\n if (match[0] == '}') {\n braceStack.pop();\n if (braceStack.length == 0) {\n // End of the block.\n const block = pattern.substring(prevPos, pos);\n if (ICU_BLOCK_REGEXP.test(block)) {\n results.push(parseICUBlock(block));\n }\n else {\n results.push(block);\n }\n prevPos = pos + 1;\n }\n }\n else {\n if (braceStack.length == 0) {\n const substring = pattern.substring(prevPos, pos);\n results.push(substring);\n prevPos = pos + 1;\n }\n braceStack.push('{');\n }\n }\n const substring = pattern.substring(prevPos);\n results.push(substring);\n return results;\n}\n/**\n * Parses a node, its children and its siblings, and generates the mutate & update OpCodes.\n *\n */\nfunction parseIcuCase(tView, tIcu, lView, updateOpCodes, parentIdx, caseName, unsafeCaseHtml, nestedIcus) {\n const create = [];\n const remove = [];\n const update = [];\n if (ngDevMode) {\n attachDebugGetter(create, icuCreateOpCodesToString);\n attachDebugGetter(remove, i18nRemoveOpCodesToString);\n attachDebugGetter(update, i18nUpdateOpCodesToString);\n }\n tIcu.cases.push(caseName);\n tIcu.create.push(create);\n tIcu.remove.push(remove);\n tIcu.update.push(update);\n const inertBodyHelper = getInertBodyHelper(getDocument());\n const inertBodyElement = inertBodyHelper.getInertBodyElement(unsafeCaseHtml);\n ngDevMode && assertDefined(inertBodyElement, 'Unable to generate inert body element');\n const inertRootNode = getTemplateContent(inertBodyElement) || inertBodyElement;\n if (inertRootNode) {\n return walkIcuTree(tView, tIcu, lView, updateOpCodes, create, remove, update, inertRootNode, parentIdx, nestedIcus, 0);\n }\n else {\n return 0;\n }\n}\nfunction walkIcuTree(tView, tIcu, lView, sharedUpdateOpCodes, create, remove, update, parentNode, parentIdx, nestedIcus, depth) {\n let bindingMask = 0;\n let currentNode = parentNode.firstChild;\n while (currentNode) {\n const newIndex = allocExpando(tView, lView, 1, null);\n switch (currentNode.nodeType) {\n case Node.ELEMENT_NODE:\n const element = currentNode;\n const tagName = element.tagName.toLowerCase();\n if (VALID_ELEMENTS.hasOwnProperty(tagName)) {\n addCreateNodeAndAppend(create, ELEMENT_MARKER, tagName, parentIdx, newIndex);\n tView.data[newIndex] = tagName;\n const elAttrs = element.attributes;\n for (let i = 0; i < elAttrs.length; i++) {\n const attr = elAttrs.item(i);\n const lowerAttrName = attr.name.toLowerCase();\n const hasBinding = !!attr.value.match(BINDING_REGEXP);\n // we assume the input string is safe, unless it's using a binding\n if (hasBinding) {\n if (VALID_ATTRS.hasOwnProperty(lowerAttrName)) {\n if (URI_ATTRS[lowerAttrName]) {\n generateBindingUpdateOpCodes(update, attr.value, newIndex, attr.name, 0, _sanitizeUrl);\n }\n else {\n generateBindingUpdateOpCodes(update, attr.value, newIndex, attr.name, 0, null);\n }\n }\n else {\n ngDevMode &&\n console.warn(`WARNING: ignoring unsafe attribute value ` +\n `${lowerAttrName} on element ${tagName} ` +\n `(see ${XSS_SECURITY_URL})`);\n }\n }\n else {\n addCreateAttribute(create, newIndex, attr);\n }\n }\n // Parse the children of this node (if any)\n bindingMask = walkIcuTree(tView, tIcu, lView, sharedUpdateOpCodes, create, remove, update, currentNode, newIndex, nestedIcus, depth + 1) |\n bindingMask;\n addRemoveNode(remove, newIndex, depth);\n }\n break;\n case Node.TEXT_NODE:\n const value = currentNode.textContent || '';\n const hasBinding = value.match(BINDING_REGEXP);\n addCreateNodeAndAppend(create, null, hasBinding ? '' : value, parentIdx, newIndex);\n addRemoveNode(remove, newIndex, depth);\n if (hasBinding) {\n bindingMask =\n generateBindingUpdateOpCodes(update, value, newIndex, null, 0, null) | bindingMask;\n }\n break;\n case Node.COMMENT_NODE:\n // Check if the comment node is a placeholder for a nested ICU\n const isNestedIcu = NESTED_ICU.exec(currentNode.textContent || '');\n if (isNestedIcu) {\n const nestedIcuIndex = parseInt(isNestedIcu[1], 10);\n const icuExpression = nestedIcus[nestedIcuIndex];\n // Create the comment node that will anchor the ICU expression\n addCreateNodeAndAppend(create, ICU_MARKER, ngDevMode ? `nested ICU ${nestedIcuIndex}` : '', parentIdx, newIndex);\n icuStart(tView, lView, sharedUpdateOpCodes, parentIdx, icuExpression, newIndex);\n addRemoveNestedIcu(remove, newIndex, depth);\n }\n break;\n }\n currentNode = currentNode.nextSibling;\n }\n return bindingMask;\n}\nfunction addRemoveNode(remove, index, depth) {\n if (depth === 0) {\n remove.push(index);\n }\n}\nfunction addRemoveNestedIcu(remove, index, depth) {\n if (depth === 0) {\n remove.push(~index); // remove ICU at `index`\n remove.push(index); // remove ICU comment at `index`\n }\n}\nfunction addUpdateIcuSwitch(update, icuExpression, index) {\n update.push(toMaskBit(icuExpression.mainBinding), 2, -1 - icuExpression.mainBinding, index << 2 /* I18nUpdateOpCode.SHIFT_REF */ | 2 /* I18nUpdateOpCode.IcuSwitch */);\n}\nfunction addUpdateIcuUpdate(update, bindingMask, index) {\n update.push(bindingMask, 1, index << 2 /* I18nUpdateOpCode.SHIFT_REF */ | 3 /* I18nUpdateOpCode.IcuUpdate */);\n}\nfunction addCreateNodeAndAppend(create, marker, text, appendToParentIdx, createAtIdx) {\n if (marker !== null) {\n create.push(marker);\n }\n create.push(text, createAtIdx, icuCreateOpCode(0 /* IcuCreateOpCode.AppendChild */, appendToParentIdx, createAtIdx));\n}\nfunction addCreateAttribute(create, newIndex, attr) {\n create.push(newIndex << 1 /* IcuCreateOpCode.SHIFT_REF */ | 1 /* IcuCreateOpCode.Attr */, attr.name, attr.value);\n}\n\n// i18nPostprocess consts\nconst ROOT_TEMPLATE_ID = 0;\nconst PP_MULTI_VALUE_PLACEHOLDERS_REGEXP = /\\[(�.+?�?)\\]/;\nconst PP_PLACEHOLDERS_REGEXP = /\\[(�.+?�?)\\]|(�\\/?\\*\\d+:\\d+�)/g;\nconst PP_ICU_VARS_REGEXP = /({\\s*)(VAR_(PLURAL|SELECT)(_\\d+)?)(\\s*,)/g;\nconst PP_ICU_PLACEHOLDERS_REGEXP = /{([A-Z0-9_]+)}/g;\nconst PP_ICUS_REGEXP = /�I18N_EXP_(ICU(_\\d+)?)�/g;\nconst PP_CLOSE_TEMPLATE_REGEXP = /\\/\\*/;\nconst PP_TEMPLATE_ID_REGEXP = /\\d+\\:(\\d+)/;\n/**\n * Handles message string post-processing for internationalization.\n *\n * Handles message string post-processing by transforming it from intermediate\n * format (that might contain some markers that we need to replace) to the final\n * form, consumable by i18nStart instruction. Post processing steps include:\n *\n * 1. Resolve all multi-value cases (like [�*1:1��#2:1�|�#4:1�|�5�])\n * 2. Replace all ICU vars (like \"VAR_PLURAL\")\n * 3. Replace all placeholders used inside ICUs in a form of {PLACEHOLDER}\n * 4. Replace all ICU references with corresponding values (like �ICU_EXP_ICU_1�)\n * in case multiple ICUs have the same placeholder name\n *\n * @param message Raw translation string for post processing\n * @param replacements Set of replacements that should be applied\n *\n * @returns Transformed string that can be consumed by i18nStart instruction\n *\n * @codeGenApi\n */\nfunction i18nPostprocess(message, replacements = {}) {\n /**\n * Step 1: resolve all multi-value placeholders like [�#5�|�*1:1��#2:1�|�#4:1�]\n *\n * Note: due to the way we process nested templates (BFS), multi-value placeholders are typically\n * grouped by templates, for example: [�#5�|�#6�|�#1:1�|�#3:2�] where �#5� and �#6� belong to root\n * template, �#1:1� belong to nested template with index 1 and �#1:2� - nested template with index\n * 3. However in real templates the order might be different: i.e. �#1:1� and/or �#3:2� may go in\n * front of �#6�. The post processing step restores the right order by keeping track of the\n * template id stack and looks for placeholders that belong to the currently active template.\n */\n let result = message;\n if (PP_MULTI_VALUE_PLACEHOLDERS_REGEXP.test(message)) {\n const matches = {};\n const templateIdsStack = [ROOT_TEMPLATE_ID];\n result = result.replace(PP_PLACEHOLDERS_REGEXP, (m, phs, tmpl) => {\n const content = phs || tmpl;\n const placeholders = matches[content] || [];\n if (!placeholders.length) {\n content.split('|').forEach((placeholder) => {\n const match = placeholder.match(PP_TEMPLATE_ID_REGEXP);\n const templateId = match ? parseInt(match[1], 10) : ROOT_TEMPLATE_ID;\n const isCloseTemplateTag = PP_CLOSE_TEMPLATE_REGEXP.test(placeholder);\n placeholders.push([templateId, isCloseTemplateTag, placeholder]);\n });\n matches[content] = placeholders;\n }\n if (!placeholders.length) {\n throw new Error(`i18n postprocess: unmatched placeholder - ${content}`);\n }\n const currentTemplateId = templateIdsStack[templateIdsStack.length - 1];\n let idx = 0;\n // find placeholder index that matches current template id\n for (let i = 0; i < placeholders.length; i++) {\n if (placeholders[i][0] === currentTemplateId) {\n idx = i;\n break;\n }\n }\n // update template id stack based on the current tag extracted\n const [templateId, isCloseTemplateTag, placeholder] = placeholders[idx];\n if (isCloseTemplateTag) {\n templateIdsStack.pop();\n }\n else if (currentTemplateId !== templateId) {\n templateIdsStack.push(templateId);\n }\n // remove processed tag from the list\n placeholders.splice(idx, 1);\n return placeholder;\n });\n }\n // return current result if no replacements specified\n if (!Object.keys(replacements).length) {\n return result;\n }\n /**\n * Step 2: replace all ICU vars (like \"VAR_PLURAL\")\n */\n result = result.replace(PP_ICU_VARS_REGEXP, (match, start, key, _type, _idx, end) => {\n return replacements.hasOwnProperty(key) ? `${start}${replacements[key]}${end}` : match;\n });\n /**\n * Step 3: replace all placeholders used inside ICUs in a form of {PLACEHOLDER}\n */\n result = result.replace(PP_ICU_PLACEHOLDERS_REGEXP, (match, key) => {\n return replacements.hasOwnProperty(key) ? replacements[key] : match;\n });\n /**\n * Step 4: replace all ICU references with corresponding values (like �ICU_EXP_ICU_1�) in case\n * multiple ICUs have the same placeholder name\n */\n result = result.replace(PP_ICUS_REGEXP, (match, key) => {\n if (replacements.hasOwnProperty(key)) {\n const list = replacements[key];\n if (!list.length) {\n throw new Error(`i18n postprocess: unmatched ICU - ${match} with key: ${key}`);\n }\n return list.shift();\n }\n return match;\n });\n return result;\n}\n\n/**\n * Marks a block of text as translatable.\n *\n * The instructions `i18nStart` and `i18nEnd` mark the translation block in the template.\n * The translation `message` is the value which is locale specific. The translation string may\n * contain placeholders which associate inner elements and sub-templates within the translation.\n *\n * The translation `message` placeholders are:\n * - `�{index}(:{block})�`: *Binding Placeholder*: Marks a location where an expression will be\n * interpolated into. The placeholder `index` points to the expression binding index. An optional\n * `block` that matches the sub-template in which it was declared.\n * - `�#{index}(:{block})�`/`�/#{index}(:{block})�`: *Element Placeholder*: Marks the beginning\n * and end of DOM element that were embedded in the original translation block. The placeholder\n * `index` points to the element index in the template instructions set. An optional `block` that\n * matches the sub-template in which it was declared.\n * - `�*{index}:{block}�`/`�/*{index}:{block}�`: *Sub-template Placeholder*: Sub-templates must be\n * split up and translated separately in each angular template function. The `index` points to the\n * `template` instruction index. A `block` that matches the sub-template in which it was declared.\n *\n * @param index A unique index of the translation in the static block.\n * @param messageIndex An index of the translation message from the `def.consts` array.\n * @param subTemplateIndex Optional sub-template index in the `message`.\n *\n * @codeGenApi\n */\nfunction ɵɵi18nStart(index, messageIndex, subTemplateIndex = -1) {\n const tView = getTView();\n const lView = getLView();\n const adjustedIndex = HEADER_OFFSET + index;\n ngDevMode && assertDefined(tView, `tView should be defined`);\n const message = getConstant(tView.consts, messageIndex);\n const parentTNode = getCurrentParentTNode();\n if (tView.firstCreatePass) {\n i18nStartFirstCreatePass(tView, parentTNode === null ? 0 : parentTNode.index, lView, adjustedIndex, message, subTemplateIndex);\n }\n // Set a flag that this LView has i18n blocks.\n // The flag is later used to determine whether this component should\n // be hydrated (currently hydration is not supported for i18n blocks).\n if (tView.type === 2 /* TViewType.Embedded */) {\n // Annotate host component's LView (not embedded view's LView),\n // since hydration can be skipped on per-component basis only.\n const componentLView = lView[DECLARATION_COMPONENT_VIEW];\n componentLView[FLAGS] |= 32 /* LViewFlags.HasI18n */;\n }\n else {\n lView[FLAGS] |= 32 /* LViewFlags.HasI18n */;\n }\n const tI18n = tView.data[adjustedIndex];\n const sameViewParentTNode = parentTNode === lView[T_HOST] ? null : parentTNode;\n const parentRNode = getClosestRElement(tView, sameViewParentTNode, lView);\n // If `parentTNode` is an `ElementContainer` than it has `<!--ng-container--->`.\n // When we do inserts we have to make sure to insert in front of `<!--ng-container--->`.\n const insertInFrontOf = parentTNode && (parentTNode.type & 8 /* TNodeType.ElementContainer */) ?\n lView[parentTNode.index] :\n null;\n applyCreateOpCodes(lView, tI18n.create, parentRNode, insertInFrontOf);\n setInI18nBlock(true);\n}\n/**\n * Translates a translation block marked by `i18nStart` and `i18nEnd`. It inserts the text/ICU nodes\n * into the render tree, moves the placeholder nodes and removes the deleted nodes.\n *\n * @codeGenApi\n */\nfunction ɵɵi18nEnd() {\n setInI18nBlock(false);\n}\n/**\n *\n * Use this instruction to create a translation block that doesn't contain any placeholder.\n * It calls both {@link i18nStart} and {@link i18nEnd} in one instruction.\n *\n * The translation `message` is the value which is locale specific. The translation string may\n * contain placeholders which associate inner elements and sub-templates within the translation.\n *\n * The translation `message` placeholders are:\n * - `�{index}(:{block})�`: *Binding Placeholder*: Marks a location where an expression will be\n * interpolated into. The placeholder `index` points to the expression binding index. An optional\n * `block` that matches the sub-template in which it was declared.\n * - `�#{index}(:{block})�`/`�/#{index}(:{block})�`: *Element Placeholder*: Marks the beginning\n * and end of DOM element that were embedded in the original translation block. The placeholder\n * `index` points to the element index in the template instructions set. An optional `block` that\n * matches the sub-template in which it was declared.\n * - `�*{index}:{block}�`/`�/*{index}:{block}�`: *Sub-template Placeholder*: Sub-templates must be\n * split up and translated separately in each angular template function. The `index` points to the\n * `template` instruction index. A `block` that matches the sub-template in which it was declared.\n *\n * @param index A unique index of the translation in the static block.\n * @param messageIndex An index of the translation message from the `def.consts` array.\n * @param subTemplateIndex Optional sub-template index in the `message`.\n *\n * @codeGenApi\n */\nfunction ɵɵi18n(index, messageIndex, subTemplateIndex) {\n ɵɵi18nStart(index, messageIndex, subTemplateIndex);\n ɵɵi18nEnd();\n}\n/**\n * Marks a list of attributes as translatable.\n *\n * @param index A unique index in the static block\n * @param values\n *\n * @codeGenApi\n */\nfunction ɵɵi18nAttributes(index, attrsIndex) {\n const tView = getTView();\n ngDevMode && assertDefined(tView, `tView should be defined`);\n const attrs = getConstant(tView.consts, attrsIndex);\n i18nAttributesFirstPass(tView, index + HEADER_OFFSET, attrs);\n}\n/**\n * Stores the values of the bindings during each update cycle in order to determine if we need to\n * update the translated nodes.\n *\n * @param value The binding's value\n * @returns This function returns itself so that it may be chained\n * (e.g. `i18nExp(ctx.name)(ctx.title)`)\n *\n * @codeGenApi\n */\nfunction ɵɵi18nExp(value) {\n const lView = getLView();\n setMaskBit(bindingUpdated(lView, nextBindingIndex(), value));\n return ɵɵi18nExp;\n}\n/**\n * Updates a translation block or an i18n attribute when the bindings have changed.\n *\n * @param index Index of either {@link i18nStart} (translation block) or {@link i18nAttributes}\n * (i18n attribute) on which it should update the content.\n *\n * @codeGenApi\n */\nfunction ɵɵi18nApply(index) {\n applyI18n(getTView(), getLView(), index + HEADER_OFFSET);\n}\n/**\n * Handles message string post-processing for internationalization.\n *\n * Handles message string post-processing by transforming it from intermediate\n * format (that might contain some markers that we need to replace) to the final\n * form, consumable by i18nStart instruction. Post processing steps include:\n *\n * 1. Resolve all multi-value cases (like [�*1:1��#2:1�|�#4:1�|�5�])\n * 2. Replace all ICU vars (like \"VAR_PLURAL\")\n * 3. Replace all placeholders used inside ICUs in a form of {PLACEHOLDER}\n * 4. Replace all ICU references with corresponding values (like �ICU_EXP_ICU_1�)\n * in case multiple ICUs have the same placeholder name\n *\n * @param message Raw translation string for post processing\n * @param replacements Set of replacements that should be applied\n *\n * @returns Transformed string that can be consumed by i18nStart instruction\n *\n * @codeGenApi\n */\nfunction ɵɵi18nPostprocess(message, replacements = {}) {\n return i18nPostprocess(message, replacements);\n}\n\n/*\n * This file re-exports all symbols contained in this directory.\n *\n * Why is this file not `index.ts`?\n *\n * There seems to be an inconsistent path resolution of an `index.ts` file\n * when only the parent directory is referenced. This could be due to the\n * node module resolution configuration differing from rollup and/or typescript.\n *\n * With commit\n * https://github.com/angular/angular/commit/d5e3f2c64bd13ce83e7c70788b7fc514ca4a9918\n * the `instructions.ts` file was moved to `instructions/instructions.ts` and an\n * `index.ts` file was used to re-export everything. Having had file names that were\n * importing from `instructions' directly (not the from the sub file or the `index.ts`\n * file) caused strange CI issues. `index.ts` had to be renamed to `all.ts` for this\n * to work.\n *\n * Jira Issue = FW-1184\n */\n\n/**\n * Resolves the providers which are defined in the DirectiveDef.\n *\n * When inserting the tokens and the factories in their respective arrays, we can assume that\n * this method is called first for the component (if any), and then for other directives on the same\n * node.\n * As a consequence,the providers are always processed in that order:\n * 1) The view providers of the component\n * 2) The providers of the component\n * 3) The providers of the other directives\n * This matches the structure of the injectables arrays of a view (for each node).\n * So the tokens and the factories can be pushed at the end of the arrays, except\n * in one case for multi providers.\n *\n * @param def the directive definition\n * @param providers: Array of `providers`.\n * @param viewProviders: Array of `viewProviders`.\n */\nfunction providersResolver(def, providers, viewProviders) {\n const tView = getTView();\n if (tView.firstCreatePass) {\n const isComponent = isComponentDef(def);\n // The list of view providers is processed first, and the flags are updated\n resolveProvider(viewProviders, tView.data, tView.blueprint, isComponent, true);\n // Then, the list of providers is processed, and the flags are updated\n resolveProvider(providers, tView.data, tView.blueprint, isComponent, false);\n }\n}\n/**\n * Resolves a provider and publishes it to the DI system.\n */\nfunction resolveProvider(provider, tInjectables, lInjectablesBlueprint, isComponent, isViewProvider) {\n provider = resolveForwardRef(provider);\n if (Array.isArray(provider)) {\n // Recursively call `resolveProvider`\n // Recursion is OK in this case because this code will not be in hot-path once we implement\n // cloning of the initial state.\n for (let i = 0; i < provider.length; i++) {\n resolveProvider(provider[i], tInjectables, lInjectablesBlueprint, isComponent, isViewProvider);\n }\n }\n else {\n const tView = getTView();\n const lView = getLView();\n let token = isTypeProvider(provider) ? provider : resolveForwardRef(provider.provide);\n let providerFactory = providerToFactory(provider);\n const tNode = getCurrentTNode();\n const beginIndex = tNode.providerIndexes & 1048575 /* TNodeProviderIndexes.ProvidersStartIndexMask */;\n const endIndex = tNode.directiveStart;\n const cptViewProvidersCount = tNode.providerIndexes >> 20 /* TNodeProviderIndexes.CptViewProvidersCountShift */;\n if (isTypeProvider(provider) || !provider.multi) {\n // Single provider case: the factory is created and pushed immediately\n const factory = new NodeInjectorFactory(providerFactory, isViewProvider, ɵɵdirectiveInject);\n const existingFactoryIndex = indexOf(token, tInjectables, isViewProvider ? beginIndex : beginIndex + cptViewProvidersCount, endIndex);\n if (existingFactoryIndex === -1) {\n diPublicInInjector(getOrCreateNodeInjectorForNode(tNode, lView), tView, token);\n registerDestroyHooksIfSupported(tView, provider, tInjectables.length);\n tInjectables.push(token);\n tNode.directiveStart++;\n tNode.directiveEnd++;\n if (isViewProvider) {\n tNode.providerIndexes += 1048576 /* TNodeProviderIndexes.CptViewProvidersCountShifter */;\n }\n lInjectablesBlueprint.push(factory);\n lView.push(factory);\n }\n else {\n lInjectablesBlueprint[existingFactoryIndex] = factory;\n lView[existingFactoryIndex] = factory;\n }\n }\n else {\n // Multi provider case:\n // We create a multi factory which is going to aggregate all the values.\n // Since the output of such a factory depends on content or view injection,\n // we create two of them, which are linked together.\n //\n // The first one (for view providers) is always in the first block of the injectables array,\n // and the second one (for providers) is always in the second block.\n // This is important because view providers have higher priority. When a multi token\n // is being looked up, the view providers should be found first.\n // Note that it is not possible to have a multi factory in the third block (directive block).\n //\n // The algorithm to process multi providers is as follows:\n // 1) If the multi provider comes from the `viewProviders` of the component:\n // a) If the special view providers factory doesn't exist, it is created and pushed.\n // b) Else, the multi provider is added to the existing multi factory.\n // 2) If the multi provider comes from the `providers` of the component or of another\n // directive:\n // a) If the multi factory doesn't exist, it is created and provider pushed into it.\n // It is also linked to the multi factory for view providers, if it exists.\n // b) Else, the multi provider is added to the existing multi factory.\n const existingProvidersFactoryIndex = indexOf(token, tInjectables, beginIndex + cptViewProvidersCount, endIndex);\n const existingViewProvidersFactoryIndex = indexOf(token, tInjectables, beginIndex, beginIndex + cptViewProvidersCount);\n const doesProvidersFactoryExist = existingProvidersFactoryIndex >= 0 &&\n lInjectablesBlueprint[existingProvidersFactoryIndex];\n const doesViewProvidersFactoryExist = existingViewProvidersFactoryIndex >= 0 &&\n lInjectablesBlueprint[existingViewProvidersFactoryIndex];\n if (isViewProvider && !doesViewProvidersFactoryExist ||\n !isViewProvider && !doesProvidersFactoryExist) {\n // Cases 1.a and 2.a\n diPublicInInjector(getOrCreateNodeInjectorForNode(tNode, lView), tView, token);\n const factory = multiFactory(isViewProvider ? multiViewProvidersFactoryResolver : multiProvidersFactoryResolver, lInjectablesBlueprint.length, isViewProvider, isComponent, providerFactory);\n if (!isViewProvider && doesViewProvidersFactoryExist) {\n lInjectablesBlueprint[existingViewProvidersFactoryIndex].providerFactory = factory;\n }\n registerDestroyHooksIfSupported(tView, provider, tInjectables.length, 0);\n tInjectables.push(token);\n tNode.directiveStart++;\n tNode.directiveEnd++;\n if (isViewProvider) {\n tNode.providerIndexes += 1048576 /* TNodeProviderIndexes.CptViewProvidersCountShifter */;\n }\n lInjectablesBlueprint.push(factory);\n lView.push(factory);\n }\n else {\n // Cases 1.b and 2.b\n const indexInFactory = multiFactoryAdd(lInjectablesBlueprint[isViewProvider ? existingViewProvidersFactoryIndex :\n existingProvidersFactoryIndex], providerFactory, !isViewProvider && isComponent);\n registerDestroyHooksIfSupported(tView, provider, existingProvidersFactoryIndex > -1 ? existingProvidersFactoryIndex :\n existingViewProvidersFactoryIndex, indexInFactory);\n }\n if (!isViewProvider && isComponent && doesViewProvidersFactoryExist) {\n lInjectablesBlueprint[existingViewProvidersFactoryIndex].componentProviders++;\n }\n }\n }\n}\n/**\n * Registers the `ngOnDestroy` hook of a provider, if the provider supports destroy hooks.\n * @param tView `TView` in which to register the hook.\n * @param provider Provider whose hook should be registered.\n * @param contextIndex Index under which to find the context for the hook when it's being invoked.\n * @param indexInFactory Only required for `multi` providers. Index of the provider in the multi\n * provider factory.\n */\nfunction registerDestroyHooksIfSupported(tView, provider, contextIndex, indexInFactory) {\n const providerIsTypeProvider = isTypeProvider(provider);\n const providerIsClassProvider = isClassProvider(provider);\n if (providerIsTypeProvider || providerIsClassProvider) {\n // Resolve forward references as `useClass` can hold a forward reference.\n const classToken = providerIsClassProvider ? resolveForwardRef(provider.useClass) : provider;\n const prototype = classToken.prototype;\n const ngOnDestroy = prototype.ngOnDestroy;\n if (ngOnDestroy) {\n const hooks = tView.destroyHooks || (tView.destroyHooks = []);\n if (!providerIsTypeProvider && provider.multi) {\n ngDevMode &&\n assertDefined(indexInFactory, 'indexInFactory when registering multi factory destroy hook');\n const existingCallbacksIndex = hooks.indexOf(contextIndex);\n if (existingCallbacksIndex === -1) {\n hooks.push(contextIndex, [indexInFactory, ngOnDestroy]);\n }\n else {\n hooks[existingCallbacksIndex + 1].push(indexInFactory, ngOnDestroy);\n }\n }\n else {\n hooks.push(contextIndex, ngOnDestroy);\n }\n }\n }\n}\n/**\n * Add a factory in a multi factory.\n * @returns Index at which the factory was inserted.\n */\nfunction multiFactoryAdd(multiFactory, factory, isComponentProvider) {\n if (isComponentProvider) {\n multiFactory.componentProviders++;\n }\n return multiFactory.multi.push(factory) - 1;\n}\n/**\n * Returns the index of item in the array, but only in the begin to end range.\n */\nfunction indexOf(item, arr, begin, end) {\n for (let i = begin; i < end; i++) {\n if (arr[i] === item)\n return i;\n }\n return -1;\n}\n/**\n * Use this with `multi` `providers`.\n */\nfunction multiProvidersFactoryResolver(_, tData, lData, tNode) {\n return multiResolve(this.multi, []);\n}\n/**\n * Use this with `multi` `viewProviders`.\n *\n * This factory knows how to concatenate itself with the existing `multi` `providers`.\n */\nfunction multiViewProvidersFactoryResolver(_, tData, lView, tNode) {\n const factories = this.multi;\n let result;\n if (this.providerFactory) {\n const componentCount = this.providerFactory.componentProviders;\n const multiProviders = getNodeInjectable(lView, lView[TVIEW], this.providerFactory.index, tNode);\n // Copy the section of the array which contains `multi` `providers` from the component\n result = multiProviders.slice(0, componentCount);\n // Insert the `viewProvider` instances.\n multiResolve(factories, result);\n // Copy the section of the array which contains `multi` `providers` from other directives\n for (let i = componentCount; i < multiProviders.length; i++) {\n result.push(multiProviders[i]);\n }\n }\n else {\n result = [];\n // Insert the `viewProvider` instances.\n multiResolve(factories, result);\n }\n return result;\n}\n/**\n * Maps an array of factories into an array of values.\n */\nfunction multiResolve(factories, result) {\n for (let i = 0; i < factories.length; i++) {\n const factory = factories[i];\n result.push(factory());\n }\n return result;\n}\n/**\n * Creates a multi factory.\n */\nfunction multiFactory(factoryFn, index, isViewProvider, isComponent, f) {\n const factory = new NodeInjectorFactory(factoryFn, isViewProvider, ɵɵdirectiveInject);\n factory.multi = [];\n factory.index = index;\n factory.componentProviders = 0;\n multiFactoryAdd(factory, f, isComponent && !isViewProvider);\n return factory;\n}\n\n/**\n * This feature resolves the providers of a directive (or component),\n * and publish them into the DI system, making it visible to others for injection.\n *\n * For example:\n * ```ts\n * class ComponentWithProviders {\n * constructor(private greeter: GreeterDE) {}\n *\n * static ɵcmp = defineComponent({\n * type: ComponentWithProviders,\n * selectors: [['component-with-providers']],\n * factory: () => new ComponentWithProviders(directiveInject(GreeterDE as any)),\n * decls: 1,\n * vars: 1,\n * template: function(fs: RenderFlags, ctx: ComponentWithProviders) {\n * if (fs & RenderFlags.Create) {\n * ɵɵtext(0);\n * }\n * if (fs & RenderFlags.Update) {\n * ɵɵtextInterpolate(ctx.greeter.greet());\n * }\n * },\n * features: [ɵɵProvidersFeature([GreeterDE])]\n * });\n * }\n * ```\n *\n * @param definition\n *\n * @codeGenApi\n */\nfunction ɵɵProvidersFeature(providers, viewProviders = []) {\n return (definition) => {\n definition.providersResolver =\n (def, processProvidersFn) => {\n return providersResolver(def, //\n processProvidersFn ? processProvidersFn(providers) : providers, //\n viewProviders);\n };\n };\n}\n\n/**\n * Represents an instance of an `NgModule` created by an `NgModuleFactory`.\n * Provides access to the `NgModule` instance and related objects.\n *\n * @publicApi\n */\nclass NgModuleRef$1 {\n}\n/**\n * @publicApi\n *\n * @deprecated\n * This class was mostly used as a part of ViewEngine-based JIT API and is no longer needed in Ivy\n * JIT mode. See [JIT API changes due to ViewEngine deprecation](guide/deprecations#jit-api-changes)\n * for additional context. Angular provides APIs that accept NgModule classes directly (such as\n * [PlatformRef.bootstrapModule](api/core/PlatformRef#bootstrapModule) and\n * [createNgModule](api/core/createNgModule)), consider switching to those APIs instead of\n * using factory-based ones.\n */\nclass NgModuleFactory$1 {\n}\n\n/**\n * Returns a new NgModuleRef instance based on the NgModule class and parent injector provided.\n *\n * @param ngModule NgModule class.\n * @param parentInjector Optional injector instance to use as a parent for the module injector. If\n * not provided, `NullInjector` will be used instead.\n * @returns NgModuleRef that represents an NgModule instance.\n *\n * @publicApi\n */\nfunction createNgModule(ngModule, parentInjector) {\n return new NgModuleRef(ngModule, parentInjector ?? null, []);\n}\n/**\n * The `createNgModule` function alias for backwards-compatibility.\n * Please avoid using it directly and use `createNgModule` instead.\n *\n * @deprecated Use `createNgModule` instead.\n */\nconst createNgModuleRef = createNgModule;\nclass NgModuleRef extends NgModuleRef$1 {\n constructor(ngModuleType, _parent, additionalProviders) {\n super();\n this._parent = _parent;\n // tslint:disable-next-line:require-internal-with-underscore\n this._bootstrapComponents = [];\n this.destroyCbs = [];\n // When bootstrapping a module we have a dependency graph that looks like this:\n // ApplicationRef -> ComponentFactoryResolver -> NgModuleRef. The problem is that if the\n // module being resolved tries to inject the ComponentFactoryResolver, it'll create a\n // circular dependency which will result in a runtime error, because the injector doesn't\n // exist yet. We work around the issue by creating the ComponentFactoryResolver ourselves\n // and providing it, rather than letting the injector resolve it.\n this.componentFactoryResolver = new ComponentFactoryResolver(this);\n const ngModuleDef = getNgModuleDef(ngModuleType);\n ngDevMode &&\n assertDefined(ngModuleDef, `NgModule '${stringify(ngModuleType)}' is not a subtype of 'NgModuleType'.`);\n this._bootstrapComponents = maybeUnwrapFn(ngModuleDef.bootstrap);\n this._r3Injector = createInjectorWithoutInjectorInstances(ngModuleType, _parent, [\n { provide: NgModuleRef$1, useValue: this }, {\n provide: ComponentFactoryResolver$1,\n useValue: this.componentFactoryResolver\n },\n ...additionalProviders\n ], stringify(ngModuleType), new Set(['environment']));\n // We need to resolve the injector types separately from the injector creation, because\n // the module might be trying to use this ref in its constructor for DI which will cause a\n // circular error that will eventually error out, because the injector isn't created yet.\n this._r3Injector.resolveInjectorInitializers();\n this.instance = this._r3Injector.get(ngModuleType);\n }\n get injector() {\n return this._r3Injector;\n }\n destroy() {\n ngDevMode && assertDefined(this.destroyCbs, 'NgModule already destroyed');\n const injector = this._r3Injector;\n !injector.destroyed && injector.destroy();\n this.destroyCbs.forEach(fn => fn());\n this.destroyCbs = null;\n }\n onDestroy(callback) {\n ngDevMode && assertDefined(this.destroyCbs, 'NgModule already destroyed');\n this.destroyCbs.push(callback);\n }\n}\nclass NgModuleFactory extends NgModuleFactory$1 {\n constructor(moduleType) {\n super();\n this.moduleType = moduleType;\n }\n create(parentInjector) {\n return new NgModuleRef(this.moduleType, parentInjector, []);\n }\n}\nfunction createNgModuleRefWithProviders(moduleType, parentInjector, additionalProviders) {\n return new NgModuleRef(moduleType, parentInjector, additionalProviders);\n}\nclass EnvironmentNgModuleRefAdapter extends NgModuleRef$1 {\n constructor(config) {\n super();\n this.componentFactoryResolver = new ComponentFactoryResolver(this);\n this.instance = null;\n const injector = new R3Injector([\n ...config.providers,\n { provide: NgModuleRef$1, useValue: this },\n { provide: ComponentFactoryResolver$1, useValue: this.componentFactoryResolver },\n ], config.parent || getNullInjector(), config.debugName, new Set(['environment']));\n this.injector = injector;\n if (config.runEnvironmentInitializers) {\n injector.resolveInjectorInitializers();\n }\n }\n destroy() {\n this.injector.destroy();\n }\n onDestroy(callback) {\n this.injector.onDestroy(callback);\n }\n}\n/**\n * Create a new environment injector.\n *\n * Learn more about environment injectors in\n * [this guide](guide/standalone-components#environment-injectors).\n *\n * @param providers An array of providers.\n * @param parent A parent environment injector.\n * @param debugName An optional name for this injector instance, which will be used in error\n * messages.\n *\n * @publicApi\n */\nfunction createEnvironmentInjector(providers, parent, debugName = null) {\n const adapter = new EnvironmentNgModuleRefAdapter({ providers, parent, debugName, runEnvironmentInitializers: true });\n return adapter.injector;\n}\n\n/**\n * A service used by the framework to create instances of standalone injectors. Those injectors are\n * created on demand in case of dynamic component instantiation and contain ambient providers\n * collected from the imports graph rooted at a given standalone component.\n */\nclass StandaloneService {\n constructor(_injector) {\n this._injector = _injector;\n this.cachedInjectors = new Map();\n }\n getOrCreateStandaloneInjector(componentDef) {\n if (!componentDef.standalone) {\n return null;\n }\n if (!this.cachedInjectors.has(componentDef.id)) {\n const providers = internalImportProvidersFrom(false, componentDef.type);\n const standaloneInjector = providers.length > 0 ?\n createEnvironmentInjector([providers], this._injector, `Standalone[${componentDef.type.name}]`) :\n null;\n this.cachedInjectors.set(componentDef.id, standaloneInjector);\n }\n return this.cachedInjectors.get(componentDef.id);\n }\n ngOnDestroy() {\n try {\n for (const injector of this.cachedInjectors.values()) {\n if (injector !== null) {\n injector.destroy();\n }\n }\n }\n finally {\n this.cachedInjectors.clear();\n }\n }\n /** @nocollapse */\n static { this.ɵprov = ɵɵdefineInjectable({\n token: StandaloneService,\n providedIn: 'environment',\n factory: () => new StandaloneService(ɵɵinject(EnvironmentInjector)),\n }); }\n}\n/**\n * A feature that acts as a setup code for the {@link StandaloneService}.\n *\n * The most important responsibility of this feature is to expose the \"getStandaloneInjector\"\n * function (an entry points to a standalone injector creation) on a component definition object. We\n * go through the features infrastructure to make sure that the standalone injector creation logic\n * is tree-shakable and not included in applications that don't use standalone components.\n *\n * @codeGenApi\n */\nfunction ɵɵStandaloneFeature(definition) {\n definition.getStandaloneInjector = (parentInjector) => {\n return parentInjector.get(StandaloneService).getOrCreateStandaloneInjector(definition);\n };\n}\n\n/**\n * Retrieves the component instance associated with a given DOM element.\n *\n * @usageNotes\n * Given the following DOM structure:\n *\n * ```html\n * <app-root>\n * <div>\n * <child-comp></child-comp>\n * </div>\n * </app-root>\n * ```\n *\n * Calling `getComponent` on `<child-comp>` will return the instance of `ChildComponent`\n * associated with this DOM element.\n *\n * Calling the function on `<app-root>` will return the `MyApp` instance.\n *\n *\n * @param element DOM element from which the component should be retrieved.\n * @returns Component instance associated with the element or `null` if there\n * is no component associated with it.\n *\n * @publicApi\n * @globalApi ng\n */\nfunction getComponent(element) {\n ngDevMode && assertDomElement(element);\n const context = getLContext(element);\n if (context === null)\n return null;\n if (context.component === undefined) {\n const lView = context.lView;\n if (lView === null) {\n return null;\n }\n context.component = getComponentAtNodeIndex(context.nodeIndex, lView);\n }\n return context.component;\n}\n/**\n * If inside an embedded view (e.g. `*ngIf` or `*ngFor`), retrieves the context of the embedded\n * view that the element is part of. Otherwise retrieves the instance of the component whose view\n * owns the element (in this case, the result is the same as calling `getOwningComponent`).\n *\n * @param element Element for which to get the surrounding component instance.\n * @returns Instance of the component that is around the element or null if the element isn't\n * inside any component.\n *\n * @publicApi\n * @globalApi ng\n */\nfunction getContext(element) {\n assertDomElement(element);\n const context = getLContext(element);\n const lView = context ? context.lView : null;\n return lView === null ? null : lView[CONTEXT];\n}\n/**\n * Retrieves the component instance whose view contains the DOM element.\n *\n * For example, if `<child-comp>` is used in the template of `<app-comp>`\n * (i.e. a `ViewChild` of `<app-comp>`), calling `getOwningComponent` on `<child-comp>`\n * would return `<app-comp>`.\n *\n * @param elementOrDir DOM element, component or directive instance\n * for which to retrieve the root components.\n * @returns Component instance whose view owns the DOM element or null if the element is not\n * part of a component view.\n *\n * @publicApi\n * @globalApi ng\n */\nfunction getOwningComponent(elementOrDir) {\n const context = getLContext(elementOrDir);\n let lView = context ? context.lView : null;\n if (lView === null)\n return null;\n let parent;\n while (lView[TVIEW].type === 2 /* TViewType.Embedded */ && (parent = getLViewParent(lView))) {\n lView = parent;\n }\n return lView[FLAGS] & 512 /* LViewFlags.IsRoot */ ? null : lView[CONTEXT];\n}\n/**\n * Retrieves all root components associated with a DOM element, directive or component instance.\n * Root components are those which have been bootstrapped by Angular.\n *\n * @param elementOrDir DOM element, component or directive instance\n * for which to retrieve the root components.\n * @returns Root components associated with the target object.\n *\n * @publicApi\n * @globalApi ng\n */\nfunction getRootComponents(elementOrDir) {\n const lView = readPatchedLView(elementOrDir);\n return lView !== null ? [getRootContext(lView)] : [];\n}\n/**\n * Retrieves an `Injector` associated with an element, component or directive instance.\n *\n * @param elementOrDir DOM element, component or directive instance for which to\n * retrieve the injector.\n * @returns Injector associated with the element, component or directive instance.\n *\n * @publicApi\n * @globalApi ng\n */\nfunction getInjector(elementOrDir) {\n const context = getLContext(elementOrDir);\n const lView = context ? context.lView : null;\n if (lView === null)\n return Injector.NULL;\n const tNode = lView[TVIEW].data[context.nodeIndex];\n return new NodeInjector(tNode, lView);\n}\n/**\n * Retrieve a set of injection tokens at a given DOM node.\n *\n * @param element Element for which the injection tokens should be retrieved.\n */\nfunction getInjectionTokens(element) {\n const context = getLContext(element);\n const lView = context ? context.lView : null;\n if (lView === null)\n return [];\n const tView = lView[TVIEW];\n const tNode = tView.data[context.nodeIndex];\n const providerTokens = [];\n const startIndex = tNode.providerIndexes & 1048575 /* TNodeProviderIndexes.ProvidersStartIndexMask */;\n const endIndex = tNode.directiveEnd;\n for (let i = startIndex; i < endIndex; i++) {\n let value = tView.data[i];\n if (isDirectiveDefHack(value)) {\n // The fact that we sometimes store Type and sometimes DirectiveDef in this location is a\n // design flaw. We should always store same type so that we can be monomorphic. The issue\n // is that for Components/Directives we store the def instead the type. The correct behavior\n // is that we should always be storing injectable type in this location.\n value = value.type;\n }\n providerTokens.push(value);\n }\n return providerTokens;\n}\n/**\n * Retrieves directive instances associated with a given DOM node. Does not include\n * component instances.\n *\n * @usageNotes\n * Given the following DOM structure:\n *\n * ```html\n * <app-root>\n * <button my-button></button>\n * <my-comp></my-comp>\n * </app-root>\n * ```\n *\n * Calling `getDirectives` on `<button>` will return an array with an instance of the `MyButton`\n * directive that is associated with the DOM node.\n *\n * Calling `getDirectives` on `<my-comp>` will return an empty array.\n *\n * @param node DOM node for which to get the directives.\n * @returns Array of directives associated with the node.\n *\n * @publicApi\n * @globalApi ng\n */\nfunction getDirectives(node) {\n // Skip text nodes because we can't have directives associated with them.\n if (node instanceof Text) {\n return [];\n }\n const context = getLContext(node);\n const lView = context ? context.lView : null;\n if (lView === null) {\n return [];\n }\n const tView = lView[TVIEW];\n const nodeIndex = context.nodeIndex;\n if (!tView?.data[nodeIndex]) {\n return [];\n }\n if (context.directives === undefined) {\n context.directives = getDirectivesAtNodeIndex(nodeIndex, lView);\n }\n // The `directives` in this case are a named array called `LComponentView`. Clone the\n // result so we don't expose an internal data structure in the user's console.\n return context.directives === null ? [] : [...context.directives];\n}\n/**\n * Returns the debug (partial) metadata for a particular directive or component instance.\n * The function accepts an instance of a directive or component and returns the corresponding\n * metadata.\n *\n * @param directiveOrComponentInstance Instance of a directive or component\n * @returns metadata of the passed directive or component\n *\n * @publicApi\n * @globalApi ng\n */\nfunction getDirectiveMetadata$1(directiveOrComponentInstance) {\n const { constructor } = directiveOrComponentInstance;\n if (!constructor) {\n throw new Error('Unable to find the instance constructor');\n }\n // In case a component inherits from a directive, we may have component and directive metadata\n // To ensure we don't get the metadata of the directive, we want to call `getComponentDef` first.\n const componentDef = getComponentDef(constructor);\n if (componentDef) {\n return {\n inputs: componentDef.inputs,\n outputs: componentDef.outputs,\n encapsulation: componentDef.encapsulation,\n changeDetection: componentDef.onPush ? ChangeDetectionStrategy.OnPush :\n ChangeDetectionStrategy.Default\n };\n }\n const directiveDef = getDirectiveDef(constructor);\n if (directiveDef) {\n return { inputs: directiveDef.inputs, outputs: directiveDef.outputs };\n }\n return null;\n}\n/**\n * Retrieve map of local references.\n *\n * The references are retrieved as a map of local reference name to element or directive instance.\n *\n * @param target DOM element, component or directive instance for which to retrieve\n * the local references.\n */\nfunction getLocalRefs(target) {\n const context = getLContext(target);\n if (context === null)\n return {};\n if (context.localRefs === undefined) {\n const lView = context.lView;\n if (lView === null) {\n return {};\n }\n context.localRefs = discoverLocalRefs(lView, context.nodeIndex);\n }\n return context.localRefs || {};\n}\n/**\n * Retrieves the host element of a component or directive instance.\n * The host element is the DOM element that matched the selector of the directive.\n *\n * @param componentOrDirective Component or directive instance for which the host\n * element should be retrieved.\n * @returns Host element of the target.\n *\n * @publicApi\n * @globalApi ng\n */\nfunction getHostElement(componentOrDirective) {\n return getLContext(componentOrDirective).native;\n}\n/**\n * Retrieves the rendered text for a given component.\n *\n * This function retrieves the host element of a component and\n * and then returns the `textContent` for that element. This implies\n * that the text returned will include re-projected content of\n * the component as well.\n *\n * @param component The component to return the content text for.\n */\nfunction getRenderedText(component) {\n const hostElement = getHostElement(component);\n return hostElement.textContent || '';\n}\n/**\n * Retrieves a list of event listeners associated with a DOM element. The list does include host\n * listeners, but it does not include event listeners defined outside of the Angular context\n * (e.g. through `addEventListener`).\n *\n * @usageNotes\n * Given the following DOM structure:\n *\n * ```html\n * <app-root>\n * <div (click)=\"doSomething()\"></div>\n * </app-root>\n * ```\n *\n * Calling `getListeners` on `<div>` will return an object that looks as follows:\n *\n * ```ts\n * {\n * name: 'click',\n * element: <div>,\n * callback: () => doSomething(),\n * useCapture: false\n * }\n * ```\n *\n * @param element Element for which the DOM listeners should be retrieved.\n * @returns Array of event listeners on the DOM element.\n *\n * @publicApi\n * @globalApi ng\n */\nfunction getListeners(element) {\n ngDevMode && assertDomElement(element);\n const lContext = getLContext(element);\n const lView = lContext === null ? null : lContext.lView;\n if (lView === null)\n return [];\n const tView = lView[TVIEW];\n const lCleanup = lView[CLEANUP];\n const tCleanup = tView.cleanup;\n const listeners = [];\n if (tCleanup && lCleanup) {\n for (let i = 0; i < tCleanup.length;) {\n const firstParam = tCleanup[i++];\n const secondParam = tCleanup[i++];\n if (typeof firstParam === 'string') {\n const name = firstParam;\n const listenerElement = unwrapRNode(lView[secondParam]);\n const callback = lCleanup[tCleanup[i++]];\n const useCaptureOrIndx = tCleanup[i++];\n // if useCaptureOrIndx is boolean then report it as is.\n // if useCaptureOrIndx is positive number then it in unsubscribe method\n // if useCaptureOrIndx is negative number then it is a Subscription\n const type = (typeof useCaptureOrIndx === 'boolean' || useCaptureOrIndx >= 0) ? 'dom' : 'output';\n const useCapture = typeof useCaptureOrIndx === 'boolean' ? useCaptureOrIndx : false;\n if (element == listenerElement) {\n listeners.push({ element, name, callback, useCapture, type });\n }\n }\n }\n }\n listeners.sort(sortListeners);\n return listeners;\n}\nfunction sortListeners(a, b) {\n if (a.name == b.name)\n return 0;\n return a.name < b.name ? -1 : 1;\n}\n/**\n * This function should not exist because it is megamorphic and only mostly correct.\n *\n * See call site for more info.\n */\nfunction isDirectiveDefHack(obj) {\n return obj.type !== undefined && obj.declaredInputs !== undefined &&\n obj.findHostDirectiveDefs !== undefined;\n}\n/**\n * Retrieve the component `LView` from component/element.\n *\n * NOTE: `LView` is a private and should not be leaked outside.\n * Don't export this method to `ng.*` on window.\n *\n * @param target DOM element or component instance for which to retrieve the LView.\n */\nfunction getComponentLView(target) {\n const lContext = getLContext(target);\n const nodeIndx = lContext.nodeIndex;\n const lView = lContext.lView;\n ngDevMode && assertLView(lView);\n const componentLView = lView[nodeIndx];\n ngDevMode && assertLView(componentLView);\n return componentLView;\n}\n/** Asserts that a value is a DOM Element. */\nfunction assertDomElement(value) {\n if (typeof Element !== 'undefined' && !(value instanceof Element)) {\n throw new Error('Expecting instance of DOM Element');\n }\n}\n\n/**\n * Adds decorator, constructor, and property metadata to a given type via static metadata fields\n * on the type.\n *\n * These metadata fields can later be read with Angular's `ReflectionCapabilities` API.\n *\n * Calls to `setClassMetadata` can be guarded by ngDevMode, resulting in the metadata assignments\n * being tree-shaken away during production builds.\n */\nfunction setClassMetadata(type, decorators, ctorParameters, propDecorators) {\n return noSideEffects(() => {\n const clazz = type;\n if (decorators !== null) {\n if (clazz.hasOwnProperty('decorators') && clazz.decorators !== undefined) {\n clazz.decorators.push(...decorators);\n }\n else {\n clazz.decorators = decorators;\n }\n }\n if (ctorParameters !== null) {\n // Rather than merging, clobber the existing parameters. If other projects exist which\n // use tsickle-style annotations and reflect over them in the same way, this could\n // cause issues, but that is vanishingly unlikely.\n clazz.ctorParameters = ctorParameters;\n }\n if (propDecorators !== null) {\n // The property decorator objects are merged as it is possible different fields have\n // different decorator types. Decorators on individual fields are not merged, as it's\n // also incredibly unlikely that a field will be decorated both with an Angular\n // decorator and a non-Angular decorator that's also been downleveled.\n if (clazz.hasOwnProperty('propDecorators') && clazz.propDecorators !== undefined) {\n clazz.propDecorators = { ...clazz.propDecorators, ...propDecorators };\n }\n else {\n clazz.propDecorators = propDecorators;\n }\n }\n });\n}\n\n/**\n * Bindings for pure functions are stored after regular bindings.\n *\n * |-------decls------|---------vars---------| |----- hostVars (dir1) ------|\n * ------------------------------------------------------------------------------------------\n * | nodes/refs/pipes | bindings | fn slots | injector | dir1 | host bindings | host slots |\n * ------------------------------------------------------------------------------------------\n * ^ ^\n * TView.bindingStartIndex TView.expandoStartIndex\n *\n * Pure function instructions are given an offset from the binding root. Adding the offset to the\n * binding root gives the first index where the bindings are stored. In component views, the binding\n * root is the bindingStartIndex. In host bindings, the binding root is the expandoStartIndex +\n * any directive instances + any hostVars in directives evaluated before it.\n *\n * See VIEW_DATA.md for more information about host binding resolution.\n */\n/**\n * If the value hasn't been saved, calls the pure function to store and return the\n * value. If it has been saved, returns the saved value.\n *\n * @param slotOffset the offset from binding root to the reserved slot\n * @param pureFn Function that returns a value\n * @param thisArg Optional calling context of pureFn\n * @returns value\n *\n * @codeGenApi\n */\nfunction ɵɵpureFunction0(slotOffset, pureFn, thisArg) {\n const bindingIndex = getBindingRoot() + slotOffset;\n const lView = getLView();\n return lView[bindingIndex] === NO_CHANGE ?\n updateBinding(lView, bindingIndex, thisArg ? pureFn.call(thisArg) : pureFn()) :\n getBinding(lView, bindingIndex);\n}\n/**\n * If the value of the provided exp has changed, calls the pure function to return\n * an updated value. Or if the value has not changed, returns cached value.\n *\n * @param slotOffset the offset from binding root to the reserved slot\n * @param pureFn Function that returns an updated value\n * @param exp Updated expression value\n * @param thisArg Optional calling context of pureFn\n * @returns Updated or cached value\n *\n * @codeGenApi\n */\nfunction ɵɵpureFunction1(slotOffset, pureFn, exp, thisArg) {\n return pureFunction1Internal(getLView(), getBindingRoot(), slotOffset, pureFn, exp, thisArg);\n}\n/**\n * If the value of any provided exp has changed, calls the pure function to return\n * an updated value. Or if no values have changed, returns cached value.\n *\n * @param slotOffset the offset from binding root to the reserved slot\n * @param pureFn\n * @param exp1\n * @param exp2\n * @param thisArg Optional calling context of pureFn\n * @returns Updated or cached value\n *\n * @codeGenApi\n */\nfunction ɵɵpureFunction2(slotOffset, pureFn, exp1, exp2, thisArg) {\n return pureFunction2Internal(getLView(), getBindingRoot(), slotOffset, pureFn, exp1, exp2, thisArg);\n}\n/**\n * If the value of any provided exp has changed, calls the pure function to return\n * an updated value. Or if no values have changed, returns cached value.\n *\n * @param slotOffset the offset from binding root to the reserved slot\n * @param pureFn\n * @param exp1\n * @param exp2\n * @param exp3\n * @param thisArg Optional calling context of pureFn\n * @returns Updated or cached value\n *\n * @codeGenApi\n */\nfunction ɵɵpureFunction3(slotOffset, pureFn, exp1, exp2, exp3, thisArg) {\n return pureFunction3Internal(getLView(), getBindingRoot(), slotOffset, pureFn, exp1, exp2, exp3, thisArg);\n}\n/**\n * If the value of any provided exp has changed, calls the pure function to return\n * an updated value. Or if no values have changed, returns cached value.\n *\n * @param slotOffset the offset from binding root to the reserved slot\n * @param pureFn\n * @param exp1\n * @param exp2\n * @param exp3\n * @param exp4\n * @param thisArg Optional calling context of pureFn\n * @returns Updated or cached value\n *\n * @codeGenApi\n */\nfunction ɵɵpureFunction4(slotOffset, pureFn, exp1, exp2, exp3, exp4, thisArg) {\n return pureFunction4Internal(getLView(), getBindingRoot(), slotOffset, pureFn, exp1, exp2, exp3, exp4, thisArg);\n}\n/**\n * If the value of any provided exp has changed, calls the pure function to return\n * an updated value. Or if no values have changed, returns cached value.\n *\n * @param slotOffset the offset from binding root to the reserved slot\n * @param pureFn\n * @param exp1\n * @param exp2\n * @param exp3\n * @param exp4\n * @param exp5\n * @param thisArg Optional calling context of pureFn\n * @returns Updated or cached value\n *\n * @codeGenApi\n */\nfunction ɵɵpureFunction5(slotOffset, pureFn, exp1, exp2, exp3, exp4, exp5, thisArg) {\n const bindingIndex = getBindingRoot() + slotOffset;\n const lView = getLView();\n const different = bindingUpdated4(lView, bindingIndex, exp1, exp2, exp3, exp4);\n return bindingUpdated(lView, bindingIndex + 4, exp5) || different ?\n updateBinding(lView, bindingIndex + 5, thisArg ? pureFn.call(thisArg, exp1, exp2, exp3, exp4, exp5) :\n pureFn(exp1, exp2, exp3, exp4, exp5)) :\n getBinding(lView, bindingIndex + 5);\n}\n/**\n * If the value of any provided exp has changed, calls the pure function to return\n * an updated value. Or if no values have changed, returns cached value.\n *\n * @param slotOffset the offset from binding root to the reserved slot\n * @param pureFn\n * @param exp1\n * @param exp2\n * @param exp3\n * @param exp4\n * @param exp5\n * @param exp6\n * @param thisArg Optional calling context of pureFn\n * @returns Updated or cached value\n *\n * @codeGenApi\n */\nfunction ɵɵpureFunction6(slotOffset, pureFn, exp1, exp2, exp3, exp4, exp5, exp6, thisArg) {\n const bindingIndex = getBindingRoot() + slotOffset;\n const lView = getLView();\n const different = bindingUpdated4(lView, bindingIndex, exp1, exp2, exp3, exp4);\n return bindingUpdated2(lView, bindingIndex + 4, exp5, exp6) || different ?\n updateBinding(lView, bindingIndex + 6, thisArg ? pureFn.call(thisArg, exp1, exp2, exp3, exp4, exp5, exp6) :\n pureFn(exp1, exp2, exp3, exp4, exp5, exp6)) :\n getBinding(lView, bindingIndex + 6);\n}\n/**\n * If the value of any provided exp has changed, calls the pure function to return\n * an updated value. Or if no values have changed, returns cached value.\n *\n * @param slotOffset the offset from binding root to the reserved slot\n * @param pureFn\n * @param exp1\n * @param exp2\n * @param exp3\n * @param exp4\n * @param exp5\n * @param exp6\n * @param exp7\n * @param thisArg Optional calling context of pureFn\n * @returns Updated or cached value\n *\n * @codeGenApi\n */\nfunction ɵɵpureFunction7(slotOffset, pureFn, exp1, exp2, exp3, exp4, exp5, exp6, exp7, thisArg) {\n const bindingIndex = getBindingRoot() + slotOffset;\n const lView = getLView();\n let different = bindingUpdated4(lView, bindingIndex, exp1, exp2, exp3, exp4);\n return bindingUpdated3(lView, bindingIndex + 4, exp5, exp6, exp7) || different ?\n updateBinding(lView, bindingIndex + 7, thisArg ? pureFn.call(thisArg, exp1, exp2, exp3, exp4, exp5, exp6, exp7) :\n pureFn(exp1, exp2, exp3, exp4, exp5, exp6, exp7)) :\n getBinding(lView, bindingIndex + 7);\n}\n/**\n * If the value of any provided exp has changed, calls the pure function to return\n * an updated value. Or if no values have changed, returns cached value.\n *\n * @param slotOffset the offset from binding root to the reserved slot\n * @param pureFn\n * @param exp1\n * @param exp2\n * @param exp3\n * @param exp4\n * @param exp5\n * @param exp6\n * @param exp7\n * @param exp8\n * @param thisArg Optional calling context of pureFn\n * @returns Updated or cached value\n *\n * @codeGenApi\n */\nfunction ɵɵpureFunction8(slotOffset, pureFn, exp1, exp2, exp3, exp4, exp5, exp6, exp7, exp8, thisArg) {\n const bindingIndex = getBindingRoot() + slotOffset;\n const lView = getLView();\n const different = bindingUpdated4(lView, bindingIndex, exp1, exp2, exp3, exp4);\n return bindingUpdated4(lView, bindingIndex + 4, exp5, exp6, exp7, exp8) || different ?\n updateBinding(lView, bindingIndex + 8, thisArg ? pureFn.call(thisArg, exp1, exp2, exp3, exp4, exp5, exp6, exp7, exp8) :\n pureFn(exp1, exp2, exp3, exp4, exp5, exp6, exp7, exp8)) :\n getBinding(lView, bindingIndex + 8);\n}\n/**\n * pureFunction instruction that can support any number of bindings.\n *\n * If the value of any provided exp has changed, calls the pure function to return\n * an updated value. Or if no values have changed, returns cached value.\n *\n * @param slotOffset the offset from binding root to the reserved slot\n * @param pureFn A pure function that takes binding values and builds an object or array\n * containing those values.\n * @param exps An array of binding values\n * @param thisArg Optional calling context of pureFn\n * @returns Updated or cached value\n *\n * @codeGenApi\n */\nfunction ɵɵpureFunctionV(slotOffset, pureFn, exps, thisArg) {\n return pureFunctionVInternal(getLView(), getBindingRoot(), slotOffset, pureFn, exps, thisArg);\n}\n/**\n * Results of a pure function invocation are stored in LView in a dedicated slot that is initialized\n * to NO_CHANGE. In rare situations a pure pipe might throw an exception on the very first\n * invocation and not produce any valid results. In this case LView would keep holding the NO_CHANGE\n * value. The NO_CHANGE is not something that we can use in expressions / bindings thus we convert\n * it to `undefined`.\n */\nfunction getPureFunctionReturnValue(lView, returnValueIndex) {\n ngDevMode && assertIndexInRange(lView, returnValueIndex);\n const lastReturnValue = lView[returnValueIndex];\n return lastReturnValue === NO_CHANGE ? undefined : lastReturnValue;\n}\n/**\n * If the value of the provided exp has changed, calls the pure function to return\n * an updated value. Or if the value has not changed, returns cached value.\n *\n * @param lView LView in which the function is being executed.\n * @param bindingRoot Binding root index.\n * @param slotOffset the offset from binding root to the reserved slot\n * @param pureFn Function that returns an updated value\n * @param exp Updated expression value\n * @param thisArg Optional calling context of pureFn\n * @returns Updated or cached value\n */\nfunction pureFunction1Internal(lView, bindingRoot, slotOffset, pureFn, exp, thisArg) {\n const bindingIndex = bindingRoot + slotOffset;\n return bindingUpdated(lView, bindingIndex, exp) ?\n updateBinding(lView, bindingIndex + 1, thisArg ? pureFn.call(thisArg, exp) : pureFn(exp)) :\n getPureFunctionReturnValue(lView, bindingIndex + 1);\n}\n/**\n * If the value of any provided exp has changed, calls the pure function to return\n * an updated value. Or if no values have changed, returns cached value.\n *\n * @param lView LView in which the function is being executed.\n * @param bindingRoot Binding root index.\n * @param slotOffset the offset from binding root to the reserved slot\n * @param pureFn\n * @param exp1\n * @param exp2\n * @param thisArg Optional calling context of pureFn\n * @returns Updated or cached value\n */\nfunction pureFunction2Internal(lView, bindingRoot, slotOffset, pureFn, exp1, exp2, thisArg) {\n const bindingIndex = bindingRoot + slotOffset;\n return bindingUpdated2(lView, bindingIndex, exp1, exp2) ?\n updateBinding(lView, bindingIndex + 2, thisArg ? pureFn.call(thisArg, exp1, exp2) : pureFn(exp1, exp2)) :\n getPureFunctionReturnValue(lView, bindingIndex + 2);\n}\n/**\n * If the value of any provided exp has changed, calls the pure function to return\n * an updated value. Or if no values have changed, returns cached value.\n *\n * @param lView LView in which the function is being executed.\n * @param bindingRoot Binding root index.\n * @param slotOffset the offset from binding root to the reserved slot\n * @param pureFn\n * @param exp1\n * @param exp2\n * @param exp3\n * @param thisArg Optional calling context of pureFn\n * @returns Updated or cached value\n */\nfunction pureFunction3Internal(lView, bindingRoot, slotOffset, pureFn, exp1, exp2, exp3, thisArg) {\n const bindingIndex = bindingRoot + slotOffset;\n return bindingUpdated3(lView, bindingIndex, exp1, exp2, exp3) ?\n updateBinding(lView, bindingIndex + 3, thisArg ? pureFn.call(thisArg, exp1, exp2, exp3) : pureFn(exp1, exp2, exp3)) :\n getPureFunctionReturnValue(lView, bindingIndex + 3);\n}\n/**\n * If the value of any provided exp has changed, calls the pure function to return\n * an updated value. Or if no values have changed, returns cached value.\n *\n * @param lView LView in which the function is being executed.\n * @param bindingRoot Binding root index.\n * @param slotOffset the offset from binding root to the reserved slot\n * @param pureFn\n * @param exp1\n * @param exp2\n * @param exp3\n * @param exp4\n * @param thisArg Optional calling context of pureFn\n * @returns Updated or cached value\n *\n */\nfunction pureFunction4Internal(lView, bindingRoot, slotOffset, pureFn, exp1, exp2, exp3, exp4, thisArg) {\n const bindingIndex = bindingRoot + slotOffset;\n return bindingUpdated4(lView, bindingIndex, exp1, exp2, exp3, exp4) ?\n updateBinding(lView, bindingIndex + 4, thisArg ? pureFn.call(thisArg, exp1, exp2, exp3, exp4) : pureFn(exp1, exp2, exp3, exp4)) :\n getPureFunctionReturnValue(lView, bindingIndex + 4);\n}\n/**\n * pureFunction instruction that can support any number of bindings.\n *\n * If the value of any provided exp has changed, calls the pure function to return\n * an updated value. Or if no values have changed, returns cached value.\n *\n * @param lView LView in which the function is being executed.\n * @param bindingRoot Binding root index.\n * @param slotOffset the offset from binding root to the reserved slot\n * @param pureFn A pure function that takes binding values and builds an object or array\n * containing those values.\n * @param exps An array of binding values\n * @param thisArg Optional calling context of pureFn\n * @returns Updated or cached value\n */\nfunction pureFunctionVInternal(lView, bindingRoot, slotOffset, pureFn, exps, thisArg) {\n let bindingIndex = bindingRoot + slotOffset;\n let different = false;\n for (let i = 0; i < exps.length; i++) {\n bindingUpdated(lView, bindingIndex++, exps[i]) && (different = true);\n }\n return different ? updateBinding(lView, bindingIndex, pureFn.apply(thisArg, exps)) :\n getPureFunctionReturnValue(lView, bindingIndex);\n}\n\n/**\n * Create a pipe.\n *\n * @param index Pipe index where the pipe will be stored.\n * @param pipeName The name of the pipe\n * @returns T the instance of the pipe.\n *\n * @codeGenApi\n */\nfunction ɵɵpipe(index, pipeName) {\n const tView = getTView();\n let pipeDef;\n const adjustedIndex = index + HEADER_OFFSET;\n if (tView.firstCreatePass) {\n // The `getPipeDef` throws if a pipe with a given name is not found\n // (so we use non-null assertion below).\n pipeDef = getPipeDef(pipeName, tView.pipeRegistry);\n tView.data[adjustedIndex] = pipeDef;\n if (pipeDef.onDestroy) {\n (tView.destroyHooks ??= []).push(adjustedIndex, pipeDef.onDestroy);\n }\n }\n else {\n pipeDef = tView.data[adjustedIndex];\n }\n const pipeFactory = pipeDef.factory || (pipeDef.factory = getFactoryDef(pipeDef.type, true));\n const previousInjectImplementation = setInjectImplementation(ɵɵdirectiveInject);\n try {\n // DI for pipes is supposed to behave like directives when placed on a component\n // host node, which means that we have to disable access to `viewProviders`.\n const previousIncludeViewProviders = setIncludeViewProviders(false);\n const pipeInstance = pipeFactory();\n setIncludeViewProviders(previousIncludeViewProviders);\n store(tView, getLView(), adjustedIndex, pipeInstance);\n return pipeInstance;\n }\n finally {\n // we have to restore the injector implementation in finally, just in case the creation of the\n // pipe throws an error.\n setInjectImplementation(previousInjectImplementation);\n }\n}\n/**\n * Searches the pipe registry for a pipe with the given name. If one is found,\n * returns the pipe. Otherwise, an error is thrown because the pipe cannot be resolved.\n *\n * @param name Name of pipe to resolve\n * @param registry Full list of available pipes\n * @returns Matching PipeDef\n */\nfunction getPipeDef(name, registry) {\n if (registry) {\n for (let i = registry.length - 1; i >= 0; i--) {\n const pipeDef = registry[i];\n if (name === pipeDef.name) {\n return pipeDef;\n }\n }\n }\n if (ngDevMode) {\n throw new RuntimeError(-302 /* RuntimeErrorCode.PIPE_NOT_FOUND */, getPipeNotFoundErrorMessage(name));\n }\n}\n/**\n * Generates a helpful error message for the user when a pipe is not found.\n *\n * @param name Name of the missing pipe\n * @returns The error message\n */\nfunction getPipeNotFoundErrorMessage(name) {\n const lView = getLView();\n const declarationLView = lView[DECLARATION_COMPONENT_VIEW];\n const context = declarationLView[CONTEXT];\n const hostIsStandalone = isHostComponentStandalone(lView);\n const componentInfoMessage = context ? ` in the '${context.constructor.name}' component` : '';\n const verifyMessage = `Verify that it is ${hostIsStandalone ? 'included in the \\'@Component.imports\\' of this component' :\n 'declared or imported in this module'}`;\n const errorMessage = `The pipe '${name}' could not be found${componentInfoMessage}. ${verifyMessage}`;\n return errorMessage;\n}\n/**\n * Invokes a pipe with 1 arguments.\n *\n * This instruction acts as a guard to {@link PipeTransform#transform} invoking\n * the pipe only when an input to the pipe changes.\n *\n * @param index Pipe index where the pipe was stored on creation.\n * @param slotOffset the offset in the reserved slot space\n * @param v1 1st argument to {@link PipeTransform#transform}.\n *\n * @codeGenApi\n */\nfunction ɵɵpipeBind1(index, slotOffset, v1) {\n const adjustedIndex = index + HEADER_OFFSET;\n const lView = getLView();\n const pipeInstance = load(lView, adjustedIndex);\n return isPure(lView, adjustedIndex) ?\n pureFunction1Internal(lView, getBindingRoot(), slotOffset, pipeInstance.transform, v1, pipeInstance) :\n pipeInstance.transform(v1);\n}\n/**\n * Invokes a pipe with 2 arguments.\n *\n * This instruction acts as a guard to {@link PipeTransform#transform} invoking\n * the pipe only when an input to the pipe changes.\n *\n * @param index Pipe index where the pipe was stored on creation.\n * @param slotOffset the offset in the reserved slot space\n * @param v1 1st argument to {@link PipeTransform#transform}.\n * @param v2 2nd argument to {@link PipeTransform#transform}.\n *\n * @codeGenApi\n */\nfunction ɵɵpipeBind2(index, slotOffset, v1, v2) {\n const adjustedIndex = index + HEADER_OFFSET;\n const lView = getLView();\n const pipeInstance = load(lView, adjustedIndex);\n return isPure(lView, adjustedIndex) ?\n pureFunction2Internal(lView, getBindingRoot(), slotOffset, pipeInstance.transform, v1, v2, pipeInstance) :\n pipeInstance.transform(v1, v2);\n}\n/**\n * Invokes a pipe with 3 arguments.\n *\n * This instruction acts as a guard to {@link PipeTransform#transform} invoking\n * the pipe only when an input to the pipe changes.\n *\n * @param index Pipe index where the pipe was stored on creation.\n * @param slotOffset the offset in the reserved slot space\n * @param v1 1st argument to {@link PipeTransform#transform}.\n * @param v2 2nd argument to {@link PipeTransform#transform}.\n * @param v3 4rd argument to {@link PipeTransform#transform}.\n *\n * @codeGenApi\n */\nfunction ɵɵpipeBind3(index, slotOffset, v1, v2, v3) {\n const adjustedIndex = index + HEADER_OFFSET;\n const lView = getLView();\n const pipeInstance = load(lView, adjustedIndex);\n return isPure(lView, adjustedIndex) ?\n pureFunction3Internal(lView, getBindingRoot(), slotOffset, pipeInstance.transform, v1, v2, v3, pipeInstance) :\n pipeInstance.transform(v1, v2, v3);\n}\n/**\n * Invokes a pipe with 4 arguments.\n *\n * This instruction acts as a guard to {@link PipeTransform#transform} invoking\n * the pipe only when an input to the pipe changes.\n *\n * @param index Pipe index where the pipe was stored on creation.\n * @param slotOffset the offset in the reserved slot space\n * @param v1 1st argument to {@link PipeTransform#transform}.\n * @param v2 2nd argument to {@link PipeTransform#transform}.\n * @param v3 3rd argument to {@link PipeTransform#transform}.\n * @param v4 4th argument to {@link PipeTransform#transform}.\n *\n * @codeGenApi\n */\nfunction ɵɵpipeBind4(index, slotOffset, v1, v2, v3, v4) {\n const adjustedIndex = index + HEADER_OFFSET;\n const lView = getLView();\n const pipeInstance = load(lView, adjustedIndex);\n return isPure(lView, adjustedIndex) ? pureFunction4Internal(lView, getBindingRoot(), slotOffset, pipeInstance.transform, v1, v2, v3, v4, pipeInstance) :\n pipeInstance.transform(v1, v2, v3, v4);\n}\n/**\n * Invokes a pipe with variable number of arguments.\n *\n * This instruction acts as a guard to {@link PipeTransform#transform} invoking\n * the pipe only when an input to the pipe changes.\n *\n * @param index Pipe index where the pipe was stored on creation.\n * @param slotOffset the offset in the reserved slot space\n * @param values Array of arguments to pass to {@link PipeTransform#transform} method.\n *\n * @codeGenApi\n */\nfunction ɵɵpipeBindV(index, slotOffset, values) {\n const adjustedIndex = index + HEADER_OFFSET;\n const lView = getLView();\n const pipeInstance = load(lView, adjustedIndex);\n return isPure(lView, adjustedIndex) ?\n pureFunctionVInternal(lView, getBindingRoot(), slotOffset, pipeInstance.transform, values, pipeInstance) :\n pipeInstance.transform.apply(pipeInstance, values);\n}\nfunction isPure(lView, index) {\n return lView[TVIEW].data[index].pure;\n}\n\n/// <reference types=\"rxjs\" />\nclass EventEmitter_ extends Subject {\n constructor(isAsync = false) {\n super();\n this.__isAsync = isAsync;\n }\n emit(value) {\n super.next(value);\n }\n subscribe(observerOrNext, error, complete) {\n let nextFn = observerOrNext;\n let errorFn = error || (() => null);\n let completeFn = complete;\n if (observerOrNext && typeof observerOrNext === 'object') {\n const observer = observerOrNext;\n nextFn = observer.next?.bind(observer);\n errorFn = observer.error?.bind(observer);\n completeFn = observer.complete?.bind(observer);\n }\n if (this.__isAsync) {\n errorFn = _wrapInTimeout(errorFn);\n if (nextFn) {\n nextFn = _wrapInTimeout(nextFn);\n }\n if (completeFn) {\n completeFn = _wrapInTimeout(completeFn);\n }\n }\n const sink = super.subscribe({ next: nextFn, error: errorFn, complete: completeFn });\n if (observerOrNext instanceof Subscription) {\n observerOrNext.add(sink);\n }\n return sink;\n }\n}\nfunction _wrapInTimeout(fn) {\n return (value) => {\n setTimeout(fn, undefined, value);\n };\n}\n/**\n * @publicApi\n */\nconst EventEmitter = EventEmitter_;\n\nfunction symbolIterator() {\n // @ts-expect-error accessing a private member\n return this._results[Symbol.iterator]();\n}\n/**\n * An unmodifiable list of items that Angular keeps up to date when the state\n * of the application changes.\n *\n * The type of object that {@link ViewChildren}, {@link ContentChildren}, and {@link QueryList}\n * provide.\n *\n * Implements an iterable interface, therefore it can be used in both ES6\n * javascript `for (var i of items)` loops as well as in Angular templates with\n * `*ngFor=\"let i of myList\"`.\n *\n * Changes can be observed by subscribing to the changes `Observable`.\n *\n * NOTE: In the future this class will implement an `Observable` interface.\n *\n * @usageNotes\n * ### Example\n * ```typescript\n * @Component({...})\n * class Container {\n * @ViewChildren(Item) items:QueryList<Item>;\n * }\n * ```\n *\n * @publicApi\n */\nclass QueryList {\n static { Symbol.iterator; }\n /**\n * Returns `Observable` of `QueryList` notifying the subscriber of changes.\n */\n get changes() {\n return this._changes || (this._changes = new EventEmitter());\n }\n /**\n * @param emitDistinctChangesOnly Whether `QueryList.changes` should fire only when actual change\n * has occurred. Or if it should fire when query is recomputed. (recomputing could resolve in\n * the same result)\n */\n constructor(_emitDistinctChangesOnly = false) {\n this._emitDistinctChangesOnly = _emitDistinctChangesOnly;\n this.dirty = true;\n this._results = [];\n this._changesDetected = false;\n this._changes = null;\n this.length = 0;\n this.first = undefined;\n this.last = undefined;\n // This function should be declared on the prototype, but doing so there will cause the class\n // declaration to have side-effects and become not tree-shakable. For this reason we do it in\n // the constructor.\n // [Symbol.iterator](): Iterator<T> { ... }\n const proto = QueryList.prototype;\n if (!proto[Symbol.iterator])\n proto[Symbol.iterator] = symbolIterator;\n }\n /**\n * Returns the QueryList entry at `index`.\n */\n get(index) {\n return this._results[index];\n }\n /**\n * See\n * [Array.map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map)\n */\n map(fn) {\n return this._results.map(fn);\n }\n filter(fn) {\n return this._results.filter(fn);\n }\n /**\n * See\n * [Array.find](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find)\n */\n find(fn) {\n return this._results.find(fn);\n }\n /**\n * See\n * [Array.reduce](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce)\n */\n reduce(fn, init) {\n return this._results.reduce(fn, init);\n }\n /**\n * See\n * [Array.forEach](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach)\n */\n forEach(fn) {\n this._results.forEach(fn);\n }\n /**\n * See\n * [Array.some](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/some)\n */\n some(fn) {\n return this._results.some(fn);\n }\n /**\n * Returns a copy of the internal results list as an Array.\n */\n toArray() {\n return this._results.slice();\n }\n toString() {\n return this._results.toString();\n }\n /**\n * Updates the stored data of the query list, and resets the `dirty` flag to `false`, so that\n * on change detection, it will not notify of changes to the queries, unless a new change\n * occurs.\n *\n * @param resultsTree The query results to store\n * @param identityAccessor Optional function for extracting stable object identity from a value\n * in the array. This function is executed for each element of the query result list while\n * comparing current query list with the new one (provided as a first argument of the `reset`\n * function) to detect if the lists are different. If the function is not provided, elements\n * are compared as is (without any pre-processing).\n */\n reset(resultsTree, identityAccessor) {\n // Cast to `QueryListInternal` so that we can mutate fields which are readonly for the usage of\n // QueryList (but not for QueryList itself.)\n const self = this;\n self.dirty = false;\n const newResultFlat = flatten(resultsTree);\n if (this._changesDetected = !arrayEquals(self._results, newResultFlat, identityAccessor)) {\n self._results = newResultFlat;\n self.length = newResultFlat.length;\n self.last = newResultFlat[this.length - 1];\n self.first = newResultFlat[0];\n }\n }\n /**\n * Triggers a change event by emitting on the `changes` {@link EventEmitter}.\n */\n notifyOnChanges() {\n if (this._changes && (this._changesDetected || !this._emitDistinctChangesOnly))\n this._changes.emit(this);\n }\n /** internal */\n setDirty() {\n this.dirty = true;\n }\n /** internal */\n destroy() {\n this.changes.complete();\n this.changes.unsubscribe();\n }\n}\n\n/**\n * Represents an embedded template that can be used to instantiate embedded views.\n * To instantiate embedded views based on a template, use the `ViewContainerRef`\n * method `createEmbeddedView()`.\n *\n * Access a `TemplateRef` instance by placing a directive on an `<ng-template>`\n * element (or directive prefixed with `*`). The `TemplateRef` for the embedded view\n * is injected into the constructor of the directive,\n * using the `TemplateRef` token.\n *\n * You can also use a `Query` to find a `TemplateRef` associated with\n * a component or a directive.\n *\n * @see `ViewContainerRef`\n * @see [Navigate the Component Tree with DI](guide/dependency-injection-navtree)\n *\n * @publicApi\n */\nclass TemplateRef {\n /**\n * @internal\n * @nocollapse\n */\n static { this.__NG_ELEMENT_ID__ = injectTemplateRef; }\n}\nconst ViewEngineTemplateRef = TemplateRef;\n// TODO(alxhub): combine interface and implementation. Currently this is challenging since something\n// in g3 depends on them being separate.\nconst R3TemplateRef = class TemplateRef extends ViewEngineTemplateRef {\n constructor(_declarationLView, _declarationTContainer, elementRef) {\n super();\n this._declarationLView = _declarationLView;\n this._declarationTContainer = _declarationTContainer;\n this.elementRef = elementRef;\n }\n /**\n * Returns an `ssrId` associated with a TView, which was used to\n * create this instance of the `TemplateRef`.\n *\n * @internal\n */\n get ssrId() {\n return this._declarationTContainer.tView?.ssrId || null;\n }\n createEmbeddedView(context, injector) {\n return this.createEmbeddedViewImpl(context, injector, null);\n }\n /**\n * @internal\n */\n createEmbeddedViewImpl(context, injector, hydrationInfo) {\n const embeddedTView = this._declarationTContainer.tView;\n const embeddedLView = createLView(this._declarationLView, embeddedTView, context, 16 /* LViewFlags.CheckAlways */, null, embeddedTView.declTNode, null, null, null, injector || null, hydrationInfo || null);\n const declarationLContainer = this._declarationLView[this._declarationTContainer.index];\n ngDevMode && assertLContainer(declarationLContainer);\n embeddedLView[DECLARATION_LCONTAINER] = declarationLContainer;\n const declarationViewLQueries = this._declarationLView[QUERIES];\n if (declarationViewLQueries !== null) {\n embeddedLView[QUERIES] = declarationViewLQueries.createEmbeddedView(embeddedTView);\n }\n renderView(embeddedTView, embeddedLView, context);\n return new ViewRef$1(embeddedLView);\n }\n};\n/**\n * Creates a TemplateRef given a node.\n *\n * @returns The TemplateRef instance to use\n */\nfunction injectTemplateRef() {\n return createTemplateRef(getCurrentTNode(), getLView());\n}\n/**\n * Creates a TemplateRef and stores it on the injector.\n *\n * @param hostTNode The node on which a TemplateRef is requested\n * @param hostLView The `LView` to which the node belongs\n * @returns The TemplateRef instance or null if we can't create a TemplateRef on a given node type\n */\nfunction createTemplateRef(hostTNode, hostLView) {\n if (hostTNode.type & 4 /* TNodeType.Container */) {\n ngDevMode && assertDefined(hostTNode.tView, 'TView must be allocated');\n return new R3TemplateRef(hostLView, hostTNode, createElementRef(hostTNode, hostLView));\n }\n return null;\n}\n\n/**\n * Removes all dehydrated views from a given LContainer:\n * both in internal data structure, as well as removing\n * corresponding DOM nodes that belong to that dehydrated view.\n */\nfunction removeDehydratedViews(lContainer) {\n const views = lContainer[DEHYDRATED_VIEWS] ?? [];\n const parentLView = lContainer[PARENT];\n const renderer = parentLView[RENDERER];\n for (const view of views) {\n removeDehydratedView(view, renderer);\n ngDevMode && ngDevMode.dehydratedViewsRemoved++;\n }\n // Reset the value to an empty array to indicate that no\n // further processing of dehydrated views is needed for\n // this view container (i.e. do not trigger the lookup process\n // once again in case a `ViewContainerRef` is created later).\n lContainer[DEHYDRATED_VIEWS] = EMPTY_ARRAY;\n}\n/**\n * Helper function to remove all nodes from a dehydrated view.\n */\nfunction removeDehydratedView(dehydratedView, renderer) {\n let nodesRemoved = 0;\n let currentRNode = dehydratedView.firstChild;\n if (currentRNode) {\n const numNodes = dehydratedView.data[NUM_ROOT_NODES];\n while (nodesRemoved < numNodes) {\n ngDevMode && validateSiblingNodeExists(currentRNode);\n const nextSibling = currentRNode.nextSibling;\n nativeRemoveNode(renderer, currentRNode, false);\n currentRNode = nextSibling;\n nodesRemoved++;\n }\n }\n}\n/**\n * Walks over all views within this LContainer invokes dehydrated views\n * cleanup function for each one.\n */\nfunction cleanupLContainer(lContainer) {\n removeDehydratedViews(lContainer);\n for (let i = CONTAINER_HEADER_OFFSET; i < lContainer.length; i++) {\n cleanupLView(lContainer[i]);\n }\n}\n/**\n * Walks over `LContainer`s and components registered within\n * this LView and invokes dehydrated views cleanup function for each one.\n */\nfunction cleanupLView(lView) {\n const tView = lView[TVIEW];\n for (let i = HEADER_OFFSET; i < tView.bindingStartIndex; i++) {\n if (isLContainer(lView[i])) {\n const lContainer = lView[i];\n cleanupLContainer(lContainer);\n }\n else if (Array.isArray(lView[i])) {\n // This is a component, enter the `cleanupLView` recursively.\n cleanupLView(lView[i]);\n }\n }\n}\n/**\n * Walks over all views registered within the ApplicationRef and removes\n * all dehydrated views from all `LContainer`s along the way.\n */\nfunction cleanupDehydratedViews(appRef) {\n const viewRefs = appRef._views;\n for (const viewRef of viewRefs) {\n const lView = getComponentLViewForHydration(viewRef);\n // An `lView` might be `null` if a `ViewRef` represents\n // an embedded view (not a component view).\n if (lView !== null && lView[HOST] !== null) {\n cleanupLView(lView);\n ngDevMode && ngDevMode.dehydratedViewsCleanupRuns++;\n }\n }\n}\n\n/**\n * Given a current DOM node and a serialized information about the views\n * in a container, walks over the DOM structure, collecting the list of\n * dehydrated views.\n */\nfunction locateDehydratedViewsInContainer(currentRNode, serializedViews) {\n const dehydratedViews = [];\n for (const serializedView of serializedViews) {\n // Repeats a view multiple times as needed, based on the serialized information\n // (for example, for *ngFor-produced views).\n for (let i = 0; i < (serializedView[MULTIPLIER] ?? 1); i++) {\n const view = {\n data: serializedView,\n firstChild: null,\n };\n if (serializedView[NUM_ROOT_NODES] > 0) {\n // Keep reference to the first node in this view,\n // so it can be accessed while invoking template instructions.\n view.firstChild = currentRNode;\n // Move over to the next node after this view, which can\n // either be a first node of the next view or an anchor comment\n // node after the last view in a container.\n currentRNode = siblingAfter(serializedView[NUM_ROOT_NODES], currentRNode);\n }\n dehydratedViews.push(view);\n }\n }\n return [currentRNode, dehydratedViews];\n}\n/**\n * Reference to a function that searches for a matching dehydrated views\n * stored on a given lContainer.\n * Returns `null` by default, when hydration is not enabled.\n */\nlet _findMatchingDehydratedViewImpl = (lContainer, template) => null;\n/**\n * Retrieves the next dehydrated view from the LContainer and verifies that\n * it matches a given template id (from the TView that was used to create this\n * instance of a view). If the id doesn't match, that means that we are in an\n * unexpected state and can not complete the reconciliation process. Thus,\n * all dehydrated views from this LContainer are removed (including corresponding\n * DOM nodes) and the rendering is performed as if there were no dehydrated views\n * in this container.\n */\nfunction findMatchingDehydratedViewImpl(lContainer, template) {\n const views = lContainer[DEHYDRATED_VIEWS] ?? [];\n if (!template || views.length === 0) {\n return null;\n }\n const view = views[0];\n // Verify whether the first dehydrated view in the container matches\n // the template id passed to this function (that originated from a TView\n // that was used to create an instance of an embedded or component views.\n if (view.data[TEMPLATE_ID] === template) {\n // If the template id matches - extract the first view and return it.\n return views.shift();\n }\n else {\n // Otherwise, we are at the state when reconciliation can not be completed,\n // thus we remove all dehydrated views within this container (remove them\n // from internal data structures as well as delete associated elements from\n // the DOM tree).\n removeDehydratedViews(lContainer);\n return null;\n }\n}\nfunction enableFindMatchingDehydratedViewImpl() {\n _findMatchingDehydratedViewImpl = findMatchingDehydratedViewImpl;\n}\nfunction findMatchingDehydratedView(lContainer, template) {\n return _findMatchingDehydratedViewImpl(lContainer, template);\n}\n\n/**\n * Represents a container where one or more views can be attached to a component.\n *\n * Can contain *host views* (created by instantiating a\n * component with the `createComponent()` method), and *embedded views*\n * (created by instantiating a `TemplateRef` with the `createEmbeddedView()` method).\n *\n * A view container instance can contain other view containers,\n * creating a [view hierarchy](guide/glossary#view-hierarchy).\n *\n * @see `ComponentRef`\n * @see `EmbeddedViewRef`\n *\n * @publicApi\n */\nclass ViewContainerRef {\n /**\n * @internal\n * @nocollapse\n */\n static { this.__NG_ELEMENT_ID__ = injectViewContainerRef; }\n}\n/**\n * Creates a ViewContainerRef and stores it on the injector. Or, if the ViewContainerRef\n * already exists, retrieves the existing ViewContainerRef.\n *\n * @returns The ViewContainerRef instance to use\n */\nfunction injectViewContainerRef() {\n const previousTNode = getCurrentTNode();\n return createContainerRef(previousTNode, getLView());\n}\nconst VE_ViewContainerRef = ViewContainerRef;\n// TODO(alxhub): cleaning up this indirection triggers a subtle bug in Closure in g3. Once the fix\n// for that lands, this can be cleaned up.\nconst R3ViewContainerRef = class ViewContainerRef extends VE_ViewContainerRef {\n constructor(_lContainer, _hostTNode, _hostLView) {\n super();\n this._lContainer = _lContainer;\n this._hostTNode = _hostTNode;\n this._hostLView = _hostLView;\n }\n get element() {\n return createElementRef(this._hostTNode, this._hostLView);\n }\n get injector() {\n return new NodeInjector(this._hostTNode, this._hostLView);\n }\n /** @deprecated No replacement */\n get parentInjector() {\n const parentLocation = getParentInjectorLocation(this._hostTNode, this._hostLView);\n if (hasParentInjector(parentLocation)) {\n const parentView = getParentInjectorView(parentLocation, this._hostLView);\n const injectorIndex = getParentInjectorIndex(parentLocation);\n ngDevMode && assertNodeInjector(parentView, injectorIndex);\n const parentTNode = parentView[TVIEW].data[injectorIndex + 8 /* NodeInjectorOffset.TNODE */];\n return new NodeInjector(parentTNode, parentView);\n }\n else {\n return new NodeInjector(null, this._hostLView);\n }\n }\n clear() {\n while (this.length > 0) {\n this.remove(this.length - 1);\n }\n }\n get(index) {\n const viewRefs = getViewRefs(this._lContainer);\n return viewRefs !== null && viewRefs[index] || null;\n }\n get length() {\n return this._lContainer.length - CONTAINER_HEADER_OFFSET;\n }\n createEmbeddedView(templateRef, context, indexOrOptions) {\n let index;\n let injector;\n if (typeof indexOrOptions === 'number') {\n index = indexOrOptions;\n }\n else if (indexOrOptions != null) {\n index = indexOrOptions.index;\n injector = indexOrOptions.injector;\n }\n const hydrationInfo = findMatchingDehydratedView(this._lContainer, templateRef.ssrId);\n const viewRef = templateRef.createEmbeddedViewImpl(context || {}, injector, hydrationInfo);\n // If there is a matching dehydrated view, but the host TNode is located in the skip\n // hydration block, this means that the content was detached (as a part of the skip\n // hydration logic) and it needs to be appended into the DOM.\n const skipDomInsertion = !!hydrationInfo && !hasInSkipHydrationBlockFlag(this._hostTNode);\n this.insertImpl(viewRef, index, skipDomInsertion);\n return viewRef;\n }\n createComponent(componentFactoryOrType, indexOrOptions, injector, projectableNodes, environmentInjector) {\n const isComponentFactory = componentFactoryOrType && !isType(componentFactoryOrType);\n let index;\n // This function supports 2 signatures and we need to handle options correctly for both:\n // 1. When first argument is a Component type. This signature also requires extra\n // options to be provided as as object (more ergonomic option).\n // 2. First argument is a Component factory. In this case extra options are represented as\n // positional arguments. This signature is less ergonomic and will be deprecated.\n if (isComponentFactory) {\n if (ngDevMode) {\n assertEqual(typeof indexOrOptions !== 'object', true, 'It looks like Component factory was provided as the first argument ' +\n 'and an options object as the second argument. This combination of arguments ' +\n 'is incompatible. You can either change the first argument to provide Component ' +\n 'type or change the second argument to be a number (representing an index at ' +\n 'which to insert the new component\\'s host view into this container)');\n }\n index = indexOrOptions;\n }\n else {\n if (ngDevMode) {\n assertDefined(getComponentDef(componentFactoryOrType), `Provided Component class doesn't contain Component definition. ` +\n `Please check whether provided class has @Component decorator.`);\n assertEqual(typeof indexOrOptions !== 'number', true, 'It looks like Component type was provided as the first argument ' +\n 'and a number (representing an index at which to insert the new component\\'s ' +\n 'host view into this container as the second argument. This combination of arguments ' +\n 'is incompatible. Please use an object as the second argument instead.');\n }\n const options = (indexOrOptions || {});\n if (ngDevMode && options.environmentInjector && options.ngModuleRef) {\n throwError(`Cannot pass both environmentInjector and ngModuleRef options to createComponent().`);\n }\n index = options.index;\n injector = options.injector;\n projectableNodes = options.projectableNodes;\n environmentInjector = options.environmentInjector || options.ngModuleRef;\n }\n const componentFactory = isComponentFactory ?\n componentFactoryOrType :\n new ComponentFactory(getComponentDef(componentFactoryOrType));\n const contextInjector = injector || this.parentInjector;\n // If an `NgModuleRef` is not provided explicitly, try retrieving it from the DI tree.\n if (!environmentInjector && componentFactory.ngModule == null) {\n // For the `ComponentFactory` case, entering this logic is very unlikely, since we expect that\n // an instance of a `ComponentFactory`, resolved via `ComponentFactoryResolver` would have an\n // `ngModule` field. This is possible in some test scenarios and potentially in some JIT-based\n // use-cases. For the `ComponentFactory` case we preserve backwards-compatibility and try\n // using a provided injector first, then fall back to the parent injector of this\n // `ViewContainerRef` instance.\n //\n // For the factory-less case, it's critical to establish a connection with the module\n // injector tree (by retrieving an instance of an `NgModuleRef` and accessing its injector),\n // so that a component can use DI tokens provided in MgModules. For this reason, we can not\n // rely on the provided injector, since it might be detached from the DI tree (for example, if\n // it was created via `Injector.create` without specifying a parent injector, or if an\n // injector is retrieved from an `NgModuleRef` created via `createNgModule` using an\n // NgModule outside of a module tree). Instead, we always use `ViewContainerRef`'s parent\n // injector, which is normally connected to the DI tree, which includes module injector\n // subtree.\n const _injector = isComponentFactory ? contextInjector : this.parentInjector;\n // DO NOT REFACTOR. The code here used to have a `injector.get(NgModuleRef, null) ||\n // undefined` expression which seems to cause internal google apps to fail. This is documented\n // in the following internal bug issue: go/b/142967802\n const result = _injector.get(EnvironmentInjector, null);\n if (result) {\n environmentInjector = result;\n }\n }\n const componentDef = getComponentDef(componentFactory.componentType ?? {});\n const dehydratedView = findMatchingDehydratedView(this._lContainer, componentDef?.id ?? null);\n const rNode = dehydratedView?.firstChild ?? null;\n const componentRef = componentFactory.create(contextInjector, projectableNodes, rNode, environmentInjector);\n // If there is a matching dehydrated view, but the host TNode is located in the skip\n // hydration block, this means that the content was detached (as a part of the skip\n // hydration logic) and it needs to be appended into the DOM.\n const skipDomInsertion = !!dehydratedView && !hasInSkipHydrationBlockFlag(this._hostTNode);\n this.insertImpl(componentRef.hostView, index, skipDomInsertion);\n return componentRef;\n }\n insert(viewRef, index) {\n return this.insertImpl(viewRef, index, false);\n }\n insertImpl(viewRef, index, skipDomInsertion) {\n const lView = viewRef._lView;\n const tView = lView[TVIEW];\n if (ngDevMode && viewRef.destroyed) {\n throw new Error('Cannot insert a destroyed View in a ViewContainer!');\n }\n if (viewAttachedToContainer(lView)) {\n // If view is already attached, detach it first so we clean up references appropriately.\n const prevIdx = this.indexOf(viewRef);\n // A view might be attached either to this or a different container. The `prevIdx` for\n // those cases will be:\n // equal to -1 for views attached to this ViewContainerRef\n // >= 0 for views attached to a different ViewContainerRef\n if (prevIdx !== -1) {\n this.detach(prevIdx);\n }\n else {\n const prevLContainer = lView[PARENT];\n ngDevMode &&\n assertEqual(isLContainer(prevLContainer), true, 'An attached view should have its PARENT point to a container.');\n // We need to re-create a R3ViewContainerRef instance since those are not stored on\n // LView (nor anywhere else).\n const prevVCRef = new R3ViewContainerRef(prevLContainer, prevLContainer[T_HOST], prevLContainer[PARENT]);\n prevVCRef.detach(prevVCRef.indexOf(viewRef));\n }\n }\n // Logical operation of adding `LView` to `LContainer`\n const adjustedIdx = this._adjustIndex(index);\n const lContainer = this._lContainer;\n insertView(tView, lView, lContainer, adjustedIdx);\n // Physical operation of adding the DOM nodes.\n if (!skipDomInsertion) {\n const beforeNode = getBeforeNodeForView(adjustedIdx, lContainer);\n const renderer = lView[RENDERER];\n const parentRNode = nativeParentNode(renderer, lContainer[NATIVE]);\n if (parentRNode !== null) {\n addViewToContainer(tView, lContainer[T_HOST], renderer, lView, parentRNode, beforeNode);\n }\n }\n viewRef.attachToViewContainerRef();\n addToArray(getOrCreateViewRefs(lContainer), adjustedIdx, viewRef);\n return viewRef;\n }\n move(viewRef, newIndex) {\n if (ngDevMode && viewRef.destroyed) {\n throw new Error('Cannot move a destroyed View in a ViewContainer!');\n }\n return this.insert(viewRef, newIndex);\n }\n indexOf(viewRef) {\n const viewRefsArr = getViewRefs(this._lContainer);\n return viewRefsArr !== null ? viewRefsArr.indexOf(viewRef) : -1;\n }\n remove(index) {\n const adjustedIdx = this._adjustIndex(index, -1);\n const detachedView = detachView(this._lContainer, adjustedIdx);\n if (detachedView) {\n // Before destroying the view, remove it from the container's array of `ViewRef`s.\n // This ensures the view container length is updated before calling\n // `destroyLView`, which could recursively call view container methods that\n // rely on an accurate container length.\n // (e.g. a method on this view container being called by a child directive's OnDestroy\n // lifecycle hook)\n removeFromArray(getOrCreateViewRefs(this._lContainer), adjustedIdx);\n destroyLView(detachedView[TVIEW], detachedView);\n }\n }\n detach(index) {\n const adjustedIdx = this._adjustIndex(index, -1);\n const view = detachView(this._lContainer, adjustedIdx);\n const wasDetached = view && removeFromArray(getOrCreateViewRefs(this._lContainer), adjustedIdx) != null;\n return wasDetached ? new ViewRef$1(view) : null;\n }\n _adjustIndex(index, shift = 0) {\n if (index == null) {\n return this.length + shift;\n }\n if (ngDevMode) {\n assertGreaterThan(index, -1, `ViewRef index must be positive, got ${index}`);\n // +1 because it's legal to insert at the end.\n assertLessThan(index, this.length + 1 + shift, 'index');\n }\n return index;\n }\n};\nfunction getViewRefs(lContainer) {\n return lContainer[VIEW_REFS];\n}\nfunction getOrCreateViewRefs(lContainer) {\n return (lContainer[VIEW_REFS] || (lContainer[VIEW_REFS] = []));\n}\n/**\n * Creates a ViewContainerRef and stores it on the injector.\n *\n * @param hostTNode The node that is requesting a ViewContainerRef\n * @param hostLView The view to which the node belongs\n * @returns The ViewContainerRef instance to use\n */\nfunction createContainerRef(hostTNode, hostLView) {\n ngDevMode && assertTNodeType(hostTNode, 12 /* TNodeType.AnyContainer */ | 3 /* TNodeType.AnyRNode */);\n let lContainer;\n const slotValue = hostLView[hostTNode.index];\n if (isLContainer(slotValue)) {\n // If the host is a container, we don't need to create a new LContainer\n lContainer = slotValue;\n }\n else {\n // An LContainer anchor can not be `null`, but we set it here temporarily\n // and update to the actual value later in this function (see\n // `_locateOrCreateAnchorNode`).\n lContainer = createLContainer(slotValue, hostLView, null, hostTNode);\n hostLView[hostTNode.index] = lContainer;\n addToViewTree(hostLView, lContainer);\n }\n _locateOrCreateAnchorNode(lContainer, hostLView, hostTNode, slotValue);\n return new R3ViewContainerRef(lContainer, hostTNode, hostLView);\n}\n/**\n * Creates and inserts a comment node that acts as an anchor for a view container.\n *\n * If the host is a regular element, we have to insert a comment node manually which will\n * be used as an anchor when inserting elements. In this specific case we use low-level DOM\n * manipulation to insert it.\n */\nfunction insertAnchorNode(hostLView, hostTNode) {\n const renderer = hostLView[RENDERER];\n ngDevMode && ngDevMode.rendererCreateComment++;\n const commentNode = renderer.createComment(ngDevMode ? 'container' : '');\n const hostNative = getNativeByTNode(hostTNode, hostLView);\n const parentOfHostNative = nativeParentNode(renderer, hostNative);\n nativeInsertBefore(renderer, parentOfHostNative, commentNode, nativeNextSibling(renderer, hostNative), false);\n return commentNode;\n}\nlet _locateOrCreateAnchorNode = createAnchorNode;\n/**\n * Regular creation mode: an anchor is created and\n * assigned to the `lContainer[NATIVE]` slot.\n */\nfunction createAnchorNode(lContainer, hostLView, hostTNode, slotValue) {\n // We already have a native element (anchor) set, return.\n if (lContainer[NATIVE])\n return;\n let commentNode;\n // If the host is an element container, the native host element is guaranteed to be a\n // comment and we can reuse that comment as anchor element for the new LContainer.\n // The comment node in question is already part of the DOM structure so we don't need to append\n // it again.\n if (hostTNode.type & 8 /* TNodeType.ElementContainer */) {\n commentNode = unwrapRNode(slotValue);\n }\n else {\n commentNode = insertAnchorNode(hostLView, hostTNode);\n }\n lContainer[NATIVE] = commentNode;\n}\n/**\n * Hydration logic that looks up:\n * - an anchor node in the DOM and stores the node in `lContainer[NATIVE]`\n * - all dehydrated views in this container and puts them into `lContainer[DEHYDRATED_VIEWS]`\n */\nfunction locateOrCreateAnchorNode(lContainer, hostLView, hostTNode, slotValue) {\n // We already have a native element (anchor) set and the process\n // of finding dehydrated views happened (so the `lContainer[DEHYDRATED_VIEWS]`\n // is not null), exit early.\n if (lContainer[NATIVE] && lContainer[DEHYDRATED_VIEWS])\n return;\n const hydrationInfo = hostLView[HYDRATION];\n const noOffsetIndex = hostTNode.index - HEADER_OFFSET;\n // TODO(akushnir): this should really be a single condition, refactor the code\n // to use `hasInSkipHydrationBlockFlag` logic inside `isInSkipHydrationBlock`.\n const skipHydration = isInSkipHydrationBlock(hostTNode) || hasInSkipHydrationBlockFlag(hostTNode);\n const isNodeCreationMode = !hydrationInfo || skipHydration || isDisconnectedNode$1(hydrationInfo, noOffsetIndex);\n // Regular creation mode.\n if (isNodeCreationMode) {\n return createAnchorNode(lContainer, hostLView, hostTNode, slotValue);\n }\n // Hydration mode, looking up an anchor node and dehydrated views in DOM.\n const currentRNode = getSegmentHead(hydrationInfo, noOffsetIndex);\n const serializedViews = hydrationInfo.data[CONTAINERS]?.[noOffsetIndex];\n ngDevMode &&\n assertDefined(serializedViews, 'Unexpected state: no hydration info available for a given TNode, ' +\n 'which represents a view container.');\n const [commentNode, dehydratedViews] = locateDehydratedViewsInContainer(currentRNode, serializedViews);\n if (ngDevMode) {\n validateMatchingNode(commentNode, Node.COMMENT_NODE, null, hostLView, hostTNode, true);\n // Do not throw in case this node is already claimed (thus `false` as a second\n // argument). If this container is created based on an `<ng-template>`, the comment\n // node would be already claimed from the `template` instruction. If an element acts\n // as an anchor (e.g. <div #vcRef>), a separate comment node would be created/located,\n // so we need to claim it here.\n markRNodeAsClaimedByHydration(commentNode, false);\n }\n lContainer[NATIVE] = commentNode;\n lContainer[DEHYDRATED_VIEWS] = dehydratedViews;\n}\nfunction enableLocateOrCreateContainerRefImpl() {\n _locateOrCreateAnchorNode = locateOrCreateAnchorNode;\n}\n\nclass LQuery_ {\n constructor(queryList) {\n this.queryList = queryList;\n this.matches = null;\n }\n clone() {\n return new LQuery_(this.queryList);\n }\n setDirty() {\n this.queryList.setDirty();\n }\n}\nclass LQueries_ {\n constructor(queries = []) {\n this.queries = queries;\n }\n createEmbeddedView(tView) {\n const tQueries = tView.queries;\n if (tQueries !== null) {\n const noOfInheritedQueries = tView.contentQueries !== null ? tView.contentQueries[0] : tQueries.length;\n const viewLQueries = [];\n // An embedded view has queries propagated from a declaration view at the beginning of the\n // TQueries collection and up until a first content query declared in the embedded view. Only\n // propagated LQueries are created at this point (LQuery corresponding to declared content\n // queries will be instantiated from the content query instructions for each directive).\n for (let i = 0; i < noOfInheritedQueries; i++) {\n const tQuery = tQueries.getByIndex(i);\n const parentLQuery = this.queries[tQuery.indexInDeclarationView];\n viewLQueries.push(parentLQuery.clone());\n }\n return new LQueries_(viewLQueries);\n }\n return null;\n }\n insertView(tView) {\n this.dirtyQueriesWithMatches(tView);\n }\n detachView(tView) {\n this.dirtyQueriesWithMatches(tView);\n }\n dirtyQueriesWithMatches(tView) {\n for (let i = 0; i < this.queries.length; i++) {\n if (getTQuery(tView, i).matches !== null) {\n this.queries[i].setDirty();\n }\n }\n }\n}\nclass TQueryMetadata_ {\n constructor(predicate, flags, read = null) {\n this.predicate = predicate;\n this.flags = flags;\n this.read = read;\n }\n}\nclass TQueries_ {\n constructor(queries = []) {\n this.queries = queries;\n }\n elementStart(tView, tNode) {\n ngDevMode &&\n assertFirstCreatePass(tView, 'Queries should collect results on the first template pass only');\n for (let i = 0; i < this.queries.length; i++) {\n this.queries[i].elementStart(tView, tNode);\n }\n }\n elementEnd(tNode) {\n for (let i = 0; i < this.queries.length; i++) {\n this.queries[i].elementEnd(tNode);\n }\n }\n embeddedTView(tNode) {\n let queriesForTemplateRef = null;\n for (let i = 0; i < this.length; i++) {\n const childQueryIndex = queriesForTemplateRef !== null ? queriesForTemplateRef.length : 0;\n const tqueryClone = this.getByIndex(i).embeddedTView(tNode, childQueryIndex);\n if (tqueryClone) {\n tqueryClone.indexInDeclarationView = i;\n if (queriesForTemplateRef !== null) {\n queriesForTemplateRef.push(tqueryClone);\n }\n else {\n queriesForTemplateRef = [tqueryClone];\n }\n }\n }\n return queriesForTemplateRef !== null ? new TQueries_(queriesForTemplateRef) : null;\n }\n template(tView, tNode) {\n ngDevMode &&\n assertFirstCreatePass(tView, 'Queries should collect results on the first template pass only');\n for (let i = 0; i < this.queries.length; i++) {\n this.queries[i].template(tView, tNode);\n }\n }\n getByIndex(index) {\n ngDevMode && assertIndexInRange(this.queries, index);\n return this.queries[index];\n }\n get length() {\n return this.queries.length;\n }\n track(tquery) {\n this.queries.push(tquery);\n }\n}\nclass TQuery_ {\n constructor(metadata, nodeIndex = -1) {\n this.metadata = metadata;\n this.matches = null;\n this.indexInDeclarationView = -1;\n this.crossesNgTemplate = false;\n /**\n * A flag indicating if a given query still applies to nodes it is crossing. We use this flag\n * (alongside with _declarationNodeIndex) to know when to stop applying content queries to\n * elements in a template.\n */\n this._appliesToNextNode = true;\n this._declarationNodeIndex = nodeIndex;\n }\n elementStart(tView, tNode) {\n if (this.isApplyingToNode(tNode)) {\n this.matchTNode(tView, tNode);\n }\n }\n elementEnd(tNode) {\n if (this._declarationNodeIndex === tNode.index) {\n this._appliesToNextNode = false;\n }\n }\n template(tView, tNode) {\n this.elementStart(tView, tNode);\n }\n embeddedTView(tNode, childQueryIndex) {\n if (this.isApplyingToNode(tNode)) {\n this.crossesNgTemplate = true;\n // A marker indicating a `<ng-template>` element (a placeholder for query results from\n // embedded views created based on this `<ng-template>`).\n this.addMatch(-tNode.index, childQueryIndex);\n return new TQuery_(this.metadata);\n }\n return null;\n }\n isApplyingToNode(tNode) {\n if (this._appliesToNextNode &&\n (this.metadata.flags & 1 /* QueryFlags.descendants */) !== 1 /* QueryFlags.descendants */) {\n const declarationNodeIdx = this._declarationNodeIndex;\n let parent = tNode.parent;\n // Determine if a given TNode is a \"direct\" child of a node on which a content query was\n // declared (only direct children of query's host node can match with the descendants: false\n // option). There are 3 main use-case / conditions to consider here:\n // - <needs-target><i #target></i></needs-target>: here <i #target> parent node is a query\n // host node;\n // - <needs-target><ng-template [ngIf]=\"true\"><i #target></i></ng-template></needs-target>:\n // here <i #target> parent node is null;\n // - <needs-target><ng-container><i #target></i></ng-container></needs-target>: here we need\n // to go past `<ng-container>` to determine <i #target> parent node (but we shouldn't traverse\n // up past the query's host node!).\n while (parent !== null && (parent.type & 8 /* TNodeType.ElementContainer */) &&\n parent.index !== declarationNodeIdx) {\n parent = parent.parent;\n }\n return declarationNodeIdx === (parent !== null ? parent.index : -1);\n }\n return this._appliesToNextNode;\n }\n matchTNode(tView, tNode) {\n const predicate = this.metadata.predicate;\n if (Array.isArray(predicate)) {\n for (let i = 0; i < predicate.length; i++) {\n const name = predicate[i];\n this.matchTNodeWithReadOption(tView, tNode, getIdxOfMatchingSelector(tNode, name));\n // Also try matching the name to a provider since strings can be used as DI tokens too.\n this.matchTNodeWithReadOption(tView, tNode, locateDirectiveOrProvider(tNode, tView, name, false, false));\n }\n }\n else {\n if (predicate === TemplateRef) {\n if (tNode.type & 4 /* TNodeType.Container */) {\n this.matchTNodeWithReadOption(tView, tNode, -1);\n }\n }\n else {\n this.matchTNodeWithReadOption(tView, tNode, locateDirectiveOrProvider(tNode, tView, predicate, false, false));\n }\n }\n }\n matchTNodeWithReadOption(tView, tNode, nodeMatchIdx) {\n if (nodeMatchIdx !== null) {\n const read = this.metadata.read;\n if (read !== null) {\n if (read === ElementRef || read === ViewContainerRef ||\n read === TemplateRef && (tNode.type & 4 /* TNodeType.Container */)) {\n this.addMatch(tNode.index, -2);\n }\n else {\n const directiveOrProviderIdx = locateDirectiveOrProvider(tNode, tView, read, false, false);\n if (directiveOrProviderIdx !== null) {\n this.addMatch(tNode.index, directiveOrProviderIdx);\n }\n }\n }\n else {\n this.addMatch(tNode.index, nodeMatchIdx);\n }\n }\n }\n addMatch(tNodeIdx, matchIdx) {\n if (this.matches === null) {\n this.matches = [tNodeIdx, matchIdx];\n }\n else {\n this.matches.push(tNodeIdx, matchIdx);\n }\n }\n}\n/**\n * Iterates over local names for a given node and returns directive index\n * (or -1 if a local name points to an element).\n *\n * @param tNode static data of a node to check\n * @param selector selector to match\n * @returns directive index, -1 or null if a selector didn't match any of the local names\n */\nfunction getIdxOfMatchingSelector(tNode, selector) {\n const localNames = tNode.localNames;\n if (localNames !== null) {\n for (let i = 0; i < localNames.length; i += 2) {\n if (localNames[i] === selector) {\n return localNames[i + 1];\n }\n }\n }\n return null;\n}\nfunction createResultByTNodeType(tNode, currentView) {\n if (tNode.type & (3 /* TNodeType.AnyRNode */ | 8 /* TNodeType.ElementContainer */)) {\n return createElementRef(tNode, currentView);\n }\n else if (tNode.type & 4 /* TNodeType.Container */) {\n return createTemplateRef(tNode, currentView);\n }\n return null;\n}\nfunction createResultForNode(lView, tNode, matchingIdx, read) {\n if (matchingIdx === -1) {\n // if read token and / or strategy is not specified, detect it using appropriate tNode type\n return createResultByTNodeType(tNode, lView);\n }\n else if (matchingIdx === -2) {\n // read a special token from a node injector\n return createSpecialToken(lView, tNode, read);\n }\n else {\n // read a token\n return getNodeInjectable(lView, lView[TVIEW], matchingIdx, tNode);\n }\n}\nfunction createSpecialToken(lView, tNode, read) {\n if (read === ElementRef) {\n return createElementRef(tNode, lView);\n }\n else if (read === TemplateRef) {\n return createTemplateRef(tNode, lView);\n }\n else if (read === ViewContainerRef) {\n ngDevMode && assertTNodeType(tNode, 3 /* TNodeType.AnyRNode */ | 12 /* TNodeType.AnyContainer */);\n return createContainerRef(tNode, lView);\n }\n else {\n ngDevMode &&\n throwError(`Special token to read should be one of ElementRef, TemplateRef or ViewContainerRef but got ${stringify(read)}.`);\n }\n}\n/**\n * A helper function that creates query results for a given view. This function is meant to do the\n * processing once and only once for a given view instance (a set of results for a given view\n * doesn't change).\n */\nfunction materializeViewResults(tView, lView, tQuery, queryIndex) {\n const lQuery = lView[QUERIES].queries[queryIndex];\n if (lQuery.matches === null) {\n const tViewData = tView.data;\n const tQueryMatches = tQuery.matches;\n const result = [];\n for (let i = 0; i < tQueryMatches.length; i += 2) {\n const matchedNodeIdx = tQueryMatches[i];\n if (matchedNodeIdx < 0) {\n // we at the <ng-template> marker which might have results in views created based on this\n // <ng-template> - those results will be in separate views though, so here we just leave\n // null as a placeholder\n result.push(null);\n }\n else {\n ngDevMode && assertIndexInRange(tViewData, matchedNodeIdx);\n const tNode = tViewData[matchedNodeIdx];\n result.push(createResultForNode(lView, tNode, tQueryMatches[i + 1], tQuery.metadata.read));\n }\n }\n lQuery.matches = result;\n }\n return lQuery.matches;\n}\n/**\n * A helper function that collects (already materialized) query results from a tree of views,\n * starting with a provided LView.\n */\nfunction collectQueryResults(tView, lView, queryIndex, result) {\n const tQuery = tView.queries.getByIndex(queryIndex);\n const tQueryMatches = tQuery.matches;\n if (tQueryMatches !== null) {\n const lViewResults = materializeViewResults(tView, lView, tQuery, queryIndex);\n for (let i = 0; i < tQueryMatches.length; i += 2) {\n const tNodeIdx = tQueryMatches[i];\n if (tNodeIdx > 0) {\n result.push(lViewResults[i / 2]);\n }\n else {\n const childQueryIndex = tQueryMatches[i + 1];\n const declarationLContainer = lView[-tNodeIdx];\n ngDevMode && assertLContainer(declarationLContainer);\n // collect matches for views inserted in this container\n for (let i = CONTAINER_HEADER_OFFSET; i < declarationLContainer.length; i++) {\n const embeddedLView = declarationLContainer[i];\n if (embeddedLView[DECLARATION_LCONTAINER] === embeddedLView[PARENT]) {\n collectQueryResults(embeddedLView[TVIEW], embeddedLView, childQueryIndex, result);\n }\n }\n // collect matches for views created from this declaration container and inserted into\n // different containers\n if (declarationLContainer[MOVED_VIEWS] !== null) {\n const embeddedLViews = declarationLContainer[MOVED_VIEWS];\n for (let i = 0; i < embeddedLViews.length; i++) {\n const embeddedLView = embeddedLViews[i];\n collectQueryResults(embeddedLView[TVIEW], embeddedLView, childQueryIndex, result);\n }\n }\n }\n }\n }\n return result;\n}\n/**\n * Refreshes a query by combining matches from all active views and removing matches from deleted\n * views.\n *\n * @returns `true` if a query got dirty during change detection or if this is a static query\n * resolving in creation mode, `false` otherwise.\n *\n * @codeGenApi\n */\nfunction ɵɵqueryRefresh(queryList) {\n const lView = getLView();\n const tView = getTView();\n const queryIndex = getCurrentQueryIndex();\n setCurrentQueryIndex(queryIndex + 1);\n const tQuery = getTQuery(tView, queryIndex);\n if (queryList.dirty &&\n (isCreationMode(lView) ===\n ((tQuery.metadata.flags & 2 /* QueryFlags.isStatic */) === 2 /* QueryFlags.isStatic */))) {\n if (tQuery.matches === null) {\n queryList.reset([]);\n }\n else {\n const result = tQuery.crossesNgTemplate ?\n collectQueryResults(tView, lView, queryIndex, []) :\n materializeViewResults(tView, lView, tQuery, queryIndex);\n queryList.reset(result, unwrapElementRef);\n queryList.notifyOnChanges();\n }\n return true;\n }\n return false;\n}\n/**\n * Creates new QueryList, stores the reference in LView and returns QueryList.\n *\n * @param predicate The type for which the query will search\n * @param flags Flags associated with the query\n * @param read What to save in the query\n *\n * @codeGenApi\n */\nfunction ɵɵviewQuery(predicate, flags, read) {\n ngDevMode && assertNumber(flags, 'Expecting flags');\n const tView = getTView();\n if (tView.firstCreatePass) {\n createTQuery(tView, new TQueryMetadata_(predicate, flags, read), -1);\n if ((flags & 2 /* QueryFlags.isStatic */) === 2 /* QueryFlags.isStatic */) {\n tView.staticViewQueries = true;\n }\n }\n createLQuery(tView, getLView(), flags);\n}\n/**\n * Registers a QueryList, associated with a content query, for later refresh (part of a view\n * refresh).\n *\n * @param directiveIndex Current directive index\n * @param predicate The type for which the query will search\n * @param flags Flags associated with the query\n * @param read What to save in the query\n * @returns QueryList<T>\n *\n * @codeGenApi\n */\nfunction ɵɵcontentQuery(directiveIndex, predicate, flags, read) {\n ngDevMode && assertNumber(flags, 'Expecting flags');\n const tView = getTView();\n if (tView.firstCreatePass) {\n const tNode = getCurrentTNode();\n createTQuery(tView, new TQueryMetadata_(predicate, flags, read), tNode.index);\n saveContentQueryAndDirectiveIndex(tView, directiveIndex);\n if ((flags & 2 /* QueryFlags.isStatic */) === 2 /* QueryFlags.isStatic */) {\n tView.staticContentQueries = true;\n }\n }\n createLQuery(tView, getLView(), flags);\n}\n/**\n * Loads a QueryList corresponding to the current view or content query.\n *\n * @codeGenApi\n */\nfunction ɵɵloadQuery() {\n return loadQueryInternal(getLView(), getCurrentQueryIndex());\n}\nfunction loadQueryInternal(lView, queryIndex) {\n ngDevMode &&\n assertDefined(lView[QUERIES], 'LQueries should be defined when trying to load a query');\n ngDevMode && assertIndexInRange(lView[QUERIES].queries, queryIndex);\n return lView[QUERIES].queries[queryIndex].queryList;\n}\nfunction createLQuery(tView, lView, flags) {\n const queryList = new QueryList((flags & 4 /* QueryFlags.emitDistinctChangesOnly */) === 4 /* QueryFlags.emitDistinctChangesOnly */);\n storeCleanupWithContext(tView, lView, queryList, queryList.destroy);\n if (lView[QUERIES] === null)\n lView[QUERIES] = new LQueries_();\n lView[QUERIES].queries.push(new LQuery_(queryList));\n}\nfunction createTQuery(tView, metadata, nodeIndex) {\n if (tView.queries === null)\n tView.queries = new TQueries_();\n tView.queries.track(new TQuery_(metadata, nodeIndex));\n}\nfunction saveContentQueryAndDirectiveIndex(tView, directiveIndex) {\n const tViewContentQueries = tView.contentQueries || (tView.contentQueries = []);\n const lastSavedDirectiveIndex = tViewContentQueries.length ? tViewContentQueries[tViewContentQueries.length - 1] : -1;\n if (directiveIndex !== lastSavedDirectiveIndex) {\n tViewContentQueries.push(tView.queries.length - 1, directiveIndex);\n }\n}\nfunction getTQuery(tView, index) {\n ngDevMode && assertDefined(tView.queries, 'TQueries must be defined to retrieve a TQuery');\n return tView.queries.getByIndex(index);\n}\n\n/**\n * Retrieves `TemplateRef` instance from `Injector` when a local reference is placed on the\n * `<ng-template>` element.\n *\n * @codeGenApi\n */\nfunction ɵɵtemplateRefExtractor(tNode, lView) {\n return createTemplateRef(tNode, lView);\n}\n\n/**\n * A mapping of the @angular/core API surface used in generated expressions to the actual symbols.\n *\n * This should be kept up to date with the public exports of @angular/core.\n */\nconst angularCoreEnv = (() => ({\n 'ɵɵattribute': ɵɵattribute,\n 'ɵɵattributeInterpolate1': ɵɵattributeInterpolate1,\n 'ɵɵattributeInterpolate2': ɵɵattributeInterpolate2,\n 'ɵɵattributeInterpolate3': ɵɵattributeInterpolate3,\n 'ɵɵattributeInterpolate4': ɵɵattributeInterpolate4,\n 'ɵɵattributeInterpolate5': ɵɵattributeInterpolate5,\n 'ɵɵattributeInterpolate6': ɵɵattributeInterpolate6,\n 'ɵɵattributeInterpolate7': ɵɵattributeInterpolate7,\n 'ɵɵattributeInterpolate8': ɵɵattributeInterpolate8,\n 'ɵɵattributeInterpolateV': ɵɵattributeInterpolateV,\n 'ɵɵdefineComponent': ɵɵdefineComponent,\n 'ɵɵdefineDirective': ɵɵdefineDirective,\n 'ɵɵdefineInjectable': ɵɵdefineInjectable,\n 'ɵɵdefineInjector': ɵɵdefineInjector,\n 'ɵɵdefineNgModule': ɵɵdefineNgModule,\n 'ɵɵdefinePipe': ɵɵdefinePipe,\n 'ɵɵdirectiveInject': ɵɵdirectiveInject,\n 'ɵɵgetInheritedFactory': ɵɵgetInheritedFactory,\n 'ɵɵinject': ɵɵinject,\n 'ɵɵinjectAttribute': ɵɵinjectAttribute,\n 'ɵɵinvalidFactory': ɵɵinvalidFactory,\n 'ɵɵinvalidFactoryDep': ɵɵinvalidFactoryDep,\n 'ɵɵtemplateRefExtractor': ɵɵtemplateRefExtractor,\n 'ɵɵresetView': ɵɵresetView,\n 'ɵɵHostDirectivesFeature': ɵɵHostDirectivesFeature,\n 'ɵɵNgOnChangesFeature': ɵɵNgOnChangesFeature,\n 'ɵɵProvidersFeature': ɵɵProvidersFeature,\n 'ɵɵCopyDefinitionFeature': ɵɵCopyDefinitionFeature,\n 'ɵɵInheritDefinitionFeature': ɵɵInheritDefinitionFeature,\n 'ɵɵStandaloneFeature': ɵɵStandaloneFeature,\n 'ɵɵnextContext': ɵɵnextContext,\n 'ɵɵnamespaceHTML': ɵɵnamespaceHTML,\n 'ɵɵnamespaceMathML': ɵɵnamespaceMathML,\n 'ɵɵnamespaceSVG': ɵɵnamespaceSVG,\n 'ɵɵenableBindings': ɵɵenableBindings,\n 'ɵɵdisableBindings': ɵɵdisableBindings,\n 'ɵɵelementStart': ɵɵelementStart,\n 'ɵɵelementEnd': ɵɵelementEnd,\n 'ɵɵelement': ɵɵelement,\n 'ɵɵelementContainerStart': ɵɵelementContainerStart,\n 'ɵɵelementContainerEnd': ɵɵelementContainerEnd,\n 'ɵɵelementContainer': ɵɵelementContainer,\n 'ɵɵpureFunction0': ɵɵpureFunction0,\n 'ɵɵpureFunction1': ɵɵpureFunction1,\n 'ɵɵpureFunction2': ɵɵpureFunction2,\n 'ɵɵpureFunction3': ɵɵpureFunction3,\n 'ɵɵpureFunction4': ɵɵpureFunction4,\n 'ɵɵpureFunction5': ɵɵpureFunction5,\n 'ɵɵpureFunction6': ɵɵpureFunction6,\n 'ɵɵpureFunction7': ɵɵpureFunction7,\n 'ɵɵpureFunction8': ɵɵpureFunction8,\n 'ɵɵpureFunctionV': ɵɵpureFunctionV,\n 'ɵɵgetCurrentView': ɵɵgetCurrentView,\n 'ɵɵrestoreView': ɵɵrestoreView,\n 'ɵɵlistener': ɵɵlistener,\n 'ɵɵprojection': ɵɵprojection,\n 'ɵɵsyntheticHostProperty': ɵɵsyntheticHostProperty,\n 'ɵɵsyntheticHostListener': ɵɵsyntheticHostListener,\n 'ɵɵpipeBind1': ɵɵpipeBind1,\n 'ɵɵpipeBind2': ɵɵpipeBind2,\n 'ɵɵpipeBind3': ɵɵpipeBind3,\n 'ɵɵpipeBind4': ɵɵpipeBind4,\n 'ɵɵpipeBindV': ɵɵpipeBindV,\n 'ɵɵprojectionDef': ɵɵprojectionDef,\n 'ɵɵhostProperty': ɵɵhostProperty,\n 'ɵɵproperty': ɵɵproperty,\n 'ɵɵpropertyInterpolate': ɵɵpropertyInterpolate,\n 'ɵɵpropertyInterpolate1': ɵɵpropertyInterpolate1,\n 'ɵɵpropertyInterpolate2': ɵɵpropertyInterpolate2,\n 'ɵɵpropertyInterpolate3': ɵɵpropertyInterpolate3,\n 'ɵɵpropertyInterpolate4': ɵɵpropertyInterpolate4,\n 'ɵɵpropertyInterpolate5': ɵɵpropertyInterpolate5,\n 'ɵɵpropertyInterpolate6': ɵɵpropertyInterpolate6,\n 'ɵɵpropertyInterpolate7': ɵɵpropertyInterpolate7,\n 'ɵɵpropertyInterpolate8': ɵɵpropertyInterpolate8,\n 'ɵɵpropertyInterpolateV': ɵɵpropertyInterpolateV,\n 'ɵɵpipe': ɵɵpipe,\n 'ɵɵqueryRefresh': ɵɵqueryRefresh,\n 'ɵɵviewQuery': ɵɵviewQuery,\n 'ɵɵloadQuery': ɵɵloadQuery,\n 'ɵɵcontentQuery': ɵɵcontentQuery,\n 'ɵɵreference': ɵɵreference,\n 'ɵɵclassMap': ɵɵclassMap,\n 'ɵɵclassMapInterpolate1': ɵɵclassMapInterpolate1,\n 'ɵɵclassMapInterpolate2': ɵɵclassMapInterpolate2,\n 'ɵɵclassMapInterpolate3': ɵɵclassMapInterpolate3,\n 'ɵɵclassMapInterpolate4': ɵɵclassMapInterpolate4,\n 'ɵɵclassMapInterpolate5': ɵɵclassMapInterpolate5,\n 'ɵɵclassMapInterpolate6': ɵɵclassMapInterpolate6,\n 'ɵɵclassMapInterpolate7': ɵɵclassMapInterpolate7,\n 'ɵɵclassMapInterpolate8': ɵɵclassMapInterpolate8,\n 'ɵɵclassMapInterpolateV': ɵɵclassMapInterpolateV,\n 'ɵɵstyleMap': ɵɵstyleMap,\n 'ɵɵstyleMapInterpolate1': ɵɵstyleMapInterpolate1,\n 'ɵɵstyleMapInterpolate2': ɵɵstyleMapInterpolate2,\n 'ɵɵstyleMapInterpolate3': ɵɵstyleMapInterpolate3,\n 'ɵɵstyleMapInterpolate4': ɵɵstyleMapInterpolate4,\n 'ɵɵstyleMapInterpolate5': ɵɵstyleMapInterpolate5,\n 'ɵɵstyleMapInterpolate6': ɵɵstyleMapInterpolate6,\n 'ɵɵstyleMapInterpolate7': ɵɵstyleMapInterpolate7,\n 'ɵɵstyleMapInterpolate8': ɵɵstyleMapInterpolate8,\n 'ɵɵstyleMapInterpolateV': ɵɵstyleMapInterpolateV,\n 'ɵɵstyleProp': ɵɵstyleProp,\n 'ɵɵstylePropInterpolate1': ɵɵstylePropInterpolate1,\n 'ɵɵstylePropInterpolate2': ɵɵstylePropInterpolate2,\n 'ɵɵstylePropInterpolate3': ɵɵstylePropInterpolate3,\n 'ɵɵstylePropInterpolate4': ɵɵstylePropInterpolate4,\n 'ɵɵstylePropInterpolate5': ɵɵstylePropInterpolate5,\n 'ɵɵstylePropInterpolate6': ɵɵstylePropInterpolate6,\n 'ɵɵstylePropInterpolate7': ɵɵstylePropInterpolate7,\n 'ɵɵstylePropInterpolate8': ɵɵstylePropInterpolate8,\n 'ɵɵstylePropInterpolateV': ɵɵstylePropInterpolateV,\n 'ɵɵclassProp': ɵɵclassProp,\n 'ɵɵadvance': ɵɵadvance,\n 'ɵɵtemplate': ɵɵtemplate,\n 'ɵɵtext': ɵɵtext,\n 'ɵɵtextInterpolate': ɵɵtextInterpolate,\n 'ɵɵtextInterpolate1': ɵɵtextInterpolate1,\n 'ɵɵtextInterpolate2': ɵɵtextInterpolate2,\n 'ɵɵtextInterpolate3': ɵɵtextInterpolate3,\n 'ɵɵtextInterpolate4': ɵɵtextInterpolate4,\n 'ɵɵtextInterpolate5': ɵɵtextInterpolate5,\n 'ɵɵtextInterpolate6': ɵɵtextInterpolate6,\n 'ɵɵtextInterpolate7': ɵɵtextInterpolate7,\n 'ɵɵtextInterpolate8': ɵɵtextInterpolate8,\n 'ɵɵtextInterpolateV': ɵɵtextInterpolateV,\n 'ɵɵi18n': ɵɵi18n,\n 'ɵɵi18nAttributes': ɵɵi18nAttributes,\n 'ɵɵi18nExp': ɵɵi18nExp,\n 'ɵɵi18nStart': ɵɵi18nStart,\n 'ɵɵi18nEnd': ɵɵi18nEnd,\n 'ɵɵi18nApply': ɵɵi18nApply,\n 'ɵɵi18nPostprocess': ɵɵi18nPostprocess,\n 'ɵɵresolveWindow': ɵɵresolveWindow,\n 'ɵɵresolveDocument': ɵɵresolveDocument,\n 'ɵɵresolveBody': ɵɵresolveBody,\n 'ɵɵsetComponentScope': ɵɵsetComponentScope,\n 'ɵɵsetNgModuleScope': ɵɵsetNgModuleScope,\n 'ɵɵregisterNgModuleType': registerNgModuleType,\n 'ɵɵsanitizeHtml': ɵɵsanitizeHtml,\n 'ɵɵsanitizeStyle': ɵɵsanitizeStyle,\n 'ɵɵsanitizeResourceUrl': ɵɵsanitizeResourceUrl,\n 'ɵɵsanitizeScript': ɵɵsanitizeScript,\n 'ɵɵsanitizeUrl': ɵɵsanitizeUrl,\n 'ɵɵsanitizeUrlOrResourceUrl': ɵɵsanitizeUrlOrResourceUrl,\n 'ɵɵtrustConstantHtml': ɵɵtrustConstantHtml,\n 'ɵɵtrustConstantResourceUrl': ɵɵtrustConstantResourceUrl,\n 'ɵɵvalidateIframeAttribute': ɵɵvalidateIframeAttribute,\n 'forwardRef': forwardRef,\n 'resolveForwardRef': resolveForwardRef,\n}))();\n\nlet jitOptions = null;\nfunction setJitOptions(options) {\n if (jitOptions !== null) {\n if (options.defaultEncapsulation !== jitOptions.defaultEncapsulation) {\n ngDevMode &&\n console.error('Provided value for `defaultEncapsulation` can not be changed once it has been set.');\n return;\n }\n if (options.preserveWhitespaces !== jitOptions.preserveWhitespaces) {\n ngDevMode &&\n console.error('Provided value for `preserveWhitespaces` can not be changed once it has been set.');\n return;\n }\n }\n jitOptions = options;\n}\nfunction getJitOptions() {\n return jitOptions;\n}\nfunction resetJitOptions() {\n jitOptions = null;\n}\n\nfunction patchModuleCompilation() {\n // Does nothing, but exists as a target for patching.\n}\n\nfunction isModuleWithProviders(value) {\n return value.ngModule !== undefined;\n}\nfunction isNgModule(value) {\n return !!getNgModuleDef(value);\n}\n\nconst moduleQueue = [];\n/**\n * Enqueues moduleDef to be checked later to see if scope can be set on its\n * component declarations.\n */\nfunction enqueueModuleForDelayedScoping(moduleType, ngModule) {\n moduleQueue.push({ moduleType, ngModule });\n}\nlet flushingModuleQueue = false;\n/**\n * Loops over queued module definitions, if a given module definition has all of its\n * declarations resolved, it dequeues that module definition and sets the scope on\n * its declarations.\n */\nfunction flushModuleScopingQueueAsMuchAsPossible() {\n if (!flushingModuleQueue) {\n flushingModuleQueue = true;\n try {\n for (let i = moduleQueue.length - 1; i >= 0; i--) {\n const { moduleType, ngModule } = moduleQueue[i];\n if (ngModule.declarations && ngModule.declarations.every(isResolvedDeclaration)) {\n // dequeue\n moduleQueue.splice(i, 1);\n setScopeOnDeclaredComponents(moduleType, ngModule);\n }\n }\n }\n finally {\n flushingModuleQueue = false;\n }\n }\n}\n/**\n * Returns truthy if a declaration has resolved. If the declaration happens to be\n * an array of declarations, it will recurse to check each declaration in that array\n * (which may also be arrays).\n */\nfunction isResolvedDeclaration(declaration) {\n if (Array.isArray(declaration)) {\n return declaration.every(isResolvedDeclaration);\n }\n return !!resolveForwardRef(declaration);\n}\n/**\n * Compiles a module in JIT mode.\n *\n * This function automatically gets called when a class has a `@NgModule` decorator.\n */\nfunction compileNgModule(moduleType, ngModule = {}) {\n patchModuleCompilation();\n compileNgModuleDefs(moduleType, ngModule);\n if (ngModule.id !== undefined) {\n registerNgModuleType(moduleType, ngModule.id);\n }\n // Because we don't know if all declarations have resolved yet at the moment the\n // NgModule decorator is executing, we're enqueueing the setting of module scope\n // on its declarations to be run at a later time when all declarations for the module,\n // including forward refs, have resolved.\n enqueueModuleForDelayedScoping(moduleType, ngModule);\n}\n/**\n * Compiles and adds the `ɵmod`, `ɵfac` and `ɵinj` properties to the module class.\n *\n * It's possible to compile a module via this API which will allow duplicate declarations in its\n * root.\n */\nfunction compileNgModuleDefs(moduleType, ngModule, allowDuplicateDeclarationsInRoot = false) {\n ngDevMode && assertDefined(moduleType, 'Required value moduleType');\n ngDevMode && assertDefined(ngModule, 'Required value ngModule');\n const declarations = flatten(ngModule.declarations || EMPTY_ARRAY);\n let ngModuleDef = null;\n Object.defineProperty(moduleType, NG_MOD_DEF, {\n configurable: true,\n get: () => {\n if (ngModuleDef === null) {\n if (ngDevMode && ngModule.imports && ngModule.imports.indexOf(moduleType) > -1) {\n // We need to assert this immediately, because allowing it to continue will cause it to\n // go into an infinite loop before we've reached the point where we throw all the errors.\n throw new Error(`'${stringifyForError(moduleType)}' module can't import itself`);\n }\n const compiler = getCompilerFacade({ usage: 0 /* JitCompilerUsage.Decorator */, kind: 'NgModule', type: moduleType });\n ngModuleDef = compiler.compileNgModule(angularCoreEnv, `ng:///${moduleType.name}/ɵmod.js`, {\n type: moduleType,\n bootstrap: flatten(ngModule.bootstrap || EMPTY_ARRAY).map(resolveForwardRef),\n declarations: declarations.map(resolveForwardRef),\n imports: flatten(ngModule.imports || EMPTY_ARRAY)\n .map(resolveForwardRef)\n .map(expandModuleWithProviders),\n exports: flatten(ngModule.exports || EMPTY_ARRAY)\n .map(resolveForwardRef)\n .map(expandModuleWithProviders),\n schemas: ngModule.schemas ? flatten(ngModule.schemas) : null,\n id: ngModule.id || null,\n });\n // Set `schemas` on ngModuleDef to an empty array in JIT mode to indicate that runtime\n // should verify that there are no unknown elements in a template. In AOT mode, that check\n // happens at compile time and `schemas` information is not present on Component and Module\n // defs after compilation (so the check doesn't happen the second time at runtime).\n if (!ngModuleDef.schemas) {\n ngModuleDef.schemas = [];\n }\n }\n return ngModuleDef;\n }\n });\n let ngFactoryDef = null;\n Object.defineProperty(moduleType, NG_FACTORY_DEF, {\n get: () => {\n if (ngFactoryDef === null) {\n const compiler = getCompilerFacade({ usage: 0 /* JitCompilerUsage.Decorator */, kind: 'NgModule', type: moduleType });\n ngFactoryDef = compiler.compileFactory(angularCoreEnv, `ng:///${moduleType.name}/ɵfac.js`, {\n name: moduleType.name,\n type: moduleType,\n deps: reflectDependencies(moduleType),\n target: compiler.FactoryTarget.NgModule,\n typeArgumentCount: 0,\n });\n }\n return ngFactoryDef;\n },\n // Make the property configurable in dev mode to allow overriding in tests\n configurable: !!ngDevMode,\n });\n let ngInjectorDef = null;\n Object.defineProperty(moduleType, NG_INJ_DEF, {\n get: () => {\n if (ngInjectorDef === null) {\n ngDevMode && verifySemanticsOfNgModuleDef(moduleType, allowDuplicateDeclarationsInRoot);\n const meta = {\n name: moduleType.name,\n type: moduleType,\n providers: ngModule.providers || EMPTY_ARRAY,\n imports: [\n (ngModule.imports || EMPTY_ARRAY).map(resolveForwardRef),\n (ngModule.exports || EMPTY_ARRAY).map(resolveForwardRef),\n ],\n };\n const compiler = getCompilerFacade({ usage: 0 /* JitCompilerUsage.Decorator */, kind: 'NgModule', type: moduleType });\n ngInjectorDef =\n compiler.compileInjector(angularCoreEnv, `ng:///${moduleType.name}/ɵinj.js`, meta);\n }\n return ngInjectorDef;\n },\n // Make the property configurable in dev mode to allow overriding in tests\n configurable: !!ngDevMode,\n });\n}\nfunction generateStandaloneInDeclarationsError(type, location) {\n const prefix = `Unexpected \"${stringifyForError(type)}\" found in the \"declarations\" array of the`;\n const suffix = `\"${stringifyForError(type)}\" is marked as standalone and can't be declared ` +\n 'in any NgModule - did you intend to import it instead (by adding it to the \"imports\" array)?';\n return `${prefix} ${location}, ${suffix}`;\n}\nfunction verifySemanticsOfNgModuleDef(moduleType, allowDuplicateDeclarationsInRoot, importingModule) {\n if (verifiedNgModule.get(moduleType))\n return;\n // skip verifications of standalone components, directives, and pipes\n if (isStandalone(moduleType))\n return;\n verifiedNgModule.set(moduleType, true);\n moduleType = resolveForwardRef(moduleType);\n let ngModuleDef;\n if (importingModule) {\n ngModuleDef = getNgModuleDef(moduleType);\n if (!ngModuleDef) {\n throw new Error(`Unexpected value '${moduleType.name}' imported by the module '${importingModule.name}'. Please add an @NgModule annotation.`);\n }\n }\n else {\n ngModuleDef = getNgModuleDef(moduleType, true);\n }\n const errors = [];\n const declarations = maybeUnwrapFn(ngModuleDef.declarations);\n const imports = maybeUnwrapFn(ngModuleDef.imports);\n flatten(imports).map(unwrapModuleWithProvidersImports).forEach(modOrStandaloneCmpt => {\n verifySemanticsOfNgModuleImport(modOrStandaloneCmpt, moduleType);\n verifySemanticsOfNgModuleDef(modOrStandaloneCmpt, false, moduleType);\n });\n const exports = maybeUnwrapFn(ngModuleDef.exports);\n declarations.forEach(verifyDeclarationsHaveDefinitions);\n declarations.forEach(verifyDirectivesHaveSelector);\n declarations.forEach((declarationType) => verifyNotStandalone(declarationType, moduleType));\n const combinedDeclarations = [\n ...declarations.map(resolveForwardRef),\n ...flatten(imports.map(computeCombinedExports)).map(resolveForwardRef),\n ];\n exports.forEach(verifyExportsAreDeclaredOrReExported);\n declarations.forEach(decl => verifyDeclarationIsUnique(decl, allowDuplicateDeclarationsInRoot));\n const ngModule = getAnnotation(moduleType, 'NgModule');\n if (ngModule) {\n ngModule.imports &&\n flatten(ngModule.imports).map(unwrapModuleWithProvidersImports).forEach(mod => {\n verifySemanticsOfNgModuleImport(mod, moduleType);\n verifySemanticsOfNgModuleDef(mod, false, moduleType);\n });\n ngModule.bootstrap && deepForEach(ngModule.bootstrap, verifyCorrectBootstrapType);\n ngModule.bootstrap && deepForEach(ngModule.bootstrap, verifyComponentIsPartOfNgModule);\n }\n // Throw Error if any errors were detected.\n if (errors.length) {\n throw new Error(errors.join('\\n'));\n }\n ////////////////////////////////////////////////////////////////////////////////////////////////\n function verifyDeclarationsHaveDefinitions(type) {\n type = resolveForwardRef(type);\n const def = getComponentDef(type) || getDirectiveDef(type) || getPipeDef$1(type);\n if (!def) {\n errors.push(`Unexpected value '${stringifyForError(type)}' declared by the module '${stringifyForError(moduleType)}'. Please add a @Pipe/@Directive/@Component annotation.`);\n }\n }\n function verifyDirectivesHaveSelector(type) {\n type = resolveForwardRef(type);\n const def = getDirectiveDef(type);\n if (!getComponentDef(type) && def && def.selectors.length == 0) {\n errors.push(`Directive ${stringifyForError(type)} has no selector, please add it!`);\n }\n }\n function verifyNotStandalone(type, moduleType) {\n type = resolveForwardRef(type);\n const def = getComponentDef(type) || getDirectiveDef(type) || getPipeDef$1(type);\n if (def?.standalone) {\n const location = `\"${stringifyForError(moduleType)}\" NgModule`;\n errors.push(generateStandaloneInDeclarationsError(type, location));\n }\n }\n function verifyExportsAreDeclaredOrReExported(type) {\n type = resolveForwardRef(type);\n const kind = getComponentDef(type) && 'component' || getDirectiveDef(type) && 'directive' ||\n getPipeDef$1(type) && 'pipe';\n if (kind) {\n // only checked if we are declared as Component, Directive, or Pipe\n // Modules don't need to be declared or imported.\n if (combinedDeclarations.lastIndexOf(type) === -1) {\n // We are exporting something which we don't explicitly declare or import.\n errors.push(`Can't export ${kind} ${stringifyForError(type)} from ${stringifyForError(moduleType)} as it was neither declared nor imported!`);\n }\n }\n }\n function verifyDeclarationIsUnique(type, suppressErrors) {\n type = resolveForwardRef(type);\n const existingModule = ownerNgModule.get(type);\n if (existingModule && existingModule !== moduleType) {\n if (!suppressErrors) {\n const modules = [existingModule, moduleType].map(stringifyForError).sort();\n errors.push(`Type ${stringifyForError(type)} is part of the declarations of 2 modules: ${modules[0]} and ${modules[1]}! ` +\n `Please consider moving ${stringifyForError(type)} to a higher module that imports ${modules[0]} and ${modules[1]}. ` +\n `You can also create a new NgModule that exports and includes ${stringifyForError(type)} then import that NgModule in ${modules[0]} and ${modules[1]}.`);\n }\n }\n else {\n // Mark type as having owner.\n ownerNgModule.set(type, moduleType);\n }\n }\n function verifyComponentIsPartOfNgModule(type) {\n type = resolveForwardRef(type);\n const existingModule = ownerNgModule.get(type);\n if (!existingModule && !isStandalone(type)) {\n errors.push(`Component ${stringifyForError(type)} is not part of any NgModule or the module has not been imported into your module.`);\n }\n }\n function verifyCorrectBootstrapType(type) {\n type = resolveForwardRef(type);\n if (!getComponentDef(type)) {\n errors.push(`${stringifyForError(type)} cannot be used as an entry component.`);\n }\n if (isStandalone(type)) {\n // Note: this error should be the same as the\n // `NGMODULE_BOOTSTRAP_IS_STANDALONE` one in AOT compiler.\n errors.push(`The \\`${stringifyForError(type)}\\` class is a standalone component, which can ` +\n `not be used in the \\`@NgModule.bootstrap\\` array. Use the \\`bootstrapApplication\\` ` +\n `function for bootstrap instead.`);\n }\n }\n function verifySemanticsOfNgModuleImport(type, importingModule) {\n type = resolveForwardRef(type);\n const directiveDef = getComponentDef(type) || getDirectiveDef(type);\n if (directiveDef !== null && !directiveDef.standalone) {\n throw new Error(`Unexpected directive '${type.name}' imported by the module '${importingModule.name}'. Please add an @NgModule annotation.`);\n }\n const pipeDef = getPipeDef$1(type);\n if (pipeDef !== null && !pipeDef.standalone) {\n throw new Error(`Unexpected pipe '${type.name}' imported by the module '${importingModule.name}'. Please add an @NgModule annotation.`);\n }\n }\n}\nfunction unwrapModuleWithProvidersImports(typeOrWithProviders) {\n typeOrWithProviders = resolveForwardRef(typeOrWithProviders);\n return typeOrWithProviders.ngModule || typeOrWithProviders;\n}\nfunction getAnnotation(type, name) {\n let annotation = null;\n collect(type.__annotations__);\n collect(type.decorators);\n return annotation;\n function collect(annotations) {\n if (annotations) {\n annotations.forEach(readAnnotation);\n }\n }\n function readAnnotation(decorator) {\n if (!annotation) {\n const proto = Object.getPrototypeOf(decorator);\n if (proto.ngMetadataName == name) {\n annotation = decorator;\n }\n else if (decorator.type) {\n const proto = Object.getPrototypeOf(decorator.type);\n if (proto.ngMetadataName == name) {\n annotation = decorator.args[0];\n }\n }\n }\n }\n}\n/**\n * Keep track of compiled components. This is needed because in tests we often want to compile the\n * same component with more than one NgModule. This would cause an error unless we reset which\n * NgModule the component belongs to. We keep the list of compiled components here so that the\n * TestBed can reset it later.\n */\nlet ownerNgModule = new WeakMap();\nlet verifiedNgModule = new WeakMap();\nfunction resetCompiledComponents() {\n ownerNgModule = new WeakMap();\n verifiedNgModule = new WeakMap();\n moduleQueue.length = 0;\n GENERATED_COMP_IDS.clear();\n}\n/**\n * Computes the combined declarations of explicit declarations, as well as declarations inherited by\n * traversing the exports of imported modules.\n * @param type\n */\nfunction computeCombinedExports(type) {\n type = resolveForwardRef(type);\n const ngModuleDef = getNgModuleDef(type);\n // a standalone component, directive or pipe\n if (ngModuleDef === null) {\n return [type];\n }\n return flatten(maybeUnwrapFn(ngModuleDef.exports).map((type) => {\n const ngModuleDef = getNgModuleDef(type);\n if (ngModuleDef) {\n verifySemanticsOfNgModuleDef(type, false);\n return computeCombinedExports(type);\n }\n else {\n return type;\n }\n }));\n}\n/**\n * Some declared components may be compiled asynchronously, and thus may not have their\n * ɵcmp set yet. If this is the case, then a reference to the module is written into\n * the `ngSelectorScope` property of the declared type.\n */\nfunction setScopeOnDeclaredComponents(moduleType, ngModule) {\n const declarations = flatten(ngModule.declarations || EMPTY_ARRAY);\n const transitiveScopes = transitiveScopesFor(moduleType);\n declarations.forEach(declaration => {\n declaration = resolveForwardRef(declaration);\n if (declaration.hasOwnProperty(NG_COMP_DEF)) {\n // A `ɵcmp` field exists - go ahead and patch the component directly.\n const component = declaration;\n const componentDef = getComponentDef(component);\n patchComponentDefWithScope(componentDef, transitiveScopes);\n }\n else if (!declaration.hasOwnProperty(NG_DIR_DEF) && !declaration.hasOwnProperty(NG_PIPE_DEF)) {\n // Set `ngSelectorScope` for future reference when the component compilation finishes.\n declaration.ngSelectorScope = moduleType;\n }\n });\n}\n/**\n * Patch the definition of a component with directives and pipes from the compilation scope of\n * a given module.\n */\nfunction patchComponentDefWithScope(componentDef, transitiveScopes) {\n componentDef.directiveDefs = () => Array.from(transitiveScopes.compilation.directives)\n .map(dir => dir.hasOwnProperty(NG_COMP_DEF) ? getComponentDef(dir) : getDirectiveDef(dir))\n .filter(def => !!def);\n componentDef.pipeDefs = () => Array.from(transitiveScopes.compilation.pipes).map(pipe => getPipeDef$1(pipe));\n componentDef.schemas = transitiveScopes.schemas;\n // Since we avoid Components/Directives/Pipes recompiling in case there are no overrides, we\n // may face a problem where previously compiled defs available to a given Component/Directive\n // are cached in TView and may become stale (in case any of these defs gets recompiled). In\n // order to avoid this problem, we force fresh TView to be created.\n componentDef.tView = null;\n}\n/**\n * Compute the pair of transitive scopes (compilation scope and exported scope) for a given type\n * (either a NgModule or a standalone component / directive / pipe).\n */\nfunction transitiveScopesFor(type) {\n if (isNgModule(type)) {\n return transitiveScopesForNgModule(type);\n }\n else if (isStandalone(type)) {\n const directiveDef = getComponentDef(type) || getDirectiveDef(type);\n if (directiveDef !== null) {\n return {\n schemas: null,\n compilation: {\n directives: new Set(),\n pipes: new Set(),\n },\n exported: {\n directives: new Set([type]),\n pipes: new Set(),\n },\n };\n }\n const pipeDef = getPipeDef$1(type);\n if (pipeDef !== null) {\n return {\n schemas: null,\n compilation: {\n directives: new Set(),\n pipes: new Set(),\n },\n exported: {\n directives: new Set(),\n pipes: new Set([type]),\n },\n };\n }\n }\n // TODO: change the error message to be more user-facing and take standalone into account\n throw new Error(`${type.name} does not have a module def (ɵmod property)`);\n}\n/**\n * Compute the pair of transitive scopes (compilation scope and exported scope) for a given module.\n *\n * This operation is memoized and the result is cached on the module's definition. This function can\n * be called on modules with components that have not fully compiled yet, but the result should not\n * be used until they have.\n *\n * @param moduleType module that transitive scope should be calculated for.\n */\nfunction transitiveScopesForNgModule(moduleType) {\n const def = getNgModuleDef(moduleType, true);\n if (def.transitiveCompileScopes !== null) {\n return def.transitiveCompileScopes;\n }\n const scopes = {\n schemas: def.schemas || null,\n compilation: {\n directives: new Set(),\n pipes: new Set(),\n },\n exported: {\n directives: new Set(),\n pipes: new Set(),\n },\n };\n maybeUnwrapFn(def.imports).forEach((imported) => {\n // When this module imports another, the imported module's exported directives and pipes are\n // added to the compilation scope of this module.\n const importedScope = transitiveScopesFor(imported);\n importedScope.exported.directives.forEach(entry => scopes.compilation.directives.add(entry));\n importedScope.exported.pipes.forEach(entry => scopes.compilation.pipes.add(entry));\n });\n maybeUnwrapFn(def.declarations).forEach(declared => {\n const declaredWithDefs = declared;\n if (getPipeDef$1(declaredWithDefs)) {\n scopes.compilation.pipes.add(declared);\n }\n else {\n // Either declared has a ɵcmp or ɵdir, or it's a component which hasn't\n // had its template compiled yet. In either case, it gets added to the compilation's\n // directives.\n scopes.compilation.directives.add(declared);\n }\n });\n maybeUnwrapFn(def.exports).forEach((exported) => {\n const exportedType = exported;\n // Either the type is a module, a pipe, or a component/directive (which may not have a\n // ɵcmp as it might be compiled asynchronously).\n if (isNgModule(exportedType)) {\n // When this module exports another, the exported module's exported directives and pipes are\n // added to both the compilation and exported scopes of this module.\n const exportedScope = transitiveScopesFor(exportedType);\n exportedScope.exported.directives.forEach(entry => {\n scopes.compilation.directives.add(entry);\n scopes.exported.directives.add(entry);\n });\n exportedScope.exported.pipes.forEach(entry => {\n scopes.compilation.pipes.add(entry);\n scopes.exported.pipes.add(entry);\n });\n }\n else if (getPipeDef$1(exportedType)) {\n scopes.exported.pipes.add(exportedType);\n }\n else {\n scopes.exported.directives.add(exportedType);\n }\n });\n def.transitiveCompileScopes = scopes;\n return scopes;\n}\nfunction expandModuleWithProviders(value) {\n if (isModuleWithProviders(value)) {\n return value.ngModule;\n }\n return value;\n}\n\n/**\n * Keep track of the compilation depth to avoid reentrancy issues during JIT compilation. This\n * matters in the following scenario:\n *\n * Consider a component 'A' that extends component 'B', both declared in module 'M'. During\n * the compilation of 'A' the definition of 'B' is requested to capture the inheritance chain,\n * potentially triggering compilation of 'B'. If this nested compilation were to trigger\n * `flushModuleScopingQueueAsMuchAsPossible` it may happen that module 'M' is still pending in the\n * queue, resulting in 'A' and 'B' to be patched with the NgModule scope. As the compilation of\n * 'A' is still in progress, this would introduce a circular dependency on its compilation. To avoid\n * this issue, the module scope queue is only flushed for compilations at the depth 0, to ensure\n * all compilations have finished.\n */\nlet compilationDepth = 0;\n/**\n * Compile an Angular component according to its decorator metadata, and patch the resulting\n * component def (ɵcmp) onto the component type.\n *\n * Compilation may be asynchronous (due to the need to resolve URLs for the component template or\n * other resources, for example). In the event that compilation is not immediate, `compileComponent`\n * will enqueue resource resolution into a global queue and will fail to return the `ɵcmp`\n * until the global queue has been resolved with a call to `resolveComponentResources`.\n */\nfunction compileComponent(type, metadata) {\n // Initialize ngDevMode. This must be the first statement in compileComponent.\n // See the `initNgDevMode` docstring for more information.\n (typeof ngDevMode === 'undefined' || ngDevMode) && initNgDevMode();\n let ngComponentDef = null;\n // Metadata may have resources which need to be resolved.\n maybeQueueResolutionOfComponentResources(type, metadata);\n // Note that we're using the same function as `Directive`, because that's only subset of metadata\n // that we need to create the ngFactoryDef. We're avoiding using the component metadata\n // because we'd have to resolve the asynchronous templates.\n addDirectiveFactoryDef(type, metadata);\n Object.defineProperty(type, NG_COMP_DEF, {\n get: () => {\n if (ngComponentDef === null) {\n const compiler = getCompilerFacade({ usage: 0 /* JitCompilerUsage.Decorator */, kind: 'component', type: type });\n if (componentNeedsResolution(metadata)) {\n const error = [`Component '${type.name}' is not resolved:`];\n if (metadata.templateUrl) {\n error.push(` - templateUrl: ${metadata.templateUrl}`);\n }\n if (metadata.styleUrls && metadata.styleUrls.length) {\n error.push(` - styleUrls: ${JSON.stringify(metadata.styleUrls)}`);\n }\n error.push(`Did you run and wait for 'resolveComponentResources()'?`);\n throw new Error(error.join('\\n'));\n }\n // This const was called `jitOptions` previously but had to be renamed to `options` because\n // of a bug with Terser that caused optimized JIT builds to throw a `ReferenceError`.\n // This bug was investigated in https://github.com/angular/angular-cli/issues/17264.\n // We should not rename it back until https://github.com/terser/terser/issues/615 is fixed.\n const options = getJitOptions();\n let preserveWhitespaces = metadata.preserveWhitespaces;\n if (preserveWhitespaces === undefined) {\n if (options !== null && options.preserveWhitespaces !== undefined) {\n preserveWhitespaces = options.preserveWhitespaces;\n }\n else {\n preserveWhitespaces = false;\n }\n }\n let encapsulation = metadata.encapsulation;\n if (encapsulation === undefined) {\n if (options !== null && options.defaultEncapsulation !== undefined) {\n encapsulation = options.defaultEncapsulation;\n }\n else {\n encapsulation = ViewEncapsulation$1.Emulated;\n }\n }\n const templateUrl = metadata.templateUrl || `ng:///${type.name}/template.html`;\n const meta = {\n ...directiveMetadata(type, metadata),\n typeSourceSpan: compiler.createParseSourceSpan('Component', type.name, templateUrl),\n template: metadata.template || '',\n preserveWhitespaces,\n styles: metadata.styles || EMPTY_ARRAY,\n animations: metadata.animations,\n // JIT components are always compiled against an empty set of `declarations`. Instead, the\n // `directiveDefs` and `pipeDefs` are updated at a later point:\n // * for NgModule-based components, they're set when the NgModule which declares the\n // component resolves in the module scoping queue\n // * for standalone components, they're set just below, after `compileComponent`.\n declarations: [],\n changeDetection: metadata.changeDetection,\n encapsulation,\n interpolation: metadata.interpolation,\n viewProviders: metadata.viewProviders || null,\n };\n compilationDepth++;\n try {\n if (meta.usesInheritance) {\n addDirectiveDefToUndecoratedParents(type);\n }\n ngComponentDef =\n compiler.compileComponent(angularCoreEnv, templateUrl, meta);\n if (metadata.standalone) {\n // Patch the component definition for standalone components with `directiveDefs` and\n // `pipeDefs` functions which lazily compute the directives/pipes available in the\n // standalone component. Also set `dependencies` to the lazily resolved list of imports.\n const imports = flatten(metadata.imports || EMPTY_ARRAY);\n const { directiveDefs, pipeDefs } = getStandaloneDefFunctions(type, imports);\n ngComponentDef.directiveDefs = directiveDefs;\n ngComponentDef.pipeDefs = pipeDefs;\n ngComponentDef.dependencies = () => imports.map(resolveForwardRef);\n }\n }\n finally {\n // Ensure that the compilation depth is decremented even when the compilation failed.\n compilationDepth--;\n }\n if (compilationDepth === 0) {\n // When NgModule decorator executed, we enqueued the module definition such that\n // it would only dequeue and add itself as module scope to all of its declarations,\n // but only if if all of its declarations had resolved. This call runs the check\n // to see if any modules that are in the queue can be dequeued and add scope to\n // their declarations.\n flushModuleScopingQueueAsMuchAsPossible();\n }\n // If component compilation is async, then the @NgModule annotation which declares the\n // component may execute and set an ngSelectorScope property on the component type. This\n // allows the component to patch itself with directiveDefs from the module after it\n // finishes compiling.\n if (hasSelectorScope(type)) {\n const scopes = transitiveScopesFor(type.ngSelectorScope);\n patchComponentDefWithScope(ngComponentDef, scopes);\n }\n if (metadata.schemas) {\n if (metadata.standalone) {\n ngComponentDef.schemas = metadata.schemas;\n }\n else {\n throw new Error(`The 'schemas' was specified for the ${stringifyForError(type)} but is only valid on a component that is standalone.`);\n }\n }\n else if (metadata.standalone) {\n ngComponentDef.schemas = [];\n }\n }\n return ngComponentDef;\n },\n // Make the property configurable in dev mode to allow overriding in tests\n configurable: !!ngDevMode,\n });\n}\nfunction getDependencyTypeForError(type) {\n if (getComponentDef(type))\n return 'component';\n if (getDirectiveDef(type))\n return 'directive';\n if (getPipeDef$1(type))\n return 'pipe';\n return 'type';\n}\nfunction verifyStandaloneImport(depType, importingType) {\n if (isForwardRef(depType)) {\n depType = resolveForwardRef(depType);\n if (!depType) {\n throw new Error(`Expected forwardRef function, imported from \"${stringifyForError(importingType)}\", to return a standalone entity or NgModule but got \"${stringifyForError(depType) || depType}\".`);\n }\n }\n if (getNgModuleDef(depType) == null) {\n const def = getComponentDef(depType) || getDirectiveDef(depType) || getPipeDef$1(depType);\n if (def != null) {\n // if a component, directive or pipe is imported make sure that it is standalone\n if (!def.standalone) {\n throw new Error(`The \"${stringifyForError(depType)}\" ${getDependencyTypeForError(depType)}, imported from \"${stringifyForError(importingType)}\", is not standalone. Did you forget to add the standalone: true flag?`);\n }\n }\n else {\n // it can be either a module with provider or an unknown (not annotated) type\n if (isModuleWithProviders(depType)) {\n throw new Error(`A module with providers was imported from \"${stringifyForError(importingType)}\". Modules with providers are not supported in standalone components imports.`);\n }\n else {\n throw new Error(`The \"${stringifyForError(depType)}\" type, imported from \"${stringifyForError(importingType)}\", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`);\n }\n }\n }\n}\n/**\n * Build memoized `directiveDefs` and `pipeDefs` functions for the component definition of a\n * standalone component, which process `imports` and filter out directives and pipes. The use of\n * memoized functions here allows for the delayed resolution of any `forwardRef`s present in the\n * component's `imports`.\n */\nfunction getStandaloneDefFunctions(type, imports) {\n let cachedDirectiveDefs = null;\n let cachedPipeDefs = null;\n const directiveDefs = () => {\n if (cachedDirectiveDefs === null) {\n // Standalone components are always able to self-reference, so include the component's own\n // definition in its `directiveDefs`.\n cachedDirectiveDefs = [getComponentDef(type)];\n const seen = new Set([type]);\n for (const rawDep of imports) {\n ngDevMode && verifyStandaloneImport(rawDep, type);\n const dep = resolveForwardRef(rawDep);\n if (seen.has(dep)) {\n continue;\n }\n seen.add(dep);\n if (!!getNgModuleDef(dep)) {\n const scope = transitiveScopesFor(dep);\n for (const dir of scope.exported.directives) {\n const def = getComponentDef(dir) || getDirectiveDef(dir);\n if (def && !seen.has(dir)) {\n seen.add(dir);\n cachedDirectiveDefs.push(def);\n }\n }\n }\n else {\n const def = getComponentDef(dep) || getDirectiveDef(dep);\n if (def) {\n cachedDirectiveDefs.push(def);\n }\n }\n }\n }\n return cachedDirectiveDefs;\n };\n const pipeDefs = () => {\n if (cachedPipeDefs === null) {\n cachedPipeDefs = [];\n const seen = new Set();\n for (const rawDep of imports) {\n const dep = resolveForwardRef(rawDep);\n if (seen.has(dep)) {\n continue;\n }\n seen.add(dep);\n if (!!getNgModuleDef(dep)) {\n const scope = transitiveScopesFor(dep);\n for (const pipe of scope.exported.pipes) {\n const def = getPipeDef$1(pipe);\n if (def && !seen.has(pipe)) {\n seen.add(pipe);\n cachedPipeDefs.push(def);\n }\n }\n }\n else {\n const def = getPipeDef$1(dep);\n if (def) {\n cachedPipeDefs.push(def);\n }\n }\n }\n }\n return cachedPipeDefs;\n };\n return {\n directiveDefs,\n pipeDefs,\n };\n}\nfunction hasSelectorScope(component) {\n return component.ngSelectorScope !== undefined;\n}\n/**\n * Compile an Angular directive according to its decorator metadata, and patch the resulting\n * directive def onto the component type.\n *\n * In the event that compilation is not immediate, `compileDirective` will return a `Promise` which\n * will resolve when compilation completes and the directive becomes usable.\n */\nfunction compileDirective(type, directive) {\n let ngDirectiveDef = null;\n addDirectiveFactoryDef(type, directive || {});\n Object.defineProperty(type, NG_DIR_DEF, {\n get: () => {\n if (ngDirectiveDef === null) {\n // `directive` can be null in the case of abstract directives as a base class\n // that use `@Directive()` with no selector. In that case, pass empty object to the\n // `directiveMetadata` function instead of null.\n const meta = getDirectiveMetadata(type, directive || {});\n const compiler = getCompilerFacade({ usage: 0 /* JitCompilerUsage.Decorator */, kind: 'directive', type });\n ngDirectiveDef =\n compiler.compileDirective(angularCoreEnv, meta.sourceMapUrl, meta.metadata);\n }\n return ngDirectiveDef;\n },\n // Make the property configurable in dev mode to allow overriding in tests\n configurable: !!ngDevMode,\n });\n}\nfunction getDirectiveMetadata(type, metadata) {\n const name = type && type.name;\n const sourceMapUrl = `ng:///${name}/ɵdir.js`;\n const compiler = getCompilerFacade({ usage: 0 /* JitCompilerUsage.Decorator */, kind: 'directive', type });\n const facade = directiveMetadata(type, metadata);\n facade.typeSourceSpan = compiler.createParseSourceSpan('Directive', name, sourceMapUrl);\n if (facade.usesInheritance) {\n addDirectiveDefToUndecoratedParents(type);\n }\n return { metadata: facade, sourceMapUrl };\n}\nfunction addDirectiveFactoryDef(type, metadata) {\n let ngFactoryDef = null;\n Object.defineProperty(type, NG_FACTORY_DEF, {\n get: () => {\n if (ngFactoryDef === null) {\n const meta = getDirectiveMetadata(type, metadata);\n const compiler = getCompilerFacade({ usage: 0 /* JitCompilerUsage.Decorator */, kind: 'directive', type });\n ngFactoryDef = compiler.compileFactory(angularCoreEnv, `ng:///${type.name}/ɵfac.js`, {\n name: meta.metadata.name,\n type: meta.metadata.type,\n typeArgumentCount: 0,\n deps: reflectDependencies(type),\n target: compiler.FactoryTarget.Directive\n });\n }\n return ngFactoryDef;\n },\n // Make the property configurable in dev mode to allow overriding in tests\n configurable: !!ngDevMode,\n });\n}\nfunction extendsDirectlyFromObject(type) {\n return Object.getPrototypeOf(type.prototype) === Object.prototype;\n}\n/**\n * Extract the `R3DirectiveMetadata` for a particular directive (either a `Directive` or a\n * `Component`).\n */\nfunction directiveMetadata(type, metadata) {\n // Reflect inputs and outputs.\n const reflect = getReflect();\n const propMetadata = reflect.ownPropMetadata(type);\n return {\n name: type.name,\n type: type,\n selector: metadata.selector !== undefined ? metadata.selector : null,\n host: metadata.host || EMPTY_OBJ,\n propMetadata: propMetadata,\n inputs: metadata.inputs || EMPTY_ARRAY,\n outputs: metadata.outputs || EMPTY_ARRAY,\n queries: extractQueriesMetadata(type, propMetadata, isContentQuery),\n lifecycle: { usesOnChanges: reflect.hasLifecycleHook(type, 'ngOnChanges') },\n typeSourceSpan: null,\n usesInheritance: !extendsDirectlyFromObject(type),\n exportAs: extractExportAs(metadata.exportAs),\n providers: metadata.providers || null,\n viewQueries: extractQueriesMetadata(type, propMetadata, isViewQuery),\n isStandalone: !!metadata.standalone,\n hostDirectives: metadata.hostDirectives?.map(directive => typeof directive === 'function' ? { directive } : directive) ||\n null\n };\n}\n/**\n * Adds a directive definition to all parent classes of a type that don't have an Angular decorator.\n */\nfunction addDirectiveDefToUndecoratedParents(type) {\n const objPrototype = Object.prototype;\n let parent = Object.getPrototypeOf(type.prototype).constructor;\n // Go up the prototype until we hit `Object`.\n while (parent && parent !== objPrototype) {\n // Since inheritance works if the class was annotated already, we only need to add\n // the def if there are no annotations and the def hasn't been created already.\n if (!getDirectiveDef(parent) && !getComponentDef(parent) &&\n shouldAddAbstractDirective(parent)) {\n compileDirective(parent, null);\n }\n parent = Object.getPrototypeOf(parent);\n }\n}\nfunction convertToR3QueryPredicate(selector) {\n return typeof selector === 'string' ? splitByComma(selector) : resolveForwardRef(selector);\n}\nfunction convertToR3QueryMetadata(propertyName, ann) {\n return {\n propertyName: propertyName,\n predicate: convertToR3QueryPredicate(ann.selector),\n descendants: ann.descendants,\n first: ann.first,\n read: ann.read ? ann.read : null,\n static: !!ann.static,\n emitDistinctChangesOnly: !!ann.emitDistinctChangesOnly,\n };\n}\nfunction extractQueriesMetadata(type, propMetadata, isQueryAnn) {\n const queriesMeta = [];\n for (const field in propMetadata) {\n if (propMetadata.hasOwnProperty(field)) {\n const annotations = propMetadata[field];\n annotations.forEach(ann => {\n if (isQueryAnn(ann)) {\n if (!ann.selector) {\n throw new Error(`Can't construct a query for the property \"${field}\" of ` +\n `\"${stringifyForError(type)}\" since the query selector wasn't defined.`);\n }\n if (annotations.some(isInputAnnotation)) {\n throw new Error(`Cannot combine @Input decorators with query decorators`);\n }\n queriesMeta.push(convertToR3QueryMetadata(field, ann));\n }\n });\n }\n }\n return queriesMeta;\n}\nfunction extractExportAs(exportAs) {\n return exportAs === undefined ? null : splitByComma(exportAs);\n}\nfunction isContentQuery(value) {\n const name = value.ngMetadataName;\n return name === 'ContentChild' || name === 'ContentChildren';\n}\nfunction isViewQuery(value) {\n const name = value.ngMetadataName;\n return name === 'ViewChild' || name === 'ViewChildren';\n}\nfunction isInputAnnotation(value) {\n return value.ngMetadataName === 'Input';\n}\nfunction splitByComma(value) {\n return value.split(',').map(piece => piece.trim());\n}\nconst LIFECYCLE_HOOKS = [\n 'ngOnChanges', 'ngOnInit', 'ngOnDestroy', 'ngDoCheck', 'ngAfterViewInit', 'ngAfterViewChecked',\n 'ngAfterContentInit', 'ngAfterContentChecked'\n];\nfunction shouldAddAbstractDirective(type) {\n const reflect = getReflect();\n if (LIFECYCLE_HOOKS.some(hookName => reflect.hasLifecycleHook(type, hookName))) {\n return true;\n }\n const propMetadata = reflect.propMetadata(type);\n for (const field in propMetadata) {\n const annotations = propMetadata[field];\n for (let i = 0; i < annotations.length; i++) {\n const current = annotations[i];\n const metadataName = current.ngMetadataName;\n if (isInputAnnotation(current) || isContentQuery(current) || isViewQuery(current) ||\n metadataName === 'Output' || metadataName === 'HostBinding' ||\n metadataName === 'HostListener') {\n return true;\n }\n }\n }\n return false;\n}\n\nfunction compilePipe(type, meta) {\n let ngPipeDef = null;\n let ngFactoryDef = null;\n Object.defineProperty(type, NG_FACTORY_DEF, {\n get: () => {\n if (ngFactoryDef === null) {\n const metadata = getPipeMetadata(type, meta);\n const compiler = getCompilerFacade({ usage: 0 /* JitCompilerUsage.Decorator */, kind: 'pipe', type: metadata.type });\n ngFactoryDef = compiler.compileFactory(angularCoreEnv, `ng:///${metadata.name}/ɵfac.js`, {\n name: metadata.name,\n type: metadata.type,\n typeArgumentCount: 0,\n deps: reflectDependencies(type),\n target: compiler.FactoryTarget.Pipe\n });\n }\n return ngFactoryDef;\n },\n // Make the property configurable in dev mode to allow overriding in tests\n configurable: !!ngDevMode,\n });\n Object.defineProperty(type, NG_PIPE_DEF, {\n get: () => {\n if (ngPipeDef === null) {\n const metadata = getPipeMetadata(type, meta);\n const compiler = getCompilerFacade({ usage: 0 /* JitCompilerUsage.Decorator */, kind: 'pipe', type: metadata.type });\n ngPipeDef =\n compiler.compilePipe(angularCoreEnv, `ng:///${metadata.name}/ɵpipe.js`, metadata);\n }\n return ngPipeDef;\n },\n // Make the property configurable in dev mode to allow overriding in tests\n configurable: !!ngDevMode,\n });\n}\nfunction getPipeMetadata(type, meta) {\n return {\n type: type,\n name: type.name,\n pipeName: meta.name,\n pure: meta.pure !== undefined ? meta.pure : true,\n isStandalone: !!meta.standalone,\n };\n}\n\n/**\n * Type of the Directive metadata.\n *\n * @publicApi\n */\nconst Directive = makeDecorator('Directive', (dir = {}) => dir, undefined, undefined, (type, meta) => compileDirective(type, meta));\n/**\n * Component decorator and metadata.\n *\n * @Annotation\n * @publicApi\n */\nconst Component = makeDecorator('Component', (c = {}) => ({ changeDetection: ChangeDetectionStrategy.Default, ...c }), Directive, undefined, (type, meta) => compileComponent(type, meta));\n/**\n * @Annotation\n * @publicApi\n */\nconst Pipe = makeDecorator('Pipe', (p) => ({ pure: true, ...p }), undefined, undefined, (type, meta) => compilePipe(type, meta));\n/**\n * @Annotation\n * @publicApi\n */\nconst Input = makePropDecorator('Input', (arg) => {\n if (!arg) {\n return {};\n }\n return typeof arg === 'string' ? { alias: arg } : arg;\n});\n/**\n * @Annotation\n * @publicApi\n */\nconst Output = makePropDecorator('Output', (alias) => ({ alias }));\n/**\n * @Annotation\n * @publicApi\n */\nconst HostBinding = makePropDecorator('HostBinding', (hostPropertyName) => ({ hostPropertyName }));\n/**\n * Decorator that binds a DOM event to a host listener and supplies configuration metadata.\n * Angular invokes the supplied handler method when the host element emits the specified event,\n * and updates the bound element with the result.\n *\n * If the handler method returns false, applies `preventDefault` on the bound element.\n *\n * @usageNotes\n *\n * The following example declares a directive\n * that attaches a click listener to a button and counts clicks.\n *\n * ```ts\n * @Directive({selector: 'button[counting]'})\n * class CountClicks {\n * numberOfClicks = 0;\n *\n * @HostListener('click', ['$event.target'])\n * onClick(btn) {\n * console.log('button', btn, 'number of clicks:', this.numberOfClicks++);\n * }\n * }\n *\n * @Component({\n * selector: 'app',\n * template: '<button counting>Increment</button>',\n * })\n * class App {}\n *\n * ```\n *\n * The following example registers another DOM event handler that listens for `Enter` key-press\n * events on the global `window`.\n * ``` ts\n * import { HostListener, Component } from \"@angular/core\";\n *\n * @Component({\n * selector: 'app',\n * template: `<h1>Hello, you have pressed enter {{counter}} number of times!</h1> Press enter key\n * to increment the counter.\n * <button (click)=\"resetCounter()\">Reset Counter</button>`\n * })\n * class AppComponent {\n * counter = 0;\n * @HostListener('window:keydown.enter', ['$event'])\n * handleKeyDown(event: KeyboardEvent) {\n * this.counter++;\n * }\n * resetCounter() {\n * this.counter = 0;\n * }\n * }\n * ```\n * The list of valid key names for `keydown` and `keyup` events\n * can be found here:\n * https://www.w3.org/TR/DOM-Level-3-Events-key/#named-key-attribute-values\n *\n * Note that keys can also be combined, e.g. `@HostListener('keydown.shift.a')`.\n *\n * The global target names that can be used to prefix an event name are\n * `document:`, `window:` and `body:`.\n *\n * @Annotation\n * @publicApi\n */\nconst HostListener = makePropDecorator('HostListener', (eventName, args) => ({ eventName, args }));\n\n/**\n * @Annotation\n */\nconst NgModule = makeDecorator('NgModule', (ngModule) => ngModule, undefined, undefined, \n/**\n * Decorator that marks the following class as an NgModule, and supplies\n * configuration metadata for it.\n *\n * * The `declarations` option configures the compiler\n * with information about what belongs to the NgModule.\n * * The `providers` options configures the NgModule's injector to provide\n * dependencies the NgModule members.\n * * The `imports` and `exports` options bring in members from other modules, and make\n * this module's members available to others.\n */\n(type, meta) => compileNgModule(type, meta));\n\n/**\n * This indirection is needed to free up Component, etc symbols in the public API\n * to be used by the decorator versions of these annotations.\n */\n\n/*\n * This file exists to support compilation of @angular/core in Ivy mode.\n *\n * When the Angular compiler processes a compilation unit, it normally writes imports to\n * @angular/core. When compiling the core package itself this strategy isn't usable. Instead, the\n * compiler writes imports to this file.\n *\n * Only a subset of such imports are supported - core is not allowed to declare components or pipes.\n * A check in ngtsc's `R3SymbolsImportRewriter` validates this condition. The rewriter is only used\n * when compiling @angular/core and is responsible for translating an external name (prefixed with\n * ɵ) to the internal symbol name as exported below.\n *\n * The below symbols are used for @Injectable and @NgModule compilation.\n */\n/**\n * The existence of this constant (in this particular file) informs the Angular compiler that the\n * current program is actually @angular/core, which needs to be compiled specially.\n */\nconst ITS_JUST_ANGULAR = true;\n\n/**\n * A [DI token](guide/glossary#di-token \"DI token definition\") that you can use to provide\n * one or more initialization functions.\n *\n * The provided functions are injected at application startup and executed during\n * app initialization. If any of these functions returns a Promise or an Observable, initialization\n * does not complete until the Promise is resolved or the Observable is completed.\n *\n * You can, for example, create a factory function that loads language data\n * or an external configuration, and provide that function to the `APP_INITIALIZER` token.\n * The function is executed during the application bootstrap process,\n * and the needed data is available on startup.\n *\n * @see `ApplicationInitStatus`\n *\n * @usageNotes\n *\n * The following example illustrates how to configure a multi-provider using `APP_INITIALIZER` token\n * and a function returning a promise.\n *\n * ```\n * function initializeApp(): Promise<any> {\n * return new Promise((resolve, reject) => {\n * // Do some asynchronous stuff\n * resolve();\n * });\n * }\n *\n * @NgModule({\n * imports: [BrowserModule],\n * declarations: [AppComponent],\n * bootstrap: [AppComponent],\n * providers: [{\n * provide: APP_INITIALIZER,\n * useFactory: () => initializeApp,\n * multi: true\n * }]\n * })\n * export class AppModule {}\n * ```\n *\n * It's also possible to configure a multi-provider using `APP_INITIALIZER` token and a function\n * returning an observable, see an example below. Note: the `HttpClient` in this example is used for\n * demo purposes to illustrate how the factory function can work with other providers available\n * through DI.\n *\n * ```\n * function initializeAppFactory(httpClient: HttpClient): () => Observable<any> {\n * return () => httpClient.get(\"https://someUrl.com/api/user\")\n * .pipe(\n * tap(user => { ... })\n * );\n * }\n *\n * @NgModule({\n * imports: [BrowserModule, HttpClientModule],\n * declarations: [AppComponent],\n * bootstrap: [AppComponent],\n * providers: [{\n * provide: APP_INITIALIZER,\n * useFactory: initializeAppFactory,\n * deps: [HttpClient],\n * multi: true\n * }]\n * })\n * export class AppModule {}\n * ```\n *\n * @publicApi\n */\nconst APP_INITIALIZER = new InjectionToken('Application Initializer');\n/**\n * A class that reflects the state of running {@link APP_INITIALIZER} functions.\n *\n * @publicApi\n */\nclass ApplicationInitStatus {\n constructor() {\n this.initialized = false;\n this.done = false;\n this.donePromise = new Promise((res, rej) => {\n this.resolve = res;\n this.reject = rej;\n });\n this.appInits = inject(APP_INITIALIZER, { optional: true }) ?? [];\n if ((typeof ngDevMode === 'undefined' || ngDevMode) && !Array.isArray(this.appInits)) {\n throw new RuntimeError(-209 /* RuntimeErrorCode.INVALID_MULTI_PROVIDER */, 'Unexpected type of the `APP_INITIALIZER` token value ' +\n `(expected an array, but got ${typeof this.appInits}). ` +\n 'Please check that the `APP_INITIALIZER` token is configured as a ' +\n '`multi: true` provider.');\n }\n }\n /** @internal */\n runInitializers() {\n if (this.initialized) {\n return;\n }\n const asyncInitPromises = [];\n for (const appInits of this.appInits) {\n const initResult = appInits();\n if (isPromise(initResult)) {\n asyncInitPromises.push(initResult);\n }\n else if (isSubscribable(initResult)) {\n const observableAsPromise = new Promise((resolve, reject) => {\n initResult.subscribe({ complete: resolve, error: reject });\n });\n asyncInitPromises.push(observableAsPromise);\n }\n }\n const complete = () => {\n // @ts-expect-error overwriting a readonly\n this.done = true;\n this.resolve();\n };\n Promise.all(asyncInitPromises)\n .then(() => {\n complete();\n })\n .catch(e => {\n this.reject(e);\n });\n if (asyncInitPromises.length === 0) {\n complete();\n }\n this.initialized = true;\n }\n static { this.ɵfac = function ApplicationInitStatus_Factory(t) { return new (t || ApplicationInitStatus)(); }; }\n static { this.ɵprov = /*@__PURE__*/ ɵɵdefineInjectable({ token: ApplicationInitStatus, factory: ApplicationInitStatus.ɵfac, providedIn: 'root' }); }\n}\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && setClassMetadata(ApplicationInitStatus, [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], function () { return []; }, null); })();\n\nclass Console {\n log(message) {\n // tslint:disable-next-line:no-console\n console.log(message);\n }\n // Note: for reporting errors use `DOM.logError()` as it is platform specific\n warn(message) {\n // tslint:disable-next-line:no-console\n console.warn(message);\n }\n static { this.ɵfac = function Console_Factory(t) { return new (t || Console)(); }; }\n static { this.ɵprov = /*@__PURE__*/ ɵɵdefineInjectable({ token: Console, factory: Console.ɵfac, providedIn: 'platform' }); }\n}\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && setClassMetadata(Console, [{\n type: Injectable,\n args: [{ providedIn: 'platform' }]\n }], null, null); })();\n\n/**\n * Work out the locale from the potential global properties.\n *\n * * Closure Compiler: use `goog.LOCALE`.\n * * Ivy enabled: use `$localize.locale`\n */\nfunction getGlobalLocale() {\n if (typeof ngI18nClosureMode !== 'undefined' && ngI18nClosureMode &&\n typeof goog !== 'undefined' && goog.LOCALE !== 'en') {\n // * The default `goog.LOCALE` value is `en`, while Angular used `en-US`.\n // * In order to preserve backwards compatibility, we use Angular default value over\n // Closure Compiler's one.\n return goog.LOCALE;\n }\n else {\n // KEEP `typeof $localize !== 'undefined' && $localize.locale` IN SYNC WITH THE LOCALIZE\n // COMPILE-TIME INLINER.\n //\n // * During compile time inlining of translations the expression will be replaced\n // with a string literal that is the current locale. Other forms of this expression are not\n // guaranteed to be replaced.\n //\n // * During runtime translation evaluation, the developer is required to set `$localize.locale`\n // if required, or just to provide their own `LOCALE_ID` provider.\n return (typeof $localize !== 'undefined' && $localize.locale) || DEFAULT_LOCALE_ID;\n }\n}\n/**\n * Provide this token to set the locale of your application.\n * It is used for i18n extraction, by i18n pipes (DatePipe, I18nPluralPipe, CurrencyPipe,\n * DecimalPipe and PercentPipe) and by ICU expressions.\n *\n * See the [i18n guide](guide/i18n-common-locale-id) for more information.\n *\n * @usageNotes\n * ### Example\n *\n * ```typescript\n * import { LOCALE_ID } from '@angular/core';\n * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n * import { AppModule } from './app/app.module';\n *\n * platformBrowserDynamic().bootstrapModule(AppModule, {\n * providers: [{provide: LOCALE_ID, useValue: 'en-US' }]\n * });\n * ```\n *\n * @publicApi\n */\nconst LOCALE_ID = new InjectionToken('LocaleId', {\n providedIn: 'root',\n factory: () => inject(LOCALE_ID, InjectFlags.Optional | InjectFlags.SkipSelf) || getGlobalLocale(),\n});\n/**\n * Provide this token to set the default currency code your application uses for\n * CurrencyPipe when there is no currency code passed into it. This is only used by\n * CurrencyPipe and has no relation to locale currency. Defaults to USD if not configured.\n *\n * See the [i18n guide](guide/i18n-common-locale-id) for more information.\n *\n * <div class=\"alert is-helpful\">\n *\n * **Deprecation notice:**\n *\n * The default currency code is currently always `USD` but this is deprecated from v9.\n *\n * **In v10 the default currency code will be taken from the current locale.**\n *\n * If you need the previous behavior then set it by creating a `DEFAULT_CURRENCY_CODE` provider in\n * your application `NgModule`:\n *\n * ```ts\n * {provide: DEFAULT_CURRENCY_CODE, useValue: 'USD'}\n * ```\n *\n * </div>\n *\n * @usageNotes\n * ### Example\n *\n * ```typescript\n * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n * import { AppModule } from './app/app.module';\n *\n * platformBrowserDynamic().bootstrapModule(AppModule, {\n * providers: [{provide: DEFAULT_CURRENCY_CODE, useValue: 'EUR' }]\n * });\n * ```\n *\n * @publicApi\n */\nconst DEFAULT_CURRENCY_CODE = new InjectionToken('DefaultCurrencyCode', {\n providedIn: 'root',\n factory: () => USD_CURRENCY_CODE,\n});\n/**\n * Use this token at bootstrap to provide the content of your translation file (`xtb`,\n * `xlf` or `xlf2`) when you want to translate your application in another language.\n *\n * See the [i18n guide](guide/i18n-common-merge) for more information.\n *\n * @usageNotes\n * ### Example\n *\n * ```typescript\n * import { TRANSLATIONS } from '@angular/core';\n * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n * import { AppModule } from './app/app.module';\n *\n * // content of your translation file\n * const translations = '....';\n *\n * platformBrowserDynamic().bootstrapModule(AppModule, {\n * providers: [{provide: TRANSLATIONS, useValue: translations }]\n * });\n * ```\n *\n * @publicApi\n */\nconst TRANSLATIONS = new InjectionToken('Translations');\n/**\n * Provide this token at bootstrap to set the format of your {@link TRANSLATIONS}: `xtb`,\n * `xlf` or `xlf2`.\n *\n * See the [i18n guide](guide/i18n-common-merge) for more information.\n *\n * @usageNotes\n * ### Example\n *\n * ```typescript\n * import { TRANSLATIONS_FORMAT } from '@angular/core';\n * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n * import { AppModule } from './app/app.module';\n *\n * platformBrowserDynamic().bootstrapModule(AppModule, {\n * providers: [{provide: TRANSLATIONS_FORMAT, useValue: 'xlf' }]\n * });\n * ```\n *\n * @publicApi\n */\nconst TRANSLATIONS_FORMAT = new InjectionToken('TranslationsFormat');\n/**\n * Use this enum at bootstrap as an option of `bootstrapModule` to define the strategy\n * that the compiler should use in case of missing translations:\n * - Error: throw if you have missing translations.\n * - Warning (default): show a warning in the console and/or shell.\n * - Ignore: do nothing.\n *\n * See the [i18n guide](guide/i18n-common-merge#report-missing-translations) for more information.\n *\n * @usageNotes\n * ### Example\n * ```typescript\n * import { MissingTranslationStrategy } from '@angular/core';\n * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n * import { AppModule } from './app/app.module';\n *\n * platformBrowserDynamic().bootstrapModule(AppModule, {\n * missingTranslation: MissingTranslationStrategy.Error\n * });\n * ```\n *\n * @publicApi\n */\nvar MissingTranslationStrategy;\n(function (MissingTranslationStrategy) {\n MissingTranslationStrategy[MissingTranslationStrategy[\"Error\"] = 0] = \"Error\";\n MissingTranslationStrategy[MissingTranslationStrategy[\"Warning\"] = 1] = \"Warning\";\n MissingTranslationStrategy[MissingTranslationStrategy[\"Ignore\"] = 2] = \"Ignore\";\n})(MissingTranslationStrategy || (MissingTranslationStrategy = {}));\n\n/**\n * *Internal* service that keeps track of pending tasks happening in the system\n * during the initial rendering. No tasks are tracked after an initial\n * rendering.\n *\n * This information is needed to make sure that the serialization on the server\n * is delayed until all tasks in the queue (such as an initial navigation or a\n * pending HTTP request) are completed.\n */\nclass InitialRenderPendingTasks {\n constructor() {\n this.taskId = 0;\n this.pendingTasks = new Set();\n this.hasPendingTasks = new BehaviorSubject(false);\n }\n add() {\n this.hasPendingTasks.next(true);\n const taskId = this.taskId++;\n this.pendingTasks.add(taskId);\n return taskId;\n }\n remove(taskId) {\n this.pendingTasks.delete(taskId);\n if (this.pendingTasks.size === 0) {\n this.hasPendingTasks.next(false);\n }\n }\n ngOnDestroy() {\n this.pendingTasks.clear();\n this.hasPendingTasks.next(false);\n }\n static { this.ɵfac = function InitialRenderPendingTasks_Factory(t) { return new (t || InitialRenderPendingTasks)(); }; }\n static { this.ɵprov = /*@__PURE__*/ ɵɵdefineInjectable({ token: InitialRenderPendingTasks, factory: InitialRenderPendingTasks.ɵfac, providedIn: 'root' }); }\n}\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && setClassMetadata(InitialRenderPendingTasks, [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], null, null); })();\n\n/**\n * Combination of NgModuleFactory and ComponentFactories.\n *\n * @publicApi\n *\n * @deprecated\n * Ivy JIT mode doesn't require accessing this symbol.\n * See [JIT API changes due to ViewEngine deprecation](guide/deprecations#jit-api-changes) for\n * additional context.\n */\nclass ModuleWithComponentFactories {\n constructor(ngModuleFactory, componentFactories) {\n this.ngModuleFactory = ngModuleFactory;\n this.componentFactories = componentFactories;\n }\n}\n/**\n * Low-level service for running the angular compiler during runtime\n * to create {@link ComponentFactory}s, which\n * can later be used to create and render a Component instance.\n *\n * Each `@NgModule` provides an own `Compiler` to its injector,\n * that will use the directives/pipes of the ng module for compilation\n * of components.\n *\n * @publicApi\n *\n * @deprecated\n * Ivy JIT mode doesn't require accessing this symbol.\n * See [JIT API changes due to ViewEngine deprecation](guide/deprecations#jit-api-changes) for\n * additional context.\n */\nclass Compiler {\n /**\n * Compiles the given NgModule and all of its components. All templates of the components\n * have to be inlined.\n */\n compileModuleSync(moduleType) {\n return new NgModuleFactory(moduleType);\n }\n /**\n * Compiles the given NgModule and all of its components\n */\n compileModuleAsync(moduleType) {\n return Promise.resolve(this.compileModuleSync(moduleType));\n }\n /**\n * Same as {@link #compileModuleSync} but also creates ComponentFactories for all components.\n */\n compileModuleAndAllComponentsSync(moduleType) {\n const ngModuleFactory = this.compileModuleSync(moduleType);\n const moduleDef = getNgModuleDef(moduleType);\n const componentFactories = maybeUnwrapFn(moduleDef.declarations)\n .reduce((factories, declaration) => {\n const componentDef = getComponentDef(declaration);\n componentDef && factories.push(new ComponentFactory(componentDef));\n return factories;\n }, []);\n return new ModuleWithComponentFactories(ngModuleFactory, componentFactories);\n }\n /**\n * Same as {@link #compileModuleAsync} but also creates ComponentFactories for all components.\n */\n compileModuleAndAllComponentsAsync(moduleType) {\n return Promise.resolve(this.compileModuleAndAllComponentsSync(moduleType));\n }\n /**\n * Clears all caches.\n */\n clearCache() { }\n /**\n * Clears the cache for the given component/ngModule.\n */\n clearCacheFor(type) { }\n /**\n * Returns the id for a given NgModule, if one is defined and known to the compiler.\n */\n getModuleId(moduleType) {\n return undefined;\n }\n static { this.ɵfac = function Compiler_Factory(t) { return new (t || Compiler)(); }; }\n static { this.ɵprov = /*@__PURE__*/ ɵɵdefineInjectable({ token: Compiler, factory: Compiler.ɵfac, providedIn: 'root' }); }\n}\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && setClassMetadata(Compiler, [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], null, null); })();\n/**\n * Token to provide CompilerOptions in the platform injector.\n *\n * @publicApi\n */\nconst COMPILER_OPTIONS = new InjectionToken('compilerOptions');\n/**\n * A factory for creating a Compiler\n *\n * @publicApi\n *\n * @deprecated\n * Ivy JIT mode doesn't require accessing this symbol.\n * See [JIT API changes due to ViewEngine deprecation](guide/deprecations#jit-api-changes) for\n * additional context.\n */\nclass CompilerFactory {\n}\n\n/**\n * Marks a component for check (in case of OnPush components) and synchronously\n * performs change detection on the application this component belongs to.\n *\n * @param component Component to {@link ChangeDetectorRef#markForCheck mark for check}.\n *\n * @publicApi\n * @globalApi ng\n */\nfunction applyChanges(component) {\n ngDevMode && assertDefined(component, 'component');\n markViewDirty(getComponentViewByInstance(component));\n getRootComponents(component).forEach(rootComponent => detectChanges(rootComponent));\n}\n\n/**\n * This file introduces series of globally accessible debug tools\n * to allow for the Angular debugging story to function.\n *\n * To see this in action run the following command:\n *\n * bazel run //packages/core/test/bundling/todo:devserver\n *\n * Then load `localhost:5432` and start using the console tools.\n */\n/**\n * This value reflects the property on the window where the dev\n * tools are patched (window.ng).\n * */\nconst GLOBAL_PUBLISH_EXPANDO_KEY = 'ng';\nlet _published = false;\n/**\n * Publishes a collection of default debug tools onto`window.ng`.\n *\n * These functions are available globally when Angular is in development\n * mode and are automatically stripped away from prod mode is on.\n */\nfunction publishDefaultGlobalUtils$1() {\n if (!_published) {\n _published = true;\n /**\n * Warning: this function is *INTERNAL* and should not be relied upon in application's code.\n * The contract of the function might be changed in any release and/or the function can be\n * removed completely.\n */\n publishGlobalUtil('ɵsetProfiler', setProfiler);\n publishGlobalUtil('getDirectiveMetadata', getDirectiveMetadata$1);\n publishGlobalUtil('getComponent', getComponent);\n publishGlobalUtil('getContext', getContext);\n publishGlobalUtil('getListeners', getListeners);\n publishGlobalUtil('getOwningComponent', getOwningComponent);\n publishGlobalUtil('getHostElement', getHostElement);\n publishGlobalUtil('getInjector', getInjector);\n publishGlobalUtil('getRootComponents', getRootComponents);\n publishGlobalUtil('getDirectives', getDirectives);\n publishGlobalUtil('applyChanges', applyChanges);\n }\n}\n/**\n * Publishes the given function to `window.ng` so that it can be\n * used from the browser console when an application is not in production.\n */\nfunction publishGlobalUtil(name, fn) {\n if (typeof COMPILED === 'undefined' || !COMPILED) {\n // Note: we can't export `ng` when using closure enhanced optimization as:\n // - closure declares globals itself for minified names, which sometimes clobber our `ng` global\n // - we can't declare a closure extern as the namespace `ng` is already used within Google\n // for typings for AngularJS (via `goog.provide('ng....')`).\n const w = _global;\n ngDevMode && assertDefined(fn, 'function not defined');\n if (w) {\n let container = w[GLOBAL_PUBLISH_EXPANDO_KEY];\n if (!container) {\n container = w[GLOBAL_PUBLISH_EXPANDO_KEY] = {};\n }\n container[name] = fn;\n }\n }\n}\n\nconst promise = (() => Promise.resolve(0))();\nfunction scheduleMicroTask(fn) {\n if (typeof Zone === 'undefined') {\n // use promise to schedule microTask instead of use Zone\n promise.then(() => {\n fn && fn.apply(null, null);\n });\n }\n else {\n Zone.current.scheduleMicroTask('scheduleMicrotask', fn);\n }\n}\n\nfunction noop(...args) {\n // Do nothing.\n}\n\nfunction getNativeRequestAnimationFrame() {\n let nativeRequestAnimationFrame = _global['requestAnimationFrame'];\n let nativeCancelAnimationFrame = _global['cancelAnimationFrame'];\n if (typeof Zone !== 'undefined' && nativeRequestAnimationFrame && nativeCancelAnimationFrame) {\n // use unpatched version of requestAnimationFrame(native delegate) if possible\n // to avoid another Change detection\n const unpatchedRequestAnimationFrame = nativeRequestAnimationFrame[Zone.__symbol__('OriginalDelegate')];\n if (unpatchedRequestAnimationFrame) {\n nativeRequestAnimationFrame = unpatchedRequestAnimationFrame;\n }\n const unpatchedCancelAnimationFrame = nativeCancelAnimationFrame[Zone.__symbol__('OriginalDelegate')];\n if (unpatchedCancelAnimationFrame) {\n nativeCancelAnimationFrame = unpatchedCancelAnimationFrame;\n }\n }\n return { nativeRequestAnimationFrame, nativeCancelAnimationFrame };\n}\n\nclass AsyncStackTaggingZoneSpec {\n constructor(namePrefix, consoleAsyncStackTaggingImpl = console) {\n this.name = 'asyncStackTagging for ' + namePrefix;\n this.createTask = consoleAsyncStackTaggingImpl?.createTask ?? (() => null);\n }\n onScheduleTask(delegate, _current, target, task) {\n task.consoleTask = this.createTask(`Zone - ${task.source || task.type}`);\n return delegate.scheduleTask(target, task);\n }\n onInvokeTask(delegate, _currentZone, targetZone, task, applyThis, applyArgs) {\n let ret;\n if (task.consoleTask) {\n ret = task.consoleTask.run(() => delegate.invokeTask(targetZone, task, applyThis, applyArgs));\n }\n else {\n ret = delegate.invokeTask(targetZone, task, applyThis, applyArgs);\n }\n return ret;\n }\n}\n\n/**\n * An injectable service for executing work inside or outside of the Angular zone.\n *\n * The most common use of this service is to optimize performance when starting a work consisting of\n * one or more asynchronous tasks that don't require UI updates or error handling to be handled by\n * Angular. Such tasks can be kicked off via {@link #runOutsideAngular} and if needed, these tasks\n * can reenter the Angular zone via {@link #run}.\n *\n * <!-- TODO: add/fix links to:\n * - docs explaining zones and the use of zones in Angular and change-detection\n * - link to runOutsideAngular/run (throughout this file!)\n * -->\n *\n * @usageNotes\n * ### Example\n *\n * ```\n * import {Component, NgZone} from '@angular/core';\n * import {NgIf} from '@angular/common';\n *\n * @Component({\n * selector: 'ng-zone-demo',\n * template: `\n * <h2>Demo: NgZone</h2>\n *\n * <p>Progress: {{progress}}%</p>\n * <p *ngIf=\"progress >= 100\">Done processing {{label}} of Angular zone!</p>\n *\n * <button (click)=\"processWithinAngularZone()\">Process within Angular zone</button>\n * <button (click)=\"processOutsideOfAngularZone()\">Process outside of Angular zone</button>\n * `,\n * })\n * export class NgZoneDemo {\n * progress: number = 0;\n * label: string;\n *\n * constructor(private _ngZone: NgZone) {}\n *\n * // Loop inside the Angular zone\n * // so the UI DOES refresh after each setTimeout cycle\n * processWithinAngularZone() {\n * this.label = 'inside';\n * this.progress = 0;\n * this._increaseProgress(() => console.log('Inside Done!'));\n * }\n *\n * // Loop outside of the Angular zone\n * // so the UI DOES NOT refresh after each setTimeout cycle\n * processOutsideOfAngularZone() {\n * this.label = 'outside';\n * this.progress = 0;\n * this._ngZone.runOutsideAngular(() => {\n * this._increaseProgress(() => {\n * // reenter the Angular zone and display done\n * this._ngZone.run(() => { console.log('Outside Done!'); });\n * });\n * });\n * }\n *\n * _increaseProgress(doneCallback: () => void) {\n * this.progress += 1;\n * console.log(`Current progress: ${this.progress}%`);\n *\n * if (this.progress < 100) {\n * window.setTimeout(() => this._increaseProgress(doneCallback), 10);\n * } else {\n * doneCallback();\n * }\n * }\n * }\n * ```\n *\n * @publicApi\n */\nclass NgZone {\n constructor({ enableLongStackTrace = false, shouldCoalesceEventChangeDetection = false, shouldCoalesceRunChangeDetection = false }) {\n this.hasPendingMacrotasks = false;\n this.hasPendingMicrotasks = false;\n /**\n * Whether there are no outstanding microtasks or macrotasks.\n */\n this.isStable = true;\n /**\n * Notifies when code enters Angular Zone. This gets fired first on VM Turn.\n */\n this.onUnstable = new EventEmitter(false);\n /**\n * Notifies when there is no more microtasks enqueued in the current VM Turn.\n * This is a hint for Angular to do change detection, which may enqueue more microtasks.\n * For this reason this event can fire multiple times per VM Turn.\n */\n this.onMicrotaskEmpty = new EventEmitter(false);\n /**\n * Notifies when the last `onMicrotaskEmpty` has run and there are no more microtasks, which\n * implies we are about to relinquish VM turn.\n * This event gets called just once.\n */\n this.onStable = new EventEmitter(false);\n /**\n * Notifies that an error has been delivered.\n */\n this.onError = new EventEmitter(false);\n if (typeof Zone == 'undefined') {\n throw new RuntimeError(908 /* RuntimeErrorCode.MISSING_ZONEJS */, ngDevMode && `In this configuration Angular requires Zone.js`);\n }\n Zone.assertZonePatched();\n const self = this;\n self._nesting = 0;\n self._outer = self._inner = Zone.current;\n // AsyncStackTaggingZoneSpec provides `linked stack traces` to show\n // where the async operation is scheduled. For more details, refer\n // to this article, https://developer.chrome.com/blog/devtools-better-angular-debugging/\n // And we only import this AsyncStackTaggingZoneSpec in development mode,\n // in the production mode, the AsyncStackTaggingZoneSpec will be tree shaken away.\n if (ngDevMode) {\n self._inner = self._inner.fork(new AsyncStackTaggingZoneSpec('Angular'));\n }\n if (Zone['TaskTrackingZoneSpec']) {\n self._inner = self._inner.fork(new Zone['TaskTrackingZoneSpec']);\n }\n if (enableLongStackTrace && Zone['longStackTraceZoneSpec']) {\n self._inner = self._inner.fork(Zone['longStackTraceZoneSpec']);\n }\n // if shouldCoalesceRunChangeDetection is true, all tasks including event tasks will be\n // coalesced, so shouldCoalesceEventChangeDetection option is not necessary and can be skipped.\n self.shouldCoalesceEventChangeDetection =\n !shouldCoalesceRunChangeDetection && shouldCoalesceEventChangeDetection;\n self.shouldCoalesceRunChangeDetection = shouldCoalesceRunChangeDetection;\n self.lastRequestAnimationFrameId = -1;\n self.nativeRequestAnimationFrame = getNativeRequestAnimationFrame().nativeRequestAnimationFrame;\n forkInnerZoneWithAngularBehavior(self);\n }\n static isInAngularZone() {\n // Zone needs to be checked, because this method might be called even when NoopNgZone is used.\n return typeof Zone !== 'undefined' && Zone.current.get('isAngularZone') === true;\n }\n static assertInAngularZone() {\n if (!NgZone.isInAngularZone()) {\n throw new RuntimeError(909 /* RuntimeErrorCode.UNEXPECTED_ZONE_STATE */, ngDevMode && 'Expected to be in Angular Zone, but it is not!');\n }\n }\n static assertNotInAngularZone() {\n if (NgZone.isInAngularZone()) {\n throw new RuntimeError(909 /* RuntimeErrorCode.UNEXPECTED_ZONE_STATE */, ngDevMode && 'Expected to not be in Angular Zone, but it is!');\n }\n }\n /**\n * Executes the `fn` function synchronously within the Angular zone and returns value returned by\n * the function.\n *\n * Running functions via `run` allows you to reenter Angular zone from a task that was executed\n * outside of the Angular zone (typically started via {@link #runOutsideAngular}).\n *\n * Any future tasks or microtasks scheduled from within this function will continue executing from\n * within the Angular zone.\n *\n * If a synchronous error happens it will be rethrown and not reported via `onError`.\n */\n run(fn, applyThis, applyArgs) {\n return this._inner.run(fn, applyThis, applyArgs);\n }\n /**\n * Executes the `fn` function synchronously within the Angular zone as a task and returns value\n * returned by the function.\n *\n * Running functions via `run` allows you to reenter Angular zone from a task that was executed\n * outside of the Angular zone (typically started via {@link #runOutsideAngular}).\n *\n * Any future tasks or microtasks scheduled from within this function will continue executing from\n * within the Angular zone.\n *\n * If a synchronous error happens it will be rethrown and not reported via `onError`.\n */\n runTask(fn, applyThis, applyArgs, name) {\n const zone = this._inner;\n const task = zone.scheduleEventTask('NgZoneEvent: ' + name, fn, EMPTY_PAYLOAD, noop, noop);\n try {\n return zone.runTask(task, applyThis, applyArgs);\n }\n finally {\n zone.cancelTask(task);\n }\n }\n /**\n * Same as `run`, except that synchronous errors are caught and forwarded via `onError` and not\n * rethrown.\n */\n runGuarded(fn, applyThis, applyArgs) {\n return this._inner.runGuarded(fn, applyThis, applyArgs);\n }\n /**\n * Executes the `fn` function synchronously in Angular's parent zone and returns value returned by\n * the function.\n *\n * Running functions via {@link #runOutsideAngular} allows you to escape Angular's zone and do\n * work that\n * doesn't trigger Angular change-detection or is subject to Angular's error handling.\n *\n * Any future tasks or microtasks scheduled from within this function will continue executing from\n * outside of the Angular zone.\n *\n * Use {@link #run} to reenter the Angular zone and do work that updates the application model.\n */\n runOutsideAngular(fn) {\n return this._outer.run(fn);\n }\n}\nconst EMPTY_PAYLOAD = {};\nfunction checkStable(zone) {\n // TODO: @JiaLiPassion, should check zone.isCheckStableRunning to prevent\n // re-entry. The case is:\n //\n // @Component({...})\n // export class AppComponent {\n // constructor(private ngZone: NgZone) {\n // this.ngZone.onStable.subscribe(() => {\n // this.ngZone.run(() => console.log('stable'););\n // });\n // }\n //\n // The onStable subscriber run another function inside ngZone\n // which causes `checkStable()` re-entry.\n // But this fix causes some issues in g3, so this fix will be\n // launched in another PR.\n if (zone._nesting == 0 && !zone.hasPendingMicrotasks && !zone.isStable) {\n try {\n zone._nesting++;\n zone.onMicrotaskEmpty.emit(null);\n }\n finally {\n zone._nesting--;\n if (!zone.hasPendingMicrotasks) {\n try {\n zone.runOutsideAngular(() => zone.onStable.emit(null));\n }\n finally {\n zone.isStable = true;\n }\n }\n }\n }\n}\nfunction delayChangeDetectionForEvents(zone) {\n /**\n * We also need to check _nesting here\n * Consider the following case with shouldCoalesceRunChangeDetection = true\n *\n * ngZone.run(() => {});\n * ngZone.run(() => {});\n *\n * We want the two `ngZone.run()` only trigger one change detection\n * when shouldCoalesceRunChangeDetection is true.\n * And because in this case, change detection run in async way(requestAnimationFrame),\n * so we also need to check the _nesting here to prevent multiple\n * change detections.\n */\n if (zone.isCheckStableRunning || zone.lastRequestAnimationFrameId !== -1) {\n return;\n }\n zone.lastRequestAnimationFrameId = zone.nativeRequestAnimationFrame.call(_global, () => {\n // This is a work around for https://github.com/angular/angular/issues/36839.\n // The core issue is that when event coalescing is enabled it is possible for microtasks\n // to get flushed too early (As is the case with `Promise.then`) between the\n // coalescing eventTasks.\n //\n // To workaround this we schedule a \"fake\" eventTask before we process the\n // coalescing eventTasks. The benefit of this is that the \"fake\" container eventTask\n // will prevent the microtasks queue from getting drained in between the coalescing\n // eventTask execution.\n if (!zone.fakeTopEventTask) {\n zone.fakeTopEventTask = Zone.root.scheduleEventTask('fakeTopEventTask', () => {\n zone.lastRequestAnimationFrameId = -1;\n updateMicroTaskStatus(zone);\n zone.isCheckStableRunning = true;\n checkStable(zone);\n zone.isCheckStableRunning = false;\n }, undefined, () => { }, () => { });\n }\n zone.fakeTopEventTask.invoke();\n });\n updateMicroTaskStatus(zone);\n}\nfunction forkInnerZoneWithAngularBehavior(zone) {\n const delayChangeDetectionForEventsDelegate = () => {\n delayChangeDetectionForEvents(zone);\n };\n zone._inner = zone._inner.fork({\n name: 'angular',\n properties: { 'isAngularZone': true },\n onInvokeTask: (delegate, current, target, task, applyThis, applyArgs) => {\n try {\n onEnter(zone);\n return delegate.invokeTask(target, task, applyThis, applyArgs);\n }\n finally {\n if ((zone.shouldCoalesceEventChangeDetection && task.type === 'eventTask') ||\n zone.shouldCoalesceRunChangeDetection) {\n delayChangeDetectionForEventsDelegate();\n }\n onLeave(zone);\n }\n },\n onInvoke: (delegate, current, target, callback, applyThis, applyArgs, source) => {\n try {\n onEnter(zone);\n return delegate.invoke(target, callback, applyThis, applyArgs, source);\n }\n finally {\n if (zone.shouldCoalesceRunChangeDetection) {\n delayChangeDetectionForEventsDelegate();\n }\n onLeave(zone);\n }\n },\n onHasTask: (delegate, current, target, hasTaskState) => {\n delegate.hasTask(target, hasTaskState);\n if (current === target) {\n // We are only interested in hasTask events which originate from our zone\n // (A child hasTask event is not interesting to us)\n if (hasTaskState.change == 'microTask') {\n zone._hasPendingMicrotasks = hasTaskState.microTask;\n updateMicroTaskStatus(zone);\n checkStable(zone);\n }\n else if (hasTaskState.change == 'macroTask') {\n zone.hasPendingMacrotasks = hasTaskState.macroTask;\n }\n }\n },\n onHandleError: (delegate, current, target, error) => {\n delegate.handleError(target, error);\n zone.runOutsideAngular(() => zone.onError.emit(error));\n return false;\n }\n });\n}\nfunction updateMicroTaskStatus(zone) {\n if (zone._hasPendingMicrotasks ||\n ((zone.shouldCoalesceEventChangeDetection || zone.shouldCoalesceRunChangeDetection) &&\n zone.lastRequestAnimationFrameId !== -1)) {\n zone.hasPendingMicrotasks = true;\n }\n else {\n zone.hasPendingMicrotasks = false;\n }\n}\nfunction onEnter(zone) {\n zone._nesting++;\n if (zone.isStable) {\n zone.isStable = false;\n zone.onUnstable.emit(null);\n }\n}\nfunction onLeave(zone) {\n zone._nesting--;\n checkStable(zone);\n}\n/**\n * Provides a noop implementation of `NgZone` which does nothing. This zone requires explicit calls\n * to framework to perform rendering.\n */\nclass NoopNgZone {\n constructor() {\n this.hasPendingMicrotasks = false;\n this.hasPendingMacrotasks = false;\n this.isStable = true;\n this.onUnstable = new EventEmitter();\n this.onMicrotaskEmpty = new EventEmitter();\n this.onStable = new EventEmitter();\n this.onError = new EventEmitter();\n }\n run(fn, applyThis, applyArgs) {\n return fn.apply(applyThis, applyArgs);\n }\n runGuarded(fn, applyThis, applyArgs) {\n return fn.apply(applyThis, applyArgs);\n }\n runOutsideAngular(fn) {\n return fn();\n }\n runTask(fn, applyThis, applyArgs, name) {\n return fn.apply(applyThis, applyArgs);\n }\n}\n/**\n * Token used to drive ApplicationRef.isStable\n *\n * TODO: This should be moved entirely to NgZone (as a breaking change) so it can be tree-shakeable\n * for `NoopNgZone` which is always just an `Observable` of `true`. Additionally, we should consider\n * whether the property on `NgZone` should be `Observable` or `Signal`.\n */\nconst ZONE_IS_STABLE_OBSERVABLE = new InjectionToken(ngDevMode ? 'isStable Observable' : '', {\n providedIn: 'root',\n // TODO(atscott): Replace this with a suitable default like `new\n // BehaviorSubject(true).asObservable`. Again, long term this won't exist on ApplicationRef at\n // all but until we can remove it, we need a default value zoneless.\n factory: isStableFactory,\n});\nfunction isStableFactory() {\n const zone = inject(NgZone);\n let _stable = true;\n const isCurrentlyStable = new Observable((observer) => {\n _stable = zone.isStable && !zone.hasPendingMacrotasks && !zone.hasPendingMicrotasks;\n zone.runOutsideAngular(() => {\n observer.next(_stable);\n observer.complete();\n });\n });\n const isStable = new Observable((observer) => {\n // Create the subscription to onStable outside the Angular Zone so that\n // the callback is run outside the Angular Zone.\n let stableSub;\n zone.runOutsideAngular(() => {\n stableSub = zone.onStable.subscribe(() => {\n NgZone.assertNotInAngularZone();\n // Check whether there are no pending macro/micro tasks in the next tick\n // to allow for NgZone to update the state.\n scheduleMicroTask(() => {\n if (!_stable && !zone.hasPendingMacrotasks && !zone.hasPendingMicrotasks) {\n _stable = true;\n observer.next(true);\n }\n });\n });\n });\n const unstableSub = zone.onUnstable.subscribe(() => {\n NgZone.assertInAngularZone();\n if (_stable) {\n _stable = false;\n zone.runOutsideAngular(() => {\n observer.next(false);\n });\n }\n });\n return () => {\n stableSub.unsubscribe();\n unstableSub.unsubscribe();\n };\n });\n return merge$1(isCurrentlyStable, isStable.pipe(share()));\n}\n\n/**\n * Internal injection token that can used to access an instance of a Testability class.\n *\n * This token acts as a bridge between the core bootstrap code and the `Testability` class. This is\n * needed to ensure that there are no direct references to the `Testability` class, so it can be\n * tree-shaken away (if not referenced). For the environments/setups when the `Testability` class\n * should be available, this token is used to add a provider that references the `Testability`\n * class. Otherwise, only this token is retained in a bundle, but the `Testability` class is not.\n */\nconst TESTABILITY = new InjectionToken('');\n/**\n * Internal injection token to retrieve Testability getter class instance.\n */\nconst TESTABILITY_GETTER = new InjectionToken('');\n/**\n * The Testability service provides testing hooks that can be accessed from\n * the browser.\n *\n * Angular applications bootstrapped using an NgModule (via `@NgModule.bootstrap` field) will also\n * instantiate Testability by default (in both development and production modes).\n *\n * For applications bootstrapped using the `bootstrapApplication` function, Testability is not\n * included by default. You can include it into your applications by getting the list of necessary\n * providers using the `provideProtractorTestingSupport()` function and adding them into the\n * `options.providers` array. Example:\n *\n * ```typescript\n * import {provideProtractorTestingSupport} from '@angular/platform-browser';\n *\n * await bootstrapApplication(RootComponent, providers: [provideProtractorTestingSupport()]);\n * ```\n *\n * @publicApi\n */\nclass Testability {\n constructor(_ngZone, registry, testabilityGetter) {\n this._ngZone = _ngZone;\n this.registry = registry;\n this._pendingCount = 0;\n this._isZoneStable = true;\n /**\n * Whether any work was done since the last 'whenStable' callback. This is\n * useful to detect if this could have potentially destabilized another\n * component while it is stabilizing.\n * @internal\n */\n this._didWork = false;\n this._callbacks = [];\n this.taskTrackingZone = null;\n // If there was no Testability logic registered in the global scope\n // before, register the current testability getter as a global one.\n if (!_testabilityGetter) {\n setTestabilityGetter(testabilityGetter);\n testabilityGetter.addToWindow(registry);\n }\n this._watchAngularEvents();\n _ngZone.run(() => {\n this.taskTrackingZone =\n typeof Zone == 'undefined' ? null : Zone.current.get('TaskTrackingZone');\n });\n }\n _watchAngularEvents() {\n this._ngZone.onUnstable.subscribe({\n next: () => {\n this._didWork = true;\n this._isZoneStable = false;\n }\n });\n this._ngZone.runOutsideAngular(() => {\n this._ngZone.onStable.subscribe({\n next: () => {\n NgZone.assertNotInAngularZone();\n scheduleMicroTask(() => {\n this._isZoneStable = true;\n this._runCallbacksIfReady();\n });\n }\n });\n });\n }\n /**\n * Increases the number of pending request\n * @deprecated pending requests are now tracked with zones.\n */\n increasePendingRequestCount() {\n this._pendingCount += 1;\n this._didWork = true;\n return this._pendingCount;\n }\n /**\n * Decreases the number of pending request\n * @deprecated pending requests are now tracked with zones\n */\n decreasePendingRequestCount() {\n this._pendingCount -= 1;\n if (this._pendingCount < 0) {\n throw new Error('pending async requests below zero');\n }\n this._runCallbacksIfReady();\n return this._pendingCount;\n }\n /**\n * Whether an associated application is stable\n */\n isStable() {\n return this._isZoneStable && this._pendingCount === 0 && !this._ngZone.hasPendingMacrotasks;\n }\n _runCallbacksIfReady() {\n if (this.isStable()) {\n // Schedules the call backs in a new frame so that it is always async.\n scheduleMicroTask(() => {\n while (this._callbacks.length !== 0) {\n let cb = this._callbacks.pop();\n clearTimeout(cb.timeoutId);\n cb.doneCb(this._didWork);\n }\n this._didWork = false;\n });\n }\n else {\n // Still not stable, send updates.\n let pending = this.getPendingTasks();\n this._callbacks = this._callbacks.filter((cb) => {\n if (cb.updateCb && cb.updateCb(pending)) {\n clearTimeout(cb.timeoutId);\n return false;\n }\n return true;\n });\n this._didWork = true;\n }\n }\n getPendingTasks() {\n if (!this.taskTrackingZone) {\n return [];\n }\n // Copy the tasks data so that we don't leak tasks.\n return this.taskTrackingZone.macroTasks.map((t) => {\n return {\n source: t.source,\n // From TaskTrackingZone:\n // https://github.com/angular/zone.js/blob/master/lib/zone-spec/task-tracking.ts#L40\n creationLocation: t.creationLocation,\n data: t.data\n };\n });\n }\n addCallback(cb, timeout, updateCb) {\n let timeoutId = -1;\n if (timeout && timeout > 0) {\n timeoutId = setTimeout(() => {\n this._callbacks = this._callbacks.filter((cb) => cb.timeoutId !== timeoutId);\n cb(this._didWork, this.getPendingTasks());\n }, timeout);\n }\n this._callbacks.push({ doneCb: cb, timeoutId: timeoutId, updateCb: updateCb });\n }\n /**\n * Wait for the application to be stable with a timeout. If the timeout is reached before that\n * happens, the callback receives a list of the macro tasks that were pending, otherwise null.\n *\n * @param doneCb The callback to invoke when Angular is stable or the timeout expires\n * whichever comes first.\n * @param timeout Optional. The maximum time to wait for Angular to become stable. If not\n * specified, whenStable() will wait forever.\n * @param updateCb Optional. If specified, this callback will be invoked whenever the set of\n * pending macrotasks changes. If this callback returns true doneCb will not be invoked\n * and no further updates will be issued.\n */\n whenStable(doneCb, timeout, updateCb) {\n if (updateCb && !this.taskTrackingZone) {\n throw new Error('Task tracking zone is required when passing an update callback to ' +\n 'whenStable(). Is \"zone.js/plugins/task-tracking\" loaded?');\n }\n // These arguments are 'Function' above to keep the public API simple.\n this.addCallback(doneCb, timeout, updateCb);\n this._runCallbacksIfReady();\n }\n /**\n * Get the number of pending requests\n * @deprecated pending requests are now tracked with zones\n */\n getPendingRequestCount() {\n return this._pendingCount;\n }\n /**\n * Registers an application with a testability hook so that it can be tracked.\n * @param token token of application, root element\n *\n * @internal\n */\n registerApplication(token) {\n this.registry.registerApplication(token, this);\n }\n /**\n * Unregisters an application.\n * @param token token of application, root element\n *\n * @internal\n */\n unregisterApplication(token) {\n this.registry.unregisterApplication(token);\n }\n /**\n * Find providers by name\n * @param using The root element to search from\n * @param provider The name of binding variable\n * @param exactMatch Whether using exactMatch\n */\n findProviders(using, provider, exactMatch) {\n // TODO(juliemr): implement.\n return [];\n }\n static { this.ɵfac = function Testability_Factory(t) { return new (t || Testability)(ɵɵinject(NgZone), ɵɵinject(TestabilityRegistry), ɵɵinject(TESTABILITY_GETTER)); }; }\n static { this.ɵprov = /*@__PURE__*/ ɵɵdefineInjectable({ token: Testability, factory: Testability.ɵfac }); }\n}\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && setClassMetadata(Testability, [{\n type: Injectable\n }], function () { return [{ type: NgZone }, { type: TestabilityRegistry }, { type: undefined, decorators: [{\n type: Inject,\n args: [TESTABILITY_GETTER]\n }] }]; }, null); })();\n/**\n * A global registry of {@link Testability} instances for specific elements.\n * @publicApi\n */\nclass TestabilityRegistry {\n constructor() {\n /** @internal */\n this._applications = new Map();\n }\n /**\n * Registers an application with a testability hook so that it can be tracked\n * @param token token of application, root element\n * @param testability Testability hook\n */\n registerApplication(token, testability) {\n this._applications.set(token, testability);\n }\n /**\n * Unregisters an application.\n * @param token token of application, root element\n */\n unregisterApplication(token) {\n this._applications.delete(token);\n }\n /**\n * Unregisters all applications\n */\n unregisterAllApplications() {\n this._applications.clear();\n }\n /**\n * Get a testability hook associated with the application\n * @param elem root element\n */\n getTestability(elem) {\n return this._applications.get(elem) || null;\n }\n /**\n * Get all registered testabilities\n */\n getAllTestabilities() {\n return Array.from(this._applications.values());\n }\n /**\n * Get all registered applications(root elements)\n */\n getAllRootElements() {\n return Array.from(this._applications.keys());\n }\n /**\n * Find testability of a node in the Tree\n * @param elem node\n * @param findInAncestors whether finding testability in ancestors if testability was not found in\n * current node\n */\n findTestabilityInTree(elem, findInAncestors = true) {\n return _testabilityGetter?.findTestabilityInTree(this, elem, findInAncestors) ?? null;\n }\n static { this.ɵfac = function TestabilityRegistry_Factory(t) { return new (t || TestabilityRegistry)(); }; }\n static { this.ɵprov = /*@__PURE__*/ ɵɵdefineInjectable({ token: TestabilityRegistry, factory: TestabilityRegistry.ɵfac, providedIn: 'platform' }); }\n}\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && setClassMetadata(TestabilityRegistry, [{\n type: Injectable,\n args: [{ providedIn: 'platform' }]\n }], null, null); })();\n/**\n * Set the {@link GetTestability} implementation used by the Angular testing framework.\n * @publicApi\n */\nfunction setTestabilityGetter(getter) {\n _testabilityGetter = getter;\n}\nlet _testabilityGetter;\n\nlet _platformInjector = null;\n/**\n * Internal token to indicate whether having multiple bootstrapped platform should be allowed (only\n * one bootstrapped platform is allowed by default). This token helps to support SSR scenarios.\n */\nconst ALLOW_MULTIPLE_PLATFORMS = new InjectionToken('AllowMultipleToken');\n/**\n * Internal token that allows to register extra callbacks that should be invoked during the\n * `PlatformRef.destroy` operation. This token is needed to avoid a direct reference to the\n * `PlatformRef` class (i.e. register the callback via `PlatformRef.onDestroy`), thus making the\n * entire class tree-shakeable.\n */\nconst PLATFORM_DESTROY_LISTENERS = new InjectionToken('PlatformDestroyListeners');\n/**\n * A [DI token](guide/glossary#di-token \"DI token definition\") that provides a set of callbacks to\n * be called for every component that is bootstrapped.\n *\n * Each callback must take a `ComponentRef` instance and return nothing.\n *\n * `(componentRef: ComponentRef) => void`\n *\n * @publicApi\n */\nconst APP_BOOTSTRAP_LISTENER = new InjectionToken('appBootstrapListener');\nfunction compileNgModuleFactory(injector, options, moduleType) {\n ngDevMode && assertNgModuleType(moduleType);\n const moduleFactory = new NgModuleFactory(moduleType);\n // All of the logic below is irrelevant for AOT-compiled code.\n if (typeof ngJitMode !== 'undefined' && !ngJitMode) {\n return Promise.resolve(moduleFactory);\n }\n const compilerOptions = injector.get(COMPILER_OPTIONS, []).concat(options);\n // Configure the compiler to use the provided options. This call may fail when multiple modules\n // are bootstrapped with incompatible options, as a component can only be compiled according to\n // a single set of options.\n setJitOptions({\n defaultEncapsulation: _lastDefined(compilerOptions.map(opts => opts.defaultEncapsulation)),\n preserveWhitespaces: _lastDefined(compilerOptions.map(opts => opts.preserveWhitespaces)),\n });\n if (isComponentResourceResolutionQueueEmpty()) {\n return Promise.resolve(moduleFactory);\n }\n const compilerProviders = compilerOptions.flatMap((option) => option.providers ?? []);\n // In case there are no compiler providers, we just return the module factory as\n // there won't be any resource loader. This can happen with Ivy, because AOT compiled\n // modules can be still passed through \"bootstrapModule\". In that case we shouldn't\n // unnecessarily require the JIT compiler.\n if (compilerProviders.length === 0) {\n return Promise.resolve(moduleFactory);\n }\n const compiler = getCompilerFacade({\n usage: 0 /* JitCompilerUsage.Decorator */,\n kind: 'NgModule',\n type: moduleType,\n });\n const compilerInjector = Injector.create({ providers: compilerProviders });\n const resourceLoader = compilerInjector.get(compiler.ResourceLoader);\n // The resource loader can also return a string while the \"resolveComponentResources\"\n // always expects a promise. Therefore we need to wrap the returned value in a promise.\n return resolveComponentResources(url => Promise.resolve(resourceLoader.get(url)))\n .then(() => moduleFactory);\n}\nfunction publishDefaultGlobalUtils() {\n ngDevMode && publishDefaultGlobalUtils$1();\n}\n/**\n * Sets the error for an invalid write to a signal to be an Angular `RuntimeError`.\n */\nfunction publishSignalConfiguration() {\n setThrowInvalidWriteToSignalError(() => {\n throw new RuntimeError(600 /* RuntimeErrorCode.SIGNAL_WRITE_FROM_ILLEGAL_CONTEXT */, ngDevMode &&\n 'Writing to signals is not allowed in a `computed` or an `effect` by default. ' +\n 'Use `allowSignalWrites` in the `CreateEffectOptions` to enable this inside effects.');\n });\n}\nfunction isBoundToModule(cf) {\n return cf.isBoundToModule;\n}\n/**\n * A token for third-party components that can register themselves with NgProbe.\n *\n * @publicApi\n */\nclass NgProbeToken {\n constructor(name, token) {\n this.name = name;\n this.token = token;\n }\n}\n/**\n * Creates a platform.\n * Platforms must be created on launch using this function.\n *\n * @publicApi\n */\nfunction createPlatform(injector) {\n if (_platformInjector && !_platformInjector.get(ALLOW_MULTIPLE_PLATFORMS, false)) {\n throw new RuntimeError(400 /* RuntimeErrorCode.MULTIPLE_PLATFORMS */, ngDevMode &&\n 'There can be only one platform. Destroy the previous one to create a new one.');\n }\n publishDefaultGlobalUtils();\n publishSignalConfiguration();\n _platformInjector = injector;\n const platform = injector.get(PlatformRef);\n runPlatformInitializers(injector);\n return platform;\n}\n/**\n * The goal of this function is to bootstrap a platform injector,\n * but avoid referencing `PlatformRef` class.\n * This function is needed for bootstrapping a Standalone Component.\n */\nfunction createOrReusePlatformInjector(providers = []) {\n // If a platform injector already exists, it means that the platform\n // is already bootstrapped and no additional actions are required.\n if (_platformInjector)\n return _platformInjector;\n // Otherwise, setup a new platform injector and run platform initializers.\n const injector = createPlatformInjector(providers);\n _platformInjector = injector;\n publishDefaultGlobalUtils();\n publishSignalConfiguration();\n runPlatformInitializers(injector);\n return injector;\n}\nfunction runPlatformInitializers(injector) {\n const inits = injector.get(PLATFORM_INITIALIZER, null);\n inits?.forEach((init) => init());\n}\n/**\n * Internal create application API that implements the core application creation logic and optional\n * bootstrap logic.\n *\n * Platforms (such as `platform-browser`) may require different set of application and platform\n * providers for an application to function correctly. As a result, platforms may use this function\n * internally and supply the necessary providers during the bootstrap, while exposing\n * platform-specific APIs as a part of their public API.\n *\n * @returns A promise that returns an `ApplicationRef` instance once resolved.\n */\nfunction internalCreateApplication(config) {\n try {\n const { rootComponent, appProviders, platformProviders } = config;\n if ((typeof ngDevMode === 'undefined' || ngDevMode) && rootComponent !== undefined) {\n assertStandaloneComponentType(rootComponent);\n }\n const platformInjector = createOrReusePlatformInjector(platformProviders);\n // Create root application injector based on a set of providers configured at the platform\n // bootstrap level as well as providers passed to the bootstrap call by a user.\n const allAppProviders = [\n provideZoneChangeDetection(),\n ...(appProviders || []),\n ];\n const adapter = new EnvironmentNgModuleRefAdapter({\n providers: allAppProviders,\n parent: platformInjector,\n debugName: (typeof ngDevMode === 'undefined' || ngDevMode) ? 'Environment Injector' : '',\n // We skip environment initializers because we need to run them inside the NgZone, which\n // happens after we get the NgZone instance from the Injector.\n runEnvironmentInitializers: false,\n });\n const envInjector = adapter.injector;\n const ngZone = envInjector.get(NgZone);\n return ngZone.run(() => {\n envInjector.resolveInjectorInitializers();\n const exceptionHandler = envInjector.get(ErrorHandler, null);\n if ((typeof ngDevMode === 'undefined' || ngDevMode) && !exceptionHandler) {\n throw new RuntimeError(402 /* RuntimeErrorCode.MISSING_REQUIRED_INJECTABLE_IN_BOOTSTRAP */, 'No `ErrorHandler` found in the Dependency Injection tree.');\n }\n let onErrorSubscription;\n ngZone.runOutsideAngular(() => {\n onErrorSubscription = ngZone.onError.subscribe({\n next: (error) => {\n exceptionHandler.handleError(error);\n }\n });\n });\n // If the whole platform is destroyed, invoke the `destroy` method\n // for all bootstrapped applications as well.\n const destroyListener = () => envInjector.destroy();\n const onPlatformDestroyListeners = platformInjector.get(PLATFORM_DESTROY_LISTENERS);\n onPlatformDestroyListeners.add(destroyListener);\n envInjector.onDestroy(() => {\n onErrorSubscription.unsubscribe();\n onPlatformDestroyListeners.delete(destroyListener);\n });\n return _callAndReportToErrorHandler(exceptionHandler, ngZone, () => {\n const initStatus = envInjector.get(ApplicationInitStatus);\n initStatus.runInitializers();\n return initStatus.donePromise.then(() => {\n const localeId = envInjector.get(LOCALE_ID, DEFAULT_LOCALE_ID);\n setLocaleId(localeId || DEFAULT_LOCALE_ID);\n const appRef = envInjector.get(ApplicationRef);\n if (rootComponent !== undefined) {\n appRef.bootstrap(rootComponent);\n }\n return appRef;\n });\n });\n });\n }\n catch (e) {\n return Promise.reject(e);\n }\n}\n/**\n * Creates a factory for a platform. Can be used to provide or override `Providers` specific to\n * your application's runtime needs, such as `PLATFORM_INITIALIZER` and `PLATFORM_ID`.\n * @param parentPlatformFactory Another platform factory to modify. Allows you to compose factories\n * to build up configurations that might be required by different libraries or parts of the\n * application.\n * @param name Identifies the new platform factory.\n * @param providers A set of dependency providers for platforms created with the new factory.\n *\n * @publicApi\n */\nfunction createPlatformFactory(parentPlatformFactory, name, providers = []) {\n const desc = `Platform: ${name}`;\n const marker = new InjectionToken(desc);\n return (extraProviders = []) => {\n let platform = getPlatform();\n if (!platform || platform.injector.get(ALLOW_MULTIPLE_PLATFORMS, false)) {\n const platformProviders = [\n ...providers,\n ...extraProviders,\n { provide: marker, useValue: true }\n ];\n if (parentPlatformFactory) {\n parentPlatformFactory(platformProviders);\n }\n else {\n createPlatform(createPlatformInjector(platformProviders, desc));\n }\n }\n return assertPlatform(marker);\n };\n}\n/**\n * Checks that there is currently a platform that contains the given token as a provider.\n *\n * @publicApi\n */\nfunction assertPlatform(requiredToken) {\n const platform = getPlatform();\n if (!platform) {\n throw new RuntimeError(401 /* RuntimeErrorCode.PLATFORM_NOT_FOUND */, ngDevMode && 'No platform exists!');\n }\n if ((typeof ngDevMode === 'undefined' || ngDevMode) &&\n !platform.injector.get(requiredToken, null)) {\n throw new RuntimeError(400 /* RuntimeErrorCode.MULTIPLE_PLATFORMS */, 'A platform with a different configuration has been created. Please destroy it first.');\n }\n return platform;\n}\n/**\n * Helper function to create an instance of a platform injector (that maintains the 'platform'\n * scope).\n */\nfunction createPlatformInjector(providers = [], name) {\n return Injector.create({\n name,\n providers: [\n { provide: INJECTOR_SCOPE, useValue: 'platform' },\n { provide: PLATFORM_DESTROY_LISTENERS, useValue: new Set([() => _platformInjector = null]) },\n ...providers\n ],\n });\n}\n/**\n * Destroys the current Angular platform and all Angular applications on the page.\n * Destroys all modules and listeners registered with the platform.\n *\n * @publicApi\n */\nfunction destroyPlatform() {\n getPlatform()?.destroy();\n}\n/**\n * Returns the current platform.\n *\n * @publicApi\n */\nfunction getPlatform() {\n return _platformInjector?.get(PlatformRef) ?? null;\n}\n/**\n * The Angular platform is the entry point for Angular on a web page.\n * Each page has exactly one platform. Services (such as reflection) which are common\n * to every Angular application running on the page are bound in its scope.\n * A page's platform is initialized implicitly when a platform is created using a platform\n * factory such as `PlatformBrowser`, or explicitly by calling the `createPlatform()` function.\n *\n * @publicApi\n */\nclass PlatformRef {\n /** @internal */\n constructor(_injector) {\n this._injector = _injector;\n this._modules = [];\n this._destroyListeners = [];\n this._destroyed = false;\n }\n /**\n * Creates an instance of an `@NgModule` for the given platform.\n *\n * @deprecated Passing NgModule factories as the `PlatformRef.bootstrapModuleFactory` function\n * argument is deprecated. Use the `PlatformRef.bootstrapModule` API instead.\n */\n bootstrapModuleFactory(moduleFactory, options) {\n // Note: We need to create the NgZone _before_ we instantiate the module,\n // as instantiating the module creates some providers eagerly.\n // So we create a mini parent injector that just contains the new NgZone and\n // pass that as parent to the NgModuleFactory.\n const ngZone = getNgZone(options?.ngZone, getNgZoneOptions({\n eventCoalescing: options?.ngZoneEventCoalescing,\n runCoalescing: options?.ngZoneRunCoalescing\n }));\n // Note: Create ngZoneInjector within ngZone.run so that all of the instantiated services are\n // created within the Angular zone\n // Do not try to replace ngZone.run with ApplicationRef#run because ApplicationRef would then be\n // created outside of the Angular zone.\n return ngZone.run(() => {\n const moduleRef = createNgModuleRefWithProviders(moduleFactory.moduleType, this.injector, internalProvideZoneChangeDetection(() => ngZone));\n if ((typeof ngDevMode === 'undefined' || ngDevMode) &&\n moduleRef.injector.get(PROVIDED_NG_ZONE, null) !== null) {\n throw new RuntimeError(207 /* RuntimeErrorCode.PROVIDER_IN_WRONG_CONTEXT */, '`bootstrapModule` does not support `provideZoneChangeDetection`. Use `BootstrapOptions` instead.');\n }\n const exceptionHandler = moduleRef.injector.get(ErrorHandler, null);\n if ((typeof ngDevMode === 'undefined' || ngDevMode) && exceptionHandler === null) {\n throw new RuntimeError(402 /* RuntimeErrorCode.MISSING_REQUIRED_INJECTABLE_IN_BOOTSTRAP */, 'No ErrorHandler. Is platform module (BrowserModule) included?');\n }\n ngZone.runOutsideAngular(() => {\n const subscription = ngZone.onError.subscribe({\n next: (error) => {\n exceptionHandler.handleError(error);\n }\n });\n moduleRef.onDestroy(() => {\n remove(this._modules, moduleRef);\n subscription.unsubscribe();\n });\n });\n return _callAndReportToErrorHandler(exceptionHandler, ngZone, () => {\n const initStatus = moduleRef.injector.get(ApplicationInitStatus);\n initStatus.runInitializers();\n return initStatus.donePromise.then(() => {\n // If the `LOCALE_ID` provider is defined at bootstrap then we set the value for ivy\n const localeId = moduleRef.injector.get(LOCALE_ID, DEFAULT_LOCALE_ID);\n setLocaleId(localeId || DEFAULT_LOCALE_ID);\n this._moduleDoBootstrap(moduleRef);\n return moduleRef;\n });\n });\n });\n }\n /**\n * Creates an instance of an `@NgModule` for a given platform.\n *\n * @usageNotes\n * ### Simple Example\n *\n * ```typescript\n * @NgModule({\n * imports: [BrowserModule]\n * })\n * class MyModule {}\n *\n * let moduleRef = platformBrowser().bootstrapModule(MyModule);\n * ```\n *\n */\n bootstrapModule(moduleType, compilerOptions = []) {\n const options = optionsReducer({}, compilerOptions);\n return compileNgModuleFactory(this.injector, options, moduleType)\n .then(moduleFactory => this.bootstrapModuleFactory(moduleFactory, options));\n }\n _moduleDoBootstrap(moduleRef) {\n const appRef = moduleRef.injector.get(ApplicationRef);\n if (moduleRef._bootstrapComponents.length > 0) {\n moduleRef._bootstrapComponents.forEach(f => appRef.bootstrap(f));\n }\n else if (moduleRef.instance.ngDoBootstrap) {\n moduleRef.instance.ngDoBootstrap(appRef);\n }\n else {\n throw new RuntimeError(-403 /* RuntimeErrorCode.BOOTSTRAP_COMPONENTS_NOT_FOUND */, ngDevMode &&\n `The module ${stringify(moduleRef.instance.constructor)} was bootstrapped, ` +\n `but it does not declare \"@NgModule.bootstrap\" components nor a \"ngDoBootstrap\" method. ` +\n `Please define one of these.`);\n }\n this._modules.push(moduleRef);\n }\n /**\n * Registers a listener to be called when the platform is destroyed.\n */\n onDestroy(callback) {\n this._destroyListeners.push(callback);\n }\n /**\n * Retrieves the platform {@link Injector}, which is the parent injector for\n * every Angular application on the page and provides singleton providers.\n */\n get injector() {\n return this._injector;\n }\n /**\n * Destroys the current Angular platform and all Angular applications on the page.\n * Destroys all modules and listeners registered with the platform.\n */\n destroy() {\n if (this._destroyed) {\n throw new RuntimeError(404 /* RuntimeErrorCode.PLATFORM_ALREADY_DESTROYED */, ngDevMode && 'The platform has already been destroyed!');\n }\n this._modules.slice().forEach(module => module.destroy());\n this._destroyListeners.forEach(listener => listener());\n const destroyListeners = this._injector.get(PLATFORM_DESTROY_LISTENERS, null);\n if (destroyListeners) {\n destroyListeners.forEach(listener => listener());\n destroyListeners.clear();\n }\n this._destroyed = true;\n }\n /**\n * Indicates whether this instance was destroyed.\n */\n get destroyed() {\n return this._destroyed;\n }\n static { this.ɵfac = function PlatformRef_Factory(t) { return new (t || PlatformRef)(ɵɵinject(Injector)); }; }\n static { this.ɵprov = /*@__PURE__*/ ɵɵdefineInjectable({ token: PlatformRef, factory: PlatformRef.ɵfac, providedIn: 'platform' }); }\n}\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && setClassMetadata(PlatformRef, [{\n type: Injectable,\n args: [{ providedIn: 'platform' }]\n }], function () { return [{ type: Injector }]; }, null); })();\n// Transforms a set of `BootstrapOptions` (supported by the NgModule-based bootstrap APIs) ->\n// `NgZoneOptions` that are recognized by the NgZone constructor. Passing no options will result in\n// a set of default options returned.\nfunction getNgZoneOptions(options) {\n return {\n enableLongStackTrace: typeof ngDevMode === 'undefined' ? false : !!ngDevMode,\n shouldCoalesceEventChangeDetection: options?.eventCoalescing ?? false,\n shouldCoalesceRunChangeDetection: options?.runCoalescing ?? false,\n };\n}\nfunction getNgZone(ngZoneToUse = 'zone.js', options) {\n if (ngZoneToUse === 'noop') {\n return new NoopNgZone();\n }\n if (ngZoneToUse === 'zone.js') {\n return new NgZone(options);\n }\n return ngZoneToUse;\n}\nfunction _callAndReportToErrorHandler(errorHandler, ngZone, callback) {\n try {\n const result = callback();\n if (isPromise(result)) {\n return result.catch((e) => {\n ngZone.runOutsideAngular(() => errorHandler.handleError(e));\n // rethrow as the exception handler might not do it\n throw e;\n });\n }\n return result;\n }\n catch (e) {\n ngZone.runOutsideAngular(() => errorHandler.handleError(e));\n // rethrow as the exception handler might not do it\n throw e;\n }\n}\nfunction optionsReducer(dst, objs) {\n if (Array.isArray(objs)) {\n return objs.reduce(optionsReducer, dst);\n }\n return { ...dst, ...objs };\n}\n/**\n * A reference to an Angular application running on a page.\n *\n * @usageNotes\n * {@a is-stable-examples}\n * ### isStable examples and caveats\n *\n * Note two important points about `isStable`, demonstrated in the examples below:\n * - the application will never be stable if you start any kind\n * of recurrent asynchronous task when the application starts\n * (for example for a polling process, started with a `setInterval`, a `setTimeout`\n * or using RxJS operators like `interval`);\n * - the `isStable` Observable runs outside of the Angular zone.\n *\n * Let's imagine that you start a recurrent task\n * (here incrementing a counter, using RxJS `interval`),\n * and at the same time subscribe to `isStable`.\n *\n * ```\n * constructor(appRef: ApplicationRef) {\n * appRef.isStable.pipe(\n * filter(stable => stable)\n * ).subscribe(() => console.log('App is stable now');\n * interval(1000).subscribe(counter => console.log(counter));\n * }\n * ```\n * In this example, `isStable` will never emit `true`,\n * and the trace \"App is stable now\" will never get logged.\n *\n * If you want to execute something when the app is stable,\n * you have to wait for the application to be stable\n * before starting your polling process.\n *\n * ```\n * constructor(appRef: ApplicationRef) {\n * appRef.isStable.pipe(\n * first(stable => stable),\n * tap(stable => console.log('App is stable now')),\n * switchMap(() => interval(1000))\n * ).subscribe(counter => console.log(counter));\n * }\n * ```\n * In this example, the trace \"App is stable now\" will be logged\n * and then the counter starts incrementing every second.\n *\n * Note also that this Observable runs outside of the Angular zone,\n * which means that the code in the subscription\n * to this Observable will not trigger the change detection.\n *\n * Let's imagine that instead of logging the counter value,\n * you update a field of your component\n * and display it in its template.\n *\n * ```\n * constructor(appRef: ApplicationRef) {\n * appRef.isStable.pipe(\n * first(stable => stable),\n * switchMap(() => interval(1000))\n * ).subscribe(counter => this.value = counter);\n * }\n * ```\n * As the `isStable` Observable runs outside the zone,\n * the `value` field will be updated properly,\n * but the template will not be refreshed!\n *\n * You'll have to manually trigger the change detection to update the template.\n *\n * ```\n * constructor(appRef: ApplicationRef, cd: ChangeDetectorRef) {\n * appRef.isStable.pipe(\n * first(stable => stable),\n * switchMap(() => interval(1000))\n * ).subscribe(counter => {\n * this.value = counter;\n * cd.detectChanges();\n * });\n * }\n * ```\n *\n * Or make the subscription callback run inside the zone.\n *\n * ```\n * constructor(appRef: ApplicationRef, zone: NgZone) {\n * appRef.isStable.pipe(\n * first(stable => stable),\n * switchMap(() => interval(1000))\n * ).subscribe(counter => zone.run(() => this.value = counter));\n * }\n * ```\n *\n * @publicApi\n */\nclass ApplicationRef {\n constructor() {\n /** @internal */\n this._bootstrapListeners = [];\n this._runningTick = false;\n this._destroyed = false;\n this._destroyListeners = [];\n /** @internal */\n this._views = [];\n this.internalErrorHandler = inject(INTERNAL_APPLICATION_ERROR_HANDLER);\n this.zoneIsStable = inject(ZONE_IS_STABLE_OBSERVABLE);\n /**\n * Get a list of component types registered to this application.\n * This list is populated even before the component is created.\n */\n this.componentTypes = [];\n /**\n * Get a list of components registered to this application.\n */\n this.components = [];\n /**\n * Returns an Observable that indicates when the application is stable or unstable.\n */\n this.isStable = inject(InitialRenderPendingTasks)\n .hasPendingTasks.pipe(switchMap(hasPendingTasks => hasPendingTasks ? of(false) : this.zoneIsStable), distinctUntilChanged(), share());\n this._injector = inject(EnvironmentInjector);\n }\n /**\n * Indicates whether this instance was destroyed.\n */\n get destroyed() {\n return this._destroyed;\n }\n /**\n * The `EnvironmentInjector` used to create this application.\n */\n get injector() {\n return this._injector;\n }\n /**\n * Bootstrap a component onto the element identified by its selector or, optionally, to a\n * specified element.\n *\n * @usageNotes\n * ### Bootstrap process\n *\n * When bootstrapping a component, Angular mounts it onto a target DOM element\n * and kicks off automatic change detection. The target DOM element can be\n * provided using the `rootSelectorOrNode` argument.\n *\n * If the target DOM element is not provided, Angular tries to find one on a page\n * using the `selector` of the component that is being bootstrapped\n * (first matched element is used).\n *\n * ### Example\n *\n * Generally, we define the component to bootstrap in the `bootstrap` array of `NgModule`,\n * but it requires us to know the component while writing the application code.\n *\n * Imagine a situation where we have to wait for an API call to decide about the component to\n * bootstrap. We can use the `ngDoBootstrap` hook of the `NgModule` and call this method to\n * dynamically bootstrap a component.\n *\n * {@example core/ts/platform/platform.ts region='componentSelector'}\n *\n * Optionally, a component can be mounted onto a DOM element that does not match the\n * selector of the bootstrapped component.\n *\n * In the following example, we are providing a CSS selector to match the target element.\n *\n * {@example core/ts/platform/platform.ts region='cssSelector'}\n *\n * While in this example, we are providing reference to a DOM node.\n *\n * {@example core/ts/platform/platform.ts region='domNode'}\n */\n bootstrap(componentOrFactory, rootSelectorOrNode) {\n (typeof ngDevMode === 'undefined' || ngDevMode) && this.warnIfDestroyed();\n const isComponentFactory = componentOrFactory instanceof ComponentFactory$1;\n const initStatus = this._injector.get(ApplicationInitStatus);\n if (!initStatus.done) {\n const standalone = !isComponentFactory && isStandalone(componentOrFactory);\n const errorMessage = 'Cannot bootstrap as there are still asynchronous initializers running.' +\n (standalone ? '' :\n ' Bootstrap components in the `ngDoBootstrap` method of the root module.');\n throw new RuntimeError(405 /* RuntimeErrorCode.ASYNC_INITIALIZERS_STILL_RUNNING */, (typeof ngDevMode === 'undefined' || ngDevMode) && errorMessage);\n }\n let componentFactory;\n if (isComponentFactory) {\n componentFactory = componentOrFactory;\n }\n else {\n const resolver = this._injector.get(ComponentFactoryResolver$1);\n componentFactory = resolver.resolveComponentFactory(componentOrFactory);\n }\n this.componentTypes.push(componentFactory.componentType);\n // Create a factory associated with the current module if it's not bound to some other\n const ngModule = isBoundToModule(componentFactory) ? undefined : this._injector.get(NgModuleRef$1);\n const selectorOrNode = rootSelectorOrNode || componentFactory.selector;\n const compRef = componentFactory.create(Injector.NULL, [], selectorOrNode, ngModule);\n const nativeElement = compRef.location.nativeElement;\n const testability = compRef.injector.get(TESTABILITY, null);\n testability?.registerApplication(nativeElement);\n compRef.onDestroy(() => {\n this.detachView(compRef.hostView);\n remove(this.components, compRef);\n testability?.unregisterApplication(nativeElement);\n });\n this._loadComponent(compRef);\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n const _console = this._injector.get(Console);\n _console.log(`Angular is running in development mode.`);\n }\n return compRef;\n }\n /**\n * Invoke this method to explicitly process change detection and its side-effects.\n *\n * In development mode, `tick()` also performs a second change detection cycle to ensure that no\n * further changes are detected. If additional changes are picked up during this second cycle,\n * bindings in the app have side-effects that cannot be resolved in a single change detection\n * pass.\n * In this case, Angular throws an error, since an Angular application can only have one change\n * detection pass during which all change detection must complete.\n */\n tick() {\n (typeof ngDevMode === 'undefined' || ngDevMode) && this.warnIfDestroyed();\n if (this._runningTick) {\n throw new RuntimeError(101 /* RuntimeErrorCode.RECURSIVE_APPLICATION_REF_TICK */, ngDevMode && 'ApplicationRef.tick is called recursively');\n }\n try {\n this._runningTick = true;\n for (let view of this._views) {\n view.detectChanges();\n }\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n for (let view of this._views) {\n view.checkNoChanges();\n }\n }\n }\n catch (e) {\n // Attention: Don't rethrow as it could cancel subscriptions to Observables!\n this.internalErrorHandler(e);\n }\n finally {\n this._runningTick = false;\n }\n }\n /**\n * Attaches a view so that it will be dirty checked.\n * The view will be automatically detached when it is destroyed.\n * This will throw if the view is already attached to a ViewContainer.\n */\n attachView(viewRef) {\n (typeof ngDevMode === 'undefined' || ngDevMode) && this.warnIfDestroyed();\n const view = viewRef;\n this._views.push(view);\n view.attachToAppRef(this);\n }\n /**\n * Detaches a view from dirty checking again.\n */\n detachView(viewRef) {\n (typeof ngDevMode === 'undefined' || ngDevMode) && this.warnIfDestroyed();\n const view = viewRef;\n remove(this._views, view);\n view.detachFromAppRef();\n }\n _loadComponent(componentRef) {\n this.attachView(componentRef.hostView);\n this.tick();\n this.components.push(componentRef);\n // Get the listeners lazily to prevent DI cycles.\n const listeners = this._injector.get(APP_BOOTSTRAP_LISTENER, []);\n if (ngDevMode && !Array.isArray(listeners)) {\n throw new RuntimeError(-209 /* RuntimeErrorCode.INVALID_MULTI_PROVIDER */, 'Unexpected type of the `APP_BOOTSTRAP_LISTENER` token value ' +\n `(expected an array, but got ${typeof listeners}). ` +\n 'Please check that the `APP_BOOTSTRAP_LISTENER` token is configured as a ' +\n '`multi: true` provider.');\n }\n listeners.push(...this._bootstrapListeners);\n listeners.forEach((listener) => listener(componentRef));\n }\n /** @internal */\n ngOnDestroy() {\n if (this._destroyed)\n return;\n try {\n // Call all the lifecycle hooks.\n this._destroyListeners.forEach(listener => listener());\n // Destroy all registered views.\n this._views.slice().forEach((view) => view.destroy());\n }\n finally {\n // Indicate that this instance is destroyed.\n this._destroyed = true;\n // Release all references.\n this._views = [];\n this._bootstrapListeners = [];\n this._destroyListeners = [];\n }\n }\n /**\n * Registers a listener to be called when an instance is destroyed.\n *\n * @param callback A callback function to add as a listener.\n * @returns A function which unregisters a listener.\n */\n onDestroy(callback) {\n (typeof ngDevMode === 'undefined' || ngDevMode) && this.warnIfDestroyed();\n this._destroyListeners.push(callback);\n return () => remove(this._destroyListeners, callback);\n }\n /**\n * Destroys an Angular application represented by this `ApplicationRef`. Calling this function\n * will destroy the associated environment injectors as well as all the bootstrapped components\n * with their views.\n */\n destroy() {\n if (this._destroyed) {\n throw new RuntimeError(406 /* RuntimeErrorCode.APPLICATION_REF_ALREADY_DESTROYED */, ngDevMode && 'This instance of the `ApplicationRef` has already been destroyed.');\n }\n const injector = this._injector;\n // Check that this injector instance supports destroy operation.\n if (injector.destroy && !injector.destroyed) {\n // Destroying an underlying injector will trigger the `ngOnDestroy` lifecycle\n // hook, which invokes the remaining cleanup actions.\n injector.destroy();\n }\n }\n /**\n * Returns the number of attached views.\n */\n get viewCount() {\n return this._views.length;\n }\n warnIfDestroyed() {\n if ((typeof ngDevMode === 'undefined' || ngDevMode) && this._destroyed) {\n console.warn(formatRuntimeError(406 /* RuntimeErrorCode.APPLICATION_REF_ALREADY_DESTROYED */, 'This instance of the `ApplicationRef` has already been destroyed.'));\n }\n }\n static { this.ɵfac = function ApplicationRef_Factory(t) { return new (t || ApplicationRef)(); }; }\n static { this.ɵprov = /*@__PURE__*/ ɵɵdefineInjectable({ token: ApplicationRef, factory: ApplicationRef.ɵfac, providedIn: 'root' }); }\n}\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && setClassMetadata(ApplicationRef, [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], null, null); })();\nfunction remove(list, el) {\n const index = list.indexOf(el);\n if (index > -1) {\n list.splice(index, 1);\n }\n}\nfunction _lastDefined(args) {\n for (let i = args.length - 1; i >= 0; i--) {\n if (args[i] !== undefined) {\n return args[i];\n }\n }\n return undefined;\n}\n/**\n * `InjectionToken` used to configure how to call the `ErrorHandler`.\n *\n * `NgZone` is provided by default today so the default (and only) implementation for this\n * is calling `ErrorHandler.handleError` outside of the Angular zone.\n */\nconst INTERNAL_APPLICATION_ERROR_HANDLER = new InjectionToken((typeof ngDevMode === 'undefined' || ngDevMode) ? 'internal error handler' : '', {\n providedIn: 'root',\n factory: () => {\n const userErrorHandler = inject(ErrorHandler);\n return userErrorHandler.handleError.bind(undefined);\n }\n});\nfunction ngZoneApplicationErrorHandlerFactory() {\n const zone = inject(NgZone);\n const userErrorHandler = inject(ErrorHandler);\n return (e) => zone.runOutsideAngular(() => userErrorHandler.handleError(e));\n}\nclass NgZoneChangeDetectionScheduler {\n constructor() {\n this.zone = inject(NgZone);\n this.applicationRef = inject(ApplicationRef);\n }\n initialize() {\n if (this._onMicrotaskEmptySubscription) {\n return;\n }\n this._onMicrotaskEmptySubscription = this.zone.onMicrotaskEmpty.subscribe({\n next: () => {\n this.zone.run(() => {\n this.applicationRef.tick();\n });\n }\n });\n }\n ngOnDestroy() {\n this._onMicrotaskEmptySubscription?.unsubscribe();\n }\n static { this.ɵfac = function NgZoneChangeDetectionScheduler_Factory(t) { return new (t || NgZoneChangeDetectionScheduler)(); }; }\n static { this.ɵprov = /*@__PURE__*/ ɵɵdefineInjectable({ token: NgZoneChangeDetectionScheduler, factory: NgZoneChangeDetectionScheduler.ɵfac, providedIn: 'root' }); }\n}\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && setClassMetadata(NgZoneChangeDetectionScheduler, [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], null, null); })();\n/**\n * Internal token used to verify that `provideZoneChangeDetection` is not used\n * with the bootstrapModule API.\n */\nconst PROVIDED_NG_ZONE = new InjectionToken((typeof ngDevMode === 'undefined' || ngDevMode) ? 'provideZoneChangeDetection token' : '');\nfunction internalProvideZoneChangeDetection(ngZoneFactory) {\n return [\n { provide: NgZone, useFactory: ngZoneFactory },\n {\n provide: ENVIRONMENT_INITIALIZER,\n multi: true,\n useFactory: () => {\n const ngZoneChangeDetectionScheduler = inject(NgZoneChangeDetectionScheduler, { optional: true });\n if ((typeof ngDevMode === 'undefined' || ngDevMode) &&\n ngZoneChangeDetectionScheduler === null) {\n throw new RuntimeError(402 /* RuntimeErrorCode.MISSING_REQUIRED_INJECTABLE_IN_BOOTSTRAP */, `A required Injectable was not found in the dependency injection tree. ` +\n 'If you are bootstrapping an NgModule, make sure that the `BrowserModule` is imported.');\n }\n return () => ngZoneChangeDetectionScheduler.initialize();\n },\n },\n { provide: INTERNAL_APPLICATION_ERROR_HANDLER, useFactory: ngZoneApplicationErrorHandlerFactory },\n { provide: ZONE_IS_STABLE_OBSERVABLE, useFactory: isStableFactory },\n ];\n}\n/**\n * Provides `NgZone`-based change detection for the application bootstrapped using\n * `bootstrapApplication`.\n *\n * `NgZone` is already provided in applications by default. This provider allows you to configure\n * options like `eventCoalescing` in the `NgZone`.\n * This provider is not available for `platformBrowser().bootstrapModule`, which uses\n * `BootstrapOptions` instead.\n *\n * @usageNotes\n * ```typescript=\n * bootstrapApplication(MyApp, {providers: [\n * provideZoneChangeDetection({eventCoalescing: true}),\n * ]});\n * ```\n *\n * @publicApi\n * @see bootstrapApplication\n * @see NgZoneOptions\n */\nfunction provideZoneChangeDetection(options) {\n const zoneProviders = internalProvideZoneChangeDetection(() => new NgZone(getNgZoneOptions(options)));\n return makeEnvironmentProviders([\n (typeof ngDevMode === 'undefined' || ngDevMode) ? { provide: PROVIDED_NG_ZONE, useValue: true } :\n [],\n zoneProviders,\n ]);\n}\n\n/**\n * Returns whether Angular is in development mode.\n *\n * By default, this is true, unless `enableProdMode` is invoked prior to calling this method or the\n * application is built using the Angular CLI with the `optimization` option.\n * @see {@link cli/build ng build}\n *\n * @publicApi\n */\nfunction isDevMode() {\n return typeof ngDevMode === 'undefined' || !!ngDevMode;\n}\n/**\n * Disable Angular's development mode, which turns off assertions and other\n * checks within the framework.\n *\n * One important assertion this disables verifies that a change detection pass\n * does not result in additional changes to any bindings (also known as\n * unidirectional data flow).\n *\n * Using this method is discouraged as the Angular CLI will set production mode when using the\n * `optimization` option.\n * @see {@link cli/build ng build}\n *\n * @publicApi\n */\nfunction enableProdMode() {\n // The below check is there so when ngDevMode is set via terser\n // `global['ngDevMode'] = false;` is also dropped.\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n _global['ngDevMode'] = false;\n }\n}\n\n// Public API for Zone\n\n// Public API for render\n\n/**\n * Returns the NgModuleFactory with the given id (specified using [@NgModule.id\n * field](api/core/NgModule#id)), if it exists and has been loaded. Factories for NgModules that do\n * not specify an `id` cannot be retrieved. Throws if an NgModule cannot be found.\n * @publicApi\n * @deprecated Use `getNgModuleById` instead.\n */\nfunction getModuleFactory(id) {\n const type = getRegisteredNgModuleType(id);\n if (!type)\n throw noModuleError(id);\n return new NgModuleFactory(type);\n}\n/**\n * Returns the NgModule class with the given id (specified using [@NgModule.id\n * field](api/core/NgModule#id)), if it exists and has been loaded. Classes for NgModules that do\n * not specify an `id` cannot be retrieved. Throws if an NgModule cannot be found.\n * @publicApi\n */\nfunction getNgModuleById(id) {\n const type = getRegisteredNgModuleType(id);\n if (!type)\n throw noModuleError(id);\n return type;\n}\nfunction noModuleError(id) {\n return new Error(`No module with ID ${id} loaded`);\n}\n\n/**\n * Base class that provides change detection functionality.\n * A change-detection tree collects all views that are to be checked for changes.\n * Use the methods to add and remove views from the tree, initiate change-detection,\n * and explicitly mark views as _dirty_, meaning that they have changed and need to be re-rendered.\n *\n * @see [Using change detection hooks](guide/lifecycle-hooks#using-change-detection-hooks)\n * @see [Defining custom change detection](guide/lifecycle-hooks#defining-custom-change-detection)\n *\n * @usageNotes\n *\n * The following examples demonstrate how to modify default change-detection behavior\n * to perform explicit detection when needed.\n *\n * ### Use `markForCheck()` with `CheckOnce` strategy\n *\n * The following example sets the `OnPush` change-detection strategy for a component\n * (`CheckOnce`, rather than the default `CheckAlways`), then forces a second check\n * after an interval.\n *\n * <code-example path=\"core/ts/change_detect/change-detection.ts\"\n * region=\"mark-for-check\"></code-example>\n *\n * ### Detach change detector to limit how often check occurs\n *\n * The following example defines a component with a large list of read-only data\n * that is expected to change constantly, many times per second.\n * To improve performance, we want to check and update the list\n * less often than the changes actually occur. To do that, we detach\n * the component's change detector and perform an explicit local check every five seconds.\n *\n * <code-example path=\"core/ts/change_detect/change-detection.ts\" region=\"detach\"></code-example>\n *\n *\n * ### Reattaching a detached component\n *\n * The following example creates a component displaying live data.\n * The component detaches its change detector from the main change detector tree\n * when the `live` property is set to false, and reattaches it when the property\n * becomes true.\n *\n * <code-example path=\"core/ts/change_detect/change-detection.ts\" region=\"reattach\"></code-example>\n *\n * @publicApi\n */\nclass ChangeDetectorRef {\n /**\n * @internal\n * @nocollapse\n */\n static { this.__NG_ELEMENT_ID__ = injectChangeDetectorRef; }\n}\n/** Returns a ChangeDetectorRef (a.k.a. a ViewRef) */\nfunction injectChangeDetectorRef(flags) {\n return createViewRef(getCurrentTNode(), getLView(), (flags & 16 /* InternalInjectFlags.ForPipe */) === 16 /* InternalInjectFlags.ForPipe */);\n}\n/**\n * Creates a ViewRef and stores it on the injector as ChangeDetectorRef (public alias).\n *\n * @param tNode The node that is requesting a ChangeDetectorRef\n * @param lView The view to which the node belongs\n * @param isPipe Whether the view is being injected into a pipe.\n * @returns The ChangeDetectorRef to use\n */\nfunction createViewRef(tNode, lView, isPipe) {\n if (isComponentHost(tNode) && !isPipe) {\n // The LView represents the location where the component is declared.\n // Instead we want the LView for the component View and so we need to look it up.\n const componentView = getComponentLViewByIndex(tNode.index, lView); // look down\n return new ViewRef$1(componentView, componentView);\n }\n else if (tNode.type & (3 /* TNodeType.AnyRNode */ | 12 /* TNodeType.AnyContainer */ | 32 /* TNodeType.Icu */)) {\n // The LView represents the location where the injection is requested from.\n // We need to locate the containing LView (in case where the `lView` is an embedded view)\n const hostComponentView = lView[DECLARATION_COMPONENT_VIEW]; // look up\n return new ViewRef$1(hostComponentView, lView);\n }\n return null;\n}\n\n/**\n * Represents an Angular [view](guide/glossary#view \"Definition\").\n *\n * @see {@link ChangeDetectorRef#usage-notes Change detection usage}\n *\n * @publicApi\n */\nclass ViewRef extends ChangeDetectorRef {\n}\n/**\n * Represents an Angular [view](guide/glossary#view) in a view container.\n * An [embedded view](guide/glossary#view-hierarchy) can be referenced from a component\n * other than the hosting component whose template defines it, or it can be defined\n * independently by a `TemplateRef`.\n *\n * Properties of elements in a view can change, but the structure (number and order) of elements in\n * a view cannot. Change the structure of elements by inserting, moving, or\n * removing nested views in a view container.\n *\n * @see `ViewContainerRef`\n *\n * @usageNotes\n *\n * The following template breaks down into two separate `TemplateRef` instances,\n * an outer one and an inner one.\n *\n * ```\n * Count: {{items.length}}\n * <ul>\n * <li *ngFor=\"let item of items\">{{item}}</li>\n * </ul>\n * ```\n *\n * This is the outer `TemplateRef`:\n *\n * ```\n * Count: {{items.length}}\n * <ul>\n * <ng-template ngFor let-item [ngForOf]=\"items\"></ng-template>\n * </ul>\n * ```\n *\n * This is the inner `TemplateRef`:\n *\n * ```\n * <li>{{item}}</li>\n * ```\n *\n * The outer and inner `TemplateRef` instances are assembled into views as follows:\n *\n * ```\n * <!-- ViewRef: outer-0 -->\n * Count: 2\n * <ul>\n * <ng-template view-container-ref></ng-template>\n * <!-- ViewRef: inner-1 --><li>first</li><!-- /ViewRef: inner-1 -->\n * <!-- ViewRef: inner-2 --><li>second</li><!-- /ViewRef: inner-2 -->\n * </ul>\n * <!-- /ViewRef: outer-0 -->\n * ```\n * @publicApi\n */\nclass EmbeddedViewRef extends ViewRef {\n}\n\n// Public API for compiler\n\n// This file exists for easily patching NgModuleFactoryLoader in g3\nvar ng_module_factory_loader_impl = {};\n\n/**\n * @publicApi\n */\nclass DebugEventListener {\n constructor(name, callback) {\n this.name = name;\n this.callback = callback;\n }\n}\n/**\n * @publicApi\n */\nfunction asNativeElements(debugEls) {\n return debugEls.map((el) => el.nativeElement);\n}\n/**\n * @publicApi\n */\nclass DebugNode {\n constructor(nativeNode) {\n this.nativeNode = nativeNode;\n }\n /**\n * The `DebugElement` parent. Will be `null` if this is the root element.\n */\n get parent() {\n const parent = this.nativeNode.parentNode;\n return parent ? new DebugElement(parent) : null;\n }\n /**\n * The host dependency injector. For example, the root element's component instance injector.\n */\n get injector() {\n return getInjector(this.nativeNode);\n }\n /**\n * The element's own component instance, if it has one.\n */\n get componentInstance() {\n const nativeElement = this.nativeNode;\n return nativeElement &&\n (getComponent(nativeElement) || getOwningComponent(nativeElement));\n }\n /**\n * An object that provides parent context for this element. Often an ancestor component instance\n * that governs this element.\n *\n * When an element is repeated within *ngFor, the context is an `NgForOf` whose `$implicit`\n * property is the value of the row instance value. For example, the `hero` in `*ngFor=\"let hero\n * of heroes\"`.\n */\n get context() {\n return getComponent(this.nativeNode) || getContext(this.nativeNode);\n }\n /**\n * The callbacks attached to the component's @Output properties and/or the element's event\n * properties.\n */\n get listeners() {\n return getListeners(this.nativeNode).filter(listener => listener.type === 'dom');\n }\n /**\n * Dictionary of objects associated with template local variables (e.g. #foo), keyed by the local\n * variable name.\n */\n get references() {\n return getLocalRefs(this.nativeNode);\n }\n /**\n * This component's injector lookup tokens. Includes the component itself plus the tokens that the\n * component lists in its providers metadata.\n */\n get providerTokens() {\n return getInjectionTokens(this.nativeNode);\n }\n}\n/**\n * @publicApi\n *\n * @see [Component testing scenarios](guide/testing-components-scenarios)\n * @see [Basics of testing components](guide/testing-components-basics)\n * @see [Testing utility APIs](guide/testing-utility-apis)\n */\nclass DebugElement extends DebugNode {\n constructor(nativeNode) {\n ngDevMode && assertDomNode(nativeNode);\n super(nativeNode);\n }\n /**\n * The underlying DOM element at the root of the component.\n */\n get nativeElement() {\n return this.nativeNode.nodeType == Node.ELEMENT_NODE ? this.nativeNode : null;\n }\n /**\n * The element tag name, if it is an element.\n */\n get name() {\n const context = getLContext(this.nativeNode);\n const lView = context ? context.lView : null;\n if (lView !== null) {\n const tData = lView[TVIEW].data;\n const tNode = tData[context.nodeIndex];\n return tNode.value;\n }\n else {\n return this.nativeNode.nodeName;\n }\n }\n /**\n * Gets a map of property names to property values for an element.\n *\n * This map includes:\n * - Regular property bindings (e.g. `[id]=\"id\"`)\n * - Host property bindings (e.g. `host: { '[id]': \"id\" }`)\n * - Interpolated property bindings (e.g. `id=\"{{ value }}\")\n *\n * It does not include:\n * - input property bindings (e.g. `[myCustomInput]=\"value\"`)\n * - attribute bindings (e.g. `[attr.role]=\"menu\"`)\n */\n get properties() {\n const context = getLContext(this.nativeNode);\n const lView = context ? context.lView : null;\n if (lView === null) {\n return {};\n }\n const tData = lView[TVIEW].data;\n const tNode = tData[context.nodeIndex];\n const properties = {};\n // Collect properties from the DOM.\n copyDomProperties(this.nativeElement, properties);\n // Collect properties from the bindings. This is needed for animation renderer which has\n // synthetic properties which don't get reflected into the DOM.\n collectPropertyBindings(properties, tNode, lView, tData);\n return properties;\n }\n /**\n * A map of attribute names to attribute values for an element.\n */\n get attributes() {\n const attributes = {};\n const element = this.nativeElement;\n if (!element) {\n return attributes;\n }\n const context = getLContext(element);\n const lView = context ? context.lView : null;\n if (lView === null) {\n return {};\n }\n const tNodeAttrs = lView[TVIEW].data[context.nodeIndex].attrs;\n const lowercaseTNodeAttrs = [];\n // For debug nodes we take the element's attribute directly from the DOM since it allows us\n // to account for ones that weren't set via bindings (e.g. ViewEngine keeps track of the ones\n // that are set through `Renderer2`). The problem is that the browser will lowercase all names,\n // however since we have the attributes already on the TNode, we can preserve the case by going\n // through them once, adding them to the `attributes` map and putting their lower-cased name\n // into an array. Afterwards when we're going through the native DOM attributes, we can check\n // whether we haven't run into an attribute already through the TNode.\n if (tNodeAttrs) {\n let i = 0;\n while (i < tNodeAttrs.length) {\n const attrName = tNodeAttrs[i];\n // Stop as soon as we hit a marker. We only care about the regular attributes. Everything\n // else will be handled below when we read the final attributes off the DOM.\n if (typeof attrName !== 'string')\n break;\n const attrValue = tNodeAttrs[i + 1];\n attributes[attrName] = attrValue;\n lowercaseTNodeAttrs.push(attrName.toLowerCase());\n i += 2;\n }\n }\n for (const attr of element.attributes) {\n // Make sure that we don't assign the same attribute both in its\n // case-sensitive form and the lower-cased one from the browser.\n if (!lowercaseTNodeAttrs.includes(attr.name)) {\n attributes[attr.name] = attr.value;\n }\n }\n return attributes;\n }\n /**\n * The inline styles of the DOM element.\n *\n * Will be `null` if there is no `style` property on the underlying DOM element.\n *\n * @see [ElementCSSInlineStyle](https://developer.mozilla.org/en-US/docs/Web/API/ElementCSSInlineStyle/style)\n */\n get styles() {\n if (this.nativeElement && this.nativeElement.style) {\n return this.nativeElement.style;\n }\n return {};\n }\n /**\n * A map containing the class names on the element as keys.\n *\n * This map is derived from the `className` property of the DOM element.\n *\n * Note: The values of this object will always be `true`. The class key will not appear in the KV\n * object if it does not exist on the element.\n *\n * @see [Element.className](https://developer.mozilla.org/en-US/docs/Web/API/Element/className)\n */\n get classes() {\n const result = {};\n const element = this.nativeElement;\n // SVG elements return an `SVGAnimatedString` instead of a plain string for the `className`.\n const className = element.className;\n const classes = typeof className !== 'string' ? className.baseVal.split(' ') : className.split(' ');\n classes.forEach((value) => result[value] = true);\n return result;\n }\n /**\n * The `childNodes` of the DOM element as a `DebugNode` array.\n *\n * @see [Node.childNodes](https://developer.mozilla.org/en-US/docs/Web/API/Node/childNodes)\n */\n get childNodes() {\n const childNodes = this.nativeNode.childNodes;\n const children = [];\n for (let i = 0; i < childNodes.length; i++) {\n const element = childNodes[i];\n children.push(getDebugNode(element));\n }\n return children;\n }\n /**\n * The immediate `DebugElement` children. Walk the tree by descending through `children`.\n */\n get children() {\n const nativeElement = this.nativeElement;\n if (!nativeElement)\n return [];\n const childNodes = nativeElement.children;\n const children = [];\n for (let i = 0; i < childNodes.length; i++) {\n const element = childNodes[i];\n children.push(getDebugNode(element));\n }\n return children;\n }\n /**\n * @returns the first `DebugElement` that matches the predicate at any depth in the subtree.\n */\n query(predicate) {\n const results = this.queryAll(predicate);\n return results[0] || null;\n }\n /**\n * @returns All `DebugElement` matches for the predicate at any depth in the subtree.\n */\n queryAll(predicate) {\n const matches = [];\n _queryAll(this, predicate, matches, true);\n return matches;\n }\n /**\n * @returns All `DebugNode` matches for the predicate at any depth in the subtree.\n */\n queryAllNodes(predicate) {\n const matches = [];\n _queryAll(this, predicate, matches, false);\n return matches;\n }\n /**\n * Triggers the event by its name if there is a corresponding listener in the element's\n * `listeners` collection.\n *\n * If the event lacks a listener or there's some other problem, consider\n * calling `nativeElement.dispatchEvent(eventObject)`.\n *\n * @param eventName The name of the event to trigger\n * @param eventObj The _event object_ expected by the handler\n *\n * @see [Testing components scenarios](guide/testing-components-scenarios#trigger-event-handler)\n */\n triggerEventHandler(eventName, eventObj) {\n const node = this.nativeNode;\n const invokedListeners = [];\n this.listeners.forEach(listener => {\n if (listener.name === eventName) {\n const callback = listener.callback;\n callback.call(node, eventObj);\n invokedListeners.push(callback);\n }\n });\n // We need to check whether `eventListeners` exists, because it's something\n // that Zone.js only adds to `EventTarget` in browser environments.\n if (typeof node.eventListeners === 'function') {\n // Note that in Ivy we wrap event listeners with a call to `event.preventDefault` in some\n // cases. We use '__ngUnwrap__' as a special token that gives us access to the actual event\n // listener.\n node.eventListeners(eventName).forEach((listener) => {\n // In order to ensure that we can detect the special __ngUnwrap__ token described above, we\n // use `toString` on the listener and see if it contains the token. We use this approach to\n // ensure that it still worked with compiled code since it cannot remove or rename string\n // literals. We also considered using a special function name (i.e. if(listener.name ===\n // special)) but that was more cumbersome and we were also concerned the compiled code could\n // strip the name, turning the condition in to (\"\" === \"\") and always returning true.\n if (listener.toString().indexOf('__ngUnwrap__') !== -1) {\n const unwrappedListener = listener('__ngUnwrap__');\n return invokedListeners.indexOf(unwrappedListener) === -1 &&\n unwrappedListener.call(node, eventObj);\n }\n });\n }\n }\n}\nfunction copyDomProperties(element, properties) {\n if (element) {\n // Skip own properties (as those are patched)\n let obj = Object.getPrototypeOf(element);\n const NodePrototype = Node.prototype;\n while (obj !== null && obj !== NodePrototype) {\n const descriptors = Object.getOwnPropertyDescriptors(obj);\n for (let key in descriptors) {\n if (!key.startsWith('__') && !key.startsWith('on')) {\n // don't include properties starting with `__` and `on`.\n // `__` are patched values which should not be included.\n // `on` are listeners which also should not be included.\n const value = element[key];\n if (isPrimitiveValue(value)) {\n properties[key] = value;\n }\n }\n }\n obj = Object.getPrototypeOf(obj);\n }\n }\n}\nfunction isPrimitiveValue(value) {\n return typeof value === 'string' || typeof value === 'boolean' || typeof value === 'number' ||\n value === null;\n}\nfunction _queryAll(parentElement, predicate, matches, elementsOnly) {\n const context = getLContext(parentElement.nativeNode);\n const lView = context ? context.lView : null;\n if (lView !== null) {\n const parentTNode = lView[TVIEW].data[context.nodeIndex];\n _queryNodeChildren(parentTNode, lView, predicate, matches, elementsOnly, parentElement.nativeNode);\n }\n else {\n // If the context is null, then `parentElement` was either created with Renderer2 or native DOM\n // APIs.\n _queryNativeNodeDescendants(parentElement.nativeNode, predicate, matches, elementsOnly);\n }\n}\n/**\n * Recursively match the current TNode against the predicate, and goes on with the next ones.\n *\n * @param tNode the current TNode\n * @param lView the LView of this TNode\n * @param predicate the predicate to match\n * @param matches the list of positive matches\n * @param elementsOnly whether only elements should be searched\n * @param rootNativeNode the root native node on which predicate should not be matched\n */\nfunction _queryNodeChildren(tNode, lView, predicate, matches, elementsOnly, rootNativeNode) {\n ngDevMode && assertTNodeForLView(tNode, lView);\n const nativeNode = getNativeByTNodeOrNull(tNode, lView);\n // For each type of TNode, specific logic is executed.\n if (tNode.type & (3 /* TNodeType.AnyRNode */ | 8 /* TNodeType.ElementContainer */)) {\n // Case 1: the TNode is an element\n // The native node has to be checked.\n _addQueryMatch(nativeNode, predicate, matches, elementsOnly, rootNativeNode);\n if (isComponentHost(tNode)) {\n // If the element is the host of a component, then all nodes in its view have to be processed.\n // Note: the component's content (tNode.child) will be processed from the insertion points.\n const componentView = getComponentLViewByIndex(tNode.index, lView);\n if (componentView && componentView[TVIEW].firstChild) {\n _queryNodeChildren(componentView[TVIEW].firstChild, componentView, predicate, matches, elementsOnly, rootNativeNode);\n }\n }\n else {\n if (tNode.child) {\n // Otherwise, its children have to be processed.\n _queryNodeChildren(tNode.child, lView, predicate, matches, elementsOnly, rootNativeNode);\n }\n // We also have to query the DOM directly in order to catch elements inserted through\n // Renderer2. Note that this is __not__ optimal, because we're walking similar trees multiple\n // times. ViewEngine could do it more efficiently, because all the insertions go through\n // Renderer2, however that's not the case in Ivy. This approach is being used because:\n // 1. Matching the ViewEngine behavior would mean potentially introducing a dependency\n // from `Renderer2` to Ivy which could bring Ivy code into ViewEngine.\n // 2. It allows us to capture nodes that were inserted directly via the DOM.\n nativeNode && _queryNativeNodeDescendants(nativeNode, predicate, matches, elementsOnly);\n }\n // In all cases, if a dynamic container exists for this node, each view inside it has to be\n // processed.\n const nodeOrContainer = lView[tNode.index];\n if (isLContainer(nodeOrContainer)) {\n _queryNodeChildrenInContainer(nodeOrContainer, predicate, matches, elementsOnly, rootNativeNode);\n }\n }\n else if (tNode.type & 4 /* TNodeType.Container */) {\n // Case 2: the TNode is a container\n // The native node has to be checked.\n const lContainer = lView[tNode.index];\n _addQueryMatch(lContainer[NATIVE], predicate, matches, elementsOnly, rootNativeNode);\n // Each view inside the container has to be processed.\n _queryNodeChildrenInContainer(lContainer, predicate, matches, elementsOnly, rootNativeNode);\n }\n else if (tNode.type & 16 /* TNodeType.Projection */) {\n // Case 3: the TNode is a projection insertion point (i.e. a <ng-content>).\n // The nodes projected at this location all need to be processed.\n const componentView = lView[DECLARATION_COMPONENT_VIEW];\n const componentHost = componentView[T_HOST];\n const head = componentHost.projection[tNode.projection];\n if (Array.isArray(head)) {\n for (let nativeNode of head) {\n _addQueryMatch(nativeNode, predicate, matches, elementsOnly, rootNativeNode);\n }\n }\n else if (head) {\n const nextLView = componentView[PARENT];\n const nextTNode = nextLView[TVIEW].data[head.index];\n _queryNodeChildren(nextTNode, nextLView, predicate, matches, elementsOnly, rootNativeNode);\n }\n }\n else if (tNode.child) {\n // Case 4: the TNode is a view.\n _queryNodeChildren(tNode.child, lView, predicate, matches, elementsOnly, rootNativeNode);\n }\n // We don't want to go to the next sibling of the root node.\n if (rootNativeNode !== nativeNode) {\n // To determine the next node to be processed, we need to use the next or the projectionNext\n // link, depending on whether the current node has been projected.\n const nextTNode = (tNode.flags & 2 /* TNodeFlags.isProjected */) ? tNode.projectionNext : tNode.next;\n if (nextTNode) {\n _queryNodeChildren(nextTNode, lView, predicate, matches, elementsOnly, rootNativeNode);\n }\n }\n}\n/**\n * Process all TNodes in a given container.\n *\n * @param lContainer the container to be processed\n * @param predicate the predicate to match\n * @param matches the list of positive matches\n * @param elementsOnly whether only elements should be searched\n * @param rootNativeNode the root native node on which predicate should not be matched\n */\nfunction _queryNodeChildrenInContainer(lContainer, predicate, matches, elementsOnly, rootNativeNode) {\n for (let i = CONTAINER_HEADER_OFFSET; i < lContainer.length; i++) {\n const childView = lContainer[i];\n const firstChild = childView[TVIEW].firstChild;\n if (firstChild) {\n _queryNodeChildren(firstChild, childView, predicate, matches, elementsOnly, rootNativeNode);\n }\n }\n}\n/**\n * Match the current native node against the predicate.\n *\n * @param nativeNode the current native node\n * @param predicate the predicate to match\n * @param matches the list of positive matches\n * @param elementsOnly whether only elements should be searched\n * @param rootNativeNode the root native node on which predicate should not be matched\n */\nfunction _addQueryMatch(nativeNode, predicate, matches, elementsOnly, rootNativeNode) {\n if (rootNativeNode !== nativeNode) {\n const debugNode = getDebugNode(nativeNode);\n if (!debugNode) {\n return;\n }\n // Type of the \"predicate and \"matches\" array are set based on the value of\n // the \"elementsOnly\" parameter. TypeScript is not able to properly infer these\n // types with generics, so we manually cast the parameters accordingly.\n if (elementsOnly && (debugNode instanceof DebugElement) && predicate(debugNode) &&\n matches.indexOf(debugNode) === -1) {\n matches.push(debugNode);\n }\n else if (!elementsOnly && predicate(debugNode) &&\n matches.indexOf(debugNode) === -1) {\n matches.push(debugNode);\n }\n }\n}\n/**\n * Match all the descendants of a DOM node against a predicate.\n *\n * @param nativeNode the current native node\n * @param predicate the predicate to match\n * @param matches the list where matches are stored\n * @param elementsOnly whether only elements should be searched\n */\nfunction _queryNativeNodeDescendants(parentNode, predicate, matches, elementsOnly) {\n const nodes = parentNode.childNodes;\n const length = nodes.length;\n for (let i = 0; i < length; i++) {\n const node = nodes[i];\n const debugNode = getDebugNode(node);\n if (debugNode) {\n if (elementsOnly && (debugNode instanceof DebugElement) && predicate(debugNode) &&\n matches.indexOf(debugNode) === -1) {\n matches.push(debugNode);\n }\n else if (!elementsOnly && predicate(debugNode) &&\n matches.indexOf(debugNode) === -1) {\n matches.push(debugNode);\n }\n _queryNativeNodeDescendants(node, predicate, matches, elementsOnly);\n }\n }\n}\n/**\n * Iterates through the property bindings for a given node and generates\n * a map of property names to values. This map only contains property bindings\n * defined in templates, not in host bindings.\n */\nfunction collectPropertyBindings(properties, tNode, lView, tData) {\n let bindingIndexes = tNode.propertyBindings;\n if (bindingIndexes !== null) {\n for (let i = 0; i < bindingIndexes.length; i++) {\n const bindingIndex = bindingIndexes[i];\n const propMetadata = tData[bindingIndex];\n const metadataParts = propMetadata.split(INTERPOLATION_DELIMITER);\n const propertyName = metadataParts[0];\n if (metadataParts.length > 1) {\n let value = metadataParts[1];\n for (let j = 1; j < metadataParts.length - 1; j++) {\n value += renderStringify(lView[bindingIndex + j - 1]) + metadataParts[j + 1];\n }\n properties[propertyName] = value;\n }\n else {\n properties[propertyName] = lView[bindingIndex];\n }\n }\n }\n}\n// Need to keep the nodes in a global Map so that multiple angular apps are supported.\nconst _nativeNodeToDebugNode = new Map();\nconst NG_DEBUG_PROPERTY = '__ng_debug__';\n/**\n * @publicApi\n */\nfunction getDebugNode(nativeNode) {\n if (nativeNode instanceof Node) {\n if (!(nativeNode.hasOwnProperty(NG_DEBUG_PROPERTY))) {\n nativeNode[NG_DEBUG_PROPERTY] = nativeNode.nodeType == Node.ELEMENT_NODE ?\n new DebugElement(nativeNode) :\n new DebugNode(nativeNode);\n }\n return nativeNode[NG_DEBUG_PROPERTY];\n }\n return null;\n}\nfunction getAllDebugNodes() {\n return Array.from(_nativeNodeToDebugNode.values());\n}\nfunction indexDebugNode(node) {\n _nativeNodeToDebugNode.set(node.nativeNode, node);\n}\nfunction removeDebugNodeFromIndex(node) {\n _nativeNodeToDebugNode.delete(node.nativeNode);\n}\n\nclass DefaultIterableDifferFactory {\n constructor() { }\n supports(obj) {\n return isListLikeIterable(obj);\n }\n create(trackByFn) {\n return new DefaultIterableDiffer(trackByFn);\n }\n}\nconst trackByIdentity = (index, item) => item;\n/**\n * @deprecated v4.0.0 - Should not be part of public API.\n * @publicApi\n */\nclass DefaultIterableDiffer {\n constructor(trackByFn) {\n this.length = 0;\n // Keeps track of the used records at any point in time (during & across `_check()` calls)\n this._linkedRecords = null;\n // Keeps track of the removed records at any point in time during `_check()` calls.\n this._unlinkedRecords = null;\n this._previousItHead = null;\n this._itHead = null;\n this._itTail = null;\n this._additionsHead = null;\n this._additionsTail = null;\n this._movesHead = null;\n this._movesTail = null;\n this._removalsHead = null;\n this._removalsTail = null;\n // Keeps track of records where custom track by is the same, but item identity has changed\n this._identityChangesHead = null;\n this._identityChangesTail = null;\n this._trackByFn = trackByFn || trackByIdentity;\n }\n forEachItem(fn) {\n let record;\n for (record = this._itHead; record !== null; record = record._next) {\n fn(record);\n }\n }\n forEachOperation(fn) {\n let nextIt = this._itHead;\n let nextRemove = this._removalsHead;\n let addRemoveOffset = 0;\n let moveOffsets = null;\n while (nextIt || nextRemove) {\n // Figure out which is the next record to process\n // Order: remove, add, move\n const record = !nextRemove ||\n nextIt &&\n nextIt.currentIndex <\n getPreviousIndex(nextRemove, addRemoveOffset, moveOffsets) ?\n nextIt :\n nextRemove;\n const adjPreviousIndex = getPreviousIndex(record, addRemoveOffset, moveOffsets);\n const currentIndex = record.currentIndex;\n // consume the item, and adjust the addRemoveOffset and update moveDistance if necessary\n if (record === nextRemove) {\n addRemoveOffset--;\n nextRemove = nextRemove._nextRemoved;\n }\n else {\n nextIt = nextIt._next;\n if (record.previousIndex == null) {\n addRemoveOffset++;\n }\n else {\n // INVARIANT: currentIndex < previousIndex\n if (!moveOffsets)\n moveOffsets = [];\n const localMovePreviousIndex = adjPreviousIndex - addRemoveOffset;\n const localCurrentIndex = currentIndex - addRemoveOffset;\n if (localMovePreviousIndex != localCurrentIndex) {\n for (let i = 0; i < localMovePreviousIndex; i++) {\n const offset = i < moveOffsets.length ? moveOffsets[i] : (moveOffsets[i] = 0);\n const index = offset + i;\n if (localCurrentIndex <= index && index < localMovePreviousIndex) {\n moveOffsets[i] = offset + 1;\n }\n }\n const previousIndex = record.previousIndex;\n moveOffsets[previousIndex] = localCurrentIndex - localMovePreviousIndex;\n }\n }\n }\n if (adjPreviousIndex !== currentIndex) {\n fn(record, adjPreviousIndex, currentIndex);\n }\n }\n }\n forEachPreviousItem(fn) {\n let record;\n for (record = this._previousItHead; record !== null; record = record._nextPrevious) {\n fn(record);\n }\n }\n forEachAddedItem(fn) {\n let record;\n for (record = this._additionsHead; record !== null; record = record._nextAdded) {\n fn(record);\n }\n }\n forEachMovedItem(fn) {\n let record;\n for (record = this._movesHead; record !== null; record = record._nextMoved) {\n fn(record);\n }\n }\n forEachRemovedItem(fn) {\n let record;\n for (record = this._removalsHead; record !== null; record = record._nextRemoved) {\n fn(record);\n }\n }\n forEachIdentityChange(fn) {\n let record;\n for (record = this._identityChangesHead; record !== null; record = record._nextIdentityChange) {\n fn(record);\n }\n }\n diff(collection) {\n if (collection == null)\n collection = [];\n if (!isListLikeIterable(collection)) {\n throw new RuntimeError(900 /* RuntimeErrorCode.INVALID_DIFFER_INPUT */, ngDevMode &&\n `Error trying to diff '${stringify(collection)}'. Only arrays and iterables are allowed`);\n }\n if (this.check(collection)) {\n return this;\n }\n else {\n return null;\n }\n }\n onDestroy() { }\n check(collection) {\n this._reset();\n let record = this._itHead;\n let mayBeDirty = false;\n let index;\n let item;\n let itemTrackBy;\n if (Array.isArray(collection)) {\n this.length = collection.length;\n for (let index = 0; index < this.length; index++) {\n item = collection[index];\n itemTrackBy = this._trackByFn(index, item);\n if (record === null || !Object.is(record.trackById, itemTrackBy)) {\n record = this._mismatch(record, item, itemTrackBy, index);\n mayBeDirty = true;\n }\n else {\n if (mayBeDirty) {\n // TODO(misko): can we limit this to duplicates only?\n record = this._verifyReinsertion(record, item, itemTrackBy, index);\n }\n if (!Object.is(record.item, item))\n this._addIdentityChange(record, item);\n }\n record = record._next;\n }\n }\n else {\n index = 0;\n iterateListLike(collection, (item) => {\n itemTrackBy = this._trackByFn(index, item);\n if (record === null || !Object.is(record.trackById, itemTrackBy)) {\n record = this._mismatch(record, item, itemTrackBy, index);\n mayBeDirty = true;\n }\n else {\n if (mayBeDirty) {\n // TODO(misko): can we limit this to duplicates only?\n record = this._verifyReinsertion(record, item, itemTrackBy, index);\n }\n if (!Object.is(record.item, item))\n this._addIdentityChange(record, item);\n }\n record = record._next;\n index++;\n });\n this.length = index;\n }\n this._truncate(record);\n this.collection = collection;\n return this.isDirty;\n }\n /* CollectionChanges is considered dirty if it has any additions, moves, removals, or identity\n * changes.\n */\n get isDirty() {\n return this._additionsHead !== null || this._movesHead !== null ||\n this._removalsHead !== null || this._identityChangesHead !== null;\n }\n /**\n * Reset the state of the change objects to show no changes. This means set previousKey to\n * currentKey, and clear all of the queues (additions, moves, removals).\n * Set the previousIndexes of moved and added items to their currentIndexes\n * Reset the list of additions, moves and removals\n *\n * @internal\n */\n _reset() {\n if (this.isDirty) {\n let record;\n for (record = this._previousItHead = this._itHead; record !== null; record = record._next) {\n record._nextPrevious = record._next;\n }\n for (record = this._additionsHead; record !== null; record = record._nextAdded) {\n record.previousIndex = record.currentIndex;\n }\n this._additionsHead = this._additionsTail = null;\n for (record = this._movesHead; record !== null; record = record._nextMoved) {\n record.previousIndex = record.currentIndex;\n }\n this._movesHead = this._movesTail = null;\n this._removalsHead = this._removalsTail = null;\n this._identityChangesHead = this._identityChangesTail = null;\n // TODO(vicb): when assert gets supported\n // assert(!this.isDirty);\n }\n }\n /**\n * This is the core function which handles differences between collections.\n *\n * - `record` is the record which we saw at this position last time. If null then it is a new\n * item.\n * - `item` is the current item in the collection\n * - `index` is the position of the item in the collection\n *\n * @internal\n */\n _mismatch(record, item, itemTrackBy, index) {\n // The previous record after which we will append the current one.\n let previousRecord;\n if (record === null) {\n previousRecord = this._itTail;\n }\n else {\n previousRecord = record._prev;\n // Remove the record from the collection since we know it does not match the item.\n this._remove(record);\n }\n // See if we have evicted the item, which used to be at some anterior position of _itHead list.\n record = this._unlinkedRecords === null ? null : this._unlinkedRecords.get(itemTrackBy, null);\n if (record !== null) {\n // It is an item which we have evicted earlier: reinsert it back into the list.\n // But first we need to check if identity changed, so we can update in view if necessary.\n if (!Object.is(record.item, item))\n this._addIdentityChange(record, item);\n this._reinsertAfter(record, previousRecord, index);\n }\n else {\n // Attempt to see if the item is at some posterior position of _itHead list.\n record = this._linkedRecords === null ? null : this._linkedRecords.get(itemTrackBy, index);\n if (record !== null) {\n // We have the item in _itHead at/after `index` position. We need to move it forward in the\n // collection.\n // But first we need to check if identity changed, so we can update in view if necessary.\n if (!Object.is(record.item, item))\n this._addIdentityChange(record, item);\n this._moveAfter(record, previousRecord, index);\n }\n else {\n // It is a new item: add it.\n record =\n this._addAfter(new IterableChangeRecord_(item, itemTrackBy), previousRecord, index);\n }\n }\n return record;\n }\n /**\n * This check is only needed if an array contains duplicates. (Short circuit of nothing dirty)\n *\n * Use case: `[a, a]` => `[b, a, a]`\n *\n * If we did not have this check then the insertion of `b` would:\n * 1) evict first `a`\n * 2) insert `b` at `0` index.\n * 3) leave `a` at index `1` as is. <-- this is wrong!\n * 3) reinsert `a` at index 2. <-- this is wrong!\n *\n * The correct behavior is:\n * 1) evict first `a`\n * 2) insert `b` at `0` index.\n * 3) reinsert `a` at index 1.\n * 3) move `a` at from `1` to `2`.\n *\n *\n * Double check that we have not evicted a duplicate item. We need to check if the item type may\n * have already been removed:\n * The insertion of b will evict the first 'a'. If we don't reinsert it now it will be reinserted\n * at the end. Which will show up as the two 'a's switching position. This is incorrect, since a\n * better way to think of it is as insert of 'b' rather then switch 'a' with 'b' and then add 'a'\n * at the end.\n *\n * @internal\n */\n _verifyReinsertion(record, item, itemTrackBy, index) {\n let reinsertRecord = this._unlinkedRecords === null ? null : this._unlinkedRecords.get(itemTrackBy, null);\n if (reinsertRecord !== null) {\n record = this._reinsertAfter(reinsertRecord, record._prev, index);\n }\n else if (record.currentIndex != index) {\n record.currentIndex = index;\n this._addToMoves(record, index);\n }\n return record;\n }\n /**\n * Get rid of any excess {@link IterableChangeRecord_}s from the previous collection\n *\n * - `record` The first excess {@link IterableChangeRecord_}.\n *\n * @internal\n */\n _truncate(record) {\n // Anything after that needs to be removed;\n while (record !== null) {\n const nextRecord = record._next;\n this._addToRemovals(this._unlink(record));\n record = nextRecord;\n }\n if (this._unlinkedRecords !== null) {\n this._unlinkedRecords.clear();\n }\n if (this._additionsTail !== null) {\n this._additionsTail._nextAdded = null;\n }\n if (this._movesTail !== null) {\n this._movesTail._nextMoved = null;\n }\n if (this._itTail !== null) {\n this._itTail._next = null;\n }\n if (this._removalsTail !== null) {\n this._removalsTail._nextRemoved = null;\n }\n if (this._identityChangesTail !== null) {\n this._identityChangesTail._nextIdentityChange = null;\n }\n }\n /** @internal */\n _reinsertAfter(record, prevRecord, index) {\n if (this._unlinkedRecords !== null) {\n this._unlinkedRecords.remove(record);\n }\n const prev = record._prevRemoved;\n const next = record._nextRemoved;\n if (prev === null) {\n this._removalsHead = next;\n }\n else {\n prev._nextRemoved = next;\n }\n if (next === null) {\n this._removalsTail = prev;\n }\n else {\n next._prevRemoved = prev;\n }\n this._insertAfter(record, prevRecord, index);\n this._addToMoves(record, index);\n return record;\n }\n /** @internal */\n _moveAfter(record, prevRecord, index) {\n this._unlink(record);\n this._insertAfter(record, prevRecord, index);\n this._addToMoves(record, index);\n return record;\n }\n /** @internal */\n _addAfter(record, prevRecord, index) {\n this._insertAfter(record, prevRecord, index);\n if (this._additionsTail === null) {\n // TODO(vicb):\n // assert(this._additionsHead === null);\n this._additionsTail = this._additionsHead = record;\n }\n else {\n // TODO(vicb):\n // assert(_additionsTail._nextAdded === null);\n // assert(record._nextAdded === null);\n this._additionsTail = this._additionsTail._nextAdded = record;\n }\n return record;\n }\n /** @internal */\n _insertAfter(record, prevRecord, index) {\n // TODO(vicb):\n // assert(record != prevRecord);\n // assert(record._next === null);\n // assert(record._prev === null);\n const next = prevRecord === null ? this._itHead : prevRecord._next;\n // TODO(vicb):\n // assert(next != record);\n // assert(prevRecord != record);\n record._next = next;\n record._prev = prevRecord;\n if (next === null) {\n this._itTail = record;\n }\n else {\n next._prev = record;\n }\n if (prevRecord === null) {\n this._itHead = record;\n }\n else {\n prevRecord._next = record;\n }\n if (this._linkedRecords === null) {\n this._linkedRecords = new _DuplicateMap();\n }\n this._linkedRecords.put(record);\n record.currentIndex = index;\n return record;\n }\n /** @internal */\n _remove(record) {\n return this._addToRemovals(this._unlink(record));\n }\n /** @internal */\n _unlink(record) {\n if (this._linkedRecords !== null) {\n this._linkedRecords.remove(record);\n }\n const prev = record._prev;\n const next = record._next;\n // TODO(vicb):\n // assert((record._prev = null) === null);\n // assert((record._next = null) === null);\n if (prev === null) {\n this._itHead = next;\n }\n else {\n prev._next = next;\n }\n if (next === null) {\n this._itTail = prev;\n }\n else {\n next._prev = prev;\n }\n return record;\n }\n /** @internal */\n _addToMoves(record, toIndex) {\n // TODO(vicb):\n // assert(record._nextMoved === null);\n if (record.previousIndex === toIndex) {\n return record;\n }\n if (this._movesTail === null) {\n // TODO(vicb):\n // assert(_movesHead === null);\n this._movesTail = this._movesHead = record;\n }\n else {\n // TODO(vicb):\n // assert(_movesTail._nextMoved === null);\n this._movesTail = this._movesTail._nextMoved = record;\n }\n return record;\n }\n _addToRemovals(record) {\n if (this._unlinkedRecords === null) {\n this._unlinkedRecords = new _DuplicateMap();\n }\n this._unlinkedRecords.put(record);\n record.currentIndex = null;\n record._nextRemoved = null;\n if (this._removalsTail === null) {\n // TODO(vicb):\n // assert(_removalsHead === null);\n this._removalsTail = this._removalsHead = record;\n record._prevRemoved = null;\n }\n else {\n // TODO(vicb):\n // assert(_removalsTail._nextRemoved === null);\n // assert(record._nextRemoved === null);\n record._prevRemoved = this._removalsTail;\n this._removalsTail = this._removalsTail._nextRemoved = record;\n }\n return record;\n }\n /** @internal */\n _addIdentityChange(record, item) {\n record.item = item;\n if (this._identityChangesTail === null) {\n this._identityChangesTail = this._identityChangesHead = record;\n }\n else {\n this._identityChangesTail = this._identityChangesTail._nextIdentityChange = record;\n }\n return record;\n }\n}\nclass IterableChangeRecord_ {\n constructor(item, trackById) {\n this.item = item;\n this.trackById = trackById;\n this.currentIndex = null;\n this.previousIndex = null;\n /** @internal */\n this._nextPrevious = null;\n /** @internal */\n this._prev = null;\n /** @internal */\n this._next = null;\n /** @internal */\n this._prevDup = null;\n /** @internal */\n this._nextDup = null;\n /** @internal */\n this._prevRemoved = null;\n /** @internal */\n this._nextRemoved = null;\n /** @internal */\n this._nextAdded = null;\n /** @internal */\n this._nextMoved = null;\n /** @internal */\n this._nextIdentityChange = null;\n }\n}\n// A linked list of IterableChangeRecords with the same IterableChangeRecord_.item\nclass _DuplicateItemRecordList {\n constructor() {\n /** @internal */\n this._head = null;\n /** @internal */\n this._tail = null;\n }\n /**\n * Append the record to the list of duplicates.\n *\n * Note: by design all records in the list of duplicates hold the same value in record.item.\n */\n add(record) {\n if (this._head === null) {\n this._head = this._tail = record;\n record._nextDup = null;\n record._prevDup = null;\n }\n else {\n // TODO(vicb):\n // assert(record.item == _head.item ||\n // record.item is num && record.item.isNaN && _head.item is num && _head.item.isNaN);\n this._tail._nextDup = record;\n record._prevDup = this._tail;\n record._nextDup = null;\n this._tail = record;\n }\n }\n // Returns a IterableChangeRecord_ having IterableChangeRecord_.trackById == trackById and\n // IterableChangeRecord_.currentIndex >= atOrAfterIndex\n get(trackById, atOrAfterIndex) {\n let record;\n for (record = this._head; record !== null; record = record._nextDup) {\n if ((atOrAfterIndex === null || atOrAfterIndex <= record.currentIndex) &&\n Object.is(record.trackById, trackById)) {\n return record;\n }\n }\n return null;\n }\n /**\n * Remove one {@link IterableChangeRecord_} from the list of duplicates.\n *\n * Returns whether the list of duplicates is empty.\n */\n remove(record) {\n // TODO(vicb):\n // assert(() {\n // // verify that the record being removed is in the list.\n // for (IterableChangeRecord_ cursor = _head; cursor != null; cursor = cursor._nextDup) {\n // if (identical(cursor, record)) return true;\n // }\n // return false;\n //});\n const prev = record._prevDup;\n const next = record._nextDup;\n if (prev === null) {\n this._head = next;\n }\n else {\n prev._nextDup = next;\n }\n if (next === null) {\n this._tail = prev;\n }\n else {\n next._prevDup = prev;\n }\n return this._head === null;\n }\n}\nclass _DuplicateMap {\n constructor() {\n this.map = new Map();\n }\n put(record) {\n const key = record.trackById;\n let duplicates = this.map.get(key);\n if (!duplicates) {\n duplicates = new _DuplicateItemRecordList();\n this.map.set(key, duplicates);\n }\n duplicates.add(record);\n }\n /**\n * Retrieve the `value` using key. Because the IterableChangeRecord_ value may be one which we\n * have already iterated over, we use the `atOrAfterIndex` to pretend it is not there.\n *\n * Use case: `[a, b, c, a, a]` if we are at index `3` which is the second `a` then asking if we\n * have any more `a`s needs to return the second `a`.\n */\n get(trackById, atOrAfterIndex) {\n const key = trackById;\n const recordList = this.map.get(key);\n return recordList ? recordList.get(trackById, atOrAfterIndex) : null;\n }\n /**\n * Removes a {@link IterableChangeRecord_} from the list of duplicates.\n *\n * The list of duplicates also is removed from the map if it gets empty.\n */\n remove(record) {\n const key = record.trackById;\n const recordList = this.map.get(key);\n // Remove the list of duplicates when it gets empty\n if (recordList.remove(record)) {\n this.map.delete(key);\n }\n return record;\n }\n get isEmpty() {\n return this.map.size === 0;\n }\n clear() {\n this.map.clear();\n }\n}\nfunction getPreviousIndex(item, addRemoveOffset, moveOffsets) {\n const previousIndex = item.previousIndex;\n if (previousIndex === null)\n return previousIndex;\n let moveOffset = 0;\n if (moveOffsets && previousIndex < moveOffsets.length) {\n moveOffset = moveOffsets[previousIndex];\n }\n return previousIndex + addRemoveOffset + moveOffset;\n}\n\nclass DefaultKeyValueDifferFactory {\n constructor() { }\n supports(obj) {\n return obj instanceof Map || isJsObject(obj);\n }\n create() {\n return new DefaultKeyValueDiffer();\n }\n}\nclass DefaultKeyValueDiffer {\n constructor() {\n this._records = new Map();\n this._mapHead = null;\n // _appendAfter is used in the check loop\n this._appendAfter = null;\n this._previousMapHead = null;\n this._changesHead = null;\n this._changesTail = null;\n this._additionsHead = null;\n this._additionsTail = null;\n this._removalsHead = null;\n this._removalsTail = null;\n }\n get isDirty() {\n return this._additionsHead !== null || this._changesHead !== null ||\n this._removalsHead !== null;\n }\n forEachItem(fn) {\n let record;\n for (record = this._mapHead; record !== null; record = record._next) {\n fn(record);\n }\n }\n forEachPreviousItem(fn) {\n let record;\n for (record = this._previousMapHead; record !== null; record = record._nextPrevious) {\n fn(record);\n }\n }\n forEachChangedItem(fn) {\n let record;\n for (record = this._changesHead; record !== null; record = record._nextChanged) {\n fn(record);\n }\n }\n forEachAddedItem(fn) {\n let record;\n for (record = this._additionsHead; record !== null; record = record._nextAdded) {\n fn(record);\n }\n }\n forEachRemovedItem(fn) {\n let record;\n for (record = this._removalsHead; record !== null; record = record._nextRemoved) {\n fn(record);\n }\n }\n diff(map) {\n if (!map) {\n map = new Map();\n }\n else if (!(map instanceof Map || isJsObject(map))) {\n throw new RuntimeError(900 /* RuntimeErrorCode.INVALID_DIFFER_INPUT */, ngDevMode &&\n `Error trying to diff '${stringify(map)}'. Only maps and objects are allowed`);\n }\n return this.check(map) ? this : null;\n }\n onDestroy() { }\n /**\n * Check the current state of the map vs the previous.\n * The algorithm is optimised for when the keys do no change.\n */\n check(map) {\n this._reset();\n let insertBefore = this._mapHead;\n this._appendAfter = null;\n this._forEach(map, (value, key) => {\n if (insertBefore && insertBefore.key === key) {\n this._maybeAddToChanges(insertBefore, value);\n this._appendAfter = insertBefore;\n insertBefore = insertBefore._next;\n }\n else {\n const record = this._getOrCreateRecordForKey(key, value);\n insertBefore = this._insertBeforeOrAppend(insertBefore, record);\n }\n });\n // Items remaining at the end of the list have been deleted\n if (insertBefore) {\n if (insertBefore._prev) {\n insertBefore._prev._next = null;\n }\n this._removalsHead = insertBefore;\n for (let record = insertBefore; record !== null; record = record._nextRemoved) {\n if (record === this._mapHead) {\n this._mapHead = null;\n }\n this._records.delete(record.key);\n record._nextRemoved = record._next;\n record.previousValue = record.currentValue;\n record.currentValue = null;\n record._prev = null;\n record._next = null;\n }\n }\n // Make sure tails have no next records from previous runs\n if (this._changesTail)\n this._changesTail._nextChanged = null;\n if (this._additionsTail)\n this._additionsTail._nextAdded = null;\n return this.isDirty;\n }\n /**\n * Inserts a record before `before` or append at the end of the list when `before` is null.\n *\n * Notes:\n * - This method appends at `this._appendAfter`,\n * - This method updates `this._appendAfter`,\n * - The return value is the new value for the insertion pointer.\n */\n _insertBeforeOrAppend(before, record) {\n if (before) {\n const prev = before._prev;\n record._next = before;\n record._prev = prev;\n before._prev = record;\n if (prev) {\n prev._next = record;\n }\n if (before === this._mapHead) {\n this._mapHead = record;\n }\n this._appendAfter = before;\n return before;\n }\n if (this._appendAfter) {\n this._appendAfter._next = record;\n record._prev = this._appendAfter;\n }\n else {\n this._mapHead = record;\n }\n this._appendAfter = record;\n return null;\n }\n _getOrCreateRecordForKey(key, value) {\n if (this._records.has(key)) {\n const record = this._records.get(key);\n this._maybeAddToChanges(record, value);\n const prev = record._prev;\n const next = record._next;\n if (prev) {\n prev._next = next;\n }\n if (next) {\n next._prev = prev;\n }\n record._next = null;\n record._prev = null;\n return record;\n }\n const record = new KeyValueChangeRecord_(key);\n this._records.set(key, record);\n record.currentValue = value;\n this._addToAdditions(record);\n return record;\n }\n /** @internal */\n _reset() {\n if (this.isDirty) {\n let record;\n // let `_previousMapHead` contain the state of the map before the changes\n this._previousMapHead = this._mapHead;\n for (record = this._previousMapHead; record !== null; record = record._next) {\n record._nextPrevious = record._next;\n }\n // Update `record.previousValue` with the value of the item before the changes\n // We need to update all changed items (that's those which have been added and changed)\n for (record = this._changesHead; record !== null; record = record._nextChanged) {\n record.previousValue = record.currentValue;\n }\n for (record = this._additionsHead; record != null; record = record._nextAdded) {\n record.previousValue = record.currentValue;\n }\n this._changesHead = this._changesTail = null;\n this._additionsHead = this._additionsTail = null;\n this._removalsHead = null;\n }\n }\n // Add the record or a given key to the list of changes only when the value has actually changed\n _maybeAddToChanges(record, newValue) {\n if (!Object.is(newValue, record.currentValue)) {\n record.previousValue = record.currentValue;\n record.currentValue = newValue;\n this._addToChanges(record);\n }\n }\n _addToAdditions(record) {\n if (this._additionsHead === null) {\n this._additionsHead = this._additionsTail = record;\n }\n else {\n this._additionsTail._nextAdded = record;\n this._additionsTail = record;\n }\n }\n _addToChanges(record) {\n if (this._changesHead === null) {\n this._changesHead = this._changesTail = record;\n }\n else {\n this._changesTail._nextChanged = record;\n this._changesTail = record;\n }\n }\n /** @internal */\n _forEach(obj, fn) {\n if (obj instanceof Map) {\n obj.forEach(fn);\n }\n else {\n Object.keys(obj).forEach(k => fn(obj[k], k));\n }\n }\n}\nclass KeyValueChangeRecord_ {\n constructor(key) {\n this.key = key;\n this.previousValue = null;\n this.currentValue = null;\n /** @internal */\n this._nextPrevious = null;\n /** @internal */\n this._next = null;\n /** @internal */\n this._prev = null;\n /** @internal */\n this._nextAdded = null;\n /** @internal */\n this._nextRemoved = null;\n /** @internal */\n this._nextChanged = null;\n }\n}\n\nfunction defaultIterableDiffersFactory() {\n return new IterableDiffers([new DefaultIterableDifferFactory()]);\n}\n/**\n * A repository of different iterable diffing strategies used by NgFor, NgClass, and others.\n *\n * @publicApi\n */\nclass IterableDiffers {\n /** @nocollapse */\n static { this.ɵprov = ɵɵdefineInjectable({ token: IterableDiffers, providedIn: 'root', factory: defaultIterableDiffersFactory }); }\n constructor(factories) {\n this.factories = factories;\n }\n static create(factories, parent) {\n if (parent != null) {\n const copied = parent.factories.slice();\n factories = factories.concat(copied);\n }\n return new IterableDiffers(factories);\n }\n /**\n * Takes an array of {@link IterableDifferFactory} and returns a provider used to extend the\n * inherited {@link IterableDiffers} instance with the provided factories and return a new\n * {@link IterableDiffers} instance.\n *\n * @usageNotes\n * ### Example\n *\n * The following example shows how to extend an existing list of factories,\n * which will only be applied to the injector for this component and its children.\n * This step is all that's required to make a new {@link IterableDiffer} available.\n *\n * ```\n * @Component({\n * viewProviders: [\n * IterableDiffers.extend([new ImmutableListDiffer()])\n * ]\n * })\n * ```\n */\n static extend(factories) {\n return {\n provide: IterableDiffers,\n useFactory: (parent) => {\n // if parent is null, it means that we are in the root injector and we have just overridden\n // the default injection mechanism for IterableDiffers, in such a case just assume\n // `defaultIterableDiffersFactory`.\n return IterableDiffers.create(factories, parent || defaultIterableDiffersFactory());\n },\n // Dependency technically isn't optional, but we can provide a better error message this way.\n deps: [[IterableDiffers, new SkipSelf(), new Optional()]]\n };\n }\n find(iterable) {\n const factory = this.factories.find(f => f.supports(iterable));\n if (factory != null) {\n return factory;\n }\n else {\n throw new RuntimeError(901 /* RuntimeErrorCode.NO_SUPPORTING_DIFFER_FACTORY */, ngDevMode &&\n `Cannot find a differ supporting object '${iterable}' of type '${getTypeNameForDebugging(iterable)}'`);\n }\n }\n}\nfunction getTypeNameForDebugging(type) {\n return type['name'] || typeof type;\n}\n\nfunction defaultKeyValueDiffersFactory() {\n return new KeyValueDiffers([new DefaultKeyValueDifferFactory()]);\n}\n/**\n * A repository of different Map diffing strategies used by NgClass, NgStyle, and others.\n *\n * @publicApi\n */\nclass KeyValueDiffers {\n /** @nocollapse */\n static { this.ɵprov = ɵɵdefineInjectable({ token: KeyValueDiffers, providedIn: 'root', factory: defaultKeyValueDiffersFactory }); }\n constructor(factories) {\n this.factories = factories;\n }\n static create(factories, parent) {\n if (parent) {\n const copied = parent.factories.slice();\n factories = factories.concat(copied);\n }\n return new KeyValueDiffers(factories);\n }\n /**\n * Takes an array of {@link KeyValueDifferFactory} and returns a provider used to extend the\n * inherited {@link KeyValueDiffers} instance with the provided factories and return a new\n * {@link KeyValueDiffers} instance.\n *\n * @usageNotes\n * ### Example\n *\n * The following example shows how to extend an existing list of factories,\n * which will only be applied to the injector for this component and its children.\n * This step is all that's required to make a new {@link KeyValueDiffer} available.\n *\n * ```\n * @Component({\n * viewProviders: [\n * KeyValueDiffers.extend([new ImmutableMapDiffer()])\n * ]\n * })\n * ```\n */\n static extend(factories) {\n return {\n provide: KeyValueDiffers,\n useFactory: (parent) => {\n // if parent is null, it means that we are in the root injector and we have just overridden\n // the default injection mechanism for KeyValueDiffers, in such a case just assume\n // `defaultKeyValueDiffersFactory`.\n return KeyValueDiffers.create(factories, parent || defaultKeyValueDiffersFactory());\n },\n // Dependency technically isn't optional, but we can provide a better error message this way.\n deps: [[KeyValueDiffers, new SkipSelf(), new Optional()]]\n };\n }\n find(kv) {\n const factory = this.factories.find(f => f.supports(kv));\n if (factory) {\n return factory;\n }\n throw new RuntimeError(901 /* RuntimeErrorCode.NO_SUPPORTING_DIFFER_FACTORY */, ngDevMode && `Cannot find a differ supporting object '${kv}'`);\n }\n}\n\n/**\n * Structural diffing for `Object`s and `Map`s.\n */\nconst keyValDiff = [new DefaultKeyValueDifferFactory()];\n/**\n * Structural diffing for `Iterable` types such as `Array`s.\n */\nconst iterableDiff = [new DefaultIterableDifferFactory()];\nconst defaultIterableDiffers = new IterableDiffers(iterableDiff);\nconst defaultKeyValueDiffers = new KeyValueDiffers(keyValDiff);\n\n/**\n * @module\n * @description\n * Change detection enables data binding in Angular.\n */\n\n/**\n * This platform has to be included in any other platform\n *\n * @publicApi\n */\nconst platformCore = createPlatformFactory(null, 'core', []);\n\n/**\n * Re-exported by `BrowserModule`, which is included automatically in the root\n * `AppModule` when you create a new app with the CLI `new` command. Eagerly injects\n * `ApplicationRef` to instantiate it.\n *\n * @publicApi\n */\nclass ApplicationModule {\n // Inject ApplicationRef to make it eager...\n constructor(appRef) { }\n static { this.ɵfac = function ApplicationModule_Factory(t) { return new (t || ApplicationModule)(ɵɵinject(ApplicationRef)); }; }\n static { this.ɵmod = /*@__PURE__*/ ɵɵdefineNgModule({ type: ApplicationModule }); }\n static { this.ɵinj = /*@__PURE__*/ ɵɵdefineInjector({}); }\n}\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && setClassMetadata(ApplicationModule, [{\n type: NgModule\n }], function () { return [{ type: ApplicationRef }]; }, null); })();\n\n/**\n * A collection that tracks all serialized views (`ngh` DOM annotations)\n * to avoid duplication. An attempt to add a duplicate view results in the\n * collection returning the index of the previously collected serialized view.\n * This reduces the number of annotations needed for a given page.\n */\nclass SerializedViewCollection {\n constructor() {\n this.views = [];\n this.indexByContent = new Map();\n }\n add(serializedView) {\n const viewAsString = JSON.stringify(serializedView);\n if (!this.indexByContent.has(viewAsString)) {\n const index = this.views.length;\n this.views.push(serializedView);\n this.indexByContent.set(viewAsString, index);\n return index;\n }\n return this.indexByContent.get(viewAsString);\n }\n getAll() {\n return this.views;\n }\n}\n/**\n * Global counter that is used to generate a unique id for TViews\n * during the serialization process.\n */\nlet tViewSsrId = 0;\n/**\n * Generates a unique id for a given TView and returns this id.\n * The id is also stored on this instance of a TView and reused in\n * subsequent calls.\n *\n * This id is needed to uniquely identify and pick up dehydrated views\n * at runtime.\n */\nfunction getSsrId(tView) {\n if (!tView.ssrId) {\n tView.ssrId = `t${tViewSsrId++}`;\n }\n return tView.ssrId;\n}\n/**\n * Computes the number of root nodes in a given view\n * (or child nodes in a given container if a tNode is provided).\n */\nfunction calcNumRootNodes(tView, lView, tNode) {\n const rootNodes = [];\n collectNativeNodes(tView, lView, tNode, rootNodes);\n return rootNodes.length;\n}\n/**\n * Annotates all components bootstrapped in a given ApplicationRef\n * with info needed for hydration.\n *\n * @param appRef An instance of an ApplicationRef.\n * @param doc A reference to the current Document instance.\n */\nfunction annotateForHydration(appRef, doc) {\n const serializedViewCollection = new SerializedViewCollection();\n const corruptedTextNodes = new Map();\n const viewRefs = appRef._views;\n for (const viewRef of viewRefs) {\n const lView = getComponentLViewForHydration(viewRef);\n // An `lView` might be `null` if a `ViewRef` represents\n // an embedded view (not a component view).\n if (lView !== null) {\n const hostElement = lView[HOST];\n // Root elements might also be annotated with the `ngSkipHydration` attribute,\n // check if it's present before starting the serialization process.\n if (hostElement && !hostElement.hasAttribute(SKIP_HYDRATION_ATTR_NAME)) {\n const context = {\n serializedViewCollection,\n corruptedTextNodes,\n };\n annotateHostElementForHydration(hostElement, lView, context);\n insertCorruptedTextNodeMarkers(corruptedTextNodes, doc);\n }\n }\n }\n // Note: we *always* include hydration info key and a corresponding value\n // into the TransferState, even if the list of serialized views is empty.\n // This is needed as a signal to the client that the server part of the\n // hydration logic was setup and enabled correctly. Otherwise, if a client\n // hydration doesn't find a key in the transfer state - an error is produced.\n const serializedViews = serializedViewCollection.getAll();\n const transferState = appRef.injector.get(TransferState);\n transferState.set(NGH_DATA_KEY, serializedViews);\n}\n/**\n * Serializes the lContainer data into a list of SerializedView objects,\n * that represent views within this lContainer.\n *\n * @param lContainer the lContainer we are serializing\n * @param context the hydration context\n * @returns an array of the `SerializedView` objects\n */\nfunction serializeLContainer(lContainer, context) {\n const views = [];\n let lastViewAsString = '';\n for (let i = CONTAINER_HEADER_OFFSET; i < lContainer.length; i++) {\n let childLView = lContainer[i];\n // If this is a root view, get an LView for the underlying component,\n // because it contains information about the view to serialize.\n if (isRootView(childLView)) {\n childLView = childLView[HEADER_OFFSET];\n }\n const childTView = childLView[TVIEW];\n let template;\n let numRootNodes = 0;\n if (childTView.type === 1 /* TViewType.Component */) {\n template = childTView.ssrId;\n // This is a component view, thus it has only 1 root node: the component\n // host node itself (other nodes would be inside that host node).\n numRootNodes = 1;\n }\n else {\n template = getSsrId(childTView);\n numRootNodes = calcNumRootNodes(childTView, childLView, childTView.firstChild);\n }\n const view = {\n [TEMPLATE_ID]: template,\n [NUM_ROOT_NODES]: numRootNodes,\n ...serializeLView(lContainer[i], context),\n };\n // Check if the previous view has the same shape (for example, it was\n // produced by the *ngFor), in which case bump the counter on the previous\n // view instead of including the same information again.\n const currentViewAsString = JSON.stringify(view);\n if (views.length > 0 && currentViewAsString === lastViewAsString) {\n const previousView = views[views.length - 1];\n previousView[MULTIPLIER] ??= 1;\n previousView[MULTIPLIER]++;\n }\n else {\n // Record this view as most recently added.\n lastViewAsString = currentViewAsString;\n views.push(view);\n }\n }\n return views;\n}\n/**\n * Helper function to produce a node path (which navigation steps runtime logic\n * needs to take to locate a node) and stores it in the `NODES` section of the\n * current serialized view.\n */\nfunction appendSerializedNodePath(ngh, tNode, lView) {\n const noOffsetIndex = tNode.index - HEADER_OFFSET;\n ngh[NODES] ??= {};\n ngh[NODES][noOffsetIndex] = calcPathForNode(tNode, lView);\n}\n/**\n * Helper function to append information about a disconnected node.\n * This info is needed at runtime to avoid DOM lookups for this element\n * and instead, the element would be created from scratch.\n */\nfunction appendDisconnectedNodeIndex(ngh, tNode) {\n const noOffsetIndex = tNode.index - HEADER_OFFSET;\n ngh[DISCONNECTED_NODES] ??= [];\n if (!ngh[DISCONNECTED_NODES].includes(noOffsetIndex)) {\n ngh[DISCONNECTED_NODES].push(noOffsetIndex);\n }\n}\n/**\n * Serializes the lView data into a SerializedView object that will later be added\n * to the TransferState storage and referenced using the `ngh` attribute on a host\n * element.\n *\n * @param lView the lView we are serializing\n * @param context the hydration context\n * @returns the `SerializedView` object containing the data to be added to the host node\n */\nfunction serializeLView(lView, context) {\n const ngh = {};\n const tView = lView[TVIEW];\n // Iterate over DOM element references in an LView.\n for (let i = HEADER_OFFSET; i < tView.bindingStartIndex; i++) {\n const tNode = tView.data[i];\n const noOffsetIndex = i - HEADER_OFFSET;\n // Local refs (e.g. <div #localRef>) take up an extra slot in LViews\n // to store the same element. In this case, there is no information in\n // a corresponding slot in TNode data structure. If that's the case, just\n // skip this slot and move to the next one.\n if (!tNode) {\n continue;\n }\n // Check if a native node that represents a given TNode is disconnected from the DOM tree.\n // Such nodes must be excluded from the hydration (since the hydration won't be able to\n // find them), so the TNode ids are collected and used at runtime to skip the hydration.\n //\n // This situation may happen during the content projection, when some nodes don't make it\n // into one of the content projection slots (for example, when there is no default\n // <ng-content /> slot in projector component's template).\n if (isDisconnectedNode(tNode, lView) && isContentProjectedNode(tNode)) {\n appendDisconnectedNodeIndex(ngh, tNode);\n continue;\n }\n if (Array.isArray(tNode.projection)) {\n for (const projectionHeadTNode of tNode.projection) {\n // We may have `null`s in slots with no projected content.\n if (!projectionHeadTNode)\n continue;\n if (!Array.isArray(projectionHeadTNode)) {\n // If we process re-projected content (i.e. `<ng-content>`\n // appears at projection location), skip annotations for this content\n // since all DOM nodes in this projection were handled while processing\n // a parent lView, which contains those nodes.\n if (!isProjectionTNode(projectionHeadTNode) &&\n !isInSkipHydrationBlock(projectionHeadTNode)) {\n if (isDisconnectedNode(projectionHeadTNode, lView)) {\n // Check whether this node is connected, since we may have a TNode\n // in the data structure as a projection segment head, but the\n // content projection slot might be disabled (e.g.\n // <ng-content *ngIf=\"false\" />).\n appendDisconnectedNodeIndex(ngh, projectionHeadTNode);\n }\n else {\n appendSerializedNodePath(ngh, projectionHeadTNode, lView);\n }\n }\n }\n else {\n // If a value is an array, it means that we are processing a projection\n // where projectable nodes were passed in as DOM nodes (for example, when\n // calling `ViewContainerRef.createComponent(CmpA, {projectableNodes: [...]})`).\n //\n // In this scenario, nodes can come from anywhere (either created manually,\n // accessed via `document.querySelector`, etc) and may be in any state\n // (attached or detached from the DOM tree). As a result, we can not reliably\n // restore the state for such cases during hydration.\n throw unsupportedProjectionOfDomNodes(unwrapRNode(lView[i]));\n }\n }\n }\n if (isLContainer(lView[i])) {\n // Serialize information about a template.\n const embeddedTView = tNode.tView;\n if (embeddedTView !== null) {\n ngh[TEMPLATES] ??= {};\n ngh[TEMPLATES][noOffsetIndex] = getSsrId(embeddedTView);\n }\n // Serialize views within this LContainer.\n const hostNode = lView[i][HOST]; // host node of this container\n // LView[i][HOST] can be of 2 different types:\n // - either a DOM node\n // - or an array that represents an LView of a component\n if (Array.isArray(hostNode)) {\n // This is a component, serialize info about it.\n const targetNode = unwrapRNode(hostNode);\n if (!targetNode.hasAttribute(SKIP_HYDRATION_ATTR_NAME)) {\n annotateHostElementForHydration(targetNode, hostNode, context);\n }\n }\n ngh[CONTAINERS] ??= {};\n ngh[CONTAINERS][noOffsetIndex] = serializeLContainer(lView[i], context);\n }\n else if (Array.isArray(lView[i])) {\n // This is a component, annotate the host node with an `ngh` attribute.\n const targetNode = unwrapRNode(lView[i][HOST]);\n if (!targetNode.hasAttribute(SKIP_HYDRATION_ATTR_NAME)) {\n annotateHostElementForHydration(targetNode, lView[i], context);\n }\n }\n else {\n // <ng-container> case\n if (tNode.type & 8 /* TNodeType.ElementContainer */) {\n // An <ng-container> is represented by the number of\n // top-level nodes. This information is needed to skip over\n // those nodes to reach a corresponding anchor node (comment node).\n ngh[ELEMENT_CONTAINERS] ??= {};\n ngh[ELEMENT_CONTAINERS][noOffsetIndex] = calcNumRootNodes(tView, lView, tNode.child);\n }\n else if (tNode.type & 16 /* TNodeType.Projection */) {\n // Current TNode represents an `<ng-content>` slot, thus it has no\n // DOM elements associated with it, so the **next sibling** node would\n // not be able to find an anchor. In this case, use full path instead.\n let nextTNode = tNode.next;\n // Skip over all `<ng-content>` slots in a row.\n while (nextTNode !== null && (nextTNode.type & 16 /* TNodeType.Projection */)) {\n nextTNode = nextTNode.next;\n }\n if (nextTNode && !isInSkipHydrationBlock(nextTNode)) {\n // Handle a tNode after the `<ng-content>` slot.\n appendSerializedNodePath(ngh, nextTNode, lView);\n }\n }\n else {\n // Handle cases where text nodes can be lost after DOM serialization:\n // 1. When there is an *empty text node* in DOM: in this case, this\n // node would not make it into the serialized string and as a result,\n // this node wouldn't be created in a browser. This would result in\n // a mismatch during the hydration, where the runtime logic would expect\n // a text node to be present in live DOM, but no text node would exist.\n // Example: `<span>{{ name }}</span>` when the `name` is an empty string.\n // This would result in `<span></span>` string after serialization and\n // in a browser only the `span` element would be created. To resolve that,\n // an extra comment node is appended in place of an empty text node and\n // that special comment node is replaced with an empty text node *before*\n // hydration.\n // 2. When there are 2 consecutive text nodes present in the DOM.\n // Example: `<div>Hello <ng-container *ngIf=\"true\">world</ng-container></div>`.\n // In this scenario, the live DOM would look like this:\n // <div>#text('Hello ') #text('world') #comment('container')</div>\n // Serialized string would look like this: `<div>Hello world<!--container--></div>`.\n // The live DOM in a browser after that would be:\n // <div>#text('Hello world') #comment('container')</div>\n // Notice how 2 text nodes are now \"merged\" into one. This would cause hydration\n // logic to fail, since it'd expect 2 text nodes being present, not one.\n // To fix this, we insert a special comment node in between those text nodes, so\n // serialized representation is: `<div>Hello <!--ngtns-->world<!--container--></div>`.\n // This forces browser to create 2 text nodes separated by a comment node.\n // Before running a hydration process, this special comment node is removed, so the\n // live DOM has exactly the same state as it was before serialization.\n if (tNode.type & 1 /* TNodeType.Text */) {\n const rNode = unwrapRNode(lView[i]);\n // Collect this node as required special annotation only when its\n // contents is empty. Otherwise, such text node would be present on\n // the client after server-side rendering and no special handling needed.\n if (rNode.textContent === '') {\n context.corruptedTextNodes.set(rNode, \"ngetn\" /* TextNodeMarker.EmptyNode */);\n }\n else if (rNode.nextSibling?.nodeType === Node.TEXT_NODE) {\n context.corruptedTextNodes.set(rNode, \"ngtns\" /* TextNodeMarker.Separator */);\n }\n }\n if (tNode.projectionNext && tNode.projectionNext !== tNode.next &&\n !isInSkipHydrationBlock(tNode.projectionNext)) {\n // Check if projection next is not the same as next, in which case\n // the node would not be found at creation time at runtime and we\n // need to provide a location for that node.\n appendSerializedNodePath(ngh, tNode.projectionNext, lView);\n }\n }\n }\n }\n return ngh;\n}\n/**\n * Determines whether a component instance that is represented\n * by a given LView uses `ViewEncapsulation.ShadowDom`.\n */\nfunction componentUsesShadowDomEncapsulation(lView) {\n const instance = lView[CONTEXT];\n return instance?.constructor ?\n getComponentDef(instance.constructor)?.encapsulation === ViewEncapsulation$1.ShadowDom :\n false;\n}\n/**\n * Annotates component host element for hydration:\n * - by either adding the `ngh` attribute and collecting hydration-related info\n * for the serialization and transferring to the client\n * - or by adding the `ngSkipHydration` attribute in case Angular detects that\n * component contents is not compatible with hydration.\n *\n * @param element The Host element to be annotated\n * @param lView The associated LView\n * @param context The hydration context\n */\nfunction annotateHostElementForHydration(element, lView, context) {\n const renderer = lView[RENDERER];\n if ((lView[FLAGS] & 32 /* LViewFlags.HasI18n */) === 32 /* LViewFlags.HasI18n */ ||\n componentUsesShadowDomEncapsulation(lView)) {\n // Attach the skip hydration attribute if this component:\n // - either has i18n blocks, since hydrating such blocks is not yet supported\n // - or uses ShadowDom view encapsulation, since Domino doesn't support\n // shadow DOM, so we can not guarantee that client and server representations\n // would exactly match\n renderer.setAttribute(element, SKIP_HYDRATION_ATTR_NAME, '');\n }\n else {\n const ngh = serializeLView(lView, context);\n const index = context.serializedViewCollection.add(ngh);\n renderer.setAttribute(element, NGH_ATTR_NAME, index.toString());\n }\n}\n/**\n * Physically inserts the comment nodes to ensure empty text nodes and adjacent\n * text node separators are preserved after server serialization of the DOM.\n * These get swapped back for empty text nodes or separators once hydration happens\n * on the client.\n *\n * @param corruptedTextNodes The Map of text nodes to be replaced with comments\n * @param doc The document\n */\nfunction insertCorruptedTextNodeMarkers(corruptedTextNodes, doc) {\n for (const [textNode, marker] of corruptedTextNodes) {\n textNode.after(doc.createComment(marker));\n }\n}\n/**\n * Detects whether a given TNode represents a node that\n * is being content projected.\n */\nfunction isContentProjectedNode(tNode) {\n let currentTNode = tNode;\n while (currentTNode != null) {\n // If we come across a component host node in parent nodes -\n // this TNode is in the content projection section.\n if (isComponentHost(currentTNode)) {\n return true;\n }\n currentTNode = currentTNode.parent;\n }\n return false;\n}\n/**\n * Check whether a given node exists, but is disconnected from the DOM.\n *\n * Note: we leverage the fact that we have this information available in the DOM emulation\n * layer (in Domino) for now. Longer-term solution should not rely on the DOM emulation and\n * only use internal data structures and state to compute this information.\n */\nfunction isDisconnectedNode(tNode, lView) {\n return !(tNode.type & 16 /* TNodeType.Projection */) && !!lView[tNode.index] &&\n !unwrapRNode(lView[tNode.index]).isConnected;\n}\n\n/**\n * Indicates whether the hydration-related code was added,\n * prevents adding it multiple times.\n */\nlet isHydrationSupportEnabled = false;\n/**\n * Defines a period of time that Angular waits for the `ApplicationRef.isStable` to emit `true`.\n * If there was no event with the `true` value during this time, Angular reports a warning.\n */\nconst APPLICATION_IS_STABLE_TIMEOUT = 10000;\n/**\n * Brings the necessary hydration code in tree-shakable manner.\n * The code is only present when the `provideClientHydration` is\n * invoked. Otherwise, this code is tree-shaken away during the\n * build optimization step.\n *\n * This technique allows us to swap implementations of methods so\n * tree shaking works appropriately when hydration is disabled or\n * enabled. It brings in the appropriate version of the method that\n * supports hydration only when enabled.\n */\nfunction enableHydrationRuntimeSupport() {\n if (!isHydrationSupportEnabled) {\n isHydrationSupportEnabled = true;\n enableRetrieveHydrationInfoImpl();\n enableLocateOrCreateElementNodeImpl();\n enableLocateOrCreateTextNodeImpl();\n enableLocateOrCreateElementContainerNodeImpl();\n enableLocateOrCreateContainerAnchorImpl();\n enableLocateOrCreateContainerRefImpl();\n enableFindMatchingDehydratedViewImpl();\n enableApplyRootElementTransformImpl();\n }\n}\n/**\n * Detects whether the code is invoked in a browser.\n * Later on, this check should be replaced with a tree-shakable\n * flag (e.g. `!isServer`).\n */\nfunction isBrowser() {\n return inject(PLATFORM_ID) === 'browser';\n}\n/**\n * Outputs a message with hydration stats into a console.\n */\nfunction printHydrationStats(injector) {\n const console = injector.get(Console);\n const message = `Angular hydrated ${ngDevMode.hydratedComponents} component(s) ` +\n `and ${ngDevMode.hydratedNodes} node(s), ` +\n `${ngDevMode.componentsSkippedHydration} component(s) were skipped. ` +\n `Note: this feature is in Developer Preview mode. ` +\n `Learn more at https://angular.io/guide/hydration.`;\n // tslint:disable-next-line:no-console\n console.log(message);\n}\n/**\n * Returns a Promise that is resolved when an application becomes stable.\n */\nfunction whenStable(appRef, injector) {\n const isStablePromise = appRef.isStable.pipe(first((isStable) => isStable)).toPromise();\n if (typeof ngDevMode !== 'undefined' && ngDevMode) {\n const timeoutTime = APPLICATION_IS_STABLE_TIMEOUT;\n const console = injector.get(Console);\n const ngZone = injector.get(NgZone);\n // The following call should not and does not prevent the app to become stable\n // We cannot use RxJS timer here because the app would remain unstable.\n // This also avoids an extra change detection cycle.\n const timeoutId = ngZone.runOutsideAngular(() => {\n return setTimeout(() => logWarningOnStableTimedout(timeoutTime, console), timeoutTime);\n });\n isStablePromise.finally(() => clearTimeout(timeoutId));\n }\n return isStablePromise.then(() => { });\n}\n/**\n * Returns a set of providers required to setup hydration support\n * for an application that is server side rendered. This function is\n * included into the `provideClientHydration` public API function from\n * the `platform-browser` package.\n *\n * The function sets up an internal flag that would be recognized during\n * the server side rendering time as well, so there is no need to\n * configure or change anything in NgUniversal to enable the feature.\n */\nfunction withDomHydration() {\n return makeEnvironmentProviders([\n {\n provide: IS_HYDRATION_DOM_REUSE_ENABLED,\n useFactory: () => {\n let isEnabled = true;\n if (isBrowser()) {\n // On the client, verify that the server response contains\n // hydration annotations. Otherwise, keep hydration disabled.\n const transferState = inject(TransferState, { optional: true });\n isEnabled = !!transferState?.get(NGH_DATA_KEY, null);\n if (!isEnabled && (typeof ngDevMode !== 'undefined' && ngDevMode)) {\n const console = inject(Console);\n const message = formatRuntimeError(-505 /* RuntimeErrorCode.MISSING_HYDRATION_ANNOTATIONS */, 'Angular hydration was requested on the client, but there was no ' +\n 'serialized information present in the server response, ' +\n 'thus hydration was not enabled. ' +\n 'Make sure the `provideClientHydration()` is included into the list ' +\n 'of providers in the server part of the application configuration.');\n // tslint:disable-next-line:no-console\n console.warn(message);\n }\n }\n if (isEnabled) {\n inject(ENABLED_SSR_FEATURES).add('hydration');\n }\n return isEnabled;\n },\n },\n {\n provide: ENVIRONMENT_INITIALIZER,\n useValue: () => {\n // Since this function is used across both server and client,\n // make sure that the runtime code is only added when invoked\n // on the client. Moving forward, the `isBrowser` check should\n // be replaced with a tree-shakable alternative (e.g. `isServer`\n // flag).\n if (isBrowser() && inject(IS_HYDRATION_DOM_REUSE_ENABLED)) {\n enableHydrationRuntimeSupport();\n }\n },\n multi: true,\n },\n {\n provide: PRESERVE_HOST_CONTENT,\n useFactory: () => {\n // Preserve host element content only in a browser\n // environment and when hydration is configured properly.\n // On a server, an application is rendered from scratch,\n // so the host content needs to be empty.\n return isBrowser() && inject(IS_HYDRATION_DOM_REUSE_ENABLED);\n }\n },\n {\n provide: APP_BOOTSTRAP_LISTENER,\n useFactory: () => {\n if (isBrowser() && inject(IS_HYDRATION_DOM_REUSE_ENABLED)) {\n const appRef = inject(ApplicationRef);\n const injector = inject(Injector);\n return () => {\n whenStable(appRef, injector).then(() => {\n // Wait until an app becomes stable and cleanup all views that\n // were not claimed during the application bootstrap process.\n // The timing is similar to when we start the serialization process\n // on the server.\n cleanupDehydratedViews(appRef);\n if (typeof ngDevMode !== 'undefined' && ngDevMode) {\n printHydrationStats(injector);\n }\n });\n };\n }\n return () => { }; // noop\n },\n multi: true,\n }\n ]);\n}\n/**\n *\n * @param time The time in ms until the stable timedout warning message is logged\n */\nfunction logWarningOnStableTimedout(time, console) {\n const message = `Angular hydration expected the ApplicationRef.isStable() to emit \\`true\\`, but it ` +\n `didn't happen within ${time}ms. Angular hydration logic depends on the application becoming stable ` +\n `as a signal to complete hydration process.`;\n console.warn(formatRuntimeError(-506 /* RuntimeErrorCode.HYDRATION_STABLE_TIMEDOUT */, message));\n}\n\n/** Coerces a value (typically a string) to a boolean. */\nfunction coerceToBoolean(value) {\n return typeof value === 'boolean' ? value : (value != null && value !== 'false');\n}\n\n/**\n * Compiles a partial directive declaration object into a full directive definition object.\n *\n * @codeGenApi\n */\nfunction ɵɵngDeclareDirective(decl) {\n const compiler = getCompilerFacade({ usage: 1 /* JitCompilerUsage.PartialDeclaration */, kind: 'directive', type: decl.type });\n return compiler.compileDirectiveDeclaration(angularCoreEnv, `ng:///${decl.type.name}/ɵfac.js`, decl);\n}\n/**\n * Evaluates the class metadata declaration.\n *\n * @codeGenApi\n */\nfunction ɵɵngDeclareClassMetadata(decl) {\n setClassMetadata(decl.type, decl.decorators, decl.ctorParameters ?? null, decl.propDecorators ?? null);\n}\n/**\n * Compiles a partial component declaration object into a full component definition object.\n *\n * @codeGenApi\n */\nfunction ɵɵngDeclareComponent(decl) {\n const compiler = getCompilerFacade({ usage: 1 /* JitCompilerUsage.PartialDeclaration */, kind: 'component', type: decl.type });\n return compiler.compileComponentDeclaration(angularCoreEnv, `ng:///${decl.type.name}/ɵcmp.js`, decl);\n}\n/**\n * Compiles a partial pipe declaration object into a full pipe definition object.\n *\n * @codeGenApi\n */\nfunction ɵɵngDeclareFactory(decl) {\n const compiler = getCompilerFacade({\n usage: 1 /* JitCompilerUsage.PartialDeclaration */,\n kind: getFactoryKind(decl.target),\n type: decl.type\n });\n return compiler.compileFactoryDeclaration(angularCoreEnv, `ng:///${decl.type.name}/ɵfac.js`, decl);\n}\nfunction getFactoryKind(target) {\n switch (target) {\n case FactoryTarget.Directive:\n return 'directive';\n case FactoryTarget.Component:\n return 'component';\n case FactoryTarget.Injectable:\n return 'injectable';\n case FactoryTarget.Pipe:\n return 'pipe';\n case FactoryTarget.NgModule:\n return 'NgModule';\n }\n}\n/**\n * Compiles a partial injectable declaration object into a full injectable definition object.\n *\n * @codeGenApi\n */\nfunction ɵɵngDeclareInjectable(decl) {\n const compiler = getCompilerFacade({ usage: 1 /* JitCompilerUsage.PartialDeclaration */, kind: 'injectable', type: decl.type });\n return compiler.compileInjectableDeclaration(angularCoreEnv, `ng:///${decl.type.name}/ɵprov.js`, decl);\n}\n/**\n * Compiles a partial injector declaration object into a full injector definition object.\n *\n * @codeGenApi\n */\nfunction ɵɵngDeclareInjector(decl) {\n const compiler = getCompilerFacade({ usage: 1 /* JitCompilerUsage.PartialDeclaration */, kind: 'NgModule', type: decl.type });\n return compiler.compileInjectorDeclaration(angularCoreEnv, `ng:///${decl.type.name}/ɵinj.js`, decl);\n}\n/**\n * Compiles a partial NgModule declaration object into a full NgModule definition object.\n *\n * @codeGenApi\n */\nfunction ɵɵngDeclareNgModule(decl) {\n const compiler = getCompilerFacade({ usage: 1 /* JitCompilerUsage.PartialDeclaration */, kind: 'NgModule', type: decl.type });\n return compiler.compileNgModuleDeclaration(angularCoreEnv, `ng:///${decl.type.name}/ɵmod.js`, decl);\n}\n/**\n * Compiles a partial pipe declaration object into a full pipe definition object.\n *\n * @codeGenApi\n */\nfunction ɵɵngDeclarePipe(decl) {\n const compiler = getCompilerFacade({ usage: 1 /* JitCompilerUsage.PartialDeclaration */, kind: 'pipe', type: decl.type });\n return compiler.compilePipeDeclaration(angularCoreEnv, `ng:///${decl.type.name}/ɵpipe.js`, decl);\n}\n\n// clang-format off\n// clang-format on\n\n// clang-format off\n// clang-format on\n\n// This file exists to allow the set of reactivity exports to be modified in g3, as these APIs are\n\n/**\n * Creates a `ComponentRef` instance based on provided component type and a set of options.\n *\n * @usageNotes\n *\n * The example below demonstrates how the `createComponent` function can be used\n * to create an instance of a ComponentRef dynamically and attach it to an ApplicationRef,\n * so that it gets included into change detection cycles.\n *\n * Note: the example uses standalone components, but the function can also be used for\n * non-standalone components (declared in an NgModule) as well.\n *\n * ```typescript\n * @Component({\n * standalone: true,\n * template: `Hello {{ name }}!`\n * })\n * class HelloComponent {\n * name = 'Angular';\n * }\n *\n * @Component({\n * standalone: true,\n * template: `<div id=\"hello-component-host\"></div>`\n * })\n * class RootComponent {}\n *\n * // Bootstrap an application.\n * const applicationRef = await bootstrapApplication(RootComponent);\n *\n * // Locate a DOM node that would be used as a host.\n * const host = document.getElementById('hello-component-host');\n *\n * // Get an `EnvironmentInjector` instance from the `ApplicationRef`.\n * const environmentInjector = applicationRef.injector;\n *\n * // We can now create a `ComponentRef` instance.\n * const componentRef = createComponent(HelloComponent, {host, environmentInjector});\n *\n * // Last step is to register the newly created ref using the `ApplicationRef` instance\n * // to include the component view into change detection cycles.\n * applicationRef.attachView(componentRef.hostView);\n * ```\n *\n * @param component Component class reference.\n * @param options Set of options to use:\n * * `environmentInjector`: An `EnvironmentInjector` instance to be used for the component, see\n * additional info about it [here](/guide/standalone-components#environment-injectors).\n * * `hostElement` (optional): A DOM node that should act as a host node for the component. If not\n * provided, Angular creates one based on the tag name used in the component selector (and falls\n * back to using `div` if selector doesn't have tag name info).\n * * `elementInjector` (optional): An `ElementInjector` instance, see additional info about it\n * [here](/guide/hierarchical-dependency-injection#elementinjector).\n * * `projectableNodes` (optional): A list of DOM nodes that should be projected through\n * [`<ng-content>`](api/core/ng-content) of the new component instance.\n * @returns ComponentRef instance that represents a given Component.\n *\n * @publicApi\n */\nfunction createComponent(component, options) {\n ngDevMode && assertComponentDef(component);\n const componentDef = getComponentDef(component);\n const elementInjector = options.elementInjector || getNullInjector();\n const factory = new ComponentFactory(componentDef);\n return factory.create(elementInjector, options.projectableNodes, options.hostElement, options.environmentInjector);\n}\n/**\n * Creates an object that allows to retrieve component metadata.\n *\n * @usageNotes\n *\n * The example below demonstrates how to use the function and how the fields\n * of the returned object map to the component metadata.\n *\n * ```typescript\n * @Component({\n * standalone: true,\n * selector: 'foo-component',\n * template: `\n * <ng-content></ng-content>\n * <ng-content select=\"content-selector-a\"></ng-content>\n * `,\n * })\n * class FooComponent {\n * @Input('inputName') inputPropName: string;\n * @Output('outputName') outputPropName = new EventEmitter<void>();\n * }\n *\n * const mirror = reflectComponentType(FooComponent);\n * expect(mirror.type).toBe(FooComponent);\n * expect(mirror.selector).toBe('foo-component');\n * expect(mirror.isStandalone).toBe(true);\n * expect(mirror.inputs).toEqual([{propName: 'inputName', templateName: 'inputPropName'}]);\n * expect(mirror.outputs).toEqual([{propName: 'outputName', templateName: 'outputPropName'}]);\n * expect(mirror.ngContentSelectors).toEqual([\n * '*', // first `<ng-content>` in a template, the selector defaults to `*`\n * 'content-selector-a' // second `<ng-content>` in a template\n * ]);\n * ```\n *\n * @param component Component class reference.\n * @returns An object that allows to retrieve component metadata.\n *\n * @publicApi\n */\nfunction reflectComponentType(component) {\n const componentDef = getComponentDef(component);\n if (!componentDef)\n return null;\n const factory = new ComponentFactory(componentDef);\n return {\n get selector() {\n return factory.selector;\n },\n get type() {\n return factory.componentType;\n },\n get inputs() {\n return factory.inputs;\n },\n get outputs() {\n return factory.outputs;\n },\n get ngContentSelectors() {\n return factory.ngContentSelectors;\n },\n get isStandalone() {\n return componentDef.standalone;\n },\n };\n}\n\n/**\n * Merge multiple application configurations from left to right.\n *\n * @param configs Two or more configurations to be merged.\n * @returns A merged [ApplicationConfig](api/core/ApplicationConfig).\n *\n * @publicApi\n */\nfunction mergeApplicationConfig(...configs) {\n return configs.reduce((prev, curr) => {\n return Object.assign(prev, curr, { providers: [...prev.providers, ...curr.providers] });\n }, { providers: [] });\n}\n\n/**\n * @module\n * @description\n * Entry point from which you should import all public core APIs.\n */\nif (typeof ngDevMode !== 'undefined' && ngDevMode) {\n // This helper is to give a reasonable error message to people upgrading to v9 that have not yet\n // installed `@angular/localize` in their app.\n // tslint:disable-next-line: no-toplevel-property-access\n _global.$localize = _global.$localize || function () {\n throw new Error('It looks like your application or one of its dependencies is using i18n.\\n' +\n 'Angular 9 introduced a global `$localize()` function that needs to be loaded.\\n' +\n 'Please run `ng add @angular/localize` from the Angular CLI.\\n' +\n '(For non-CLI projects, add `import \\'@angular/localize/init\\';` to your `polyfills.ts` file.\\n' +\n 'For server-side rendering applications add the import to your `main.server.ts` file.)');\n };\n}\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\n// This file only reexports content of the `src` folder. Keep it that way.\n\n/* This file is not used to build this module. It is only used during editing\n * by the TypeScript language service and during build for verification. `ngc`\n * replaces this file with production index.ts when it rewrites private symbol\n * names.\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { ANIMATION_MODULE_TYPE, APP_BOOTSTRAP_LISTENER, APP_ID, APP_INITIALIZER, ApplicationInitStatus, ApplicationModule, ApplicationRef, Attribute, COMPILER_OPTIONS, CSP_NONCE, CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy, ChangeDetectorRef, Compiler, CompilerFactory, Component, ComponentFactory$1 as ComponentFactory, ComponentFactoryResolver$1 as ComponentFactoryResolver, ComponentRef$1 as ComponentRef, ContentChild, ContentChildren, DEFAULT_CURRENCY_CODE, DebugElement, DebugEventListener, DebugNode, DefaultIterableDiffer, DestroyRef, Directive, ENVIRONMENT_INITIALIZER, ElementRef, EmbeddedViewRef, EnvironmentInjector, ErrorHandler, EventEmitter, Host, HostBinding, HostListener, INJECTOR, Inject, InjectFlags, Injectable, InjectionToken, Injector, Input, IterableDiffers, KeyValueDiffers, LOCALE_ID, MissingTranslationStrategy, ModuleWithComponentFactories, NO_ERRORS_SCHEMA, NgModule, NgModuleFactory$1 as NgModuleFactory, NgModuleRef$1 as NgModuleRef, NgProbeToken, NgZone, Optional, Output, PACKAGE_ROOT_URL, PLATFORM_ID, PLATFORM_INITIALIZER, Pipe, PlatformRef, Query, QueryList, Renderer2, RendererFactory2, RendererStyleFlags2, Sanitizer, SecurityContext, Self, SimpleChange, SkipSelf, TRANSLATIONS, TRANSLATIONS_FORMAT, TemplateRef, Testability, TestabilityRegistry, TransferState, Type, VERSION, Version, ViewChild, ViewChildren, ViewContainerRef, ViewEncapsulation$1 as ViewEncapsulation, ViewRef, asNativeElements, assertInInjectionContext, assertPlatform, computed, createComponent, createEnvironmentInjector, createNgModule, createNgModuleRef, createPlatform, createPlatformFactory, defineInjectable, destroyPlatform, effect, enableProdMode, forwardRef, getDebugNode, getModuleFactory, getNgModuleById, getPlatform, importProvidersFrom, inject, isDevMode, isSignal, isStandalone, makeEnvironmentProviders, makeStateKey, mergeApplicationConfig, platformCore, provideZoneChangeDetection, reflectComponentType, resolveForwardRef, runInInjectionContext, setTestabilityGetter, signal, untracked, ALLOW_MULTIPLE_PLATFORMS as ɵALLOW_MULTIPLE_PLATFORMS, ComponentFactory$1 as ɵComponentFactory, Console as ɵConsole, DEFAULT_LOCALE_ID as ɵDEFAULT_LOCALE_ID, ENABLED_SSR_FEATURES as ɵENABLED_SSR_FEATURES, INJECTOR_SCOPE as ɵINJECTOR_SCOPE, IS_HYDRATION_DOM_REUSE_ENABLED as ɵIS_HYDRATION_DOM_REUSE_ENABLED, InitialRenderPendingTasks as ɵInitialRenderPendingTasks, LContext as ɵLContext, LifecycleHooksFeature as ɵLifecycleHooksFeature, LocaleDataIndex as ɵLocaleDataIndex, NG_COMP_DEF as ɵNG_COMP_DEF, NG_DIR_DEF as ɵNG_DIR_DEF, NG_ELEMENT_ID as ɵNG_ELEMENT_ID, NG_INJ_DEF as ɵNG_INJ_DEF, NG_MOD_DEF as ɵNG_MOD_DEF, NG_PIPE_DEF as ɵNG_PIPE_DEF, NG_PROV_DEF as ɵNG_PROV_DEF, NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR as ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR, NO_CHANGE as ɵNO_CHANGE, NgModuleFactory as ɵNgModuleFactory, NoopNgZone as ɵNoopNgZone, ReflectionCapabilities as ɵReflectionCapabilities, ComponentFactory as ɵRender3ComponentFactory, ComponentRef as ɵRender3ComponentRef, NgModuleRef as ɵRender3NgModuleRef, RuntimeError as ɵRuntimeError, TESTABILITY as ɵTESTABILITY, TESTABILITY_GETTER as ɵTESTABILITY_GETTER, ViewRef$1 as ɵViewRef, XSS_SECURITY_URL as ɵXSS_SECURITY_URL, _sanitizeHtml as ɵ_sanitizeHtml, _sanitizeUrl as ɵ_sanitizeUrl, allowSanitizationBypassAndThrow as ɵallowSanitizationBypassAndThrow, annotateForHydration as ɵannotateForHydration, bypassSanitizationTrustHtml as ɵbypassSanitizationTrustHtml, bypassSanitizationTrustResourceUrl as ɵbypassSanitizationTrustResourceUrl, bypassSanitizationTrustScript as ɵbypassSanitizationTrustScript, bypassSanitizationTrustStyle as ɵbypassSanitizationTrustStyle, bypassSanitizationTrustUrl as ɵbypassSanitizationTrustUrl, clearResolutionOfComponentResourcesQueue as ɵclearResolutionOfComponentResourcesQueue, coerceToBoolean as ɵcoerceToBoolean, compileComponent as ɵcompileComponent, compileDirective as ɵcompileDirective, compileNgModule as ɵcompileNgModule, compileNgModuleDefs as ɵcompileNgModuleDefs, compileNgModuleFactory as ɵcompileNgModuleFactory, compilePipe as ɵcompilePipe, convertToBitFlags as ɵconvertToBitFlags, createInjector as ɵcreateInjector, defaultIterableDiffers as ɵdefaultIterableDiffers, defaultKeyValueDiffers as ɵdefaultKeyValueDiffers, detectChanges as ɵdetectChanges, devModeEqual as ɵdevModeEqual, findLocaleData as ɵfindLocaleData, flushModuleScopingQueueAsMuchAsPossible as ɵflushModuleScopingQueueAsMuchAsPossible, formatRuntimeError as ɵformatRuntimeError, getDebugNode as ɵgetDebugNode, getDirectives as ɵgetDirectives, getHostElement as ɵgetHostElement, getInjectableDef as ɵgetInjectableDef, getLContext as ɵgetLContext, getLocaleCurrencyCode as ɵgetLocaleCurrencyCode, getLocalePluralCase as ɵgetLocalePluralCase, getSanitizationBypassType as ɵgetSanitizationBypassType, ɵgetUnknownElementStrictMode, ɵgetUnknownPropertyStrictMode, _global as ɵglobal, injectChangeDetectorRef as ɵinjectChangeDetectorRef, internalCreateApplication as ɵinternalCreateApplication, isBoundToModule as ɵisBoundToModule, isEnvironmentProviders as ɵisEnvironmentProviders, isInjectable as ɵisInjectable, isNgModule as ɵisNgModule, isPromise as ɵisPromise, isSubscribable as ɵisSubscribable, noSideEffects as ɵnoSideEffects, patchComponentDefWithScope as ɵpatchComponentDefWithScope, publishDefaultGlobalUtils$1 as ɵpublishDefaultGlobalUtils, publishGlobalUtil as ɵpublishGlobalUtil, registerLocaleData as ɵregisterLocaleData, resetCompiledComponents as ɵresetCompiledComponents, resetJitOptions as ɵresetJitOptions, resolveComponentResources as ɵresolveComponentResources, setAllowDuplicateNgModuleIdsForTest as ɵsetAllowDuplicateNgModuleIdsForTest, setAlternateWeakRefImpl as ɵsetAlternateWeakRefImpl, setClassMetadata as ɵsetClassMetadata, setCurrentInjector as ɵsetCurrentInjector, setDocument as ɵsetDocument, setLocaleId as ɵsetLocaleId, ɵsetUnknownElementStrictMode, ɵsetUnknownPropertyStrictMode, store as ɵstore, stringify as ɵstringify, transitiveScopesFor as ɵtransitiveScopesFor, unregisterAllLocaleData as ɵunregisterLocaleData, unwrapSafeValue as ɵunwrapSafeValue, withDomHydration as ɵwithDomHydration, ɵɵCopyDefinitionFeature, FactoryTarget as ɵɵFactoryTarget, ɵɵHostDirectivesFeature, ɵɵInheritDefinitionFeature, ɵɵNgOnChangesFeature, ɵɵProvidersFeature, ɵɵStandaloneFeature, ɵɵadvance, ɵɵattribute, ɵɵattributeInterpolate1, ɵɵattributeInterpolate2, ɵɵattributeInterpolate3, ɵɵattributeInterpolate4, ɵɵattributeInterpolate5, ɵɵattributeInterpolate6, ɵɵattributeInterpolate7, ɵɵattributeInterpolate8, ɵɵattributeInterpolateV, ɵɵclassMap, ɵɵclassMapInterpolate1, ɵɵclassMapInterpolate2, ɵɵclassMapInterpolate3, ɵɵclassMapInterpolate4, ɵɵclassMapInterpolate5, ɵɵclassMapInterpolate6, ɵɵclassMapInterpolate7, ɵɵclassMapInterpolate8, ɵɵclassMapInterpolateV, ɵɵclassProp, ɵɵcontentQuery, ɵɵdefineComponent, ɵɵdefineDirective, ɵɵdefineInjectable, ɵɵdefineInjector, ɵɵdefineNgModule, ɵɵdefinePipe, ɵɵdirectiveInject, ɵɵdisableBindings, ɵɵelement, ɵɵelementContainer, ɵɵelementContainerEnd, ɵɵelementContainerStart, ɵɵelementEnd, ɵɵelementStart, ɵɵenableBindings, ɵɵgetCurrentView, ɵɵgetInheritedFactory, ɵɵhostProperty, ɵɵi18n, ɵɵi18nApply, ɵɵi18nAttributes, ɵɵi18nEnd, ɵɵi18nExp, ɵɵi18nPostprocess, ɵɵi18nStart, ɵɵinject, ɵɵinjectAttribute, ɵɵinvalidFactory, ɵɵinvalidFactoryDep, ɵɵlistener, ɵɵloadQuery, ɵɵnamespaceHTML, ɵɵnamespaceMathML, ɵɵnamespaceSVG, ɵɵnextContext, ɵɵngDeclareClassMetadata, ɵɵngDeclareComponent, ɵɵngDeclareDirective, ɵɵngDeclareFactory, ɵɵngDeclareInjectable, ɵɵngDeclareInjector, ɵɵngDeclareNgModule, ɵɵngDeclarePipe, ɵɵpipe, ɵɵpipeBind1, ɵɵpipeBind2, ɵɵpipeBind3, ɵɵpipeBind4, ɵɵpipeBindV, ɵɵprojection, ɵɵprojectionDef, ɵɵproperty, ɵɵpropertyInterpolate, ɵɵpropertyInterpolate1, ɵɵpropertyInterpolate2, ɵɵpropertyInterpolate3, ɵɵpropertyInterpolate4, ɵɵpropertyInterpolate5, ɵɵpropertyInterpolate6, ɵɵpropertyInterpolate7, ɵɵpropertyInterpolate8, ɵɵpropertyInterpolateV, ɵɵpureFunction0, ɵɵpureFunction1, ɵɵpureFunction2, ɵɵpureFunction3, ɵɵpureFunction4, ɵɵpureFunction5, ɵɵpureFunction6, ɵɵpureFunction7, ɵɵpureFunction8, ɵɵpureFunctionV, ɵɵqueryRefresh, ɵɵreference, registerNgModuleType as ɵɵregisterNgModuleType, ɵɵresetView, ɵɵresolveBody, ɵɵresolveDocument, ɵɵresolveWindow, ɵɵrestoreView, ɵɵsanitizeHtml, ɵɵsanitizeResourceUrl, ɵɵsanitizeScript, ɵɵsanitizeStyle, ɵɵsanitizeUrl, ɵɵsanitizeUrlOrResourceUrl, ɵɵsetComponentScope, ɵɵsetNgModuleScope, ɵɵstyleMap, ɵɵstyleMapInterpolate1, ɵɵstyleMapInterpolate2, ɵɵstyleMapInterpolate3, ɵɵstyleMapInterpolate4, ɵɵstyleMapInterpolate5, ɵɵstyleMapInterpolate6, ɵɵstyleMapInterpolate7, ɵɵstyleMapInterpolate8, ɵɵstyleMapInterpolateV, ɵɵstyleProp, ɵɵstylePropInterpolate1, ɵɵstylePropInterpolate2, ɵɵstylePropInterpolate3, ɵɵstylePropInterpolate4, ɵɵstylePropInterpolate5, ɵɵstylePropInterpolate6, ɵɵstylePropInterpolate7, ɵɵstylePropInterpolate8, ɵɵstylePropInterpolateV, ɵɵsyntheticHostListener, ɵɵsyntheticHostProperty, ɵɵtemplate, ɵɵtemplateRefExtractor, ɵɵtext, ɵɵtextInterpolate, ɵɵtextInterpolate1, ɵɵtextInterpolate2, ɵɵtextInterpolate3, ɵɵtextInterpolate4, ɵɵtextInterpolate5, ɵɵtextInterpolate6, ɵɵtextInterpolate7, ɵɵtextInterpolate8, ɵɵtextInterpolateV, ɵɵtrustConstantHtml, ɵɵtrustConstantResourceUrl, ɵɵvalidateIframeAttribute, ɵɵviewQuery };\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import toPropertyKey from \"./toPropertyKey.js\";\nexport default function _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import defineProperty from \"./defineProperty.js\";\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n return keys;\n}\nexport default function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}","export default function _iterableToArrayLimit(arr, i) {\n var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"];\n if (null != _i) {\n var _s,\n _e,\n _x,\n _r,\n _arr = [],\n _n = !0,\n _d = !1;\n try {\n if (_x = (_i = _i.call(arr)).next, 0 === i) {\n if (Object(_i) !== _i) return;\n _n = !1;\n } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);\n } catch (err) {\n _d = !0, _e = err;\n } finally {\n try {\n if (!_n && null != _i[\"return\"] && (_r = _i[\"return\"](), Object(_r) !== _r)) return;\n } finally {\n if (_d) throw _e;\n }\n }\n return _arr;\n }\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56]} \ No newline at end of file diff --git a/6844.232b0adce74e1ee4.js b/6844.232b0adce74e1ee4.js new file mode 100644 index 0000000..090db84 --- /dev/null +++ b/6844.232b0adce74e1ee4.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[6844,3022,5106,7376,5187,4091,1217,7208,4968,6785,4155,1084,6896,7920,6980,5113,1328,5749,4309,8024,8513,5555,4967,8017,8116,5873,8061,4680,2111,3326,8596,8352,5501,882,3098,8467,6578,4093,8608,8443,7328,6441,1821,4902,5915,3278,5391,6748,1551,6763,4151,5069,7432,8071,6618],{50253:(T,y,l)=>{l.d(y,{x:()=>Z});var m=l(95106),g=l(78069),h=l(48047),v=l(4089),p=l(20265),D=l(24582),u=l(28694),f=l(90833),E=l(17714),O=(0,l(27543).d)(function(b){return function(){b(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),I=l(39663),t=l(12309),Z=function(){var b=function(Y){(0,D.Z)(j,Y);var P=(0,u.Z)(j);function j(){var A;return(0,g.Z)(this,j),(A=P.call(this)).closed=!1,A.currentObservers=null,A.observers=[],A.isStopped=!1,A.hasError=!1,A.thrownError=null,A}return(0,h.Z)(j,[{key:"lift",value:function(c){var M=new H(this,this);return M.operator=c,M}},{key:"_throwIfClosed",value:function(){if(this.closed)throw new O}},{key:"next",value:function(c){var M=this;(0,t.x)(function(){if(M._throwIfClosed(),!M.isStopped){M.currentObservers||(M.currentObservers=Array.from(M.observers));var C,V=(0,m.Z)(M.currentObservers);try{for(V.s();!(C=V.n()).done;)C.value.next(c)}catch(K){V.e(K)}finally{V.f()}}})}},{key:"error",value:function(c){var M=this;(0,t.x)(function(){if(M._throwIfClosed(),!M.isStopped){M.hasError=M.isStopped=!0,M.thrownError=c;for(var V=M.observers;V.length;)V.shift().error(c)}})}},{key:"complete",value:function(){var c=this;(0,t.x)(function(){if(c._throwIfClosed(),!c.isStopped){c.isStopped=!0;for(var M=c.observers;M.length;)M.shift().complete()}})}},{key:"unsubscribe",value:function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}},{key:"observed",get:function(){var c;return(null===(c=this.observers)||void 0===c?void 0:c.length)>0}},{key:"_trySubscribe",value:function(c){return this._throwIfClosed(),(0,v.Z)((0,p.Z)(j.prototype),"_trySubscribe",this).call(this,c)}},{key:"_subscribe",value:function(c){return this._throwIfClosed(),this._checkFinalizedStatuses(c),this._innerSubscribe(c)}},{key:"_innerSubscribe",value:function(c){var M=this,k=this.observers;return this.hasError||this.isStopped?E.Lc:(this.currentObservers=null,k.push(c),new E.w0(function(){M.currentObservers=null,(0,I.P)(k,c)}))}},{key:"_checkFinalizedStatuses",value:function(c){var C=this.isStopped;this.hasError?c.error(this.thrownError):C&&c.complete()}},{key:"asObservable",value:function(){var c=new f.y;return c.source=this,c}}]),j}(f.y);return b.create=function(Y,P){return new H(Y,P)},b}(),H=function(b){(0,D.Z)(P,b);var Y=(0,u.Z)(P);function P(j,A){var c;return(0,g.Z)(this,P),(c=Y.call(this)).destination=j,c.source=A,c}return(0,h.Z)(P,[{key:"next",value:function(A){var c,M;null===(M=null===(c=this.destination)||void 0===c?void 0:c.next)||void 0===M||M.call(c,A)}},{key:"error",value:function(A){var c,M;null===(M=null===(c=this.destination)||void 0===c?void 0:c.error)||void 0===M||M.call(c,A)}},{key:"complete",value:function(){var A,c;null===(c=null===(A=this.destination)||void 0===A?void 0:A.complete)||void 0===c||c.call(A)}},{key:"_subscribe",value:function(A){var c,M;return null!==(M=null===(c=this.source)||void 0===c?void 0:c.subscribe(A))&&void 0!==M?M:E.Lc}}]),P}(Z)},59319:(T,y,l)=>{l.d(y,{z:()=>p});var m=l(1308),h=l(10420),v=l(37400);function p(){for(var D=arguments.length,u=new Array(D),f=0;f<D;f++)u[f]=arguments[f];return function g(){return(0,m.J)(1)}()((0,v.D)(u,(0,h.yG)(u)))}},20591:(T,y,l)=>{l.d(y,{E:()=>g});var g=new(l(90833).y)(function(p){return p.complete()})},37400:(T,y,l)=>{l.d(y,{D:()=>V});var m=l(54987),g=l(8728),h=l(41944);function v(C){var k=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,h.e)(function(K,F){F.add(C.schedule(function(){return K.subscribe(F)},k))})}var u=l(90833),E=l(67321),R=l(92971),O=l(1817);function t(C,k){if(!C)throw new Error("Iterable cannot be null");return new u.y(function(K){(0,O.f)(K,k,function(){var F=C[Symbol.asyncIterator]();(0,O.f)(K,k,function(){F.next().then(function(L){L.done?K.complete():K.next(L.value)})},0,!0)})})}var Z=l(21331),H=l(79548),b=l(99806),Y=l(23433),P=l(80470),j=l(27785),A=l(20181);function V(C,k){return k?function M(C,k){if(null!=C){if((0,Z.c)(C))return function p(C,k){return(0,m.Xf)(C).pipe(v(k),(0,g.Q)(k))}(C,k);if((0,b.z)(C))return function f(C,k){return new u.y(function(K){var F=0;return k.schedule(function(){F===C.length?K.complete():(K.next(C[F++]),K.closed||this.schedule())})})}(C,k);if((0,H.t)(C))return function D(C,k){return(0,m.Xf)(C).pipe(v(k),(0,g.Q)(k))}(C,k);if((0,P.D)(C))return t(C,k);if((0,Y.T)(C))return function I(C,k){return new u.y(function(K){var F;return(0,O.f)(K,k,function(){F=C[E.h](),(0,O.f)(K,k,function(){var L,N;try{var ee=F.next();L=ee.value,N=ee.done}catch(ue){return void K.error(ue)}N?K.complete():K.next(L)},0,!0)}),function(){return(0,R.m)(F?.return)&&F.return()}})}(C,k);if((0,A.L)(C))return function c(C,k){return t((0,A.Q)(C),k)}(C,k)}throw(0,j.z)(C)}(C,k):(0,m.Xf)(C)}},36646:(T,y,l)=>{l.d(y,{T:()=>D});var m=l(1308),g=l(54987),h=l(20591),v=l(10420),p=l(37400);function D(){for(var u=arguments.length,f=new Array(u),E=0;E<u;E++)f[E]=arguments[E];var R=(0,v.yG)(f),O=(0,v._6)(f,1/0),I=f;return I.length?1===I.length?(0,g.Xf)(I[0]):(0,m.J)(O)((0,p.D)(I,R)):h.E}},10745:(T,y,l)=>{l.d(y,{of:()=>h});var m=l(10420),g=l(37400);function h(){for(var v=arguments.length,p=new Array(v),D=0;D<v;D++)p[D]=arguments[D];var u=(0,m.yG)(p);return(0,g.D)(p,u)}},93945:(T,y,l)=>{l.d(y,{Q:()=>R,x:()=>E});var m=l(78069),g=l(48047),h=l(35488),v=l(24582),p=l(28694),D=l(4089),u=l(20265);function E(O,I,t,Z,H){return new R(O,I,t,Z,H)}var R=function(O){(0,v.Z)(t,O);var I=(0,p.Z)(t);function t(Z,H,b,Y,P,j){var A,c,M,V;return(0,m.Z)(this,t),(V=I.call(this,Z)).onFinalize=P,V.shouldUnsubscribe=j,V._next=H?function(C){try{H(C)}catch(k){Z.error(k)}}:(0,D.Z)((A=(0,h.Z)(V),(0,u.Z)(t.prototype)),"_next",A),V._error=Y?function(C){try{Y(C)}catch(k){Z.error(k)}finally{this.unsubscribe()}}:(0,D.Z)((c=(0,h.Z)(V),(0,u.Z)(t.prototype)),"_error",c),V._complete=b?function(){try{b()}catch(C){Z.error(C)}finally{this.unsubscribe()}}:(0,D.Z)((M=(0,h.Z)(V),(0,u.Z)(t.prototype)),"_complete",M),V}return(0,g.Z)(t,[{key:"unsubscribe",value:function(){var H;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var b=this.closed;(0,D.Z)((0,u.Z)(t.prototype),"unsubscribe",this).call(this),!b&&(null===(H=this.onFinalize)||void 0===H||H.call(this))}}}]),t}(l(5463).Lv)},60116:(T,y,l)=>{l.d(y,{h:()=>h});var m=l(41944),g=l(93945);function h(v,p){return(0,m.e)(function(D,u){var f=0;D.subscribe((0,g.x)(u,function(E){return v.call(p,E,f++)&&u.next(E)}))})}},50635:(T,y,l)=>{l.d(y,{U:()=>h});var m=l(41944),g=l(93945);function h(v,p){return(0,m.e)(function(D,u){var f=0;D.subscribe((0,g.x)(u,function(E){u.next(v.call(p,E,f++))}))})}},1308:(T,y,l)=>{l.d(y,{J:()=>h});var m=l(49525),g=l(89173);function h(){return(0,m.z)(g.y,arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0)}},49525:(T,y,l)=>{l.d(y,{z:()=>f});var m=l(50635),g=l(54987),h=l(41944),v=l(1817),p=l(93945),u=l(92971);function f(E,R){var O=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;return(0,u.m)(R)?f(function(I,t){return(0,m.U)(function(Z,H){return R(I,Z,t,H)})((0,g.Xf)(E(I,t)))},O):("number"==typeof R&&(O=R),(0,h.e)(function(I,t){return function D(E,R,O,I,t,Z,H,b){var Y=[],P=0,j=0,A=!1,c=function(){A&&!Y.length&&!P&&R.complete()},M=function(k){return P<I?V(k):Y.push(k)},V=function C(k){Z&&R.next(k),P++;var K=!1;(0,g.Xf)(O(k,j++)).subscribe((0,p.x)(R,function(F){t?.(F),Z?M(F):R.next(F)},function(){K=!0},void 0,function(){if(K)try{P--;for(var F=function(){var N=Y.shift();H?(0,v.f)(R,H,function(){return C(N)}):C(N)};Y.length&&P<I;)F();c()}catch(L){R.error(L)}}))};return E.subscribe((0,p.x)(R,M,function(){A=!0,c()})),function(){b?.()}}(I,t,E,O)}))}},8728:(T,y,l)=>{l.d(y,{Q:()=>v});var m=l(1817),g=l(41944),h=l(93945);function v(p){var D=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,g.e)(function(u,f){u.subscribe((0,h.x)(f,function(E){return(0,m.f)(f,p,function(){return f.next(E)},D)},function(){return(0,m.f)(f,p,function(){return f.complete()},D)},function(E){return(0,m.f)(f,p,function(){return f.error(E)},D)}))})}},44874:(T,y,l)=>{l.d(y,{O:()=>v});var m=l(59319),g=l(10420),h=l(41944);function v(){for(var p=arguments.length,D=new Array(p),u=0;u<p;u++)D[u]=arguments[u];var f=(0,g.yG)(D);return(0,h.e)(function(E,R){(f?(0,m.z)(D,E,f):(0,m.z)(D,E)).subscribe(R)})}},59295:(T,y,l)=>{l.d(y,{q:()=>v});var m=l(20591),g=l(41944),h=l(93945);function v(p){return p<=0?function(){return m.E}:(0,g.e)(function(D,u){var f=0;D.subscribe((0,h.x)(u,function(E){++f<=p&&(u.next(E),p<=f&&u.complete())}))})}},10420:(T,y,l)=>{l.d(y,{_6:()=>D,jO:()=>v,yG:()=>p});var m=l(92971),g=l(59867);function h(u){return u[u.length-1]}function v(u){return(0,m.m)(h(u))?u.pop():void 0}function p(u){return(0,g.K)(h(u))?u.pop():void 0}function D(u,f){return"number"==typeof h(u)?u.pop():f}},1817:(T,y,l)=>{function m(g,h,v){var p=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,D=arguments.length>4&&void 0!==arguments[4]&&arguments[4],u=h.schedule(function(){v(),D?g.add(this.schedule(null,p)):this.unsubscribe()},p);if(g.add(u),!D)return u}l.d(y,{f:()=>m})},59867:(T,y,l)=>{l.d(y,{K:()=>g});var m=l(92971);function g(h){return h&&(0,m.m)(h.schedule)}},41944:(T,y,l)=>{l.d(y,{A:()=>g,e:()=>h});var m=l(92971);function g(v){return(0,m.m)(v?.lift)}function h(v){return function(p){if(g(p))return p.lift(function(D){try{return v(D,this)}catch(u){this.error(u)}});throw new TypeError("Unable to lift unknown Observable type")}}},76844:(T,y,l)=>{l.r(y),l.d(y,{DateRange:()=>W,DefaultMatCalendarRangeStrategy:()=>Pe,MAT_DATEPICKER_SCROLL_STRATEGY:()=>Me,MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY:()=>Be,MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>Ye,MAT_DATEPICKER_VALIDATORS:()=>He,MAT_DATEPICKER_VALUE_ACCESSOR:()=>Ke,MAT_DATE_RANGE_SELECTION_STRATEGY:()=>ae,MAT_RANGE_DATE_SELECTION_MODEL_FACTORY:()=>Ve,MAT_RANGE_DATE_SELECTION_MODEL_PROVIDER:()=>Te,MAT_SINGLE_DATE_SELECTION_MODEL_FACTORY:()=>Re,MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER:()=>me,MatCalendar:()=>de,MatCalendarBody:()=>J,MatCalendarCell:()=>oe,MatCalendarHeader:()=>xe,MatDateRangeInput:()=>It,MatDateRangePicker:()=>St,MatDateSelectionModel:()=>Q,MatDatepicker:()=>Ct,MatDatepickerActions:()=>Vt,MatDatepickerApply:()=>Ot,MatDatepickerCancel:()=>Rt,MatDatepickerContent:()=>Ne,MatDatepickerInput:()=>Ae,MatDatepickerInputEvent:()=>ie,MatDatepickerIntl:()=>te,MatDatepickerModule:()=>Tt,MatDatepickerToggle:()=>bt,MatDatepickerToggleIcon:()=>We,MatEndDate:()=>Qe,MatMonthView:()=>De,MatMultiYearView:()=>ye,MatRangeDateSelectionModel:()=>Oe,MatSingleDateSelectionModel:()=>Se,MatStartDate:()=>Ge,MatYearView:()=>Ce,matDatepickerAnimations:()=>be,yearsPerPage:()=>z,yearsPerRow:()=>le});var m=l(35488),g=l(86170),h=l(4089),v=l(20265),p=l(24582),D=l(28694),u=l(78069),f=l(48047),E=l(908),R=l(43662),O=l(18142),I=l(94055),t=l(56718),Z=l(64049),H=l(93168),b=l(6606),Y=l(50253),P=l(17714),j=l(36646),A=l(10745),c=l(52069),M=l(43068),V=l(23675),C=l(59295),k=l(44874),K=l(60116),F=l(35333),L=l(72223),N=l(47405),ee=l(137),ue=l(32666),Xe=["mat-calendar-body",""];function Je(o,s){if(1&o&&(t.\u0275\u0275elementStart(0,"tr",3)(1,"td",4),t.\u0275\u0275text(2),t.\u0275\u0275elementEnd()()),2&o){var a=t.\u0275\u0275nextContext();t.\u0275\u0275advance(1),t.\u0275\u0275styleProp("padding-top",a._cellPadding)("padding-bottom",a._cellPadding),t.\u0275\u0275attribute("colspan",a.numCols),t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate1(" ",a.label," ")}}function $e(o,s){if(1&o&&(t.\u0275\u0275elementStart(0,"td",4),t.\u0275\u0275text(1),t.\u0275\u0275elementEnd()),2&o){var a=t.\u0275\u0275nextContext(2);t.\u0275\u0275styleProp("padding-top",a._cellPadding)("padding-bottom",a._cellPadding),t.\u0275\u0275attribute("colspan",a._firstRowOffset),t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate1(" ",a._firstRowOffset>=a.labelMinRequiredCells?a.label:""," ")}}function qe(o,s){if(1&o){var a=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"td",8)(1,"button",9),t.\u0275\u0275listener("click",function(_){var w=t.\u0275\u0275restoreView(a).$implicit,U=t.\u0275\u0275nextContext(2);return t.\u0275\u0275resetView(U._cellClicked(w,_))})("focus",function(_){var w=t.\u0275\u0275restoreView(a).$implicit,U=t.\u0275\u0275nextContext(2);return t.\u0275\u0275resetView(U._emitActiveDateChange(w,_))}),t.\u0275\u0275elementStart(2,"span",10),t.\u0275\u0275text(3),t.\u0275\u0275elementEnd(),t.\u0275\u0275element(4,"span",11),t.\u0275\u0275elementEnd()()}if(2&o){var e=s.$implicit,n=s.index,i=t.\u0275\u0275nextContext().index,r=t.\u0275\u0275nextContext();t.\u0275\u0275styleProp("width",r._cellWidth)("padding-top",r._cellPadding)("padding-bottom",r._cellPadding),t.\u0275\u0275attribute("data-mat-row",i)("data-mat-col",n),t.\u0275\u0275advance(1),t.\u0275\u0275classProp("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",r._isActiveCell(i,n))("mat-calendar-body-range-start",r._isRangeStart(e.compareValue))("mat-calendar-body-range-end",r._isRangeEnd(e.compareValue))("mat-calendar-body-in-range",r._isInRange(e.compareValue))("mat-calendar-body-comparison-bridge-start",r._isComparisonBridgeStart(e.compareValue,i,n))("mat-calendar-body-comparison-bridge-end",r._isComparisonBridgeEnd(e.compareValue,i,n))("mat-calendar-body-comparison-start",r._isComparisonStart(e.compareValue))("mat-calendar-body-comparison-end",r._isComparisonEnd(e.compareValue))("mat-calendar-body-in-comparison-range",r._isInComparisonRange(e.compareValue))("mat-calendar-body-preview-start",r._isPreviewStart(e.compareValue))("mat-calendar-body-preview-end",r._isPreviewEnd(e.compareValue))("mat-calendar-body-in-preview",r._isInPreview(e.compareValue)),t.\u0275\u0275property("ngClass",e.cssClasses)("tabindex",r._isActiveCell(i,n)?0:-1),t.\u0275\u0275attribute("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-pressed",r._isSelected(e.compareValue))("aria-current",r.todayValue===e.compareValue?"date":null)("aria-describedby",r._getDescribedby(e.compareValue)),t.\u0275\u0275advance(1),t.\u0275\u0275classProp("mat-calendar-body-selected",r._isSelected(e.compareValue))("mat-calendar-body-comparison-identical",r._isComparisonIdentical(e.compareValue))("mat-calendar-body-today",r.todayValue===e.compareValue),t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate1(" ",e.displayValue," ")}}function et(o,s){if(1&o&&(t.\u0275\u0275elementStart(0,"tr",5),t.\u0275\u0275template(1,$e,2,6,"td",6),t.\u0275\u0275template(2,qe,5,48,"td",7),t.\u0275\u0275elementEnd()),2&o){var a=s.$implicit,e=s.index,n=t.\u0275\u0275nextContext();t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",0===e&&n._firstRowOffset),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngForOf",a)}}function tt(o,s){if(1&o&&(t.\u0275\u0275elementStart(0,"th",5)(1,"span",6),t.\u0275\u0275text(2),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(3,"span",7),t.\u0275\u0275text(4),t.\u0275\u0275elementEnd()()),2&o){var a=s.$implicit;t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate(a.long),t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate(a.narrow)}}var Ee=["*"];function at(o,s){}function nt(o,s){if(1&o){var a=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"mat-month-view",5),t.\u0275\u0275listener("activeDateChange",function(i){t.\u0275\u0275restoreView(a);var r=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(r.activeDate=i)})("_userSelection",function(i){t.\u0275\u0275restoreView(a);var r=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(r._dateSelected(i))})("dragStarted",function(i){t.\u0275\u0275restoreView(a);var r=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(r._dragStarted(i))})("dragEnded",function(i){t.\u0275\u0275restoreView(a);var r=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(r._dragEnded(i))}),t.\u0275\u0275elementEnd()}if(2&o){var e=t.\u0275\u0275nextContext();t.\u0275\u0275property("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)("startDateAccessibleName",e.startDateAccessibleName)("endDateAccessibleName",e.endDateAccessibleName)("activeDrag",e._activeDrag)}}function it(o,s){if(1&o){var a=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"mat-year-view",6),t.\u0275\u0275listener("activeDateChange",function(i){t.\u0275\u0275restoreView(a);var r=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(r.activeDate=i)})("monthSelected",function(i){t.\u0275\u0275restoreView(a);var r=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(r._monthSelectedInYearView(i))})("selectedChange",function(i){t.\u0275\u0275restoreView(a);var r=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(r._goToDateInView(i,"month"))}),t.\u0275\u0275elementEnd()}if(2&o){var e=t.\u0275\u0275nextContext();t.\u0275\u0275property("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function rt(o,s){if(1&o){var a=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"mat-multi-year-view",7),t.\u0275\u0275listener("activeDateChange",function(i){t.\u0275\u0275restoreView(a);var r=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(r.activeDate=i)})("yearSelected",function(i){t.\u0275\u0275restoreView(a);var r=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(r._yearSelectedInMultiYearView(i))})("selectedChange",function(i){t.\u0275\u0275restoreView(a);var r=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(r._goToDateInView(i,"year"))}),t.\u0275\u0275elementEnd()}if(2&o){var e=t.\u0275\u0275nextContext();t.\u0275\u0275property("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function ot(o,s){}var st=["button"];function lt(o,s){1&o&&(t.\u0275\u0275namespaceSVG(),t.\u0275\u0275elementStart(0,"svg",3),t.\u0275\u0275element(1,"path",4),t.\u0275\u0275elementEnd())}var dt=[[["","matDatepickerToggleIcon",""]]],ct=["[matDatepickerToggleIcon]"],ut=[[["input","matStartDate",""]],[["input","matEndDate",""]]],ht=["input[matStartDate]","input[matEndDate]"];function _t(o,s){1&o&&(t.\u0275\u0275elementStart(0,"div",0),t.\u0275\u0275projection(1),t.\u0275\u0275elementEnd())}var te=function(){var o=function(){function s(){(0,u.Z)(this,s),this.changes=new Y.x,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year",this.startDateLabel="Start date",this.endDateLabel="End date"}return(0,f.Z)(s,[{key:"formatYearRange",value:function(e,n){return"".concat(e," \u2013 ").concat(n)}},{key:"formatYearRangeLabel",value:function(e,n){return"".concat(e," to ").concat(n)}}]),s}();return o.\u0275fac=function(a){return new(a||o)},o.\u0275prov=t.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),oe=(0,f.Z)(function o(s,a,e,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:s,d=arguments.length>6?arguments[6]:void 0;(0,u.Z)(this,o),this.value=s,this.displayValue=a,this.ariaLabel=e,this.enabled=n,this.cssClasses=i,this.compareValue=r,this.rawValue=d}),pt=1,we=(0,V.normalizePassiveListenerOptions)({passive:!1,capture:!0}),X=(0,V.normalizePassiveListenerOptions)({passive:!0,capture:!0}),se=(0,V.normalizePassiveListenerOptions)({passive:!0}),J=function(){var o=function(){function s(a,e){var n=this;(0,u.Z)(this,s),this._elementRef=a,this._ngZone=e,this._platform=(0,t.inject)(V.Platform),this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new t.EventEmitter,this.previewChange=new t.EventEmitter,this.activeDateChange=new t.EventEmitter,this.dragStarted=new t.EventEmitter,this.dragEnded=new t.EventEmitter,this._didDragSinceMouseDown=!1,this._enterHandler=function(i){if(n._skipNextFocus&&"focus"===i.type)n._skipNextFocus=!1;else if(i.target&&n.isRange){var r=n._getCellFromElement(i.target);r&&n._ngZone.run(function(){return n.previewChange.emit({value:r.enabled?r:null,event:i})})}},this._touchmoveHandler=function(i){if(n.isRange){var r=Ie(i),d=r?n._getCellFromElement(r):null;r!==i.target&&(n._didDragSinceMouseDown=!0),_e(i.target)&&i.preventDefault(),n._ngZone.run(function(){return n.previewChange.emit({value:null!=d&&d.enabled?d:null,event:i})})}},this._leaveHandler=function(i){null!==n.previewEnd&&n.isRange&&("blur"!==i.type&&(n._didDragSinceMouseDown=!0),i.target&&n._getCellFromElement(i.target)&&(!i.relatedTarget||!n._getCellFromElement(i.relatedTarget))&&n._ngZone.run(function(){return n.previewChange.emit({value:null,event:i})}))},this._mousedownHandler=function(i){if(n.isRange){n._didDragSinceMouseDown=!1;var r=i.target&&n._getCellFromElement(i.target);!r||!n._isInRange(r.rawValue)||n._ngZone.run(function(){n.dragStarted.emit({value:r.rawValue,event:i})})}},this._mouseupHandler=function(i){if(n.isRange){var r=_e(i.target);if(!r)return void n._ngZone.run(function(){n.dragEnded.emit({value:null,event:i})});r.closest(".mat-calendar-body")===n._elementRef.nativeElement&&n._ngZone.run(function(){var d,_=n._getCellFromElement(r);n.dragEnded.emit({value:null!==(d=_?.rawValue)&&void 0!==d?d:null,event:i})})}},this._touchendHandler=function(i){var r=Ie(i);r&&n._mouseupHandler({target:r})},this._id="mat-calendar-body-".concat(pt++),this._startDateLabelId="".concat(this._id,"-start-date"),this._endDateLabelId="".concat(this._id,"-end-date"),e.runOutsideAngular(function(){var i=a.nativeElement;i.addEventListener("touchmove",n._touchmoveHandler,we),i.addEventListener("mouseenter",n._enterHandler,X),i.addEventListener("focus",n._enterHandler,X),i.addEventListener("mouseleave",n._leaveHandler,X),i.addEventListener("blur",n._leaveHandler,X),i.addEventListener("mousedown",n._mousedownHandler,se),i.addEventListener("touchstart",n._mousedownHandler,se),n._platform.isBrowser&&(window.addEventListener("mouseup",n._mouseupHandler),window.addEventListener("touchend",n._touchendHandler))})}return(0,f.Z)(s,[{key:"ngAfterViewChecked",value:function(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}},{key:"_cellClicked",value:function(e,n){this._didDragSinceMouseDown||e.enabled&&this.selectedValueChange.emit({value:e.value,event:n})}},{key:"_emitActiveDateChange",value:function(e,n){e.enabled&&this.activeDateChange.emit({value:e.value,event:n})}},{key:"_isSelected",value:function(e){return this.startValue===e||this.endValue===e}},{key:"ngOnChanges",value:function(e){var n=e.numCols,i=this.rows,r=this.numCols;(e.rows||n)&&(this._firstRowOffset=i&&i.length&&i[0].length?r-i[0].length:0),(e.cellAspectRatio||n||!this._cellPadding)&&(this._cellPadding="".concat(50*this.cellAspectRatio/r,"%")),(n||!this._cellWidth)&&(this._cellWidth="".concat(100/r,"%"))}},{key:"ngOnDestroy",value:function(){var e=this._elementRef.nativeElement;e.removeEventListener("touchmove",this._touchmoveHandler,we),e.removeEventListener("mouseenter",this._enterHandler,X),e.removeEventListener("focus",this._enterHandler,X),e.removeEventListener("mouseleave",this._leaveHandler,X),e.removeEventListener("blur",this._leaveHandler,X),e.removeEventListener("mousedown",this._mousedownHandler,se),e.removeEventListener("touchstart",this._mousedownHandler,se),this._platform.isBrowser&&(window.removeEventListener("mouseup",this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))}},{key:"_isActiveCell",value:function(e,n){var i=e*this.numCols+n;return e&&(i-=this._firstRowOffset),i==this.activeCell}},{key:"_focusActiveCell",value:function(){var e=this,n=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this._ngZone.runOutsideAngular(function(){e._ngZone.onStable.pipe((0,C.q)(1)).subscribe(function(){setTimeout(function(){var i=e._elementRef.nativeElement.querySelector(".mat-calendar-body-active");i&&(n||(e._skipNextFocus=!0),i.focus())})})})}},{key:"_scheduleFocusActiveCellAfterViewChecked",value:function(){this._focusActiveCellAfterViewChecked=!0}},{key:"_isRangeStart",value:function(e){return pe(e,this.startValue,this.endValue)}},{key:"_isRangeEnd",value:function(e){return ve(e,this.startValue,this.endValue)}},{key:"_isInRange",value:function(e){return fe(e,this.startValue,this.endValue,this.isRange)}},{key:"_isComparisonStart",value:function(e){return pe(e,this.comparisonStart,this.comparisonEnd)}},{key:"_isComparisonBridgeStart",value:function(e,n,i){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;var r=this.rows[n][i-1];if(!r){var d=this.rows[n-1];r=d&&d[d.length-1]}return r&&!this._isRangeEnd(r.compareValue)}},{key:"_isComparisonBridgeEnd",value:function(e,n,i){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;var r=this.rows[n][i+1];if(!r){var d=this.rows[n+1];r=d&&d[0]}return r&&!this._isRangeStart(r.compareValue)}},{key:"_isComparisonEnd",value:function(e){return ve(e,this.comparisonStart,this.comparisonEnd)}},{key:"_isInComparisonRange",value:function(e){return fe(e,this.comparisonStart,this.comparisonEnd,this.isRange)}},{key:"_isComparisonIdentical",value:function(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}},{key:"_isPreviewStart",value:function(e){return pe(e,this.previewStart,this.previewEnd)}},{key:"_isPreviewEnd",value:function(e){return ve(e,this.previewStart,this.previewEnd)}},{key:"_isInPreview",value:function(e){return fe(e,this.previewStart,this.previewEnd,this.isRange)}},{key:"_getDescribedby",value:function(e){return this.isRange?this.startValue===e&&this.endValue===e?"".concat(this._startDateLabelId," ").concat(this._endDateLabelId):this.startValue===e?this._startDateLabelId:this.endValue===e?this._endDateLabelId:null:null}},{key:"_getCellFromElement",value:function(e){var n=_e(e);if(n){var i=n.getAttribute("data-mat-row"),r=n.getAttribute("data-mat-col");if(i&&r)return this.rows[parseInt(i)][parseInt(r)]}return null}}]),s}();return o.\u0275fac=function(a){return new(a||o)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.NgZone))},o.\u0275cmp=t.\u0275\u0275defineComponent({type:o,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[t.\u0275\u0275NgOnChangesFeature],attrs:Xe,decls:6,vars:6,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],[1,"mat-calendar-body-hidden-label",3,"id"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click","focus"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(a,e){1&a&&(t.\u0275\u0275template(0,Je,3,6,"tr",0),t.\u0275\u0275template(1,et,3,2,"tr",1),t.\u0275\u0275elementStart(2,"label",2),t.\u0275\u0275text(3),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(4,"label",2),t.\u0275\u0275text(5),t.\u0275\u0275elementEnd()),2&a&&(t.\u0275\u0275property("ngIf",e._firstRowOffset<e.labelMinRequiredCells),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngForOf",e.rows),t.\u0275\u0275advance(1),t.\u0275\u0275property("id",e._startDateLabelId),t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate1(" ",e.startDateAccessibleName,"\n"),t.\u0275\u0275advance(1),t.\u0275\u0275property("id",e._endDateLabelId),t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate1(" ",e.endDateAccessibleName,"\n"))},dependencies:[I.NgClass,I.NgForOf,I.NgIf],styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.7142857143%;padding-right:4.7142857143%}.mat-calendar-body-hidden-label{display:none}.mat-calendar-body-cell-container{position:relative;height:0;line-height:0}.mat-calendar-body-cell{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;top:0;left:0;width:100%;height:100%;background:none;text-align:center;outline:none;font-family:inherit;margin:0}.mat-calendar-body-cell::-moz-focus-inner{border:0}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;display:block;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}[dir=rtl] .mat-calendar-body-label{text-align:right}'],encapsulation:2,changeDetection:0}),o}();function he(o){return"TD"===o?.nodeName}function _e(o){var s,a,e;return he(o)?e=o:he(o.parentNode)?e=o.parentNode:he(null===(s=o.parentNode)||void 0===s?void 0:s.parentNode)&&(e=o.parentNode.parentNode),null!=(null===(a=e)||void 0===a?void 0:a.getAttribute("data-mat-row"))?e:null}function pe(o,s,a){return null!==a&&s!==a&&o<a&&o===s}function ve(o,s,a){return null!==s&&s!==a&&o>=s&&o===a}function fe(o,s,a,e){return e&&null!==s&&null!==a&&s!==a&&o>=s&&o<=a}function Ie(o){var s=o.changedTouches[0];return document.elementFromPoint(s.clientX,s.clientY)}var W=(0,f.Z)(function o(s,a){(0,u.Z)(this,o),this.start=s,this.end=a}),Q=function(){var o=function(){function s(a,e){(0,u.Z)(this,s),this.selection=a,this._adapter=e,this._selectionChanged=new Y.x,this.selectionChanged=this._selectionChanged,this.selection=a}return(0,f.Z)(s,[{key:"updateSelection",value:function(e,n){var i=this.selection;this.selection=e,this._selectionChanged.next({selection:e,source:n,oldValue:i})}},{key:"ngOnDestroy",value:function(){this._selectionChanged.complete()}},{key:"_isValidDateInstance",value:function(e){return this._adapter.isDateInstance(e)&&this._adapter.isValid(e)}}]),s}();return o.\u0275fac=function(a){t.\u0275\u0275invalidFactory()},o.\u0275prov=t.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),Se=function(){var o=function(s){(0,p.Z)(e,s);var a=(0,D.Z)(e);function e(n){return(0,u.Z)(this,e),a.call(this,null,n)}return(0,f.Z)(e,[{key:"add",value:function(i){(0,h.Z)((0,v.Z)(e.prototype),"updateSelection",this).call(this,i,this)}},{key:"isValid",value:function(){return null!=this.selection&&this._isValidDateInstance(this.selection)}},{key:"isComplete",value:function(){return null!=this.selection}},{key:"clone",value:function(){var i=new e(this._adapter);return i.updateSelection(this.selection,this),i}}]),e}(Q);return o.\u0275fac=function(a){return new(a||o)(t.\u0275\u0275inject(b.DateAdapter))},o.\u0275prov=t.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),Oe=function(){var o=function(s){(0,p.Z)(e,s);var a=(0,D.Z)(e);function e(n){return(0,u.Z)(this,e),a.call(this,new W(null,null),n)}return(0,f.Z)(e,[{key:"add",value:function(i){var r=this.selection,d=r.start,_=r.end;null==d?d=i:null==_?_=i:(d=i,_=null),(0,h.Z)((0,v.Z)(e.prototype),"updateSelection",this).call(this,new W(d,_),this)}},{key:"isValid",value:function(){var i=this.selection,r=i.start,d=i.end;return null==r&&null==d||(null!=r&&null!=d?this._isValidDateInstance(r)&&this._isValidDateInstance(d)&&this._adapter.compareDate(r,d)<=0:(null==r||this._isValidDateInstance(r))&&(null==d||this._isValidDateInstance(d)))}},{key:"isComplete",value:function(){return null!=this.selection.start&&null!=this.selection.end}},{key:"clone",value:function(){var i=new e(this._adapter);return i.updateSelection(this.selection,this),i}}]),e}(Q);return o.\u0275fac=function(a){return new(a||o)(t.\u0275\u0275inject(b.DateAdapter))},o.\u0275prov=t.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}();function Re(o,s){return o||new Se(s)}var me={provide:Q,deps:[[new t.Optional,new t.SkipSelf,Q],b.DateAdapter],useFactory:Re};function Ve(o,s){return o||new Oe(s)}var Te={provide:Q,deps:[[new t.Optional,new t.SkipSelf,Q],b.DateAdapter],useFactory:Ve},ae=new t.InjectionToken("MAT_DATE_RANGE_SELECTION_STRATEGY"),Pe=function(){var o=function(){function s(a){(0,u.Z)(this,s),this._dateAdapter=a}return(0,f.Z)(s,[{key:"selectionFinished",value:function(e,n){var i=n.start,r=n.end;return null==i?i=e:null==r&&e&&this._dateAdapter.compareDate(e,i)>=0?r=e:(i=e,r=null),new W(i,r)}},{key:"createPreview",value:function(e,n){var i=null,r=null;return n.start&&!n.end&&e&&(i=n.start,r=e),new W(i,r)}},{key:"createDrag",value:function(e,n,i){var r=n.start,d=n.end;if(!r||!d)return null;var _=this._dateAdapter,S=0!==_.compareDate(r,d),w=_.getYear(i)-_.getYear(e),U=_.getMonth(i)-_.getMonth(e),B=_.getDate(i)-_.getDate(e);return S&&_.sameDate(e,n.start)?(r=i,_.compareDate(i,d)>0&&(d=_.addCalendarYears(d,w),d=_.addCalendarMonths(d,U),d=_.addCalendarDays(d,B))):S&&_.sameDate(e,n.end)?(d=i,_.compareDate(i,r)<0&&(r=_.addCalendarYears(r,w),r=_.addCalendarMonths(r,U),r=_.addCalendarDays(r,B))):(r=_.addCalendarYears(r,w),r=_.addCalendarMonths(r,U),r=_.addCalendarDays(r,B),d=_.addCalendarYears(d,w),d=_.addCalendarMonths(d,U),d=_.addCalendarDays(d,B)),new W(r,d)}}]),s}();return o.\u0275fac=function(a){return new(a||o)(t.\u0275\u0275inject(b.DateAdapter))},o.\u0275prov=t.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),ft={provide:ae,deps:[[new t.Optional,new t.SkipSelf,ae],b.DateAdapter],useFactory:function vt(o,s){return o||new Pe(s)}},De=function(){var o=function(){function s(a,e,n,i,r){(0,u.Z)(this,s),this._changeDetectorRef=a,this._dateFormats=e,this._dateAdapter=n,this._dir=i,this._rangeStrategy=r,this._rerenderSubscription=P.w0.EMPTY,this.activeDrag=null,this.selectedChange=new t.EventEmitter,this._userSelection=new t.EventEmitter,this.dragStarted=new t.EventEmitter,this.dragEnded=new t.EventEmitter,this.activeDateChange=new t.EventEmitter,this._activeDate=this._dateAdapter.today()}return(0,f.Z)(s,[{key:"activeDate",get:function(){return this._activeDate},set:function(e){var n=this._activeDate,i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(i,this.minDate,this.maxDate),this._hasSameMonthAndYear(n,this._activeDate)||this._init()}},{key:"selected",get:function(){return this._selected},set:function(e){this._selected=e instanceof W?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setRanges(this._selected)}},{key:"minDate",get:function(){return this._minDate},set:function(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"maxDate",get:function(){return this._maxDate},set:function(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"ngAfterContentInit",value:function(){var e=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,k.O)(null)).subscribe(function(){return e._init()})}},{key:"ngOnChanges",value:function(e){var n=e.comparisonStart||e.comparisonEnd;n&&!n.firstChange&&this._setRanges(this.selected),e.activeDrag&&!this.activeDrag&&this._clearPreview()}},{key:"ngOnDestroy",value:function(){this._rerenderSubscription.unsubscribe()}},{key:"_dateSelected",value:function(e){var r,d,n=e.value,i=this._getDateFromDayOfMonth(n);this._selected instanceof W?(r=this._getDateInCurrentMonth(this._selected.start),d=this._getDateInCurrentMonth(this._selected.end)):r=d=this._getDateInCurrentMonth(this._selected),(r!==n||d!==n)&&this.selectedChange.emit(i),this._userSelection.emit({value:i,event:e.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}},{key:"_updateActiveDate",value:function(e){var i=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(e.value),this._dateAdapter.compareDate(i,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}},{key:"_handleCalendarBodyKeydown",value:function(e){var n=this._activeDate,i=this._isRtl();switch(e.keyCode){case c.LEFT_ARROW:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,i?1:-1);break;case c.RIGHT_ARROW:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,i?-1:1);break;case c.UP_ARROW:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case c.DOWN_ARROW:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case c.HOME:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case c.END:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case c.PAGE_UP:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case c.PAGE_DOWN:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case c.ENTER:case c.SPACE:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&e.preventDefault());case c.ESCAPE:return void(null!=this._previewEnd&&!(0,c.hasModifierKey)(e)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:e}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:e})),e.preventDefault(),e.stopPropagation()));default:return}this._dateAdapter.compareDate(n,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}},{key:"_handleCalendarBodyKeyup",value:function(e){(e.keyCode===c.SPACE||e.keyCode===c.ENTER)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:e}),this._selectionKeyPressed=!1)}},{key:"_init",value:function(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();var e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}},{key:"_focusActiveCell",value:function(e){this._matCalendarBody._focusActiveCell(e)}},{key:"_focusActiveCellAfterViewChecked",value:function(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}},{key:"_previewChanged",value:function(e){var n=e.event,i=e.value;if(this._rangeStrategy){var r=i?i.rawValue:null,d=this._rangeStrategy.createPreview(r,this.selected,n);if(this._previewStart=this._getCellCompareValue(d.start),this._previewEnd=this._getCellCompareValue(d.end),this.activeDrag&&r){var _,S,w=null===(_=(S=this._rangeStrategy).createDrag)||void 0===_?void 0:_.call(S,this.activeDrag.value,this.selected,r,n);w&&(this._previewStart=this._getCellCompareValue(w.start),this._previewEnd=this._getCellCompareValue(w.end))}this._changeDetectorRef.detectChanges()}}},{key:"_dragEnded",value:function(e){if(this.activeDrag)if(e.value){var n,i,r=null===(n=this._rangeStrategy)||void 0===n||null===(i=n.createDrag)||void 0===i?void 0:i.call(n,this.activeDrag.value,this.selected,e.value,e.event);this.dragEnded.emit({value:r??null,event:e.event})}else this.dragEnded.emit({value:null,event:e.event})}},{key:"_getDateFromDayOfMonth",value:function(e){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),e)}},{key:"_initWeekdays",value:function(){var e=this._dateAdapter.getFirstDayOfWeek(),n=this._dateAdapter.getDayOfWeekNames("narrow"),r=this._dateAdapter.getDayOfWeekNames("long").map(function(d,_){return{long:d,narrow:n[_]}});this._weekdays=r.slice(e).concat(r.slice(0,e))}},{key:"_createWeekCells",value:function(){var e=this._dateAdapter.getNumDaysInMonth(this.activeDate),n=this._dateAdapter.getDateNames();this._weeks=[[]];for(var i=0,r=this._firstWeekOffset;i<e;i++,r++){7==r&&(this._weeks.push([]),r=0);var d=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),i+1),_=this._shouldEnableDate(d),S=this._dateAdapter.format(d,this._dateFormats.display.dateA11yLabel),w=this.dateClass?this.dateClass(d,"month"):void 0;this._weeks[this._weeks.length-1].push(new oe(i+1,n[i],S,_,w,this._getCellCompareValue(d),d))}}},{key:"_shouldEnableDate",value:function(e){return!!e&&(!this.minDate||this._dateAdapter.compareDate(e,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(e,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(e))}},{key:"_getDateInCurrentMonth",value:function(e){return e&&this._hasSameMonthAndYear(e,this.activeDate)?this._dateAdapter.getDate(e):null}},{key:"_hasSameMonthAndYear",value:function(e,n){return!(!e||!n||this._dateAdapter.getMonth(e)!=this._dateAdapter.getMonth(n)||this._dateAdapter.getYear(e)!=this._dateAdapter.getYear(n))}},{key:"_getCellCompareValue",value:function(e){if(e){var n=this._dateAdapter.getYear(e),i=this._dateAdapter.getMonth(e),r=this._dateAdapter.getDate(e);return new Date(n,i,r).getTime()}return null}},{key:"_isRtl",value:function(){return this._dir&&"rtl"===this._dir.value}},{key:"_setRanges",value:function(e){e instanceof W?(this._rangeStart=this._getCellCompareValue(e.start),this._rangeEnd=this._getCellCompareValue(e.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(e),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}},{key:"_canSelect",value:function(e){return!this.dateFilter||this.dateFilter(e)}},{key:"_clearPreview",value:function(){this._previewStart=this._previewEnd=null}}]),s}();return o.\u0275fac=function(a){return new(a||o)(t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(b.MAT_DATE_FORMATS,8),t.\u0275\u0275directiveInject(b.DateAdapter,8),t.\u0275\u0275directiveInject(M.Directionality,8),t.\u0275\u0275directiveInject(ae,8))},o.\u0275cmp=t.\u0275\u0275defineComponent({type:o,selectors:[["mat-month-view"]],viewQuery:function(a,e){var n;1&a&&t.\u0275\u0275viewQuery(J,5),2&a&&t.\u0275\u0275queryRefresh(n=t.\u0275\u0275loadQuery())&&(e._matCalendarBody=n.first)},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[t.\u0275\u0275NgOnChangesFeature],decls:7,vars:15,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName","selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(a,e){1&a&&(t.\u0275\u0275elementStart(0,"table",0)(1,"thead",1)(2,"tr"),t.\u0275\u0275template(3,tt,5,2,"th",2),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(4,"tr"),t.\u0275\u0275element(5,"th",3),t.\u0275\u0275elementEnd()(),t.\u0275\u0275elementStart(6,"tbody",4),t.\u0275\u0275listener("selectedValueChange",function(i){return e._dateSelected(i)})("activeDateChange",function(i){return e._updateActiveDate(i)})("previewChange",function(i){return e._previewChanged(i)})("dragStarted",function(i){return e.dragStarted.emit(i)})("dragEnded",function(i){return e._dragEnded(i)})("keyup",function(i){return e._handleCalendarBodyKeyup(i)})("keydown",function(i){return e._handleCalendarBodyKeydown(i)}),t.\u0275\u0275elementEnd()()),2&a&&(t.\u0275\u0275advance(3),t.\u0275\u0275property("ngForOf",e._weekdays),t.\u0275\u0275advance(3),t.\u0275\u0275property("label",e._monthLabel)("rows",e._weeks)("todayValue",e._todayDate)("startValue",e._rangeStart)("endValue",e._rangeEnd)("comparisonStart",e._comparisonRangeStart)("comparisonEnd",e._comparisonRangeEnd)("previewStart",e._previewStart)("previewEnd",e._previewEnd)("isRange",e._isRange)("labelMinRequiredCells",3)("activeCell",e._dateAdapter.getDate(e.activeDate)-1)("startDateAccessibleName",e.startDateAccessibleName)("endDateAccessibleName",e.endDateAccessibleName))},dependencies:[I.NgForOf,J],encapsulation:2,changeDetection:0}),o}(),z=24,le=4,ye=function(){var o=function(){function s(a,e,n){(0,u.Z)(this,s),this._changeDetectorRef=a,this._dateAdapter=e,this._dir=n,this._rerenderSubscription=P.w0.EMPTY,this.selectedChange=new t.EventEmitter,this.yearSelected=new t.EventEmitter,this.activeDateChange=new t.EventEmitter,this._activeDate=this._dateAdapter.today()}return(0,f.Z)(s,[{key:"activeDate",get:function(){return this._activeDate},set:function(e){var n=this._activeDate,i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(i,this.minDate,this.maxDate),Fe(this._dateAdapter,n,this._activeDate,this.minDate,this.maxDate)||this._init()}},{key:"selected",get:function(){return this._selected},set:function(e){this._selected=e instanceof W?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedYear(e)}},{key:"minDate",get:function(){return this._minDate},set:function(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"maxDate",get:function(){return this._maxDate},set:function(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"ngAfterContentInit",value:function(){var e=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,k.O)(null)).subscribe(function(){return e._init()})}},{key:"ngOnDestroy",value:function(){this._rerenderSubscription.unsubscribe()}},{key:"_init",value:function(){var e=this;this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());var i=this._dateAdapter.getYear(this._activeDate)-ne(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(var r=0,d=[];r<z;r++)d.push(i+r),d.length==le&&(this._years.push(d.map(function(_){return e._createCellForYear(_)})),d=[]);this._changeDetectorRef.markForCheck()}},{key:"_yearSelected",value:function(e){var n=e.value,i=this._dateAdapter.createDate(n,0,1),r=this._getDateFromYear(n);this.yearSelected.emit(i),this.selectedChange.emit(r)}},{key:"_updateActiveDate",value:function(e){var i=this._activeDate;this.activeDate=this._getDateFromYear(e.value),this._dateAdapter.compareDate(i,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}},{key:"_handleCalendarBodyKeydown",value:function(e){var n=this._activeDate,i=this._isRtl();switch(e.keyCode){case c.LEFT_ARROW:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i?1:-1);break;case c.RIGHT_ARROW:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i?-1:1);break;case c.UP_ARROW:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-le);break;case c.DOWN_ARROW:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,le);break;case c.HOME:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-ne(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case c.END:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,z-ne(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case c.PAGE_UP:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10*-z:-z);break;case c.PAGE_DOWN:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10*z:z);break;case c.ENTER:case c.SPACE:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(n,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),e.preventDefault()}},{key:"_handleCalendarBodyKeyup",value:function(e){(e.keyCode===c.SPACE||e.keyCode===c.ENTER)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:e}),this._selectionKeyPressed=!1)}},{key:"_getActiveCell",value:function(){return ne(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}},{key:"_focusActiveCell",value:function(){this._matCalendarBody._focusActiveCell()}},{key:"_focusActiveCellAfterViewChecked",value:function(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}},{key:"_getDateFromYear",value:function(e){var n=this._dateAdapter.getMonth(this.activeDate),i=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,n,1));return this._dateAdapter.createDate(e,n,Math.min(this._dateAdapter.getDate(this.activeDate),i))}},{key:"_createCellForYear",value:function(e){var n=this._dateAdapter.createDate(e,0,1),i=this._dateAdapter.getYearName(n),r=this.dateClass?this.dateClass(n,"multi-year"):void 0;return new oe(e,i,i,this._shouldEnableYear(e),r)}},{key:"_shouldEnableYear",value:function(e){if(null==e||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&e<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(var i=this._dateAdapter.createDate(e,0,1);this._dateAdapter.getYear(i)==e;i=this._dateAdapter.addCalendarDays(i,1))if(this.dateFilter(i))return!0;return!1}},{key:"_isRtl",value:function(){return this._dir&&"rtl"===this._dir.value}},{key:"_setSelectedYear",value:function(e){if(this._selectedYear=null,e instanceof W){var n=e.start||e.end;n&&(this._selectedYear=this._dateAdapter.getYear(n))}else e&&(this._selectedYear=this._dateAdapter.getYear(e))}}]),s}();return o.\u0275fac=function(a){return new(a||o)(t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(b.DateAdapter,8),t.\u0275\u0275directiveInject(M.Directionality,8))},o.\u0275cmp=t.\u0275\u0275defineComponent({type:o,selectors:[["mat-multi-year-view"]],viewQuery:function(a,e){var n;1&a&&t.\u0275\u0275viewQuery(J,5),2&a&&t.\u0275\u0275queryRefresh(n=t.\u0275\u0275loadQuery())&&(e._matCalendarBody=n.first)},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],decls:5,vars:7,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell","selectedValueChange","activeDateChange","keyup","keydown"]],template:function(a,e){1&a&&(t.\u0275\u0275elementStart(0,"table",0)(1,"thead",1)(2,"tr"),t.\u0275\u0275element(3,"th",2),t.\u0275\u0275elementEnd()(),t.\u0275\u0275elementStart(4,"tbody",3),t.\u0275\u0275listener("selectedValueChange",function(i){return e._yearSelected(i)})("activeDateChange",function(i){return e._updateActiveDate(i)})("keyup",function(i){return e._handleCalendarBodyKeyup(i)})("keydown",function(i){return e._handleCalendarBodyKeydown(i)}),t.\u0275\u0275elementEnd()()),2&a&&(t.\u0275\u0275advance(4),t.\u0275\u0275property("rows",e._years)("todayValue",e._todayYear)("startValue",e._selectedYear)("endValue",e._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",e._getActiveCell()))},dependencies:[J],encapsulation:2,changeDetection:0}),o}();function Fe(o,s,a,e,n){var i=o.getYear(s),r=o.getYear(a),d=Le(o,e,n);return Math.floor((i-d)/z)===Math.floor((r-d)/z)}function ne(o,s,a,e){return function mt(o,s){return(o%s+s)%s}(o.getYear(s)-Le(o,a,e),z)}function Le(o,s,a){var e=0;return a?e=o.getYear(a)-z+1:s&&(e=o.getYear(s)),e}var Ce=function(){var o=function(){function s(a,e,n,i){(0,u.Z)(this,s),this._changeDetectorRef=a,this._dateFormats=e,this._dateAdapter=n,this._dir=i,this._rerenderSubscription=P.w0.EMPTY,this.selectedChange=new t.EventEmitter,this.monthSelected=new t.EventEmitter,this.activeDateChange=new t.EventEmitter,this._activeDate=this._dateAdapter.today()}return(0,f.Z)(s,[{key:"activeDate",get:function(){return this._activeDate},set:function(e){var n=this._activeDate,i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(i,this.minDate,this.maxDate),this._dateAdapter.getYear(n)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}},{key:"selected",get:function(){return this._selected},set:function(e){this._selected=e instanceof W?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedMonth(e)}},{key:"minDate",get:function(){return this._minDate},set:function(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"maxDate",get:function(){return this._maxDate},set:function(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"ngAfterContentInit",value:function(){var e=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,k.O)(null)).subscribe(function(){return e._init()})}},{key:"ngOnDestroy",value:function(){this._rerenderSubscription.unsubscribe()}},{key:"_monthSelected",value:function(e){var n=e.value,i=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),n,1);this.monthSelected.emit(i);var r=this._getDateFromMonth(n);this.selectedChange.emit(r)}},{key:"_updateActiveDate",value:function(e){var i=this._activeDate;this.activeDate=this._getDateFromMonth(e.value),this._dateAdapter.compareDate(i,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}},{key:"_handleCalendarBodyKeydown",value:function(e){var n=this._activeDate,i=this._isRtl();switch(e.keyCode){case c.LEFT_ARROW:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,i?1:-1);break;case c.RIGHT_ARROW:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,i?-1:1);break;case c.UP_ARROW:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case c.DOWN_ARROW:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case c.HOME:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case c.END:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case c.PAGE_UP:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-10:-1);break;case c.PAGE_DOWN:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10:1);break;case c.ENTER:case c.SPACE:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(n,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}},{key:"_handleCalendarBodyKeyup",value:function(e){(e.keyCode===c.SPACE||e.keyCode===c.ENTER)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:e}),this._selectionKeyPressed=!1)}},{key:"_init",value:function(){var e=this;this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);var n=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(function(i){return i.map(function(r){return e._createCellForMonth(r,n[r])})}),this._changeDetectorRef.markForCheck()}},{key:"_focusActiveCell",value:function(){this._matCalendarBody._focusActiveCell()}},{key:"_focusActiveCellAfterViewChecked",value:function(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}},{key:"_getMonthInCurrentYear",value:function(e){return e&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(e):null}},{key:"_getDateFromMonth",value:function(e){var n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),i=this._dateAdapter.getNumDaysInMonth(n);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),i))}},{key:"_createCellForMonth",value:function(e,n){var i=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),r=this._dateAdapter.format(i,this._dateFormats.display.monthYearA11yLabel),d=this.dateClass?this.dateClass(i,"year"):void 0;return new oe(e,n.toLocaleUpperCase(),r,this._shouldEnableMonth(e),d)}},{key:"_shouldEnableMonth",value:function(e){var n=this._dateAdapter.getYear(this.activeDate);if(null==e||this._isYearAndMonthAfterMaxDate(n,e)||this._isYearAndMonthBeforeMinDate(n,e))return!1;if(!this.dateFilter)return!0;for(var r=this._dateAdapter.createDate(n,e,1);this._dateAdapter.getMonth(r)==e;r=this._dateAdapter.addCalendarDays(r,1))if(this.dateFilter(r))return!0;return!1}},{key:"_isYearAndMonthAfterMaxDate",value:function(e,n){if(this.maxDate){var i=this._dateAdapter.getYear(this.maxDate),r=this._dateAdapter.getMonth(this.maxDate);return e>i||e===i&&n>r}return!1}},{key:"_isYearAndMonthBeforeMinDate",value:function(e,n){if(this.minDate){var i=this._dateAdapter.getYear(this.minDate),r=this._dateAdapter.getMonth(this.minDate);return e<i||e===i&&n<r}return!1}},{key:"_isRtl",value:function(){return this._dir&&"rtl"===this._dir.value}},{key:"_setSelectedMonth",value:function(e){this._selectedMonth=e instanceof W?this._getMonthInCurrentYear(e.start)||this._getMonthInCurrentYear(e.end):this._getMonthInCurrentYear(e)}}]),s}();return o.\u0275fac=function(a){return new(a||o)(t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(b.MAT_DATE_FORMATS,8),t.\u0275\u0275directiveInject(b.DateAdapter,8),t.\u0275\u0275directiveInject(M.Directionality,8))},o.\u0275cmp=t.\u0275\u0275defineComponent({type:o,selectors:[["mat-year-view"]],viewQuery:function(a,e){var n;1&a&&t.\u0275\u0275viewQuery(J,5),2&a&&t.\u0275\u0275queryRefresh(n=t.\u0275\u0275loadQuery())&&(e._matCalendarBody=n.first)},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],decls:5,vars:9,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell","selectedValueChange","activeDateChange","keyup","keydown"]],template:function(a,e){1&a&&(t.\u0275\u0275elementStart(0,"table",0)(1,"thead",1)(2,"tr"),t.\u0275\u0275element(3,"th",2),t.\u0275\u0275elementEnd()(),t.\u0275\u0275elementStart(4,"tbody",3),t.\u0275\u0275listener("selectedValueChange",function(i){return e._monthSelected(i)})("activeDateChange",function(i){return e._updateActiveDate(i)})("keyup",function(i){return e._handleCalendarBodyKeyup(i)})("keydown",function(i){return e._handleCalendarBodyKeydown(i)}),t.\u0275\u0275elementEnd()()),2&a&&(t.\u0275\u0275advance(4),t.\u0275\u0275property("label",e._yearLabel)("rows",e._months)("todayValue",e._todayMonth)("startValue",e._selectedMonth)("endValue",e._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",e._dateAdapter.getMonth(e.activeDate)))},dependencies:[J],encapsulation:2,changeDetection:0}),o}(),gt=1,xe=function(){var o=function(){function s(a,e,n,i,r){(0,u.Z)(this,s),this._intl=a,this.calendar=e,this._dateAdapter=n,this._dateFormats=i,this._id="mat-calendar-header-".concat(gt++),this._periodButtonLabelId="".concat(this._id,"-period-label"),this.calendar.stateChanges.subscribe(function(){return r.markForCheck()})}return(0,f.Z)(s,[{key:"periodButtonText",get:function(){var e;return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):(e=this._intl).formatYearRange.apply(e,(0,g.Z)(this._formatMinAndMaxYearLabels()))}},{key:"periodButtonDescription",get:function(){var e;return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):(e=this._intl).formatYearRangeLabel.apply(e,(0,g.Z)(this._formatMinAndMaxYearLabels()))}},{key:"periodButtonLabel",get:function(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}},{key:"prevButtonLabel",get:function(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}},{key:"nextButtonLabel",get:function(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}},{key:"currentPeriodClicked",value:function(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}},{key:"previousClicked",value:function(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-z)}},{key:"nextClicked",value:function(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:z)}},{key:"previousEnabled",value:function(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}},{key:"nextEnabled",value:function(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}},{key:"_isSameView",value:function(e,n){return"month"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(n)&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(n):"year"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(n):Fe(this._dateAdapter,e,n,this.calendar.minDate,this.calendar.maxDate)}},{key:"_formatMinAndMaxYearLabels",value:function(){var n=this._dateAdapter.getYear(this.calendar.activeDate)-ne(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),i=n+z-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(n,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(i,0,1))]}}]),s}();return o.\u0275fac=function(a){return new(a||o)(t.\u0275\u0275directiveInject(te),t.\u0275\u0275directiveInject((0,t.forwardRef)(function(){return de})),t.\u0275\u0275directiveInject(b.DateAdapter,8),t.\u0275\u0275directiveInject(b.MAT_DATE_FORMATS,8),t.\u0275\u0275directiveInject(t.ChangeDetectorRef))},o.\u0275cmp=t.\u0275\u0275defineComponent({type:o,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:Ee,decls:13,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","aria-live","polite",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"],[1,"mat-calendar-hidden-label",3,"id"]],template:function(a,e){1&a&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"button",2),t.\u0275\u0275listener("click",function(){return e.currentPeriodClicked()}),t.\u0275\u0275elementStart(3,"span",3),t.\u0275\u0275text(4),t.\u0275\u0275elementEnd(),t.\u0275\u0275namespaceSVG(),t.\u0275\u0275elementStart(5,"svg",4),t.\u0275\u0275element(6,"polygon",5),t.\u0275\u0275elementEnd()(),t.\u0275\u0275namespaceHTML(),t.\u0275\u0275element(7,"div",6),t.\u0275\u0275projection(8),t.\u0275\u0275elementStart(9,"button",7),t.\u0275\u0275listener("click",function(){return e.previousClicked()}),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(10,"button",8),t.\u0275\u0275listener("click",function(){return e.nextClicked()}),t.\u0275\u0275elementEnd()()(),t.\u0275\u0275elementStart(11,"label",9),t.\u0275\u0275text(12),t.\u0275\u0275elementEnd()),2&a&&(t.\u0275\u0275advance(2),t.\u0275\u0275attribute("aria-label",e.periodButtonLabel)("aria-describedby",e._periodButtonLabelId),t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate(e.periodButtonText),t.\u0275\u0275advance(1),t.\u0275\u0275classProp("mat-calendar-invert","month"!==e.calendar.currentView),t.\u0275\u0275advance(4),t.\u0275\u0275property("disabled",!e.previousEnabled()),t.\u0275\u0275attribute("aria-label",e.prevButtonLabel),t.\u0275\u0275advance(1),t.\u0275\u0275property("disabled",!e.nextEnabled()),t.\u0275\u0275attribute("aria-label",e.nextButtonLabel),t.\u0275\u0275advance(1),t.\u0275\u0275property("id",e._periodButtonLabelId),t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate(e.periodButtonDescription))},dependencies:[Z.MatButton,Z.MatIconButton],encapsulation:2,changeDetection:0}),o}(),de=function(){var o=function(){function s(a,e,n,i){var r=this;(0,u.Z)(this,s),this._dateAdapter=e,this._dateFormats=n,this._changeDetectorRef=i,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new t.EventEmitter,this.yearSelected=new t.EventEmitter,this.monthSelected=new t.EventEmitter,this.viewChanged=new t.EventEmitter(!0),this._userSelection=new t.EventEmitter,this._userDragDrop=new t.EventEmitter,this._activeDrag=null,this.stateChanges=new Y.x,this._intlChanges=a.changes.subscribe(function(){i.markForCheck(),r.stateChanges.next()})}return(0,f.Z)(s,[{key:"startAt",get:function(){return this._startAt},set:function(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"selected",get:function(){return this._selected},set:function(e){this._selected=e instanceof W?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"minDate",get:function(){return this._minDate},set:function(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"maxDate",get:function(){return this._maxDate},set:function(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"activeDate",get:function(){return this._clampedActiveDate},set:function(e){this._clampedActiveDate=this._dateAdapter.clampDate(e,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}},{key:"currentView",get:function(){return this._currentView},set:function(e){var n=this._currentView!==e?e:null;this._currentView=e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),n&&this.viewChanged.emit(n)}},{key:"ngAfterContentInit",value:function(){this._calendarHeaderPortal=new O.ComponentPortal(this.headerComponent||xe),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}},{key:"ngAfterViewChecked",value:function(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}},{key:"ngOnDestroy",value:function(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}},{key:"ngOnChanges",value:function(e){var n=e.minDate&&!this._dateAdapter.sameDate(e.minDate.previousValue,e.minDate.currentValue)?e.minDate:void 0,i=e.maxDate&&!this._dateAdapter.sameDate(e.maxDate.previousValue,e.maxDate.currentValue)?e.maxDate:void 0,r=n||i||e.dateFilter;if(r&&!r.firstChange){var d=this._getCurrentViewComponent();d&&(this._changeDetectorRef.detectChanges(),d._init())}this.stateChanges.next()}},{key:"focusActiveCell",value:function(){this._getCurrentViewComponent()._focusActiveCell(!1)}},{key:"updateTodaysDate",value:function(){this._getCurrentViewComponent()._init()}},{key:"_dateSelected",value:function(e){var n=e.value;(this.selected instanceof W||n&&!this._dateAdapter.sameDate(n,this.selected))&&this.selectedChange.emit(n),this._userSelection.emit(e)}},{key:"_yearSelectedInMultiYearView",value:function(e){this.yearSelected.emit(e)}},{key:"_monthSelectedInYearView",value:function(e){this.monthSelected.emit(e)}},{key:"_goToDateInView",value:function(e,n){this.activeDate=e,this.currentView=n}},{key:"_dragStarted",value:function(e){this._activeDrag=e}},{key:"_dragEnded",value:function(e){this._activeDrag&&(e.value&&this._userDragDrop.emit(e),this._activeDrag=null)}},{key:"_getCurrentViewComponent",value:function(){return this.monthView||this.yearView||this.multiYearView}}]),s}();return o.\u0275fac=function(a){return new(a||o)(t.\u0275\u0275directiveInject(te),t.\u0275\u0275directiveInject(b.DateAdapter,8),t.\u0275\u0275directiveInject(b.MAT_DATE_FORMATS,8),t.\u0275\u0275directiveInject(t.ChangeDetectorRef))},o.\u0275cmp=t.\u0275\u0275defineComponent({type:o,selectors:[["mat-calendar"]],viewQuery:function(a,e){var n;1&a&&(t.\u0275\u0275viewQuery(De,5),t.\u0275\u0275viewQuery(Ce,5),t.\u0275\u0275viewQuery(ye,5)),2&a&&(t.\u0275\u0275queryRefresh(n=t.\u0275\u0275loadQuery())&&(e.monthView=n.first),t.\u0275\u0275queryRefresh(n=t.\u0275\u0275loadQuery())&&(e.yearView=n.first),t.\u0275\u0275queryRefresh(n=t.\u0275\u0275loadQuery())&&(e.multiYearView=n.first))},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[t.\u0275\u0275ProvidersFeature([me]),t.\u0275\u0275NgOnChangesFeature],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(a,e){1&a&&(t.\u0275\u0275template(0,at,0,0,"ng-template",0),t.\u0275\u0275elementStart(1,"div",1),t.\u0275\u0275template(2,nt,1,11,"mat-month-view",2),t.\u0275\u0275template(3,it,1,6,"mat-year-view",3),t.\u0275\u0275template(4,rt,1,6,"mat-multi-year-view",4),t.\u0275\u0275elementEnd()),2&a&&(t.\u0275\u0275property("cdkPortalOutlet",e._calendarHeaderPortal),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngSwitch",e.currentView),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngSwitchCase","month"),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngSwitchCase","year"),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngSwitchCase","multi-year"))},dependencies:[I.NgSwitch,I.NgSwitchCase,E.CdkMonitorFocus,O.CdkPortalOutlet,De,Ce,ye],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}.mat-calendar-hidden-label{display:none}'],encapsulation:2,changeDetection:0}),o}(),be={transformPanel:(0,L.X$)("transformPanel",[(0,L.eR)("void => enter-dropdown",(0,L.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,L.F4)([(0,L.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,L.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,L.eR)("void => enter-dialog",(0,L.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,L.F4)([(0,L.oB)({opacity:0,transform:"scale(0.7)"}),(0,L.oB)({transform:"none",opacity:1})]))),(0,L.eR)("* => void",(0,L.jt)("100ms linear",(0,L.oB)({opacity:0})))]),fadeInCalendar:(0,L.X$)("fadeInCalendar",[(0,L.SB)("void",(0,L.oB)({opacity:0})),(0,L.SB)("enter",(0,L.oB)({opacity:1})),(0,L.eR)("void => *",(0,L.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])},Dt=0,Me=new t.InjectionToken("mat-datepicker-scroll-strategy");function Be(o){return function(){return o.scrollStrategies.reposition()}}var Ye={provide:Me,deps:[R.Overlay],useFactory:Be},yt=(0,b.mixinColor)(function(){return(0,f.Z)(function o(s){(0,u.Z)(this,o),this._elementRef=s})}()),Ne=function(){var o=function(s){(0,p.Z)(e,s);var a=(0,D.Z)(e);function e(n,i,r,d,_,S){var w;return(0,u.Z)(this,e),(w=a.call(this,n))._changeDetectorRef=i,w._globalModel=r,w._dateAdapter=d,w._rangeSelectionStrategy=_,w._subscriptions=new P.w0,w._animationDone=new Y.x,w._isAnimating=!1,w._actionsPortal=null,w._closeButtonText=S.closeCalendarLabel,w}return(0,f.Z)(e,[{key:"ngOnInit",value:function(){this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}},{key:"ngAfterViewInit",value:function(){var i=this;this._subscriptions.add(this.datepicker.stateChanges.subscribe(function(){i._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}},{key:"ngOnDestroy",value:function(){this._subscriptions.unsubscribe(),this._animationDone.complete()}},{key:"_handleUserSelection",value:function(i){var r=this._model.selection,d=i.value,_=r instanceof W;if(_&&this._rangeSelectionStrategy){var S=this._rangeSelectionStrategy.selectionFinished(d,r,i.event);this._model.updateSelection(S,this)}else d&&(_||!this._dateAdapter.sameDate(d,r))&&this._model.add(d);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}},{key:"_handleUserDragDrop",value:function(i){this._model.updateSelection(i.value,this)}},{key:"_startExitAnimation",value:function(){this._animationState="void",this._changeDetectorRef.markForCheck()}},{key:"_handleAnimationEvent",value:function(i){this._isAnimating="start"===i.phaseName,this._isAnimating||this._animationDone.next()}},{key:"_getSelected",value:function(){return this._model.selection}},{key:"_applyPendingSelection",value:function(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}},{key:"_assignActions",value:function(i,r){this._model=i?this._globalModel.clone():this._globalModel,this._actionsPortal=i,r&&this._changeDetectorRef.detectChanges()}}]),e}(yt);return o.\u0275fac=function(a){return new(a||o)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(Q),t.\u0275\u0275directiveInject(b.DateAdapter),t.\u0275\u0275directiveInject(ae,8),t.\u0275\u0275directiveInject(te))},o.\u0275cmp=t.\u0275\u0275defineComponent({type:o,selectors:[["mat-datepicker-content"]],viewQuery:function(a,e){var n;1&a&&t.\u0275\u0275viewQuery(de,5),2&a&&t.\u0275\u0275queryRefresh(n=t.\u0275\u0275loadQuery())&&(e._calendar=n.first)},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(a,e){1&a&&t.\u0275\u0275syntheticHostListener("@transformPanel.start",function(i){return e._handleAnimationEvent(i)})("@transformPanel.done",function(i){return e._handleAnimationEvent(i)}),2&a&&(t.\u0275\u0275syntheticHostProperty("@transformPanel",e._animationState),t.\u0275\u0275classProp("mat-datepicker-content-touch",e.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[t.\u0275\u0275InheritDefinitionFeature],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(a,e){var n;1&a&&(t.\u0275\u0275elementStart(0,"div",0)(1,"mat-calendar",1),t.\u0275\u0275listener("yearSelected",function(r){return e.datepicker._selectYear(r)})("monthSelected",function(r){return e.datepicker._selectMonth(r)})("viewChanged",function(r){return e.datepicker._viewChanged(r)})("_userSelection",function(r){return e._handleUserSelection(r)})("_userDragDrop",function(r){return e._handleUserDragDrop(r)}),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(2,ot,0,0,"ng-template",2),t.\u0275\u0275elementStart(3,"button",3),t.\u0275\u0275listener("focus",function(){return e._closeButtonFocused=!0})("blur",function(){return e._closeButtonFocused=!1})("click",function(){return e.datepicker.close()}),t.\u0275\u0275text(4),t.\u0275\u0275elementEnd()()),2&a&&(t.\u0275\u0275classProp("mat-datepicker-content-container-with-custom-header",e.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",e._actionsPortal),t.\u0275\u0275attribute("aria-modal",!0)("aria-labelledby",null!==(n=e._dialogLabelId)&&void 0!==n?n:void 0),t.\u0275\u0275advance(1),t.\u0275\u0275property("id",e.datepicker.id)("ngClass",e.datepicker.panelClass)("startAt",e.datepicker.startAt)("startView",e.datepicker.startView)("minDate",e.datepicker._getMinDate())("maxDate",e.datepicker._getMaxDate())("dateFilter",e.datepicker._getDateFilter())("headerComponent",e.datepicker.calendarHeaderComponent)("selected",e._getSelected())("dateClass",e.datepicker.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",e.startDateAccessibleName)("endDateAccessibleName",e.endDateAccessibleName),t.\u0275\u0275advance(1),t.\u0275\u0275property("cdkPortalOutlet",e._actionsPortal),t.\u0275\u0275advance(1),t.\u0275\u0275classProp("cdk-visually-hidden",!e._closeButtonFocused),t.\u0275\u0275property("color",e.color||"primary"),t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate(e._closeButtonText))},dependencies:[I.NgClass,Z.MatButton,E.CdkTrapFocus,O.CdkPortalOutlet,de],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}"],encapsulation:2,data:{animation:[be.transformPanel,be.fadeInCalendar]},changeDetection:0}),o}(),$=function(){var o=function(){function s(a,e,n,i,r,d,_){(0,u.Z)(this,s),this._overlay=a,this._ngZone=e,this._viewContainerRef=n,this._dateAdapter=r,this._dir=d,this._model=_,this._inputStateChanges=P.w0.EMPTY,this._document=(0,t.inject)(I.DOCUMENT),this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new t.EventEmitter,this.monthSelected=new t.EventEmitter,this.viewChanged=new t.EventEmitter(!0),this.openedStream=new t.EventEmitter,this.closedStream=new t.EventEmitter,this._opened=!1,this.id="mat-datepicker-".concat(Dt++),this._focusedElementBeforeOpen=null,this._backdropHarnessClass="".concat(this.id,"-backdrop"),this.stateChanges=new Y.x,this._scrollStrategy=i}return(0,f.Z)(s,[{key:"startAt",get:function(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)},set:function(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"color",get:function(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)},set:function(e){this._color=e}},{key:"touchUi",get:function(){return this._touchUi},set:function(e){this._touchUi=(0,F.coerceBooleanProperty)(e)}},{key:"disabled",get:function(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled},set:function(e){var n=(0,F.coerceBooleanProperty)(e);n!==this._disabled&&(this._disabled=n,this.stateChanges.next(void 0))}},{key:"restoreFocus",get:function(){return this._restoreFocus},set:function(e){this._restoreFocus=(0,F.coerceBooleanProperty)(e)}},{key:"panelClass",get:function(){return this._panelClass},set:function(e){this._panelClass=(0,F.coerceStringArray)(e)}},{key:"opened",get:function(){return this._opened},set:function(e){(0,F.coerceBooleanProperty)(e)?this.open():this.close()}},{key:"_getMinDate",value:function(){return this.datepickerInput&&this.datepickerInput.min}},{key:"_getMaxDate",value:function(){return this.datepickerInput&&this.datepickerInput.max}},{key:"_getDateFilter",value:function(){return this.datepickerInput&&this.datepickerInput.dateFilter}},{key:"ngOnChanges",value:function(e){var n=e.xPosition||e.yPosition;if(n&&!n.firstChange&&this._overlayRef){var i=this._overlayRef.getConfig().positionStrategy;i instanceof R.FlexibleConnectedPositionStrategy&&(this._setConnectedPositions(i),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}},{key:"ngOnDestroy",value:function(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}},{key:"select",value:function(e){this._model.add(e)}},{key:"_selectYear",value:function(e){this.yearSelected.emit(e)}},{key:"_selectMonth",value:function(e){this.monthSelected.emit(e)}},{key:"_viewChanged",value:function(e){this.viewChanged.emit(e)}},{key:"registerInput",value:function(e){var n=this;return this._inputStateChanges.unsubscribe(),this.datepickerInput=e,this._inputStateChanges=e.stateChanges.subscribe(function(){return n.stateChanges.next(void 0)}),this._model}},{key:"registerActions",value:function(e){var n;this._actionsPortal=e,null===(n=this._componentRef)||void 0===n||n.instance._assignActions(e,!0)}},{key:"removeActions",value:function(e){var n;e===this._actionsPortal&&(this._actionsPortal=null,null===(n=this._componentRef)||void 0===n||n.instance._assignActions(null,!0))}},{key:"open",value:function(){var e;this._opened||this.disabled||null!==(e=this._componentRef)&&void 0!==e&&e.instance._isAnimating||(this._focusedElementBeforeOpen=(0,V._getFocusedElementPierceShadowDom)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}},{key:"close",value:function(){var e,n=this;if(this._opened&&(null===(e=this._componentRef)||void 0===e||!e.instance._isAnimating)){var i=this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,r=function(){n._opened&&(n._opened=!1,n.closedStream.emit())};if(this._componentRef){var d=this._componentRef,_=d.instance,S=d.location;_._startExitAnimation(),_._animationDone.pipe((0,C.q)(1)).subscribe(function(){var w=n._document.activeElement;i&&(!w||w===n._document.activeElement||S.nativeElement.contains(w))&&n._focusedElementBeforeOpen.focus(),n._focusedElementBeforeOpen=null,n._destroyOverlay()})}i?setTimeout(r):r()}}},{key:"_applyPendingSelection",value:function(){var e,n;null===(e=this._componentRef)||void 0===e||null===(n=e.instance)||void 0===n||n._applyPendingSelection()}},{key:"_forwardContentValues",value:function(e){e.datepicker=this,e.color=this.color,e._dialogLabelId=this.datepickerInput.getOverlayLabelId(),e._assignActions(this._actionsPortal,!1)}},{key:"_openOverlay",value:function(){var e=this;this._destroyOverlay();var n=this.touchUi,i=new O.ComponentPortal(Ne,this._viewContainerRef),r=this._overlayRef=this._overlay.create(new R.OverlayConfig({positionStrategy:n?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[n?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:n?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-".concat(n?"dialog":"popup")}));this._getCloseStream(r).subscribe(function(d){d&&d.preventDefault(),e.close()}),r.keydownEvents().subscribe(function(d){var _=d.keyCode;(_===c.UP_ARROW||_===c.DOWN_ARROW||_===c.LEFT_ARROW||_===c.RIGHT_ARROW||_===c.PAGE_UP||_===c.PAGE_DOWN)&&d.preventDefault()}),this._componentRef=r.attach(i),this._forwardContentValues(this._componentRef.instance),n||this._ngZone.onStable.pipe((0,C.q)(1)).subscribe(function(){return r.updatePosition()})}},{key:"_destroyOverlay",value:function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}},{key:"_getDialogStrategy",value:function(){return this._overlay.position().global().centerHorizontally().centerVertically()}},{key:"_getDropdownStrategy",value:function(){var e=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(e)}},{key:"_setConnectedPositions",value:function(e){var n="end"===this.xPosition?"end":"start",i="start"===n?"end":"start",r="above"===this.yPosition?"bottom":"top",d="top"===r?"bottom":"top";return e.withPositions([{originX:n,originY:d,overlayX:n,overlayY:r},{originX:n,originY:r,overlayX:n,overlayY:d},{originX:i,originY:d,overlayX:i,overlayY:r},{originX:i,originY:r,overlayX:i,overlayY:d}])}},{key:"_getCloseStream",value:function(e){var n=this,i=["ctrlKey","shiftKey","metaKey"];return(0,j.T)(e.backdropClick(),e.detachments(),e.keydownEvents().pipe((0,K.h)(function(r){return r.keyCode===c.ESCAPE&&!(0,c.hasModifierKey)(r)||n.datepickerInput&&(0,c.hasModifierKey)(r,"altKey")&&r.keyCode===c.UP_ARROW&&i.every(function(d){return!(0,c.hasModifierKey)(r,d)})})))}}]),s}();return o.\u0275fac=function(a){return new(a||o)(t.\u0275\u0275directiveInject(R.Overlay),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(Me),t.\u0275\u0275directiveInject(b.DateAdapter,8),t.\u0275\u0275directiveInject(M.Directionality,8),t.\u0275\u0275directiveInject(Q))},o.\u0275dir=t.\u0275\u0275defineDirective({type:o,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:"touchUi",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",dateClass:"dateClass",panelClass:"panelClass",opened:"opened"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[t.\u0275\u0275NgOnChangesFeature]}),o}(),Ct=function(){var o=function(s){(0,p.Z)(e,s);var a=(0,D.Z)(e);function e(){return(0,u.Z)(this,e),a.apply(this,arguments)}return(0,f.Z)(e)}($);return o.\u0275fac=function(){var s;return function(e){return(s||(s=t.\u0275\u0275getInheritedFactory(o)))(e||o)}}(),o.\u0275cmp=t.\u0275\u0275defineComponent({type:o,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[t.\u0275\u0275ProvidersFeature([me,{provide:$,useExisting:o}]),t.\u0275\u0275InheritDefinitionFeature],decls:0,vars:0,template:function(a,e){},encapsulation:2,changeDetection:0}),o}(),ie=(0,f.Z)(function o(s,a){(0,u.Z)(this,o),this.target=s,this.targetElement=a,this.value=this.target.value}),Ze=function(){var o=function(){function s(a,e,n){var i=this;(0,u.Z)(this,s),this._elementRef=a,this._dateAdapter=e,this._dateFormats=n,this.dateChange=new t.EventEmitter,this.dateInput=new t.EventEmitter,this.stateChanges=new Y.x,this._onTouched=function(){},this._validatorOnChange=function(){},this._cvaOnChange=function(){},this._valueChangesSubscription=P.w0.EMPTY,this._localeSubscription=P.w0.EMPTY,this._parseValidator=function(){return i._lastValueValid?null:{matDatepickerParse:{text:i._elementRef.nativeElement.value}}},this._filterValidator=function(r){var d=i._dateAdapter.getValidDateOrNull(i._dateAdapter.deserialize(r.value));return!d||i._matchesFilter(d)?null:{matDatepickerFilter:!0}},this._minValidator=function(r){var d=i._dateAdapter.getValidDateOrNull(i._dateAdapter.deserialize(r.value)),_=i._getMinDate();return!_||!d||i._dateAdapter.compareDate(_,d)<=0?null:{matDatepickerMin:{min:_,actual:d}}},this._maxValidator=function(r){var d=i._dateAdapter.getValidDateOrNull(i._dateAdapter.deserialize(r.value)),_=i._getMaxDate();return!_||!d||i._dateAdapter.compareDate(_,d)>=0?null:{matDatepickerMax:{max:_,actual:d}}},this._lastValueValid=!1,this._localeSubscription=e.localeChanges.subscribe(function(){i._assignValueProgrammatically(i.value)})}return(0,f.Z)(s,[{key:"value",get:function(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue},set:function(e){this._assignValueProgrammatically(e)}},{key:"disabled",get:function(){return!!this._disabled||this._parentDisabled()},set:function(e){var n=(0,F.coerceBooleanProperty)(e),i=this._elementRef.nativeElement;this._disabled!==n&&(this._disabled=n,this.stateChanges.next(void 0)),n&&this._isInitialized&&i.blur&&i.blur()}},{key:"_getValidators",value:function(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}},{key:"_registerModel",value:function(e){var n=this;this._model=e,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(function(i){if(n._shouldHandleChangeEvent(i)){var r=n._getValueFromModel(i.selection);n._lastValueValid=n._isValidValue(r),n._cvaOnChange(r),n._onTouched(),n._formatValue(r),n.dateInput.emit(new ie(n,n._elementRef.nativeElement)),n.dateChange.emit(new ie(n,n._elementRef.nativeElement))}})}},{key:"ngAfterViewInit",value:function(){this._isInitialized=!0}},{key:"ngOnChanges",value:function(e){je(e,this._dateAdapter)&&this.stateChanges.next(void 0)}},{key:"ngOnDestroy",value:function(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}},{key:"registerOnValidatorChange",value:function(e){this._validatorOnChange=e}},{key:"validate",value:function(e){return this._validator?this._validator(e):null}},{key:"writeValue",value:function(e){this._assignValueProgrammatically(e)}},{key:"registerOnChange",value:function(e){this._cvaOnChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e}},{key:"_onKeydown",value:function(e){(0,c.hasModifierKey)(e,"altKey")&&e.keyCode===c.DOWN_ARROW&&["ctrlKey","shiftKey","metaKey"].every(function(r){return!(0,c.hasModifierKey)(e,r)})&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),e.preventDefault())}},{key:"_onInput",value:function(e){var n=this._lastValueValid,i=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(i),i=this._dateAdapter.getValidDateOrNull(i);var r=!this._dateAdapter.sameDate(i,this.value);!i||r?this._cvaOnChange(i):(e&&!this.value&&this._cvaOnChange(i),n!==this._lastValueValid&&this._validatorOnChange()),r&&(this._assignValue(i),this.dateInput.emit(new ie(this,this._elementRef.nativeElement)))}},{key:"_onChange",value:function(){this.dateChange.emit(new ie(this,this._elementRef.nativeElement))}},{key:"_onBlur",value:function(){this.value&&this._formatValue(this.value),this._onTouched()}},{key:"_formatValue",value:function(e){this._elementRef.nativeElement.value=null!=e?this._dateAdapter.format(e,this._dateFormats.display.dateInput):""}},{key:"_assignValue",value:function(e){this._model?(this._assignValueToModel(e),this._pendingValue=null):this._pendingValue=e}},{key:"_isValidValue",value:function(e){return!e||this._dateAdapter.isValid(e)}},{key:"_parentDisabled",value:function(){return!1}},{key:"_assignValueProgrammatically",value:function(e){e=this._dateAdapter.deserialize(e),this._lastValueValid=this._isValidValue(e),e=this._dateAdapter.getValidDateOrNull(e),this._assignValue(e),this._formatValue(e)}},{key:"_matchesFilter",value:function(e){var n=this._getDateFilter();return!n||n(e)}}]),s}();return o.\u0275fac=function(a){return new(a||o)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(b.DateAdapter,8),t.\u0275\u0275directiveInject(b.MAT_DATE_FORMATS,8))},o.\u0275dir=t.\u0275\u0275defineDirective({type:o,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[t.\u0275\u0275NgOnChangesFeature]}),o}();function je(o,s){for(var e=0,n=Object.keys(o);e<n.length;e++){var r=o[n[e]],d=r.previousValue,_=r.currentValue;if(!s.isDateInstance(d)||!s.isDateInstance(_))return!0;if(!s.sameDate(d,_))return!0}return!1}var Ke={provide:N.NG_VALUE_ACCESSOR,useExisting:(0,t.forwardRef)(function(){return Ae}),multi:!0},He={provide:N.NG_VALIDATORS,useExisting:(0,t.forwardRef)(function(){return Ae}),multi:!0},Ae=function(){var o=function(s){(0,p.Z)(e,s);var a=(0,D.Z)(e);function e(n,i,r,d){var _,S;return(0,u.Z)(this,e),(S=a.call(this,n,i,r))._formField=d,S._closedSubscription=P.w0.EMPTY,S._validator=N.Validators.compose((0,h.Z)((_=(0,m.Z)(S),(0,v.Z)(e.prototype)),"_getValidators",_).call(_)),S}return(0,f.Z)(e,[{key:"matDatepicker",set:function(i){var r=this;i&&(this._datepicker=i,this._closedSubscription=i.closedStream.subscribe(function(){return r._onTouched()}),this._registerModel(i.registerInput(this)))}},{key:"min",get:function(){return this._min},set:function(i){var r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i));this._dateAdapter.sameDate(r,this._min)||(this._min=r,this._validatorOnChange())}},{key:"max",get:function(){return this._max},set:function(i){var r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i));this._dateAdapter.sameDate(r,this._max)||(this._max=r,this._validatorOnChange())}},{key:"dateFilter",get:function(){return this._dateFilter},set:function(i){var r=this._matchesFilter(this.value);this._dateFilter=i,this._matchesFilter(this.value)!==r&&this._validatorOnChange()}},{key:"getConnectedOverlayOrigin",value:function(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}},{key:"getOverlayLabelId",value:function(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}},{key:"getThemePalette",value:function(){return this._formField?this._formField.color:void 0}},{key:"getStartValue",value:function(){return this.value}},{key:"ngOnDestroy",value:function(){(0,h.Z)((0,v.Z)(e.prototype),"ngOnDestroy",this).call(this),this._closedSubscription.unsubscribe()}},{key:"_openPopup",value:function(){this._datepicker&&this._datepicker.open()}},{key:"_getValueFromModel",value:function(i){return i}},{key:"_assignValueToModel",value:function(i){this._model&&this._model.updateSelection(i,this)}},{key:"_getMinDate",value:function(){return this._min}},{key:"_getMaxDate",value:function(){return this._max}},{key:"_getDateFilter",value:function(){return this._dateFilter}},{key:"_shouldHandleChangeEvent",value:function(i){return i.source!==this}}]),e}(Ze);return o.\u0275fac=function(a){return new(a||o)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(b.DateAdapter,8),t.\u0275\u0275directiveInject(b.MAT_DATE_FORMATS,8),t.\u0275\u0275directiveInject(ee.MAT_FORM_FIELD,8))},o.\u0275dir=t.\u0275\u0275defineDirective({type:o,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(a,e){1&a&&t.\u0275\u0275listener("input",function(i){return e._onInput(i.target.value)})("change",function(){return e._onChange()})("blur",function(){return e._onBlur()})("keydown",function(i){return e._onKeydown(i)}),2&a&&(t.\u0275\u0275hostProperty("disabled",e.disabled),t.\u0275\u0275attribute("aria-haspopup",e._datepicker?"dialog":null)("aria-owns",(null==e._datepicker?null:e._datepicker.opened)&&e._datepicker.id||null)("min",e.min?e._dateAdapter.toIso8601(e.min):null)("max",e.max?e._dateAdapter.toIso8601(e.max):null)("data-mat-calendar",e._datepicker?e._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[t.\u0275\u0275ProvidersFeature([Ke,He,{provide:ue.MAT_INPUT_VALUE_ACCESSOR,useExisting:o}]),t.\u0275\u0275InheritDefinitionFeature]}),o}(),We=function(){var o=(0,f.Z)(function s(){(0,u.Z)(this,s)});return o.\u0275fac=function(a){return new(a||o)},o.\u0275dir=t.\u0275\u0275defineDirective({type:o,selectors:[["","matDatepickerToggleIcon",""]]}),o}(),bt=function(){var o=function(){function s(a,e,n){(0,u.Z)(this,s),this._intl=a,this._changeDetectorRef=e,this._stateChanges=P.w0.EMPTY;var i=Number(n);this.tabIndex=i||0===i?i:null}return(0,f.Z)(s,[{key:"disabled",get:function(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled},set:function(e){this._disabled=(0,F.coerceBooleanProperty)(e)}},{key:"ngOnChanges",value:function(e){e.datepicker&&this._watchStateChanges()}},{key:"ngOnDestroy",value:function(){this._stateChanges.unsubscribe()}},{key:"ngAfterContentInit",value:function(){this._watchStateChanges()}},{key:"_open",value:function(e){this.datepicker&&!this.disabled&&(this.datepicker.open(),e.stopPropagation())}},{key:"_watchStateChanges",value:function(){var e=this,n=this.datepicker?this.datepicker.stateChanges:(0,A.of)(),i=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,A.of)(),r=this.datepicker?(0,j.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,A.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,j.T)(this._intl.changes,n,i,r).subscribe(function(){return e._changeDetectorRef.markForCheck()})}}]),s}();return o.\u0275fac=function(a){return new(a||o)(t.\u0275\u0275directiveInject(te),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275injectAttribute("tabindex"))},o.\u0275cmp=t.\u0275\u0275defineComponent({type:o,selectors:[["mat-datepicker-toggle"]],contentQueries:function(a,e,n){var i;1&a&&t.\u0275\u0275contentQuery(n,We,5),2&a&&t.\u0275\u0275queryRefresh(i=t.\u0275\u0275loadQuery())&&(e._customIcon=i.first)},viewQuery:function(a,e){var n;1&a&&t.\u0275\u0275viewQuery(st,5),2&a&&t.\u0275\u0275queryRefresh(n=t.\u0275\u0275loadQuery())&&(e._button=n.first)},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(a,e){1&a&&t.\u0275\u0275listener("click",function(i){return e._open(i)}),2&a&&(t.\u0275\u0275attribute("tabindex",null)("data-mat-calendar",e.datepicker?e.datepicker.id:null),t.\u0275\u0275classProp("mat-datepicker-toggle-active",e.datepicker&&e.datepicker.opened)("mat-accent",e.datepicker&&"accent"===e.datepicker.color)("mat-warn",e.datepicker&&"warn"===e.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[t.\u0275\u0275NgOnChangesFeature],ngContentSelectors:ct,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(a,e){1&a&&(t.\u0275\u0275projectionDef(dt),t.\u0275\u0275elementStart(0,"button",0,1),t.\u0275\u0275template(2,lt,2,0,"svg",2),t.\u0275\u0275projection(3),t.\u0275\u0275elementEnd()),2&a&&(t.\u0275\u0275property("disabled",e.disabled)("disableRipple",e.disableRipple),t.\u0275\u0275attribute("aria-haspopup",e.datepicker?"dialog":null)("aria-label",e.ariaLabel||e._intl.openCalendarLabel)("tabindex",e.disabled?-1:e.tabIndex),t.\u0275\u0275advance(2),t.\u0275\u0275property("ngIf",!e._customIcon))},dependencies:[I.NgIf,Z.MatIconButton],styles:[".mat-datepicker-toggle{pointer-events:auto}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0}),o}();function Mt(o){return ke(o,!0)}function Ue(o){return o.nodeType===Node.ELEMENT_NODE}function ke(o,s){if(Ue(o)&&s){var a,e,i=((null===(a=o.getAttribute)||void 0===a||null===(e=a.call(o,"aria-labelledby"))||void 0===e?void 0:e.split(/\s+/g))||[]).reduce(function(x,re){var G=document.getElementById(re);return G&&x.push(G),x},[]);if(i.length)return i.map(function(x){return ke(x,!1)}).join(" ")}if(Ue(o)){var r,d=null===(r=o.getAttribute("aria-label"))||void 0===r?void 0:r.trim();if(d)return d}if(function At(o){return"INPUT"===o.nodeName}(o)||function kt(o){return"TEXTAREA"===o.nodeName}(o)){var _,S,w;if(null!==(_=o.labels)&&void 0!==_&&_.length)return Array.from(o.labels).map(function(x){return ke(x,!1)}).join(" ");var U=null===(S=o.getAttribute("placeholder"))||void 0===S?void 0:S.trim();if(U)return U;var B=null===(w=o.getAttribute("title"))||void 0===w?void 0:w.trim();if(B)return B}return(o.textContent||"").replace(/\s+/g," ").trim()}var ce=new t.InjectionToken("MAT_DATE_RANGE_INPUT_PARENT"),ze=(0,b.mixinErrorState)(function(){var o=function(s){(0,p.Z)(e,s);var a=(0,D.Z)(e);function e(n,i,r,d,_,S,w,U){var B;return(0,u.Z)(this,e),(B=a.call(this,i,w,U))._rangeInput=n,B._elementRef=i,B._defaultErrorStateMatcher=r,B._injector=d,B._parentForm=_,B._parentFormGroup=S,B._dir=(0,t.inject)(M.Directionality,{optional:!0}),B}return(0,f.Z)(e,[{key:"ngOnInit",value:function(){var i=this._injector.get(N.NgControl,null,{optional:!0,self:!0});i&&(this.ngControl=i)}},{key:"ngDoCheck",value:function(){this.ngControl&&this.updateErrorState()}},{key:"isEmpty",value:function(){return 0===this._elementRef.nativeElement.value.length}},{key:"_getPlaceholder",value:function(){return this._elementRef.nativeElement.placeholder}},{key:"focus",value:function(){this._elementRef.nativeElement.focus()}},{key:"getMirrorValue",value:function(){var i=this._elementRef.nativeElement,r=i.value;return r.length>0?r:i.placeholder}},{key:"_onInput",value:function(i){(0,h.Z)((0,v.Z)(e.prototype),"_onInput",this).call(this,i),this._rangeInput._handleChildValueChange()}},{key:"_openPopup",value:function(){this._rangeInput._openDatepicker()}},{key:"_getMinDate",value:function(){return this._rangeInput.min}},{key:"_getMaxDate",value:function(){return this._rangeInput.max}},{key:"_getDateFilter",value:function(){return this._rangeInput.dateFilter}},{key:"_parentDisabled",value:function(){return this._rangeInput._groupDisabled}},{key:"_shouldHandleChangeEvent",value:function(i){var r=i.source;return r!==this._rangeInput._startInput&&r!==this._rangeInput._endInput}},{key:"_assignValueProgrammatically",value:function(i){(0,h.Z)((0,v.Z)(e.prototype),"_assignValueProgrammatically",this).call(this,i);var r=this===this._rangeInput._startInput?this._rangeInput._endInput:this._rangeInput._startInput;r?._validatorOnChange()}},{key:"_getAccessibleName",value:function(){return Mt(this._elementRef.nativeElement)}}]),e}(Ze);return o.\u0275fac=function(a){return new(a||o)(t.\u0275\u0275directiveInject(ce),t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(b.ErrorStateMatcher),t.\u0275\u0275directiveInject(t.Injector),t.\u0275\u0275directiveInject(N.NgForm,8),t.\u0275\u0275directiveInject(N.FormGroupDirective,8),t.\u0275\u0275directiveInject(b.DateAdapter,8),t.\u0275\u0275directiveInject(b.MAT_DATE_FORMATS,8))},o.\u0275dir=t.\u0275\u0275defineDirective({type:o,features:[t.\u0275\u0275InheritDefinitionFeature]}),o}()),Ge=function(){var o=function(s){(0,p.Z)(e,s);var a=(0,D.Z)(e);function e(n,i,r,d,_,S,w,U){var B,x;return(0,u.Z)(this,e),(x=a.call(this,n,i,r,d,_,S,w,U))._startValidator=function(re){var G=x._dateAdapter.getValidDateOrNull(x._dateAdapter.deserialize(re.value)),q=x._model?x._model.selection.end:null;return!G||!q||x._dateAdapter.compareDate(G,q)<=0?null:{matStartDateInvalid:{end:q,actual:G}}},x._validator=N.Validators.compose([].concat((0,g.Z)((0,h.Z)((B=(0,m.Z)(x),(0,v.Z)(e.prototype)),"_getValidators",B).call(B)),[x._startValidator])),x}return(0,f.Z)(e,[{key:"_getValueFromModel",value:function(i){return i.start}},{key:"_shouldHandleChangeEvent",value:function(i){var r;return!(!(0,h.Z)((0,v.Z)(e.prototype),"_shouldHandleChangeEvent",this).call(this,i)||(null!==(r=i.oldValue)&&void 0!==r&&r.start?i.selection.start&&!this._dateAdapter.compareDate(i.oldValue.start,i.selection.start):!i.selection.start))}},{key:"_assignValueToModel",value:function(i){if(this._model){var r=new W(i,this._model.selection.end);this._model.updateSelection(r,this)}}},{key:"_formatValue",value:function(i){(0,h.Z)((0,v.Z)(e.prototype),"_formatValue",this).call(this,i),this._rangeInput._handleChildValueChange()}},{key:"_onKeydown",value:function(i){var r,d=this._rangeInput._endInput,_=this._elementRef.nativeElement,S="rtl"!==(null===(r=this._dir)||void 0===r?void 0:r.value);(i.keyCode===c.RIGHT_ARROW&&S||i.keyCode===c.LEFT_ARROW&&!S)&&_.selectionStart===_.value.length&&_.selectionEnd===_.value.length?(i.preventDefault(),d._elementRef.nativeElement.setSelectionRange(0,0),d.focus()):(0,h.Z)((0,v.Z)(e.prototype),"_onKeydown",this).call(this,i)}}]),e}(ze);return o.\u0275fac=function(a){return new(a||o)(t.\u0275\u0275directiveInject(ce),t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(b.ErrorStateMatcher),t.\u0275\u0275directiveInject(t.Injector),t.\u0275\u0275directiveInject(N.NgForm,8),t.\u0275\u0275directiveInject(N.FormGroupDirective,8),t.\u0275\u0275directiveInject(b.DateAdapter,8),t.\u0275\u0275directiveInject(b.MAT_DATE_FORMATS,8))},o.\u0275dir=t.\u0275\u0275defineDirective({type:o,selectors:[["input","matStartDate",""]],hostAttrs:["type","text",1,"mat-start-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(a,e){1&a&&t.\u0275\u0275listener("input",function(i){return e._onInput(i.target.value)})("change",function(){return e._onChange()})("keydown",function(i){return e._onKeydown(i)})("blur",function(){return e._onBlur()}),2&a&&(t.\u0275\u0275hostProperty("disabled",e.disabled),t.\u0275\u0275attribute("aria-haspopup",e._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==e._rangeInput.rangePicker?null:e._rangeInput.rangePicker.opened)&&e._rangeInput.rangePicker.id||null)("min",e._getMinDate()?e._dateAdapter.toIso8601(e._getMinDate()):null)("max",e._getMaxDate()?e._dateAdapter.toIso8601(e._getMaxDate()):null))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[t.\u0275\u0275ProvidersFeature([{provide:N.NG_VALUE_ACCESSOR,useExisting:o,multi:!0},{provide:N.NG_VALIDATORS,useExisting:o,multi:!0}]),t.\u0275\u0275InheritDefinitionFeature]}),o}(),Qe=function(){var o=function(s){(0,p.Z)(e,s);var a=(0,D.Z)(e);function e(n,i,r,d,_,S,w,U){var B,x;return(0,u.Z)(this,e),(x=a.call(this,n,i,r,d,_,S,w,U))._endValidator=function(re){var G=x._dateAdapter.getValidDateOrNull(x._dateAdapter.deserialize(re.value)),q=x._model?x._model.selection.start:null;return!G||!q||x._dateAdapter.compareDate(G,q)>=0?null:{matEndDateInvalid:{start:q,actual:G}}},x._validator=N.Validators.compose([].concat((0,g.Z)((0,h.Z)((B=(0,m.Z)(x),(0,v.Z)(e.prototype)),"_getValidators",B).call(B)),[x._endValidator])),x}return(0,f.Z)(e,[{key:"_getValueFromModel",value:function(i){return i.end}},{key:"_shouldHandleChangeEvent",value:function(i){var r;return!(!(0,h.Z)((0,v.Z)(e.prototype),"_shouldHandleChangeEvent",this).call(this,i)||(null!==(r=i.oldValue)&&void 0!==r&&r.end?i.selection.end&&!this._dateAdapter.compareDate(i.oldValue.end,i.selection.end):!i.selection.end))}},{key:"_assignValueToModel",value:function(i){if(this._model){var r=new W(this._model.selection.start,i);this._model.updateSelection(r,this)}}},{key:"_onKeydown",value:function(i){var r,d=this._rangeInput._startInput,_=this._elementRef.nativeElement,S="rtl"!==(null===(r=this._dir)||void 0===r?void 0:r.value);if(i.keyCode!==c.BACKSPACE||_.value)if((i.keyCode===c.LEFT_ARROW&&S||i.keyCode===c.RIGHT_ARROW&&!S)&&0===_.selectionStart&&0===_.selectionEnd){i.preventDefault();var w=d._elementRef.nativeElement.value.length;d._elementRef.nativeElement.setSelectionRange(w,w),d.focus()}else(0,h.Z)((0,v.Z)(e.prototype),"_onKeydown",this).call(this,i);else d.focus()}}]),e}(ze);return o.\u0275fac=function(a){return new(a||o)(t.\u0275\u0275directiveInject(ce),t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(b.ErrorStateMatcher),t.\u0275\u0275directiveInject(t.Injector),t.\u0275\u0275directiveInject(N.NgForm,8),t.\u0275\u0275directiveInject(N.FormGroupDirective,8),t.\u0275\u0275directiveInject(b.DateAdapter,8),t.\u0275\u0275directiveInject(b.MAT_DATE_FORMATS,8))},o.\u0275dir=t.\u0275\u0275defineDirective({type:o,selectors:[["input","matEndDate",""]],hostAttrs:["type","text",1,"mat-end-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(a,e){1&a&&t.\u0275\u0275listener("input",function(i){return e._onInput(i.target.value)})("change",function(){return e._onChange()})("keydown",function(i){return e._onKeydown(i)})("blur",function(){return e._onBlur()}),2&a&&(t.\u0275\u0275hostProperty("disabled",e.disabled),t.\u0275\u0275attribute("aria-haspopup",e._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==e._rangeInput.rangePicker?null:e._rangeInput.rangePicker.opened)&&e._rangeInput.rangePicker.id||null)("min",e._getMinDate()?e._dateAdapter.toIso8601(e._getMinDate()):null)("max",e._getMaxDate()?e._dateAdapter.toIso8601(e._getMaxDate()):null))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[t.\u0275\u0275ProvidersFeature([{provide:N.NG_VALUE_ACCESSOR,useExisting:o,multi:!0},{provide:N.NG_VALIDATORS,useExisting:o,multi:!0}]),t.\u0275\u0275InheritDefinitionFeature]}),o}(),wt=0,It=function(){var o=function(){function s(a,e,n,i,r){(0,u.Z)(this,s),this._changeDetectorRef=a,this._elementRef=e,this._dateAdapter=i,this._formField=r,this._closedSubscription=P.w0.EMPTY,this.id="mat-date-range-input-".concat(wt++),this.focused=!1,this.controlType="mat-date-range-input",this._groupDisabled=!1,this._ariaDescribedBy=null,this.separator="\u2013",this.comparisonStart=null,this.comparisonEnd=null,this.stateChanges=new Y.x,null!=r&&r._elementRef.nativeElement.classList.contains("mat-mdc-form-field")&&e.nativeElement.classList.add("mat-mdc-input-element","mat-mdc-form-field-input-control","mdc-text-field__input"),this.ngControl=n}return(0,f.Z)(s,[{key:"value",get:function(){return this._model?this._model.selection:null}},{key:"shouldLabelFloat",get:function(){return this.focused||!this.empty}},{key:"placeholder",get:function(){var e,n,i=(null===(e=this._startInput)||void 0===e?void 0:e._getPlaceholder())||"",r=(null===(n=this._endInput)||void 0===n?void 0:n._getPlaceholder())||"";return i||r?"".concat(i," ").concat(this.separator," ").concat(r):""}},{key:"rangePicker",get:function(){return this._rangePicker},set:function(e){var n=this;e&&(this._model=e.registerInput(this),this._rangePicker=e,this._closedSubscription.unsubscribe(),this._closedSubscription=e.closedStream.subscribe(function(){var i,r;null===(i=n._startInput)||void 0===i||i._onTouched(),null===(r=n._endInput)||void 0===r||r._onTouched()}),this._registerModel(this._model))}},{key:"required",get:function(){var e,n;return null!==(e=null!==(n=this._required)&&void 0!==n?n:this._isTargetRequired(this)||this._isTargetRequired(this._startInput)||this._isTargetRequired(this._endInput))&&void 0!==e&&e},set:function(e){this._required=(0,F.coerceBooleanProperty)(e)}},{key:"dateFilter",get:function(){return this._dateFilter},set:function(e){var n=this._startInput,i=this._endInput,r=n&&n._matchesFilter(n.value),d=i&&i._matchesFilter(n.value);this._dateFilter=e,n&&n._matchesFilter(n.value)!==r&&n._validatorOnChange(),i&&i._matchesFilter(i.value)!==d&&i._validatorOnChange()}},{key:"min",get:function(){return this._min},set:function(e){var n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(n,this._min)||(this._min=n,this._revalidate())}},{key:"max",get:function(){return this._max},set:function(e){var n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(n,this._max)||(this._max=n,this._revalidate())}},{key:"disabled",get:function(){return this._startInput&&this._endInput?this._startInput.disabled&&this._endInput.disabled:this._groupDisabled},set:function(e){var n=(0,F.coerceBooleanProperty)(e);n!==this._groupDisabled&&(this._groupDisabled=n,this.stateChanges.next(void 0))}},{key:"errorState",get:function(){return!(!this._startInput||!this._endInput)&&(this._startInput.errorState||this._endInput.errorState)}},{key:"empty",get:function(){var e=!!this._startInput&&this._startInput.isEmpty(),n=!!this._endInput&&this._endInput.isEmpty();return e&&n}},{key:"setDescribedByIds",value:function(e){this._ariaDescribedBy=e.length?e.join(" "):null}},{key:"onContainerClick",value:function(){!this.focused&&!this.disabled&&(this._model&&this._model.selection.start?this._endInput.focus():this._startInput.focus())}},{key:"ngAfterContentInit",value:function(){var e=this;this._model&&this._registerModel(this._model),(0,j.T)(this._startInput.stateChanges,this._endInput.stateChanges).subscribe(function(){e.stateChanges.next(void 0)})}},{key:"ngOnChanges",value:function(e){je(e,this._dateAdapter)&&this.stateChanges.next(void 0)}},{key:"ngOnDestroy",value:function(){this._closedSubscription.unsubscribe(),this.stateChanges.complete()}},{key:"getStartValue",value:function(){return this.value?this.value.start:null}},{key:"getThemePalette",value:function(){return this._formField?this._formField.color:void 0}},{key:"getConnectedOverlayOrigin",value:function(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}},{key:"getOverlayLabelId",value:function(){return this._formField?this._formField.getLabelId():null}},{key:"_getInputMirrorValue",value:function(e){var n="start"===e?this._startInput:this._endInput;return n?n.getMirrorValue():""}},{key:"_shouldHidePlaceholders",value:function(){return!!this._startInput&&!this._startInput.isEmpty()}},{key:"_handleChildValueChange",value:function(){this.stateChanges.next(void 0),this._changeDetectorRef.markForCheck()}},{key:"_openDatepicker",value:function(){this._rangePicker&&this._rangePicker.open()}},{key:"_shouldHideSeparator",value:function(){return(!this._formField||this._formField.getLabelId()&&!this._formField._shouldLabelFloat())&&this.empty}},{key:"_getAriaLabelledby",value:function(){var e=this._formField;return e&&e._hasFloatingLabel()?e._labelId:null}},{key:"_getStartDateAccessibleName",value:function(){return this._startInput._getAccessibleName()}},{key:"_getEndDateAccessibleName",value:function(){return this._endInput._getAccessibleName()}},{key:"_updateFocus",value:function(e){this.focused=null!==e,this.stateChanges.next()}},{key:"_revalidate",value:function(){this._startInput&&this._startInput._validatorOnChange(),this._endInput&&this._endInput._validatorOnChange()}},{key:"_registerModel",value:function(e){this._startInput&&this._startInput._registerModel(e),this._endInput&&this._endInput._registerModel(e)}},{key:"_isTargetRequired",value:function(e){var n,i;return null==e||null===(n=e.ngControl)||void 0===n||null===(i=n.control)||void 0===i?void 0:i.hasValidator(N.Validators.required)}}]),s}();return o.\u0275fac=function(a){return new(a||o)(t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(N.ControlContainer,10),t.\u0275\u0275directiveInject(b.DateAdapter,8),t.\u0275\u0275directiveInject(ee.MAT_FORM_FIELD,8))},o.\u0275cmp=t.\u0275\u0275defineComponent({type:o,selectors:[["mat-date-range-input"]],contentQueries:function(a,e,n){var i;1&a&&(t.\u0275\u0275contentQuery(n,Ge,5),t.\u0275\u0275contentQuery(n,Qe,5)),2&a&&(t.\u0275\u0275queryRefresh(i=t.\u0275\u0275loadQuery())&&(e._startInput=i.first),t.\u0275\u0275queryRefresh(i=t.\u0275\u0275loadQuery())&&(e._endInput=i.first))},hostAttrs:["role","group",1,"mat-date-range-input"],hostVars:8,hostBindings:function(a,e){2&a&&(t.\u0275\u0275attribute("id",e.id)("aria-labelledby",e._getAriaLabelledby())("aria-describedby",e._ariaDescribedBy)("data-mat-calendar",e.rangePicker?e.rangePicker.id:null),t.\u0275\u0275classProp("mat-date-range-input-hide-placeholders",e._shouldHidePlaceholders())("mat-date-range-input-required",e.required))},inputs:{rangePicker:"rangePicker",required:"required",dateFilter:"dateFilter",min:"min",max:"max",disabled:"disabled",separator:"separator",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},exportAs:["matDateRangeInput"],features:[t.\u0275\u0275ProvidersFeature([{provide:ee.MatFormFieldControl,useExisting:o},{provide:ce,useExisting:o}]),t.\u0275\u0275NgOnChangesFeature],ngContentSelectors:ht,decls:11,vars:5,consts:[["cdkMonitorSubtreeFocus","",1,"mat-date-range-input-container",3,"cdkFocusChange"],[1,"mat-date-range-input-wrapper"],["aria-hidden","true",1,"mat-date-range-input-mirror"],[1,"mat-date-range-input-separator"],[1,"mat-date-range-input-wrapper","mat-date-range-input-end-wrapper"]],template:function(a,e){1&a&&(t.\u0275\u0275projectionDef(ut),t.\u0275\u0275elementStart(0,"div",0),t.\u0275\u0275listener("cdkFocusChange",function(i){return e._updateFocus(i)}),t.\u0275\u0275elementStart(1,"div",1),t.\u0275\u0275projection(2),t.\u0275\u0275elementStart(3,"span",2),t.\u0275\u0275text(4),t.\u0275\u0275elementEnd()(),t.\u0275\u0275elementStart(5,"span",3),t.\u0275\u0275text(6),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(7,"div",4),t.\u0275\u0275projection(8,1),t.\u0275\u0275elementStart(9,"span",2),t.\u0275\u0275text(10),t.\u0275\u0275elementEnd()()()),2&a&&(t.\u0275\u0275advance(4),t.\u0275\u0275textInterpolate(e._getInputMirrorValue("start")),t.\u0275\u0275advance(1),t.\u0275\u0275classProp("mat-date-range-input-separator-hidden",e._shouldHideSeparator()),t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate(e.separator),t.\u0275\u0275advance(4),t.\u0275\u0275textInterpolate(e._getInputMirrorValue("end")))},dependencies:[E.CdkMonitorFocus],styles:[".mat-date-range-input{display:block;width:100%}.mat-date-range-input-container{display:flex;align-items:center}.mat-date-range-input-separator{transition:opacity 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);margin:0 4px}._mat-animation-noopable .mat-date-range-input-separator{transition:none}.mat-date-range-input-separator-hidden{-webkit-user-select:none;user-select:none;opacity:0;transition:none}.mat-date-range-input-wrapper{position:relative;overflow:hidden;max-width:calc(50% - 4px)}.mat-date-range-input-end-wrapper{flex-grow:1}.mat-date-range-input-inner{position:absolute;top:0;left:0;font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;vertical-align:bottom;text-align:inherit;-webkit-appearance:none;width:100%;height:100%}.mat-date-range-input-inner:-moz-ui-invalid{box-shadow:none}.mat-date-range-input-inner::placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-moz-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-webkit-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner:-ms-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-date-range-input-inner::placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-moz-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner:-ms-input-placeholder{transition:none}.mat-date-range-input-mirror{-webkit-user-select:none;user-select:none;visibility:hidden;white-space:nowrap;display:inline-block;min-width:2px}.mat-mdc-form-field-type-mat-date-range-input .mat-mdc-form-field-infix{width:200px}"],encapsulation:2,changeDetection:0}),o}(),St=function(){var o=function(s){(0,p.Z)(e,s);var a=(0,D.Z)(e);function e(){return(0,u.Z)(this,e),a.apply(this,arguments)}return(0,f.Z)(e,[{key:"_forwardContentValues",value:function(i){(0,h.Z)((0,v.Z)(e.prototype),"_forwardContentValues",this).call(this,i);var r=this.datepickerInput;r&&(i.comparisonStart=r.comparisonStart,i.comparisonEnd=r.comparisonEnd,i.startDateAccessibleName=r._getStartDateAccessibleName(),i.endDateAccessibleName=r._getEndDateAccessibleName())}}]),e}($);return o.\u0275fac=function(){var s;return function(e){return(s||(s=t.\u0275\u0275getInheritedFactory(o)))(e||o)}}(),o.\u0275cmp=t.\u0275\u0275defineComponent({type:o,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],features:[t.\u0275\u0275ProvidersFeature([Te,ft,{provide:$,useExisting:o}]),t.\u0275\u0275InheritDefinitionFeature],decls:0,vars:0,template:function(a,e){},encapsulation:2,changeDetection:0}),o}(),Ot=function(){var o=function(){function s(a){(0,u.Z)(this,s),this._datepicker=a}return(0,f.Z)(s,[{key:"_applySelection",value:function(){this._datepicker._applyPendingSelection(),this._datepicker.close()}}]),s}();return o.\u0275fac=function(a){return new(a||o)(t.\u0275\u0275directiveInject($))},o.\u0275dir=t.\u0275\u0275defineDirective({type:o,selectors:[["","matDatepickerApply",""],["","matDateRangePickerApply",""]],hostBindings:function(a,e){1&a&&t.\u0275\u0275listener("click",function(){return e._applySelection()})}}),o}(),Rt=function(){var o=(0,f.Z)(function s(a){(0,u.Z)(this,s),this._datepicker=a});return o.\u0275fac=function(a){return new(a||o)(t.\u0275\u0275directiveInject($))},o.\u0275dir=t.\u0275\u0275defineDirective({type:o,selectors:[["","matDatepickerCancel",""],["","matDateRangePickerCancel",""]],hostBindings:function(a,e){1&a&&t.\u0275\u0275listener("click",function(){return e._datepicker.close()})}}),o}(),Vt=function(){var o=function(){function s(a,e){(0,u.Z)(this,s),this._datepicker=a,this._viewContainerRef=e}return(0,f.Z)(s,[{key:"ngAfterViewInit",value:function(){this._portal=new O.TemplatePortal(this._template,this._viewContainerRef),this._datepicker.registerActions(this._portal)}},{key:"ngOnDestroy",value:function(){var e;this._datepicker.removeActions(this._portal),this._portal&&this._portal.isAttached&&(null===(e=this._portal)||void 0===e||e.detach())}}]),s}();return o.\u0275fac=function(a){return new(a||o)(t.\u0275\u0275directiveInject($),t.\u0275\u0275directiveInject(t.ViewContainerRef))},o.\u0275cmp=t.\u0275\u0275defineComponent({type:o,selectors:[["mat-datepicker-actions"],["mat-date-range-picker-actions"]],viewQuery:function(a,e){var n;1&a&&t.\u0275\u0275viewQuery(t.TemplateRef,5),2&a&&t.\u0275\u0275queryRefresh(n=t.\u0275\u0275loadQuery())&&(e._template=n.first)},ngContentSelectors:Ee,decls:1,vars:0,consts:[[1,"mat-datepicker-actions"]],template:function(a,e){1&a&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275template(0,_t,2,0,"ng-template"))},styles:[".mat-datepicker-actions{display:flex;justify-content:flex-end;align-items:center;padding:0 8px 8px 8px}.mat-datepicker-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0}),o}(),Tt=function(){var o=(0,f.Z)(function s(){(0,u.Z)(this,s)});return o.\u0275fac=function(a){return new(a||o)},o.\u0275mod=t.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=t.\u0275\u0275defineInjector({providers:[te,Ye],imports:[I.CommonModule,Z.MatButtonModule,R.OverlayModule,E.A11yModule,O.PortalModule,b.MatCommonModule,H.CdkScrollableModule]}),o}()},44841:(T,y,l)=>{function m(g,h){(null==h||h>g.length)&&(h=g.length);for(var v=0,p=new Array(h);v<h;v++)p[v]=g[v];return p}l.d(y,{Z:()=>m})},35488:(T,y,l)=>{function m(g){if(void 0===g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g}l.d(y,{Z:()=>m})},95106:(T,y,l)=>{l.d(y,{Z:()=>g});var m=l(44206);function g(h,v){var p=typeof Symbol<"u"&&h[Symbol.iterator]||h["@@iterator"];if(!p){if(Array.isArray(h)||(p=(0,m.Z)(h))||v&&h&&"number"==typeof h.length){p&&(h=p);var D=0,u=function(){};return{s:u,n:function(){return D>=h.length?{done:!0}:{done:!1,value:h[D++]}},e:function(I){throw I},f:u}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var R,f=!0,E=!1;return{s:function(){p=p.call(h)},n:function(){var I=p.next();return f=I.done,I},e:function(I){E=!0,R=I},f:function(){try{!f&&null!=p.return&&p.return()}finally{if(E)throw R}}}}},28694:(T,y,l)=>{l.d(y,{Z:()=>D});var m=l(20265),g=l(98568),h=l(43445),v=l(35488);function D(u){var f=(0,g.Z)();return function(){var O,R=(0,m.Z)(u);if(f){var I=(0,m.Z)(this).constructor;O=Reflect.construct(R,arguments,I)}else O=R.apply(this,arguments);return function p(u,f){if(f&&("object"===(0,h.Z)(f)||"function"==typeof f))return f;if(void 0!==f)throw new TypeError("Derived constructors may only return object or undefined");return(0,v.Z)(u)}(this,O)}}},4089:(T,y,l)=>{l.d(y,{Z:()=>h});var m=l(20265);function h(){return h=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(p,D,u){var f=function g(v,p){for(;!Object.prototype.hasOwnProperty.call(v,p)&&null!==(v=(0,m.Z)(v)););return v}(p,D);if(f){var E=Object.getOwnPropertyDescriptor(f,D);return E.get?E.get.call(arguments.length<3?p:u):E.value}},h.apply(this,arguments)}},20265:(T,y,l)=>{function m(g){return(m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(v){return v.__proto__||Object.getPrototypeOf(v)})(g)}l.d(y,{Z:()=>m})},24582:(T,y,l)=>{l.d(y,{Z:()=>g});var m=l(10006);function g(h,v){if("function"!=typeof v&&null!==v)throw new TypeError("Super expression must either be null or a function");h.prototype=Object.create(v&&v.prototype,{constructor:{value:h,writable:!0,configurable:!0}}),Object.defineProperty(h,"prototype",{writable:!1}),v&&(0,m.Z)(h,v)}},98568:(T,y,l)=>{function m(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}l.d(y,{Z:()=>m})},4826:(T,y,l)=>{function m(g){if(typeof Symbol<"u"&&null!=g[Symbol.iterator]||null!=g["@@iterator"])return Array.from(g)}l.d(y,{Z:()=>m})},10006:(T,y,l)=>{function m(g,h){return(m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,D){return p.__proto__=D,p})(g,h)}l.d(y,{Z:()=>m})},86170:(T,y,l)=>{l.d(y,{Z:()=>D});var m=l(44841),h=l(4826),v=l(44206);function D(u){return function g(u){if(Array.isArray(u))return(0,m.Z)(u)}(u)||(0,h.Z)(u)||(0,v.Z)(u)||function p(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(T,y,l)=>{l.d(y,{Z:()=>g});var m=l(44841);function g(h,v){if(h){if("string"==typeof h)return(0,m.Z)(h,v);var p=Object.prototype.toString.call(h).slice(8,-1);if("Object"===p&&h.constructor&&(p=h.constructor.name),"Map"===p||"Set"===p)return Array.from(h);if("Arguments"===p||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(p))return(0,m.Z)(h,v)}}}}]); +//# sourceMappingURL=6844.232b0adce74e1ee4.js.map \ No newline at end of file diff --git a/6844.232b0adce74e1ee4.js.map b/6844.232b0adce74e1ee4.js.map new file mode 100644 index 0000000..460cc62 --- /dev/null +++ b/6844.232b0adce74e1ee4.js.map @@ -0,0 +1 @@ +{"version":3,"file":"6844.232b0adce74e1ee4.js","mappings":"sdACaA,cAA0BC,GAAiB,SAACC,GAAM,OAAK,WAChEA,EAAOC,MACPA,KAAKC,KAAO,0BACZD,KAAKE,QAAU,qBACnB,CAAC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Bh+B,EACjD,CDES6gC,CAAiB7gC,KAAA,EAAS+gC,EAAA/C,GAAeh+B,KAAA,EAASghC,EAAAhD,GAA0Bh+B,IELtE,SAAAihC,IACf,UAAApgC,UAAA,uIACA,CFG8FogC,EAC9F,mDGLe,SAAAC,EAAAvD,EAAAwD,GACf,GAAAxD,EACA,qBAAAA,EAAA,SAAoCyD,EAAApD,GAAgBL,EAAAwD,GACpD,IAAA7pC,EAAAs4B,OAAAr3B,UAAA8oC,SAAArrC,KAAA2nC,GAAAtlB,MAAA,MAEA,GADA,WAAA/gB,GAAAqmC,EAAAkB,cAAAvnC,EAAAqmC,EAAAkB,YAAArpC,MACA,QAAA8B,GAAA,QAAAA,EAAA,OAAAN,MAAAC,KAAA0mC,GACA,iBAAArmC,GAAA,2CAAAgqC,KAAAhqC,GAAA,SAAsF8pC,EAAApD,GAAgBL,EAAAwD,EAAA,CACtG","names":["ObjectUnsubscribedError","createErrorClass","_super","this","name","message","Subject","_Observable","_inherits","_createSuper","_this","_classCallCheck","call","closed","currentObservers","observers","isStopped","hasError","thrownError","_createClass","key","value","operator","subject","AnonymousSubject","_this2","errorContext","_throwIfClosed","Array","from","_step","_iterator","_createForOfIteratorHelper","s","n","done","next","err","e","f","_this3","length","shift","error","_this4","complete","get","_a","subscriber","_get","_getPrototypeOf","prototype","_checkFinalizedStatuses","_innerSubscribe","_this5","EMPTY_SUBSCRIPTION","push","Subscription","arrRemove","observable","Observable","source","create","destination","_Subject","_super2","_this6","_b","subscribe","concat","_len","arguments","args","_key","concatAll","mergeAll","popScheduler","EMPTY","subscribeOn","scheduler","delay","undefined","operate","add","schedule","scheduleAsyncIterable","input","Error","executeSchedule","iterator","Symbol","asyncIterator","then","result","scheduled","isInteropObservable","scheduleObservable","innerFrom","pipe","observeOn","isArrayLike","scheduleArray","i","isPromise","schedulePromise","isAsyncIterable","isIterable","scheduleIterable","Symbol_iterator","_iterator$next","isFunction","return","isReadableStreamLike","scheduleReadableStreamLike","readableStreamLikeToAsyncGenerator","createInvalidObservableTypeError","merge","concurrent","popNumber","Infinity","sources","of","createOperatorSubscriber","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_next","_assertThisInitialized","_error","unsubscribe","_complete","Subscriber","filter","predicate","thisArg","index","map","project","mergeMap","identity","resultSelector","a","b","ii","mergeInternals","onBeforeNext","expand","innerSubScheduler","additionalFinalizer","buffer","active","isComplete","checkComplete","outerNext","doInnerSub","innerComplete","innerValue","_loop","bufferedValue","startWith","values","take","count","seen","last","arr","popResultSelector","pop","isScheduler","defaultValue","parentSubscription","work","repeat","scheduleSubscription","hasLift","lift","init","liftedSource","TypeError","_c0","MatCalendarBody_tr_0_Template","rf","ctx","i0","ctx_r0","_cellPadding","numCols","label","MatCalendarBody_tr_1_td_1_Template","ctx_r4","_firstRowOffset","labelMinRequiredCells","MatCalendarBody_tr_1_td_2_Template","_r9","$event","item_r6","$implicit","ctx_r8","_cellClicked","ctx_r10","_emitActiveDateChange","colIndex_r7","rowIndex_r3","ctx_r5","_cellWidth","enabled","_isActiveCell","_isRangeStart","compareValue","_isRangeEnd","_isInRange","_isComparisonBridgeStart","_isComparisonBridgeEnd","_isComparisonStart","_isComparisonEnd","_isInComparisonRange","_isPreviewStart","_isPreviewEnd","_isInPreview","cssClasses","ariaLabel","_isSelected","todayValue","_getDescribedby","_isComparisonIdentical","displayValue","MatCalendarBody_tr_1_Template","row_r2","ctx_r1","MatMonthView_th_3_Template","day_r1","long","narrow","_c1","MatCalendar_ng_template_0_Template","MatCalendar_mat_month_view_2_Template","_r5","activeDate","ctx_r6","_dateSelected","ctx_r7","_dragStarted","_dragEnded","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","_activeDrag","MatCalendar_mat_year_view_3_Template","_r10","ctx_r9","ctx_r11","_monthSelectedInYearView","ctx_r12","_goToDateInView","ctx_r2","MatCalendar_mat_multi_year_view_4_Template","_r14","ctx_r13","ctx_r15","_yearSelectedInMultiYearView","ctx_r16","ctx_r3","MatDatepickerContent_ng_template_2_Template","_c2","MatDatepickerToggle__svg_svg_2_Template","_c3","_c4","_c5","_c6","MatDatepickerActions_ng_template_0_Template","MatDatepickerIntl","changes","calendarLabel","openCalendarLabel","closeCalendarLabel","prevMonthLabel","nextMonthLabel","prevYearLabel","nextYearLabel","prevMultiYearLabel","nextMultiYearLabel","switchToMonthViewLabel","switchToMultiYearViewLabel","startDateLabel","endDateLabel","start","end","ɵfac","t","ɵprov","token","factory","providedIn","MatCalendarCell","rawValue","calendarBodyId","activeCapturingEventOptions","normalizePassiveListenerOptions","passive","capture","passiveCapturingEventOptions","passiveEventOptions","MatCalendarBody","_elementRef","_ngZone","_platform","inject","Platform","_focusActiveCellAfterViewChecked","activeCell","isRange","cellAspectRatio","previewStart","previewEnd","selectedValueChange","EventEmitter","previewChange","activeDateChange","dragStarted","dragEnded","_didDragSinceMouseDown","_enterHandler","event","_skipNextFocus","type","target","cell","_getCellFromElement","run","emit","_touchmoveHandler","getActualTouchTarget","getCellElement","preventDefault","_leaveHandler","relatedTarget","_mousedownHandler","_mouseupHandler","cellElement","closest","nativeElement","_cell$rawValue","_touchendHandler","_id","_startDateLabelId","_endDateLabelId","runOutsideAngular","element","addEventListener","isBrowser","window","_focusActiveCell","startValue","endValue","columnChanges","rows","removeEventListener","rowIndex","colIndex","cellNumber","movePreview","onStable","setTimeout","querySelector","focus","isStart","isEnd","isInRange","previousCell","previousRow","nextCell","nextRow","row","getAttribute","col","parseInt","ɵcmp","selectors","hostAttrs","inputs","outputs","exportAs","features","attrs","decls","vars","consts","template","dependencies","i1","styles","encapsulation","changeDetection","isTableCell","node","nodeName","_element$parentNode","_cell","parentNode","rangeEnabled","touchLocation","changedTouches","document","elementFromPoint","clientX","clientY","DateRange","MatDateSelectionModel","selection","_adapter","_selectionChanged","selectionChanged","oldValue","date","isDateInstance","isValid","MatSingleDateSelectionModel","_MatDateSelectionMode","adapter","_isValidDateInstance","clone","updateSelection","i1$1","MatRangeDateSelectionModel","_MatDateSelectionMode2","_this$selection","_this$selection2","compareDate","MAT_SINGLE_DATE_SELECTION_MODEL_FACTORY","parent","MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER","provide","deps","Optional","SkipSelf","DateAdapter","useFactory","MAT_RANGE_DATE_SELECTION_MODEL_FACTORY","MAT_RANGE_DATE_SELECTION_MODEL_PROVIDER","MAT_DATE_RANGE_SELECTION_STRATEGY","InjectionToken","DefaultMatCalendarRangeStrategy","_dateAdapter","currentRange","dragOrigin","originalRange","newDate","diffYears","getYear","diffMonths","getMonth","diffDays","getDate","sameDate","addCalendarYears","addCalendarMonths","addCalendarDays","MAT_CALENDAR_RANGE_STRATEGY_PROVIDER","MAT_CALENDAR_RANGE_STRATEGY_PROVIDER_FACTORY","MatMonthView","_changeDetectorRef","_dateFormats","_dir","_rangeStrategy","_rerenderSubscription","activeDrag","selectedChange","_userSelection","_activeDate","today","set","oldActiveDate","validDate","getValidDateOrNull","deserialize","clampDate","_hasSameMonthAndYear","_init","_selected","_setRanges","_minDate","_maxDate","localeChanges","comparisonChange","firstChange","_clearPreview","rangeStartDate","rangeEndDate","selectedDate","_getDateFromDayOfMonth","_getDateInCurrentMonth","markForCheck","isRtl","_isRtl","keyCode","LEFT_ARROW","RIGHT_ARROW","UP_ARROW","DOWN_ARROW","HOME","END","getNumDaysInMonth","PAGE_UP","altKey","PAGE_DOWN","ENTER","SPACE","_selectionKeyPressed","_canSelect","ESCAPE","_previewEnd","hasModifierKey","stopPropagation","_todayDate","_getCellCompareValue","_monthLabel","display","monthLabel","format","getMonthNames","toLocaleUpperCase","firstOfMonth","createDate","_firstWeekOffset","getDayOfWeek","getFirstDayOfWeek","_initWeekdays","_createWeekCells","_matCalendarBody","_scheduleFocusActiveCellAfterViewChecked","_ref","previewRange","createPreview","_previewStart","_this$_rangeStrategy$","_this$_rangeStrategy","dragRange","createDrag","detectChanges","_this$_rangeStrategy2","_this$_rangeStrategy3","dragDropResult","dayOfMonth","firstDayOfWeek","narrowWeekdays","getDayOfWeekNames","weekdays","_weekdays","slice","daysInMonth","dateNames","getDateNames","_weeks","_shouldEnableDate","dateA11yLabel","cellClasses","d1","d2","year","month","day","Date","getTime","selectedValue","_rangeStart","_rangeEnd","_isRange","_comparisonRangeStart","_comparisonRangeEnd","MAT_DATE_FORMATS","i2","viewQuery","_t","first","_updateActiveDate","_previewChanged","_handleCalendarBodyKeyup","_handleCalendarBodyKeydown","yearsPerPage","yearsPerRow","MatMultiYearView","yearSelected","isSameMultiYearView","_setSelectedYear","_todayYear","minYearOfPage","getActiveOffset","_years","_createCellForYear","selectedYear","_getDateFromYear","_yearSelected","activeMonth","Math","min","yearName","getYearName","_shouldEnableYear","_selectedYear","_getActiveCell","dateAdapter","date1","date2","year1","year2","startingYear","getStartingYear","floor","euclideanModulo","MatYearView","monthSelected","_setSelectedMonth","selectedMonth","_getDateFromMonth","_monthSelected","_this7","_todayMonth","_getMonthInCurrentYear","_yearLabel","monthNames","_months","_createCellForMonth","normalizedDate","monthName","monthYearA11yLabel","_shouldEnableMonth","activeYear","_isYearAndMonthAfterMaxDate","_isYearAndMonthBeforeMinDate","maxYear","maxMonth","minYear","minMonth","_selectedMonth","calendarHeaderId","MatCalendarHeader","_intl","calendar","changeDetectorRef","_periodButtonLabelId","stateChanges","_this$_intl","currentView","monthYearLabel","formatYearRange","apply","_toConsumableArray","_formatMinAndMaxYearLabels","_this$_intl2","formatYearRangeLabel","_isSameView","maxYearOfPage","forwardRef","MatCalendar","ngContentSelectors","currentPeriodClicked","previousClicked","nextClicked","periodButtonLabel","periodButtonText","previousEnabled","prevButtonLabel","nextEnabled","nextButtonLabel","periodButtonDescription","i3","_this8","_moveFocusOnNextTick","startView","viewChanged","_userDragDrop","_intlChanges","_startAt","_clampedActiveDate","_currentView","viewChangedResult","_calendarHeaderPortal","ComponentPortal","headerComponent","startAt","focusActiveCell","minDateChange","previousValue","currentValue","maxDateChange","change","view","_getCurrentViewComponent","normalizedYear","normalizedMonth","monthView","yearView","multiYearView","i5","i6","matDatepickerAnimations","transformPanel","trigger","transition","animate","keyframes","style","opacity","transform","fadeInCalendar","state","datepickerUid","MAT_DATEPICKER_SCROLL_STRATEGY","MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY","overlay","scrollStrategies","reposition","MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER","Overlay","_MatDatepickerContentBase","mixinColor","_class","MatDatepickerContent","_MatDatepickerContent","_super3","elementRef","_globalModel","_rangeSelectionStrategy","intl","_this9","_subscriptions","_animationDone","_isAnimating","_actionsPortal","_closeButtonText","_animationState","datepicker","touchUi","_this10","_calendar","_model","newSelection","selectionFinished","close","phaseName","portal","forceRerender","hostVars","hostBindings","_handleAnimationEvent","color","tmp_3_0","_selectYear","_selectMonth","_viewChanged","_handleUserSelection","_handleUserDragDrop","_closeButtonFocused","calendarHeaderComponent","_dialogLabelId","id","panelClass","_getMinDate","_getMaxDate","_getDateFilter","_getSelected","data","animation","MatDatepickerBase","_overlay","_viewContainerRef","scrollStrategy","_inputStateChanges","_document","DOCUMENT","_touchUi","xPosition","yPosition","_restoreFocus","openedStream","closedStream","_opened","_focusedElementBeforeOpen","_backdropHarnessClass","_scrollStrategy","datepickerInput","getStartValue","_color","getThemePalette","coerceBooleanProperty","_disabled","disabled","newValue","_panelClass","coerceStringArray","open","max","positionChange","_overlayRef","positionStrategy","getConfig","FlexibleConnectedPositionStrategy","_setConnectedPositions","opened","updatePosition","_destroyOverlay","_this11","_this$_componentRef","_componentRef","instance","_assignActions","_this$_componentRef2","_this$_componentRef3","_getFocusedElementPierceShadowDom","_openOverlay","_this$_componentRef4","_this12","canRestoreFocus","completeClose","_this$_componentRef5","location","_startExitAnimation","activeElement","contains","_this$_componentRef6","_this$_componentRef6$","_applyPendingSelection","getOverlayLabelId","_this13","isDialog","overlayRef","OverlayConfig","_getDialogStrategy","_getDropdownStrategy","hasBackdrop","backdropClass","direction","block","_getCloseStream","keydownEvents","attach","_forwardContentValues","dispose","position","global","centerHorizontally","centerVertically","strategy","flexibleConnectedTo","getConnectedOverlayOrigin","withTransformOriginOn","withFlexibleDimensions","withViewportMargin","withLockedPosition","primaryX","secondaryX","primaryY","secondaryY","withPositions","originX","originY","overlayX","overlayY","_this14","ctrlShiftMetaModifiers","backdropClick","detachments","every","modifier","i9","ɵdir","restoreFocus","MatDatepicker","_MatDatepickerBase","_super4","ɵMatDatepicker_BaseFactory","useExisting","MatDatepickerInputEvent","targetElement","MatDatepickerInputBase","_this15","dateChange","dateInput","_onTouched","_validatorOnChange","_cvaOnChange","_valueChangesSubscription","_localeSubscription","_parseValidator","_lastValueValid","matDatepickerParse","text","_filterValidator","control","controlValue","_matchesFilter","matDatepickerFilter","_minValidator","matDatepickerMin","actual","_maxValidator","matDatepickerMax","_assignValueProgrammatically","_getValueFromModel","_pendingValue","_parentDisabled","_isInitialized","blur","model","_this16","_assignValue","_shouldHandleChangeEvent","_isValidValue","_formatValue","dateInputsHaveChanged","fn","c","_validator","isDisabled","isAltDownArrow","readOnly","_openPopup","lastValueWasValid","parse","hasChanged","_assignValueToModel","_i","_keys","Object","keys","_changes$key","MAT_DATEPICKER_VALUE_ACCESSOR","NG_VALUE_ACCESSOR","MatDatepickerInput","multi","MAT_DATEPICKER_VALIDATORS","NG_VALIDATORS","_MatDatepickerInputBa","_super5","dateFormats","_formField","_this17","_closedSubscription","Validators","_this18","_datepicker","_registerModel","registerInput","_min","validValue","_max","_dateFilter","wasMatchingValue","getLabelId","modelValue","MAT_FORM_FIELD","_onInput","_onChange","_onBlur","_onKeydown","toIso8601","matDatepicker","MAT_INPUT_VALUE_ACCESSOR","MatDatepickerToggleIcon","MatDatepickerToggle","defaultTabIndex","_stateChanges","parsedTabIndex","Number","tabIndex","_watchStateChanges","_this19","datepickerStateChanged","inputStateChanged","datepickerToggled","contentQueries","dirIndex","_customIcon","_button","_open","disableRipple","_computeAriaAccessibleName","_computeAriaAccessibleNameInternal","ssrSafeIsElement","nodeType","Node","ELEMENT_NODE","currentNode","isDirectlyReferenced","_currentNode$getAttri","_currentNode$getAttri2","validIdRefs","split","reduce","validIds","elem","getElementById","idRef","join","_currentNode$getAttri3","trim","ssrSafeIsHTMLInputElement","ssrSafeIsHTMLTextAreaElement","_currentNode$labels","_currentNode$getAttri4","_currentNode$getAttri5","labels","x","placeholder","title","textContent","replace","MAT_DATE_RANGE_INPUT_PARENT","_MatDateRangeInputBase","mixinErrorState","MatDateRangeInputPartBase","_MatDatepickerInputBa2","_super6","_rangeInput","_defaultErrorStateMatcher","_injector","_parentForm","_parentFormGroup","_this20","Directionality","optional","ngControl","NgControl","self","updateErrorState","_handleChildValueChange","_openDatepicker","_groupDisabled","_ref2","_startInput","_endInput","opposite","i2$1","MatStartDate","_MatDateRangeInputBas","_super7","rangeInput","defaultErrorStateMatcher","injector","parentForm","parentFormGroup","_this21","_startValidator","matStartDateInvalid","_change$oldValue","range","_this$_dir","endInput","isLtr","selectionStart","selectionEnd","setSelectionRange","rangePicker","errorStateMatcher","MatEndDate","_MatDateRangeInputBas2","_super8","_this22","_endValidator","matEndDateInvalid","_change$oldValue2","_this$_dir2","startInput","BACKSPACE","endPosition","nextUniqueId","MatDateRangeInput","focused","controlType","_ariaDescribedBy","separator","classList","empty","_this$_startInput","_this$_endInput","_getPlaceholder","_rangePicker","_this23","_this23$_startInput","_this23$_endInput","_ref3","_this$_required","_required","_isTargetRequired","wasMatchingStart","wasMatchingEnd","_revalidate","errorState","startEmpty","isEmpty","endEmpty","ids","_this24","part","getMirrorValue","_shouldLabelFloat","formField","_hasFloatingLabel","_labelId","_getAccessibleName","origin","_target$ngControl","_target$ngControl$con","hasValidator","_getAriaLabelledby","_shouldHidePlaceholders","required","MatFormFieldControl","_updateFocus","_getInputMirrorValue","_shouldHideSeparator","MatDateRangePicker","_MatDatepickerBase2","_super9","_getStartDateAccessibleName","_getEndDateAccessibleName","ɵMatDateRangePicker_BaseFactory","MatDatepickerApply","_applySelection","MatDatepickerCancel","MatDatepickerActions","_portal","TemplatePortal","_template","registerActions","_this$_portal","removeActions","isAttached","detach","TemplateRef","MatDatepickerModule","ɵmod","ɵinj","providers","imports","CommonModule","MatButtonModule","OverlayModule","A11yModule","PortalModule","MatCommonModule","CdkScrollableModule","_arrayLikeToArray","len","arr2","ReferenceError","o","allowArrayLike","it","isArray","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","_e","normalCompletion","didErr","step","_e2","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Super","getPrototypeOf","NewTarget","constructor","Reflect","construct","_possibleConstructorReturn","esm_typeof","assertThisInitialized","bind","property","receiver","base","_superPropBase","object","hasOwnProperty","desc","getOwnPropertyDescriptor","setPrototypeOf","__proto__","subClass","superClass","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_iterableToArray","iter","_setPrototypeOf","p","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","toString","test"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/util/ObjectUnsubscribedError.js","./node_modules/rxjs/dist/esm/internal/Subject.js","./node_modules/rxjs/dist/esm/internal/observable/concat.js","./node_modules/rxjs/dist/esm/internal/operators/concatAll.js","./node_modules/rxjs/dist/esm/internal/observable/empty.js","./node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleAsyncIterable.js","./node_modules/rxjs/dist/esm/internal/observable/from.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduled.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleObservable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleArray.js","./node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleIterable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleReadableStreamLike.js","./node_modules/rxjs/dist/esm/internal/observable/merge.js","./node_modules/rxjs/dist/esm/internal/observable/of.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/filter.js","./node_modules/rxjs/dist/esm/internal/operators/map.js","./node_modules/rxjs/dist/esm/internal/operators/mergeAll.js","./node_modules/rxjs/dist/esm/internal/operators/mergeMap.js","./node_modules/rxjs/dist/esm/internal/operators/mergeInternals.js","./node_modules/rxjs/dist/esm/internal/operators/observeOn.js","./node_modules/rxjs/dist/esm/internal/operators/startWith.js","./node_modules/rxjs/dist/esm/internal/operators/take.js","./node_modules/rxjs/dist/esm/internal/util/args.js","./node_modules/rxjs/dist/esm/internal/util/executeSchedule.js","./node_modules/rxjs/dist/esm/internal/util/isScheduler.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/@angular/material/fesm2022/datepicker.mjs","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { createErrorClass } from './createErrorClass';\nexport const ObjectUnsubscribedError = createErrorClass((_super) => function ObjectUnsubscribedErrorImpl() {\n _super(this);\n this.name = 'ObjectUnsubscribedError';\n this.message = 'object unsubscribed';\n});\n","import { Observable } from './Observable';\nimport { Subscription, EMPTY_SUBSCRIPTION } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { arrRemove } from './util/arrRemove';\nimport { errorContext } from './util/errorContext';\nexport class Subject extends Observable {\n constructor() {\n super();\n this.closed = false;\n this.currentObservers = null;\n this.observers = [];\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n lift(operator) {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n }\n _throwIfClosed() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n }\n next(value) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n if (!this.currentObservers) {\n this.currentObservers = Array.from(this.observers);\n }\n for (const observer of this.currentObservers) {\n observer.next(value);\n }\n }\n });\n }\n error(err) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.hasError = this.isStopped = true;\n this.thrownError = err;\n const { observers } = this;\n while (observers.length) {\n observers.shift().error(err);\n }\n }\n });\n }\n complete() {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.isStopped = true;\n const { observers } = this;\n while (observers.length) {\n observers.shift().complete();\n }\n }\n });\n }\n unsubscribe() {\n this.isStopped = this.closed = true;\n this.observers = this.currentObservers = null;\n }\n get observed() {\n var _a;\n return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;\n }\n _trySubscribe(subscriber) {\n this._throwIfClosed();\n return super._trySubscribe(subscriber);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._checkFinalizedStatuses(subscriber);\n return this._innerSubscribe(subscriber);\n }\n _innerSubscribe(subscriber) {\n const { hasError, isStopped, observers } = this;\n if (hasError || isStopped) {\n return EMPTY_SUBSCRIPTION;\n }\n this.currentObservers = null;\n observers.push(subscriber);\n return new Subscription(() => {\n this.currentObservers = null;\n arrRemove(observers, subscriber);\n });\n }\n _checkFinalizedStatuses(subscriber) {\n const { hasError, thrownError, isStopped } = this;\n if (hasError) {\n subscriber.error(thrownError);\n }\n else if (isStopped) {\n subscriber.complete();\n }\n }\n asObservable() {\n const observable = new Observable();\n observable.source = this;\n return observable;\n }\n}\nSubject.create = (destination, source) => {\n return new AnonymousSubject(destination, source);\n};\nexport class AnonymousSubject extends Subject {\n constructor(destination, source) {\n super();\n this.destination = destination;\n this.source = source;\n }\n next(value) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);\n }\n error(err) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);\n }\n complete() {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);\n }\n _subscribe(subscriber) {\n var _a, _b;\n return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;\n }\n}\n","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}\n","import { mergeAll } from './mergeAll';\nexport function concatAll() {\n return mergeAll(1);\n}\n","import { Observable } from '../Observable';\nexport const EMPTY = new Observable((subscriber) => subscriber.complete());\nexport function empty(scheduler) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n return new Observable((subscriber) => scheduler.schedule(() => subscriber.complete()));\n}\n","import { operate } from '../util/lift';\nexport function subscribeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay));\n });\n}\n","import { Observable } from '../Observable';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleAsyncIterable(input, scheduler) {\n if (!input) {\n throw new Error('Iterable cannot be null');\n }\n return new Observable((subscriber) => {\n executeSchedule(subscriber, scheduler, () => {\n const iterator = input[Symbol.asyncIterator]();\n executeSchedule(subscriber, scheduler, () => {\n iterator.next().then((result) => {\n if (result.done) {\n subscriber.complete();\n }\n else {\n subscriber.next(result.value);\n }\n });\n }, 0, true);\n });\n });\n}\n","import { scheduled } from '../scheduled/scheduled';\nimport { innerFrom } from './innerFrom';\nexport function from(input, scheduler) {\n return scheduler ? scheduled(input, scheduler) : innerFrom(input);\n}\n","import { scheduleObservable } from './scheduleObservable';\nimport { schedulePromise } from './schedulePromise';\nimport { scheduleArray } from './scheduleArray';\nimport { scheduleIterable } from './scheduleIterable';\nimport { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isPromise } from '../util/isPromise';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isIterable } from '../util/isIterable';\nimport { isAsyncIterable } from '../util/isAsyncIterable';\nimport { createInvalidObservableTypeError } from '../util/throwUnobservableError';\nimport { isReadableStreamLike } from '../util/isReadableStreamLike';\nimport { scheduleReadableStreamLike } from './scheduleReadableStreamLike';\nexport function scheduled(input, scheduler) {\n if (input != null) {\n if (isInteropObservable(input)) {\n return scheduleObservable(input, scheduler);\n }\n if (isArrayLike(input)) {\n return scheduleArray(input, scheduler);\n }\n if (isPromise(input)) {\n return schedulePromise(input, scheduler);\n }\n if (isAsyncIterable(input)) {\n return scheduleAsyncIterable(input, scheduler);\n }\n if (isIterable(input)) {\n return scheduleIterable(input, scheduler);\n }\n if (isReadableStreamLike(input)) {\n return scheduleReadableStreamLike(input, scheduler);\n }\n }\n throw createInvalidObservableTypeError(input);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function scheduleObservable(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nexport function scheduleArray(input, scheduler) {\n return new Observable((subscriber) => {\n let i = 0;\n return scheduler.schedule(function () {\n if (i === input.length) {\n subscriber.complete();\n }\n else {\n subscriber.next(input[i++]);\n if (!subscriber.closed) {\n this.schedule();\n }\n }\n });\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function schedulePromise(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from '../util/isFunction';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleIterable(input, scheduler) {\n return new Observable((subscriber) => {\n let iterator;\n executeSchedule(subscriber, scheduler, () => {\n iterator = input[Symbol_iterator]();\n executeSchedule(subscriber, scheduler, () => {\n let value;\n let done;\n try {\n ({ value, done } = iterator.next());\n }\n catch (err) {\n subscriber.error(err);\n return;\n }\n if (done) {\n subscriber.complete();\n }\n else {\n subscriber.next(value);\n }\n }, 0, true);\n });\n return () => isFunction(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return();\n });\n}\n","import { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { readableStreamLikeToAsyncGenerator } from '../util/isReadableStreamLike';\nexport function scheduleReadableStreamLike(input, scheduler) {\n return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);\n}\n","import { mergeAll } from '../operators/mergeAll';\nimport { innerFrom } from './innerFrom';\nimport { EMPTY } from './empty';\nimport { popNumber, popScheduler } from '../util/args';\nimport { from } from './from';\nexport function merge(...args) {\n const scheduler = popScheduler(args);\n const concurrent = popNumber(args, Infinity);\n const sources = args;\n return !sources.length\n ?\n EMPTY\n : sources.length === 1\n ?\n innerFrom(sources[0])\n :\n mergeAll(concurrent)(from(sources, scheduler));\n}\n","import { popScheduler } from '../util/args';\nimport { from } from './from';\nexport function of(...args) {\n const scheduler = popScheduler(args);\n return from(args, scheduler);\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","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}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function map(project, thisArg) {\n return operate((source, subscriber) => {\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n subscriber.next(project.call(thisArg, value, index++));\n }));\n });\n}\n","import { mergeMap } from './mergeMap';\nimport { identity } from '../util/identity';\nexport function mergeAll(concurrent = Infinity) {\n return mergeMap(identity, concurrent);\n}\n","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 }\n else if (typeof resultSelector === 'number') {\n concurrent = resultSelector;\n }\n return operate((source, subscriber) => mergeInternals(source, subscriber, project, concurrent));\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { executeSchedule } from '../util/executeSchedule';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function mergeInternals(source, subscriber, project, concurrent, onBeforeNext, expand, innerSubScheduler, additionalFinalizer) {\n const buffer = [];\n let active = 0;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => {\n if (isComplete && !buffer.length && !active) {\n subscriber.complete();\n }\n };\n const outerNext = (value) => (active < concurrent ? doInnerSub(value) : buffer.push(value));\n const doInnerSub = (value) => {\n expand && subscriber.next(value);\n active++;\n let innerComplete = false;\n innerFrom(project(value, index++)).subscribe(createOperatorSubscriber(subscriber, (innerValue) => {\n onBeforeNext === null || onBeforeNext === void 0 ? void 0 : onBeforeNext(innerValue);\n if (expand) {\n outerNext(innerValue);\n }\n else {\n subscriber.next(innerValue);\n }\n }, () => {\n innerComplete = true;\n }, undefined, () => {\n if (innerComplete) {\n try {\n active--;\n while (buffer.length && active < concurrent) {\n const bufferedValue = buffer.shift();\n if (innerSubScheduler) {\n executeSchedule(subscriber, innerSubScheduler, () => doInnerSub(bufferedValue));\n }\n else {\n doInnerSub(bufferedValue);\n }\n }\n checkComplete();\n }\n catch (err) {\n subscriber.error(err);\n }\n }\n }));\n };\n source.subscribe(createOperatorSubscriber(subscriber, outerNext, () => {\n isComplete = true;\n checkComplete();\n }));\n return () => {\n additionalFinalizer === null || additionalFinalizer === void 0 ? void 0 : additionalFinalizer();\n };\n}\n","import { executeSchedule } from '../util/executeSchedule';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function observeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, (value) => executeSchedule(subscriber, scheduler, () => subscriber.next(value), delay), () => executeSchedule(subscriber, scheduler, () => subscriber.complete(), delay), (err) => executeSchedule(subscriber, scheduler, () => subscriber.error(err), delay)));\n });\n}\n","import { concat } from '../observable/concat';\nimport { popScheduler } from '../util/args';\nimport { operate } from '../util/lift';\nexport function startWith(...values) {\n const scheduler = popScheduler(values);\n return operate((source, subscriber) => {\n (scheduler ? concat(values, source, scheduler) : concat(values, source)).subscribe(subscriber);\n });\n}\n","import { EMPTY } from '../observable/empty';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function take(count) {\n return count <= 0\n ?\n () => EMPTY\n : operate((source, subscriber) => {\n let seen = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n if (++seen <= count) {\n subscriber.next(value);\n if (count <= seen) {\n subscriber.complete();\n }\n }\n }));\n });\n}\n","import { isFunction } from './isFunction';\nimport { isScheduler } from './isScheduler';\nfunction last(arr) {\n return arr[arr.length - 1];\n}\nexport function popResultSelector(args) {\n return isFunction(last(args)) ? args.pop() : undefined;\n}\nexport function popScheduler(args) {\n return isScheduler(last(args)) ? args.pop() : undefined;\n}\nexport function popNumber(args, defaultValue) {\n return typeof last(args) === 'number' ? args.pop() : defaultValue;\n}\n","export function executeSchedule(parentSubscription, scheduler, work, delay = 0, repeat = false) {\n const scheduleSubscription = scheduler.schedule(function () {\n work();\n if (repeat) {\n parentSubscription.add(this.schedule(null, delay));\n }\n else {\n this.unsubscribe();\n }\n }, delay);\n parentSubscription.add(scheduleSubscription);\n if (!repeat) {\n return scheduleSubscription;\n }\n}\n","import { isFunction } from './isFunction';\nexport function isScheduler(value) {\n return value && isFunction(value.schedule);\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","import * as i5 from '@angular/cdk/a11y';\nimport { A11yModule } from '@angular/cdk/a11y';\nimport * as i9 from '@angular/cdk/overlay';\nimport { Overlay, FlexibleConnectedPositionStrategy, OverlayConfig, OverlayModule } from '@angular/cdk/overlay';\nimport * as i6 from '@angular/cdk/portal';\nimport { ComponentPortal, TemplatePortal, PortalModule } from '@angular/cdk/portal';\nimport * as i1 from '@angular/common';\nimport { DOCUMENT, CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { Injectable, inject, EventEmitter, Component, ViewEncapsulation, ChangeDetectionStrategy, Input, Output, Optional, SkipSelf, InjectionToken, Inject, ViewChild, forwardRef, Directive, Attribute, ContentChild, Self, TemplateRef, NgModule } from '@angular/core';\nimport * as i3 from '@angular/material/button';\nimport { MatButtonModule } from '@angular/material/button';\nimport { CdkScrollableModule } from '@angular/cdk/scrolling';\nimport * as i1$1 from '@angular/material/core';\nimport { DateAdapter, MAT_DATE_FORMATS, mixinColor, mixinErrorState, MatCommonModule } from '@angular/material/core';\nimport { Subject, Subscription, merge, of } from 'rxjs';\nimport { ESCAPE, hasModifierKey, SPACE, ENTER, PAGE_DOWN, PAGE_UP, END, HOME, DOWN_ARROW, UP_ARROW, RIGHT_ARROW, LEFT_ARROW, BACKSPACE } from '@angular/cdk/keycodes';\nimport * as i2 from '@angular/cdk/bidi';\nimport { Directionality } from '@angular/cdk/bidi';\nimport { normalizePassiveListenerOptions, Platform, _getFocusedElementPierceShadowDom } from '@angular/cdk/platform';\nimport { take, startWith, filter } from 'rxjs/operators';\nimport { coerceBooleanProperty, coerceStringArray } from '@angular/cdk/coercion';\nimport { trigger, transition, animate, keyframes, style, state } from '@angular/animations';\nimport * as i2$1 from '@angular/forms';\nimport { NG_VALUE_ACCESSOR, NG_VALIDATORS, Validators, NgControl } from '@angular/forms';\nimport { MAT_FORM_FIELD, MatFormFieldControl } from '@angular/material/form-field';\nimport { MAT_INPUT_VALUE_ACCESSOR } from '@angular/material/input';\n\n/** @docs-private */\nfunction createMissingDateImplError(provider) {\n return Error(`MatDatepicker: No provider found for ${provider}. You must import one of the following ` +\n `modules at your application root: MatNativeDateModule, MatMomentDateModule, or provide a ` +\n `custom implementation.`);\n}\n\n/** Datepicker data that requires internationalization. */\nclass MatDatepickerIntl {\n constructor() {\n /**\n * Stream that emits whenever the labels here are changed. Use this to notify\n * components if the labels have changed after initialization.\n */\n this.changes = new Subject();\n /** A label for the calendar popup (used by screen readers). */\n this.calendarLabel = 'Calendar';\n /** A label for the button used to open the calendar popup (used by screen readers). */\n this.openCalendarLabel = 'Open calendar';\n /** Label for the button used to close the calendar popup. */\n this.closeCalendarLabel = 'Close calendar';\n /** A label for the previous month button (used by screen readers). */\n this.prevMonthLabel = 'Previous month';\n /** A label for the next month button (used by screen readers). */\n this.nextMonthLabel = 'Next month';\n /** A label for the previous year button (used by screen readers). */\n this.prevYearLabel = 'Previous year';\n /** A label for the next year button (used by screen readers). */\n this.nextYearLabel = 'Next year';\n /** A label for the previous multi-year button (used by screen readers). */\n this.prevMultiYearLabel = 'Previous 24 years';\n /** A label for the next multi-year button (used by screen readers). */\n this.nextMultiYearLabel = 'Next 24 years';\n /** A label for the 'switch to month view' button (used by screen readers). */\n this.switchToMonthViewLabel = 'Choose date';\n /** A label for the 'switch to year view' button (used by screen readers). */\n this.switchToMultiYearViewLabel = 'Choose month and year';\n /**\n * A label for the first date of a range of dates (used by screen readers).\n * @deprecated Provide your own internationalization string.\n * @breaking-change 17.0.0\n */\n this.startDateLabel = 'Start date';\n /**\n * A label for the last date of a range of dates (used by screen readers).\n * @deprecated Provide your own internationalization string.\n * @breaking-change 17.0.0\n */\n this.endDateLabel = 'End date';\n }\n /** Formats a range of years (used for visuals). */\n formatYearRange(start, end) {\n return `${start} \\u2013 ${end}`;\n }\n /** Formats a label for a range of years (used by screen readers). */\n formatYearRangeLabel(start, end) {\n return `${start} to ${end}`;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDatepickerIntl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDatepickerIntl, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDatepickerIntl, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }] });\n\n/**\n * An internal class that represents the data corresponding to a single calendar cell.\n * @docs-private\n */\nclass MatCalendarCell {\n constructor(value, displayValue, ariaLabel, enabled, cssClasses = {}, compareValue = value, rawValue) {\n this.value = value;\n this.displayValue = displayValue;\n this.ariaLabel = ariaLabel;\n this.enabled = enabled;\n this.cssClasses = cssClasses;\n this.compareValue = compareValue;\n this.rawValue = rawValue;\n }\n}\nlet calendarBodyId = 1;\n/** Event options that can be used to bind an active, capturing event. */\nconst activeCapturingEventOptions = normalizePassiveListenerOptions({\n passive: false,\n capture: true,\n});\n/** Event options that can be used to bind a passive, capturing event. */\nconst passiveCapturingEventOptions = normalizePassiveListenerOptions({\n passive: true,\n capture: true,\n});\n/** Event options that can be used to bind a passive, non-capturing event. */\nconst passiveEventOptions = normalizePassiveListenerOptions({ passive: true });\n/**\n * An internal component used to display calendar data in a table.\n * @docs-private\n */\nclass MatCalendarBody {\n ngAfterViewChecked() {\n if (this._focusActiveCellAfterViewChecked) {\n this._focusActiveCell();\n this._focusActiveCellAfterViewChecked = false;\n }\n }\n constructor(_elementRef, _ngZone) {\n this._elementRef = _elementRef;\n this._ngZone = _ngZone;\n this._platform = inject(Platform);\n /**\n * Used to focus the active cell after change detection has run.\n */\n this._focusActiveCellAfterViewChecked = false;\n /** The number of columns in the table. */\n this.numCols = 7;\n /** The cell number of the active cell in the table. */\n this.activeCell = 0;\n /** Whether a range is being selected. */\n this.isRange = false;\n /**\n * The aspect ratio (width / height) to use for the cells in the table. This aspect ratio will be\n * maintained even as the table resizes.\n */\n this.cellAspectRatio = 1;\n /** Start of the preview range. */\n this.previewStart = null;\n /** End of the preview range. */\n this.previewEnd = null;\n /** Emits when a new value is selected. */\n this.selectedValueChange = new EventEmitter();\n /** Emits when the preview has changed as a result of a user action. */\n this.previewChange = new EventEmitter();\n this.activeDateChange = new EventEmitter();\n /** Emits the date at the possible start of a drag event. */\n this.dragStarted = new EventEmitter();\n /** Emits the date at the conclusion of a drag, or null if mouse was not released on a date. */\n this.dragEnded = new EventEmitter();\n this._didDragSinceMouseDown = false;\n /**\n * Event handler for when the user enters an element\n * inside the calendar body (e.g. by hovering in or focus).\n */\n this._enterHandler = (event) => {\n if (this._skipNextFocus && event.type === 'focus') {\n this._skipNextFocus = false;\n return;\n }\n // We only need to hit the zone when we're selecting a range.\n if (event.target && this.isRange) {\n const cell = this._getCellFromElement(event.target);\n if (cell) {\n this._ngZone.run(() => this.previewChange.emit({ value: cell.enabled ? cell : null, event }));\n }\n }\n };\n this._touchmoveHandler = (event) => {\n if (!this.isRange)\n return;\n const target = getActualTouchTarget(event);\n const cell = target ? this._getCellFromElement(target) : null;\n if (target !== event.target) {\n this._didDragSinceMouseDown = true;\n }\n // If the initial target of the touch is a date cell, prevent default so\n // that the move is not handled as a scroll.\n if (getCellElement(event.target)) {\n event.preventDefault();\n }\n this._ngZone.run(() => this.previewChange.emit({ value: cell?.enabled ? cell : null, event }));\n };\n /**\n * Event handler for when the user's pointer leaves an element\n * inside the calendar body (e.g. by hovering out or blurring).\n */\n this._leaveHandler = (event) => {\n // We only need to hit the zone when we're selecting a range.\n if (this.previewEnd !== null && this.isRange) {\n if (event.type !== 'blur') {\n this._didDragSinceMouseDown = true;\n }\n // Only reset the preview end value when leaving cells. This looks better, because\n // we have a gap between the cells and the rows and we don't want to remove the\n // range just for it to show up again when the user moves a few pixels to the side.\n if (event.target &&\n this._getCellFromElement(event.target) &&\n !(event.relatedTarget &&\n this._getCellFromElement(event.relatedTarget))) {\n this._ngZone.run(() => this.previewChange.emit({ value: null, event }));\n }\n }\n };\n /**\n * Triggered on mousedown or touchstart on a date cell.\n * Respsonsible for starting a drag sequence.\n */\n this._mousedownHandler = (event) => {\n if (!this.isRange)\n return;\n this._didDragSinceMouseDown = false;\n // Begin a drag if a cell within the current range was targeted.\n const cell = event.target && this._getCellFromElement(event.target);\n if (!cell || !this._isInRange(cell.rawValue)) {\n return;\n }\n this._ngZone.run(() => {\n this.dragStarted.emit({\n value: cell.rawValue,\n event,\n });\n });\n };\n /** Triggered on mouseup anywhere. Respsonsible for ending a drag sequence. */\n this._mouseupHandler = (event) => {\n if (!this.isRange)\n return;\n const cellElement = getCellElement(event.target);\n if (!cellElement) {\n // Mouseup happened outside of datepicker. Cancel drag.\n this._ngZone.run(() => {\n this.dragEnded.emit({ value: null, event });\n });\n return;\n }\n if (cellElement.closest('.mat-calendar-body') !== this._elementRef.nativeElement) {\n // Mouseup happened inside a different month instance.\n // Allow it to handle the event.\n return;\n }\n this._ngZone.run(() => {\n const cell = this._getCellFromElement(cellElement);\n this.dragEnded.emit({ value: cell?.rawValue ?? null, event });\n });\n };\n /** Triggered on touchend anywhere. Respsonsible for ending a drag sequence. */\n this._touchendHandler = (event) => {\n const target = getActualTouchTarget(event);\n if (target) {\n this._mouseupHandler({ target });\n }\n };\n this._id = `mat-calendar-body-${calendarBodyId++}`;\n this._startDateLabelId = `${this._id}-start-date`;\n this._endDateLabelId = `${this._id}-end-date`;\n _ngZone.runOutsideAngular(() => {\n const element = _elementRef.nativeElement;\n // `touchmove` is active since we need to call `preventDefault`.\n element.addEventListener('touchmove', this._touchmoveHandler, activeCapturingEventOptions);\n element.addEventListener('mouseenter', this._enterHandler, passiveCapturingEventOptions);\n element.addEventListener('focus', this._enterHandler, passiveCapturingEventOptions);\n element.addEventListener('mouseleave', this._leaveHandler, passiveCapturingEventOptions);\n element.addEventListener('blur', this._leaveHandler, passiveCapturingEventOptions);\n element.addEventListener('mousedown', this._mousedownHandler, passiveEventOptions);\n element.addEventListener('touchstart', this._mousedownHandler, passiveEventOptions);\n if (this._platform.isBrowser) {\n window.addEventListener('mouseup', this._mouseupHandler);\n window.addEventListener('touchend', this._touchendHandler);\n }\n });\n }\n /** Called when a cell is clicked. */\n _cellClicked(cell, event) {\n // Ignore \"clicks\" that are actually canceled drags (eg the user dragged\n // off and then went back to this cell to undo).\n if (this._didDragSinceMouseDown) {\n return;\n }\n if (cell.enabled) {\n this.selectedValueChange.emit({ value: cell.value, event });\n }\n }\n _emitActiveDateChange(cell, event) {\n if (cell.enabled) {\n this.activeDateChange.emit({ value: cell.value, event });\n }\n }\n /** Returns whether a cell should be marked as selected. */\n _isSelected(value) {\n return this.startValue === value || this.endValue === value;\n }\n ngOnChanges(changes) {\n const columnChanges = changes['numCols'];\n const { rows, numCols } = this;\n if (changes['rows'] || columnChanges) {\n this._firstRowOffset = rows && rows.length && rows[0].length ? numCols - rows[0].length : 0;\n }\n if (changes['cellAspectRatio'] || columnChanges || !this._cellPadding) {\n this._cellPadding = `${(50 * this.cellAspectRatio) / numCols}%`;\n }\n if (columnChanges || !this._cellWidth) {\n this._cellWidth = `${100 / numCols}%`;\n }\n }\n ngOnDestroy() {\n const element = this._elementRef.nativeElement;\n element.removeEventListener('touchmove', this._touchmoveHandler, activeCapturingEventOptions);\n element.removeEventListener('mouseenter', this._enterHandler, passiveCapturingEventOptions);\n element.removeEventListener('focus', this._enterHandler, passiveCapturingEventOptions);\n element.removeEventListener('mouseleave', this._leaveHandler, passiveCapturingEventOptions);\n element.removeEventListener('blur', this._leaveHandler, passiveCapturingEventOptions);\n element.removeEventListener('mousedown', this._mousedownHandler, passiveEventOptions);\n element.removeEventListener('touchstart', this._mousedownHandler, passiveEventOptions);\n if (this._platform.isBrowser) {\n window.removeEventListener('mouseup', this._mouseupHandler);\n window.removeEventListener('touchend', this._touchendHandler);\n }\n }\n /** Returns whether a cell is active. */\n _isActiveCell(rowIndex, colIndex) {\n let cellNumber = rowIndex * this.numCols + colIndex;\n // Account for the fact that the first row may not have as many cells.\n if (rowIndex) {\n cellNumber -= this._firstRowOffset;\n }\n return cellNumber == this.activeCell;\n }\n /**\n * Focuses the active cell after the microtask queue is empty.\n *\n * Adding a 0ms setTimeout seems to fix Voiceover losing focus when pressing PageUp/PageDown\n * (issue #24330).\n *\n * Determined a 0ms by gradually increasing duration from 0 and testing two use cases with screen\n * reader enabled:\n *\n * 1. Pressing PageUp/PageDown repeatedly with pausing between each key press.\n * 2. Pressing and holding the PageDown key with repeated keys enabled.\n *\n * Test 1 worked roughly 95-99% of the time with 0ms and got a little bit better as the duration\n * increased. Test 2 got slightly better until the duration was long enough to interfere with\n * repeated keys. If the repeated key speed was faster than the timeout duration, then pressing\n * and holding pagedown caused the entire page to scroll.\n *\n * Since repeated key speed can verify across machines, determined that any duration could\n * potentially interfere with repeated keys. 0ms would be best because it almost entirely\n * eliminates the focus being lost in Voiceover (#24330) without causing unintended side effects.\n * Adding delay also complicates writing tests.\n */\n _focusActiveCell(movePreview = true) {\n this._ngZone.runOutsideAngular(() => {\n this._ngZone.onStable.pipe(take(1)).subscribe(() => {\n setTimeout(() => {\n const activeCell = this._elementRef.nativeElement.querySelector('.mat-calendar-body-active');\n if (activeCell) {\n if (!movePreview) {\n this._skipNextFocus = true;\n }\n activeCell.focus();\n }\n });\n });\n });\n }\n /** Focuses the active cell after change detection has run and the microtask queue is empty. */\n _scheduleFocusActiveCellAfterViewChecked() {\n this._focusActiveCellAfterViewChecked = true;\n }\n /** Gets whether a value is the start of the main range. */\n _isRangeStart(value) {\n return isStart(value, this.startValue, this.endValue);\n }\n /** Gets whether a value is the end of the main range. */\n _isRangeEnd(value) {\n return isEnd(value, this.startValue, this.endValue);\n }\n /** Gets whether a value is within the currently-selected range. */\n _isInRange(value) {\n return isInRange(value, this.startValue, this.endValue, this.isRange);\n }\n /** Gets whether a value is the start of the comparison range. */\n _isComparisonStart(value) {\n return isStart(value, this.comparisonStart, this.comparisonEnd);\n }\n /** Whether the cell is a start bridge cell between the main and comparison ranges. */\n _isComparisonBridgeStart(value, rowIndex, colIndex) {\n if (!this._isComparisonStart(value) || this._isRangeStart(value) || !this._isInRange(value)) {\n return false;\n }\n let previousCell = this.rows[rowIndex][colIndex - 1];\n if (!previousCell) {\n const previousRow = this.rows[rowIndex - 1];\n previousCell = previousRow && previousRow[previousRow.length - 1];\n }\n return previousCell && !this._isRangeEnd(previousCell.compareValue);\n }\n /** Whether the cell is an end bridge cell between the main and comparison ranges. */\n _isComparisonBridgeEnd(value, rowIndex, colIndex) {\n if (!this._isComparisonEnd(value) || this._isRangeEnd(value) || !this._isInRange(value)) {\n return false;\n }\n let nextCell = this.rows[rowIndex][colIndex + 1];\n if (!nextCell) {\n const nextRow = this.rows[rowIndex + 1];\n nextCell = nextRow && nextRow[0];\n }\n return nextCell && !this._isRangeStart(nextCell.compareValue);\n }\n /** Gets whether a value is the end of the comparison range. */\n _isComparisonEnd(value) {\n return isEnd(value, this.comparisonStart, this.comparisonEnd);\n }\n /** Gets whether a value is within the current comparison range. */\n _isInComparisonRange(value) {\n return isInRange(value, this.comparisonStart, this.comparisonEnd, this.isRange);\n }\n /**\n * Gets whether a value is the same as the start and end of the comparison range.\n * For context, the functions that we use to determine whether something is the start/end of\n * a range don't allow for the start and end to be on the same day, because we'd have to use\n * much more specific CSS selectors to style them correctly in all scenarios. This is fine for\n * the regular range, because when it happens, the selected styles take over and still show where\n * the range would've been, however we don't have these selected styles for a comparison range.\n * This function is used to apply a class that serves the same purpose as the one for selected\n * dates, but it only applies in the context of a comparison range.\n */\n _isComparisonIdentical(value) {\n // Note that we don't need to null check the start/end\n // here, because the `value` will always be defined.\n return this.comparisonStart === this.comparisonEnd && value === this.comparisonStart;\n }\n /** Gets whether a value is the start of the preview range. */\n _isPreviewStart(value) {\n return isStart(value, this.previewStart, this.previewEnd);\n }\n /** Gets whether a value is the end of the preview range. */\n _isPreviewEnd(value) {\n return isEnd(value, this.previewStart, this.previewEnd);\n }\n /** Gets whether a value is inside the preview range. */\n _isInPreview(value) {\n return isInRange(value, this.previewStart, this.previewEnd, this.isRange);\n }\n /** Gets ids of aria descriptions for the start and end of a date range. */\n _getDescribedby(value) {\n if (!this.isRange) {\n return null;\n }\n if (this.startValue === value && this.endValue === value) {\n return `${this._startDateLabelId} ${this._endDateLabelId}`;\n }\n else if (this.startValue === value) {\n return this._startDateLabelId;\n }\n else if (this.endValue === value) {\n return this._endDateLabelId;\n }\n return null;\n }\n /** Finds the MatCalendarCell that corresponds to a DOM node. */\n _getCellFromElement(element) {\n const cell = getCellElement(element);\n if (cell) {\n const row = cell.getAttribute('data-mat-row');\n const col = cell.getAttribute('data-mat-col');\n if (row && col) {\n return this.rows[parseInt(row)][parseInt(col)];\n }\n }\n return null;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatCalendarBody, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatCalendarBody, selector: \"[mat-calendar-body]\", inputs: { label: \"label\", rows: \"rows\", todayValue: \"todayValue\", startValue: \"startValue\", endValue: \"endValue\", labelMinRequiredCells: \"labelMinRequiredCells\", numCols: \"numCols\", activeCell: \"activeCell\", isRange: \"isRange\", cellAspectRatio: \"cellAspectRatio\", comparisonStart: \"comparisonStart\", comparisonEnd: \"comparisonEnd\", previewStart: \"previewStart\", previewEnd: \"previewEnd\", startDateAccessibleName: \"startDateAccessibleName\", endDateAccessibleName: \"endDateAccessibleName\" }, outputs: { selectedValueChange: \"selectedValueChange\", previewChange: \"previewChange\", activeDateChange: \"activeDateChange\", dragStarted: \"dragStarted\", dragEnded: \"dragEnded\" }, host: { classAttribute: \"mat-calendar-body\" }, exportAs: [\"matCalendarBody\"], usesOnChanges: true, ngImport: i0, template: \"<!--\\n If there's not enough space in the first row, create a separate label row. We mark this row as\\n aria-hidden because we don't want it to be read out as one of the weeks in the month.\\n-->\\n<tr *ngIf=\\\"_firstRowOffset < labelMinRequiredCells\\\" aria-hidden=\\\"true\\\">\\n <td class=\\\"mat-calendar-body-label\\\"\\n [attr.colspan]=\\\"numCols\\\"\\n [style.paddingTop]=\\\"_cellPadding\\\"\\n [style.paddingBottom]=\\\"_cellPadding\\\">\\n {{label}}\\n </td>\\n</tr>\\n\\n<!-- Create the first row separately so we can include a special spacer cell. -->\\n<tr *ngFor=\\\"let row of rows; let rowIndex = index\\\" role=\\\"row\\\">\\n <!--\\n This cell is purely decorative, but we can't put `aria-hidden` or `role=\\\"presentation\\\"` on it,\\n because it throws off the week days for the rest of the row on NVDA. The aspect ratio of the\\n table cells is maintained by setting the top and bottom padding as a percentage of the width\\n (a variant of the trick described here: https://www.w3schools.com/howto/howto_css_aspect_ratio.asp).\\n -->\\n <td *ngIf=\\\"rowIndex === 0 && _firstRowOffset\\\"\\n class=\\\"mat-calendar-body-label\\\"\\n [attr.colspan]=\\\"_firstRowOffset\\\"\\n [style.paddingTop]=\\\"_cellPadding\\\"\\n [style.paddingBottom]=\\\"_cellPadding\\\">\\n {{_firstRowOffset >= labelMinRequiredCells ? label : ''}}\\n </td>\\n <!--\\n Each gridcell in the calendar contains a button, which signals to assistive technology that the\\n cell is interactable, as well as the selection state via `aria-pressed`. See #23476 for\\n background.\\n -->\\n <td\\n *ngFor=\\\"let item of row; let colIndex = index\\\"\\n role=\\\"gridcell\\\"\\n class=\\\"mat-calendar-body-cell-container\\\"\\n [style.width]=\\\"_cellWidth\\\"\\n [style.paddingTop]=\\\"_cellPadding\\\"\\n [style.paddingBottom]=\\\"_cellPadding\\\"\\n [attr.data-mat-row]=\\\"rowIndex\\\"\\n [attr.data-mat-col]=\\\"colIndex\\\"\\n >\\n <button\\n type=\\\"button\\\"\\n class=\\\"mat-calendar-body-cell\\\"\\n [ngClass]=\\\"item.cssClasses\\\"\\n [tabindex]=\\\"_isActiveCell(rowIndex, colIndex) ? 0 : -1\\\"\\n [class.mat-calendar-body-disabled]=\\\"!item.enabled\\\"\\n [class.mat-calendar-body-active]=\\\"_isActiveCell(rowIndex, colIndex)\\\"\\n [class.mat-calendar-body-range-start]=\\\"_isRangeStart(item.compareValue)\\\"\\n [class.mat-calendar-body-range-end]=\\\"_isRangeEnd(item.compareValue)\\\"\\n [class.mat-calendar-body-in-range]=\\\"_isInRange(item.compareValue)\\\"\\n [class.mat-calendar-body-comparison-bridge-start]=\\\"_isComparisonBridgeStart(item.compareValue, rowIndex, colIndex)\\\"\\n [class.mat-calendar-body-comparison-bridge-end]=\\\"_isComparisonBridgeEnd(item.compareValue, rowIndex, colIndex)\\\"\\n [class.mat-calendar-body-comparison-start]=\\\"_isComparisonStart(item.compareValue)\\\"\\n [class.mat-calendar-body-comparison-end]=\\\"_isComparisonEnd(item.compareValue)\\\"\\n [class.mat-calendar-body-in-comparison-range]=\\\"_isInComparisonRange(item.compareValue)\\\"\\n [class.mat-calendar-body-preview-start]=\\\"_isPreviewStart(item.compareValue)\\\"\\n [class.mat-calendar-body-preview-end]=\\\"_isPreviewEnd(item.compareValue)\\\"\\n [class.mat-calendar-body-in-preview]=\\\"_isInPreview(item.compareValue)\\\"\\n [attr.aria-label]=\\\"item.ariaLabel\\\"\\n [attr.aria-disabled]=\\\"!item.enabled || null\\\"\\n [attr.aria-pressed]=\\\"_isSelected(item.compareValue)\\\"\\n [attr.aria-current]=\\\"todayValue === item.compareValue ? 'date' : null\\\"\\n [attr.aria-describedby]=\\\"_getDescribedby(item.compareValue)\\\"\\n (click)=\\\"_cellClicked(item, $event)\\\"\\n (focus)=\\\"_emitActiveDateChange(item, $event)\\\">\\n <span class=\\\"mat-calendar-body-cell-content mat-focus-indicator\\\"\\n [class.mat-calendar-body-selected]=\\\"_isSelected(item.compareValue)\\\"\\n [class.mat-calendar-body-comparison-identical]=\\\"_isComparisonIdentical(item.compareValue)\\\"\\n [class.mat-calendar-body-today]=\\\"todayValue === item.compareValue\\\">\\n {{item.displayValue}}\\n </span>\\n <span class=\\\"mat-calendar-body-cell-preview\\\" aria-hidden=\\\"true\\\"></span>\\n </button>\\n </td>\\n</tr>\\n\\n<label [id]=\\\"_startDateLabelId\\\" class=\\\"mat-calendar-body-hidden-label\\\">\\n {{startDateAccessibleName}}\\n</label>\\n<label [id]=\\\"_endDateLabelId\\\" class=\\\"mat-calendar-body-hidden-label\\\">\\n {{endDateAccessibleName}}\\n</label>\\n\", styles: [\".mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.7142857143%;padding-right:4.7142857143%}.mat-calendar-body-hidden-label{display:none}.mat-calendar-body-cell-container{position:relative;height:0;line-height:0}.mat-calendar-body-cell{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;top:0;left:0;width:100%;height:100%;background:none;text-align:center;outline:none;font-family:inherit;margin:0}.mat-calendar-body-cell::-moz-focus-inner{border:0}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:\\\"\\\";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;display:block;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}[dir=rtl] .mat-calendar-body-label{text-align:right}\"], dependencies: [{ kind: \"directive\", type: i1.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i1.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatCalendarBody, decorators: [{\n type: Component,\n args: [{ selector: '[mat-calendar-body]', host: {\n 'class': 'mat-calendar-body',\n }, exportAs: 'matCalendarBody', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: \"<!--\\n If there's not enough space in the first row, create a separate label row. We mark this row as\\n aria-hidden because we don't want it to be read out as one of the weeks in the month.\\n-->\\n<tr *ngIf=\\\"_firstRowOffset < labelMinRequiredCells\\\" aria-hidden=\\\"true\\\">\\n <td class=\\\"mat-calendar-body-label\\\"\\n [attr.colspan]=\\\"numCols\\\"\\n [style.paddingTop]=\\\"_cellPadding\\\"\\n [style.paddingBottom]=\\\"_cellPadding\\\">\\n {{label}}\\n </td>\\n</tr>\\n\\n<!-- Create the first row separately so we can include a special spacer cell. -->\\n<tr *ngFor=\\\"let row of rows; let rowIndex = index\\\" role=\\\"row\\\">\\n <!--\\n This cell is purely decorative, but we can't put `aria-hidden` or `role=\\\"presentation\\\"` on it,\\n because it throws off the week days for the rest of the row on NVDA. The aspect ratio of the\\n table cells is maintained by setting the top and bottom padding as a percentage of the width\\n (a variant of the trick described here: https://www.w3schools.com/howto/howto_css_aspect_ratio.asp).\\n -->\\n <td *ngIf=\\\"rowIndex === 0 && _firstRowOffset\\\"\\n class=\\\"mat-calendar-body-label\\\"\\n [attr.colspan]=\\\"_firstRowOffset\\\"\\n [style.paddingTop]=\\\"_cellPadding\\\"\\n [style.paddingBottom]=\\\"_cellPadding\\\">\\n {{_firstRowOffset >= labelMinRequiredCells ? label : ''}}\\n </td>\\n <!--\\n Each gridcell in the calendar contains a button, which signals to assistive technology that the\\n cell is interactable, as well as the selection state via `aria-pressed`. See #23476 for\\n background.\\n -->\\n <td\\n *ngFor=\\\"let item of row; let colIndex = index\\\"\\n role=\\\"gridcell\\\"\\n class=\\\"mat-calendar-body-cell-container\\\"\\n [style.width]=\\\"_cellWidth\\\"\\n [style.paddingTop]=\\\"_cellPadding\\\"\\n [style.paddingBottom]=\\\"_cellPadding\\\"\\n [attr.data-mat-row]=\\\"rowIndex\\\"\\n [attr.data-mat-col]=\\\"colIndex\\\"\\n >\\n <button\\n type=\\\"button\\\"\\n class=\\\"mat-calendar-body-cell\\\"\\n [ngClass]=\\\"item.cssClasses\\\"\\n [tabindex]=\\\"_isActiveCell(rowIndex, colIndex) ? 0 : -1\\\"\\n [class.mat-calendar-body-disabled]=\\\"!item.enabled\\\"\\n [class.mat-calendar-body-active]=\\\"_isActiveCell(rowIndex, colIndex)\\\"\\n [class.mat-calendar-body-range-start]=\\\"_isRangeStart(item.compareValue)\\\"\\n [class.mat-calendar-body-range-end]=\\\"_isRangeEnd(item.compareValue)\\\"\\n [class.mat-calendar-body-in-range]=\\\"_isInRange(item.compareValue)\\\"\\n [class.mat-calendar-body-comparison-bridge-start]=\\\"_isComparisonBridgeStart(item.compareValue, rowIndex, colIndex)\\\"\\n [class.mat-calendar-body-comparison-bridge-end]=\\\"_isComparisonBridgeEnd(item.compareValue, rowIndex, colIndex)\\\"\\n [class.mat-calendar-body-comparison-start]=\\\"_isComparisonStart(item.compareValue)\\\"\\n [class.mat-calendar-body-comparison-end]=\\\"_isComparisonEnd(item.compareValue)\\\"\\n [class.mat-calendar-body-in-comparison-range]=\\\"_isInComparisonRange(item.compareValue)\\\"\\n [class.mat-calendar-body-preview-start]=\\\"_isPreviewStart(item.compareValue)\\\"\\n [class.mat-calendar-body-preview-end]=\\\"_isPreviewEnd(item.compareValue)\\\"\\n [class.mat-calendar-body-in-preview]=\\\"_isInPreview(item.compareValue)\\\"\\n [attr.aria-label]=\\\"item.ariaLabel\\\"\\n [attr.aria-disabled]=\\\"!item.enabled || null\\\"\\n [attr.aria-pressed]=\\\"_isSelected(item.compareValue)\\\"\\n [attr.aria-current]=\\\"todayValue === item.compareValue ? 'date' : null\\\"\\n [attr.aria-describedby]=\\\"_getDescribedby(item.compareValue)\\\"\\n (click)=\\\"_cellClicked(item, $event)\\\"\\n (focus)=\\\"_emitActiveDateChange(item, $event)\\\">\\n <span class=\\\"mat-calendar-body-cell-content mat-focus-indicator\\\"\\n [class.mat-calendar-body-selected]=\\\"_isSelected(item.compareValue)\\\"\\n [class.mat-calendar-body-comparison-identical]=\\\"_isComparisonIdentical(item.compareValue)\\\"\\n [class.mat-calendar-body-today]=\\\"todayValue === item.compareValue\\\">\\n {{item.displayValue}}\\n </span>\\n <span class=\\\"mat-calendar-body-cell-preview\\\" aria-hidden=\\\"true\\\"></span>\\n </button>\\n </td>\\n</tr>\\n\\n<label [id]=\\\"_startDateLabelId\\\" class=\\\"mat-calendar-body-hidden-label\\\">\\n {{startDateAccessibleName}}\\n</label>\\n<label [id]=\\\"_endDateLabelId\\\" class=\\\"mat-calendar-body-hidden-label\\\">\\n {{endDateAccessibleName}}\\n</label>\\n\", styles: [\".mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.7142857143%;padding-right:4.7142857143%}.mat-calendar-body-hidden-label{display:none}.mat-calendar-body-cell-container{position:relative;height:0;line-height:0}.mat-calendar-body-cell{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;top:0;left:0;width:100%;height:100%;background:none;text-align:center;outline:none;font-family:inherit;margin:0}.mat-calendar-body-cell::-moz-focus-inner{border:0}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:\\\"\\\";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;display:block;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}[dir=rtl] .mat-calendar-body-label{text-align:right}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { label: [{\n type: Input\n }], rows: [{\n type: Input\n }], todayValue: [{\n type: Input\n }], startValue: [{\n type: Input\n }], endValue: [{\n type: Input\n }], labelMinRequiredCells: [{\n type: Input\n }], numCols: [{\n type: Input\n }], activeCell: [{\n type: Input\n }], isRange: [{\n type: Input\n }], cellAspectRatio: [{\n type: Input\n }], comparisonStart: [{\n type: Input\n }], comparisonEnd: [{\n type: Input\n }], previewStart: [{\n type: Input\n }], previewEnd: [{\n type: Input\n }], startDateAccessibleName: [{\n type: Input\n }], endDateAccessibleName: [{\n type: Input\n }], selectedValueChange: [{\n type: Output\n }], previewChange: [{\n type: Output\n }], activeDateChange: [{\n type: Output\n }], dragStarted: [{\n type: Output\n }], dragEnded: [{\n type: Output\n }] } });\n/** Checks whether a node is a table cell element. */\nfunction isTableCell(node) {\n return node?.nodeName === 'TD';\n}\n/**\n * Gets the date table cell element that is or contains the specified element.\n * Or returns null if element is not part of a date cell.\n */\nfunction getCellElement(element) {\n let cell;\n if (isTableCell(element)) {\n cell = element;\n }\n else if (isTableCell(element.parentNode)) {\n cell = element.parentNode;\n }\n else if (isTableCell(element.parentNode?.parentNode)) {\n cell = element.parentNode.parentNode;\n }\n return cell?.getAttribute('data-mat-row') != null ? cell : null;\n}\n/** Checks whether a value is the start of a range. */\nfunction isStart(value, start, end) {\n return end !== null && start !== end && value < end && value === start;\n}\n/** Checks whether a value is the end of a range. */\nfunction isEnd(value, start, end) {\n return start !== null && start !== end && value >= start && value === end;\n}\n/** Checks whether a value is inside of a range. */\nfunction isInRange(value, start, end, rangeEnabled) {\n return (rangeEnabled &&\n start !== null &&\n end !== null &&\n start !== end &&\n value >= start &&\n value <= end);\n}\n/**\n * Extracts the element that actually corresponds to a touch event's location\n * (rather than the element that initiated the sequence of touch events).\n */\nfunction getActualTouchTarget(event) {\n const touchLocation = event.changedTouches[0];\n return document.elementFromPoint(touchLocation.clientX, touchLocation.clientY);\n}\n\n/** A class representing a range of dates. */\nclass DateRange {\n constructor(\n /** The start date of the range. */\n start, \n /** The end date of the range. */\n end) {\n this.start = start;\n this.end = end;\n }\n}\n/**\n * A selection model containing a date selection.\n * @docs-private\n */\nclass MatDateSelectionModel {\n constructor(\n /** The current selection. */\n selection, _adapter) {\n this.selection = selection;\n this._adapter = _adapter;\n this._selectionChanged = new Subject();\n /** Emits when the selection has changed. */\n this.selectionChanged = this._selectionChanged;\n this.selection = selection;\n }\n /**\n * Updates the current selection in the model.\n * @param value New selection that should be assigned.\n * @param source Object that triggered the selection change.\n */\n updateSelection(value, source) {\n const oldValue = this.selection;\n this.selection = value;\n this._selectionChanged.next({ selection: value, source, oldValue });\n }\n ngOnDestroy() {\n this._selectionChanged.complete();\n }\n _isValidDateInstance(date) {\n return this._adapter.isDateInstance(date) && this._adapter.isValid(date);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDateSelectionModel, deps: \"invalid\", target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDateSelectionModel }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDateSelectionModel, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: undefined }, { type: i1$1.DateAdapter }]; } });\n/**\n * A selection model that contains a single date.\n * @docs-private\n */\nclass MatSingleDateSelectionModel extends MatDateSelectionModel {\n constructor(adapter) {\n super(null, adapter);\n }\n /**\n * Adds a date to the current selection. In the case of a single date selection, the added date\n * simply overwrites the previous selection\n */\n add(date) {\n super.updateSelection(date, this);\n }\n /** Checks whether the current selection is valid. */\n isValid() {\n return this.selection != null && this._isValidDateInstance(this.selection);\n }\n /**\n * Checks whether the current selection is complete. In the case of a single date selection, this\n * is true if the current selection is not null.\n */\n isComplete() {\n return this.selection != null;\n }\n /** Clones the selection model. */\n clone() {\n const clone = new MatSingleDateSelectionModel(this._adapter);\n clone.updateSelection(this.selection, this);\n return clone;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSingleDateSelectionModel, deps: [{ token: i1$1.DateAdapter }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSingleDateSelectionModel }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSingleDateSelectionModel, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: i1$1.DateAdapter }]; } });\n/**\n * A selection model that contains a date range.\n * @docs-private\n */\nclass MatRangeDateSelectionModel extends MatDateSelectionModel {\n constructor(adapter) {\n super(new DateRange(null, null), adapter);\n }\n /**\n * Adds a date to the current selection. In the case of a date range selection, the added date\n * fills in the next `null` value in the range. If both the start and the end already have a date,\n * the selection is reset so that the given date is the new `start` and the `end` is null.\n */\n add(date) {\n let { start, end } = this.selection;\n if (start == null) {\n start = date;\n }\n else if (end == null) {\n end = date;\n }\n else {\n start = date;\n end = null;\n }\n super.updateSelection(new DateRange(start, end), this);\n }\n /** Checks whether the current selection is valid. */\n isValid() {\n const { start, end } = this.selection;\n // Empty ranges are valid.\n if (start == null && end == null) {\n return true;\n }\n // Complete ranges are only valid if both dates are valid and the start is before the end.\n if (start != null && end != null) {\n return (this._isValidDateInstance(start) &&\n this._isValidDateInstance(end) &&\n this._adapter.compareDate(start, end) <= 0);\n }\n // Partial ranges are valid if the start/end is valid.\n return ((start == null || this._isValidDateInstance(start)) &&\n (end == null || this._isValidDateInstance(end)));\n }\n /**\n * Checks whether the current selection is complete. In the case of a date range selection, this\n * is true if the current selection has a non-null `start` and `end`.\n */\n isComplete() {\n return this.selection.start != null && this.selection.end != null;\n }\n /** Clones the selection model. */\n clone() {\n const clone = new MatRangeDateSelectionModel(this._adapter);\n clone.updateSelection(this.selection, this);\n return clone;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatRangeDateSelectionModel, deps: [{ token: i1$1.DateAdapter }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatRangeDateSelectionModel }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatRangeDateSelectionModel, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: i1$1.DateAdapter }]; } });\n/** @docs-private */\nfunction MAT_SINGLE_DATE_SELECTION_MODEL_FACTORY(parent, adapter) {\n return parent || new MatSingleDateSelectionModel(adapter);\n}\n/**\n * Used to provide a single selection model to a component.\n * @docs-private\n */\nconst MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER = {\n provide: MatDateSelectionModel,\n deps: [[new Optional(), new SkipSelf(), MatDateSelectionModel], DateAdapter],\n useFactory: MAT_SINGLE_DATE_SELECTION_MODEL_FACTORY,\n};\n/** @docs-private */\nfunction MAT_RANGE_DATE_SELECTION_MODEL_FACTORY(parent, adapter) {\n return parent || new MatRangeDateSelectionModel(adapter);\n}\n/**\n * Used to provide a range selection model to a component.\n * @docs-private\n */\nconst MAT_RANGE_DATE_SELECTION_MODEL_PROVIDER = {\n provide: MatDateSelectionModel,\n deps: [[new Optional(), new SkipSelf(), MatDateSelectionModel], DateAdapter],\n useFactory: MAT_RANGE_DATE_SELECTION_MODEL_FACTORY,\n};\n\n/** Injection token used to customize the date range selection behavior. */\nconst MAT_DATE_RANGE_SELECTION_STRATEGY = new InjectionToken('MAT_DATE_RANGE_SELECTION_STRATEGY');\n/** Provides the default date range selection behavior. */\nclass DefaultMatCalendarRangeStrategy {\n constructor(_dateAdapter) {\n this._dateAdapter = _dateAdapter;\n }\n selectionFinished(date, currentRange) {\n let { start, end } = currentRange;\n if (start == null) {\n start = date;\n }\n else if (end == null && date && this._dateAdapter.compareDate(date, start) >= 0) {\n end = date;\n }\n else {\n start = date;\n end = null;\n }\n return new DateRange(start, end);\n }\n createPreview(activeDate, currentRange) {\n let start = null;\n let end = null;\n if (currentRange.start && !currentRange.end && activeDate) {\n start = currentRange.start;\n end = activeDate;\n }\n return new DateRange(start, end);\n }\n createDrag(dragOrigin, originalRange, newDate) {\n let start = originalRange.start;\n let end = originalRange.end;\n if (!start || !end) {\n // Can't drag from an incomplete range.\n return null;\n }\n const adapter = this._dateAdapter;\n const isRange = adapter.compareDate(start, end) !== 0;\n const diffYears = adapter.getYear(newDate) - adapter.getYear(dragOrigin);\n const diffMonths = adapter.getMonth(newDate) - adapter.getMonth(dragOrigin);\n const diffDays = adapter.getDate(newDate) - adapter.getDate(dragOrigin);\n if (isRange && adapter.sameDate(dragOrigin, originalRange.start)) {\n start = newDate;\n if (adapter.compareDate(newDate, end) > 0) {\n end = adapter.addCalendarYears(end, diffYears);\n end = adapter.addCalendarMonths(end, diffMonths);\n end = adapter.addCalendarDays(end, diffDays);\n }\n }\n else if (isRange && adapter.sameDate(dragOrigin, originalRange.end)) {\n end = newDate;\n if (adapter.compareDate(newDate, start) < 0) {\n start = adapter.addCalendarYears(start, diffYears);\n start = adapter.addCalendarMonths(start, diffMonths);\n start = adapter.addCalendarDays(start, diffDays);\n }\n }\n else {\n start = adapter.addCalendarYears(start, diffYears);\n start = adapter.addCalendarMonths(start, diffMonths);\n start = adapter.addCalendarDays(start, diffDays);\n end = adapter.addCalendarYears(end, diffYears);\n end = adapter.addCalendarMonths(end, diffMonths);\n end = adapter.addCalendarDays(end, diffDays);\n }\n return new DateRange(start, end);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: DefaultMatCalendarRangeStrategy, deps: [{ token: i1$1.DateAdapter }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: DefaultMatCalendarRangeStrategy }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: DefaultMatCalendarRangeStrategy, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: i1$1.DateAdapter }]; } });\n/** @docs-private */\nfunction MAT_CALENDAR_RANGE_STRATEGY_PROVIDER_FACTORY(parent, adapter) {\n return parent || new DefaultMatCalendarRangeStrategy(adapter);\n}\n/** @docs-private */\nconst MAT_CALENDAR_RANGE_STRATEGY_PROVIDER = {\n provide: MAT_DATE_RANGE_SELECTION_STRATEGY,\n deps: [[new Optional(), new SkipSelf(), MAT_DATE_RANGE_SELECTION_STRATEGY], DateAdapter],\n useFactory: MAT_CALENDAR_RANGE_STRATEGY_PROVIDER_FACTORY,\n};\n\nconst DAYS_PER_WEEK = 7;\n/**\n * An internal component used to display a single month in the datepicker.\n * @docs-private\n */\nclass MatMonthView {\n /**\n * The date to display in this month view (everything other than the month and year is ignored).\n */\n get activeDate() {\n return this._activeDate;\n }\n set activeDate(value) {\n const oldActiveDate = this._activeDate;\n const validDate = this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(value)) ||\n this._dateAdapter.today();\n this._activeDate = this._dateAdapter.clampDate(validDate, this.minDate, this.maxDate);\n if (!this._hasSameMonthAndYear(oldActiveDate, this._activeDate)) {\n this._init();\n }\n }\n /** The currently selected date. */\n get selected() {\n return this._selected;\n }\n set selected(value) {\n if (value instanceof DateRange) {\n this._selected = value;\n }\n else {\n this._selected = this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(value));\n }\n this._setRanges(this._selected);\n }\n /** The minimum selectable date. */\n get minDate() {\n return this._minDate;\n }\n set minDate(value) {\n this._minDate = this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(value));\n }\n /** The maximum selectable date. */\n get maxDate() {\n return this._maxDate;\n }\n set maxDate(value) {\n this._maxDate = this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(value));\n }\n constructor(_changeDetectorRef, _dateFormats, _dateAdapter, _dir, _rangeStrategy) {\n this._changeDetectorRef = _changeDetectorRef;\n this._dateFormats = _dateFormats;\n this._dateAdapter = _dateAdapter;\n this._dir = _dir;\n this._rangeStrategy = _rangeStrategy;\n this._rerenderSubscription = Subscription.EMPTY;\n /** Origin of active drag, or null when dragging is not active. */\n this.activeDrag = null;\n /** Emits when a new date is selected. */\n this.selectedChange = new EventEmitter();\n /** Emits when any date is selected. */\n this._userSelection = new EventEmitter();\n /** Emits when the user initiates a date range drag via mouse or touch. */\n this.dragStarted = new EventEmitter();\n /**\n * Emits when the user completes or cancels a date range drag.\n * Emits null when the drag was canceled or the newly selected date range if completed.\n */\n this.dragEnded = new EventEmitter();\n /** Emits when any date is activated. */\n this.activeDateChange = new EventEmitter();\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!this._dateAdapter) {\n throw createMissingDateImplError('DateAdapter');\n }\n if (!this._dateFormats) {\n throw createMissingDateImplError('MAT_DATE_FORMATS');\n }\n }\n this._activeDate = this._dateAdapter.today();\n }\n ngAfterContentInit() {\n this._rerenderSubscription = this._dateAdapter.localeChanges\n .pipe(startWith(null))\n .subscribe(() => this._init());\n }\n ngOnChanges(changes) {\n const comparisonChange = changes['comparisonStart'] || changes['comparisonEnd'];\n if (comparisonChange && !comparisonChange.firstChange) {\n this._setRanges(this.selected);\n }\n if (changes['activeDrag'] && !this.activeDrag) {\n this._clearPreview();\n }\n }\n ngOnDestroy() {\n this._rerenderSubscription.unsubscribe();\n }\n /** Handles when a new date is selected. */\n _dateSelected(event) {\n const date = event.value;\n const selectedDate = this._getDateFromDayOfMonth(date);\n let rangeStartDate;\n let rangeEndDate;\n if (this._selected instanceof DateRange) {\n rangeStartDate = this._getDateInCurrentMonth(this._selected.start);\n rangeEndDate = this._getDateInCurrentMonth(this._selected.end);\n }\n else {\n rangeStartDate = rangeEndDate = this._getDateInCurrentMonth(this._selected);\n }\n if (rangeStartDate !== date || rangeEndDate !== date) {\n this.selectedChange.emit(selectedDate);\n }\n this._userSelection.emit({ value: selectedDate, event: event.event });\n this._clearPreview();\n this._changeDetectorRef.markForCheck();\n }\n /**\n * Takes the index of a calendar body cell wrapped in in an event as argument. For the date that\n * corresponds to the given cell, set `activeDate` to that date and fire `activeDateChange` with\n * that date.\n *\n * This function is used to match each component's model of the active date with the calendar\n * body cell that was focused. It updates its value of `activeDate` synchronously and updates the\n * parent's value asynchronously via the `activeDateChange` event. The child component receives an\n * updated value asynchronously via the `activeCell` Input.\n */\n _updateActiveDate(event) {\n const month = event.value;\n const oldActiveDate = this._activeDate;\n this.activeDate = this._getDateFromDayOfMonth(month);\n if (this._dateAdapter.compareDate(oldActiveDate, this.activeDate)) {\n this.activeDateChange.emit(this._activeDate);\n }\n }\n /** Handles keydown events on the calendar body when calendar is in month view. */\n _handleCalendarBodyKeydown(event) {\n // TODO(mmalerba): We currently allow keyboard navigation to disabled dates, but just prevent\n // disabled ones from being selected. This may not be ideal, we should look into whether\n // navigation should skip over disabled dates, and if so, how to implement that efficiently.\n const oldActiveDate = this._activeDate;\n const isRtl = this._isRtl();\n switch (event.keyCode) {\n case LEFT_ARROW:\n this.activeDate = this._dateAdapter.addCalendarDays(this._activeDate, isRtl ? 1 : -1);\n break;\n case RIGHT_ARROW:\n this.activeDate = this._dateAdapter.addCalendarDays(this._activeDate, isRtl ? -1 : 1);\n break;\n case UP_ARROW:\n this.activeDate = this._dateAdapter.addCalendarDays(this._activeDate, -7);\n break;\n case DOWN_ARROW:\n this.activeDate = this._dateAdapter.addCalendarDays(this._activeDate, 7);\n break;\n case HOME:\n this.activeDate = this._dateAdapter.addCalendarDays(this._activeDate, 1 - this._dateAdapter.getDate(this._activeDate));\n break;\n case END:\n this.activeDate = this._dateAdapter.addCalendarDays(this._activeDate, this._dateAdapter.getNumDaysInMonth(this._activeDate) -\n this._dateAdapter.getDate(this._activeDate));\n break;\n case PAGE_UP:\n this.activeDate = event.altKey\n ? this._dateAdapter.addCalendarYears(this._activeDate, -1)\n : this._dateAdapter.addCalendarMonths(this._activeDate, -1);\n break;\n case PAGE_DOWN:\n this.activeDate = event.altKey\n ? this._dateAdapter.addCalendarYears(this._activeDate, 1)\n : this._dateAdapter.addCalendarMonths(this._activeDate, 1);\n break;\n case ENTER:\n case SPACE:\n this._selectionKeyPressed = true;\n if (this._canSelect(this._activeDate)) {\n // Prevent unexpected default actions such as form submission.\n // Note that we only prevent the default action here while the selection happens in\n // `keyup` below. We can't do the selection here, because it can cause the calendar to\n // reopen if focus is restored immediately. We also can't call `preventDefault` on `keyup`\n // because it's too late (see #23305).\n event.preventDefault();\n }\n return;\n case ESCAPE:\n // Abort the current range selection if the user presses escape mid-selection.\n if (this._previewEnd != null && !hasModifierKey(event)) {\n this._clearPreview();\n // If a drag is in progress, cancel the drag without changing the\n // current selection.\n if (this.activeDrag) {\n this.dragEnded.emit({ value: null, event });\n }\n else {\n this.selectedChange.emit(null);\n this._userSelection.emit({ value: null, event });\n }\n event.preventDefault();\n event.stopPropagation(); // Prevents the overlay from closing.\n }\n return;\n default:\n // Don't prevent default or focus active cell on keys that we don't explicitly handle.\n return;\n }\n if (this._dateAdapter.compareDate(oldActiveDate, this.activeDate)) {\n this.activeDateChange.emit(this.activeDate);\n this._focusActiveCellAfterViewChecked();\n }\n // Prevent unexpected default actions such as form submission.\n event.preventDefault();\n }\n /** Handles keyup events on the calendar body when calendar is in month view. */\n _handleCalendarBodyKeyup(event) {\n if (event.keyCode === SPACE || event.keyCode === ENTER) {\n if (this._selectionKeyPressed && this._canSelect(this._activeDate)) {\n this._dateSelected({ value: this._dateAdapter.getDate(this._activeDate), event });\n }\n this._selectionKeyPressed = false;\n }\n }\n /** Initializes this month view. */\n _init() {\n this._setRanges(this.selected);\n this._todayDate = this._getCellCompareValue(this._dateAdapter.today());\n this._monthLabel = this._dateFormats.display.monthLabel\n ? this._dateAdapter.format(this.activeDate, this._dateFormats.display.monthLabel)\n : this._dateAdapter\n .getMonthNames('short')[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();\n let firstOfMonth = this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate), this._dateAdapter.getMonth(this.activeDate), 1);\n this._firstWeekOffset =\n (DAYS_PER_WEEK +\n this._dateAdapter.getDayOfWeek(firstOfMonth) -\n this._dateAdapter.getFirstDayOfWeek()) %\n DAYS_PER_WEEK;\n this._initWeekdays();\n this._createWeekCells();\n this._changeDetectorRef.markForCheck();\n }\n /** Focuses the active cell after the microtask queue is empty. */\n _focusActiveCell(movePreview) {\n this._matCalendarBody._focusActiveCell(movePreview);\n }\n /** Focuses the active cell after change detection has run and the microtask queue is empty. */\n _focusActiveCellAfterViewChecked() {\n this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked();\n }\n /** Called when the user has activated a new cell and the preview needs to be updated. */\n _previewChanged({ event, value: cell }) {\n if (this._rangeStrategy) {\n // We can assume that this will be a range, because preview\n // events aren't fired for single date selections.\n const value = cell ? cell.rawValue : null;\n const previewRange = this._rangeStrategy.createPreview(value, this.selected, event);\n this._previewStart = this._getCellCompareValue(previewRange.start);\n this._previewEnd = this._getCellCompareValue(previewRange.end);\n if (this.activeDrag && value) {\n const dragRange = this._rangeStrategy.createDrag?.(this.activeDrag.value, this.selected, value, event);\n if (dragRange) {\n this._previewStart = this._getCellCompareValue(dragRange.start);\n this._previewEnd = this._getCellCompareValue(dragRange.end);\n }\n }\n // Note that here we need to use `detectChanges`, rather than `markForCheck`, because\n // the way `_focusActiveCell` is set up at the moment makes it fire at the wrong time\n // when navigating one month back using the keyboard which will cause this handler\n // to throw a \"changed after checked\" error when updating the preview state.\n this._changeDetectorRef.detectChanges();\n }\n }\n /**\n * Called when the user has ended a drag. If the drag/drop was successful,\n * computes and emits the new range selection.\n */\n _dragEnded(event) {\n if (!this.activeDrag)\n return;\n if (event.value) {\n // Propagate drag effect\n const dragDropResult = this._rangeStrategy?.createDrag?.(this.activeDrag.value, this.selected, event.value, event.event);\n this.dragEnded.emit({ value: dragDropResult ?? null, event: event.event });\n }\n else {\n this.dragEnded.emit({ value: null, event: event.event });\n }\n }\n /**\n * Takes a day of the month and returns a new date in the same month and year as the currently\n * active date. The returned date will have the same day of the month as the argument date.\n */\n _getDateFromDayOfMonth(dayOfMonth) {\n return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate), this._dateAdapter.getMonth(this.activeDate), dayOfMonth);\n }\n /** Initializes the weekdays. */\n _initWeekdays() {\n const firstDayOfWeek = this._dateAdapter.getFirstDayOfWeek();\n const narrowWeekdays = this._dateAdapter.getDayOfWeekNames('narrow');\n const longWeekdays = this._dateAdapter.getDayOfWeekNames('long');\n // Rotate the labels for days of the week based on the configured first day of the week.\n let weekdays = longWeekdays.map((long, i) => {\n return { long, narrow: narrowWeekdays[i] };\n });\n this._weekdays = weekdays.slice(firstDayOfWeek).concat(weekdays.slice(0, firstDayOfWeek));\n }\n /** Creates MatCalendarCells for the dates in this month. */\n _createWeekCells() {\n const daysInMonth = this._dateAdapter.getNumDaysInMonth(this.activeDate);\n const dateNames = this._dateAdapter.getDateNames();\n this._weeks = [[]];\n for (let i = 0, cell = this._firstWeekOffset; i < daysInMonth; i++, cell++) {\n if (cell == DAYS_PER_WEEK) {\n this._weeks.push([]);\n cell = 0;\n }\n const date = this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate), this._dateAdapter.getMonth(this.activeDate), i + 1);\n const enabled = this._shouldEnableDate(date);\n const ariaLabel = this._dateAdapter.format(date, this._dateFormats.display.dateA11yLabel);\n const cellClasses = this.dateClass ? this.dateClass(date, 'month') : undefined;\n this._weeks[this._weeks.length - 1].push(new MatCalendarCell(i + 1, dateNames[i], ariaLabel, enabled, cellClasses, this._getCellCompareValue(date), date));\n }\n }\n /** Date filter for the month */\n _shouldEnableDate(date) {\n return (!!date &&\n (!this.minDate || this._dateAdapter.compareDate(date, this.minDate) >= 0) &&\n (!this.maxDate || this._dateAdapter.compareDate(date, this.maxDate) <= 0) &&\n (!this.dateFilter || this.dateFilter(date)));\n }\n /**\n * Gets the date in this month that the given Date falls on.\n * Returns null if the given Date is in another month.\n */\n _getDateInCurrentMonth(date) {\n return date && this._hasSameMonthAndYear(date, this.activeDate)\n ? this._dateAdapter.getDate(date)\n : null;\n }\n /** Checks whether the 2 dates are non-null and fall within the same month of the same year. */\n _hasSameMonthAndYear(d1, d2) {\n return !!(d1 &&\n d2 &&\n this._dateAdapter.getMonth(d1) == this._dateAdapter.getMonth(d2) &&\n this._dateAdapter.getYear(d1) == this._dateAdapter.getYear(d2));\n }\n /** Gets the value that will be used to one cell to another. */\n _getCellCompareValue(date) {\n if (date) {\n // We use the time since the Unix epoch to compare dates in this view, rather than the\n // cell values, because we need to support ranges that span across multiple months/years.\n const year = this._dateAdapter.getYear(date);\n const month = this._dateAdapter.getMonth(date);\n const day = this._dateAdapter.getDate(date);\n return new Date(year, month, day).getTime();\n }\n return null;\n }\n /** Determines whether the user has the RTL layout direction. */\n _isRtl() {\n return this._dir && this._dir.value === 'rtl';\n }\n /** Sets the current range based on a model value. */\n _setRanges(selectedValue) {\n if (selectedValue instanceof DateRange) {\n this._rangeStart = this._getCellCompareValue(selectedValue.start);\n this._rangeEnd = this._getCellCompareValue(selectedValue.end);\n this._isRange = true;\n }\n else {\n this._rangeStart = this._rangeEnd = this._getCellCompareValue(selectedValue);\n this._isRange = false;\n }\n this._comparisonRangeStart = this._getCellCompareValue(this.comparisonStart);\n this._comparisonRangeEnd = this._getCellCompareValue(this.comparisonEnd);\n }\n /** Gets whether a date can be selected in the month view. */\n _canSelect(date) {\n return !this.dateFilter || this.dateFilter(date);\n }\n /** Clears out preview state. */\n _clearPreview() {\n this._previewStart = this._previewEnd = null;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatMonthView, deps: [{ token: i0.ChangeDetectorRef }, { token: MAT_DATE_FORMATS, optional: true }, { token: i1$1.DateAdapter, optional: true }, { token: i2.Directionality, optional: true }, { token: MAT_DATE_RANGE_SELECTION_STRATEGY, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatMonthView, selector: \"mat-month-view\", inputs: { activeDate: \"activeDate\", selected: \"selected\", minDate: \"minDate\", maxDate: \"maxDate\", dateFilter: \"dateFilter\", dateClass: \"dateClass\", comparisonStart: \"comparisonStart\", comparisonEnd: \"comparisonEnd\", startDateAccessibleName: \"startDateAccessibleName\", endDateAccessibleName: \"endDateAccessibleName\", activeDrag: \"activeDrag\" }, outputs: { selectedChange: \"selectedChange\", _userSelection: \"_userSelection\", dragStarted: \"dragStarted\", dragEnded: \"dragEnded\", activeDateChange: \"activeDateChange\" }, viewQueries: [{ propertyName: \"_matCalendarBody\", first: true, predicate: MatCalendarBody, descendants: true }], exportAs: [\"matMonthView\"], usesOnChanges: true, ngImport: i0, template: \"<table class=\\\"mat-calendar-table\\\" role=\\\"grid\\\">\\n <thead class=\\\"mat-calendar-table-header\\\">\\n <tr>\\n <th scope=\\\"col\\\" *ngFor=\\\"let day of _weekdays\\\">\\n <span class=\\\"cdk-visually-hidden\\\">{{day.long}}</span>\\n <span aria-hidden=\\\"true\\\">{{day.narrow}}</span>\\n </th>\\n </tr>\\n <tr><th aria-hidden=\\\"true\\\" class=\\\"mat-calendar-table-header-divider\\\" colspan=\\\"7\\\"></th></tr>\\n </thead>\\n <tbody mat-calendar-body\\n [label]=\\\"_monthLabel\\\"\\n [rows]=\\\"_weeks\\\"\\n [todayValue]=\\\"_todayDate!\\\"\\n [startValue]=\\\"_rangeStart!\\\"\\n [endValue]=\\\"_rangeEnd!\\\"\\n [comparisonStart]=\\\"_comparisonRangeStart\\\"\\n [comparisonEnd]=\\\"_comparisonRangeEnd\\\"\\n [previewStart]=\\\"_previewStart\\\"\\n [previewEnd]=\\\"_previewEnd\\\"\\n [isRange]=\\\"_isRange\\\"\\n [labelMinRequiredCells]=\\\"3\\\"\\n [activeCell]=\\\"_dateAdapter.getDate(activeDate) - 1\\\"\\n [startDateAccessibleName]=\\\"startDateAccessibleName\\\"\\n [endDateAccessibleName]=\\\"endDateAccessibleName\\\"\\n (selectedValueChange)=\\\"_dateSelected($event)\\\"\\n (activeDateChange)=\\\"_updateActiveDate($event)\\\"\\n (previewChange)=\\\"_previewChanged($event)\\\"\\n (dragStarted)=\\\"dragStarted.emit($event)\\\"\\n (dragEnded)=\\\"_dragEnded($event)\\\"\\n (keyup)=\\\"_handleCalendarBodyKeyup($event)\\\"\\n (keydown)=\\\"_handleCalendarBodyKeydown($event)\\\">\\n </tbody>\\n</table>\\n\", dependencies: [{ kind: \"directive\", type: i1.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"component\", type: MatCalendarBody, selector: \"[mat-calendar-body]\", inputs: [\"label\", \"rows\", \"todayValue\", \"startValue\", \"endValue\", \"labelMinRequiredCells\", \"numCols\", \"activeCell\", \"isRange\", \"cellAspectRatio\", \"comparisonStart\", \"comparisonEnd\", \"previewStart\", \"previewEnd\", \"startDateAccessibleName\", \"endDateAccessibleName\"], outputs: [\"selectedValueChange\", \"previewChange\", \"activeDateChange\", \"dragStarted\", \"dragEnded\"], exportAs: [\"matCalendarBody\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatMonthView, decorators: [{\n type: Component,\n args: [{ selector: 'mat-month-view', exportAs: 'matMonthView', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: \"<table class=\\\"mat-calendar-table\\\" role=\\\"grid\\\">\\n <thead class=\\\"mat-calendar-table-header\\\">\\n <tr>\\n <th scope=\\\"col\\\" *ngFor=\\\"let day of _weekdays\\\">\\n <span class=\\\"cdk-visually-hidden\\\">{{day.long}}</span>\\n <span aria-hidden=\\\"true\\\">{{day.narrow}}</span>\\n </th>\\n </tr>\\n <tr><th aria-hidden=\\\"true\\\" class=\\\"mat-calendar-table-header-divider\\\" colspan=\\\"7\\\"></th></tr>\\n </thead>\\n <tbody mat-calendar-body\\n [label]=\\\"_monthLabel\\\"\\n [rows]=\\\"_weeks\\\"\\n [todayValue]=\\\"_todayDate!\\\"\\n [startValue]=\\\"_rangeStart!\\\"\\n [endValue]=\\\"_rangeEnd!\\\"\\n [comparisonStart]=\\\"_comparisonRangeStart\\\"\\n [comparisonEnd]=\\\"_comparisonRangeEnd\\\"\\n [previewStart]=\\\"_previewStart\\\"\\n [previewEnd]=\\\"_previewEnd\\\"\\n [isRange]=\\\"_isRange\\\"\\n [labelMinRequiredCells]=\\\"3\\\"\\n [activeCell]=\\\"_dateAdapter.getDate(activeDate) - 1\\\"\\n [startDateAccessibleName]=\\\"startDateAccessibleName\\\"\\n [endDateAccessibleName]=\\\"endDateAccessibleName\\\"\\n (selectedValueChange)=\\\"_dateSelected($event)\\\"\\n (activeDateChange)=\\\"_updateActiveDate($event)\\\"\\n (previewChange)=\\\"_previewChanged($event)\\\"\\n (dragStarted)=\\\"dragStarted.emit($event)\\\"\\n (dragEnded)=\\\"_dragEnded($event)\\\"\\n (keyup)=\\\"_handleCalendarBodyKeyup($event)\\\"\\n (keydown)=\\\"_handleCalendarBodyKeydown($event)\\\">\\n </tbody>\\n</table>\\n\" }]\n }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_DATE_FORMATS]\n }] }, { type: i1$1.DateAdapter, decorators: [{\n type: Optional\n }] }, { type: i2.Directionality, decorators: [{\n type: Optional\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [MAT_DATE_RANGE_SELECTION_STRATEGY]\n }, {\n type: Optional\n }] }]; }, propDecorators: { activeDate: [{\n type: Input\n }], selected: [{\n type: Input\n }], minDate: [{\n type: Input\n }], maxDate: [{\n type: Input\n }], dateFilter: [{\n type: Input\n }], dateClass: [{\n type: Input\n }], comparisonStart: [{\n type: Input\n }], comparisonEnd: [{\n type: Input\n }], startDateAccessibleName: [{\n type: Input\n }], endDateAccessibleName: [{\n type: Input\n }], activeDrag: [{\n type: Input\n }], selectedChange: [{\n type: Output\n }], _userSelection: [{\n type: Output\n }], dragStarted: [{\n type: Output\n }], dragEnded: [{\n type: Output\n }], activeDateChange: [{\n type: Output\n }], _matCalendarBody: [{\n type: ViewChild,\n args: [MatCalendarBody]\n }] } });\n\nconst yearsPerPage = 24;\nconst yearsPerRow = 4;\n/**\n * An internal component used to display a year selector in the datepicker.\n * @docs-private\n */\nclass MatMultiYearView {\n /** The date to display in this multi-year view (everything other than the year is ignored). */\n get activeDate() {\n return this._activeDate;\n }\n set activeDate(value) {\n let oldActiveDate = this._activeDate;\n const validDate = this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(value)) ||\n this._dateAdapter.today();\n this._activeDate = this._dateAdapter.clampDate(validDate, this.minDate, this.maxDate);\n if (!isSameMultiYearView(this._dateAdapter, oldActiveDate, this._activeDate, this.minDate, this.maxDate)) {\n this._init();\n }\n }\n /** The currently selected date. */\n get selected() {\n return this._selected;\n }\n set selected(value) {\n if (value instanceof DateRange) {\n this._selected = value;\n }\n else {\n this._selected = this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(value));\n }\n this._setSelectedYear(value);\n }\n /** The minimum selectable date. */\n get minDate() {\n return this._minDate;\n }\n set minDate(value) {\n this._minDate = this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(value));\n }\n /** The maximum selectable date. */\n get maxDate() {\n return this._maxDate;\n }\n set maxDate(value) {\n this._maxDate = this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(value));\n }\n constructor(_changeDetectorRef, _dateAdapter, _dir) {\n this._changeDetectorRef = _changeDetectorRef;\n this._dateAdapter = _dateAdapter;\n this._dir = _dir;\n this._rerenderSubscription = Subscription.EMPTY;\n /** Emits when a new year is selected. */\n this.selectedChange = new EventEmitter();\n /** Emits the selected year. This doesn't imply a change on the selected date */\n this.yearSelected = new EventEmitter();\n /** Emits when any date is activated. */\n this.activeDateChange = new EventEmitter();\n if (!this._dateAdapter && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw createMissingDateImplError('DateAdapter');\n }\n this._activeDate = this._dateAdapter.today();\n }\n ngAfterContentInit() {\n this._rerenderSubscription = this._dateAdapter.localeChanges\n .pipe(startWith(null))\n .subscribe(() => this._init());\n }\n ngOnDestroy() {\n this._rerenderSubscription.unsubscribe();\n }\n /** Initializes this multi-year view. */\n _init() {\n this._todayYear = this._dateAdapter.getYear(this._dateAdapter.today());\n // We want a range years such that we maximize the number of\n // enabled dates visible at once. This prevents issues where the minimum year\n // is the last item of a page OR the maximum year is the first item of a page.\n // The offset from the active year to the \"slot\" for the starting year is the\n // *actual* first rendered year in the multi-year view.\n const activeYear = this._dateAdapter.getYear(this._activeDate);\n const minYearOfPage = activeYear - getActiveOffset(this._dateAdapter, this.activeDate, this.minDate, this.maxDate);\n this._years = [];\n for (let i = 0, row = []; i < yearsPerPage; i++) {\n row.push(minYearOfPage + i);\n if (row.length == yearsPerRow) {\n this._years.push(row.map(year => this._createCellForYear(year)));\n row = [];\n }\n }\n this._changeDetectorRef.markForCheck();\n }\n /** Handles when a new year is selected. */\n _yearSelected(event) {\n const year = event.value;\n const selectedYear = this._dateAdapter.createDate(year, 0, 1);\n const selectedDate = this._getDateFromYear(year);\n this.yearSelected.emit(selectedYear);\n this.selectedChange.emit(selectedDate);\n }\n /**\n * Takes the index of a calendar body cell wrapped in in an event as argument. For the date that\n * corresponds to the given cell, set `activeDate` to that date and fire `activeDateChange` with\n * that date.\n *\n * This function is used to match each component's model of the active date with the calendar\n * body cell that was focused. It updates its value of `activeDate` synchronously and updates the\n * parent's value asynchronously via the `activeDateChange` event. The child component receives an\n * updated value asynchronously via the `activeCell` Input.\n */\n _updateActiveDate(event) {\n const year = event.value;\n const oldActiveDate = this._activeDate;\n this.activeDate = this._getDateFromYear(year);\n if (this._dateAdapter.compareDate(oldActiveDate, this.activeDate)) {\n this.activeDateChange.emit(this.activeDate);\n }\n }\n /** Handles keydown events on the calendar body when calendar is in multi-year view. */\n _handleCalendarBodyKeydown(event) {\n const oldActiveDate = this._activeDate;\n const isRtl = this._isRtl();\n switch (event.keyCode) {\n case LEFT_ARROW:\n this.activeDate = this._dateAdapter.addCalendarYears(this._activeDate, isRtl ? 1 : -1);\n break;\n case RIGHT_ARROW:\n this.activeDate = this._dateAdapter.addCalendarYears(this._activeDate, isRtl ? -1 : 1);\n break;\n case UP_ARROW:\n this.activeDate = this._dateAdapter.addCalendarYears(this._activeDate, -yearsPerRow);\n break;\n case DOWN_ARROW:\n this.activeDate = this._dateAdapter.addCalendarYears(this._activeDate, yearsPerRow);\n break;\n case HOME:\n this.activeDate = this._dateAdapter.addCalendarYears(this._activeDate, -getActiveOffset(this._dateAdapter, this.activeDate, this.minDate, this.maxDate));\n break;\n case END:\n this.activeDate = this._dateAdapter.addCalendarYears(this._activeDate, yearsPerPage -\n getActiveOffset(this._dateAdapter, this.activeDate, this.minDate, this.maxDate) -\n 1);\n break;\n case PAGE_UP:\n this.activeDate = this._dateAdapter.addCalendarYears(this._activeDate, event.altKey ? -yearsPerPage * 10 : -yearsPerPage);\n break;\n case PAGE_DOWN:\n this.activeDate = this._dateAdapter.addCalendarYears(this._activeDate, event.altKey ? yearsPerPage * 10 : yearsPerPage);\n break;\n case ENTER:\n case SPACE:\n // Note that we only prevent the default action here while the selection happens in\n // `keyup` below. We can't do the selection here, because it can cause the calendar to\n // reopen if focus is restored immediately. We also can't call `preventDefault` on `keyup`\n // because it's too late (see #23305).\n this._selectionKeyPressed = true;\n break;\n default:\n // Don't prevent default or focus active cell on keys that we don't explicitly handle.\n return;\n }\n if (this._dateAdapter.compareDate(oldActiveDate, this.activeDate)) {\n this.activeDateChange.emit(this.activeDate);\n }\n this._focusActiveCellAfterViewChecked();\n // Prevent unexpected default actions such as form submission.\n event.preventDefault();\n }\n /** Handles keyup events on the calendar body when calendar is in multi-year view. */\n _handleCalendarBodyKeyup(event) {\n if (event.keyCode === SPACE || event.keyCode === ENTER) {\n if (this._selectionKeyPressed) {\n this._yearSelected({ value: this._dateAdapter.getYear(this._activeDate), event });\n }\n this._selectionKeyPressed = false;\n }\n }\n _getActiveCell() {\n return getActiveOffset(this._dateAdapter, this.activeDate, this.minDate, this.maxDate);\n }\n /** Focuses the active cell after the microtask queue is empty. */\n _focusActiveCell() {\n this._matCalendarBody._focusActiveCell();\n }\n /** Focuses the active cell after change detection has run and the microtask queue is empty. */\n _focusActiveCellAfterViewChecked() {\n this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked();\n }\n /**\n * Takes a year and returns a new date on the same day and month as the currently active date\n * The returned date will have the same year as the argument date.\n */\n _getDateFromYear(year) {\n const activeMonth = this._dateAdapter.getMonth(this.activeDate);\n const daysInMonth = this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(year, activeMonth, 1));\n const normalizedDate = this._dateAdapter.createDate(year, activeMonth, Math.min(this._dateAdapter.getDate(this.activeDate), daysInMonth));\n return normalizedDate;\n }\n /** Creates an MatCalendarCell for the given year. */\n _createCellForYear(year) {\n const date = this._dateAdapter.createDate(year, 0, 1);\n const yearName = this._dateAdapter.getYearName(date);\n const cellClasses = this.dateClass ? this.dateClass(date, 'multi-year') : undefined;\n return new MatCalendarCell(year, yearName, yearName, this._shouldEnableYear(year), cellClasses);\n }\n /** Whether the given year is enabled. */\n _shouldEnableYear(year) {\n // disable if the year is greater than maxDate lower than minDate\n if (year === undefined ||\n year === null ||\n (this.maxDate && year > this._dateAdapter.getYear(this.maxDate)) ||\n (this.minDate && year < this._dateAdapter.getYear(this.minDate))) {\n return false;\n }\n // enable if it reaches here and there's no filter defined\n if (!this.dateFilter) {\n return true;\n }\n const firstOfYear = this._dateAdapter.createDate(year, 0, 1);\n // If any date in the year is enabled count the year as enabled.\n for (let date = firstOfYear; this._dateAdapter.getYear(date) == year; date = this._dateAdapter.addCalendarDays(date, 1)) {\n if (this.dateFilter(date)) {\n return true;\n }\n }\n return false;\n }\n /** Determines whether the user has the RTL layout direction. */\n _isRtl() {\n return this._dir && this._dir.value === 'rtl';\n }\n /** Sets the currently-highlighted year based on a model value. */\n _setSelectedYear(value) {\n this._selectedYear = null;\n if (value instanceof DateRange) {\n const displayValue = value.start || value.end;\n if (displayValue) {\n this._selectedYear = this._dateAdapter.getYear(displayValue);\n }\n }\n else if (value) {\n this._selectedYear = this._dateAdapter.getYear(value);\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatMultiYearView, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$1.DateAdapter, optional: true }, { token: i2.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatMultiYearView, selector: \"mat-multi-year-view\", inputs: { activeDate: \"activeDate\", selected: \"selected\", minDate: \"minDate\", maxDate: \"maxDate\", dateFilter: \"dateFilter\", dateClass: \"dateClass\" }, outputs: { selectedChange: \"selectedChange\", yearSelected: \"yearSelected\", activeDateChange: \"activeDateChange\" }, viewQueries: [{ propertyName: \"_matCalendarBody\", first: true, predicate: MatCalendarBody, descendants: true }], exportAs: [\"matMultiYearView\"], ngImport: i0, template: \"<table class=\\\"mat-calendar-table\\\" role=\\\"grid\\\">\\n <thead aria-hidden=\\\"true\\\" class=\\\"mat-calendar-table-header\\\">\\n <tr><th class=\\\"mat-calendar-table-header-divider\\\" colspan=\\\"4\\\"></th></tr>\\n </thead>\\n <tbody mat-calendar-body\\n [rows]=\\\"_years\\\"\\n [todayValue]=\\\"_todayYear\\\"\\n [startValue]=\\\"_selectedYear!\\\"\\n [endValue]=\\\"_selectedYear!\\\"\\n [numCols]=\\\"4\\\"\\n [cellAspectRatio]=\\\"4 / 7\\\"\\n [activeCell]=\\\"_getActiveCell()\\\"\\n (selectedValueChange)=\\\"_yearSelected($event)\\\"\\n (activeDateChange)=\\\"_updateActiveDate($event)\\\"\\n (keyup)=\\\"_handleCalendarBodyKeyup($event)\\\"\\n (keydown)=\\\"_handleCalendarBodyKeydown($event)\\\">\\n </tbody>\\n</table>\\n\", dependencies: [{ kind: \"component\", type: MatCalendarBody, selector: \"[mat-calendar-body]\", inputs: [\"label\", \"rows\", \"todayValue\", \"startValue\", \"endValue\", \"labelMinRequiredCells\", \"numCols\", \"activeCell\", \"isRange\", \"cellAspectRatio\", \"comparisonStart\", \"comparisonEnd\", \"previewStart\", \"previewEnd\", \"startDateAccessibleName\", \"endDateAccessibleName\"], outputs: [\"selectedValueChange\", \"previewChange\", \"activeDateChange\", \"dragStarted\", \"dragEnded\"], exportAs: [\"matCalendarBody\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatMultiYearView, decorators: [{\n type: Component,\n args: [{ selector: 'mat-multi-year-view', exportAs: 'matMultiYearView', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: \"<table class=\\\"mat-calendar-table\\\" role=\\\"grid\\\">\\n <thead aria-hidden=\\\"true\\\" class=\\\"mat-calendar-table-header\\\">\\n <tr><th class=\\\"mat-calendar-table-header-divider\\\" colspan=\\\"4\\\"></th></tr>\\n </thead>\\n <tbody mat-calendar-body\\n [rows]=\\\"_years\\\"\\n [todayValue]=\\\"_todayYear\\\"\\n [startValue]=\\\"_selectedYear!\\\"\\n [endValue]=\\\"_selectedYear!\\\"\\n [numCols]=\\\"4\\\"\\n [cellAspectRatio]=\\\"4 / 7\\\"\\n [activeCell]=\\\"_getActiveCell()\\\"\\n (selectedValueChange)=\\\"_yearSelected($event)\\\"\\n (activeDateChange)=\\\"_updateActiveDate($event)\\\"\\n (keyup)=\\\"_handleCalendarBodyKeyup($event)\\\"\\n (keydown)=\\\"_handleCalendarBodyKeydown($event)\\\">\\n </tbody>\\n</table>\\n\" }]\n }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1$1.DateAdapter, decorators: [{\n type: Optional\n }] }, { type: i2.Directionality, decorators: [{\n type: Optional\n }] }]; }, propDecorators: { activeDate: [{\n type: Input\n }], selected: [{\n type: Input\n }], minDate: [{\n type: Input\n }], maxDate: [{\n type: Input\n }], dateFilter: [{\n type: Input\n }], dateClass: [{\n type: Input\n }], selectedChange: [{\n type: Output\n }], yearSelected: [{\n type: Output\n }], activeDateChange: [{\n type: Output\n }], _matCalendarBody: [{\n type: ViewChild,\n args: [MatCalendarBody]\n }] } });\nfunction isSameMultiYearView(dateAdapter, date1, date2, minDate, maxDate) {\n const year1 = dateAdapter.getYear(date1);\n const year2 = dateAdapter.getYear(date2);\n const startingYear = getStartingYear(dateAdapter, minDate, maxDate);\n return (Math.floor((year1 - startingYear) / yearsPerPage) ===\n Math.floor((year2 - startingYear) / yearsPerPage));\n}\n/**\n * When the multi-year view is first opened, the active year will be in view.\n * So we compute how many years are between the active year and the *slot* where our\n * \"startingYear\" will render when paged into view.\n */\nfunction getActiveOffset(dateAdapter, activeDate, minDate, maxDate) {\n const activeYear = dateAdapter.getYear(activeDate);\n return euclideanModulo(activeYear - getStartingYear(dateAdapter, minDate, maxDate), yearsPerPage);\n}\n/**\n * We pick a \"starting\" year such that either the maximum year would be at the end\n * or the minimum year would be at the beginning of a page.\n */\nfunction getStartingYear(dateAdapter, minDate, maxDate) {\n let startingYear = 0;\n if (maxDate) {\n const maxYear = dateAdapter.getYear(maxDate);\n startingYear = maxYear - yearsPerPage + 1;\n }\n else if (minDate) {\n startingYear = dateAdapter.getYear(minDate);\n }\n return startingYear;\n}\n/** Gets remainder that is non-negative, even if first number is negative */\nfunction euclideanModulo(a, b) {\n return ((a % b) + b) % b;\n}\n\n/**\n * An internal component used to display a single year in the datepicker.\n * @docs-private\n */\nclass MatYearView {\n /** The date to display in this year view (everything other than the year is ignored). */\n get activeDate() {\n return this._activeDate;\n }\n set activeDate(value) {\n let oldActiveDate = this._activeDate;\n const validDate = this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(value)) ||\n this._dateAdapter.today();\n this._activeDate = this._dateAdapter.clampDate(validDate, this.minDate, this.maxDate);\n if (this._dateAdapter.getYear(oldActiveDate) !== this._dateAdapter.getYear(this._activeDate)) {\n this._init();\n }\n }\n /** The currently selected date. */\n get selected() {\n return this._selected;\n }\n set selected(value) {\n if (value instanceof DateRange) {\n this._selected = value;\n }\n else {\n this._selected = this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(value));\n }\n this._setSelectedMonth(value);\n }\n /** The minimum selectable date. */\n get minDate() {\n return this._minDate;\n }\n set minDate(value) {\n this._minDate = this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(value));\n }\n /** The maximum selectable date. */\n get maxDate() {\n return this._maxDate;\n }\n set maxDate(value) {\n this._maxDate = this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(value));\n }\n constructor(_changeDetectorRef, _dateFormats, _dateAdapter, _dir) {\n this._changeDetectorRef = _changeDetectorRef;\n this._dateFormats = _dateFormats;\n this._dateAdapter = _dateAdapter;\n this._dir = _dir;\n this._rerenderSubscription = Subscription.EMPTY;\n /** Emits when a new month is selected. */\n this.selectedChange = new EventEmitter();\n /** Emits the selected month. This doesn't imply a change on the selected date */\n this.monthSelected = new EventEmitter();\n /** Emits when any date is activated. */\n this.activeDateChange = new EventEmitter();\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!this._dateAdapter) {\n throw createMissingDateImplError('DateAdapter');\n }\n if (!this._dateFormats) {\n throw createMissingDateImplError('MAT_DATE_FORMATS');\n }\n }\n this._activeDate = this._dateAdapter.today();\n }\n ngAfterContentInit() {\n this._rerenderSubscription = this._dateAdapter.localeChanges\n .pipe(startWith(null))\n .subscribe(() => this._init());\n }\n ngOnDestroy() {\n this._rerenderSubscription.unsubscribe();\n }\n /** Handles when a new month is selected. */\n _monthSelected(event) {\n const month = event.value;\n const selectedMonth = this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate), month, 1);\n this.monthSelected.emit(selectedMonth);\n const selectedDate = this._getDateFromMonth(month);\n this.selectedChange.emit(selectedDate);\n }\n /**\n * Takes the index of a calendar body cell wrapped in in an event as argument. For the date that\n * corresponds to the given cell, set `activeDate` to that date and fire `activeDateChange` with\n * that date.\n *\n * This function is used to match each component's model of the active date with the calendar\n * body cell that was focused. It updates its value of `activeDate` synchronously and updates the\n * parent's value asynchronously via the `activeDateChange` event. The child component receives an\n * updated value asynchronously via the `activeCell` Input.\n */\n _updateActiveDate(event) {\n const month = event.value;\n const oldActiveDate = this._activeDate;\n this.activeDate = this._getDateFromMonth(month);\n if (this._dateAdapter.compareDate(oldActiveDate, this.activeDate)) {\n this.activeDateChange.emit(this.activeDate);\n }\n }\n /** Handles keydown events on the calendar body when calendar is in year view. */\n _handleCalendarBodyKeydown(event) {\n // TODO(mmalerba): We currently allow keyboard navigation to disabled dates, but just prevent\n // disabled ones from being selected. This may not be ideal, we should look into whether\n // navigation should skip over disabled dates, and if so, how to implement that efficiently.\n const oldActiveDate = this._activeDate;\n const isRtl = this._isRtl();\n switch (event.keyCode) {\n case LEFT_ARROW:\n this.activeDate = this._dateAdapter.addCalendarMonths(this._activeDate, isRtl ? 1 : -1);\n break;\n case RIGHT_ARROW:\n this.activeDate = this._dateAdapter.addCalendarMonths(this._activeDate, isRtl ? -1 : 1);\n break;\n case UP_ARROW:\n this.activeDate = this._dateAdapter.addCalendarMonths(this._activeDate, -4);\n break;\n case DOWN_ARROW:\n this.activeDate = this._dateAdapter.addCalendarMonths(this._activeDate, 4);\n break;\n case HOME:\n this.activeDate = this._dateAdapter.addCalendarMonths(this._activeDate, -this._dateAdapter.getMonth(this._activeDate));\n break;\n case END:\n this.activeDate = this._dateAdapter.addCalendarMonths(this._activeDate, 11 - this._dateAdapter.getMonth(this._activeDate));\n break;\n case PAGE_UP:\n this.activeDate = this._dateAdapter.addCalendarYears(this._activeDate, event.altKey ? -10 : -1);\n break;\n case PAGE_DOWN:\n this.activeDate = this._dateAdapter.addCalendarYears(this._activeDate, event.altKey ? 10 : 1);\n break;\n case ENTER:\n case SPACE:\n // Note that we only prevent the default action here while the selection happens in\n // `keyup` below. We can't do the selection here, because it can cause the calendar to\n // reopen if focus is restored immediately. We also can't call `preventDefault` on `keyup`\n // because it's too late (see #23305).\n this._selectionKeyPressed = true;\n break;\n default:\n // Don't prevent default or focus active cell on keys that we don't explicitly handle.\n return;\n }\n if (this._dateAdapter.compareDate(oldActiveDate, this.activeDate)) {\n this.activeDateChange.emit(this.activeDate);\n this._focusActiveCellAfterViewChecked();\n }\n // Prevent unexpected default actions such as form submission.\n event.preventDefault();\n }\n /** Handles keyup events on the calendar body when calendar is in year view. */\n _handleCalendarBodyKeyup(event) {\n if (event.keyCode === SPACE || event.keyCode === ENTER) {\n if (this._selectionKeyPressed) {\n this._monthSelected({ value: this._dateAdapter.getMonth(this._activeDate), event });\n }\n this._selectionKeyPressed = false;\n }\n }\n /** Initializes this year view. */\n _init() {\n this._setSelectedMonth(this.selected);\n this._todayMonth = this._getMonthInCurrentYear(this._dateAdapter.today());\n this._yearLabel = this._dateAdapter.getYearName(this.activeDate);\n let monthNames = this._dateAdapter.getMonthNames('short');\n // First row of months only contains 5 elements so we can fit the year label on the same row.\n this._months = [\n [0, 1, 2, 3],\n [4, 5, 6, 7],\n [8, 9, 10, 11],\n ].map(row => row.map(month => this._createCellForMonth(month, monthNames[month])));\n this._changeDetectorRef.markForCheck();\n }\n /** Focuses the active cell after the microtask queue is empty. */\n _focusActiveCell() {\n this._matCalendarBody._focusActiveCell();\n }\n /** Schedules the matCalendarBody to focus the active cell after change detection has run */\n _focusActiveCellAfterViewChecked() {\n this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked();\n }\n /**\n * Gets the month in this year that the given Date falls on.\n * Returns null if the given Date is in another year.\n */\n _getMonthInCurrentYear(date) {\n return date && this._dateAdapter.getYear(date) == this._dateAdapter.getYear(this.activeDate)\n ? this._dateAdapter.getMonth(date)\n : null;\n }\n /**\n * Takes a month and returns a new date in the same day and year as the currently active date.\n * The returned date will have the same month as the argument date.\n */\n _getDateFromMonth(month) {\n const normalizedDate = this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate), month, 1);\n const daysInMonth = this._dateAdapter.getNumDaysInMonth(normalizedDate);\n return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate), month, Math.min(this._dateAdapter.getDate(this.activeDate), daysInMonth));\n }\n /** Creates an MatCalendarCell for the given month. */\n _createCellForMonth(month, monthName) {\n const date = this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate), month, 1);\n const ariaLabel = this._dateAdapter.format(date, this._dateFormats.display.monthYearA11yLabel);\n const cellClasses = this.dateClass ? this.dateClass(date, 'year') : undefined;\n return new MatCalendarCell(month, monthName.toLocaleUpperCase(), ariaLabel, this._shouldEnableMonth(month), cellClasses);\n }\n /** Whether the given month is enabled. */\n _shouldEnableMonth(month) {\n const activeYear = this._dateAdapter.getYear(this.activeDate);\n if (month === undefined ||\n month === null ||\n this._isYearAndMonthAfterMaxDate(activeYear, month) ||\n this._isYearAndMonthBeforeMinDate(activeYear, month)) {\n return false;\n }\n if (!this.dateFilter) {\n return true;\n }\n const firstOfMonth = this._dateAdapter.createDate(activeYear, month, 1);\n // If any date in the month is enabled count the month as enabled.\n for (let date = firstOfMonth; this._dateAdapter.getMonth(date) == month; date = this._dateAdapter.addCalendarDays(date, 1)) {\n if (this.dateFilter(date)) {\n return true;\n }\n }\n return false;\n }\n /**\n * Tests whether the combination month/year is after this.maxDate, considering\n * just the month and year of this.maxDate\n */\n _isYearAndMonthAfterMaxDate(year, month) {\n if (this.maxDate) {\n const maxYear = this._dateAdapter.getYear(this.maxDate);\n const maxMonth = this._dateAdapter.getMonth(this.maxDate);\n return year > maxYear || (year === maxYear && month > maxMonth);\n }\n return false;\n }\n /**\n * Tests whether the combination month/year is before this.minDate, considering\n * just the month and year of this.minDate\n */\n _isYearAndMonthBeforeMinDate(year, month) {\n if (this.minDate) {\n const minYear = this._dateAdapter.getYear(this.minDate);\n const minMonth = this._dateAdapter.getMonth(this.minDate);\n return year < minYear || (year === minYear && month < minMonth);\n }\n return false;\n }\n /** Determines whether the user has the RTL layout direction. */\n _isRtl() {\n return this._dir && this._dir.value === 'rtl';\n }\n /** Sets the currently-selected month based on a model value. */\n _setSelectedMonth(value) {\n if (value instanceof DateRange) {\n this._selectedMonth =\n this._getMonthInCurrentYear(value.start) || this._getMonthInCurrentYear(value.end);\n }\n else {\n this._selectedMonth = this._getMonthInCurrentYear(value);\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatYearView, deps: [{ token: i0.ChangeDetectorRef }, { token: MAT_DATE_FORMATS, optional: true }, { token: i1$1.DateAdapter, optional: true }, { token: i2.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatYearView, selector: \"mat-year-view\", inputs: { activeDate: \"activeDate\", selected: \"selected\", minDate: \"minDate\", maxDate: \"maxDate\", dateFilter: \"dateFilter\", dateClass: \"dateClass\" }, outputs: { selectedChange: \"selectedChange\", monthSelected: \"monthSelected\", activeDateChange: \"activeDateChange\" }, viewQueries: [{ propertyName: \"_matCalendarBody\", first: true, predicate: MatCalendarBody, descendants: true }], exportAs: [\"matYearView\"], ngImport: i0, template: \"<table class=\\\"mat-calendar-table\\\" role=\\\"grid\\\">\\n <thead aria-hidden=\\\"true\\\" class=\\\"mat-calendar-table-header\\\">\\n <tr><th class=\\\"mat-calendar-table-header-divider\\\" colspan=\\\"4\\\"></th></tr>\\n </thead>\\n <tbody mat-calendar-body\\n [label]=\\\"_yearLabel\\\"\\n [rows]=\\\"_months\\\"\\n [todayValue]=\\\"_todayMonth!\\\"\\n [startValue]=\\\"_selectedMonth!\\\"\\n [endValue]=\\\"_selectedMonth!\\\"\\n [labelMinRequiredCells]=\\\"2\\\"\\n [numCols]=\\\"4\\\"\\n [cellAspectRatio]=\\\"4 / 7\\\"\\n [activeCell]=\\\"_dateAdapter.getMonth(activeDate)\\\"\\n (selectedValueChange)=\\\"_monthSelected($event)\\\"\\n (activeDateChange)=\\\"_updateActiveDate($event)\\\"\\n (keyup)=\\\"_handleCalendarBodyKeyup($event)\\\"\\n (keydown)=\\\"_handleCalendarBodyKeydown($event)\\\">\\n </tbody>\\n</table>\\n\", dependencies: [{ kind: \"component\", type: MatCalendarBody, selector: \"[mat-calendar-body]\", inputs: [\"label\", \"rows\", \"todayValue\", \"startValue\", \"endValue\", \"labelMinRequiredCells\", \"numCols\", \"activeCell\", \"isRange\", \"cellAspectRatio\", \"comparisonStart\", \"comparisonEnd\", \"previewStart\", \"previewEnd\", \"startDateAccessibleName\", \"endDateAccessibleName\"], outputs: [\"selectedValueChange\", \"previewChange\", \"activeDateChange\", \"dragStarted\", \"dragEnded\"], exportAs: [\"matCalendarBody\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatYearView, decorators: [{\n type: Component,\n args: [{ selector: 'mat-year-view', exportAs: 'matYearView', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: \"<table class=\\\"mat-calendar-table\\\" role=\\\"grid\\\">\\n <thead aria-hidden=\\\"true\\\" class=\\\"mat-calendar-table-header\\\">\\n <tr><th class=\\\"mat-calendar-table-header-divider\\\" colspan=\\\"4\\\"></th></tr>\\n </thead>\\n <tbody mat-calendar-body\\n [label]=\\\"_yearLabel\\\"\\n [rows]=\\\"_months\\\"\\n [todayValue]=\\\"_todayMonth!\\\"\\n [startValue]=\\\"_selectedMonth!\\\"\\n [endValue]=\\\"_selectedMonth!\\\"\\n [labelMinRequiredCells]=\\\"2\\\"\\n [numCols]=\\\"4\\\"\\n [cellAspectRatio]=\\\"4 / 7\\\"\\n [activeCell]=\\\"_dateAdapter.getMonth(activeDate)\\\"\\n (selectedValueChange)=\\\"_monthSelected($event)\\\"\\n (activeDateChange)=\\\"_updateActiveDate($event)\\\"\\n (keyup)=\\\"_handleCalendarBodyKeyup($event)\\\"\\n (keydown)=\\\"_handleCalendarBodyKeydown($event)\\\">\\n </tbody>\\n</table>\\n\" }]\n }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_DATE_FORMATS]\n }] }, { type: i1$1.DateAdapter, decorators: [{\n type: Optional\n }] }, { type: i2.Directionality, decorators: [{\n type: Optional\n }] }]; }, propDecorators: { activeDate: [{\n type: Input\n }], selected: [{\n type: Input\n }], minDate: [{\n type: Input\n }], maxDate: [{\n type: Input\n }], dateFilter: [{\n type: Input\n }], dateClass: [{\n type: Input\n }], selectedChange: [{\n type: Output\n }], monthSelected: [{\n type: Output\n }], activeDateChange: [{\n type: Output\n }], _matCalendarBody: [{\n type: ViewChild,\n args: [MatCalendarBody]\n }] } });\n\nlet calendarHeaderId = 1;\n/** Default header for MatCalendar */\nclass MatCalendarHeader {\n constructor(_intl, calendar, _dateAdapter, _dateFormats, changeDetectorRef) {\n this._intl = _intl;\n this.calendar = calendar;\n this._dateAdapter = _dateAdapter;\n this._dateFormats = _dateFormats;\n this._id = `mat-calendar-header-${calendarHeaderId++}`;\n this._periodButtonLabelId = `${this._id}-period-label`;\n this.calendar.stateChanges.subscribe(() => changeDetectorRef.markForCheck());\n }\n /** The display text for the current calendar view. */\n get periodButtonText() {\n if (this.calendar.currentView == 'month') {\n return this._dateAdapter\n .format(this.calendar.activeDate, this._dateFormats.display.monthYearLabel)\n .toLocaleUpperCase();\n }\n if (this.calendar.currentView == 'year') {\n return this._dateAdapter.getYearName(this.calendar.activeDate);\n }\n return this._intl.formatYearRange(...this._formatMinAndMaxYearLabels());\n }\n /** The aria description for the current calendar view. */\n get periodButtonDescription() {\n if (this.calendar.currentView == 'month') {\n return this._dateAdapter\n .format(this.calendar.activeDate, this._dateFormats.display.monthYearLabel)\n .toLocaleUpperCase();\n }\n if (this.calendar.currentView == 'year') {\n return this._dateAdapter.getYearName(this.calendar.activeDate);\n }\n // Format a label for the window of years displayed in the multi-year calendar view. Use\n // `formatYearRangeLabel` because it is TTS friendly.\n return this._intl.formatYearRangeLabel(...this._formatMinAndMaxYearLabels());\n }\n /** The `aria-label` for changing the calendar view. */\n get periodButtonLabel() {\n return this.calendar.currentView == 'month'\n ? this._intl.switchToMultiYearViewLabel\n : this._intl.switchToMonthViewLabel;\n }\n /** The label for the previous button. */\n get prevButtonLabel() {\n return {\n 'month': this._intl.prevMonthLabel,\n 'year': this._intl.prevYearLabel,\n 'multi-year': this._intl.prevMultiYearLabel,\n }[this.calendar.currentView];\n }\n /** The label for the next button. */\n get nextButtonLabel() {\n return {\n 'month': this._intl.nextMonthLabel,\n 'year': this._intl.nextYearLabel,\n 'multi-year': this._intl.nextMultiYearLabel,\n }[this.calendar.currentView];\n }\n /** Handles user clicks on the period label. */\n currentPeriodClicked() {\n this.calendar.currentView = this.calendar.currentView == 'month' ? 'multi-year' : 'month';\n }\n /** Handles user clicks on the previous button. */\n previousClicked() {\n this.calendar.activeDate =\n this.calendar.currentView == 'month'\n ? this._dateAdapter.addCalendarMonths(this.calendar.activeDate, -1)\n : this._dateAdapter.addCalendarYears(this.calendar.activeDate, this.calendar.currentView == 'year' ? -1 : -yearsPerPage);\n }\n /** Handles user clicks on the next button. */\n nextClicked() {\n this.calendar.activeDate =\n this.calendar.currentView == 'month'\n ? this._dateAdapter.addCalendarMonths(this.calendar.activeDate, 1)\n : this._dateAdapter.addCalendarYears(this.calendar.activeDate, this.calendar.currentView == 'year' ? 1 : yearsPerPage);\n }\n /** Whether the previous period button is enabled. */\n previousEnabled() {\n if (!this.calendar.minDate) {\n return true;\n }\n return (!this.calendar.minDate || !this._isSameView(this.calendar.activeDate, this.calendar.minDate));\n }\n /** Whether the next period button is enabled. */\n nextEnabled() {\n return (!this.calendar.maxDate || !this._isSameView(this.calendar.activeDate, this.calendar.maxDate));\n }\n /** Whether the two dates represent the same view in the current view mode (month or year). */\n _isSameView(date1, date2) {\n if (this.calendar.currentView == 'month') {\n return (this._dateAdapter.getYear(date1) == this._dateAdapter.getYear(date2) &&\n this._dateAdapter.getMonth(date1) == this._dateAdapter.getMonth(date2));\n }\n if (this.calendar.currentView == 'year') {\n return this._dateAdapter.getYear(date1) == this._dateAdapter.getYear(date2);\n }\n // Otherwise we are in 'multi-year' view.\n return isSameMultiYearView(this._dateAdapter, date1, date2, this.calendar.minDate, this.calendar.maxDate);\n }\n /**\n * Format two individual labels for the minimum year and maximum year available in the multi-year\n * calendar view. Returns an array of two strings where the first string is the formatted label\n * for the minimum year, and the second string is the formatted label for the maximum year.\n */\n _formatMinAndMaxYearLabels() {\n // The offset from the active year to the \"slot\" for the starting year is the\n // *actual* first rendered year in the multi-year view, and the last year is\n // just yearsPerPage - 1 away.\n const activeYear = this._dateAdapter.getYear(this.calendar.activeDate);\n const minYearOfPage = activeYear -\n getActiveOffset(this._dateAdapter, this.calendar.activeDate, this.calendar.minDate, this.calendar.maxDate);\n const maxYearOfPage = minYearOfPage + yearsPerPage - 1;\n const minYearLabel = this._dateAdapter.getYearName(this._dateAdapter.createDate(minYearOfPage, 0, 1));\n const maxYearLabel = this._dateAdapter.getYearName(this._dateAdapter.createDate(maxYearOfPage, 0, 1));\n return [minYearLabel, maxYearLabel];\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatCalendarHeader, deps: [{ token: MatDatepickerIntl }, { token: forwardRef(() => MatCalendar) }, { token: i1$1.DateAdapter, optional: true }, { token: MAT_DATE_FORMATS, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatCalendarHeader, selector: \"mat-calendar-header\", exportAs: [\"matCalendarHeader\"], ngImport: i0, template: \"<div class=\\\"mat-calendar-header\\\">\\n <div class=\\\"mat-calendar-controls\\\">\\n <button mat-button type=\\\"button\\\" class=\\\"mat-calendar-period-button\\\"\\n (click)=\\\"currentPeriodClicked()\\\" [attr.aria-label]=\\\"periodButtonLabel\\\"\\n [attr.aria-describedby]=\\\"_periodButtonLabelId\\\" aria-live=\\\"polite\\\">\\n <span aria-hidden=\\\"true\\\">{{periodButtonText}}</span>\\n <svg class=\\\"mat-calendar-arrow\\\" [class.mat-calendar-invert]=\\\"calendar.currentView !== 'month'\\\"\\n viewBox=\\\"0 0 10 5\\\" focusable=\\\"false\\\" aria-hidden=\\\"true\\\">\\n <polygon points=\\\"0,0 5,5 10,0\\\"/>\\n </svg>\\n </button>\\n\\n <div class=\\\"mat-calendar-spacer\\\"></div>\\n\\n <ng-content></ng-content>\\n\\n <button mat-icon-button type=\\\"button\\\" class=\\\"mat-calendar-previous-button\\\"\\n [disabled]=\\\"!previousEnabled()\\\" (click)=\\\"previousClicked()\\\"\\n [attr.aria-label]=\\\"prevButtonLabel\\\">\\n </button>\\n\\n <button mat-icon-button type=\\\"button\\\" class=\\\"mat-calendar-next-button\\\"\\n [disabled]=\\\"!nextEnabled()\\\" (click)=\\\"nextClicked()\\\"\\n [attr.aria-label]=\\\"nextButtonLabel\\\">\\n </button>\\n </div>\\n</div>\\n<label [id]=\\\"_periodButtonLabelId\\\" class=\\\"mat-calendar-hidden-label\\\">{{periodButtonDescription}}</label>\\n\", dependencies: [{ kind: \"component\", type: i3.MatButton, selector: \" button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] \", inputs: [\"disabled\", \"disableRipple\", \"color\"], exportAs: [\"matButton\"] }, { kind: \"component\", type: i3.MatIconButton, selector: \"button[mat-icon-button]\", inputs: [\"disabled\", \"disableRipple\", \"color\"], exportAs: [\"matButton\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatCalendarHeader, decorators: [{\n type: Component,\n args: [{ selector: 'mat-calendar-header', exportAs: 'matCalendarHeader', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: \"<div class=\\\"mat-calendar-header\\\">\\n <div class=\\\"mat-calendar-controls\\\">\\n <button mat-button type=\\\"button\\\" class=\\\"mat-calendar-period-button\\\"\\n (click)=\\\"currentPeriodClicked()\\\" [attr.aria-label]=\\\"periodButtonLabel\\\"\\n [attr.aria-describedby]=\\\"_periodButtonLabelId\\\" aria-live=\\\"polite\\\">\\n <span aria-hidden=\\\"true\\\">{{periodButtonText}}</span>\\n <svg class=\\\"mat-calendar-arrow\\\" [class.mat-calendar-invert]=\\\"calendar.currentView !== 'month'\\\"\\n viewBox=\\\"0 0 10 5\\\" focusable=\\\"false\\\" aria-hidden=\\\"true\\\">\\n <polygon points=\\\"0,0 5,5 10,0\\\"/>\\n </svg>\\n </button>\\n\\n <div class=\\\"mat-calendar-spacer\\\"></div>\\n\\n <ng-content></ng-content>\\n\\n <button mat-icon-button type=\\\"button\\\" class=\\\"mat-calendar-previous-button\\\"\\n [disabled]=\\\"!previousEnabled()\\\" (click)=\\\"previousClicked()\\\"\\n [attr.aria-label]=\\\"prevButtonLabel\\\">\\n </button>\\n\\n <button mat-icon-button type=\\\"button\\\" class=\\\"mat-calendar-next-button\\\"\\n [disabled]=\\\"!nextEnabled()\\\" (click)=\\\"nextClicked()\\\"\\n [attr.aria-label]=\\\"nextButtonLabel\\\">\\n </button>\\n </div>\\n</div>\\n<label [id]=\\\"_periodButtonLabelId\\\" class=\\\"mat-calendar-hidden-label\\\">{{periodButtonDescription}}</label>\\n\" }]\n }], ctorParameters: function () { return [{ type: MatDatepickerIntl }, { type: MatCalendar, decorators: [{\n type: Inject,\n args: [forwardRef(() => MatCalendar)]\n }] }, { type: i1$1.DateAdapter, decorators: [{\n type: Optional\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_DATE_FORMATS]\n }] }, { type: i0.ChangeDetectorRef }]; } });\n/** A calendar that is used as part of the datepicker. */\nclass MatCalendar {\n /** A date representing the period (month or year) to start the calendar in. */\n get startAt() {\n return this._startAt;\n }\n set startAt(value) {\n this._startAt = this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(value));\n }\n /** The currently selected date. */\n get selected() {\n return this._selected;\n }\n set selected(value) {\n if (value instanceof DateRange) {\n this._selected = value;\n }\n else {\n this._selected = this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(value));\n }\n }\n /** The minimum selectable date. */\n get minDate() {\n return this._minDate;\n }\n set minDate(value) {\n this._minDate = this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(value));\n }\n /** The maximum selectable date. */\n get maxDate() {\n return this._maxDate;\n }\n set maxDate(value) {\n this._maxDate = this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(value));\n }\n /**\n * The current active date. This determines which time period is shown and which date is\n * highlighted when using keyboard navigation.\n */\n get activeDate() {\n return this._clampedActiveDate;\n }\n set activeDate(value) {\n this._clampedActiveDate = this._dateAdapter.clampDate(value, this.minDate, this.maxDate);\n this.stateChanges.next();\n this._changeDetectorRef.markForCheck();\n }\n /** Whether the calendar is in month view. */\n get currentView() {\n return this._currentView;\n }\n set currentView(value) {\n const viewChangedResult = this._currentView !== value ? value : null;\n this._currentView = value;\n this._moveFocusOnNextTick = true;\n this._changeDetectorRef.markForCheck();\n if (viewChangedResult) {\n this.viewChanged.emit(viewChangedResult);\n }\n }\n constructor(_intl, _dateAdapter, _dateFormats, _changeDetectorRef) {\n this._dateAdapter = _dateAdapter;\n this._dateFormats = _dateFormats;\n this._changeDetectorRef = _changeDetectorRef;\n /**\n * Used for scheduling that focus should be moved to the active cell on the next tick.\n * We need to schedule it, rather than do it immediately, because we have to wait\n * for Angular to re-evaluate the view children.\n */\n this._moveFocusOnNextTick = false;\n /** Whether the calendar should be started in month or year view. */\n this.startView = 'month';\n /** Emits when the currently selected date changes. */\n this.selectedChange = new EventEmitter();\n /**\n * Emits the year chosen in multiyear view.\n * This doesn't imply a change on the selected date.\n */\n this.yearSelected = new EventEmitter();\n /**\n * Emits the month chosen in year view.\n * This doesn't imply a change on the selected date.\n */\n this.monthSelected = new EventEmitter();\n /**\n * Emits when the current view changes.\n */\n this.viewChanged = new EventEmitter(true);\n /** Emits when any date is selected. */\n this._userSelection = new EventEmitter();\n /** Emits a new date range value when the user completes a drag drop operation. */\n this._userDragDrop = new EventEmitter();\n /** Origin of active drag, or null when dragging is not active. */\n this._activeDrag = null;\n /**\n * Emits whenever there is a state change that the header may need to respond to.\n */\n this.stateChanges = new Subject();\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!this._dateAdapter) {\n throw createMissingDateImplError('DateAdapter');\n }\n if (!this._dateFormats) {\n throw createMissingDateImplError('MAT_DATE_FORMATS');\n }\n }\n this._intlChanges = _intl.changes.subscribe(() => {\n _changeDetectorRef.markForCheck();\n this.stateChanges.next();\n });\n }\n ngAfterContentInit() {\n this._calendarHeaderPortal = new ComponentPortal(this.headerComponent || MatCalendarHeader);\n this.activeDate = this.startAt || this._dateAdapter.today();\n // Assign to the private property since we don't want to move focus on init.\n this._currentView = this.startView;\n }\n ngAfterViewChecked() {\n if (this._moveFocusOnNextTick) {\n this._moveFocusOnNextTick = false;\n this.focusActiveCell();\n }\n }\n ngOnDestroy() {\n this._intlChanges.unsubscribe();\n this.stateChanges.complete();\n }\n ngOnChanges(changes) {\n // Ignore date changes that are at a different time on the same day. This fixes issues where\n // the calendar re-renders when there is no meaningful change to [minDate] or [maxDate]\n // (#24435).\n const minDateChange = changes['minDate'] &&\n !this._dateAdapter.sameDate(changes['minDate'].previousValue, changes['minDate'].currentValue)\n ? changes['minDate']\n : undefined;\n const maxDateChange = changes['maxDate'] &&\n !this._dateAdapter.sameDate(changes['maxDate'].previousValue, changes['maxDate'].currentValue)\n ? changes['maxDate']\n : undefined;\n const change = minDateChange || maxDateChange || changes['dateFilter'];\n if (change && !change.firstChange) {\n const view = this._getCurrentViewComponent();\n if (view) {\n // We need to `detectChanges` manually here, because the `minDate`, `maxDate` etc. are\n // passed down to the view via data bindings which won't be up-to-date when we call `_init`.\n this._changeDetectorRef.detectChanges();\n view._init();\n }\n }\n this.stateChanges.next();\n }\n /** Focuses the active date. */\n focusActiveCell() {\n this._getCurrentViewComponent()._focusActiveCell(false);\n }\n /** Updates today's date after an update of the active date */\n updateTodaysDate() {\n this._getCurrentViewComponent()._init();\n }\n /** Handles date selection in the month view. */\n _dateSelected(event) {\n const date = event.value;\n if (this.selected instanceof DateRange ||\n (date && !this._dateAdapter.sameDate(date, this.selected))) {\n this.selectedChange.emit(date);\n }\n this._userSelection.emit(event);\n }\n /** Handles year selection in the multiyear view. */\n _yearSelectedInMultiYearView(normalizedYear) {\n this.yearSelected.emit(normalizedYear);\n }\n /** Handles month selection in the year view. */\n _monthSelectedInYearView(normalizedMonth) {\n this.monthSelected.emit(normalizedMonth);\n }\n /** Handles year/month selection in the multi-year/year views. */\n _goToDateInView(date, view) {\n this.activeDate = date;\n this.currentView = view;\n }\n /** Called when the user starts dragging to change a date range. */\n _dragStarted(event) {\n this._activeDrag = event;\n }\n /**\n * Called when a drag completes. It may end in cancelation or in the selection\n * of a new range.\n */\n _dragEnded(event) {\n if (!this._activeDrag)\n return;\n if (event.value) {\n this._userDragDrop.emit(event);\n }\n this._activeDrag = null;\n }\n /** Returns the component instance that corresponds to the current calendar view. */\n _getCurrentViewComponent() {\n // The return type is explicitly written as a union to ensure that the Closure compiler does\n // not optimize calls to _init(). Without the explicit return type, TypeScript narrows it to\n // only the first component type. See https://github.com/angular/components/issues/22996.\n return this.monthView || this.yearView || this.multiYearView;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatCalendar, deps: [{ token: MatDatepickerIntl }, { token: i1$1.DateAdapter, optional: true }, { token: MAT_DATE_FORMATS, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatCalendar, selector: \"mat-calendar\", inputs: { headerComponent: \"headerComponent\", startAt: \"startAt\", startView: \"startView\", selected: \"selected\", minDate: \"minDate\", maxDate: \"maxDate\", dateFilter: \"dateFilter\", dateClass: \"dateClass\", comparisonStart: \"comparisonStart\", comparisonEnd: \"comparisonEnd\", startDateAccessibleName: \"startDateAccessibleName\", endDateAccessibleName: \"endDateAccessibleName\" }, outputs: { selectedChange: \"selectedChange\", yearSelected: \"yearSelected\", monthSelected: \"monthSelected\", viewChanged: \"viewChanged\", _userSelection: \"_userSelection\", _userDragDrop: \"_userDragDrop\" }, host: { classAttribute: \"mat-calendar\" }, providers: [MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER], viewQueries: [{ propertyName: \"monthView\", first: true, predicate: MatMonthView, descendants: true }, { propertyName: \"yearView\", first: true, predicate: MatYearView, descendants: true }, { propertyName: \"multiYearView\", first: true, predicate: MatMultiYearView, descendants: true }], exportAs: [\"matCalendar\"], usesOnChanges: true, ngImport: i0, template: \"<ng-template [cdkPortalOutlet]=\\\"_calendarHeaderPortal\\\"></ng-template>\\n\\n<div class=\\\"mat-calendar-content\\\" [ngSwitch]=\\\"currentView\\\" cdkMonitorSubtreeFocus tabindex=\\\"-1\\\">\\n <mat-month-view\\n *ngSwitchCase=\\\"'month'\\\"\\n [(activeDate)]=\\\"activeDate\\\"\\n [selected]=\\\"selected\\\"\\n [dateFilter]=\\\"dateFilter\\\"\\n [maxDate]=\\\"maxDate\\\"\\n [minDate]=\\\"minDate\\\"\\n [dateClass]=\\\"dateClass\\\"\\n [comparisonStart]=\\\"comparisonStart\\\"\\n [comparisonEnd]=\\\"comparisonEnd\\\"\\n [startDateAccessibleName]=\\\"startDateAccessibleName\\\"\\n [endDateAccessibleName]=\\\"endDateAccessibleName\\\"\\n (_userSelection)=\\\"_dateSelected($event)\\\"\\n (dragStarted)=\\\"_dragStarted($event)\\\"\\n (dragEnded)=\\\"_dragEnded($event)\\\"\\n [activeDrag]=\\\"_activeDrag\\\"\\n >\\n </mat-month-view>\\n\\n <mat-year-view\\n *ngSwitchCase=\\\"'year'\\\"\\n [(activeDate)]=\\\"activeDate\\\"\\n [selected]=\\\"selected\\\"\\n [dateFilter]=\\\"dateFilter\\\"\\n [maxDate]=\\\"maxDate\\\"\\n [minDate]=\\\"minDate\\\"\\n [dateClass]=\\\"dateClass\\\"\\n (monthSelected)=\\\"_monthSelectedInYearView($event)\\\"\\n (selectedChange)=\\\"_goToDateInView($event, 'month')\\\">\\n </mat-year-view>\\n\\n <mat-multi-year-view\\n *ngSwitchCase=\\\"'multi-year'\\\"\\n [(activeDate)]=\\\"activeDate\\\"\\n [selected]=\\\"selected\\\"\\n [dateFilter]=\\\"dateFilter\\\"\\n [maxDate]=\\\"maxDate\\\"\\n [minDate]=\\\"minDate\\\"\\n [dateClass]=\\\"dateClass\\\"\\n (yearSelected)=\\\"_yearSelectedInMultiYearView($event)\\\"\\n (selectedChange)=\\\"_goToDateInView($event, 'year')\\\">\\n </mat-multi-year-view>\\n</div>\\n\", styles: [\".mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:\\\"\\\";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:\\\"\\\";position:absolute;top:0;left:-8px;right:-8px;height:1px}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:\\\"\\\"}.mat-calendar-hidden-label{display:none}\"], dependencies: [{ kind: \"directive\", type: i1.NgSwitch, selector: \"[ngSwitch]\", inputs: [\"ngSwitch\"] }, { kind: \"directive\", type: i1.NgSwitchCase, selector: \"[ngSwitchCase]\", inputs: [\"ngSwitchCase\"] }, { kind: \"directive\", type: i5.CdkMonitorFocus, selector: \"[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]\", outputs: [\"cdkFocusChange\"], exportAs: [\"cdkMonitorFocus\"] }, { kind: \"directive\", type: i6.CdkPortalOutlet, selector: \"[cdkPortalOutlet]\", inputs: [\"cdkPortalOutlet\"], outputs: [\"attached\"], exportAs: [\"cdkPortalOutlet\"] }, { kind: \"component\", type: MatMonthView, selector: \"mat-month-view\", inputs: [\"activeDate\", \"selected\", \"minDate\", \"maxDate\", \"dateFilter\", \"dateClass\", \"comparisonStart\", \"comparisonEnd\", \"startDateAccessibleName\", \"endDateAccessibleName\", \"activeDrag\"], outputs: [\"selectedChange\", \"_userSelection\", \"dragStarted\", \"dragEnded\", \"activeDateChange\"], exportAs: [\"matMonthView\"] }, { kind: \"component\", type: MatYearView, selector: \"mat-year-view\", inputs: [\"activeDate\", \"selected\", \"minDate\", \"maxDate\", \"dateFilter\", \"dateClass\"], outputs: [\"selectedChange\", \"monthSelected\", \"activeDateChange\"], exportAs: [\"matYearView\"] }, { kind: \"component\", type: MatMultiYearView, selector: \"mat-multi-year-view\", inputs: [\"activeDate\", \"selected\", \"minDate\", \"maxDate\", \"dateFilter\", \"dateClass\"], outputs: [\"selectedChange\", \"yearSelected\", \"activeDateChange\"], exportAs: [\"matMultiYearView\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatCalendar, decorators: [{\n type: Component,\n args: [{ selector: 'mat-calendar', host: {\n 'class': 'mat-calendar',\n }, exportAs: 'matCalendar', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER], template: \"<ng-template [cdkPortalOutlet]=\\\"_calendarHeaderPortal\\\"></ng-template>\\n\\n<div class=\\\"mat-calendar-content\\\" [ngSwitch]=\\\"currentView\\\" cdkMonitorSubtreeFocus tabindex=\\\"-1\\\">\\n <mat-month-view\\n *ngSwitchCase=\\\"'month'\\\"\\n [(activeDate)]=\\\"activeDate\\\"\\n [selected]=\\\"selected\\\"\\n [dateFilter]=\\\"dateFilter\\\"\\n [maxDate]=\\\"maxDate\\\"\\n [minDate]=\\\"minDate\\\"\\n [dateClass]=\\\"dateClass\\\"\\n [comparisonStart]=\\\"comparisonStart\\\"\\n [comparisonEnd]=\\\"comparisonEnd\\\"\\n [startDateAccessibleName]=\\\"startDateAccessibleName\\\"\\n [endDateAccessibleName]=\\\"endDateAccessibleName\\\"\\n (_userSelection)=\\\"_dateSelected($event)\\\"\\n (dragStarted)=\\\"_dragStarted($event)\\\"\\n (dragEnded)=\\\"_dragEnded($event)\\\"\\n [activeDrag]=\\\"_activeDrag\\\"\\n >\\n </mat-month-view>\\n\\n <mat-year-view\\n *ngSwitchCase=\\\"'year'\\\"\\n [(activeDate)]=\\\"activeDate\\\"\\n [selected]=\\\"selected\\\"\\n [dateFilter]=\\\"dateFilter\\\"\\n [maxDate]=\\\"maxDate\\\"\\n [minDate]=\\\"minDate\\\"\\n [dateClass]=\\\"dateClass\\\"\\n (monthSelected)=\\\"_monthSelectedInYearView($event)\\\"\\n (selectedChange)=\\\"_goToDateInView($event, 'month')\\\">\\n </mat-year-view>\\n\\n <mat-multi-year-view\\n *ngSwitchCase=\\\"'multi-year'\\\"\\n [(activeDate)]=\\\"activeDate\\\"\\n [selected]=\\\"selected\\\"\\n [dateFilter]=\\\"dateFilter\\\"\\n [maxDate]=\\\"maxDate\\\"\\n [minDate]=\\\"minDate\\\"\\n [dateClass]=\\\"dateClass\\\"\\n (yearSelected)=\\\"_yearSelectedInMultiYearView($event)\\\"\\n (selectedChange)=\\\"_goToDateInView($event, 'year')\\\">\\n </mat-multi-year-view>\\n</div>\\n\", styles: [\".mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:\\\"\\\";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:\\\"\\\";position:absolute;top:0;left:-8px;right:-8px;height:1px}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:\\\"\\\"}.mat-calendar-hidden-label{display:none}\"] }]\n }], ctorParameters: function () { return [{ type: MatDatepickerIntl }, { type: i1$1.DateAdapter, decorators: [{\n type: Optional\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_DATE_FORMATS]\n }] }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { headerComponent: [{\n type: Input\n }], startAt: [{\n type: Input\n }], startView: [{\n type: Input\n }], selected: [{\n type: Input\n }], minDate: [{\n type: Input\n }], maxDate: [{\n type: Input\n }], dateFilter: [{\n type: Input\n }], dateClass: [{\n type: Input\n }], comparisonStart: [{\n type: Input\n }], comparisonEnd: [{\n type: Input\n }], startDateAccessibleName: [{\n type: Input\n }], endDateAccessibleName: [{\n type: Input\n }], selectedChange: [{\n type: Output\n }], yearSelected: [{\n type: Output\n }], monthSelected: [{\n type: Output\n }], viewChanged: [{\n type: Output\n }], _userSelection: [{\n type: Output\n }], _userDragDrop: [{\n type: Output\n }], monthView: [{\n type: ViewChild,\n args: [MatMonthView]\n }], yearView: [{\n type: ViewChild,\n args: [MatYearView]\n }], multiYearView: [{\n type: ViewChild,\n args: [MatMultiYearView]\n }] } });\n\n/**\n * Animations used by the Material datepicker.\n * @docs-private\n */\nconst matDatepickerAnimations = {\n /** Transforms the height of the datepicker's calendar. */\n transformPanel: trigger('transformPanel', [\n transition('void => enter-dropdown', animate('120ms cubic-bezier(0, 0, 0.2, 1)', keyframes([\n style({ opacity: 0, transform: 'scale(1, 0.8)' }),\n style({ opacity: 1, transform: 'scale(1, 1)' }),\n ]))),\n transition('void => enter-dialog', animate('150ms cubic-bezier(0, 0, 0.2, 1)', keyframes([\n style({ opacity: 0, transform: 'scale(0.7)' }),\n style({ transform: 'none', opacity: 1 }),\n ]))),\n transition('* => void', animate('100ms linear', style({ opacity: 0 }))),\n ]),\n /** Fades in the content of the calendar. */\n fadeInCalendar: trigger('fadeInCalendar', [\n state('void', style({ opacity: 0 })),\n state('enter', style({ opacity: 1 })),\n // TODO(crisbeto): this animation should be removed since it isn't quite on spec, but we\n // need to keep it until #12440 gets in, otherwise the exit animation will look glitchy.\n transition('void => *', animate('120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)')),\n ]),\n};\n\n/** Used to generate a unique ID for each datepicker instance. */\nlet datepickerUid = 0;\n/** Injection token that determines the scroll handling while the calendar is open. */\nconst MAT_DATEPICKER_SCROLL_STRATEGY = new InjectionToken('mat-datepicker-scroll-strategy');\n/** @docs-private */\nfunction MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY(overlay) {\n return () => overlay.scrollStrategies.reposition();\n}\n/** @docs-private */\nconst MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER = {\n provide: MAT_DATEPICKER_SCROLL_STRATEGY,\n deps: [Overlay],\n useFactory: MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY,\n};\n// Boilerplate for applying mixins to MatDatepickerContent.\n/** @docs-private */\nconst _MatDatepickerContentBase = mixinColor(class {\n constructor(_elementRef) {\n this._elementRef = _elementRef;\n }\n});\n/**\n * Component used as the content for the datepicker overlay. We use this instead of using\n * MatCalendar directly as the content so we can control the initial focus. This also gives us a\n * place to put additional features of the overlay that are not part of the calendar itself in the\n * future. (e.g. confirmation buttons).\n * @docs-private\n */\nclass MatDatepickerContent extends _MatDatepickerContentBase {\n constructor(elementRef, _changeDetectorRef, _globalModel, _dateAdapter, _rangeSelectionStrategy, intl) {\n super(elementRef);\n this._changeDetectorRef = _changeDetectorRef;\n this._globalModel = _globalModel;\n this._dateAdapter = _dateAdapter;\n this._rangeSelectionStrategy = _rangeSelectionStrategy;\n this._subscriptions = new Subscription();\n /** Emits when an animation has finished. */\n this._animationDone = new Subject();\n /** Whether there is an in-progress animation. */\n this._isAnimating = false;\n /** Portal with projected action buttons. */\n this._actionsPortal = null;\n this._closeButtonText = intl.closeCalendarLabel;\n }\n ngOnInit() {\n this._animationState = this.datepicker.touchUi ? 'enter-dialog' : 'enter-dropdown';\n }\n ngAfterViewInit() {\n this._subscriptions.add(this.datepicker.stateChanges.subscribe(() => {\n this._changeDetectorRef.markForCheck();\n }));\n this._calendar.focusActiveCell();\n }\n ngOnDestroy() {\n this._subscriptions.unsubscribe();\n this._animationDone.complete();\n }\n _handleUserSelection(event) {\n const selection = this._model.selection;\n const value = event.value;\n const isRange = selection instanceof DateRange;\n // If we're selecting a range and we have a selection strategy, always pass the value through\n // there. Otherwise don't assign null values to the model, unless we're selecting a range.\n // A null value when picking a range means that the user cancelled the selection (e.g. by\n // pressing escape), whereas when selecting a single value it means that the value didn't\n // change. This isn't very intuitive, but it's here for backwards-compatibility.\n if (isRange && this._rangeSelectionStrategy) {\n const newSelection = this._rangeSelectionStrategy.selectionFinished(value, selection, event.event);\n this._model.updateSelection(newSelection, this);\n }\n else if (value &&\n (isRange || !this._dateAdapter.sameDate(value, selection))) {\n this._model.add(value);\n }\n // Delegate closing the overlay to the actions.\n if ((!this._model || this._model.isComplete()) && !this._actionsPortal) {\n this.datepicker.close();\n }\n }\n _handleUserDragDrop(event) {\n this._model.updateSelection(event.value, this);\n }\n _startExitAnimation() {\n this._animationState = 'void';\n this._changeDetectorRef.markForCheck();\n }\n _handleAnimationEvent(event) {\n this._isAnimating = event.phaseName === 'start';\n if (!this._isAnimating) {\n this._animationDone.next();\n }\n }\n _getSelected() {\n return this._model.selection;\n }\n /** Applies the current pending selection to the global model. */\n _applyPendingSelection() {\n if (this._model !== this._globalModel) {\n this._globalModel.updateSelection(this._model.selection, this);\n }\n }\n /**\n * Assigns a new portal containing the datepicker actions.\n * @param portal Portal with the actions to be assigned.\n * @param forceRerender Whether a re-render of the portal should be triggered. This isn't\n * necessary if the portal is assigned during initialization, but it may be required if it's\n * added at a later point.\n */\n _assignActions(portal, forceRerender) {\n // If we have actions, clone the model so that we have the ability to cancel the selection,\n // otherwise update the global model directly. Note that we want to assign this as soon as\n // possible, but `_actionsPortal` isn't available in the constructor so we do it in `ngOnInit`.\n this._model = portal ? this._globalModel.clone() : this._globalModel;\n this._actionsPortal = portal;\n if (forceRerender) {\n this._changeDetectorRef.detectChanges();\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDatepickerContent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: MatDateSelectionModel }, { token: i1$1.DateAdapter }, { token: MAT_DATE_RANGE_SELECTION_STRATEGY, optional: true }, { token: MatDatepickerIntl }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatDatepickerContent, selector: \"mat-datepicker-content\", inputs: { color: \"color\" }, host: { listeners: { \"@transformPanel.start\": \"_handleAnimationEvent($event)\", \"@transformPanel.done\": \"_handleAnimationEvent($event)\" }, properties: { \"@transformPanel\": \"_animationState\", \"class.mat-datepicker-content-touch\": \"datepicker.touchUi\" }, classAttribute: \"mat-datepicker-content\" }, viewQueries: [{ propertyName: \"_calendar\", first: true, predicate: MatCalendar, descendants: true }], exportAs: [\"matDatepickerContent\"], usesInheritance: true, ngImport: i0, template: \"<div\\n cdkTrapFocus\\n role=\\\"dialog\\\"\\n [attr.aria-modal]=\\\"true\\\"\\n [attr.aria-labelledby]=\\\"_dialogLabelId ?? undefined\\\"\\n class=\\\"mat-datepicker-content-container\\\"\\n [class.mat-datepicker-content-container-with-custom-header]=\\\"datepicker.calendarHeaderComponent\\\"\\n [class.mat-datepicker-content-container-with-actions]=\\\"_actionsPortal\\\">\\n <mat-calendar\\n [id]=\\\"datepicker.id\\\"\\n [ngClass]=\\\"datepicker.panelClass\\\"\\n [startAt]=\\\"datepicker.startAt\\\"\\n [startView]=\\\"datepicker.startView\\\"\\n [minDate]=\\\"datepicker._getMinDate()\\\"\\n [maxDate]=\\\"datepicker._getMaxDate()\\\"\\n [dateFilter]=\\\"datepicker._getDateFilter()\\\"\\n [headerComponent]=\\\"datepicker.calendarHeaderComponent\\\"\\n [selected]=\\\"_getSelected()\\\"\\n [dateClass]=\\\"datepicker.dateClass\\\"\\n [comparisonStart]=\\\"comparisonStart\\\"\\n [comparisonEnd]=\\\"comparisonEnd\\\"\\n [@fadeInCalendar]=\\\"'enter'\\\"\\n [startDateAccessibleName]=\\\"startDateAccessibleName\\\"\\n [endDateAccessibleName]=\\\"endDateAccessibleName\\\"\\n (yearSelected)=\\\"datepicker._selectYear($event)\\\"\\n (monthSelected)=\\\"datepicker._selectMonth($event)\\\"\\n (viewChanged)=\\\"datepicker._viewChanged($event)\\\"\\n (_userSelection)=\\\"_handleUserSelection($event)\\\"\\n (_userDragDrop)=\\\"_handleUserDragDrop($event)\\\"></mat-calendar>\\n\\n <ng-template [cdkPortalOutlet]=\\\"_actionsPortal\\\"></ng-template>\\n\\n <!-- Invisible close button for screen reader users. -->\\n <button\\n type=\\\"button\\\"\\n mat-raised-button\\n [color]=\\\"color || 'primary'\\\"\\n class=\\\"mat-datepicker-close-button\\\"\\n [class.cdk-visually-hidden]=\\\"!_closeButtonFocused\\\"\\n (focus)=\\\"_closeButtonFocused = true\\\"\\n (blur)=\\\"_closeButtonFocused = false\\\"\\n (click)=\\\"datepicker.close()\\\">{{ _closeButtonText }}</button>\\n</div>\\n\", styles: [\".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}\"], dependencies: [{ kind: \"directive\", type: i1.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"component\", type: i3.MatButton, selector: \" button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] \", inputs: [\"disabled\", \"disableRipple\", \"color\"], exportAs: [\"matButton\"] }, { kind: \"directive\", type: i5.CdkTrapFocus, selector: \"[cdkTrapFocus]\", inputs: [\"cdkTrapFocus\", \"cdkTrapFocusAutoCapture\"], exportAs: [\"cdkTrapFocus\"] }, { kind: \"directive\", type: i6.CdkPortalOutlet, selector: \"[cdkPortalOutlet]\", inputs: [\"cdkPortalOutlet\"], outputs: [\"attached\"], exportAs: [\"cdkPortalOutlet\"] }, { kind: \"component\", type: MatCalendar, selector: \"mat-calendar\", inputs: [\"headerComponent\", \"startAt\", \"startView\", \"selected\", \"minDate\", \"maxDate\", \"dateFilter\", \"dateClass\", \"comparisonStart\", \"comparisonEnd\", \"startDateAccessibleName\", \"endDateAccessibleName\"], outputs: [\"selectedChange\", \"yearSelected\", \"monthSelected\", \"viewChanged\", \"_userSelection\", \"_userDragDrop\"], exportAs: [\"matCalendar\"] }], animations: [matDatepickerAnimations.transformPanel, matDatepickerAnimations.fadeInCalendar], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDatepickerContent, decorators: [{\n type: Component,\n args: [{ selector: 'mat-datepicker-content', host: {\n 'class': 'mat-datepicker-content',\n '[@transformPanel]': '_animationState',\n '(@transformPanel.start)': '_handleAnimationEvent($event)',\n '(@transformPanel.done)': '_handleAnimationEvent($event)',\n '[class.mat-datepicker-content-touch]': 'datepicker.touchUi',\n }, animations: [matDatepickerAnimations.transformPanel, matDatepickerAnimations.fadeInCalendar], exportAs: 'matDatepickerContent', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, inputs: ['color'], template: \"<div\\n cdkTrapFocus\\n role=\\\"dialog\\\"\\n [attr.aria-modal]=\\\"true\\\"\\n [attr.aria-labelledby]=\\\"_dialogLabelId ?? undefined\\\"\\n class=\\\"mat-datepicker-content-container\\\"\\n [class.mat-datepicker-content-container-with-custom-header]=\\\"datepicker.calendarHeaderComponent\\\"\\n [class.mat-datepicker-content-container-with-actions]=\\\"_actionsPortal\\\">\\n <mat-calendar\\n [id]=\\\"datepicker.id\\\"\\n [ngClass]=\\\"datepicker.panelClass\\\"\\n [startAt]=\\\"datepicker.startAt\\\"\\n [startView]=\\\"datepicker.startView\\\"\\n [minDate]=\\\"datepicker._getMinDate()\\\"\\n [maxDate]=\\\"datepicker._getMaxDate()\\\"\\n [dateFilter]=\\\"datepicker._getDateFilter()\\\"\\n [headerComponent]=\\\"datepicker.calendarHeaderComponent\\\"\\n [selected]=\\\"_getSelected()\\\"\\n [dateClass]=\\\"datepicker.dateClass\\\"\\n [comparisonStart]=\\\"comparisonStart\\\"\\n [comparisonEnd]=\\\"comparisonEnd\\\"\\n [@fadeInCalendar]=\\\"'enter'\\\"\\n [startDateAccessibleName]=\\\"startDateAccessibleName\\\"\\n [endDateAccessibleName]=\\\"endDateAccessibleName\\\"\\n (yearSelected)=\\\"datepicker._selectYear($event)\\\"\\n (monthSelected)=\\\"datepicker._selectMonth($event)\\\"\\n (viewChanged)=\\\"datepicker._viewChanged($event)\\\"\\n (_userSelection)=\\\"_handleUserSelection($event)\\\"\\n (_userDragDrop)=\\\"_handleUserDragDrop($event)\\\"></mat-calendar>\\n\\n <ng-template [cdkPortalOutlet]=\\\"_actionsPortal\\\"></ng-template>\\n\\n <!-- Invisible close button for screen reader users. -->\\n <button\\n type=\\\"button\\\"\\n mat-raised-button\\n [color]=\\\"color || 'primary'\\\"\\n class=\\\"mat-datepicker-close-button\\\"\\n [class.cdk-visually-hidden]=\\\"!_closeButtonFocused\\\"\\n (focus)=\\\"_closeButtonFocused = true\\\"\\n (blur)=\\\"_closeButtonFocused = false\\\"\\n (click)=\\\"datepicker.close()\\\">{{ _closeButtonText }}</button>\\n</div>\\n\", styles: [\".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: MatDateSelectionModel }, { type: i1$1.DateAdapter }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_DATE_RANGE_SELECTION_STRATEGY]\n }] }, { type: MatDatepickerIntl }]; }, propDecorators: { _calendar: [{\n type: ViewChild,\n args: [MatCalendar]\n }] } });\n/** Base class for a datepicker. */\nclass MatDatepickerBase {\n /** The date to open the calendar to initially. */\n get startAt() {\n // If an explicit startAt is set we start there, otherwise we start at whatever the currently\n // selected value is.\n return this._startAt || (this.datepickerInput ? this.datepickerInput.getStartValue() : null);\n }\n set startAt(value) {\n this._startAt = this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(value));\n }\n /** Color palette to use on the datepicker's calendar. */\n get color() {\n return (this._color || (this.datepickerInput ? this.datepickerInput.getThemePalette() : undefined));\n }\n set color(value) {\n this._color = value;\n }\n /**\n * Whether the calendar UI is in touch mode. In touch mode the calendar opens in a dialog rather\n * than a dropdown and elements have more padding to allow for bigger touch targets.\n */\n get touchUi() {\n return this._touchUi;\n }\n set touchUi(value) {\n this._touchUi = coerceBooleanProperty(value);\n }\n /** Whether the datepicker pop-up should be disabled. */\n get disabled() {\n return this._disabled === undefined && this.datepickerInput\n ? this.datepickerInput.disabled\n : !!this._disabled;\n }\n set disabled(value) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this._disabled) {\n this._disabled = newValue;\n this.stateChanges.next(undefined);\n }\n }\n /**\n * Whether to restore focus to the previously-focused element when the calendar is closed.\n * Note that automatic focus restoration is an accessibility feature and it is recommended that\n * you provide your own equivalent, if you decide to turn it off.\n */\n get restoreFocus() {\n return this._restoreFocus;\n }\n set restoreFocus(value) {\n this._restoreFocus = coerceBooleanProperty(value);\n }\n /**\n * Classes to be passed to the date picker panel.\n * Supports string and string array values, similar to `ngClass`.\n */\n get panelClass() {\n return this._panelClass;\n }\n set panelClass(value) {\n this._panelClass = coerceStringArray(value);\n }\n /** Whether the calendar is open. */\n get opened() {\n return this._opened;\n }\n set opened(value) {\n coerceBooleanProperty(value) ? this.open() : this.close();\n }\n /** The minimum selectable date. */\n _getMinDate() {\n return this.datepickerInput && this.datepickerInput.min;\n }\n /** The maximum selectable date. */\n _getMaxDate() {\n return this.datepickerInput && this.datepickerInput.max;\n }\n _getDateFilter() {\n return this.datepickerInput && this.datepickerInput.dateFilter;\n }\n constructor(_overlay, _ngZone, _viewContainerRef, scrollStrategy, _dateAdapter, _dir, _model) {\n this._overlay = _overlay;\n this._ngZone = _ngZone;\n this._viewContainerRef = _viewContainerRef;\n this._dateAdapter = _dateAdapter;\n this._dir = _dir;\n this._model = _model;\n this._inputStateChanges = Subscription.EMPTY;\n this._document = inject(DOCUMENT);\n /** The view that the calendar should start in. */\n this.startView = 'month';\n this._touchUi = false;\n /** Preferred position of the datepicker in the X axis. */\n this.xPosition = 'start';\n /** Preferred position of the datepicker in the Y axis. */\n this.yPosition = 'below';\n this._restoreFocus = true;\n /**\n * Emits selected year in multiyear view.\n * This doesn't imply a change on the selected date.\n */\n this.yearSelected = new EventEmitter();\n /**\n * Emits selected month in year view.\n * This doesn't imply a change on the selected date.\n */\n this.monthSelected = new EventEmitter();\n /**\n * Emits when the current view changes.\n */\n this.viewChanged = new EventEmitter(true);\n /** Emits when the datepicker has been opened. */\n this.openedStream = new EventEmitter();\n /** Emits when the datepicker has been closed. */\n this.closedStream = new EventEmitter();\n this._opened = false;\n /** The id for the datepicker calendar. */\n this.id = `mat-datepicker-${datepickerUid++}`;\n /** The element that was focused before the datepicker was opened. */\n this._focusedElementBeforeOpen = null;\n /** Unique class that will be added to the backdrop so that the test harnesses can look it up. */\n this._backdropHarnessClass = `${this.id}-backdrop`;\n /** Emits when the datepicker's state changes. */\n this.stateChanges = new Subject();\n if (!this._dateAdapter && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw createMissingDateImplError('DateAdapter');\n }\n this._scrollStrategy = scrollStrategy;\n }\n ngOnChanges(changes) {\n const positionChange = changes['xPosition'] || changes['yPosition'];\n if (positionChange && !positionChange.firstChange && this._overlayRef) {\n const positionStrategy = this._overlayRef.getConfig().positionStrategy;\n if (positionStrategy instanceof FlexibleConnectedPositionStrategy) {\n this._setConnectedPositions(positionStrategy);\n if (this.opened) {\n this._overlayRef.updatePosition();\n }\n }\n }\n this.stateChanges.next(undefined);\n }\n ngOnDestroy() {\n this._destroyOverlay();\n this.close();\n this._inputStateChanges.unsubscribe();\n this.stateChanges.complete();\n }\n /** Selects the given date */\n select(date) {\n this._model.add(date);\n }\n /** Emits the selected year in multiyear view */\n _selectYear(normalizedYear) {\n this.yearSelected.emit(normalizedYear);\n }\n /** Emits selected month in year view */\n _selectMonth(normalizedMonth) {\n this.monthSelected.emit(normalizedMonth);\n }\n /** Emits changed view */\n _viewChanged(view) {\n this.viewChanged.emit(view);\n }\n /**\n * Register an input with this datepicker.\n * @param input The datepicker input to register with this datepicker.\n * @returns Selection model that the input should hook itself up to.\n */\n registerInput(input) {\n if (this.datepickerInput && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error('A MatDatepicker can only be associated with a single input.');\n }\n this._inputStateChanges.unsubscribe();\n this.datepickerInput = input;\n this._inputStateChanges = input.stateChanges.subscribe(() => this.stateChanges.next(undefined));\n return this._model;\n }\n /**\n * Registers a portal containing action buttons with the datepicker.\n * @param portal Portal to be registered.\n */\n registerActions(portal) {\n if (this._actionsPortal && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error('A MatDatepicker can only be associated with a single actions row.');\n }\n this._actionsPortal = portal;\n this._componentRef?.instance._assignActions(portal, true);\n }\n /**\n * Removes a portal containing action buttons from the datepicker.\n * @param portal Portal to be removed.\n */\n removeActions(portal) {\n if (portal === this._actionsPortal) {\n this._actionsPortal = null;\n this._componentRef?.instance._assignActions(null, true);\n }\n }\n /** Open the calendar. */\n open() {\n // Skip reopening if there's an in-progress animation to avoid overlapping\n // sequences which can cause \"changed after checked\" errors. See #25837.\n if (this._opened || this.disabled || this._componentRef?.instance._isAnimating) {\n return;\n }\n if (!this.datepickerInput && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error('Attempted to open an MatDatepicker with no associated input.');\n }\n this._focusedElementBeforeOpen = _getFocusedElementPierceShadowDom();\n this._openOverlay();\n this._opened = true;\n this.openedStream.emit();\n }\n /** Close the calendar. */\n close() {\n // Skip reopening if there's an in-progress animation to avoid overlapping\n // sequences which can cause \"changed after checked\" errors. See #25837.\n if (!this._opened || this._componentRef?.instance._isAnimating) {\n return;\n }\n const canRestoreFocus = this._restoreFocus &&\n this._focusedElementBeforeOpen &&\n typeof this._focusedElementBeforeOpen.focus === 'function';\n const completeClose = () => {\n // The `_opened` could've been reset already if\n // we got two events in quick succession.\n if (this._opened) {\n this._opened = false;\n this.closedStream.emit();\n }\n };\n if (this._componentRef) {\n const { instance, location } = this._componentRef;\n instance._startExitAnimation();\n instance._animationDone.pipe(take(1)).subscribe(() => {\n const activeElement = this._document.activeElement;\n // Since we restore focus after the exit animation, we have to check that\n // the user didn't move focus themselves inside the `close` handler.\n if (canRestoreFocus &&\n (!activeElement ||\n activeElement === this._document.activeElement ||\n location.nativeElement.contains(activeElement))) {\n this._focusedElementBeforeOpen.focus();\n }\n this._focusedElementBeforeOpen = null;\n this._destroyOverlay();\n });\n }\n if (canRestoreFocus) {\n // Because IE moves focus asynchronously, we can't count on it being restored before we've\n // marked the datepicker as closed. If the event fires out of sequence and the element that\n // we're refocusing opens the datepicker on focus, the user could be stuck with not being\n // able to close the calendar at all. We work around it by making the logic, that marks\n // the datepicker as closed, async as well.\n setTimeout(completeClose);\n }\n else {\n completeClose();\n }\n }\n /** Applies the current pending selection on the overlay to the model. */\n _applyPendingSelection() {\n this._componentRef?.instance?._applyPendingSelection();\n }\n /** Forwards relevant values from the datepicker to the datepicker content inside the overlay. */\n _forwardContentValues(instance) {\n instance.datepicker = this;\n instance.color = this.color;\n instance._dialogLabelId = this.datepickerInput.getOverlayLabelId();\n instance._assignActions(this._actionsPortal, false);\n }\n /** Opens the overlay with the calendar. */\n _openOverlay() {\n this._destroyOverlay();\n const isDialog = this.touchUi;\n const portal = new ComponentPortal(MatDatepickerContent, this._viewContainerRef);\n const overlayRef = (this._overlayRef = this._overlay.create(new OverlayConfig({\n positionStrategy: isDialog ? this._getDialogStrategy() : this._getDropdownStrategy(),\n hasBackdrop: true,\n backdropClass: [\n isDialog ? 'cdk-overlay-dark-backdrop' : 'mat-overlay-transparent-backdrop',\n this._backdropHarnessClass,\n ],\n direction: this._dir,\n scrollStrategy: isDialog ? this._overlay.scrollStrategies.block() : this._scrollStrategy(),\n panelClass: `mat-datepicker-${isDialog ? 'dialog' : 'popup'}`,\n })));\n this._getCloseStream(overlayRef).subscribe(event => {\n if (event) {\n event.preventDefault();\n }\n this.close();\n });\n // The `preventDefault` call happens inside the calendar as well, however focus moves into\n // it inside a timeout which can give browsers a chance to fire off a keyboard event in-between\n // that can scroll the page (see #24969). Always block default actions of arrow keys for the\n // entire overlay so the page doesn't get scrolled by accident.\n overlayRef.keydownEvents().subscribe(event => {\n const keyCode = event.keyCode;\n if (keyCode === UP_ARROW ||\n keyCode === DOWN_ARROW ||\n keyCode === LEFT_ARROW ||\n keyCode === RIGHT_ARROW ||\n keyCode === PAGE_UP ||\n keyCode === PAGE_DOWN) {\n event.preventDefault();\n }\n });\n this._componentRef = overlayRef.attach(portal);\n this._forwardContentValues(this._componentRef.instance);\n // Update the position once the calendar has rendered. Only relevant in dropdown mode.\n if (!isDialog) {\n this._ngZone.onStable.pipe(take(1)).subscribe(() => overlayRef.updatePosition());\n }\n }\n /** Destroys the current overlay. */\n _destroyOverlay() {\n if (this._overlayRef) {\n this._overlayRef.dispose();\n this._overlayRef = this._componentRef = null;\n }\n }\n /** Gets a position strategy that will open the calendar as a dropdown. */\n _getDialogStrategy() {\n return this._overlay.position().global().centerHorizontally().centerVertically();\n }\n /** Gets a position strategy that will open the calendar as a dropdown. */\n _getDropdownStrategy() {\n const strategy = this._overlay\n .position()\n .flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin())\n .withTransformOriginOn('.mat-datepicker-content')\n .withFlexibleDimensions(false)\n .withViewportMargin(8)\n .withLockedPosition();\n return this._setConnectedPositions(strategy);\n }\n /** Sets the positions of the datepicker in dropdown mode based on the current configuration. */\n _setConnectedPositions(strategy) {\n const primaryX = this.xPosition === 'end' ? 'end' : 'start';\n const secondaryX = primaryX === 'start' ? 'end' : 'start';\n const primaryY = this.yPosition === 'above' ? 'bottom' : 'top';\n const secondaryY = primaryY === 'top' ? 'bottom' : 'top';\n return strategy.withPositions([\n {\n originX: primaryX,\n originY: secondaryY,\n overlayX: primaryX,\n overlayY: primaryY,\n },\n {\n originX: primaryX,\n originY: primaryY,\n overlayX: primaryX,\n overlayY: secondaryY,\n },\n {\n originX: secondaryX,\n originY: secondaryY,\n overlayX: secondaryX,\n overlayY: primaryY,\n },\n {\n originX: secondaryX,\n originY: primaryY,\n overlayX: secondaryX,\n overlayY: secondaryY,\n },\n ]);\n }\n /** Gets an observable that will emit when the overlay is supposed to be closed. */\n _getCloseStream(overlayRef) {\n const ctrlShiftMetaModifiers = ['ctrlKey', 'shiftKey', 'metaKey'];\n return merge(overlayRef.backdropClick(), overlayRef.detachments(), overlayRef.keydownEvents().pipe(filter(event => {\n // Closing on alt + up is only valid when there's an input associated with the datepicker.\n return ((event.keyCode === ESCAPE && !hasModifierKey(event)) ||\n (this.datepickerInput &&\n hasModifierKey(event, 'altKey') &&\n event.keyCode === UP_ARROW &&\n ctrlShiftMetaModifiers.every((modifier) => !hasModifierKey(event, modifier))));\n })));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDatepickerBase, deps: [{ token: i9.Overlay }, { token: i0.NgZone }, { token: i0.ViewContainerRef }, { token: MAT_DATEPICKER_SCROLL_STRATEGY }, { token: i1$1.DateAdapter, optional: true }, { token: i2.Directionality, optional: true }, { token: MatDateSelectionModel }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatDatepickerBase, inputs: { calendarHeaderComponent: \"calendarHeaderComponent\", startAt: \"startAt\", startView: \"startView\", color: \"color\", touchUi: \"touchUi\", disabled: \"disabled\", xPosition: \"xPosition\", yPosition: \"yPosition\", restoreFocus: \"restoreFocus\", dateClass: \"dateClass\", panelClass: \"panelClass\", opened: \"opened\" }, outputs: { yearSelected: \"yearSelected\", monthSelected: \"monthSelected\", viewChanged: \"viewChanged\", openedStream: \"opened\", closedStream: \"closed\" }, usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDatepickerBase, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i9.Overlay }, { type: i0.NgZone }, { type: i0.ViewContainerRef }, { type: undefined, decorators: [{\n type: Inject,\n args: [MAT_DATEPICKER_SCROLL_STRATEGY]\n }] }, { type: i1$1.DateAdapter, decorators: [{\n type: Optional\n }] }, { type: i2.Directionality, decorators: [{\n type: Optional\n }] }, { type: MatDateSelectionModel }]; }, propDecorators: { calendarHeaderComponent: [{\n type: Input\n }], startAt: [{\n type: Input\n }], startView: [{\n type: Input\n }], color: [{\n type: Input\n }], touchUi: [{\n type: Input\n }], disabled: [{\n type: Input\n }], xPosition: [{\n type: Input\n }], yPosition: [{\n type: Input\n }], restoreFocus: [{\n type: Input\n }], yearSelected: [{\n type: Output\n }], monthSelected: [{\n type: Output\n }], viewChanged: [{\n type: Output\n }], dateClass: [{\n type: Input\n }], openedStream: [{\n type: Output,\n args: ['opened']\n }], closedStream: [{\n type: Output,\n args: ['closed']\n }], panelClass: [{\n type: Input\n }], opened: [{\n type: Input\n }] } });\n\n// TODO(mmalerba): We use a component instead of a directive here so the user can use implicit\n// template reference variables (e.g. #d vs #d=\"matDatepicker\"). We can change this to a directive\n// if angular adds support for `exportAs: '$implicit'` on directives.\n/** Component responsible for managing the datepicker popup/dialog. */\nclass MatDatepicker extends MatDatepickerBase {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDatepicker, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatDatepicker, selector: \"mat-datepicker\", providers: [\n MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER,\n { provide: MatDatepickerBase, useExisting: MatDatepicker },\n ], exportAs: [\"matDatepicker\"], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDatepicker, decorators: [{\n type: Component,\n args: [{\n selector: 'mat-datepicker',\n template: '',\n exportAs: 'matDatepicker',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER,\n { provide: MatDatepickerBase, useExisting: MatDatepicker },\n ],\n }]\n }] });\n\n/**\n * An event used for datepicker input and change events. We don't always have access to a native\n * input or change event because the event may have been triggered by the user clicking on the\n * calendar popup. For consistency, we always use MatDatepickerInputEvent instead.\n */\nclass MatDatepickerInputEvent {\n constructor(\n /** Reference to the datepicker input component that emitted the event. */\n target, \n /** Reference to the native input element associated with the datepicker input. */\n targetElement) {\n this.target = target;\n this.targetElement = targetElement;\n this.value = this.target.value;\n }\n}\n/** Base class for datepicker inputs. */\nclass MatDatepickerInputBase {\n /** The value of the input. */\n get value() {\n return this._model ? this._getValueFromModel(this._model.selection) : this._pendingValue;\n }\n set value(value) {\n this._assignValueProgrammatically(value);\n }\n /** Whether the datepicker-input is disabled. */\n get disabled() {\n return !!this._disabled || this._parentDisabled();\n }\n set disabled(value) {\n const newValue = coerceBooleanProperty(value);\n const element = this._elementRef.nativeElement;\n if (this._disabled !== newValue) {\n this._disabled = newValue;\n this.stateChanges.next(undefined);\n }\n // We need to null check the `blur` method, because it's undefined during SSR.\n // In Ivy static bindings are invoked earlier, before the element is attached to the DOM.\n // This can cause an error to be thrown in some browsers (IE/Edge) which assert that the\n // element has been inserted.\n if (newValue && this._isInitialized && element.blur) {\n // Normally, native input elements automatically blur if they turn disabled. This behavior\n // is problematic, because it would mean that it triggers another change detection cycle,\n // which then causes a changed after checked error if the input element was focused before.\n element.blur();\n }\n }\n /** Gets the base validator functions. */\n _getValidators() {\n return [this._parseValidator, this._minValidator, this._maxValidator, this._filterValidator];\n }\n /** Registers a date selection model with the input. */\n _registerModel(model) {\n this._model = model;\n this._valueChangesSubscription.unsubscribe();\n if (this._pendingValue) {\n this._assignValue(this._pendingValue);\n }\n this._valueChangesSubscription = this._model.selectionChanged.subscribe(event => {\n if (this._shouldHandleChangeEvent(event)) {\n const value = this._getValueFromModel(event.selection);\n this._lastValueValid = this._isValidValue(value);\n this._cvaOnChange(value);\n this._onTouched();\n this._formatValue(value);\n this.dateInput.emit(new MatDatepickerInputEvent(this, this._elementRef.nativeElement));\n this.dateChange.emit(new MatDatepickerInputEvent(this, this._elementRef.nativeElement));\n }\n });\n }\n constructor(_elementRef, _dateAdapter, _dateFormats) {\n this._elementRef = _elementRef;\n this._dateAdapter = _dateAdapter;\n this._dateFormats = _dateFormats;\n /** Emits when a `change` event is fired on this `<input>`. */\n this.dateChange = new EventEmitter();\n /** Emits when an `input` event is fired on this `<input>`. */\n this.dateInput = new EventEmitter();\n /** Emits when the internal state has changed */\n this.stateChanges = new Subject();\n this._onTouched = () => { };\n this._validatorOnChange = () => { };\n this._cvaOnChange = () => { };\n this._valueChangesSubscription = Subscription.EMPTY;\n this._localeSubscription = Subscription.EMPTY;\n /** The form control validator for whether the input parses. */\n this._parseValidator = () => {\n return this._lastValueValid\n ? null\n : { 'matDatepickerParse': { 'text': this._elementRef.nativeElement.value } };\n };\n /** The form control validator for the date filter. */\n this._filterValidator = (control) => {\n const controlValue = this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(control.value));\n return !controlValue || this._matchesFilter(controlValue)\n ? null\n : { 'matDatepickerFilter': true };\n };\n /** The form control validator for the min date. */\n this._minValidator = (control) => {\n const controlValue = this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(control.value));\n const min = this._getMinDate();\n return !min || !controlValue || this._dateAdapter.compareDate(min, controlValue) <= 0\n ? null\n : { 'matDatepickerMin': { 'min': min, 'actual': controlValue } };\n };\n /** The form control validator for the max date. */\n this._maxValidator = (control) => {\n const controlValue = this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(control.value));\n const max = this._getMaxDate();\n return !max || !controlValue || this._dateAdapter.compareDate(max, controlValue) >= 0\n ? null\n : { 'matDatepickerMax': { 'max': max, 'actual': controlValue } };\n };\n /** Whether the last value set on the input was valid. */\n this._lastValueValid = false;\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!this._dateAdapter) {\n throw createMissingDateImplError('DateAdapter');\n }\n if (!this._dateFormats) {\n throw createMissingDateImplError('MAT_DATE_FORMATS');\n }\n }\n // Update the displayed date when the locale changes.\n this._localeSubscription = _dateAdapter.localeChanges.subscribe(() => {\n this._assignValueProgrammatically(this.value);\n });\n }\n ngAfterViewInit() {\n this._isInitialized = true;\n }\n ngOnChanges(changes) {\n if (dateInputsHaveChanged(changes, this._dateAdapter)) {\n this.stateChanges.next(undefined);\n }\n }\n ngOnDestroy() {\n this._valueChangesSubscription.unsubscribe();\n this._localeSubscription.unsubscribe();\n this.stateChanges.complete();\n }\n /** @docs-private */\n registerOnValidatorChange(fn) {\n this._validatorOnChange = fn;\n }\n /** @docs-private */\n validate(c) {\n return this._validator ? this._validator(c) : null;\n }\n // Implemented as part of ControlValueAccessor.\n writeValue(value) {\n this._assignValueProgrammatically(value);\n }\n // Implemented as part of ControlValueAccessor.\n registerOnChange(fn) {\n this._cvaOnChange = fn;\n }\n // Implemented as part of ControlValueAccessor.\n registerOnTouched(fn) {\n this._onTouched = fn;\n }\n // Implemented as part of ControlValueAccessor.\n setDisabledState(isDisabled) {\n this.disabled = isDisabled;\n }\n _onKeydown(event) {\n const ctrlShiftMetaModifiers = ['ctrlKey', 'shiftKey', 'metaKey'];\n const isAltDownArrow = hasModifierKey(event, 'altKey') &&\n event.keyCode === DOWN_ARROW &&\n ctrlShiftMetaModifiers.every((modifier) => !hasModifierKey(event, modifier));\n if (isAltDownArrow && !this._elementRef.nativeElement.readOnly) {\n this._openPopup();\n event.preventDefault();\n }\n }\n _onInput(value) {\n const lastValueWasValid = this._lastValueValid;\n let date = this._dateAdapter.parse(value, this._dateFormats.parse.dateInput);\n this._lastValueValid = this._isValidValue(date);\n date = this._dateAdapter.getValidDateOrNull(date);\n const hasChanged = !this._dateAdapter.sameDate(date, this.value);\n // We need to fire the CVA change event for all\n // nulls, otherwise the validators won't run.\n if (!date || hasChanged) {\n this._cvaOnChange(date);\n }\n else {\n // Call the CVA change handler for invalid values\n // since this is what marks the control as dirty.\n if (value && !this.value) {\n this._cvaOnChange(date);\n }\n if (lastValueWasValid !== this._lastValueValid) {\n this._validatorOnChange();\n }\n }\n if (hasChanged) {\n this._assignValue(date);\n this.dateInput.emit(new MatDatepickerInputEvent(this, this._elementRef.nativeElement));\n }\n }\n _onChange() {\n this.dateChange.emit(new MatDatepickerInputEvent(this, this._elementRef.nativeElement));\n }\n /** Handles blur events on the input. */\n _onBlur() {\n // Reformat the input only if we have a valid value.\n if (this.value) {\n this._formatValue(this.value);\n }\n this._onTouched();\n }\n /** Formats a value and sets it on the input element. */\n _formatValue(value) {\n this._elementRef.nativeElement.value =\n value != null ? this._dateAdapter.format(value, this._dateFormats.display.dateInput) : '';\n }\n /** Assigns a value to the model. */\n _assignValue(value) {\n // We may get some incoming values before the model was\n // assigned. Save the value so that we can assign it later.\n if (this._model) {\n this._assignValueToModel(value);\n this._pendingValue = null;\n }\n else {\n this._pendingValue = value;\n }\n }\n /** Whether a value is considered valid. */\n _isValidValue(value) {\n return !value || this._dateAdapter.isValid(value);\n }\n /**\n * Checks whether a parent control is disabled. This is in place so that it can be overridden\n * by inputs extending this one which can be placed inside of a group that can be disabled.\n */\n _parentDisabled() {\n return false;\n }\n /** Programmatically assigns a value to the input. */\n _assignValueProgrammatically(value) {\n value = this._dateAdapter.deserialize(value);\n this._lastValueValid = this._isValidValue(value);\n value = this._dateAdapter.getValidDateOrNull(value);\n this._assignValue(value);\n this._formatValue(value);\n }\n /** Gets whether a value matches the current date filter. */\n _matchesFilter(value) {\n const filter = this._getDateFilter();\n return !filter || filter(value);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDatepickerInputBase, deps: [{ token: i0.ElementRef }, { token: i1$1.DateAdapter, optional: true }, { token: MAT_DATE_FORMATS, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatDatepickerInputBase, inputs: { value: \"value\", disabled: \"disabled\" }, outputs: { dateChange: \"dateChange\", dateInput: \"dateInput\" }, usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDatepickerInputBase, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$1.DateAdapter, decorators: [{\n type: Optional\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_DATE_FORMATS]\n }] }]; }, propDecorators: { value: [{\n type: Input\n }], disabled: [{\n type: Input\n }], dateChange: [{\n type: Output\n }], dateInput: [{\n type: Output\n }] } });\n/**\n * Checks whether the `SimpleChanges` object from an `ngOnChanges`\n * callback has any changes, accounting for date objects.\n */\nfunction dateInputsHaveChanged(changes, adapter) {\n const keys = Object.keys(changes);\n for (let key of keys) {\n const { previousValue, currentValue } = changes[key];\n if (adapter.isDateInstance(previousValue) && adapter.isDateInstance(currentValue)) {\n if (!adapter.sameDate(previousValue, currentValue)) {\n return true;\n }\n }\n else {\n return true;\n }\n }\n return false;\n}\n\n/** @docs-private */\nconst MAT_DATEPICKER_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => MatDatepickerInput),\n multi: true,\n};\n/** @docs-private */\nconst MAT_DATEPICKER_VALIDATORS = {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => MatDatepickerInput),\n multi: true,\n};\n/** Directive used to connect an input to a MatDatepicker. */\nclass MatDatepickerInput extends MatDatepickerInputBase {\n /** The datepicker that this input is associated with. */\n set matDatepicker(datepicker) {\n if (datepicker) {\n this._datepicker = datepicker;\n this._closedSubscription = datepicker.closedStream.subscribe(() => this._onTouched());\n this._registerModel(datepicker.registerInput(this));\n }\n }\n /** The minimum valid date. */\n get min() {\n return this._min;\n }\n set min(value) {\n const validValue = this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(value));\n if (!this._dateAdapter.sameDate(validValue, this._min)) {\n this._min = validValue;\n this._validatorOnChange();\n }\n }\n /** The maximum valid date. */\n get max() {\n return this._max;\n }\n set max(value) {\n const validValue = this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(value));\n if (!this._dateAdapter.sameDate(validValue, this._max)) {\n this._max = validValue;\n this._validatorOnChange();\n }\n }\n /** Function that can be used to filter out dates within the datepicker. */\n get dateFilter() {\n return this._dateFilter;\n }\n set dateFilter(value) {\n const wasMatchingValue = this._matchesFilter(this.value);\n this._dateFilter = value;\n if (this._matchesFilter(this.value) !== wasMatchingValue) {\n this._validatorOnChange();\n }\n }\n constructor(elementRef, dateAdapter, dateFormats, _formField) {\n super(elementRef, dateAdapter, dateFormats);\n this._formField = _formField;\n this._closedSubscription = Subscription.EMPTY;\n this._validator = Validators.compose(super._getValidators());\n }\n /**\n * Gets the element that the datepicker popup should be connected to.\n * @return The element to connect the popup to.\n */\n getConnectedOverlayOrigin() {\n return this._formField ? this._formField.getConnectedOverlayOrigin() : this._elementRef;\n }\n /** Gets the ID of an element that should be used a description for the calendar overlay. */\n getOverlayLabelId() {\n if (this._formField) {\n return this._formField.getLabelId();\n }\n return this._elementRef.nativeElement.getAttribute('aria-labelledby');\n }\n /** Returns the palette used by the input's form field, if any. */\n getThemePalette() {\n return this._formField ? this._formField.color : undefined;\n }\n /** Gets the value at which the calendar should start. */\n getStartValue() {\n return this.value;\n }\n ngOnDestroy() {\n super.ngOnDestroy();\n this._closedSubscription.unsubscribe();\n }\n /** Opens the associated datepicker. */\n _openPopup() {\n if (this._datepicker) {\n this._datepicker.open();\n }\n }\n _getValueFromModel(modelValue) {\n return modelValue;\n }\n _assignValueToModel(value) {\n if (this._model) {\n this._model.updateSelection(value, this);\n }\n }\n /** Gets the input's minimum date. */\n _getMinDate() {\n return this._min;\n }\n /** Gets the input's maximum date. */\n _getMaxDate() {\n return this._max;\n }\n /** Gets the input's date filtering function. */\n _getDateFilter() {\n return this._dateFilter;\n }\n _shouldHandleChangeEvent(event) {\n return event.source !== this;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDatepickerInput, deps: [{ token: i0.ElementRef }, { token: i1$1.DateAdapter, optional: true }, { token: MAT_DATE_FORMATS, optional: true }, { token: MAT_FORM_FIELD, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatDatepickerInput, selector: \"input[matDatepicker]\", inputs: { matDatepicker: \"matDatepicker\", min: \"min\", max: \"max\", dateFilter: [\"matDatepickerFilter\", \"dateFilter\"] }, host: { listeners: { \"input\": \"_onInput($event.target.value)\", \"change\": \"_onChange()\", \"blur\": \"_onBlur()\", \"keydown\": \"_onKeydown($event)\" }, properties: { \"attr.aria-haspopup\": \"_datepicker ? \\\"dialog\\\" : null\", \"attr.aria-owns\": \"(_datepicker?.opened && _datepicker.id) || null\", \"attr.min\": \"min ? _dateAdapter.toIso8601(min) : null\", \"attr.max\": \"max ? _dateAdapter.toIso8601(max) : null\", \"attr.data-mat-calendar\": \"_datepicker ? _datepicker.id : null\", \"disabled\": \"disabled\" }, classAttribute: \"mat-datepicker-input\" }, providers: [\n MAT_DATEPICKER_VALUE_ACCESSOR,\n MAT_DATEPICKER_VALIDATORS,\n { provide: MAT_INPUT_VALUE_ACCESSOR, useExisting: MatDatepickerInput },\n ], exportAs: [\"matDatepickerInput\"], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDatepickerInput, decorators: [{\n type: Directive,\n args: [{\n selector: 'input[matDatepicker]',\n providers: [\n MAT_DATEPICKER_VALUE_ACCESSOR,\n MAT_DATEPICKER_VALIDATORS,\n { provide: MAT_INPUT_VALUE_ACCESSOR, useExisting: MatDatepickerInput },\n ],\n host: {\n 'class': 'mat-datepicker-input',\n '[attr.aria-haspopup]': '_datepicker ? \"dialog\" : null',\n '[attr.aria-owns]': '(_datepicker?.opened && _datepicker.id) || null',\n '[attr.min]': 'min ? _dateAdapter.toIso8601(min) : null',\n '[attr.max]': 'max ? _dateAdapter.toIso8601(max) : null',\n // Used by the test harness to tie this input to its calendar. We can't depend on\n // `aria-owns` for this, because it's only defined while the calendar is open.\n '[attr.data-mat-calendar]': '_datepicker ? _datepicker.id : null',\n '[disabled]': 'disabled',\n '(input)': '_onInput($event.target.value)',\n '(change)': '_onChange()',\n '(blur)': '_onBlur()',\n '(keydown)': '_onKeydown($event)',\n },\n exportAs: 'matDatepickerInput',\n }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$1.DateAdapter, decorators: [{\n type: Optional\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_DATE_FORMATS]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_FORM_FIELD]\n }] }]; }, propDecorators: { matDatepicker: [{\n type: Input\n }], min: [{\n type: Input\n }], max: [{\n type: Input\n }], dateFilter: [{\n type: Input,\n args: ['matDatepickerFilter']\n }] } });\n\n/** Can be used to override the icon of a `matDatepickerToggle`. */\nclass MatDatepickerToggleIcon {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDatepickerToggleIcon, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatDatepickerToggleIcon, selector: \"[matDatepickerToggleIcon]\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDatepickerToggleIcon, decorators: [{\n type: Directive,\n args: [{\n selector: '[matDatepickerToggleIcon]',\n }]\n }] });\nclass MatDatepickerToggle {\n /** Whether the toggle button is disabled. */\n get disabled() {\n if (this._disabled === undefined && this.datepicker) {\n return this.datepicker.disabled;\n }\n return !!this._disabled;\n }\n set disabled(value) {\n this._disabled = coerceBooleanProperty(value);\n }\n constructor(_intl, _changeDetectorRef, defaultTabIndex) {\n this._intl = _intl;\n this._changeDetectorRef = _changeDetectorRef;\n this._stateChanges = Subscription.EMPTY;\n const parsedTabIndex = Number(defaultTabIndex);\n this.tabIndex = parsedTabIndex || parsedTabIndex === 0 ? parsedTabIndex : null;\n }\n ngOnChanges(changes) {\n if (changes['datepicker']) {\n this._watchStateChanges();\n }\n }\n ngOnDestroy() {\n this._stateChanges.unsubscribe();\n }\n ngAfterContentInit() {\n this._watchStateChanges();\n }\n _open(event) {\n if (this.datepicker && !this.disabled) {\n this.datepicker.open();\n event.stopPropagation();\n }\n }\n _watchStateChanges() {\n const datepickerStateChanged = this.datepicker ? this.datepicker.stateChanges : of();\n const inputStateChanged = this.datepicker && this.datepicker.datepickerInput\n ? this.datepicker.datepickerInput.stateChanges\n : of();\n const datepickerToggled = this.datepicker\n ? merge(this.datepicker.openedStream, this.datepicker.closedStream)\n : of();\n this._stateChanges.unsubscribe();\n this._stateChanges = merge(this._intl.changes, datepickerStateChanged, inputStateChanged, datepickerToggled).subscribe(() => this._changeDetectorRef.markForCheck());\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDatepickerToggle, deps: [{ token: MatDatepickerIntl }, { token: i0.ChangeDetectorRef }, { token: 'tabindex', attribute: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatDatepickerToggle, selector: \"mat-datepicker-toggle\", inputs: { datepicker: [\"for\", \"datepicker\"], tabIndex: \"tabIndex\", ariaLabel: [\"aria-label\", \"ariaLabel\"], disabled: \"disabled\", disableRipple: \"disableRipple\" }, host: { listeners: { \"click\": \"_open($event)\" }, properties: { \"attr.tabindex\": \"null\", \"class.mat-datepicker-toggle-active\": \"datepicker && datepicker.opened\", \"class.mat-accent\": \"datepicker && datepicker.color === \\\"accent\\\"\", \"class.mat-warn\": \"datepicker && datepicker.color === \\\"warn\\\"\", \"attr.data-mat-calendar\": \"datepicker ? datepicker.id : null\" }, classAttribute: \"mat-datepicker-toggle\" }, queries: [{ propertyName: \"_customIcon\", first: true, predicate: MatDatepickerToggleIcon, descendants: true }], viewQueries: [{ propertyName: \"_button\", first: true, predicate: [\"button\"], descendants: true }], exportAs: [\"matDatepickerToggle\"], usesOnChanges: true, ngImport: i0, template: \"<button\\n #button\\n mat-icon-button\\n type=\\\"button\\\"\\n [attr.aria-haspopup]=\\\"datepicker ? 'dialog' : null\\\"\\n [attr.aria-label]=\\\"ariaLabel || _intl.openCalendarLabel\\\"\\n [attr.tabindex]=\\\"disabled ? -1 : tabIndex\\\"\\n [disabled]=\\\"disabled\\\"\\n [disableRipple]=\\\"disableRipple\\\">\\n\\n <svg\\n *ngIf=\\\"!_customIcon\\\"\\n class=\\\"mat-datepicker-toggle-default-icon\\\"\\n viewBox=\\\"0 0 24 24\\\"\\n width=\\\"24px\\\"\\n height=\\\"24px\\\"\\n fill=\\\"currentColor\\\"\\n focusable=\\\"false\\\"\\n aria-hidden=\\\"true\\\">\\n <path d=\\\"M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z\\\"/>\\n </svg>\\n\\n <ng-content select=\\\"[matDatepickerToggleIcon]\\\"></ng-content>\\n</button>\\n\", styles: [\".mat-datepicker-toggle{pointer-events:auto}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}\"], dependencies: [{ kind: \"directive\", type: i1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"component\", type: i3.MatIconButton, selector: \"button[mat-icon-button]\", inputs: [\"disabled\", \"disableRipple\", \"color\"], exportAs: [\"matButton\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDatepickerToggle, decorators: [{\n type: Component,\n args: [{ selector: 'mat-datepicker-toggle', host: {\n 'class': 'mat-datepicker-toggle',\n '[attr.tabindex]': 'null',\n '[class.mat-datepicker-toggle-active]': 'datepicker && datepicker.opened',\n '[class.mat-accent]': 'datepicker && datepicker.color === \"accent\"',\n '[class.mat-warn]': 'datepicker && datepicker.color === \"warn\"',\n // Used by the test harness to tie this toggle to its datepicker.\n '[attr.data-mat-calendar]': 'datepicker ? datepicker.id : null',\n // Bind the `click` on the host, rather than the inner `button`, so that we can call\n // `stopPropagation` on it without affecting the user's `click` handlers. We need to stop\n // it so that the input doesn't get focused automatically by the form field (See #21836).\n '(click)': '_open($event)',\n }, exportAs: 'matDatepickerToggle', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: \"<button\\n #button\\n mat-icon-button\\n type=\\\"button\\\"\\n [attr.aria-haspopup]=\\\"datepicker ? 'dialog' : null\\\"\\n [attr.aria-label]=\\\"ariaLabel || _intl.openCalendarLabel\\\"\\n [attr.tabindex]=\\\"disabled ? -1 : tabIndex\\\"\\n [disabled]=\\\"disabled\\\"\\n [disableRipple]=\\\"disableRipple\\\">\\n\\n <svg\\n *ngIf=\\\"!_customIcon\\\"\\n class=\\\"mat-datepicker-toggle-default-icon\\\"\\n viewBox=\\\"0 0 24 24\\\"\\n width=\\\"24px\\\"\\n height=\\\"24px\\\"\\n fill=\\\"currentColor\\\"\\n focusable=\\\"false\\\"\\n aria-hidden=\\\"true\\\">\\n <path d=\\\"M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z\\\"/>\\n </svg>\\n\\n <ng-content select=\\\"[matDatepickerToggleIcon]\\\"></ng-content>\\n</button>\\n\", styles: [\".mat-datepicker-toggle{pointer-events:auto}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}\"] }]\n }], ctorParameters: function () { return [{ type: MatDatepickerIntl }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{\n type: Attribute,\n args: ['tabindex']\n }] }]; }, propDecorators: { datepicker: [{\n type: Input,\n args: ['for']\n }], tabIndex: [{\n type: Input\n }], ariaLabel: [{\n type: Input,\n args: ['aria-label']\n }], disabled: [{\n type: Input\n }], disableRipple: [{\n type: Input\n }], _customIcon: [{\n type: ContentChild,\n args: [MatDatepickerToggleIcon]\n }], _button: [{\n type: ViewChild,\n args: ['button']\n }] } });\n\n// This file contains the `_computeAriaAccessibleName` function, which computes what the *expected*\n// ARIA accessible name would be for a given element. Implements a subset of ARIA specification\n// [Accessible Name and Description Computation 1.2](https://www.w3.org/TR/accname-1.2/).\n//\n// Specification accname-1.2 can be summarized by returning the result of the first method\n// available.\n//\n// 1. `aria-labelledby` attribute\n// ```\n// <!-- example using aria-labelledby-->\n// <label id='label-id'>Start Date</label>\n// <input aria-labelledby='label-id'/>\n// ```\n// 2. `aria-label` attribute (e.g. `<input aria-label=\"Departure\"/>`)\n// 3. Label with `for`/`id`\n// ```\n// <!-- example using for/id -->\n// <label for=\"current-node\">Label</label>\n// <input id=\"current-node\"/>\n// ```\n// 4. `placeholder` attribute (e.g. `<input placeholder=\"06/03/1990\"/>`)\n// 5. `title` attribute (e.g. `<input title=\"Check-In\"/>`)\n// 6. text content\n// ```\n// <!-- example using text content -->\n// <label for=\"current-node\"><span>Departure</span> Date</label>\n// <input id=\"current-node\"/>\n// ```\n/**\n * Computes the *expected* ARIA accessible name for argument element based on [accname-1.2\n * specification](https://www.w3.org/TR/accname-1.2/). Implements a subset of accname-1.2,\n * and should only be used for the Datepicker's specific use case.\n *\n * Intended use:\n * This is not a general use implementation. Only implements the parts of accname-1.2 that are\n * required for the Datepicker's specific use case. This function is not intended for any other\n * use.\n *\n * Limitations:\n * - Only covers the needs of `matStartDate` and `matEndDate`. Does not support other use cases.\n * - See NOTES's in implementation for specific details on what parts of the accname-1.2\n * specification are not implemented.\n *\n * @param element {HTMLInputElement} native <input/> element of `matStartDate` or\n * `matEndDate` component. Corresponds to the 'Root Element' from accname-1.2\n *\n * @return expected ARIA accessible name of argument <input/>\n */\nfunction _computeAriaAccessibleName(element) {\n return _computeAriaAccessibleNameInternal(element, true);\n}\n/**\n * Determine if argument node is an Element based on `nodeType` property. This function is safe to\n * use with server-side rendering.\n */\nfunction ssrSafeIsElement(node) {\n return node.nodeType === Node.ELEMENT_NODE;\n}\n/**\n * Determine if argument node is an HTMLInputElement based on `nodeName` property. This funciton is\n * safe to use with server-side rendering.\n */\nfunction ssrSafeIsHTMLInputElement(node) {\n return node.nodeName === 'INPUT';\n}\n/**\n * Determine if argument node is an HTMLTextAreaElement based on `nodeName` property. This\n * funciton is safe to use with server-side rendering.\n */\nfunction ssrSafeIsHTMLTextAreaElement(node) {\n return node.nodeName === 'TEXTAREA';\n}\n/**\n * Calculate the expected ARIA accessible name for given DOM Node. Given DOM Node may be either the\n * \"Root node\" passed to `_computeAriaAccessibleName` or \"Current node\" as result of recursion.\n *\n * @return the accessible name of argument DOM Node\n *\n * @param currentNode node to determine accessible name of\n * @param isDirectlyReferenced true if `currentNode` is the root node to calculate ARIA accessible\n * name of. False if it is a result of recursion.\n */\nfunction _computeAriaAccessibleNameInternal(currentNode, isDirectlyReferenced) {\n // NOTE: this differs from accname-1.2 specification.\n // - Does not implement Step 1. of accname-1.2: '''If `currentNode`'s role prohibits naming,\n // return the empty string (\"\")'''.\n // - Does not implement Step 2.A. of accname-1.2: '''if current node is hidden and not directly\n // referenced by aria-labelledby... return the empty string.'''\n // acc-name-1.2 Step 2.B.: aria-labelledby\n if (ssrSafeIsElement(currentNode) && isDirectlyReferenced) {\n const labelledbyIds = currentNode.getAttribute?.('aria-labelledby')?.split(/\\s+/g) || [];\n const validIdRefs = labelledbyIds.reduce((validIds, id) => {\n const elem = document.getElementById(id);\n if (elem) {\n validIds.push(elem);\n }\n return validIds;\n }, []);\n if (validIdRefs.length) {\n return validIdRefs\n .map(idRef => {\n return _computeAriaAccessibleNameInternal(idRef, false);\n })\n .join(' ');\n }\n }\n // acc-name-1.2 Step 2.C.: aria-label\n if (ssrSafeIsElement(currentNode)) {\n const ariaLabel = currentNode.getAttribute('aria-label')?.trim();\n if (ariaLabel) {\n return ariaLabel;\n }\n }\n // acc-name-1.2 Step 2.D. attribute or element that defines a text alternative\n //\n // NOTE: this differs from accname-1.2 specification.\n // Only implements Step 2.D. for `<label>`,`<input/>`, and `<textarea/>` element. Does not\n // implement other elements that have an attribute or element that defines a text alternative.\n if (ssrSafeIsHTMLInputElement(currentNode) || ssrSafeIsHTMLTextAreaElement(currentNode)) {\n // use label with a `for` attribute referencing the current node\n if (currentNode.labels?.length) {\n return Array.from(currentNode.labels)\n .map(x => _computeAriaAccessibleNameInternal(x, false))\n .join(' ');\n }\n // use placeholder if available\n const placeholder = currentNode.getAttribute('placeholder')?.trim();\n if (placeholder) {\n return placeholder;\n }\n // use title if available\n const title = currentNode.getAttribute('title')?.trim();\n if (title) {\n return title;\n }\n }\n // NOTE: this differs from accname-1.2 specification.\n // - does not implement acc-name-1.2 Step 2.E.: '''if the current node is a control embedded\n // within the label... then include the embedded control as part of the text alternative in\n // the following manner...'''. Step 2E applies to embedded controls such as textbox, listbox,\n // range, etc.\n // - does not implement acc-name-1.2 step 2.F.: check that '''role allows name from content''',\n // which applies to `currentNode` and its children.\n // - does not implement acc-name-1.2 Step 2.F.ii.: '''Check for CSS generated textual content'''\n // (e.g. :before and :after).\n // - does not implement acc-name-1.2 Step 2.I.: '''if the current node has a Tooltip attribute,\n // return its value'''\n // Return text content with whitespace collapsed into a single space character. Accomplish\n // acc-name-1.2 steps 2F, 2G, and 2H.\n return (currentNode.textContent || '').replace(/\\s+/g, ' ').trim();\n}\n\n/**\n * Used to provide the date range input wrapper component\n * to the parts without circular dependencies.\n */\nconst MAT_DATE_RANGE_INPUT_PARENT = new InjectionToken('MAT_DATE_RANGE_INPUT_PARENT');\n/**\n * Base class for the individual inputs that can be projected inside a `mat-date-range-input`.\n */\nclass MatDateRangeInputPartBase extends MatDatepickerInputBase {\n constructor(_rangeInput, _elementRef, _defaultErrorStateMatcher, _injector, _parentForm, _parentFormGroup, dateAdapter, dateFormats) {\n super(_elementRef, dateAdapter, dateFormats);\n this._rangeInput = _rangeInput;\n this._elementRef = _elementRef;\n this._defaultErrorStateMatcher = _defaultErrorStateMatcher;\n this._injector = _injector;\n this._parentForm = _parentForm;\n this._parentFormGroup = _parentFormGroup;\n this._dir = inject(Directionality, { optional: true });\n }\n ngOnInit() {\n // We need the date input to provide itself as a `ControlValueAccessor` and a `Validator`, while\n // injecting its `NgControl` so that the error state is handled correctly. This introduces a\n // circular dependency, because both `ControlValueAccessor` and `Validator` depend on the input\n // itself. Usually we can work around it for the CVA, but there's no API to do it for the\n // validator. We work around it here by injecting the `NgControl` in `ngOnInit`, after\n // everything has been resolved.\n // tslint:disable-next-line:no-bitwise\n const ngControl = this._injector.get(NgControl, null, { optional: true, self: true });\n if (ngControl) {\n this.ngControl = ngControl;\n }\n }\n ngDoCheck() {\n if (this.ngControl) {\n // We need to re-evaluate this on every change detection cycle, because there are some\n // error triggers that we can't subscribe to (e.g. parent form submissions). This means\n // that whatever logic is in here has to be super lean or we risk destroying the performance.\n this.updateErrorState();\n }\n }\n /** Gets whether the input is empty. */\n isEmpty() {\n return this._elementRef.nativeElement.value.length === 0;\n }\n /** Gets the placeholder of the input. */\n _getPlaceholder() {\n return this._elementRef.nativeElement.placeholder;\n }\n /** Focuses the input. */\n focus() {\n this._elementRef.nativeElement.focus();\n }\n /** Gets the value that should be used when mirroring the input's size. */\n getMirrorValue() {\n const element = this._elementRef.nativeElement;\n const value = element.value;\n return value.length > 0 ? value : element.placeholder;\n }\n /** Handles `input` events on the input element. */\n _onInput(value) {\n super._onInput(value);\n this._rangeInput._handleChildValueChange();\n }\n /** Opens the datepicker associated with the input. */\n _openPopup() {\n this._rangeInput._openDatepicker();\n }\n /** Gets the minimum date from the range input. */\n _getMinDate() {\n return this._rangeInput.min;\n }\n /** Gets the maximum date from the range input. */\n _getMaxDate() {\n return this._rangeInput.max;\n }\n /** Gets the date filter function from the range input. */\n _getDateFilter() {\n return this._rangeInput.dateFilter;\n }\n _parentDisabled() {\n return this._rangeInput._groupDisabled;\n }\n _shouldHandleChangeEvent({ source }) {\n return source !== this._rangeInput._startInput && source !== this._rangeInput._endInput;\n }\n _assignValueProgrammatically(value) {\n super._assignValueProgrammatically(value);\n const opposite = (this === this._rangeInput._startInput\n ? this._rangeInput._endInput\n : this._rangeInput._startInput);\n opposite?._validatorOnChange();\n }\n /** return the ARIA accessible name of the input element */\n _getAccessibleName() {\n return _computeAriaAccessibleName(this._elementRef.nativeElement);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDateRangeInputPartBase, deps: [{ token: MAT_DATE_RANGE_INPUT_PARENT }, { token: i0.ElementRef }, { token: i1$1.ErrorStateMatcher }, { token: i0.Injector }, { token: i2$1.NgForm, optional: true }, { token: i2$1.FormGroupDirective, optional: true }, { token: i1$1.DateAdapter, optional: true }, { token: MAT_DATE_FORMATS, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatDateRangeInputPartBase, usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDateRangeInputPartBase, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [MAT_DATE_RANGE_INPUT_PARENT]\n }] }, { type: i0.ElementRef }, { type: i1$1.ErrorStateMatcher }, { type: i0.Injector }, { type: i2$1.NgForm, decorators: [{\n type: Optional\n }] }, { type: i2$1.FormGroupDirective, decorators: [{\n type: Optional\n }] }, { type: i1$1.DateAdapter, decorators: [{\n type: Optional\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_DATE_FORMATS]\n }] }]; } });\nconst _MatDateRangeInputBase = mixinErrorState(MatDateRangeInputPartBase);\n/** Input for entering the start date in a `mat-date-range-input`. */\nclass MatStartDate extends _MatDateRangeInputBase {\n constructor(rangeInput, elementRef, defaultErrorStateMatcher, injector, parentForm, parentFormGroup, dateAdapter, dateFormats) {\n super(rangeInput, elementRef, defaultErrorStateMatcher, injector, parentForm, parentFormGroup, dateAdapter, dateFormats);\n /** Validator that checks that the start date isn't after the end date. */\n this._startValidator = (control) => {\n const start = this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(control.value));\n const end = this._model ? this._model.selection.end : null;\n return !start || !end || this._dateAdapter.compareDate(start, end) <= 0\n ? null\n : { 'matStartDateInvalid': { 'end': end, 'actual': start } };\n };\n this._validator = Validators.compose([...super._getValidators(), this._startValidator]);\n }\n _getValueFromModel(modelValue) {\n return modelValue.start;\n }\n _shouldHandleChangeEvent(change) {\n if (!super._shouldHandleChangeEvent(change)) {\n return false;\n }\n else {\n return !change.oldValue?.start\n ? !!change.selection.start\n : !change.selection.start ||\n !!this._dateAdapter.compareDate(change.oldValue.start, change.selection.start);\n }\n }\n _assignValueToModel(value) {\n if (this._model) {\n const range = new DateRange(value, this._model.selection.end);\n this._model.updateSelection(range, this);\n }\n }\n _formatValue(value) {\n super._formatValue(value);\n // Any time the input value is reformatted we need to tell the parent.\n this._rangeInput._handleChildValueChange();\n }\n _onKeydown(event) {\n const endInput = this._rangeInput._endInput;\n const element = this._elementRef.nativeElement;\n const isLtr = this._dir?.value !== 'rtl';\n // If the user hits RIGHT (LTR) when at the end of the input (and no\n // selection), move the cursor to the start of the end input.\n if (((event.keyCode === RIGHT_ARROW && isLtr) || (event.keyCode === LEFT_ARROW && !isLtr)) &&\n element.selectionStart === element.value.length &&\n element.selectionEnd === element.value.length) {\n event.preventDefault();\n endInput._elementRef.nativeElement.setSelectionRange(0, 0);\n endInput.focus();\n }\n else {\n super._onKeydown(event);\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatStartDate, deps: [{ token: MAT_DATE_RANGE_INPUT_PARENT }, { token: i0.ElementRef }, { token: i1$1.ErrorStateMatcher }, { token: i0.Injector }, { token: i2$1.NgForm, optional: true }, { token: i2$1.FormGroupDirective, optional: true }, { token: i1$1.DateAdapter, optional: true }, { token: MAT_DATE_FORMATS, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatStartDate, selector: \"input[matStartDate]\", inputs: { errorStateMatcher: \"errorStateMatcher\" }, outputs: { dateChange: \"dateChange\", dateInput: \"dateInput\" }, host: { attributes: { \"type\": \"text\" }, listeners: { \"input\": \"_onInput($event.target.value)\", \"change\": \"_onChange()\", \"keydown\": \"_onKeydown($event)\", \"blur\": \"_onBlur()\" }, properties: { \"disabled\": \"disabled\", \"attr.aria-haspopup\": \"_rangeInput.rangePicker ? \\\"dialog\\\" : null\", \"attr.aria-owns\": \"(_rangeInput.rangePicker?.opened && _rangeInput.rangePicker.id) || null\", \"attr.min\": \"_getMinDate() ? _dateAdapter.toIso8601(_getMinDate()) : null\", \"attr.max\": \"_getMaxDate() ? _dateAdapter.toIso8601(_getMaxDate()) : null\" }, classAttribute: \"mat-start-date mat-date-range-input-inner\" }, providers: [\n { provide: NG_VALUE_ACCESSOR, useExisting: MatStartDate, multi: true },\n { provide: NG_VALIDATORS, useExisting: MatStartDate, multi: true },\n ], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatStartDate, decorators: [{\n type: Directive,\n args: [{\n selector: 'input[matStartDate]',\n host: {\n 'class': 'mat-start-date mat-date-range-input-inner',\n '[disabled]': 'disabled',\n '(input)': '_onInput($event.target.value)',\n '(change)': '_onChange()',\n '(keydown)': '_onKeydown($event)',\n '[attr.aria-haspopup]': '_rangeInput.rangePicker ? \"dialog\" : null',\n '[attr.aria-owns]': '(_rangeInput.rangePicker?.opened && _rangeInput.rangePicker.id) || null',\n '[attr.min]': '_getMinDate() ? _dateAdapter.toIso8601(_getMinDate()) : null',\n '[attr.max]': '_getMaxDate() ? _dateAdapter.toIso8601(_getMaxDate()) : null',\n '(blur)': '_onBlur()',\n 'type': 'text',\n },\n providers: [\n { provide: NG_VALUE_ACCESSOR, useExisting: MatStartDate, multi: true },\n { provide: NG_VALIDATORS, useExisting: MatStartDate, multi: true },\n ],\n // These need to be specified explicitly, because some tooling doesn't\n // seem to pick them up from the base class. See #20932.\n outputs: ['dateChange', 'dateInput'],\n inputs: ['errorStateMatcher'],\n }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [MAT_DATE_RANGE_INPUT_PARENT]\n }] }, { type: i0.ElementRef }, { type: i1$1.ErrorStateMatcher }, { type: i0.Injector }, { type: i2$1.NgForm, decorators: [{\n type: Optional\n }] }, { type: i2$1.FormGroupDirective, decorators: [{\n type: Optional\n }] }, { type: i1$1.DateAdapter, decorators: [{\n type: Optional\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_DATE_FORMATS]\n }] }]; } });\n/** Input for entering the end date in a `mat-date-range-input`. */\nclass MatEndDate extends _MatDateRangeInputBase {\n constructor(rangeInput, elementRef, defaultErrorStateMatcher, injector, parentForm, parentFormGroup, dateAdapter, dateFormats) {\n super(rangeInput, elementRef, defaultErrorStateMatcher, injector, parentForm, parentFormGroup, dateAdapter, dateFormats);\n /** Validator that checks that the end date isn't before the start date. */\n this._endValidator = (control) => {\n const end = this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(control.value));\n const start = this._model ? this._model.selection.start : null;\n return !end || !start || this._dateAdapter.compareDate(end, start) >= 0\n ? null\n : { 'matEndDateInvalid': { 'start': start, 'actual': end } };\n };\n this._validator = Validators.compose([...super._getValidators(), this._endValidator]);\n }\n _getValueFromModel(modelValue) {\n return modelValue.end;\n }\n _shouldHandleChangeEvent(change) {\n if (!super._shouldHandleChangeEvent(change)) {\n return false;\n }\n else {\n return !change.oldValue?.end\n ? !!change.selection.end\n : !change.selection.end ||\n !!this._dateAdapter.compareDate(change.oldValue.end, change.selection.end);\n }\n }\n _assignValueToModel(value) {\n if (this._model) {\n const range = new DateRange(this._model.selection.start, value);\n this._model.updateSelection(range, this);\n }\n }\n _onKeydown(event) {\n const startInput = this._rangeInput._startInput;\n const element = this._elementRef.nativeElement;\n const isLtr = this._dir?.value !== 'rtl';\n // If the user is pressing backspace on an empty end input, move focus back to the start.\n if (event.keyCode === BACKSPACE && !element.value) {\n startInput.focus();\n }\n // If the user hits LEFT (LTR) when at the start of the input (and no\n // selection), move the cursor to the end of the start input.\n else if (((event.keyCode === LEFT_ARROW && isLtr) || (event.keyCode === RIGHT_ARROW && !isLtr)) &&\n element.selectionStart === 0 &&\n element.selectionEnd === 0) {\n event.preventDefault();\n const endPosition = startInput._elementRef.nativeElement.value.length;\n startInput._elementRef.nativeElement.setSelectionRange(endPosition, endPosition);\n startInput.focus();\n }\n else {\n super._onKeydown(event);\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatEndDate, deps: [{ token: MAT_DATE_RANGE_INPUT_PARENT }, { token: i0.ElementRef }, { token: i1$1.ErrorStateMatcher }, { token: i0.Injector }, { token: i2$1.NgForm, optional: true }, { token: i2$1.FormGroupDirective, optional: true }, { token: i1$1.DateAdapter, optional: true }, { token: MAT_DATE_FORMATS, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatEndDate, selector: \"input[matEndDate]\", inputs: { errorStateMatcher: \"errorStateMatcher\" }, outputs: { dateChange: \"dateChange\", dateInput: \"dateInput\" }, host: { attributes: { \"type\": \"text\" }, listeners: { \"input\": \"_onInput($event.target.value)\", \"change\": \"_onChange()\", \"keydown\": \"_onKeydown($event)\", \"blur\": \"_onBlur()\" }, properties: { \"disabled\": \"disabled\", \"attr.aria-haspopup\": \"_rangeInput.rangePicker ? \\\"dialog\\\" : null\", \"attr.aria-owns\": \"(_rangeInput.rangePicker?.opened && _rangeInput.rangePicker.id) || null\", \"attr.min\": \"_getMinDate() ? _dateAdapter.toIso8601(_getMinDate()) : null\", \"attr.max\": \"_getMaxDate() ? _dateAdapter.toIso8601(_getMaxDate()) : null\" }, classAttribute: \"mat-end-date mat-date-range-input-inner\" }, providers: [\n { provide: NG_VALUE_ACCESSOR, useExisting: MatEndDate, multi: true },\n { provide: NG_VALIDATORS, useExisting: MatEndDate, multi: true },\n ], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatEndDate, decorators: [{\n type: Directive,\n args: [{\n selector: 'input[matEndDate]',\n host: {\n 'class': 'mat-end-date mat-date-range-input-inner',\n '[disabled]': 'disabled',\n '(input)': '_onInput($event.target.value)',\n '(change)': '_onChange()',\n '(keydown)': '_onKeydown($event)',\n '[attr.aria-haspopup]': '_rangeInput.rangePicker ? \"dialog\" : null',\n '[attr.aria-owns]': '(_rangeInput.rangePicker?.opened && _rangeInput.rangePicker.id) || null',\n '[attr.min]': '_getMinDate() ? _dateAdapter.toIso8601(_getMinDate()) : null',\n '[attr.max]': '_getMaxDate() ? _dateAdapter.toIso8601(_getMaxDate()) : null',\n '(blur)': '_onBlur()',\n 'type': 'text',\n },\n providers: [\n { provide: NG_VALUE_ACCESSOR, useExisting: MatEndDate, multi: true },\n { provide: NG_VALIDATORS, useExisting: MatEndDate, multi: true },\n ],\n // These need to be specified explicitly, because some tooling doesn't\n // seem to pick them up from the base class. See #20932.\n outputs: ['dateChange', 'dateInput'],\n inputs: ['errorStateMatcher'],\n }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [MAT_DATE_RANGE_INPUT_PARENT]\n }] }, { type: i0.ElementRef }, { type: i1$1.ErrorStateMatcher }, { type: i0.Injector }, { type: i2$1.NgForm, decorators: [{\n type: Optional\n }] }, { type: i2$1.FormGroupDirective, decorators: [{\n type: Optional\n }] }, { type: i1$1.DateAdapter, decorators: [{\n type: Optional\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_DATE_FORMATS]\n }] }]; } });\n\nlet nextUniqueId = 0;\nclass MatDateRangeInput {\n /** Current value of the range input. */\n get value() {\n return this._model ? this._model.selection : null;\n }\n /** Whether the control's label should float. */\n get shouldLabelFloat() {\n return this.focused || !this.empty;\n }\n /**\n * Implemented as a part of `MatFormFieldControl`.\n * Set the placeholder attribute on `matStartDate` and `matEndDate`.\n * @docs-private\n */\n get placeholder() {\n const start = this._startInput?._getPlaceholder() || '';\n const end = this._endInput?._getPlaceholder() || '';\n return start || end ? `${start} ${this.separator} ${end}` : '';\n }\n /** The range picker that this input is associated with. */\n get rangePicker() {\n return this._rangePicker;\n }\n set rangePicker(rangePicker) {\n if (rangePicker) {\n this._model = rangePicker.registerInput(this);\n this._rangePicker = rangePicker;\n this._closedSubscription.unsubscribe();\n this._closedSubscription = rangePicker.closedStream.subscribe(() => {\n this._startInput?._onTouched();\n this._endInput?._onTouched();\n });\n this._registerModel(this._model);\n }\n }\n /** Whether the input is required. */\n get required() {\n return (this._required ??\n (this._isTargetRequired(this) ||\n this._isTargetRequired(this._startInput) ||\n this._isTargetRequired(this._endInput)) ??\n false);\n }\n set required(value) {\n this._required = coerceBooleanProperty(value);\n }\n /** Function that can be used to filter out dates within the date range picker. */\n get dateFilter() {\n return this._dateFilter;\n }\n set dateFilter(value) {\n const start = this._startInput;\n const end = this._endInput;\n const wasMatchingStart = start && start._matchesFilter(start.value);\n const wasMatchingEnd = end && end._matchesFilter(start.value);\n this._dateFilter = value;\n if (start && start._matchesFilter(start.value) !== wasMatchingStart) {\n start._validatorOnChange();\n }\n if (end && end._matchesFilter(end.value) !== wasMatchingEnd) {\n end._validatorOnChange();\n }\n }\n /** The minimum valid date. */\n get min() {\n return this._min;\n }\n set min(value) {\n const validValue = this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(value));\n if (!this._dateAdapter.sameDate(validValue, this._min)) {\n this._min = validValue;\n this._revalidate();\n }\n }\n /** The maximum valid date. */\n get max() {\n return this._max;\n }\n set max(value) {\n const validValue = this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(value));\n if (!this._dateAdapter.sameDate(validValue, this._max)) {\n this._max = validValue;\n this._revalidate();\n }\n }\n /** Whether the input is disabled. */\n get disabled() {\n return this._startInput && this._endInput\n ? this._startInput.disabled && this._endInput.disabled\n : this._groupDisabled;\n }\n set disabled(value) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this._groupDisabled) {\n this._groupDisabled = newValue;\n this.stateChanges.next(undefined);\n }\n }\n /** Whether the input is in an error state. */\n get errorState() {\n if (this._startInput && this._endInput) {\n return this._startInput.errorState || this._endInput.errorState;\n }\n return false;\n }\n /** Whether the datepicker input is empty. */\n get empty() {\n const startEmpty = this._startInput ? this._startInput.isEmpty() : false;\n const endEmpty = this._endInput ? this._endInput.isEmpty() : false;\n return startEmpty && endEmpty;\n }\n constructor(_changeDetectorRef, _elementRef, control, _dateAdapter, _formField) {\n this._changeDetectorRef = _changeDetectorRef;\n this._elementRef = _elementRef;\n this._dateAdapter = _dateAdapter;\n this._formField = _formField;\n this._closedSubscription = Subscription.EMPTY;\n /** Unique ID for the group. */\n this.id = `mat-date-range-input-${nextUniqueId++}`;\n /** Whether the control is focused. */\n this.focused = false;\n /** Name of the form control. */\n this.controlType = 'mat-date-range-input';\n this._groupDisabled = false;\n /** Value for the `aria-describedby` attribute of the inputs. */\n this._ariaDescribedBy = null;\n /** Separator text to be shown between the inputs. */\n this.separator = '–';\n /** Start of the comparison range that should be shown in the calendar. */\n this.comparisonStart = null;\n /** End of the comparison range that should be shown in the calendar. */\n this.comparisonEnd = null;\n /** Emits when the input's state has changed. */\n this.stateChanges = new Subject();\n if (!_dateAdapter && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw createMissingDateImplError('DateAdapter');\n }\n // The datepicker module can be used both with MDC and non-MDC form fields. We have\n // to conditionally add the MDC input class so that the range picker looks correctly.\n if (_formField?._elementRef.nativeElement.classList.contains('mat-mdc-form-field')) {\n _elementRef.nativeElement.classList.add('mat-mdc-input-element', 'mat-mdc-form-field-input-control', 'mdc-text-field__input');\n }\n // TODO(crisbeto): remove `as any` after #18206 lands.\n this.ngControl = control;\n }\n /**\n * Implemented as a part of `MatFormFieldControl`.\n * @docs-private\n */\n setDescribedByIds(ids) {\n this._ariaDescribedBy = ids.length ? ids.join(' ') : null;\n }\n /**\n * Implemented as a part of `MatFormFieldControl`.\n * @docs-private\n */\n onContainerClick() {\n if (!this.focused && !this.disabled) {\n if (!this._model || !this._model.selection.start) {\n this._startInput.focus();\n }\n else {\n this._endInput.focus();\n }\n }\n }\n ngAfterContentInit() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!this._startInput) {\n throw Error('mat-date-range-input must contain a matStartDate input');\n }\n if (!this._endInput) {\n throw Error('mat-date-range-input must contain a matEndDate input');\n }\n }\n if (this._model) {\n this._registerModel(this._model);\n }\n // We don't need to unsubscribe from this, because we\n // know that the input streams will be completed on destroy.\n merge(this._startInput.stateChanges, this._endInput.stateChanges).subscribe(() => {\n this.stateChanges.next(undefined);\n });\n }\n ngOnChanges(changes) {\n if (dateInputsHaveChanged(changes, this._dateAdapter)) {\n this.stateChanges.next(undefined);\n }\n }\n ngOnDestroy() {\n this._closedSubscription.unsubscribe();\n this.stateChanges.complete();\n }\n /** Gets the date at which the calendar should start. */\n getStartValue() {\n return this.value ? this.value.start : null;\n }\n /** Gets the input's theme palette. */\n getThemePalette() {\n return this._formField ? this._formField.color : undefined;\n }\n /** Gets the element to which the calendar overlay should be attached. */\n getConnectedOverlayOrigin() {\n return this._formField ? this._formField.getConnectedOverlayOrigin() : this._elementRef;\n }\n /** Gets the ID of an element that should be used a description for the calendar overlay. */\n getOverlayLabelId() {\n return this._formField ? this._formField.getLabelId() : null;\n }\n /** Gets the value that is used to mirror the state input. */\n _getInputMirrorValue(part) {\n const input = part === 'start' ? this._startInput : this._endInput;\n return input ? input.getMirrorValue() : '';\n }\n /** Whether the input placeholders should be hidden. */\n _shouldHidePlaceholders() {\n return this._startInput ? !this._startInput.isEmpty() : false;\n }\n /** Handles the value in one of the child inputs changing. */\n _handleChildValueChange() {\n this.stateChanges.next(undefined);\n this._changeDetectorRef.markForCheck();\n }\n /** Opens the date range picker associated with the input. */\n _openDatepicker() {\n if (this._rangePicker) {\n this._rangePicker.open();\n }\n }\n /** Whether the separate text should be hidden. */\n _shouldHideSeparator() {\n return ((!this._formField ||\n (this._formField.getLabelId() && !this._formField._shouldLabelFloat())) &&\n this.empty);\n }\n /** Gets the value for the `aria-labelledby` attribute of the inputs. */\n _getAriaLabelledby() {\n const formField = this._formField;\n return formField && formField._hasFloatingLabel() ? formField._labelId : null;\n }\n _getStartDateAccessibleName() {\n return this._startInput._getAccessibleName();\n }\n _getEndDateAccessibleName() {\n return this._endInput._getAccessibleName();\n }\n /** Updates the focused state of the range input. */\n _updateFocus(origin) {\n this.focused = origin !== null;\n this.stateChanges.next();\n }\n /** Re-runs the validators on the start/end inputs. */\n _revalidate() {\n if (this._startInput) {\n this._startInput._validatorOnChange();\n }\n if (this._endInput) {\n this._endInput._validatorOnChange();\n }\n }\n /** Registers the current date selection model with the start/end inputs. */\n _registerModel(model) {\n if (this._startInput) {\n this._startInput._registerModel(model);\n }\n if (this._endInput) {\n this._endInput._registerModel(model);\n }\n }\n /** Checks whether a specific range input directive is required. */\n _isTargetRequired(target) {\n return target?.ngControl?.control?.hasValidator(Validators.required);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDateRangeInput, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i2$1.ControlContainer, optional: true, self: true }, { token: i1$1.DateAdapter, optional: true }, { token: MAT_FORM_FIELD, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatDateRangeInput, selector: \"mat-date-range-input\", inputs: { rangePicker: \"rangePicker\", required: \"required\", dateFilter: \"dateFilter\", min: \"min\", max: \"max\", disabled: \"disabled\", separator: \"separator\", comparisonStart: \"comparisonStart\", comparisonEnd: \"comparisonEnd\" }, host: { attributes: { \"role\": \"group\" }, properties: { \"class.mat-date-range-input-hide-placeholders\": \"_shouldHidePlaceholders()\", \"class.mat-date-range-input-required\": \"required\", \"attr.id\": \"id\", \"attr.aria-labelledby\": \"_getAriaLabelledby()\", \"attr.aria-describedby\": \"_ariaDescribedBy\", \"attr.data-mat-calendar\": \"rangePicker ? rangePicker.id : null\" }, classAttribute: \"mat-date-range-input\" }, providers: [\n { provide: MatFormFieldControl, useExisting: MatDateRangeInput },\n { provide: MAT_DATE_RANGE_INPUT_PARENT, useExisting: MatDateRangeInput },\n ], queries: [{ propertyName: \"_startInput\", first: true, predicate: MatStartDate, descendants: true }, { propertyName: \"_endInput\", first: true, predicate: MatEndDate, descendants: true }], exportAs: [\"matDateRangeInput\"], usesOnChanges: true, ngImport: i0, template: \"<div\\n class=\\\"mat-date-range-input-container\\\"\\n cdkMonitorSubtreeFocus\\n (cdkFocusChange)=\\\"_updateFocus($event)\\\">\\n <div class=\\\"mat-date-range-input-wrapper\\\">\\n <ng-content select=\\\"input[matStartDate]\\\"></ng-content>\\n <span\\n class=\\\"mat-date-range-input-mirror\\\"\\n aria-hidden=\\\"true\\\">{{_getInputMirrorValue('start')}}</span>\\n </div>\\n\\n <span\\n class=\\\"mat-date-range-input-separator\\\"\\n [class.mat-date-range-input-separator-hidden]=\\\"_shouldHideSeparator()\\\">{{separator}}</span>\\n\\n <div class=\\\"mat-date-range-input-wrapper mat-date-range-input-end-wrapper\\\">\\n <ng-content select=\\\"input[matEndDate]\\\"></ng-content>\\n <span\\n class=\\\"mat-date-range-input-mirror\\\"\\n aria-hidden=\\\"true\\\">{{_getInputMirrorValue('end')}}</span>\\n </div>\\n</div>\\n\\n\", styles: [\".mat-date-range-input{display:block;width:100%}.mat-date-range-input-container{display:flex;align-items:center}.mat-date-range-input-separator{transition:opacity 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);margin:0 4px}._mat-animation-noopable .mat-date-range-input-separator{transition:none}.mat-date-range-input-separator-hidden{-webkit-user-select:none;user-select:none;opacity:0;transition:none}.mat-date-range-input-wrapper{position:relative;overflow:hidden;max-width:calc(50% - 4px)}.mat-date-range-input-end-wrapper{flex-grow:1}.mat-date-range-input-inner{position:absolute;top:0;left:0;font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;vertical-align:bottom;text-align:inherit;-webkit-appearance:none;width:100%;height:100%}.mat-date-range-input-inner:-moz-ui-invalid{box-shadow:none}.mat-date-range-input-inner::placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-moz-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-webkit-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner:-ms-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-date-range-input-inner::placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-moz-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner:-ms-input-placeholder{transition:none}.mat-date-range-input-mirror{-webkit-user-select:none;user-select:none;visibility:hidden;white-space:nowrap;display:inline-block;min-width:2px}.mat-mdc-form-field-type-mat-date-range-input .mat-mdc-form-field-infix{width:200px}\"], dependencies: [{ kind: \"directive\", type: i5.CdkMonitorFocus, selector: \"[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]\", outputs: [\"cdkFocusChange\"], exportAs: [\"cdkMonitorFocus\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDateRangeInput, decorators: [{\n type: Component,\n args: [{ selector: 'mat-date-range-input', exportAs: 'matDateRangeInput', host: {\n 'class': 'mat-date-range-input',\n '[class.mat-date-range-input-hide-placeholders]': '_shouldHidePlaceholders()',\n '[class.mat-date-range-input-required]': 'required',\n '[attr.id]': 'id',\n 'role': 'group',\n '[attr.aria-labelledby]': '_getAriaLabelledby()',\n '[attr.aria-describedby]': '_ariaDescribedBy',\n // Used by the test harness to tie this input to its calendar. We can't depend on\n // `aria-owns` for this, because it's only defined while the calendar is open.\n '[attr.data-mat-calendar]': 'rangePicker ? rangePicker.id : null',\n }, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [\n { provide: MatFormFieldControl, useExisting: MatDateRangeInput },\n { provide: MAT_DATE_RANGE_INPUT_PARENT, useExisting: MatDateRangeInput },\n ], template: \"<div\\n class=\\\"mat-date-range-input-container\\\"\\n cdkMonitorSubtreeFocus\\n (cdkFocusChange)=\\\"_updateFocus($event)\\\">\\n <div class=\\\"mat-date-range-input-wrapper\\\">\\n <ng-content select=\\\"input[matStartDate]\\\"></ng-content>\\n <span\\n class=\\\"mat-date-range-input-mirror\\\"\\n aria-hidden=\\\"true\\\">{{_getInputMirrorValue('start')}}</span>\\n </div>\\n\\n <span\\n class=\\\"mat-date-range-input-separator\\\"\\n [class.mat-date-range-input-separator-hidden]=\\\"_shouldHideSeparator()\\\">{{separator}}</span>\\n\\n <div class=\\\"mat-date-range-input-wrapper mat-date-range-input-end-wrapper\\\">\\n <ng-content select=\\\"input[matEndDate]\\\"></ng-content>\\n <span\\n class=\\\"mat-date-range-input-mirror\\\"\\n aria-hidden=\\\"true\\\">{{_getInputMirrorValue('end')}}</span>\\n </div>\\n</div>\\n\\n\", styles: [\".mat-date-range-input{display:block;width:100%}.mat-date-range-input-container{display:flex;align-items:center}.mat-date-range-input-separator{transition:opacity 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);margin:0 4px}._mat-animation-noopable .mat-date-range-input-separator{transition:none}.mat-date-range-input-separator-hidden{-webkit-user-select:none;user-select:none;opacity:0;transition:none}.mat-date-range-input-wrapper{position:relative;overflow:hidden;max-width:calc(50% - 4px)}.mat-date-range-input-end-wrapper{flex-grow:1}.mat-date-range-input-inner{position:absolute;top:0;left:0;font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;vertical-align:bottom;text-align:inherit;-webkit-appearance:none;width:100%;height:100%}.mat-date-range-input-inner:-moz-ui-invalid{box-shadow:none}.mat-date-range-input-inner::placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-moz-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-webkit-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner:-ms-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-date-range-input-inner::placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-moz-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner:-ms-input-placeholder{transition:none}.mat-date-range-input-mirror{-webkit-user-select:none;user-select:none;visibility:hidden;white-space:nowrap;display:inline-block;min-width:2px}.mat-mdc-form-field-type-mat-date-range-input .mat-mdc-form-field-infix{width:200px}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i2$1.ControlContainer, decorators: [{\n type: Optional\n }, {\n type: Self\n }] }, { type: i1$1.DateAdapter, decorators: [{\n type: Optional\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_FORM_FIELD]\n }] }]; }, propDecorators: { rangePicker: [{\n type: Input\n }], required: [{\n type: Input\n }], dateFilter: [{\n type: Input\n }], min: [{\n type: Input\n }], max: [{\n type: Input\n }], disabled: [{\n type: Input\n }], separator: [{\n type: Input\n }], comparisonStart: [{\n type: Input\n }], comparisonEnd: [{\n type: Input\n }], _startInput: [{\n type: ContentChild,\n args: [MatStartDate]\n }], _endInput: [{\n type: ContentChild,\n args: [MatEndDate]\n }] } });\n\n// TODO(mmalerba): We use a component instead of a directive here so the user can use implicit\n// template reference variables (e.g. #d vs #d=\"matDateRangePicker\"). We can change this to a\n// directive if angular adds support for `exportAs: '$implicit'` on directives.\n/** Component responsible for managing the date range picker popup/dialog. */\nclass MatDateRangePicker extends MatDatepickerBase {\n _forwardContentValues(instance) {\n super._forwardContentValues(instance);\n const input = this.datepickerInput;\n if (input) {\n instance.comparisonStart = input.comparisonStart;\n instance.comparisonEnd = input.comparisonEnd;\n instance.startDateAccessibleName = input._getStartDateAccessibleName();\n instance.endDateAccessibleName = input._getEndDateAccessibleName();\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDateRangePicker, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatDateRangePicker, selector: \"mat-date-range-picker\", providers: [\n MAT_RANGE_DATE_SELECTION_MODEL_PROVIDER,\n MAT_CALENDAR_RANGE_STRATEGY_PROVIDER,\n { provide: MatDatepickerBase, useExisting: MatDateRangePicker },\n ], exportAs: [\"matDateRangePicker\"], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDateRangePicker, decorators: [{\n type: Component,\n args: [{\n selector: 'mat-date-range-picker',\n template: '',\n exportAs: 'matDateRangePicker',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n MAT_RANGE_DATE_SELECTION_MODEL_PROVIDER,\n MAT_CALENDAR_RANGE_STRATEGY_PROVIDER,\n { provide: MatDatepickerBase, useExisting: MatDateRangePicker },\n ],\n }]\n }] });\n\n/** Button that will close the datepicker and assign the current selection to the data model. */\nclass MatDatepickerApply {\n constructor(_datepicker) {\n this._datepicker = _datepicker;\n }\n _applySelection() {\n this._datepicker._applyPendingSelection();\n this._datepicker.close();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDatepickerApply, deps: [{ token: MatDatepickerBase }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatDatepickerApply, selector: \"[matDatepickerApply], [matDateRangePickerApply]\", host: { listeners: { \"click\": \"_applySelection()\" } }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDatepickerApply, decorators: [{\n type: Directive,\n args: [{\n selector: '[matDatepickerApply], [matDateRangePickerApply]',\n host: { '(click)': '_applySelection()' },\n }]\n }], ctorParameters: function () { return [{ type: MatDatepickerBase }]; } });\n/** Button that will close the datepicker and discard the current selection. */\nclass MatDatepickerCancel {\n constructor(_datepicker) {\n this._datepicker = _datepicker;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDatepickerCancel, deps: [{ token: MatDatepickerBase }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatDatepickerCancel, selector: \"[matDatepickerCancel], [matDateRangePickerCancel]\", host: { listeners: { \"click\": \"_datepicker.close()\" } }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDatepickerCancel, decorators: [{\n type: Directive,\n args: [{\n selector: '[matDatepickerCancel], [matDateRangePickerCancel]',\n host: { '(click)': '_datepicker.close()' },\n }]\n }], ctorParameters: function () { return [{ type: MatDatepickerBase }]; } });\n/**\n * Container that can be used to project a row of action buttons\n * to the bottom of a datepicker or date range picker.\n */\nclass MatDatepickerActions {\n constructor(_datepicker, _viewContainerRef) {\n this._datepicker = _datepicker;\n this._viewContainerRef = _viewContainerRef;\n }\n ngAfterViewInit() {\n this._portal = new TemplatePortal(this._template, this._viewContainerRef);\n this._datepicker.registerActions(this._portal);\n }\n ngOnDestroy() {\n this._datepicker.removeActions(this._portal);\n // Needs to be null checked since we initialize it in `ngAfterViewInit`.\n if (this._portal && this._portal.isAttached) {\n this._portal?.detach();\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDatepickerActions, deps: [{ token: MatDatepickerBase }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatDatepickerActions, selector: \"mat-datepicker-actions, mat-date-range-picker-actions\", viewQueries: [{ propertyName: \"_template\", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: `\n <ng-template>\n <div class=\"mat-datepicker-actions\">\n <ng-content></ng-content>\n </div>\n </ng-template>\n `, isInline: true, styles: [\".mat-datepicker-actions{display:flex;justify-content:flex-end;align-items:center;padding:0 8px 8px 8px}.mat-datepicker-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDatepickerActions, decorators: [{\n type: Component,\n args: [{ selector: 'mat-datepicker-actions, mat-date-range-picker-actions', template: `\n <ng-template>\n <div class=\"mat-datepicker-actions\">\n <ng-content></ng-content>\n </div>\n </ng-template>\n `, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, styles: [\".mat-datepicker-actions{display:flex;justify-content:flex-end;align-items:center;padding:0 8px 8px 8px}.mat-datepicker-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\"] }]\n }], ctorParameters: function () { return [{ type: MatDatepickerBase }, { type: i0.ViewContainerRef }]; }, propDecorators: { _template: [{\n type: ViewChild,\n args: [TemplateRef]\n }] } });\n\nclass MatDatepickerModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDatepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDatepickerModule, declarations: [MatCalendar,\n MatCalendarBody,\n MatDatepicker,\n MatDatepickerContent,\n MatDatepickerInput,\n MatDatepickerToggle,\n MatDatepickerToggleIcon,\n MatMonthView,\n MatYearView,\n MatMultiYearView,\n MatCalendarHeader,\n MatDateRangeInput,\n MatStartDate,\n MatEndDate,\n MatDateRangePicker,\n MatDatepickerActions,\n MatDatepickerCancel,\n MatDatepickerApply], imports: [CommonModule,\n MatButtonModule,\n OverlayModule,\n A11yModule,\n PortalModule,\n MatCommonModule], exports: [CdkScrollableModule,\n MatCalendar,\n MatCalendarBody,\n MatDatepicker,\n MatDatepickerContent,\n MatDatepickerInput,\n MatDatepickerToggle,\n MatDatepickerToggleIcon,\n MatMonthView,\n MatYearView,\n MatMultiYearView,\n MatCalendarHeader,\n MatDateRangeInput,\n MatStartDate,\n MatEndDate,\n MatDateRangePicker,\n MatDatepickerActions,\n MatDatepickerCancel,\n MatDatepickerApply] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDatepickerModule, providers: [MatDatepickerIntl, MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER], imports: [CommonModule,\n MatButtonModule,\n OverlayModule,\n A11yModule,\n PortalModule,\n MatCommonModule, CdkScrollableModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDatepickerModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule,\n MatButtonModule,\n OverlayModule,\n A11yModule,\n PortalModule,\n MatCommonModule,\n ],\n exports: [\n CdkScrollableModule,\n MatCalendar,\n MatCalendarBody,\n MatDatepicker,\n MatDatepickerContent,\n MatDatepickerInput,\n MatDatepickerToggle,\n MatDatepickerToggleIcon,\n MatMonthView,\n MatYearView,\n MatMultiYearView,\n MatCalendarHeader,\n MatDateRangeInput,\n MatStartDate,\n MatEndDate,\n MatDateRangePicker,\n MatDatepickerActions,\n MatDatepickerCancel,\n MatDatepickerApply,\n ],\n declarations: [\n MatCalendar,\n MatCalendarBody,\n MatDatepicker,\n MatDatepickerContent,\n MatDatepickerInput,\n MatDatepickerToggle,\n MatDatepickerToggleIcon,\n MatMonthView,\n MatYearView,\n MatMultiYearView,\n MatCalendarHeader,\n MatDateRangeInput,\n MatStartDate,\n MatEndDate,\n MatDateRangePicker,\n MatDatepickerActions,\n MatDatepickerCancel,\n MatDatepickerApply,\n ],\n providers: [MatDatepickerIntl, MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { DateRange, DefaultMatCalendarRangeStrategy, MAT_DATEPICKER_SCROLL_STRATEGY, MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY, MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER, MAT_DATEPICKER_VALIDATORS, MAT_DATEPICKER_VALUE_ACCESSOR, MAT_DATE_RANGE_SELECTION_STRATEGY, MAT_RANGE_DATE_SELECTION_MODEL_FACTORY, MAT_RANGE_DATE_SELECTION_MODEL_PROVIDER, MAT_SINGLE_DATE_SELECTION_MODEL_FACTORY, MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER, MatCalendar, MatCalendarBody, MatCalendarCell, MatCalendarHeader, MatDateRangeInput, MatDateRangePicker, MatDateSelectionModel, MatDatepicker, MatDatepickerActions, MatDatepickerApply, MatDatepickerCancel, MatDatepickerContent, MatDatepickerInput, MatDatepickerInputEvent, MatDatepickerIntl, MatDatepickerModule, MatDatepickerToggle, MatDatepickerToggleIcon, MatEndDate, MatMonthView, MatMultiYearView, MatRangeDateSelectionModel, MatSingleDateSelectionModel, MatStartDate, MatYearView, matDatepickerAnimations, yearsPerPage, yearsPerRow };\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45]} \ No newline at end of file diff --git a/6892.725faee0a79d78c4.js b/6892.725faee0a79d78c4.js new file mode 100644 index 0000000..e843bae --- /dev/null +++ b/6892.725faee0a79d78c4.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[6892,5106,1551],{50253:(O,h,r)=>{r.d(h,{x:()=>k});var v=r(95106),f=r(78069),s=r(48047),c=r(4089),u=r(20265),y=r(24582),_=r(28694),l=r(90833),p=r(17714),g=(0,r(27543).d)(function(M){return function(){M(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),I=r(39663),A=r(12309),k=function(){var M=function(S){(0,y.Z)(b,S);var E=(0,_.Z)(b);function b(){var n;return(0,f.Z)(this,b),(n=E.call(this)).closed=!1,n.currentObservers=null,n.observers=[],n.isStopped=!1,n.hasError=!1,n.thrownError=null,n}return(0,s.Z)(b,[{key:"lift",value:function(e){var i=new R(this,this);return i.operator=e,i}},{key:"_throwIfClosed",value:function(){if(this.closed)throw new g}},{key:"next",value:function(e){var i=this;(0,A.x)(function(){if(i._throwIfClosed(),!i.isStopped){i.currentObservers||(i.currentObservers=Array.from(i.observers));var a,o=(0,v.Z)(i.currentObservers);try{for(o.s();!(a=o.n()).done;)a.value.next(e)}catch(m){o.e(m)}finally{o.f()}}})}},{key:"error",value:function(e){var i=this;(0,A.x)(function(){if(i._throwIfClosed(),!i.isStopped){i.hasError=i.isStopped=!0,i.thrownError=e;for(var o=i.observers;o.length;)o.shift().error(e)}})}},{key:"complete",value:function(){var e=this;(0,A.x)(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var i=e.observers;i.length;)i.shift().complete()}})}},{key:"unsubscribe",value:function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}},{key:"observed",get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}},{key:"_trySubscribe",value:function(e){return this._throwIfClosed(),(0,c.Z)((0,u.Z)(b.prototype),"_trySubscribe",this).call(this,e)}},{key:"_subscribe",value:function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}},{key:"_innerSubscribe",value:function(e){var i=this,t=this.observers;return this.hasError||this.isStopped?p.Lc:(this.currentObservers=null,t.push(e),new p.w0(function(){i.currentObservers=null,(0,I.P)(t,e)}))}},{key:"_checkFinalizedStatuses",value:function(e){var a=this.isStopped;this.hasError?e.error(this.thrownError):a&&e.complete()}},{key:"asObservable",value:function(){var e=new l.y;return e.source=this,e}}]),b}(l.y);return M.create=function(S,E){return new R(S,E)},M}(),R=function(M){(0,y.Z)(E,M);var S=(0,_.Z)(E);function E(b,n){var e;return(0,f.Z)(this,E),(e=S.call(this)).destination=b,e.source=n,e}return(0,s.Z)(E,[{key:"next",value:function(n){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===i||i.call(e,n)}},{key:"error",value:function(n){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===i||i.call(e,n)}},{key:"complete",value:function(){var n,e;null===(e=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===e||e.call(n)}},{key:"_subscribe",value:function(n){var e,i;return null!==(i=null===(e=this.source)||void 0===e?void 0:e.subscribe(n))&&void 0!==i?i:p.Lc}}]),E}(k)},4322:(O,h,r)=>{r.r(h),r.d(h,{MAT_INPUT_VALUE_ACCESSOR:()=>k,MatInput:()=>E,MatInputModule:()=>b,getMatInputUnsupportedTypeError:()=>A});var v=r(24582),f=r(28694),s=r(48047),c=r(78069),u=r(35333),y=r(23675),_=r(41187),l=r(56718),p=r(47405),C=r(6606),g=r(137),I=r(50253);function A(n){return Error('Input type "'.concat(n,"\" isn't supported by matInput."))}var k=new l.InjectionToken("MAT_INPUT_VALUE_ACCESSOR"),R=["button","checkbox","file","hidden","image","radio","range","reset","submit"],M=0,S=(0,C.mixinErrorState)(function(){return(0,s.Z)(function n(e,i,o,a){(0,c.Z)(this,n),this._defaultErrorStateMatcher=e,this._parentForm=i,this._parentFormGroup=o,this.ngControl=a,this.stateChanges=new I.x})}()),E=function(){var n=function(e){(0,v.Z)(o,e);var i=(0,f.Z)(o);function o(a,t,m,P,T,F,L,N,U,w){var d;(0,c.Z)(this,o),(d=i.call(this,F,P,T,m))._elementRef=a,d._platform=t,d._autofillMonitor=N,d._formField=w,d._uid="mat-input-".concat(M++),d.focused=!1,d.stateChanges=new I.x,d.controlType="mat-input",d.autofilled=!1,d._disabled=!1,d._type="text",d._readonly=!1,d._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(function(j){return(0,y.getSupportedInputTypes)().has(j)}),d._iOSKeyupListener=function(j){var D=j.target;!D.value&&0===D.selectionStart&&0===D.selectionEnd&&(D.setSelectionRange(1,1),D.setSelectionRange(0,0))};var B=d._elementRef.nativeElement,Z=B.nodeName.toLowerCase();return d._inputValueAccessor=L||B,d._previousNativeValue=d.value,d.id=d.id,t.IOS&&U.runOutsideAngular(function(){a.nativeElement.addEventListener("keyup",d._iOSKeyupListener)}),d._isServer=!d._platform.isBrowser,d._isNativeSelect="select"===Z,d._isTextarea="textarea"===Z,d._isInFormField=!!w,d._isNativeSelect&&(d.controlType=B.multiple?"mat-native-select-multiple":"mat-native-select"),d}return(0,s.Z)(o,[{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=(0,u.coerceBooleanProperty)(t),this.focused&&(this.focused=!1,this.stateChanges.next())}},{key:"id",get:function(){return this._id},set:function(t){this._id=t||this._uid}},{key:"required",get:function(){var t,m,P,T;return null!==(t=null!==(m=this._required)&&void 0!==m?m:null===(P=this.ngControl)||void 0===P||null===(T=P.control)||void 0===T?void 0:T.hasValidator(p.Validators.required))&&void 0!==t&&t},set:function(t){this._required=(0,u.coerceBooleanProperty)(t)}},{key:"type",get:function(){return this._type},set:function(t){this._type=t||"text",this._validateType(),!this._isTextarea&&(0,y.getSupportedInputTypes)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}},{key:"value",get:function(){return this._inputValueAccessor.value},set:function(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())}},{key:"readonly",get:function(){return this._readonly},set:function(t){this._readonly=(0,u.coerceBooleanProperty)(t)}},{key:"ngAfterViewInit",value:function(){var t=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(function(m){t.autofilled=m.isAutofilled,t.stateChanges.next()})}},{key:"ngOnChanges",value:function(){this.stateChanges.next()}},{key:"ngOnDestroy",value:function(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}},{key:"ngDoCheck",value:function(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}},{key:"focus",value:function(t){this._elementRef.nativeElement.focus(t)}},{key:"_focusChanged",value:function(t){t!==this.focused&&(this.focused=t,this.stateChanges.next())}},{key:"_onInput",value:function(){}},{key:"_dirtyCheckNativeValue",value:function(){var t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}},{key:"_dirtyCheckPlaceholder",value:function(){var t=this._getPlaceholder();if(t!==this._previousPlaceholder){var m=this._elementRef.nativeElement;this._previousPlaceholder=t,t?m.setAttribute("placeholder",t):m.removeAttribute("placeholder")}}},{key:"_getPlaceholder",value:function(){return this.placeholder||null}},{key:"_validateType",value:function(){R.indexOf(this._type)}},{key:"_isNeverEmpty",value:function(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}},{key:"_isBadInput",value:function(){var t=this._elementRef.nativeElement.validity;return t&&t.badInput}},{key:"empty",get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}},{key:"shouldLabelFloat",get:function(){if(this._isNativeSelect){var t=this._elementRef.nativeElement,m=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&m&&m.label)}return this.focused||!this.empty}},{key:"setDescribedByIds",value:function(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}},{key:"onContainerClick",value:function(){this.focused||this.focus()}},{key:"_isInlineSelect",value:function(){var t=this._elementRef.nativeElement;return this._isNativeSelect&&(t.multiple||t.size>1)}}]),o}(S);return n.\u0275fac=function(i){return new(i||n)(l.\u0275\u0275directiveInject(l.ElementRef),l.\u0275\u0275directiveInject(y.Platform),l.\u0275\u0275directiveInject(p.NgControl,10),l.\u0275\u0275directiveInject(p.NgForm,8),l.\u0275\u0275directiveInject(p.FormGroupDirective,8),l.\u0275\u0275directiveInject(C.ErrorStateMatcher),l.\u0275\u0275directiveInject(k,10),l.\u0275\u0275directiveInject(_.AutofillMonitor),l.\u0275\u0275directiveInject(l.NgZone),l.\u0275\u0275directiveInject(g.MAT_FORM_FIELD,8))},n.\u0275dir=l.\u0275\u0275defineDirective({type:n,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(i,o){1&i&&l.\u0275\u0275listener("focus",function(){return o._focusChanged(!0)})("blur",function(){return o._focusChanged(!1)})("input",function(){return o._onInput()}),2&i&&(l.\u0275\u0275hostProperty("id",o.id)("disabled",o.disabled)("required",o.required),l.\u0275\u0275attribute("name",o.name||null)("readonly",o.readonly&&!o._isNativeSelect||null)("aria-invalid",o.empty&&o.required?null:o.errorState)("aria-required",o.required)("id",o.id),l.\u0275\u0275classProp("mat-input-server",o._isServer)("mat-mdc-form-field-textarea-control",o._isInFormField&&o._isTextarea)("mat-mdc-form-field-input-control",o._isInFormField)("mdc-text-field__input",o._isInFormField)("mat-mdc-native-select-inline",o._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[l.\u0275\u0275ProvidersFeature([{provide:g.MatFormFieldControl,useExisting:n}]),l.\u0275\u0275InheritDefinitionFeature,l.\u0275\u0275NgOnChangesFeature]}),n}(),b=function(){var n=(0,s.Z)(function e(){(0,c.Z)(this,e)});return n.\u0275fac=function(i){return new(i||n)},n.\u0275mod=l.\u0275\u0275defineNgModule({type:n}),n.\u0275inj=l.\u0275\u0275defineInjector({imports:[C.MatCommonModule,g.MatFormFieldModule,g.MatFormFieldModule,_.TextFieldModule,C.MatCommonModule]}),n}()},44841:(O,h,r)=>{function v(f,s){(null==s||s>f.length)&&(s=f.length);for(var c=0,u=new Array(s);c<s;c++)u[c]=f[c];return u}r.d(h,{Z:()=>v})},95106:(O,h,r)=>{r.d(h,{Z:()=>f});var v=r(44206);function f(s,c){var u=typeof Symbol<"u"&&s[Symbol.iterator]||s["@@iterator"];if(!u){if(Array.isArray(s)||(u=(0,v.Z)(s))||c&&s&&"number"==typeof s.length){u&&(s=u);var y=0,_=function(){};return{s:_,n:function(){return y>=s.length?{done:!0}:{done:!1,value:s[y++]}},e:function(I){throw I},f:_}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var C,l=!0,p=!1;return{s:function(){u=u.call(s)},n:function(){var I=u.next();return l=I.done,I},e:function(I){p=!0,C=I},f:function(){try{!l&&null!=u.return&&u.return()}finally{if(p)throw C}}}}},4089:(O,h,r)=>{r.d(h,{Z:()=>s});var v=r(20265);function s(){return s=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(u,y,_){var l=function f(c,u){for(;!Object.prototype.hasOwnProperty.call(c,u)&&null!==(c=(0,v.Z)(c)););return c}(u,y);if(l){var p=Object.getOwnPropertyDescriptor(l,y);return p.get?p.get.call(arguments.length<3?u:_):p.value}},s.apply(this,arguments)}},4826:(O,h,r)=>{function v(f){if(typeof Symbol<"u"&&null!=f[Symbol.iterator]||null!=f["@@iterator"])return Array.from(f)}r.d(h,{Z:()=>v})},86170:(O,h,r)=>{r.d(h,{Z:()=>y});var v=r(44841),s=r(4826),c=r(44206);function y(_){return function f(_){if(Array.isArray(_))return(0,v.Z)(_)}(_)||(0,s.Z)(_)||(0,c.Z)(_)||function u(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(O,h,r)=>{r.d(h,{Z:()=>f});var v=r(44841);function f(s,c){if(s){if("string"==typeof s)return(0,v.Z)(s,c);var u=Object.prototype.toString.call(s).slice(8,-1);if("Object"===u&&s.constructor&&(u=s.constructor.name),"Map"===u||"Set"===u)return Array.from(s);if("Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return(0,v.Z)(s,c)}}}}]); +//# sourceMappingURL=6892.725faee0a79d78c4.js.map \ No newline at end of file diff --git a/6892.725faee0a79d78c4.js.map b/6892.725faee0a79d78c4.js.map new file mode 100644 index 0000000..8a96557 --- /dev/null +++ b/6892.725faee0a79d78c4.js.map @@ -0,0 +1 @@ +{"version":3,"file":"6892.725faee0a79d78c4.js","mappings":"mNACaA,cAA0BC,GAAiB,SAACC,GAAM,OAAK,WAChEA,EAAOC,MACPA,KAAKC,KAAO,0BACZD,KAAKE,QAAU,qBACnB,CAAC,yBCAYC,EAAO,eAAPA,EAAO,SAAAC,IAAAC,OAAAF,EAAAC,GAAA,IAAAL,KAAAO,KAAAH,GAChB,SAAAA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SAAAqC,EAAArC,GACf,GAAAlL,MAAA2L,QAAAT,GAAA,SAAiCsC,EAAA3B,GAAgBX,EACjD,CDESqC,CAAiBrC,KAAA,EAASuC,EAAA5B,GAAeX,KAAA,EAASwC,EAAA7B,GAA0BX,IELtE,SAAAyC,IACf,UAAA3B,UAAA,uIACA,CFG8F2B,EAC9F,mDGLe,SAAAC,EAAAtC,EAAAuC,GACf,GAAAvC,EACA,qBAAAA,EAAA,SAAoCwC,EAAAjC,GAAgBP,EAAAuC,GACpD,IAAAvN,EAAAuM,OAAAtL,UAAAwM,SAAA/O,KAAAsM,GAAA0C,MAAA,MAEA,GADA,WAAA1N,GAAAgL,EAAA2C,cAAA3N,EAAAgL,EAAA2C,YAAAzP,MACA,QAAA8B,GAAA,QAAAA,EAAA,OAAAN,MAAAC,KAAAqL,GACA,iBAAAhL,GAAA,2CAAA4N,KAAA5N,GAAA,SAAsFwN,EAAAjC,GAAgBP,EAAAuC,EAAA,CACtG","names":["ObjectUnsubscribedError","createErrorClass","_super","this","name","message","Subject","_Observable","_inherits","_createSuper","_this","_classCallCheck","call","closed","currentObservers","observers","isStopped","hasError","thrownError","_createClass","key","value","operator","subject","AnonymousSubject","_this2","errorContext","_throwIfClosed","Array","from","_step","_iterator","_createForOfIteratorHelper","s","n","done","next","err","e","f","_this3","length","shift","error","_this4","complete","get","_a","subscriber","_get","_getPrototypeOf","prototype","_checkFinalizedStatuses","_innerSubscribe","_this5","EMPTY_SUBSCRIPTION","push","Subscription","arrRemove","observable","Observable","source","create","destination","_Subject","_super2","_this6","_b","subscribe","getMatInputUnsupportedTypeError","type","Error","concat","MAT_INPUT_VALUE_ACCESSOR","InjectionToken","MAT_INPUT_INVALID_TYPES","nextUniqueId","_MatInputBase","mixinErrorState","_class","_defaultErrorStateMatcher","_parentForm","_parentFormGroup","ngControl","stateChanges","MatInput","_MatInputBase2","_elementRef","_platform","inputValueAccessor","_autofillMonitor","ngZone","_formField","_uid","focused","controlType","autofilled","_disabled","_type","_readonly","_neverEmptyInputTypes","filter","t","getSupportedInputTypes","has","_iOSKeyupListener","event","el","target","selectionStart","selectionEnd","setSelectionRange","element","nativeElement","nodeName","toLowerCase","_inputValueAccessor","_previousNativeValue","id","IOS","runOutsideAngular","addEventListener","_isServer","isBrowser","_isNativeSelect","_isTextarea","_isInFormField","multiple","set","coerceBooleanProperty","_id","_ref","_this$_required","_this$ngControl","_this$ngControl$contr","_required","control","hasValidator","Validators","_validateType","monitor","isAutofilled","stopMonitoring","removeEventListener","updateErrorState","disabled","_dirtyCheckNativeValue","_dirtyCheckPlaceholder","options","focus","isFocused","newValue","placeholder","_getPlaceholder","_previousPlaceholder","setAttribute","removeAttribute","indexOf","validity","badInput","_isNeverEmpty","_isBadInput","selectElement","firstOption","empty","selectedIndex","label","ids","join","size","ɵfac","i0","i1","i2","i3","i4","MAT_FORM_FIELD","ɵdir","selectors","hostAttrs","hostVars","hostBindings","rf","ctx","_focusChanged","_onInput","required","readonly","errorState","_isInlineSelect","inputs","errorStateMatcher","userAriaDescribedBy","exportAs","features","provide","MatFormFieldControl","useExisting","MatInputModule","ɵmod","ɵinj","imports","MatCommonModule","MatFormFieldModule","TextFieldModule","_arrayLikeToArray","arr","len","i","arr2","o","allowArrayLike","it","Symbol","iterator","isArray","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","_e","TypeError","normalCompletion","didErr","step","_e2","return","Reflect","bind","property","receiver","base","_superPropBase","object","Object","hasOwnProperty","getPrototypeOf","desc","getOwnPropertyDescriptor","arguments","apply","_iterableToArray","iter","_toConsumableArray","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","toString","slice","constructor","test"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/util/ObjectUnsubscribedError.js","./node_modules/rxjs/dist/esm/internal/Subject.js","./node_modules/@angular/material/fesm2022/input.mjs","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { createErrorClass } from './createErrorClass';\nexport const ObjectUnsubscribedError = createErrorClass((_super) => function ObjectUnsubscribedErrorImpl() {\n _super(this);\n this.name = 'ObjectUnsubscribedError';\n this.message = 'object unsubscribed';\n});\n","import { Observable } from './Observable';\nimport { Subscription, EMPTY_SUBSCRIPTION } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { arrRemove } from './util/arrRemove';\nimport { errorContext } from './util/errorContext';\nexport class Subject extends Observable {\n constructor() {\n super();\n this.closed = false;\n this.currentObservers = null;\n this.observers = [];\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n lift(operator) {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n }\n _throwIfClosed() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n }\n next(value) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n if (!this.currentObservers) {\n this.currentObservers = Array.from(this.observers);\n }\n for (const observer of this.currentObservers) {\n observer.next(value);\n }\n }\n });\n }\n error(err) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.hasError = this.isStopped = true;\n this.thrownError = err;\n const { observers } = this;\n while (observers.length) {\n observers.shift().error(err);\n }\n }\n });\n }\n complete() {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.isStopped = true;\n const { observers } = this;\n while (observers.length) {\n observers.shift().complete();\n }\n }\n });\n }\n unsubscribe() {\n this.isStopped = this.closed = true;\n this.observers = this.currentObservers = null;\n }\n get observed() {\n var _a;\n return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;\n }\n _trySubscribe(subscriber) {\n this._throwIfClosed();\n return super._trySubscribe(subscriber);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._checkFinalizedStatuses(subscriber);\n return this._innerSubscribe(subscriber);\n }\n _innerSubscribe(subscriber) {\n const { hasError, isStopped, observers } = this;\n if (hasError || isStopped) {\n return EMPTY_SUBSCRIPTION;\n }\n this.currentObservers = null;\n observers.push(subscriber);\n return new Subscription(() => {\n this.currentObservers = null;\n arrRemove(observers, subscriber);\n });\n }\n _checkFinalizedStatuses(subscriber) {\n const { hasError, thrownError, isStopped } = this;\n if (hasError) {\n subscriber.error(thrownError);\n }\n else if (isStopped) {\n subscriber.complete();\n }\n }\n asObservable() {\n const observable = new Observable();\n observable.source = this;\n return observable;\n }\n}\nSubject.create = (destination, source) => {\n return new AnonymousSubject(destination, source);\n};\nexport class AnonymousSubject extends Subject {\n constructor(destination, source) {\n super();\n this.destination = destination;\n this.source = source;\n }\n next(value) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);\n }\n error(err) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);\n }\n complete() {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);\n }\n _subscribe(subscriber) {\n var _a, _b;\n return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;\n }\n}\n","import { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport * as i1 from '@angular/cdk/platform';\nimport { getSupportedInputTypes } from '@angular/cdk/platform';\nimport * as i4 from '@angular/cdk/text-field';\nimport { TextFieldModule } from '@angular/cdk/text-field';\nimport * as i0 from '@angular/core';\nimport { InjectionToken, Directive, Optional, Self, Inject, Input, NgModule } from '@angular/core';\nimport * as i2 from '@angular/forms';\nimport { Validators } from '@angular/forms';\nimport * as i3 from '@angular/material/core';\nimport { mixinErrorState, MatCommonModule } from '@angular/material/core';\nimport * as i5 from '@angular/material/form-field';\nimport { MAT_FORM_FIELD, MatFormFieldControl, MatFormFieldModule } from '@angular/material/form-field';\nimport { Subject } from 'rxjs';\n\n/** @docs-private */\nfunction getMatInputUnsupportedTypeError(type) {\n return Error(`Input type \"${type}\" isn't supported by matInput.`);\n}\n\n/**\n * This token is used to inject the object whose value should be set into `MatInput`. If none is\n * provided, the native `HTMLInputElement` is used. Directives like `MatDatepickerInput` can provide\n * themselves for this token, in order to make `MatInput` delegate the getting and setting of the\n * value to them.\n */\nconst MAT_INPUT_VALUE_ACCESSOR = new InjectionToken('MAT_INPUT_VALUE_ACCESSOR');\n\n// Invalid input type. Using one of these will throw an MatInputUnsupportedTypeError.\nconst MAT_INPUT_INVALID_TYPES = [\n 'button',\n 'checkbox',\n 'file',\n 'hidden',\n 'image',\n 'radio',\n 'range',\n 'reset',\n 'submit',\n];\nlet nextUniqueId = 0;\n// Boilerplate for applying mixins to MatInput.\n/** @docs-private */\nconst _MatInputBase = mixinErrorState(class {\n constructor(_defaultErrorStateMatcher, _parentForm, _parentFormGroup, \n /**\n * Form control bound to the component.\n * Implemented as part of `MatFormFieldControl`.\n * @docs-private\n */\n ngControl) {\n this._defaultErrorStateMatcher = _defaultErrorStateMatcher;\n this._parentForm = _parentForm;\n this._parentFormGroup = _parentFormGroup;\n this.ngControl = ngControl;\n /**\n * Emits whenever the component state changes and should cause the parent\n * form field to update. Implemented as part of `MatFormFieldControl`.\n * @docs-private\n */\n this.stateChanges = new Subject();\n }\n});\nclass MatInput extends _MatInputBase {\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n get disabled() {\n return this._disabled;\n }\n set disabled(value) {\n this._disabled = coerceBooleanProperty(value);\n // Browsers may not fire the blur event if the input is disabled too quickly.\n // Reset from here to ensure that the element doesn't become stuck.\n if (this.focused) {\n this.focused = false;\n this.stateChanges.next();\n }\n }\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n get id() {\n return this._id;\n }\n set id(value) {\n this._id = value || this._uid;\n }\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n get required() {\n return this._required ?? this.ngControl?.control?.hasValidator(Validators.required) ?? false;\n }\n set required(value) {\n this._required = coerceBooleanProperty(value);\n }\n /** Input type of the element. */\n get type() {\n return this._type;\n }\n set type(value) {\n this._type = value || 'text';\n this._validateType();\n // When using Angular inputs, developers are no longer able to set the properties on the native\n // input element. To ensure that bindings for `type` work, we need to sync the setter\n // with the native property. Textarea elements don't support the type property or attribute.\n if (!this._isTextarea && getSupportedInputTypes().has(this._type)) {\n this._elementRef.nativeElement.type = this._type;\n }\n }\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n get value() {\n return this._inputValueAccessor.value;\n }\n set value(value) {\n if (value !== this.value) {\n this._inputValueAccessor.value = value;\n this.stateChanges.next();\n }\n }\n /** Whether the element is readonly. */\n get readonly() {\n return this._readonly;\n }\n set readonly(value) {\n this._readonly = coerceBooleanProperty(value);\n }\n constructor(_elementRef, _platform, ngControl, _parentForm, _parentFormGroup, _defaultErrorStateMatcher, inputValueAccessor, _autofillMonitor, ngZone, \n // TODO: Remove this once the legacy appearance has been removed. We only need\n // to inject the form field for determining whether the placeholder has been promoted.\n _formField) {\n super(_defaultErrorStateMatcher, _parentForm, _parentFormGroup, ngControl);\n this._elementRef = _elementRef;\n this._platform = _platform;\n this._autofillMonitor = _autofillMonitor;\n this._formField = _formField;\n this._uid = `mat-input-${nextUniqueId++}`;\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n this.focused = false;\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n this.stateChanges = new Subject();\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n this.controlType = 'mat-input';\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n this.autofilled = false;\n this._disabled = false;\n this._type = 'text';\n this._readonly = false;\n this._neverEmptyInputTypes = [\n 'date',\n 'datetime',\n 'datetime-local',\n 'month',\n 'time',\n 'week',\n ].filter(t => getSupportedInputTypes().has(t));\n this._iOSKeyupListener = (event) => {\n const el = event.target;\n // Note: We specifically check for 0, rather than `!el.selectionStart`, because the two\n // indicate different things. If the value is 0, it means that the caret is at the start\n // of the input, whereas a value of `null` means that the input doesn't support\n // manipulating the selection range. Inputs that don't support setting the selection range\n // will throw an error so we want to avoid calling `setSelectionRange` on them. See:\n // https://html.spec.whatwg.org/multipage/input.html#do-not-apply\n if (!el.value && el.selectionStart === 0 && el.selectionEnd === 0) {\n // Note: Just setting `0, 0` doesn't fix the issue. Setting\n // `1, 1` fixes it for the first time that you type text and\n // then hold delete. Toggling to `1, 1` and then back to\n // `0, 0` seems to completely fix it.\n el.setSelectionRange(1, 1);\n el.setSelectionRange(0, 0);\n }\n };\n const element = this._elementRef.nativeElement;\n const nodeName = element.nodeName.toLowerCase();\n // If no input value accessor was explicitly specified, use the element as the input value\n // accessor.\n this._inputValueAccessor = inputValueAccessor || element;\n this._previousNativeValue = this.value;\n // Force setter to be called in case id was not specified.\n this.id = this.id;\n // On some versions of iOS the caret gets stuck in the wrong place when holding down the delete\n // key. In order to get around this we need to \"jiggle\" the caret loose. Since this bug only\n // exists on iOS, we only bother to install the listener on iOS.\n if (_platform.IOS) {\n ngZone.runOutsideAngular(() => {\n _elementRef.nativeElement.addEventListener('keyup', this._iOSKeyupListener);\n });\n }\n this._isServer = !this._platform.isBrowser;\n this._isNativeSelect = nodeName === 'select';\n this._isTextarea = nodeName === 'textarea';\n this._isInFormField = !!_formField;\n if (this._isNativeSelect) {\n this.controlType = element.multiple\n ? 'mat-native-select-multiple'\n : 'mat-native-select';\n }\n }\n ngAfterViewInit() {\n if (this._platform.isBrowser) {\n this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(event => {\n this.autofilled = event.isAutofilled;\n this.stateChanges.next();\n });\n }\n }\n ngOnChanges() {\n this.stateChanges.next();\n }\n ngOnDestroy() {\n this.stateChanges.complete();\n if (this._platform.isBrowser) {\n this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement);\n }\n if (this._platform.IOS) {\n this._elementRef.nativeElement.removeEventListener('keyup', this._iOSKeyupListener);\n }\n }\n ngDoCheck() {\n if (this.ngControl) {\n // We need to re-evaluate this on every change detection cycle, because there are some\n // error triggers that we can't subscribe to (e.g. parent form submissions). This means\n // that whatever logic is in here has to be super lean or we risk destroying the performance.\n this.updateErrorState();\n // Since the input isn't a `ControlValueAccessor`, we don't have a good way of knowing when\n // the disabled state has changed. We can't use the `ngControl.statusChanges`, because it\n // won't fire if the input is disabled with `emitEvents = false`, despite the input becoming\n // disabled.\n if (this.ngControl.disabled !== null && this.ngControl.disabled !== this.disabled) {\n this.disabled = this.ngControl.disabled;\n this.stateChanges.next();\n }\n }\n // We need to dirty-check the native element's value, because there are some cases where\n // we won't be notified when it changes (e.g. the consumer isn't using forms or they're\n // updating the value using `emitEvent: false`).\n this._dirtyCheckNativeValue();\n // We need to dirty-check and set the placeholder attribute ourselves, because whether it's\n // present or not depends on a query which is prone to \"changed after checked\" errors.\n this._dirtyCheckPlaceholder();\n }\n /** Focuses the input. */\n focus(options) {\n this._elementRef.nativeElement.focus(options);\n }\n /** Callback for the cases where the focused state of the input changes. */\n _focusChanged(isFocused) {\n if (isFocused !== this.focused) {\n this.focused = isFocused;\n this.stateChanges.next();\n }\n }\n _onInput() {\n // This is a noop function and is used to let Angular know whenever the value changes.\n // Angular will run a new change detection each time the `input` event has been dispatched.\n // It's necessary that Angular recognizes the value change, because when floatingLabel\n // is set to false and Angular forms aren't used, the placeholder won't recognize the\n // value changes and will not disappear.\n // Listening to the input event wouldn't be necessary when the input is using the\n // FormsModule or ReactiveFormsModule, because Angular forms also listens to input events.\n }\n /** Does some manual dirty checking on the native input `value` property. */\n _dirtyCheckNativeValue() {\n const newValue = this._elementRef.nativeElement.value;\n if (this._previousNativeValue !== newValue) {\n this._previousNativeValue = newValue;\n this.stateChanges.next();\n }\n }\n /** Does some manual dirty checking on the native input `placeholder` attribute. */\n _dirtyCheckPlaceholder() {\n const placeholder = this._getPlaceholder();\n if (placeholder !== this._previousPlaceholder) {\n const element = this._elementRef.nativeElement;\n this._previousPlaceholder = placeholder;\n placeholder\n ? element.setAttribute('placeholder', placeholder)\n : element.removeAttribute('placeholder');\n }\n }\n /** Gets the current placeholder of the form field. */\n _getPlaceholder() {\n return this.placeholder || null;\n }\n /** Make sure the input is a supported type. */\n _validateType() {\n if (MAT_INPUT_INVALID_TYPES.indexOf(this._type) > -1 &&\n (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw getMatInputUnsupportedTypeError(this._type);\n }\n }\n /** Checks whether the input type is one of the types that are never empty. */\n _isNeverEmpty() {\n return this._neverEmptyInputTypes.indexOf(this._type) > -1;\n }\n /** Checks whether the input is invalid based on the native validation. */\n _isBadInput() {\n // The `validity` property won't be present on platform-server.\n let validity = this._elementRef.nativeElement.validity;\n return validity && validity.badInput;\n }\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n get empty() {\n return (!this._isNeverEmpty() &&\n !this._elementRef.nativeElement.value &&\n !this._isBadInput() &&\n !this.autofilled);\n }\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n get shouldLabelFloat() {\n if (this._isNativeSelect) {\n // For a single-selection `<select>`, the label should float when the selected option has\n // a non-empty display value. For a `<select multiple>`, the label *always* floats to avoid\n // overlapping the label with the options.\n const selectElement = this._elementRef.nativeElement;\n const firstOption = selectElement.options[0];\n // On most browsers the `selectedIndex` will always be 0, however on IE and Edge it'll be\n // -1 if the `value` is set to something, that isn't in the list of options, at a later point.\n return (this.focused ||\n selectElement.multiple ||\n !this.empty ||\n !!(selectElement.selectedIndex > -1 && firstOption && firstOption.label));\n }\n else {\n return this.focused || !this.empty;\n }\n }\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n setDescribedByIds(ids) {\n if (ids.length) {\n this._elementRef.nativeElement.setAttribute('aria-describedby', ids.join(' '));\n }\n else {\n this._elementRef.nativeElement.removeAttribute('aria-describedby');\n }\n }\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n onContainerClick() {\n // Do not re-focus the input element if the element is already focused. Otherwise it can happen\n // that someone clicks on a time input and the cursor resets to the \"hours\" field while the\n // \"minutes\" field was actually clicked. See: https://github.com/angular/components/issues/12849\n if (!this.focused) {\n this.focus();\n }\n }\n /** Whether the form control is a native select that is displayed inline. */\n _isInlineSelect() {\n const element = this._elementRef.nativeElement;\n return this._isNativeSelect && (element.multiple || element.size > 1);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatInput, deps: [{ token: i0.ElementRef }, { token: i1.Platform }, { token: i2.NgControl, optional: true, self: true }, { token: i2.NgForm, optional: true }, { token: i2.FormGroupDirective, optional: true }, { token: i3.ErrorStateMatcher }, { token: MAT_INPUT_VALUE_ACCESSOR, optional: true, self: true }, { token: i4.AutofillMonitor }, { token: i0.NgZone }, { token: MAT_FORM_FIELD, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatInput, selector: \"input[matInput], textarea[matInput], select[matNativeControl],\\n input[matNativeControl], textarea[matNativeControl]\", inputs: { disabled: \"disabled\", id: \"id\", placeholder: \"placeholder\", name: \"name\", required: \"required\", type: \"type\", errorStateMatcher: \"errorStateMatcher\", userAriaDescribedBy: [\"aria-describedby\", \"userAriaDescribedBy\"], value: \"value\", readonly: \"readonly\" }, host: { listeners: { \"focus\": \"_focusChanged(true)\", \"blur\": \"_focusChanged(false)\", \"input\": \"_onInput()\" }, properties: { \"class.mat-input-server\": \"_isServer\", \"class.mat-mdc-form-field-textarea-control\": \"_isInFormField && _isTextarea\", \"class.mat-mdc-form-field-input-control\": \"_isInFormField\", \"class.mdc-text-field__input\": \"_isInFormField\", \"class.mat-mdc-native-select-inline\": \"_isInlineSelect()\", \"id\": \"id\", \"disabled\": \"disabled\", \"required\": \"required\", \"attr.name\": \"name || null\", \"attr.readonly\": \"readonly && !_isNativeSelect || null\", \"attr.aria-invalid\": \"(empty && required) ? null : errorState\", \"attr.aria-required\": \"required\", \"attr.id\": \"id\" }, classAttribute: \"mat-mdc-input-element\" }, providers: [{ provide: MatFormFieldControl, useExisting: MatInput }], exportAs: [\"matInput\"], usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatInput, decorators: [{\n type: Directive,\n args: [{\n selector: `input[matInput], textarea[matInput], select[matNativeControl],\n input[matNativeControl], textarea[matNativeControl]`,\n exportAs: 'matInput',\n host: {\n 'class': 'mat-mdc-input-element',\n // The BaseMatInput parent class adds `mat-input-element`, `mat-form-field-control` and\n // `mat-form-field-autofill-control` to the CSS class list, but this should not be added for\n // this MDC equivalent input.\n '[class.mat-input-server]': '_isServer',\n '[class.mat-mdc-form-field-textarea-control]': '_isInFormField && _isTextarea',\n '[class.mat-mdc-form-field-input-control]': '_isInFormField',\n '[class.mdc-text-field__input]': '_isInFormField',\n '[class.mat-mdc-native-select-inline]': '_isInlineSelect()',\n // Native input properties that are overwritten by Angular inputs need to be synced with\n // the native input element. Otherwise property bindings for those don't work.\n '[id]': 'id',\n '[disabled]': 'disabled',\n '[required]': 'required',\n '[attr.name]': 'name || null',\n '[attr.readonly]': 'readonly && !_isNativeSelect || null',\n // Only mark the input as invalid for assistive technology if it has a value since the\n // state usually overlaps with `aria-required` when the input is empty and can be redundant.\n '[attr.aria-invalid]': '(empty && required) ? null : errorState',\n '[attr.aria-required]': 'required',\n // Native input properties that are overwritten by Angular inputs need to be synced with\n // the native input element. Otherwise property bindings for those don't work.\n '[attr.id]': 'id',\n '(focus)': '_focusChanged(true)',\n '(blur)': '_focusChanged(false)',\n '(input)': '_onInput()',\n },\n providers: [{ provide: MatFormFieldControl, useExisting: MatInput }],\n }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.Platform }, { type: i2.NgControl, decorators: [{\n type: Optional\n }, {\n type: Self\n }] }, { type: i2.NgForm, decorators: [{\n type: Optional\n }] }, { type: i2.FormGroupDirective, decorators: [{\n type: Optional\n }] }, { type: i3.ErrorStateMatcher }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Self\n }, {\n type: Inject,\n args: [MAT_INPUT_VALUE_ACCESSOR]\n }] }, { type: i4.AutofillMonitor }, { type: i0.NgZone }, { type: i5.MatFormField, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_FORM_FIELD]\n }] }]; }, propDecorators: { disabled: [{\n type: Input\n }], id: [{\n type: Input\n }], placeholder: [{\n type: Input\n }], name: [{\n type: Input\n }], required: [{\n type: Input\n }], type: [{\n type: Input\n }], errorStateMatcher: [{\n type: Input\n }], userAriaDescribedBy: [{\n type: Input,\n args: ['aria-describedby']\n }], value: [{\n type: Input\n }], readonly: [{\n type: Input\n }] } });\n\nclass MatInputModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatInputModule, declarations: [MatInput], imports: [MatCommonModule, MatFormFieldModule], exports: [MatInput, MatFormFieldModule, TextFieldModule, MatCommonModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatInputModule, imports: [MatCommonModule, MatFormFieldModule, MatFormFieldModule, TextFieldModule, MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatInputModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [MatCommonModule, MatFormFieldModule],\n exports: [MatInput, MatFormFieldModule, TextFieldModule, MatCommonModule],\n declarations: [MatInput],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MAT_INPUT_VALUE_ACCESSOR, MatInput, MatInputModule, getMatInputUnsupportedTypeError };\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11]} \ No newline at end of file diff --git a/6896.bfb8d28f7841fa68.js b/6896.bfb8d28f7841fa68.js new file mode 100644 index 0000000..8b09802 --- /dev/null +++ b/6896.bfb8d28f7841fa68.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[6896,7376,5187,4091,1217,7208,4968,4155,1084,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,4680,2111,3326,8596,8352,5501,3098,8608,8443,5915,3278,5391,6748,6763,4151,5069,7432,6618],{35488:(f,n,e)=>{function t(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}e.d(n,{Z:()=>t})},28694:(f,n,e)=>{e.d(n,{Z:()=>i});var t=e(20265),o=e(98568),u=e(43445),r=e(35488);function i(p){var c=(0,o.Z)();return function(){var a,s=(0,t.Z)(p);if(c){var d=(0,t.Z)(this).constructor;a=Reflect.construct(s,arguments,d)}else a=s.apply(this,arguments);return function _(p,c){if(c&&("object"===(0,u.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(p)}(this,a)}}},20265:(f,n,e)=>{function t(o){return(t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)})(o)}e.d(n,{Z:()=>t})},24582:(f,n,e)=>{e.d(n,{Z:()=>o});var t=e(10006);function o(u,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(r&&r.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),r&&(0,t.Z)(u,r)}},98568:(f,n,e)=>{function t(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(n,{Z:()=>t})},10006:(f,n,e)=>{function t(o,u){return(t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_,i){return _.__proto__=i,_})(o,u)}e.d(n,{Z:()=>t})}}]); +//# sourceMappingURL=6896.bfb8d28f7841fa68.js.map \ No newline at end of file diff --git a/6896.bfb8d28f7841fa68.js.map b/6896.bfb8d28f7841fa68.js.map new file mode 100644 index 0000000..1e41fba --- /dev/null +++ b/6896.bfb8d28f7841fa68.js.map @@ -0,0 +1 @@ +{"version":3,"file":"6896.bfb8d28f7841fa68.js","mappings":"sQAAe,SAAAA,EAAAC,GACf,YAAAA,EACA,UAAAC,eAAA,6DAEA,OAAAD,CACA,oGCFe,SAAAE,EAAAC,GACf,IAAAC,KAAkCC,EAAAC,KAClC,kBACA,IACAC,EADAC,KAAgBC,EAAAH,GAAcH,GAE9B,GAAAC,EAAA,CACA,IAAAM,KAAsBD,EAAAH,GAAcK,MAAAC,YACpCL,EAAAM,QAAAC,UAAAN,EAAAO,UAAAL,EAAA,MAEAH,EAAAC,EAAAQ,MAAAL,KAAAI,WAEA,OCZe,SAAAE,EAAAjB,EAAAkB,GACf,GAAAA,IAAsB,YAAtBA,EAAeC,EAAAb,GAAOY,IAAA,mBAAAA,GACtB,OAAAA,EACI,YAAAA,EACJ,UAAAE,UAAA,4DAEA,SAASC,EAAAf,GAAqBN,EAC9B,CDKWiB,CAAyBN,KAAAJ,EACpC,CACA,mBEhBe,SAAAe,EAAAC,GACf,OAAAD,EAAAE,OAAAC,eAAAD,OAAAf,eAAAiB,OAAA,SAAAH,GACA,OAAAA,EAAAI,WAAAH,OAAAf,eAAAc,EACA,GACAA,EACA,mECJe,SAAAK,EAAAC,EAAAC,GACf,sBAAAA,GAAA,OAAAA,EACA,UAAAV,UAAA,sDAEAS,EAAAE,UAAAP,OAAAQ,OAAAF,KAAAC,UAAA,CACAnB,YAAA,CACAqB,MAAAJ,EACAK,UAAA,EACAC,cAAA,KAGAX,OAAAY,eAAAP,EAAA,aACAK,UAAA,IAEAJ,MAAkBO,EAAA/B,GAAcuB,EAAAC,EAChC,mBChBe,SAAAQ,IAEf,UADAzB,QAAA,MAAAA,QAAAC,WACAD,QAAAC,UAAAyB,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAAV,UAAAW,QAAAxB,KAAAL,QAAAC,UAAA2B,QAAA,mBACA,CACA,OACA,QACA,CACA,mCCVe,SAAAE,EAAApB,EAAAqB,GACf,OAAAD,EAAAnB,OAAAC,eAAAD,OAAAC,eAAAC,OAAA,SAAAH,EAAAqB,GACA,OAAArB,EAAAI,UAAAiB,EACArB,CACA,GACAA,EAAAqB,EACA","names":["_assertThisInitialized","self","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","call","esm_typeof","TypeError","assertThisInitialized","_getPrototypeOf","o","Object","setPrototypeOf","bind","__proto__","_inherits","subClass","superClass","prototype","create","value","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6]} \ No newline at end of file diff --git a/6936.b38a104e439a2a69.js b/6936.b38a104e439a2a69.js new file mode 100644 index 0000000..64b5ff2 --- /dev/null +++ b/6936.b38a104e439a2a69.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[6936,3022,5106,7376,5187,4091,1217,7208,4968,6785,4155,1084,6896,5603,7920,6980,5113,1328,5749,4309,8024,8513,5555,4967,8017,8116,5873,8061,4680,2111,3326,8596,8352,5501,882,3098,8467,6578,8608,8443,7328,9880,5915,3278,5391,6748,1551,6763,4151,5069,7432,8071,6618],{50253:(A,y,i)=>{i.d(y,{x:()=>x});var f=i(95106),m=i(78069),c=i(48047),h=i(4089),d=i(20265),v=i(24582),u=i(28694),p=i(90833),s=i(17714),T=(0,i(27543).d)(function(j){return function(){j(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),P=i(39663),C=i(12309),x=function(){var j=function(U){(0,v.Z)(L,U);var Z=(0,u.Z)(L);function L(){var M;return(0,m.Z)(this,L),(M=Z.call(this)).closed=!1,M.currentObservers=null,M.observers=[],M.isStopped=!1,M.hasError=!1,M.thrownError=null,M}return(0,c.Z)(L,[{key:"lift",value:function(g){var E=new R(this,this);return E.operator=g,E}},{key:"_throwIfClosed",value:function(){if(this.closed)throw new T}},{key:"next",value:function(g){var E=this;(0,C.x)(function(){if(E._throwIfClosed(),!E.isStopped){E.currentObservers||(E.currentObservers=Array.from(E.observers));var b,k=(0,f.Z)(E.currentObservers);try{for(k.s();!(b=k.n()).done;)b.value.next(g)}catch(S){k.e(S)}finally{k.f()}}})}},{key:"error",value:function(g){var E=this;(0,C.x)(function(){if(E._throwIfClosed(),!E.isStopped){E.hasError=E.isStopped=!0,E.thrownError=g;for(var k=E.observers;k.length;)k.shift().error(g)}})}},{key:"complete",value:function(){var g=this;(0,C.x)(function(){if(g._throwIfClosed(),!g.isStopped){g.isStopped=!0;for(var E=g.observers;E.length;)E.shift().complete()}})}},{key:"unsubscribe",value:function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}},{key:"observed",get:function(){var g;return(null===(g=this.observers)||void 0===g?void 0:g.length)>0}},{key:"_trySubscribe",value:function(g){return this._throwIfClosed(),(0,h.Z)((0,d.Z)(L.prototype),"_trySubscribe",this).call(this,g)}},{key:"_subscribe",value:function(g){return this._throwIfClosed(),this._checkFinalizedStatuses(g),this._innerSubscribe(g)}},{key:"_innerSubscribe",value:function(g){var E=this,D=this.observers;return this.hasError||this.isStopped?s.Lc:(this.currentObservers=null,D.push(g),new s.w0(function(){E.currentObservers=null,(0,P.P)(D,g)}))}},{key:"_checkFinalizedStatuses",value:function(g){var b=this.isStopped;this.hasError?g.error(this.thrownError):b&&g.complete()}},{key:"asObservable",value:function(){var g=new p.y;return g.source=this,g}}]),L}(p.y);return j.create=function(U,Z){return new R(U,Z)},j}(),R=function(j){(0,v.Z)(Z,j);var U=(0,u.Z)(Z);function Z(L,M){var g;return(0,m.Z)(this,Z),(g=U.call(this)).destination=L,g.source=M,g}return(0,c.Z)(Z,[{key:"next",value:function(M){var g,E;null===(E=null===(g=this.destination)||void 0===g?void 0:g.next)||void 0===E||E.call(g,M)}},{key:"error",value:function(M){var g,E;null===(E=null===(g=this.destination)||void 0===g?void 0:g.error)||void 0===E||E.call(g,M)}},{key:"complete",value:function(){var M,g;null===(g=null===(M=this.destination)||void 0===M?void 0:M.complete)||void 0===g||g.call(M)}},{key:"_subscribe",value:function(M){var g,E;return null!==(E=null===(g=this.source)||void 0===g?void 0:g.subscribe(M))&&void 0!==E?E:s.Lc}}]),Z}(x)},59319:(A,y,i)=>{i.d(y,{z:()=>d});var f=i(1308),c=i(10420),h=i(37400);function d(){for(var v=arguments.length,u=new Array(v),p=0;p<v;p++)u[p]=arguments[p];return function m(){return(0,f.J)(1)}()((0,h.D)(u,(0,c.yG)(u)))}},37400:(A,y,i)=>{i.d(y,{D:()=>k});var f=i(54987),m=i(8728),c=i(41944);function h(b){var D=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,c.e)(function(S,w){w.add(b.schedule(function(){return S.subscribe(w)},D))})}var u=i(90833),s=i(67321),I=i(92971),T=i(1817);function C(b,D){if(!b)throw new Error("Iterable cannot be null");return new u.y(function(S){(0,T.f)(S,D,function(){var w=b[Symbol.asyncIterator]();(0,T.f)(S,D,function(){w.next().then(function(B){B.done?S.complete():S.next(B.value)})},0,!0)})})}var x=i(21331),R=i(79548),j=i(99806),U=i(23433),Z=i(80470),L=i(27785),M=i(20181);function k(b,D){return D?function E(b,D){if(null!=b){if((0,x.c)(b))return function d(b,D){return(0,f.Xf)(b).pipe(h(D),(0,m.Q)(D))}(b,D);if((0,j.z)(b))return function p(b,D){return new u.y(function(S){var w=0;return D.schedule(function(){w===b.length?S.complete():(S.next(b[w++]),S.closed||this.schedule())})})}(b,D);if((0,R.t)(b))return function v(b,D){return(0,f.Xf)(b).pipe(h(D),(0,m.Q)(D))}(b,D);if((0,Z.D)(b))return C(b,D);if((0,U.T)(b))return function P(b,D){return new u.y(function(S){var w;return(0,T.f)(S,D,function(){w=b[s.h](),(0,T.f)(S,D,function(){var B,F;try{var V=w.next();B=V.value,F=V.done}catch(H){return void S.error(H)}F?S.complete():S.next(B)},0,!0)}),function(){return(0,I.m)(w?.return)&&w.return()}})}(b,D);if((0,M.L)(b))return function g(b,D){return C((0,M.Q)(b),D)}(b,D)}throw(0,L.z)(b)}(b,D):(0,f.Xf)(b)}},93945:(A,y,i)=>{i.d(y,{Q:()=>I,x:()=>s});var f=i(78069),m=i(48047),c=i(35488),h=i(24582),d=i(28694),v=i(4089),u=i(20265);function s(T,P,C,x,R){return new I(T,P,C,x,R)}var I=function(T){(0,h.Z)(C,T);var P=(0,d.Z)(C);function C(x,R,j,U,Z,L){var M,g,E,k;return(0,f.Z)(this,C),(k=P.call(this,x)).onFinalize=Z,k.shouldUnsubscribe=L,k._next=R?function(b){try{R(b)}catch(D){x.error(D)}}:(0,v.Z)((M=(0,c.Z)(k),(0,u.Z)(C.prototype)),"_next",M),k._error=U?function(b){try{U(b)}catch(D){x.error(D)}finally{this.unsubscribe()}}:(0,v.Z)((g=(0,c.Z)(k),(0,u.Z)(C.prototype)),"_error",g),k._complete=j?function(){try{j()}catch(b){x.error(b)}finally{this.unsubscribe()}}:(0,v.Z)((E=(0,c.Z)(k),(0,u.Z)(C.prototype)),"_complete",E),k}return(0,m.Z)(C,[{key:"unsubscribe",value:function(){var R;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var j=this.closed;(0,v.Z)((0,u.Z)(C.prototype),"unsubscribe",this).call(this),!j&&(null===(R=this.onFinalize)||void 0===R||R.call(this))}}}]),C}(i(5463).Lv)},50635:(A,y,i)=>{i.d(y,{U:()=>c});var f=i(41944),m=i(93945);function c(h,d){return(0,f.e)(function(v,u){var p=0;v.subscribe((0,m.x)(u,function(s){u.next(h.call(d,s,p++))}))})}},1308:(A,y,i)=>{i.d(y,{J:()=>c});var f=i(49525),m=i(89173);function c(){return(0,f.z)(m.y,arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0)}},49525:(A,y,i)=>{i.d(y,{z:()=>p});var f=i(50635),m=i(54987),c=i(41944),h=i(1817),d=i(93945),u=i(92971);function p(s,I){var T=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;return(0,u.m)(I)?p(function(P,C){return(0,f.U)(function(x,R){return I(P,x,C,R)})((0,m.Xf)(s(P,C)))},T):("number"==typeof I&&(T=I),(0,c.e)(function(P,C){return function v(s,I,T,P,C,x,R,j){var U=[],Z=0,L=0,M=!1,g=function(){M&&!U.length&&!Z&&I.complete()},E=function(D){return Z<P?k(D):U.push(D)},k=function b(D){x&&I.next(D),Z++;var S=!1;(0,m.Xf)(T(D,L++)).subscribe((0,d.x)(I,function(w){C?.(w),x?E(w):I.next(w)},function(){S=!0},void 0,function(){if(S)try{Z--;for(var w=function(){var F=U.shift();R?(0,h.f)(I,R,function(){return b(F)}):b(F)};U.length&&Z<P;)w();g()}catch(B){I.error(B)}}))};return s.subscribe((0,d.x)(I,E,function(){M=!0,g()})),function(){j?.()}}(P,C,s,T)}))}},8728:(A,y,i)=>{i.d(y,{Q:()=>h});var f=i(1817),m=i(41944),c=i(93945);function h(d){var v=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,m.e)(function(u,p){u.subscribe((0,c.x)(p,function(s){return(0,f.f)(p,d,function(){return p.next(s)},v)},function(){return(0,f.f)(p,d,function(){return p.complete()},v)},function(s){return(0,f.f)(p,d,function(){return p.error(s)},v)}))})}},44874:(A,y,i)=>{i.d(y,{O:()=>h});var f=i(59319),m=i(10420),c=i(41944);function h(){for(var d=arguments.length,v=new Array(d),u=0;u<d;u++)v[u]=arguments[u];var p=(0,m.yG)(v);return(0,c.e)(function(s,I){(p?(0,f.z)(v,s,p):(0,f.z)(v,s)).subscribe(I)})}},10420:(A,y,i)=>{i.d(y,{_6:()=>v,jO:()=>h,yG:()=>d});var f=i(92971),m=i(59867);function c(u){return u[u.length-1]}function h(u){return(0,f.m)(c(u))?u.pop():void 0}function d(u){return(0,m.K)(c(u))?u.pop():void 0}function v(u,p){return"number"==typeof c(u)?u.pop():p}},1817:(A,y,i)=>{function f(m,c,h){var d=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,v=arguments.length>4&&void 0!==arguments[4]&&arguments[4],u=c.schedule(function(){h(),v?m.add(this.schedule(null,d)):this.unsubscribe()},d);if(m.add(u),!v)return u}i.d(y,{f:()=>f})},59867:(A,y,i)=>{i.d(y,{K:()=>m});var f=i(92971);function m(c){return c&&(0,f.m)(c.schedule)}},41944:(A,y,i)=>{i.d(y,{A:()=>m,e:()=>c});var f=i(92971);function m(h){return(0,f.m)(h?.lift)}function c(h){return function(d){if(m(d))return d.lift(function(v){try{return h(v,this)}catch(u){this.error(u)}});throw new TypeError("Unable to lift unknown Observable type")}}},443:(A,y,i)=>{i.r(y),i.d(y,{AnimationCurves:()=>V,AnimationDurations:()=>H,DateAdapter:()=>G,ErrorStateMatcher:()=>je,MATERIAL_SANITY_CHECKS:()=>ne,MAT_DATE_FORMATS:()=>oe,MAT_DATE_LOCALE:()=>ie,MAT_DATE_LOCALE_FACTORY:()=>ae,MAT_NATIVE_DATE_FORMATS:()=>ue,MAT_OPTGROUP:()=>q,MAT_OPTION_PARENT_COMPONENT:()=>$,MAT_RIPPLE_GLOBAL_OPTIONS:()=>_e,MatCommonModule:()=>W,MatLine:()=>Ue,MatLineModule:()=>Be,MatNativeDateModule:()=>Ze,MatOptgroup:()=>Ye,MatOption:()=>Ge,MatOptionModule:()=>Je,MatOptionSelectionChange:()=>Me,MatPseudoCheckbox:()=>ge,MatPseudoCheckboxModule:()=>ye,MatRipple:()=>me,MatRippleModule:()=>ve,NativeDateAdapter:()=>se,NativeDateModule:()=>le,RippleRef:()=>ce,RippleRenderer:()=>J,ShowOnDirtyErrorStateMatcher:()=>Le,VERSION:()=>F,_MatOptgroupBase:()=>be,_MatOptionBase:()=>Ee,_countGroupLabelsBeforeOption:()=>Xe,_getOptionScrollPosition:()=>Qe,defaultRippleAnimationConfig:()=>Q,mixinColor:()=>Ae,mixinDisableRipple:()=>Pe,mixinDisabled:()=>re,mixinErrorState:()=>xe,mixinInitialized:()=>Se,mixinTabIndex:()=>Re,setLines:()=>Ne});var f=i(35603),m=i(35488),c=i(4089),h=i(20265),d=i(24582),v=i(28694),u=i(48047),p=i(78069),s=i(56718),I=i(908),T=i(43068),C=(i(66298),i(94055)),x=i(23675),R=i(35333),j=i(90833),U=i(50253),Z=i(44874),L=i(33401),M=i(52069),g=["*",[["mat-option"],["ng-container"]]],E=["*","mat-option, ng-container"],k=["text"];function b(n,o){if(1&n&&s.\u0275\u0275element(0,"mat-pseudo-checkbox",6),2&n){var e=s.\u0275\u0275nextContext();s.\u0275\u0275property("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function D(n,o){if(1&n&&s.\u0275\u0275element(0,"mat-pseudo-checkbox",7),2&n){var e=s.\u0275\u0275nextContext();s.\u0275\u0275property("disabled",e.disabled)}}function S(n,o){if(1&n&&(s.\u0275\u0275elementStart(0,"span",8),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&n){var e=s.\u0275\u0275nextContext();s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1("(",e.group.label,")")}}var w=[[["mat-icon"]],"*"],B=["mat-icon","*"],F=new s.Version("16.0.4"),V=function(){var n=(0,u.Z)(function o(){(0,p.Z)(this,o)});return n.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",n.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",n.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",n.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",n}(),H=function(){var n=(0,u.Z)(function o(){(0,p.Z)(this,o)});return n.COMPLEX="375ms",n.ENTERING="225ms",n.EXITING="195ms",n}(),ne=new s.InjectionToken("mat-sanity-checks",{providedIn:"root",factory:function ke(){return!0}}),W=function(){var n=function(){function o(e,t,r){(0,p.Z)(this,o),this._sanityChecks=t,this._document=r,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),!this._hasDoneGlobalChecks&&(this._hasDoneGlobalChecks=!0)}return(0,u.Z)(o,[{key:"_checkIsEnabled",value:function(t){return!(0,x._isTestEnvironment)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[t])}}]),o}();return n.\u0275fac=function(e){return new(e||n)(s.\u0275\u0275inject(I.HighContrastModeDetector),s.\u0275\u0275inject(ne,8),s.\u0275\u0275inject(C.DOCUMENT))},n.\u0275mod=s.\u0275\u0275defineNgModule({type:n}),n.\u0275inj=s.\u0275\u0275defineInjector({imports:[T.BidiModule,T.BidiModule]}),n}();function re(n){return function(o){(0,d.Z)(t,o);var e=(0,v.Z)(t);function t(){var r;(0,p.Z)(this,t);for(var a=arguments.length,l=new Array(a),_=0;_<a;_++)l[_]=arguments[_];return(r=e.call.apply(e,[this].concat(l)))._disabled=!1,r}return(0,u.Z)(t,[{key:"disabled",get:function(){return this._disabled},set:function(a){this._disabled=(0,R.coerceBooleanProperty)(a)}}]),t}(n)}function Ae(n,o){return function(e){(0,d.Z)(r,e);var t=(0,v.Z)(r);function r(){var a;(0,p.Z)(this,r);for(var l=arguments.length,_=new Array(l),O=0;O<l;O++)_[O]=arguments[O];return(a=t.call.apply(t,[this].concat(_))).defaultColor=o,a.color=o,a}return(0,u.Z)(r,[{key:"color",get:function(){return this._color},set:function(l){var _=l||this.defaultColor;_!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-".concat(this._color)),_&&this._elementRef.nativeElement.classList.add("mat-".concat(_)),this._color=_)}}]),r}(n)}function Pe(n){return function(o){(0,d.Z)(t,o);var e=(0,v.Z)(t);function t(){var r;(0,p.Z)(this,t);for(var a=arguments.length,l=new Array(a),_=0;_<a;_++)l[_]=arguments[_];return(r=e.call.apply(e,[this].concat(l)))._disableRipple=!1,r}return(0,u.Z)(t,[{key:"disableRipple",get:function(){return this._disableRipple},set:function(a){this._disableRipple=(0,R.coerceBooleanProperty)(a)}}]),t}(n)}function Re(n){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(e){(0,d.Z)(r,e);var t=(0,v.Z)(r);function r(){var a;(0,p.Z)(this,r);for(var l=arguments.length,_=new Array(l),O=0;O<l;O++)_[O]=arguments[O];return(a=t.call.apply(t,[this].concat(_)))._tabIndex=o,a.defaultTabIndex=o,a}return(0,u.Z)(r,[{key:"tabIndex",get:function(){return this.disabled?-1:this._tabIndex},set:function(l){this._tabIndex=null!=l?(0,R.coerceNumberProperty)(l):this.defaultTabIndex}}]),r}(n)}function xe(n){return function(o){(0,d.Z)(t,o);var e=(0,v.Z)(t);function t(){var r;(0,p.Z)(this,t);for(var a=arguments.length,l=new Array(a),_=0;_<a;_++)l[_]=arguments[_];return(r=e.call.apply(e,[this].concat(l))).errorState=!1,r}return(0,u.Z)(t,[{key:"updateErrorState",value:function(){var a=this.errorState,Y=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);Y!==a&&(this.errorState=Y,this.stateChanges.next())}}]),t}(n)}function Se(n){return function(o){(0,d.Z)(t,o);var e=(0,v.Z)(t);function t(){var r;(0,p.Z)(this,t);for(var a=arguments.length,l=new Array(a),_=0;_<a;_++)l[_]=arguments[_];return(r=e.call.apply(e,[this].concat(l)))._isInitialized=!1,r._pendingSubscribers=[],r.initialized=new j.y(function(O){r._isInitialized?r._notifySubscriber(O):r._pendingSubscribers.push(O)}),r}return(0,u.Z)(t,[{key:"_markInitialized",value:function(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}},{key:"_notifySubscriber",value:function(a){a.next(),a.complete()}}]),t}(n)}var ie=new s.InjectionToken("MAT_DATE_LOCALE",{providedIn:"root",factory:ae});function ae(){return(0,s.inject)(s.LOCALE_ID)}var G=function(){function n(){(0,p.Z)(this,n),this._localeChanges=new U.x,this.localeChanges=this._localeChanges}return(0,u.Z)(n,[{key:"getValidDateOrNull",value:function(e){return this.isDateInstance(e)&&this.isValid(e)?e:null}},{key:"deserialize",value:function(e){return null==e||this.isDateInstance(e)&&this.isValid(e)?e:this.invalid()}},{key:"setLocale",value:function(e){this.locale=e,this._localeChanges.next()}},{key:"compareDate",value:function(e,t){return this.getYear(e)-this.getYear(t)||this.getMonth(e)-this.getMonth(t)||this.getDate(e)-this.getDate(t)}},{key:"sameDate",value:function(e,t){if(e&&t){var r=this.isValid(e),a=this.isValid(t);return r&&a?!this.compareDate(e,t):r==a}return e==t}},{key:"clampDate",value:function(e,t,r){return t&&this.compareDate(e,t)<0?t:r&&this.compareDate(e,r)>0?r:e}}]),n}(),oe=new s.InjectionToken("mat-date-formats"),we=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function X(n,o){for(var e=Array(n),t=0;t<n;t++)e[t]=o(t);return e}var se=function(){var n=function(o){(0,d.Z)(t,o);var e=(0,v.Z)(t);function t(r,a){var l,_;return(0,p.Z)(this,t),(_=e.call(this)).useUtcForDisplay=!1,(0,c.Z)((l=(0,m.Z)(_),(0,h.Z)(t.prototype)),"setLocale",l).call(l,r),_}return(0,u.Z)(t,[{key:"getYear",value:function(a){return a.getFullYear()}},{key:"getMonth",value:function(a){return a.getMonth()}},{key:"getDate",value:function(a){return a.getDate()}},{key:"getDayOfWeek",value:function(a){return a.getDay()}},{key:"getMonthNames",value:function(a){var l=this,_=new Intl.DateTimeFormat(this.locale,{month:a,timeZone:"utc"});return X(12,function(O){return l._format(_,new Date(2017,O,1))})}},{key:"getDateNames",value:function(){var a=this,l=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return X(31,function(_){return a._format(l,new Date(2017,0,_+1))})}},{key:"getDayOfWeekNames",value:function(a){var l=this,_=new Intl.DateTimeFormat(this.locale,{weekday:a,timeZone:"utc"});return X(7,function(O){return l._format(_,new Date(2017,0,O+1))})}},{key:"getYearName",value:function(a){var l=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(l,a)}},{key:"getFirstDayOfWeek",value:function(){return 0}},{key:"getNumDaysInMonth",value:function(a){return this.getDate(this._createDateWithOverflow(this.getYear(a),this.getMonth(a)+1,0))}},{key:"clone",value:function(a){return new Date(a.getTime())}},{key:"createDate",value:function(a,l,_){var O=this._createDateWithOverflow(a,l,_);return O.getMonth(),O}},{key:"today",value:function(){return new Date}},{key:"parse",value:function(a,l){return"number"==typeof a?new Date(a):a?new Date(Date.parse(a)):null}},{key:"format",value:function(a,l){if(!this.isValid(a))throw Error("NativeDateAdapter: Cannot format invalid date.");var _=new Intl.DateTimeFormat(this.locale,(0,f.Z)((0,f.Z)({},l),{},{timeZone:"utc"}));return this._format(_,a)}},{key:"addCalendarYears",value:function(a,l){return this.addCalendarMonths(a,12*l)}},{key:"addCalendarMonths",value:function(a,l){var _=this._createDateWithOverflow(this.getYear(a),this.getMonth(a)+l,this.getDate(a));return this.getMonth(_)!=((this.getMonth(a)+l)%12+12)%12&&(_=this._createDateWithOverflow(this.getYear(_),this.getMonth(_),0)),_}},{key:"addCalendarDays",value:function(a,l){return this._createDateWithOverflow(this.getYear(a),this.getMonth(a),this.getDate(a)+l)}},{key:"toIso8601",value:function(a){return[a.getUTCFullYear(),this._2digit(a.getUTCMonth()+1),this._2digit(a.getUTCDate())].join("-")}},{key:"deserialize",value:function(a){if("string"==typeof a){if(!a)return null;if(we.test(a)){var l=new Date(a);if(this.isValid(l))return l}}return(0,c.Z)((0,h.Z)(t.prototype),"deserialize",this).call(this,a)}},{key:"isDateInstance",value:function(a){return a instanceof Date}},{key:"isValid",value:function(a){return!isNaN(a.getTime())}},{key:"invalid",value:function(){return new Date(NaN)}},{key:"_createDateWithOverflow",value:function(a,l,_){var O=new Date;return O.setFullYear(a,l,_),O.setHours(0,0,0,0),O}},{key:"_2digit",value:function(a){return("00"+a).slice(-2)}},{key:"_format",value:function(a,l){var _=new Date;return _.setUTCFullYear(l.getFullYear(),l.getMonth(),l.getDate()),_.setUTCHours(l.getHours(),l.getMinutes(),l.getSeconds(),l.getMilliseconds()),a.format(_)}}]),t}(G);return n.\u0275fac=function(e){return new(e||n)(s.\u0275\u0275inject(ie,8),s.\u0275\u0275inject(x.Platform))},n.\u0275prov=s.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac}),n}(),ue={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}},le=function(){var n=(0,u.Z)(function o(){(0,p.Z)(this,o)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=s.\u0275\u0275defineNgModule({type:n}),n.\u0275inj=s.\u0275\u0275defineInjector({providers:[{provide:G,useClass:se}]}),n}(),Ze=function(){var n=(0,u.Z)(function o(){(0,p.Z)(this,o)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=s.\u0275\u0275defineNgModule({type:n}),n.\u0275inj=s.\u0275\u0275defineInjector({providers:[{provide:oe,useValue:ue}],imports:[le]}),n}(),Le=function(){var n=function(){function o(){(0,p.Z)(this,o)}return(0,u.Z)(o,[{key:"isErrorState",value:function(t,r){return!!(t&&t.invalid&&(t.dirty||r&&r.submitted))}}]),o}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=s.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac}),n}(),je=function(){var n=function(){function o(){(0,p.Z)(this,o)}return(0,u.Z)(o,[{key:"isErrorState",value:function(t,r){return!!(t&&t.invalid&&(t.touched||r&&r.submitted))}}]),o}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=s.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),Ue=function(){var n=(0,u.Z)(function o(){(0,p.Z)(this,o)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=s.\u0275\u0275defineDirective({type:n,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),n}();function Ne(n,o){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat";n.changes.pipe((0,Z.O)(n)).subscribe(function(t){var r=t.length;z(o,"".concat(e,"-2-line"),!1),z(o,"".concat(e,"-3-line"),!1),z(o,"".concat(e,"-multi-line"),!1),2===r||3===r?z(o,"".concat(e,"-").concat(r,"-line"),!0):r>3&&z(o,"".concat(e,"-multi-line"),!0)})}function z(n,o,e){n.nativeElement.classList.toggle(o,e)}var Be=function(){var n=(0,u.Z)(function o(){(0,p.Z)(this,o)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=s.\u0275\u0275defineNgModule({type:n}),n.\u0275inj=s.\u0275\u0275defineInjector({imports:[W,W]}),n}(),ce=function(){function n(o,e,t){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];(0,p.Z)(this,n),this._renderer=o,this.element=e,this.config=t,this._animationForciblyDisabledThroughCss=r,this.state=3}return(0,u.Z)(n,[{key:"fadeOut",value:function(){this._renderer.fadeOutRipple(this)}}]),n}(),de=(0,x.normalizePassiveListenerOptions)({passive:!0,capture:!0}),Fe=function(){function n(){var o=this;(0,p.Z)(this,n),this._events=new Map,this._delegateEventHandler=function(e){var r,t=(0,x._getEventTarget)(e);t&&(null===(r=o._events.get(e.type))||void 0===r||r.forEach(function(a,l){(l===t||l.contains(t))&&a.forEach(function(_){return _.handleEvent(e)})}))}}return(0,u.Z)(n,[{key:"addHandler",value:function(e,t,r,a){var l=this,_=this._events.get(t);if(_){var O=_.get(r);O?O.add(a):_.set(r,new Set([a]))}else this._events.set(t,new Map([[r,new Set([a])]])),e.runOutsideAngular(function(){document.addEventListener(t,l._delegateEventHandler,de)})}},{key:"removeHandler",value:function(e,t,r){var a=this._events.get(e);if(a){var l=a.get(t);l&&(l.delete(r),0===l.size&&a.delete(t),0===a.size&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,de)))}}}]),n}(),Q={enterDuration:225,exitDuration:150},fe=(0,x.normalizePassiveListenerOptions)({passive:!0,capture:!0}),he=["mousedown","touchstart"],pe=["mouseup","mouseleave","touchend","touchcancel"],J=function(){function n(o,e,t,r){(0,p.Z)(this,n),this._target=o,this._ngZone=e,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=(0,R.coerceElement)(t))}return(0,u.Z)(n,[{key:"fadeInRipple",value:function(e,t){var r=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),_=(0,f.Z)((0,f.Z)({},Q),a.animation);a.centered&&(e=l.left+l.width/2,t=l.top+l.height/2);var O=a.radius||function Ke(n,o,e){var t=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),r=Math.max(Math.abs(o-e.top),Math.abs(o-e.bottom));return Math.sqrt(t*t+r*r)}(e,t,l),Y=e-l.left,$e=t-l.top,ee=_.enterDuration,N=document.createElement("div");N.classList.add("mat-ripple-element"),N.style.left="".concat(Y-O,"px"),N.style.top="".concat($e-O,"px"),N.style.height="".concat(2*O,"px"),N.style.width="".concat(2*O,"px"),null!=a.color&&(N.style.backgroundColor=a.color),N.style.transitionDuration="".concat(ee,"ms"),this._containerElement.appendChild(N);var De=window.getComputedStyle(N),Oe=De.transitionDuration,te="none"===De.transitionProperty||"0s"===Oe||"0s, 0s"===Oe||0===l.width&&0===l.height,K=new ce(this,N,a,te);N.style.transform="scale3d(1, 1, 1)",K.state=0,a.persistent||(this._mostRecentTransientRipple=K);var Ie=null;return!te&&(ee||_.exitDuration)&&this._ngZone.runOutsideAngular(function(){var Ce=function(){return r._finishRippleTransition(K)},Te=function(){return r._destroyRipple(K)};N.addEventListener("transitionend",Ce),N.addEventListener("transitioncancel",Te),Ie={onTransitionEnd:Ce,onTransitionCancel:Te}}),this._activeRipples.set(K,Ie),(te||!ee)&&this._finishRippleTransition(K),K}},{key:"fadeOutRipple",value:function(e){if(2!==e.state&&3!==e.state){var t=e.element,r=(0,f.Z)((0,f.Z)({},Q),e.config.animation);t.style.transitionDuration="".concat(r.exitDuration,"ms"),t.style.opacity="0",e.state=2,(e._animationForciblyDisabledThroughCss||!r.exitDuration)&&this._finishRippleTransition(e)}}},{key:"fadeOutAll",value:function(){this._getActiveRipples().forEach(function(e){return e.fadeOut()})}},{key:"fadeOutAllNonPersistent",value:function(){this._getActiveRipples().forEach(function(e){e.config.persistent||e.fadeOut()})}},{key:"setupTriggerEvents",value:function(e){var t=this,r=(0,R.coerceElement)(e);!this._platform.isBrowser||!r||r===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=r,he.forEach(function(a){n._eventManager.addHandler(t._ngZone,a,r,t)}))}},{key:"handleEvent",value:function(e){var t=this;"mousedown"===e.type?this._onMousedown(e):"touchstart"===e.type?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(function(){pe.forEach(function(r){t._triggerElement.addEventListener(r,t,fe)})}),this._pointerUpEventsRegistered=!0)}},{key:"_finishRippleTransition",value:function(e){0===e.state?this._startFadeOutTransition(e):2===e.state&&this._destroyRipple(e)}},{key:"_startFadeOutTransition",value:function(e){var t=e===this._mostRecentTransientRipple,r=e.config.persistent;e.state=1,!r&&(!t||!this._isPointerDown)&&e.fadeOut()}},{key:"_destroyRipple",value:function(e){var t,r=null!==(t=this._activeRipples.get(e))&&void 0!==t?t:null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=3,null!==r&&(e.element.removeEventListener("transitionend",r.onTransitionEnd),e.element.removeEventListener("transitioncancel",r.onTransitionCancel)),e.element.remove()}},{key:"_onMousedown",value:function(e){var t=(0,I.isFakeMousedownFromScreenReader)(e),r=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!t&&!r&&(this._isPointerDown=!0,this.fadeInRipple(e.clientX,e.clientY,this._target.rippleConfig))}},{key:"_onTouchStart",value:function(e){if(!this._target.rippleDisabled&&!(0,I.isFakeTouchstartFromScreenReader)(e)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;for(var t=e.changedTouches,r=0;r<t.length;r++)this.fadeInRipple(t[r].clientX,t[r].clientY,this._target.rippleConfig)}}},{key:"_onPointerUp",value:function(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(function(e){!e.config.persistent&&(1===e.state||e.config.terminateOnPointerUp&&0===e.state)&&e.fadeOut()}))}},{key:"_getActiveRipples",value:function(){return Array.from(this._activeRipples.keys())}},{key:"_removeTriggerEvents",value:function(){var e=this,t=this._triggerElement;t&&(he.forEach(function(r){return n._eventManager.removeHandler(r,t,e)}),this._pointerUpEventsRegistered&&pe.forEach(function(r){return t.removeEventListener(r,e,fe)}))}}]),n}();J._eventManager=new Fe;var _e=new s.InjectionToken("mat-ripple-global-options"),me=function(){var n=function(){function o(e,t,r,a,l){(0,p.Z)(this,o),this._elementRef=e,this._animationMode=l,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=a||{},this._rippleRenderer=new J(this,t,e,r)}return(0,u.Z)(o,[{key:"disabled",get:function(){return this._disabled},set:function(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}},{key:"trigger",get:function(){return this._trigger||this._elementRef.nativeElement},set:function(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}},{key:"ngOnInit",value:function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}},{key:"ngOnDestroy",value:function(){this._rippleRenderer._removeTriggerEvents()}},{key:"fadeOutAll",value:function(){this._rippleRenderer.fadeOutAll()}},{key:"fadeOutAllNonPersistent",value:function(){this._rippleRenderer.fadeOutAllNonPersistent()}},{key:"rippleConfig",get:function(){return{centered:this.centered,radius:this.radius,color:this.color,animation:(0,f.Z)((0,f.Z)((0,f.Z)({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}},{key:"rippleDisabled",get:function(){return this.disabled||!!this._globalOptions.disabled}},{key:"_setupTriggerEventsIfEnabled",value:function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}},{key:"launch",value:function(t){var a=arguments.length>2?arguments[2]:void 0;return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,(0,f.Z)((0,f.Z)({},this.rippleConfig),a)):this._rippleRenderer.fadeInRipple(0,0,(0,f.Z)((0,f.Z)({},this.rippleConfig),t))}}]),o}();return n.\u0275fac=function(e){return new(e||n)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(s.NgZone),s.\u0275\u0275directiveInject(x.Platform),s.\u0275\u0275directiveInject(_e,8),s.\u0275\u0275directiveInject(L.ANIMATION_MODULE_TYPE,8))},n.\u0275dir=s.\u0275\u0275defineDirective({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&s.\u0275\u0275classProp("mat-ripple-unbounded",t.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),n}(),ve=function(){var n=(0,u.Z)(function o(){(0,p.Z)(this,o)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=s.\u0275\u0275defineNgModule({type:n}),n.\u0275inj=s.\u0275\u0275defineInjector({imports:[W,W]}),n}(),ge=function(){var n=(0,u.Z)(function o(e){(0,p.Z)(this,o),this._animationMode=e,this.state="unchecked",this.disabled=!1,this.appearance="full"});return n.\u0275fac=function(e){return new(e||n)(s.\u0275\u0275directiveInject(L.ANIMATION_MODULE_TYPE,8))},n.\u0275cmp=s.\u0275\u0275defineComponent({type:n,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(e,t){2&e&&s.\u0275\u0275classProp("mat-pseudo-checkbox-indeterminate","indeterminate"===t.state)("mat-pseudo-checkbox-checked","checked"===t.state)("mat-pseudo-checkbox-disabled",t.disabled)("mat-pseudo-checkbox-minimal","minimal"===t.appearance)("mat-pseudo-checkbox-full","full"===t.appearance)("_mat-animation-noopable","NoopAnimations"===t._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(e,t){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0}),n}(),ye=function(){var n=(0,u.Z)(function o(){(0,p.Z)(this,o)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=s.\u0275\u0275defineNgModule({type:n}),n.\u0275inj=s.\u0275\u0275defineInjector({imports:[W]}),n}(),$=new s.InjectionToken("MAT_OPTION_PARENT_COMPONENT"),ze=re(function(){return(0,u.Z)(function n(){(0,p.Z)(this,n)})}()),Ve=0,be=function(){var n=function(o){(0,d.Z)(t,o);var e=(0,v.Z)(t);function t(r){var a,l;return(0,p.Z)(this,t),(l=e.call(this))._labelId="mat-optgroup-label-".concat(Ve++),l._inert=null!==(a=r?.inertGroups)&&void 0!==a&&a,l}return(0,u.Z)(t)}(ze);return n.\u0275fac=function(e){return new(e||n)(s.\u0275\u0275directiveInject($,8))},n.\u0275dir=s.\u0275\u0275defineDirective({type:n,inputs:{label:"label"},features:[s.\u0275\u0275InheritDefinitionFeature]}),n}(),q=new s.InjectionToken("MatOptgroup"),Ye=function(){var n=function(o){(0,d.Z)(t,o);var e=(0,v.Z)(t);function t(){return(0,p.Z)(this,t),e.apply(this,arguments)}return(0,u.Z)(t)}(be);return n.\u0275fac=function(){var o;return function(t){return(o||(o=s.\u0275\u0275getInheritedFactory(n)))(t||n)}}(),n.\u0275cmp=s.\u0275\u0275defineComponent({type:n,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-mdc-optgroup"],hostVars:3,hostBindings:function(e,t){2&e&&s.\u0275\u0275attribute("role",t._inert?null:"group")("aria-disabled",t._inert?null:t.disabled.toString())("aria-labelledby",t._inert?null:t._labelId)},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[s.\u0275\u0275ProvidersFeature([{provide:q,useExisting:n}]),s.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:E,decls:5,vars:4,consts:[["role","presentation",1,"mat-mdc-optgroup-label",3,"id"],[1,"mdc-list-item__primary-text"]],template:function(e,t){1&e&&(s.\u0275\u0275projectionDef(g),s.\u0275\u0275elementStart(0,"span",0)(1,"span",1),s.\u0275\u0275text(2),s.\u0275\u0275projection(3),s.\u0275\u0275elementEnd()(),s.\u0275\u0275projection(4,1)),2&e&&(s.\u0275\u0275classProp("mdc-list-item--disabled",t.disabled),s.\u0275\u0275property("id",t._labelId),s.\u0275\u0275advance(2),s.\u0275\u0275textInterpolate1("",t.label," "))},styles:[".mat-mdc-optgroup-label{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;min-height:48px}.mat-mdc-optgroup-label:focus{outline:none}[dir=rtl] .mat-mdc-optgroup-label,.mat-mdc-optgroup-label[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-optgroup-label.mdc-list-item--disabled{opacity:.38}.mat-mdc-optgroup-label .mdc-list-item__primary-text{white-space:normal}"],encapsulation:2,changeDetection:0}),n}(),He=0,Me=(0,u.Z)(function n(o){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(0,p.Z)(this,n),this.source=o,this.isUserInput=e}),Ee=function(){var n=function(){function o(e,t,r,a){(0,p.Z)(this,o),this._element=e,this._changeDetectorRef=t,this._parent=r,this.group=a,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-".concat(He++),this.onSelectionChange=new s.EventEmitter,this._stateChanges=new U.x}return(0,u.Z)(o,[{key:"multiple",get:function(){return this._parent&&this._parent.multiple}},{key:"selected",get:function(){return this._selected}},{key:"disabled",get:function(){return this.group&&this.group.disabled||this._disabled},set:function(t){this._disabled=(0,R.coerceBooleanProperty)(t)}},{key:"disableRipple",get:function(){return!(!this._parent||!this._parent.disableRipple)}},{key:"hideSingleSelectionIndicator",get:function(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}},{key:"active",get:function(){return this._active}},{key:"viewValue",get:function(){var t;return((null===(t=this._text)||void 0===t?void 0:t.nativeElement.textContent)||"").trim()}},{key:"select",value:function(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"deselect",value:function(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"focus",value:function(t,r){var a=this._getHostElement();"function"==typeof a.focus&&a.focus(r)}},{key:"setActiveStyles",value:function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}},{key:"setInactiveStyles",value:function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}},{key:"getLabel",value:function(){return this.viewValue}},{key:"_handleKeydown",value:function(t){(t.keyCode===M.ENTER||t.keyCode===M.SPACE)&&!(0,M.hasModifierKey)(t)&&(this._selectViaInteraction(),t.preventDefault())}},{key:"_selectViaInteraction",value:function(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._element.nativeElement}},{key:"ngAfterViewChecked",value:function(){if(this._selected){var t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=t)}}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"_emitSelectionChangeEvent",value:function(){this.onSelectionChange.emit(new Me(this,arguments.length>0&&void 0!==arguments[0]&&arguments[0]))}}]),o}();return n.\u0275fac=function(e){s.\u0275\u0275invalidFactory()},n.\u0275dir=s.\u0275\u0275defineDirective({type:n,viewQuery:function(e,t){var r;1&e&&s.\u0275\u0275viewQuery(k,7),2&e&&s.\u0275\u0275queryRefresh(r=s.\u0275\u0275loadQuery())&&(t._text=r.first)},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),n}(),Ge=function(){var n=function(o){(0,d.Z)(t,o);var e=(0,v.Z)(t);function t(r,a,l,_){return(0,p.Z)(this,t),e.call(this,r,a,l,_)}return(0,u.Z)(t)}(Ee);return n.\u0275fac=function(e){return new(e||n)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(s.ChangeDetectorRef),s.\u0275\u0275directiveInject($,8),s.\u0275\u0275directiveInject(q,8))},n.\u0275cmp=s.\u0275\u0275defineComponent({type:n,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(e,t){1&e&&s.\u0275\u0275listener("click",function(){return t._selectViaInteraction()})("keydown",function(a){return t._handleKeydown(a)}),2&e&&(s.\u0275\u0275hostProperty("id",t.id),s.\u0275\u0275attribute("aria-selected",t.selected)("aria-disabled",t.disabled.toString()),s.\u0275\u0275classProp("mdc-list-item--selected",t.selected)("mat-mdc-option-multiple",t.multiple)("mat-mdc-option-active",t.active)("mdc-list-item--disabled",t.disabled))},exportAs:["matOption"],features:[s.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:B,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","appearance","minimal",3,"disabled",4,"ngIf"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-mdc-option-pseudo-checkbox",3,"state","disabled"],["state","checked","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(e,t){1&e&&(s.\u0275\u0275projectionDef(w),s.\u0275\u0275template(0,b,1,2,"mat-pseudo-checkbox",0),s.\u0275\u0275projection(1),s.\u0275\u0275elementStart(2,"span",1,2),s.\u0275\u0275projection(4,1),s.\u0275\u0275elementEnd(),s.\u0275\u0275template(5,D,1,1,"mat-pseudo-checkbox",3),s.\u0275\u0275template(6,S,2,1,"span",4),s.\u0275\u0275element(7,"div",5)),2&e&&(s.\u0275\u0275property("ngIf",t.multiple),s.\u0275\u0275advance(5),s.\u0275\u0275property("ngIf",!t.multiple&&t.selected&&!t.hideSingleSelectionIndicator),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",t.group&&t.group._inert),s.\u0275\u0275advance(1),s.\u0275\u0275property("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disabled||t.disableRipple))},dependencies:[me,C.NgIf,ge],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),n}();function Xe(n,o,e){if(e.length){for(var t=o.toArray(),r=e.toArray(),a=0,l=0;l<n+1;l++)t[l].group&&t[l].group===r[a]&&a++;return a}return 0}function Qe(n,o,e,t){return n<e?n:n+o>e+t?Math.max(0,n-t+o):e}var Je=function(){var n=(0,u.Z)(function o(){(0,p.Z)(this,o)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=s.\u0275\u0275defineNgModule({type:n}),n.\u0275inj=s.\u0275\u0275defineInjector({imports:[ve,C.CommonModule,W,ye]}),n}()},44841:(A,y,i)=>{function f(m,c){(null==c||c>m.length)&&(c=m.length);for(var h=0,d=new Array(c);h<c;h++)d[h]=m[h];return d}i.d(y,{Z:()=>f})},35488:(A,y,i)=>{function f(m){if(void 0===m)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m}i.d(y,{Z:()=>f})},95106:(A,y,i)=>{i.d(y,{Z:()=>m});var f=i(44206);function m(c,h){var d=typeof Symbol<"u"&&c[Symbol.iterator]||c["@@iterator"];if(!d){if(Array.isArray(c)||(d=(0,f.Z)(c))||h&&c&&"number"==typeof c.length){d&&(c=d);var v=0,u=function(){};return{s:u,n:function(){return v>=c.length?{done:!0}:{done:!1,value:c[v++]}},e:function(P){throw P},f:u}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var I,p=!0,s=!1;return{s:function(){d=d.call(c)},n:function(){var P=d.next();return p=P.done,P},e:function(P){s=!0,I=P},f:function(){try{!p&&null!=d.return&&d.return()}finally{if(s)throw I}}}}},28694:(A,y,i)=>{i.d(y,{Z:()=>v});var f=i(20265),m=i(98568),c=i(43445),h=i(35488);function v(u){var p=(0,m.Z)();return function(){var T,I=(0,f.Z)(u);if(p){var P=(0,f.Z)(this).constructor;T=Reflect.construct(I,arguments,P)}else T=I.apply(this,arguments);return function d(u,p){if(p&&("object"===(0,c.Z)(p)||"function"==typeof p))return p;if(void 0!==p)throw new TypeError("Derived constructors may only return object or undefined");return(0,h.Z)(u)}(this,T)}}},77797:(A,y,i)=>{i.d(y,{Z:()=>m});var f=i(51299);function m(c,h,d){return(h=(0,f.Z)(h))in c?Object.defineProperty(c,h,{value:d,enumerable:!0,configurable:!0,writable:!0}):c[h]=d,c}},4089:(A,y,i)=>{i.d(y,{Z:()=>c});var f=i(20265);function c(){return c=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(d,v,u){var p=function m(h,d){for(;!Object.prototype.hasOwnProperty.call(h,d)&&null!==(h=(0,f.Z)(h)););return h}(d,v);if(p){var s=Object.getOwnPropertyDescriptor(p,v);return s.get?s.get.call(arguments.length<3?d:u):s.value}},c.apply(this,arguments)}},20265:(A,y,i)=>{function f(m){return(f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(h){return h.__proto__||Object.getPrototypeOf(h)})(m)}i.d(y,{Z:()=>f})},24582:(A,y,i)=>{i.d(y,{Z:()=>m});var f=i(10006);function m(c,h){if("function"!=typeof h&&null!==h)throw new TypeError("Super expression must either be null or a function");c.prototype=Object.create(h&&h.prototype,{constructor:{value:c,writable:!0,configurable:!0}}),Object.defineProperty(c,"prototype",{writable:!1}),h&&(0,f.Z)(c,h)}},98568:(A,y,i)=>{function f(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}i.d(y,{Z:()=>f})},4826:(A,y,i)=>{function f(m){if(typeof Symbol<"u"&&null!=m[Symbol.iterator]||null!=m["@@iterator"])return Array.from(m)}i.d(y,{Z:()=>f})},35603:(A,y,i)=>{i.d(y,{Z:()=>c});var f=i(77797);function m(h,d){var v=Object.keys(h);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(h);d&&(u=u.filter(function(p){return Object.getOwnPropertyDescriptor(h,p).enumerable})),v.push.apply(v,u)}return v}function c(h){for(var d=1;d<arguments.length;d++){var v=null!=arguments[d]?arguments[d]:{};d%2?m(Object(v),!0).forEach(function(u){(0,f.Z)(h,u,v[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(h,Object.getOwnPropertyDescriptors(v)):m(Object(v)).forEach(function(u){Object.defineProperty(h,u,Object.getOwnPropertyDescriptor(v,u))})}return h}},10006:(A,y,i)=>{function f(m,c){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,v){return d.__proto__=v,d})(m,c)}i.d(y,{Z:()=>f})},86170:(A,y,i)=>{i.d(y,{Z:()=>v});var f=i(44841),c=i(4826),h=i(44206);function v(u){return function m(u){if(Array.isArray(u))return(0,f.Z)(u)}(u)||(0,c.Z)(u)||(0,h.Z)(u)||function d(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(A,y,i)=>{i.d(y,{Z:()=>m});var f=i(44841);function m(c,h){if(c){if("string"==typeof c)return(0,f.Z)(c,h);var d=Object.prototype.toString.call(c).slice(8,-1);if("Object"===d&&c.constructor&&(d=c.constructor.name),"Map"===d||"Set"===d)return Array.from(c);if("Arguments"===d||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d))return(0,f.Z)(c,h)}}}}]); +//# sourceMappingURL=6936.b38a104e439a2a69.js.map \ No newline at end of file diff --git a/6936.b38a104e439a2a69.js.map b/6936.b38a104e439a2a69.js.map new file mode 100644 index 0000000..45631d7 --- /dev/null +++ b/6936.b38a104e439a2a69.js.map @@ -0,0 +1 @@ +{"version":3,"file":"6936.b38a104e439a2a69.js","mappings":"4cACaA,cAA0BC,GAAiB,SAACC,GAAM,OAAK,WAChEA,EAAOC,MACPA,KAAKC,KAAO,0BACZD,KAAKE,QAAU,qBACnB,CAAC,yBCAYC,EAAO,eAAPA,EAAO,SAAAC,IAAAC,OAAAF,EAAAC,GAAA,IAAAL,KAAAO,KAAAH,GAChB,SAAAA,IAAc,IAAAI,EAAAC,cAAAR,KAAAG,IACVI,EAAAR,EAAAU,KAAAT,OACKU,QAAS,EACdH,EAAKI,iBAAmB,KACxBJ,EAAKK,UAAY,GACjBL,EAAKM,WAAY,EACjBN,EAAKO,UAAW,EAChBP,E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AAA,EAASgjB,EAAA7D,GAAenf,KAAA,EAASijB,EAAA9D,GAA0Bnf,IELtE,SAAAkjB,IACf,UAAApiB,UAAA,uIACA,CFG8FoiB,EAC9F,mDGLe,SAAAC,EAAArE,EAAAsE,GACf,GAAAtE,EACA,qBAAAA,EAAA,SAAoCuE,EAAAlE,GAAgBL,EAAAsE,GACpD,IAAAprB,EAAAwoB,OAAAvnB,UAAAwhB,SAAA/jB,KAAAooB,GAAAnS,MAAA,MAEA,GADA,WAAA3U,GAAA8mB,EAAAkB,cAAAhoB,EAAA8mB,EAAAkB,YAAA9pB,MACA,QAAA8B,GAAA,QAAAA,EAAA,OAAAN,MAAAC,KAAAmnB,GACA,iBAAA9mB,GAAA,2CAAAqU,KAAArU,GAAA,SAAsFqrB,EAAAlE,GAAgBL,EAAAsE,EAAA,CACtG","names":["ObjectUnsubscribedError","createErrorClass","_super","this","name","message","Subject","_Observable","_inherits","_createSuper","_this","_classCallCheck","call","closed","currentObservers","observers","isStopped","hasError","thrownError","_createClass","key","value","operator","subject","AnonymousSubject","_this2","errorContext","_throwIfClosed","Array","from","_step","_iterator","_createForOfIteratorHelper","s","n","done","next","err","e","f","_this3","length","shift","error","_this4","complete","get","_a","subscriber","_get","_getPrototypeOf","prototype","_checkFinalizedStatuses","_innerSubscribe","_this5","EMPTY_SUBSCRIPTION","push","Subscription","arrRemove","observable","Observable","source","create","destination","_Subject","_super2","_this6","_b","subscribe","concat","_len","arguments","args","_key","concatAll","mergeAll","popScheduler","subscribeOn","scheduler","delay","undefined","operate","add","schedule","scheduleAsyncIterable","input","Error","executeSchedule","iterator","Symbol","asyncIterator","then","result","scheduled","isInteropObservable","scheduleObservable","innerFrom","pipe","observeOn","isArrayLike","scheduleArray","i","isPromise","schedulePromise","isAsyncIterable","isIterable","scheduleIterable","Symbol_iterator","_iterator$next","isFunction","return","isReadableStreamLike","scheduleReadableStreamLike","readableStreamLikeToAsyncGenerator","createInvalidObservableTypeError","createOperatorSubscriber","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_next","_assertThisInitialized","_error","unsubscribe","_complete","Subscriber","map","project","thisArg","index","mergeMap","identity","Infinity","resultSelector","concurrent","a","b","ii","mergeInternals","onBeforeNext","expand","innerSubScheduler","additionalFinalizer","buffer","active","isComplete","checkComplete","outerNext","doInnerSub","innerComplete","innerValue","_loop","bufferedValue","startWith","values","last","arr","popResultSelector","pop","isScheduler","popNumber","defaultValue","parentSubscription","work","repeat","scheduleSubscription","hasLift","lift","init","liftedSource","TypeError","_c0","_c1","_c2","MatOption_mat_pseudo_checkbox_0_Template","rf","ctx","i0","ctx_r0","selected","disabled","MatOption_mat_pseudo_checkbox_5_Template","ctx_r2","MatOption_span_6_Template","ctx_r3","group","label","_c3","_c4","VERSION","Version","AnimationCurves","STANDARD_CURVE","DECELERATION_CURVE","ACCELERATION_CURVE","SHARP_CURVE","AnimationDurations","COMPLEX","ENTERING","EXITING","MATERIAL_SANITY_CHECKS","InjectionToken","providedIn","factory","MATERIAL_SANITY_CHECKS_FACTORY","MatCommonModule","highContrastModeDetector","_sanityChecks","_document","_hasDoneGlobalChecks","_applyBodyHighContrastModeCssClasses","_isTestEnvironment","ɵfac","t","i1","DOCUMENT","ɵmod","type","ɵinj","imports","BidiModule","mixinDisabled","base","_base","_class","apply","_disabled","set","coerceBooleanProperty","mixinColor","defaultColor","_base2","_class2","_len2","_key2","color","_color","colorPalette","_elementRef","nativeElement","classList","remove","mixinDisableRipple","_base3","_class3","_super3","_len3","_key3","_disableRipple","mixinTabIndex","defaultTabIndex","_base4","_class4","_super4","_len4","_key4","_tabIndex","coerceNumberProperty","mixinErrorState","_base5","_class5","_super5","_len5","_key5","errorState","oldState","newState","errorStateMatcher","_defaultErrorStateMatcher","isErrorState","ngControl","control","_parentFormGroup","_parentForm","stateChanges","mixinInitialized","_base6","_class6","_super6","_len6","_key6","_isInitialized","_pendingSubscribers","initialized","_notifySubscriber","forEach","MAT_DATE_LOCALE","MAT_DATE_LOCALE_FACTORY","inject","LOCALE_ID","DateAdapter","_localeChanges","localeChanges","obj","isDateInstance","isValid","invalid","locale","first","second","getYear","getMonth","getDate","firstValid","secondValid","compareDate","date","min","max","MAT_DATE_FORMATS","ISO_8601_REGEX","range","valueFunction","valuesArray","NativeDateAdapter","_DateAdapter","_super7","matDateLocale","_platform","_this7","useUtcForDisplay","getFullYear","getDay","style","_this8","dtf","Intl","DateTimeFormat","month","timeZone","_format","Date","_this9","day","_this10","weekday","year","_createDateWithOverflow","getTime","parseFormat","parse","displayFormat","_objectSpread","years","addCalendarMonths","months","newDate","days","getUTCFullYear","_2digit","getUTCMonth","getUTCDate","join","test","isNaN","NaN","d","setFullYear","setHours","slice","setUTCFullYear","setUTCHours","getHours","getMinutes","getSeconds","getMilliseconds","format","i1$1","ɵprov","token","MAT_NATIVE_DATE_FORMATS","dateInput","display","monthYearLabel","dateA11yLabel","monthYearA11yLabel","NativeDateModule","providers","provide","useClass","MatNativeDateModule","useValue","ShowOnDirtyErrorStateMatcher","form","dirty","submitted","ErrorStateMatcher","touched","MatLine","ɵdir","selectors","hostAttrs","setLines","lines","element","prefix","changes","_ref","setClass","className","isAdd","toggle","MatLineModule","RippleRef","_renderer","config","_animationForciblyDisabledThroughCss","state","fadeOutRipple","passiveCapturingEventOptions$1","normalizePassiveListenerOptions","passive","capture","RippleEventManager","_this11","_events","Map","_delegateEventHandler","event","_this11$_events$get","target","_getEventTarget","handlers","contains","handler","handleEvent","ngZone","_this12","handlersForEvent","handlersForElement","Set","runOutsideAngular","document","addEventListener","delete","size","removeEventListener","defaultRippleAnimationConfig","enterDuration","exitDuration","passiveCapturingEventOptions","pointerDownEvents","pointerUpEvents","RippleRenderer","_target","_ngZone","elementOrElementRef","_isPointerDown","_activeRipples","_pointerUpEventsRegistered","isBrowser","_containerElement","coerceElement","x","y","_this13","containerRect","_containerRect","getBoundingClientRect","animationConfig","animation","centered","left","width","top","height","radius","distanceToFurthestCorner","rect","distX","Math","abs","right","distY","bottom","sqrt","offsetX","offsetY","ripple","createElement","backgroundColor","transitionDuration","appendChild","computedStyles","window","getComputedStyle","userTransitionDuration","animationForciblyDisabledThroughCss","transitionProperty","rippleRef","transform","persistent","_mostRecentTransientRipple","eventListeners","onTransitionEnd","_finishRippleTransition","onTransitionCancel","_destroyRipple","rippleEl","opacity","_getActiveRipples","fadeOut","_this14","_triggerElement","_removeTriggerEvents","_eventManager","addHandler","_this15","_onMousedown","_onTouchStart","_onPointerUp","_startFadeOutTransition","isMostRecentTransientRipple","_this$_activeRipples$","isFakeMousedown","isFakeMousedownFromScreenReader","isSyntheticEvent","_lastTouchStartEvent","now","rippleDisabled","fadeInRipple","clientX","clientY","rippleConfig","isFakeTouchstartFromScreenReader","touches","changedTouches","terminateOnPointerUp","keys","_this16","trigger","removeHandler","MAT_RIPPLE_GLOBAL_OPTIONS","MatRipple","platform","globalOptions","_animationMode","_globalOptions","_rippleRenderer","fadeOutAllNonPersistent","_setupTriggerEventsIfEnabled","_trigger","fadeOutAll","setupTriggerEvents","configOrX","ANIMATION_MODULE_TYPE","hostVars","hostBindings","unbounded","inputs","exportAs","MatRippleModule","MatPseudoCheckbox","appearance","ɵcmp","decls","vars","template","styles","encapsulation","changeDetection","MatPseudoCheckboxModule","MAT_OPTION_PARENT_COMPONENT","_MatOptgroupMixinBase","_class7","_uniqueOptgroupIdCounter","_MatOptgroupBase","_MatOptgroupMixinBase2","_super8","parent","_parent$inertGroups","_this17","_labelId","_inert","inertGroups","features","MAT_OPTGROUP","MatOptgroup","_MatOptgroupBase2","_super9","ɵMatOptgroup_BaseFactory","toString","useExisting","ngContentSelectors","consts","_uniqueIdCounter","MatOptionSelectionChange","isUserInput","_MatOptionBase","_element","_changeDetectorRef","_parent","_selected","_active","_mostRecentViewValue","id","onSelectionChange","EventEmitter","_stateChanges","multiple","disableRipple","hideSingleSelectionIndicator","_this$_text","_text","textContent","trim","markForCheck","_emitSelectionChangeEvent","_origin","options","_getHostElement","focus","viewValue","keyCode","ENTER","SPACE","hasModifierKey","_selectViaInteraction","preventDefault","emit","viewQuery","_t","outputs","MatOption","_MatOptionBase2","_super10","changeDetectorRef","$event","_handleKeydown","dependencies","i3","_countGroupLabelsBeforeOption","optionIndex","optionGroups","optionsArray","toArray","groups","groupCounter","_getOptionScrollPosition","optionOffset","optionHeight","currentScrollPosition","panelHeight","MatOptionModule","CommonModule","_arrayLikeToArray","len","arr2","self","ReferenceError","o","allowArrayLike","it","isArray","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","_e","normalCompletion","didErr","step","_e2","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Super","getPrototypeOf","NewTarget","constructor","Reflect","construct","_possibleConstructorReturn","esm_typeof","assertThisInitialized","_defineProperty","_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__","Object","defineProperty","enumerable","configurable","writable","bind","property","receiver","_superPropBase","object","hasOwnProperty","desc","getOwnPropertyDescriptor","setPrototypeOf","__proto__","subClass","superClass","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_iterableToArray","iter","ownKeys","enumerableOnly","getOwnPropertySymbols","symbols","filter","sym","_objectSpread2","_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__","getOwnPropertyDescriptors","defineProperties","_setPrototypeOf","p","_toConsumableArray","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/util/ObjectUnsubscribedError.js","./node_modules/rxjs/dist/esm/internal/Subject.js","./node_modules/rxjs/dist/esm/internal/observable/concat.js","./node_modules/rxjs/dist/esm/internal/operators/concatAll.js","./node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleAsyncIterable.js","./node_modules/rxjs/dist/esm/internal/observable/from.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduled.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleObservable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleArray.js","./node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleIterable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleReadableStreamLike.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/map.js","./node_modules/rxjs/dist/esm/internal/operators/mergeAll.js","./node_modules/rxjs/dist/esm/internal/operators/mergeMap.js","./node_modules/rxjs/dist/esm/internal/operators/mergeInternals.js","./node_modules/rxjs/dist/esm/internal/operators/observeOn.js","./node_modules/rxjs/dist/esm/internal/operators/startWith.js","./node_modules/rxjs/dist/esm/internal/util/args.js","./node_modules/rxjs/dist/esm/internal/util/executeSchedule.js","./node_modules/rxjs/dist/esm/internal/util/isScheduler.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/@angular/material/fesm2022/core.mjs","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/defineProperty.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/objectSpread2.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { createErrorClass } from './createErrorClass';\nexport const ObjectUnsubscribedError = createErrorClass((_super) => function ObjectUnsubscribedErrorImpl() {\n _super(this);\n this.name = 'ObjectUnsubscribedError';\n this.message = 'object unsubscribed';\n});\n","import { Observable } from './Observable';\nimport { Subscription, EMPTY_SUBSCRIPTION } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { arrRemove } from './util/arrRemove';\nimport { errorContext } from './util/errorContext';\nexport class Subject extends Observable {\n constructor() {\n super();\n this.closed = false;\n this.currentObservers = null;\n this.observers = [];\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n lift(operator) {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n }\n _throwIfClosed() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n }\n next(value) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n if (!this.currentObservers) {\n this.currentObservers = Array.from(this.observers);\n }\n for (const observer of this.currentObservers) {\n observer.next(value);\n }\n }\n });\n }\n error(err) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.hasError = this.isStopped = true;\n this.thrownError = err;\n const { observers } = this;\n while (observers.length) {\n observers.shift().error(err);\n }\n }\n });\n }\n complete() {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.isStopped = true;\n const { observers } = this;\n while (observers.length) {\n observers.shift().complete();\n }\n }\n });\n }\n unsubscribe() {\n this.isStopped = this.closed = true;\n this.observers = this.currentObservers = null;\n }\n get observed() {\n var _a;\n return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;\n }\n _trySubscribe(subscriber) {\n this._throwIfClosed();\n return super._trySubscribe(subscriber);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._checkFinalizedStatuses(subscriber);\n return this._innerSubscribe(subscriber);\n }\n _innerSubscribe(subscriber) {\n const { hasError, isStopped, observers } = this;\n if (hasError || isStopped) {\n return EMPTY_SUBSCRIPTION;\n }\n this.currentObservers = null;\n observers.push(subscriber);\n return new Subscription(() => {\n this.currentObservers = null;\n arrRemove(observers, subscriber);\n });\n }\n _checkFinalizedStatuses(subscriber) {\n const { hasError, thrownError, isStopped } = this;\n if (hasError) {\n subscriber.error(thrownError);\n }\n else if (isStopped) {\n subscriber.complete();\n }\n }\n asObservable() {\n const observable = new Observable();\n observable.source = this;\n return observable;\n }\n}\nSubject.create = (destination, source) => {\n return new AnonymousSubject(destination, source);\n};\nexport class AnonymousSubject extends Subject {\n constructor(destination, source) {\n super();\n this.destination = destination;\n this.source = source;\n }\n next(value) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);\n }\n error(err) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);\n }\n complete() {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);\n }\n _subscribe(subscriber) {\n var _a, _b;\n return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;\n }\n}\n","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}\n","import { mergeAll } from './mergeAll';\nexport function concatAll() {\n return mergeAll(1);\n}\n","import { operate } from '../util/lift';\nexport function subscribeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay));\n });\n}\n","import { Observable } from '../Observable';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleAsyncIterable(input, scheduler) {\n if (!input) {\n throw new Error('Iterable cannot be null');\n }\n return new Observable((subscriber) => {\n executeSchedule(subscriber, scheduler, () => {\n const iterator = input[Symbol.asyncIterator]();\n executeSchedule(subscriber, scheduler, () => {\n iterator.next().then((result) => {\n if (result.done) {\n subscriber.complete();\n }\n else {\n subscriber.next(result.value);\n }\n });\n }, 0, true);\n });\n });\n}\n","import { scheduled } from '../scheduled/scheduled';\nimport { innerFrom } from './innerFrom';\nexport function from(input, scheduler) {\n return scheduler ? scheduled(input, scheduler) : innerFrom(input);\n}\n","import { scheduleObservable } from './scheduleObservable';\nimport { schedulePromise } from './schedulePromise';\nimport { scheduleArray } from './scheduleArray';\nimport { scheduleIterable } from './scheduleIterable';\nimport { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isPromise } from '../util/isPromise';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isIterable } from '../util/isIterable';\nimport { isAsyncIterable } from '../util/isAsyncIterable';\nimport { createInvalidObservableTypeError } from '../util/throwUnobservableError';\nimport { isReadableStreamLike } from '../util/isReadableStreamLike';\nimport { scheduleReadableStreamLike } from './scheduleReadableStreamLike';\nexport function scheduled(input, scheduler) {\n if (input != null) {\n if (isInteropObservable(input)) {\n return scheduleObservable(input, scheduler);\n }\n if (isArrayLike(input)) {\n return scheduleArray(input, scheduler);\n }\n if (isPromise(input)) {\n return schedulePromise(input, scheduler);\n }\n if (isAsyncIterable(input)) {\n return scheduleAsyncIterable(input, scheduler);\n }\n if (isIterable(input)) {\n return scheduleIterable(input, scheduler);\n }\n if (isReadableStreamLike(input)) {\n return scheduleReadableStreamLike(input, scheduler);\n }\n }\n throw createInvalidObservableTypeError(input);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function scheduleObservable(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nexport function scheduleArray(input, scheduler) {\n return new Observable((subscriber) => {\n let i = 0;\n return scheduler.schedule(function () {\n if (i === input.length) {\n subscriber.complete();\n }\n else {\n subscriber.next(input[i++]);\n if (!subscriber.closed) {\n this.schedule();\n }\n }\n });\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function schedulePromise(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from '../util/isFunction';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleIterable(input, scheduler) {\n return new Observable((subscriber) => {\n let iterator;\n executeSchedule(subscriber, scheduler, () => {\n iterator = input[Symbol_iterator]();\n executeSchedule(subscriber, scheduler, () => {\n let value;\n let done;\n try {\n ({ value, done } = iterator.next());\n }\n catch (err) {\n subscriber.error(err);\n return;\n }\n if (done) {\n subscriber.complete();\n }\n else {\n subscriber.next(value);\n }\n }, 0, true);\n });\n return () => isFunction(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return();\n });\n}\n","import { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { readableStreamLikeToAsyncGenerator } from '../util/isReadableStreamLike';\nexport function scheduleReadableStreamLike(input, scheduler) {\n return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function map(project, thisArg) {\n return operate((source, subscriber) => {\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n subscriber.next(project.call(thisArg, value, index++));\n }));\n });\n}\n","import { mergeMap } from './mergeMap';\nimport { identity } from '../util/identity';\nexport function mergeAll(concurrent = Infinity) {\n return mergeMap(identity, concurrent);\n}\n","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 }\n else if (typeof resultSelector === 'number') {\n concurrent = resultSelector;\n }\n return operate((source, subscriber) => mergeInternals(source, subscriber, project, concurrent));\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { executeSchedule } from '../util/executeSchedule';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function mergeInternals(source, subscriber, project, concurrent, onBeforeNext, expand, innerSubScheduler, additionalFinalizer) {\n const buffer = [];\n let active = 0;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => {\n if (isComplete && !buffer.length && !active) {\n subscriber.complete();\n }\n };\n const outerNext = (value) => (active < concurrent ? doInnerSub(value) : buffer.push(value));\n const doInnerSub = (value) => {\n expand && subscriber.next(value);\n active++;\n let innerComplete = false;\n innerFrom(project(value, index++)).subscribe(createOperatorSubscriber(subscriber, (innerValue) => {\n onBeforeNext === null || onBeforeNext === void 0 ? void 0 : onBeforeNext(innerValue);\n if (expand) {\n outerNext(innerValue);\n }\n else {\n subscriber.next(innerValue);\n }\n }, () => {\n innerComplete = true;\n }, undefined, () => {\n if (innerComplete) {\n try {\n active--;\n while (buffer.length && active < concurrent) {\n const bufferedValue = buffer.shift();\n if (innerSubScheduler) {\n executeSchedule(subscriber, innerSubScheduler, () => doInnerSub(bufferedValue));\n }\n else {\n doInnerSub(bufferedValue);\n }\n }\n checkComplete();\n }\n catch (err) {\n subscriber.error(err);\n }\n }\n }));\n };\n source.subscribe(createOperatorSubscriber(subscriber, outerNext, () => {\n isComplete = true;\n checkComplete();\n }));\n return () => {\n additionalFinalizer === null || additionalFinalizer === void 0 ? void 0 : additionalFinalizer();\n };\n}\n","import { executeSchedule } from '../util/executeSchedule';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function observeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, (value) => executeSchedule(subscriber, scheduler, () => subscriber.next(value), delay), () => executeSchedule(subscriber, scheduler, () => subscriber.complete(), delay), (err) => executeSchedule(subscriber, scheduler, () => subscriber.error(err), delay)));\n });\n}\n","import { concat } from '../observable/concat';\nimport { popScheduler } from '../util/args';\nimport { operate } from '../util/lift';\nexport function startWith(...values) {\n const scheduler = popScheduler(values);\n return operate((source, subscriber) => {\n (scheduler ? concat(values, source, scheduler) : concat(values, source)).subscribe(subscriber);\n });\n}\n","import { isFunction } from './isFunction';\nimport { isScheduler } from './isScheduler';\nfunction last(arr) {\n return arr[arr.length - 1];\n}\nexport function popResultSelector(args) {\n return isFunction(last(args)) ? args.pop() : undefined;\n}\nexport function popScheduler(args) {\n return isScheduler(last(args)) ? args.pop() : undefined;\n}\nexport function popNumber(args, defaultValue) {\n return typeof last(args) === 'number' ? args.pop() : defaultValue;\n}\n","export function executeSchedule(parentSubscription, scheduler, work, delay = 0, repeat = false) {\n const scheduleSubscription = scheduler.schedule(function () {\n work();\n if (repeat) {\n parentSubscription.add(this.schedule(null, delay));\n }\n else {\n this.unsubscribe();\n }\n }, delay);\n parentSubscription.add(scheduleSubscription);\n if (!repeat) {\n return scheduleSubscription;\n }\n}\n","import { isFunction } from './isFunction';\nexport function isScheduler(value) {\n return value && isFunction(value.schedule);\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","import * as i0 from '@angular/core';\nimport { Version, InjectionToken, inject, NgModule, Optional, Inject, LOCALE_ID, Injectable, Directive, Input, Component, ViewEncapsulation, ChangeDetectionStrategy, EventEmitter, Output, ViewChild } from '@angular/core';\nimport * as i1 from '@angular/cdk/a11y';\nimport { isFakeMousedownFromScreenReader, isFakeTouchstartFromScreenReader } from '@angular/cdk/a11y';\nimport { BidiModule } from '@angular/cdk/bidi';\nimport { VERSION as VERSION$1 } from '@angular/cdk';\nimport * as i3 from '@angular/common';\nimport { DOCUMENT, CommonModule } from '@angular/common';\nimport * as i1$1 from '@angular/cdk/platform';\nimport { Platform, _isTestEnvironment, normalizePassiveListenerOptions, _getEventTarget } from '@angular/cdk/platform';\nimport { coerceBooleanProperty, coerceNumberProperty, coerceElement } from '@angular/cdk/coercion';\nimport { Observable, Subject } from 'rxjs';\nimport { startWith } from 'rxjs/operators';\nimport { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';\nimport { ENTER, SPACE, hasModifierKey } from '@angular/cdk/keycodes';\n\n/** Current version of Angular Material. */\nconst VERSION = new Version('16.0.4');\n\n/** @docs-private */\nclass AnimationCurves {\n static { this.STANDARD_CURVE = 'cubic-bezier(0.4,0.0,0.2,1)'; }\n static { this.DECELERATION_CURVE = 'cubic-bezier(0.0,0.0,0.2,1)'; }\n static { this.ACCELERATION_CURVE = 'cubic-bezier(0.4,0.0,1,1)'; }\n static { this.SHARP_CURVE = 'cubic-bezier(0.4,0.0,0.6,1)'; }\n}\n/** @docs-private */\nclass AnimationDurations {\n static { this.COMPLEX = '375ms'; }\n static { this.ENTERING = '225ms'; }\n static { this.EXITING = '195ms'; }\n}\n\n/** @docs-private */\nfunction MATERIAL_SANITY_CHECKS_FACTORY() {\n return true;\n}\n/** Injection token that configures whether the Material sanity checks are enabled. */\nconst MATERIAL_SANITY_CHECKS = new InjectionToken('mat-sanity-checks', {\n providedIn: 'root',\n factory: MATERIAL_SANITY_CHECKS_FACTORY,\n});\n/**\n * Module that captures anything that should be loaded and/or run for *all* Angular Material\n * components. This includes Bidi, etc.\n *\n * This module should be imported to each top-level component module (e.g., MatTabsModule).\n */\nclass MatCommonModule {\n constructor(highContrastModeDetector, _sanityChecks, _document) {\n this._sanityChecks = _sanityChecks;\n this._document = _document;\n /** Whether we've done the global sanity checks (e.g. a theme is loaded, there is a doctype). */\n this._hasDoneGlobalChecks = false;\n // While A11yModule also does this, we repeat it here to avoid importing A11yModule\n // in MatCommonModule.\n highContrastModeDetector._applyBodyHighContrastModeCssClasses();\n if (!this._hasDoneGlobalChecks) {\n this._hasDoneGlobalChecks = true;\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n // Inject in here so the reference to `Platform` can be removed in production mode.\n const platform = inject(Platform, { optional: true });\n if (this._checkIsEnabled('doctype')) {\n _checkDoctypeIsDefined(this._document);\n }\n if (this._checkIsEnabled('theme')) {\n _checkThemeIsPresent(this._document, !!platform?.isBrowser);\n }\n if (this._checkIsEnabled('version')) {\n _checkCdkVersionMatch();\n }\n }\n }\n }\n /** Gets whether a specific sanity check is enabled. */\n _checkIsEnabled(name) {\n if (_isTestEnvironment()) {\n return false;\n }\n if (typeof this._sanityChecks === 'boolean') {\n return this._sanityChecks;\n }\n return !!this._sanityChecks[name];\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatCommonModule, deps: [{ token: i1.HighContrastModeDetector }, { token: MATERIAL_SANITY_CHECKS, optional: true }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatCommonModule, imports: [BidiModule], exports: [BidiModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatCommonModule, imports: [BidiModule, BidiModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatCommonModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [BidiModule],\n exports: [BidiModule],\n }]\n }], ctorParameters: function () { return [{ type: i1.HighContrastModeDetector }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MATERIAL_SANITY_CHECKS]\n }] }, { type: Document, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }]; } });\n/** Checks that the page has a doctype. */\nfunction _checkDoctypeIsDefined(doc) {\n if (!doc.doctype) {\n console.warn('Current document does not have a doctype. This may cause ' +\n 'some Angular Material components not to behave as expected.');\n }\n}\n/** Checks that a theme has been included. */\nfunction _checkThemeIsPresent(doc, isBrowser) {\n // We need to assert that the `body` is defined, because these checks run very early\n // and the `body` won't be defined if the consumer put their scripts in the `head`.\n if (!doc.body || !isBrowser) {\n return;\n }\n const testElement = doc.createElement('div');\n testElement.classList.add('mat-theme-loaded-marker');\n doc.body.appendChild(testElement);\n const computedStyle = getComputedStyle(testElement);\n // In some situations the computed style of the test element can be null. For example in\n // Firefox, the computed style is null if an application is running inside of a hidden iframe.\n // See: https://bugzilla.mozilla.org/show_bug.cgi?id=548397\n if (computedStyle && computedStyle.display !== 'none') {\n console.warn('Could not find Angular Material core theme. Most Material ' +\n 'components may not work as expected. For more info refer ' +\n 'to the theming guide: https://material.angular.io/guide/theming');\n }\n testElement.remove();\n}\n/** Checks whether the Material version matches the CDK version. */\nfunction _checkCdkVersionMatch() {\n if (VERSION.full !== VERSION$1.full) {\n console.warn('The Angular Material version (' +\n VERSION.full +\n ') does not match ' +\n 'the Angular CDK version (' +\n VERSION$1.full +\n ').\\n' +\n 'Please ensure the versions of these two packages exactly match.');\n }\n}\n\nfunction mixinDisabled(base) {\n return class extends base {\n get disabled() {\n return this._disabled;\n }\n set disabled(value) {\n this._disabled = coerceBooleanProperty(value);\n }\n constructor(...args) {\n super(...args);\n this._disabled = false;\n }\n };\n}\n\nfunction mixinColor(base, defaultColor) {\n return class extends base {\n get color() {\n return this._color;\n }\n set color(value) {\n const colorPalette = value || this.defaultColor;\n if (colorPalette !== this._color) {\n if (this._color) {\n this._elementRef.nativeElement.classList.remove(`mat-${this._color}`);\n }\n if (colorPalette) {\n this._elementRef.nativeElement.classList.add(`mat-${colorPalette}`);\n }\n this._color = colorPalette;\n }\n }\n constructor(...args) {\n super(...args);\n this.defaultColor = defaultColor;\n // Set the default color that can be specified from the mixin.\n this.color = defaultColor;\n }\n };\n}\n\nfunction mixinDisableRipple(base) {\n return class extends base {\n /** Whether the ripple effect is disabled or not. */\n get disableRipple() {\n return this._disableRipple;\n }\n set disableRipple(value) {\n this._disableRipple = coerceBooleanProperty(value);\n }\n constructor(...args) {\n super(...args);\n this._disableRipple = false;\n }\n };\n}\n\nfunction mixinTabIndex(base, defaultTabIndex = 0) {\n return class extends base {\n get tabIndex() {\n return this.disabled ? -1 : this._tabIndex;\n }\n set tabIndex(value) {\n // If the specified tabIndex value is null or undefined, fall back to the default value.\n this._tabIndex = value != null ? coerceNumberProperty(value) : this.defaultTabIndex;\n }\n constructor(...args) {\n super(...args);\n this._tabIndex = defaultTabIndex;\n this.defaultTabIndex = defaultTabIndex;\n }\n };\n}\n\nfunction mixinErrorState(base) {\n return class extends base {\n /** Updates the error state based on the provided error state matcher. */\n updateErrorState() {\n const oldState = this.errorState;\n const parent = this._parentFormGroup || this._parentForm;\n const matcher = this.errorStateMatcher || this._defaultErrorStateMatcher;\n const control = this.ngControl ? this.ngControl.control : null;\n const newState = matcher.isErrorState(control, parent);\n if (newState !== oldState) {\n this.errorState = newState;\n this.stateChanges.next();\n }\n }\n constructor(...args) {\n super(...args);\n /** Whether the component is in an error state. */\n this.errorState = false;\n }\n };\n}\n\n/** Mixin to augment a directive with an initialized property that will emits when ngOnInit ends. */\nfunction mixinInitialized(base) {\n return class extends base {\n constructor(...args) {\n super(...args);\n /** Whether this directive has been marked as initialized. */\n this._isInitialized = false;\n /**\n * List of subscribers that subscribed before the directive was initialized. Should be notified\n * during _markInitialized. Set to null after pending subscribers are notified, and should\n * not expect to be populated after.\n */\n this._pendingSubscribers = [];\n /**\n * Observable stream that emits when the directive initializes. If already initialized, the\n * subscriber is stored to be notified once _markInitialized is called.\n */\n this.initialized = new Observable(subscriber => {\n // If initialized, immediately notify the subscriber. Otherwise store the subscriber to notify\n // when _markInitialized is called.\n if (this._isInitialized) {\n this._notifySubscriber(subscriber);\n }\n else {\n this._pendingSubscribers.push(subscriber);\n }\n });\n }\n /**\n * Marks the state as initialized and notifies pending subscribers. Should be called at the end\n * of ngOnInit.\n * @docs-private\n */\n _markInitialized() {\n if (this._isInitialized && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error('This directive has already been marked as initialized and ' +\n 'should not be called twice.');\n }\n this._isInitialized = true;\n this._pendingSubscribers.forEach(this._notifySubscriber);\n this._pendingSubscribers = null;\n }\n /** Emits and completes the subscriber stream (should only emit once). */\n _notifySubscriber(subscriber) {\n subscriber.next();\n subscriber.complete();\n }\n };\n}\n\n/** InjectionToken for datepicker that can be used to override default locale code. */\nconst MAT_DATE_LOCALE = new InjectionToken('MAT_DATE_LOCALE', {\n providedIn: 'root',\n factory: MAT_DATE_LOCALE_FACTORY,\n});\n/** @docs-private */\nfunction MAT_DATE_LOCALE_FACTORY() {\n return inject(LOCALE_ID);\n}\n/** Adapts type `D` to be usable as a date by cdk-based components that work with dates. */\nclass DateAdapter {\n constructor() {\n this._localeChanges = new Subject();\n /** A stream that emits when the locale changes. */\n this.localeChanges = this._localeChanges;\n }\n /**\n * Given a potential date object, returns that same date object if it is\n * a valid date, or `null` if it's not a valid date.\n * @param obj The object to check.\n * @returns A date or `null`.\n */\n getValidDateOrNull(obj) {\n return this.isDateInstance(obj) && this.isValid(obj) ? obj : null;\n }\n /**\n * Attempts to deserialize a value to a valid date object. This is different from parsing in that\n * deserialize should only accept non-ambiguous, locale-independent formats (e.g. a ISO 8601\n * string). The default implementation does not allow any deserialization, it simply checks that\n * the given value is already a valid date object or null. The `<mat-datepicker>` will call this\n * method on all of its `@Input()` properties that accept dates. It is therefore possible to\n * support passing values from your backend directly to these properties by overriding this method\n * to also deserialize the format used by your backend.\n * @param value The value to be deserialized into a date object.\n * @returns The deserialized date object, either a valid date, null if the value can be\n * deserialized into a null date (e.g. the empty string), or an invalid date.\n */\n deserialize(value) {\n if (value == null || (this.isDateInstance(value) && this.isValid(value))) {\n return value;\n }\n return this.invalid();\n }\n /**\n * Sets the locale used for all dates.\n * @param locale The new locale.\n */\n setLocale(locale) {\n this.locale = locale;\n this._localeChanges.next();\n }\n /**\n * Compares two dates.\n * @param first The first date to compare.\n * @param second The second date to compare.\n * @returns 0 if the dates are equal, a number less than 0 if the first date is earlier,\n * a number greater than 0 if the first date is later.\n */\n compareDate(first, second) {\n return (this.getYear(first) - this.getYear(second) ||\n this.getMonth(first) - this.getMonth(second) ||\n this.getDate(first) - this.getDate(second));\n }\n /**\n * Checks if two dates are equal.\n * @param first The first date to check.\n * @param second The second date to check.\n * @returns Whether the two dates are equal.\n * Null dates are considered equal to other null dates.\n */\n sameDate(first, second) {\n if (first && second) {\n let firstValid = this.isValid(first);\n let secondValid = this.isValid(second);\n if (firstValid && secondValid) {\n return !this.compareDate(first, second);\n }\n return firstValid == secondValid;\n }\n return first == second;\n }\n /**\n * Clamp the given date between min and max dates.\n * @param date The date to clamp.\n * @param min The minimum value to allow. If null or omitted no min is enforced.\n * @param max The maximum value to allow. If null or omitted no max is enforced.\n * @returns `min` if `date` is less than `min`, `max` if date is greater than `max`,\n * otherwise `date`.\n */\n clampDate(date, min, max) {\n if (min && this.compareDate(date, min) < 0) {\n return min;\n }\n if (max && this.compareDate(date, max) > 0) {\n return max;\n }\n return date;\n }\n}\n\nconst MAT_DATE_FORMATS = new InjectionToken('mat-date-formats');\n\n/**\n * Matches strings that have the form of a valid RFC 3339 string\n * (https://tools.ietf.org/html/rfc3339). Note that the string may not actually be a valid date\n * because the regex will match strings an with out of bounds month, date, etc.\n */\nconst ISO_8601_REGEX = /^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|(?:(?:\\+|-)\\d{2}:\\d{2}))?)?$/;\n/** Creates an array and fills it with values. */\nfunction range(length, valueFunction) {\n const valuesArray = Array(length);\n for (let i = 0; i < length; i++) {\n valuesArray[i] = valueFunction(i);\n }\n return valuesArray;\n}\n/** Adapts the native JS Date for use with cdk-based components that work with dates. */\nclass NativeDateAdapter extends DateAdapter {\n constructor(matDateLocale, \n /**\n * @deprecated No longer being used. To be removed.\n * @breaking-change 14.0.0\n */\n _platform) {\n super();\n /**\n * @deprecated No longer being used. To be removed.\n * @breaking-change 14.0.0\n */\n this.useUtcForDisplay = false;\n super.setLocale(matDateLocale);\n }\n getYear(date) {\n return date.getFullYear();\n }\n getMonth(date) {\n return date.getMonth();\n }\n getDate(date) {\n return date.getDate();\n }\n getDayOfWeek(date) {\n return date.getDay();\n }\n getMonthNames(style) {\n const dtf = new Intl.DateTimeFormat(this.locale, { month: style, timeZone: 'utc' });\n return range(12, i => this._format(dtf, new Date(2017, i, 1)));\n }\n getDateNames() {\n const dtf = new Intl.DateTimeFormat(this.locale, { day: 'numeric', timeZone: 'utc' });\n return range(31, i => this._format(dtf, new Date(2017, 0, i + 1)));\n }\n getDayOfWeekNames(style) {\n const dtf = new Intl.DateTimeFormat(this.locale, { weekday: style, timeZone: 'utc' });\n return range(7, i => this._format(dtf, new Date(2017, 0, i + 1)));\n }\n getYearName(date) {\n const dtf = new Intl.DateTimeFormat(this.locale, { year: 'numeric', timeZone: 'utc' });\n return this._format(dtf, date);\n }\n getFirstDayOfWeek() {\n // We can't tell using native JS Date what the first day of the week is, we default to Sunday.\n return 0;\n }\n getNumDaysInMonth(date) {\n return this.getDate(this._createDateWithOverflow(this.getYear(date), this.getMonth(date) + 1, 0));\n }\n clone(date) {\n return new Date(date.getTime());\n }\n createDate(year, month, date) {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n // Check for invalid month and date (except upper bound on date which we have to check after\n // creating the Date).\n if (month < 0 || month > 11) {\n throw Error(`Invalid month index \"${month}\". Month index has to be between 0 and 11.`);\n }\n if (date < 1) {\n throw Error(`Invalid date \"${date}\". Date has to be greater than 0.`);\n }\n }\n let result = this._createDateWithOverflow(year, month, date);\n // Check that the date wasn't above the upper bound for the month, causing the month to overflow\n if (result.getMonth() != month && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error(`Invalid date \"${date}\" for month with index \"${month}\".`);\n }\n return result;\n }\n today() {\n return new Date();\n }\n parse(value, parseFormat) {\n // We have no way using the native JS Date to set the parse format or locale, so we ignore these\n // parameters.\n if (typeof value == 'number') {\n return new Date(value);\n }\n return value ? new Date(Date.parse(value)) : null;\n }\n format(date, displayFormat) {\n if (!this.isValid(date)) {\n throw Error('NativeDateAdapter: Cannot format invalid date.');\n }\n const dtf = new Intl.DateTimeFormat(this.locale, { ...displayFormat, timeZone: 'utc' });\n return this._format(dtf, date);\n }\n addCalendarYears(date, years) {\n return this.addCalendarMonths(date, years * 12);\n }\n addCalendarMonths(date, months) {\n let newDate = this._createDateWithOverflow(this.getYear(date), this.getMonth(date) + months, this.getDate(date));\n // It's possible to wind up in the wrong month if the original month has more days than the new\n // month. In this case we want to go to the last day of the desired month.\n // Note: the additional + 12 % 12 ensures we end up with a positive number, since JS % doesn't\n // guarantee this.\n if (this.getMonth(newDate) != (((this.getMonth(date) + months) % 12) + 12) % 12) {\n newDate = this._createDateWithOverflow(this.getYear(newDate), this.getMonth(newDate), 0);\n }\n return newDate;\n }\n addCalendarDays(date, days) {\n return this._createDateWithOverflow(this.getYear(date), this.getMonth(date), this.getDate(date) + days);\n }\n toIso8601(date) {\n return [\n date.getUTCFullYear(),\n this._2digit(date.getUTCMonth() + 1),\n this._2digit(date.getUTCDate()),\n ].join('-');\n }\n /**\n * Returns the given value if given a valid Date or null. Deserializes valid ISO 8601 strings\n * (https://www.ietf.org/rfc/rfc3339.txt) into valid Dates and empty string into null. Returns an\n * invalid date for all other values.\n */\n deserialize(value) {\n if (typeof value === 'string') {\n if (!value) {\n return null;\n }\n // The `Date` constructor accepts formats other than ISO 8601, so we need to make sure the\n // string is the right format first.\n if (ISO_8601_REGEX.test(value)) {\n let date = new Date(value);\n if (this.isValid(date)) {\n return date;\n }\n }\n }\n return super.deserialize(value);\n }\n isDateInstance(obj) {\n return obj instanceof Date;\n }\n isValid(date) {\n return !isNaN(date.getTime());\n }\n invalid() {\n return new Date(NaN);\n }\n /** Creates a date but allows the month and date to overflow. */\n _createDateWithOverflow(year, month, date) {\n // Passing the year to the constructor causes year numbers <100 to be converted to 19xx.\n // To work around this we use `setFullYear` and `setHours` instead.\n const d = new Date();\n d.setFullYear(year, month, date);\n d.setHours(0, 0, 0, 0);\n return d;\n }\n /**\n * Pads a number to make it two digits.\n * @param n The number to pad.\n * @returns The padded number.\n */\n _2digit(n) {\n return ('00' + n).slice(-2);\n }\n /**\n * When converting Date object to string, javascript built-in functions may return wrong\n * results because it applies its internal DST rules. The DST rules around the world change\n * very frequently, and the current valid rule is not always valid in previous years though.\n * We work around this problem building a new Date object which has its internal UTC\n * representation with the local date and time.\n * @param dtf Intl.DateTimeFormat object, containing the desired string format. It must have\n * timeZone set to 'utc' to work fine.\n * @param date Date from which we want to get the string representation according to dtf\n * @returns A Date object with its UTC representation based on the passed in date info\n */\n _format(dtf, date) {\n // Passing the year to the constructor causes year numbers <100 to be converted to 19xx.\n // To work around this we use `setUTCFullYear` and `setUTCHours` instead.\n const d = new Date();\n d.setUTCFullYear(date.getFullYear(), date.getMonth(), date.getDate());\n d.setUTCHours(date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds());\n return dtf.format(d);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: NativeDateAdapter, deps: [{ token: MAT_DATE_LOCALE, optional: true }, { token: i1$1.Platform }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: NativeDateAdapter }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: NativeDateAdapter, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_DATE_LOCALE]\n }] }, { type: i1$1.Platform }]; } });\n\nconst MAT_NATIVE_DATE_FORMATS = {\n parse: {\n dateInput: null,\n },\n display: {\n dateInput: { year: 'numeric', month: 'numeric', day: 'numeric' },\n monthYearLabel: { year: 'numeric', month: 'short' },\n dateA11yLabel: { year: 'numeric', month: 'long', day: 'numeric' },\n monthYearA11yLabel: { year: 'numeric', month: 'long' },\n },\n};\n\nclass NativeDateModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: NativeDateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: NativeDateModule }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: NativeDateModule, providers: [{ provide: DateAdapter, useClass: NativeDateAdapter }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: NativeDateModule, decorators: [{\n type: NgModule,\n args: [{\n providers: [{ provide: DateAdapter, useClass: NativeDateAdapter }],\n }]\n }] });\nclass MatNativeDateModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatNativeDateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatNativeDateModule, imports: [NativeDateModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatNativeDateModule, providers: [{ provide: MAT_DATE_FORMATS, useValue: MAT_NATIVE_DATE_FORMATS }], imports: [NativeDateModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatNativeDateModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [NativeDateModule],\n providers: [{ provide: MAT_DATE_FORMATS, useValue: MAT_NATIVE_DATE_FORMATS }],\n }]\n }] });\n\n/** Error state matcher that matches when a control is invalid and dirty. */\nclass ShowOnDirtyErrorStateMatcher {\n isErrorState(control, form) {\n return !!(control && control.invalid && (control.dirty || (form && form.submitted)));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: ShowOnDirtyErrorStateMatcher, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: ShowOnDirtyErrorStateMatcher }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: ShowOnDirtyErrorStateMatcher, decorators: [{\n type: Injectable\n }] });\n/** Provider that defines how form controls behave with regards to displaying error messages. */\nclass ErrorStateMatcher {\n isErrorState(control, form) {\n return !!(control && control.invalid && (control.touched || (form && form.submitted)));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: ErrorStateMatcher, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: ErrorStateMatcher, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: ErrorStateMatcher, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }] });\n\n/**\n * Shared directive to count lines inside a text area, such as a list item.\n * Line elements can be extracted with a @ContentChildren(MatLine) query, then\n * counted by checking the query list's length.\n */\nclass MatLine {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLine, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLine, selector: \"[mat-line], [matLine]\", host: { classAttribute: \"mat-line\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLine, decorators: [{\n type: Directive,\n args: [{\n selector: '[mat-line], [matLine]',\n host: { 'class': 'mat-line' },\n }]\n }] });\n/**\n * Helper that takes a query list of lines and sets the correct class on the host.\n * @docs-private\n */\nfunction setLines(lines, element, prefix = 'mat') {\n // Note: doesn't need to unsubscribe, because `changes`\n // gets completed by Angular when the view is destroyed.\n lines.changes.pipe(startWith(lines)).subscribe(({ length }) => {\n setClass(element, `${prefix}-2-line`, false);\n setClass(element, `${prefix}-3-line`, false);\n setClass(element, `${prefix}-multi-line`, false);\n if (length === 2 || length === 3) {\n setClass(element, `${prefix}-${length}-line`, true);\n }\n else if (length > 3) {\n setClass(element, `${prefix}-multi-line`, true);\n }\n });\n}\n/** Adds or removes a class from an element. */\nfunction setClass(element, className, isAdd) {\n element.nativeElement.classList.toggle(className, isAdd);\n}\nclass MatLineModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLineModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLineModule, declarations: [MatLine], imports: [MatCommonModule], exports: [MatLine, MatCommonModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLineModule, imports: [MatCommonModule, MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLineModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [MatCommonModule],\n exports: [MatLine, MatCommonModule],\n declarations: [MatLine],\n }]\n }] });\n\n/**\n * Reference to a previously launched ripple element.\n */\nclass RippleRef {\n constructor(_renderer, \n /** Reference to the ripple HTML element. */\n element, \n /** Ripple configuration used for the ripple. */\n config, \n /* Whether animations are forcibly disabled for ripples through CSS. */\n _animationForciblyDisabledThroughCss = false) {\n this._renderer = _renderer;\n this.element = element;\n this.config = config;\n this._animationForciblyDisabledThroughCss = _animationForciblyDisabledThroughCss;\n /** Current state of the ripple. */\n this.state = 3 /* RippleState.HIDDEN */;\n }\n /** Fades out the ripple element. */\n fadeOut() {\n this._renderer.fadeOutRipple(this);\n }\n}\n\n/** Options used to bind a passive capturing event. */\nconst passiveCapturingEventOptions$1 = normalizePassiveListenerOptions({\n passive: true,\n capture: true,\n});\n/** Manages events through delegation so that as few event handlers as possible are bound. */\nclass RippleEventManager {\n constructor() {\n this._events = new Map();\n /** Event handler that is bound and which dispatches the events to the different targets. */\n this._delegateEventHandler = (event) => {\n const target = _getEventTarget(event);\n if (target) {\n this._events.get(event.type)?.forEach((handlers, element) => {\n if (element === target || element.contains(target)) {\n handlers.forEach(handler => handler.handleEvent(event));\n }\n });\n }\n };\n }\n /** Adds an event handler. */\n addHandler(ngZone, name, element, handler) {\n const handlersForEvent = this._events.get(name);\n if (handlersForEvent) {\n const handlersForElement = handlersForEvent.get(element);\n if (handlersForElement) {\n handlersForElement.add(handler);\n }\n else {\n handlersForEvent.set(element, new Set([handler]));\n }\n }\n else {\n this._events.set(name, new Map([[element, new Set([handler])]]));\n ngZone.runOutsideAngular(() => {\n document.addEventListener(name, this._delegateEventHandler, passiveCapturingEventOptions$1);\n });\n }\n }\n /** Removes an event handler. */\n removeHandler(name, element, handler) {\n const handlersForEvent = this._events.get(name);\n if (!handlersForEvent) {\n return;\n }\n const handlersForElement = handlersForEvent.get(element);\n if (!handlersForElement) {\n return;\n }\n handlersForElement.delete(handler);\n if (handlersForElement.size === 0) {\n handlersForEvent.delete(element);\n }\n if (handlersForEvent.size === 0) {\n this._events.delete(name);\n document.removeEventListener(name, this._delegateEventHandler, passiveCapturingEventOptions$1);\n }\n }\n}\n\n/**\n * Default ripple animation configuration for ripples without an explicit\n * animation config specified.\n */\nconst defaultRippleAnimationConfig = {\n enterDuration: 225,\n exitDuration: 150,\n};\n/**\n * Timeout for ignoring mouse events. Mouse events will be temporary ignored after touch\n * events to avoid synthetic mouse events.\n */\nconst ignoreMouseEventsTimeout = 800;\n/** Options used to bind a passive capturing event. */\nconst passiveCapturingEventOptions = normalizePassiveListenerOptions({\n passive: true,\n capture: true,\n});\n/** Events that signal that the pointer is down. */\nconst pointerDownEvents = ['mousedown', 'touchstart'];\n/** Events that signal that the pointer is up. */\nconst pointerUpEvents = ['mouseup', 'mouseleave', 'touchend', 'touchcancel'];\n/**\n * Helper service that performs DOM manipulations. Not intended to be used outside this module.\n * The constructor takes a reference to the ripple directive's host element and a map of DOM\n * event handlers to be installed on the element that triggers ripple animations.\n * This will eventually become a custom renderer once Angular support exists.\n * @docs-private\n */\nclass RippleRenderer {\n static { this._eventManager = new RippleEventManager(); }\n constructor(_target, _ngZone, elementOrElementRef, _platform) {\n this._target = _target;\n this._ngZone = _ngZone;\n this._platform = _platform;\n /** Whether the pointer is currently down or not. */\n this._isPointerDown = false;\n /**\n * Map of currently active ripple references.\n * The ripple reference is mapped to its element event listeners.\n * The reason why `| null` is used is that event listeners are added only\n * when the condition is truthy (see the `_startFadeOutTransition` method).\n */\n this._activeRipples = new Map();\n /** Whether pointer-up event listeners have been registered. */\n this._pointerUpEventsRegistered = false;\n // Only do anything if we're on the browser.\n if (_platform.isBrowser) {\n this._containerElement = coerceElement(elementOrElementRef);\n }\n }\n /**\n * Fades in a ripple at the given coordinates.\n * @param x Coordinate within the element, along the X axis at which to start the ripple.\n * @param y Coordinate within the element, along the Y axis at which to start the ripple.\n * @param config Extra ripple options.\n */\n fadeInRipple(x, y, config = {}) {\n const containerRect = (this._containerRect =\n this._containerRect || this._containerElement.getBoundingClientRect());\n const animationConfig = { ...defaultRippleAnimationConfig, ...config.animation };\n if (config.centered) {\n x = containerRect.left + containerRect.width / 2;\n y = containerRect.top + containerRect.height / 2;\n }\n const radius = config.radius || distanceToFurthestCorner(x, y, containerRect);\n const offsetX = x - containerRect.left;\n const offsetY = y - containerRect.top;\n const enterDuration = animationConfig.enterDuration;\n const ripple = document.createElement('div');\n ripple.classList.add('mat-ripple-element');\n ripple.style.left = `${offsetX - radius}px`;\n ripple.style.top = `${offsetY - radius}px`;\n ripple.style.height = `${radius * 2}px`;\n ripple.style.width = `${radius * 2}px`;\n // If a custom color has been specified, set it as inline style. If no color is\n // set, the default color will be applied through the ripple theme styles.\n if (config.color != null) {\n ripple.style.backgroundColor = config.color;\n }\n ripple.style.transitionDuration = `${enterDuration}ms`;\n this._containerElement.appendChild(ripple);\n // By default the browser does not recalculate the styles of dynamically created\n // ripple elements. This is critical to ensure that the `scale` animates properly.\n // We enforce a style recalculation by calling `getComputedStyle` and *accessing* a property.\n // See: https://gist.github.com/paulirish/5d52fb081b3570c81e3a\n const computedStyles = window.getComputedStyle(ripple);\n const userTransitionProperty = computedStyles.transitionProperty;\n const userTransitionDuration = computedStyles.transitionDuration;\n // Note: We detect whether animation is forcibly disabled through CSS (e.g. through\n // `transition: none` or `display: none`). This is technically unexpected since animations are\n // controlled through the animation config, but this exists for backwards compatibility. This\n // logic does not need to be super accurate since it covers some edge cases which can be easily\n // avoided by users.\n const animationForciblyDisabledThroughCss = userTransitionProperty === 'none' ||\n // Note: The canonical unit for serialized CSS `<time>` properties is seconds. Additionally\n // some browsers expand the duration for every property (in our case `opacity` and `transform`).\n userTransitionDuration === '0s' ||\n userTransitionDuration === '0s, 0s' ||\n // If the container is 0x0, it's likely `display: none`.\n (containerRect.width === 0 && containerRect.height === 0);\n // Exposed reference to the ripple that will be returned.\n const rippleRef = new RippleRef(this, ripple, config, animationForciblyDisabledThroughCss);\n // Start the enter animation by setting the transform/scale to 100%. The animation will\n // execute as part of this statement because we forced a style recalculation before.\n // Note: We use a 3d transform here in order to avoid an issue in Safari where\n // the ripples aren't clipped when inside the shadow DOM (see #24028).\n ripple.style.transform = 'scale3d(1, 1, 1)';\n rippleRef.state = 0 /* RippleState.FADING_IN */;\n if (!config.persistent) {\n this._mostRecentTransientRipple = rippleRef;\n }\n let eventListeners = null;\n // Do not register the `transition` event listener if fade-in and fade-out duration\n // are set to zero. The events won't fire anyway and we can save resources here.\n if (!animationForciblyDisabledThroughCss && (enterDuration || animationConfig.exitDuration)) {\n this._ngZone.runOutsideAngular(() => {\n const onTransitionEnd = () => this._finishRippleTransition(rippleRef);\n const onTransitionCancel = () => this._destroyRipple(rippleRef);\n ripple.addEventListener('transitionend', onTransitionEnd);\n // If the transition is cancelled (e.g. due to DOM removal), we destroy the ripple\n // directly as otherwise we would keep it part of the ripple container forever.\n // https://www.w3.org/TR/css-transitions-1/#:~:text=no%20longer%20in%20the%20document.\n ripple.addEventListener('transitioncancel', onTransitionCancel);\n eventListeners = { onTransitionEnd, onTransitionCancel };\n });\n }\n // Add the ripple reference to the list of all active ripples.\n this._activeRipples.set(rippleRef, eventListeners);\n // In case there is no fade-in transition duration, we need to manually call the transition\n // end listener because `transitionend` doesn't fire if there is no transition.\n if (animationForciblyDisabledThroughCss || !enterDuration) {\n this._finishRippleTransition(rippleRef);\n }\n return rippleRef;\n }\n /** Fades out a ripple reference. */\n fadeOutRipple(rippleRef) {\n // For ripples already fading out or hidden, this should be a noop.\n if (rippleRef.state === 2 /* RippleState.FADING_OUT */ || rippleRef.state === 3 /* RippleState.HIDDEN */) {\n return;\n }\n const rippleEl = rippleRef.element;\n const animationConfig = { ...defaultRippleAnimationConfig, ...rippleRef.config.animation };\n // This starts the fade-out transition and will fire the transition end listener that\n // removes the ripple element from the DOM.\n rippleEl.style.transitionDuration = `${animationConfig.exitDuration}ms`;\n rippleEl.style.opacity = '0';\n rippleRef.state = 2 /* RippleState.FADING_OUT */;\n // In case there is no fade-out transition duration, we need to manually call the\n // transition end listener because `transitionend` doesn't fire if there is no transition.\n if (rippleRef._animationForciblyDisabledThroughCss || !animationConfig.exitDuration) {\n this._finishRippleTransition(rippleRef);\n }\n }\n /** Fades out all currently active ripples. */\n fadeOutAll() {\n this._getActiveRipples().forEach(ripple => ripple.fadeOut());\n }\n /** Fades out all currently active non-persistent ripples. */\n fadeOutAllNonPersistent() {\n this._getActiveRipples().forEach(ripple => {\n if (!ripple.config.persistent) {\n ripple.fadeOut();\n }\n });\n }\n /** Sets up the trigger event listeners */\n setupTriggerEvents(elementOrElementRef) {\n const element = coerceElement(elementOrElementRef);\n if (!this._platform.isBrowser || !element || element === this._triggerElement) {\n return;\n }\n // Remove all previously registered event listeners from the trigger element.\n this._removeTriggerEvents();\n this._triggerElement = element;\n // Use event delegation for the trigger events since they're\n // set up during creation and are performance-sensitive.\n pointerDownEvents.forEach(type => {\n RippleRenderer._eventManager.addHandler(this._ngZone, type, element, this);\n });\n }\n /**\n * Handles all registered events.\n * @docs-private\n */\n handleEvent(event) {\n if (event.type === 'mousedown') {\n this._onMousedown(event);\n }\n else if (event.type === 'touchstart') {\n this._onTouchStart(event);\n }\n else {\n this._onPointerUp();\n }\n // If pointer-up events haven't been registered yet, do so now.\n // We do this on-demand in order to reduce the total number of event listeners\n // registered by the ripples, which speeds up the rendering time for large UIs.\n if (!this._pointerUpEventsRegistered) {\n // The events for hiding the ripple are bound directly on the trigger, because:\n // 1. Some of them occur frequently (e.g. `mouseleave`) and any advantage we get from\n // delegation will be diminished by having to look through all the data structures often.\n // 2. They aren't as performance-sensitive, because they're bound only after the user\n // has interacted with an element.\n this._ngZone.runOutsideAngular(() => {\n pointerUpEvents.forEach(type => {\n this._triggerElement.addEventListener(type, this, passiveCapturingEventOptions);\n });\n });\n this._pointerUpEventsRegistered = true;\n }\n }\n /** Method that will be called if the fade-in or fade-in transition completed. */\n _finishRippleTransition(rippleRef) {\n if (rippleRef.state === 0 /* RippleState.FADING_IN */) {\n this._startFadeOutTransition(rippleRef);\n }\n else if (rippleRef.state === 2 /* RippleState.FADING_OUT */) {\n this._destroyRipple(rippleRef);\n }\n }\n /**\n * Starts the fade-out transition of the given ripple if it's not persistent and the pointer\n * is not held down anymore.\n */\n _startFadeOutTransition(rippleRef) {\n const isMostRecentTransientRipple = rippleRef === this._mostRecentTransientRipple;\n const { persistent } = rippleRef.config;\n rippleRef.state = 1 /* RippleState.VISIBLE */;\n // When the timer runs out while the user has kept their pointer down, we want to\n // keep only the persistent ripples and the latest transient ripple. We do this,\n // because we don't want stacked transient ripples to appear after their enter\n // animation has finished.\n if (!persistent && (!isMostRecentTransientRipple || !this._isPointerDown)) {\n rippleRef.fadeOut();\n }\n }\n /** Destroys the given ripple by removing it from the DOM and updating its state. */\n _destroyRipple(rippleRef) {\n const eventListeners = this._activeRipples.get(rippleRef) ?? null;\n this._activeRipples.delete(rippleRef);\n // Clear out the cached bounding rect if we have no more ripples.\n if (!this._activeRipples.size) {\n this._containerRect = null;\n }\n // If the current ref is the most recent transient ripple, unset it\n // avoid memory leaks.\n if (rippleRef === this._mostRecentTransientRipple) {\n this._mostRecentTransientRipple = null;\n }\n rippleRef.state = 3 /* RippleState.HIDDEN */;\n if (eventListeners !== null) {\n rippleRef.element.removeEventListener('transitionend', eventListeners.onTransitionEnd);\n rippleRef.element.removeEventListener('transitioncancel', eventListeners.onTransitionCancel);\n }\n rippleRef.element.remove();\n }\n /** Function being called whenever the trigger is being pressed using mouse. */\n _onMousedown(event) {\n // Screen readers will fire fake mouse events for space/enter. Skip launching a\n // ripple in this case for consistency with the non-screen-reader experience.\n const isFakeMousedown = isFakeMousedownFromScreenReader(event);\n const isSyntheticEvent = this._lastTouchStartEvent &&\n Date.now() < this._lastTouchStartEvent + ignoreMouseEventsTimeout;\n if (!this._target.rippleDisabled && !isFakeMousedown && !isSyntheticEvent) {\n this._isPointerDown = true;\n this.fadeInRipple(event.clientX, event.clientY, this._target.rippleConfig);\n }\n }\n /** Function being called whenever the trigger is being pressed using touch. */\n _onTouchStart(event) {\n if (!this._target.rippleDisabled && !isFakeTouchstartFromScreenReader(event)) {\n // Some browsers fire mouse events after a `touchstart` event. Those synthetic mouse\n // events will launch a second ripple if we don't ignore mouse events for a specific\n // time after a touchstart event.\n this._lastTouchStartEvent = Date.now();\n this._isPointerDown = true;\n // Use `changedTouches` so we skip any touches where the user put\n // their finger down, but used another finger to tap the element again.\n const touches = event.changedTouches;\n for (let i = 0; i < touches.length; i++) {\n this.fadeInRipple(touches[i].clientX, touches[i].clientY, this._target.rippleConfig);\n }\n }\n }\n /** Function being called whenever the trigger is being released. */\n _onPointerUp() {\n if (!this._isPointerDown) {\n return;\n }\n this._isPointerDown = false;\n // Fade-out all ripples that are visible and not persistent.\n this._getActiveRipples().forEach(ripple => {\n // By default, only ripples that are completely visible will fade out on pointer release.\n // If the `terminateOnPointerUp` option is set, ripples that still fade in will also fade out.\n const isVisible = ripple.state === 1 /* RippleState.VISIBLE */ ||\n (ripple.config.terminateOnPointerUp && ripple.state === 0 /* RippleState.FADING_IN */);\n if (!ripple.config.persistent && isVisible) {\n ripple.fadeOut();\n }\n });\n }\n _getActiveRipples() {\n return Array.from(this._activeRipples.keys());\n }\n /** Removes previously registered event listeners from the trigger element. */\n _removeTriggerEvents() {\n const trigger = this._triggerElement;\n if (trigger) {\n pointerDownEvents.forEach(type => RippleRenderer._eventManager.removeHandler(type, trigger, this));\n if (this._pointerUpEventsRegistered) {\n pointerUpEvents.forEach(type => trigger.removeEventListener(type, this, passiveCapturingEventOptions));\n }\n }\n }\n}\n/**\n * Returns the distance from the point (x, y) to the furthest corner of a rectangle.\n */\nfunction distanceToFurthestCorner(x, y, rect) {\n const distX = Math.max(Math.abs(x - rect.left), Math.abs(x - rect.right));\n const distY = Math.max(Math.abs(y - rect.top), Math.abs(y - rect.bottom));\n return Math.sqrt(distX * distX + distY * distY);\n}\n\n/** Injection token that can be used to specify the global ripple options. */\nconst MAT_RIPPLE_GLOBAL_OPTIONS = new InjectionToken('mat-ripple-global-options');\nclass MatRipple {\n /**\n * Whether click events will not trigger the ripple. Ripples can be still launched manually\n * by using the `launch()` method.\n */\n get disabled() {\n return this._disabled;\n }\n set disabled(value) {\n if (value) {\n this.fadeOutAllNonPersistent();\n }\n this._disabled = value;\n this._setupTriggerEventsIfEnabled();\n }\n /**\n * The element that triggers the ripple when click events are received.\n * Defaults to the directive's host element.\n */\n get trigger() {\n return this._trigger || this._elementRef.nativeElement;\n }\n set trigger(trigger) {\n this._trigger = trigger;\n this._setupTriggerEventsIfEnabled();\n }\n constructor(_elementRef, ngZone, platform, globalOptions, _animationMode) {\n this._elementRef = _elementRef;\n this._animationMode = _animationMode;\n /**\n * If set, the radius in pixels of foreground ripples when fully expanded. If unset, the radius\n * will be the distance from the center of the ripple to the furthest corner of the host element's\n * bounding rectangle.\n */\n this.radius = 0;\n this._disabled = false;\n /** @docs-private Whether ripple directive is initialized and the input bindings are set. */\n this._isInitialized = false;\n this._globalOptions = globalOptions || {};\n this._rippleRenderer = new RippleRenderer(this, ngZone, _elementRef, platform);\n }\n ngOnInit() {\n this._isInitialized = true;\n this._setupTriggerEventsIfEnabled();\n }\n ngOnDestroy() {\n this._rippleRenderer._removeTriggerEvents();\n }\n /** Fades out all currently showing ripple elements. */\n fadeOutAll() {\n this._rippleRenderer.fadeOutAll();\n }\n /** Fades out all currently showing non-persistent ripple elements. */\n fadeOutAllNonPersistent() {\n this._rippleRenderer.fadeOutAllNonPersistent();\n }\n /**\n * Ripple configuration from the directive's input values.\n * @docs-private Implemented as part of RippleTarget\n */\n get rippleConfig() {\n return {\n centered: this.centered,\n radius: this.radius,\n color: this.color,\n animation: {\n ...this._globalOptions.animation,\n ...(this._animationMode === 'NoopAnimations' ? { enterDuration: 0, exitDuration: 0 } : {}),\n ...this.animation,\n },\n terminateOnPointerUp: this._globalOptions.terminateOnPointerUp,\n };\n }\n /**\n * Whether ripples on pointer-down are disabled or not.\n * @docs-private Implemented as part of RippleTarget\n */\n get rippleDisabled() {\n return this.disabled || !!this._globalOptions.disabled;\n }\n /** Sets up the trigger event listeners if ripples are enabled. */\n _setupTriggerEventsIfEnabled() {\n if (!this.disabled && this._isInitialized) {\n this._rippleRenderer.setupTriggerEvents(this.trigger);\n }\n }\n /** Launches a manual ripple at the specified coordinated or just by the ripple config. */\n launch(configOrX, y = 0, config) {\n if (typeof configOrX === 'number') {\n return this._rippleRenderer.fadeInRipple(configOrX, y, { ...this.rippleConfig, ...config });\n }\n else {\n return this._rippleRenderer.fadeInRipple(0, 0, { ...this.rippleConfig, ...configOrX });\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatRipple, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i1$1.Platform }, { token: MAT_RIPPLE_GLOBAL_OPTIONS, optional: true }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatRipple, selector: \"[mat-ripple], [matRipple]\", inputs: { color: [\"matRippleColor\", \"color\"], unbounded: [\"matRippleUnbounded\", \"unbounded\"], centered: [\"matRippleCentered\", \"centered\"], radius: [\"matRippleRadius\", \"radius\"], animation: [\"matRippleAnimation\", \"animation\"], disabled: [\"matRippleDisabled\", \"disabled\"], trigger: [\"matRippleTrigger\", \"trigger\"] }, host: { properties: { \"class.mat-ripple-unbounded\": \"unbounded\" }, classAttribute: \"mat-ripple\" }, exportAs: [\"matRipple\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatRipple, decorators: [{\n type: Directive,\n args: [{\n selector: '[mat-ripple], [matRipple]',\n exportAs: 'matRipple',\n host: {\n 'class': 'mat-ripple',\n '[class.mat-ripple-unbounded]': 'unbounded',\n },\n }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i1$1.Platform }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_RIPPLE_GLOBAL_OPTIONS]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }]; }, propDecorators: { color: [{\n type: Input,\n args: ['matRippleColor']\n }], unbounded: [{\n type: Input,\n args: ['matRippleUnbounded']\n }], centered: [{\n type: Input,\n args: ['matRippleCentered']\n }], radius: [{\n type: Input,\n args: ['matRippleRadius']\n }], animation: [{\n type: Input,\n args: ['matRippleAnimation']\n }], disabled: [{\n type: Input,\n args: ['matRippleDisabled']\n }], trigger: [{\n type: Input,\n args: ['matRippleTrigger']\n }] } });\n\nclass MatRippleModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatRippleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatRippleModule, declarations: [MatRipple], imports: [MatCommonModule], exports: [MatRipple, MatCommonModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatRippleModule, imports: [MatCommonModule, MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatRippleModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [MatCommonModule],\n exports: [MatRipple, MatCommonModule],\n declarations: [MatRipple],\n }]\n }] });\n\n/**\n * Component that shows a simplified checkbox without including any kind of \"real\" checkbox.\n * Meant to be used when the checkbox is purely decorative and a large number of them will be\n * included, such as for the options in a multi-select. Uses no SVGs or complex animations.\n * Note that theming is meant to be handled by the parent element, e.g.\n * `mat-primary .mat-pseudo-checkbox`.\n *\n * Note that this component will be completely invisible to screen-reader users. This is *not*\n * interchangeable with `<mat-checkbox>` and should *not* be used if the user would directly\n * interact with the checkbox. The pseudo-checkbox should only be used as an implementation detail\n * of more complex components that appropriately handle selected / checked state.\n * @docs-private\n */\nclass MatPseudoCheckbox {\n constructor(_animationMode) {\n this._animationMode = _animationMode;\n /** Display state of the checkbox. */\n this.state = 'unchecked';\n /** Whether the checkbox is disabled. */\n this.disabled = false;\n /**\n * Appearance of the pseudo checkbox. Default appearance of 'full' renders a checkmark/mixedmark\n * indicator inside a square box. 'minimal' appearance only renders the checkmark/mixedmark.\n */\n this.appearance = 'full';\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatPseudoCheckbox, deps: [{ token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatPseudoCheckbox, selector: \"mat-pseudo-checkbox\", inputs: { state: \"state\", disabled: \"disabled\", appearance: \"appearance\" }, host: { properties: { \"class.mat-pseudo-checkbox-indeterminate\": \"state === \\\"indeterminate\\\"\", \"class.mat-pseudo-checkbox-checked\": \"state === \\\"checked\\\"\", \"class.mat-pseudo-checkbox-disabled\": \"disabled\", \"class.mat-pseudo-checkbox-minimal\": \"appearance === \\\"minimal\\\"\", \"class.mat-pseudo-checkbox-full\": \"appearance === \\\"full\\\"\", \"class._mat-animation-noopable\": \"_animationMode === \\\"NoopAnimations\\\"\" }, classAttribute: \"mat-pseudo-checkbox\" }, ngImport: i0, template: '', isInline: true, styles: [\".mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:\\\"\\\";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatPseudoCheckbox, decorators: [{\n type: Component,\n args: [{ encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, selector: 'mat-pseudo-checkbox', template: '', host: {\n 'class': 'mat-pseudo-checkbox',\n '[class.mat-pseudo-checkbox-indeterminate]': 'state === \"indeterminate\"',\n '[class.mat-pseudo-checkbox-checked]': 'state === \"checked\"',\n '[class.mat-pseudo-checkbox-disabled]': 'disabled',\n '[class.mat-pseudo-checkbox-minimal]': 'appearance === \"minimal\"',\n '[class.mat-pseudo-checkbox-full]': 'appearance === \"full\"',\n '[class._mat-animation-noopable]': '_animationMode === \"NoopAnimations\"',\n }, styles: [\".mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:\\\"\\\";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}\"] }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }]; }, propDecorators: { state: [{\n type: Input\n }], disabled: [{\n type: Input\n }], appearance: [{\n type: Input\n }] } });\n\nclass MatPseudoCheckboxModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatPseudoCheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatPseudoCheckboxModule, declarations: [MatPseudoCheckbox], imports: [MatCommonModule], exports: [MatPseudoCheckbox] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatPseudoCheckboxModule, imports: [MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatPseudoCheckboxModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [MatCommonModule],\n exports: [MatPseudoCheckbox],\n declarations: [MatPseudoCheckbox],\n }]\n }] });\n\n/**\n * Injection token used to provide the parent component to options.\n */\nconst MAT_OPTION_PARENT_COMPONENT = new InjectionToken('MAT_OPTION_PARENT_COMPONENT');\n\n// Notes on the accessibility pattern used for `mat-optgroup`.\n// The option group has two different \"modes\": regular and inert. The regular mode uses the\n// recommended a11y pattern which has `role=\"group\"` on the group element with `aria-labelledby`\n// pointing to the label. This works for `mat-select`, but it seems to hit a bug for autocomplete\n// under VoiceOver where the group doesn't get read out at all. The bug appears to be that if\n// there's __any__ a11y-related attribute on the group (e.g. `role` or `aria-labelledby`),\n// VoiceOver on Safari won't read it out.\n// We've introduced the `inert` mode as a workaround. Under this mode, all a11y attributes are\n// removed from the group, and we get the screen reader to read out the group label by mirroring it\n// inside an invisible element in the option. This is sub-optimal, because the screen reader will\n// repeat the group label on each navigation, whereas the default pattern only reads the group when\n// the user enters a new group. The following alternate approaches were considered:\n// 1. Reading out the group label using the `LiveAnnouncer` solves the problem, but we can't control\n// when the text will be read out so sometimes it comes in too late or never if the user\n// navigates quickly.\n// 2. `<mat-option aria-describedby=\"groupLabel\"` - This works on Safari, but VoiceOver in Chrome\n// won't read out the description at all.\n// 3. `<mat-option aria-labelledby=\"optionLabel groupLabel\"` - This works on Chrome, but Safari\n// doesn't read out the text at all. Furthermore, on\n// Boilerplate for applying mixins to MatOptgroup.\n/** @docs-private */\nconst _MatOptgroupMixinBase = mixinDisabled(class {\n});\n// Counter for unique group ids.\nlet _uniqueOptgroupIdCounter = 0;\nclass _MatOptgroupBase extends _MatOptgroupMixinBase {\n constructor(parent) {\n super();\n /** Unique id for the underlying label. */\n this._labelId = `mat-optgroup-label-${_uniqueOptgroupIdCounter++}`;\n this._inert = parent?.inertGroups ?? false;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatOptgroupBase, deps: [{ token: MAT_OPTION_PARENT_COMPONENT, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: _MatOptgroupBase, inputs: { label: \"label\" }, usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatOptgroupBase, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [MAT_OPTION_PARENT_COMPONENT]\n }, {\n type: Optional\n }] }]; }, propDecorators: { label: [{\n type: Input\n }] } });\n/**\n * Injection token that can be used to reference instances of `MatOptgroup`. It serves as\n * alternative token to the actual `MatOptgroup` class which could cause unnecessary\n * retention of the class and its component metadata.\n */\nconst MAT_OPTGROUP = new InjectionToken('MatOptgroup');\n/**\n * Component that is used to group instances of `mat-option`.\n */\nclass MatOptgroup extends _MatOptgroupBase {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatOptgroup, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatOptgroup, selector: \"mat-optgroup\", inputs: { disabled: \"disabled\" }, host: { properties: { \"attr.role\": \"_inert ? null : \\\"group\\\"\", \"attr.aria-disabled\": \"_inert ? null : disabled.toString()\", \"attr.aria-labelledby\": \"_inert ? null : _labelId\" }, classAttribute: \"mat-mdc-optgroup\" }, providers: [{ provide: MAT_OPTGROUP, useExisting: MatOptgroup }], exportAs: [\"matOptgroup\"], usesInheritance: true, ngImport: i0, template: \"<span\\n class=\\\"mat-mdc-optgroup-label\\\"\\n role=\\\"presentation\\\"\\n [class.mdc-list-item--disabled]=\\\"disabled\\\"\\n [id]=\\\"_labelId\\\">\\n <span class=\\\"mdc-list-item__primary-text\\\">{{ label }} <ng-content></ng-content></span>\\n</span>\\n\\n<ng-content select=\\\"mat-option, ng-container\\\"></ng-content>\\n\", styles: [\".mat-mdc-optgroup-label{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;min-height:48px}.mat-mdc-optgroup-label:focus{outline:none}[dir=rtl] .mat-mdc-optgroup-label,.mat-mdc-optgroup-label[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-optgroup-label.mdc-list-item--disabled{opacity:.38}.mat-mdc-optgroup-label .mdc-list-item__primary-text{white-space:normal}\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatOptgroup, decorators: [{\n type: Component,\n args: [{ selector: 'mat-optgroup', exportAs: 'matOptgroup', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, inputs: ['disabled'], host: {\n 'class': 'mat-mdc-optgroup',\n '[attr.role]': '_inert ? null : \"group\"',\n '[attr.aria-disabled]': '_inert ? null : disabled.toString()',\n '[attr.aria-labelledby]': '_inert ? null : _labelId',\n }, providers: [{ provide: MAT_OPTGROUP, useExisting: MatOptgroup }], template: \"<span\\n class=\\\"mat-mdc-optgroup-label\\\"\\n role=\\\"presentation\\\"\\n [class.mdc-list-item--disabled]=\\\"disabled\\\"\\n [id]=\\\"_labelId\\\">\\n <span class=\\\"mdc-list-item__primary-text\\\">{{ label }} <ng-content></ng-content></span>\\n</span>\\n\\n<ng-content select=\\\"mat-option, ng-container\\\"></ng-content>\\n\", styles: [\".mat-mdc-optgroup-label{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;min-height:48px}.mat-mdc-optgroup-label:focus{outline:none}[dir=rtl] .mat-mdc-optgroup-label,.mat-mdc-optgroup-label[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-optgroup-label.mdc-list-item--disabled{opacity:.38}.mat-mdc-optgroup-label .mdc-list-item__primary-text{white-space:normal}\"] }]\n }] });\n\n/**\n * Option IDs need to be unique across components, so this counter exists outside of\n * the component definition.\n */\nlet _uniqueIdCounter = 0;\n/** Event object emitted by MatOption when selected or deselected. */\nclass MatOptionSelectionChange {\n constructor(\n /** Reference to the option that emitted the event. */\n source, \n /** Whether the change in the option's value was a result of a user action. */\n isUserInput = false) {\n this.source = source;\n this.isUserInput = isUserInput;\n }\n}\nclass _MatOptionBase {\n /** Whether the wrapping component is in multiple selection mode. */\n get multiple() {\n return this._parent && this._parent.multiple;\n }\n /** Whether or not the option is currently selected. */\n get selected() {\n return this._selected;\n }\n /** Whether the option is disabled. */\n get disabled() {\n return (this.group && this.group.disabled) || this._disabled;\n }\n set disabled(value) {\n this._disabled = coerceBooleanProperty(value);\n }\n /** Whether ripples for the option are disabled. */\n get disableRipple() {\n return !!(this._parent && this._parent.disableRipple);\n }\n /** Whether to display checkmark for single-selection. */\n get hideSingleSelectionIndicator() {\n return !!(this._parent && this._parent.hideSingleSelectionIndicator);\n }\n constructor(_element, _changeDetectorRef, _parent, group) {\n this._element = _element;\n this._changeDetectorRef = _changeDetectorRef;\n this._parent = _parent;\n this.group = group;\n this._selected = false;\n this._active = false;\n this._disabled = false;\n this._mostRecentViewValue = '';\n /** The unique ID of the option. */\n this.id = `mat-option-${_uniqueIdCounter++}`;\n /** Event emitted when the option is selected or deselected. */\n // tslint:disable-next-line:no-output-on-prefix\n this.onSelectionChange = new EventEmitter();\n /** Emits when the state of the option changes and any parents have to be notified. */\n this._stateChanges = new Subject();\n }\n /**\n * Whether or not the option is currently active and ready to be selected.\n * An active option displays styles as if it is focused, but the\n * focus is actually retained somewhere else. This comes in handy\n * for components like autocomplete where focus must remain on the input.\n */\n get active() {\n return this._active;\n }\n /**\n * The displayed value of the option. It is necessary to show the selected option in the\n * select's trigger.\n */\n get viewValue() {\n // TODO(kara): Add input property alternative for node envs.\n return (this._text?.nativeElement.textContent || '').trim();\n }\n /** Selects the option. */\n select() {\n if (!this._selected) {\n this._selected = true;\n this._changeDetectorRef.markForCheck();\n this._emitSelectionChangeEvent();\n }\n }\n /** Deselects the option. */\n deselect() {\n if (this._selected) {\n this._selected = false;\n this._changeDetectorRef.markForCheck();\n this._emitSelectionChangeEvent();\n }\n }\n /** Sets focus onto this option. */\n focus(_origin, options) {\n // Note that we aren't using `_origin`, but we need to keep it because some internal consumers\n // use `MatOption` in a `FocusKeyManager` and we need it to match `FocusableOption`.\n const element = this._getHostElement();\n if (typeof element.focus === 'function') {\n element.focus(options);\n }\n }\n /**\n * This method sets display styles on the option to make it appear\n * active. This is used by the ActiveDescendantKeyManager so key\n * events will display the proper options as active on arrow key events.\n */\n setActiveStyles() {\n if (!this._active) {\n this._active = true;\n this._changeDetectorRef.markForCheck();\n }\n }\n /**\n * This method removes display styles on the option that made it appear\n * active. This is used by the ActiveDescendantKeyManager so key\n * events will display the proper options as active on arrow key events.\n */\n setInactiveStyles() {\n if (this._active) {\n this._active = false;\n this._changeDetectorRef.markForCheck();\n }\n }\n /** Gets the label to be used when determining whether the option should be focused. */\n getLabel() {\n return this.viewValue;\n }\n /** Ensures the option is selected when activated from the keyboard. */\n _handleKeydown(event) {\n if ((event.keyCode === ENTER || event.keyCode === SPACE) && !hasModifierKey(event)) {\n this._selectViaInteraction();\n // Prevent the page from scrolling down and form submits.\n event.preventDefault();\n }\n }\n /**\n * `Selects the option while indicating the selection came from the user. Used to\n * determine if the select's view -> model callback should be invoked.`\n */\n _selectViaInteraction() {\n if (!this.disabled) {\n this._selected = this.multiple ? !this._selected : true;\n this._changeDetectorRef.markForCheck();\n this._emitSelectionChangeEvent(true);\n }\n }\n /** Returns the correct tabindex for the option depending on disabled state. */\n // This method is only used by `MatLegacyOption`. Keeping it here to avoid breaking the types.\n // That's because `MatLegacyOption` use `MatOption` type in a few places such as\n // `MatOptionSelectionChange`. It is safe to delete this when `MatLegacyOption` is deleted.\n _getTabIndex() {\n return this.disabled ? '-1' : '0';\n }\n /** Gets the host DOM element. */\n _getHostElement() {\n return this._element.nativeElement;\n }\n ngAfterViewChecked() {\n // Since parent components could be using the option's label to display the selected values\n // (e.g. `mat-select`) and they don't have a way of knowing if the option's label has changed\n // we have to check for changes in the DOM ourselves and dispatch an event. These checks are\n // relatively cheap, however we still limit them only to selected options in order to avoid\n // hitting the DOM too often.\n if (this._selected) {\n const viewValue = this.viewValue;\n if (viewValue !== this._mostRecentViewValue) {\n if (this._mostRecentViewValue) {\n this._stateChanges.next();\n }\n this._mostRecentViewValue = viewValue;\n }\n }\n }\n ngOnDestroy() {\n this._stateChanges.complete();\n }\n /** Emits the selection change event. */\n _emitSelectionChangeEvent(isUserInput = false) {\n this.onSelectionChange.emit(new MatOptionSelectionChange(this, isUserInput));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatOptionBase, deps: \"invalid\", target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: _MatOptionBase, inputs: { value: \"value\", id: \"id\", disabled: \"disabled\" }, outputs: { onSelectionChange: \"onSelectionChange\" }, viewQueries: [{ propertyName: \"_text\", first: true, predicate: [\"text\"], descendants: true, static: true }], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatOptionBase, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: undefined }, { type: _MatOptgroupBase }]; }, propDecorators: { value: [{\n type: Input\n }], id: [{\n type: Input\n }], disabled: [{\n type: Input\n }], onSelectionChange: [{\n type: Output\n }], _text: [{\n type: ViewChild,\n args: ['text', { static: true }]\n }] } });\n/**\n * Single option inside of a `<mat-select>` element.\n */\nclass MatOption extends _MatOptionBase {\n constructor(element, changeDetectorRef, parent, group) {\n super(element, changeDetectorRef, parent, group);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatOption, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: MAT_OPTION_PARENT_COMPONENT, optional: true }, { token: MAT_OPTGROUP, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatOption, selector: \"mat-option\", host: { attributes: { \"role\": \"option\" }, listeners: { \"click\": \"_selectViaInteraction()\", \"keydown\": \"_handleKeydown($event)\" }, properties: { \"class.mdc-list-item--selected\": \"selected\", \"class.mat-mdc-option-multiple\": \"multiple\", \"class.mat-mdc-option-active\": \"active\", \"class.mdc-list-item--disabled\": \"disabled\", \"id\": \"id\", \"attr.aria-selected\": \"selected\", \"attr.aria-disabled\": \"disabled.toString()\" }, classAttribute: \"mat-mdc-option mdc-list-item\" }, exportAs: [\"matOption\"], usesInheritance: true, ngImport: i0, template: \"<mat-pseudo-checkbox *ngIf=\\\"multiple\\\" class=\\\"mat-mdc-option-pseudo-checkbox\\\"\\n [state]=\\\"selected ? 'checked' : 'unchecked'\\\" [disabled]=\\\"disabled\\\"></mat-pseudo-checkbox>\\n\\n<ng-content select=\\\"mat-icon\\\"></ng-content>\\n\\n<span class=\\\"mdc-list-item__primary-text\\\" #text><ng-content></ng-content></span>\\n\\n<!-- Render checkmark at the end for single-selection. -->\\n<mat-pseudo-checkbox *ngIf=\\\"!multiple && selected && !hideSingleSelectionIndicator\\\"\\n class=\\\"mat-mdc-option-pseudo-checkbox\\\" state=\\\"checked\\\" [disabled]=\\\"disabled\\\"\\n appearance=\\\"minimal\\\"></mat-pseudo-checkbox>\\n\\n<!-- See a11y notes inside optgroup.ts for context behind this element. -->\\n<span class=\\\"cdk-visually-hidden\\\" *ngIf=\\\"group && group._inert\\\">({{ group.label }})</span>\\n\\n<div class=\\\"mat-mdc-option-ripple mat-mdc-focus-indicator\\\" mat-ripple\\n [matRippleTrigger]=\\\"_getHostElement()\\\"\\n [matRippleDisabled]=\\\"disabled || disableRipple\\\">\\n</div>\\n\", styles: [\".mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:\\\"\\\";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:\\\"\\\"}\"], dependencies: [{ kind: \"directive\", type: MatRipple, selector: \"[mat-ripple], [matRipple]\", inputs: [\"matRippleColor\", \"matRippleUnbounded\", \"matRippleCentered\", \"matRippleRadius\", \"matRippleAnimation\", \"matRippleDisabled\", \"matRippleTrigger\"], exportAs: [\"matRipple\"] }, { kind: \"directive\", type: i3.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"component\", type: MatPseudoCheckbox, selector: \"mat-pseudo-checkbox\", inputs: [\"state\", \"disabled\", \"appearance\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatOption, decorators: [{\n type: Component,\n args: [{ selector: 'mat-option', exportAs: 'matOption', host: {\n 'role': 'option',\n '[class.mdc-list-item--selected]': 'selected',\n '[class.mat-mdc-option-multiple]': 'multiple',\n '[class.mat-mdc-option-active]': 'active',\n '[class.mdc-list-item--disabled]': 'disabled',\n '[id]': 'id',\n // Set aria-selected to false for non-selected items and true for selected items. Conform to\n // [WAI ARIA Listbox authoring practices guide](\n // https://www.w3.org/WAI/ARIA/apg/patterns/listbox/), \"If any options are selected, each\n // selected option has either aria-selected or aria-checked set to true. All options that are\n // selectable but not selected have either aria-selected or aria-checked set to false.\" Align\n // aria-selected implementation of Chips and List components.\n //\n // Set `aria-selected=\"false\"` on not-selected listbox options to fix VoiceOver announcing\n // every option as \"selected\" (#21491).\n '[attr.aria-selected]': 'selected',\n '[attr.aria-disabled]': 'disabled.toString()',\n '(click)': '_selectViaInteraction()',\n '(keydown)': '_handleKeydown($event)',\n 'class': 'mat-mdc-option mdc-list-item',\n }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: \"<mat-pseudo-checkbox *ngIf=\\\"multiple\\\" class=\\\"mat-mdc-option-pseudo-checkbox\\\"\\n [state]=\\\"selected ? 'checked' : 'unchecked'\\\" [disabled]=\\\"disabled\\\"></mat-pseudo-checkbox>\\n\\n<ng-content select=\\\"mat-icon\\\"></ng-content>\\n\\n<span class=\\\"mdc-list-item__primary-text\\\" #text><ng-content></ng-content></span>\\n\\n<!-- Render checkmark at the end for single-selection. -->\\n<mat-pseudo-checkbox *ngIf=\\\"!multiple && selected && !hideSingleSelectionIndicator\\\"\\n class=\\\"mat-mdc-option-pseudo-checkbox\\\" state=\\\"checked\\\" [disabled]=\\\"disabled\\\"\\n appearance=\\\"minimal\\\"></mat-pseudo-checkbox>\\n\\n<!-- See a11y notes inside optgroup.ts for context behind this element. -->\\n<span class=\\\"cdk-visually-hidden\\\" *ngIf=\\\"group && group._inert\\\">({{ group.label }})</span>\\n\\n<div class=\\\"mat-mdc-option-ripple mat-mdc-focus-indicator\\\" mat-ripple\\n [matRippleTrigger]=\\\"_getHostElement()\\\"\\n [matRippleDisabled]=\\\"disabled || disableRipple\\\">\\n</div>\\n\", styles: [\".mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:\\\"\\\";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:\\\"\\\"}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_OPTION_PARENT_COMPONENT]\n }] }, { type: MatOptgroup, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_OPTGROUP]\n }] }]; } });\n/**\n * Counts the amount of option group labels that precede the specified option.\n * @param optionIndex Index of the option at which to start counting.\n * @param options Flat list of all of the options.\n * @param optionGroups Flat list of all of the option groups.\n * @docs-private\n */\nfunction _countGroupLabelsBeforeOption(optionIndex, options, optionGroups) {\n if (optionGroups.length) {\n let optionsArray = options.toArray();\n let groups = optionGroups.toArray();\n let groupCounter = 0;\n for (let i = 0; i < optionIndex + 1; i++) {\n if (optionsArray[i].group && optionsArray[i].group === groups[groupCounter]) {\n groupCounter++;\n }\n }\n return groupCounter;\n }\n return 0;\n}\n/**\n * Determines the position to which to scroll a panel in order for an option to be into view.\n * @param optionOffset Offset of the option from the top of the panel.\n * @param optionHeight Height of the options.\n * @param currentScrollPosition Current scroll position of the panel.\n * @param panelHeight Height of the panel.\n * @docs-private\n */\nfunction _getOptionScrollPosition(optionOffset, optionHeight, currentScrollPosition, panelHeight) {\n if (optionOffset < currentScrollPosition) {\n return optionOffset;\n }\n if (optionOffset + optionHeight > currentScrollPosition + panelHeight) {\n return Math.max(0, optionOffset - panelHeight + optionHeight);\n }\n return currentScrollPosition;\n}\n\nclass MatOptionModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatOptionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatOptionModule, declarations: [MatOption, MatOptgroup], imports: [MatRippleModule, CommonModule, MatCommonModule, MatPseudoCheckboxModule], exports: [MatOption, MatOptgroup] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatOptionModule, imports: [MatRippleModule, CommonModule, MatCommonModule, MatPseudoCheckboxModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatOptionModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [MatRippleModule, CommonModule, MatCommonModule, MatPseudoCheckboxModule],\n exports: [MatOption, MatOptgroup],\n declarations: [MatOption, MatOptgroup],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { AnimationCurves, AnimationDurations, DateAdapter, ErrorStateMatcher, MATERIAL_SANITY_CHECKS, MAT_DATE_FORMATS, MAT_DATE_LOCALE, MAT_DATE_LOCALE_FACTORY, MAT_NATIVE_DATE_FORMATS, MAT_OPTGROUP, MAT_OPTION_PARENT_COMPONENT, MAT_RIPPLE_GLOBAL_OPTIONS, MatCommonModule, MatLine, MatLineModule, MatNativeDateModule, MatOptgroup, MatOption, MatOptionModule, MatOptionSelectionChange, MatPseudoCheckbox, MatPseudoCheckboxModule, MatRipple, MatRippleModule, NativeDateAdapter, NativeDateModule, RippleRef, RippleRenderer, ShowOnDirtyErrorStateMatcher, VERSION, _MatOptgroupBase, _MatOptionBase, _countGroupLabelsBeforeOption, _getOptionScrollPosition, defaultRippleAnimationConfig, mixinColor, mixinDisableRipple, mixinDisabled, mixinErrorState, mixinInitialized, mixinTabIndex, setLines };\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import toPropertyKey from \"./toPropertyKey.js\";\nexport default function _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","import defineProperty from \"./defineProperty.js\";\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n return keys;\n}\nexport default function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42]} \ No newline at end of file diff --git a/6980.808708880eb725f8.js b/6980.808708880eb725f8.js new file mode 100644 index 0000000..2aa16e2 --- /dev/null +++ b/6980.808708880eb725f8.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[6980,7376,5187,4091,1217,7208,4968,4155,1084,6896,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,8061,4680,2111,3326,8596,8352,5501,3098,8467,6578,8608,8443,5915,3278,5391,6748,6763,4151,5069,7432,8071,6618],{35488:(i,o,e)=>{function r(u){if(void 0===u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}e.d(o,{Z:()=>r})},28694:(i,o,e)=>{e.d(o,{Z:()=>_});var r=e(20265),u=e(98568),n=e(43445),t=e(35488);function _(a){var c=(0,u.Z)();return function(){var s,l=(0,r.Z)(a);if(c){var d=(0,r.Z)(this).constructor;s=Reflect.construct(l,arguments,d)}else s=l.apply(this,arguments);return function f(a,c){if(c&&("object"===(0,n.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return(0,t.Z)(a)}(this,s)}}},4089:(i,o,e)=>{e.d(o,{Z:()=>n});var r=e(20265);function n(){return n=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(f,_,a){var c=function u(t,f){for(;!Object.prototype.hasOwnProperty.call(t,f)&&null!==(t=(0,r.Z)(t)););return t}(f,_);if(c){var p=Object.getOwnPropertyDescriptor(c,_);return p.get?p.get.call(arguments.length<3?f:a):p.value}},n.apply(this,arguments)}},20265:(i,o,e)=>{function r(u){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(u)}e.d(o,{Z:()=>r})},24582:(i,o,e)=>{e.d(o,{Z:()=>u});var r=e(10006);function u(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&(0,r.Z)(n,t)}},98568:(i,o,e)=>{function r(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(o,{Z:()=>r})},10006:(i,o,e)=>{function r(u,n){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(f,_){return f.__proto__=_,f})(u,n)}e.d(o,{Z:()=>r})}}]); +//# sourceMappingURL=6980.808708880eb725f8.js.map \ No newline at end of file diff --git a/6980.808708880eb725f8.js.map b/6980.808708880eb725f8.js.map new file mode 100644 index 0000000..03f9490 --- /dev/null +++ b/6980.808708880eb725f8.js.map @@ -0,0 +1 @@ +{"version":3,"file":"6980.808708880eb725f8.js","mappings":"+RAAe,SAAAA,EAAAC,GACf,YAAAA,EACA,UAAAC,eAAA,6DAEA,OAAAD,CACA,oGCFe,SAAAE,EAAAC,GACf,IAAAC,KAAkCC,EAAAC,KAClC,kBACA,IACAC,EADAC,KAAgBC,EAAAH,GAAcH,GAE9B,GAAAC,EAAA,CACA,IAAAM,KAAsBD,EAAAH,GAAcK,MAAAC,YACpCL,EAAAM,QAAAC,UAAAN,EAAAO,UAAAL,EAAA,MAEAH,EAAAC,EAAAQ,MAAAL,KAAAI,WAEA,OCZe,SAAAE,EAAAjB,EAAAkB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ACA,CACA,mCCVe,SAAAE,EAAAhB,EAAAiB,GACf,OAAAD,EAAAxB,OAAAS,eAAAT,OAAAS,eAAAhB,OAAA,SAAAe,EAAAiB,GACA,OAAAjB,EAAAE,UAAAe,EACAjB,CACA,GACAA,EAAAiB,EACA","names":["_assertThisInitialized","self","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","call","esm_typeof","TypeError","assertThisInitialized","_get","get","bind","target","property","receiver","base","_superPropBase","object","Object","prototype","hasOwnProperty","desc","getOwnPropertyDescriptor","length","value","_getPrototypeOf","o","setPrototypeOf","__proto__","_inherits","subClass","superClass","create","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8]} \ No newline at end of file diff --git a/7131.1faca00847bd973c.js b/7131.1faca00847bd973c.js new file mode 100644 index 0000000..a3edc22 --- /dev/null +++ b/7131.1faca00847bd973c.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[7131,5106,1551],{20591:(T,f,t)=>{t.d(f,{E:()=>s});var s=new(t(90833).y)(function(r){return r.complete()})},23280:(T,f,t)=>{t.d(f,{R:()=>g});var c=t(32090),s=t(54987),i=t(90833),n=t(49525),r=t(99806),u=t(92971),_=t(58385),y=["addListener","removeListener"],A=["addEventListener","removeEventListener"],D=["on","off"];function g(h,a,d,o){if((0,u.m)(d)&&(o=d,d=void 0),o)return g(h,a,d).pipe((0,_.Z)(o));var e=function x(h){return(0,u.m)(h.addEventListener)&&(0,u.m)(h.removeEventListener)}(h)?A.map(function(p){return function(O){return h[p](a,O,d)}}):function v(h){return(0,u.m)(h.addListener)&&(0,u.m)(h.removeListener)}(h)?y.map(M(h,a)):function P(h){return(0,u.m)(h.on)&&(0,u.m)(h.off)}(h)?D.map(M(h,a)):[],m=(0,c.Z)(e,2),l=m[0],E=m[1];if(!l&&(0,r.z)(h))return(0,n.z)(function(p){return g(p,a,d)})((0,s.Xf)(h));if(!l)throw new TypeError("Invalid event target");return new i.y(function(p){var O=function(){for(var C=arguments.length,b=new Array(C),L=0;L<C;L++)b[L]=arguments[L];return p.next(1<b.length?b:b[0])};return l(O),function(){return E(O)}})}function M(h,a){return function(d){return function(o){return h[d](a,o)}}}},93945:(T,f,t)=>{t.d(f,{Q:()=>D,x:()=>A});var c=t(78069),s=t(48047),i=t(35488),n=t(24582),r=t(28694),u=t(4089),_=t(20265);function A(g,M,v,P,x){return new D(g,M,v,P,x)}var D=function(g){(0,n.Z)(v,g);var M=(0,r.Z)(v);function v(P,x,h,a,d,o){var e,m,l,E;return(0,c.Z)(this,v),(E=M.call(this,P)).onFinalize=d,E.shouldUnsubscribe=o,E._next=x?function(p){try{x(p)}catch(O){P.error(O)}}:(0,u.Z)((e=(0,i.Z)(E),(0,_.Z)(v.prototype)),"_next",e),E._error=a?function(p){try{a(p)}catch(O){P.error(O)}finally{this.unsubscribe()}}:(0,u.Z)((m=(0,i.Z)(E),(0,_.Z)(v.prototype)),"_error",m),E._complete=h?function(){try{h()}catch(p){P.error(p)}finally{this.unsubscribe()}}:(0,u.Z)((l=(0,i.Z)(E),(0,_.Z)(v.prototype)),"_complete",l),E}return(0,s.Z)(v,[{key:"unsubscribe",value:function(){var x;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var h=this.closed;(0,u.Z)((0,_.Z)(v.prototype),"unsubscribe",this).call(this),!h&&(null===(x=this.onFinalize)||void 0===x||x.call(this))}}}]),v}(t(5463).Lv)},89211:(T,f,t)=>{t.d(f,{e:()=>_});var c=t(96936),s=t(41944),i=t(54987),n=t(93945),u=t(78947);function _(y){var A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.z;return function r(y){return(0,s.e)(function(A,D){var g=!1,M=null,v=null,P=!1,x=function(){if(v?.unsubscribe(),v=null,g){g=!1;var d=M;M=null,D.next(d)}P&&D.complete()},h=function(){v=null,P&&D.complete()};A.subscribe((0,n.x)(D,function(a){g=!0,M=a,v||(0,i.Xf)(y(a)).subscribe(v=(0,n.x)(D,x,h))},function(){P=!0,(!g||!v||v.closed)&&D.complete()}))})}(function(){return(0,u.H)(y,A)})}},68951:(T,f,t)=>{t.d(f,{R:()=>r});var c=t(41944),s=t(93945),i=t(54987),n=t(99635);function r(u){return(0,c.e)(function(_,y){(0,i.Xf)(u).subscribe((0,s.x)(y,function(){return y.complete()},n.Z)),!y.closed&&_.subscribe(y)})}},41944:(T,f,t)=>{t.d(f,{A:()=>s,e:()=>i});var c=t(92971);function s(n){return(0,c.m)(n?.lift)}function i(n){return function(r){if(s(r))return r.lift(function(u){try{return n(u,this)}catch(_){this.error(_)}});throw new TypeError("Unable to lift unknown Observable type")}}},58385:(T,f,t)=>{t.d(f,{Z:()=>r});var c=t(86170),s=t(50635),i=Array.isArray;function r(u){return(0,s.U)(function(_){return function n(u,_){return i(_)?u.apply(void 0,(0,c.Z)(_)):u(_)}(u,_)})}},10264:(T,f,t)=>{t.r(f),t.d(f,{AutofillMonitor:()=>v,CdkAutofill:()=>P,CdkTextareaAutosize:()=>x,TextFieldModule:()=>h});var c=t(78069),s=t(48047),i=t(23675),n=t(56718),r=t(35333),u=t(20591),_=t(50253),y=t(23280),A=t(89211),D=t(68951),g=t(94055),M=(0,i.normalizePassiveListenerOptions)({passive:!0}),v=function(){var a=function(){function d(o,e){(0,c.Z)(this,d),this._platform=o,this._ngZone=e,this._monitoredElements=new Map}return(0,s.Z)(d,[{key:"monitor",value:function(e){var m=this;if(!this._platform.isBrowser)return u.E;var l=(0,r.coerceElement)(e),E=this._monitoredElements.get(l);if(E)return E.subject;var p=new _.x,O="cdk-text-field-autofilled",R=function(b){"cdk-text-field-autofill-start"!==b.animationName||l.classList.contains(O)?"cdk-text-field-autofill-end"===b.animationName&&l.classList.contains(O)&&(l.classList.remove(O),m._ngZone.run(function(){return p.next({target:b.target,isAutofilled:!1})})):(l.classList.add(O),m._ngZone.run(function(){return p.next({target:b.target,isAutofilled:!0})}))};return this._ngZone.runOutsideAngular(function(){l.addEventListener("animationstart",R,M),l.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(l,{subject:p,unlisten:function(){l.removeEventListener("animationstart",R,M)}}),p}},{key:"stopMonitoring",value:function(e){var m=(0,r.coerceElement)(e),l=this._monitoredElements.get(m);l&&(l.unlisten(),l.subject.complete(),m.classList.remove("cdk-text-field-autofill-monitored"),m.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(m))}},{key:"ngOnDestroy",value:function(){var e=this;this._monitoredElements.forEach(function(m,l){return e.stopMonitoring(l)})}}]),d}();return a.\u0275fac=function(o){return new(o||a)(n.\u0275\u0275inject(i.Platform),n.\u0275\u0275inject(n.NgZone))},a.\u0275prov=n.\u0275\u0275defineInjectable({token:a,factory:a.\u0275fac,providedIn:"root"}),a}(),P=function(){var a=function(){function d(o,e){(0,c.Z)(this,d),this._elementRef=o,this._autofillMonitor=e,this.cdkAutofill=new n.EventEmitter}return(0,s.Z)(d,[{key:"ngOnInit",value:function(){var e=this;this._autofillMonitor.monitor(this._elementRef).subscribe(function(m){return e.cdkAutofill.emit(m)})}},{key:"ngOnDestroy",value:function(){this._autofillMonitor.stopMonitoring(this._elementRef)}}]),d}();return a.\u0275fac=function(o){return new(o||a)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(v))},a.\u0275dir=n.\u0275\u0275defineDirective({type:a,selectors:[["","cdkAutofill",""]],outputs:{cdkAutofill:"cdkAutofill"}}),a}(),x=function(){var a=function(){function d(o,e,m,l){var E=this;(0,c.Z)(this,d),this._elementRef=o,this._platform=e,this._ngZone=m,this._destroyed=new _.x,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=function(p){E._hasFocus="focus"===p.type},this._document=l,this._textareaElement=this._elementRef.nativeElement}return(0,s.Z)(d,[{key:"minRows",get:function(){return this._minRows},set:function(e){this._minRows=(0,r.coerceNumberProperty)(e),this._setMinHeight()}},{key:"maxRows",get:function(){return this._maxRows},set:function(e){this._maxRows=(0,r.coerceNumberProperty)(e),this._setMaxHeight()}},{key:"enabled",get:function(){return this._enabled},set:function(e){e=(0,r.coerceBooleanProperty)(e),this._enabled!==e&&((this._enabled=e)?this.resizeToFitContent(!0):this.reset())}},{key:"placeholder",get:function(){return this._textareaElement.placeholder},set:function(e){this._cachedPlaceholderHeight=void 0,e?this._textareaElement.setAttribute("placeholder",e):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}},{key:"_setMinHeight",value:function(){var e=this.minRows&&this._cachedLineHeight?"".concat(this.minRows*this._cachedLineHeight,"px"):null;e&&(this._textareaElement.style.minHeight=e)}},{key:"_setMaxHeight",value:function(){var e=this.maxRows&&this._cachedLineHeight?"".concat(this.maxRows*this._cachedLineHeight,"px"):null;e&&(this._textareaElement.style.maxHeight=e)}},{key:"ngAfterViewInit",value:function(){var e=this;this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(function(){var m=e._getWindow();(0,y.R)(m,"resize").pipe((0,A.e)(16),(0,D.R)(e._destroyed)).subscribe(function(){return e.resizeToFitContent(!0)}),e._textareaElement.addEventListener("focus",e._handleFocusEvent),e._textareaElement.addEventListener("blur",e._handleFocusEvent)}),this._isViewInited=!0,this.resizeToFitContent(!0))}},{key:"ngOnDestroy",value:function(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent),this._textareaElement.removeEventListener("blur",this._handleFocusEvent),this._destroyed.next(),this._destroyed.complete()}},{key:"_cacheTextareaLineHeight",value:function(){if(!this._cachedLineHeight){var e=this._textareaElement.cloneNode(!1);e.rows=1,e.style.position="absolute",e.style.visibility="hidden",e.style.border="none",e.style.padding="0",e.style.height="",e.style.minHeight="",e.style.maxHeight="",e.style.overflow="hidden",this._textareaElement.parentNode.appendChild(e),this._cachedLineHeight=e.clientHeight,e.remove(),this._setMinHeight(),this._setMaxHeight()}}},{key:"_measureScrollHeight",value:function(){var e=this._textareaElement,m=e.style.marginBottom||"",l=this._platform.FIREFOX,E=l&&this._hasFocus,p=l?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";E&&(e.style.marginBottom="".concat(e.clientHeight,"px")),e.classList.add(p);var O=e.scrollHeight-4;return e.classList.remove(p),E&&(e.style.marginBottom=m),O}},{key:"_cacheTextareaPlaceholderHeight",value:function(){if(this._isViewInited&&null==this._cachedPlaceholderHeight){if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);var e=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=e}}},{key:"ngDoCheck",value:function(){this._platform.isBrowser&&this.resizeToFitContent()}},{key:"resizeToFitContent",value:function(){var e=this,m=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this._enabled&&(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),this._cachedLineHeight)){var l=this._elementRef.nativeElement,E=l.value;if(m||this._minRows!==this._previousMinRows||E!==this._previousValue){var p=this._measureScrollHeight(),O=Math.max(p,this._cachedPlaceholderHeight||0);l.style.height="".concat(O,"px"),this._ngZone.runOutsideAngular(function(){typeof requestAnimationFrame<"u"?requestAnimationFrame(function(){return e._scrollToCaretPosition(l)}):setTimeout(function(){return e._scrollToCaretPosition(l)})}),this._previousValue=E,this._previousMinRows=this._minRows}}}},{key:"reset",value:function(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}},{key:"_noopInputHandler",value:function(){}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_scrollToCaretPosition",value:function(e){!this._destroyed.isStopped&&this._hasFocus&&e.setSelectionRange(e.selectionStart,e.selectionEnd)}}]),d}();return a.\u0275fac=function(o){return new(o||a)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(i.Platform),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(g.DOCUMENT,8))},a.\u0275dir=n.\u0275\u0275defineDirective({type:a,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(o,e){1&o&&n.\u0275\u0275listener("input",function(){return e._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]}),a}(),h=function(){var a=(0,s.Z)(function d(){(0,c.Z)(this,d)});return a.\u0275fac=function(o){return new(o||a)},a.\u0275mod=n.\u0275\u0275defineNgModule({type:a}),a.\u0275inj=n.\u0275\u0275defineInjector({}),a}()},44841:(T,f,t)=>{function c(s,i){(null==i||i>s.length)&&(i=s.length);for(var n=0,r=new Array(i);n<i;n++)r[n]=s[n];return r}t.d(f,{Z:()=>c})},95106:(T,f,t)=>{t.d(f,{Z:()=>s});var c=t(44206);function s(i,n){var r=typeof Symbol<"u"&&i[Symbol.iterator]||i["@@iterator"];if(!r){if(Array.isArray(i)||(r=(0,c.Z)(i))||n&&i&&"number"==typeof i.length){r&&(i=r);var u=0,_=function(){};return{s:_,n:function(){return u>=i.length?{done:!0}:{done:!1,value:i[u++]}},e:function(M){throw M},f:_}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var D,y=!0,A=!1;return{s:function(){r=r.call(i)},n:function(){var M=r.next();return y=M.done,M},e:function(M){A=!0,D=M},f:function(){try{!y&&null!=r.return&&r.return()}finally{if(A)throw D}}}}},4089:(T,f,t)=>{t.d(f,{Z:()=>i});var c=t(20265);function i(){return i=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(r,u,_){var y=function s(n,r){for(;!Object.prototype.hasOwnProperty.call(n,r)&&null!==(n=(0,c.Z)(n)););return n}(r,u);if(y){var A=Object.getOwnPropertyDescriptor(y,u);return A.get?A.get.call(arguments.length<3?r:_):A.value}},i.apply(this,arguments)}},4826:(T,f,t)=>{function c(s){if(typeof Symbol<"u"&&null!=s[Symbol.iterator]||null!=s["@@iterator"])return Array.from(s)}t.d(f,{Z:()=>c})},86170:(T,f,t)=>{t.d(f,{Z:()=>u});var c=t(44841),i=t(4826),n=t(44206);function u(_){return function s(_){if(Array.isArray(_))return(0,c.Z)(_)}(_)||(0,i.Z)(_)||(0,n.Z)(_)||function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(T,f,t)=>{t.d(f,{Z:()=>s});var c=t(44841);function s(i,n){if(i){if("string"==typeof i)return(0,c.Z)(i,n);var r=Object.prototype.toString.call(i).slice(8,-1);if("Object"===r&&i.constructor&&(r=i.constructor.name),"Map"===r||"Set"===r)return Array.from(i);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return(0,c.Z)(i,n)}}}}]); +//# sourceMappingURL=7131.1faca00847bd973c.js.map \ No newline at end of file diff --git a/7131.1faca00847bd973c.js.map b/7131.1faca00847bd973c.js.map new file mode 100644 index 0000000..3fb706e --- /dev/null +++ b/7131.1faca00847bd973c.js.map @@ -0,0 +1 @@ +{"version":3,"file":"7131.1faca00847bd973c.js","mappings":"iHACaA,EAAQ,aAAIC,GAAW,SAACC,GAAU,OAAKA,EAAWC,UAAU,sHCKnEC,EAA0B,CAAC,cAAe,kBAC1CC,EAAqB,CAAC,mBAAoB,uBAC1CC,EAAgB,CAAC,KAAM,OACtB,SAASC,EAAUC,EAAQC,EAAWC,EAASC,GAKlD,MAJIC,KAAWF,KACXC,EAAiBD,EACjBA,OAAUG,GAEVF,EACA,OAAOJ,EAAUC,EAAQC,EAAWC,GAASI,QAAKC,KAAiBJ,IAEvE,IAAAK,EA+BJ,SAASC,EAAcT,GACnB,SAAOI,KAAWJ,EAAOU,oBAAgB,EAAKN,KAAWJ,EAAOW,oBACpE,CAjC0BF,CAAcT,GAC9BH,EAAmBe,IAAI,SAACC,GAAU,OAAK,SAACC,GAAO,OAAKd,EAAOa,GAAYZ,EAAWa,EAASZ,EAAQ,IAwB7G,SAASa,EAAwBf,GAC7B,SAAOI,KAAWJ,EAAOgB,eAAW,EAAKZ,KAAWJ,EAAOiB,eAC/D,CAxBYF,CAAwBf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AAsFgC,EAAAnC,GAAgBN,EAAAwC,EAAA,CACtG","names":["EMPTY","Observable","subscriber","complete","nodeEventEmitterMethods","eventTargetMethods","jqueryMethods","fromEvent","target","eventName","options","resultSelector","isFunction","undefined","pipe","mapOneOrManyArgs","_ref","isEventTarget","addEventListener","removeEventListener","map","methodName","handler","isNodeStyleEventEmitter","addListener","removeListener","toCommonHandlerRegistry","isJQueryStyleEventEmitter","on","off","_ref2","_slicedToArray","add","remove","isArrayLike","mergeMap","subTarget","innerFrom","TypeError","_len","arguments","length","args","Array","_key","next","createOperatorSubscriber","destination","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","_inherits","_super","_createSuper","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_this","_classCallCheck","this","call","_next","value","err","error","_get","_assertThisInitialized","_getPrototypeOf","prototype","_error","unsubscribe","_complete","_createClass","key","_a","closed","Subscriber","auditTime","duration","scheduler","asyncScheduler","audit","durationSelector","operate","source","hasValue","lastValue","durationSubscriber","isComplete","endDuration","cleanupDuration","subscribe","timer","takeUntil","notifier","noop","hasLift","lift","init","liftedSource","isArray","fn","callOrApply","apply","_toConsumableArray","listenerOptions","normalizePassiveListenerOptions","passive","AutofillMonitor","_platform","_ngZone","_monitoredElements","Map","elementOrRef","isBrowser","element","coerceElement","info","get","subject","result","Subject","cssClass","listener","event","animationName","classList","contains","run","isAutofilled","runOutsideAngular","set","unlisten","delete","_this2","forEach","_info","stopMonitoring","ɵfac","t","i0","i1","ɵprov","token","factory","providedIn","CdkAutofill","_elementRef","_autofillMonitor","cdkAutofill","EventEmitter","_this3","monitor","emit","ɵdir","type","selectors","outputs","CdkTextareaAutosize","document","_this4","_destroyed","_enabled","_previousMinRows","_isViewInited","_handleFocusEvent","_hasFocus","_document","_textareaElement","nativeElement","_minRows","coerceNumberProperty","_setMinHeight","_maxRows","_setMaxHeight","coerceBooleanProperty","resizeToFitContent","reset","placeholder","_cachedPlaceholderHeight","setAttribute","removeAttribute","_cacheTextareaPlaceholderHeight","minHeight","minRows","_cachedLineHeight","concat","style","maxHeight","maxRows","_this5","_initialHeight","height","window","_getWindow","textareaClone","cloneNode","rows","position","visibility","border","padding","overflow","parentNode","appendChild","clientHeight","previousMargin","marginBottom","isFirefox","FIREFOX","needsMarginFiller","measuringClass","scrollHeight","_measureScrollHeight","_this6","force","_cacheTextareaLineHeight","textarea","_previousValue","Math","max","requestAnimationFrame","_scrollToCaretPosition","setTimeout","_getDocument","defaultView","isStopped","setSelectionRange","selectionStart","selectionEnd","DOCUMENT","hostAttrs","hostBindings","rf","ctx","_noopInputHandler","inputs","enabled","exportAs","TextFieldModule","ɵmod","ɵinj","_arrayLikeToArray","arr","len","i","arr2","_createForOfIteratorHelper","o","allowArrayLike","it","Symbol","iterator","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","s","n","done","e","_e","f","normalCompletion","didErr","step","_e2","return","Reflect","bind","property","receiver","base","_superPropBase","object","Object","hasOwnProperty","getPrototypeOf","desc","getOwnPropertyDescriptor","_iterableToArray","iter","from","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","toString","slice","constructor","name","test"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/observable/empty.js","./node_modules/rxjs/dist/esm/internal/observable/fromEvent.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/auditTime.js","./node_modules/rxjs/dist/esm/internal/operators/audit.js","./node_modules/rxjs/dist/esm/internal/operators/takeUntil.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/rxjs/dist/esm/internal/util/mapOneOrManyArgs.js","./node_modules/@angular/cdk/fesm2022/text-field.mjs","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { Observable } from '../Observable';\nexport const EMPTY = new Observable((subscriber) => subscriber.complete());\nexport function empty(scheduler) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n return new Observable((subscriber) => scheduler.schedule(() => subscriber.complete()));\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { Observable } from '../Observable';\nimport { mergeMap } from '../operators/mergeMap';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isFunction } from '../util/isFunction';\nimport { mapOneOrManyArgs } from '../util/mapOneOrManyArgs';\nconst nodeEventEmitterMethods = ['addListener', 'removeListener'];\nconst eventTargetMethods = ['addEventListener', 'removeEventListener'];\nconst jqueryMethods = ['on', 'off'];\nexport function fromEvent(target, eventName, options, resultSelector) {\n if (isFunction(options)) {\n resultSelector = options;\n options = undefined;\n }\n if (resultSelector) {\n return fromEvent(target, eventName, options).pipe(mapOneOrManyArgs(resultSelector));\n }\n const [add, remove] = isEventTarget(target)\n ? eventTargetMethods.map((methodName) => (handler) => target[methodName](eventName, handler, options))\n :\n isNodeStyleEventEmitter(target)\n ? nodeEventEmitterMethods.map(toCommonHandlerRegistry(target, eventName))\n : isJQueryStyleEventEmitter(target)\n ? jqueryMethods.map(toCommonHandlerRegistry(target, eventName))\n : [];\n if (!add) {\n if (isArrayLike(target)) {\n return mergeMap((subTarget) => fromEvent(subTarget, eventName, options))(innerFrom(target));\n }\n }\n if (!add) {\n throw new TypeError('Invalid event target');\n }\n return new Observable((subscriber) => {\n const handler = (...args) => subscriber.next(1 < args.length ? args : args[0]);\n add(handler);\n return () => remove(handler);\n });\n}\nfunction toCommonHandlerRegistry(target, eventName) {\n return (methodName) => (handler) => target[methodName](eventName, handler);\n}\nfunction isNodeStyleEventEmitter(target) {\n return isFunction(target.addListener) && isFunction(target.removeListener);\n}\nfunction isJQueryStyleEventEmitter(target) {\n return isFunction(target.on) && isFunction(target.off);\n}\nfunction isEventTarget(target) {\n return isFunction(target.addEventListener) && isFunction(target.removeEventListener);\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","import { asyncScheduler } from '../scheduler/async';\nimport { audit } from './audit';\nimport { timer } from '../observable/timer';\nexport function auditTime(duration, scheduler = asyncScheduler) {\n return audit(() => timer(duration, scheduler));\n}\n","import { operate } from '../util/lift';\nimport { innerFrom } from '../observable/innerFrom';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function audit(durationSelector) {\n return operate((source, subscriber) => {\n let hasValue = false;\n let lastValue = null;\n let durationSubscriber = null;\n let isComplete = false;\n const endDuration = () => {\n durationSubscriber === null || durationSubscriber === void 0 ? void 0 : durationSubscriber.unsubscribe();\n durationSubscriber = null;\n if (hasValue) {\n hasValue = false;\n const value = lastValue;\n lastValue = null;\n subscriber.next(value);\n }\n isComplete && subscriber.complete();\n };\n const cleanupDuration = () => {\n durationSubscriber = null;\n isComplete && subscriber.complete();\n };\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n hasValue = true;\n lastValue = value;\n if (!durationSubscriber) {\n innerFrom(durationSelector(value)).subscribe((durationSubscriber = createOperatorSubscriber(subscriber, endDuration, cleanupDuration)));\n }\n }, () => {\n isComplete = true;\n (!hasValue || !durationSubscriber || durationSubscriber.closed) && subscriber.complete();\n }));\n });\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { innerFrom } from '../observable/innerFrom';\nimport { noop } from '../util/noop';\nexport function takeUntil(notifier) {\n return operate((source, subscriber) => {\n innerFrom(notifier).subscribe(createOperatorSubscriber(subscriber, () => subscriber.complete(), noop));\n !subscriber.closed && source.subscribe(subscriber);\n });\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","import { map } from \"../operators/map\";\nconst { isArray } = Array;\nfunction callOrApply(fn, args) {\n return isArray(args) ? fn(...args) : fn(args);\n}\nexport function mapOneOrManyArgs(fn) {\n return map(args => callOrApply(fn, args));\n}\n","import * as i1 from '@angular/cdk/platform';\nimport { normalizePassiveListenerOptions } from '@angular/cdk/platform';\nimport * as i0 from '@angular/core';\nimport { Injectable, EventEmitter, Directive, Output, Optional, Inject, Input, NgModule } from '@angular/core';\nimport { coerceElement, coerceNumberProperty, coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { EMPTY, Subject, fromEvent } from 'rxjs';\nimport { auditTime, takeUntil } from 'rxjs/operators';\nimport { DOCUMENT } from '@angular/common';\n\n/** Options to pass to the animationstart listener. */\nconst listenerOptions = normalizePassiveListenerOptions({ passive: true });\n/**\n * An injectable service that can be used to monitor the autofill state of an input.\n * Based on the following blog post:\n * https://medium.com/@brunn/detecting-autofilled-fields-in-javascript-aed598d25da7\n */\nclass AutofillMonitor {\n constructor(_platform, _ngZone) {\n this._platform = _platform;\n this._ngZone = _ngZone;\n this._monitoredElements = new Map();\n }\n monitor(elementOrRef) {\n if (!this._platform.isBrowser) {\n return EMPTY;\n }\n const element = coerceElement(elementOrRef);\n const info = this._monitoredElements.get(element);\n if (info) {\n return info.subject;\n }\n const result = new Subject();\n const cssClass = 'cdk-text-field-autofilled';\n const listener = ((event) => {\n // Animation events fire on initial element render, we check for the presence of the autofill\n // CSS class to make sure this is a real change in state, not just the initial render before\n // we fire off events.\n if (event.animationName === 'cdk-text-field-autofill-start' &&\n !element.classList.contains(cssClass)) {\n element.classList.add(cssClass);\n this._ngZone.run(() => result.next({ target: event.target, isAutofilled: true }));\n }\n else if (event.animationName === 'cdk-text-field-autofill-end' &&\n element.classList.contains(cssClass)) {\n element.classList.remove(cssClass);\n this._ngZone.run(() => result.next({ target: event.target, isAutofilled: false }));\n }\n });\n this._ngZone.runOutsideAngular(() => {\n element.addEventListener('animationstart', listener, listenerOptions);\n element.classList.add('cdk-text-field-autofill-monitored');\n });\n this._monitoredElements.set(element, {\n subject: result,\n unlisten: () => {\n element.removeEventListener('animationstart', listener, listenerOptions);\n },\n });\n return result;\n }\n stopMonitoring(elementOrRef) {\n const element = coerceElement(elementOrRef);\n const info = this._monitoredElements.get(element);\n if (info) {\n info.unlisten();\n info.subject.complete();\n element.classList.remove('cdk-text-field-autofill-monitored');\n element.classList.remove('cdk-text-field-autofilled');\n this._monitoredElements.delete(element);\n }\n }\n ngOnDestroy() {\n this._monitoredElements.forEach((_info, element) => this.stopMonitoring(element));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: AutofillMonitor, deps: [{ token: i1.Platform }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: AutofillMonitor, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: AutofillMonitor, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: i1.Platform }, { type: i0.NgZone }]; } });\n/** A directive that can be used to monitor the autofill state of an input. */\nclass CdkAutofill {\n constructor(_elementRef, _autofillMonitor) {\n this._elementRef = _elementRef;\n this._autofillMonitor = _autofillMonitor;\n /** Emits when the autofill state of the element changes. */\n this.cdkAutofill = new EventEmitter();\n }\n ngOnInit() {\n this._autofillMonitor\n .monitor(this._elementRef)\n .subscribe(event => this.cdkAutofill.emit(event));\n }\n ngOnDestroy() {\n this._autofillMonitor.stopMonitoring(this._elementRef);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkAutofill, deps: [{ token: i0.ElementRef }, { token: AutofillMonitor }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkAutofill, selector: \"[cdkAutofill]\", outputs: { cdkAutofill: \"cdkAutofill\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkAutofill, decorators: [{\n type: Directive,\n args: [{\n selector: '[cdkAutofill]',\n }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: AutofillMonitor }]; }, propDecorators: { cdkAutofill: [{\n type: Output\n }] } });\n\n/** Directive to automatically resize a textarea to fit its content. */\nclass CdkTextareaAutosize {\n /** Minimum amount of rows in the textarea. */\n get minRows() {\n return this._minRows;\n }\n set minRows(value) {\n this._minRows = coerceNumberProperty(value);\n this._setMinHeight();\n }\n /** Maximum amount of rows in the textarea. */\n get maxRows() {\n return this._maxRows;\n }\n set maxRows(value) {\n this._maxRows = coerceNumberProperty(value);\n this._setMaxHeight();\n }\n /** Whether autosizing is enabled or not */\n get enabled() {\n return this._enabled;\n }\n set enabled(value) {\n value = coerceBooleanProperty(value);\n // Only act if the actual value changed. This specifically helps to not run\n // resizeToFitContent too early (i.e. before ngAfterViewInit)\n if (this._enabled !== value) {\n (this._enabled = value) ? this.resizeToFitContent(true) : this.reset();\n }\n }\n get placeholder() {\n return this._textareaElement.placeholder;\n }\n set placeholder(value) {\n this._cachedPlaceholderHeight = undefined;\n if (value) {\n this._textareaElement.setAttribute('placeholder', value);\n }\n else {\n this._textareaElement.removeAttribute('placeholder');\n }\n this._cacheTextareaPlaceholderHeight();\n }\n constructor(_elementRef, _platform, _ngZone, \n /** @breaking-change 11.0.0 make document required */\n document) {\n this._elementRef = _elementRef;\n this._platform = _platform;\n this._ngZone = _ngZone;\n this._destroyed = new Subject();\n this._enabled = true;\n /**\n * Value of minRows as of last resize. If the minRows has decreased, the\n * height of the textarea needs to be recomputed to reflect the new minimum. The maxHeight\n * does not have the same problem because it does not affect the textarea's scrollHeight.\n */\n this._previousMinRows = -1;\n this._isViewInited = false;\n /** Handles `focus` and `blur` events. */\n this._handleFocusEvent = (event) => {\n this._hasFocus = event.type === 'focus';\n };\n this._document = document;\n this._textareaElement = this._elementRef.nativeElement;\n }\n /** Sets the minimum height of the textarea as determined by minRows. */\n _setMinHeight() {\n const minHeight = this.minRows && this._cachedLineHeight ? `${this.minRows * this._cachedLineHeight}px` : null;\n if (minHeight) {\n this._textareaElement.style.minHeight = minHeight;\n }\n }\n /** Sets the maximum height of the textarea as determined by maxRows. */\n _setMaxHeight() {\n const maxHeight = this.maxRows && this._cachedLineHeight ? `${this.maxRows * this._cachedLineHeight}px` : null;\n if (maxHeight) {\n this._textareaElement.style.maxHeight = maxHeight;\n }\n }\n ngAfterViewInit() {\n if (this._platform.isBrowser) {\n // Remember the height which we started with in case autosizing is disabled\n this._initialHeight = this._textareaElement.style.height;\n this.resizeToFitContent();\n this._ngZone.runOutsideAngular(() => {\n const window = this._getWindow();\n fromEvent(window, 'resize')\n .pipe(auditTime(16), takeUntil(this._destroyed))\n .subscribe(() => this.resizeToFitContent(true));\n this._textareaElement.addEventListener('focus', this._handleFocusEvent);\n this._textareaElement.addEventListener('blur', this._handleFocusEvent);\n });\n this._isViewInited = true;\n this.resizeToFitContent(true);\n }\n }\n ngOnDestroy() {\n this._textareaElement.removeEventListener('focus', this._handleFocusEvent);\n this._textareaElement.removeEventListener('blur', this._handleFocusEvent);\n this._destroyed.next();\n this._destroyed.complete();\n }\n /**\n * Cache the height of a single-row textarea if it has not already been cached.\n *\n * We need to know how large a single \"row\" of a textarea is in order to apply minRows and\n * maxRows. For the initial version, we will assume that the height of a single line in the\n * textarea does not ever change.\n */\n _cacheTextareaLineHeight() {\n if (this._cachedLineHeight) {\n return;\n }\n // Use a clone element because we have to override some styles.\n let textareaClone = this._textareaElement.cloneNode(false);\n textareaClone.rows = 1;\n // Use `position: absolute` so that this doesn't cause a browser layout and use\n // `visibility: hidden` so that nothing is rendered. Clear any other styles that\n // would affect the height.\n textareaClone.style.position = 'absolute';\n textareaClone.style.visibility = 'hidden';\n textareaClone.style.border = 'none';\n textareaClone.style.padding = '0';\n textareaClone.style.height = '';\n textareaClone.style.minHeight = '';\n textareaClone.style.maxHeight = '';\n // In Firefox it happens that textarea elements are always bigger than the specified amount\n // of rows. This is because Firefox tries to add extra space for the horizontal scrollbar.\n // As a workaround that removes the extra space for the scrollbar, we can just set overflow\n // to hidden. This ensures that there is no invalid calculation of the line height.\n // See Firefox bug report: https://bugzilla.mozilla.org/show_bug.cgi?id=33654\n textareaClone.style.overflow = 'hidden';\n this._textareaElement.parentNode.appendChild(textareaClone);\n this._cachedLineHeight = textareaClone.clientHeight;\n textareaClone.remove();\n // Min and max heights have to be re-calculated if the cached line height changes\n this._setMinHeight();\n this._setMaxHeight();\n }\n _measureScrollHeight() {\n const element = this._textareaElement;\n const previousMargin = element.style.marginBottom || '';\n const isFirefox = this._platform.FIREFOX;\n const needsMarginFiller = isFirefox && this._hasFocus;\n const measuringClass = isFirefox\n ? 'cdk-textarea-autosize-measuring-firefox'\n : 'cdk-textarea-autosize-measuring';\n // In some cases the page might move around while we're measuring the `textarea` on Firefox. We\n // work around it by assigning a temporary margin with the same height as the `textarea` so that\n // it occupies the same amount of space. See #23233.\n if (needsMarginFiller) {\n element.style.marginBottom = `${element.clientHeight}px`;\n }\n // Reset the textarea height to auto in order to shrink back to its default size.\n // Also temporarily force overflow:hidden, so scroll bars do not interfere with calculations.\n element.classList.add(measuringClass);\n // The measuring class includes a 2px padding to workaround an issue with Chrome,\n // so we account for that extra space here by subtracting 4 (2px top + 2px bottom).\n const scrollHeight = element.scrollHeight - 4;\n element.classList.remove(measuringClass);\n if (needsMarginFiller) {\n element.style.marginBottom = previousMargin;\n }\n return scrollHeight;\n }\n _cacheTextareaPlaceholderHeight() {\n if (!this._isViewInited || this._cachedPlaceholderHeight != undefined) {\n return;\n }\n if (!this.placeholder) {\n this._cachedPlaceholderHeight = 0;\n return;\n }\n const value = this._textareaElement.value;\n this._textareaElement.value = this._textareaElement.placeholder;\n this._cachedPlaceholderHeight = this._measureScrollHeight();\n this._textareaElement.value = value;\n }\n ngDoCheck() {\n if (this._platform.isBrowser) {\n this.resizeToFitContent();\n }\n }\n /**\n * Resize the textarea to fit its content.\n * @param force Whether to force a height recalculation. By default the height will be\n * recalculated only if the value changed since the last call.\n */\n resizeToFitContent(force = false) {\n // If autosizing is disabled, just skip everything else\n if (!this._enabled) {\n return;\n }\n this._cacheTextareaLineHeight();\n this._cacheTextareaPlaceholderHeight();\n // If we haven't determined the line-height yet, we know we're still hidden and there's no point\n // in checking the height of the textarea.\n if (!this._cachedLineHeight) {\n return;\n }\n const textarea = this._elementRef.nativeElement;\n const value = textarea.value;\n // Only resize if the value or minRows have changed since these calculations can be expensive.\n if (!force && this._minRows === this._previousMinRows && value === this._previousValue) {\n return;\n }\n const scrollHeight = this._measureScrollHeight();\n const height = Math.max(scrollHeight, this._cachedPlaceholderHeight || 0);\n // Use the scrollHeight to know how large the textarea *would* be if fit its entire value.\n textarea.style.height = `${height}px`;\n this._ngZone.runOutsideAngular(() => {\n if (typeof requestAnimationFrame !== 'undefined') {\n requestAnimationFrame(() => this._scrollToCaretPosition(textarea));\n }\n else {\n setTimeout(() => this._scrollToCaretPosition(textarea));\n }\n });\n this._previousValue = value;\n this._previousMinRows = this._minRows;\n }\n /**\n * Resets the textarea to its original size\n */\n reset() {\n // Do not try to change the textarea, if the initialHeight has not been determined yet\n // This might potentially remove styles when reset() is called before ngAfterViewInit\n if (this._initialHeight !== undefined) {\n this._textareaElement.style.height = this._initialHeight;\n }\n }\n _noopInputHandler() {\n // no-op handler that ensures we're running change detection on input events.\n }\n /** Access injected document if available or fallback to global document reference */\n _getDocument() {\n return this._document || document;\n }\n /** Use defaultView of injected document if available or fallback to global window reference */\n _getWindow() {\n const doc = this._getDocument();\n return doc.defaultView || window;\n }\n /**\n * Scrolls a textarea to the caret position. On Firefox resizing the textarea will\n * prevent it from scrolling to the caret position. We need to re-set the selection\n * in order for it to scroll to the proper position.\n */\n _scrollToCaretPosition(textarea) {\n const { selectionStart, selectionEnd } = textarea;\n // IE will throw an \"Unspecified error\" if we try to set the selection range after the\n // element has been removed from the DOM. Assert that the directive hasn't been destroyed\n // between the time we requested the animation frame and when it was executed.\n // Also note that we have to assert that the textarea is focused before we set the\n // selection range. Setting the selection range on a non-focused textarea will cause\n // it to receive focus on IE and Edge.\n if (!this._destroyed.isStopped && this._hasFocus) {\n textarea.setSelectionRange(selectionStart, selectionEnd);\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkTextareaAutosize, deps: [{ token: i0.ElementRef }, { token: i1.Platform }, { token: i0.NgZone }, { token: DOCUMENT, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkTextareaAutosize, selector: \"textarea[cdkTextareaAutosize]\", inputs: { minRows: [\"cdkAutosizeMinRows\", \"minRows\"], maxRows: [\"cdkAutosizeMaxRows\", \"maxRows\"], enabled: [\"cdkTextareaAutosize\", \"enabled\"], placeholder: \"placeholder\" }, host: { attributes: { \"rows\": \"1\" }, listeners: { \"input\": \"_noopInputHandler()\" }, classAttribute: \"cdk-textarea-autosize\" }, exportAs: [\"cdkTextareaAutosize\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkTextareaAutosize, decorators: [{\n type: Directive,\n args: [{\n selector: 'textarea[cdkTextareaAutosize]',\n exportAs: 'cdkTextareaAutosize',\n host: {\n 'class': 'cdk-textarea-autosize',\n // Textarea elements that have the directive applied should have a single row by default.\n // Browsers normally show two rows by default and therefore this limits the minRows binding.\n 'rows': '1',\n '(input)': '_noopInputHandler()',\n },\n }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.Platform }, { type: i0.NgZone }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [DOCUMENT]\n }] }]; }, propDecorators: { minRows: [{\n type: Input,\n args: ['cdkAutosizeMinRows']\n }], maxRows: [{\n type: Input,\n args: ['cdkAutosizeMaxRows']\n }], enabled: [{\n type: Input,\n args: ['cdkTextareaAutosize']\n }], placeholder: [{\n type: Input\n }] } });\n\nclass TextFieldModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: TextFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: TextFieldModule, declarations: [CdkAutofill, CdkTextareaAutosize], exports: [CdkAutofill, CdkTextareaAutosize] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: TextFieldModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: TextFieldModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [CdkAutofill, CdkTextareaAutosize],\n exports: [CdkAutofill, CdkTextareaAutosize],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { AutofillMonitor, CdkAutofill, CdkTextareaAutosize, TextFieldModule };\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]} \ No newline at end of file diff --git a/7189.b143b6038795e493.js b/7189.b143b6038795e493.js new file mode 100644 index 0000000..3d3fe18 --- /dev/null +++ b/7189.b143b6038795e493.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[7189,5106,1551],{50253:(P,p,t)=>{t.d(p,{x:()=>w});var c=t(95106),m=t(78069),o=t(48047),d=t(4089),a=t(20265),l=t(24582),r=t(28694),e=t(90833),E=t(17714),D=(0,t(27543).d)(function(M){return function(){M(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),O=t(39663),L=t(12309),w=function(){var M=function(x){(0,l.Z)(R,x);var A=(0,r.Z)(R);function R(){var y;return(0,m.Z)(this,R),(y=A.call(this)).closed=!1,y.currentObservers=null,y.observers=[],y.isStopped=!1,y.hasError=!1,y.thrownError=null,y}return(0,o.Z)(R,[{key:"lift",value:function(s){var g=new S(this,this);return g.operator=s,g}},{key:"_throwIfClosed",value:function(){if(this.closed)throw new D}},{key:"next",value:function(s){var g=this;(0,L.x)(function(){if(g._throwIfClosed(),!g.isStopped){g.currentObservers||(g.currentObservers=Array.from(g.observers));var u,F=(0,c.Z)(g.currentObservers);try{for(F.s();!(u=F.n()).done;)u.value.next(s)}catch(U){F.e(U)}finally{F.f()}}})}},{key:"error",value:function(s){var g=this;(0,L.x)(function(){if(g._throwIfClosed(),!g.isStopped){g.hasError=g.isStopped=!0,g.thrownError=s;for(var F=g.observers;F.length;)F.shift().error(s)}})}},{key:"complete",value:function(){var s=this;(0,L.x)(function(){if(s._throwIfClosed(),!s.isStopped){s.isStopped=!0;for(var g=s.observers;g.length;)g.shift().complete()}})}},{key:"unsubscribe",value:function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}},{key:"observed",get:function(){var s;return(null===(s=this.observers)||void 0===s?void 0:s.length)>0}},{key:"_trySubscribe",value:function(s){return this._throwIfClosed(),(0,d.Z)((0,a.Z)(R.prototype),"_trySubscribe",this).call(this,s)}},{key:"_subscribe",value:function(s){return this._throwIfClosed(),this._checkFinalizedStatuses(s),this._innerSubscribe(s)}},{key:"_innerSubscribe",value:function(s){var g=this,b=this.observers;return this.hasError||this.isStopped?E.Lc:(this.currentObservers=null,b.push(s),new E.w0(function(){g.currentObservers=null,(0,O.P)(b,s)}))}},{key:"_checkFinalizedStatuses",value:function(s){var u=this.isStopped;this.hasError?s.error(this.thrownError):u&&s.complete()}},{key:"asObservable",value:function(){var s=new e.y;return s.source=this,s}}]),R}(e.y);return M.create=function(x,A){return new S(x,A)},M}(),S=function(M){(0,l.Z)(A,M);var x=(0,r.Z)(A);function A(R,y){var s;return(0,m.Z)(this,A),(s=x.call(this)).destination=R,s.source=y,s}return(0,o.Z)(A,[{key:"next",value:function(y){var s,g;null===(g=null===(s=this.destination)||void 0===s?void 0:s.next)||void 0===g||g.call(s,y)}},{key:"error",value:function(y){var s,g;null===(g=null===(s=this.destination)||void 0===s?void 0:s.error)||void 0===g||g.call(s,y)}},{key:"complete",value:function(){var y,s;null===(s=null===(y=this.destination)||void 0===y?void 0:y.complete)||void 0===s||s.call(y)}},{key:"_subscribe",value:function(y){var s,g;return null!==(g=null===(s=this.source)||void 0===s?void 0:s.subscribe(y))&&void 0!==g?g:E.Lc}}]),A}(w)},59319:(P,p,t)=>{t.d(p,{z:()=>a});var c=t(1308),o=t(10420),d=t(37400);function a(){for(var l=arguments.length,r=new Array(l),e=0;e<l;e++)r[e]=arguments[e];return function m(){return(0,c.J)(1)}()((0,d.D)(r,(0,o.yG)(r)))}},20591:(P,p,t)=>{t.d(p,{E:()=>m});var m=new(t(90833).y)(function(a){return a.complete()})},37400:(P,p,t)=>{t.d(p,{D:()=>F});var c=t(54987),m=t(8728),o=t(41944);function d(u){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,o.e)(function(U,k){k.add(u.schedule(function(){return U.subscribe(k)},b))})}var r=t(90833),E=t(67321),_=t(92971),D=t(1817);function L(u,b){if(!u)throw new Error("Iterable cannot be null");return new r.y(function(U){(0,D.f)(U,b,function(){var k=u[Symbol.asyncIterator]();(0,D.f)(U,b,function(){k.next().then(function(Z){Z.done?U.complete():U.next(Z.value)})},0,!0)})})}var w=t(21331),S=t(79548),M=t(99806),x=t(23433),A=t(80470),R=t(27785),y=t(20181);function F(u,b){return b?function g(u,b){if(null!=u){if((0,w.c)(u))return function a(u,b){return(0,c.Xf)(u).pipe(d(b),(0,m.Q)(b))}(u,b);if((0,M.z)(u))return function e(u,b){return new r.y(function(U){var k=0;return b.schedule(function(){k===u.length?U.complete():(U.next(u[k++]),U.closed||this.schedule())})})}(u,b);if((0,S.t)(u))return function l(u,b){return(0,c.Xf)(u).pipe(d(b),(0,m.Q)(b))}(u,b);if((0,A.D)(u))return L(u,b);if((0,x.T)(u))return function O(u,b){return new r.y(function(U){var k;return(0,D.f)(U,b,function(){k=u[E.h](),(0,D.f)(U,b,function(){var Z,W;try{var z=k.next();Z=z.value,W=z.done}catch(H){return void U.error(H)}W?U.complete():U.next(Z)},0,!0)}),function(){return(0,_.m)(k?.return)&&k.return()}})}(u,b);if((0,y.L)(u))return function s(u,b){return L((0,y.Q)(u),b)}(u,b)}throw(0,R.z)(u)}(u,b):(0,c.Xf)(u)}},23280:(P,p,t)=>{t.d(p,{R:()=>D});var c=t(32090),m=t(54987),o=t(90833),d=t(49525),a=t(99806),l=t(92971),r=t(58385),e=["addListener","removeListener"],E=["addEventListener","removeEventListener"],_=["on","off"];function D(M,x,A,R){if((0,l.m)(A)&&(R=A,A=void 0),R)return D(M,x,A).pipe((0,r.Z)(R));var y=function S(M){return(0,l.m)(M.addEventListener)&&(0,l.m)(M.removeEventListener)}(M)?E.map(function(u){return function(b){return M[u](x,b,A)}}):function L(M){return(0,l.m)(M.addListener)&&(0,l.m)(M.removeListener)}(M)?e.map(O(M,x)):function w(M){return(0,l.m)(M.on)&&(0,l.m)(M.off)}(M)?_.map(O(M,x)):[],s=(0,c.Z)(y,2),g=s[0],F=s[1];if(!g&&(0,a.z)(M))return(0,d.z)(function(u){return D(u,x,A)})((0,m.Xf)(M));if(!g)throw new TypeError("Invalid event target");return new o.y(function(u){var b=function(){for(var k=arguments.length,Z=new Array(k),W=0;W<k;W++)Z[W]=arguments[W];return u.next(1<Z.length?Z:Z[0])};return g(b),function(){return F(b)}})}function O(M,x){return function(A){return function(R){return M[A](x,R)}}}},36646:(P,p,t)=>{t.d(p,{T:()=>l});var c=t(1308),m=t(54987),o=t(20591),d=t(10420),a=t(37400);function l(){for(var r=arguments.length,e=new Array(r),E=0;E<r;E++)e[E]=arguments[E];var _=(0,d.yG)(e),D=(0,d._6)(e,1/0),O=e;return O.length?1===O.length?(0,m.Xf)(O[0]):(0,c.J)(D)((0,a.D)(O,_)):o.E}},93945:(P,p,t)=>{t.d(p,{Q:()=>_,x:()=>E});var c=t(78069),m=t(48047),o=t(35488),d=t(24582),a=t(28694),l=t(4089),r=t(20265);function E(D,O,L,w,S){return new _(D,O,L,w,S)}var _=function(D){(0,d.Z)(L,D);var O=(0,a.Z)(L);function L(w,S,M,x,A,R){var y,s,g,F;return(0,c.Z)(this,L),(F=O.call(this,w)).onFinalize=A,F.shouldUnsubscribe=R,F._next=S?function(u){try{S(u)}catch(b){w.error(b)}}:(0,l.Z)((y=(0,o.Z)(F),(0,r.Z)(L.prototype)),"_next",y),F._error=x?function(u){try{x(u)}catch(b){w.error(b)}finally{this.unsubscribe()}}:(0,l.Z)((s=(0,o.Z)(F),(0,r.Z)(L.prototype)),"_error",s),F._complete=M?function(){try{M()}catch(u){w.error(u)}finally{this.unsubscribe()}}:(0,l.Z)((g=(0,o.Z)(F),(0,r.Z)(L.prototype)),"_complete",g),F}return(0,m.Z)(L,[{key:"unsubscribe",value:function(){var S;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var M=this.closed;(0,l.Z)((0,r.Z)(L.prototype),"unsubscribe",this).call(this),!M&&(null===(S=this.onFinalize)||void 0===S||S.call(this))}}}]),L}(t(5463).Lv)},50635:(P,p,t)=>{t.d(p,{U:()=>o});var c=t(41944),m=t(93945);function o(d,a){return(0,c.e)(function(l,r){var e=0;l.subscribe((0,m.x)(r,function(E){r.next(d.call(a,E,e++))}))})}},1308:(P,p,t)=>{t.d(p,{J:()=>o});var c=t(49525),m=t(89173);function o(){return(0,c.z)(m.y,arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0)}},49525:(P,p,t)=>{t.d(p,{z:()=>e});var c=t(50635),m=t(54987),o=t(41944),d=t(1817),a=t(93945),r=t(92971);function e(E,_){var D=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;return(0,r.m)(_)?e(function(O,L){return(0,c.U)(function(w,S){return _(O,w,L,S)})((0,m.Xf)(E(O,L)))},D):("number"==typeof _&&(D=_),(0,o.e)(function(O,L){return function l(E,_,D,O,L,w,S,M){var x=[],A=0,R=0,y=!1,s=function(){y&&!x.length&&!A&&_.complete()},g=function(b){return A<O?F(b):x.push(b)},F=function u(b){w&&_.next(b),A++;var U=!1;(0,m.Xf)(D(b,R++)).subscribe((0,a.x)(_,function(k){L?.(k),w?g(k):_.next(k)},function(){U=!0},void 0,function(){if(U)try{A--;for(var k=function(){var W=x.shift();S?(0,d.f)(_,S,function(){return u(W)}):u(W)};x.length&&A<O;)k();s()}catch(Z){_.error(Z)}}))};return E.subscribe((0,a.x)(_,g,function(){y=!0,s()})),function(){M?.()}}(O,L,E,D)}))}},8728:(P,p,t)=>{t.d(p,{Q:()=>d});var c=t(1817),m=t(41944),o=t(93945);function d(a){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,m.e)(function(r,e){r.subscribe((0,o.x)(e,function(E){return(0,c.f)(e,a,function(){return e.next(E)},l)},function(){return(0,c.f)(e,a,function(){return e.complete()},l)},function(E){return(0,c.f)(e,a,function(){return e.error(E)},l)}))})}},44874:(P,p,t)=>{t.d(p,{O:()=>d});var c=t(59319),m=t(10420),o=t(41944);function d(){for(var a=arguments.length,l=new Array(a),r=0;r<a;r++)l[r]=arguments[r];var e=(0,m.yG)(l);return(0,o.e)(function(E,_){(e?(0,c.z)(l,E,e):(0,c.z)(l,E)).subscribe(_)})}},59295:(P,p,t)=>{t.d(p,{q:()=>d});var c=t(20591),m=t(41944),o=t(93945);function d(a){return a<=0?function(){return c.E}:(0,m.e)(function(l,r){var e=0;l.subscribe((0,o.x)(r,function(E){++e<=a&&(r.next(E),a<=e&&r.complete())}))})}},68951:(P,p,t)=>{t.d(p,{R:()=>a});var c=t(41944),m=t(93945),o=t(54987),d=t(99635);function a(l){return(0,c.e)(function(r,e){(0,o.Xf)(l).subscribe((0,m.x)(e,function(){return e.complete()},d.Z)),!e.closed&&r.subscribe(e)})}},10420:(P,p,t)=>{t.d(p,{_6:()=>l,jO:()=>d,yG:()=>a});var c=t(92971),m=t(59867);function o(r){return r[r.length-1]}function d(r){return(0,c.m)(o(r))?r.pop():void 0}function a(r){return(0,m.K)(o(r))?r.pop():void 0}function l(r,e){return"number"==typeof o(r)?r.pop():e}},1817:(P,p,t)=>{function c(m,o,d){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,l=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r=o.schedule(function(){d(),l?m.add(this.schedule(null,a)):this.unsubscribe()},a);if(m.add(r),!l)return r}t.d(p,{f:()=>c})},59867:(P,p,t)=>{t.d(p,{K:()=>m});var c=t(92971);function m(o){return o&&(0,c.m)(o.schedule)}},41944:(P,p,t)=>{t.d(p,{A:()=>m,e:()=>o});var c=t(92971);function m(d){return(0,c.m)(d?.lift)}function o(d){return function(a){if(m(a))return a.lift(function(l){try{return d(l,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}},58385:(P,p,t)=>{t.d(p,{Z:()=>a});var c=t(86170),m=t(50635),o=Array.isArray;function a(l){return(0,m.U)(function(r){return function d(l,r){return o(r)?l.apply(void 0,(0,c.Z)(r)):l(r)}(l,r)})}},47189:(P,p,t)=>{t.r(p),t.d(p,{MAT_LEGACY_ERROR:()=>_.MAT_ERROR,MAT_LEGACY_FORM_FIELD:()=>_.MAT_FORM_FIELD,MAT_LEGACY_FORM_FIELD_DEFAULT_OPTIONS:()=>ne,MAT_LEGACY_PREFIX:()=>_.MAT_PREFIX,MAT_LEGACY_SUFFIX:()=>_.MAT_SUFFIX,MatLegacyError:()=>ue,MatLegacyFormField:()=>ge,MatLegacyFormFieldControl:()=>_.MatFormFieldControl,MatLegacyFormFieldModule:()=>Ee,MatLegacyHint:()=>he,MatLegacyLabel:()=>N,MatLegacyPlaceholder:()=>ee,MatLegacyPrefix:()=>be,MatLegacySuffix:()=>ye,_MAT_LEGACY_HINT:()=>Q,getMatLegacyFormFieldDuplicatedHintError:()=>_.getMatFormFieldDuplicatedHintError,getMatLegacyFormFieldMissingControlError:()=>_.getMatFormFieldMissingControlError,getMatLegacyFormFieldPlaceholderConflictError:()=>_.getMatFormFieldPlaceholderConflictError,matLegacyFormFieldAnimations:()=>_.matFormFieldAnimations});var c=t(86170),m=t(24582),o=t(28694),d=t(48047),a=t(78069),l=t(75321),r=t(94055),e=t(56718),E=t(6606),_=t(137),D=t(43068),O=t(35333),L=t(50253),w=t(36646),S=t(23280),M=t(44874),x=t(68951),A=t(59295),R=t(23675),y=t(33401),s=["connectionContainer"],g=["inputContainer"],F=["label"];function u(n,C){1&n&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"div",14),e.\u0275\u0275element(2,"div",15)(3,"div",16)(4,"div",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"div",18),e.\u0275\u0275element(6,"div",15)(7,"div",16)(8,"div",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd())}function b(n,C){if(1&n){var v=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",19),e.\u0275\u0275listener("cdkObserveContent",function(){e.\u0275\u0275restoreView(v);var i=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(i.updateOutlineGap())}),e.\u0275\u0275projection(1,1),e.\u0275\u0275elementEnd()}if(2&n){var f=e.\u0275\u0275nextContext();e.\u0275\u0275property("cdkObserveContentDisabled","outline"!=f.appearance)}}function U(n,C){if(1&n&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275projection(1,2),e.\u0275\u0275elementStart(2,"span"),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()),2&n){var v=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(v._control.placeholder)}}function k(n,C){1&n&&e.\u0275\u0275projection(0,3,["*ngSwitchCase","true"])}function Z(n,C){1&n&&(e.\u0275\u0275elementStart(0,"span",23),e.\u0275\u0275text(1," *"),e.\u0275\u0275elementEnd())}function W(n,C){if(1&n){var v=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"label",20,21),e.\u0275\u0275listener("cdkObserveContent",function(){e.\u0275\u0275restoreView(v);var i=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(i.updateOutlineGap())}),e.\u0275\u0275template(2,U,4,1,"ng-container",12),e.\u0275\u0275template(3,k,1,0,"ng-content",12),e.\u0275\u0275template(4,Z,2,0,"span",22),e.\u0275\u0275elementEnd()}if(2&n){var f=e.\u0275\u0275nextContext();e.\u0275\u0275classProp("mat-empty",f._control.empty&&!f._shouldAlwaysFloat())("mat-form-field-empty",f._control.empty&&!f._shouldAlwaysFloat())("mat-accent","accent"==f.color)("mat-warn","warn"==f.color),e.\u0275\u0275property("cdkObserveContentDisabled","outline"!=f.appearance)("id",f._labelId)("ngSwitch",f._hasLabel()),e.\u0275\u0275attribute("for",f._control.id)("aria-owns",f._control.id),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngSwitchCase",!1),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngSwitchCase",!0),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",!f.hideRequiredMarker&&f._control.required&&!f._control.disabled)}}function z(n,C){1&n&&(e.\u0275\u0275elementStart(0,"div",24),e.\u0275\u0275projection(1,4),e.\u0275\u0275elementEnd())}function H(n,C){if(1&n&&(e.\u0275\u0275elementStart(0,"div",25),e.\u0275\u0275element(1,"span",26),e.\u0275\u0275elementEnd()),2&n){var v=e.\u0275\u0275nextContext();e.\u0275\u0275advance(1),e.\u0275\u0275classProp("mat-accent","accent"==v.color)("mat-warn","warn"==v.color)}}function le(n,C){if(1&n&&(e.\u0275\u0275elementStart(0,"div"),e.\u0275\u0275projection(1,5),e.\u0275\u0275elementEnd()),2&n){var v=e.\u0275\u0275nextContext();e.\u0275\u0275property("@transitionMessages",v._subscriptAnimationState)}}function de(n,C){if(1&n&&(e.\u0275\u0275elementStart(0,"div",30),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&n){var v=e.\u0275\u0275nextContext(2);e.\u0275\u0275property("id",v._hintLabelId),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate(v.hintLabel)}}function fe(n,C){if(1&n&&(e.\u0275\u0275elementStart(0,"div",27),e.\u0275\u0275template(1,de,2,2,"div",28),e.\u0275\u0275projection(2,6),e.\u0275\u0275element(3,"div",29),e.\u0275\u0275projection(4,7),e.\u0275\u0275elementEnd()),2&n){var v=e.\u0275\u0275nextContext();e.\u0275\u0275property("@transitionMessages",v._subscriptAnimationState),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",v.hintLabel)}}var me=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],se=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],ce=0,ue=function(){var n=(0,d.Z)(function C(v,f){(0,a.Z)(this,C),this.id="mat-error-".concat(ce++),v||f.nativeElement.setAttribute("aria-live","polite")});return n.\u0275fac=function(v){return new(v||n)(e.\u0275\u0275injectAttribute("aria-live"),e.\u0275\u0275directiveInject(e.ElementRef))},n.\u0275dir=e.\u0275\u0275defineDirective({type:n,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(v,f){2&v&&e.\u0275\u0275attribute("id",f.id)},inputs:{id:"id"},features:[e.\u0275\u0275ProvidersFeature([{provide:_.MAT_ERROR,useExisting:n}])]}),n}(),pe=0,Q=new e.InjectionToken("MatHint"),he=function(){var n=(0,d.Z)(function C(){(0,a.Z)(this,C),this.align="start",this.id="mat-hint-".concat(pe++)});return n.\u0275fac=function(v){return new(v||n)},n.\u0275dir=e.\u0275\u0275defineDirective({type:n,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(v,f){2&v&&(e.\u0275\u0275attribute("id",f.id)("align",null),e.\u0275\u0275classProp("mat-form-field-hint-end","end"===f.align))},inputs:{align:"align",id:"id"},features:[e.\u0275\u0275ProvidersFeature([{provide:Q,useExisting:n}])]}),n}(),N=function(){var n=(0,d.Z)(function C(){(0,a.Z)(this,C)});return n.\u0275fac=function(v){return new(v||n)},n.\u0275dir=e.\u0275\u0275defineDirective({type:n,selectors:[["mat-label"]]}),n}(),ee=function(){var n=(0,d.Z)(function C(){(0,a.Z)(this,C)});return n.\u0275fac=function(v){return new(v||n)},n.\u0275dir=e.\u0275\u0275defineDirective({type:n,selectors:[["mat-placeholder"]]}),n}(),te=0,ve=(0,E.mixinColor)(function(){return(0,d.Z)(function n(C){(0,a.Z)(this,n),this._elementRef=C})}(),"primary"),ne=new e.InjectionToken("MAT_FORM_FIELD_DEFAULT_OPTIONS"),ge=function(){var n=function(C){(0,m.Z)(f,C);var v=(0,o.Z)(f);function f(h,i,I,B,K,G,j){var T;return(0,a.Z)(this,f),(T=v.call(this,h))._changeDetectorRef=i,T._dir=I,T._defaults=B,T._platform=K,T._ngZone=G,T._outlineGapCalculationNeededImmediately=!1,T._outlineGapCalculationNeededOnStable=!1,T._destroyed=new L.x,T._hideRequiredMarker=!1,T._showAlwaysAnimate=!1,T._subscriptAnimationState="",T._hintLabel="",T._hintLabelId="mat-hint-".concat(te++),T._labelId="mat-form-field-label-".concat(te++),T.floatLabel=T._getDefaultFloatLabelState(),T._animationsEnabled="NoopAnimations"!==j,T.appearance=B?.appearance||"legacy",B&&(T._hideRequiredMarker=!!B.hideRequiredMarker,B.color&&(T.color=T.defaultColor=B.color)),T}return(0,d.Z)(f,[{key:"appearance",get:function(){return this._appearance},set:function(i){var I,B=this._appearance;this._appearance=i||(null===(I=this._defaults)||void 0===I?void 0:I.appearance)||"legacy","outline"===this._appearance&&B!==i&&(this._outlineGapCalculationNeededOnStable=!0)}},{key:"hideRequiredMarker",get:function(){return this._hideRequiredMarker},set:function(i){this._hideRequiredMarker=(0,O.coerceBooleanProperty)(i)}},{key:"_shouldAlwaysFloat",value:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}},{key:"_canLabelFloat",value:function(){return"never"!==this.floatLabel}},{key:"hintLabel",get:function(){return this._hintLabel},set:function(i){this._hintLabel=i,this._processHints()}},{key:"floatLabel",get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(i){i!==this._floatLabel&&(this._floatLabel=i||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}},{key:"_control",get:function(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic},set:function(i){this._explicitFormFieldControl=i}},{key:"getLabelId",value:function(){return this._hasFloatingLabel()?this._labelId:null}},{key:"getConnectedOverlayOrigin",value:function(){return this._connectionContainerRef||this._elementRef}},{key:"ngAfterContentInit",value:function(){var i=this;this._validateControlChild();var I=this._control;I.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-".concat(I.controlType)),I.stateChanges.pipe((0,M.O)(null)).subscribe(function(){i._validatePlaceholders(),i._syncDescribedByIds(),i._changeDetectorRef.markForCheck()}),I.ngControl&&I.ngControl.valueChanges&&I.ngControl.valueChanges.pipe((0,x.R)(this._destroyed)).subscribe(function(){return i._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(function(){i._ngZone.onStable.pipe((0,x.R)(i._destroyed)).subscribe(function(){i._outlineGapCalculationNeededOnStable&&i.updateOutlineGap()})}),(0,w.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){i._outlineGapCalculationNeededOnStable=!0,i._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,M.O)(null)).subscribe(function(){i._processHints(),i._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,M.O)(null)).subscribe(function(){i._syncDescribedByIds(),i._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,x.R)(this._destroyed)).subscribe(function(){"function"==typeof requestAnimationFrame?i._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return i.updateOutlineGap()})}):i.updateOutlineGap()})}},{key:"ngAfterContentChecked",value:function(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}},{key:"ngAfterViewInit",value:function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_shouldForward",value:function(i){var I=this._control?this._control.ngControl:null;return I&&I[i]}},{key:"_hasPlaceholder",value:function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}},{key:"_hasLabel",value:function(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}},{key:"_shouldLabelFloat",value:function(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}},{key:"_hideControlPlaceholder",value:function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}},{key:"_hasFloatingLabel",value:function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}},{key:"_getDisplayedMessages",value:function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}},{key:"_animateAndLockLabel",value:function(){var i=this;this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,S.R)(this._label.nativeElement,"transitionend").pipe((0,A.q)(1)).subscribe(function(){i._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}},{key:"_validatePlaceholders",value:function(){}},{key:"_processHints",value:function(){this._validateHints(),this._syncDescribedByIds()}},{key:"_validateHints",value:function(){}},{key:"_getDefaultFloatLabelState",value:function(){return this._defaults&&this._defaults.floatLabel||"auto"}},{key:"_syncDescribedByIds",value:function(){if(this._control){var i=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&i.push.apply(i,(0,c.Z)(this._control.userAriaDescribedBy.split(" "))),"hint"===this._getDisplayedMessages()){var I=this._hintChildren?this._hintChildren.find(function(K){return"start"===K.align}):null,B=this._hintChildren?this._hintChildren.find(function(K){return"end"===K.align}):null;I?i.push(I.id):this._hintLabel&&i.push(this._hintLabelId),B&&i.push(B.id)}else this._errorChildren&&i.push.apply(i,(0,c.Z)(this._errorChildren.map(function(K){return K.id})));this._control.setDescribedByIds(i)}}},{key:"_validateControlChild",value:function(){}},{key:"updateOutlineGap",value:function(){var i=this._label?this._label.nativeElement:null,I=this._connectionContainerRef.nativeElement,B=".mat-form-field-outline-start",K=".mat-form-field-outline-gap";if("outline"===this.appearance&&this._platform.isBrowser){if(!i||!i.children.length||!i.textContent.trim()){for(var G=I.querySelectorAll("".concat(B,", ").concat(K)),j=0;j<G.length;j++)G[j].style.width="0";return}if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);var T=0,re=0,ie=I.querySelectorAll(B),oe=I.querySelectorAll(K);if(this._label&&this._label.nativeElement.children.length){var X=I.getBoundingClientRect();if(0===X.width&&0===X.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);for(var Me=this._getStartEnd(X),V=i.children,Ce=this._getStartEnd(V[0].getBoundingClientRect()),Y=0,J=0;J<V.length;J++)Y+=V[J].offsetWidth;T=Math.abs(Ce-Me)-5,re=Y>0?.75*Y+10:0}for(var $=0;$<ie.length;$++)ie[$].style.width="".concat(T,"px");for(var q=0;q<oe.length;q++)oe[q].style.width="".concat(re,"px");this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}}},{key:"_getStartEnd",value:function(i){return this._dir&&"rtl"===this._dir.value?i.right:i.left}},{key:"_isAttachedToDOM",value:function(){var i=this._elementRef.nativeElement;if(i.getRootNode){var I=i.getRootNode();return I&&I!==i}return document.documentElement.contains(i)}}]),f}(ve);return n.\u0275fac=function(v){return new(v||n)(e.\u0275\u0275directiveInject(e.ElementRef),e.\u0275\u0275directiveInject(e.ChangeDetectorRef),e.\u0275\u0275directiveInject(D.Directionality,8),e.\u0275\u0275directiveInject(ne,8),e.\u0275\u0275directiveInject(R.Platform),e.\u0275\u0275directiveInject(e.NgZone),e.\u0275\u0275directiveInject(y.ANIMATION_MODULE_TYPE,8))},n.\u0275cmp=e.\u0275\u0275defineComponent({type:n,selectors:[["mat-form-field"]],contentQueries:function(v,f,h){var i;1&v&&(e.\u0275\u0275contentQuery(h,_.MatFormFieldControl,5),e.\u0275\u0275contentQuery(h,_.MatFormFieldControl,7),e.\u0275\u0275contentQuery(h,N,5),e.\u0275\u0275contentQuery(h,N,7),e.\u0275\u0275contentQuery(h,ee,5),e.\u0275\u0275contentQuery(h,_.MAT_ERROR,5),e.\u0275\u0275contentQuery(h,Q,5),e.\u0275\u0275contentQuery(h,_.MAT_PREFIX,5),e.\u0275\u0275contentQuery(h,_.MAT_SUFFIX,5)),2&v&&(e.\u0275\u0275queryRefresh(i=e.\u0275\u0275loadQuery())&&(f._controlNonStatic=i.first),e.\u0275\u0275queryRefresh(i=e.\u0275\u0275loadQuery())&&(f._controlStatic=i.first),e.\u0275\u0275queryRefresh(i=e.\u0275\u0275loadQuery())&&(f._labelChildNonStatic=i.first),e.\u0275\u0275queryRefresh(i=e.\u0275\u0275loadQuery())&&(f._labelChildStatic=i.first),e.\u0275\u0275queryRefresh(i=e.\u0275\u0275loadQuery())&&(f._placeholderChild=i.first),e.\u0275\u0275queryRefresh(i=e.\u0275\u0275loadQuery())&&(f._errorChildren=i),e.\u0275\u0275queryRefresh(i=e.\u0275\u0275loadQuery())&&(f._hintChildren=i),e.\u0275\u0275queryRefresh(i=e.\u0275\u0275loadQuery())&&(f._prefixChildren=i),e.\u0275\u0275queryRefresh(i=e.\u0275\u0275loadQuery())&&(f._suffixChildren=i))},viewQuery:function(v,f){var h;1&v&&(e.\u0275\u0275viewQuery(s,7),e.\u0275\u0275viewQuery(g,5),e.\u0275\u0275viewQuery(F,5)),2&v&&(e.\u0275\u0275queryRefresh(h=e.\u0275\u0275loadQuery())&&(f._connectionContainerRef=h.first),e.\u0275\u0275queryRefresh(h=e.\u0275\u0275loadQuery())&&(f._inputContainerRef=h.first),e.\u0275\u0275queryRefresh(h=e.\u0275\u0275loadQuery())&&(f._label=h.first))},hostAttrs:["ngSkipHydration","",1,"mat-form-field"],hostVars:40,hostBindings:function(v,f){2&v&&e.\u0275\u0275classProp("mat-form-field-appearance-standard","standard"==f.appearance)("mat-form-field-appearance-fill","fill"==f.appearance)("mat-form-field-appearance-outline","outline"==f.appearance)("mat-form-field-appearance-legacy","legacy"==f.appearance)("mat-form-field-invalid",f._control.errorState)("mat-form-field-can-float",f._canLabelFloat())("mat-form-field-should-float",f._shouldLabelFloat())("mat-form-field-has-label",f._hasFloatingLabel())("mat-form-field-hide-placeholder",f._hideControlPlaceholder())("mat-form-field-disabled",f._control.disabled)("mat-form-field-autofilled",f._control.autofilled)("mat-focused",f._control.focused)("ng-untouched",f._shouldForward("untouched"))("ng-touched",f._shouldForward("touched"))("ng-pristine",f._shouldForward("pristine"))("ng-dirty",f._shouldForward("dirty"))("ng-valid",f._shouldForward("valid"))("ng-invalid",f._shouldForward("invalid"))("ng-pending",f._shouldForward("pending"))("_mat-animation-noopable",!f._animationsEnabled)},inputs:{color:"color",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel",floatLabel:"floatLabel"},exportAs:["matFormField"],features:[e.\u0275\u0275ProvidersFeature([{provide:_.MAT_FORM_FIELD,useExisting:n}]),e.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:se,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(v,f){1&v&&(e.\u0275\u0275projectionDef(me),e.\u0275\u0275elementStart(0,"div",0)(1,"div",1,2),e.\u0275\u0275listener("click",function(i){return f._control.onContainerClick(i)}),e.\u0275\u0275template(3,u,9,0,"ng-container",3),e.\u0275\u0275template(4,b,2,1,"div",4),e.\u0275\u0275elementStart(5,"div",5,6),e.\u0275\u0275projection(7),e.\u0275\u0275elementStart(8,"span",7),e.\u0275\u0275template(9,W,5,16,"label",8),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(10,z,2,0,"div",9),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(11,H,2,4,"div",10),e.\u0275\u0275elementStart(12,"div",11),e.\u0275\u0275template(13,le,2,1,"div",12),e.\u0275\u0275template(14,fe,5,2,"div",13),e.\u0275\u0275elementEnd()()),2&v&&(e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf","outline"==f.appearance),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",f._prefixChildren.length),e.\u0275\u0275advance(5),e.\u0275\u0275property("ngIf",f._hasFloatingLabel()),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",f._suffixChildren.length),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf","outline"!=f.appearance),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngSwitch",f._getDisplayedMessages()),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngSwitchCase","error"),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngSwitchCase","hint"))},dependencies:[r.NgIf,r.NgSwitch,r.NgSwitchCase,l.CdkObserveContent],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.cdk-high-contrast-active .mat-form-field-disabled .mat-form-field-label{color:GrayText}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}.mat-form-field .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-button-base,.mat-form-field .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-form-field .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon{font-size:1em;display:inline-block;margin:-2px 0 1px}.mat-form-field-type-mat-date-range-input .mat-form-field-infix{width:200px}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-icon-button{font-size:inherit;width:1.5em;height:1.5em;padding:0}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon{line-height:1.5em;margin:0}.mat-form-field .mat-datepicker-toggle .mat-mdc-button-base{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-datepicker-toggle .mat-mdc-button-base{vertical-align:baseline}",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-form-field-flex{outline:dashed 3px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}','.mat-input-element{font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element:not([type=password])::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-input-element::placeholder{transition:none}._mat-animation-noopable .mat-input-element::-moz-placeholder{transition:none}._mat-animation-noopable .mat-input-element::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-input-element:-ms-input-placeholder{transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px)}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px;border-top-color:GrayText}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:rgba(0,0,0,0)}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{border:3px dashed}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:GrayText}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}"],encapsulation:2,data:{animation:[_.matFormFieldAnimations.transitionMessages]},changeDetection:0}),n}(),be=function(){var n=(0,d.Z)(function C(){(0,a.Z)(this,C)});return n.\u0275fac=function(v){return new(v||n)},n.\u0275dir=e.\u0275\u0275defineDirective({type:n,selectors:[["","matPrefix",""]],features:[e.\u0275\u0275ProvidersFeature([{provide:_.MAT_PREFIX,useExisting:n}])]}),n}(),ye=function(){var n=(0,d.Z)(function C(){(0,a.Z)(this,C)});return n.\u0275fac=function(v){return new(v||n)},n.\u0275dir=e.\u0275\u0275defineDirective({type:n,selectors:[["","matSuffix",""]],features:[e.\u0275\u0275ProvidersFeature([{provide:_.MAT_SUFFIX,useExisting:n}])]}),n}(),Ee=function(){var n=(0,d.Z)(function C(){(0,a.Z)(this,C)});return n.\u0275fac=function(v){return new(v||n)},n.\u0275mod=e.\u0275\u0275defineNgModule({type:n}),n.\u0275inj=e.\u0275\u0275defineInjector({imports:[r.CommonModule,E.MatCommonModule,l.ObserversModule,E.MatCommonModule]}),n}()},44841:(P,p,t)=>{function c(m,o){(null==o||o>m.length)&&(o=m.length);for(var d=0,a=new Array(o);d<o;d++)a[d]=m[d];return a}t.d(p,{Z:()=>c})},8091:(P,p,t)=>{function c(m){if(Array.isArray(m))return m}t.d(p,{Z:()=>c})},95106:(P,p,t)=>{t.d(p,{Z:()=>m});var c=t(44206);function m(o,d){var a=typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(!a){if(Array.isArray(o)||(a=(0,c.Z)(o))||d&&o&&"number"==typeof o.length){a&&(o=a);var l=0,r=function(){};return{s:r,n:function(){return l>=o.length?{done:!0}:{done:!1,value:o[l++]}},e:function(O){throw O},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var _,e=!0,E=!1;return{s:function(){a=a.call(o)},n:function(){var O=a.next();return e=O.done,O},e:function(O){E=!0,_=O},f:function(){try{!e&&null!=a.return&&a.return()}finally{if(E)throw _}}}}},4089:(P,p,t)=>{t.d(p,{Z:()=>o});var c=t(20265);function o(){return o=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(a,l,r){var e=function m(d,a){for(;!Object.prototype.hasOwnProperty.call(d,a)&&null!==(d=(0,c.Z)(d)););return d}(a,l);if(e){var E=Object.getOwnPropertyDescriptor(e,l);return E.get?E.get.call(arguments.length<3?a:r):E.value}},o.apply(this,arguments)}},4826:(P,p,t)=>{function c(m){if(typeof Symbol<"u"&&null!=m[Symbol.iterator]||null!=m["@@iterator"])return Array.from(m)}t.d(p,{Z:()=>c})},8217:(P,p,t)=>{function c(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}t.d(p,{Z:()=>c})},32090:(P,p,t)=>{t.d(p,{Z:()=>a});var c=t(8091),o=t(44206),d=t(8217);function a(l,r){return(0,c.Z)(l)||function m(l,r){var e=null==l?null:typeof Symbol<"u"&&l[Symbol.iterator]||l["@@iterator"];if(null!=e){var E,_,D,O,L=[],w=!0,S=!1;try{if(D=(e=e.call(l)).next,0===r){if(Object(e)!==e)return;w=!1}else for(;!(w=(E=D.call(e)).done)&&(L.push(E.value),L.length!==r);w=!0);}catch(M){S=!0,_=M}finally{try{if(!w&&null!=e.return&&(O=e.return(),Object(O)!==O))return}finally{if(S)throw _}}return L}}(l,r)||(0,o.Z)(l,r)||(0,d.Z)()}},86170:(P,p,t)=>{t.d(p,{Z:()=>l});var c=t(44841),o=t(4826),d=t(44206);function l(r){return function m(r){if(Array.isArray(r))return(0,c.Z)(r)}(r)||(0,o.Z)(r)||(0,d.Z)(r)||function a(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(P,p,t)=>{t.d(p,{Z:()=>m});var c=t(44841);function m(o,d){if(o){if("string"==typeof o)return(0,c.Z)(o,d);var a=Object.prototype.toString.call(o).slice(8,-1);if("Object"===a&&o.constructor&&(a=o.constructor.name),"Map"===a||"Set"===a)return Array.from(o);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return(0,c.Z)(o,d)}}}}]); +//# sourceMappingURL=7189.b143b6038795e493.js.map \ No newline at end of file diff --git a/7189.b143b6038795e493.js.map b/7189.b143b6038795e493.js.map new file mode 100644 index 0000000..4b844ec --- /dev/null +++ b/7189.b143b6038795e493.js.map @@ -0,0 +1 @@ +{"version":3,"file":"7189.b143b6038795e493.js","mappings":"mNACaA,cAA0BC,GAAiB,SAACC,GAAM,OAAK,WAChEA,EAAOC,MACPA,KAAKC,KAAO,0BACZD,KAAKE,QAAU,qBACnB,CAAC,yBCAYC,EAAO,eAAPA,EAAO,SAAAC,IAAAC,OAAAF,EAAAC,GAAA,IAAAL,KAAAO,KAAAH,GAChB,SAAAA,IAAc,IAAAI,EAAAC,cAAAR,KAAAG,IACVI,EAAAR,EAAAU,KAAAT,OACKU,QAAS,EACdH,EAAKI,iBAAmB,KACxBJ,EAAKK,UAAY,GACjBL,EAAKM,WAAY,EACjBN,EAAKO,UAAW,EAChBP,EAAKQ,YAAc,KAAKR,CAC5B,CAACS,cAAAb,EAAA,EAAAc,IAAA,OAAAC,MACD,SAAKC,GACD,IAAMC,EAAU,IAAIC,EAAiBrB,KAAMA,MAC3CoB,SAAQD,SAAWA,EACZC,CACX,GAAC,CAAAH,IAAA,iBAAAC,MACD,WACI,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AA/B,GAA0BhQ,IELtE,SAAAoS,IACf,UAAA1V,UAAA,uIACA,CFG8F0V,EAC9F,mDGLe,SAAAC,EAAAzC,EAAA0C,GACf,GAAA1C,EACA,qBAAAA,EAAA,SAAoC2C,EAAAvC,GAAgBJ,EAAA0C,GACpD,IAAA1c,EAAAkb,OAAAja,UAAA2b,SAAAle,KAAAsb,GAAA6C,MAAA,MAEA,GADA,WAAA7c,GAAAga,EAAA8C,cAAA9c,EAAAga,EAAA8C,YAAA5e,MACA,QAAA8B,GAAA,QAAAA,EAAA,OAAAN,MAAAC,KAAAqa,GACA,iBAAAha,GAAA,2CAAA+c,KAAA/c,GAAA,SAAsF2c,EAAAvC,GAAgBJ,EAAA0C,EAAA,CACtG","names":["ObjectUnsubscribedError","createErrorClass","_super","this","name","message","Subject","_Observable","_inherits","_createSuper","_this","_classCallCheck","call","closed","currentObservers","observers","isStopped","hasError","thrownError","_createClass","key","value","operator","subject","AnonymousSubject","_this2","errorContext","_throwIfClosed","Array","from","_step","_iterator","_createForOfIteratorHelper","s","n","done","next","err","e","f","_this3","length","shift","error","_this4","complete","get","_a","subscriber","_get","_getPrototypeOf","prototype","_checkFinalizedStatuses","_innerSubscribe","_this5","EMPTY_SUBSCRIPTION","push","Subscription","arrRemove","observable","Observable","source","create","destination","_Subject","_super2","_this6","_b","subscribe","concat","_len","arguments","args","_key","concatAll","mergeAll","popScheduler","EMPTY","subscribeOn","scheduler","delay","undefined","operate","add","schedule","scheduleAsyncIterable","input","Error","executeSchedule","iterator","Symbol","asyncIterator","then","result","scheduled","isInteropObservable","scheduleObservable","innerFrom","pipe","observeOn","isArrayLike","scheduleArray","i","isPromise","schedulePromise","isAsyncIterable","isIterable","scheduleIterable","Symbol_iterator","_iterator$next","isFunction","return","isReadableStreamLike","scheduleReadableStreamLike","readableStreamLikeToAsyncGenerator","createInvalidObservableTypeError","nodeEventEmitterMethods","eventTargetMethods","jqueryMethods","fromEvent","target","eventName","options","resultSelector","mapOneOrManyArgs","_ref","isEventTarget","addEventListener","removeEventListener","map","methodName","handler","isNodeStyleEventEmitter","addListener","removeListener","toCommonHandlerRegistry","isJQueryStyleEventEmitter","on","off","_ref2","_slicedToArray","remove","mergeMap","subTarget","TypeError","merge","concurrent","popNumber","Infinity","sources","createOperatorSubscriber","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_next","_assertThisInitialized","_error","unsubscribe","_complete","Subscriber","project","thisArg","index","identity","a","b","ii","mergeInternals","onBeforeNext","expand","innerSubScheduler","additionalFinalizer","buffer","active","isComplete","checkComplete","outerNext","doInnerSub","innerComplete","innerValue","_loop","bufferedValue","startWith","values","take","count","seen","takeUntil","notifier","noop","last","arr","popResultSelector","pop","isScheduler","defaultValue","parentSubscription","work","repeat","scheduleSubscription","hasLift","lift","init","liftedSource","isArray","fn","callOrApply","apply","_toConsumableArray","_c0","_c1","_c2","MatLegacyFormField_ng_container_3_Template","rf","ctx","i0","MatLegacyFormField_div_4_Template","_r10","ctx_r9","updateOutlineGap","ctx_r2","appearance","MatLegacyFormField_label_9_ng_container_2_Template","ctx_r12","_control","placeholder","MatLegacyFormField_label_9_ng_content_3_Template","MatLegacyFormField_label_9_span_4_Template","MatLegacyFormField_label_9_Template","_r16","ctx_r15","ctx_r4","empty","_shouldAlwaysFloat","color","_labelId","_hasLabel","id","hideRequiredMarker","required","disabled","MatLegacyFormField_div_10_Template","MatLegacyFormField_div_11_Template","ctx_r6","MatLegacyFormField_div_13_Template","ctx_r7","_subscriptAnimationState","MatLegacyFormField_div_14_div_1_Template","ctx_r17","_hintLabelId","hintLabel","MatLegacyFormField_div_14_Template","ctx_r8","_c3","_c4","nextUniqueId$2","MatLegacyError","ariaLive","elementRef","nativeElement","setAttribute","ɵfac","t","ɵdir","type","selectors","hostAttrs","hostVars","hostBindings","inputs","features","provide","MAT_ERROR","useExisting","nextUniqueId$1","_MAT_LEGACY_HINT","InjectionToken","MatLegacyHint","align","MatLegacyLabel","MatLegacyPlaceholder","nextUniqueId","_MatFormFieldBase","mixinColor","_class","_elementRef","MAT_LEGACY_FORM_FIELD_DEFAULT_OPTIONS","MatLegacyFormField","_MatFormFieldBase2","_changeDetectorRef","_dir","_defaults","_platform","_ngZone","_animationMode","_outlineGapCalculationNeededImmediately","_outlineGapCalculationNeededOnStable","_destroyed","_hideRequiredMarker","_showAlwaysAnimate","_hintLabel","floatLabel","_getDefaultFloatLabelState","_animationsEnabled","defaultColor","_appearance","set","_this$_defaults","oldValue","coerceBooleanProperty","_processHints","_floatLabel","markForCheck","_explicitFormFieldControl","_controlNonStatic","_controlStatic","_hasFloatingLabel","_connectionContainerRef","_validateControlChild","control","controlType","classList","stateChanges","_validatePlaceholders","_syncDescribedByIds","ngControl","valueChanges","runOutsideAngular","onStable","_prefixChildren","changes","_suffixChildren","_hintChildren","_errorChildren","change","requestAnimationFrame","detectChanges","prop","_placeholderChild","_labelChildNonStatic","_labelChildStatic","_canLabelFloat","shouldLabelFloat","_shouldLabelFloat","_hasPlaceholder","errorState","_label","_validateHints","ids","userAriaDescribedBy","split","_getDisplayedMessages","startHint","find","hint","endHint","setDescribedByIds","labelEl","container","outlineStartSelector","outlineGapSelector","isBrowser","children","textContent","trim","gapElements","querySelectorAll","style","width","_isAttachedToDOM","startWidth","gapWidth","startEls","gapEls","containerRect","getBoundingClientRect","height","containerStart","_getStartEnd","labelChildren","labelStart","labelWidth","offsetWidth","Math","abs","outlineGapPadding","rect","right","left","element","getRootNode","rootNode","document","documentElement","contains","i1","i2","ANIMATION_MODULE_TYPE","ɵcmp","contentQueries","dirIndex","_t","MatFormFieldControl","MAT_PREFIX","MAT_SUFFIX","first","viewQuery","_inputContainerRef","_hideControlPlaceholder","autofilled","focused","_shouldForward","exportAs","MAT_FORM_FIELD","ngContentSelectors","decls","vars","consts","template","$event","onContainerClick","dependencies","i3","i4","styles","encapsulation","data","animation","matFormFieldAnimations","changeDetection","MatLegacyPrefix","MatLegacySuffix","MatLegacyFormFieldModule","ɵmod","ɵinj","imports","CommonModule","MatCommonModule","ObserversModule","_arrayLikeToArray","len","arr2","_arrayWithHoles","o","allowArrayLike","it","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","_e","normalCompletion","didErr","step","_e2","Reflect","bind","property","receiver","base","_superPropBase","object","Object","hasOwnProperty","getPrototypeOf","desc","getOwnPropertyDescriptor","_iterableToArray","iter","_nonIterableRest","arrayWithHoles","_iterableToArrayLimit","_i","_s","_x","_r","_arr","_n","_d","unsupportedIterableToArray","nonIterableRest","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","toString","slice","constructor","test"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/util/ObjectUnsubscribedError.js","./node_modules/rxjs/dist/esm/internal/Subject.js","./node_modules/rxjs/dist/esm/internal/observable/concat.js","./node_modules/rxjs/dist/esm/internal/operators/concatAll.js","./node_modules/rxjs/dist/esm/internal/observable/empty.js","./node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleAsyncIterable.js","./node_modules/rxjs/dist/esm/internal/observable/from.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduled.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleObservable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleArray.js","./node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleIterable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleReadableStreamLike.js","./node_modules/rxjs/dist/esm/internal/observable/fromEvent.js","./node_modules/rxjs/dist/esm/internal/observable/merge.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/map.js","./node_modules/rxjs/dist/esm/internal/operators/mergeAll.js","./node_modules/rxjs/dist/esm/internal/operators/mergeMap.js","./node_modules/rxjs/dist/esm/internal/operators/mergeInternals.js","./node_modules/rxjs/dist/esm/internal/operators/observeOn.js","./node_modules/rxjs/dist/esm/internal/operators/startWith.js","./node_modules/rxjs/dist/esm/internal/operators/take.js","./node_modules/rxjs/dist/esm/internal/operators/takeUntil.js","./node_modules/rxjs/dist/esm/internal/util/args.js","./node_modules/rxjs/dist/esm/internal/util/executeSchedule.js","./node_modules/rxjs/dist/esm/internal/util/isScheduler.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/rxjs/dist/esm/internal/util/mapOneOrManyArgs.js","./node_modules/@angular/material/fesm2022/legacy-form-field.mjs","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","./node_modules/@babel/runtime/helpers/esm/slicedToArray.js","./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { createErrorClass } from './createErrorClass';\nexport const ObjectUnsubscribedError = createErrorClass((_super) => function ObjectUnsubscribedErrorImpl() {\n _super(this);\n this.name = 'ObjectUnsubscribedError';\n this.message = 'object unsubscribed';\n});\n","import { Observable } from './Observable';\nimport { Subscription, EMPTY_SUBSCRIPTION } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { arrRemove } from './util/arrRemove';\nimport { errorContext } from './util/errorContext';\nexport class Subject extends Observable {\n constructor() {\n super();\n this.closed = false;\n this.currentObservers = null;\n this.observers = [];\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n lift(operator) {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n }\n _throwIfClosed() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n }\n next(value) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n if (!this.currentObservers) {\n this.currentObservers = Array.from(this.observers);\n }\n for (const observer of this.currentObservers) {\n observer.next(value);\n }\n }\n });\n }\n error(err) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.hasError = this.isStopped = true;\n this.thrownError = err;\n const { observers } = this;\n while (observers.length) {\n observers.shift().error(err);\n }\n }\n });\n }\n complete() {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.isStopped = true;\n const { observers } = this;\n while (observers.length) {\n observers.shift().complete();\n }\n }\n });\n }\n unsubscribe() {\n this.isStopped = this.closed = true;\n this.observers = this.currentObservers = null;\n }\n get observed() {\n var _a;\n return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;\n }\n _trySubscribe(subscriber) {\n this._throwIfClosed();\n return super._trySubscribe(subscriber);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._checkFinalizedStatuses(subscriber);\n return this._innerSubscribe(subscriber);\n }\n _innerSubscribe(subscriber) {\n const { hasError, isStopped, observers } = this;\n if (hasError || isStopped) {\n return EMPTY_SUBSCRIPTION;\n }\n this.currentObservers = null;\n observers.push(subscriber);\n return new Subscription(() => {\n this.currentObservers = null;\n arrRemove(observers, subscriber);\n });\n }\n _checkFinalizedStatuses(subscriber) {\n const { hasError, thrownError, isStopped } = this;\n if (hasError) {\n subscriber.error(thrownError);\n }\n else if (isStopped) {\n subscriber.complete();\n }\n }\n asObservable() {\n const observable = new Observable();\n observable.source = this;\n return observable;\n }\n}\nSubject.create = (destination, source) => {\n return new AnonymousSubject(destination, source);\n};\nexport class AnonymousSubject extends Subject {\n constructor(destination, source) {\n super();\n this.destination = destination;\n this.source = source;\n }\n next(value) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);\n }\n error(err) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);\n }\n complete() {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);\n }\n _subscribe(subscriber) {\n var _a, _b;\n return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;\n }\n}\n","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}\n","import { mergeAll } from './mergeAll';\nexport function concatAll() {\n return mergeAll(1);\n}\n","import { Observable } from '../Observable';\nexport const EMPTY = new Observable((subscriber) => subscriber.complete());\nexport function empty(scheduler) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n return new Observable((subscriber) => scheduler.schedule(() => subscriber.complete()));\n}\n","import { operate } from '../util/lift';\nexport function subscribeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay));\n });\n}\n","import { Observable } from '../Observable';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleAsyncIterable(input, scheduler) {\n if (!input) {\n throw new Error('Iterable cannot be null');\n }\n return new Observable((subscriber) => {\n executeSchedule(subscriber, scheduler, () => {\n const iterator = input[Symbol.asyncIterator]();\n executeSchedule(subscriber, scheduler, () => {\n iterator.next().then((result) => {\n if (result.done) {\n subscriber.complete();\n }\n else {\n subscriber.next(result.value);\n }\n });\n }, 0, true);\n });\n });\n}\n","import { scheduled } from '../scheduled/scheduled';\nimport { innerFrom } from './innerFrom';\nexport function from(input, scheduler) {\n return scheduler ? scheduled(input, scheduler) : innerFrom(input);\n}\n","import { scheduleObservable } from './scheduleObservable';\nimport { schedulePromise } from './schedulePromise';\nimport { scheduleArray } from './scheduleArray';\nimport { scheduleIterable } from './scheduleIterable';\nimport { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isPromise } from '../util/isPromise';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isIterable } from '../util/isIterable';\nimport { isAsyncIterable } from '../util/isAsyncIterable';\nimport { createInvalidObservableTypeError } from '../util/throwUnobservableError';\nimport { isReadableStreamLike } from '../util/isReadableStreamLike';\nimport { scheduleReadableStreamLike } from './scheduleReadableStreamLike';\nexport function scheduled(input, scheduler) {\n if (input != null) {\n if (isInteropObservable(input)) {\n return scheduleObservable(input, scheduler);\n }\n if (isArrayLike(input)) {\n return scheduleArray(input, scheduler);\n }\n if (isPromise(input)) {\n return schedulePromise(input, scheduler);\n }\n if (isAsyncIterable(input)) {\n return scheduleAsyncIterable(input, scheduler);\n }\n if (isIterable(input)) {\n return scheduleIterable(input, scheduler);\n }\n if (isReadableStreamLike(input)) {\n return scheduleReadableStreamLike(input, scheduler);\n }\n }\n throw createInvalidObservableTypeError(input);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function scheduleObservable(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nexport function scheduleArray(input, scheduler) {\n return new Observable((subscriber) => {\n let i = 0;\n return scheduler.schedule(function () {\n if (i === input.length) {\n subscriber.complete();\n }\n else {\n subscriber.next(input[i++]);\n if (!subscriber.closed) {\n this.schedule();\n }\n }\n });\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function schedulePromise(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from '../util/isFunction';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleIterable(input, scheduler) {\n return new Observable((subscriber) => {\n let iterator;\n executeSchedule(subscriber, scheduler, () => {\n iterator = input[Symbol_iterator]();\n executeSchedule(subscriber, scheduler, () => {\n let value;\n let done;\n try {\n ({ value, done } = iterator.next());\n }\n catch (err) {\n subscriber.error(err);\n return;\n }\n if (done) {\n subscriber.complete();\n }\n else {\n subscriber.next(value);\n }\n }, 0, true);\n });\n return () => isFunction(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return();\n });\n}\n","import { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { readableStreamLikeToAsyncGenerator } from '../util/isReadableStreamLike';\nexport function scheduleReadableStreamLike(input, scheduler) {\n return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { Observable } from '../Observable';\nimport { mergeMap } from '../operators/mergeMap';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isFunction } from '../util/isFunction';\nimport { mapOneOrManyArgs } from '../util/mapOneOrManyArgs';\nconst nodeEventEmitterMethods = ['addListener', 'removeListener'];\nconst eventTargetMethods = ['addEventListener', 'removeEventListener'];\nconst jqueryMethods = ['on', 'off'];\nexport function fromEvent(target, eventName, options, resultSelector) {\n if (isFunction(options)) {\n resultSelector = options;\n options = undefined;\n }\n if (resultSelector) {\n return fromEvent(target, eventName, options).pipe(mapOneOrManyArgs(resultSelector));\n }\n const [add, remove] = isEventTarget(target)\n ? eventTargetMethods.map((methodName) => (handler) => target[methodName](eventName, handler, options))\n :\n isNodeStyleEventEmitter(target)\n ? nodeEventEmitterMethods.map(toCommonHandlerRegistry(target, eventName))\n : isJQueryStyleEventEmitter(target)\n ? jqueryMethods.map(toCommonHandlerRegistry(target, eventName))\n : [];\n if (!add) {\n if (isArrayLike(target)) {\n return mergeMap((subTarget) => fromEvent(subTarget, eventName, options))(innerFrom(target));\n }\n }\n if (!add) {\n throw new TypeError('Invalid event target');\n }\n return new Observable((subscriber) => {\n const handler = (...args) => subscriber.next(1 < args.length ? args : args[0]);\n add(handler);\n return () => remove(handler);\n });\n}\nfunction toCommonHandlerRegistry(target, eventName) {\n return (methodName) => (handler) => target[methodName](eventName, handler);\n}\nfunction isNodeStyleEventEmitter(target) {\n return isFunction(target.addListener) && isFunction(target.removeListener);\n}\nfunction isJQueryStyleEventEmitter(target) {\n return isFunction(target.on) && isFunction(target.off);\n}\nfunction isEventTarget(target) {\n return isFunction(target.addEventListener) && isFunction(target.removeEventListener);\n}\n","import { mergeAll } from '../operators/mergeAll';\nimport { innerFrom } from './innerFrom';\nimport { EMPTY } from './empty';\nimport { popNumber, popScheduler } from '../util/args';\nimport { from } from './from';\nexport function merge(...args) {\n const scheduler = popScheduler(args);\n const concurrent = popNumber(args, Infinity);\n const sources = args;\n return !sources.length\n ?\n EMPTY\n : sources.length === 1\n ?\n innerFrom(sources[0])\n :\n mergeAll(concurrent)(from(sources, scheduler));\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function map(project, thisArg) {\n return operate((source, subscriber) => {\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n subscriber.next(project.call(thisArg, value, index++));\n }));\n });\n}\n","import { mergeMap } from './mergeMap';\nimport { identity } from '../util/identity';\nexport function mergeAll(concurrent = Infinity) {\n return mergeMap(identity, concurrent);\n}\n","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 }\n else if (typeof resultSelector === 'number') {\n concurrent = resultSelector;\n }\n return operate((source, subscriber) => mergeInternals(source, subscriber, project, concurrent));\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { executeSchedule } from '../util/executeSchedule';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function mergeInternals(source, subscriber, project, concurrent, onBeforeNext, expand, innerSubScheduler, additionalFinalizer) {\n const buffer = [];\n let active = 0;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => {\n if (isComplete && !buffer.length && !active) {\n subscriber.complete();\n }\n };\n const outerNext = (value) => (active < concurrent ? doInnerSub(value) : buffer.push(value));\n const doInnerSub = (value) => {\n expand && subscriber.next(value);\n active++;\n let innerComplete = false;\n innerFrom(project(value, index++)).subscribe(createOperatorSubscriber(subscriber, (innerValue) => {\n onBeforeNext === null || onBeforeNext === void 0 ? void 0 : onBeforeNext(innerValue);\n if (expand) {\n outerNext(innerValue);\n }\n else {\n subscriber.next(innerValue);\n }\n }, () => {\n innerComplete = true;\n }, undefined, () => {\n if (innerComplete) {\n try {\n active--;\n while (buffer.length && active < concurrent) {\n const bufferedValue = buffer.shift();\n if (innerSubScheduler) {\n executeSchedule(subscriber, innerSubScheduler, () => doInnerSub(bufferedValue));\n }\n else {\n doInnerSub(bufferedValue);\n }\n }\n checkComplete();\n }\n catch (err) {\n subscriber.error(err);\n }\n }\n }));\n };\n source.subscribe(createOperatorSubscriber(subscriber, outerNext, () => {\n isComplete = true;\n checkComplete();\n }));\n return () => {\n additionalFinalizer === null || additionalFinalizer === void 0 ? void 0 : additionalFinalizer();\n };\n}\n","import { executeSchedule } from '../util/executeSchedule';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function observeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, (value) => executeSchedule(subscriber, scheduler, () => subscriber.next(value), delay), () => executeSchedule(subscriber, scheduler, () => subscriber.complete(), delay), (err) => executeSchedule(subscriber, scheduler, () => subscriber.error(err), delay)));\n });\n}\n","import { concat } from '../observable/concat';\nimport { popScheduler } from '../util/args';\nimport { operate } from '../util/lift';\nexport function startWith(...values) {\n const scheduler = popScheduler(values);\n return operate((source, subscriber) => {\n (scheduler ? concat(values, source, scheduler) : concat(values, source)).subscribe(subscriber);\n });\n}\n","import { EMPTY } from '../observable/empty';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function take(count) {\n return count <= 0\n ?\n () => EMPTY\n : operate((source, subscriber) => {\n let seen = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n if (++seen <= count) {\n subscriber.next(value);\n if (count <= seen) {\n subscriber.complete();\n }\n }\n }));\n });\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { innerFrom } from '../observable/innerFrom';\nimport { noop } from '../util/noop';\nexport function takeUntil(notifier) {\n return operate((source, subscriber) => {\n innerFrom(notifier).subscribe(createOperatorSubscriber(subscriber, () => subscriber.complete(), noop));\n !subscriber.closed && source.subscribe(subscriber);\n });\n}\n","import { isFunction } from './isFunction';\nimport { isScheduler } from './isScheduler';\nfunction last(arr) {\n return arr[arr.length - 1];\n}\nexport function popResultSelector(args) {\n return isFunction(last(args)) ? args.pop() : undefined;\n}\nexport function popScheduler(args) {\n return isScheduler(last(args)) ? args.pop() : undefined;\n}\nexport function popNumber(args, defaultValue) {\n return typeof last(args) === 'number' ? args.pop() : defaultValue;\n}\n","export function executeSchedule(parentSubscription, scheduler, work, delay = 0, repeat = false) {\n const scheduleSubscription = scheduler.schedule(function () {\n work();\n if (repeat) {\n parentSubscription.add(this.schedule(null, delay));\n }\n else {\n this.unsubscribe();\n }\n }, delay);\n parentSubscription.add(scheduleSubscription);\n if (!repeat) {\n return scheduleSubscription;\n }\n}\n","import { isFunction } from './isFunction';\nexport function isScheduler(value) {\n return value && isFunction(value.schedule);\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","import { map } from \"../operators/map\";\nconst { isArray } = Array;\nfunction callOrApply(fn, args) {\n return isArray(args) ? fn(...args) : fn(args);\n}\nexport function mapOneOrManyArgs(fn) {\n return map(args => callOrApply(fn, args));\n}\n","import * as i4 from '@angular/cdk/observers';\nimport { ObserversModule } from '@angular/cdk/observers';\nimport * as i3 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { Directive, Attribute, Input, InjectionToken, Component, ViewEncapsulation, ChangeDetectionStrategy, Optional, Inject, ViewChild, ContentChild, ContentChildren, NgModule } from '@angular/core';\nimport { mixinColor, MatCommonModule } from '@angular/material/core';\nimport { MAT_ERROR, getMatFormFieldPlaceholderConflictError, getMatFormFieldDuplicatedHintError, getMatFormFieldMissingControlError, MAT_FORM_FIELD, MatFormFieldControl, MAT_PREFIX, MAT_SUFFIX, matFormFieldAnimations } from '@angular/material/form-field';\nexport { MAT_ERROR as MAT_LEGACY_ERROR, MAT_FORM_FIELD as MAT_LEGACY_FORM_FIELD, MAT_PREFIX as MAT_LEGACY_PREFIX, MAT_SUFFIX as MAT_LEGACY_SUFFIX, MatFormFieldControl as MatLegacyFormFieldControl, getMatFormFieldDuplicatedHintError as getMatLegacyFormFieldDuplicatedHintError, getMatFormFieldMissingControlError as getMatLegacyFormFieldMissingControlError, getMatFormFieldPlaceholderConflictError as getMatLegacyFormFieldPlaceholderConflictError, matFormFieldAnimations as matLegacyFormFieldAnimations } from '@angular/material/form-field';\nimport * as i1 from '@angular/cdk/bidi';\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { Subject, merge, fromEvent } from 'rxjs';\nimport { startWith, takeUntil, take } from 'rxjs/operators';\nimport * as i2 from '@angular/cdk/platform';\nimport { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';\n\nlet nextUniqueId$2 = 0;\n/**\n * Single error message to be shown underneath the form field.\n * @deprecated Use `MatError` from `@angular/material/form-field` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyError {\n constructor(ariaLive, elementRef) {\n this.id = `mat-error-${nextUniqueId$2++}`;\n // If no aria-live value is set add 'polite' as a default. This is preferred over setting\n // role='alert' so that screen readers do not interrupt the current task to read this aloud.\n if (!ariaLive) {\n elementRef.nativeElement.setAttribute('aria-live', 'polite');\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyError, deps: [{ token: 'aria-live', attribute: true }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyError, selector: \"mat-error\", inputs: { id: \"id\" }, host: { attributes: { \"aria-atomic\": \"true\" }, properties: { \"attr.id\": \"id\" }, classAttribute: \"mat-error\" }, providers: [{ provide: MAT_ERROR, useExisting: MatLegacyError }], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyError, decorators: [{\n type: Directive,\n args: [{\n selector: 'mat-error',\n host: {\n 'class': 'mat-error',\n '[attr.id]': 'id',\n 'aria-atomic': 'true',\n },\n providers: [{ provide: MAT_ERROR, useExisting: MatLegacyError }],\n }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Attribute,\n args: ['aria-live']\n }] }, { type: i0.ElementRef }]; }, propDecorators: { id: [{\n type: Input\n }] } });\n\nlet nextUniqueId$1 = 0;\n/**\n * Injection token that can be used to reference instances of `MatHint`. It serves as\n * alternative token to the actual `MatHint` class which could cause unnecessary\n * retention of the class and its directive metadata.\n *\n * *Note*: This is not part of the public API as the MDC-based form-field will not\n * need a lightweight token for `MatHint` and we want to reduce breaking changes.\n *\n * @deprecated Use `_MAT_HINT` from `@angular/material/form-field` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nconst _MAT_LEGACY_HINT = new InjectionToken('MatHint');\n/**\n * Hint text to be shown underneath the form field control.\n * @deprecated Use `MatHint` from `@angular/material/form-field` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyHint {\n constructor() {\n /** Whether to align the hint label at the start or end of the line. */\n this.align = 'start';\n /** Unique ID for the hint. Used for the aria-describedby on the form field control. */\n this.id = `mat-hint-${nextUniqueId$1++}`;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyHint, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyHint, selector: \"mat-hint\", inputs: { align: \"align\", id: \"id\" }, host: { properties: { \"class.mat-form-field-hint-end\": \"align === \\\"end\\\"\", \"attr.id\": \"id\", \"attr.align\": \"null\" }, classAttribute: \"mat-hint\" }, providers: [{ provide: _MAT_LEGACY_HINT, useExisting: MatLegacyHint }], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyHint, decorators: [{\n type: Directive,\n args: [{\n selector: 'mat-hint',\n host: {\n 'class': 'mat-hint',\n '[class.mat-form-field-hint-end]': 'align === \"end\"',\n '[attr.id]': 'id',\n // Remove align attribute to prevent it from interfering with layout.\n '[attr.align]': 'null',\n },\n providers: [{ provide: _MAT_LEGACY_HINT, useExisting: MatLegacyHint }],\n }]\n }], propDecorators: { align: [{\n type: Input\n }], id: [{\n type: Input\n }] } });\n\n/**\n * The floating label for a `mat-form-field`.\n * @deprecated Use `MatLabel` from `@angular/material/form-field` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyLabel {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyLabel, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyLabel, selector: \"mat-label\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyLabel, decorators: [{\n type: Directive,\n args: [{\n selector: 'mat-label',\n }]\n }] });\n\n/**\n * The placeholder text for an `MatFormField`.\n * @deprecated Use `<mat-label>` to specify the label and the `placeholder` attribute to specify the\n * placeholder.\n * @breaking-change 8.0.0\n */\nclass MatLegacyPlaceholder {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyPlaceholder, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyPlaceholder, selector: \"mat-placeholder\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyPlaceholder, decorators: [{\n type: Directive,\n args: [{\n selector: 'mat-placeholder',\n }]\n }] });\n\nlet nextUniqueId = 0;\nconst floatingLabelScale = 0.75;\nconst outlineGapPadding = 5;\n/**\n * Boilerplate for applying mixins to MatFormField.\n * @docs-private\n */\nconst _MatFormFieldBase = mixinColor(class {\n constructor(_elementRef) {\n this._elementRef = _elementRef;\n }\n}, 'primary');\n/**\n * Injection token that can be used to configure the\n * default options for all form field within an app.\n * @deprecated Use `MAT_FORM_FIELD_DEFAULT_OPTIONS` from `@angular/material/form-field` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nconst MAT_LEGACY_FORM_FIELD_DEFAULT_OPTIONS = new InjectionToken('MAT_FORM_FIELD_DEFAULT_OPTIONS');\n/**\n * Container for form controls that applies Material Design styling and behavior.\n * @deprecated Use `MatFormField` from `@angular/material/form-field` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyFormField extends _MatFormFieldBase {\n /** The form field appearance style. */\n get appearance() {\n return this._appearance;\n }\n set appearance(value) {\n const oldValue = this._appearance;\n this._appearance = value || this._defaults?.appearance || 'legacy';\n if (this._appearance === 'outline' && oldValue !== value) {\n this._outlineGapCalculationNeededOnStable = true;\n }\n }\n /** Whether the required marker should be hidden. */\n get hideRequiredMarker() {\n return this._hideRequiredMarker;\n }\n set hideRequiredMarker(value) {\n this._hideRequiredMarker = coerceBooleanProperty(value);\n }\n /** Whether the floating label should always float or not. */\n _shouldAlwaysFloat() {\n return this.floatLabel === 'always' && !this._showAlwaysAnimate;\n }\n /** Whether the label can float or not. */\n _canLabelFloat() {\n return this.floatLabel !== 'never';\n }\n /** Text for the form field hint. */\n get hintLabel() {\n return this._hintLabel;\n }\n set hintLabel(value) {\n this._hintLabel = value;\n this._processHints();\n }\n /**\n * Whether the label should always float, never float or float as the user types.\n *\n * Note: only the legacy appearance supports the `never` option. `never` was originally added as a\n * way to make the floating label emulate the behavior of a standard input placeholder. However\n * the form field now supports both floating labels and placeholders. Therefore in the non-legacy\n * appearances the `never` option has been disabled in favor of just using the placeholder.\n */\n get floatLabel() {\n return this.appearance !== 'legacy' && this._floatLabel === 'never' ? 'auto' : this._floatLabel;\n }\n set floatLabel(value) {\n if (value !== this._floatLabel) {\n this._floatLabel = value || this._getDefaultFloatLabelState();\n this._changeDetectorRef.markForCheck();\n }\n }\n get _control() {\n // TODO(crisbeto): we need this workaround in order to support both Ivy and ViewEngine.\n // We should clean this up once Ivy is the default renderer.\n return this._explicitFormFieldControl || this._controlNonStatic || this._controlStatic;\n }\n set _control(value) {\n this._explicitFormFieldControl = value;\n }\n constructor(elementRef, _changeDetectorRef, _dir, _defaults, _platform, _ngZone, _animationMode) {\n super(elementRef);\n this._changeDetectorRef = _changeDetectorRef;\n this._dir = _dir;\n this._defaults = _defaults;\n this._platform = _platform;\n this._ngZone = _ngZone;\n /**\n * Whether the outline gap needs to be calculated\n * immediately on the next change detection run.\n */\n this._outlineGapCalculationNeededImmediately = false;\n /** Whether the outline gap needs to be calculated next time the zone has stabilized. */\n this._outlineGapCalculationNeededOnStable = false;\n this._destroyed = new Subject();\n this._hideRequiredMarker = false;\n /** Override for the logic that disables the label animation in certain cases. */\n this._showAlwaysAnimate = false;\n /** State of the mat-hint and mat-error animations. */\n this._subscriptAnimationState = '';\n this._hintLabel = '';\n // Unique id for the hint label.\n this._hintLabelId = `mat-hint-${nextUniqueId++}`;\n // Unique id for the label element.\n this._labelId = `mat-form-field-label-${nextUniqueId++}`;\n this.floatLabel = this._getDefaultFloatLabelState();\n this._animationsEnabled = _animationMode !== 'NoopAnimations';\n // Set the default through here so we invoke the setter on the first run.\n this.appearance = _defaults?.appearance || 'legacy';\n if (_defaults) {\n this._hideRequiredMarker = Boolean(_defaults.hideRequiredMarker);\n if (_defaults.color) {\n this.color = this.defaultColor = _defaults.color;\n }\n }\n }\n /**\n * Gets the id of the label element. If no label is present, returns `null`.\n */\n getLabelId() {\n return this._hasFloatingLabel() ? this._labelId : null;\n }\n /**\n * Gets an ElementRef for the element that a overlay attached to the form field should be\n * positioned relative to.\n */\n getConnectedOverlayOrigin() {\n return this._connectionContainerRef || this._elementRef;\n }\n ngAfterContentInit() {\n this._validateControlChild();\n const control = this._control;\n if (control.controlType) {\n this._elementRef.nativeElement.classList.add(`mat-form-field-type-${control.controlType}`);\n }\n // Subscribe to changes in the child control state in order to update the form field UI.\n control.stateChanges.pipe(startWith(null)).subscribe(() => {\n this._validatePlaceholders();\n this._syncDescribedByIds();\n this._changeDetectorRef.markForCheck();\n });\n // Run change detection if the value changes.\n if (control.ngControl && control.ngControl.valueChanges) {\n control.ngControl.valueChanges\n .pipe(takeUntil(this._destroyed))\n .subscribe(() => this._changeDetectorRef.markForCheck());\n }\n // Note that we have to run outside of the `NgZone` explicitly,\n // in order to avoid throwing users into an infinite loop\n // if `zone-patch-rxjs` is included.\n this._ngZone.runOutsideAngular(() => {\n this._ngZone.onStable.pipe(takeUntil(this._destroyed)).subscribe(() => {\n if (this._outlineGapCalculationNeededOnStable) {\n this.updateOutlineGap();\n }\n });\n });\n // Run change detection and update the outline if the suffix or prefix changes.\n merge(this._prefixChildren.changes, this._suffixChildren.changes).subscribe(() => {\n this._outlineGapCalculationNeededOnStable = true;\n this._changeDetectorRef.markForCheck();\n });\n // Re-validate when the number of hints changes.\n this._hintChildren.changes.pipe(startWith(null)).subscribe(() => {\n this._processHints();\n this._changeDetectorRef.markForCheck();\n });\n // Update the aria-described by when the number of errors changes.\n this._errorChildren.changes.pipe(startWith(null)).subscribe(() => {\n this._syncDescribedByIds();\n this._changeDetectorRef.markForCheck();\n });\n if (this._dir) {\n this._dir.change.pipe(takeUntil(this._destroyed)).subscribe(() => {\n if (typeof requestAnimationFrame === 'function') {\n this._ngZone.runOutsideAngular(() => {\n requestAnimationFrame(() => this.updateOutlineGap());\n });\n }\n else {\n this.updateOutlineGap();\n }\n });\n }\n }\n ngAfterContentChecked() {\n this._validateControlChild();\n if (this._outlineGapCalculationNeededImmediately) {\n this.updateOutlineGap();\n }\n }\n ngAfterViewInit() {\n // Avoid animations on load.\n this._subscriptAnimationState = 'enter';\n this._changeDetectorRef.detectChanges();\n }\n ngOnDestroy() {\n this._destroyed.next();\n this._destroyed.complete();\n }\n /**\n * Determines whether a class from the AbstractControlDirective\n * should be forwarded to the host element.\n */\n _shouldForward(prop) {\n const control = this._control ? this._control.ngControl : null;\n return control && control[prop];\n }\n _hasPlaceholder() {\n return !!((this._control && this._control.placeholder) || this._placeholderChild);\n }\n _hasLabel() {\n return !!(this._labelChildNonStatic || this._labelChildStatic);\n }\n _shouldLabelFloat() {\n return (this._canLabelFloat() &&\n ((this._control && this._control.shouldLabelFloat) || this._shouldAlwaysFloat()));\n }\n _hideControlPlaceholder() {\n // In the legacy appearance the placeholder is promoted to a label if no label is given.\n return ((this.appearance === 'legacy' && !this._hasLabel()) ||\n (this._hasLabel() && !this._shouldLabelFloat()));\n }\n _hasFloatingLabel() {\n // In the legacy appearance the placeholder is promoted to a label if no label is given.\n return this._hasLabel() || (this.appearance === 'legacy' && this._hasPlaceholder());\n }\n /** Determines whether to display hints or errors. */\n _getDisplayedMessages() {\n return this._errorChildren && this._errorChildren.length > 0 && this._control.errorState\n ? 'error'\n : 'hint';\n }\n /** Animates the placeholder up and locks it in position. */\n _animateAndLockLabel() {\n if (this._hasFloatingLabel() && this._canLabelFloat()) {\n // If animations are disabled, we shouldn't go in here,\n // because the `transitionend` will never fire.\n if (this._animationsEnabled && this._label) {\n this._showAlwaysAnimate = true;\n fromEvent(this._label.nativeElement, 'transitionend')\n .pipe(take(1))\n .subscribe(() => {\n this._showAlwaysAnimate = false;\n });\n }\n this.floatLabel = 'always';\n this._changeDetectorRef.markForCheck();\n }\n }\n /**\n * Ensure that there is only one placeholder (either `placeholder` attribute on the child control\n * or child element with the `mat-placeholder` directive).\n */\n _validatePlaceholders() {\n if (this._control.placeholder &&\n this._placeholderChild &&\n (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw getMatFormFieldPlaceholderConflictError();\n }\n }\n /** Does any extra processing that is required when handling the hints. */\n _processHints() {\n this._validateHints();\n this._syncDescribedByIds();\n }\n /**\n * Ensure that there is a maximum of one of each `<mat-hint>` alignment specified, with the\n * attribute being considered as `align=\"start\"`.\n */\n _validateHints() {\n if (this._hintChildren && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n let startHint;\n let endHint;\n this._hintChildren.forEach((hint) => {\n if (hint.align === 'start') {\n if (startHint || this.hintLabel) {\n throw getMatFormFieldDuplicatedHintError('start');\n }\n startHint = hint;\n }\n else if (hint.align === 'end') {\n if (endHint) {\n throw getMatFormFieldDuplicatedHintError('end');\n }\n endHint = hint;\n }\n });\n }\n }\n /** Gets the default float label state. */\n _getDefaultFloatLabelState() {\n return (this._defaults && this._defaults.floatLabel) || 'auto';\n }\n /**\n * Sets the list of element IDs that describe the child control. This allows the control to update\n * its `aria-describedby` attribute accordingly.\n */\n _syncDescribedByIds() {\n if (this._control) {\n let ids = [];\n // TODO(wagnermaciel): Remove the type check when we find the root cause of this bug.\n if (this._control.userAriaDescribedBy &&\n typeof this._control.userAriaDescribedBy === 'string') {\n ids.push(...this._control.userAriaDescribedBy.split(' '));\n }\n if (this._getDisplayedMessages() === 'hint') {\n const startHint = this._hintChildren\n ? this._hintChildren.find(hint => hint.align === 'start')\n : null;\n const endHint = this._hintChildren\n ? this._hintChildren.find(hint => hint.align === 'end')\n : null;\n if (startHint) {\n ids.push(startHint.id);\n }\n else if (this._hintLabel) {\n ids.push(this._hintLabelId);\n }\n if (endHint) {\n ids.push(endHint.id);\n }\n }\n else if (this._errorChildren) {\n ids.push(...this._errorChildren.map(error => error.id));\n }\n this._control.setDescribedByIds(ids);\n }\n }\n /** Throws an error if the form field's control is missing. */\n _validateControlChild() {\n if (!this._control && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw getMatFormFieldMissingControlError();\n }\n }\n /**\n * Updates the width and position of the gap in the outline. Only relevant for the outline\n * appearance.\n */\n updateOutlineGap() {\n const labelEl = this._label ? this._label.nativeElement : null;\n const container = this._connectionContainerRef.nativeElement;\n const outlineStartSelector = '.mat-form-field-outline-start';\n const outlineGapSelector = '.mat-form-field-outline-gap';\n // getBoundingClientRect isn't available on the server.\n if (this.appearance !== 'outline' || !this._platform.isBrowser) {\n return;\n }\n // If there is no content, set the gap elements to zero.\n if (!labelEl || !labelEl.children.length || !labelEl.textContent.trim()) {\n const gapElements = container.querySelectorAll(`${outlineStartSelector}, ${outlineGapSelector}`);\n for (let i = 0; i < gapElements.length; i++) {\n gapElements[i].style.width = '0';\n }\n return;\n }\n // If the element is not present in the DOM, the outline gap will need to be calculated\n // the next time it is checked and in the DOM.\n if (!this._isAttachedToDOM()) {\n this._outlineGapCalculationNeededImmediately = true;\n return;\n }\n let startWidth = 0;\n let gapWidth = 0;\n const startEls = container.querySelectorAll(outlineStartSelector);\n const gapEls = container.querySelectorAll(outlineGapSelector);\n if (this._label && this._label.nativeElement.children.length) {\n const containerRect = container.getBoundingClientRect();\n // If the container's width and height are zero, it means that the element is\n // invisible and we can't calculate the outline gap. Mark the element as needing\n // to be checked the next time the zone stabilizes. We can't do this immediately\n // on the next change detection, because even if the element becomes visible,\n // the `ClientRect` won't be recalculated immediately. We reset the\n // `_outlineGapCalculationNeededImmediately` flag some we don't run the checks twice.\n if (containerRect.width === 0 && containerRect.height === 0) {\n this._outlineGapCalculationNeededOnStable = true;\n this._outlineGapCalculationNeededImmediately = false;\n return;\n }\n const containerStart = this._getStartEnd(containerRect);\n const labelChildren = labelEl.children;\n const labelStart = this._getStartEnd(labelChildren[0].getBoundingClientRect());\n let labelWidth = 0;\n for (let i = 0; i < labelChildren.length; i++) {\n labelWidth += labelChildren[i].offsetWidth;\n }\n startWidth = Math.abs(labelStart - containerStart) - outlineGapPadding;\n gapWidth = labelWidth > 0 ? labelWidth * floatingLabelScale + outlineGapPadding * 2 : 0;\n }\n for (let i = 0; i < startEls.length; i++) {\n startEls[i].style.width = `${startWidth}px`;\n }\n for (let i = 0; i < gapEls.length; i++) {\n gapEls[i].style.width = `${gapWidth}px`;\n }\n this._outlineGapCalculationNeededOnStable = this._outlineGapCalculationNeededImmediately =\n false;\n }\n /** Gets the start end of the rect considering the current directionality. */\n _getStartEnd(rect) {\n return this._dir && this._dir.value === 'rtl' ? rect.right : rect.left;\n }\n /** Checks whether the form field is attached to the DOM. */\n _isAttachedToDOM() {\n const element = this._elementRef.nativeElement;\n if (element.getRootNode) {\n const rootNode = element.getRootNode();\n // If the element is inside the DOM the root node will be either the document\n // or the closest shadow root, otherwise it'll be the element itself.\n return rootNode && rootNode !== element;\n }\n // Otherwise fall back to checking if it's in the document. This doesn't account for\n // shadow DOM, however browser that support shadow DOM should support `getRootNode` as well.\n return document.documentElement.contains(element);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyFormField, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.Directionality, optional: true }, { token: MAT_LEGACY_FORM_FIELD_DEFAULT_OPTIONS, optional: true }, { token: i2.Platform }, { token: i0.NgZone }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyFormField, selector: \"mat-form-field\", inputs: { color: \"color\", appearance: \"appearance\", hideRequiredMarker: \"hideRequiredMarker\", hintLabel: \"hintLabel\", floatLabel: \"floatLabel\" }, host: { attributes: { \"ngSkipHydration\": \"\" }, properties: { \"class.mat-form-field-appearance-standard\": \"appearance == \\\"standard\\\"\", \"class.mat-form-field-appearance-fill\": \"appearance == \\\"fill\\\"\", \"class.mat-form-field-appearance-outline\": \"appearance == \\\"outline\\\"\", \"class.mat-form-field-appearance-legacy\": \"appearance == \\\"legacy\\\"\", \"class.mat-form-field-invalid\": \"_control.errorState\", \"class.mat-form-field-can-float\": \"_canLabelFloat()\", \"class.mat-form-field-should-float\": \"_shouldLabelFloat()\", \"class.mat-form-field-has-label\": \"_hasFloatingLabel()\", \"class.mat-form-field-hide-placeholder\": \"_hideControlPlaceholder()\", \"class.mat-form-field-disabled\": \"_control.disabled\", \"class.mat-form-field-autofilled\": \"_control.autofilled\", \"class.mat-focused\": \"_control.focused\", \"class.ng-untouched\": \"_shouldForward(\\\"untouched\\\")\", \"class.ng-touched\": \"_shouldForward(\\\"touched\\\")\", \"class.ng-pristine\": \"_shouldForward(\\\"pristine\\\")\", \"class.ng-dirty\": \"_shouldForward(\\\"dirty\\\")\", \"class.ng-valid\": \"_shouldForward(\\\"valid\\\")\", \"class.ng-invalid\": \"_shouldForward(\\\"invalid\\\")\", \"class.ng-pending\": \"_shouldForward(\\\"pending\\\")\", \"class._mat-animation-noopable\": \"!_animationsEnabled\" }, classAttribute: \"mat-form-field\" }, providers: [{ provide: MAT_FORM_FIELD, useExisting: MatLegacyFormField }], queries: [{ propertyName: \"_controlNonStatic\", first: true, predicate: MatFormFieldControl, descendants: true }, { propertyName: \"_controlStatic\", first: true, predicate: MatFormFieldControl, descendants: true, static: true }, { propertyName: \"_labelChildNonStatic\", first: true, predicate: MatLegacyLabel, descendants: true }, { propertyName: \"_labelChildStatic\", first: true, predicate: MatLegacyLabel, descendants: true, static: true }, { propertyName: \"_placeholderChild\", first: true, predicate: MatLegacyPlaceholder, descendants: true }, { propertyName: \"_errorChildren\", predicate: MAT_ERROR, descendants: true }, { propertyName: \"_hintChildren\", predicate: _MAT_LEGACY_HINT, descendants: true }, { propertyName: \"_prefixChildren\", predicate: MAT_PREFIX, descendants: true }, { propertyName: \"_suffixChildren\", predicate: MAT_SUFFIX, descendants: true }], viewQueries: [{ propertyName: \"_connectionContainerRef\", first: true, predicate: [\"connectionContainer\"], descendants: true, static: true }, { propertyName: \"_inputContainerRef\", first: true, predicate: [\"inputContainer\"], descendants: true }, { propertyName: \"_label\", first: true, predicate: [\"label\"], descendants: true }], exportAs: [\"matFormField\"], usesInheritance: true, ngImport: i0, template: \"<div class=\\\"mat-form-field-wrapper\\\">\\n <div class=\\\"mat-form-field-flex\\\" #connectionContainer\\n (click)=\\\"_control.onContainerClick($event)\\\">\\n\\n <!-- Outline used for outline appearance. -->\\n <ng-container *ngIf=\\\"appearance == 'outline'\\\">\\n <div class=\\\"mat-form-field-outline\\\">\\n <div class=\\\"mat-form-field-outline-start\\\"></div>\\n <div class=\\\"mat-form-field-outline-gap\\\"></div>\\n <div class=\\\"mat-form-field-outline-end\\\"></div>\\n </div>\\n <div class=\\\"mat-form-field-outline mat-form-field-outline-thick\\\">\\n <div class=\\\"mat-form-field-outline-start\\\"></div>\\n <div class=\\\"mat-form-field-outline-gap\\\"></div>\\n <div class=\\\"mat-form-field-outline-end\\\"></div>\\n </div>\\n </ng-container>\\n\\n <div\\n class=\\\"mat-form-field-prefix\\\"\\n *ngIf=\\\"_prefixChildren.length\\\"\\n (cdkObserveContent)=\\\"updateOutlineGap()\\\"\\n [cdkObserveContentDisabled]=\\\"appearance != 'outline'\\\">\\n <ng-content select=\\\"[matPrefix]\\\"></ng-content>\\n </div>\\n\\n <div class=\\\"mat-form-field-infix\\\" #inputContainer>\\n <ng-content></ng-content>\\n\\n <span class=\\\"mat-form-field-label-wrapper\\\">\\n <!-- We add aria-owns as a workaround for an issue in JAWS & NVDA where the label isn't\\n read if it comes before the control in the DOM. -->\\n <label class=\\\"mat-form-field-label\\\"\\n (cdkObserveContent)=\\\"updateOutlineGap()\\\"\\n [cdkObserveContentDisabled]=\\\"appearance != 'outline'\\\"\\n [id]=\\\"_labelId\\\"\\n [attr.for]=\\\"_control.id\\\"\\n [attr.aria-owns]=\\\"_control.id\\\"\\n [class.mat-empty]=\\\"_control.empty && !_shouldAlwaysFloat()\\\"\\n [class.mat-form-field-empty]=\\\"_control.empty && !_shouldAlwaysFloat()\\\"\\n [class.mat-accent]=\\\"color == 'accent'\\\"\\n [class.mat-warn]=\\\"color == 'warn'\\\"\\n #label\\n *ngIf=\\\"_hasFloatingLabel()\\\"\\n [ngSwitch]=\\\"_hasLabel()\\\">\\n\\n <!-- @breaking-change 8.0.0 remove in favor of mat-label element an placeholder attr. -->\\n <ng-container *ngSwitchCase=\\\"false\\\">\\n <ng-content select=\\\"mat-placeholder\\\"></ng-content>\\n <span>{{_control.placeholder}}</span>\\n </ng-container>\\n\\n <ng-content select=\\\"mat-label\\\" *ngSwitchCase=\\\"true\\\"></ng-content>\\n\\n <!-- @breaking-change 8.0.0 remove `mat-placeholder-required` class -->\\n <span\\n class=\\\"mat-placeholder-required mat-form-field-required-marker\\\"\\n aria-hidden=\\\"true\\\"\\n *ngIf=\\\"!hideRequiredMarker && _control.required && !_control.disabled\\\"> *</span>\\n </label>\\n </span>\\n </div>\\n\\n <div class=\\\"mat-form-field-suffix\\\" *ngIf=\\\"_suffixChildren.length\\\">\\n <ng-content select=\\\"[matSuffix]\\\"></ng-content>\\n </div>\\n </div>\\n\\n <!-- Underline used for legacy, standard, and box appearances. -->\\n <div class=\\\"mat-form-field-underline\\\"\\n *ngIf=\\\"appearance != 'outline'\\\">\\n <span class=\\\"mat-form-field-ripple\\\"\\n [class.mat-accent]=\\\"color == 'accent'\\\"\\n [class.mat-warn]=\\\"color == 'warn'\\\"></span>\\n </div>\\n\\n <div class=\\\"mat-form-field-subscript-wrapper\\\"\\n [ngSwitch]=\\\"_getDisplayedMessages()\\\">\\n <div *ngSwitchCase=\\\"'error'\\\" [@transitionMessages]=\\\"_subscriptAnimationState\\\">\\n <ng-content select=\\\"mat-error\\\"></ng-content>\\n </div>\\n\\n <div class=\\\"mat-form-field-hint-wrapper\\\" *ngSwitchCase=\\\"'hint'\\\"\\n [@transitionMessages]=\\\"_subscriptAnimationState\\\">\\n <!-- TODO(mmalerba): use an actual <mat-hint> once all selectors are switched to mat-* -->\\n <div *ngIf=\\\"hintLabel\\\" [id]=\\\"_hintLabelId\\\" class=\\\"mat-hint\\\">{{hintLabel}}</div>\\n <ng-content select=\\\"mat-hint:not([align='end'])\\\"></ng-content>\\n <div class=\\\"mat-form-field-hint-spacer\\\"></div>\\n <ng-content select=\\\"mat-hint[align='end']\\\"></ng-content>\\n </div>\\n </div>\\n</div>\\n\", styles: [\".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.cdk-high-contrast-active .mat-form-field-disabled .mat-form-field-label{color:GrayText}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}.mat-form-field .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-button-base,.mat-form-field .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-form-field .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon{font-size:1em;display:inline-block;margin:-2px 0 1px}.mat-form-field-type-mat-date-range-input .mat-form-field-infix{width:200px}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-icon-button{font-size:inherit;width:1.5em;height:1.5em;padding:0}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon{line-height:1.5em;margin:0}.mat-form-field .mat-datepicker-toggle .mat-mdc-button-base{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-datepicker-toggle .mat-mdc-button-base{vertical-align:baseline}\", \".mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-form-field-flex{outline:dashed 3px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:\\\"\\\";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\", \".mat-input-element{font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element:not([type=password])::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:\\\" \\\";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-input-element::placeholder{transition:none}._mat-animation-noopable .mat-input-element::-moz-placeholder{transition:none}._mat-animation-noopable .mat-input-element::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-input-element:-ms-input-placeholder{transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:\\\"\\\";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\", \".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px)}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px;border-top-color:GrayText}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\", \".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:rgba(0,0,0,0)}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{border:3px dashed}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:GrayText}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\", \".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\"], dependencies: [{ kind: \"directive\", type: i3.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i3.NgSwitch, selector: \"[ngSwitch]\", inputs: [\"ngSwitch\"] }, { kind: \"directive\", type: i3.NgSwitchCase, selector: \"[ngSwitchCase]\", inputs: [\"ngSwitchCase\"] }, { kind: \"directive\", type: i4.CdkObserveContent, selector: \"[cdkObserveContent]\", inputs: [\"cdkObserveContentDisabled\", \"debounce\"], outputs: [\"cdkObserveContent\"], exportAs: [\"cdkObserveContent\"] }], animations: [matFormFieldAnimations.transitionMessages], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyFormField, decorators: [{\n type: Component,\n args: [{ selector: 'mat-form-field', exportAs: 'matFormField', animations: [matFormFieldAnimations.transitionMessages], host: {\n 'class': 'mat-form-field',\n '[class.mat-form-field-appearance-standard]': 'appearance == \"standard\"',\n '[class.mat-form-field-appearance-fill]': 'appearance == \"fill\"',\n '[class.mat-form-field-appearance-outline]': 'appearance == \"outline\"',\n '[class.mat-form-field-appearance-legacy]': 'appearance == \"legacy\"',\n '[class.mat-form-field-invalid]': '_control.errorState',\n '[class.mat-form-field-can-float]': '_canLabelFloat()',\n '[class.mat-form-field-should-float]': '_shouldLabelFloat()',\n '[class.mat-form-field-has-label]': '_hasFloatingLabel()',\n '[class.mat-form-field-hide-placeholder]': '_hideControlPlaceholder()',\n '[class.mat-form-field-disabled]': '_control.disabled',\n '[class.mat-form-field-autofilled]': '_control.autofilled',\n '[class.mat-focused]': '_control.focused',\n '[class.ng-untouched]': '_shouldForward(\"untouched\")',\n '[class.ng-touched]': '_shouldForward(\"touched\")',\n '[class.ng-pristine]': '_shouldForward(\"pristine\")',\n '[class.ng-dirty]': '_shouldForward(\"dirty\")',\n '[class.ng-valid]': '_shouldForward(\"valid\")',\n '[class.ng-invalid]': '_shouldForward(\"invalid\")',\n '[class.ng-pending]': '_shouldForward(\"pending\")',\n '[class._mat-animation-noopable]': '!_animationsEnabled',\n 'ngSkipHydration': '',\n }, inputs: ['color'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [{ provide: MAT_FORM_FIELD, useExisting: MatLegacyFormField }], template: \"<div class=\\\"mat-form-field-wrapper\\\">\\n <div class=\\\"mat-form-field-flex\\\" #connectionContainer\\n (click)=\\\"_control.onContainerClick($event)\\\">\\n\\n <!-- Outline used for outline appearance. -->\\n <ng-container *ngIf=\\\"appearance == 'outline'\\\">\\n <div class=\\\"mat-form-field-outline\\\">\\n <div class=\\\"mat-form-field-outline-start\\\"></div>\\n <div class=\\\"mat-form-field-outline-gap\\\"></div>\\n <div class=\\\"mat-form-field-outline-end\\\"></div>\\n </div>\\n <div class=\\\"mat-form-field-outline mat-form-field-outline-thick\\\">\\n <div class=\\\"mat-form-field-outline-start\\\"></div>\\n <div class=\\\"mat-form-field-outline-gap\\\"></div>\\n <div class=\\\"mat-form-field-outline-end\\\"></div>\\n </div>\\n </ng-container>\\n\\n <div\\n class=\\\"mat-form-field-prefix\\\"\\n *ngIf=\\\"_prefixChildren.length\\\"\\n (cdkObserveContent)=\\\"updateOutlineGap()\\\"\\n [cdkObserveContentDisabled]=\\\"appearance != 'outline'\\\">\\n <ng-content select=\\\"[matPrefix]\\\"></ng-content>\\n </div>\\n\\n <div class=\\\"mat-form-field-infix\\\" #inputContainer>\\n <ng-content></ng-content>\\n\\n <span class=\\\"mat-form-field-label-wrapper\\\">\\n <!-- We add aria-owns as a workaround for an issue in JAWS & NVDA where the label isn't\\n read if it comes before the control in the DOM. -->\\n <label class=\\\"mat-form-field-label\\\"\\n (cdkObserveContent)=\\\"updateOutlineGap()\\\"\\n [cdkObserveContentDisabled]=\\\"appearance != 'outline'\\\"\\n [id]=\\\"_labelId\\\"\\n [attr.for]=\\\"_control.id\\\"\\n [attr.aria-owns]=\\\"_control.id\\\"\\n [class.mat-empty]=\\\"_control.empty && !_shouldAlwaysFloat()\\\"\\n [class.mat-form-field-empty]=\\\"_control.empty && !_shouldAlwaysFloat()\\\"\\n [class.mat-accent]=\\\"color == 'accent'\\\"\\n [class.mat-warn]=\\\"color == 'warn'\\\"\\n #label\\n *ngIf=\\\"_hasFloatingLabel()\\\"\\n [ngSwitch]=\\\"_hasLabel()\\\">\\n\\n <!-- @breaking-change 8.0.0 remove in favor of mat-label element an placeholder attr. -->\\n <ng-container *ngSwitchCase=\\\"false\\\">\\n <ng-content select=\\\"mat-placeholder\\\"></ng-content>\\n <span>{{_control.placeholder}}</span>\\n </ng-container>\\n\\n <ng-content select=\\\"mat-label\\\" *ngSwitchCase=\\\"true\\\"></ng-content>\\n\\n <!-- @breaking-change 8.0.0 remove `mat-placeholder-required` class -->\\n <span\\n class=\\\"mat-placeholder-required mat-form-field-required-marker\\\"\\n aria-hidden=\\\"true\\\"\\n *ngIf=\\\"!hideRequiredMarker && _control.required && !_control.disabled\\\"> *</span>\\n </label>\\n </span>\\n </div>\\n\\n <div class=\\\"mat-form-field-suffix\\\" *ngIf=\\\"_suffixChildren.length\\\">\\n <ng-content select=\\\"[matSuffix]\\\"></ng-content>\\n </div>\\n </div>\\n\\n <!-- Underline used for legacy, standard, and box appearances. -->\\n <div class=\\\"mat-form-field-underline\\\"\\n *ngIf=\\\"appearance != 'outline'\\\">\\n <span class=\\\"mat-form-field-ripple\\\"\\n [class.mat-accent]=\\\"color == 'accent'\\\"\\n [class.mat-warn]=\\\"color == 'warn'\\\"></span>\\n </div>\\n\\n <div class=\\\"mat-form-field-subscript-wrapper\\\"\\n [ngSwitch]=\\\"_getDisplayedMessages()\\\">\\n <div *ngSwitchCase=\\\"'error'\\\" [@transitionMessages]=\\\"_subscriptAnimationState\\\">\\n <ng-content select=\\\"mat-error\\\"></ng-content>\\n </div>\\n\\n <div class=\\\"mat-form-field-hint-wrapper\\\" *ngSwitchCase=\\\"'hint'\\\"\\n [@transitionMessages]=\\\"_subscriptAnimationState\\\">\\n <!-- TODO(mmalerba): use an actual <mat-hint> once all selectors are switched to mat-* -->\\n <div *ngIf=\\\"hintLabel\\\" [id]=\\\"_hintLabelId\\\" class=\\\"mat-hint\\\">{{hintLabel}}</div>\\n <ng-content select=\\\"mat-hint:not([align='end'])\\\"></ng-content>\\n <div class=\\\"mat-form-field-hint-spacer\\\"></div>\\n <ng-content select=\\\"mat-hint[align='end']\\\"></ng-content>\\n </div>\\n </div>\\n</div>\\n\", styles: [\".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.cdk-high-contrast-active .mat-form-field-disabled .mat-form-field-label{color:GrayText}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}.mat-form-field .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-button-base,.mat-form-field .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-form-field .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon{font-size:1em;display:inline-block;margin:-2px 0 1px}.mat-form-field-type-mat-date-range-input .mat-form-field-infix{width:200px}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-icon-button{font-size:inherit;width:1.5em;height:1.5em;padding:0}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon{line-height:1.5em;margin:0}.mat-form-field .mat-datepicker-toggle .mat-mdc-button-base{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-datepicker-toggle .mat-mdc-button-base{vertical-align:baseline}\", \".mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-form-field-flex{outline:dashed 3px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:\\\"\\\";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\", \".mat-input-element{font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element:not([type=password])::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:\\\" \\\";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-input-element::placeholder{transition:none}._mat-animation-noopable .mat-input-element::-moz-placeholder{transition:none}._mat-animation-noopable .mat-input-element::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-input-element:-ms-input-placeholder{transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:\\\"\\\";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\", \".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px)}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px;border-top-color:GrayText}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\", \".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:rgba(0,0,0,0)}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{border:3px dashed}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:GrayText}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\", \".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.Directionality, decorators: [{\n type: Optional\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_LEGACY_FORM_FIELD_DEFAULT_OPTIONS]\n }] }, { type: i2.Platform }, { type: i0.NgZone }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }]; }, propDecorators: { appearance: [{\n type: Input\n }], hideRequiredMarker: [{\n type: Input\n }], hintLabel: [{\n type: Input\n }], floatLabel: [{\n type: Input\n }], _connectionContainerRef: [{\n type: ViewChild,\n args: ['connectionContainer', { static: true }]\n }], _inputContainerRef: [{\n type: ViewChild,\n args: ['inputContainer']\n }], _label: [{\n type: ViewChild,\n args: ['label']\n }], _controlNonStatic: [{\n type: ContentChild,\n args: [MatFormFieldControl]\n }], _controlStatic: [{\n type: ContentChild,\n args: [MatFormFieldControl, { static: true }]\n }], _labelChildNonStatic: [{\n type: ContentChild,\n args: [MatLegacyLabel]\n }], _labelChildStatic: [{\n type: ContentChild,\n args: [MatLegacyLabel, { static: true }]\n }], _placeholderChild: [{\n type: ContentChild,\n args: [MatLegacyPlaceholder]\n }], _errorChildren: [{\n type: ContentChildren,\n args: [MAT_ERROR, { descendants: true }]\n }], _hintChildren: [{\n type: ContentChildren,\n args: [_MAT_LEGACY_HINT, { descendants: true }]\n }], _prefixChildren: [{\n type: ContentChildren,\n args: [MAT_PREFIX, { descendants: true }]\n }], _suffixChildren: [{\n type: ContentChildren,\n args: [MAT_SUFFIX, { descendants: true }]\n }] } });\n\n/**\n * Prefix to be placed in front of the form field.\n * @deprecated Use `MatPrefix` from `@angular/material/form-field` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyPrefix {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyPrefix, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyPrefix, selector: \"[matPrefix]\", providers: [{ provide: MAT_PREFIX, useExisting: MatLegacyPrefix }], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyPrefix, decorators: [{\n type: Directive,\n args: [{\n selector: '[matPrefix]',\n providers: [{ provide: MAT_PREFIX, useExisting: MatLegacyPrefix }],\n }]\n }] });\n\n/**\n * Suffix to be placed at the end of the form field.\n * @deprecated Use `MatSuffix` from `@angular/material/form-field` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacySuffix {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacySuffix, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacySuffix, selector: \"[matSuffix]\", providers: [{ provide: MAT_SUFFIX, useExisting: MatLegacySuffix }], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacySuffix, decorators: [{\n type: Directive,\n args: [{\n selector: '[matSuffix]',\n providers: [{ provide: MAT_SUFFIX, useExisting: MatLegacySuffix }],\n }]\n }] });\n\n/**\n * @deprecated Use `MatFormFieldModule` from `@angular/material/form-field` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyFormFieldModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyFormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyFormFieldModule, declarations: [MatLegacyError,\n MatLegacyFormField,\n MatLegacyHint,\n MatLegacyLabel,\n MatLegacyPlaceholder,\n MatLegacyPrefix,\n MatLegacySuffix], imports: [CommonModule, MatCommonModule, ObserversModule], exports: [MatCommonModule,\n MatLegacyError,\n MatLegacyFormField,\n MatLegacyHint,\n MatLegacyLabel,\n MatLegacyPlaceholder,\n MatLegacyPrefix,\n MatLegacySuffix] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyFormFieldModule, imports: [CommonModule, MatCommonModule, ObserversModule, MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyFormFieldModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [\n MatLegacyError,\n MatLegacyFormField,\n MatLegacyHint,\n MatLegacyLabel,\n MatLegacyPlaceholder,\n MatLegacyPrefix,\n MatLegacySuffix,\n ],\n imports: [CommonModule, MatCommonModule, ObserversModule],\n exports: [\n MatCommonModule,\n MatLegacyError,\n MatLegacyFormField,\n MatLegacyHint,\n MatLegacyLabel,\n MatLegacyPlaceholder,\n MatLegacyPrefix,\n MatLegacySuffix,\n ],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MAT_LEGACY_FORM_FIELD_DEFAULT_OPTIONS, MatLegacyError, MatLegacyFormField, MatLegacyFormFieldModule, MatLegacyHint, MatLegacyLabel, MatLegacyPlaceholder, MatLegacyPrefix, MatLegacySuffix, _MAT_LEGACY_HINT };\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}","export default function _iterableToArrayLimit(arr, i) {\n var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"];\n if (null != _i) {\n var _s,\n _e,\n _x,\n _r,\n _arr = [],\n _n = !0,\n _d = !1;\n try {\n if (_x = (_i = _i.call(arr)).next, 0 === i) {\n if (Object(_i) !== _i) return;\n _n = !1;\n } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);\n } catch (err) {\n _d = !0, _e = err;\n } finally {\n try {\n if (!_n && null != _i[\"return\"] && (_r = _i[\"return\"](), Object(_r) !== _r)) return;\n } finally {\n if (_d) throw _e;\n }\n }\n return _arr;\n }\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43]} \ No newline at end of file diff --git a/7208.0175d6e664789ed5.js b/7208.0175d6e664789ed5.js new file mode 100644 index 0000000..19ea944 --- /dev/null +++ b/7208.0175d6e664789ed5.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[7208,7376,5187,4091,1217,4968,4155,1084,6896,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,4680,2111,3326,8596,8352,5501,3098,8608,8443,5915,3278,5391,6748,6763,4151,5069,7432,6618],{35488:(f,n,e)=>{function t(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}e.d(n,{Z:()=>t})},28694:(f,n,e)=>{e.d(n,{Z:()=>i});var t=e(20265),o=e(98568),u=e(43445),r=e(35488);function i(p){var c=(0,o.Z)();return function(){var a,s=(0,t.Z)(p);if(c){var d=(0,t.Z)(this).constructor;a=Reflect.construct(s,arguments,d)}else a=s.apply(this,arguments);return function _(p,c){if(c&&("object"===(0,u.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(p)}(this,a)}}},20265:(f,n,e)=>{function t(o){return(t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)})(o)}e.d(n,{Z:()=>t})},24582:(f,n,e)=>{e.d(n,{Z:()=>o});var t=e(10006);function o(u,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(r&&r.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),r&&(0,t.Z)(u,r)}},98568:(f,n,e)=>{function t(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(n,{Z:()=>t})},10006:(f,n,e)=>{function t(o,u){return(t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_,i){return _.__proto__=i,_})(o,u)}e.d(n,{Z:()=>t})}}]); +//# sourceMappingURL=7208.0175d6e664789ed5.js.map \ No newline at end of file diff --git a/7208.0175d6e664789ed5.js.map b/7208.0175d6e664789ed5.js.map new file mode 100644 index 0000000..bb81937 --- /dev/null +++ b/7208.0175d6e664789ed5.js.map @@ -0,0 +1 @@ +{"version":3,"file":"7208.0175d6e664789ed5.js","mappings":"sQAAe,SAAAA,EAAAC,GACf,YAAAA,EACA,UAAAC,eAAA,6DAEA,OAAAD,CACA,oGCFe,SAAAE,EAAAC,GACf,IAAAC,KAAkCC,EAAAC,KAClC,kBACA,IACAC,EADAC,KAAgBC,EAAAH,GAAcH,GAE9B,GAAAC,EAAA,CACA,IAAAM,KAAsBD,EAAAH,GAAcK,MAAAC,YACpCL,EAAAM,QAAAC,UAAAN,EAAAO,UAAAL,EAAA,MAEAH,EAAAC,EAAAQ,MAAAL,KAAAI,WAEA,OCZe,SAAAE,EAAAjB,EAAAkB,GACf,GAAAA,IAAsB,YAAtBA,EAAeC,EAAAb,GAAOY,IAAA,mBAAAA,GACtB,OAAAA,EACI,YAAAA,EACJ,UAAAE,UAAA,4DAEA,SAASC,EAAAf,GAAqBN,EAC9B,CDKWiB,CAAyBN,KAAAJ,EACpC,CACA,mBEhBe,SAAAe,EAAAC,GACf,OAAAD,EAAAE,OAAAC,eAAAD,OAAAf,eAAAiB,OAAA,SAAAH,GACA,OAAAA,EAAAI,WAAAH,OAAAf,eAAAc,EACA,GACAA,EACA,mECJe,SAAAK,EAAAC,EAAAC,GACf,sBAAAA,GAAA,OAAAA,EACA,UAAAV,UAAA,sDAEAS,EAAAE,UAAAP,OAAAQ,OAAAF,KAAAC,UAAA,CACAnB,YAAA,CACAqB,MAAAJ,EACAK,UAAA,EACAC,cAAA,KAGAX,OAAAY,eAAAP,EAAA,aACAK,UAAA,IAEAJ,MAAkBO,EAAA/B,GAAcuB,EAAAC,EAChC,mBChBe,SAAAQ,IAEf,UADAzB,QAAA,MAAAA,QAAAC,WACAD,QAAAC,UAAAyB,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAAV,UAAAW,QAAAxB,KAAAL,QAAAC,UAAA2B,QAAA,mBACA,CACA,OACA,QACA,CACA,mCCVe,SAAAE,EAAApB,EAAAqB,GACf,OAAAD,EAAAnB,OAAAC,eAAAD,OAAAC,eAAAC,OAAA,SAAAH,EAAAqB,GACA,OAAArB,EAAAI,UAAAiB,EACArB,CACA,GACAA,EAAAqB,EACA","names":["_assertThisInitialized","self","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","call","esm_typeof","TypeError","assertThisInitialized","_getPrototypeOf","o","Object","setPrototypeOf","bind","__proto__","_inherits","subClass","superClass","prototype","create","value","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6]} \ No newline at end of file diff --git a/7328.3db0b9e4fe1dfa43.js b/7328.3db0b9e4fe1dfa43.js new file mode 100644 index 0000000..f9efe33 --- /dev/null +++ b/7328.3db0b9e4fe1dfa43.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[7328,5106,7376,5187,4091,1217,7208,4968,4155,1084,6896,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,4680,2111,3326,8596,8352,5501,3098,8608,8443,5915,3278,5391,6748,1551,6763,4151,5069,7432,6618],{44841:(f,a,t)=>{function r(o,e){(null==e||e>o.length)&&(e=o.length);for(var u=0,n=new Array(e);u<e;u++)n[u]=o[u];return n}t.d(a,{Z:()=>r})},35488:(f,a,t)=>{function r(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}t.d(a,{Z:()=>r})},95106:(f,a,t)=>{t.d(a,{Z:()=>o});var r=t(44206);function o(e,u){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=(0,r.Z)(e))||u&&e&&"number"==typeof e.length){n&&(e=n);var l=0,i=function(){};return{s:i,n:function(){return l>=e.length?{done:!0}:{done:!1,value:e[l++]}},e:function(p){throw p},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,_=!0,d=!1;return{s:function(){n=n.call(e)},n:function(){var p=n.next();return _=p.done,p},e:function(p){d=!0,s=p},f:function(){try{!_&&null!=n.return&&n.return()}finally{if(d)throw s}}}}},28694:(f,a,t)=>{t.d(a,{Z:()=>l});var r=t(20265),o=t(98568),e=t(43445),u=t(35488);function l(i){var _=(0,o.Z)();return function(){var c,s=(0,r.Z)(i);if(_){var p=(0,r.Z)(this).constructor;c=Reflect.construct(s,arguments,p)}else c=s.apply(this,arguments);return function n(i,_){if(_&&("object"===(0,e.Z)(_)||"function"==typeof _))return _;if(void 0!==_)throw new TypeError("Derived constructors may only return object or undefined");return(0,u.Z)(i)}(this,c)}}},20265:(f,a,t)=>{function r(o){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(u){return u.__proto__||Object.getPrototypeOf(u)})(o)}t.d(a,{Z:()=>r})},24582:(f,a,t)=>{t.d(a,{Z:()=>o});var r=t(10006);function o(e,u){if("function"!=typeof u&&null!==u)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(u&&u.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),u&&(0,r.Z)(e,u)}},98568:(f,a,t)=>{function r(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}t.d(a,{Z:()=>r})},4826:(f,a,t)=>{function r(o){if(typeof Symbol<"u"&&null!=o[Symbol.iterator]||null!=o["@@iterator"])return Array.from(o)}t.d(a,{Z:()=>r})},10006:(f,a,t)=>{function r(o,e){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,l){return n.__proto__=l,n})(o,e)}t.d(a,{Z:()=>r})},86170:(f,a,t)=>{t.d(a,{Z:()=>l});var r=t(44841),e=t(4826),u=t(44206);function l(i){return function o(i){if(Array.isArray(i))return(0,r.Z)(i)}(i)||(0,e.Z)(i)||(0,u.Z)(i)||function 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.")}()}},44206:(f,a,t)=>{t.d(a,{Z:()=>o});var r=t(44841);function o(e,u){if(e){if("string"==typeof e)return(0,r.Z)(e,u);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return(0,r.Z)(e,u)}}}}]); +//# sourceMappingURL=7328.3db0b9e4fe1dfa43.js.map \ No newline at end of file diff --git a/7328.3db0b9e4fe1dfa43.js.map b/7328.3db0b9e4fe1dfa43.js.map new file mode 100644 index 0000000..941bb2f --- /dev/null +++ b/7328.3db0b9e4fe1dfa43.js.map @@ -0,0 +1 @@ +{"version":3,"file":"7328.3db0b9e4fe1dfa43.js","mappings":"qRAAe,SAAAA,EAAAC,EAAAC,IACf,MAAAA,KAAAD,EAAAE,UAAAD,EAAAD,EAAAE,QACA,QAAAC,EAAA,EAAAC,EAAA,IAAAC,MAAAJ,GAAyCE,EAAAF,EAASE,IAAAC,EAAAD,GAAAH,EAAAG,GAClD,OAAAC,CACA,mCCJe,SAAAE,EAAAC,GACf,YAAAA,EACA,UAAAC,eAAA,6DAEA,OAAAD,CACA,mECJe,SAAAE,EAAAC,EAAAC,GACf,IAAAC,SAAAC,OAAA,KAAAH,EAAAG,OAAAC,WAAAJ,EAAA,cACA,IAAAE,EAAA,CACA,GAAAP,MAAAU,QAAAL,KAAAE,KAAkCI,EAAAC,GAA0BP,KAAAC,GAAAD,GAAA,iBAAAA,EAAAR,OAAA,CAC5DU,IAAAF,EAAAE,GACA,IAAAT,EAAA,EACAe,EAAA,aACA,OACAC,EAAAD,EACAE,EAAA,WACA,OAAAjB,GAAAO,EAAAR,OAAA,CACAmB,MAAA,GAEA,CACAA,MAAA,EACAC,MAAAZ,EAAAP,KAEA,EACAoB,EAAA,SAAAC,GACA,MAAAA,CACA,EACAC,EAAAP,EACA,CAEA,UAAAQ,UAAA,yIAEA,IAEAC,EAFAC,GAAA,EACAC,GAAA,EAEA,OACAV,EAAA,WACAP,IAAAkB,KAAApB,EACA,EACAU,EAAA,WACA,IAAAW,EAAAnB,EAAAoB,OACA,OAAAJ,EAAAG,EAAAV,KACAU,CACA,EACAR,EAAA,SAAAU,GACAJ,GAAA,EACAF,EAAAM,CACA,EACAR,EAAA,WACA,KACAG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AA,MAAA0D,EAAA,qBAAAnE,MAAAoE,KAAAD,EACA,mCCFe,SAAAE,EAAAhE,EAAAiE,GACf,OAAAD,EAAArB,OAAAC,eAAAD,OAAAC,eAAAC,OAAA,SAAA7C,EAAAiE,GACA,OAAAjE,EAAA8C,UAAAmB,EACAjE,CACA,GACAA,EAAAiE,EACA,wFCFe,SAAAC,EAAA5E,GACf,OCJe,SAAA6E,EAAA7E,GACf,GAAAK,MAAAU,QAAAf,GAAA,SAAiC8E,EAAA7D,GAAgBjB,EACjD,CDES6E,CAAiB7E,KAAA,EAAS+E,EAAA9D,GAAejB,KAAA,EAASgF,EAAA/D,GAA0BjB,IELtE,SAAAiF,IACf,UAAAvD,UAAA,uIACA,CFG8FuD,EAC9F,mDGLe,SAAAC,EAAAxE,EAAAyE,GACf,GAAAzE,EACA,qBAAAA,EAAA,SAAoC0E,EAAAnE,GAAgBP,EAAAyE,GACpD,IAAA/D,EAAAiC,OAAAO,UAAAyB,SAAAvD,KAAApB,GAAA4E,MAAA,MAEA,GADA,WAAAlE,GAAAV,EAAAkC,cAAAxB,EAAAV,EAAAkC,YAAA2C,MACA,QAAAnE,GAAA,QAAAA,EAAA,OAAAf,MAAAoE,KAAA/D,GACA,iBAAAU,GAAA,2CAAAoE,KAAApE,GAAA,SAAsFgE,EAAAnE,GAAgBP,EAAAyE,EAAA,CACtG","names":["_arrayLikeToArray","arr","len","length","i","arr2","Array","_assertThisInitialized","self","ReferenceError","_createForOfIteratorHelper","o","allowArrayLike","it","Symbol","iterator","isArray","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","s","n","done","value","e","_e","f","TypeError","err","normalCompletion","didErr","call","step","next","_e2","return","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","esm_typeof","assertThisInitialized","_getPrototypeOf","Object","setPrototypeOf","bind","__proto__","_inherits","subClass","superClass","prototype","create","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_iterableToArray","iter","from","_setPrototypeOf","p","_toConsumableArray","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","toString","slice","name","test"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13]} \ No newline at end of file diff --git a/7376.8b32539275c4a110.js b/7376.8b32539275c4a110.js new file mode 100644 index 0000000..cc57569 --- /dev/null +++ b/7376.8b32539275c4a110.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[7376,5187,4091,1217,7208,4968,4155,1084,6896,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,4680,2111,3326,8596,8352,5501,3098,8608,8443,5915,3278,5391,6748,6763,4151,5069,7432,6618],{35488:(f,n,e)=>{function t(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}e.d(n,{Z:()=>t})},28694:(f,n,e)=>{e.d(n,{Z:()=>i});var t=e(20265),o=e(98568),u=e(43445),r=e(35488);function i(p){var c=(0,o.Z)();return function(){var a,s=(0,t.Z)(p);if(c){var d=(0,t.Z)(this).constructor;a=Reflect.construct(s,arguments,d)}else a=s.apply(this,arguments);return function _(p,c){if(c&&("object"===(0,u.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(p)}(this,a)}}},20265:(f,n,e)=>{function t(o){return(t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)})(o)}e.d(n,{Z:()=>t})},24582:(f,n,e)=>{e.d(n,{Z:()=>o});var t=e(10006);function o(u,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(r&&r.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),r&&(0,t.Z)(u,r)}},98568:(f,n,e)=>{function t(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(n,{Z:()=>t})},10006:(f,n,e)=>{function t(o,u){return(t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_,i){return _.__proto__=i,_})(o,u)}e.d(n,{Z:()=>t})}}]); +//# sourceMappingURL=7376.8b32539275c4a110.js.map \ No newline at end of file diff --git a/7376.8b32539275c4a110.js.map b/7376.8b32539275c4a110.js.map new file mode 100644 index 0000000..4d7d908 --- /dev/null +++ b/7376.8b32539275c4a110.js.map @@ -0,0 +1 @@ +{"version":3,"file":"7376.8b32539275c4a110.js","mappings":"sQAAe,SAAAA,EAAAC,GACf,YAAAA,EACA,UAAAC,eAAA,6DAEA,OAAAD,CACA,oGCFe,SAAAE,EAAAC,GACf,IAAAC,KAAkCC,EAAAC,KAClC,kBACA,IACAC,EADAC,KAAgBC,EAAAH,GAAcH,GAE9B,GAAAC,EAAA,CACA,IAAAM,KAAsBD,EAAAH,GAAcK,MAAAC,YACpCL,EAAAM,QAAAC,UAAAN,EAAAO,UAAAL,EAAA,MAEAH,EAAAC,EAAAQ,MAAAL,KAAAI,WAEA,OCZe,SAAAE,EAAAjB,EAAAkB,GACf,GAAAA,IAAsB,YAAtBA,EAAeC,EAAAb,GAAOY,IAAA,mBAAAA,GACtB,OAAAA,EACI,YAAAA,EACJ,UAAAE,UAAA,4DAEA,SAASC,EAAAf,GAAqBN,EAC9B,CDKWiB,CAAyBN,KAAAJ,EACpC,CACA,mBEhBe,SAAAe,EAAAC,GACf,OAAAD,EAAAE,OAAAC,eAAAD,OAAAf,eAAAiB,OAAA,SAAAH,GACA,OAAAA,EAAAI,WAAAH,OAAAf,eAAAc,EACA,GACAA,EACA,mECJe,SAAAK,EAAAC,EAAAC,GACf,sBAAAA,GAAA,OAAAA,EACA,UAAAV,UAAA,sDAEAS,EAAAE,UAAAP,OAAAQ,OAAAF,KAAAC,UAAA,CACAnB,YAAA,CACAqB,MAAAJ,EACAK,UAAA,EACAC,cAAA,KAGAX,OAAAY,eAAAP,EAAA,aACAK,UAAA,IAEAJ,MAAkBO,EAAA/B,GAAcuB,EAAAC,EAChC,mBChBe,SAAAQ,IAEf,UADAzB,QAAA,MAAAA,QAAAC,WACAD,QAAAC,UAAAyB,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAAV,UAAAW,QAAAxB,KAAAL,QAAAC,UAAA2B,QAAA,mBACA,CACA,OACA,QACA,CACA,mCCVe,SAAAE,EAAApB,EAAAqB,GACf,OAAAD,EAAAnB,OAAAC,eAAAD,OAAAC,eAAAC,OAAA,SAAAH,EAAAqB,GACA,OAAArB,EAAAI,UAAAiB,EACArB,CACA,GACAA,EAAAqB,EACA","names":["_assertThisInitialized","self","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","call","esm_typeof","TypeError","assertThisInitialized","_getPrototypeOf","o","Object","setPrototypeOf","bind","__proto__","_inherits","subClass","superClass","prototype","create","value","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6]} \ No newline at end of file diff --git a/7432.60cdd2184b9bcbf3.js b/7432.60cdd2184b9bcbf3.js new file mode 100644 index 0000000..643ed2a --- /dev/null +++ b/7432.60cdd2184b9bcbf3.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[7432,7376,5187,4091,1217,7208,4968,4155,1084,6896,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,4680,2111,3326,8596,8352,5501,3098,8608,8443,5915,3278,5391,6748,6763,4151,5069,6618],{35488:(f,n,e)=>{function t(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}e.d(n,{Z:()=>t})},28694:(f,n,e)=>{e.d(n,{Z:()=>i});var t=e(20265),o=e(98568),u=e(43445),r=e(35488);function i(p){var c=(0,o.Z)();return function(){var a,s=(0,t.Z)(p);if(c){var d=(0,t.Z)(this).constructor;a=Reflect.construct(s,arguments,d)}else a=s.apply(this,arguments);return function _(p,c){if(c&&("object"===(0,u.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(p)}(this,a)}}},20265:(f,n,e)=>{function t(o){return(t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)})(o)}e.d(n,{Z:()=>t})},24582:(f,n,e)=>{e.d(n,{Z:()=>o});var t=e(10006);function o(u,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(r&&r.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),r&&(0,t.Z)(u,r)}},98568:(f,n,e)=>{function t(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(n,{Z:()=>t})},10006:(f,n,e)=>{function t(o,u){return(t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_,i){return _.__proto__=i,_})(o,u)}e.d(n,{Z:()=>t})}}]); +//# sourceMappingURL=7432.60cdd2184b9bcbf3.js.map \ No newline at end of file diff --git a/7432.60cdd2184b9bcbf3.js.map b/7432.60cdd2184b9bcbf3.js.map new file mode 100644 index 0000000..9d8384f --- /dev/null +++ b/7432.60cdd2184b9bcbf3.js.map @@ -0,0 +1 @@ +{"version":3,"file":"7432.60cdd2184b9bcbf3.js","mappings":"sQAAe,SAAAA,EAAAC,GACf,YAAAA,EACA,UAAAC,eAAA,6DAEA,OAAAD,CACA,oGCFe,SAAAE,EAAAC,GACf,IAAAC,KAAkCC,EAAAC,KAClC,kBACA,IACAC,EADAC,KAAgBC,EAAAH,GAAcH,GAE9B,GAAAC,EAAA,CACA,IAAAM,KAAsBD,EAAAH,GAAcK,MAAAC,YACpCL,EAAAM,QAAAC,UAAAN,EAAAO,UAAAL,EAAA,MAEAH,EAAAC,EAAAQ,MAAAL,KAAAI,WAEA,OCZe,SAAAE,EAAAjB,EAAAkB,GACf,GAAAA,IAAsB,YAAtBA,EAAeC,EAAAb,GAAOY,IAAA,mBAAAA,GACtB,OAAAA,EACI,YAAAA,EACJ,UAAAE,UAAA,4DAEA,SAASC,EAAAf,GAAqBN,EAC9B,CDKWiB,CAAyBN,KAAAJ,EACpC,CACA,mBEhBe,SAAAe,EAAAC,GACf,OAAAD,EAAAE,OAAAC,eAAAD,OAAAf,eAAAiB,OAAA,SAAAH,GACA,OAAAA,EAAAI,WAAAH,OAAAf,eAAAc,EACA,GACAA,EACA,mECJe,SAAAK,EAAAC,EAAAC,GACf,sBAAAA,GAAA,OAAAA,EACA,UAAAV,UAAA,sDAEAS,EAAAE,UAAAP,OAAAQ,OAAAF,KAAAC,UAAA,CACAnB,YAAA,CACAqB,MAAAJ,EACAK,UAAA,EACAC,cAAA,KAGAX,OAAAY,eAAAP,EAAA,aACAK,UAAA,IAEAJ,MAAkBO,EAAA/B,GAAcuB,EAAAC,EAChC,mBChBe,SAAAQ,IAEf,UADAzB,QAAA,MAAAA,QAAAC,WACAD,QAAAC,UAAAyB,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAAV,UAAAW,QAAAxB,KAAAL,QAAAC,UAAA2B,QAAA,mBACA,CACA,OACA,QACA,CACA,mCCVe,SAAAE,EAAApB,EAAAqB,GACf,OAAAD,EAAAnB,OAAAC,eAAAD,OAAAC,eAAAC,OAAA,SAAAH,EAAAqB,GACA,OAAArB,EAAAI,UAAAiB,EACArB,CACA,GACAA,EAAAqB,EACA","names":["_assertThisInitialized","self","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","call","esm_typeof","TypeError","assertThisInitialized","_getPrototypeOf","o","Object","setPrototypeOf","bind","__proto__","_inherits","subClass","superClass","prototype","create","value","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6]} \ No newline at end of file diff --git a/7477.7a3179a930219ad9.js b/7477.7a3179a930219ad9.js new file mode 100644 index 0000000..390780b --- /dev/null +++ b/7477.7a3179a930219ad9.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[7477,3022,5106,7376,5187,4091,1217,7208,4968,6785,4155,1084,6896,7920,6980,5113,1328,5749,4309,8024,8513,5555,4967,8017,8116,5873,8061,4680,2112,2111,3326,8596,8352,5501,882,3098,8467,6578,8608,8443,7328,5915,3278,5391,6748,1551,6763,4151,5069,7432,8071,6618],{50253:(k,v,e)=>{e.d(v,{x:()=>F});var c=e(95106),d=e(78069),s=e(48047),l=e(4089),o=e(20265),g=e(24582),t=e(28694),m=e(90833),M=e(17714),C=(0,e(27543).d)(function(A){return function(){A(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),D=e(39663),I=e(12309),F=function(){var A=function(B){(0,g.Z)(R,B);var Z=(0,t.Z)(R);function R(){var _;return(0,d.Z)(this,R),(_=Z.call(this)).closed=!1,_.currentObservers=null,_.observers=[],_.isStopped=!1,_.hasError=!1,_.thrownError=null,_}return(0,s.Z)(R,[{key:"lift",value:function(p){var y=new T(this,this);return y.operator=p,y}},{key:"_throwIfClosed",value:function(){if(this.closed)throw new C}},{key:"next",value:function(p){var y=this;(0,I.x)(function(){if(y._throwIfClosed(),!y.isStopped){y.currentObservers||(y.currentObservers=Array.from(y.observers));var b,w=(0,c.Z)(y.currentObservers);try{for(w.s();!(b=w.n()).done;)b.value.next(p)}catch(S){w.e(S)}finally{w.f()}}})}},{key:"error",value:function(p){var y=this;(0,I.x)(function(){if(y._throwIfClosed(),!y.isStopped){y.hasError=y.isStopped=!0,y.thrownError=p;for(var w=y.observers;w.length;)w.shift().error(p)}})}},{key:"complete",value:function(){var p=this;(0,I.x)(function(){if(p._throwIfClosed(),!p.isStopped){p.isStopped=!0;for(var y=p.observers;y.length;)y.shift().complete()}})}},{key:"unsubscribe",value:function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}},{key:"observed",get:function(){var p;return(null===(p=this.observers)||void 0===p?void 0:p.length)>0}},{key:"_trySubscribe",value:function(p){return this._throwIfClosed(),(0,l.Z)((0,o.Z)(R.prototype),"_trySubscribe",this).call(this,p)}},{key:"_subscribe",value:function(p){return this._throwIfClosed(),this._checkFinalizedStatuses(p),this._innerSubscribe(p)}},{key:"_innerSubscribe",value:function(p){var y=this,x=this.observers;return this.hasError||this.isStopped?M.Lc:(this.currentObservers=null,x.push(p),new M.w0(function(){y.currentObservers=null,(0,D.P)(x,p)}))}},{key:"_checkFinalizedStatuses",value:function(p){var b=this.isStopped;this.hasError?p.error(this.thrownError):b&&p.complete()}},{key:"asObservable",value:function(){var p=new m.y;return p.source=this,p}}]),R}(m.y);return A.create=function(B,Z){return new T(B,Z)},A}(),T=function(A){(0,g.Z)(Z,A);var B=(0,t.Z)(Z);function Z(R,_){var p;return(0,d.Z)(this,Z),(p=B.call(this)).destination=R,p.source=_,p}return(0,s.Z)(Z,[{key:"next",value:function(_){var p,y;null===(y=null===(p=this.destination)||void 0===p?void 0:p.next)||void 0===y||y.call(p,_)}},{key:"error",value:function(_){var p,y;null===(y=null===(p=this.destination)||void 0===p?void 0:p.error)||void 0===y||y.call(p,_)}},{key:"complete",value:function(){var _,p;null===(p=null===(_=this.destination)||void 0===_?void 0:_.complete)||void 0===p||p.call(_)}},{key:"_subscribe",value:function(_){var p,y;return null!==(y=null===(p=this.source)||void 0===p?void 0:p.subscribe(_))&&void 0!==y?y:M.Lc}}]),Z}(F)},59319:(k,v,e)=>{e.d(v,{z:()=>o});var c=e(1308),s=e(10420),l=e(37400);function o(){for(var g=arguments.length,t=new Array(g),m=0;m<g;m++)t[m]=arguments[m];return function d(){return(0,c.J)(1)}()((0,l.D)(t,(0,s.yG)(t)))}},37400:(k,v,e)=>{e.d(v,{D:()=>w});var c=e(54987),d=e(8728),s=e(41944);function l(b){var x=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,s.e)(function(S,P){P.add(b.schedule(function(){return S.subscribe(P)},x))})}var t=e(90833),M=e(67321),E=e(92971),C=e(1817);function I(b,x){if(!b)throw new Error("Iterable cannot be null");return new t.y(function(S){(0,C.f)(S,x,function(){var P=b[Symbol.asyncIterator]();(0,C.f)(S,x,function(){P.next().then(function(U){U.done?S.complete():S.next(U.value)})},0,!0)})})}var F=e(21331),T=e(79548),A=e(99806),B=e(23433),Z=e(80470),R=e(27785),_=e(20181);function w(b,x){return x?function y(b,x){if(null!=b){if((0,F.c)(b))return function o(b,x){return(0,c.Xf)(b).pipe(l(x),(0,d.Q)(x))}(b,x);if((0,A.z)(b))return function m(b,x){return new t.y(function(S){var P=0;return x.schedule(function(){P===b.length?S.complete():(S.next(b[P++]),S.closed||this.schedule())})})}(b,x);if((0,T.t)(b))return function g(b,x){return(0,c.Xf)(b).pipe(l(x),(0,d.Q)(x))}(b,x);if((0,Z.D)(b))return I(b,x);if((0,B.T)(b))return function D(b,x){return new t.y(function(S){var P;return(0,C.f)(S,x,function(){P=b[M.h](),(0,C.f)(S,x,function(){var U,W;try{var N=P.next();U=N.value,W=N.done}catch(z){return void S.error(z)}W?S.complete():S.next(U)},0,!0)}),function(){return(0,E.m)(P?.return)&&P.return()}})}(b,x);if((0,_.L)(b))return function p(b,x){return I((0,_.Q)(b),x)}(b,x)}throw(0,R.z)(b)}(b,x):(0,c.Xf)(b)}},93945:(k,v,e)=>{e.d(v,{Q:()=>E,x:()=>M});var c=e(78069),d=e(48047),s=e(35488),l=e(24582),o=e(28694),g=e(4089),t=e(20265);function M(C,D,I,F,T){return new E(C,D,I,F,T)}var E=function(C){(0,l.Z)(I,C);var D=(0,o.Z)(I);function I(F,T,A,B,Z,R){var _,p,y,w;return(0,c.Z)(this,I),(w=D.call(this,F)).onFinalize=Z,w.shouldUnsubscribe=R,w._next=T?function(b){try{T(b)}catch(x){F.error(x)}}:(0,g.Z)((_=(0,s.Z)(w),(0,t.Z)(I.prototype)),"_next",_),w._error=B?function(b){try{B(b)}catch(x){F.error(x)}finally{this.unsubscribe()}}:(0,g.Z)((p=(0,s.Z)(w),(0,t.Z)(I.prototype)),"_error",p),w._complete=A?function(){try{A()}catch(b){F.error(b)}finally{this.unsubscribe()}}:(0,g.Z)((y=(0,s.Z)(w),(0,t.Z)(I.prototype)),"_complete",y),w}return(0,d.Z)(I,[{key:"unsubscribe",value:function(){var T;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var A=this.closed;(0,g.Z)((0,t.Z)(I.prototype),"unsubscribe",this).call(this),!A&&(null===(T=this.onFinalize)||void 0===T||T.call(this))}}}]),I}(e(5463).Lv)},50635:(k,v,e)=>{e.d(v,{U:()=>s});var c=e(41944),d=e(93945);function s(l,o){return(0,c.e)(function(g,t){var m=0;g.subscribe((0,d.x)(t,function(M){t.next(l.call(o,M,m++))}))})}},1308:(k,v,e)=>{e.d(v,{J:()=>s});var c=e(49525),d=e(89173);function s(){return(0,c.z)(d.y,arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0)}},49525:(k,v,e)=>{e.d(v,{z:()=>m});var c=e(50635),d=e(54987),s=e(41944),l=e(1817),o=e(93945),t=e(92971);function m(M,E){var C=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;return(0,t.m)(E)?m(function(D,I){return(0,c.U)(function(F,T){return E(D,F,I,T)})((0,d.Xf)(M(D,I)))},C):("number"==typeof E&&(C=E),(0,s.e)(function(D,I){return function g(M,E,C,D,I,F,T,A){var B=[],Z=0,R=0,_=!1,p=function(){_&&!B.length&&!Z&&E.complete()},y=function(x){return Z<D?w(x):B.push(x)},w=function b(x){F&&E.next(x),Z++;var S=!1;(0,d.Xf)(C(x,R++)).subscribe((0,o.x)(E,function(P){I?.(P),F?y(P):E.next(P)},function(){S=!0},void 0,function(){if(S)try{Z--;for(var P=function(){var W=B.shift();T?(0,l.f)(E,T,function(){return b(W)}):b(W)};B.length&&Z<D;)P();p()}catch(U){E.error(U)}}))};return M.subscribe((0,o.x)(E,y,function(){_=!0,p()})),function(){A?.()}}(D,I,M,C)}))}},8728:(k,v,e)=>{e.d(v,{Q:()=>l});var c=e(1817),d=e(41944),s=e(93945);function l(o){var g=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,d.e)(function(t,m){t.subscribe((0,s.x)(m,function(M){return(0,c.f)(m,o,function(){return m.next(M)},g)},function(){return(0,c.f)(m,o,function(){return m.complete()},g)},function(M){return(0,c.f)(m,o,function(){return m.error(M)},g)}))})}},44874:(k,v,e)=>{e.d(v,{O:()=>l});var c=e(59319),d=e(10420),s=e(41944);function l(){for(var o=arguments.length,g=new Array(o),t=0;t<o;t++)g[t]=arguments[t];var m=(0,d.yG)(g);return(0,s.e)(function(M,E){(m?(0,c.z)(g,M,m):(0,c.z)(g,M)).subscribe(E)})}},68951:(k,v,e)=>{e.d(v,{R:()=>o});var c=e(41944),d=e(93945),s=e(54987),l=e(99635);function o(g){return(0,c.e)(function(t,m){(0,s.Xf)(g).subscribe((0,d.x)(m,function(){return m.complete()},l.Z)),!m.closed&&t.subscribe(m)})}},10420:(k,v,e)=>{e.d(v,{_6:()=>g,jO:()=>l,yG:()=>o});var c=e(92971),d=e(59867);function s(t){return t[t.length-1]}function l(t){return(0,c.m)(s(t))?t.pop():void 0}function o(t){return(0,d.K)(s(t))?t.pop():void 0}function g(t,m){return"number"==typeof s(t)?t.pop():m}},1817:(k,v,e)=>{function c(d,s,l){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,g=arguments.length>4&&void 0!==arguments[4]&&arguments[4],t=s.schedule(function(){l(),g?d.add(this.schedule(null,o)):this.unsubscribe()},o);if(d.add(t),!g)return t}e.d(v,{f:()=>c})},59867:(k,v,e)=>{e.d(v,{K:()=>d});var c=e(92971);function d(s){return s&&(0,c.m)(s.schedule)}},41944:(k,v,e)=>{e.d(v,{A:()=>d,e:()=>s});var c=e(92971);function d(l){return(0,c.m)(l?.lift)}function s(l){return function(o){if(d(o))return o.lift(function(g){try{return l(g,this)}catch(t){this.error(t)}});throw new TypeError("Unable to lift unknown Observable type")}}},10974:(k,v,e)=>{e.r(v),e.d(v,{MAT_LEGACY_LIST:()=>E.MAT_LIST,MAT_LEGACY_NAV_LIST:()=>E.MAT_NAV_LIST,MAT_LEGACY_SELECTION_LIST_VALUE_ACCESSOR:()=>X,MatLegacyList:()=>N,MatLegacyListAvatarCssMatStyler:()=>z,MatLegacyListIconCssMatStyler:()=>V,MatLegacyListItem:()=>q,MatLegacyListModule:()=>it,MatLegacyListOption:()=>J,MatLegacyListSubheaderCssMatStyler:()=>$,MatLegacyNavList:()=>W,MatLegacySelectionList:()=>H,MatLegacySelectionListChange:()=>Y});var c=e(95106),d=e(24582),s=e(28694),l=e(48047),o=e(78069),g=e(94055),t=e(56718),m=e(6606),M=e(35333),E=e(90297),C=e(50253),D=e(68951),I=e(44874),F=e(908),T=e(81382),A=e(52069),B=e(47405),Z=e(97040),R=["*"],_='.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:hover{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}',p=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],y=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],w=["text"];function b(r,L){if(1&r&&t.\u0275\u0275element(0,"mat-pseudo-checkbox",5),2&r){var u=t.\u0275\u0275nextContext();t.\u0275\u0275property("state",u.selected?"checked":"unchecked")("disabled",u.disabled)}}var x=["*",[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]]],S=["*","[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]"],P=(0,m.mixinDisabled)((0,m.mixinDisableRipple)(function(){return(0,l.Z)(function r(){(0,o.Z)(this,r)})}())),U=(0,m.mixinDisableRipple)(function(){return(0,l.Z)(function r(){(0,o.Z)(this,r)})}()),W=function(){var r=function(L){(0,d.Z)(n,L);var u=(0,s.Z)(n);function n(){var a;return(0,o.Z)(this,n),(a=u.apply(this,arguments))._stateChanges=new C.x,a}return(0,l.Z)(n,[{key:"ngOnChanges",value:function(){this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}}]),n}(P);return r.\u0275fac=function(){var L;return function(n){return(L||(L=t.\u0275\u0275getInheritedFactory(r)))(n||r)}}(),r.\u0275cmp=t.\u0275\u0275defineComponent({type:r,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[t.\u0275\u0275ProvidersFeature([{provide:E.MAT_NAV_LIST,useExisting:r}]),t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275NgOnChangesFeature],ngContentSelectors:R,decls:1,vars:0,template:function(u,n){1&u&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275projection(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:hover{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}'],encapsulation:2,changeDetection:0}),r}(),N=function(){var r=function(L){(0,d.Z)(n,L);var u=(0,s.Z)(n);function n(a){var i;return(0,o.Z)(this,n),(i=u.call(this))._elementRef=a,i._stateChanges=new C.x,"action-list"===i._getListType()&&(a.nativeElement.classList.add("mat-action-list"),a.nativeElement.setAttribute("role","group")),i}return(0,l.Z)(n,[{key:"_getListType",value:function(){var i=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===i?"list":"mat-action-list"===i?"action-list":null}},{key:"ngOnChanges",value:function(){this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}}]),n}(P);return r.\u0275fac=function(u){return new(u||r)(t.\u0275\u0275directiveInject(t.ElementRef))},r.\u0275cmp=t.\u0275\u0275defineComponent({type:r,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[t.\u0275\u0275ProvidersFeature([{provide:E.MAT_LIST,useExisting:r}]),t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275NgOnChangesFeature],ngContentSelectors:R,decls:1,vars:0,template:function(u,n){1&u&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275projection(0))},styles:[_],encapsulation:2,changeDetection:0}),r}(),z=function(){var r=(0,l.Z)(function L(){(0,o.Z)(this,L)});return r.\u0275fac=function(u){return new(u||r)},r.\u0275dir=t.\u0275\u0275defineDirective({type:r,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),r}(),V=function(){var r=(0,l.Z)(function L(){(0,o.Z)(this,L)});return r.\u0275fac=function(u){return new(u||r)},r.\u0275dir=t.\u0275\u0275defineDirective({type:r,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),r}(),$=function(){var r=(0,l.Z)(function L(){(0,o.Z)(this,L)});return r.\u0275fac=function(u){return new(u||r)},r.\u0275dir=t.\u0275\u0275defineDirective({type:r,selectors:[["","mat-subheader",""],["","matSubheader",""]],hostAttrs:[1,"mat-subheader"]}),r}(),q=function(){var r=function(L){(0,d.Z)(n,L);var u=(0,s.Z)(n);function n(a,i,f,h){var O;(0,o.Z)(this,n),(O=u.call(this))._element=a,O._isInteractiveList=!1,O._destroyed=new C.x,O._disabled=!1,O._isInteractiveList=!!(f||h&&"action-list"===h._getListType()),O._list=f||h;var j=O._getHostElement();return"button"===j.nodeName.toLowerCase()&&!j.hasAttribute("type")&&j.setAttribute("type","button"),O._list&&O._list._stateChanges.pipe((0,D.R)(O._destroyed)).subscribe(function(){i.markForCheck()}),O}return(0,l.Z)(n,[{key:"disabled",get:function(){return this._disabled||!(!this._list||!this._list.disabled)},set:function(i){this._disabled=(0,M.coerceBooleanProperty)(i)}},{key:"ngAfterContentInit",value:function(){(0,m.setLines)(this._lines,this._element)}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_isRippleDisabled",value:function(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}},{key:"_getHostElement",value:function(){return this._element.nativeElement}}]),n}(U);return r.\u0275fac=function(u){return new(u||r)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(E.MAT_NAV_LIST,8),t.\u0275\u0275directiveInject(E.MAT_LIST,8))},r.\u0275cmp=t.\u0275\u0275defineComponent({type:r,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(u,n,a){var i;1&u&&(t.\u0275\u0275contentQuery(a,z,5),t.\u0275\u0275contentQuery(a,V,5),t.\u0275\u0275contentQuery(a,m.MatLine,5)),2&u&&(t.\u0275\u0275queryRefresh(i=t.\u0275\u0275loadQuery())&&(n._avatar=i.first),t.\u0275\u0275queryRefresh(i=t.\u0275\u0275loadQuery())&&(n._icon=i.first),t.\u0275\u0275queryRefresh(i=t.\u0275\u0275loadQuery())&&(n._lines=i))},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:4,hostBindings:function(u,n){2&u&&t.\u0275\u0275classProp("mat-list-item-disabled",n.disabled)("mat-list-item-with-avatar",n._avatar||n._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[t.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:y,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(u,n){1&u&&(t.\u0275\u0275projectionDef(p),t.\u0275\u0275elementStart(0,"span",0),t.\u0275\u0275element(1,"span",1),t.\u0275\u0275projection(2),t.\u0275\u0275elementStart(3,"span",2),t.\u0275\u0275projection(4,1),t.\u0275\u0275elementEnd(),t.\u0275\u0275projection(5,2),t.\u0275\u0275elementEnd()),2&u&&(t.\u0275\u0275advance(1),t.\u0275\u0275property("matRippleTrigger",n._getHostElement())("matRippleDisabled",n._isRippleDisabled()))},dependencies:[m.MatRipple],encapsulation:2,changeDetection:0}),r}(),tt=(0,m.mixinDisableRipple)(function(){return(0,l.Z)(function r(){(0,o.Z)(this,r)})}()),et=(0,m.mixinDisableRipple)(function(){return(0,l.Z)(function r(){(0,o.Z)(this,r)})}()),X={provide:B.NG_VALUE_ACCESSOR,useExisting:(0,t.forwardRef)(function(){return H}),multi:!0},Y=(0,l.Z)(function r(L,u){(0,o.Z)(this,r),this.source=L,this.options=u}),J=function(){var r=function(L){(0,d.Z)(n,L);var u=(0,s.Z)(n);function n(a,i,f){var h;return(0,o.Z)(this,n),(h=u.call(this))._element=a,h._changeDetector=i,h.selectionList=f,h._selected=!1,h._disabled=!1,h._hasFocus=!1,h.selectedChange=new t.EventEmitter,h.checkboxPosition="after",h._inputsInitialized=!1,h}return(0,l.Z)(n,[{key:"color",get:function(){return this._color||this.selectionList.color},set:function(i){this._color=i}},{key:"value",get:function(){return this._value},set:function(i){this.selected&&!this.selectionList.compareWith(i,this.value)&&this._inputsInitialized&&(this.selected=!1),this._value=i}},{key:"disabled",get:function(){return this._disabled||this.selectionList&&this.selectionList.disabled},set:function(i){var f=(0,M.coerceBooleanProperty)(i);f!==this._disabled&&(this._disabled=f,this._changeDetector.markForCheck())}},{key:"selected",get:function(){return this.selectionList.selectedOptions.isSelected(this)},set:function(i){var f=(0,M.coerceBooleanProperty)(i);f!==this._selected&&(this._setSelected(f),(f||this.selectionList.multiple)&&this.selectionList._reportValueChange())}},{key:"ngOnInit",value:function(){var i=this,f=this.selectionList;f._value&&f._value.some(function(O){return f.compareWith(i._value,O)})&&this._setSelected(!0);var h=this._selected;Promise.resolve().then(function(){(i._selected||h)&&(i.selected=!0,i._changeDetector.markForCheck())}),this._inputsInitialized=!0}},{key:"ngAfterContentInit",value:function(){(0,m.setLines)(this._lines,this._element)}},{key:"ngOnDestroy",value:function(){var i=this;this.selected&&Promise.resolve().then(function(){i.selected=!1});var f=this._hasFocus,h=this.selectionList._removeOptionFromList(this);f&&h&&h.focus()}},{key:"toggle",value:function(){this.selected=!this.selected}},{key:"focus",value:function(){this._element.nativeElement.focus()}},{key:"getLabel",value:function(){return this._text&&this._text.nativeElement.textContent||""}},{key:"_isRippleDisabled",value:function(){return this.disabled||this.disableRipple||this.selectionList.disableRipple}},{key:"_handleClick",value:function(){!this.disabled&&(this.selectionList.multiple||!this.selected)&&(this.toggle(),this.selectionList._emitChangeEvent([this]))}},{key:"_handleFocus",value:function(){this.selectionList._setFocusedOption(this),this._hasFocus=!0}},{key:"_handleBlur",value:function(){this.selectionList._onTouched(),this._hasFocus=!1}},{key:"_getHostElement",value:function(){return this._element.nativeElement}},{key:"_setSelected",value:function(i){return i!==this._selected&&(this._selected=i,i?this.selectionList.selectedOptions.select(this):this.selectionList.selectedOptions.deselect(this),this.selectedChange.emit(i),this._changeDetector.markForCheck(),!0)}},{key:"_markForCheck",value:function(){this._changeDetector.markForCheck()}}]),n}(et);return r.\u0275fac=function(u){return new(u||r)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject((0,t.forwardRef)(function(){return H})))},r.\u0275cmp=t.\u0275\u0275defineComponent({type:r,selectors:[["mat-list-option"]],contentQueries:function(u,n,a){var i;1&u&&(t.\u0275\u0275contentQuery(a,z,5),t.\u0275\u0275contentQuery(a,V,5),t.\u0275\u0275contentQuery(a,m.MatLine,5)),2&u&&(t.\u0275\u0275queryRefresh(i=t.\u0275\u0275loadQuery())&&(n._avatar=i.first),t.\u0275\u0275queryRefresh(i=t.\u0275\u0275loadQuery())&&(n._icon=i.first),t.\u0275\u0275queryRefresh(i=t.\u0275\u0275loadQuery())&&(n._lines=i))},viewQuery:function(u,n){var a;1&u&&t.\u0275\u0275viewQuery(w,5),2&u&&t.\u0275\u0275queryRefresh(a=t.\u0275\u0275loadQuery())&&(n._text=a.first)},hostAttrs:["role","option",1,"mat-list-item","mat-list-option","mat-focus-indicator"],hostVars:15,hostBindings:function(u,n){1&u&&t.\u0275\u0275listener("focus",function(){return n._handleFocus()})("blur",function(){return n._handleBlur()})("click",function(){return n._handleClick()}),2&u&&(t.\u0275\u0275attribute("aria-selected",n.selected)("aria-disabled",n.disabled)("tabindex",-1),t.\u0275\u0275classProp("mat-list-item-disabled",n.disabled)("mat-list-item-with-avatar",n._avatar||n._icon)("mat-primary","primary"===n.color)("mat-accent","primary"!==n.color&&"warn"!==n.color)("mat-warn","warn"===n.color)("mat-list-single-selected-option",n.selected&&!n.selectionList.multiple))},inputs:{disableRipple:"disableRipple",checkboxPosition:"checkboxPosition",color:"color",value:"value",disabled:"disabled",selected:"selected"},outputs:{selectedChange:"selectedChange"},exportAs:["matListOption"],features:[t.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:S,decls:7,vars:5,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[3,"state","disabled",4,"ngIf"],[1,"mat-list-text"],["text",""],[3,"state","disabled"]],template:function(u,n){1&u&&(t.\u0275\u0275projectionDef(x),t.\u0275\u0275elementStart(0,"div",0),t.\u0275\u0275element(1,"div",1),t.\u0275\u0275template(2,b,1,2,"mat-pseudo-checkbox",2),t.\u0275\u0275elementStart(3,"div",3,4),t.\u0275\u0275projection(5),t.\u0275\u0275elementEnd(),t.\u0275\u0275projection(6,1),t.\u0275\u0275elementEnd()),2&u&&(t.\u0275\u0275classProp("mat-list-item-content-reverse","after"==n.checkboxPosition),t.\u0275\u0275advance(1),t.\u0275\u0275property("matRippleTrigger",n._getHostElement())("matRippleDisabled",n._isRippleDisabled()),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",n.selectionList.multiple))},dependencies:[m.MatRipple,m.MatPseudoCheckbox,g.NgIf],encapsulation:2,changeDetection:0}),r}(),H=function(){var r=function(L){(0,d.Z)(n,L);var u=(0,s.Z)(n);function n(a,i,f){var h;return(0,o.Z)(this,n),(h=u.call(this))._element=a,h._changeDetector=i,h._focusMonitor=f,h._multiple=!0,h._contentInitialized=!1,h.selectionChange=new t.EventEmitter,h.color="accent",h.compareWith=function(O,j){return O===j},h._disabled=!1,h.selectedOptions=new T.SelectionModel(h._multiple),h._tabIndex=-1,h._onChange=function(O){},h._destroyed=new C.x,h._onTouched=function(){},h}return(0,l.Z)(n,[{key:"disabled",get:function(){return this._disabled},set:function(i){this._disabled=(0,M.coerceBooleanProperty)(i),this._markOptionsForCheck()}},{key:"multiple",get:function(){return this._multiple},set:function(i){var f=(0,M.coerceBooleanProperty)(i);f!==this._multiple&&(this._multiple=f,this.selectedOptions=new T.SelectionModel(this._multiple,this.selectedOptions.selected))}},{key:"ngAfterContentInit",value:function(){var i=this;this._contentInitialized=!0,this._keyManager=new F.FocusKeyManager(this.options).withWrap().withTypeAhead().withHomeAndEnd().skipPredicate(function(){return!1}).withAllowedModifierKeys(["shiftKey"]),this._value&&this._setOptionsFromValues(this._value),this._keyManager.tabOut.subscribe(function(){return i._allowFocusEscape()}),this.options.changes.pipe((0,I.O)(null),(0,D.R)(this._destroyed)).subscribe(function(){i._updateTabIndex()}),this.selectedOptions.changed.pipe((0,D.R)(this._destroyed)).subscribe(function(f){if(f.added){var O,h=(0,c.Z)(f.added);try{for(h.s();!(O=h.n()).done;)O.value.selected=!0}catch(G){h.e(G)}finally{h.f()}}if(f.removed){var Q,K=(0,c.Z)(f.removed);try{for(K.s();!(Q=K.n()).done;)Q.value.selected=!1}catch(G){K.e(G)}finally{K.f()}}}),this._focusMonitor.monitor(this._element).pipe((0,D.R)(this._destroyed)).subscribe(function(f){if("keyboard"===f||"program"===f){for(var h=0,O=0;O<i.options.length;O++){var j;if(null!==(j=i.options.get(O))&&void 0!==j&&j.selected){h=O;break}}i._keyManager.setActiveItem(h)}})}},{key:"ngOnChanges",value:function(i){var f=i.disableRipple,h=i.color;(f&&!f.firstChange||h&&!h.firstChange)&&this._markOptionsForCheck()}},{key:"ngOnDestroy",value:function(){var i;null===(i=this._keyManager)||void 0===i||i.destroy(),this._focusMonitor.stopMonitoring(this._element),this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0}},{key:"focus",value:function(i){this._element.nativeElement.focus(i)}},{key:"selectAll",value:function(){return this._setAllOptionsSelected(!0)}},{key:"deselectAll",value:function(){return this._setAllOptionsSelected(!1)}},{key:"_setFocusedOption",value:function(i){this._keyManager.updateActiveItem(i)}},{key:"_removeOptionFromList",value:function(i){var f=this._getOptionIndex(i);return f>-1&&this._keyManager.activeItemIndex===f&&(f>0?this._keyManager.updateActiveItem(f-1):0===f&&this.options.length>1&&this._keyManager.updateActiveItem(Math.min(f+1,this.options.length-1))),this._keyManager.activeItem}},{key:"_keydown",value:function(i){var f=i.keyCode,h=this._keyManager,O=h.activeItemIndex,j=(0,A.hasModifierKey)(i);switch(f){case A.SPACE:case A.ENTER:!j&&!h.isTyping()&&(this._toggleFocusedOption(),i.preventDefault());break;default:if(f===A.A&&this.multiple&&(0,A.hasModifierKey)(i,"ctrlKey")&&!h.isTyping()){var K=this.options.some(function(Q){return!Q.disabled&&!Q.selected});this._setAllOptionsSelected(K,!0,!0),i.preventDefault()}else h.onKeydown(i)}this.multiple&&(f===A.UP_ARROW||f===A.DOWN_ARROW)&&i.shiftKey&&h.activeItemIndex!==O&&this._toggleFocusedOption()}},{key:"_reportValueChange",value:function(){if(this.options&&!this._isDestroyed){var i=this._getSelectedOptionValues();this._onChange(i),this._value=i}}},{key:"_emitChangeEvent",value:function(i){this.selectionChange.emit(new Y(this,i))}},{key:"writeValue",value:function(i){this._value=i,this.options&&this._setOptionsFromValues(i||[])}},{key:"setDisabledState",value:function(i){this.disabled=i}},{key:"registerOnChange",value:function(i){this._onChange=i}},{key:"registerOnTouched",value:function(i){this._onTouched=i}},{key:"_setOptionsFromValues",value:function(i){var f=this;this.options.forEach(function(h){return h._setSelected(!1)}),i.forEach(function(h){var O=f.options.find(function(j){return!j.selected&&f.compareWith(j.value,h)});O&&O._setSelected(!0)})}},{key:"_getSelectedOptionValues",value:function(){return this.options.filter(function(i){return i.selected}).map(function(i){return i.value})}},{key:"_toggleFocusedOption",value:function(){var i=this._keyManager.activeItemIndex;if(null!=i&&this._isValidIndex(i)){var f=this.options.toArray()[i];f&&!f.disabled&&(this._multiple||!f.selected)&&(f.toggle(),this._emitChangeEvent([f]))}}},{key:"_setAllOptionsSelected",value:function(i,f,h){var O=[];return this.options.forEach(function(j){(!f||!j.disabled)&&j._setSelected(i)&&O.push(j)}),O.length&&(this._reportValueChange(),h&&this._emitChangeEvent(O)),O}},{key:"_isValidIndex",value:function(i){return i>=0&&i<this.options.length}},{key:"_getOptionIndex",value:function(i){return this.options.toArray().indexOf(i)}},{key:"_markOptionsForCheck",value:function(){this.options&&this.options.forEach(function(i){return i._markForCheck()})}},{key:"_allowFocusEscape",value:function(){var i=this;this._tabIndex=-1,setTimeout(function(){i._tabIndex=0,i._changeDetector.markForCheck()})}},{key:"_updateTabIndex",value:function(){this._tabIndex=0===this.options.length?-1:0}}]),n}(tt);return r.\u0275fac=function(u){return new(u||r)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(F.FocusMonitor))},r.\u0275cmp=t.\u0275\u0275defineComponent({type:r,selectors:[["mat-selection-list"]],contentQueries:function(u,n,a){var i;1&u&&t.\u0275\u0275contentQuery(a,J,5),2&u&&t.\u0275\u0275queryRefresh(i=t.\u0275\u0275loadQuery())&&(n.options=i)},hostAttrs:["role","listbox",1,"mat-selection-list","mat-list-base"],hostVars:3,hostBindings:function(u,n){1&u&&t.\u0275\u0275listener("keydown",function(i){return n._keydown(i)}),2&u&&t.\u0275\u0275attribute("aria-multiselectable",n.multiple)("aria-disabled",n.disabled.toString())("tabindex",n._tabIndex)},inputs:{disableRipple:"disableRipple",color:"color",compareWith:"compareWith",disabled:"disabled",multiple:"multiple"},outputs:{selectionChange:"selectionChange"},exportAs:["matSelectionList"],features:[t.\u0275\u0275ProvidersFeature([X]),t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275NgOnChangesFeature],ngContentSelectors:R,decls:1,vars:0,template:function(u,n){1&u&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275projection(0))},styles:[_],encapsulation:2,changeDetection:0}),r}(),it=function(){var r=(0,l.Z)(function L(){(0,o.Z)(this,L)});return r.\u0275fac=function(u){return new(u||r)},r.\u0275mod=t.\u0275\u0275defineNgModule({type:r}),r.\u0275inj=t.\u0275\u0275defineInjector({imports:[m.MatLineModule,m.MatRippleModule,m.MatCommonModule,m.MatPseudoCheckboxModule,g.CommonModule,m.MatLineModule,m.MatCommonModule,m.MatPseudoCheckboxModule,Z.MatDividerModule]}),r}()},44841:(k,v,e)=>{function c(d,s){(null==s||s>d.length)&&(s=d.length);for(var l=0,o=new Array(s);l<s;l++)o[l]=d[l];return o}e.d(v,{Z:()=>c})},35488:(k,v,e)=>{function c(d){if(void 0===d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d}e.d(v,{Z:()=>c})},95106:(k,v,e)=>{e.d(v,{Z:()=>d});var c=e(44206);function d(s,l){var o=typeof Symbol<"u"&&s[Symbol.iterator]||s["@@iterator"];if(!o){if(Array.isArray(s)||(o=(0,c.Z)(s))||l&&s&&"number"==typeof s.length){o&&(s=o);var g=0,t=function(){};return{s:t,n:function(){return g>=s.length?{done:!0}:{done:!1,value:s[g++]}},e:function(D){throw D},f:t}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var E,m=!0,M=!1;return{s:function(){o=o.call(s)},n:function(){var D=o.next();return m=D.done,D},e:function(D){M=!0,E=D},f:function(){try{!m&&null!=o.return&&o.return()}finally{if(M)throw E}}}}},28694:(k,v,e)=>{e.d(v,{Z:()=>g});var c=e(20265),d=e(98568),s=e(43445),l=e(35488);function g(t){var m=(0,d.Z)();return function(){var C,E=(0,c.Z)(t);if(m){var D=(0,c.Z)(this).constructor;C=Reflect.construct(E,arguments,D)}else C=E.apply(this,arguments);return function o(t,m){if(m&&("object"===(0,s.Z)(m)||"function"==typeof m))return m;if(void 0!==m)throw new TypeError("Derived constructors may only return object or undefined");return(0,l.Z)(t)}(this,C)}}},4089:(k,v,e)=>{e.d(v,{Z:()=>s});var c=e(20265);function s(){return s=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(o,g,t){var m=function d(l,o){for(;!Object.prototype.hasOwnProperty.call(l,o)&&null!==(l=(0,c.Z)(l)););return l}(o,g);if(m){var M=Object.getOwnPropertyDescriptor(m,g);return M.get?M.get.call(arguments.length<3?o:t):M.value}},s.apply(this,arguments)}},20265:(k,v,e)=>{function c(d){return(c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(l){return l.__proto__||Object.getPrototypeOf(l)})(d)}e.d(v,{Z:()=>c})},24582:(k,v,e)=>{e.d(v,{Z:()=>d});var c=e(10006);function d(s,l){if("function"!=typeof l&&null!==l)throw new TypeError("Super expression must either be null or a function");s.prototype=Object.create(l&&l.prototype,{constructor:{value:s,writable:!0,configurable:!0}}),Object.defineProperty(s,"prototype",{writable:!1}),l&&(0,c.Z)(s,l)}},98568:(k,v,e)=>{function c(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(v,{Z:()=>c})},4826:(k,v,e)=>{function c(d){if(typeof Symbol<"u"&&null!=d[Symbol.iterator]||null!=d["@@iterator"])return Array.from(d)}e.d(v,{Z:()=>c})},10006:(k,v,e)=>{function c(d,s){return(c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,g){return o.__proto__=g,o})(d,s)}e.d(v,{Z:()=>c})},86170:(k,v,e)=>{e.d(v,{Z:()=>g});var c=e(44841),s=e(4826),l=e(44206);function g(t){return function d(t){if(Array.isArray(t))return(0,c.Z)(t)}(t)||(0,s.Z)(t)||(0,l.Z)(t)||function o(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(k,v,e)=>{e.d(v,{Z:()=>d});var c=e(44841);function d(s,l){if(s){if("string"==typeof s)return(0,c.Z)(s,l);var o=Object.prototype.toString.call(s).slice(8,-1);if("Object"===o&&s.constructor&&(o=s.constructor.name),"Map"===o||"Set"===o)return Array.from(s);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return(0,c.Z)(s,l)}}}}]); +//# sourceMappingURL=7477.7a3179a930219ad9.js.map \ No newline at end of file diff --git a/7477.7a3179a930219ad9.js.map b/7477.7a3179a930219ad9.js.map new file mode 100644 index 0000000..7c99af3 --- /dev/null +++ b/7477.7a3179a930219ad9.js.map @@ -0,0 +1 @@ +{"version":3,"file":"7477.7a3179a930219ad9.js","mappings":"ucACaA,cAA0BC,GAAiB,SAACC,GAAM,OAAK,WAChEA,EAAOC,MACPA,KAAKC,KAAO,0BACZD,KAAKE,QAAU,qBACnB,CAAC,yBCAYC,EAAO,eAAPA,EAAO,SAAAC,IAAAC,OAAAF,EAAAC,GAAA,IAAAL,KAAAO,KAAAH,GAChB,SAAAA,IAAc,IAAAI,EAAAC,cAAAR,KAAAG,IACVI,EAAAR,EAAAU,KAAAT,OACKU,QAAS,EACdH,EAAKI,iBAAmB,KACxBJ,EAAKK,UAAY,GACjBL,EAAKM,WAAY,EACjBN,EAAKO,UAAW,EAChBP,EAAKQ,YAAc,KAAKR,CAC5B,CAACS,cAAAb,EAAA,EAAAc,IAAA,OAAAC,MACD,SAAKC,GACD,IAAMC,EAAU,IAAIC,EAAiBrB,KAAMA,MAC3CoB,SAAQD,SAAWA,EACZC,CACX,GAAC,CAAAH,IAAA,iBAAAC,MACD,WACI,GAAIlB,KAAKU,OACL,MAAM,IAAIb,CAElB,GAAC,CAAAoB,IAAA,OAAAC,MACD,SAAKA,GAAO,IAAAI,EAAAtB,MACRuB,OAAa,WAET,GADAD,EAAKE,kBACAF,EAAKT,UAAW,CACZS,EAAKX,mBACNW,EAAKX,iBAAmBc,MAAMC,KAAKJ,EAAKV,YAC3C,IAC2Ce,EAD3CC,KAAAC,KACsBP,EAAKX,kBAAgB,IAA5C,IAAAiB,EAAAE,MAAAH,EAAAC,EAAAG,KAAAC,MAAmBL,EAAAT,MACNe,KAAKf,EACjB,OAAAgB,GAAAN,EAAAO,EAAAD,EAAA,SAAAN,EAAAQ,GAAA,EAET,EACJ,GAAC,CAAAnB,IAAA,QAAAC,MACD,SAAMgB,GAAK,IAAAG,EAAArC,MACPuB,OAAa,WAET,GADAc,EAAKb,kBACAa,EAAKxB,UAAW,CAC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AAAtZ,KAAAsa,GAAA6D,MAAA,MAEA,GADA,WAAA7c,GAAAgZ,EAAAkB,cAAAla,EAAAgZ,EAAAkB,YAAAhc,MACA,QAAA8B,GAAA,QAAAA,EAAA,OAAAN,MAAAC,KAAAqZ,GACA,iBAAAhZ,GAAA,2CAAA8c,KAAA9c,GAAA,SAAsF4c,EAAAvD,GAAgBL,EAAA2D,EAAA,CACtG","names":["ObjectUnsubscribedError","createErrorClass","_super","this","name","message","Subject","_Observable","_inherits","_createSuper","_this","_classCallCheck","call","closed","currentObservers","observers","isStopped","hasError","thrownError","_createClass","key","value","operator","subject","AnonymousSubject","_this2","errorContext","_throwIfClosed","Array","from","_step","_iterator","_createForOfIteratorHelper","s","n","done","next","err","e","f","_this3","length","shift","error","_this4","complete","get","_a","subscriber","_get","_getPrototypeOf","prototype","_checkFinalizedStatuses","_innerSubscribe","_this5","EMPTY_SUBSCRIPTION","push","Subscription","arrRemove","observable","Observable","source","create","destination","_Subject","_super2","_this6","_b","subscribe","concat","_len","arguments","args","_key","concatAll","mergeAll","popScheduler","subscribeOn","scheduler","delay","undefined","operate","add","schedule","scheduleAsyncIterable","input","Error","executeSchedule","iterator","Symbol","asyncIterator","then","result","scheduled","isInteropObservable","scheduleObservable","innerFrom","pipe","observeOn","isArrayLike","scheduleArray","i","isPromise","schedulePromise","isAsyncIterable","isIterable","scheduleIterable","Symbol_iterator","_iterator$next","isFunction","return","isReadableStreamLike","scheduleReadableStreamLike","readableStreamLikeToAsyncGenerator","createInvalidObservableTypeError","createOperatorSubscriber","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_next","_assertThisInitialized","_error","unsubscribe","_complete","Subscriber","map","project","thisArg","index","mergeMap","identity","Infinity","resultSelector","concurrent","a","b","ii","mergeInternals","onBeforeNext","expand","innerSubScheduler","additionalFinalizer","buffer","active","isComplete","checkComplete","outerNext","doInnerSub","innerComplete","innerValue","_loop","bufferedValue","startWith","values","takeUntil","notifier","noop","last","arr","popResultSelector","pop","isScheduler","popNumber","defaultValue","parentSubscription","work","repeat","scheduleSubscription","hasLift","lift","init","liftedSource","TypeError","_c0","_c1","_c2","_c3","_c4","MatLegacyListOption_mat_pseudo_checkbox_2_Template","rf","ctx","i0","ctx_r0","selected","disabled","_c5","_c6","_MatListBase","mixinDisabled","mixinDisableRipple","_class","_MatListItemMixinBase","_class2","MatLegacyNavList","_MatListBase2","apply","_stateChanges","ɵfac","ɵMatLegacyNavList_BaseFactory","t","ɵcmp","type","selectors","hostAttrs","inputs","disableRipple","exportAs","features","provide","MAT_NAV_LIST","useExisting","ngContentSelectors","decls","vars","template","styles","encapsulation","changeDetection","MatLegacyList","_MatListBase3","_elementRef","_getListType","nativeElement","classList","setAttribute","nodeName","toLowerCase","MAT_LIST","MatLegacyListAvatarCssMatStyler","ɵdir","MatLegacyListIconCssMatStyler","MatLegacyListSubheaderCssMatStyler","MatLegacyListItem","_MatListItemMixinBase2","_super3","_element","_changeDetectorRef","navList","list","_isInteractiveList","_destroyed","_disabled","_list","element","_getHostElement","hasAttribute","markForCheck","set","coerceBooleanProperty","setLines","_lines","contentQueries","dirIndex","_t","MatLine","_avatar","first","_icon","hostVars","hostBindings","consts","_isRippleDisabled","dependencies","i1","_MatSelectionListBase","_class3","_MatListOptionBase","_class4","MAT_LEGACY_SELECTION_LIST_VALUE_ACCESSOR","NG_VALUE_ACCESSOR","forwardRef","MatLegacySelectionList","multi","MatLegacySelectionListChange","options","MatLegacyListOption","_MatListOptionBase2","_super4","_changeDetector","selectionList","_selected","_hasFocus","selectedChange","EventEmitter","checkboxPosition","_inputsInitialized","_color","color","newValue","_value","compareWith","selectedOptions","isSelected","_setSelected","multiple","_reportValueChange","some","wasSelected","Promise","resolve","hadFocus","newActiveItem","_removeOptionFromList","focus","_text","textContent","toggle","_emitChangeEvent","_setFocusedOption","_onTouched","select","deselect","emit","viewQuery","_handleFocus","_handleBlur","_handleClick","outputs","i2","_MatSelectionListBase2","_super5","_focusMonitor","_this7","_multiple","_contentInitialized","selectionChange","a1","a2","SelectionModel","_tabIndex","_onChange","_","_markOptionsForCheck","_this8","_keyManager","FocusKeyManager","withWrap","withTypeAhead","withHomeAndEnd","skipPredicate","withAllowedModifierKeys","_setOptionsFromValues","tabOut","_allowFocusEscape","changes","_updateTabIndex","changed","event","added","removed","_step2","_iterator2","monitor","origin","toFocus","_this8$options$get","setActiveItem","disableRippleChanges","colorChanges","firstChange","_this$_keyManager","destroy","stopMonitoring","_isDestroyed","_setAllOptionsSelected","option","updateActiveItem","optionIndex","_getOptionIndex","activeItemIndex","Math","min","activeItem","keyCode","manager","previousFocusIndex","hasModifier","hasModifierKey","SPACE","ENTER","isTyping","_toggleFocusedOption","preventDefault","A","shouldSelect","onKeydown","UP_ARROW","DOWN_ARROW","shiftKey","_getSelectedOptionValues","isDisabled","fn","_this9","forEach","correspondingOption","find","filter","focusedIndex","_isValidIndex","focusedOption","toArray","skipDisabled","isUserInput","changedOptions","indexOf","_markForCheck","_this10","setTimeout","i3","$event","_keydown","toString","MatLegacyListModule","ɵmod","ɵinj","imports","MatLineModule","MatRippleModule","MatCommonModule","MatPseudoCheckboxModule","CommonModule","MatDividerModule","_arrayLikeToArray","len","arr2","self","ReferenceError","o","allowArrayLike","it","isArray","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","_e","normalCompletion","didErr","step","_e2","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Super","getPrototypeOf","NewTarget","constructor","Reflect","construct","_possibleConstructorReturn","esm_typeof","assertThisInitialized","bind","target","property","receiver","base","_superPropBase","object","Object","hasOwnProperty","desc","getOwnPropertyDescriptor","setPrototypeOf","__proto__","subClass","superClass","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_iterableToArray","iter","_setPrototypeOf","p","_toConsumableArray","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","slice","test"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/util/ObjectUnsubscribedError.js","./node_modules/rxjs/dist/esm/internal/Subject.js","./node_modules/rxjs/dist/esm/internal/observable/concat.js","./node_modules/rxjs/dist/esm/internal/operators/concatAll.js","./node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleAsyncIterable.js","./node_modules/rxjs/dist/esm/internal/observable/from.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduled.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleObservable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleArray.js","./node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleIterable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleReadableStreamLike.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/map.js","./node_modules/rxjs/dist/esm/internal/operators/mergeAll.js","./node_modules/rxjs/dist/esm/internal/operators/mergeMap.js","./node_modules/rxjs/dist/esm/internal/operators/mergeInternals.js","./node_modules/rxjs/dist/esm/internal/operators/observeOn.js","./node_modules/rxjs/dist/esm/internal/operators/startWith.js","./node_modules/rxjs/dist/esm/internal/operators/takeUntil.js","./node_modules/rxjs/dist/esm/internal/util/args.js","./node_modules/rxjs/dist/esm/internal/util/executeSchedule.js","./node_modules/rxjs/dist/esm/internal/util/isScheduler.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/@angular/material/fesm2022/legacy-list.mjs","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { createErrorClass } from './createErrorClass';\nexport const ObjectUnsubscribedError = createErrorClass((_super) => function ObjectUnsubscribedErrorImpl() {\n _super(this);\n this.name = 'ObjectUnsubscribedError';\n this.message = 'object unsubscribed';\n});\n","import { Observable } from './Observable';\nimport { Subscription, EMPTY_SUBSCRIPTION } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { arrRemove } from './util/arrRemove';\nimport { errorContext } from './util/errorContext';\nexport class Subject extends Observable {\n constructor() {\n super();\n this.closed = false;\n this.currentObservers = null;\n this.observers = [];\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n lift(operator) {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n }\n _throwIfClosed() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n }\n next(value) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n if (!this.currentObservers) {\n this.currentObservers = Array.from(this.observers);\n }\n for (const observer of this.currentObservers) {\n observer.next(value);\n }\n }\n });\n }\n error(err) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.hasError = this.isStopped = true;\n this.thrownError = err;\n const { observers } = this;\n while (observers.length) {\n observers.shift().error(err);\n }\n }\n });\n }\n complete() {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.isStopped = true;\n const { observers } = this;\n while (observers.length) {\n observers.shift().complete();\n }\n }\n });\n }\n unsubscribe() {\n this.isStopped = this.closed = true;\n this.observers = this.currentObservers = null;\n }\n get observed() {\n var _a;\n return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;\n }\n _trySubscribe(subscriber) {\n this._throwIfClosed();\n return super._trySubscribe(subscriber);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._checkFinalizedStatuses(subscriber);\n return this._innerSubscribe(subscriber);\n }\n _innerSubscribe(subscriber) {\n const { hasError, isStopped, observers } = this;\n if (hasError || isStopped) {\n return EMPTY_SUBSCRIPTION;\n }\n this.currentObservers = null;\n observers.push(subscriber);\n return new Subscription(() => {\n this.currentObservers = null;\n arrRemove(observers, subscriber);\n });\n }\n _checkFinalizedStatuses(subscriber) {\n const { hasError, thrownError, isStopped } = this;\n if (hasError) {\n subscriber.error(thrownError);\n }\n else if (isStopped) {\n subscriber.complete();\n }\n }\n asObservable() {\n const observable = new Observable();\n observable.source = this;\n return observable;\n }\n}\nSubject.create = (destination, source) => {\n return new AnonymousSubject(destination, source);\n};\nexport class AnonymousSubject extends Subject {\n constructor(destination, source) {\n super();\n this.destination = destination;\n this.source = source;\n }\n next(value) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);\n }\n error(err) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);\n }\n complete() {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);\n }\n _subscribe(subscriber) {\n var _a, _b;\n return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;\n }\n}\n","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}\n","import { mergeAll } from './mergeAll';\nexport function concatAll() {\n return mergeAll(1);\n}\n","import { operate } from '../util/lift';\nexport function subscribeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay));\n });\n}\n","import { Observable } from '../Observable';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleAsyncIterable(input, scheduler) {\n if (!input) {\n throw new Error('Iterable cannot be null');\n }\n return new Observable((subscriber) => {\n executeSchedule(subscriber, scheduler, () => {\n const iterator = input[Symbol.asyncIterator]();\n executeSchedule(subscriber, scheduler, () => {\n iterator.next().then((result) => {\n if (result.done) {\n subscriber.complete();\n }\n else {\n subscriber.next(result.value);\n }\n });\n }, 0, true);\n });\n });\n}\n","import { scheduled } from '../scheduled/scheduled';\nimport { innerFrom } from './innerFrom';\nexport function from(input, scheduler) {\n return scheduler ? scheduled(input, scheduler) : innerFrom(input);\n}\n","import { scheduleObservable } from './scheduleObservable';\nimport { schedulePromise } from './schedulePromise';\nimport { scheduleArray } from './scheduleArray';\nimport { scheduleIterable } from './scheduleIterable';\nimport { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isPromise } from '../util/isPromise';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isIterable } from '../util/isIterable';\nimport { isAsyncIterable } from '../util/isAsyncIterable';\nimport { createInvalidObservableTypeError } from '../util/throwUnobservableError';\nimport { isReadableStreamLike } from '../util/isReadableStreamLike';\nimport { scheduleReadableStreamLike } from './scheduleReadableStreamLike';\nexport function scheduled(input, scheduler) {\n if (input != null) {\n if (isInteropObservable(input)) {\n return scheduleObservable(input, scheduler);\n }\n if (isArrayLike(input)) {\n return scheduleArray(input, scheduler);\n }\n if (isPromise(input)) {\n return schedulePromise(input, scheduler);\n }\n if (isAsyncIterable(input)) {\n return scheduleAsyncIterable(input, scheduler);\n }\n if (isIterable(input)) {\n return scheduleIterable(input, scheduler);\n }\n if (isReadableStreamLike(input)) {\n return scheduleReadableStreamLike(input, scheduler);\n }\n }\n throw createInvalidObservableTypeError(input);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function scheduleObservable(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nexport function scheduleArray(input, scheduler) {\n return new Observable((subscriber) => {\n let i = 0;\n return scheduler.schedule(function () {\n if (i === input.length) {\n subscriber.complete();\n }\n else {\n subscriber.next(input[i++]);\n if (!subscriber.closed) {\n this.schedule();\n }\n }\n });\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function schedulePromise(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from '../util/isFunction';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleIterable(input, scheduler) {\n return new Observable((subscriber) => {\n let iterator;\n executeSchedule(subscriber, scheduler, () => {\n iterator = input[Symbol_iterator]();\n executeSchedule(subscriber, scheduler, () => {\n let value;\n let done;\n try {\n ({ value, done } = iterator.next());\n }\n catch (err) {\n subscriber.error(err);\n return;\n }\n if (done) {\n subscriber.complete();\n }\n else {\n subscriber.next(value);\n }\n }, 0, true);\n });\n return () => isFunction(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return();\n });\n}\n","import { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { readableStreamLikeToAsyncGenerator } from '../util/isReadableStreamLike';\nexport function scheduleReadableStreamLike(input, scheduler) {\n return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function map(project, thisArg) {\n return operate((source, subscriber) => {\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n subscriber.next(project.call(thisArg, value, index++));\n }));\n });\n}\n","import { mergeMap } from './mergeMap';\nimport { identity } from '../util/identity';\nexport function mergeAll(concurrent = Infinity) {\n return mergeMap(identity, concurrent);\n}\n","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 }\n else if (typeof resultSelector === 'number') {\n concurrent = resultSelector;\n }\n return operate((source, subscriber) => mergeInternals(source, subscriber, project, concurrent));\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { executeSchedule } from '../util/executeSchedule';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function mergeInternals(source, subscriber, project, concurrent, onBeforeNext, expand, innerSubScheduler, additionalFinalizer) {\n const buffer = [];\n let active = 0;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => {\n if (isComplete && !buffer.length && !active) {\n subscriber.complete();\n }\n };\n const outerNext = (value) => (active < concurrent ? doInnerSub(value) : buffer.push(value));\n const doInnerSub = (value) => {\n expand && subscriber.next(value);\n active++;\n let innerComplete = false;\n innerFrom(project(value, index++)).subscribe(createOperatorSubscriber(subscriber, (innerValue) => {\n onBeforeNext === null || onBeforeNext === void 0 ? void 0 : onBeforeNext(innerValue);\n if (expand) {\n outerNext(innerValue);\n }\n else {\n subscriber.next(innerValue);\n }\n }, () => {\n innerComplete = true;\n }, undefined, () => {\n if (innerComplete) {\n try {\n active--;\n while (buffer.length && active < concurrent) {\n const bufferedValue = buffer.shift();\n if (innerSubScheduler) {\n executeSchedule(subscriber, innerSubScheduler, () => doInnerSub(bufferedValue));\n }\n else {\n doInnerSub(bufferedValue);\n }\n }\n checkComplete();\n }\n catch (err) {\n subscriber.error(err);\n }\n }\n }));\n };\n source.subscribe(createOperatorSubscriber(subscriber, outerNext, () => {\n isComplete = true;\n checkComplete();\n }));\n return () => {\n additionalFinalizer === null || additionalFinalizer === void 0 ? void 0 : additionalFinalizer();\n };\n}\n","import { executeSchedule } from '../util/executeSchedule';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function observeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, (value) => executeSchedule(subscriber, scheduler, () => subscriber.next(value), delay), () => executeSchedule(subscriber, scheduler, () => subscriber.complete(), delay), (err) => executeSchedule(subscriber, scheduler, () => subscriber.error(err), delay)));\n });\n}\n","import { concat } from '../observable/concat';\nimport { popScheduler } from '../util/args';\nimport { operate } from '../util/lift';\nexport function startWith(...values) {\n const scheduler = popScheduler(values);\n return operate((source, subscriber) => {\n (scheduler ? concat(values, source, scheduler) : concat(values, source)).subscribe(subscriber);\n });\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { innerFrom } from '../observable/innerFrom';\nimport { noop } from '../util/noop';\nexport function takeUntil(notifier) {\n return operate((source, subscriber) => {\n innerFrom(notifier).subscribe(createOperatorSubscriber(subscriber, () => subscriber.complete(), noop));\n !subscriber.closed && source.subscribe(subscriber);\n });\n}\n","import { isFunction } from './isFunction';\nimport { isScheduler } from './isScheduler';\nfunction last(arr) {\n return arr[arr.length - 1];\n}\nexport function popResultSelector(args) {\n return isFunction(last(args)) ? args.pop() : undefined;\n}\nexport function popScheduler(args) {\n return isScheduler(last(args)) ? args.pop() : undefined;\n}\nexport function popNumber(args, defaultValue) {\n return typeof last(args) === 'number' ? args.pop() : defaultValue;\n}\n","export function executeSchedule(parentSubscription, scheduler, work, delay = 0, repeat = false) {\n const scheduleSubscription = scheduler.schedule(function () {\n work();\n if (repeat) {\n parentSubscription.add(this.schedule(null, delay));\n }\n else {\n this.unsubscribe();\n }\n }, delay);\n parentSubscription.add(scheduleSubscription);\n if (!repeat) {\n return scheduleSubscription;\n }\n}\n","import { isFunction } from './isFunction';\nexport function isScheduler(value) {\n return value && isFunction(value.schedule);\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","import * as i2 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { Component, ViewEncapsulation, ChangeDetectionStrategy, Directive, Optional, Inject, ContentChildren, ContentChild, Input, forwardRef, EventEmitter, Output, ViewChild, NgModule } from '@angular/core';\nimport * as i1 from '@angular/material/core';\nimport { mixinDisabled, mixinDisableRipple, setLines, MatLine, MatLineModule, MatRippleModule, MatCommonModule, MatPseudoCheckboxModule } from '@angular/material/core';\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { MAT_NAV_LIST, MAT_LIST } from '@angular/material/list';\nexport { MAT_LIST as MAT_LEGACY_LIST, MAT_NAV_LIST as MAT_LEGACY_NAV_LIST } from '@angular/material/list';\nimport { Subject } from 'rxjs';\nimport { takeUntil, startWith } from 'rxjs/operators';\nimport * as i3 from '@angular/cdk/a11y';\nimport { FocusKeyManager } from '@angular/cdk/a11y';\nimport { SelectionModel } from '@angular/cdk/collections';\nimport { hasModifierKey, A, ENTER, SPACE, UP_ARROW, DOWN_ARROW } from '@angular/cdk/keycodes';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { MatDividerModule } from '@angular/material/divider';\n\n// Boilerplate for applying mixins to MatList.\n/** @docs-private */\nconst _MatListBase = mixinDisabled(mixinDisableRipple(class {\n}));\n// Boilerplate for applying mixins to MatListItem.\n/** @docs-private */\nconst _MatListItemMixinBase = mixinDisableRipple(class {\n});\n/**\n * @deprecated Use `MatNavList` from `@angular/material/list` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyNavList extends _MatListBase {\n constructor() {\n super(...arguments);\n /** Emits when the state of the list changes. */\n this._stateChanges = new Subject();\n }\n ngOnChanges() {\n this._stateChanges.next();\n }\n ngOnDestroy() {\n this._stateChanges.complete();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyNavList, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyNavList, selector: \"mat-nav-list\", inputs: { disableRipple: \"disableRipple\", disabled: \"disabled\" }, host: { attributes: { \"role\": \"navigation\" }, classAttribute: \"mat-nav-list mat-list-base\" }, providers: [{ provide: MAT_NAV_LIST, useExisting: MatLegacyNavList }], exportAs: [\"matNavList\"], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: \"<ng-content></ng-content>\\n\\n\", styles: [\".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:hover{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:\\\"\\\";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyNavList, decorators: [{\n type: Component,\n args: [{ selector: 'mat-nav-list', exportAs: 'matNavList', host: {\n 'role': 'navigation',\n 'class': 'mat-nav-list mat-list-base',\n }, inputs: ['disableRipple', 'disabled'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [{ provide: MAT_NAV_LIST, useExisting: MatLegacyNavList }], template: \"<ng-content></ng-content>\\n\\n\", styles: [\".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:hover{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:\\\"\\\";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\"] }]\n }] });\n/**\n * @deprecated Use `MatList` from `@angular/material/list` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyList extends _MatListBase {\n constructor(_elementRef) {\n super();\n this._elementRef = _elementRef;\n /** Emits when the state of the list changes. */\n this._stateChanges = new Subject();\n if (this._getListType() === 'action-list') {\n _elementRef.nativeElement.classList.add('mat-action-list');\n _elementRef.nativeElement.setAttribute('role', 'group');\n }\n }\n _getListType() {\n const nodeName = this._elementRef.nativeElement.nodeName.toLowerCase();\n if (nodeName === 'mat-list') {\n return 'list';\n }\n if (nodeName === 'mat-action-list') {\n return 'action-list';\n }\n return null;\n }\n ngOnChanges() {\n this._stateChanges.next();\n }\n ngOnDestroy() {\n this._stateChanges.complete();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyList, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyList, selector: \"mat-list, mat-action-list\", inputs: { disableRipple: \"disableRipple\", disabled: \"disabled\" }, host: { classAttribute: \"mat-list mat-list-base\" }, providers: [{ provide: MAT_LIST, useExisting: MatLegacyList }], exportAs: [\"matList\"], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: \"<ng-content></ng-content>\\n\\n\", styles: [\".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:hover{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:\\\"\\\";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyList, decorators: [{\n type: Component,\n args: [{ selector: 'mat-list, mat-action-list', exportAs: 'matList', host: {\n 'class': 'mat-list mat-list-base',\n }, inputs: ['disableRipple', 'disabled'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [{ provide: MAT_LIST, useExisting: MatLegacyList }], template: \"<ng-content></ng-content>\\n\\n\", styles: [\".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:hover{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:\\\"\\\";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });\n/**\n * Directive whose purpose is to add the mat- CSS styling to this selector.\n * @docs-private\n * @deprecated Use `MatListAvatarCssMatStyler` from `@angular/material/list` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyListAvatarCssMatStyler {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyListAvatarCssMatStyler, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyListAvatarCssMatStyler, selector: \"[mat-list-avatar], [matListAvatar]\", host: { classAttribute: \"mat-list-avatar\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyListAvatarCssMatStyler, decorators: [{\n type: Directive,\n args: [{\n selector: '[mat-list-avatar], [matListAvatar]',\n host: { 'class': 'mat-list-avatar' },\n }]\n }] });\n/**\n * Directive whose purpose is to add the mat- CSS styling to this selector.\n * @docs-private\n * @deprecated Use `MatListIconCssMatStyler` from `@angular/material/list` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyListIconCssMatStyler {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyListIconCssMatStyler, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyListIconCssMatStyler, selector: \"[mat-list-icon], [matListIcon]\", host: { classAttribute: \"mat-list-icon\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyListIconCssMatStyler, decorators: [{\n type: Directive,\n args: [{\n selector: '[mat-list-icon], [matListIcon]',\n host: { 'class': 'mat-list-icon' },\n }]\n }] });\n/**\n * Directive whose purpose is to add the mat- CSS styling to this selector.\n * @docs-private\n * @deprecated Use `MatListSubheaderCssMatStyler` from `@angular/material/list` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyListSubheaderCssMatStyler {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyListSubheaderCssMatStyler, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyListSubheaderCssMatStyler, selector: \"[mat-subheader], [matSubheader]\", host: { classAttribute: \"mat-subheader\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyListSubheaderCssMatStyler, decorators: [{\n type: Directive,\n args: [{\n selector: '[mat-subheader], [matSubheader]',\n host: { 'class': 'mat-subheader' },\n }]\n }] });\n/**\n * An item within a Material Design list.\n * @deprecated Use `MatListItem` from `@angular/material/list` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyListItem extends _MatListItemMixinBase {\n constructor(_element, _changeDetectorRef, navList, list) {\n super();\n this._element = _element;\n this._isInteractiveList = false;\n this._destroyed = new Subject();\n this._disabled = false;\n this._isInteractiveList = !!(navList || (list && list._getListType() === 'action-list'));\n this._list = navList || list;\n // If no type attribute is specified for <button>, set it to \"button\".\n // If a type attribute is already specified, do nothing.\n const element = this._getHostElement();\n if (element.nodeName.toLowerCase() === 'button' && !element.hasAttribute('type')) {\n element.setAttribute('type', 'button');\n }\n if (this._list) {\n // React to changes in the state of the parent list since\n // some of the item's properties depend on it (e.g. `disableRipple`).\n this._list._stateChanges.pipe(takeUntil(this._destroyed)).subscribe(() => {\n _changeDetectorRef.markForCheck();\n });\n }\n }\n /** Whether the option is disabled. */\n get disabled() {\n return this._disabled || !!(this._list && this._list.disabled);\n }\n set disabled(value) {\n this._disabled = coerceBooleanProperty(value);\n }\n ngAfterContentInit() {\n setLines(this._lines, this._element);\n }\n ngOnDestroy() {\n this._destroyed.next();\n this._destroyed.complete();\n }\n /** Whether this list item should show a ripple effect when clicked. */\n _isRippleDisabled() {\n return (!this._isInteractiveList || this.disableRipple || !!(this._list && this._list.disableRipple));\n }\n /** Retrieves the DOM element of the component host. */\n _getHostElement() {\n return this._element.nativeElement;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyListItem, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: MAT_NAV_LIST, optional: true }, { token: MAT_LIST, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyListItem, selector: \"mat-list-item, a[mat-list-item], button[mat-list-item]\", inputs: { disableRipple: \"disableRipple\", disabled: \"disabled\" }, host: { properties: { \"class.mat-list-item-disabled\": \"disabled\", \"class.mat-list-item-with-avatar\": \"_avatar || _icon\" }, classAttribute: \"mat-list-item mat-focus-indicator\" }, queries: [{ propertyName: \"_avatar\", first: true, predicate: MatLegacyListAvatarCssMatStyler, descendants: true }, { propertyName: \"_icon\", first: true, predicate: MatLegacyListIconCssMatStyler, descendants: true }, { propertyName: \"_lines\", predicate: MatLine, descendants: true }], exportAs: [\"matListItem\"], usesInheritance: true, ngImport: i0, template: \"<span class=\\\"mat-list-item-content\\\">\\n <span class=\\\"mat-list-item-ripple\\\" mat-ripple\\n [matRippleTrigger]=\\\"_getHostElement()\\\"\\n [matRippleDisabled]=\\\"_isRippleDisabled()\\\">\\n </span>\\n\\n <ng-content select=\\\"[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]\\\">\\n </ng-content>\\n\\n <span class=\\\"mat-list-text\\\"><ng-content select=\\\"[mat-line], [matLine]\\\"></ng-content></span>\\n\\n <ng-content></ng-content>\\n</span>\\n\", dependencies: [{ kind: \"directive\", type: i1.MatRipple, selector: \"[mat-ripple], [matRipple]\", inputs: [\"matRippleColor\", \"matRippleUnbounded\", \"matRippleCentered\", \"matRippleRadius\", \"matRippleAnimation\", \"matRippleDisabled\", \"matRippleTrigger\"], exportAs: [\"matRipple\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyListItem, decorators: [{\n type: Component,\n args: [{ selector: 'mat-list-item, a[mat-list-item], button[mat-list-item]', exportAs: 'matListItem', host: {\n 'class': 'mat-list-item mat-focus-indicator',\n '[class.mat-list-item-disabled]': 'disabled',\n '[class.mat-list-item-with-avatar]': '_avatar || _icon',\n }, inputs: ['disableRipple'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: \"<span class=\\\"mat-list-item-content\\\">\\n <span class=\\\"mat-list-item-ripple\\\" mat-ripple\\n [matRippleTrigger]=\\\"_getHostElement()\\\"\\n [matRippleDisabled]=\\\"_isRippleDisabled()\\\">\\n </span>\\n\\n <ng-content select=\\\"[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]\\\">\\n </ng-content>\\n\\n <span class=\\\"mat-list-text\\\"><ng-content select=\\\"[mat-line], [matLine]\\\"></ng-content></span>\\n\\n <ng-content></ng-content>\\n</span>\\n\" }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: MatLegacyNavList, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_NAV_LIST]\n }] }, { type: MatLegacyList, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_LIST]\n }] }]; }, propDecorators: { _lines: [{\n type: ContentChildren,\n args: [MatLine, { descendants: true }]\n }], _avatar: [{\n type: ContentChild,\n args: [MatLegacyListAvatarCssMatStyler]\n }], _icon: [{\n type: ContentChild,\n args: [MatLegacyListIconCssMatStyler]\n }], disabled: [{\n type: Input\n }] } });\n\nconst _MatSelectionListBase = mixinDisableRipple(class {\n});\nconst _MatListOptionBase = mixinDisableRipple(class {\n});\n/**\n * @docs-private\n * @deprecated Use `MAT_SELECTION_LIST_VALUE_ACCESSOR` from `@angular/material/list` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nconst MAT_LEGACY_SELECTION_LIST_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => MatLegacySelectionList),\n multi: true,\n};\n/**\n * Change event that is being fired whenever the selected state of an option changes.\n * @deprecated Use `MatSelectionListChange` from `@angular/material/list` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacySelectionListChange {\n constructor(\n /** Reference to the selection list that emitted the event. */\n source, \n /** Reference to the options that have been changed. */\n options) {\n this.source = source;\n this.options = options;\n }\n}\n/**\n * Component for list-options of selection-list. Each list-option can automatically\n * generate a checkbox and can put current item into the selectionModel of selection-list\n * if the current item is selected.\n * @deprecated Use `MatListOption` from `@angular/material/list` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyListOption extends _MatListOptionBase {\n /** Theme color of the list option. This sets the color of the checkbox. */\n get color() {\n return this._color || this.selectionList.color;\n }\n set color(newValue) {\n this._color = newValue;\n }\n /** Value of the option */\n get value() {\n return this._value;\n }\n set value(newValue) {\n if (this.selected &&\n !this.selectionList.compareWith(newValue, this.value) &&\n this._inputsInitialized) {\n this.selected = false;\n }\n this._value = newValue;\n }\n /** Whether the option is disabled. */\n get disabled() {\n return this._disabled || (this.selectionList && this.selectionList.disabled);\n }\n set disabled(value) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this._disabled) {\n this._disabled = newValue;\n this._changeDetector.markForCheck();\n }\n }\n /** Whether the option is selected. */\n get selected() {\n return this.selectionList.selectedOptions.isSelected(this);\n }\n set selected(value) {\n const isSelected = coerceBooleanProperty(value);\n if (isSelected !== this._selected) {\n this._setSelected(isSelected);\n if (isSelected || this.selectionList.multiple) {\n this.selectionList._reportValueChange();\n }\n }\n }\n constructor(_element, _changeDetector, \n /** @docs-private */\n selectionList) {\n super();\n this._element = _element;\n this._changeDetector = _changeDetector;\n this.selectionList = selectionList;\n this._selected = false;\n this._disabled = false;\n this._hasFocus = false;\n /**\n * Emits when the selected state of the option has changed.\n * Use to facilitate two-data binding to the `selected` property.\n * @docs-private\n */\n this.selectedChange = new EventEmitter();\n /** Whether the label should appear before or after the checkbox. Defaults to 'after' */\n this.checkboxPosition = 'after';\n /**\n * This is set to true after the first OnChanges cycle so we don't clear the value of `selected`\n * in the first cycle.\n */\n this._inputsInitialized = false;\n }\n ngOnInit() {\n const list = this.selectionList;\n if (list._value && list._value.some(value => list.compareWith(this._value, value))) {\n this._setSelected(true);\n }\n const wasSelected = this._selected;\n // List options that are selected at initialization can't be reported properly to the form\n // control. This is because it takes some time until the selection-list knows about all\n // available options. Also it can happen that the ControlValueAccessor has an initial value\n // that should be used instead. Deferring the value change report to the next tick ensures\n // that the form control value is not being overwritten.\n Promise.resolve().then(() => {\n if (this._selected || wasSelected) {\n this.selected = true;\n this._changeDetector.markForCheck();\n }\n });\n this._inputsInitialized = true;\n }\n ngAfterContentInit() {\n setLines(this._lines, this._element);\n }\n ngOnDestroy() {\n if (this.selected) {\n // We have to delay this until the next tick in order\n // to avoid changed after checked errors.\n Promise.resolve().then(() => {\n this.selected = false;\n });\n }\n const hadFocus = this._hasFocus;\n const newActiveItem = this.selectionList._removeOptionFromList(this);\n // Only move focus if this option was focused at the time it was destroyed.\n if (hadFocus && newActiveItem) {\n newActiveItem.focus();\n }\n }\n /** Toggles the selection state of the option. */\n toggle() {\n this.selected = !this.selected;\n }\n /** Allows for programmatic focusing of the option. */\n focus() {\n this._element.nativeElement.focus();\n }\n /**\n * Returns the list item's text label. Implemented as a part of the FocusKeyManager.\n * @docs-private\n */\n getLabel() {\n return this._text ? this._text.nativeElement.textContent || '' : '';\n }\n /** Whether this list item should show a ripple effect when clicked. */\n _isRippleDisabled() {\n return this.disabled || this.disableRipple || this.selectionList.disableRipple;\n }\n _handleClick() {\n if (!this.disabled && (this.selectionList.multiple || !this.selected)) {\n this.toggle();\n // Emit a change event if the selected state of the option changed through user interaction.\n this.selectionList._emitChangeEvent([this]);\n }\n }\n _handleFocus() {\n this.selectionList._setFocusedOption(this);\n this._hasFocus = true;\n }\n _handleBlur() {\n this.selectionList._onTouched();\n this._hasFocus = false;\n }\n /** Retrieves the DOM element of the component host. */\n _getHostElement() {\n return this._element.nativeElement;\n }\n /** Sets the selected state of the option. Returns whether the value has changed. */\n _setSelected(selected) {\n if (selected === this._selected) {\n return false;\n }\n this._selected = selected;\n if (selected) {\n this.selectionList.selectedOptions.select(this);\n }\n else {\n this.selectionList.selectedOptions.deselect(this);\n }\n this.selectedChange.emit(selected);\n this._changeDetector.markForCheck();\n return true;\n }\n /**\n * Notifies Angular that the option needs to be checked in the next change detection run. Mainly\n * used to trigger an update of the list option if the disabled state of the selection list\n * changed.\n */\n _markForCheck() {\n this._changeDetector.markForCheck();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyListOption, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: forwardRef(() => MatLegacySelectionList) }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyListOption, selector: \"mat-list-option\", inputs: { disableRipple: \"disableRipple\", checkboxPosition: \"checkboxPosition\", color: \"color\", value: \"value\", disabled: \"disabled\", selected: \"selected\" }, outputs: { selectedChange: \"selectedChange\" }, host: { attributes: { \"role\": \"option\" }, listeners: { \"focus\": \"_handleFocus()\", \"blur\": \"_handleBlur()\", \"click\": \"_handleClick()\" }, properties: { \"class.mat-list-item-disabled\": \"disabled\", \"class.mat-list-item-with-avatar\": \"_avatar || _icon\", \"class.mat-primary\": \"color === \\\"primary\\\"\", \"class.mat-accent\": \"color !== \\\"primary\\\" && color !== \\\"warn\\\"\", \"class.mat-warn\": \"color === \\\"warn\\\"\", \"class.mat-list-single-selected-option\": \"selected && !selectionList.multiple\", \"attr.aria-selected\": \"selected\", \"attr.aria-disabled\": \"disabled\", \"attr.tabindex\": \"-1\" }, classAttribute: \"mat-list-item mat-list-option mat-focus-indicator\" }, queries: [{ propertyName: \"_avatar\", first: true, predicate: MatLegacyListAvatarCssMatStyler, descendants: true }, { propertyName: \"_icon\", first: true, predicate: MatLegacyListIconCssMatStyler, descendants: true }, { propertyName: \"_lines\", predicate: MatLine, descendants: true }], viewQueries: [{ propertyName: \"_text\", first: true, predicate: [\"text\"], descendants: true }], exportAs: [\"matListOption\"], usesInheritance: true, ngImport: i0, template: \"<div class=\\\"mat-list-item-content\\\"\\n [class.mat-list-item-content-reverse]=\\\"checkboxPosition == 'after'\\\">\\n\\n <div mat-ripple\\n class=\\\"mat-list-item-ripple\\\"\\n [matRippleTrigger]=\\\"_getHostElement()\\\"\\n [matRippleDisabled]=\\\"_isRippleDisabled()\\\"></div>\\n\\n <mat-pseudo-checkbox\\n *ngIf=\\\"selectionList.multiple\\\"\\n [state]=\\\"selected ? 'checked' : 'unchecked'\\\"\\n [disabled]=\\\"disabled\\\"></mat-pseudo-checkbox>\\n\\n <div class=\\\"mat-list-text\\\" #text><ng-content></ng-content></div>\\n\\n <ng-content select=\\\"[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]\\\">\\n </ng-content>\\n\\n</div>\\n\", dependencies: [{ kind: \"directive\", type: i1.MatRipple, selector: \"[mat-ripple], [matRipple]\", inputs: [\"matRippleColor\", \"matRippleUnbounded\", \"matRippleCentered\", \"matRippleRadius\", \"matRippleAnimation\", \"matRippleDisabled\", \"matRippleTrigger\"], exportAs: [\"matRipple\"] }, { kind: \"component\", type: i1.MatPseudoCheckbox, selector: \"mat-pseudo-checkbox\", inputs: [\"state\", \"disabled\", \"appearance\"] }, { kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyListOption, decorators: [{\n type: Component,\n args: [{ selector: 'mat-list-option', exportAs: 'matListOption', inputs: ['disableRipple'], host: {\n 'role': 'option',\n 'class': 'mat-list-item mat-list-option mat-focus-indicator',\n '(focus)': '_handleFocus()',\n '(blur)': '_handleBlur()',\n '(click)': '_handleClick()',\n '[class.mat-list-item-disabled]': 'disabled',\n '[class.mat-list-item-with-avatar]': '_avatar || _icon',\n // Manually set the \"primary\" or \"warn\" class if the color has been explicitly\n // set to \"primary\" or \"warn\". The pseudo checkbox picks up these classes for\n // its theme.\n '[class.mat-primary]': 'color === \"primary\"',\n // Even though accent is the default, we need to set this class anyway, because the list might\n // be placed inside a parent that has one of the other colors with a higher specificity.\n '[class.mat-accent]': 'color !== \"primary\" && color !== \"warn\"',\n '[class.mat-warn]': 'color === \"warn\"',\n '[class.mat-list-single-selected-option]': 'selected && !selectionList.multiple',\n '[attr.aria-selected]': 'selected',\n '[attr.aria-disabled]': 'disabled',\n '[attr.tabindex]': '-1',\n }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: \"<div class=\\\"mat-list-item-content\\\"\\n [class.mat-list-item-content-reverse]=\\\"checkboxPosition == 'after'\\\">\\n\\n <div mat-ripple\\n class=\\\"mat-list-item-ripple\\\"\\n [matRippleTrigger]=\\\"_getHostElement()\\\"\\n [matRippleDisabled]=\\\"_isRippleDisabled()\\\"></div>\\n\\n <mat-pseudo-checkbox\\n *ngIf=\\\"selectionList.multiple\\\"\\n [state]=\\\"selected ? 'checked' : 'unchecked'\\\"\\n [disabled]=\\\"disabled\\\"></mat-pseudo-checkbox>\\n\\n <div class=\\\"mat-list-text\\\" #text><ng-content></ng-content></div>\\n\\n <ng-content select=\\\"[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]\\\">\\n </ng-content>\\n\\n</div>\\n\" }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: MatLegacySelectionList, decorators: [{\n type: Inject,\n args: [forwardRef(() => MatLegacySelectionList)]\n }] }]; }, propDecorators: { _avatar: [{\n type: ContentChild,\n args: [MatLegacyListAvatarCssMatStyler]\n }], _icon: [{\n type: ContentChild,\n args: [MatLegacyListIconCssMatStyler]\n }], _lines: [{\n type: ContentChildren,\n args: [MatLine, { descendants: true }]\n }], selectedChange: [{\n type: Output\n }], _text: [{\n type: ViewChild,\n args: ['text']\n }], checkboxPosition: [{\n type: Input\n }], color: [{\n type: Input\n }], value: [{\n type: Input\n }], disabled: [{\n type: Input\n }], selected: [{\n type: Input\n }] } });\n/**\n * Material Design list component where each item is a selectable option. Behaves as a listbox.\n * @deprecated Use `MatSelectionList` from `@angular/material/list` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacySelectionList extends _MatSelectionListBase {\n /** Whether the selection list is disabled. */\n get disabled() {\n return this._disabled;\n }\n set disabled(value) {\n this._disabled = coerceBooleanProperty(value);\n // The `MatSelectionList` and `MatListOption` are using the `OnPush` change detection\n // strategy. Therefore the options will not check for any changes if the `MatSelectionList`\n // changed its state. Since we know that a change to `disabled` property of the list affects\n // the state of the options, we manually mark each option for check.\n this._markOptionsForCheck();\n }\n /** Whether selection is limited to one or multiple items (default multiple). */\n get multiple() {\n return this._multiple;\n }\n set multiple(value) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this._multiple) {\n if (this._contentInitialized && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw new Error('Cannot change `multiple` mode of mat-selection-list after initialization.');\n }\n this._multiple = newValue;\n this.selectedOptions = new SelectionModel(this._multiple, this.selectedOptions.selected);\n }\n }\n constructor(_element, _changeDetector, _focusMonitor) {\n super();\n this._element = _element;\n this._changeDetector = _changeDetector;\n this._focusMonitor = _focusMonitor;\n this._multiple = true;\n this._contentInitialized = false;\n /** Emits a change event whenever the selected state of an option changes. */\n this.selectionChange = new EventEmitter();\n /** Theme color of the selection list. This sets the checkbox color for all list options. */\n this.color = 'accent';\n /**\n * Function used for comparing an option against the selected value when determining which\n * options should appear as selected. The first argument is the value of an options. The second\n * one is a value from the selected value. A boolean must be returned.\n */\n this.compareWith = (a1, a2) => a1 === a2;\n this._disabled = false;\n /** The currently selected options. */\n this.selectedOptions = new SelectionModel(this._multiple);\n /** The tabindex of the selection list. */\n this._tabIndex = -1;\n /** View to model callback that should be called whenever the selected options change. */\n this._onChange = (_) => { };\n /** Emits when the list has been destroyed. */\n this._destroyed = new Subject();\n /** View to model callback that should be called if the list or its options lost focus. */\n this._onTouched = () => { };\n }\n ngAfterContentInit() {\n this._contentInitialized = true;\n this._keyManager = new FocusKeyManager(this.options)\n .withWrap()\n .withTypeAhead()\n .withHomeAndEnd()\n // Allow disabled items to be focusable. For accessibility reasons, there must be a way for\n // screen reader users, that allows reading the different options of the list.\n .skipPredicate(() => false)\n .withAllowedModifierKeys(['shiftKey']);\n if (this._value) {\n this._setOptionsFromValues(this._value);\n }\n // If the user attempts to tab out of the selection list, allow focus to escape.\n this._keyManager.tabOut.subscribe(() => this._allowFocusEscape());\n // When the number of options change, update the tabindex of the selection list.\n this.options.changes.pipe(startWith(null), takeUntil(this._destroyed)).subscribe(() => {\n this._updateTabIndex();\n });\n // Sync external changes to the model back to the options.\n this.selectedOptions.changed.pipe(takeUntil(this._destroyed)).subscribe(event => {\n if (event.added) {\n for (let item of event.added) {\n item.selected = true;\n }\n }\n if (event.removed) {\n for (let item of event.removed) {\n item.selected = false;\n }\n }\n });\n this._focusMonitor\n .monitor(this._element)\n .pipe(takeUntil(this._destroyed))\n .subscribe(origin => {\n if (origin === 'keyboard' || origin === 'program') {\n let toFocus = 0;\n for (let i = 0; i < this.options.length; i++) {\n if (this.options.get(i)?.selected) {\n toFocus = i;\n break;\n }\n }\n this._keyManager.setActiveItem(toFocus);\n }\n });\n }\n ngOnChanges(changes) {\n const disableRippleChanges = changes['disableRipple'];\n const colorChanges = changes['color'];\n if ((disableRippleChanges && !disableRippleChanges.firstChange) ||\n (colorChanges && !colorChanges.firstChange)) {\n this._markOptionsForCheck();\n }\n }\n ngOnDestroy() {\n this._keyManager?.destroy();\n this._focusMonitor.stopMonitoring(this._element);\n this._destroyed.next();\n this._destroyed.complete();\n this._isDestroyed = true;\n }\n /** Focuses the selection list. */\n focus(options) {\n this._element.nativeElement.focus(options);\n }\n /** Selects all of the options. Returns the options that changed as a result. */\n selectAll() {\n return this._setAllOptionsSelected(true);\n }\n /** Deselects all of the options. Returns the options that changed as a result. */\n deselectAll() {\n return this._setAllOptionsSelected(false);\n }\n /** Sets the focused option of the selection-list. */\n _setFocusedOption(option) {\n this._keyManager.updateActiveItem(option);\n }\n /**\n * Removes an option from the selection list and updates the active item.\n * @returns Currently-active item.\n */\n _removeOptionFromList(option) {\n const optionIndex = this._getOptionIndex(option);\n if (optionIndex > -1 && this._keyManager.activeItemIndex === optionIndex) {\n // Check whether the option is the last item\n if (optionIndex > 0) {\n this._keyManager.updateActiveItem(optionIndex - 1);\n }\n else if (optionIndex === 0 && this.options.length > 1) {\n this._keyManager.updateActiveItem(Math.min(optionIndex + 1, this.options.length - 1));\n }\n }\n return this._keyManager.activeItem;\n }\n /** Passes relevant key presses to our key manager. */\n _keydown(event) {\n const keyCode = event.keyCode;\n const manager = this._keyManager;\n const previousFocusIndex = manager.activeItemIndex;\n const hasModifier = hasModifierKey(event);\n switch (keyCode) {\n case SPACE:\n case ENTER:\n if (!hasModifier && !manager.isTyping()) {\n this._toggleFocusedOption();\n // Always prevent space from scrolling the page since the list has focus\n event.preventDefault();\n }\n break;\n default:\n // The \"A\" key gets special treatment, because it's used for the \"select all\" functionality.\n if (keyCode === A &&\n this.multiple &&\n hasModifierKey(event, 'ctrlKey') &&\n !manager.isTyping()) {\n const shouldSelect = this.options.some(option => !option.disabled && !option.selected);\n this._setAllOptionsSelected(shouldSelect, true, true);\n event.preventDefault();\n }\n else {\n manager.onKeydown(event);\n }\n }\n if (this.multiple &&\n (keyCode === UP_ARROW || keyCode === DOWN_ARROW) &&\n event.shiftKey &&\n manager.activeItemIndex !== previousFocusIndex) {\n this._toggleFocusedOption();\n }\n }\n /** Reports a value change to the ControlValueAccessor */\n _reportValueChange() {\n // Stop reporting value changes after the list has been destroyed. This avoids\n // cases where the list might wrongly reset its value once it is removed, but\n // the form control is still live.\n if (this.options && !this._isDestroyed) {\n const value = this._getSelectedOptionValues();\n this._onChange(value);\n this._value = value;\n }\n }\n /** Emits a change event if the selected state of an option changed. */\n _emitChangeEvent(options) {\n this.selectionChange.emit(new MatLegacySelectionListChange(this, options));\n }\n /** Implemented as part of ControlValueAccessor. */\n writeValue(values) {\n this._value = values;\n if (this.options) {\n this._setOptionsFromValues(values || []);\n }\n }\n /** Implemented as a part of ControlValueAccessor. */\n setDisabledState(isDisabled) {\n this.disabled = isDisabled;\n }\n /** Implemented as part of ControlValueAccessor. */\n registerOnChange(fn) {\n this._onChange = fn;\n }\n /** Implemented as part of ControlValueAccessor. */\n registerOnTouched(fn) {\n this._onTouched = fn;\n }\n /** Sets the selected options based on the specified values. */\n _setOptionsFromValues(values) {\n this.options.forEach(option => option._setSelected(false));\n values.forEach(value => {\n const correspondingOption = this.options.find(option => {\n // Skip options that are already in the model. This allows us to handle cases\n // where the same primitive value is selected multiple times.\n return option.selected ? false : this.compareWith(option.value, value);\n });\n if (correspondingOption) {\n correspondingOption._setSelected(true);\n }\n });\n }\n /** Returns the values of the selected options. */\n _getSelectedOptionValues() {\n return this.options.filter(option => option.selected).map(option => option.value);\n }\n /** Toggles the state of the currently focused option if enabled. */\n _toggleFocusedOption() {\n let focusedIndex = this._keyManager.activeItemIndex;\n if (focusedIndex != null && this._isValidIndex(focusedIndex)) {\n let focusedOption = this.options.toArray()[focusedIndex];\n if (focusedOption && !focusedOption.disabled && (this._multiple || !focusedOption.selected)) {\n focusedOption.toggle();\n // Emit a change event because the focused option changed its state through user\n // interaction.\n this._emitChangeEvent([focusedOption]);\n }\n }\n }\n /**\n * Sets the selected state on all of the options\n * and emits an event if anything changed.\n */\n _setAllOptionsSelected(isSelected, skipDisabled, isUserInput) {\n // Keep track of whether anything changed, because we only want to\n // emit the changed event when something actually changed.\n const changedOptions = [];\n this.options.forEach(option => {\n if ((!skipDisabled || !option.disabled) && option._setSelected(isSelected)) {\n changedOptions.push(option);\n }\n });\n if (changedOptions.length) {\n this._reportValueChange();\n if (isUserInput) {\n this._emitChangeEvent(changedOptions);\n }\n }\n return changedOptions;\n }\n /**\n * Utility to ensure all indexes are valid.\n * @param index The index to be checked.\n * @returns True if the index is valid for our list of options.\n */\n _isValidIndex(index) {\n return index >= 0 && index < this.options.length;\n }\n /** Returns the index of the specified list option. */\n _getOptionIndex(option) {\n return this.options.toArray().indexOf(option);\n }\n /** Marks all the options to be checked in the next change detection run. */\n _markOptionsForCheck() {\n if (this.options) {\n this.options.forEach(option => option._markForCheck());\n }\n }\n /**\n * Removes the tabindex from the selection list and resets it back afterwards, allowing the user\n * to tab out of it. This prevents the list from capturing focus and redirecting it back within\n * the list, creating a focus trap if it user tries to tab away.\n */\n _allowFocusEscape() {\n this._tabIndex = -1;\n setTimeout(() => {\n this._tabIndex = 0;\n this._changeDetector.markForCheck();\n });\n }\n /** Updates the tabindex based upon if the selection list is empty. */\n _updateTabIndex() {\n this._tabIndex = this.options.length === 0 ? -1 : 0;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacySelectionList, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i3.FocusMonitor }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacySelectionList, selector: \"mat-selection-list\", inputs: { disableRipple: \"disableRipple\", color: \"color\", compareWith: \"compareWith\", disabled: \"disabled\", multiple: \"multiple\" }, outputs: { selectionChange: \"selectionChange\" }, host: { attributes: { \"role\": \"listbox\" }, listeners: { \"keydown\": \"_keydown($event)\" }, properties: { \"attr.aria-multiselectable\": \"multiple\", \"attr.aria-disabled\": \"disabled.toString()\", \"attr.tabindex\": \"_tabIndex\" }, classAttribute: \"mat-selection-list mat-list-base\" }, providers: [MAT_LEGACY_SELECTION_LIST_VALUE_ACCESSOR], queries: [{ propertyName: \"options\", predicate: MatLegacyListOption, descendants: true }], exportAs: [\"matSelectionList\"], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [\".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:hover{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:\\\"\\\";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacySelectionList, decorators: [{\n type: Component,\n args: [{ selector: 'mat-selection-list', exportAs: 'matSelectionList', inputs: ['disableRipple'], host: {\n 'role': 'listbox',\n 'class': 'mat-selection-list mat-list-base',\n '(keydown)': '_keydown($event)',\n '[attr.aria-multiselectable]': 'multiple',\n '[attr.aria-disabled]': 'disabled.toString()',\n '[attr.tabindex]': '_tabIndex',\n }, template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.None, providers: [MAT_LEGACY_SELECTION_LIST_VALUE_ACCESSOR], changeDetection: ChangeDetectionStrategy.OnPush, styles: [\".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:hover{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:\\\"\\\";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i3.FocusMonitor }]; }, propDecorators: { options: [{\n type: ContentChildren,\n args: [MatLegacyListOption, { descendants: true }]\n }], selectionChange: [{\n type: Output\n }], color: [{\n type: Input\n }], compareWith: [{\n type: Input\n }], disabled: [{\n type: Input\n }], multiple: [{\n type: Input\n }] } });\n\n/**\n * @deprecated Use `MatListModule` from `@angular/material/list` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyListModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyListModule, declarations: [MatLegacyList,\n MatLegacyNavList,\n MatLegacyListItem,\n MatLegacyListAvatarCssMatStyler,\n MatLegacyListIconCssMatStyler,\n MatLegacyListSubheaderCssMatStyler,\n MatLegacySelectionList,\n MatLegacyListOption], imports: [MatLineModule, MatRippleModule, MatCommonModule, MatPseudoCheckboxModule, CommonModule], exports: [MatLegacyList,\n MatLegacyNavList,\n MatLegacyListItem,\n MatLegacyListAvatarCssMatStyler,\n MatLineModule,\n MatCommonModule,\n MatLegacyListIconCssMatStyler,\n MatLegacyListSubheaderCssMatStyler,\n MatPseudoCheckboxModule,\n MatLegacySelectionList,\n MatLegacyListOption,\n MatDividerModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyListModule, imports: [MatLineModule, MatRippleModule, MatCommonModule, MatPseudoCheckboxModule, CommonModule, MatLineModule,\n MatCommonModule,\n MatPseudoCheckboxModule,\n MatDividerModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyListModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [MatLineModule, MatRippleModule, MatCommonModule, MatPseudoCheckboxModule, CommonModule],\n exports: [\n MatLegacyList,\n MatLegacyNavList,\n MatLegacyListItem,\n MatLegacyListAvatarCssMatStyler,\n MatLineModule,\n MatCommonModule,\n MatLegacyListIconCssMatStyler,\n MatLegacyListSubheaderCssMatStyler,\n MatPseudoCheckboxModule,\n MatLegacySelectionList,\n MatLegacyListOption,\n MatDividerModule,\n ],\n declarations: [\n MatLegacyList,\n MatLegacyNavList,\n MatLegacyListItem,\n MatLegacyListAvatarCssMatStyler,\n MatLegacyListIconCssMatStyler,\n MatLegacyListSubheaderCssMatStyler,\n MatLegacySelectionList,\n MatLegacyListOption,\n ],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MAT_LEGACY_SELECTION_LIST_VALUE_ACCESSOR, MatLegacyList, MatLegacyListAvatarCssMatStyler, MatLegacyListIconCssMatStyler, MatLegacyListItem, MatLegacyListModule, MatLegacyListOption, MatLegacyListSubheaderCssMatStyler, MatLegacyNavList, MatLegacySelectionList, MatLegacySelectionListChange };\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41]} \ No newline at end of file diff --git a/7672.d97d46e89fe535ef.js b/7672.d97d46e89fe535ef.js new file mode 100644 index 0000000..32ca752 --- /dev/null +++ b/7672.d97d46e89fe535ef.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[7672],{7672:(U,C,m)=>{m.r(C),m.d(C,{MAT_CHECKBOX_CONTROL_VALUE_ACCESSOR:()=>T,MAT_CHECKBOX_DEFAULT_OPTIONS:()=>E,MAT_CHECKBOX_DEFAULT_OPTIONS_FACTORY:()=>f,MAT_CHECKBOX_REQUIRED_VALIDATOR:()=>O,MatCheckbox:()=>R,MatCheckboxChange:()=>A,MatCheckboxModule:()=>Z,MatCheckboxRequiredValidator:()=>P,_MatCheckboxBase:()=>D,_MatCheckboxRequiredValidatorModule:()=>g});var F=m(4089),M=m(20265),x=m(24582),p=m(28694),k=m(48047),b=m(78069),e=m(56718),v=m(47405),l=m(6606),z=m(33401),u=m(35333),L=["input"],B=["label"],w=["*"],E=new e.InjectionToken("mat-checkbox-default-options",{providedIn:"root",factory:f});function f(){return{color:"accent",clickAction:"check-indeterminate"}}var T={provide:v.NG_VALUE_ACCESSOR,useExisting:(0,e.forwardRef)(function(){return R}),multi:!0},A=(0,k.Z)(function a(){(0,b.Z)(this,a)}),V=0,I=f(),S=(0,l.mixinTabIndex)((0,l.mixinColor)((0,l.mixinDisableRipple)((0,l.mixinDisabled)(function(){return(0,k.Z)(function a(i){(0,b.Z)(this,a),this._elementRef=i})}())))),D=function(){var a=function(i){(0,x.Z)(c,i);var d=(0,p.Z)(c);function c(t,o,n,h,s,y,_){var r;return(0,b.Z)(this,c),(r=d.call(this,o))._changeDetectorRef=n,r._ngZone=h,r._animationMode=y,r._options=_,r.ariaLabel="",r.ariaLabelledby=null,r.labelPosition="after",r.name=null,r.change=new e.EventEmitter,r.indeterminateChange=new e.EventEmitter,r._onTouched=function(){},r._currentAnimationClass="",r._currentCheckState=0,r._controlValueAccessorChangeFn=function(){},r._checked=!1,r._disabled=!1,r._indeterminate=!1,r._options=r._options||I,r.color=r.defaultColor=r._options.color||I.color,r.tabIndex=parseInt(s)||0,r.id=r._uniqueId="".concat(t).concat(++V),r}return(0,k.Z)(c,[{key:"inputId",get:function(){return"".concat(this.id||this._uniqueId,"-input")}},{key:"required",get:function(){return this._required},set:function(o){this._required=(0,u.coerceBooleanProperty)(o)}},{key:"ngAfterViewInit",value:function(){this._syncIndeterminate(this._indeterminate)}},{key:"checked",get:function(){return this._checked},set:function(o){var n=(0,u.coerceBooleanProperty)(o);n!=this.checked&&(this._checked=n,this._changeDetectorRef.markForCheck())}},{key:"disabled",get:function(){return this._disabled},set:function(o){var n=(0,u.coerceBooleanProperty)(o);n!==this.disabled&&(this._disabled=n,this._changeDetectorRef.markForCheck())}},{key:"indeterminate",get:function(){return this._indeterminate},set:function(o){var n=o!=this._indeterminate;this._indeterminate=(0,u.coerceBooleanProperty)(o),n&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_onLabelTextChange",value:function(){this._changeDetectorRef.detectChanges()}},{key:"writeValue",value:function(o){this.checked=!!o}},{key:"registerOnChange",value:function(o){this._controlValueAccessorChangeFn=o}},{key:"registerOnTouched",value:function(o){this._onTouched=o}},{key:"setDisabledState",value:function(o){this.disabled=o}},{key:"_transitionCheckState",value:function(o){var n=this._currentCheckState,h=this._getAnimationTargetElement();if(n!==o&&h&&(this._currentAnimationClass&&h.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(n,o),this._currentCheckState=o,this._currentAnimationClass.length>0)){h.classList.add(this._currentAnimationClass);var s=this._currentAnimationClass;this._ngZone.runOutsideAngular(function(){setTimeout(function(){h.classList.remove(s)},1e3)})}}},{key:"_emitChangeEvent",value:function(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}},{key:"toggle",value:function(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}},{key:"_handleInputClick",value:function(){var o,n=this,h=null===(o=this._options)||void 0===o?void 0:o.clickAction;this.disabled||"noop"===h?!this.disabled&&"noop"===h&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==h&&Promise.resolve().then(function(){n._indeterminate=!1,n.indeterminateChange.emit(n._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}},{key:"_onInteractionEvent",value:function(o){o.stopPropagation()}},{key:"_onBlur",value:function(){var o=this;Promise.resolve().then(function(){o._onTouched(),o._changeDetectorRef.markForCheck()})}},{key:"_getAnimationClassForCheckStateTransition",value:function(o,n){if("NoopAnimations"===this._animationMode)return"";switch(o){case 0:if(1===n)return this._animationClasses.uncheckedToChecked;if(3==n)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===n?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===n?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===n?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}},{key:"_syncIndeterminate",value:function(o){var n=this._inputElement;n&&(n.nativeElement.indeterminate=o)}}]),c}(S);return a.\u0275fac=function(d){e.\u0275\u0275invalidFactory()},a.\u0275dir=e.\u0275\u0275defineDirective({type:a,viewQuery:function(d,c){var t;1&d&&(e.\u0275\u0275viewQuery(L,5),e.\u0275\u0275viewQuery(B,5),e.\u0275\u0275viewQuery(l.MatRipple,5)),2&d&&(e.\u0275\u0275queryRefresh(t=e.\u0275\u0275loadQuery())&&(c._inputElement=t.first),e.\u0275\u0275queryRefresh(t=e.\u0275\u0275loadQuery())&&(c._labelElement=t.first),e.\u0275\u0275queryRefresh(t=e.\u0275\u0275loadQuery())&&(c.ripple=t.first))},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[e.\u0275\u0275InheritDefinitionFeature]}),a}(),R=function(){var a=function(i){(0,x.Z)(c,i);var d=(0,p.Z)(c);function c(t,o,n,h,s,y){var _;return(0,b.Z)(this,c),(_=d.call(this,"mat-mdc-checkbox-",t,o,n,h,s,y))._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"},_}return(0,k.Z)(c,[{key:"focus",value:function(){this._inputElement.nativeElement.focus()}},{key:"_createChangeEvent",value:function(o){var n=new A;return n.source=this,n.checked=o,n}},{key:"_getAnimationTargetElement",value:function(){var o;return null===(o=this._inputElement)||void 0===o?void 0:o.nativeElement}},{key:"_onInputClick",value:function(){(0,F.Z)((0,M.Z)(c.prototype),"_handleInputClick",this).call(this)}},{key:"_onTouchTargetClick",value:function(){(0,F.Z)((0,M.Z)(c.prototype),"_handleInputClick",this).call(this),this.disabled||this._inputElement.nativeElement.focus()}},{key:"_preventBubblingFromLabel",value:function(o){o.target&&this._labelElement.nativeElement.contains(o.target)&&o.stopPropagation()}}]),c}(D);return a.\u0275fac=function(d){return new(d||a)(e.\u0275\u0275directiveInject(e.ElementRef),e.\u0275\u0275directiveInject(e.ChangeDetectorRef),e.\u0275\u0275directiveInject(e.NgZone),e.\u0275\u0275injectAttribute("tabindex"),e.\u0275\u0275directiveInject(z.ANIMATION_MODULE_TYPE,8),e.\u0275\u0275directiveInject(E,8))},a.\u0275cmp=e.\u0275\u0275defineComponent({type:a,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-mdc-checkbox"],hostVars:12,hostBindings:function(d,c){2&d&&(e.\u0275\u0275hostProperty("id",c.id),e.\u0275\u0275attribute("tabindex",null)("aria-label",null)("aria-labelledby",null),e.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===c._animationMode)("mdc-checkbox--disabled",c.disabled)("mat-mdc-checkbox-disabled",c.disabled)("mat-mdc-checkbox-checked",c.checked))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[e.\u0275\u0275ProvidersFeature([T]),e.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:w,decls:15,vars:19,consts:[[1,"mdc-form-field",3,"click"],[1,"mdc-checkbox"],["checkbox",""],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","indeterminate","disabled","id","required","tabIndex","blur","click","change"],["input",""],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"],["label",""]],template:function(d,c){if(1&d&&(e.\u0275\u0275projectionDef(),e.\u0275\u0275elementStart(0,"div",0),e.\u0275\u0275listener("click",function(n){return c._preventBubblingFromLabel(n)}),e.\u0275\u0275elementStart(1,"div",1,2)(3,"div",3),e.\u0275\u0275listener("click",function(){return c._onTouchTargetClick()}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"input",4,5),e.\u0275\u0275listener("blur",function(){return c._onBlur()})("click",function(){return c._onInputClick()})("change",function(n){return c._onInteractionEvent(n)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(6,"div",6),e.\u0275\u0275elementStart(7,"div",7),e.\u0275\u0275namespaceSVG(),e.\u0275\u0275elementStart(8,"svg",8),e.\u0275\u0275element(9,"path",9),e.\u0275\u0275elementEnd(),e.\u0275\u0275namespaceHTML(),e.\u0275\u0275element(10,"div",10),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(11,"div",11),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(12,"label",12,13),e.\u0275\u0275projection(14),e.\u0275\u0275elementEnd()()),2&d){var t=e.\u0275\u0275reference(2);e.\u0275\u0275classProp("mdc-form-field--align-end","before"==c.labelPosition),e.\u0275\u0275advance(4),e.\u0275\u0275classProp("mdc-checkbox--selected",c.checked),e.\u0275\u0275property("checked",c.checked)("indeterminate",c.indeterminate)("disabled",c.disabled)("id",c.inputId)("required",c.required)("tabIndex",c.tabIndex),e.\u0275\u0275attribute("aria-label",c.ariaLabel||null)("aria-labelledby",c.ariaLabelledby)("aria-describedby",c.ariaDescribedby)("name",c.name)("value",c.value),e.\u0275\u0275advance(7),e.\u0275\u0275property("matRippleTrigger",t)("matRippleDisabled",c.disableRipple||c.disabled)("matRippleCentered",!0),e.\u0275\u0275advance(1),e.\u0275\u0275property("for",c.inputId)}},dependencies:[l.MatRipple],styles:['.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}}.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2)}.mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:focus:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}html{--mdc-checkbox-disabled-selected-checkmark-color:#fff;--mdc-checkbox-selected-focus-state-layer-opacity:0.16;--mdc-checkbox-selected-hover-state-layer-opacity:0.04;--mdc-checkbox-selected-pressed-state-layer-opacity:0.16;--mdc-checkbox-unselected-focus-state-layer-opacity:0.16;--mdc-checkbox-unselected-hover-state-layer-opacity:0.04;--mdc-checkbox-unselected-pressed-state-layer-opacity:0.16}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default}.mat-mdc-checkbox label:empty{display:none}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),a}(),O={provide:v.NG_VALIDATORS,useExisting:(0,e.forwardRef)(function(){return P}),multi:!0},P=function(){var a=function(i){(0,x.Z)(c,i);var d=(0,p.Z)(c);function c(){return(0,b.Z)(this,c),d.apply(this,arguments)}return(0,k.Z)(c)}(v.CheckboxRequiredValidator);return a.\u0275fac=function(){var i;return function(c){return(i||(i=e.\u0275\u0275getInheritedFactory(a)))(c||a)}}(),a.\u0275dir=e.\u0275\u0275defineDirective({type:a,selectors:[["mat-checkbox","required","","formControlName",""],["mat-checkbox","required","","formControl",""],["mat-checkbox","required","","ngModel",""]],features:[e.\u0275\u0275ProvidersFeature([O]),e.\u0275\u0275InheritDefinitionFeature]}),a}(),g=function(){var a=(0,k.Z)(function i(){(0,b.Z)(this,i)});return a.\u0275fac=function(d){return new(d||a)},a.\u0275mod=e.\u0275\u0275defineNgModule({type:a}),a.\u0275inj=e.\u0275\u0275defineInjector({}),a}(),Z=function(){var a=(0,k.Z)(function i(){(0,b.Z)(this,i)});return a.\u0275fac=function(d){return new(d||a)},a.\u0275mod=e.\u0275\u0275defineNgModule({type:a}),a.\u0275inj=e.\u0275\u0275defineInjector({imports:[l.MatCommonModule,l.MatRippleModule,g,l.MatCommonModule,g]}),a}()}}]); +//# sourceMappingURL=7672.d97d46e89fe535ef.js.map \ No newline at end of file diff --git a/7672.d97d46e89fe535ef.js.map b/7672.d97d46e89fe535ef.js.map new file mode 100644 index 0000000..1de8f29 --- /dev/null +++ b/7672.d97d46e89fe535ef.js.map @@ -0,0 +1 @@ +{"version":3,"file":"7672.d97d46e89fe535ef.js","mappings":"giBAQAA,EAAA,UAAAC,EAAA,UAAAC,EAAA,MACMC,EAA+B,IAAIC,iBAAe,+BAAgC,CACpFC,WAAY,OACZC,QAASC,IAGb,SAASA,IACL,MAAO,CACHC,MAAO,SACPC,YAAa,sBAErB,CAEA,IAAMC,EAAsC,CACxCC,QAASC,oBACTC,aAAaC,gBAAW,kBAAMC,CAAW,GACzCC,OAAO,GAGLC,GAAiBC,OAAA,SAAAD,KAAAE,OAAAC,KAAAH,EAAA,GAGnBI,EAAe,EAEbC,EAAWf,IAGXgB,GAAwBC,oBAAcC,iBAAWC,yBAAmBC,mBAAa,WAGlF,SAAAT,KAFD,SAAAU,EAAYC,IAAaV,OAAAC,KAAAQ,GACrBR,KAAKS,YAAcA,CACvB,EAAC,CAHkF,OAKjFC,EAAgB,eAAhBA,EAAgB,SAAAC,IAAAC,OAAAF,EAAAC,GAAA,IAAAE,KAAAC,KAAAJ,GAYlB,SAAAA,EAAYK,EAAUC,EAAY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eAAAmE,EAAA,gBAAAlE,GAAA,OAAAkE,MAvI8EjE,kCAuIU2D,KAA4B5D,GAA5B4D,EAA4B,EAApH,GADhBA,EAEY1D,UAxIkFD,8BAAE,CAAAE,KAwIJyD,EAA4BzB,UAAA,kJAAAnB,SAAA,CAxI1Bf,+BAwIgL,CAACyD,IAxIjLzD,0CAsI9F2D,CAA4B,IAc5BO,EAAmC,eAAnCA,GAAmCpK,OAAA,SAAAoK,KAAAnK,OAAAC,KAAAkK,EAAA,GAAnCA,SACYpE,UAAI,SAAAC,GAAA,WAAAA,GAAwFmE,EAAmC,EAD3IA,EAEYC,UAtJkFnE,6BAAE,CAAAE,KAsJSgE,IAFzGA,EAGYE,UAvJkFpE,6BAAE,IAoJhGkE,CAAmC,IAYnCG,EAAiB,eAAjBA,GAAiBvK,OAAA,SAAAuK,KAAAtK,OAAAC,KAAAqK,EAAA,GAAjBA,SACYvE,UAAI,SAAAC,GAAA,WAAAA,GAAwFsE,EAAiB,EADzHA,EAEYF,UAlKkFnE,6BAAE,CAAAE,KAkKSmE,IAFzGA,EAGYD,UAnKkFpE,6BAAE,CAAAsE,QAAA,CAmKsCC,kBAAiBC,kBAAiBN,EAAqCK,kBAAiBL,KAH9NG,CAAiB","names":["_c0","_c1","_c2","MAT_CHECKBOX_DEFAULT_OPTIONS","InjectionToken","providedIn","factory","MAT_CHECKBOX_DEFAULT_OPTIONS_FACTORY","color","clickAction","MAT_CHECKBOX_CONTROL_VALUE_ACCESSOR","provide","NG_VALUE_ACCESSOR","useExisting","forwardRef","MatCheckbox","multi","MatCheckboxChange","_createClass","_classCallCheck","this","nextUniqueId","defaults","_MatCheckboxMixinBase","mixinTabIndex","mixinColor","mixinDisableRipple","mixinDisabled","_class","_elementRef","_MatCheckboxBase","_MatCheckboxMixinBase2","_inherits","_super","_createSuper","idPrefix","elementRef","_changeDetectorRef","_ngZone","tabIndex","_animationMode","_options","_this","call","ariaLabel","ariaLabelledby","labelPosition","name","change","EventEmitter","indeterminateChange","_onTouched","_currentAnimationClass","_currentCheckState","_controlValueAccessorChangeFn","_checked","_disabled","_indeterminate","defaultColor","parseInt","id","_uniqueId","concat","key","get","_required","set","value","coerceBooleanProperty","_syncIndeterminate","checked","markForCheck","newValue","disabled","changed","_transitionCheckState","emit","disableRipple","detectChanges","fn","isDisabled","newState","oldState","element","_getAnimationTargetElement","classList","remove","_getAnimationClassForCheckStateTransition","length","add","animationClass","runOutsideAngular","setTimeout","_createChangeEvent","_inputElement","nativeElement","_this$_options","_this2","indeterminate","Promise","resolve","then","_emitChangeEvent","event","stopPropagation","_this3","_animationClasses","uncheckedToChecked","checkedToIndeterminate","uncheckedToIndeterminate","checkedToUnchecked","indeterminateToChecked","indeterminateToUnchecked","nativeCheckbox","ɵfac","t","i0","ɵdir","type","viewQuery","rf","ctx","_t","MatRipple","first","_labelElement","ripple","inputs","ariaDescribedby","required","outputs","features","_MatCheckboxBase2","_super2","changeDetectorRef","ngZone","animationMode","options","_this4","focus","isChecked","source","_this$_inputElement","_get","_getPrototypeOf","prototype","target","contains","ANIMATION_MODULE_TYPE","ɵcmp","selectors","hostAttrs","hostVars","hostBindings","exportAs","ngContentSelectors","decls","vars","consts","template","$event","_preventBubblingFromLabel","_onTouchTargetClick","_onBlur","_onInputClick","_onInteractionEvent","_r0","inputId","dependencies","i1","styles","encapsulation","changeDetection","MAT_CHECKBOX_REQUIRED_VALIDATOR","NG_VALIDATORS","MatCheckboxRequiredValidator","_CheckboxRequiredVali","_super3","apply","arguments","CheckboxRequiredValidator","ɵMatCheckboxRequiredValidator_BaseFactory","_MatCheckboxRequiredValidatorModule","ɵmod","ɵinj","MatCheckboxModule","imports","MatCommonModule","MatRippleModule"],"sourceRoot":"webpack:///","sources":["./node_modules/@angular/material/fesm2022/checkbox.mjs"],"sourcesContent":["import * as i0 from '@angular/core';\nimport { InjectionToken, forwardRef, EventEmitter, Directive, Input, Output, ViewChild, Component, ViewEncapsulation, ChangeDetectionStrategy, Attribute, Optional, Inject, NgModule } from '@angular/core';\nimport { NG_VALUE_ACCESSOR, NG_VALIDATORS, CheckboxRequiredValidator } from '@angular/forms';\nimport * as i1 from '@angular/material/core';\nimport { mixinTabIndex, mixinColor, mixinDisableRipple, mixinDisabled, MatRipple, MatCommonModule, MatRippleModule } from '@angular/material/core';\nimport { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\n\n/** Injection token to be used to override the default options for `mat-checkbox`. */\nconst MAT_CHECKBOX_DEFAULT_OPTIONS = new InjectionToken('mat-checkbox-default-options', {\n providedIn: 'root',\n factory: MAT_CHECKBOX_DEFAULT_OPTIONS_FACTORY,\n});\n/** @docs-private */\nfunction MAT_CHECKBOX_DEFAULT_OPTIONS_FACTORY() {\n return {\n color: 'accent',\n clickAction: 'check-indeterminate',\n };\n}\n\nconst MAT_CHECKBOX_CONTROL_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => MatCheckbox),\n multi: true,\n};\n/** Change event object emitted by checkbox. */\nclass MatCheckboxChange {\n}\n// Increasing integer for generating unique ids for checkbox components.\nlet nextUniqueId = 0;\n// Default checkbox configuration.\nconst defaults = MAT_CHECKBOX_DEFAULT_OPTIONS_FACTORY();\n// Boilerplate for applying mixins to MatCheckbox.\n/** @docs-private */\nconst _MatCheckboxMixinBase = mixinTabIndex(mixinColor(mixinDisableRipple(mixinDisabled(class {\n constructor(_elementRef) {\n this._elementRef = _elementRef;\n }\n}))));\nclass _MatCheckboxBase extends _MatCheckboxMixinBase {\n /** Returns the unique id for the visual hidden input. */\n get inputId() {\n return `${this.id || this._uniqueId}-input`;\n }\n /** Whether the checkbox is required. */\n get required() {\n return this._required;\n }\n set required(value) {\n this._required = coerceBooleanProperty(value);\n }\n constructor(idPrefix, elementRef, _changeDetectorRef, _ngZone, tabIndex, _animationMode, _options) {\n super(elementRef);\n this._changeDetectorRef = _changeDetectorRef;\n this._ngZone = _ngZone;\n this._animationMode = _animationMode;\n this._options = _options;\n /**\n * Attached to the aria-label attribute of the host element. In most cases, aria-labelledby will\n * take precedence so this may be omitted.\n */\n this.ariaLabel = '';\n /**\n * Users can specify the `aria-labelledby` attribute which will be forwarded to the input element\n */\n this.ariaLabelledby = null;\n /** Whether the label should appear after or before the checkbox. Defaults to 'after' */\n this.labelPosition = 'after';\n /** Name value will be applied to the input element if present */\n this.name = null;\n /** Event emitted when the checkbox's `checked` value changes. */\n this.change = new EventEmitter();\n /** Event emitted when the checkbox's `indeterminate` value changes. */\n this.indeterminateChange = new EventEmitter();\n /**\n * Called when the checkbox is blurred. Needed to properly implement ControlValueAccessor.\n * @docs-private\n */\n this._onTouched = () => { };\n this._currentAnimationClass = '';\n this._currentCheckState = 0 /* TransitionCheckState.Init */;\n this._controlValueAccessorChangeFn = () => { };\n this._checked = false;\n this._disabled = false;\n this._indeterminate = false;\n this._options = this._options || defaults;\n this.color = this.defaultColor = this._options.color || defaults.color;\n this.tabIndex = parseInt(tabIndex) || 0;\n this.id = this._uniqueId = `${idPrefix}${++nextUniqueId}`;\n }\n ngAfterViewInit() {\n this._syncIndeterminate(this._indeterminate);\n }\n /** Whether the checkbox is checked. */\n get checked() {\n return this._checked;\n }\n set checked(value) {\n const checked = coerceBooleanProperty(value);\n if (checked != this.checked) {\n this._checked = checked;\n this._changeDetectorRef.markForCheck();\n }\n }\n /**\n * Whether the checkbox is disabled. This fully overrides the implementation provided by\n * mixinDisabled, but the mixin is still required because mixinTabIndex requires it.\n */\n get disabled() {\n return this._disabled;\n }\n set disabled(value) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this.disabled) {\n this._disabled = newValue;\n this._changeDetectorRef.markForCheck();\n }\n }\n /**\n * Whether the checkbox is indeterminate. This is also known as \"mixed\" mode and can be used to\n * represent a checkbox with three states, e.g. a checkbox that represents a nested list of\n * checkable items. Note that whenever checkbox is manually clicked, indeterminate is immediately\n * set to false.\n */\n get indeterminate() {\n return this._indeterminate;\n }\n set indeterminate(value) {\n const changed = value != this._indeterminate;\n this._indeterminate = coerceBooleanProperty(value);\n if (changed) {\n if (this._indeterminate) {\n this._transitionCheckState(3 /* TransitionCheckState.Indeterminate */);\n }\n else {\n this._transitionCheckState(this.checked ? 1 /* TransitionCheckState.Checked */ : 2 /* TransitionCheckState.Unchecked */);\n }\n this.indeterminateChange.emit(this._indeterminate);\n }\n this._syncIndeterminate(this._indeterminate);\n }\n _isRippleDisabled() {\n return this.disableRipple || this.disabled;\n }\n /** Method being called whenever the label text changes. */\n _onLabelTextChange() {\n // Since the event of the `cdkObserveContent` directive runs outside of the zone, the checkbox\n // component will be only marked for check, but no actual change detection runs automatically.\n // Instead of going back into the zone in order to trigger a change detection which causes\n // *all* components to be checked (if explicitly marked or not using OnPush), we only trigger\n // an explicit change detection for the checkbox view and its children.\n this._changeDetectorRef.detectChanges();\n }\n // Implemented as part of ControlValueAccessor.\n writeValue(value) {\n this.checked = !!value;\n }\n // Implemented as part of ControlValueAccessor.\n registerOnChange(fn) {\n this._controlValueAccessorChangeFn = fn;\n }\n // Implemented as part of ControlValueAccessor.\n registerOnTouched(fn) {\n this._onTouched = fn;\n }\n // Implemented as part of ControlValueAccessor.\n setDisabledState(isDisabled) {\n this.disabled = isDisabled;\n }\n _transitionCheckState(newState) {\n let oldState = this._currentCheckState;\n let element = this._getAnimationTargetElement();\n if (oldState === newState || !element) {\n return;\n }\n if (this._currentAnimationClass) {\n element.classList.remove(this._currentAnimationClass);\n }\n this._currentAnimationClass = this._getAnimationClassForCheckStateTransition(oldState, newState);\n this._currentCheckState = newState;\n if (this._currentAnimationClass.length > 0) {\n element.classList.add(this._currentAnimationClass);\n // Remove the animation class to avoid animation when the checkbox is moved between containers\n const animationClass = this._currentAnimationClass;\n this._ngZone.runOutsideAngular(() => {\n setTimeout(() => {\n element.classList.remove(animationClass);\n }, 1000);\n });\n }\n }\n _emitChangeEvent() {\n this._controlValueAccessorChangeFn(this.checked);\n this.change.emit(this._createChangeEvent(this.checked));\n // Assigning the value again here is redundant, but we have to do it in case it was\n // changed inside the `change` listener which will cause the input to be out of sync.\n if (this._inputElement) {\n this._inputElement.nativeElement.checked = this.checked;\n }\n }\n /** Toggles the `checked` state of the checkbox. */\n toggle() {\n this.checked = !this.checked;\n this._controlValueAccessorChangeFn(this.checked);\n }\n _handleInputClick() {\n const clickAction = this._options?.clickAction;\n // If resetIndeterminate is false, and the current state is indeterminate, do nothing on click\n if (!this.disabled && clickAction !== 'noop') {\n // When user manually click on the checkbox, `indeterminate` is set to false.\n if (this.indeterminate && clickAction !== 'check') {\n Promise.resolve().then(() => {\n this._indeterminate = false;\n this.indeterminateChange.emit(this._indeterminate);\n });\n }\n this._checked = !this._checked;\n this._transitionCheckState(this._checked ? 1 /* TransitionCheckState.Checked */ : 2 /* TransitionCheckState.Unchecked */);\n // Emit our custom change event if the native input emitted one.\n // It is important to only emit it, if the native input triggered one, because\n // we don't want to trigger a change event, when the `checked` variable changes for example.\n this._emitChangeEvent();\n }\n else if (!this.disabled && clickAction === 'noop') {\n // Reset native input when clicked with noop. The native checkbox becomes checked after\n // click, reset it to be align with `checked` value of `mat-checkbox`.\n this._inputElement.nativeElement.checked = this.checked;\n this._inputElement.nativeElement.indeterminate = this.indeterminate;\n }\n }\n _onInteractionEvent(event) {\n // We always have to stop propagation on the change event.\n // Otherwise the change event, from the input element, will bubble up and\n // emit its event object to the `change` output.\n event.stopPropagation();\n }\n _onBlur() {\n // When a focused element becomes disabled, the browser *immediately* fires a blur event.\n // Angular does not expect events to be raised during change detection, so any state change\n // (such as a form control's 'ng-touched') will cause a changed-after-checked error.\n // See https://github.com/angular/angular/issues/17793. To work around this, we defer\n // telling the form control it has been touched until the next tick.\n Promise.resolve().then(() => {\n this._onTouched();\n this._changeDetectorRef.markForCheck();\n });\n }\n _getAnimationClassForCheckStateTransition(oldState, newState) {\n // Don't transition if animations are disabled.\n if (this._animationMode === 'NoopAnimations') {\n return '';\n }\n switch (oldState) {\n case 0 /* TransitionCheckState.Init */:\n // Handle edge case where user interacts with checkbox that does not have [(ngModel)] or\n // [checked] bound to it.\n if (newState === 1 /* TransitionCheckState.Checked */) {\n return this._animationClasses.uncheckedToChecked;\n }\n else if (newState == 3 /* TransitionCheckState.Indeterminate */) {\n return this._checked\n ? this._animationClasses.checkedToIndeterminate\n : this._animationClasses.uncheckedToIndeterminate;\n }\n break;\n case 2 /* TransitionCheckState.Unchecked */:\n return newState === 1 /* TransitionCheckState.Checked */\n ? this._animationClasses.uncheckedToChecked\n : this._animationClasses.uncheckedToIndeterminate;\n case 1 /* TransitionCheckState.Checked */:\n return newState === 2 /* TransitionCheckState.Unchecked */\n ? this._animationClasses.checkedToUnchecked\n : this._animationClasses.checkedToIndeterminate;\n case 3 /* TransitionCheckState.Indeterminate */:\n return newState === 1 /* TransitionCheckState.Checked */\n ? this._animationClasses.indeterminateToChecked\n : this._animationClasses.indeterminateToUnchecked;\n }\n return '';\n }\n /**\n * Syncs the indeterminate value with the checkbox DOM node.\n *\n * We sync `indeterminate` directly on the DOM node, because in Ivy the check for whether a\n * property is supported on an element boils down to `if (propName in element)`. Domino's\n * HTMLInputElement doesn't have an `indeterminate` property so Ivy will warn during\n * server-side rendering.\n */\n _syncIndeterminate(value) {\n const nativeCheckbox = this._inputElement;\n if (nativeCheckbox) {\n nativeCheckbox.nativeElement.indeterminate = value;\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatCheckboxBase, deps: \"invalid\", target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: _MatCheckboxBase, inputs: { ariaLabel: [\"aria-label\", \"ariaLabel\"], ariaLabelledby: [\"aria-labelledby\", \"ariaLabelledby\"], ariaDescribedby: [\"aria-describedby\", \"ariaDescribedby\"], id: \"id\", required: \"required\", labelPosition: \"labelPosition\", name: \"name\", value: \"value\", checked: \"checked\", disabled: \"disabled\", indeterminate: \"indeterminate\" }, outputs: { change: \"change\", indeterminateChange: \"indeterminateChange\" }, viewQueries: [{ propertyName: \"_inputElement\", first: true, predicate: [\"input\"], descendants: true }, { propertyName: \"_labelElement\", first: true, predicate: [\"label\"], descendants: true }, { propertyName: \"ripple\", first: true, predicate: MatRipple, descendants: true }], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatCheckboxBase, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: undefined }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: undefined }, { type: undefined }, { type: undefined }]; }, propDecorators: { ariaLabel: [{\n type: Input,\n args: ['aria-label']\n }], ariaLabelledby: [{\n type: Input,\n args: ['aria-labelledby']\n }], ariaDescribedby: [{\n type: Input,\n args: ['aria-describedby']\n }], id: [{\n type: Input\n }], required: [{\n type: Input\n }], labelPosition: [{\n type: Input\n }], name: [{\n type: Input\n }], change: [{\n type: Output\n }], indeterminateChange: [{\n type: Output\n }], value: [{\n type: Input\n }], _inputElement: [{\n type: ViewChild,\n args: ['input']\n }], _labelElement: [{\n type: ViewChild,\n args: ['label']\n }], ripple: [{\n type: ViewChild,\n args: [MatRipple]\n }], checked: [{\n type: Input\n }], disabled: [{\n type: Input\n }], indeterminate: [{\n type: Input\n }] } });\nclass MatCheckbox extends _MatCheckboxBase {\n constructor(elementRef, changeDetectorRef, ngZone, tabIndex, animationMode, options) {\n super('mat-mdc-checkbox-', elementRef, changeDetectorRef, ngZone, tabIndex, animationMode, options);\n this._animationClasses = {\n uncheckedToChecked: 'mdc-checkbox--anim-unchecked-checked',\n uncheckedToIndeterminate: 'mdc-checkbox--anim-unchecked-indeterminate',\n checkedToUnchecked: 'mdc-checkbox--anim-checked-unchecked',\n checkedToIndeterminate: 'mdc-checkbox--anim-checked-indeterminate',\n indeterminateToChecked: 'mdc-checkbox--anim-indeterminate-checked',\n indeterminateToUnchecked: 'mdc-checkbox--anim-indeterminate-unchecked',\n };\n }\n /** Focuses the checkbox. */\n focus() {\n this._inputElement.nativeElement.focus();\n }\n _createChangeEvent(isChecked) {\n const event = new MatCheckboxChange();\n event.source = this;\n event.checked = isChecked;\n return event;\n }\n _getAnimationTargetElement() {\n return this._inputElement?.nativeElement;\n }\n _onInputClick() {\n super._handleInputClick();\n }\n _onTouchTargetClick() {\n super._handleInputClick();\n if (!this.disabled) {\n // Normally the input should be focused already, but if the click\n // comes from the touch target, then we might have to focus it ourselves.\n this._inputElement.nativeElement.focus();\n }\n }\n /**\n * Prevent click events that come from the `<label/>` element from bubbling. This prevents the\n * click handler on the host from triggering twice when clicking on the `<label/>` element. After\n * the click event on the `<label/>` propagates, the browsers dispatches click on the associated\n * `<input/>`. By preventing clicks on the label by bubbling, we ensure only one click event\n * bubbles when the label is clicked.\n */\n _preventBubblingFromLabel(event) {\n if (!!event.target && this._labelElement.nativeElement.contains(event.target)) {\n event.stopPropagation();\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatCheckbox, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: 'tabindex', attribute: true }, { token: ANIMATION_MODULE_TYPE, optional: true }, { token: MAT_CHECKBOX_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatCheckbox, selector: \"mat-checkbox\", inputs: { disableRipple: \"disableRipple\", color: \"color\", tabIndex: \"tabIndex\" }, host: { properties: { \"attr.tabindex\": \"null\", \"attr.aria-label\": \"null\", \"attr.aria-labelledby\": \"null\", \"class._mat-animation-noopable\": \"_animationMode === 'NoopAnimations'\", \"class.mdc-checkbox--disabled\": \"disabled\", \"id\": \"id\", \"class.mat-mdc-checkbox-disabled\": \"disabled\", \"class.mat-mdc-checkbox-checked\": \"checked\" }, classAttribute: \"mat-mdc-checkbox\" }, providers: [MAT_CHECKBOX_CONTROL_VALUE_ACCESSOR], exportAs: [\"matCheckbox\"], usesInheritance: true, ngImport: i0, template: \"<div class=\\\"mdc-form-field\\\"\\n [class.mdc-form-field--align-end]=\\\"labelPosition == 'before'\\\"\\n (click)=\\\"_preventBubblingFromLabel($event)\\\">\\n <div #checkbox class=\\\"mdc-checkbox\\\">\\n <!-- Render this element first so the input is on top. -->\\n <div class=\\\"mat-mdc-checkbox-touch-target\\\" (click)=\\\"_onTouchTargetClick()\\\"></div>\\n <input #input\\n type=\\\"checkbox\\\"\\n class=\\\"mdc-checkbox__native-control\\\"\\n [class.mdc-checkbox--selected]=\\\"checked\\\"\\n [attr.aria-label]=\\\"ariaLabel || null\\\"\\n [attr.aria-labelledby]=\\\"ariaLabelledby\\\"\\n [attr.aria-describedby]=\\\"ariaDescribedby\\\"\\n [attr.name]=\\\"name\\\"\\n [attr.value]=\\\"value\\\"\\n [checked]=\\\"checked\\\"\\n [indeterminate]=\\\"indeterminate\\\"\\n [disabled]=\\\"disabled\\\"\\n [id]=\\\"inputId\\\"\\n [required]=\\\"required\\\"\\n [tabIndex]=\\\"tabIndex\\\"\\n (blur)=\\\"_onBlur()\\\"\\n (click)=\\\"_onInputClick()\\\"\\n (change)=\\\"_onInteractionEvent($event)\\\"/>\\n <div class=\\\"mdc-checkbox__ripple\\\"></div>\\n <div class=\\\"mdc-checkbox__background\\\">\\n <svg class=\\\"mdc-checkbox__checkmark\\\"\\n focusable=\\\"false\\\"\\n viewBox=\\\"0 0 24 24\\\"\\n aria-hidden=\\\"true\\\">\\n <path class=\\\"mdc-checkbox__checkmark-path\\\"\\n fill=\\\"none\\\"\\n d=\\\"M1.73,12.91 8.1,19.28 22.79,4.59\\\"/>\\n </svg>\\n <div class=\\\"mdc-checkbox__mixedmark\\\"></div>\\n </div>\\n <div class=\\\"mat-mdc-checkbox-ripple mat-mdc-focus-indicator\\\" mat-ripple\\n [matRippleTrigger]=\\\"checkbox\\\"\\n [matRippleDisabled]=\\\"disableRipple || disabled\\\"\\n [matRippleCentered]=\\\"true\\\"></div>\\n </div>\\n <!--\\n Avoid putting a click handler on the <label/> to fix duplicate navigation stop on Talk Back\\n (#14385). Putting a click handler on the <label/> caused this bug because the browser produced\\n an unnecessary accessibility tree node.\\n -->\\n <label class=\\\"mdc-label\\\"\\n #label\\n [for]=\\\"inputId\\\">\\n <ng-content></ng-content>\\n </label>\\n</div>\\n\", styles: [\".mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}}.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2)}.mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:focus:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}html{--mdc-checkbox-disabled-selected-checkmark-color:#fff;--mdc-checkbox-selected-focus-state-layer-opacity:0.16;--mdc-checkbox-selected-hover-state-layer-opacity:0.04;--mdc-checkbox-selected-pressed-state-layer-opacity:0.16;--mdc-checkbox-unselected-focus-state-layer-opacity:0.16;--mdc-checkbox-unselected-hover-state-layer-opacity:0.04;--mdc-checkbox-unselected-pressed-state-layer-opacity:0.16}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default}.mat-mdc-checkbox label:empty{display:none}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:\\\"\\\"}\"], dependencies: [{ kind: \"directive\", type: i1.MatRipple, selector: \"[mat-ripple], [matRipple]\", inputs: [\"matRippleColor\", \"matRippleUnbounded\", \"matRippleCentered\", \"matRippleRadius\", \"matRippleAnimation\", \"matRippleDisabled\", \"matRippleTrigger\"], exportAs: [\"matRipple\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatCheckbox, decorators: [{\n type: Component,\n args: [{ selector: 'mat-checkbox', host: {\n 'class': 'mat-mdc-checkbox',\n '[attr.tabindex]': 'null',\n '[attr.aria-label]': 'null',\n '[attr.aria-labelledby]': 'null',\n '[class._mat-animation-noopable]': `_animationMode === 'NoopAnimations'`,\n '[class.mdc-checkbox--disabled]': 'disabled',\n '[id]': 'id',\n // Add classes that users can use to more easily target disabled or checked checkboxes.\n '[class.mat-mdc-checkbox-disabled]': 'disabled',\n '[class.mat-mdc-checkbox-checked]': 'checked',\n }, providers: [MAT_CHECKBOX_CONTROL_VALUE_ACCESSOR], inputs: ['disableRipple', 'color', 'tabIndex'], exportAs: 'matCheckbox', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: \"<div class=\\\"mdc-form-field\\\"\\n [class.mdc-form-field--align-end]=\\\"labelPosition == 'before'\\\"\\n (click)=\\\"_preventBubblingFromLabel($event)\\\">\\n <div #checkbox class=\\\"mdc-checkbox\\\">\\n <!-- Render this element first so the input is on top. -->\\n <div class=\\\"mat-mdc-checkbox-touch-target\\\" (click)=\\\"_onTouchTargetClick()\\\"></div>\\n <input #input\\n type=\\\"checkbox\\\"\\n class=\\\"mdc-checkbox__native-control\\\"\\n [class.mdc-checkbox--selected]=\\\"checked\\\"\\n [attr.aria-label]=\\\"ariaLabel || null\\\"\\n [attr.aria-labelledby]=\\\"ariaLabelledby\\\"\\n [attr.aria-describedby]=\\\"ariaDescribedby\\\"\\n [attr.name]=\\\"name\\\"\\n [attr.value]=\\\"value\\\"\\n [checked]=\\\"checked\\\"\\n [indeterminate]=\\\"indeterminate\\\"\\n [disabled]=\\\"disabled\\\"\\n [id]=\\\"inputId\\\"\\n [required]=\\\"required\\\"\\n [tabIndex]=\\\"tabIndex\\\"\\n (blur)=\\\"_onBlur()\\\"\\n (click)=\\\"_onInputClick()\\\"\\n (change)=\\\"_onInteractionEvent($event)\\\"/>\\n <div class=\\\"mdc-checkbox__ripple\\\"></div>\\n <div class=\\\"mdc-checkbox__background\\\">\\n <svg class=\\\"mdc-checkbox__checkmark\\\"\\n focusable=\\\"false\\\"\\n viewBox=\\\"0 0 24 24\\\"\\n aria-hidden=\\\"true\\\">\\n <path class=\\\"mdc-checkbox__checkmark-path\\\"\\n fill=\\\"none\\\"\\n d=\\\"M1.73,12.91 8.1,19.28 22.79,4.59\\\"/>\\n </svg>\\n <div class=\\\"mdc-checkbox__mixedmark\\\"></div>\\n </div>\\n <div class=\\\"mat-mdc-checkbox-ripple mat-mdc-focus-indicator\\\" mat-ripple\\n [matRippleTrigger]=\\\"checkbox\\\"\\n [matRippleDisabled]=\\\"disableRipple || disabled\\\"\\n [matRippleCentered]=\\\"true\\\"></div>\\n </div>\\n <!--\\n Avoid putting a click handler on the <label/> to fix duplicate navigation stop on Talk Back\\n (#14385). Putting a click handler on the <label/> caused this bug because the browser produced\\n an unnecessary accessibility tree node.\\n -->\\n <label class=\\\"mdc-label\\\"\\n #label\\n [for]=\\\"inputId\\\">\\n <ng-content></ng-content>\\n </label>\\n</div>\\n\", styles: [\".mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}}.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2)}.mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:focus:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}html{--mdc-checkbox-disabled-selected-checkmark-color:#fff;--mdc-checkbox-selected-focus-state-layer-opacity:0.16;--mdc-checkbox-selected-hover-state-layer-opacity:0.04;--mdc-checkbox-selected-pressed-state-layer-opacity:0.16;--mdc-checkbox-unselected-focus-state-layer-opacity:0.16;--mdc-checkbox-unselected-hover-state-layer-opacity:0.04;--mdc-checkbox-unselected-pressed-state-layer-opacity:0.16}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default}.mat-mdc-checkbox label:empty{display:none}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:\\\"\\\"}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: undefined, decorators: [{\n type: Attribute,\n args: ['tabindex']\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_CHECKBOX_DEFAULT_OPTIONS]\n }] }]; } });\n\nconst MAT_CHECKBOX_REQUIRED_VALIDATOR = {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => MatCheckboxRequiredValidator),\n multi: true,\n};\n/**\n * Validator for Material checkbox's required attribute in template-driven checkbox.\n * Current CheckboxRequiredValidator only work with `input type=checkbox` and does not\n * work with `mat-checkbox`.\n */\nclass MatCheckboxRequiredValidator extends CheckboxRequiredValidator {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatCheckboxRequiredValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatCheckboxRequiredValidator, selector: \"mat-checkbox[required][formControlName],\\n mat-checkbox[required][formControl], mat-checkbox[required][ngModel]\", providers: [MAT_CHECKBOX_REQUIRED_VALIDATOR], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatCheckboxRequiredValidator, decorators: [{\n type: Directive,\n args: [{\n selector: `mat-checkbox[required][formControlName],\n mat-checkbox[required][formControl], mat-checkbox[required][ngModel]`,\n providers: [MAT_CHECKBOX_REQUIRED_VALIDATOR],\n }]\n }] });\n\n/** This module is used by both original and MDC-based checkbox implementations. */\nclass _MatCheckboxRequiredValidatorModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatCheckboxRequiredValidatorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatCheckboxRequiredValidatorModule, declarations: [MatCheckboxRequiredValidator], exports: [MatCheckboxRequiredValidator] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatCheckboxRequiredValidatorModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatCheckboxRequiredValidatorModule, decorators: [{\n type: NgModule,\n args: [{\n exports: [MatCheckboxRequiredValidator],\n declarations: [MatCheckboxRequiredValidator],\n }]\n }] });\nclass MatCheckboxModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatCheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatCheckboxModule, declarations: [MatCheckbox], imports: [MatCommonModule, MatRippleModule, _MatCheckboxRequiredValidatorModule], exports: [MatCheckbox, MatCommonModule, _MatCheckboxRequiredValidatorModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatCheckboxModule, imports: [MatCommonModule, MatRippleModule, _MatCheckboxRequiredValidatorModule, MatCommonModule, _MatCheckboxRequiredValidatorModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatCheckboxModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [MatCommonModule, MatRippleModule, _MatCheckboxRequiredValidatorModule],\n exports: [MatCheckbox, MatCommonModule, _MatCheckboxRequiredValidatorModule],\n declarations: [MatCheckbox],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MAT_CHECKBOX_CONTROL_VALUE_ACCESSOR, MAT_CHECKBOX_DEFAULT_OPTIONS, MAT_CHECKBOX_DEFAULT_OPTIONS_FACTORY, MAT_CHECKBOX_REQUIRED_VALIDATOR, MatCheckbox, MatCheckboxChange, MatCheckboxModule, MatCheckboxRequiredValidator, _MatCheckboxBase, _MatCheckboxRequiredValidatorModule };\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/7888.00f90ea9f58d7341.js b/7888.00f90ea9f58d7341.js new file mode 100644 index 0000000..5e063e6 --- /dev/null +++ b/7888.00f90ea9f58d7341.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[7888,5106,1551],{50253:(D,v,t)=>{t.d(v,{x:()=>O});var h=t(95106),_=t(78069),o=t(48047),u=t(4089),l=t(20265),d=t(24582),c=t(28694),y=t(90833),g=t(17714),S=(0,t(27543).d)(function(E){return function(){E(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),M=t(39663),b=t(12309),O=function(){var E=function(P){(0,d.Z)(A,P);var T=(0,c.Z)(A);function A(){var s;return(0,_.Z)(this,A),(s=T.call(this)).closed=!1,s.currentObservers=null,s.observers=[],s.isStopped=!1,s.hasError=!1,s.thrownError=null,s}return(0,o.Z)(A,[{key:"lift",value:function(r){var e=new p(this,this);return e.operator=r,e}},{key:"_throwIfClosed",value:function(){if(this.closed)throw new S}},{key:"next",value:function(r){var e=this;(0,b.x)(function(){if(e._throwIfClosed(),!e.isStopped){e.currentObservers||(e.currentObservers=Array.from(e.observers));var n,a=(0,h.Z)(e.currentObservers);try{for(a.s();!(n=a.n()).done;)n.value.next(r)}catch(f){a.e(f)}finally{a.f()}}})}},{key:"error",value:function(r){var e=this;(0,b.x)(function(){if(e._throwIfClosed(),!e.isStopped){e.hasError=e.isStopped=!0,e.thrownError=r;for(var a=e.observers;a.length;)a.shift().error(r)}})}},{key:"complete",value:function(){var r=this;(0,b.x)(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var e=r.observers;e.length;)e.shift().complete()}})}},{key:"unsubscribe",value:function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}},{key:"observed",get:function(){var r;return(null===(r=this.observers)||void 0===r?void 0:r.length)>0}},{key:"_trySubscribe",value:function(r){return this._throwIfClosed(),(0,u.Z)((0,l.Z)(A.prototype),"_trySubscribe",this).call(this,r)}},{key:"_subscribe",value:function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}},{key:"_innerSubscribe",value:function(r){var e=this,i=this.observers;return this.hasError||this.isStopped?g.Lc:(this.currentObservers=null,i.push(r),new g.w0(function(){e.currentObservers=null,(0,M.P)(i,r)}))}},{key:"_checkFinalizedStatuses",value:function(r){var n=this.isStopped;this.hasError?r.error(this.thrownError):n&&r.complete()}},{key:"asObservable",value:function(){var r=new y.y;return r.source=this,r}}]),A}(y.y);return E.create=function(P,T){return new p(P,T)},E}(),p=function(E){(0,d.Z)(T,E);var P=(0,c.Z)(T);function T(A,s){var r;return(0,_.Z)(this,T),(r=P.call(this)).destination=A,r.source=s,r}return(0,o.Z)(T,[{key:"next",value:function(s){var r,e;null===(e=null===(r=this.destination)||void 0===r?void 0:r.next)||void 0===e||e.call(r,s)}},{key:"error",value:function(s){var r,e;null===(e=null===(r=this.destination)||void 0===r?void 0:r.error)||void 0===e||e.call(r,s)}},{key:"complete",value:function(){var s,r;null===(r=null===(s=this.destination)||void 0===s?void 0:s.complete)||void 0===r||r.call(s)}},{key:"_subscribe",value:function(s){var r,e;return null!==(e=null===(r=this.source)||void 0===r?void 0:r.subscribe(s))&&void 0!==e?e:g.Lc}}]),T}(O)},23932:(D,v,t)=>{t.d(v,{c:()=>Z});var h=t(78069),_=t(48047),o=t(24582),u=t(28694),l=t(90833),d=t(17714),c=t(56074),y=t(93945),g=t(41944),Z=function(S){(0,o.Z)(b,S);var M=(0,u.Z)(b);function b(O,p){var E;return(0,h.Z)(this,b),(E=M.call(this)).source=O,E.subjectFactory=p,E._subject=null,E._refCount=0,E._connection=null,(0,g.A)(O)&&(E.lift=O.lift),E}return(0,_.Z)(b,[{key:"_subscribe",value:function(p){return this.getSubject().subscribe(p)}},{key:"getSubject",value:function(){var p=this._subject;return(!p||p.isStopped)&&(this._subject=this.subjectFactory()),this._subject}},{key:"_teardown",value:function(){this._refCount=0;var p=this._connection;this._subject=this._connection=null,p?.unsubscribe()}},{key:"connect",value:function(){var p=this,E=this._connection;if(!E){E=this._connection=new d.w0;var P=this.getSubject();E.add(this.source.subscribe((0,y.x)(P,void 0,function(){p._teardown(),P.complete()},function(T){p._teardown(),P.error(T)},function(){return p._teardown()}))),E.closed&&(this._connection=null,E=d.w0.EMPTY)}return E}},{key:"refCount",value:function(){return(0,c.x)()(this)}}]),b}(l.y)},37400:(D,v,t)=>{t.d(v,{D:()=>a});var h=t(54987),_=t(8728),o=t(41944);function u(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,o.e)(function(f,m){m.add(n.schedule(function(){return f.subscribe(m)},i))})}var c=t(90833),g=t(67321),Z=t(92971),S=t(1817);function b(n,i){if(!n)throw new Error("Iterable cannot be null");return new c.y(function(f){(0,S.f)(f,i,function(){var m=n[Symbol.asyncIterator]();(0,S.f)(f,i,function(){m.next().then(function(C){C.done?f.complete():f.next(C.value)})},0,!0)})})}var O=t(21331),p=t(79548),E=t(99806),P=t(23433),T=t(80470),A=t(27785),s=t(20181);function a(n,i){return i?function e(n,i){if(null!=n){if((0,O.c)(n))return function l(n,i){return(0,h.Xf)(n).pipe(u(i),(0,_.Q)(i))}(n,i);if((0,E.z)(n))return function y(n,i){return new c.y(function(f){var m=0;return i.schedule(function(){m===n.length?f.complete():(f.next(n[m++]),f.closed||this.schedule())})})}(n,i);if((0,p.t)(n))return function d(n,i){return(0,h.Xf)(n).pipe(u(i),(0,_.Q)(i))}(n,i);if((0,T.D)(n))return b(n,i);if((0,P.T)(n))return function M(n,i){return new c.y(function(f){var m;return(0,S.f)(f,i,function(){m=n[g.h](),(0,S.f)(f,i,function(){var C,I;try{var R=m.next();C=R.value,I=R.done}catch(U){return void f.error(U)}I?f.complete():f.next(C)},0,!0)}),function(){return(0,Z.m)(m?.return)&&m.return()}})}(n,i);if((0,s.L)(n))return function r(n,i){return b((0,s.Q)(n),i)}(n,i)}throw(0,A.z)(n)}(n,i):(0,h.Xf)(n)}},10745:(D,v,t)=>{t.d(v,{of:()=>o});var h=t(10420),_=t(37400);function o(){for(var u=arguments.length,l=new Array(u),d=0;d<u;d++)l[d]=arguments[d];var c=(0,h.yG)(l);return(0,_.D)(l,c)}},93945:(D,v,t)=>{t.d(v,{Q:()=>Z,x:()=>g});var h=t(78069),_=t(48047),o=t(35488),u=t(24582),l=t(28694),d=t(4089),c=t(20265);function g(S,M,b,O,p){return new Z(S,M,b,O,p)}var Z=function(S){(0,u.Z)(b,S);var M=(0,l.Z)(b);function b(O,p,E,P,T,A){var s,r,e,a;return(0,h.Z)(this,b),(a=M.call(this,O)).onFinalize=T,a.shouldUnsubscribe=A,a._next=p?function(n){try{p(n)}catch(i){O.error(i)}}:(0,d.Z)((s=(0,o.Z)(a),(0,c.Z)(b.prototype)),"_next",s),a._error=P?function(n){try{P(n)}catch(i){O.error(i)}finally{this.unsubscribe()}}:(0,d.Z)((r=(0,o.Z)(a),(0,c.Z)(b.prototype)),"_error",r),a._complete=E?function(){try{E()}catch(n){O.error(n)}finally{this.unsubscribe()}}:(0,d.Z)((e=(0,o.Z)(a),(0,c.Z)(b.prototype)),"_complete",e),a}return(0,_.Z)(b,[{key:"unsubscribe",value:function(){var p;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var E=this.closed;(0,d.Z)((0,c.Z)(b.prototype),"unsubscribe",this).call(this),!E&&(null===(p=this.onFinalize)||void 0===p||p.call(this))}}}]),b}(t(5463).Lv)},8728:(D,v,t)=>{t.d(v,{Q:()=>u});var h=t(1817),_=t(41944),o=t(93945);function u(l){var d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,_.e)(function(c,y){c.subscribe((0,o.x)(y,function(g){return(0,h.f)(y,l,function(){return y.next(g)},d)},function(){return(0,h.f)(y,l,function(){return y.complete()},d)},function(g){return(0,h.f)(y,l,function(){return y.error(g)},d)}))})}},56074:(D,v,t)=>{t.d(v,{x:()=>o});var h=t(41944),_=t(93945);function o(){return(0,h.e)(function(u,l){var d=null;u._refCount++;var c=(0,_.x)(l,void 0,void 0,void 0,function(){if(!u||u._refCount<=0||0<--u._refCount)d=null;else{var y=u._connection,g=d;d=null,y&&(!g||y===g)&&y.unsubscribe(),l.unsubscribe()}});u.subscribe(c),c.closed||(d=u.connect())})}},10420:(D,v,t)=>{t.d(v,{_6:()=>d,jO:()=>u,yG:()=>l});var h=t(92971),_=t(59867);function o(c){return c[c.length-1]}function u(c){return(0,h.m)(o(c))?c.pop():void 0}function l(c){return(0,_.K)(o(c))?c.pop():void 0}function d(c,y){return"number"==typeof o(c)?c.pop():y}},1817:(D,v,t)=>{function h(_,o,u){var l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,d=arguments.length>4&&void 0!==arguments[4]&&arguments[4],c=o.schedule(function(){u(),d?_.add(this.schedule(null,l)):this.unsubscribe()},l);if(_.add(c),!d)return c}t.d(v,{f:()=>h})},14437:(D,v,t)=>{t.d(v,{b:()=>o});var h=t(90833),_=t(92971);function o(u){return!!u&&(u instanceof h.y||(0,_.m)(u.lift)&&(0,_.m)(u.subscribe))}},59867:(D,v,t)=>{t.d(v,{K:()=>_});var h=t(92971);function _(o){return o&&(0,h.m)(o.schedule)}},41944:(D,v,t)=>{t.d(v,{A:()=>_,e:()=>o});var h=t(92971);function _(u){return(0,h.m)(u?.lift)}function o(u){return function(l){if(_(l))return l.lift(function(d){try{return u(d,this)}catch(c){this.error(c)}});throw new TypeError("Unable to lift unknown Observable type")}}},15778:(D,v,t)=>{t.r(v),t.d(v,{ArrayDataSource:()=>b,DataSource:()=>S,SelectionModel:()=>E,UniqueSelectionDispatcher:()=>T,_DisposeViewRepeaterStrategy:()=>O,_RecycleViewRepeaterStrategy:()=>p,_VIEW_REPEATER_STRATEGY:()=>A,getMultipleValuesInSingleSelectionError:()=>P,isDataSource:()=>M});var h=t(95106),_=t(24582),o=t(28694),u=t(48047),l=t(78069),d=t(23932),c=t(14437),y=t(10745),g=t(50253),Z=t(56718),S=(0,u.Z)(function s(){(0,l.Z)(this,s)});function M(s){return s&&"function"==typeof s.connect&&!(s instanceof d.c)}var b=function(s){(0,_.Z)(e,s);var r=(0,o.Z)(e);function e(a){var n;return(0,l.Z)(this,e),(n=r.call(this))._data=a,n}return(0,u.Z)(e,[{key:"connect",value:function(){return(0,c.b)(this._data)?this._data:(0,y.of)(this._data)}},{key:"disconnect",value:function(){}}]),e}(S),O=function(){function s(){(0,l.Z)(this,s)}return(0,u.Z)(s,[{key:"applyChanges",value:function(e,a,n,i,f){e.forEachOperation(function(m,C,I){var R,U,L;if(null==m.previousIndex){var w=n(m,C,I);R=a.createEmbeddedView(w.templateRef,w.context,w.index),U=1}else null==I?(a.remove(C),U=3):(R=a.get(C),a.move(R,I),U=2);f&&f({context:null===(L=R)||void 0===L?void 0:L.context,operation:U,record:m})})}},{key:"detach",value:function(){}}]),s}(),p=function(){function s(){(0,l.Z)(this,s),this.viewCacheSize=20,this._viewCache=[]}return(0,u.Z)(s,[{key:"applyChanges",value:function(e,a,n,i,f){var m=this;e.forEachOperation(function(C,I,R){var U,w,W;null==C.previousIndex?w=(U=m._insertView(function(){return n(C,I,R)},R,a,i(C)))?1:0:null==R?(m._detachAndCacheView(I,a),w=3):(U=m._moveView(I,R,a,i(C)),w=2),f&&f({context:null===(W=U)||void 0===W?void 0:W.context,operation:w,record:C})})}},{key:"detach",value:function(){var a,e=(0,h.Z)(this._viewCache);try{for(e.s();!(a=e.n()).done;)a.value.destroy()}catch(i){e.e(i)}finally{e.f()}this._viewCache=[]}},{key:"_insertView",value:function(e,a,n,i){var f=this._insertViewFromCache(a,n);if(!f){var m=e();return n.createEmbeddedView(m.templateRef,m.context,m.index)}f.context.$implicit=i}},{key:"_detachAndCacheView",value:function(e,a){var n=a.detach(e);this._maybeCacheView(n,a)}},{key:"_moveView",value:function(e,a,n,i){var f=n.get(e);return n.move(f,a),f.context.$implicit=i,f}},{key:"_maybeCacheView",value:function(e,a){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(e);else{var n=a.indexOf(e);-1===n?e.destroy():a.remove(n)}}},{key:"_insertViewFromCache",value:function(e,a){var n=this._viewCache.pop();return n&&a.insert(n,e),n||null}}]),s}(),E=function(){function s(){var r=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],a=arguments.length>1?arguments[1]:void 0,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=arguments.length>3?arguments[3]:void 0;(0,l.Z)(this,s),this._multiple=e,this._emitChanges=n,this.compareWith=i,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new g.x,a&&a.length&&(e?a.forEach(function(f){return r._markSelected(f)}):this._markSelected(a[0]),this._selectedToEmit.length=0)}return(0,u.Z)(s,[{key:"selected",get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}},{key:"select",value:function(){for(var e=this,a=arguments.length,n=new Array(a),i=0;i<a;i++)n[i]=arguments[i];this._verifyValueAssignment(n),n.forEach(function(m){return e._markSelected(m)});var f=this._hasQueuedChanges();return this._emitChangeEvent(),f}},{key:"deselect",value:function(){for(var e=this,a=arguments.length,n=new Array(a),i=0;i<a;i++)n[i]=arguments[i];this._verifyValueAssignment(n),n.forEach(function(m){return e._unmarkSelected(m)});var f=this._hasQueuedChanges();return this._emitChangeEvent(),f}},{key:"setSelection",value:function(){for(var e=this,a=arguments.length,n=new Array(a),i=0;i<a;i++)n[i]=arguments[i];this._verifyValueAssignment(n);var f=this.selected,m=new Set(n);n.forEach(function(I){return e._markSelected(I)}),f.filter(function(I){return!m.has(I)}).forEach(function(I){return e._unmarkSelected(I)});var C=this._hasQueuedChanges();return this._emitChangeEvent(),C}},{key:"toggle",value:function(e){return this.isSelected(e)?this.deselect(e):this.select(e)}},{key:"clear",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this._unmarkAll();var a=this._hasQueuedChanges();return e&&this._emitChangeEvent(),a}},{key:"isSelected",value:function(e){return this._selection.has(this._getConcreteValue(e))}},{key:"isEmpty",value:function(){return 0===this._selection.size}},{key:"hasValue",value:function(){return!this.isEmpty()}},{key:"sort",value:function(e){this._multiple&&this.selected&&this._selected.sort(e)}},{key:"isMultipleSelection",value:function(){return this._multiple}},{key:"_emitChangeEvent",value:function(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}},{key:"_markSelected",value:function(e){e=this._getConcreteValue(e),this.isSelected(e)||(this._multiple||this._unmarkAll(),this.isSelected(e)||this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}},{key:"_unmarkSelected",value:function(e){e=this._getConcreteValue(e),this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}},{key:"_unmarkAll",value:function(){var e=this;this.isEmpty()||this._selection.forEach(function(a){return e._unmarkSelected(a)})}},{key:"_verifyValueAssignment",value:function(e){}},{key:"_hasQueuedChanges",value:function(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}},{key:"_getConcreteValue",value:function(e){if(this.compareWith){var n,a=(0,h.Z)(this._selection);try{for(a.s();!(n=a.n()).done;){var i=n.value;if(this.compareWith(e,i))return i}}catch(f){a.e(f)}finally{a.f()}return e}return e}}]),s}();function P(){return Error("Cannot pass multiple values into SelectionModel with single-value mode.")}var T=function(){var s=function(){function r(){(0,l.Z)(this,r),this._listeners=[]}return(0,u.Z)(r,[{key:"notify",value:function(a,n){var f,i=(0,h.Z)(this._listeners);try{for(i.s();!(f=i.n()).done;)(0,f.value)(a,n)}catch(C){i.e(C)}finally{i.f()}}},{key:"listen",value:function(a){var n=this;return this._listeners.push(a),function(){n._listeners=n._listeners.filter(function(i){return a!==i})}}},{key:"ngOnDestroy",value:function(){this._listeners=[]}}]),r}();return s.\u0275fac=function(e){return new(e||s)},s.\u0275prov=Z.\u0275\u0275defineInjectable({token:s,factory:s.\u0275fac,providedIn:"root"}),s}(),A=new Z.InjectionToken("_ViewRepeater")},44841:(D,v,t)=>{function h(_,o){(null==o||o>_.length)&&(o=_.length);for(var u=0,l=new Array(o);u<o;u++)l[u]=_[u];return l}t.d(v,{Z:()=>h})},95106:(D,v,t)=>{t.d(v,{Z:()=>_});var h=t(44206);function _(o,u){var l=typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(!l){if(Array.isArray(o)||(l=(0,h.Z)(o))||u&&o&&"number"==typeof o.length){l&&(o=l);var d=0,c=function(){};return{s:c,n:function(){return d>=o.length?{done:!0}:{done:!1,value:o[d++]}},e:function(M){throw M},f:c}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var Z,y=!0,g=!1;return{s:function(){l=l.call(o)},n:function(){var M=l.next();return y=M.done,M},e:function(M){g=!0,Z=M},f:function(){try{!y&&null!=l.return&&l.return()}finally{if(g)throw Z}}}}},4089:(D,v,t)=>{t.d(v,{Z:()=>o});var h=t(20265);function o(){return o=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(l,d,c){var y=function _(u,l){for(;!Object.prototype.hasOwnProperty.call(u,l)&&null!==(u=(0,h.Z)(u)););return u}(l,d);if(y){var g=Object.getOwnPropertyDescriptor(y,d);return g.get?g.get.call(arguments.length<3?l:c):g.value}},o.apply(this,arguments)}},4826:(D,v,t)=>{function h(_){if(typeof Symbol<"u"&&null!=_[Symbol.iterator]||null!=_["@@iterator"])return Array.from(_)}t.d(v,{Z:()=>h})},86170:(D,v,t)=>{t.d(v,{Z:()=>d});var h=t(44841),o=t(4826),u=t(44206);function d(c){return function _(c){if(Array.isArray(c))return(0,h.Z)(c)}(c)||(0,o.Z)(c)||(0,u.Z)(c)||function l(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(D,v,t)=>{t.d(v,{Z:()=>_});var h=t(44841);function _(o,u){if(o){if("string"==typeof o)return(0,h.Z)(o,u);var l=Object.prototype.toString.call(o).slice(8,-1);if("Object"===l&&o.constructor&&(l=o.constructor.name),"Map"===l||"Set"===l)return Array.from(o);if("Arguments"===l||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return(0,h.Z)(o,u)}}}}]); +//# sourceMappingURL=7888.00f90ea9f58d7341.js.map \ No newline at end of file diff --git a/7888.00f90ea9f58d7341.js.map b/7888.00f90ea9f58d7341.js.map new file mode 100644 index 0000000..0772255 --- /dev/null +++ b/7888.00f90ea9f58d7341.js.map @@ -0,0 +1 @@ +{"version":3,"file":"7888.00f90ea9f58d7341.js","mappings":"mNACaA,cAA0BC,GAAiB,SAACC,GAAM,OAAK,WAChEA,EAAOC,MACPA,KAAKC,KAAO,0BACZD,KAAKE,QAAU,qBACnB,CAAC,yBCAYC,EAAO,eAAPA,EAAO,SAAAC,IAAAC,OAAAF,EAAAC,GAAA,IAAAL,KAAAO,KAAAH,GAChB,SAAAA,IAAc,IAAAI,EAAAC,cAAAR,KAAAG,IACVI,EAAAR,EAAAU,KAAAT,OACKU,QAAS,EACdH,EAAKI,iBAAmB,KACxBJ,EAAKK,UAAY,GACjBL,EAAKM,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,CACA,CDDiBD,CAAaJ,EAAAC,GAC9B,GAAAE,EACA,KAAAM,EAAAH,OAAAI,yBAAAP,EAAAF,GACA,OAAAQ,EAAAzP,IACAyP,EAAAzP,IAAAlC,KAAA2E,UAAA9C,OAAA,EAAAqP,EAAAE,GAEAO,EAAAlR,KAAA,CACA,EAEA4B,EAAAwP,MAAAtS,KAAAoF,UACA,kBEhBe,SAAAmN,EAAAC,GACf,UAAA5M,OAAA,WAAA4M,EAAA5M,OAAAD,WAAA,MAAA6M,EAAA,qBAAA/Q,MAAAC,KAAA8Q,EACA,wFCEe,SAAAC,EAAAzJ,GACf,OCJe,SAAA0J,EAAA1J,GACf,GAAAvH,MAAAuP,QAAAhI,GAAA,SAAiC2J,EAAAzB,GAAgBlI,EACjD,CDES0J,CAAiB1J,KAAA,EAAS4J,EAAA1B,GAAelI,KAAA,EAAS6J,EAAA3B,GAA0BlI,IELtE,SAAA8J,IACf,UAAAhJ,UAAA,uIACA,CFG8FgJ,EAC9F,mDGLe,SAAAC,EAAAlC,EAAAmC,GACf,GAAAnC,EACA,qBAAAA,EAAA,SAAoCoC,EAAA/B,GAAgBL,EAAAmC,GACpD,IAAAjR,EAAAkQ,OAAAjP,UAAAkQ,SAAAzS,KAAAoQ,GAAAsC,MAAA,MAEA,GADA,WAAApR,GAAA8O,EAAAuC,cAAArR,EAAA8O,EAAAuC,YAAAnT,MACA,QAAA8B,GAAA,QAAAA,EAAA,OAAAN,MAAAC,KAAAmP,GACA,iBAAA9O,GAAA,2CAAAsR,KAAAtR,GAAA,SAAsFkR,EAAA/B,GAAgBL,EAAAmC,EAAA,CACtG","names":["ObjectUnsubscribedError","createErrorClass","_super","this","name","message","Subject","_Observable","_inherits","_createSuper","_this","_classCallCheck","call","closed","currentObservers","observers","isStopped","hasError","thrownError","_createClass","key","value","operator","subject","AnonymousSubject","_this2","errorContext","_throwIfClosed","Array","from","_step","_iterator","_createForOfIteratorHelper","s","n","done","next","err","e","f","_this3","length","shift","error","_this4","complete","get","_a","subscriber","_get","_getPrototypeOf","prototype","_checkFinalizedStatuses","_innerSubscribe","_this5","EMPTY_SUBSCRIPTION","push","Subscription","arrRemove","observable","Observable","source","create","destination","_Subject","_super2","_this6","_b","subscribe","ConnectableObservable","subjectFactory","_subject","_refCount","_connection","hasLift","lift","getSubject","unsubscribe","connection","add","createOperatorSubscriber","undefined","_teardown","higherOrderRefCount","subscribeOn","scheduler","delay","arguments","operate","schedule","scheduleAsyncIterable","input","Error","executeSchedule","iterator","Symbol","asyncIterator","then","result","scheduled","isInteropObservable","scheduleObservable","innerFrom","pipe","observeOn","isArrayLike","scheduleArray","i","isPromise","schedulePromise","isAsyncIterable","isIterable","scheduleIterable","Symbol_iterator","_iterator$next","isFunction","return","isReadableStreamLike","scheduleReadableStreamLike","readableStreamLikeToAsyncGenerator","createInvalidObservableTypeError","of","_len","args","_key","popScheduler","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_next","_assertThisInitialized","_error","_complete","Subscriber","refCount","refCounter","sharedConnection","conn","connect","last","arr","popResultSelector","pop","isScheduler","popNumber","defaultValue","parentSubscription","work","repeat","scheduleSubscription","isObservable","obj","init","liftedSource","TypeError","DataSource","isDataSource","ArrayDataSource","_DataSource","_data","_DisposeViewRepeaterStrategy","changes","viewContainerRef","itemContextFactory","itemValueResolver","itemViewChanged","forEachOperation","record","adjustedPreviousIndex","currentIndex","view","operation","_view","previousIndex","insertContext","createEmbeddedView","templateRef","context","index","remove","move","_RecycleViewRepeaterStrategy","viewCacheSize","_viewCache","_view2","_insertView","_detachAndCacheView","_moveView","destroy","viewArgsFactory","cachedView","_insertViewFromCache","viewArgs","$implicit","detachedView","detach","_maybeCacheView","indexOf","insert","SelectionModel","_multiple","initiallySelectedValues","_emitChanges","compareWith","_selection","Set","_deselectedToEmit","_selectedToEmit","changed","forEach","_markSelected","_selected","values","_verifyValueAssignment","_hasQueuedChanges","_emitChangeEvent","_len2","_key2","_unmarkSelected","_len3","_key3","oldValues","selected","newSelectedSet","filter","has","isSelected","deselect","select","flushEvent","_unmarkAll","_getConcreteValue","size","isEmpty","predicate","sort","added","removed","delete","_this7","inputValue","_step2","_iterator2","selectedValue","getMultipleValuesInSingleSelectionError","UniqueSelectionDispatcher","_listeners","id","_step3","_iterator3","listener","_this8","registered","ɵfac","t","ɵprov","i0","token","factory","providedIn","_VIEW_REPEATER_STRATEGY","InjectionToken","_arrayLikeToArray","len","arr2","o","allowArrayLike","it","isArray","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","_e","normalCompletion","didErr","step","_e2","Reflect","bind","target","property","receiver","base","_superPropBase","object","Object","hasOwnProperty","getPrototypeOf","desc","getOwnPropertyDescriptor","apply","_iterableToArray","iter","_toConsumableArray","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","toString","slice","constructor","test"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/util/ObjectUnsubscribedError.js","./node_modules/rxjs/dist/esm/internal/Subject.js","./node_modules/rxjs/dist/esm/internal/observable/ConnectableObservable.js","./node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleAsyncIterable.js","./node_modules/rxjs/dist/esm/internal/observable/from.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduled.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleObservable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleArray.js","./node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleIterable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleReadableStreamLike.js","./node_modules/rxjs/dist/esm/internal/observable/of.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/observeOn.js","./node_modules/rxjs/dist/esm/internal/operators/refCount.js","./node_modules/rxjs/dist/esm/internal/util/args.js","./node_modules/rxjs/dist/esm/internal/util/executeSchedule.js","./node_modules/rxjs/dist/esm/internal/util/isObservable.js","./node_modules/rxjs/dist/esm/internal/util/isScheduler.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/@angular/cdk/fesm2022/collections.mjs","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { createErrorClass } from './createErrorClass';\nexport const ObjectUnsubscribedError = createErrorClass((_super) => function ObjectUnsubscribedErrorImpl() {\n _super(this);\n this.name = 'ObjectUnsubscribedError';\n this.message = 'object unsubscribed';\n});\n","import { Observable } from './Observable';\nimport { Subscription, EMPTY_SUBSCRIPTION } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { arrRemove } from './util/arrRemove';\nimport { errorContext } from './util/errorContext';\nexport class Subject extends Observable {\n constructor() {\n super();\n this.closed = false;\n this.currentObservers = null;\n this.observers = [];\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n lift(operator) {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n }\n _throwIfClosed() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n }\n next(value) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n if (!this.currentObservers) {\n this.currentObservers = Array.from(this.observers);\n }\n for (const observer of this.currentObservers) {\n observer.next(value);\n }\n }\n });\n }\n error(err) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.hasError = this.isStopped = true;\n this.thrownError = err;\n const { observers } = this;\n while (observers.length) {\n observers.shift().error(err);\n }\n }\n });\n }\n complete() {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.isStopped = true;\n const { observers } = this;\n while (observers.length) {\n observers.shift().complete();\n }\n }\n });\n }\n unsubscribe() {\n this.isStopped = this.closed = true;\n this.observers = this.currentObservers = null;\n }\n get observed() {\n var _a;\n return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;\n }\n _trySubscribe(subscriber) {\n this._throwIfClosed();\n return super._trySubscribe(subscriber);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._checkFinalizedStatuses(subscriber);\n return this._innerSubscribe(subscriber);\n }\n _innerSubscribe(subscriber) {\n const { hasError, isStopped, observers } = this;\n if (hasError || isStopped) {\n return EMPTY_SUBSCRIPTION;\n }\n this.currentObservers = null;\n observers.push(subscriber);\n return new Subscription(() => {\n this.currentObservers = null;\n arrRemove(observers, subscriber);\n });\n }\n _checkFinalizedStatuses(subscriber) {\n const { hasError, thrownError, isStopped } = this;\n if (hasError) {\n subscriber.error(thrownError);\n }\n else if (isStopped) {\n subscriber.complete();\n }\n }\n asObservable() {\n const observable = new Observable();\n observable.source = this;\n return observable;\n }\n}\nSubject.create = (destination, source) => {\n return new AnonymousSubject(destination, source);\n};\nexport class AnonymousSubject extends Subject {\n constructor(destination, source) {\n super();\n this.destination = destination;\n this.source = source;\n }\n next(value) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);\n }\n error(err) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);\n }\n complete() {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);\n }\n _subscribe(subscriber) {\n var _a, _b;\n return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;\n }\n}\n","import { Observable } from '../Observable';\nimport { Subscription } from '../Subscription';\nimport { refCount as higherOrderRefCount } from '../operators/refCount';\nimport { createOperatorSubscriber } from '../operators/OperatorSubscriber';\nimport { hasLift } from '../util/lift';\nexport class ConnectableObservable extends Observable {\n constructor(source, subjectFactory) {\n super();\n this.source = source;\n this.subjectFactory = subjectFactory;\n this._subject = null;\n this._refCount = 0;\n this._connection = null;\n if (hasLift(source)) {\n this.lift = source.lift;\n }\n }\n _subscribe(subscriber) {\n return this.getSubject().subscribe(subscriber);\n }\n getSubject() {\n const subject = this._subject;\n if (!subject || subject.isStopped) {\n this._subject = this.subjectFactory();\n }\n return this._subject;\n }\n _teardown() {\n this._refCount = 0;\n const { _connection } = this;\n this._subject = this._connection = null;\n _connection === null || _connection === void 0 ? void 0 : _connection.unsubscribe();\n }\n connect() {\n let connection = this._connection;\n if (!connection) {\n connection = this._connection = new Subscription();\n const subject = this.getSubject();\n connection.add(this.source.subscribe(createOperatorSubscriber(subject, undefined, () => {\n this._teardown();\n subject.complete();\n }, (err) => {\n this._teardown();\n subject.error(err);\n }, () => this._teardown())));\n if (connection.closed) {\n this._connection = null;\n connection = Subscription.EMPTY;\n }\n }\n return connection;\n }\n refCount() {\n return higherOrderRefCount()(this);\n }\n}\n","import { operate } from '../util/lift';\nexport function subscribeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay));\n });\n}\n","import { Observable } from '../Observable';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleAsyncIterable(input, scheduler) {\n if (!input) {\n throw new Error('Iterable cannot be null');\n }\n return new Observable((subscriber) => {\n executeSchedule(subscriber, scheduler, () => {\n const iterator = input[Symbol.asyncIterator]();\n executeSchedule(subscriber, scheduler, () => {\n iterator.next().then((result) => {\n if (result.done) {\n subscriber.complete();\n }\n else {\n subscriber.next(result.value);\n }\n });\n }, 0, true);\n });\n });\n}\n","import { scheduled } from '../scheduled/scheduled';\nimport { innerFrom } from './innerFrom';\nexport function from(input, scheduler) {\n return scheduler ? scheduled(input, scheduler) : innerFrom(input);\n}\n","import { scheduleObservable } from './scheduleObservable';\nimport { schedulePromise } from './schedulePromise';\nimport { scheduleArray } from './scheduleArray';\nimport { scheduleIterable } from './scheduleIterable';\nimport { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isPromise } from '../util/isPromise';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isIterable } from '../util/isIterable';\nimport { isAsyncIterable } from '../util/isAsyncIterable';\nimport { createInvalidObservableTypeError } from '../util/throwUnobservableError';\nimport { isReadableStreamLike } from '../util/isReadableStreamLike';\nimport { scheduleReadableStreamLike } from './scheduleReadableStreamLike';\nexport function scheduled(input, scheduler) {\n if (input != null) {\n if (isInteropObservable(input)) {\n return scheduleObservable(input, scheduler);\n }\n if (isArrayLike(input)) {\n return scheduleArray(input, scheduler);\n }\n if (isPromise(input)) {\n return schedulePromise(input, scheduler);\n }\n if (isAsyncIterable(input)) {\n return scheduleAsyncIterable(input, scheduler);\n }\n if (isIterable(input)) {\n return scheduleIterable(input, scheduler);\n }\n if (isReadableStreamLike(input)) {\n return scheduleReadableStreamLike(input, scheduler);\n }\n }\n throw createInvalidObservableTypeError(input);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function scheduleObservable(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nexport function scheduleArray(input, scheduler) {\n return new Observable((subscriber) => {\n let i = 0;\n return scheduler.schedule(function () {\n if (i === input.length) {\n subscriber.complete();\n }\n else {\n subscriber.next(input[i++]);\n if (!subscriber.closed) {\n this.schedule();\n }\n }\n });\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function schedulePromise(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from '../util/isFunction';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleIterable(input, scheduler) {\n return new Observable((subscriber) => {\n let iterator;\n executeSchedule(subscriber, scheduler, () => {\n iterator = input[Symbol_iterator]();\n executeSchedule(subscriber, scheduler, () => {\n let value;\n let done;\n try {\n ({ value, done } = iterator.next());\n }\n catch (err) {\n subscriber.error(err);\n return;\n }\n if (done) {\n subscriber.complete();\n }\n else {\n subscriber.next(value);\n }\n }, 0, true);\n });\n return () => isFunction(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return();\n });\n}\n","import { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { readableStreamLikeToAsyncGenerator } from '../util/isReadableStreamLike';\nexport function scheduleReadableStreamLike(input, scheduler) {\n return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);\n}\n","import { popScheduler } from '../util/args';\nimport { from } from './from';\nexport function of(...args) {\n const scheduler = popScheduler(args);\n return from(args, scheduler);\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","import { executeSchedule } from '../util/executeSchedule';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function observeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, (value) => executeSchedule(subscriber, scheduler, () => subscriber.next(value), delay), () => executeSchedule(subscriber, scheduler, () => subscriber.complete(), delay), (err) => executeSchedule(subscriber, scheduler, () => subscriber.error(err), delay)));\n });\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function refCount() {\n return operate((source, subscriber) => {\n let connection = null;\n source._refCount++;\n const refCounter = createOperatorSubscriber(subscriber, undefined, undefined, undefined, () => {\n if (!source || source._refCount <= 0 || 0 < --source._refCount) {\n connection = null;\n return;\n }\n const sharedConnection = source._connection;\n const conn = connection;\n connection = null;\n if (sharedConnection && (!conn || sharedConnection === conn)) {\n sharedConnection.unsubscribe();\n }\n subscriber.unsubscribe();\n });\n source.subscribe(refCounter);\n if (!refCounter.closed) {\n connection = source.connect();\n }\n });\n}\n","import { isFunction } from './isFunction';\nimport { isScheduler } from './isScheduler';\nfunction last(arr) {\n return arr[arr.length - 1];\n}\nexport function popResultSelector(args) {\n return isFunction(last(args)) ? args.pop() : undefined;\n}\nexport function popScheduler(args) {\n return isScheduler(last(args)) ? args.pop() : undefined;\n}\nexport function popNumber(args, defaultValue) {\n return typeof last(args) === 'number' ? args.pop() : defaultValue;\n}\n","export function executeSchedule(parentSubscription, scheduler, work, delay = 0, repeat = false) {\n const scheduleSubscription = scheduler.schedule(function () {\n work();\n if (repeat) {\n parentSubscription.add(this.schedule(null, delay));\n }\n else {\n this.unsubscribe();\n }\n }, delay);\n parentSubscription.add(scheduleSubscription);\n if (!repeat) {\n return scheduleSubscription;\n }\n}\n","import { Observable } from '../Observable';\nimport { isFunction } from './isFunction';\nexport function isObservable(obj) {\n return !!obj && (obj instanceof Observable || (isFunction(obj.lift) && isFunction(obj.subscribe)));\n}\n","import { isFunction } from './isFunction';\nexport function isScheduler(value) {\n return value && isFunction(value.schedule);\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","import { ConnectableObservable, isObservable, of, Subject } from 'rxjs';\nimport * as i0 from '@angular/core';\nimport { Injectable, InjectionToken } from '@angular/core';\n\nclass DataSource {\n}\n/** Checks whether an object is a data source. */\nfunction isDataSource(value) {\n // Check if the value is a DataSource by observing if it has a connect function. Cannot\n // be checked as an `instanceof DataSource` since people could create their own sources\n // that match the interface, but don't extend DataSource. We also can't use `isObservable`\n // here, because of some internal apps.\n return value && typeof value.connect === 'function' && !(value instanceof ConnectableObservable);\n}\n\n/** DataSource wrapper for a native array. */\nclass ArrayDataSource extends DataSource {\n constructor(_data) {\n super();\n this._data = _data;\n }\n connect() {\n return isObservable(this._data) ? this._data : of(this._data);\n }\n disconnect() { }\n}\n\n/**\n * A repeater that destroys views when they are removed from a\n * {@link ViewContainerRef}. When new items are inserted into the container,\n * the repeater will always construct a new embedded view for each item.\n *\n * @template T The type for the embedded view's $implicit property.\n * @template R The type for the item in each IterableDiffer change record.\n * @template C The type for the context passed to each embedded view.\n */\nclass _DisposeViewRepeaterStrategy {\n applyChanges(changes, viewContainerRef, itemContextFactory, itemValueResolver, itemViewChanged) {\n changes.forEachOperation((record, adjustedPreviousIndex, currentIndex) => {\n let view;\n let operation;\n if (record.previousIndex == null) {\n const insertContext = itemContextFactory(record, adjustedPreviousIndex, currentIndex);\n view = viewContainerRef.createEmbeddedView(insertContext.templateRef, insertContext.context, insertContext.index);\n operation = 1 /* _ViewRepeaterOperation.INSERTED */;\n }\n else if (currentIndex == null) {\n viewContainerRef.remove(adjustedPreviousIndex);\n operation = 3 /* _ViewRepeaterOperation.REMOVED */;\n }\n else {\n view = viewContainerRef.get(adjustedPreviousIndex);\n viewContainerRef.move(view, currentIndex);\n operation = 2 /* _ViewRepeaterOperation.MOVED */;\n }\n if (itemViewChanged) {\n itemViewChanged({\n context: view?.context,\n operation,\n record,\n });\n }\n });\n }\n detach() { }\n}\n\n/**\n * A repeater that caches views when they are removed from a\n * {@link ViewContainerRef}. When new items are inserted into the container,\n * the repeater will reuse one of the cached views instead of creating a new\n * embedded view. Recycling cached views reduces the quantity of expensive DOM\n * inserts.\n *\n * @template T The type for the embedded view's $implicit property.\n * @template R The type for the item in each IterableDiffer change record.\n * @template C The type for the context passed to each embedded view.\n */\nclass _RecycleViewRepeaterStrategy {\n constructor() {\n /**\n * The size of the cache used to store unused views.\n * Setting the cache size to `0` will disable caching. Defaults to 20 views.\n */\n this.viewCacheSize = 20;\n /**\n * View cache that stores embedded view instances that have been previously stamped out,\n * but don't are not currently rendered. The view repeater will reuse these views rather than\n * creating brand new ones.\n *\n * TODO(michaeljamesparsons) Investigate whether using a linked list would improve performance.\n */\n this._viewCache = [];\n }\n /** Apply changes to the DOM. */\n applyChanges(changes, viewContainerRef, itemContextFactory, itemValueResolver, itemViewChanged) {\n // Rearrange the views to put them in the right location.\n changes.forEachOperation((record, adjustedPreviousIndex, currentIndex) => {\n let view;\n let operation;\n if (record.previousIndex == null) {\n // Item added.\n const viewArgsFactory = () => itemContextFactory(record, adjustedPreviousIndex, currentIndex);\n view = this._insertView(viewArgsFactory, currentIndex, viewContainerRef, itemValueResolver(record));\n operation = view ? 1 /* _ViewRepeaterOperation.INSERTED */ : 0 /* _ViewRepeaterOperation.REPLACED */;\n }\n else if (currentIndex == null) {\n // Item removed.\n this._detachAndCacheView(adjustedPreviousIndex, viewContainerRef);\n operation = 3 /* _ViewRepeaterOperation.REMOVED */;\n }\n else {\n // Item moved.\n view = this._moveView(adjustedPreviousIndex, currentIndex, viewContainerRef, itemValueResolver(record));\n operation = 2 /* _ViewRepeaterOperation.MOVED */;\n }\n if (itemViewChanged) {\n itemViewChanged({\n context: view?.context,\n operation,\n record,\n });\n }\n });\n }\n detach() {\n for (const view of this._viewCache) {\n view.destroy();\n }\n this._viewCache = [];\n }\n /**\n * Inserts a view for a new item, either from the cache or by creating a new\n * one. Returns `undefined` if the item was inserted into a cached view.\n */\n _insertView(viewArgsFactory, currentIndex, viewContainerRef, value) {\n const cachedView = this._insertViewFromCache(currentIndex, viewContainerRef);\n if (cachedView) {\n cachedView.context.$implicit = value;\n return undefined;\n }\n const viewArgs = viewArgsFactory();\n return viewContainerRef.createEmbeddedView(viewArgs.templateRef, viewArgs.context, viewArgs.index);\n }\n /** Detaches the view at the given index and inserts into the view cache. */\n _detachAndCacheView(index, viewContainerRef) {\n const detachedView = viewContainerRef.detach(index);\n this._maybeCacheView(detachedView, viewContainerRef);\n }\n /** Moves view at the previous index to the current index. */\n _moveView(adjustedPreviousIndex, currentIndex, viewContainerRef, value) {\n const view = viewContainerRef.get(adjustedPreviousIndex);\n viewContainerRef.move(view, currentIndex);\n view.context.$implicit = value;\n return view;\n }\n /**\n * Cache the given detached view. If the cache is full, the view will be\n * destroyed.\n */\n _maybeCacheView(view, viewContainerRef) {\n if (this._viewCache.length < this.viewCacheSize) {\n this._viewCache.push(view);\n }\n else {\n const index = viewContainerRef.indexOf(view);\n // The host component could remove views from the container outside of\n // the view repeater. It's unlikely this will occur, but just in case,\n // destroy the view on its own, otherwise destroy it through the\n // container to ensure that all the references are removed.\n if (index === -1) {\n view.destroy();\n }\n else {\n viewContainerRef.remove(index);\n }\n }\n }\n /** Inserts a recycled view from the cache at the given index. */\n _insertViewFromCache(index, viewContainerRef) {\n const cachedView = this._viewCache.pop();\n if (cachedView) {\n viewContainerRef.insert(cachedView, index);\n }\n return cachedView || null;\n }\n}\n\n/**\n * Class to be used to power selecting one or more options from a list.\n */\nclass SelectionModel {\n /** Selected values. */\n get selected() {\n if (!this._selected) {\n this._selected = Array.from(this._selection.values());\n }\n return this._selected;\n }\n constructor(_multiple = false, initiallySelectedValues, _emitChanges = true, compareWith) {\n this._multiple = _multiple;\n this._emitChanges = _emitChanges;\n this.compareWith = compareWith;\n /** Currently-selected values. */\n this._selection = new Set();\n /** Keeps track of the deselected options that haven't been emitted by the change event. */\n this._deselectedToEmit = [];\n /** Keeps track of the selected options that haven't been emitted by the change event. */\n this._selectedToEmit = [];\n /** Event emitted when the value has changed. */\n this.changed = new Subject();\n if (initiallySelectedValues && initiallySelectedValues.length) {\n if (_multiple) {\n initiallySelectedValues.forEach(value => this._markSelected(value));\n }\n else {\n this._markSelected(initiallySelectedValues[0]);\n }\n // Clear the array in order to avoid firing the change event for preselected values.\n this._selectedToEmit.length = 0;\n }\n }\n /**\n * Selects a value or an array of values.\n * @param values The values to select\n * @return Whether the selection changed as a result of this call\n * @breaking-change 16.0.0 make return type boolean\n */\n select(...values) {\n this._verifyValueAssignment(values);\n values.forEach(value => this._markSelected(value));\n const changed = this._hasQueuedChanges();\n this._emitChangeEvent();\n return changed;\n }\n /**\n * Deselects a value or an array of values.\n * @param values The values to deselect\n * @return Whether the selection changed as a result of this call\n * @breaking-change 16.0.0 make return type boolean\n */\n deselect(...values) {\n this._verifyValueAssignment(values);\n values.forEach(value => this._unmarkSelected(value));\n const changed = this._hasQueuedChanges();\n this._emitChangeEvent();\n return changed;\n }\n /**\n * Sets the selected values\n * @param values The new selected values\n * @return Whether the selection changed as a result of this call\n * @breaking-change 16.0.0 make return type boolean\n */\n setSelection(...values) {\n this._verifyValueAssignment(values);\n const oldValues = this.selected;\n const newSelectedSet = new Set(values);\n values.forEach(value => this._markSelected(value));\n oldValues\n .filter(value => !newSelectedSet.has(value))\n .forEach(value => this._unmarkSelected(value));\n const changed = this._hasQueuedChanges();\n this._emitChangeEvent();\n return changed;\n }\n /**\n * Toggles a value between selected and deselected.\n * @param value The value to toggle\n * @return Whether the selection changed as a result of this call\n * @breaking-change 16.0.0 make return type boolean\n */\n toggle(value) {\n return this.isSelected(value) ? this.deselect(value) : this.select(value);\n }\n /**\n * Clears all of the selected values.\n * @param flushEvent Whether to flush the changes in an event.\n * If false, the changes to the selection will be flushed along with the next event.\n * @return Whether the selection changed as a result of this call\n * @breaking-change 16.0.0 make return type boolean\n */\n clear(flushEvent = true) {\n this._unmarkAll();\n const changed = this._hasQueuedChanges();\n if (flushEvent) {\n this._emitChangeEvent();\n }\n return changed;\n }\n /**\n * Determines whether a value is selected.\n */\n isSelected(value) {\n return this._selection.has(this._getConcreteValue(value));\n }\n /**\n * Determines whether the model does not have a value.\n */\n isEmpty() {\n return this._selection.size === 0;\n }\n /**\n * Determines whether the model has a value.\n */\n hasValue() {\n return !this.isEmpty();\n }\n /**\n * Sorts the selected values based on a predicate function.\n */\n sort(predicate) {\n if (this._multiple && this.selected) {\n this._selected.sort(predicate);\n }\n }\n /**\n * Gets whether multiple values can be selected.\n */\n isMultipleSelection() {\n return this._multiple;\n }\n /** Emits a change event and clears the records of selected and deselected values. */\n _emitChangeEvent() {\n // Clear the selected values so they can be re-cached.\n this._selected = null;\n if (this._selectedToEmit.length || this._deselectedToEmit.length) {\n this.changed.next({\n source: this,\n added: this._selectedToEmit,\n removed: this._deselectedToEmit,\n });\n this._deselectedToEmit = [];\n this._selectedToEmit = [];\n }\n }\n /** Selects a value. */\n _markSelected(value) {\n value = this._getConcreteValue(value);\n if (!this.isSelected(value)) {\n if (!this._multiple) {\n this._unmarkAll();\n }\n if (!this.isSelected(value)) {\n this._selection.add(value);\n }\n if (this._emitChanges) {\n this._selectedToEmit.push(value);\n }\n }\n }\n /** Deselects a value. */\n _unmarkSelected(value) {\n value = this._getConcreteValue(value);\n if (this.isSelected(value)) {\n this._selection.delete(value);\n if (this._emitChanges) {\n this._deselectedToEmit.push(value);\n }\n }\n }\n /** Clears out the selected values. */\n _unmarkAll() {\n if (!this.isEmpty()) {\n this._selection.forEach(value => this._unmarkSelected(value));\n }\n }\n /**\n * Verifies the value assignment and throws an error if the specified value array is\n * including multiple values while the selection model is not supporting multiple values.\n */\n _verifyValueAssignment(values) {\n if (values.length > 1 && !this._multiple && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw getMultipleValuesInSingleSelectionError();\n }\n }\n /** Whether there are queued up change to be emitted. */\n _hasQueuedChanges() {\n return !!(this._deselectedToEmit.length || this._selectedToEmit.length);\n }\n /** Returns a value that is comparable to inputValue by applying compareWith function, returns the same inputValue otherwise. */\n _getConcreteValue(inputValue) {\n if (!this.compareWith) {\n return inputValue;\n }\n else {\n for (let selectedValue of this._selection) {\n if (this.compareWith(inputValue, selectedValue)) {\n return selectedValue;\n }\n }\n return inputValue;\n }\n }\n}\n/**\n * Returns an error that reports that multiple values are passed into a selection model\n * with a single value.\n * @docs-private\n */\nfunction getMultipleValuesInSingleSelectionError() {\n return Error('Cannot pass multiple values into SelectionModel with single-value mode.');\n}\n\n/**\n * Class to coordinate unique selection based on name.\n * Intended to be consumed as an Angular service.\n * This service is needed because native radio change events are only fired on the item currently\n * being selected, and we still need to uncheck the previous selection.\n *\n * This service does not *store* any IDs and names because they may change at any time, so it is\n * less error-prone if they are simply passed through when the events occur.\n */\nclass UniqueSelectionDispatcher {\n constructor() {\n this._listeners = [];\n }\n /**\n * Notify other items that selection for the given name has been set.\n * @param id ID of the item.\n * @param name Name of the item.\n */\n notify(id, name) {\n for (let listener of this._listeners) {\n listener(id, name);\n }\n }\n /**\n * Listen for future changes to item selection.\n * @return Function used to deregister listener\n */\n listen(listener) {\n this._listeners.push(listener);\n return () => {\n this._listeners = this._listeners.filter((registered) => {\n return listener !== registered;\n });\n };\n }\n ngOnDestroy() {\n this._listeners = [];\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: UniqueSelectionDispatcher, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: UniqueSelectionDispatcher, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: UniqueSelectionDispatcher, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }] });\n\n/**\n * Injection token for {@link _ViewRepeater}. This token is for use by Angular Material only.\n * @docs-private\n */\nconst _VIEW_REPEATER_STRATEGY = new InjectionToken('_ViewRepeater');\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { ArrayDataSource, DataSource, SelectionModel, UniqueSelectionDispatcher, _DisposeViewRepeaterStrategy, _RecycleViewRepeaterStrategy, _VIEW_REPEATER_STRATEGY, getMultipleValuesInSingleSelectionError, isDataSource };\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30]} \ No newline at end of file diff --git a/7920.20f071c82a068a0e.js b/7920.20f071c82a068a0e.js new file mode 100644 index 0000000..53653bf --- /dev/null +++ b/7920.20f071c82a068a0e.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[7920,5106,7376,5187,4091,1217,7208,4968,4155,1084,6896,6980,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,8061,4680,2111,3326,8596,8352,5501,3098,8467,6578,8608,8443,5915,3278,5391,6748,1551,6763,4151,5069,7432,8071,6618],{44841:(_,f,n)=>{function o(u,e){(null==e||e>u.length)&&(e=u.length);for(var t=0,r=new Array(e);t<e;t++)r[t]=u[t];return r}n.d(f,{Z:()=>o})},35488:(_,f,n)=>{function o(u){if(void 0===u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}n.d(f,{Z:()=>o})},95106:(_,f,n)=>{n.d(f,{Z:()=>u});var o=n(44206);function u(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=(0,o.Z)(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var c=0,p=function(){};return{s:p,n:function(){return c>=e.length?{done:!0}:{done:!1,value:e[c++]}},e:function(s){throw s},f:p}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var d,a=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var s=r.next();return a=s.done,s},e:function(s){l=!0,d=s},f:function(){try{!a&&null!=r.return&&r.return()}finally{if(l)throw d}}}}},28694:(_,f,n)=>{n.d(f,{Z:()=>c});var o=n(20265),u=n(98568),e=n(43445),t=n(35488);function c(p){var a=(0,u.Z)();return function(){var i,d=(0,o.Z)(p);if(a){var s=(0,o.Z)(this).constructor;i=Reflect.construct(d,arguments,s)}else i=d.apply(this,arguments);return function r(p,a){if(a&&("object"===(0,e.Z)(a)||"function"==typeof a))return a;if(void 0!==a)throw new TypeError("Derived constructors may only return object or undefined");return(0,t.Z)(p)}(this,i)}}},4089:(_,f,n)=>{n.d(f,{Z:()=>e});var o=n(20265);function e(){return e=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(r,c,p){var a=function u(t,r){for(;!Object.prototype.hasOwnProperty.call(t,r)&&null!==(t=(0,o.Z)(t)););return t}(r,c);if(a){var l=Object.getOwnPropertyDescriptor(a,c);return l.get?l.get.call(arguments.length<3?r:p):l.value}},e.apply(this,arguments)}},20265:(_,f,n)=>{function o(u){return(o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(u)}n.d(f,{Z:()=>o})},24582:(_,f,n)=>{n.d(f,{Z:()=>u});var o=n(10006);function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,o.Z)(e,t)}},98568:(_,f,n)=>{function o(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}n.d(f,{Z:()=>o})},10006:(_,f,n)=>{function o(u,e){return(o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,c){return r.__proto__=c,r})(u,e)}n.d(f,{Z:()=>o})},44206:(_,f,n)=>{n.d(f,{Z:()=>u});var o=n(44841);function u(e,t){if(e){if("string"==typeof e)return(0,o.Z)(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return(0,o.Z)(e,t)}}}}]); +//# sourceMappingURL=7920.20f071c82a068a0e.js.map \ No newline at end of file diff --git a/7920.20f071c82a068a0e.js.map b/7920.20f071c82a068a0e.js.map new file mode 100644 index 0000000..beed746 --- /dev/null +++ b/7920.20f071c82a068a0e.js.map @@ -0,0 +1 @@ +{"version":3,"file":"7920.20f071c82a068a0e.js","mappings":"8SAAe,SAAAA,EAAAC,EAAAC,IACf,MAAAA,KAAAD,EAAAE,UAAAD,EAAAD,EAAAE,QACA,QAAAC,EAAA,EAAAC,EAAA,IAAAC,MAAAJ,GAAyCE,EAAAF,EAASE,IAAAC,EAAAD,GAAAH,EAAAG,GAClD,OAAAC,CACA,mCCJe,SAAAE,EAAAC,GACf,YAAAA,EACA,UAAAC,eAAA,6DAEA,OAAAD,CACA,mECJe,SAAAE,EAAAC,EAAAC,GACf,IAAAC,SAAAC,OAAA,KAAAH,EAAAG,OAAAC,WAAAJ,EAAA,cACA,IAAAE,EAAA,CACA,GAAAP,MAAAU,QAAAL,KAAAE,KAAkCI,EAAAC,GAA0BP,KAAAC,GAAAD,GAAA,iBAAAA,EAAAR,OAAA,CAC5DU,IAAAF,EAAAE,GACA,IAAAT,EAAA,EACAe,EAAA,aACA,OACAC,EAAAD,EACAE,EAAA,WACA,OAAAjB,GAAAO,EAAAR,OAAA,CACAmB,MAAA,GAEA,CACAA,MAAA,EACAC,MAAAZ,EAAAP,KAEA,EACAoB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AAA2E,EAAA,CACtG","names":["_arrayLikeToArray","arr","len","length","i","arr2","Array","_assertThisInitialized","self","ReferenceError","_createForOfIteratorHelper","o","allowArrayLike","it","Symbol","iterator","isArray","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","s","n","done","value","e","_e","f","TypeError","err","normalCompletion","didErr","call","step","next","_e2","return","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","esm_typeof","assertThisInitialized","_get","get","bind","target","property","receiver","base","_superPropBase","object","Object","prototype","hasOwnProperty","desc","getOwnPropertyDescriptor","_getPrototypeOf","setPrototypeOf","__proto__","_inherits","subClass","superClass","create","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","toString","slice","name","from","test"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11]} \ No newline at end of file diff --git a/8013.aa29348797c9028f.js b/8013.aa29348797c9028f.js new file mode 100644 index 0000000..1c98441 --- /dev/null +++ b/8013.aa29348797c9028f.js @@ -0,0 +1,12 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[8013,5603,9880],{68013:(fe,V,S)=>{S.r(V);var M={};S.r(M),S.d(M,{getUserAgentPrefix:()=>cD,isVirtualHostableS3Bucket:()=>tZ,parseArn:()=>nZ,partition:()=>QB,setPartitionInfo:()=>lD,useDefaultPartitionInfo:()=>YB});var K={};S.r(K),S.d(K,{aws:()=>M,booleanEquals:()=>rZ,getAttr:()=>fD,isSet:()=>aZ,isValidHostLabel:()=>pD,not:()=>oZ,parseURL:()=>sZ,stringEquals:()=>uZ,substring:()=>lZ,uriEncode:()=>cZ});var B=S(15019),r=S(56718),y=S(48047),f=S(78069),g=S(32090),_=S(86170),P=S(94055),O=S(3267),j=S(33401),v=S(47405),b=S(35603),G=S(62902),z=S(24582),H=S(28694),ee=S(95106),U=S(76317),W=S(90833),Y=S(36646),ae=S(50253);function ve(o){for(var n in o){var t,e=null!==(t=o[n])&&void 0!==t?t:"";switch(n){case"display":o.display="flex"===e?["-webkit-flex","flex"]:"inline-flex"===e?["-webkit-inline-flex","inline-flex"]:e;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":o["-webkit-"+n]=e;break;case"flex-direction":o["-webkit-flex-direction"]=e,o["flex-direction"]=e;break;case"order":o.order=o["-webkit-"+n]=isNaN(+e)?"0":e}}return o}var _e="inline",he=["row","column","row-reverse","column-reverse"];function x(o){var n=R(o),t=(0,g.Z)(n,3);return function L(o){return{display:arguments.length>2&&void 0!==arguments[2]&&arguments[2]?"inline-flex":"flex","box-sizing":"border-box","flex-direction":o,"flex-wrap":(arguments.length>1&&void 0!==arguments[1]?arguments[1]:null)||null}}(t[0],t[1],t[2])}function R(o){var n,t,e=(o=null!==(n=null===(t=o)||void 0===t?void 0:t.toLowerCase())&&void 0!==n?n:"").split(" "),a=(0,g.Z)(e,3),s=a[0],u=a[1],l=a[2];return he.find(function(c){return c===s})||(s=he[0]),u===_e&&(u=l!==_e?l:"",l=_e),[s,I(u),!!l]}function E(o){var n=R(o);return(0,g.Z)(n,1)[0].indexOf("row")>-1}function I(o){if(o)switch(o.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":o="wrap-reverse";break;case"no":case"none":case"nowrap":o="nowrap";break;default:o="wrap"}return o}function D(o){if(null==o)throw TypeError("Cannot convert undefined or null to object");for(var n=arguments.length,t=new Array(n>1?n-1:0),e=1;e<n;e++)t[e-1]=arguments[e];for(var a=0,s=t;a<s.length;a++){var u=s[a];if(null!=u)for(var l in u)u.hasOwnProperty(l)&&(o[l]=u[l])}return o}var Q=S(60116),te=S(19337),ne={provide:r.APP_BOOTSTRAP_LISTENER,useFactory:function Re(o,n){return function(){if((0,P.isPlatformBrowser)(n)){var t=Array.from(o.querySelectorAll("[class*=".concat(Fe,"]"))),e=/\bflex-layout-.+?\b/g;t.forEach(function(a){a.classList.contains("".concat(Fe,"ssr"))&&a.parentNode?a.parentNode.removeChild(a):a.className.replace(e,"")})}}},deps:[P.DOCUMENT,r.PLATFORM_ID],multi:!0},Fe="flex-layout-",rt=function(){var o=(0,y.Z)(function n(){(0,f.Z)(this,n)});return o.\u0275fac=function(t){return new(t||o)},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({providers:[ne]}),o}(),Te=function(){function o(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"all",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;(0,f.Z)(this,o),this.matches=n,this.mediaQuery=t,this.mqAlias=e,this.suffix=a,this.priority=s,this.property=""}return(0,y.Z)(o,[{key:"clone",value:function(){return new o(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}]),o}(),tt=function(){var o=function(){function n(){(0,f.Z)(this,n),this.stylesheet=new Map}return(0,y.Z)(n,[{key:"addStyleToElement",value:function(e,a,s){var u=this.stylesheet.get(e);u?u.set(a,s):this.stylesheet.set(e,new Map([[a,s]]))}},{key:"clearStyles",value:function(){this.stylesheet.clear()}},{key:"getStyleForElement",value:function(e,a){var s=this.stylesheet.get(e),u="";if(s){var l=s.get(a);("number"==typeof l||"string"==typeof l)&&(u=l+"")}return u}}]),n}();return o.\u0275fac=function(t){return new(t||o)},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),Qe={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},vt=new r.InjectionToken("Flex Layout token, config options for the library",{providedIn:"root",factory:function(){return Qe}}),et=new r.InjectionToken("FlexLayoutServerLoaded",{providedIn:"root",factory:function(){return!1}}),je=new r.InjectionToken("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:function(){return null}});function it(o,n){var t,e;return o=null!==(t=null===(e=o)||void 0===e?void 0:e.clone())&&void 0!==t?t:new Te,n&&(o.mqAlias=n.alias,o.mediaQuery=n.mediaQuery,o.suffix=n.suffix,o.priority=n.priority),o}var de=function(){function o(){(0,f.Z)(this,o),this.shouldCache=!0}return(0,y.Z)(o,[{key:"sideEffect",value:function(t,e,a){}}]),o}(),J=function(){var o=function(){function n(t,e,a,s){(0,f.Z)(this,n),this._serverStylesheet=t,this._serverModuleLoaded=e,this._platformId=a,this.layoutConfig=s}return(0,y.Z)(n,[{key:"applyStyleToElement",value:function(e,a){var u={};"string"==typeof a&&(u[a]=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=u),u=this.layoutConfig.disableVendorPrefixes?a:ve(a),this._applyMultiValueStyleToElement(u,e)}},{key:"applyStyleToElements",value:function(e){var a=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],u=this.layoutConfig.disableVendorPrefixes?e:ve(e);s.forEach(function(l){a._applyMultiValueStyleToElement(u,l)})}},{key:"getFlowDirection",value:function(e){var a="flex-direction",s=this.lookupStyle(e,a);return[s||"row",this.lookupInlineStyle(e,a)||(0,P.isPlatformServer)(this._platformId)&&this._serverModuleLoaded?s:""]}},{key:"hasWrap",value:function(e){return"wrap"===this.lookupStyle(e,"flex-wrap")}},{key:"lookupAttributeValue",value:function(e,a){var s;return null!==(s=e.getAttribute(a))&&void 0!==s?s:""}},{key:"lookupInlineStyle",value:function(e,a){return(0,P.isPlatformBrowser)(this._platformId)?e.style.getPropertyValue(a):function oe(o,n){var t;return null!==(t=pe(o)[n])&&void 0!==t?t:""}(e,a)}},{key:"lookupStyle",value:function(e,a){var s=arguments.length>2&&void 0!==arguments[2]&&arguments[2],u="";return e&&((u=this.lookupInlineStyle(e,a))||((0,P.isPlatformBrowser)(this._platformId)?s||(u=getComputedStyle(e).getPropertyValue(a)):this._serverModuleLoaded&&(u=this._serverStylesheet.getStyleForElement(e,a)))),u?u.trim():""}},{key:"_applyMultiValueStyleToElement",value:function(e,a){var s=this;Object.keys(e).sort().forEach(function(u){var l=e[u],c=Array.isArray(l)?l:[l];c.sort();var C,h=(0,ee.Z)(c);try{for(h.s();!(C=h.n()).done;){var T=C.value;T=T?T+"":"",(0,P.isPlatformBrowser)(s._platformId)||!s._serverModuleLoaded?(0,P.isPlatformBrowser)(s._platformId)?a.style.setProperty(u,T):Ae(a,u,T):s._serverStylesheet.addStyleToElement(a,u,T)}}catch(N){h.e(N)}finally{h.f()}})}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(tt),r.\u0275\u0275inject(et),r.\u0275\u0275inject(r.PLATFORM_ID),r.\u0275\u0275inject(vt))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}();function Ae(o,n,t){n=n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();var e=pe(o);e[n]=t??"",function Ne(o,n){var t="";for(var e in n)n[e]&&(t+="".concat(e,":").concat(n[e],";"));o.setAttribute("style",t)}(o,e)}function pe(o){var n={},t=o.getAttribute("style");if(t)for(var e=t.split(/;+/g),a=0;a<e.length;a++){var s=e[a].trim();if(s.length>0){var u=s.indexOf(":");if(-1===u)throw new Error("Invalid CSS style: ".concat(s));n[s.substr(0,u).trim()]=s.substr(u+1).trim()}}return n}function xe(o,n){return(n&&n.priority||0)-(o&&o.priority||0)}function ut(o,n){return(o.priority||0)-(n.priority||0)}var be=function(){var o=function(){function n(t,e,a){(0,f.Z)(this,n),this._zone=t,this._platformId=e,this._document=a,this.source=new U.X(new Te(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}return(0,y.Z)(n,[{key:"activations",get:function(){var e=[];return this.registry.forEach(function(a,s){a.matches&&e.push(s)}),e}},{key:"isActive",value:function(e){var a,s=this.registry.get(e);return null!==(a=s?.matches)&&void 0!==a?a:this.registerQuery(e).some(function(u){return u.matches})}},{key:"observe",value:function(e){var a=this,s=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e&&e.length){var u=this._observable$.pipe((0,Q.h)(function(c){return!s||e.indexOf(c.mediaQuery)>-1})),l=new W.y(function(c){var h=a.registerQuery(e);if(h.length){var C=h.pop();h.forEach(function(T){c.next(T)}),a.source.next(C)}c.complete()});return(0,Y.T)(l,u)}return this._observable$}},{key:"registerQuery",value:function(e){var a=this,s=Array.isArray(e)?e:[e],u=[];return function le(o,n){var t=o.filter(function(u){return!ce[u]});if(t.length>0){var e=t.join(", ");try{var a=n.createElement("style");if(a.setAttribute("type","text/css"),!a.styleSheet){var s="\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ".concat(e," {.fx-query-test{ }}\n");a.appendChild(n.createTextNode(s))}n.head.appendChild(a),t.forEach(function(u){return ce[u]=a})}catch(u){console.error(u)}}}(s,this._document),s.forEach(function(l){var c=function(T){a._zone.run(function(){return a.source.next(new Te(T.matches,l))})},h=a.registry.get(l);h||((h=a.buildMQL(l)).addListener(c),a.pendingRemoveListenerFns.push(function(){return h.removeListener(c)}),a.registry.set(l,h)),h.matches&&u.push(new Te(!0,l))}),u}},{key:"ngOnDestroy",value:function(){for(var e;e=this.pendingRemoveListenerFns.pop();)e()}},{key:"buildMQL",value:function(e){return function at(o,n){return n&&!!window.matchMedia("all").addListener?window.matchMedia(o):function Ie(o){var n=new EventTarget;return n.matches="all"===o||""===o,n.media=o,n.addListener=function(){},n.removeListener=function(){},n.addEventListener=function(){},n.dispatchEvent=function(){return!1},n.onchange=null,n}(o)}(e,(0,P.isPlatformBrowser)(this._platformId))}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(r.NgZone),r.\u0275\u0275inject(r.PLATFORM_ID),r.\u0275\u0275inject(P.DOCUMENT))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),ce={},Tt=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],Vt="(orientation: portrait) and (max-width: 599.98px)",zt="(orientation: landscape) and (max-width: 959.98px)",un="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",Xt="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",Kn="(orientation: portrait) and (min-width: 840px)",Un="(orientation: landscape) and (min-width: 1280px)",De={HANDSET:"".concat(Vt,", ").concat(zt),TABLET:"".concat(un," , ").concat(Xt),WEB:"".concat(Kn,", ").concat(Un," "),HANDSET_PORTRAIT:"".concat(Vt),TABLET_PORTRAIT:"".concat(un," "),WEB_PORTRAIT:"".concat(Kn),HANDSET_LANDSCAPE:"".concat(zt),TABLET_LANDSCAPE:"".concat(Xt),WEB_LANDSCAPE:"".concat(Un)},Br=[{alias:"handset",priority:2e3,mediaQuery:De.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:De.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:De.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:De.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:De.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:De.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:De.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:De.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:De.WEB_PORTRAIT,overlapping:!0}],ar=/(\.|-|_)/g;function Qt(o){var n=o.length>0?o.charAt(0):"",t=o.length>1?o.slice(1):"";return n.toUpperCase()+t}var Pt=new r.InjectionToken("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:function(){var n=(0,r.inject)(je),t=(0,r.inject)(vt),e=[].concat.apply([],(n||[]).map(function(s){return Array.isArray(s)?s:[s]}));return function _t(o){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],t={};return o.forEach(function(e){t[e.alias]=e}),n.forEach(function(e){t[e.alias]?D(t[e.alias],e):t[e.alias]=e}),function ki(o){return o.forEach(function(n){n.suffix||(n.suffix=function ba(o){return o.replace(ar,"|").split("|").map(Qt).join("")}(n.alias),n.overlapping=!!n.overlapping)}),o}(Object.keys(t).map(function(e){return t[e]}))}((t.disableDefaultBps?[]:Tt).concat(t.addOrientationBps?Br:[]),e)}}),Pn=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.findByMap=new Map,this.items=(0,_.Z)(t).sort(ut)}return(0,y.Z)(n,[{key:"findByAlias",value:function(e){return e?this.findWithPredicate(e,function(a){return a.alias===e}):null}},{key:"findByQuery",value:function(e){return this.findWithPredicate(e,function(a){return a.mediaQuery===e})}},{key:"overlappings",get:function(){return this.items.filter(function(e){return e.overlapping})}},{key:"aliases",get:function(){return this.items.map(function(e){return e.alias})}},{key:"suffixes",get:function(){return this.items.map(function(e){var a;return null!==(a=e?.suffix)&&void 0!==a?a:""})}},{key:"findWithPredicate",value:function(e,a){var s,l,u=this.findByMap.get(e);return u||(u=null!==(l=this.items.find(a))&&void 0!==l?l:null,this.findByMap.set(e,u)),null!==(s=u)&&void 0!==s?s:null}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Pt))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),zn="print",Cn={alias:zn,mediaQuery:zn,priority:1e3},cn=function(){var o=function(){function n(t,e,a){(0,f.Z)(this,n),this.breakpoints=t,this.layoutConfig=e,this._document=a,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new Fr,this.deactivations=[]}return(0,y.Z)(n,[{key:"withPrintQuery",value:function(e){return[].concat((0,_.Z)(e),[zn])}},{key:"isPrintEvent",value:function(e){return e.mediaQuery.startsWith(zn)}},{key:"printAlias",get:function(){var e;return(0,_.Z)(null!==(e=this.layoutConfig.printWithBreakpoints)&&void 0!==e?e:[])}},{key:"printBreakPoints",get:function(){var e=this;return this.printAlias.map(function(a){return e.breakpoints.findByAlias(a)}).filter(function(a){return null!==a})}},{key:"getEventBreakpoints",value:function(e){var s=this.breakpoints.findByQuery(e.mediaQuery);return(s?[].concat((0,_.Z)(this.printBreakPoints),[s]):this.printBreakPoints).sort(xe)}},{key:"updateEvent",value:function(e){var s,u,a=this.breakpoints.findByQuery(e.mediaQuery);return this.isPrintEvent(e)&&(a=this.getEventBreakpoints(e)[0],e.mediaQuery=null!==(s=null===(u=a)||void 0===u?void 0:u.mediaQuery)&&void 0!==s?s:""),it(e,a)}},{key:"registerBeforeAfterPrintHooks",value:function(e){var a=this;if(this._document.defaultView&&!this.registeredBeforeAfterPrintHooks){this.registeredBeforeAfterPrintHooks=!0;var s=function(){a.isPrinting||(a.isPrintingBeforeAfterEvent=!0,a.startPrinting(e,a.getEventBreakpoints(new Te(!0,zn))),e.updateStyles())},u=function(){a.isPrintingBeforeAfterEvent=!1,a.isPrinting&&(a.stopPrinting(e),e.updateStyles())};this._document.defaultView.addEventListener("beforeprint",s),this._document.defaultView.addEventListener("afterprint",u),this.beforePrintEventListeners.push(s),this.afterPrintEventListeners.push(u)}}},{key:"interceptEvents",value:function(e){var a=this;return function(s){a.isPrintEvent(s)?s.matches&&!a.isPrinting?(a.startPrinting(e,a.getEventBreakpoints(s)),e.updateStyles()):!s.matches&&a.isPrinting&&!a.isPrintingBeforeAfterEvent&&(a.stopPrinting(e),e.updateStyles()):a.collectActivations(e,s)}}},{key:"blockPropagation",value:function(){var e=this;return function(a){return!(e.isPrinting||e.isPrintEvent(a))}}},{key:"startPrinting",value:function(e,a){this.isPrinting=!0,this.formerActivations=e.activatedBreakpoints,e.activatedBreakpoints=this.queue.addPrintBreakpoints(a)}},{key:"stopPrinting",value:function(e){e.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}},{key:"collectActivations",value:function(e,a){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent)return void(this.deactivations=[]);if(!a.matches){var s=this.breakpoints.findByQuery(a.mediaQuery);if(s){var u=this.formerActivations&&this.formerActivations.includes(s),l=!this.formerActivations&&e.activatedBreakpoints.includes(s);(u||l)&&(this.deactivations.push(s),this.deactivations.sort(xe))}}}}},{key:"ngOnDestroy",value:function(){var e=this;this._document.defaultView&&(this.beforePrintEventListeners.forEach(function(a){return e._document.defaultView.removeEventListener("beforeprint",a)}),this.afterPrintEventListeners.forEach(function(a){return e._document.defaultView.removeEventListener("afterprint",a)}))}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Pn),r.\u0275\u0275inject(vt),r.\u0275\u0275inject(P.DOCUMENT))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),Fr=function(){function o(){(0,f.Z)(this,o),this.printBreakpoints=[]}return(0,y.Z)(o,[{key:"addPrintBreakpoints",value:function(t){var e=this;return t.push(Cn),t.sort(xe),t.forEach(function(a){return e.addBreakpoint(a)}),this.printBreakpoints}},{key:"addBreakpoint",value:function(t){t&&void 0===this.printBreakpoints.find(function(a){return a.mediaQuery===t.mediaQuery})&&(this.printBreakpoints=function lr(o){var n;return null!==(n=o?.mediaQuery.startsWith(zn))&&void 0!==n&&n}(t)?[t].concat((0,_.Z)(this.printBreakpoints)):[].concat((0,_.Z)(this.printBreakpoints),[t]))}},{key:"clear",value:function(){this.printBreakpoints=[]}}]),o}(),wn=function(){var o=function(){function n(t,e,a){(0,f.Z)(this,n),this.matchMedia=t,this.breakpoints=e,this.hook=a,this._useFallbacks=!0,this._activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new ae.x,this.observeActivations()}return(0,y.Z)(n,[{key:"activatedAlias",get:function(){var e,a;return null!==(e=null===(a=this.activatedBreakpoints[0])||void 0===a?void 0:a.alias)&&void 0!==e?e:""}},{key:"activatedBreakpoints",get:function(){return(0,_.Z)(this._activatedBreakpoints)},set:function(e){this._activatedBreakpoints=(0,_.Z)(e)}},{key:"useFallbacks",set:function(e){this._useFallbacks=e}},{key:"onMediaChange",value:function(e){var a=this.findByQuery(e.mediaQuery);if(a){e=it(e,a);var s=this.activatedBreakpoints.indexOf(a);e.matches&&-1===s?(this._activatedBreakpoints.push(a),this._activatedBreakpoints.sort(xe),this.updateStyles()):!e.matches&&-1!==s&&(this._activatedBreakpoints.splice(s,1),this._activatedBreakpoints.sort(xe),this.updateStyles())}}},{key:"init",value:function(e,a,s,u){var l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];kr(this.updateMap,e,a,s),kr(this.clearMap,e,a,u),this.buildElementKeyMap(e,a),this.watchExtraTriggers(e,a,l)}},{key:"getValue",value:function(e,a,s){var u=this.elementMap.get(e);if(u){var l=void 0!==s?u.get(s):this.getActivatedValues(u,a);if(l)return l.get(a)}}},{key:"hasValue",value:function(e,a){var s=this.elementMap.get(e);if(s){var u=this.getActivatedValues(s,a);if(u)return void 0!==u.get(a)||!1}return!1}},{key:"setValue",value:function(e,a,s,u){var l=this.elementMap.get(e);if(l){var c,h=(null!==(c=l.get(u))&&void 0!==c?c:new Map).set(a,s);l.set(u,h),this.elementMap.set(e,l)}else l=(new Map).set(u,(new Map).set(a,s)),this.elementMap.set(e,l);var C=this.getValue(e,a);void 0!==C&&this.updateElement(e,a,C)}},{key:"trackValue",value:function(e,a){return this.subject.asObservable().pipe((0,Q.h)(function(s){return s.element===e&&s.key===a}))}},{key:"updateStyles",value:function(){var e=this;this.elementMap.forEach(function(a,s){var u=new Set(e.elementKeyMap.get(s)),l=e.getActivatedValues(a);l&&l.forEach(function(c,h){e.updateElement(s,h,c),u.delete(h)}),u.forEach(function(c){if(l=e.getActivatedValues(a,c)){var h=l.get(c);e.updateElement(s,c,h)}else e.clearElement(s,c)})})}},{key:"clearElement",value:function(e,a){var s=this.clearMap.get(e);if(s){var u=s.get(a);u&&(u(),this.subject.next({element:e,key:a,value:""}))}}},{key:"updateElement",value:function(e,a,s){var u=this.updateMap.get(e);if(u){var l=u.get(a);l&&(l(s),this.subject.next({element:e,key:a,value:s}))}}},{key:"releaseElement",value:function(e){var a=this.watcherMap.get(e);a&&(a.forEach(function(u){return u.unsubscribe()}),this.watcherMap.delete(e));var s=this.elementMap.get(e);s&&(s.forEach(function(u,l){return s.delete(l)}),this.elementMap.delete(e))}},{key:"triggerUpdate",value:function(e,a){var s=this,u=this.elementMap.get(e);if(u){var l=this.getActivatedValues(u,a);l&&(a?this.updateElement(e,a,l.get(a)):l.forEach(function(c,h){return s.updateElement(e,h,c)}))}}},{key:"buildElementKeyMap",value:function(e,a){var s=this.elementKeyMap.get(e);s||this.elementKeyMap.set(e,s=new Set),s.add(a)}},{key:"watchExtraTriggers",value:function(e,a,s){var u=this;if(s&&s.length){var l=this.watcherMap.get(e);if(l||this.watcherMap.set(e,l=new Map),!l.get(a)){var h=Y.T.apply(void 0,(0,_.Z)(s)).subscribe(function(){var C=u.getValue(e,a);u.updateElement(e,a,C)});l.set(a,h)}}}},{key:"findByQuery",value:function(e){return this.breakpoints.findByQuery(e)}},{key:"getActivatedValues",value:function(e,a){for(var s=0;s<this.activatedBreakpoints.length;s++){var l=e.get(this.activatedBreakpoints[s].alias);if(l&&(void 0===a||l.has(a)&&null!=l.get(a)))return l}if(this._useFallbacks){var c=e.get("");return void 0===a||c&&c.has(a)?c:void 0}}},{key:"observeActivations",value:function(){var e=this.breakpoints.items.map(function(a){return a.mediaQuery});this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(e)).pipe((0,te.b)(this.hook.interceptEvents(this)),(0,Q.h)(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(be),r.\u0275\u0275inject(Pn),r.\u0275\u0275inject(cn))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}();function kr(o,n,t,e){if(void 0!==e){var a,s=null!==(a=o.get(n))&&void 0!==a?a:new Map;s.set(t,e),o.set(n,s)}}var Qn=function(){var o=function(){function n(t,e,a,s){(0,f.Z)(this,n),this.elementRef=t,this.styleBuilder=e,this.styler=a,this.marshal=s,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new ae.x,this.styleCache=new Map}return(0,y.Z)(n,[{key:"parentElement",get:function(){return this.elementRef.nativeElement.parentElement}},{key:"nativeElement",get:function(){return this.elementRef.nativeElement}},{key:"activatedValue",get:function(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)},set:function(e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,this.marshal.activatedAlias)}},{key:"ngOnChanges",value:function(e){var a=this;Object.keys(e).forEach(function(s){if(-1!==a.inputs.indexOf(s)){var u=s.split(".").slice(1).join(".");a.setValue(e[s].currentValue,u)}})}},{key:"ngOnDestroy",value:function(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}},{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),e)}},{key:"addStyles",value:function(e,a){var s=this.styleBuilder,u=s.shouldCache,l=this.styleCache.get(e);(!l||!u)&&(l=s.buildStyles(e,a),u&&this.styleCache.set(e,l)),this.mru=(0,b.Z)({},l),this.applyStyleToElement(l),s.sideEffect(e,l,a)}},{key:"clearStyles",value:function(){var e=this;Object.keys(this.mru).forEach(function(a){e.mru[a]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}},{key:"triggerUpdate",value:function(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}},{key:"getFlexFlowDirection",value:function(e){var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e){var s=this.styler.getFlowDirection(e),u=(0,g.Z)(s,2),l=u[0];if(!u[1]&&a){var h=x(l);this.styler.applyStyleToElements(h,[e])}return l.trim()}return"row"}},{key:"hasWrap",value:function(e){return this.styler.hasWrap(e)}},{key:"applyStyleToElement",value:function(e,a){this.styler.applyStyleToElement(arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.nativeElement,e,a)}},{key:"setValue",value:function(e,a){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,a)}},{key:"updateWithValue",value:function(e){this.currentValue!==e&&(this.addStyles(e),this.currentValue=e)}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(de),r.\u0275\u0275directiveInject(J),r.\u0275\u0275directiveInject(wn))},o.\u0275dir=r.\u0275\u0275defineDirective({type:o,features:[r.\u0275\u0275NgOnChangesFeature]}),o}();function Ri(o){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"1",t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"1",e=[n,t,o],a=o.indexOf("calc");if(a>0){e[2]=Hi(o.substring(a).trim());var s=o.substr(0,a).trim().split(" ");2==s.length&&(e[0]=s[0],e[1]=s[1])}else if(0==a)e[2]=Hi(o.trim());else{var u=o.split(" ");e=3===u.length?u:[n,t,o]}return e}function Hi(o){return o.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}EventTarget;var Ti=S(60609),Qr=(S(35333),S(68951)),Sa=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(a,s,u,l,c,h,C){var T;return(0,f.Z)(this,e),(T=t.call(this,a,null,s,u)).ngClassInstance=C,T.DIRECTIVE_KEY="ngClass",T.ngClassInstance||(T.ngClassInstance=new P.NgClass(l,c,a,h)),T.init(),T.setValue("",""),T}return(0,y.Z)(e,[{key:"klass",set:function(s){this.ngClassInstance.klass=s,this.setValue(s,"")}},{key:"updateWithValue",value:function(s){this.ngClassInstance.ngClass=s,this.ngClassInstance.ngDoCheck()}},{key:"ngDoCheck",value:function(){this.ngClassInstance.ngDoCheck()}}]),e}(Qn);return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(J),r.\u0275\u0275directiveInject(wn),r.\u0275\u0275directiveInject(r.IterableDiffers),r.\u0275\u0275directiveInject(r.KeyValueDiffers),r.\u0275\u0275directiveInject(r.Renderer2),r.\u0275\u0275directiveInject(P.NgClass,10))},o.\u0275dir=r.\u0275\u0275defineDirective({type:o,inputs:{klass:["class","klass"]},features:[r.\u0275\u0275InheritDefinitionFeature]}),o}(),To=["ngClass","ngClass.xs","ngClass.sm","ngClass.md","ngClass.lg","ngClass.xl","ngClass.lt-sm","ngClass.lt-md","ngClass.lt-lg","ngClass.lt-xl","ngClass.gt-xs","ngClass.gt-sm","ngClass.gt-md","ngClass.gt-lg"],Io=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(){var a;return(0,f.Z)(this,e),(a=t.apply(this,arguments)).inputs=To,a}return(0,y.Z)(e)}(Sa);return o.\u0275fac=function(){var n;return function(e){return(n||(n=r.\u0275\u0275getInheritedFactory(o)))(e||o)}}(),o.\u0275dir=r.\u0275\u0275defineDirective({type:o,selectors:[["","ngClass",""],["","ngClass.xs",""],["","ngClass.sm",""],["","ngClass.md",""],["","ngClass.lg",""],["","ngClass.xl",""],["","ngClass.lt-sm",""],["","ngClass.lt-md",""],["","ngClass.lt-lg",""],["","ngClass.lt-xl",""],["","ngClass.gt-xs",""],["","ngClass.gt-sm",""],["","ngClass.gt-md",""],["","ngClass.gt-lg",""]],inputs:{ngClass:"ngClass","ngClass.xs":"ngClass.xs","ngClass.sm":"ngClass.sm","ngClass.md":"ngClass.md","ngClass.lg":"ngClass.lg","ngClass.xl":"ngClass.xl","ngClass.lt-sm":"ngClass.lt-sm","ngClass.lt-md":"ngClass.lt-md","ngClass.lt-lg":"ngClass.lt-lg","ngClass.lt-xl":"ngClass.lt-xl","ngClass.gt-xs":"ngClass.gt-xs","ngClass.gt-sm":"ngClass.gt-sm","ngClass.gt-md":"ngClass.gt-md","ngClass.gt-lg":"ngClass.gt-lg"},features:[r.\u0275\u0275InheritDefinitionFeature]}),o}(),k=(0,y.Z)(function o(n,t){var e=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];(0,f.Z)(this,o),this.key=n,this.value=t,this.key=e?n.replace(/['"]/g,"").trim():n.trim(),this.value=e?t.replace(/['"]/g,"").trim():t.trim(),this.value=this.value.replace(/;/,"")});function A(o){var n=typeof o;return"object"===n?o.constructor===Array?"array":o.constructor===Set?"set":"object":n}function me(o){var n=o.split(":"),t=(0,Ti.Z)(n),e=t[0],a=t.slice(1);return new k(e,a.join(":"))}function Pe(o,n){return n.key&&(o[n.key]=n.value),o}var Ve=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(a,s,u,l,c,h,C,T,N){var F,$;(0,f.Z)(this,e),($=t.call(this,a,null,s,u)).sanitizer=l,$.ngStyleInstance=C,$.DIRECTIVE_KEY="ngStyle",$.ngStyleInstance||($.ngStyleInstance=new P.NgStyle(a,c,h)),$.init();var se=null!==(F=$.nativeElement.getAttribute("style"))&&void 0!==F?F:"";return $.fallbackStyles=$.buildStyleMap(se),$.isServer=T&&(0,P.isPlatformServer)(N),$}return(0,y.Z)(e,[{key:"updateWithValue",value:function(s){var u=this.buildStyleMap(s);this.ngStyleInstance.ngStyle=(0,b.Z)((0,b.Z)({},this.fallbackStyles),u),this.isServer&&this.applyStyleToElement(u),this.ngStyleInstance.ngDoCheck()}},{key:"clearStyles",value:function(){this.ngStyleInstance.ngStyle=this.fallbackStyles,this.ngStyleInstance.ngDoCheck()}},{key:"buildStyleMap",value:function(s){var u=this,l=function(h){var C;return null!==(C=u.sanitizer.sanitize(r.SecurityContext.STYLE,h))&&void 0!==C?C:""};if(s)switch(A(s)){case"string":return Ge(function Z(o){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:";";return String(o).trim().split(n).map(function(t){return t.trim()}).filter(function(t){return""!==t})}(s),l);case"array":return Ge(s,l);default:return function ie(o,n){var t=[];return"set"===A(o)?o.forEach(function(e){return t.push(e)}):Object.keys(o).forEach(function(e){t.push("".concat(e,":").concat(o[e]))}),function X(o,n){return o.map(me).filter(function(e){return!!e}).map(function(a){return n&&(a.value=n(a.value)),a}).reduce(Pe,{})}(t,n)}(s,l)}return{}}},{key:"ngDoCheck",value:function(){this.ngStyleInstance.ngDoCheck()}}]),e}(Qn);return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(J),r.\u0275\u0275directiveInject(wn),r.\u0275\u0275directiveInject(B.DomSanitizer),r.\u0275\u0275directiveInject(r.KeyValueDiffers),r.\u0275\u0275directiveInject(r.Renderer2),r.\u0275\u0275directiveInject(P.NgStyle,10),r.\u0275\u0275directiveInject(et),r.\u0275\u0275directiveInject(r.PLATFORM_ID))},o.\u0275dir=r.\u0275\u0275defineDirective({type:o,features:[r.\u0275\u0275InheritDefinitionFeature]}),o}(),Me=["ngStyle","ngStyle.xs","ngStyle.sm","ngStyle.md","ngStyle.lg","ngStyle.xl","ngStyle.lt-sm","ngStyle.lt-md","ngStyle.lt-lg","ngStyle.lt-xl","ngStyle.gt-xs","ngStyle.gt-sm","ngStyle.gt-md","ngStyle.gt-lg"],$e=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(){var a;return(0,f.Z)(this,e),(a=t.apply(this,arguments)).inputs=Me,a}return(0,y.Z)(e)}(Ve);return o.\u0275fac=function(){var n;return function(e){return(n||(n=r.\u0275\u0275getInheritedFactory(o)))(e||o)}}(),o.\u0275dir=r.\u0275\u0275defineDirective({type:o,selectors:[["","ngStyle",""],["","ngStyle.xs",""],["","ngStyle.sm",""],["","ngStyle.md",""],["","ngStyle.lg",""],["","ngStyle.xl",""],["","ngStyle.lt-sm",""],["","ngStyle.lt-md",""],["","ngStyle.lt-lg",""],["","ngStyle.lt-xl",""],["","ngStyle.gt-xs",""],["","ngStyle.gt-sm",""],["","ngStyle.gt-md",""],["","ngStyle.gt-lg",""]],inputs:{ngStyle:"ngStyle","ngStyle.xs":"ngStyle.xs","ngStyle.sm":"ngStyle.sm","ngStyle.md":"ngStyle.md","ngStyle.lg":"ngStyle.lg","ngStyle.xl":"ngStyle.xl","ngStyle.lt-sm":"ngStyle.lt-sm","ngStyle.lt-md":"ngStyle.lt-md","ngStyle.lt-lg":"ngStyle.lt-lg","ngStyle.lt-xl":"ngStyle.lt-xl","ngStyle.gt-xs":"ngStyle.gt-xs","ngStyle.gt-sm":"ngStyle.gt-sm","ngStyle.gt-md":"ngStyle.gt-md","ngStyle.gt-lg":"ngStyle.gt-lg"},features:[r.\u0275\u0275InheritDefinitionFeature]}),o}();function Ge(o,n){return o.map(me).filter(function(e){return!!e}).map(function(a){return n&&(a.value=n(a.value)),a}).reduce(Pe,{})}var nt=function(){var o=(0,y.Z)(function n(){(0,f.Z)(this,n)});return o.\u0275fac=function(t){return new(t||o)},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({imports:[rt]}),o}(),d=S(77797),gt=S(35488),Et=S(4089),Ee=S(20265),ze=S(43068),Ke=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(){return(0,f.Z)(this,e),t.apply(this,arguments)}return(0,y.Z)(e,[{key:"buildStyles",value:function(s,u){var l=u.display,c=x(s);return(0,b.Z)((0,b.Z)({},c),{},{display:"none"===l?l:c.display})}}]),e}(de);return o.\u0275fac=function(){var n;return function(e){return(n||(n=r.\u0275\u0275getInheritedFactory(o)))(e||o)}}(),o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),Xe=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"],At=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(a,s,u,l,c){var h;return(0,f.Z)(this,e),(h=t.call(this,a,u,s,l))._config=c,h.DIRECTIVE_KEY="layout",h.init(),h}return(0,y.Z)(e,[{key:"updateWithValue",value:function(s){var u,c=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=null!==(u=jt.get(c))&&void 0!==u?u:new Map,jt.set(c,this.styleCache),this.currentValue!==s&&(this.addStyles(s,{display:c}),this.currentValue=s)}}]),e}(Qn);return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(J),r.\u0275\u0275directiveInject(Ke),r.\u0275\u0275directiveInject(wn),r.\u0275\u0275directiveInject(vt))},o.\u0275dir=r.\u0275\u0275defineDirective({type:o,features:[r.\u0275\u0275InheritDefinitionFeature]}),o}(),Wt=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(){var a;return(0,f.Z)(this,e),(a=t.apply(this,arguments)).inputs=Xe,a}return(0,y.Z)(e)}(At);return o.\u0275fac=function(){var n;return function(e){return(n||(n=r.\u0275\u0275getInheritedFactory(o)))(e||o)}}(),o.\u0275dir=r.\u0275\u0275defineDirective({type:o,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[r.\u0275\u0275InheritDefinitionFeature]}),o}(),jt=new Map,Jt=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(a){var s;return(0,f.Z)(this,e),(s=t.call(this)).layoutConfig=a,s}return(0,y.Z)(e,[{key:"buildStyles",value:function(s,u){var l=s.split(" "),c=(0,Ti.Z)(l),h=c[0],C=c[1],N=c.slice(2).join(" "),F=u.direction.indexOf("column")>-1?"column":"row",$=E(F)?"max-width":"max-height",se=E(F)?"min-width":"min-height",ue=String(N).indexOf("calc")>-1,ge=ue||"auto"===N,Se=String(N).indexOf("%")>-1&&!ue,we=String(N).indexOf("px")>-1||String(N).indexOf("rem")>-1||String(N).indexOf("em")>-1||String(N).indexOf("vw")>-1||String(N).indexOf("vh")>-1,He=ue||we;C="0"==C?0:C;var ot=!(h="0"==h?0:h)&&!C,dt={},Ot={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(N||""){case"":N="row"===F?"0%":!1!==this.layoutConfig.useColumnBasisZero?"0.000000001px":"auto";break;case"initial":case"nogrow":h=0,N="auto";break;case"grow":N="100%";break;case"noshrink":C=0,N="auto";break;case"auto":break;case"none":h=0,C=0,N="auto";break;default:!He&&!Se&&!isNaN(N)&&(N+="%"),"0%"===N&&(He=!0),"0px"===N&&(N="0%"),dt=D(Ot,ue?{"flex-grow":h,"flex-shrink":C,"flex-basis":He?N:"100%"}:{flex:"".concat(h," ").concat(C," ").concat(He?N:"100%")})}return dt.flex||dt["flex-grow"]||(dt=D(Ot,ue?{"flex-grow":h,"flex-shrink":C,"flex-basis":N}:{flex:"".concat(h," ").concat(C," ").concat(N)})),"0%"!==N&&"0px"!==N&&"0.000000001px"!==N&&"auto"!==N&&(dt[se]=ot||He&&h?N:null,dt[$]=ot||!ge&&C?N:null),dt[se]||dt[$]?u.hasWrap&&(dt[ue?"flex-basis":"flex"]=dt[$]?ue?dt[$]:"".concat(h," ").concat(C," ").concat(dt[$]):ue?dt[se]:"".concat(h," ").concat(C," ").concat(dt[se])):dt=D(Ot,ue?{"flex-grow":h,"flex-shrink":C,"flex-basis":N}:{flex:"".concat(h," ").concat(C," ").concat(N)}),D(dt,{"box-sizing":"border-box"})}}]),e}(de);return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(vt))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),vn=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"],Yn=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(a,s,u,l,c){var h;return(0,f.Z)(this,e),(h=t.call(this,a,l,s,c)).layoutConfig=u,h.marshal=c,h.DIRECTIVE_KEY="flex",h.direction=void 0,h.wrap=void 0,h.flexGrow="1",h.flexShrink="1",h.init(),h}return(0,y.Z)(e,[{key:"shrink",get:function(){return this.flexShrink},set:function(s){this.flexShrink=s||"1",this.triggerReflow()}},{key:"grow",get:function(){return this.flexGrow},set:function(s){this.flexGrow=s||"1",this.triggerReflow()}},{key:"ngOnInit",value:function(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe((0,Qr.R)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe((0,Qr.R)(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}},{key:"onLayoutChange",value:function(s){var l=s.value.split(" ");this.direction=l[0],this.wrap=void 0!==l[1]&&"wrap"===l[1],this.triggerUpdate()}},{key:"updateWithValue",value:function(s){void 0===this.direction&&(this.direction=this.getFlexFlowDirection(this.parentElement,!1!==this.layoutConfig.addFlexToParent)),void 0===this.wrap&&(this.wrap=this.hasWrap(this.parentElement));var l=this.direction,c=l.startsWith("row"),h=this.wrap;c&&h?this.styleCache=Mr:c&&!h?this.styleCache=cr:!c&&h?this.styleCache=Jr:!c&&!h&&(this.styleCache=ai);var T=Ri(String(s).replace(";",""),this.flexGrow,this.flexShrink);this.addStyles(T.join(" "),{direction:l,hasWrap:h})}},{key:"triggerReflow",value:function(){var s=this.activatedValue;if(void 0!==s){var u=Ri(s+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,u.join(" "))}}}]),e}(Qn);return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(J),r.\u0275\u0275directiveInject(vt),r.\u0275\u0275directiveInject(Jt),r.\u0275\u0275directiveInject(wn))},o.\u0275dir=r.\u0275\u0275defineDirective({type:o,inputs:{shrink:["fxShrink","shrink"],grow:["fxGrow","grow"]},features:[r.\u0275\u0275InheritDefinitionFeature]}),o}(),In=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(){var a;return(0,f.Z)(this,e),(a=t.apply(this,arguments)).inputs=vn,a}return(0,y.Z)(e)}(Yn);return o.\u0275fac=function(){var n;return function(e){return(n||(n=r.\u0275\u0275getInheritedFactory(o)))(e||o)}}(),o.\u0275dir=r.\u0275\u0275defineDirective({type:o,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},features:[r.\u0275\u0275InheritDefinitionFeature]}),o}(),cr=new Map,ai=new Map,Mr=new Map,Jr=new Map,A_={margin:0,width:"100%",height:"100%","min-width":"100%","min-height":"100%"},k_=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(){return(0,f.Z)(this,e),t.apply(this,arguments)}return(0,y.Z)(e,[{key:"buildStyles",value:function(s){return A_}}]),e}(de);return o.\u0275fac=function(){var n;return function(e){return(n||(n=r.\u0275\u0275getInheritedFactory(o)))(e||o)}}(),o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),Mo=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(a,s,u,l){var c;return(0,f.Z)(this,e),(c=t.call(this,a,u,s,l)).styleCache=R_,c.addStyles(""),c}return(0,y.Z)(e)}(Qn);return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(J),r.\u0275\u0275directiveInject(k_),r.\u0275\u0275directiveInject(wn))},o.\u0275dir=r.\u0275\u0275defineDirective({type:o,selectors:[["","fxFill",""],["","fxFlexFill",""]],features:[r.\u0275\u0275InheritDefinitionFeature]}),o}(),R_=new Map,Gs=function(){var o=(0,y.Z)(function n(){(0,f.Z)(this,n)});return o.\u0275fac=function(t){return new(t||o)},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({imports:[rt,ze.BidiModule]}),o}(),qr=function(){var o=(0,y.Z)(function n(){(0,f.Z)(this,n)});return o.\u0275fac=function(t){return new(t||o)},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({imports:[rt]}),o}(),oi=function(){var o=function(){function n(t,e){(0,f.Z)(this,n),(0,P.isPlatformServer)(e)&&!t&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}return(0,y.Z)(n,null,[{key:"withConfig",value:function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return{ngModule:n,providers:e.serverLoaded?[{provide:vt,useValue:(0,b.Z)((0,b.Z)({},Qe),e)},{provide:je,useValue:a,multi:!0},{provide:et,useValue:!0}]:[{provide:vt,useValue:(0,b.Z)((0,b.Z)({},Qe),e)},{provide:je,useValue:a,multi:!0}]}}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(et),r.\u0275\u0275inject(r.PLATFORM_ID))},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({imports:[Gs,nt,qr,Gs,nt,qr]}),o}();function qi(o,n){1&o&&r.\u0275\u0275element(0,"div",9)}function ms(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"span",10),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&o){var t=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(t.description)}}function Ys(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"section",11),r.\u0275\u0275element(1,"ngx-json-viewer",12),r.\u0275\u0275elementEnd()),2&o){var t=r.\u0275\u0275nextContext().$implicit,e=r.\u0275\u0275nextContext();r.\u0275\u0275advance(1),r.\u0275\u0275property("json",t.value)("expanded",e.expanded)("depth",e.depth)("_currentDepth",e._currentDepth+1)}}var Ki=function(n){return["segment",n]},Ul=function(n,t){return{"segment-main":!0,expandable:n,expanded:t}};function n0(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"section",2)(1,"section",3),r.\u0275\u0275listener("click",function(){var l=r.\u0275\u0275restoreView(t).$implicit,c=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(c.toggle(l))}),r.\u0275\u0275template(2,qi,1,0,"div",4),r.\u0275\u0275elementStart(3,"span",5),r.\u0275\u0275text(4),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(5,"span",6),r.\u0275\u0275text(6,": "),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(7,ms,2,1,"span",7),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(8,Ys,2,4,"section",8),r.\u0275\u0275elementEnd()}if(2&o){var e=n.$implicit,a=r.\u0275\u0275nextContext();r.\u0275\u0275property("ngClass",r.\u0275\u0275pureFunction1(6,Ki,"segment-type-"+e.type)),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngClass",r.\u0275\u0275pureFunction2(8,Ul,a.isExpandable(e),e.expanded)),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",a.isExpandable(e)),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate(e.key),r.\u0275\u0275advance(3),r.\u0275\u0275property("ngIf",!e.expanded||!a.isExpandable(e)),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",e.expanded&&a.isExpandable(e))}}var r0=function(){var o=function(){function n(){(0,f.Z)(this,n),this.expanded=!0,this.depth=-1,this._currentDepth=0,this.segments=[]}return(0,y.Z)(n,[{key:"ngOnChanges",value:function(){var e=this;this.segments=[],this.json=this.decycle(this.json),"object"==typeof this.json?Object.keys(this.json).forEach(function(a){e.segments.push(e.parseKeyValue(a,e.json[a]))}):this.segments.push(this.parseKeyValue("(".concat(typeof this.json,")"),this.json))}},{key:"isExpandable",value:function(e){return"object"===e.type||"array"===e.type}},{key:"toggle",value:function(e){this.isExpandable(e)&&(e.expanded=!e.expanded)}},{key:"parseKeyValue",value:function(e,a){var s={key:e,value:a,type:void 0,description:""+a,expanded:this.isExpanded()};switch(typeof s.value){case"number":s.type="number";break;case"boolean":s.type="boolean";break;case"function":s.type="function";break;case"string":s.type="string",s.description='"'+s.value+'"';break;case"undefined":s.type="undefined",s.description="undefined";break;case"object":null===s.value?(s.type="null",s.description="null"):Array.isArray(s.value)?(s.type="array",s.description="Array["+s.value.length+"] "+JSON.stringify(s.value)):s.value instanceof Date?s.type="date":(s.type="object",s.description="Object "+JSON.stringify(s.value))}return s}},{key:"isExpanded",value:function(){return this.expanded&&!(this.depth>-1&&this._currentDepth>=this.depth)}},{key:"decycle",value:function(e){var a=new WeakMap;return function s(u,l){var c,h;return"object"!=typeof u||null===u||u instanceof Boolean||u instanceof Date||u instanceof Number||u instanceof RegExp||u instanceof String?u:void 0!==(c=a.get(u))?{$ref:c}:(a.set(u,l),Array.isArray(u)?(h=[],u.forEach(function(C,T){h[T]=s(C,l+"["+T+"]")})):(h={},Object.keys(u).forEach(function(C){h[C]=s(u[C],l+"["+JSON.stringify(C)+"]")})),h)}(e,"$")}}]),n}();return o.\u0275fac=function(t){return new(t||o)},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["ngx-json-viewer"]],inputs:{json:"json",expanded:"expanded",depth:"depth",_currentDepth:"_currentDepth"},features:[r.\u0275\u0275NgOnChangesFeature],decls:2,vars:1,consts:[[1,"ngx-json-viewer"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],[3,"ngClass","click"],["class","toggler",4,"ngIf"],[1,"segment-key"],[1,"segment-separator"],["class","segment-value",4,"ngIf"],["class","children",4,"ngIf"],[1,"toggler"],[1,"segment-value"],[1,"children"],[3,"json","expanded","depth","_currentDepth"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"section",0),r.\u0275\u0275template(1,n0,9,11,"section",1),r.\u0275\u0275elementEnd()),2&t&&(r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",e.segments))},dependencies:[P.NgClass,P.NgForOf,P.NgIf,o],styles:['@charset "UTF-8";.ngx-json-viewer[_ngcontent-%COMP%]{font-family:var(--ngx-json-font-family, monospace);font-size:var(--ngx-json-font-size, 1em);width:100%;height:100%;overflow:hidden;position:relative}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%]{padding:2px;margin:1px 1px 1px 12px}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%]{word-wrap:break-word}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .toggler[_ngcontent-%COMP%]{position:absolute;margin-left:-14px;margin-top:3px;font-size:.8em;line-height:1.2em;vertical-align:middle;color:var(--ngx-json-toggler, #787878)}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .toggler[_ngcontent-%COMP%]:after{display:inline-block;content:"\\25ba";transition:transform .1s ease-in}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-key[_ngcontent-%COMP%]{color:var(--ngx-json-key, #4E187C)}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-separator[_ngcontent-%COMP%]{color:var(--ngx-json-separator, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-value, #000)}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .children[_ngcontent-%COMP%]{margin-left:12px}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-string[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-string, #FF6B6B)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-number[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-number, #009688)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-boolean[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-boolean, #B938A4)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-date[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-date, #05668D)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-array[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-array, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-object[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-object, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-function[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-function, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-null[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-null, #fff)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-undefined, #fff)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-null[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{background-color:var(--ngx-json-null-bg, red)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-key[_ngcontent-%COMP%]{color:var(--ngx-json-undefined-key, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{background-color:var(--ngx-json-undefined-key, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-object[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%], .ngx-json-viewer[_ngcontent-%COMP%] .segment-type-array[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%]{white-space:nowrap}.ngx-json-viewer[_ngcontent-%COMP%] .expanded[_ngcontent-%COMP%] > .toggler[_ngcontent-%COMP%]:after{transform:rotate(90deg)}.ngx-json-viewer[_ngcontent-%COMP%] .expandable[_ngcontent-%COMP%], .ngx-json-viewer[_ngcontent-%COMP%] .expandable[_ngcontent-%COMP%] > .toggler[_ngcontent-%COMP%]{cursor:pointer}']}),o}(),hs=function(){var o=(0,y.Z)(function n(){(0,f.Z)(this,n)});return o.\u0275fac=function(t){return new(t||o)},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({imports:[P.CommonModule]}),o}(),qe=S(81803);function a0(o,n,t,e,a,s,u){try{var l=o[s](u),c=l.value}catch(h){return void t(h)}l.done?n(c):Promise.resolve(c).then(e,a)}function Zt(o){return function(){var n=this,t=arguments;return new Promise(function(e,a){var s=o.apply(n,t);function u(c){a0(s,e,a,u,l,"next",c)}function l(c){a0(s,e,a,u,l,"throw",c)}u(void 0)})}}var Js,Bt=S(93896),Ce=S(50635),x2=new Uint8Array(16);function zl(){if(!Js&&!(Js=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Js(x2)}const o0=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var gi=[],Gl=0;Gl<256;++Gl)gi.push((Gl+256).toString(16).substr(1));const C2=function b2(o){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=(gi[o[n+0]]+gi[o[n+1]]+gi[o[n+2]]+gi[o[n+3]]+"-"+gi[o[n+4]]+gi[o[n+5]]+"-"+gi[o[n+6]]+gi[o[n+7]]+"-"+gi[o[n+8]]+gi[o[n+9]]+"-"+gi[o[n+10]]+gi[o[n+11]]+gi[o[n+12]]+gi[o[n+13]]+gi[o[n+14]]+gi[o[n+15]]).toLowerCase();if(!function s0(o){return"string"==typeof o&&o0.test(o)}(t))throw TypeError("Stringified UUID is invalid");return t},vr=function xo(o,n,t){var e=(o=o||{}).random||(o.rng||zl)();if(e[6]=15&e[6]|64,e[8]=63&e[8]|128,n){t=t||0;for(var a=0;a<16;++a)n[t+a]=e[a];return n}return C2(e)};var dr=S(39691),Rr=S(76234),Wi=S(87580),si=S(53158),Bi=S(89196),An=S(59295),Bo=S(49525),Pa=S(10538),Zi=S(63853),$a=S(25474),Le=S(10745),Li=S(54987),Hl=Array.isArray,ma=S(93945);function Uu(){for(var o=arguments.length,n=new Array(o),t=0;t<o;t++)n[t]=arguments[t];return n=function ql(o){return 1===o.length&&Hl(o[0])?o[0]:o}(n),1===n.length?(0,Li.Xf)(n[0]):new W.y(function Sp(o){return function(n){for(var t=[],e=function(u){t.push((0,Li.Xf)(o[u]).subscribe((0,ma.x)(n,function(l){if(t){for(var c=0;c<t.length;c++)c!==u&&t[c].unsubscribe();t=null}n.next(l)})))},a=0;t&&!n.closed&&a<o.length;a++)e(a)}}(n))}var eu=S(96936),fn=function(){return(fn=fn||{})[fn.EntitiesOnly=0]="EntitiesOnly",fn[fn.Both=1]="Both",fn[fn.None=2]="None",fn}();function Ir(o){return function(t,e){var a={ids:(0,_.Z)(e.ids),entities:(0,b.Z)({},e.entities)},s=o(t,a);return s===fn.Both?Object.assign({},e,a):s===fn.EntitiesOnly?(0,b.Z)((0,b.Z)({},e),{},{entities:a.entities}):e}}function Ua(o,n){var t=n(o);return(0,r.isDevMode)()&&void 0===t&&console.warn("@ngrx/entity: The entity passed to the `selectId` implementation returned undefined.","You should probably provide your own `selectId` implementation.","The entity that was passed:",o,"The `selectId` implementation:",n.toString()),t}function bo(o){function n(ue,ge){var Se=Ua(ue,o);return Se in ge.entities?fn.None:(ge.ids.push(Se),ge.entities[Se]=ue,fn.Both)}function t(ue,ge){var He,Se=!1,we=(0,ee.Z)(ue);try{for(we.s();!(He=we.n()).done;)Se=n(He.value,ge)!==fn.None||Se}catch(dt){we.e(dt)}finally{we.f()}return Se?fn.Both:fn.None}function a(ue,ge){var Se=Ua(ue,o);return Se in ge.entities?(ge.entities[Se]=ue,fn.EntitiesOnly):(ge.ids.push(Se),ge.entities[Se]=ue,fn.Both)}function l(ue,ge){var we=(ue instanceof Array?ue:ge.ids.filter(function(He){return ue(ge.entities[He])})).filter(function(He){return He in ge.entities}).map(function(He){return delete ge.entities[He]}).length>0;return we&&(ge.ids=ge.ids.filter(function(He){return He in ge.entities})),we?fn.Both:fn.None}function C(ue,ge){return T([ue],ge)}function T(ue,ge){var Se={};if((ue=ue.filter(function(ot){return ot.id in ge.entities})).length>0){var He=ue.filter(function(ot){return function h(ue,ge,Se){var He=Object.assign({},Se.entities[ge.id],ge.changes),ot=Ua(He,o),dt=ot!==ge.id;return dt&&(ue[ge.id]=ot,delete Se.entities[ge.id]),Se.entities[ot]=He,dt}(Se,ot,ge)}).length>0;return He?(ge.ids=ge.ids.map(function(ot){return Se[ot]||ot}),fn.Both):fn.EntitiesOnly}return fn.None}function se(ue,ge){var ot,Se=[],we=[],He=(0,ee.Z)(ue);try{for(He.s();!(ot=He.n()).done;){var dt=ot.value,Ot=Ua(dt,o);Ot in ge.entities?we.push({id:Ot,changes:dt}):Se.push(dt)}}catch($t){He.e($t)}finally{He.f()}var pt=T(we,ge),Lt=t(Se,ge);switch(!0){case Lt===fn.None&&pt===fn.None:return fn.None;case Lt===fn.Both||pt===fn.Both:return fn.Both;default:return fn.EntitiesOnly}}return{removeAll:function c(ue){return Object.assign({},ue,{ids:[],entities:{}})},addOne:Ir(n),addMany:Ir(t),setAll:Ir(function e(ue,ge){return ge.ids=[],ge.entities={},t(ue,ge),fn.Both}),setOne:Ir(a),setMany:Ir(function s(ue,ge){var Se=ue.map(function(we){return a(we,ge)});switch(!0){case Se.some(function(we){return we===fn.Both}):return fn.Both;case Se.some(function(we){return we===fn.EntitiesOnly}):return fn.EntitiesOnly;default:return fn.None}}),updateOne:Ir(C),updateMany:Ir(T),upsertOne:Ir(function $(ue,ge){return se([ue],ge)}),upsertMany:Ir(se),removeOne:Ir(function u(ue,ge){return l([ue],ge)}),removeMany:Ir(l),map:Ir(function N(ue,ge){return T(ge.ids.reduce(function(He,ot){var dt=ue(ge.entities[ot]);return dt!==ge.entities[ot]&&He.push({id:ot,changes:dt}),He},[]).filter(function(He){return He.id in ge.entities}),ge)}),mapOne:Ir(function F(ue,ge){var we=ue.id,He=ge.entities[we];return He?C({id:we,changes:(0,ue.map)(He)},ge):fn.None})}}function c0(){var o,n,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e={selectId:null!==(o=t.selectId)&&void 0!==o?o:function(h){return h.id},sortComparer:null!==(n=t.sortComparer)&&void 0!==n&&n},a=e.selectId,s=e.sortComparer,u=function tu(){return{getInitialState:function o(){return Object.assign({ids:[],entities:{}},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}}}(),l=function Aa(){return{getSelectors:function o(n){var t=function(l){return l.ids},e=function(l){return l.entities},a=(0,Bt.P1)(t,e,function(u,l){return u.map(function(c){return l[c]})}),s=(0,Bt.P1)(t,function(u){return u.length});return n?{selectIds:(0,Bt.P1)(n,t),selectEntities:(0,Bt.P1)(n,e),selectAll:(0,Bt.P1)(n,a),selectTotal:(0,Bt.P1)(n,s)}:{selectIds:t,selectEntities:e,selectAll:a,selectTotal:s}}}}(),c=s?function Zo(o,n){var t=bo(o);function u(we,He){return l([we],He)}function l(we,He){var ot=we.filter(function(dt){return!(Ua(dt,o)in He.entities)});return 0===ot.length?fn.None:(Se(ot,He),fn.Both)}function h(we,He){var ot=Ua(we,o);return ot in He.entities?(He.ids=He.ids.filter(function(dt){return dt!==ot}),Se([we],He),fn.Both):u(we,He)}function T(we,He){return F([we],He)}function F(we,He){var ot=[],dt=we.filter(function(Lt){return function N(we,He,ot){if(!(He.id in ot.entities))return!1;var Ot=Object.assign({},ot.entities[He.id],He.changes),pt=Ua(Ot,o);return delete ot.entities[He.id],we.push(Ot),pt!==He.id}(ot,Lt,He)}).length>0;if(0===ot.length)return fn.None;var Ot=He.ids,pt=[];return He.ids=He.ids.filter(function(Lt,$t){return Lt in He.entities||(pt.push($t),!1)}),Se(ot,He),!dt&&pt.every(function(Lt){return He.ids[Lt]===Ot[Lt]})?fn.EntitiesOnly:fn.Both}function ge(we,He){var pt,ot=[],dt=[],Ot=(0,ee.Z)(we);try{for(Ot.s();!(pt=Ot.n()).done;){var Lt=pt.value,$t=Ua(Lt,o);$t in He.entities?dt.push({id:$t,changes:Lt}):ot.push(Lt)}}catch(Ut){Ot.e(Ut)}finally{Ot.f()}var tn=F(dt,He),Gt=l(ot,He);switch(!0){case Gt===fn.None&&tn===fn.None:return fn.None;case Gt===fn.Both||tn===fn.Both:return fn.Both;default:return fn.EntitiesOnly}}function Se(we,He){we.sort(n);for(var ot=[],dt=0,Ot=0;dt<we.length&&Ot<He.ids.length;){var pt=we[dt],Lt=Ua(pt,o),$t=He.ids[Ot];n(pt,He.entities[$t])<=0?(ot.push(Lt),dt++):(ot.push($t),Ot++)}He.ids=ot.concat(dt<we.length?we.slice(dt).map(o):He.ids.slice(Ot)),we.forEach(function(Gt,Ut){He.entities[o(Gt)]=Gt})}return{removeOne:t.removeOne,removeMany:t.removeMany,removeAll:t.removeAll,addOne:Ir(u),updateOne:Ir(T),upsertOne:Ir(function ue(we,He){return ge([we],He)}),setAll:Ir(function c(we,He){return He.entities={},He.ids=[],l(we,He),fn.Both}),setOne:Ir(h),setMany:Ir(function C(we,He){var ot=we.map(function(dt){return h(dt,He)});switch(!0){case ot.some(function(dt){return dt===fn.Both}):return fn.Both;case ot.some(function(dt){return dt===fn.EntitiesOnly}):return fn.EntitiesOnly;default:return fn.None}}),addMany:Ir(l),updateMany:Ir(F),upsertMany:Ir(ge),map:Ir(function $(we,He){return F(He.ids.reduce(function(dt,Ot){var pt=we(He.entities[Ot]);return pt!==He.entities[Ot]&&dt.push({id:Ot,changes:pt}),dt},[]),He)}),mapOne:Ir(function se(we,He){var dt=we.id,Ot=He.entities[dt];return Ot?T({id:dt,changes:(0,we.map)(Ot)},He):fn.None})}}(a,s):bo(a);return(0,b.Z)((0,b.Z)((0,b.Z)({selectId:a,sortComparer:s},u),l),c)}var d0=S(90023),zu=S(20591),p0=S(92971),Lo=function(){function o(n,t,e){(0,f.Z)(this,o),this.kind=n,this.value=t,this.error=e,this.hasValue="N"===n}return(0,y.Z)(o,[{key:"observe",value:function(t){return Pp(this,t)}},{key:"do",value:function(t,e,a){var s=this.kind,u=this.value,l=this.error;return"N"===s?t?.(u):"E"===s?e?.(l):a?.()}},{key:"accept",value:function(t,e,a){var s;return(0,p0.m)(null===(s=t)||void 0===s?void 0:s.next)?this.observe(t):this.do(t,e,a)}},{key:"toObservable",value:function(){var t=this.kind,a=this.error,s="N"===t?(0,Le.of)(this.value):"E"===t?(0,$a._)(function(){return a}):"C"===t?zu.E:0;if(!s)throw new TypeError("Unexpected notification kind ".concat(t));return s}}],[{key:"createNext",value:function(t){return new o("N",t)}},{key:"createError",value:function(t){return new o("E",void 0,t)}},{key:"createComplete",value:function(){return o.completeNotification}}]),o}();function Pp(o,n){var t,e,a,s=o.kind,u=o.value,l=o.error;if("string"!=typeof s)throw new TypeError('Invalid notification, missing "kind"');"N"===s?null===(t=n.next)||void 0===t||t.call(n,u):"E"===s?null===(e=n.error)||void 0===e||e.call(n,l):null===(a=n.complete)||void 0===a||a.call(n)}Lo.completeNotification=new Lo("C");var gs=S(41944);function Wl(o,n,t,e){return(0,gs.e)(function(a,s){var u;n&&"function"!=typeof n?(t=n.duration,u=n.element,e=n.connector):u=n;var l=new Map,c=function(se){l.forEach(se),se(s)},h=function(se){return c(function(ue){return ue.error(se)})},C=0,T=!1,N=new ma.Q(s,function($){try{var se=o($),ue=l.get(se);if(!ue){l.set(se,ue=e?e():new ae.x);var ge=function F($,se){var ue=new W.y(function(ge){C++;var Se=se.subscribe(ge);return function(){Se.unsubscribe(),0==--C&&T&&N.unsubscribe()}});return ue.key=$,ue}(se,ue);if(s.next(ge),t){var Se=(0,ma.x)(ue,function(){ue.complete(),Se?.unsubscribe()},void 0,void 0,function(){return l.delete(se)});N.add((0,Li.Xf)(t(ge)).subscribe(Se))}}ue.next(u?u($):$)}catch(we){h(we)}},function(){return c(function($){return $.complete()})},h,function(){return l.clear()},function(){return T=!0,0===C});a.subscribe(N)})}function Gu(o,n){return n?function(t){return t.pipe(Gu(function(e,a){return(0,Li.Xf)(o(e,a)).pipe((0,Ce.U)(function(s,u){return n(e,s,a,u)}))}))}:(0,gs.e)(function(t,e){var a=0,s=null,u=!1;t.subscribe((0,ma.x)(e,function(l){s||(s=(0,ma.x)(e,void 0,function(){s=null,u&&e.complete()}),(0,Li.Xf)(o(l,a++)).subscribe(s))},function(){u=!0,!s&&e.complete()}))})}var Xl={dispatch:!0,functional:!1,useEffectsErrorHandler:!0},qu="__@ngrx/effects_create__";function vi(o){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.functional?o:o(),e=(0,b.Z)((0,b.Z)({},Xl),n);return Object.defineProperty(t,qu,{value:e}),t}function nu(o){return Object.getPrototypeOf(o)}function Co(o){return"function"==typeof o}function Wu(o){return o.filter(Co)}function m0(o,n,t){var e=nu(o).constructor.name,a=function za(o){return function Ap(o){return Object.getOwnPropertyNames(o).filter(function(e){return!(!o[e]||!o[e].hasOwnProperty(qu))&&o[e][qu].hasOwnProperty("dispatch")}).map(function(e){return(0,b.Z)({propertyName:e},o[e][qu])})}(o)}(o).map(function(s){var u=s.propertyName,l=s.dispatch,c=s.useEffectsErrorHandler,h="function"==typeof o[u]?o[u]():o[u],C=c?t(h,n):h;if(!1===l)return C.pipe((0,d0.l)());var T=C.pipe(function f0(){return(0,gs.e)(function(o,n){o.subscribe((0,ma.x)(n,function(t){n.next(Lo.createNext(t))},function(){n.next(Lo.createComplete()),n.complete()},function(t){n.next(Lo.createError(t)),n.complete()}))})}());return T.pipe((0,Ce.U)(function(N){return{effect:o[u],notification:N,propertyName:u,sourceName:e,sourceInstance:o}}))});return Y.T.apply(void 0,(0,_.Z)(a))}function zr(o,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10;return o.pipe((0,si.K)(function(e){return n&&n.handleError(e),t<=1?o:zr(o,n,t-1)}))}var to=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(a){var s;return(0,f.Z)(this,e),s=t.call(this),a&&(s.source=a),s}return(0,y.Z)(e,[{key:"lift",value:function(s){var u=new e;return u.source=this,u.operator=s,u}}]),e}(W.y);return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Bt.Y$))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}();function Ga(){for(var o=arguments.length,n=new Array(o),t=0;t<o;t++)n[t]=arguments[t];return(0,Q.h)(function(e){return n.some(function(a){return"string"==typeof a?a===e.type:a.type===e.type})})}var Xu=new r.InjectionToken("@ngrx/effects Internal Root Guard"),ji=new r.InjectionToken("@ngrx/effects User Provided Effects"),no=new r.InjectionToken("@ngrx/effects Internal Root Effects"),ui=new r.InjectionToken("@ngrx/effects Internal Root Effects Instances"),wi=new r.InjectionToken("@ngrx/effects Internal Feature Effects"),Si=new r.InjectionToken("@ngrx/effects Internal Feature Effects Instance Groups"),Yl=new r.InjectionToken("@ngrx/effects Effects Error Handler",{providedIn:"root",factory:function(){return zr}}),Xi="@ngrx/effects/init";(0,Bt.PH)(Xi);function Op(o){return Qu(o,"ngrxOnInitEffects")}function Qu(o,n){return o&&n in o&&"function"==typeof o[n]}var Yu=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(a,s){var u;return(0,f.Z)(this,e),(u=t.call(this)).errorHandler=a,u.effectsErrorHandler=s,u}return(0,y.Z)(e,[{key:"addEffects",value:function(s){this.next(s)}},{key:"toActions",value:function(){var s=this;return this.pipe(Wl(function(u){return function Ku(o){return"Object"!==o.constructor.name&&"Function"!==o.constructor.name}(u)?nu(u):u}),(0,Bo.z)(function(u){return u.pipe(Wl(tc))}),(0,Bo.z)(function(u){var l=u.pipe(Gu(function(h){return function g0(o,n){return function(t){var e=m0(t,o,n);return function Ip(o){return Qu(o,"ngrxOnRunEffects")}(t)?t.ngrxOnRunEffects(e):e}}(s.errorHandler,s.effectsErrorHandler)(h)}),(0,Ce.U)(function(h){return function Dp(o,n){if("N"===o.notification.kind){var t=o.notification.value,e=!function iu(o){return"function"!=typeof o&&o&&o.type&&"string"==typeof o.type}(t);e&&n.handleError(new Error("Effect ".concat(function au(o){var n=o.propertyName,a="function"==typeof o.sourceInstance[n];return'"'.concat(o.sourceName,".").concat(String(n)).concat(a?"()":"",'"')}(o)," dispatched an invalid action: ").concat(function vs(o){try{return JSON.stringify(o)}catch{return o}}(t))))}}(h,s.errorHandler),h.notification}),(0,Q.h)(function(h){return"N"===h.kind&&null!=h.value}),function Hu(){return(0,gs.e)(function(o,n){o.subscribe((0,ma.x)(n,function(t){return Pp(t,n)}))})}()),c=u.pipe((0,An.q)(1),(0,Q.h)(Op),(0,Ce.U)(function(h){return h.ngrxOnInitEffects()}));return(0,Y.T)(l,c)}))}}]),e}(ae.x);return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(r.ErrorHandler),r.\u0275\u0275inject(Yl))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}();function tc(o){return function ec(o){return Qu(o,"ngrxOnIdentifyEffects")}(o)?o.ngrxOnIdentifyEffects():""}var nc=function(){var o=function(){function n(t,e){(0,f.Z)(this,n),this.effectSources=t,this.store=e,this.effectsSubscription=null}return(0,y.Z)(n,[{key:"isStarted",get:function(){return!!this.effectsSubscription}},{key:"start",value:function(){this.effectsSubscription||(this.effectsSubscription=this.effectSources.toActions().subscribe(this.store))}},{key:"ngOnDestroy",value:function(){this.effectsSubscription&&(this.effectsSubscription.unsubscribe(),this.effectsSubscription=null)}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Yu),r.\u0275\u0275inject(Bt.yh))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),Fp=function(){var o=function(){function n(t,e,a,s,u,l,c){(0,f.Z)(this,n),this.sources=t,e.start();var C,h=(0,ee.Z)(s);try{for(h.s();!(C=h.n()).done;)t.addEffects(C.value)}catch(N){h.e(N)}finally{h.f()}a.dispatch({type:Xi})}return(0,y.Z)(n,[{key:"addEffects",value:function(e){this.sources.addEffects(e)}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Yu),r.\u0275\u0275inject(nc),r.\u0275\u0275inject(Bt.yh),r.\u0275\u0275inject(ui),r.\u0275\u0275inject(Bt.cr,8),r.\u0275\u0275inject(Bt.CK,8),r.\u0275\u0275inject(Xu,8))},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({}),o}(),Mp=function(){var o=(0,y.Z)(function n(t,e,a,s){(0,f.Z)(this,n);var c,u=e.flat(),l=(0,ee.Z)(u);try{for(l.s();!(c=l.n()).done;)t.addEffects(c.value)}catch(C){l.e(C)}finally{l.f()}});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Fp),r.\u0275\u0275inject(Si),r.\u0275\u0275inject(Bt.cr,8),r.\u0275\u0275inject(Bt.CK,8))},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({}),o}(),ou=function(){var o=function(){function n(){(0,f.Z)(this,n)}return(0,y.Z)(n,null,[{key:"forFeature",value:function(){for(var e=arguments.length,a=new Array(e),s=0;s<e;s++)a[s]=arguments[s];var u=a.flat(),l=Wu(u);return{ngModule:Mp,providers:[l,{provide:wi,multi:!0,useValue:u},{provide:ji,multi:!0,useValue:[]},{provide:Si,multi:!0,useFactory:Ju,deps:[wi,ji]}]}}},{key:"forRoot",value:function(){for(var e=arguments.length,a=new Array(e),s=0;s<e;s++)a[s]=arguments[s];var u=a.flat(),l=Wu(u);return{ngModule:Fp,providers:[l,{provide:no,useValue:[u]},{provide:Xu,useFactory:v0},{provide:ji,multi:!0,useValue:[]},{provide:ui,useFactory:Ju,deps:[no,ji]}]}}}]),n}();return o.\u0275fac=function(t){return new(t||o)},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({}),o}();function Ju(o,n){var a,t=[],e=(0,ee.Z)(o);try{for(e.s();!(a=e.n()).done;)t.push.apply(t,(0,_.Z)(a.value))}catch(h){e.e(h)}finally{e.f()}var l,u=(0,ee.Z)(n);try{for(u.s();!(l=u.n()).done;)t.push.apply(t,(0,_.Z)(l.value))}catch(h){u.e(h)}finally{u.f()}return t.map(function(h){return function ru(o){return o instanceof r.InjectionToken||Co(o)}(h)?(0,r.inject)(h):h})}function v0(){var o=(0,r.inject)(nc,{optional:!0,skipSelf:!0}),n=(0,r.inject)(no,{self:!0});if((1!==n.length||0!==n[0].length)&&o)throw new TypeError("EffectsModule.forRoot() called twice. Feature modules should use EffectsModule.forFeature() instead.");return"guarded"}var ys=function(){var o=function(){function n(){(0,f.Z)(this,n)}return(0,y.Z)(n,[{key:"create",value:function(e,a,s,u){var l="string"==typeof e?(0,b.Z)((0,b.Z)({},u||{}),{},{entityName:e,entityOp:a,data:s}):e;return this.createCore(l)}},{key:"createCore",value:function(e){var a=e.entityName,s=e.entityOp,u=e.tag;if(!a)throw new Error("Missing entity name for new action");if(null==s)throw new Error("Missing EntityOp for new action");return{type:this.formatActionType(s,u||a),payload:e}}},{key:"createFromAction",value:function(e,a){return this.create((0,b.Z)((0,b.Z)({},e.payload),a))}},{key:"formatActionType",value:function(e,a){return"[".concat(a,"] ").concat(e)}}]),n}();return o.\u0275fac=function(t){return new(t||o)},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),_0=function(){function o(n,t){(0,f.Z)(this,o),this.entityName=n,this.selectId=t}return(0,y.Z)(o,[{key:"mustBeEntity",value:function(t){var e=this.extractData(t);if(!e)return this.throwError(t,"should have a single entity.");var a=this.selectId(e);return this.isNotKeyType(a)&&this.throwError(t,"has a missing or invalid entity key (id)"),e}},{key:"mustBeEntities",value:function(t){var e=this,a=this.extractData(t);return Array.isArray(a)?(a.forEach(function(s,u){var l=e.selectId(s);if(e.isNotKeyType(l)){var c=", item ".concat(u+1,", does not have a valid entity key (id)");e.throwError(t,c)}}),a):this.throwError(t,"should be an array of entities")}},{key:"mustBeKey",value:function(t){var e=this.extractData(t);if(void 0===e)throw new Error("should be a single entity key");if(this.isNotKeyType(e))throw new Error("is not a valid key (id)");return e}},{key:"mustBeKeys",value:function(t){var e=this,a=this.extractData(t);return Array.isArray(a)?(a.forEach(function(s,u){if(e.isNotKeyType(s)){var l="".concat(e.entityName," ', item ").concat(u+1,", is not a valid entity key (id)");e.throwError(t,l)}}),a):this.throwError(t,"should be an array of entity keys (id)")}},{key:"mustBeUpdate",value:function(t){var e=this.extractData(t);if(!e)return this.throwError(t,"should be a single entity update");var a=e.id,u=this.selectId(e.changes);return(this.isNotKeyType(a)||this.isNotKeyType(u))&&this.throwError(t,"has a missing or invalid entity key (id)"),e}},{key:"mustBeUpdates",value:function(t){var e=this,a=this.extractData(t);return Array.isArray(a)?(a.forEach(function(s,u){var l=s.id,h=e.selectId(s.changes);(e.isNotKeyType(l)||e.isNotKeyType(h))&&e.throwError(t,", item ".concat(u+1,", has a missing or invalid entity key (id)"))}),a):this.throwError(t,"should be an array of entity updates")}},{key:"mustBeUpdateResponse",value:function(t){var e=this.extractData(t);if(!e)return this.throwError(t,"should be a single entity update");var a=e.id,u=this.selectId(e.changes);return(this.isNotKeyType(a)||this.isNotKeyType(u))&&this.throwError(t,"has a missing or invalid entity key (id)"),e}},{key:"mustBeUpdateResponses",value:function(t){var e=this,a=this.extractData(t);return Array.isArray(a)?(a.forEach(function(s,u){var l=s.id,h=e.selectId(s.changes);(e.isNotKeyType(l)||e.isNotKeyType(h))&&e.throwError(t,", item ".concat(u+1,", has a missing or invalid entity key (id)"))}),a):this.throwError(t,"should be an array of entity updates")}},{key:"extractData",value:function(t){return t.payload&&t.payload.data}},{key:"isNotKeyType",value:function(t){return"string"!=typeof t&&"number"!=typeof t}},{key:"throwError",value:function(t,e){throw new Error("".concat(this.entityName,' EntityAction guard for "').concat(t.type,'": payload ').concat(e))}}]),o}();function el(o){return o?.id}function ro(o){if(null==o)return[];if(Array.isArray(o[0])){var t=(0,Ti.Z)(o),e=t[0],a=t.slice(1);o=[].concat((0,_.Z)(e),(0,_.Z)(a))}return o}function wo(o){return o=o||el,function(t){var e=o(t);if(null==e)throw new Error("Primary key may not be null/undefined.");return t&&{id:e,changes:t}}}function io(){for(var o=arguments.length,n=new Array(o),t=0;t<o;t++)n[t]=arguments[t];var e=ro(n);switch(e.length){case 0:return(0,Q.h)(function(s){return s.payload&&null!=s.payload.entityOp});case 1:var a=e[0];return(0,Q.h)(function(s){return s.payload&&a===s.payload.entityOp});default:return(0,Q.h)(function(s){var u=s.payload&&s.payload.entityOp;return u&&e.some(function(l){return l===u})})}}function tl(){for(var o=arguments.length,n=new Array(o),t=0;t<o;t++)n[t]=arguments[t];var e=ro(n);switch(e.length){case 0:return(0,Q.h)(function(s){return s.payload&&null!=s.payload.entityName});case 1:var a=e[0];return(0,Q.h)(function(s){return s.payload&&a===s.payload.entityName});default:return(0,Q.h)(function(s){var u=s.payload&&s.payload.entityName;return!!u&&e.some(function(l){return l===u})})}}var ti=function(){return(ti=ti||{}).Add="Add",ti.Delete="Delete",ti.Update="Update",ti.Upsert="Upsert",ti}(),Vp=function(){function o(){(0,f.Z)(this,o)}return(0,y.Z)(o,[{key:"add",value:function(t,e){return e=Array.isArray(e)?e:e?[e]:[],{entityName:t,op:ti.Add,entities:e}}},{key:"delete",value:function(t,e){var a=Array.isArray(e)?e:e?[e]:[];return{entityName:t,op:ti.Delete,entities:a}}},{key:"update",value:function(t,e){return e=Array.isArray(e)?e:e?[e]:[],{entityName:t,op:ti.Update,entities:e}}},{key:"upsert",value:function(t,e){return e=Array.isArray(e)?e:e?[e]:[],{entityName:t,op:ti.Upsert,entities:e}}}]),o}();function nl(o){var n=(o=o&&o.changes?o:{changes:[]}).changes.filter(function(t){return null!=t&&t.entities&&t.entities.length>0});return(0,b.Z)((0,b.Z)({},o),{},{changes:n})}new Vp;var yr=function(){return(yr=yr||{})[yr.IgnoreChanges=0]="IgnoreChanges",yr[yr.PreserveChanges=1]="PreserveChanges",yr[yr.OverwriteChanges=2]="OverwriteChanges",yr}(),Jn=function(){return(Jn=Jn||{}).CLEAR_COLLECTIONS="@ngrx/data/entity-cache/clear-collections",Jn.LOAD_COLLECTIONS="@ngrx/data/entity-cache/load-collections",Jn.MERGE_QUERY_SET="@ngrx/data/entity-cache/merge-query-set",Jn.SET_ENTITY_CACHE="@ngrx/data/entity-cache/set-cache",Jn.SAVE_ENTITIES="@ngrx/data/entity-cache/save-entities",Jn.SAVE_ENTITIES_CANCEL="@ngrx/data/entity-cache/save-entities-cancel",Jn.SAVE_ENTITIES_CANCELED="@ngrx/data/entity-cache/save-entities-canceled",Jn.SAVE_ENTITIES_ERROR="@ngrx/data/entity-cache/save-entities-error",Jn.SAVE_ENTITIES_SUCCESS="@ngrx/data/entity-cache/save-entities-success",Jn}(),ao=(0,y.Z)(function o(n,t){(0,f.Z)(this,o),this.type=Jn.CLEAR_COLLECTIONS,this.payload={collections:n,tag:t}}),ha=(0,y.Z)(function o(n,t){(0,f.Z)(this,o),this.type=Jn.LOAD_COLLECTIONS,this.payload={collections:n,tag:t}}),x0=(0,y.Z)(function o(n,t,e){(0,f.Z)(this,o),this.type=Jn.MERGE_QUERY_SET,this.payload={querySet:n,mergeStrategy:null===t?yr.PreserveChanges:t,tag:e}}),b0=(0,y.Z)(function o(n,t){(0,f.Z)(this,o),this.cache=n,this.type=Jn.SET_ENTITY_CACHE,this.payload={cache:n,tag:t}}),C0=(0,y.Z)(function o(n,t,e){(0,f.Z)(this,o),this.type=Jn.SAVE_ENTITIES,e=e||{},n&&(n.tag=n.tag||e.tag),this.payload=(0,b.Z)((0,b.Z)({changeSet:n,url:t},e),{},{tag:n.tag})}),w0=(0,y.Z)(function o(n,t,e,a){(0,f.Z)(this,o),this.type=Jn.SAVE_ENTITIES_CANCEL,this.payload={correlationId:n,reason:t,entityNames:e,tag:a}}),Bp=(0,y.Z)(function o(n,t,e){(0,f.Z)(this,o),this.type=Jn.SAVE_ENTITIES_CANCELED,this.payload={correlationId:n,reason:t,tag:e}}),S0=(0,y.Z)(function o(n,t){(0,f.Z)(this,o),this.type=Jn.SAVE_ENTITIES_ERROR,this.payload={error:n,originalAction:t,correlationId:t.payload.correlationId}}),rl=(0,y.Z)(function o(n,t,e){(0,f.Z)(this,o),this.type=Jn.SAVE_ENTITIES_SUCCESS,e=e||{},n&&(n.tag=n.tag||e.tag),this.payload=(0,b.Z)((0,b.Z)({changeSet:n,url:t},e),{},{tag:n.tag})}),mt=function(){return(mt=mt||{}).CANCEL_PERSIST="@ngrx/data/cancel-persist",mt.CANCELED_PERSIST="@ngrx/data/canceled-persist",mt.QUERY_ALL="@ngrx/data/query-all",mt.QUERY_ALL_SUCCESS="@ngrx/data/query-all/success",mt.QUERY_ALL_ERROR="@ngrx/data/query-all/error",mt.QUERY_LOAD="@ngrx/data/query-load",mt.QUERY_LOAD_SUCCESS="@ngrx/data/query-load/success",mt.QUERY_LOAD_ERROR="@ngrx/data/query-load/error",mt.QUERY_MANY="@ngrx/data/query-many",mt.QUERY_MANY_SUCCESS="@ngrx/data/query-many/success",mt.QUERY_MANY_ERROR="@ngrx/data/query-many/error",mt.QUERY_BY_KEY="@ngrx/data/query-by-key",mt.QUERY_BY_KEY_SUCCESS="@ngrx/data/query-by-key/success",mt.QUERY_BY_KEY_ERROR="@ngrx/data/query-by-key/error",mt.SAVE_ADD_MANY="@ngrx/data/save/add-many",mt.SAVE_ADD_MANY_ERROR="@ngrx/data/save/add-many/error",mt.SAVE_ADD_MANY_SUCCESS="@ngrx/data/save/add-many/success",mt.SAVE_ADD_ONE="@ngrx/data/save/add-one",mt.SAVE_ADD_ONE_ERROR="@ngrx/data/save/add-one/error",mt.SAVE_ADD_ONE_SUCCESS="@ngrx/data/save/add-one/success",mt.SAVE_DELETE_MANY="@ngrx/data/save/delete-many",mt.SAVE_DELETE_MANY_SUCCESS="@ngrx/data/save/delete-many/success",mt.SAVE_DELETE_MANY_ERROR="@ngrx/data/save/delete-many/error",mt.SAVE_DELETE_ONE="@ngrx/data/save/delete-one",mt.SAVE_DELETE_ONE_SUCCESS="@ngrx/data/save/delete-one/success",mt.SAVE_DELETE_ONE_ERROR="@ngrx/data/save/delete-one/error",mt.SAVE_UPDATE_MANY="@ngrx/data/save/update-many",mt.SAVE_UPDATE_MANY_SUCCESS="@ngrx/data/save/update-many/success",mt.SAVE_UPDATE_MANY_ERROR="@ngrx/data/save/update-many/error",mt.SAVE_UPDATE_ONE="@ngrx/data/save/update-one",mt.SAVE_UPDATE_ONE_SUCCESS="@ngrx/data/save/update-one/success",mt.SAVE_UPDATE_ONE_ERROR="@ngrx/data/save/update-one/error",mt.SAVE_UPSERT_MANY="@ngrx/data/save/upsert-many",mt.SAVE_UPSERT_MANY_SUCCESS="@ngrx/data/save/upsert-many/success",mt.SAVE_UPSERT_MANY_ERROR="@ngrx/data/save/upsert-many/error",mt.SAVE_UPSERT_ONE="@ngrx/data/save/upsert-one",mt.SAVE_UPSERT_ONE_SUCCESS="@ngrx/data/save/upsert-one/success",mt.SAVE_UPSERT_ONE_ERROR="@ngrx/data/save/upsert-one/error",mt.ADD_ALL="@ngrx/data/add-all",mt.ADD_MANY="@ngrx/data/add-many",mt.ADD_ONE="@ngrx/data/add-one",mt.REMOVE_ALL="@ngrx/data/remove-all",mt.REMOVE_MANY="@ngrx/data/remove-many",mt.REMOVE_ONE="@ngrx/data/remove-one",mt.UPDATE_MANY="@ngrx/data/update-many",mt.UPDATE_ONE="@ngrx/data/update-one",mt.UPSERT_MANY="@ngrx/data/upsert-many",mt.UPSERT_ONE="@ngrx/data/upsert-one",mt.COMMIT_ALL="@ngrx/data/commit-all",mt.COMMIT_MANY="@ngrx/data/commit-many",mt.COMMIT_ONE="@ngrx/data/commit-one",mt.UNDO_ALL="@ngrx/data/undo-all",mt.UNDO_MANY="@ngrx/data/undo-many",mt.UNDO_ONE="@ngrx/data/undo-one",mt.SET_CHANGE_STATE="@ngrx/data/set-change-state",mt.SET_COLLECTION="@ngrx/data/set-collection",mt.SET_FILTER="@ngrx/data/set-filter",mt.SET_LOADED="@ngrx/data/set-loaded",mt.SET_LOADING="@ngrx/data/set-loading",mt}(),il="/success",rc="/error";function ic(o){return o+il}var _s=(0,y.Z)(function o(n,t){(0,f.Z)(this,o),this.error=n,this.requestData=t,this.message="string"==typeof n?n:function So(o){var n=o.error,t=o.body,e=o.message,a=null;return n?a="string"==typeof n?n:n.message:e?a=e:t&&(a="string"==typeof t?t:t.error),"string"==typeof a?a:a?JSON.stringify(a):null}(n)}),xs=(0,y.Z)(function o(){(0,f.Z)(this,o)}),su=(0,y.Z)(function o(){(0,f.Z)(this,o)}),Zp=new r.InjectionToken("@ngrx/data Plural Names"),uu=(0,y.Z)(function o(){(0,f.Z)(this,o)}),P0=(0,y.Z)(function o(){(0,f.Z)(this,o)}),A0=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.pluralizer=t,this.knownHttpResourceUrls={}}return(0,y.Z)(n,[{key:"getResourceUrls",value:function(e,a){var u=this.knownHttpResourceUrls[e];if(!u){var l=arguments.length>2&&void 0!==arguments[2]&&arguments[2]?a:ac(a);u={entityResourceUrl:"".concat(l,"/").concat(e,"/").toLowerCase(),collectionResourceUrl:"".concat(l,"/").concat(this.pluralizer.pluralize(e),"/").toLowerCase()},this.registerHttpResourceUrls((0,d.Z)({},e,u))}return u}},{key:"entityResource",value:function(e,a,s){return this.getResourceUrls(e,a,s).entityResourceUrl}},{key:"collectionResource",value:function(e,a){return this.getResourceUrls(e,a).collectionResourceUrl}},{key:"registerHttpResourceUrls",value:function(e){this.knownHttpResourceUrls=(0,b.Z)((0,b.Z)({},this.knownHttpResourceUrls),e||{})}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(uu))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}();function ac(o){return o.replace(/^[/\s]+|[/\s]+$/g,"")}var E2=function(){function o(n,t,e,a){(0,f.Z)(this,o),this.http=t,this.httpUrlGenerator=e,this.getDelay=0,this.saveDelay=0,this.timeout=0,this.trailingSlashEndpoints=!1,this._name="".concat(n," DefaultDataService"),this.entityName=n;var s=a||{},u=s.root,l=void 0===u?"api":u,c=s.delete404OK,C=s.getDelay,T=void 0===C?0:C,N=s.saveDelay,F=void 0===N?0:N,$=s.timeout,se=void 0===$?0:$,ue=s.trailingSlashEndpoints,ge=void 0!==ue&&ue;this.delete404OK=void 0===c||c,this.entityUrl=e.entityResource(n,l,ge),this.entitiesUrl=e.collectionResource(n,l),this.getDelay=T,this.saveDelay=F,this.timeout=se}return(0,y.Z)(o,[{key:"name",get:function(){return this._name}},{key:"add",value:function(t,e){var a=t||new Error('No "'.concat(this.entityName,'" entity to add'));return this.execute("POST",this.entityUrl,a,null,e)}},{key:"delete",value:function(t,e){var a;return null==t&&(a=new Error('No "'.concat(this.entityName,'" key to delete'))),this.execute("DELETE",this.entityUrl+t,a,null,e).pipe((0,Ce.U)(function(s){return t}))}},{key:"getAll",value:function(t){return this.execute("GET",this.entitiesUrl,null,t)}},{key:"getById",value:function(t,e){var a;return null==t&&(a=new Error('No "'.concat(this.entityName,'" key to get'))),this.execute("GET",this.entityUrl+t,a,null,e)}},{key:"getWithQuery",value:function(t,e){var s=new O.HttpParams("string"==typeof t?{fromString:t}:{fromObject:t});return this.execute("GET",this.entitiesUrl,void 0,{params:s},e)}},{key:"update",value:function(t,e){var a=t&&t.id,s=null==a?new Error('No "'.concat(this.entityName,'" update data or id')):t.changes;return this.execute("PUT",this.entityUrl+a,s,null,e)}},{key:"upsert",value:function(t,e){var a=t||new Error('No "'.concat(this.entityName,'" entity to upsert'));return this.execute("POST",this.entityUrl,a,null,e)}},{key:"execute",value:function(t,e,a,s,u){var l=void 0;u&&(l={headers:null!=u&&u.httpHeaders?new O.HttpHeaders(u?.httpHeaders):void 0,params:null!=u&&u.httpParams?new O.HttpParams(u?.httpParams):void 0});var h,C,T,N,c=void 0;(s||l)&&((0,r.isDevMode)()&&s&&l&&console.warn("@ngrx/data: options.httpParams will be merged with queryParams when both are are provided to getWithQuery(). In the event of a conflict HttpOptions.httpParams will override queryParams`. The queryParams parameter of getWithQuery() will be removed in next major release."),c=(0,b.Z)((0,b.Z)({},s),{},{headers:null!==(h=null===(C=l)||void 0===C?void 0:C.headers)&&void 0!==h?h:s?.headers,params:null!==(T=null===(N=l)||void 0===N?void 0:N.params)&&void 0!==T?T:s?.params}));var $,F={method:t,url:e,data:a,options:c};if(a instanceof Error)return this.handleError(F)(a);switch(t){case"DELETE":$=this.http.delete(e,c),this.saveDelay&&($=$.pipe((0,Rr.g)(this.saveDelay)));break;case"GET":$=this.http.get(e,c),this.getDelay&&($=$.pipe((0,Rr.g)(this.getDelay)));break;case"POST":$=this.http.post(e,a,c),this.saveDelay&&($=$.pipe((0,Rr.g)(this.saveDelay)));break;case"PUT":$=this.http.put(e,a,c),this.saveDelay&&($=$.pipe((0,Rr.g)(this.saveDelay)));break;default:var se=new Error("Unimplemented HTTP method, "+t);$=(0,$a._)(se)}return this.timeout&&($=$.pipe((0,Wi.V)(this.timeout+this.saveDelay))),$.pipe((0,si.K)(this.handleError(F)))}},{key:"handleError",value:function(t){var e=this;return function(a){var s=e.handleDelete404(a,t);if(s)return s;var u=new _s(a,t);return(0,$a._)(u)}}},{key:"handleDelete404",value:function(t,e){if(404===t.status&&"DELETE"===e.method&&this.delete404OK)return(0,Le.of)({})}}]),o}(),oc=function(){var o=function(){function n(t,e,a){(0,f.Z)(this,n),this.http=t,this.httpUrlGenerator=e,this.config=a,e.registerHttpResourceUrls((a=a||{}).entityHttpResourceUrls)}return(0,y.Z)(n,[{key:"create",value:function(e){return new E2(e,this.http,this.httpUrlGenerator,this.config)}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(O.HttpClient),r.\u0275\u0275inject(P0),r.\u0275\u0275inject(xs,8))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),jp=new r.InjectionToken("@ngrx/data Entity Metadata"),Qi=function(){var o=function(){function n(t){var e=this;(0,f.Z)(this,n),this.definitions={},t&&t.forEach(function(a){return e.registerMetadataMap(a)})}return(0,y.Z)(n,[{key:"getDefinition",value:function(e){var a=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];e=e.trim();var s=this.definitions[e];if(!s&&a)throw new Error('No EntityDefinition for entity type "'.concat(e,'".'));return s}},{key:"registerMetadata",value:function(e){if(e){var a=function P2(o){var n=o.entityName;if(!n)throw new Error("Missing required entityName");o.entityName=n=n.trim();var t=o.selectId||el,e=o.sortComparer=o.sortComparer||!1,a=c0({selectId:t,sortComparer:e}),s=o.entityDispatcherOptions||{},u=a.getInitialState((0,b.Z)({entityName:n,filter:"",loaded:!1,loading:!1,changeState:{}},o.additionalCollectionState||{}));return{entityName:n,entityAdapter:a,entityDispatcherOptions:s,initialState:u,metadata:o,noChangeTracking:!0===o.noChangeTracking,selectId:t,sortComparer:e}}(e);this.registerDefinition(a)}}},{key:"registerMetadataMap",value:function(){var e=this,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object.keys(a||{}).forEach(function(s){return e.registerMetadata((0,b.Z)({entityName:s},a[s]))})}},{key:"registerDefinition",value:function(e){this.definitions[e.entityName]=e}},{key:"registerDefinitions",value:function(e){Object.assign(this.definitions,e)}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(jp,8))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),$p=ti.Update,Up=function(){var o=function(){function n(t,e,a){(0,f.Z)(this,n),this.entityDefinitionService=t,this.http=e,this.idSelectors={},this.saveDelay=0,this.timeout=0;var s=a||{},u=s.saveDelay,c=s.timeout,h=void 0===c?0:c;this.saveDelay=void 0===u?0:u,this.timeout=h}return(0,y.Z)(n,[{key:"saveEntities",value:function(e,a){var s=this;e=this.filterChangeSet(e),e=this.flattenUpdates(e);var u=this.http.post(a,e).pipe((0,Ce.U)(function(l){return s.restoreUpdates(l)}),(0,si.K)(this.handleError({method:"POST",url:a,data:e})));return this.timeout&&(u=u.pipe((0,Wi.V)(this.timeout))),this.saveDelay&&(u=u.pipe((0,Rr.g)(this.saveDelay))),u}},{key:"handleError",value:function(e){return function(a){var s=new _s(a,e);return(0,$a._)(s)}}},{key:"filterChangeSet",value:function(e){return nl(e)}},{key:"flattenUpdates",value:function(e){var a=e.changes;if(0===a.length)return e;var s=!1;return a=a.map(function(u){return u.op===$p&&u.entities.length>0?(s=!0,(0,b.Z)((0,b.Z)({},u),{},{entities:u.entities.map(function(l){return l.changes})})):u}),s?(0,b.Z)((0,b.Z)({},e),{},{changes:a}):e}},{key:"restoreUpdates",value:function(e){var a=this;if(null==e)return e;var s=e.changes;if(0===s.length)return e;var u=!1;return s=s.map(function(l){if(l.op===$p){u=!0;var c=a.getIdSelector(l.entityName);return(0,b.Z)((0,b.Z)({},l),{},{entities:l.entities.map(function(h){return{id:c(h),changes:h}})})}return l}),u?(0,b.Z)((0,b.Z)({},e),{},{changes:s}):e}},{key:"getIdSelector",value:function(e){var a=this.idSelectors[e];return a||(a=this.entityDefinitionService.getDefinition(e).selectId,this.idSelectors[e]=a),a}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Qi),r.\u0275\u0275inject(O.HttpClient),r.\u0275\u0275inject(xs,8))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),al=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.defaultDataServiceFactory=t,this.services={}}return(0,y.Z)(n,[{key:"getService",value:function(e){e=e.trim();var a=this.services[e];return a||(a=this.defaultDataServiceFactory.create(e),this.services[e]=a),a}},{key:"registerService",value:function(e,a){this.services[e.trim()]=a}},{key:"registerServices",value:function(e){this.services=(0,b.Z)((0,b.Z)({},this.services),e)}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(oc))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),zp=(0,y.Z)(function o(){(0,f.Z)(this,o)}),k0=function(){var o=function(){function n(t,e){(0,f.Z)(this,n),this.logger=t,this.entityActionFactory=e}return(0,y.Z)(n,[{key:"handleSuccess",value:function(e){var a=this,s=ic(e.payload.entityOp);return function(u){return a.entityActionFactory.createFromAction(e,{entityOp:s,data:u})}}},{key:"handleError",value:function(e){var a=this,s=function E0(o){return o+rc}(e.payload.entityOp);return function(u){var c={error:u instanceof _s?u:new _s(u,null),originalAction:e};return a.logger.error(c),a.entityActionFactory.createFromAction(e,{entityOp:s,data:c})}}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(su),r.\u0275\u0275inject(ys))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),Gp=(0,y.Z)(function o(n){(0,f.Z)(this,o),this.message=n,this.message=n||"Canceled by user"}),sc=function(){var o=function(){function n(){(0,f.Z)(this,n),this.seed=0,this.prefix="CRID"}return(0,y.Z)(n,[{key:"next",value:function(){return this.seed+=1,this.prefix+this.seed}}]),n}();return o.\u0275fac=function(t){return new(t||o)},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),ol=function(){var o=(0,y.Z)(function n(){(0,f.Z)(this,n),this.optimisticAdd=!1,this.optimisticDelete=!0,this.optimisticUpdate=!1,this.optimisticUpsert=!1,this.optimisticSaveEntities=!1});return o.\u0275fac=function(t){return new(t||o)},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),Hp=function(){var o=function(){function n(t,e,a,s){(0,f.Z)(this,n),this.correlationIdGenerator=t,this.defaultDispatcherOptions=e,this.store=s,this.reducedActions$=a.pipe((0,Bi.d)(1)),this.raSubscription=this.reducedActions$.subscribe()}return(0,y.Z)(n,[{key:"dispatch",value:function(e){return this.store.dispatch(e),e}},{key:"cancelSaveEntities",value:function(e,a,s,u){if(!e)throw new Error("Missing correlationId");var l=new w0(e,a,s,u);this.dispatch(l)}},{key:"clearCollections",value:function(e,a){this.dispatch(new ao(e,a))}},{key:"loadCollections",value:function(e,a){this.dispatch(new ha(e,a))}},{key:"mergeQuerySet",value:function(e,a,s){this.dispatch(new x0(e,a,s))}},{key:"setEntityCache",value:function(e,a){this.dispatch(new b0(e,a))}},{key:"saveEntities",value:function(e,a,s){var u=Array.isArray(e)?{changes:e}:e,l=null==(s=s||{}).correlationId?this.correlationIdGenerator.next():s.correlationId,c=null==s.isOptimistic?this.defaultDispatcherOptions.optimisticSaveEntities||!1:!0===s.isOptimistic,h=s.tag||"Save Entities";s=(0,b.Z)((0,b.Z)({},s),{},{correlationId:l,isOptimistic:c,tag:h});var C=new C0(u,a,s);return this.dispatch(C),this.getSaveEntitiesResponseData$(s.correlationId).pipe((0,Bi.d)(1))}},{key:"getSaveEntitiesResponseData$",value:function(e){return this.reducedActions$.pipe((0,Q.h)(function(a){return a.type===Jn.SAVE_ENTITIES_SUCCESS||a.type===Jn.SAVE_ENTITIES_ERROR||a.type===Jn.SAVE_ENTITIES_CANCEL}),(0,Q.h)(function(a){return e===a.payload.correlationId}),(0,An.q)(1),(0,Bo.z)(function(a){return a.type===Jn.SAVE_ENTITIES_CANCEL?(0,$a._)(new Gp(a.payload.reason)):a.type===Jn.SAVE_ENTITIES_SUCCESS?(0,Le.of)(a.payload.changeSet):(0,$a._)(a.payload)}))}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(sc),r.\u0275\u0275inject(ol),r.\u0275\u0275inject(Bt.Y$),r.\u0275\u0275inject(Bt.yh))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),R0=function(){function o(n,t,e){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:el,s=arguments.length>4?arguments[4]:void 0,u=arguments.length>5?arguments[5]:void 0,l=arguments.length>6?arguments[6]:void 0,c=arguments.length>7?arguments[7]:void 0;(0,f.Z)(this,o),this.entityName=n,this.entityActionFactory=t,this.store=e,this.selectId=a,this.defaultDispatcherOptions=s,this.reducedActions$=u,this.correlationIdGenerator=c,this.guard=new _0(n,a),this.toUpdate=wo(a);var h=(0,Bt.P1)(l,function(C){return C[n]});this.entityCollection$=e.select(h)}return(0,y.Z)(o,[{key:"createEntityAction",value:function(t,e,a){return this.entityActionFactory.create((0,b.Z)({entityName:this.entityName,entityOp:t,data:e},a))}},{key:"createAndDispatch",value:function(t,e,a){var s=this.createEntityAction(t,e,a);return this.dispatch(s),s}},{key:"dispatch",value:function(t){return this.store.dispatch(t),t}},{key:"add",value:function(t,e){var a=this;e=this.setSaveEntityActionOptions(e,this.defaultDispatcherOptions.optimisticAdd);var s=this.createEntityAction(mt.SAVE_ADD_ONE,t,e);return e.isOptimistic&&this.guard.mustBeEntity(s),this.dispatch(s),this.getResponseData$(e.correlationId).pipe((0,Pa.M)(this.entityCollection$),(0,Ce.U)(function(u){var l=(0,g.Z)(u,2);return l[1].entities[a.selectId(l[0])]}),(0,Bi.d)(1))}},{key:"cancel",value:function(t,e,a){if(!t)throw new Error("Missing correlationId");this.createAndDispatch(mt.CANCEL_PERSIST,e,{correlationId:t})}},{key:"delete",value:function(t,e){e=this.setSaveEntityActionOptions(e,this.defaultDispatcherOptions.optimisticDelete);var a=this.getKey(t),s=this.createEntityAction(mt.SAVE_DELETE_ONE,a,e);return this.guard.mustBeKey(s),this.dispatch(s),this.getResponseData$(e.correlationId).pipe((0,Ce.U)(function(){return a}),(0,Bi.d)(1))}},{key:"getAll",value:function(t){var e=this;t=this.setQueryEntityActionOptions(t);var a=this.createEntityAction(mt.QUERY_ALL,null,t);return this.dispatch(a),this.getResponseData$(t.correlationId).pipe((0,Pa.M)(this.entityCollection$),(0,Ce.U)(function(s){var u=(0,g.Z)(s,2),c=u[1];return u[0].reduce(function(h,C){var T=c.entities[e.selectId(C)];return T&&h.push(T),h},[])}),(0,Bi.d)(1))}},{key:"getByKey",value:function(t,e){var a=this;e=this.setQueryEntityActionOptions(e);var s=this.createEntityAction(mt.QUERY_BY_KEY,t,e);return this.dispatch(s),this.getResponseData$(e.correlationId).pipe((0,Pa.M)(this.entityCollection$),(0,Ce.U)(function(u){var l=(0,g.Z)(u,2);return l[1].entities[a.selectId(l[0])]}),(0,Bi.d)(1))}},{key:"getWithQuery",value:function(t,e){var a=this;e=this.setQueryEntityActionOptions(e);var s=this.createEntityAction(mt.QUERY_MANY,t,e);return this.dispatch(s),this.getResponseData$(e.correlationId).pipe((0,Pa.M)(this.entityCollection$),(0,Ce.U)(function(u){var l=(0,g.Z)(u,2),h=l[1];return l[0].reduce(function(C,T){var N=h.entities[a.selectId(T)];return N&&C.push(N),C},[])}),(0,Bi.d)(1))}},{key:"load",value:function(t){t=this.setQueryEntityActionOptions(t);var e=this.createEntityAction(mt.QUERY_LOAD,null,t);return this.dispatch(e),this.getResponseData$(t.correlationId).pipe((0,Bi.d)(1))}},{key:"loadWithQuery",value:function(t,e){e=this.setQueryEntityActionOptions(e);var a=this.createEntityAction(mt.QUERY_MANY,t,e);return this.dispatch(a),this.getResponseData$(e.correlationId).pipe((0,Bi.d)(1))}},{key:"update",value:function(t,e){var a=this,s=this.toUpdate(t);e=this.setSaveEntityActionOptions(e,this.defaultDispatcherOptions.optimisticUpdate);var u=this.createEntityAction(mt.SAVE_UPDATE_ONE,s,e);return e.isOptimistic&&this.guard.mustBeUpdate(u),this.dispatch(u),this.getResponseData$(e.correlationId).pipe((0,Ce.U)(function(l){return l.changes}),(0,Pa.M)(this.entityCollection$),(0,Ce.U)(function(l){var c=(0,g.Z)(l,2);return c[1].entities[a.selectId(c[0])]}),(0,Bi.d)(1))}},{key:"upsert",value:function(t,e){var a=this;e=this.setSaveEntityActionOptions(e,this.defaultDispatcherOptions.optimisticUpsert);var s=this.createEntityAction(mt.SAVE_UPSERT_ONE,t,e);return e.isOptimistic&&this.guard.mustBeEntity(s),this.dispatch(s),this.getResponseData$(e.correlationId).pipe((0,Pa.M)(this.entityCollection$),(0,Ce.U)(function(u){var l=(0,g.Z)(u,2);return l[1].entities[a.selectId(l[0])]}),(0,Bi.d)(1))}},{key:"addAllToCache",value:function(t,e){this.createAndDispatch(mt.ADD_ALL,t,e)}},{key:"addOneToCache",value:function(t,e){this.createAndDispatch(mt.ADD_ONE,t,e)}},{key:"addManyToCache",value:function(t,e){this.createAndDispatch(mt.ADD_MANY,t,e)}},{key:"clearCache",value:function(t){this.createAndDispatch(mt.REMOVE_ALL,void 0,t)}},{key:"removeOneFromCache",value:function(t,e){this.createAndDispatch(mt.REMOVE_ONE,this.getKey(t),e)}},{key:"removeManyFromCache",value:function(t,e){var a=this;if(t&&0!==t.length){var s="object"==typeof t[0]?t.map(function(u){return a.getKey(u)}):t;this.createAndDispatch(mt.REMOVE_MANY,s,e)}}},{key:"updateOneInCache",value:function(t,e){var a=this.toUpdate(t);this.createAndDispatch(mt.UPDATE_ONE,a,e)}},{key:"updateManyInCache",value:function(t,e){var a=this;if(t&&0!==t.length){var s=t.map(function(u){return a.toUpdate(u)});this.createAndDispatch(mt.UPDATE_MANY,s,e)}}},{key:"upsertOneInCache",value:function(t,e){this.createAndDispatch(mt.UPSERT_ONE,t,e)}},{key:"upsertManyInCache",value:function(t,e){!t||0===t.length||this.createAndDispatch(mt.UPSERT_MANY,t,e)}},{key:"setFilter",value:function(t){this.createAndDispatch(mt.SET_FILTER,t)}},{key:"setLoaded",value:function(t){this.createAndDispatch(mt.SET_LOADED,!!t)}},{key:"setLoading",value:function(t){this.createAndDispatch(mt.SET_LOADING,!!t)}},{key:"getKey",value:function(t){return"object"==typeof t?this.selectId(t):t}},{key:"getResponseData$",value:function(t){var e=this;return this.reducedActions$.pipe((0,Q.h)(function(a){return!!a.payload}),(0,Q.h)(function(a){var s=a.payload,c=s.entityOp;return s.entityName===e.entityName&&s.correlationId===t&&(c.endsWith(il)||c.endsWith(rc)||c===mt.CANCEL_PERSIST)}),(0,An.q)(1),(0,Bo.z)(function(a){var s=a.payload.entityOp;return s===mt.CANCEL_PERSIST?(0,$a._)(new Gp(a.payload.data)):s.endsWith(il)?(0,Le.of)(a.payload.data):(0,$a._)(a.payload.data.error)}))}},{key:"setQueryEntityActionOptions",value:function(t){var e=null==(t=t||{}).correlationId?this.correlationIdGenerator.next():t.correlationId;return(0,b.Z)((0,b.Z)({},t),{},{correlationId:e})}},{key:"setSaveEntityActionOptions",value:function(t,e){var a=null==(t=t||{}).correlationId?this.correlationIdGenerator.next():t.correlationId,s=null==t.isOptimistic?e||!1:!0===t.isOptimistic;return(0,b.Z)((0,b.Z)({},t),{},{correlationId:a,isOptimistic:s})}}]),o}(),lu="entityCache",uc=new r.InjectionToken("@ngrx/data Entity Cache Name"),D0=new r.InjectionToken("@ngrx/data Entity Cache Meta Reducers"),qp=new r.InjectionToken("@ngrx/data Entity Collection Meta Reducers"),T0=new r.InjectionToken("@ngrx/data Initial Entity Cache State"),lc=new r.InjectionToken("@ngrx/data Entity Cache Selector"),cc={provide:lc,useFactory:Kp,deps:[[new r.Optional,uc]]};function Kp(o){return(0,Bt.ZF)(o=o||lu)}var li=function(){var o=function(){function n(t,e,a,s,u,l){(0,f.Z)(this,n),this.entityActionFactory=t,this.store=e,this.entityDispatcherDefaultOptions=a,this.entityCacheSelector=u,this.correlationIdGenerator=l,this.reducedActions$=s.pipe((0,Bi.d)(1)),this.raSubscription=this.reducedActions$.subscribe()}return(0,y.Z)(n,[{key:"create",value:function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:el,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u=(0,b.Z)((0,b.Z)({},this.entityDispatcherDefaultOptions),s);return new R0(e,this.entityActionFactory,this.store,a,u,this.reducedActions$,this.entityCacheSelector,this.correlationIdGenerator)}},{key:"ngOnDestroy",value:function(){this.raSubscription.unsubscribe()}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(ys),r.\u0275\u0275inject(Bt.yh),r.\u0275\u0275inject(ol),r.\u0275\u0275inject(Bt.Y$),r.\u0275\u0275inject(lc),r.\u0275\u0275inject(sc))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),dc=new r.InjectionToken("@ngrx/data Entity Effects Scheduler"),ka=function(){var o=function(){function n(t,e,a,s,u){var l=this;(0,f.Z)(this,n),this.actions=t,this.dataService=e,this.entityActionFactory=a,this.logger=s,this.scheduler=u,this.responseDelay=10,this.saveEntitiesCancel$=vi(function(){return l.actions.pipe(Ga(Jn.SAVE_ENTITIES_CANCEL),(0,Q.h)(function(c){return null!=c.payload.correlationId}))},{dispatch:!1}),this.saveEntities$=vi(function(){return l.actions.pipe(Ga(Jn.SAVE_ENTITIES),(0,Bo.z)(function(c){return l.saveEntities(c)}))})}return(0,y.Z)(n,[{key:"saveEntities",value:function(e){var a=this,s=e.payload.error;if(s)return this.handleSaveEntitiesError$(e)(s);try{var u=nl(e.payload.changeSet),l=e.payload,c=l.correlationId,T=l.url;return 0===u.changes.length?(0,Le.of)(new rl(u,T,{correlationId:c,mergeStrategy:l.mergeStrategy,tag:l.tag})):Uu(this.saveEntitiesCancel$.pipe((0,Q.h)(function(se){return c===se.payload.correlationId}),(0,Ce.U)(function(se){return new Bp(c,se.payload.reason,se.payload.tag)})),this.dataService.saveEntities(u,T).pipe((0,Zi.b)(function(se){return a.handleSaveEntitiesSuccess$(e,a.entityActionFactory)(se)}),(0,si.K)(this.handleSaveEntitiesError$(e))))}catch(se){return this.handleSaveEntitiesError$(e)(se)}}},{key:"handleSaveEntitiesError$",value:function(e){var a=this;return function(s){var u=s instanceof _s?s:new _s(s,null);return(0,Le.of)(new S0(u,e)).pipe((0,Rr.g)(a.responseDelay,a.scheduler||eu.z))}}},{key:"handleSaveEntitiesSuccess$",value:function(e,a){var s=e.payload,u=s.url,C={correlationId:s.correlationId,mergeStrategy:s.mergeStrategy,tag:s.tag};return function(T){if(T)return(0,Le.of)(new rl(T,u,C));if(T=e.payload.changeSet,!e.payload.isOptimistic)return(0,Le.of)(new rl(T,u,C));var N=T.changes.reduce(function(F,$){return-1===F.indexOf($.entityName)?F.concat($.entityName):F},[]);return(0,Y.T)(N.map(function(F){return a.create(F,mt.SET_LOADING,!1)}))}}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(to),r.\u0275\u0275inject(Up),r.\u0275\u0275inject(ys),r.\u0275\u0275inject(su),r.\u0275\u0275inject(dc,8))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),oo=[mt.QUERY_ALL,mt.QUERY_LOAD,mt.QUERY_BY_KEY,mt.QUERY_MANY,mt.SAVE_ADD_ONE,mt.SAVE_DELETE_ONE,mt.SAVE_UPDATE_ONE,mt.SAVE_UPSERT_ONE],jo=function(){var o=function(){function n(t,e,a,s,u){var l=this;(0,f.Z)(this,n),this.actions=t,this.dataService=e,this.entityActionFactory=a,this.resultHandler=s,this.scheduler=u,this.responseDelay=10,this.cancel$=vi(function(){return l.actions.pipe(io(mt.CANCEL_PERSIST),(0,Ce.U)(function(c){return c.payload.correlationId}),(0,Q.h)(function(c){return null!=c}))},{dispatch:!1}),this.persist$=vi(function(){return l.actions.pipe(io(oo),(0,Bo.z)(function(c){return l.persist(c)}))})}return(0,y.Z)(n,[{key:"persist",value:function(e){var a=this;if(e.payload.skip)return this.handleSkipSuccess$(e);if(e.payload.error)return this.handleError$(e)(e.payload.error);try{return Uu(this.cancel$.pipe((0,Q.h)(function(l){return e.payload.correlationId===l}),(0,Ce.U)(function(l){return a.entityActionFactory.createFromAction(e,{entityOp:mt.CANCELED_PERSIST})})),this.callDataService(e).pipe((0,Ce.U)(this.resultHandler.handleSuccess(e)),(0,si.K)(this.handleError$(e))))}catch(l){return this.handleError$(e)(l)}}},{key:"callDataService",value:function(e){var a=e.payload,u=a.entityOp,l=a.data,c=a.httpOptions,h=this.dataService.getService(a.entityName);switch(u){case mt.QUERY_ALL:case mt.QUERY_LOAD:return h.getAll(c);case mt.QUERY_BY_KEY:return h.getById(l,c);case mt.QUERY_MANY:return h.getWithQuery(l,c);case mt.SAVE_ADD_ONE:return h.add(l,c);case mt.SAVE_DELETE_ONE:return h.delete(l,c);case mt.SAVE_UPDATE_ONE:var C=l.id,T=l.changes;return h.update(l,c).pipe((0,Ce.U)(function(N){return N&&Object.keys(N).length>0?{id:C,changes:(0,b.Z)((0,b.Z)({},T),N),changed:!0}:{id:C,changes:T,changed:!1}}));case mt.SAVE_UPSERT_ONE:return h.upsert(l,c).pipe((0,Ce.U)(function(N){return N&&Object.keys(N).length>0?N:l}));default:throw new Error('Persistence action "'.concat(u,'" is not implemented.'))}}},{key:"handleError$",value:function(e){var a=this;return function(s){return(0,Le.of)(a.resultHandler.handleError(e)(s)).pipe((0,Rr.g)(a.responseDelay,a.scheduler||eu.z))}}},{key:"handleSkipSuccess$",value:function(e){var a=ic(e.payload.entityOp),s=this.entityActionFactory.createFromAction(e,{entityOp:a});return(0,Le.of)(s).pipe((0,Rr.g)(this.responseDelay,this.scheduler||eu.z))}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(to),r.\u0275\u0275inject(al),r.\u0275\u0275inject(ys),r.\u0275\u0275inject(zp),r.\u0275\u0275inject(dc,8))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),I0=function(){function o(n,t){(0,f.Z)(this,o),this.entityName=n,n=n.trim();var e=t.create(n),a=e.dispatcher,s=e.selectors,u=e.selectors$;this.entityName=n,this.dispatcher=a,this.guard=a.guard,this.selectId=a.selectId,this.toUpdate=a.toUpdate,this.selectors=s,this.selectors$=u,this.collection$=u.collection$,this.count$=u.count$,this.entities$=u.entities$,this.entityActions$=u.entityActions$,this.entityMap$=u.entityMap$,this.errors$=u.errors$,this.filter$=u.filter$,this.filteredEntities$=u.filteredEntities$,this.keys$=u.keys$,this.loaded$=u.loaded$,this.loading$=u.loading$,this.changeState$=u.changeState$}return(0,y.Z)(o,[{key:"createEntityAction",value:function(t,e,a){return this.dispatcher.createEntityAction(t,e,a)}},{key:"createAndDispatch",value:function(t,e,a){return this.dispatcher.createAndDispatch(t,e,a)}},{key:"dispatch",value:function(t){return this.dispatcher.dispatch(t)}},{key:"store",get:function(){return this.dispatcher.store}},{key:"add",value:function(t,e){return this.dispatcher.add(t,e)}},{key:"cancel",value:function(t,e,a){this.dispatcher.cancel(t,e,a)}},{key:"delete",value:function(t,e){return this.dispatcher.delete(t,e)}},{key:"getAll",value:function(t){return this.dispatcher.getAll(t)}},{key:"getByKey",value:function(t,e){return this.dispatcher.getByKey(t,e)}},{key:"getWithQuery",value:function(t,e){return this.dispatcher.getWithQuery(t,e)}},{key:"load",value:function(t){return this.dispatcher.load(t)}},{key:"loadWithQuery",value:function(t,e){return this.dispatcher.loadWithQuery(t,e)}},{key:"update",value:function(t,e){return this.dispatcher.update(t,e)}},{key:"upsert",value:function(t,e){return this.dispatcher.upsert(t,e)}},{key:"addAllToCache",value:function(t,e){this.dispatcher.addAllToCache(t,e)}},{key:"addOneToCache",value:function(t,e){this.dispatcher.addOneToCache(t,e)}},{key:"addManyToCache",value:function(t,e){this.dispatcher.addManyToCache(t,e)}},{key:"clearCache",value:function(){this.dispatcher.clearCache()}},{key:"removeOneFromCache",value:function(t,e){this.dispatcher.removeOneFromCache(t,e)}},{key:"removeManyFromCache",value:function(t,e){this.dispatcher.removeManyFromCache(t,e)}},{key:"updateOneInCache",value:function(t,e){this.dispatcher.updateOneInCache(t,e)}},{key:"updateManyInCache",value:function(t,e){this.dispatcher.updateManyInCache(t,e)}},{key:"upsertOneInCache",value:function(t,e){this.dispatcher.upsertOneInCache(t,e)}},{key:"upsertManyInCache",value:function(t,e){this.dispatcher.upsertManyInCache(t,e)}},{key:"setFilter",value:function(t){this.dispatcher.setFilter(t)}},{key:"setLoaded",value:function(t){this.dispatcher.setLoaded(!!t)}},{key:"setLoading",value:function(t){this.dispatcher.setLoading(!!t)}}]),o}(),bs=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.entityDefinitionService=t}return(0,y.Z)(n,[{key:"create",value:function(e){var a=this.entityDefinitionService&&this.entityDefinitionService.getDefinition(e,!1);return a&&a.initialState||function pc(o){return{entityName:o,ids:[],entities:{},filter:void 0,loaded:!1,loading:!1,changeState:{}}}(e)}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Qi,8))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),fc=function(){var o=function(){function n(t,e){(0,f.Z)(this,n),this.entityCollectionCreator=t||new bs,this.selectEntityCache=e||Kp(lu)}return(0,y.Z)(n,[{key:"createCollectionSelector",value:function(e){var a=this;return(0,Bt.P1)(this.selectEntityCache,function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})[e]||a.entityCollectionCreator.create(e)})}},{key:"createCollectionSelectors",value:function(e){var a="string"==typeof e?{entityName:e}:e,s=function(Se){return Se.ids},u=function(Se){return Se.entities},l=(0,Bt.P1)(s,u,function(ge,Se){return ge.map(function(we){return Se[we]})}),c=(0,Bt.P1)(s,function(ge){return ge.length}),h=function(Se){return Se.filter},C=a.filterFn,T=C?(0,Bt.P1)(l,h,function(ge,Se){return C(ge,Se)}):l,ue={};return Object.keys(a.additionalCollectionState||{}).forEach(function(ge){ue["select"+ge[0].toUpperCase()+ge.slice(1)]=function(Se){return Se[ge]}}),(0,b.Z)({selectCount:c,selectEntities:l,selectEntityMap:u,selectFilter:h,selectFilteredEntities:T,selectKeys:s,selectLoaded:function(Se){return Se.loaded},selectLoading:function(Se){return Se.loading},selectChangeState:function(Se){return Se.changeState}},ue)}},{key:"create",value:function(e){var a="string"==typeof e?{entityName:e}:e,s=a.entityName,u=this.createCollectionSelector(s),l=this.createCollectionSelectors(a),c={};return Object.keys(l).forEach(function(h){c[h]=(0,Bt.P1)(u,l[h])}),(0,b.Z)({entityName:s,selectCollection:u,selectEntityCache:this.selectEntityCache},c)}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(bs,8),r.\u0275\u0275inject(lc,8))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),On=function(){var o=function(){function n(t,e,a){(0,f.Z)(this,n),this.store=t,this.actions=e,this.selectEntityCache=a,this.entityCache$=this.store.select(this.selectEntityCache),this.entityActionErrors$=e.pipe((0,Q.h)(function(s){return s.payload&&s.payload.entityOp&&s.payload.entityOp.endsWith(rc)}),(0,Bi.d)(1))}return(0,y.Z)(n,[{key:"create",value:function(e,a){var s=this,u={entityName:e};return Object.keys(a).forEach(function(l){if(l.startsWith("select")){var c=l[6].toLowerCase()+l.substring(7)+"$";u[c]=s.store.select(a[l])}}),u.entityActions$=this.actions.pipe(tl(e)),u.errors$=this.entityActionErrors$.pipe(tl(e)),u}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Bt.yh),r.\u0275\u0275inject(to),r.\u0275\u0275inject(lc))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),Yi=function(){var o=function(){function n(t,e,a,s){(0,f.Z)(this,n),this.entityDispatcherFactory=t,this.entityDefinitionService=e,this.entitySelectorsFactory=a,this.entitySelectors$Factory=s}return(0,y.Z)(n,[{key:"create",value:function(e){e=e.trim();var a=this.entityDefinitionService.getDefinition(e),s=this.entityDispatcherFactory.create(e,a.selectId,a.entityDispatcherOptions),u=this.entitySelectorsFactory.create(a.metadata);return{dispatcher:s,entityName:e,selectors:u,selectors$:this.entitySelectors$Factory.create(e,u)}}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(li),r.\u0275\u0275inject(Qi),r.\u0275\u0275inject(fc),r.\u0275\u0275inject(On))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),Gn=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.entityCollectionServiceElementsFactory=t}return(0,y.Z)(n,[{key:"create",value:function(e){return new I0(e,this.entityCollectionServiceElementsFactory)}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Yi))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),$i=function(){var o=(0,y.Z)(function n(t,e,a,s){(0,f.Z)(this,n),this.entityCollectionServiceFactory=t,this.store=s,this.entityActionErrors$=a.entityActionErrors$,this.entityCache$=a.entityCache$,this.reducedActions$=e.reducedActions$});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Gn),r.\u0275\u0275inject(li),r.\u0275\u0275inject(On),r.\u0275\u0275inject(Bt.yh))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),yi=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.entityServicesElements=t,this.EntityCollectionServices={}}return(0,y.Z)(n,[{key:"entityActionErrors$",get:function(){return this.entityServicesElements.entityActionErrors$}},{key:"entityCache$",get:function(){return this.entityServicesElements.entityCache$}},{key:"entityCollectionServiceFactory",get:function(){return this.entityServicesElements.entityCollectionServiceFactory}},{key:"reducedActions$",get:function(){return this.entityServicesElements.reducedActions$}},{key:"store",get:function(){return this.entityServicesElements.store}},{key:"dispatch",value:function(e){this.store.dispatch(e)}},{key:"createEntityCollectionService",value:function(e){return this.entityCollectionServiceFactory.create(e)}},{key:"getEntityCollectionService",value:function(e){var a=this.EntityCollectionServices[e];return a||(a=this.createEntityCollectionService(e),this.EntityCollectionServices[e]=a),a}},{key:"registerEntityCollectionService",value:function(e,a){this.EntityCollectionServices[a||e.entityName]=e}},{key:"registerEntityCollectionServices",value:function(e){var a=this;Array.isArray(e)?e.forEach(function(s){return a.registerEntityCollectionService(s)}):Object.keys(e||{}).forEach(function(s){a.registerEntityCollectionService(e[s],s)})}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject($i))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),Dr=(0,y.Z)(function o(){(0,f.Z)(this,o)}),er=function(){return(er=er||{})[er.Unchanged=0]="Unchanged",er[er.Added=1]="Added",er[er.Deleted=2]="Deleted",er[er.Updated=3]="Updated",er}(),sl=function(){function o(n,t){(0,f.Z)(this,o),this.adapter=n,this.selectId=t,this.selectId=t||el}return(0,y.Z)(o,[{key:"commitAll",value:function(t){return 0===Object.keys(t.changeState).length?t:(0,b.Z)((0,b.Z)({},t),{},{changeState:{}})}},{key:"commitMany",value:function(t,e){var a=this;if(null==t||0===t.length)return e;var s=!1,u=t.reduce(function(l,c){var h="object"==typeof c?a.selectId(c):c;return l[h]&&(s||(l=(0,b.Z)({},l),s=!0),delete l[h]),l},e.changeState);return s?(0,b.Z)((0,b.Z)({},e),{},{changeState:u}):e}},{key:"commitOne",value:function(t,e){return null==t?e:this.commitMany([t],e)}},{key:"mergeQueryResults",value:function(t,e,a){return this.mergeServerUpserts(t,e,yr.PreserveChanges,a)}},{key:"mergeSaveAdds",value:function(t,e,a){return this.mergeServerUpserts(t,e,yr.OverwriteChanges,a)}},{key:"mergeSaveDeletes",value:function(t,e,a){var s=t;return e=(a=a??yr.OverwriteChanges)===yr.IgnoreChanges?e:this.commitMany(s,e),this.adapter.removeMany(s,e)}},{key:"mergeSaveUpdates",value:function(t,e,a){var s=this,u=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t||0===t.length)return e;var h,l=!1,c=e.changeState;switch(a=a??yr.OverwriteChanges){case yr.IgnoreChanges:return h=T(t),this.adapter.updateMany(h,e);case yr.OverwriteChanges:return c=t.reduce(function(N,F){var $=F.id;return N[$]&&(l||(N=(0,b.Z)({},N),l=!0),delete N[$]),N},e.changeState),e=l?(0,b.Z)((0,b.Z)({},e),{},{changeState:c}):e,h=T(t),this.adapter.updateMany(h,e);case yr.PreserveChanges:var C=[];return c=t.reduce(function(N,F){var $=F.id,se=N[$];if(se){l||(N=(0,b.Z)({},N),l=!0);var ue=s.selectId(F.changes),ge=se;ue!==$&&delete N[$];var Se=(0,b.Z)((0,b.Z)({},ge.originalValue),F.changes);N[ue]=(0,b.Z)((0,b.Z)({},ge),{},{originalValue:Se})}else C.push(F);return N},e.changeState),e=l?(0,b.Z)((0,b.Z)({},e),{},{changeState:c}):e,h=T(C),this.adapter.updateMany(h,e)}function T(N){return!0===u&&(N=N.filter(function(F){return!0===F.changed})),N.map(function(F){return{id:F.id,changes:F.changes}})}}},{key:"mergeSaveUpserts",value:function(t,e,a){return this.mergeServerUpserts(t,e,yr.OverwriteChanges,a)}},{key:"mergeServerUpserts",value:function(t,e,a,s){var u=this;if(null==t||0===t.length)return e;var l=!1,c=e.changeState;switch(s=s??a){case yr.IgnoreChanges:return this.adapter.upsertMany(t,e);case yr.OverwriteChanges:return e=this.adapter.upsertMany(t,e),c=t.reduce(function(C,T){var N=u.selectId(T);return C[N]&&(l||(C=(0,b.Z)({},C),l=!0),delete C[N]),C},e.changeState),l?(0,b.Z)((0,b.Z)({},e),{},{changeState:c}):e;case yr.PreserveChanges:var h=[];return c=t.reduce(function(C,T){var N=u.selectId(T);return C[N]?l||(C=(0,b.Z)((0,b.Z)({},C),{},(0,d.Z)({},N,(0,b.Z)((0,b.Z)({},C[N]),{},{originalValue:T}))),l=!0):h.push(T),C},e.changeState),e=this.adapter.upsertMany(h,e),l?(0,b.Z)((0,b.Z)({},e),{},{changeState:c}):e}}},{key:"trackAddMany",value:function(t,e,a){var s=this;if(a===yr.IgnoreChanges||null==t||0===t.length)return e;var u=!1,l=t.reduce(function(c,h){var C=s.selectId(h);if(null==C||""===C)throw new Error("".concat(e.entityName," entity add requires a key to be tracked"));return c[C]||(u||(u=!0,c=(0,b.Z)({},c)),c[C]={changeType:er.Added}),c},e.changeState);return u?(0,b.Z)((0,b.Z)({},e),{},{changeState:l}):e}},{key:"trackAddOne",value:function(t,e,a){return null==t?e:this.trackAddMany([t],e,a)}},{key:"trackDeleteMany",value:function(t,e,a){if(a===yr.IgnoreChanges||null==t||0===t.length)return e;var s=!1,u=e.entities,l=t.reduce(function(c,h){var C=u[h];if(C){var T=c[h];T?T.changeType===er.Added?(N(),delete c[h]):T.changeType===er.Updated&&(N(),c[h]=(0,b.Z)((0,b.Z)({},c[h]),{},{changeType:er.Deleted})):(N(),c[h]={changeType:er.Deleted,originalValue:C})}return c;function N(){s||(s=!0,c=(0,b.Z)({},c))}},e.changeState);return s?(0,b.Z)((0,b.Z)({},e),{},{changeState:l}):e}},{key:"trackDeleteOne",value:function(t,e,a){return null==t?e:this.trackDeleteMany([t],e,a)}},{key:"trackUpdateMany",value:function(t,e,a){if(a===yr.IgnoreChanges||null==t||0===t.length)return e;var s=!1,u=e.entities,l=t.reduce(function(c,h){var C=h.id;if(null==C||""===C)throw new Error("".concat(e.entityName," entity update requires a key to be tracked"));var N=u[C];return N&&(c[C]||(s||(s=!0,c=(0,b.Z)({},c)),c[C]={changeType:er.Updated,originalValue:N})),c},e.changeState);return s?(0,b.Z)((0,b.Z)({},e),{},{changeState:l}):e}},{key:"trackUpdateOne",value:function(t,e,a){return null==t?e:this.trackUpdateMany([t],e,a)}},{key:"trackUpsertMany",value:function(t,e,a){var s=this;if(a===yr.IgnoreChanges||null==t||0===t.length)return e;var u=!1,l=e.entities,c=t.reduce(function(h,C){var T=s.selectId(C);if(null==T||""===T)throw new Error("".concat(e.entityName," entity upsert requires a key to be tracked"));if(!h[T]){u||(u=!0,h=(0,b.Z)({},h));var F=l[T];h[T]=null==F?{changeType:er.Added}:{changeType:er.Updated,originalValue:F}}return h},e.changeState);return u?(0,b.Z)((0,b.Z)({},e),{},{changeState:c}):e}},{key:"trackUpsertOne",value:function(t,e,a){return null==t?e:this.trackUpsertMany([t],e,a)}},{key:"undoAll",value:function(t){var a=Object.keys(t.changeState).reduce(function(l,c){var h=l.chgState[c];switch(h.changeType){case er.Added:l.remove.push(c);break;case er.Deleted:var C=h.originalValue;C&&l.upsert.push(C);break;case er.Updated:l.upsert.push(h.originalValue)}return l},{remove:[],upsert:[],chgState:t.changeState}),u=a.upsert;return t=this.adapter.removeMany(a.remove,t),t=this.adapter.upsertMany(u,t),(0,b.Z)((0,b.Z)({},t),{},{changeState:{}})}},{key:"undoMany",value:function(t,e){var a=this;if(null==t||0===t.length)return e;var s=!1,u=t.reduce(function(C,T){var N=C.changeState,F="object"==typeof T?a.selectId(T):T,$=N[F];if($)switch(s||(N=(0,b.Z)({},N),s=!0),delete N[F],C.changeState=N,$.changeType){case er.Added:C.remove.push(F);break;case er.Deleted:var se=$.originalValue;se&&C.upsert.push(se);break;case er.Updated:C.upsert.push($.originalValue)}return C},{remove:[],upsert:[],changeState:e.changeState}),l=u.changeState,h=u.upsert;return e=this.adapter.removeMany(u.remove,e),e=this.adapter.upsertMany(h,e),s?(0,b.Z)((0,b.Z)({},e),{},{changeState:l}):e}},{key:"undoOne",value:function(t,e){return null==t?e:this.undoMany([t],e)}}]),o}(),mc=function(){function o(n,t,e){var a;(0,f.Z)(this,o),this.entityName=n,this.definition=t,this.methods=((0,d.Z)(a={},mt.CANCEL_PERSIST,this.cancelPersist.bind(this)),(0,d.Z)(a,mt.QUERY_ALL,this.queryAll.bind(this)),(0,d.Z)(a,mt.QUERY_ALL_ERROR,this.queryAllError.bind(this)),(0,d.Z)(a,mt.QUERY_ALL_SUCCESS,this.queryAllSuccess.bind(this)),(0,d.Z)(a,mt.QUERY_BY_KEY,this.queryByKey.bind(this)),(0,d.Z)(a,mt.QUERY_BY_KEY_ERROR,this.queryByKeyError.bind(this)),(0,d.Z)(a,mt.QUERY_BY_KEY_SUCCESS,this.queryByKeySuccess.bind(this)),(0,d.Z)(a,mt.QUERY_LOAD,this.queryLoad.bind(this)),(0,d.Z)(a,mt.QUERY_LOAD_ERROR,this.queryLoadError.bind(this)),(0,d.Z)(a,mt.QUERY_LOAD_SUCCESS,this.queryLoadSuccess.bind(this)),(0,d.Z)(a,mt.QUERY_MANY,this.queryMany.bind(this)),(0,d.Z)(a,mt.QUERY_MANY_ERROR,this.queryManyError.bind(this)),(0,d.Z)(a,mt.QUERY_MANY_SUCCESS,this.queryManySuccess.bind(this)),(0,d.Z)(a,mt.SAVE_ADD_MANY,this.saveAddMany.bind(this)),(0,d.Z)(a,mt.SAVE_ADD_MANY_ERROR,this.saveAddManyError.bind(this)),(0,d.Z)(a,mt.SAVE_ADD_MANY_SUCCESS,this.saveAddManySuccess.bind(this)),(0,d.Z)(a,mt.SAVE_ADD_ONE,this.saveAddOne.bind(this)),(0,d.Z)(a,mt.SAVE_ADD_ONE_ERROR,this.saveAddOneError.bind(this)),(0,d.Z)(a,mt.SAVE_ADD_ONE_SUCCESS,this.saveAddOneSuccess.bind(this)),(0,d.Z)(a,mt.SAVE_DELETE_MANY,this.saveDeleteMany.bind(this)),(0,d.Z)(a,mt.SAVE_DELETE_MANY_ERROR,this.saveDeleteManyError.bind(this)),(0,d.Z)(a,mt.SAVE_DELETE_MANY_SUCCESS,this.saveDeleteManySuccess.bind(this)),(0,d.Z)(a,mt.SAVE_DELETE_ONE,this.saveDeleteOne.bind(this)),(0,d.Z)(a,mt.SAVE_DELETE_ONE_ERROR,this.saveDeleteOneError.bind(this)),(0,d.Z)(a,mt.SAVE_DELETE_ONE_SUCCESS,this.saveDeleteOneSuccess.bind(this)),(0,d.Z)(a,mt.SAVE_UPDATE_MANY,this.saveUpdateMany.bind(this)),(0,d.Z)(a,mt.SAVE_UPDATE_MANY_ERROR,this.saveUpdateManyError.bind(this)),(0,d.Z)(a,mt.SAVE_UPDATE_MANY_SUCCESS,this.saveUpdateManySuccess.bind(this)),(0,d.Z)(a,mt.SAVE_UPDATE_ONE,this.saveUpdateOne.bind(this)),(0,d.Z)(a,mt.SAVE_UPDATE_ONE_ERROR,this.saveUpdateOneError.bind(this)),(0,d.Z)(a,mt.SAVE_UPDATE_ONE_SUCCESS,this.saveUpdateOneSuccess.bind(this)),(0,d.Z)(a,mt.SAVE_UPSERT_MANY,this.saveUpsertMany.bind(this)),(0,d.Z)(a,mt.SAVE_UPSERT_MANY_ERROR,this.saveUpsertManyError.bind(this)),(0,d.Z)(a,mt.SAVE_UPSERT_MANY_SUCCESS,this.saveUpsertManySuccess.bind(this)),(0,d.Z)(a,mt.SAVE_UPSERT_ONE,this.saveUpsertOne.bind(this)),(0,d.Z)(a,mt.SAVE_UPSERT_ONE_ERROR,this.saveUpsertOneError.bind(this)),(0,d.Z)(a,mt.SAVE_UPSERT_ONE_SUCCESS,this.saveUpsertOneSuccess.bind(this)),(0,d.Z)(a,mt.ADD_ALL,this.addAll.bind(this)),(0,d.Z)(a,mt.ADD_MANY,this.addMany.bind(this)),(0,d.Z)(a,mt.ADD_ONE,this.addOne.bind(this)),(0,d.Z)(a,mt.REMOVE_ALL,this.removeAll.bind(this)),(0,d.Z)(a,mt.REMOVE_MANY,this.removeMany.bind(this)),(0,d.Z)(a,mt.REMOVE_ONE,this.removeOne.bind(this)),(0,d.Z)(a,mt.UPDATE_MANY,this.updateMany.bind(this)),(0,d.Z)(a,mt.UPDATE_ONE,this.updateOne.bind(this)),(0,d.Z)(a,mt.UPSERT_MANY,this.upsertMany.bind(this)),(0,d.Z)(a,mt.UPSERT_ONE,this.upsertOne.bind(this)),(0,d.Z)(a,mt.COMMIT_ALL,this.commitAll.bind(this)),(0,d.Z)(a,mt.COMMIT_MANY,this.commitMany.bind(this)),(0,d.Z)(a,mt.COMMIT_ONE,this.commitOne.bind(this)),(0,d.Z)(a,mt.UNDO_ALL,this.undoAll.bind(this)),(0,d.Z)(a,mt.UNDO_MANY,this.undoMany.bind(this)),(0,d.Z)(a,mt.UNDO_ONE,this.undoOne.bind(this)),(0,d.Z)(a,mt.SET_CHANGE_STATE,this.setChangeState.bind(this)),(0,d.Z)(a,mt.SET_COLLECTION,this.setCollection.bind(this)),(0,d.Z)(a,mt.SET_FILTER,this.setFilter.bind(this)),(0,d.Z)(a,mt.SET_LOADED,this.setLoaded.bind(this)),(0,d.Z)(a,mt.SET_LOADING,this.setLoading.bind(this)),a),this.adapter=t.entityAdapter,this.isChangeTracking=!0!==t.noChangeTracking,this.selectId=t.selectId,this.guard=new _0(n,this.selectId),this.toUpdate=wo(this.selectId),this.entityChangeTracker=e||new sl(this.adapter,this.selectId)}return(0,y.Z)(o,[{key:"cancelPersist",value:function(t){return this.setLoadingFalse(t)}},{key:"queryAll",value:function(t){return this.setLoadingTrue(t)}},{key:"queryAllError",value:function(t,e){return this.setLoadingFalse(t)}},{key:"queryAllSuccess",value:function(t,e){var a=this.extractData(e),s=this.extractMergeStrategy(e);return(0,b.Z)((0,b.Z)({},this.entityChangeTracker.mergeQueryResults(a,t,s)),{},{loaded:!0,loading:!1})}},{key:"queryByKey",value:function(t,e){return this.setLoadingTrue(t)}},{key:"queryByKeyError",value:function(t,e){return this.setLoadingFalse(t)}},{key:"queryByKeySuccess",value:function(t,e){var a=this.extractData(e),s=this.extractMergeStrategy(e);return t=null==a?t:this.entityChangeTracker.mergeQueryResults([a],t,s),this.setLoadingFalse(t)}},{key:"queryLoad",value:function(t){return this.setLoadingTrue(t)}},{key:"queryLoadError",value:function(t,e){return this.setLoadingFalse(t)}},{key:"queryLoadSuccess",value:function(t,e){var a=this.extractData(e);return(0,b.Z)((0,b.Z)({},this.adapter.setAll(a,t)),{},{loading:!1,loaded:!0,changeState:{}})}},{key:"queryMany",value:function(t,e){return this.setLoadingTrue(t)}},{key:"queryManyError",value:function(t,e){return this.setLoadingFalse(t)}},{key:"queryManySuccess",value:function(t,e){var a=this.extractData(e),s=this.extractMergeStrategy(e);return(0,b.Z)((0,b.Z)({},this.entityChangeTracker.mergeQueryResults(a,t,s)),{},{loaded:!0,loading:!1})}},{key:"saveAddMany",value:function(t,e){if(this.isOptimistic(e)){var a=this.guard.mustBeEntities(e),s=this.extractMergeStrategy(e);t=this.entityChangeTracker.trackAddMany(a,t,s),t=this.adapter.addMany(a,t)}return this.setLoadingTrue(t)}},{key:"saveAddManyError",value:function(t,e){return this.setLoadingFalse(t)}},{key:"saveAddManySuccess",value:function(t,e){var a=this.guard.mustBeEntities(e),s=this.extractMergeStrategy(e);return t=this.isOptimistic(e)?this.entityChangeTracker.mergeSaveUpserts(a,t,s):this.entityChangeTracker.mergeSaveAdds(a,t,s),this.setLoadingFalse(t)}},{key:"saveAddOne",value:function(t,e){if(this.isOptimistic(e)){var a=this.guard.mustBeEntity(e),s=this.extractMergeStrategy(e);t=this.entityChangeTracker.trackAddOne(a,t,s),t=this.adapter.addOne(a,t)}return this.setLoadingTrue(t)}},{key:"saveAddOneError",value:function(t,e){return this.setLoadingFalse(t)}},{key:"saveAddOneSuccess",value:function(t,e){var a=this.guard.mustBeEntity(e),s=this.extractMergeStrategy(e);if(this.isOptimistic(e)){var u=this.toUpdate(a);t=this.entityChangeTracker.mergeSaveUpdates([u],t,s,!1)}else t=this.entityChangeTracker.mergeSaveAdds([a],t,s);return this.setLoadingFalse(t)}},{key:"saveDeleteOne",value:function(t,e){var a=this.extractData(e),s="object"==typeof a?this.selectId(a):a,u=t.changeState[s];if(u&&(u.changeType===er.Added?(t=this.adapter.removeOne(s,t),t=this.entityChangeTracker.commitOne(s,t),e.payload.skip=!0):t=this.entityChangeTracker.trackDeleteOne(s,t)),this.isOptimistic(e)){var l=this.extractMergeStrategy(e);t=this.entityChangeTracker.trackDeleteOne(s,t,l),t=this.adapter.removeOne(s,t)}return this.setLoadingTrue(t)}},{key:"saveDeleteOneError",value:function(t,e){return this.setLoadingFalse(t)}},{key:"saveDeleteOneSuccess",value:function(t,e){var a=this.extractData(e);if(this.isOptimistic(e)){var s=this.extractMergeStrategy(e);t=this.entityChangeTracker.mergeSaveDeletes([a],t,s)}else t=this.adapter.removeOne(a,t),t=this.entityChangeTracker.commitOne(a,t);return this.setLoadingFalse(t)}},{key:"saveDeleteMany",value:function(t,e){var a=this,s=this.extractData(e).map(function(l){return"object"==typeof l?a.selectId(l):l});if(s.forEach(function(l){var c=t.changeState[l];c&&(c.changeType===er.Added?(t=a.adapter.removeOne(l,t),t=a.entityChangeTracker.commitOne(l,t),e.payload.skip=!0):t=a.entityChangeTracker.trackDeleteOne(l,t))}),this.isOptimistic(e)){var u=this.extractMergeStrategy(e);t=this.entityChangeTracker.trackDeleteMany(s,t,u),t=this.adapter.removeMany(s,t)}return this.setLoadingTrue(t)}},{key:"saveDeleteManyError",value:function(t,e){return this.setLoadingFalse(t)}},{key:"saveDeleteManySuccess",value:function(t,e){var a=this.extractData(e);if(this.isOptimistic(e)){var s=this.extractMergeStrategy(e);t=this.entityChangeTracker.mergeSaveDeletes(a,t,s)}else t=this.adapter.removeMany(a,t),t=this.entityChangeTracker.commitMany(a,t);return this.setLoadingFalse(t)}},{key:"saveUpdateOne",value:function(t,e){var a=this.guard.mustBeUpdate(e);if(this.isOptimistic(e)){var s=this.extractMergeStrategy(e);t=this.entityChangeTracker.trackUpdateOne(a,t,s),t=this.adapter.updateOne(a,t)}return this.setLoadingTrue(t)}},{key:"saveUpdateOneError",value:function(t,e){return this.setLoadingFalse(t)}},{key:"saveUpdateOneSuccess",value:function(t,e){var a=this.guard.mustBeUpdateResponse(e),s=this.isOptimistic(e),u=this.extractMergeStrategy(e);return t=this.entityChangeTracker.mergeSaveUpdates([a],t,u,s),this.setLoadingFalse(t)}},{key:"saveUpdateMany",value:function(t,e){var a=this.guard.mustBeUpdates(e);if(this.isOptimistic(e)){var s=this.extractMergeStrategy(e);t=this.entityChangeTracker.trackUpdateMany(a,t,s),t=this.adapter.updateMany(a,t)}return this.setLoadingTrue(t)}},{key:"saveUpdateManyError",value:function(t,e){return this.setLoadingFalse(t)}},{key:"saveUpdateManySuccess",value:function(t,e){var a=this.guard.mustBeUpdateResponses(e),u=(this.isOptimistic(e),this.extractMergeStrategy(e));return t=this.entityChangeTracker.mergeSaveUpdates(a,t,u,!1),this.setLoadingFalse(t)}},{key:"saveUpsertOne",value:function(t,e){if(this.isOptimistic(e)){var a=this.guard.mustBeEntity(e),s=this.extractMergeStrategy(e);t=this.entityChangeTracker.trackUpsertOne(a,t,s),t=this.adapter.upsertOne(a,t)}return this.setLoadingTrue(t)}},{key:"saveUpsertOneError",value:function(t,e){return this.setLoadingFalse(t)}},{key:"saveUpsertOneSuccess",value:function(t,e){var a=this.guard.mustBeEntity(e),s=this.extractMergeStrategy(e);return t=this.entityChangeTracker.mergeSaveUpserts([a],t,s),this.setLoadingFalse(t)}},{key:"saveUpsertMany",value:function(t,e){if(this.isOptimistic(e)){var a=this.guard.mustBeEntities(e),s=this.extractMergeStrategy(e);t=this.entityChangeTracker.trackUpsertMany(a,t,s),t=this.adapter.upsertMany(a,t)}return this.setLoadingTrue(t)}},{key:"saveUpsertManyError",value:function(t,e){return this.setLoadingFalse(t)}},{key:"saveUpsertManySuccess",value:function(t,e){var a=this.guard.mustBeEntities(e),s=this.extractMergeStrategy(e);return t=this.entityChangeTracker.mergeSaveUpserts(a,t,s),this.setLoadingFalse(t)}},{key:"addAll",value:function(t,e){var a=this.guard.mustBeEntities(e);return(0,b.Z)((0,b.Z)({},this.adapter.setAll(a,t)),{},{loading:!1,loaded:!0,changeState:{}})}},{key:"addMany",value:function(t,e){var a=this.guard.mustBeEntities(e),s=this.extractMergeStrategy(e);return t=this.entityChangeTracker.trackAddMany(a,t,s),this.adapter.addMany(a,t)}},{key:"addOne",value:function(t,e){var a=this.guard.mustBeEntity(e),s=this.extractMergeStrategy(e);return t=this.entityChangeTracker.trackAddOne(a,t,s),this.adapter.addOne(a,t)}},{key:"removeMany",value:function(t,e){var a=this.guard.mustBeKeys(e),s=this.extractMergeStrategy(e);return t=this.entityChangeTracker.trackDeleteMany(a,t,s),this.adapter.removeMany(a,t)}},{key:"removeOne",value:function(t,e){var a=this.guard.mustBeKey(e),s=this.extractMergeStrategy(e);return t=this.entityChangeTracker.trackDeleteOne(a,t,s),this.adapter.removeOne(a,t)}},{key:"removeAll",value:function(t,e){return(0,b.Z)((0,b.Z)({},this.adapter.removeAll(t)),{},{loaded:!1,loading:!1,changeState:{}})}},{key:"updateMany",value:function(t,e){var a=this.guard.mustBeUpdates(e),s=this.extractMergeStrategy(e);return t=this.entityChangeTracker.trackUpdateMany(a,t,s),this.adapter.updateMany(a,t)}},{key:"updateOne",value:function(t,e){var a=this.guard.mustBeUpdate(e),s=this.extractMergeStrategy(e);return t=this.entityChangeTracker.trackUpdateOne(a,t,s),this.adapter.updateOne(a,t)}},{key:"upsertMany",value:function(t,e){var a=this.guard.mustBeEntities(e),s=this.extractMergeStrategy(e);return t=this.entityChangeTracker.trackUpsertMany(a,t,s),this.adapter.upsertMany(a,t)}},{key:"upsertOne",value:function(t,e){var a=this.guard.mustBeEntity(e),s=this.extractMergeStrategy(e);return t=this.entityChangeTracker.trackUpsertOne(a,t,s),this.adapter.upsertOne(a,t)}},{key:"commitAll",value:function(t){return this.entityChangeTracker.commitAll(t)}},{key:"commitMany",value:function(t,e){return this.entityChangeTracker.commitMany(this.extractData(e),t)}},{key:"commitOne",value:function(t,e){return this.entityChangeTracker.commitOne(this.extractData(e),t)}},{key:"undoAll",value:function(t){return this.entityChangeTracker.undoAll(t)}},{key:"undoMany",value:function(t,e){return this.entityChangeTracker.undoMany(this.extractData(e),t)}},{key:"undoOne",value:function(t,e){return this.entityChangeTracker.undoOne(this.extractData(e),t)}},{key:"setChangeState",value:function(t,e){var a=this.extractData(e);return t.changeState===a?t:(0,b.Z)((0,b.Z)({},t),{},{changeState:a})}},{key:"setCollection",value:function(t,e){var a=this.extractData(e);return t===a?t:a}},{key:"setFilter",value:function(t,e){var a=this.extractData(e);return t.filter===a?t:(0,b.Z)((0,b.Z)({},t),{},{filter:a})}},{key:"setLoaded",value:function(t,e){var a=!0===this.extractData(e)||!1;return t.loaded===a?t:(0,b.Z)((0,b.Z)({},t),{},{loaded:a})}},{key:"setLoading",value:function(t,e){return this.setLoadingFlag(t,this.extractData(e))}},{key:"setLoadingFalse",value:function(t){return this.setLoadingFlag(t,!1)}},{key:"setLoadingTrue",value:function(t){return this.setLoadingFlag(t,!0)}},{key:"setLoadingFlag",value:function(t,e){return t.loading===(e=!0===e)?t:(0,b.Z)((0,b.Z)({},t),{},{loading:e})}},{key:"extractData",value:function(t){return t.payload&&t.payload.data}},{key:"extractMergeStrategy",value:function(t){return this.isChangeTracking?t.payload&&t.payload.mergeStrategy:yr.IgnoreChanges}},{key:"isOptimistic",value:function(t){return t.payload&&!0===t.payload.isOptimistic}}]),o}(),cu=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.entityDefinitionService=t}return(0,y.Z)(n,[{key:"create",value:function(e){var a=this.entityDefinitionService.getDefinition(e);return new mc(e,a).methods}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Qi))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),ul=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.methodsFactory=t}return(0,y.Z)(n,[{key:"create",value:function(e){var a=this.methodsFactory.create(e);return function(u,l){var c=a[l.payload.entityOp];return c?c(u,l):u}}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(cu))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),hc=function(){var o=function(){function n(t,e){(0,f.Z)(this,n),this.entityCollectionReducerFactory=t,this.entityCollectionReducers={},this.entityCollectionMetaReducer=Bt.qC.apply(null,e||[])}return(0,y.Z)(n,[{key:"getOrCreateReducer",value:function(e){var a=this.entityCollectionReducers[e];return a||(a=this.entityCollectionReducerFactory.create(e),a=this.registerReducer(e,a),this.entityCollectionReducers[e]=a),a}},{key:"registerReducer",value:function(e,a){return a=this.entityCollectionMetaReducer(a),this.entityCollectionReducers[e.trim()]=a}},{key:"registerReducers",value:function(e){var a=this;(e?Object.keys(e):[]).forEach(function(u){return a.registerReducer(u,e[u])})}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(ul),r.\u0275\u0275inject(qp,8))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),Xp=function(){var o=function(){function n(t,e,a){(0,f.Z)(this,n),this.entityCollectionCreator=t,this.entityCollectionReducerRegistry=e,this.logger=a}return(0,y.Z)(n,[{key:"create",value:function(){return function e(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=arguments.length>1?arguments[1]:void 0;switch(s.type){case Jn.CLEAR_COLLECTIONS:return this.clearCollectionsReducer(a,s);case Jn.LOAD_COLLECTIONS:return this.loadCollectionsReducer(a,s);case Jn.MERGE_QUERY_SET:return this.mergeQuerySetReducer(a,s);case Jn.SAVE_ENTITIES:return this.saveEntitiesReducer(a,s);case Jn.SAVE_ENTITIES_CANCEL:return this.saveEntitiesCancelReducer(a,s);case Jn.SAVE_ENTITIES_ERROR:return this.saveEntitiesErrorReducer(a,s);case Jn.SAVE_ENTITIES_SUCCESS:return this.saveEntitiesSuccessReducer(a,s);case Jn.SET_ENTITY_CACHE:return s.payload.cache}var u=s.payload;return u&&u.entityName&&u.entityOp&&!u.error?this.applyCollectionReducer(a,s):a}.bind(this)}},{key:"clearCollectionsReducer",value:function(e,a){var s=this,l=a.payload.collections,h=mt.REMOVE_ALL;return l||(l=Object.keys(e)),l.reduce(function(C,T){var N={entityName:T,entityOp:h},F={type:"[".concat(T,"] ").concat(a.type),payload:N};return s.applyCollectionReducer(C,F)},e)}},{key:"loadCollectionsReducer",value:function(e,a){var s=this,l=a.payload.collections,h=mt.ADD_ALL;return Object.keys(l).reduce(function(T,N){var F={entityName:N,entityOp:h,data:l[N]},$={type:"[".concat(N,"] ").concat(a.type),payload:F};return s.applyCollectionReducer(T,$)},e)}},{key:"mergeQuerySetReducer",value:function(e,a){var s=this,u=a.payload,l=u.mergeStrategy,c=u.querySet;l=null===l?yr.PreserveChanges:l;var C=mt.QUERY_MANY_SUCCESS;return Object.keys(c).reduce(function(N,F){var $={entityName:F,entityOp:C,data:c[F],mergeStrategy:l},se={type:"[".concat(F,"] ").concat(a.type),payload:$};return s.applyCollectionReducer(N,se)},e)}},{key:"saveEntitiesReducer",value:function(e,a){var s=this,u=a.payload,l=u.changeSet,c=u.correlationId,h=u.isOptimistic,C=u.mergeStrategy,T=u.tag;try{l.changes.forEach(function(F){var $=F.entityName,se={entityName:$,entityOp:N(F),data:F.entities,correlationId:c,isOptimistic:h,mergeStrategy:C,tag:T},ue={type:"[".concat($,"] ").concat(a.type),payload:se};if(e=s.applyCollectionReducer(e,ue),ue.payload.error)throw ue.payload.error})}catch(F){a.payload.error=F}return e;function N(F){switch(F.op){case ti.Add:return mt.SAVE_ADD_MANY;case ti.Delete:return mt.SAVE_DELETE_MANY;case ti.Update:return mt.SAVE_UPDATE_MANY;case ti.Upsert:return mt.SAVE_UPSERT_MANY}}}},{key:"saveEntitiesCancelReducer",value:function(e,a){return this.clearLoadingFlags(e,a.payload.entityNames||[])}},{key:"saveEntitiesErrorReducer",value:function(e,a){var l=a.payload.originalAction.payload.changeSet.changes.map(function(c){return c.entityName});return this.clearLoadingFlags(e,l)}},{key:"saveEntitiesSuccessReducer",value:function(e,a){var s=this,u=a.payload,c=u.correlationId,h=u.isOptimistic,C=u.mergeStrategy,T=u.tag;return u.changeSet.changes.forEach(function(F){var $=F.entityName,se={entityName:$,entityOp:N(F),data:F.entities,correlationId:c,isOptimistic:h,mergeStrategy:C,tag:T},ue={type:"[".concat($,"] ").concat(a.type),payload:se};e=s.applyCollectionReducer(e,ue)}),e;function N(F){switch(F.op){case ti.Add:return mt.SAVE_ADD_MANY_SUCCESS;case ti.Delete:return mt.SAVE_DELETE_MANY_SUCCESS;case ti.Update:return mt.SAVE_UPDATE_MANY_SUCCESS;case ti.Upsert:return mt.SAVE_UPSERT_MANY_SUCCESS}}}},{key:"applyCollectionReducer",value:function(){var c,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0,s=a.payload.entityName,u=e[s],l=this.entityCollectionReducerRegistry.getOrCreateReducer(s);try{c=l(u||this.entityCollectionCreator.create(s),a)}catch(h){this.logger.error(h),a.payload.error=h}return a.payload.error||u===c?e:(0,b.Z)((0,b.Z)({},e),{},(0,d.Z)({},s,c))}},{key:"clearLoadingFlags",value:function(e,a){var s=!1;return a.forEach(function(u){var l=e[u];l.loading&&(s||(e=(0,b.Z)({},e),s=!0),e[u]=(0,b.Z)((0,b.Z)({},l),{},{loading:!1}))}),e}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(bs),r.\u0275\u0275inject(hc),r.\u0275\u0275inject(su))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),xn=function(){var o=function(){function n(){(0,f.Z)(this,n)}return(0,y.Z)(n,[{key:"error",value:function(e,a){e&&(a?console.error(e,a):console.error(e))}},{key:"log",value:function(e,a){e&&(a?console.log(e,a):console.log(e))}},{key:"warn",value:function(e,a){e&&(a?console.warn(e,a):console.warn(e))}}]),n}();return o.\u0275fac=function(t){return new(t||o)},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),gc=["equipment","information","money","series"],vc=function(){var o=function(){function n(t){var e=this;(0,f.Z)(this,n),this.pluralNames={},t&&t.forEach(function(a){return e.registerPluralNames(a)})}return(0,y.Z)(n,[{key:"pluralize",value:function(e){return this.pluralNames[e]||(gc.indexOf(e.toLowerCase())>=0?e:/[aeiou]y$/.test(e)?e+"s":e.endsWith("y")?e.substring(0,e.length-1)+"ies":/[s|ss|sh|ch|x|z]$/.test(e)?e+"es":e+"s")}},{key:"registerPluralNames",value:function(e){this.pluralNames=(0,b.Z)((0,b.Z)({},this.pluralNames),e||{})}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Zp,8))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),Uo=[sc,ol,ys,Hp,Xp,cc,bs,ul,cu,hc,Yi,Gn,Qi,li,fc,On,$i,{provide:uc,useValue:lu},{provide:Dr,useClass:yi},{provide:su,useClass:xn},{provide:r.ENVIRONMENT_INITIALIZER,multi:!0,useValue:function(){return function ll(){var o=(0,r.inject)(Bt.PB),n=(0,r.inject)(Xp),t=(0,r.inject)(uc,{optional:!0}),e=(0,r.inject)(T0,{optional:!0}),a=(0,r.inject)(D0,{optional:!0}),s=t||lu,u=(a||[]).map(function(h){return h instanceof r.InjectionToken?(0,r.inject)(h):h}),l="function"==typeof e?e():e,c={key:s,reducers:n.create(),reducerFactory:Bt.UY,initialState:l||{},metaReducers:u};o.addFeature(c)}()}}],xc=[oc,Up,al,ka,jo,{provide:P0,useClass:A0},{provide:zp,useClass:k0},{provide:uu,useClass:vc},{provide:r.ENVIRONMENT_INITIALIZER,multi:!0,useValue:function(){return function bc(){var o=(0,r.inject)(Yu),n=(0,r.inject)(ka),t=(0,r.inject)(jo);o.addEffects(n),o.addEffects(t)}()}}];function Ra(o){return[{provide:D0,useValue:o.entityCacheMetaReducers?o.entityCacheMetaReducers:[]},{provide:qp,useValue:o.entityCollectionMetaReducers?o.entityCollectionMetaReducers:[]},{provide:Zp,multi:!0,useValue:o.pluralNames?o.pluralNames:{}},{provide:jp,multi:!0,useValue:o.entityMetadata?o.entityMetadata:[]}]}var Cc=function(){var o=function(){function n(){(0,f.Z)(this,n)}return(0,y.Z)(n,null,[{key:"forRoot",value:function(e){return{ngModule:n,providers:[Ra(e)]}}}]),n}();return o.\u0275fac=function(t){return new(t||o)},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({providers:[Uo]}),o}(),ga=function(){var o=function(){function n(){(0,f.Z)(this,n)}return(0,y.Z)(n,null,[{key:"forRoot",value:function(e){return{ngModule:n,providers:[Ra(e)]}}}]),n}();return o.\u0275fac=function(t){return new(t||o)},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({providers:[xc],imports:[Cc]}),o}(),Ui=function(){return(Ui=Ui||{}).Login="[Auth] Login",Ui.Logout="[Auth] Logout",Ui.CompleteAuthentication="[Auth] CompleteAuthentication",Ui.SetUser="[Auth] SetUser",Ui}(),cl=(0,y.Z)(function o(){(0,f.Z)(this,o),this.type=Ui.Login}),Jp=(0,y.Z)(function o(){(0,f.Z)(this,o),this.type=Ui.Logout}),wc=(0,y.Z)(function o(){(0,f.Z)(this,o),this.type=Ui.CompleteAuthentication}),Sc=(0,y.Z)(function o(n){(0,f.Z)(this,o),this.payload=n,this.type=Ui.SetUser}),pu=Object.freeze({__proto__:null,get AuthActionTypes(){return Ui},CompleteAuthentication:wc,Login:cl,Logout:Jp,SetUser:Sc,fromAuthActions:{Login:cl,Logout:Jp,CompleteAuthentication:wc,SetUser:Sc}}),ef={user:void 0,cookies:new Map};function dl(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ef,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case Ui.SetUser:o=(0,b.Z)((0,b.Z)({},o),{},{user:n.payload});break;case Ui.Logout:o=(0,b.Z)((0,b.Z)({},o),{},{user:void 0})}return o}var A2=(0,Bt.ZF)("auth"),O0=(0,Bt.P1)(A2,function(o){return o.user}),pl={getUser:O0},_i=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.store=t,this.getUser$=this.store.pipe((0,Bt.Ys)(pl.getUser)),this.token$=this.store.pipe((0,Bt.Ys)(pl.getUser),(0,Ce.U)(function(e){return e?"".concat(e.token_type," ").concat(e.access_token):void 0})),this.idToken$=this.store.pipe((0,Bt.Ys)(pl.getUser),(0,Ce.U)(function(e){return e?"".concat(e.token_type," ").concat(e.id_token):void 0}))}return(0,y.Z)(n,[{key:"login",value:function(){this.store.dispatch(new cl)}},{key:"logout",value:function(){this.store.dispatch(new Jp)}},{key:"setUser",value:function(e){this.store.dispatch(new Sc(e))}},{key:"completeAuthentication",value:function(){this.store.dispatch(new wc)}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Bt.yh))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),k2={PublicUserProfile:{entityName:"PublicUserProfile"}},R2=function(){var o=function(){function n(t,e,a,s){(0,f.Z)(this,n),this.authFacade=t,this.router=e,this.route=a,this.platformId=s}return(0,y.Z)(n,[{key:"ngOnInit",value:(t=Zt((0,qe.Z)().mark(function a(){return(0,qe.Z)().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:this.authFacade.completeAuthentication(),this.router.navigate(["/pages/create-panel-page"],{queryParams:{cacheBuster:vr()}});case 2:case"end":return u.stop()}},a,this)})),function e(){return t.apply(this,arguments)})}]),n;var t}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(_i),r.\u0275\u0275directiveInject(dr.Router),r.\u0275\u0275directiveInject(dr.ActivatedRoute),r.\u0275\u0275directiveInject(r.PLATFORM_ID))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-auth-callback"]],decls:2,vars:0,template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"p"),r.\u0275\u0275text(1,"auth-callback works!"),r.\u0275\u0275elementEnd())}}),o}(),so=function(){var o=function(){function n(t){(0,f.Z)(this,n),t.registerMetadataMap(k2)}return(0,y.Z)(n,null,[{key:"forRoot",value:function(){return{ngModule:n,providers:[_i]}}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Qi))},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({imports:[P.CommonModule,Bt.Aw.forFeature("auth",dl)]}),o}(),D2=function(){var o=function(){function n(t,e){(0,f.Z)(this,n),this.authFacade=t,this.router=e}return(0,y.Z)(n,[{key:"intercept",value:function(e,a){return a.handle(e).pipe((0,te.b)({error:function(u){}}))}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(_i),r.\u0275\u0275inject(dr.Router))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),Pc=S(7478),M0=S(80464),Go=S(72578),tf=new r.InjectionToken("REQUEST"),st=(new r.InjectionToken("RESPONSE"),S(32673)),Da=(0,y.Z)(function o(n){(0,f.Z)(this,o),n&&(this.authority=n.authority,this.client_id=n.client_id,this.redirect_uri=n.redirect_uri,this.silent_redirect_uri=n.silent_redirect_uri,this.response_type=n.response_type,this.scope=n.scope,this.filterProtocolClaims=n.filterProtocolClaims,this.loadUserInfo=n.loadUserInfo,this.automaticSilentRenew=n.automaticSilentRenew,this.metadata=(0,b.Z)({},n.metadata),this.userStore=n.userStore?n.userStore:void 0,this.stateStore=n.userStore?n.stateStore:void 0)}),fl=(0,B.makeStateKey)("auth"),nf=function(){var o=function(){function n(t,e,a){(0,f.Z)(this,n),this.clientSettings=t,this.platformId=e,this.transferState=a,this.data={},this.isBrowser=(0,P.isPlatformBrowser)(this.platformId),this.cookieMap={oa:"access_token",oi:"id_token",or:"refresh_token",os:"scope",oe:"expires_at",op:"profile"},this.tokenKey="oidc.user:".concat(this.clientSettings.authority,":").concat(this.clientSettings.client_id)}return(0,y.Z)(n,[{key:"request",set:function(e){this.req=e}},{key:"init",value:function(){var e=this;if(this.isBrowser)if(sessionStorage.getItem(this.tokenKey))this.setItem(this.tokenKey,sessionStorage.getItem(this.tokenKey));else if(this.transferState.hasKey(fl)){var a=this.transferState.get(fl,void 0);a&&this.setItem(this.tokenKey,a)}else for(var s=0;s<sessionStorage.length;s++){var u=sessionStorage.key(s);this.setItem(u,sessionStorage.getItem(u))}else{var c,l={token_type:"Bearer"};Object.getOwnPropertyNames(this.cookieMap).forEach(function(h){var C=e.getCookie(h);C&&""!==C&&(C=e.translateFromCookieValue(h,C),"oe"===h?c=C:l[e.cookieMap[h]]=C)}),l.access_token&&(this.data[this.tokenKey]=JSON.stringify(l),this.transferState.set(fl,JSON.stringify((0,b.Z)((0,b.Z)({},l),{},{expires_at:c}))))}}},{key:"getItem",value:function(e){return this.data[e]}},{key:"setItem",value:function(e,a){var s=this;if(e===this.tokenKey){var u=JSON.parse(a);Object.getOwnPropertyNames(this.cookieMap).forEach(function(l){s.setCookie(l,s.translateCookieValue(l,u[s.cookieMap[l]]))})}this.isBrowser&&sessionStorage.setItem(e,a),this.data[e]=a}},{key:"removeItem",value:function(e){this.removeCookie(e),this.isBrowser&&sessionStorage.removeItem(e),delete this.data[e]}},{key:"length",get:function(){return Object.getOwnPropertyNames(this.data).length}},{key:"key",value:function(e){return console.log("index()"),Object.getOwnPropertyNames(this.data)[e]}},{key:"getCookie",value:function(e){return this.isBrowser?Pc.get(e):this.req?null!==(a=this.req.cookies[e])&&void 0!==a?a:"":void 0;var a}},{key:"setCookie",value:function(e,a){this.isBrowser&&Pc.set(e,a)}},{key:"removeCookie",value:function(e){this.isBrowser&&Pc.remove(e)}},{key:"translateCookieValue",value:function(e,a){switch(e){case"os":return a.split(" ").join("|");case"oe":return"".concat(a);case"op":return JSON.stringify(a);default:return a}}},{key:"translateFromCookieValue",value:function(e,a){switch(e){case"os":return a.split("|").join(" ");case"oe":return(0,M0.He)(a);case"op":return JSON.parse(a);default:return a}}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Da),r.\u0275\u0275inject(Object),r.\u0275\u0275inject(B.TransferState))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),ws=function(n,t){return new Go.UserManager(new Da((0,b.Z)((0,b.Z)({},n),{},{stateStore:new Go.WebStorageStateStore({store:t}),userStore:new Go.WebStorageStateStore({store:t})})))},Ac=function(n,t,e){return function(){return new Promise(function(a){n.getUser().then(function(s){s?(t.setUser(s),setTimeout(function(){return a()})):a()})})}},Ho=function(n,t,e,a){var s=new nf(n,t,a);if((0,P.isPlatformServer)(t))try{s.request=e.get(tf)}catch{}return s.init(),s},rf=function(){var o=(0,y.Z)(function n(t,e,a){var s=this;(0,f.Z)(this,n),this.actions$=t,this.userManager=e,this.entityActionFactory=a,this.login$=vi(function(){return s.actions$.pipe(Ga(pu.AuthActionTypes.Login),(0,te.b)(function(){s.userManager.signinRedirect()}))},{dispatch:!1}),this.logout$=vi(function(){return s.actions$.pipe(Ga(pu.AuthActionTypes.Logout),(0,te.b)(function(){s.userManager.signoutRedirect()}))},{dispatch:!1}),this.completeAuthentication$=vi(function(){return s.actions$.pipe(Ga(pu.AuthActionTypes.CompleteAuthentication),(0,st.w)(function(){return new W.y(function(u){s.userManager.signinRedirectCallback().then(function(l){u.next(new pu.SetUser(l)),u.complete()})})}))}),this.loadCookies$=vi(function(){return s.actions$.pipe(tl("Cookie"),io([mt.QUERY_ALL_SUCCESS]),(0,te.b)(function(u){return console.log(u.payload.data)}),(0,te.b)(function(u){}))},{dispatch:!1})});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(to),r.\u0275\u0275inject(Go.UserManager),r.\u0275\u0275inject(ys))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),af={Cookie:{entityName:"Cookie"}},sf=new r.InjectionToken("ClientSettings"),N0=function(){var o=function(){function n(t){(0,f.Z)(this,n),t.registerMetadataMap(af)}return(0,y.Z)(n,null,[{key:"forRoot",value:function(){return{ngModule:n,providers:[{provide:nf,useFactory:Ho,deps:[sf,r.PLATFORM_ID,r.Injector,B.TransferState]},{provide:Go.UserManager,useFactory:ws,deps:[sf,nf]},{provide:r.APP_INITIALIZER,useFactory:Ac,multi:!0,deps:[Go.UserManager,_i,r.PLATFORM_ID]}]}}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Qi))},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({imports:[so,ou.forFeature([rf])]}),o}(),Ss=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.authFacade=t}return(0,y.Z)(n,[{key:"intercept",value:function(e,a){return this.authFacade.idToken$.pipe((0,An.q)(1),(0,Zi.b)(function(s){var u=e.headers;if(e.url.indexOf("/awproxy"),s&&-1===e.url.indexOf("github")&&-1===e.url.indexOf("cloudfront")&&-1===e.url.indexOf("cloudinary")&&-1===e.url.indexOf("carquery")&&-1===e.url.indexOf("gateway.marvel.com")&&-1===e.url.indexOf("hereapi.com")&&-1===e.url.indexOf(".es.")&&-1===e.url.indexOf(".s3.")&&-1===e.url.indexOf("/awproxy")){u=u.set("Authorization",s);var l=e.clone({headers:u});return a.handle(l)}var c=e.clone({headers:u});return a.handle(c)}))}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(_i))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),pn=S(31348),$n=S(91640),kc=S(14423),uf=S(5463);function Rc(o,n){var t="object"==typeof n;return new Promise(function(e,a){var s=new uf.Hp({next:function(l){e(l),s.unsubscribe()},error:a,complete:function(){t?e(n.defaultValue):a(new kc.K)}});o.subscribe(s)})}var lf=function(){var o=(0,y.Z)(function n(t,e){var a=this;(0,f.Z)(this,n),this.actions$=t,this.entityActionFactory=e,this.setUser=vi(function(){return a.actions$.pipe(Ga(pu.AuthActionTypes.SetUser),(0,Ce.U)(function(){return a.entityActionFactory.create("Cookie",mt.QUERY_ALL)}))}),this.loadCookies$=vi(function(){return a.actions$.pipe(tl("Cookie"),io([mt.QUERY_ALL_SUCCESS]),(0,te.b)(function(s){return console.log(s.payload.data)}),(0,te.b)(function(s){s.payload.data.forEach(function(u){return Pc.set(u.name,u.value,{expires:new Date((new Date).getTime()+36e5)})})}))},{dispatch:!1})});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(to),r.\u0275\u0275inject(ys))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),cf=function(){var o=(0,y.Z)(function n(){(0,f.Z)(this,n)});return o.\u0275fac=function(t){return new(t||o)},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({imports:[ou.forFeature([lf])]}),o}(),ml=(0,y.Z)(function o(n){(0,f.Z)(this,o),n&&(this.identityPoolId=n.identityPoolId,this.region=n.region,this.userPoolId=n.userPoolId)}),Dc=new r.InjectionToken("CognitoSettings");function uo(o){var n,t,e,a=2;for(typeof Symbol<"u"&&(t=Symbol.asyncIterator,e=Symbol.iterator);a--;){if(t&&null!=(n=o[t]))return n.call(o);if(e&&null!=(n=o[e]))return new Tc(n.call(o));t="@@asyncIterator",e="@@iterator"}throw new TypeError("Object is not async iterable")}function Tc(o){function n(t){if(Object(t)!==t)return Promise.reject(new TypeError(t+" is not an object."));var e=t.done;return Promise.resolve(t.value).then(function(a){return{value:a,done:e}})}return(Tc=function(e){this.s=e,this.n=e.next}).prototype={s:null,n:null,next:function(){return n(this.n.apply(this.s,arguments))},return:function(e){var a=this.s.return;return void 0===a?Promise.resolve({value:e,done:!0}):n(a.apply(this.s,arguments))},throw:function(e){var a=this.s.return;return void 0===a?Promise.reject(e):n(a.apply(this.s,arguments))}},new Tc(o)}var V0=function(){function o(){(0,f.Z)(this,o),this.onabort=null,this._aborted=!1,Object.defineProperty(this,"_aborted",{value:!1,writable:!0})}return(0,y.Z)(o,[{key:"aborted",get:function(){return this._aborted}},{key:"abort",value:function(){this._aborted=!0,this.onabort&&(this.onabort(this),this.onabort=null)}}]),o}(),I2=function(){function o(){(0,f.Z)(this,o),this.signal=new V0}return(0,y.Z)(o,[{key:"abort",value:function(){this.signal.abort()}}]),o}(),p=function(){var o=Zt((0,qe.Z)().mark(function n(t){var e;return(0,qe.Z)().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:if(e=t?.Bucket||"","string"==typeof t.Bucket&&(t.Bucket=e.replace(/#/g,encodeURIComponent("#")).replace(/\?/g,encodeURIComponent("?"))),!Ue(e)){s.next=7;break}if(!0!==t.ForcePathStyle){s.next=5;break}throw new Error("Path-style addressing cannot be used with ARN buckets");case 5:s.next=8;break;case 7:(!ke(e)||-1!==e.indexOf(".")&&!String(t.Endpoint).startsWith("http:")||e.toLowerCase()!==e||e.length<3)&&(t.ForcePathStyle=!0);case 8:return t.DisableMultiRegionAccessPoints&&(t.disableMultiRegionAccessPoints=!0,t.DisableMRAP=!0),s.abrupt("return",t);case 10:case"end":return s.stop()}},n)}));return function(t){return o.apply(this,arguments)}}(),m=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,w=/(\d+\.){3}\d+/,q=/\.\./,ke=function(n){return m.test(n)&&!w.test(n)&&!q.test(n)},Ue=function(n){var t=n.split(":"),e=(0,g.Z)(t,6),a=e[0],s=e[1],u=e[2],c=e[4],h=e[5],C="arn"===a&&n.split(":").length>=6,T=5===[a,s,u,c,h].filter(Boolean).length;if(C&&!T)throw new Error("Invalid ARN: ".concat(n," was an invalid ARN."));return!!("arn"===a&&s&&u&&c&&h)},xt=function(n,t,e){var a=function(){var s=Zt((0,qe.Z)().mark(function u(){var l,c;return(0,qe.Z)().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:if("function"!=typeof(c=null!==(l=e[n])&&void 0!==l?l:e[t])){C.next=3;break}return C.abrupt("return",c());case 3:return C.abrupt("return",c);case 4:case"end":return C.stop()}},u)}));return function(){return s.apply(this,arguments)}}();return"endpoint"===n||"endpoint"===t?Zt((0,qe.Z)().mark(function s(){var u,c,h,C;return(0,qe.Z)().wrap(function(N){for(;;)switch(N.prev=N.next){case 0:return N.next=2,a();case 2:if(!(u=N.sent)||"object"!=typeof u){N.next=9;break}if(!("url"in u)){N.next=6;break}return N.abrupt("return",u.url.href);case 6:if(!("hostname"in u)){N.next=9;break}return c=u.hostname,h=u.port,C=u.path,N.abrupt("return","".concat(u.protocol,"//").concat(c).concat(h?":"+h:"").concat(C));case 9:return N.abrupt("return",u);case 10:case"end":return N.stop()}},s)})):a},Mt=function(){var o=Zt((0,qe.Z)().mark(function n(t,e,a,s){var u,l;return(0,qe.Z)().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.next=2,Ht(t,e,a);case 2:if(u=h.sent,"function"==typeof a.endpointProvider){h.next=5;break}throw new Error("config.endpointProvider is not set.");case 5:return l=a.endpointProvider(u,s),h.abrupt("return",l);case 7:case"end":return h.stop()}},n)}));return function(t,e,a,s){return o.apply(this,arguments)}}(),Ht=function(){var o=Zt((0,qe.Z)().mark(function n(t,e,a){var s,u,l,c,h,C,T,N;return(0,qe.Z)().wrap(function($){for(;;)switch($.prev=$.next){case 0:u={},l=(null==e||null===(s=e.getEndpointParameterInstructions)||void 0===s?void 0:s.call(e))||{},c=0,h=Object.entries(l);case 3:if(!(c<h.length)){$.next=20;break}C=(0,g.Z)(h[c],2),T=C[0],$.t0=(N=C[1]).type,$.next="staticContextParams"===$.t0?8:"contextParams"===$.t0?10:"clientContextParams"===$.t0||"builtInParams"===$.t0?12:16;break;case 8:return u[T]=N.value,$.abrupt("break",17);case 10:return u[T]=t[N.name],$.abrupt("break",17);case 12:return $.next=14,xt(N.name,T,a)();case 14:return u[T]=$.sent,$.abrupt("break",17);case 16:throw new Error("Unrecognized endpoint parameter instruction: "+JSON.stringify(N));case 17:c++,$.next=3;break;case 20:if(0===Object.keys(l).length&&Object.assign(u,a),"s3"!==String(a.serviceId).toLowerCase()){$.next=24;break}return $.next=24,p(u);case 24:return $.abrupt("return",u);case 25:case"end":return $.stop()}},n)}));return function(t,e,a){return o.apply(this,arguments)}}(),bn=function o(n){if("string"==typeof n)return o(new URL(n));var l,t=n.hostname,e=n.pathname,a=n.port,s=n.protocol,u=n.search;return u&&(l=function yn(o){var n={};if(o=o.replace(/^\?/,"")){var e,t=(0,ee.Z)(o.split("&"));try{for(t.s();!(e=t.n()).done;){var s=e.value.split("="),u=(0,g.Z)(s,2),l=u[0],c=u[1],h=void 0===c?null:c;l=decodeURIComponent(l),h&&(h=decodeURIComponent(h)),l in n?Array.isArray(n[l])?n[l].push(h):n[l]=[n[l],h]:n[l]=h}}catch(C){t.e(C)}finally{t.f()}}return n}(u)),{hostname:t,port:a?parseInt(a):void 0,protocol:s,path:e,query:l}},sr=function(n){return"object"==typeof n?"url"in n?bn(n.url):n:bn(n)},St={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},ht={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};function It(o,n,t){return{applyToStack:function(a){a.add(function(n,t){return function(e,a){return function(){var s=Zt((0,qe.Z)().mark(function u(l){var h;return(0,qe.Z)().wrap(function(F){for(;;)switch(F.prev=F.next){case 0:return F.next=2,e(l);case 2:return h=F.sent.response,F.prev=4,F.next=7,t(h,n);case 7:return F.abrupt("return",{response:h,output:F.sent});case 11:throw F.prev=11,F.t0=F.catch(4),Object.defineProperty(F.t0,"$response",{value:h}),"$metadata"in F.t0||(F.t0.message+="\n Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object."),F.t0;case 16:case"end":return F.stop()}},u,null,[[4,11]])}));return function(u){return s.apply(this,arguments)}}()}}(o,t),St),a.add(function(n,t){return function(e,a){return function(){var s=Zt((0,qe.Z)().mark(function u(l){var c,h,C;return(0,qe.Z)().wrap(function(N){for(;;)switch(N.prev=N.next){case 0:if(h=null!==(c=a.endpointV2)&&void 0!==c&&c.url&&n.urlParser?Zt((0,qe.Z)().mark(function F(){return(0,qe.Z)().wrap(function(se){for(;;)switch(se.prev=se.next){case 0:return se.abrupt("return",n.urlParser(a.endpointV2.url));case 1:case"end":return se.stop()}},F)})):n.endpoint){N.next=3;break}throw new Error("No valid endpoint provider available.");case 3:return N.next=5,t(l.input,(0,b.Z)((0,b.Z)({},n),{},{endpoint:h}));case 5:return C=N.sent,N.abrupt("return",e((0,b.Z)((0,b.Z)({},l),{},{request:C})));case 7:case"end":return N.stop()}},u)}));return function(u){return s.apply(this,arguments)}}()}}(o,n),ht)}}}var rn={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:!0,relation:"before",toMiddleware:ht.name},dn=function(n,t){return{applyToStack:function(a){a.addRelativeTo(function(n){var t=n.config,e=n.instructions;return function(a,s){return function(){var u=Zt((0,qe.Z)().mark(function l(c){var h,C,T,N;return(0,qe.Z)().wrap(function($){for(;;)switch($.prev=$.next){case 0:return $.next=2,Mt(c.input,{getEndpointParameterInstructions:function(){return e}},(0,b.Z)({},t),s);case 2:return s.endpointV2=T=$.sent,s.authSchemes=null===(h=T.properties)||void 0===h?void 0:h.authSchemes,(N=null===(C=s.authSchemes)||void 0===C?void 0:C[0])&&(s.signing_region=N.signingRegion,s.signing_service=N.signingName),$.abrupt("return",a((0,b.Z)({},c)));case 8:case"end":return $.stop()}},l)}));return function(l){return u.apply(this,arguments)}}()}}({config:n,instructions:t}),rn)}}},_n=function(n){if("function"==typeof n)return n;var t=Promise.resolve(n);return function(){return t}},nr=function(n){var t,e,a,s=null===(t=n.tls)||void 0===t||t,u=n.endpoint,l=null!=u?Zt((0,qe.Z)().mark(function h(){return(0,qe.Z)().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:return T.t0=sr,T.next=3,_n(u)();case 3:return T.t1=T.sent,T.abrupt("return",(0,T.t0)(T.t1));case 5:case"end":return T.stop()}},h)})):void 0,c=!!u;return(0,b.Z)((0,b.Z)({},n),{},{endpoint:l,tls:s,isCustomEndpoint:c,useDualstackEndpoint:_n(null!==(e=n.useDualstackEndpoint)&&void 0!==e&&e),useFipsEndpoint:_n(null!==(a=n.useFipsEndpoint)&&void 0!==a&&a)})},rr=function(){function o(n){(0,f.Z)(this,o),this.method=n.method||"GET",this.hostname=n.hostname||"localhost",this.port=n.port,this.query=n.query||{},this.headers=n.headers||{},this.body=n.body,this.protocol=n.protocol?":"!==n.protocol.slice(-1)?"".concat(n.protocol,":"):n.protocol:"https:",this.path=n.path?"/"!==n.path.charAt(0)?"/".concat(n.path):n.path:"/",this.username=n.username,this.password=n.password,this.fragment=n.fragment}return(0,y.Z)(o,[{key:"clone",value:function(){var t=new o((0,b.Z)((0,b.Z)({},this),{},{headers:(0,b.Z)({},this.headers)}));return t.query&&(t.query=function Wn(o){return Object.keys(o).reduce(function(n,t){var e=o[t];return(0,b.Z)((0,b.Z)({},n),{},(0,d.Z)({},t,Array.isArray(e)?(0,_.Z)(e):e))},{})}(t.query)),t}}],[{key:"isInstance",value:function(t){return!!t&&("method"in t&&"protocol"in t&&"hostname"in t&&"path"in t&&"object"==typeof t.query&&"object"==typeof t.headers)}}]),o}(),_r=function(){return(_r=_r||{}).MD5="MD5",_r.CRC32="CRC32",_r.CRC32C="CRC32C",_r.SHA1="SHA1",_r.SHA256="SHA256",_r}(),O2=[_r.CRC32,_r.CRC32C,_r.SHA1,_r.SHA256],pF=[_r.CRC32,_r.CRC32C,_r.SHA1,_r.SHA256],fF=function(n,t){var a=t.requestAlgorithmMember;if(!a||!n[a])return t.requestChecksumRequired?_r.MD5:void 0;var s=n[a];if(!O2.includes(s))throw new Error('The checksum algorithm "'.concat(s,'" is not supported by the client.')+" Select one of ".concat(O2,"."));return s},wk=function(n){return n===_r.MD5?"content-md5":"x-amz-checksum-".concat(n.toLowerCase())},mF=function(n,t){for(var e=n.toLowerCase(),a=0,s=Object.keys(t);a<s.length;a++)if(e===s[a].toLowerCase())return!0;return!1},Sk=function(n){return"function"==typeof ArrayBuffer&&n instanceof ArrayBuffer||"[object ArrayBuffer]"===Object.prototype.toString.call(n)},Ek=function(n){return void 0!==n&&"string"!=typeof n&&!ArrayBuffer.isView(n)&&!Sk(n)},hF=S(42562),gF=S(25423),Pk=function(n,t){var e;return(e={},(0,d.Z)(e,_r.MD5,t.md5),(0,d.Z)(e,_r.CRC32,hF.AwsCrc32),(0,d.Z)(e,_r.CRC32C,gF.AwsCrc32c),(0,d.Z)(e,_r.SHA1,t.sha1),(0,d.Z)(e,_r.SHA256,t.sha256),e)[n]},df=function(n){return(new TextEncoder).encode(n)},Ic=function(n){return"string"==typeof n?df(n):ArrayBuffer.isView(n)?new Uint8Array(n.buffer,n.byteOffset,n.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(n)},Ak=function(n,t){var e=new n;return e.update(Ic(t||"")),e.digest()},vF=function(){var o=Zt(function(n,t){var e=t.streamHasher,a=t.checksumAlgorithmFn,s=t.base64Encoder;return(0,qe.Z)().mark(function u(){var l;return(0,qe.Z)().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return l=Ek(n)?e(a,n):Ak(a,n),h.t0=s,h.next=4,l;case 4:return h.t1=h.sent,h.abrupt("return",(0,h.t0)(h.t1));case 6:case"end":return h.stop()}},u)})()});return function(t,e){return o.apply(this,arguments)}}(),yF=function(){var a,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=[],e=(0,ee.Z)(pF);try{for(e.s();!(a=e.n()).done;){var s=a.value;!n.includes(s)||!O2.includes(s)||t.push(s)}}catch(u){e.e(u)}finally{e.f()}return t},_F=function(){var o=Zt(function(n,t){var e=t.config,a=t.responseAlgorithms;return(0,qe.Z)().mark(function s(){var u,l,c,h,C,T,N,F,$,se,ue,ge;return(0,qe.Z)().wrap(function(we){for(;;)switch(we.prev=we.next){case 0:u=yF(a),l=n.body,c=n.headers,h=(0,ee.Z)(u),we.prev=3,h.s();case 5:if((C=h.n()).done){we.next=20;break}if(N=wk(T=C.value),!(F=c[N])){we.next=18;break}return $=Pk(T,e),se=e.streamHasher,ue=e.base64Encoder,we.next=14,vF(l,{streamHasher:se,checksumAlgorithmFn:$,base64Encoder:ue});case 14:if((ge=we.sent)!==F){we.next=17;break}return we.abrupt("break",20);case 17:throw new Error('Checksum mismatch: expected "'.concat(ge,'" but received "').concat(F,'"')+' in response header "'.concat(N,'".'));case 18:we.next=5;break;case 20:we.next=25;break;case 22:we.prev=22,we.t0=we.catch(3),h.e(we.t0);case 25:return we.prev=25,h.f(),we.finish(25);case 28:case"end":return we.stop()}},s,null,[[3,22,25,28]])})()});return function(t,e){return o.apply(this,arguments)}}(),bF={name:"flexibleChecksumsMiddleware",step:"build",tags:["BODY_CHECKSUM"],override:!0},F2=function(n,t){return{applyToStack:function(a){a.add(function(n,t){return function(e){return function(){var a=Zt((0,qe.Z)().mark(function s(u){var l,c,h,C,T,N,se,ue,ge,Se,we,dt,Ot,pt,Lt;return(0,qe.Z)().wrap(function(tn){for(;;)switch(tn.prev=tn.next){case 0:if(rr.isInstance(u.request)){tn.next=2;break}return tn.abrupt("return",e(u));case 2:if(c=(l=u.request).body,h=l.headers,C=n.base64Encoder,T=n.streamHasher,se=fF(N=t.input,{requestChecksumRequired:t.requestChecksumRequired,requestAlgorithmMember:t.requestAlgorithmMember}),ue=c,ge=h,!se){tn.next=24;break}if(Se=wk(se),we=Pk(se,n),!Ek(c)){tn.next=19;break}ue=(0,n.getAwsChunkedEncodingStream)(c,{base64Encoder:C,bodyLengthChecker:n.bodyLengthChecker,checksumLocationName:Se,checksumAlgorithmFn:we,streamHasher:T}),delete(ge=(0,b.Z)((0,b.Z)({},h),{},{"content-encoding":h["content-encoding"]?"".concat(h["content-encoding"],",aws-chunked"):"aws-chunked","transfer-encoding":"chunked","x-amz-decoded-content-length":h["content-length"],"x-amz-content-sha256":"STREAMING-UNSIGNED-PAYLOAD-TRAILER","x-amz-trailer":Se}))["content-length"],tn.next=24;break;case 19:if(mF(Se,h)){tn.next=24;break}return tn.next=22,Ak(we,c);case 22:dt=tn.sent,ge=(0,b.Z)((0,b.Z)({},h),{},(0,d.Z)({},Se,C(dt)));case 24:return tn.next=26,e((0,b.Z)((0,b.Z)({},u),{},{request:(0,b.Z)((0,b.Z)({},l),{},{headers:ge,body:ue})}));case 26:return Ot=tn.sent,Lt=t.responseAlgorithms,(pt=t.requestValidationModeMember)&&"ENABLED"===N[pt]&&_F(Ot.response,{config:n,responseAlgorithms:Lt}),tn.abrupt("return",Ot);case 30:case"end":return tn.stop()}},s)}));return function(s){return a.apply(this,arguments)}}()}}(n,t),bF)}}},SF={step:"finalizeRequest",tags:["CHECK_CONTENT_LENGTH_HEADER"],name:"getCheckContentLengthHeaderPlugin",override:!0},pf=function(){function o(n){(0,f.Z)(this,o),this.statusCode=n.statusCode,this.reason=n.reason,this.headers=n.headers||{},this.body=n.body}return(0,y.Z)(o,null,[{key:"isInstance",value:function(t){return!!t&&("number"==typeof t.statusCode&&"object"==typeof t.headers)}}]),o}(),kk=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Uint8Array,t=arguments.length>1?arguments[1]:void 0;return n instanceof Uint8Array?Promise.resolve(n):t.streamCollector(n)||Promise.resolve(new Uint8Array)},kF=function(n,t){return kk(n,t).then(function(e){return t.utf8Encoder(e)})},RF={relation:"after",toMiddleware:"deserializerMiddleware",tags:["THROW_200_EXCEPTIONS","S3"],name:"throw200ExceptionsMiddleware",override:!0},TF=function(n){return"string"==typeof n&&0===n.indexOf("arn:")&&n.split(":").length>=6},OF={step:"initialize",tags:["VALIDATE_BUCKET_NAME"],name:"validateBucketNameMiddleware",override:!0},NF={name:"ssecMiddleware",step:"initialize",tags:["SSE"],override:!0},B0=function(n){return{applyToStack:function(e){e.add(function MF(o){return function(n){return function(){var t=Zt((0,qe.Z)().mark(function e(a){var s,l,c,h,C,T,N,F,$;return(0,qe.Z)().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:s=(0,b.Z)({},a.input),l=0,c=[{target:"SSECustomerKey",hash:"SSECustomerKeyMD5"},{target:"CopySourceSSECustomerKey",hash:"CopySourceSSECustomerKeyMD5"}];case 3:if(!(l<c.length)){ue.next=30;break}if(!(C=s[(h=c[l]).target])){ue.next=27;break}return N=ArrayBuffer.isView(C)?new Uint8Array(C.buffer,C.byteOffset,C.byteLength):"string"==typeof C?o.utf8Decoder(C):new Uint8Array(C),F=o.base64Encoder(N),($=new o.md5).update(N),ue.t0=b.Z,ue.t1=(0,b.Z)({},s),ue.t2={},(0,d.Z)(T={},h.target,F),ue.t3=d.Z,ue.t4=T,ue.t5=h.hash,ue.t6=o,ue.next=22,$.digest();case 22:ue.t7=ue.sent,ue.t8=ue.t6.base64Encoder.call(ue.t6,ue.t7),(0,ue.t3)(ue.t4,ue.t5,ue.t8),ue.t9=T,s=(0,ue.t0)(ue.t1,ue.t2,ue.t9);case 27:l++,ue.next=3;break;case 30:return ue.abrupt("return",n((0,b.Z)((0,b.Z)({},a),{},{input:s})));case 31:case"end":return ue.stop()}},e)}));return function(e){return t.apply(this,arguments)}}()}}(n),NF)}}},Rk=function(){function o(){(0,f.Z)(this,o)}return(0,y.Z)(o,[{key:"trace",value:function(){}},{key:"debug",value:function(){}},{key:"info",value:function(){}},{key:"warn",value:function(){}},{key:"error",value:function(){}}]),o}(),Dk=function o(){var n=[],t=[],e=new Set,l=function(N){return n.forEach(function(F){N.add(F.middleware,(0,b.Z)({},F))}),t.forEach(function(F){N.addRelativeTo(F.middleware,(0,b.Z)({},F))}),N},c=function T(N){var F=[];return N.before.forEach(function($){0===$.before.length&&0===$.after.length?F.push($):F.push.apply(F,(0,_.Z)(T($)))}),F.push(N),N.after.reverse().forEach(function($){0===$.before.length&&0===$.after.length?F.push($):F.push.apply(F,(0,_.Z)(T($)))}),F},h=function(){var N=arguments.length>0&&void 0!==arguments[0]&&arguments[0],F=[],$=[],se={};n.forEach(function(ge){var Se=(0,b.Z)((0,b.Z)({},ge),{},{before:[],after:[]});Se.name&&(se[Se.name]=Se),F.push(Se)}),t.forEach(function(ge){var Se=(0,b.Z)((0,b.Z)({},ge),{},{before:[],after:[]});Se.name&&(se[Se.name]=Se),$.push(Se)}),$.forEach(function(ge){if(ge.toMiddleware){var Se=se[ge.toMiddleware];if(void 0===Se){if(N)return;throw new Error("".concat(ge.toMiddleware," is not found when adding ").concat(ge.name||"anonymous"," middleware ").concat(ge.relation," ").concat(ge.toMiddleware))}"after"===ge.relation&&Se.after.push(ge),"before"===ge.relation&&Se.before.push(ge)}});var ue=function(N){return N.sort(function(F,$){return Tk[$.step]-Tk[F.step]||Ik[$.priority||"normal"]-Ik[F.priority||"normal"]})}(F).map(c).reduce(function(ge,Se){return ge.push.apply(ge,(0,_.Z)(Se)),ge},[]);return ue},C={add:function(N){var F=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},$=F.name,se=F.override,ue=(0,b.Z)({step:"initialize",priority:"normal",middleware:N},F);if($){if(e.has($)){if(!se)throw new Error("Duplicate middleware name '".concat($,"'"));var ge=n.findIndex(function(we){return we.name===$}),Se=n[ge];if(Se.step!==ue.step||Se.priority!==ue.priority)throw new Error('"'.concat($,'" middleware with ').concat(Se.priority," priority in ").concat(Se.step," step cannot be ")+"overridden by same-name middleware with ".concat(ue.priority," priority in ").concat(ue.step," step."));n.splice(ge,1)}e.add($)}n.push(ue)},addRelativeTo:function(N,F){var $=F.name,se=F.override,ue=(0,b.Z)({middleware:N},F);if($){if(e.has($)){if(!se)throw new Error("Duplicate middleware name '".concat($,"'"));var ge=t.findIndex(function(we){return we.name===$}),Se=t[ge];if(Se.toMiddleware!==ue.toMiddleware||Se.relation!==ue.relation)throw new Error('"'.concat($,'" middleware ').concat(Se.relation,' "').concat(Se.toMiddleware,'" middleware cannot be overridden ')+"by same-name middleware ".concat(ue.relation,' "').concat(ue.toMiddleware,'" middleware.'));t.splice(ge,1)}e.add($)}t.push(ue)},clone:function(){return l(o())},use:function(N){N.applyToStack(C)},remove:function(N){return"string"==typeof N?function(N){var F=!1,$=function(ue){return!ue.name||ue.name!==N||(F=!0,e.delete(N),!1)};return n=n.filter($),t=t.filter($),F}(N):function(N){var F=!1,$=function(ue){return ue.middleware!==N||(F=!0,ue.name&&e.delete(ue.name),!1)};return n=n.filter($),t=t.filter($),F}(N)},removeByTag:function(N){var F=!1,$=function(ue){var ge=ue.tags,Se=ue.name;return!ge||!ge.includes(N)||(Se&&e.delete(Se),F=!0,!1)};return n=n.filter($),t=t.filter($),F},concat:function(N){var F=l(o());return F.use(N),F},applyToStack:l,identify:function(){return h(!0).map(function(N){return N.name+": "+(N.tags||[]).join(",")})},resolve:function(N,F){var se,$=(0,ee.Z)(h().map(function(ge){return ge.middleware}).reverse());try{for($.s();!(se=$.n()).done;)N=(0,se.value)(N,F)}catch(ge){$.e(ge)}finally{$.f()}return N}};return C},Tk={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},Ik={high:3,normal:2,low:1},Ok=function(){function o(n){(0,f.Z)(this,o),this.middlewareStack=Dk(),this.config=n}return(0,y.Z)(o,[{key:"send",value:function(t,e,a){var u="function"==typeof e?e:a,l=t.resolveMiddleware(this.middlewareStack,this.config,"function"!=typeof e?e:void 0);if(!u)return l(t).then(function(c){return c.output});l(t).then(function(c){return u(null,c.output)},function(c){return u(c)}).catch(function(){})}},{key:"destroy",value:function(){this.config.requestHandler.destroy&&this.config.requestHandler.destroy()}}]),o}(),hl=(0,y.Z)(function o(){(0,f.Z)(this,o),this.middlewareStack=Dk()}),Ia="***SensitiveInformation***",Z0=function(n){switch(n){case"true":return!0;case"false":return!1;default:throw new Error('Unable to parse boolean value "'.concat(n,'"'))}},ff=function(n){if(null!=n){if("string"==typeof n){var t=parseFloat(n);if(!Number.isNaN(t))return String(t)!==String(n)&&j0.warn(L0("Expected number but observed string: ".concat(n))),t}if("number"==typeof n)return n;throw new TypeError("Expected number, got ".concat(typeof n,": ").concat(n))}},VF=Math.ceil(Math.pow(2,127)*(2-Math.pow(2,-23))),V2=function(n,t){var e=function(n){if(null!=n){if(Number.isInteger(n)&&!Number.isNaN(n))return n;throw new TypeError("Expected integer, got ".concat(typeof n,": ").concat(n))}}(n);if(void 0!==e&&BF(e,t)!==e)throw new TypeError("Expected ".concat(t,"-bit integer, got ").concat(n));return e},BF=function(n,t){switch(t){case 32:return Int32Array.of(n)[0];case 16:return Int16Array.of(n)[0];case 8:return Int8Array.of(n)[0]}},gl=function(n,t){if(null==n)throw t?new TypeError("Expected a non-null value for ".concat(t)):new TypeError("Expected a non-null value");return n},B2=function(n){if(null!=n){if("object"==typeof n&&!Array.isArray(n))return n;var t=Array.isArray(n)?"array":typeof n;throw new TypeError("Expected object, got ".concat(t,": ").concat(n))}},va=function(n){if(null!=n){if("string"==typeof n)return n;if(["boolean","number","bigint"].includes(typeof n))return j0.warn(L0("Expected string, got ".concat(typeof n,": ").concat(n))),String(n);throw new TypeError("Expected string, got ".concat(typeof n,": ").concat(n))}},jF=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g,Oc=function(n){var t=n.match(jF);if(null===t||t[0].length!==n.length)throw new TypeError("Expected real number, got implicit NaN");return parseFloat(n)},Z2=function(n){return function(n){return V2(n,16)}("string"==typeof n?Oc(n):n)},L0=function(n){return String(new TypeError(n).stack||n).split("\n").slice(0,5).filter(function(t){return!t.includes("stackTraceWarning")}).join("\n")},j0={warn:console.warn},UF=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],L2=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Bk(o){var n=o.getUTCFullYear(),t=o.getUTCMonth(),e=o.getUTCDay(),a=o.getUTCDate(),s=o.getUTCHours(),u=o.getUTCMinutes(),l=o.getUTCSeconds(),c=a<10?"0".concat(a):"".concat(a),h=s<10?"0".concat(s):"".concat(s),C=u<10?"0".concat(u):"".concat(u),T=l<10?"0".concat(l):"".concat(l);return"".concat(UF[e],", ").concat(c," ").concat(L2[t]," ").concat(n," ").concat(h,":").concat(C,":").concat(T," GMT")}var HF=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d{2}) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),qF=new RegExp(/^(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d{2})-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),KF=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( [1-9]|\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? (\d{4})$/),WF=function(n){if(null!=n){if("string"!=typeof n)throw new TypeError("RFC-7231 date-times must be expressed as strings");var t=HF.exec(n);if(t){var a=(0,g.Z)(t,8),u=a[1],l=a[2],h=a[4],C=a[5],T=a[6],N=a[7];return mf(Z2(Fc(a[3])),j2(l),qo(u,"day",1,31),{hours:h,minutes:C,seconds:T,fractionalMilliseconds:N})}if(t=qF.exec(n)){var $=(0,g.Z)(t,8),ue=$[1],ge=$[2],we=$[4],He=$[5],ot=$[6],dt=$[7];return JF(mf(QF($[3]),j2(ge),qo(ue,"day",1,31),{hours:we,minutes:He,seconds:ot,fractionalMilliseconds:dt}))}if(t=KF.exec(n)){var pt=(0,g.Z)(t,8),$t=pt[1],tn=pt[2],Gt=pt[3],Ut=pt[4],qt=pt[5],qn=pt[6];return mf(Z2(Fc(pt[7])),j2($t),qo(tn.trimLeft(),"day",1,31),{hours:Gt,minutes:Ut,seconds:qt,fractionalMilliseconds:qn})}throw new TypeError("Invalid RFC-7231 date-time value")}},mf=function(n,t,e,a){var s=t-1;return tM(n,s,e),new Date(Date.UTC(n,s,e,qo(a.hours,"hour",0,23),qo(a.minutes,"minute",0,59),qo(a.seconds,"seconds",0,60),rM(a.fractionalMilliseconds)))},QF=function(n){var t=(new Date).getUTCFullYear(),e=100*Math.floor(t/100)+Z2(Fc(n));return e<t?e+100:e},JF=function(n){return n.getTime()-(new Date).getTime()>15768e8?new Date(Date.UTC(n.getUTCFullYear()-100,n.getUTCMonth(),n.getUTCDate(),n.getUTCHours(),n.getUTCMinutes(),n.getUTCSeconds(),n.getUTCMilliseconds())):n},j2=function(n){var t=L2.indexOf(n);if(t<0)throw new TypeError("Invalid month: ".concat(n));return t+1},eM=[31,28,31,30,31,30,31,31,30,31,30,31],tM=function(n,t,e){var a=eM[t];if(1===t&&nM(n)&&(a=29),e>a)throw new TypeError("Invalid day for ".concat(L2[t]," in ").concat(n,": ").concat(e))},nM=function(n){return n%4==0&&(n%100!=0||n%400==0)},qo=function(n,t,e,a){var s=function(n){return function(n){return V2(n,8)}("string"==typeof n?Oc(n):n)}(Fc(n));if(s<e||s>a)throw new TypeError("".concat(t," must be between ").concat(e," and ").concat(a,", inclusive"));return s},rM=function(n){return null==n?0:1e3*function(n){return function(n){var t=ff(n);if(void 0!==t&&!Number.isNaN(t)&&t!==1/0&&t!==-1/0&&Math.abs(t)>VF)throw new TypeError("Expected 32-bit float, got ".concat(n));return t}("string"==typeof n?Oc(n):n)}("0."+n)},Fc=function(n){for(var t=0;t<n.length-1&&"0"===n.charAt(t);)t++;return 0===t?n:n.slice(t)},Zk=function(o){(0,z.Z)(t,o);var n=(0,H.Z)(t);function t(e){var a;return(0,f.Z)(this,t),a=n.call(this,e.message),Object.setPrototypeOf((0,gt.Z)(a),t.prototype),a.name=e.name,a.$fault=e.$fault,a.$metadata=e.$metadata,a}return(0,y.Z)(t)}((0,G.Z)(Error)),Ko=function(n){return Object.entries(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).filter(function(a){return void 0!==(0,g.Z)(a,2)[1]}).forEach(function(a){var s=(0,g.Z)(a,2),u=s[0];(null==n[u]||""===n[u])&&(n[u]=s[1])}),n.message=n.message||n.Message||"UnknownError",delete n.Message,n},Lk=function(n){return function(t){!function(n){var e=n.parsedBody,a=n.exceptionCtor,s=n.errorCode,u=oM(n.output),l=u.httpStatusCode?u.httpStatusCode+"":void 0,c=new a({name:e?.code||e?.Code||s||l||"UnknownError",$fault:"client",$metadata:u});throw Ko(c,e)}({output:t.output,parsedBody:t.parsedBody,exceptionCtor:n,errorCode:t.errorCode})}},oM=function(n){var t,e;return{httpStatusCode:n.statusCode,requestId:null!==(t=null!==(e=n.headers["x-amzn-requestid"])&&void 0!==e?e:n.headers["x-amzn-request-id"])&&void 0!==t?t:n.headers["x-amz-request-id"],extendedRequestId:n.headers["x-amz-id-2"],cfId:n.headers["x-amz-cf-id"]}},jk=function(n){switch(n){case"standard":case"cross-region":return{retryMode:"standard",connectionTimeout:3100};case"in-region":return{retryMode:"standard",connectionTimeout:1100};case"mobile":return{retryMode:"standard",connectionTimeout:3e4};default:return{}}};function $0(o){return encodeURIComponent(o).replace(/[!'()*]/g,function(n){return"%"+n.charCodeAt(0).toString(16).toUpperCase()})}var sM=function o(n){var t="#text";for(var e in n)n.hasOwnProperty(e)&&void 0!==n[e][t]?n[e]=n[e][t]:"object"==typeof n[e]&&null!==n[e]&&(n[e]=o(n[e]));return n},$2=function(){var n=Object.getPrototypeOf(this).constructor,e=new(Function.bind.apply(String,[null].concat(Array.prototype.slice.call(arguments))));return Object.setPrototypeOf(e,n.prototype),e};function Ji(o,n,t){var e,s;if(typeof n>"u"&&typeof t>"u")e={},s=o;else{if(e=o,"function"==typeof n)return uM(e,n,s=t);s=n}for(var u=0,l=Object.keys(s);u<l.length;u++){var c=l[u];Array.isArray(s[c])?Uk(e,null,s,c):e[c]=s[c]}return e}$2.prototype=Object.create(String.prototype,{constructor:{value:$2,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf($2,String);var $k=function(n,t){var e={};for(var a in t)Uk(e,n,t,a);return e},uM=function(n,t,e){return Ji(n,Object.entries(e).reduce(function(a,s){var u=(0,g.Z)(s,2),c=u[1];return a[u[0]]=Array.isArray(c)?c:"function"==typeof c?[t,c()]:[t,c],a},{}))},Uk=function(n,t,e,a){if(null===t){var $=(0,g.Z)(e[a],2),se=$[0],ue=$[1];if("function"==typeof ue){var ge,Se=void 0===se&&null!=(ge=ue()),we="function"==typeof se&&!!se(void 0)||"function"!=typeof se&&!!se;Se?n[a]=ge:we&&(n[a]=ue())}else{var He=void 0===se&&null!=ue,ot="function"==typeof se&&!!se(ue)||"function"!=typeof se&&!!se;(He||ot)&&(n[a]=ue)}}else{var s=e[a];"function"==typeof s&&(s=[,s]);var l=(0,g.Z)(s,3),c=l[0],h=void 0===c?lM:c,C=l[1],T=void 0===C?cM:C,N=l[2],F=void 0===N?a:N;("function"==typeof h&&h(t[F])||"function"!=typeof h&&h)&&(n[a]=T(t[F]))}},lM=function(n){return null!=n},cM=function(n){return n},Wo=function(n,t,e,a,s,u){if(null==t||void 0===t[e])throw new Error("No value provided for input HTTP label: "+e+".");var l=a();if(l.length<=0)throw new Error("Empty value provided for input HTTP label: "+e+".");return n.replace(s,u?l.split("/").map(function(c){return $0(c)}).join("/"):$0(l))},lo=function o(n){if(null==n)return{};if(Array.isArray(n))return n.filter(function(u){return null!=u});if("object"==typeof n){for(var t={},e=0,a=Object.keys(n);e<a.length;e++){var s=a[e];null!=n[s]&&(t[s]=o(n[s]))}return t}return n},dM=function(n){return(0,b.Z)((0,b.Z)({},n),n.SSEKMSKeyId&&{SSEKMSKeyId:Ia})},pM=function(n){return(0,b.Z)((0,b.Z)({},n),n.SSECustomerKey&&{SSECustomerKey:Ia})},fM=function(n){return(0,b.Z)((0,b.Z)((0,b.Z)({},n),n.SSEKMSKeyId&&{SSEKMSKeyId:Ia}),n.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Ia})},mM=function(n){return(0,b.Z)((0,b.Z)((0,b.Z)((0,b.Z)({},n),n.SSECustomerKey&&{SSECustomerKey:Ia}),n.SSEKMSKeyId&&{SSEKMSKeyId:Ia}),n.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Ia})},bM=function(n){return(0,b.Z)((0,b.Z)((0,b.Z)({},n),n.SSEKMSKeyId&&{SSEKMSKeyId:Ia}),n.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Ia})},CM=function(n){return(0,b.Z)((0,b.Z)((0,b.Z)((0,b.Z)({},n),n.SSECustomerKey&&{SSECustomerKey:Ia}),n.SSEKMSKeyId&&{SSEKMSKeyId:Ia}),n.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Ia})};function wM(o){return o.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""")}var EM=function(){function o(n){(0,f.Z)(this,o),this.value=n}return(0,y.Z)(o,[{key:"toString",value:function(){return function SM(o){return o.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">").replace(/\r/g," ").replace(/\n/g," ").replace(/\u0085/g,"…").replace(/\u2028/,"
")}(""+this.value)}}]),o}(),Ha=function(){function o(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];(0,f.Z)(this,o),this.name=n,this.children=t,this.attributes={}}return(0,y.Z)(o,[{key:"withName",value:function(t){return this.name=t,this}},{key:"addAttribute",value:function(t,e){return this.attributes[t]=e,this}},{key:"addChildNode",value:function(t){return this.children.push(t),this}},{key:"removeAttribute",value:function(t){return delete this.attributes[t],this}},{key:"toString",value:function(){for(var t=!!this.children.length,e="<".concat(this.name),a=this.attributes,s=0,u=Object.keys(a);s<u.length;s++){var l=u[s],c=a[l];typeof c<"u"&&null!==c&&(e+=" ".concat(l,'="').concat(wM(""+c),'"'))}return e+(t?">".concat(this.children.map(function(h){return h.toString()}).join(""),"</").concat(this.name,">"):"/>")}}],[{key:"of",value:function(t,e,a){var s=new o(t);return void 0!==e&&s.addChildNode(new EM(e)),void 0!==a&&s.withName(a),s}}]),o}(),Mc=function(){function o(n){(0,f.Z)(this,o),this.method=n.method||"GET",this.hostname=n.hostname||"localhost",this.port=n.port,this.query=n.query||{},this.headers=n.headers||{},this.body=n.body,this.protocol=n.protocol?":"!==n.protocol.slice(-1)?"".concat(n.protocol,":"):n.protocol:"https:",this.path=n.path?"/"!==n.path.charAt(0)?"/".concat(n.path):n.path:"/"}return(0,y.Z)(o,[{key:"clone",value:function(){var t=new o((0,b.Z)((0,b.Z)({},this),{},{headers:(0,b.Z)({},this.headers)}));return t.query&&(t.query=function PM(o){return Object.keys(o).reduce(function(n,t){var e=o[t];return(0,b.Z)((0,b.Z)({},n),{},(0,d.Z)({},t,Array.isArray(e)?(0,_.Z)(e):e))},{})}(t.query)),t}}],[{key:"isInstance",value:function(t){return!!t&&("method"in t&&"protocol"in t&&"hostname"in t&&"path"in t&&"object"==typeof t.query&&"object"==typeof t.headers)}}]),o}(),AM=S(53226),kM=function(o){(0,z.Z)(t,o);var n=(0,H.Z)(t);function t(e){var a;return(0,f.Z)(this,t),a=n.call(this,e),Object.setPrototypeOf((0,gt.Z)(a),t.prototype),a}return(0,y.Z)(t)}(Zk),RM=function(){var o=Zt((0,qe.Z)().mark(function n(t,e){var a,s,u,l,c,h,C,T,N,F,$;return(0,qe.Z)().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return ue.next=2,e.endpoint();case 2:return s=(a=ue.sent).hostname,l=void 0===(u=a.protocol)?"https":u,c=a.port,h=a.path,C=Ji({},qa,{"content-type":"application/xml","x-amz-checksum-crc32":t.ChecksumCRC32,"x-amz-checksum-crc32c":t.ChecksumCRC32C,"x-amz-checksum-sha1":t.ChecksumSHA1,"x-amz-checksum-sha256":t.ChecksumSHA256,"x-amz-request-payer":t.RequestPayer,"x-amz-expected-bucket-owner":t.ExpectedBucketOwner,"x-amz-server-side-encryption-customer-algorithm":t.SSECustomerAlgorithm,"x-amz-server-side-encryption-customer-key":t.SSECustomerKey,"x-amz-server-side-encryption-customer-key-md5":t.SSECustomerKeyMD5}),T="".concat(null!=h&&h.endsWith("/")?h.slice(0,-1):h||"")+"/{Key+}",T=Wo(T,t,"Bucket",function(){return t.Bucket},"{Bucket}",!1),T=Wo(T,t,"Key",function(){return t.Key},"{Key+}",!0),N=Ji({"x-id":[,"CompleteMultipartUpload"],uploadId:[,gl(t.UploadId,"UploadId")]}),void 0!==t.MultipartUpload&&(F=Gk(t.MultipartUpload,e)),void 0!==t.MultipartUpload&&($=($=Gk(t.MultipartUpload,e)).withName("CompleteMultipartUpload"),F='<?xml version="1.0" encoding="UTF-8"?>',$.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),F+=$.toString()),ue.abrupt("return",new Mc({protocol:l,hostname:s,port:c,method:"POST",headers:C,path:T,query:N,body:F}));case 16:case"end":return ue.stop()}},n)}));return function(t,e){return o.apply(this,arguments)}}(),DM=function(){var o=Zt((0,qe.Z)().mark(function n(t,e){var a,s,u,l,c,h,C,T,N;return(0,qe.Z)().wrap(function(se){for(;;)switch(se.prev=se.next){case 0:return se.next=2,e.endpoint();case 2:return s=(a=se.sent).hostname,l=void 0===(u=a.protocol)?"https":u,c=a.port,h=a.path,C=Ji({},qa,(0,b.Z)({"x-amz-acl":t.ACL,"cache-control":t.CacheControl,"content-disposition":t.ContentDisposition,"content-encoding":t.ContentEncoding,"content-language":t.ContentLanguage,"content-type":t.ContentType,expires:[function(){return qa(t.Expires)},function(){return Bk(t.Expires).toString()}],"x-amz-grant-full-control":t.GrantFullControl,"x-amz-grant-read":t.GrantRead,"x-amz-grant-read-acp":t.GrantReadACP,"x-amz-grant-write-acp":t.GrantWriteACP,"x-amz-server-side-encryption":t.ServerSideEncryption,"x-amz-storage-class":t.StorageClass,"x-amz-website-redirect-location":t.WebsiteRedirectLocation,"x-amz-server-side-encryption-customer-algorithm":t.SSECustomerAlgorithm,"x-amz-server-side-encryption-customer-key":t.SSECustomerKey,"x-amz-server-side-encryption-customer-key-md5":t.SSECustomerKeyMD5,"x-amz-server-side-encryption-aws-kms-key-id":t.SSEKMSKeyId,"x-amz-server-side-encryption-context":t.SSEKMSEncryptionContext,"x-amz-server-side-encryption-bucket-key-enabled":[function(){return qa(t.BucketKeyEnabled)},function(){return t.BucketKeyEnabled.toString()}],"x-amz-request-payer":t.RequestPayer,"x-amz-tagging":t.Tagging,"x-amz-object-lock-mode":t.ObjectLockMode,"x-amz-object-lock-retain-until-date":[function(){return qa(t.ObjectLockRetainUntilDate)},function(){return(t.ObjectLockRetainUntilDate.toISOString().split(".")[0]+"Z").toString()}],"x-amz-object-lock-legal-hold":t.ObjectLockLegalHoldStatus,"x-amz-expected-bucket-owner":t.ExpectedBucketOwner,"x-amz-checksum-algorithm":t.ChecksumAlgorithm},void 0!==t.Metadata&&Object.keys(t.Metadata).reduce(function(ue,ge){return ue["x-amz-meta-".concat(ge.toLowerCase())]=t.Metadata[ge],ue},{}))),T="".concat(null!=h&&h.endsWith("/")?h.slice(0,-1):h||"")+"/{Key+}",T=Wo(T,t,"Bucket",function(){return t.Bucket},"{Bucket}",!1),T=Wo(T,t,"Key",function(){return t.Key},"{Key+}",!0),N=Ji({uploads:[,""],"x-id":[,"CreateMultipartUpload"]}),se.abrupt("return",new Mc({protocol:l,hostname:s,port:c,method:"POST",headers:C,path:T,query:N,body:void 0}));case 14:case"end":return se.stop()}},n)}));return function(t,e){return o.apply(this,arguments)}}(),TM=function(){var o=Zt((0,qe.Z)().mark(function n(t,e){var a,s,u,l,c,h,C,T,N,F;return(0,qe.Z)().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return ue.next=2,e.endpoint();case 2:return s=(a=ue.sent).hostname,l=void 0===(u=a.protocol)?"https":u,c=a.port,h=a.path,C=Ji({},qa,(0,b.Z)({"content-type":t.ContentType||"application/octet-stream","x-amz-acl":t.ACL,"cache-control":t.CacheControl,"content-disposition":t.ContentDisposition,"content-encoding":t.ContentEncoding,"content-language":t.ContentLanguage,"content-length":[function(){return qa(t.ContentLength)},function(){return t.ContentLength.toString()}],"content-md5":t.ContentMD5,"x-amz-sdk-checksum-algorithm":t.ChecksumAlgorithm,"x-amz-checksum-crc32":t.ChecksumCRC32,"x-amz-checksum-crc32c":t.ChecksumCRC32C,"x-amz-checksum-sha1":t.ChecksumSHA1,"x-amz-checksum-sha256":t.ChecksumSHA256,expires:[function(){return qa(t.Expires)},function(){return Bk(t.Expires).toString()}],"x-amz-grant-full-control":t.GrantFullControl,"x-amz-grant-read":t.GrantRead,"x-amz-grant-read-acp":t.GrantReadACP,"x-amz-grant-write-acp":t.GrantWriteACP,"x-amz-server-side-encryption":t.ServerSideEncryption,"x-amz-storage-class":t.StorageClass,"x-amz-website-redirect-location":t.WebsiteRedirectLocation,"x-amz-server-side-encryption-customer-algorithm":t.SSECustomerAlgorithm,"x-amz-server-side-encryption-customer-key":t.SSECustomerKey,"x-amz-server-side-encryption-customer-key-md5":t.SSECustomerKeyMD5,"x-amz-server-side-encryption-aws-kms-key-id":t.SSEKMSKeyId,"x-amz-server-side-encryption-context":t.SSEKMSEncryptionContext,"x-amz-server-side-encryption-bucket-key-enabled":[function(){return qa(t.BucketKeyEnabled)},function(){return t.BucketKeyEnabled.toString()}],"x-amz-request-payer":t.RequestPayer,"x-amz-tagging":t.Tagging,"x-amz-object-lock-mode":t.ObjectLockMode,"x-amz-object-lock-retain-until-date":[function(){return qa(t.ObjectLockRetainUntilDate)},function(){return(t.ObjectLockRetainUntilDate.toISOString().split(".")[0]+"Z").toString()}],"x-amz-object-lock-legal-hold":t.ObjectLockLegalHoldStatus,"x-amz-expected-bucket-owner":t.ExpectedBucketOwner},void 0!==t.Metadata&&Object.keys(t.Metadata).reduce(function(ge,Se){return ge["x-amz-meta-".concat(Se.toLowerCase())]=t.Metadata[Se],ge},{}))),T="".concat(null!=h&&h.endsWith("/")?h.slice(0,-1):h||"")+"/{Key+}",T=Wo(T,t,"Bucket",function(){return t.Bucket},"{Bucket}",!1),T=Wo(T,t,"Key",function(){return t.Key},"{Key+}",!0),N=Ji({"x-id":[,"PutObject"]}),void 0!==t.Body&&(F=t.Body),void 0!==t.Body&&(F=t.Body),ue.abrupt("return",new Mc({protocol:l,hostname:s,port:c,method:"PUT",headers:C,path:T,query:N,body:F}));case 16:case"end":return ue.stop()}},n)}));return function(t,e){return o.apply(this,arguments)}}(),IM=function(){var o=Zt((0,qe.Z)().mark(function n(t,e){var a,s,u,l,c,h,C,T,N,F,$;return(0,qe.Z)().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return ue.next=2,e.endpoint();case 2:return s=(a=ue.sent).hostname,l=void 0===(u=a.protocol)?"https":u,c=a.port,h=a.path,C=Ji({},qa,{"content-type":"application/xml","content-md5":t.ContentMD5,"x-amz-sdk-checksum-algorithm":t.ChecksumAlgorithm,"x-amz-expected-bucket-owner":t.ExpectedBucketOwner,"x-amz-request-payer":t.RequestPayer}),T="".concat(null!=h&&h.endsWith("/")?h.slice(0,-1):h||"")+"/{Key+}",T=Wo(T,t,"Bucket",function(){return t.Bucket},"{Bucket}",!1),T=Wo(T,t,"Key",function(){return t.Key},"{Key+}",!0),N=Ji({tagging:[,""],versionId:[,t.VersionId]}),void 0!==t.Tagging&&(F=H2(t.Tagging,e)),void 0!==t.Tagging&&($=H2(t.Tagging,e),F='<?xml version="1.0" encoding="UTF-8"?>',$.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),F+=$.toString()),ue.abrupt("return",new Mc({protocol:l,hostname:s,port:c,method:"PUT",headers:C,path:T,query:N,body:F}));case 16:case"end":return ue.stop()}},n)}));return function(t,e){return o.apply(this,arguments)}}(),OM=function(){var o=Zt((0,qe.Z)().mark(function n(t,e){var a,s,u,l,c,h,C,T,N,F;return(0,qe.Z)().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return ue.next=2,e.endpoint();case 2:return s=(a=ue.sent).hostname,l=void 0===(u=a.protocol)?"https":u,c=a.port,h=a.path,C=Ji({},qa,{"content-type":"application/octet-stream","content-length":[function(){return qa(t.ContentLength)},function(){return t.ContentLength.toString()}],"content-md5":t.ContentMD5,"x-amz-sdk-checksum-algorithm":t.ChecksumAlgorithm,"x-amz-checksum-crc32":t.ChecksumCRC32,"x-amz-checksum-crc32c":t.ChecksumCRC32C,"x-amz-checksum-sha1":t.ChecksumSHA1,"x-amz-checksum-sha256":t.ChecksumSHA256,"x-amz-server-side-encryption-customer-algorithm":t.SSECustomerAlgorithm,"x-amz-server-side-encryption-customer-key":t.SSECustomerKey,"x-amz-server-side-encryption-customer-key-md5":t.SSECustomerKeyMD5,"x-amz-request-payer":t.RequestPayer,"x-amz-expected-bucket-owner":t.ExpectedBucketOwner}),T="".concat(null!=h&&h.endsWith("/")?h.slice(0,-1):h||"")+"/{Key+}",T=Wo(T,t,"Bucket",function(){return t.Bucket},"{Bucket}",!1),T=Wo(T,t,"Key",function(){return t.Key},"{Key+}",!0),N=Ji({"x-id":[,"UploadPart"],partNumber:[null!=gl(t.PartNumber,"PartNumber"),function(){return t.PartNumber.toString()}],uploadId:[,gl(t.UploadId,"UploadId")]}),void 0!==t.Body&&(F=t.Body),void 0!==t.Body&&(F=t.Body),ue.abrupt("return",new Mc({protocol:l,hostname:s,port:c,method:"PUT",headers:C,path:T,query:N,body:F}));case 16:case"end":return ue.stop()}},n)}));return function(t,e){return o.apply(this,arguments)}}(),FM=function(){var o=Zt((0,qe.Z)().mark(function n(t,e){var a,s;return(0,qe.Z)().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:if(!(200!==t.statusCode&&t.statusCode>=300)){l.next=2;break}return l.abrupt("return",MM(t,e));case 2:return a=Ji({$metadata:vf(t),Expiration:[,t.headers["x-amz-expiration"]],ServerSideEncryption:[,t.headers["x-amz-server-side-encryption"]],VersionId:[,t.headers["x-amz-version-id"]],SSEKMSKeyId:[,t.headers["x-amz-server-side-encryption-aws-kms-key-id"]],BucketKeyEnabled:[function(){return void 0!==t.headers["x-amz-server-side-encryption-bucket-key-enabled"]},function(){return Z0(t.headers["x-amz-server-side-encryption-bucket-key-enabled"])}],RequestCharged:[,t.headers["x-amz-request-charged"]]}),l.t0=gl,l.t1=B2,l.next=7,W2(t.body,e);case 7:return l.t2=l.sent,l.t3=(0,l.t1)(l.t2),void 0!==(s=(0,l.t0)(l.t3,"body")).Bucket&&(a.Bucket=va(s.Bucket)),void 0!==s.ChecksumCRC32&&(a.ChecksumCRC32=va(s.ChecksumCRC32)),void 0!==s.ChecksumCRC32C&&(a.ChecksumCRC32C=va(s.ChecksumCRC32C)),void 0!==s.ChecksumSHA1&&(a.ChecksumSHA1=va(s.ChecksumSHA1)),void 0!==s.ChecksumSHA256&&(a.ChecksumSHA256=va(s.ChecksumSHA256)),void 0!==s.ETag&&(a.ETag=va(s.ETag)),void 0!==s.Key&&(a.Key=va(s.Key)),void 0!==s.Location&&(a.Location=va(s.Location)),l.abrupt("return",a);case 19:case"end":return l.stop()}},n)}));return function(t,e){return o.apply(this,arguments)}}(),MM=function(){var o=Zt((0,qe.Z)().mark(function n(t,e){var a,s;return(0,qe.Z)().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.t0=b.Z,c.t1=(0,b.Z)({},t),c.t2={},c.next=5,yf(t.body,e);case 5:return c.t3=c.sent,c.t4={body:c.t3},a=(0,c.t0)(c.t1,c.t2,c.t4),s=_f(t,a.body),c.abrupt("return",hf({output:t,parsedBody:a.body,errorCode:s}));case 11:case"end":return c.stop()}},n)}));return function(t,e){return o.apply(this,arguments)}}(),NM=function(){var o=Zt((0,qe.Z)().mark(function n(t,e){var a,s;return(0,qe.Z)().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:if(!(200!==t.statusCode&&t.statusCode>=300)){l.next=2;break}return l.abrupt("return",VM(t,e));case 2:return a=Ji({$metadata:vf(t),AbortDate:[function(){return void 0!==t.headers["x-amz-abort-date"]},function(){return gl(WF(t.headers["x-amz-abort-date"]))}],AbortRuleId:[,t.headers["x-amz-abort-rule-id"]],ServerSideEncryption:[,t.headers["x-amz-server-side-encryption"]],SSECustomerAlgorithm:[,t.headers["x-amz-server-side-encryption-customer-algorithm"]],SSECustomerKeyMD5:[,t.headers["x-amz-server-side-encryption-customer-key-md5"]],SSEKMSKeyId:[,t.headers["x-amz-server-side-encryption-aws-kms-key-id"]],SSEKMSEncryptionContext:[,t.headers["x-amz-server-side-encryption-context"]],BucketKeyEnabled:[function(){return void 0!==t.headers["x-amz-server-side-encryption-bucket-key-enabled"]},function(){return Z0(t.headers["x-amz-server-side-encryption-bucket-key-enabled"])}],RequestCharged:[,t.headers["x-amz-request-charged"]],ChecksumAlgorithm:[,t.headers["x-amz-checksum-algorithm"]]}),l.t0=gl,l.t1=B2,l.next=7,W2(t.body,e);case 7:return l.t2=l.sent,l.t3=(0,l.t1)(l.t2),void 0!==(s=(0,l.t0)(l.t3,"body")).Bucket&&(a.Bucket=va(s.Bucket)),void 0!==s.Key&&(a.Key=va(s.Key)),void 0!==s.UploadId&&(a.UploadId=va(s.UploadId)),l.abrupt("return",a);case 14:case"end":return l.stop()}},n)}));return function(t,e){return o.apply(this,arguments)}}(),VM=function(){var o=Zt((0,qe.Z)().mark(function n(t,e){var a,s;return(0,qe.Z)().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.t0=b.Z,c.t1=(0,b.Z)({},t),c.t2={},c.next=5,yf(t.body,e);case 5:return c.t3=c.sent,c.t4={body:c.t3},a=(0,c.t0)(c.t1,c.t2,c.t4),s=_f(t,a.body),c.abrupt("return",hf({output:t,parsedBody:a.body,errorCode:s}));case 11:case"end":return c.stop()}},n)}));return function(t,e){return o.apply(this,arguments)}}(),BM=function(){var o=Zt((0,qe.Z)().mark(function n(t,e){var a;return(0,qe.Z)().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:if(!(200!==t.statusCode&&t.statusCode>=300)){u.next=2;break}return u.abrupt("return",ZM(t,e));case 2:return a=Ji({$metadata:vf(t),Expiration:[,t.headers["x-amz-expiration"]],ETag:[,t.headers.etag],ChecksumCRC32:[,t.headers["x-amz-checksum-crc32"]],ChecksumCRC32C:[,t.headers["x-amz-checksum-crc32c"]],ChecksumSHA1:[,t.headers["x-amz-checksum-sha1"]],ChecksumSHA256:[,t.headers["x-amz-checksum-sha256"]],ServerSideEncryption:[,t.headers["x-amz-server-side-encryption"]],VersionId:[,t.headers["x-amz-version-id"]],SSECustomerAlgorithm:[,t.headers["x-amz-server-side-encryption-customer-algorithm"]],SSECustomerKeyMD5:[,t.headers["x-amz-server-side-encryption-customer-key-md5"]],SSEKMSKeyId:[,t.headers["x-amz-server-side-encryption-aws-kms-key-id"]],SSEKMSEncryptionContext:[,t.headers["x-amz-server-side-encryption-context"]],BucketKeyEnabled:[function(){return void 0!==t.headers["x-amz-server-side-encryption-bucket-key-enabled"]},function(){return Z0(t.headers["x-amz-server-side-encryption-bucket-key-enabled"])}],RequestCharged:[,t.headers["x-amz-request-charged"]]}),u.next=5,z0(t.body,e);case 5:return u.abrupt("return",a);case 6:case"end":return u.stop()}},n)}));return function(t,e){return o.apply(this,arguments)}}(),ZM=function(){var o=Zt((0,qe.Z)().mark(function n(t,e){var a,s;return(0,qe.Z)().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.t0=b.Z,c.t1=(0,b.Z)({},t),c.t2={},c.next=5,yf(t.body,e);case 5:return c.t3=c.sent,c.t4={body:c.t3},a=(0,c.t0)(c.t1,c.t2,c.t4),s=_f(t,a.body),c.abrupt("return",hf({output:t,parsedBody:a.body,errorCode:s}));case 11:case"end":return c.stop()}},n)}));return function(t,e){return o.apply(this,arguments)}}(),LM=function(){var o=Zt((0,qe.Z)().mark(function n(t,e){var a;return(0,qe.Z)().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:if(!(200!==t.statusCode&&t.statusCode>=300)){u.next=2;break}return u.abrupt("return",jM(t,e));case 2:return a=Ji({$metadata:vf(t),VersionId:[,t.headers["x-amz-version-id"]]}),u.next=5,z0(t.body,e);case 5:return u.abrupt("return",a);case 6:case"end":return u.stop()}},n)}));return function(t,e){return o.apply(this,arguments)}}(),jM=function(){var o=Zt((0,qe.Z)().mark(function n(t,e){var a,s;return(0,qe.Z)().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.t0=b.Z,c.t1=(0,b.Z)({},t),c.t2={},c.next=5,yf(t.body,e);case 5:return c.t3=c.sent,c.t4={body:c.t3},a=(0,c.t0)(c.t1,c.t2,c.t4),s=_f(t,a.body),c.abrupt("return",hf({output:t,parsedBody:a.body,errorCode:s}));case 11:case"end":return c.stop()}},n)}));return function(t,e){return o.apply(this,arguments)}}(),$M=function(){var o=Zt((0,qe.Z)().mark(function n(t,e){var a;return(0,qe.Z)().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:if(!(200!==t.statusCode&&t.statusCode>=300)){u.next=2;break}return u.abrupt("return",UM(t,e));case 2:return a=Ji({$metadata:vf(t),ServerSideEncryption:[,t.headers["x-amz-server-side-encryption"]],ETag:[,t.headers.etag],ChecksumCRC32:[,t.headers["x-amz-checksum-crc32"]],ChecksumCRC32C:[,t.headers["x-amz-checksum-crc32c"]],ChecksumSHA1:[,t.headers["x-amz-checksum-sha1"]],ChecksumSHA256:[,t.headers["x-amz-checksum-sha256"]],SSECustomerAlgorithm:[,t.headers["x-amz-server-side-encryption-customer-algorithm"]],SSECustomerKeyMD5:[,t.headers["x-amz-server-side-encryption-customer-key-md5"]],SSEKMSKeyId:[,t.headers["x-amz-server-side-encryption-aws-kms-key-id"]],BucketKeyEnabled:[function(){return void 0!==t.headers["x-amz-server-side-encryption-bucket-key-enabled"]},function(){return Z0(t.headers["x-amz-server-side-encryption-bucket-key-enabled"])}],RequestCharged:[,t.headers["x-amz-request-charged"]]}),u.next=5,z0(t.body,e);case 5:return u.abrupt("return",a);case 6:case"end":return u.stop()}},n)}));return function(t,e){return o.apply(this,arguments)}}(),UM=function(){var o=Zt((0,qe.Z)().mark(function n(t,e){var a,s;return(0,qe.Z)().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.t0=b.Z,c.t1=(0,b.Z)({},t),c.t2={},c.next=5,yf(t.body,e);case 5:return c.t3=c.sent,c.t4={body:c.t3},a=(0,c.t0)(c.t1,c.t2,c.t4),s=_f(t,a.body),c.abrupt("return",hf({output:t,parsedBody:a.body,errorCode:s}));case 11:case"end":return c.stop()}},n)}));return function(t,e){return o.apply(this,arguments)}}(),hf=Lk(kM),Gk=function(n,t){var e=new Ha("CompletedMultipartUpload");return null!=n.Parts&&aN(n.Parts,t).map(function(s){s=s.withName("Part"),e.addChildNode(s)}),e},aN=function(n,t){return n.filter(function(e){return null!=e}).map(function(e){var a=function(n,t){var e=new Ha("CompletedPart");if(null!=n.ETag){var a=Ha.of("ETag",n.ETag).withName("ETag");e.addChildNode(a)}if(null!=n.ChecksumCRC32){var s=Ha.of("ChecksumCRC32",n.ChecksumCRC32).withName("ChecksumCRC32");e.addChildNode(s)}if(null!=n.ChecksumCRC32C){var u=Ha.of("ChecksumCRC32C",n.ChecksumCRC32C).withName("ChecksumCRC32C");e.addChildNode(u)}if(null!=n.ChecksumSHA1){var l=Ha.of("ChecksumSHA1",n.ChecksumSHA1).withName("ChecksumSHA1");e.addChildNode(l)}if(null!=n.ChecksumSHA256){var c=Ha.of("ChecksumSHA256",n.ChecksumSHA256).withName("ChecksumSHA256");e.addChildNode(c)}if(null!=n.PartNumber){var h=Ha.of("PartNumber",String(n.PartNumber)).withName("PartNumber");e.addChildNode(h)}return e}(e);return a.withName("member")})},H2=function(n,t){var e=new Ha("Tagging");if(null!=n.TagSet){var a=Vc(n.TagSet,t),s=new Ha("TagSet");a.map(function(u){s.addChildNode(u)}),e.addChildNode(s)}return e},Vc=function(n,t){return n.filter(function(e){return null!=e}).map(function(e){return function(n,t){var e=new Ha("Tag");if(null!=n.Key){var a=Ha.of("ObjectKey",n.Key).withName("Key");e.addChildNode(a)}if(null!=n.Value){var s=Ha.of("Value",n.Value).withName("Value");e.addChildNode(s)}return e}(e).withName("Tag")})},vf=function(n){var t,e;return{httpStatusCode:n.statusCode,requestId:null!==(t=null!==(e=n.headers["x-amzn-requestid"])&&void 0!==e?e:n.headers["x-amzn-request-id"])&&void 0!==t?t:n.headers["x-amz-request-id"],extendedRequestId:n.headers["x-amz-id-2"],cfId:n.headers["x-amz-cf-id"]}},z0=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Uint8Array,t=arguments.length>1?arguments[1]:void 0;return n instanceof Uint8Array?Promise.resolve(n):t.streamCollector(n)||Promise.resolve(new Uint8Array)},qa=function(n){return!(null==n||""===n||Object.getOwnPropertyNames(n).includes("length")&&0==n.length||Object.getOwnPropertyNames(n).includes("size")&&0==n.size)},W2=function(n,t){return function(n,t){return z0(n,t).then(function(e){return t.utf8Encoder(e)})}(n,t).then(function(e){if(e.length){var a=new AM.XMLParser({attributeNamePrefix:"",htmlEntities:!0,ignoreAttributes:!1,ignoreDeclaration:!0,parseTagValue:!1,trimValues:!1,tagValueProcessor:function(C,T){return""===T.trim()&&T.includes("\n")?"":void 0}});a.addEntity("#xD","\r"),a.addEntity("#10","\n");var s=a.parse(e),u="#text",l=Object.keys(s)[0],c=s[l];return c[u]&&(c[l]=c[u],delete c[u]),sM(c)}return{}})},yf=function(){var o=Zt((0,qe.Z)().mark(function n(t,e){var a,s;return(0,qe.Z)().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,W2(t,e);case 2:return(a=l.sent).Error&&(a.Error.message=null!==(s=a.Error.message)&&void 0!==s?s:a.Error.Message),l.abrupt("return",a);case 5:case"end":return l.stop()}},n)}));return function(t,e){return o.apply(this,arguments)}}(),_f=function(n,t){return void 0!==t?.Code?t.Code:404==n.statusCode?"NotFound":void 0},Yk=function(o){(0,z.Z)(t,o);var n=(0,H.Z)(t);function t(e){var a;return(0,f.Z)(this,t),(a=n.call(this)).input=e,a}return(0,y.Z)(t,[{key:"resolveMiddleware",value:function(a,s,u){this.middlewareStack.use(It(s,this.serialize,this.deserialize)),this.middlewareStack.use(dn(s,t.getEndpointParameterInstructions())),this.middlewareStack.use({applyToStack:function(e){e.add(function wF(){return function(o,n){return function(){var t=Zt((0,qe.Z)().mark(function e(a){var s,u,l;return(0,qe.Z)().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return rr.isInstance(s=a.request)&&(s.headers["content-length"]||(l="Are you using a Stream of unknown length as the Body of a PutObject request? Consider using Upload instead from @aws-sdk/lib-storage.","function"==typeof(null==n||null===(u=n.logger)||void 0===u?void 0:u.warn)?n.logger.warn(l):console.warn(l))),h.abrupt("return",o((0,b.Z)({},a)));case 3:case"end":return h.stop()}},e)}));return function(e){return t.apply(this,arguments)}}()}}(),SF)}}),this.middlewareStack.use(B0(s)),this.middlewareStack.use(F2(s,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!1}));var l=a.concat(this.middlewareStack),N=s.requestHandler;return l.resolve(function(F){return N.handle(F.request,u||{})},{logger:s.logger,clientName:"S3Client",commandName:"PutObjectCommand",inputFilterSensitiveLog:CM,outputFilterSensitiveLog:bM})}},{key:"serialize",value:function(a,s){return TM(a,s)}},{key:"deserialize",value:function(a,s){return BM(a,s)}}],[{key:"getEndpointParameterInstructions",value:function(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}}]),t}(hl),yV=function(o){(0,z.Z)(t,o);var n=(0,H.Z)(t);function t(e){var a;return(0,f.Z)(this,t),(a=n.call(this)).input=e,a}return(0,y.Z)(t,[{key:"resolveMiddleware",value:function(a,s,u){this.middlewareStack.use(It(s,this.serialize,this.deserialize)),this.middlewareStack.use(dn(s,t.getEndpointParameterInstructions())),this.middlewareStack.use(B0(s));var l=a.concat(this.middlewareStack),N=s.requestHandler;return l.resolve(function(F){return N.handle(F.request,u||{})},{logger:s.logger,clientName:"S3Client",commandName:"CreateMultipartUploadCommand",inputFilterSensitiveLog:mM,outputFilterSensitiveLog:fM})}},{key:"serialize",value:function(a,s){return DM(a,s)}},{key:"deserialize",value:function(a,s){return NM(a,s)}}],[{key:"getEndpointParameterInstructions",value:function(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}}]),t}(hl),wV=function(n){return(0,b.Z)((0,b.Z)({},n),n.SSEKMSKeyId&&{SSEKMSKeyId:Ia})},SV=function(n){return(0,b.Z)((0,b.Z)({},n),n.SSECustomerKey&&{SSECustomerKey:Ia})},EV=function(o){(0,z.Z)(t,o);var n=(0,H.Z)(t);function t(e){var a;return(0,f.Z)(this,t),(a=n.call(this)).input=e,a}return(0,y.Z)(t,[{key:"resolveMiddleware",value:function(a,s,u){this.middlewareStack.use(It(s,this.serialize,this.deserialize)),this.middlewareStack.use(dn(s,t.getEndpointParameterInstructions())),this.middlewareStack.use(B0(s)),this.middlewareStack.use(F2(s,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!1}));var l=a.concat(this.middlewareStack),N=s.requestHandler;return l.resolve(function(F){return N.handle(F.request,u||{})},{logger:s.logger,clientName:"S3Client",commandName:"UploadPartCommand",inputFilterSensitiveLog:SV,outputFilterSensitiveLog:wV})}},{key:"serialize",value:function(a,s){return OM(a,s)}},{key:"deserialize",value:function(a,s){return $M(a,s)}}],[{key:"getEndpointParameterInstructions",value:function(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}}]),t}(hl),PV=function(o){(0,z.Z)(t,o);var n=(0,H.Z)(t);function t(e){var a;return(0,f.Z)(this,t),(a=n.call(this)).input=e,a}return(0,y.Z)(t,[{key:"resolveMiddleware",value:function(a,s,u){this.middlewareStack.use(It(s,this.serialize,this.deserialize)),this.middlewareStack.use(dn(s,t.getEndpointParameterInstructions())),this.middlewareStack.use(function(n){return{applyToStack:function(e){e.addRelativeTo(function(n){return function(t){return function(){var e=Zt((0,qe.Z)().mark(function a(s){var u,l,c,h,C,T,N;return(0,qe.Z)().wrap(function($){for(;;)switch($.prev=$.next){case 0:return $.next=2,t(s);case 2:if(pf.isInstance(l=(u=$.sent).response)){$.next=6;break}return $.abrupt("return",u);case 6:if(h=l.body,!((c=l.statusCode)<200||c>=300)){$.next=9;break}return $.abrupt("return",u);case 9:return $.next=11,kk(h,n);case 11:return C=$.sent,$.next=14,kF(C,n);case 14:if(T=$.sent,0!==C.length){$.next=19;break}throw(N=new Error("S3 aborted request")).name="InternalError",N;case 19:return T&&T.match("<Error>")&&(l.statusCode=400),l.body=C,$.abrupt("return",u);case 22:case"end":return $.stop()}},a)}));return function(a){return e.apply(this,arguments)}}()}}(n),RF)}}}(s)),this.middlewareStack.use(B0(s));var l=a.concat(this.middlewareStack),N=s.requestHandler;return l.resolve(function(F){return N.handle(F.request,u||{})},{logger:s.logger,clientName:"S3Client",commandName:"CompleteMultipartUploadCommand",inputFilterSensitiveLog:pM,outputFilterSensitiveLog:dM})}},{key:"serialize",value:function(a,s){return RM(a,s)}},{key:"deserialize",value:function(a,s){return FM(a,s)}}],[{key:"getEndpointParameterInstructions",value:function(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}}]),t}(hl),AV=function(o){(0,z.Z)(t,o);var n=(0,H.Z)(t);function t(e){var a;return(0,f.Z)(this,t),(a=n.call(this)).input=e,a}return(0,y.Z)(t,[{key:"resolveMiddleware",value:function(a,s,u){this.middlewareStack.use(It(s,this.serialize,this.deserialize)),this.middlewareStack.use(dn(s,t.getEndpointParameterInstructions())),this.middlewareStack.use(F2(s,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0}));var l=a.concat(this.middlewareStack),N=s.requestHandler;return l.resolve(function(F){return N.handle(F.request,u||{})},{logger:s.logger,clientName:"S3Client",commandName:"PutObjectTaggingCommand",inputFilterSensitiveLog:function($){return $},outputFilterSensitiveLog:function($){return $}})}},{key:"serialize",value:function(a,s){return IM(a,s)}},{key:"deserialize",value:function(a,s){return LM(a,s)}}],[{key:"getEndpointParameterInstructions",value:function(){return{Bucket:{type:"contextParams",name:"Bucket"},ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}}]),t}(hl),X2=S(83358),RV=(0,b.Z)((0,b.Z)({},{lstatSync:function(){}}),{},{runtime:"browser"}),Q2=function(n){if(null==n)return 0;if("string"==typeof n&&(n=Buffer.from(n)),"number"==typeof n.byteLength)return n.byteLength;if("number"==typeof n.length)return n.length;if("number"==typeof n.size)return n.size;if("string"==typeof n.path)try{return RV.lstatSync(n.path).size}catch{return}},Zc=S(13195),DV=S(70574);function Jk(o,n){this.v=o,this.k=n}function xf(o){var n,t;function e(s,u){try{var l=o[s](u),c=l.value,h=c instanceof Jk;Promise.resolve(h?c.v:c).then(function(C){if(h){var T="return"===s?"return":"next";if(!c.k||C.done)return e(T,C);C=o[T](C).value}a(l.done?"return":"normal",C)},function(C){e("throw",C)})}catch(C){a("throw",C)}}function a(s,u){switch(s){case"return":n.resolve({value:u,done:!0});break;case"throw":n.reject(u);break;default:n.resolve({value:u,done:!1})}(n=n.next)?e(n.key,n.arg):t=null}this._invoke=function(s,u){return new Promise(function(l,c){var h={key:s,arg:u,resolve:l,reject:c,next:null};t?t=t.next=h:(n=t=h,e(s,u))})},"function"!=typeof o.return&&(this.return=void 0)}function Xo(o){return function(){return new xf(o.apply(this,arguments))}}function eR(o,n){return Y2.apply(this,arguments)}function Y2(){return(Y2=Xo((0,qe.Z)().mark(function o(n,t){var e,a,s;return(0,qe.Z)().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:e=1,a=0,s=t;case 3:if(!(s<n.byteLength)){l.next=11;break}return l.next=6,{partNumber:e,data:n.slice(a,s)};case 6:e+=1,s=(a=s)+t,l.next=3;break;case 11:return l.next=13,{partNumber:e,data:n.slice(a),lastPart:!0};case 13:case"end":return l.stop()}},o)}))).apply(this,arguments)}function ea(o){return new Jk(o,0)}function J2(o,n,t){return eP.apply(this,arguments)}function eP(){return(eP=Xo((0,qe.Z)().mark(function o(n,t,e){var a,s,u,l,c,h,C,T,N;return(0,qe.Z)().wrap(function($){for(;;)switch($.prev=$.next){case 0:a=1,s={chunks:[],length:0},u=!1,l=!1,$.prev=4,h=uo(e(n));case 6:return $.next=8,ea(h.next());case 8:if(!(u=!(C=$.sent).done)){$.next=24;break}s.chunks.push(T=C.value),s.length+=T.length;case 12:if(!(s.length>=t)){$.next=21;break}return N=s.chunks.length>1?Zc.Buffer.concat(s.chunks):s.chunks[0],$.next=16,{partNumber:a,data:N.slice(0,t)};case 16:s.chunks=[N.slice(t)],s.length=s.chunks[0].length,a+=1,$.next=12;break;case 21:u=!1,$.next=6;break;case 24:$.next=30;break;case 26:$.prev=26,$.t0=$.catch(4),l=!0,c=$.t0;case 30:if($.prev=30,$.prev=31,!u||null==h.return){$.next=35;break}return $.next=35,ea(h.return());case 35:if($.prev=35,!l){$.next=38;break}throw c;case 38:return $.finish(35);case 39:return $.finish(30);case 40:return $.next=42,{partNumber:a,data:Zc.Buffer.concat(s.chunks),lastPart:!0};case 42:case"end":return $.stop()}},o,null,[[4,26,30,40],[31,,35,39]])}))).apply(this,arguments)}function TV(o){return tP.apply(this,arguments)}function tP(){return(tP=Xo((0,qe.Z)().mark(function o(n){var t,e,a,s,u,l;return(0,qe.Z)().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:t=!1,e=!1,h.prev=2,s=uo(n);case 4:return h.next=6,ea(s.next());case 6:if(!(t=!(u=h.sent).done)){h.next=13;break}return l=u.value,h.next=10,Zc.Buffer.from(l);case 10:t=!1,h.next=4;break;case 13:h.next=19;break;case 15:h.prev=15,h.t0=h.catch(2),e=!0,a=h.t0;case 19:if(h.prev=19,h.prev=20,!t||null==s.return){h.next=24;break}return h.next=24,ea(s.return());case 24:if(h.prev=24,!e){h.next=27;break}throw a;case 27:return h.finish(24);case 28:return h.finish(19);case 29:case"end":return h.stop()}},o,null,[[2,15,19,29],[20,,24,28]])}))).apply(this,arguments)}function tR(o){return nP.apply(this,arguments)}function nP(){return(nP=Xo((0,qe.Z)().mark(function o(n){var t,e,s;return(0,qe.Z)().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:t=n.getReader(),l.prev=1;case 2:return l.next=5,ea(t.read());case 5:if(s=(e=l.sent).value,!e.done){l.next=10;break}return l.abrupt("return");case 10:return l.next=12,Zc.Buffer.from(s);case 12:l.next=2;break;case 14:l.next=19;break;case 16:throw l.prev=16,l.t0=l.catch(1),l.t0;case 19:return l.prev=19,t.releaseLock(),l.finish(19);case 22:case"end":return l.stop()}},o,null,[[1,16,19,22]])}))).apply(this,arguments)}xf.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},xf.prototype.next=function(o){return this._invoke("next",o)},xf.prototype.throw=function(o){return this._invoke("throw",o)},xf.prototype.return=function(o){return this._invoke("return",o)};var IV=function(n,t){if(n instanceof Zc.Buffer)return eR(n,t);if(n instanceof DV.Readable)return J2(n,t,TV);if(n instanceof String||"string"==typeof n||n instanceof Uint8Array)return eR(Zc.Buffer.from(n),t);if("function"==typeof n.stream)return J2(n.stream(),t,tR);if(n instanceof ReadableStream)return J2(n,t,tR);throw new Error("Body Data is unsupported format, expected data to be one of: string | Uint8Array | Buffer | Readable | ReadableStream | Blob;.")},rP=5242880,OV=function(o){(0,z.Z)(t,o);var e,n=(0,H.Z)(t);function t(e){var a,s;return(0,f.Z)(this,t),(s=n.call(this)).MAX_PARTS=1e4,s.queueSize=4,s.partSize=rP,s.leavePartsOnError=!1,s.tags=[],s.concurrentUploaders=[],s.uploadedParts=[],s.isMultiPart=!0,s.queueSize=e.queueSize||s.queueSize,s.partSize=e.partSize||s.partSize,s.leavePartsOnError=e.leavePartsOnError||s.leavePartsOnError,s.tags=e.tags||s.tags,s.client=e.client,s.params=e.params,s.__validateInput(),s.totalBytes=Q2(s.params.Body),s.bytesUploadedSoFar=0,s.abortController=null!==(a=e.abortController)&&void 0!==a?a:new I2,s}return(0,y.Z)(t,[{key:"abort",value:(e=Zt((0,qe.Z)().mark(function s(){return(0,qe.Z)().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:this.abortController.abort();case 1:case"end":return l.stop()}},s,this)})),function a(){return e.apply(this,arguments)})},{key:"done",value:function(){var e=Zt((0,qe.Z)().mark(function s(){return(0,qe.Z)().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,Promise.race([this.__doMultipartUpload(),this.__abortTimeout(this.abortController.signal)]);case 2:return l.abrupt("return",l.sent);case 3:case"end":return l.stop()}},s,this)}));return function a(){return e.apply(this,arguments)}}()},{key:"on",value:function(a,s){return this.uploadEvent=a,(0,Et.Z)((0,Ee.Z)(t.prototype),"on",this).call(this,a,s)}},{key:"__uploadUsingPut",value:function(){var e=Zt((0,qe.Z)().mark(function s(u){var c,h,C,T,N,F,$,se,ue,ge,Se,we,He,l=this;return(0,qe.Z)().wrap(function(dt){for(;;)switch(dt.prev=dt.next){case 0:return this.isMultiPart=!1,h=(0,b.Z)((0,b.Z)({},this.params),{},{Body:u.data}),F=function(pt){l.bytesUploadedSoFar=pt.loaded,l.totalBytes=pt.total,l.__notifyProgress({loaded:l.bytesUploadedSoFar,total:l.totalBytes,part:u.partNumber,Key:l.params.Key,Bucket:l.params.Bucket})},null!==(N=(T=(C=this.client.config).requestHandler)instanceof X2.EventEmitter?T:null)&&N.on("xhr.upload.progress",F),dt.next=9,Promise.all([this.client.send(new Yk(h)),null==C||null===(c=C.endpoint)||void 0===c?void 0:c.call(C)]);case 9:if(se=($=dt.sent)[0],ue=$[1]){dt.next=18;break}return dt.t0=sr,dt.next=16,Mt(h,Yk,(0,b.Z)({},C));case 16:dt.t1=dt.sent,ue=(0,dt.t0)(dt.t1);case 18:if(ue){dt.next=20;break}throw new Error('Could not resolve endpoint from S3 "client.config.endpoint()" nor EndpointsV2.');case 20:null!==N&&N.off("xhr.upload.progress",F),ge=this.params.Key.split("/").map(function(Ot){return $0(Ot)}).join("/"),Se=$0(this.params.Bucket),void 0,Ot=ue.hostname.startsWith("".concat(Se,".")),we=l.client.config.forcePathStyle?"".concat(ue.protocol,"//").concat(ue.hostname,"/").concat(Se,"/").concat(ge):Ot?"".concat(ue.protocol,"//").concat(ue.hostname,"/").concat(ge):"".concat(ue.protocol,"//").concat(Se,".").concat(ue.hostname,"/").concat(ge),this.singleUploadResult=(0,b.Z)((0,b.Z)({},se),{},{Bucket:this.params.Bucket,Key:this.params.Key,Location:we}),He=Q2(u.data),this.__notifyProgress({loaded:He,total:He,part:1,Key:this.params.Key,Bucket:this.params.Bucket});case 27:case"end":return dt.stop()}var Ot},s,this)}));return function a(s){return e.apply(this,arguments)}}()},{key:"__createMultipartUpload",value:function(){var e=Zt((0,qe.Z)().mark(function s(){var u;return(0,qe.Z)().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return this.createMultiPartPromise||(u=(0,b.Z)((0,b.Z)({},this.params),{},{Body:void 0}),this.createMultiPartPromise=this.client.send(new yV(u))),h.next=3,this.createMultiPartPromise;case 3:this.uploadId=h.sent.UploadId;case 5:case"end":return h.stop()}},s,this)}));return function a(){return e.apply(this,arguments)}}()},{key:"__doConcurrentUpload",value:function(){var e=Zt((0,qe.Z)().mark(function s(u){var c,h,C,T,N,F,$,l=this;return(0,qe.Z)().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:c=!1,h=!1,ue.prev=2,T=(0,qe.Z)().mark(function ge(){var Se,we,He,ot,dt,Ot,pt;return(0,qe.Z)().wrap(function($t){for(;;)switch($t.prev=$t.next){case 0:if(Se=F.value,!(l.uploadedParts.length>l.MAX_PARTS)){$t.next=3;break}throw new Error("Exceeded ".concat(l.MAX_PARTS," as part of the upload to ").concat(l.params.Key," and ").concat(l.params.Bucket,"."));case 3:if($t.prev=3,!l.abortController.signal.aborted){$t.next=6;break}return $t.abrupt("return",{v:void 0});case 6:if(1!==Se.partNumber||!Se.lastPart){$t.next=11;break}return $t.next=9,l.__uploadUsingPut(Se);case 9:return $t.t0=$t.sent,$t.abrupt("return",{v:$t.t0});case 11:if(l.uploadId){$t.next=16;break}return $t.next=14,l.__createMultipartUpload();case 14:if(!l.abortController.signal.aborted){$t.next=16;break}return $t.abrupt("return",{v:void 0});case 16:return we=Q2(Se.data)||0,dt=0,Ot=function(Gt,Ut){(Number(Ut.query.partNumber)||-1)===Se.partNumber&&(Gt.total&&we&&(l.bytesUploadedSoFar+=Gt.loaded-dt,dt=Gt.loaded),l.__notifyProgress({loaded:l.bytesUploadedSoFar,total:l.totalBytes,part:Se.partNumber,Key:l.params.Key,Bucket:l.params.Bucket}))},null!==(ot=(He=l.client.config.requestHandler)instanceof X2.EventEmitter?He:null)&&ot.on("xhr.upload.progress",Ot),$t.next=24,l.client.send(new EV((0,b.Z)((0,b.Z)({},l.params),{},{UploadId:l.uploadId,Body:Se.data,PartNumber:Se.partNumber})));case 24:if(pt=$t.sent,null!==ot&&ot.off("xhr.upload.progress",Ot),!l.abortController.signal.aborted){$t.next=28;break}return $t.abrupt("return",{v:void 0});case 28:if(pt.ETag){$t.next=30;break}throw new Error("Part ".concat(Se.partNumber," is missing ETag in UploadPart response. Missing Bucket CORS configuration for ETag header?"));case 30:l.uploadedParts.push((0,b.Z)((0,b.Z)((0,b.Z)((0,b.Z)({PartNumber:Se.partNumber,ETag:pt.ETag},pt.ChecksumCRC32&&{ChecksumCRC32:pt.ChecksumCRC32}),pt.ChecksumCRC32C&&{ChecksumCRC32C:pt.ChecksumCRC32C}),pt.ChecksumSHA1&&{ChecksumSHA1:pt.ChecksumSHA1}),pt.ChecksumSHA256&&{ChecksumSHA256:pt.ChecksumSHA256})),null===ot&&(l.bytesUploadedSoFar+=we),l.__notifyProgress({loaded:l.bytesUploadedSoFar,total:l.totalBytes,part:Se.partNumber,Key:l.params.Key,Bucket:l.params.Bucket}),$t.next=41;break;case 35:if($t.prev=35,$t.t1=$t.catch(3),l.uploadId){$t.next=39;break}throw $t.t1;case 39:if(!l.leavePartsOnError){$t.next=41;break}throw $t.t1;case 41:case"end":return $t.stop()}},ge,null,[[3,35]])}),N=uo(u);case 5:return ue.next=7,N.next();case 7:if(!(c=!(F=ue.sent).done)){ue.next=15;break}return ue.delegateYield(T(),"t0",9);case 9:if("object"!=typeof($=ue.t0)){ue.next=12;break}return ue.abrupt("return",$.v);case 12:c=!1,ue.next=5;break;case 15:ue.next=21;break;case 17:ue.prev=17,ue.t1=ue.catch(2),h=!0,C=ue.t1;case 21:if(ue.prev=21,ue.prev=22,!c||null==N.return){ue.next=26;break}return ue.next=26,N.return();case 26:if(ue.prev=26,!h){ue.next=29;break}throw C;case 29:return ue.finish(26);case 30:return ue.finish(21);case 31:case"end":return ue.stop()}},s,null,[[2,17,21,31],[22,,26,30]])}));return function a(s){return e.apply(this,arguments)}}()},{key:"__doMultipartUpload",value:function(){var e=Zt((0,qe.Z)().mark(function s(){var u,l,c,h,C;return(0,qe.Z)().wrap(function(N){for(;;)switch(N.prev=N.next){case 0:for(u=IV(this.params.Body,this.partSize),l=0;l<this.queueSize;l++)c=this.__doConcurrentUpload(u),this.concurrentUploaders.push(c);return N.next=4,Promise.all(this.concurrentUploaders);case 4:if(!this.abortController.signal.aborted){N.next=6;break}throw Object.assign(new Error("Upload aborted."),{name:"AbortError"});case 6:if(!this.isMultiPart){N.next=14;break}return this.uploadedParts.sort(function(F,$){return F.PartNumber-$.PartNumber}),C=(0,b.Z)((0,b.Z)({},this.params),{},{Body:void 0,UploadId:this.uploadId,MultipartUpload:{Parts:this.uploadedParts}}),N.next=11,this.client.send(new PV(C));case 11:h=N.sent,N.next=15;break;case 14:h=this.singleUploadResult;case 15:if(!this.tags.length){N.next=18;break}return N.next=18,this.client.send(new AV((0,b.Z)((0,b.Z)({},this.params),{},{Tagging:{TagSet:this.tags}})));case 18:return N.abrupt("return",h);case 19:case"end":return N.stop()}},s,this)}));return function a(){return e.apply(this,arguments)}}()},{key:"__notifyProgress",value:function(a){this.uploadEvent&&this.emit(this.uploadEvent,a)}},{key:"__abortTimeout",value:function(){var e=Zt((0,qe.Z)().mark(function s(u){return(0,qe.Z)().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.abrupt("return",new Promise(function(h,C){u.onabort=function(){var T=new Error("Upload aborted.");T.name="AbortError",C(T)}}));case 1:case"end":return c.stop()}},s)}));return function a(s){return e.apply(this,arguments)}}()},{key:"__validateInput",value:function(){if(!this.params)throw new Error("InputError: Upload requires params to be passed to upload.");if(!this.client)throw new Error("InputError: Upload requires a AWS client to do uploads with.");if(this.partSize<rP)throw new Error("EntityTooSmall: Your proposed upload partsize [".concat(this.partSize,"] is smaller than the minimum allowed size [").concat(rP,"] (5MB)"));if(this.queueSize<1)throw new Error("Queue size: Must have at least one uploading queue.")}}]),t}(X2.EventEmitter),Qo=function(o){(0,z.Z)(t,o);var n=(0,H.Z)(t);function t(e){var a;return(0,f.Z)(this,t),a=n.call(this,e),Object.setPrototypeOf((0,gt.Z)(a),t.prototype),a}return(0,y.Z)(t)}(Zk),FV=function(o){(0,z.Z)(t,o);var n=(0,H.Z)(t);function t(e){var a;return(0,f.Z)(this,t),(a=n.call(this,(0,b.Z)({name:"InternalErrorException",$fault:"server"},e))).name="InternalErrorException",a.$fault="server",Object.setPrototypeOf((0,gt.Z)(a),t.prototype),a}return(0,y.Z)(t)}(Qo),MV=function(o){(0,z.Z)(t,o);var n=(0,H.Z)(t);function t(e){var a;return(0,f.Z)(this,t),(a=n.call(this,(0,b.Z)({name:"InvalidParameterException",$fault:"client"},e))).name="InvalidParameterException",a.$fault="client",Object.setPrototypeOf((0,gt.Z)(a),t.prototype),a}return(0,y.Z)(t)}(Qo),NV=function(o){(0,z.Z)(t,o);var n=(0,H.Z)(t);function t(e){var a;return(0,f.Z)(this,t),(a=n.call(this,(0,b.Z)({name:"LimitExceededException",$fault:"client"},e))).name="LimitExceededException",a.$fault="client",Object.setPrototypeOf((0,gt.Z)(a),t.prototype),a}return(0,y.Z)(t)}(Qo),VV=function(o){(0,z.Z)(t,o);var n=(0,H.Z)(t);function t(e){var a;return(0,f.Z)(this,t),(a=n.call(this,(0,b.Z)({name:"NotAuthorizedException",$fault:"client"},e))).name="NotAuthorizedException",a.$fault="client",Object.setPrototypeOf((0,gt.Z)(a),t.prototype),a}return(0,y.Z)(t)}(Qo),BV=function(o){(0,z.Z)(t,o);var n=(0,H.Z)(t);function t(e){var a;return(0,f.Z)(this,t),(a=n.call(this,(0,b.Z)({name:"ResourceConflictException",$fault:"client"},e))).name="ResourceConflictException",a.$fault="client",Object.setPrototypeOf((0,gt.Z)(a),t.prototype),a}return(0,y.Z)(t)}(Qo),ZV=function(o){(0,z.Z)(t,o);var n=(0,H.Z)(t);function t(e){var a;return(0,f.Z)(this,t),(a=n.call(this,(0,b.Z)({name:"TooManyRequestsException",$fault:"client"},e))).name="TooManyRequestsException",a.$fault="client",Object.setPrototypeOf((0,gt.Z)(a),t.prototype),a}return(0,y.Z)(t)}(Qo),LV=function(o){(0,z.Z)(t,o);var n=(0,H.Z)(t);function t(e){var a;return(0,f.Z)(this,t),(a=n.call(this,(0,b.Z)({name:"ResourceNotFoundException",$fault:"client"},e))).name="ResourceNotFoundException",a.$fault="client",Object.setPrototypeOf((0,gt.Z)(a),t.prototype),a}return(0,y.Z)(t)}(Qo),jV=function(o){(0,z.Z)(t,o);var n=(0,H.Z)(t);function t(e){var a;return(0,f.Z)(this,t),(a=n.call(this,(0,b.Z)({name:"ExternalServiceException",$fault:"client"},e))).name="ExternalServiceException",a.$fault="client",Object.setPrototypeOf((0,gt.Z)(a),t.prototype),a}return(0,y.Z)(t)}(Qo),$V=function(o){(0,z.Z)(t,o);var n=(0,H.Z)(t);function t(e){var a;return(0,f.Z)(this,t),(a=n.call(this,(0,b.Z)({name:"InvalidIdentityPoolConfigurationException",$fault:"client"},e))).name="InvalidIdentityPoolConfigurationException",a.$fault="client",Object.setPrototypeOf((0,gt.Z)(a),t.prototype),a}return(0,y.Z)(t)}(Qo),UV=function(){var o=Zt((0,qe.Z)().mark(function n(t,e){var a,s;return(0,qe.Z)().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return a=dR("GetCredentialsForIdentity"),s=JSON.stringify(lo(t)),l.abrupt("return",cR(e,a,"/",void 0,s));case 3:case"end":return l.stop()}},n)}));return function(t,e){return o.apply(this,arguments)}}(),zV=function(){var o=Zt((0,qe.Z)().mark(function n(t,e){var a,s;return(0,qe.Z)().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return a=dR("GetId"),s=JSON.stringify(lo(t)),l.abrupt("return",cR(e,a,"/",void 0,s));case 3:case"end":return l.stop()}},n)}));return function(t,e){return o.apply(this,arguments)}}(),GV=function(){var o=Zt((0,qe.Z)().mark(function n(t,e){var s,u;return(0,qe.Z)().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:if(!(t.statusCode>=300)){c.next=2;break}return c.abrupt("return",HV(t,e));case 2:return c.next=4,iP(t.body,e);case 4:return s=YV(c.sent,e),u=(0,b.Z)({$metadata:Eo(t)},s),c.abrupt("return",u);case 9:case"end":return c.stop()}},n)}));return function(t,e){return o.apply(this,arguments)}}(),HV=function(){var o=Zt((0,qe.Z)().mark(function n(t,e){var a,s;return(0,qe.Z)().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.t0=b.Z,c.t1=(0,b.Z)({},t),c.t2={},c.next=5,pR(t.body,e);case 5:c.t3=c.sent,c.t4={body:c.t3},a=(0,c.t0)(c.t1,c.t2,c.t4),s=fR(t,a.body),c.t5=s,c.next="ExternalServiceException"===c.t5||"com.amazonaws.cognitoidentity#ExternalServiceException"===c.t5?12:"InternalErrorException"===c.t5||"com.amazonaws.cognitoidentity#InternalErrorException"===c.t5?15:"InvalidIdentityPoolConfigurationException"===c.t5||"com.amazonaws.cognitoidentity#InvalidIdentityPoolConfigurationException"===c.t5?18:"InvalidParameterException"===c.t5||"com.amazonaws.cognitoidentity#InvalidParameterException"===c.t5?21:"NotAuthorizedException"===c.t5||"com.amazonaws.cognitoidentity#NotAuthorizedException"===c.t5?24:"ResourceConflictException"===c.t5||"com.amazonaws.cognitoidentity#ResourceConflictException"===c.t5?27:"ResourceNotFoundException"===c.t5||"com.amazonaws.cognitoidentity#ResourceNotFoundException"===c.t5?30:"TooManyRequestsException"===c.t5||"com.amazonaws.cognitoidentity#TooManyRequestsException"===c.t5?33:36;break;case 12:return c.next=14,nR(a,e);case 14:case 17:case 20:case 23:case 26:case 29:case 32:case 35:throw c.sent;case 15:return c.next=17,rR(a,e);case 18:return c.next=20,WV(a,e);case 21:return c.next=23,iR(a,e);case 24:return c.next=26,aR(a,e);case 27:return c.next=29,oR(a,e);case 30:return c.next=32,sR(a,e);case 33:return c.next=35,uR(a,e);case 36:return c.abrupt("return",lR({output:t,parsedBody:a.body,errorCode:s}));case 38:case"end":return c.stop()}},n)}));return function(t,e){return o.apply(this,arguments)}}(),qV=function(){var o=Zt((0,qe.Z)().mark(function n(t,e){var s,u;return(0,qe.Z)().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:if(!(t.statusCode>=300)){c.next=2;break}return c.abrupt("return",KV(t,e));case 2:return c.next=4,iP(t.body,e);case 4:return s=lo(c.sent),u=(0,b.Z)({$metadata:Eo(t)},s),c.abrupt("return",u);case 9:case"end":return c.stop()}},n)}));return function(t,e){return o.apply(this,arguments)}}(),KV=function(){var o=Zt((0,qe.Z)().mark(function n(t,e){var a,s;return(0,qe.Z)().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.t0=b.Z,c.t1=(0,b.Z)({},t),c.t2={},c.next=5,pR(t.body,e);case 5:c.t3=c.sent,c.t4={body:c.t3},a=(0,c.t0)(c.t1,c.t2,c.t4),s=fR(t,a.body),c.t5=s,c.next="ExternalServiceException"===c.t5||"com.amazonaws.cognitoidentity#ExternalServiceException"===c.t5?12:"InternalErrorException"===c.t5||"com.amazonaws.cognitoidentity#InternalErrorException"===c.t5?15:"InvalidParameterException"===c.t5||"com.amazonaws.cognitoidentity#InvalidParameterException"===c.t5?18:"LimitExceededException"===c.t5||"com.amazonaws.cognitoidentity#LimitExceededException"===c.t5?21:"NotAuthorizedException"===c.t5||"com.amazonaws.cognitoidentity#NotAuthorizedException"===c.t5?24:"ResourceConflictException"===c.t5||"com.amazonaws.cognitoidentity#ResourceConflictException"===c.t5?27:"ResourceNotFoundException"===c.t5||"com.amazonaws.cognitoidentity#ResourceNotFoundException"===c.t5?30:"TooManyRequestsException"===c.t5||"com.amazonaws.cognitoidentity#TooManyRequestsException"===c.t5?33:36;break;case 12:return c.next=14,nR(a,e);case 14:case 17:case 20:case 23:case 26:case 29:case 32:case 35:throw c.sent;case 15:return c.next=17,rR(a,e);case 18:return c.next=20,iR(a,e);case 21:return c.next=23,XV(a,e);case 24:return c.next=26,aR(a,e);case 27:return c.next=29,oR(a,e);case 30:return c.next=32,sR(a,e);case 33:return c.next=35,uR(a,e);case 36:return c.abrupt("return",lR({output:t,parsedBody:a.body,errorCode:s}));case 38:case"end":return c.stop()}},n)}));return function(t,e){return o.apply(this,arguments)}}(),nR=function(){var o=Zt((0,qe.Z)().mark(function n(t,e){var a,s,u;return(0,qe.Z)().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return s=lo(a=t.body),u=new jV((0,b.Z)({$metadata:Eo(t)},s)),c.abrupt("return",Ko(u,a));case 4:case"end":return c.stop()}},n)}));return function(t,e){return o.apply(this,arguments)}}(),rR=function(){var o=Zt((0,qe.Z)().mark(function n(t,e){var a,s,u;return(0,qe.Z)().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return s=lo(a=t.body),u=new FV((0,b.Z)({$metadata:Eo(t)},s)),c.abrupt("return",Ko(u,a));case 4:case"end":return c.stop()}},n)}));return function(t,e){return o.apply(this,arguments)}}(),WV=function(){var o=Zt((0,qe.Z)().mark(function n(t,e){var a,s,u;return(0,qe.Z)().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return s=lo(a=t.body),u=new $V((0,b.Z)({$metadata:Eo(t)},s)),c.abrupt("return",Ko(u,a));case 4:case"end":return c.stop()}},n)}));return function(t,e){return o.apply(this,arguments)}}(),iR=function(){var o=Zt((0,qe.Z)().mark(function n(t,e){var a,s,u;return(0,qe.Z)().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return s=lo(a=t.body),u=new MV((0,b.Z)({$metadata:Eo(t)},s)),c.abrupt("return",Ko(u,a));case 4:case"end":return c.stop()}},n)}));return function(t,e){return o.apply(this,arguments)}}(),XV=function(){var o=Zt((0,qe.Z)().mark(function n(t,e){var a,s,u;return(0,qe.Z)().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return s=lo(a=t.body),u=new NV((0,b.Z)({$metadata:Eo(t)},s)),c.abrupt("return",Ko(u,a));case 4:case"end":return c.stop()}},n)}));return function(t,e){return o.apply(this,arguments)}}(),aR=function(){var o=Zt((0,qe.Z)().mark(function n(t,e){var a,s,u;return(0,qe.Z)().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return s=lo(a=t.body),u=new VV((0,b.Z)({$metadata:Eo(t)},s)),c.abrupt("return",Ko(u,a));case 4:case"end":return c.stop()}},n)}));return function(t,e){return o.apply(this,arguments)}}(),oR=function(){var o=Zt((0,qe.Z)().mark(function n(t,e){var a,s,u;return(0,qe.Z)().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return s=lo(a=t.body),u=new BV((0,b.Z)({$metadata:Eo(t)},s)),c.abrupt("return",Ko(u,a));case 4:case"end":return c.stop()}},n)}));return function(t,e){return o.apply(this,arguments)}}(),sR=function(){var o=Zt((0,qe.Z)().mark(function n(t,e){var a,s,u;return(0,qe.Z)().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return s=lo(a=t.body),u=new LV((0,b.Z)({$metadata:Eo(t)},s)),c.abrupt("return",Ko(u,a));case 4:case"end":return c.stop()}},n)}));return function(t,e){return o.apply(this,arguments)}}(),uR=function(){var o=Zt((0,qe.Z)().mark(function n(t,e){var a,s,u;return(0,qe.Z)().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return s=lo(a=t.body),u=new ZV((0,b.Z)({$metadata:Eo(t)},s)),c.abrupt("return",Ko(u,a));case 4:case"end":return c.stop()}},n)}));return function(t,e){return o.apply(this,arguments)}}(),YV=function(n,t){return $k(n,{Credentials:function(a){return function(n,t){return $k(n,{AccessKeyId:va,Expiration:function(a){return gl(function(n){if(null!=n){var t;if("number"==typeof n)t=n;else{if("string"!=typeof n)throw new TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation");t=function(n){return ff("string"==typeof n?Oc(n):n)}(n)}if(Number.isNaN(t)||t===1/0||t===-1/0)throw new TypeError("Epoch timestamps must be valid, non-Infinite, non-NaN numerics");return new Date(Math.round(1e3*t))}}(ff(a)))},SecretKey:va,SessionToken:va})}(a)},IdentityId:va})},Eo=function(n){var t,e;return{httpStatusCode:n.statusCode,requestId:null!==(t=null!==(e=n.headers["x-amzn-requestid"])&&void 0!==e?e:n.headers["x-amzn-request-id"])&&void 0!==t?t:n.headers["x-amz-request-id"],extendedRequestId:n.headers["x-amz-id-2"],cfId:n.headers["x-amz-cf-id"]}},lR=Lk(Qo),cR=function(){var o=Zt((0,qe.Z)().mark(function n(t,e,a,s,u){var l,h,N,F;return(0,qe.Z)().wrap(function(se){for(;;)switch(se.prev=se.next){case 0:return se.next=2,t.endpoint();case 2:return F={protocol:void 0===(h=(l=se.sent).protocol)?"https":h,hostname:l.hostname,port:l.port,method:"POST",path:(N=l.path).endsWith("/")?N.slice(0,-1)+a:N+a,headers:e},void 0!==s&&(F.hostname=s),void 0!==u&&(F.body=u),se.abrupt("return",new Mc(F));case 12:case"end":return se.stop()}},n)}));return function(t,e,a,s,u){return o.apply(this,arguments)}}();function dR(o){return{"content-type":"application/x-amz-json-1.1","x-amz-target":"AWSCognitoIdentityService.".concat(o)}}var iP=function(n,t){return function(n,t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Uint8Array,t=arguments.length>1?arguments[1]:void 0;return n instanceof Uint8Array?Promise.resolve(n):t.streamCollector(n)||Promise.resolve(new Uint8Array)}(n,t).then(function(e){return t.utf8Encoder(e)})}(n,t).then(function(e){return e.length?JSON.parse(e):{}})},pR=function(){var o=Zt((0,qe.Z)().mark(function n(t,e){var a,s;return(0,qe.Z)().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,iP(t,e);case 2:return(s=l.sent).message=null!==(a=s.message)&&void 0!==a?a:s.Message,l.abrupt("return",s);case 5:case"end":return l.stop()}},n)}));return function(t,e){return o.apply(this,arguments)}}(),fR=function(n,t){var a=function(l){var c=l;return"number"==typeof c&&(c=c.toString()),c.indexOf(",")>=0&&(c=c.split(",")[0]),c.indexOf(":")>=0&&(c=c.split(":")[0]),c.indexOf("#")>=0&&(c=c.split("#")[1]),c},s=("x-amzn-errortype",Object.keys(n.headers).find(function(h){return h.toLowerCase()==="x-amzn-errortype".toLowerCase()}));return void 0!==s?a(n.headers[s]):void 0!==t.code?a(t.code):void 0!==t.__type?a(t.__type):void 0},r6=function(o){(0,z.Z)(t,o);var n=(0,H.Z)(t);function t(e){var a;return(0,f.Z)(this,t),(a=n.call(this)).input=e,a}return(0,y.Z)(t,[{key:"resolveMiddleware",value:function(a,s,u){this.middlewareStack.use(It(s,this.serialize,this.deserialize)),this.middlewareStack.use(dn(s,t.getEndpointParameterInstructions()));var l=a.concat(this.middlewareStack),N=s.requestHandler;return l.resolve(function(F){return N.handle(F.request,u||{})},{logger:s.logger,clientName:"CognitoIdentityClient",commandName:"GetIdCommand",inputFilterSensitiveLog:function($){return $},outputFilterSensitiveLog:function($){return $}})}},{key:"serialize",value:function(a,s){return zV(a,s)}},{key:"deserialize",value:function(a,s){return qV(a,s)}}],[{key:"getEndpointParameterInstructions",value:function(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}}]),t}(hl),a6=function(o){(0,z.Z)(t,o);var n=(0,H.Z)(t);function t(e){var a,s=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return(0,f.Z)(this,t),(a=n.call(this,e)).tryNextLink=s,a.name="ProviderError",Object.setPrototypeOf((0,gt.Z)(a),t.prototype),a}return(0,y.Z)(t,null,[{key:"from",value:function(a){return Object.assign(new this(a.message,!(arguments.length>1&&void 0!==arguments[1])||arguments[1]),a)}}]),t}((0,G.Z)(Error)),G0=function(o){(0,z.Z)(t,o);var n=(0,H.Z)(t);function t(e){var a,s=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return(0,f.Z)(this,t),(a=n.call(this,e,s)).tryNextLink=s,a.name="CredentialsProviderError",Object.setPrototypeOf((0,gt.Z)(a),t.prototype),a}return(0,y.Z)(t)}(a6),mR=function(n,t,e){var a,s,u,l=!1,c=function(){var h=Zt((0,qe.Z)().mark(function C(){return(0,qe.Z)().wrap(function(N){for(;;)switch(N.prev=N.next){case 0:return s||(s=n()),N.prev=1,N.next=4,s;case 4:a=N.sent,u=!0,l=!1;case 7:return N.prev=7,s=void 0,N.finish(7);case 10:return N.abrupt("return",a);case 11:case"end":return N.stop()}},C,null,[[1,,7,10]])}));return function(){return h.apply(this,arguments)}}();return void 0===t?function(){var h=Zt((0,qe.Z)().mark(function C(T){return(0,qe.Z)().wrap(function(F){for(;;)switch(F.prev=F.next){case 0:if(u&&(null==T||!T.forceRefresh)){F.next=4;break}return F.next=3,c();case 3:a=F.sent;case 4:return F.abrupt("return",a);case 5:case"end":return F.stop()}},C)}));return function(C){return h.apply(this,arguments)}}():function(){var h=Zt((0,qe.Z)().mark(function C(T){return(0,qe.Z)().wrap(function(F){for(;;)switch(F.prev=F.next){case 0:if(u&&(null==T||!T.forceRefresh)){F.next=4;break}return F.next=3,c();case 3:a=F.sent;case 4:if(!l){F.next=6;break}return F.abrupt("return",a);case 6:if(!e||e(a)){F.next=9;break}return l=!0,F.abrupt("return",a);case 9:if(!t(a)){F.next=13;break}return F.next=12,c();case 12:case 13:return F.abrupt("return",a);case 14:case"end":return F.stop()}},C)}));return function(C){return h.apply(this,arguments)}}()},o6=function(o){(0,z.Z)(t,o);var n=(0,H.Z)(t);function t(e){var a;return(0,f.Z)(this,t),(a=n.call(this)).input=e,a}return(0,y.Z)(t,[{key:"resolveMiddleware",value:function(a,s,u){this.middlewareStack.use(It(s,this.serialize,this.deserialize)),this.middlewareStack.use(dn(s,t.getEndpointParameterInstructions()));var l=a.concat(this.middlewareStack),N=s.requestHandler;return l.resolve(function(F){return N.handle(F.request,u||{})},{logger:s.logger,clientName:"CognitoIdentityClient",commandName:"GetCredentialsForIdentityCommand",inputFilterSensitiveLog:function($){return $},outputFilterSensitiveLog:function($){return $}})}},{key:"serialize",value:function(a,s){return UV(a,s)}},{key:"deserialize",value:function(a,s){return GV(a,s)}}],[{key:"getEndpointParameterInstructions",value:function(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}}]),t}(hl);function hR(o){return Promise.all(Object.keys(o).reduce(function(n,t){var e=o[t];return n.push("string"==typeof e?[t,e]:e().then(function(a){return[t,a]})),n},[])).then(function(n){return n.reduce(function(t,e){var a=(0,g.Z)(e,2);return t[a[0]]=a[1],t},{})})}function s6(o){return Zt((0,qe.Z)().mark(function n(){var e,a,s,u,l,c,h;return(0,qe.Z)().wrap(function(N){for(;;)switch(N.prev=N.next){case 0:if(N.t0=o.client,N.t1=o6,N.t2=o.customRoleArn,N.t3=o.identityId,!o.logins){N.next=10;break}return N.next=7,hR(o.logins);case 7:N.t4=N.sent,N.next=11;break;case 10:N.t4=void 0;case 11:return N.t5=N.t4,N.t6={CustomRoleArn:N.t2,IdentityId:N.t3,Logins:N.t5},N.t7=new N.t1(N.t6),N.next=16,N.t0.send.call(N.t0,N.t7);case 16:return a=void 0===(e=N.sent.Credentials)?l6():e,u=void 0===(s=a.AccessKeyId)?u6():s,l=a.Expiration,h=void 0===(c=a.SecretKey)?c6():c,N.abrupt("return",{identityId:o.identityId,accessKeyId:u,secretAccessKey:h,sessionToken:a.SessionToken,expiration:l});case 26:case"end":return N.stop()}},n)}))}function u6(){throw new G0("Response from Amazon Cognito contained no access key ID")}function l6(){throw new G0("Response from Amazon Cognito contained no credentials")}function c6(){throw new G0("Response from Amazon Cognito contained no secret key")}var aP="IdentityIds",d6=function(){function o(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"aws:cognito-identity-ids";(0,f.Z)(this,o),this.dbName=n}return(0,y.Z)(o,[{key:"getItem",value:function(t){return this.withObjectStore("readonly",function(e){var a=e.get(t);return new Promise(function(s){a.onerror=function(){return s(null)},a.onsuccess=function(){return s(a.result?a.result.value:null)}})}).catch(function(){return null})}},{key:"removeItem",value:function(t){return this.withObjectStore("readwrite",function(e){var a=e.delete(t);return new Promise(function(s,u){a.onerror=function(){return u(a.error)},a.onsuccess=function(){return s()}})})}},{key:"setItem",value:function(t,e){return this.withObjectStore("readwrite",function(a){var s=a.put({id:t,value:e});return new Promise(function(u,l){s.onerror=function(){return l(s.error)},s.onsuccess=function(){return u()}})})}},{key:"getDb",value:function(){var t=self.indexedDB.open(this.dbName,1);return new Promise(function(e,a){t.onsuccess=function(){e(t.result)},t.onerror=function(){a(t.error)},t.onblocked=function(){a(new Error("Unable to access DB"))},t.onupgradeneeded=function(){var s=t.result;s.onerror=function(){a(new Error("Failed to create object store"))},s.createObjectStore(aP,{keyPath:"id"})}})}},{key:"withObjectStore",value:function(t,e){return this.getDb().then(function(a){var s=a.transaction(aP,t);return s.oncomplete=function(){return a.close()},new Promise(function(u,l){s.onerror=function(){return l(s.error)},u(e(s.objectStore(aP)))}).catch(function(u){throw a.close(),u})})}}]),o}(),p6=function(){function o(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,f.Z)(this,o),this.store=n}return(0,y.Z)(o,[{key:"getItem",value:function(t){return t in this.store?this.store[t]:null}},{key:"removeItem",value:function(t){delete this.store[t]}},{key:"setItem",value:function(t,e){this.store[t]=e}}]),o}(),f6=new p6;function oP(o){var n=o.accountId,t=o.cache,e=void 0===t?function m6(){return"object"==typeof self&&self.indexedDB?new d6:"object"==typeof window&&window.localStorage?window.localStorage:f6}():t,a=o.client,s=o.customRoleArn,u=o.identityPoolId,l=o.logins,c=o.userIdentifier,h=void 0===c?l&&0!==Object.keys(l).length?void 0:"ANONYMOUS":c,C=h?"aws:cognito-identity-credentials:".concat(u,":").concat(h):void 0,T=function(){var N=Zt((0,qe.Z)().mark(function F(){var $,ue,ge;return(0,qe.Z)().wrap(function(we){for(;;)switch(we.prev=we.next){case 0:if(we.t0=C,!we.t0){we.next=5;break}return we.next=4,e.getItem(C);case 4:we.t0=we.sent;case 5:if($=we.t0){we.next=28;break}if(we.t1=a,we.t2=r6,we.t3=n,we.t4=u,!l){we.next=17;break}return we.next=14,hR(l);case 14:we.t5=we.sent,we.next=18;break;case 17:we.t5=void 0;case 18:return we.t6=we.t5,we.t7={AccountId:we.t3,IdentityPoolId:we.t4,Logins:we.t6},we.t8=new we.t2(we.t7),we.next=23,we.t1.send.call(we.t1,we.t8);case 23:ge=void 0===(ue=we.sent.IdentityId)?h6():ue,$=ge,C&&Promise.resolve(e.setItem(C,$)).catch(function(){});case 28:return T=s6({client:a,customRoleArn:s,logins:l,identityId:$}),we.abrupt("return",T());case 30:case"end":return we.stop()}},F)}));return function(){return N.apply(this,arguments)}}();return function(){return T().catch(function(){var N=Zt((0,qe.Z)().mark(function F($){return(0,qe.Z)().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:throw C&&Promise.resolve(e.removeItem(C)).catch(function(){}),$;case 2:case"end":return ue.stop()}},F)}));return function(F){return N.apply(this,arguments)}}())}}function h6(){throw new G0("Response from Amazon Cognito contained no identity ID")}var yR=function(n){return"string"==typeof n&&(n.startsWith("fips-")||n.endsWith("-fips"))},_R=function(n){return yR(n)?["fips-aws-global","aws-fips"].includes(n)?"us-east-1":n.replace(/fips-(dkr-|prod-)?|-fips/,""):n},xR=function(n){var a,t=n.region,e=n.useFipsEndpoint;if(!t)throw new Error("Region is missing");return(0,b.Z)((0,b.Z)({},n),{},{region:(a=Zt((0,qe.Z)().mark(function u(){return(0,qe.Z)().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:if("string"!=typeof t){h.next=2;break}return h.abrupt("return",_R(t));case 2:return h.next=4,t();case 4:return h.abrupt("return",_R(h.sent));case 6:case"end":return h.stop()}},u)})),function s(){return a.apply(this,arguments)}),useFipsEndpoint:function(){var a=Zt((0,qe.Z)().mark(function u(){return(0,qe.Z)().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:if("string"!=typeof t){h.next=4;break}h.t0=t,h.next=7;break;case 4:return h.next=6,t();case 6:h.t0=h.sent;case 7:if(!yR(h.t0)){h.next=10;break}return h.abrupt("return",!0);case 10:return h.abrupt("return","function"!=typeof e?Promise.resolve(!!e):e());case 11:case"end":return h.stop()}},u)}));return function s(){return a.apply(this,arguments)}}()})},bR="content-length",w6={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:!0},CR=function(n){return{applyToStack:function(e){e.add(function C6(o){return function(n){return function(){var t=Zt((0,qe.Z)().mark(function e(a){var s,u,l,c;return(0,qe.Z)().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:if(rr.isInstance(s=a.request)&&(l=s.headers,(u=s.body)&&-1===Object.keys(l).map(function(T){return T.toLowerCase()}).indexOf(bR)))try{c=o(u),s.headers=(0,b.Z)((0,b.Z)({},s.headers),{},(0,d.Z)({},bR,String(c)))}catch{}return C.abrupt("return",n((0,b.Z)((0,b.Z)({},a),{},{request:s})));case 3:case"end":return C.stop()}},e)}));return function(e){return t.apply(this,arguments)}}()}}(n.bodyLengthChecker),w6)}}},E6={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0},wR=function(n){return{applyToStack:function(e){e.add(function(n){return function(t){return function(){var e=Zt((0,qe.Z)().mark(function a(s){var u,c,C;return(0,qe.Z)().wrap(function(N){for(;;)switch(N.prev=N.next){case 0:if(rr.isInstance(s.request)){N.next=2;break}return N.abrupt("return",t(s));case 2:return u=s.request,(void 0===(c=(n.requestHandler.metadata||{}).handlerProtocol)?"":c).indexOf("h2")>=0&&!u.headers[":authority"]?(delete u.headers.host,u.headers[":authority"]=""):u.headers.host||(C=u.hostname,null!=u.port&&(C+=":".concat(u.port)),u.headers.host=C),N.abrupt("return",t(s));case 6:case"end":return N.stop()}},a)}));return function(a){return e.apply(this,arguments)}}()}}(n),E6)}}};function sP(o,n){if(null==o)return{};var e,a,t=function P6(o,n){if(null==o)return{};var a,s,t={},e=Object.keys(o);for(s=0;s<e.length;s++)!(n.indexOf(a=e[s])>=0)&&(t[a]=o[a]);return t}(o,n);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(o);for(a=0;a<s.length;a++)!(n.indexOf(e=s[a])>=0)&&Object.prototype.propertyIsEnumerable.call(o,e)&&(t[e]=o[e])}return t}for(var A6=["$metadata"],R6={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0},SR=function(n){return{applyToStack:function(e){e.add(function(n,t){return function(){var e=Zt((0,qe.Z)().mark(function a(s){var u,l,c,h,C,T,N,se,ue,ge,Se,we,He,ot,dt,Ot,pt,tn;return(0,qe.Z)().wrap(function(Ut){for(;;)switch(Ut.prev=Ut.next){case 0:return Ut.prev=0,Ut.next=3,n(s);case 3:return c=t.clientName,h=t.commandName,C=t.logger,se=(N=void 0===(T=t.dynamoDbDocumentClientOptions)?{}:T).overrideInputFilterSensitiveLog??t.inputFilterSensitiveLog,ue=N.overrideOutputFilterSensitiveLog??t.outputFilterSensitiveLog,Se=(ge=(l=Ut.sent).output).$metadata,we=sP(ge,A6),null==C||null===(u=C.info)||void 0===u||u.call(C,{clientName:c,commandName:h,input:se(s.input),output:ue(we),metadata:Se}),Ut.abrupt("return",l);case 13:throw Ut.prev=13,Ut.t0=Ut.catch(0),ot=t.clientName,dt=t.commandName,tn=(void 0===(pt=t.dynamoDbDocumentClientOptions)?{}:pt).overrideInputFilterSensitiveLog??t.inputFilterSensitiveLog,null==(Ot=t.logger)||null===(He=Ot.error)||void 0===He||He.call(Ot,{clientName:ot,commandName:dt,input:tn(s.input),error:Ut.t0,metadata:Ut.t0.$metadata}),Ut.t0;case 20:case"end":return Ut.stop()}},a,null,[[0,13]])}));return function(a){return e.apply(this,arguments)}}()},R6)}}},ER="X-Amzn-Trace-Id",O6={step:"build",tags:["RECURSION_DETECTION"],name:"recursionDetectionMiddleware",override:!0,priority:"low"},PR=function(n){return{applyToStack:function(e){e.add(function(n){return function(t){return function(){var e=Zt((0,qe.Z)().mark(function a(s){var u,l,c,h;return(0,qe.Z)().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:if(rr.isInstance(u=s.request)&&"node"===n.runtime&&!u.headers.hasOwnProperty(ER)){T.next=3;break}return T.abrupt("return",t(s));case 3:return l=process.env.AWS_LAMBDA_FUNCTION_NAME,c=process.env._X_AMZN_TRACE_ID,(h=function(F){return"string"==typeof F&&F.length>0})(l)&&h(c)&&(u.headers[ER]=c),T.abrupt("return",t((0,b.Z)((0,b.Z)({},s),{},{request:u})));case 8:case"end":return T.stop()}},a)}));return function(a){return e.apply(this,arguments)}}()}}(n),O6)}}},Ps=function(){return(Ps=Ps||{}).STANDARD="standard",Ps.ADAPTIVE="adaptive",Ps}(),uP=Ps.STANDARD,F6=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],M6=["AbortError","TimeoutError","RequestTimeout","RequestTimeoutException"],N6=[500,502,503,504],V6=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],AR=function(n){var t,e;return 429===(null===(t=n.$metadata)||void 0===t?void 0:t.httpStatusCode)||F6.includes(n.name)||1==(null===(e=n.$retryable)||void 0===e?void 0:e.throttling)},kR=function(n){var t;return M6.includes(n.name)||V6.includes(n?.code||"")||N6.includes((null===(t=n.$metadata)||void 0===t?void 0:t.httpStatusCode)||0)},Z6=function(){function o(n){var t,e,a,s,u;(0,f.Z)(this,o),this.currentCapacity=0,this.enabled=!1,this.lastMaxRate=0,this.measuredTxRate=0,this.requestCount=0,this.lastTimestamp=0,this.timeWindow=0,this.beta=null!==(t=n?.beta)&&void 0!==t?t:.7,this.minCapacity=null!==(e=n?.minCapacity)&&void 0!==e?e:1,this.minFillRate=null!==(a=n?.minFillRate)&&void 0!==a?a:.5,this.scaleConstant=null!==(s=n?.scaleConstant)&&void 0!==s?s:.4,this.smooth=null!==(u=n?.smooth)&&void 0!==u?u:.8;var l=this.getCurrentTimeInSeconds();this.lastThrottleTime=l,this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}return(0,y.Z)(o,[{key:"getCurrentTimeInSeconds",value:function(){return Date.now()/1e3}},{key:"getSendToken",value:(n=Zt((0,qe.Z)().mark(function e(){return(0,qe.Z)().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.abrupt("return",this.acquireTokenBucket(1));case 1:case"end":return s.stop()}},e,this)})),function t(){return n.apply(this,arguments)})},{key:"acquireTokenBucket",value:function(){var n=Zt((0,qe.Z)().mark(function e(a){var s;return(0,qe.Z)().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:if(this.enabled){l.next=2;break}return l.abrupt("return");case 2:if(this.refillTokenBucket(),!(a>this.currentCapacity)){l.next=7;break}return s=(a-this.currentCapacity)/this.fillRate*1e3,l.next=7,new Promise(function(c){return setTimeout(c,s)});case 7:this.currentCapacity=this.currentCapacity-a;case 8:case"end":return l.stop()}},e,this)}));return function t(e){return n.apply(this,arguments)}}()},{key:"refillTokenBucket",value:function(){var t=this.getCurrentTimeInSeconds();this.lastTimestamp?(this.currentCapacity=Math.min(this.maxCapacity,this.currentCapacity+(t-this.lastTimestamp)*this.fillRate),this.lastTimestamp=t):this.lastTimestamp=t}},{key:"updateClientSendingRate",value:function(t){var e;if(this.updateMeasuredRate(),AR(t)){var a=this.enabled?Math.min(this.measuredTxRate,this.fillRate):this.measuredTxRate;this.lastMaxRate=a,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),e=this.cubicThrottle(a),this.enableTokenBucket()}else this.calculateTimeWindow(),e=this.cubicSuccess(this.getCurrentTimeInSeconds());var s=Math.min(e,2*this.measuredTxRate);this.updateTokenBucketRate(s)}},{key:"calculateTimeWindow",value:function(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,1/3))}},{key:"cubicThrottle",value:function(t){return this.getPrecise(t*this.beta)}},{key:"cubicSuccess",value:function(t){return this.getPrecise(this.scaleConstant*Math.pow(t-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}},{key:"enableTokenBucket",value:function(){this.enabled=!0}},{key:"updateTokenBucketRate",value:function(t){this.refillTokenBucket(),this.fillRate=Math.max(t,this.minFillRate),this.maxCapacity=Math.max(t,this.minCapacity),this.currentCapacity=Math.min(this.currentCapacity,this.maxCapacity)}},{key:"updateMeasuredRate",value:function(){var t=this.getCurrentTimeInSeconds(),e=Math.floor(2*t)/2;this.requestCount++,e>this.lastTxRateBucket&&(this.measuredTxRate=this.getPrecise(this.requestCount/(e-this.lastTxRateBucket)*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=e)}},{key:"getPrecise",value:function(t){return parseFloat(t.toFixed(8))}}]),o;var n}(),TR=function(n){var t=n.retryDelay,e=n.retryCount,a=n.retryCost;return{getRetryCount:function(){return e},getRetryDelay:function(){return Math.min(2e4,t)},getRetryCost:function(){return a}}},IR=function(){function o(n){(0,f.Z)(this,o),this.maxAttempts=n,this.mode=Ps.STANDARD,this.capacity=500,this.retryBackoffStrategy=function(){var n=100;return{computeNextBackoffDelay:function(s){return Math.floor(Math.min(2e4,Math.random()*Math.pow(2,s)*n))},setDelayBase:function(s){n=s}}}(),this.maxAttemptsProvider="function"==typeof n?n:Zt((0,qe.Z)().mark(function t(){return(0,qe.Z)().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",n);case 1:case"end":return a.stop()}},t)}))}return(0,y.Z)(o,[{key:"acquireInitialRetryToken",value:(n=Zt((0,qe.Z)().mark(function e(a){return(0,qe.Z)().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.abrupt("return",TR({retryDelay:100,retryCount:0}));case 1:case"end":return u.stop()}},e)})),function t(e){return n.apply(this,arguments)})},{key:"refreshRetryTokenForRetry",value:function(){var n=Zt((0,qe.Z)().mark(function e(a,s){var l,c,h,C;return(0,qe.Z)().wrap(function(N){for(;;)switch(N.prev=N.next){case 0:return N.next=2,this.getMaxAttempts();case 2:if(!this.shouldRetry(a,s,N.sent)){N.next=11;break}return this.retryBackoffStrategy.setDelayBase("THROTTLING"===(l=s.errorType)?500:100),c=this.retryBackoffStrategy.computeNextBackoffDelay(a.getRetryCount()),h=s.retryAfterHint?Math.max(s.retryAfterHint.getTime()-Date.now()||0,c):c,C=this.getCapacityCost(l),this.capacity-=C,N.abrupt("return",TR({retryDelay:h,retryCount:a.getRetryCount()+1,retryCost:C}));case 11:throw new Error("No retry token available");case 12:case"end":return N.stop()}},e,this)}));return function t(e,a){return n.apply(this,arguments)}}()},{key:"recordSuccess",value:function(t){var e;this.capacity=Math.max(500,this.capacity+(null!==(e=t.getRetryCost())&&void 0!==e?e:1))}},{key:"getCapacity",value:function(){return this.capacity}},{key:"getMaxAttempts",value:function(){var n=Zt((0,qe.Z)().mark(function e(){return(0,qe.Z)().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.prev=0,s.next=3,this.maxAttemptsProvider();case 3:return s.abrupt("return",s.sent);case 6:return s.prev=6,s.t0=s.catch(0),console.warn("Max attempts provider could not resolve. Using default of ".concat(3)),s.abrupt("return",3);case 10:case"end":return s.stop()}},e,this,[[0,6]])}));return function t(){return n.apply(this,arguments)}}()},{key:"shouldRetry",value:function(t,e,a){return t.getRetryCount()<a&&this.capacity>=this.getCapacityCost(e.errorType)&&this.isRetryableError(e.errorType)}},{key:"getCapacityCost",value:function(t){return"TRANSIENT"===t?10:5}},{key:"isRetryableError",value:function(t){return"THROTTLING"===t||"TRANSIENT"===t}}]),o;var n}(),q6=function(){function o(n,t){(0,f.Z)(this,o),this.maxAttemptsProvider=n,this.mode=Ps.ADAPTIVE,this.rateLimiter=(t??{}).rateLimiter??new Z6,this.standardRetryStrategy=new IR(n)}return(0,y.Z)(o,[{key:"acquireInitialRetryToken",value:(n=Zt((0,qe.Z)().mark(function e(a){return(0,qe.Z)().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,this.rateLimiter.getSendToken();case 2:return u.abrupt("return",this.standardRetryStrategy.acquireInitialRetryToken(a));case 3:case"end":return u.stop()}},e,this)})),function t(e){return n.apply(this,arguments)})},{key:"refreshRetryTokenForRetry",value:function(){var n=Zt((0,qe.Z)().mark(function e(a,s){return(0,qe.Z)().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return this.rateLimiter.updateClientSendingRate(s),l.abrupt("return",this.standardRetryStrategy.refreshRetryTokenForRetry(a,s));case 2:case"end":return l.stop()}},e,this)}));return function t(e,a){return n.apply(this,arguments)}}()},{key:"recordSuccess",value:function(t){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(t)}}]),o;var n}(),MR=function(n){var t,s,e=n.retryStrategy,a=_n(null!==(t=n.maxAttempts)&&void 0!==t?t:3);return(0,b.Z)((0,b.Z)({},n),{},{maxAttempts:a,retryStrategy:(s=Zt((0,qe.Z)().mark(function l(){return(0,qe.Z)().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:if(!e){C.next=2;break}return C.abrupt("return",e);case 2:return C.next=4,_n(n.retryMode)();case 4:if(C.sent!==Ps.ADAPTIVE){C.next=7;break}return C.abrupt("return",new q6(a));case 7:return C.abrupt("return",new IR(a));case 8:case"end":return C.stop()}},l)})),function u(){return s.apply(this,arguments)})})},Y6=function(n){return n instanceof Error?n:n instanceof Object?Object.assign(new Error,n):"string"==typeof n?new Error(n):new Error("AWS SDK error wrapper for ".concat(n))},eB=function(n){return typeof n.acquireInitialRetryToken<"u"&&typeof n.refreshRetryTokenForRetry<"u"&&typeof n.recordSuccess<"u"},tB=function(n){var t={errorType:nB(n)},e=iB(n.$response);return e&&(t.retryAfterHint=e),t},nB=function(n){return AR(n)?"THROTTLING":kR(n)?"TRANSIENT":function(n){var t;if(void 0!==(null===(t=n.$metadata)||void 0===t?void 0:t.httpStatusCode)){var e=n.$metadata.httpStatusCode;return 500<=e&&e<=599&&!kR(n)}return!1}(n)?"SERVER_ERROR":"CLIENT_ERROR"},rB={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0},NR=function(n){return{applyToStack:function(e){e.add(function(n){return function(t,e){return function(){var a=Zt((0,qe.Z)().mark(function s(u){var l,c,h,C,T,N,F,$,se,ue;return(0,qe.Z)().wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:return Se.next=2,n.retryStrategy();case 2:return l=Se.sent,Se.next=5,n.maxAttempts();case 5:if(c=Se.sent,!eB(l)){Se.next=26;break}return Se.next=10,l.acquireInitialRetryToken(e.partition_id);case 10:h=Se.sent,C=new Error,T=0,N=0,rr.isInstance(F=u.request)&&(F.headers["amz-sdk-invocation-id"]=vr()),$=(0,qe.Z)().mark(function we(){var He,ot,dt,Ot,pt;return(0,qe.Z)().wrap(function($t){for(;;)switch($t.prev=$t.next){case 0:return $t.prev=0,rr.isInstance(F)&&(F.headers["amz-sdk-request"]="attempt=".concat(T+1,"; max=").concat(c)),$t.next=4,t(u);case 4:return ot=(He=$t.sent).response,dt=He.output,l.recordSuccess(h),dt.$metadata.attempts=T+1,dt.$metadata.totalRetryDelay=N,$t.abrupt("return",{v:{response:ot,output:dt}});case 13:return $t.prev=13,$t.t0=$t.catch(0),Ot=tB($t.t0),C=Y6($t.t0),$t.prev=17,$t.next=20,l.refreshRetryTokenForRetry(h,Ot);case 20:h=$t.sent,$t.next=29;break;case 23:throw $t.prev=23,$t.t1=$t.catch(17),C.$metadata||(C.$metadata={}),C.$metadata.attempts=T+1,C.$metadata.totalRetryDelay=N,C;case 29:return T=h.getRetryCount(),pt=h.getRetryDelay(),N+=pt,$t.next=34,new Promise(function(tn){return setTimeout(tn,pt)});case 34:case"end":return $t.stop()}},we,null,[[0,13],[17,23]])});case 17:return Se.delegateYield($(),"t0",19);case 19:if("object"!=typeof(se=Se.t0)){Se.next=22;break}return Se.abrupt("return",se.v);case 22:Se.next=17;break;case 24:Se.next=29;break;case 26:return null!==(ue=l)&&void 0!==ue&&ue.mode&&(e.userAgent=[].concat((0,_.Z)(e.userAgent||[]),[["cfg/retry-mode",l.mode]])),Se.abrupt("return",l.retry(t,u));case 29:case"end":return Se.stop()}},s)}));return function(s){return a.apply(this,arguments)}}()}}(n),rB)}}},iB=function(n){if(pf.isInstance(n)){var t=Object.keys(n.headers).find(function(u){return"retry-after"===u.toLowerCase()});if(t){var e=n.headers[t],a=Number(e);return Number.isNaN(a)?new Date(e):new Date(1e3*a)}}},VR=S(98407),BR={},cP={},bf=0;bf<256;bf++){var Cf=bf.toString(16).toLowerCase();1===Cf.length&&(Cf="0".concat(Cf)),BR[bf]=Cf,cP[Cf]=bf}function Ka(o){for(var n="",t=0;t<o.byteLength;t++)n+=BR[o[t]];return n}var dP=function(){function o(n){if((0,f.Z)(this,o),this.bytes=n,8!==n.byteLength)throw new Error("Int64 buffers must be exactly 8 bytes")}return(0,y.Z)(o,[{key:"valueOf",value:function(){var t=this.bytes.slice(0),e=128&t[0];return e&&ZR(t),parseInt(Ka(t),16)*(e?-1:1)}},{key:"toString",value:function(){return String(this.valueOf())}}],[{key:"fromNumber",value:function(t){if(t>0x8000000000000000||t<-0x8000000000000000)throw new Error("".concat(t," is too large (or, if negative, too small) to represent as an Int64"));for(var e=new Uint8Array(8),a=7,s=Math.abs(Math.round(t));a>-1&&s>0;a--,s/=256)e[a]=s;return t<0&&ZR(e),new o(e)}}]),o}();function ZR(o){for(var n=0;n<8;n++)o[n]^=255;for(var t=7;t>-1&&(o[t]++,0===o[t]);t--);}var LR=function(){function o(n,t){(0,f.Z)(this,o),this.toUtf8=n,this.fromUtf8=t}return(0,y.Z)(o,[{key:"format",value:function(t){for(var e=[],a=0,s=Object.keys(t);a<s.length;a++){var u=s[a],l=this.fromUtf8(u);e.push(Uint8Array.from([l.byteLength]),l,this.formatHeaderValue(t[u]))}for(var c=new Uint8Array(e.reduce(function(F,$){return F+$.byteLength},0)),h=0,C=0,T=e;C<T.length;C++){var N=T[C];c.set(N,h),h+=N.byteLength}return c}},{key:"formatHeaderValue",value:function(t){switch(t.type){case"boolean":return Uint8Array.from([t.value?0:1]);case"byte":return Uint8Array.from([2,t.value]);case"short":var e=new DataView(new ArrayBuffer(3));return e.setUint8(0,3),e.setInt16(1,t.value,!1),new Uint8Array(e.buffer);case"integer":var a=new DataView(new ArrayBuffer(5));return a.setUint8(0,4),a.setInt32(1,t.value,!1),new Uint8Array(a.buffer);case"long":var s=new Uint8Array(9);return s[0]=5,s.set(t.value.bytes,1),s;case"binary":var u=new DataView(new ArrayBuffer(3+t.value.byteLength));u.setUint8(0,6),u.setUint16(1,t.value.byteLength,!1);var l=new Uint8Array(u.buffer);return l.set(t.value,3),l;case"string":var c=this.fromUtf8(t.value),h=new DataView(new ArrayBuffer(3+c.byteLength));h.setUint8(0,7),h.setUint16(1,c.byteLength,!1);var C=new Uint8Array(h.buffer);return C.set(c,3),C;case"timestamp":var T=new Uint8Array(9);return T[0]=8,T.set(dP.fromNumber(t.value.valueOf()).bytes,1),T;case"uuid":if(!mB.test(t.value))throw new Error("Invalid UUID received: ".concat(t.value));var N=new Uint8Array(17);return N[0]=9,N.set(function aB(o){if(o.length%2!=0)throw new Error("Hex encoded strings must have an even number length");for(var n=new Uint8Array(o.length/2),t=0;t<o.length;t+=2){var e=o.slice(t,t+2).toLowerCase();if(!(e in cP))throw new Error("Cannot decode unrecognized sequence ".concat(e," as hexadecimal"));n[t/2]=cP[e]}return n}(t.value.replace(/\-/g,"")),1),N}}},{key:"parse",value:function(t){for(var e={},a=0;a<t.byteLength;){var s=t.getUint8(a++),u=this.toUtf8(new Uint8Array(t.buffer,t.byteOffset+a,s));switch(a+=s,t.getUint8(a++)){case 0:e[u]={type:jR,value:!0};break;case 1:e[u]={type:jR,value:!1};break;case 2:e[u]={type:oB,value:t.getInt8(a++)};break;case 3:e[u]={type:sB,value:t.getInt16(a,!1)},a+=2;break;case 4:e[u]={type:uB,value:t.getInt32(a,!1)},a+=4;break;case 5:e[u]={type:lB,value:new dP(new Uint8Array(t.buffer,t.byteOffset+a,8))},a+=8;break;case 6:var l=t.getUint16(a,!1);a+=2,e[u]={type:cB,value:new Uint8Array(t.buffer,t.byteOffset+a,l)},a+=l;break;case 7:var c=t.getUint16(a,!1);a+=2,e[u]={type:dB,value:this.toUtf8(new Uint8Array(t.buffer,t.byteOffset+a,c))},a+=c;break;case 8:e[u]={type:pB,value:new Date(new dP(new Uint8Array(t.buffer,t.byteOffset+a,8)).valueOf())},a+=8;break;case 9:var h=new Uint8Array(t.buffer,t.byteOffset+a,16);a+=16,e[u]={type:fB,value:"".concat(Ka(h.subarray(0,4)),"-").concat(Ka(h.subarray(4,6)),"-").concat(Ka(h.subarray(6,8)),"-").concat(Ka(h.subarray(8,10)),"-").concat(Ka(h.subarray(10)))};break;default:throw new Error("Unrecognized header type tag")}}return e}}]),o}(),jR="boolean",oB="byte",sB="short",uB="integer",lB="long",cB="binary",dB="string",pB="timestamp",fB="uuid",mB=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/,vB=function(){function o(n,t){(0,f.Z)(this,o),this.headerMarshaller=new LR(n,t),this.messageBuffer=[],this.isEndOfStream=!1}return(0,y.Z)(o,[{key:"feed",value:function(t){this.messageBuffer.push(this.decode(t))}},{key:"endOfStream",value:function(){this.isEndOfStream=!0}},{key:"getMessage",value:function(){var t=this.messageBuffer.pop(),e=this.isEndOfStream;return{getMessage:function(){return t},isEndOfStream:function(){return e}}}},{key:"getAvailableMessages",value:function(){var t=this.messageBuffer;this.messageBuffer=[];var e=this.isEndOfStream;return{getMessages:function(){return t},isEndOfStream:function(){return e}}}},{key:"encode",value:function(t){var a=t.body,s=this.headerMarshaller.format(t.headers),u=s.byteLength+a.byteLength+16,l=new Uint8Array(u),c=new DataView(l.buffer,l.byteOffset,l.byteLength),h=new VR.Crc32;return c.setUint32(0,u,!1),c.setUint32(4,s.byteLength,!1),c.setUint32(8,h.update(l.subarray(0,8)).digest(),!1),l.set(s,12),l.set(a,s.byteLength+12),c.setUint32(u-4,h.update(l.subarray(8,u-4)).digest(),!1),l}},{key:"decode",value:function(t){var e=function gB(o){var n=o.byteLength,t=o.byteOffset,e=o.buffer;if(n<16)throw new Error("Provided message too short to accommodate event stream message overhead");var a=new DataView(e,t,n),s=a.getUint32(0,!1);if(n!==s)throw new Error("Reported message length does not match received message length");var u=a.getUint32(4,!1),l=a.getUint32(8,!1),c=a.getUint32(n-4,!1),h=(new VR.Crc32).update(new Uint8Array(e,t,8));if(l!==h.digest())throw new Error("The prelude checksum specified in the message (".concat(l,") does not match the calculated CRC32 checksum (").concat(h.digest(),")"));if(h.update(new Uint8Array(e,t+8,n-12)),c!==h.digest())throw new Error("The message checksum (".concat(h.digest(),") did not match the expected value of ").concat(c));return{headers:new DataView(e,t+8+4,u),body:new Uint8Array(e,t+8+4+u,s-u-16)}}(t),s=e.body;return{headers:this.headerMarshaller.parse(e.headers),body:s}}},{key:"formatHeaders",value:function(t){return this.headerMarshaller.format(t)}}]),o}(),yB=function(o){function n(t){(0,f.Z)(this,n),this.options=t}return(0,y.Z)(n,[{key:o,value:function(){return this.asyncIterator()}},{key:"asyncIterator",value:function(){var e=this;return Xo((0,qe.Z)().mark(function a(){var s,u,l,c,h,T;return(0,qe.Z)().wrap(function(F){for(;;)switch(F.prev=F.next){case 0:s=!1,u=!1,F.prev=2,c=uo(e.options.inputStream);case 4:return F.next=6,ea(c.next());case 6:if(!(s=!(h=F.sent).done)){F.next=14;break}return T=e.options.decoder.decode(h.value),F.next=11,T;case 11:s=!1,F.next=4;break;case 14:F.next=20;break;case 16:F.prev=16,F.t0=F.catch(2),u=!0,l=F.t0;case 20:if(F.prev=20,F.prev=21,!s||null==c.return){F.next=25;break}return F.next=25,ea(c.return());case 25:if(F.prev=25,!u){F.next=28;break}throw l;case 28:return F.finish(25);case 29:return F.finish(20);case 30:case"end":return F.stop()}},a,null,[[2,16,20,30],[21,,25,29]])}))()}}]),n}(Symbol.asyncIterator),_B=function(o){function n(t){(0,f.Z)(this,n),this.options=t}return(0,y.Z)(n,[{key:o,value:function(){return this.asyncIterator()}},{key:"asyncIterator",value:function(){var e=this;return Xo((0,qe.Z)().mark(function a(){var s,u,l,c,h,T;return(0,qe.Z)().wrap(function(F){for(;;)switch(F.prev=F.next){case 0:s=!1,u=!1,F.prev=2,c=uo(e.options.messageStream);case 4:return F.next=6,ea(c.next());case 6:if(!(s=!(h=F.sent).done)){F.next=14;break}return T=e.options.encoder.encode(h.value),F.next=11,T;case 11:s=!1,F.next=4;break;case 14:F.next=20;break;case 16:F.prev=16,F.t0=F.catch(2),u=!0,l=F.t0;case 20:if(F.prev=20,F.prev=21,!s||null==c.return){F.next=25;break}return F.next=25,ea(c.return());case 25:if(F.prev=25,!u){F.next=28;break}throw l;case 28:return F.finish(25);case 29:return F.finish(20);case 30:if(!e.options.includeEndFrame){F.next=33;break}return F.next=33,new Uint8Array(0);case 33:case"end":return F.stop()}},a,null,[[2,16,20,30],[21,,25,29]])}))()}}]),n}(Symbol.asyncIterator),xB=function(o){function n(t){(0,f.Z)(this,n),this.options=t}return(0,y.Z)(n,[{key:o,value:function(){return this.asyncIterator()}},{key:"asyncIterator",value:function(){var e=this;return Xo((0,qe.Z)().mark(function a(){var s,u,l,c,h,C,T;return(0,qe.Z)().wrap(function(F){for(;;)switch(F.prev=F.next){case 0:s=!1,u=!1,F.prev=2,c=uo(e.options.messageStream);case 4:return F.next=6,ea(c.next());case 6:if(!(s=!(h=F.sent).done)){F.next=18;break}return C=h.value,F.next=10,ea(e.options.deserializer(C));case 10:if(void 0!==(T=F.sent)){F.next=13;break}return F.abrupt("continue",15);case 13:return F.next=15,T;case 15:s=!1,F.next=4;break;case 18:F.next=24;break;case 20:F.prev=20,F.t0=F.catch(2),u=!0,l=F.t0;case 24:if(F.prev=24,F.prev=25,!s||null==c.return){F.next=29;break}return F.next=29,ea(c.return());case 29:if(F.prev=29,!u){F.next=32;break}throw l;case 32:return F.finish(29);case 33:return F.finish(24);case 34:case"end":return F.stop()}},a,null,[[2,20,24,34],[25,,29,33]])}))()}}]),n}(Symbol.asyncIterator),bB=function(o){function n(t){(0,f.Z)(this,n),this.options=t}return(0,y.Z)(n,[{key:o,value:function(){return this.asyncIterator()}},{key:"asyncIterator",value:function(){var e=this;return Xo((0,qe.Z)().mark(function a(){var s,u,l,c,h,T;return(0,qe.Z)().wrap(function(F){for(;;)switch(F.prev=F.next){case 0:s=!1,u=!1,F.prev=2,c=uo(e.options.inputStream);case 4:return F.next=6,ea(c.next());case 6:if(!(s=!(h=F.sent).done)){F.next=14;break}return T=e.options.serializer(h.value),F.next=11,T;case 11:s=!1,F.next=4;break;case 14:F.next=20;break;case 16:F.prev=16,F.t0=F.catch(2),u=!0,l=F.t0;case 20:if(F.prev=20,F.prev=21,!s||null==c.return){F.next=25;break}return F.next=25,ea(c.return());case 25:if(F.prev=25,!u){F.next=28;break}throw l;case 28:return F.finish(25);case 29:return F.finish(20);case 30:case"end":return F.stop()}},a,null,[[2,16,20,30],[21,,25,29]])}))()}}]),n}(Symbol.asyncIterator),q0=function(n){return new TextDecoder("utf-8").decode(n)},UR="X-Amz-Date",zR="X-Amz-Signature",GR="X-Amz-Security-Token",HR="authorization",qR=UR.toLowerCase(),AB=[HR,qR,"date"],kB=zR.toLowerCase(),pP="x-amz-content-sha256",RB=GR.toLowerCase(),DB={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},TB=/^proxy-/,IB=/^sec-/,fP="AWS4-HMAC-SHA256",OB="AWS4-HMAC-SHA256-PAYLOAD",KR="aws4_request",jc={},K0=[],mP=function(n,t,e){return"".concat(n,"/").concat(t,"/").concat(e,"/").concat(KR)},VB=function(){var o=Zt((0,qe.Z)().mark(function n(t,e,a,s,u){var l,c,h,C,T,N;return(0,qe.Z)().wrap(function($){for(;;)switch($.prev=$.next){case 0:return $.next=2,WR(t,e.secretAccessKey,e.accessKeyId);case 2:if(l=$.sent,!((c="".concat(a,":").concat(s,":").concat(u,":").concat(Ka(l),":").concat(e.sessionToken))in jc)){$.next=6;break}return $.abrupt("return",jc[c]);case 6:for(K0.push(c);K0.length>50;)delete jc[K0.shift()];h="AWS4".concat(e.secretAccessKey),C=0,T=[a,s,u,KR];case 10:if(!(C<T.length)){$.next=18;break}return N=T[C],$.next=14,WR(t,h,N);case 14:h=$.sent;case 15:C++,$.next=10;break;case 18:return $.abrupt("return",jc[c]=h);case 19:case"end":return $.stop()}},n)}));return function(t,e,a,s,u){return o.apply(this,arguments)}}(),WR=function(n,t,e){var a=new n(t);return a.update(Ic(e)),a.digest()},XR=function(n,t,e){var l,a=n.headers,s={},u=(0,ee.Z)(Object.keys(a).sort());try{for(u.s();!(l=u.n()).done;){var c=l.value;if(null!=a[c]){var h=c.toLowerCase();(h in DB||null!=t&&t.has(h)||TB.test(h)||IB.test(h))&&(!e||e&&!e.has(h))||(s[h]=a[c].trim().replace(/\s+/g," "))}}}catch(C){u.e(C)}finally{u.f()}return s},yl=function(n){return encodeURIComponent(n).replace(/[!'()*]/g,BB)},BB=function(n){return"%".concat(n.charCodeAt(0).toString(16).toUpperCase())},hP=function(){var o=Zt(function(n,t){var e=n.headers,a=n.body;return(0,qe.Z)().mark(function s(){var u,l,c,h;return(0,qe.Z)().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:u=0,l=Object.keys(e);case 1:if(!(u<l.length)){T.next=8;break}if((c=l[u]).toLowerCase()!==pP){T.next=5;break}return T.abrupt("return",e[c]);case 5:u++,T.next=1;break;case 8:if(null!=a){T.next=12;break}return T.abrupt("return","e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855");case 12:if("string"!=typeof a&&!ArrayBuffer.isView(a)&&!Sk(a)){T.next=20;break}return(h=new t).update(Ic(a)),T.t0=Ka,T.next=18,h.digest();case 18:return T.t1=T.sent,T.abrupt("return",(0,T.t0)(T.t1));case 20:return T.abrupt("return","UNSIGNED-PAYLOAD");case 21:case"end":return T.stop()}},s)})()});return function(t,e){return o.apply(this,arguments)}}(),LB=function(n,t){n=n.toLowerCase();for(var e=0,a=Object.keys(t);e<a.length;e++)if(n===a[e].toLowerCase())return!0;return!1},jB=["headers","query"],QR=function(n){var t=n.headers,e=n.query,a=sP(n,jB);return(0,b.Z)((0,b.Z)({},a),{},{headers:(0,b.Z)({},t),query:e?$B(e):void 0})},$B=function(n){return Object.keys(n).reduce(function(t,e){var a=n[e];return(0,b.Z)((0,b.Z)({},t),{},(0,d.Z)({},e,Array.isArray(a)?(0,_.Z)(a):a))},{})},UB=function(n){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e="function"==typeof n.clone?n.clone():QR(n),a=e.headers,s=e.query,u=void 0===s?{}:s,l=0,c=Object.keys(a);l<c.length;l++){var h,C=c[l],T=C.toLowerCase();"x-amz-"===T.slice(0,6)&&(null===(h=t.unhoistableHeaders)||void 0===h||!h.has(T))&&(u[C]=a[C],delete a[C])}return(0,b.Z)((0,b.Z)({},n),{},{headers:a,query:u})},YR=function(n){n="function"==typeof n.clone?n.clone():QR(n);for(var t=0,e=Object.keys(n.headers);t<e.length;t++){var a=e[t];AB.indexOf(a.toLowerCase())>-1&&delete n.headers[a]}return n},wf=function(){function o(n){var t=n.applyChecksum,e=n.credentials,a=n.region,s=n.service,u=n.sha256,l=n.uriEscapePath,c=void 0===l||l;(0,f.Z)(this,o),this.headerMarshaller=new LR(q0,df),this.service=s,this.sha256=u,this.uriEscapePath=c,this.applyChecksum="boolean"!=typeof t||t,this.regionProvider=_n(a),this.credentialProvider=_n(e)}return(0,y.Z)(o,[{key:"presign",value:(n=Zt(function(e){var a=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,qe.Z)().mark(function u(){var l,c,h,C,T,N,F,$,se,ue,ge,Se,we,He,ot,dt,Ot;return(0,qe.Z)().wrap(function(Lt){for(;;)switch(Lt.prev=Lt.next){case 0:return c=void 0===(l=s.signingDate)?new Date:l,C=void 0===(h=s.expiresIn)?3600:h,T=s.unsignableHeaders,N=s.unhoistableHeaders,F=s.signableHeaders,$=s.signingRegion,se=s.signingService,Lt.next=3,a.credentialProvider();case 3:if(a.validateResolvedCredentials(ue=Lt.sent),null==$){Lt.next=9;break}Lt.t0=$,Lt.next=12;break;case 9:return Lt.next=11,a.regionProvider();case 11:Lt.t0=Lt.sent;case 12:if(ge=Lt.t0,Se=W0(c),we=Se.longDate,He=Se.shortDate,!(C>604800)){Lt.next=16;break}return Lt.abrupt("return",Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future"));case 16:return ot=mP(He,ge,se??a.service),dt=UB(YR(e),{unhoistableHeaders:N}),ue.sessionToken&&(dt.query[GR]=ue.sessionToken),dt.query["X-Amz-Algorithm"]=fP,dt.query["X-Amz-Credential"]="".concat(ue.accessKeyId,"/").concat(ot),dt.query[UR]=we,dt.query["X-Amz-Expires"]=C.toString(10),Ot=XR(dt,T,F),dt.query["X-Amz-SignedHeaders"]=JR(Ot),Lt.t1=a,Lt.t2=we,Lt.t3=ot,Lt.t4=a.getSigningKey(ue,ge,He,se),Lt.t5=a,Lt.t6=dt,Lt.t7=Ot,Lt.next=34,hP(e,a.sha256);case 34:return Lt.t8=Lt.sent,Lt.t9=Lt.t5.createCanonicalRequest.call(Lt.t5,Lt.t6,Lt.t7,Lt.t8),Lt.next=38,Lt.t1.getSignature.call(Lt.t1,Lt.t2,Lt.t3,Lt.t4,Lt.t9);case 38:return dt.query[zR]=Lt.sent,Lt.abrupt("return",dt);case 40:case"end":return Lt.stop()}},u)})()}),function t(e){return n.apply(this,arguments)})},{key:"sign",value:function(){var n=Zt((0,qe.Z)().mark(function e(a,s){return(0,qe.Z)().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:if("string"!=typeof a){l.next=4;break}return l.abrupt("return",this.signString(a,s));case 4:if(!a.headers||!a.payload){l.next=8;break}return l.abrupt("return",this.signEvent(a,s));case 8:if(!a.message){l.next=12;break}return l.abrupt("return",this.signMessage(a,s));case 12:return l.abrupt("return",this.signRequest(a,s));case 13:case"end":return l.stop()}},e,this)}));return function t(e,a){return n.apply(this,arguments)}}()},{key:"signEvent",value:function(){var n=Zt(function(e,a){var s=this,u=e.headers,l=e.payload,c=a.signingDate,h=void 0===c?new Date:c,C=a.priorSignature,T=a.signingRegion,N=a.signingService;return(0,qe.Z)().mark(function F(){var $,se,ge,Se,we,He,ot,dt;return(0,qe.Z)().wrap(function(pt){for(;;)switch(pt.prev=pt.next){case 0:if(null==T){pt.next=4;break}pt.t0=T,pt.next=7;break;case 4:return pt.next=6,s.regionProvider();case 6:pt.t0=pt.sent;case 7:return $=pt.t0,se=W0(h),ge=se.longDate,Se=mP(se.shortDate,$,N??s.service),pt.next=12,hP({headers:{},body:l},s.sha256);case 12:return we=pt.sent,(He=new s.sha256).update(u),pt.t1=Ka,pt.next=18,He.digest();case 18:return pt.t2=pt.sent,ot=(0,pt.t1)(pt.t2),dt=[OB,ge,Se,C,ot,we].join("\n"),pt.abrupt("return",s.signString(dt,{signingDate:h,signingRegion:$,signingService:N}));case 22:case"end":return pt.stop()}},F)})()});return function t(e,a){return n.apply(this,arguments)}}()},{key:"signMessage",value:function(){var n=Zt(function(e,a){var s=this,u=a.signingDate,l=void 0===u?new Date:u,c=a.signingRegion,h=a.signingService;return(0,qe.Z)().mark(function C(){var T;return(0,qe.Z)().wrap(function(F){for(;;)switch(F.prev=F.next){case 0:return T=s.signEvent({headers:s.headerMarshaller.format(e.message.headers),payload:e.message.body},{signingDate:l,signingRegion:c,signingService:h,priorSignature:e.priorSignature}),F.abrupt("return",T.then(function($){return{message:e.message,signature:$}}));case 2:case"end":return F.stop()}},C)})()});return function t(e,a){return n.apply(this,arguments)}}()},{key:"signString",value:function(){var n=Zt(function(e){var a=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},u=s.signingDate,l=void 0===u?new Date:u,c=s.signingRegion,h=s.signingService;return(0,qe.Z)().mark(function C(){var T,N,F,$,se;return(0,qe.Z)().wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return ge.next=2,a.credentialProvider();case 2:if(a.validateResolvedCredentials(T=ge.sent),null==c){ge.next=8;break}ge.t0=c,ge.next=11;break;case 8:return ge.next=10,a.regionProvider();case 10:ge.t0=ge.sent;case 11:return N=ge.t0,F=W0(l),$=F.shortDate,ge.t1=a.sha256,ge.next=16,a.getSigningKey(T,N,$,h);case 16:return ge.t2=ge.sent,(se=new ge.t1(ge.t2)).update(Ic(e)),ge.t3=Ka,ge.next=22,se.digest();case 22:return ge.t4=ge.sent,ge.abrupt("return",(0,ge.t3)(ge.t4));case 24:case"end":return ge.stop()}},C)})()});return function t(e){return n.apply(this,arguments)}}()},{key:"signRequest",value:function(){var n=Zt(function(e){var a=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},u=s.signingDate,l=void 0===u?new Date:u,c=s.signableHeaders,h=s.unsignableHeaders,C=s.signingRegion,T=s.signingService;return(0,qe.Z)().mark(function N(){var F,$,se,ue,ge,Se,we,He,ot,dt;return(0,qe.Z)().wrap(function(pt){for(;;)switch(pt.prev=pt.next){case 0:return pt.next=2,a.credentialProvider();case 2:if(a.validateResolvedCredentials(F=pt.sent),null==C){pt.next=8;break}pt.t0=C,pt.next=11;break;case 8:return pt.next=10,a.regionProvider();case 10:pt.t0=pt.sent;case 11:return $=pt.t0,se=YR(e),ue=W0(l),ge=ue.longDate,we=mP(Se=ue.shortDate,$,T??a.service),se.headers[qR]=ge,F.sessionToken&&(se.headers[RB]=F.sessionToken),pt.next=19,hP(se,a.sha256);case 19:return He=pt.sent,!LB(pP,se.headers)&&a.applyChecksum&&(se.headers[pP]=He),ot=XR(se,h,c),pt.next=24,a.getSignature(ge,we,a.getSigningKey(F,$,Se,T),a.createCanonicalRequest(se,ot,He));case 24:return dt=pt.sent,se.headers[HR]="".concat(fP," ")+"Credential=".concat(F.accessKeyId,"/").concat(we,", ")+"SignedHeaders=".concat(JR(ot),", ")+"Signature=".concat(dt),pt.abrupt("return",se);case 27:case"end":return pt.stop()}},N)})()});return function t(e){return n.apply(this,arguments)}}()},{key:"createCanonicalRequest",value:function(t,e,a){var s=Object.keys(e).sort();return"".concat(t.method,"\n").concat(this.getCanonicalPath(t),"\n").concat(function(n){var l,t=n.query,e=void 0===t?{}:t,a=[],s={},u=(0,ee.Z)(Object.keys(e).sort());try{var c=function(){var T=l.value;if(T.toLowerCase()===kB)return"continue";a.push(T);var N=e[T];"string"==typeof N?s[T]="".concat(yl(T),"=").concat(yl(N)):Array.isArray(N)&&(s[T]=N.slice(0).sort().reduce(function(F,$){return F.concat(["".concat(yl(T),"=").concat(yl($))])},[]).join("&"))};for(u.s();!(l=u.n()).done;)c()}catch(C){u.e(C)}finally{u.f()}return a.map(function(C){return s[C]}).filter(function(C){return C}).join("&")}(t),"\n").concat(s.map(function(u){return"".concat(u,":").concat(e[u])}).join("\n"),"\n\n").concat(s.join(";"),"\n").concat(a)}},{key:"createStringToSign",value:function(){var n=Zt((0,qe.Z)().mark(function e(a,s,u){var l,c;return(0,qe.Z)().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:return(l=new this.sha256).update(Ic(u)),C.next=4,l.digest();case 4:return c=C.sent,C.abrupt("return","".concat(fP,"\n").concat(a,"\n").concat(s,"\n").concat(Ka(c)));case 6:case"end":return C.stop()}},e,this)}));return function t(e,a,s){return n.apply(this,arguments)}}()},{key:"getCanonicalPath",value:function(t){var e=t.path;if(this.uriEscapePath){var u,a=[],s=(0,ee.Z)(e.split("/"));try{for(s.s();!(u=s.n()).done;){var l=u.value;0!==l?.length&&"."!==l&&(".."===l?a.pop():a.push(l))}}catch(C){s.e(C)}finally{s.f()}var c="".concat(null!=e&&e.startsWith("/")?"/":"").concat(a.join("/")).concat(a.length>0&&null!=e&&e.endsWith("/")?"/":"");return encodeURIComponent(c).replace(/%2F/g,"/")}return e}},{key:"getSignature",value:function(){var n=Zt((0,qe.Z)().mark(function e(a,s,u,l){var c,h;return(0,qe.Z)().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:return T.next=2,this.createStringToSign(a,s,l);case 2:return c=T.sent,T.t0=this.sha256,T.next=6,u;case 6:return T.t1=T.sent,(h=new T.t0(T.t1)).update(Ic(c)),T.t2=Ka,T.next=12,h.digest();case 12:return T.t3=T.sent,T.abrupt("return",(0,T.t2)(T.t3));case 14:case"end":return T.stop()}},e,this)}));return function t(e,a,s,u){return n.apply(this,arguments)}}()},{key:"getSigningKey",value:function(t,e,a,s){return VB(this.sha256,t,a,e,s||this.service)}},{key:"validateResolvedCredentials",value:function(t){if("object"!=typeof t||"string"!=typeof t.accessKeyId||"string"!=typeof t.secretAccessKey)throw new Error("Resolved credential object is not valid")}}]),o;var n}(),W0=function(n){var t=function(n){return function(n){return"number"==typeof n?new Date(1e3*n):"string"==typeof n?Number(n)?new Date(1e3*Number(n)):new Date(n):n}(n).toISOString().replace(/\.\d{3}Z$/,"Z")}(n).replace(/[\-:]/g,"");return{longDate:t,shortDate:t.slice(0,8)}},JR=function(n){return Object.keys(n).sort().join(";")},eD=function(n){var c,t=n.credentials?tD(n.credentials):n.credentialDefaultProvider(n),e=n.signingEscapePath,a=void 0===e||e,s=n.systemClockOffset,u=void 0===s?n.systemClockOffset||0:s,l=n.sha256;return c=n.signer?_n(n.signer):n.regionInfoProvider?function(){return _n(n.region)().then(function(){var C=Zt((0,qe.Z)().mark(function T(N){return(0,qe.Z)().wrap(function($){for(;;)switch($.prev=$.next){case 0:return $.t1=n,$.t2=N,$.next=4,n.useFipsEndpoint();case 4:return $.t3=$.sent,$.next=7,n.useDualstackEndpoint();case 7:return $.t4=$.sent,$.t5={useFipsEndpoint:$.t3,useDualstackEndpoint:$.t4},$.next=11,$.t1.regionInfoProvider.call($.t1,$.t2,$.t5);case 11:if($.t0=$.sent,$.t0){$.next=14;break}$.t0={};case 14:return $.t6=$.t0,$.t7=N,$.abrupt("return",[$.t6,$.t7]);case 17:case"end":return $.stop()}},T)}));return function(T){return C.apply(this,arguments)}}()).then(function(C){var T=(0,g.Z)(C,2),N=T[0],se=N.signingService;n.signingRegion=n.signingRegion||N.signingRegion||T[1],n.signingName=n.signingName||se||n.serviceId;var ue=(0,b.Z)((0,b.Z)({},n),{},{credentials:t,region:n.signingRegion,service:n.signingName,sha256:l,uriEscapePath:a});return new(n.signerConstructor||wf)(ue)})}:function(){var h=Zt((0,qe.Z)().mark(function C(T){var N,F,$;return(0,qe.Z)().wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return ge.t0=Object,ge.t1={},ge.t2=n.signingName||n.defaultSigningName,ge.next=5,_n(n.region)();case 5:return ge.t3=ge.sent,ge.t4={},ge.t5={name:"sigv4",signingName:ge.t2,signingRegion:ge.t3,properties:ge.t4},ge.t6=T,T=ge.t0.assign.call(ge.t0,ge.t1,ge.t5,ge.t6),N=T.signingRegion,F=T.signingName,n.signingRegion=n.signingRegion||N,n.signingName=n.signingName||F||n.serviceId,$=(0,b.Z)((0,b.Z)({},n),{},{credentials:t,region:n.signingRegion,service:n.signingName,sha256:l,uriEscapePath:a}),ge.abrupt("return",new(n.signerConstructor||wf)($));case 17:case"end":return ge.stop()}},C)}));return function(T){return h.apply(this,arguments)}}(),(0,b.Z)((0,b.Z)({},n),{},{systemClockOffset:u,signingEscapePath:a,credentials:t,signer:c})},tD=function(n){return"function"==typeof n?mR(n,function(t){return void 0!==t.expiration&&t.expiration.getTime()-Date.now()<3e5},function(t){return void 0!==t.expiration}):_n(n)},nD=function(n){return new Date(Date.now()+n)},rD=function(n,t){var e=Date.parse(n);return function(n,t){return Math.abs(nD(t).getTime()-n)>=3e5}(e,t)?e-Date.now():t},iD=function(n){var t,e,a;return pf.isInstance(n)?null!==(t=null===(e=n.headers)||void 0===e?void 0:e.date)&&void 0!==t?t:null===(a=n.headers)||void 0===a?void 0:a.Date:void 0},WB={name:"awsAuthMiddleware",tags:["SIGNATURE","AWSAUTH"],relation:"after",toMiddleware:"retryMiddleware",override:!0};function aD(o){return(0,b.Z)((0,b.Z)({},o),{},{customUserAgent:"string"==typeof o.customUserAgent?[[o.customUserAgent]]:o.customUserAgent})}const oD=JSON.parse('{"partitions":[{"id":"aws","outputs":{"dnsSuffix":"amazonaws.com","dualStackDnsSuffix":"api.aws","name":"aws","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^(us|eu|ap|sa|ca|me|af)\\\\-\\\\w+\\\\-\\\\d+$","regions":{"af-south-1":{"description":"Africa (Cape Town)"},"ap-east-1":{"description":"Asia Pacific (Hong Kong)"},"ap-northeast-1":{"description":"Asia Pacific (Tokyo)"},"ap-northeast-2":{"description":"Asia Pacific (Seoul)"},"ap-northeast-3":{"description":"Asia Pacific (Osaka)"},"ap-south-1":{"description":"Asia Pacific (Mumbai)"},"ap-south-2":{"description":"Asia Pacific (Hyderabad)"},"ap-southeast-1":{"description":"Asia Pacific (Singapore)"},"ap-southeast-2":{"description":"Asia Pacific (Sydney)"},"ap-southeast-3":{"description":"Asia Pacific (Jakarta)"},"ap-southeast-4":{"description":"Asia Pacific (Melbourne)"},"aws-global":{"description":"AWS Standard global region"},"ca-central-1":{"description":"Canada (Central)"},"eu-central-1":{"description":"Europe (Frankfurt)"},"eu-central-2":{"description":"Europe (Zurich)"},"eu-north-1":{"description":"Europe (Stockholm)"},"eu-south-1":{"description":"Europe (Milan)"},"eu-south-2":{"description":"Europe (Spain)"},"eu-west-1":{"description":"Europe (Ireland)"},"eu-west-2":{"description":"Europe (London)"},"eu-west-3":{"description":"Europe (Paris)"},"me-central-1":{"description":"Middle East (UAE)"},"me-south-1":{"description":"Middle East (Bahrain)"},"sa-east-1":{"description":"South America (Sao Paulo)"},"us-east-1":{"description":"US East (N. Virginia)"},"us-east-2":{"description":"US East (Ohio)"},"us-west-1":{"description":"US West (N. California)"},"us-west-2":{"description":"US West (Oregon)"}}},{"id":"aws-cn","outputs":{"dnsSuffix":"amazonaws.com.cn","dualStackDnsSuffix":"api.amazonwebservices.com.cn","name":"aws-cn","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^cn\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-cn-global":{"description":"AWS China global region"},"cn-north-1":{"description":"China (Beijing)"},"cn-northwest-1":{"description":"China (Ningxia)"}}},{"id":"aws-us-gov","outputs":{"dnsSuffix":"amazonaws.com","dualStackDnsSuffix":"api.aws","name":"aws-us-gov","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^us\\\\-gov\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-us-gov-global":{"description":"AWS GovCloud (US) global region"},"us-gov-east-1":{"description":"AWS GovCloud (US-East)"},"us-gov-west-1":{"description":"AWS GovCloud (US-West)"}}},{"id":"aws-iso","outputs":{"dnsSuffix":"c2s.ic.gov","dualStackDnsSuffix":"c2s.ic.gov","name":"aws-iso","supportsDualStack":false,"supportsFIPS":true},"regionRegex":"^us\\\\-iso\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-global":{"description":"AWS ISO (US) global region"},"us-iso-east-1":{"description":"US ISO East"},"us-iso-west-1":{"description":"US ISO WEST"}}},{"id":"aws-iso-b","outputs":{"dnsSuffix":"sc2s.sgov.gov","dualStackDnsSuffix":"sc2s.sgov.gov","name":"aws-iso-b","supportsDualStack":false,"supportsFIPS":true},"regionRegex":"^us\\\\-isob\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-b-global":{"description":"AWS ISOB (US) global region"},"us-isob-east-1":{"description":"US ISOB East (Ohio)"}}},{"id":"aws-iso-e","outputs":{"dnsSuffix":"cloud.adc-e.uk","dualStackDnsSuffix":"cloud.adc-e.uk","name":"aws-iso-e","supportsDualStack":false,"supportsFIPS":true},"regionRegex":"^eu\\\\-isoe\\\\-\\\\w+\\\\-\\\\d+$","regions":{}}],"version":"1.1"}');var sD=oD,uD="",QB=function(n){var s,e=sD.partitions,a=(0,ee.Z)(e);try{for(a.s();!(s=a.n()).done;)for(var u=s.value,c=u.outputs,h=0,C=Object.entries(u.regions);h<C.length;h++){var T=(0,g.Z)(C[h],2),F=T[1];if(T[0]===n)return(0,b.Z)((0,b.Z)({},c),F)}}catch(He){a.e(He)}finally{a.f()}var se,$=(0,ee.Z)(e);try{for($.s();!(se=$.n()).done;){var ue=se.value,Se=ue.outputs;if(new RegExp(ue.regionRegex).test(n))return(0,b.Z)({},Se)}}catch(He){$.e(He)}finally{$.f()}var we=e.find(function(He){return"aws"===He.id});if(!we)throw new Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.");return(0,b.Z)({},we.outputs)},lD=function(n){sD=n,uD=arguments.length>1&&void 0!==arguments[1]?arguments[1]:""},YB=function(){lD(oD,"")},cD=function(){return uD},Sf="endpoints";function hu(o){return"object"!=typeof o||null==o?o:"ref"in o?"$".concat(hu(o.ref)):"fn"in o?"".concat(o.fn,"(").concat((o.argv||[]).map(hu).join(", "),")"):JSON.stringify(o,null,2)}var X0,Wa=function(o){(0,z.Z)(t,o);var n=(0,H.Z)(t);function t(e){var a;return(0,f.Z)(this,t),(a=n.call(this,e)).name="EndpointError",a}return(0,y.Z)(t)}((0,G.Z)(Error)),JB=new RegExp("^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$"),dD=function(n){return JB.test(n)||n.startsWith("[")&&n.endsWith("]")},eZ=new RegExp("^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$"),pD=function o(n){if(!(arguments.length>1&&void 0!==arguments[1]&&arguments[1]))return eZ.test(n);var s,e=n.split("."),a=(0,ee.Z)(e);try{for(a.s();!(s=a.n()).done;)if(!o(s.value))return!1}catch(l){a.e(l)}finally{a.f()}return!0},tZ=function o(n){if(arguments.length>1&&void 0!==arguments[1]&&arguments[1]){var a,e=(0,ee.Z)(n.split("."));try{for(e.s();!(a=e.n()).done;)if(!o(a.value))return!1}catch(u){e.e(u)}finally{e.f()}return!0}return!(!pD(n)||n.length<3||n.length>63||n!==n.toLowerCase()||dD(n))},nZ=function(n){var t=n.split(":");if(t.length<6)return null;var e=(0,Ti.Z)(t),a=e[0],s=e[1],u=e[2],l=e[3],c=e[4],h=e.slice(5);return"arn"!==a||""===s||""===u||""===h[0]?null:{partition:s,service:u,region:l,accountId:c,resourceId:h[0].includes("/")?h[0].split("/"):h}},rZ=function(n,t){return n===t},fD=function(n,t){return function(n){var s,t=n.split("."),e=[],a=(0,ee.Z)(t);try{for(a.s();!(s=a.n()).done;){var u=s.value,l=u.indexOf("[");if(-1!==l){if(u.indexOf("]")!==u.length-1)throw new Wa("Path: '".concat(n,"' does not end with ']'"));var c=u.slice(l+1,-1);if(Number.isNaN(parseInt(c)))throw new Wa("Invalid array index: '".concat(c,"' in path: '").concat(n,"'"));0!==l&&e.push(u.slice(0,l)),e.push(c)}else e.push(u)}}catch(h){a.e(h)}finally{a.f()}return e}(t).reduce(function(e,a){if("object"!=typeof e)throw new Wa("Index '".concat(a,"' in '").concat(t,"' not found in '").concat(JSON.stringify(n),"'"));return Array.isArray(e)?e[parseInt(a)]:e[a]},n)},aZ=function(n){return null!=n},oZ=function(n){return!n},gu=function(){return(gu=gu||{}).HTTP="http",gu.HTTPS="https",gu}(),gP=((0,d.Z)(X0={},gu.HTTP,80),(0,d.Z)(X0,gu.HTTPS,443),X0),sZ=function(n){var t=function(){try{if(n instanceof URL)return n;if("object"==typeof n&&"hostname"in n){var F=n.hostname,$=n.port,se=n.protocol,ge=n.path,Se=void 0===ge?"":ge,we=n.query,He=void 0===we?{}:we,ot=new URL("".concat(void 0===se?"":se,"//").concat(F).concat($?":".concat($):"").concat(Se));return ot.search=Object.entries(He).map(function(dt){var Ot=(0,g.Z)(dt,2),Lt=Ot[1];return"".concat(Ot[0],"=").concat(Lt)}).join("&"),ot}return new URL(n)}catch{return null}}();if(!t)return console.error("Unable to parse ".concat(JSON.stringify(n)," as a whatwg URL.")),null;var e=t.href,a=t.host,s=t.hostname,u=t.pathname;if(t.search)return null;var h=t.protocol.slice(0,-1);if(!Object.values(gu).includes(h))return null;var C=dD(s),T=e.includes("".concat(a,":").concat(gP[h]))||"string"==typeof n&&n.includes("".concat(a,":").concat(gP[h]));return{scheme:h,authority:"".concat(a).concat(T?":".concat(gP[h]):""),path:u,normalizedPath:u.endsWith("/")?u:"".concat(u,"/"),isIp:C}},uZ=function(n,t){return n===t},lZ=function(n,t,e,a){return t>=e||n.length<e?null:a?n.substring(n.length-e,n.length-t):n.substring(t,e)},cZ=function(n){return encodeURIComponent(n).replace(/[!*'()]/g,function(t){return"%".concat(t.charCodeAt(0).toString(16).toUpperCase())})},mD=function(n,t){for(var e=[],a=(0,b.Z)((0,b.Z)({},t.endpointParams),t.referenceRecord),s=0;s<n.length;){var u=n.indexOf("{",s);if(-1===u){e.push(n.slice(s));break}e.push(n.slice(s,u));var l=n.indexOf("}",u);if(-1===l){e.push(n.slice(u));break}"{"===n[u+1]&&"}"===n[l+1]&&(e.push(n.slice(u+1,l)),s=l+2);var c=n.substring(u+1,l);if(c.includes("#")){var h=c.split("#"),C=(0,g.Z)(h,2);e.push(fD(a[C[0]],C[1]))}else e.push(a[c]);s=l+1}return e.join("")},Q0=function(n,t,e){if("string"==typeof n)return mD(n,e);if(n.fn)return hD(n,e);if(n.ref)return function(n,t){var e=n.ref;return(0,b.Z)((0,b.Z)({},t.endpointParams),t.referenceRecord)[e]}(n,e);throw new Wa("'".concat(t,"': ").concat(String(n)," is not a string, function or reference."))},hD=function(n,t){var e=n.fn,s=n.argv.map(function(u){return["boolean","number"].includes(typeof u)?u:Q0(u,"arg",t)});return e.split(".").reduce(function(u,l){return u[l]},K).apply(void 0,(0,_.Z)(s))},pZ=["assign"],fZ=function(n,t){var e,a,s=n.assign,u=sP(n,pZ);if(s&&s in t.referenceRecord)throw new Wa("'".concat(s,"' is already defined in Reference Record."));var l=hD(u,t);return null===(e=t.logger)||void 0===e||null===(a=e.debug)||void 0===a||a.call(e,Sf,"evaluateCondition: ".concat(hu(u)," = ").concat(hu(l))),(0,b.Z)({result:""===l||!!l},null!=s&&{toAssign:{name:s,value:l}})},vP=function(){var s,t=arguments.length>1?arguments[1]:void 0,e={},a=(0,ee.Z)(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]);try{for(a.s();!(s=a.n()).done;){var C,T,N,l=fZ(s.value,(0,b.Z)((0,b.Z)({},t),{},{referenceRecord:(0,b.Z)((0,b.Z)({},t.referenceRecord),e)})),c=l.result,h=l.toAssign;if(!c)return{result:c};h&&(e[h.name]=h.value,null===(C=t.logger)||void 0===C||null===(T=(N=C).debug)||void 0===T||T.call(N,Sf,"assign: ".concat(h.name," := ").concat(hu(h.value))))}}catch(F){a.e(F)}finally{a.f()}return{result:!0,referenceRecord:e}},mZ=function(n,t){return Object.entries(n).reduce(function(e,a){var s=(0,g.Z)(a,2),u=s[0],l=s[1];return(0,b.Z)((0,b.Z)({},e),{},(0,d.Z)({},u,l.map(function(c){var h=Q0(c,"Header value entry",t);if("string"!=typeof h)throw new Wa("Header '".concat(u,"' value '").concat(h,"' is not a string"));return h})))},{})},hZ=function o(n,t){if(Array.isArray(n))return n.map(function(e){return o(e,t)});switch(typeof n){case"string":return mD(n,t);case"object":if(null===n)throw new Wa("Unexpected endpoint property: ".concat(n));return gD(n,t);case"boolean":return n;default:throw new Wa("Unexpected endpoint property type: ".concat(typeof n))}},gD=function(n,t){return Object.entries(n).reduce(function(e,a){var s=(0,g.Z)(a,2),u=s[0],l=s[1];return(0,b.Z)((0,b.Z)({},e),{},(0,d.Z)({},u,hZ(l,t)))},{})},gZ=function(n,t){var e=Q0(n,"Endpoint URL",t);if("string"==typeof e)try{return new URL(e)}catch(a){throw console.error("Failed to construct URL with ".concat(e),a),a}throw new Wa("Endpoint URL must be a string, got ".concat(typeof e))},vZ=function(n,t){var e,a,u=n.endpoint,l=vP(n.conditions,t),h=l.referenceRecord;if(l.result){var C=(0,b.Z)((0,b.Z)({},t),{},{referenceRecord:(0,b.Z)((0,b.Z)({},t.referenceRecord),h)}),T=u.url,N=u.properties,F=u.headers;return null===(e=t.logger)||void 0===e||null===(a=e.debug)||void 0===a||a.call(e,Sf,"Resolving endpoint from template: ".concat(hu(u))),(0,b.Z)((0,b.Z)((0,b.Z)({},null!=F&&{headers:mZ(F,C)}),null!=N&&{properties:gD(N,C)}),{},{url:gZ(T,C)})}},yZ=function(n,t){var a=n.error,s=vP(n.conditions,t),l=s.referenceRecord;if(s.result)throw new Wa(Q0(a,"Error",(0,b.Z)((0,b.Z)({},t),{},{referenceRecord:(0,b.Z)((0,b.Z)({},t.referenceRecord),l)})))},_Z=function(n,t){var a=n.rules,s=vP(n.conditions,t),l=s.referenceRecord;if(s.result)return vD(a,(0,b.Z)((0,b.Z)({},t),{},{referenceRecord:(0,b.Z)((0,b.Z)({},t.referenceRecord),l)}))},vD=function(n,t){var a,e=(0,ee.Z)(n);try{for(e.s();!(a=e.n()).done;){var s=a.value;if("endpoint"===s.type){var u=vZ(s,t);if(u)return u}else if("error"===s.type)yZ(s,t);else{if("tree"!==s.type)throw new Wa("Unknown endpoint rule: ".concat(s));var l=_Z(s,t);if(l)return l}}}catch(c){e.e(c)}finally{e.f()}throw new Wa("Rules evaluation failed")},yD=function(n,t){var e,a,s,u,l,c=t.endpointParams,h=t.logger,C=n.parameters,T=n.rules;null===(e=t.logger)||void 0===e||null===(a=e.debug)||void 0===a||a.call(e,"".concat(Sf," Initial EndpointParams: ").concat(hu(c)));var N=Object.entries(C).filter(function(tn){return null!=(0,g.Z)(tn,2)[1].default}).map(function(tn){var Gt=(0,g.Z)(tn,2);return[Gt[0],Gt[1].default]});if(N.length>0){var $,F=(0,ee.Z)(N);try{for(F.s();!($=F.n()).done;){var se,ue=(0,g.Z)($.value,2),ge=ue[0];c[ge]=null!==(se=c[ge])&&void 0!==se?se:ue[1]}}catch(tn){F.e(tn)}finally{F.f()}}var ot,we=Object.entries(C).filter(function(tn){return(0,g.Z)(tn,2)[1].required}).map(function(tn){return(0,g.Z)(tn,1)[0]}),He=(0,ee.Z)(we);try{for(He.s();!(ot=He.n()).done;){var dt=ot.value;if(null==c[dt])throw new Wa("Missing required parameter: '".concat(dt,"'"))}}catch(tn){He.e(tn)}finally{He.f()}var Ot=vD(T,{endpointParams:c,logger:h,referenceRecord:{}});if(null!==(s=t.endpointParams)&&void 0!==s&&s.Endpoint)try{var pt=new URL(t.endpointParams.Endpoint),$t=pt.port;Ot.url.protocol=pt.protocol,Ot.url.port=$t}catch{}return null===(u=t.logger)||void 0===u||null===(l=u.debug)||void 0===l||l.call(u,"".concat(Sf," Resolved endpoint: ").concat(hu(Ot))),Ot},_D="user-agent",yP="x-amz-user-agent",xZ=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g,bZ=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w\#]/g,xP=function(n){var t,e=n[0].split("/").map(function(c){return c.replace(xZ,"-")}).join("/"),a=null===(t=n[1])||void 0===t?void 0:t.replace(bZ,"-"),s=e.indexOf("/"),u=e.substring(0,s),l=e.substring(s+1);return"api"===u&&(l=l.toLowerCase()),[u,l,a].filter(function(c){return c&&c.length>0}).reduce(function(c,h,C){switch(C){case 0:return h;case 1:return"".concat(c,"/").concat(h);default:return"".concat(c,"#").concat(h)}},"")},wZ={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0},CD=function(n){return{applyToStack:function(e){e.add(function(n){return function(t,e){return function(){var a=Zt((0,qe.Z)().mark(function s(u){var l,c,h,C,T,N,F,$,se,ue;return(0,qe.Z)().wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:if(rr.isInstance(h=u.request)){Se.next=3;break}return Se.abrupt("return",t(u));case 3:return C=h.headers,T=(null==e||null===(l=e.userAgent)||void 0===l?void 0:l.map(xP))||[],Se.next=7,n.defaultUserAgentProvider();case 7:return N=Se.sent.map(xP),F=(null==n||null===(c=n.customUserAgent)||void 0===c?void 0:c.map(xP))||[],$=cD(),se=($?[$]:[]).concat([].concat((0,_.Z)(N),(0,_.Z)(T),(0,_.Z)(F))).join(" "),ue=[].concat((0,_.Z)(N.filter(function(we){return we.startsWith("aws-sdk-")})),(0,_.Z)(F)).join(" "),"browser"!==n.runtime?(ue&&(C[yP]=C[yP]?"".concat(C[_D]," ").concat(ue):ue),C[_D]=se):C[yP]=se,Se.abrupt("return",t((0,b.Z)((0,b.Z)({},u),{},{request:h})));case 14:case"end":return Se.stop()}},s)}));return function(s){return a.apply(this,arguments)}}()}}(n),wZ)}}};var PZ=S(46513);function AZ(o){var e,n=[],t=(0,ee.Z)(Object.keys(o).sort());try{for(t.s();!(e=t.n()).done;){var a=e.value,s=o[a];if(a=yl(a),Array.isArray(s))for(var u=0,l=s.length;u<l;u++)n.push("".concat(a,"=").concat(yl(s[u])));else{var c=a;(s||"string"==typeof s)&&(c+="=".concat(yl(s))),n.push(c)}}}catch(h){t.e(h)}finally{t.f()}return n.join("&")}function kZ(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return new Promise(function(n,t){o&&setTimeout(function(){var e=new Error("Request did not complete within ".concat(o," ms"));e.name="TimeoutError",t(e)},o)})}for(var wD=function(){function o(n){(0,f.Z)(this,o),"function"==typeof n?this.configProvider=n().then(function(t){return t||{}}):(this.config=n??{},this.configProvider=Promise.resolve(this.config))}return(0,y.Z)(o,[{key:"destroy",value:function(){}},{key:"handle",value:(n=Zt(function(e){var a=this,u=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).abortSignal;return(0,qe.Z)().mark(function l(){var c,h,C,T,N,F,$,se,ue,ge,Se,we,ot,dt,Ot;return(0,qe.Z)().wrap(function(Lt){for(;;)switch(Lt.prev=Lt.next){case 0:if(a.config){Lt.next=4;break}return Lt.next=3,a.configProvider;case 3:a.config=Lt.sent;case 4:if(c=a.config.requestTimeout,null==u||!u.aborted){Lt.next=9;break}return(h=new Error("Request aborted")).name="AbortError",Lt.abrupt("return",Promise.reject(h));case 9:return C=e.path,(T=AZ(e.query||{}))&&(C+="?".concat(T)),e.fragment&&(C+="#".concat(e.fragment)),N="",(null!=e.username||null!=e.password)&&(se=null!==(F=e.username)&&void 0!==F?F:"",ue=null!==($=e.password)&&void 0!==$?$:"",N="".concat(se,":").concat(ue,"@")),ge=e.port,Se=e.method,we="".concat(e.protocol,"//").concat(N).concat(e.hostname).concat(ge?":".concat(ge):"").concat(C),ot={body:"GET"===Se||"HEAD"===Se?void 0:e.body,headers:new Headers(e.headers),method:Se},typeof AbortController<"u"&&(ot.signal=u),dt=new Request(we,ot),Ot=[fetch(dt).then(function($t){var qt,Gt={},Ut=(0,ee.Z)($t.headers.entries());try{for(Ut.s();!(qt=Ut.n()).done;){var qn=qt.value;Gt[qn[0]]=qn[1]}}catch(ca){Ut.e(ca)}finally{Ut.f()}return null!=$t.body?{response:new pf({headers:Gt,reason:$t.statusText,statusCode:$t.status,body:$t.body})}:$t.blob().then(function(ca){return{response:new pf({headers:Gt,reason:$t.statusText,statusCode:$t.status,body:ca})}})}),kZ(c)],u&&Ot.push(new Promise(function($t,tn){u.onabort=function(){var Gt=new Error("Request aborted");Gt.name="AbortError",tn(Gt)}})),Lt.abrupt("return",Promise.race(Ot));case 24:case"end":return Lt.stop()}},l)})()}),function t(e){return n.apply(this,arguments)})}]),o;var n}(),vu={},$c=new Array(64),Ef=0,SD="A".charCodeAt(0),RZ="Z".charCodeAt(0);Ef+SD<=RZ;Ef++){var ED=String.fromCharCode(Ef+SD);vu[ED]=Ef,$c[Ef]=ED}for(var Y0=0,PD="a".charCodeAt(0),DZ="z".charCodeAt(0);Y0+PD<=DZ;Y0++){var AD=String.fromCharCode(Y0+PD),kD=Y0+26;vu[AD]=kD,$c[kD]=AD}for(var Uc=0;Uc<10;Uc++){vu[Uc.toString(10)]=Uc+52;var RD=Uc.toString(10),DD=Uc+52;vu[RD]=DD,$c[DD]=RD}vu["+"]=62,$c[62]="+",vu["/"]=63,$c[63]="/";var bP=function(n){var t=n.length/4*3;"=="===n.slice(-2)?t-=2:"="===n.slice(-1)&&t--;for(var e=new ArrayBuffer(t),a=new DataView(e),s=0;s<n.length;s+=4){for(var u=0,l=0,c=s,h=s+3;c<=h;c++)if("="!==n[c]){if(!(n[c]in vu))throw new TypeError("Invalid character ".concat(n[c]," in base64 string."));u|=vu[n[c]]<<6*(h-c),l+=6}else u>>=6;var C=s/4*3;u>>=l%8;for(var T=Math.floor(l/8),N=0;N<T;N++){var F=8*(T-N-1);a.setUint8(C+N,(u&255<<F)>>F)}}return new Uint8Array(e)};function CP(o){for(var n="",t=0;t<o.length;t+=3){for(var e=0,a=0,s=t,u=Math.min(t+3,o.length);s<u;s++)e|=o[s]<<8*(u-s-1),a+=8;var l=Math.ceil(a/6);e<<=6*l-a;for(var c=1;c<=l;c++){var h=6*(l-c);n+=$c[(e&63<<h)>>h]}n+="==".slice(0,4-l)}return n}var wP=function(n){return"function"==typeof Blob&&n instanceof Blob?function IZ(o){return SP.apply(this,arguments)}(n):function OZ(o){return EP.apply(this,arguments)}(n)};function SP(){return(SP=Zt((0,qe.Z)().mark(function o(n){var e;return(0,qe.Z)().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,FZ(n);case 2:return e=bP(s.sent),s.abrupt("return",new Uint8Array(e));case 5:case"end":return s.stop()}},o)}))).apply(this,arguments)}function EP(){return(EP=Zt((0,qe.Z)().mark(function o(n){var t,e,a,s,u,l,c;return(0,qe.Z)().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:t=new Uint8Array(0),e=n.getReader(),a=!1;case 3:if(a){C.next=13;break}return C.next=6,e.read();case 6:u=(s=C.sent).done,(l=s.value)&&(c=t,(t=new Uint8Array(c.length+l.length)).set(c),t.set(l,c.length)),a=u,C.next=3;break;case 13:return C.abrupt("return",t);case 14:case"end":return C.stop()}},o)}))).apply(this,arguments)}function FZ(o){return new Promise(function(n,t){var e=new FileReader;e.onloadend=function(){var a;if(2!==e.readyState)return t(new Error("Reader aborted too early"));var s=null!==(a=e.result)&&void 0!==a?a:"",u=s.indexOf(",");n(s.substring(u>-1?u+1:s.length))},e.onabort=function(){return t(new Error("Read aborted"))},e.onerror=function(){return t(e.error)},e.readAsDataURL(o)})}var J0,Af,ex,tx,nx,rx,ix,ax,kf,ox,Rf,TD=function(n){return function(){return Promise.reject(n)}},ID=function(n){if("string"==typeof n){for(var t=n.length,e=t-1;e>=0;e--){var a=n.charCodeAt(e);a>127&&a<=2047?t++:a>2047&&a<=65535&&(t+=2),a>=56320&&a<=57343&&e--}return t}if("number"==typeof n.byteLength)return n.byteLength;if("number"==typeof n.size)return n.size;throw new Error("Body Length computation failed for ".concat(n))},MZ=S(93962),OD=S.n(MZ),FD=function(n){var t=n.serviceId,e=n.clientVersion;return Zt((0,qe.Z)().mark(function a(){var s,u,l,c,h,C,T,N,F,$;return(0,qe.Z)().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return F=typeof window<"u"&&null!==(s=window)&&void 0!==s&&null!==(u=s.navigator)&&void 0!==u&&u.userAgent?OD().parse(window.navigator.userAgent):void 0,$=[["aws-sdk-js",e],["ua","2.0"],["os/".concat((null==F||null===(l=F.os)||void 0===l?void 0:l.name)||"other"),null==F||null===(c=F.os)||void 0===c?void 0:c.version],["lang/js"],["md/browser","".concat(null!==(h=null==F||null===(C=F.browser)||void 0===C?void 0:C.name)&&void 0!==h?h:"unknown","_").concat(null!==(T=null==F||null===(N=F.browser)||void 0===N?void 0:N.version)&&void 0!==T?T:"unknown")]],t&&$.push(["api/".concat(t),e]),ue.abrupt("return",$);case 4:case"end":return ue.stop()}},a)}))},MD="required",As="fn",ks="argv",Gc="ref",PP="PartitionResult",Yo="tree",Df="error",Tf="endpoint",ND=((0,d.Z)(J0={},MD,!1),(0,d.Z)(J0,"type","String"),J0),VD=((0,d.Z)(Af={},MD,!0),(0,d.Z)(Af,"default",!1),(0,d.Z)(Af,"type","Boolean"),Af),BD=(0,d.Z)({},Gc,"Endpoint"),ZD=((0,d.Z)(ex={},As,"booleanEquals"),(0,d.Z)(ex,ks,[(0,d.Z)({},Gc,"UseFIPS"),!0]),ex),LD=((0,d.Z)(tx={},As,"booleanEquals"),(0,d.Z)(tx,ks,[(0,d.Z)({},Gc,"UseDualStack"),!0]),tx),Jo={},jD=((0,d.Z)(rx={},As,"booleanEquals"),(0,d.Z)(rx,ks,[!0,(nx={},(0,d.Z)(nx,As,"getAttr"),(0,d.Z)(nx,ks,[(0,d.Z)({},Gc,PP),"supportsFIPS"]),nx)]),rx),$D=((0,d.Z)(ax={},As,"booleanEquals"),(0,d.Z)(ax,ks,[!0,(ix={},(0,d.Z)(ix,As,"getAttr"),(0,d.Z)(ix,ks,[(0,d.Z)({},Gc,PP),"supportsDualStack"]),ix)]),ax),UD=[BD],zD=[ZD],GD=[LD],VZ={version:"1.0",parameters:{Region:ND,UseDualStack:VD,UseFIPS:VD,Endpoint:ND},rules:[{conditions:[(kf={},(0,d.Z)(kf,As,"aws.partition"),(0,d.Z)(kf,ks,[(0,d.Z)({},Gc,"Region")]),(0,d.Z)(kf,"assign",PP),kf)],type:Yo,rules:[{conditions:[(ox={},(0,d.Z)(ox,As,"isSet"),(0,d.Z)(ox,ks,UD),ox),(Rf={},(0,d.Z)(Rf,As,"parseURL"),(0,d.Z)(Rf,ks,UD),(0,d.Z)(Rf,"assign","url"),Rf)],type:Yo,rules:[{conditions:zD,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:Df},{type:Yo,rules:[{conditions:GD,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:Df},{endpoint:{url:BD,properties:Jo,headers:Jo},type:Tf}]}]},{conditions:[ZD,LD],type:Yo,rules:[{conditions:[jD,$D],type:Yo,rules:[{endpoint:{url:"https://cognito-identity-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:Jo,headers:Jo},type:Tf}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:Df}]},{conditions:zD,type:Yo,rules:[{conditions:[jD],type:Yo,rules:[{type:Yo,rules:[{endpoint:{url:"https://cognito-identity-fips.{Region}.{PartitionResult#dnsSuffix}",properties:Jo,headers:Jo},type:Tf}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:Df}]},{conditions:GD,type:Yo,rules:[{conditions:[$D],type:Yo,rules:[{endpoint:{url:"https://cognito-identity.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:Jo,headers:Jo},type:Tf}]},{error:"DualStack is enabled but this partition does not support DualStack",type:Df}]},{endpoint:{url:"https://cognito-identity.{Region}.{PartitionResult#dnsSuffix}",properties:Jo,headers:Jo},type:Tf}]}]},BZ=function(n){return yD(VZ,{endpointParams:n,logger:(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).logger})},LZ=["in-region","cross-region","mobile","standard","legacy"],HD=function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).defaultsMode;return mR(Zt((0,qe.Z)().mark(function e(){var a;return(0,qe.Z)().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:if("function"!=typeof t){u.next=6;break}return u.next=3,t();case 3:u.t0=u.sent,u.next=7;break;case 6:u.t0=t;case 7:a=u.t0,u.t1=a?.toLowerCase(),u.next="auto"===u.t1?11:"mobile"===u.t1||"in-region"===u.t1||"cross-region"===u.t1||"standard"===u.t1||"legacy"===u.t1?12:void 0===u.t1?13:14;break;case 11:return u.abrupt("return",Promise.resolve(jZ()?"mobile":"standard"));case 12:return u.abrupt("return",Promise.resolve(a?.toLocaleLowerCase()));case 13:return u.abrupt("return",Promise.resolve("legacy"));case 14:throw new Error('Invalid parameter for "defaultsMode", expect '.concat(LZ.join(", "),", got ").concat(a));case 15:case"end":return u.stop()}},e)})))},jZ=function(){var n,t,e,a=typeof window<"u"&&null!==(n=window)&&void 0!==n&&null!==(t=n.navigator)&&void 0!==t&&t.userAgent?OD().parse(window.navigator.userAgent):void 0,s=null==a||null===(e=a.platform)||void 0===e?void 0:e.type;return"tablet"===s||"mobile"===s},AP=function(o){(0,z.Z)(t,o);var n=(0,H.Z)(t);function t(e){var a;(0,f.Z)(this,t);var u=function(n){var t,e;return(0,b.Z)((0,b.Z)({},n),{},{useDualstackEndpoint:null!==(t=n.useDualstackEndpoint)&&void 0!==t&&t,useFipsEndpoint:null!==(e=n.useFipsEndpoint)&&void 0!==e&&e,defaultSigningName:"cognito-identity"})}(function(n){var t,e,a,s,u,l,c,h,C,T,N,F=HD(n),$=function(){return F().then(jk)},se=function(n){var t,e,a,s,u,l,c,h,C;return{apiVersion:"2014-06-30",base64Decoder:null!==(t=n?.base64Decoder)&&void 0!==t?t:bP,base64Encoder:null!==(e=n?.base64Encoder)&&void 0!==e?e:CP,disableHostPrefix:null!==(a=n?.disableHostPrefix)&&void 0!==a&&a,endpointProvider:null!==(s=n?.endpointProvider)&&void 0!==s?s:BZ,logger:null!==(u=n?.logger)&&void 0!==u?u:new Rk,serviceId:null!==(l=n?.serviceId)&&void 0!==l?l:"Cognito Identity",urlParser:null!==(c=n?.urlParser)&&void 0!==c?c:bn,utf8Decoder:null!==(h=n?.utf8Decoder)&&void 0!==h?h:df,utf8Encoder:null!==(C=n?.utf8Encoder)&&void 0!==C?C:q0}}(n);return(0,b.Z)((0,b.Z)((0,b.Z)({},se),n),{},{runtime:"browser",defaultsMode:F,bodyLengthChecker:null!==(t=n?.bodyLengthChecker)&&void 0!==t?t:ID,credentialDefaultProvider:null!==(e=n?.credentialDefaultProvider)&&void 0!==e?e:function(ue){return function(){return Promise.reject(new Error("Credential is missing"))}},defaultUserAgentProvider:null!==(a=n?.defaultUserAgentProvider)&&void 0!==a?a:FD({serviceId:se.serviceId,clientVersion:"3.350.0"}),maxAttempts:null!==(s=n?.maxAttempts)&&void 0!==s?s:3,region:null!==(u=n?.region)&&void 0!==u?u:TD("Region is missing"),requestHandler:null!==(l=n?.requestHandler)&&void 0!==l?l:new wD($),retryMode:null!==(c=n?.retryMode)&&void 0!==c?c:Zt((0,qe.Z)().mark(function ue(){return(0,qe.Z)().wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:return Se.next=2,$();case 2:if(Se.t0=Se.sent.retryMode,Se.t0){Se.next=5;break}Se.t0=uP;case 5:return Se.abrupt("return",Se.t0);case 6:case"end":return Se.stop()}},ue)})),sha256:null!==(h=n?.sha256)&&void 0!==h?h:PZ.Sha256,streamCollector:null!==(C=n?.streamCollector)&&void 0!==C?C:wP,useDualstackEndpoint:null!==(T=n?.useDualstackEndpoint)&&void 0!==T?T:function(){return Promise.resolve(!1)},useFipsEndpoint:null!==(N=n?.useFipsEndpoint)&&void 0!==N?N:function(){return Promise.resolve(!1)}})}(e)),l=xR(u),c=nr(l),h=MR(c),N=aD(eD(h));return(a=n.call(this,N)).config=N,a.middlewareStack.use(NR(a.config)),a.middlewareStack.use(CR(a.config)),a.middlewareStack.use(wR(a.config)),a.middlewareStack.use(SR()),a.middlewareStack.use(PR(a.config)),a.middlewareStack.use(CD(a.config)),a}return(0,y.Z)(t,[{key:"destroy",value:function(){(0,Et.Z)((0,Ee.Z)(t.prototype),"destroy",this).call(this)}}]),t}(Ok),GZ={step:"build",tags:["SET_EXPECT_HEADER","EXPECT_HEADER"],name:"addExpectContinueMiddleware",override:!0};var WZ=S(6982),XZ=S(44907);function qD(o,n){return function(){var t=Zt((0,qe.Z)().mark(function e(a){var s,u,l,c,h,C,T,N;return(0,qe.Z)().wrap(function($){for(;;)switch($.prev=$.next){case 0:if("error"!==(s=a.headers[":message-type"].value)){$.next=7;break}throw(u=new Error(a.headers[":error-message"].value||"UnknownError")).name=a.headers[":error-code"].value,u;case 7:if("exception"!==s){$.next=20;break}return c=(0,d.Z)({},l=a.headers[":exception-type"].value,a),$.next=12,o(c);case 12:if(!(h=$.sent).$unknown){$.next=17;break}throw(C=new Error(n(a.body))).name=l,C;case 17:throw h[l];case 20:if("event"!==s){$.next=30;break}return T=(0,d.Z)({},a.headers[":event-type"].value,a),$.next=24,o(T);case 24:if(!(N=$.sent).$unknown){$.next=27;break}return $.abrupt("return");case 27:return $.abrupt("return",N);case 30:throw Error("Unrecognizable event type: ".concat(a.headers[":event-type"].value));case 31:case"end":return $.stop()}},e)}));return function(e){return t.apply(this,arguments)}}()}var YZ=function(){function o(n){var t=n.utf8Encoder,e=n.utf8Decoder;(0,f.Z)(this,o),this.eventStreamCodec=new vB(t,e),this.utfEncoder=t}return(0,y.Z)(o,[{key:"deserialize",value:function(t,e){var a=function QZ(o){var n=0,t=0,e=null,a=null,s=function(c){if("number"!=typeof c)throw new Error("Attempted to allocate an event message where size was not a number: "+c);n=c,t=4,e=new Uint8Array(c),new DataView(e.buffer).setUint32(0,c,!1)},u=function(){var l=Xo((0,qe.Z)().mark(function c(){var h,C,T,F,$,se,ue,ge;return(0,qe.Z)().wrap(function(we){for(;;)switch(we.prev=we.next){case 0:h=o[Symbol.asyncIterator]();case 1:return we.next=4,ea(h.next());case 4:if(T=(C=we.sent).value,!C.done){we.next=19;break}if(n){we.next=12;break}return we.abrupt("return");case 12:if(n!==t){we.next=17;break}return we.next=15,e;case 15:we.next=18;break;case 17:throw new Error("Truncated event message received.");case 18:return we.abrupt("return");case 19:F=T.length,$=0;case 21:if(!($<F)){we.next=45;break}if(e){we.next=33;break}if(se=F-$,a||(a=new Uint8Array(4)),ue=Math.min(4-t,se),a.set(T.slice($,$+ue),t),$+=ue,!((t+=ue)<4)){we.next=31;break}return we.abrupt("break",45);case 31:s(new DataView(a.buffer).getUint32(0,!1)),a=null;case 33:if(ge=Math.min(n-t,F-$),e.set(T.slice($,$+ge),t),t+=ge,$+=ge,!n||n!==t){we.next=43;break}return we.next=40,e;case 40:e=null,n=0,t=0;case 43:we.next=21;break;case 45:we.next=1;break;case 47:case"end":return we.stop()}},c)}));return function(){return l.apply(this,arguments)}}();return(0,d.Z)({},Symbol.asyncIterator,u)}(t);return new xB({messageStream:new yB({inputStream:a,decoder:this.eventStreamCodec}),deserializer:qD(e,this.utfEncoder)})}},{key:"serialize",value:function(t,e){return new _B({messageStream:new bB({inputStream:t,serializer:e}),encoder:this.eventStreamCodec,includeEndFrame:!0})}}]),o}(),t8=function(){function o(n){var t=n.utf8Encoder,e=n.utf8Decoder;(0,f.Z)(this,o),this.universalMarshaller=new YZ({utf8Decoder:e,utf8Encoder:t})}return(0,y.Z)(o,[{key:"deserialize",value:function(t,e){var n,a=n8(t)?(n=t,(0,d.Z)({},Symbol.asyncIterator,Xo((0,qe.Z)().mark(function t(){var e,a,u;return(0,qe.Z)().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:e=n.getReader(),c.prev=1;case 2:return c.next=5,ea(e.read());case 5:if(u=(a=c.sent).value,!a.done){c.next=10;break}return c.abrupt("return");case 10:return c.next=12,u;case 12:c.next=2;break;case 14:return c.prev=14,e.releaseLock(),c.finish(14);case 17:case"end":return c.stop()}},t,null,[[1,,14,17]])})))):t;return this.universalMarshaller.deserialize(a,e)}},{key:"serialize",value:function(t,e){var a=this.universalMarshaller.serialize(t,e);return"function"==typeof ReadableStream?function(n){var t=n[Symbol.asyncIterator]();return new ReadableStream({pull:function(a){return Zt((0,qe.Z)().mark(function s(){var u,c;return(0,qe.Z)().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:return C.next=2,t.next();case 2:if(c=(u=C.sent).value,!u.done){C.next=7;break}return C.abrupt("return",a.close());case 7:a.enqueue(c);case 8:case"end":return C.stop()}},s)}))()}})}(a):a}}]),o}(),n8=function(n){return"function"==typeof ReadableStream&&n instanceof ReadableStream},r8=function(n){return new t8(n)};function i8(o,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1048576;return new Promise(function(e,a){var s=new FileReader;s.addEventListener("error",a),s.addEventListener("abort",a);var u=o.size,l=0;function c(){l>=u?e():s.readAsArrayBuffer(o.slice(l,Math.min(u,l+t)))}s.addEventListener("load",function(h){var C=h.target.result;n(new Uint8Array(C)),l+=C.byteLength,c()}),c()})}var a8=function(){var o=Zt((0,qe.Z)().mark(function t(e,a){var s;return(0,qe.Z)().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return s=new e,l.next=3,i8(a,function(c){s.update(c)});case 3:return l.abrupt("return",s.digest());case 4:case"end":return l.stop()}},t)}));return function n(t,e){return o.apply(this,arguments)}}(),s8=[1732584193,4023233417,2562383102,271733878],u8=function(){function o(){(0,f.Z)(this,o),this.reset()}return(0,y.Z)(o,[{key:"update",value:function(t){if(!function l8(o){return"string"==typeof o?0===o.length:0===o.byteLength}(t)){if(this.finished)throw new Error("Attempted to update an already finished hash.");var e=function c8(o){return"string"==typeof o?df(o):ArrayBuffer.isView(o)?new Uint8Array(o.buffer,o.byteOffset,o.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(o)}(t),a=0,s=e.byteLength;for(this.bytesHashed+=s;s>0;)this.buffer.setUint8(this.bufferLength++,e[a++]),s--,64===this.bufferLength&&(this.hashBuffer(),this.bufferLength=0)}}},{key:"digest",value:(n=Zt((0,qe.Z)().mark(function e(){var a,s,l,c,h,C,T;return(0,qe.Z)().wrap(function(F){for(;;)switch(F.prev=F.next){case 0:if(!this.finished){if(s=this.bufferLength,l=8*this.bytesHashed,(a=this.buffer).setUint8(this.bufferLength++,128),s%64>=56){for(c=this.bufferLength;c<64;c++)a.setUint8(c,0);this.hashBuffer(),this.bufferLength=0}for(h=this.bufferLength;h<56;h++)a.setUint8(h,0);a.setUint32(56,l>>>0,!0),a.setUint32(60,Math.floor(l/4294967296),!0),this.hashBuffer(),this.finished=!0}for(C=new DataView(new ArrayBuffer(16)),T=0;T<4;T++)C.setUint32(4*T,this.state[T],!0);return F.abrupt("return",new Uint8Array(C.buffer,C.byteOffset,C.byteLength));case 4:case"end":return F.stop()}},e,this)})),function t(){return n.apply(this,arguments)})},{key:"hashBuffer",value:function(){var t=this.buffer,e=this.state,a=e[0],s=e[1],u=e[2],l=e[3];a=ta(a,s,u,l,t.getUint32(0,!0),7,3614090360),l=ta(l,a,s,u,t.getUint32(4,!0),12,3905402710),u=ta(u,l,a,s,t.getUint32(8,!0),17,606105819),s=ta(s,u,l,a,t.getUint32(12,!0),22,3250441966),a=ta(a,s,u,l,t.getUint32(16,!0),7,4118548399),l=ta(l,a,s,u,t.getUint32(20,!0),12,1200080426),u=ta(u,l,a,s,t.getUint32(24,!0),17,2821735955),s=ta(s,u,l,a,t.getUint32(28,!0),22,4249261313),a=ta(a,s,u,l,t.getUint32(32,!0),7,1770035416),l=ta(l,a,s,u,t.getUint32(36,!0),12,2336552879),u=ta(u,l,a,s,t.getUint32(40,!0),17,4294925233),s=ta(s,u,l,a,t.getUint32(44,!0),22,2304563134),a=ta(a,s,u,l,t.getUint32(48,!0),7,1804603682),l=ta(l,a,s,u,t.getUint32(52,!0),12,4254626195),u=ta(u,l,a,s,t.getUint32(56,!0),17,2792965006),a=na(a,s=ta(s,u,l,a,t.getUint32(60,!0),22,1236535329),u,l,t.getUint32(4,!0),5,4129170786),l=na(l,a,s,u,t.getUint32(24,!0),9,3225465664),u=na(u,l,a,s,t.getUint32(44,!0),14,643717713),s=na(s,u,l,a,t.getUint32(0,!0),20,3921069994),a=na(a,s,u,l,t.getUint32(20,!0),5,3593408605),l=na(l,a,s,u,t.getUint32(40,!0),9,38016083),u=na(u,l,a,s,t.getUint32(60,!0),14,3634488961),s=na(s,u,l,a,t.getUint32(16,!0),20,3889429448),a=na(a,s,u,l,t.getUint32(36,!0),5,568446438),l=na(l,a,s,u,t.getUint32(56,!0),9,3275163606),u=na(u,l,a,s,t.getUint32(12,!0),14,4107603335),s=na(s,u,l,a,t.getUint32(32,!0),20,1163531501),a=na(a,s,u,l,t.getUint32(52,!0),5,2850285829),l=na(l,a,s,u,t.getUint32(8,!0),9,4243563512),u=na(u,l,a,s,t.getUint32(28,!0),14,1735328473),a=ra(a,s=na(s,u,l,a,t.getUint32(48,!0),20,2368359562),u,l,t.getUint32(20,!0),4,4294588738),l=ra(l,a,s,u,t.getUint32(32,!0),11,2272392833),u=ra(u,l,a,s,t.getUint32(44,!0),16,1839030562),s=ra(s,u,l,a,t.getUint32(56,!0),23,4259657740),a=ra(a,s,u,l,t.getUint32(4,!0),4,2763975236),l=ra(l,a,s,u,t.getUint32(16,!0),11,1272893353),u=ra(u,l,a,s,t.getUint32(28,!0),16,4139469664),s=ra(s,u,l,a,t.getUint32(40,!0),23,3200236656),a=ra(a,s,u,l,t.getUint32(52,!0),4,681279174),l=ra(l,a,s,u,t.getUint32(0,!0),11,3936430074),u=ra(u,l,a,s,t.getUint32(12,!0),16,3572445317),s=ra(s,u,l,a,t.getUint32(24,!0),23,76029189),a=ra(a,s,u,l,t.getUint32(36,!0),4,3654602809),l=ra(l,a,s,u,t.getUint32(48,!0),11,3873151461),u=ra(u,l,a,s,t.getUint32(60,!0),16,530742520),a=ia(a,s=ra(s,u,l,a,t.getUint32(8,!0),23,3299628645),u,l,t.getUint32(0,!0),6,4096336452),l=ia(l,a,s,u,t.getUint32(28,!0),10,1126891415),u=ia(u,l,a,s,t.getUint32(56,!0),15,2878612391),s=ia(s,u,l,a,t.getUint32(20,!0),21,4237533241),a=ia(a,s,u,l,t.getUint32(48,!0),6,1700485571),l=ia(l,a,s,u,t.getUint32(12,!0),10,2399980690),u=ia(u,l,a,s,t.getUint32(40,!0),15,4293915773),s=ia(s,u,l,a,t.getUint32(4,!0),21,2240044497),a=ia(a,s,u,l,t.getUint32(32,!0),6,1873313359),l=ia(l,a,s,u,t.getUint32(60,!0),10,4264355552),u=ia(u,l,a,s,t.getUint32(24,!0),15,2734768916),s=ia(s,u,l,a,t.getUint32(52,!0),21,1309151649),a=ia(a,s,u,l,t.getUint32(16,!0),6,4149444226),l=ia(l,a,s,u,t.getUint32(44,!0),10,3174756917),u=ia(u,l,a,s,t.getUint32(8,!0),15,718787259),s=ia(s,u,l,a,t.getUint32(36,!0),21,3951481745),e[0]=a+e[0]&4294967295,e[1]=s+e[1]&4294967295,e[2]=u+e[2]&4294967295,e[3]=l+e[3]&4294967295}},{key:"reset",value:function(){this.state=Uint32Array.from(s8),this.buffer=new DataView(new ArrayBuff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iv,oS,Ov,sS,uS,lS,cS,dS,Fv,pS,fS,Mv,Nv,mS,Vv,Bv,Zv,hS,gS,Lv,jv,$v,Uv,vS,zv,Gv,Hv,yS,qv,_S,Kv,xS,Wv,bS,Xv,CS,Qv,wS,Yv,SS,Jv,ES,ey,PS,AS,ty,kS,ny,RS,DS,TS,IS,ry,OS,iy,ay,oy,FS,MS,NS,sy,VS,uy,BS,ZS,ly,cy,dy,py,fy,LS,jS,$S,US,my,zS,hy,gy,GS,vy,yy,_y,xy,by,Cy,wy,Sy,Ey,Py,Ay,ky,Ry,Dy,Ty,Iy,Oy,Fy,My,HS,qS,Ny,KS,Vy,By,WS,Zy,XS,d8=function(n,t){var e=t.base64Encoder,a=t.bodyLengthChecker,s=t.checksumAlgorithmFn,u=t.checksumLocationName,l=t.streamHasher,c=void 0!==e&&void 0!==a&&void 0!==s&&void 0!==u&&void 0!==l,h=c?l(s,n):void 0,C=n.getReader();return new ReadableStream({pull:function(N){return Zt((0,qe.Z)().mark(function F(){var $,se,ge;return(0,qe.Z)().wrap(function(we){for(;;)switch(we.prev=we.next){case 0:return we.next=2,C.read();case 2:if(se=($=we.sent).value,!$.done){we.next=18;break}if(N.enqueue("0\r\n"),!c){we.next=15;break}return we.t0=e,we.next=11,h;case 11:we.t1=we.sent,ge=(0,we.t0)(we.t1),N.enqueue("".concat(u,":").concat(ge,"\r\n")),N.enqueue("\r\n");case 15:N.close(),we.next=19;break;case 18:N.enqueue("".concat((a(se)||0).toString(16),"\r\n").concat(se,"\r\n"));case 19:case"end":return we.stop()}},F)}))()}})},KD="The stream has already been transformed.",p8=function(n){if(!WD(n)&&!XD(n)){var t,e,a=(null==n||null===(t=n.__proto__)||void 0===t||null===(e=t.constructor)||void 0===e?void 0:e.name)||n;throw new Error("Unexpected stream implementation, expect Blob or ReadableStream, got ".concat(a))}var c,s=!1,u=function(){var c=Zt((0,qe.Z)().mark(function h(){return(0,qe.Z)().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:if(!s){T.next=2;break}throw new Error(KD);case 2:return s=!0,T.next=5,wP(n);case 5:return T.abrupt("return",T.sent);case 6:case"end":return T.stop()}},h)}));return function(){return c.apply(this,arguments)}}();return Object.assign(n,{transformToByteArray:u,transformToString:(c=Zt((0,qe.Z)().mark(function C(T){var N;return(0,qe.Z)().wrap(function($){for(;;)switch($.prev=$.next){case 0:return $.next=2,u();case 2:if(N=$.sent,"base64"!==T){$.next=7;break}return $.abrupt("return",CP(N));case 7:if("hex"!==T){$.next=11;break}return $.abrupt("return",Ka(N));case 11:if(void 0!==T&&"utf8"!==T&&"utf-8"!==T){$.next=15;break}return $.abrupt("return",q0(N));case 15:if("function"!=typeof TextDecoder){$.next=19;break}return $.abrupt("return",new TextDecoder(T).decode(N));case 19:throw new Error("TextDecoder is not available, please make sure polyfill is provided.");case 20:case"end":return $.stop()}},C)})),function h(C){return c.apply(this,arguments)}),transformToWebStream:function(){if(s)throw new Error(KD);if(s=!0,WD(n))return function(h){if("function"!=typeof h.stream)throw new Error("Cannot transform payload Blob to web stream. Please make sure the Blob.stream() is polyfilled.\nIf you are using React Native, this API is not yet supported, see: https://react-native.canny.io/feature-requests/p/fetch-streaming-body");return h.stream()}(n);if(XD(n))return n;throw new Error("Cannot transform payload to web stream, got ".concat(n))}})},WD=function(n){return"function"==typeof Blob&&n instanceof Blob},XD=function(n){return"function"==typeof ReadableStream&&n instanceof ReadableStream},f8=function(){function o(n){(0,f.Z)(this,o),this.sigv4Signer=new wf(n),this.signerOptions=n}return(0,y.Z)(o,[{key:"sign",value:(n=Zt(function(e){var a=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,qe.Z)().mark(function u(){return(0,qe.Z)().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:if("*"!==s.signingRegion){c.next=4;break}if("node"===a.signerOptions.runtime){c.next=3;break}throw new Error("This request requires signing with SigV4Asymmetric algorithm. It's only available in Node.js");case 3:return c.abrupt("return",a.getSigv4aSigner().sign(e,s));case 4:return c.abrupt("return",a.sigv4Signer.sign(e,s));case 5:case"end":return c.stop()}},u)})()}),function t(e){return n.apply(this,arguments)})},{key:"presign",value:function(){var n=Zt(function(e){var a=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,qe.Z)().mark(function u(){return(0,qe.Z)().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:if("*"!==s.signingRegion){c.next=4;break}if("node"===a.signerOptions.runtime){c.next=3;break}throw new Error("This request requires signing with SigV4Asymmetric algorithm. It's only available in Node.js");case 3:return c.abrupt("return",a.getSigv4aSigner().presign(e,s));case 4:return c.abrupt("return",a.sigv4Signer.presign(e,s));case 5:case"end":return c.stop()}},u)})()});return function t(e){return n.apply(this,arguments)}}()},{key:"getSigv4aSigner",value:function(){if(!this.sigv4aSigner){var t;try{if("function"!=typeof(t=S(54287).CrtSignerV4))throw new Error}catch(e){throw e.message="".concat(e.message,'\nPlease check if you have installed "@aws-sdk/signature-v4-crt" package explicitly. \n')+"For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt",e}this.sigv4aSigner=new t((0,b.Z)((0,b.Z)({},this.signerOptions),{},{signingAlgorithm:1}))}return this.sigv4aSigner}}]),o;var n}(),kP="required",Oe="type",bt="rules",ft="conditions",Ye="fn",Je="argv",kt="ref",Ii="assign",an="url",on="properties",Fn="authSchemes",Mn="disableDoubleEncoding",Nn="signingName",Zn="signingRegion",sn="headers",es=!0,Ct="tree",Xa="isSet",Ly="substring",YD="hardwareType",JD="regionPrefix",eT="abbaSuffix",RP="outpostId",jy="aws.partition",mn="stringEquals",_l="isValidHostLabel",ni="not",ln="error",tT="parseURL",DP="s3-outposts",Dt="endpoint",nn="booleanEquals",nT="aws.parseArn",Ln="s3",rT="aws.isVirtualHostableS3Bucket",Kr="getAttr",kn="name",TP="Host override cannot be combined with Dualstack, FIPS, or S3 Accelerate",iT="https://{Bucket}.s3.{partitionResult#dnsSuffix}",aT="bucketArn",oT="arnType",IP="s3-object-lambda",sT="accesspoint",OP="accessPointName",uT="{url#scheme}://{accessPointName}-{bucketArn#accountId}.{url#authority}{url#path}",lT="mrapPartition",cT="outpostType",dT="arnPrefix",xl="{url#scheme}://{url#authority}{url#path}",pT="https://s3.{partitionResult#dnsSuffix}",FP=((0,d.Z)(ux={},kP,!1),(0,d.Z)(ux,Oe,"String"),ux),$y=((0,d.Z)(If={},kP,!0),(0,d.Z)(If,"default",!1),(0,d.Z)(If,Oe,"Boolean"),If),YS=((0,d.Z)(lx={},kP,!1),(0,d.Z)(lx,Oe,"Boolean"),lx),fT=((0,d.Z)(cx={},Ye,Xa),(0,d.Z)(cx,Je,[(0,d.Z)({},kt,"Bucket")]),cx),ts=(0,d.Z)({},kt,"Bucket"),mT=(0,d.Z)({},kt,YD),hT=((0,d.Z)(Of={},ft,[(px={},(0,d.Z)(px,Ye,ni),(0,d.Z)(px,Je,[(dx={},(0,d.Z)(dx,Ye,Xa),(0,d.Z)(dx,Je,[(0,d.Z)({},kt,"Endpoint")]),dx)]),px)]),(0,d.Z)(Of,ln,"Expected a endpoint to be specified but no endpoint was found"),(0,d.Z)(Of,Oe,ln),Of),jn=((0,d.Z)(mx={},Ye,ni),(0,d.Z)(mx,Je,[(fx={},(0,d.Z)(fx,Ye,Xa),(0,d.Z)(fx,Je,[(0,d.Z)({},kt,"Endpoint")]),fx)]),mx),ir=((0,d.Z)(hx={},Ye,Xa),(0,d.Z)(hx,Je,[(0,d.Z)({},kt,"Endpoint")]),hx),Tr=((0,d.Z)(Ff={},Ye,tT),(0,d.Z)(Ff,Je,[(0,d.Z)({},kt,"Endpoint")]),(0,d.Z)(Ff,Ii,"url"),Ff),JS=(0,d.Z)({},Fn,[(Hc={},(0,d.Z)(Hc,Mn,!0),(0,d.Z)(Hc,kn,"sigv4"),(0,d.Z)(Hc,Nn,DP),(0,d.Z)(Hc,Zn,"{Region}"),Hc)]),xi={},gT=(0,d.Z)({},kt,"ForcePathStyle"),vT=((0,d.Z)(Bm={},ft,[(Mf={},(0,d.Z)(Mf,Ye,"uriEncode"),(0,d.Z)(Mf,Je,[ts]),(0,d.Z)(Mf,Ii,"uri_encoded_bucket"),Mf)]),(0,d.Z)(Bm,Oe,Ct),(0,d.Z)(Bm,bt,[(Nf={},(0,d.Z)(Nf,ft,[(gx={},(0,d.Z)(gx,Ye,nn),(0,d.Z)(gx,Je,[(0,d.Z)({},kt,"UseDualStack"),!0]),gx),ir]),(0,d.Z)(Nf,ln,"Cannot set dual-stack in combination with a custom endpoint."),(0,d.Z)(Nf,Oe,ln),Nf),(_b={},(0,d.Z)(_b,Oe,Ct),(0,d.Z)(_b,bt,[(Vm={},(0,d.Z)(Vm,ft,[(Vf={},(0,d.Z)(Vf,Ye,jy),(0,d.Z)(Vf,Je,[(0,d.Z)({},kt,"Region")]),(0,d.Z)(Vf,Ii,"partitionResult"),Vf)]),(0,d.Z)(Vm,Oe,Ct),(0,d.Z)(Vm,bt,[(vb={},(0,d.Z)(vb,Oe,Ct),(0,d.Z)(vb,bt,[(Nm={},(0,d.Z)(Nm,ft,[(vx={},(0,d.Z)(vx,Ye,nn),(0,d.Z)(vx,Je,[(0,d.Z)({},kt,"Accelerate"),!1]),vx)]),(0,d.Z)(Nm,Oe,Ct),(0,d.Z)(Nm,bt,[(hb={},(0,d.Z)(hb,Oe,Ct),(0,d.Z)(hb,bt,[(Zf={},(0,d.Z)(Zf,ft,[(yx={},(0,d.Z)(yx,Ye,nn),(0,d.Z)(yx,Je,[(0,d.Z)({},kt,"UseDualStack"),!0]),yx),jn,(_x={},(0,d.Z)(_x,Ye,nn),(0,d.Z)(_x,Je,[(0,d.Z)({},kt,"UseFIPS"),!0]),_x),(xx={},(0,d.Z)(xx,Ye,mn),(0,d.Z)(xx,Je,[(0,d.Z)({},kt,"Region"),"aws-global"]),xx)]),(0,d.Z)(Zf,Dt,(Bf={},(0,d.Z)(Bf,an,"https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}"),(0,d.Z)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_encoded_bucket}"),(0,d.Z)(Yf,on,(0,d.Z)({},Fn,[(ed={},(0,d.Z)(ed,Mn,!0),(0,d.Z)(ed,kn,"sigv4"),(0,d.Z)(ed,Nn,Ln),(0,d.Z)(ed,Zn,"{Region}"),ed)])),(0,d.Z)(Yf,sn,{}),Yf)),(0,d.Z)(Jf,Oe,Dt),Jf),(tm={},(0,d.Z)(tm,ft,[(Yx={},(0,d.Z)(Yx,Ye,nn),(0,d.Z)(Yx,Je,[(0,d.Z)({},kt,"UseDualStack"),!1]),Yx),jn,(Jx={},(0,d.Z)(Jx,Ye,nn),(0,d.Z)(Jx,Je,[(0,d.Z)({},kt,"UseFIPS"),!0]),Jx),(e1={},(0,d.Z)(e1,Ye,mn),(0,d.Z)(e1,Je,[(0,d.Z)({},kt,"Region"),"aws-global"]),e1)]),(0,d.Z)(tm,Dt,(em={},(0,d.Z)(em,an,"https://s3-fips.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}"),(0,d.Z)(em,on,(0,d.Z)({},Fn,[(td={},(0,d.Z)(td,Mn,!0),(0,d.Z)(td,kn,"sigv4"),(0,d.Z)(td,Nn,Ln),(0,d.Z)(td,Zn,"us-east-1"),td)])),(0,d.Z)(em,sn,{}),em)),(0,d.Z)(tm,Oe,Dt),tm),(rm={},(0,d.Z)(rm,ft,[(t1={},(0,d.Z)(t1,Ye,nn),(0,d.Z)(t1,Je,[(0,d.Z)({},kt,"UseDualStack"),!1]),t1),jn,(n1={},(0,d.Z)(n1,Ye,nn),(0,d.Z)(n1,Je,[(0,d.Z)({},kt,"UseFIPS"),!0]),n1),(r1={},(0,d.Z)(r1,Ye,mn),(0,d.Z)(r1,Je,[(0,d.Z)({},kt,"Region"),"aws-global"]),r1)]),(0,d.Z)(rm,Dt,(nm={},(0,d.Z)(nm,an,"https://s3-fips.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}"),(0,d.Z)(nm,on,(0,d.Z)({},Fn,[(nd={},(0,d.Z)(nd,Mn,!0),(0,d.Z)(nd,kn,"sigv4"),(0,d.Z)(nd,Nn,Ln),(0,d.Z)(nd,Zn,"us-east-1"),nd)])),(0,d.Z)(nm,sn,{}),nm)),(0,d.Z)(rm,Oe,Dt),rm),(am={},(0,d.Z)(am,ft,[(a1={},(0,d.Z)(a1,Ye,nn),(0,d.Z)(a1,Je,[(0,d.Z)({},kt,"UseDualStack"),!1]),a1),jn,(o1={},(0,d.Z)(o1,Ye,nn),(0,d.Z)(o1,Je,[(0,d.Z)({},kt,"UseFIPS"),!0]),o1),(u1={},(0,d.Z)(u1,Ye,ni),(0,d.Z)(u1,Je,[(s1={},(0,d.Z)(s1,Ye,mn),(0,d.Z)(s1,Je,[(0,d.Z)({},kt,"Region"),"aws-global"]),s1)]),u1),(l1={},(0,d.Z)(l1,Ye,nn),(0,d.Z)(l1,Je,[(0,d.Z)({},kt,"UseGlobalEndpoint"),!0]),l1)]),(0,d.Z)(am,Oe,Ct),(0,d.Z)(am,bt,[(c1={},(0,d.Z)(c1,Dt,(im={},(0,d.Z)(im,an,"https://s3-fips.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}"),(0,d.Z)(im,on,(0,d.Z)({},Fn,[(rd={},(0,d.Z)(rd,Mn,!0),(0,d.Z)(rd,kn,"sigv4"),(0,d.Z)(rd,Nn,Ln),(0,d.Z)(rd,Zn,"{Region}"),rd)])),(0,d.Z)(im,sn,{}),im)),(0,d.Z)(c1,Oe,Dt),c1)]),am),(sm={},(0,d.Z)(sm,ft,[(d1={},(0,d.Z)(d1,Ye,nn),(0,d.Z)(d1,Je,[(0,d.Z)({},kt,"UseDualStack"),!1]),d1),jn,(p1={},(0,d.Z)(p1,Ye,nn),(0,d.Z)(p1,Je,[(0,d.Z)({},kt,"UseFIPS"),!0]),p1),(m1={},(0,d.Z)(m1,Ye,ni),(0,d.Z)(m1,Je,[(f1={},(0,d.Z)(f1,Ye,mn),(0,d.Z)(f1,Je,[(0,d.Z)({},kt,"Region"),"aws-global"]),f1)]),m1),(h1={},(0,d.Z)(h1,Ye,nn),(0,d.Z)(h1,Je,[(0,d.Z)({},kt,"UseGlobalEndpoint"),!1]),h1)]),(0,d.Z)(sm,Dt,(om={},(0,d.Z)(om,an,"https://s3-fips.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}"),(0,d.Z)(om,on,(0,d.Z)({},Fn,[(id={},(0,d.Z)(id,Mn,!0),(0,d.Z)(id,kn,"sigv4"),(0,d.Z)(id,Nn,Ln),(0,d.Z)(id,Zn,"{Region}"),id)])),(0,d.Z)(om,sn,{}),om)),(0,d.Z)(sm,Oe,Dt),sm),(lm={},(0,d.Z)(lm,ft,[(g1={},(0,d.Z)(g1,Ye,nn),(0,d.Z)(g1,Je,[(0,d.Z)({},kt,"UseDualStack"),!0]),g1),jn,(v1={},(0,d.Z)(v1,Ye,nn),(0,d.Z)(v1,Je,[(0,d.Z)({},kt,"UseFIPS"),!1]),v1),(y1={},(0,d.Z)(y1,Ye,mn),(0,d.Z)(y1,Je,[(0,d.Z)({},kt,"Region"),"aws-global"]),y1)]),(0,d.Z)(lm,Dt,(um={},(0,d.Z)(um,an,"https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}"),(0,d.Z)(um,on,(0,d.Z)({},Fn,[(ad={},(0,d.Z)(ad,Mn,!0),(0,d.Z)(ad,kn,"sigv4"),(0,d.Z)(ad,Nn,Ln),(0,d.Z)(ad,Zn,"us-east-1"),ad)])),(0,d.Z)(um,sn,{}),um)),(0,d.Z)(lm,Oe,Dt),lm),(dm={},(0,d.Z)(dm,ft,[(_1={},(0,d.Z)(_1,Ye,nn),(0,d.Z)(_1,Je,[(0,d.Z)({},kt,"UseDualStack"),!0]),_1),jn,(x1={},(0,d.Z)(x1,Ye,nn),(0,d.Z)(x1,Je,[(0,d.Z)({},kt,"UseFIPS"),!1]),x1),(b1={},(0,d.Z)(b1,Ye,mn),(0,d.Z)(b1,Je,[(0,d.Z)({},kt,"Region"),"aws-global"]),b1)]),(0,d.Z)(dm,Dt,(cm={},(0,d.Z)(cm,an,"https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}"),(0,d.Z)(cm,on,(0,d.Z)({},Fn,[(od={},(0,d.Z)(od,Mn,!0),(0,d.Z)(od,kn,"sigv4"),(0,d.Z)(od,Nn,Ln),(0,d.Z)(od,Zn,"us-east-1"),od)])),(0,d.Z)(cm,sn,{}),cm)),(0,d.Z)(dm,Oe,Dt),dm),(fm={},(0,d.Z)(fm,ft,[(C1={},(0,d.Z)(C1,Ye,nn),(0,d.Z)(C1,Je,[(0,d.Z)({},kt,"UseDualStack"),!0]),C1),jn,(w1={},(0,d.Z)(w1,Ye,nn),(0,d.Z)(w1,Je,[(0,d.Z)({},kt,"UseFIPS"),!1]),w1),(E1={},(0,d.Z)(E1,Ye,ni),(0,d.Z)(E1,Je,[(S1={},(0,d.Z)(S1,Ye,mn),(0,d.Z)(S1,Je,[(0,d.Z)({},kt,"Region"),"aws-global"]),S1)]),E1),(P1={},(0,d.Z)(P1,Ye,nn),(0,d.Z)(P1,Je,[(0,d.Z)({},kt,"UseGlobalEndpoint"),!0]),P1)]),(0,d.Z)(fm,Oe,Ct),(0,d.Z)(fm,bt,[(A1={},(0,d.Z)(A1,Dt,(pm={},(0,d.Z)(pm,an,"https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}"),(0,d.Z)(pm,on,(0,d.Z)({},Fn,[(sd={},(0,d.Z)(sd,Mn,!0),(0,d.Z)(sd,kn,"sigv4"),(0,d.Z)(sd,Nn,Ln),(0,d.Z)(sd,Zn,"{Region}"),sd)])),(0,d.Z)(pm,sn,{}),pm)),(0,d.Z)(A1,Oe,Dt),A1)]),fm),(hm={},(0,d.Z)(hm,ft,[(k1={},(0,d.Z)(k1,Ye,nn),(0,d.Z)(k1,Je,[(0,d.Z)({},kt,"UseDualStack"),!0]),k1),jn,(R1={},(0,d.Z)(R1,Ye,nn),(0,d.Z)(R1,Je,[(0,d.Z)({},kt,"UseFIPS"),!1]),R1),(T1={},(0,d.Z)(T1,Ye,ni),(0,d.Z)(T1,Je,[(D1={},(0,d.Z)(D1,Ye,mn),(0,d.Z)(D1,Je,[(0,d.Z)({},kt,"Region"),"aws-global"]),D1)]),T1),(I1={},(0,d.Z)(I1,Ye,nn),(0,d.Z)(I1,Je,[(0,d.Z)({},kt,"UseGlobalEndpoint"),!1]),I1)]),(0,d.Z)(hm,Dt,(mm={},(0,d.Z)(mm,an,"https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}"),(0,d.Z)(mm,on,(0,d.Z)({},Fn,[(ud={},(0,d.Z)(ud,Mn,!0),(0,d.Z)(ud,kn,"sigv4"),(0,d.Z)(ud,Nn,Ln),(0,d.Z)(ud,Zn,"{Region}"),ud)])),(0,d.Z)(mm,sn,{}),mm)),(0,d.Z)(hm,Oe,Dt),hm),(vm={},(0,d.Z)(vm,ft,[(O1={},(0,d.Z)(O1,Ye,nn),(0,d.Z)(O1,Je,[(0,d.Z)({},kt,"UseDualStack"),!1]),O1),ir,Tr,(F1={},(0,d.Z)(F1,Ye,nn),(0,d.Z)(F1,Je,[(0,d.Z)({},kt,"UseFIPS"),!1]),F1),(M1={},(0,d.Z)(M1,Ye,mn),(0,d.Z)(M1,Je,[(0,d.Z)({},kt,"Region"),"aws-global"]),M1)]),(0,d.Z)(vm,Dt,(gm={},(0,d.Z)(gm,an,"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}"),(0,d.Z)(gm,on,(0,d.Z)({},Fn,[(ld={},(0,d.Z)(ld,Mn,!0),(0,d.Z)(ld,kn,"sigv4"),(0,d.Z)(ld,Nn,Ln),(0,d.Z)(ld,Zn,"us-east-1"),ld)])),(0,d.Z)(gm,sn,{}),gm)),(0,d.Z)(vm,Oe,Dt),vm),(_m={},(0,d.Z)(_m,ft,[(N1={},(0,d.Z)(N1,Ye,nn),(0,d.Z)(N1,Je,[(0,d.Z)({},kt,"UseDualStack"),!1]),N1),ir,Tr,(V1={},(0,d.Z)(V1,Ye,nn),(0,d.Z)(V1,Je,[(0,d.Z)({},kt,"UseFIPS"),!1]),V1),(B1={},(0,d.Z)(B1,Ye,mn),(0,d.Z)(B1,Je,[(0,d.Z)({},kt,"Region"),"aws-global"]),B1)]),(0,d.Z)(_m,Dt,(ym={},(0,d.Z)(ym,an,"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}"),(0,d.Z)(ym,on,(0,d.Z)({},Fn,[(cd={},(0,d.Z)(cd,Mn,!0),(0,d.Z)(cd,kn,"sigv4"),(0,d.Z)(cd,Nn,Ln),(0,d.Z)(cd,Zn,"us-east-1"),cd)])),(0,d.Z)(ym,sn,{}),ym)),(0,d.Z)(_m,Oe,Dt),_m),(wm={},(0,d.Z)(wm,ft,[(Z1={},(0,d.Z)(Z1,Ye,nn),(0,d.Z)(Z1,Je,[(0,d.Z)({},kt,"UseDualStack"),!1]),Z1),ir,Tr,(L1={},(0,d.Z)(L1,Ye,nn),(0,d.Z)(L1,Je,[(0,d.Z)({},kt,"UseFIPS"),!1]),L1),($1={},(0,d.Z)($1,Ye,ni),(0,d.Z)($1,Je,[(j1={},(0,d.Z)(j1,Ye,mn),(0,d.Z)(j1,Je,[(0,d.Z)({},kt,"Region"),"aws-global"]),j1)]),$1),(U1={},(0,d.Z)(U1,Ye,nn),(0,d.Z)(U1,Je,[(0,d.Z)({},kt,"UseGlobalEndpoint"),!0]),U1)]),(0,d.Z)(wm,Oe,Ct),(0,d.Z)(wm,bt,[(bm={},(0,d.Z)(bm,ft,[(z1={},(0,d.Z)(z1,Ye,mn),(0,d.Z)(z1,Je,[(0,d.Z)({},kt,"Region"),"us-east-1"]),z1)]),(0,d.Z)(bm,Dt,(xm={},(0,d.Z)(xm,an,"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}"),(0,d.Z)(xm,on,(0,d.Z)({},Fn,[(dd={},(0,d.Z)(dd,Mn,!0),(0,d.Z)(dd,kn,"sigv4"),(0,d.Z)(dd,Nn,Ln),(0,d.Z)(dd,Zn,"{Region}"),dd)])),(0,d.Z)(xm,sn,{}),xm)),(0,d.Z)(bm,Oe,Dt),bm),(G1={},(0,d.Z)(G1,Dt,(Cm={},(0,d.Z)(Cm,an,"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}"),(0,d.Z)(Cm,on,(0,d.Z)({},Fn,[(pd={},(0,d.Z)(pd,Mn,!0),(0,d.Z)(pd,kn,"sigv4"),(0,d.Z)(pd,Nn,Ln),(0,d.Z)(pd,Zn,"{Region}"),pd)])),(0,d.Z)(Cm,sn,{}),Cm)),(0,d.Z)(G1,Oe,Dt),G1)]),wm),(Em={},(0,d.Z)(Em,ft,[(H1={},(0,d.Z)(H1,Ye,nn),(0,d.Z)(H1,Je,[(0,d.Z)({},kt,"UseDualStack"),!1]),H1),ir,Tr,(q1={},(0,d.Z)(q1,Ye,nn),(0,d.Z)(q1,Je,[(0,d.Z)({},kt,"UseFIPS"),!1]),q1),(W1={},(0,d.Z)(W1,Ye,ni),(0,d.Z)(W1,Je,[(K1={},(0,d.Z)(K1,Ye,mn),(0,d.Z)(K1,Je,[(0,d.Z)({},kt,"Region"),"aws-global"]),K1)]),W1),(X1={},(0,d.Z)(X1,Ye,nn),(0,d.Z)(X1,Je,[(0,d.Z)({},kt,"UseGlobalEndpoint"),!1]),X1)]),(0,d.Z)(Em,Dt,(Sm={},(0,d.Z)(Sm,an,"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}"),(0,d.Z)(Sm,on,(0,d.Z)({},Fn,[(fd={},(0,d.Z)(fd,Mn,!0),(0,d.Z)(fd,kn,"sigv4"),(0,d.Z)(fd,Nn,Ln),(0,d.Z)(fd,Zn,"{Region}"),fd)])),(0,d.Z)(Sm,sn,{}),Sm)),(0,d.Z)(Em,Oe,Dt),Em),(Am={},(0,d.Z)(Am,ft,[(Q1={},(0,d.Z)(Q1,Ye,nn),(0,d.Z)(Q1,Je,[(0,d.Z)({},kt,"UseDualStack"),!1]),Q1),jn,(Y1={},(0,d.Z)(Y1,Ye,nn),(0,d.Z)(Y1,Je,[(0,d.Z)({},kt,"UseFIPS"),!1]),Y1),(J1={},(0,d.Z)(J1,Ye,mn),(0,d.Z)(J1,Je,[(0,d.Z)({},kt,"Region"),"aws-global"]),J1)]),(0,d.Z)(Am,Dt,(Pm={},(0,d.Z)(Pm,an,"https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}"),(0,d.Z)(Pm,on,(0,d.Z)({},Fn,[(md={},(0,d.Z)(md,Mn,!0),(0,d.Z)(md,kn,"sigv4"),(0,d.Z)(md,Nn,Ln),(0,d.Z)(md,Zn,"us-east-1"),md)])),(0,d.Z)(Pm,sn,{}),Pm)),(0,d.Z)(Am,Oe,Dt),Am),(Rm={},(0,d.Z)(Rm,ft,[(eb={},(0,d.Z)(eb,Ye,nn),(0,d.Z)(eb,Je,[(0,d.Z)({},kt,"UseDualStack"),!1]),eb),jn,(tb={},(0,d.Z)(tb,Ye,nn),(0,d.Z)(tb,Je,[(0,d.Z)({},kt,"UseFIPS"),!1]),tb),(nb={},(0,d.Z)(nb,Ye,mn),(0,d.Z)(nb,Je,[(0,d.Z)({},kt,"Region"),"aws-global"]),nb)]),(0,d.Z)(Rm,Dt,(km={},(0,d.Z)(km,an,"https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}"),(0,d.Z)(km,on,(0,d.Z)({},Fn,[(hd={},(0,d.Z)(hd,Mn,!0),(0,d.Z)(hd,kn,"sigv4"),(0,d.Z)(hd,Nn,Ln),(0,d.Z)(hd,Zn,"us-east-1"),hd)])),(0,d.Z)(km,sn,{}),km)),(0,d.Z)(Rm,Oe,Dt),Rm),(Om={},(0,d.Z)(Om,ft,[(rb={},(0,d.Z)(rb,Ye,nn),(0,d.Z)(rb,Je,[(0,d.Z)({},kt,"UseDualStack"),!1]),rb),jn,(ib={},(0,d.Z)(ib,Ye,nn),(0,d.Z)(ib,Je,[(0,d.Z)({},kt,"UseFIPS"),!1]),ib),(ob={},(0,d.Z)(ob,Ye,ni),(0,d.Z)(ob,Je,[(ab={},(0,d.Z)(ab,Ye,mn),(0,d.Z)(ab,Je,[(0,d.Z)({},kt,"Region"),"aws-global"]),ab)]),ob),(sb={},(0,d.Z)(sb,Ye,nn),(0,d.Z)(sb,Je,[(0,d.Z)({},kt,"UseGlobalEndpoint"),!0]),sb)]),(0,d.Z)(Om,Oe,Ct),(0,d.Z)(Om,bt,[(Tm={},(0,d.Z)(Tm,ft,[(ub={},(0,d.Z)(ub,Ye,mn),(0,d.Z)(ub,Je,[(0,d.Z)({},kt,"Region"),"us-east-1"]),ub)]),(0,d.Z)(Tm,Dt,(Dm={},(0,d.Z)(Dm,an,"https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}"),(0,d.Z)(Dm,on,(0,d.Z)({},Fn,[(gd={},(0,d.Z)(gd,Mn,!0),(0,d.Z)(gd,kn,"sigv4"),(0,d.Z)(gd,Nn,Ln),(0,d.Z)(gd,Zn,"{Region}"),gd)])),(0,d.Z)(Dm,sn,{}),Dm)),(0,d.Z)(Tm,Oe,Dt),Tm),(lb={},(0,d.Z)(lb,Dt,(Im={},(0,d.Z)(Im,an,"https://s3.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}"),(0,d.Z)(Im,on,(0,d.Z)({},Fn,[(vd={},(0,d.Z)(vd,Mn,!0),(0,d.Z)(vd,kn,"sigv4"),(0,d.Z)(vd,Nn,Ln),(0,d.Z)(vd,Zn,"{Region}"),vd)])),(0,d.Z)(Im,sn,{}),Im)),(0,d.Z)(lb,Oe,Dt),lb)]),Om),(Mm={},(0,d.Z)(Mm,ft,[(cb={},(0,d.Z)(cb,Ye,nn),(0,d.Z)(cb,Je,[(0,d.Z)({},kt,"UseDualStack"),!1]),cb),jn,(db={},(0,d.Z)(db,Ye,nn),(0,d.Z)(db,Je,[(0,d.Z)({},kt,"UseFIPS"),!1]),db),(fb={},(0,d.Z)(fb,Ye,ni),(0,d.Z)(fb,Je,[(pb={},(0,d.Z)(pb,Ye,mn),(0,d.Z)(pb,Je,[(0,d.Z)({},kt,"Region"),"aws-global"]),pb)]),fb),(mb={},(0,d.Z)(mb,Ye,nn),(0,d.Z)(mb,Je,[(0,d.Z)({},kt,"UseGlobalEndpoint"),!1]),mb)]),(0,d.Z)(Mm,Dt,(Fm={},(0,d.Z)(Fm,an,"https://s3.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}"),(0,d.Z)(Fm,on,(0,d.Z)({},Fn,[(yd={},(0,d.Z)(yd,Mn,!0),(0,d.Z)(yd,kn,"sigv4"),(0,d.Z)(yd,Nn,Ln),(0,d.Z)(yd,Zn,"{Region}"),yd)])),(0,d.Z)(Fm,sn,{}),Fm)),(0,d.Z)(Mm,Oe,Dt),Mm)]),hb)]),Nm),(gb={},(0,d.Z)(gb,ln,"Path-style addressing cannot be used with S3 Accelerate"),(0,d.Z)(gb,Oe,ln),gb)]),vb)]),Vm),(yb={},(0,d.Z)(yb,ln,"A valid partition could not be determined"),(0,d.Z)(yb,Oe,ln),yb)]),_b)]),Bm),Nr=((0,d.Z)(xb={},Ye,nn),(0,d.Z)(xb,Je,[(0,d.Z)({},kt,"UseDualStack"),!0]),xb),Pi=((0,d.Z)(bb={},Ye,nn),(0,d.Z)(bb,Je,[(0,d.Z)({},kt,"Accelerate"),!1]),bb),Gr=((0,d.Z)(Cb={},Ye,nn),(0,d.Z)(Cb,Je,[(0,d.Z)({},kt,"UseFIPS"),!0]),Cb),xr=((0,d.Z)(Sb={},Ye,ni),(0,d.Z)(Sb,Je,[(wb={},(0,d.Z)(wb,Ye,mn),(0,d.Z)(wb,Je,[(0,d.Z)({},kt,"Region"),"aws-global"]),wb)]),Sb),aa=((0,d.Z)(Eb={},Ye,nn),(0,d.Z)(Eb,Je,[(0,d.Z)({},kt,"UseGlobalEndpoint"),!0]),Eb),oa=(0,d.Z)({},Fn,[(_d={},(0,d.Z)(_d,Mn,!0),(0,d.Z)(_d,kn,"sigv4"),(0,d.Z)(_d,Nn,Ln),(0,d.Z)(_d,Zn,"{Region}"),_d)]),sa=((0,d.Z)(Pb={},Ye,nn),(0,d.Z)(Pb,Je,[(0,d.Z)({},kt,"UseGlobalEndpoint"),!1]),Pb),wr=((0,d.Z)(Ab={},Ye,nn),(0,d.Z)(Ab,Je,[(0,d.Z)({},kt,"UseDualStack"),!1]),Ab),ur=((0,d.Z)(kb={},Ye,nn),(0,d.Z)(kb,Je,[(0,d.Z)({},kt,"UseFIPS"),!1]),kb),bl=((0,d.Z)(Rb={},ln,"A valid partition could not be determined"),(0,d.Z)(Rb,Oe,ln),Rb),MP=((0,d.Z)(Zm={},ft,[Gr,(Tb={},(0,d.Z)(Tb,Ye,mn),(0,d.Z)(Tb,Je,[(Db={},(0,d.Z)(Db,Ye,Kr),(0,d.Z)(Db,Je,[(0,d.Z)({},kt,"partitionResult"),kn]),Db),"aws-cn"]),Tb)]),(0,d.Z)(Zm,ln,"Partition does not support FIPS"),(0,d.Z)(Zm,Oe,ln),Zm),m8=((0,d.Z)(Ob={},Ye,mn),(0,d.Z)(Ob,Je,[(Ib={},(0,d.Z)(Ib,Ye,Kr),(0,d.Z)(Ib,Je,[(0,d.Z)({},kt,"partitionResult"),kn]),Ib),"aws-cn"]),Ob),Po=((0,d.Z)(Fb={},Ye,nn),(0,d.Z)(Fb,Je,[(0,d.Z)({},kt,"Accelerate"),!0]),Fb),yT=((0,d.Z)(jm={},ft,[Nr,Gr,Pi,jn,(Mb={},(0,d.Z)(Mb,Ye,mn),(0,d.Z)(Mb,Je,[(0,d.Z)({},kt,"Region"),"aws-global"]),Mb)]),(0,d.Z)(jm,Dt,((0,d.Z)(Lm={},an,"https://{Bucket}.s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}"),(0,d.Z)(Lm,on,(0,d.Z)({},Fn,[(xd={},(0,d.Z)(xd,Mn,!0),(0,d.Z)(xd,kn,"sigv4"),(0,d.Z)(xd,Nn,Ln),(0,d.Z)(xd,Zn,"us-east-1"),xd)])),(0,d.Z)(Lm,sn,{}),Lm)),(0,d.Z)(jm,Oe,Dt),jm),_T=((0,d.Z)($m={},an,"https://{Bucket}.s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}"),(0,d.Z)($m,on,oa),(0,d.Z)($m,sn,{}),$m),xT=((0,d.Z)(zm={},ft,[wr,Gr,Pi,jn,(Nb={},(0,d.Z)(Nb,Ye,mn),(0,d.Z)(Nb,Je,[(0,d.Z)({},kt,"Region"),"aws-global"]),Nb)]),(0,d.Z)(zm,Dt,((0,d.Z)(Um={},an,"https://{Bucket}.s3-fips.us-east-1.{partitionResult#dnsSuffix}"),(0,d.Z)(Um,on,(0,d.Z)({},Fn,[(bd={},(0,d.Z)(bd,Mn,!0),(0,d.Z)(bd,kn,"sigv4"),(0,d.Z)(bd,Nn,Ln),(0,d.Z)(bd,Zn,"us-east-1"),bd)])),(0,d.Z)(Um,sn,{}),Um)),(0,d.Z)(zm,Oe,Dt),zm),bT=((0,d.Z)(Gm={},an,"https://{Bucket}.s3-fips.{Region}.{partitionResult#dnsSuffix}"),(0,d.Z)(Gm,on,oa),(0,d.Z)(Gm,sn,{}),Gm),CT=((0,d.Z)(qm={},ft,[Nr,ur,Po,jn,(Vb={},(0,d.Z)(Vb,Ye,mn),(0,d.Z)(Vb,Je,[(0,d.Z)({},kt,"Region"),"aws-global"]),Vb)]),(0,d.Z)(qm,Dt,((0,d.Z)(Hm={},an,"https://{Bucket}.s3-accelerate.dualstack.us-east-1.{partitionResult#dnsSuffix}"),(0,d.Z)(Hm,on,(0,d.Z)({},Fn,[(Cd={},(0,d.Z)(Cd,Mn,!0),(0,d.Z)(Cd,kn,"sigv4"),(0,d.Z)(Cd,Nn,Ln),(0,d.Z)(Cd,Zn,"us-east-1"),Cd)])),(0,d.Z)(Hm,sn,{}),Hm)),(0,d.Z)(qm,Oe,Dt),qm),wT=((0,d.Z)(Km={},an,"https://{Bucket}.s3-accelerate.dualstack.{partitionResult#dnsSuffix}"),(0,d.Z)(Km,on,oa),(0,d.Z)(Km,sn,{}),Km),ST=((0,d.Z)(Xm={},ft,[Nr,ur,Pi,jn,(Bb={},(0,d.Z)(Bb,Ye,mn),(0,d.Z)(Bb,Je,[(0,d.Z)({},kt,"Region"),"aws-global"]),Bb)]),(0,d.Z)(Xm,Dt,((0,d.Z)(Wm={},an,"https://{Bucket}.s3.dualstack.us-east-1.{partitionResult#dnsSuffix}"),(0,d.Z)(Wm,on,(0,d.Z)({},Fn,[(wd={},(0,d.Z)(wd,Mn,!0),(0,d.Z)(wd,kn,"sigv4"),(0,d.Z)(wd,Nn,Ln),(0,d.Z)(wd,Zn,"us-east-1"),wd)])),(0,d.Z)(Wm,sn,{}),Wm)),(0,d.Z)(Xm,Oe,Dt),Xm),ET=((0,d.Z)(Qm={},an,"https://{Bucket}.s3.dualstack.{Region}.{partitionResult#dnsSuffix}"),(0,d.Z)(Qm,on,oa),(0,d.Z)(Qm,sn,{}),Qm),PT=((0,d.Z)(Jm={},ft,[wr,ur,Pi,ir,Tr,(Lb={},(0,d.Z)(Lb,Ye,nn),(0,d.Z)(Lb,Je,[(Zb={},(0,d.Z)(Zb,Ye,Kr),(0,d.Z)(Zb,Je,[(0,d.Z)({},kt,"url"),"isIp"]),Zb),!0]),Lb),(jb={},(0,d.Z)(jb,Ye,mn),(0,d.Z)(jb,Je,[(0,d.Z)({},kt,"Region"),"aws-global"]),jb)]),(0,d.Z)(Jm,Dt,((0,d.Z)(Ym={},an,"{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}"),(0,d.Z)(Ym,on,(0,d.Z)({},Fn,[(Sd={},(0,d.Z)(Sd,Mn,!0),(0,d.Z)(Sd,kn,"sigv4"),(0,d.Z)(Sd,Nn,Ln),(0,d.Z)(Sd,Zn,"us-east-1"),Sd)])),(0,d.Z)(Ym,sn,{}),Ym)),(0,d.Z)(Jm,Oe,Dt),Jm),AT=((0,d.Z)(Ub={},Ye,nn),(0,d.Z)(Ub,Je,[($b={},(0,d.Z)($b,Ye,Kr),(0,d.Z)($b,Je,[(0,d.Z)({},kt,"url"),"isIp"]),$b),!0]),Ub),NP=(0,d.Z)({},kt,"url"),kT=((0,d.Z)(th={},ft,[wr,ur,Pi,ir,Tr,(Gb={},(0,d.Z)(Gb,Ye,nn),(0,d.Z)(Gb,Je,[(zb={},(0,d.Z)(zb,Ye,Kr),(0,d.Z)(zb,Je,[NP,"isIp"]),zb),!1]),Gb),(Hb={},(0,d.Z)(Hb,Ye,mn),(0,d.Z)(Hb,Je,[(0,d.Z)({},kt,"Region"),"aws-global"]),Hb)]),(0,d.Z)(th,Dt,((0,d.Z)(eh={},an,"{url#scheme}://{Bucket}.{url#authority}{url#path}"),(0,d.Z)(eh,on,(0,d.Z)({},Fn,[(Ed={},(0,d.Z)(Ed,Mn,!0),(0,d.Z)(Ed,kn,"sigv4"),(0,d.Z)(Ed,Nn,Ln),(0,d.Z)(Ed,Zn,"us-east-1"),Ed)])),(0,d.Z)(eh,sn,{}),eh)),(0,d.Z)(th,Oe,Dt),th),RT=((0,d.Z)(Kb={},Ye,nn),(0,d.Z)(Kb,Je,[(qb={},(0,d.Z)(qb,Ye,Kr),(0,d.Z)(qb,Je,[NP,"isIp"]),qb),!1]),Kb),VP=((0,d.Z)(nh={},an,"{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}"),(0,d.Z)(nh,on,oa),(0,d.Z)(nh,sn,{}),nh),BP=((0,d.Z)(rh={},an,"{url#scheme}://{Bucket}.{url#authority}{url#path}"),(0,d.Z)(rh,on,oa),(0,d.Z)(rh,sn,{}),rh),DT=((0,d.Z)(Wb={},Dt,BP),(0,d.Z)(Wb,Oe,Dt),Wb),TT=((0,d.Z)(ah={},ft,[wr,ur,Po,jn,(Xb={},(0,d.Z)(Xb,Ye,mn),(0,d.Z)(Xb,Je,[(0,d.Z)({},kt,"Region"),"aws-global"]),Xb)]),(0,d.Z)(ah,Dt,((0,d.Z)(ih={},an,"https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}"),(0,d.Z)(ih,on,(0,d.Z)({},Fn,[(Pd={},(0,d.Z)(Pd,Mn,!0),(0,d.Z)(Pd,kn,"sigv4"),(0,d.Z)(Pd,Nn,Ln),(0,d.Z)(Pd,Zn,"us-east-1"),Pd)])),(0,d.Z)(ih,sn,{}),ih)),(0,d.Z)(ah,Oe,Dt),ah),ZP=((0,d.Z)(oh={},an,"https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}"),(0,d.Z)(oh,on,oa),(0,d.Z)(oh,sn,{}),oh),IT=((0,d.Z)(uh={},ft,[wr,ur,Pi,jn,(Qb={},(0,d.Z)(Qb,Ye,mn),(0,d.Z)(Qb,Je,[(0,d.Z)({},kt,"Region"),"aws-global"]),Qb)]),(0,d.Z)(uh,Dt,((0,d.Z)(sh={},an,iT),(0,d.Z)(sh,on,(0,d.Z)({},Fn,[(Ad={},(0,d.Z)(Ad,Mn,!0),(0,d.Z)(Ad,kn,"sigv4"),(0,d.Z)(Ad,Nn,Ln),(0,d.Z)(Ad,Zn,"us-east-1"),Ad)])),(0,d.Z)(sh,sn,{}),sh)),(0,d.Z)(uh,Oe,Dt),uh),OT=((0,d.Z)(lh={},an,"https://{Bucket}.s3.{Region}.{partitionResult#dnsSuffix}"),(0,d.Z)(lh,on,oa),(0,d.Z)(lh,sn,{}),lh),eE=((0,d.Z)(Yb={},ln,"Invalid region: region was not a valid DNS name."),(0,d.Z)(Yb,Oe,ln),Yb),Oa=(0,d.Z)({},kt,aT),FT=(0,d.Z)({},kt,oT),LP=((0,d.Z)(Jb={},Ye,Kr),(0,d.Z)(Jb,Je,[Oa,"service"]),Jb),jP=(0,d.Z)({},kt,OP),MT=((0,d.Z)(ch={},ft,[Nr]),(0,d.Z)(ch,ln,"S3 Object Lambda does not support Dual-stack"),(0,d.Z)(ch,Oe,ln),ch),NT=((0,d.Z)(dh={},ft,[Po]),(0,d.Z)(dh,ln,"S3 Object Lambda does not support S3 Accelerate"),(0,d.Z)(dh,Oe,ln),dh),VT=((0,d.Z)(ph={},ft,[(eC={},(0,d.Z)(eC,Ye,Xa),(0,d.Z)(eC,Je,[(0,d.Z)({},kt,"DisableAccessPoints")]),eC),(tC={},(0,d.Z)(tC,Ye,nn),(0,d.Z)(tC,Je,[(0,d.Z)({},kt,"DisableAccessPoints"),!0]),tC)]),(0,d.Z)(ph,ln,"Access points are not supported for this operation"),(0,d.Z)(ph,Oe,ln),ph),$P=((0,d.Z)(fh={},ft,[(nC={},(0,d.Z)(nC,Ye,Xa),(0,d.Z)(nC,Je,[(0,d.Z)({},kt,"UseArnRegion")]),nC),(rC={},(0,d.Z)(rC,Ye,nn),(0,d.Z)(rC,Je,[(0,d.Z)({},kt,"UseArnRegion"),!1]),rC),(oC={},(0,d.Z)(oC,Ye,ni),(0,d.Z)(oC,Je,[(aC={},(0,d.Z)(aC,Ye,mn),(0,d.Z)(aC,Je,[(iC={},(0,d.Z)(iC,Ye,Kr),(0,d.Z)(iC,Je,[Oa,"region"]),iC),"{Region}"]),aC)]),oC)]),(0,d.Z)(fh,ln,"Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`"),(0,d.Z)(fh,Oe,ln),fh),UP=((0,d.Z)(sC={},Ye,Kr),(0,d.Z)(sC,Je,[(0,d.Z)({},kt,"bucketPartition"),kn]),sC),BT=((0,d.Z)(uC={},Ye,Kr),(0,d.Z)(uC,Je,[Oa,"accountId"]),uC),ZT=((0,d.Z)(mh={},ft,[Gr,(lC={},(0,d.Z)(lC,Ye,mn),(0,d.Z)(lC,Je,[UP,"aws-cn"]),lC)]),(0,d.Z)(mh,ln,"Partition does not support FIPS"),(0,d.Z)(mh,Oe,ln),mh),zP=(0,d.Z)({},Fn,[(kd={},(0,d.Z)(kd,Mn,!0),(0,d.Z)(kd,kn,"sigv4"),(0,d.Z)(kd,Nn,IP),(0,d.Z)(kd,Zn,"{bucketArn#region}"),kd)]),LT=((0,d.Z)(cC={},ln,"Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointName}`"),(0,d.Z)(cC,Oe,ln),cC),GP=((0,d.Z)(dC={},ln,"Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`"),(0,d.Z)(dC,Oe,ln),dC),HP=((0,d.Z)(pC={},ln,"Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)"),(0,d.Z)(pC,Oe,ln),pC),qP=((0,d.Z)(fC={},ln,"Client was configured for partition `{partitionResult#name}` but ARN (`{Bucket}`) has `{bucketPartition#name}`"),(0,d.Z)(fC,Oe,ln),fC),jT=((0,d.Z)(mC={},ln,"Could not load partition for ARN region `{bucketArn#region}`"),(0,d.Z)(mC,Oe,ln),mC),$T=((0,d.Z)(hC={},ln,"Invalid ARN: The ARN may only contain a single resource component after `accesspoint`."),(0,d.Z)(hC,Oe,ln),hC),UT=((0,d.Z)(gC={},ln,"Invalid ARN: bucket ARN is missing a region"),(0,d.Z)(gC,Oe,ln),gC),zT=((0,d.Z)(vC={},ln,"Invalid ARN: Expected a resource of the format `accesspoint:<accesspoint name>` but no name was provided"),(0,d.Z)(vC,Oe,ln),vC),Uy=(0,d.Z)({},Fn,[(Rd={},(0,d.Z)(Rd,Mn,!0),(0,d.Z)(Rd,kn,"sigv4"),(0,d.Z)(Rd,Nn,Ln),(0,d.Z)(Rd,Zn,"{bucketArn#region}"),Rd)]),GT=(0,d.Z)({},Fn,[(Dd={},(0,d.Z)(Dd,Mn,!0),(0,d.Z)(Dd,kn,"sigv4"),(0,d.Z)(Dd,Nn,DP),(0,d.Z)(Dd,Zn,"{bucketArn#region}"),Dd)]),HT=(0,d.Z)({},kt,"UseObjectLambdaEndpoint"),KP=(0,d.Z)({},Fn,[(Td={},(0,d.Z)(Td,Mn,!0),(0,d.Z)(Td,kn,"sigv4"),(0,d.Z)(Td,Nn,IP),(0,d.Z)(Td,Zn,"{Region}"),Td)]),qT=((0,d.Z)(gh={},ft,[Gr,Nr,ir,Tr,(yC={},(0,d.Z)(yC,Ye,mn),(0,d.Z)(yC,Je,[(0,d.Z)({},kt,"Region"),"aws-global"]),yC)]),(0,d.Z)(gh,Dt,((0,d.Z)(hh={},an,xl),(0,d.Z)(hh,on,(0,d.Z)({},Fn,[(Id={},(0,d.Z)(Id,Mn,!0),(0,d.Z)(Id,kn,"sigv4"),(0,d.Z)(Id,Nn,Ln),(0,d.Z)(Id,Zn,"us-east-1"),Id)])),(0,d.Z)(hh,sn,{}),hh)),(0,d.Z)(gh,Oe,Dt),gh),KT=((0,d.Z)(_C={},Dt,((0,d.Z)(vh={},an,xl),(0,d.Z)(vh,on,oa),(0,d.Z)(vh,sn,{}),vh)),(0,d.Z)(_C,Oe,Dt),_C),zy=((0,d.Z)(yh={},an,xl),(0,d.Z)(yh,on,oa),(0,d.Z)(yh,sn,{}),yh),WT=((0,d.Z)(xh={},ft,[Gr,Nr,jn,(xC={},(0,d.Z)(xC,Ye,mn),(0,d.Z)(xC,Je,[(0,d.Z)({},kt,"Region"),"aws-global"]),xC)]),(0,d.Z)(xh,Dt,((0,d.Z)(_h={},an,"https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}"),(0,d.Z)(_h,on,(0,d.Z)({},Fn,[(Od={},(0,d.Z)(Od,Mn,!0),(0,d.Z)(Od,kn,"sigv4"),(0,d.Z)(Od,Nn,Ln),(0,d.Z)(Od,Zn,"us-east-1"),Od)])),(0,d.Z)(_h,sn,{}),_h)),(0,d.Z)(xh,Oe,Dt),xh),XT=((0,d.Z)(bh={},an,"https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}"),(0,d.Z)(bh,on,oa),(0,d.Z)(bh,sn,{}),bh),QT=((0,d.Z)(wh={},ft,[Gr,wr,ir,Tr,(bC={},(0,d.Z)(bC,Ye,mn),(0,d.Z)(bC,Je,[(0,d.Z)({},kt,"Region"),"aws-global"]),bC)]),(0,d.Z)(wh,Dt,((0,d.Z)(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d.Z)(ZC,Ye,Xa),(0,d.Z)(ZC,Je,[(BC={},(0,d.Z)(BC,Ye,Kr),(0,d.Z)(BC,Je,[Oa,"resourceId[2]"]),BC)]),ZC)]),LC)],_8=[Oa,"resourceId[2]"],YP=[(Zh={},(0,d.Z)(Zh,Ye,jy),(0,d.Z)(Zh,Je,[(jC={},(0,d.Z)(jC,Ye,Kr),(0,d.Z)(jC,Je,[Oa,"region"]),jC)]),(0,d.Z)(Zh,Ii,"bucketPartition"),Zh)],h3=[(UC={},(0,d.Z)(UC,Ye,mn),(0,d.Z)(UC,Je,[UP,($C={},(0,d.Z)($C,Ye,Kr),(0,d.Z)($C,Je,[(0,d.Z)({},kt,"partitionResult"),kn]),$C)]),UC)],JP=[(GC={},(0,d.Z)(GC,Ye,_l),(0,d.Z)(GC,Je,[(zC={},(0,d.Z)(zC,Ye,Kr),(0,d.Z)(zC,Je,[Oa,"region"]),zC),!0]),GC)],eA=[(HC={},(0,d.Z)(HC,Ye,_l),(0,d.Z)(HC,Je,[BT,!1]),HC)],g3=[(qC={},(0,d.Z)(qC,Ye,_l),(0,d.Z)(qC,Je,[jP,!1]),qC)],nE=[Gr],v3=[(KC={},(0,d.Z)(KC,Ye,_l),(0,d.Z)(KC,Je,[(0,d.Z)({},kt,"Region"),!0]),KC)],tA=[KT],b8=(0,d.Z)({version:"1.0",parameters:{Bucket:FP,Region:FP,UseFIPS:$y,UseDualStack:$y,Endpoint:FP,ForcePathStyle:YS,Accelerate:$y,UseGlobalEndpoint:$y,UseObjectLambdaEndpoint:YS,DisableAccessPoints:YS,DisableMultiRegionAccessPoints:$y,UseArnRegion:YS}},bt,[(XS={},(0,d.Z)(XS,Oe,Ct),(0,d.Z)(XS,bt,[(Zy={},(0,d.Z)(Zy,ft,[(WC={},(0,d.Z)(WC,Ye,Xa),(0,d.Z)(WC,Je,tE),WC)]),(0,d.Z)(Zy,Oe,Ct),(0,d.Z)(Zy,bt,[(WS={},(0,d.Z)(WS,Oe,Ct),(0,d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0,d.Z)(Kh,on,JS),(0,d.Z)(Kh,sn,xi),Kh)},Oe,Dt)]),Wh),(eg={},(0,d.Z)(eg,ft,[(YC={},(0,d.Z)(YC,Ye,mn),(0,d.Z)(YC,Je,[mT,"o"]),YC)]),(0,d.Z)(eg,Oe,Ct),(0,d.Z)(eg,bt,[(Yh={},(0,d.Z)(Yh,ft,u3),(0,d.Z)(Yh,Oe,Ct),(0,d.Z)(Yh,bt,[hT,(Qh={},(0,d.Z)(Qh,ft,Gy),(0,d.Z)(Qh,"endpoint",(Xh={},(0,d.Z)(Xh,an,"https://{Bucket}.op-{outpostId}.{url#authority}"),(0,d.Z)(Xh,on,JS),(0,d.Z)(Xh,sn,xi),Xh)),(0,d.Z)(Qh,Oe,Dt),Qh)]),Yh),(0,d.Z)({endpoint:(Jh={},(0,d.Z)(Jh,an,"https://{Bucket}.op-{outpostId}.s3-outposts.{Region}.{regionPartition#dnsSuffix}"),(0,d.Z)(Jh,on,JS),(0,d.Z)(Jh,sn,xi),Jh)},Oe,Dt)]),eg),(0,d.Z)({error:'Unrecognized hardware type: "Expected hardware type o or e but got {hardwareType}"'},Oe,ln)]),JC)]),tg),(0,d.Z)({error:"Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`."},Oe,ln)]),ng),(uy={},(0,d.Z)(uy,ft,l3),(0,d.Z)(uy,Oe,Ct),(0,d.Z)(uy,bt,[(rg={},(0,d.Z)(rg,ft,[ir,(nw={},(0,d.Z)(nw,Ye,ni),(0,d.Z)(nw,Je,[(tw={},(0,d.Z)(tw,Ye,Xa),(0,d.Z)(tw,Je,[(ew={},(0,d.Z)(ew,Ye,tT),(0,d.Z)(ew,Je,g8),ew)]),tw)]),nw)]),(0,d.Z)(rg,"error","Custom endpoint `{Endpoint}` was not a valid URI"),(0,d.Z)(rg,Oe,ln),rg),(VS={},(0,d.Z)(VS,Oe,Ct),(0,d.Z)(VS,bt,[(ag={},(0,d.Z)(ag,ft,[(rw={},(0,d.Z)(rw,Ye,Xa),(0,d.Z)(rw,Je,[gT]),rw),(iw={},(0,d.Z)(iw,Ye,nn),(0,d.Z)(iw,Je,[gT,es]),iw)]),(0,d.Z)(ag,Oe,Ct),(0,d.Z)(ag,bt,[(aw={},(0,d.Z)(aw,Oe,Ct),(0,d.Z)(aw,bt,[(ig={},(0,d.Z)(ig,ft,c3),(0,d.Z)(ig,"error","Path-style addressing cannot be used with ARN buckets"),(0,d.Z)(ig,Oe,ln),ig),vT]),aw)]),ag),(Fg={},(0,d.Z)(Fg,ft,[(ow={},(0,d.Z)(ow,Ye,rT),(0,d.Z)(ow,Je,[ts,!1]),ow)]),(0,d.Z)(Fg,Oe,Ct),(0,d.Z)(Fg,bt,[(Og={},(0,d.Z)(Og,ft,Cl),(0,d.Z)(Og,Oe,Ct),(0,d.Z)(Og,bt,[(mw={},(0,d.Z)(mw,Oe,Ct),(0,d.Z)(mw,bt,[(Ig={},(0,d.Z)(Ig,ft,d3),(0,d.Z)(Ig,Oe,Ct),(0,d.Z)(Ig,bt,[(fw={},(0,d.Z)(fw,Oe,Ct),(0,d.Z)(fw,bt,[MP,(pw={},(0,d.Z)(pw,Oe,Ct),(0,d.Z)(pw,bt,[(og={},(0,d.Z)(og,ft,[Po,Gr]),(0,d.Z)(og,"error","Accelerate cannot be used with FIPS"),(0,d.Z)(og,Oe,ln),og),(dw={},(0,d.Z)(dw,Oe,Ct),(0,d.Z)(dw,bt,[(sg={},(0,d.Z)(sg,ft,[Po,m8]),(0,d.Z)(sg,"error","S3 Accelerate cannot be used in this region"),(0,d.Z)(sg,Oe,ln),sg),(cw={},(0,d.Z)(cw,Oe,Ct),(0,d.Z)(cw,bt,[(ug={},(0,d.Z)(ug,ft,[ir,Nr]),(0,d.Z)(ug,"error",TP),(0,d.Z)(ug,Oe,ln),ug),(lw={},(0,d.Z)(lw,Oe,Ct),(0,d.Z)(lw,bt,[(lg={},(0,d.Z)(lg,ft,[ir,Gr]),(0,d.Z)(lg,"error",TP),(0,d.Z)(lg,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ct),(0,d.Z)(Kg,bt,[(Aw={},(0,d.Z)(Aw,Oe,Ct),(0,d.Z)(Aw,bt,[(Lg={},(0,d.Z)(Lg,ft,[(Cw={},(0,d.Z)(Cw,Ye,mn),(0,d.Z)(Cw,Je,[BT,""]),Cw)]),(0,d.Z)(Lg,"error","Invalid ARN: Missing account id"),(0,d.Z)(Lg,Oe,ln),Lg),(Pw={},(0,d.Z)(Pw,Oe,Ct),(0,d.Z)(Pw,bt,[(qg={},(0,d.Z)(qg,ft,eA),(0,d.Z)(qg,Oe,Ct),(0,d.Z)(qg,bt,[(Ew={},(0,d.Z)(Ew,Oe,Ct),(0,d.Z)(Ew,bt,[(Hg={},(0,d.Z)(Hg,ft,g3),(0,d.Z)(Hg,Oe,Ct),(0,d.Z)(Hg,bt,[(Sw={},(0,d.Z)(Sw,Oe,Ct),(0,d.Z)(Sw,bt,[ZT,(ww={},(0,d.Z)(ww,Oe,Ct),(0,d.Z)(ww,bt,[($g={},(0,d.Z)($g,ft,Gy),(0,d.Z)($g,"endpoint",(jg={},(0,d.Z)(jg,an,uT),(0,d.Z)(jg,on,zP),(0,d.Z)(jg,sn,xi),jg)),(0,d.Z)($g,Oe,Dt),$g),(zg={},(0,d.Z)(zg,ft,nE),(0,d.Z)(zg,"endpoint",(Ug={},(0,d.Z)(Ug,an,"https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}"),(0,d.Z)(Ug,on,zP),(0,d.Z)(Ug,sn,xi),Ug)),(0,d.Z)(zg,Oe,Dt),zg),(0,d.Z)({endpoint:(Gg={},(0,d.Z)(Gg,an,"https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda.{bucketArn#region}.{bucketPartition#dnsSuffix}"),(0,d.Z)(Gg,on,zP),(0,d.Z)(Gg,sn,xi),Gg)},Oe,Dt)]),ww)]),Sw)]),Hg),LT]),Ew)]),qg),GP]),Pw)]),Aw)]),Kg),HP]),kw)]),Wg),qP]),Rw)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w,Je,[UP,"{partitionResult#name}"]),Zw)]),(0,d.Z)(_v,Oe,Ct),(0,d.Z)(_v,bt,[(Kw={},(0,d.Z)(Kw,Oe,Ct),(0,d.Z)(Kw,bt,[(yv={},(0,d.Z)(yv,ft,JP),(0,d.Z)(yv,Oe,Ct),(0,d.Z)(yv,bt,[(qw={},(0,d.Z)(qw,Oe,Ct),(0,d.Z)(qw,bt,[(vv={},(0,d.Z)(vv,ft,[(Lw={},(0,d.Z)(Lw,Ye,mn),(0,d.Z)(Lw,Je,[LP,Ln]),Lw)]),(0,d.Z)(vv,Oe,Ct),(0,d.Z)(vv,bt,[(Hw={},(0,d.Z)(Hw,Oe,Ct),(0,d.Z)(Hw,bt,[(gv={},(0,d.Z)(gv,ft,eA),(0,d.Z)(gv,Oe,Ct),(0,d.Z)(gv,bt,[(Gw={},(0,d.Z)(Gw,Oe,Ct),(0,d.Z)(Gw,bt,[(hv={},(0,d.Z)(hv,ft,g3),(0,d.Z)(hv,Oe,Ct),(0,d.Z)(hv,bt,[(zw={},(0,d.Z)(zw,Oe,Ct),(0,d.Z)(zw,bt,[(rv={},(0,d.Z)(rv,ft,XP),(0,d.Z)(rv,"error","Access Points do not support S3 Accelerate"),(0,d.Z)(rv,Oe,ln),rv),(Uw={},(0,d.Z)(Uw,Oe,Ct),(0,d.Z)(Uw,bt,[ZT,($w={},(0,d.Z)($w,Oe,Ct),(0,d.Z)($w,bt,[(iv={},(0,d.Z)(iv,ft,v8),(0,d.Z)(iv,"error","DualStack cannot be combined with a Host override (PrivateLink)"),(0,d.Z)(iv,Oe,ln),iv),(jw={},(0,d.Z)(jw,Oe,Ct),(0,d.Z)(jw,bt,[(ov={},(0,d.Z)(ov,ft,[Gr,Nr]),(0,d.Z)(ov,"endpoint",(av={},(0,d.Z)(av,an,"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}"),(0,d.Z)(av,on,Uy),(0,d.Z)(av,sn,xi),av)),(0,d.Z)(ov,Oe,Dt),ov),(uv={},(0,d.Z)(uv,ft,[Gr,wr]),(0,d.Z)(uv,"endpoint",(sv={},(0,d.Z)(sv,an,"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}"),(0,d.Z)(sv,on,Uy),(0,d.Z)(sv,sn,xi),sv)),(0,d.Z)(uv,Oe,Dt),uv),(cv={},(0,d.Z)(cv,ft,[ur,Nr]),(0,d.Z)(cv,"endpoint",(lv={},(0,d.Z)(lv,an,"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}"),(0,d.Z)(lv,on,Uy),(0,d.Z)(lv,sn,xi),lv)),(0,d.Z)(cv,Oe,Dt),cv),(pv={},(0,d.Z)(pv,ft,[ur,wr,ir,Tr]),(0,d.Z)(pv,"endpoint",(dv={},(0,d.Z)(dv,an,uT),(0,d.Z)(dv,on,Uy),(0,d.Z)(dv,sn,xi),dv)),(0,d.Z)(pv,Oe,Dt),pv),(mv={},(0,d.Z)(mv,ft,[ur,wr]),(0,d.Z)(mv,"endpoint",(fv={},(0,d.Z)(fv,an,"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.{bucketArn#region}.{bucketPartition#dnsSuffix}"),(0,d.Z)(fv,on,Uy),(0,d.Z)(fv,sn,xi),fv)),(0,d.Z)(mv,Oe,Dt),mv)]),jw)]),$w)]),Uw)]),zw)]),hv),LT]),Gw)]),gv),GP]),Hw)]),vv),(0,d.Z)({error:"Invalid ARN: The ARN was not for the S3 service, found: {bucketArn#service}"},Oe,ln)]),qw)]),yv),HP]),Kw)]),_v),qP]),Ww)]),xv),bl]),Xw)]),bv),jT]),Qw)]),Yw)]),Cv),$T]),Jw)]),eS)]),wv),UT]),Sv)]),Ev),(pS={},(0,d.Z)(pS,Oe,Ct),(0,d.Z)(pS,bt,[(Fv={},(0,d.Z)(Fv,ft,[(tS={},(0,d.Z)(tS,Ye,_l),(0,d.Z)(tS,Je,[jP,es]),tS)]),(0,d.Z)(Fv,Oe,Ct),(0,d.Z)(Fv,bt,[(dS={},(0,d.Z)(dS,Oe,Ct),(0,d.Z)(dS,bt,[(Pv={},(0,d.Z)(Pv,ft,f3),(0,d.Z)(Pv,"error","S3 MRAP does not support dual-stack"),(0,d.Z)(Pv,Oe,ln),Pv),(cS={},(0,d.Z)(cS,Oe,Ct),(0,d.Z)(cS,bt,[(Av={},(0,d.Z)(Av,ft,nE),(0,d.Z)(Av,"error","S3 MRAP does not support FIPS"),(0,d.Z)(Av,Oe,ln),Av),(lS={},(0,d.Z)(lS,Oe,Ct),(0,d.Z)(lS,bt,[(kv={},(0,d.Z)(kv,ft,XP),(0,d.Z)(kv,"error","S3 MRAP does not support S3 Accelerate"),(0,d.Z)(kv,Oe,ln),kv),(uS={},(0,d.Z)(uS,Oe,Ct),(0,d.Z)(uS,bt,[(Rv={},(0,d.Z)(Rv,ft,[(nS={},(0,d.Z)(nS,Ye,nn),(0,d.Z)(nS,Je,[(0,d.Z)({},kt,"DisableMultiRegionAccessPoints"),es]),nS)]),(0,d.Z)(Rv,"error","Invalid configuration: Multi-Region Access Point ARNs are disabled."),(0,d.Z)(Rv,Oe,ln),Rv),(sS={},(0,d.Z)(sS,Oe,Ct),(0,d.Z)(sS,bt,[(Ov={},(0,d.Z)(Ov,ft,[(Dv={},(0,d.Z)(Dv,Ye,jy),(0,d.Z)(Dv,Je,tE),(0,d.Z)(Dv,Ii,lT),Dv)]),(0,d.Z)(Ov,Oe,Ct),(0,d.Z)(Ov,bt,[(oS={},(0,d.Z)(oS,Oe,Ct),(0,d.Z)(oS,bt,[(Iv={},(0,d.Z)(Iv,ft,[(aS={},(0,d.Z)(aS,Ye,mn),(0,d.Z)(aS,Je,[(rS={},(0,d.Z)(rS,Ye,Kr),(0,d.Z)(rS,Je,[(0,d.Z)({},kt,lT),kn]),rS),(iS={},(0,d.Z)(iS,Ye,Kr),(0,d.Z)(iS,Je,[Oa,"partition"]),iS)]),aS)]),(0,d.Z)(Iv,Oe,Ct),(0,d.Z)(Iv,bt,[(0,d.Z)({endpoint:(Tv={},(0,d.Z)(Tv,an,"https://{accessPointName}.accesspoint.s3-global.{mrapPartition#dnsSuffix}"),(0,d.Z)(Tv,on,(0,d.Z)({},Fn,[(Ld={},(0,d.Z)(Ld,Mn,es),(0,d.Z)(Ld,"name","sigv4a"),(0,d.Z)(Ld,Nn,Ln),(0,d.Z)(Ld,"signingRegionSet",["*"]),Ld)])),(0,d.Z)(Tv,sn,xi),Tv)},Oe,Dt)]),Iv),(0,d.Z)({error:"Client was configured for partition `{mrapPartition#name}` but bucket referred to partition `{bucketArn#partition}`"},Oe,ln)]),oS)]),Ov),(0,d.Z)({error:"{Region} was not a valid region"},Oe,ln)]),sS)]),uS)]),lS)]),cS)]),dS)]),Fv),(0,d.Z)({error:"Invalid Access Point Name"},Oe,ln)]),pS)]),fS)]),Mv),zT]),Nv),(ry={},(0,d.Z)(ry,ft,[(mS={},(0,d.Z)(mS,Ye,mn),(0,d.Z)(mS,Je,[LP,DP]),mS)]),(0,d.Z)(ry,Oe,Ct),(0,d.Z)(ry,bt,[(Vv={},(0,d.Z)(Vv,ft,f3),(0,d.Z)(Vv,"error","S3 Outposts does not support Dual-stack"),(0,d.Z)(Vv,Oe,ln),Vv),(IS={},(0,d.Z)(IS,Oe,Ct),(0,d.Z)(IS,bt,[(Bv={},(0,d.Z)(Bv,ft,nE),(0,d.Z)(Bv,"error","S3 Outposts does not support FIPS"),(0,d.Z)(Bv,Oe,ln),Bv),(TS={},(0,d.Z)(TS,Oe,Ct),(0,d.Z)(TS,bt,[(Zv={},(0,d.Z)(Zv,ft,XP),(0,d.Z)(Zv,"error","S3 Outposts does not support S3 Accelerate"),(0,d.Z)(Zv,Oe,ln),Zv),(DS={},(0,d.Z)(DS,Oe,Ct),(0,d.Z)(DS,bt,[(Lv={},(0,d.Z)(Lv,ft,[(gS={},(0,d.Z)(gS,Ye,X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(0,d.Z)(Wv,ft,[($v={},(0,d.Z)($v,Ye,Kr),(0,d.Z)($v,Je,_8),(0,d.Z)($v,Ii,cT),$v)]),(0,d.Z)(Wv,Oe,Ct),(0,d.Z)(Wv,bt,[(xS={},(0,d.Z)(xS,Oe,Ct),(0,d.Z)(xS,bt,[(Kv={},(0,d.Z)(Kv,ft,[(Uv={},(0,d.Z)(Uv,Ye,Kr),(0,d.Z)(Uv,Je,[Oa,"resourceId[3]"]),(0,d.Z)(Uv,Ii,OP),Uv)]),(0,d.Z)(Kv,Oe,Ct),(0,d.Z)(Kv,bt,[(_S={},(0,d.Z)(_S,Oe,Ct),(0,d.Z)(_S,bt,[(qv={},(0,d.Z)(qv,ft,[(vS={},(0,d.Z)(vS,Ye,mn),(0,d.Z)(vS,Je,[(0,d.Z)({},kt,cT),sT]),vS)]),(0,d.Z)(qv,Oe,Ct),(0,d.Z)(qv,bt,[(yS={},(0,d.Z)(yS,Oe,Ct),(0,d.Z)(yS,bt,[(Gv={},(0,d.Z)(Gv,ft,Gy),(0,d.Z)(Gv,"endpoint",(zv={},(0,d.Z)(zv,an,"https://{accessPointName}-{bucketArn#accountId}.{outpostId}.{url#authority}"),(0,d.Z)(zv,on,GT),(0,d.Z)(zv,sn,xi),zv)),(0,d.Z)(Gv,Oe,Dt),Gv),(0,d.Z)({endpoint:(Hv={},(0,d.Z)(Hv,an,"https://{accessPointName}-{bucketArn#accountId}.{outpostId}.s3-outposts.{bucketArn#region}.{bucketPartition#dnsSuffix}"),(0,d.Z)(Hv,on,GT),(0,d.Z)(Hv,sn,xi),Hv)},Oe,Dt)]),yS)]),qv),(0,d.Z)({error:"Expected an outpost type `accesspoint`, found {outpostType}"},Oe,ln)]),_S)]),Kv),(0,d.Z)({error:"Invalid ARN: expected an access point name"},Oe,ln)]),xS)]),Wv),(0,d.Z)({error:"Invalid ARN: Expected a 4-component resource"},Oe,ln)]),bS)]),Xv),GP]),CS)]),Qv),HP]),wS)]),Yv),qP]),SS)]),Jv),bl]),ES)]),ey),(0,d.Z)({error:"Could not load partition for ARN region {bucketArn#region}"},Oe,ln)]),PS)]),AS)]),ty),(0,d.Z)({error:"Invalid ARN: The outpost Id may only contain a-z, A-Z, 0-9 and `-`. Found: `{outpostId}`"},Oe,ln)]),kS)]),ny),(0,d.Z)({error:"Invalid ARN: The Outpost Id was not set"},Oe,ln)]),RS)]),DS)]),TS)]),IS)]),ry),(0,d.Z)({error:"Invalid ARN: Unrecognized format: {Bucket} (type: {arnType})"},Oe,ln)]),OS)]),iy),(0,d.Z)({error:"Invalid ARN: No ARN type specified"},Oe,ln)]),ay),(sy={},(0,d.Z)(sy,ft,[(oy={},(0,d.Z)(oy,Ye,Ly),(0,d.Z)(oy,Je,[ts,0,4,!1]),(0,d.Z)(oy,Ii,dT),oy),(FS={},(0,d.Z)(FS,Ye,mn),(0,d.Z)(FS,Je,[(0,d.Z)({},kt,dT),"arn:"]),FS),(NS={},(0,d.Z)(NS,Ye,ni),(0,d.Z)(NS,Je,[(MS={},(0,d.Z)(MS,Ye,Xa),(0,d.Z)(MS,Je,c3),MS)]),NS)]),(0,d.Z)(sy,"error","Invalid ARN: `{Bucket}` was not a valid ARN"),(0,d.Z)(sy,Oe,ln),sy),vT]),VS)]),uy),(gy={},(0,d.Z)(gy,ft,[(BS={},(0,d.Z)(BS,Ye,Xa),(0,d.Z)(BS,Je,[HT]),BS),(ZS={},(0,d.Z)(ZS,Ye,nn),(0,d.Z)(ZS,Je,[HT,es]),ZS)]),(0,d.Z)(gy,Oe,Ct),(0,d.Z)(gy,bt,[(hy={},(0,d.Z)(hy,ft,Cl),(0,d.Z)(hy,Oe,Ct),(0,d.Z)(hy,bt,[(zS={},(0,d.Z)(zS,Oe,Ct),(0,d.Z)(zS,bt,[(my={},(0,d.Z)(my,ft,v3),(0,d.Z)(my,Oe,Ct),(0,d.Z)(my,bt,[(US={},(0,d.Z)(US,Oe,Ct),(0,d.Z)(US,bt,[MT,($S={},(0,d.Z)($S,Oe,Ct),(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,Tr,xr,aa]),(0,d.Z)(Dy,Oe,Ct),(0,d.Z)(Dy,bt,[(Ry={},(0,d.Z)(Ry,ft,jd),(0,d.Z)(Ry,"endpoint",zy),(0,d.Z)(Ry,Oe,Dt),Ry),KT]),Dy),(Ty={},(0,d.Z)(Ty,ft,[ur,wr,ir,Tr,xr,sa]),(0,d.Z)(Ty,"endpoint",zy),(0,d.Z)(Ty,Oe,Dt),Ty),a3,a3,(Fy={},(0,d.Z)(Fy,ft,[ur,wr,jn,xr,aa]),(0,d.Z)(Fy,Oe,Ct),(0,d.Z)(Fy,bt,[(Oy={},(0,d.Z)(Oy,ft,jd),(0,d.Z)(Oy,"endpoint",(Iy={},(0,d.Z)(Iy,an,pT),(0,d.Z)(Iy,on,oa),(0,d.Z)(Iy,sn,xi),Iy)),(0,d.Z)(Oy,Oe,Dt),Oy),(0,d.Z)({endpoint:o3},Oe,Dt)]),Fy),(My={},(0,d.Z)(My,ft,[ur,wr,jn,xr,sa]),(0,d.Z)(My,"endpoint",o3),(0,d.Z)(My,Oe,Dt),My)]),HS)]),qS)]),Ny),eE]),KS)]),Vy),bl]),By)]),WS)]),Zy),(0,d.Z)({error:"A region must be set when sending requests to S3."},Oe,ln)]),XS)]),C8=function(n){return yD(b8,{endpointParams:n,logger:(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).logger})},E8=function(o){(0,z.Z)(t,o);var n=(0,H.Z)(t);function t(e){var a;(0,f.Z)(this,t);var u=function(n){var t,e,a,s,u;return(0,b.Z)((0,b.Z)({},n),{},{useFipsEndpoint:null!==(t=n.useFipsEndpoint)&&void 0!==t&&t,useDualstackEndpoint:null!==(e=n.useDualstackEndpoint)&&void 0!==e&&e,useAccelerateEndpoint:null!==(a=n.useAccelerateEndpoint)&&void 0!==a&&a,useGlobalEndpoint:null!==(s=n.useGlobalEndpoint)&&void 0!==s&&s,disableMultiregionAccessPoints:null!==(u=n.disableMultiregionAccessPoints)&&void 0!==u&&u,defaultSigningName:"s3"})}(function(n){var t,e,a,s,u,l,c,h,C,T,N,F,$,se,ue,ge,Se,we=HD(n),He=function(){return we().then(jk)},ot=function(n){var t,e,a,s,u,l,c,h,C,T,N,F;return{apiVersion:"2006-03-01",base64Decoder:null!==(t=n?.base64Decoder)&&void 0!==t?t:bP,base64Encoder:null!==(e=n?.base64Encoder)&&void 0!==e?e:CP,disableHostPrefix:null!==(a=n?.disableHostPrefix)&&void 0!==a&&a,endpointProvider:null!==(s=n?.endpointProvider)&&void 0!==s?s:C8,logger:null!==(u=n?.logger)&&void 0!==u?u:new Rk,serviceId:null!==(l=n?.serviceId)&&void 0!==l?l:"S3",signerConstructor:null!==(c=n?.signerConstructor)&&void 0!==c?c:f8,signingEscapePath:null!==(h=n?.signingEscapePath)&&void 0!==h&&h,urlParser:null!==(C=n?.urlParser)&&void 0!==C?C:bn,useArnRegion:null!==(T=n?.useArnRegion)&&void 0!==T&&T,utf8Decoder:null!==(N=n?.utf8Decoder)&&void 0!==N?N:df,utf8Encoder:null!==(F=n?.utf8Encoder)&&void 0!==F?F:q0}}(n);return(0,b.Z)((0,b.Z)((0,b.Z)({},ot),n),{},{runtime:"browser",defaultsMode:we,bodyLengthChecker:null!==(t=n?.bodyLengthChecker)&&void 0!==t?t:ID,credentialDefaultProvider:null!==(e=n?.credentialDefaultProvider)&&void 0!==e?e:function(dt){return function(){return Promise.reject(new Error("Credential is missing"))}},defaultUserAgentProvider:null!==(a=n?.defaultUserAgentProvider)&&void 0!==a?a:FD({serviceId:ot.serviceId,clientVersion:"3.350.0"}),eventStreamSerdeProvider:null!==(s=n?.eventStreamSerdeProvider)&&void 0!==s?s:r8,getAwsChunkedEncodingStream:null!==(u=n?.getAwsChunkedEncodingStream)&&void 0!==u?u:d8,maxAttempts:null!==(l=n?.maxAttempts)&&void 0!==l?l:3,md5:null!==(c=n?.md5)&&void 0!==c?c:u8,region:null!==(h=n?.region)&&void 0!==h?h:TD("Region is missing"),requestHandler:null!==(C=n?.requestHandler)&&void 0!==C?C:new wD(He),retryMode:null!==(T=n?.retryMode)&&void 0!==T?T:Zt((0,qe.Z)().mark(function dt(){return(0,qe.Z)().wrap(function(pt){for(;;)switch(pt.prev=pt.next){case 0:return pt.next=2,He();case 2:if(pt.t0=pt.sent.retryMode,pt.t0){pt.next=5;break}pt.t0=uP;case 5:return pt.abrupt("return",pt.t0);case 6:case"end":return pt.stop()}},dt)})),sdkStreamMixin:null!==(N=n?.sdkStreamMixin)&&void 0!==N?N:p8,sha1:null!==(F=n?.sha1)&&void 0!==F?F:WZ.Sha1,sha256:null!==($=n?.sha256)&&void 0!==$?$:XZ.Sha256,streamCollector:null!==(se=n?.streamCollector)&&void 0!==se?se:wP,streamHasher:null!==(ue=n?.streamHasher)&&void 0!==ue?ue:a8,useDualstackEndpoint:null!==(ge=n?.useDualstackEndpoint)&&void 0!==ge?ge:function(){return Promise.resolve(!1)},useFipsEndpoint:null!==(Se=n?.useFipsEndpoint)&&void 0!==Se?Se:function(){return Promise.resolve(!1)}})}(e)),l=xR(u),c=nr(l),h=MR(c),N=function(n){var t,e,a;return(0,b.Z)((0,b.Z)({},n),{},{forcePathStyle:null!==(t=n.forcePathStyle)&&void 0!==t&&t,useAccelerateEndpoint:null!==(e=n.useAccelerateEndpoint)&&void 0!==e&&e,disableMultiregionAccessPoints:null!==(a=n.disableMultiregionAccessPoints)&&void 0!==a&&a})}(eD(h)),$=function(n){return(0,b.Z)((0,b.Z)({},n),{},{eventStreamMarshaller:n.eventStreamSerdeProvider(n)})}(aD(N));return(a=n.call(this,$)).config=$,a.middlewareStack.use(NR(a.config)),a.middlewareStack.use(CR(a.config)),a.middlewareStack.use(wR(a.config)),a.middlewareStack.use(SR()),a.middlewareStack.use(PR(a.config)),a.middlewareStack.use(function(n){return{applyToStack:function(e){e.addRelativeTo(function(n){return function(t,e){return function(){var a=Zt((0,qe.Z)().mark(function s(u){var l,c,h,C,T,N,F,$,se;return(0,qe.Z)().wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:if(rr.isInstance(u.request)){ge.next=2;break}return ge.abrupt("return",t(u));case 2:return T=null===(l=e.endpointV2)||void 0===l||null===(c=l.properties)||void 0===c||null===(h=c.authSchemes)||void 0===h?void 0:h[0],N="sigv4a"===T?.name?null==T||null===(C=T.signingRegionSet)||void 0===C?void 0:C.join(","):void 0,ge.next=6,n.signer(T);case 6:return F=ge.sent,ge.t0=t,ge.t1=b.Z,ge.t2=(0,b.Z)({},u),ge.t3={},ge.next=13,F.sign(u.request,{signingDate:nD(n.systemClockOffset),signingRegion:N||e.signing_region,signingService:e.signing_service});case 13:return ge.t4=ge.sent,ge.t5={request:ge.t4},ge.t6=(0,ge.t1)(ge.t2,ge.t3,ge.t5),ge.next=18,(0,ge.t0)(ge.t6).catch(function(Se){var we,He=null!==(we=Se.ServerTime)&&void 0!==we?we:iD(Se.$response);throw He&&(n.systemClockOffset=rD(He,n.systemClockOffset)),Se});case 18:return(se=iD(($=ge.sent).response))&&(n.systemClockOffset=rD(se,n.systemClockOffset)),ge.abrupt("return",$);case 22:case"end":return ge.stop()}},s)}));return function(s){return a.apply(this,arguments)}}()}}(n),WB)}}}(a.config)),a.middlewareStack.use({applyToStack:function(e){e.add(function IF(){return function(o){return function(){var n=Zt((0,qe.Z)().mark(function t(e){var a,s;return(0,qe.Z)().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:if("string"!=typeof(a=e.input.Bucket)||TF(a)||!(a.indexOf("/")>=0)){l.next=5;break}throw(s=new Error("Bucket name shouldn't contain '/', received '".concat(a,"'"))).name="InvalidBucketName",s;case 5:return l.abrupt("return",o((0,b.Z)({},e)));case 6:case"end":return l.stop()}},t)}));return function(t){return n.apply(this,arguments)}}()}}(),OF)}}),a.middlewareStack.use(function(n){return{applyToStack:function(e){e.add(function zZ(o){return function(n){return function(){var t=Zt((0,qe.Z)().mark(function e(a){var s;return(0,qe.Z)().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return rr.isInstance(s=a.request)&&s.body&&"node"===o.runtime&&(s.headers=(0,b.Z)((0,b.Z)({},s.headers),{},{Expect:"100-continue"})),l.abrupt("return",n((0,b.Z)((0,b.Z)({},a),{},{request:s})));case 3:case"end":return l.stop()}},e)}));return function(e){return t.apply(this,arguments)}}()}}(n),GZ)}}}(a.config)),a.middlewareStack.use(CD(a.config)),a}return(0,y.Z)(t,[{key:"destroy",value:function(){(0,Et.Z)((0,Ee.Z)(t.prototype),"destroy",this).call(this)}}]),t}(Ok),P8=function(){var o=(0,y.Z)(function n(){(0,f.Z)(this,n)});return o.\u0275fac=function(t){return new(t||o)},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-mediafile-pane-renderer"]],decls:1,vars:0,template:function(t,e){1&t&&r.\u0275\u0275text(0,"Media File")}}),o}(),y3=function(){var o=(0,y.Z)(function n(t){(0,f.Z)(this,n),t.register(new pn.ContentPlugin({id:"media_file",title:"Media File",selectionComponent:void 0,editorComponent:void 0,renderComponent:P8,handler:void 0}))});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(pn.ContentPluginManager))},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({imports:[P.CommonModule]}),o}(),rE=new r.InjectionToken("Media Settings"),k8=(0,y.Z)(function o(n){(0,f.Z)(this,o),n&&(this.endpointUrl=n.endpointUrl,this.cloudinaryUrl=n.cloudinaryUrl,this.uploadPreset=n.uploadPreset,this.imageUrl=n.imageUrl,this.bucket=n.bucket,this.prefix=n.prefix)}),nA=(0,y.Z)(function o(n){(0,f.Z)(this,o),n&&(this.id=n.id,this.contentType=n.contentType,this.contentDisposition=n.contentDisposition,this.path=n.path,this.fileName=n.fileName,this.length=n.length,this.extension=n.extension?n.extension:void 0,this.realPath=n.realPath&&""!==n.realPath?n.realPath:void 0)}),iE=function(){var o=function(){function n(t,e,a,s){(0,f.Z)(this,n),this.settings=t,this.cognitoSettings=e,this.http=a,this.authFacade=s}return(0,y.Z)(n,[{key:"bulkUpload",value:function(e){var a=this,u=e.fileNameOverride,c=[];return e.files.forEach(function(h){if(h){var C=new FormData;C.append("File",h,u||h.name),c.push(a.http.post(a.settings.endpointUrl,C).pipe((0,si.K)(function(T){return(0,$a._)(new Error("Error uploading images."))})))}}),c.length>0?(0,$n.D)(c):(0,Le.of)([])}},{key:"bulkUploadS3",value:function(e){var a=this,u=e.fileNameOverride,l=e.nocache,c=[];return e.files.forEach(function(h){h&&c.push(new W.y(function(C){var T=u||vr(),N=h.name.split(".",2),se=(0,g.Z)(N,2)[1],ue=T+(se?"."+se:"");new OV({client:a.buildClient(),params:(0,b.Z)({Bucket:a.settings.bucket,Key:a.settings.prefix+ue,Body:h,ContentType:h.type},l?{CacheControl:"no-cache"}:{})}).done().then(function(){C.next(new nA({id:T,contentType:h.type,contentDisposition:"",path:ue,realPath:a.settings.prefix+ue,length:h.size,fileName:h.name,extension:se&&""!==se?se:void 0})),C.complete()})}))}),c.length>0?(0,$n.D)(c):(0,Le.of)([])}},{key:"convertToFiles",value:function(e){var a=this,s=e.map(function(u){return new W.y(function(l){fetch("".concat(a.settings.imageUrl,"/").concat(u.path)).then(function(c){c.blob().then(function(h){new Promise(function(C){var T=new FileReader;T.onload=function(){return C(T.result)},T.readAsDataURL(h)}).then(function(C){var T=a.convertDataURIToBinary(C),N=new File([T],u.fileName,{type:u.contentType});l.next(N),l.complete()})})})})});return(0,$n.D)(s)}},{key:"convertDataURIToBinary",value:function(e){for(var s=e.indexOf(";base64,")+8,u=e.substring(s),l=window.atob(u),c=l.length,h=new Uint8Array(new ArrayBuffer(c)),C=0;C<c;C++)h[C]=l.charCodeAt(C);return h}},{key:"buildClient",value:function(){var e=this;return new E8({region:this.cognitoSettings.region,credentials:oP({client:new AP({region:this.cognitoSettings.region}),identityPoolId:this.cognitoSettings.identityPoolId,logins:(0,d.Z)({},"cognito-idp.".concat(this.cognitoSettings.region,".amazonaws.com/").concat(this.cognitoSettings.userPoolId),function(){return Rc(e.authFacade.getUser$.pipe((0,Ce.U)(function(s){return s?s.id_token:void 0})))})})})}},{key:"isImage",value:function(e){var a=e.file;return a.type&&0===a.type.indexOf("image/")}},{key:"isVideo",value:function(e){var a=e.file;return a.type&&0===a.type.indexOf("video/")}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(rE),r.\u0275\u0275inject(Dc),r.\u0275\u0275inject(O.HttpClient),r.\u0275\u0275inject(_i))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),Vn=S(8154),Nt=S(68488),Hy=function(){var o=(0,y.Z)(function n(){(0,f.Z)(this,n)});return o.\u0275fac=function(t){return new(t||o)},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({imports:[P.CommonModule]}),o}(),Pr=function(){var o=function(){function n(){(0,f.Z)(this,n)}return(0,y.Z)(n,[{key:"generateTokens",value:function(e){var a=new Map;return this.attributeTokens(e,a,"",0),a}},{key:"generateGenericTokens",value:function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",s=new Map;return this.genericTokens(e,s,a,0),s}},{key:"attributeTokens",value:function(e,a,s,u){var l=this;e.forEach(function(c,h){if("widget"!==c.name)for(var C in c)c.type===Nt.AttributeTypes.Complex||"attributes"===C&&c.attributes&&c.attributes.length>0?l.attributeTokens(c.attributes,a,c.type===Nt.AttributeTypes.Complex?"".concat(s):"".concat(s,".").concat(c.name),u+1):"attributes"!==C&&a.set(C===c.name?"".concat(s,".").concat(C):"".concat(s,".").concat(c.name,".").concat(C),c[C])})}},{key:"genericTokens",value:function(e,a,s,u){for(var l in e)if("object"!=typeof e[l])a.set("".concat(s,".").concat(l),e[l]);else if(Array.isArray(e[l])&&"attributes"===l)this.attributeTokens(e[l],a,"".concat(s,".").concat(l),u+1);else if(Array.isArray(e[l]))for(var h=e[l].length,C=0;C<h;C++)this.genericTokens(e[l][C],a,"".concat(s,".").concat(l,".").concat(C),u+1);else this.genericTokens(e[l],a,"".concat(s,".").concat(l),u+1)}},{key:"replaceTokens",value:function(e,a){return a&&a.forEach(function(s,u){e=e.replace("[".concat(u,"]"),"".concat(s))}),e}},{key:"matchTokens",value:function(e,a){for(var s=[],u=a.length,l=0;l<u;l++)e.indexOf("[".concat(a[l],"]"))>-1&&s.push(a[l]);return s}},{key:"discoverTokens",value:function(e){var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=e.match(/(\[(?:\[??[^\[]*?\]))/g);return null===s?[]:s.reduce(function(l,c){if(-1!==c.indexOf(" ")||-1===c.indexOf("."))return l;var h=1===c.indexOf(".")?["."]:c.substr(1,c.length-2).split("."),T=(0,g.Z)(h,1)[0];return-1!==l.findIndex(function(N){return N===T})?l:[].concat((0,_.Z)(l),[a?c.substr(1,c.length-2):T])},[])}}]),n}();return o.\u0275fac=function(t){return new(t||o)},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),Oi=S(69490),Ar=S(71989),R8=["gutterEls"];function D8(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"div",2,3),r.\u0275\u0275listener("keydown",function(c){r.\u0275\u0275restoreView(t);var h=r.\u0275\u0275nextContext().index,C=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(C.startKeyboardDrag(c,2*h+1,h+1))})("mousedown",function(c){r.\u0275\u0275restoreView(t);var h=r.\u0275\u0275nextContext().index,C=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(C.startMouseDrag(c,2*h+1,h+1))})("touchstart",function(c){r.\u0275\u0275restoreView(t);var h=r.\u0275\u0275nextContext().index,C=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(C.startMouseDrag(c,2*h+1,h+1))})("mouseup",function(c){r.\u0275\u0275restoreView(t);var h=r.\u0275\u0275nextContext().index,C=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(C.clickGutter(c,h+1))})("touchend",function(c){r.\u0275\u0275restoreView(t);var h=r.\u0275\u0275nextContext().index,C=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(C.clickGutter(c,h+1))}),r.\u0275\u0275element(2,"div",4),r.\u0275\u0275elementEnd()}if(2&o){var e=r.\u0275\u0275nextContext(),a=e.index,s=e.$implicit,u=r.\u0275\u0275nextContext();r.\u0275\u0275styleProp("flex-basis",u.gutterSize,"px")("order",2*a+1),r.\u0275\u0275attribute("aria-label",u.gutterAriaLabel)("aria-orientation",u.direction)("aria-valuemin",s.minSize)("aria-valuemax",s.maxSize)("aria-valuenow",s.size)("aria-valuetext",u.getAriaAreaSizeText(s.size))}}function T8(o,n){1&o&&r.\u0275\u0275template(0,D8,3,10,"div",1),2&o&&r.\u0275\u0275property("ngIf",!1===n.last)}var I8=["*"];function qy(o){if(void 0!==o.changedTouches&&o.changedTouches.length>0)return{x:o.changedTouches[0].clientX,y:o.changedTouches[0].clientY};if(void 0!==o.clientX&&void 0!==o.clientY)return{x:o.clientX,y:o.clientY};if(void 0!==o.currentTarget){var n=o.currentTarget;return{x:n.offsetLeft,y:n.offsetTop}}return null}function _3(o,n,t){return Math.abs(o.x-n.x)<=t&&Math.abs(o.y-n.y)<=t}function x3(o,n){var t=o.nativeElement.getBoundingClientRect();return"horizontal"===n?t.width:t.height}function Ky(o){return"boolean"==typeof o?o:"false"!==o}function _u(o,n){return null==o?n:(o=Number(o),!isNaN(o)&&o>=0?o:n)}function b3(o,n){if("percent"===o){var t=n.reduce(function(e,a){return null!==a?e+a:e},0);return n.every(function(e){return null!==e})&&t>99.9&&t<100.1}if("pixel"===o)return 1===n.filter(function(e){return null===e}).length}function aE(o){return null===o.size?null:!0===o.component.lockSize?o.size:null===o.component.minSize?null:o.component.minSize>o.size?o.size:o.component.minSize}function oE(o){return null===o.size?null:!0===o.component.lockSize?o.size:null===o.component.maxSize?null:o.component.maxSize<o.size?o.size:o.component.maxSize}function $d(o,n,t,e){return n.reduce(function(a,s){var u=function F8(o,n,t,e){return 0===t?{areaSnapshot:n,pixelAbsorb:0,percentAfterAbsorption:n.sizePercentAtStart,pixelRemain:0}:0===n.sizePixelAtStart&&t<0?{areaSnapshot:n,pixelAbsorb:0,percentAfterAbsorption:0,pixelRemain:t}:"percent"===o?function M8(o,n,t){var a=(o.sizePixelAtStart+n)/t*100;if(n>0){if(null!==o.area.maxSize&&a>o.area.maxSize){var s=o.area.maxSize/100*t;return{areaSnapshot:o,pixelAbsorb:s,percentAfterAbsorption:o.area.maxSize,pixelRemain:o.sizePixelAtStart+n-s}}return{areaSnapshot:o,pixelAbsorb:n,percentAfterAbsorption:a>100?100:a,pixelRemain:0}}if(n<0){if(null!==o.area.minSize&&a<o.area.minSize){var u=o.area.minSize/100*t;return{areaSnapshot:o,pixelAbsorb:u,percentAfterAbsorption:o.area.minSize,pixelRemain:o.sizePixelAtStart+n-u}}return a<0?{areaSnapshot:o,pixelAbsorb:-o.sizePixelAtStart,percentAfterAbsorption:0,pixelRemain:n+o.sizePixelAtStart}:{areaSnapshot:o,pixelAbsorb:n,percentAfterAbsorption:a,pixelRemain:0}}}(n,t,e):"pixel"===o?function N8(o,n,t){var e=o.sizePixelAtStart+n;return n>0?null!==o.area.maxSize&&e>o.area.maxSize?{areaSnapshot:o,pixelAbsorb:o.area.maxSize-o.sizePixelAtStart,percentAfterAbsorption:-1,pixelRemain:e-o.area.maxSize}:{areaSnapshot:o,pixelAbsorb:n,percentAfterAbsorption:-1,pixelRemain:0}:n<0?null!==o.area.minSize&&e<o.area.minSize?{areaSnapshot:o,pixelAbsorb:o.area.minSize+n-e,percentAfterAbsorption:-1,pixelRemain:e-o.area.minSize}:e<0?{areaSnapshot:o,pixelAbsorb:-o.sizePixelAtStart,percentAfterAbsorption:-1,pixelRemain:n+o.sizePixelAtStart}:{areaSnapshot:o,pixelAbsorb:n,percentAfterAbsorption:-1,pixelRemain:0}:void 0}(n,t):void 0}(o,s,a.remain,e);return a.list.push(u),a.remain=u.pixelRemain,a},{remain:t,list:[]})}function C3(o,n){"percent"===o?n.areaSnapshot.area.size=n.percentAfterAbsorption:"pixel"===o&&null!==n.areaSnapshot.area.size&&(n.areaSnapshot.area.size=n.areaSnapshot.sizePixelAtStart+n.pixelAbsorb)}var V8=new r.InjectionToken("angular-split-global-config"),Wy=function(){var o=function(){function n(t,e,a,s,u){var l=this;(0,f.Z)(this,n),this.ngZone=t,this.elRef=e,this.cdRef=a,this.renderer=s,this.gutterClickDeltaPx=2,this._config={direction:"horizontal",unit:"percent",gutterSize:11,gutterStep:1,restrictMove:!1,useTransition:!1,disabled:!1,dir:"ltr",gutterDblClickDuration:0},this.dragStart=new r.EventEmitter(!1),this.dragEnd=new r.EventEmitter(!1),this.gutterClick=new r.EventEmitter(!1),this.gutterDblClick=new r.EventEmitter(!1),this.dragProgressSubject=new ae.x,this.dragProgress$=this.dragProgressSubject.asObservable(),this.isDragging=!1,this.isWaitingClear=!1,this.isWaitingInitialMove=!1,this.dragListeners=[],this.snapshot=null,this.startPoint=null,this.endPoint=null,this.displayedAreas=[],this.hiddenAreas=[],this._clickTimeout=null,this.direction=this._direction,this._config=u?Object.assign(this._config,u):this._config,Object.keys(this._config).forEach(function(c){l[c]=l._config[c]})}return(0,y.Z)(n,[{key:"direction",get:function(){return this._direction},set:function(e){this._direction="vertical"===e?"vertical":"horizontal",this.renderer.addClass(this.elRef.nativeElement,"as-".concat(this._direction)),this.renderer.removeClass(this.elRef.nativeElement,"as-".concat("vertical"===this._direction?"horizontal":"vertical")),this.build(!1,!1)}},{key:"unit",get:function(){return this._unit},set:function(e){this._unit="pixel"===e?"pixel":"percent",this.renderer.addClass(this.elRef.nativeElement,"as-".concat(this._unit)),this.renderer.removeClass(this.elRef.nativeElement,"as-".concat("pixel"===this._unit?"percent":"pixel")),this.build(!1,!0)}},{key:"gutterSize",get:function(){return this._gutterSize},set:function(e){this._gutterSize=_u(e,11),this.build(!1,!1)}},{key:"gutterStep",get:function(){return this._gutterStep},set:function(e){this._gutterStep=_u(e,1)}},{key:"restrictMove",get:function(){return this._restrictMove},set:function(e){this._restrictMove=Ky(e)}},{key:"useTransition",get:function(){return this._useTransition},set:function(e){this._useTransition=Ky(e),this._useTransition?this.renderer.addClass(this.elRef.nativeElement,"as-transition"):this.renderer.removeClass(this.elRef.nativeElement,"as-transition")}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=Ky(e),this._disabled?this.renderer.addClass(this.elRef.nativeElement,"as-disabled"):this.renderer.removeClass(this.elRef.nativeElement,"as-disabled")}},{key:"dir",get:function(){return this._dir},set:function(e){this._dir="rtl"===e?"rtl":"ltr",this.renderer.setAttribute(this.elRef.nativeElement,"dir",this._dir)}},{key:"gutterDblClickDuration",get:function(){return this._gutterDblClickDuration},set:function(e){this._gutterDblClickDuration=_u(e,0)}},{key:"transitionEnd",get:function(){var e=this;return new W.y(function(a){return e.transitionEndSubscriber=a}).pipe((0,Ar.b)(20))}},{key:"ngAfterViewInit",value:function(){var e=this;this.ngZone.runOutsideAngular(function(){setTimeout(function(){return e.renderer.addClass(e.elRef.nativeElement,"as-init")})})}},{key:"getNbGutters",value:function(){return 0===this.displayedAreas.length?0:this.displayedAreas.length-1}},{key:"addArea",value:function(e){var a={component:e,order:0,size:0,minSize:null,maxSize:null,sizeBeforeCollapse:null,gutterBeforeCollapse:0};!0===e.visible?(this.displayedAreas.push(a),this.build(!0,!0)):this.hiddenAreas.push(a)}},{key:"removeArea",value:function(e){if(this.displayedAreas.some(function(u){return u.component===e})){var a=this.displayedAreas.find(function(u){return u.component===e});this.displayedAreas.splice(this.displayedAreas.indexOf(a),1),this.build(!0,!0)}else if(this.hiddenAreas.some(function(u){return u.component===e})){var s=this.hiddenAreas.find(function(u){return u.component===e});this.hiddenAreas.splice(this.hiddenAreas.indexOf(s),1)}}},{key:"updateArea",value:function(e,a,s){!0===e.visible&&this.build(a,s)}},{key:"showArea",value:function(e){var a,s=this.hiddenAreas.find(function(l){return l.component===e});if(void 0!==s){var u=this.hiddenAreas.splice(this.hiddenAreas.indexOf(s),1);(a=this.displayedAreas).push.apply(a,(0,_.Z)(u)),this.build(!0,!0)}}},{key:"hideArea",value:function(e){var a,s=this.displayedAreas.find(function(l){return l.component===e});if(void 0!==s){var u=this.displayedAreas.splice(this.displayedAreas.indexOf(s),1);u.forEach(function(l){l.order=0,l.size=0}),(a=this.hiddenAreas).push.apply(a,(0,_.Z)(u)),this.build(!0,!0)}}},{key:"getVisibleAreaSizes",value:function(){return this.displayedAreas.map(function(e){return null===e.size?"*":e.size})}},{key:"setVisibleAreaSizes",value:function(e){if(e.length!==this.displayedAreas.length)return!1;var a=e.map(function(u){return _u(u,null)});return!1!==b3(this.unit,a)&&(this.displayedAreas.forEach(function(u,l){return u.component._size=a[l]}),this.build(!1,!0),!0)}},{key:"build",value:function(e,a){if(this.stopDragging(),!0===e&&(this.displayedAreas.every(function(h){return null!==h.component.order})&&this.displayedAreas.sort(function(h,C){return h.component.order-C.component.order}),this.displayedAreas.forEach(function(h,C){h.order=2*C,h.component.setStyleOrder(h.order)})),!0===a){var s=b3(this.unit,this.displayedAreas.map(function(h){return h.component.size}));switch(this.unit){case"percent":var u=100/this.displayedAreas.length;this.displayedAreas.forEach(function(h){h.size=s?h.component.size:u,h.minSize=aE(h),h.maxSize=oE(h)});break;case"pixel":if(s)this.displayedAreas.forEach(function(h){h.size=h.component.size,h.minSize=aE(h),h.maxSize=oE(h)});else{var l=this.displayedAreas.filter(function(h){return null===h.component.size});if(0===l.length&&this.displayedAreas.length>0)this.displayedAreas.forEach(function(h,C){h.size=0===C?null:h.component.size,h.minSize=0===C?null:aE(h),h.maxSize=0===C?null:oE(h)});else if(l.length>1){var c=!1;this.displayedAreas.forEach(function(h){null===h.component.size?!1===c?(h.size=null,h.minSize=null,h.maxSize=null,c=!0):(h.size=100,h.minSize=null,h.maxSize=null):(h.size=h.component.size,h.minSize=aE(h),h.maxSize=oE(h))})}}}}this.refreshStyleSizes(),this.cdRef.markForCheck()}},{key:"refreshStyleSizes",value:function(){var e=this;if("percent"===this.unit)if(1===this.displayedAreas.length)this.displayedAreas[0].component.setStyleFlex(0,0,"100%",!1,!1);else{var a=this.getNbGutters()*this.gutterSize;this.displayedAreas.forEach(function(s){s.component.setStyleFlex(0,0,"calc( ".concat(s.size,"% - ").concat(s.size/100*a,"px )"),null!==s.minSize&&s.minSize===s.size,null!==s.maxSize&&s.maxSize===s.size)})}else"pixel"===this.unit&&this.displayedAreas.forEach(function(s){null===s.size?s.component.setStyleFlex(1,1,1===e.displayedAreas.length?"100%":"auto",!1,!1):1===e.displayedAreas.length?s.component.setStyleFlex(0,0,"100%",!1,!1):s.component.setStyleFlex(0,0,"".concat(s.size,"px"),null!==s.minSize&&s.minSize===s.size,null!==s.maxSize&&s.maxSize===s.size)})}},{key:"clickGutter",value:function(e,a){var s=this,u=qy(e);this.startPoint&&_3(this.startPoint,u,this.gutterClickDeltaPx)&&(!this.isDragging||this.isWaitingInitialMove)&&(null!==this._clickTimeout?(window.clearTimeout(this._clickTimeout),this._clickTimeout=null,this.notify("dblclick",a),this.stopDragging()):this._clickTimeout=window.setTimeout(function(){s._clickTimeout=null,s.notify("click",a),s.stopDragging()},this.gutterDblClickDuration))}},{key:"startKeyboardDrag",value:function(e,a,s){if(!0!==this.disabled&&!0!==this.isWaitingClear){var u=function O8(o,n){if("horizontal"===n)switch(o.key){case"ArrowLeft":case"ArrowRight":case"PageUp":case"PageDown":break;default:return null}if("vertical"===n)switch(o.key){case"ArrowUp":case"ArrowDown":case"PageUp":case"PageDown":break;default:return null}var t=o.currentTarget,e="PageUp"===o.key||"PageDown"===o.key?500:50,a=t.offsetLeft,s=t.offsetTop;switch(o.key){case"ArrowLeft":a-=e;break;case"ArrowRight":a+=e;break;case"ArrowUp":s-=e;break;case"ArrowDown":s+=e;break;case"PageUp":"vertical"===n?s-=e:a+=e;break;case"PageDown":"vertical"===n?s+=e:a-=e;break;default:return null}return{x:a,y:s}}(e,this.direction);null!==u&&(this.endPoint=u,this.startPoint=qy(e),e.preventDefault(),e.stopPropagation(),this.setupForDragEvent(a,s),this.startDragging(),this.drag(),this.stopDragging())}}},{key:"startMouseDrag",value:function(e,a,s){var u=this;e.preventDefault(),e.stopPropagation(),this.startPoint=qy(e),null!==this.startPoint&&!0!==this.disabled&&!0!==this.isWaitingClear&&(this.setupForDragEvent(a,s),this.dragListeners.push(this.renderer.listen("document","mouseup",this.stopDragging.bind(this))),this.dragListeners.push(this.renderer.listen("document","touchend",this.stopDragging.bind(this))),this.dragListeners.push(this.renderer.listen("document","touchcancel",this.stopDragging.bind(this))),this.ngZone.runOutsideAngular(function(){u.dragListeners.push(u.renderer.listen("document","mousemove",u.mouseDragEvent.bind(u))),u.dragListeners.push(u.renderer.listen("document","touchmove",u.mouseDragEvent.bind(u)))}),this.startDragging())}},{key:"setupForDragEvent",value:function(e,a){var s=this;this.snapshot={gutterNum:a,lastSteppedOffset:0,allAreasSizePixel:x3(this.elRef,this.direction)-this.getNbGutters()*this.gutterSize,allInvolvedAreasSizePercent:100,areasBeforeGutter:[],areasAfterGutter:[]},this.displayedAreas.forEach(function(u){var l={area:u,sizePixelAtStart:x3(u.component.elRef,s.direction),sizePercentAtStart:"percent"===s.unit?u.size:-1};u.order<e?!0===s.restrictMove?s.snapshot.areasBeforeGutter=[l]:s.snapshot.areasBeforeGutter.unshift(l):u.order>e&&(!0===s.restrictMove?0===s.snapshot.areasAfterGutter.length&&(s.snapshot.areasAfterGutter=[l]):s.snapshot.areasAfterGutter.push(l))}),this.snapshot.allInvolvedAreasSizePercent=[].concat((0,_.Z)(this.snapshot.areasBeforeGutter),(0,_.Z)(this.snapshot.areasAfterGutter)).reduce(function(u,l){return u+l.sizePercentAtStart},0)}},{key:"startDragging",value:function(){this.displayedAreas.forEach(function(e){return e.component.lockEvents()}),this.isDragging=!0,this.isWaitingInitialMove=!0}},{key:"mouseDragEvent",value:function(e){e.preventDefault(),e.stopPropagation();var a=qy(e);null!==this._clickTimeout&&!_3(this.startPoint,a,this.gutterClickDeltaPx)&&(window.clearTimeout(this._clickTimeout),this._clickTimeout=null),!1!==this.isDragging&&(this.endPoint=qy(e),null!==this.endPoint&&this.drag())}},{key:"drag",value:function(){var e=this;if(this.isWaitingInitialMove){if(this.startPoint.x===this.endPoint.x&&this.startPoint.y===this.endPoint.y)return;this.ngZone.run(function(){e.isWaitingInitialMove=!1,e.renderer.addClass(e.elRef.nativeElement,"as-dragging"),e.renderer.addClass(e.gutterEls.toArray()[e.snapshot.gutterNum-1].nativeElement,"as-dragged"),e.notify("start",e.snapshot.gutterNum)})}var a="horizontal"===this.direction?this.startPoint.x-this.endPoint.x:this.startPoint.y-this.endPoint.y;"rtl"===this.dir&&"horizontal"===this.direction&&(a=-a);var s=Math.round(a/this.gutterStep)*this.gutterStep;if(s!==this.snapshot.lastSteppedOffset){this.snapshot.lastSteppedOffset=s;var u=$d(this.unit,this.snapshot.areasBeforeGutter,-s,this.snapshot.allAreasSizePixel),l=$d(this.unit,this.snapshot.areasAfterGutter,s,this.snapshot.allAreasSizePixel);if(0!==u.remain&&0!==l.remain?Math.abs(u.remain)===Math.abs(l.remain)||(Math.abs(u.remain)>Math.abs(l.remain)?l=$d(this.unit,this.snapshot.areasAfterGutter,s+u.remain,this.snapshot.allAreasSizePixel):u=$d(this.unit,this.snapshot.areasBeforeGutter,-(s-l.remain),this.snapshot.allAreasSizePixel)):0!==u.remain?l=$d(this.unit,this.snapshot.areasAfterGutter,s+u.remain,this.snapshot.allAreasSizePixel):0!==l.remain&&(u=$d(this.unit,this.snapshot.areasBeforeGutter,-(s-l.remain),this.snapshot.allAreasSizePixel)),"percent"===this.unit){var c=[].concat((0,_.Z)(u.list),(0,_.Z)(l.list)),h=c.find(function(C){return 0!==C.percentAfterAbsorption&&C.percentAfterAbsorption!==C.areaSnapshot.area.minSize&&C.percentAfterAbsorption!==C.areaSnapshot.area.maxSize});h&&(h.percentAfterAbsorption=this.snapshot.allInvolvedAreasSizePercent-c.filter(function(C){return C!==h}).reduce(function(C,T){return C+T.percentAfterAbsorption},0))}u.list.forEach(function(C){return C3(e.unit,C)}),l.list.forEach(function(C){return C3(e.unit,C)}),this.refreshStyleSizes(),this.notify("progress",this.snapshot.gutterNum)}}},{key:"stopDragging",value:function(e){var a=this;if(e&&(e.preventDefault(),e.stopPropagation()),!1!==this.isDragging){for(this.displayedAreas.forEach(function(u){return u.component.unlockEvents()});this.dragListeners.length>0;){var s=this.dragListeners.pop();s&&s()}this.isDragging=!1,!1===this.isWaitingInitialMove&&this.notify("end",this.snapshot.gutterNum),this.renderer.removeClass(this.elRef.nativeElement,"as-dragging"),this.renderer.removeClass(this.gutterEls.toArray()[this.snapshot.gutterNum-1].nativeElement,"as-dragged"),this.snapshot=null,this.isWaitingClear=!0,this.ngZone.runOutsideAngular(function(){setTimeout(function(){a.startPoint=null,a.endPoint=null,a.isWaitingClear=!1})})}}},{key:"notify",value:function(e,a){var s=this,u=this.getVisibleAreaSizes();"start"===e?this.dragStart.emit({gutterNum:a,sizes:u}):"end"===e?this.dragEnd.emit({gutterNum:a,sizes:u}):"click"===e?this.gutterClick.emit({gutterNum:a,sizes:u}):"dblclick"===e?this.gutterDblClick.emit({gutterNum:a,sizes:u}):"transitionEnd"===e?this.transitionEndSubscriber&&this.ngZone.run(function(){return s.transitionEndSubscriber.next(u)}):"progress"===e&&this.dragProgressSubject.next({gutterNum:a,sizes:u})}},{key:"ngOnDestroy",value:function(){this.stopDragging()}},{key:"collapseArea",value:function(e,a,s){var u=this.displayedAreas.find(function(h){return h.component===e});if(void 0!==u){var l="right"===s?1:-1;u.sizeBeforeCollapse||(u.sizeBeforeCollapse=u.size,u.gutterBeforeCollapse=l),u.size=a;var c=this.gutterEls.find(function(h){return h.nativeElement.style.order==="".concat(u.order+l)});c&&this.renderer.addClass(c.nativeElement,"as-split-gutter-collapsed"),this.updateArea(e,!1,!1)}}},{key:"expandArea",value:function(e){var a=this.displayedAreas.find(function(u){return u.component===e});if(void 0!==a&&a.sizeBeforeCollapse){a.size=a.sizeBeforeCollapse,a.sizeBeforeCollapse=null;var s=this.gutterEls.find(function(u){return u.nativeElement.style.order==="".concat(a.order+a.gutterBeforeCollapse)});s&&this.renderer.removeClass(s.nativeElement,"as-split-gutter-collapsed"),this.updateArea(e,!1,!1)}}},{key:"getAriaAreaSizeText",value:function(e){return null===e?null:e.toFixed(0)+" "+this.unit}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(r.Renderer2),r.\u0275\u0275directiveInject(V8,8))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["as-split"]],viewQuery:function(t,e){var a;1&t&&r.\u0275\u0275viewQuery(R8,5),2&t&&r.\u0275\u0275queryRefresh(a=r.\u0275\u0275loadQuery())&&(e.gutterEls=a)},inputs:{direction:"direction",unit:"unit",gutterSize:"gutterSize",gutterStep:"gutterStep",restrictMove:"restrictMove",useTransition:"useTransition",disabled:"disabled",dir:"dir",gutterDblClickDuration:"gutterDblClickDuration",gutterClickDeltaPx:"gutterClickDeltaPx",gutterAriaLabel:"gutterAriaLabel"},outputs:{transitionEnd:"transitionEnd",dragStart:"dragStart",dragEnd:"dragEnd",gutterClick:"gutterClick",gutterDblClick:"gutterDblClick"},exportAs:["asSplit"],ngContentSelectors:I8,decls:2,vars:1,consts:[["ngFor","",3,"ngForOf"],["role","slider","tabindex","0","class","as-split-gutter",3,"flex-basis","order","keydown","mousedown","touchstart","mouseup","touchend",4,"ngIf"],["role","slider","tabindex","0",1,"as-split-gutter",3,"keydown","mousedown","touchstart","mouseup","touchend"],["gutterEls",""],[1,"as-split-gutter-icon"]],template:function(t,e){1&t&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275projection(0),r.\u0275\u0275template(1,T8,1,1,"ng-template",0)),2&t&&(r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",e.displayedAreas))},dependencies:[P.NgForOf,P.NgIf],styles:["[_nghost-%COMP%]{display:flex;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;overflow:hidden;width:100%;height:100%}[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{border:none;flex-grow:0;flex-shrink:0;background-color:#eee;display:flex;align-items:center;justify-content:center}[_nghost-%COMP%] > .as-split-gutter.as-split-gutter-collapsed[_ngcontent-%COMP%]{flex-basis:1px!important;pointer-events:none}[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] > .as-split-gutter-icon[_ngcontent-%COMP%]{width:100%;height:100%;background-position:center center;background-repeat:no-repeat}[_nghost-%COMP%] >.as-split-area{flex-grow:0;flex-shrink:0;overflow-x:hidden;overflow-y:auto}[_nghost-%COMP%] >.as-split-area.as-hidden{flex:0 1 0px!important;overflow-x:hidden;overflow-y:hidden}.as-horizontal[_nghost-%COMP%]{flex-direction:row}.as-horizontal[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{flex-direction:row;cursor:col-resize;height:100%}.as-horizontal[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] > .as-split-gutter-icon[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==)}.as-horizontal[_nghost-%COMP%] >.as-split-area{height:100%}.as-vertical[_nghost-%COMP%]{flex-direction:column}.as-vertical[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{flex-direction:column;cursor:row-resize;width:100%}.as-vertical[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] .as-split-gutter-icon[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFCAMAAABl/6zIAAAABlBMVEUAAADMzMzIT8AyAAAAAXRSTlMAQObYZgAAABRJREFUeAFjYGRkwIMJSeMHlBkOABP7AEGzSuPKAAAAAElFTkSuQmCC)}.as-vertical[_nghost-%COMP%] >.as-split-area{width:100%}.as-vertical[_nghost-%COMP%] >.as-split-area.as-hidden{max-width:0}.as-disabled[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{cursor:default}.as-disabled[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] .as-split-gutter-icon[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==)}.as-transition.as-init[_nghost-%COMP%]:not(.as-dragging) > .as-split-gutter[_ngcontent-%COMP%], .as-transition.as-init[_nghost-%COMP%]:not(.as-dragging) >.as-split-area{transition:flex-basis .3s}"],changeDetection:0}),o}(),Xy=function(){var o=function(){function n(t,e,a,s){(0,f.Z)(this,n),this.ngZone=t,this.elRef=e,this.renderer=a,this.split=s,this._order=null,this._size=null,this._minSize=null,this._maxSize=null,this._lockSize=!1,this._visible=!0,this.lockListeners=[],this.renderer.addClass(this.elRef.nativeElement,"as-split-area")}return(0,y.Z)(n,[{key:"order",get:function(){return this._order},set:function(e){this._order=_u(e,null),this.split.updateArea(this,!0,!1)}},{key:"size",get:function(){return this._size},set:function(e){this._size=_u(e,null),this.split.updateArea(this,!1,!0)}},{key:"minSize",get:function(){return this._minSize},set:function(e){this._minSize=_u(e,null),this.split.updateArea(this,!1,!0)}},{key:"maxSize",get:function(){return this._maxSize},set:function(e){this._maxSize=_u(e,null),this.split.updateArea(this,!1,!0)}},{key:"lockSize",get:function(){return this._lockSize},set:function(e){this._lockSize=Ky(e),this.split.updateArea(this,!1,!0)}},{key:"visible",get:function(){return this._visible},set:function(e){this._visible=Ky(e),this._visible?(this.split.showArea(this),this.renderer.removeClass(this.elRef.nativeElement,"as-hidden")):(this.split.hideArea(this),this.renderer.addClass(this.elRef.nativeElement,"as-hidden"))}},{key:"ngOnInit",value:function(){var e=this;this.split.addArea(this),this.ngZone.runOutsideAngular(function(){e.transitionListener=e.renderer.listen(e.elRef.nativeElement,"transitionend",function(a){"flex-basis"===a.propertyName&&e.split.notify("transitionEnd",-1)})})}},{key:"setStyleOrder",value:function(e){this.renderer.setStyle(this.elRef.nativeElement,"order",e)}},{key:"setStyleFlex",value:function(e,a,s,u,l){this.renderer.setStyle(this.elRef.nativeElement,"flex-grow",e),this.renderer.setStyle(this.elRef.nativeElement,"flex-shrink",a),this.renderer.setStyle(this.elRef.nativeElement,"flex-basis",s),!0===u?this.renderer.addClass(this.elRef.nativeElement,"as-min"):this.renderer.removeClass(this.elRef.nativeElement,"as-min"),!0===l?this.renderer.addClass(this.elRef.nativeElement,"as-max"):this.renderer.removeClass(this.elRef.nativeElement,"as-max")}},{key:"lockEvents",value:function(){var e=this;this.ngZone.runOutsideAngular(function(){e.lockListeners.push(e.renderer.listen(e.elRef.nativeElement,"selectstart",function(){return!1})),e.lockListeners.push(e.renderer.listen(e.elRef.nativeElement,"dragstart",function(){return!1}))})}},{key:"unlockEvents",value:function(){for(;this.lockListeners.length>0;){var e=this.lockListeners.pop();e&&e()}}},{key:"ngOnDestroy",value:function(){this.unlockEvents(),this.transitionListener&&this.transitionListener(),this.split.removeArea(this)}},{key:"collapse",value:function(){this.split.collapseArea(this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,arguments.length>1&&void 0!==arguments[1]?arguments[1]:"right")}},{key:"expand",value:function(){this.split.expandArea(this)}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.Renderer2),r.\u0275\u0275directiveInject(Wy))},o.\u0275dir=r.\u0275\u0275defineDirective({type:o,selectors:[["as-split-area"],["","as-split-area",""]],inputs:{order:"order",size:"size",minSize:"minSize",maxSize:"maxSize",lockSize:"lockSize",visible:"visible"},exportAs:["asSplitArea"]}),o}(),sE=function(){var o=function(){function n(){(0,f.Z)(this,n)}return(0,y.Z)(n,null,[{key:"forRoot",value:function(){return console.warn("AngularSplitModule.forRoot() is deprecated and will be removed in v6"),{ngModule:n,providers:[]}}},{key:"forChild",value:function(){return console.warn("AngularSplitModule.forChild() is deprecated and will be removed in v6"),{ngModule:n,providers:[]}}}]),n}();return o.\u0275fac=function(t){return new(t||o)},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({imports:[P.CommonModule]}),o}(),w3=S(78947),B8=S(73),xu=S(98977),uE=S(44874),S3=S(80155);var wl={async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1},P3=/[&<>"']/,L8=new RegExp(P3.source,"g"),A3=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,j8=new RegExp(A3.source,"g"),$8={"&":"&","<":"<",">":">",'"':""","'":"'"},k3=function(n){return $8[n]};function ua(o,n){if(n){if(P3.test(o))return o.replace(L8,k3)}else if(A3.test(o))return o.replace(j8,k3);return o}var U8=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function R3(o){return o.replace(U8,function(n,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})}var z8=/(^|[^\[])\^/g;function Vr(o,n){o="string"==typeof o?o:o.source,n=n||"";var t={replace:function(a,s){return s=(s=s.source||s).replace(z8,"$1"),o=o.replace(a,s),t},getRegex:function(){return new RegExp(o,n)}};return t}var G8=/[^\w:]/g,H8=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function D3(o,n,t){if(o){var e;try{e=decodeURIComponent(R3(t)).replace(G8,"").toLowerCase()}catch{return null}if(0===e.indexOf("javascript:")||0===e.indexOf("vbscript:")||0===e.indexOf("data:"))return null}n&&!H8.test(t)&&(t=function X8(o,n){lE[" "+o]||(lE[" "+o]=q8.test(o)?o+"/":dE(o,"/",!0));var t=-1===(o=lE[" "+o]).indexOf(":");return"//"===n.substring(0,2)?t?n:o.replace(K8,"$1")+n:"/"===n.charAt(0)?t?n:o.replace(W8,"$1")+n:o+n}(n,t));try{t=encodeURI(t).replace(/%25/g,"%")}catch{return null}return t}var lE={},q8=/^[^:]+:\/*[^/]*$/,K8=/^([^:]+:)[\s\S]*$/,W8=/^([^:]+:\/*[^/]*)[\s\S]*$/,cE={exec:function(){}};function T3(o,n){var e=o.replace(/\|/g,function(s,u,l){for(var c=!1,h=u;--h>=0&&"\\"===l[h];)c=!c;return c?"|":" |"}).split(/ \|/),a=0;if(e[0].trim()||e.shift(),e.length>0&&!e[e.length-1].trim()&&e.pop(),e.length>n)e.splice(n);else for(;e.length<n;)e.push("");for(;a<e.length;a++)e[a]=e[a].trim().replace(/\\\|/g,"|");return e}function dE(o,n,t){var e=o.length;if(0===e)return"";for(var a=0;a<e;){var s=o.charAt(e-a-1);if(s!==n||t){if(s===n||!t)break;a++}else a++}return o.slice(0,e-a)}function I3(o,n){if(n<1)return"";for(var t="";n>1;)1&n&&(t+=o),n>>=1,o+=o;return t+o}function O3(o,n,t,e){var a=n.href,s=n.title?ua(n.title):null,u=o[1].replace(/\\([\[\]])/g,"$1");if("!"!==o[0].charAt(0)){e.state.inLink=!0;var l={type:"link",raw:t,href:a,title:s,text:u,tokens:e.inlineTokens(u)};return e.state.inLink=!1,l}return{type:"image",raw:t,href:a,title:s,text:ua(u)}}var rA=function(){function o(n){(0,f.Z)(this,o),this.options=n||wl}return(0,y.Z)(o,[{key:"space",value:function(t){var e=this.rules.block.newline.exec(t);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}},{key:"code",value:function(t){var e=this.rules.block.code.exec(t);if(e){var a=e[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?a:dE(a,"\n")}}}},{key:"fences",value:function(t){var e=this.rules.block.fences.exec(t);if(e){var a=e[0],s=function J8(o,n){var t=o.match(/^(\s+)(?:```)/);if(null===t)return n;var e=t[1];return n.split("\n").map(function(a){var s=a.match(/^\s+/);return null===s?a:(0,g.Z)(s,1)[0].length>=e.length?a.slice(e.length):a}).join("\n")}(a,e[3]||"");return{type:"code",raw:a,lang:e[2]?e[2].trim().replace(this.rules.inline._escapes,"$1"):e[2],text:s}}}},{key:"heading",value:function(t){var e=this.rules.block.heading.exec(t);if(e){var a=e[2].trim();if(/#$/.test(a)){var s=dE(a,"#");(this.options.pedantic||!s||/ $/.test(s))&&(a=s.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:a,tokens:this.lexer.inline(a)}}}},{key:"hr",value:function(t){var e=this.rules.block.hr.exec(t);if(e)return{type:"hr",raw:e[0]}}},{key:"blockquote",value:function(t){var e=this.rules.block.blockquote.exec(t);if(e){var a=e[0].replace(/^ *>[ \t]?/gm,""),s=this.lexer.state.top;this.lexer.state.top=!0;var u=this.lexer.blockTokens(a);return this.lexer.state.top=s,{type:"blockquote",raw:e[0],tokens:u,text:a}}}},{key:"list",value:function(t){var e=this.rules.block.list.exec(t);if(e){var a,s,u,l,c,h,C,T,N,F,$,se,ue=e[1].trim(),ge=ue.length>1,Se={type:"list",raw:"",ordered:ge,start:ge?+ue.slice(0,-1):"",loose:!1,items:[]};ue=ge?"\\d{1,9}\\".concat(ue.slice(-1)):"\\".concat(ue),this.options.pedantic&&(ue=ge?ue:"[*+-]");for(var we=new RegExp("^( {0,3}".concat(ue,")((?:[\t ][^\\n]*)?(?:\\n|$))"));t&&(se=!1,(e=we.exec(t))&&!this.rules.block.hr.test(t));){if(t=t.substring((a=e[0]).length),T=e[2].split("\n",1)[0].replace(/^\t+/,function(tn){return" ".repeat(3*tn.length)}),N=t.split("\n",1)[0],this.options.pedantic?(l=2,$=T.trimLeft()):(l=e[2].search(/[^ ]/),$=T.slice(l=l>4?1:l),l+=e[1].length),h=!1,!T&&/^ *$/.test(N)&&(a+=N+"\n",t=t.substring(N.length+1),se=!0),!se)for(var He=new RegExp("^ {0,".concat(Math.min(3,l-1),"}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))")),ot=new RegExp("^ {0,".concat(Math.min(3,l-1),"}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)")),dt=new RegExp("^ {0,".concat(Math.min(3,l-1),"}(?:```|~~~)")),Ot=new RegExp("^ {0,".concat(Math.min(3,l-1),"}#"));t&&(N=F=t.split("\n",1)[0],this.options.pedantic&&(N=N.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!(dt.test(N)||Ot.test(N)||He.test(N)||ot.test(t)));){if(N.search(/[^ ]/)>=l||!N.trim())$+="\n"+N.slice(l);else{if(h||T.search(/[^ ]/)>=4||dt.test(T)||Ot.test(T)||ot.test(T))break;$+="\n"+N}!h&&!N.trim()&&(h=!0),a+=F+"\n",t=t.substring(F.length+1),T=N.slice(l)}Se.loose||(C?Se.loose=!0:/\n *\n *$/.test(a)&&(C=!0)),this.options.gfm&&(s=/^\[[ xX]\] /.exec($))&&(u="[ ] "!==s[0],$=$.replace(/^\[[ xX]\] +/,"")),Se.items.push({type:"list_item",raw:a,task:!!s,checked:u,loose:!1,text:$}),Se.raw+=a}Se.items[Se.items.length-1].raw=a.trimRight(),Se.items[Se.items.length-1].text=$.trimRight(),Se.raw=Se.raw.trimRight();var pt=Se.items.length;for(c=0;c<pt;c++)if(this.lexer.state.top=!1,Se.items[c].tokens=this.lexer.blockTokens(Se.items[c].text,[]),!Se.loose){var Lt=Se.items[c].tokens.filter(function(tn){return"space"===tn.type}),$t=Lt.length>0&&Lt.some(function(tn){return/\n.*\n/.test(tn.raw)});Se.loose=$t}if(Se.loose)for(c=0;c<pt;c++)Se.items[c].loose=!0;return Se}}},{key:"html",value:function(t){var e=this.rules.block.html.exec(t);if(e){var a={type:"html",raw:e[0],pre:!this.options.sanitizer&&("pre"===e[1]||"script"===e[1]||"style"===e[1]),text:e[0]};if(this.options.sanitize){var s=this.options.sanitizer?this.options.sanitizer(e[0]):ua(e[0]);a.type="paragraph",a.text=s,a.tokens=this.lexer.inline(s)}return a}}},{key:"def",value:function(t){var e=this.rules.block.def.exec(t);if(e){var a=e[1].toLowerCase().replace(/\s+/g," "),s=e[2]?e[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline._escapes,"$1"):"",u=e[3]?e[3].substring(1,e[3].length-1).replace(this.rules.inline._escapes,"$1"):e[3];return{type:"def",tag:a,raw:e[0],href:s,title:u}}}},{key:"table",value:function(t){var e=this.rules.block.table.exec(t);if(e){var a={type:"table",header:T3(e[1]).map(function(C){return{text:C}}),align:e[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:e[3]&&e[3].trim()?e[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(a.header.length===a.align.length){a.raw=e[0];var u,l,c,h,s=a.align.length;for(u=0;u<s;u++)a.align[u]=/^ *-+: *$/.test(a.align[u])?"right":/^ *:-+: *$/.test(a.align[u])?"center":/^ *:-+ *$/.test(a.align[u])?"left":null;for(s=a.rows.length,u=0;u<s;u++)a.rows[u]=T3(a.rows[u],a.header.length).map(function(C){return{text:C}});for(s=a.header.length,l=0;l<s;l++)a.header[l].tokens=this.lexer.inline(a.header[l].text);for(s=a.rows.length,l=0;l<s;l++)for(h=a.rows[l],c=0;c<h.length;c++)h[c].tokens=this.lexer.inline(h[c].text);return a}}}},{key:"lheading",value:function(t){var e=this.rules.block.lheading.exec(t);if(e)return{type:"heading",raw:e[0],depth:"="===e[2].charAt(0)?1:2,text:e[1],tokens:this.lexer.inline(e[1])}}},{key:"paragraph",value:function(t){var e=this.rules.block.paragraph.exec(t);if(e){var a="\n"===e[1].charAt(e[1].length-1)?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:a,tokens:this.lexer.inline(a)}}}},{key:"text",value:function(t){var e=this.rules.block.text.exec(t);if(e)return{type:"text",raw:e[0],text:e[0],tokens:this.lexer.inline(e[0])}}},{key:"escape",value:function(t){var e=this.rules.inline.escape.exec(t);if(e)return{type:"escape",raw:e[0],text:ua(e[1])}}},{key:"tag",value:function(t){var e=this.rules.inline.tag.exec(t);if(e)return!this.lexer.state.inLink&&/^<a /i.test(e[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(e[0]):ua(e[0]):e[0]}}},{key:"link",value:function(t){var e=this.rules.inline.link.exec(t);if(e){var a=e[2].trim();if(!this.options.pedantic&&/^</.test(a)){if(!/>$/.test(a))return;var s=dE(a.slice(0,-1),"\\");if((a.length-s.length)%2==0)return}else{var u=function Q8(o,n){if(-1===o.indexOf(n[1]))return-1;for(var t=o.length,e=0,a=0;a<t;a++)if("\\"===o[a])a++;else if(o[a]===n[0])e++;else if(o[a]===n[1]&&--e<0)return a;return-1}(e[2],"()");if(u>-1){var c=(0===e[0].indexOf("!")?5:4)+e[1].length+u;e[2]=e[2].substring(0,u),e[0]=e[0].substring(0,c).trim(),e[3]=""}}var h=e[2],C="";if(this.options.pedantic){var T=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(h);T&&(h=T[1],C=T[3])}else C=e[3]?e[3].slice(1,-1):"";return h=h.trim(),/^</.test(h)&&(h=this.options.pedantic&&!/>$/.test(a)?h.slice(1):h.slice(1,-1)),O3(e,{href:h&&h.replace(this.rules.inline._escapes,"$1"),title:C&&C.replace(this.rules.inline._escapes,"$1")},e[0],this.lexer)}}},{key:"reflink",value:function(t,e){var a;if((a=this.rules.inline.reflink.exec(t))||(a=this.rules.inline.nolink.exec(t))){var s=(a[2]||a[1]).replace(/\s+/g," ");if(!(s=e[s.toLowerCase()])){var u=a[0].charAt(0);return{type:"text",raw:u,text:u}}return O3(a,s,a[0],this.lexer)}}},{key:"emStrong",value:function(t,e){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",s=this.rules.inline.emStrong.lDelim.exec(t);if(s&&(!s[3]||!a.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u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u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uA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uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDF50-\uDF59\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|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uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])/))){var u=s[1]||s[2]||"";if(!u||u&&(""===a||this.rules.inline.punctuation.exec(a))){var c,h,l=s[0].length-1,C=l,T=0,N="*"===s[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(N.lastIndex=0,e=e.slice(-1*t.length+l);null!=(s=N.exec(e));)if(c=s[1]||s[2]||s[3]||s[4]||s[5]||s[6]){if(h=c.length,s[3]||s[4]){C+=h;continue}if((s[5]||s[6])&&l%3&&!((l+h)%3)){T+=h;continue}if(!((C-=h)>0)){h=Math.min(h,h+C+T);var F=t.slice(0,l+s.index+(s[0].length-c.length)+h);if(Math.min(l,h)%2){var $=F.slice(1,-1);return{type:"em",raw:F,text:$,tokens:this.lexer.inlineTokens($)}}var se=F.slice(2,-2);return{type:"strong",raw:F,text:se,tokens:this.lexer.inlineTokens(se)}}}}}}},{key:"codespan",value:function(t){var e=this.rules.inline.code.exec(t);if(e){var a=e[2].replace(/\n/g," "),s=/[^ ]/.test(a),u=/^ /.test(a)&&/ $/.test(a);return s&&u&&(a=a.substring(1,a.length-1)),a=ua(a,!0),{type:"codespan",raw:e[0],text:a}}}},{key:"br",value:function(t){var e=this.rules.inline.br.exec(t);if(e)return{type:"br",raw:e[0]}}},{key:"del",value:function(t){var e=this.rules.inline.del.exec(t);if(e)return{type:"del",raw:e[0],text:e[2],tokens:this.lexer.inlineTokens(e[2])}}},{key:"autolink",value:function(t,e){var s,u,a=this.rules.inline.autolink.exec(t);if(a)return u="@"===a[2]?"mailto:"+(s=ua(this.options.mangle?e(a[1]):a[1])):s=ua(a[1]),{type:"link",raw:a[0],text:s,href:u,tokens:[{type:"text",raw:s,text:s}]}}},{key:"url",value:function(t,e){var a;if(a=this.rules.inline.url.exec(t)){var s,u;if("@"===a[2])u="mailto:"+(s=ua(this.options.mangle?e(a[0]):a[0]));else{var l;do{l=a[0],a[0]=this.rules.inline._backpedal.exec(a[0])[0]}while(l!==a[0]);s=ua(a[0]),u="www."===a[1]?"http://"+a[0]:a[0]}return{type:"link",raw:a[0],text:s,href:u,tokens:[{type:"text",raw:s,text:s}]}}}},{key:"inlineText",value:function(t,e){var s,a=this.rules.inline.text.exec(t);if(a)return s=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(a[0]):ua(a[0]):a[0]:ua(this.options.smartypants?e(a[0]):a[0]),{type:"text",raw:a[0],text:s}}}]),o}(),Dn={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:cE,lheading:/^((?:.|\n(?!\n))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\.|[^\[\]\\])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};Dn.def=Vr(Dn.def).replace("label",Dn._label).replace("title",Dn._title).getRegex(),Dn.bullet=/(?:[*+-]|\d{1,9}[.)])/,Dn.listItemStart=Vr(/^( *)(bull) */).replace("bull",Dn.bullet).getRegex(),Dn.list=Vr(Dn.list).replace(/bull/g,Dn.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+Dn.def.source+")").getRegex(),Dn._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Dn._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,Dn.html=Vr(Dn.html,"i").replace("comment",Dn._comment).replace("tag",Dn._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Dn.paragraph=Vr(Dn._paragraph).replace("hr",Dn.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Dn._tag).getRegex(),Dn.blockquote=Vr(Dn.blockquote).replace("paragraph",Dn.paragraph).getRegex(),Dn.normal=(0,b.Z)({},Dn),Dn.gfm=(0,b.Z)((0,b.Z)({},Dn.normal),{},{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),Dn.gfm.table=Vr(Dn.gfm.table).replace("hr",Dn.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Dn._tag).getRegex(),Dn.gfm.paragraph=Vr(Dn._paragraph).replace("hr",Dn.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",Dn.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Dn._tag).getRegex(),Dn.pedantic=(0,b.Z)((0,b.Z)({},Dn.normal),{},{html:Vr("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",Dn._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:cE,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Vr(Dn.normal._paragraph).replace("hr",Dn.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",Dn.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var hn={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:cE,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^(?:[^_*\\]|\\.)*?\_\_(?:[^_*\\]|\\.)*?\*(?:[^_*\\]|\\.)*?(?=\_\_)|(?:[^*\\]|\\.)+(?=[^*])|[punct_](\*+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|(?:[^punct*_\s\\]|\\.)(\*+)(?=[^punct*_\s])/,rDelimUnd:/^(?:[^_*\\]|\\.)*?\*\*(?:[^_*\\]|\\.)*?\_(?:[^_*\\]|\\.)*?(?=\*\*)|(?:[^_\\]|\\.)+(?=[^_])|[punct*](\_+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:cE,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};function eL(o){return o.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201c").replace(/"/g,"\u201d").replace(/\.{3}/g,"\u2026")}function F3(o){var t,e,n="",a=o.length;for(t=0;t<a;t++)e=o.charCodeAt(t),Math.random()>.5&&(e="x"+e.toString(16)),n+="&#"+e+";";return n}hn._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",hn.punctuation=Vr(hn.punctuation).replace(/punctuation/g,hn._punctuation).getRegex(),hn.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,hn.escapedEmSt=/(?:^|[^\\])(?:\\\\)*\\[*_]/g,hn._comment=Vr(Dn._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),hn.emStrong.lDelim=Vr(hn.emStrong.lDelim).replace(/punct/g,hn._punctuation).getRegex(),hn.emStrong.rDelimAst=Vr(hn.emStrong.rDelimAst,"g").replace(/punct/g,hn._punctuation).getRegex(),hn.emStrong.rDelimUnd=Vr(hn.emStrong.rDelimUnd,"g").replace(/punct/g,hn._punctuation).getRegex(),hn._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,hn._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,hn._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,hn.autolink=Vr(hn.autolink).replace("scheme",hn._scheme).replace("email",hn._email).getRegex(),hn._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,hn.tag=Vr(hn.tag).replace("comment",hn._comment).replace("attribute",hn._attribute).getRegex(),hn._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,hn._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,hn._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,hn.link=Vr(hn.link).replace("label",hn._label).replace("href",hn._href).replace("title",hn._title).getRegex(),hn.reflink=Vr(hn.reflink).replace("label",hn._label).replace("ref",Dn._label).getRegex(),hn.nolink=Vr(hn.nolink).replace("ref",Dn._label).getRegex(),hn.reflinkSearch=Vr(hn.reflinkSearch,"g").replace("reflink",hn.reflink).replace("nolink",hn.nolink).getRegex(),hn.normal=(0,b.Z)({},hn),hn.pedantic=(0,b.Z)((0,b.Z)({},hn.normal),{},{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:Vr(/^!?\[(label)\]\((.*?)\)/).replace("label",hn._label).getRegex(),reflink:Vr(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",hn._label).getRegex()}),hn.gfm=(0,b.Z)((0,b.Z)({},hn.normal),{},{escape:Vr(hn.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/}),hn.gfm.url=Vr(hn.gfm.url,"i").replace("email",hn.gfm._extended_email).getRegex(),hn.breaks=(0,b.Z)((0,b.Z)({},hn.gfm),{},{br:Vr(hn.br).replace("{2,}","*").getRegex(),text:Vr(hn.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var Qy=function(){function o(n){(0,f.Z)(this,o),this.tokens=[],this.tokens.links=Object.create(null),this.options=n||wl,this.options.tokenizer=this.options.tokenizer||new rA,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};var t={block:Dn.normal,inline:hn.normal};this.options.pedantic?(t.block=Dn.pedantic,t.inline=hn.pedantic):this.options.gfm&&(t.block=Dn.gfm,t.inline=this.options.breaks?hn.breaks:hn.gfm),this.tokenizer.rules=t}return(0,y.Z)(o,[{key:"lex",value:function(t){t=t.replace(/\r\n|\r/g,"\n"),this.blockTokens(t,this.tokens);for(var e;e=this.inlineQueue.shift();)this.inlineTokens(e.src,e.tokens);return this.tokens}},{key:"blockTokens",value:function(t){var e=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];t=this.options.pedantic?t.replace(/\t/g," ").replace(/^ +$/gm,""):t.replace(/^( *)(\t+)/gm,function(T,N,F){return N+" ".repeat(F.length)});for(var s,u,l,c,h=function(){if(e.options.extensions&&e.options.extensions.block&&e.options.extensions.block.some(function(ue){return!!(s=ue.call({lexer:e},t,a))&&(t=t.substring(s.raw.length),a.push(s),!0)}))return"continue";if(s=e.tokenizer.space(t))return t=t.substring(s.raw.length),1===s.raw.length&&a.length>0?a[a.length-1].raw+="\n":a.push(s),"continue";if(s=e.tokenizer.code(t))return t=t.substring(s.raw.length),!(u=a[a.length-1])||"paragraph"!==u.type&&"text"!==u.type?a.push(s):(u.raw+="\n"+s.raw,u.text+="\n"+s.text,e.inlineQueue[e.inlineQueue.length-1].src=u.text),"continue";if((s=e.tokenizer.fences(t))||(s=e.tokenizer.heading(t))||(s=e.tokenizer.hr(t))||(s=e.tokenizer.blockquote(t))||(s=e.tokenizer.list(t))||(s=e.tokenizer.html(t)))return t=t.substring(s.raw.length),a.push(s),"continue";if(s=e.tokenizer.def(t))return t=t.substring(s.raw.length),!(u=a[a.length-1])||"paragraph"!==u.type&&"text"!==u.type?e.tokens.links[s.tag]||(e.tokens.links[s.tag]={href:s.href,title:s.title}):(u.raw+="\n"+s.raw,u.text+="\n"+s.raw,e.inlineQueue[e.inlineQueue.length-1].src=u.text),"continue";if((s=e.tokenizer.table(t))||(s=e.tokenizer.lheading(t)))return t=t.substring(s.raw.length),a.push(s),"continue";if(l=t,e.options.extensions&&e.options.extensions.startBlock){var $,N=1/0,F=t.slice(1);e.options.extensions.startBlock.forEach(function(ue){"number"==typeof($=ue.call({lexer:this},F))&&$>=0&&(N=Math.min(N,$))}),N<1/0&&N>=0&&(l=t.substring(0,N+1))}if(e.state.top&&(s=e.tokenizer.paragraph(l)))return u=a[a.length-1],c&&"paragraph"===u.type?(u.raw+="\n"+s.raw,u.text+="\n"+s.text,e.inlineQueue.pop(),e.inlineQueue[e.inlineQueue.length-1].src=u.text):a.push(s),c=l.length!==t.length,t=t.substring(s.raw.length),"continue";if(s=e.tokenizer.text(t))return t=t.substring(s.raw.length),(u=a[a.length-1])&&"text"===u.type?(u.raw+="\n"+s.raw,u.text+="\n"+s.text,e.inlineQueue.pop(),e.inlineQueue[e.inlineQueue.length-1].src=u.text):a.push(s),"continue";if(t){var se="Infinite loop on byte: "+t.charCodeAt(0);if(e.options.silent)return console.error(se),"break";throw new Error(se)}};t;){var C=h();if("continue"!==C&&"break"===C)break}return this.state.top=!0,a}},{key:"inline",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return this.inlineQueue.push({src:t,tokens:e}),e}},{key:"inlineTokens",value:function(t){var s,u,l,h,C,T,e=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],c=t;if(this.tokens.links){var N=Object.keys(this.tokens.links);if(N.length>0)for(;null!=(h=this.tokenizer.rules.inline.reflinkSearch.exec(c));)N.includes(h[0].slice(h[0].lastIndexOf("[")+1,-1))&&(c=c.slice(0,h.index)+"["+I3("a",h[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(h=this.tokenizer.rules.inline.blockSkip.exec(c));)c=c.slice(0,h.index)+"["+I3("a",h[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(h=this.tokenizer.rules.inline.escapedEmSt.exec(c));)c=c.slice(0,h.index+h[0].length-2)+"++"+c.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex),this.tokenizer.rules.inline.escapedEmSt.lastIndex--;for(var F=function(){if(C||(T=""),C=!1,e.options.extensions&&e.options.extensions.inline&&e.options.extensions.inline.some(function(He){return!!(s=He.call({lexer:e},t,a))&&(t=t.substring(s.raw.length),a.push(s),!0)}))return"continue";if(s=e.tokenizer.escape(t))return t=t.substring(s.raw.length),a.push(s),"continue";if(s=e.tokenizer.tag(t))return t=t.substring(s.raw.length),(u=a[a.length-1])&&"text"===s.type&&"text"===u.type?(u.raw+=s.raw,u.text+=s.text):a.push(s),"continue";if(s=e.tokenizer.link(t))return t=t.substring(s.raw.length),a.push(s),"continue";if(s=e.tokenizer.reflink(t,e.tokens.links))return t=t.substring(s.raw.length),(u=a[a.length-1])&&"text"===s.type&&"text"===u.type?(u.raw+=s.raw,u.text+=s.text):a.push(s),"continue";if((s=e.tokenizer.emStrong(t,c,T))||(s=e.tokenizer.codespan(t))||(s=e.tokenizer.br(t))||(s=e.tokenizer.del(t))||(s=e.tokenizer.autolink(t,F3))||!e.state.inLink&&(s=e.tokenizer.url(t,F3)))return t=t.substring(s.raw.length),a.push(s),"continue";if(l=t,e.options.extensions&&e.options.extensions.startInline){var Se,ue=1/0,ge=t.slice(1);e.options.extensions.startInline.forEach(function(He){"number"==typeof(Se=He.call({lexer:this},ge))&&Se>=0&&(ue=Math.min(ue,Se))}),ue<1/0&&ue>=0&&(l=t.substring(0,ue+1))}if(s=e.tokenizer.inlineText(l,eL))return t=t.substring(s.raw.length),"_"!==s.raw.slice(-1)&&(T=s.raw.slice(-1)),C=!0,(u=a[a.length-1])&&"text"===u.type?(u.raw+=s.raw,u.text+=s.text):a.push(s),"continue";if(t){var we="Infinite loop on byte: "+t.charCodeAt(0);if(e.options.silent)return console.error(we),"break";throw new Error(we)}};t;){var $=F();if("continue"!==$&&"break"===$)break}return a}}],[{key:"rules",get:function(){return{block:Dn,inline:hn}}},{key:"lex",value:function(t,e){return new o(e).lex(t)}},{key:"lexInline",value:function(t,e){return new o(e).inlineTokens(t)}}]),o}(),Sl=function(){function o(n){(0,f.Z)(this,o),this.options=n||wl}return(0,y.Z)(o,[{key:"code",value:function(t,e,a){var s=(e||"").match(/\S*/)[0];if(this.options.highlight){var u=this.options.highlight(t,s);null!=u&&u!==t&&(a=!0,t=u)}return t=t.replace(/\n$/,"")+"\n",s?'<pre><code class="'+this.options.langPrefix+ua(s)+'">'+(a?t:ua(t,!0))+"</code></pre>\n":"<pre><code>"+(a?t:ua(t,!0))+"</code></pre>\n"}},{key:"blockquote",value:function(t){return"<blockquote>\n".concat(t,"</blockquote>\n")}},{key:"html",value:function(t){return t}},{key:"heading",value:function(t,e,a,s){if(this.options.headerIds){var u=this.options.headerPrefix+s.slug(a);return"<h".concat(e,' id="').concat(u,'">').concat(t,"</h").concat(e,">\n")}return"<h".concat(e,">").concat(t,"</h").concat(e,">\n")}},{key:"hr",value:function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"}},{key:"list",value:function(t,e,a){var s=e?"ol":"ul";return"<"+s+(e&&1!==a?' start="'+a+'"':"")+">\n"+t+"</"+s+">\n"}},{key:"listitem",value:function(t){return"<li>".concat(t,"</li>\n")}},{key:"checkbox",value:function(t){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "}},{key:"paragraph",value:function(t){return"<p>".concat(t,"</p>\n")}},{key:"table",value:function(t,e){return e&&(e="<tbody>".concat(e,"</tbody>")),"<table>\n<thead>\n"+t+"</thead>\n"+e+"</table>\n"}},{key:"tablerow",value:function(t){return"<tr>\n".concat(t,"</tr>\n")}},{key:"tablecell",value:function(t,e){var a=e.header?"th":"td";return(e.align?"<".concat(a,' align="').concat(e.align,'">'):"<".concat(a,">"))+t+"</".concat(a,">\n")}},{key:"strong",value:function(t){return"<strong>".concat(t,"</strong>")}},{key:"em",value:function(t){return"<em>".concat(t,"</em>")}},{key:"codespan",value:function(t){return"<code>".concat(t,"</code>")}},{key:"br",value:function(){return this.options.xhtml?"<br/>":"<br>"}},{key:"del",value:function(t){return"<del>".concat(t,"</del>")}},{key:"link",value:function(t,e,a){if(null===(t=D3(this.options.sanitize,this.options.baseUrl,t)))return a;var s='<a href="'+t+'"';return e&&(s+=' title="'+e+'"'),s+">"+a+"</a>"}},{key:"image",value:function(t,e,a){if(null===(t=D3(this.options.sanitize,this.options.baseUrl,t)))return a;var s='<img src="'.concat(t,'" alt="').concat(a,'"');return e&&(s+=' title="'.concat(e,'"')),s+(this.options.xhtml?"/>":">")}},{key:"text",value:function(t){return t}}]),o}(),M3=function(){function o(){(0,f.Z)(this,o)}return(0,y.Z)(o,[{key:"strong",value:function(t){return t}},{key:"em",value:function(t){return t}},{key:"codespan",value:function(t){return t}},{key:"del",value:function(t){return t}},{key:"html",value:function(t){return t}},{key:"text",value:function(t){return t}},{key:"link",value:function(t,e,a){return""+a}},{key:"image",value:function(t,e,a){return""+a}},{key:"br",value:function(){return""}}]),o}(),N3=function(){function o(){(0,f.Z)(this,o),this.seen={}}return(0,y.Z)(o,[{key:"serialize",value:function(t){return t.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}},{key:"getNextSafeSlug",value:function(t,e){var a=t,s=0;if(this.seen.hasOwnProperty(a)){s=this.seen[t];do{a=t+"-"+ ++s}while(this.seen.hasOwnProperty(a))}return e||(this.seen[t]=s,this.seen[a]=0),a}},{key:"slug",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=this.serialize(t);return this.getNextSafeSlug(a,e.dryrun)}}]),o}(),Yy=function(){function o(n){(0,f.Z)(this,o),this.options=n||wl,this.options.renderer=this.options.renderer||new Sl,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new M3,this.slugger=new N3}return(0,y.Z)(o,[{key:"parse",value:function(t){var s,u,l,c,h,C,T,N,F,$,se,ue,ge,Se,we,He,ot,dt,Ot,e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a="",pt=t.length;for(s=0;s<pt;s++)if($=t[s],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[$.type]&&(!1!==(Ot=this.options.extensions.renderers[$.type].call({parser:this},$))||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes($.type)))a+=Ot||"";else switch($.type){case"space":continue;case"hr":a+=this.renderer.hr();continue;case"heading":a+=this.renderer.heading(this.parseInline($.tokens),$.depth,R3(this.parseInline($.tokens,this.textRenderer)),this.slugger);continue;case"code":a+=this.renderer.code($.text,$.lang,$.escaped);continue;case"table":for(N="",T="",c=$.header.length,u=0;u<c;u++)T+=this.renderer.tablecell(this.parseInline($.header[u].tokens),{header:!0,align:$.align[u]});for(N+=this.renderer.tablerow(T),F="",c=$.rows.length,u=0;u<c;u++){for(T="",h=(C=$.rows[u]).length,l=0;l<h;l++)T+=this.renderer.tablecell(this.parseInline(C[l].tokens),{header:!1,align:$.align[l]});F+=this.renderer.tablerow(T)}a+=this.renderer.table(N,F);continue;case"blockquote":F=this.parse($.tokens),a+=this.renderer.blockquote(F);continue;case"list":for(se=$.ordered,ue=$.start,ge=$.loose,c=$.items.length,F="",u=0;u<c;u++)He=(we=$.items[u]).checked,ot=we.task,Se="",we.task&&(dt=this.renderer.checkbox(He),ge?we.tokens.length>0&&"paragraph"===we.tokens[0].type?(we.tokens[0].text=dt+" "+we.tokens[0].text,we.tokens[0].tokens&&we.tokens[0].tokens.length>0&&"text"===we.tokens[0].tokens[0].type&&(we.tokens[0].tokens[0].text=dt+" "+we.tokens[0].tokens[0].text)):we.tokens.unshift({type:"text",text:dt}):Se+=dt),Se+=this.parse(we.tokens,ge),F+=this.renderer.listitem(Se,ot,He);a+=this.renderer.list(F,se,ue);continue;case"html":a+=this.renderer.html($.text);continue;case"paragraph":a+=this.renderer.paragraph(this.parseInline($.tokens));continue;case"text":for(F=$.tokens?this.parseInline($.tokens):$.text;s+1<pt&&"text"===t[s+1].type;)F+="\n"+(($=t[++s]).tokens?this.parseInline($.tokens):$.text);a+=e?this.renderer.paragraph(F):F;continue;default:var Lt='Token with "'+$.type+'" type was not found.';if(this.options.silent)return void console.error(Lt);throw new Error(Lt)}return a}},{key:"parseInline",value:function(t,e){e=e||this.renderer;var s,u,l,a="",c=t.length;for(s=0;s<c;s++)if(u=t[s],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[u.type]&&(!1!==(l=this.options.extensions.renderers[u.type].call({parser:this},u))||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(u.type)))a+=l||"";else switch(u.type){case"escape":case"text":a+=e.text(u.text);break;case"html":a+=e.html(u.text);break;case"link":a+=e.link(u.href,u.title,this.parseInline(u.tokens,e));break;case"image":a+=e.image(u.href,u.title,u.text);break;case"strong":a+=e.strong(this.parseInline(u.tokens,e));break;case"em":a+=e.em(this.parseInline(u.tokens,e));break;case"codespan":a+=e.codespan(u.text);break;case"br":a+=e.br();break;case"del":a+=e.del(this.parseInline(u.tokens,e));break;default:var h='Token with "'+u.type+'" type was not found.';if(this.options.silent)return void console.error(h);throw new Error(h)}return a}}],[{key:"parse",value:function(t,e){return new o(e).parse(t)}},{key:"parseInline",value:function(t,e){return new o(e).parseInline(t)}}]),o}(),pE=function(){function o(n){(0,f.Z)(this,o),this.options=n||wl}return(0,y.Z)(o,[{key:"preprocess",value:function(t){return t}},{key:"postprocess",value:function(t){return t}}]),o}();function V3(o,n){return function(t,e,a){"function"==typeof e&&(a=e,e=null);var s=(0,b.Z)({},e),u=function tL(o,n,t){return function(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",o){var a="<p>An error occurred:</p><pre>"+ua(e.message+"",!0)+"</pre>";return n?Promise.resolve(a):t?void t(null,a):a}if(n)return Promise.reject(e);if(!t)throw e;t(e)}}((e=(0,b.Z)((0,b.Z)({},Tn.defaults),s)).silent,e.async,a);if(typeof t>"u"||null===t)return u(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof t)return u(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));if(function Y8(o){o&&o.sanitize&&!o.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}(e),e.hooks&&(e.hooks.options=e),a){var c,l=e.highlight;try{e.hooks&&(t=e.hooks.preprocess(t)),c=o(t,e)}catch(F){return u(F)}var h=function($){var se;if(!$)try{e.walkTokens&&Tn.walkTokens(c,e.walkTokens),se=n(c,e),e.hooks&&(se=e.hooks.postprocess(se))}catch(ue){$=ue}return e.highlight=l,$?u($):a(null,se)};if(!l||l.length<3||(delete e.highlight,!c.length))return h();var C=0;return Tn.walkTokens(c,function(F){"code"===F.type&&(C++,setTimeout(function(){l(F.text,F.lang,function($,se){if($)return h($);null!=se&&se!==F.text&&(F.text=se,F.escaped=!0),0==--C&&h()})},0))}),void(0===C&&h())}if(e.async)return Promise.resolve(e.hooks?e.hooks.preprocess(t):t).then(function(F){return o(F,e)}).then(function(F){return e.walkTokens?Promise.all(Tn.walkTokens(F,e.walkTokens)).then(function(){return F}):F}).then(function(F){return n(F,e)}).then(function(F){return e.hooks?e.hooks.postprocess(F):F}).catch(u);try{e.hooks&&(t=e.hooks.preprocess(t));var T=o(t,e);e.walkTokens&&Tn.walkTokens(T,e.walkTokens);var N=n(T,e);return e.hooks&&(N=e.hooks.postprocess(N)),N}catch(F){return u(F)}}}function Tn(o,n,t){return V3(Qy.lex,Yy.parse)(o,n,t)}(0,d.Z)(pE,"passThroughHooks",new Set(["preprocess","postprocess"])),Tn.options=Tn.setOptions=function(o){return function Z8(o){wl=o}(Tn.defaults=(0,b.Z)((0,b.Z)({},Tn.defaults),o)),Tn},Tn.getDefaults=function E3(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}},Tn.defaults=wl,Tn.use=function(){for(var o=Tn.defaults.extensions||{renderers:{},childTokens:{}},n=arguments.length,t=new Array(n),e=0;e<n;e++)t[e]=arguments[e];t.forEach(function(a){var s=(0,b.Z)({},a);if(s.async=Tn.defaults.async||s.async||!1,a.extensions&&(a.extensions.forEach(function(ue){if(!ue.name)throw new Error("extension name required");if(ue.renderer){var ge=o.renderers[ue.name];o.renderers[ue.name]=ge?function(){for(var Se=arguments.length,we=new Array(Se),He=0;He<Se;He++)we[He]=arguments[He];var ot=ue.renderer.apply(this,we);return!1===ot&&(ot=ge.apply(this,we)),ot}:ue.renderer}if(ue.tokenizer){if(!ue.level||"block"!==ue.level&&"inline"!==ue.level)throw new Error("extension level must be 'block' or 'inline'");o[ue.level]?o[ue.level].unshift(ue.tokenizer):o[ue.level]=[ue.tokenizer],ue.start&&("block"===ue.level?o.startBlock?o.startBlock.push(ue.start):o.startBlock=[ue.start]:"inline"===ue.level&&(o.startInline?o.startInline.push(ue.start):o.startInline=[ue.start]))}ue.childTokens&&(o.childTokens[ue.name]=ue.childTokens)}),s.extensions=o),a.renderer){var u=Tn.defaults.renderer||new Sl,l=function(ge){var Se=u[ge];u[ge]=function(){for(var we=arguments.length,He=new Array(we),ot=0;ot<we;ot++)He[ot]=arguments[ot];var dt=a.renderer[ge].apply(u,He);return!1===dt&&(dt=Se.apply(u,He)),dt}};for(var c in a.renderer)l(c);s.renderer=u}if(a.tokenizer){var h=Tn.defaults.tokenizer||new rA,C=function(ge){var Se=h[ge];h[ge]=function(){for(var we=arguments.length,He=new Array(we),ot=0;ot<we;ot++)He[ot]=arguments[ot];var dt=a.tokenizer[ge].apply(h,He);return!1===dt&&(dt=Se.apply(h,He)),dt}};for(var T in a.tokenizer)C(T);s.tokenizer=h}if(a.hooks){var N=Tn.defaults.hooks||new pE,F=function(ge){var Se=N[ge];N[ge]=pE.passThroughHooks.has(ge)?function(we){if(Tn.defaults.async)return Promise.resolve(a.hooks[ge].call(N,we)).then(function(ot){return Se.call(N,ot)});var He=a.hooks[ge].call(N,we);return Se.call(N,He)}:function(){for(var we=arguments.length,He=new Array(we),ot=0;ot<we;ot++)He[ot]=arguments[ot];var dt=a.hooks[ge].apply(N,He);return!1===dt&&(dt=Se.apply(N,He)),dt}};for(var $ in a.hooks)F($);s.hooks=N}if(a.walkTokens){var se=Tn.defaults.walkTokens;s.walkTokens=function(ue){var ge=[];return ge.push(a.walkTokens.call(this,ue)),se&&(ge=ge.concat(se.call(this,ue))),ge}}Tn.setOptions(s)})},Tn.walkTokens=function(o,n){var a,t=[],e=(0,ee.Z)(o);try{var s=function(){var l=a.value;switch(t=t.concat(n.call(Tn,l)),l.type){case"table":var h,c=(0,ee.Z)(l.header);try{for(c.s();!(h=c.n()).done;)t=t.concat(Tn.walkTokens(h.value.tokens,n))}catch(ge){c.e(ge)}finally{c.f()}var N,T=(0,ee.Z)(l.rows);try{for(T.s();!(N=T.n()).done;){var se,$=(0,ee.Z)(N.value);try{for($.s();!(se=$.n()).done;)t=t.concat(Tn.walkTokens(se.value.tokens,n))}catch(ge){$.e(ge)}finally{$.f()}}}catch(ge){T.e(ge)}finally{T.f()}break;case"list":t=t.concat(Tn.walkTokens(l.items,n));break;default:Tn.defaults.extensions&&Tn.defaults.extensions.childTokens&&Tn.defaults.extensions.childTokens[l.type]?Tn.defaults.extensions.childTokens[l.type].forEach(function(ge){t=t.concat(Tn.walkTokens(l[ge],n))}):l.tokens&&(t=t.concat(Tn.walkTokens(l.tokens,n)))}};for(e.s();!(a=e.n()).done;)s()}catch(u){e.e(u)}finally{e.f()}return t},Tn.parseInline=V3(Qy.lexInline,Yy.parseInline),Tn.Parser=Yy,Tn.parser=Yy.parse,Tn.Renderer=Sl,Tn.TextRenderer=M3,Tn.Lexer=Qy,Tn.lexer=Qy.lex,Tn.Tokenizer=rA,Tn.Slugger=N3,Tn.Hooks=pE,Tn.parse=Tn;var U3,o,a,nL=["*"],B3=function(){var o=function(){function n(){(0,f.Z)(this,n),this._buttonClick$=new ae.x,this.copied$=this._buttonClick$.pipe((0,st.w)(function(){return(0,Y.T)((0,Le.of)(!0),(0,w3.H)(3e3).pipe((0,B8.h)(!1)))}),(0,xu.x)(),(0,Bi.d)(1)),this.copiedText$=this.copied$.pipe((0,uE.O)(!1),(0,Ce.U)(function(t){return t?"Copied":"Copy"}))}return(0,y.Z)(n,[{key:"onCopyToClipboardClick",value:function(){this._buttonClick$.next()}}]),n}();return o.\u0275fac=function(t){return new(t||o)},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["markdown-clipboard"]],decls:4,vars:7,consts:[[1,"markdown-clipboard-button",3,"click"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"button",0),r.\u0275\u0275listener("click",function(){return e.onCopyToClipboardClick()}),r.\u0275\u0275pipe(1,"async"),r.\u0275\u0275text(2),r.\u0275\u0275pipe(3,"async"),r.\u0275\u0275elementEnd()),2&t&&(r.\u0275\u0275classProp("copied",r.\u0275\u0275pipeBind1(1,3,e.copied$)),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate(r.\u0275\u0275pipeBind1(3,5,e.copiedText$)))},dependencies:[P.AsyncPipe],encapsulation:2,changeDetection:0}),o}(),aL=(0,y.Z)(function o(){(0,f.Z)(this,o)}),bu=function(){return(bu=bu||{}).CommandLine="command-line",bu.LineHighlight="line-highlight",bu.LineNumbers="line-numbers",bu}(),Z3=(0,y.Z)(function o(){(0,f.Z)(this,o)}),L3=new r.InjectionToken("SECURITY_CONTEXT"),fE=function(){var o=function(){function n(t,e,a,s,u,l){(0,f.Z)(this,n),this.platform=t,this.securityContext=e,this.http=a,this.clipboardOptions=s,this.sanitizer=l,this.DEFAULT_MARKED_OPTIONS={renderer:new Sl},this.DEFAULT_KATEX_OPTIONS={delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1},{left:"\\(",right:"\\)",display:!1},{left:"\\begin{equation}",right:"\\end{equation}",display:!0},{left:"\\begin{align}",right:"\\end{align}",display:!0},{left:"\\begin{alignat}",right:"\\end{alignat}",display:!0},{left:"\\begin{gather}",right:"\\end{gather}",display:!0},{left:"\\begin{CD}",right:"\\end{CD}",display:!0},{left:"\\[",right:"\\]",display:!0}]},this.DEFAULT_MERMAID_OPTIONS={startOnLoad:!1},this.DEFAULT_CLIPBOARD_OPTIONS={buttonComponent:void 0},this.DEFAULT_PARSE_OPTIONS={decodeHtml:!1,inline:!1,emoji:!1,mermaid:!1,markedOptions:this.DEFAULT_MARKED_OPTIONS,disableSanitizer:!1},this.DEFAULT_RENDER_OPTIONS={clipboard:!1,clipboardOptions:void 0,katex:!1,katexOptions:void 0,mermaid:!1,mermaidOptions:void 0},this._reload$=new ae.x,this.reload$=this._reload$.asObservable(),this.options=u}return(0,y.Z)(n,[{key:"options",get:function(){return this._options},set:function(e){this._options=(0,b.Z)((0,b.Z)({},this.DEFAULT_MARKED_OPTIONS),e)}},{key:"renderer",get:function(){return this.options.renderer},set:function(e){this.options.renderer=e}},{key:"parse",value:function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.DEFAULT_PARSE_OPTIONS,s=a.decodeHtml,u=a.inline,l=a.emoji,c=a.mermaid,h=a.disableSanitizer,C=(0,b.Z)((0,b.Z)({},this.options),a.markedOptions);c&&(this.renderer=this.extendRenderer(C.renderer||new Sl));var T=this.trimIndentation(e),N=s?this.decodeHtml(T):T,F=l?this.parseEmoji(N):N,$=this.parseMarked(F,C,u);return(h?$:this.sanitizer.sanitize(this.securityContext,$))||""}},{key:"render",value:function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.DEFAULT_RENDER_OPTIONS,l=a.clipboardOptions,c=a.katex,h=a.katexOptions,C=a.mermaid,T=a.mermaidOptions;a.clipboard&&this.renderClipboard(e,arguments.length>2?arguments[2]:void 0,(0,b.Z)((0,b.Z)((0,b.Z)({},this.DEFAULT_CLIPBOARD_OPTIONS),this.clipboardOptions),l)),c&&this.renderKatex(e,(0,b.Z)((0,b.Z)({},this.DEFAULT_KATEX_OPTIONS),h)),C&&this.renderMermaid(e,(0,b.Z)((0,b.Z)({},this.DEFAULT_MERMAID_OPTIONS),T)),this.highlight(e)}},{key:"reload",value:function(){this._reload$.next()}},{key:"getSource",value:function(e){var a=this;if(!this.http)throw new Error("[ngx-markdown] When using the `src` attribute you *have to* pass the `HttpClient` as a parameter of the `forRoot` method. See README for more information");return this.http.get(e,{responseType:"text"}).pipe((0,Ce.U)(function(s){return a.handleExtension(e,s)}))}},{key:"highlight",value:function(e){if((0,P.isPlatformBrowser)(this.platform)&&!(typeof Prism>"u"||typeof Prism.highlightAllUnder>"u")){e||(e=document);var a=e.querySelectorAll('pre code:not([class*="language-"])');Array.prototype.forEach.call(a,function(s){return s.classList.add("language-none")}),Prism.highlightAllUnder(e)}}},{key:"decodeHtml",value:function(e){if(!(0,P.isPlatformBrowser)(this.platform))return e;var a=document.createElement("textarea");return a.innerHTML=e,a.value}},{key:"extendRenderer",value:function(e){var a=e;if(!0===a.\u0275NgxMarkdownRendererExtended)return e;var s=e.code;return e.code=function(u,l,c){return"mermaid"===l?'<div class="mermaid">'.concat(u,"</div>"):s.call(this,u,l,c)},a.\u0275NgxMarkdownRendererExtended=!0,e}},{key:"handleExtension",value:function(e,a){var s=e.lastIndexOf("://"),u=s>-1?e.substring(s+4):e,l=u.lastIndexOf("/"),c=l>-1?u.substring(l+1).split("?")[0]:"",h=c.lastIndexOf("."),C=h>-1?c.substring(h+1):"";return C&&"md"!==C?"```"+C+"\n"+a+"\n```":a}},{key:"parseMarked",value:function(e,a){return arguments.length>2&&void 0!==arguments[2]&&arguments[2]?Tn.parseInline(e,a):Tn.parse(e,a)}},{key:"parseEmoji",value:function(e){if(!(0,P.isPlatformBrowser)(this.platform))return e;if(typeof joypixels>"u"||typeof joypixels.shortnameToUnicode>"u")throw new Error("[ngx-markdown] When using the `emoji` attribute you *have to* include Emoji-Toolkit files to `angular.json` or use imports. See README for more information");return joypixels.shortnameToUnicode(e)}},{key:"renderKatex",value:function(e,a){if((0,P.isPlatformBrowser)(this.platform)){if(typeof katex>"u"||typeof renderMathInElement>"u")throw new Error("[ngx-markdown] When using the `katex` attribute you *have to* include KaTeX files to `angular.json` or use imports. See README for more information");renderMathInElement(e,a)}}},{key:"renderClipboard",value:function(e,a,s){if((0,P.isPlatformBrowser)(this.platform)){if(typeof ClipboardJS>"u")throw new Error("[ngx-markdown] When using the `clipboard` attribute you *have to* include Clipboard files to `angular.json` or use imports. See README for more information");if(!a)throw new Error("[ngx-markdown] When using the `clipboard` attribute you *have to* provide the `viewContainerRef` parameter to `MarkdownService.render()` function");for(var u=s.buttonComponent,l=s.buttonTemplate,c=e.querySelectorAll("pre"),h=function(){var N=c.item(C),F=document.createElement("div");F.style.position="relative",N.parentNode.insertBefore(F,N),F.appendChild(N);var se,Se,$=document.createElement("div");$.style.position="absolute",$.style.top=".5em",$.style.right=".5em",$.style.opacity="0",$.style.transition="opacity 250ms ease-out",F.insertAdjacentElement("beforeend",$),N.onmouseover=function(){return $.style.opacity="1"},N.onmouseout=function(){return $.style.opacity="0"},(se=u?a.createComponent(u).hostView:l?a.createEmbeddedView(l):a.createComponent(B3).hostView).rootNodes.forEach(function(we){we.onmouseover=function(){return $.style.opacity="1"},$.appendChild(we),Se=new ClipboardJS(we,{text:function(){return N.innerText}})}),se.onDestroy(function(){return Se.destroy()})},C=0;C<c.length;C++)h()}}},{key:"renderMermaid",value:function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.DEFAULT_MERMAID_OPTIONS;if((0,P.isPlatformBrowser)(this.platform)){if(typeof mermaid>"u"||typeof mermaid.init>"u")throw new Error("[ngx-markdown] When using the `mermaid` attribute you *have to* include Mermaid files to `angular.json` or use imports. See README for more information");var s=e.querySelectorAll(".mermaid");0!==s.length&&(mermaid.initialize(a),mermaid.init(s))}}},{key:"trimIndentation",value:function(e){return e?e.split("\n").map(function(s){var u=a;return s.length>0&&(u=isNaN(u)?s.search(/\S|$/):Math.min(s.search(/\S|$/),u)),isNaN(a)&&(a=u),u?s.substring(u):s}).join("\n"):"";var a}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(r.PLATFORM_ID),r.\u0275\u0275inject(L3),r.\u0275\u0275inject(O.HttpClient,8),r.\u0275\u0275inject(aL,8),r.\u0275\u0275inject(Z3,8),r.\u0275\u0275inject(B.DomSanitizer))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),j3=function(){var o=function(){function n(t,e,a){(0,f.Z)(this,n),this.element=t,this.markdownService=e,this.viewContainerRef=a,this.error=new r.EventEmitter,this.load=new r.EventEmitter,this.ready=new r.EventEmitter,this._clipboard=!1,this._commandLine=!1,this._disableSanitizer=!1,this._emoji=!1,this._inline=!1,this._katex=!1,this._lineHighlight=!1,this._lineNumbers=!1,this._mermaid=!1,this._srcRelativeLink=!1,this.destroyed$=new ae.x}return(0,y.Z)(n,[{key:"disableSanitizer",get:function(){return this._disableSanitizer},set:function(e){this._disableSanitizer=this.coerceBooleanProperty(e)}},{key:"inline",get:function(){return this._inline},set:function(e){this._inline=this.coerceBooleanProperty(e)}},{key:"srcRelativeLink",get:function(){return this._srcRelativeLink},set:function(e){this._srcRelativeLink=this.coerceBooleanProperty(e)}},{key:"clipboard",get:function(){return this._clipboard},set:function(e){this._clipboard=this.coerceBooleanProperty(e)}},{key:"emoji",get:function(){return this._emoji},set:function(e){this._emoji=this.coerceBooleanProperty(e)}},{key:"katex",get:function(){return this._katex},set:function(e){this._katex=this.coerceBooleanProperty(e)}},{key:"mermaid",get:function(){return this._mermaid},set:function(e){this._mermaid=this.coerceBooleanProperty(e)}},{key:"lineHighlight",get:function(){return this._lineHighlight},set:function(e){this._lineHighlight=this.coerceBooleanProperty(e)}},{key:"lineNumbers",get:function(){return this._lineNumbers},set:function(e){this._lineNumbers=this.coerceBooleanProperty(e)}},{key:"commandLine",get:function(){return this._commandLine},set:function(e){this._commandLine=this.coerceBooleanProperty(e)}},{key:"ngOnChanges",value:function(){this.loadContent()}},{key:"loadContent",value:function(){null==this.data?null==this.src||this.handleSrc():this.handleData()}},{key:"ngAfterViewInit",value:function(){var e=this;!this.data&&!this.src&&this.handleTransclusion(),this.markdownService.reload$.pipe((0,Qr.R)(this.destroyed$)).subscribe(function(){return e.loadContent()})}},{key:"ngOnDestroy",value:function(){this.destroyed$.next(),this.destroyed$.complete()}},{key:"render",value:function(e){var s,a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.src&&this.srcRelativeLink&&(s={baseUrl:new URL(this.src,location.origin).pathname});var c={clipboard:this.clipboard,clipboardOptions:{buttonComponent:this.clipboardButtonComponent,buttonTemplate:this.clipboardButtonTemplate},katex:this.katex,katexOptions:this.katexOptions,mermaid:this.mermaid,mermaidOptions:this.mermaidOptions},h=this.markdownService.parse(e,{decodeHtml:a,inline:this.inline,emoji:this.emoji,mermaid:this.mermaid,markedOptions:s,disableSanitizer:this.disableSanitizer});this.element.nativeElement.innerHTML=h,this.handlePlugins(),this.markdownService.render(this.element.nativeElement,c,this.viewContainerRef),this.ready.emit()}},{key:"coerceBooleanProperty",value:function(e){return null!=e&&"false"!=="".concat(String(e))}},{key:"handleData",value:function(){this.render(this.data)}},{key:"handleSrc",value:function(){var e=this;this.markdownService.getSource(this.src).subscribe({next:function(s){e.render(s),e.load.emit(s)},error:function(s){return e.error.emit(s)}})}},{key:"handleTransclusion",value:function(){this.render(this.element.nativeElement.innerHTML,!0)}},{key:"handlePlugins",value:function(){this.commandLine&&(this.setPluginClass(this.element.nativeElement,bu.CommandLine),this.setPluginOptions(this.element.nativeElement,{dataFilterOutput:this.filterOutput,dataHost:this.host,dataPrompt:this.prompt,dataOutput:this.output,dataUser:this.user})),this.lineHighlight&&this.setPluginOptions(this.element.nativeElement,{dataLine:this.line,dataLineOffset:this.lineOffset}),this.lineNumbers&&(this.setPluginClass(this.element.nativeElement,bu.LineNumbers),this.setPluginOptions(this.element.nativeElement,{dataStart:this.start}))}},{key:"setPluginClass",value:function(e,a){for(var s=e.querySelectorAll("pre"),u=0;u<s.length;u++){var l,c=a instanceof Array?a:[a];(l=s.item(u).classList).add.apply(l,(0,_.Z)(c))}}},{key:"setPluginOptions",value:function(e,a){for(var s=this,u=e.querySelectorAll("pre"),l=function(C){Object.keys(a).forEach(function(T){var N=a[T];if(N){var F=s.toLispCase(T);u.item(C).setAttribute(F,N.toString())}})},c=0;c<u.length;c++)l(c)}},{key:"toLispCase",value:function(e){var a=e.match(/([A-Z])/g);if(!a)return e;for(var s=e.toString(),u=0,l=a.length;u<l;u++)s=s.replace(new RegExp(a[u]),"-"+a[u].toLowerCase());return"-"===s.slice(0,1)&&(s=s.slice(1)),s}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(fE),r.\u0275\u0275directiveInject(r.ViewContainerRef))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["markdown"],["","markdown",""]],inputs:{data:"data",src:"src",disableSanitizer:"disableSanitizer",inline:"inline",srcRelativeLink:"srcRelativeLink",clipboard:"clipboard",clipboardButtonComponent:"clipboardButtonComponent",clipboardButtonTemplate:"clipboardButtonTemplate",emoji:"emoji",katex:"katex",katexOptions:"katexOptions",mermaid:"mermaid",mermaidOptions:"mermaidOptions",lineHighlight:"lineHighlight",line:"line",lineOffset:"lineOffset",lineNumbers:"lineNumbers",start:"start",commandLine:"commandLine",filterOutput:"filterOutput",host:"host",prompt:"prompt",output:"output",user:"user"},outputs:{error:"error",load:"load",ready:"ready"},features:[r.\u0275\u0275NgOnChangesFeature],ngContentSelectors:nL,decls:1,vars:0,template:function(t,e){1&t&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275projection(0))},encapsulation:2}),o}(),$3=function(){var o=function(){function n(t,e,a,s,u){(0,f.Z)(this,n),this.domSanitizer=t,this.elementRef=e,this.markdownService=a,this.viewContainerRef=s,this.zone=u}return(0,y.Z)(n,[{key:"transform",value:function(e,a){var s=this;if(null==e)return"";if("string"!=typeof e)return console.error("MarkdownPipe has been invoked with an invalid value type [".concat(typeof e,"]")),e;var u=this.markdownService.parse(e,a);return this.zone.onStable.pipe((0,S3.P)()).subscribe(function(){return s.markdownService.render(s.elementRef.nativeElement,a,s.viewContainerRef)}),this.domSanitizer.bypassSecurityTrustHtml(u)}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(B.DomSanitizer,16),r.\u0275\u0275directiveInject(r.ElementRef,16),r.\u0275\u0275directiveInject(fE,16),r.\u0275\u0275directiveInject(r.ViewContainerRef,16),r.\u0275\u0275directiveInject(r.NgZone,16))},o.\u0275pipe=r.\u0275\u0275definePipe({name:"markdown",type:o,pure:!0}),o}(),iA=function(){var o=function(){function n(){(0,f.Z)(this,n)}return(0,y.Z)(n,null,[{key:"forRoot",value:function(e){return{ngModule:n,providers:[fE,e&&e.loader||[],e&&e.clipboardOptions||[],e&&e.markedOptions||[],{provide:L3,useValue:e&&null!=e.sanitize?e.sanitize:r.SecurityContext.HTML}]}}},{key:"forChild",value:function(){return{ngModule:n}}}]),n}();return o.\u0275fac=function(t){return new(t||o)},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({imports:[P.CommonModule]}),o}();(a=(o=U3||(U3={})).SecurityLevel||(o.SecurityLevel={})).Strict="strict",a.Loose="loose",a.Antiscript="antiscript",a.Sandbox="sandbox",function(a){a.Base="base",a.Forest="forest",a.Dark="dark",a.Default="default",a.Neutral="neutral"}(o.Theme||(o.Theme={})),function(a){a[a.Debug=1]="Debug",a[a.Info=2]="Info",a[a.Warn=3]="Warn",a[a.Error=4]="Error",a[a.Fatal=5]="Fatal"}(o.LogLevel||(o.LogLevel={}));var bi=S(10233),pi=S(72049),Yt=S(5311),En=S(30972),Fi=S(80565);function fL(o,n){1&o&&r.\u0275\u0275elementContainer(0)}function mL(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"form",3),r.\u0275\u0275listener("ngSubmit",function(){r.\u0275\u0275restoreView(t);var u=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(u.submit())}),r.\u0275\u0275elementStart(1,"mat-dialog-content")(2,"div",4),r.\u0275\u0275template(3,fL,1,0,"ng-container",5),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(4,"mat-dialog-actions")(5,"button",6),r.\u0275\u0275text(6,"Save"),r.\u0275\u0275elementEnd()()()}if(2&o){var e=r.\u0275\u0275nextContext(),a=r.\u0275\u0275reference(3);r.\u0275\u0275property("formGroup",e.contentForm),r.\u0275\u0275advance(3),r.\u0275\u0275property("ngTemplateOutlet",a),r.\u0275\u0275advance(2),r.\u0275\u0275property("disabled",!e.contentForm.valid)}}function hL(o,n){1&o&&r.\u0275\u0275elementContainer(0)}function gL(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"div",4),r.\u0275\u0275template(1,hL,1,0,"ng-container",5),r.\u0275\u0275elementEnd()),2&o){r.\u0275\u0275nextContext();var t=r.\u0275\u0275reference(3);r.\u0275\u0275advance(1),r.\u0275\u0275property("ngTemplateOutlet",t)}}function vL(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"li"),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&o){var t=n.$implicit;r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(t.key)}}function yL(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"ul",18),r.\u0275\u0275template(1,vL,2,1,"li",19),r.\u0275\u0275pipe(2,"keyvalue"),r.\u0275\u0275elementEnd()),2&o){var t=r.\u0275\u0275nextContext(2);r.\u0275\u0275property("hidden",!0),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",r.\u0275\u0275pipeBind1(2,2,t.tokens))}}function _L(o,n){if(1&o&&(r.\u0275\u0275element(0,"classifieds-ui-dynamic-content-viewer",20),r.\u0275\u0275pipe(1,"markdown")),2&o){var t=r.\u0275\u0275nextContext(2);r.\u0275\u0275property("content",r.\u0275\u0275pipeBind1(1,1,t.preview))}}function xL(o,n){if(1&o&&r.\u0275\u0275element(0,"classifieds-ui-dynamic-content-viewer",20),2&o){var t=r.\u0275\u0275nextContext(2);r.\u0275\u0275property("content",t.preview)}}function bL(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"as-split",7)(1,"as-split-area",8)(2,"div"),r.\u0275\u0275template(3,yL,3,4,"ul",9),r.\u0275\u0275elementStart(4,"mat-form-field")(5,"mat-label"),r.\u0275\u0275text(6,"Content Type"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(7,"mat-select",10)(8,"mat-option",11),r.\u0275\u0275text(9,"Markdown"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(10,"mat-option",12),r.\u0275\u0275text(11,"HTML"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(12,"mat-option",13),r.\u0275\u0275text(13,"JSON"),r.\u0275\u0275elementEnd()()()(),r.\u0275\u0275elementStart(14,"as-split",14)(15,"as-split-area",8)(16,"div"),r.\u0275\u0275element(17,"textarea",15),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(18,"as-split-area",8)(19,"div"),r.\u0275\u0275element(20,"textarea",16),r.\u0275\u0275elementEnd()()()(),r.\u0275\u0275elementStart(21,"as-split-area",8),r.\u0275\u0275template(22,_L,2,3,"classifieds-ui-dynamic-content-viewer",17),r.\u0275\u0275template(23,xL,1,1,"classifieds-ui-dynamic-content-viewer",17),r.\u0275\u0275elementEnd()()),2&o){var t=r.\u0275\u0275nextContext();r.\u0275\u0275property("direction",t.splitDirection)("formGroup",t.contentForm),r.\u0275\u0275advance(3),r.\u0275\u0275property("ngIf",t.tokens),r.\u0275\u0275advance(14),r.\u0275\u0275property("cols",t.cols)("rows",t.rows),r.\u0275\u0275advance(3),r.\u0275\u0275property("cols",t.cols)("rows",t.rows),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngIf",t.isMarkdown),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",!t.isMarkdown)}}var El=(0,y.Z)(function o(n){(0,f.Z)(this,o),n&&(this.content=n.content,this.contentType=n.contentType,n.jsFile&&""!==n.jsFile&&(this.jsFile=n.jsFile),n.jsScript&&""!==n.jsScript&&(this.jsScript=n.jsScript))}),mE=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.fb=t,this.submitted=new r.EventEmitter,this.splitDirection="vertical",this.rows=40,this.cols=100,this.rootForm=!0,this.onTouched=function(){},this.contentForm=this.fb.group({content:this.fb.control("",v.Validators.required),contentType:this.fb.control("",v.Validators.required),jsScript:this.fb.control("")}),this.isMarkdown=!1,this.contentEditorOptions={theme:"vs-dark",language:"text/html"}}return(0,y.Z)(n,[{key:"snippet",set:function(e){void 0!==e&&this.contentForm.setValue((0,b.Z)((0,b.Z)({},e),{},{jsScript:e.jsScript&&""!==e.jsScript?e.jsScript:""}))}},{key:"ngOnInit",value:function(){var e=this;this.contentForm.get("content").valueChanges.pipe((0,xu.x)(),(0,Ar.b)(500),(0,Ce.U)(function(a){return void 0!==e.tokens?e.replaceTokens(a):a})).subscribe(function(a){e.preview=a}),this.contentForm.get("contentType").valueChanges.subscribe(function(a){e.isMarkdown="text/markdown"===a})}},{key:"writeValue",value:function(e){e&&(console.log("write value: ".concat(e)),this.contentForm.setValue(e,{emitEvent:!1}))}},{key:"registerOnChange",value:function(e){this.contentForm.valueChanges.subscribe(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){e?this.contentForm.disable():this.contentForm.enable()}},{key:"validate",value:function(e){return this.contentForm.valid?null:{invalidForm:{valid:!1,message:"snippet is invalid"}}}},{key:"submit",value:function(){this.submitted.emit(new El({content:this.contentForm.get("content").value,contentType:this.contentForm.get("contentType").value,jsScript:this.contentForm.get("jsScript").value}))}},{key:"replaceTokens",value:function(e){return this.tokens&&this.tokens.forEach(function(a,s){e=e.replace("[".concat(s,"]"),"".concat(a," [token = '").concat(s,"']"))}),e}},{key:"addScript",value:function(){var e=document.createElement("script");e.type="text/javascript",document.getElementsByTagName("head")[0].appendChild(e)}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.UntypedFormBuilder))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-snippet-form"]],inputs:{tokens:"tokens",splitDirection:"splitDirection",rows:"rows",cols:"cols",rootForm:"rootForm",snippet:"snippet"},outputs:{submitted:"submitted"},features:[r.\u0275\u0275ProvidersFeature([{provide:v.NG_VALUE_ACCESSOR,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0},{provide:v.NG_VALIDATORS,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0}])],decls:4,vars:2,consts:[[3,"formGroup","ngSubmit",4,"ngIf"],["class","content-inner",4,"ngIf"],["formBodyTpl",""],[3,"formGroup","ngSubmit"],[1,"content-inner"],[4,"ngTemplateOutlet"],["type","submit","mat-raised-button","","color","primary","mat-dialog-close","",3,"disabled"],[3,"direction","formGroup"],["size","50"],[3,"hidden",4,"ngIf"],["required","","formControlName","contentType"],["value","text/markdown"],["value","text/html"],["value","application/json"],["direction","horizontal"],["formControlName","content",3,"cols","rows"],["formControlName","jsScript",3,"cols","rows"],[3,"content",4,"ngIf"],[3,"hidden"],[4,"ngFor","ngForOf"],[3,"content"]],template:function(t,e){1&t&&(r.\u0275\u0275template(0,mL,7,3,"form",0),r.\u0275\u0275template(1,gL,2,1,"div",1),r.\u0275\u0275template(2,bL,24,9,"ng-template",null,2,r.\u0275\u0275templateRefExtractor)),2&t&&(r.\u0275\u0275property("ngIf",e.rootForm),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",!e.rootForm))},dependencies:[P.NgForOf,P.NgIf,P.NgTemplateOutlet,v.\u0275NgNoValidate,v.DefaultValueAccessor,v.NgControlStatus,v.NgControlStatusGroup,v.RequiredValidator,v.FormGroupDirective,v.FormControlName,Wy,Xy,bi.MatLegacyOption,pi.MatLegacyButton,Yt.MatLegacyDialogClose,Yt.MatLegacyDialogContent,Yt.MatLegacyDialogActions,En.MatLegacyFormField,En.MatLegacyLabel,Fi.MatLegacySelect,Vn.DynamicContentViewer,P.KeyValuePipe,$3]}),o}(),aA=function(){var o=(0,y.Z)(function n(){(0,f.Z)(this,n)});return o.\u0275fac=function(t){return new(t||o)},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({imports:[P.CommonModule,v.ReactiveFormsModule,v.FormsModule,oi,sE,Oi.MaterialModule,hs,iA,Vn.UtilsModule]}),o}(),z3=function(){var o=function(){function n(){(0,f.Z)(this,n)}return(0,y.Z)(n,[{key:"parseSnippet",value:function(e){return(0,Le.of)(e.snippet.content)}}]),n}();return o.\u0275fac=function(t){return new(t||o)},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),Rn=S(25813),CL=S(21954);function Or(o,n,t){return(0,CL.P)(function(){return o()?n:t})}var Sr=S(26562),fi=S(64744),Jy=S(53726),Hr=S(26073),Fa=S(93670);function wL(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"mat-option",10),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&o){var t=n.$implicit;r.\u0275\u0275property("value",t.value.id),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(t.value.title)}}function SL(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"mat-option",10),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&o){var t=n.$implicit;r.\u0275\u0275property("value",t),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(t)}}function EL(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"mat-form-field",2)(1,"mat-label"),r.\u0275\u0275text(2,"Context"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"mat-select",11),r.\u0275\u0275template(4,SL,2,2,"mat-option",4),r.\u0275\u0275elementEnd()()),2&o){var t=r.\u0275\u0275nextContext(2);r.\u0275\u0275advance(4),r.\u0275\u0275property("ngForOf",t.contexts)}}function PL(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"div",12)(1,"mat-checkbox",13),r.\u0275\u0275text(2),r.\u0275\u0275elementEnd()()),2&o){var t=n.index,e=r.\u0275\u0275nextContext(2);r.\u0275\u0275property("formGroupName",t),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate(e.flagsAsArray[t])}}function AL(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"div",1)(1,"div"),r.\u0275\u0275text(2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"mat-form-field",2)(4,"mat-label"),r.\u0275\u0275text(5,"Type"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(6,"mat-select",3),r.\u0275\u0275template(7,wL,2,2,"mat-option",4),r.\u0275\u0275pipe(8,"keyvalue"),r.\u0275\u0275pipe(9,"async"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275template(10,EL,5,1,"mat-form-field",5),r.\u0275\u0275elementStart(11,"mat-form-field",2),r.\u0275\u0275element(12,"input",6),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(13,"mat-form-field",2),r.\u0275\u0275element(14,"input",7),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(15,"div",8),r.\u0275\u0275template(16,PL,3,2,"div",9),r.\u0275\u0275elementEnd()()),2&o){var t=n.$implicit,e=n.index,a=r.\u0275\u0275nextContext();r.\u0275\u0275property("formGroup",t),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate(a.paramName(e)),r.\u0275\u0275advance(5),r.\u0275\u0275property("ngForOf",r.\u0275\u0275pipeBind1(8,5,r.\u0275\u0275pipeBind1(9,7,a.paramPlugins$))),r.\u0275\u0275advance(3),r.\u0275\u0275property("ngIf","context"==t.get("mapping").get("type").value),r.\u0275\u0275advance(6),r.\u0275\u0275property("ngForOf",t.get("flags").controls)}}function kL(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"mat-option",4),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&o){var t=n.$implicit;r.\u0275\u0275property("value",t.value.id),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(t.value.title)}}var Rs=function(o){(0,z.Z)(t,o);var n=(0,H.Z)(t);function t(e){var a;return(0,f.Z)(this,t),a=n.call(this,e),e&&(a.evalParam=e.evalParam,e.condition&&(a.condition=e.condition),e.usedContexts&&(a.usedContexts=e.usedContexts)),a}return(0,y.Z)(t)}(Rn.Plugin),Mi=(0,y.Z)(function o(n){(0,f.Z)(this,o),n&&(this.mapping=new G3(n.mapping),void 0!==n.flags&&(this.flags=n.flags.map(function(t){return new TL(t)})))}),G3=(0,y.Z)(function o(n){(0,f.Z)(this,o),n&&(this.type=n.type,this.value=n.value,this.testValue=n.testValue,this.context=n.context)}),TL=(0,y.Z)(function o(n){(0,f.Z)(this,o),n&&(this.name=n.name,this.enabled=n.enabled)}),Ds=(0,y.Z)(function o(n){(0,f.Z)(this,o),n&&(this.plugin=n.plugin,this.settings=n.settings?new H3(n.settings):new H3)}),H3=(0,y.Z)(function o(n){(0,f.Z)(this,o),n&&(this.paramsString=n.paramsString,n.params&&Array.isArray(n.params)&&(this.params=n.params.map(function(t){return new Mi(t)})))}),Cu=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(a,s){return(0,f.Z)(this,e),t.call(this,a,s)}return(0,y.Z)(e,[{key:"pluginDef",value:function(){return(0,Le.of)(new Rn.PluginDef({name:"param"}))}}]),e}(Rn.BasePluginManager);return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Rn.PluginConfigurationManager),r.\u0275\u0275inject(Vn.ModuleLoaderService))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),e_=function(){var o=function(){function n(t,e){var a=this;(0,f.Z)(this,n),this.fb=t,this.ppm=e,this.contexts=[],this.params$=new U.X({}),this.paramValues$=new U.X([]),this.init$=new ae.x,this.formArray=this.fb.array([]),this.paramPlugins$=this.ppm.getPlugins(),this.flags=new Map,this.savedParams=new Map,this.paramIndexes=new Map,this.paramsSub=this.params$.pipe((0,te.b)(function(s){var u=new Map((0,_.Z)(a.paramIndexes));a.formArray.clear(),a.paramIndexes.clear();var l=0;for(var c in s)Array.isArray(s[c])?(s[c].forEach(function(h){return a.buildParams(h,l,u)}),l++):0===s[c].indexOf(":")&&(a.buildParams(s[c],l,u),l++)})).subscribe(),this.savedParamsSub=this.formArray.valueChanges.pipe((0,Ar.b)(1e3),(0,te.b)(function(s){for(var u=s.length,l=0;l<u;l++)a.savedParams.set(a.paramName(l),new Mi(s[l]))})).subscribe(),this.paramValuesSub=(0,Sr.a)([this.paramValues$,this.params$,this.init$]).pipe((0,te.b)(function(s){for(var l=(0,g.Z)(s,1)[0],c=l?l.length:0,h=function(N){var F=Array.from(a.paramIndexes).find(function($){return(0,g.Z)($,2)[1]===N});void 0!==F&&a.savedParams.set(F[0],l[N])},C=0;C<c;C++)h(C)})).subscribe(),this.onTouched=function(){},this.flags.set("page","Page"),this.flags.set("limit","Limit"),this.flags.set("offset","Offset"),this.flags.set("searchString","Search String")}return(0,y.Z)(n,[{key:"params",set:function(e){this.params$.next(e)}},{key:"paramValues",set:function(e){this.paramValues$.next(e)}},{key:"flagsAsArray",get:function(){var e=[];return this.flags.forEach(function(a,s){e.push(s)}),e}},{key:"ngOnInit",value:function(){this.init$.next(void 0)}},{key:"writeValue",value:function(e){e&&this.formArray.setValue(e,{emitEvent:!1})}},{key:"registerOnChange",value:function(e){this.formArray.valueChanges.subscribe(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){e?this.formArray.disable():this.formArray.enable()}},{key:"validate",value:function(e){return this.formArray.valid?null:this.formArray.errors}},{key:"buildParams",value:function(e,a,s){var u=this;console.log("build param ".concat(e)),this.paramIndexes.set(e,a),this.formArray.push(this.fb.group({mapping:this.fb.group({type:this.fb.control("",v.Validators.required),value:this.fb.control("",v.Validators.required),testValue:this.fb.control(""),context:this.fb.control("")}),flags:this.fb.array(this.flagsAsArray.map(function(l){return u.fb.group({name:l,enabled:u.fb.control(!1)})}))})),this.savedParams.has(e)?this.formArray.at(a).setValue(this.savedParams.get(e)):a<this.paramValues$.value.length&&-1===Array.from(s).findIndex(function(l){return(0,g.Z)(l,2)[1]===a})&&this.formArray.at(a).setValue(this.paramValues$.value[a])}},{key:"paramName",value:function(e){var a=0;for(var s in this.params$.value)if(Array.isArray(this.params$.value[s]))for(var u=0;u<this.params$.value[s].length;u++){if(e===a)return this.params$.value[s][u];a++}else if(0===this.params$.value[s].indexOf(":")){if(a===e)return this.params$.value[s];a++}}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(Cu))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-params-form"]],inputs:{contexts:"contexts",params:"params",paramValues:"paramValues"},features:[r.\u0275\u0275ProvidersFeature([{provide:v.NG_VALUE_ACCESSOR,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0},{provide:v.NG_VALIDATORS,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0}])],decls:1,vars:1,consts:[[3,"formGroup",4,"ngFor","ngForOf"],[3,"formGroup"],["formGroupName","mapping"],["required","","formControlName","type"],[3,"value",4,"ngFor","ngForOf"],["formGroupName","mapping",4,"ngIf"],["matInput","","formControlName","value","placeholder","value","required",""],["matInput","","formControlName","testValue","placeholder","Test Value","required",""],["formArrayName","flags"],[3,"formGroupName",4,"ngFor","ngForOf"],[3,"value"],["formControlName","context"],[3,"formGroupName"],["formControlName","enabled"]],template:function(t,e){1&t&&r.\u0275\u0275template(0,AL,17,9,"div",0),2&t&&r.\u0275\u0275property("ngForOf",e.formArray.controls)},dependencies:[P.NgForOf,P.NgIf,v.DefaultValueAccessor,v.NgControlStatus,v.NgControlStatusGroup,v.RequiredValidator,v.FormGroupDirective,v.FormControlName,v.FormGroupName,v.FormArrayName,bi.MatLegacyOption,Jy.MatLegacyCheckbox,En.MatLegacyFormField,En.MatLegacyLabel,Hr.MatLegacyInput,Fi.MatLegacySelect,P.AsyncPipe,P.KeyValuePipe]}),o}(),IL=function(){var o=function(){function n(t){var e=this;(0,f.Z)(this,n),this.fb=t,this.contexts=[],this.settings$=new U.X(void 0),this.afterViewInit$=new ae.x,this.paramValues$=new U.X([]),this.formGroup=this.fb.group({paramsString:this.fb.control(""),params:this.fb.control([])}),this.paramsStringChangeSub=this.formGroup.get("paramsString").valueChanges.pipe((0,Ar.b)(500)).subscribe(function(a){var s=Fa.parse("?"+a);e.paramsParsed=s}),this.settingsSub=this.settings$.pipe((0,te.b)(function(a){a&&e.formGroup.get("paramsString").setValue(a.paramsString?a.paramsString:"")})).subscribe(),this.settingsParamsSub=(0,Sr.a)([this.settings$,this.formGroup.get("paramsString").valueChanges]).pipe((0,Q.h)(function(a){return void 0!==(0,g.Z)(a,1)[0]}),(0,Rr.g)(1),(0,te.b)(function(a){var s=(0,g.Z)(a,1);return e.paramValues$.next(s[0].params)})).subscribe(),this.onTouched=function(){}}return(0,y.Z)(n,[{key:"settings",set:function(e){this.settings$.next(e)}},{key:"writeValue",value:function(e){e&&this.formGroup.setValue(e,{emitEvent:!1})}},{key:"registerOnChange",value:function(e){this.formGroup.valueChanges.subscribe(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){e?this.formGroup.disable():this.formGroup.enable()}},{key:"validate",value:function(e){return this.formGroup.valid?null:this.formGroup.errors}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.UntypedFormBuilder))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["druid-params-querystring"]],inputs:{contexts:"contexts",settings:"settings"},features:[r.\u0275\u0275ProvidersFeature([{provide:v.NG_VALUE_ACCESSOR,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0},{provide:v.NG_VALIDATORS,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0}])],decls:6,vars:4,consts:[[3,"formGroup"],[1,"params-container"],["matInput","","placeholder","Params","formControlName","paramsString"],["formControlName","params",3,"params","paramValues","contexts"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"div")(3,"mat-form-field"),r.\u0275\u0275element(4,"input",2),r.\u0275\u0275elementEnd()(),r.\u0275\u0275element(5,"classifieds-ui-params-form",3),r.\u0275\u0275elementEnd()()),2&t&&(r.\u0275\u0275property("formGroup",e.formGroup),r.\u0275\u0275advance(5),r.\u0275\u0275property("params",e.paramsParsed)("paramValues",e.paramValues$.value)("contexts",e.contexts))},dependencies:[v.DefaultValueAccessor,v.NgControlStatus,v.NgControlStatusGroup,v.FormGroupDirective,v.FormControlName,En.MatLegacyFormField,Hr.MatLegacyInput,e_]}),o}(),OL=function(){var o=function(){function n(t){var e=this;(0,f.Z)(this,n),this.fb=t,this.plugins$=new U.X([]),this.title$=new U.X("Plugin"),this.instance$=new U.X(new Ds),this.instanceForm=this.fb.group({plugin:this.fb.control(""),settings:this.fb.control("")}),this.instanceSub=this.instance$.pipe((0,Q.h)(function(a){return!!a}),(0,te.b)(function(a){e.instanceForm.get("plugin").setValue(a.plugin)})).subscribe(),this.onTouched=function(){}}return(0,y.Z)(n,[{key:"title",set:function(e){this.title$.next(e)}},{key:"plugins",set:function(e){this.plugins$.next(e)}},{key:"instance",set:function(e){this.instance$.next(e)}},{key:"writeValue",value:function(e){e&&this.instanceForm.setValue(e,{emitEvent:!1})}},{key:"registerOnChange",value:function(e){this.instanceForm.valueChanges.subscribe(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){e?this.instanceForm.disable():this.instanceForm.enable()}},{key:"validate",value:function(e){return this.instanceForm.valid?null:this.instanceForm.errors}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.UntypedFormBuilder))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["druid-params-plugin-instance"]],inputs:{title:"title",plugins:"plugins",instance:"instance"},features:[r.\u0275\u0275ProvidersFeature([{provide:v.NG_VALUE_ACCESSOR,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0},{provide:v.NG_VALIDATORS,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0}])],decls:10,vars:10,consts:[[3,"formGroup"],["required","","formControlName","plugin"],[3,"value",4,"ngFor","ngForOf"],["formControlName","settings",3,"settings"],[3,"value"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"div",0)(1,"mat-form-field")(2,"mat-label"),r.\u0275\u0275text(3),r.\u0275\u0275pipe(4,"async"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(5,"mat-select",1),r.\u0275\u0275template(6,kL,2,2,"mat-option",2),r.\u0275\u0275pipe(7,"keyvalue"),r.\u0275\u0275pipe(8,"async"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275element(9,"druid-params-querystring",3),r.\u0275\u0275elementEnd()),2&t&&(r.\u0275\u0275property("formGroup",e.instanceForm),r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate(r.\u0275\u0275pipeBind1(4,4,e.title$)),r.\u0275\u0275advance(3),r.\u0275\u0275property("ngForOf",r.\u0275\u0275pipeBind1(7,6,r.\u0275\u0275pipeBind1(8,8,e.plugins$))),r.\u0275\u0275advance(3),r.\u0275\u0275property("settings",e.instance$.value.settings))},dependencies:[P.NgForOf,v.NgControlStatus,v.NgControlStatusGroup,v.RequiredValidator,v.FormGroupDirective,v.FormControlName,bi.MatLegacyOption,En.MatLegacyFormField,En.MatLegacyLabel,Fi.MatLegacySelect,IL,P.AsyncPipe,P.KeyValuePipe]}),o}(),Ts=function(){var o=function(){function n(t,e){(0,f.Z)(this,n),this.paramPluginManager=t,this.tokenizerService=e}return(0,y.Z)(n,[{key:"paramValue",value:function(e,a){var s=this;return this.paramPluginManager.getPlugins().pipe((0,Ce.U)(function(u){return Array.from(u).map(function(l){return(0,g.Z)(l,2)[1]})}),(0,Ce.U)(function(u){return u.find(function(l){return l.condition&&l.condition({param:e,metadata:a})||!l.condition&&l.id===e.mapping.type})}),(0,st.w)(function(u){return Or(function(){return!!u},u?u.evalParam({param:e,metadata:a}):(0,Le.of)(),(0,Le.of)(e.mapping.value))}),(0,Ce.U)(function(u){return e.mapping.value&&"string"==typeof u&&0===s.tokenizerService.discoverTokens(u).length?u:e.mapping.testValue}))}},{key:"paramValues",value:function(e){var a=this;return(0,$n.D)(Array.from(e.keys()).map(function(s){return a.paramValue(e.get(s),new Map).pipe((0,Ce.U)(function(u){return[s,u]}))})).pipe((0,Ce.U)(function(s){return s.reduce(function(u,l){return new Map([].concat((0,_.Z)(u),[l]))},new Map)}),(0,fi.d)(new Map))}},{key:"resolveParams",value:function(e){var a=this,s=e.params;return(0,st.w)(function(){return Or(function(){return Object.keys(s).length>1},(0,$n.D)(Object.keys(s).map(function(u){return a.paramValue(s[u],new Map).pipe((0,Ce.U)(function(l){return(0,d.Z)({},u,l)}))})).pipe((0,Ce.U)(function(u){return u.reduce(function(l,c){return(0,b.Z)((0,b.Z)({},l),c)},{})}),(0,Ce.U)(function(u){return{options:u}})),Or(function(){return 0!==Object.keys(s).length},a.paramValue(0!==Object.keys(s).length?s[Object.keys(s)[0]]:new Mi,new Map).pipe((0,Ce.U)(function(u){return{options:(0,d.Z)({},Object.keys(s)[0],u)}})),(0,Le.of)({options:{}})))})}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Cu),r.\u0275\u0275inject(Pr))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),wu=function(){var o=(0,y.Z)(function n(t,e){(0,f.Z)(this,n),t.register(new Rs({id:"static",title:"Static",evalParam:function(t){return(0,Le.of)(t.param.mapping.value)}})),t.register(function(n){return new Rs({id:"inputparam",title:"Input Param",evalParam:function(e){var a=e.param,s=e.metadata;return(0,Le.of)(a.mapping.value).pipe((0,Ce.U)(function(u){return s.has("inputparams")&&s.get("inputparams").has(u)?s.get("inputparams").get(u):void 0}),(0,st.w)(function(u){return Or(function(){return void 0!==u},void 0!==u?n.paramValue(u,s):(0,Le.of)(a.mapping.testValue),(0,Le.of)(a.mapping.testValue))}))}})}(e))});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Cu),r.\u0275\u0275inject(Ts))},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({imports:[P.CommonModule,v.FormsModule,v.ReactiveFormsModule,Oi.MaterialModule]}),o}(),q3="@ngrx/router-store/request",oA=((0,Bt.PH)(q3,(0,Bt.Ky)()),"@ngrx/router-store/navigation"),sA=((0,Bt.PH)(oA,(0,Bt.Ky)()),"@ngrx/router-store/cancel"),uA=((0,Bt.PH)(sA,(0,Bt.Ky)()),"@ngrx/router-store/error"),K3=((0,Bt.PH)(uA,(0,Bt.Ky)()),"@ngrx/router-store/navigated");(0,Bt.PH)(K3,(0,Bt.Ky)());var lA=function(){function o(){(0,f.Z)(this,o)}return(0,y.Z)(o,[{key:"serialize",value:function(t){return{root:this.serializeRoute(t.root),url:t.url}}},{key:"serializeRoute",value:function(t){var e=this,a=t.children.map(function(s){return e.serializeRoute(s)});return{params:t.params,data:t.data,url:t.url,outlet:t.outlet,title:t.title,routeConfig:t.routeConfig?{path:t.routeConfig.path,pathMatch:t.routeConfig.pathMatch,redirectTo:t.routeConfig.redirectTo,outlet:t.routeConfig.outlet,title:"string"==typeof t.routeConfig.title?t.routeConfig.title:void 0}:null,queryParams:t.queryParams,fragment:t.fragment,firstChild:a[0],children:a}}}]),o}(),Is=function(){return(Is=Is||{})[Is.PreActivation=1]="PreActivation",Is[Is.PostActivation=2]="PostActivation",Is}(),W3="router",X3=new r.InjectionToken("@ngrx/router-store Internal Configuration"),Q3=new r.InjectionToken("@ngrx/router-store Configuration");function ML(o){return(0,b.Z)({stateKey:W3,serializer:lA,navigationActionTiming:Is.PreActivation},o)}var Y3=function(){function o(){(0,f.Z)(this,o)}return(0,y.Z)(o,[{key:"serialize",value:function(t){return{root:this.serializeRoute(t.root),url:t.url}}},{key:"serializeRoute",value:function(t){var e=this,a=t.children.map(function(s){return e.serializeRoute(s)});return{params:t.params,paramMap:t.paramMap,data:t.data,url:t.url,outlet:t.outlet,title:t.title,routeConfig:t.routeConfig?{component:t.routeConfig.component,path:t.routeConfig.path,pathMatch:t.routeConfig.pathMatch,redirectTo:t.routeConfig.redirectTo,outlet:t.routeConfig.outlet,title:t.routeConfig.title}:null,queryParams:t.queryParams,queryParamMap:t.queryParamMap,fragment:t.fragment,component:t.routeConfig?t.routeConfig.component:void 0,root:void 0,parent:void 0,firstChild:a[0],pathFromRoot:void 0,children:a}}}]),o}(),J3=(0,y.Z)(function o(){(0,f.Z)(this,o)}),Ni=function(){return(Ni=Ni||{})[Ni.NONE=1]="NONE",Ni[Ni.ROUTER=2]="ROUTER",Ni[Ni.STORE=3]="STORE",Ni}(),eI=function(){var o=function(){function n(t,e,a,s,u,l){(0,f.Z)(this,n),this.store=t,this.router=e,this.serializer=a,this.errorHandler=s,this.config=u,this.activeRuntimeChecks=l,this.lastEvent=null,this.routerState=null,this.trigger=Ni.NONE,this.stateKey=this.config.stateKey,!(0,Bt.rM)()&&(0,r.isDevMode)()&&(null!=l&&l.strictActionSerializability||null!=l&&l.strictStateSerializability)&&this.serializer instanceof Y3&&console.warn("@ngrx/router-store: The serializability runtime checks cannot be enabled with the FullRouterStateSerializer. The FullRouterStateSerializer has an unserializable router state and actions that are not serializable. To use the serializability runtime checks either use the MinimalRouterStateSerializer or implement a custom router state serializer."),this.setUpStoreStateListener(),this.setUpRouterEventsListener()}return(0,y.Z)(n,[{key:"setUpStoreStateListener",value:function(){var e=this;this.store.pipe((0,Bt.Ys)(this.stateKey),(0,Pa.M)(this.store)).subscribe(function(a){var s=(0,g.Z)(a,2);e.navigateIfNeeded(s[0],s[1])})}},{key:"navigateIfNeeded",value:function(e,a){var s=this;if(e&&e.state&&this.trigger!==Ni.ROUTER&&!(this.lastEvent instanceof dr.NavigationStart)){var u=e.state.url;(function NL(o,n){return tI(o)===tI(n)})(this.router.url,u)||(this.storeState=a,this.trigger=Ni.STORE,this.router.navigateByUrl(u).catch(function(l){s.errorHandler.handleError(l)}))}}},{key:"setUpRouterEventsListener",value:function(){var s,e=this,a=this.config.navigationActionTiming===Is.PostActivation;this.router.events.pipe((0,Pa.M)(this.store)).subscribe(function(u){var l=(0,g.Z)(u,2),c=l[0],h=l[1];e.lastEvent=c,c instanceof dr.NavigationStart?(e.routerState=e.serializer.serialize(e.router.routerState.snapshot),e.trigger!==Ni.STORE&&(e.storeState=h,e.dispatchRouterRequest(c))):c instanceof dr.RoutesRecognized?(s=c,!a&&e.trigger!==Ni.STORE&&e.dispatchRouterNavigation(c)):c instanceof dr.NavigationCancel?(e.dispatchRouterCancel(c),e.reset()):c instanceof dr.NavigationError?(e.dispatchRouterError(c),e.reset()):c instanceof dr.NavigationEnd&&(e.trigger!==Ni.STORE&&(a&&e.dispatchRouterNavigation(s),e.dispatchRouterNavigated(c)),e.reset())})}},{key:"dispatchRouterRequest",value:function(e){this.dispatchRouterAction(q3,{event:e})}},{key:"dispatchRouterNavigation",value:function(e){var a=this.serializer.serialize(e.state);this.dispatchRouterAction(oA,{routerState:a,event:new dr.RoutesRecognized(e.id,e.url,e.urlAfterRedirects,a)})}},{key:"dispatchRouterCancel",value:function(e){this.dispatchRouterAction(sA,{storeState:this.storeState,event:e})}},{key:"dispatchRouterError",value:function(e){this.dispatchRouterAction(uA,{storeState:this.storeState,event:new dr.NavigationError(e.id,e.url,"".concat(e))})}},{key:"dispatchRouterNavigated",value:function(e){var a=this.serializer.serialize(this.router.routerState.snapshot);this.dispatchRouterAction(K3,{event:e,routerState:a})}},{key:"dispatchRouterAction",value:function(e,a){this.trigger=Ni.ROUTER;try{this.store.dispatch({type:e,payload:(0,b.Z)((0,b.Z)({routerState:this.routerState},a),{},{event:0===this.config.routerState?a.event:{id:a.event.id,url:a.event.url,urlAfterRedirects:a.event.urlAfterRedirects}})})}finally{this.trigger=Ni.NONE}}},{key:"reset",value:function(){this.trigger=Ni.NONE,this.storeState=null,this.routerState=null}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Bt.yh),r.\u0275\u0275inject(dr.Router),r.\u0275\u0275inject(J3),r.\u0275\u0275inject(r.ErrorHandler),r.\u0275\u0275inject(Q3),r.\u0275\u0275inject(Bt.hg))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}();function tI(o){return o?.length>0&&"/"===o[o.length-1]?o.substring(0,o.length-1):o}function VL(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.makeEnvironmentProviders)([{provide:X3,useValue:o},{provide:Q3,useFactory:ML,deps:[X3]},{provide:J3,useClass:o.serializer?o.serializer:0===o.routerState?Y3:lA},{provide:r.ENVIRONMENT_INITIALIZER,multi:!0,useFactory:function(){return function(){return(0,r.inject)(eI)}}},eI])}var BL=function(){var o=function(){function n(){(0,f.Z)(this,n)}return(0,y.Z)(n,null,[{key:"forRoot",value:function(){return{ngModule:n,providers:[VL(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})]}}}]),n}();return o.\u0275fac=function(t){return new(t||o)},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({}),o}();function t_(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function ZL(){return(0,Bt.ZF)(W3)}(),n=(0,Bt.P1)(o,function(F){return F&&F.state}),t=(0,Bt.P1)(n,function(F){return F&&F.root}),e=(0,Bt.P1)(t,function(F){if(F){for(var $=F;$.firstChild;)$=$.firstChild;return $}}),a=(0,Bt.P1)(t,function(F){return F&&F.fragment}),s=(0,Bt.P1)(t,function(F){return F&&F.queryParams}),l=(0,Bt.P1)(e,function(F){return F&&F.params}),h=(0,Bt.P1)(e,function(F){return F&&F.data}),T=(0,Bt.P1)(n,function(F){return F&&F.url}),N=(0,Bt.P1)(e,function(F){if(null!=F&&F.routeConfig)return"string"==typeof F.routeConfig.title?F.routeConfig.title:F.title});return{selectCurrentRoute:e,selectFragment:a,selectQueryParams:s,selectQueryParam:function($){return(0,Bt.P1)(s,function(se){return se&&se[$]})},selectRouteParams:l,selectRouteParam:function($){return(0,Bt.P1)(l,function(se){return se&&se[$]})},selectRouteData:h,selectRouteDataParam:function($){return(0,Bt.P1)(h,function(se){return se&&se[$]})},selectUrl:T,selectTitle:N}}var GL=function(){var o=(0,y.Z)(function n(t){(0,f.Z)(this,n),[new Rs({id:"page",title:"Page",usedContexts:function(){return(0,Le.of)(["_page"])},condition:function(t){var a=t.metadata;return t.param.flags.findIndex(function(s){return s.enabled&&"page"===s.name})>-1&&a.has("page")},evalParam:function(t){return(0,Le.of)("".concat(t.metadata.get("page")))}}),new Rs({id:"searchstring",title:"Searchstring",condition:function(t){var a=t.metadata;return t.param.flags.findIndex(function(s){return s.enabled})>-1&&a.has("searchString")},evalParam:function(t){return(0,Le.of)("".concat(t.metadata.get("searchString")))}}),new Rs({id:"route",title:"Route",usedContexts:function(){return(0,Le.of)(["_route"])},evalParam:function(t){var e=t.param,s=t.metadata.get("_route");return(0,Le.of)(s.params[e.mapping.value])}}),new Rs({id:"querystring",title:"Querystring",usedContexts:function(){return(0,Le.of)(["_page"])},evalParam:function(t){var e=t.param,s=t.metadata.get("_route");return(0,Le.of)(s.queryParams[e.mapping.value])}}),new Rs({id:"standardpagination",title:"Standard Pagination",usedContexts:function(){return(0,Le.of)(["_page"])},condition:function(t){var a=t.metadata;return t.param.flags.findIndex(function(s){return s.enabled&&"offset"===s.name})>-1&&a.has("limit")&&a.has("page")},evalParam:function(t){var a=t.metadata;return(0,Le.of)("".concat(+a.get("limit")*(+a.get("page")-1)))}})].forEach(function(e){return t.register(e)})});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Cu))},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({imports:[wu]}),o}(),n_=function(){var o=function(){function n(t,e,a){(0,f.Z)(this,n),this.routerStore=t,this.paramPluginManager=e,this.paramEvaluatorService=a}return(0,y.Z)(n,[{key:"getUrl",value:function(e,a,s){var u=this,l=t_();return this.routerStore.pipe((0,Bt.Ys)(l.selectCurrentRoute),(0,Ce.U)(function(h){return[h,e,e?e.indexOf("?"):-1]}),(0,Ce.U)(function(h){var C=(0,g.Z)(h,3),N=C[1],F=C[2];return[C[0],F>-1?N.substring(0,F):N,F>-1?N.substring(F+1):""]}),(0,st.w)(function(h){var C=(0,g.Z)(h,3),T=C[0],N=C[1],F=C[2],$=Fa.parse(F),se=N?N.split("/"):[],ue=new Map([].concat((0,_.Z)(s),[["_route",T]])),ge=u.paramNames(e),Se=a.reduce(function(Ot,pt,Lt){return new Map([].concat((0,_.Z)(Ot),[[ge[Lt],pt]]))},new Map),we=se.reduce(function(Ot,pt,Lt){return 0===pt.indexOf(":")?[].concat((0,_.Z)(Ot),[u.paramEvaluatorService.paramValue(Se.get(pt),ue)]):[].concat((0,_.Z)(Ot),[(0,Le.of)(se[Lt])])},[]),He=[],ot=function(pt){Array.isArray($[pt])?$[pt].forEach(function(Lt){return He.push(u.paramEvaluatorService.paramValue(Se.get(Lt),ue).pipe((0,Ce.U)(function($t){return[pt,$t,!0]})))}):"string"==typeof $[pt]&&$[pt].indexOf(":")>-1?He.push(u.paramEvaluatorService.paramValue(Se.get($[pt]),ue).pipe((0,Ce.U)(function(Lt){return[pt,Lt,!1]}))):He.push((0,Le.of)([pt,$[pt],Array.isArray($[pt])]))};for(var dt in $)ot(dt);return(0,$n.D)([(0,$n.D)(we).pipe((0,Ce.U)(function(Ot){return Ot.filter(function(pt){return null!=pt&&""!==pt&&"undefined"!==pt}).map(function(pt,Lt){return 0===Lt&&0===pt.indexOf("http")?"".concat(pt,"/"):pt}).join("/")}),(0,fi.d)(N)),(0,$n.D)(He).pipe((0,te.b)(function(Ot){return console.log(Ot)}),(0,Ce.U)(function(Ot){return Ot.reduce(function(pt,Lt){var $t=(0,g.Z)(Lt,3),tn=$t[0],Gt=$t[1],Ut=$t[2];if(null==Gt||""===Gt||"undefined"===Gt){var qt=(0,b.Z)({},pt);return delete qt[tn],qt}return(0,b.Z)((0,b.Z)({},pt),{},(0,d.Z)({},tn,Ut?[].concat((0,_.Z)(void 0!==pt[tn]?pt[tn]:[]),[Gt]):Gt))},u.rebuildQueryString($))}),(0,te.b)(function(Ot){return console.log(Ot)}),(0,Ce.U)(function(Ot){return Fa.stringify(Ot,{arrayFormat:"repeat",indices:!1})}),(0,fi.d)(F))]).pipe((0,Ce.U)(function(Ot){return Ot.join("?")}))}))}},{key:"paramNames",value:function(e){var a=e?e.indexOf("?"):-1,s=(a>-1?e.substring(0,a):e||"").split("/").reduce(function(h,C,T){return 0===C.indexOf(":")?(0,b.Z)((0,b.Z)({},h),{},(0,d.Z)({},C.substr(1),C)):h},{}),u=(0,b.Z)((0,b.Z)({},s),Fa.parse(e?e.substring(e.indexOf("?")+1):"")),l=[];for(var c in u)Array.isArray(u[c])?u[c].forEach(function(h){return l.push(h)}):0===u[c].indexOf(":")&&l.push(u[c]);return l}},{key:"rebuildQueryString",value:function(e){var a={};for(var s in e)Array.isArray(e[s])?a[s]=[]:null!=s[e]&&""!==s[e]&&"undefined"!==s[e]&&(a[s]=s[e]);return Fa.parse(a)}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Bt.yh),r.\u0275\u0275inject(Cu),r.\u0275\u0275inject(Ts))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}();function HL(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"mat-option",8),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&o){var t=n.$implicit;r.\u0275\u0275property("value",t.value.id),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(t.value.title)}}function qL(o,n){}function KL(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"mat-option",8),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&o){var t=n.$implicit;r.\u0275\u0275property("value",t),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(t)}}function WL(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"div",9)(1,"mat-form-field")(2,"mat-label"),r.\u0275\u0275text(3,"Binding"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(4,"mat-select",10),r.\u0275\u0275template(5,KL,2,2,"mat-option",2),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(6,"button",6),r.\u0275\u0275listener("click",function(){var l=r.\u0275\u0275restoreView(t).index,c=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(c.removeBinding(l))}),r.\u0275\u0275text(7,"Remove"),r.\u0275\u0275elementEnd()()}if(2&o){var e=n.index,a=r.\u0275\u0275nextContext();r.\u0275\u0275property("formGroupName",e),r.\u0275\u0275advance(5),r.\u0275\u0275property("ngForOf",a.bindableOptions)}}var ns=function(o){(0,z.Z)(t,o);var n=(0,H.Z)(t);function t(e){var a;return(0,f.Z)(this,t),a=n.call(this,e),e&&(a.editor=e.editor,a.fetch=e.fetch,a.getBindings=e.getBindings?e.getBindings:function(){return(0,Le.of)([])},a.editorOptions=e.editorOptions?e.editorOptions:function(){return(0,Le.of)(new hE)}),a}return(0,y.Z)(t)}(Rn.Plugin),Os=(0,y.Z)(function o(n){(0,f.Z)(this,o),n&&(this.url=n.url,this.method=n.method?n.method:void 0,void 0!==n.renderer&&(this.renderer=new cA(n.renderer)),void 0!==n.params&&(this.params=n.params.map(function(t){return new Mi(t)})),n.body&&(this.body=new El(n.body)))}),cA=(0,y.Z)(function o(n){(0,f.Z)(this,o),n&&(this.type=n.type,this.query=n.query,this.trackBy=n.trackBy,void 0!==n.data&&(this.data=new El(n.data)),void 0!==n.bindings&&(this.bindings=n.bindings.map(function(t){return new pn.ContentBinding(t)})))}),pr=(0,y.Z)(function o(n){(0,f.Z)(this,o),this.results=[],n&&(this.results=n.results)}),nI=(0,y.Z)(function o(n){(0,f.Z)(this,o),n&&(this.query=n.query,this.trackBy=n.trackBy,this.idMapping=n.idMapping,this.labelMapping=n.labelMapping,this.valueMapping=n.valueMapping,this.multiple=n.multiple,this.limit=n.limit)}),Pl=(0,y.Z)(function o(n){(0,f.Z)(this,o),this.settings=[],this.params=[],n&&(this.plugin=n.plugin,n.renderer&&(this.renderer=new cA(n.renderer)),n.settings&&(this.settings=n.settings.map(function(t){return new Nt.AttributeValue(t)})),n.params&&(this.params=n.params.map(function(t){return new Mi(t)})))}),hE=(0,y.Z)(function o(n){(0,f.Z)(this,o),this.fullscreen=!1,n&&(this.fullscreen=n.fullscreen)}),dA=new nI({query:"",trackBy:"",idMapping:"",labelMapping:"",valueMapping:"",multiple:!1,limit:0}),XL=(new Os({url:"",renderer:{type:"",data:{content:"",contentType:""},query:"",trackBy:"",bindings:[]},params:[]}),function(){var o=function(){function n(t){var e=this;(0,f.Z)(this,n),this.fb=t,this.datasourceOptions$=new U.X(dA),this.formGroup=this.fb.group({query:this.fb.control(""),trackBy:this.fb.control(""),valueMapping:this.fb.control(""),labelMapping:this.fb.control(""),idMapping:this.fb.control(""),multiple:this.fb.control(""),limit:this.fb.control("")}),this.datasourceOptionsSub=this.datasourceOptions$.subscribe(function(a){e.formGroup.setValue(a),e.formGroup.updateValueAndValidity()}),this.onTouched=function(){}}return(0,y.Z)(n,[{key:"datasourceOptions",set:function(e){this.datasourceOptions$.next(e)}},{key:"writeValue",value:function(e){e&&this.formGroup.setValue(e,{emitEvent:!1})}},{key:"registerOnChange",value:function(e){this.formGroup.valueChanges.subscribe(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){e?this.formGroup.disable():this.formGroup.enable()}},{key:"validate",value:function(e){return this.formGroup.valid?null:{datasourceOptions:{valid:!1}}}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.UntypedFormBuilder))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-datasource-options"]],inputs:{datasourceOptions:"datasourceOptions"},features:[r.\u0275\u0275ProvidersFeature([{provide:v.NG_VALUE_ACCESSOR,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0},{provide:v.NG_VALIDATORS,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0}])],decls:16,vars:1,consts:[[3,"formGroup"],["matInput","","formControlName","query","placeholder","Query"],["matInput","","formControlName","trackBy","placeholder","Track By"],["matInput","","formControlName","idMapping","placeholder","Id"],["matInput","","formControlName","valueMapping","placeholder","Value"],["matInput","","formControlName","labelMapping","placeholder","Label"],["formControlName","multiple"],["matInput","","formControlName","limit","placeholder","Limit"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"div",0)(1,"mat-form-field"),r.\u0275\u0275element(2,"input",1),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"mat-form-field"),r.\u0275\u0275element(4,"input",2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(5,"mat-form-field"),r.\u0275\u0275element(6,"input",3),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(7,"mat-form-field"),r.\u0275\u0275element(8,"input",4),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(9,"mat-form-field"),r.\u0275\u0275element(10,"input",5),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(11,"div")(12,"mat-checkbox",6),r.\u0275\u0275text(13,"Multiple"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(14,"mat-form-field"),r.\u0275\u0275element(15,"input",7),r.\u0275\u0275elementEnd()()),2&t&&r.\u0275\u0275property("formGroup",e.formGroup)},dependencies:[v.DefaultValueAccessor,v.NgControlStatus,v.NgControlStatusGroup,v.FormGroupDirective,v.FormControlName,Jy.MatLegacyCheckbox,En.MatLegacyFormField,Hr.MatLegacyInput],encapsulation:2}),o}()),rI=function(){var o=(0,y.Z)(function n(t){(0,f.Z)(this,n),this.viewContainerRef=t});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(r.ViewContainerRef))},o.\u0275dir=r.\u0275\u0275defineDirective({type:o,selectors:[["","classifiedsUiDatasourceRendererHost",""]]}),o}(),co=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(a,s){return(0,f.Z)(this,e),t.call(this,a,s)}return(0,y.Z)(e,[{key:"pluginDef",value:function(){return(0,Le.of)(new Rn.PluginDef({name:"datasource"}))}}]),e}(Rn.BasePluginManager);return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Rn.PluginConfigurationManager),r.\u0275\u0275inject(Vn.ModuleLoaderService))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),pA=function(){var o=function(){function n(t,e,a){var s=this;(0,f.Z)(this,n),this.fb=t,this.componentFactoryResolver=e,this.dpm=a,this.datasources$=this.dpm.getPlugins(),this.formGroup=this.fb.group({plugin:this.fb.control("",[v.Validators.required]),settings:this.fb.control(""),renderer:this.fb.group({type:this.fb.control("pane"),bindings:this.fb.array([])})}),this.bindableOptions=[],this.contexts=[],this.settings$=new U.X([]),this.componentRef$=new U.X(void 0),this.datasource$=new U.X(void 0),this.afterViewInit$=new ae.x,this.contextForwardingSub=this.componentRef$.pipe((0,Q.h)(function(u){return!!u})).subscribe(function(u){u.instance.contexts=s.contexts,u.instance.settings=s.settings$.value}),this.rendererSub=(0,Sr.a)([this.formGroup.get("plugin").valueChanges,this.afterViewInit$]).pipe((0,st.w)(function(u){var c=(0,g.Z)(u,2)[0];return c&&""!==c?s.dpm.getPlugin(c):(0,Le.of)(void 0)})).subscribe(function(u){u&&s.renderPlugin(u)}),this.settingsSub=(0,Sr.a)([this.componentRef$,this.settings$]).pipe((0,Q.h)(function(u){return!!(0,g.Z)(u,2)[0]})).subscribe(function(u){var l=(0,g.Z)(u,2);l[0].instance.settings=l[1]}),this.datasourceSub=this.datasource$.pipe((0,te.b)(function(u){setTimeout(function(){return s.settings$.next(u?u.settings:[])})})).subscribe(function(u){s.formGroup.get("renderer").get("bindings").clear(),u?(s.formGroup.get("plugin").setValue(u.plugin),s.formGroup.get("renderer").get("type").setValue("pane"),u.renderer&&u.renderer.bindings&&u.renderer.bindings.forEach(function(l){s.addBinding(l)})):(s.formGroup.get("plugin").setValue(""),s.formGroup.get("renderer").get("type").setValue("pane"))}),this.onTouched=function(){}}return(0,y.Z)(n,[{key:"datasource",set:function(e){this.datasource$.next(e)}},{key:"bindings",get:function(){return this.formGroup.get("renderer").get("bindings")}},{key:"ngOnInit",value:function(){}},{key:"ngAfterViewInit",value:function(){this.afterViewInit$.next(void 0)}},{key:"renderPlugin",value:function(e){var a=this.componentFactoryResolver.resolveComponentFactory(e.editor),s=this.datasourceHost.viewContainerRef;s.clear(),this.componentRef$.next(s.createComponent(a))}},{key:"writeValue",value:function(e){e&&this.formGroup.setValue(e,{emitEvent:!1})}},{key:"registerOnChange",value:function(e){this.formGroup.valueChanges.subscribe(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){e?this.formGroup.disable():this.formGroup.enable()}},{key:"validate",value:function(e){return this.formGroup.valid?null:{invalidForm:{valid:!1,message:"content is invalid"}}}},{key:"addBinding",value:function(e){this.bindings.push(this.fb.group({type:this.fb.control("pane",v.Validators.required),id:this.fb.control(e?e.id:"",v.Validators.required)}))}},{key:"removeBinding",value:function(e){this.bindings.removeAt(e)}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(r.ComponentFactoryResolver),r.\u0275\u0275directiveInject(co))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-datasource-form"]],viewQuery:function(t,e){var a;1&t&&r.\u0275\u0275viewQuery(rI,7),2&t&&r.\u0275\u0275queryRefresh(a=r.\u0275\u0275loadQuery())&&(e.datasourceHost=a.first)},inputs:{bindableOptions:"bindableOptions",contexts:"contexts",datasource:"datasource"},features:[r.\u0275\u0275ProvidersFeature([{provide:v.NG_VALUE_ACCESSOR,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0},{provide:v.NG_VALIDATORS,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0}])],decls:16,vars:7,consts:[[3,"formGroup"],["required","","formControlName","plugin"],[3,"value",4,"ngFor","ngForOf"],["classifiedsUiDatasourceRendererHost",""],["formGroupName","renderer"],["formArrayName","bindings"],["type","button",3,"click"],[3,"formGroupName",4,"ngFor","ngForOf"],[3,"value"],[3,"formGroupName"],["required","","formControlName","id"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"div",0)(1,"mat-form-field")(2,"mat-label"),r.\u0275\u0275text(3,"Datasource"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(4,"mat-select",1),r.\u0275\u0275template(5,HL,2,2,"mat-option",2),r.\u0275\u0275pipe(6,"keyvalue"),r.\u0275\u0275pipe(7,"async"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementContainerStart(8),r.\u0275\u0275template(9,qL,0,0,"ng-template",3),r.\u0275\u0275elementContainerEnd(),r.\u0275\u0275elementStart(10,"div",4)(11,"div",5)(12,"button",6),r.\u0275\u0275listener("click",function(){return e.addBinding()}),r.\u0275\u0275text(13,"Add Binding"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(14,"div"),r.\u0275\u0275template(15,WL,8,2,"div",7),r.\u0275\u0275elementEnd()()()()),2&t&&(r.\u0275\u0275property("formGroup",e.formGroup),r.\u0275\u0275advance(5),r.\u0275\u0275property("ngForOf",r.\u0275\u0275pipeBind1(6,3,r.\u0275\u0275pipeBind1(7,5,e.datasources$))),r.\u0275\u0275advance(10),r.\u0275\u0275property("ngForOf",e.bindings.controls))},dependencies:[P.NgForOf,v.NgControlStatus,v.NgControlStatusGroup,v.RequiredValidator,v.FormGroupDirective,v.FormControlName,v.FormGroupName,v.FormArrayName,bi.MatLegacyOption,En.MatLegacyFormField,En.MatLegacyLabel,Fi.MatLegacySelect,rI,P.AsyncPipe,P.KeyValuePipe]}),o}(),QL=function(){var o=function(){function n(t,e){var a=this;(0,f.Z)(this,n),this.fb=t,this.attributeSerializer=e,this.settings$=new U.X(void 0),this.formGroup=this.fb.group({data:this.fb.control("")}),this.settingsSub=this.settings$.pipe((0,Ce.U)(function(s){return s?a.attributeSerializer.deserializeAsObject(s):void 0})).subscribe(function(s){s&&s.data?a.formGroup.get("data").setValue(s.data):a.formGroup.get("data").setValue("")}),this.onTouched=function(){}}return(0,y.Z)(n,[{key:"settings",set:function(e){this.settings$.next(e)}},{key:"ngOnInit",value:function(){}},{key:"writeValue",value:function(e){e&&this.formGroup.setValue(e,{emitEvent:!1})}},{key:"registerOnChange",value:function(e){this.formGroup.valueChanges.subscribe(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){e?this.formGroup.disable():this.formGroup.enable()}},{key:"validate",value:function(e){return this.formGroup.valid?null:{invalidForm:{valid:!1,message:"content is invalid"}}}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(Nt.AttributeSerializerService))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-data-source-form"]],inputs:{settings:"settings"},features:[r.\u0275\u0275ProvidersFeature([{provide:v.NG_VALUE_ACCESSOR,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0},{provide:v.NG_VALIDATORS,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0}])],decls:2,vars:1,consts:[[3,"formGroup"],["formControlName","data","cols","60","rows","20"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"div",0),r.\u0275\u0275element(1,"textarea",1),r.\u0275\u0275elementEnd()),2&t&&r.\u0275\u0275property("formGroup",e.formGroup)},dependencies:[v.DefaultValueAccessor,v.NgControlStatus,v.NgControlStatusGroup,v.FormGroupDirective,v.FormControlName]}),o}(),YL=function(){var o=(0,y.Z)(function n(t){(0,f.Z)(this,n),this.controlContainer=t,this.settings=[]});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.ControlContainer))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-data-datasource"]],inputs:{settings:"settings"},decls:2,vars:2,consts:[[3,"formGroup"],["formControlName","settings",3,"settings"]],template:function(t,e){1&t&&(r.\u0275\u0275elementContainerStart(0,0),r.\u0275\u0275element(1,"classifieds-ui-data-source-form",1),r.\u0275\u0275elementContainerEnd()),2&t&&(r.\u0275\u0275property("formGroup",e.controlContainer.control),r.\u0275\u0275advance(1),r.\u0275\u0275property("settings",e.settings))},dependencies:[v.NgControlStatus,v.NgControlStatusGroup,v.FormGroupDirective,v.FormControlName,QL],encapsulation:2}),o}(),JL=function(){var o=function(){function n(t,e){var a=this;(0,f.Z)(this,n),this.fb=t,this.attributeSerializer=e,this.settings$=new U.X(void 0),this.formGroup=this.fb.group({data:this.fb.control("")}),this.settingsSub=this.settings$.pipe((0,Ce.U)(function(s){return s?a.attributeSerializer.deserializeAsObject(s):void 0})).subscribe(function(s){}),this.onTouched=function(){}}return(0,y.Z)(n,[{key:"settings",set:function(e){this.settings$.next(e)}},{key:"ngOnInit",value:function(){}},{key:"writeValue",value:function(e){e&&this.formGroup.setValue(e,{emitEvent:!1})}},{key:"registerOnChange",value:function(e){this.formGroup.valueChanges.subscribe(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){e?this.formGroup.disable():this.formGroup.enable()}},{key:"validate",value:function(e){return this.formGroup.valid?null:{invalidForm:{valid:!1,message:"content is invalid"}}}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(Nt.AttributeSerializerService))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-datasource-source-form"]],inputs:{settings:"settings"},features:[r.\u0275\u0275ProvidersFeature([{provide:v.NG_VALUE_ACCESSOR,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0},{provide:v.NG_VALIDATORS,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0}])],decls:2,vars:0,template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"p"),r.\u0275\u0275text(1,"Datasource"),r.\u0275\u0275elementEnd())}}),o}(),ej=function(){var o=(0,y.Z)(function n(t){(0,f.Z)(this,n),this.controlContainer=t,this.settings=[]});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.ControlContainer))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-datasource-source"]],inputs:{settings:"settings"},decls:2,vars:2,consts:[[3,"formGroup"],["formControlName","settings",3,"settings"]],template:function(t,e){1&t&&(r.\u0275\u0275elementContainerStart(0,0),r.\u0275\u0275element(1,"classifieds-ui-datasource-source-form",1),r.\u0275\u0275elementContainerEnd()),2&t&&(r.\u0275\u0275property("formGroup",e.controlContainer.control),r.\u0275\u0275advance(1),r.\u0275\u0275property("settings",e.settings))},dependencies:[v.NgControlStatus,v.NgControlStatusGroup,v.FormGroupDirective,v.FormControlName,JL],encapsulation:2}),o}(),tj=function(n){return new ns({id:"data",title:"Data",editor:YL,fetch:function(e){var a=e.settings;return(0,Le.of)(new pr).pipe((0,Ce.U)(function(){return n.deserializeAsObject(a)}),(0,Ce.U)(function(s){return new pr({results:JSON.parse(s.data)})}))}})},Al=function(){var o=(0,y.Z)(function n(t,e){(0,f.Z)(this,n),[tj(e),new ns({id:"datasource_datasource",title:"Datasource",editor:ej,fetch:function(e){return(0,Le.of)(new pr)}})].forEach(function(a){return t.register(a)})});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(co),r.\u0275\u0275inject(Nt.AttributeSerializerService))},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({imports:[P.CommonModule,v.ReactiveFormsModule,Oi.MaterialModule,GL]}),o}(),iI=function(){var o=function(){function n(t,e){(0,f.Z)(this,n),this.config=t,this.http=e,this.cache=new Map}return(0,y.Z)(n,[{key:"getData",value:function(e){var a=this;return this.cache.has(e)?(0,Le.of)(this.cache.get(e)).pipe((0,Rr.g)(0)):this.http.get("".concat(e)).pipe((0,si.K)(function(){return(0,Le.of)([])}),(0,Ce.U)(function(s){return Array.isArray(s)?s:[s]}),(0,te.b)(function(s){return a.cache.set(e,s)}))}},{key:"postData",value:function(e){var s=e.body,u=void 0===s?"":s;return this.http.post("".concat(e.url),u).pipe((0,Ce.U)(function(l){return Array.isArray(l)?l:[l]}))}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(xs),r.\u0275\u0275inject(O.HttpClient))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),aI=(0,y.Z)(function o(n){(0,f.Z)(this,o),n&&(this.label=n.label,this.dataItem=n.dataItem,void 0!==n.value&&(this.value=n.value))}),oI=(0,y.Z)(function o(n){(0,f.Z)(this,o),n&&(this.value=n.value,this.label=n.label,this.id=n.id,this.multiple=n.multiple,this.limit=n.limit)}),sI=function(){var o=function(){function n(t,e){(0,f.Z)(this,n),this.dpm=t,this.attributeSerializer=e}return(0,y.Z)(n,[{key:"evalDatasource",value:function(e){var a=this,u=e.metadata,l=e.datasources;return(0,Le.of)(e.datasource).pipe((0,st.w)(function(c){return a.dpm.getPlugin(c.plugin).pipe((0,Ce.U)(function(h){return[c,h]}))}),(0,st.w)(function(c){var h=(0,g.Z)(c,2),C=h[0];return h[1].fetch({settings:C.settings,metadata:u,datasource:C,datasources:l}).pipe((0,Ce.U)(function(N){return[C,N]}))}),(0,st.w)(function(c){var h=(0,g.Z)(c,2),T=h[1];return(0,$n.D)(h[0].renderer.bindings.reduce(function(N,F){return[].concat((0,_.Z)(N),(0,_.Z)(l&&l.has(F.id)?[(0,Le.of)(l.get(F.id))]:[]))},[])).pipe((0,st.w)(function(N){return N.reduce(function(F,$){return F.pipe((0,st.w)(function(se){return a.dpm.getPlugin($.plugin).pipe((0,Ce.U)(function(ue){return[ue,se,$]}))}),(0,st.w)(function(se){var ue=(0,g.Z)(se,3);return ue[0].fetch({settings:$.settings,dataset:ue[1],metadata:u,datasource:ue[2],datasources:l})}))},(0,Le.of)(T))}),(0,Ce.U)(function(N){return N}),(0,fi.d)(T))}))}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(co),r.\u0275\u0275inject(Nt.AttributeSerializerService))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),kl=function(){var o=(0,y.Z)(function n(){(0,f.Z)(this,n)});return o.\u0275fac=function(t){return new(t||o)},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),r_=function(o){(0,z.Z)(t,o);var n=(0,H.Z)(t);function t(e){var a;return(0,f.Z)(this,t),a=n.call(this,e),e&&(a.build=e.build),a}return(0,y.Z)(t)}(Rn.Plugin),rj=function(n){return function(){return new Promise(function(t){n.build(),t()})}},Ud=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(a,s){return(0,f.Z)(this,e),t.call(this,a,s)}return(0,y.Z)(e,[{key:"pluginDef",value:function(){return(0,Le.of)(new Rn.PluginDef({name:"bridgebuilder"}))}}]),e}(Rn.BasePluginManager);return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Rn.PluginConfigurationManager),r.\u0275\u0275inject(Vn.ModuleLoaderService))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),aj=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.bpm=t}return(0,y.Z)(n,[{key:"build",value:function(){try{console.log("build bridge..."),this.bpm.getPlugins().subscribe(function(e){Array.from(e).forEach(function(a){var s=(0,g.Z)(a,2),u=s[0];s[1].build(),console.log("bridge build: "+u)})}),console.log("bridge built.")}catch{}}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Ud))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),uI=function(){var o=(0,y.Z)(function n(t){(0,f.Z)(this,n),console.log("bridge constructor"),t.register(new r_({id:"test",title:"Test",build:function(){kl.prototype.sayHello2=function(){alert("say hello 2")}}}))});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Ud))},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({providers:[{provide:r.APP_INITIALIZER,useFactory:rj,deps:[aj],multi:!0}]}),o}(),lI=S(24503),fA=S(26067);function oj(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"mat-option",3),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&o){var t=n.$implicit;r.\u0275\u0275property("value",t),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(t)}}function sj(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"mat-option",5),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&o){var t=n.$implicit;r.\u0275\u0275property("value",t.value.name),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(t.value.title)}}function uj(o,n){}var mA=new r.InjectionToken("ContextPlugin"),Fs=function(o){(0,z.Z)(t,o);var n=(0,H.Z)(t);function t(e){var a;return(0,f.Z)(this,t),(a=n.call(this,e)).global=!1,e&&(a.name=a.id,a.baseObject=e.baseObject,a.resolver=e.resolver,a.global=void 0!==e.global&&e.global,a.internal=void 0!==e.internal&&e.internal,a.group=void 0!==e.group?e.group:void 0,e.editorComponent&&(a.editorComponent=e.editorComponent)),a}return(0,y.Z)(t)}(Rn.Plugin),la=(0,y.Z)(function o(n){(0,f.Z)(this,o),this.name=n.name,this.adaptor=n.adaptor,n.plugin&&(this.plugin=n.plugin),"rest"===this.adaptor?this.rest=new Os(n.rest):"snippet"===this.adaptor||"json"===this.adaptor?this.snippet=new El(n.snippet):"data"===this.adaptor?this.data=n.data:"token"===this.adaptor?this.tokens=new Map((0,_.Z)(n.tokens)):"datasource"===this.adaptor&&(this.datasource=new Pl(n.datasource))}),hA=(0,y.Z)(function o(n){(0,f.Z)(this,o),n&&(this.name=n.name)}),lj=function(){var o=function(){function n(t,e){var a=this;(0,f.Z)(this,n),this.fb=t,this.attributeSerializer=e,this.contexts=[],this.settings$=new U.X(void 0),this.formGroup=this.fb.group({name:this.fb.control("",[v.Validators.required])}),this.settingsSub=this.settings$.pipe((0,Ce.U)(function(s){return s?new hA(a.attributeSerializer.deserializeAsObject(s)):void 0})).subscribe(function(s){s?a.formGroup.get("name").setValue(s.name):a.formGroup.get("name").setValue("")}),this.onTouched=function(){}}return(0,y.Z)(n,[{key:"settings",set:function(e){this.settings$.next(e)}},{key:"writeValue",value:function(e){e&&this.formGroup.setValue(e,{emitEvent:!1})}},{key:"registerOnChange",value:function(e){this.formGroup.valueChanges.subscribe(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){e?this.formGroup.disable():this.formGroup.enable()}},{key:"validate",value:function(e){return this.formGroup.valid?null:{invalidForm:{valid:!1,message:"content is invalid"}}}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(Nt.AttributeSerializerService))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-context-datasource-form"]],inputs:{contexts:"contexts",settings:"settings"},features:[r.\u0275\u0275ProvidersFeature([{provide:v.NG_VALUE_ACCESSOR,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0},{provide:v.NG_VALIDATORS,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0}])],decls:6,vars:2,consts:[[3,"formGroup"],["required","","formControlName","name"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"div",0)(1,"mat-form-field")(2,"mat-label"),r.\u0275\u0275text(3,"Context"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(4,"mat-select",1),r.\u0275\u0275template(5,oj,2,2,"mat-option",2),r.\u0275\u0275elementEnd()()()),2&t&&(r.\u0275\u0275property("formGroup",e.formGroup),r.\u0275\u0275advance(5),r.\u0275\u0275property("ngForOf",e.contexts))},dependencies:[P.NgForOf,v.NgControlStatus,v.NgControlStatusGroup,v.RequiredValidator,v.FormGroupDirective,v.FormControlName,bi.MatLegacyOption,En.MatLegacyFormField,En.MatLegacyLabel,Fi.MatLegacySelect]}),o}(),cj=function(){var o=(0,y.Z)(function n(t){(0,f.Z)(this,n),this.controlContainer=t,this.contexts=[],this.settings=[]});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.ControlContainer))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-context-datasource"]],inputs:{contexts:"contexts",settings:"settings"},decls:2,vars:3,consts:[[3,"formGroup"],["formControlName","settings",3,"contexts","settings"]],template:function(t,e){1&t&&(r.\u0275\u0275elementContainerStart(0,0),r.\u0275\u0275element(1,"classifieds-ui-context-datasource-form",1),r.\u0275\u0275elementContainerEnd()),2&t&&(r.\u0275\u0275property("formGroup",e.controlContainer.control),r.\u0275\u0275advance(1),r.\u0275\u0275property("contexts",e.contexts)("settings",e.settings))},dependencies:[v.NgControlStatus,v.NgControlStatusGroup,v.FormGroupDirective,v.FormControlName,lj],encapsulation:2}),o}(),dj=function(){var o=function(){function n(t,e,a){(0,f.Z)(this,n),this.fb=t,this.controlContainer=e,this.attributeSerializer=a}return(0,y.Z)(n,[{key:"ngOnInit",value:function(){var e=this;this.controlContainer.control.addControl("adaptor",this.fb.control("datasource",v.Validators.required)),this.controlContainer.control.addControl("datasource",this.fb.control("")),this.controlContainer.control.addControl("_proxy",this.fb.control("")),this.proxyControlSub=this.controlContainer.control.get("_proxy").valueChanges.pipe((0,Ce.U)(function(a){return a?new Pl((0,b.Z)((0,b.Z)({},a),{},{settings:e.attributeSerializer.serialize(a.settings,"settings").attributes})):new Pl}),(0,te.b)(function(a){return e.controlContainer.control.get("datasource").setValue(a)})).subscribe()}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(v.ControlContainer),r.\u0275\u0275directiveInject(Nt.AttributeSerializerService))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-datasource-context-editor"]],viewQuery:function(t,e){var a;1&t&&r.\u0275\u0275viewQuery(pA,7),2&t&&r.\u0275\u0275queryRefresh(a=r.\u0275\u0275loadQuery())&&(e.datasourceFormComp=a.first)},decls:2,vars:1,consts:[[3,"formGroup"],["formControlName","_proxy"]],template:function(t,e){1&t&&(r.\u0275\u0275elementContainerStart(0,0),r.\u0275\u0275element(1,"classifieds-ui-datasource-form",1),r.\u0275\u0275elementContainerEnd()),2&t&&r.\u0275\u0275property("formGroup",e.controlContainer.control)},dependencies:[v.NgControlStatus,v.NgControlStatusGroup,v.FormGroupDirective,v.FormControlName,pA],encapsulation:2}),o}(),pj=function(n){return new Fs({id:"route",name:"route",title:"Route",global:!0,baseObject:{path:"",arg0:"",arg2:"",arg3:"",arg4:"",arg5:""},resolver:n})},gA=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.routerStore=t}return(0,y.Z)(n,[{key:"resolve",value:function(e,a){var s=t_();return this.routerStore.pipe((0,Bt.Ys)(s.selectCurrentRoute),(0,Ce.U)(function(l){return{path:"/pages/panelpage/".concat(l.params.panelPageId)}}))}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Bt.yh))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),cI=function(){var o=(0,y.Z)(function n(t){(0,f.Z)(this,n),this.viewContainerRef=t});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(r.ViewContainerRef))},o.\u0275dir=r.\u0275\u0275defineDirective({type:o,selectors:[["","classifiedsUiContextEditorHost",""]]}),o}(),Su=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(a,s){return(0,f.Z)(this,e),t.call(this,a,s)}return(0,y.Z)(e,[{key:"pluginDef",value:function(){return(0,Le.of)(new Rn.PluginDef({name:"context"}))}}]),e}(Rn.BasePluginManager);return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Rn.PluginConfigurationManager),r.\u0275\u0275inject(Vn.ModuleLoaderService))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),dI=function(){var o=function(){function n(t,e,a){(0,f.Z)(this,n),this.fb=t,this.componentFactoryResolver=e,this.cpm=a,this.contextForm=this.fb.group({name:this.fb.control("",v.Validators.required),plugin:this.fb.control("",v.Validators.required)}),this.context$=new U.X(void 0),this.onTouched=function(){}}return(0,y.Z)(n,[{key:"context",set:function(e){this.context$.next(e)}},{key:"ngOnInit",value:function(){var e=this;this.contextPlugins=this.cpm.getPlugins().pipe((0,Ce.U)(function(a){return new Map(Array.from(a).filter(function(s,u){return!(0,g.Z)(s,2)[1].internal}).map(function(s,u){var h=(0,g.Z)(s,2)[1];return[h.name,h]}))})),this.contextForm.get("plugin").valueChanges.pipe((0,st.w)(function(a){return e.cpm.getPlugin(a)})).subscribe(function(a){a.editorComponent?e.renderEditor(a):e.editorHost.viewContainerRef.clear()}),this.context$.pipe((0,Q.h)(function(){return!!e.componentRef})).subscribe(function(a){e.componentRef.instance.context=a})}},{key:"writeValue",value:function(e){e&&this.contextForm.setValue(e,{emitEvent:!1})}},{key:"registerOnChange",value:function(e){this.contextForm.valueChanges.subscribe(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){e?this.contextForm.disable():this.contextForm.enable()}},{key:"validate",value:function(e){return this.contextForm.valid?null:{invalidForm:{valid:!1,message:"context is invalid"}}}},{key:"renderEditor",value:function(e){var a=this.componentFactoryResolver.resolveComponentFactory(e.editorComponent),s=this.editorHost.viewContainerRef;s.clear(),this.componentRef=s.createComponent(a),this.componentRef.instance.context=this.context$.value}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(r.ComponentFactoryResolver),r.\u0275\u0275directiveInject(Su))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-context-form"]],viewQuery:function(t,e){var a;1&t&&r.\u0275\u0275viewQuery(cI,7),2&t&&r.\u0275\u0275queryRefresh(a=r.\u0275\u0275loadQuery())&&(e.editorHost=a.first)},inputs:{context:"context"},features:[r.\u0275\u0275ProvidersFeature([{provide:v.NG_VALUE_ACCESSOR,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0},{provide:v.NG_VALIDATORS,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0}])],decls:12,vars:6,consts:[["fxLayout","column",3,"formGroup"],["matInput","","formControlName","name","placeholder","Name","required",""],["required","","formControlName","plugin"],[3,"value",4,"ngFor","ngForOf"],["classifiedsUiContextEditorHost",""],[3,"value"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"div",0)(1,"mat-form-field"),r.\u0275\u0275element(2,"input",1),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"mat-form-field")(4,"mat-label"),r.\u0275\u0275text(5,"Type"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(6,"mat-select",2),r.\u0275\u0275template(7,sj,2,2,"mat-option",3),r.\u0275\u0275pipe(8,"keyvalue"),r.\u0275\u0275pipe(9,"async"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementContainerStart(10),r.\u0275\u0275template(11,uj,0,0,"ng-template",4),r.\u0275\u0275elementContainerEnd(),r.\u0275\u0275elementEnd()),2&t&&(r.\u0275\u0275property("formGroup",e.contextForm),r.\u0275\u0275advance(7),r.\u0275\u0275property("ngForOf",r.\u0275\u0275pipeBind1(8,2,r.\u0275\u0275pipeBind1(9,4,e.contextPlugins))))},dependencies:[P.NgForOf,v.DefaultValueAccessor,v.NgControlStatus,v.NgControlStatusGroup,v.RequiredValidator,v.FormGroupDirective,v.FormControlName,bi.MatLegacyOption,En.MatLegacyFormField,En.MatLegacyLabel,Hr.MatLegacyInput,Fi.MatLegacySelect,Wt,cI,P.AsyncPipe,P.KeyValuePipe]}),o}(),vA=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.dpm=t}return(0,y.Z)(n,[{key:"resolve",value:function(e,a,s){var u=this;return(0,Le.of)(new pr).pipe((0,Ce.U)(function(){return new Pl(a)}),(0,st.w)(function(l){return u.dpm.getPlugin(l.plugin).pipe((0,Ce.U)(function(c){return{ds:l,p:c}}))}),(0,st.w)(function(l){return l.p.fetch({settings:l.ds.settings,metadata:s})}),(0,Ce.U)(function(l){return l}))}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(co))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),vj=function(){function o(n,t){(0,f.Z)(this,o),this.cpm=n,this.rcm=t}return(0,y.Z)(o,[{key:"resolveGlobals",value:function(){return arguments.length>0&&void 0!==arguments[0]||vr(),this.cpm.getPlugins().pipe((0,Ce.U)(function(e){return Array.from(e.values()).filter(function(a){return!0===a.global})}),(0,st.w)(function(e){return Y.T.apply(void 0,(0,_.Z)(e.map(function(a){return a.resolver.resolve(a,{}).pipe((0,Ce.U)(function(s){return[a.name,s,e.length]}))}))).pipe((0,lI.R)(function(a,s){var u=(0,g.Z)(s,3),l=u[0],c=u[1],h=u[2];return new Map([].concat((0,_.Z)(a),[["_".concat(l),c],["__len",h]]))},new Map([])),(0,Q.h)(function(a){return a.size-1==+a.get("__len")}),(0,Ce.U)(function(a){return Object.assign.apply(Object,[{}].concat((0,_.Z)((0,_.Z)(a.entries()).filter(function(s){return"__len"!==(0,g.Z)(s,2)[0]}).map(function(s){var u=(0,g.Z)(s,2);return(0,d.Z)({},u[0],u[1])}))))}))}))}},{key:"resolveGlobalsSingle",value:function(){return arguments.length>0&&void 0!==arguments[0]||vr(),this.cpm.getPlugins().pipe((0,Ce.U)(function(e){return Array.from(e.values()).filter(function(a){return!0===a.global})}),(0,st.w)(function(e){return Y.T.apply(void 0,(0,_.Z)(e.map(function(a){return a.resolver.resolve(a,{}).pipe((0,Ce.U)(function(s){return[a.name,s]}))})))}))}},{key:"resolveAll",value:function(t){var e=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:vr();return Y.T.apply(void 0,(0,_.Z)(t.map(function(s){return e.resolve(s,a).pipe((0,Ce.U)(function(u){return[s.name,Array.isArray(u)?u.length>0?u[0]:void 0:u]}))}))).pipe((0,lI.R)(function(s,u){var l=(0,g.Z)(u,2),c=l[0],h=l[1];return new Map([].concat((0,_.Z)(s),[[c,h]]))},new Map),(0,Q.h)(function(s){return s.size===t.length}),(0,Ce.U)(function(s){return Object.assign.apply(Object,[{}].concat((0,_.Z)((0,_.Z)(s.entries()).map(function(u){var l=(0,g.Z)(u,2);return(0,d.Z)({},l[0],l[1])}))))}))}},{key:"resolveAllSingle",value:function(t){var e=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:vr();return Y.T.apply(void 0,(0,_.Z)(t.map(function(s){return e.resolve(s,a).pipe((0,Ce.U)(function(u){return[s.name,Array.isArray(u)?u.length>0?u[0]:void 0:u]}))}))).pipe((0,Ce.U)(function(s){var u=(0,g.Z)(s,2);return[u[0],u[1]]}))}},{key:"resolveMerged",value:function(t){var e=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:vr();return this.rcm.getPlugins().pipe((0,st.w)(function(){return e.rcm.add$.pipe((0,fi.d)(void 0))}),(0,st.w)(function(){return e.rcm.getPlugins()}),(0,st.w)(function(s){return(0,Sr.a)([].concat((0,_.Z)(Array.from(s).map(function(u){return(0,g.Z)(u,2)[1].resolve()})),[e.resolveGlobals(a),0===t.length?(0,Le.of)({}):e.resolveAll(t,a)])).pipe((0,Ar.b)(0),(0,Ce.U)(function(u){return u.reduce(function(l,c){return(0,b.Z)((0,b.Z)({},l),c)},{})}))}))}},{key:"resolveMergedSingle",value:function(t){var e=this;return arguments.length>1&&void 0!==arguments[1]||vr(),0!==t.length?this.rcm.getPlugins().pipe((0,st.w)(function(s){return Y.T.apply(void 0,(0,_.Z)(Array.from(s).map(function(u){return(0,g.Z)(u,2)[1].resolveSingle()})).concat([e.resolveGlobalsSingle(),e.resolveAllSingle(t)]))})):this.rcm.getPlugins().pipe((0,st.w)(function(s){return Y.T.apply(void 0,(0,_.Z)(Array.from(s).map(function(u){return(0,g.Z)(u,2)[1].resolveSingle()})).concat([e.resolveGlobalsSingle()]))}))}},{key:"resolve",value:function(t){var e=this;return arguments.length>1&&void 0!==arguments[1]||vr(),t.plugin?this.cpm.getPlugin(t.plugin).pipe((0,st.w)(function(s){return s.resolver.resolve(s,e.getDataObject(t),new Map([["name",t.name]]))})):(0,Le.of)(this.getDataObject(t))}},{key:"getDataObject",value:function(t){switch(t.adaptor){case"rest":return t.rest;case"snippet":return t.snippet;case"json":return JSON.parse(t.snippet.content);case"data":return t.data;case"token":return t.tokens;case"datasource":return t.datasource;default:return}}}]),o}(),pI=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(a,s){var u;return(0,f.Z)(this,e),(u=t.call(this,a,s)).add$=new fA.t(1),u}return(0,y.Z)(e,[{key:"pluginDef",value:function(){return(0,Le.of)(new Rn.PluginDef({name:"resolved_context"}))}},{key:"register",value:function(s){var u=this.pluginInstances.has(s.id);(0,Et.Z)((0,Ee.Z)(e.prototype),"register",this).call(this,s),u||this.add$.next(void 0)}}]),e}(Rn.BasePluginManager);return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Rn.PluginConfigurationManager),r.\u0275\u0275inject(Vn.ModuleLoaderService))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),zd=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(a,s){return(0,f.Z)(this,e),t.call(this,a,s)}return(0,y.Z)(e)}(vj);return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Su),r.\u0275\u0275inject(pI))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),Gd=function(){var o=(0,y.Z)(function n(t,e,a,s,u,l,c,h,C){(0,f.Z)(this,n),t.forEach(function(T){return s.register(T)}),u.register(function(n,t){return new r_({id:"context",title:"Context",build:function(){kl.prototype.resolveContext=function(a,s){return new Promise(function(u){n.getPlugin(a).pipe((0,st.w)(function(l){return l.resolver.resolve(l,s).pipe((0,An.q)(1))})).subscribe(function(l){u(l)})})},kl.prototype.resolveMergedContext=function(a){return new Promise(function(s){t.resolveMerged(a).pipe((0,te.b)(function(u){return s(u)}),(0,An.q)(1)).subscribe()})}}})}(s,e)),c.register(function(n,t){return new Rs({id:"context",title:"Context",evalParam:function(a){var s=a.param,l=s.mapping.context&&""!==s.mapping.context?new la(a.metadata.get("contexts").find(function(c){return c.name===s.mapping.context})):void 0;return l?n.resolve(l).pipe((0,An.q)(1),(0,st.w)(function(c){return Or(function(){return s.mapping.value&&""!==s.mapping.value},(0,Le.of)(c).pipe((0,Ce.U)(function(h){return t.generateGenericTokens(Array.isArray(h)?h[0]:h)}),(0,Ce.U)(function(h){return t.replaceTokens("[".concat(s.mapping.value,"]"),h)}),(0,An.q)(1)),(0,Le.of)(Array.isArray(c)?c[0]:c)).pipe((0,An.q)(1))})):(0,Le.of)()},usedContexts:function(a){return(0,Le.of)([a.param.mapping.context])}})}(e,a)),l.register(function(n,t){return new ns({id:"context",title:"Context",editor:cj,fetch:function(a){var s=a.settings,u=a.metadata;return(0,Le.of)(new pr).pipe((0,Ce.U)(function(){return new hA(t.deserializeAsObject(s))}),(0,Ce.U)(function(l){return u.get("contexts").find(function(c){return c.name===l.name})}),(0,st.w)(function(l){return n.resolve(l).pipe((0,Ce.U)(function(c){return c instanceof pr?c:new pr({results:Array.isArray(c)?c:[c]})}),(0,An.q)(1))}))},getBindings:function(a){var s=a.settings;return(0,Le.of)([]).pipe((0,Ce.U)(function(){return new hA(t.deserializeAsObject(s))}),(0,Ce.U)(function(l){return[new pn.ContentBinding({id:l.name,type:"context"})]}))}})}(e,h)),s.register(function(n){var t={dataset:new pr};return new Fs({id:"datasource",name:"datasource",title:"Datasource",baseObject:t,resolver:n,editorComponent:dj})}(C))});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(mA),r.\u0275\u0275inject(zd),r.\u0275\u0275inject(Pr),r.\u0275\u0275inject(Su),r.\u0275\u0275inject(Ud),r.\u0275\u0275inject(co),r.\u0275\u0275inject(Cu),r.\u0275\u0275inject(Nt.AttributeSerializerService),r.\u0275\u0275inject(vA))},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({providers:[{provide:gA,useClass:gA},{provide:vA,useClass:vA},{provide:mA,useFactory:pj,multi:!0,deps:[gA]}],imports:[P.CommonModule,v.ReactiveFormsModule,v.FormsModule,Oi.MaterialModule,oi,Hy,aA,Al]}),o}(),yj=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.contextPlugins=t}return(0,y.Z)(n,[{key:"getAll",value:function(e){return typeof e>"u"?this.contextPlugins:this.contextPlugins.filter(e?function(a){return a.global}:function(a){return!a.global})}},{key:"getAllObjects",value:function(){return this.contextPlugins.map(function(e){return e.baseObject})}},{key:"lookupContext",value:function(e){return this.contextPlugins.find(function(a){return a.name===e})}},{key:"register",value:function(e){this.contextPlugins.push(e)}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(mA))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),_j=function(o){(0,z.Z)(t,o);var n=(0,H.Z)(t);function t(e){var a;return(0,f.Z)(this,t),(a=n.call(this,e)).resolve=e.resolve,a.resolveSingle=e.resolveSingle,a}return(0,y.Z)(t)}(Rn.Plugin),yA=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.ppm=t}return(0,y.Z)(n,[{key:"extractContexts",value:function(e){var a=this;return(0,$n.D)(e.map(function(s){return a.ppm.getPlugin(s.mapping.type).pipe((0,st.w)(function(u){return Or(function(){return!!u&&!!u.usedContexts},u&&u.usedContexts?u.usedContexts({param:s,metadata:new Map([])}):(0,Le.of)([]),(0,Le.of)([]))}))})).pipe((0,Ce.U)(function(s){return s.reduce(function(u,l){return[].concat((0,_.Z)(u),(0,_.Z)(l.filter(function(c){return!u.includes(c)})))},[])}))}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Cu))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),xj=function(){var o=function(){function n(t,e,a){(0,f.Z)(this,n),this.routerStore=t,this.router=e}return(0,y.Z)(n,[{key:"ngOnInit",value:function(){}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Bt.yh),r.\u0275\u0275directiveInject(dr.Router),r.\u0275\u0275directiveInject(Dr))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["druid-alias-catch-all-router"]],decls:2,vars:0,template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"p"),r.\u0275\u0275text(1,"Page Not Found"),r.\u0275\u0275elementEnd())}}),o}(),bj=[],Cj=function(){var o=(0,y.Z)(function n(){(0,f.Z)(this,n)});return o.\u0275fac=function(t){return new(t||o)},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({imports:[Vn.UtilsModule,dr.RouterModule.forChild(bj)]}),o}(),fI=function(o){(0,z.Z)(t,o);var n=(0,H.Z)(t);function t(e){var a;return(0,f.Z)(this,t),a=n.call(this,e),e&&(a.loadingStrategy=e.loadingStrategy,a.matchingStrategy=e.matchingStrategy,a.redirectHandler=e.redirectHandler),a}return(0,y.Z)(t)}(Rn.Plugin),mI=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(a,s){return(0,f.Z)(this,e),t.call(this,a,s)}return(0,y.Z)(e,[{key:"pluginDef",value:function(){return(0,Le.of)(new Rn.PluginDef({name:"alias"}))}}]),e}(Rn.BasePluginManager);return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Rn.PluginConfigurationManager),r.\u0275\u0275inject(Vn.ModuleLoaderService))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),hI=function(){var o=function(){function n(t,e,a,s){(0,f.Z)(this,n),this.siteName=t,this.router=e,this.apm=a,this.routesLoaded=!1}return(0,y.Z)(n,[{key:"canActivate",value:function(e,a){var s=this;return console.log("catch all alias hit"),new Promise(function(u){s.apm.getPlugins().pipe((0,st.w)(function(l){return(0,$n.D)(s.routesLoaded?[]:Array.from(l).map(function(c){return(0,g.Z)(c,2)[1].loadingStrategy.load()})).pipe((0,fi.d)(void 0))}),(0,te.b)(function(){return s.routesLoaded=!0}),(0,st.w)(function(){return s.apm.getPlugins()}),(0,st.w)(function(l){return(0,$n.D)(Array.from(l).map(function(c){var T=(0,g.Z)(c,2)[1];return T.matchingStrategy.match(a).pipe((0,Ce.U)(function(N){return[T,N]}))}))})).subscribe(function(l){if(console.log("routes loaded: ".concat(s.routesLoaded?"y":"n")),void 0!==l.map(function(C,T){var N=(0,g.Z)(C,2);return N[1]?N[0]:void 0}).find(function(C){return void 0!==C})){console.log("alias gaurd state: ".concat(a.url));var h=s.router.parseUrl(a.url);u(h)}else u(!0)})})}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Vn.SITE_NAME),r.\u0275\u0275inject(dr.Router),r.\u0275\u0275inject(mI),r.\u0275\u0275inject(Dr))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),gI=S(17714);function wj(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"mat-option",4),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&o){var t=n.$implicit;r.\u0275\u0275property("value",t.value.id),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(t.value.title)}}function Sj(o,n){}var vI=function(o){(0,z.Z)(t,o);var n=(0,H.Z)(t);function t(e){var a;return(0,f.Z)(this,t),a=n.call(this,e),e&&(a.editor=e.editor,a.send=e.send),a}return(0,y.Z)(t)}(Rn.Plugin),Ej=(0,y.Z)(function o(n){(0,f.Z)(this,o),this.settings=[],n&&(this.data=n.data,n.settings&&Array.isArray(n.settings)&&(this.settings=n.settings.map(function(t){return new Nt.AttributeValue(t)})))}),_A=(0,y.Z)(function o(n){(0,f.Z)(this,o)}),Hd=(0,y.Z)(function o(n){(0,f.Z)(this,o),n&&(this.dataduct=new Pj(n.dataduct))}),Pj=(0,y.Z)(function o(n){(0,f.Z)(this,o),this.settings=[],n&&(this.plugin=n.plugin,n.settings&&Array.isArray(n.settings)&&(this.settings=n.settings.map(function(t){return new Nt.AttributeValue(t)})))}),yI=function(){var o=(0,y.Z)(function n(t){(0,f.Z)(this,n),this.viewContainerRef=t});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(r.ViewContainerRef))},o.\u0275dir=r.\u0275\u0275defineDirective({type:o,selectors:[["","classifiedsUiDataductRendererHost",""]]}),o}(),gE=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(a,s){return(0,f.Z)(this,e),t.call(this,a,s)}return(0,y.Z)(e,[{key:"pluginDef",value:function(){return(0,Le.of)(new Rn.PluginDef({name:"dataduct"}))}}]),e}(Rn.BasePluginManager);return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Rn.PluginConfigurationManager),r.\u0275\u0275inject(Vn.ModuleLoaderService))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),Aj=function(){var o=function(){function n(t,e){var a=this;(0,f.Z)(this,n),this.dpm=t,this.fb=e,this.contexts=[],this.ductForm=this.fb.group({plugin:this.fb.control("",[v.Validators.required]),settings:this.fb.control("")}),this.ducts$=this.dpm.getPlugins(),this.componentRef$=new U.X(void 0),this.persistence$=new U.X(void 0),this.afterViewInit$=new ae.x,this.contextForwardingSub=this.componentRef$.pipe((0,Q.h)(function(s){return!!s})).subscribe(function(s){s.instance.contexts=a.contexts,s.instance.settings=a.persistence$.value&&a.persistence$.value.dataduct?a.persistence$.value.dataduct.settings:[]}),this.persistenceSub=(0,Sr.a)([this.persistence$,this.afterViewInit$]).pipe((0,Ce.U)(function(s){return(0,g.Z)(s,1)[0]}),(0,te.b)(function(s){a.ductForm.get("plugin").setValue(s&&s.dataduct?s.dataduct.plugin:"")}),(0,Rr.g)(1),(0,te.b)(function(s){a.componentRef$.value&&a.componentRef$.value.instance&&s&&(a.componentRef$.value.instance.settings=s.dataduct?s.dataduct.settings:[])})).subscribe(),this.rendererSub=(0,Sr.a)([this.ductForm.get("plugin").valueChanges,this.afterViewInit$]).pipe((0,st.w)(function(s){var l=(0,g.Z)(s,2)[0];return l&&""!==l?a.dpm.getPlugin(l):(0,Le.of)(void 0)})).subscribe(function(s){s&&a.renderPlugin(s)}),this.onTouched=function(){}}return(0,y.Z)(n,[{key:"persistence",set:function(e){this.persistence$.next(e)}},{key:"ngAfterViewInit",value:function(){this.afterViewInit$.next(void 0)}},{key:"writeValue",value:function(e){e&&this.ductForm.setValue(e,{emitEvent:!1})}},{key:"registerOnChange",value:function(e){this.ductForm.valueChanges.subscribe(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){e?this.ductForm.disable():this.ductForm.enable()}},{key:"validate",value:function(e){return this.ductForm.valid?null:this.ductForm.errors}},{key:"renderPlugin",value:function(e){var a=this.datasourceHost.viewContainerRef;a.clear(),this.componentRef$.next(a.createComponent(e.editor))}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(gE),r.\u0275\u0275directiveInject(v.UntypedFormBuilder))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-persistence-form"]],viewQuery:function(t,e){var a;1&t&&r.\u0275\u0275viewQuery(yI,7),2&t&&r.\u0275\u0275queryRefresh(a=r.\u0275\u0275loadQuery())&&(e.datasourceHost=a.first)},inputs:{contexts:"contexts",persistence:"persistence"},features:[r.\u0275\u0275ProvidersFeature([{provide:v.NG_VALUE_ACCESSOR,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0},{provide:v.NG_VALIDATORS,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0}])],decls:10,vars:6,consts:[[3,"formGroup"],["required","","formControlName","plugin"],[3,"value",4,"ngFor","ngForOf"],["classifiedsUiDataductRendererHost",""],[3,"value"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"div",0)(1,"mat-form-field")(2,"mat-label"),r.\u0275\u0275text(3,"Plugin"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(4,"mat-select",1),r.\u0275\u0275template(5,wj,2,2,"mat-option",2),r.\u0275\u0275pipe(6,"keyvalue"),r.\u0275\u0275pipe(7,"async"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementContainerStart(8),r.\u0275\u0275template(9,Sj,0,0,"ng-template",3),r.\u0275\u0275elementContainerEnd(),r.\u0275\u0275elementEnd()),2&t&&(r.\u0275\u0275property("formGroup",e.ductForm),r.\u0275\u0275advance(5),r.\u0275\u0275property("ngForOf",r.\u0275\u0275pipeBind1(6,2,r.\u0275\u0275pipeBind1(7,4,e.ducts$))))},dependencies:[P.NgForOf,v.NgControlStatus,v.NgControlStatusGroup,v.RequiredValidator,v.FormGroupDirective,v.FormControlName,bi.MatLegacyOption,En.MatLegacyFormField,En.MatLegacyLabel,Fi.MatLegacySelect,yI,P.AsyncPipe,P.KeyValuePipe]}),o}(),kj=function(){var o=function(){function n(t,e,a,s){(0,f.Z)(this,n),this.data=t,this.dialogRef=e,this.fb=a,this.attributeSerializer=s,this.persistenceForm=this.fb.group({dataduct:this.fb.control("")}),this.contexts=[],this.persistence=new Hd,this.contexts=t.contexts,this.persistence=t.persistence}return(0,y.Z)(n,[{key:"submit",value:function(){var e=this.persistenceForm.value;console.log("persistence form",e);var a=this.attributeSerializer.serialize(e.dataduct.settings,"settings");console.log("persistence settings",a),this.dialogRef.close(new Hd((0,b.Z)((0,b.Z)({},this.persistenceForm.value),{},{dataduct:(0,b.Z)((0,b.Z)({},e.dataduct),{},{settings:a.attributes})})))}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Yt.MAT_LEGACY_DIALOG_DATA),r.\u0275\u0275directiveInject(Yt.MatLegacyDialogRef),r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(Nt.AttributeSerializerService))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-persistence-dialog"]],decls:8,vars:4,consts:[[1,"persistence-form",3,"formGroup","ngSubmit"],[1,"content-inner"],["fxLayout","column"],["formControlName","dataduct",3,"contexts","persistence"],["type","submit","mat-raised-button","","color","primary","mat-dialog-close","",3,"disabled"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"form",0),r.\u0275\u0275listener("ngSubmit",function(){return e.submit()}),r.\u0275\u0275elementStart(1,"mat-dialog-content")(2,"div",1)(3,"div",2),r.\u0275\u0275element(4,"classifieds-ui-persistence-form",3),r.\u0275\u0275elementEnd()()(),r.\u0275\u0275elementStart(5,"mat-dialog-actions")(6,"button",4),r.\u0275\u0275text(7,"Save"),r.\u0275\u0275elementEnd()()()),2&t&&(r.\u0275\u0275property("formGroup",e.persistenceForm),r.\u0275\u0275advance(4),r.\u0275\u0275property("contexts",e.contexts)("persistence",e.persistence),r.\u0275\u0275advance(2),r.\u0275\u0275property("disabled",!e.persistenceForm.valid))},dependencies:[v.\u0275NgNoValidate,v.NgControlStatus,v.NgControlStatusGroup,v.FormGroupDirective,v.FormControlName,pi.MatLegacyButton,Yt.MatLegacyDialogClose,Yt.MatLegacyDialogContent,Yt.MatLegacyDialogActions,Aj]}),o}(),Rj=function(){var o=(0,y.Z)(function n(){(0,f.Z)(this,n)});return o.\u0275fac=function(t){return new(t||o)},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({imports:[P.CommonModule,v.FormsModule,v.ReactiveFormsModule,Oi.MaterialModule]}),o}(),Dj=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.dpm=t}return(0,y.Z)(n,[{key:"persist",value:function(e){var a=e.data,s=e.persistence;return this.dpm.getPlugin(s.dataduct.plugin).pipe((0,st.w)(function(u){return u.send(new Ej({data:a,settings:s.dataduct.settings}))}),(0,Ce.U)(function(){}))}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(gE))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}();function Tj(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"div"),r.\u0275\u0275element(1,"druid-detour-interaction-listener",4),r.\u0275\u0275elementStart(2,"button",3),r.\u0275\u0275listener("click",function(){var l=r.\u0275\u0275restoreView(t).index,c=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(c.deleteListener$.next(l))}),r.\u0275\u0275text(3,"Delete"),r.\u0275\u0275elementEnd()()}if(2&o){var e=n.index,a=r.\u0275\u0275nextContext();r.\u0275\u0275advance(1),r.\u0275\u0275property("formControlName",e)("listener",a.interactions$.value.interactions.listeners[e])}}var Rl=(0,y.Z)(function o(n){(0,f.Z)(this,o),this.interactions=n&&n.interactions?new _I(n.interactions):new _I}),_I=(0,y.Z)(function o(n){(0,f.Z)(this,o),this.listeners=[],n&&n.listeners&&Array.isArray(n.listeners)&&(this.listeners=n.listeners.map(function(t){return new xI(t)}))}),xI=(0,y.Z)(function o(n){(0,f.Z)(this,o),this.handler=n&&n.handler?new Ds(n.handler):new Ds,this.event=n&&n.event?new Ds(n.event):new Ds}),bI=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(a,s){return(0,f.Z)(this,e),t.call(this,a,s)}return(0,y.Z)(e,[{key:"pluginDef",value:function(){return(0,Le.of)(new Rn.PluginDef({name:"interaction_event"}))}}]),e}(Rn.BasePluginManager);return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Rn.PluginConfigurationManager),r.\u0275\u0275inject(Vn.ModuleLoaderService))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),CI=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(a,s){return(0,f.Z)(this,e),t.call(this,a,s)}return(0,y.Z)(e,[{key:"pluginDef",value:function(){return(0,Le.of)(new Rn.PluginDef({name:"interaction_handler"}))}},{key:"discovery",value:function(){(0,Et.Z)((0,Ee.Z)(e.prototype),"discovery",this).call(this)}}]),e}(Rn.BasePluginManager);return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Rn.PluginConfigurationManager),r.\u0275\u0275inject(Vn.ModuleLoaderService))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),Ij=function(){var o=function(){function n(t,e,a){var s=this;(0,f.Z)(this,n),this.fb=t,this.iepm=e,this.ihpm=a,this.eventPlugins$=this.iepm.getPlugins(),this.handlerPlugins$=this.ihpm.getPlugins(),this.listenerForm=this.fb.group({event:this.fb.control(""),handler:this.fb.control("")}),this.contexts=[],this.listener$=new U.X(new xI),this.event$=new U.X(new Ds),this.handler$=new U.X(new Ds),this.listenerSub=this.listener$.pipe((0,te.b)(function(u){s.event$.next(u&&u.event?u.event:new Ds),s.handler$.next(u&&u.handler?u.handler:new Ds)})).subscribe(),this.onTouched=function(){}}return(0,y.Z)(n,[{key:"listener",set:function(e){this.listener$.next(e)}},{key:"writeValue",value:function(e){e&&this.listenerForm.setValue(e,{emitEvent:!1})}},{key:"registerOnChange",value:function(e){this.listenerForm.valueChanges.subscribe(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){e?this.listenerForm.disable():this.listenerForm.enable()}},{key:"validate",value:function(e){return this.listenerForm.valid?null:this.listenerForm.errors}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(bI),r.\u0275\u0275directiveInject(CI))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["druid-detour-interaction-listener"]],inputs:{contexts:"contexts",listener:"listener"},features:[r.\u0275\u0275ProvidersFeature([{provide:v.NG_VALUE_ACCESSOR,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0},{provide:v.NG_VALIDATORS,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0}])],decls:5,vars:9,consts:[[3,"formGroup"],["formControlName","event","title","Event",3,"plugins","instance"],["formControlName","handler","title","Handler",3,"plugins","instance"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"div",0),r.\u0275\u0275element(1,"druid-params-plugin-instance",1),r.\u0275\u0275pipe(2,"async"),r.\u0275\u0275element(3,"druid-params-plugin-instance",2),r.\u0275\u0275pipe(4,"async"),r.\u0275\u0275elementEnd()),2&t&&(r.\u0275\u0275property("formGroup",e.listenerForm),r.\u0275\u0275advance(1),r.\u0275\u0275property("plugins",r.\u0275\u0275pipeBind1(2,5,e.eventPlugins$))("instance",e.event$.value),r.\u0275\u0275advance(2),r.\u0275\u0275property("plugins",r.\u0275\u0275pipeBind1(4,7,e.handlerPlugins$))("instance",e.handler$.value))},dependencies:[v.NgControlStatus,v.NgControlStatusGroup,v.FormGroupDirective,v.FormControlName,OL,P.AsyncPipe]}),o}(),Oj=function(){var o=function(){function n(t){var e=this;(0,f.Z)(this,n),this.fb=t,this.interactions$=new U.X(new Rl({interactions:{listeners:[]}})),this.contexts$=new U.X([]),this.afterViewInit$=new ae.x,this.interactionsForm=this.fb.group({listeners:this.fb.array([])}),this.addListener$=new ae.x,this.deleteListener$=new ae.x,this.addListenerSub=this.addListener$.pipe((0,te.b)(function(){return e.listeners.push(e.fb.control(""))})).subscribe(),this.deleteListenerSub=this.deleteListener$.pipe((0,te.b)(function(a){e.interactions$.value.interactions.listeners.splice(a,1),e.listeners.removeAt(a)})).subscribe(),this.interactionsSub=(0,Sr.a)([this.interactions$,this.afterViewInit$]).pipe((0,Ce.U)(function(a){return(0,g.Z)(a,1)[0]}),(0,Q.h)(function(a){return 0!==a.interactions.listeners.length}),(0,te.b)(function(a){e.listeners.clear(),a.interactions.listeners.forEach(function(s,u){e.listeners.push(e.fb.control(""))})})).subscribe(),this.onTouched=function(){}}return(0,y.Z)(n,[{key:"interactions",set:function(e){this.interactions$.next(e)}},{key:"contexts",set:function(e){this.contexts$.next(e)}},{key:"listeners",get:function(){return this.interactionsForm.get("listeners")}},{key:"ngAfterViewInit",value:function(){this.afterViewInit$.next(void 0),this.afterViewInit$.complete()}},{key:"writeValue",value:function(e){e&&this.interactionsForm.setValue(e,{emitEvent:!1})}},{key:"registerOnChange",value:function(e){this.interactionsForm.valueChanges.subscribe(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){e?this.interactionsForm.disable():this.interactionsForm.enable()}},{key:"validate",value:function(e){return this.interactionsForm.valid?null:this.interactionsForm.errors}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.UntypedFormBuilder))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["druid-detour-interactions-form"]],inputs:{interactions:"interactions",contexts:"contexts"},features:[r.\u0275\u0275ProvidersFeature([{provide:v.NG_VALUE_ACCESSOR,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0},{provide:v.NG_VALIDATORS,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0}])],decls:5,vars:2,consts:[[3,"formGroup"],["formArrayName","listeners"],[4,"ngFor","ngForOf"],["type","button",3,"click"],[3,"formControlName","listener"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"div",0)(1,"div",1),r.\u0275\u0275template(2,Tj,4,2,"div",2),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(3,"button",3),r.\u0275\u0275listener("click",function(){return e.addListener$.next(void 0)}),r.\u0275\u0275text(4,"Add Listener"),r.\u0275\u0275elementEnd()),2&t&&(r.\u0275\u0275property("formGroup",e.interactionsForm),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngForOf",e.listeners.controls))},dependencies:[P.NgForOf,v.NgControlStatus,v.NgControlStatusGroup,v.FormGroupDirective,v.FormControlName,v.FormArrayName,Ij]}),o}(),Fj=function(){var o=function(){function n(t,e,a){(0,f.Z)(this,n),this.data=t,this.dialogRef=e,this.fb=a,this.interactionsForm=this.fb.group({interactions:this.fb.control("")}),this.contexts=[],this.interactions=new Rl,this.contexts=t.contexts,this.interactions=t.interactions}return(0,y.Z)(n,[{key:"submit",value:function(){var e=new Rl(this.interactionsForm.value);console.log("interactions payload",e),this.dialogRef.close(e)}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Yt.MAT_LEGACY_DIALOG_DATA),r.\u0275\u0275directiveInject(Yt.MatLegacyDialogRef),r.\u0275\u0275directiveInject(v.UntypedFormBuilder))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["druid-detour-interactions-dialog"]],decls:8,vars:4,consts:[[1,"interactions-form",3,"formGroup","ngSubmit"],[1,"content-inner"],["fxLayout","column"],["formControlName","interactions",3,"contexts","interactions"],["type","submit","mat-raised-button","","color","primary","mat-dialog-close","",3,"disabled"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"form",0),r.\u0275\u0275listener("ngSubmit",function(){return e.submit()}),r.\u0275\u0275elementStart(1,"mat-dialog-content")(2,"div",1)(3,"div",2),r.\u0275\u0275element(4,"druid-detour-interactions-form",3),r.\u0275\u0275elementEnd()()(),r.\u0275\u0275elementStart(5,"mat-dialog-actions")(6,"button",4),r.\u0275\u0275text(7,"Save"),r.\u0275\u0275elementEnd()()()),2&t&&(r.\u0275\u0275property("formGroup",e.interactionsForm),r.\u0275\u0275advance(4),r.\u0275\u0275property("contexts",e.contexts)("interactions",e.interactions),r.\u0275\u0275advance(2),r.\u0275\u0275property("disabled",!e.interactionsForm.valid))},dependencies:[v.\u0275NgNoValidate,v.NgControlStatus,v.NgControlStatusGroup,v.FormGroupDirective,v.FormControlName,pi.MatLegacyButton,Yt.MatLegacyDialogClose,Yt.MatLegacyDialogContent,Yt.MatLegacyDialogActions,Oj]}),o}(),Mj=function(o){(0,z.Z)(t,o);var n=(0,H.Z)(t);function t(e){return(0,f.Z)(this,t),n.call(this,e)}return(0,y.Z)(t)}(Rn.Plugin),Vj=function(){var o=(0,y.Z)(function n(t){(0,f.Z)(this,n),t.register(new Mj({title:"DOM",id:"dom"}))});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(bI))},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({imports:[P.CommonModule,v.FormsModule,v.ReactiveFormsModule,Oi.MaterialModule,wu]}),o}(),wI=function(o){(0,z.Z)(t,o);var n=(0,H.Z)(t);function t(e){return(0,f.Z)(this,t),n.call(this,e)}return(0,y.Z)(t)}(Rn.Plugin),Dl=S(1621),vE=S(6606),Eu=S(9263),rs=S(28413),qd=S(78),xA=S(8055),Kd=function(o){(0,z.Z)(t,o);var n=(0,H.Z)(t);function t(e){var a;return(0,f.Z)(this,t),a=n.call(this,e),e&&(a.create=e.create,a.read=e.read,a.update=e.update,a.delete=e.delete,e.query&&(a.query=e.query)),a}return(0,y.Z)(t)}(Rn.Plugin),SI=(0,y.Z)(function o(n){(0,f.Z)(this,o),this.options=[],this.params=[],n&&(this.adaptorName=n.adaptorName,this.optionsString=n.optionsString?n.optionsString:void 0,this.paramsString=n.paramsString?n.paramsString:void 0,n.options&&Array.isArray(n.options)&&(this.options=n.options.map(function(t){return new Mi(t)})),n.params&&Array.isArray(n.params)&&(this.params=n.params.map(function(t){return new Mi(t)})))}),Bj=function(){var o=function(){function n(t,e){var a=this;(0,f.Z)(this,n),this.fb=t,this.attributeSerializer=e,this.contexts=[],this.settings$=new U.X(void 0),this.datasource$=new U.X(void 0),this.optionValues$=new U.X([]),this.paramValues$=new U.X([]),this.formGroup=this.fb.group({adaptorName:this.fb.control(""),optionsString:this.fb.control(""),paramsString:this.fb.control(""),options:this.fb.control([]),params:this.fb.control([])}),this.settingsSub=this.settings$.pipe((0,Ce.U)(function(s){return s?new SI(a.attributeSerializer.deserializeAsObject(s)):void 0}),(0,te.b)(function(s){return setTimeout(function(){return a.datasource$.next(s)})})).subscribe(function(s){s?(a.formGroup.get("adaptorName").setValue(s.adaptorName),a.formGroup.get("optionsString").setValue(s.optionsString?s.optionsString:""),a.formGroup.get("paramsString").setValue(s.paramsString?s.paramsString:"")):(a.formGroup.get("adaptorName").setValue(""),a.formGroup.get("optionsString").setValue(""),a.formGroup.get("paramsString").setValue(""),setTimeout(function(){return a.optionValues$.next([])},2),setTimeout(function(){return a.optionValues$.next([])},2))}),this.datasourceOptionsSub=(0,Sr.a)([this.datasource$,this.formGroup.get("optionsString").valueChanges]).pipe((0,Q.h)(function(s){return void 0!==(0,g.Z)(s,1)[0]}),(0,Rr.g)(1),(0,te.b)(function(s){var u=(0,g.Z)(s,1);return a.optionValues$.next(u[0].options)})).subscribe(),this.datasourceParamsSub=(0,Sr.a)([this.datasource$,this.formGroup.get("paramsString").valueChanges]).pipe((0,Q.h)(function(s){return void 0!==(0,g.Z)(s,1)[0]}),(0,Rr.g)(1),(0,te.b)(function(s){var u=(0,g.Z)(s,1);return a.paramValues$.next(u[0].params)})).subscribe(),this.optionsStringChangeSub=this.formGroup.get("optionsString").valueChanges.pipe((0,Ar.b)(500)).subscribe(function(s){var u=Fa.parse("?"+s);a.optionsParsed=u}),this.paramsStringChangeSub=this.formGroup.get("paramsString").valueChanges.pipe((0,Ar.b)(500)).subscribe(function(s){var u=Fa.parse("?"+s);a.paramsParsed=u}),this.onTouched=function(){}}return(0,y.Z)(n,[{key:"settings",set:function(e){this.settings$.next(e)}},{key:"ngOnInit",value:function(){}},{key:"writeValue",value:function(e){e&&this.formGroup.setValue(e,{emitEvent:!1})}},{key:"registerOnChange",value:function(e){this.formGroup.valueChanges.subscribe(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){e?this.formGroup.disable():this.formGroup.enable()}},{key:"validate",value:function(e){return this.formGroup.valid?null:this.formGroup.errors}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(Nt.AttributeSerializerService))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-crud-adaptor-datasource-form"]],inputs:{contexts:"contexts",settings:"settings"},features:[r.\u0275\u0275ProvidersFeature([{provide:v.NG_VALUE_ACCESSOR,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0},{provide:v.NG_VALIDATORS,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0}])],decls:14,vars:7,consts:[[3,"formGroup"],["matInput","","placeholder","Adaptor","formControlName","adaptorName","required",""],[1,"options-container"],["matInput","","placeholder","Options","formControlName","optionsString"],["formControlName","options",3,"params","paramValues","contexts"],[1,"params-container"],["matInput","","placeholder","Params","formControlName","paramsString"],["formControlName","params",3,"params","paramValues","contexts"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"div",0)(1,"div")(2,"mat-form-field"),r.\u0275\u0275element(3,"input",1),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(4,"div",2)(5,"div")(6,"mat-form-field"),r.\u0275\u0275element(7,"input",3),r.\u0275\u0275elementEnd()(),r.\u0275\u0275element(8,"classifieds-ui-params-form",4),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(9,"div",5)(10,"div")(11,"mat-form-field"),r.\u0275\u0275element(12,"input",6),r.\u0275\u0275elementEnd()(),r.\u0275\u0275element(13,"classifieds-ui-params-form",7),r.\u0275\u0275elementEnd()()),2&t&&(r.\u0275\u0275property("formGroup",e.formGroup),r.\u0275\u0275advance(8),r.\u0275\u0275property("params",e.optionsParsed)("paramValues",e.optionValues$.value)("contexts",e.contexts),r.\u0275\u0275advance(5),r.\u0275\u0275property("params",e.paramsParsed)("paramValues",e.paramValues$.value)("contexts",e.contexts))},dependencies:[v.DefaultValueAccessor,v.NgControlStatus,v.NgControlStatusGroup,v.RequiredValidator,v.FormGroupDirective,v.FormControlName,En.MatLegacyFormField,Hr.MatLegacyInput,e_]}),o}(),EI=function(){var o=(0,y.Z)(function n(t){(0,f.Z)(this,n),this.controlContainer=t,this.settings=[],this.contexts=[]});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.ControlContainer))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-crud-adaptor-datasource"]],inputs:{settings:"settings",contexts:"contexts"},decls:2,vars:3,consts:[[3,"formGroup"],["formControlName","settings",3,"settings","contexts"]],template:function(t,e){1&t&&(r.\u0275\u0275elementContainerStart(0,0),r.\u0275\u0275element(1,"classifieds-ui-crud-adaptor-datasource-form",1),r.\u0275\u0275elementContainerEnd()),2&t&&(r.\u0275\u0275property("formGroup",e.controlContainer.control),r.\u0275\u0275advance(1),r.\u0275\u0275property("settings",e.settings)("contexts",e.contexts))},dependencies:[v.NgControlStatus,v.NgControlStatusGroup,v.FormGroupDirective,v.FormControlName,Bj],encapsulation:2}),o}(),Pu=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(a,s){return(0,f.Z)(this,e),t.call(this,a,s)}return(0,y.Z)(e,[{key:"pluginDef",value:function(){return(0,Le.of)(new Rn.PluginDef({name:"crud_adaptor"}))}}]),e}(Rn.BasePluginManager);return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Rn.PluginConfigurationManager),r.\u0275\u0275inject(Vn.ModuleLoaderService))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),i_=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.crud=t,this.cachedCollectionQueries=[],this.cachedCollectionIgnore={p:{create:void 0,update:void 0,delete:void 0,query:void 0,read:void 0},input:{identity:void 0}}}return(0,y.Z)(n,[{key:"evaluatePlugins",value:function(e){var a=this,s=e.object,u=e.plugins,l=e.op,c=e.parentObject,C=Object.keys(u).filter(function(T){return!u[T].ops||u[T].ops.includes(l)}).map(function(T){return a.crud.getPlugin(u[T].plugin?u[T].plugin:T).pipe((0,Ce.U)(function(N){return{p:N,params:u[T].params?Object.keys(u[T].params).reduce(function(F,$){return(0,b.Z)((0,b.Z)({},F),{},(0,d.Z)({},$,u[T].params[$]instanceof Mi?u[T].params[$]:new Mi({flags:[],mapping:{type:"static",value:u[T].params[$],context:void 0,testValue:u[T].params[$]}})))},{}):{}}}),(0,st.w)(function(N){return N.p[l]({rule:void 0,object:s,parentObject:c,params:N.params,identity:function(ue){var ge=ue.object,Se=ue.parentObject;return(0,Le.of)({identity:ge.id?ge.id:Se?Se.id:void 0})}})}),(0,st.w)(function(N){return Or(function(){return u[T].plugins&&0!==Object.keys(u[T].plugins).length},u[T].plugins&&0!==Object.keys(u[T].plugins).length?a.evaluatePlugins({plugins:u[T].plugins,object:N.entity?N.entity:s,parentObject:N.originalEntity?N.originalEntity:s,op:l}):(0,Le.of)(N),(0,Le.of)(N))}))});return(0,$n.D)(C).pipe((0,Ce.U)(function(){return s}))}},{key:"evaluateCollectionPlugins",value:function(e){var a=this,s=e.query,u=e.objects,l=e.plugins,c=e.op,h=e.parentObjects;console.log("evaluate collection plugins");var C=Object.keys(l),T=C.filter(function(F){return!l[F].ops||l[F].ops.includes(c)}).map(function(F){return a.crud.getPlugin(l[F].plugin?l[F].plugin:F).pipe((0,Ce.U)(function($){return{p:$,params:l[F].params?Object.keys(l[F].params).reduce(function(se,ue){return(0,b.Z)((0,b.Z)({},se),{},(0,d.Z)({},ue,l[F].params[ue]instanceof Mi?l[F].params[ue]:new Mi({flags:[],mapping:{type:"static",value:l[F].params[ue],context:void 0,testValue:l[F].params[ue]}})))},{}):{}}}),(0,st.w)(function($){var se=$.p,ue=$.params;return a.buildQueryRule({params:s,config:l[F]}).pipe((0,Ce.U)(function(ge){return{p:se,params:ue,rule:ge.rule}}))}),(0,st.w)(function($){return a.flightAndCacheAwareCollectionQuery({p:$.p,input:{rule:$.rule,objects:u,parentObjects:h,params:$.params,identity:function(we){var He=we.object,ot=we.parentObject;return(0,Le.of)({identity:He.id?He.id:ot?ot.id:void 0})}}}).pipe((0,te.b)(function(){return console.log("end of crud query call")}))}),(0,st.w)(function($){return Or(function(){return l[F].plugins&&0!==Object.keys(l[F].plugins).length},a.evaluateCollectionPlugins({query:s,plugins:l[F].plugins&&0!==Object.keys(l[F].plugins).length?l[F].plugins:{},objects:$.entities?$.entities:u,parentObjects:$.originalEntities?$.originalEntities:u,op:c}),(0,Le.of)($))}),(0,te.b)(function($){return console.log("end of op",$)}))});return C.filter(function(F){return!l[F].ops||l[F].ops.includes(c)}).find(function(F){return l[F].fallback})&&T.length>1?T.reduce(function(F,$){return F.pipe((0,st.w)(function(se){return se&&Array.isArray(se)&&se.length>0?(0,Le.of)(se):$.pipe((0,Ce.U)(function(ue){return ue&&ue.entities&&Array.isArray(ue.entities)?ue.entities:[]}))}),(0,st.w)(function(se){return(0,Le.of)(se.length>0?se:[])}))},(0,Le.of)([])):1===T.length?T[0].pipe((0,Ce.U)(function(F){return(0,_.Z)(F.entities)})):(0,$n.D)(T).pipe((0,Ce.U)(function(F){return F.reduce(function($,se){return[].concat((0,_.Z)($),(0,_.Z)(se.entities))},[])}),(0,fi.d)([]))}},{key:"buildQueryRule",value:function(e){var a=e.params,s=e.config;return new W.y(function(u){var l=[];"string"==typeof a&&a.split("&").map(function(C){return C.split("=",2)}).reduce(function(C,T){var N=(0,g.Z)(T,2),F=N[0],$=N[1];return new Map([].concat((0,_.Z)(Array.from(C).filter(function(se){return(0,g.Z)(se,2)[0]!==F})),[[F,[].concat((0,_.Z)(C.has(F)?C.get(F):[]),[$])]]))},new Map).forEach(function(C,T){return l.push({any:C.map(function(N){return(0,b.Z)({fact:"identity"===T?"identity":"entity",operator:s.queryMappings&&s.queryMappings.has(T)&&s.queryMappings.get(T).defaultOperator?s.queryMappings.get(T).defaultOperator:"equal",value:N},"identity"===T?{}:{path:"$.".concat(T)})})})});var h=l.length>0?new qd.Rule({conditions:{all:l},event:{type:"visible"}}):void 0;u.next({rule:h}),u.complete()})}},{key:"flightAndCacheAwareCollectionQuery",value:function(e){var a=this,s=this.cachedCollectionQueries.findIndex(function(u){var l=u.p,c=u.input,h=(0,xA.getDiff)((0,b.Z)((0,b.Z)({},e.p),a.cachedCollectionIgnore.p),(0,b.Z)((0,b.Z)({},l),a.cachedCollectionIgnore.p)),C=(0,xA.getDiff)((0,b.Z)((0,b.Z)({},e.input),a.cachedCollectionIgnore.input),(0,b.Z)((0,b.Z)({},c),a.cachedCollectionIgnore.input));return 0===h.length&&0===C.length});return-1===s&&(this.cachedCollectionQueries.push({p:e.p,input:e.input,query$:new fA.t}),s=this.cachedCollectionQueries.length-1,e.p.query(e.input).pipe((0,te.b)(function(u){return a.cachedCollectionQueries[s].query$.next(u)}),(0,An.q)(1)).subscribe()),this.cachedCollectionQueries[s].query$.pipe((0,An.q)(1))}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Pu))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),a_=function(){var o=(0,y.Z)(function n(t,e,a,s,u,l,c,h){(0,f.Z)(this,n),t.register(function(n,t,e,a,s,u){return new ns({id:"crud_adaptor",title:"Crud Adaptor",editor:EI,fetch:function(c){var h=c.settings,C=c.metadata;return(0,Le.of)(new pr).pipe((0,Ce.U)(function(){return t.deserializeAsObject(h)}),(0,Ce.U)(function(T){return new SI(T)}),(0,st.w)(function(T){return e.getPlugin(T.adaptorName).pipe((0,Ce.U)(function(N){return{plugin:N,ds:T}}))}),(0,Ce.U)(function(T){var F=T.ds;return{plugin:T.plugin,ds:F,optionNames:F.optionsString?F.optionsString.split("&").filter(function($){return-1!==$.indexOf("=:")}).map(function($){return $.split("=",2)[1].substr(1)}):[]}}),(0,st.w)(function(T){var N=T.plugin,F=T.ds,$=T.optionNames;return(0,$n.D)([a.paramValues(F.options.reduce(function(se,ue,ge){return new Map([].concat((0,_.Z)(se),[[$[ge],ue]]))},new Map)).pipe((0,Ce.U)(function(se){return Array.from(se).reduce(function(ue,ge){var Se=(0,g.Z)(ge,2),we=Se[0],He=Se[1];return(0,b.Z)((0,b.Z)({},ue),{},(0,d.Z)({},we,He))},{})})),F.paramsString&&""!==F.paramsString?u.getUrl("?"+F.paramsString,F.params,C).pipe((0,An.q)(1)):(0,Le.of)(void 0)]).pipe((0,Ce.U)(function(se){var ue=(0,g.Z)(se,2);return{plugin:N,options:ue[0],query:ue[1]}}))}),(0,st.w)(function(T){var $=T.query;return s.evaluateCollectionPlugins({plugins:(0,d.Z)({},T.plugin.id,{params:T.options}),op:"query",query:$&&$.substr(1)})}),(0,Ce.U)(function(T){return new pr({results:T})}))},editorOptions:function(){return(0,Le.of)(new hE({fullscreen:!0}))},getBindings:function(c){return(0,Le.of)([])}})}(0,u,e,l,c,h)),a.register(function(n){var t=n.crudDataHelper,e=n.attributeSerializer;return new vI({id:"crud",title:"Crud",editor:EI,send:function(s){return(0,Le.of)(new _A({})).pipe((0,Ce.U)(function(){return{settings:e.deserializeAsObject(s.settings)}}),(0,te.b)(function(u){return console.log("crud data duct",u.settings)}),(0,Ce.U)(function(u){var l=u.settings;return{plugins:(0,d.Z)({},"".concat(l.adaptorName),{plugin:"".concat(l.adaptorName),ops:["create"],params:"".concat(l.optionsString).split("&").reduce(function(c,h,C){return(0,b.Z)((0,b.Z)({},c),{},(0,d.Z)({},h.split("=",1)[0],new Mi(l.options[C])))},{})})}}),(0,st.w)(function(u){return t.evaluatePlugins({object:s.data,plugins:u.plugins,op:"create",parentObject:{id:vr()}})}),(0,Ce.U)(function(){return new _A({})}))}})}({crudDataHelper:c,attributeSerializer:u}))});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(co),r.\u0275\u0275inject(Pu),r.\u0275\u0275inject(gE),r.\u0275\u0275inject(yA),r.\u0275\u0275inject(Nt.AttributeSerializerService),r.\u0275\u0275inject(Ts),r.\u0275\u0275inject(i_),r.\u0275\u0275inject(n_))},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({imports:[P.CommonModule,v.ReactiveFormsModule,v.FormsModule,Oi.MaterialModule,Gd,wu]}),o}(),bA=function(){function o(n,t,e,a){(0,f.Z)(this,o),this.crud=t,this.entityDefinitionService=e,this.crudDataHelperService=a,this._name="".concat(n," CrudDataService"),this.entityName=n}return(0,y.Z)(o,[{key:"name",get:function(){return this._name}},{key:"add",value:function(t){var e=this.entityDefinitionService.getDefinition(this.entityName).metadata;return this.crudDataHelperService.evaluatePlugins({object:t,plugins:e.crud,op:"create"})}},{key:"update",value:function(t){var e=this.entityDefinitionService.getDefinition(this.entityName).metadata;return this.crudDataHelperService.evaluatePlugins({object:t.changes,plugins:e.crud,op:"update"})}},{key:"upsert",value:function(t){var e=this.entityDefinitionService.getDefinition(this.entityName).metadata;return this.crudDataHelperService.evaluatePlugins({object:t,plugins:e.crud,op:"update"})}},{key:"delete",value:function(t){var e=this,a=this.entityDefinitionService.getDefinition(this.entityName).metadata;return this.getById(t).pipe((0,st.w)(function(s){return e.crudDataHelperService.evaluatePlugins({object:s,plugins:a.crud,op:"delete"})}),(0,Ce.U)(function(){return t}))}},{key:"getAll",value:function(){var t=this.entityDefinitionService.getDefinition(this.entityName).metadata;return this.crudDataHelperService.evaluateCollectionPlugins({plugins:t.crud,op:"query"})}},{key:"getById",value:function(t){var e=this.entityDefinitionService.getDefinition(this.entityName).metadata;return this.crudDataHelperService.evaluateCollectionPlugins({query:"identity=".concat(t),plugins:e.crud,op:"query"}).pipe((0,Ce.U)(function(a){return a&&0!==a.length?a[0]:void 0}))}},{key:"getWithQuery",value:function(t){var e=this.entityDefinitionService.getDefinition(this.entityName).metadata;return this.crudDataHelperService.evaluateCollectionPlugins({query:t,plugins:e.crud,op:"query"})}}]),o}(),PI=function(){var o=function(){function n(){(0,f.Z)(this,n),this.operatorsMap=new Map([["=","equal"],["!=","notEqual"]])}return(0,y.Z)(n,[{key:"buildFields",value:function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",s=new Map;return this.genericFields(e,s,a,0),s}},{key:"attributeFields",value:function(e,a,s,u){var l=this;e.forEach(function(c,h){if("widget"!==c.name)for(var C in c)c.type===Nt.AttributeTypes.Complex||"attributes"===C&&c.attributes&&c.attributes.length>0?l.attributeFields(c.attributes,a,c.type===Nt.AttributeTypes.Complex?"".concat(s):"".concat(s,".").concat(c.name),u+1):"attributes"!==C&&(C===c.name?a.set("".concat(s,".").concat(C),{name:"".concat(s,".").concat(C),type:l.resolveAttributeType(c.type),defaultValue:c[C]}):a.set("".concat(s,".").concat(c.name,".").concat(C),{name:"".concat(s,".").concat(c.name,".").concat(C),type:l.resolveAttributeType(c.type),defaultValue:c[C]}))})}},{key:"genericFields",value:function(e,a,s,u){for(var l in e){var c=typeof e[l];if("object"!==c)a.set("".concat(s,".").concat(l),{name:"".concat(s,".").concat(l),type:this.resolveNativeType(c),defaultValue:e[l]});else if(Array.isArray(e[l])&&"attributes"===l)this.attributeFields(e[l],a,"".concat(s,".").concat(l),u+1);else if(Array.isArray(e[l]))for(var h=e[l].length,C=0;C<h;C++)this.genericFields(e[l][C],a,"".concat(s,".").concat(l,".").concat(C),u+1);else this.genericFields(e[l],a,"".concat(s,".").concat(l),u+1)}}},{key:"toEngineRule",value:function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=[];if(void 0!==e.rules&&Array.isArray(e.rules)){for(var h=e.rules.length,C=0;C<h;C++)if(!("field"in e.rules[C])||null!=e.condition&&""!==e.condition){var $=this.toEngineRule(e.rules[C],a+1);s.push($.conditions)}else{var T=e.rules[C].field.indexOf("."),N=e.rules[C].field.substr(0,T),F=e.rules[C].field.substr(T+1);s.push({fact:N,path:"$.".concat(F),operator:this.operatorsMap.get(e.rules[C].operator),value:e.rules[C].value})}return new qd.Rule("and"===e.condition?{conditions:{all:s},event:0===a?{type:"visible"}:void 0}:{conditions:{any:s},event:0===a?{type:"visible"}:void 0})}var u=e.field.indexOf("."),l=e.field.substr(0,u),c=e.field.substr(u+1);return s.push({fact:l,path:"$.".concat(c),operator:this.operatorsMap.get(e.operator),value:e.value}),new qd.Rule({conditions:{all:s},event:0===a?{type:"visible"}:void 0})}},{key:"extractConditions",value:function(e){var s=this.toEngineRule(e);return[].concat((0,_.Z)(void 0!==s.conditions.any?s.conditions.any:[]),(0,_.Z)(void 0!==s.conditions.all?s.conditions.all:[]))}},{key:"resolveNativeType",value:function(e){switch(e){case"number":return"number";case"boolean":return"boolean";default:return"string"}}},{key:"resolveAttributeType",value:function(e){switch(e){case Nt.AttributeTypes.Float:case Nt.AttributeTypes.Number:return"number";case Nt.AttributeTypes.Bool:return"boolean";default:return"string"}}}]),n}();return o.\u0275fac=function(t){return new(t||o)},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),CA=function(){var o=function(){function n(t,e){(0,f.Z)(this,n),this.rulesParser=t,this.inlineContextResolver=e}return(0,y.Z)(n,[{key:"evaluate",value:function(e){var a=this;return this.inlineContextResolver.resolveMerged(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],"rules:".concat(vr())).pipe((0,An.q)(1),(0,Ce.U)(function(u){return[(0,b.Z)({},u),new qd.Engine]}),(0,te.b)(function(u){var h=(0,g.Z)(u,2)[1],C=a.rulesParser.toEngineRule(e);h.addRule(C)}),(0,st.w)(function(u){var l=(0,g.Z)(u,2),c=l[0],h=l[1];return new W.y(function(C){h.run(c).then(function(T){C.next(T.events.findIndex(function(N){return"visible"===N.type})>-1),C.complete()})})}))}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(PI),r.\u0275\u0275inject(zd))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}();function Qa(o){if(null==o)throw new TypeError("Cannot destructure "+o)}S(61562);var wA=S(37400),AI=S(89984),SA=function(n){var s=n.method,l=n.path,h=n.port,T=n.protocol,$=n.service,se=n.cognitoSettings,ue=n.authFacade;return(0,Le.of)(new rr({body:n.body,headers:n.headers,hostname:n.hostname,method:void 0===s?"GET":s,path:void 0===l?"/":l,port:void 0===h?443:h,protocol:void 0===T?"https:":T,query:n.query})).pipe((0,te.b)(function(){return console.log(".marker({ event: BEGIN , context: s3, entity: sig , op: signv4 , meta: { } })")}),(0,st.w)(function(ge){return(0,wA.D)(new wf({credentials:oP({client:new AP({region:se.region}),identityPoolId:se.identityPoolId,logins:(0,d.Z)({},"cognito-idp.".concat(se.region,".amazonaws.com/").concat(se.userPoolId),function(){return Rc(ue.getUser$.pipe((0,Ce.U)(function(we){return we?we.id_token:void 0})))})}),region:se.region,service:$,sha256:AI.Sha256}).sign(ge).then(function(Se){return console.log(".marker({ event: RESOLVED, entity: s3 , op: signv4 , meta: { } })"),Se})).pipe((0,te.b)(function(){return console.log(".marker({ /s3/sign/after/sig })")}),(0,An.q)(1))}),(0,Ce.U)(function(ge){return ge}),(0,te.b)(function(){return console.log(".marker({ event: END , context: s3, entity: sig , op: signv4 , meta: { } })")}))},$j=function(){var o=(0,y.Z)(function n(t,e,a,s,u,l,c){(0,f.Z)(this,n),a.register(function(n,t,e,a,s,u){return new Kd({id:"aws_s3_entity",title:"AWS S3 Entity",create:function(c){var h=c.object,C=c.identity,T=c.params,N=c.parentObject;return(0,Le.of)({success:!1}).pipe(a.resolveParams({params:T}),(0,st.w)(function(F){var $=F.options;return C({object:h,parentObject:N}).pipe((0,Ce.U)(function(se){return{identity:se.identity,options:$}}))}),(0,st.w)(function(F){var $=F.options,se=F.identity;return SA({method:"PUT",body:JSON.stringify(h),headers:{"Content-Type":"application/json",host:"".concat($.bucket,".s3.amazonaws.com")},hostname:"".concat($.bucket,".s3.amazonaws.com"),path:"".concat($.prefix).concat(se,".json"),protocol:"https:",service:"s3",cognitoSettings:e,authFacade:t}).pipe((0,Ce.U)(function(ue){return{signedHttpRequest:ue,options:$}}))}),(0,te.b)(function(F){return delete F.signedHttpRequest.headers.host}),(0,Ce.U)(function(F){var $=F.signedHttpRequest,se=F.options;return{signedHttpRequest:$,options:se,url:"https://".concat(se.bucket,".s3.amazonaws.com").concat($.path)}}),(0,st.w)(function(F){var $=F.signedHttpRequest;return s.put(F.url,JSON.stringify(h),{headers:$.headers,withCredentials:!1})}),(0,Ce.U)(function(){return{success:!0}}))},read:function(c){return Qa(c),(0,Le.of)({success:!1})},update:function(c){var h=c.object,C=c.identity,T=c.params;return(0,Le.of)({success:!1}).pipe(a.resolveParams({params:T}),(0,st.w)(function(N){var F=N.options;return C({object:h}).pipe((0,Ce.U)(function($){return{identity:$.identity,options:F}}))}),(0,st.w)(function(N){var F=N.options,$=N.identity;return SA({method:"PUT",body:JSON.stringify(h),headers:{"Content-Type":"application/json",host:"".concat(F.bucket,".s3.amazonaws.com")},hostname:"".concat(F.bucket,".s3.amazonaws.com"),path:"".concat(F.prefix).concat($,".json"),protocol:"https:",service:"s3",cognitoSettings:e,authFacade:t}).pipe((0,Ce.U)(function(se){return{signedHttpRequest:se,options:F}}))}),(0,te.b)(function(N){return delete N.signedHttpRequest.headers.host}),(0,Ce.U)(function(N){var F=N.signedHttpRequest,$=N.options;return{signedHttpRequest:F,options:$,url:"https://".concat($.bucket,".s3.amazonaws.com").concat(F.path)}}),(0,st.w)(function(N){var F=N.signedHttpRequest;return s.put(N.url,JSON.stringify(h),{headers:F.headers,withCredentials:!1})}),(0,Ce.U)(function(){return{success:!0}}))},delete:function(c){return Qa(c),(0,Le.of)({success:!1})},query:function(c){var h=c.rule,C=c.params;return(0,Le.of)({entities:[],success:!1}).pipe(a.resolveParams({params:C}),(0,Ce.U)(function(T){return{options:T.options,identityCondition:h.conditions.all.map(function(F){return F.any.find(function($){return"identity"===$.fact})}).find(function(F){return!!F})}}),(0,st.w)(function(T){var N=T.identityCondition,F=T.options;return Or(function(){return void 0!==N&&N&&"identity"===N.fact&&F&&F.bucket},SA({method:"GET",body:void 0,headers:{"Content-Type":"application/json",host:"".concat(F?F.bucket:"",".s3.amazonaws.com")},hostname:"".concat(F?F.bucket:"",".s3.amazonaws.com"),path:"".concat(F&&F.prefix?F.prefix:"").concat(N?N.value:"",".json"),protocol:"https:",service:"s3",cognitoSettings:e,authFacade:t}).pipe((0,te.b)(function(){return console.log(".marker({ event: AFTER , entity: s3 , op: query , meta: { action: createSignedRequest } })")}),(0,te.b)(function($){return delete $.headers.host}),(0,Ce.U)(function($){return{signedHttpRequest:$,options:F,url:"https://".concat(F.bucket,".s3.amazonaws.com").concat($.path)}}),(0,te.b)(function(){return console.log(".marker({ event: BEFORE , entity: crud , op: query , meta: { http: get } })")}),(0,st.w)(function($){return s.get($.url,{headers:$.signedHttpRequest.headers,withCredentials:!1})}),(0,te.b)(function(){return console.log(".marker({ event: AFTER , entity: s3 , op: query , meta: { http: get } })")}),(0,Ce.U)(function($){return{entities:$?[$]:[],success:!!$}})),(0,Le.of)({entities:[],success:!1}))}))}})}(0,s,t,u,l))});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Dc),r.\u0275\u0275inject(r.PLATFORM_ID),r.\u0275\u0275inject(Pu),r.\u0275\u0275inject(_i),r.\u0275\u0275inject(Ts),r.\u0275\u0275inject(O.HttpClient),r.\u0275\u0275inject(Vn.AsyncApiCallHelperService))},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({imports:[Vn.UtilsModule,so,a_]}),o}(),yE=function(n){var s=n.method,l=n.path,h=n.port,T=n.protocol,$=n.service,se=n.cognitoSettings,ue=n.authFacade;return(0,Le.of)(new rr({body:n.body,headers:n.headers,hostname:n.hostname,method:void 0===s?"GET":s,path:void 0===l?"/":l,port:void 0===h?443:h,protocol:void 0===T?"https:":T,query:n.query})).pipe((0,te.b)(function(){return console.log(".marker({ event: BEGIN , context: os, entity: sig , op: signv4 , meta: { } })")}),(0,st.w)(function(ge){return(0,wA.D)(new wf({credentials:oP({client:new AP({region:se.region}),identityPoolId:se.identityPoolId,logins:(0,d.Z)({},"cognito-idp.".concat(se.region,".amazonaws.com/").concat(se.userPoolId),function(){return Rc(ue.getUser$.pipe((0,Ce.U)(function(we){return we?we.id_token:void 0})))})}),region:se.region,service:$,sha256:AI.Sha256,applyChecksum:!1}).sign(ge).then(function(Se){return console.log(".marker({ event: RESOLVED, entity: os , op: signv4 , meta: { } })"),Se})).pipe((0,te.b)(function(){return console.log(".marker({ /os/sign/after/sig })")}),(0,An.q)(1))}),(0,Ce.U)(function(ge){return ge}),(0,te.b)(function(){return console.log(".marker({ event: END , context: os, entity: sig , op: signv4 , meta: { } })")}))},Gj=function(){var o=(0,y.Z)(function n(t,e,a,s,u,l){(0,f.Z)(this,n),a.register(function(n,t,e,a,s){return new Kd({id:"aws_opensearch_template",title:"AWS Opensearch Template",create:function(l){return(0,Le.of)({success:!1})},read:function(l){return Qa(l),(0,Le.of)({success:!1})},update:function(l){return(0,Le.of)({success:!1})},delete:function(l){return Qa(l),(0,Le.of)({success:!1})},query:function(l){var c=l.rule,h=l.params;return(0,Le.of)({entities:[],success:!1}).pipe((0,st.w)(function(){return h&&0!==Object.keys(h).length?(0,$n.D)(Object.keys(h).map(function(C){return a.paramValue(h[C],new Map).pipe((0,Ce.U)(function(T){return(0,d.Z)({},C,T)}))})).pipe((0,Ce.U)(function(C){return C.reduce(function(T,N){return(0,b.Z)((0,b.Z)({},T),N)},{})}),(0,Ce.U)(function(C){return{options:C}})):(0,Le.of)({options:{}})}),(0,Ce.U)(function(C){var T=C.options;return{options:T,body:JSON.stringify({id:T.id,params:c?c.conditions.all.reduce(function(N,F){return(0,b.Z)((0,b.Z)({},N),F.any.reduce(function($,se){return(0,b.Z)((0,b.Z)({},$),{},(0,d.Z)({},se.path.substr(2),[].concat((0,_.Z)($[se.path.substr(2)]?$[se.path.substr(2)]:[]),[JSON.parse(decodeURIComponent(se.value))])))},{}))},{}):{}})}}),(0,te.b)(function(C){return console.log("open search template query body",C.body)}),(0,st.w)(function(C){var T=C.options;return yE({method:"POST",body:C.body,headers:{"Content-Type":"application/json",host:"".concat(T.domain,".").concat(T.region,".es.amazonaws.com")},hostname:"".concat(T.domain,".").concat(T.region,".es.amazonaws.com"),path:"/".concat(T.index,"/_search/template"),protocol:"https:",service:"es",cognitoSettings:e,authFacade:t}).pipe((0,Ce.U)(function(F){return{signedHttpRequest:F,options:T}}))}),(0,st.w)(function(C){var T=C.signedHttpRequest,N=C.options;delete T.headers.host;var F="https://".concat(N.domain,".").concat(N.region,".es.amazonaws.com/").concat(N.index,"/_search/template");return s.post(F,T.body,{headers:T.headers,withCredentials:!1}).pipe((0,Ce.U)(function($){return{res:$,options:N}}))}),(0,Ce.U)(function(C){var T=C.res,N=C.options;return{entities:N.hits&&T&&T.hits&&T.hits.hits?T.hits.hits.map(function(F){return N.source?F._source:F}):[T],success:!0}}))}})}(0,s,t,u,l)),a.register(function(n,t,e,a){return new Kd({id:"aws_opensearch_entity",title:"AWS Opensearch Entity",create:function(u){var l=u.object,c=u.identity,h=u.params,C=u.parentObject;return(0,Le.of)({success:!1}).pipe(e.resolveParams({params:h}),(0,st.w)(function(T){var N=T.options;return c({object:l,parentObject:C}).pipe((0,Ce.U)(function(F){return{identity:F.identity,options:N}}))}),(0,st.w)(function(T){var N=T.options,F=T.identity;return yE((0,b.Z)((0,b.Z)({method:"PUT",body:JSON.stringify(l),headers:{"Content-Type":"application/json",host:"".concat(N.domain,".").concat(N.region,".es.amazonaws.com")},hostname:"".concat(N.domain,".").concat(N.region,".es.amazonaws.com"),path:"/".concat(N.index,"/_doc/").concat(F),protocol:"https:",service:"es"},(0,b.Z)({},N.pipeline?{query:{pipeline:N.pipeline}}:{})),{},{cognitoSettings:t,authFacade:n})).pipe((0,Ce.U)(function($){return{signedHttpRequest:$,options:N,identity:F}}))}),(0,st.w)(function(T){var N=T.signedHttpRequest,F=T.options,$=T.identity;delete N.headers.host;var se="https://".concat(F.domain,".").concat(F.region,".es.amazonaws.com/").concat(F.index,"/_doc/").concat($);return a.put(se,JSON.stringify(l),{headers:N.headers,withCredentials:!1,params:(0,b.Z)({},F.pipeline?{pipeline:F.pipeline}:{})}).pipe((0,Ce.U)(function(ue){return{res:ue,options:F}}))}),(0,Ce.U)(function(){return{success:!0}}))},read:function(u){return Qa(u),(0,Le.of)({success:!1})},update:function(u){var l=u.object,c=u.identity,h=u.params,C=u.parentObject;return(0,Le.of)({success:!1}).pipe(e.resolveParams({params:h}),(0,st.w)(function(T){var N=T.options;return c({object:l,parentObject:C}).pipe((0,Ce.U)(function(F){return{identity:F.identity,options:N}}))}),(0,st.w)(function(T){var N=T.options,F=T.identity;return yE((0,b.Z)((0,b.Z)({method:"PUT",body:JSON.stringify(l),headers:{"Content-Type":"application/json",host:"".concat(N.domain,".").concat(N.region,".es.amazonaws.com")},hostname:"".concat(N.domain,".").concat(N.region,".es.amazonaws.com"),path:"/".concat(N.index,"/_doc/").concat(F),protocol:"https:",service:"es"},(0,b.Z)({},N.pipeline?{query:{pipeline:N.pipeline}}:{})),{},{cognitoSettings:t,authFacade:n})).pipe((0,Ce.U)(function($){return{signedHttpRequest:$,options:N,identity:F}}))}),(0,st.w)(function(T){var N=T.signedHttpRequest,F=T.options,$=T.identity;delete N.headers.host;var se="https://".concat(F.domain,".").concat(F.region,".es.amazonaws.com/").concat(F.index,"/_doc/").concat($);return a.put(se,JSON.stringify(l),{headers:N.headers,withCredentials:!1,params:(0,b.Z)({},F.pipeline?{pipeline:F.pipeline}:{})}).pipe((0,Ce.U)(function(ue){return{res:ue,options:F}}))}),(0,Ce.U)(function(){return{success:!0}}))},delete:function(u){return Qa(u),(0,Le.of)({success:!1})},query:function(u){var l=u.rule,c=u.params;return(0,Le.of)({entities:[],success:!1}).pipe((0,te.b)(function(){console.log("crud open search query",l,c)}),e.resolveParams({params:c}),(0,Ce.U)(function(h){return{options:h.options,identityCondition:l.conditions.all.map(function(T){return T.any.find(function(N){return"identity"===N.fact})}).find(function(T){return!!T})}}),(0,st.w)(function(h){var C=h.options,T=h.identityCondition;return yE({method:"GET",headers:{"Content-Type":"application/json",host:"".concat(C.domain,".").concat(C.region,".es.amazonaws.com")},hostname:"".concat(C.domain,".").concat(C.region,".es.amazonaws.com"),path:"/".concat(C.index,"/_doc/").concat(T?T.value:""),protocol:"https:",service:"es",cognitoSettings:t,authFacade:n}).pipe((0,te.b)(function(){return console.log(".marker({ event: AFTER , entity: opensearch , op: query , meta: { action: createSignedRequest } })")}),(0,te.b)(function(N){return delete N.headers.host}),(0,Ce.U)(function(N){return{signedHttpRequest:N,options:C,url:"https://".concat(C.domain,".").concat(C.region,".es.amazonaws.com").concat(N.path)}}),(0,te.b)(function(){return console.log(".marker({ event: BEFORE , entity: crud , op: query , meta: { http: get } })")}),(0,st.w)(function(N){return a.get(N.url,{headers:N.signedHttpRequest.headers,withCredentials:!1}).pipe((0,si.K)(function(){return(0,Le.of)(void 0)}))}),(0,te.b)(function(){return console.log(".marker({ event: AFTER , entity: opensearch , op: query , meta: { http: get } })")}),(0,Ce.U)(function(N){return{entities:N?[N._source]:[],success:!!N}}))}))}})}(s,t,u,l))});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Dc),r.\u0275\u0275inject(r.PLATFORM_ID),r.\u0275\u0275inject(Pu),r.\u0275\u0275inject(_i),r.\u0275\u0275inject(Ts),r.\u0275\u0275inject(O.HttpClient))},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({imports:[so,a_]}),o}(),Ms=S(64567),Hj=S(81382),o_=S(42375),qj=Object.prototype.toString;var RI=function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")},_E=function(){function o(n,t){for(var e=0;e<t.length;e++){var a=t[e];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(n,a.key,a)}}return function(n,t,e){return t&&o(n.prototype,t),e&&o(n,e),n}}();function DI(o){return o.split("").map(function(n){return"(?:"+n.toUpperCase()+"|"+n.toLowerCase()+")"}).join("")}function Wd(o,n){for(var t=o.length-1;t>=0;t--)o[t]===n&&Array.prototype.splice.call(o,t,1)}function Kj(o,n){return Object.prototype.hasOwnProperty.call(o,n)}var EA={},TI=function(){function o(){RI(this,o),this.plurals=[],this.singulars=[],this.uncountables=[],this.humans=[],this.acronyms={},this.acronymRegex=/(?=a)b/}return _E(o,null,[{key:"getInstance",value:function(t){return EA[t]=EA[t]||new o,EA[t]}}]),_E(o,[{key:"acronym",value:function(t){this.acronyms[t.toLowerCase()]=t;var e=[];for(var a in this.acronyms)Kj(this.acronyms,a)&&e.push(this.acronyms[a]);this.acronymRegex=new RegExp(e.join("|"))}},{key:"plural",value:function(t,e){"string"==typeof t&&Wd(this.uncountables,t),Wd(this.uncountables,e),this.plurals.unshift([t,e])}},{key:"singular",value:function(t,e){"string"==typeof t&&Wd(this.uncountables,t),Wd(this.uncountables,e),this.singulars.unshift([t,e])}},{key:"irregular",value:function(t,e){Wd(this.uncountables,t),Wd(this.uncountables,e);var a=t[0],s=t.substr(1),u=e[0],l=e.substr(1);if(a.toUpperCase()===u.toUpperCase())this.plural(new RegExp("("+a+")"+s+"$","i"),"$1"+l),this.plural(new RegExp("("+u+")"+l+"$","i"),"$1"+l),this.singular(new RegExp("("+a+")"+s+"$","i"),"$1"+s),this.singular(new RegExp("("+u+")"+l+"$","i"),"$1"+s);else{var c=DI(s),h=DI(l);this.plural(new RegExp(a.toUpperCase()+c+"$"),u.toUpperCase()+l),this.plural(new RegExp(a.toLowerCase()+c+"$"),u.toLowerCase()+l),this.plural(new RegExp(u.toUpperCase()+h+"$"),u.toUpperCase()+l),this.plural(new RegExp(u.toLowerCase()+h+"$"),u.toLowerCase()+l),this.singular(new RegExp(a.toUpperCase()+c+"$"),a.toUpperCase()+s),this.singular(new RegExp(a.toLowerCase()+c+"$"),a.toLowerCase()+s),this.singular(new RegExp(u.toUpperCase()+h+"$"),a.toUpperCase()+s),this.singular(new RegExp(u.toLowerCase()+h+"$"),a.toLowerCase()+s)}}},{key:"uncountable",value:function(){for(var t=arguments.length,e=Array(t),a=0;a<t;a++)e[a]=arguments[a];this.uncountables=this.uncountables.concat(e)}},{key:"human",value:function(t,e){this.humans.unshift([t,e])}},{key:"clear",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"all";"all"===t?(this.plurals=[],this.singulars=[],this.uncountables=[],this.humans=[]):this[t]=[]}}]),o}(),II={en:function Wj(o){o.plural(/$/,"s"),o.plural(/s$/i,"s"),o.plural(/^(ax|test)is$/i,"$1es"),o.plural(/(octop|vir)us$/i,"$1i"),o.plural(/(octop|vir)i$/i,"$1i"),o.plural(/(alias|status)$/i,"$1es"),o.plural(/(bu)s$/i,"$1ses"),o.plural(/(buffal|tomat)o$/i,"$1oes"),o.plural(/([ti])um$/i,"$1a"),o.plural(/([ti])a$/i,"$1a"),o.plural(/sis$/i,"ses"),o.plural(/(?:([^f])fe|([lr])f)$/i,"$1$2ves"),o.plural(/(hive)$/i,"$1s"),o.plural(/([^aeiouy]|qu)y$/i,"$1ies"),o.plural(/(x|ch|ss|sh)$/i,"$1es"),o.plural(/(matr|vert|ind)(?:ix|ex)$/i,"$1ices"),o.plural(/^(m|l)ouse$/i,"$1ice"),o.plural(/^(m|l)ice$/i,"$1ice"),o.plural(/^(ox)$/i,"$1en"),o.plural(/^(oxen)$/i,"$1"),o.plural(/(quiz)$/i,"$1zes"),o.singular(/s$/i,""),o.singular(/(ss)$/i,"$1"),o.singular(/(n)ews$/i,"$1ews"),o.singular(/([ti])a$/i,"$1um"),o.singular(/((a)naly|(b)a|(d)iagno|(p)arenthe|(p)rogno|(s)ynop|(t)he)(sis|ses)$/i,"$1sis"),o.singular(/(^analy)(sis|ses)$/i,"$1sis"),o.singular(/([^f])ves$/i,"$1fe"),o.singular(/(hive)s$/i,"$1"),o.singular(/(tive)s$/i,"$1"),o.singular(/([lr])ves$/i,"$1f"),o.singular(/([^aeiouy]|qu)ies$/i,"$1y"),o.singular(/(s)eries$/i,"$1eries"),o.singular(/(m)ovies$/i,"$1ovie"),o.singular(/(x|ch|ss|sh)es$/i,"$1"),o.singular(/^(m|l)ice$/i,"$1ouse"),o.singular(/(bus)(es)?$/i,"$1"),o.singular(/(o)es$/i,"$1"),o.singular(/(shoe)s$/i,"$1"),o.singular(/(cris|test)(is|es)$/i,"$1is"),o.singular(/^(a)x[ie]s$/i,"$1xis"),o.singular(/(octop|vir)(us|i)$/i,"$1us"),o.singular(/(alias|status)(es)?$/i,"$1"),o.singular(/^(ox)en/i,"$1"),o.singular(/(vert|ind)ices$/i,"$1ex"),o.singular(/(matr)ices$/i,"$1ix"),o.singular(/(quiz)zes$/i,"$1"),o.singular(/(database)s$/i,"$1"),o.irregular("person","people"),o.irregular("man","men"),o.irregular("child","children"),o.irregular("sex","sexes"),o.irregular("move","moves"),o.irregular("zombie","zombies"),o.uncountable("equipment","information","rice","money","species","series","fish","sheep","jeans","police")}};function is(o,n){if(function kI(o){return"[object Function]"===qj.call(o)}(o)&&(n=o,o=null),o=o||"en",!n)return TI.getInstance(o);n(TI.getInstance(o))}for(var OI in II)is(OI,II[OI]);function MI(o){return function FI(o,n){var e,a,s,t=""+o;if(0===t.length)return t;var u=t.toLowerCase().match(/\b\w+$/);if(u&&is().uncountables.indexOf(u[0])>-1)return t;for(var l=0,c=n.length;l<c;l++)if(s=(e=n[l])[1],t.match(a=e[0])){t=t.replace(a,s);break}return t}(o,is(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en").plurals)}function NI(o){var n=null==o?"":String(o);return n.charAt(0).toUpperCase()+n.slice(1)}function Tl(o,n){null==n&&(n=!0);var t=""+o;return t=(t=n?t.replace(/^[a-z\d]*/,function(e){return is().acronyms[e]||NI(e)}):t.replace(new RegExp("^(?:"+is().acronymRegex.source+"(?=\\b|[A-Z_])|\\w)"),function(e){return e.toLowerCase()})).replace(/(?:_|(\/))([a-z\d]*)/gi,function(e,a,s,u,l){return a||(a=""),""+a+(is().acronyms[s]||NI(s))}),t}var VI={\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00c6:"AE",\u00c7:"C",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00d0:"D",\u00d1:"N",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O","\xd7":"x",\u00d8:"O",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00dd:"Y",\u00de:"Th",\u00df:"ss",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00e6:"ae",\u00e7:"c",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00f0:"d",\u00f1:"n",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00fd:"y",\u00fe:"th",\u00ff:"y",\u0100:"A",\u0101:"a",\u0102:"A",\u0103:"a",\u0104:"A",\u0105:"a",\u0106:"C",\u0107:"c",\u0108:"C",\u0109:"c",\u010a:"C",\u010b:"c",\u010c:"C",\u010d:"c",\u010e:"D",\u010f:"d",\u0110:"D",\u0111:"d",\u0112:"E",\u0113:"e",\u0114:"E",\u0115:"e",\u0116:"E",\u0117:"e",\u0118:"E",\u0119:"e",\u011a:"E",\u011b:"e",\u011c:"G",\u011d:"g",\u011e:"G",\u011f:"g",\u0120:"G",\u0121:"g",\u0122:"G",\u0123:"g",\u0124:"H",\u0125:"h",\u0126:"H",\u0127:"h",\u0128:"I",\u0129:"i",\u012a:"I",\u012b:"i",\u012c:"I",\u012d:"i",\u012e:"I",\u012f:"i",\u0130:"I",\u0131:"i",\u0132:"IJ",\u0133:"ij",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013a:"l",\u013b:"L",\u013c:"l",\u013d:"L",\u013e:"l",\u013f:"L",\u0140:"l",\u0141:"L",\u0142:"l",\u0143:"N",\u0144:"n",\u0145:"N",\u0146:"n",\u0147:"N",\u0148:"n",\u0149:"'n",\u014a:"NG",\u014b:"ng",\u014c:"O",\u014d:"o",\u014e:"O",\u014f:"o",\u0150:"O",\u0151:"o",\u0152:"OE",\u0153:"oe",\u0154:"R",\u0155:"r",\u0156:"R",\u0157:"r",\u0158:"R",\u0159:"r",\u015a:"S",\u015b:"s",\u015c:"S",\u015d:"s",\u015e:"S",\u015f:"s",\u0160:"S",\u0161:"s",\u0162:"T",\u0163:"t",\u0164:"T",\u0165:"t",\u0166:"T",\u0167:"t",\u0168:"U",\u0169:"u",\u016a:"U",\u016b:"u",\u016c:"U",\u016d:"u",\u016e:"U",\u016f:"u",\u0170:"U",\u0171:"u",\u0172:"U",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017a:"z",\u017b:"Z",\u017c:"z",\u017d:"Z",\u017e:"z",\u0410:"A",\u0411:"B",\u0412:"V",\u0413:"G",\u0414:"D",\u0415:"E",\u0401:"E",\u0416:"ZH",\u0417:"Z",\u0418:"I",\u0419:"J",\u041a:"K",\u041b:"L",\u041c:"M",\u041d:"N",\u041e:"O",\u041f:"P",\u0420:"R",\u0421:"S",\u0422:"T",\u0423:"U",\u0424:"F",\u0425:"KH",\u0426:"C",\u0427:"CH",\u0428:"SH",\u0429:"SHCH",\u042a:"",\u042b:"Y",\u042c:"",\u042d:"E",\u042e:"YU",\u042f:"YA",\u0430:"a",\u0431:"b",\u0432:"v",\u0433:"g",\u0434:"d",\u0435:"e",\u0451:"e",\u0436:"zh",\u0437:"z",\u0438:"i",\u0439:"j",\u043a:"k",\u043b:"l",\u043c:"m",\u043d:"n",\u043e:"o",\u043f:"p",\u0440:"r",\u0441:"s",\u0442:"t",\u0443:"u",\u0444:"f",\u0445:"kh",\u0446:"c",\u0447:"ch",\u0448:"sh",\u0449:"shch",\u044a:"",\u044b:"y",\u044c:"",\u044d:"e",\u044e:"yu",\u044f:"ya"},PA={};function r$(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"mat-option",5),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&o){var t=n.index;r.\u0275\u0275property("value",t),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1("panel page | level: ",t,"")}}function i$(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"mat-form-field")(1,"mat-select",3),r.\u0275\u0275template(2,r$,2,2,"mat-option",4),r.\u0275\u0275pipe(3,"async"),r.\u0275\u0275elementEnd()()),2&o){var t=r.\u0275\u0275nextContext();r.\u0275\u0275advance(2),r.\u0275\u0275property("ngForOf",r.\u0275\u0275pipeBind1(3,1,t.panelPages$))}}function a$(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"mat-option",5),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&o){var t=n.index;r.\u0275\u0275property("value",t),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1("panel | ",t,"")}}function o$(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"mat-form-field")(1,"mat-select",6),r.\u0275\u0275template(2,a$,2,2,"mat-option",4),r.\u0275\u0275pipe(3,"async"),r.\u0275\u0275elementEnd()()),2&o){var t=r.\u0275\u0275nextContext();r.\u0275\u0275advance(2),r.\u0275\u0275property("ngForOf",r.\u0275\u0275pipeBind1(3,1,t.panels$))}}function s$(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"mat-option",5),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&o){var t=n.index;r.\u0275\u0275property("value",t),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1("pane | ",t,"")}}function u$(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"mat-form-field")(1,"mat-select",7),r.\u0275\u0275template(2,s$,2,2,"mat-option",4),r.\u0275\u0275pipe(3,"async"),r.\u0275\u0275elementEnd()()),2&o){var t=r.\u0275\u0275nextContext();r.\u0275\u0275advance(2),r.\u0275\u0275property("ngForOf",r.\u0275\u0275pipeBind1(3,1,t.panes$))}}function l$(o,n){if(1&o&&r.\u0275\u0275element(0,"druid-panels-panelpage-linkedlist",8),2&o){var t=r.\u0275\u0275nextContext();r.\u0275\u0275property("panelPages",t.nested)}}function c$(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"a",2),r.\u0275\u0275listener("click",function(){var u=r.\u0275\u0275restoreView(t).$implicit,l=r.\u0275\u0275nextContext(2);return r.\u0275\u0275resetView(l.onItemSelect(u.id))}),r.\u0275\u0275elementStart(1,"span",6),r.\u0275\u0275text(2),r.\u0275\u0275elementEnd()()}if(2&o){var e=n.$implicit;r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate2("",e.title," [",e.id,"]")}}function d$(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"mat-nav-list"),r.\u0275\u0275template(1,c$,3,2,"a",5),r.\u0275\u0275pipe(2,"async"),r.\u0275\u0275elementEnd()),2&o){var t=r.\u0275\u0275nextContext();r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",r.\u0275\u0275pipeBind1(2,1,t.panels$))}}!function(){function o(){for(var n in RI(this,o),this.approximations={},VI)this.approximate(n,VI[n])}_E(o,null,[{key:"getInstance",value:function(t){return PA[t]=PA[t]||new o,PA[t]}}]),_E(o,[{key:"approximate",value:function(t,e){this.approximations[t]=e}},{key:"transliterate",value:function(t,e){var a=this;return t.replace(/[^\u0000-\u007f]/g,function(s){return a.approximations[s]||e||"?"})}}])}();var f$=(0,y.Z)(function o(n){(0,f.Z)(this,o),n&&(this.openSearchDomain=n.openSearchDomain,this.s3Bucket=n.s3Bucket,this.objectsRootUrl=n.objectsRootUrl)}),ri=(0,y.Z)(function o(n){(0,f.Z)(this,o),this.gridItems=[],this.panels=[],this.contexts=[],this.rowSettings=[],this.entityPermissions=new ZI,n&&(this.id=n.id,this.layoutType=n.layoutType,this.displayType=n.displayType,this.name=n.name?n.name:void 0,this.title=n.title?n.title:void 0,this.site=n.site?n.site:void 0,this.userId=n.userId?n.userId:void 0,this.path=n.path?n.path:void 0,this.persistence=n.persistence?new Hd(n.persistence):void 0,this.interactions=n.interactions?new Rl(n.interactions):void 0,n.panels&&(this.panels=n.panels.map(function(t){return new Ns(t)})),n.gridItems&&(this.gridItems=n.gridItems.map(function(t){return new m$(t)})),n.contexts&&(this.contexts=n.contexts.map(function(t){return new la(t)})),n.layoutSetting&&(this.layoutSetting=new br(n.layoutSetting)),n.rowSettings&&Array.isArray(n.rowSettings)&&(this.rowSettings=n.rowSettings.map(function(t){return new br(t)})),n.entityPermissions&&(this.entityPermissions=new ZI(n.entityPermissions)),n.cssFile&&(this.cssFile=n.cssFile))}),Ns=(0,y.Z)(function o(n){(0,f.Z)(this,o),this.settings=[],this.panes=[],n&&(this.name=n.name?n.name:void 0,this.label=n.label?n.label:void 0,this.stylePlugin=n.stylePlugin,n.settings&&(this.settings=n.settings.map(function(t){return new Nt.AttributeValue(t)})),n.panes&&(this.panes=n.panes.map(function(t){return new Wr(t)})),n.columnSetting&&(this.columnSetting=new br(n.columnSetting)))}),Wr=(0,y.Z)(function o(n){(0,f.Z)(this,o),this.settings=[],this.locked=!1,this.contexts=[],n&&(this.name=n.name,this.label=n.label,this.contentPlugin=n.contentPlugin,this.locked=void 0!==n.locked&&n.locked,n.linkedPageId&&(this.linkedPageId=n.linkedPageId),void 0!==n.metadata&&(this.metadata=new Map((0,_.Z)(n.metadata))),void 0!==n.settings&&(this.settings=n.settings.map(function(t){return new Nt.AttributeValue(t)})),void 0!==n.contexts&&(this.contexts=n.contexts.map(function(t){return new la(t)})),void 0!==n.rule&&"string"!=typeof n.rule&&(this.rule=(0,b.Z)({},n.rule)),n.nestedPage&&(this.nestedPage=new ri(n.nestedPage)),n.resolvedContext&&(this.resolvedContext=(0,b.Z)({},n.resolvedContext)))}),m$=(0,y.Z)(function o(n){(0,f.Z)(this,o),n&&(this.cols=n.cols,this.rows=n.rows,this.x=n.x,this.y=n.y,this.weight=n.weight)}),br=(0,y.Z)(function o(n){(0,f.Z)(this,o),this.settings=[],n&&n.settings&&Array.isArray(n.settings)&&(this.settings=n.settings.map(function(t){return new Nt.AttributeValue(t)}))}),ZI=(0,y.Z)(function o(n){(0,f.Z)(this,o),this.readUserIds=[],this.writeUserIds=[],this.deleteUserIds=[],n&&(this.readUserIds=n.readUserIds?n.readUserIds.map(function(t){return t}):[],this.writeUserIds=n.writeUserIds?n.writeUserIds.map(function(t){return t}):[],this.deleteUserIds=n.deleteUserIds?n.deleteUserIds.map(function(t){return t}):[])}),ya=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.attributeSerializer=t}return(0,y.Z)(n,[{key:"handleFile",value:function(e){return(0,Le.of)()}},{key:"handlesType",value:function(e){return!1}},{key:"implementsRendererOverride",value:function(){return!1}},{key:"hasRendererOverride",value:function(e){return(0,Le.of)(!1)}},{key:"isDynamic",value:function(e){return!1}},{key:"isData",value:function(e){return!1}},{key:"buildDynamicItems",value:function(e,a){return(0,Le.of)([])}},{key:"fetchDynamicData",value:function(e,a){return(0,Le.of)(new pr)}},{key:"getBindings",value:function(e,a){return(0,Le.of)([])}},{key:"toObject",value:function(e){return(0,Le.of)(this.attributeSerializer.deserializeAsObject(e))}},{key:"buildSettings",value:function(e){return this.attributeSerializer.serialize(e,"root").attributes}},{key:"fromPanes",value:function(e){var a=this;return e.map(function(s){return new Wr(a.attributeSerializer.deserialize(s))})}},{key:"wrapPanel",value:function(e){return new Ns({stylePlugin:void 0,settings:[],panes:e,columnSetting:new br})}},{key:"stateDefinition",value:function(e){return(0,Le.of)({})}},{key:"editorOptions",value:function(e){return(0,Le.of)(new pn.ContentPluginEditorOptions)}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Nt.AttributeSerializerService))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),h$=function(){var o=function(){function n(t,e){var a=this;(0,f.Z)(this,n),this.fb=t,this.panelHandler=e,this.panelPages$=new U.X([]),this.panels$=new U.X([]),this.panes$=new U.X([]),this.nested$=new U.X([]),this.formGroup=this.fb.group({panelPage:this.fb.control(void 0),panel:this.fb.control(void 0),pane:this.fb.control(void 0),nested:this.fb.control(void 0)}),this.panelPageSub=this.formGroup.get("panelPage").valueChanges.subscribe(function(s){a.panels$.next(new ri(a.panelPages$.value[s]).panels)}),this.panelSub=this.formGroup.get("panel").valueChanges.subscribe(function(s){a.panes$.next(new Ns(a.panels$.value[s]).panes)}),this.paneSub=this.formGroup.get("pane").valueChanges.pipe((0,Ce.U)(function(s){return a.panes$.value[s]}),(0,st.w)(function(s){return Or(function(){return"panel"===s.contentPlugin},a.panelHandler.toObject(s.settings),(0,Le.of)(void 0))}),(0,Q.h)(function(s){return!!s})).subscribe(function(s){a.nested$.next([s])}),this.onTouched=function(){}}return(0,y.Z)(n,[{key:"panelPages",get:function(){return this.panelPages$.value&&Array.isArray(this.panelPages$.value)?this.panelPages$.value:[]},set:function(e){this.panelPages$.next(e)}},{key:"panels",get:function(){return this.panels$.value&&Array.isArray(this.panels$.value)?this.panels$.value:[]},set:function(e){this.panels$.next(e)}},{key:"panes",get:function(){return this.panes$.value&&Array.isArray(this.panes$.value)?this.panes$.value:[]},set:function(e){this.panes$.next(e)}},{key:"nested",get:function(){return this.nested$.value&&void 0!==typeof this.nested$.value&&this.nested$.value.length>0?(0,_.Z)(this.nested$.value):void 0}},{key:"writeValue",value:function(e){e&&this.formGroup.setValue(e,{emitEvent:!1})}},{key:"registerOnChange",value:function(e){this.formGroup.valueChanges.subscribe(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){e?this.formGroup.disable():this.formGroup.enable()}},{key:"validate",value:function(e){return this.formGroup.valid?null:{invalidForm:{valid:!1}}}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(ya))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["druid-panels-panelpage-linkedlist"]],inputs:{panelPages:"panelPages",panels:"panels",panes:"panes"},features:[r.\u0275\u0275ProvidersFeature([{provide:v.NG_VALUE_ACCESSOR,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0},{provide:v.NG_VALIDATORS,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0}])],decls:5,vars:5,consts:[[3,"formGroup"],[4,"ngIf"],["formControlName","nested",3,"panelPages",4,"ngIf"],["required","","formControlName","panelPage"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["required","","formControlName","panel"],["required","","formControlName","pane"],["formControlName","nested",3,"panelPages"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"div",0),r.\u0275\u0275template(1,i$,4,3,"mat-form-field",1),r.\u0275\u0275template(2,o$,4,3,"mat-form-field",1),r.\u0275\u0275template(3,u$,4,3,"mat-form-field",1),r.\u0275\u0275template(4,l$,1,1,"druid-panels-panelpage-linkedlist",2),r.\u0275\u0275elementEnd()),2&t&&(r.\u0275\u0275property("formGroup",e.formGroup),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",e.panelPages.length>0),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",e.panels.length>0),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",e.panes.length>0),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",e.nested))},dependencies:[P.NgForOf,P.NgIf,v.NgControlStatus,v.NgControlStatusGroup,v.RequiredValidator,v.FormGroupDirective,v.FormControlName,bi.MatLegacyOption,En.MatLegacyFormField,Fi.MatLegacySelect,o,P.AsyncPipe],encapsulation:2}),o}(),g$=function(){var o=function(){function n(t,e,a,s,u,l){(0,f.Z)(this,n),this.siteName=t,this.bottomSheetRef=e,this.handler=a,this.dialog=s,this.fb=u,this.selectedIndex=0,this.panelPagesService=l.getEntityCollectionService("PanelPage"),this.panelPageListItemsService=l.getEntityCollectionService("PanelPageListItem")}return(0,y.Z)(n,[{key:"ngOnInit",value:function(){}},{key:"onNewSelect",value:function(){var e=this,a=vr(),s=new ri({id:void 0,layoutType:"split",displayType:"page",site:this.siteName,gridItems:[],panels:[],layoutSetting:new br,rowSettings:[]});this.panelFormGroup.get("panes").push(this.fb.group({contentPlugin:"panel",name:a,label:a,rule:new v.UntypedFormControl(""),settings:this.fb.array(this.handler.buildSettings(s).map(function(u){return e.convertToGroup(u)}))})),this.bottomSheetRef.dismiss()}},{key:"onLinkSelect",value:function(){this.selectedIndex=1,this.panels$=this.panelPageListItemsService.getWithQuery("site=".concat(encodeURIComponent(this.siteName)))}},{key:"onEmbedSelect",value:function(){var e=vr();this.panelFormGroup.get("panes").push(this.fb.group({contentPlugin:"panel",name:e,label:e,rule:new v.UntypedFormControl(""),locked:new v.UntypedFormControl(!0),settings:this.fb.array([])})),this.bottomSheetRef.dismiss()}},{key:"onItemSelect",value:function(e){var a=vr();this.panelFormGroup.get("panes").push(this.fb.group({contentPlugin:"panel",name:a,label:a,rule:new v.UntypedFormControl(""),linkedPageId:new v.UntypedFormControl(e,v.Validators.required),locked:new v.UntypedFormControl(!0),settings:this.fb.array([])})),this.bottomSheetRef.dismiss()}},{key:"convertToGroup",value:function(e){var a=this,s=this.fb.group({name:new v.UntypedFormControl(e.name,v.Validators.required),type:new v.UntypedFormControl(e.type,v.Validators.required),displayName:new v.UntypedFormControl(e.displayName,v.Validators.required),value:new v.UntypedFormControl(e.value,v.Validators.required),computedValue:new v.UntypedFormControl(e.value,v.Validators.required),attributes:new v.UntypedFormArray([])});return e.attributes&&e.attributes.length>0&&e.attributes.forEach(function(u){s.get("attributes").push(a.convertToGroup(u))}),s}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Vn.SITE_NAME),r.\u0275\u0275directiveInject(Dl.MatBottomSheetRef),r.\u0275\u0275directiveInject(ya),r.\u0275\u0275directiveInject(Yt.MatLegacyDialog),r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(Dr))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-panel-selector"]],inputs:{panelFormGroup:"panelFormGroup"},decls:11,vars:1,consts:[["mat-align-tabs","start",3,"selectedIndex"],["label","Type"],["mat-list-item","","mat-list-item","",3,"click"],["label","Search"],["matTabContent",""],["mat-list-item","","mat-list-item","",3,"click",4,"ngFor","ngForOf"],["mat-line",""]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"mat-tab-group",0)(1,"mat-tab",1)(2,"mat-nav-list")(3,"a",2),r.\u0275\u0275listener("click",function(){return e.onNewSelect()}),r.\u0275\u0275text(4,"New Panel"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(5,"a",2),r.\u0275\u0275listener("click",function(){return e.onLinkSelect()}),r.\u0275\u0275text(6,"Link Panel"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(7,"a",2),r.\u0275\u0275listener("click",function(){return e.onEmbedSelect()}),r.\u0275\u0275text(8,"Embed Panel"),r.\u0275\u0275elementEnd()()(),r.\u0275\u0275elementStart(9,"mat-tab",3),r.\u0275\u0275template(10,d$,3,3,"ng-template",4),r.\u0275\u0275elementEnd()()),2&t&&r.\u0275\u0275property("selectedIndex",e.selectedIndex)},dependencies:[P.NgForOf,vE.MatLine,Eu.MatLegacyNavList,Eu.MatLegacyListItem,rs.MatLegacyTabGroup,rs.MatLegacyTab,rs.MatLegacyTabContent,P.AsyncPipe]}),o}(),v$=function(){var o=function(){function n(){(0,f.Z)(this,n)}return(0,y.Z)(n,[{key:"ngOnInit",value:function(){}}]),n}();return o.\u0275fac=function(t){return new(t||o)},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-panel-editor"]],decls:2,vars:0,template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"p"),r.\u0275\u0275text(1,"panel-editor works!"),r.\u0275\u0275elementEnd())}}),o}(),as=(0,y.Z)(function o(n){(0,f.Z)(this,o),this.panels=[],n&&(this.id=n.id,void 0!==n.panels&&Array.isArray(n.panels)&&(this.panels=n.panels.map(function(t){return new Il(t)})))}),Il=(0,y.Z)(function o(n){(0,f.Z)(this,o),this.panes=[],n&&void 0!==n.panes&&Array.isArray(n.panes)&&(this.panes=n.panes.map(function(t){return new Ya(t)}))}),Ya=(0,y.Z)(function o(n){(0,f.Z)(this,o),n&&(void 0!==n.state&&(this.state=new Nt.AttributeValue(n.state)),null!=n.nestedPage&&(this.nestedPage=new as(n.nestedPage)))}),AA=function(){var o=function(){function n(t,e,a,s,u,l){(0,f.Z)(this,n),this.siteName=t,this.panelHandler=e,this.attributeSerializer=a,this.rulesResolver=s,this.dpm=u,this.datasourceEvalutator=l}return(0,y.Z)(n,[{key:"handleFile",value:function(e){return(0,Le.of)([])}},{key:"handlesType",value:function(e){return!1}},{key:"implementsRendererOverride",value:function(){return!0}},{key:"hasRendererOverride",value:function(e){return(0,Le.of)(!1)}},{key:"isDynamic",value:function(e){return!0}},{key:"isData",value:function(e){return!0}},{key:"fetchDynamicData",value:function(e,a){var s=this,u=a.has("dataPanes")?new Map(a.get("dataPanes").map(function(c){return[c.name,c]})):new Map([]),l=new Map(Array.from(u).map(function(c){var h=(0,g.Z)(c,2);return[h[0],new Pl(s.attributeSerializer.deserializeAsObject(h[1].settings))]}));return this.toObject(e).pipe((0,st.w)(function(c){return s.datasourceEvalutator.evalDatasource({datasource:c,metadata:a,datasources:l})}))}},{key:"buildDynamicItems",value:function(e,a){var s=this,u=new Map(a.get("dataPanes").map(function(l){return[l.name,l]}));return this.fetchDynamicData(e,a).pipe((0,st.w)(function(l){return s.toObject(e).pipe((0,Ce.U)(function(c){return[c,l]}))}),(0,st.w)(function(l){var c=(0,g.Z)(l,2),h=c[0],C=c[1];return s.getBindings(e,"pane").pipe((0,Ce.U)(function(T){return[h,C,T]}))}),(0,st.w)(function(l){var c=(0,g.Z)(l,3),h=c[0],C=c[1],T=c[2];return Or(function(){return 0!==C.results.length&&T.length>0},(0,$n.D)(C.results.map(function(N){return(0,$n.D)(T.filter(function(F){return!u.has(F.id)}).map(function(F){return(0,Le.of)(a.get("panes").find(function($){return $.name===F.id})).pipe((0,st.w)(function($){return Or(function(){return $&&$.rule&&null!==$.rule&&""!==$.rule.condition},$?s.rulesResolver.evaluate($.rule,[].concat((0,_.Z)(a.get("contexts")),(0,_.Z)(void 0!==$.contexts?$.contexts:[]),[new la({name:"_root",adaptor:"data",data:N})])).pipe((0,Ce.U)(function(se){return[$,se]})):(0,Le.of)([$,!1]),(0,Le.of)(!1).pipe((0,Ce.U)(function(se){return[$,se]})))}),(0,Q.h)(function($){return(0,g.Z)($,2)[1]}),(0,Ce.U)(function($){return(0,g.Z)($,2)[0].name}),(0,fi.d)(F.id))})).pipe((0,Ce.U)(function(F){return F.reduce(function($,se){return[].concat((0,_.Z)($),[se])},[])}))})).pipe((0,Ce.U)(function(N){return[h,C,N]})),new W.y(function(N){N.next([h,C,[]]),N.complete()}))}),(0,Ce.U)(function(l){var c=(0,g.Z)(l,3),T=c[2];return c[1].results.reduce(function(N,F,$){return[].concat((0,_.Z)(N),(0,_.Z)(T[$]?T[$].map(function(se){return new Wr((0,b.Z)((0,b.Z)({},a.get("panes").find(function(ue){return ue.name===se})),{},{rule:void 0,label:vr(),contexts:[].concat((0,_.Z)(a.get("contexts")),[new la({name:"_root",adaptor:"data",data:F})])}))}):[]))},[])}),(0,Ce.U)(function(l){return new Ns({stylePlugin:void 0,settings:[],panes:l,columnSetting:new br})}),(0,Ce.U)(function(l){return s.panelHandler.buildSettings(new ri({id:void 0,layoutType:"grid",displayType:"page",site:s.siteName,gridItems:[],layoutSetting:new br,rowSettings:[],panels:[l]}))}),(0,Ce.U)(function(l){return l.find(function(c){return"panels"===c.name}).attributes[0].attributes.find(function(c){return"panes"===c.name}).attributes}))}},{key:"getBindings",value:function(e,a,s){var u=this,l=s?new Map(s.get("dataPanes").map(function(c){return[c.name,c]})):new Map;return"context"===a?this.toObject(e).pipe((0,Ce.U)(function(c){return[c,c.params?c.params.reduce(function(h,C){return[].concat((0,_.Z)(h),(0,_.Z)("form"===C.mapping.type?[new pn.ContentBinding({id:"form__".concat(C.mapping.value.split(".",2)[0].trim()),type:"context"})]:[]))},[]):[]]}),(0,st.w)(function(c){var C=(0,g.Z)(c,2)[0];return u.dpm.getPlugin(C.plugin).pipe((0,st.w)(function(N){return N.getBindings({settings:C.settings,metadata:s}).pipe((0,Ce.U)(function(F){return[C,F]}))}))}),(0,st.w)(function(c){var h=(0,g.Z)(c,2),T=h[1];return(0,$n.D)(h[0].renderer.bindings.reduce(function(N,F){return[].concat((0,_.Z)(N),(0,_.Z)(l.has(F.id)?[u.toObject(l.get(F.id).settings)]:[]))},[])).pipe((0,st.w)(function(N){return(0,$n.D)(N.map(function(F){return u.dpm.getPlugin(F.plugin).pipe((0,st.w)(function($){return $.getBindings({settings:F.settings,metadata:s})}))})).pipe((0,Ce.U)(function(F){return F.reduce(function($,se){return[].concat((0,_.Z)($),(0,_.Z)(se))},T)}),(0,fi.d)(T))}),(0,fi.d)(T))})):this.toObject(e).pipe((0,st.w)(function(c){return Or(function(){return c.renderer.type===a},(0,Le.of)(c.renderer.bindings),(0,Le.of)([]))}))}},{key:"toObject",value:function(e){return(0,Le.of)(this.attributeSerializer.deserializeAsObject(e))}},{key:"buildSettings",value:function(e){return this.attributeSerializer.serialize(e,"root").attributes}},{key:"getRenderType",value:function(e){var a=[e.find(function(s){return"renderer"===s.name})].map(function(s){return s.attributes.find(function(u){return"type"===u.name})});return a.length>0?a[0].value:void 0}},{key:"stateDefinition",value:function(e){return(0,Le.of)({autocomplete:{input:""},loading:"y"})}},{key:"editorOptions",value:function(e){var a=this;return this.toObject(e).pipe((0,st.w)(function(s){return a.dpm.getPlugin(s&&s.plugin?s.plugin:"data").pipe((0,Ce.U)(function(u){return[s,u]}))}),(0,st.w)(function(s){var u=(0,g.Z)(s,2),l=u[0],c=u[1];return c.editorOptions?c.editorOptions({settings:l&&l.settings?l.settings:[]}):(0,Le.of)(void 0)}),(0,Ce.U)(function(s){return new pn.ContentPluginEditorOptions({fullscreen:!!s&&s.fullscreen})}))}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Vn.SITE_NAME),r.\u0275\u0275inject(ya),r.\u0275\u0275inject(Nt.AttributeSerializerService),r.\u0275\u0275inject(CA),r.\u0275\u0275inject(co),r.\u0275\u0275inject(sI))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),y$=function(){var o=function(){function n(t,e,a,s,u){(0,f.Z)(this,n),this.data=t,this.dialogRef=e,this.fb=a,this.attributeSerializer=s,this.datasourceHandler=u,this.datasource=new Pl,this.bindableOptions=[],this.contexts=[],this.formGroup=this.fb.group({source:this.fb.control("")})}return(0,y.Z)(n,[{key:"ngOnInit",value:function(){var e=this,a=this.data.panelFormGroup.get("panes");if(this.bindableOptions=a.controls.reduce(function(u,l){return l.get("name").value?[].concat((0,_.Z)(u),[l.get("name").value]):(0,_.Z)(u)},[]),this.contexts=this.data.contexts.map(function(u){return u.name}),void 0!==this.data.panelIndex&&this.data.paneIndex<a.length){var s=a.at(this.data.paneIndex).get("settings").value.map(function(u){return new Nt.AttributeValue(u)});this.datasourceHandler.toObject(s).subscribe(function(u){e.datasource=u})}}},{key:"onSubmit",value:function(){var e=this,a=this.attributeSerializer.serialize(this.formGroup.value.source,"source"),s=this.data.panelFormGroup.get("panes").at(this.data.paneIndex);void 0===this.data.paneIndex?(this.data.panelFormGroup.get("panes").push(this.fb.group({contentPlugin:"datasource",name:new v.UntypedFormControl(""),label:new v.UntypedFormControl(""),rule:new v.UntypedFormControl(""),settings:this.fb.array(a.attributes.map(function(u){return e.attributeSerializer.convertToGroup(u)}))})),console.log(this.data.panelFormGroup.get("panes").value)):(s.get("settings").clear(),a.attributes.forEach(function(u){return s.get("settings").push(e.attributeSerializer.convertToGroup(u))})),this.dialogRef.close()}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Yt.MAT_LEGACY_DIALOG_DATA),r.\u0275\u0275directiveInject(Yt.MatLegacyDialogRef),r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(Nt.AttributeSerializerService),r.\u0275\u0275directiveInject(AA))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-datasource-editor"]],decls:4,vars:4,consts:[[3,"formGroup","ngSubmit"],["formControlName","source",3,"bindableOptions","contexts","datasource"],["type","submit"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"form",0),r.\u0275\u0275listener("ngSubmit",function(){return e.onSubmit()}),r.\u0275\u0275element(1,"classifieds-ui-datasource-form",1),r.\u0275\u0275elementStart(2,"button",2),r.\u0275\u0275text(3,"Save"),r.\u0275\u0275elementEnd()()),2&t&&(r.\u0275\u0275property("formGroup",e.formGroup),r.\u0275\u0275advance(1),r.\u0275\u0275property("bindableOptions",e.bindableOptions)("contexts",e.contexts)("datasource",e.datasource))},dependencies:[v.\u0275NgNoValidate,v.NgControlStatus,v.NgControlStatusGroup,v.FormGroupDirective,v.FormControlName,pA]}),o}(),_$=function(n){return new pn.ContentPlugin({id:"panel",title:"Panel",selectionComponent:g$,editorComponent:v$,renderComponent:void 0,handler:n})},x$=function(n){return new pn.ContentPlugin({id:"datasource",title:"Datasource",selectionComponent:void 0,editorComponent:y$,renderComponent:void 0,handler:n})},LI=(0,Bt.PH)("[PageBuilder] Load Rest Data",(0,Bt.Ky)()),jI=(0,Bt.PH)("[PageBuilder] Load Rest Data Success",(0,Bt.Ky)()),kA=((0,Bt.PH)("[PageBuilder] Load Rest Data Error",(0,Bt.Ky)()),(0,Bt.PH)("[PageBuilder] Set Page Info",(0,Bt.Ky)())),$I=(0,Bt.PH)("[PageBuilder] Set Form",(0,Bt.Ky)()),RA=(0,Bt.PH)("[PageBuilder] Set Page",(0,Bt.Ky)()),UI=(0,Bt.PH)("[PageBuilder] Selection Path",(0,Bt.Ky)()),C$=function(){var o=function(){function n(t,e,a){var s=this;(0,f.Z)(this,n),this.actions$=t,this.datasourceApi=e,this.snippetParserService=a,this.loadRestData$=vi(function(){return s.actions$.pipe(Ga(LI),(0,Zi.b)(function(u){return s.fetchRestdata$(u.rest).pipe((0,si.K)(function(){return[]}),(0,Ce.U)(function(l){return void 0!==u.rest.renderer&&void 0!==u.rest.renderer.query&&""!==u.rest.renderer.query?(0,Ms.JSONPath)({path:u.rest.renderer.query,json:l}):l}),(0,Ce.U)(function(l){return jI({tag:u.tag,data:new pr({results:l})})}))}))})}return(0,y.Z)(n,[{key:"fetchRestdata$",value:function(e){var a=this;switch(e.method?e.method:"get"){case"post":case"POST":return(0,Le.of)([]).pipe((0,st.w)(function(){return a.snippetParserService.parseSnippet({snippet:e.body})}),(0,st.w)(function(u){return a.datasourceApi.postData({url:e.url,body:u})}));default:return this.datasourceApi.getData(e.url)}}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(to),r.\u0275\u0275inject(iI),r.\u0275\u0275inject(z3))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),u_=(0,y.Z)(function o(n){(0,f.Z)(this,o),n&&(this.id=n.id,this.path=n.path,this.realPath=n.realPath,this.args=n.args)}),zI="pageBuilder",S$=(0,Bt.Lq)({dataTags:[],datasets:[],pageInfo:void 0,formNames:[],forms:[],page:void 0,selectionPath:[]},(0,Bt.on)(jI,function(o,n){var t=o.dataTags.findIndex(function(a){return a===n.tag});if(t>-1&&void 0!==o.forms[t]){var e=(0,b.Z)({},o);return e.datasets[t].push(n.data),e}return(0,b.Z)((0,b.Z)({},o),{},{dataTags:[].concat((0,_.Z)(o.dataTags),[n.tag]),datasets:[].concat((0,_.Z)(o.datasets),[[n.data]])})}),(0,Bt.on)($I,function(o,n){var t=o.formNames.findIndex(function(e){return e===n.name});return(0,b.Z)((0,b.Z)({},o),{},t>-1&&void 0!==o.forms[t]?{forms:o.forms.map(function(e,a){return a===t?n.form:e})}:{formNames:[].concat((0,_.Z)(o.formNames),[n.name]),forms:[].concat((0,_.Z)(o.forms),[n.form])})}),(0,Bt.on)(kA,function(o,n){return(0,b.Z)((0,b.Z)({},o),{},{pageInfo:void 0!==n.info?new u_(n.info):void 0})}),(0,Bt.on)(RA,function(o,n){return(0,b.Z)((0,b.Z)({},o),{},{page:void 0!==n.page?new ri(n.page):void 0})}),(0,Bt.on)(UI,function(o,n){return(0,b.Z)((0,b.Z)({},o),{},{selectionPath:void 0!==n.path?n.path:[]})}));function E$(o,n){return S$(o,n)}var xE=new r.InjectionToken("StylePlugin"),GI=new r.InjectionToken("PanelsSettings"),DA=function(){var o=(0,y.Z)(function n(t,e,a,s,u,l,c,h,C,T,N,F){(0,f.Z)(this,n);var $=function(n,t){return{PanelPageListItem:{entityName:"PanelPageListItem",crud:{idb_keyval:{params:{prefix:"panelpage__"},queryMappings:new Map([["site",{defaultOperator:"term||wildcard"}],["path",{defaultOperator:"term||wildcard"}]])}}},PanelPage:{entityName:"PanelPage",crud:(0,b.Z)((0,b.Z)({save:{ops:["create","update"],plugin:"rest",params:{entityName:"PanelPage"}}},(0,P.isPlatformServer)(n)?{}:{readPrimary:{fallback:!0,ops:["create","update","query"],plugin:"idb_keyval",params:{prefix:"panelpage__"}}}),{},{readFallback:{fallback:!0,ops:["query"],plugin:"rest",params:{entityName:"PanelPage",root:t.objectsRootUrl,suffix:".json"}}})},PanelPageState:{entityName:"PanelPageState"}}}(t,a);s.registerMetadataMap($),l.registerService("PanelPageState",new Vn.NoopDataService("PanelPageState")),l.registerService("PanelPage",new bA("PanelPage",T,N,F)),l.registerService("PanelPageListItem",new bA("PanelPageListItem",T,N,F)),e.forEach(function(se){return u.register(se)}),c.register(function(n,t){return new r_({id:"panels",title:"Panels",build:function(){kl.prototype.writePaneState=function(a,s){return new Promise(function(u){var l=n.getEntityCollectionService("PanelPageState");l.getByKey(a.id).pipe((0,si.K)(function(){return(0,Le.of)(new as({id:a.id,panels:[]}))}),(0,Ce.U)(function(c){return void 0===c?new as({id:a.id,panels:[]}):c}),(0,Ce.U)(function(c){for(var h=t.serialize(s,"root"),C=new as((0,b.Z)((0,b.Z)({},c),{},{panels:[]})),T=0;T<a.panelIndex+1;T++){C.panels.push(T<c.panels.length?new Il((0,b.Z)((0,b.Z)({},c.panels[T]),{},{panes:[]})):new Il);for(var N=0;N<a.paneIndex+1;N++)C.panels[T].panes.push(T===a.panelIndex&&N===a.paneIndex?new Ya(T<c.panels.length&&N<c.panels[T].panes.length?(0,b.Z)((0,b.Z)({},c.panels[T].panes[N]),{},{state:h}):{state:h}):T<c.panels.length&&N<c.panels[T].panes.length?new Ya((0,b.Z)({},c.panels[T].panes[N])):new Ya)}return C}),(0,st.w)(function(c){return l.upsert(c)})).subscribe(function(c){u(c)})})}}})}(h,C)),l.registerService("PanelPageForm",new bA("PanelPageForm",T,N,F))});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(r.PLATFORM_ID),r.\u0275\u0275inject(pn.CONTENT_PLUGIN),r.\u0275\u0275inject(GI),r.\u0275\u0275inject(Qi),r.\u0275\u0275inject(pn.ContentPluginManager),r.\u0275\u0275inject(al),r.\u0275\u0275inject(Ud),r.\u0275\u0275inject(Dr),r.\u0275\u0275inject(Nt.AttributeSerializerService),r.\u0275\u0275inject(Pu),r.\u0275\u0275inject(Qi),r.\u0275\u0275inject(i_))},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({providers:[{provide:ya,useClass:ya},{provide:pn.CONTENT_PLUGIN,useFactory:_$,multi:!0,deps:[ya]},{provide:pn.CONTENT_PLUGIN,useFactory:x$,multi:!0,deps:[AA]},{provide:uu,useClass:vc}],imports:[P.CommonModule,v.FormsModule,v.ReactiveFormsModule,Bt.Aw.forFeature(zI,E$),ou.forFeature([C$]),Oi.MaterialModule,Al,so,$j,Gj,a_]}),o}(),HI=(0,y.Z)(function o(n){(0,f.Z)(this,o),n&&(this.panelPage=n.panelPage,null!=n.panel&&(this.panel=n.panel),null!=n.pane&&(this.pane=n.pane),null!=n.nested&&"object"==typeof n.nested&&(this.nested=new o(n.nested)))}),qI=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.controlContainer=t,this.savable=!0,this.nested=!1,this.dashboard=[],this.layoutSetting=new br,this.rowSettings=[],this.ancestory=[]}return(0,y.Z)(n,[{key:"gridItems",get:function(){return[]}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.ControlContainer))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-layout-editor-base"]],inputs:{savable:"savable",nested:"nested",editor:"editor",dashboard:"dashboard",layoutSetting:"layoutSetting",rowSettings:"rowSettings",columnSettings:"columnSettings",editablePaneTpl:"editablePaneTpl",extraActionsAreaTmpl:"extraActionsAreaTmpl",contextsMenuTpl:"contextsMenuTpl",ancestory:"ancestory"},decls:0,vars:0,template:function(t,e){},encapsulation:2}),o}(),KI=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.controlContainer=t,this.displayMainControls=!1,this.displayItemHeader=!1}return(0,y.Z)(n,[{key:"columnSettings",get:function(){var e=this.panelPage?this.panelPage.panels.reduce(function(a,s){return[].concat((0,_.Z)(a),[new br(s.columnSetting)])},[]):[];return e}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.ControlContainer,8))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-layout-renderer-base"]],inputs:{panelPage:"panelPage",displayMainControls:"displayMainControls",displayItemHeader:"displayItemHeader",renderPanelTpl:"renderPanelTpl"},decls:0,vars:0,template:function(t,e){},encapsulation:2}),o}(),P$=function(){var o=function(){function n(){(0,f.Z)(this,n),this.settings=[],this.panes=[],this.originMappings=[],this.ancestory=[]}return(0,y.Z)(n,[{key:"mergeContexts",value:function(e){if(void 0!==e||void 0!==this.contexts)return void 0!==e&&void 0!==this.contexts?[].concat((0,_.Z)(e),(0,_.Z)(this.contexts)):void 0!==e?e:this.contexts}}]),n}();return o.\u0275fac=function(t){return new(t||o)},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-panel-style-renderer-base"]],inputs:{settings:"settings",panes:"panes",originPanes:"originPanes",originMappings:"originMappings",contexts:"contexts",ancestory:"ancestory"},decls:0,vars:0,template:function(t,e){},encapsulation:2}),o}(),WI=function(){var o=function(){function n(t,e){(0,f.Z)(this,n),this.es=t,this.panelHandler=e}return(0,y.Z)(n,[{key:"panelPageService",get:function(){return this.es.getEntityCollectionService("PanelPage")}},{key:"reducePage",value:function(e){var a=this;return e.panels.reduce(function(s,u,l){return a.reducePanels(s,u,l)},[])}},{key:"reducePanels",value:function(e,a,s){var u=this;return[].concat((0,_.Z)(e),(0,_.Z)(a.panes.reduce(function(l,c,h){return u.reducePanes(l,c,h).map(function(C){return C.pipe((0,Ce.U)(function(T){var N=(0,g.Z)(T,2);return[s,N[0],N[1]]}))})},[])))}},{key:"reducePanes",value:function(e,a,s){return[].concat((0,_.Z)(e),(0,_.Z)("panel"===a.contentPlugin?[this.nestedPage$(a).pipe((0,Ce.U)(function(u){return[s,u]}))]:[]))}},{key:"nestedPage$",value:function(e){return console.log("get nested panel page"),e.linkedPageId&&""!==e.linkedPageId?this.getByKey(e.linkedPageId).pipe((0,te.b)(function(){return console.log("get(".concat(e.linkedPageId,")"))})):this.getEmbedded(e.settings).pipe((0,te.b)(function(){return console.log("toObject()")}))}},{key:"remapNested",value:function(e,a){a.forEach(function(s){var u=(0,g.Z)(s,3);e.panels[u[0]].panes[u[1]].nestedPage=u[2]})}},{key:"getByKey",value:function(e){var a=this;return this.panelPageService.getByKey(e).pipe((0,Ce.U)(function(s){return new ri(s)}),(0,st.w)(function(s){return Or(function(){return a.reducePage(s).length>0},(0,$n.D)(a.reducePage(s)).pipe((0,te.b)(function(u){return a.remapNested(s,u)}),(0,Ce.U)(function(){return s})),(0,Le.of)(s))}))}},{key:"getEmbedded",value:function(e){var a=this;return this.panelHandler.toObject(e).pipe((0,Ce.U)(function(s){return new ri(s)}),(0,st.w)(function(s){return Or(function(){return a.reducePage(s).length>0},(0,$n.D)(a.reducePage(s)).pipe((0,te.b)(function(u){return a.remapNested(s,u)}),(0,Ce.U)(function(){return s})),(0,Le.of)(s))}))}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Dr),r.\u0275\u0275inject(ya))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),A$=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.panelHandler=t}return(0,y.Z)(n,[{key:"rebuildPage",value:function(e,a){return new ri((0,b.Z)((0,b.Z)({},e),{},{panels:this.rebuildPanels(e.panels,(0,_.Z)(a))}))}},{key:"rebuildPanels",value:function(e,a){var s=this;return e.filter(function(u,l){return s.rebuildCondition(a[0],l)}).map(function(u){return new Ns((0,b.Z)((0,b.Z)({},u),{},{panes:s.rebuildPanes(u.panes,a.slice(1))}))})}},{key:"rebuildPanes",value:function(e,a){var s=this;return e.filter(function(u,l){return s.rebuildCondition(a[0],l)}).map(function(u){return new Wr("panel"===u.contentPlugin?(0,b.Z)((0,b.Z)({},u),{},{nestedPage:void 0,settings:s.panelHandler.buildSettings(s.rebuildPage(u.nestedPage,a.slice(1)))}):(0,b.Z)({},u))})}},{key:"rebuildCondition",value:function(e,a){return 0===e||(e>-1?a===e+-1*e:a!==-1*e+e)}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(ya))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),k$=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.panelHandler=t}return(0,y.Z)(n,[{key:"convertPageToState",value:function(e){var a=this;return(0,Le.of)(new as).pipe((0,st.w)(function(){return(0,$n.D)(e.panels.map(function(s){return a.convertPanelToState(s)}))}),(0,Ce.U)(function(s){return new as({id:e.id,panels:s})}))}},{key:"convertPanelToState",value:function(e){var a=this;return(0,Le.of)(new Il).pipe((0,st.w)(function(){return(0,$n.D)(e.panes.map(function(s){return a.convertPaneToState(s)}))}),(0,Ce.U)(function(s){return new Il({panes:s})}))}},{key:"convertPaneToState",value:function(e){var a=this;return(0,Le.of)(new Ya).pipe((0,st.w)(function(s){return Or(function(){return a.hasNestedPanelPage(e)},a.panelHandler.toObject(e.settings).pipe((0,st.w)(function(u){return a.convertPageToState(u)}),(0,Ce.U)(function(u){return new Ya({state:new Nt.AttributeValue,nestedPage:u})})),(0,Le.of)(s))}))}},{key:"hasNestedPanelPage",value:function(e){return"panel"===e.contentPlugin&&(null==e.linkedPageId||""===e.linkedPageId)}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(ya))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),R$=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.panelsLoaderService=t}return(0,y.Z)(n,[{key:"walkPageHierarchy",value:function(e){var a=this,s=e.panelPage,u=e.visitorFunc,l=e.defaultv,c=e.ancestory;return new W.y(function(h){for(var C=s.panels.length,T=[],N=0;N<C;N++)for(var F=s.panels[N].panes.length,$=0;$<F;$++)T.push(u({pane:s.panels[N].panes[$],panelPage:s,ancestoryWithSelf:[].concat((0,_.Z)(c),[N,$])})),s.panels[N].panes[$].nestedPage&&s.panels[N].panes[$].nestedPage.panels&&0!==s.panels[N].panes[$].nestedPage.panels.length&&T.push(a.walkPageHierarchy({panelPage:s,visitorFunc:u,defaultv:l,ancestory:[].concat((0,_.Z)(c),[N,$])}));0===T.length?(h.next(l),h.complete()):(0,$n.D)(T).pipe((0,Ce.U)(function(se){return se.reduce(function(ue,ge){return[].concat((0,_.Z)(ue),(0,_.Z)(ge))},l)}),(0,te.b)(function(se){h.next(se),h.complete()})).subscribe()})}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(WI))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),XI=function(){var o=function(){function n(t,e){var a=this;(0,f.Z)(this,n),this.panelsVisitorService=t,this.cpm=e,this.gatherPaneContexts=function(s){var u=s.pane,l=s.panelPage,c=s.ancestoryWithSelf;return a.cpm.getPlugin(u.contentPlugin).pipe((0,st.w)(function(h){return h.handler?h.handler.stateDefinition(u.settings):(0,Le.of)({})}),(0,Ce.U)(function(h){return new la({name:"panestate-"+c.join("-"),adaptor:"data",plugin:"panestate",data:{id:l?l.id:"",selectionPath:(0,_.Z)(c),value:h}})}),(0,Ce.U)(function(h){return[h]}),(0,An.q)(1))}}return(0,y.Z)(n,[{key:"allActivePageContexts",value:function(e){var s=e.ancestory;return this.panelsVisitorService.walkPageHierarchy({panelPage:e.panelPage,ancestory:void 0===s?[]:s,visitorFunc:this.gatherPaneContexts,defaultv:[]})}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(R$),r.\u0275\u0275inject(pn.ContentPluginManager))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),D$=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.attributeSerializer=t}return(0,y.Z)(n,[{key:"buildToAncestorySpec",value:function(e){for(var a=e.panelPageState,s=e.ancestory,u=0;u<s[0]+1;u++)if(a.panels.length<u+1&&a.panels.push(new Il),u===s[0]&&s.length>1)for(var l=0;l<s[1]+1;l++)a.panels[s[0]].panes.length<l+1&&a.panels[s[0]].panes.push(new Ya({state:this.attributeSerializer.serialize({},"root")})),l===s[1]&&s.length>2&&(a.panels[s[0]].panes[l].nestedPage||(a.panels[s[0]].panes[l].nestedPage=new as),this.buildToAncestorySpec({panelPageState:a.panels[s[0]].panes[l].nestedPage,ancestory:s.slice(2)}))}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Nt.AttributeSerializerService))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),Xd=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(a,s){return(0,f.Z)(this,e),t.call(this,a,s)}return(0,y.Z)(e,[{key:"pluginDef",value:function(){return(0,Le.of)(new Rn.PluginDef({name:"style"}))}}]),e}(Rn.BasePluginManager);return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Rn.PluginConfigurationManager),r.\u0275\u0275inject(Vn.ModuleLoaderService))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),QI=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.spm=t}return(0,y.Z)(n,[{key:"alterResolvedPanes",value:function(e){var a=this,s=e.panel,u=e.resolvedPanes,l=e.originMappings;return(0,Le.of)(void 0).pipe((0,st.w)(function(){return s.stylePlugin&&""!==s.stylePlugin?a.spm.getPlugin(s.stylePlugin):(0,Le.of)(void 0)}),(0,st.w)(function(c){return c&&c.handler?c.handler.alterResolvedPanes({settings:s.settings,resolvedPanes:u,originMappings:l}):(0,Le.of)({resolvedPanes:u,originMappings:l})}))}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Xd))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),TA=function(){var o=function(){function n(t,e,a,s){(0,f.Z)(this,n),this.panelHandler=t,this.rulesResolver=e,this.inlineContextResolver=a,this.cpm=s}return(0,y.Z)(n,[{key:"usedContexts",value:function(e){var a=this;return this.panesPlugins(e).pipe((0,st.w)(function(s){return a.dataPanes(e).pipe((0,Ce.U)(function(u){return{plugins:s,dataPanes:u}}))}),(0,st.w)(function(s){var u=s.plugins,l=s.dataPanes;return(0,$n.D)(e.reduce(function(c,h){var C=u.get(h.contentPlugin);return void 0!==C.handler?[].concat((0,_.Z)(c),[C.handler.getBindings(h.settings,"context",new Map([["dataPanes",l]])).pipe((0,Ce.U)(function(T){return T.map(function(N){return N.id})}))]):(0,_.Z)(c)},[])).pipe((0,Ce.U)(function(c){return c.reduce(function(h,C){return[].concat((0,_.Z)(h),(0,_.Z)(C))},[])}))}))}},{key:"staticPanes",value:function(e){return this.cpm.getPlugins(e.reduce(function(a,s){return-1===a.findIndex(function(u){return u===s.contentPlugin})?[].concat((0,_.Z)(a),[s.contentPlugin]):(0,_.Z)(a)},[])).pipe((0,Ce.U)(function(a){return e.filter(function(s){return void 0===a.get(s.contentPlugin).handler||!a.get(s.contentPlugin).handler.isDynamic(s.settings)})}))}},{key:"dataPanes",value:function(e){return this.cpm.getPlugins(e.reduce(function(a,s){return-1===a.findIndex(function(u){return u===s.contentPlugin})?[].concat((0,_.Z)(a),[s.contentPlugin]):(0,_.Z)(a)},[])).pipe((0,Ce.U)(function(a){return e.filter(function(s){return void 0!==a.get(s.contentPlugin).handler&&a.get(s.contentPlugin).handler.isData(s.settings)})}))}},{key:"panesPlugins",value:function(e){return this.cpm.getPlugins(e.reduce(function(a,s){return-1===a.findIndex(function(u){return u===s.contentPlugin})?[].concat((0,_.Z)(a),[s.contentPlugin]):(0,_.Z)(a)},[]))}},{key:"resolvePanes",value:function(e){var a=this,s=e.panes,u=e.contexts,l=e.resolvedContext;return console.log("resolve panes"),this.panesPlugins(s).pipe((0,st.w)(function(c){return(0,$n.D)(s.reduce(function(h,C){var T=c.get(C.contentPlugin);return[].concat((0,_.Z)(h),void 0!==T.handler?[T.handler.getBindings(C.settings,"pane").pipe((0,Ce.U)(function(N){return N.map(function(F){return F.id})}))]:[(0,Le.of)([])])},[]))})).pipe((0,Ce.U)(function(c){return c.reduce(function(h,C){return[].concat((0,_.Z)(h),(0,_.Z)(C))},[])}),(0,st.w)(function(c){return a.panesPlugins(s).pipe((0,Ce.U)(function(h){return[c,h]}))}),(0,st.w)(function(c){var h=(0,g.Z)(c,2),C=h[0],T=h[1];return(0,$n.D)(s.reduce(function(N,F){var $=T.get(F.contentPlugin);return void 0!==$.handler&&$.handler.isDynamic(F.settings)?[].concat((0,_.Z)(N),[$.handler.isData(F.settings)&&-1!==C.findIndex(function(se){return se===F.name})?(0,Le.of)([]):(0,$n.D)([a.staticPanes(s),a.dataPanes(s)]).pipe((0,st.w)(function(se){var ue=(0,g.Z)(se,2),ge=ue[0],Se=ue[1];return $.handler.buildDynamicItems(F.settings,new Map([].concat((0,_.Z)(void 0===F.metadata?[]:F.metadata),[["tag",vr()],["panes",ge],["dataPanes",Se],["contexts",void 0!==u?u:[]]]))).pipe((0,Ce.U)(function(we){return a.panelHandler.fromPanes(we)}),(0,Ce.U)(function(we){return a.panelHandler.wrapPanel(we).panes}),(0,An.q)(1))}))]):""===F.name||-1===C.findIndex(function(se){return se===F.name})?[].concat((0,_.Z)(N),[(0,Le.of)([new Wr((0,b.Z)((0,b.Z)({},F),{},{contexts:[].concat((0,_.Z)(u),(0,_.Z)(F.contexts?F.contexts:[]))}))]).pipe((0,st.w)(function(se){return Or(function(){return null!=se[0].rule&&""!==se[0].rule.condition},a.rulesResolver.evaluate(se[0].rule,[].concat((0,_.Z)(u),(0,_.Z)(F.contexts?F.contexts:[]))).pipe((0,Ce.U)(function(ue){return ue?se:[]})),(0,Le.of)(se))}))]):(0,_.Z)(N)},[])).pipe((0,st.w)(function(N){return Or(function(){return 0===N.reduce(function(F,$){return[].concat((0,_.Z)(F),(0,_.Z)($))},[]).length},(0,Le.of)([N,[]]),(0,$n.D)((0,_.Z)(N.reduce(function(F,$){return[].concat((0,_.Z)(F),(0,_.Z)($.map(function(se){return se.contexts&&0!==se.contexts.length?a.inlineContextResolver.resolveAll(se.contexts).pipe((0,An.q)(1)):(0,Le.of)({}).pipe((0,An.q)(1))})))},[]))).pipe((0,Ce.U)(function(F){return[N,F.map(function($){return(0,b.Z)((0,b.Z)({},$),l)})]})))}),(0,Ce.U)(function(N){var F=(0,g.Z)(N,2),se=F[1],ue=[],ge=[];return F[0].forEach(function(Se,we){ue=[].concat((0,_.Z)(void 0===ue?[]:ue),(0,_.Z)(Se.map(function(He,ot){return new Wr((0,b.Z)((0,b.Z)({},He),{},{resolvedContext:se[ue.length+ot]}))}))),ge=[].concat((0,_.Z)(ge&&[]),(0,_.Z)(Se.map(function(){return we})))}),{resolvedPanes:ue,originMappings:ge}}))}))}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(ya),r.\u0275\u0275inject(CA),r.\u0275\u0275inject(zd),r.\u0275\u0275inject(pn.ContentPluginManager))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),bE=function(o){(0,z.Z)(t,o);var n=(0,H.Z)(t);function t(e){var a;return(0,f.Z)(this,t),a=n.call(this,e),e&&(a.name=a.id,a.title=e.title,a.editorComponent=e.editorComponent?e.editorComponent:void 0,a.renderComponent=e.renderComponent?e.renderComponent:void 0,e.handler&&(a.handler=e.handler)),a}return(0,y.Z)(t)}(Rn.Plugin),CE=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(){var a;return(0,f.Z)(this,e),(a=t.call(this)).pageChange$=new ae.x,a.pageSize=20,a.dataStream=new U.X([]),a.subscription=new gI.w0,a.lastPage=0,a.paneItems=[],a}return(0,y.Z)(e,[{key:"panes",set:function(s){this.paneItems=[].concat((0,_.Z)(this.paneItems),(0,_.Z)(s)),this.dataStream.next(this.paneItems)}},{key:"connect",value:function(s){var u=this;return this.subscription.add(s.viewChange.subscribe(function(l){var c=Math.ceil((l.end+1)/u.pageSize);c>u.lastPage&&(u.lastPage=c,u.pageChange$.next(c))})),this.dataStream}},{key:"disconnect",value:function(s){this.subscription.unsubscribe()}}]),e}(Hj.DataSource);return o.\u0275fac=function(t){return new(t||o)},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),Qd=(0,Bt.ZF)(zI),wE=function(n){return(0,Bt.P1)(Qd,function(t){var e=t.dataTags.findIndex(function(a){return a===n});if(e>-1)return t.datasets[e][t.datasets[e].length-1]})},T$=(0,Bt.P1)(Qd,function(o){return o.pageInfo}),I$=(0,Bt.P1)(Qd,function(o){return o.page}),O$=(0,Bt.P1)(Qd,function(o){return o.selectionPath}),YI=(0,Bt.P1)(Qd,function(o){return o.formNames}),F$=(0,Bt.P1)(Qd,function(o){return o.forms}),M$=(0,Bt.P1)(YI,F$,function(o,n,t){var e=o.findIndex(function(a){return a===t.name});if(e>-1)return n[e]}),Ja=function(){var o=function(){function n(t){var e=this;(0,f.Z)(this,n),this.store=t,this.getPageInfo$=this.store.pipe((0,Bt.Ys)(T$)),this.getPage$=this.store.pipe((0,Bt.Ys)(I$)),this.getSelectionPath$=this.store.pipe((0,Bt.Ys)(O$)),this.getFormNames$=this.store.pipe((0,Bt.Ys)(YI)),this.getForm$=function(a){return e.store.pipe((0,Bt.Ys)(M$,{name:a}))}}return(0,y.Z)(n,[{key:"loadRestData",value:function(e,a){this.store.dispatch(LI({tag:e,rest:a}))}},{key:"setPageInfo",value:function(e){this.store.dispatch(kA({info:e}))}},{key:"setPage",value:function(e){this.store.dispatch(RA({page:e}))}},{key:"setSelectionPath",value:function(e){this.store.dispatch(UI({path:e}))}},{key:"setForm",value:function(e,a){this.store.dispatch($I({name:e,form:a}))}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Bt.yh))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),l_=(0,y.Z)(function o(n){(0,f.Z)(this,o),this.readUserIds=[],n&&(this.title=n.title,this.name=n.name,this.path=n.path,this.cssFile=n.cssFile,n.readUserIds&&(this.readUserIds=n.readUserIds.map(function(t){return t})))}),JI=(0,y.Z)(function o(n){(0,f.Z)(this,o),n&&(this.label=n.label,this.name=n.name)}),eO=(0,y.Z)(function o(n){(0,f.Z)(this,o),n&&(this.label=n.label,this.name=n.name)}),Au=(0,y.Z)(function o(n){(0,f.Z)(this,o),this.panels=[],n&&(this.id=n.id,this.name=n.name,this.title=n.title,this.derivativeId=n.derivativeId,n.panels&&(this.panels=n.panels.map(function(t){return new N$(t)})))}),N$=(0,y.Z)(function o(n){(0,f.Z)(this,o),this.panes=[],n&&(this.name=n.name,this.label=n.label,n.panes&&(this.panes=n.panes.map(function(t){return new V$(t)})))}),V$=(0,y.Z)(function o(n){(0,f.Z)(this,o),this.settings=[],n&&(this.name=n.name,this.label=n.label,this.contentPlugin=n.contentPlugin,n.settings&&(this.settings=n.settings.map(function(t){return new Nt.AttributeValue(t)})))}),IA=(0,y.Z)(function o(n){(0,f.Z)(this,o),n&&(this.name=n.name,this.field=n.field)}),B$=function(){var o=function(){function n(t,e,a,s){var u=this;(0,f.Z)(this,n),this.pageBuilderFacade=t,this.panelStateArchitectService=e,this.attributeSerializer=a,this.selectEntities=function(l){return l.entities},this.selectById=function(l){var c=l.id;return(0,Bt.P1)(u.selectEntities,function(h){return h[c]?h[c]:void 0})},this.panelPageStateService=s.getEntityCollectionService("PanelPageState")}return(0,y.Z)(n,[{key:"mergeState",value:function(e){var a=this,u=e.settings,l=e.plugin,c=e.ancestory;return(0,Le.of)(e.state).pipe((0,st.w)(function(h){return a.pageBuilderFacade.getPageInfo$.pipe((0,Ce.U)(function(C){return[h,C]}))}),(0,st.w)(function(h){var C=(0,g.Z)(h,2),T=C[0],N=C[1];return l.handler.stateDefinition(u).pipe((0,Ce.U)(function(F){return[T,N,F]}))}),(0,st.w)(function(h){var C=(0,g.Z)(h,3),T=C[0],N=C[1],F=C[2];return a.panelPageStateService.collection$.pipe((0,Bt.Ys)(a.selectById({id:N.id})),(0,Ce.U)(function($){return[T,new as($||{id:N.id,panels:[]}),F]}),(0,An.q)(1))}),(0,Ce.U)(function(h){var C=(0,g.Z)(h,3),T=C[0],N=C[1],F=C[2];a.panelStateArchitectService.buildToAncestorySpec({panelPageState:N,ancestory:(0,_.Z)(c)});var $="$."+c.map(function(ue,ge){return"".concat((ge+1)%2==0?"panes":(0===ge?"":"nestedPage.")+"panels","[").concat(ue,"]")}).join(".");return[T,N,F,(0,Ms.JSONPath)({path:$,json:N})[0]]}),(0,te.b)(function(h){var C=(0,g.Z)(h,4),T=C[0],F=C[2],$=C[3],se=$.state?$.state.root?a.attributeSerializer.deserialize($.state).root:a.attributeSerializer.deserialize($.state):{},ue=o_(se&&0!==Object.keys(se).length?se:F,T);$.state=a.attributeSerializer.serialize(ue,"root")}),(0,Ce.U)(function(h){var C=(0,g.Z)(h,4);return{paneState:C[3],pageState:C[1]}}))}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Ja),r.\u0275\u0275inject(D$),r.\u0275\u0275inject(Nt.AttributeSerializerService),r.\u0275\u0275inject(Dr))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),tO=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.attributeSerializer=t}return(0,y.Z)(n,[{key:"serializeForm",value:function(e){for(var a=e.panels.length,s={},u=0;u<a;u++){for(var l=e.panels[u].panes.length,c=new Map,h=0;h<l;h++){var C=this.serializeFormPane(e.panels[u].panes[h]);if(e.panels[u].panes[h].name&&null!==e.panels[u].panes[h].name&&(s[e.panels[u].panes[h].name]||e.panels[u].panes[h].name===MI(e.panels[u].panes[h].name))){c.has(e.panels[u].panes[h].name)||c.set(e.panels[u].panes[h].name,typeof s[e.panels[u].panes[h].name]<"u"?[s[e.panels[u].panes[h].name]]:[]);var T=c.get(e.panels[u].panes[h].name);c.set(e.panels[u].panes[h].name,[].concat((0,_.Z)(T),[C]))}else s=e.panels[u].panes[h].name&&""!==e.panels[u].panes[h].name?(0,b.Z)((0,b.Z)({},s),{},(0,d.Z)({},e.panels[u].panes[h].name,C)):(0,b.Z)((0,b.Z)({},s),C)}Array.from(c).forEach(function(N){var F=(0,g.Z)(N,2);return s[F[0]]=F[1]})}return s}},{key:"serializeFormPane",value:function(e){if("panel"===e.contentPlugin)return this.serializeForm(new Au(this.attributeSerializer.deserializeAsObject(e.settings,!0)));var a=this.attributeSerializer.deserializeAsObject(e.settings,!0);return void 0!==a?a.value:void 0}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Nt.AttributeSerializerService))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),OA=function(){var o=function(){function n(){(0,f.Z)(this,n)}return(0,y.Z)(n,[{key:"makeJsonNode",value:function(){return{attributes:{},children:{}}}},{key:"reduceCss",value:function(e,a){var s=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return e&&e.children?Object.keys(e.children).filter(function(u){return s?0===u.indexOf(a):0!==u.indexOf(a)}).reduce(function(u,l){return(0,b.Z)((0,b.Z)({},u),{},{children:(0,b.Z)((0,b.Z)({},u.children),{},(0,d.Z)({},s?l.substr(l.indexOf(a)+a.length).trim():l,e.children[l]))})},this.makeJsonNode()):this.makeJsonNode()}},{key:"reduceSelector",value:function(e,a){var s=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return e?Object.keys(e).filter(function(u){return s?0===u.indexOf(a):0!==u.indexOf(a)}).reduce(function(u,l){return(0,b.Z)((0,b.Z)({},u),{},(0,d.Z)({},s?l.substr(l.indexOf(a)+a.length).trim():l,e[l]))},{}):{}}}]),n}();return o.\u0275fac=function(t){return new(t||o)},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}();function Z$(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"ngx-dropzone-remove-badge",1),r.\u0275\u0275listener("click",function(a){r.\u0275\u0275restoreView(t);var s=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(s._remove(a))}),r.\u0275\u0275elementEnd()}}var FA=[[["ngx-dropzone-label"]]],MA=["ngx-dropzone-label"],L$=["fileInput"];function j$(o,n){1&o&&r.\u0275\u0275projection(0,2,["*ngIf","!_hasPreviews"])}var $$=[[["ngx-dropzone-preview"]],"*",[["ngx-dropzone-label"]]],U$=["ngx-dropzone-preview","*","ngx-dropzone-label"];function z$(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"ngx-dropzone-remove-badge",2),r.\u0275\u0275listener("click",function(a){r.\u0275\u0275restoreView(t);var s=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(s._remove(a))}),r.\u0275\u0275elementEnd()}}function G$(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"video",2),r.\u0275\u0275listener("click",function(a){return a.stopPropagation()}),r.\u0275\u0275element(1,"source",3),r.\u0275\u0275elementEnd()),2&o){var t=r.\u0275\u0275nextContext();r.\u0275\u0275advance(1),r.\u0275\u0275property("src",t.sanitizedVideoSrc,r.\u0275\u0275sanitizeUrl)}}function H$(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"ngx-dropzone-remove-badge",4),r.\u0275\u0275listener("click",function(a){r.\u0275\u0275restoreView(t);var s=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(s._remove(a))}),r.\u0275\u0275elementEnd()}}var nO=function(){var o=(0,y.Z)(function n(){(0,f.Z)(this,n)});return o.\u0275fac=function(t){return new(t||o)},o.\u0275dir=r.\u0275\u0275defineDirective({type:o,selectors:[["ngx-dropzone-label"]]}),o}();function Yd(o){return null!=o&&"false"!=="".concat(o)}var NA=function(){var o=(0,y.Z)(function n(){(0,f.Z)(this,n)});return o.\u0275fac=function(t){return new(t||o)},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["ngx-dropzone-remove-badge"]],decls:3,vars:0,consts:[["x1","0","y1","0","x2","10","y2","10"],["x1","0","y1","10","x2","10","y2","0"]],template:function(t,e){1&t&&(r.\u0275\u0275namespaceSVG(),r.\u0275\u0275elementStart(0,"svg"),r.\u0275\u0275element(1,"line",0)(2,"line",1),r.\u0275\u0275elementEnd())},styles:["[_nghost-%COMP%]{display:flex;justify-content:center;align-items:center;height:22px;width:22px;position:absolute;top:5px;right:5px;border-radius:50%;background:#bbb;color:#333;cursor:pointer}[_nghost-%COMP%]:hover{background:#aeaeae}[_nghost-%COMP%] > svg[_ngcontent-%COMP%]{height:10px;width:10px}[_nghost-%COMP%] > svg[_ngcontent-%COMP%] > line[_ngcontent-%COMP%]{stroke-width:2px;stroke:#fff}"]}),o}(),Vs=function(){return(Vs=Vs||{})[Vs.BACKSPACE=8]="BACKSPACE",Vs[Vs.DELETE=46]="DELETE",Vs}(),Jd=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.sanitizer=t,this._removable=!1,this.removed=new r.EventEmitter,this.tabIndex=0}return(0,y.Z)(n,[{key:"file",get:function(){return this._file},set:function(e){this._file=e}},{key:"removable",get:function(){return this._removable},set:function(e){this._removable=Yd(e)}},{key:"keyEvent",value:function(e){switch(e.keyCode){case Vs.BACKSPACE:case Vs.DELETE:this.remove()}}},{key:"hostStyle",get:function(){return this.sanitizer.bypassSecurityTrustStyle("\n\t\t\tdisplay: flex;\n\t\t\theight: 140px;\n\t\t\tmin-height: 140px;\n\t\t\tmin-width: 180px;\n\t\t\tmax-width: 180px;\n\t\t\tjustify-content: center;\n\t\t\talign-items: center;\n\t\t\tpadding: 0 20px;\n\t\t\tmargin: 10px;\n\t\t\tborder-radius: 5px;\n\t\t\tposition: relative;\n\t\t")}},{key:"_remove",value:function(e){e.stopPropagation(),this.remove()}},{key:"remove",value:function(){this._removable&&this.removed.next(this.file)}},{key:"readFile",value:(t=Zt((0,qe.Z)().mark(function a(){var s=this;return(0,qe.Z)().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.abrupt("return",new Promise(function(c,h){var C=new FileReader;if(C.onload=function(T){c(T.target.result)},C.onerror=function(T){console.error("FileReader failed on file ".concat(s.file.name,".")),h(T)},!s.file)return h("No file to read. Please provide a file using the [file] Input property.");C.readAsDataURL(s.file)}));case 1:case"end":return l.stop()}},a)})),function e(){return t.apply(this,arguments)})}]),n;var t}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(B.DomSanitizer))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["ngx-dropzone-preview"]],hostVars:3,hostBindings:function(t,e){1&t&&r.\u0275\u0275listener("keyup",function(s){return e.keyEvent(s)}),2&t&&(r.\u0275\u0275hostProperty("tabindex",e.tabIndex),r.\u0275\u0275styleMap(e.hostStyle))},inputs:{file:"file",removable:"removable"},outputs:{removed:"removed"},ngContentSelectors:MA,decls:2,vars:1,consts:[[3,"click",4,"ngIf"],[3,"click"]],template:function(t,e){1&t&&(r.\u0275\u0275projectionDef(FA),r.\u0275\u0275projection(0),r.\u0275\u0275template(1,Z$,1,0,"ngx-dropzone-remove-badge",0)),2&t&&(r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",e.removable))},dependencies:[NA,P.NgIf],styles:["[_nghost-%COMP%]{background-image:linear-gradient(to top,#ededed,#efefef,#f1f1f1,#f4f4f4,#f6f6f6)}[_nghost-%COMP%]:hover, [_nghost-%COMP%]:focus{background-image:linear-gradient(to top,#e3e3e3,#ebeaea,#e8e7e7,#ebeaea,#f4f4f4);outline:0}[_nghost-%COMP%]:hover ngx-dropzone-remove-badge[_ngcontent-%COMP%], [_nghost-%COMP%]:focus ngx-dropzone-remove-badge[_ngcontent-%COMP%]{opacity:1}[_nghost-%COMP%] ngx-dropzone-remove-badge[_ngcontent-%COMP%]{opacity:0}[_nghost-%COMP%] ngx-dropzone-label{overflow-wrap:break-word}"]}),o}(),rO=function(){var o=function(){function n(){(0,f.Z)(this,n)}return(0,y.Z)(n,[{key:"parseFileList",value:function(e,a,s,u){for(var l=[],c=[],h=0;h<e.length;h++){var C=e.item(h);this.isAccepted(C,a)?s&&C.size>s?this.rejectFile(c,C,"size"):!u&&l.length>=1?this.rejectFile(c,C,"no_multiple"):l.push(C):this.rejectFile(c,C,"type")}return{addedFiles:l,rejectedFiles:c}}},{key:"isAccepted",value:function(e,a){if("*"===a)return!0;var s=a.split(",").map(function(h){return h.toLowerCase().trim()}),u=e.type.toLowerCase(),l=e.name.toLowerCase();return!!s.find(function(h){return h.endsWith("/*")?u.split("/")[0]===h.split("/")[0]:h.startsWith(".")?l.endsWith(h):h==u})}},{key:"rejectFile",value:function(e,a,s){var u=a;u.reason=s,e.push(u)}}]),n}();return o.\u0275fac=function(t){return new(t||o)},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),SE=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.service=t,this.change=new r.EventEmitter,this.accept="*",this._disabled=!1,this._multiple=!0,this._maxFileSize=void 0,this._expandable=!1,this._disableClick=!1,this._processDirectoryDrop=!1,this._isHovered=!1}return(0,y.Z)(n,[{key:"_hasPreviews",get:function(){return!!this._previewChildren.length}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=Yd(e),this._isHovered&&(this._isHovered=!1)}},{key:"multiple",get:function(){return this._multiple},set:function(e){this._multiple=Yd(e)}},{key:"maxFileSize",get:function(){return this._maxFileSize},set:function(e){this._maxFileSize=function q$(o){return isNaN(parseFloat(o))||isNaN(Number(o))?null:Number(o)}(e)}},{key:"expandable",get:function(){return this._expandable},set:function(e){this._expandable=Yd(e)}},{key:"disableClick",get:function(){return this._disableClick},set:function(e){this._disableClick=Yd(e)}},{key:"processDirectoryDrop",get:function(){return this._processDirectoryDrop},set:function(e){this._processDirectoryDrop=Yd(e)}},{key:"_onClick",value:function(){this.disableClick||this.showFileSelector()}},{key:"_onDragOver",value:function(e){this.disabled||(this.preventDefault(e),this._isHovered=!0)}},{key:"_onDragLeave",value:function(){this._isHovered=!1}},{key:"_onDrop",value:function(e){var a=this;if(!this.disabled)if(this.preventDefault(e),this._isHovered=!1,this.processDirectoryDrop&&DataTransferItem.prototype.webkitGetAsEntry){var s=e.dataTransfer.items;if(s.length>0){for(var u=[],l=[],c=0;c<s.length;c++){var h=s[c].webkitGetAsEntry();h.isFile?u.push(e.dataTransfer.files[c]):h.isDirectory&&l.push(h)}var C=new DataTransfer;if(u.forEach(function(se){C.items.add(se)}),!l.length&&C.items.length&&this.handleFileDrop(C.files),l.length){var F,T=[],N=(0,ee.Z)(l);try{for(N.s();!(F=N.n()).done;)T.push(this.extractFilesFromDirectory(F.value))}catch(se){N.e(se)}finally{N.f()}Promise.all(T).then(function(se){se.reduce(function(ue,ge){return[].concat((0,_.Z)(ue),(0,_.Z)(ge))}).forEach(function(ue){C.items.add(ue)}),a.handleFileDrop(C.files)})}}}else this.handleFileDrop(e.dataTransfer.files)}},{key:"extractFilesFromDirectory",value:function(e){function a(u){return s.apply(this,arguments)}function s(){return(s=Zt((0,qe.Z)().mark(function u(l){return(0,qe.Z)().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.prev=0,h.next=3,new Promise(function(C,T){return l.file(C,T)});case 3:return h.abrupt("return",h.sent);case 6:h.prev=6,h.t0=h.catch(0),console.log("Error converting a fileEntry to a File: ",h.t0);case 9:case"end":return h.stop()}},u,null,[[0,6]])}))).apply(this,arguments)}return new Promise(function(u,l){var c=[],h=e.createReader();!function T(){h.readEntries(function(){var N=Zt((0,qe.Z)().mark(function F($){var se,ue,ge,Se;return(0,qe.Z)().wrap(function(ot){for(;;)switch(ot.prev=ot.next){case 0:if($.length){ot.next=4;break}u(c),ot.next=25;break;case 4:se=$.filter(function(dt){return dt.isFile}),ue=(0,ee.Z)(se),ot.prev=6,ue.s();case 8:if((ge=ue.n()).done){ot.next=16;break}return Se=ge.value,ot.next=12,a(Se);case 12:c.push(ot.sent);case 14:ot.next=8;break;case 16:ot.next=21;break;case 18:ot.prev=18,ot.t0=ot.catch(6),ue.e(ot.t0);case 21:return ot.prev=21,ue.f(),ot.finish(21);case 24:T();case 25:case"end":return ot.stop()}},F,null,[[6,18,21,24]])}));return function(F){return N.apply(this,arguments)}}())}()})}},{key:"showFileSelector",value:function(){this.disabled||this._fileInput.nativeElement.click()}},{key:"_onFilesSelected",value:function(e){this.handleFileDrop(e.target.files),this._fileInput.nativeElement.value="",this.preventDefault(e)}},{key:"handleFileDrop",value:function(e){var a=this.service.parseFileList(e,this.accept,this.maxFileSize,this.multiple);this.change.next({addedFiles:a.addedFiles,rejectedFiles:a.rejectedFiles,source:this})}},{key:"preventDefault",value:function(e){e.preventDefault(),e.stopPropagation()}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(rO,2))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["ngx-dropzone"],["","ngx-dropzone",""]],contentQueries:function(t,e,a){var s;1&t&&r.\u0275\u0275contentQuery(a,Jd,5),2&t&&r.\u0275\u0275queryRefresh(s=r.\u0275\u0275loadQuery())&&(e._previewChildren=s)},viewQuery:function(t,e){var a;1&t&&r.\u0275\u0275viewQuery(L$,7),2&t&&r.\u0275\u0275queryRefresh(a=r.\u0275\u0275loadQuery())&&(e._fileInput=a.first)},hostVars:8,hostBindings:function(t,e){1&t&&r.\u0275\u0275listener("click",function(){return e._onClick()})("dragover",function(s){return e._onDragOver(s)})("dragleave",function(){return e._onDragLeave()})("drop",function(s){return e._onDrop(s)}),2&t&&r.\u0275\u0275classProp("ngx-dz-disabled",e.disabled)("expandable",e.expandable)("unclickable",e.disableClick)("ngx-dz-hovered",e._isHovered)},inputs:{accept:"accept",disabled:"disabled",multiple:"multiple",maxFileSize:"maxFileSize",expandable:"expandable",disableClick:"disableClick",processDirectoryDrop:"processDirectoryDrop",id:"id",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedBy:["aria-describedby","ariaDescribedBy"]},outputs:{change:"change"},features:[r.\u0275\u0275ProvidersFeature([rO])],ngContentSelectors:U$,decls:5,vars:8,consts:[["type","file",3,"id","multiple","accept","disabled","change"],["fileInput",""],[4,"ngIf"]],template:function(t,e){1&t&&(r.\u0275\u0275projectionDef($$),r.\u0275\u0275elementStart(0,"input",0,1),r.\u0275\u0275listener("change",function(s){return e._onFilesSelected(s)}),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(2,j$,1,0,"ng-content",2),r.\u0275\u0275projection(3),r.\u0275\u0275projection(4,1)),2&t&&(r.\u0275\u0275property("id",e.id)("multiple",e.multiple)("accept",e.accept)("disabled",e.disabled),r.\u0275\u0275attribute("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledby)("aria-describedby",e.ariaDescribedBy),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngIf",!e._hasPreviews))},dependencies:[P.NgIf],styles:["[_nghost-%COMP%]{display:flex;align-items:center;height:180px;background:#fff;cursor:pointer;color:#717386;border:2px dashed #717386;border-radius:5px;font-size:16px;overflow-x:auto}.ngx-dz-hovered[_nghost-%COMP%]{border-style:solid}.ngx-dz-disabled[_nghost-%COMP%]{opacity:.5;cursor:no-drop;pointer-events:none}.expandable[_nghost-%COMP%]{overflow:hidden;height:unset;min-height:180px;flex-wrap:wrap}.unclickable[_nghost-%COMP%]{cursor:default}[_nghost-%COMP%] ngx-dropzone-label{text-align:center;z-index:10;margin:10px auto}[_nghost-%COMP%] input[_ngcontent-%COMP%]{width:.1px;height:.1px;opacity:0;overflow:hidden;position:absolute;z-index:-1}[_nghost-%COMP%] input[_ngcontent-%COMP%]:focus + ngx-dropzone-label{outline:1px dotted #000;outline:-webkit-focus-ring-color auto 5px}"]}),o}(),iO=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(a){var s;return(0,f.Z)(this,e),(s=t.call(this,a)).defaultImgLoading="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBzdHlsZT0ibWFyZ2luOiBhdXRvOyBiYWNrZ3JvdW5kOiByZ2IoMjQxLCAyNDIs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NzY3NDQxODRzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIga2V5VGltZXM9IjA7MSIgdmFsdWVzPSIwIDUwIDUwOy0zNjAgNTAgNTAiPjwvYW5pbWF0ZVRyYW5zZm9ybT4KPC9jaXJjbGU+CjwhLS0gW2xkaW9dIGdlbmVyYXRlZCBieSBodHRwczovL2xvYWRpbmcuaW8vIC0tPjwvc3ZnPg==",s.imageSrc=s.sanitizer.bypassSecurityTrustUrl(s.defaultImgLoading),s}return(0,y.Z)(e,[{key:"file",get:function(){return this._file},set:function(s){this._file=s,this.renderImage()}},{key:"ngOnInit",value:function(){this.renderImage()}},{key:"renderImage",value:function(){var s=this;this.readFile().then(function(u){return setTimeout(function(){return s.imageSrc=u})}).catch(function(u){return console.error(u)})}}]),e}(Jd);return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(B.DomSanitizer))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["ngx-dropzone-image-preview"]],inputs:{file:"file"},features:[r.\u0275\u0275ProvidersFeature([{provide:Jd,useExisting:o}]),r.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:MA,decls:3,vars:2,consts:[[3,"src"],[3,"click",4,"ngIf"],[3,"click"]],template:function(t,e){1&t&&(r.\u0275\u0275projectionDef(FA),r.\u0275\u0275element(0,"img",0),r.\u0275\u0275projection(1),r.\u0275\u0275template(2,z$,1,0,"ngx-dropzone-remove-badge",1)),2&t&&(r.\u0275\u0275property("src",e.imageSrc,r.\u0275\u0275sanitizeUrl),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngIf",e.removable))},dependencies:[NA,P.NgIf],styles:["[_nghost-%COMP%]{min-width:unset!important;max-width:unset!important;padding:0!important}[_nghost-%COMP%]:hover img[_ngcontent-%COMP%], [_nghost-%COMP%]:focus img[_ngcontent-%COMP%]{opacity:.7}[_nghost-%COMP%]:hover ngx-dropzone-remove-badge[_ngcontent-%COMP%], [_nghost-%COMP%]:focus ngx-dropzone-remove-badge[_ngcontent-%COMP%]{opacity:1}[_nghost-%COMP%] ngx-dropzone-remove-badge[_ngcontent-%COMP%]{opacity:0}[_nghost-%COMP%] img[_ngcontent-%COMP%]{max-height:100%;border-radius:5px;opacity:.8}[_nghost-%COMP%] ngx-dropzone-label{position:absolute;overflow-wrap:break-word}"]}),o}(),K$=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(a){return(0,f.Z)(this,e),t.call(this,a)}return(0,y.Z)(e,[{key:"ngOnInit",value:function(){this.file?(this.videoSrc=URL.createObjectURL(this.file),this.sanitizedVideoSrc=this.sanitizer.bypassSecurityTrustUrl(this.videoSrc)):console.error("No file to read. Please provide a file using the [file] Input property.")}},{key:"ngOnDestroy",value:function(){URL.revokeObjectURL(this.videoSrc)}}]),e}(Jd);return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(B.DomSanitizer))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["ngx-dropzone-video-preview"]],features:[r.\u0275\u0275ProvidersFeature([{provide:Jd,useExisting:o}]),r.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:MA,decls:3,vars:2,consts:[["controls","",3,"click",4,"ngIf"],[3,"click",4,"ngIf"],["controls","",3,"click"],[3,"src"],[3,"click"]],template:function(t,e){1&t&&(r.\u0275\u0275projectionDef(FA),r.\u0275\u0275template(0,G$,2,1,"video",0),r.\u0275\u0275projection(1),r.\u0275\u0275template(2,H$,1,0,"ngx-dropzone-remove-badge",1)),2&t&&(r.\u0275\u0275property("ngIf",e.sanitizedVideoSrc),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngIf",e.removable))},dependencies:[NA,P.NgIf],styles:["[_nghost-%COMP%]{min-width:unset!important;max-width:unset!important;padding:0!important}[_nghost-%COMP%]:hover video[_ngcontent-%COMP%], [_nghost-%COMP%]:focus video[_ngcontent-%COMP%]{opacity:.7}[_nghost-%COMP%]:hover ngx-dropzone-remove-badge[_ngcontent-%COMP%], [_nghost-%COMP%]:focus ngx-dropzone-remove-badge[_ngcontent-%COMP%]{opacity:1}[_nghost-%COMP%] ngx-dropzone-remove-badge[_ngcontent-%COMP%]{opacity:0}[_nghost-%COMP%] video[_ngcontent-%COMP%]{max-height:100%;border-radius:5px}[_nghost-%COMP%] ngx-dropzone-label{position:absolute;overflow-wrap:break-word}"]}),o}(),EE=function(){var o=(0,y.Z)(function n(){(0,f.Z)(this,n)});return o.\u0275fac=function(t){return new(t||o)},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({imports:[[P.CommonModule]]}),o}(),W$=["treeContainer"];function X$(o,n){if(1&o&&r.\u0275\u0275element(0,"i",0),2&o){var t=r.\u0275\u0275nextContext();r.\u0275\u0275property("ngClass",t.getClassNames("arrowIcon"))}}function Q$(o,n){1&o&&r.\u0275\u0275elementContainer(0)}function Y$(o,n){if(1&o&&(r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275template(1,Q$,1,0,"ng-container",10),r.\u0275\u0275elementContainerEnd()),2&o){var t=n.ngIf,e=r.\u0275\u0275nextContext(2);r.\u0275\u0275advance(1),r.\u0275\u0275property("ngTemplateOutlet",t)("ngTemplateOutletContext",e.getArrowIconContext())}}function J$(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"a",9),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(t);var u=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(u.toggleCollapse())}),r.\u0275\u0275template(1,Y$,2,2,"ng-container",3),r.\u0275\u0275elementEnd()}if(2&o){var e=r.\u0275\u0275nextContext(),a=r.\u0275\u0275reference(2);r.\u0275\u0275property("ngClass",e.getClassNames("arrowIconButton",e.data.collapsed?"collapsed":"")),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",e.getArrowIconTemplate())("ngIfElse",a)}}function e7(o,n){1&o&&r.\u0275\u0275elementContainer(0)}function t7(o,n){if(1&o&&(r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275elementStart(1,"div",0),r.\u0275\u0275template(2,e7,1,0,"ng-container",10),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementContainerEnd()),2&o){var t=n.ngIf,e=r.\u0275\u0275nextContext();r.\u0275\u0275advance(1),r.\u0275\u0275property("ngClass",e.getClassNames("buttonGroup","rightAlign")),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngTemplateOutlet",t)("ngTemplateOutletContext",e.getButtonGroupContext())}}function n7(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"button",11),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(t);var s=r.\u0275\u0275nextContext(2);return r.\u0275\u0275resetView(s.addRuleSet())}),r.\u0275\u0275element(1,"i",0),r.\u0275\u0275text(2," Ruleset "),r.\u0275\u0275elementEnd()}if(2&o){var e=r.\u0275\u0275nextContext(2);r.\u0275\u0275property("ngClass",e.getClassNames("button"))("disabled",e.disabled),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngClass",e.getClassNames("addIcon"))}}function r7(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275elementStart(1,"button",11),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(t);var s=r.\u0275\u0275nextContext(2);return r.\u0275\u0275resetView(s.removeRuleSet())}),r.\u0275\u0275element(2,"i",0),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementContainerEnd()}if(2&o){var e=r.\u0275\u0275nextContext(2);r.\u0275\u0275advance(1),r.\u0275\u0275property("ngClass",e.getClassNames("button","removeButton"))("disabled",e.disabled),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngClass",e.getClassNames("removeIcon"))}}function a7(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"div",0)(1,"button",11),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(t);var s=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(s.addRule())}),r.\u0275\u0275element(2,"i",0),r.\u0275\u0275text(3," Rule "),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(4,n7,3,3,"button",12),r.\u0275\u0275template(5,r7,3,3,"ng-container",13),r.\u0275\u0275elementEnd()}if(2&o){var e=r.\u0275\u0275nextContext();r.\u0275\u0275property("ngClass",e.getClassNames("buttonGroup","rightAlign")),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngClass",e.getClassNames("button"))("disabled",e.disabled),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngClass",e.getClassNames("addIcon")),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngIf",e.allowRuleset),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",!!e.parentValue&&e.allowRuleset)}}function o7(o,n){1&o&&r.\u0275\u0275elementContainer(0)}function s7(o,n){if(1&o&&(r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275template(1,o7,1,0,"ng-container",10),r.\u0275\u0275elementContainerEnd()),2&o){var t=n.ngIf,e=r.\u0275\u0275nextContext();r.\u0275\u0275advance(1),r.\u0275\u0275property("ngTemplateOutlet",t)("ngTemplateOutletContext",e.getSwitchGroupContext())}}function u7(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"div",0)(1,"div",0)(2,"input",14,15),r.\u0275\u0275listener("ngModelChange",function(s){r.\u0275\u0275restoreView(t);var u=r.\u0275\u0275nextContext(2);return r.\u0275\u0275resetView(u.data.condition=s)}),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(4,"label",9),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(t);var s=r.\u0275\u0275reference(3),u=r.\u0275\u0275nextContext(2);return r.\u0275\u0275resetView(u.changeCondition(s.value))}),r.\u0275\u0275text(5,"AND"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(6,"div",0)(7,"input",16,17),r.\u0275\u0275listener("ngModelChange",function(s){r.\u0275\u0275restoreView(t);var u=r.\u0275\u0275nextContext(2);return r.\u0275\u0275resetView(u.data.condition=s)}),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(9,"label",9),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(t);var s=r.\u0275\u0275reference(8),u=r.\u0275\u0275nextContext(2);return r.\u0275\u0275resetView(u.changeCondition(s.value))}),r.\u0275\u0275text(10,"OR"),r.\u0275\u0275elementEnd()()()}if(2&o){var e=r.\u0275\u0275nextContext(2);r.\u0275\u0275property("ngClass",e.getClassNames("switchGroup","transition")),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngClass",e.getClassNames("switchControl")),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngClass",e.getClassNames("switchRadio"))("ngModel",e.data.condition)("disabled",e.disabled),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngClass",e.getClassNames("switchLabel")),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngClass",e.getClassNames("switchControl")),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngClass",e.getClassNames("switchRadio"))("ngModel",e.data.condition)("disabled",e.disabled),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngClass",e.getClassNames("switchLabel"))}}function l7(o,n){if(1&o&&r.\u0275\u0275template(0,u7,11,11,"div",8),2&o){var t=r.\u0275\u0275nextContext();r.\u0275\u0275property("ngIf",t.data)}}function c7(o,n){1&o&&r.\u0275\u0275elementContainer(0)}function d7(o,n){if(1&o&&(r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275elementStart(1,"div",0),r.\u0275\u0275template(2,c7,1,0,"ng-container",10),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementContainerEnd()),2&o){var t=n.ngIf,e=r.\u0275\u0275nextContext(3).$implicit,a=r.\u0275\u0275nextContext(2);r.\u0275\u0275advance(1),r.\u0275\u0275property("ngClass",a.getClassNames("buttonGroup","rightAlign")),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngTemplateOutlet",t)("ngTemplateOutletContext",a.getRemoveButtonContext(e))}}function p7(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"div",0)(1,"button",11),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(t);var s=r.\u0275\u0275nextContext(3).$implicit,u=r.\u0275\u0275nextContext(2);return r.\u0275\u0275resetView(u.removeRule(s,u.data))}),r.\u0275\u0275element(2,"i",0),r.\u0275\u0275elementEnd()()}if(2&o){var e=r.\u0275\u0275nextContext(5);r.\u0275\u0275property("ngClass",e.getClassNames("removeButtonSize","rightAlign")),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngClass",e.getClassNames("button","removeButton"))("disabled",e.disabled),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngClass",e.getClassNames("removeIcon"))}}function f7(o,n){1&o&&r.\u0275\u0275elementContainer(0)}function m7(o,n){if(1&o&&(r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275template(1,f7,1,0,"ng-container",10),r.\u0275\u0275elementContainerEnd()),2&o){var t=n.ngIf,e=r.\u0275\u0275nextContext(4).$implicit,a=r.\u0275\u0275nextContext(2);r.\u0275\u0275advance(1),r.\u0275\u0275property("ngTemplateOutlet",t)("ngTemplateOutletContext",a.getEntityContext(e))}}function h7(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"div",27),r.\u0275\u0275template(1,m7,2,2,"ng-container",3),r.\u0275\u0275elementEnd()),2&o){r.\u0275\u0275nextContext();var t=r.\u0275\u0275reference(6),e=r.\u0275\u0275nextContext(4);r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",e.getEntityTemplate())("ngIfElse",t)}}function g7(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"option",30),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&o){var t=n.$implicit;r.\u0275\u0275property("ngValue",t.value),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1(" ",t.name," ")}}function v7(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"div",0)(1,"select",28),r.\u0275\u0275listener("ngModelChange",function(u){r.\u0275\u0275restoreView(t);var l=r.\u0275\u0275nextContext(3).$implicit;return r.\u0275\u0275resetView(l.entity=u)})("ngModelChange",function(u){r.\u0275\u0275restoreView(t);var l=r.\u0275\u0275nextContext(3),c=l.$implicit,h=l.index,C=r.\u0275\u0275nextContext(2);return r.\u0275\u0275resetView(C.changeEntity(u,c,h,C.data))}),r.\u0275\u0275template(2,g7,2,2,"option",29),r.\u0275\u0275elementEnd()()}if(2&o){var e=r.\u0275\u0275nextContext(3).$implicit,a=r.\u0275\u0275nextContext(2);r.\u0275\u0275property("ngClass",a.getClassNames("entityControlSize")),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngClass",a.getClassNames("entityControl"))("ngModel",e.entity)("disabled",a.disabled),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",a.entities)}}function y7(o,n){1&o&&r.\u0275\u0275elementContainer(0)}function _7(o,n){if(1&o&&(r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275template(1,y7,1,0,"ng-container",10),r.\u0275\u0275elementContainerEnd()),2&o){var t=n.ngIf,e=r.\u0275\u0275nextContext(3).$implicit,a=r.\u0275\u0275nextContext(2);r.\u0275\u0275advance(1),r.\u0275\u0275property("ngTemplateOutlet",t)("ngTemplateOutletContext",a.getFieldContext(e))}}function x7(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"option",30),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&o){var t=n.$implicit;r.\u0275\u0275property("ngValue",t.value),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1(" ",t.name," ")}}function b7(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"div",0)(1,"select",28),r.\u0275\u0275listener("ngModelChange",function(u){r.\u0275\u0275restoreView(t);var l=r.\u0275\u0275nextContext(3).$implicit;return r.\u0275\u0275resetView(l.field=u)})("ngModelChange",function(u){r.\u0275\u0275restoreView(t);var l=r.\u0275\u0275nextContext(3).$implicit,c=r.\u0275\u0275nextContext(2);return r.\u0275\u0275resetView(c.changeField(u,l))}),r.\u0275\u0275template(2,x7,2,2,"option",29),r.\u0275\u0275elementEnd()()}if(2&o){var e=r.\u0275\u0275nextContext(3).$implicit,a=r.\u0275\u0275nextContext(2);r.\u0275\u0275property("ngClass",a.getClassNames("fieldControlSize")),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngClass",a.getClassNames("fieldControl"))("ngModel",e.field)("disabled",a.disabled),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",a.getFields(e.entity))}}function C7(o,n){1&o&&r.\u0275\u0275elementContainer(0)}function w7(o,n){if(1&o&&(r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275template(1,C7,1,0,"ng-container",10),r.\u0275\u0275elementContainerEnd()),2&o){var t=n.ngIf,e=r.\u0275\u0275nextContext(3).$implicit,a=r.\u0275\u0275nextContext(2);r.\u0275\u0275advance(1),r.\u0275\u0275property("ngTemplateOutlet",t)("ngTemplateOutletContext",a.getOperatorContext(e))}}function S7(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"option",30),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&o){var t=n.$implicit;r.\u0275\u0275property("ngValue",t),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1(" ",t," ")}}function E7(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"div",0)(1,"select",28),r.\u0275\u0275listener("ngModelChange",function(u){r.\u0275\u0275restoreView(t);var l=r.\u0275\u0275nextContext(3).$implicit;return r.\u0275\u0275resetView(l.operator=u)})("ngModelChange",function(){r.\u0275\u0275restoreView(t);var u=r.\u0275\u0275nextContext(3).$implicit,l=r.\u0275\u0275nextContext(2);return r.\u0275\u0275resetView(l.changeOperator(u))}),r.\u0275\u0275template(2,S7,2,2,"option",29),r.\u0275\u0275elementEnd()()}if(2&o){var e=r.\u0275\u0275nextContext(3).$implicit,a=r.\u0275\u0275nextContext(2);r.\u0275\u0275property("ngClass",a.getClassNames("operatorControlSize")),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngClass",a.getClassNames("operatorControl"))("ngModel",e.operator)("disabled",a.disabled),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",a.getOperators(e.field))}}function P7(o,n){1&o&&r.\u0275\u0275elementContainer(0)}function A7(o,n){if(1&o&&(r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275template(1,P7,1,0,"ng-container",10),r.\u0275\u0275elementContainerEnd()),2&o){var t=n.ngIf,e=r.\u0275\u0275nextContext(3).$implicit,a=r.\u0275\u0275nextContext(2);r.\u0275\u0275advance(1),r.\u0275\u0275property("ngTemplateOutlet",t)("ngTemplateOutletContext",a.getInputContext(e))}}function k7(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"input",39),r.\u0275\u0275listener("ngModelChange",function(u){r.\u0275\u0275restoreView(t);var l=r.\u0275\u0275nextContext(4).$implicit;return r.\u0275\u0275resetView(l.value=u)})("ngModelChange",function(){r.\u0275\u0275restoreView(t);var u=r.\u0275\u0275nextContext(6);return r.\u0275\u0275resetView(u.changeInput())}),r.\u0275\u0275elementEnd()}if(2&o){var e=r.\u0275\u0275nextContext(4).$implicit,a=r.\u0275\u0275nextContext(2);r.\u0275\u0275property("ngClass",a.getClassNames("inputControl"))("ngModel",e.value)("disabled",a.disabled)}}function R7(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"input",40),r.\u0275\u0275listener("ngModelChange",function(u){r.\u0275\u0275restoreView(t);var l=r.\u0275\u0275nextContext(4).$implicit;return r.\u0275\u0275resetView(l.value=u)})("ngModelChange",function(){r.\u0275\u0275restoreView(t);var u=r.\u0275\u0275nextContext(6);return r.\u0275\u0275resetView(u.changeInput())}),r.\u0275\u0275elementEnd()}if(2&o){var e=r.\u0275\u0275nextContext(4).$implicit,a=r.\u0275\u0275nextContext(2);r.\u0275\u0275property("ngClass",a.getClassNames("inputControl"))("ngModel",e.value)("disabled",a.disabled)}}function D7(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"input",41),r.\u0275\u0275listener("ngModelChange",function(u){r.\u0275\u0275restoreView(t);var l=r.\u0275\u0275nextContext(4).$implicit;return r.\u0275\u0275resetView(l.value=u)})("ngModelChange",function(){r.\u0275\u0275restoreView(t);var u=r.\u0275\u0275nextContext(6);return r.\u0275\u0275resetView(u.changeInput())}),r.\u0275\u0275elementEnd()}if(2&o){var e=r.\u0275\u0275nextContext(4).$implicit,a=r.\u0275\u0275nextContext(2);r.\u0275\u0275property("ngClass",a.getClassNames("inputControl"))("ngModel",e.value)("disabled",a.disabled)}}function T7(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"input",42),r.\u0275\u0275listener("ngModelChange",function(u){r.\u0275\u0275restoreView(t);var l=r.\u0275\u0275nextContext(4).$implicit;return r.\u0275\u0275resetView(l.value=u)})("ngModelChange",function(){r.\u0275\u0275restoreView(t);var u=r.\u0275\u0275nextContext(6);return r.\u0275\u0275resetView(u.changeInput())}),r.\u0275\u0275elementEnd()}if(2&o){var e=r.\u0275\u0275nextContext(4).$implicit,a=r.\u0275\u0275nextContext(2);r.\u0275\u0275property("ngClass",a.getClassNames("inputControl"))("ngModel",e.value)("disabled",a.disabled)}}function I7(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"option",30),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&o){var t=n.$implicit;r.\u0275\u0275property("ngValue",t.value),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1(" ",t.name," ")}}function O7(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"select",28),r.\u0275\u0275listener("ngModelChange",function(u){r.\u0275\u0275restoreView(t);var l=r.\u0275\u0275nextContext(4).$implicit;return r.\u0275\u0275resetView(l.value=u)})("ngModelChange",function(){r.\u0275\u0275restoreView(t);var u=r.\u0275\u0275nextContext(6);return r.\u0275\u0275resetView(u.changeInput())}),r.\u0275\u0275template(1,I7,2,2,"option",29),r.\u0275\u0275elementEnd()}if(2&o){var e=r.\u0275\u0275nextContext(4).$implicit,a=r.\u0275\u0275nextContext(2);r.\u0275\u0275property("ngClass",a.getClassNames("inputControl"))("ngModel",e.value)("disabled",a.disabled),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",a.getOptions(e.field))}}function F7(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"option",30),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&o){var t=n.$implicit;r.\u0275\u0275property("ngValue",t.value),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1(" ",t.name," ")}}function M7(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275elementStart(1,"select",43),r.\u0275\u0275listener("ngModelChange",function(u){r.\u0275\u0275restoreView(t);var l=r.\u0275\u0275nextContext(4).$implicit;return r.\u0275\u0275resetView(l.value=u)})("ngModelChange",function(){r.\u0275\u0275restoreView(t);var u=r.\u0275\u0275nextContext(6);return r.\u0275\u0275resetView(u.changeInput())}),r.\u0275\u0275template(2,F7,2,2,"option",29),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementContainerEnd()}if(2&o){var e=r.\u0275\u0275nextContext(4).$implicit,a=r.\u0275\u0275nextContext(2);r.\u0275\u0275advance(1),r.\u0275\u0275property("ngClass",a.getClassNames("inputControl"))("ngModel",e.value)("disabled",a.disabled),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",a.getOptions(e.field))}}function N7(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"input",44),r.\u0275\u0275listener("ngModelChange",function(u){r.\u0275\u0275restoreView(t);var l=r.\u0275\u0275nextContext(4).$implicit;return r.\u0275\u0275resetView(l.value=u)})("ngModelChange",function(){r.\u0275\u0275restoreView(t);var u=r.\u0275\u0275nextContext(6);return r.\u0275\u0275resetView(u.changeInput())}),r.\u0275\u0275elementEnd()}if(2&o){var e=r.\u0275\u0275nextContext(4).$implicit,a=r.\u0275\u0275nextContext(2);r.\u0275\u0275property("ngClass",a.getClassNames("inputControl"))("ngModel",e.value)("disabled",a.disabled)}}function V7(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"div",31),r.\u0275\u0275template(1,k7,1,3,"input",32),r.\u0275\u0275template(2,R7,1,3,"input",33),r.\u0275\u0275template(3,D7,1,3,"input",34),r.\u0275\u0275template(4,T7,1,3,"input",35),r.\u0275\u0275template(5,O7,2,4,"select",36),r.\u0275\u0275template(6,M7,3,4,"ng-container",37),r.\u0275\u0275template(7,N7,1,3,"input",38),r.\u0275\u0275elementEnd()),2&o){var t=r.\u0275\u0275nextContext(3).$implicit,e=r.\u0275\u0275nextContext(2);r.\u0275\u0275property("ngClass",e.getClassNames("inputControlSize"))("ngSwitch",e.getInputType(t.field,t.operator)),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngSwitchCase","string"),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngSwitchCase","number"),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngSwitchCase","date"),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngSwitchCase","time"),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngSwitchCase","category"),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngSwitchCase","multiselect"),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngSwitchCase","boolean")}}function B7(o,n){if(1&o&&(r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275template(1,d7,3,3,"ng-container",3),r.\u0275\u0275template(2,p7,3,4,"ng-template",null,21,r.\u0275\u0275templateRefExtractor),r.\u0275\u0275template(4,h7,2,2,"div",22),r.\u0275\u0275template(5,v7,3,5,"ng-template",null,23,r.\u0275\u0275templateRefExtractor),r.\u0275\u0275template(7,_7,2,2,"ng-container",3),r.\u0275\u0275template(8,b7,3,5,"ng-template",null,24,r.\u0275\u0275templateRefExtractor),r.\u0275\u0275template(10,w7,2,2,"ng-container",3),r.\u0275\u0275template(11,E7,3,5,"ng-template",null,25,r.\u0275\u0275templateRefExtractor),r.\u0275\u0275template(13,A7,2,2,"ng-container",3),r.\u0275\u0275template(14,V7,8,9,"ng-template",null,26,r.\u0275\u0275templateRefExtractor),r.\u0275\u0275elementContainerEnd()),2&o){var t=r.\u0275\u0275reference(3),e=r.\u0275\u0275reference(9),a=r.\u0275\u0275reference(12),s=r.\u0275\u0275reference(15),u=r.\u0275\u0275nextContext(2).$implicit,l=r.\u0275\u0275nextContext(2);r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",l.getRemoveButtonTemplate())("ngIfElse",t),r.\u0275\u0275advance(3),r.\u0275\u0275property("ngIf",null==l.entities?null:l.entities.length),r.\u0275\u0275advance(3),r.\u0275\u0275property("ngIf",l.getFieldTemplate())("ngIfElse",e),r.\u0275\u0275advance(3),r.\u0275\u0275property("ngIf",l.getOperatorTemplate())("ngIfElse",a),r.\u0275\u0275advance(3),r.\u0275\u0275property("ngIf",l.findTemplateForRule(u))("ngIfElse",s)}}function Z7(o,n){if(1&o&&r.\u0275\u0275element(0,"query-builder",45),2&o){var t=r.\u0275\u0275nextContext(2).$implicit,e=r.\u0275\u0275nextContext(2);r.\u0275\u0275property("data",t)("disabled",e.disabled)("parentTouchedCallback",e.parentTouchedCallback||e.onTouchedCallback)("parentChangeCallback",e.parentChangeCallback||e.onChangeCallback)("parentInputTemplates",e.parentInputTemplates||e.inputTemplates)("parentOperatorTemplate",e.parentOperatorTemplate||e.operatorTemplate)("parentFieldTemplate",e.parentFieldTemplate||e.fieldTemplate)("parentEntityTemplate",e.parentEntityTemplate||e.entityTemplate)("parentSwitchGroupTemplate",e.parentSwitchGroupTemplate||e.switchGroupTemplate)("parentButtonGroupTemplate",e.parentButtonGroupTemplate||e.buttonGroupTemplate)("parentRemoveButtonTemplate",e.parentRemoveButtonTemplate||e.removeButtonTemplate)("parentEmptyWarningTemplate",e.parentEmptyWarningTemplate||e.emptyWarningTemplate)("parentArrowIconTemplate",e.parentArrowIconTemplate||e.arrowIconTemplate)("parentValue",e.data)("classNames",e.classNames)("config",e.config)("allowRuleset",e.allowRuleset)("allowCollapse",e.allowCollapse)("emptyMessage",e.emptyMessage)("operatorMap",e.operatorMap)}}function L7(o,n){1&o&&r.\u0275\u0275elementContainer(0)}function j7(o,n){if(1&o&&(r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275template(1,L7,1,0,"ng-container",10),r.\u0275\u0275elementContainerEnd()),2&o){var t=r.\u0275\u0275nextContext().ngIf,e=r.\u0275\u0275nextContext(4);r.\u0275\u0275advance(1),r.\u0275\u0275property("ngTemplateOutlet",t)("ngTemplateOutletContext",e.getEmptyWarningContext())}}function $7(o,n){if(1&o&&(r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275template(1,j7,2,2,"ng-container",13),r.\u0275\u0275elementContainerEnd()),2&o){var t=r.\u0275\u0275nextContext().ngIf;r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",t.invalid)}}function U7(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"p",0),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&o){var t=r.\u0275\u0275nextContext(5);r.\u0275\u0275property("ngClass",t.getClassNames("emptyWarning")),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1(" ",t.emptyMessage," ")}}function z7(o,n){if(1&o&&r.\u0275\u0275template(0,U7,2,2,"p",8),2&o){var t=r.\u0275\u0275nextContext().ngIf;r.\u0275\u0275property("ngIf",t.invalid)}}function G7(o,n){if(1&o&&(r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275elementStart(1,"li",0),r.\u0275\u0275template(2,B7,16,9,"ng-container",13),r.\u0275\u0275template(3,Z7,1,20,"query-builder",19),r.\u0275\u0275template(4,$7,2,1,"ng-container",3),r.\u0275\u0275template(5,z7,1,1,"ng-template",null,20,r.\u0275\u0275templateRefExtractor),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementContainerEnd()),2&o){var t=n.ngIf,e=r.\u0275\u0275reference(6),a=r.\u0275\u0275nextContext(3);r.\u0275\u0275advance(1),r.\u0275\u0275property("ngClass",a.getQueryItemClassName(t)),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",!t.ruleset),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",t.ruleset),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",a.getEmptyWarningTemplate())("ngIfElse",e)}}var H7=function(n,t){return{ruleset:n,invalid:t}};function q7(o,n){if(1&o&&(r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275template(1,G7,7,5,"ng-container",13),r.\u0275\u0275elementContainerEnd()),2&o){var t=n.$implicit,e=r.\u0275\u0275nextContext(2);r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",r.\u0275\u0275pureFunction2(1,H7,!!t.rules,!e.config.allowEmptyRulesets&&t.rules&&0===t.rules.length))}}function K7(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"ul",0),r.\u0275\u0275template(1,q7,2,4,"ng-container",18),r.\u0275\u0275elementEnd()),2&o){var t=r.\u0275\u0275nextContext();r.\u0275\u0275property("ngClass",t.getClassNames("tree")),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",t.data.rules)}}var W7=function(){var o=(0,y.Z)(function n(t){(0,f.Z)(this,n),this.template=t});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(r.TemplateRef))},o.\u0275dir=r.\u0275\u0275defineDirective({type:o,selectors:[["","queryOperator",""]]}),o}(),X7=function(){var o=(0,y.Z)(function n(t){(0,f.Z)(this,n),this.template=t});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(r.TemplateRef))},o.\u0275dir=r.\u0275\u0275defineDirective({type:o,selectors:[["","queryField",""]]}),o}(),Q7=function(){var o=(0,y.Z)(function n(t){(0,f.Z)(this,n),this.template=t});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(r.TemplateRef))},o.\u0275dir=r.\u0275\u0275defineDirective({type:o,selectors:[["","queryEntity",""]]}),o}(),Y7=function(){var o=(0,y.Z)(function n(t){(0,f.Z)(this,n),this.template=t});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(r.TemplateRef))},o.\u0275dir=r.\u0275\u0275defineDirective({type:o,selectors:[["","querySwitchGroup",""]]}),o}(),J7=function(){var o=(0,y.Z)(function n(t){(0,f.Z)(this,n),this.template=t});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(r.TemplateRef))},o.\u0275dir=r.\u0275\u0275defineDirective({type:o,selectors:[["","queryButtonGroup",""]]}),o}(),e9=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.template=t}return(0,y.Z)(n,[{key:"queryInputType",get:function(){return this._type},set:function(e){e&&(this._type=e)}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(r.TemplateRef))},o.\u0275dir=r.\u0275\u0275defineDirective({type:o,selectors:[["","queryInput",""]],inputs:{queryInputType:"queryInputType"}}),o}(),t9=function(){var o=(0,y.Z)(function n(t){(0,f.Z)(this,n),this.template=t});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(r.TemplateRef))},o.\u0275dir=r.\u0275\u0275defineDirective({type:o,selectors:[["","queryRemoveButton",""]]}),o}(),n9=function(){var o=(0,y.Z)(function n(t){(0,f.Z)(this,n),this.template=t});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(r.TemplateRef))},o.\u0275dir=r.\u0275\u0275defineDirective({type:o,selectors:[["","queryEmptyWarning",""]]}),o}(),r9=function(){var o=(0,y.Z)(function n(t){(0,f.Z)(this,n),this.template=t});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(r.TemplateRef))},o.\u0275dir=r.\u0275\u0275defineDirective({type:o,selectors:[["","queryArrowIcon",""]]}),o}(),i9={provide:v.NG_VALUE_ACCESSOR,useExisting:(0,r.forwardRef)(function(){return VA}),multi:!0},a9={provide:v.NG_VALIDATORS,useExisting:(0,r.forwardRef)(function(){return VA}),multi:!0},VA=function(){var o=function(){function n(t){var e=this;(0,f.Z)(this,n),this.changeDetectorRef=t,this.defaultClassNames={arrowIconButton:"q-arrow-icon-button",arrowIcon:"q-icon q-arrow-icon",removeIcon:"q-icon q-remove-icon",addIcon:"q-icon q-add-icon",button:"q-button",buttonGroup:"q-button-group",removeButton:"q-remove-button",switchGroup:"q-switch-group",switchLabel:"q-switch-label",switchRadio:"q-switch-radio",rightAlign:"q-right-align",transition:"q-transition",collapsed:"q-collapsed",treeContainer:"q-tree-container",tree:"q-tree",row:"q-row",connector:"q-connector",rule:"q-rule",ruleSet:"q-ruleset",invalidRuleSet:"q-invalid-ruleset",emptyWarning:"q-empty-warning",fieldControl:"q-field-control",fieldControlSize:"q-control-size",entityControl:"q-entity-control",entityControlSize:"q-control-size",operatorControl:"q-operator-control",operatorControlSize:"q-control-size",inputControl:"q-input-control",inputControlSize:"q-control-size"},this.defaultOperatorMap={string:["=","!=","contains","like"],number:["=","!=",">",">=","<","<="],time:["=","!=",">",">=","<","<="],date:["=","!=",">",">=","<","<="],category:["=","!=","in","not in"],boolean:["="]},this.disabled=!1,this.data={condition:"and",rules:[]},this.allowRuleset=!0,this.allowCollapse=!1,this.emptyMessage="A ruleset cannot be empty. Please add a rule or remove it all together.",this.classNames={},this.operatorMap={},this.config={fields:{}},this.persistValueOnFieldChange=!1,this.defaultTemplateTypes=["string","number","time","date","category","boolean","multiselect"],this.defaultPersistValueTypes=["string","number","time","date","boolean"],this.defaultEmptyList=[],this.operatorsCache={},this.inputContextCache=new Map,this.operatorContextCache=new Map,this.fieldContextCache=new Map,this.entityContextCache=new Map,this.removeButtonContextCache=new Map,this.getDisabledState=function(){return e.disabled},this.fields=[],this.filterFields=[],this.entities=[]}return(0,y.Z)(n,[{key:"condintion",get:function(){var e;return null===(e=this.data)||void 0===e?void 0:e.condition}},{key:"ngOnChanges",value:function(e){var a=this.config,s=typeof a;if("object"!==s)throw new Error("Expected 'config' must be a valid object, got ".concat(s," instead."));this.fields=Object.keys(a.fields).map(function(u){var l=a.fields[u];return l.value=l.value||u,l}),this.entities=a.entities?Object.keys(a.entities).map(function(u){var l=a.entities?a.entities[u]:[];return l.value=l.value||u,l}):[],this.operatorsCache={}}},{key:"validate",value:function(e){var a={},s=[],u=!1;return!this.config.allowEmptyRulesets&&this.checkEmptyRuleInRuleset(this.data)&&(a.empty="Empty rulesets are not allowed.",u=!0),this.validateRulesInRuleset(this.data,s),s.length&&(a.rules=s,u=!0),u?a:null}},{key:"value",get:function(){return this.data},set:function(e){this.data=e||{condition:"and",rules:[]},this.handleDataChange()}},{key:"writeValue",value:function(e){this.value=e}},{key:"registerOnChange",value:function(e){var a=this;this.onChangeCallback=function(){return e(a.data)}}},{key:"registerOnTouched",value:function(e){var a=this;this.onTouchedCallback=function(){return e(a.data)}}},{key:"setDisabledState",value:function(e){this.disabled=e,this.changeDetectorRef.detectChanges()}},{key:"findTemplateForRule",value:function(e){var a=this.getInputType(e.field,e.operator);if(a){var s=this.findQueryInput(a);return s?s.template:(-1===this.defaultTemplateTypes.indexOf(a)&&console.warn("Could not find template for field with type: ".concat(a)),null)}}},{key:"findQueryInput",value:function(e){return(this.parentInputTemplates||this.inputTemplates).find(function(s){return s.queryInputType===e})}},{key:"getOperators",value:function(e){if(this.operatorsCache[e])return this.operatorsCache[e];var a=this.defaultEmptyList,s=this.config.fields[e];if(this.config.getOperators)return this.config.getOperators(e,s);var u=s.type;return s&&s.operators?a=s.operators:u?(0===(a=this.operatorMap&&this.operatorMap[u]||this.defaultOperatorMap[u]||this.defaultEmptyList).length&&console.warn("No operators found for field '".concat(e,"' with type ").concat(s.type,". ")+"Please define an 'operators' property on the field or use the 'operatorMap' binding to fix this."),s.nullable&&(a=a.concat(["is null","is not null"]))):console.warn("No 'type' property found on field: '".concat(e,"'")),this.operatorsCache[e]=a,a}},{key:"getFields",value:function(e){return this.entities.length&&e?this.fields.filter(function(a){return a&&a.entity===e}):this.fields}},{key:"getInputType",value:function(e,a){if(this.config.getInputType)return this.config.getInputType(e,a);if(!this.config.fields[e])throw new Error("No configuration for field '".concat(e,"' could be found! Please add it to config.fields."));var s=this.config.fields[e].type;switch(a){case"is null":case"is not null":return null;case"in":case"not in":return"category"===s||"boolean"===s?"multiselect":s;default:return s}}},{key:"getOptions",value:function(e){return this.config.getOptions?this.config.getOptions(e):this.config.fields[e].options||this.defaultEmptyList}},{key:"getClassNames",value:function(){for(var e=this.classNames?this.classNames:this.defaultClassNames,a=this.defaultClassNames,s=arguments.length,u=new Array(s),l=0;l<s;l++)u[l]=arguments[l];var c=u.map(function(h){return e[h]||a[h]}).filter(function(h){return!!h});return c.length?c.join(" "):[]}},{key:"getDefaultField",value:function(e){if(e){if(void 0!==e.defaultField)return this.getDefaultValue(e.defaultField);var a=this.fields.filter(function(s){return s&&s.entity===e.value});return a&&a.length?a[0]:(console.warn("No fields found for entity '".concat(e.name,"'. ")+"A 'defaultOperator' is also not specified on the field config. Operator value will default to null."),null)}return null}},{key:"getDefaultOperator",value:function(e){if(e&&void 0!==e.defaultOperator)return this.getDefaultValue(e.defaultOperator);var a=this.getOperators(e.value);return a&&a.length?a[0]:(console.warn("No operators found for field '".concat(e.value,"'. ")+"A 'defaultOperator' is also not specified on the field config. Operator value will default to null."),null)}},{key:"addRule",value:function(e){if(!this.disabled){if(e=e||this.data,this.config.addRule)this.config.addRule(e);else{var a=this.fields[0];e.rules=e.rules.concat([{field:a.value,operator:this.getDefaultOperator(a),value:this.getDefaultValue(a.defaultValue),entity:a.entity}])}this.handleTouched(),this.handleDataChange()}}},{key:"removeRule",value:function(e,a){this.disabled||(a=a||this.data,this.config.removeRule?this.config.removeRule(e,a):a.rules=a.rules.filter(function(s){return s!==e}),this.inputContextCache.delete(e),this.operatorContextCache.delete(e),this.fieldContextCache.delete(e),this.entityContextCache.delete(e),this.removeButtonContextCache.delete(e),this.handleTouched(),this.handleDataChange())}},{key:"addRuleSet",value:function(e){this.disabled||(e=e||this.data,this.config.addRuleSet?this.config.addRuleSet(e):e.rules=e.rules.concat([{condition:"and",rules:[]}]),this.handleTouched(),this.handleDataChange())}},{key:"removeRuleSet",value:function(e,a){this.disabled||(e=e||this.data,a=a||this.parentValue,this.config.removeRuleSet?this.config.removeRuleSet(e,a):a&&(a.rules=a.rules.filter(function(s){return s!==e})),this.handleTouched(),this.handleDataChange())}},{key:"transitionEnd",value:function(e){this.treeContainer.nativeElement.style.maxHeight=null}},{key:"toggleCollapse",value:function(){var e=this;this.computedTreeContainerHeight(),setTimeout(function(){e.data.collapsed=!e.data.collapsed},100)}},{key:"computedTreeContainerHeight",value:function(){var e=this.treeContainer.nativeElement;e&&e.firstElementChild&&(e.style.maxHeight=e.firstElementChild.clientHeight+8+"px")}},{key:"changeCondition",value:function(e){this.disabled||(this.data.condition=e,this.handleTouched(),this.handleDataChange())}},{key:"changeOperator",value:function(e){this.disabled||(e.value=this.config.coerceValueForOperator?this.config.coerceValueForOperator(e.operator,e.value,e):this.coerceValueForOperator(e.operator,e.value,e),this.handleTouched(),this.handleDataChange())}},{key:"coerceValueForOperator",value:function(e,a,s){return"multiselect"!==this.getInputType(s.field,e)||Array.isArray(a)?a:[a]}},{key:"changeInput",value:function(){this.disabled||(this.handleTouched(),this.handleDataChange())}},{key:"changeField",value:function(e,a){if(!this.disabled){var s=this.inputContextCache.get(a),l=this.config.fields[e],c=this.calculateFieldChangeValue(s&&s.field,l,a.value);void 0!==c?a.value=c:delete a.value,a.operator=this.getDefaultOperator(l),this.inputContextCache.delete(a),this.operatorContextCache.delete(a),this.fieldContextCache.delete(a),this.entityContextCache.delete(a),this.getInputContext(a),this.getFieldContext(a),this.getOperatorContext(a),this.getEntityContext(a),this.handleTouched(),this.handleDataChange()}}},{key:"changeEntity",value:function(e,a,s,u){if(!this.disabled){var l=s,c=u,h=this.entities.find(function(T){return T.value===e}),C=this.getDefaultField(h);c||(l=(c=this.data).rules.findIndex(function(T){return T===a})),a.field=C.value,c.rules[l]=a,C?this.changeField(C.value,a):(this.handleTouched(),this.handleDataChange())}}},{key:"getDefaultValue",value:function(e){return"function"==typeof e?e():e}},{key:"getOperatorTemplate",value:function(){var e=this.parentOperatorTemplate||this.operatorTemplate;return e?e.template:null}},{key:"getFieldTemplate",value:function(){var e=this.parentFieldTemplate||this.fieldTemplate;return e?e.template:null}},{key:"getEntityTemplate",value:function(){var e=this.parentEntityTemplate||this.entityTemplate;return e?e.template:null}},{key:"getArrowIconTemplate",value:function(){var e=this.parentArrowIconTemplate||this.arrowIconTemplate;return e?e.template:null}},{key:"getButtonGroupTemplate",value:function(){var e=this.parentButtonGroupTemplate||this.buttonGroupTemplate;return e?e.template:null}},{key:"getSwitchGroupTemplate",value:function(){var e=this.parentSwitchGroupTemplate||this.switchGroupTemplate;return e?e.template:null}},{key:"getRemoveButtonTemplate",value:function(){var e=this.parentRemoveButtonTemplate||this.removeButtonTemplate;return e?e.template:null}},{key:"getEmptyWarningTemplate",value:function(){var e=this.parentEmptyWarningTemplate||this.emptyWarningTemplate;return e?e.template:null}},{key:"getQueryItemClassName",value:function(e){var a=this.getClassNames("row","connector","transition");return a+=" "+this.getClassNames(e.ruleset?"ruleSet":"rule"),e.invalid&&(a+=" "+this.getClassNames("invalidRuleSet")),a}},{key:"getButtonGroupContext",value:function(){return this.buttonGroupContext||(this.buttonGroupContext={addRule:this.addRule.bind(this),addRuleSet:this.allowRuleset&&this.addRuleSet.bind(this),removeRuleSet:this.allowRuleset&&this.parentValue&&this.removeRuleSet.bind(this),getDisabledState:this.getDisabledState,$implicit:this.data}),this.buttonGroupContext}},{key:"getRemoveButtonContext",value:function(e){return this.removeButtonContextCache.has(e)||this.removeButtonContextCache.set(e,{removeRule:this.removeRule.bind(this),getDisabledState:this.getDisabledState,$implicit:e}),this.removeButtonContextCache.get(e)}},{key:"getFieldContext",value:function(e){return this.fieldContextCache.has(e)||this.fieldContextCache.set(e,{onChange:this.changeField.bind(this),getFields:this.getFields.bind(this),getDisabledState:this.getDisabledState,fields:this.fields,$implicit:e}),this.fieldContextCache.get(e)}},{key:"getEntityContext",value:function(e){return this.entityContextCache.has(e)||this.entityContextCache.set(e,{onChange:this.changeEntity.bind(this),getDisabledState:this.getDisabledState,entities:this.entities,$implicit:e}),this.entityContextCache.get(e)}},{key:"getSwitchGroupContext",value:function(){return{onChange:this.changeCondition.bind(this),getDisabledState:this.getDisabledState,$implicit:this.data}}},{key:"getArrowIconContext",value:function(){return{getDisabledState:this.getDisabledState,$implicit:this.data}}},{key:"getEmptyWarningContext",value:function(){return{getDisabledState:this.getDisabledState,message:this.emptyMessage,$implicit:this.data}}},{key:"getOperatorContext",value:function(e){return this.operatorContextCache.has(e)||this.operatorContextCache.set(e,{onChange:this.changeOperator.bind(this),getDisabledState:this.getDisabledState,operators:this.getOperators(e.field),$implicit:e}),this.operatorContextCache.get(e)}},{key:"getInputContext",value:function(e){return this.inputContextCache.has(e)||this.inputContextCache.set(e,{onChange:this.changeInput.bind(this),getDisabledState:this.getDisabledState,options:this.getOptions(e.field),field:this.config.fields[e.field],$implicit:e}),this.inputContextCache.get(e)}},{key:"calculateFieldChangeValue",value:function(e,a,s){return null!=this.config.calculateFieldChangeValue?this.config.calculateFieldChangeValue(e,a,s):this.persistValueOnFieldChange&&null!=e&&null!=a&&e.type===a.type&&-1!==this.defaultPersistValueTypes.indexOf(e.type)?s:a&&void 0!==a.defaultValue?this.getDefaultValue(a.defaultValue):void 0}},{key:"checkEmptyRuleInRuleset",value:function(e){var a=this;return!e||!e.rules||0===e.rules.length||e.rules.some(function(s){return!!s.rules&&a.checkEmptyRuleInRuleset(s)})}},{key:"validateRulesInRuleset",value:function(e,a){var s=this;e&&e.rules&&e.rules.length>0&&e.rules.forEach(function(u){if(u.rules)return s.validateRulesInRuleset(u,a);if(u.field){var l=s.config.fields[u.field];if(l&&l.validator){var c=l.validator(u,e);null!=c&&a.push(c)}}})}},{key:"handleDataChange",value:function(){this.changeDetectorRef.markForCheck(),this.onChangeCallback&&this.onChangeCallback(),this.parentChangeCallback&&this.parentChangeCallback()}},{key:"handleTouched",value:function(){this.onTouchedCallback&&this.onTouchedCallback(),this.parentTouchedCallback&&this.parentTouchedCallback()}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["query-builder"]],contentQueries:function(t,e,a){var s;1&t&&(r.\u0275\u0275contentQuery(a,J7,5),r.\u0275\u0275contentQuery(a,Y7,5),r.\u0275\u0275contentQuery(a,X7,5),r.\u0275\u0275contentQuery(a,Q7,5),r.\u0275\u0275contentQuery(a,W7,5),r.\u0275\u0275contentQuery(a,t9,5),r.\u0275\u0275contentQuery(a,n9,5),r.\u0275\u0275contentQuery(a,r9,5),r.\u0275\u0275contentQuery(a,e9,5)),2&t&&(r.\u0275\u0275queryRefresh(s=r.\u0275\u0275loadQuery())&&(e.buttonGroupTemplate=s.first),r.\u0275\u0275queryRefresh(s=r.\u0275\u0275loadQuery())&&(e.switchGroupTemplate=s.first),r.\u0275\u0275queryRefresh(s=r.\u0275\u0275loadQuery())&&(e.fieldTemplate=s.first),r.\u0275\u0275queryRefresh(s=r.\u0275\u0275loadQuery())&&(e.entityTemplate=s.first),r.\u0275\u0275queryRefresh(s=r.\u0275\u0275loadQuery())&&(e.operatorTemplate=s.first),r.\u0275\u0275queryRefresh(s=r.\u0275\u0275loadQuery())&&(e.removeButtonTemplate=s.first),r.\u0275\u0275queryRefresh(s=r.\u0275\u0275loadQuery())&&(e.emptyWarningTemplate=s.first),r.\u0275\u0275queryRefresh(s=r.\u0275\u0275loadQuery())&&(e.arrowIconTemplate=s.first),r.\u0275\u0275queryRefresh(s=r.\u0275\u0275loadQuery())&&(e.inputTemplates=s))},viewQuery:function(t,e){var a;1&t&&r.\u0275\u0275viewQuery(W$,7),2&t&&r.\u0275\u0275queryRefresh(a=r.\u0275\u0275loadQuery())&&(e.treeContainer=a.first)},hostVars:1,hostBindings:function(t,e){2&t&&r.\u0275\u0275attribute("query-builder-condition",e.condintion)},inputs:{disabled:"disabled",data:"data",allowRuleset:"allowRuleset",allowCollapse:"allowCollapse",emptyMessage:"emptyMessage",classNames:"classNames",operatorMap:"operatorMap",parentValue:"parentValue",config:"config",parentArrowIconTemplate:"parentArrowIconTemplate",parentInputTemplates:"parentInputTemplates",parentOperatorTemplate:"parentOperatorTemplate",parentFieldTemplate:"parentFieldTemplate",parentEntityTemplate:"parentEntityTemplate",parentSwitchGroupTemplate:"parentSwitchGroupTemplate",parentButtonGroupTemplate:"parentButtonGroupTemplate",parentRemoveButtonTemplate:"parentRemoveButtonTemplate",parentEmptyWarningTemplate:"parentEmptyWarningTemplate",parentChangeCallback:"parentChangeCallback",parentTouchedCallback:"parentTouchedCallback",persistValueOnFieldChange:"persistValueOnFieldChange",value:"value"},features:[r.\u0275\u0275ProvidersFeature([i9,a9]),r.\u0275\u0275NgOnChangesFeature],decls:13,vars:8,consts:[[3,"ngClass"],["defaultArrowIcon",""],[3,"ngClass","click",4,"ngIf"],[4,"ngIf","ngIfElse"],["defaultButtonGroup",""],["defaultSwitchGroup",""],[3,"ngClass","transitionend"],["treeContainer",""],[3,"ngClass",4,"ngIf"],[3,"ngClass","click"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["type","button",3,"ngClass","disabled","click"],["type","button",3,"ngClass","disabled","click",4,"ngIf"],[4,"ngIf"],["type","radio","value","and",3,"ngClass","ngModel","disabled","ngModelChange"],["andOption",""],["type","radio","value","or",3,"ngClass","ngModel","disabled","ngModelChange"],["orOption",""],[4,"ngFor","ngForOf"],[3,"data","disabled","parentTouchedCallback","parentChangeCallback","parentInputTemplates","parentOperatorTemplate","parentFieldTemplate","parentEntityTemplate","parentSwitchGroupTemplate","parentButtonGroupTemplate","parentRemoveButtonTemplate","parentEmptyWarningTemplate","parentArrowIconTemplate","parentValue","classNames","config","allowRuleset","allowCollapse","emptyMessage","operatorMap",4,"ngIf"],["defaultEmptyWarning",""],["defaultRemoveButton",""],["class","q-inline-block-display",4,"ngIf"],["defaultEntity",""],["defaultField",""],["defaultOperator",""],["defaultInput",""],[1,"q-inline-block-display"],[3,"ngClass","ngModel","disabled","ngModelChange"],[3,"ngValue",4,"ngFor","ngForOf"],[3,"ngValue"],[3,"ngClass","ngSwitch"],["type","text",3,"ngClass","ngModel","disabled","ngModelChange",4,"ngSwitchCase"],["type","number",3,"ngClass","ngModel","disabled","ngModelChange",4,"ngSwitchCase"],["type","date",3,"ngClass","ngModel","disabled","ngModelChange",4,"ngSwitchCase"],["type","time",3,"ngClass","ngModel","disabled","ngModelChange",4,"ngSwitchCase"],[3,"ngClass","ngModel","disabled","ngModelChange",4,"ngSwitchCase"],[4,"ngSwitchCase"],["type","checkbox",3,"ngClass","ngModel","disabled","ngModelChange",4,"ngSwitchCase"],["type","text",3,"ngClass","ngModel","disabled","ngModelChange"],["type","number",3,"ngClass","ngModel","disabled","ngModelChange"],["type","date",3,"ngClass","ngModel","disabled","ngModelChange"],["type","time",3,"ngClass","ngModel","disabled","ngModelChange"],["multiple","",3,"ngClass","ngModel","disabled","ngModelChange"],["type","checkbox",3,"ngClass","ngModel","disabled","ngModelChange"],[3,"data","disabled","parentTouchedCallback","parentChangeCallback","parentInputTemplates","parentOperatorTemplate","parentFieldTemplate","parentEntityTemplate","parentSwitchGroupTemplate","parentButtonGroupTemplate","parentRemoveButtonTemplate","parentEmptyWarningTemplate","parentArrowIconTemplate","parentValue","classNames","config","allowRuleset","allowCollapse","emptyMessage","operatorMap"]],template:function(t,e){if(1&t&&(r.\u0275\u0275elementStart(0,"div",0),r.\u0275\u0275template(1,X$,1,1,"ng-template",null,1,r.\u0275\u0275templateRefExtractor),r.\u0275\u0275template(3,J$,2,3,"a",2),r.\u0275\u0275template(4,t7,3,3,"ng-container",3),r.\u0275\u0275template(5,a7,6,6,"ng-template",null,4,r.\u0275\u0275templateRefExtractor),r.\u0275\u0275template(7,s7,2,2,"ng-container",3),r.\u0275\u0275template(8,l7,1,1,"ng-template",null,5,r.\u0275\u0275templateRefExtractor),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(10,"div",6,7),r.\u0275\u0275listener("transitionend",function(l){return e.transitionEnd(l)}),r.\u0275\u0275template(12,K7,2,2,"ul",8),r.\u0275\u0275elementEnd()),2&t){var a=r.\u0275\u0275reference(6),s=r.\u0275\u0275reference(9);r.\u0275\u0275property("ngClass",e.getClassNames("switchRow")),r.\u0275\u0275advance(3),r.\u0275\u0275property("ngIf",e.allowCollapse),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",e.getButtonGroupTemplate())("ngIfElse",a),r.\u0275\u0275advance(3),r.\u0275\u0275property("ngIf",e.getSwitchGroupTemplate())("ngIfElse",s),r.\u0275\u0275advance(3),r.\u0275\u0275property("ngClass",e.getClassNames("treeContainer",e.data.collapsed?"collapsed":"")),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngIf",e.data&&e.data.rules)}},dependencies:[P.NgClass,P.NgForOf,P.NgIf,P.NgTemplateOutlet,P.NgSwitch,P.NgSwitchCase,v.NgSelectOption,v.\u0275NgSelectMultipleOption,v.DefaultValueAccessor,v.NumberValueAccessor,v.CheckboxControlValueAccessor,v.SelectControlValueAccessor,v.SelectMultipleControlValueAccessor,v.RadioControlValueAccessor,v.NgControlStatus,v.NgModel,o],styles:['@charset "UTF-8";[_nghost-%COMP%]{display:block;width:100%}[_nghost-%COMP%] .q-icon[_ngcontent-%COMP%]{font-style:normal;font-size:12px}[_nghost-%COMP%] .q-remove-icon[_ngcontent-%COMP%]:before{content:"\\274c"}[_nghost-%COMP%] .q-arrow-icon-button[_ngcontent-%COMP%]{float:left;margin:4px 6px 4px 0;transform:rotate(90deg);transition:linear .25s transform;cursor:pointer}[_nghost-%COMP%] .q-arrow-icon-button.q-collapsed[_ngcontent-%COMP%]{transform:rotate(0)}[_nghost-%COMP%] .q-arrow-icon[_ngcontent-%COMP%]:before{content:"\\25b6"}[_nghost-%COMP%] .q-add-icon[_ngcontent-%COMP%]{color:#555}[_nghost-%COMP%] .q-add-icon[_ngcontent-%COMP%]:before{content:"\\2795"}[_nghost-%COMP%] .q-remove-button[_ngcontent-%COMP%]{color:#b3415d;width:31px}[_nghost-%COMP%] .q-switch-group[_ngcontent-%COMP%], [_nghost-%COMP%] .q-button-group[_ngcontent-%COMP%]{font-family:Lucida Grande,Tahoma,Verdana,sans-serif;overflow:hidden}[_nghost-%COMP%] .q-right-align[_ngcontent-%COMP%]{float:right}[_nghost-%COMP%] .q-button[_ngcontent-%COMP%]{margin-left:8px;padding:0 8px;background-color:#fff}[_nghost-%COMP%] .q-button[_ngcontent-%COMP%]:disabled{display:none}[_nghost-%COMP%] .q-control-size[_ngcontent-%COMP%]{display:inline-block;vertical-align:top;padding-right:10px}[_nghost-%COMP%] .q-input-control[_ngcontent-%COMP%], [_nghost-%COMP%] .q-operator-control[_ngcontent-%COMP%], [_nghost-%COMP%] .q-field-control[_ngcontent-%COMP%], [_nghost-%COMP%] .q-entity-control[_ngcontent-%COMP%]{display:inline-block;padding:5px 8px;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;box-sizing:border-box;width:auto;min-width:180px}[_nghost-%COMP%] .q-input-control[_ngcontent-%COMP%]:disabled, [_nghost-%COMP%] .q-operator-control[_ngcontent-%COMP%]:disabled, [_nghost-%COMP%] .q-field-control[_ngcontent-%COMP%]:disabled, [_nghost-%COMP%] .q-entity-control[_ngcontent-%COMP%]:disabled{border-color:transparent}[_nghost-%COMP%] .q-operator-control[_ngcontent-%COMP%], [_nghost-%COMP%] .q-field-control[_ngcontent-%COMP%], [_nghost-%COMP%] .q-entity-control[_ngcontent-%COMP%], [_nghost-%COMP%] .q-input-control[_ngcontent-%COMP%]:not([type=checkbox]){min-height:32px;-webkit-appearance:none}[_nghost-%COMP%] .q-switch-label[_ngcontent-%COMP%], [_nghost-%COMP%] .q-button[_ngcontent-%COMP%]{float:left;margin-bottom:0;font-size:14px;line-height:30px;font-weight:400;text-align:center;text-shadow:none;border:1px solid rgba(0,0,0,.2);box-sizing:border-box}[_nghost-%COMP%] .q-switch-label[_ngcontent-%COMP%]:hover, [_nghost-%COMP%] .q-button[_ngcontent-%COMP%]:hover{cursor:pointer;background-color:#f0f0f0}[_nghost-%COMP%] .q-switch-label[_ngcontent-%COMP%]{background-color:#e4e4e4;padding:0 8px}[_nghost-%COMP%] .q-switch-radio[_ngcontent-%COMP%]{position:absolute;clip:rect(0,0,0,0);height:1px;width:1px;border:0;overflow:hidden}[_nghost-%COMP%] .q-switch-radio[_ngcontent-%COMP%]:checked + .q-switch-label[_ngcontent-%COMP%]{border:1px solid rgb(97,158,215);background:white;color:#3176b3}[_nghost-%COMP%] .q-switch-radio[_ngcontent-%COMP%]:disabled + .q-switch-label[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%] .q-switch-radio[_ngcontent-%COMP%]:checked:disabled + .q-switch-label[_ngcontent-%COMP%]{display:initial;color:initial;cursor:default;border-color:transparent}[_nghost-%COMP%] .q-invalid-ruleset[_ngcontent-%COMP%]{border:1px solid rgba(179,65,93,.5)!important;background:rgba(179,65,93,.1)!important}[_nghost-%COMP%] .q-empty-warning[_ngcontent-%COMP%]{color:#8d252e;text-align:center}[_nghost-%COMP%] .q-ruleset[_ngcontent-%COMP%]{border:1px solid #CCC}[_nghost-%COMP%] .q-rule[_ngcontent-%COMP%]{border:1px solid #CCC;background:white}[_nghost-%COMP%] .q-transition[_ngcontent-%COMP%]{transition:all .1s ease-in-out}[_nghost-%COMP%] .q-tree-container[_ngcontent-%COMP%]{width:100%;overflow:hidden;transition:ease-in .25s max-height}[_nghost-%COMP%] .q-tree-container.q-collapsed[_ngcontent-%COMP%]{max-height:0!important}[_nghost-%COMP%] .q-tree[_ngcontent-%COMP%]{list-style:none;margin:4px 0 2px}[_nghost-%COMP%] .q-row[_ngcontent-%COMP%]{padding:6px 8px;margin-top:6px}[_nghost-%COMP%] .q-connector[_ngcontent-%COMP%]{position:relative}[_nghost-%COMP%] .q-connector[_ngcontent-%COMP%]:before{top:-5px;border-width:0 0 2px 2px}[_nghost-%COMP%] .q-connector[_ngcontent-%COMP%]:after{border-width:0 0 0 2px;top:50%}[_nghost-%COMP%] .q-connector[_ngcontent-%COMP%]:before, [_nghost-%COMP%] .q-connector[_ngcontent-%COMP%]:after{content:"";left:-12px;border-color:#ccc;border-style:solid;width:9px;height:calc(50% + 6px);position:absolute}[_nghost-%COMP%] .q-connector[_ngcontent-%COMP%]:last-child:after{content:none}[_nghost-%COMP%] .q-inline-block-display[_ngcontent-%COMP%]{display:inline-block;vertical-align:top}']}),o}(),o9=function(){var o=(0,y.Z)(function n(){(0,f.Z)(this,n)});return o.\u0275fac=function(t){return new(t||o)},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({imports:[P.CommonModule,v.FormsModule]}),o}();function s9(o,n){if(1&o&&r.\u0275\u0275element(0,"div",3),2&o){var t=n.index,e=r.\u0275\u0275nextContext();r.\u0275\u0275property("ngStyle",e.gridRenderer.getGridColumnStyle(t))}}function u9(o,n){if(1&o&&r.\u0275\u0275element(0,"div",4),2&o){var t=n.index,e=r.\u0275\u0275nextContext();r.\u0275\u0275property("ngStyle",e.gridRenderer.getGridRowStyle(t))}}var aO=["*"];function l9(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"div",8),r.\u0275\u0275listener("mousedown",function(a){r.\u0275\u0275restoreView(t);var s=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(s.resize.dragStartDelay(a))})("touchstart",function(a){r.\u0275\u0275restoreView(t);var s=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(s.resize.dragStartDelay(a))}),r.\u0275\u0275elementEnd()}}function c9(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"div",9),r.\u0275\u0275listener("mousedown",function(a){r.\u0275\u0275restoreView(t);var s=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(s.resize.dragStartDelay(a))})("touchstart",function(a){r.\u0275\u0275restoreView(t);var s=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(s.resize.dragStartDelay(a))}),r.\u0275\u0275elementEnd()}}function d9(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"div",10),r.\u0275\u0275listener("mousedown",function(a){r.\u0275\u0275restoreView(t);var s=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(s.resize.dragStartDelay(a))})("touchstart",function(a){r.\u0275\u0275restoreView(t);var s=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(s.resize.dragStartDelay(a))}),r.\u0275\u0275elementEnd()}}function p9(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"div",11),r.\u0275\u0275listener("mousedown",function(a){r.\u0275\u0275restoreView(t);var s=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(s.resize.dragStartDelay(a))})("touchstart",function(a){r.\u0275\u0275restoreView(t);var s=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(s.resize.dragStartDelay(a))}),r.\u0275\u0275elementEnd()}}function f9(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"div",12),r.\u0275\u0275listener("mousedown",function(a){r.\u0275\u0275restoreView(t);var s=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(s.resize.dragStartDelay(a))})("touchstart",function(a){r.\u0275\u0275restoreView(t);var s=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(s.resize.dragStartDelay(a))}),r.\u0275\u0275elementEnd()}}function m9(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"div",13),r.\u0275\u0275listener("mousedown",function(a){r.\u0275\u0275restoreView(t);var s=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(s.resize.dragStartDelay(a))})("touchstart",function(a){r.\u0275\u0275restoreView(t);var s=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(s.resize.dragStartDelay(a))}),r.\u0275\u0275elementEnd()}}function h9(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"div",14),r.\u0275\u0275listener("mousedown",function(a){r.\u0275\u0275restoreView(t);var s=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(s.resize.dragStartDelay(a))})("touchstart",function(a){r.\u0275\u0275restoreView(t);var s=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(s.resize.dragStartDelay(a))}),r.\u0275\u0275elementEnd()}}function g9(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"div",15),r.\u0275\u0275listener("mousedown",function(a){r.\u0275\u0275restoreView(t);var s=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(s.resize.dragStartDelay(a))})("touchstart",function(a){r.\u0275\u0275restoreView(t);var s=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(s.resize.dragStartDelay(a))}),r.\u0275\u0275elementEnd()}}var c_,Ol,po,d_,Bs,p_,f_,m_,h_,Hn=function(){return(Hn=Hn||{}).Fit="fit",Hn.ScrollVertical="scrollVertical",Hn.ScrollHorizontal="scrollHorizontal",Hn.Fixed="fixed",Hn.VerticalFixed="verticalFixed",Hn.HorizontalFixed="horizontalFixed",Hn}(),ku=function(){return(ku=ku||{}).Always="always",ku.OnDragAndResize="onDrag&Resize",ku.None="none",ku}(),Xn=function(){return(Xn=Xn||{}).None="none",Xn.CompactUp="compactUp",Xn.CompactLeft="compactLeft",Xn.CompactUpAndLeft="compactUp&Left",Xn.CompactLeftAndUp="compactLeft&Up",Xn.CompactRight="compactRight",Xn.CompactUpAndRight="compactUp&Right",Xn.CompactRightAndUp="compactRight&Up",Xn.CompactDown="compactDown",Xn.CompactDownAndLeft="compactDown&Left",Xn.CompactLeftAndDown="compactLeft&Down",Xn.CompactDownAndRight="compactDown&Right",Xn.CompactRightAndDown="compactRight&Down",Xn}(),mi=function(){return(mi=mi||{}).LTR="ltr",mi.RTL="rtl",mi}(),v9=function(){function o(n){(0,f.Z)(this,o),this.gridster=n}return(0,y.Z)(o,[{key:"destroy",value:function(){this.gridster=null}},{key:"checkCompact",value:function(){this.gridster.$options.compactType!==Xn.None&&(this.gridster.$options.compactType===Xn.CompactUp?this.checkCompactMovement("y",-1):this.gridster.$options.compactType===Xn.CompactLeft?this.checkCompactMovement("x",-1):this.gridster.$options.compactType===Xn.CompactUpAndLeft?(this.checkCompactMovement("y",-1),this.checkCompactMovement("x",-1)):this.gridster.$options.compactType===Xn.CompactLeftAndUp?(this.checkCompactMovement("x",-1),this.checkCompactMovement("y",-1)):this.gridster.$options.compactType===Xn.CompactRight?this.checkCompactMovement("x",1):this.gridster.$options.compactType===Xn.CompactUpAndRight?(this.checkCompactMovement("y",-1),this.checkCompactMovement("x",1)):this.gridster.$options.compactType===Xn.CompactRightAndUp?(this.checkCompactMovement("x",1),this.checkCompactMovement("y",-1)):this.gridster.$options.compactType===Xn.CompactDown?this.checkCompactMovement("y",1):this.gridster.$options.compactType===Xn.CompactDownAndLeft?(this.checkCompactMovement("y",1),this.checkCompactMovement("x",-1)):this.gridster.$options.compactType===Xn.CompactDownAndRight?(this.checkCompactMovement("y",1),this.checkCompactMovement("x",1)):this.gridster.$options.compactType===Xn.CompactLeftAndDown?(this.checkCompactMovement("x",-1),this.checkCompactMovement("y",1)):this.gridster.$options.compactType===Xn.CompactRightAndDown&&(this.checkCompactMovement("x",1),this.checkCompactMovement("y",1)))}},{key:"checkCompactItem",value:function(t){this.gridster.$options.compactType!==Xn.None&&(this.gridster.$options.compactType===Xn.CompactUp?this.moveTillCollision(t,"y",-1):this.gridster.$options.compactType===Xn.CompactLeft?this.moveTillCollision(t,"x",-1):this.gridster.$options.compactType===Xn.CompactUpAndLeft?(this.moveTillCollision(t,"y",-1),this.moveTillCollision(t,"x",-1)):this.gridster.$options.compactType===Xn.CompactLeftAndUp?(this.moveTillCollision(t,"x",-1),this.moveTillCollision(t,"y",-1)):this.gridster.$options.compactType===Xn.CompactUpAndRight?(this.moveTillCollision(t,"y",-1),this.moveTillCollision(t,"x",1)):this.gridster.$options.compactType===Xn.CompactDown?this.moveTillCollision(t,"y",1):this.gridster.$options.compactType===Xn.CompactDownAndLeft?(this.moveTillCollision(t,"y",1),this.moveTillCollision(t,"x",-1)):this.gridster.$options.compactType===Xn.CompactLeftAndDown?(this.moveTillCollision(t,"x",-1),this.moveTillCollision(t,"y",1)):this.gridster.$options.compactType===Xn.CompactDownAndRight?(this.moveTillCollision(t,"y",1),this.moveTillCollision(t,"x",1)):this.gridster.$options.compactType===Xn.CompactRightAndDown&&(this.moveTillCollision(t,"x",1),this.moveTillCollision(t,"y",1)))}},{key:"checkCompactMovement",value:function(t,e){var a=this,s=!1;this.gridster.grid.forEach(function(u){!1!==u.$item.compactEnabled&&a.moveTillCollision(u.$item,t,e)&&(s=!0,u.item[t]=u.$item[t],u.itemChanged())}),s&&this.checkCompact()}},{key:"moveTillCollision",value:function(t,e,a){return t[e]+=a,this.gridster.checkCollision(t)?(t[e]-=a,!1):(this.moveTillCollision(t,e,a),!0)}}]),o}(),y9={gridType:Hn.Fit,scale:1,fixedColWidth:250,fixedRowHeight:250,keepFixedHeightInMobile:!1,keepFixedWidthInMobile:!1,setGridSize:!1,compactType:Xn.None,mobileBreakpoint:640,useBodyForBreakpoint:!1,allowMultiLayer:!1,defaultLayerIndex:0,maxLayerIndex:2,baseLayerIndex:1,minCols:1,maxCols:100,minRows:1,maxRows:100,defaultItemCols:1,defaultItemRows:1,maxItemCols:50,maxItemRows:50,minItemCols:1,minItemRows:1,minItemArea:1,maxItemArea:2500,addEmptyRowsCount:0,rowHeightRatio:1,margin:10,outerMargin:!0,outerMarginTop:null,outerMarginRight:null,outerMarginBottom:null,outerMarginLeft:null,useTransformPositioning:!0,scrollSensitivity:10,scrollSpeed:20,initCallback:void 0,destroyCallback:void 0,gridSizeChangedCallback:void 0,itemChangeCallback:void 0,itemResizeCallback:void 0,itemInitCallback:void 0,itemRemovedCallback:void 0,itemValidateCallback:void 0,enableEmptyCellClick:!1,enableEmptyCellContextMenu:!1,enableEmptyCellDrop:!1,enableEmptyCellDrag:!1,enableOccupiedCellDrop:!1,emptyCellClickCallback:void 0,emptyCellContextMenuCallback:void 0,emptyCellDropCallback:void 0,emptyCellDragCallback:void 0,emptyCellDragMaxCols:50,emptyCellDragMaxRows:50,ignoreMarginInRow:!1,draggable:{delayStart:0,enabled:!1,ignoreContentClass:"gridster-item-content",ignoreContent:!1,dragHandleClass:"drag-handler",stop:void 0,start:void 0,dropOverItems:!1,dropOverItemsCallback:void 0},resizable:{delayStart:0,enabled:!1,handles:{s:!0,e:!0,n:!0,w:!0,se:!0,ne:!0,sw:!0,nw:!0},stop:void 0,start:void 0},swap:!0,swapWhileDragging:!1,pushItems:!1,disablePushOnDrag:!1,disablePushOnResize:!1,pushDirections:{north:!0,east:!0,south:!0,west:!0},pushResizeItems:!1,displayGrid:ku.OnDragAndResize,disableWindowResize:!1,disableWarnings:!1,scrollToNewItems:!1,disableScrollHorizontal:!1,disableScrollVertical:!1,enableBoundaryControl:!1,disableAutoPositionOnConflict:!1,dirType:mi.LTR},Ma=function(){function o(){(0,f.Z)(this,o)}return(0,y.Z)(o,null,[{key:"merge",value:function(t,e,a){for(var s in e)void 0!==e[s]&&a.hasOwnProperty(s)&&("object"==typeof e[s]?(s in t||(t[s]={}),t[s]=o.merge(t[s],e[s],a[s])):t[s]=e[s]);return t}},{key:"checkTouchEvent",value:function(t){void 0===t.clientX&&t.touches&&(t.touches&&t.touches.length?(t.clientX=t.touches[0].clientX,t.clientY=t.touches[0].clientY):t.changedTouches&&t.changedTouches.length&&(t.clientX=t.changedTouches[0].clientX,t.clientY=t.changedTouches[0].clientY))}},{key:"checkContentClassForEvent",value:function(t,e){if(t.$options.draggable.ignoreContent){if(!o.checkDragHandleClass(e.target,e.currentTarget,t.$options.draggable.dragHandleClass,t.$options.draggable.ignoreContentClass))return!0}else if(o.checkContentClass(e.target,e.currentTarget,t.$options.draggable.ignoreContentClass))return!0;return!1}},{key:"checkContentClassForEmptyCellClickEvent",value:function(t,e){return o.checkContentClass(e.target,e.currentTarget,t.$options.draggable.ignoreContentClass)||o.checkContentClass(e.target,e.currentTarget,t.$options.draggable.dragHandleClass)}},{key:"checkDragHandleClass",value:function(t,e,a,s){if(!t||t===e)return!1;if(t.hasAttribute("class")){var u=t.getAttribute("class").split(" ");if(u.indexOf(a)>-1)return!0;if(u.indexOf(s)>-1)return!1}return o.checkDragHandleClass(t.parentNode,e,a,s)}},{key:"checkContentClass",value:function(t,e,a){return!(!t||t===e)&&(!!(t.hasAttribute("class")&&t.getAttribute("class").split(" ").indexOf(a)>-1)||o.checkContentClass(t.parentNode,e,a))}},{key:"compareItems",value:function(t,e){return t.y>e.y?-1:t.y<e.y?1:t.x>e.x?-1:1}}]),o}(),_9=function(){function o(n){var t=this;(0,f.Z)(this,o),this.gridster=n,this.emptyCellClickCb=function(e){if(t.gridster&&!t.gridster.movingItem&&!Ma.checkContentClassForEmptyCellClickEvent(t.gridster,e)){var a=t.getValidItemFromEvent(e);a&&(t.gridster.options.emptyCellClickCallback&&t.gridster.options.emptyCellClickCallback(e,a),t.gridster.cdRef.markForCheck())}},this.emptyCellContextMenuCb=function(e){if(!t.gridster.movingItem&&!Ma.checkContentClassForEmptyCellClickEvent(t.gridster,e)){e.preventDefault(),e.stopPropagation();var a=t.getValidItemFromEvent(e);a&&(t.gridster.options.emptyCellContextMenuCallback&&t.gridster.options.emptyCellContextMenuCallback(e,a),t.gridster.cdRef.markForCheck())}},this.emptyCellDragDrop=function(e){var a=t.getValidItemFromEvent(e);a&&(t.gridster.options.emptyCellDropCallback&&t.gridster.options.emptyCellDropCallback(e,a),t.gridster.cdRef.markForCheck())},this.emptyCellDragOver=function(e){e.preventDefault(),e.stopPropagation();var a=t.getValidItemFromEvent(e);a?(e.dataTransfer&&(e.dataTransfer.dropEffect="move"),t.gridster.movingItem=a):(e.dataTransfer&&(e.dataTransfer.dropEffect="none"),t.gridster.movingItem=null),t.gridster.previewStyle()},this.emptyCellMouseDown=function(e){if(!Ma.checkContentClassForEmptyCellClickEvent(t.gridster,e)){e.preventDefault(),e.stopPropagation();var a=t.getValidItemFromEvent(e);!a||1!==e.buttons&&!(e instanceof TouchEvent)||(t.initialItem=a,t.gridster.movingItem=a,t.gridster.previewStyle(),t.gridster.zone.runOutsideAngular(function(){t.removeWindowMousemoveListenerFn=t.gridster.renderer.listen("window","mousemove",t.emptyCellMouseMove),t.removeWindowTouchmoveListenerFn=t.gridster.renderer.listen("window","touchmove",t.emptyCellMouseMove)}),t.removeWindowMouseupListenerFn=t.gridster.renderer.listen("window","mouseup",t.emptyCellMouseUp),t.removeWindowTouchendListenerFn=t.gridster.renderer.listen("window","touchend",t.emptyCellMouseUp))}},this.emptyCellMouseMove=function(e){e.preventDefault(),e.stopPropagation();var a=t.getValidItemFromEvent(e,t.initialItem);a&&(t.gridster.movingItem=a,t.gridster.previewStyle())},this.emptyCellMouseUp=function(e){t.removeWindowMousemoveListenerFn(),t.removeWindowTouchmoveListenerFn(),t.removeWindowMouseupListenerFn(),t.removeWindowTouchendListenerFn();var a=t.getValidItemFromEvent(e,t.initialItem);a&&(t.gridster.movingItem=a),t.gridster.options.emptyCellDragCallback&&t.gridster.movingItem&&t.gridster.options.emptyCellDragCallback(e,t.gridster.movingItem),setTimeout(function(){t.initialItem=null,t.gridster&&(t.gridster.movingItem=null,t.gridster.previewStyle())}),t.gridster.cdRef.markForCheck()}}return(0,y.Z)(o,[{key:"destroy",value:function(){this.gridster.previewStyle&&this.gridster.previewStyle(),this.gridster.movingItem=null,this.initialItem=this.gridster=null,this.removeDocumentDragendListenerFn&&(this.removeDocumentDragendListenerFn(),this.removeDocumentDragendListenerFn=null)}},{key:"updateOptions",value:function(){var t=this;this.gridster.$options.enableEmptyCellClick&&!this.removeEmptyCellClickListenerFn&&this.gridster.options.emptyCellClickCallback?(this.removeEmptyCellClickListenerFn=this.gridster.renderer.listen(this.gridster.el,"click",this.emptyCellClickCb),this.removeEmptyCellTouchendListenerFn=this.gridster.renderer.listen(this.gridster.el,"touchend",this.emptyCellClickCb)):!this.gridster.$options.enableEmptyCellClick&&this.removeEmptyCellClickListenerFn&&this.removeEmptyCellTouchendListenerFn&&(this.removeEmptyCellClickListenerFn(),this.removeEmptyCellTouchendListenerFn(),this.removeEmptyCellClickListenerFn=null,this.removeEmptyCellTouchendListenerFn=null),this.gridster.$options.enableEmptyCellContextMenu&&!this.removeEmptyCellContextMenuListenerFn&&this.gridster.options.emptyCellContextMenuCallback?this.removeEmptyCellContextMenuListenerFn=this.gridster.renderer.listen(this.gridster.el,"contextmenu",this.emptyCellContextMenuCb):!this.gridster.$options.enableEmptyCellContextMenu&&this.removeEmptyCellContextMenuListenerFn&&(this.removeEmptyCellContextMenuListenerFn(),this.removeEmptyCellContextMenuListenerFn=null),this.gridster.$options.enableEmptyCellDrop&&!this.removeEmptyCellDropListenerFn&&this.gridster.options.emptyCellDropCallback?(this.removeEmptyCellDropListenerFn=this.gridster.renderer.listen(this.gridster.el,"drop",this.emptyCellDragDrop),this.gridster.zone.runOutsideAngular(function(){t.removeEmptyCellDragoverListenerFn=t.gridster.renderer.listen(t.gridster.el,"dragover",t.emptyCellDragOver)}),this.removeDocumentDragendListenerFn=this.gridster.renderer.listen("document","dragend",function(){t.gridster.movingItem=null,t.gridster.previewStyle()})):!this.gridster.$options.enableEmptyCellDrop&&this.removeEmptyCellDropListenerFn&&this.removeEmptyCellDragoverListenerFn&&this.removeDocumentDragendListenerFn&&(this.removeEmptyCellDropListenerFn(),this.removeEmptyCellDragoverListenerFn(),this.removeDocumentDragendListenerFn(),this.removeEmptyCellDragoverListenerFn=null,this.removeEmptyCellDropListenerFn=null,this.removeDocumentDragendListenerFn=null),this.gridster.$options.enableEmptyCellDrag&&!this.removeEmptyCellMousedownListenerFn&&this.gridster.options.emptyCellDragCallback?(this.removeEmptyCellMousedownListenerFn=this.gridster.renderer.listen(this.gridster.el,"mousedown",this.emptyCellMouseDown),this.removeEmptyCellTouchstartListenerFn=this.gridster.renderer.listen(this.gridster.el,"touchstart",this.emptyCellMouseDown)):!this.gridster.$options.enableEmptyCellDrag&&this.removeEmptyCellMousedownListenerFn&&this.removeEmptyCellTouchstartListenerFn&&(this.removeEmptyCellMousedownListenerFn(),this.removeEmptyCellTouchstartListenerFn(),this.removeEmptyCellMousedownListenerFn=null,this.removeEmptyCellTouchstartListenerFn=null)}},{key:"getPixelsX",value:function(t,e){var a=this.gridster.options.scale;return a?(t.clientX-e.left)/a+this.gridster.el.scrollLeft-this.gridster.gridRenderer.getLeftMargin():t.clientX+this.gridster.el.scrollLeft-e.left-this.gridster.gridRenderer.getLeftMargin()}},{key:"getPixelsY",value:function(t,e){var a=this.gridster.options.scale;return a?(t.clientY-e.top)/a+this.gridster.el.scrollTop-this.gridster.gridRenderer.getTopMargin():t.clientY+this.gridster.el.scrollTop-e.top-this.gridster.gridRenderer.getTopMargin()}},{key:"getValidItemFromEvent",value:function(t,e){t.preventDefault(),t.stopPropagation(),Ma.checkTouchEvent(t);var a=this.gridster.el.getBoundingClientRect(),s=this.getPixelsX(t,a),u=this.getPixelsY(t,a),l={x:this.gridster.pixelsToPositionX(s,Math.floor,!0),y:this.gridster.pixelsToPositionY(u,Math.floor,!0),cols:this.gridster.$options.defaultItemCols,rows:this.gridster.$options.defaultItemRows};if(e&&(l.cols=Math.min(Math.abs(e.x-l.x)+1,this.gridster.$options.emptyCellDragMaxCols),l.rows=Math.min(Math.abs(e.y-l.y)+1,this.gridster.$options.emptyCellDragMaxRows),e.x<l.x?l.x=e.x:e.x-l.x>this.gridster.$options.emptyCellDragMaxCols-1&&(l.x=this.gridster.movingItem?this.gridster.movingItem.x:0),e.y<l.y?l.y=e.y:e.y-l.y>this.gridster.$options.emptyCellDragMaxRows-1&&(l.y=this.gridster.movingItem?this.gridster.movingItem.y:0)),this.gridster.$options.enableOccupiedCellDrop||!this.gridster.checkCollision(l))return l}}]),o}(),x9=function(){function o(n){(0,f.Z)(this,o),this.gridster=n,this.lastGridColumnStyles={},this.lastGridRowStyles={}}return(0,y.Z)(o,[{key:"destroy",value:function(){this.gridster=null}},{key:"updateItem",value:function(t,e,a){if(this.gridster.mobile)this.clearCellPosition(a,t),a.setStyle(t,"height",this.gridster.$options.keepFixedHeightInMobile?(e.rows-1)*this.gridster.$options.margin+e.rows*this.gridster.$options.fixedRowHeight+"px":e.rows*this.gridster.curWidth/e.cols+"px"),a.setStyle(t,"width",this.gridster.$options.keepFixedWidthInMobile?this.gridster.$options.fixedColWidth+"px":""),a.setStyle(t,"margin-bottom",this.gridster.$options.margin+"px"),a.setStyle(t,mi.LTR?"margin-right":"margin-left","");else{var s=Math.round(this.gridster.curColWidth*e.x),u=Math.round(this.gridster.curRowHeight*e.y),l=this.gridster.curColWidth*e.cols-this.gridster.$options.margin,c=this.gridster.curRowHeight*e.rows-this.gridster.$options.margin;this.setCellPosition(a,t,s,u),a.setStyle(t,"width",l+"px"),a.setStyle(t,"height",c+"px");var h=null,C=null;this.gridster.$options.outerMargin&&(this.gridster.rows===e.rows+e.y&&(h=null!==this.gridster.$options.outerMarginBottom?this.gridster.$options.outerMarginBottom+"px":this.gridster.$options.margin+"px"),this.gridster.columns===e.cols+e.x&&(C=null!==this.gridster.$options.outerMarginBottom?this.gridster.$options.outerMarginRight+"px":this.gridster.$options.margin+"px")),a.setStyle(t,"margin-bottom",h),a.setStyle(t,mi.LTR?"margin-right":"margin-left",C)}}},{key:"updateGridster",value:function(){var t="",e="",a="",s="";if(this.gridster.$options.gridType===Hn.Fit)t=Hn.Fit,e=Hn.ScrollVertical,a=Hn.ScrollHorizontal,s=Hn.Fixed;else if(this.gridster.$options.gridType===Hn.ScrollVertical)this.gridster.curRowHeight=this.gridster.curColWidth*this.gridster.$options.rowHeightRatio,t=Hn.ScrollVertical,e=Hn.Fit,a=Hn.ScrollHorizontal,s=Hn.Fixed;else if(this.gridster.$options.gridType===Hn.ScrollHorizontal){var u=this.gridster.$options.rowHeightRatio;this.gridster.curColWidth=this.gridster.curRowHeight*(u>=1?u:u+1),t=Hn.ScrollHorizontal,e=Hn.Fit,a=Hn.ScrollVertical,s=Hn.Fixed}else this.gridster.$options.gridType===Hn.Fixed?(this.gridster.curColWidth=this.gridster.$options.fixedColWidth+(this.gridster.$options.ignoreMarginInRow?0:this.gridster.$options.margin),this.gridster.curRowHeight=this.gridster.$options.fixedRowHeight+(this.gridster.$options.ignoreMarginInRow?0:this.gridster.$options.margin),t=Hn.Fixed,e=Hn.Fit,a=Hn.ScrollVertical,s=Hn.ScrollHorizontal):this.gridster.$options.gridType===Hn.VerticalFixed?(this.gridster.curRowHeight=this.gridster.$options.fixedRowHeight+(this.gridster.$options.ignoreMarginInRow?0:this.gridster.$options.margin),t=Hn.ScrollVertical,e=Hn.Fit,a=Hn.ScrollHorizontal,s=Hn.Fixed):this.gridster.$options.gridType===Hn.HorizontalFixed&&(this.gridster.curColWidth=this.gridster.$options.fixedColWidth+(this.gridster.$options.ignoreMarginInRow?0:this.gridster.$options.margin),t=Hn.ScrollHorizontal,e=Hn.Fit,a=Hn.ScrollVertical,s=Hn.Fixed);this.gridster.mobile||this.gridster.$options.setGridSize&&this.gridster.$options.gridType!==Hn.Fit?this.gridster.renderer.removeClass(this.gridster.el,t):this.gridster.renderer.addClass(this.gridster.el,t),this.gridster.renderer.removeClass(this.gridster.el,e),this.gridster.renderer.removeClass(this.gridster.el,a),this.gridster.renderer.removeClass(this.gridster.el,s)}},{key:"getGridColumnStyle",value:function(t){var e={left:this.gridster.curColWidth*t,width:this.gridster.curColWidth-this.gridster.$options.margin,height:this.gridster.gridRows.length*this.gridster.curRowHeight-this.gridster.$options.margin,style:{}};e.style=(0,b.Z)((0,b.Z)({},this.getLeftPosition(e.left)),{},{width:e.width+"px",height:e.height+"px"});var a=this.lastGridColumnStyles[t];return a&&a.left===e.left&&a.width===e.width&&a.height===e.height?a.style:(this.lastGridColumnStyles[t]=e,e.style)}},{key:"getGridRowStyle",value:function(t){var e={top:this.gridster.curRowHeight*t,width:this.gridster.gridColumns.length*this.gridster.curColWidth+this.gridster.$options.margin,height:this.gridster.curRowHeight-this.gridster.$options.margin,style:{}};e.style=(0,b.Z)((0,b.Z)({},this.getTopPosition(e.top)),{},{width:e.width+"px",height:e.height+"px"});var a=this.lastGridRowStyles[t];return a&&a.top===e.top&&a.width===e.width&&a.height===e.height?a.style:(this.lastGridRowStyles[t]=e,e.style)}},{key:"getLeftPosition",value:function(t){var e=this.gridster.$options.dirType===mi.RTL?-t:t;return this.gridster.$options.useTransformPositioning?{transform:"translateX("+e+"px)"}:{left:this.getLeftMargin()+e+"px"}}},{key:"getTopPosition",value:function(t){return this.gridster.$options.useTransformPositioning?{transform:"translateY("+t+"px)"}:{top:this.getTopMargin()+t+"px"}}},{key:"clearCellPosition",value:function(t,e){this.gridster.$options.useTransformPositioning?t.setStyle(e,"transform",""):(t.setStyle(e,"top",""),t.setStyle(e,"left",""))}},{key:"setCellPosition",value:function(t,e,a,s){var u=this.gridster.$options.dirType===mi.RTL?-a:a;this.gridster.$options.useTransformPositioning?t.setStyle(e,"transform","translate3d("+u+"px, "+s+"px, 0)"):(t.setStyle(e,"left",this.getLeftMargin()+u+"px"),t.setStyle(e,"top",this.getTopMargin()+s+"px"))}},{key:"getLeftMargin",value:function(){return this.gridster.$options.outerMargin?null!==this.gridster.$options.outerMarginLeft?this.gridster.$options.outerMarginLeft:this.gridster.$options.margin:0}},{key:"getTopMargin",value:function(){return this.gridster.$options.outerMargin?null!==this.gridster.$options.outerMarginTop?this.gridster.$options.outerMarginTop:this.gridster.$options.margin:0}}]),o}(),b9=function(){var o=function(){function n(t,e){(0,f.Z)(this,n),this.renderer=e,this.el=t.nativeElement}return(0,y.Z)(n,[{key:"ngOnInit",value:function(){var e=this;this.sub=this.previewStyle$.subscribe(function(a){return e.previewStyle(a)})}},{key:"ngOnDestroy",value:function(){this.sub&&this.sub.unsubscribe()}},{key:"previewStyle",value:function(e){e?(this.renderer.setStyle(this.el,"display","block"),this.gridRenderer.updateItem(this.el,e,this.renderer)):this.renderer.setStyle(this.el,"display","")}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.Renderer2))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["gridster-preview"]],inputs:{previewStyle$:"previewStyle$",gridRenderer:"gridRenderer"},standalone:!0,features:[r.\u0275\u0275StandaloneFeature],decls:0,vars:0,template:function(t,e){},styles:["gridster-preview{position:absolute;display:none;background:rgba(0,0,0,.15)}\n"],encapsulation:2}),o}(),BA=function(){var o=function(){function n(t,e,a,s){var u=this;(0,f.Z)(this,n),this.renderer=e,this.cdRef=a,this.zone=s,this.columns=0,this.rows=0,this.gridColumns=[],this.gridRows=[],this.previewStyle$=new r.EventEmitter,this.calculateLayout$=new ae.x,this.resize$=new ae.x,this.destroy$=new ae.x,this.optionsChanged=function(){u.setOptions();for(var l=u.grid.length-1;l>=0;l--)u.grid[l].updateOptions();u.calculateLayout()},this.onResize=function(){u.el.clientWidth&&(u.options.setGridSize&&(u.renderer.setStyle(u.el,"width",""),u.renderer.setStyle(u.el,"height","")),u.setGridSize(),u.calculateLayout())},this.getNextPossiblePosition=function(l){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};-1===l.cols&&(l.cols=u.$options.defaultItemCols),-1===l.rows&&(l.rows=u.$options.defaultItemRows),u.setGridDimensions();for(var C,h=c.y||0;h<u.rows;h++)for(l.y=h,C=c.x||0;C<u.columns;C++)if(l.x=C,!u.checkCollision(l))return!0;var T=u.$options.maxRows>=u.rows+l.rows;return!(u.rows<=u.columns&&T)&&u.$options.maxCols>=u.columns+l.cols?(l.x=u.columns,l.y=0,!0):!!T&&(l.y=u.rows,l.x=0,!0)},this.getFirstPossiblePosition=function(l){var c=Object.assign({},l);return u.getNextPossiblePosition(c),c},this.getLastPossiblePosition=function(l){var c={y:0,x:0};c=u.grid.reduce(function(C,T){var N={y:T.$item.y+T.$item.rows-1,x:T.$item.x+T.$item.cols-1};return 1===Ma.compareItems(C,N)?N:C},c);var h=Object.assign({},l);return u.getNextPossiblePosition(h,c),h},this.el=t.nativeElement,this.$options=JSON.parse(JSON.stringify(y9)),this.mobile=!1,this.curWidth=0,this.curHeight=0,this.grid=[],this.curColWidth=0,this.curRowHeight=0,this.dragInProgress=!1,this.emptyCell=new _9(this),this.compact=new v9(this),this.gridRenderer=new x9(this)}return(0,y.Z)(n,[{key:"checkCollisionTwoItems",value:function(e,a){if(!(e.x<a.x+a.cols&&e.x+e.cols>a.x&&e.y<a.y+a.rows&&e.y+e.rows>a.y))return!1;if(!this.$options.allowMultiLayer)return!0;var u=this.$options.defaultLayerIndex;return(void 0===e.layerIndex?u:e.layerIndex)===(void 0===a.layerIndex?u:a.layerIndex)}},{key:"ngOnInit",value:function(){var e=this;this.options.initCallback&&this.options.initCallback(this),this.calculateLayout$.pipe((0,Ar.b)(0),(0,Qr.R)(this.destroy$)).subscribe(function(){return e.calculateLayout()}),this.resize$.pipe((0,st.w)(function(){return(0,w3.H)(100)}),(0,Qr.R)(this.destroy$)).subscribe(function(){return e.resize()})}},{key:"ngOnChanges",value:function(e){var a=this;e.options&&(this.setOptions(),this.options.api={optionsChanged:this.optionsChanged,resize:this.onResize,getNextPossiblePosition:this.getNextPossiblePosition,getFirstPossiblePosition:this.getFirstPossiblePosition,getLastPossiblePosition:this.getLastPossiblePosition,getItemComponent:function(u){return a.getItemComponent(u)}},this.columns=this.$options.minCols,this.rows=this.$options.minRows+this.$options.addEmptyRowsCount,this.setGridSize(),this.calculateLayout())}},{key:"resize",value:function(){var e,a;"fit"!==this.$options.gridType||this.mobile?(a=this.el.clientWidth,e=this.el.clientHeight):(a=this.el.offsetWidth,e=this.el.offsetHeight),(a!==this.curWidth||e!==this.curHeight)&&this.checkIfToResize()&&this.onResize()}},{key:"setOptions",value:function(){this.$options=Ma.merge(this.$options,this.options,this.$options),this.$options.disableWindowResize||this.windowResize?this.$options.disableWindowResize&&this.windowResize&&(this.windowResize(),this.windowResize=null):this.windowResize=this.renderer.listen("window","resize",this.onResize),this.emptyCell.updateOptions()}},{key:"ngOnDestroy",value:function(){this.destroy$.next(),this.previewStyle$.complete(),this.windowResize&&this.windowResize(),this.options&&this.options.destroyCallback&&this.options.destroyCallback(this),this.options&&this.options.api&&(this.options.api.resize=void 0,this.options.api.optionsChanged=void 0,this.options.api.getNextPossiblePosition=void 0,this.options.api=void 0),this.emptyCell.destroy(),this.emptyCell=null,this.compact.destroy(),this.compact=null}},{key:"checkIfToResize",value:function(){var e=this.el.clientWidth,a=this.el.offsetWidth,s=this.el.scrollWidth,u=this.el.clientHeight,l=this.el.offsetHeight,c=this.el.scrollHeight;return!(e<a&&c>l&&c-l<a-e||u<l&&s>a&&s-a<l-u)}},{key:"checkIfMobile",value:function(){return this.$options.useBodyForBreakpoint?this.$options.mobileBreakpoint>document.body.clientWidth:this.$options.mobileBreakpoint>this.curWidth}},{key:"setGridSize",value:function(){var a,s,e=this.el;this.$options.setGridSize||this.$options.gridType===Hn.Fit&&!this.mobile?(a=e.offsetWidth,s=e.offsetHeight):(a=e.clientWidth,s=e.clientHeight),this.curWidth=a,this.curHeight=s}},{key:"setGridDimensions",value:function(){this.setGridSize(),!this.mobile&&this.checkIfMobile()?(this.mobile=!this.mobile,this.renderer.addClass(this.el,"mobile")):this.mobile&&!this.checkIfMobile()&&(this.mobile=!this.mobile,this.renderer.removeClass(this.el,"mobile"));for(var u,e=this.$options.minRows,a=this.$options.minCols,s=this.grid.length-1;s>=0;s--)(u=this.grid[s]).notPlaced||(e=Math.max(e,u.$item.y+u.$item.rows),a=Math.max(a,u.$item.x+u.$item.cols));e+=this.$options.addEmptyRowsCount,(this.columns!==a||this.rows!==e)&&(this.columns=a,this.rows=e,this.options.gridSizeChangedCallback&&this.options.gridSizeChangedCallback(this))}},{key:"calculateLayout",value:function(){if(this.compact&&this.compact.checkCompact(),this.setGridDimensions(),this.$options.outerMargin){var e=-this.$options.margin;null!==this.$options.outerMarginLeft?(e+=this.$options.outerMarginLeft,this.renderer.setStyle(this.el,"padding-left",this.$options.outerMarginLeft+"px")):(e+=this.$options.margin,this.renderer.setStyle(this.el,"padding-left",this.$options.margin+"px")),null!==this.$options.outerMarginRight?(e+=this.$options.outerMarginRight,this.renderer.setStyle(this.el,"padding-right",this.$options.outerMarginRight+"px")):(e+=this.$options.margin,this.renderer.setStyle(this.el,"padding-right",this.$options.margin+"px")),this.curColWidth=(this.curWidth-e)/this.columns;var a=-this.$options.margin;null!==this.$options.outerMarginTop?(a+=this.$options.outerMarginTop,this.renderer.setStyle(this.el,"padding-top",this.$options.outerMarginTop+"px")):(a+=this.$options.margin,this.renderer.setStyle(this.el,"padding-top",this.$options.margin+"px")),null!==this.$options.outerMarginBottom?(a+=this.$options.outerMarginBottom,this.renderer.setStyle(this.el,"padding-bottom",this.$options.outerMarginBottom+"px")):(a+=this.$options.margin,this.renderer.setStyle(this.el,"padding-bottom",this.$options.margin+"px")),this.curRowHeight=(this.curHeight-a)/this.rows*this.$options.rowHeightRatio}else this.curColWidth=(this.curWidth+this.$options.margin)/this.columns,this.curRowHeight=(this.curHeight+this.$options.margin)/this.rows*this.$options.rowHeightRatio,this.renderer.setStyle(this.el,"padding-left","0px"),this.renderer.setStyle(this.el,"padding-right","0px"),this.renderer.setStyle(this.el,"padding-top","0px"),this.renderer.setStyle(this.el,"padding-bottom","0px");this.gridRenderer.updateGridster(),this.$options.setGridSize?(this.renderer.addClass(this.el,"gridSize"),this.mobile||(this.renderer.setStyle(this.el,"width",this.columns*this.curColWidth+this.$options.margin+"px"),this.renderer.setStyle(this.el,"height",this.rows*this.curRowHeight+this.$options.margin+"px"))):(this.renderer.removeClass(this.el,"gridSize"),this.renderer.setStyle(this.el,"width",""),this.renderer.setStyle(this.el,"height","")),this.updateGrid();for(var u,s=this.grid.length-1;s>=0;s--)(u=this.grid[s]).setSize(),u.drag.toggle(),u.resize.toggle();this.resize$.next()}},{key:"updateGrid",value:function(){"always"!==this.$options.displayGrid||this.mobile?"onDrag&Resize"===this.$options.displayGrid&&this.dragInProgress?this.renderer.addClass(this.el,"display-grid"):("none"===this.$options.displayGrid||!this.dragInProgress||this.mobile)&&this.renderer.removeClass(this.el,"display-grid"):this.renderer.addClass(this.el,"display-grid"),this.setGridDimensions(),this.gridColumns.length=n.getNewArrayLength(this.columns,this.curWidth,this.curColWidth),this.gridRows.length=n.getNewArrayLength(this.rows,this.curHeight,this.curRowHeight),this.cdRef.markForCheck()}},{key:"addItem",value:function(e){void 0===e.$item.cols&&(e.$item.cols=this.$options.defaultItemCols,e.item.cols=e.$item.cols,e.itemChanged()),void 0===e.$item.rows&&(e.$item.rows=this.$options.defaultItemRows,e.item.rows=e.$item.rows,e.itemChanged()),-1===e.$item.x||-1===e.$item.y?this.autoPositionItem(e):this.checkCollision(e.$item)&&(this.$options.disableWarnings||(e.notPlaced=!0,console.warn("Can't be placed in the bounds of the dashboard, trying to auto position!/n"+JSON.stringify(e.item,["cols","rows","x","y"]))),this.$options.disableAutoPositionOnConflict?e.notPlaced=!0:this.autoPositionItem(e)),this.grid.push(e),this.calculateLayout$.next()}},{key:"removeItem",value:function(e){this.grid.splice(this.grid.indexOf(e),1),this.calculateLayout$.next(),this.options.itemRemovedCallback&&this.options.itemRemovedCallback(e.item,e)}},{key:"checkCollision",value:function(e){var a=!1;if(this.options.itemValidateCallback&&(a=!this.options.itemValidateCallback(e)),!a&&this.checkGridCollision(e)&&(a=!0),!a){var s=this.findItemWithItem(e);s&&(a=s)}return a}},{key:"checkGridCollision",value:function(e){var se=e.cols*e.rows;return!(e.y>-1&&e.x>-1&&e.cols+e.x<=this.$options.maxCols&&e.rows+e.y<=this.$options.maxRows&&e.cols<=(void 0===e.maxItemCols?this.$options.maxItemCols:e.maxItemCols)&&e.cols>=(void 0===e.minItemCols?this.$options.minItemCols:e.minItemCols)&&e.rows<=(void 0===e.maxItemRows?this.$options.maxItemRows:e.maxItemRows)&&e.rows>=(void 0===e.minItemRows?this.$options.minItemRows:e.minItemRows)&&(void 0===e.minItemArea?this.$options.minItemArea:e.minItemArea)<=se&&(void 0===e.maxItemArea?this.$options.maxItemArea:e.maxItemArea)>=se)}},{key:"findItemWithItem",value:function(e){for(var s,a=0;a<this.grid.length;a++)if((s=this.grid[a]).$item!==e&&this.checkCollisionTwoItems(s.$item,e))return s;return!1}},{key:"findItemsWithItem",value:function(e){for(var u,a=[],s=0;s<this.grid.length;s++)(u=this.grid[s]).$item!==e&&this.checkCollisionTwoItems(u.$item,e)&&a.push(u);return a}},{key:"autoPositionItem",value:function(e){this.getNextPossiblePosition(e.$item)?(e.notPlaced=!1,e.item.x=e.$item.x,e.item.y=e.$item.y,e.itemChanged()):(e.notPlaced=!0,this.$options.disableWarnings||console.warn("Can't be placed in the bounds of the dashboard!/n"+JSON.stringify(e.item,["cols","rows","x","y"])))}},{key:"pixelsToPositionX",value:function(e,a,s){var u=a(e/this.curColWidth);return s?u:Math.max(u,0)}},{key:"pixelsToPositionY",value:function(e,a,s){var u=a(e/this.curRowHeight);return s?u:Math.max(u,0)}},{key:"positionXToPixels",value:function(e){return e*this.curColWidth}},{key:"positionYToPixels",value:function(e){return e*this.curRowHeight}},{key:"getItemComponent",value:function(e){return this.grid.find(function(a){return a.item===e})}},{key:"checkCollisionForSwaping",value:function(e){var a=!1;if(this.options.itemValidateCallback&&(a=!this.options.itemValidateCallback(e)),!a&&this.checkGridCollision(e)&&(a=!0),!a){var s=this.findItemWithItemForSwapping(e);s&&(a=s)}return a}},{key:"findItemWithItemForSwapping",value:function(e){for(var s,a=this.grid.length-1;a>-1;a--)if((s=this.grid[a]).$item!==e&&n.checkCollisionTwoItemsForSwaping(s.$item,e))return s;return!1}},{key:"previewStyle",value:function(){this.movingItem?(this.compact&&arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.compact.checkCompactItem(this.movingItem),this.previewStyle$.next(this.movingItem)):this.previewStyle$.next(null)}}],[{key:"checkCollisionTwoItemsForSwaping",value:function(e,a){return e.x+(1===e.cols?0:1)<a.x+a.cols&&e.x+e.cols>a.x+(1===a.cols?0:1)&&e.y+(1===e.rows?0:1)<a.y+a.rows&&e.y+e.rows>a.y+(1===a.rows?0:1)}},{key:"getNewArrayLength",value:function(e,a,s){var u=Math.max(e,Math.floor(a/s));return u<0?0:Number.isFinite(u)?Math.floor(u):0}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.Renderer2),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(r.NgZone))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["gridster"]],inputs:{options:"options"},standalone:!0,features:[r.\u0275\u0275NgOnChangesFeature,r.\u0275\u0275StandaloneFeature],ngContentSelectors:aO,decls:4,vars:4,consts:[["class","gridster-column",3,"ngStyle",4,"ngFor","ngForOf"],["class","gridster-row",3,"ngStyle",4,"ngFor","ngForOf"],[1,"gridster-preview",3,"gridRenderer","previewStyle$"],[1,"gridster-column",3,"ngStyle"],[1,"gridster-row",3,"ngStyle"]],template:function(t,e){1&t&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275template(0,s9,1,1,"div",0),r.\u0275\u0275template(1,u9,1,1,"div",1),r.\u0275\u0275projection(2),r.\u0275\u0275element(3,"gridster-preview",2)),2&t&&(r.\u0275\u0275property("ngForOf",e.gridColumns),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",e.gridRows),r.\u0275\u0275advance(2),r.\u0275\u0275property("gridRenderer",e.gridRenderer)("previewStyle$",e.previewStyle$))},dependencies:[P.NgForOf,P.NgStyle,b9],styles:["gridster{position:relative;box-sizing:border-box;background:grey;width:100%;height:100%;-webkit-user-select:none;user-select:none;display:block}gridster.fit{overflow-x:hidden;overflow-y:hidden}gridster.scrollVertical{overflow-x:hidden;overflow-y:auto}gridster.scrollHorizontal{overflow-x:auto;overflow-y:hidden}gridster.fixed{overflow:auto}gridster.mobile{overflow-x:hidden;overflow-y:auto}gridster.mobile gridster-item{position:relative}gridster.gridSize{height:initial;width:initial}gridster.gridSize.fit{height:100%;width:100%}gridster .gridster-column,gridster .gridster-row{position:absolute;display:none;transition:.3s;box-sizing:border-box}gridster.display-grid .gridster-column,gridster.display-grid .gridster-row{display:block}gridster .gridster-column{border-left:1px solid white;border-right:1px solid white}gridster .gridster-row{border-top:1px solid white;border-bottom:1px solid white}\n"],encapsulation:2}),o}(),oO=function(){function o(n){(0,f.Z)(this,o),this.iteration=0,this.pushedItems=[],this.pushedItemsTemp=[],this.pushedItemsTempPath=[],this.pushedItemsPath=[],this.gridsterItem=n,this.gridster=n.gridster,this.tryPattern={fromEast:[this.tryWest,this.trySouth,this.tryNorth,this.tryEast],fromWest:[this.tryEast,this.trySouth,this.tryNorth,this.tryWest],fromNorth:[this.trySouth,this.tryEast,this.tryWest,this.tryNorth],fromSouth:[this.tryNorth,this.tryEast,this.tryWest,this.trySouth]},this.fromSouth="fromSouth",this.fromNorth="fromNorth",this.fromEast="fromEast",this.fromWest="fromWest"}return(0,y.Z)(o,[{key:"destroy",value:function(){this.gridster=this.gridsterItem=null}},{key:"pushItems",value:function(t,e){if(this.gridster.$options.pushItems&&!e){this.pushedItemsOrder=[],this.iteration=0;var a=this.push(this.gridsterItem,t);return a||this.restoreTempItems(),this.pushedItemsOrder=[],this.pushedItemsTemp=[],this.pushedItemsTempPath=[],a}return!1}},{key:"restoreTempItems",value:function(){for(var t=this.pushedItemsTemp.length-1;t>-1;t--)this.removeFromTempPushed(this.pushedItemsTemp[t])}},{key:"restoreItems",value:function(){for(var a,t=0,e=this.pushedItems.length;t<e;t++)(a=this.pushedItems[t]).$item.x=a.item.x||0,a.$item.y=a.item.y||0,a.setSize();this.pushedItems=[],this.pushedItemsPath=[]}},{key:"setPushedItems",value:function(){for(var a,t=0,e=this.pushedItems.length;t<e;t++)(a=this.pushedItems[t]).checkItemChanges(a.$item,a.item);this.pushedItems=[],this.pushedItemsPath=[]}},{key:"checkPushBack",value:function(){for(var t=this.pushedItems.length-1,e=!1;t>-1;t--)this.checkPushedItem(this.pushedItems[t],t)&&(e=!0);e&&this.checkPushBack()}},{key:"push",value:function(t,e){if(this.iteration>100)return console.warn("max iteration reached"),!1;if(this.gridster.checkGridCollision(t.$item)||""===e)return!1;var a=this.gridster.findItemsWithItem(t.$item),s=e===this.fromNorth||e===this.fromWest;a.sort(function(N,F){return s?F.$item.y-N.$item.y||F.$item.x-N.$item.x:N.$item.y-F.$item.y||N.$item.x-F.$item.x});for(var l,u=0,c=!0,h=[];u<a.length;u++)if((l=a[u])!==this.gridsterItem){if(!l.canBeDragged()){c=!1;break}var C=this.pushedItemsTemp.indexOf(l);if(C>-1&&this.pushedItemsTempPath[C].length>10){c=!1;break}if(this.tryPattern[e][0].call(this,l,t))this.pushedItemsOrder.push(l),h.push(l);else if(this.tryPattern[e][1].call(this,l,t))this.pushedItemsOrder.push(l),h.push(l);else if(this.tryPattern[e][2].call(this,l,t))this.pushedItemsOrder.push(l),h.push(l);else{if(!this.tryPattern[e][3].call(this,l,t)){c=!1;break}this.pushedItemsOrder.push(l),h.push(l)}}if(!c&&(u=this.pushedItemsOrder.lastIndexOf(h[0]))>-1)for(var T=this.pushedItemsOrder.length-1;T>=u;T--)l=this.pushedItemsOrder[T],this.pushedItemsOrder.pop(),this.removeFromTempPushed(l),this.removeFromPushedItem(l);return this.iteration++,c}},{key:"trySouth",value:function(t,e){return!!this.gridster.$options.pushDirections.south&&(this.addToTempPushed(t),t.$item.y=e.$item.y+e.$item.rows,this.push(t,this.fromNorth)?(t.setSize(),this.addToPushed(t),!0):(this.removeFromTempPushed(t),!1))}},{key:"tryNorth",value:function(t,e){return!!this.gridster.$options.pushDirections.north&&(this.addToTempPushed(t),t.$item.y=e.$item.y-t.$item.rows,this.push(t,this.fromSouth)?(t.setSize(),this.addToPushed(t),!0):(this.removeFromTempPushed(t),!1))}},{key:"tryEast",value:function(t,e){return!!this.gridster.$options.pushDirections.east&&(this.addToTempPushed(t),t.$item.x=e.$item.x+e.$item.cols,this.push(t,this.fromWest)?(t.setSize(),this.addToPushed(t),!0):(this.removeFromTempPushed(t),!1))}},{key:"tryWest",value:function(t,e){return!!this.gridster.$options.pushDirections.west&&(this.addToTempPushed(t),t.$item.x=e.$item.x-t.$item.cols,this.push(t,this.fromEast)?(t.setSize(),this.addToPushed(t),!0):(this.removeFromTempPushed(t),!1))}},{key:"addToTempPushed",value:function(t){var e=this.pushedItemsTemp.indexOf(t);-1===e&&(e=this.pushedItemsTemp.push(t)-1,this.pushedItemsTempPath[e]=[]),this.pushedItemsTempPath[e].push({x:t.$item.x,y:t.$item.y})}},{key:"removeFromTempPushed",value:function(t){var e=this.pushedItemsTemp.indexOf(t),a=this.pushedItemsTempPath[e].pop();a&&(t.$item.x=a.x,t.$item.y=a.y,t.setSize(),this.pushedItemsTempPath[e].length||(this.pushedItemsTemp.splice(e,1),this.pushedItemsTempPath.splice(e,1)))}},{key:"addToPushed",value:function(t){if(this.pushedItems.indexOf(t)<0)this.pushedItems.push(t),this.pushedItemsPath.push([{x:t.item.x||0,y:t.item.y||0},{x:t.$item.x,y:t.$item.y}]);else{var e=this.pushedItems.indexOf(t);this.pushedItemsPath[e].push({x:t.$item.x,y:t.$item.y})}}},{key:"removeFromPushed",value:function(t){t>-1&&(this.pushedItems.splice(t,1),this.pushedItemsPath.splice(t,1))}},{key:"removeFromPushedItem",value:function(t){var e=this.pushedItems.indexOf(t);e>-1&&(this.pushedItemsPath[e].pop(),this.pushedItemsPath.length||(this.pushedItems.splice(e,1),this.pushedItemsPath.splice(e,1)))}},{key:"checkPushedItem",value:function(t,e){for(var u,l,c,a=this.pushedItemsPath[e],s=a.length-2,h=!1;s>-1;s--)l=t.$item.x,c=t.$item.y,t.$item.x=(u=a[s]).x,t.$item.y=u.y,this.gridster.findItemWithItem(t.$item)?(t.$item.x=l,t.$item.y=c):(t.setSize(),a.splice(s+1,a.length-s-1),h=!0);return a.length<2&&this.removeFromPushed(e),h}}]),o}(),sO=50;function uO(o,n,t,e,a,s,u,l,c,h){c_=o.$options.scrollSensitivity,Ol=o.$options.scrollSpeed,d_=c,Bs=h;var C=(po=o.el).offsetWidth,N=po.scrollLeft,F=po.scrollTop,$=t-F,ue=s.clientX,ge=s.clientY;if(!o.$options.disableScrollVertical)if(u.clientY<ge&&po.offsetHeight+F-t-a<c_){if(hO(),d_&&Bs&&!Bs.south||h_)return;h_=lO(1,l,u)}else if(u.clientY>ge&&F>0&&$<c_){if(mO(),d_&&Bs&&!Bs.north||m_)return;m_=lO(-1,l,u)}else u.clientY!==ge&&LA();var we=n-N;if(!o.$options.disableScrollHorizontal)if(u.clientX<ue&&N+C-n-e<=c_){if(fO(),d_&&Bs&&!Bs.east||p_)return;p_=cO(1,l,u)}else if(u.clientX>ue&&N>0&&we<c_){if(pO(),d_&&Bs&&!Bs.west||f_)return;f_=cO(-1,l,u)}else u.clientX!==ue&&ZA()}function lO(o,n,t){var e=t.clientY;return window.setInterval(function(){(!po||-1===o&&po.scrollTop-Ol<0)&&LA(),po.scrollTop+=o*Ol,n({clientX:t.clientX,clientY:e+=o*Ol})},sO)}function cO(o,n,t){var e=t.clientX;return window.setInterval(function(){(!po||-1===o&&po.scrollLeft-Ol<0)&&ZA(),po.scrollLeft+=o*Ol,n({clientX:e+=o*Ol,clientY:t.clientY})},sO)}function dO(){ZA(),LA(),po=null}function ZA(){pO(),fO()}function LA(){hO(),mO()}function pO(){p_&&(clearInterval(p_),p_=0)}function fO(){f_&&(clearInterval(f_),f_=0)}function mO(){h_&&(clearInterval(h_),h_=0)}function hO(){m_&&(clearInterval(m_),m_=0)}var C9=function(){function o(n){(0,f.Z)(this,o),this.gridsterItem=n,this.gridster=n.gridster}return(0,y.Z)(o,[{key:"destroy",value:function(){this.gridster=this.gridsterItem=this.swapedItem=null}},{key:"swapItems",value:function(){this.gridster.$options.swap&&(this.checkSwapBack(),this.checkSwap(this.gridsterItem))}},{key:"checkSwapBack",value:function(){if(this.swapedItem){var t=this.swapedItem.$item.x,e=this.swapedItem.$item.y;this.swapedItem.$item.x=this.swapedItem.item.x||0,this.swapedItem.$item.y=this.swapedItem.item.y||0,this.gridster.checkCollision(this.swapedItem.$item)?(this.swapedItem.$item.x=t,this.swapedItem.$item.y=e):(this.swapedItem.setSize(),this.gridsterItem.$item.x=this.gridsterItem.item.x||0,this.gridsterItem.$item.y=this.gridsterItem.item.y||0,this.swapedItem=void 0)}}},{key:"restoreSwapItem",value:function(){this.swapedItem&&(this.swapedItem.$item.x=this.swapedItem.item.x||0,this.swapedItem.$item.y=this.swapedItem.item.y||0,this.swapedItem.setSize(),this.swapedItem=void 0)}},{key:"setSwapItem",value:function(){this.swapedItem&&(this.swapedItem.checkItemChanges(this.swapedItem.$item,this.swapedItem.item),this.swapedItem=void 0)}},{key:"checkSwap",value:function(t){var e;if((e=this.gridster.$options.swapWhileDragging?this.gridster.checkCollisionForSwaping(t.$item):this.gridster.checkCollision(t.$item))&&!0!==e&&e.canBeDragged()){var a=e,s=a.$item.x,u=a.$item.y,l=t.$item.x,c=t.$item.y,h=l-s,C=c-u;a.$item.x=t.item.x-h,a.$item.y=t.item.y-C,t.$item.x=a.item.x+h,t.$item.y=a.item.y+C,this.gridster.checkCollision(a.$item)||this.gridster.checkCollision(t.$item)?(t.$item.x=l,t.$item.y=c,a.$item.x=s,a.$item.y=u):(a.setSize(),this.swapedItem=a,this.gridster.$options.swapWhileDragging&&(this.gridsterItem.checkItemChanges(this.gridsterItem.$item,this.gridsterItem.item),this.setSwapItem()))}}}]),o}(),Ai=function(){return(Ai=Ai||{}).UP="UP",Ai.DOWN="DOWN",Ai.LEFT="LEFT",Ai.RIGHT="RIGHT",Ai}(),S9=function(){function o(n,t,e){var a=this;(0,f.Z)(this,o),this.zone=e,this.collision=!1,this.dragMove=function(s){s.stopPropagation(),s.preventDefault(),Ma.checkTouchEvent(s);var l,c,h,C,u=a.getDirections(s);a.gridster.options.enableBoundaryControl&&(u.includes(Ai.UP)&&a.gridsterItem.el.getBoundingClientRect().top<a.gridster.el.getBoundingClientRect().top+(null!==(l=a.outerMarginTop)&&void 0!==l?l:a.margin)&&(u=u.filter(function(T){return T!=Ai.UP}),s=new MouseEvent(s.type,{clientX:s.clientX,clientY:a.lastMouse.clientY})),u.includes(Ai.LEFT)&&a.gridsterItem.el.getBoundingClientRect().left<a.gridster.el.getBoundingClientRect().left+(null!==(c=a.outerMarginLeft)&&void 0!==c?c:a.margin)&&(u=u.filter(function(T){return T!=Ai.LEFT}),s=new MouseEvent(s.type,{clientX:a.lastMouse.clientX,clientY:s.clientY})),u.includes(Ai.RIGHT)&&a.gridsterItem.el.getBoundingClientRect().right>a.gridster.el.getBoundingClientRect().right-(null!==(h=a.outerMarginRight)&&void 0!==h?h:a.margin)&&(u=u.filter(function(T){return T!=Ai.RIGHT}),s=new MouseEvent(s.type,{clientX:a.lastMouse.clientX,clientY:s.clientY})),u.includes(Ai.DOWN)&&a.gridsterItem.el.getBoundingClientRect().bottom>a.gridster.el.getBoundingClientRect().bottom-(null!==(C=a.outerMarginBottom)&&void 0!==C?C:a.margin)&&(u=u.filter(function(T){return T!=Ai.DOWN}),s=new MouseEvent(s.type,{clientX:s.clientX,clientY:a.lastMouse.clientY}))),u.length&&(a.offsetLeft=a.gridster.el.scrollLeft-a.gridster.el.offsetLeft,a.offsetTop=a.gridster.el.scrollTop-a.gridster.el.offsetTop,uO(a.gridster,a.left,a.top,a.width,a.height,s,a.lastMouse,a.calculateItemPositionFromMousePosition),a.calculateItemPositionFromMousePosition(s))},this.calculateItemPositionFromMousePosition=function(s){a.gridster.options.scale?a.calculateItemPositionWithScale(s,a.gridster.options.scale):a.calculateItemPositionWithoutScale(s),a.calculateItemPosition(),a.lastMouse.clientX=s.clientX,a.lastMouse.clientY=s.clientY,a.zone.run(function(){a.gridster.updateGrid()})},this.dragStop=function(s){s.stopPropagation(),s.preventDefault(),dO(),a.cancelOnBlur(),a.mousemove(),a.mouseup(),a.mouseleave(),a.touchmove(),a.touchend(),a.touchcancel(),a.gridsterItem.renderer.removeClass(a.gridsterItem.el,"gridster-item-moving"),a.gridster.dragInProgress=!1,a.gridster.updateGrid(),a.path=[],a.gridster.options.draggable&&a.gridster.options.draggable.stop?Promise.resolve(a.gridster.options.draggable.stop(a.gridsterItem.item,a.gridsterItem,s)).then(a.makeDrag,a.cancelDrag):a.makeDrag(),setTimeout(function(){a.gridster&&(a.gridster.movingItem=null,a.gridster.previewStyle(!0))})},this.cancelDrag=function(){a.gridsterItem.$item.x=a.gridsterItem.item.x||0,a.gridsterItem.$item.y=a.gridsterItem.item.y||0,a.gridsterItem.setSize(),a.push&&a.push.restoreItems(),a.swap&&a.swap.restoreSwapItem(),a.push&&(a.push.destroy(),a.push=null),a.swap&&(a.swap.destroy(),a.swap=null)},this.makeDrag=function(){a.gridster.$options.draggable.dropOverItems&&a.gridster.options.draggable&&a.gridster.options.draggable.dropOverItemsCallback&&a.collision&&!0!==a.collision&&a.collision.$item&&a.gridster.options.draggable.dropOverItemsCallback(a.gridsterItem.item,a.collision.item,a.gridster),a.collision=!1,a.gridsterItem.setSize(),a.gridsterItem.checkItemChanges(a.gridsterItem.$item,a.gridsterItem.item),a.push&&a.push.setPushedItems(),a.swap&&a.swap.setSwapItem(),a.push&&(a.push.destroy(),a.push=null),a.swap&&(a.swap.destroy(),a.swap=null)},this.dragStartDelay=function(s){if(!s.target.classList.contains("gridster-item-resizable-handler")&&!Ma.checkContentClassForEvent(a.gridster,s))if(Ma.checkTouchEvent(s),a.gridster.$options.draggable.delayStart)var l=setTimeout(function(){a.dragStart(s),se()},a.gridster.$options.draggable.delayStart),c=a.gridsterItem.renderer.listen("document","mouseup",se),h=a.gridsterItem.renderer.listen("document","mouseleave",se),C=a.gridsterItem.renderer.listen("window","blur",se),T=a.gridsterItem.renderer.listen("document","touchmove",function $(ue){Ma.checkTouchEvent(ue),(Math.abs(ue.clientX-s.clientX)>9||Math.abs(ue.clientY-s.clientY)>9)&&se()}),N=a.gridsterItem.renderer.listen("document","touchend",se),F=a.gridsterItem.renderer.listen("document","touchcancel",se);else a.dragStart(s);function se(){clearTimeout(l),C(),c(),h(),T(),N(),F()}},this.gridsterItem=n,this.gridster=t,this.lastMouse={clientX:0,clientY:0},this.path=[]}return(0,y.Z)(o,[{key:"destroy",value:function(){this.gridster.previewStyle&&this.gridster.previewStyle(!0),this.gridsterItem=this.gridster=this.collision=null,this.mousedown&&(this.mousedown(),this.touchstart())}},{key:"dragStart",value:function(t){var e=this;t.which&&1!==t.which||(this.gridster.options.draggable&&this.gridster.options.draggable.start&&this.gridster.options.draggable.start(this.gridsterItem.item,this.gridsterItem,t),t.stopPropagation(),t.preventDefault(),this.zone.runOutsideAngular(function(){e.mousemove=e.gridsterItem.renderer.listen("document","mousemove",e.dragMove),e.touchmove=e.gridster.renderer.listen(e.gridster.el,"touchmove",e.dragMove)}),this.mouseup=this.gridsterItem.renderer.listen("document","mouseup",this.dragStop),this.mouseleave=this.gridsterItem.renderer.listen("document","mouseleave",this.dragStop),this.cancelOnBlur=this.gridsterItem.renderer.listen("window","blur",this.dragStop),this.touchend=this.gridsterItem.renderer.listen("document","touchend",this.dragStop),this.touchcancel=this.gridsterItem.renderer.listen("document","touchcancel",this.dragStop),this.gridsterItem.renderer.addClass(this.gridsterItem.el,"gridster-item-moving"),this.margin=this.gridster.$options.margin,this.outerMarginTop=this.gridster.$options.outerMarginTop,this.outerMarginRight=this.gridster.$options.outerMarginRight,this.outerMarginBottom=this.gridster.$options.outerMarginBottom,this.outerMarginLeft=this.gridster.$options.outerMarginLeft,this.offsetLeft=this.gridster.el.scrollLeft-this.gridster.el.offsetLeft,this.offsetTop=this.gridster.el.scrollTop-this.gridster.el.offsetTop,this.left=this.gridsterItem.left-this.margin,this.top=this.gridsterItem.top-this.margin,this.originalClientX=t.clientX,this.originalClientY=t.clientY,this.width=this.gridsterItem.width,this.height=this.gridsterItem.height,this.diffLeft=this.gridster.$options.dirType===mi.RTL?t.clientX-this.gridster.el.scrollWidth+this.gridsterItem.left:t.clientX+this.offsetLeft-this.margin-this.left,this.diffTop=t.clientY+this.offsetTop-this.margin-this.top,this.gridster.movingItem=this.gridsterItem.$item,this.gridster.previewStyle(!0),this.push=new oO(this.gridsterItem),this.swap=new C9(this.gridsterItem),this.gridster.dragInProgress=!0,this.gridster.updateGrid(),this.path.push({x:this.gridsterItem.item.x||0,y:this.gridsterItem.item.y||0}))}},{key:"calculateItemPositionWithScale",value:function(t,e){this.left=this.gridster.$options.dirType===mi.RTL?this.gridster.el.scrollWidth-this.originalClientX+(t.clientX-this.originalClientX)/e+this.diffLeft:this.originalClientX+(t.clientX-this.originalClientX)/e+this.offsetLeft-this.diffLeft,this.top=this.originalClientY+(t.clientY-this.originalClientY)/e+this.offsetTop-this.diffTop}},{key:"calculateItemPositionWithoutScale",value:function(t){this.left=this.gridster.$options.dirType===mi.RTL?this.gridster.el.scrollWidth-t.clientX+this.diffLeft:t.clientX+this.offsetLeft-this.diffLeft,this.top=t.clientY+this.offsetTop-this.diffTop}},{key:"calculateItemPosition",value:function(){if(this.gridster.movingItem=this.gridsterItem.$item,this.positionX=this.gridster.pixelsToPositionX(this.left,Math.round),this.positionY=this.gridster.pixelsToPositionY(this.top,Math.round),this.positionXBackup=this.gridsterItem.$item.x,this.positionYBackup=this.gridsterItem.$item.y,this.gridsterItem.$item.x=this.positionX,this.gridster.checkGridCollision(this.gridsterItem.$item)&&(this.gridsterItem.$item.x=this.positionXBackup),this.gridsterItem.$item.y=this.positionY,this.gridster.checkGridCollision(this.gridsterItem.$item)&&(this.gridsterItem.$item.y=this.positionYBackup),this.gridster.gridRenderer.setCellPosition(this.gridsterItem.renderer,this.gridsterItem.el,this.left,this.top),this.positionXBackup!==this.gridsterItem.$item.x||this.positionYBackup!==this.gridsterItem.$item.y){var t=this.path[this.path.length-1],e="";t.x<this.gridsterItem.$item.x?e=this.push.fromWest:t.x>this.gridsterItem.$item.x?e=this.push.fromEast:t.y<this.gridsterItem.$item.y?e=this.push.fromNorth:t.y>this.gridsterItem.$item.y&&(e=this.push.fromSouth),this.push.pushItems(e,this.gridster.$options.disablePushOnDrag),this.swap.swapItems(),this.collision=this.gridster.checkCollision(this.gridsterItem.$item),this.collision?(this.gridsterItem.$item.x=this.positionXBackup,this.gridsterItem.$item.y=this.positionYBackup,this.gridster.$options.draggable.dropOverItems&&!0!==this.collision&&this.collision.$item&&(this.gridster.movingItem=null)):this.path.push({x:this.gridsterItem.$item.x,y:this.gridsterItem.$item.y}),this.push.checkPushBack()}else this.collision=!1;this.gridster.previewStyle(!0)}},{key:"toggle",value:function(){var t=this.gridsterItem.canBeDragged();!this.enabled&&t?(this.enabled=!this.enabled,this.mousedown=this.gridsterItem.renderer.listen(this.gridsterItem.el,"mousedown",this.dragStartDelay),this.touchstart=this.gridsterItem.renderer.listen(this.gridsterItem.el,"touchstart",this.dragStartDelay)):this.enabled&&!t&&(this.enabled=!this.enabled,this.mousedown(),this.touchstart())}},{key:"getDirections",value:function(t){var e=[];return 0===this.lastMouse.clientX&&0===this.lastMouse.clientY&&(this.lastMouse.clientY=t.clientY,this.lastMouse.clientX=t.clientX),this.lastMouse.clientY>t.clientY&&e.push(Ai.UP),this.lastMouse.clientY<t.clientY&&e.push(Ai.DOWN),this.lastMouse.clientX<t.clientX&&e.push(Ai.RIGHT),this.lastMouse.clientX>t.clientX&&e.push(Ai.LEFT),e}}]),o}(),E9=function(){function o(n){(0,f.Z)(this,o),this.pushedItems=[],this.pushedItemsPath=[],this.gridsterItem=n,this.gridster=n.gridster,this.tryPattern={fromEast:this.tryWest,fromWest:this.tryEast,fromNorth:this.trySouth,fromSouth:this.tryNorth},this.fromSouth="fromSouth",this.fromNorth="fromNorth",this.fromEast="fromEast",this.fromWest="fromWest"}return(0,y.Z)(o,[{key:"destroy",value:function(){this.gridster=this.gridsterItem=null}},{key:"pushItems",value:function(t){return!!this.gridster.$options.pushResizeItems&&this.push(this.gridsterItem,t)}},{key:"restoreItems",value:function(){for(var a,t=0,e=this.pushedItems.length;t<e;t++)(a=this.pushedItems[t]).$item.x=a.item.x||0,a.$item.y=a.item.y||0,a.$item.cols=a.item.cols||1,a.$item.row=a.item.row||1,a.setSize();this.pushedItems=[],this.pushedItemsPath=[]}},{key:"setPushedItems",value:function(){for(var a,t=0,e=this.pushedItems.length;t<e;t++)(a=this.pushedItems[t]).checkItemChanges(a.$item,a.item);this.pushedItems=[],this.pushedItemsPath=[]}},{key:"checkPushBack",value:function(){for(var t=this.pushedItems.length-1,e=!1;t>-1;t--)this.checkPushedItem(this.pushedItems[t],t)&&(e=!0);e&&this.checkPushBack()}},{key:"push",value:function(t,e){var a=this.gridster.checkCollision(t.$item);if(a&&!0!==a&&a!==this.gridsterItem&&a.canBeResized()){if(this.tryPattern[e].call(this,a,t,e))return!0}else if(!1===a)return!0;return!1}},{key:"trySouth",value:function(t,e,a){var s=t.$item.y,u=t.$item.rows;return t.$item.y=e.$item.y+e.$item.rows,t.$item.rows=u+s-t.$item.y,this.gridster.checkCollisionTwoItems(t.$item,e.$item)||this.gridster.checkGridCollision(t.$item)?(t.$item.y=s,t.$item.rows=u,!1):(t.setSize(),this.addToPushed(t),this.push(e,a),!0)}},{key:"tryNorth",value:function(t,e,a){var s=t.$item.rows;return t.$item.rows=e.$item.y-t.$item.y,this.gridster.checkCollisionTwoItems(t.$item,e.$item)||this.gridster.checkGridCollision(t.$item)?(t.$item.rows=s,!1):(t.setSize(),this.addToPushed(t),this.push(e,a),!0)}},{key:"tryEast",value:function(t,e,a){var s=t.$item.x,u=t.$item.cols;return t.$item.x=e.$item.x+e.$item.cols,t.$item.cols=u+s-t.$item.x,this.gridster.checkCollisionTwoItems(t.$item,e.$item)||this.gridster.checkGridCollision(t.$item)?(t.$item.x=s,t.$item.cols=u,!1):(t.setSize(),this.addToPushed(t),this.push(e,a),!0)}},{key:"tryWest",value:function(t,e,a){var s=t.$item.cols;return t.$item.cols=e.$item.x-t.$item.x,this.gridster.checkCollisionTwoItems(t.$item,e.$item)||this.gridster.checkGridCollision(t.$item)?(t.$item.cols=s,!1):(t.setSize(),this.addToPushed(t),this.push(e,a),!0)}},{key:"addToPushed",value:function(t){if(this.pushedItems.indexOf(t)<0)this.pushedItems.push(t),this.pushedItemsPath.push([{x:t.item.x||0,y:t.item.y||0,cols:t.item.cols||0,rows:t.item.rows||0},{x:t.$item.x,y:t.$item.y,cols:t.$item.cols,rows:t.$item.rows}]);else{var e=this.pushedItems.indexOf(t);this.pushedItemsPath[e].push({x:t.$item.x,y:t.$item.y,cols:t.$item.cols,rows:t.$item.rows})}}},{key:"removeFromPushed",value:function(t){t>-1&&(this.pushedItems.splice(t,1),this.pushedItemsPath.splice(t,1))}},{key:"checkPushedItem",value:function(t,e){for(var u,l,c,h,C,a=this.pushedItemsPath[e],s=a.length-2;s>-1;s--)l=t.$item.x,c=t.$item.y,h=t.$item.cols,C=t.$item.rows,t.$item.x=(u=a[s]).x,t.$item.y=u.y,t.$item.cols=u.cols,t.$item.rows=u.rows,this.gridster.findItemWithItem(t.$item)?(t.$item.x=l,t.$item.y=c,t.$item.cols=h,t.$item.rows=C):(t.setSize(),a.splice(s+1,a.length-1-s));return a.length<2&&(this.removeFromPushed(e),!0)}}]),o}(),P9=function(){function o(n,t,e){var a=this;(0,f.Z)(this,o),this.zone=e,this.directionFunction=null,this.dragMove=function(s){if(null===a.directionFunction)throw new Error("The `directionFunction` has not been set before calling `dragMove`.");s.stopPropagation(),s.preventDefault(),Ma.checkTouchEvent(s),a.offsetTop=a.gridster.el.scrollTop-a.gridster.el.offsetTop,a.offsetLeft=a.gridster.el.scrollLeft-a.gridster.el.offsetLeft,uO(a.gridster,a.left,a.top,a.width,a.height,s,a.lastMouse,a.directionFunction,!0,a.resizeEventScrollType);var u=a.gridster.options.scale||1;a.directionFunction({clientX:a.originalClientX+(s.clientX-a.originalClientX)/u,clientY:a.originalClientY+(s.clientY-a.originalClientY)/u}),a.lastMouse.clientX=s.clientX,a.lastMouse.clientY=s.clientY,a.zone.run(function(){a.gridster.updateGrid()})},this.dragStop=function(s){s.stopPropagation(),s.preventDefault(),dO(),a.mousemove(),a.mouseup(),a.mouseleave(),a.cancelOnBlur(),a.touchmove(),a.touchend(),a.touchcancel(),a.gridster.dragInProgress=!1,a.gridster.updateGrid(),a.gridster.options.resizable&&a.gridster.options.resizable.stop?Promise.resolve(a.gridster.options.resizable.stop(a.gridsterItem.item,a.gridsterItem,s)).then(a.makeResize,a.cancelResize):a.makeResize(),setTimeout(function(){a.gridsterItem.renderer.removeClass(a.gridsterItem.el,"gridster-item-resizing"),a.gridster&&(a.gridster.movingItem=null,a.gridster.previewStyle())})},this.cancelResize=function(){a.gridsterItem.$item.cols=a.gridsterItem.item.cols||1,a.gridsterItem.$item.rows=a.gridsterItem.item.rows||1,a.gridsterItem.$item.x=a.gridsterItem.item.x||0,a.gridsterItem.$item.y=a.gridsterItem.item.y||0,a.gridsterItem.setSize(),a.push.restoreItems(),a.pushResize.restoreItems(),a.push.destroy(),a.push=null,a.pushResize.destroy(),a.pushResize=null},this.makeResize=function(){a.gridsterItem.setSize(),a.gridsterItem.checkItemChanges(a.gridsterItem.$item,a.gridsterItem.item),a.push.setPushedItems(),a.pushResize.setPushedItems(),a.push.destroy(),a.push=null,a.pushResize.destroy(),a.pushResize=null},this.handleNorth=function(s){if(a.top=s.clientY+a.offsetTop-a.diffTop,a.height=a.bottom-a.top,a.minHeight>a.height?(a.height=a.minHeight,a.top=a.bottom-a.minHeight):a.gridster.options.enableBoundaryControl&&(a.top=Math.max(0,a.top),a.height=a.bottom-a.top),a.newPosition=a.gridster.pixelsToPositionY(a.top+(a.gridster.options.pushItems?a.margin:0),Math.floor),a.gridsterItem.$item.y!==a.newPosition){if(a.itemBackup[1]=a.gridsterItem.$item.y,a.itemBackup[3]=a.gridsterItem.$item.rows,a.gridsterItem.$item.rows+=a.gridsterItem.$item.y-a.newPosition,a.gridsterItem.$item.y=a.newPosition,a.pushResize.pushItems(a.pushResize.fromSouth),a.push.pushItems(a.push.fromSouth,a.gridster.$options.disablePushOnResize),a.gridster.checkCollision(a.gridsterItem.$item))return a.gridsterItem.$item.y=a.itemBackup[1],a.gridsterItem.$item.rows=a.itemBackup[3],a.top=a.gridster.positionYToPixels(a.gridsterItem.$item.y),a.setItemTop(a.gridster.positionYToPixels(a.gridsterItem.$item.y)),void a.setItemHeight(a.gridster.positionYToPixels(a.gridsterItem.$item.rows)-a.margin);a.gridster.previewStyle(),a.pushResize.checkPushBack(),a.push.checkPushBack()}a.setItemTop(a.top),a.setItemHeight(a.height)},this.handleWest=function(s){if(a.left=(a.gridster.$options.dirType===mi.RTL?a.originalClientX+(a.originalClientX-s.clientX):s.clientX)+a.offsetLeft-a.diffLeft,a.width=a.right-a.left,a.minWidth>a.width?(a.width=a.minWidth,a.left=a.right-a.minWidth):a.gridster.options.enableBoundaryControl&&(a.left=Math.max(0,a.left),a.width=a.right-a.left),a.newPosition=a.gridster.pixelsToPositionX(a.left+(a.gridster.options.pushItems?a.margin:0),Math.floor),a.gridsterItem.$item.x!==a.newPosition){if(a.itemBackup[0]=a.gridsterItem.$item.x,a.itemBackup[2]=a.gridsterItem.$item.cols,a.gridsterItem.$item.cols+=a.gridsterItem.$item.x-a.newPosition,a.gridsterItem.$item.x=a.newPosition,a.pushResize.pushItems(a.pushResize.fromEast),a.push.pushItems(a.push.fromEast,a.gridster.$options.disablePushOnResize),a.gridster.checkCollision(a.gridsterItem.$item))return a.gridsterItem.$item.x=a.itemBackup[0],a.gridsterItem.$item.cols=a.itemBackup[2],a.left=a.gridster.positionXToPixels(a.gridsterItem.$item.x),a.setItemLeft(a.gridster.positionXToPixels(a.gridsterItem.$item.x)),void a.setItemWidth(a.gridster.positionXToPixels(a.gridsterItem.$item.cols)-a.margin);a.gridster.previewStyle(),a.pushResize.checkPushBack(),a.push.checkPushBack()}a.setItemLeft(a.left),a.setItemWidth(a.width)},this.handleSouth=function(s){if(a.height=s.clientY+a.offsetTop-a.diffBottom-a.top,a.minHeight>a.height&&(a.height=a.minHeight),a.bottom=a.top+a.height,a.gridster.options.enableBoundaryControl){var u,l=null!==(u=a.outerMarginBottom)&&void 0!==u?u:a.margin,c=a.gridster.el.getBoundingClientRect();a.bottom=Math.min(a.bottom,c.bottom-c.top-2*l),a.height=a.bottom-a.top}if(a.newPosition=a.gridster.pixelsToPositionY(a.bottom+(a.gridster.options.pushItems?0:a.margin),Math.ceil),a.gridsterItem.$item.y+a.gridsterItem.$item.rows!==a.newPosition){if(a.itemBackup[3]=a.gridsterItem.$item.rows,a.gridsterItem.$item.rows=a.newPosition-a.gridsterItem.$item.y,a.pushResize.pushItems(a.pushResize.fromNorth),a.push.pushItems(a.push.fromNorth,a.gridster.$options.disablePushOnResize),a.gridster.checkCollision(a.gridsterItem.$item))return a.gridsterItem.$item.rows=a.itemBackup[3],void a.setItemHeight(a.gridster.positionYToPixels(a.gridsterItem.$item.rows)-a.margin);a.gridster.previewStyle(),a.pushResize.checkPushBack(),a.push.checkPushBack()}a.setItemHeight(a.height)},this.handleEast=function(s){if(a.width=(a.gridster.$options.dirType===mi.RTL?a.originalClientX+(a.originalClientX-s.clientX):s.clientX)+a.offsetLeft-a.diffRight-a.left,a.minWidth>a.width&&(a.width=a.minWidth),a.right=a.left+a.width,a.gridster.options.enableBoundaryControl){var l,c=null!==(l=a.outerMarginRight)&&void 0!==l?l:a.margin,h=a.gridster.el.getBoundingClientRect();a.right=Math.min(a.right,h.right-h.left-2*c),a.width=a.right-a.left}if(a.newPosition=a.gridster.pixelsToPositionX(a.right+(a.gridster.options.pushItems?0:a.margin),Math.ceil),a.gridsterItem.$item.x+a.gridsterItem.$item.cols!==a.newPosition){if(a.itemBackup[2]=a.gridsterItem.$item.cols,a.gridsterItem.$item.cols=a.newPosition-a.gridsterItem.$item.x,a.pushResize.pushItems(a.pushResize.fromWest),a.push.pushItems(a.push.fromWest,a.gridster.$options.disablePushOnResize),a.gridster.checkCollision(a.gridsterItem.$item))return a.gridsterItem.$item.cols=a.itemBackup[2],void a.setItemWidth(a.gridster.positionXToPixels(a.gridsterItem.$item.cols)-a.margin);a.gridster.previewStyle(),a.pushResize.checkPushBack(),a.push.checkPushBack()}a.setItemWidth(a.width)},this.handleNorthWest=function(s){a.handleNorth(s),a.handleWest(s)},this.handleNorthEast=function(s){a.handleNorth(s),a.handleEast(s)},this.handleSouthWest=function(s){a.handleSouth(s),a.handleWest(s)},this.handleSouthEast=function(s){a.handleSouth(s),a.handleEast(s)},this.gridsterItem=n,this.gridster=t,this.lastMouse={clientX:0,clientY:0},this.itemBackup=[0,0,0,0],this.resizeEventScrollType={west:!1,east:!1,north:!1,south:!1}}return(0,y.Z)(o,[{key:"destroy",value:function(){var t;null===(t=this.gridster)||void 0===t||t.previewStyle(),this.gridster=this.gridsterItem=null}},{key:"dragStart",value:function(t){var e=this;if(!t.which||1===t.which){this.gridster.options.resizable&&this.gridster.options.resizable.start&&this.gridster.options.resizable.start(this.gridsterItem.item,this.gridsterItem,t),t.stopPropagation(),t.preventDefault(),this.zone.runOutsideAngular(function(){e.mousemove=e.gridsterItem.renderer.listen("document","mousemove",e.dragMove),e.touchmove=e.gridster.renderer.listen(e.gridster.el,"touchmove",e.dragMove)}),this.mouseup=this.gridsterItem.renderer.listen("document","mouseup",this.dragStop),this.mouseleave=this.gridsterItem.renderer.listen("document","mouseleave",this.dragStop),this.cancelOnBlur=this.gridsterItem.renderer.listen("window","blur",this.dragStop),this.touchend=this.gridsterItem.renderer.listen("document","touchend",this.dragStop),this.touchcancel=this.gridsterItem.renderer.listen("document","touchcancel",this.dragStop),this.gridsterItem.renderer.addClass(this.gridsterItem.el,"gridster-item-resizing"),this.lastMouse.clientX=t.clientX,this.lastMouse.clientY=t.clientY,this.left=this.gridsterItem.left,this.top=this.gridsterItem.top,this.originalClientX=t.clientX,this.originalClientY=t.clientY,this.width=this.gridsterItem.width,this.height=this.gridsterItem.height,this.bottom=this.gridsterItem.top+this.gridsterItem.height,this.right=this.gridsterItem.left+this.gridsterItem.width,this.margin=this.gridster.$options.margin,this.outerMarginTop=this.gridster.$options.outerMarginTop,this.outerMarginRight=this.gridster.$options.outerMarginRight,this.outerMarginBottom=this.gridster.$options.outerMarginBottom,this.outerMarginLeft=this.gridster.$options.outerMarginLeft,this.offsetLeft=this.gridster.el.scrollLeft-this.gridster.el.offsetLeft,this.offsetTop=this.gridster.el.scrollTop-this.gridster.el.offsetTop,this.diffLeft=t.clientX+this.offsetLeft-this.left,this.diffRight=t.clientX+this.offsetLeft-this.right,this.diffTop=t.clientY+this.offsetTop-this.top,this.diffBottom=t.clientY+this.offsetTop-this.bottom,this.minHeight=this.gridster.positionYToPixels(this.gridsterItem.$item.minItemRows||this.gridster.$options.minItemRows)-this.margin,this.minWidth=this.gridster.positionXToPixels(this.gridsterItem.$item.minItemCols||this.gridster.$options.minItemCols)-this.margin,this.gridster.movingItem=this.gridsterItem.$item,this.gridster.previewStyle(),this.push=new oO(this.gridsterItem),this.pushResize=new E9(this.gridsterItem),this.gridster.dragInProgress=!0,this.gridster.updateGrid();var a=t.target.classList;a.contains("handle-n")?(this.resizeEventScrollType.north=!0,this.directionFunction=this.handleNorth):a.contains("handle-w")?this.gridster.$options.dirType===mi.RTL?(this.resizeEventScrollType.east=!0,this.directionFunction=this.handleEast):(this.resizeEventScrollType.west=!0,this.directionFunction=this.handleWest):a.contains("handle-s")?(this.resizeEventScrollType.south=!0,this.directionFunction=this.handleSouth):a.contains("handle-e")?this.gridster.$options.dirType===mi.RTL?(this.resizeEventScrollType.west=!0,this.directionFunction=this.handleWest):(this.resizeEventScrollType.east=!0,this.directionFunction=this.handleEast):a.contains("handle-nw")?this.gridster.$options.dirType===mi.RTL?(this.resizeEventScrollType.north=!0,this.resizeEventScrollType.east=!0,this.directionFunction=this.handleNorthEast):(this.resizeEventScrollType.north=!0,this.resizeEventScrollType.west=!0,this.directionFunction=this.handleNorthWest):a.contains("handle-ne")?this.gridster.$options.dirType===mi.RTL?(this.resizeEventScrollType.north=!0,this.resizeEventScrollType.west=!0,this.directionFunction=this.handleNorthWest):(this.resizeEventScrollType.north=!0,this.resizeEventScrollType.east=!0,this.directionFunction=this.handleNorthEast):a.contains("handle-sw")?this.gridster.$options.dirType===mi.RTL?(this.resizeEventScrollType.south=!0,this.resizeEventScrollType.east=!0,this.directionFunction=this.handleSouthEast):(this.resizeEventScrollType.south=!0,this.resizeEventScrollType.west=!0,this.directionFunction=this.handleSouthWest):a.contains("handle-se")&&(this.gridster.$options.dirType===mi.RTL?(this.resizeEventScrollType.south=!0,this.resizeEventScrollType.west=!0,this.directionFunction=this.handleSouthWest):(this.resizeEventScrollType.south=!0,this.resizeEventScrollType.east=!0,this.directionFunction=this.handleSouthEast))}}},{key:"toggle",value:function(){this.resizeEnabled=this.gridsterItem.canBeResized(),this.resizableHandles=this.gridsterItem.getResizableHandles()}},{key:"dragStartDelay",value:function(t){var e=this;if(Ma.checkTouchEvent(t),this.gridster.$options.resizable.delayStart)var a=setTimeout(function(){e.dragStart(t),F()},this.gridster.$options.resizable.delayStart),s=this.zone.runOutsideAngular(function(){return{cancelMouse:e.gridsterItem.renderer.listen("document","mouseup",F),cancelMouseLeave:e.gridsterItem.renderer.listen("document","mouseleave",F),cancelOnBlur:e.gridsterItem.renderer.listen("window","blur",F),cancelTouchMove:e.gridsterItem.renderer.listen("document","touchmove",N),cancelTouchEnd:e.gridsterItem.renderer.listen("document","touchend",F),cancelTouchCancel:e.gridsterItem.renderer.listen("document","touchcancel",F)}}),u=s.cancelMouse,l=s.cancelMouseLeave,c=s.cancelOnBlur,h=s.cancelTouchMove,C=s.cancelTouchEnd,T=s.cancelTouchCancel;else this.dragStart(t);function N($){Ma.checkTouchEvent($),(Math.abs($.clientX-t.clientX)>9||Math.abs($.clientY-t.clientY)>9)&&F()}function F(){clearTimeout(a),c(),u(),l(),h(),C(),T()}}},{key:"setItemTop",value:function(t){this.gridster.gridRenderer.setCellPosition(this.gridsterItem.renderer,this.gridsterItem.el,this.left,t)}},{key:"setItemLeft",value:function(t){this.gridster.gridRenderer.setCellPosition(this.gridsterItem.renderer,this.gridsterItem.el,t,this.top)}},{key:"setItemHeight",value:function(t){this.gridsterItem.renderer.setStyle(this.gridsterItem.el,"height",t+"px")}},{key:"setItemWidth",value:function(t){this.gridsterItem.renderer.setStyle(this.gridsterItem.el,"width",t+"px")}}]),o}(),A9=function(){var o=function(){function n(t,e,a,s){(0,f.Z)(this,n),this.renderer=a,this.zone=s,this.itemInit=new r.EventEmitter,this.itemChange=new r.EventEmitter,this.itemResize=new r.EventEmitter,this.el=t.nativeElement,this.$item={cols:-1,rows:-1,x:-1,y:-1},this.gridster=e,this.drag=new S9(this,e,this.zone),this.resize=new P9(this,e,this.zone)}return(0,y.Z)(n,[{key:"zIndex",get:function(){return this.getLayerIndex()+this.gridster.$options.baseLayerIndex}},{key:"ngOnInit",value:function(){this.gridster.addItem(this)}},{key:"ngOnChanges",value:function(e){e.item&&(this.updateOptions(),this.init||this.gridster.calculateLayout$.next()),e.item&&e.item.previousValue&&this.setSize()}},{key:"updateOptions",value:function(){this.$item=Ma.merge(this.$item,this.item,{cols:void 0,rows:void 0,x:void 0,y:void 0,layerIndex:void 0,dragEnabled:void 0,resizeEnabled:void 0,compactEnabled:void 0,maxItemRows:void 0,minItemRows:void 0,maxItemCols:void 0,minItemCols:void 0,maxItemArea:void 0,minItemArea:void 0,resizableHandles:{s:void 0,e:void 0,n:void 0,w:void 0,se:void 0,ne:void 0,sw:void 0,nw:void 0}})}},{key:"ngOnDestroy",value:function(){this.gridster.removeItem(this),this.drag.destroy(),this.resize.destroy(),this.gridster=this.drag=this.resize=null}},{key:"setSize",value:function(){this.renderer.setStyle(this.el,"display",this.notPlaced?"":"block"),this.gridster.gridRenderer.updateItem(this.el,this.$item,this.renderer),this.updateItemSize()}},{key:"updateItemSize",value:function(){var a=this.$item.x*this.gridster.curColWidth,s=this.$item.cols*this.gridster.curColWidth-this.gridster.$options.margin,u=this.$item.rows*this.gridster.curRowHeight-this.gridster.$options.margin;this.top=this.$item.y*this.gridster.curRowHeight,this.left=a,!this.init&&s>0&&u>0&&(this.init=!0,this.item.initCallback&&this.item.initCallback(this.item,this),this.gridster.options.itemInitCallback&&this.gridster.options.itemInitCallback(this.item,this),this.itemInit.next({item:this.item,itemComponent:this}),this.gridster.$options.scrollToNewItems&&this.el.scrollIntoView(!1)),(s!==this.width||u!==this.height)&&(this.width=s,this.height=u,this.gridster.options.itemResizeCallback&&this.gridster.options.itemResizeCallback(this.item,this),this.itemResize.next({item:this.item,itemComponent:this}))}},{key:"itemChanged",value:function(){this.gridster.options.itemChangeCallback&&this.gridster.options.itemChangeCallback(this.item,this),this.itemChange.next({item:this.item,itemComponent:this})}},{key:"checkItemChanges",value:function(e,a){e.rows===a.rows&&e.cols===a.cols&&e.x===a.x&&e.y===a.y||(this.gridster.checkCollision(this.$item)?(this.$item.x=a.x||0,this.$item.y=a.y||0,this.$item.cols=a.cols||1,this.$item.rows=a.rows||1,this.setSize()):(this.item.cols=this.$item.cols,this.item.rows=this.$item.rows,this.item.x=this.$item.x,this.item.y=this.$item.y,this.gridster.calculateLayout$.next(),this.itemChanged()))}},{key:"canBeDragged",value:function(){var e=this.gridster.$options.draggable.enabled;return!this.gridster.mobile&&e&&(void 0===this.$item.dragEnabled?e:this.$item.dragEnabled)}},{key:"canBeResized",value:function(){var e=this.gridster.$options.resizable.enabled;return!this.gridster.mobile&&e&&(void 0===this.$item.resizeEnabled?e:this.$item.resizeEnabled)}},{key:"getResizableHandles",value:function(){var e=this.gridster.$options.resizable.handles,a=this.$item.resizableHandles;return void 0===a?e:(0,b.Z)((0,b.Z)({},e),a)}},{key:"bringToFront",value:function(e){if(!(e&&e<=0)){var a=this.getLayerIndex(),s=this.gridster.$options.maxLayerIndex;if(a<s){var u=e?a+e:s;this.item.layerIndex=this.$item.layerIndex=u>s?s:u}}}},{key:"sendToBack",value:function(e){if(!(e&&e<=0)){var a=this.getLayerIndex();if(a>0){var s=e?a-e:0;this.item.layerIndex=this.$item.layerIndex=s<0?0:s}}}},{key:"getLayerIndex",value:function(){return void 0!==this.item.layerIndex?this.item.layerIndex:void 0!==this.gridster.$options.defaultLayerIndex?this.gridster.$options.defaultLayerIndex:0}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(BA),r.\u0275\u0275directiveInject(r.Renderer2),r.\u0275\u0275directiveInject(r.NgZone))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["gridster-item"]],hostVars:2,hostBindings:function(t,e){2&t&&r.\u0275\u0275styleProp("z-index",e.zIndex)},inputs:{item:"item"},outputs:{itemInit:"itemInit",itemChange:"itemChange",itemResize:"itemResize"},standalone:!0,features:[r.\u0275\u0275NgOnChangesFeature,r.\u0275\u0275StandaloneFeature],ngContentSelectors:aO,decls:9,vars:8,consts:[["class","gridster-item-resizable-handler handle-s",3,"mousedown","touchstart",4,"ngIf"],["class","gridster-item-resizable-handler handle-e",3,"mousedown","touchstart",4,"ngIf"],["class","gridster-item-resizable-handler handle-n",3,"mousedown","touchstart",4,"ngIf"],["class","gridster-item-resizable-handler handle-w",3,"mousedown","touchstart",4,"ngIf"],["class","gridster-item-resizable-handler handle-se",3,"mousedown","touchstart",4,"ngIf"],["class","gridster-item-resizable-handler handle-ne",3,"mousedown","touchstart",4,"ngIf"],["class","gridster-item-resizable-handler handle-sw",3,"mousedown","touchstart",4,"ngIf"],["class","gridster-item-resizable-handler handle-nw",3,"mousedown","touchstart",4,"ngIf"],[1,"gridster-item-resizable-handler","handle-s",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-e",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-n",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-w",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-se",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-ne",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-sw",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-nw",3,"mousedown","touchstart"]],template:function(t,e){1&t&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275projection(0),r.\u0275\u0275template(1,l9,1,0,"div",0),r.\u0275\u0275template(2,c9,1,0,"div",1),r.\u0275\u0275template(3,d9,1,0,"div",2),r.\u0275\u0275template(4,p9,1,0,"div",3),r.\u0275\u0275template(5,f9,1,0,"div",4),r.\u0275\u0275template(6,m9,1,0,"div",5),r.\u0275\u0275template(7,h9,1,0,"div",6),r.\u0275\u0275template(8,g9,1,0,"div",7)),2&t&&(r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",(null==e.resize.resizableHandles?null:e.resize.resizableHandles.s)&&e.resize.resizeEnabled),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",(null==e.resize.resizableHandles?null:e.resize.resizableHandles.e)&&e.resize.resizeEnabled),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",(null==e.resize.resizableHandles?null:e.resize.resizableHandles.n)&&e.resize.resizeEnabled),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",(null==e.resize.resizableHandles?null:e.resize.resizableHandles.w)&&e.resize.resizeEnabled),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",(null==e.resize.resizableHandles?null:e.resize.resizableHandles.se)&&e.resize.resizeEnabled),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",(null==e.resize.resizableHandles?null:e.resize.resizableHandles.ne)&&e.resize.resizeEnabled),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",(null==e.resize.resizableHandles?null:e.resize.resizableHandles.sw)&&e.resize.resizeEnabled),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",(null==e.resize.resizableHandles?null:e.resize.resizableHandles.nw)&&e.resize.resizeEnabled))},dependencies:[P.NgIf],styles:["gridster-item{box-sizing:border-box;z-index:1;position:absolute;overflow:hidden;transition:.3s;display:none;background:white;-webkit-user-select:text;user-select:text}gridster-item.gridster-item-moving{cursor:move}gridster-item.gridster-item-resizing,gridster-item.gridster-item-moving{transition:0s;z-index:2;box-shadow:0 0 5px 5px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.gridster-item-resizable-handler{position:absolute;z-index:2}.gridster-item-resizable-handler.handle-n{cursor:ns-resize;height:10px;right:0;top:0;left:0}.gridster-item-resizable-handler.handle-e{cursor:ew-resize;width:10px;bottom:0;right:0;top:0}.gridster-item-resizable-handler.handle-s{cursor:ns-resize;height:10px;right:0;bottom:0;left:0}.gridster-item-resizable-handler.handle-w{cursor:ew-resize;width:10px;left:0;top:0;bottom:0}.gridster-item-resizable-handler.handle-ne{cursor:ne-resize;width:10px;height:10px;right:0;top:0}.gridster-item-resizable-handler.handle-nw{cursor:nw-resize;width:10px;height:10px;left:0;top:0}.gridster-item-resizable-handler.handle-se{cursor:se-resize;width:0;height:0;right:0;bottom:0;border-style:solid;border-width:0 0 10px 10px;border-color:transparent}.gridster-item-resizable-handler.handle-sw{cursor:sw-resize;width:10px;height:10px;left:0;bottom:0}gridster-item:hover .gridster-item-resizable-handler.handle-se{border-color:transparent transparent #ccc}\n"],encapsulation:2}),o}(),gO=function(){var o=(0,y.Z)(function n(){(0,f.Z)(this,n)});return o.\u0275fac=function(t){return new(t||o)},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({}),o}(),g_=S(28972),_a=S(75376),Fl=S(51372),ep=S(55198),k9=S(97040),tp=S(93168),PE=["innerGridItem"];function R9(o,n){1&o&&r.\u0275\u0275elementContainer(0)}var Ml=function(n){return{i:n}};function D9(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"div",2)(1,"p",4),r.\u0275\u0275text(2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"div",5),r.\u0275\u0275template(4,R9,1,0,"ng-container",6),r.\u0275\u0275elementEnd()()),2&o){var t=n.index,e=r.\u0275\u0275nextContext().index,a=r.\u0275\u0275nextContext();r.\u0275\u0275property("fxFlex",a.dashboard[a.itemIndex(e,t)].cols),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate3("row: ",e," | column: ",t," | size: ",a.dashboard[a.itemIndex(e,t)].cols,""),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngStyle",a.gridItemInnerStyles(e,t)),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngTemplateOutlet",a.innerGridItemTmpl)("ngTemplateOutletContext",r.\u0275\u0275pureFunction1(7,Ml,a.itemIndex(e,t)))}}var T9=function(){return{height:"100%"}};function I9(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"div",2)(1,"div",3),r.\u0275\u0275template(2,D9,5,9,"div",1),r.\u0275\u0275elementEnd()()),2&o){var t=n.index,e=r.\u0275\u0275nextContext();r.\u0275\u0275property("fxFlex",e.rowFlex(t)),r.\u0275\u0275advance(1),r.\u0275\u0275property("fxLayout",e.rowDirection(t))("ngStyle",r.\u0275\u0275pureFunction0(4,T9)),r.\u0275\u0275advance(1),r.\u0275\u0275property("for",e.totalColumns(t))}}var jA=["gridItemActions"],$A=["extraActions"],vO=["mainControls"],yO=["itemHeader"];function O9(o,n){1&o&&r.\u0275\u0275elementContainer(0)}function F9(o,n){1&o&&r.\u0275\u0275elementContainer(0)}function M9(o,n){1&o&&r.\u0275\u0275elementContainer(0)}function N9(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"gridster-item",8)(1,"div",9)(2,"div",10,11),r.\u0275\u0275template(4,F9,1,0,"ng-container",12),r.\u0275\u0275elementStart(5,"button",13),r.\u0275\u0275listener("mousedown",function(){var c=r.\u0275\u0275restoreView(t).index,h=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(h.removeItem(c))})("touchstart",function(){var c=r.\u0275\u0275restoreView(t).index,h=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(h.removeItem(c))}),r.\u0275\u0275text(6,"Delete"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(7,"div",14),r.\u0275\u0275template(8,M9,1,0,"ng-container",12),r.\u0275\u0275elementEnd()()()}if(2&o){var e=n.$implicit,a=n.index,s=r.\u0275\u0275nextContext();r.\u0275\u0275property("item",e),r.\u0275\u0275advance(2),r.\u0275\u0275property("hidden",!s.displayItemHeader),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngTemplateOutlet",s.gridItemActionsTmpl)("ngTemplateOutletContext",r.\u0275\u0275pureFunction1(6,Ml,a)),r.\u0275\u0275advance(4),r.\u0275\u0275property("ngTemplateOutlet",s.innerGridItemTmpl)("ngTemplateOutletContext",r.\u0275\u0275pureFunction1(8,Ml,a))}}function V9(o,n){1&o&&r.\u0275\u0275elementContainer(0)}function B9(o,n){1&o&&r.\u0275\u0275elementContainer(0)}function Z9(o,n){1&o&&r.\u0275\u0275elementContainer(0)}var _O=function(){return{i:0}};function L9(o,n){1&o&&r.\u0275\u0275elementContainer(0)}function j9(o,n){1&o&&r.\u0275\u0275elementContainer(0)}function $9(o,n){1&o&&r.\u0275\u0275elementContainer(0)}function U9(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"as-split-area",15)(1,"div",16)(2,"div",17,18),r.\u0275\u0275template(4,j9,1,0,"ng-container",19),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(5,"div",20),r.\u0275\u0275template(6,$9,1,0,"ng-container",19),r.\u0275\u0275elementEnd()()()),2&o){var t=n.index,e=r.\u0275\u0275nextContext().index,a=r.\u0275\u0275nextContext();r.\u0275\u0275property("size",a.itemSize(e,t)),r.\u0275\u0275advance(2),r.\u0275\u0275property("hidden",!a.displayItemHeader),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngTemplateOutlet",a.gridItemActionsTmpl)("ngTemplateOutletContext",r.\u0275\u0275pureFunction1(6,Ml,a.itemIndex(e,t))),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngTemplateOutlet",a.innerGridItemTmpl)("ngTemplateOutletContext",r.\u0275\u0275pureFunction1(8,Ml,a.itemIndex(e,t)))}}function z9(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"div",6)(1,"div",7)(2,"button",8)(3,"mat-icon"),r.\u0275\u0275text(4,"menu"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(5,"mat-menu",null,9)(7,"button",10),r.\u0275\u0275listener("mousedown",function(){var c=r.\u0275\u0275restoreView(t).index,h=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(h.addColumn(c))}),r.\u0275\u0275text(8,"Add Column"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(9,"button",10),r.\u0275\u0275listener("mousedown",function(){var c=r.\u0275\u0275restoreView(t).index,h=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(h.layoutSettings("row",c))}),r.\u0275\u0275text(10,"Layout Settings"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(11,"button",11),r.\u0275\u0275listener("mousedown",function(){var c=r.\u0275\u0275restoreView(t).index,h=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(h.removeRow(c))}),r.\u0275\u0275text(12,"Delete"),r.\u0275\u0275elementEnd()()(),r.\u0275\u0275elementStart(13,"div",12)(14,"as-split",13),r.\u0275\u0275listener("dragEnd",function(l){var h=r.\u0275\u0275restoreView(t).index,C=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(C.dragEnd(h,l))}),r.\u0275\u0275template(15,U9,7,10,"as-split-area",14),r.\u0275\u0275elementEnd()()()}if(2&o){var e=n.index,a=r.\u0275\u0275reference(6),s=r.\u0275\u0275nextContext();r.\u0275\u0275advance(2),r.\u0275\u0275property("matMenuTriggerFor",a),r.\u0275\u0275advance(13),r.\u0275\u0275property("for",s.totalColumns(e))}}function G9(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"button",6),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(t);var a=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(a.login())}),r.\u0275\u0275text(1,"login"),r.\u0275\u0275elementEnd()}}var H9=function(n){return[n,"manage"]};function q9(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"div",7)(1,"a",8),r.\u0275\u0275text(2),r.\u0275\u0275elementEnd()()),2&o){var t=n.$implicit;r.\u0275\u0275advance(1),r.\u0275\u0275property("routerLink",r.\u0275\u0275pureFunction1(2,H9,t.path)),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(t.path)}}var K9=["*"];function W9(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"li")(1,"button",15),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(t);var a=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(a.editor.submit())}),r.\u0275\u0275text(2,"Save"),r.\u0275\u0275elementEnd()()}}function X9(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"li")(1,"button",16),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(t);var a=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(a.editor.onPropertiesClick())}),r.\u0275\u0275text(2,"Properties"),r.\u0275\u0275elementEnd()()}}function Q9(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"li")(1,"button",16),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(t);var a=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(a.editor.onDeleteClick())}),r.\u0275\u0275text(2,"Delete"),r.\u0275\u0275elementEnd()()}}function Y9(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"li")(1,"button",16),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(t);var a=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(a.editor.onRulesClick())}),r.\u0275\u0275text(2,"Rules"),r.\u0275\u0275elementEnd()()}}function J9(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"li")(1,"button",17),r.\u0275\u0275listener("mousedown",function(){r.\u0275\u0275restoreView(t);var a=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(a.editor.onPersistenceClick())}),r.\u0275\u0275text(2,"Persistence"),r.\u0275\u0275elementEnd()()}}function eU(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"li")(1,"button",17),r.\u0275\u0275listener("mousedown",function(){r.\u0275\u0275restoreView(t);var a=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(a.editor.onInteractionsClick())}),r.\u0275\u0275text(2,"Interactions"),r.\u0275\u0275elementEnd()()}}function tU(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"li")(1,"button",18),r.\u0275\u0275listener("mousedown",function(){r.\u0275\u0275restoreView(t);var a=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(a.editor.applyStyle(0))})("touchstart",function(){r.\u0275\u0275restoreView(t);var a=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(a.editor.applyStyle(0))}),r.\u0275\u0275text(2,"Apply Style"),r.\u0275\u0275elementEnd()()}}function nU(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"li")(1,"button",18),r.\u0275\u0275listener("mousedown",function(){r.\u0275\u0275restoreView(t);var a=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(a.editor.removeStyle(0))})("touchstart",function(){r.\u0275\u0275restoreView(t);var a=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(a.editor.removeStyle(0))}),r.\u0275\u0275text(2,"Remove Style"),r.\u0275\u0275elementEnd()()}}function rU(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"button",35),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(t),r.\u0275\u0275nextContext(2);var a=r.\u0275\u0275reference(2);return r.\u0275\u0275resetView(a.toggle())}),r.\u0275\u0275elementStart(1,"mat-icon"),r.\u0275\u0275text(2,"menu"),r.\u0275\u0275elementEnd()()}}function iU(o,n){1&o&&(r.\u0275\u0275elementStart(0,"mat-icon"),r.\u0275\u0275text(1,"arrow_drop_down"),r.\u0275\u0275elementEnd())}function aU(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"button",36),r.\u0275\u0275template(1,iU,2,0,"mat-icon",4),r.\u0275\u0275elementEnd()),2&o){var t=r.\u0275\u0275nextContext(2),e=r.\u0275\u0275reference(29);r.\u0275\u0275property("matMenuTriggerFor",e),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",t.nested)}}function oU(o,n){1&o&&r.\u0275\u0275elementContainer(0)}function sU(o,n){if(1&o&&(r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275template(1,oU,1,0,"ng-container",23),r.\u0275\u0275elementContainerEnd()),2&o){var t=r.\u0275\u0275nextContext(2);r.\u0275\u0275advance(1),r.\u0275\u0275property("ngTemplateOutlet",t.contextsMenuTpl)}}function uU(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"div",37),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&o){var t=r.\u0275\u0275nextContext(2);r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(t.editor.panelStyleTitle(0))}}function lU(o,n){1&o&&r.\u0275\u0275element(0,"span",38)}function cU(o,n){1&o&&r.\u0275\u0275elementContainer(0)}function dU(o,n){1&o&&(r.\u0275\u0275elementStart(0,"div",39),r.\u0275\u0275text(1,"Quell"),r.\u0275\u0275elementEnd())}function pU(o,n){if(1&o&&(r.\u0275\u0275template(0,rU,3,0,"button",19),r.\u0275\u0275template(1,aU,2,2,"button",20),r.\u0275\u0275elementStart(2,"div"),r.\u0275\u0275template(3,sU,2,1,"ng-container",4),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(4,uU,2,1,"div",21),r.\u0275\u0275template(5,lU,1,0,"span",22),r.\u0275\u0275template(6,cU,1,0,"ng-container",23),r.\u0275\u0275elementStart(7,"div",24)(8,"mat-form-field")(9,"mat-select",25)(10,"mat-option",26),r.\u0275\u0275text(11,"page"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(12,"mat-option",27),r.\u0275\u0275text(13,"form"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(14,"mat-option",28),r.\u0275\u0275text(15,"json"),r.\u0275\u0275elementEnd()()()(),r.\u0275\u0275elementStart(16,"div",29)(17,"mat-form-field")(18,"mat-select",30)(19,"mat-option",31),r.\u0275\u0275text(20,"grid"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(21,"mat-option",32),r.\u0275\u0275text(22,"gridless"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(23,"mat-option",33),r.\u0275\u0275text(24,"split"),r.\u0275\u0275elementEnd()()()(),r.\u0275\u0275template(25,dU,2,0,"div",34)),2&o){var t=r.\u0275\u0275nextContext();r.\u0275\u0275property("ngIf",!t.nested),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",t.nested),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngIf",t.savable),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",t.editor.hasPanelStyle(0)&&t.nested),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",t.nested),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngTemplateOutlet",t.extraActionsAreaTmpl),r.\u0275\u0275advance(19),r.\u0275\u0275property("ngIf",!t.nested)}}function fU(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"div",37),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&o){var t=r.\u0275\u0275nextContext(2);r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(t.editor.panelStyleTitle(0))}}function mU(o,n){if(1&o&&r.\u0275\u0275template(0,fU,2,1,"div",21),2&o){var t=r.\u0275\u0275nextContext();r.\u0275\u0275property("ngIf",t.editor.hasPanelStyle(0)&&!t.nested)}}function hU(o,n){1&o&&r.\u0275\u0275elementContainer(0)}var UA=function(n,t){return{i:n,j:t}};function gU(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"div",43),r.\u0275\u0275template(1,hU,1,0,"ng-container",44),r.\u0275\u0275elementEnd()),2&o){var t=n.index,e=r.\u0275\u0275nextContext().i,a=r.\u0275\u0275nextContext();r.\u0275\u0275advance(1),r.\u0275\u0275property("ngTemplateOutlet",a.editablePaneTpl)("ngTemplateOutletContext",r.\u0275\u0275pureFunction2(2,UA,e,t))}}function vU(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"ngx-dropzone",40),r.\u0275\u0275listener("change",function(u){var c=r.\u0275\u0275restoreView(t).i,h=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(h.editor.onFileChange(u,c))})("cdkDropListDropped",function(u){r.\u0275\u0275restoreView(t);var l=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(l.editor.onDrop(u))}),r.\u0275\u0275elementStart(1,"div",null,41),r.\u0275\u0275template(3,gU,2,5,"div",42),r.\u0275\u0275elementEnd()()}if(2&o){var e=n.i,a=r.\u0275\u0275nextContext();r.\u0275\u0275property("cdkDropListData",e)("multiple",!0)("disableClick",!0),r.\u0275\u0275advance(3),r.\u0275\u0275property("ngForOf",a.editor.panelPanes(e).controls)}}function yU(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"button",15),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(t);var a=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(a.editor.submit())}),r.\u0275\u0275text(1,"Save"),r.\u0275\u0275elementEnd()}}function _U(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"button",16),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(t);var a=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(a.editor.onPropertiesClick())}),r.\u0275\u0275text(1,"Properties"),r.\u0275\u0275elementEnd()}}function xU(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"button",16),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(t);var a=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(a.editor.onDeleteClick())}),r.\u0275\u0275text(1,"Delete"),r.\u0275\u0275elementEnd()}}function bU(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"button",16),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(t);var a=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(a.editor.onRulesClick())}),r.\u0275\u0275text(1,"Rules"),r.\u0275\u0275elementEnd()}}function CU(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"button",17),r.\u0275\u0275listener("mousedown",function(){r.\u0275\u0275restoreView(t);var a=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(a.editor.onPersistenceClick())}),r.\u0275\u0275text(1,"Persistence"),r.\u0275\u0275elementEnd()}}function wU(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"button",17),r.\u0275\u0275listener("mousedown",function(){r.\u0275\u0275restoreView(t);var a=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(a.editor.onInteractionsClick())}),r.\u0275\u0275text(1,"Interactions"),r.\u0275\u0275elementEnd()}}function SU(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"button",18),r.\u0275\u0275listener("mousedown",function(){r.\u0275\u0275restoreView(t);var a=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(a.editor.applyStyle(0))})("touchstart",function(){r.\u0275\u0275restoreView(t);var a=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(a.editor.applyStyle(0))}),r.\u0275\u0275text(1,"Apply Style"),r.\u0275\u0275elementEnd()}}function EU(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"button",18),r.\u0275\u0275listener("mousedown",function(){r.\u0275\u0275restoreView(t);var a=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(a.editor.removeStyle(0))})("touchstart",function(){r.\u0275\u0275restoreView(t);var a=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(a.editor.removeStyle(0))}),r.\u0275\u0275text(1,"Remove Style"),r.\u0275\u0275elementEnd()}}function PU(o,n){1&o&&r.\u0275\u0275elementContainer(0)}function AU(o,n){if(1&o&&r.\u0275\u0275template(0,PU,1,0,"ng-container",2),2&o){var t=n.i,e=r.\u0275\u0275nextContext();r.\u0275\u0275property("ngTemplateOutlet",e.renderPanelTpl)("ngTemplateOutletContext",r.\u0275\u0275pureFunction1(2,Ml,t))}}function kU(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"li")(1,"button",16),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(t);var a=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(a.editor.submit())}),r.\u0275\u0275text(2,"Save"),r.\u0275\u0275elementEnd()()}}function RU(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"li")(1,"button",17),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(t);var a=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(a.editor.onRulesClick())}),r.\u0275\u0275text(2,"Rules"),r.\u0275\u0275elementEnd()()}}function DU(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"li")(1,"button",5),r.\u0275\u0275listener("mousedown",function(){r.\u0275\u0275restoreView(t);var a=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(a.editor.onPersistenceClick())}),r.\u0275\u0275text(2,"Persistence"),r.\u0275\u0275elementEnd()()}}function TU(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"li")(1,"button",5),r.\u0275\u0275listener("mousedown",function(){r.\u0275\u0275restoreView(t);var a=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(a.editor.onInteractionsClick())}),r.\u0275\u0275text(2,"Interactions"),r.\u0275\u0275elementEnd()()}}function IU(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"li")(1,"button",17),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(t);var a=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(a.editor.onDeleteClick())}),r.\u0275\u0275text(2,"Delete"),r.\u0275\u0275elementEnd()()}}function OU(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"button",32),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(t),r.\u0275\u0275nextContext(2);var a=r.\u0275\u0275reference(2);return r.\u0275\u0275resetView(a.toggle())}),r.\u0275\u0275elementStart(1,"mat-icon"),r.\u0275\u0275text(2,"menu"),r.\u0275\u0275elementEnd()()}}function FU(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"button",33)(1,"mat-icon"),r.\u0275\u0275text(2,"menu"),r.\u0275\u0275elementEnd()()),2&o){r.\u0275\u0275nextContext(2);var t=r.\u0275\u0275reference(30);r.\u0275\u0275property("matMenuTriggerFor",t)}}function MU(o,n){1&o&&r.\u0275\u0275element(0,"span",34)}function NU(o,n){1&o&&r.\u0275\u0275elementContainer(0)}function VU(o,n){if(1&o&&(r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275template(1,NU,1,0,"ng-container",30),r.\u0275\u0275elementContainerEnd()),2&o){var t=r.\u0275\u0275nextContext(2);r.\u0275\u0275advance(1),r.\u0275\u0275property("ngTemplateOutlet",t.contextsMenuTpl)}}function BU(o,n){1&o&&r.\u0275\u0275elementContainer(0)}function ZU(o,n){1&o&&(r.\u0275\u0275elementStart(0,"div",35),r.\u0275\u0275text(1,"Quell"),r.\u0275\u0275elementEnd())}function LU(o,n){if(1&o&&(r.\u0275\u0275template(0,OU,3,0,"button",18),r.\u0275\u0275template(1,FU,3,1,"button",19),r.\u0275\u0275template(2,MU,1,0,"span",20),r.\u0275\u0275elementStart(3,"div"),r.\u0275\u0275template(4,VU,2,1,"ng-container",4),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(5,"div",21)(6,"mat-form-field")(7,"mat-select",22)(8,"mat-option",23),r.\u0275\u0275text(9,"page"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(10,"mat-option",24),r.\u0275\u0275text(11,"form"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(12,"mat-option",25),r.\u0275\u0275text(13,"json"),r.\u0275\u0275elementEnd()()()(),r.\u0275\u0275elementStart(14,"div",26)(15,"mat-form-field")(16,"mat-select",27)(17,"mat-option",28),r.\u0275\u0275text(18,"gridless"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(19,"mat-option",29),r.\u0275\u0275text(20,"split"),r.\u0275\u0275elementEnd()()()(),r.\u0275\u0275template(21,BU,1,0,"ng-container",30),r.\u0275\u0275template(22,ZU,2,0,"div",31)),2&o){var t=r.\u0275\u0275nextContext();r.\u0275\u0275property("ngIf",!t.nested),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",t.nested),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",t.nested),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngIf",t.savable),r.\u0275\u0275advance(17),r.\u0275\u0275property("ngTemplateOutlet",t.extraActionsAreaTmpl),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",!t.nested)}}function jU(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"button",42),r.\u0275\u0275listener("mousedown",function(){r.\u0275\u0275restoreView(t);var a=r.\u0275\u0275nextContext().i,s=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(s.editor.applyStyle(a))})("touchstart",function(){r.\u0275\u0275restoreView(t);var a=r.\u0275\u0275nextContext().i,s=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(s.editor.applyStyle(a))}),r.\u0275\u0275text(1,"Apply Style"),r.\u0275\u0275elementEnd()}}function $U(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"button",42),r.\u0275\u0275listener("mousedown",function(){r.\u0275\u0275restoreView(t);var a=r.\u0275\u0275nextContext().i,s=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(s.editor.removeStyle(a))})("touchstart",function(){r.\u0275\u0275restoreView(t);var a=r.\u0275\u0275nextContext().i,s=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(s.editor.removeStyle(a))}),r.\u0275\u0275text(1,"Remove Style"),r.\u0275\u0275elementEnd()}}function UU(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"div",43),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&o){var t=r.\u0275\u0275nextContext().i,e=r.\u0275\u0275nextContext();r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(e.editor.panelStyleTitle(t))}}function zU(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"button",36)(1,"mat-icon"),r.\u0275\u0275text(2,"arrow_drop_down"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(3,"mat-menu",null,37)(5,"button",5),r.\u0275\u0275listener("mousedown",function(){var c=r.\u0275\u0275restoreView(t).i;r.\u0275\u0275nextContext();var h=r.\u0275\u0275reference(22);return r.\u0275\u0275resetView(h.layoutSettings("column",c))}),r.\u0275\u0275text(6,"Layout Settings"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(7,"button",38),r.\u0275\u0275listener("mousedown",function(){var c=r.\u0275\u0275restoreView(t).i,h=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(h.editor.addContent(c))})("touchstart",function(){var c=r.\u0275\u0275restoreView(t).i,h=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(h.editor.addContent(c))}),r.\u0275\u0275text(8,"Add Content"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(9,"button",38),r.\u0275\u0275listener("mousedown",function(){var c=r.\u0275\u0275restoreView(t).i,h=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(h.editor.editPanelProps(c))})("touchstart",function(){var c=r.\u0275\u0275restoreView(t).i,h=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(h.editor.editPanelProps(c))}),r.\u0275\u0275text(10,"Props"),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(11,jU,2,0,"button",39),r.\u0275\u0275template(12,$U,2,0,"button",39),r.\u0275\u0275elementStart(13,"button",40),r.\u0275\u0275listener("mousedown",function(){var c=r.\u0275\u0275restoreView(t).i;r.\u0275\u0275nextContext();var h=r.\u0275\u0275reference(22);return r.\u0275\u0275resetView(h.removeColumn2(c))})("touchstart",function(){var c=r.\u0275\u0275restoreView(t).i;r.\u0275\u0275nextContext();var h=r.\u0275\u0275reference(22);return r.\u0275\u0275resetView(h.removeColumn2(c))}),r.\u0275\u0275text(14,"Delete"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275template(15,UU,2,1,"div",41)}if(2&o){var e=n.i,a=r.\u0275\u0275reference(4),s=r.\u0275\u0275nextContext();r.\u0275\u0275property("matMenuTriggerFor",a),r.\u0275\u0275advance(11),r.\u0275\u0275property("ngIf",!s.editor.hasPanelStyle(e)),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",s.editor.hasPanelStyle(e)),r.\u0275\u0275advance(3),r.\u0275\u0275property("ngIf",s.editor.hasPanelStyle(e))}}function GU(o,n){1&o&&r.\u0275\u0275elementContainer(0)}function HU(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"div",47),r.\u0275\u0275template(1,GU,1,0,"ng-container",48),r.\u0275\u0275elementEnd()),2&o){var t=n.index,e=r.\u0275\u0275nextContext().i,a=r.\u0275\u0275nextContext();r.\u0275\u0275advance(1),r.\u0275\u0275property("ngTemplateOutlet",a.editablePaneTpl)("ngTemplateOutletContext",r.\u0275\u0275pureFunction2(2,UA,e,t))}}function qU(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"ngx-dropzone",44),r.\u0275\u0275listener("change",function(u){var c=r.\u0275\u0275restoreView(t).i,h=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(h.editor.onFileChange(u,c))})("cdkDropListDropped",function(u){r.\u0275\u0275restoreView(t);var l=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(l.editor.onDrop(u))}),r.\u0275\u0275elementStart(1,"div",null,45),r.\u0275\u0275template(3,HU,2,5,"div",46),r.\u0275\u0275elementEnd()()}if(2&o){var e=n.i,a=r.\u0275\u0275nextContext();r.\u0275\u0275property("cdkDropListData",e)("multiple",!0)("disableClick",!0),r.\u0275\u0275advance(3),r.\u0275\u0275property("ngForOf",a.editor.panelPanes(e).controls)}}function KU(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"button",16),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(t);var a=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(a.editor.submit())}),r.\u0275\u0275text(1,"Save"),r.\u0275\u0275elementEnd()}}function WU(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"button",17),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(t);var a=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(a.editor.onRulesClick())}),r.\u0275\u0275text(1,"Rules"),r.\u0275\u0275elementEnd()}}function XU(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"button",5),r.\u0275\u0275listener("mousedown",function(){r.\u0275\u0275restoreView(t);var a=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(a.editor.onPersistenceClick())}),r.\u0275\u0275text(1,"Persistence"),r.\u0275\u0275elementEnd()}}function QU(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"button",5),r.\u0275\u0275listener("mousedown",function(){r.\u0275\u0275restoreView(t);var a=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(a.editor.onInteractionsClick())}),r.\u0275\u0275text(1,"Interactions"),r.\u0275\u0275elementEnd()}}function YU(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"button",17),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(t);var a=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(a.editor.onDeleteClick())}),r.\u0275\u0275text(1,"Delete"),r.\u0275\u0275elementEnd()}}function JU(o,n){1&o&&r.\u0275\u0275elementContainer(0)}function ez(o,n){if(1&o&&r.\u0275\u0275template(0,JU,1,0,"ng-container",2),2&o){var t=n.i,e=r.\u0275\u0275nextContext();r.\u0275\u0275property("ngTemplateOutlet",e.renderPanelTpl)("ngTemplateOutletContext",r.\u0275\u0275pureFunction1(2,Ml,t))}}var mz=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.attributeMatcher=t,this.dashboard=[],this.layoutSetting=new br,this.rowSettings=[],this.columnSettings=[]}return(0,y.Z)(n,[{key:"totalRows",get:function(){return 0==this.dashboard.length?0:this.dashboard.reduce(function(e,a){return a.y>e?a.y:e},0)+1}},{key:"direction",get:function(){var e=this.attributeMatcher.getComputedValue("direction",this.layoutSetting?this.layoutSetting.settings:[]);return!e||"column"!==e.trim()&&"row"!==e.trim()?"column":e}},{key:"ngOnInit",value:function(){console.log(this.dashboard)}},{key:"itemIndex",value:function(e,a){return this.dashboard.findIndex(function(s){return s.y===e&&s.x===a})}},{key:"totalColumns",value:function(e){return this.dashboard.reduce(function(a,s){return s.y===e?a+1:a},0)}},{key:"rowDirection",value:function(e){var a=this.attributeMatcher.getComputedValue("direction",this.rowSettings&&this.rowSettings[e]?this.rowSettings[e].settings:[]);return!a||"column"!==a.trim()&&"row"!==a.trim()?"row":a}},{key:"rowFlex",value:function(e){var a=this;return["flexGrow","flexShrink","flexBasis"].map(function(c){return a.attributeMatcher.getComputedValue(c,a.rowSettings&&a.rowSettings[e]?a.rowSettings[e].settings:[])}).map(function(c){return null!=c&&""!==c&&""!==c.trim()?"".concat(c.trim()):""}).join(" ")}},{key:"gridItemInnerStyles",value:function(e,a){var s=this.itemIndex(e,a);return{height:this.calculateHeight(this.attributeMatcher.getComputedValue("height",this.columnSettings&&this.columnSettings[s]?this.columnSettings[s].settings:[]))}}},{key:"calculateHeight",value:function(e){return null!=e?e.trim():"auto"}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Nt.AttributeMatcherService))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-flex-layout"]],contentQueries:function(t,e,a){var s;1&t&&r.\u0275\u0275contentQuery(a,PE,5),2&t&&r.\u0275\u0275queryRefresh(s=r.\u0275\u0275loadQuery())&&(e.innerGridItemTmpl=s.first)},inputs:{dashboard:"dashboard",layoutSetting:"layoutSetting",rowSettings:"rowSettings",columnSettings:"columnSettings"},decls:2,vars:2,consts:[["fxFill","",3,"fxLayout"],[3,"fxFlex",4,"for"],[3,"fxFlex"],[3,"fxLayout","ngStyle"],["hidden",""],[1,"grid-item-inner",3,"ngStyle"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"div",0),r.\u0275\u0275template(1,I9,3,5,"div",1),r.\u0275\u0275elementEnd()),2&t&&(r.\u0275\u0275property("fxLayout",e.direction),r.\u0275\u0275advance(1),r.\u0275\u0275property("for",e.totalRows))},dependencies:[P.NgTemplateOutlet,P.NgStyle,Wt,Mo,In,$e,Vn.ForDirective]}),o}(),xO=function(){var o=function(){function n(){(0,f.Z)(this,n),this.itemAdded=new r.EventEmitter,this.itemRemoved=new r.EventEmitter,this.dashboard=[],this.displayMainControls=!0,this.displayItemHeader=!0,this.itemHeights=[],this.rows=0}return(0,y.Z)(n,[{key:"grid",get:function(){return this.dashboard}},{key:"cumulativeHeight",get:function(){var e=this,a=[];return this.heightsMatrix.forEach(function(s){a.push(e.itemHeights.reduce(function(u,l){return l>u?l:u}))}),a.reduce(function(s,u){return s+u})}},{key:"heightsMatrix",get:function(){var e=this;return this.dashboard.reduce(function(a,s,u){return a[s.y]=void 0!==a[s.y]?[].concat((0,_.Z)(a[s.y]),[e.itemHeights[u]]):[e.itemHeights[u]],a},[])}},{key:"ngOnInit",value:function(){}},{key:"removeItem",value:function(e){this.dashboard.splice(e,1),this.itemHeights.splice(e,1),this.itemRemoved.emit(e)}},{key:"addColumn",value:function(){console.log("add column grid"),this.dashboard.push({cols:1,rows:1,y:0,x:this.dashboard.length}),this.itemAdded.emit()}},{key:"addRow",value:function(){this.dashboard.push({cols:1,rows:1,y:this.rows++,x:0}),this.itemAdded.emit()}},{key:"setItemContentHeight",value:function(e,a){this.itemHeights[e]=a+(this.displayItemHeader?this.itemHeaderHeight(e):0),this.refreshGridHeight()}},{key:"refreshGridHeight",value:function(){this.gridHeight=this.cumulativeHeight+16*this.gridster.rows}},{key:"itemHeaderHeight",value:function(e){return this.itemHeaders.find(function(a,s){return s===e}).nativeElement.offsetHeight}}]),n}();return o.\u0275fac=function(t){return new(t||o)},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-grid-layout"]],contentQueries:function(t,e,a){var s;1&t&&(r.\u0275\u0275contentQuery(a,jA,5),r.\u0275\u0275contentQuery(a,PE,5),r.\u0275\u0275contentQuery(a,$A,5)),2&t&&(r.\u0275\u0275queryRefresh(s=r.\u0275\u0275loadQuery())&&(e.gridItemActionsTmpl=s.first),r.\u0275\u0275queryRefresh(s=r.\u0275\u0275loadQuery())&&(e.innerGridItemTmpl=s.first),r.\u0275\u0275queryRefresh(s=r.\u0275\u0275loadQuery())&&(e.extraActionsTmpl=s.first))},viewQuery:function(t,e){var a;1&t&&(r.\u0275\u0275viewQuery(BA,5),r.\u0275\u0275viewQuery(vO,5),r.\u0275\u0275viewQuery(yO,5)),2&t&&(r.\u0275\u0275queryRefresh(a=r.\u0275\u0275loadQuery())&&(e.gridster=a.first),r.\u0275\u0275queryRefresh(a=r.\u0275\u0275loadQuery())&&(e.mainControls=a.first),r.\u0275\u0275queryRefresh(a=r.\u0275\u0275loadQuery())&&(e.itemHeaders=a))},inputs:{dashboard:"dashboard",displayMainControls:"displayMainControls",displayItemHeader:"displayItemHeader",options:"options"},outputs:{itemAdded:"itemAdded",itemRemoved:"itemRemoved"},decls:11,vars:6,consts:[[1,"layout-wrapper"],[1,"main-controls",3,"hidden"],["mainControls",""],["type","button",3,"mousedown"],[4,"ngTemplateOutlet"],[1,"layout-inner"],[3,"options"],[3,"item",4,"ngFor","ngForOf"],[3,"item"],["fxLayout","column","fxFill",""],["fxFlex","0 1 auto",1,"grid-item-header",3,"hidden"],["itemHeader",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["type","button",1,"delete",3,"mousedown","touchstart"],["fxFlex","",1,"grid-item-inner"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"div",0)(1,"div",1,2)(3,"button",3),r.\u0275\u0275listener("mousedown",function(){return e.addColumn()}),r.\u0275\u0275text(4,"Add Column"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(5,"button",3),r.\u0275\u0275listener("mousedown",function(){return e.addRow()}),r.\u0275\u0275text(6,"Add Row"),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(7,O9,1,0,"ng-container",4),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(8,"div",5)(9,"gridster",6),r.\u0275\u0275template(10,N9,9,10,"gridster-item",7),r.\u0275\u0275elementEnd()()()),2&t&&(r.\u0275\u0275advance(1),r.\u0275\u0275property("hidden",!e.displayMainControls),r.\u0275\u0275advance(6),r.\u0275\u0275property("ngTemplateOutlet",e.extraActionsTmpl),r.\u0275\u0275advance(1),r.\u0275\u0275styleProp("height",e.gridHeight,"px"),r.\u0275\u0275advance(1),r.\u0275\u0275property("options",e.options),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",e.dashboard))},dependencies:[P.NgForOf,P.NgTemplateOutlet,Wt,Mo,In,BA,A9],styles:[".layout-wrapper[_ngcontent-%COMP%], .layout-inner[_ngcontent-%COMP%]{height:100%}.grid-item-header[_ngcontent-%COMP%]{background-color:#ccc;padding:.5em}button.delete[_ngcontent-%COMP%]{float:right}.main-controls[_ngcontent-%COMP%]{background-color:#fff;padding:.5em}"]}),o}(),bO=function(){var o=function(){function n(){(0,f.Z)(this,n),this.displayMainControls=!0,this.displayItemHeader=!0,this.nested=!1}return(0,y.Z)(n,[{key:"ngOnInit",value:function(){}}]),n}();return o.\u0275fac=function(t){return new(t||o)},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-gridless-layout"]],contentQueries:function(t,e,a){var s;1&t&&(r.\u0275\u0275contentQuery(a,jA,5),r.\u0275\u0275contentQuery(a,PE,5),r.\u0275\u0275contentQuery(a,$A,5)),2&t&&(r.\u0275\u0275queryRefresh(s=r.\u0275\u0275loadQuery())&&(e.gridItemActionsTmpl=s.first),r.\u0275\u0275queryRefresh(s=r.\u0275\u0275loadQuery())&&(e.innerGridItemTmpl=s.first),r.\u0275\u0275queryRefresh(s=r.\u0275\u0275loadQuery())&&(e.extraActionsTmpl=s.first))},hostVars:2,hostBindings:function(t,e){2&t&&r.\u0275\u0275classProp("is-nested",e.nested)},inputs:{displayMainControls:"displayMainControls",displayItemHeader:"displayItemHeader",nested:"nested"},decls:11,vars:9,consts:[[1,"layout-wrapper"],[1,"main-controls",3,"hidden"],["mainControls",""],[4,"ngTemplateOutlet"],[1,"layout-inner"],["fxLayout","column","fxFill",""],["fxFlex","0 1 auto",1,"grid-item-header",3,"hidden"],["itemHeader",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["fxFlex","",1,"grid-item-inner"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"div",0)(1,"div",1,2),r.\u0275\u0275template(3,V9,1,0,"ng-container",3),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(4,"div",4)(5,"div",5)(6,"div",6,7),r.\u0275\u0275template(8,B9,1,0,"ng-container",8),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(9,"div",9),r.\u0275\u0275template(10,Z9,1,0,"ng-container",8),r.\u0275\u0275elementEnd()()()()),2&t&&(r.\u0275\u0275advance(1),r.\u0275\u0275property("hidden",!e.displayMainControls),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngTemplateOutlet",e.extraActionsTmpl),r.\u0275\u0275advance(3),r.\u0275\u0275property("hidden",!e.displayItemHeader),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngTemplateOutlet",e.gridItemActionsTmpl)("ngTemplateOutletContext",r.\u0275\u0275pureFunction0(7,_O)),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngTemplateOutlet",e.innerGridItemTmpl)("ngTemplateOutletContext",r.\u0275\u0275pureFunction0(8,_O)))},dependencies:[P.NgTemplateOutlet,Wt,Mo,In],styles:[".layout-wrapper[_ngcontent-%COMP%], .layout-inner[_ngcontent-%COMP%]{height:100%}.is-nested[_nghost-%COMP%] .layout-wrapper[_ngcontent-%COMP%]{padding:0 .25em;border:1px solid #ccc}.main-controls[_ngcontent-%COMP%]{display:flex;padding:0;align-items:baseline;border-bottom:1px solid #ccc;margin-bottom:.25em}.grid-item-header[_ngcontent-%COMP%]{padding:0;display:flex;align-items:baseline}"]}),o}(),hz=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.fb=t,this.settingValues=[],this.layoutForm=this.fb.group({settings:this.fb.control("")}),this.onTouched=function(){}}return(0,y.Z)(n,[{key:"attributes",get:function(){return this.layout.settings.has(this.type)?this.layout.settings.get(this.type):[]}},{key:"ngOnInit",value:function(){}},{key:"writeValue",value:function(e){e&&this.layoutForm.setValue(e,{emitEvent:!1})}},{key:"registerOnChange",value:function(e){this.layoutForm.valueChanges.subscribe(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){e?this.layoutForm.disable():this.layoutForm.enable()}},{key:"validate",value:function(e){return this.layoutForm.valid?null:{invalidForm:{valid:!1,message:"layout is invalid"}}}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.UntypedFormBuilder))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["druid-layout-form"]],inputs:{layout:"layout",type:"type",settingValues:"settingValues"},features:[r.\u0275\u0275ProvidersFeature([{provide:v.NG_VALUE_ACCESSOR,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0},{provide:v.NG_VALIDATORS,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0}])],decls:2,vars:3,consts:[[3,"formGroup"],["formControlName","settings",3,"attributes","attributeValues"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"div",0),r.\u0275\u0275element(1,"classifieds-ui-attributes-builder",1),r.\u0275\u0275elementEnd()),2&t&&(r.\u0275\u0275property("formGroup",e.layoutForm),r.\u0275\u0275advance(1),r.\u0275\u0275property("attributes",e.attributes)("attributeValues",e.settingValues))},dependencies:[v.NgControlStatus,v.NgControlStatusGroup,v.FormGroupDirective,v.FormControlName,Nt.AttributesBuilderComponent]}),o}(),gz=function(){var o=function(){function n(t,e,a,s){(0,f.Z)(this,n),this.data=t,this.dialogRef=e,this.valueComputerService=a,this.fb=s,this.settingValues=[],this.dialogForm=this.fb.group({layout:this.fb.control("")})}return(0,y.Z)(n,[{key:"attrValues",get:function(){return""===this.dialogForm.get("layout").value?this.settingValues:this.dialogForm.get("layout").value.settings.map(function(e){return new Nt.AttributeValue(e)})}},{key:"ngOnInit",value:function(){this.layout=this.data.layout,this.type=this.data.type,this.settingValues=this.data.settingValues}},{key:"submit",value:function(){console.log(this.attrValues);var e=this.valueComputerService.compute(this.attrValues);this.dialogRef.close(e)}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Yt.MAT_LEGACY_DIALOG_DATA),r.\u0275\u0275directiveInject(Yt.MatLegacyDialogRef),r.\u0275\u0275directiveInject(Nt.ValueComputerService),r.\u0275\u0275directiveInject(v.UntypedFormBuilder))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["druid-layout-dialog"]],decls:6,vars:5,consts:[[1,"layout-form",3,"formGroup","ngSubmit"],["formControlName","layout",3,"layout","type","settingValues"],["type","submit","mat-raised-button","","color","primary","mat-dialog-close","",3,"disabled"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"form",0),r.\u0275\u0275listener("ngSubmit",function(){return e.submit()}),r.\u0275\u0275elementStart(1,"mat-dialog-content"),r.\u0275\u0275element(2,"druid-layout-form",1),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"mat-dialog-actions")(4,"button",2),r.\u0275\u0275text(5,"Save"),r.\u0275\u0275elementEnd()()()),2&t&&(r.\u0275\u0275property("formGroup",e.dialogForm),r.\u0275\u0275advance(2),r.\u0275\u0275property("layout",e.layout)("type",e.type)("settingValues",e.settingValues),r.\u0275\u0275advance(2),r.\u0275\u0275property("disabled",!e.dialogForm.valid))},dependencies:[v.\u0275NgNoValidate,v.NgControlStatus,v.NgControlStatusGroup,v.FormGroupDirective,v.FormControlName,pi.MatLegacyButton,Yt.MatLegacyDialogClose,Yt.MatLegacyDialogContent,Yt.MatLegacyDialogActions,hz]}),o}(),AE=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(a,s){return(0,f.Z)(this,e),t.call(this,a,s)}return(0,y.Z)(e,[{key:"pluginDef",value:function(){return(0,Le.of)(new Rn.PluginDef({name:"layout"}))}}]),e}(Rn.BasePluginManager);return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Rn.PluginConfigurationManager),r.\u0275\u0275inject(Vn.ModuleLoaderService))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),CO=function(){var o=function(){function n(t,e,a){(0,f.Z)(this,n),this.el=t,this.dialog=e,this.lpm=a,this.itemAdded=new r.EventEmitter,this.itemRemoved=new r.EventEmitter,this.dashboard=[],this.displayMainControls=!0,this.displayItemHeader=!0,this.nested=!1,this.layoutSettingChange=new r.EventEmitter,this.rowSettingsChange=new r.EventEmitter,this.columnSettingsChange=new r.EventEmitter,this.rows=0,this.sizes=[]}return(0,y.Z)(n,[{key:"totalRows",get:function(){return 0==this.dashboard.length?0:this.dashboard.reduce(function(e,a){return a.y>e?a.y:e},0)+1}},{key:"ngOnInit",value:function(){if(0===this.dashboard.length)this.addRow();else{for(var e=0;e<this.totalRows;e++){var a=this.totalColumns(e);this.sizes.push([]);for(var s=0;s<a;s++){var u=this.itemIndex(e,s);this.sizes[e].push(this.dashboard[u].cols)}}if(this.totalRows!==this.rowSettings.length&&0===this.rowSettings.length){for(var l=[],c=0;c<this.totalRows;c++)l.push(new br);this.rowSettings=l,this.rowSettingsChange.emit(this.rowSettings)}for(var h=0,C=0;C<this.totalRows;C++)h+=this.totalColumns(C);if(h!==this.columnSettings.length&&0===this.columnSettings.length){for(var T=[],N=0;N<this.totalRows;N++)for(var F=0;F<this.totalColumns(N);F++)T.push(new br);this.columnSettings=T,this.columnSettingsChange.emit(this.columnSettings)}}}},{key:"removeRow",value:function(e){for(var a=this.dashboard.reduce(function(h,C,T){return[].concat((0,_.Z)(h),(0,_.Z)(C.y===e?[T]:[]))},[]),s=a.length,u=0,l=0;l<s;l++)this.dashboard.splice(a[l]-u,1),this.rowSettings.splice(e,1),u++,this.itemRemoved.emit(a[l]),this.rowSettingsChange.emit(this.rowSettings);s=this.dashboard.length;for(var c=0;c<s;c++)this.dashboard[c].y>e&&(this.dashboard[c].y=this.dashboard[c].y-1)}},{key:"removeColumn",value:function(e,a){var s=this.itemIndex(e,a);this.dashboard.splice(s,1),this.itemRemoved.emit(s)}},{key:"removeColumn2",value:function(e){this.dashboard.splice(e,1),this.itemRemoved.emit(e)}},{key:"addRow",value:function(){this.sizes.push([]),this.rowSettings=[].concat((0,_.Z)(this.rowSettings.map(function(e){return new br(e)})),[new br]),this.addColumn(0===this.totalRows?0:this.totalRows),this.rowSettingsChange.emit(this.rowSettings)}},{key:"addColumn",value:function(e){var a=this,s=this.totalColumns(e),u=0===s?100:100/(s+1);this.sizes[e][s]=u,this.dashboard.push({cols:u,rows:1,y:e,x:s}),this.itemAdded.emit(),setTimeout(function(){return a.resetGutter()})}},{key:"dragEnd",value:function(e,a){var s=a.sizes,u=this.dashboard.length,l=0;this.sizes[e]=(0,_.Z)(s);for(var c=this.dashboard.map(function(C){return(0,b.Z)({},C)}),h=0;h<u;h++)this.dashboard[h].y===e&&(c[h].cols=s[l],l+=1);this.dashboard=c}},{key:"itemIndex",value:function(e,a){return this.dashboard.findIndex(function(s){return s.y===e&&s.x===a})}},{key:"itemSize",value:function(e,a){return this.dashboard[this.itemIndex(e,a)].cols}},{key:"totalColumns",value:function(e){return this.dashboard.reduce(function(a,s){return s.y===e?a+1:a},0)}},{key:"resetGutter",value:function(){this.el.nativeElement.querySelectorAll(".as-split-gutter").forEach(function(e){e.style.height="auto"})}},{key:"settingValues",value:function(e,a){switch(e){case"column":return this.columnSettings[a].settings;case"row":return this.rowSettings[a].settings;case"global":return this.layoutSetting.settings;default:return[]}}},{key:"layoutSettings",value:function(e,a){var s=this;this.lpm.getPlugin("split").pipe((0,st.w)(function(u){return s.dialog.open(gz,{data:{layout:u,type:e,settingValues:s.settingValues(e,a)}}).afterClosed()}),(0,Q.h)(function(u){return!!u})).subscribe(function(u){switch(e){case"column":s.columnSettings=s.columnSettings.map(function(l,c){return new br(c===a?{settings:u.map(function(h){return new Nt.AttributeValue(h)})}:l)}),console.log(s.columnSettings),s.columnSettingsChange.emit(s.columnSettings);break;case"row":s.rowSettings=s.rowSettings.map(function(l,c){return new br(c===a?{settings:u.map(function(h){return new Nt.AttributeValue(h)})}:l)}),console.log(s.rowSettings),s.rowSettingsChange.emit(s.rowSettings);break;case"global":s.layoutSetting=new br({settings:u.map(function(l){return new Nt.AttributeValue(l)})}),s.layoutSettingChange.emit(s.layoutSetting)}})}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(Yt.MatLegacyDialog),r.\u0275\u0275directiveInject(AE))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-split-layout"]],contentQueries:function(t,e,a){var s;1&t&&(r.\u0275\u0275contentQuery(a,jA,5),r.\u0275\u0275contentQuery(a,PE,5),r.\u0275\u0275contentQuery(a,$A,5)),2&t&&(r.\u0275\u0275queryRefresh(s=r.\u0275\u0275loadQuery())&&(e.gridItemActionsTmpl=s.first),r.\u0275\u0275queryRefresh(s=r.\u0275\u0275loadQuery())&&(e.innerGridItemTmpl=s.first),r.\u0275\u0275queryRefresh(s=r.\u0275\u0275loadQuery())&&(e.extraActionsTmpl=s.first))},viewQuery:function(t,e){var a;1&t&&(r.\u0275\u0275viewQuery(vO,5),r.\u0275\u0275viewQuery(yO,5),r.\u0275\u0275viewQuery(Xy,5)),2&t&&(r.\u0275\u0275queryRefresh(a=r.\u0275\u0275loadQuery())&&(e.mainControls=a.first),r.\u0275\u0275queryRefresh(a=r.\u0275\u0275loadQuery())&&(e.itemHeaders=a),r.\u0275\u0275queryRefresh(a=r.\u0275\u0275loadQuery())&&(e.splitAreas=a))},hostVars:2,hostBindings:function(t,e){2&t&&r.\u0275\u0275classProp("is-nested",e.nested)},inputs:{dashboard:"dashboard",displayMainControls:"displayMainControls",displayItemHeader:"displayItemHeader",nested:"nested",layoutSetting:"layoutSetting",rowSettings:"rowSettings",columnSettings:"columnSettings"},outputs:{itemAdded:"itemAdded",itemRemoved:"itemRemoved",layoutSettingChange:"layoutSettingChange",rowSettingsChange:"rowSettingsChange",columnSettingsChange:"columnSettingsChange"},decls:6,vars:3,consts:[[1,"layout-wrapper"],[1,"main-controls",3,"hidden"],["mainControls",""],[4,"ngTemplateOutlet"],[1,"layout-inner"],["class","rows-wrapper",4,"for"],[1,"rows-wrapper"],[1,"row-controls"],["mat-button","","type","button",3,"matMenuTriggerFor"],["rowActions","matMenu"],["type","button","mat-menu-item","",3,"mousedown"],["type","button","mat-menu-item","",1,"remove-row",3,"mousedown"],[1,"rows-inner"],["unit","percent","direction","horizontal",3,"dragEnd"],[3,"size",4,"for"],[3,"size"],["fxLayout","column","fxFill",""],[1,"grid-item-header",3,"hidden"],["itemHeader",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["fxFlex","",1,"grid-item-inner"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"div",0)(1,"div",1,2),r.\u0275\u0275template(3,L9,1,0,"ng-container",3),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(4,"div",4),r.\u0275\u0275template(5,z9,16,2,"div",5),r.\u0275\u0275elementEnd()()),2&t&&(r.\u0275\u0275advance(1),r.\u0275\u0275property("hidden",!e.displayMainControls),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngTemplateOutlet",e.extraActionsTmpl),r.\u0275\u0275advance(2),r.\u0275\u0275property("for",e.totalRows))},dependencies:[P.NgTemplateOutlet,pi.MatLegacyButton,g_.MatIcon,_a.MatLegacyMenu,_a.MatLegacyMenuItem,_a.MatLegacyMenuTrigger,Wt,Mo,In,Wy,Xy,Vn.ForDirective],styles:[".layout-wrapper[_ngcontent-%COMP%], .layout-inner[_ngcontent-%COMP%]{height:100%}.grid-item-header[_ngcontent-%COMP%]{padding:0;display:flex;align-items:baseline}button.delete[_ngcontent-%COMP%]{float:right}.main-controls[_ngcontent-%COMP%]{display:flex;padding:0;align-items:baseline}.rows-inner[_ngcontent-%COMP%]{height:auto;background-color:#fff}.row-controls[_ngcontent-%COMP%]{background-color:gray;padding:0}.remove-row[_ngcontent-%COMP%]{float:right}.is-nested[_nghost-%COMP%] .layout-wrapper[_ngcontent-%COMP%]{padding:0 .25em;border:1px solid #ccc}.mat-menu-trigger[_ngcontent-%COMP%]{min-width:0;padding:0;margin:0;color:#fff}.mat-menu-trigger[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{transform:rotate(-90deg)}"]}),o}(),wO=function(o){(0,z.Z)(t,o);var n=(0,H.Z)(t);function t(e){var a;if((0,f.Z)(this,t),(a=n.call(this,e)).settings=new Map,e.settings){var s=[];a.renderer=e.renderer,a.editor=e.editor,e.settings.forEach(function(u,l){s.push([l,u.map(function(c){return new Nt.Attribute(c)})])}),a.settings=new Map(s)}return a}return(0,y.Z)(t)}(Rn.Plugin),SO=function(){var o=function(){function n(t,e,a,s){(0,f.Z)(this,n),this.siteName=t,this.authFacade=e,this.controlContainer=a,this.close=new r.EventEmitter,this.panelPageListItemsService=s.getEntityCollectionService("PanelPageListItem")}return(0,y.Z)(n,[{key:"ngOnInit",value:function(){this.panelPageListItems$=this.panelPageListItemsService.getWithQuery("site=".concat(encodeURIComponent('{"term":{"site.keyword":{"value":"'.concat(this.siteName,'"}}}')))),this.isAuthenticated$=this.authFacade.getUser$.pipe((0,Ce.U)(function(e){return!!e}))}},{key:"login",value:function(){this.authFacade.login()}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Vn.SITE_NAME),r.\u0275\u0275directiveInject(_i),r.\u0275\u0275directiveInject(v.ControlContainer),r.\u0275\u0275directiveInject(Dr))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["druid-layout-sidenav"]],outputs:{close:"close"},ngContentSelectors:K9,decls:12,vars:6,consts:[[1,"close-wrapper"],[3,"click"],["type","button","class","login","mat-button","",3,"click",4,"ngIf"],[1,"viewport-container"],["appendOnly","","itemSize","48",1,"viewport"],["class","pp-item",4,"cdkVirtualFor","cdkVirtualForOf"],["type","button","mat-button","",1,"login",3,"click"],[1,"pp-item"],[3,"routerLink"]],template:function(t,e){1&t&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275elementStart(0,"div",0)(1,"mat-icon",1),r.\u0275\u0275listener("click",function(){return e.close.emit()}),r.\u0275\u0275text(2,"close"),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(3,G9,2,0,"button",2),r.\u0275\u0275pipe(4,"async"),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(5,"mat-divider"),r.\u0275\u0275projection(6),r.\u0275\u0275element(7,"mat-divider"),r.\u0275\u0275elementStart(8,"div",3)(9,"cdk-virtual-scroll-viewport",4),r.\u0275\u0275template(10,q9,3,4,"div",5),r.\u0275\u0275pipe(11,"async"),r.\u0275\u0275elementEnd()()),2&t&&(r.\u0275\u0275advance(3),r.\u0275\u0275property("ngIf",!r.\u0275\u0275pipeBind1(4,2,e.isAuthenticated$)),r.\u0275\u0275advance(7),r.\u0275\u0275property("cdkVirtualForOf",r.\u0275\u0275pipeBind1(11,4,e.panelPageListItems$)))},dependencies:[P.NgIf,dr.RouterLink,pi.MatLegacyButton,k9.MatDivider,g_.MatIcon,tp.CdkFixedSizeVirtualScroll,tp.CdkVirtualForOf,tp.CdkVirtualScrollViewport,P.AsyncPipe],styles:["[_nghost-%COMP%]{height:100%;display:flex;flex-direction:column}.close-wrapper[_ngcontent-%COMP%]{padding:16px 16px 0;position:relative}.login[_ngcontent-%COMP%]{position:absolute;top:7px;right:5px}.pp-item[_ngcontent-%COMP%]{line-height:48px}.viewport[_ngcontent-%COMP%]{height:100%;width:300px}.viewport-container[_ngcontent-%COMP%]{flex:1;padding:0 0 0 16px;box-sizing:border-box}"]}),o}(),vz=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(a,s,u,l){var c;return(0,f.Z)(this,e),(c=t.call(this,u)).siteName=a,c.authFacade=s,c.controlContainer=u,c.panelPageListItemsService=l.getEntityCollectionService("PanelPageListItem"),c}return(0,y.Z)(e,[{key:"ngOnInit",value:function(){this.panelPageListItems$=this.panelPageListItemsService.getWithQuery("site=".concat(encodeURIComponent('{"term":{"site.keyword":{"value":"'.concat(this.siteName,'"}}}')))),this.isAuthenticated$=this.authFacade.getUser$.pipe((0,Ce.U)(function(s){return!!s}))}},{key:"login",value:function(){this.authFacade.login()}}]),e}(qI);return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Vn.SITE_NAME),r.\u0275\u0275directiveInject(_i),r.\u0275\u0275directiveInject(v.ControlContainer),r.\u0275\u0275directiveInject(Dr))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-gridless-layout-editor"]],features:[r.\u0275\u0275InheritDefinitionFeature],decls:42,vars:19,consts:[["autosize","",3,"hasBackdrop"],["fixedInViewport","","mode","over"],["drawer",""],[3,"close"],[4,"ngIf"],["type","button","mat-menu-item","",3,"mousedown","touchstart"],["cdkDropListGroup","",3,"formGroup","nested"],["extraActions",""],["gridItemActions",""],["innerGridItem",""],["topActions","matMenu"],["mat-menu-item","","type","submit",3,"click",4,"ngIf"],["type","button","mat-menu-item","",3,"click",4,"ngIf"],["type","button","mat-menu-item","",3,"mousedown",4,"ngIf"],["mat-menu-item","","type","button",3,"mousedown","touchstart",4,"ngIf"],["mat-menu-item","","type","submit",3,"click"],["type","button","mat-menu-item","",3,"click"],["type","button","mat-menu-item","",3,"mousedown"],["mat-menu-item","","type","button",3,"mousedown","touchstart"],["mat-button","","type","button","class","drawer-trigger",3,"click",4,"ngIf"],["mat-button","","type","button",3,"matMenuTriggerFor",4,"ngIf"],["class","style-title",4,"ngIf"],["class","spacer",4,"ngIf"],[4,"ngTemplateOutlet"],[1,"display-type"],["required","","formControlName","displayType"],["value","page"],["value","form"],["value","json"],[1,"layout-type"],["required","","formControlName","layoutType"],["value","grid"],["value","gridless"],["value","split"],["class","brand",4,"ngIf"],["mat-button","","type","button",1,"drawer-trigger",3,"click"],["mat-button","","type","button",3,"matMenuTriggerFor"],[1,"style-title"],[1,"spacer"],[1,"brand"],["cdkDropList","",1,"panel-dropzone",3,"cdkDropListData","multiple","disableClick","change","cdkDropListDropped"],["panes",""],["cdkDrag","",4,"ngFor","ngForOf"],["cdkDrag",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(t,e){if(1&t){var a=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"druid-layout-sidenav",3),r.\u0275\u0275listener("close",function(){r.\u0275\u0275restoreView(a);var u=r.\u0275\u0275reference(2);return r.\u0275\u0275resetView(u.toggle())}),r.\u0275\u0275elementStart(4,"nav")(5,"ul"),r.\u0275\u0275template(6,W9,3,0,"li",4),r.\u0275\u0275template(7,X9,3,0,"li",4),r.\u0275\u0275template(8,Q9,3,0,"li",4),r.\u0275\u0275template(9,Y9,3,0,"li",4),r.\u0275\u0275template(10,J9,3,0,"li",4),r.\u0275\u0275template(11,eU,3,0,"li",4),r.\u0275\u0275elementStart(12,"li")(13,"button",5),r.\u0275\u0275listener("mousedown",function(){return e.editor.addContent(0)})("touchstart",function(){return e.editor.addContent(0)}),r.\u0275\u0275text(14,"Add Content"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(15,"li")(16,"button",5),r.\u0275\u0275listener("mousedown",function(){return e.editor.editPanelProps(0)})("touchstart",function(){return e.editor.editPanelProps(0)}),r.\u0275\u0275text(17,"Props"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275template(18,tU,3,0,"li",4),r.\u0275\u0275template(19,nU,3,0,"li",4),r.\u0275\u0275elementEnd()()()(),r.\u0275\u0275elementStart(20,"mat-sidenav-content")(21,"classifieds-ui-gridless-layout",6),r.\u0275\u0275template(22,pU,26,7,"ng-template",null,7,r.\u0275\u0275templateRefExtractor),r.\u0275\u0275template(24,mU,1,1,"ng-template",null,8,r.\u0275\u0275templateRefExtractor),r.\u0275\u0275template(26,vU,4,4,"ng-template",null,9,r.\u0275\u0275templateRefExtractor),r.\u0275\u0275elementEnd()()(),r.\u0275\u0275elementStart(28,"mat-menu",null,10),r.\u0275\u0275template(30,yU,2,0,"button",11),r.\u0275\u0275template(31,_U,2,0,"button",12),r.\u0275\u0275template(32,xU,2,0,"button",12),r.\u0275\u0275template(33,bU,2,0,"button",12),r.\u0275\u0275template(34,CU,2,0,"button",13),r.\u0275\u0275template(35,wU,2,0,"button",13),r.\u0275\u0275elementStart(36,"button",5),r.\u0275\u0275listener("mousedown",function(){return e.editor.addContent(0)})("touchstart",function(){return e.editor.addContent(0)}),r.\u0275\u0275text(37,"Add Content"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(38,"button",5),r.\u0275\u0275listener("mousedown",function(){return e.editor.editPanelProps(0)})("touchstart",function(){return e.editor.editPanelProps(0)}),r.\u0275\u0275text(39,"Props"),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(40,SU,2,0,"button",14),r.\u0275\u0275template(41,EU,2,0,"button",14),r.\u0275\u0275elementEnd()}2&t&&(r.\u0275\u0275property("hasBackdrop",!1),r.\u0275\u0275advance(6),r.\u0275\u0275property("ngIf",e.savable),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",e.savable||e.nested),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",e.nested),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",e.nested),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",e.savable),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",e.savable),r.\u0275\u0275advance(7),r.\u0275\u0275property("ngIf",!e.editor.hasPanelStyle(0)),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",e.editor.hasPanelStyle(0)),r.\u0275\u0275advance(2),r.\u0275\u0275property("formGroup",e.controlContainer.control)("nested",e.nested),r.\u0275\u0275advance(9),r.\u0275\u0275property("ngIf",e.savable),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",e.savable||e.nested),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",e.nested),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",e.nested),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",e.savable),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",e.savable),r.\u0275\u0275advance(5),r.\u0275\u0275property("ngIf",!e.editor.hasPanelStyle(0)),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",e.editor.hasPanelStyle(0)))},dependencies:[P.NgForOf,P.NgIf,P.NgTemplateOutlet,v.NgControlStatus,v.NgControlStatusGroup,v.RequiredValidator,v.FormGroupDirective,v.FormControlName,Fl.CdkDropList,Fl.CdkDropListGroup,Fl.CdkDrag,bi.MatLegacyOption,pi.MatLegacyButton,g_.MatIcon,En.MatLegacyFormField,_a.MatLegacyMenu,_a.MatLegacyMenuItem,_a.MatLegacyMenuTrigger,Fi.MatLegacySelect,ep.MatSidenav,ep.MatSidenavContainer,ep.MatSidenavContent,SE,bO,SO],styles:[".layout-type[_ngcontent-%COMP%] .mat-form-field-wrapper, .display-type[_ngcontent-%COMP%] .mat-form-field-wrapper{padding-bottom:0}.layout-type[_ngcontent-%COMP%] .mat-form-field-label-wrapper, .display-type[_ngcontent-%COMP%] .mat-form-field-label-wrapper{display:none}.layout-type[_ngcontent-%COMP%] .mat-form-field-infix, .display-type[_ngcontent-%COMP%] .mat-form-field-infix{border-top:none;padding:0;margin:0}.layout-type[_ngcontent-%COMP%] .mat-form-field, .display-type[_ngcontent-%COMP%] .mat-form-field{width:70px}.layout-type[_ngcontent-%COMP%] .mat-select-value, .display-type[_ngcontent-%COMP%] .mat-select-value{text-align:right}.layout-type[_ngcontent-%COMP%] .mat-form-field-underline, .display-type[_ngcontent-%COMP%] .mat-form-field-underline{display:none}.mat-menu-trigger[_ngcontent-%COMP%]{min-width:0;padding:0;margin:0}.cdk-drag[_ngcontent-%COMP%]{padding:.25em}.brand[_ngcontent-%COMP%]{font-family:sans-serif;text-align:right;flex:1;letter-spacing:.2em;font-weight:lighter;color:#c82913}.spacer[_ngcontent-%COMP%]{flex:1}.style-title[_ngcontent-%COMP%]{font-family:sans-serif;font-weight:500;text-transform:lowercase;color:#000}.mat-icon[_ngcontent-%COMP%]{color:#000}.drawer-trigger[_ngcontent-%COMP%]{min-width:0;padding:0;margin:0}"]}),o}(),yz=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(a){var s;return(0,f.Z)(this,e),(s=t.call(this,a)).controlContainer=a,s}return(0,y.Z)(e,[{key:"ngOnInit",value:function(){}}]),e}(KI);return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.ControlContainer,8))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-gridless-layout-renderer"]],features:[r.\u0275\u0275InheritDefinitionFeature],decls:3,vars:2,consts:[[3,"displayMainControls","displayItemHeader"],["innerGridItem",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"classifieds-ui-gridless-layout",0),r.\u0275\u0275template(1,AU,1,4,"ng-template",null,1,r.\u0275\u0275templateRefExtractor),r.\u0275\u0275elementEnd()),2&t&&r.\u0275\u0275property("displayMainControls",e.displayMainControls)("displayItemHeader",e.displayItemHeader)},dependencies:[P.NgTemplateOutlet,bO],styles:["[_nghost-%COMP%]{height:100%}"]}),o}(),_z=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(a){var s;return(0,f.Z)(this,e),(s=t.call(this,a)).controlContainer=a,s}return(0,y.Z)(e,[{key:"gridItems",get:function(){return this.dashboard.map(function(s,u){return(0,b.Z)((0,b.Z)({},s),{},{cols:Math.floor(s.cols),weight:u})})}},{key:"ngOnInit",value:function(){}}]),e}(qI);return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.ControlContainer))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-split-layout-editor"]],features:[r.\u0275\u0275InheritDefinitionFeature],decls:42,vars:17,consts:[["autosize","",3,"hasBackdrop"],["fixedInViewport","","mode","over"],["drawer",""],[3,"close"],[4,"ngIf"],["type","button","mat-menu-item","",3,"mousedown"],["type","button","mat-menu-item","",3,"click"],["cdkDropListGroup","",3,"nested","formGroup","dashboard","layoutSetting","rowSettings","columnSettings","itemAdded","itemRemoved","layoutSettingChange","rowSettingsChange","columnSettingsChange"],["splitLayout",""],["extraActions",""],["gridItemActions",""],["innerGridItem",""],["topActions","matMenu"],["mat-menu-item","","type","submit",3,"click",4,"ngIf"],["mat-menu-item","","type","button",3,"click",4,"ngIf"],["type","button","mat-menu-item","",3,"mousedown",4,"ngIf"],["mat-menu-item","","type","submit",3,"click"],["mat-menu-item","","type","button",3,"click"],["mat-button","","type","button","class","drawer-trigger",3,"click",4,"ngIf"],["mat-button","","type","button",3,"matMenuTriggerFor",4,"ngIf"],["class","spacer",4,"ngIf"],[1,"display-type"],["required","","formControlName","displayType"],["value","page"],["value","form"],["value","json"],[1,"layout-type"],["required","","formControlName","layoutType"],["value","gridless"],["value","split"],[4,"ngTemplateOutlet"],["class","brand",4,"ngIf"],["mat-button","","type","button",1,"drawer-trigger",3,"click"],["mat-button","","type","button",3,"matMenuTriggerFor"],[1,"spacer"],[1,"brand"],["mat-button","","type","button",1,"panel-actions-btn",3,"matMenuTriggerFor"],["panelActions","matMenu"],["type","button","mat-menu-item","",3,"mousedown","touchstart"],["mat-menu-item","","type","button",3,"mousedown","touchstart",4,"ngIf"],["type","button","mat-menu-item","",1,"delete",3,"mousedown","touchstart"],["class","style-title",4,"ngIf"],["mat-menu-item","","type","button",3,"mousedown","touchstart"],[1,"style-title"],["cdkDropList","",1,"panel-dropzone",3,"cdkDropListData","multiple","disableClick","change","cdkDropListDropped"],["panes",""],["cdkDrag","",4,"ngFor","ngForOf"],["cdkDrag",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(t,e){if(1&t){var a=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"druid-layout-sidenav",3),r.\u0275\u0275listener("close",function(){r.\u0275\u0275restoreView(a);var u=r.\u0275\u0275reference(2);return r.\u0275\u0275resetView(u.toggle())}),r.\u0275\u0275elementStart(4,"nav")(5,"ul"),r.\u0275\u0275template(6,kU,3,0,"li",4),r.\u0275\u0275elementStart(7,"li")(8,"button",5),r.\u0275\u0275listener("mousedown",function(){r.\u0275\u0275restoreView(a);var u=r.\u0275\u0275reference(22);return r.\u0275\u0275resetView(u.addRow())}),r.\u0275\u0275text(9,"Add Row"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(10,"li")(11,"button",6),r.\u0275\u0275listener("click",function(){return e.editor.onPropertiesClick()}),r.\u0275\u0275text(12,"Props"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(13,"li")(14,"button",5),r.\u0275\u0275listener("mousedown",function(){r.\u0275\u0275restoreView(a);var u=r.\u0275\u0275reference(22);return r.\u0275\u0275resetView(u.layoutSettings("global"))}),r.\u0275\u0275text(15,"Layout Settings"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275template(16,RU,3,0,"li",4),r.\u0275\u0275template(17,DU,3,0,"li",4),r.\u0275\u0275template(18,TU,3,0,"li",4),r.\u0275\u0275template(19,IU,3,0,"li",4),r.\u0275\u0275elementEnd()()()(),r.\u0275\u0275elementStart(20,"mat-sidenav-content")(21,"classifieds-ui-split-layout",7,8),r.\u0275\u0275listener("itemAdded",function(){return e.editor.onItemAdded()})("itemRemoved",function(u){return e.editor.onItemRemoved(u)})("layoutSettingChange",function(u){return e.editor.onLayoutSettingChange(u)})("rowSettingsChange",function(u){return e.editor.onRowSettingsChange(u)})("columnSettingsChange",function(u){return e.editor.onColumnSettingsChange(u)}),r.\u0275\u0275template(23,LU,23,6,"ng-template",null,9,r.\u0275\u0275templateRefExtractor),r.\u0275\u0275template(25,zU,16,4,"ng-template",null,10,r.\u0275\u0275templateRefExtractor),r.\u0275\u0275template(27,qU,4,4,"ng-template",null,11,r.\u0275\u0275templateRefExtractor),r.\u0275\u0275elementEnd()()(),r.\u0275\u0275elementStart(29,"mat-menu",null,12),r.\u0275\u0275template(31,KU,2,0,"button",13),r.\u0275\u0275elementStart(32,"button",5),r.\u0275\u0275listener("mousedown",function(){r.\u0275\u0275restoreView(a);var u=r.\u0275\u0275reference(22);return r.\u0275\u0275resetView(u.addRow())}),r.\u0275\u0275text(33,"Add Row"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(34,"button",6),r.\u0275\u0275listener("click",function(){return e.editor.onPropertiesClick()}),r.\u0275\u0275text(35,"Props"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(36,"button",5),r.\u0275\u0275listener("mousedown",function(){r.\u0275\u0275restoreView(a);var u=r.\u0275\u0275reference(22);return r.\u0275\u0275resetView(u.layoutSettings("global"))}),r.\u0275\u0275text(37,"Layout Settings"),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(38,WU,2,0,"button",14),r.\u0275\u0275template(39,XU,2,0,"button",15),r.\u0275\u0275template(40,QU,2,0,"button",15),r.\u0275\u0275template(41,YU,2,0,"button",14),r.\u0275\u0275elementEnd()}2&t&&(r.\u0275\u0275property("hasBackdrop",!1),r.\u0275\u0275advance(6),r.\u0275\u0275property("ngIf",e.savable),r.\u0275\u0275advance(10),r.\u0275\u0275property("ngIf",e.nested),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",e.savable),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",e.savable),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",e.nested),r.\u0275\u0275advance(2),r.\u0275\u0275property("nested",e.nested)("formGroup",e.controlContainer.control)("dashboard",e.dashboard)("layoutSetting",e.layoutSetting)("rowSettings",e.rowSettings)("columnSettings",e.columnSettings),r.\u0275\u0275advance(10),r.\u0275\u0275property("ngIf",e.savable),r.\u0275\u0275advance(7),r.\u0275\u0275property("ngIf",e.nested),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",e.savable),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",e.savable),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",e.nested))},dependencies:[P.NgForOf,P.NgIf,P.NgTemplateOutlet,v.NgControlStatus,v.NgControlStatusGroup,v.RequiredValidator,v.FormGroupDirective,v.FormControlName,Fl.CdkDropList,Fl.CdkDropListGroup,Fl.CdkDrag,bi.MatLegacyOption,pi.MatLegacyButton,g_.MatIcon,En.MatLegacyFormField,_a.MatLegacyMenu,_a.MatLegacyMenuItem,_a.MatLegacyMenuTrigger,Fi.MatLegacySelect,ep.MatSidenav,ep.MatSidenavContainer,ep.MatSidenavContent,SE,CO,SO],styles:[".layout-type[_ngcontent-%COMP%] .mat-form-field-wrapper, .display-type[_ngcontent-%COMP%] .mat-form-field-wrapper{padding-bottom:0}.layout-type[_ngcontent-%COMP%] .mat-form-field-label-wrapper, .display-type[_ngcontent-%COMP%] .mat-form-field-label-wrapper{display:none}.layout-type[_ngcontent-%COMP%] .mat-form-field-infix, .display-type[_ngcontent-%COMP%] .mat-form-field-infix{border-top:none;padding:0;margin:0}.layout-type[_ngcontent-%COMP%] .mat-form-field, .display-type[_ngcontent-%COMP%] .mat-form-field{width:70px}.layout-type[_ngcontent-%COMP%] .mat-select-value, .display-type[_ngcontent-%COMP%] .mat-select-value{text-align:right}.layout-type[_ngcontent-%COMP%] .mat-form-field-underline, .display-type[_ngcontent-%COMP%] .mat-form-field-underline{display:none}.mat-menu-trigger[_ngcontent-%COMP%]{min-width:0;padding:0;margin:0}.cdk-drag[_ngcontent-%COMP%]{padding:.25em}.panel-actions-btn[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{transform:rotate(-90deg)}.brand[_ngcontent-%COMP%]{font-family:sans-serif;text-align:right;flex:1;letter-spacing:.2em;font-weight:lighter;color:#c82913}.spacer[_ngcontent-%COMP%]{flex:1}.style-title[_ngcontent-%COMP%]{font-family:sans-serif;font-weight:500;text-transform:lowercase;color:#000}.drawer-trigger[_ngcontent-%COMP%]{min-width:0;padding:0;margin:0}"]}),o}(),xz=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(a){var s;return(0,f.Z)(this,e),(s=t.call(this,a)).controlContainer=a,s}return(0,y.Z)(e,[{key:"ngOnInit",value:function(){}}]),e}(KI);return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.ControlContainer,8))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-flex-layout-renderer"]],features:[r.\u0275\u0275InheritDefinitionFeature],decls:3,vars:4,consts:[[3,"dashboard","layoutSetting","rowSettings","columnSettings"],["innerGridItem",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"classifieds-ui-flex-layout",0),r.\u0275\u0275template(1,ez,1,4,"ng-template",null,1,r.\u0275\u0275templateRefExtractor),r.\u0275\u0275elementEnd()),2&t&&r.\u0275\u0275property("dashboard",null==e.panelPage?null:e.panelPage.gridItems)("layoutSetting",e.panelPage.layoutSetting)("rowSettings",e.panelPage.rowSettings)("columnSettings",e.columnSettings)},dependencies:[P.NgTemplateOutlet,mz],encapsulation:2}),o}(),bz=function(){var n=new Map([["row",[new Nt.Attribute({name:"flexGrow",type:Nt.AttributeTypes.Text,label:"Flex Grow",required:!1,widget:"text",options:{},attributes:[]}),new Nt.Attribute({name:"flexShrink",type:Nt.AttributeTypes.Text,label:"Flex Shrink",required:!1,widget:"text",options:{},attributes:[]}),new Nt.Attribute({name:"flexBasis",type:Nt.AttributeTypes.Text,label:"Flex Basis",required:!1,widget:"text",options:{},attributes:[]}),new Nt.Attribute({name:"height",type:Nt.AttributeTypes.Text,label:"Height",required:!1,widget:"text",options:{},attributes:[]}),new Nt.Attribute({name:"direction",type:Nt.AttributeTypes.Text,label:"Direction",required:!1,widget:"text",options:{},attributes:[]})]],["column",[new Nt.Attribute({name:"height",type:Nt.AttributeTypes.Text,label:"Height",required:!1,widget:"text",options:{},attributes:[]})]],["global",[new Nt.Attribute({name:"direction",type:Nt.AttributeTypes.Text,label:"Direction",required:!1,widget:"text",options:{},attributes:[]})]]]);return new wO({id:"split",title:"Split",editor:_z,renderer:xz,settings:n})},EO=function(){var o=(0,y.Z)(function n(t){(0,f.Z)(this,n),[bz(),new wO({id:"gridless",title:"Gridless",editor:vz,renderer:yz,settings:new Map})].forEach(function(e){t.register(e)})});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(AE))},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({imports:[P.CommonModule,v.FormsModule,dr.RouterModule,v.ReactiveFormsModule,Oi.MaterialModule,oi,sE,gO,EE,Vn.UtilsModule,Hy,Nt.AttributesModule]}),o}();function wz(o,n){if(1&o&&r.\u0275\u0275element(0,"ngx-json-viewer",12),2&o){var t=r.\u0275\u0275nextContext();r.\u0275\u0275property("json",t.jsonData)("expanded",!1)}}var kE=(0,y.Z)(function o(n){(0,f.Z)(this,o),this.params=[],n&&(this.url=n.url,this.method=n.method?n.method:void 0,void 0!==n.renderer&&(this.renderer=new cA(n.renderer)),void 0!==n.params&&(this.params=n.params.map(function(t){return new Mi(t)})),n.body&&(this.body=new El(n.body)))}),v_=function(){var o=function(){function n(t,e,a){var s=this;(0,f.Z)(this,n),this.fb=t,this.datasourceApi=e,this.tokenizerService=a,this.dataChange=new r.EventEmitter,this.contexts=[],this.sourceForm=this.fb.group({url:this.fb.control("",v.Validators.required),params:this.fb.control([]),body:this.fb.control(""),method:this.fb.control("get",[v.Validators.required])}),this.restSource$=new U.X(new kE),this.componentDestroyed=new ae.x,this.refreshData$=new ae.x,this.refreshSubscription=this.refreshData$.pipe((0,Ce.U)(function(){return s.generateUrl()}),(0,te.b)(function(u){return console.log(u)}),(0,Q.h)(function(u){return u&&""!==u.trim()}),(0,st.w)(function(u){return s.datasourceApi.getData(u).pipe((0,si.K)(function(l){return console.log(l),(0,Le.of)([])}))}),(0,Qr.R)(this.componentDestroyed)).subscribe(function(u){s.jsonData=u,s.dataChange.emit(u)}),this.urlChangeSub=this.sourceForm.get("url").valueChanges.pipe((0,Ar.b)(500),(0,Q.h)(function(u){return u&&""!==u.trim()}),(0,Ce.U)(function(u){return[u,u.indexOf("?")]}),(0,Ce.U)(function(u){var l=(0,g.Z)(u,2),c=l[0],h=l[1];return[h>-1?c.substring(0,h):c,h>-1?c.substring(h+1):""]})).subscribe(function(u){var l=(0,g.Z)(u,2),h=l[1],C=l[0].split("/").reduce(function(N,F,$){return 0===F.indexOf(":")?(0,b.Z)((0,b.Z)({},N),{},(0,d.Z)({},F.substr(1),F)):N},{}),T=(0,b.Z)((0,b.Z)({},C),Fa.parse(h));s.paramsParsed=T}),this.restSourceSub=this.restSource$.pipe((0,te.b)(function(u){u?(s.sourceForm.get("url").setValue(u.url),s.sourceForm.get("method").setValue(u.method?u.method:""),s.sourceForm.get("body").setValue(u.body?(0,b.Z)((0,b.Z)({},u.body),{},{jsScript:""}):"")):(s.sourceForm.get("url").setValue(""),s.sourceForm.get("method").setValue(""),s.sourceForm.get("body").setValue(""))})).subscribe(),this.onTouched=function(){}}return(0,y.Z)(n,[{key:"restSource",set:function(e){this.restSource$.next(e)}},{key:"ngOnInit",value:function(){var e=this;this.sourceForm.valueChanges.pipe((0,Ar.b)(1e3)).subscribe(function(){console.log("refresh data"),e.refreshData$.next(void 0)})}},{key:"ngOnDestroy",value:function(){this.componentDestroyed.next(void 0),this.componentDestroyed.complete()}},{key:"writeValue",value:function(e){e&&this.sourceForm.setValue(e,{emitEvent:!1})}},{key:"registerOnChange",value:function(e){this.sourceForm.valueChanges.subscribe(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){e?this.sourceForm.disable():this.sourceForm.enable()}},{key:"validate",value:function(e){return this.sourceForm.valid?null:{invalidForm:{valid:!1,message:"source is invalid"}}}},{key:"generateUrl",value:function(){console.log("generate url");for(var e=this.sourceForm.get("url").value,a=e?e.split("?",2):["",""],s=(0,g.Z)(a,2),u=s[0],l=s[1],c=Fa.parse(l),h={},C=u.split("/"),T=C.length,N=[],F=0,$=0;$<T;$++)if(0===C[$].indexOf(":")){if(!this.sourceForm.get("params").value[F])return"";var se=this.sourceForm.get("params").value[F].mapping;N.push("static"===se.value.type?se.value.value:se.value.testValue),F++}else N.push(C[$]);for(var ue in c)if("string"==typeof c[ue]&&c[ue].indexOf(":")>-1){if(!this.sourceForm.get("params").value[F])return"";var ge=this.sourceForm.get("params").value[F].mapping;h[ue]="static"===ge.type?ge.value:ge.testValue,F++}var Se=N.join("/")+(""!==l?"?"+Fa.stringify((0,b.Z)((0,b.Z)({},c),h)):"");return console.log(Se),Se}},{key:"onDataChange",value:function(e){this.tokens=this.tokenizerService.generateGenericTokens(e[0])}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(iI),r.\u0275\u0275directiveInject(Pr))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-rest-source-form"]],inputs:{restSource:"restSource",contexts:"contexts"},outputs:{dataChange:"dataChange"},features:[r.\u0275\u0275ProvidersFeature([{provide:v.NG_VALUE_ACCESSOR,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0},{provide:v.NG_VALIDATORS,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0}])],decls:19,vars:7,consts:[["direction","horizontal",3,"formGroup"],["as-split-area","","size","50"],["required","","formControlName","method"],["value","get"],["value","post"],["value","put"],["value","delete"],["matInput","","placeholder","Url","formControlName","url","required",""],["formControlName","body","rows","10","cols","40",3,"rootForm","tokens"],["formControlName","params",3,"params","paramValues","contexts"],["size","50"],[3,"json","expanded",4,"ngIf"],[3,"json","expanded"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"as-split",0)(1,"div",1)(2,"div")(3,"mat-form-field")(4,"mat-select",2)(5,"mat-option",3),r.\u0275\u0275text(6,"GET"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(7,"mat-option",4),r.\u0275\u0275text(8,"POST"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(9,"mat-option",5),r.\u0275\u0275text(10,"PUT"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(11,"mat-option",6),r.\u0275\u0275text(12,"DELETE"),r.\u0275\u0275elementEnd()()(),r.\u0275\u0275elementStart(13,"mat-form-field"),r.\u0275\u0275element(14,"input",7),r.\u0275\u0275elementEnd()(),r.\u0275\u0275element(15,"classifieds-ui-snippet-form",8)(16,"classifieds-ui-params-form",9),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(17,"as-split-area",10),r.\u0275\u0275template(18,wz,1,2,"ngx-json-viewer",11),r.\u0275\u0275elementEnd()()),2&t&&(r.\u0275\u0275property("formGroup",e.sourceForm),r.\u0275\u0275advance(15),r.\u0275\u0275property("rootForm",!1)("tokens",e.tokens),r.\u0275\u0275advance(1),r.\u0275\u0275property("params",e.paramsParsed)("paramValues",e.restSource$.value.params)("contexts",e.contexts),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngIf",e.jsonData))},dependencies:[P.NgIf,v.DefaultValueAccessor,v.NgControlStatus,v.NgControlStatusGroup,v.RequiredValidator,v.FormGroupDirective,v.FormControlName,bi.MatLegacyOption,En.MatLegacyFormField,Hr.MatLegacyInput,Fi.MatLegacySelect,Wy,Xy,r0,mE,e_]}),o}(),Sz=function(){var o=function(){function n(t,e){(0,f.Z)(this,n),this.attributeSerializer=t,this.controlContainer=e,this.contexts=[]}return(0,y.Z)(n,[{key:"settings",set:function(e){this.restSource=e?new kE(this.attributeSerializer.deserializeAsObject(e)):void 0}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Nt.AttributeSerializerService),r.\u0275\u0275directiveInject(v.ControlContainer))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-rest-datasource"]],inputs:{settings:"settings",contexts:"contexts"},decls:2,vars:3,consts:[[3,"formGroup"],["formControlName","settings",3,"restSource","contexts"]],template:function(t,e){1&t&&(r.\u0275\u0275elementContainerStart(0,0),r.\u0275\u0275element(1,"classifieds-ui-rest-source-form",1),r.\u0275\u0275elementContainerEnd()),2&t&&(r.\u0275\u0275property("formGroup",e.controlContainer.control),r.\u0275\u0275advance(1),r.\u0275\u0275property("restSource",e.restSource)("contexts",e.contexts))},dependencies:[v.NgControlStatus,v.NgControlStatusGroup,v.FormGroupDirective,v.FormControlName,v_],encapsulation:2}),o}(),y_=function(n){var h,t=n.method,e=n.url,a=n.data,s=n.options,u=n.params,l=n.http;if(a instanceof Error)return(0,Le.of)([]);switch(t){case"DELETE":h=l.delete(e,s),u.has("saveDelay")&&(h=h.pipe((0,Rr.g)(+u.get("saveDelay"))));break;case"GET":var C=u.has("suffix")?e+u.get("suffix"):e;h=l.get(C,s),u.has("getDelay")&&(h=h.pipe((0,Rr.g)(+u.get("getDelay"))));break;case"POST":h=l.post(e,a,s),u.has("saveDelay")&&(h=h.pipe((0,Rr.g)(+u.get("saveDelay"))));break;case"PUT":h=l.put(e,a,s),u.has("saveDelay")&&(h=h.pipe((0,Rr.g)(+u.get("saveDelay"))));break;default:var T=new Error("Unimplemented HTTP method, "+t);h=(0,$a._)(T)}return u.has("timeout")&&(h=h.pipe((0,Wi.V)(+u.get("timeout")+ +u.get("saveDelay")))),h.pipe((0,si.K)(function(){return(0,Le.of)([])}))},PO=function(){var o=function(){function n(t,e,a,s){(0,f.Z)(this,n),this.attrbuteSerializer=t,this.http=e,this.snippetParserService=a,this.urlGenerator=s}return(0,y.Z)(n,[{key:"fetchDataset",value:function(e){var a=this,s=e.settings,u=e.metadata;return(0,Le.of)(new pr).pipe((0,te.b)(function(){return console.log("START rest fetch")}),(0,Ce.U)(function(){return a.attrbuteSerializer.deserializeAsObject(s)}),(0,Ce.U)(function(l){return new kE(l)}),(0,st.w)(function(l){return a.urlGenerator.getUrl(l.url,l.params,u).pipe((0,Ce.U)(function(c){return new kE((0,b.Z)((0,b.Z)({},l),{},{url:c}))}))}),(0,Q.h)(function(l){return l.url&&""!==l.url.trim()&&l.url.indexOf("http")>-1}),(0,st.w)(function(l){return y_({url:l.url,method:"POST"===l.method.toUpperCase()?"POST":"GET",http:a.http,params:new Map}).pipe((0,si.K)(function(){return(0,Le.of)([])}),(0,Ce.U)(function(c){return Array.isArray(c)?c:[c]}),(0,Ce.U)(function(c){return new pr({results:c})}))}),(0,te.b)(function(){return console.log("END rest fetch")}))}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Nt.AttributeSerializerService),r.\u0275\u0275inject(O.HttpClient),r.\u0275\u0275inject(z3),r.\u0275\u0275inject(n_))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),AO=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(a){var s;return(0,f.Z)(this,e),(s=t.call(this,a)).pluralizer2=a,s}return(0,y.Z)(e,[{key:"getResourceUrls",value:function(s,u){var c=arguments.length>2&&void 0!==arguments[2]&&arguments[2]?u:ac(u);return{entityResourceUrl:"".concat(c,"/").concat(s,"/").toLowerCase(),collectionResourceUrl:"".concat(c,"/").concat(this.pluralizer2.pluralize(s),"/").toLowerCase()}}}]),e}(A0);return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(uu))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),Az=function(){var o=(0,y.Z)(function n(t,e,a,s,u,l,c,h,C){(0,f.Z)(this,n),t.register(function(n,t,e){return new ns({id:"rest",title:"Rest",editor:Sz,fetch:function(s){return n.fetchDataset({settings:s.settings,metadata:s.metadata})},editorOptions:function(){return(0,Le.of)(new hE({fullscreen:!0}))},getBindings:function(s){var u=s.settings;return(0,Le.of)([]).pipe((0,Ce.U)(function(){return e.deserializeAsObject(u)}),(0,Ce.U)(function(c){return new Os(c)}),(0,st.w)(function(c){return t.extractContexts(c.params)}),(0,Ce.U)(function(c){return c.map(function(h){return new pn.ContentBinding({id:h,type:"context"})})}))}})}(e,a,s)),u.register(function(n,t,e,a){return new Kd({id:"rest",title:"Rest",create:function(u){var l=u.object,c=u.params;return(0,Le.of)({success:!1}).pipe((0,st.w)(function(){return n.paramValues(new Map(Object.keys(c).map(function(h){return[h,c[h]]})))}),(0,st.w)(function(h){return y_({method:"POST",url:e.entityResource(h.get("entityName"),h.has("root")?h.get("root"):a.root?a.root:"api",!0),data:l||new Error("No entity to add"),params:h,http:t})}),(0,Ce.U)(function(){return{success:!0,entity:l}}))},read:function(u){return Qa(u),(0,Le.of)({success:!1})},update:function(u){var l=u.object,c=u.identity,h=u.params,C=u.parentObject;return(0,Le.of)({success:!1}).pipe((0,st.w)(function(){return c({object:l,parentObject:C})}),(0,st.w)(function(T){var N=T.identity;return n.paramValues(new Map(Object.keys(h).map(function(F){return[F,h[F]]}))).pipe((0,Ce.U)(function(F){return{identity:N,options:F}}))}),(0,st.w)(function(T){var N=T.identity,F=T.options;return y_({method:"PUT",url:e.entityResource(F.get("entityName"),F.has("root")?F.get("root"):a.root?a.root:"api",!0)+"".concat(N),data:l||new Error("No entity to add"),params:F,http:t})}),(0,Ce.U)(function(){return{success:!0,entity:l}}))},delete:function(u){return Qa(u),(0,Le.of)({success:!1})},query:function(u){var l=u.params,c=u.rule;return(0,Le.of)({success:!1}).pipe((0,st.w)(function(){return n.paramValues(new Map(Object.keys(l).map(function(h){return[h,l[h]]})))}),(0,st.w)(function(h){return new W.y(function(C){var T=c?c.conditions.all.reduce(function(F,$){return[].concat((0,_.Z)(F),(0,_.Z)($.any.filter(function(se){return"identity"!==se.fact}).map(function(se){return"".concat(se.path.substr(2),"=").concat(se.value)})))},[]):[],N=c?c.conditions.all.reduce(function(F,$){return F||$.any.find(function(se){return"identity"===se.fact})},void 0):void 0;C.next({identityFact:N,options:h,query:T.length>0?new O.HttpParams({fromString:T.join("&")}):void 0,path:N?N.value:""}),C.complete()})}),(0,st.w)(function(h){var C=h.options,T=h.query,N=h.path,F=h.identityFact;return Or(function(){return!!F},y_({method:"GET",url:e.entityResource(C.get("entityName"),C.has("root")?C.get("root"):a.root?a.root:"api",!0)+N,options:{params:T},params:C,http:t}).pipe((0,Ce.U)(function($){return{success:!0,entities:Array.isArray($)?$:[$]}})),y_({method:"GET",url:e.collectionResource(C.get("entityName"),C.has("root")?C.get("root"):a.root?a.root:"api")+N,options:{params:T},params:C,http:t}).pipe((0,Ce.U)(function($){return{success:!0,entities:$}})))}))}})}(l,c,h,C))});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(co),r.\u0275\u0275inject(PO),r.\u0275\u0275inject(yA),r.\u0275\u0275inject(Nt.AttributeSerializerService),r.\u0275\u0275inject(Pu),r.\u0275\u0275inject(Ts),r.\u0275\u0275inject(O.HttpClient),r.\u0275\u0275inject(AO),r.\u0275\u0275inject(xs))},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({providers:[PO,AO],imports:[P.CommonModule,v.FormsModule,v.ReactiveFormsModule,Oi.MaterialModule,sE,hs,aA,Al,Hy,a_,wu]}),o}(),__=S(87260),zA=S(38369),kz=S(39663),Rz=S(10420),kO=S(1817),RO=S(96607),Tz=function(){var o=(0,y.Z)(function n(){(0,f.Z)(this,n)});return o.\u0275fac=function(t){return new(t||o)},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({}),o}(),np=function(n){var t=n.selector,a=n.document.createDocumentFragment();if(!t||-1!==t.indexOf("undefined"))return!1;try{a.querySelector(t)}catch{return!1}return!0},Iz=/\/\*[\s\S]*?\*\//g,Oz=/([^\:]+):([^\;]*);/,Fz=/(\/\*[\s\S]*?\*\/)|([^\s\;\{\}][^\;\{\}]*(?=\{))|(\})|([^\;\{\}]+\;(?!\s*\*\/))/gim,RE=function(n){return typeof n>"u"||0==n.length||null==n},Mz={ordered:!1,comments:!1,stripComments:!1,split:!1},Nz=function(){var o=function(){function n(t){var e=this;(0,f.Z)(this,n),this.document=t,this.mutate$=new ae.x,this.mutated$=new ae.x,this.mutateSub=this.mutate$.pipe((0,Q.h)(function(a){var s=a.record;return"attributes"===s.type&&"style"===s.attributeName&&!!s.target}),(0,Ar.b)(2e3),(0,st.w)(function(a){return e.mapRecord({record:a.record,overlay:a.overlay})}),(0,te.b)(function(a){return e.mutated$.next({stylesheet:a.stylesheet})})).subscribe()}return(0,y.Z)(n,[{key:"stylize",value:function(e){var a=this,s=e.targetNode,u=new Map;new MutationObserver(function(h){h.forEach(function(C){a.mutate$.next({record:C,overlay:u})})}).observe(s,{childList:!0,attributes:!0,subtree:!0,attributeFilter:["style"],attributeOldValue:!0})}},{key:"mapRecord",value:function(e){var a=this,s=e.record,u=e.overlay;return new W.y(function(l){var c=RO.default(s.target),h=a.toJSON("".concat(c," { ").concat(s.oldValue," }")),C=h.children[c]?Object.keys(h.children[c].attributes).reduce(function(se,ue){return(0,b.Z)((0,b.Z)({},se),{},(0,d.Z)({},Tl(ue.replace("-","_"),!1),h.children[c].attributes[ue]))},{}):void 0,T=Object.keys(s.target.style).reduce(function(se,ue){return!Number.isNaN(parseInt(ue))&&s.target.style.hasOwnProperty(Tl(s.target.style[ue].replace("-","_"),!1))?(0,b.Z)((0,b.Z)({},se),{},(0,d.Z)({},Tl(s.target.style[ue].replace("-","_"),!1),s.target.style[Tl(s.target.style[ue].replace("-","_"),!1)])):se},{}),N=o_(C,T);u.set(c,N);var F=[];u.forEach(function(se,ue){var Se=ue.split(" ").reduce(function(ot,dt,Ot){return-1!==dt.indexOf(".pane-")||-1!==dt.indexOf(".panel-")?{selector:[].concat((0,_.Z)(ot.selector),[dt.replace(/^(.*?)(\.pane-|\.panel-page|\.panel-)([0-9]*)(.*?)$/,"$2$3")]),chars:ot.chars+dt.length,lastIndex:ot.chars+Ot+dt.length}:(0,b.Z)((0,b.Z)({},ot),{},{chars:ot.chars+dt.length})},{selector:[],chars:0,lastIndex:0});if(0!==Se.selector.length){var we=(Se.selector.join(" ")+" "+ue.slice(Se.lastIndex).split(">").join("")).replace(/(\.ng\-[a-zA-Z0-9_-]*)/gm,"").trim();0===we.indexOf(".panel-page")&&(we=we.substr(12).trim()),np({selector:we,document:a.document})&&F.push(we+" { "+Object.keys(se).reduce(function(ot,dt){return dt.match(/^[a-zA-Z-]*$/gm)?"".concat(ot).concat(function Yj(o){return o.replace(/_/g,"-")}(function s_(o){var n=""+o;return n=n.replace(new RegExp("(?:([A-Za-z\\d])|^)("+is().acronymRegex.source+")(?=\\b|[^a-z])","g"),function(t,e,a){return(e||"")+(e?"_":"")+a.toLowerCase()}),(n=(n=(n=n.replace(/([A-Z\d]+)([A-Z][a-z])/g,"$1_$2")).replace(/([a-z\d])([A-Z])/g,"$1_$2")).replace(/-/g,"_")).toLowerCase()}(dt)),": ").concat(se[dt],";"):ot},"")+" }")}});var $=F.join("\n");l.next({stylesheet:$}),l.complete()})}},{key:"toJSON",value:function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Mz,h={children:{},attributes:{}},C=null,T=0;for(a.stripComments&&(a.comments=!1,e=e.replace(Iz,""));null!=(C=Fz.exec(e));)if(!RE(C[1])&&a.comments)h[T++]=C[1].trim();else if(RE(C[2])){if(!RE(C[3]))return h;if(!RE(C[4])){var Se=C[4].trim(),we=Oz.exec(Se);if(we){var He=we[1].trim(),ot=we[2].trim();if(a.ordered)h[T++]={name:He,value:ot,type:"attr"};else if(He in h.attributes){var dt=h.attributes[He];dt instanceof Array||(h.attributes[He]=[dt]),h.attributes[He].push(ot)}else h.attributes[He]=ot}else h[T++]=Se}}else{var N=C[2].trim(),F=this.toJSON(e,a);if(a.ordered)h[T++]={name:N,value:F,type:"rule"};else{var $=a.split?N.split(","):[N];for(var se in $){var ue=$[se].trim();if(ue in h.children)for(var ge in F.attributes)h.children[ue].attributes[ge]=F.attributes[ge];else h.children[ue]=F}}}return h}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(P.DOCUMENT))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),xa=function(){return(xa=xa||{})[xa.KEEP=0]="KEEP",xa[xa.ADD=1]="ADD",xa[xa.REMOVE=2]="REMOVE",xa}(),Vz=function(){var o=function(){function n(t){var e=this;(0,f.Z)(this,n),this.document=t,this.mutate=new ae.x,this.mutated$=new ae.x,this.mutateub=this.mutate.pipe((0,Q.h)(function(a){var s=a.record;return"attributes"===s.type&&"class"===s.attributeName&&!!s.target}),(0,Ar.b)(2e3),(0,st.w)(function(a){var u=a.overlay;return e.mapRecord({record:a.record,overlay:u,originals:a.originals}).pipe((0,si.K)(function(c){return(0,Le.of)({classes:u})}))}),(0,te.b)(function(a){return e.mutated$.next({classes:a.classes})})).subscribe()}return(0,y.Z)(n,[{key:"classify",value:function(e){var a=this,s=e.targetNode,u=new Map,l=new Map;new MutationObserver(function(C){C.forEach(function(T){a.mutate.next({record:T,overlay:u,originals:l})})}).observe(s,{childList:!0,attributes:!0,subtree:!0,attributeFilter:["class"],attributeOldValue:!0})}},{key:"mapRecord",value:function(e){var a=this,s=e.record,u=e.overlay,l=e.originals;return new W.y(function(c){var h=RO.default(s.target),C="",T=s.oldValue.split(" ").map(function(we){return we.trim()}),F=h.split(" ").reduce(function(we,He,ot){return-1!==He.indexOf(".pane-")||-1!==He.indexOf(".panel-")?{selector:[].concat((0,_.Z)(we.selector),[He.replace(/^(.*?)(\.pane-|\.panel-page|\.panel-)([0-9]*)(.*?)$/,"$2$3")]),chars:we.chars+He.length,lastIndex:we.chars+ot+He.length}:(0,b.Z)((0,b.Z)({},we),{},{chars:we.chars+He.length})},{selector:[],chars:0,lastIndex:0});if(0!==F.selector.length){var $=h.substring(F.lastIndex).split(">").map(function(we){return we.trim()}).filter(function(we){return""!==we}).map(function(we,He){var ot=we.indexOf("."),dt=-1===ot?$:we.substring(0,ot),pt=(-1===ot?[]:we.substring(ot+1).split(".")).filter(function(Lt){return void 0!==T.find(function($t){return Lt===$t})});return(0===He?" > ":"")+dt+(0===pt.length?"":"."+pt.join("."))});0===(C=(F.selector.join(" ")+$.join(" > ")).replace(/(\.ng\-[a-zA-Z0-9_-]*)/gm,"")).indexOf(".panel-page")&&(C=C.substr(12).trim())}if(np({selector:C,document:a.document})){l.has(C)||l.set(C,new Set(T));var ue=s.target.classList,ge=new Map(Array.from(ue.values()).map(function(we){return["".concat(we),!l.has(C)||!l.get(C).has("".concat(we))&&0!=="".concat(we).indexOf("ng-")&&0!=="".concat(we).indexOf("mat-")?xa.ADD:xa.KEEP]})),Se=Array.from(l.get(C)).reduce(function(we,He){return[-1===Array.from(ue.values()).findIndex(function(ot){return ot===He})?He:void 0]},[]).filter(function(we){return void 0!==we});0!==Se.length&&Se.forEach(function(we){return ge.set(we,xa.REMOVE)}),0===ge.size&&u.has(C)?u.delete(C):0!==ge.size&&u.set(C,ge),c.next({classes:u}),c.complete()}else c.error(new Error('Selector invalid "'+C+'"')),c.complete()})}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(P.DOCUMENT))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}();function Bz(o,n){}function Zz(o,n){if(1&o&&r.\u0275\u0275element(0,"classifieds-ui-panel-page",4),2&o){var t=r.\u0275\u0275nextContext();r.\u0275\u0275property("panelPage",t.panelPage)("nested",!0)("contexts",t.contexts)("css",t.filteredCss)("listeners",t.filteredListeners)("ancestory",t.ancestoryWithSelf)}}function Lz(o,n){if(1&o&&r.\u0275\u0275element(0,"classifieds-ui-panel-page",5),2&o){var t=r.\u0275\u0275nextContext();r.\u0275\u0275property("id",t.linkedPageId)("nested",!0)("contexts",t.contexts)("ancestory",t.ancestoryWithSelf)}}function jz(o,n){if(1&o&&r.\u0275\u0275element(0,"classifieds-ui-panel-page",4),2&o){var t=r.\u0275\u0275nextContext();r.\u0275\u0275property("panelPage",t.embedPanel)("nested",!0)("contexts",t.contexts)("css",t.filteredCss)("listeners",t.filteredListeners)("ancestory",t.ancestoryWithSelf)}}var $z=["panes"];function Uz(o,n){}function zz(o,n){if(1&o&&r.\u0275\u0275element(0,"classifieds-ui-render-pane",8),2&o){var t=n.$implicit,e=n.index,a=r.\u0275\u0275nextContext(3),s=r.\u0275\u0275reference(1);r.\u0275\u0275property("formControlName",e)("pluginName",t.contentPlugin)("settings",t.settings)("name",t.name)("label",t.label)("originPane",a.panel.panes[a.originMappings[e]])("contexts",t.contexts)("displayType",a.displayType)("resolvedContext",t.resolvedContext)("indexPosition",e)("css",a.filteredCss)("listeners",a.filteredListeners)("ancestory",a.ancestoryWithSelf$.value)("panes",s)("originPanes",a.originPanes)}}function Gz(o,n){if(1&o&&(r.\u0275\u0275elementContainerStart(0)(1)(2,6),r.\u0275\u0275template(3,zz,1,15,"classifieds-ui-render-pane",7),r.\u0275\u0275elementContainerEnd()()()),2&o){var t=r.\u0275\u0275nextContext(2);r.\u0275\u0275advance(3),r.\u0275\u0275property("ngForOf",t.resolvedPanes)}}function Hz(o,n){if(1&o&&r.\u0275\u0275element(0,"classifieds-ui-render-pane",10),2&o){var t=n.$implicit,e=n.index,a=r.\u0275\u0275nextContext(3),s=r.\u0275\u0275reference(1);r.\u0275\u0275property("pluginName",t.contentPlugin)("settings",t.settings)("name",t.name)("label",t.label)("originPane",a.panel.panes[a.originMappings[e]])("contexts",t.contexts)("linkedPageId",t.linkedPageId)("displayType",a.displayType)("resolvedContext",t.resolvedContext)("indexPosition",e)("css",a.filteredCss)("listeners",a.filteredListeners)("ancestory",a.ancestoryWithSelf$.value)("panes",s)("originPanes",a.originPanes)}}function qz(o,n){if(1&o&&(r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275template(1,Hz,1,15,"classifieds-ui-render-pane",9),r.\u0275\u0275elementContainerEnd()),2&o){var t=r.\u0275\u0275nextContext(2);r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",t.resolvedPanes)}}function Kz(o,n){if(1&o&&(r.\u0275\u0275elementContainerStart(0)(1,4),r.\u0275\u0275template(2,Gz,4,1,"ng-container",5),r.\u0275\u0275template(3,qz,2,1,"ng-container",5),r.\u0275\u0275elementContainerEnd()()),2&o){var t=r.\u0275\u0275nextContext();r.\u0275\u0275advance(1),r.\u0275\u0275property("ngSwitch",t.displayType),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngSwitchCase","form"),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngSwitchCase","page")}}var Wz=["renderPanelTpl"];function Xz(o,n){}function Qz(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"button",4),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(t);var a=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(a.submit())}),r.\u0275\u0275text(1,"Submit"),r.\u0275\u0275elementEnd()}}function Yz(o,n){if(1&o&&(r.\u0275\u0275elementContainerStart(0,0)(1,5),r.\u0275\u0275element(2,"classifieds-ui-render-panel",6),r.\u0275\u0275elementContainerEnd()()),2&o){var t=n.i,e=r.\u0275\u0275nextContext();r.\u0275\u0275property("formGroup",e.pageForm),r.\u0275\u0275advance(2),r.\u0275\u0275property("formControlName",t)("panel",e.panelPageCached.panels[t])("nested",e.nested$.value)("contexts",e.contexts$.value)("resolvedContext",e.resolvedContext)("contextsChanged",e.contextsChanged)("displayType",e.panelPageCached.displayType)("indexPosition",t)("css",e.filteredCss)("listeners",e.filteredListeners)("ancestory",e.ancestory$.value)}}var DE=function(){var o=(0,y.Z)(function n(t){(0,f.Z)(this,n),this.viewContainerRef=t});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(r.ViewContainerRef))},o.\u0275dir=r.\u0275\u0275defineDirective({type:o,selectors:[["","classifiedsUiPaneContentHost",""]]}),o}(),DO=function(){var o=(0,y.Z)(function n(t){(0,f.Z)(this,n),this.viewContainerRef=t});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(r.ViewContainerRef))},o.\u0275dir=r.\u0275\u0275defineDirective({type:o,selectors:[["","classifiedsUiLayoutRendererHost",""]]}),o}(),Zs=function(){function o(n,t,e,a,s,u,l,c,h,C,T,N,F,$,se,ue,ge,Se,we,He,ot,dt,Ot,pt,Lt,$t,tn){var Gt=this;(0,f.Z)(this,o),this.platformId=n,this.mediaSettings=t,this.routerStore=e,this.fb=a,this.el=s,this.inlineContextResolver=u,this.pageBuilderFacade=l,this.cpm=c,this.cxm=h,this.lpm=C,this.componentFactoryResolver=T,this.styleLoader=N,this.http=F,this.cssHelper=$,this.attributeSerializer=se,this.formService=ue,this.panelsContextService=ge,this.asyncApiCallHelperSvc=Se,this.crudDataHelperService=we,this.entityDefinitionService=He,this.ngZone=ot,this.persistService=dt,this.stylizerService=Ot,this.classifyService=pt,this.fileService=Lt,this.authFacade=$t,this.resolvedContext={},this.contextsChanged=[],this.persistenceEnabled=!1,this.onInit$=new ae.x,this.afterViewInit$=new ae.x,this.afterContentInit$=new ae.x,this.renderLayout$=new ae.x,this.id$=new U.X(void 0),this.panelPage$=new U.X(void 0),this.nested$=new U.X(!1),this.ancestory$=new U.X([]),this.contexts$=new U.X([]),this.instanceUniqueIdentity=vr(),this.isStable=!1,this.managedCssCache="",this.managedClassesCache={},this.filteredListeners=[],this.css$=new U.X({css:this.cssHelper.makeJsonNode(),classes:{}}),this.cssSub=this.css$.subscribe(function(Ut){Gt.nested$.value&&console.log("filtered css nested",Ut),Gt.filteredCss=Ut}),this.listeners$=new U.X([]),this.listenersSub=this.listeners$.pipe((0,te.b)(function(Ut){Gt.filteredListeners=Ut})).subscribe(),this.settingsFormArray=this.fb.array([]),this.pageForm=this.fb.group({panels:this.fb.array([])}),this.bridgeSub=this.pageForm.valueChanges.pipe((0,Q.h)(function(){return Gt.nested$.value}),(0,Ar.b)(500)).subscribe(function(Ut){console.log("write page"),console.log(Ut),Gt.settingsFormArray.clear();var qt=Gt.attributeSerializer.convertToGroup(Gt.attributeSerializer.serialize(Ut,"value").attributes[0]);Gt.settingsFormArray.push(qt),console.log(qt.value)}),this.idOrPanelPageSub=(0,Sr.a)([this.id$,this.panelPage$]).pipe((0,xu.x)(),(0,Ce.U)(function(Ut){var qt=(0,g.Z)(Ut,2);return{id:qt[0],panelPage:qt[1]}}),(0,Q.h)(function(Ut){return!!Ut.id||!!Ut.panelPage}),(0,st.w)(function(Ut){var qt=Ut.id;return Or(function(){return!qt},(0,Le.of)({panelPage:Ut.panelPage}),new W.y(function(Er){var ca=Gt.entityDefinitionService.getDefinition("PanelPage").metadata;return Gt.crudDataHelperService.evaluateCollectionPlugins({query:"identity=".concat(qt),plugins:ca.crud,op:"query"}).pipe((0,Ce.U)(function(ss){return ss&&0!==ss.length?ss[0]:void 0}),(0,te.b)(function(ss){Er.next({panelPage:ss}),Er.complete()})).subscribe()}))}),(0,st.w)(function(Ut){var qt=Ut.panelPage;return Gt.cpm.getPlugins(qt.panels.reduce(function(qn,Er){return Er.panes.forEach(function(ca){qn.includes(ca.contentPlugin)||qn.push(ca.contentPlugin)}),qn},[])).pipe((0,Ce.U)(function(){return{panelPage:qt}}))}),(0,st.w)(function(Ut){var qt=Ut.panelPage;return Or(function(){return!Gt.nested$.value}, +/*!this.nested ? this.panelsContextService.allActivePageContexts({ panelPage: p }).pipe( + map(paneContexts => [p, isDynamic, paneContexts]) + ): of([p, isDynamic, []]),*/ +Gt.panelsContextService.allActivePageContexts({panelPage:qt}).pipe((0,Ce.U)(function(qn){return{panelPage:qt,contexts:Array.from(qn)}})),(0,Le.of)({panelPage:qt,contexts:[]}))}),(0,te.b)(function(Ut){var qt=Ut.panelPage,qn=Ut.contexts;Gt.hookupFormChange({panelPage:qt}),Gt.populatePanelsFormArray({panelPage:qt}),Gt.panelPageCached=qt,Gt.persistenceEnabled=qt.persistence&&qt.persistence.dataduct&&qt.persistence.dataduct.plugin&&""!==qt.persistence.dataduct.plugin,Gt.filteredListeners=qt.interactions&&qt.interactions.interactions&&qt.interactions.interactions.listeners?qt.interactions.interactions.listeners:[],Gt.renderLayout$.next(qt),Gt.contexts$.next([].concat((0,_.Z)(qt.contexts?qt.contexts.map(function(Er){return new la(Er)}):[]),(0,_.Z)(qn))),Gt.hookupCss({file:qt.cssFile?qt.cssFile.trim():void 0}),console.log("cached panel page: ".concat(qt.id))})).subscribe(),this.hookupContextSub=(0,Sr.a)(this.contexts$,this.afterContentInit$).pipe((0,Ce.U)(function(Ut){return(0,g.Z)(Ut,1)[0]}),(0,st.w)(function(Ut){return Gt.inlineContextResolver.resolveMerged(Ut,"panelpage:".concat(vr())).pipe((0,st.w)(function(qt){return Gt.cxm.getPlugins().pipe((0,Ce.U)(function(qn){return{contexts:Ut,resolvedContext:qt,globalPlugins:Array.from(qn.values()).filter(function(Er){return!0===Er.global})}}))}),(0,An.q)(1))}),(0,te.b)(function(){Gt.resolveSub&&Gt.resolveSub.unsubscribe()}),(0,te.b)(function(Ut){var qt=Ut.contexts,Er=Ut.globalPlugins;Gt.resolvedContext=Ut.resolvedContext;var ca=new ae.x;if((0,P.isPlatformServer)(Gt.platformId))var ss=setInterval(function(){0===o.registredContextListeners.size&&(ca.next(),ca.complete(),clearInterval(ss))},1e3);Gt.resolveSub=Gt.inlineContextResolver.resolveMergedSingle(qt).pipe((0,__.T)(Er.length+(qt?qt.length:0)),(0,te.b)(function(){return o.registredContextListeners.add(Gt.instanceUniqueIdentity)}),(0,te.b)(function(Ru){return console.log("buffer",Ru)}),function Dz(o){for(var n,t,e=arguments.length,a=new Array(e>1?e-1:0),s=1;s<e;s++)a[s-1]=arguments[s];var u=null!==(n=(0,Rz.yG)(a))&&void 0!==n?n:eu.z,l=null!==(t=a[0])&&void 0!==t?t:null,c=a[1]||1/0;return(0,gs.e)(function(h,C){var T=[],N=!1,F=function(ge){var Se=ge.buffer;ge.subs.unsubscribe(),(0,kz.P)(T,ge),C.next(Se),N&&$()},$=function(){if(T){var ge=new gI.w0;C.add(ge);var we={buffer:[],subs:ge};T.push(we),(0,kO.f)(ge,u,function(){return F(we)},o)}};null!==l&&l>=0?(0,kO.f)(C,u,$,l,!0):N=!0,$();var se=(0,ma.x)(C,function(ue){var we,ge=T.slice(),Se=(0,ee.Z)(ge);try{for(Se.s();!(we=Se.n()).done;){var He=we.value,ot=He.buffer;ot.push(ue),c<=ot.length&&F(He)}}catch(dt){Se.e(dt)}finally{Se.f()}},function(){for(;T?.length;)C.next(T.shift().buffer);se?.unsubscribe(),C.complete(),C.unsubscribe()},void 0,function(){return T=null});h.subscribe(se)})}(1),(0,te.b)(function(Ru){0===Ru.length&&o.registredContextListeners.delete(Gt.instanceUniqueIdentity)}),(0,Q.h)(function(Ru){return 0!==Ru.length}),(0,te.b)(function(Ru){Gt.contextsChanged=Ru.reduce(function(BE,fk){var ZE=(0,g.Z)(fk,2)[0];return[].concat((0,_.Z)(BE),(0,_.Z)(BE.includes(ZE)?[]:[ZE]))},[]),Gt.resolvedContext=Ru.reduce(function(BE,fk){var S_=(0,g.Z)(fk,2),ZE=S_[0],dF=S_[1];return(0,b.Z)((0,b.Z)({},BE),{},(0,d.Z)({},ZE,dF))},Gt.resolvedContext)}),(0,te.b)(function(){return o.registredContextListeners.delete(Gt.instanceUniqueIdentity)}),(0,P.isPlatformServer)(Gt.platformId)?(0,Qr.R)(ca):(0,te.b)(function(){})).subscribe()})).subscribe(),this.renderLayoutSub=(0,Sr.a)([this.renderLayout$,this.afterViewInit$]).pipe((0,Rr.g)(1),(0,Ce.U)(function(Ut){return{panelPage:(0,g.Z)(Ut,1)[0]}}),(0,st.w)(function(Ut){var qt=Ut.panelPage;return Gt.lpm.getPlugin(qt.layoutType).pipe((0,Ce.U)(function(qn){return{panelPage:qt,plugin:qn}}))}),(0,te.b)(function(){return console.log("start render layout")}),(0,Ce.U)(function(Ut){return{panelPage:Ut.panelPage,plugin:Ut.plugin,viewContainerRef:Gt.layoutRendererHost.viewContainerRef}}),(0,te.b)(function(Ut){return Ut.viewContainerRef.clear()}),(0,Ce.U)(function(Ut){return{panelPage:Ut.panelPage,layoutRendererRef:Ut.viewContainerRef.createComponent(Ut.plugin.renderer)}}),(0,te.b)(function(Ut){return Gt.layoutRendererRef=Ut.layoutRendererRef}),(0,te.b)(function(Ut){var qt=Ut.layoutRendererRef,qn=Ut.panelPage;qt.instance.renderPanelTpl=Gt.renderPanelTpl,qt.instance.panelPage=qn}),(0,te.b)(function(){return console.log("end render layout")})).subscribe(),this.stylizerSub=this.afterViewInit$.pipe((0,Q.h)(function(){return(0,P.isPlatformBrowser)(Gt.platformId)}),(0,te.b)(function(){Gt.stylizerService.stylize({targetNode:Gt.el.nativeElement})})).subscribe(),this.classifySub=this.afterViewInit$.pipe((0,Q.h)(function(){return(0,P.isPlatformBrowser)(Gt.platformId)}),(0,te.b)(function(){Gt.classifyService.classify({targetNode:Gt.el.nativeElement})})).subscribe(),this.stylizerMutatedSub=(0,P.isPlatformBrowser)(this.platformId)?this.stylizerService.mutated$.pipe((0,Ar.b)(2e3),(0,__.T)(1),(0,st.w)(function(Ut){var qt=Ut.stylesheet;return Gt.authFacade.getUser$.pipe((0,Ce.U)(function(qn){return{stylesheet:qt,isAuthenticated:!!qn}}))}),(0,Q.h)(function(Ut){return Ut.isAuthenticated}),(0,te.b)(function(Ut){console.log("merged css",Ut.stylesheet)}),(0,Q.h)(function(){return!!Gt.panelPageCached&&!!Gt.panelPageCached.id}),(0,st.w)(function(Ut){var qt=Ut.stylesheet;return Gt.isStable?(0,Le.of)({stylesheet:qt}):Gt.ngZone.onStable.asObservable().pipe((0,Ce.U)(function(){return{stylesheet:qt}}),(0,An.q)(1))}),(0,Ce.U)(function(Ut){var qt=Ut.stylesheet;return{stylesheet:(Gt.managedCssCache&&""!==Gt.managedCssCache.trim()?Gt.managedCssCache+"\n":"")+qt}}),(0,Zi.b)(function(Ut){return Gt.fileService.bulkUpload({nocache:!0,files:[new File([Ut.stylesheet],"panelpage__".concat(Gt.panelPageCached.id,".css"))],fileNameOverride:"panelpage__".concat(Gt.panelPageCached.id,".css")})}),(0,te.b)(function(){console.log("stylesheet saved.")})).subscribe():void 0,this.classifyMutatedSub=(0,P.isPlatformBrowser)(this.platformId)?this.classifyService.mutated$.pipe((0,Ar.b)(2e3),(0,__.T)(1),(0,st.w)(function(Ut){var qt=Ut.classes;return Gt.authFacade.getUser$.pipe((0,Ce.U)(function(qn){return{classes:qt,isAuthenticated:!!qn}}))}),(0,Q.h)(function(Ut){return Ut.isAuthenticated}),(0,te.b)(function(Ut){console.log("merged classes",Ut.classes)}),(0,Q.h)(function(){return!!Gt.panelPageCached&&!!Gt.panelPageCached.id}),(0,st.w)(function(Ut){var qt=Ut.classes;return Gt.isStable?(0,Le.of)({classes:qt}):Gt.ngZone.onStable.asObservable().pipe((0,Ce.U)(function(){return{classes:qt}}),(0,An.q)(1))}),(0,Ce.U)(function(Ut){var qt=Ut.classes;return{classes:Array.from(qt.keys()).reduce(function(qn,Er){return(0,b.Z)((0,b.Z)({},qn),{},(0,d.Z)({},Er,Array.from(qt.get(Er).keys()).filter(function(ca){return qt.get(Er).get(ca)!==xa.KEEP}).reduce(function(ca,ss){return(0,b.Z)((0,b.Z)({},ca),{},(0,d.Z)({},ss,qt.get(Er).get(ss)))},{})))},{})}}),(0,Ce.U)(function(Ut){return{classes:o_(Gt.managedClassesCache,Ut.classes)}}),(0,Ce.U)(function(Ut){return{json:JSON.stringify(Ut.classes)}}),(0,Zi.b)(function(Ut){return Gt.fileService.bulkUpload({nocache:!0,files:[new File([Ut.json],"panelpage__".concat(Gt.panelPageCached.id,"__classes.json"))],fileNameOverride:"panelpage__".concat(Gt.panelPageCached.id,"__classes.json")})}),(0,te.b)(function(){console.log("classes saved.")})).subscribe():void 0,this.onStableSub=this.ngZone.onStable.asObservable().pipe((0,te.b)(function(){return Gt.isStable=!0})).subscribe(),this.onUnstableSub=this.ngZone.onUnstable.asObservable().pipe((0,te.b)(function(){return Gt.isStable=!1})).subscribe(),this.onTouched=function(){},this.panelPageService=tn.getEntityCollectionService("PanelPage"),this.panelPageFormService=tn.getEntityCollectionService("PanelPageForm"),this.panelPageStateService=tn.getEntityCollectionService("PanelPageState")}return(0,y.Z)(o,[{key:"id",set:function(t){this.id$.next(t)}},{key:"panelPage",set:function(t){this.panelPage$.next(t)}},{key:"nested",set:function(t){this.nested$.next(t)}},{key:"contexts",set:function(t){this.contexts$.next(t)}},{key:"ancestory",set:function(t){this.ancestory$.next(t)}},{key:"css",set:function(t){this.css$.next(t)}},{key:"listeners",set:function(t){this.listeners$.next(t)}},{key:"panelsArray",get:function(){return this.pageForm.get("panels")}},{key:"ngOnInit",value:function(){this.onInit$.next(void 0)}},{key:"ngAfterViewInit",value:function(){this.afterViewInit$.next(void 0)}},{key:"ngAfterContentInit",value:function(){this.afterContentInit$.next(void 0)}},{key:"ngOnDestroy",value:function(){o.registredContextListeners.delete(this.instanceUniqueIdentity)}},{key:"populatePanelsFormArray",value:function(t){var e=this,a=t.panelPage;this.panelsArray.clear(),a.panels.forEach(function(){e.panelsArray.push(e.fb.control(""))})}},{key:"hookupFormChange",value:function(t){var e=this,a=t.panelPage;this.pageForm.valueChanges.pipe((0,Ar.b)(100),(0,Q.h)(function(){return void 0!==a&&"form"===a.displayType})).subscribe(function(s){var u=new Au((0,b.Z)((0,b.Z)({},s),{},{name:a.name,title:a.title,derivativeId:a.id}));e.pageBuilderFacade.setForm(a.name,u)})}},{key:"hookupCss",value:function(t){var e=this;(0,$n.D)([(0,Le.of)(void 0),(0,Le.of)(void 0),(0,Le.of)(void 0),this.panelPageCached.id?this.http.get("".concat(this.mediaSettings.imageUrl,"/media/panelpage__").concat(this.panelPageCached.id,"__classes.json")).pipe((0,si.K)(function(){return(0,Le.of)(void 0)}),(0,fi.d)(void 0)):(0,Le.of)(void 0)]).pipe((0,te.b)(function(s){var u=(0,g.Z)(s,4),l=u[0],c=u[1],h=u[2],C=u[3];console.log("fetched managed panelpage css and class files");var T={};e.managedCssCache="",e.managedClassesCache=C,l&&(T=o_(T,l)),c&&(e.managedCssCache=h,T=o_(T,c)),e.filteredCss={css:T,classes:C}})).subscribe()}},{key:"submit",value:function(){if(this.pageForm.valid){var t=new Au((0,b.Z)({},this.pageForm.value)),e=this.formService.serializeForm(t);console.log(t),console.log(this.formService.serializeForm(t)),console.log("form data",e),this.persistService.persist({data:e,persistence:this.panelPageCached.persistence}).subscribe(function(){console.log("persisted data")})}else console.log("detected form invalid")}},{key:"writeValue",value:function(t){t&&this.settingsFormArray.setValue(t,{emitEvent:!1})}},{key:"registerOnChange",value:function(t){this.settingsFormArray.valueChanges.subscribe(t)}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){t?this.settingsFormArray.disable():this.settingsFormArray.enable()}},{key:"validate",value:function(t){var e=this;return this.settingsFormArray.statusChanges.pipe((0,uE.O)(this.settingsFormArray.status),(0,Q.h)(function(a){return"PENDING"!==a}),(0,Ar.b)(1),(0,An.q)(1),(0,Ce.U)(function(a){return e.settingsFormArray.valid?null:{invalidForm:{valid:!1,message:"content is invalid"}}}))}}]),o}();Zs.registredContextListeners=new Set,Zs.\u0275fac=function(n){return new(n||Zs)(r.\u0275\u0275directiveInject(r.PLATFORM_ID),r.\u0275\u0275directiveInject(rE),r.\u0275\u0275directiveInject(Bt.yh),r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(zd),r.\u0275\u0275directiveInject(Ja),r.\u0275\u0275directiveInject(pn.ContentPluginManager),r.\u0275\u0275directiveInject(Su),r.\u0275\u0275directiveInject(AE),r.\u0275\u0275directiveInject(r.ComponentFactoryResolver),r.\u0275\u0275directiveInject(Vn.StyleLoaderService),r.\u0275\u0275directiveInject(O.HttpClient),r.\u0275\u0275directiveInject(OA),r.\u0275\u0275directiveInject(Nt.AttributeSerializerService),r.\u0275\u0275directiveInject(tO),r.\u0275\u0275directiveInject(XI),r.\u0275\u0275directiveInject(Vn.AsyncApiCallHelperService),r.\u0275\u0275directiveInject(i_),r.\u0275\u0275directiveInject(Qi),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(Dj),r.\u0275\u0275directiveInject(Nz),r.\u0275\u0275directiveInject(Vz),r.\u0275\u0275directiveInject(iE),r.\u0275\u0275directiveInject(_i),r.\u0275\u0275directiveInject(Dr))},Zs.\u0275cmp=r.\u0275\u0275defineComponent({type:Zs,selectors:[["classifieds-ui-panel-page"]],viewQuery:function(n,t){var e;1&n&&(r.\u0275\u0275viewQuery(xO,5),r.\u0275\u0275viewQuery(Wz,7),r.\u0275\u0275viewQuery(DO,5)),2&n&&(r.\u0275\u0275queryRefresh(e=r.\u0275\u0275loadQuery())&&(t.gridLayout=e.first),r.\u0275\u0275queryRefresh(e=r.\u0275\u0275loadQuery())&&(t.renderPanelTpl=e.first),r.\u0275\u0275queryRefresh(e=r.\u0275\u0275loadQuery())&&(t.layoutRendererHost=e.first))},hostVars:2,hostBindings:function(n,t){2&n&&r.\u0275\u0275classProp("panel-page",!0)},inputs:{id:"id",panelPage:"panelPage",nested:"nested",contexts:"contexts",ancestory:"ancestory",css:"css",listeners:"listeners",resolvedContext:"resolvedContext"},features:[r.\u0275\u0275ProvidersFeature([{provide:v.NG_VALUE_ACCESSOR,useExisting:(0,r.forwardRef)(function(){return Zs}),multi:!0},{provide:v.NG_ASYNC_VALIDATORS,useExisting:(0,r.forwardRef)(function(){return Zs}),multi:!0}])],decls:6,vars:2,consts:[[3,"formGroup"],["classifiedsUiLayoutRendererHost",""],["type","button",3,"click",4,"ngIf"],["renderPanelTpl",""],["type","button",3,"click"],["formArrayName","panels"],[3,"formControlName","panel","nested","contexts","resolvedContext","contextsChanged","displayType","indexPosition","css","listeners","ancestory"]],template:function(n,t){1&n&&(r.\u0275\u0275elementStart(0,"div",0),r.\u0275\u0275elementContainerStart(1),r.\u0275\u0275template(2,Xz,0,0,"ng-template",1),r.\u0275\u0275elementContainerEnd(),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(3,Qz,2,0,"button",2),r.\u0275\u0275template(4,Yz,3,12,"ng-template",null,3,r.\u0275\u0275templateRefExtractor)),2&n&&(r.\u0275\u0275property("formGroup",t.pageForm),r.\u0275\u0275advance(3),r.\u0275\u0275property("ngIf",t.persistenceEnabled))},dependencies:function(){return[P.NgIf,v.NgControlStatus,v.NgControlStatusGroup,v.FormGroupDirective,v.FormControlName,v.FormArrayName,Jz,DO]},styles:["[_nghost-%COMP%] gridster{background-color:#fff}[_nghost-%COMP%] gridster-item{background-color:#fff}"]});var x_=function(){var o=function(){function n(t,e,a,s,u,l,c,h,C,T,N){var F=this;(0,f.Z)(this,n),this.document=t,this.platformId=e,this.el=a,this.renderer2=s,this.componentFactoryResolver=u,this.panelHandler=l,this.fb=c,this.cpm=h,this.cssHelper=C,this.paneStateService=T,this.settings=[],this.ancestory=[],this.panes=[],this.originPanes=[],this.afterContentInit$=new ae.x,this.resolvedContext$=new U.X({}),this.schedulePluginChange=new ae.x,this.ancestoryWithSelf=[],this.filteredListeners=[],this.css$=new U.X({css:this.cssHelper.makeJsonNode(),classes:{}}),this.cssSub=(0,Sr.a)([this.css$,this.afterContentInit$,this.schedulePluginChange]).pipe((0,Ce.U)(function($){return(0,g.Z)($,1)[0]}),(0,Ce.U)(function($){return{css:F.cssHelper.reduceCss($.css,".pane-".concat(F.indexPosition)),classes:F.cssHelper.reduceSelector($.classes,".pane-".concat(F.indexPosition))}}),(0,Ce.U)(function($){var se=$.css,ue=$.classes;return[F.cssHelper.reduceCss(se,".panel-page",!1),F.cssHelper.reduceCss(se,".panel-page"),F.cssHelper.reduceSelector(ue,".panel-page",!1),F.cssHelper.reduceSelector(ue,".panel-page")]}),(0,te.b)(function($){var se=(0,g.Z)($,4);return F.filteredCss={css:se[1],classes:se[3]}}),(0,Ce.U)(function($){var se=(0,g.Z)($,4);return{css:se[0],classes:se[2]}}),(0,Ce.U)(function($){var ue=$.classes;return{css:{children:Object.keys($.css.children).reduce(function(we,He){return(0,b.Z)((0,b.Z)({},we),0===He.indexOf(">")?(0,d.Z)({},F.ancestoryWithSelf.map(function(ot,dt){return(dt+1)%2==0?".pane-".concat(ot):".panel-".concat(ot)}).join(" ")+" "+He,ue[He]):(0,d.Z)({},He,ue[He]))},{})},classes:Object.keys(ue).reduce(function(we,He){return(0,b.Z)((0,b.Z)({},we),0===He.indexOf(">")?(0,d.Z)({},F.ancestoryWithSelf.map(function(ot,dt){return(dt+1)%2==0?".pane-".concat(ot):".panel-".concat(ot)}).join(" ")+" "+He,ue[He]):(0,d.Z)({},He,ue[He]))},{})}}),(0,Rr.g)(500)).subscribe(function($){var se=$.css,ue=$.classes;console.log("reduced classes",ue);var ge=Object.keys(se.children).filter(function(we){return""===we||np({selector:we,document:F.document})}),Se=Object.keys(ue).filter(function(we){return""===we||np({selector:we,document:F.document})});Se.forEach(function(we,He){for(var ot=""===we?[F.el.nativeElement]:-1!==we.indexOf(">")?F.document.querySelectorAll(we):F.el.nativeElement.querySelectorAll(we),dt=ot.length,Ot=0;Ot<dt;Ot++)for(var pt=ue[Se[He]],Lt=Object.keys(pt),$t=Lt.length,tn=0;tn<$t;tn++)ot[Ot]&&(pt[Lt[tn]]===xa.REMOVE?(console.log("remove class ".concat(Lt[tn])),F.renderer2.removeClass(ot[Ot],Lt[tn])):(console.log("add class ".concat(Lt[tn])),F.renderer2.addClass(ot[Ot],Lt[tn])))}),ge.forEach(function(we){console.log("search: ".concat(we));for(var He=""===we?[F.el.nativeElement]:-1!==we.indexOf(">")?F.document.querySelectorAll(we):F.el.nativeElement.querySelectorAll(we),ot=He.length,dt=Object.keys(se.children[we].attributes),Ot=function($t){He[$t]&&dt.forEach(function(tn){console.log("".concat(we," { ").concat(tn,": ").concat(se.children[we].attributes[tn],"; }"));var Gt=Tl(tn.replace("-","_"),!1);F.renderer2.setStyle(He[$t],Gt,se.children[we].attributes[tn])})},pt=0;pt<ot;pt++)Ot(pt)})}),this.listeners$=new U.X([]),this.listenersSub=(0,Sr.a)([this.listeners$,this.schedulePluginChange]).pipe((0,Ce.U)(function($){return(0,g.Z)($,1)[0]}),(0,te.b)(function($){console.log("pane listeners",$)})).subscribe(),this.paneForm=this.fb.group({contentPlugin:this.fb.control("",v.Validators.required),name:this.fb.control(""),label:this.fb.control(""),settings:this.fb.control("")}),this.paneFormSub=this.paneForm.valueChanges.subscribe(function($){console.log("pane form value plugin: ".concat(F.pluginName)),console.log($)}),this.scheduleStateChange$=new ae.x,this.scheduleStateChangeSub=this.scheduleStateChange$.pipe((0,st.w)(function($){return F.paneStateService.mergeState({state:$.state,ancestory:(0,_.Z)(F.ancestoryWithSelf),settings:F.settings,plugin:F.contentPlugin})})).subscribe(function($){F.panelPageStateService.upsert($.pageState)}),this.onTouched=function(){},this.pluginChangeSub=this.schedulePluginChange.pipe((0,Q.h)(function(){return F.pluginName&&null!==F.pluginName&&""!==F.pluginName}),(0,st.w)(function(){return F.cpm.getPlugin(F.pluginName)})).subscribe(function($){F.contentPlugin=$,F.paneForm.get("contentPlugin").setValue($.name),F.paneForm.get("name").setValue(F.name),F.paneForm.get("label").setValue(F.label),"panel"===F.pluginName?F.resolveNestedPanelPage():F.renderPaneContent()}),this.embedPanelSub=this.resolvedContext$.pipe((0,Ce.U)(function($){$&&$._root&&!F.linkedPageId&&0===F.settings.length&&(F.embedPanel=new ri($._root))})).subscribe(),this.panelPageStateService=N.getEntityCollectionService("PanelPageState")}return(0,y.Z)(n,[{key:"resolvedContext",set:function(e){this.resolvedContext$.next(e)}},{key:"css",set:function(e){this.css$.next(e)}},{key:"listeners",set:function(e){this.listeners$.next(e)}},{key:"indexPositionClass",get:function(){return"pane-".concat(this.indexPosition)}},{key:"dynamicPanel",get:function(){return new ri(this.resolvedContext._root)}},{key:"ngOnInit",value:function(){this.ancestoryWithSelf=[].concat((0,_.Z)(this.ancestory?this.ancestory:[]),(0,_.Z)(null!=this.indexPosition?[this.indexPosition]:[])),this.schedulePluginChange.next(void 0)}},{key:"ngOnChanges",value:function(e){if(e.ancestory||e.indexPosition){var a=[].concat((0,_.Z)(e.ancestory.currentValue?e.ancestory.currentValue:this.ancestory?this.ancestory:[]),(0,_.Z)(null!=e.indexPosition.currentValue?[e.indexPosition.currentValue]:this.indexPosition?[this.indexPosition]:[]));(a.length!==this.ancestoryWithSelf.length||0!==this.ancestoryWithSelf.filter(function(s,u){return a[u]!==s}).length)&&(this.ancestoryWithSelf=a)}this.schedulePluginChange.next(void 0)}},{key:"ngAfterContentInit",value:function(){this.afterContentInit$.next(void 0)}},{key:"writeValue",value:function(e){e&&this.paneForm.setValue(e,{emitEvent:!1})}},{key:"registerOnChange",value:function(e){this.paneForm.valueChanges.subscribe(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){e?this.paneForm.disable():this.paneForm.enable()}},{key:"validate",value:function(e){var a=this;return this.paneForm.statusChanges.pipe((0,uE.O)(this.paneForm.status),(0,Q.h)(function(s){return"PENDING"!==s}),(0,Ar.b)(1),(0,An.q)(1),(0,Ce.U)(function(s){return a.paneForm.valid?null:{invalidForm:{invalidForm:{valid:!1,message:"pane is invalid"}}}}))}},{key:"resolveNestedPanelPage",value:function(){var e=this;this.panelHandler.toObject(this.settings).subscribe(function(a){e.panelPage=new ri((0,b.Z)((0,b.Z)({},a),{},{contexts:e.contexts}))})}},{key:"renderPaneContent",value:function(){var e=this,a=this.componentFactoryResolver.resolveComponentFactory(this.contentPlugin.renderComponent),s=this.contentPaneHost.viewContainerRef;s.clear(),this.componentRef=s.createComponent(a),this.componentRef.instance.settings=this.settings,this.componentRef.instance.name=this.name,this.componentRef.instance.label=this.label,this.componentRef.instance.panes=this.panes,this.componentRef.instance.originPanes=this.originPanes,this.componentRef.instance.contexts=this.contexts.map(function(u){return new la(u)}),this.componentRef.instance.displayType=this.displayType,this.componentRef.instance.resolvedContext=this.resolvedContext$.value,this.componentRef.instance.ancestory=this.ancestoryWithSelf,this.componentRef.instance.state&&this.contentPlugin.handler&&this.contentPlugin.handler.stateDefinition(this.settings).pipe((0,An.q)(1)).subscribe(function(u){e.componentRef.instance.state=u||{}}),this.componentRef.instance.stateChange&&this.componentRef.instance.stateChange.subscribe(function(u){e.scheduleStateChange$.next({state:u})})}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(P.DOCUMENT),r.\u0275\u0275directiveInject(r.PLATFORM_ID),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.Renderer2),r.\u0275\u0275directiveInject(r.ComponentFactoryResolver),r.\u0275\u0275directiveInject(ya),r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(pn.ContentPluginManager),r.\u0275\u0275directiveInject(OA),r.\u0275\u0275directiveInject(B$),r.\u0275\u0275directiveInject(Dr))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-render-pane"]],viewQuery:function(t,e){var a;1&t&&r.\u0275\u0275viewQuery(DE,7),2&t&&r.\u0275\u0275queryRefresh(a=r.\u0275\u0275loadQuery())&&(e.contentPaneHost=a.first)},hostVars:5,hostBindings:function(t,e){2&t&&(r.\u0275\u0275attribute("data-index",e.indexPosition),r.\u0275\u0275classMap(e.indexPositionClass),r.\u0275\u0275classProp("pane",!0))},inputs:{pluginName:"pluginName",settings:"settings",linkedPageId:"linkedPageId",contexts:"contexts",originPane:"originPane",displayType:"displayType",name:"name",label:"label",indexPosition:"indexPosition",ancestory:"ancestory",panes:"panes",originPanes:"originPanes",resolvedContext:"resolvedContext",css:"css",listeners:"listeners"},features:[r.\u0275\u0275ProvidersFeature([{provide:v.NG_VALUE_ACCESSOR,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0},{provide:v.NG_ASYNC_VALIDATORS,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0}]),r.\u0275\u0275NgOnChangesFeature],decls:6,vars:4,consts:[["fxFlex","",3,"formGroup"],["classifiedsUiPaneContentHost",""],["fxFlex","","formControlName","settings",3,"panelPage","nested","contexts","css","listeners","ancestory",4,"ngIf"],["fxFlex","","formControlName","settings",3,"id","nested","contexts","ancestory",4,"ngIf"],["fxFlex","","formControlName","settings",3,"panelPage","nested","contexts","css","listeners","ancestory"],["fxFlex","","formControlName","settings",3,"id","nested","contexts","ancestory"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"div",0),r.\u0275\u0275elementContainerStart(1),r.\u0275\u0275template(2,Bz,0,0,"ng-template",1),r.\u0275\u0275elementContainerEnd(),r.\u0275\u0275template(3,Zz,1,6,"classifieds-ui-panel-page",2),r.\u0275\u0275template(4,Lz,1,4,"classifieds-ui-panel-page",3),r.\u0275\u0275template(5,jz,1,6,"classifieds-ui-panel-page",2),r.\u0275\u0275elementEnd()),2&t&&(r.\u0275\u0275property("formGroup",e.paneForm),r.\u0275\u0275advance(3),r.\u0275\u0275property("ngIf","panel"==e.pluginName&&!e.linkedPageId&&0!==e.settings.length),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf","panel"==e.pluginName&&e.linkedPageId),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf","panel"==e.pluginName&&!e.linkedPageId&&0===e.settings.length))},dependencies:[P.NgIf,v.NgControlStatus,v.NgControlStatusGroup,v.FormGroupDirective,v.FormControlName,DE,Zs],styles:["[_nghost-%COMP%]{height:100%}"]}),o}(),Jz=function(){var o=function(){function n(t,e,a,s,u,l,c,h,C,T){var N=this;(0,f.Z)(this,n),this.platformId=t,this.document=e,this.hostEl=a,this.renderer2=s,this.componentFactoryResolver=u,this.fb=l,this.panelResolverService=c,this.spm=h,this.cssHelper=C,this.styleResolverService=T,this.nested=!1,this.resolvedContext={},this.heightChange=new r.EventEmitter,this.panelForm=this.fb.group({name:this.fb.control(""),label:this.fb.control(""),panes:this.fb.array([])}),this.panelFormSub=this.panelForm.valueChanges.subscribe(function(F){console.log("paneL form value"),console.log(F)}),this.filteredListeners=[],this.afterContentInit$=new ae.x,this.schedulePanelRender=new ae.x,this.rendered$=new ae.x,this.css$=new U.X({css:this.cssHelper.makeJsonNode(),classes:{}}),this.cssSub=(0,Sr.a)([this.css$,this.afterContentInit$,this.rendered$]).pipe((0,te.b)(function(F){var $=(0,g.Z)(F,1);return console.log("css node",$[0].css)}),(0,Ce.U)(function(F){return(0,g.Z)(F,1)[0]}),(0,Ce.U)(function(F){return{css:N.cssHelper.reduceCss(F.css,".panel-".concat(N.indexPosition$.value)),classes:N.cssHelper.reduceSelector(F.classes,".panel-".concat(N.indexPosition$.value))}}),(0,Ce.U)(function(F){var $=F.css,se=F.classes;return[N.cssHelper.reduceCss($,".pane-",!1),$,N.cssHelper.reduceSelector(se,".pane-",!1),se]}),(0,te.b)(function(F){var $=(0,g.Z)(F,4);return N.filteredCss={css:$[1],classes:$[3]}}),(0,Ce.U)(function(F){var $=(0,g.Z)(F,3);return{css:$[0],classes:$[2]}}),(0,Ce.U)(function(F){var se=F.classes;return{css:{children:Object.keys(F.css.children).reduce(function(Se,we){return(0,b.Z)((0,b.Z)({},Se),0===we.indexOf(">")?(0,d.Z)({},N.ancestoryWithSelf$.value.map(function(He,ot){return(ot+1)%2==0?".pane-".concat(He):".panel-".concat(He)}).join(" ")+" "+we,se[we]):(0,d.Z)({},we,se[we]))},{})},classes:Object.keys(se).reduce(function(Se,we){return(0,b.Z)((0,b.Z)({},Se),0===we.indexOf(">")?(0,d.Z)({},N.ancestoryWithSelf$.value.map(function(He,ot){return(ot+1)%2==0?".pane-".concat(He):".panel-".concat(He)}).join(" ")+" "+we,se[we]):(0,d.Z)({},we,se[we]))},{})}}),(0,Rr.g)(1)).subscribe(function(F){var $=F.css,se=F.classes;console.log("classes",se);var ue=Object.keys($.children).filter(function(Se){return""===Se||np({selector:Se,document:N.document})}),ge=Object.keys(se).filter(function(Se){return""===Se||np({selector:Se,document:N.document})});ge.forEach(function(Se,we){for(var He=""===Se?[N.hostEl.nativeElement]:-1!==Se.indexOf(">")?N.document.querySelectorAll(Se):N.hostEl.nativeElement.querySelectorAll(Se),ot=He.length,dt=0;dt<ot;dt++)for(var Ot=se[ge[we]],pt=Object.keys(Ot),Lt=pt.length,$t=0;$t<Lt;$t++)He[dt]&&(Ot[pt[$t]]===xa.REMOVE?(console.log("remove class ".concat(pt[$t])),N.renderer2.removeClass(He[dt],pt[$t])):(console.log("add class ".concat(pt[$t])),N.renderer2.addClass(He[dt],pt[$t])))}),ue.forEach(function(Se){console.log("search: ".concat(Se));for(var we=""===Se?[N.hostEl.nativeElement]:-1!==Se.indexOf(">")?N.document.querySelectorAll(Se):N.hostEl.nativeElement.querySelectorAll(Se),He=we.length,ot=Object.keys($.children[Se].attributes),dt=function(Lt){we[Lt]&&ot.forEach(function($t){console.log("".concat(Se," { ").concat($t,": ").concat($.children[Se].attributes[$t],"; }"));var tn=Tl($t.replace("-","_"),!1);N.renderer2.setStyle(we[Lt],tn,$.children[Se].attributes[$t])})},Ot=0;Ot<He;Ot++)dt(Ot)})}),this.listeners$=new U.X([]),this.listenersSub=this.listeners$.pipe((0,te.b)(function(F){console.log("panel listeners",F),N.filteredListeners=F})).subscribe(),this.scheduleRender=new ae.x,this.scheduleRenderSub=this.scheduleRender.pipe((0,te.b)(function(){return console.log("schdule renderer before [".concat(N.panel.name,"]"))}),(0,st.w)(function(F){var $=(0,g.Z)(F,3),se=$[0];return N.panelResolverService.resolvePanes({panes:se,contexts:$[1],resolvedContext:$[2]}).pipe((0,Ce.U)(function(Se){return{resolvedPanes:Se.resolvedPanes,originMappings:Se.originMappings,panes:se}}))}),(0,st.w)(function(F){var $=F.panes;return N.styleResolverService.alterResolvedPanes({panel:N.panel,resolvedPanes:F.resolvedPanes,originMappings:F.originMappings}).pipe((0,Ce.U)(function(ge){return{panes:$,resolvedPanes:ge.resolvedPanes,originMappings:ge.originMappings}}))}),(0,te.b)(function(){return console.log("schdule renderer after [".concat(N.panel.name,"]"))})).subscribe(function(F){var $=F.panes,se=F.resolvedPanes,ue=F.originMappings;console.log("render panel: ".concat(N.panel.name)),N.resolvedPanes=se,N.originPanes=$,N.originMappings=ue,N.populatePanesFormArray(),void 0!==N.stylePlugin?N.renderPanelContent():N.rendered$.next(void 0)}),this.schduleContextChange=new ae.x,this.schedulePanelRenderSub=this.schedulePanelRender.pipe((0,st.w)(function(F){return N.spm.getPlugin(F)})).subscribe(function(F){var $=N.componentFactoryResolver.resolveComponentFactory(F.renderComponent),se=N.panelHost.viewContainerRef;se.clear();var ue=se.createComponent($);N.componentRef=ue,ue.instance.settings=N.panel.settings,ue.instance.panes=N.resolvedPanes,ue.instance.originPanes=N.panel.panes,ue.instance.originMappings=N.originMappings,ue.instance.contexts=N.contexts.map(function(ge){return new la(ge)}),ue.instance.displayType=N.displayType,ue.instance.ancestory=N.ancestoryWithSelf$.value,ue.instance.resolvedContext=N.resolvedContext,ue.instance.panel=N.panel,ue.instance.indexPosition=N.indexPosition$.value,N.rendered$.next(void 0)}),this.originMappings=[],this.resolvedContexts=[],this.ancestoryWithSelf$=new U.X([]),this.ancestory$=new U.X([]),this.indexPosition$=new U.X(void 0),this.onTouched=function(){},this.ancestorySub=(0,Sr.a)([this.ancestory$,this.indexPosition$]).pipe((0,te.b)(function(F){var $=(0,g.Z)(F,2),ue=$[1];N.ancestoryWithSelf$.next([].concat((0,_.Z)($[0]),[ue]))})).subscribe(),this.counter=n.COUNTER++}return(0,y.Z)(n,[{key:"contextChanged",set:function(e){}},{key:"contextsChanged",set:function(e){var a=this;e.map(function(s){return a.schduleContextChange.next(s)})}},{key:"indexPosition",set:function(e){this.indexPosition$.next(e)}},{key:"ancestory",set:function(e){this.ancestory$.next(e)}},{key:"css",set:function(e){this.css$.next(e)}},{key:"listeners",set:function(e){this.listeners$.next(e)}},{key:"indexPositionClass",get:function(){return"panel-".concat(this.indexPosition$.value)}},{key:"panesArray",get:function(){return this.panelForm.get("panes")}},{key:"ngOnInit",value:function(){var e=this;this.stylePlugin=void 0!==this.panel.stylePlugin&&""!==this.panel.stylePlugin?this.panel.stylePlugin:void 0,void 0!==this.panel&&void 0!==this.panelHost&&(console.log("panel render init [".concat(this.panel.name)),this.panelResolverService.usedContexts(this.panel.panes).pipe((0,Ce.U)(function(a){return a.filter(function(s){return"_page"!==s&&"_root"!==s&&"."!==s&&0!==s.indexOf("panestate-"+e.ancestoryWithSelf$.value.join("-"))})}),(0,te.b)(function(a){return console.log("contexts [".concat(e.panel.name,"]: ").concat(a.join(",")))}),(0,st.w)(function(a){return e.schduleContextChange.pipe((0,te.b)(function(s){return console.log("detected change [".concat(e.panel.name,"]: ").concat(s))}),(0,Ce.U)(function(s){return[a,s]}))}),(0,te.b)(function(a){var s=(0,g.Z)(a,2),u=s[0],l=s[1];return console.log("detected change [".concat(e.panel.name,"]: ").concat(l," : ctx: ").concat(u.join(",")))}),(0,Q.h)(function(a){var s=(0,g.Z)(a,2),u=s[0],l=s[1];return Array.isArray(u)&&-1!==u.findIndex(function(c){return c===l})}),(0,Ar.b)(100)).subscribe(function(a){var s=(0,g.Z)(a,2),u=s[0],l=s[1];console.log("Context changed [".concat(e.panel.name,"]: ").concat(l)),console.log("contexts detected [".concat(e.panel.name,"]: ").concat(u.join(","))),e.scheduleRender.next([e.panel.panes,e.contexts,e.resolvedContext])}))}},{key:"ngOnChanges",value:function(e){this.stylePlugin=void 0!==this.panel.stylePlugin&&""!==this.panel.stylePlugin?this.panel.stylePlugin:void 0,e.resolvedContext&&void 0===e.resolvedContext.previousValue&&this.scheduleRender.next([this.panel.panes,this.contexts,this.resolvedContext])}},{key:"ngAfterViewInit",value:function(){}},{key:"ngAfterContentInit",value:function(){this.afterContentInit$.next(void 0)}},{key:"writeValue",value:function(e){e&&this.panelForm.setValue(e,{emitEvent:!1})}},{key:"registerOnChange",value:function(e){this.panelForm.valueChanges.subscribe(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){e?this.panelForm.disable():this.panelForm.enable()}},{key:"validate",value:function(e){var a=this;return this.panelForm.statusChanges.pipe((0,uE.O)(this.panelForm.status),(0,Q.h)(function(s){return"PENDING"!==s}),(0,Ar.b)(1),(0,An.q)(1),(0,Ce.U)(function(s){return a.panelForm.valid?null:{invalidForm:{valid:!1,message:"panel are invalid"}}}))}},{key:"populatePanesFormArray",value:function(){var e=this;this.panesArray.clear(),this.resolvedPanes.forEach(function(a,s){e.panesArray.push(e.fb.control(""))})}},{key:"renderPanelContent",value:function(){this.schedulePanelRender.next(this.stylePlugin)}}]),n}();return o.COUNTER=0,o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(r.PLATFORM_ID),r.\u0275\u0275directiveInject(P.DOCUMENT),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.Renderer2),r.\u0275\u0275directiveInject(r.ComponentFactoryResolver),r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(TA),r.\u0275\u0275directiveInject(Xd),r.\u0275\u0275directiveInject(OA),r.\u0275\u0275directiveInject(QI))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-render-panel"]],viewQuery:function(t,e){var a;1&t&&(r.\u0275\u0275viewQuery(DE,7),r.\u0275\u0275viewQuery($z,7),r.\u0275\u0275viewQuery(x_,5)),2&t&&(r.\u0275\u0275queryRefresh(a=r.\u0275\u0275loadQuery())&&(e.panelHost=a.first),r.\u0275\u0275queryRefresh(a=r.\u0275\u0275loadQuery())&&(e.paneContainer=a.first),r.\u0275\u0275queryRefresh(a=r.\u0275\u0275loadQuery())&&(e.renderedPanes=a))},hostVars:5,hostBindings:function(t,e){2&t&&(r.\u0275\u0275attribute("data-index",e.indexPosition$.value),r.\u0275\u0275classMap(e.indexPositionClass),r.\u0275\u0275classProp("panel",!0))},inputs:{panel:"panel",contexts:"contexts",nested:"nested",displayType:"displayType",resolvedContext:"resolvedContext",contextChanged:"contextChanged",contextsChanged:"contextsChanged",indexPosition:"indexPosition",ancestory:"ancestory",css:"css",listeners:"listeners"},outputs:{heightChange:"heightChange"},features:[r.\u0275\u0275ProvidersFeature([{provide:v.NG_VALUE_ACCESSOR,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0},{provide:v.NG_ASYNC_VALIDATORS,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0}]),r.\u0275\u0275NgOnChangesFeature],decls:5,vars:2,consts:[[1,"render-panel",3,"formGroup"],["panes",""],["classifiedsUiPaneContentHost",""],[4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],["formArrayName","panes"],[3,"formControlName","pluginName","settings","name","label","originPane","contexts","displayType","resolvedContext","indexPosition","css","listeners","ancestory","panes","originPanes",4,"ngFor","ngForOf"],[3,"formControlName","pluginName","settings","name","label","originPane","contexts","displayType","resolvedContext","indexPosition","css","listeners","ancestory","panes","originPanes"],[3,"pluginName","settings","name","label","originPane","contexts","linkedPageId","displayType","resolvedContext","indexPosition","css","listeners","ancestory","panes","originPanes",4,"ngFor","ngForOf"],[3,"pluginName","settings","name","label","originPane","contexts","linkedPageId","displayType","resolvedContext","indexPosition","css","listeners","ancestory","panes","originPanes"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"div",0,1),r.\u0275\u0275elementContainerStart(2),r.\u0275\u0275template(3,Uz,0,0,"ng-template",2),r.\u0275\u0275elementContainerEnd(),r.\u0275\u0275template(4,Kz,4,3,"ng-container",3),r.\u0275\u0275elementEnd()),2&t&&(r.\u0275\u0275property("formGroup",e.panelForm),r.\u0275\u0275advance(4),r.\u0275\u0275property("ngIf",!e.stylePlugin&&e.resolvedPanes))},dependencies:[P.NgForOf,P.NgIf,P.NgSwitch,P.NgSwitchCase,v.NgControlStatus,v.NgControlStatusGroup,v.FormGroupDirective,v.FormControlName,v.FormArrayName,DE,x_],styles:["[_nghost-%COMP%]{height:100%}.render-panel[_ngcontent-%COMP%]{height:100%}"]}),o}(),GA=function(){var o=(0,y.Z)(function n(t){(0,f.Z)(this,n),t.register(new wI({id:"panels_form_submit",title:"Submit Panels Form"})),t.register(new wI({id:"panels_dialog",title:"Open Panels Dialog"}))});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(CI))},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({imports:[P.CommonModule,v.FormsModule,Vn.UtilsModule,v.ReactiveFormsModule,DA,EO]}),o}(),Nl={},b_={},TO={},IO=!1;function nG(o,n){return HA.apply(this,arguments)}function HA(){return HA=Zt((0,qe.Z)().mark(function o(n,t){var e,s;return(0,qe.Z)().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return e=b_[n],l.next=3,e.get(t);case 3:return s=(0,l.sent)(),l.abrupt("return",s);case 6:case"end":return l.stop()}},o)})),HA.apply(this,arguments)}function OO(o,n){return qA.apply(this,arguments)}function qA(){return qA=Zt((0,qe.Z)().mark(function o(n,t){return(0,qe.Z)().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(!TO[t]){a.next=2;break}return a.abrupt("return",n);case 2:if(IO){a.next=6;break}return a.next=5,S.I("default");case 5:IO=!0;case 6:return a.next=8,n.init(S.S.default);case 8:return TO[t]=!0,a.abrupt("return",n);case 10:case"end":return a.stop()}},o)})),qA.apply(this,arguments)}function KA(o,n){return WA.apply(this,arguments)}function WA(){return WA=Zt((0,qe.Z)().mark(function o(n,t){var e,a,s;return(0,qe.Z)().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:if("string"!=typeof n){l.next=7;break}return e=n,l.next=4,FO(e,t);case 4:case 11:return l.abrupt("return",l.sent);case 7:if("script"!==n.type){l.next=14;break}return a=n,l.next=11,FO(a.remoteEntry,a.remoteName);case 14:if("module"!==n.type){l.next=18;break}return s=n,l.next=18,rG(s.remoteEntry);case 18:case"end":return l.stop()}},o)})),WA.apply(this,arguments)}function rG(o){return XA.apply(this,arguments)}function XA(){return XA=Zt((0,qe.Z)().mark(function o(n){return(0,qe.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!b_[n]){e.next=2;break}return e.abrupt("return",Promise.resolve());case 2:return e.next=4,import(n).then(function(a){OO(a,n),b_[n]=a});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},o)})),XA.apply(this,arguments)}function FO(o,n){return QA.apply(this,arguments)}function QA(){return QA=Zt((0,qe.Z)().mark(function o(n,t){return(0,qe.Z)().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",new Promise(function(s,u){if(b_[t])s();else{var l=document.createElement("script");l.src=n,l.onerror=u,l.onload=function(){var c=window[t];OO(c,t),b_[t]=c,s()},document.body.appendChild(l)}}));case 1:case"end":return a.stop()}},o)})),QA.apply(this,arguments)}function rp(o,n){return YA.apply(this,arguments)}function YA(){return YA=Zt((0,qe.Z)().mark(function o(n,t){var e,a,s,u,l,c;return(0,qe.Z)().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:if((u="string"==typeof n?{type:"manifest",remoteName:n,exposedModule:t}:n).type||(l=Object.keys(Nl).length>0,u.type=l?"manifest":"script"),"manifest"!==u.type){C.next=10;break}if(c=Nl[u.remoteName]){C.next=6;break}throw new Error("Manifest does not contain "+u.remoteName);case 6:u={type:c.type,exposedModule:u.exposedModule,remoteEntry:c.remoteEntry,remoteName:"script"===c.type?u.remoteName:void 0},s=c.remoteEntry,C.next=11;break;case 10:s=u.remoteEntry;case 11:if("script"===u.type?(e={type:"script",remoteEntry:u.remoteEntry,remoteName:u.remoteName},a=u.remoteName):"module"===u.type&&(e={type:"module",remoteEntry:u.remoteEntry},a=u.remoteEntry),!s){C.next=15;break}return C.next=15,KA(e);case 15:return C.next=17,nG(a,u.exposedModule);case 17:return C.abrupt("return",C.sent);case 18:case"end":return C.stop()}},o)})),YA.apply(this,arguments)}var TE=S(52090),IE=S(44039),VO=S(43516),os=S(21669);function oG(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"a",4),r.\u0275\u0275listener("click",function(){var u=r.\u0275\u0275restoreView(t).$implicit,l=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(l.onEntitySelected(u.value))}),r.\u0275\u0275elementStart(1,"span",5),r.\u0275\u0275text(2),r.\u0275\u0275elementEnd()()}if(2&o){var e=n.$implicit;r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate(e.value.title)}}function sG(o,n){}function uG(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"classifieds-ui-dynamic-content-viewer",1),r.\u0275\u0275listener("docRendered",function(){r.\u0275\u0275restoreView(t);var s=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(s.onDocRendered())}),r.\u0275\u0275pipe(1,"async"),r.\u0275\u0275elementEnd()}if(2&o){var e=r.\u0275\u0275nextContext();r.\u0275\u0275property("content",r.\u0275\u0275pipeBind1(1,1,e.content$))}}function lG(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"classifieds-ui-dynamic-content-viewer",1),r.\u0275\u0275listener("docRendered",function(){r.\u0275\u0275restoreView(t);var s=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(s.onDocRendered())}),r.\u0275\u0275pipe(1,"async"),r.\u0275\u0275elementEnd()}if(2&o){var e=r.\u0275\u0275nextContext();r.\u0275\u0275property("content",r.\u0275\u0275pipeBind1(1,1,e.content$))}}function cG(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"a",4),r.\u0275\u0275listener("click",function(){var u=r.\u0275\u0275restoreView(t).$implicit,l=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(l.onStyleSelected(u.value))}),r.\u0275\u0275elementStart(1,"span",5),r.\u0275\u0275text(2),r.\u0275\u0275elementEnd()()}if(2&o){var e=n.$implicit;r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate(e.value.title)}}function dG(o,n){}var pG=["contentEditor"];function fG(o,n){1&o&&r.\u0275\u0275elementContainer(0)}function mG(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"button",19),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(t);var a=r.\u0275\u0275nextContext(2);return r.\u0275\u0275resetView(a.onOverrideClick())}),r.\u0275\u0275text(1,"Override"),r.\u0275\u0275elementEnd()}}function hG(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"button",19),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(t);var a=r.\u0275\u0275nextContext(2);return r.\u0275\u0275resetView(a.onRemoveOverrideClick())}),r.\u0275\u0275text(1,"Remove Override"),r.\u0275\u0275elementEnd()}}function gG(o,n){}var OE=function(n){return{settings:n}},vG=function(n){return{visible:n}};function yG(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"div",9)(1,"div",10)(2,"div",11)(3,"button",12)(4,"mat-icon"),r.\u0275\u0275text(5,"more_vert"),r.\u0275\u0275elementEnd()()(),r.\u0275\u0275elementStart(6,"mat-expansion-panel",13),r.\u0275\u0275listener("afterCollapse",function(){r.\u0275\u0275restoreView(t);var l=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(l.onAfterCollapse())})("afterExpand",function(){r.\u0275\u0275restoreView(t);var l=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(l.onAfterExpand())}),r.\u0275\u0275elementStart(7,"mat-expansion-panel-header")(8,"mat-panel-title"),r.\u0275\u0275text(9),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(10,"div",14)(11,"ul"),r.\u0275\u0275template(12,fG,1,0,"ng-container",15),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(13,"div",16),r.\u0275\u0275template(14,mG,2,0,"button",17),r.\u0275\u0275template(15,hG,2,0,"button",17),r.\u0275\u0275elementContainerStart(16),r.\u0275\u0275template(17,gG,0,0,"ng-template",18),r.\u0275\u0275elementContainerEnd(),r.\u0275\u0275elementEnd()()()()}if(2&o){var e=r.\u0275\u0275nextContext(),a=r.\u0275\u0275reference(6),s=r.\u0275\u0275reference(2);r.\u0275\u0275advance(3),r.\u0275\u0275property("matMenuTriggerFor",a),r.\u0275\u0275advance(6),r.\u0275\u0275textInterpolate2("",e.contentPlugin.title," : ",e.name,""),r.\u0275\u0275advance(1),r.\u0275\u0275property("hidden",e.preview),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngTemplateOutlet",s)("ngTemplateOutletContext",r.\u0275\u0275pureFunction1(9,OE,e.settings)),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngClass",r.\u0275\u0275pureFunction1(11,vG,e.preview)),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",e.displayOverride&&!e.hasOverride),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",e.displayOverride&&e.hasOverride)}}function _G(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"span"),r.\u0275\u0275text(1),r.\u0275\u0275pipe(2,"attribute"),r.\u0275\u0275elementEnd()),2&o){var t=r.\u0275\u0275nextContext().$implicit,e=r.\u0275\u0275nextContext().settings;r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(r.\u0275\u0275pipeBind2(2,1,e,t.name))}}function xG(o,n){1&o&&r.\u0275\u0275elementContainer(0)}function bG(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"ul"),r.\u0275\u0275template(1,xG,1,0,"ng-container",15),r.\u0275\u0275elementEnd()),2&o){var t=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275nextContext(2);var e=r.\u0275\u0275reference(2);r.\u0275\u0275advance(1),r.\u0275\u0275property("ngTemplateOutlet",e)("ngTemplateOutletContext",r.\u0275\u0275pureFunction1(2,OE,t.attributes))}}function CG(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"li"),r.\u0275\u0275text(1),r.\u0275\u0275template(2,_G,3,4,"span",21),r.\u0275\u0275template(3,bG,2,4,"ul",21),r.\u0275\u0275elementEnd()),2&o){var t=n.$implicit,e=r.\u0275\u0275nextContext().settings;r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1(" ",t.displayName,": "),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",!t.attributes||0==t.attributes.length),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",e.attributes&&t.attributes.length>0)}}function wG(o,n){1&o&&r.\u0275\u0275template(0,CG,4,3,"li",20),2&o&&r.\u0275\u0275property("ngForOf",n.settings)}function SG(o,n){}function EG(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"div",22)(1,"classifieds-ui-content-editor",23,24),r.\u0275\u0275listener("nestedUpdate",function(s){r.\u0275\u0275restoreView(t);var u=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(u.onNestedUpdate(s))})("delete",function(){r.\u0275\u0275restoreView(t);var s=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(s.onDeleteClick())})("rules",function(){r.\u0275\u0275restoreView(t);var s=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(s.onRulesClick())})("props",function(){r.\u0275\u0275restoreView(t);var s=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(s.onPropsClick())}),r.\u0275\u0275template(3,SG,0,0,"ng-template",null,25,r.\u0275\u0275templateRefExtractor),r.\u0275\u0275elementEnd()()}if(2&o){var e=r.\u0275\u0275nextContext();r.\u0275\u0275advance(1),r.\u0275\u0275property("panelPage",e.panelPage)("savable",!1)("nested",!0)("locked",e.locked)("contexts",e.contexts)("rootContext",e.rootContext)("ancestory",e.paneAncestoryWithSelf)}}function PG(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"button",26),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(t);var s=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(s.onPreviewClick())}),r.\u0275\u0275text(1,"Preview"),r.\u0275\u0275elementEnd()}if(2&o){var e=r.\u0275\u0275nextContext();r.\u0275\u0275property("disabled",e.locked)}}function AG(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"button",27),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(t);var a=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(a.onDisablePreviewClick())}),r.\u0275\u0275text(1,"Disable Preview"),r.\u0275\u0275elementEnd()}}var kG=["extraActionsArea"],RG=["contextsMenuTpl"],DG=["editablePaneTpl"],TG=["panes"];function IG(o,n){}var BO=function(n){return{nested:n}};function OG(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"form",7),r.\u0275\u0275listener("ngSubmit",function(){r.\u0275\u0275restoreView(t);var s=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(s.submit())}),r.\u0275\u0275elementContainerStart(1),r.\u0275\u0275template(2,IG,0,0,"ng-template",8),r.\u0275\u0275elementContainerEnd(),r.\u0275\u0275elementEnd()}if(2&o){var e=r.\u0275\u0275nextContext();r.\u0275\u0275property("formGroup",e.contentForm)("ngClass",r.\u0275\u0275pureFunction1(2,BO,e.nested))}}function FG(o,n){}function MG(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"div",9),r.\u0275\u0275elementContainerStart(1),r.\u0275\u0275template(2,FG,0,0,"ng-template",8),r.\u0275\u0275elementContainerEnd(),r.\u0275\u0275elementEnd()),2&o){var t=r.\u0275\u0275nextContext();r.\u0275\u0275property("formGroup",t.contentForm)("ngClass",r.\u0275\u0275pureFunction1(2,BO,t.nested))}}function NG(o,n){1&o&&r.\u0275\u0275element(0,"div",12)}function VG(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"classifieds-ui-editable-pane",10),r.\u0275\u0275listener("delete",function(){var l=r.\u0275\u0275restoreView(t),c=l.i,h=l.j,C=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(C.onDeletePane(c,h))})("rules",function(){var l=r.\u0275\u0275restoreView(t),c=l.i,h=l.j,C=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(C.onRulesPane(c,h))})("nestedUpdate",function(l){var c=r.\u0275\u0275restoreView(t),h=c.i,C=c.j,T=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(T.onNestedUpdate(l,h,C))})("rendererOverride",function(){var l=r.\u0275\u0275restoreView(t),c=l.i,h=l.j,C=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(C.onOverrideRenderer(c,h))})("removeRendererOverride",function(){var l=r.\u0275\u0275restoreView(t),c=l.i,h=l.j,C=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(C.onRemoveOverrideRenderer(c,h))})("edit",function(){var l=r.\u0275\u0275restoreView(t),c=l.i,h=l.j,C=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(C.onPaneEdit(c,h))})("props",function(){var l=r.\u0275\u0275restoreView(t),c=l.i,h=l.j,C=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(C.editPaneProps(c,h))})("delete",function(){var l=r.\u0275\u0275restoreView(t),c=l.i,h=l.j,C=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(C.onPaneDelete(c,h))}),r.\u0275\u0275template(1,NG,1,0,"div",11),r.\u0275\u0275elementEnd()}if(2&o){var e=n.i,a=n.j,s=r.\u0275\u0275nextContext();r.\u0275\u0275property("panelIndex",e)("paneIndex",a)("name",s.panelPaneName(e,a))("label",s.panelPaneLabel(e,a))("locked",s.panelPaneLocked(e,a))("contexts",s.contexts)("pluginName",s.panelPanePlugin(e,a))("settings",s.panelPaneSettings(e,a))("ancestory",s.ancestory)}}function BG(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"button",13),r.\u0275\u0275text(1,"( x )"),r.\u0275\u0275elementEnd()),2&o){r.\u0275\u0275nextContext();var t=r.\u0275\u0275reference(8);r.\u0275\u0275property("matMenuTriggerFor",t)}}function ZG(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"button",5),r.\u0275\u0275listener("click",function(){var u=r.\u0275\u0275restoreView(t).$implicit,l=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(l.onEditContext(u.name))}),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()}if(2&o){var e=n.$implicit;r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(e.name)}}function LG(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"a",1),r.\u0275\u0275listener("click",function(){var u=r.\u0275\u0275restoreView(t).$implicit,l=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(l.onItemSelect(u.value))}),r.\u0275\u0275elementStart(1,"span",2),r.\u0275\u0275text(2),r.\u0275\u0275elementEnd()()}if(2&o){var e=n.$implicit;r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate(e.value.name)}}function jG(o,n){1&o&&r.\u0275\u0275elementContainer(0)}function $G(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"span"),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&o){var t=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1("",t.displayName,": ")}}function UG(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"span"),r.\u0275\u0275text(1),r.\u0275\u0275pipe(2,"attribute"),r.\u0275\u0275elementEnd()),2&o){var t=r.\u0275\u0275nextContext().$implicit,e=r.\u0275\u0275nextContext().settings;r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(r.\u0275\u0275pipeBind2(2,1,e,t.name))}}function zG(o,n){1&o&&r.\u0275\u0275elementContainer(0)}function GG(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"div"),r.\u0275\u0275template(1,zG,1,0,"ng-container",4),r.\u0275\u0275elementEnd()),2&o){var t=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275nextContext(2);var e=r.\u0275\u0275reference(3);r.\u0275\u0275advance(1),r.\u0275\u0275property("ngTemplateOutlet",e)("ngTemplateOutletContext",r.\u0275\u0275pureFunction1(2,OE,t.attributes))}}function HG(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"div"),r.\u0275\u0275template(1,$G,2,1,"span",2),r.\u0275\u0275template(2,UG,3,4,"span",2),r.\u0275\u0275template(3,GG,2,4,"div",2),r.\u0275\u0275elementEnd()),2&o){var t=n.$implicit;r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",0==t.attributes.length),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",0==t.attributes.length),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",t.attributes.length>0)}}function qG(o,n){1&o&&r.\u0275\u0275template(0,HG,4,3,"div",6),2&o&&r.\u0275\u0275property("ngForOf",n.settings)}function KG(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"div"),r.\u0275\u0275template(1,jG,1,0,"ng-container",4),r.\u0275\u0275template(2,qG,1,1,"ng-template",null,5,r.\u0275\u0275templateRefExtractor),r.\u0275\u0275elementEnd()),2&o){var t=r.\u0275\u0275reference(3),e=r.\u0275\u0275nextContext(2);r.\u0275\u0275advance(1),r.\u0275\u0275property("ngTemplateOutlet",t)("ngTemplateOutletContext",r.\u0275\u0275pureFunction1(2,OE,e.attributeValues))}}function WG(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"div",7),r.\u0275\u0275element(1,"classifieds-ui-attributes-builder",8),r.\u0275\u0275elementEnd()),2&o){var t=r.\u0275\u0275nextContext(2);r.\u0275\u0275property("formGroup",t.controlContainer.control),r.\u0275\u0275advance(1),r.\u0275\u0275property("attributes",t.attributes)("attributeValues",t.attributeValues)}}function XG(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"div"),r.\u0275\u0275template(1,KG,4,4,"div",2),r.\u0275\u0275template(2,WG,2,3,"div",3),r.\u0275\u0275elementEnd()),2&o){var t=r.\u0275\u0275nextContext();r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf","page"==t.displayType),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf","form"==t.displayType)}}function QG(o,n){if(1&o&&r.\u0275\u0275element(0,"classifieds-ui-snippet-pane-renderer",9),2&o){var t=r.\u0275\u0275nextContext();r.\u0275\u0275property("settings",t.rendererSettings)("tokens",t.tokens)}}function YG(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"ngx-dropzone-image-preview",2),r.\u0275\u0275listener("removed",function(s){r.\u0275\u0275restoreView(t);var u=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(u.onRemoveMedia(s))}),r.\u0275\u0275elementStart(1,"ngx-dropzone-label"),r.\u0275\u0275text(2),r.\u0275\u0275elementEnd()()}if(2&o){var e=r.\u0275\u0275nextContext();r.\u0275\u0275property("removable",!0)("file",e.media),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate2("",e.media.name," (",e.media.type,")")}}var JG=["img"];function eH(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"mat-option",26),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&o){var t=n.$implicit;r.\u0275\u0275property("value",t),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(t)}}function tH(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"div")(1,"mat-form-field",23)(2,"mat-label"),r.\u0275\u0275text(3,"Pane"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(4,"mat-select",24),r.\u0275\u0275template(5,eH,2,2,"mat-option",25),r.\u0275\u0275elementEnd()()()),2&o){var t=n.index,e=r.\u0275\u0275nextContext(2);r.\u0275\u0275advance(1),r.\u0275\u0275property("formGroupName",t),r.\u0275\u0275advance(4),r.\u0275\u0275property("ngForOf",e.panes)}}function nH(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"div",20)(1,"button",21),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(t);var s=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(s.addPane())}),r.\u0275\u0275text(2,"Add Pane"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"div"),r.\u0275\u0275template(4,tH,6,2,"div",22),r.\u0275\u0275elementEnd()()}if(2&o){var e=r.\u0275\u0275nextContext();r.\u0275\u0275advance(4),r.\u0275\u0275property("ngForOf",e.bindings.controls)}}function rH(o,n){1&o&&(r.\u0275\u0275elementStart(0,"div",27)(1,"mat-form-field"),r.\u0275\u0275element(2,"input",28),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"mat-form-field"),r.\u0275\u0275element(4,"input",29),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(5,"mat-form-field"),r.\u0275\u0275element(6,"input",30),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(7,"div")(8,"mat-checkbox",31),r.\u0275\u0275text(9,"Multiple"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(10,"mat-form-field"),r.\u0275\u0275element(11,"input",32),r.\u0275\u0275elementEnd()())}function iH(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"mat-option",7),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&o){var t=n.$implicit;r.\u0275\u0275property("value",t.value),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(t.label)}}function aH(o,n){if(1&o&&(r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275elementStart(1,"mat-form-field")(2,"mat-label"),r.\u0275\u0275text(3),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(4,"mat-select",5),r.\u0275\u0275template(5,iH,2,2,"mat-option",6),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementContainerEnd()),2&o){var t=r.\u0275\u0275nextContext();r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate(t.label),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngForOf",t.options)}}function oH(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"mat-radio-button",7),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&o){var t=n.$implicit;r.\u0275\u0275property("value",t.value),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(t.label)}}function sH(o,n){if(1&o&&(r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275elementStart(1,"div")(2,"label"),r.\u0275\u0275text(3),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(4,"mat-radio-group",5),r.\u0275\u0275template(5,oH,2,2,"mat-radio-button",6),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementContainerEnd()),2&o){var t=r.\u0275\u0275nextContext();r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate(t.label),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngForOf",t.options)}}function uH(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"div")(1,"div",9)(2,"mat-checkbox",10),r.\u0275\u0275text(3),r.\u0275\u0275elementEnd()()()),2&o){var t=n.$implicit,e=n.index;r.\u0275\u0275advance(1),r.\u0275\u0275property("formGroupName",e),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate(t.label)}}function lH(o,n){if(1&o&&(r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275elementStart(1,"div")(2,"div",1),r.\u0275\u0275template(3,uH,4,2,"div",8),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementContainerEnd()),2&o){var t=r.\u0275\u0275nextContext();r.\u0275\u0275advance(3),r.\u0275\u0275property("ngForOf",t.options)}}function cH(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"mat-option",7),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&o){var t=n.$implicit;r.\u0275\u0275property("value",t),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(t.label)}}function dH(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275elementStart(1,"mat-form-field"),r.\u0275\u0275element(2,"input",11),r.\u0275\u0275elementStart(3,"mat-autocomplete",12,13),r.\u0275\u0275listener("optionSelected",function(u){r.\u0275\u0275restoreView(t);var l=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(l.onOptionSelected(u))}),r.\u0275\u0275template(5,cH,2,2,"mat-option",6),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementContainerEnd()}if(2&o){var e=r.\u0275\u0275reference(4),a=r.\u0275\u0275nextContext();r.\u0275\u0275advance(2),r.\u0275\u0275property("placeholder",a.label)("matAutocomplete",e),r.\u0275\u0275advance(1),r.\u0275\u0275property("displayWith",a.displayAuto),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngForOf",a.options)}}function pH(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"mat-option",8),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&o){var t=n.$implicit;r.\u0275\u0275property("value",t.name),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(t.name)}}function fH(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"div",5),r.\u0275\u0275element(1,"druid-panels-panelpage-linkedlist",6),r.\u0275\u0275elementStart(2,"button",3),r.\u0275\u0275listener("click",function(){var l=r.\u0275\u0275restoreView(t).index,c=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(c.onRemoveMapping(l))}),r.\u0275\u0275text(3,"Remove"),r.\u0275\u0275elementEnd()()}if(2&o){var e=n.index,a=r.\u0275\u0275nextContext();r.\u0275\u0275property("formGroupName",e),r.\u0275\u0275advance(1),r.\u0275\u0275property("panes",a.panes)}}function mH(o,n){if(1&o&&r.\u0275\u0275element(0,"classifieds-ui-render-pane",4),2&o){var t=r.\u0275\u0275nextContext().index,e=r.\u0275\u0275nextContext(2);r.\u0275\u0275property("pluginName",e.panes[2*t].contentPlugin)("settings",e.panes[2*t].settings)("contexts",e.panes[2*t].contexts)}}function hH(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"mat-tab"),r.\u0275\u0275template(1,mH,1,3,"ng-template",3),r.\u0275\u0275element(2,"classifieds-ui-render-pane",4),r.\u0275\u0275elementEnd()),2&o){var t=n.index,e=r.\u0275\u0275nextContext(2);r.\u0275\u0275advance(2),r.\u0275\u0275property("pluginName",e.panes[2*t+1].contentPlugin)("settings",e.panes[2*t+1].settings)("contexts",e.panes[2*t+1].contexts)}}function gH(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"mat-tab-group",1),r.\u0275\u0275template(1,hH,3,3,"mat-tab",2),r.\u0275\u0275elementEnd()),2&o){var t=r.\u0275\u0275nextContext();r.\u0275\u0275advance(1),r.\u0275\u0275property("for",t.panes.length/2)}}function vH(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"mat-tab",6),r.\u0275\u0275element(1,"classifieds-ui-render-pane",4),r.\u0275\u0275elementEnd()),2&o){var t=n.$implicit;r.\u0275\u0275advance(1),r.\u0275\u0275property("pluginName",t.contentPlugin)("settings",t.settings)("contexts",t.contexts)}}function yH(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"mat-tab-group",1),r.\u0275\u0275template(1,vH,2,3,"mat-tab",5),r.\u0275\u0275elementEnd()),2&o){var t=r.\u0275\u0275nextContext();r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",t.panes)}}function _H(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"div",2),r.\u0275\u0275element(1,"classifieds-ui-render-pane",3),r.\u0275\u0275elementEnd()),2&o){var t=n.$implicit;r.\u0275\u0275advance(1),r.\u0275\u0275property("pluginName",t.contentPlugin)("settings",t.settings)("contexts",t.contexts)("resolvedContext",t.resolvedContext)}}function xH(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"th",7),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&o){var t=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(t)}}function bH(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"td",8),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&o){var t=n.$implicit,e=r.\u0275\u0275nextContext().$implicit,a=r.\u0275\u0275nextContext();r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(a.rowData(e,t))}}function CH(o,n){1&o&&(r.\u0275\u0275elementContainerStart(0,4),r.\u0275\u0275template(1,xH,2,1,"th",5),r.\u0275\u0275template(2,bH,2,1,"td",6),r.\u0275\u0275elementContainerEnd()),2&o&&r.\u0275\u0275property("matColumnDef",n.$implicit)}function wH(o,n){1&o&&r.\u0275\u0275element(0,"tr",9)}function SH(o,n){1&o&&r.\u0275\u0275element(0,"tr",10)}var uk,EH={GridLayout:{entityName:"GridLayout"},PanelPageForm:{crud:{panelpageform_serialize:{plugins:{idb_keyval:{params:{prefix:"panelpageform__"}}}}}}},FE=function(){var o=(0,y.Z)(function n(t){(0,f.Z)(this,n),this.viewContainerRef=t});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(r.ViewContainerRef))},o.\u0275dir=r.\u0275\u0275defineDirective({type:o,selectors:[["","classifiedsUiContentSelectionHost",""]]}),o}(),PH=function(){var o=function(){function n(t,e,a,s,u,l){(0,f.Z)(this,n),this.data=t,this.bottomSheetRef=e,this.dialog=a,this.componentFactoryResolver=s,this.fb=u,this.contentPluginManager=l,this.selectedIndex=0}return(0,y.Z)(n,[{key:"ngOnInit",value:function(){this.contentPlugins=this.contentPluginManager.getPlugins()}},{key:"onEntitySelected",value:function(e){var a=this;this.plugin=e,void 0!==this.plugin.selectionComponent?(this.selectedIndex=1,this.renderSelectionComponent()):void 0!==this.plugin.editorComponent?(this.bottomSheetRef.dismiss(),e.handler?this.plugin.handler.editorOptions([]).subscribe(function(u){a.dialog.open(a.plugin.editorComponent,(0,b.Z)({data:{panelFormGroup:a.data.panelForm,panelIndex:a.data.panelIndex,pane:void 0,paneIndex:void 0,contexts:a.data.contexts,contentAdded:a.data.contentAdded,plugin:e}},u.fullscreen?{maxWidth:"100vw",maxHeight:"100vh",height:"100%",width:"100%"}:{}))}):this.dialog.open(this.plugin.editorComponent,{data:{panelFormGroup:this.data.panelForm,panelIndex:this.data.panelIndex,pane:void 0,paneIndex:void 0,contexts:this.data.contexts,contentAdded:this.data.contentAdded}})):this.data.panelForm.get("panes").push(this.fb.group({contentPlugin:this.fb.control(this.plugin.id),name:this.fb.control(""),label:this.fb.control(""),settings:this.fb.array([])}))}},{key:"renderSelectionComponent",value:function(){var e=this.componentFactoryResolver.resolveComponentFactory(this.plugin.selectionComponent),a=this.selectionHost.viewContainerRef;a.clear();var s=a.createComponent(e);s.instance.panelFormGroup=this.data.panelForm,s.instance.contexts=this.data.contexts}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Dl.MAT_BOTTOM_SHEET_DATA),r.\u0275\u0275directiveInject(Dl.MatBottomSheetRef),r.\u0275\u0275directiveInject(Yt.MatLegacyDialog),r.\u0275\u0275directiveInject(r.ComponentFactoryResolver),r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(pn.ContentPluginManager))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-content-selector"]],viewQuery:function(t,e){var a;1&t&&r.\u0275\u0275viewQuery(FE,7),2&t&&r.\u0275\u0275queryRefresh(a=r.\u0275\u0275loadQuery())&&(e.selectionHost=a.first)},decls:10,vars:6,consts:[[1,"content-selector-wrapper"],[3,"selectedIndex"],["mat-list-item","","mat-list-item","",3,"click",4,"ngFor","ngForOf"],["classifiedsUiContentSelectionHost",""],["mat-list-item","","mat-list-item","",3,"click"],["mat-line",""]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"div",0)(1,"mat-tab-group",1)(2,"mat-tab")(3,"mat-nav-list"),r.\u0275\u0275template(4,oG,3,1,"a",2),r.\u0275\u0275pipe(5,"keyvalue"),r.\u0275\u0275pipe(6,"async"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(7,"mat-tab"),r.\u0275\u0275elementContainerStart(8),r.\u0275\u0275template(9,sG,0,0,"ng-template",3),r.\u0275\u0275elementContainerEnd(),r.\u0275\u0275elementEnd()()()),2&t&&(r.\u0275\u0275advance(1),r.\u0275\u0275property("selectedIndex",e.selectedIndex),r.\u0275\u0275advance(3),r.\u0275\u0275property("ngForOf",r.\u0275\u0275pipeBind1(5,2,r.\u0275\u0275pipeBind1(6,4,e.contentPlugins))))},dependencies:[P.NgForOf,vE.MatLine,Eu.MatLegacyNavList,Eu.MatLegacyListItem,rs.MatLegacyTabGroup,rs.MatLegacyTab,FE,P.AsyncPipe,P.KeyValuePipe],styles:[".content-selector-wrapper[_ngcontent-%COMP%] .mat-tab-header{display:none}"]}),o}(),Vl=function(){var o=function(){function n(t,e){(0,f.Z)(this,n),this.attributeSerializer=t,this.tokenizrService=e,this.types=["text/markdown","text/html"]}return(0,y.Z)(n,[{key:"handleFile",value:function(e){var a=this;return new W.y(function(s){var u=new FileReader;u.onload=function(){s.next(a.buildSettings(new El({contentType:e.type,content:"".concat(u.result)}))),s.complete()},u.readAsText(e)})}},{key:"handlesType",value:function(e){return void 0!==this.types.find(function(a){return a===e})}},{key:"implementsRendererOverride",value:function(){return!1}},{key:"hasRendererOverride",value:function(e){return(0,Le.of)(!1)}},{key:"isDynamic",value:function(e){return!1}},{key:"isData",value:function(e){return!1}},{key:"getBindings",value:function(e,a,s){var u=this;return"context"===a?this.toObject(e).pipe((0,Ce.U)(function(l){return u.tokenizrService.discoverTokens(l.content).map(function(h){return new pn.ContentBinding({id:h,type:"context"})})})):(0,Le.of)([])}},{key:"fetchDynamicData",value:function(e,a){return(0,Le.of)(new pr)}},{key:"buildDynamicItems",value:function(e,a){return(0,Le.of)([])}},{key:"toObject",value:function(e){return(0,Le.of)(new El(this.attributeSerializer.deserializeAsObject(e)))}},{key:"buildSettings",value:function(e){return this.attributeSerializer.serialize(e,"root").attributes}},{key:"stateDefinition",value:function(e){return(0,Le.of)({})}},{key:"editorOptions",value:function(e){return(0,Le.of)(new pn.ContentPluginEditorOptions({fullscreen:!0}))}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Nt.AttributeSerializerService),r.\u0275\u0275inject(Pr))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),ZO=function(){var o=function(){function n(t,e,a,s){var u=this;(0,f.Z)(this,n),this.hostEl=t,this.handler=e,this.tokenizerService=a,this.markdownService=s,this.contexts=[],this.afterContentInit$=new ae.x,this.content="",this.content$=new U.X(""),this.settings$=new U.X([]),this.snippet$=new U.X(void 0),this.resolvedContext$=new U.X(void 0),this.docRendered$=new ae.x,this.contentSub=(0,Sr.a)([this.afterContentInit$,this.content$,this.snippet$,this.docRendered$]).subscribe(function(l){var T=(0,g.Z)(l,3)[2];T&&T.jsScript&&""!==T.jsScript&&setTimeout(function(){return u.appendScript(T.jsScript)})}),this.renderContentSub=(0,Sr.a)([this.settings$,this.resolvedContext$]).pipe((0,st.w)(function(l){var c=(0,g.Z)(l,2);return u.handler.toObject(c[0])}),(0,st.w)(function(l){return u.resolveContexts().pipe((0,Ce.U)(function(c){return[l,c]}))})).subscribe(function(l){var c=(0,g.Z)(l,2),h=c[0],C=c[1];void 0!==C&&(u.tokens=C),u.contentType=h.contentType,u.snippet$.next(h);var T=u.replaceTokens(h.content),N=h.contentType&&-1!==h.contentType.indexOf("markdown")?u.markdownService.parse(T):T;u.content$.next(N)})}return(0,y.Z)(n,[{key:"settings",set:function(e){this.settings$.next(e)}},{key:"resolvedContext",set:function(e){this.resolvedContext$.next(e)}},{key:"ngOnInit",value:function(){}},{key:"ngOnChanges",value:function(){console.log("pane changed")}},{key:"ngAfterContentInit",value:function(){this.afterContentInit$.next(),this.afterContentInit$.complete()}},{key:"replaceTokens",value:function(e){return void 0!==this.tokens&&this.tokens.forEach(function(a,s){e=e.split("[".concat(s,"]")).join("".concat(a))}),e}},{key:"resolveContexts",value:function(){var e=this;return new W.y(function(a){var s=new Map;if(e.resolvedContext$.value)for(var u in e.resolvedContext$.value)s=new Map([].concat((0,_.Z)(s),(0,_.Z)(e.tokenizerService.generateGenericTokens(e.resolvedContext$.value[u],"_root"===u?"":u))));a.next(s),a.complete()})}},{key:"appendScript",value:function(e){var a=document.createElement("script");a.type="text/javascript",a.appendChild(document.createTextNode(e)),this.hostEl.nativeElement.appendChild(a),console.log("add script")}},{key:"onDocRendered",value:function(){this.docRendered$.next(void 0)}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(Vl),r.\u0275\u0275directiveInject(Pr),r.\u0275\u0275directiveInject(fE))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-snippet-pane-renderer"]],inputs:{settings:"settings",contexts:"contexts",tokens:"tokens",resolvedContext:"resolvedContext"},features:[r.\u0275\u0275NgOnChangesFeature],decls:2,vars:2,consts:[[3,"content","docRendered",4,"ngIf"],[3,"content","docRendered"]],template:function(t,e){1&t&&(r.\u0275\u0275template(0,uG,2,3,"classifieds-ui-dynamic-content-viewer",0),r.\u0275\u0275template(1,lG,2,3,"classifieds-ui-dynamic-content-viewer",0)),2&t&&(r.\u0275\u0275property("ngIf","text/markdown"==e.contentType),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf","text/html"==e.contentType))},dependencies:[P.NgIf,Vn.DynamicContentViewer,P.AsyncPipe]}),o}(),Bl=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.snippetHandler=t}return(0,y.Z)(n,[{key:"handleFile",value:function(e){return(0,Le.of)([])}},{key:"handlesType",value:function(e){return!1}},{key:"implementsRendererOverride",value:function(){return!0}},{key:"hasRendererOverride",value:function(e){return this.rendererSnippet(e).pipe((0,Ce.U)(function(a){return void 0!==a}))}},{key:"isDynamic",value:function(e){return!1}},{key:"isData",value:function(e){return!1}},{key:"fetchDynamicData",value:function(e,a){return(0,Le.of)(new pr)}},{key:"buildDynamicItems",value:function(e,a){return(0,Le.of)([])}},{key:"getBindings",value:function(e,a,s){return(0,Le.of)([])}},{key:"valueSettings",value:function(e){var a=[];return e.forEach(function(s){"value"===s.name&&a.push(s)}),a}},{key:"rendererSnippet",value:function(e){var s,a=this;return e.forEach(function(u){"_renderer"===u.name&&(s=a.snippetHandler.toObject(u.attributes))}),void 0!==s?s:(0,Le.of)(void 0)}},{key:"rendererOverrideSettings",value:function(e){return[new Nt.AttributeValue({name:"_renderer",type:Nt.AttributeTypes.Complex,displayName:"Renderer Override",value:void 0,computedValue:void 0,intValue:0,attributes:this.snippetHandler.buildSettings(e)})]}},{key:"widgetSettings",value:function(e){return[new Nt.AttributeValue({name:"widget",type:e.schema.type,displayName:"Widget",value:e.name,computedValue:e.name,intValue:0,attributes:[]})]}},{key:"stateDefinition",value:function(e){return(0,Le.of)({})}},{key:"editorOptions",value:function(e){return(0,Le.of)(new pn.ContentPluginEditorOptions)}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Vl))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),AH=function(){var o=function(){function n(t,e,a,s,u){(0,f.Z)(this,n),this.data=t,this.dialogRef=e,this.tokenizerService=a,this.handler=s,this.fb=u}return(0,y.Z)(n,[{key:"ngOnInit",value:function(){this.tokens=this.tokenizerService.generateTokens(this.data.pane.settings)}},{key:"submitted",value:function(e){this.replaceRenderer(e),this.dialogRef.close()}},{key:"replaceRenderer",value:function(e){var a,s=this.handler.rendererOverrideSettings(e)[0],u=this.convertToGroup(s),l=this.data.panelFormGroup.get("panes").at(this.data.paneIndex).get("settings");l.controls.forEach(function(c,h){"_renderer"===c.get("name").value&&(a=h)}),void 0!==a?(l.insert(a,u),l.removeAt(a+1)):l.push(u)}},{key:"convertToGroup",value:function(e){var a=this,s=this.fb.group({name:new v.UntypedFormControl(e.name,v.Validators.required),type:new v.UntypedFormControl(e.type,v.Validators.required),displayName:new v.UntypedFormControl(e.displayName,v.Validators.required),value:new v.UntypedFormControl(e.value,v.Validators.required),computedValue:new v.UntypedFormControl(e.value,v.Validators.required),attributes:new v.UntypedFormArray([])});return e.attributes&&e.attributes.length>0&&e.attributes.forEach(function(u){s.get("attributes").push(a.convertToGroup(u))}),s}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Yt.MAT_LEGACY_DIALOG_DATA),r.\u0275\u0275directiveInject(Yt.MatLegacyDialogRef),r.\u0275\u0275directiveInject(Pr),r.\u0275\u0275directiveInject(Bl),r.\u0275\u0275directiveInject(v.UntypedFormBuilder))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-rendering-editor"]],decls:2,vars:1,consts:[[3,"tokens","submitted"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"classifieds-ui-snippet-form",0),r.\u0275\u0275listener("submitted",function(s){return e.submitted(s)}),r.\u0275\u0275element(1,"classifieds-ui-snippet-form"),r.\u0275\u0275elementEnd()),2&t&&r.\u0275\u0275property("tokens",e.tokens)},dependencies:[mE]}),o}(),kH=function(){var o=function(){function n(t,e,a,s,u,l){(0,f.Z)(this,n),this.data=t,this.spm=e,this.bottomSheetRef=a,this.dialog=s,this.componentFactoryResolver=u,this.fb=l,this.selectedIndex=0}return(0,y.Z)(n,[{key:"ngOnInit",value:function(){this.stylePlugins=this.spm.getPlugins()}},{key:"onStyleSelected",value:function(e){this.plugin=e,void 0!==this.plugin.editorComponent?(this.bottomSheetRef.dismiss(),this.data.panelForm.get("stylePlugin").setValue(this.plugin.name),this.data.panelForm.get("styleTitle").setValue(this.plugin.title),this.data.panelForm.get("settings").clear(),this.dialog.open(this.plugin.editorComponent,{data:{panelFormGroup:this.data.panelForm,panelIndex:this.data.panelIndex,contexts:this.data.contexts}})):(this.data.panelForm.get("stylePlugin").setValue(this.plugin.name),this.data.panelForm.get("styleTitle").setValue(this.plugin.title),this.data.panelForm.get("settings").clear(),this.bottomSheetRef.dismiss())}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Dl.MAT_BOTTOM_SHEET_DATA),r.\u0275\u0275directiveInject(Xd),r.\u0275\u0275directiveInject(Dl.MatBottomSheetRef),r.\u0275\u0275directiveInject(Yt.MatLegacyDialog),r.\u0275\u0275directiveInject(r.ComponentFactoryResolver),r.\u0275\u0275directiveInject(v.UntypedFormBuilder))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-style-selector"]],viewQuery:function(t,e){var a;1&t&&r.\u0275\u0275viewQuery(FE,7),2&t&&r.\u0275\u0275queryRefresh(a=r.\u0275\u0275loadQuery())&&(e.selectionHost=a.first)},decls:10,vars:6,consts:[[1,"style-selector-wrapper"],[3,"selectedIndex"],["mat-list-item","","mat-list-item","",3,"click",4,"ngFor","ngForOf"],["classifiedsUiContentSelectionHost",""],["mat-list-item","","mat-list-item","",3,"click"],["mat-line",""]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"div",0)(1,"mat-tab-group",1)(2,"mat-tab")(3,"mat-nav-list"),r.\u0275\u0275template(4,cG,3,1,"a",2),r.\u0275\u0275pipe(5,"keyvalue"),r.\u0275\u0275pipe(6,"async"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(7,"mat-tab"),r.\u0275\u0275elementContainerStart(8),r.\u0275\u0275template(9,dG,0,0,"ng-template",3),r.\u0275\u0275elementContainerEnd(),r.\u0275\u0275elementEnd()()()),2&t&&(r.\u0275\u0275advance(1),r.\u0275\u0275property("selectedIndex",e.selectedIndex),r.\u0275\u0275advance(3),r.\u0275\u0275property("ngForOf",r.\u0275\u0275pipeBind1(5,2,r.\u0275\u0275pipeBind1(6,4,e.stylePlugins))))},dependencies:[P.NgForOf,vE.MatLine,Eu.MatLegacyNavList,Eu.MatLegacyListItem,rs.MatLegacyTabGroup,rs.MatLegacyTab,FE,P.AsyncPipe,P.KeyValuePipe],styles:[".style-selector-wrapper[_ngcontent-%COMP%] .mat-tab-header{display:none}"]}),o}(),RH=function(){var o=function(){function n(t,e,a,s,u){(0,f.Z)(this,n),this.data=t,this.dialogRef=e,this.fb=a,this.inlineContextResolver=s,this.rulesParser=u,this.rulesForm=this.fb.group({rules:this.fb.control("")}),this.config={fields:{}}}return(0,y.Z)(n,[{key:"ngOnInit",value:function(){var e=this;this.inlineContextResolver.resolveMerged(this.data.contexts).subscribe(function(a){var s={};for(var u in a)e.rulesParser.buildFields(a[u],u).forEach(function(l,c){s[c]=l});e.config=(0,b.Z)((0,b.Z)({},e.config),{},{fields:s}),void 0!==e.data.rule&&e.rulesForm.get("rules").setValue(e.data.rule)})}},{key:"submit",value:function(){console.log("the rules"),console.log(this.rulesForm.get("rules").value),this.dialogRef.close(this.rulesForm.get("rules").value)}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Yt.MAT_LEGACY_DIALOG_DATA),r.\u0275\u0275directiveInject(Yt.MatLegacyDialogRef),r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(zd),r.\u0275\u0275directiveInject(PI))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-rules-dialog"]],decls:6,vars:3,consts:[[1,"rest-form",3,"formGroup","ngSubmit"],["formControlName","rules",3,"config"],["type","submit","mat-raised-button","","color","primary","mat-dialog-close","",3,"disabled"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"form",0),r.\u0275\u0275listener("ngSubmit",function(){return e.submit()}),r.\u0275\u0275elementStart(1,"mat-dialog-content"),r.\u0275\u0275element(2,"query-builder",1),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"mat-dialog-actions")(4,"button",2),r.\u0275\u0275text(5,"Save"),r.\u0275\u0275elementEnd()()()),2&t&&(r.\u0275\u0275property("formGroup",e.rulesForm),r.\u0275\u0275advance(2),r.\u0275\u0275property("config",e.config),r.\u0275\u0275advance(2),r.\u0275\u0275property("disabled",!e.rulesForm.valid))},dependencies:[v.\u0275NgNoValidate,v.NgControlStatus,v.NgControlStatusGroup,v.FormGroupDirective,v.FormControlName,pi.MatLegacyButton,Yt.MatLegacyDialogClose,Yt.MatLegacyDialogContent,Yt.MatLegacyDialogActions,VA]}),o}(),DH=function(){var o=function(){function n(t,e,a){(0,f.Z)(this,n),this.data=t,this.dialogRef=e,this.fb=a,this.propertiesForm=this.fb.group({name:this.fb.control(this.data.props.name),title:this.fb.control(this.data.props.title),path:this.fb.control(this.data.props.path),cssFile:this.fb.control(this.data.props.cssFile),readUserIds:this.fb.array([this.fb.group({userId:this.fb.control(this.data.props.readUserIds&&this.data.props.readUserIds.length>0?this.data.props.readUserIds[0]:"")})])})}return(0,y.Z)(n,[{key:"ngOnInit",value:function(){}},{key:"submit",value:function(){this.dialogRef.close(new l_((0,b.Z)((0,b.Z)({},this.propertiesForm.value),{},{readUserIds:this.propertiesForm.value.readUserIds.map(function(e){return e.userId})})))}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Yt.MAT_LEGACY_DIALOG_DATA),r.\u0275\u0275directiveInject(Yt.MatLegacyDialogRef),r.\u0275\u0275directiveInject(v.UntypedFormBuilder))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-properties-dialog"]],decls:18,vars:2,consts:[[1,"properties-form",3,"formGroup","ngSubmit"],[1,"content-inner"],["fxLayout","column"],["matInput","","formControlName","name","placeholder","Name"],["matInput","","formControlName","title","placeholder","Title"],["matInput","","formControlName","path","placeholder","Path"],["matInput","","formControlName","cssFile","placeholder","Css File"],["formArrayName","readUserIds"],["formGroupName","0"],["matInput","","formControlName","userId","placeholder","Read User Id"],["type","submit","mat-raised-button","","color","primary","mat-dialog-close","",3,"disabled"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"form",0),r.\u0275\u0275listener("ngSubmit",function(){return e.submit()}),r.\u0275\u0275elementStart(1,"mat-dialog-content")(2,"div",1)(3,"div",2)(4,"mat-form-field"),r.\u0275\u0275element(5,"input",3),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(6,"mat-form-field"),r.\u0275\u0275element(7,"input",4),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(8,"mat-form-field"),r.\u0275\u0275element(9,"input",5),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(10,"mat-form-field"),r.\u0275\u0275element(11,"input",6),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(12,"mat-form-field",7)(13,"div",8),r.\u0275\u0275element(14,"input",9),r.\u0275\u0275elementEnd()()()()(),r.\u0275\u0275elementStart(15,"mat-dialog-actions")(16,"button",10),r.\u0275\u0275text(17,"Save"),r.\u0275\u0275elementEnd()()()),2&t&&(r.\u0275\u0275property("formGroup",e.propertiesForm),r.\u0275\u0275advance(16),r.\u0275\u0275property("disabled",!e.propertiesForm.valid))},dependencies:[v.\u0275NgNoValidate,v.DefaultValueAccessor,v.NgControlStatus,v.NgControlStatusGroup,v.FormGroupDirective,v.FormControlName,v.FormGroupName,v.FormArrayName,pi.MatLegacyButton,Yt.MatLegacyDialogClose,Yt.MatLegacyDialogContent,Yt.MatLegacyDialogActions,En.MatLegacyFormField,Hr.MatLegacyInput,Wt]}),o}(),LO=function(){var o=function(){function n(t,e,a){(0,f.Z)(this,n),this.data=t,this.dialogRef=e,this.fb=a,this.contextForm=this.fb.group({context:this.fb.control("")}),this.context=t.context}return(0,y.Z)(n,[{key:"ngOnInit",value:function(){}},{key:"ngAfterViewInit",value:function(){var e=this;this.data.context&&setTimeout(function(){e.contextFormComp.contextForm.setValue({name:e.data.context.name,plugin:e.data.context.plugin}),"rest"===e.data.context.plugin?setTimeout(function(){e.contextFormComp.componentRef.instance.restSourceFormComp.restSource={url:e.data.context.rest.url,params:e.data.context.rest.params}}):"datasource"===e.data.context.plugin&&setTimeout(function(){e.contextFormComp.componentRef.instance.datasourceFormComp.datasource=e.data.context.datasource})})}},{key:"submit",value:function(){""!==this.contextForm.get("context").value.name?this.dialogRef.close(new la(this.contextForm.get("context").value)):this.dialogRef.close()}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Yt.MAT_LEGACY_DIALOG_DATA),r.\u0275\u0275directiveInject(Yt.MatLegacyDialogRef),r.\u0275\u0275directiveInject(v.UntypedFormBuilder))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-context-dialog"]],viewQuery:function(t,e){var a;1&t&&r.\u0275\u0275viewQuery(dI,5),2&t&&r.\u0275\u0275queryRefresh(a=r.\u0275\u0275loadQuery())&&(e.contextFormComp=a.first)},decls:6,vars:3,consts:[[1,"context-form",3,"formGroup","ngSubmit"],["formControlName","context",3,"context"],["type","submit","mat-raised-button","","color","primary","mat-dialog-close","",3,"disabled"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"form",0),r.\u0275\u0275listener("ngSubmit",function(){return e.submit()}),r.\u0275\u0275elementStart(1,"mat-dialog-content"),r.\u0275\u0275element(2,"classifieds-ui-context-form",1),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"mat-dialog-actions")(4,"button",2),r.\u0275\u0275text(5,"Save"),r.\u0275\u0275elementEnd()()()),2&t&&(r.\u0275\u0275property("formGroup",e.contextForm),r.\u0275\u0275advance(2),r.\u0275\u0275property("context",e.context),r.\u0275\u0275advance(2),r.\u0275\u0275property("disabled",!e.contextForm.valid))},dependencies:[v.\u0275NgNoValidate,v.NgControlStatus,v.NgControlStatusGroup,v.FormGroupDirective,v.FormControlName,pi.MatLegacyButton,Yt.MatLegacyDialogClose,Yt.MatLegacyDialogContent,Yt.MatLegacyDialogActions,dI]}),o}(),TH=function(){var o=function(){function n(t,e,a){(0,f.Z)(this,n),this.data=t,this.dialogRef=e,this.fb=a,this.propsForm=this.fb.group({name:this.fb.control(this.data.props.name),label:this.fb.control(this.data.props.label)})}return(0,y.Z)(n,[{key:"ngOnInit",value:function(){}},{key:"submit",value:function(){this.dialogRef.close(new JI(this.propsForm.value))}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Yt.MAT_LEGACY_DIALOG_DATA),r.\u0275\u0275directiveInject(Yt.MatLegacyDialogRef),r.\u0275\u0275directiveInject(v.UntypedFormBuilder))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-panel-props-dialog"]],decls:11,vars:2,consts:[[1,"props-form",3,"formGroup","ngSubmit"],[1,"content-inner"],["fxLayout","column"],["matInput","","formControlName","name","placeholder","Name"],["matInput","","formControlName","label","placeholder","Label"],["type","submit","mat-raised-button","","color","primary","mat-dialog-close","",3,"disabled"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"form",0),r.\u0275\u0275listener("ngSubmit",function(){return e.submit()}),r.\u0275\u0275elementStart(1,"mat-dialog-content")(2,"div",1)(3,"div",2)(4,"mat-form-field"),r.\u0275\u0275element(5,"input",3),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(6,"mat-form-field"),r.\u0275\u0275element(7,"input",4),r.\u0275\u0275elementEnd()()()(),r.\u0275\u0275elementStart(8,"mat-dialog-actions")(9,"button",5),r.\u0275\u0275text(10,"Save"),r.\u0275\u0275elementEnd()()()),2&t&&(r.\u0275\u0275property("formGroup",e.propsForm),r.\u0275\u0275advance(9),r.\u0275\u0275property("disabled",!e.propsForm.valid))},dependencies:[v.\u0275NgNoValidate,v.DefaultValueAccessor,v.NgControlStatus,v.NgControlStatusGroup,v.FormGroupDirective,v.FormControlName,pi.MatLegacyButton,Yt.MatLegacyDialogClose,Yt.MatLegacyDialogContent,Yt.MatLegacyDialogActions,En.MatLegacyFormField,Hr.MatLegacyInput,Wt]}),o}(),IH=function(){var o=function(){function n(t,e,a){(0,f.Z)(this,n),this.data=t,this.dialogRef=e,this.fb=a,this.propsForm=this.fb.group({name:this.fb.control(this.data.props.name),label:this.fb.control(this.data.props.label)})}return(0,y.Z)(n,[{key:"ngOnInit",value:function(){}},{key:"submit",value:function(){this.dialogRef.close(new eO(this.propsForm.value))}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Yt.MAT_LEGACY_DIALOG_DATA),r.\u0275\u0275directiveInject(Yt.MatLegacyDialogRef),r.\u0275\u0275directiveInject(v.UntypedFormBuilder))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-pane-props-dialog"]],decls:11,vars:2,consts:[[1,"props-form",3,"formGroup","ngSubmit"],[1,"content-inner"],["fxLayout","column"],["matInput","","formControlName","name","placeholder","Name"],["matInput","","formControlName","label","placeholder","Label"],["type","submit","mat-raised-button","","color","primary","mat-dialog-close","",3,"disabled"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"form",0),r.\u0275\u0275listener("ngSubmit",function(){return e.submit()}),r.\u0275\u0275elementStart(1,"mat-dialog-content")(2,"div",1)(3,"div",2)(4,"mat-form-field"),r.\u0275\u0275element(5,"input",3),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(6,"mat-form-field"),r.\u0275\u0275element(7,"input",4),r.\u0275\u0275elementEnd()()()(),r.\u0275\u0275elementStart(8,"mat-dialog-actions")(9,"button",5),r.\u0275\u0275text(10,"Save"),r.\u0275\u0275elementEnd()()()),2&t&&(r.\u0275\u0275property("formGroup",e.propsForm),r.\u0275\u0275advance(9),r.\u0275\u0275property("disabled",!e.propsForm.valid))},dependencies:[v.\u0275NgNoValidate,v.DefaultValueAccessor,v.NgControlStatus,v.NgControlStatusGroup,v.FormGroupDirective,v.FormControlName,pi.MatLegacyButton,Yt.MatLegacyDialogClose,Yt.MatLegacyDialogContent,Yt.MatLegacyDialogActions,En.MatLegacyFormField,Hr.MatLegacyInput,Wt]}),o}(),jO=function(){var o=(0,y.Z)(function n(t){(0,f.Z)(this,n),this.viewContainerRef=t});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(r.ViewContainerRef))},o.\u0275dir=r.\u0275\u0275defineDirective({type:o,selectors:[["","classifiedsUiLayoutEditorHost",""]]}),o}(),$O=function(){var o=(0,y.Z)(function n(t){(0,f.Z)(this,n),this.viewContainerRef=t});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(r.ViewContainerRef))},o.\u0275dir=r.\u0275\u0275defineDirective({type:o,selectors:[["","classifiedsUiPaneContentHost",""]]}),o}(),rk=function(){var o=function(){function n(t,e){(0,f.Z)(this,n),this.entityServices=t,this.attributeSerializer=e}return(0,y.Z)(n,[{key:"entityCollectionService",get:function(){return this.entityServices.getEntityCollectionService("PanelPageState")}},{key:"resolve",value:function(e,a){var T,F,s=this,u=function(T){return T.entities},h="$."+a.selectionPath.map(function(C,T){return"".concat((T+1)%2==0?"panes":(0===T?"":"nestedPage.")+"panels","[").concat(C,"]")}).join(".");return this.entityCollectionService.collection$.pipe((0,Bt.Ys)((F=(T={id:a.id,path:h}).path,(0,Bt.P1)(function(T){var N=T.id;return(0,Bt.P1)(u,function(F){return F[N]?F[N]:void 0})}({id:T.id}),function($){return(0,Ms.JSONPath)({path:F,json:$})}))),(0,Ce.U)(function(C){return C&&Array.isArray(C)&&0!==C.length?C[0]:s.defaultPaneState(a.value?a.value:{})}),(0,Ce.U)(function(C){return s.attributeSerializer.deserialize(C.state)}),(0,Ce.U)(function(C){return C?C.root?C.root:C:{}}),(0,te.b)(function(C){console.log("resolved panestate[id=".concat(a.id,"]").concat(h)),console.log(C)}))}},{key:"defaultPaneState",value:function(e){return new Ya({state:this.attributeSerializer.serialize(e,"root")})}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Dr),r.\u0275\u0275inject(Nt.AttributeSerializerService))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),UO=function(){var o=function(){function n(t,e,a){var s=this;(0,f.Z)(this,n),this.componentFactoryResolver=t,this.panelHandler=e,this.cpm=a,this.settings=[],this.locked=!1,this.contexts=[],this.edit=new r.EventEmitter,this.props=new r.EventEmitter,this.delete=new r.EventEmitter,this.rules=new r.EventEmitter,this.rendererOverride=new r.EventEmitter,this.removeRendererOverride=new r.EventEmitter,this.nestedUpdate=new r.EventEmitter,this.heightChange=new r.EventEmitter,this.displayOverride=!1,this.hasOverride=!1,this.preview=!1,this.schedulePluginChange=new ae.x,this.pluginChangeSub=this.schedulePluginChange.pipe((0,st.w)(function(u){return s.cpm.getPlugin(s.pluginName).pipe((0,st.w)(function(l){return l.handler.hasRendererOverride(s.settings).pipe((0,Ce.U)(function(c){return[u,l,c]}))}))})).subscribe(function(u){var l=(0,g.Z)(u,3),c=l[0],h=l[1],C=l[2];s.contentPlugin=h,s.displayOverride=h.handler.implementsRendererOverride(),s.hasOverride=!!C,c&&"panel"===s.pluginName&&s.panelHandler.toObject(s.settings).subscribe(function(T){s.panelPage=T})}),this.ancestory$=new ae.x,this.panelIndex$=new ae.x,this.paneIndex$=new ae.x,this.paneAncestoryWithSelf=[],this.paneAncestoryWithSelfSub=(0,Sr.a)([this.ancestory$,this.panelIndex$,this.paneIndex$]).pipe((0,Ce.U)(function(u){var l=(0,g.Z)(u,3),h=l[1],C=l[2];return[].concat((0,_.Z)(l[0]),[h,C])})).subscribe(function(u){s.paneAncestoryWithSelf=u})}return(0,y.Z)(n,[{key:"panelIndex",set:function(e){this.panelIndex$.next(e)}},{key:"paneIndex",set:function(e){this.paneIndex$.next(e)}},{key:"ancestory",set:function(e){this.ancestory$.next(e)}},{key:"ngOnInit",value:function(){this.schedulePluginChange.next(!0),console.log("here 1")}},{key:"ngOnChanges",value:function(e){this.schedulePluginChange.next(!1),console.log("here 2"),console.log(e)}},{key:"onEditClick",value:function(){this.edit.emit()}},{key:"onPropsClick",value:function(){this.props.emit()}},{key:"onRulesClick",value:function(){this.rules.emit()}},{key:"onDeleteClick",value:function(){this.delete.emit()}},{key:"onPreviewClick",value:function(){var e=this;this.preview=!0,void 0!==this.contentPaneHost&&this.renderPaneContent(),setTimeout(function(){return e.heightChange.emit()})}},{key:"onOverrideClick",value:function(){this.rendererOverride.emit()}},{key:"onRemoveOverrideClick",value:function(){this.removeRendererOverride.emit()}},{key:"onNestedUpdate",value:function(e){this.nestedUpdate.emit(e)}},{key:"onDisablePreviewClick",value:function(){var e=this;this.preview=!1,void 0!==this.contentPaneHost&&this.contentPaneHost.viewContainerRef.clear(),setTimeout(function(){return e.heightChange.emit()})}},{key:"onAfterCollapse",value:function(){this.heightChange.emit()}},{key:"onAfterExpand",value:function(){this.heightChange.emit()}},{key:"renderPaneContent",value:function(){var e=this.componentFactoryResolver.resolveComponentFactory(this.contentPlugin.renderComponent),a=this.contentPaneHost.viewContainerRef;a.clear(),a.createComponent(e).instance.settings=this.settings}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(r.ComponentFactoryResolver),r.\u0275\u0275directiveInject(ya),r.\u0275\u0275directiveInject(pn.ContentPluginManager))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-editable-pane"]],viewQuery:function(t,e){var a;1&t&&(r.\u0275\u0275viewQuery($O,5),r.\u0275\u0275viewQuery(pG,5)),2&t&&(r.\u0275\u0275queryRefresh(a=r.\u0275\u0275loadQuery())&&(e.contentPaneHost=a.first),r.\u0275\u0275queryRefresh(a=r.\u0275\u0275loadQuery())&&(e.contentEditor=a.first))},inputs:{pluginName:"pluginName",settings:"settings",name:"name",label:"label",panelIndex:"panelIndex",paneIndex:"paneIndex",locked:"locked",rootContext:"rootContext",contexts:"contexts",ancestory:"ancestory"},outputs:{edit:"edit",props:"props",delete:"delete",rules:"rules",rendererOverride:"rendererOverride",removeRendererOverride:"removeRendererOverride",nestedUpdate:"nestedUpdate",heightChange:"heightChange"},features:[r.\u0275\u0275NgOnChangesFeature],decls:17,vars:6,consts:[["class","editable-pane-wrapper",4,"ngIf","ngIfElse"],["settingsTmpl",""],["nestedPanelTpl",""],["paneMenu","matMenu"],["type","button","mat-menu-item","",3,"disabled","click"],["type","button","mat-menu-item","",3,"click"],["mat-menu-item","","type","button",3,"disabled","click",4,"ngIf"],["mat-menu-item","","type","button",3,"click",4,"ngIf"],["type","button","mat-menu-item","",1,"delete",3,"click"],[1,"editable-pane-wrapper"],["fxLayout","row",1,"inner-pane-wrapper"],[1,"pane-menu-trigger-wrapper"],["mat-button","","type","button",3,"matMenuTriggerFor"],["fxFlex","",3,"afterCollapse","afterExpand"],[3,"hidden"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"preview-area",3,"ngClass"],["class","override","type","button",3,"click",4,"ngIf"],["classifiedsUiPaneContentHost",""],["type","button",1,"override",3,"click"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"nested-panel-wrapper"],[3,"panelPage","savable","nested","locked","contexts","rootContext","ancestory","nestedUpdate","delete","rules","props"],["contentEditor",""],["extraActionsArea",""],["mat-menu-item","","type","button",3,"disabled","click"],["mat-menu-item","","type","button",3,"click"]],template:function(t,e){if(1&t&&(r.\u0275\u0275template(0,yG,18,13,"div",0),r.\u0275\u0275template(1,wG,1,1,"ng-template",null,1,r.\u0275\u0275templateRefExtractor),r.\u0275\u0275template(3,EG,5,7,"ng-template",null,2,r.\u0275\u0275templateRefExtractor),r.\u0275\u0275elementStart(5,"mat-menu",null,3)(7,"button",4),r.\u0275\u0275listener("click",function(){return e.onEditClick()}),r.\u0275\u0275text(8,"Edit"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(9,"button",4),r.\u0275\u0275listener("click",function(){return e.onPropsClick()}),r.\u0275\u0275text(10,"Props"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(11,"button",5),r.\u0275\u0275listener("click",function(){return e.onRulesClick()}),r.\u0275\u0275text(12,"Rules"),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(13,PG,2,1,"button",6),r.\u0275\u0275template(14,AG,2,0,"button",7),r.\u0275\u0275elementStart(15,"button",8),r.\u0275\u0275listener("click",function(){return e.onDeleteClick()}),r.\u0275\u0275text(16,"Delete"),r.\u0275\u0275elementEnd()()),2&t){var a=r.\u0275\u0275reference(4);r.\u0275\u0275property("ngIf","panel"!=e.pluginName||e.locked)("ngIfElse",a),r.\u0275\u0275advance(7),r.\u0275\u0275property("disabled",e.locked),r.\u0275\u0275advance(2),r.\u0275\u0275property("disabled",e.locked&&0!==e.settings.length),r.\u0275\u0275advance(4),r.\u0275\u0275property("ngIf",!e.preview),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",e.preview)}},dependencies:function(){return[P.NgClass,P.NgForOf,P.NgIf,P.NgTemplateOutlet,pi.MatLegacyButton,zA.MatExpansionPanel,zA.MatExpansionPanelHeader,zA.MatExpansionPanelTitle,g_.MatIcon,_a.MatLegacyMenu,_a.MatLegacyMenuItem,_a.MatLegacyMenuTrigger,Wt,In,Io,ik,$O,Nt.AttributePipe]},styles:[".editable-pane-wrapper[_ngcontent-%COMP%]{margin-bottom:.25em;border-radius:4px;padding-left:.25em;box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.nested-panel-wrapper[_ngcontent-%COMP%]{margin-bottom:.25em}.inner-pane-wrapper[_ngcontent-%COMP%]{padding:0}.pane-header[_ngcontent-%COMP%]{background-color:#ccc;padding:0}.mat-menu-trigger[_ngcontent-%COMP%]{min-width:0;padding:0;margin:0}button.delete[_ngcontent-%COMP%]{float:right}.preview-area[_ngcontent-%COMP%]{display:none;position:relative}.preview-area.visible[_ngcontent-%COMP%]{display:block;height:300px;overflow-y:scroll;border:1px solid black;padding:.5em}.panel-name[_ngcontent-%COMP%]{float:right;padding-right:.5em}.pane-menu-trigger-wrapper[_ngcontent-%COMP%]{display:flex}.mat-expansion-panel[_ngcontent-%COMP%]{box-shadow:none}.mat-expansion-panel-header[_ngcontent-%COMP%]{padding:0 1em 0 .25em}"]}),o}(),ik=function(){var o=function(){function n(t,e,a,s,u,l,c,h,C,T,N,F,$,se){var ue=this;(0,f.Z)(this,n),this.siteName=t,this.cpm=e,this.spm=a,this.lpm=s,this.cxtm=u,this.fb=l,this.bs=c,this.dialog=h,this.panelHandler=C,this.tokenizerService=T,this.componentFactoryResolver=N,this.pageBuilderFacade=F,this.paneStateContextResolver=$,this.panelsContextService=se,this.submitted=new r.EventEmitter,this.nestedUpdate=new r.EventEmitter,this.delete=new r.EventEmitter,this.rules=new r.EventEmitter,this.props=new r.EventEmitter,this.savable=!0,this.nested=!1,this.locked=!1,this.pageBuilder=!1,this.contexts=[],this.contentAdded=new ae.x,this.contentAdddedSub=this.contentAdded.subscribe(function(ge){var Se=(0,g.Z)(ge,2);ue.resolvePaneContexts(Se[0],Se[1])}),this.dashboard=[],this.pageProperties=new l_,this.persistence=new Hd,this.interactions=new Rl,this.layoutSetting=new br,this.rowSettings=[],this.ancestory$=new U.X([]),this.onTouched=function(){},this.contentForm=this.fb.group({name:this.fb.control(""),title:this.fb.control(""),layoutType:this.fb.control("split",v.Validators.required),displayType:this.fb.control("page",v.Validators.required),panels:this.fb.array([])}),this.options={gridType:Hn.Fit,displayGrid:ku.Always,pushItems:!0,draggable:{enabled:!0},resizable:{enabled:!0},mobileBreakpoint:0,itemChangeCallback:function(Se,we){},itemInitCallback:function(Se,we){if(ue.nested&&0!==Se.y){var He=ue.gridLayout.grid.findIndex(function(ot){return ot.x===Se.x&&ot.y===Se.y&&ot.cols===Se.cols&&ot.rows===Se.rows});0===ue.panelPanes(He).length&&ue.gridLayout.setItemContentHeight(He,200)}}},this.ancestorySub=this.ancestory$.pipe((0,Q.h)(function(){return!!ue.layoutEditorRef})).subscribe(function(ge){ue.layoutEditorRef.instance.ancestory=ge})}return(0,y.Z)(n,[{key:"ancestory",get:function(){return this.ancestory$.value},set:function(e){this.ancestory$.next(e)}},{key:"panels",get:function(){return this.contentForm.get("panels")}},{key:"layoutType",get:function(){return this.contentForm.get("layoutType")}},{key:"displayType",get:function(){return this.contentForm.get("displayType")}},{key:"columnSettings",get:function(){for(var e=this.panels.length,a=[],s=0;s<e;s++)a=[].concat((0,_.Z)(a),[new br(this.panels.at(s).get("columnSetting").value)]);return a}},{key:"ngOnInit",value:function(){var e=this;this.contentForm.valueChanges.pipe((0,Q.h)(function(){return e.nested}),(0,Ar.b)(500)).subscribe(function(){e.nestedUpdate.emit(e.packageFormData())}),this.contentForm.get("layoutType").valueChanges.pipe((0,Q.h)(function(a){return"gridless"===a}),(0,Rr.g)(1)).subscribe(function(a){0===e.panels.length&&e.panels.push(e.fb.group({name:new v.UntypedFormControl(""),label:new v.UntypedFormControl(""),stylePlugin:new v.UntypedFormControl(""),styleTitle:new v.UntypedFormControl(""),settings:new v.UntypedFormArray([]),panes:e.fb.array([]),columnSetting:e.fb.group({settings:e.fb.array([])})}))}),this.contentForm.valueChanges.pipe((0,Q.h)(function(){return!e.nested}),(0,Ar.b)(500)).subscribe(function(){var a=e.packageFormData();e.pageBuilderFacade.setPage(a)})}},{key:"ngAfterViewInit",value:function(){var e=this;this.layoutType.valueChanges.pipe((0,Q.h)(function(){return!!e.layoutEditorHost})).subscribe(function(a){e.renderEditorLayout(a)}),this.layoutType.value&&this.renderEditorLayout(this.layoutType.value)}},{key:"ngAfterContentInit",value:function(){var e=this;setTimeout(function(){e.panelPage||e.contentForm.get("layoutType").setValue("split")},1e3)}},{key:"ngOnChanges",value:function(e){var a=this;e.panelPage&&e.panelPage.previousValue!==e.panelPage.currentValue&&(this.panels.clear(),this.panelPageId=e.panelPage.currentValue.panelPageId,this.dashboard=e.panelPage.currentValue.gridItems.map(function(s){return Object.assign({},s)}),this.layoutType.setValue(e.panelPage.currentValue.layoutType),this.layoutSetting=new br(e.panelPage.currentValue.layoutSetting),this.rowSettings=e.panelPage.currentValue.rowSettings?e.panelPage.currentValue.rowSettings.map(function(s){return new br(s)}):[],this.persistence=e.panelPage.currentValue.persistence?new Hd(e.panelPage.currentValue.persistence):new Hd,this.interactions=e.panelPage.currentValue.interactions?new Rl(e.panelPage.currentValue.interactions):new Rl,this.nested?(this.pageProperties=new l_({name:e.panelPage.currentValue.name,title:e.panelPage.currentValue.title,path:"",readUserIds:[],cssFile:""}),this.contentForm.get("name").setValue(e.panelPage.currentValue.name),this.contentForm.get("title").setValue(e.panelPage.currentValue.title)):(this.pageProperties=new l_({name:e.panelPage.currentValue.name,title:e.panelPage.currentValue.title,path:e.panelPage.currentValue.path,readUserIds:e.panelPage.currentValue.entityPermissions.readUserIds,cssFile:e.panelPage.currentValue.cssFile}),this.contexts=e.panelPage.currentValue.contexts),e.panelPage.currentValue.panels.forEach(function(s,u){var l;a.panels.push(a.fb.group({name:new v.UntypedFormControl(s.name),label:new v.UntypedFormControl(s.label),stylePlugin:new v.UntypedFormControl(s.stylePlugin),styleTitle:new v.UntypedFormControl(""),settings:a.fb.array(void 0!==s.settings?s.settings.map(function(l){return a.convertToGroup(l)}):[]),panes:a.fb.array([]),columnSetting:a.fb.group({settings:a.fb.array(s.columnSetting?s.columnSetting.settings.map(function(l){return a.convertToGroup(l)}):[])})})),s.stylePlugin&&""!==s.stylePlugin&&a.spm.getPlugin(s.stylePlugin).subscribe(function(l){a.panels.at(u).get("styleTitle").setValue(l.title)}),a.nested&&a.panelPanes(a.panels.length-1).valueChanges.pipe((0,Ar.b)(5),(0,Rr.g)(1)).subscribe((l=a.panels.length-1,function(){if(void 0!==a.gridLayout){var c=a.paneContainers.find(function(h,C){return C===l});a.gridLayout.setItemContentHeight(l,c.nativeElement.offsetHeight)}})),s.panes.forEach(function(l,c){a.panels.at(u).get("panes").push(a.fb.group({contentPlugin:l.contentPlugin,name:new v.UntypedFormControl(l.name),label:new v.UntypedFormControl(l.label),locked:new v.UntypedFormControl(l.locked),linkedPageId:new v.UntypedFormControl(l.linkedPageId),rule:new v.UntypedFormControl(l.rule&&null!==l.rule?(0,b.Z)((0,b.Z)({},l.rule),{},{rules:l.rule.rules&&Array.isArray(l.rule.rules)?l.rule.rules:[]}):{condition:"",rules:[]}),settings:new v.UntypedFormArray(l.settings.map(function(h){return a.convertToGroup(h)}))})),setTimeout(function(){return a.resolvePaneContexts(u,c)})})}),this.layoutEditorRef&&(this.layoutEditorRef.instance.layoutSetting=this.layoutSetting,this.layoutEditorRef.instance.rowSettings=this.rowSettings,this.layoutEditorRef.instance.columnSettings=this.columnSettings))}},{key:"addContent",value:function(e){var a=this;console.log(this.panels.at(e)),this.pageBuilderFacade.getPage$.pipe((0,st.w)(function(s){return a.panelsContextService.allActivePageContexts({panelPage:s})}),(0,An.q)(1)).subscribe(function(s){a.bs.open(PH,{data:{panelForm:a.panels.at(e),panelIndex:e,contexts:[].concat((0,_.Z)(a.rootContext?[a.rootContext]:[]),(0,_.Z)(a.contexts),(0,_.Z)(s))}})})}},{key:"editPanelProps",value:function(e){var a=this.panels.at(e).get("name"),s=this.panels.at(e).get("label");this.dialog.open(TH,{data:{props:new JI({name:a.value,label:s.value})}}).afterClosed().subscribe(function(u){u&&(a.setValue(u.name),s.setValue(u.label))})}},{key:"editPaneProps",value:function(e,a){var s=this.panelPane(e,a).get("name"),u=this.panelPane(e,a).get("label");this.dialog.open(IH,{data:{props:new eO({name:s.value,label:u.value})}}).afterClosed().subscribe(function(l){l&&(s.setValue(l.name),u.setValue(l.label))})}},{key:"applyStyle",value:function(e){this.bs.open(kH,{data:{panelForm:this.panels.controls[e],panelIndex:e,contexts:this.contexts}})}},{key:"removeStyle",value:function(e){this.panels.controls[e].get("stylePlugin").setValue(""),this.panels.controls[e].get("styleTitle").setValue("")}},{key:"onItemAdded",value:function(){var e=this;console.log("item added"),this.panels.push(this.fb.group({name:new v.UntypedFormControl(""),label:new v.UntypedFormControl(""),stylePlugin:new v.UntypedFormControl(""),styleTitle:new v.UntypedFormControl(""),settings:new v.UntypedFormArray([]),panes:this.fb.array([]),columnSetting:this.fb.group({settings:this.fb.array([])})})),this.nested&&void 0!==this.gridLayout&&setTimeout(function(){e.paneContainers.forEach(function(a,s){e.gridLayout.setItemContentHeight(s,a.nativeElement.offsetHeight)})}),this.panelPanes(this.panels.length-1).valueChanges.pipe((0,Q.h)(function(){return e.nested&&void 0!==e.gridLayout}),(0,Ar.b)(5),(0,Rr.g)(1)).subscribe(function(a){return function(){var s=e.paneContainers.find(function(u,l){return l===a});e.gridLayout.setItemContentHeight(a,s.nativeElement.offsetHeight)}}(this.panels.length-1)),this.layoutEditorRef&&(this.layoutEditorRef.instance.columnSettings=this.columnSettings)}},{key:"onItemRemoved",value:function(e){var a=this;this.panels.removeAt(e),this.nested&&void 0!==this.gridLayout&&setTimeout(function(){a.paneContainers.forEach(function(s,u){a.gridLayout.setItemContentHeight(u,s.nativeElement.offsetHeight)})}),this.layoutEditorRef&&(this.layoutEditorRef.instance.columnSettings=this.columnSettings)}},{key:"onDrop",value:function(e){console.log(e);var a=+e.container.data,s=+e.previousContainer.data;if(a===s){for(var u=e.currentIndex>e.previousIndex?1:-1,l=e.previousIndex,c=e.currentIndex,h=this.panelPanes(a).at(l),C=l;C*u<c*u;C+=u){var T=this.panelPanes(a).at(C+u);this.panelPanes(a).setControl(C,T)}this.panelPanes(a).setControl(c,h)}else{var N=this.panelPanes(s).at(e.previousIndex);this.panelPanes(s).removeAt(e.previousIndex),this.panelPanes(a).insert(e.currentIndex,N)}}},{key:"onOverrideRenderer",value:function(e,a){var s=new Wr(this.panelPane(e,a).value);this.dialog.open(AH,{data:{panelFormGroup:this.panels.at(e),paneIndex:a,pane:s}})}},{key:"onRemoveOverrideRenderer",value:function(e,a){var u,s=this.panelPane(e,a).get("settings");s.controls.forEach(function(l,c){"_renderer"===l.get("name").value&&(u=c)}),void 0!==u&&s.removeAt(u)}},{key:"onNestedUpdate",value:function(e,a,s){var u=this,l=this.panelHandler.buildSettings(e),c=this.panelPane(a,s).get("settings");c.clear(),l.forEach(function(h){return c.push(u.convertToGroup(h))})}},{key:"onPaneHeightChange",value:function(e){if(this.nested&&this.gridLayout){var a=this.paneContainers.find(function(s,u){return u===e});this.gridLayout.setItemContentHeight(e,a.nativeElement.offsetHeight)}}},{key:"onDeleteClick",value:function(){this.delete.emit()}},{key:"onRulesClick",value:function(){this.rules.emit()}},{key:"onPropertiesClick",value:function(){var e=this;this.props.emit(),this.dialog.open(DH,{data:{props:this.pageProperties}}).afterClosed().subscribe(function(a){a&&(e.pageProperties=new l_((0,b.Z)({},a)),e.contentForm.get("name").setValue(a.name),e.contentForm.get("title").setValue(a.title))})}},{key:"onRulesPane",value:function(e,a){var s=this,u=new Wr(this.panelPane(e,a).value),l=""!==this.panelPane(e,a).get("rule").value?this.panelPane(e,a).get("rule").value:void 0,c=this.editablePanes.filter(function(T,N){return T.name===u.name}),C=(0,g.Z)(c,1)[0];this.pageBuilderFacade.getPage$.pipe((0,te.b)(function(){s.pageBuilderFacade.setSelectionPath([].concat((0,_.Z)(s.ancestory),[e,a]))}),(0,st.w)(function(T){return s.panelsContextService.allActivePageContexts({panelPage:T})}),(0,st.w)(function(T){return s.dialog.open(RH,{data:{rule:l,contexts:[].concat((0,_.Z)(C.rootContext?[C.rootContext]:s.rootContext?[s.rootContext]:[]),(0,_.Z)(s.contexts),(0,_.Z)(T))}}).afterClosed()}),(0,An.q)(1)).subscribe(function(T){s.panelPane(e,a).get("rule").setValue(T||l||void 0)})}},{key:"onDeletePane",value:function(e,a){console.log("delete nested pane: ".concat(e," | ").concat(a))}},{key:"onAddContextClick",value:function(){var e=this,a=this.packageFormData();this.pageBuilderFacade.setPage(a),this.dialog.open(LO,{data:{}}).afterClosed().subscribe(function(s){s&&(e.contexts=[].concat((0,_.Z)(e.contexts),[s]))})}},{key:"onEditContext",value:function(e){var a=this,s=this.contexts.find(function(l){return l.name===e});if(console.log(s),s){var u=this.packageFormData();this.pageBuilderFacade.setPage(u),this.dialog.open(LO,{data:{context:s}}).afterClosed().subscribe(function(l){l&&(a.contexts=a.contexts.map(function(c){return c.name===e?new la(l):c}))})}}},{key:"onLayoutSettingChange",value:function(e){this.layoutSetting=new br(e),this.nested&&this.nestedUpdate.emit(this.packageFormData()),this.layoutEditorRef&&(this.layoutEditorRef.instance.layoutSetting=this.layoutSetting)}},{key:"onRowSettingsChange",value:function(e){this.rowSettings=e.map(function(a){return new br(a)}),this.nested&&this.nestedUpdate.emit(this.packageFormData()),this.layoutEditorRef&&(this.layoutEditorRef.instance.rowSettings=this.rowSettings)}},{key:"onColumnSettingsChange",value:function(e){for(var a=this.panels.length,s=0;s<a;s++){this.panels.at(s).get("columnSetting").get("settings").clear();for(var u=0;u<e[s].settings.length;u++)this.panels.at(s).get("columnSetting").get("settings").push(this.convertToGroup(e[s].settings[u]))}this.nested&&this.nestedUpdate.emit(this.packageFormData()),this.layoutEditorRef&&(this.layoutEditorRef.instance.columnSettings=this.columnSettings)}},{key:"submit",value:function(){this.submitted.emit(this.packageFormData())}},{key:"packageFormData",value:function(){var a=new ri({id:this.panelPageId,title:this.pageProperties.title,name:this.pageProperties.name,site:this.siteName,path:this.pageProperties.path,cssFile:this.pageProperties.cssFile,displayType:this.displayType.value,layoutType:this.layoutType.value,gridItems:this.layoutEditorRef.instance.gridItems,contexts:this.contexts,panels:this.panels.value,layoutSetting:new br(this.layoutSetting),rowSettings:this.rowSettings.map(function(s){return new br(s)}),persistence:this.persistence,interactions:this.interactions,entityPermissions:{readUserIds:this.pageProperties.readUserIds,writeUserIds:[],deleteUserIds:[]}});return console.log(a),a}},{key:"syncNestedPanelPages",value:function(){var e=this;console.log("sync nested"),this.editablePanes.forEach(function(a){if(void 0!==a.contentEditor){var s=e.panelHandler.buildSettings(a.contentEditor.packageFormData()),u=e.panelPane(a.panelIndex,a.paneIndex).get("settings");u.clear(),s.forEach(function(l){return u.push(e.convertToGroup(l))})}})}},{key:"resolvePaneContexts",value:function(e,a){var s=this,u=new Wr(this.panelPane(e,a).value),l=this.panelPanes(e).controls;this.cpm.getPlugin(u.contentPlugin).pipe((0,Q.h)(function(c){return void 0!==c.handler&&c.handler.isDynamic(u.settings)}),(0,st.w)(function(c){return c.handler.fetchDynamicData(u.settings,new Map([["tag",vr()],["contexts",(0,_.Z)(s.contexts)]])).pipe((0,Ce.U)(function(h){return new la({name:"_root",adaptor:"data",data:0!==h.length?h.results[0]:{}})}),(0,st.w)(function(h){return c.handler.getBindings(u.settings,"pane").pipe((0,Ce.U)(function(C){return[h,C.map(function(T){return l.findIndex(function(N){return new Wr(N.value).name===T.id})})]}))}))})).subscribe(function(c){var h=(0,g.Z)(c,2),C=h[0],T=h[1];s.editablePanes.forEach(function(N,F){T.findIndex(function($){return $===F})>-1&&(N.rootContext=C)})})}},{key:"onPersistenceClick",value:function(){var e=this;this.dialog.open(kj,{data:{persistence:this.persistence,contexts:this.contexts}}).afterClosed().subscribe(function(a){console.log("persistence closed",a),e.persistence=a||e.persistence})}},{key:"onInteractionsClick",value:function(){var e=this;this.dialog.open(Fj,(0,b.Z)({data:{interactions:this.interactions,contexts:this.contexts}},{maxWidth:"100vw",maxHeight:"100vh",height:"100%",width:"100%"})).afterClosed().subscribe(function(a){console.log("interactions closed",a),e.interactions=a||e.interactions})}},{key:"panelPanes",value:function(e){return this.panels.at(e).get("panes")}},{key:"panelPane",value:function(e,a){return this.panelPanes(e).at(a)}},{key:"panelPanePlugin",value:function(e,a){return this.panelPane(e,a).get("contentPlugin").value}},{key:"panelPaneSettings",value:function(e,a){return this.panelPane(e,a).get("settings").value}},{key:"panelPaneName",value:function(e,a){return this.panelPane(e,a).get("name").value}},{key:"panelPaneLabel",value:function(e,a){return this.panelPane(e,a).get("label").value}},{key:"panelPaneLocked",value:function(e,a){if(this.locked)return this.locked;var s=this.panelPane(e,a).get("locked");return null!==s&&s.value}},{key:"panelPaneIsNested",value:function(e,a){return"panel"===this.panelPanePlugin(e,a)}},{key:"panelPanePanelPage",value:function(e,a){var s;return this.panelHandler.toObject(this.panelPaneSettings(e,a)).subscribe(function(u){s=u}),s}},{key:"hasPanelStyle",value:function(e){return void 0!==this.panels.at(e).get("stylePlugin").value&&""!==this.panels.at(e).get("stylePlugin").value}},{key:"panelStyleTitle",value:function(e){return this.panels.at(e).get("styleTitle").value}},{key:"onPaneEdit",value:function(e,a){var s=this,u=new Wr(this.panelPane(e,a).value),l=this.panelPanePlugin(e,a),c=this.editablePanes.filter(function(T,N){return T.name===u.name}),C=(0,g.Z)(c,1)[0];this.cpm.getPlugin(l).pipe((0,Q.h)(function(T){return void 0!==T.editorComponent}),(0,st.w)(function(T){return s.pageBuilderFacade.getPage$.pipe((0,st.w)(function(N){return s.panelsContextService.allActivePageContexts({panelPage:N}).pipe((0,Ce.U)(function(F){return[T,F]}),(0,An.q)(1))}),(0,An.q)(1))}),(0,st.w)(function(T){var N=(0,g.Z)(T,2),F=N[0],$=N[1];return F.handler?F.handler.editorOptions(u.settings).pipe((0,Ce.U)(function(se){return[F,$,se]})):(0,Le.of)([F,$,new pn.ContentPluginEditorOptions])})).subscribe(function(T){var N=(0,g.Z)(T,3),$=N[1],se=N[2];s.dialog.open(N[0].editorComponent,(0,b.Z)({data:{panelFormGroup:s.panels.at(e),panelIndex:e,paneIndex:a,contexts:[].concat((0,_.Z)(C.rootContext?[C.rootContext]:s.rootContext?[s.rootContext]:[]),(0,_.Z)(s.contexts),(0,_.Z)($)),contentAdded:s.contentAdded,pane:u}},se.fullscreen?{maxWidth:"100vw",maxHeight:"100vh",height:"100%",width:"100%"}:{})).afterClosed().subscribe(function(){s.resolvePaneContexts(e,a)})})}},{key:"onPaneDelete",value:function(e,a){this.panelPanes(e).removeAt(a)}},{key:"onFileChange",value:function(e,a){var s=this,u=e.addedFiles[0];this.cpm.getPlugins().pipe((0,Ce.U)(function(l){return Array.from(l.values()).filter(function(c){return void 0!==c.handler}).find(function(c){return c.handler.handlesType(u.type)})}),(0,Q.h)(function(l){return void 0!==l})).subscribe(function(l){l.handler.handleFile(u).subscribe(function(c){s.panelPanes(a).push(s.fb.group({contentPlugin:l.id,name:new v.UntypedFormControl(""),label:new v.UntypedFormControl(""),settings:s.fb.array(c.map(function(h){return s.fb.group({name:new v.UntypedFormControl(h.name,v.Validators.required),type:new v.UntypedFormControl(h.type,v.Validators.required),displayName:new v.UntypedFormControl(h.displayName,v.Validators.required),value:new v.UntypedFormControl(h.value,v.Validators.required),computedValue:new v.UntypedFormControl(h.value,v.Validators.required)})}))}))})})}},{key:"writeValue",value:function(e){e&&this.contentForm.setValue(e,{emitEvent:!1})}},{key:"registerOnChange",value:function(e){this.contentForm.valueChanges.subscribe(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){e?this.contentForm.disable():this.contentForm.enable()}},{key:"validate",value:function(e){return this.contentForm.valid?null:{invalidForm:{valid:!1,message:"content is invalid"}}}},{key:"convertToGroup",value:function(e){var a=this,s=this.fb.group({name:new v.UntypedFormControl(e.name,v.Validators.required),type:new v.UntypedFormControl(e.type,v.Validators.required),displayName:new v.UntypedFormControl(e.displayName,v.Validators.required),value:new v.UntypedFormControl(e.value,v.Validators.required),computedValue:new v.UntypedFormControl(e.value,v.Validators.required),attributes:new v.UntypedFormArray([])});return e.attributes&&e.attributes.length>0&&e.attributes.forEach(function(u){s.get("attributes").push(a.convertToGroup(u))}),s}},{key:"renderEditorLayout",value:function(e){var a=this;console.log("render editor layout ".concat(e)),this.lpm.getPlugin(e).subscribe(function(s){var u=a.componentFactoryResolver.resolveComponentFactory(s.editor),l=a.layoutEditorHost.viewContainerRef;l.clear(),a.layoutEditorRef=l.createComponent(u),a.layoutEditorRef.instance.savable=a.savable,a.layoutEditorRef.instance.nested=a.nested,a.layoutEditorRef.instance.ancestory=a.ancestory,a.layoutEditorRef.instance.editor=a,a.layoutEditorRef.instance.extraActionsAreaTmpl=a.extraActionsAreaTmpl,a.layoutEditorRef.instance.contextsMenuTpl=a.contextsMenuTpl,a.layoutEditorRef.instance.editablePaneTpl=a.editablePaneTpl,a.layoutEditorRef.instance.dashboard=a.dashboard,a.layoutEditorRef.instance.layoutSetting=a.layoutSetting,a.layoutEditorRef.instance.rowSettings=a.rowSettings,a.layoutEditorRef.instance.columnSettings=a.columnSettings})}},{key:"updateEditorLayoutVars",value:function(){this.layoutEditorRef.instance.savable=this.savable,this.layoutEditorRef.instance.nested=this.nested,this.layoutEditorRef.instance.ancestory=this.ancestory,this.layoutEditorRef.instance.editor=this,this.layoutEditorRef.instance.extraActionsAreaTmpl=this.extraActionsAreaTmpl,this.layoutEditorRef.instance.contextsMenuTpl=this.contextsMenuTpl,this.layoutEditorRef.instance.editablePaneTpl=this.editablePaneTpl,this.layoutEditorRef.instance.dashboard=this.dashboard,this.layoutEditorRef.instance.layoutSetting=this.layoutSetting,this.layoutEditorRef.instance.rowSettings=this.rowSettings,this.layoutEditorRef.instance.columnSettings=this.columnSettings}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Vn.SITE_NAME),r.\u0275\u0275directiveInject(pn.ContentPluginManager),r.\u0275\u0275directiveInject(Xd),r.\u0275\u0275directiveInject(AE),r.\u0275\u0275directiveInject(Su),r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(Dl.MatBottomSheet),r.\u0275\u0275directiveInject(Yt.MatLegacyDialog),r.\u0275\u0275directiveInject(ya),r.\u0275\u0275directiveInject(Pr),r.\u0275\u0275directiveInject(r.ComponentFactoryResolver),r.\u0275\u0275directiveInject(Ja),r.\u0275\u0275directiveInject(rk),r.\u0275\u0275directiveInject(XI))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-content-editor"]],contentQueries:function(t,e,a){var s;1&t&&r.\u0275\u0275contentQuery(a,kG,5),2&t&&r.\u0275\u0275queryRefresh(s=r.\u0275\u0275loadQuery())&&(e.extraActionsAreaTmpl=s.first)},viewQuery:function(t,e){var a;1&t&&(r.\u0275\u0275viewQuery(xO,5),r.\u0275\u0275viewQuery(CO,5),r.\u0275\u0275viewQuery(jO,5),r.\u0275\u0275viewQuery(RG,7),r.\u0275\u0275viewQuery(DG,7),r.\u0275\u0275viewQuery(TG,5),r.\u0275\u0275viewQuery(UO,5)),2&t&&(r.\u0275\u0275queryRefresh(a=r.\u0275\u0275loadQuery())&&(e.gridLayout=a.first),r.\u0275\u0275queryRefresh(a=r.\u0275\u0275loadQuery())&&(e.splitLayout=a.first),r.\u0275\u0275queryRefresh(a=r.\u0275\u0275loadQuery())&&(e.layoutEditorHost=a.first),r.\u0275\u0275queryRefresh(a=r.\u0275\u0275loadQuery())&&(e.contextsMenuTpl=a.first),r.\u0275\u0275queryRefresh(a=r.\u0275\u0275loadQuery())&&(e.editablePaneTpl=a.first),r.\u0275\u0275queryRefresh(a=r.\u0275\u0275loadQuery())&&(e.paneContainers=a),r.\u0275\u0275queryRefresh(a=r.\u0275\u0275loadQuery())&&(e.editablePanes=a))},inputs:{panelPage:"panelPage",savable:"savable",nested:"nested",locked:"locked",pageBuilder:"pageBuilder",contexts:"contexts",rootContext:"rootContext",ancestory:"ancestory"},outputs:{submitted:"submitted",nestedUpdate:"nestedUpdate",delete:"delete",rules:"rules",props:"props"},features:[r.\u0275\u0275ProvidersFeature([{provide:v.NG_VALUE_ACCESSOR,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0},{provide:v.NG_VALIDATORS,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0}]),r.\u0275\u0275NgOnChangesFeature],decls:12,vars:3,consts:[["class","content-editor-wrapper",3,"formGroup","ngClass","ngSubmit",4,"ngIf","ngIfElse"],["nestedTpl",""],["editablePaneTpl",""],["contextsMenuTpl",""],["contextMenu","matMenu"],["type","button","mat-menu-item","",3,"click"],["type","button","mat-menu-item","",3,"click",4,"ngFor","ngForOf"],[1,"content-editor-wrapper",3,"formGroup","ngClass","ngSubmit"],["classifiedsUiLayoutEditorHost",""],[1,"content-editor-wrapper",3,"formGroup","ngClass"],[1,"editable-pane",3,"panelIndex","paneIndex","name","label","locked","contexts","pluginName","settings","ancestory","delete","rules","nestedUpdate","rendererOverride","removeRendererOverride","edit","props"],["class","custom-placeholder",4,"cdkDragPlaceholder"],[1,"custom-placeholder"],["type","button","mat-menu-item","",1,"context-button",3,"matMenuTriggerFor"]],template:function(t,e){if(1&t&&(r.\u0275\u0275template(0,OG,3,4,"form",0),r.\u0275\u0275template(1,MG,3,4,"ng-template",null,1,r.\u0275\u0275templateRefExtractor),r.\u0275\u0275template(3,VG,2,9,"ng-template",null,2,r.\u0275\u0275templateRefExtractor),r.\u0275\u0275template(5,BG,2,1,"ng-template",null,3,r.\u0275\u0275templateRefExtractor),r.\u0275\u0275elementStart(7,"mat-menu",null,4)(9,"button",5),r.\u0275\u0275listener("click",function(){return e.onAddContextClick()}),r.\u0275\u0275text(10,"define variable"),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(11,ZG,2,1,"button",6),r.\u0275\u0275elementEnd()),2&t){var a=r.\u0275\u0275reference(2);r.\u0275\u0275property("ngIf",!e.nested&&!e.pageBuilder)("ngIfElse",a),r.\u0275\u0275advance(11),r.\u0275\u0275property("ngForOf",e.contexts)}},dependencies:[P.NgClass,P.NgForOf,P.NgIf,v.\u0275NgNoValidate,v.NgControlStatusGroup,v.FormGroupDirective,Fl.CdkDragPlaceholder,_a.MatLegacyMenu,_a.MatLegacyMenuItem,_a.MatLegacyMenuTrigger,Io,jO,UO],styles:[".content-editor-wrapper[_ngcontent-%COMP%]{height:100%}.panel-inner[_ngcontent-%COMP%]{padding:1em}.content-editor-wrapper[_ngcontent-%COMP%] ngx-dropzone{height:100%;display:block;padding:0;border:none}.content-editor-wrapper.nested[_ngcontent-%COMP%] .grid-item-header{border-bottom:1px solid white}.layout-type[_ngcontent-%COMP%], .display-type[_ngcontent-%COMP%]{float:right}.layout-type[_ngcontent-%COMP%] .mat-form-field-wrapper, .display-type[_ngcontent-%COMP%] .mat-form-field-wrapper{padding-bottom:1.5em}.layout-type[_ngcontent-%COMP%] .mat-form-field-label-wrapper, .display-type[_ngcontent-%COMP%] .mat-form-field-label-wrapper{display:none}.layout-type[_ngcontent-%COMP%] .mat-form-field-infix, .display-type[_ngcontent-%COMP%] .mat-form-field-infix{border-top:none;padding:0;margin:0}.layout-type[_ngcontent-%COMP%] .mat-form-field, .display-type[_ngcontent-%COMP%] .mat-form-field{width:85px}.layout-type[_ngcontent-%COMP%] .mat-select-value, .display-type[_ngcontent-%COMP%] .mat-select-value{text-align:right}.layout-type[_ngcontent-%COMP%] .mat-form-field-underline, .display-type[_ngcontent-%COMP%] .mat-form-field-underline{display:none}classifieds-ui-gridless-layout[_ngcontent-%COMP%] .main-controls{background-color:#ccc}classifieds-ui-gridless-layout[_ngcontent-%COMP%] .layout-inner{background-color:#ccc;padding:.75em}classifieds-ui-gridless-layout[_ngcontent-%COMP%] .editable-pane-wrapper{border:none;margin-bottom:0}classifieds-ui-gridless-layout[_ngcontent-%COMP%] .pane-header{background-color:#fff}classifieds-ui-gridless-layout[_ngcontent-%COMP%] .nested-panel-wrapper{padding:.75em;margin-bottom:0}.custom-placeholder[_ngcontent-%COMP%]{background:#ccc;border:dotted 3px #999;transition:transform .25s cubic-bezier(0,0,.2,1)}.context-button[_ngcontent-%COMP%]{font-style:italic;font-family:serif;font-weight:bolder;font-size:medium}"]}),o}(),OH=function(){var o=function(){function n(t,e,a){(0,f.Z)(this,n),this.data=t,this.fb=e,this.handler=a}return(0,y.Z)(n,[{key:"ngOnInit",value:function(){var e=this;void 0!==this.data.pane&&this.handler.toObject(this.data.pane.settings).subscribe(function(a){e.snippet=a})}},{key:"onSubmit",value:function(e){if(void 0===this.data.paneIndex)this.data.panelFormGroup.get("panes").push(this.fb.group({contentPlugin:"snippet",name:new v.UntypedFormControl(""),label:new v.UntypedFormControl(""),rule:new v.UntypedFormControl(""),settings:new v.UntypedFormArray(this.buildSettings(e))}));else{var a=this.data.panelFormGroup.get("panes").at(this.data.paneIndex);a.get("settings").clear(),this.buildSettings(e).forEach(function(s){a.get("settings").push(s)})}}},{key:"buildSettings",value:function(e){return[this.fb.group({name:new v.UntypedFormControl("contentType",v.Validators.required),type:new v.UntypedFormControl(Nt.AttributeTypes.Text,v.Validators.required),displayName:new v.UntypedFormControl("Content Type",v.Validators.required),value:new v.UntypedFormControl(e.contentType,v.Validators.required),computedValue:new v.UntypedFormControl(e.contentType,v.Validators.required)}),this.fb.group({name:new v.UntypedFormControl("content",v.Validators.required),type:new v.UntypedFormControl(Nt.AttributeTypes.Text,v.Validators.required),displayName:new v.UntypedFormControl("Content",v.Validators.required),value:new v.UntypedFormControl(e.content,v.Validators.required),computedValue:new v.UntypedFormControl(e.content,v.Validators.required)}),this.fb.group({name:new v.UntypedFormControl("jsScript",v.Validators.required),type:new v.UntypedFormControl(Nt.AttributeTypes.Text,v.Validators.required),displayName:new v.UntypedFormControl("jsScript",v.Validators.required),value:new v.UntypedFormControl(e.jsScript),computedValue:new v.UntypedFormControl(e.jsScript)})]}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Yt.MAT_LEGACY_DIALOG_DATA),r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(Vl))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-snippet-editor2"]],decls:1,vars:1,consts:[[3,"snippet","submitted"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"classifieds-ui-snippet-form",0),r.\u0275\u0275listener("submitted",function(s){return e.onSubmit(s)}),r.\u0275\u0275elementEnd()),2&t&&r.\u0275\u0275property("snippet",e.snippet)},dependencies:[mE]}),o}(),ME=function(){var o=function(){function n(t,e,a,s,u,l,c){var h=this;(0,f.Z)(this,n),this.route=t,this.pageBuilderFacade=e,this.routerStore=a,this.asyncApiCallHelperSvc=s,this.crudDataHelperService=u,this.entityDefinitionService=l,this.paramMapSub=this.route.paramMap.pipe((0,te.b)(function(){return console.log("param map panelPageId")}),(0,Ce.U)(function(C){return C.get("panelPageId")}),(0,Q.h)(function(C){return void 0!==C}),(0,st.w)(function(){return h.route.data}),(0,Pa.M)(this.routerStore.pipe((0,Bt.Ys)(t_(function(C){return C.router}).selectCurrentRoute),(0,Ce.U)(function(C){return C.params}),(0,An.q)(1))),(0,te.b)(function(C){var T=(0,g.Z)(C,2),N=T[0],F=T[1];console.log("route page"),h.pageBuilderFacade.setPageInfo(new u_({id:N.panelPageListItem.id,realPath:"/pages/panelpage/"+N.panelPageListItem.id,path:N.panelPageListItem.path,args:F})),h.panelPageId=N.panelPageListItem.id})).subscribe(),this.panelPageService=c.getEntityCollectionService("PanelPage")}return(0,y.Z)(n,[{key:"ngOnInit",value:function(){var e=this,s=t_(function(u){return u.router}).selectCurrentRoute;this.route.paramMap.pipe((0,te.b)(function(){return console.log("param map page builder facade info")}),(0,Pa.M)(this.pageBuilderFacade.getPageInfo$),(0,Q.h)(function(u){var l=(0,g.Z)(u,2),c=l[0],h=l[1];return void 0!==h&&void 0!==c.get("panelPageId")&&c.get("panelPageId")===h.id}),(0,st.w)(function(u){var h=(0,g.Z)(u,2)[1];return e.routerStore.pipe((0,Bt.Ys)(s),(0,Ce.U)(function(C){return[h,C.params]}),(0,An.q)(1))})).subscribe(function(u){var l=(0,g.Z)(u,2),h=l[1];e.pageBuilderFacade.setPageInfo(new u_((0,b.Z)((0,b.Z)({},l[0]),{},{args:h})))})}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(dr.ActivatedRoute),r.\u0275\u0275directiveInject(Ja),r.\u0275\u0275directiveInject(Bt.yh),r.\u0275\u0275directiveInject(Vn.AsyncApiCallHelperService),r.\u0275\u0275directiveInject(i_),r.\u0275\u0275directiveInject(Qi),r.\u0275\u0275directiveInject(Dr))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-panel-page-router"]],decls:1,vars:1,consts:[[3,"id"]],template:function(t,e){1&t&&r.\u0275\u0275element(0,"classifieds-ui-panel-page",0),2&t&&r.\u0275\u0275property("id",e.panelPageId)},dependencies:[Zs]}),o}(),FH=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.panelPageService=t.getEntityCollectionService("PanelPage"),this.panelPageListItemService=t.getEntityCollectionService("PanelPageListItem")}return(0,y.Z)(n,[{key:"ngOnInit",value:function(){console.log("here")}},{key:"onSubmit",value:function(e){console.log("create panel page",e),e.id=vr(),this.panelPageService.add(e).subscribe(function(){console.log("panel page created")})}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Dr))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-create-panel-page"]],decls:1,vars:0,consts:[[3,"submitted"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"classifieds-ui-content-editor",0),r.\u0275\u0275listener("submitted",function(s){return e.onSubmit(s)}),r.\u0275\u0275elementEnd())},dependencies:[ik]}),o}(),NE=function(){var o=function(){function n(t,e,a,s,u){(0,f.Z)(this,n),this.route=t,this.pageBuilderFacade=e,this.routerStore=a,this.moduleLoader=s,this.panelPageService=u.getEntityCollectionService("PanelPage"),this.panelPageListItemService=u.getEntityCollectionService("PanelPageListItem")}return(0,y.Z)(n,[{key:"ngOnInit",value:function(){var e=this;this.route.paramMap.pipe((0,Ce.U)(function(a){return a.get("panelPageId")}),(0,Q.h)(function(a){return void 0!==a}),(0,xu.x)(),(0,st.w)(function(a){return e.panelPageService.getByKey(a)}),(0,st.w)(function(a){return a?(0,$n.D)(a.contexts.filter(function(s){return"module"===s.plugin}).map(function(s){return e.moduleLoader.loadModule(function(){return rp({type:"module",remoteEntry:s.data.remoteEntry,exposedModule:s.data.exposedModule}).then(function(u){return u[s.data.moduleName]})})})).pipe((0,Rr.g)(1),(0,Ce.U)(function(){return a}),(0,fi.d)(a)):(0,Le.of)(a)}),(0,st.w)(function(a){return e.routerStore.pipe((0,Bt.Ys)(t_(function(s){return s.router}).selectCurrentRoute),(0,Ce.U)(function(s){return[a,s.params]}),(0,An.q)(1))}),(0,te.b)(function(a){var s=(0,g.Z)(a,2),u=s[0],l=s[1];return e.pageBuilderFacade.setPageInfo(new u_({id:u.id,realPath:"/pages/panelpage/".concat(u.id),path:u.path,args:l}))})).subscribe(function(a){var u=(0,g.Z)(a,1)[0];console.log(u),e.panelPage=u})}},{key:"onSubmit",value:function(e){console.log("submitted"),this.panelPageService.update(new ri((0,b.Z)((0,b.Z)({},e),{},{id:this.panelPage.id}))).subscribe(function(){alert("panel page updated")})}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(dr.ActivatedRoute),r.\u0275\u0275directiveInject(Ja),r.\u0275\u0275directiveInject(Bt.yh),r.\u0275\u0275directiveInject(Vn.ModuleLoaderService),r.\u0275\u0275directiveInject(Dr))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-edit-panel-page"]],decls:1,vars:1,consts:[[3,"panelPage","submitted"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"classifieds-ui-content-editor",0),r.\u0275\u0275listener("submitted",function(s){return e.onSubmit(s)}),r.\u0275\u0275elementEnd()),2&t&&r.\u0275\u0275property("panelPage",e.panelPage)},dependencies:[ik]}),o}(),MH=function(){var o=function(){function n(t,e,a,s,u,l){(0,f.Z)(this,n),this.bottomSheetRef=t,this.handler=e,this.fb=a,this.dialog=s,this.cpm=u,this.wpm=l}return(0,y.Z)(n,[{key:"ngOnInit",value:function(){this.attributeWidgets=this.wpm.getPlugins()}},{key:"onItemSelect",value:function(e){var a=this;console.log(e),this.panelFormGroup.get("panes").push(this.fb.group({contentPlugin:"attribute",name:new v.UntypedFormControl(""),label:new v.UntypedFormControl(""),rule:new v.UntypedFormControl(""),settings:this.fb.array(this.handler.widgetSettings(e).map(function(c){return a.fb.group({name:new v.UntypedFormControl(c.name,v.Validators.required),type:new v.UntypedFormControl(c.type,v.Validators.required),displayName:new v.UntypedFormControl(c.displayName,v.Validators.required),value:new v.UntypedFormControl(c.value,v.Validators.required),computedValue:new v.UntypedFormControl(c.computedValue,v.Validators.required)})}))}));var s=this.panelFormGroup.get("panes"),u=s.length-1,l=new Wr(s.at(u).value);this.cpm.getPlugin("attribute").subscribe(function(c){a.dialog.open(c.editorComponent,{data:{panelFormGroup:a.panelFormGroup,pane:l,paneIndex:u}})}),this.bottomSheetRef.dismiss()}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Dl.MatBottomSheetRef),r.\u0275\u0275directiveInject(Bl),r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(Yt.MatLegacyDialog),r.\u0275\u0275directiveInject(pn.ContentPluginManager),r.\u0275\u0275directiveInject(Nt.WidgetPluginManager))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-attribute-selector"]],inputs:{panelFormGroup:"panelFormGroup"},decls:4,vars:5,consts:[["mat-list-item","","mat-list-item","",3,"click",4,"ngFor","ngForOf"],["mat-list-item","","mat-list-item","",3,"click"],["mat-line",""]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"mat-nav-list"),r.\u0275\u0275template(1,LG,3,1,"a",0),r.\u0275\u0275pipe(2,"keyvalue"),r.\u0275\u0275pipe(3,"async"),r.\u0275\u0275elementEnd()),2&t&&(r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",r.\u0275\u0275pipeBind1(2,1,r.\u0275\u0275pipeBind1(3,3,e.attributeWidgets))))},dependencies:[P.NgForOf,vE.MatLine,Eu.MatLegacyNavList,Eu.MatLegacyListItem,P.AsyncPipe,P.KeyValuePipe]}),o}(),NH=function(){var o=function(){function n(t,e,a,s,u){(0,f.Z)(this,n),this.data=t,this.dialogRef=a,this.fb=s,this.handler=u,this.attributes=[],this.attributeValues=[],this.attributesFormGroup=this.fb.group({name:new v.UntypedFormControl(""),label:new v.UntypedFormControl(""),attributes:new v.UntypedFormControl("")});var l=this.data.pane.settings.find(function(c){return"widget"===c.name});this.widget=e.find(function(c){return c.name===l.value})}return(0,y.Z)(n,[{key:"name",get:function(){return this.attributesFormGroup.get("name")}},{key:"label",get:function(){return this.attributesFormGroup.get("label")}},{key:"ngOnInit",value:function(){var e=this.data.pane.settings.find(function(u){return"value"===u.name});this.attributes=[new Nt.Attribute((0,b.Z)((0,b.Z)({},this.widget.schema),{},{widget:this.widget.name,label:"Value",name:"value"}))];var a=this.data.panelFormGroup.get("panes").at(this.data.paneIndex).get("name").value,s=this.data.panelFormGroup.get("panes").at(this.data.paneIndex).get("label").value;this.attributesFormGroup.get("name").setValue(a),this.attributesFormGroup.get("label").setValue(s),void 0!==e?(this.attributeValues=this.handler.valueSettings(this.data.pane.settings),console.log(this.attributeValues)):this.attributeValues=[new Nt.AttributeValue({name:"value",type:this.widget.schema.type,displayName:"Value",value:"",computedValue:"",intValue:0,attributes:[]})]}},{key:"submit",value:function(){var e=this,a=this.name.value,s=this.label.value;this.data.panelFormGroup.get("panes").at(this.data.paneIndex).get("name").setValue(a),this.data.panelFormGroup.get("panes").at(this.data.paneIndex).get("label").setValue(s);var u=new Wr({name:a,label:s,contentPlugin:"attribute",settings:""===this.attributesFormGroup.get("attributes").value?[]:this.attributesFormGroup.get("attributes").value});0!==u.settings.length?this.handler.rendererSnippet(this.data.pane.settings).subscribe(function(l){var c=void 0!==l?e.handler.rendererOverrideSettings(l):[],h=e.data.panelFormGroup.get("panes").at(e.data.paneIndex).get("settings");h.clear(),[].concat((0,_.Z)(e.handler.widgetSettings(e.widget)),(0,_.Z)(u.settings),(0,_.Z)(c)).forEach(function(C){return h.push(e.convertToGroup(C))}),e.dialogRef.close()}):this.dialogRef.close()}},{key:"convertToGroup",value:function(e){var a=this,s=this.fb.group({name:new v.UntypedFormControl(e.name,v.Validators.required),type:new v.UntypedFormControl(e.type,v.Validators.required),displayName:new v.UntypedFormControl(e.displayName,v.Validators.required),value:new v.UntypedFormControl(e.value,v.Validators.required),computedValue:new v.UntypedFormControl(e.value,v.Validators.required),attributes:new v.UntypedFormArray([])});return e.attributes&&e.attributes.length>0&&e.attributes.forEach(function(u){s.get("attributes").push(a.convertToGroup(u))}),s}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Yt.MAT_LEGACY_DIALOG_DATA),r.\u0275\u0275directiveInject(Nt.ATTRIBUTE_WIDGET),r.\u0275\u0275directiveInject(Yt.MatLegacyDialogRef),r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(Bl))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-attribute-editor"]],decls:10,vars:3,consts:[[3,"formGroup","ngSubmit"],["fxLayout","column"],["matInput","","placeholder","Name","formControlName","name"],["matInput","","placeholder","Label","formControlName","label"],["formControlName","attributes",3,"attributes","attributeValues"],["type","submit","mat-raised-button","","color","primary","mat-dialog-close",""]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"form",0),r.\u0275\u0275listener("ngSubmit",function(){return e.submit()}),r.\u0275\u0275elementStart(1,"mat-dialog-content",1)(2,"mat-form-field"),r.\u0275\u0275element(3,"input",2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(4,"mat-form-field"),r.\u0275\u0275element(5,"input",3),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(6,"classifieds-ui-attributes-builder",4),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(7,"mat-dialog-actions")(8,"button",5),r.\u0275\u0275text(9,"Save"),r.\u0275\u0275elementEnd()()()),2&t&&(r.\u0275\u0275property("formGroup",e.attributesFormGroup),r.\u0275\u0275advance(6),r.\u0275\u0275property("attributes",e.attributes)("attributeValues",e.attributeValues))},dependencies:[v.\u0275NgNoValidate,v.DefaultValueAccessor,v.NgControlStatus,v.NgControlStatusGroup,v.FormGroupDirective,v.FormControlName,pi.MatLegacyButton,Yt.MatLegacyDialogClose,Yt.MatLegacyDialogContent,Yt.MatLegacyDialogActions,En.MatLegacyFormField,Hr.MatLegacyInput,Wt,Nt.AttributesBuilderComponent]}),o}(),VH=function(){var o=function(){function n(t,e,a,s,u){(0,f.Z)(this,n),this.widgets=t,this.handler=e,this.tokenizerService=a,this.fb=s,this.controlContainer=u,this.settings=[],this.appearance="legacy",this.attributes=[]}return(0,y.Z)(n,[{key:"ngOnInit",value:function(){var e=this;this.attributes=[new Nt.Attribute((0,b.Z)((0,b.Z)({},this.widgets.find(function(a){return a.name===e.settings.find(function(s){return"widget"===s.name}).value}).schema),{},{name:"value",label:"Value"}))],this.attributeValues=this.handler.valueSettings(this.settings),this.tokens=this.tokenizerService.generateTokens(this.attributeValues),this.handler.rendererSnippet(this.settings).subscribe(function(a){e.rendererOverride=a,void 0!==a&&(e.rendererSettings=e.handler.rendererOverrideSettings(a)[0].attributes)})}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Nt.ATTRIBUTE_WIDGET),r.\u0275\u0275directiveInject(Bl),r.\u0275\u0275directiveInject(Pr),r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(v.ControlContainer,8))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-attribute-pane-renderer"]],inputs:{settings:"settings",appearance:"appearance",name:"name",label:"label",displayType:"displayType"},decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["overrideTpl",""],[4,"ngIf"],[3,"formGroup",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["settingsTmpl",""],[4,"ngFor","ngForOf"],[3,"formGroup"],["formControlName","settings",3,"attributes","attributeValues"],[3,"settings","tokens"]],template:function(t,e){if(1&t&&(r.\u0275\u0275template(0,XG,3,2,"div",0),r.\u0275\u0275template(1,QG,1,2,"ng-template",null,1,r.\u0275\u0275templateRefExtractor)),2&t){var a=r.\u0275\u0275reference(2);r.\u0275\u0275property("ngIf",!e.rendererOverride)("ngIfElse",a)}},dependencies:[P.NgForOf,P.NgIf,P.NgTemplateOutlet,v.NgControlStatus,v.NgControlStatusGroup,v.FormGroupDirective,v.FormControlName,Nt.AttributesBuilderComponent,ZO,Nt.AttributePipe],styles:[".override[_ngcontent-%COMP%]{position:absolute;top:.5em;right:.5em}"]}),o}(),ip=function(){var o=function(){function n(t,e){(0,f.Z)(this,n),this.filesService=t,this.attributeSerializer=e,this.types=["image/png","image/jpg","image/jpeg","image/gif"]}return(0,y.Z)(n,[{key:"handleFile",value:function(e){var a=this;return this.filesService.bulkUpload({files:[e]}).pipe((0,Ce.U)(function(s){return a.buildSettings(s[0])}))}},{key:"handlesType",value:function(e){return void 0!==this.types.find(function(a){return a===e})}},{key:"implementsRendererOverride",value:function(){return!1}},{key:"hasRendererOverride",value:function(e){return(0,Le.of)(!1)}},{key:"isDynamic",value:function(e){return!1}},{key:"isData",value:function(e){return!1}},{key:"buildDynamicItems",value:function(e,a){return(0,Le.of)([])}},{key:"fetchDynamicData",value:function(e,a){return(0,Le.of)(new pr)}},{key:"getBindings",value:function(e,a,s){return(0,Le.of)([])}},{key:"toObject",value:function(e){return(0,Le.of)(this.attributeSerializer.deserializeAsObject(e))}},{key:"buildSettings",value:function(e){return e.fileName="placeholdername",this.attributeSerializer.serialize(e,"root").attributes}},{key:"stateDefinition",value:function(e){return(0,Le.of)({mediaLoading:"y",mediaLoaded:"n",loadError:"n",loadDuration:"y"})}},{key:"editorOptions",value:function(e){return(0,Le.of)(new pn.ContentPluginEditorOptions)}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(iE),r.\u0275\u0275inject(Nt.AttributeSerializerService))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),BH=function(){var o=function(){function n(t,e,a,s,u){(0,f.Z)(this,n),this.data=t,this.dialogRef=e,this.fb=a,this.filesService=s,this.handler=u,this.mediaTypes=".png,.jpg,.jpeg,.gif,.svg"}return(0,y.Z)(n,[{key:"ngOnInit",value:function(){var e=this;void 0!==this.data.pane&&this.handler.toObject(this.data.pane.settings).pipe((0,st.w)(function(a){return e.filesService.convertToFiles([a])})).subscribe(function(a){e.media=a[0]})}},{key:"onSelectMedia",value:function(e){var a=this;this.media=e.addedFiles[0],this.handler.handleFile(this.media).subscribe(function(s){void 0===a.data.paneIndex&&a.data.panelFormGroup.get("panes").push(a.fb.group({contentPlugin:"media",name:new v.UntypedFormControl(""),label:new v.UntypedFormControl(""),rule:new v.UntypedFormControl(""),settings:new v.UntypedFormArray(s.map(function(u){return a.fb.group({name:new v.UntypedFormControl(u.name,v.Validators.required),type:new v.UntypedFormControl(u.type,v.Validators.required),displayName:new v.UntypedFormControl(u.displayName,v.Validators.required),value:new v.UntypedFormControl(u.value,v.Validators.required),computedValue:new v.UntypedFormControl(u.value,v.Validators.required)})}))})),a.dialogRef.close()})}},{key:"onRemoveMedia",value:function(e){this.media=void 0}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Yt.MAT_LEGACY_DIALOG_DATA),r.\u0275\u0275directiveInject(Yt.MatLegacyDialogRef),r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(iE),r.\u0275\u0275directiveInject(ip))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-media-editor"]],decls:4,vars:3,consts:[[3,"multiple","accept","change"],[3,"removable","file","removed",4,"ngIf"],[3,"removable","file","removed"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"ngx-dropzone",0),r.\u0275\u0275listener("change",function(s){return e.onSelectMedia(s)}),r.\u0275\u0275elementStart(1,"ngx-dropzone-label"),r.\u0275\u0275text(2,"Drag and Drop Media Here"),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(3,YG,3,4,"ngx-dropzone-image-preview",1),r.\u0275\u0275elementEnd()),2&t&&(r.\u0275\u0275property("multiple",!1)("accept",e.mediaTypes),r.\u0275\u0275advance(3),r.\u0275\u0275property("ngIf",e.media))},dependencies:[P.NgIf,SE,nO,iO]}),o}(),ZH=function(){var o=function(){function n(t,e,a,s){(0,f.Z)(this,n),this.mediaSettings=t,this.handler=e,this.attributeSerializer=a,this.settings=[],this.ancestory=[],this.state={},this.stateChange=new r.EventEmitter,this.panelPageStateService=s.getEntityCollectionService("PanelPageState")}return(0,y.Z)(n,[{key:"ngOnInit",value:function(){var e=this;console.log("media ancestory is"),console.log(this.ancestory),console.log("my state is:"),console.log(this.state),this.mediaBaseUrl=this.mediaSettings.imageUrl,this.handler.toObject(this.settings).subscribe(function(a){e.mediaFile=a})}},{key:"ngAfterViewInit",value:function(){var e=this;this.image.nativeElement.onload=function(){console.log("image loaded"),e.stateChange.emit({mediaLoading:"n"})}}},{key:"ngOnChanges",value:function(){var e=this;this.mediaBaseUrl=this.mediaSettings.imageUrl,this.handler.toObject(this.settings).subscribe(function(a){e.mediaFile=a})}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(rE),r.\u0275\u0275directiveInject(ip),r.\u0275\u0275directiveInject(Nt.AttributeSerializerService),r.\u0275\u0275directiveInject(Dr))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-media-pane-renderer"]],viewQuery:function(t,e){var a;1&t&&r.\u0275\u0275viewQuery(JG,7),2&t&&r.\u0275\u0275queryRefresh(a=r.\u0275\u0275loadQuery())&&(e.image=a.first)},inputs:{settings:"settings",ancestory:"ancestory",state:"state"},outputs:{stateChange:"stateChange"},features:[r.\u0275\u0275NgOnChangesFeature],decls:2,vars:2,consts:[[3,"src"],["img",""]],template:function(t,e){1&t&&r.\u0275\u0275element(0,"img",0,1),2&t&&r.\u0275\u0275propertyInterpolate2("src","",e.mediaBaseUrl,"/",e.mediaFile.path,"",r.\u0275\u0275sanitizeUrl)},styles:["img[_ngcontent-%COMP%]{max-width:100%}"]}),o}(),C_=function(){var o=function(){function n(t,e,a,s,u,l,c,h,C){(0,f.Z)(this,n),this.siteName=t,this.snippetHandler=e,this.pageBuilderFacade=a,this.store=s,this.tokenizerService=u,this.panelHandler=l,this.urlGeneratorService=c,this.attributeSerializer=h,this.rulesResolver=C}return(0,y.Z)(n,[{key:"handleFile",value:function(e){return(0,Le.of)([])}},{key:"handlesType",value:function(e){return!1}},{key:"implementsRendererOverride",value:function(){return!0}},{key:"hasRendererOverride",value:function(e){return(0,Le.of)(!1)}},{key:"isDynamic",value:function(e){return["snippet","pane"].indexOf(this.getRenderType(e))>-1}},{key:"isData",value:function(e){return!1}},{key:"fetchDynamicData",value:function(e,a){var s=this,u=new ae.x;return this.toObject(e).pipe((0,st.w)(function(l){return s.urlGeneratorService.getUrl(l.url,l.params,a).pipe((0,Ce.U)(function(c){return[l,c]}))})).subscribe(function(l){var c=(0,g.Z)(l,2),h=c[0],C=c[1];s.pageBuilderFacade.loadRestData("".concat(a.get("tag")),new Os((0,b.Z)((0,b.Z)({},h),{},{url:C}))),s.store.pipe((0,Bt.Ys)(wE("".concat(a.get("tag")))),(0,Q.h)(function(T){return void 0!==T})).subscribe(function(T){u.next(T),u.complete()})}),u}},{key:"buildDynamicItems",value:function(e,a){var s=this,u=new ae.x;return console.log("build dynamic items rest"),this.toObject(e).pipe((0,st.w)(function(l){return s.urlGeneratorService.getUrl(l.url,l.params,a).pipe((0,Ce.U)(function(c){return[l,c]}))})).subscribe(function(l){var c=(0,g.Z)(l,2),h=c[0],C=c[1];console.log("Load in rest data"),s.pageBuilderFacade.loadRestData("".concat(a.get("tag")),new Os((0,b.Z)((0,b.Z)({},h),{},{url:C}))),s.store.pipe((0,Bt.Ys)(wE("".concat(a.get("tag")))),(0,Q.h)(function(T){return void 0!==T}),(0,st.w)(function(T){return s.getBindings(e,"pane").pipe((0,Ce.U)(function(N){return[T,N]}))}),(0,st.w)(function(T){var N=(0,g.Z)(T,2),F=N[0],$=N[1];return Or(function(){return 0!==F.results.length&&$.length>0},new W.y(function(se){(0,$n.D)(F.results.map(function(ue){return(0,wA.D)($).pipe((0,Ce.U)(function(ge){return a.get("panes").find(function(Se){return Se.name===ge.id})}),(0,st.w)(function(ge){return Or(function(){return ge.rule&&null!==ge.rule&&""!==ge.rule.condition},s.rulesResolver.evaluate(ge.rule,[].concat((0,_.Z)(a.get("contexts")),(0,_.Z)(void 0!==ge.contexts?ge.contexts:[]),[new la({name:"_root",adaptor:"data",data:ue})])).pipe((0,Ce.U)(function(Se){return[ge,Se]})),(0,Le.of)(!1).pipe((0,Ce.U)(function(Se){return[ge,Se]})))}),(0,Q.h)(function(ge){return(0,g.Z)(ge,2)[1]}),(0,Ce.U)(function(ge){return(0,g.Z)(ge,2)[0].name}),(0,fi.d)($[0].id),(0,An.q)(1))})).pipe((0,Ce.U)(function(ue){return[F,ue]})).subscribe(function(ue){se.next(ue),se.complete()})}),new W.y(function(se){se.next([F]),se.complete()}))}),(0,Ce.U)(function(T){var N=(0,g.Z)(T,2),$=N[1];return N[0].results.map("pane"===h.renderer.type?function(se,ue){var ge=a.get("panes").find(function(we){return we.name===$[ue]}),Se=vr();return new Wr((0,b.Z)((0,b.Z)({},ge),{},{rule:void 0,label:Se,contexts:[].concat((0,_.Z)(a.get("contexts")),[new la({name:"_root",adaptor:"data",data:se})])}))}:function(se){return new Wr({contentPlugin:"snippet",name:vr(),label:void 0,contexts:[].concat((0,_.Z)(a.get("contexts")),[new la({name:"_root",adaptor:"data",data:se})]),settings:s.snippetHandler.buildSettings((0,b.Z)((0,b.Z)({},h.renderer.data),{},{content:h.renderer.data.content}))})})}),(0,Ce.U)(function(T){return new Ns({stylePlugin:void 0,settings:[],panes:T,columnSetting:new br})}),(0,Ce.U)(function(T){return s.panelHandler.buildSettings(new ri({id:void 0,layoutType:"grid",displayType:"page",site:s.siteName,gridItems:[],layoutSetting:new br,rowSettings:[],panels:[T]}))})).subscribe(function(T){u.next(T.find(function(N){return"panels"===N.name}).attributes[0].attributes.find(function(N){return"panes"===N.name}).attributes),u.complete()})}),u}},{key:"buildSelectOptionItems",value:function(e,a){var s=this;return this.toObject(e).pipe((0,st.w)(function(u){return s.urlGeneratorService.getUrl(u.url,u.params,a).pipe((0,Ce.U)(function(l){return[u,l]}))}),(0,Ce.U)(function(u){var l=(0,g.Z)(u,2),h=l[1];return new Os((0,b.Z)((0,b.Z)({},l[0]),{},{url:h}))})).subscribe(function(u){s.pageBuilderFacade.loadRestData("".concat(a.get("tag")),u)}),this.store.pipe((0,Bt.Ys)(wE("".concat(a.get("tag")))),(0,Q.h)(function(u){return void 0!==u}),(0,Ce.U)(function(u){return[u,u.results.map(function(l){return s.tokenizerService.generateGenericTokens(l)})]}),(0,Ce.U)(function(u){var l=(0,g.Z)(u,2);return[l[0],l[1],new oI(JSON.parse(a.get("snippet").content))]}),(0,Ce.U)(function(u){var l=(0,g.Z)(u,3),c=l[0],C=l[2];return l[1].map(function(T,N){return new aI({dataItem:c.results[N],value:s.attributeSerializer.serialize("[.]"===C.value?c.results[N]:s.tokenizerService.replaceTokens(C.value,T),"value"),label:s.tokenizerService.replaceTokens(C.label,T)})})}))}},{key:"getBindings",value:function(e,a,s){return"context"===a?this.toObject(e).pipe((0,Ce.U)(function(u){return u.params.reduce(function(l,c){return[].concat((0,_.Z)(l),(0,_.Z)("form"===c.mapping.type?[new pn.ContentBinding({id:"form__".concat(c.mapping.value.split(".",2)[0].trim()),type:"context"})]:[]))},[])})):this.toObject(e).pipe((0,st.w)(function(u){return Or(function(){return u.renderer.type===a},(0,Le.of)(u.renderer.bindings),(0,Le.of)([]))}))}},{key:"toObject",value:function(e){return(0,Le.of)(this.attributeSerializer.deserializeAsObject(e))}},{key:"buildSettings",value:function(e){return this.attributeSerializer.serialize(e,"root").attributes}},{key:"getRenderType",value:function(e){var a=[e.find(function(s){return"renderer"===s.name})].map(function(s){return s.attributes.find(function(u){return"type"===u.name})});return a.length>0?a[0].value:void 0}},{key:"stateDefinition",value:function(e){return(0,Le.of)({autocomplete:{input:""}})}},{key:"editorOptions",value:function(e){return(0,Le.of)(new pn.ContentPluginEditorOptions)}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Vn.SITE_NAME),r.\u0275\u0275inject(Vl),r.\u0275\u0275inject(Ja),r.\u0275\u0275inject(Bt.yh),r.\u0275\u0275inject(Pr),r.\u0275\u0275inject(ya),r.\u0275\u0275inject(n_),r.\u0275\u0275inject(Nt.AttributeSerializerService),r.\u0275\u0275inject(CA))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),LH=function(){var o=function(){function n(t,e){(0,f.Z)(this,n),this.fb=t,this.tokenizerService=e,this.panes=[],this.submitted=new r.EventEmitter,this.contexts=[],this.forms=[],this.snippetValidation=!0,this.restForm=this.fb.group({source:this.fb.control(""),renderer:this.fb.group({type:"snippet",query:this.fb.control(""),trackBy:this.fb.control(""),data:this.fb.control(""),bindings:this.fb.array([]),select:this.fb.group({value:this.fb.control(""),label:this.fb.control(""),id:this.fb.control(""),multiple:this.fb.control(""),limit:this.fb.control("")})})})}return(0,y.Z)(n,[{key:"rest",set:function(e){var a=this;void 0!==e&&(this._rest=e,this.restForm.setValue({renderer:(0,b.Z)((0,b.Z)({trackBy:"",query:""},e.renderer),{},{data:e.renderer.data?(0,b.Z)((0,b.Z)({},e.renderer.data),{},{jsScript:e.renderer.data.jsScript?e.renderer.data.jsScript:""}):{content:"",contentType:"",jsScript:""},select:["pane","snippet"].findIndex(function(u){return u===e.renderer.type})>-1?{value:"",label:"",id:"",multiple:"",limit:""}:JSON.parse(e.renderer.data.content),bindings:[]}),source:{url:"",params:[],method:"",body:""}}),"pane"===e.renderer.type&&(this.bindings.clear(),e.renderer.bindings.forEach(function(u){"pane"===u.type&&a.bindings.push(a.fb.group({id:a.fb.control(u.id,v.Validators.required),type:a.fb.control(u.type,v.Validators.required)}))})),"pane"===e.renderer.type?this.restForm.get("renderer").get("data").disable():this.restForm.get("renderer").get("data").enable(),setTimeout(function(){a.restSource={url:e.url,params:e.params,method:e.method?e.method:"",body:e.body?(0,b.Z)((0,b.Z)({},e.body),{},{jsScript:""}):""},a.sourceForm.refreshData$.next(void 0)}))}},{key:"rendererType",get:function(){return this.restForm.get("renderer").get("type")}},{key:"isSelectable",get:function(){return this.restForm.get("renderer").get("type").value&&"snippet"!==this.restForm.get("renderer").get("type").value&&"pane"!==this.restForm.get("renderer").get("type").value}},{key:"bindings",get:function(){return this.restForm.get("renderer").get("bindings")}},{key:"valid",get:function(){return this.restForm.valid}},{key:"ngOnInit",value:function(){var e=this;console.log(this.contexts),this.restForm.get("renderer").get("type").valueChanges.subscribe(function(a){"pane"===e.rendererType.value?e.restForm.get("renderer").get("data").disable():e.restForm.get("renderer").get("data").enable(),e.restForm.get("renderer").get("data").setValue({contentType:"",content:"",jsScript:""})}),this.restForm.get("renderer").get("select").valueChanges.subscribe(function(a){e.restForm.get("renderer").get("data").setValue({contentType:"application/json",content:JSON.stringify({value:a.value,label:a.label,id:a.id,multiple:a.multiple,limit:a.limit}),jsScript:""})})}},{key:"ngAfterViewInit",value:function(){}},{key:"onDataChange",value:function(e){this.tokens=this.tokenizerService.generateGenericTokens(e[0])}},{key:"addPane",value:function(){this.bindings.push(this.fb.group({type:this.fb.control("pane",v.Validators.required),id:this.fb.control("",v.Validators.required)}))}},{key:"submit",value:function(){var e=new Os((0,b.Z)((0,b.Z)({},this.restForm.value),{},{url:this.restForm.value.source.url,params:this.restForm.value.source.params,method:this.restForm.value.source.method,body:this.restForm.value.source.body}));this.submitted.emit(e)}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(Pr))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-rest-form"]],viewQuery:function(t,e){var a;1&t&&r.\u0275\u0275viewQuery(v_,7),2&t&&r.\u0275\u0275queryRefresh(a=r.\u0275\u0275loadQuery())&&(e.sourceForm=a.first)},inputs:{panes:"panes",contexts:"contexts",rest:"rest"},outputs:{submitted:"submitted"},decls:34,vars:9,consts:[[1,"rest-form",3,"formGroup","ngSubmit"],["direction","vertical",1,"content-inner"],["as-split-area","","size","50"],["formControlName","source",3,"contexts","restSource","dataChange"],["size","50","formGroupName","renderer"],["matInput","","formControlName","query","placeholder","Query"],["matInput","","formControlName","trackBy","placeholder","Track By"],["required","","formControlName","type"],["label","Output"],["value","snippet"],["value","pane"],["label","Input"],["value","select"],["value","radiogroup"],["value","checkboxgroup"],["value","autocomplete"],["formControlName","data","splitDirection","horizontal","rows","10","cols","40",3,"hidden","rootForm","tokens"],["formArrayName","bindings",4,"ngIf"],["formGroupName","select",4,"ngIf"],["type","submit","mat-raised-button","","color","primary","mat-dialog-close","",3,"disabled"],["formArrayName","bindings"],["type","button",3,"click"],[4,"ngFor","ngForOf"],[3,"formGroupName"],["required","","formControlName","id"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["formGroupName","select"],["matInput","","formControlName","id","placeholder","Id"],["matInput","","formControlName","value","placeholder","Value"],["matInput","","formControlName","label","placeholder","Label"],["formControlName","multiple"],["matInput","","formControlName","limit","placeholder","Limit"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"form",0),r.\u0275\u0275listener("ngSubmit",function(){return e.submit()}),r.\u0275\u0275elementStart(1,"mat-dialog-content")(2,"as-split",1)(3,"div",2)(4,"classifieds-ui-rest-source-form",3),r.\u0275\u0275listener("dataChange",function(s){return e.onDataChange(s)}),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(5,"as-split-area",4)(6,"mat-form-field"),r.\u0275\u0275element(7,"input",5),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(8,"mat-form-field"),r.\u0275\u0275element(9,"input",6),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(10,"mat-form-field")(11,"mat-label"),r.\u0275\u0275text(12,"Type"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(13,"mat-select",7)(14,"mat-optgroup",8)(15,"mat-option",9),r.\u0275\u0275text(16,"Snippet"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(17,"mat-option",10),r.\u0275\u0275text(18,"Pane"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(19,"mat-optgroup",11)(20,"mat-option",12),r.\u0275\u0275text(21,"Select"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(22,"mat-option",13),r.\u0275\u0275text(23,"Radio Group"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(24,"mat-option",14),r.\u0275\u0275text(25,"Checkbox Group"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(26,"mat-option",15),r.\u0275\u0275text(27,"Autocomplete"),r.\u0275\u0275elementEnd()()()(),r.\u0275\u0275element(28,"classifieds-ui-snippet-form",16),r.\u0275\u0275template(29,nH,5,1,"div",17),r.\u0275\u0275template(30,rH,12,0,"div",18),r.\u0275\u0275elementEnd()()(),r.\u0275\u0275elementStart(31,"mat-dialog-actions")(32,"button",19),r.\u0275\u0275text(33,"Save"),r.\u0275\u0275elementEnd()()()),2&t&&(r.\u0275\u0275property("formGroup",e.restForm),r.\u0275\u0275advance(4),r.\u0275\u0275property("contexts",e.contexts)("restSource",e.restSource),r.\u0275\u0275advance(24),r.\u0275\u0275property("hidden","snippet"!=e.rendererType.value)("rootForm",!1)("tokens",e.tokens),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf","pane"==e.rendererType.value),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",e.isSelectable),r.\u0275\u0275advance(2),r.\u0275\u0275property("disabled",!e.valid))},dependencies:[P.NgForOf,P.NgIf,v.\u0275NgNoValidate,v.DefaultValueAccessor,v.NgControlStatus,v.NgControlStatusGroup,v.RequiredValidator,v.FormGroupDirective,v.FormControlName,v.FormGroupName,v.FormArrayName,bi.MatLegacyOption,bi.MatLegacyOptgroup,pi.MatLegacyButton,Jy.MatLegacyCheckbox,Yt.MatLegacyDialogClose,Yt.MatLegacyDialogContent,Yt.MatLegacyDialogActions,En.MatLegacyFormField,En.MatLegacyLabel,Hr.MatLegacyInput,Fi.MatLegacySelect,Wy,Xy,v_,mE],styles:[".rest-form[_ngcontent-%COMP%] .content-inner{height:auto}"]}),o}(),jH=function(){var o=function(){function n(t,e,a,s){(0,f.Z)(this,n),this.data=t,this.dialogRef=e,this.fb=a,this.handler=s,this.panes=[],this.contexts=[],this.contexts=this.data.contexts}return(0,y.Z)(n,[{key:"ngOnInit",value:function(){var e=this;this.panes=this.data.panelFormGroup.get("panes").controls.reduce(function(a,s){return s.get("name").value?[].concat((0,_.Z)(a),[s.get("name").value]):(0,_.Z)(a)},[]),void 0!==this.data.pane&&this.handler.toObject(this.data.pane.settings).subscribe(function(a){e.rest=a})}},{key:"submitted",value:function(e){var a=this,s=this.data.panelFormGroup.get("panes");if(void 0===this.data.paneIndex)s.push(this.fb.group({contentPlugin:"rest",name:new v.UntypedFormControl(""),label:new v.UntypedFormControl(""),rule:new v.UntypedFormControl(""),settings:this.fb.array(this.handler.buildSettings(e).map(function(l){return a.convertToGroup(l)}))})),this.data.contentAdded.next([this.data.panelIndex,s.length-1]);else{var u=s.at(this.data.paneIndex);u.get("settings").clear(),this.handler.buildSettings(e).forEach(function(l){u.get("settings").push(a.convertToGroup(l))})}this.dialogRef.close()}},{key:"convertToGroup",value:function(e){var a=this,s=this.fb.group({name:new v.UntypedFormControl(e.name,v.Validators.required),type:new v.UntypedFormControl(e.type,v.Validators.required),displayName:new v.UntypedFormControl(e.displayName,v.Validators.required),value:new v.UntypedFormControl(e.value,v.Validators.required),computedValue:new v.UntypedFormControl(e.value,v.Validators.required),attributes:new v.UntypedFormArray([])});return e.attributes&&e.attributes.length>0&&e.attributes.forEach(function(u){s.get("attributes").push(a.convertToGroup(u))}),s}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Yt.MAT_LEGACY_DIALOG_DATA),r.\u0275\u0275directiveInject(Yt.MatLegacyDialogRef),r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(C_))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-rest-editor"]],decls:1,vars:3,consts:[[3,"panes","rest","contexts","submitted"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"classifieds-ui-rest-form",0),r.\u0275\u0275listener("submitted",function(s){return e.submitted(s)}),r.\u0275\u0275elementEnd()),2&t&&r.\u0275\u0275property("panes",e.panes)("rest",e.rest)("contexts",e.contexts)},dependencies:[LH]}),o}(),$H=function(){var o=function(){function n(t,e,a){var s=this;(0,f.Z)(this,n),this.fb=t,this.attributeSerializer=e,this.tokenizerService=a,this.searchChange=new r.EventEmitter,this.selectionForm=this.fb.group({attributes:this.fb.array([])}),this.onTouched=function(){},this.displayAuto=function(u){return a.replaceTokens(s.selectMapping.label,s.tokenizerService.generateGenericTokens(u.dataItem))}}return(0,y.Z)(n,[{key:"values",set:function(e){this.options=e,this.buildOptions()}},{key:"attributesArray",get:function(){return this.selectionForm.get("attributes")}},{key:"ngOnInit",value:function(){var e=this;this.attributesArray.push(this.fb.group({name:new v.UntypedFormControl("value",v.Validators.required),type:new v.UntypedFormControl(Nt.AttributeTypes.Array,v.Validators.required),displayName:new v.UntypedFormControl("Value",v.Validators.required),value:new v.UntypedFormControl(""),attributes:["checkboxgroup"].findIndex(function(a){return a===e.renderType})>-1?this.fb.array([]):new v.UntypedFormControl("")})),"autocomplete"===this.renderType&&(this.attributesArray.at(0).addControl("_proxy",this.fb.control("")),this.attributesArray.at(0).get("_proxy").valueChanges.pipe((0,xu.x)(),(0,Ar.b)(500)).subscribe(function(a){e.searchChange.emit(a)}))}},{key:"onOptionSelected",value:function(e){this.attributesArray.at(0).get("attributes").setValue(e.option.value.value),this.attributesArray.at(0).get("attributes").updateValueAndValidity()}},{key:"writeValue",value:function(e){e&&this.attributesArray.setValue(e,{emitEvent:!1})}},{key:"registerOnChange",value:function(e){this.attributesArray.valueChanges.subscribe(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){e?this.attributesArray.disable():this.attributesArray.enable()}},{key:"validate",value:function(e){return this.selectionForm.valid?null:{invalidForm:{valid:!1,message:"selection is invalid"}}}},{key:"buildOptions",value:function(){var e=this;if("checkboxgroup"===this.renderType&&void 0!==this.options){var a=this.attributesArray.controls[0].get("attributes");a.clear(),this.options.forEach(function(s){var u=e.attributeSerializer.convertToGroup(s.value);u.addControl("_store",new v.UntypedFormControl(!1)),a.push(u)})}}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(Nt.AttributeSerializerService),r.\u0275\u0275directiveInject(Pr))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-selection"]],inputs:{name:"name",label:"label",values:"values",renderType:"renderType",selectMapping:"selectMapping"},outputs:{searchChange:"searchChange"},features:[r.\u0275\u0275ProvidersFeature([{provide:v.NG_VALUE_ACCESSOR,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0},{provide:v.NG_VALIDATORS,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0}])],decls:9,vars:6,consts:[[3,"formGroup"],["formArrayName","attributes"],["formGroupName","0"],[3,"ngSwitch"],[4,"ngSwitchCase"],["formControlName","attributes"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[4,"ngFor","ngForOf"],[3,"formGroupName"],["formControlName","_store"],["matInput","","formControlName","_proxy",3,"placeholder","matAutocomplete"],[3,"displayWith","optionSelected"],["autocomplete","matAutocomplete"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"div",2)(3,"div"),r.\u0275\u0275elementContainerStart(4,3),r.\u0275\u0275template(5,aH,6,2,"ng-container",4),r.\u0275\u0275template(6,sH,6,2,"ng-container",4),r.\u0275\u0275template(7,lH,4,1,"ng-container",4),r.\u0275\u0275template(8,dH,6,4,"ng-container",4),r.\u0275\u0275elementContainerEnd(),r.\u0275\u0275elementEnd()()()()),2&t&&(r.\u0275\u0275property("formGroup",e.selectionForm),r.\u0275\u0275advance(4),r.\u0275\u0275property("ngSwitch",e.renderType),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngSwitchCase","select"),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngSwitchCase","radiogroup"),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngSwitchCase","checkboxgroup"),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngSwitchCase","autocomplete"))},dependencies:[P.NgForOf,P.NgSwitch,P.NgSwitchCase,v.DefaultValueAccessor,v.NgControlStatus,v.NgControlStatusGroup,v.FormGroupDirective,v.FormControlName,v.FormGroupName,v.FormArrayName,TE.MatLegacyAutocomplete,TE.MatLegacyAutocompleteTrigger,bi.MatLegacyOption,Jy.MatLegacyCheckbox,En.MatLegacyFormField,En.MatLegacyLabel,Hr.MatLegacyInput,IE.MatLegacyRadioGroup,IE.MatLegacyRadioButton,Fi.MatLegacySelect]}),o}(),UH=function(){var o=function(){function n(t,e){(0,f.Z)(this,n),this.restHandler=t,this.controlContainer=e,this.settings=[],this.contexts=[],this.state={},this.stateChange=new r.EventEmitter,this.tag=vr(),this.searchChange$=new ae.x}return(0,y.Z)(n,[{key:"renderType",get:function(){return this.restHandler.getRenderType(this.settings)}},{key:"ngOnInit",value:function(){var e=this;this.restHandler.toObject(this.settings).pipe((0,te.b)(function(a){e.snippet=a.renderer.data,e.selectMapping=new oI(JSON.parse(e.snippet.content))}),(0,Q.h)(function(){return"autocomplete"!==e.renderType}),(0,st.w)(function(a){return e.restHandler.buildSelectOptionItems(e.settings,new Map([["tag",e.tag],["snippet",a.renderer.data],["contexts",e.contexts]]))})).subscribe(function(a){e.options=a}),this.searchChange$.pipe((0,te.b)(function(a){e.stateChange.emit({autocomplete:{input:a}})}),(0,st.w)(function(a){return e.restHandler.buildSelectOptionItems(e.settings,new Map([["tag",vr()],["snippet",e.snippet],["contexts",e.contexts]]))})).subscribe(function(a){e.options=a})}},{key:"onSearchChange",value:function(e){this.searchChange$.next(e)}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(C_),r.\u0275\u0275directiveInject(v.ControlContainer))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-rest-pane-renderer"]],inputs:{settings:"settings",name:"name",label:"label",displayType:"displayType",contexts:"contexts",state:"state"},outputs:{stateChange:"stateChange"},decls:2,vars:6,consts:[[3,"formGroup"],["formControlName","settings",3,"name","label","renderType","values","selectMapping","searchChange"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"div",0)(1,"classifieds-ui-selection",1),r.\u0275\u0275listener("searchChange",function(s){return e.onSearchChange(s)}),r.\u0275\u0275elementEnd()()),2&t&&(r.\u0275\u0275property("formGroup",e.controlContainer.control),r.\u0275\u0275advance(1),r.\u0275\u0275property("name",e.name)("label",e.label)("renderType",e.renderType)("values",e.options)("selectMapping",e.selectMapping))},dependencies:[v.NgControlStatus,v.NgControlStatusGroup,v.FormGroupDirective,v.FormControlName,$H]}),o}(),VE=function(){var o=function(){function n(t,e,a,s,u,l){(0,f.Z)(this,n),this.siteName=t,this.tokenizerService=e,this.panelHandler=a,this.mediaHandler=s,this.attributeSerializer=u,this.inlineContextResolver=l}return(0,y.Z)(n,[{key:"handleFile",value:function(e){return(0,Le.of)()}},{key:"handlesType",value:function(e){return!1}},{key:"implementsRendererOverride",value:function(){return!1}},{key:"hasRendererOverride",value:function(e){return(0,Le.of)(!1)}},{key:"isDynamic",value:function(e){return!0}},{key:"isData",value:function(e){return!1}},{key:"fetchDynamicData",value:function(e,a){return(0,Le.of)(new pr)}},{key:"buildDynamicItems",value:function(e,a){var s=this;return this.toObject(e).pipe((0,Ce.U)(function(u){return[u,a.get("contexts").find(function(l){return l.name===u.context})]}),(0,st.w)(function(u){var l=(0,g.Z)(u,2),c=l[0],h=l[1];return s.extractDataArray(h,c.query).pipe((0,Ce.U)(function(C){return[c,h,C]}))}),(0,st.w)(function(u){var l=(0,g.Z)(u,3);return s.transformDataArray(l[2],l[0].plugin)}),(0,Ce.U)(function(u){return new Ns({stylePlugin:void 0,settings:[],panes:u,columnSetting:new br})}),(0,Ce.U)(function(u){return s.panelHandler.buildSettings(new ri({id:void 0,layoutType:"grid",displayType:"page",site:s.siteName,gridItems:[],layoutSetting:new br,rowSettings:[],panels:[u]}))}),(0,Ce.U)(function(u){return u.find(function(l){return"panels"===l.name}).attributes[0].attributes.find(function(l){return"panes"===l.name}).attributes}))}},{key:"getBindings",value:function(e,a,s){return"context"===a?this.toObject(e).pipe((0,Ce.U)(function(u){return[new pn.ContentBinding({id:u.context,type:"context"})]})):(0,Le.of)([])}},{key:"toObject",value:function(e){return(0,Le.of)(this.attributeSerializer.deserializeAsObject(e))}},{key:"buildSettings",value:function(e){return this.attributeSerializer.serialize(e,"root").attributes}},{key:"extractDataArray",value:function(e,a){return this.inlineContextResolver.resolve(e).pipe((0,Ce.U)(function(s){var u=a.split("."),l=u.length;if(void 0===e)return(0,Le.of)([]);for(var c=Array.isArray(s)?s[0]:s,h=0;h<l;h++)""!==u[h]&&(c=c[u[h]]);return c}))}},{key:"transformDataArray",value:function(e,a){var s=this;return"media"===a?(0,Le.of)(e.map(function(u){return new nA(u)}).map(function(u){return new Wr({contentPlugin:"media",name:void 0,label:void 0,settings:s.mediaHandler.buildSettings(u)})})):(0,Le.of)()}},{key:"stateDefinition",value:function(e){return(0,Le.of)({})}},{key:"editorOptions",value:function(e){return(0,Le.of)(new pn.ContentPluginEditorOptions)}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Vn.SITE_NAME),r.\u0275\u0275inject(Pr),r.\u0275\u0275inject(ya),r.\u0275\u0275inject(ip),r.\u0275\u0275inject(Nt.AttributeSerializerService),r.\u0275\u0275inject(zd))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),zH=(0,y.Z)(function o(n){(0,f.Z)(this,o),n&&(this.context=n.context,this.query=n.query,this.plugin=n.plugin)}),GH=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.fb=t,this.contexts=[],this.submitted=new r.EventEmitter,this.sliceForm=this.fb.group({context:this.fb.control("",v.Validators.required),query:this.fb.control("",v.Validators.required),plugin:this.fb.control("",v.Validators.required)})}return(0,y.Z)(n,[{key:"ngOnInit",value:function(){}},{key:"submit",value:function(){var e=new zH(this.sliceForm.value);this.submitted.emit(e)}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.UntypedFormBuilder))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-slice-form"]],inputs:{contexts:"contexts"},outputs:{submitted:"submitted"},decls:20,vars:3,consts:[[1,"slice-form",3,"formGroup","ngSubmit"],["required","","formControlName","context"],["value","_root"],[3,"value",4,"ngFor","ngForOf"],["matInput","","placeholder","Query","formControlName","query","required",""],["required","","formControlName","plugin"],["value","media"],["type","submit","mat-raised-button","","color","primary","mat-dialog-close","",3,"disabled"],[3,"value"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"form",0),r.\u0275\u0275listener("ngSubmit",function(){return e.submit()}),r.\u0275\u0275elementStart(1,"mat-dialog-content")(2,"mat-form-field")(3,"mat-label"),r.\u0275\u0275text(4,"Type"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(5,"mat-select",1)(6,"mat-option",2),r.\u0275\u0275text(7,"_root"),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(8,pH,2,2,"mat-option",3),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(9,"mat-form-field"),r.\u0275\u0275element(10,"input",4),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(11,"mat-form-field")(12,"mat-label"),r.\u0275\u0275text(13,"Plugin"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(14,"mat-select",5)(15,"mat-option",6),r.\u0275\u0275text(16,"Media"),r.\u0275\u0275elementEnd()()()(),r.\u0275\u0275elementStart(17,"mat-dialog-actions")(18,"button",7),r.\u0275\u0275text(19,"Save"),r.\u0275\u0275elementEnd()()()),2&t&&(r.\u0275\u0275property("formGroup",e.sliceForm),r.\u0275\u0275advance(8),r.\u0275\u0275property("ngForOf",e.contexts),r.\u0275\u0275advance(10),r.\u0275\u0275property("disabled",!e.sliceForm.valid))},dependencies:[P.NgForOf,v.\u0275NgNoValidate,v.DefaultValueAccessor,v.NgControlStatus,v.NgControlStatusGroup,v.RequiredValidator,v.FormGroupDirective,v.FormControlName,bi.MatLegacyOption,pi.MatLegacyButton,Yt.MatLegacyDialogClose,Yt.MatLegacyDialogContent,Yt.MatLegacyDialogActions,En.MatLegacyFormField,En.MatLegacyLabel,Hr.MatLegacyInput,Fi.MatLegacySelect]}),o}(),HH=function(){var o=function(){function n(t,e,a,s){(0,f.Z)(this,n),this.data=t,this.dialogRef=e,this.fb=a,this.handler=s,this.contexts=[],this.contexts=this.data.contexts}return(0,y.Z)(n,[{key:"ngOnInit",value:function(){}},{key:"submitted",value:function(e){var a=this;this.data.panelFormGroup.get("panes").push(this.fb.group({contentPlugin:"slice",name:new v.UntypedFormControl(""),label:new v.UntypedFormControl(""),rule:new v.UntypedFormControl(""),settings:this.fb.array(this.handler.buildSettings(e).map(function(s){return a.convertToGroup(s)}))})),this.dialogRef.close()}},{key:"convertToGroup",value:function(e){var a=this,s=this.fb.group({name:new v.UntypedFormControl(e.name,v.Validators.required),type:new v.UntypedFormControl(e.type,v.Validators.required),displayName:new v.UntypedFormControl(e.displayName,v.Validators.required),value:new v.UntypedFormControl(e.value,v.Validators.required),computedValue:new v.UntypedFormControl(e.value,v.Validators.required),attributes:new v.UntypedFormArray([])});return e.attributes&&e.attributes.length>0&&e.attributes.forEach(function(u){s.get("attributes").push(a.convertToGroup(u))}),s}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Yt.MAT_LEGACY_DIALOG_DATA),r.\u0275\u0275directiveInject(Yt.MatLegacyDialogRef),r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(VE))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-slice-editor"]],decls:1,vars:1,consts:[[3,"contexts","submitted"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"classifieds-ui-slice-form",0),r.\u0275\u0275listener("submitted",function(s){return e.submitted(s)}),r.\u0275\u0275elementEnd()),2&t&&r.\u0275\u0275property("contexts",e.contexts)},dependencies:[GH]}),o}(),qH=function(){var o=function(){function n(t,e){(0,f.Z)(this,n),this.fb=t,this.controlContainer=e}return(0,y.Z)(n,[{key:"ngOnInit",value:function(){this.controlContainer.control.addControl("adaptor",this.fb.control("rest",v.Validators.required)),this.controlContainer.control.addControl("rest",this.fb.control(""))}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(v.ControlContainer))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-context-editor"]],viewQuery:function(t,e){var a;1&t&&r.\u0275\u0275viewQuery(v_,7),2&t&&r.\u0275\u0275queryRefresh(a=r.\u0275\u0275loadQuery())&&(e.restSourceFormComp=a.first)},decls:2,vars:1,consts:[[3,"formGroup"],["formControlName","rest"]],template:function(t,e){1&t&&(r.\u0275\u0275elementContainerStart(0,0),r.\u0275\u0275element(1,"classifieds-ui-rest-source-form",1),r.\u0275\u0275elementContainerEnd()),2&t&&r.\u0275\u0275property("formGroup",e.controlContainer.control)},dependencies:[v.NgControlStatus,v.NgControlStatusGroup,v.FormGroupDirective,v.FormControlName,v_]}),o}(),KH=function(){var o=function(){function n(t,e,a,s){(0,f.Z)(this,n),this.data=t,this.dialogRef=e,this.fb=a,this.attributeSerializer=s,this.contexts=[],this.panes=[],this.formGroup=this.fb.group({labels:this.fb.array([this.buildLabelGroup()])}),this.contexts=this.data.contexts}return(0,y.Z)(n,[{key:"labels",get:function(){return this.formGroup.get("labels")}},{key:"ngOnInit",value:function(){this.panes=new Ns(this.data.panelFormGroup.value).panes}},{key:"submit",value:function(){var e=this;this.data.panelFormGroup.get("settings").clear(),this.attributeSerializer.serialize(this.formGroup.value,"root").attributes.forEach(function(a){console.log("label mappings"),console.log(e.attributeSerializer.convertToGroup(a)),e.data.panelFormGroup.get("settings").push(e.attributeSerializer.convertToGroup(a))})}},{key:"onRemoveMapping",value:function(e){this.labels.removeAt(e)}},{key:"onAddMapping",value:function(){this.labels.push(this.buildLabelGroup())}},{key:"buildLabelGroup",value:function(){return this.fb.group({mapping:this.fb.control("")})}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Yt.MAT_LEGACY_DIALOG_DATA),r.\u0275\u0275directiveInject(Yt.MatLegacyDialogRef),r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(Nt.AttributeSerializerService))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["druid-tabs-panel-editor"]],decls:7,vars:3,consts:[[3,"formGroup","ngSubmit"],["formArrayName","labels"],[3,"formGroupName",4,"ngFor","ngForOf"],["type","button","mat-raised-button","","color","primary",3,"click"],["type","submit","mat-raised-button","","color","primary","mat-dialog-close","",3,"disabled"],[3,"formGroupName"],["formControlName","mapping",3,"panes"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"form",0),r.\u0275\u0275listener("ngSubmit",function(){return e.submit()}),r.\u0275\u0275elementStart(1,"div",1),r.\u0275\u0275template(2,fH,4,2,"div",2),r.\u0275\u0275elementStart(3,"button",3),r.\u0275\u0275listener("click",function(){return e.onAddMapping()}),r.\u0275\u0275text(4,"Add"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(5,"button",4),r.\u0275\u0275text(6,"Save"),r.\u0275\u0275elementEnd()()),2&t&&(r.\u0275\u0275property("formGroup",e.formGroup),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngForOf",e.labels.controls),r.\u0275\u0275advance(3),r.\u0275\u0275property("disabled",!e.formGroup.valid))},dependencies:[P.NgForOf,v.\u0275NgNoValidate,v.NgControlStatus,v.NgControlStatusGroup,v.FormGroupDirective,v.FormControlName,v.FormGroupName,v.FormArrayName,pi.MatLegacyButton,Yt.MatLegacyDialogClose,h$],encapsulation:2}),o}(),WH=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.attributeSerializer=t,this.settings=[],this.panes=[],this.originMappings=[],this.labelMappingsEnabled=!1}return(0,y.Z)(n,[{key:"ngOnInit",value:function(){console.log("tabs panels contexts"),console.log(this.panes);var e=this.attributeSerializer.deserialize(new Nt.AttributeValue({name:"",displayName:"",computedValue:"",type:Nt.AttributeTypes.Complex,value:"",intValue:0,attributes:this.settings}));this.labelMappingsEnabled=!!(e&&void 0!==e.labels&&Array.isArray(e.labels)&&e.labels.length>0)}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Nt.AttributeSerializerService))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-tabs-panel-renderer"]],inputs:{settings:"settings",panes:"panes",originPanes:"originPanes",originMappings:"originMappings"},decls:2,vars:2,consts:[["mat-align-tabs","start",4,"ngIf"],["mat-align-tabs","start"],[4,"for"],["mat-tab-label",""],[3,"pluginName","settings","contexts"],["label","The Label",4,"ngFor","ngForOf"],["label","The Label"]],template:function(t,e){1&t&&(r.\u0275\u0275template(0,gH,2,1,"mat-tab-group",0),r.\u0275\u0275template(1,yH,2,1,"mat-tab-group",0)),2&t&&(r.\u0275\u0275property("ngIf",e.labelMappingsEnabled),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",!e.labelMappingsEnabled))},dependencies:[P.NgForOf,P.NgIf,rs.MatLegacyTabGroup,rs.MatLegacyTabLabel,rs.MatLegacyTab,Vn.ForDirective,x_]}),o}(),zO=function(){var o=function(){function n(t,e){var a=this;(0,f.Z)(this,n),this.fb=t,this.controlContainer=e,this.panelPages=[],this.panelPage$=new U.X(new ri),this.context$=new U.X(void 0),this.formGroup=this.fb.group({state:this.fb.control("",[v.Validators.required])}),this.stateCtrl=this.fb.control(""),this.stateCtrlSub=this.stateCtrl.valueChanges.pipe((0,Ar.b)(250),(0,xu.x)(),(0,Q.h)(function(s){try{return JSON.parse(s),!0}catch{return!1}}),(0,Ce.U)(function(s){return JSON.parse(s)})).subscribe(function(s){console.log("write state"),console.log(s),a.formGroup.get("state").setValue(s)}),this.onTouched=function(){}}return(0,y.Z)(n,[{key:"panelPage",set:function(e){this.panelPage$.next(e)}},{key:"context",set:function(e){this.context$.next(e)}},{key:"ngOnInit",value:function(){var e=this;this.panelPage$.subscribe(function(a){e.panelPages=[a]}),this.context$.subscribe(function(a){e.stateCtrl.setValue(a?JSON.stringify(a.data.state):"")})}},{key:"writeValue",value:function(e){e&&this.formGroup.setValue(e,{emitEvent:!1})}},{key:"registerOnChange",value:function(e){this.formGroup.valueChanges.subscribe(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){e?this.formGroup.disable():this.formGroup.enable()}},{key:"validate",value:function(e){return this.formGroup.valid?null:{invalidForm:{valid:!1,message:"source is invalid"}}}},{key:"flattenSelector",value:function(e){var a=[];return null!=e.panel&&a.push(e.panel),null!=e.pane&&a.push(e.pane),null!=e.nested&&"object"==typeof e.nested&&this.flattenSelector(e.nested).forEach(function(s){return a.push(s)}),a}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(v.ControlContainer))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-page-state-form"]],inputs:{panelPage:"panelPage",context:"context"},features:[r.\u0275\u0275ProvidersFeature([{provide:v.NG_VALUE_ACCESSOR,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0},{provide:v.NG_VALIDATORS,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0}])],decls:3,vars:2,consts:[[3,"formGroup"],["cols","40","rows","20","required","",3,"formControl"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"div",0),r.\u0275\u0275text(1," <"),r.\u0275\u0275element(2,"textarea",1),r.\u0275\u0275elementEnd()),2&t&&(r.\u0275\u0275property("formGroup",e.formGroup),r.\u0275\u0275advance(2),r.\u0275\u0275property("formControl",e.stateCtrl))},dependencies:[v.DefaultValueAccessor,v.NgControlStatus,v.NgControlStatusGroup,v.RequiredValidator,v.FormControlDirective,v.FormGroupDirective]}),o}(),XH=function(){var o=function(){function n(t,e,a){(0,f.Z)(this,n),this.fb=t,this.pageBuilderFacade=e,this.controlContainer=a}return(0,y.Z)(n,[{key:"ngOnInit",value:function(){var e=this;this.controlContainer.control.addControl("adaptor",this.fb.control("data",v.Validators.required)),this.controlContainer.control.addControl("data",this.fb.control("")),this.pageBuilderFacade.getPage$.pipe((0,An.q)(1)).subscribe(function(a){e.panelPage=a})}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(Ja),r.\u0275\u0275directiveInject(v.ControlContainer))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-page-state-editor"]],viewQuery:function(t,e){var a;1&t&&r.\u0275\u0275viewQuery(zO,7),2&t&&r.\u0275\u0275queryRefresh(a=r.\u0275\u0275loadQuery())&&(e.restSourceFormComp=a.first)},inputs:{context:"context"},decls:2,vars:3,consts:[[3,"formGroup"],["formControlName","data",3,"panelPage","context"]],template:function(t,e){1&t&&(r.\u0275\u0275elementContainerStart(0,0),r.\u0275\u0275element(1,"classifieds-ui-page-state-form",1),r.\u0275\u0275elementContainerEnd()),2&t&&(r.\u0275\u0275property("formGroup",e.controlContainer.control),r.\u0275\u0275advance(1),r.\u0275\u0275property("panelPage",e.panelPage)("context",e.context))},dependencies:[v.NgControlStatus,v.NgControlStatusGroup,v.FormGroupDirective,v.FormControlName,zO]}),o}(),QH=function(){var o=function(){function n(t,e){var a=this;(0,f.Z)(this,n),this.fb=t,this.attributeSerializer=e,this.settings$=new U.X(void 0),this.formGroup=this.fb.group({name:this.fb.control("",[v.Validators.required]),field:this.fb.control("",[v.Validators.required])}),this.settingsSub=this.settings$.pipe((0,Ce.U)(function(s){return s?new IA(a.attributeSerializer.deserializeAsObject(s)):void 0})).subscribe(function(s){s?(a.formGroup.get("name").setValue(s.name),a.formGroup.get("field").setValue(s.field)):(a.formGroup.get("name").setValue(""),a.formGroup.get("field").setValue(""))}),this.onTouched=function(){}}return(0,y.Z)(n,[{key:"settings",set:function(e){this.settings$.next(e)}},{key:"ngOnInit",value:function(){}},{key:"writeValue",value:function(e){e&&this.formGroup.setValue(e,{emitEvent:!1})}},{key:"registerOnChange",value:function(e){this.formGroup.valueChanges.subscribe(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){e?this.formGroup.disable():this.formGroup.enable()}},{key:"validate",value:function(e){return this.formGroup.valid?null:{invalidForm:{valid:!1,message:"content is invalid"}}}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(Nt.AttributeSerializerService))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-form-datasource-form"]],inputs:{settings:"settings"},features:[r.\u0275\u0275ProvidersFeature([{provide:v.NG_VALUE_ACCESSOR,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0},{provide:v.NG_VALIDATORS,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0}])],decls:11,vars:1,consts:[[3,"formGroup"],["matInput","","formControlName","name","required",""],["matInput","","formControlName","field","required",""]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"div",0)(1,"div")(2,"mat-form-field")(3,"mat-label"),r.\u0275\u0275text(4,"Name"),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(5,"input",1),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(6,"div")(7,"mat-form-field")(8,"mat-label"),r.\u0275\u0275text(9,"Field"),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(10,"input",2),r.\u0275\u0275elementEnd()()()),2&t&&r.\u0275\u0275property("formGroup",e.formGroup)},dependencies:[v.DefaultValueAccessor,v.NgControlStatus,v.NgControlStatusGroup,v.RequiredValidator,v.FormGroupDirective,v.FormControlName,En.MatLegacyFormField,En.MatLegacyLabel,Hr.MatLegacyInput]}),o}(),YH=function(){var o=(0,y.Z)(function n(t){(0,f.Z)(this,n),this.controlContainer=t,this.settings=[]});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.ControlContainer))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-form-datasource"]],inputs:{settings:"settings"},decls:2,vars:2,consts:[[3,"formGroup"],["formControlName","settings",3,"settings"]],template:function(t,e){1&t&&(r.\u0275\u0275elementContainerStart(0,0),r.\u0275\u0275element(1,"classifieds-ui-form-datasource-form",1),r.\u0275\u0275elementContainerEnd()),2&t&&(r.\u0275\u0275property("formGroup",e.controlContainer.control),r.\u0275\u0275advance(1),r.\u0275\u0275property("settings",e.settings))},dependencies:[v.NgControlStatus,v.NgControlStatusGroup,v.FormGroupDirective,v.FormControlName,QH],encapsulation:2}),o}(),JH=function(n){return new pn.ContentPlugin({id:"snippet",title:"Snippet",selectionComponent:void 0,editorComponent:OH,renderComponent:ZO,handler:n})},eq=function(n){return new pn.ContentPlugin({id:"attribute",title:"Attribute",selectionComponent:MH,editorComponent:NH,renderComponent:VH,handler:n})},tq=function(n){return new pn.ContentPlugin({id:"media",title:"Media",selectionComponent:void 0,editorComponent:BH,renderComponent:ZH,handler:n})},nq=function(n){return new pn.ContentPlugin({id:"rest",title:"REST",selectionComponent:void 0,editorComponent:jH,renderComponent:UH,handler:n})},rq=function(n){return new pn.ContentPlugin({id:"slice",title:"Slice",selectionComponent:void 0,editorComponent:HH,renderComponent:void 0,handler:n})},iq=function(n){return new Fs({id:"page",name:"page",title:"Page",global:!0,group:"pages",baseObject:{path:""},resolver:n})},aq=function(n){var t={dataset:new pr};return new Fs({id:"rest",name:"rest",title:"Rest",baseObject:t,resolver:n,editorComponent:qH})},oq=function(n){var t={dataset:new pr};return new Fs({id:"form",name:"form",title:"Form",baseObject:t,resolver:n})},sq=function(n){var t=new Ya({state:new Nt.AttributeValue});return new Fs({id:"panestate",name:"panestate",title:"Pane State",internal:!0,baseObject:t,resolver:n})},uq=function(n){var t=new Ya({state:new Nt.AttributeValue});return new Fs({id:"pagestate",name:"pagestate",title:"Page State",internal:!0,baseObject:t,resolver:n,editorComponent:XH})},lq=function(n){return new bE({id:"tabs",name:"tabs",title:"Tabs",handler:n,editorComponent:KH,renderComponent:WH})},ak=function(n){return function(t){if(0===("/"+t.map(function(a){return a.path}).join("/")).indexOf(n.path)){var e=n.path.substr(1).split("/").length;return{consumed:t,posParams:t.reduce(function(a,s,u){return 0===u?(0,b.Z)((0,b.Z)({},a),{},{panelPageId:new dr.UrlSegment(n.id,{})}):u>e-1?(0,b.Z)((0,b.Z)({},a),{},(0,d.Z)({},"arg".concat(u-e),new dr.UrlSegment(s.path,{}))):(0,b.Z)({},a)},{})}}return null}},ok=function(n){return function(t){return 0===("/"+t.map(function(a){return a.path}).join("/")).indexOf(n.path)&&t.map(function(a){return a.path}).join("/").indexOf("/manage")>-1?(n.path.substr(1).split("/"),{consumed:t,posParams:t.reduce(function(a,s,u){return 0===u?(0,b.Z)((0,b.Z)({},a),{},{panelPageId:new dr.UrlSegment(n.id,{})}):(0,b.Z)({},a)},{})}):null}},hq=function(){var o=function(){function n(t,e,a,s){(0,f.Z)(this,n),this.tokenizerService=t,this.panelResolverService=e,this.styleResolverService=a,this.paneDatasource=s,this.settings=[],this.panes=[],this.originMappings=[],this.resolvedContext={}}return(0,y.Z)(n,[{key:"ngOnInit",value:function(){var e=this;this.paneDatasource.pageChange$.pipe((0,__.T)(1),(0,st.w)(function(a){return e.panelResolverService.resolvePanes({panes:e.originPanes.map(function(s){return new Wr((0,b.Z)((0,b.Z)({},s),{},{metadata:new Map([].concat((0,_.Z)(s.metadata?s.metadata:[]),[["page",a],["limit",e.paneDatasource.pageSize]]))}))}),contexts:e.contexts,resolvedContext:e.resolvedContext})}),(0,st.w)(function(a){return e.styleResolverService.alterResolvedPanes({panel:e.panel,resolvedPanes:a.resolvedPanes,originMappings:a.originMappings})})).subscribe(function(a){var s=a.resolvedPanes;e.originMappings=a.originMappings,e.paneDatasource.panes=s}),this.paneDatasource.panes=this.panes,this.trackByTpl="[._root.id]"}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Pr),r.\u0275\u0275directiveInject(TA),r.\u0275\u0275directiveInject(QI),r.\u0275\u0275directiveInject(CE))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-virtual-list-panel-renderer"]],inputs:{settings:"settings",panes:"panes",originPanes:"originPanes",originMappings:"originMappings",contexts:"contexts",resolvedContext:"resolvedContext",panel:"panel"},features:[r.\u0275\u0275ProvidersFeature([CE])],decls:2,vars:2,consts:[[1,"panes-viewport",3,"itemSize"],["class","pane-item",4,"cdkVirtualFor","cdkVirtualForOf"],[1,"pane-item"],[3,"pluginName","settings","contexts","resolvedContext"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"cdk-virtual-scroll-viewport",0),r.\u0275\u0275template(1,_H,2,4,"div",1),r.\u0275\u0275elementEnd()),2&t&&(r.\u0275\u0275property("itemSize",75),r.\u0275\u0275advance(1),r.\u0275\u0275property("cdkVirtualForOf",e.paneDatasource))},dependencies:[tp.CdkFixedSizeVirtualScroll,tp.CdkVirtualForOf,tp.CdkVirtualScrollViewport,x_],styles:["[_nghost-%COMP%]{position:relative}.panes-viewport[_ngcontent-%COMP%]{height:100%;width:100%}"]}),o}(),gq=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.router=t}return(0,y.Z)(n,[{key:"ngOnInit",value:function(){}},{key:"onClick",value:function(){this.router.navigateByUrl(this.href)}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(dr.Router))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-page-router-link"]],inputs:{href:"href",text:"text"},decls:2,vars:1,consts:[[3,"click"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"a",0),r.\u0275\u0275listener("click",function(){return e.onClick()}),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&t&&(r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(e.text))},styles:["[_nghost-%COMP%]:hover{cursor:pointer}"]}),o}(),GO=new r.InjectionToken("PagesSettings"),vq=(0,y.Z)(function o(n){(0,f.Z)(this,o),this.disableRouting=!1,n&&(this.disableRouting=n.disableRouting)}),yq=function(){var o=function(){function n(t,e,a,s){(0,f.Z)(this,n),this.siteName=t,this.pagesSettings=e,this.router=a,this.routesLoaded=!1,this.panelPageListItemsService=s.getEntityCollectionService("PanelPageListItem")}return(0,y.Z)(n,[{key:"canActivate",value:function(e,a){var s=this;return new Promise(this.pagesSettings.disableRouting?function(u){return u(!0)}:function(u){var l=a.url;-1!==l.indexOf("?")&&(l=a.url.substr(0,l.indexOf("?")));var c="path="+l.substr(1).split("/").reduce(function(h,C,T){return[].concat((0,_.Z)(h),[0===T?"/".concat(C):"".concat(h[T-1],"/").concat(C)])},[]).map(function(h){return s.encodePathComponent(h)}).join("&path=")+"&site=".concat(encodeURIComponent('{"term":{"site.keyword":{"value":"'.concat(s.siteName,'"}}}')));setTimeout(function(){}),(0,$n.D)([Or(function(){return!s.routesLoaded},s.panelPageListItemsService.getWithQuery("site=".concat(encodeURIComponent('{"term":{"site.keyword":{"value":"'.concat(s.siteName,'"}}}')),'&path={"wildcard":{"path.keyword":{"value":"*"}}}')).pipe((0,te.b)(function(){return console.log("loaded page list items")}),(0,Ce.U)(function(h){return h.filter(function(C){return void 0!==C.path&&""!==C.path})}),(0,Ce.U)(function(h){return h.map(function(C){return new ri(C)}).sort(function(C,T){return C.path.split("/").length===T.path.split("/").length?C.path.split("/")[C.path.split("/").length-1]>T.path.split("/")[T.path.split("/").length-1]?-1:1:C.path.split("/").length>T.path.split("/").length?-1:1})}),(0,te.b)(function(h){return h.sort(function(C,T){return C.path.length>T.path.length?1:-1})}),(0,te.b)(function(h){var C=s.router.config;h.forEach(function(T){C.unshift({matcher:ok(T),component:NE}),C.unshift({matcher:ak(T),component:ME,data:{panelPageListItem:T}}),console.log("panels matcher: ".concat(T.path))}),s.routesLoaded=!0}),(0,Ce.U)(function(){return[]})),(0,Le.of)([])),s.panelPageListItemsService.getWithQuery(c).pipe((0,si.K)(function(h){return(0,Le.of)([])}),(0,te.b)(function(){return console.log("loaded specific matched")}),(0,Ce.U)(function(h){return h.reduce(function(C,T){return void 0===C||C.path.split("/").length<T.path.split("/").length?T:C},void 0)}),(0,Ce.U)(function(h){var C=a.url.substr(1).split("/").slice(h.path.split("/").length-1).join("/");return[h,C]}))]).pipe((0,Ce.U)(function(h){var C=(0,g.Z)(h,2),N=(0,g.Z)(C[1],2);return[N[0],N[1]]})).subscribe(function(h){var C=(0,g.Z)(h,2),T=C[0],N=C[1],F="".concat(T.path).concat(""===N?"":"/".concat(N),"?").concat(Fa.stringify(e.queryParams)),$=s.router.parseUrl(F);console.log("panels garud navigate: ".concat(T.path).concat(""===N?"":"/".concat(N),"?").concat(Fa.stringify(e.queryParams))),u($)})})}},{key:"encodePathComponent",value:function(e){return'{"term":{"path.keyword":{"value":"'.concat(e,'"}}}')}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Vn.SITE_NAME),r.\u0275\u0275inject(GO),r.\u0275\u0275inject(dr.Router),r.\u0275\u0275inject(Dr))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),HO=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.pageBuilderFacade=t}return(0,y.Z)(n,[{key:"resolve",value:function(e,a){return this.pageBuilderFacade.getPageInfo$}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Ja))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),qO=function(){var o=function(){function n(t,e,a,s){(0,f.Z)(this,n),this.pageBuilderFacade=t,this.store=e,this.urlGeneratorService=a,this.routerStore=s}return(0,y.Z)(n,[{key:"resolve",value:function(e,a){var s=this,u=new Os(a);return(u.params&&Array.isArray(u.params)&&u.params.length>0?this.changePipeline(u.params):(0,Le.of)([])).pipe((0,st.w)(function(){return u.params&&Array.isArray(u.params)&&u.params.length>0?s.rebuildParams(u.params):(0,Le.of)([])}),(0,Ce.U)(function(l){return[l,new Map([["tag",vr()]])]}),(0,st.w)(function(l){var c=(0,g.Z)(l,2),C=c[1];return s.urlGeneratorService.getUrl(u.url,c[0],C).pipe((0,Ce.U)(function(T){return[T,C]}))}),(0,st.w)(function(l){var c=(0,g.Z)(l,2),h=c[0],C=c[1];return s.pageBuilderFacade.loadRestData("".concat(C.get("tag")),new Os((0,b.Z)((0,b.Z)({},u),{},{url:h}))),s.store.pipe((0,Bt.Ys)(wE("".concat(C.get("tag")))),(0,Q.h)(function(T){return void 0!==T}),(0,Ce.U)(function(T){return T.results}),(0,An.q)(1))}))}},{key:"changePipeline",value:function(e){var a=this,s=e.reduce(function(u,l){switch(l.mapping.type){case"route":return[].concat((0,_.Z)(u),[a.routeArgChange(l.mapping.value)]);case"querystring":return[].concat((0,_.Z)(u),[a.queryStringChange(l.mapping.value)]);case"form":return[].concat((0,_.Z)(u),[a.formChange(l.mapping.value)]);default:return(0,_.Z)(u)}},[]);return Y.T.apply(void 0,(0,_.Z)(s))}},{key:"routeArgChange",value:function(e){return this.pageBuilderFacade.getPageInfo$.pipe((0,Ce.U)(function(){}))}},{key:"queryStringChange",value:function(e){return new ae.x}},{key:"formChange",value:function(e){var a=e.split(".",2),s=(0,g.Z)(a,2);return this.pageBuilderFacade.getForm$(s[0]).pipe((0,te.b)(function(){return console.log("form change")}),(0,Ce.U)(function(){}))}},{key:"rebuildParams",value:function(e){var a=this;return this.pageBuilderFacade.getPageInfo$.pipe((0,Ce.U)(function(s){return s?e:a.testParams(e)}))}},{key:"testParams",value:function(e){for(var a=[],s=e.length,u=0;u<s;u++)a.push(new Mi("route"===e[u].mapping.type?(0,b.Z)((0,b.Z)({},e[u]),{},{mapping:{type:"static",value:e[u].mapping.testValue,context:void 0,testValue:void 0}}):e[u]));return a}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Ja),r.\u0275\u0275inject(Bt.yh),r.\u0275\u0275inject(n_),r.\u0275\u0275inject(Bt.yh))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),KO=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.pageBuilderFacade=t}return(0,y.Z)(n,[{key:"resolve",value:function(e,a){return this.pageBuilderFacade.getForm$(a)}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Ja))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),_q=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(a,s){var u;return(0,f.Z)(this,e),(u=t.call(this)).tokenizerService=a,u.paneDatasource=s,u.trackByMapping=function(l,c){return u.tokenizerService.replaceTokens(u.trackByTpl,u.tokenizerService.generateGenericTokens(c.contexts[0].data))},u}return(0,y.Z)(e,[{key:"displayedColumns",get:function(){var s=this.panes.findIndex(function(u){return u.contexts.findIndex(function(l){return"_root"===l.name})>-1});return s>-1?Object.keys(this.panes[s].contexts.find(function(u){return"_root"===u.name}).data):[]}},{key:"ngOnInit",value:function(){console.log(this.panes),this.paneDatasource.panes=this.panes}},{key:"rowData",value:function(s,u){return console.log("name: ".concat(s)),"".concat(u.contexts.find(function(l){return"_root"===l.name}).data[s])}}]),e}(P$);return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Pr),r.\u0275\u0275directiveInject(CE))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["lib-table-panel-renderer"]],features:[r.\u0275\u0275ProvidersFeature([CE]),r.\u0275\u0275InheritDefinitionFeature],decls:4,vars:4,consts:[["mat-table","","matSort","",3,"dataSource"],[3,"matColumnDef",4,"ngFor","ngForOf"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[3,"matColumnDef"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-row",""],["mat-row",""]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"table",0),r.\u0275\u0275template(1,CH,3,1,"ng-container",1),r.\u0275\u0275template(2,wH,1,0,"tr",2),r.\u0275\u0275template(3,SH,1,0,"tr",3),r.\u0275\u0275elementEnd()),2&t&&(r.\u0275\u0275property("dataSource",e.paneDatasource),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",e.displayedColumns),r.\u0275\u0275advance(1),r.\u0275\u0275property("matHeaderRowDef",e.displayedColumns),r.\u0275\u0275advance(1),r.\u0275\u0275property("matRowDefColumns",e.displayedColumns))},dependencies:[P.NgForOf,VO.MatSort,VO.MatSortHeader,os.MatLegacyTable,os.MatLegacyHeaderCellDef,os.MatLegacyHeaderRowDef,os.MatLegacyColumnDef,os.MatLegacyCellDef,os.MatLegacyRowDef,os.MatLegacyHeaderCell,os.MatLegacyCell,os.MatLegacyHeaderRow,os.MatLegacyRow]}),o}(),xq=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.attributeSerializer=t}return(0,y.Z)(n,[{key:"handleFile",value:function(e){return(0,Le.of)()}},{key:"handlesType",value:function(e){return!1}},{key:"implementsRendererOverride",value:function(){return!1}},{key:"hasRendererOverride",value:function(e){return(0,Le.of)(!1)}},{key:"isDynamic",value:function(e){return!1}},{key:"isData",value:function(e){return!1}},{key:"buildDynamicItems",value:function(e,a){return(0,Le.of)([])}},{key:"fetchDynamicData",value:function(e,a){return(0,Le.of)(new pr)}},{key:"getBindings",value:function(e,a){return(0,Le.of)([])}},{key:"toObject",value:function(e){return(0,Le.of)(this.attributeSerializer.deserializeAsObject(e))}},{key:"buildSettings",value:function(e){return this.attributeSerializer.serialize(e,"root").attributes}},{key:"fromPanes",value:function(e){var a=this;return e.map(function(s){return new Wr(a.attributeSerializer.deserialize(s))})}},{key:"wrapPanel",value:function(e){return new Ns({stylePlugin:void 0,settings:[],panes:e,columnSetting:new br})}},{key:"stateDefinition",value:function(e){return(0,Le.of)({})}},{key:"editorOptions",value:function(e){return(0,Le.of)(new pn.ContentPluginEditorOptions)}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Nt.AttributeSerializerService))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),sk=function(){var o=function(){function n(t,e,a,s){(0,f.Z)(this,n),this.panelHandler=t,this.attributeSerializer=e,this.panelsLoaderService=a,this.panelsSelectorService=s}return(0,y.Z)(n,[{key:"alterResolvedPanes",value:function(e){var a=this,u=e.resolvedPanes,l=e.originMappings,c=this.attributeSerializer.deserialize(new Nt.AttributeValue({name:"",displayName:"",computedValue:"",type:Nt.AttributeTypes.Complex,value:"",intValue:0,attributes:e.settings})),h=c&&void 0!==c.labels&&Array.isArray(c.labels)?c.labels.map(function(T){return new HI(T.mapping)}):[],C=[];return 0===h.length?(0,Le.of)({resolvedPanes:u,originMappings:l}):(C=u.length!==h.length?u.map(function(T,N){return new HI((0,b.Z)((0,b.Z)({},N<h.length?h[N]:h[h.length-1]),{},{pane:N}))}).map(function(T){return a.flattenSelector(T)}):h.map(function(T){return a.flattenSelector(T)}),(0,$n.D)(u.map(function(T,N){return a.panelsLoaderService.reducePanes([],T,0)[0]})).pipe((0,Ce.U)(function(T){return T.reduce(function(N,F){var ue=(0,g.Z)(F,2)[1];return[].concat((0,_.Z)(N),[ue])},[])}),(0,Ce.U)(function(T){for(var N=C.map(function(we){return a.selectWithTarget(we)}),F=C.map(function(we){return a.selectWithoutTarget(we)}),$=N.map(function(we,He){return a.panelsSelectorService.rebuildPage(T[C[He][0]],we.slice(1))}),se=F.map(function(we,He){return a.panelsSelectorService.rebuildPage(T[C[He][0]],we.slice(1))}),ue=[],ge=u.length,Se=0;Se<ge;Se++)ue.push(new Wr((0,b.Z)((0,b.Z)({},u[Se]),{},{settings:a.panelHandler.buildSettings($[Se])}))),ue.push(new Wr((0,b.Z)((0,b.Z)({},u[Se]),{},{settings:a.panelHandler.buildSettings(se[Se])})));return{resolvedPanes:ue,originMappings:l}})))}},{key:"stateDefinition",value:function(e){return(0,Le.of)({})}},{key:"flattenSelector",value:function(e){var a=[];return null!=e.panel&&a.push(e.panel),null!=e.pane&&a.push(e.pane),null!=e.nested&&"object"==typeof e.nested&&this.flattenSelector(e.nested).forEach(function(s){return a.push(s)}),a}},{key:"selectWithTarget",value:function(e){return e.map(function(a){return a+1})}},{key:"selectWithoutTarget",value:function(e){return e.map(function(a,s){return s===e.length-1?-1*(a+1):0})}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(xq),r.\u0275\u0275inject(Nt.AttributeSerializerService),r.\u0275\u0275inject(WI),r.\u0275\u0275inject(A$))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),WO=function(){var o=function(){function n(t,e,a,s){(0,f.Z)(this,n),this.entityServices=t,this.pageBuilderFacade=e,this.panelStateConverterService=a,this.attributeSerializer=s,this.resolverCache$=new Map}return(0,y.Z)(n,[{key:"emptyPaneState",get:function(){return new Ya({state:this.attributeSerializer.serialize({displayAssociatedPane:""},"root")})}},{key:"entities$",get:function(){return this.entityServices.getEntityCollectionService("PanelPageState").entities$.pipe((0,te.b)(function(e){console.log("entities in store"),console.log(e)}))}},{key:"panelPage$",get:function(){return(0,Sr.a)([this.pageBuilderFacade.getPageInfo$,this.entityServices.getEntityCollectionService("PanelPage").entities$]).pipe((0,Ce.U)(function(e){var a=(0,g.Z)(e,2),s=a[0],u=a[1];return s&&void 0!==s.id&&""!==s.id&&null!==s.id&&-1!==u.findIndex(function(l){return l.id===s.id})?u.find(function(l){return l.id===s.id}):void 0}))}},{key:"fakePageInfo",get:function(){return new u_({id:"948d6e7b-12ab-11ec-8ecd-661fdd19e6df",path:"",realPath:"",args:new Map})}},{key:"resolve",value:function(e,a){var s=a&&a.selectionMethod&&0!==a.selectionMethod.length&&a.id&&null!==a.id&&""!==a.id?"ps[id=".concat(a.id,"]").concat(a.selectionMethod.map(function(l){return"".concat(l)}).join("")):void 0;if(s&&this.resolverCache$.has(s))return this.resolverCache$.get(s);var u=this.resolve$(e,a);return s&&this.resolverCache$.set(s,u),u}},{key:"resolve$",value:function(e,a){var s=this;return(0,Sr.a)([this.panelPage$,this.entities$]).pipe((0,Ce.U)(function(u){var l=(0,g.Z)(u,2),c=l[0],h=l[1];return[c,c&&-1!==h.findIndex(function(C){return C.id===c.id})?h.find(function(C){return C.id===c.id}):new as]}),(0,st.w)(function(u){var l=(0,g.Z)(u,2),c=l[0],h=l[1];return s.pageBuilderFacade.getSelectionPath$.pipe((0,Ce.U)(function(C){return a&&a.selectionPath?a.selectionPath:C}),(0,te.b)(function(C){return C.join(",")}),(0,Ce.U)(function(C){return C.map(function(T,N){return"".concat((N+1)%2==0?"panes":(0===N?"":"nestedPage.")+"panels","[").concat(T,"]")})}),(0,Ce.U)(function(C){return 0===C.length?void 0:"$."+C.join(".")}),(0,Ce.U)(function(C){return[c,h,C]}))}),(0,te.b)(function(u){var l=(0,g.Z)(u,3),c=l[0],C=l[2];console.log("page state context resolver"),console.log(c),console.log("query: "+C)}),(0,st.w)(function(u){var l=(0,g.Z)(u,3),c=l[0],h=l[1],C=l[2];return Or(function(){return!!c&&!h},s.panelStateConverterService.convertPageToState(c).pipe((0,Ce.U)(function(T){return new as((0,b.Z)((0,b.Z)({},T),{},{panels:T.panels.map(function(N){return new Il((0,b.Z)((0,b.Z)({},N),{},{panes:N.panes.map(function(F){return new Ya((0,b.Z)((0,b.Z)({},F),{},{state:s.attributeSerializer.serialize({displayAssociatedPane:"y"},"root")}))})}))})}))}),(0,Ce.U)(function(T){return[T,C]})),(0,Le.of)([h,C]))}),(0,te.b)(function(u){var c=(0,g.Z)(u,2)[0];console.log("rebuilt state from realtime page"),console.log(c)}),(0,Ce.U)(function(u){var l=(0,g.Z)(u,2),h=l[1];return h?(0,Ms.JSONPath)({path:h,json:l[0]}):s.emptyPaneState}),(0,Ce.U)(function(u){return u&&Array.isArray(u)&&0!==u.length?u[0]:s.emptyPaneState}),(0,te.b)(function(u){console.log("json path match"),console.log(u)}),(0,Ce.U)(function(u){return s.attributeSerializer.deserializeAsObject(u.state)}),(0,te.b)(function(u){console.log("final state"),console.log(u)}))}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Dr),r.\u0275\u0275inject(Ja),r.\u0275\u0275inject(k$),r.\u0275\u0275inject(Nt.AttributeSerializerService))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),bq=[{path:"pages",children:[{path:"create-panel-page",component:FH},{path:"panelpage/:panelPageId/manage",component:NE}]}],Cq=function(){var o=(0,y.Z)(function n(t,e,a,s,u,l,c,h,C,T,N,F,$,se,ue,ge,Se,we,He,ot,dt,Ot,pt,Lt,$t,tn,Gt,Ut,qt){(0,f.Z)(this,n),l.registerMetadataMap(EH),[iq(se),aq(ue),oq(ge),sq(Se),uq(we)].forEach(function(Er){s.register(Er)}),t.forEach(function(Er){return a.register(Er)}),e.forEach(function(Er){return u.register(Er)}),c.register(function(n,t,e){return new Rs({id:"form",title:"Form",usedContexts:function(s){var u=s.param;return(0,Le.of)(["form__".concat(u.mapping.value.substr(0,u.mapping.value.indexOf(".")))])},evalParam:function(s){var u=s.param,c=u.mapping.value.substr(0,u.mapping.value.indexOf(".")),h=u.mapping.value.substr(u.mapping.value.indexOf(".")+1);return console.log("form: ".concat(c," || ").concat(h)),e.getForm$(c).pipe((0,An.q)(1),(0,Ce.U)(function(C){return C||new Au}),(0,Ce.U)(function(C){return t.serializeForm(C)}),(0,Ce.U)(function(C){return n.generateGenericTokens(C)}),(0,te.b)(function(C){return console.log(C)}),(0,Ce.U)(function(C){return C.has(".".concat(h))?n.replaceTokens("[.".concat(h,"]"),C):""}),(0,te.b)(function(C){console.log("form value"),console.log(C)}))}})}(N,F,$)),h.register(function(n){return new _j({id:"form",title:"Form",resolve:function(){return n.getFormNames$.pipe((0,st.w)(function(e){return 0===e.length?(0,Le.of)([]):(0,Sr.a)(e.map(function(a){return n.getForm$(a).pipe((0,Ce.U)(function(s){return[a,s]}))}))}),(0,Ce.U)(function(e){return e.reduce(function(a,s){var u=(0,g.Z)(s,2),l=u[0],c=u[1];return(0,b.Z)((0,b.Z)({},a),{},(0,d.Z)({},"form__".concat(l),c))},{})}))},resolveSingle:function(){return n.getFormNames$.pipe((0,st.w)(function(e){return Y.T.apply(void 0,(0,_.Z)(e.map(function(a){return n.getForm$(a).pipe((0,Ce.U)(function(s){return["form__".concat(a),s]}))})))}))}})}($)),He.register(function(n){return new r_({id:"pages_form",title:"Pages Form",build:function(){kl.prototype.serializePageForm=function(e){return new Promise(function(a){a(n.serializeForm(e))})}}})}(F)),He.getPlugin("pages_form").subscribe(function(Er){return Er.build()}),pt.register(function(n,t){return new Kd({id:"panelpageform_serialize",title:"Panelpageform Serialize",create:function(a){return(0,Le.of)({success:!1,entity:t.serializeForm(new Au(a.object))})},read:function(a){return Qa(a),(0,Le.of)({success:!1})},update:function(a){return Qa(a),(0,Le.of)({success:!1})},delete:function(a){return Qa(a),(0,Le.of)({success:!1})}})}(0,F)),Gt.register(function(n,t,e){return new ns({id:"form",title:"Form",editor:YH,fetch:function(s){var u=s.settings;return(0,Le.of)(new pr).pipe((0,Ce.U)(function(){return new IA(n.deserializeAsObject(u))}),(0,st.w)(function(l){return t.getForm$(l.name).pipe((0,Ce.U)(function(c){return[l,c||new Au]}),(0,fi.d)([l,new Au]),(0,An.q)(1))}),(0,Ce.U)(function(l){var c=(0,g.Z)(l,2);return[c[0],e.serializeForm(c[1])]}),(0,Ce.U)(function(l){var c=(0,g.Z)(l,2),C=c[1];return new pr({results:(0,Ms.JSONPath)({path:"$.".concat(c[0].field,".*"),json:C})})}))},getBindings:function(s){var u=s.settings;return(0,Le.of)([]).pipe((0,Ce.U)(function(){return new IA(n.deserializeAsObject(u))}),(0,Ce.U)(function(c){return[new pn.ContentBinding({id:"form__".concat(c.name),type:"context"})]}))}})}(Ut,$,F))});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(pn.CONTENT_PLUGIN),r.\u0275\u0275inject(xE),r.\u0275\u0275inject(pn.ContentPluginManager),r.\u0275\u0275inject(Su),r.\u0275\u0275inject(Xd),r.\u0275\u0275inject(Qi),r.\u0275\u0275inject(Cu),r.\u0275\u0275inject(pI),r.\u0275\u0275inject(Rn.PluginConfigurationManager),r.\u0275\u0275inject(yj),r.\u0275\u0275inject(Pr),r.\u0275\u0275inject(tO),r.\u0275\u0275inject(Ja),r.\u0275\u0275inject(HO),r.\u0275\u0275inject(qO),r.\u0275\u0275inject(KO),r.\u0275\u0275inject(rk),r.\u0275\u0275inject(WO),r.\u0275\u0275inject(Ud),r.\u0275\u0275inject(O.HttpClient),r.\u0275\u0275inject(uu),r.\u0275\u0275inject(xs),r.\u0275\u0275inject(Pu),r.\u0275\u0275inject(Qi),r.\u0275\u0275inject(al),r.\u0275\u0275inject(Ts),r.\u0275\u0275inject(co),r.\u0275\u0275inject(Nt.AttributeSerializerService),r.\u0275\u0275inject(i_))},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({providers:[yq,HO,qO,KO,rk,WO,{provide:Vn.EMBEDDABLE_COMPONENT,useValue:gq,multi:!0},{provide:Vn.EMBEDDABLE_COMPONENT,useValue:j3,multi:!0},{provide:Vn.EMBEDDABLE_COMPONENT,useValue:ME,multi:!0},{provide:Vl,useClass:Vl},{provide:Bl,useClass:Bl},{provide:ip,useClass:ip},{provide:C_,useClass:C_},{provide:VE,useClass:VE},{provide:sk,useClass:sk},{provide:pn.CONTENT_PLUGIN,useFactory:JH,multi:!0,deps:[Vl]},{provide:pn.CONTENT_PLUGIN,useFactory:eq,multi:!0,deps:[Bl]},{provide:pn.CONTENT_PLUGIN,useFactory:tq,multi:!0,deps:[ip]},{provide:pn.CONTENT_PLUGIN,useFactory:nq,multi:!0,deps:[C_]},{provide:pn.CONTENT_PLUGIN,useFactory:rq,multi:!0,deps:[VE]},{provide:xE,useValue:new bE({id:"virtuallist",name:"virtuallist",title:"Virtual List",editorComponent:void 0,renderComponent:hq}),multi:!0},{provide:xE,useFactory:lq,multi:!0,deps:[sk]},{provide:xE,useValue:new bE({id:"table",name:"table",title:"Table",editorComponent:void 0,renderComponent:_q}),multi:!0}],imports:[P.CommonModule,v.FormsModule,v.ReactiveFormsModule,Oi.MaterialModule,oi,sE,dr.RouterModule.forChild(bq),hs,iA.forChild(),EE,gO,Vn.UtilsModule,Hy,Gd,Nt.AttributesModule,y3,EO,o9,DA,Az,aA,wu,uI,Al,GA]}),o}(),wq=function(o){(0,z.Z)(t,o);var n=(0,H.Z)(t);function t(){return(0,f.Z)(this,t),n.apply(this,arguments)}return(0,y.Z)(t)}(fI),Sq=function(){function o(n,t,e){(0,f.Z)(this,o),this.siteName=n,this.es=t,this.router=e,this.routesLoaded=!1}return(0,y.Z)(o,[{key:"panelPageListItemsService",get:function(){return this.es.getEntityCollectionService("PanelPageListItem")}},{key:"isLoaded",value:function(){return this.routesLoaded}},{key:"load",value:function(){var t=this;return this.panelPageListItemsService.getWithQuery("site=".concat(encodeURIComponent('{"term":{"site.keyword":{"value":"'.concat(this.siteName,'"}}}')),"&path=").concat(encodeURIComponent('{"wildcard":{"path.keyword":{"value":"*"}}}'))).pipe((0,Ce.U)(function(e){return e.filter(function(a){return void 0!==a.path&&""!==a.path})}),(0,Ce.U)(function(e){return e.map(function(a){return new ri(a)}).sort(function(a,s){return a.path.split("/").length===s.path.split("/").length?a.path.split("/")[a.path.split("/").length-1]>s.path.split("/")[s.path.split("/").length-1]?-1:1:a.path.split("/").length>s.path.split("/").length?-1:1})}),(0,te.b)(function(e){return e.sort(function(a,s){return a.path.length>s.path.length?1:-1})}),(0,te.b)(function(e){e.forEach(function(a){t.router.config.unshift({matcher:ak(a),component:ME,data:{panelPageListItem:a}}),t.router.config.unshift({matcher:ok(a),component:NE,data:{panelPageListItem:a}})}),t.routesLoaded=!0}),(0,te.b)(function(){return console.log("panels routes loaded")}),(0,Ce.U)(function(){return!0}))}}]),o}(),Eq=function(){function o(n,t,e){(0,f.Z)(this,o),this.siteName=n,this.es=t,this.router=e}return(0,y.Z)(o,[{key:"panelPageListItemsService",get:function(){return this.es.getEntityCollectionService("PanelPageListItem")}},{key:"match",value:function(t){var e=this,a=t.url;-1!==a.indexOf("?")&&(a=t.url.substr(0,a.indexOf("?")));var s="path="+a.substr(1).split("/").reduce(function(u,l,c){return[].concat((0,_.Z)(u),[0===c?"/".concat(l):"".concat(u[c-1],"/").concat(l)])},[]).map(function(u){return e.encodePathComponent(u)}).join("&path=")+"&site=".concat(encodeURIComponent('{"term":{"site.keyword":{"value":"'.concat(this.siteName,'"}}}')));return this.panelPageListItemsService.getWithQuery(s).pipe((0,si.K)(function(u){return(0,Le.of)([])}),(0,Ce.U)(function(u){return u.reduce(function(l,c){return void 0===l||l.path.split("/").length<c.path.split("/").length?c:l},void 0)}),(0,Ce.U)(function(u){return!!u||t.url.indexOf("pages")>-1}))}},{key:"encodePathComponent",value:function(t){return'{"term":{"path.keyword":{"value":"'.concat(t,'"}}}')}}]),o}(),Pq=function(){function o(n,t,e){(0,f.Z)(this,o),this.siteName=n,this.es=t,this.router=e}return(0,y.Z)(o,[{key:"panelPageListItemsService",get:function(){return this.es.getEntityCollectionService("PanelPageListItem")}},{key:"redirect",value:function(t,e){var a=this;if(e.url.indexOf("pages")>-1)console.log("redirect: ".concat(e.url)),this.router.navigateByUrl(e.url);else{var s=e.url;-1!==s.indexOf("?")&&(s=e.url.substr(0,s.indexOf("?")));var u="path="+s.substr(1).split("/").reduce(function(l,c,h){return[].concat((0,_.Z)(l),[0===h?"/".concat(c):"".concat(l[h-1],"/").concat(c)])},[]).map(function(l){return a.encodePathComponent(l)}).join("&path=")+"&site=".concat(encodeURIComponent('{"term":{"site.keyword":{"value":"'.concat(this.siteName,'"}}}')));this.panelPageListItemsService.getWithQuery(u).pipe((0,Ce.U)(function(l){return l.reduce(function(c,h){return void 0===c||c.path.split("/").length<h.path.split("/").length?h:c},void 0)}),(0,Ce.U)(function(l){var c=e.url.substr(1).split("/").slice(l.path.split("/").length-1).join("/");return[l,c]})).subscribe(function(l){(0,g.Z)(l,2),a.router.navigate(["reload"])})}}},{key:"encodePathComponent",value:function(t){return'{"term":{"path.keyword":{"value":"'.concat(t,'"}}}')}}]),o}(),kq=function(){var o=(0,y.Z)(function n(t,e,a,s){(0,f.Z)(this,n),t.register(function(n,t,e){var a=new Sq(n,t,e),s=new Eq(n,t,e),u=new Pq(n,t,e);return new wq({id:"panels",title:"Panels",loadingStrategy:a,matchingStrategy:s,redirectHandler:u})}(a,s,e))});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(mI),r.\u0275\u0275inject(dr.Router),r.\u0275\u0275inject(Vn.SITE_NAME),r.\u0275\u0275inject(Dr))},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({imports:[P.CommonModule]}),o}(),XO=function(){var o=function(){function n(t,e){var a=this;(0,f.Z)(this,n),this.fb=t,this.controlContainer=e,this.context$=new U.X(void 0),this.formGroup=this.fb.group({value:this.fb.control("",[v.Validators.required])}),this.stateCtrl=this.fb.control(""),this.stateCtrlSub=this.stateCtrl.valueChanges.pipe((0,Ar.b)(250),(0,xu.x)(),(0,Q.h)(function(s){try{return JSON.parse(s),!0}catch{return!1}}),(0,Ce.U)(function(s){return JSON.parse(s)})).subscribe(function(s){console.log("write state"),console.log(s),a.formGroup.get("value").setValue(s)}),this.onTouched=function(){}}return(0,y.Z)(n,[{key:"context",set:function(e){this.context$.next(e)}},{key:"ngOnInit",value:function(){var e=this;this.context$.subscribe(function(a){e.stateCtrl.setValue(a?JSON.stringify(a.data.value):"")})}},{key:"writeValue",value:function(e){e&&this.formGroup.setValue(e,{emitEvent:!1})}},{key:"registerOnChange",value:function(e){this.formGroup.valueChanges.subscribe(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){e?this.formGroup.disable():this.formGroup.enable()}},{key:"validate",value:function(e){return this.formGroup.valid?null:{invalidForm:{valid:!1,message:"source is invalid"}}}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(v.ControlContainer))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-context-state-form"]],inputs:{context:"context"},features:[r.\u0275\u0275ProvidersFeature([{provide:v.NG_VALUE_ACCESSOR,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0},{provide:v.NG_VALIDATORS,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0}])],decls:2,vars:2,consts:[[3,"formGroup"],["cols","40","rows","20","required","",3,"formControl"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"div",0),r.\u0275\u0275element(1,"textarea",1),r.\u0275\u0275elementEnd()),2&t&&(r.\u0275\u0275property("formGroup",e.formGroup),r.\u0275\u0275advance(1),r.\u0275\u0275property("formControl",e.stateCtrl))},dependencies:[v.DefaultValueAccessor,v.NgControlStatus,v.NgControlStatusGroup,v.RequiredValidator,v.FormControlDirective,v.FormGroupDirective]}),o}(),Rq=function(){var o=function(){function n(t,e){(0,f.Z)(this,n),this.fb=t,this.controlContainer=e}return(0,y.Z)(n,[{key:"ngOnInit",value:function(){this.controlContainer.control.addControl("adaptor",this.fb.control("data",v.Validators.required)),this.controlContainer.control.addControl("data",this.fb.control(""))}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(v.ControlContainer))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-context-state-editor"]],viewQuery:function(t,e){var a;1&t&&r.\u0275\u0275viewQuery(XO,7),2&t&&r.\u0275\u0275queryRefresh(a=r.\u0275\u0275loadQuery())&&(e.contextStateFormComp=a.first)},inputs:{context:"context"},decls:2,vars:2,consts:[[3,"formGroup"],["formControlName","data",3,"context"]],template:function(t,e){1&t&&(r.\u0275\u0275elementContainerStart(0,0),r.\u0275\u0275element(1,"classifieds-ui-context-state-form",1),r.\u0275\u0275elementContainerEnd()),2&t&&(r.\u0275\u0275property("formGroup",e.controlContainer.control),r.\u0275\u0275advance(1),r.\u0275\u0275property("context",e.context))},dependencies:[v.NgControlStatus,v.NgControlStatusGroup,v.FormGroupDirective,v.FormControlName,XO]}),o}(),QO=function(){var o=function(){function n(t,e){(0,f.Z)(this,n),this.attributeSerializer=t,this.es=e}return(0,y.Z)(n,[{key:"entityCollectionService",get:function(){return this.es.getEntityCollectionService("GlobalState")}},{key:"resolve",value:function(e,a,s){var u=this;console.log("hookup globalstate"),console.log(a);var T,h=s&&s.has("name")&&s.get("name")&&null!==s.get("name")&&""!==s.get("name")?s.get("name"):void 0;return h?this.entityCollectionService.collection$.pipe((0,Bt.Ys)((T=h,(0,Bt.P1)(function(T){return T.entities},function(N){return N[T]?N[T]:void 0}))),(0,Ce.U)(function(C){return C?u.attributeSerializer.deserialize(C.value):a.value?a.value:{}}),(0,Ce.U)(function(C){return C.root?C.root:C}),(0,te.b)(function(C){console.log("resolve globalstate"),console.log(C)})):(0,Le.of)(a.value?a.value:{}).pipe((0,te.b)(function(C){console.log("resolve default globalstate"),console.log(C)}))}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Nt.AttributeSerializerService),r.\u0275\u0275inject(Dr))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),Dq=(0,y.Z)(function o(n){(0,f.Z)(this,o),n&&(this.id=n.id,this.value=new Nt.AttributeValue(n.value))}),Oq={GlobalState:{entityName:"GlobalState"}},Fq=function(){var o=(0,y.Z)(function n(t,e,a,s,u,l,c){(0,f.Z)(this,n),t.registerMetadataMap(Oq),e.registerService("GlobalState",new Vn.NoopDataService("GlobalState")),a.register(function(n){var t=new Nt.AttributeValue;return new Fs({id:"state",name:"state",title:"State",baseObject:t,resolver:n,editorComponent:Rq})}(c)),l.register(function(n,t){return new r_({id:"state",title:"State",build:function(){kl.prototype.writeState=function(a){return new Promise(function(s){n.getEntityCollectionService("GlobalState").upsert(new Dq({id:a.id,value:t.serialize(a.value,"root")})).pipe((0,te.b)(function(l){return s(l)})).subscribe()})}}})}(s,u))});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Qi),r.\u0275\u0275inject(al),r.\u0275\u0275inject(Su),r.\u0275\u0275inject(Dr),r.\u0275\u0275inject(Nt.AttributeSerializerService),r.\u0275\u0275inject(Ud),r.\u0275\u0275inject(QO))},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({providers:[QO],imports:[P.CommonModule,v.FormsModule,v.ReactiveFormsModule]}),o}(),Mq=S(14382);function Na(o){return new Promise(function(n,t){o.oncomplete=o.onsuccess=function(){return n(o.result)},o.onabort=o.onerror=function(){return t(o.error)}})}function Ao(){return uk||(uk=function Vq(o,n){var t=indexedDB.open(o);t.onupgradeneeded=function(){return t.result.createObjectStore(n)};var e=Na(t);return function(a,s){return e.then(function(u){return s(u.transaction(n,a).objectStore(n))})}}("keyval-store","keyval")),uk}function YO(o,n){return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ao())("readwrite",function(e){return e.put(n,o),Na(e.transaction)})}var jq=function(n){return new Kd({id:"idb_keyval",title:"Idb Keyval",create:function(e){var a=e.object,s=e.identity,u=e.params,l=e.parentObject;return(0,Le.of)({success:!1}).pipe((0,st.w)(function(){return s({object:a,parentObject:l}).pipe((0,Ce.U)(function(c){return{identity:c.identity}}))}),(0,st.w)(function(c){var h=c.identity;return u&&0!==Object.keys(u).length?(0,$n.D)(Object.keys(u).map(function(C){return n.paramValue(u[C],new Map).pipe((0,Ce.U)(function(T){return(0,d.Z)({},C,T)}))})).pipe((0,Ce.U)(function(C){return C.reduce(function(T,N){return(0,b.Z)((0,b.Z)({},T),N)},{})}),(0,Ce.U)(function(C){return{identity:h,options:C}})):(0,Le.of)({identity:h,options:{}})}),(0,Ce.U)(function(c){return{name:c.options.prefix+c.identity}}),(0,st.w)(function(c){var h=c.name;return new W.y(function(C){YO(h,a).then(function(T){console.log("idb write suceeded"),console.log(T),C.next({success:!0}),C.complete()}).catch(function(T){console.log("idb write failed"),console.log(T),C.next({success:!1}),C.complete()})})}))},read:function(e){return Qa(e),(0,Le.of)({success:!1})},update:function(e){var a=e.object,s=e.identity,u=e.params,l=e.parentObject;return(0,Le.of)({success:!1}).pipe((0,st.w)(function(){return s({object:a,parentObject:l}).pipe((0,Ce.U)(function(c){return{identity:c.identity}}))}),(0,st.w)(function(c){var h=c.identity;return u&&0!==Object.keys(u).length?(0,$n.D)(Object.keys(u).map(function(C){return n.paramValue(u[C],new Map).pipe((0,Ce.U)(function(T){return(0,d.Z)({},C,T)}))})).pipe((0,Ce.U)(function(C){return C.reduce(function(T,N){return(0,b.Z)((0,b.Z)({},T),N)},{})}),(0,Ce.U)(function(C){return{identity:h,options:C}})):(0,Le.of)({identity:h,options:{}})}),(0,Ce.U)(function(c){return{name:c.options.prefix+c.identity}}),(0,st.w)(function(c){var h=c.name;return new W.y(function(C){YO(h,a).then(function(T){console.log("idb write suceeded"),console.log(T),C.next({success:!0}),C.complete()}).catch(function(T){console.log("idb write failed"),console.log(T),C.next({success:!1}),C.complete()})})}))},delete:function(e){return Qa(e),(0,Le.of)({success:!1})},query:function(e){var a=e.params,s=e.rule,u=e.identity;return n.paramValues(new Map(Object.keys(a).map(function(l){return[l,a[l]]}))).pipe((0,st.w)(function(l){return new W.y(function(c){(function Lq(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ao())("readonly",function(n){if(n.getAllKeys)return Na(n.getAllKeys());var t=[];return function lk(o,n){return o.openCursor().onsuccess=function(){this.result&&(n(this.result),this.result.continue())},Na(o.transaction)}(n,function(e){return t.push(e.key)}).then(function(){return t})})})().then(function(h){return h.filter(function(C){return 0==="".concat(C).indexOf(l.get("prefix"))})}).then(function(h){return function Zq(o){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ao())("readonly",function(t){return Promise.all(o.map(function(e){return Na(t.get(e))}))})}(h)}).then(function(h){c.next({entities:h,success:!0}),c.complete()})})}),(0,st.w)(function(l){return s?new W.y(function(c){var h=new qd.Engine;h.addOperator("startsWith",function(C,T){return"string"==typeof T&&"string"==typeof C&&0===T.indexOf(C)}),h.addOperator("term||wildcard",function(C,T){var N=JSON.parse(decodeURIComponent(T)),F=(0,Ms.JSONPath)({path:"$.term.*.value.@string()",json:N,flatten:!0});return void 0!==N.wildcard||N.term&&0!==F.lengh&&F[0]===C}),h.addRule(s),h.addFact("identity",function(C,T){return new W.y(function(N){T.factValue("entity").then(function(F){return u({object:F}).pipe((0,Ce.U)(function($){return $.identity})).toPromise()}).then(function(F){N.next(F),N.complete()})}).toPromise()},{cache:!1}),Le.of.apply(void 0,(0,_.Z)(l.entities)).pipe((0,Zi.b)(function(C){return new W.y(function(T){h.removeFact("entity"),h.addFact("entity",C,{cache:!1}),h.run().then(function(N){T.next([C,N.events.findIndex(function(F){return"visible"===F.type})>-1]),T.complete()})})}),(0,Q.h)(function(C){return(0,g.Z)(C,2)[1]}),(0,Ce.U)(function(C){return(0,g.Z)(C,1)[0]}),function Nq(o,n){return(0,gs.e)((0,Mq.U)(o,n,arguments.length>=2,!1,!0))}(function(C,T){return[].concat((0,_.Z)(C),[T])},[]),(0,fi.d)([])).subscribe(function(C){c.next((0,b.Z)((0,b.Z)({},l),{},{entities:C})),c.complete()})}):(0,Le.of)(l)}))}})},Uq=function(){var o=(0,y.Z)(function n(t,e){(0,f.Z)(this,n),t.register(jq(e))});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Pu),r.\u0275\u0275inject(Ts))},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({imports:[a_]}),o}(),zq=function(){var o=function(){function n(t,e,a,s){(0,f.Z)(this,n),this.authFacade=e,this.router=a,this.title="ipe",this.menuClicked=new r.EventEmitter,(0,P.isPlatformBrowser)(t)&&(bridge=s)}return(0,y.Z)(n,[{key:"ngOnInit",value:function(){var e=this;this.authFacade.getUser$.subscribe(function(a){e.isAuthenticated=!!a})}},{key:"login",value:function(){this.authFacade.login()}},{key:"menuClick",value:function(){this.menuClicked.emit()}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(r.PLATFORM_ID),r.\u0275\u0275directiveInject(_i),r.\u0275\u0275directiveInject(dr.Router),r.\u0275\u0275directiveInject(kl))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["app-root"]],outputs:{menuClicked:"menuClicked"},decls:3,vars:0,consts:[["fxLayout","column","fxFill",""],[1,"outlet-wrapper"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"div",0)(1,"div",1),r.\u0275\u0275element(2,"router-outlet"),r.\u0275\u0275elementEnd()())},dependencies:[Wt,Mo,dr.RouterOutlet],styles:[".outlet-wrapper[_ngcontent-%COMP%]{height:100%}"]}),o}(),Gq=S(10203),ko_production=!1,ko_site="spearhead",ko_apiGatewaySettings={endpointUrl:"https://vertigo.druidcloud.dev/rollthecloudinc/spearhead-objects/shapeshifter"},ko_mediaSettings={endpointUrl:"https://vertigo.druidcloud.dev/spearhead/media",cloudinaryUrl:"https://api.cloudinary.com/v1_1/dj4vvkgzw",uploadPreset:"i0hm4opm",imageUrl:"https://vertigo.druidcloud.dev/spearhead",bucket:"classifieds-ui-dev",prefix:"media/"},ko_cognitoSettings={identityPoolId:"us-east-1:6f5cdc41-35b0-41ca-9f6b-7eca11320942",region:"us-east-1",userPoolId:"us-east-1_z8PhK3D8V"},ko_panelsSettings={openSearchDomain:"search-classifieds-ui-dev-eldczuhq3vesgpjnr3vie6cagq",s3Bucket:"classifieds-ui-dev",objectsRootUrl:"https://rollthecloudinc.github.io/spearhead-objects"},ko_alienaliasSettings={openSearchDomain:"search-classifieds-ui-dev-eldczuhq3vesgpjnr3vie6cagq"},ko_rumSettings={appId:"",guestRoleArn:"",identityPoolId:"",region:""},ko_clientSettings={authority:"https://sso.druidcloud.dev",client_id:"3lkidn79q4jq8nahkecsguleij",redirect_uri:"https://spearhead.druidcloud.dev/auth-callback",silent_redirect_uri:"https://spearhead.druidcloud.dev/silent-refresh.html",response_type:"code",scope:"openid profile aws.cognito.signin.user.admin ads_api/ads_api taxonomy_api/taxonomy_api chat/chat media_api/media_api profiles_api/profiles_api",filterProtocolClaims:!0,loadUserInfo:!0,automaticSilentRenew:!0,stateStore:void 0,userStore:void 0,metadata:{issuer:"https://cognito-idp.us-east-1.amazonaws.com/us-east-1_z8PhK3D8V",authorization_endpoint:"https://sso.druidcloud.dev/oauth2/authorize",userinfo_endpoint:"https://sso.druidcloud.dev/oauth2/userInfo",end_session_endpoint:"https://sso.druidcloud.dev/logout",token_endpoint:"https://sso.druidcloud.dev/oauth2/token",jwks_uri:"https://sso.druidcloud.dev/us-east-1_z8PhK3D8V"},signingKeys:[{alg:"RS256",e:"AQAB",kid:"LFfHKQ51C81E+ByYd/wucwrvfiEnYJQtJvb4GHbalFQ=",kty:"RSA",n:"gijyjUXIzkAPofeaM7JCAsuLHLc_GP3of-NT8ARjSTTMif-wqJeNww4MJkvRYzfL6mL_owVZgD37O4Dd81jBLY6iEyi6hxHYTUuXR7mYkQ2008Fp3m45wztUKWeeNgzsvuR01STkkwmuf7afkQXJUlHts8eT47Dqc4mrKA3vcHYG4vJXmvtjQT-IirkA-yU36TXyd1TPOetdwlmFOcSYfL4CW7ZZfVg1dCvT1T50mO1AaQDMcA8S3fVfROGW36hjiB8r9q5zQrrfBLTMPSVpn85LscVLbYUxJL9yLygiD4UTCXw7Y1hiE2tDL2nmy6PHumylNf8yj5I7N56Kz4cwtQ",use:"sig"},{alg:"RS256",e:"AQAB",kid:"UNTk4hVhUrq0k8uAGvDYs/w0g/iW+b9PweObMbM6S/w=",kty:"RSA",n:"g7Z-JKiovH7ZnwK1o8hsiLf4GfxA9w11RsQK3yQWG3xR__qKbkvxKxhn3Xt5QsUSo8nhiwWtsjUTyVxRO7WJlCjSHGztvYhoYIlwSL8Mqtf3Plg6CrJoDhq7CZDe_TNeQczfBI8k1w5U6n4h5G-e4Fa41nH-qXrDh2L7onTFKSzZDJRCELmh64ur5RmU6kuhwrejwS4YXuz4gKQRcTuDu9AXH7A7cNO5EF_sVRy8hkFtKCPO-mgwJ5S_e5_Y5gleJRpMZnzWmBv_-GpwO5V9XzxBr5s1O9HqyBMXR1pKU_YykeP7PvukEDpyr8UXu-2drzq-oHzXHDInNHjYPLx3BQ",use:"sig"}]},qq={router:function FL(o,n){var t=n;switch(t.type){case oA:case uA:case sA:return{state:t.payload.routerState,navigationId:t.payload.event.id};default:return o}}},Kq=[],JO=(0,y.Z)(function o(n){(0,f.Z)(this,o),n&&(this.query=n.query)}),Wq=function(){var o=function(){function n(t,e){var a=this;(0,f.Z)(this,n),this.fb=t,this.attributeSerializer=e,this.settings$=new U.X(void 0),this.formGroup=this.fb.group({query:this.fb.control("",[v.Validators.required])}),this.settingsSub=this.settings$.pipe((0,Ce.U)(function(s){return s?new JO(a.attributeSerializer.deserializeAsObject(s)):void 0})).subscribe(function(s){s?a.formGroup.get("query").setValue(s.query):a.formGroup.get("query").setValue("")}),this.onTouched=function(){}}return(0,y.Z)(n,[{key:"settings",set:function(e){this.settings$.next(e)}},{key:"ngOnInit",value:function(){}},{key:"writeValue",value:function(e){e&&this.formGroup.setValue(e,{emitEvent:!1})}},{key:"registerOnChange",value:function(e){this.formGroup.valueChanges.subscribe(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){e?this.formGroup.disable():this.formGroup.enable()}},{key:"validate",value:function(e){return this.formGroup.valid?null:{invalidForm:{valid:!1,message:"content is invalid"}}}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(Nt.AttributeSerializerService))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-select-source-form"]],inputs:{settings:"settings"},features:[r.\u0275\u0275ProvidersFeature([{provide:v.NG_VALUE_ACCESSOR,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0},{provide:v.NG_VALIDATORS,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0}])],decls:5,vars:1,consts:[[3,"formGroup"],["matInput","","formControlName","query","required",""]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"div",0)(1,"mat-form-field")(2,"mat-label"),r.\u0275\u0275text(3,"Query"),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(4,"input",1),r.\u0275\u0275elementEnd()()),2&t&&r.\u0275\u0275property("formGroup",e.formGroup)},dependencies:[v.DefaultValueAccessor,v.NgControlStatus,v.NgControlStatusGroup,v.RequiredValidator,v.FormGroupDirective,v.FormControlName,En.MatLegacyFormField,En.MatLegacyLabel,Hr.MatLegacyInput]}),o}(),Xq=function(){var o=(0,y.Z)(function n(t){(0,f.Z)(this,n),this.controlContainer=t,this.settings=[]});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.ControlContainer))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-transform-select"]],inputs:{settings:"settings"},decls:2,vars:2,consts:[[3,"formGroup"],["formControlName","settings",3,"settings"]],template:function(t,e){1&t&&(r.\u0275\u0275elementContainerStart(0,0),r.\u0275\u0275element(1,"classifieds-ui-select-source-form",1),r.\u0275\u0275elementContainerEnd()),2&t&&(r.\u0275\u0275property("formGroup",e.controlContainer.control),r.\u0275\u0275advance(1),r.\u0275\u0275property("settings",e.settings))},dependencies:[v.NgControlStatus,v.NgControlStatusGroup,v.FormGroupDirective,v.FormControlName,Wq],encapsulation:2}),o}(),Qq=function(){var o=function(){function n(){(0,f.Z)(this,n)}return(0,y.Z)(n,[{key:"ngOnInit",value:function(){}}]),n}();return o.\u0275fac=function(t){return new(t||o)},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-transform-merge"]],decls:2,vars:0,template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"p"),r.\u0275\u0275text(1,"transform merge"),r.\u0275\u0275elementEnd())}}),o}(),Yq=function(n){return new ns({id:"select",title:"Select",editor:Xq,fetch:function(e){var a=e.settings,s=e.dataset;return Or(function(){return!!s},(0,Le.of)(s).pipe((0,Ce.U)(function(){return new JO(n.deserializeAsObject(a))}),(0,Ce.U)(function(u){return new pr({results:(0,Ms.JSONPath)({path:u.query,json:s.results})})})),(0,Le.of)(new pr))}})},eK=function(){var o=(0,y.Z)(function n(t,e){(0,f.Z)(this,n),[Yq(e),new ns({id:"merge",title:"Merge",editor:Qq,fetch:function(t){return(0,Le.of)(new pr)}})].forEach(function(a){return t.register(a)})});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(co),r.\u0275\u0275inject(Nt.AttributeSerializerService))},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({imports:[P.CommonModule,v.FormsModule,v.ReactiveFormsModule,Oi.MaterialModule,Al]}),o}(),tK=function(){var o=function(){function n(t,e){var a=this;(0,f.Z)(this,n),this.fb=t,this.attributeSerializer=e,this.contexts=[],this.settings$=new U.X(void 0),this.paramValues$=new U.X([]),this.formGroup=this.fb.group({entityName:this.fb.control(""),queryString:this.fb.control(""),params:this.fb.control([])}),this.settingsSub=this.settings$.pipe((0,Ce.U)(function(s){return s?a.attributeSerializer.deserializeAsObject(s):void 0})).subscribe(function(s){s?(a.formGroup.get("entityName").setValue(s.entityName),a.formGroup.get("queryString").setValue(s.queryString)):(a.formGroup.get("entityName").setValue(""),a.formGroup.get("queryString").setValue(""))}),this.queryStringChangeSub=this.formGroup.get("queryString").valueChanges.pipe((0,Ar.b)(500)).subscribe(function(s){var u=Fa.parse("?"+s);a.paramsParsed=u}),this.onTouched=function(){}}return(0,y.Z)(n,[{key:"settings",set:function(e){this.settings$.next(e)}},{key:"ngOnInit",value:function(){}},{key:"writeValue",value:function(e){e&&this.formGroup.setValue(e,{emitEvent:!1})}},{key:"registerOnChange",value:function(e){this.formGroup.valueChanges.subscribe(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){e?this.formGroup.disable():this.formGroup.enable()}},{key:"validate",value:function(e){return this.formGroup.valid?null:this.formGroup.errors}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(Nt.AttributeSerializerService))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-entity-datasource-form"]],inputs:{contexts:"contexts",settings:"settings"},features:[r.\u0275\u0275ProvidersFeature([{provide:v.NG_VALUE_ACCESSOR,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0},{provide:v.NG_VALIDATORS,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0}])],decls:8,vars:4,consts:[[3,"formGroup"],["matInput","","placeholder","Name","formControlName","entityName","required",""],["matInput","","placeholder","Query String","formControlName","queryString"],["formControlName","params",3,"params","paramValues","contexts"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"div",0)(1,"div")(2,"mat-form-field"),r.\u0275\u0275element(3,"input",1),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(4,"div")(5,"mat-form-field"),r.\u0275\u0275element(6,"input",2),r.\u0275\u0275elementEnd()(),r.\u0275\u0275element(7,"classifieds-ui-params-form",3),r.\u0275\u0275elementEnd()),2&t&&(r.\u0275\u0275property("formGroup",e.formGroup),r.\u0275\u0275advance(7),r.\u0275\u0275property("params",e.paramsParsed)("paramValues",e.paramValues$.value)("contexts",e.contexts))},dependencies:[v.DefaultValueAccessor,v.NgControlStatus,v.NgControlStatusGroup,v.RequiredValidator,v.FormGroupDirective,v.FormControlName,En.MatLegacyFormField,Hr.MatLegacyInput,e_]}),o}(),eF=function(){var o=(0,y.Z)(function n(t){(0,f.Z)(this,n),this.controlContainer=t,this.settings=[],this.contexts=[]});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.ControlContainer))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-entity-datasource"]],inputs:{settings:"settings",contexts:"contexts"},decls:2,vars:3,consts:[[3,"formGroup"],["formControlName","settings",3,"settings","contexts"]],template:function(t,e){1&t&&(r.\u0275\u0275elementContainerStart(0,0),r.\u0275\u0275element(1,"classifieds-ui-entity-datasource-form",1),r.\u0275\u0275elementContainerEnd()),2&t&&(r.\u0275\u0275property("formGroup",e.controlContainer.control),r.\u0275\u0275advance(1),r.\u0275\u0275property("settings",e.settings)("contexts",e.contexts))},dependencies:[v.NgControlStatus,v.NgControlStatusGroup,v.FormGroupDirective,v.FormControlName,tK],encapsulation:2}),o}(),tF=(0,y.Z)(function o(n){(0,f.Z)(this,o),this.params=[],n&&(this.entityName=n.entityName,this.queryString=n.queryString?n.queryString:"",n.params&&Array.isArray(n.params)&&(this.params=n.params.map(function(t){return new Mi(t)})))}),iK=function(){var o=(0,y.Z)(function n(t,e,a,s,u,l){(0,f.Z)(this,n),t.register(function(n,t,e,a){return new ns({id:"entity",title:"Entity",editor:eF,fetch:function(u){var l=u.settings,c=u.metadata;return(0,Le.of)(new pr).pipe((0,Ce.U)(function(){return t.deserializeAsObject(l)}),(0,Ce.U)(function(h){return new tF(h)}),(0,st.w)(function(h){return e.getUrl("?"+h.queryString,h.params,c).pipe((0,Ce.U)(function(C){return{e:h,queryString:C}}))}),(0,Ce.U)(function(h){return{e:h.e,queryString:h.queryString.substr(1)}}),(0,st.w)(function(h){var C=h.e,T=h.queryString;return T&&""!==T?a.getEntityCollectionService(C.entityName).getWithQuery(T):a.getEntityCollectionService(C.entityName).getAll()}),(0,Ce.U)(function(h){return new pr({results:h})}))},editorOptions:function(){return(0,Le.of)(new hE({fullscreen:!0}))},getBindings:function(u){var l=u.settings;return(0,Le.of)([]).pipe((0,Ce.U)(function(){return t.deserializeAsObject(l)}),(0,Ce.U)(function(h){return new tF(h)}),(0,st.w)(function(h){return n.extractContexts(h.params)}),(0,Ce.U)(function(h){return h.map(function(C){return new pn.ContentBinding({id:C,type:"context"})})}))}})}(a,s,u,l)),e.register(new vI({id:"entity",title:"Entity",editor:eF,send:function(t){return(0,Le.of)(new _A({}))}}))});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(co),r.\u0275\u0275inject(gE),r.\u0275\u0275inject(yA),r.\u0275\u0275inject(Nt.AttributeSerializerService),r.\u0275\u0275inject(n_),r.\u0275\u0275inject(Dr))},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({imports:[P.CommonModule,v.ReactiveFormsModule,v.FormsModule,Oi.MaterialModule,Gd,wu]}),o}(),aK=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.fb=t,this.contexts=[],this.settings$=new U.X(void 0),this.datasource$=new U.X(void 0),this.formGroup=this.fb.group({}),this.onTouched=function(){}}return(0,y.Z)(n,[{key:"settings",set:function(e){this.settings$.next(e)}},{key:"ngOnInit",value:function(){}},{key:"writeValue",value:function(e){e&&this.formGroup.setValue(e,{emitEvent:!1})}},{key:"registerOnChange",value:function(e){this.formGroup.valueChanges.subscribe(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){e?this.formGroup.disable():this.formGroup.enable()}},{key:"validate",value:function(e){return this.formGroup.valid?null:this.formGroup.errors}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.UntypedFormBuilder))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-loop-datasource-form"]],inputs:{contexts:"contexts",settings:"settings"},features:[r.\u0275\u0275ProvidersFeature([{provide:v.NG_VALUE_ACCESSOR,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0},{provide:v.NG_VALIDATORS,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0}])],decls:1,vars:1,consts:[[3,"formGroup"]],template:function(t,e){1&t&&r.\u0275\u0275element(0,"div",0),2&t&&r.\u0275\u0275property("formGroup",e.formGroup)},dependencies:[v.NgControlStatusGroup,v.FormGroupDirective]}),o}(),oK=function(){var o=(0,y.Z)(function n(t){(0,f.Z)(this,n),this.controlContainer=t,this.settings=[],this.contexts=[]});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.ControlContainer))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-loop-datasource"]],inputs:{settings:"settings",contexts:"contexts"},decls:2,vars:3,consts:[[3,"formGroup"],["formControlName","settings",3,"settings","contexts"]],template:function(t,e){1&t&&(r.\u0275\u0275elementContainerStart(0,0),r.\u0275\u0275element(1,"classifieds-ui-loop-datasource-form",1),r.\u0275\u0275elementContainerEnd()),2&t&&(r.\u0275\u0275property("formGroup",e.controlContainer.control),r.\u0275\u0275advance(1),r.\u0275\u0275property("settings",e.settings)("contexts",e.contexts))},dependencies:[v.NgControlStatus,v.NgControlStatusGroup,v.FormGroupDirective,v.FormControlName,aK],encapsulation:2}),o}(),sK=(0,y.Z)(function o(n){(0,f.Z)(this,o)}),uK=function(n,t){return new ns({id:"loop",title:"loop",editor:oK,fetch:function(a){var s=a.settings,u=a.dataset,l=a.datasource,c=a.metadata,h=a.datasources;return(0,Le.of)(new pr).pipe((0,Ce.U)(function(){return n.deserializeAsObject(s)}),(0,Ce.U)(function(C){return C?new sK(C):void 0}),(0,st.w)(function(C){return(0,$n.D)(u?u.results.map(function(T){return t.evalDatasource({datasource:new Pl({plugin:"data",renderer:l.renderer,settings:n.serialize({data:JSON.stringify(u.results)},"root").attributes}),datasources:h,metadata:new Map([].concat((0,_.Z)(c?Array.from(c).filter(function(N){return"contexts"!==(0,g.Z)(N,1)[0]}):[]),[["contexts",[].concat((0,_.Z)(c.has("contexts")&&Array.isArray(c.get("contexts"))?c.get("contexts").filter(function(N){return"_root"!==N.name}):[]),[new la({name:"_root",adaptor:"data",data:T})])]]))}).pipe((0,An.q)(1))}):[]).pipe((0,Ce.U)(function(T){return new pr({results:T.reduce(function(N,F){return[].concat((0,_.Z)(N),(0,_.Z)(F.results))},[])})}),(0,fi.d)(new pr({results:[]})))}))}})},lK=function(){var o=(0,y.Z)(function n(t,e,a){(0,f.Z)(this,n),[uK(e,a)].forEach(function(s){return t.register(s)})});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(co),r.\u0275\u0275inject(Nt.AttributeSerializerService),r.\u0275\u0275inject(sI))},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({imports:[P.CommonModule,v.ReactiveFormsModule,Oi.MaterialModule,Gd,Al]}),o}();function cK(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"mat-option",6),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&o){var t=n.$implicit;r.\u0275\u0275property("value",t.value.id),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(t.value.title)}}function dK(o,n){}function pK(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"div"),r.\u0275\u0275element(1,"druid-ordain-validation-validator",4),r.\u0275\u0275elementStart(2,"button",3),r.\u0275\u0275listener("click",function(){var l=r.\u0275\u0275restoreView(t).index,c=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(c.deleteValidator$.next(l))}),r.\u0275\u0275text(3,"Delete"),r.\u0275\u0275elementEnd()()}if(2&o){var e=n.index,a=r.\u0275\u0275nextContext();r.\u0275\u0275advance(1),r.\u0275\u0275property("formControlName",e)("validation",a.validation$.value.validators[e])}}var Ls=function(o){(0,z.Z)(t,o);var n=(0,H.Z)(t);function t(e){var a;return(0,f.Z)(this,t),a=n.call(this,e),e&&(a.editor=e.editor,a.errorMessage=e.errorMessage,a.builder=e.builder),a}return(0,y.Z)(t)}(Rn.Plugin),fK=(0,y.Z)(function o(n){(0,f.Z)(this,o),n&&(this.name=n.name,this.validator=n.validator,this.overrideErrorMessage=n.overrideErrorMessage,n.paramSettings&&"string"!=typeof n.paramSettings&&(this.paramSettings=new mK(n.paramSettings)))}),mK=(0,y.Z)(function o(n){(0,f.Z)(this,o),this.params=[],n&&(this.paramsString=n.paramsString,n.params&&Array.isArray(n.params)&&(this.params=n.params.map(function(t){return new Mi(t)})))}),w_=(0,y.Z)(function o(n){(0,f.Z)(this,o),n&&Array.isArray(n.validators)&&(this.validators=n.validators.map(function(t){return new fK(t)}))}),nF=function(){var o=(0,y.Z)(function n(t){(0,f.Z)(this,n),this.viewContainerRef=t});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(r.ViewContainerRef))},o.\u0275dir=r.\u0275\u0275defineDirective({type:o,selectors:[["","druidValidationRendererHost",""]]}),o}(),hK=function(){var o=function(){function n(t){var e=this;(0,f.Z)(this,n),this.fb=t,this.contexts=[],this.settings$=new U.X(void 0),this.afterViewInit$=new ae.x,this.paramValues$=new U.X([]),this.formGroup=this.fb.group({paramsString:this.fb.control(""),params:this.fb.control([])}),this.paramsStringChangeSub=this.formGroup.get("paramsString").valueChanges.pipe((0,Ar.b)(500)).subscribe(function(a){var s=Fa.parse("?"+a);e.paramsParsed=s}),this.settingsSub=this.settings$.pipe((0,te.b)(function(a){a&&e.formGroup.get("paramsString").setValue(a.paramsString?a.paramsString:"")})).subscribe(),this.settingsParamsSub=(0,Sr.a)([this.settings$,this.formGroup.get("paramsString").valueChanges]).pipe((0,Q.h)(function(a){return void 0!==(0,g.Z)(a,1)[0]}),(0,Rr.g)(1),(0,te.b)(function(a){var s=(0,g.Z)(a,1);return e.paramValues$.next(s[0].params)})).subscribe(),this.onTouched=function(){}}return(0,y.Z)(n,[{key:"settings",set:function(e){this.settings$.next(e)}},{key:"writeValue",value:function(e){e&&this.formGroup.setValue(e,{emitEvent:!1})}},{key:"registerOnChange",value:function(e){this.formGroup.valueChanges.subscribe(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){e?this.formGroup.disable():this.formGroup.enable()}},{key:"validate",value:function(e){return this.formGroup.valid?null:this.formGroup.errors}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.UntypedFormBuilder))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["druid-ordain-validation-params-editor-form"]],inputs:{contexts:"contexts",settings:"settings"},features:[r.\u0275\u0275ProvidersFeature([{provide:v.NG_VALUE_ACCESSOR,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0},{provide:v.NG_VALIDATORS,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0}])],decls:6,vars:4,consts:[[3,"formGroup"],[1,"params-container"],["matInput","","placeholder","Params","formControlName","paramsString"],["formControlName","params",3,"params","paramValues","contexts"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"div")(3,"mat-form-field"),r.\u0275\u0275element(4,"input",2),r.\u0275\u0275elementEnd()(),r.\u0275\u0275element(5,"classifieds-ui-params-form",3),r.\u0275\u0275elementEnd()()),2&t&&(r.\u0275\u0275property("formGroup",e.formGroup),r.\u0275\u0275advance(5),r.\u0275\u0275property("params",e.paramsParsed)("paramValues",e.paramValues$.value)("contexts",e.contexts))},dependencies:[v.DefaultValueAccessor,v.NgControlStatus,v.NgControlStatusGroup,v.FormGroupDirective,v.FormControlName,En.MatLegacyFormField,Hr.MatLegacyInput,e_]}),o}(),js=function(){var o=(0,y.Z)(function n(t){(0,f.Z)(this,n),this.controlContainer=t,this.settings=[],this.contexts=[]});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.ControlContainer))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["druid-ordain-validation-params-editor"]],inputs:{settings:"settings",contexts:"contexts"},decls:2,vars:3,consts:[[3,"formGroup"],["formControlName","paramSettings",3,"settings","contexts"]],template:function(t,e){1&t&&(r.\u0275\u0275elementContainerStart(0,0),r.\u0275\u0275element(1,"druid-ordain-validation-params-editor-form",1),r.\u0275\u0275elementContainerEnd()),2&t&&(r.\u0275\u0275property("formGroup",e.controlContainer.control),r.\u0275\u0275advance(1),r.\u0275\u0275property("settings",e.settings)("contexts",e.contexts))},dependencies:[v.NgControlStatus,v.NgControlStatusGroup,v.FormGroupDirective,v.FormControlName,hK],encapsulation:2}),o}(),gK=function(){function o(n,t){(0,f.Z)(this,o),this.pluginManager=n,this.formsValidationUtils=t}return(0,y.Z)(o,[{key:"loadPlugins",value:function(t){var e=this;return(0,Le.of)(!1).pipe((0,te.b)(function(){return e.pluginManager.register(e.makeRequired())}),(0,te.b)(function(){return e.pluginManager.register(e.makeRequiredTrue())}),(0,te.b)(function(){e.pluginManager.register(e.makeMin()),e.pluginManager.register(e.makeMax()),e.pluginManager.register(e.makeMinLength()),e.pluginManager.register(e.makeMaxLength())}),(0,Ce.U)(function(){return e.pluginManager.register(e.makeEmail())}),(0,Ce.U)(function(){return e.pluginManager.register(e.makePattern())}),(0,Ce.U)(function(){return e.pluginManager.register(e.nullValidator())}),(0,Ce.U)(function(){return!0}))}},{key:"makeRequired",value:function(){var t=this;return new Ls({id:"required",title:"Required",errorMessage:"Field is required",editor:js,builder:function(a){var s=a.serialized;return(0,Le.of)(function(u){return(0,Le.of)(v.Validators.required(t.formsValidationUtils.rebuildControl({c:u,serialized:s})))})}})}},{key:"makeRequiredTrue",value:function(){var t=this;return new Ls({id:"required_true",title:"Required True",errorMessage:"Field is required",editor:js,builder:function(a){var s=a.serialized;return(0,Le.of)(function(u){return(0,Le.of)(v.Validators.requiredTrue(t.formsValidationUtils.rebuildControl({c:u,serialized:s})))})}})}},{key:"makeEmail",value:function(){var t=this;return new Ls({id:"email",title:"Email",errorMessage:"Invalid email",editor:js,builder:function(a){var s=a.serialized;return(0,Le.of)(function(u){return(0,Le.of)(v.Validators.email(t.formsValidationUtils.rebuildControl({c:u,serialized:s})))})}})}},{key:"nullValidator",value:function(){var t=this;return new Ls({id:"null",title:"Null",errorMessage:"nota",editor:js,builder:function(a){var s=a.serialized;return(0,Le.of)(function(u){return(0,Le.of)(v.Validators.nullValidator(t.formsValidationUtils.rebuildControl({c:u,serialized:s})))})}})}},{key:"makeMin",value:function(){var t=this;return new Ls({id:"min",title:"Min",errorMessage:"Field min [.min]",editor:js,builder:function(a){var s=a.v,u=a.serialized;return(0,Le.of)(function(l){return t.formsValidationUtils.resolveParams({v:s}).pipe((0,Ce.U)(function(c){return v.Validators.min(+c.min)(t.formsValidationUtils.rebuildControl({c:l,serialized:u}))}))})}})}},{key:"makeMax",value:function(){var t=this;return new Ls({id:"max",title:"Max",errorMessage:"Field max [.max]",editor:js,builder:function(a){var s=a.v,u=a.serialized;return(0,Le.of)(function(l){return t.formsValidationUtils.resolveParams({v:s}).pipe((0,Ce.U)(function(c){return v.Validators.max(+c.max)(t.formsValidationUtils.rebuildControl({c:l,serialized:u}))}))})}})}},{key:"makeMinLength",value:function(){var t=this;return new Ls({id:"min_length",title:"Min Length",errorMessage:"minimum of [.min] characters",editor:js,builder:function(a){var s=a.v,u=a.serialized;return(0,Le.of)(function(l){return t.formsValidationUtils.resolveParams({v:s}).pipe((0,Ce.U)(function(c){return v.Validators.minLength(+c.minLength)(t.formsValidationUtils.rebuildControl({c:l,serialized:u}))}))})}})}},{key:"makeMaxLength",value:function(){var t=this;return new Ls({id:"max_length",title:"Max Length",errorMessage:"Maximum of [.max] characters",editor:js,builder:function(a){var s=a.v,u=a.serialized;return(0,Le.of)(function(l){return t.formsValidationUtils.resolveParams({v:s}).pipe((0,Ce.U)(function(c){return v.Validators.maxLength(+c.maxLength)(t.formsValidationUtils.rebuildControl({c:l,serialized:u}))}))})}})}},{key:"makePattern",value:function(){var t=this;return new Ls({id:"pattern",title:"Pattern",errorMessage:"Must match pattern",editor:js,builder:function(a){var s=a.v,u=a.serialized;return(0,Le.of)(function(l){return t.formsValidationUtils.resolveParams({v:s}).pipe((0,Ce.U)(function(c){return v.Validators.pattern(new RegExp(c.pattern))(t.formsValidationUtils.rebuildControl({c:l,serialized:u}))}))})}})}}]),o}(),vK=function(){var o=function(){function n(t,e){(0,f.Z)(this,n),this.paramEvaluatorService=t,this.attributesSerializerService=e}return(0,y.Z)(n,[{key:"resolveParams",value:function(e){var a=this,s=e.v;return(0,Le.of)({}).pipe((0,Ce.U)(function(){return{paramNames:s.paramSettings.paramsString?s.paramSettings.paramsString.split("&").filter(function(u){return-1!==u.indexOf("=:")}).map(function(u){return u.split("=",2)[1].substr(1)}):[]}}),(0,st.w)(function(u){var l=u.paramNames;return a.paramEvaluatorService.paramValues(s.paramSettings.params.reduce(function(c,h,C){return new Map([].concat((0,_.Z)(c),[[l[C],h]]))},new Map)).pipe((0,Ce.U)(function(c){return Array.from(c).reduce(function(h,C){var T=(0,g.Z)(C,2),N=T[0],F=T[1];return(0,b.Z)((0,b.Z)({},h),{},(0,d.Z)({},N,F))},{})}))}))}},{key:"rebuildControl",value:function(e){var a=e.c;return e.serialized?new v.UntypedFormControl(this.attributesSerializerService.deserializeAsObject(a.value).value):a}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Ts),r.\u0275\u0275inject(Nt.AttributeSerializerService))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),Va=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(a,s,u){var l;return(0,f.Z)(this,e),(l=t.call(this,s,u)).addDiscovery(new gK((0,gt.Z)(l),a)),l}return(0,y.Z)(e,[{key:"pluginDef",value:function(){return(0,Le.of)(new Rn.PluginDef({name:"validation"}))}},{key:"discovery",value:function(){(0,Et.Z)((0,Ee.Z)(e.prototype),"discovery",this).call(this)}}]),e}(Rn.BasePluginManager);return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(vK),r.\u0275\u0275inject(Rn.PluginConfigurationManager),r.\u0275\u0275inject(Vn.ModuleLoaderService))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),yK=function(){var o=function(){function n(t,e,a){var s=this;(0,f.Z)(this,n),this.fb=t,this.vpm=e,this.componentFactoryResolver=a,this.contexts=[],this.settings$=new U.X(void 0),this.formGroup=this.fb.group({name:this.fb.control("",[v.Validators.required]),validator:this.fb.control("",[v.Validators.required]),overrideErrorMessage:this.fb.control(""),paramSettings:this.fb.control("")}),this.validationPlugins$=this.vpm.getPlugins(),this.componentRef$=new U.X(void 0),this.afterViewInit$=new ae.x,this.onInit$=new ae.x,this.validation$=new U.X(void 0),this.validatorChangeSub=this.formGroup.get("validator").valueChanges.pipe((0,te.b)(function(u){console.log("validator change",u)})).subscribe(),this.validatorSub=(0,Sr.a)([this.formGroup.get("validator").valueChanges,this.afterViewInit$]).pipe((0,Ce.U)(function(u){return(0,g.Z)(u,1)[0]}),(0,st.w)(function(u){return u&&""!==u?s.vpm.getPlugin(u):(0,Le.of)(void 0)}),(0,te.b)(function(u){u&&s.renderValidation(u)})).subscribe(),this.validationSub=this.validation$.pipe((0,te.b)(function(u){u?(s.formGroup.get("name").setValue(u.name),s.formGroup.get("validator").setValue(u.validator),s.formGroup.get("overrideErrorMessage").setValue(u.overrideErrorMessage),setTimeout(function(){return s.formGroup.get("paramSettings").setValue(u.paramSettings)})):(s.formGroup.get("name").setValue(""),s.formGroup.get("overrideErrorMessage").setValue(""),s.formGroup.get("validator").setValue(""))})).subscribe(),this.contextForwardingSub=this.componentRef$.pipe((0,Q.h)(function(u){return!!u})).subscribe(function(u){u.instance.contexts=s.contexts,u.instance.settings=s.validation$.value?s.validation$.value.paramSettings:void 0}),this.onTouched=function(){}}return(0,y.Z)(n,[{key:"validation",set:function(e){this.validation$.next(e)}},{key:"ngOnInit",value:function(){this.onInit$.next(void 0),this.onInit$.complete()}},{key:"ngAfterViewInit",value:function(){this.afterViewInit$.next(void 0),this.afterViewInit$.complete()}},{key:"writeValue",value:function(e){e&&this.formGroup.setValue((0,b.Z)((0,b.Z)({},e),{},{settings:e.settings?e.settings:""}),{emitEvent:!1})}},{key:"registerOnChange",value:function(e){this.formGroup.valueChanges.subscribe(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){e?this.formGroup.disable():this.formGroup.enable()}},{key:"validate",value:function(e){return this.formGroup.valid?null:{invalidForm:{valid:!1,message:"content is invalid"}}}},{key:"renderValidation",value:function(e){var a=this.componentFactoryResolver.resolveComponentFactory(e.editor),s=this.validationHost.viewContainerRef;s.clear(),this.componentRef$.next(s.createComponent(a))}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(Va),r.\u0275\u0275directiveInject(r.ComponentFactoryResolver))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["druid-ordain-validation-validator"]],viewQuery:function(t,e){var a;1&t&&r.\u0275\u0275viewQuery(nF,7),2&t&&r.\u0275\u0275queryRefresh(a=r.\u0275\u0275loadQuery())&&(e.validationHost=a.first)},inputs:{contexts:"contexts",validation:"validation"},features:[r.\u0275\u0275ProvidersFeature([{provide:v.NG_VALUE_ACCESSOR,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0},{provide:v.NG_VALIDATORS,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0}])],decls:19,vars:6,consts:[[3,"formGroup"],["matInput","","type","text","formControlName","name"],["required","","formControlName","validator"],[3,"value",4,"ngFor","ngForOf"],["matInput","","type","text","formControlName","overrideErrorMessage"],["druidValidationRendererHost",""],[3,"value"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"div",0)(1,"div")(2,"mat-form-field")(3,"mat-label"),r.\u0275\u0275text(4,"Name"),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(5,"input",1),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(6,"mat-form-field")(7,"mat-label"),r.\u0275\u0275text(8,"Validator"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(9,"mat-select",2),r.\u0275\u0275template(10,cK,2,2,"mat-option",3),r.\u0275\u0275pipe(11,"keyvalue"),r.\u0275\u0275pipe(12,"async"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(13,"mat-form-field")(14,"mat-label"),r.\u0275\u0275text(15,"Error Message"),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(16,"input",4),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementContainerStart(17),r.\u0275\u0275template(18,dK,0,0,"ng-template",5),r.\u0275\u0275elementContainerEnd(),r.\u0275\u0275elementEnd()),2&t&&(r.\u0275\u0275property("formGroup",e.formGroup),r.\u0275\u0275advance(10),r.\u0275\u0275property("ngForOf",r.\u0275\u0275pipeBind1(11,2,r.\u0275\u0275pipeBind1(12,4,e.validationPlugins$))))},dependencies:[P.NgForOf,v.DefaultValueAccessor,v.NgControlStatus,v.NgControlStatusGroup,v.RequiredValidator,v.FormGroupDirective,v.FormControlName,bi.MatLegacyOption,En.MatLegacyFormField,En.MatLegacyLabel,Hr.MatLegacyInput,Fi.MatLegacySelect,nF,P.AsyncPipe,P.KeyValuePipe]}),o}(),_K=function(){var o=function(){function n(t){var e=this;(0,f.Z)(this,n),this.fb=t,this.formGroup=this.fb.group({validators:this.fb.array([])}),this.addValidator$=new ae.x,this.deleteValidator$=new ae.x,this.afterViewInit$=new ae.x,this.validation$=new U.X(new w_({validators:[]})),this.addValidatorSub=this.addValidator$.pipe((0,te.b)(function(){e.validators.push(e.fb.control(""))})).subscribe(),this.deleteValidatorSub=this.deleteValidator$.pipe((0,te.b)(function(a){e.validation$.value.validators.splice(a,1),e.validators.removeAt(a)})).subscribe(),this.validationSub=(0,Sr.a)([this.validation$,this.afterViewInit$]).pipe((0,Ce.U)(function(a){return(0,g.Z)(a,1)[0]}),(0,Q.h)(function(a){return 0!==a.validators.length}),(0,te.b)(function(a){e.validators.clear(),a.validators.forEach(function(s,u){e.validators.push(e.fb.control(""))})})).subscribe(),this.onTouched=function(){}}return(0,y.Z)(n,[{key:"validation",set:function(e){this.validation$.next(e)}},{key:"validators",get:function(){return this.formGroup.get("validators")}},{key:"ngAfterViewInit",value:function(){this.afterViewInit$.next(void 0),this.afterViewInit$.complete()}},{key:"writeValue",value:function(e){e&&this.formGroup.setValue(e,{emitEvent:!1})}},{key:"registerOnChange",value:function(e){this.formGroup.valueChanges.subscribe(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){e?this.formGroup.disable():this.formGroup.enable()}},{key:"validate",value:function(e){return this.formGroup.valid?null:{invalidForm:{valid:!1,message:"content is invalid"}}}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.UntypedFormBuilder))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["druid-ordain-validation-editor"]],inputs:{validation:"validation"},features:[r.\u0275\u0275ProvidersFeature([{provide:v.NG_VALUE_ACCESSOR,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0},{provide:v.NG_VALIDATORS,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0}])],decls:5,vars:2,consts:[[3,"formGroup"],["formArrayName","validators"],[4,"ngFor","ngForOf"],["type","button",3,"click"],[3,"formControlName","validation"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"div",0)(1,"div",1),r.\u0275\u0275template(2,pK,4,2,"div",2),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(3,"button",3),r.\u0275\u0275listener("click",function(){return e.addValidator$.next(void 0)}),r.\u0275\u0275text(4,"Add Validator"),r.\u0275\u0275elementEnd()),2&t&&(r.\u0275\u0275property("formGroup",e.formGroup),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngForOf",e.validators.controls))},dependencies:[P.NgForOf,v.NgControlStatus,v.NgControlStatusGroup,v.FormGroupDirective,v.FormControlName,v.FormArrayName,yK]}),o}(),xK=function(){var o=function(){function n(t,e){var a=this;(0,f.Z)(this,n),this.vpm=t,this.tokenizerService=e,this.validators$=new U.X([]),this.errors$=new U.X(null),this.message$=new U.X("Field is invalid"),this.resolvedContext$=new U.X(void 0),this.messageSub=(0,Sr.a)([this.validators$,this.errors$,this.resolvedContext$]).pipe((0,Q.h)(function(s){var c=(0,g.Z)(s,2)[1];return null!==c&&0!==Object.keys(c).length}),(0,Ce.U)(function(s){var u=(0,g.Z)(s,2),l=u[0],c=u[1],h=Object.keys(c),T=(0,g.Z)(h,1)[0],N=l.find(function(F){return F.validator===T});return{k:T,v:N,e:c[T]}}),(0,st.w)(function(s){var u=s.k,l=s.v,c=s.e;return a.vpm.getPlugin(l.validator).pipe((0,Ce.U)(function(h){return{k:u,v:l,p:h,e:c}}))}),(0,st.w)(function(s){var u=s.k,l=s.v,c=s.p;return a.resolveContexts({errors:s.e}).pipe((0,Ce.U)(function(C){return{k:u,v:l,p:c,t:C}}))}),(0,te.b)(function(s){var c=s.v,h=a.replaceTokens({message:c.overrideErrorMessage&&""!==c.overrideErrorMessage?c.overrideErrorMessage:s.p.errorMessage,tokens:s.t});a.message$.next(h)})).subscribe()}return(0,y.Z)(n,[{key:"validators",set:function(e){this.validators$.next(e)}},{key:"errors",set:function(e){this.errors$.next(e)}},{key:"resolvedContext",set:function(e){this.resolvedContext$.next(e)}},{key:"replaceTokens",value:function(e){var a=e.message,s=e.tokens;return void 0!==s&&s.forEach(function(u,l){a=a.split("[".concat(l,"]")).join("".concat(u))}),a}},{key:"resolveContexts",value:function(e){var a=this,s=e.errors;return new W.y(function(u){var l=new Map(a.tokenizerService.generateGenericTokens(s,""));if(a.resolvedContext$.value)for(var c in a.resolvedContext$.value)l=new Map([].concat((0,_.Z)(l),(0,_.Z)(a.tokenizerService.generateGenericTokens(a.resolvedContext$.value[c],"_root"===c?"":c))));u.next(l),u.complete()})}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Va),r.\u0275\u0275directiveInject(Pr))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["druid-ordain-default-validation-error"]],inputs:{validators:"validators",errors:"errors",resolvedContext:"resolvedContext"},decls:1,vars:1,template:function(t,e){1&t&&r.\u0275\u0275text(0),2&t&&r.\u0275\u0275textInterpolate(e.message$.value)}}),o}(),rF=function(){var o=(0,y.Z)(function n(){(0,f.Z)(this,n)});return o.\u0275fac=function(t){return new(t||o)},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({imports:[P.CommonModule,v.FormsModule,v.ReactiveFormsModule,Oi.MaterialModule,wu]}),o}(),bK=S(92081),CK=S(4856),ck=S(40810);function wK(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"mat-error"),r.\u0275\u0275element(1,"druid-ordain-default-validation-error",2),r.\u0275\u0275elementEnd()),2&o){var t=r.\u0275\u0275nextContext();r.\u0275\u0275advance(1),r.\u0275\u0275property("validators",null==t.formSettings$.value||null==t.formSettings$.value.validation?null:t.formSettings$.value.validation.validators)("errors",t.formControl.errors)("resolvedContext",t.resolvedContext$.value)}}function SK(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"mat-option",2),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&o){var t=n.$implicit;r.\u0275\u0275property("value",t.value),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(t.label)}}function EK(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"div"),r.\u0275\u0275element(1,"classifieds-ui-render-pane",4),r.\u0275\u0275elementStart(2,"button",3),r.\u0275\u0275listener("click",function(){var c=r.\u0275\u0275restoreView(t).index,h=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(h.remove$.next(c))}),r.\u0275\u0275text(3,"Remove"),r.\u0275\u0275elementEnd()()}if(2&o){var e=n.$implicit,a=n.index,s=r.\u0275\u0275nextContext();r.\u0275\u0275advance(1),r.\u0275\u0275property("formControlName",a)("pluginName",e.contentPlugin)("settings",e.settings)("name",e.name)("label",e.label)("contexts",e.contexts)("panes",s.panes)("resolvedContext",e.resolvedContext)("indexPosition",a)("ancestory",s.ancestory)}}function PK(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"mat-option",9),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&o){var t=n.$implicit;r.\u0275\u0275property("value",t),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(t)}}function AK(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"mat-radio-button",2),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&o){var t=n.$implicit;r.\u0275\u0275property("value",t.value),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(t.label)}}function kK(o,n){if(1&o&&(r.\u0275\u0275elementStart(0,"mat-option",4),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&o){var t=n.$implicit;r.\u0275\u0275property("value",t),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(t.label)}}function RK(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"ngx-dropzone-image-preview",4),r.\u0275\u0275listener("removed",function(){r.\u0275\u0275restoreView(t);var s=r.\u0275\u0275nextContext().$implicit,u=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(u.onRemove(s))}),r.\u0275\u0275elementStart(1,"ngx-dropzone-label"),r.\u0275\u0275text(2),r.\u0275\u0275elementEnd()()}if(2&o){var e=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275property("file",e)("removable",!0),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate2("",e.name," (",e.type,")")}}function DK(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"ngx-dropzone-video-preview",4),r.\u0275\u0275listener("removed",function(){r.\u0275\u0275restoreView(t);var s=r.\u0275\u0275nextContext().$implicit,u=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(u.onRemove(s))}),r.\u0275\u0275elementStart(1,"ngx-dropzone-label"),r.\u0275\u0275text(2),r.\u0275\u0275elementEnd()()}if(2&o){var e=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275property("file",e)("removable",!0),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate2("",e.name," (",e.type,")")}}function TK(o,n){if(1&o){var t=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"ngx-dropzone-preview",5),r.\u0275\u0275listener("removed",function(){r.\u0275\u0275restoreView(t);var s=r.\u0275\u0275nextContext().$implicit,u=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(u.onRemove(s))}),r.\u0275\u0275elementStart(1,"ngx-dropzone-label"),r.\u0275\u0275text(2),r.\u0275\u0275elementEnd()()}if(2&o){var e=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275property("removable",!0),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate2("",e.name," (",e.type,")")}}function IK(o,n){if(1&o&&(r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275template(1,RK,3,4,"ngx-dropzone-image-preview",2),r.\u0275\u0275template(2,DK,3,4,"ngx-dropzone-video-preview",2),r.\u0275\u0275template(3,TK,3,3,"ngx-dropzone-preview",3),r.\u0275\u0275elementContainerEnd()),2&o){var t=n.$implicit,e=r.\u0275\u0275nextContext();r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",e.isType(t,"image")),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",e.isType(t,"video")),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",!e.isType(t,"image")&&!e.isType(t,"video"))}}var dk=(0,y.Z)(function o(n){(0,f.Z)(this,o),n&&(this.value=n.value?n.value:"",n.datasourceBinding&&"object"==typeof n.datasourceBinding&&(this.datasourceBinding=new pn.ContentBinding(n.datasourceBinding)),n.datasourceOptions&&"object"==typeof n.datasourceOptions&&(this.datasourceOptions=new nI(n.datasourceOptions)),n.validation&&(this.validation=new w_(n.validation)))}),OK=(0,y.Z)(function o(n){(0,f.Z)(this,o),n&&(this.valuesMapping=n.valuesMapping)}),fo=function(){var o=function(){function n(t,e,a,s){(0,f.Z)(this,n),this.tokenizerService=t,this.datasourceContentHandler=e,this.panelResolver=a,this.attributeSerializer=s}return(0,y.Z)(n,[{key:"resolveElementOptions",value:function(e,a){var s=this;return(0,Le.of)(e).pipe((0,st.w)(function(u){if(u.datasourceBinding&&u.datasourceBinding.id&&""!==u.datasourceBinding.id){var l=a.has("panes")?a.get("panes").find(function(c){return c.name===u.datasourceBinding.id}):void 0;return s.panelResolver.dataPanes(a.get("panes")).pipe((0,st.w)(function(c){return l?s.datasourceContentHandler.fetchDynamicData(l.settings,new Map([].concat((0,_.Z)(a),[["dataPanes",c]]))):(0,Le.of)([])}),(0,Ce.U)(function(c){return[u,c.results]}))}return(0,Le.of)([u,[]])}),(0,Ce.U)(function(u){var l=(0,g.Z)(u,2),c=l[0],h=l[1];return[c,c.datasourceOptions&&""!==c.datasourceOptions.query?(0,Ms.JSONPath)({path:c.datasourceOptions.query,json:h}):h]}),(0,st.w)(function(u){var l=(0,g.Z)(u,2);return s.mapDataOptions(l[0],l[1])}))}},{key:"mapDataOptions",value:function(e,a){var s=this;return(0,Le.of)([e,a]).pipe((0,Ce.U)(function(u){var l=(0,g.Z)(u,2),h=l[1];return[l[0],h,h?h.map(function(C){return s.tokenizerService.generateGenericTokens(C)}):[]]}),(0,Ce.U)(function(u){var l=(0,g.Z)(u,3),c=l[0];return l[2].map(function(T){return s.mapDataItem(c,T)})}))}},{key:"mapDataItem",value:function(e,a){return new aI({value:this.tokenizerService.replaceTokens("".concat(e.datasourceOptions.valueMapping),a),label:this.tokenizerService.replaceTokens("".concat(e.datasourceOptions.labelMapping),a),dataItem:void 0})}},{key:"hasDataOptions",value:function(e){return e.datasourceBinding&&e.datasourceBinding.id&&""!==e.datasourceBinding.id}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Pr),r.\u0275\u0275inject(AA),r.\u0275\u0275inject(TA),r.\u0275\u0275inject(Nt.AttributeSerializerService))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),mo=function(){var o=function(){function n(t){var e=this;(0,f.Z)(this,n),this.tokenizerService=t,this.cachedResolvedContexts=[],this.scheduleResolution$=new ae.x,this.scheduleResolutionSub=this.scheduleResolution$.pipe((0,te.b)(function(a){var s=a.resolvedContext,u=a.index,l=new Map;if(s)for(var c in s)s[c]instanceof Au||(l=new Map([].concat((0,_.Z)(l),(0,_.Z)(e.tokenizerService.generateGenericTokens(s[c],"_root"===c?"":c)))));e.cachedResolvedContexts[u].resolution$.next(l)})).subscribe()}return(0,y.Z)(n,[{key:"resolveContexts",value:function(e){var a=e.resolvedContext,s=this.cachedResolvedContexts.findIndex(function(u){return 0===(0,xA.getDiff)(u.rContext,a).length});return-1===s?(console.log("resolved context no cache",a),s=this.cachedResolvedContexts.length,this.cachedResolvedContexts.push({rContext:a,resolution$:new fA.t}),this.scheduleResolution$.next({resolvedContext:a,index:s})):console.log("resolved context cache hit",a),this.cachedResolvedContexts[s].resolution$.pipe((0,An.q)(1))}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Pr))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),Ro=function(){var o=function(){function n(t,e,a,s,u,l){var c=this;(0,f.Z)(this,n),this.attributeSerializer=t,this.optionsResolver=e,this.tokenizerService=a,this.formsContextHelper=s,this.vpm=u,this.controlContainer=l,this.formControl=new v.UntypedFormControl(""),this.formControlValueChangesSub=this.formControl.valueChanges.pipe((0,te.b)(function(h){return console.log("serialized form value",c.attributeSerializer.serialize(h,"value"))}),(0,te.b)(function(h){return c.controlContainer.control.get("settings").setValue([c.attributeSerializer.serialize(h,"value")])})).subscribe(),this.formSettings$=new U.X(void 0),this.settings$=new U.X([]),this.options$=new U.X([]),this.init$=new ae.x,this.afterViewInit$=new ae.x,this.panes$=new U.X([]),this.originPanes$=new U.X([]),this.contexts$=new U.X([]),this.resolvedContext$=new U.X(void 0),this.value$=new ae.x,this.settingsSub=this.settings$.pipe((0,Ce.U)(function(h){return h?c.settingsToObject(c.attributeSerializer.deserializeAsObject(h)):void 0}),(0,te.b)(function(h){return c.formSettings$.next(h)})).subscribe(),this.loadOptionsSub=(0,Sr.a)([this.formSettings$,this.panes$,this.originPanes$,this.contexts$,this.init$]).pipe((0,Ce.U)(function(h){var C=(0,g.Z)(h,4),N=C[1],F=C[2],$=C[3];return{settings:C[0],metadata:new Map([["panes",[].concat((0,_.Z)(N&&Array.isArray(N)?N:[]),(0,_.Z)(F&&Array.isArray(F)?F:[]))],["contexts",$]])}}),(0,st.w)(function(h){return c.optionsResolver.resolveElementOptions(h.settings,h.metadata)}),(0,te.b)(function(h){return c.options$.next(h)})).subscribe(),this.renderContentSub=(0,Sr.a)([this.formSettings$,this.resolvedContext$,this.afterViewInit$]).pipe((0,Ce.U)(function(h){var C=(0,g.Z)(h,2);return{settings:C[0],resolvedContext:C[1]}}),(0,st.w)(function(h){var C=h.settings;return c.formsContextHelper.resolveContexts({resolvedContext:h.resolvedContext}).pipe((0,Ce.U)(function(N){return{settings:C,tokens:N}}))}),(0,st.w)(function(h){var C=h.settings,T=h.tokens;return(0,$n.D)(C.validation&&C.validation.validators?C.validation.validators.map(function(N){return c.vpm.getPlugin(N.validator).pipe((0,st.w)(function(F){return F.builder({v:N,serialized:!1}).pipe((0,Ce.U)(function($){return{v:N,vf:$}}))}))}):[]).pipe((0,Ce.U)(function(N){return{settings:C,tokens:T,validators:N}}),(0,fi.d)({settings:C,tokens:T,validators:[]}))}),(0,st.w)(function(h){var C=h.settings,T=h.tokens,N=h.validators;return(0,$n.D)(C.validation&&C.validation.validators?C.validation.validators.map(function(F){return c.vpm.getPlugin(F.validator).pipe((0,st.w)(function($){return $.builder({v:F,serialized:!0}).pipe((0,Ce.U)(function(se){return{v:F,vf:se}}))}))}):[]).pipe((0,Ce.U)(function(F){return{settings:C,tokens:T,validators:N,validatorsSerialized:F}}),(0,fi.d)({settings:C,tokens:T,validators:N,validatorsSerialized:[]}))}),(0,te.b)(function(h){var C=h.settings,T=h.tokens,F=h.validatorsSerialized;if(c.formControl.setAsyncValidators(h.validators.map(function(Ot){return Ot.vf})),c.controlContainer.control.get("settings").setAsyncValidators(F.map(function(Ot){return Ot.vf})),c.formControl.updateValueAndValidity(),c.controlContainer.control.updateValueAndValidity(),void 0!==T&&(c.tokens=T),C.value&&null!==C.value&&""!==C.value){(-1!==C.value.indexOf(".$i.")||-1!==C.value.indexOf(".$j.")||-1!==C.value.indexOf(".$k."))&&console.log(C.value,c.ancestory);var $=C.value.split("$i"),se=$.map(function(Ot,pt){return c.ancestory[1*pt+(3+(0===pt?0:3))]}),ue=$.reduce(function(Ot,pt,Lt){return[].concat((0,_.Z)(Ot),[0===Lt?"":Lt-1<se.length?"".concat(se[Lt-1]):"",pt])},[]).join("");console.log("path",ue);var ge=c.replaceTokens(ue);c.formControl.setValue(ge);var Se=c.tokenizerService.discoverTokens(ge,!0);if(0!==Se.length)if(Se[0].trim().lastIndexOf(".id")===Se[0].trim().length-3){var we=vr();c.formControl.setValue(we),c.value$.next(we)}else{var He=Array.from(T).filter(function(Ot){return 0===(0,g.Z)(Ot,1)[0].indexOf(ue.substr(1,ue.length-2))});if(0!==He.length){var ot=He.reduce(function(Ot,pt){var Lt=(0,g.Z)(pt,2),$t=Lt[0],tn=Lt[1];return(0,b.Z)((0,b.Z)({},Ot),{},(0,d.Z)({},$t.substr($t.lastIndexOf(".")+1),tn))},{});c.formControl.setValue(ot),c.value$.next(ot)}else{var dt=c.tokenizerService.replaceTokens(C.value,new Map(Array.from(Se).map(function(Ot){return[Ot,""]})));c.formControl.setValue(dt),c.value$.next(dt)}}else c.value$.next(ge)}else c.formControl.setValue("")}),(0,An.q)(1)).subscribe()}return(0,y.Z)(n,[{key:"settings",set:function(e){this.settings$.next(e)}},{key:"panes",set:function(e){this.panes$.next(e)}},{key:"originPanes",set:function(e){this.originPanes$.next(e)}},{key:"contexts",set:function(e){this.contexts$.next(e)}},{key:"resolvedContext",set:function(e){this.resolvedContext$.next(e)}},{key:"ngOnInit",value:function(){this.init$.next(void 0)}},{key:"ngAfterViewInit",value:function(){this.afterViewInit$.next(void 0)}},{key:"settingsToObject",value:function(e){return new dk(e)}},{key:"replaceTokens",value:function(e){return void 0!==this.tokens&&this.tokens.forEach(function(a,s){e=e.split("[".concat(s,"]")).join("".concat(a))}),e}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Nt.AttributeSerializerService),r.\u0275\u0275directiveInject(fo),r.\u0275\u0275directiveInject(Pr),r.\u0275\u0275directiveInject(mo),r.\u0275\u0275directiveInject(Va),r.\u0275\u0275directiveInject(v.ControlContainer))},o.\u0275dir=r.\u0275\u0275defineDirective({type:o,selectors:[["","druid-forms-form-element-base",""]],inputs:{tokens:"tokens",settings:"settings",panes:"panes",originPanes:"originPanes",contexts:"contexts",resolvedContext:"resolvedContext",ancestory:"ancestory"}}),o}(),FK=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(a,s,u,l,c,h){return(0,f.Z)(this,e),t.call(this,a,s,u,l,c,h)}return(0,y.Z)(e)}(Ro);return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Nt.AttributeSerializerService),r.\u0275\u0275directiveInject(fo),r.\u0275\u0275directiveInject(Pr),r.\u0275\u0275directiveInject(mo),r.\u0275\u0275directiveInject(Va),r.\u0275\u0275directiveInject(v.ControlContainer))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["druid-forms-form-input"]],features:[r.\u0275\u0275InheritDefinitionFeature],decls:3,vars:2,consts:[["matInput","",3,"formControl"],[4,"ngIf"],[3,"validators","errors","resolvedContext"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"mat-form-field"),r.\u0275\u0275element(1,"input",0),r.\u0275\u0275template(2,wK,2,3,"mat-error",1),r.\u0275\u0275elementEnd()),2&t&&(r.\u0275\u0275advance(1),r.\u0275\u0275property("formControl",e.formControl),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",e.formControl.invalid))},dependencies:[P.NgIf,v.DefaultValueAccessor,v.NgControlStatus,v.FormControlDirective,En.MatLegacyError,En.MatLegacyFormField,Hr.MatLegacyInput,xK]}),o}(),MK=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(a,s,u,l,c,h){return(0,f.Z)(this,e),t.call(this,a,s,u,l,c,h)}return(0,y.Z)(e)}(Ro);return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Nt.AttributeSerializerService),r.\u0275\u0275directiveInject(fo),r.\u0275\u0275directiveInject(Pr),r.\u0275\u0275directiveInject(mo),r.\u0275\u0275directiveInject(Va),r.\u0275\u0275directiveInject(v.ControlContainer))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["druid-forms-form-select"]],features:[r.\u0275\u0275InheritDefinitionFeature],decls:4,vars:4,consts:[[3,"formControl"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"mat-form-field")(1,"mat-select",0),r.\u0275\u0275template(2,SK,2,2,"mat-option",1),r.\u0275\u0275pipe(3,"async"),r.\u0275\u0275elementEnd()()),2&t&&(r.\u0275\u0275advance(1),r.\u0275\u0275property("formControl",e.formControl),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",r.\u0275\u0275pipeBind1(3,2,e.options$)))},dependencies:[P.NgForOf,v.NgControlStatus,v.FormControlDirective,bi.MatLegacyOption,En.MatLegacyFormField,Fi.MatLegacySelect,P.AsyncPipe]}),o}(),NK=function(){var o=function(){function n(t,e,a){var s=this;(0,f.Z)(this,n),this.attributeSerializer=t,this.fb=e,this.controlContainer=a,this.panes=[],this.originMappings=[],this.ancestory=[],this.add$=new ae.x,this.remove$=new ae.x,this.panes$=new U.X([]),this.settings$=new ae.x,this.resolvedContext$=new ae.x,this.panel$=new ae.x,this.afterViewInit$=new ae.x,this.addSub=this.add$.pipe((0,Ce.U)(function(){return new Wr(s.panes[0])}),(0,te.b)(function(){return s.panesFormArray.push(s.fb.control(""))}),(0,te.b)(function(u){return s.panes.push(u)})).subscribe(),this.removeSub=this.remove$.pipe((0,te.b)(function(u){return s.panesFormArray.removeAt(u)}),(0,te.b)(function(u){return s.panes.splice(u,1)})).subscribe(),this.populateDefaultValues=(0,Sr.a)([this.settings$.pipe((0,Ce.U)(function(u){return u?new OK(s.attributeSerializer.deserializeAsObject(u)):void 0})),this.resolvedContext$,this.panel$,this.afterViewInit$]).pipe((0,Ce.U)(function(u){var l=(0,g.Z)(u,3);return{s:l[0],rc:l[1],p:l[2]}}),(0,te.b)(function(u){return console.log(u.s.valuesMapping,s.ancestory)}),(0,Ce.U)(function(u){var l=u.s,c=u.rc,h=u.p;if(c&&l&&l.valuesMapping&&""!==l.valuesMapping.trim()){var C=l.valuesMapping.split("[$i]"),T=C.map(function($,se){return s.ancestory[1*se+3]}),N=C.reduce(function($,se,ue){return[].concat((0,_.Z)($),[0===ue?"":ue-1<T.length?"[".concat(T[ue-1],"]"):"",se])},[]).join("");return console.log("path",N),{items:(0,Ms.JSONPath)({path:"$.".concat(N,".*"),json:c}),s:l,p:h}}return{items:[],p:h}}),(0,te.b)(function(u){for(var c=u.items.length-s.panesFormArray.length,h=0;h<c;h++)s.add$.next(void 0)})).subscribe()}return(0,y.Z)(n,[{key:"settings",set:function(e){this.settings$.next(e)}},{key:"resolvedContext",set:function(e){this.resolvedContext$.next(e)}},{key:"panel",set:function(e){this.panel$.next(e)}},{key:"panesFormArray",get:function(){return this.controlContainer.control.get("panes")}},{key:"ngOnInit",value:function(){}},{key:"ngAfterViewInit",value:function(){this.afterViewInit$.next(void 0)}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Nt.AttributeSerializerService),r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(v.ControlContainer))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-form-section"]],inputs:{panes:"panes",originPanes:"originPanes",originMappings:"originMappings",ancestory:"ancestory",settings:"settings",resolvedContext:"resolvedContext",panel:"panel"},decls:5,vars:2,consts:[[3,"formGroup"],["formArrayName","panes"],[4,"ngFor","ngForOf"],["type","button",3,"click"],[3,"formControlName","pluginName","settings","name","label","contexts","panes","resolvedContext","indexPosition","ancestory"]],template:function(t,e){1&t&&(r.\u0275\u0275elementContainerStart(0,0)(1,1),r.\u0275\u0275template(2,EK,4,10,"div",2),r.\u0275\u0275elementContainerEnd()(),r.\u0275\u0275elementStart(3,"button",3),r.\u0275\u0275listener("click",function(){return e.add$.next(void 0)}),r.\u0275\u0275text(4,"Add Item"),r.\u0275\u0275elementEnd()),2&t&&(r.\u0275\u0275property("formGroup",e.controlContainer.control),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngForOf",e.panes))},dependencies:[P.NgForOf,v.NgControlStatus,v.NgControlStatusGroup,v.FormGroupDirective,v.FormControlName,v.FormArrayName,x_]}),o}(),VK=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(a,s,u,l,c,h){var C;return(0,f.Z)(this,e),(C=t.call(this,a,s,u,l,c,h)).cols=20,C.rows=20,C}return(0,y.Z)(e)}(Ro);return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Nt.AttributeSerializerService),r.\u0275\u0275directiveInject(fo),r.\u0275\u0275directiveInject(Pr),r.\u0275\u0275directiveInject(mo),r.\u0275\u0275directiveInject(Va),r.\u0275\u0275directiveInject(v.ControlContainer))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["druid-forms-form-textarea"]],features:[r.\u0275\u0275InheritDefinitionFeature],decls:1,vars:3,consts:[[3,"formControl","cols","rows"]],template:function(t,e){1&t&&r.\u0275\u0275element(0,"textarea",0),2&t&&r.\u0275\u0275property("formControl",e.formControl)("cols",e.cols)("rows",e.rows)},dependencies:[v.DefaultValueAccessor,v.NgControlStatus,v.FormControlDirective]}),o}(),BK=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.attributeSerializer=t}return(0,y.Z)(n,[{key:"handleFile",value:function(e){return(0,Le.of)([])}},{key:"handlesType",value:function(e){return!1}},{key:"implementsRendererOverride",value:function(){return!1}},{key:"hasRendererOverride",value:function(e){return(0,Le.of)(!1)}},{key:"isDynamic",value:function(e){return!1}},{key:"isData",value:function(e){return!1}},{key:"getBindings",value:function(e,a,s){return"pane"===a?this.toObject(e).pipe((0,st.w)(function(u){return Or(function(){return u.datasourceBinding&&u.datasourceBinding.id&&null!==u.datasourceBinding.id},(0,Le.of)([u.datasourceBinding]),(0,Le.of)([]))})):(0,Le.of)([])}},{key:"fetchDynamicData",value:function(e,a){return(0,Le.of)(new pr)}},{key:"buildDynamicItems",value:function(e,a){return(0,Le.of)([])}},{key:"toObject",value:function(e){return(0,Le.of)(new dk(this.attributeSerializer.deserializeAsObject(e)))}},{key:"buildSettings",value:function(e){return this.attributeSerializer.serialize(e,"root").attributes}},{key:"stateDefinition",value:function(e){return(0,Le.of)({autocomplete:{input:""},value:void 0})}},{key:"editorOptions",value:function(e){return(0,Le.of)(new pn.ContentPluginEditorOptions)}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Nt.AttributeSerializerService))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),iF=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(){return(0,f.Z)(this,e),t.apply(this,arguments)}return(0,y.Z)(e)}(BK);return o.\u0275fac=function(){var n;return function(e){return(n||(n=r.\u0275\u0275getInheritedFactory(o)))(e||o)}}(),o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),Do=function(){var o=function(){function n(t,e,a,s,u){(0,f.Z)(this,n),this.data=t,this.dialogRef=e,this.fb=a,this.handler=s,this.attributeSerializer=u,this.datasourceOptions=dA,this.validation=new w_({validators:[]}),this.bindableOptions=[],this.formGroup=this.fb.group({value:this.fb.control(""),datasourceOptions:this.fb.control(""),validation:this.fb.control(""),datasourceBinding:this.fb.group({id:this.fb.control(""),type:this.fb.control("pane")})}),this.paneIndex=t.paneIndex,this.pane=t.pane}return(0,y.Z)(n,[{key:"paneGroup",get:function(){return this.data.panelFormGroup.get("panes").at(this.paneIndex)}},{key:"ngOnInit",value:function(){var e=this;this.data.pane?this.handler.toObject(this.data.pane.settings).subscribe(function(a){e.formGroup.get("value").setValue(a.value),e.datasourceOptions=a.datasourceOptions?a.datasourceOptions:dA,e.validation=new w_(a.validation?a.validation:{validators:[]}),e.formGroup.get("datasourceBinding").get("id").setValue(a.datasourceBinding&&a.datasourceBinding.id&&null!==a.datasourceBinding.id?a.datasourceBinding.id:"")}):(this.data.panelFormGroup.get("panes").push(this.fb.group({contentPlugin:this.data.plugin.id,name:new v.UntypedFormControl(""),label:new v.UntypedFormControl(""),rule:new v.UntypedFormControl(""),settings:this.fb.array([])})),this.paneIndex=this.data.panelFormGroup.get("panes").length-1,this.pane=new Wr(this.data.panelFormGroup.get("panes").at(this.paneIndex).value)),this.bindableOptions=this.data.panelFormGroup.get("panes").controls.reduce(function(a,s){return s.get("name").value?[].concat((0,_.Z)(a),[s.get("name").value]):(0,_.Z)(a)},[])}},{key:"submit",value:function(){var e=this;console.log(this.formGroup.value);var a=new dk(this.formGroup.value);console.log(a),this.paneGroup.get("settings").clear(),this.handler.buildSettings(a).map(function(u){return e.attributeSerializer.convertToGroup(u)}).forEach(function(u){return e.paneGroup.get("settings").push(u)}),this.dialogRef.close()}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Yt.MAT_LEGACY_DIALOG_DATA),r.\u0275\u0275directiveInject(Yt.MatLegacyDialogRef),r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(iF),r.\u0275\u0275directiveInject(Nt.AttributeSerializerService))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["druid-forms-form-element-editor"]],inputs:{bindableOptions:"bindableOptions"},decls:17,vars:4,consts:[[3,"formGroup","ngSubmit"],["fxLayout","column"],["matInput","","formControlName","value"],["formGroupName","datasourceBinding"],["required","","formControlName","id"],[3,"value",4,"ngFor","ngForOf"],["formControlName","datasourceOptions",3,"datasourceOptions"],["formControlName","validation",3,"validation"],["type","submit","mat-raised-button","","color","primary","mat-dialog-close",""],[3,"value"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"form",0),r.\u0275\u0275listener("ngSubmit",function(){return e.submit()}),r.\u0275\u0275elementStart(1,"mat-dialog-content",1)(2,"div")(3,"mat-form-field")(4,"mat-label"),r.\u0275\u0275text(5,"Value"),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(6,"input",2),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(7,"mat-form-field",3)(8,"mat-label"),r.\u0275\u0275text(9,"Datasource"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(10,"mat-select",4),r.\u0275\u0275template(11,PK,2,2,"mat-option",5),r.\u0275\u0275elementEnd()(),r.\u0275\u0275element(12,"classifieds-ui-datasource-options",6)(13,"druid-ordain-validation-editor",7),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(14,"mat-dialog-actions")(15,"button",8),r.\u0275\u0275text(16,"Save"),r.\u0275\u0275elementEnd()()()),2&t&&(r.\u0275\u0275property("formGroup",e.formGroup),r.\u0275\u0275advance(11),r.\u0275\u0275property("ngForOf",e.bindableOptions),r.\u0275\u0275advance(1),r.\u0275\u0275property("datasourceOptions",e.datasourceOptions),r.\u0275\u0275advance(1),r.\u0275\u0275property("validation",e.validation))},dependencies:[P.NgForOf,v.\u0275NgNoValidate,v.DefaultValueAccessor,v.NgControlStatus,v.NgControlStatusGroup,v.RequiredValidator,v.FormGroupDirective,v.FormControlName,v.FormGroupName,bi.MatLegacyOption,pi.MatLegacyButton,Yt.MatLegacyDialogClose,Yt.MatLegacyDialogContent,Yt.MatLegacyDialogActions,En.MatLegacyFormField,En.MatLegacyLabel,Hr.MatLegacyInput,Fi.MatLegacySelect,XL,_K]}),o}(),ZK=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(a,s,u,l,c,h){return(0,f.Z)(this,e),t.call(this,a,s,u,l,c,h)}return(0,y.Z)(e)}(Ro);return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Nt.AttributeSerializerService),r.\u0275\u0275directiveInject(fo),r.\u0275\u0275directiveInject(Pr),r.\u0275\u0275directiveInject(mo),r.\u0275\u0275directiveInject(Va),r.\u0275\u0275directiveInject(v.ControlContainer))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["druid-forms-form-radiogroup"]],features:[r.\u0275\u0275InheritDefinitionFeature],decls:3,vars:4,consts:[[3,"formControl"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"mat-radio-group",0),r.\u0275\u0275template(1,AK,2,2,"mat-radio-button",1),r.\u0275\u0275pipe(2,"async"),r.\u0275\u0275elementEnd()),2&t&&(r.\u0275\u0275property("formControl",e.formControl),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",r.\u0275\u0275pipeBind1(2,2,e.options$)))},dependencies:[P.NgForOf,v.NgControlStatus,v.FormControlDirective,IE.MatLegacyRadioGroup,IE.MatLegacyRadioButton,P.AsyncPipe]}),o}(),LK=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(a,s,u,l,c,h){return(0,f.Z)(this,e),t.call(this,a,s,u,l,c,h)}return(0,y.Z)(e)}(Ro);return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Nt.AttributeSerializerService),r.\u0275\u0275directiveInject(fo),r.\u0275\u0275directiveInject(Pr),r.\u0275\u0275directiveInject(mo),r.\u0275\u0275directiveInject(Va),r.\u0275\u0275directiveInject(v.ControlContainer))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["druid-forms-form-slider"]],features:[r.\u0275\u0275InheritDefinitionFeature],decls:1,vars:1,consts:[[3,"formControl"]],template:function(t,e){1&t&&r.\u0275\u0275element(0,"mat-slider",0),2&t&&r.\u0275\u0275property("formControl",e.formControl)},dependencies:[v.NgControlStatus,v.FormControlDirective,bK.MatLegacySlider]}),o}(),jK=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(a,s,u,l,c,h){return(0,f.Z)(this,e),t.call(this,a,s,u,l,c,h)}return(0,y.Z)(e)}(Ro);return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Nt.AttributeSerializerService),r.\u0275\u0275directiveInject(fo),r.\u0275\u0275directiveInject(Pr),r.\u0275\u0275directiveInject(mo),r.\u0275\u0275directiveInject(Va),r.\u0275\u0275directiveInject(v.ControlContainer))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["druid-forms-form-toggle"]],features:[r.\u0275\u0275InheritDefinitionFeature],decls:2,vars:1,consts:[[3,"formControl"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"mat-slide-toggle",0),r.\u0275\u0275text(1,"Toggle Label"),r.\u0275\u0275elementEnd()),2&t&&r.\u0275\u0275property("formControl",e.formControl)},dependencies:[v.NgControlStatus,v.FormControlDirective,CK.MatLegacySlideToggle]}),o}(),$K=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(a,s,u,l,c,h){return(0,f.Z)(this,e),t.call(this,a,s,u,l,c,h)}return(0,y.Z)(e)}(Ro);return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Nt.AttributeSerializerService),r.\u0275\u0275directiveInject(fo),r.\u0275\u0275directiveInject(Pr),r.\u0275\u0275directiveInject(mo),r.\u0275\u0275directiveInject(Va),r.\u0275\u0275directiveInject(v.ControlContainer))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["druid-forms-form-checkbox"]],features:[r.\u0275\u0275InheritDefinitionFeature],decls:1,vars:1,consts:[[3,"formControl"]],template:function(t,e){1&t&&r.\u0275\u0275element(0,"mat-checkbox",0),2&t&&r.\u0275\u0275property("formControl",e.formControl)},dependencies:[v.NgControlStatus,v.FormControlDirective,Jy.MatLegacyCheckbox]}),o}(),UK=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(a,s,u,l,c,h){return(0,f.Z)(this,e),t.call(this,a,s,u,l,c,h)}return(0,y.Z)(e)}(Ro);return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Nt.AttributeSerializerService),r.\u0275\u0275directiveInject(fo),r.\u0275\u0275directiveInject(Pr),r.\u0275\u0275directiveInject(mo),r.\u0275\u0275directiveInject(Va),r.\u0275\u0275directiveInject(v.ControlContainer))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["druid-forms-form-datepicker"]],features:[r.\u0275\u0275InheritDefinitionFeature],decls:7,vars:3,consts:[["appearance","fill"],["matInput","",3,"matDatepicker","formControl"],["matSuffix","",3,"for"],["picker",""]],template:function(t,e){if(1&t&&(r.\u0275\u0275elementStart(0,"mat-form-field",0)(1,"mat-label"),r.\u0275\u0275text(2,"Choose a date"),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(3,"input",1)(4,"mat-datepicker-toggle",2)(5,"mat-datepicker",null,3),r.\u0275\u0275elementEnd()),2&t){var a=r.\u0275\u0275reference(6);r.\u0275\u0275advance(3),r.\u0275\u0275property("matDatepicker",a)("formControl",e.formControl),r.\u0275\u0275advance(1),r.\u0275\u0275property("for",a)}},dependencies:[v.DefaultValueAccessor,v.NgControlStatus,v.FormControlDirective,ck.MatDatepicker,ck.MatDatepickerInput,ck.MatDatepickerToggle,En.MatLegacyFormField,En.MatLegacyLabel,En.MatLegacySuffix,Hr.MatLegacyInput]}),o}(),zK=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(a,s,u,l,c,h){var C;return(0,f.Z)(this,e),(C=t.call(this,a,s,u,l,c,h)).proxyControl=new v.UntypedFormControl(""),C.optionSelected$=new ae.x,C.proxyControlValueChangesSub=C.proxyControl.valueChanges.pipe((0,Ar.b)(1e3),(0,xu.x)(),(0,Pa.M)((0,Sr.a)([C.formSettings$,C.panes$,C.originPanes$,C.contexts$]).pipe((0,Ce.U)(function(T){var N=(0,g.Z)(T,4);return{settings:N[0],panes:N[1],originPanes:N[2],contexts:N[3]}}))),(0,Ce.U)(function(T){var N=(0,g.Z)(T,2),F=N[0],$=N[1],ue=$.panes,ge=$.originPanes,Se=$.contexts;return{term:F,settings:$.settings,metadata:new Map([["panes",[].concat((0,_.Z)(ue&&Array.isArray(ue)?ue:[]),(0,_.Z)(ge&&Array.isArray(ge)?ge:[]))],["contexts",Se],["inputparams",new Map([["term",new Mi({flags:[],mapping:new G3({value:F,testValue:F,type:"static",context:void 0})})]])]])}}),(0,st.w)(function(T){return C.optionsResolver.resolveElementOptions(T.settings,T.metadata)}),(0,te.b)(function(T){return C.options$.next(T)})).subscribe(),C.optionSelectedSub=C.optionSelected$.pipe((0,te.b)(function(T){return C.formControl.setValue(T.option&&T.option.value?T.option.value.value:"")})).subscribe(),C.displayAuto=function(T){return T.label},C}return(0,y.Z)(e)}(Ro);return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Nt.AttributeSerializerService),r.\u0275\u0275directiveInject(fo),r.\u0275\u0275directiveInject(Pr),r.\u0275\u0275directiveInject(mo),r.\u0275\u0275directiveInject(Va),r.\u0275\u0275directiveInject(v.ControlContainer))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["druid-forms-form-autocomplete"]],features:[r.\u0275\u0275InheritDefinitionFeature],decls:8,vars:6,consts:[["matInput","",3,"matAutocomplete","formControl"],[3,"displayWith","optionSelected"],["autocomplete","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){if(1&t&&(r.\u0275\u0275elementStart(0,"mat-form-field")(1,"mat-label"),r.\u0275\u0275text(2,"Autocomplete"),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(3,"input",0),r.\u0275\u0275elementStart(4,"mat-autocomplete",1,2),r.\u0275\u0275listener("optionSelected",function(u){return e.optionSelected$.next(u)}),r.\u0275\u0275template(6,kK,2,2,"mat-option",3),r.\u0275\u0275pipe(7,"async"),r.\u0275\u0275elementEnd()()),2&t){var a=r.\u0275\u0275reference(5);r.\u0275\u0275advance(3),r.\u0275\u0275property("matAutocomplete",a)("formControl",e.proxyControl),r.\u0275\u0275advance(1),r.\u0275\u0275property("displayWith",e.displayAuto),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngForOf",r.\u0275\u0275pipeBind1(7,4,e.options$))}},dependencies:[P.NgForOf,v.DefaultValueAccessor,v.NgControlStatus,v.FormControlDirective,TE.MatLegacyAutocomplete,TE.MatLegacyAutocompleteTrigger,bi.MatLegacyOption,En.MatLegacyFormField,En.MatLegacyLabel,Hr.MatLegacyInput,P.AsyncPipe]}),o}(),GK=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(a,s,u,l,c,h,C){var T;return(0,f.Z)(this,e),(T=t.call(this,a,s,l,c,h,C)).files=[],T.select$=new ae.x,T.selectSub=T.select$.pipe((0,te.b)(function(N){return console.log(N)}),(0,Bo.z)(function(N){return T.filesService.bulkUpload({files:[N.addedFiles[0]]}).pipe((0,Ce.U)(function(F){return{mfs:F,e:N}}))}),(0,te.b)(function(N){return T.formControl.setValue(N.mfs[0])}),(0,te.b)(function(N){var F;return(F=T.files).push.apply(F,(0,_.Z)(N.e.addedFiles))})).subscribe(),T.valueSub=T.value$.pipe((0,Q.h)(function(N){return"object"==typeof N}),(0,Ce.U)(function(N){return new nA(N)}),(0,te.b)(function(N){console.log("populate value",N)}),(0,st.w)(function(N){return T.filesService.convertToFiles([N])}),(0,te.b)(function(N){console.log("populate as file",N),T.files=N})).subscribe(),T.filesService=u,T}return(0,y.Z)(e,[{key:"onSelect",value:function(s){this.select$.next(s)}},{key:"onRemove",value:function(s){console.log(s),this.formControl.setValue(""),this.files.splice(this.files.indexOf(s),1)}},{key:"isType",value:function(s,u){switch(u){case"image":return this.filesService.isImage({file:s});case"video":return this.filesService.isVideo({file:s});default:return!1}}}]),e}(Ro);return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Nt.AttributeSerializerService),r.\u0275\u0275directiveInject(fo),r.\u0275\u0275directiveInject(iE),r.\u0275\u0275directiveInject(Pr),r.\u0275\u0275directiveInject(mo),r.\u0275\u0275directiveInject(Va),r.\u0275\u0275directiveInject(v.ControlContainer))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["druid-forms-form-media"]],features:[r.\u0275\u0275InheritDefinitionFeature],decls:4,vars:1,consts:[[3,"change"],[4,"ngFor","ngForOf"],["ngProjectAs","ngx-dropzone-preview",5,["ngx-dropzone-preview"],3,"file","removable","removed",4,"ngIf"],[3,"removable","removed",4,"ngIf"],["ngProjectAs","ngx-dropzone-preview",5,["ngx-dropzone-preview"],3,"file","removable","removed"],[3,"removable","removed"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"ngx-dropzone",0),r.\u0275\u0275listener("change",function(s){return e.onSelect(s)}),r.\u0275\u0275elementStart(1,"ngx-dropzone-label"),r.\u0275\u0275text(2,"Drop it, baby!"),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(3,IK,4,3,"ng-container",1),r.\u0275\u0275elementEnd()),2&t&&(r.\u0275\u0275advance(3),r.\u0275\u0275property("ngForOf",e.files))},dependencies:[P.NgForOf,P.NgIf,SE,nO,Jd,iO,K$]}),o}(),HK=function(){var o=function(n){(0,z.Z)(e,n);var t=(0,H.Z)(e);function e(a,s,u,l,c,h){return(0,f.Z)(this,e),t.call(this,a,s,u,l,c,h)}return(0,y.Z)(e)}(Ro);return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Nt.AttributeSerializerService),r.\u0275\u0275directiveInject(fo),r.\u0275\u0275directiveInject(Pr),r.\u0275\u0275directiveInject(mo),r.\u0275\u0275directiveInject(Va),r.\u0275\u0275directiveInject(v.ControlContainer))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["druid-forms-form-hidden"]],features:[r.\u0275\u0275InheritDefinitionFeature],decls:0,vars:0,template:function(t,e){},encapsulation:2}),o}(),qK=function(){var o=function(){function n(t,e,a,s){(0,f.Z)(this,n),this.data=t,this.dialogRef=e,this.fb=a,this.attributeSerializer=s,this.contexts=[],this.formGroup=this.fb.group({valuesMapping:this.fb.control("")})}return(0,y.Z)(n,[{key:"ngOnInit",value:function(){}},{key:"submit",value:function(){var e=this;this.data.panelFormGroup.get("settings").clear(),this.attributeSerializer.serialize(this.formGroup.value,"root").attributes.forEach(function(a){console.log("formly repeating editor form"),console.log(e.attributeSerializer.convertToGroup(a)),e.data.panelFormGroup.get("settings").push(e.attributeSerializer.convertToGroup(a))})}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Yt.MAT_LEGACY_DIALOG_DATA),r.\u0275\u0275directiveInject(Yt.MatLegacyDialogRef),r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(Nt.AttributeSerializerService))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-form-section-editor"]],decls:8,vars:2,consts:[[3,"formGroup","ngSubmit"],["matInput","","formControlName","valuesMapping"],["type","submit","mat-raised-button","","color","primary","mat-dialog-close","",3,"disabled"]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"form",0),r.\u0275\u0275listener("ngSubmit",function(){return e.submit()}),r.\u0275\u0275elementStart(1,"div")(2,"mat-form-field")(3,"mat-label"),r.\u0275\u0275text(4,"Values Mapping"),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(5,"input",1),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(6,"button",2),r.\u0275\u0275text(7,"Save"),r.\u0275\u0275elementEnd()()),2&t&&(r.\u0275\u0275property("formGroup",e.formGroup),r.\u0275\u0275advance(6),r.\u0275\u0275property("disabled",!e.formGroup.valid))},dependencies:[v.\u0275NgNoValidate,v.DefaultValueAccessor,v.NgControlStatus,v.NgControlStatusGroup,v.FormGroupDirective,v.FormControlName,pi.MatLegacyButton,Yt.MatLegacyDialogClose,En.MatLegacyFormField,En.MatLegacyLabel,Hr.MatLegacyInput]}),o}(),KK=function(n){return new pn.ContentPlugin({id:"form_input",title:"Form Input",selectionComponent:void 0,editorComponent:Do,renderComponent:FK,handler:n.handler})},WK=function(n){return new pn.ContentPlugin({id:"form_select",title:"Form Select",selectionComponent:void 0,editorComponent:Do,renderComponent:MK,handler:n.handler})},XK=function(n){return new pn.ContentPlugin({id:"form_radiogroup",title:"Form Radiogroup",selectionComponent:void 0,editorComponent:Do,renderComponent:ZK,handler:n.handler})},QK=function(n){return new pn.ContentPlugin({id:"form_textarea",title:"Form Textarea",selectionComponent:void 0,editorComponent:Do,renderComponent:VK,handler:n.handler})},YK=function(n){return new pn.ContentPlugin({id:"form_slider",title:"Form Slider",selectionComponent:void 0,editorComponent:Do,renderComponent:LK,handler:n.handler})},JK=function(n){return new pn.ContentPlugin({id:"form_toggle",title:"Form Toggle",selectionComponent:void 0,editorComponent:Do,renderComponent:jK,handler:n.handler})},eW=function(n){return new pn.ContentPlugin({id:"form_checkbox",title:"Form Checkbox",selectionComponent:void 0,editorComponent:Do,renderComponent:$K,handler:n.handler})},tW=function(n){return new pn.ContentPlugin({id:"form_datepicker",title:"Form Datepicker",selectionComponent:void 0,editorComponent:Do,renderComponent:UK,handler:n.handler})},nW=function(n){return new pn.ContentPlugin({id:"form_autocomplete",title:"Form Autocomplete",selectionComponent:void 0,editorComponent:Do,renderComponent:zK,handler:n.handler})},rW=function(n){return new pn.ContentPlugin({id:"form_media",title:"Form Media",selectionComponent:void 0,editorComponent:Do,renderComponent:GK,handler:n.handler})},iW=function(n){return new pn.ContentPlugin({id:"form_hidden",title:"Form Hidden",selectionComponent:void 0,editorComponent:Do,renderComponent:HK,handler:n.handler})},oW=function(){var o=(0,y.Z)(function n(t,e,a){(0,f.Z)(this,n),[KK({handler:a}),WK({handler:a}),QK({handler:a}),XK({handler:a}),YK({handler:a}),JK({handler:a}),eW({handler:a}),tW({handler:a}),nW({handler:a}),rW({handler:a}),iW({handler:a})].forEach(function(s){return t.register(s)}),[new bE({id:"form_section",name:"form_section",title:"Form Section",editorComponent:qK,renderComponent:NK})].forEach(function(s){return e.register(s)})});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(pn.ContentPluginManager),r.\u0275\u0275inject(Xd),r.\u0275\u0275inject(iF))},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({imports:[P.CommonModule,v.FormsModule,v.ReactiveFormsModule,Oi.MaterialModule,GA,Al,EE,rF]}),o}();function sW(o){var e,n={},t=(0,ee.Z)(o.keys());try{for(t.s();!(e=t.n()).done;){var a=e.value,s=o.getAll(a);null!==s&&(n[a]=s)}}catch(u){t.e(u)}finally{t.f()}return n}var aF=function(){var o=function(){function n(t,e){var a=this;(0,f.Z)(this,n),this.transferState=e,this.isCacheActive=!0,t.isStable.pipe((0,S3.P)(function(s){return s}),(0,fi.d)(!1)).subscribe(function(){a.isCacheActive=!1})}return(0,y.Z)(n,[{key:"makeCacheKey",value:function(e,a,s,u){var l=s.keys().sort().map(function(h){return"".concat(h,"=").concat(s.getAll(h))}).join("&");return(0,r.makeStateKey)(("GET"===e?"G.":"H.")+u+"."+a+"?"+l)}},{key:"intercept",value:function(e,a){var s=this;if(!this.isCacheActive||"GET"!==e.method&&"HEAD"!==e.method)return a.handle(e);var u=this.makeCacheKey(e.method,e.url,e.params,e.responseType);if(this.transferState.hasKey(u)){var l=this.transferState.get(u,null),c=l?.body;switch(l?.responseType){case"arraybuffer":c=(new TextEncoder).encode(l.body).buffer;break;case"blob":c=new Blob([l.body])}return(0,Le.of)(new O.HttpResponse({body:c,headers:new O.HttpHeaders(l?.headers),status:l?.status,statusText:l?.statusText,url:l?.url}))}return a.handle(e).pipe((0,te.b)(function(C){C instanceof O.HttpResponse&&s.transferState.set(u,{body:C.body,headers:sW(C.headers),status:C.status,statusText:C.statusText,url:C.url||"",responseType:e.responseType})}))}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(r.ApplicationRef),r.\u0275\u0275inject(r.TransferState))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),uW=function(){var o=(0,y.Z)(function n(){(0,f.Z)(this,n)});return o.\u0275fac=function(t){return new(t||o)},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({providers:[r.ApplicationRef,r.TransferState,aF,{provide:O.HTTP_INTERCEPTORS,useExisting:aF,multi:!0}]}),o}(),lW=new r.InjectionToken("AlienaliasSettings"),dW=(0,y.Z)(function o(n){(0,f.Z)(this,o),n&&(this.openSearchDomain=n.openSearchDomain)}),oF=S(37628),hW=["mfeReactComponent"],gW=function(){var o=function(){function n(){(0,f.Z)(this,n)}return(0,y.Z)(n,[{key:"ngOnChanges",value:function(e){this.render()}},{key:"ngAfterViewInit",value:function(){this.render()}},{key:"ngOnDestroy",value:function(){oF.unmountComponentAtNode(this.containerRef.nativeElement)}},{key:"render",value:function(){var e=this.component();oF.render(e,this.containerRef.nativeElement)}}]),n}();return o.\u0275fac=function(t){return new(t||o)},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["druid-mfe-react"]],viewQuery:function(t,e){var a;1&t&&r.\u0275\u0275viewQuery(hW,5),2&t&&r.\u0275\u0275queryRefresh(a=r.\u0275\u0275loadQuery())&&(e.containerRef=a.first)},inputs:{component:"component"},features:[r.\u0275\u0275NgOnChangesFeature],decls:2,vars:0,consts:[["mfeReactComponent",""]],template:function(t,e){1&t&&r.\u0275\u0275element(0,"span",null,0)},encapsulation:2}),o}(),vW=["appContainer"],pk=(0,y.Z)(function o(n){(0,f.Z)(this,o),n&&(this.type=n.type&&""!==n.type?n.type:"module",this.remoteEntry=n.remoteEntry,this.componentName=n.componentName,this.exposedModule=n.exposedModule,this.remoteName=n.remoteName&&""!==n.remoteName?n.remoteName:void 0)}),sF=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.attributeSerializer=t}return(0,y.Z)(n,[{key:"handleFile",value:function(e){return(0,Le.of)([])}},{key:"handlesType",value:function(e){return!1}},{key:"implementsRendererOverride",value:function(){return!1}},{key:"hasRendererOverride",value:function(e){return(0,Le.of)(!1)}},{key:"isDynamic",value:function(e){return!1}},{key:"isData",value:function(e){return!1}},{key:"getBindings",value:function(e,a,s){return(0,Le.of)([])}},{key:"fetchDynamicData",value:function(e,a){return(0,Le.of)(new pr)}},{key:"buildDynamicItems",value:function(e,a){return(0,Le.of)([])}},{key:"toObject",value:function(e){return(0,Le.of)(new pk(this.attributeSerializer.deserializeAsObject(e)))}},{key:"buildSettings",value:function(e){return this.attributeSerializer.serialize(e,"root").attributes}},{key:"stateDefinition",value:function(e){return(0,Le.of)({autocomplete:{input:""},value:void 0})}},{key:"editorOptions",value:function(e){return(0,Le.of)(new pn.ContentPluginEditorOptions)}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Nt.AttributeSerializerService))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),yW=function(){var o=function(){function n(t,e,a,s,u){(0,f.Z)(this,n),this.data=t,this.dialogRef=e,this.fb=a,this.handler=s,this.attributeSerializer=u,this.bindableOptions=[],this.formGroup=this.fb.group({type:this.fb.control("module",[v.Validators.required]),remoteEntry:this.fb.control("",[v.Validators.required]),exposedModule:this.fb.control("",[v.Validators.required]),componentName:this.fb.control("",[v.Validators.required]),remoteName:this.fb.control("")}),this.paneIndex=t.paneIndex,this.pane=t.pane}return(0,y.Z)(n,[{key:"paneGroup",get:function(){return this.data.panelFormGroup.get("panes").at(this.paneIndex)}},{key:"ngOnInit",value:function(){var e=this;this.data.pane?this.handler.toObject(this.data.pane.settings).subscribe(function(a){e.formGroup.get("type").setValue(a.type&&""!==a.type?a.type:"module"),e.formGroup.get("remoteEntry").setValue(a.remoteEntry),e.formGroup.get("exposedModule").setValue(a.exposedModule),e.formGroup.get("componentName").setValue(a.componentName),e.formGroup.get("remoteName").setValue(a.remoteName)}):(this.data.panelFormGroup.get("panes").push(this.fb.group({contentPlugin:this.data.plugin.id,name:new v.UntypedFormControl(""),label:new v.UntypedFormControl(""),rule:new v.UntypedFormControl(""),settings:this.fb.array([])})),this.paneIndex=this.data.panelFormGroup.get("panes").length-1,this.pane=new Wr(this.data.panelFormGroup.get("panes").at(this.paneIndex).value)),this.bindableOptions=this.data.panelFormGroup.get("panes").controls.reduce(function(a,s){return s.get("name").value?[].concat((0,_.Z)(a),[s.get("name").value]):(0,_.Z)(a)},[])}},{key:"submit",value:function(){var e=this;console.log(this.formGroup.value);var a=new pk(this.formGroup.value);console.log(a),this.paneGroup.get("settings").clear(),this.handler.buildSettings(a).map(function(u){return e.attributeSerializer.convertToGroup(u)}).forEach(function(u){return e.paneGroup.get("settings").push(u)}),this.dialogRef.close()}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Yt.MAT_LEGACY_DIALOG_DATA),r.\u0275\u0275directiveInject(Yt.MatLegacyDialogRef),r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(sF),r.\u0275\u0275directiveInject(Nt.AttributeSerializerService))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["druid-outsider-outside-app-editor"]],inputs:{bindableOptions:"bindableOptions"},decls:32,vars:1,consts:[[3,"formGroup","ngSubmit"],["formControlName","type","required",""],["value","module"],["value","script"],["matInput","","formControlName","remoteEntry","required",""],["matInput","","formControlName","exposedModule","required",""],["matInput","","formControlName","componentName","required",""],["matInput","","formControlName","remoteName"],["type","submit","mat-raised-button","","color","primary","mat-dialog-close",""]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"form",0),r.\u0275\u0275listener("ngSubmit",function(){return e.submit()}),r.\u0275\u0275elementStart(1,"div")(2,"mat-form-field")(3,"mat-label"),r.\u0275\u0275text(4,"Remote Entry"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(5,"mat-select",1)(6,"mat-option",2),r.\u0275\u0275text(7,"Module"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(8,"mat-option",3),r.\u0275\u0275text(9,"Script"),r.\u0275\u0275elementEnd()()()(),r.\u0275\u0275elementStart(10,"div")(11,"mat-form-field")(12,"mat-label"),r.\u0275\u0275text(13,"Remote Entry"),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(14,"input",4),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(15,"div")(16,"mat-form-field")(17,"mat-label"),r.\u0275\u0275text(18,"Exposed Module"),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(19,"input",5),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(20,"div")(21,"mat-form-field")(22,"mat-label"),r.\u0275\u0275text(23,"Component Name"),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(24,"input",6),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(25,"div")(26,"mat-form-field")(27,"mat-label"),r.\u0275\u0275text(28,"Remote Name"),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(29,"input",7),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(30,"button",8),r.\u0275\u0275text(31,"Save"),r.\u0275\u0275elementEnd()()),2&t&&r.\u0275\u0275property("formGroup",e.formGroup)},dependencies:[bi.MatLegacyOption,pi.MatLegacyButton,Yt.MatLegacyDialogClose,En.MatLegacyFormField,En.MatLegacyLabel,Hr.MatLegacyInput,Fi.MatLegacySelect,v.\u0275NgNoValidate,v.DefaultValueAccessor,v.NgControlStatus,v.NgControlStatusGroup,v.RequiredValidator,v.FormGroupDirective,v.FormControlName]}),o}(),_W=function(){var o=function(){function n(t){var e=this;(0,f.Z)(this,n),this.attributeSerializer=t,this.objectSettings$=new U.X(void 0),this.contexts$=new U.X([]),this.settings$=new U.X([]),this.settingsSub=this.settings$.pipe((0,Ce.U)(function(a){return a?new pk(e.attributeSerializer.deserializeAsObject(a)):void 0}),(0,te.b)(function(a){return e.objectSettings$.next(a)})).subscribe(),this.renderAppSub=this.objectSettings$.pipe((0,__.T)(1),(0,st.w)(function(a){return new W.y(function(s){rp(a.type&&"script"!==a.type?{type:"module",remoteEntry:a.remoteEntry,exposedModule:a.exposedModule}:{type:"script",remoteEntry:a.remoteEntry,exposedModule:a.exposedModule,remoteName:a.remoteName}).then(function(u){s.next(u[a.componentName&&""!==a.componentName?a.componentName:"default"]),s.complete()})}).pipe((0,Ce.U)(function(s){return{s:a,c:s}}))}),(0,te.b)(function(a){var s=a.s,u=a.c;e.viewContainer.clear(),s.type&&"script"!==s.type?e.viewContainer.createComponent(u):e.viewContainer.createComponent(gW).instance.component=u})).subscribe()}return(0,y.Z)(n,[{key:"settings",set:function(e){this.settings$.next(e)}},{key:"contexts",set:function(e){this.contexts$.next(e)}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(Nt.AttributeSerializerService))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["druid-outsider-outside-app-renderer"]],viewQuery:function(t,e){var a;1&t&&r.\u0275\u0275viewQuery(vW,7,r.ViewContainerRef),2&t&&r.\u0275\u0275queryRefresh(a=r.\u0275\u0275loadQuery())&&(e.viewContainer=a.first)},inputs:{settings:"settings",contexts:"contexts"},decls:2,vars:0,consts:[["appContainer",""]],template:function(t,e){1&t&&r.\u0275\u0275elementContainer(0,null,0)}}),o}(),bW=function(){var o=(0,y.Z)(function n(t,e){(0,f.Z)(this,n),t.register(function(n){return new pn.ContentPlugin({id:"outside_app",title:"Outside App",selectionComponent:void 0,editorComponent:yW,renderComponent:_W,handler:n.handler})}({handler:e}))});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(pn.ContentPluginManager),r.\u0275\u0275inject(sF))},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({imports:[P.CommonModule,Oi.MaterialModule,v.ReactiveFormsModule]}),o}(),uF=function(){var o=function(){function n(t,e){(0,f.Z)(this,n),this.fb=t,this.controlContainer=e,this.context$=new U.X(void 0),this.formGroup=this.fb.group({remoteEntry:this.fb.control("",[v.Validators.required]),exposedModule:this.fb.control("",[v.Validators.required]),moduleName:this.fb.control("",[v.Validators.required])}),this.onTouched=function(){}}return(0,y.Z)(n,[{key:"context",set:function(e){this.context$.next(e)}},{key:"ngOnInit",value:function(){var e=this;this.context$.subscribe(function(a){e.formGroup.setValue(a?{remoteEntry:a.data.remoteEntry,exposedModule:a.data.exposedModule,moduleName:a.data.moduleName}:{remoteEntry:"",exposedModule:"",moduleName:""})})}},{key:"writeValue",value:function(e){e&&this.formGroup.setValue(e,{emitEvent:!1})}},{key:"registerOnChange",value:function(e){this.formGroup.valueChanges.subscribe(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){e?this.formGroup.disable():this.formGroup.enable()}},{key:"validate",value:function(e){return this.formGroup.valid?null:{invalidForm:{valid:!1,message:"source is invalid"}}}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(v.ControlContainer))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-context-module-form"]],inputs:{context:"context"},features:[r.\u0275\u0275ProvidersFeature([{provide:v.NG_VALUE_ACCESSOR,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0},{provide:v.NG_VALIDATORS,useExisting:(0,r.forwardRef)(function(){return o}),multi:!0}])],decls:16,vars:1,consts:[[3,"formGroup"],["matInput","","formControlName","remoteEntry","required",""],["matInput","","formControlName","exposedModule","required",""],["matInput","","formControlName","moduleName","required",""]],template:function(t,e){1&t&&(r.\u0275\u0275elementStart(0,"div",0)(1,"div")(2,"mat-form-field")(3,"mat-label"),r.\u0275\u0275text(4,"Remote Entry"),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(5,"input",1),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(6,"div")(7,"mat-form-field")(8,"mat-label"),r.\u0275\u0275text(9,"Exposed Module"),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(10,"input",2),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(11,"div")(12,"mat-form-field")(13,"mat-label"),r.\u0275\u0275text(14,"Module Name"),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(15,"input",3),r.\u0275\u0275elementEnd()()()),2&t&&r.\u0275\u0275property("formGroup",e.formGroup)},dependencies:[v.DefaultValueAccessor,v.NgControlStatus,v.NgControlStatusGroup,v.RequiredValidator,v.FormGroupDirective,v.FormControlName,En.MatLegacyFormField,En.MatLegacyLabel,Hr.MatLegacyInput]}),o}(),CW=function(){var o=function(){function n(t,e){(0,f.Z)(this,n),this.fb=t,this.controlContainer=e}return(0,y.Z)(n,[{key:"ngOnInit",value:function(){this.controlContainer.control.addControl("adaptor",this.fb.control("data",v.Validators.required)),this.controlContainer.control.addControl("data",this.fb.control(""))}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275directiveInject(v.UntypedFormBuilder),r.\u0275\u0275directiveInject(v.ControlContainer))},o.\u0275cmp=r.\u0275\u0275defineComponent({type:o,selectors:[["classifieds-ui-context-module-editor"]],viewQuery:function(t,e){var a;1&t&&r.\u0275\u0275viewQuery(uF,7),2&t&&r.\u0275\u0275queryRefresh(a=r.\u0275\u0275loadQuery())&&(e.contextModuleFormComp=a.first)},inputs:{context:"context"},decls:2,vars:2,consts:[[3,"formGroup"],["formControlName","data",3,"context"]],template:function(t,e){1&t&&(r.\u0275\u0275elementContainerStart(0,0),r.\u0275\u0275element(1,"classifieds-ui-context-module-form",1),r.\u0275\u0275elementContainerEnd()),2&t&&(r.\u0275\u0275property("formGroup",e.controlContainer.control),r.\u0275\u0275advance(1),r.\u0275\u0275property("context",e.context))},dependencies:[v.NgControlStatus,v.NgControlStatusGroup,v.FormGroupDirective,v.FormControlName,uF]}),o}(),wW=function(){var o=(0,y.Z)(function n(t,e,a){var s=this;(0,f.Z)(this,n),this.actions$=t,this.moduleLoaderService=e,this.es=a,this.setPage$=vi(function(){return s.actions$.pipe(Ga(RA),(0,te.b)(function(u){var l=u.page;console.log("tractor beam capture page",l),l.contexts&&Array.isArray(l.contexts)&&l.contexts.forEach(function(c){if("module"===c.plugin)return s.moduleLoaderService.loadModule(function(){return rp({type:"module",remoteEntry:c.data.remoteEntry,exposedModule:c.data.exposedModule}).then(function(h){return h[c.data.moduleName]})}).subscribe()})}))},{dispatch:!1}),this.setPageInfo$=vi(function(){return s.actions$.pipe(Ga(kA),(0,te.b)(function(u){console.log("tractor beam info",u.info)}),(0,st.w)(function(u){var l=u.info;return s.es.getEntityCollectionService("PanelPage").getByKey(l.id)}),(0,te.b)(function(u){u.contexts&&Array.isArray(u.contexts)&&u.contexts.forEach(function(l){if("module"===l.plugin)return s.moduleLoaderService.loadModule(function(){return rp({type:"module",remoteEntry:l.data.remoteEntry,exposedModule:l.data.exposedModule}).then(function(c){return c[l.data.moduleName]})}).subscribe()})}))},{dispatch:!1})});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(to),r.\u0275\u0275inject(Vn.ModuleLoaderService),r.\u0275\u0275inject(Dr))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),lF=function(){var o=function(){function n(t){(0,f.Z)(this,n),this.moduleLoaderService=t}return(0,y.Z)(n,[{key:"resolve",value:function(e,a,s){return console.log("module resolver context",e,a,s),this.moduleLoaderService.loadModule(function(){return rp({type:"module",remoteEntry:a.remoteEntry,exposedModule:a.exposedModule}).then(function(u){return u[a.moduleName]})})}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Vn.ModuleLoaderService))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac}),o}(),EW=function(){var o=function(){function n(t,e,a){(0,f.Z)(this,n),this.moduleLoader=t,this.pageBuilderFacade=e,this.es=a}return(0,y.Z)(n,[{key:"loadPlugins",value:function(){var e=this;return this.pageBuilderFacade.getPageInfo$.pipe((0,te.b)(function(){return console.log("started loading external modules")}),(0,st.w)(function(a){return(a&&a.id?e.es.getEntityCollectionService("PanelPage").getByKey(a.id):(0,Le.of)(void 0)).pipe((0,fi.d)(void 0))}),(0,st.w)(function(a){return a?(0,$n.D)(a.contexts.filter(function(s){return"module"===s.plugin}).map(function(s){return e.moduleLoader.loadModule(function(){return rp({type:"module",remoteEntry:s.data.remoteEntry,exposedModule:s.data.exposedModule}).then(function(u){return u[s.data.moduleName]})})})).pipe((0,Rr.g)(1),(0,fi.d)([])):(0,Le.of)([])}),(0,te.b)(function(){return console.log("completed loading external modules")}),(0,Ce.U)(function(){return!0}),(0,An.q)(1))}}]),n}();return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Vn.ModuleLoaderService),r.\u0275\u0275inject(Ja),r.\u0275\u0275inject(Dr))},o.\u0275prov=r.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o}(),PW=function(){var o=(0,y.Z)(function n(t,e,a,s){(0,f.Z)(this,n),e.addDiscovery(s),t.register(function(n){return new Fs({id:"module",name:"module",title:"Module",baseObject:{},resolver:n.moduleResolver,editorComponent:CW})}({moduleResolver:a}))});return o.\u0275fac=function(t){return new(t||o)(r.\u0275\u0275inject(Su),r.\u0275\u0275inject(pn.ContentPluginManager),r.\u0275\u0275inject(lF),r.\u0275\u0275inject(EW))},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o}),o.\u0275inj=r.\u0275\u0275defineInjector({providers:[lF],imports:[P.CommonModule,v.FormsModule,v.ReactiveFormsModule,Gd,Oi.MaterialModule,ou.forFeature([wW])]}),o}(),AW=(0,y.Z)(function o(n){(0,f.Z)(this,o),n&&(this.appId=n.appId,this.guestRoleArn=n.guestRoleArn,this.region=n.region,this.identityPoolId=n.identityPoolId)}),kW=new r.InjectionToken("RumSettings"),cF=[["bb66aa62-8635-4015-86c9-ba4f208b0856","/native_forms_rebuild_v1"]],RW=[{contexts:[],displayType:"page",entityPermissions:{deleteUserIds:[],readUserIds:["*"],writeUserIds:[]},gridItems:[],id:"200e4ab8-922c-4a9c-a760-77bce3facf92",interactions:{interactions:{listeners:[]}},layoutSetting:{settings:[]},layoutType:"gridless",name:"hedge-test",panels:[{columnSetting:{settings:[]},panes:[{contentPlugin:"snippet",contexts:[],label:"",locked:!1,name:"",rule:{condition:"",rules:[]},settings:[{attributes:[],computedValue:"text/html",displayName:"Content Type",name:"contentType",type:1,value:"text/html"},{attributes:[],computedValue:"This is a hedge compatibility test. Modified.",displayName:"Content",name:"content",type:1,value:"This is a hedge compatibility test. Modified."},{attributes:[],computedValue:null,displayName:"jsScript",name:"jsScript",type:1,value:null}]}],settings:[],stylePlugin:""}],path:"/hedge-test",persistence:{dataduct:{settings:[]}},rowSettings:[{settings:[]}],site:"spearhead",title:"Hedge Test",userId:"b7a9bac5-5fef-4aa6-bf12-d536c156e453"},{contexts:[{adaptor:"data",data:{exposedModule:"./JsonChartModule",moduleName:"JsonChartModule",remoteEntry:"http://localhost:3000/remoteEntry.js"},name:"chart_module",plugin:"module"}],displayType:"page",entityPermissions:{deleteUserIds:[],readUserIds:["*"],writeUserIds:[]},gridItems:[],id:"286f9a5e-196d-4812-bd8a-235a164a1a97",interactions:{interactions:{listeners:[]}},layoutSetting:{settings:[]},layoutType:"gridless",name:"am_charts_visual_editor_bar_chart_test",panels:[{columnSetting:{settings:[]},panes:[{contentPlugin:"amcharts5_json_chart",contexts:[],label:"",locked:!1,name:"",rule:{condition:"",rules:[]},settings:[{attributes:[],computedValue:'{\n "type": "XYChart",\n "data": [{\n "category": "Category #1",\n "value": 3336\n }, {\n "category": "Category #2",\n "value": 2517\n }, {\n "category": "Category #3",\n "value": 784\n }, {\n "category": "Category #4",\n "value": 2388\n }, {\n "category": "Category #5",\n "value": 3581\n }, {\n "category": "Category #6",\n "value": 690\n }, {\n "category": "Category #7",\n "value": 4292\n }, {\n "category": "Category #8",\n "value": 2254\n }],\n "xAxes": [{\n "type": "ValueAxis"\n }],\n "yAxes": [{\n "type": "CategoryAxis",\n "dataFields": {\n "category": "category"\n }\n }],\n "series": [{\n "type": "ColumnSeries",\n "columns": {\n "template": {\n "type": "Column",\n "strokeOpacity": 0,\n "tooltipText": "{categoryY}\\n{valueX}",\n "tooltipPosition": "pointer"\n }\n },\n "dataFields": {\n "valueX": "value",\n "categoryY": "category"\n },\n "sequencedInterpolation": true,\n "sequencedInterpolationDelay": 100\n }]\n}',displayName:"JSON",name:"json",type:1,value:'{\n "type": "XYChart",\n "data": [{\n "category": "Category #1",\n "value": 3336\n }, {\n "category": "Category #2",\n "value": 2517\n }, {\n "category": "Category #3",\n "value": 784\n }, {\n "category": "Category #4",\n "value": 2388\n }, {\n "category": "Category #5",\n "value": 3581\n }, {\n "category": "Category #6",\n "value": 690\n }, {\n "category": "Category #7",\n "value": 4292\n }, {\n "category": "Category #8",\n "value": 2254\n }],\n "xAxes": [{\n "type": "ValueAxis"\n }],\n "yAxes": [{\n "type": "CategoryAxis",\n "dataFields": {\n "category": "category"\n }\n }],\n "series": [{\n "type": "ColumnSeries",\n "columns": {\n "template": {\n "type": "Column",\n "strokeOpacity": 0,\n "tooltipText": "{categoryY}\\n{valueX}",\n "tooltipPosition": "pointer"\n }\n },\n "dataFields": {\n "valueX": "value",\n "categoryY": "category"\n },\n "sequencedInterpolation": true,\n "sequencedInterpolationDelay": 100\n }]\n}'}]}],settings:[],stylePlugin:""}],path:"/am-charts-visual-editor-bar-chart-test",persistence:{dataduct:{settings:[]}},rowSettings:[{settings:[]}],site:"spearhead",title:"Visual Editor Bar Chart",userId:"b7a9bac5-5fef-4aa6-bf12-d536c156e453"},{contexts:[{adaptor:"data",data:{exposedModule:"./JsonChartModule",moduleName:"JsonChartModule",remoteEntry:"https://rollthecloudinc.github.io/plugin-amcharts5-build/remoteEntry.js"},name:"chart_module",plugin:"module"}],displayType:"page",entityPermissions:{deleteUserIds:[],readUserIds:["*"],writeUserIds:[]},gridItems:[],id:"479f66de-7468-47fa-a649-9fd476b754ab",interactions:{interactions:{listeners:[]}},layoutSetting:{settings:[]},layoutType:"gridless",name:"test_amcharts5_plugin_v1",panels:[{columnSetting:{settings:[]},label:"",name:"",panes:[{contentPlugin:"amcharts5_json_chart",label:"",linkedPageId:"",locked:!1,name:"",rule:{condition:"",field:"",operator:"",rules:[],value:""},settings:[]}],settings:[],stylePlugin:""}],path:"/test-amcharts5-plugin-v1",persistence:{dataduct:{settings:[]}},rowSettings:[{settings:[]}],site:"spearhead",title:"Test AmCharts5 Plugin v1",userId:"b7a9bac5-5fef-4aa6-bf12-d536c156e453"},{contexts:[{adaptor:"data",data:{exposedModule:"./JsonChartModule",moduleName:"JsonChartModule",remoteEntry:"http://localhost:3000/remoteEntry.js"},name:"chart_module",plugin:"module"}],displayType:"page",entityPermissions:{deleteUserIds:[],readUserIds:["*"],writeUserIds:[]},gridItems:[],id:"5494f47d-473c-49b4-bbef-f563be722131",interactions:{interactions:{listeners:[]}},layoutSetting:{settings:[{attributes:[],computedValue:"column",displayName:"Direction",name:"direction",type:1,value:"column"}]},layoutType:"gridless",name:"plugin-amcharts-refs-test-1",panels:[{columnSetting:{settings:[{attributes:[],computedValue:"100%",displayName:"Height",name:"height",type:1,value:"100%"}]},panes:[{contentPlugin:"amcharts5_json_chart",contexts:[],label:"",locked:!1,name:"",rule:{condition:"",rules:[]},settings:[{attributes:[{attributes:[{attributes:[],computedValue:"data",displayName:"name",name:"name",type:1,value:"data"},{attributes:[],computedValue:"data",displayName:"id",name:"id",type:1,value:"data"},{attributes:[],computedValue:"undefined",displayName:"type",name:"type",type:0,value:"undefined"}],computedValue:null,displayName:"0",name:"0",type:2,value:null}],computedValue:null,displayName:"refs",name:"refs",type:4,value:null},{attributes:[],computedValue:'{\n "type": "XYChart",\n "refs": {\n "data": [],\n "xAxis": {\n "type": "DateAxis",\n "settings": {\n "maxDeviation": 0.5,\n "baseInterval": {\n "timeUnit": "day",\n "count": 1\n },\n "renderer": {\n "type": "AxisRendererX"\n }\n }\n },\n "yAxis": {\n "type": "ValueAxis",\n "settings": {\n "maxDeviation": 1,\n "renderer": {\n "type": "AxisRendererY"\n }\n }\n }\n },\n "settings": {\n "panX": false,\n "panY": false,\n "wheelX": "panX",\n "wheelY": "zoomX",\n "scrollbarX": {\n "type": "Scrollbar",\n "settings": {\n "orientation": "horizontal"\n }\n }\n },\n "properties": {\n "xAxes": [\n "#xAxis"\n ],\n "yAxes": [\n "#yAxis"\n ],\n "series": [\n {\n "type": "LineSeries",\n "settings": {\n "name": "Series",\n "xAxis": "#xAxis",\n "yAxis": "#yAxis",\n "valueYField": "value",\n "valueXField": "date",\n "tooltip": {\n "type": "Tooltip",\n "settings": {\n "labelText": "{valueX}: {valueY}"\n }\n }\n },\n "properties": {\n "data": "#data"\n }\n }\n ]\n }\n}',displayName:"json",name:"json",type:1,value:'{\n "type": "XYChart",\n "refs": {\n "data": [],\n "xAxis": {\n "type": "DateAxis",\n "settings": {\n "maxDeviation": 0.5,\n "baseInterval": {\n "timeUnit": "day",\n "count": 1\n },\n "renderer": {\n "type": "AxisRendererX"\n }\n }\n },\n "yAxis": {\n "type": "ValueAxis",\n "settings": {\n "maxDeviation": 1,\n "renderer": {\n "type": "AxisRendererY"\n }\n }\n }\n },\n "settings": {\n "panX": false,\n "panY": false,\n "wheelX": "panX",\n "wheelY": "zoomX",\n "scrollbarX": {\n "type": "Scrollbar",\n "settings": {\n "orientation": "horizontal"\n }\n }\n },\n "properties": {\n "xAxes": [\n "#xAxis"\n ],\n "yAxes": [\n "#yAxis"\n ],\n "series": [\n {\n "type": "LineSeries",\n "settings": {\n "name": "Series",\n "xAxis": "#xAxis",\n "yAxis": "#yAxis",\n "valueYField": "value",\n "valueXField": "date",\n "tooltip": {\n "type": "Tooltip",\n "settings": {\n "labelText": "{valueX}: {valueY}"\n }\n }\n },\n "properties": {\n "data": "#data"\n }\n }\n ]\n }\n}'}]},{contentPlugin:"datasource",contexts:[],label:"data",locked:!1,name:"data",rule:{condition:"",rules:[]},settings:[{attributes:[],computedValue:"data",displayName:"plugin",name:"plugin",type:1,value:"data"},{attributes:[{attributes:[],computedValue:'[\n { "date": 1652425200000, "value": 92 },\n { "date": 1652511600000, "value": 95 },\n { "date": 1652598000000, "value": 100 },\n { "date": 1652684400000, "value": 100 },\n { "date": 1652770800000, "value": 96 },\n { "date": 1652857200000, "value": 97 },\n { "date": 1652943600000, "value": 94 },\n { "date": 1653030000000, "value": 89 },\n { "date": 1653116400000, "value": 89 },\n { "date": 1653202800000, "value": 87 },\n { "date": 1653289200000, "value": 84 },\n { "date": 1653375600000, "value": 81 },\n { "date": 1653462000000, "value": 85 },\n { "date": 1653548400000, "value": 89 },\n { "date": 1653634800000, "value": 86 },\n { "date": 1653721200000, "value": 90 },\n { "date": 1653807600000, "value": 93 },\n { "date": 1653894000000, "value": 94 },\n { "date": 1653980400000, "value": 94 },\n { "date": 1654066800000, "value": 96 }\n]',displayName:"data",name:"data",type:1,value:'[\n { "date": 1652425200000, "value": 92 },\n { "date": 1652511600000, "value": 95 },\n { "date": 1652598000000, "value": 100 },\n { "date": 1652684400000, "value": 100 },\n { "date": 1652770800000, "value": 96 },\n { "date": 1652857200000, "value": 97 },\n { "date": 1652943600000, "value": 94 },\n { "date": 1653030000000, "value": 89 },\n { "date": 1653116400000, "value": 89 },\n { "date": 1653202800000, "value": 87 },\n { "date": 1653289200000, "value": 84 },\n { "date": 1653375600000, "value": 81 },\n { "date": 1653462000000, "value": 85 },\n { "date": 1653548400000, "value": 89 },\n { "date": 1653634800000, "value": 86 },\n { "date": 1653721200000, "value": 90 },\n { "date": 1653807600000, "value": 93 },\n { "date": 1653894000000, "value": 94 },\n { "date": 1653980400000, "value": 94 },\n { "date": 1654066800000, "value": 96 }\n]'}],computedValue:null,displayName:"settings",name:"settings",type:2,value:null},{attributes:[{attributes:[],computedValue:"pane",displayName:"type",name:"type",type:1,value:"pane"},{attributes:[],computedValue:null,displayName:"bindings",name:"bindings",type:4,value:null}],computedValue:null,displayName:"renderer",name:"renderer",type:2,value:null}]}],settings:[],stylePlugin:""},{columnSetting:{settings:[]},panes:[],settings:[],stylePlugin:""}],path:"/plugin-amcharts-refs-test-1",persistence:{dataduct:{settings:[]}},rowSettings:[{settings:[{attributes:[],computedValue:"1",displayName:"Flex Grow",name:"flexGrow",type:1,value:"1"},{attributes:[],computedValue:"1",displayName:"Flex Shrink",name:"flexShrink",type:1,value:"1"},{attributes:[],computedValue:"1",displayName:"Flex Basis",name:"flexBasis",type:1,value:"1"},{attributes:[],computedValue:"100%",displayName:"Height",name:"height",type:1,value:"100%"},{attributes:[],computedValue:"row",displayName:"Direction",name:"direction",type:1,value:"row"}]},{settings:[]}],site:"spearhead",title:"plugin-amcharts-refs-test-1",userId:"b7a9bac5-5fef-4aa6-bf12-d536c156e453"},{contexts:[{adaptor:"data",data:{exposedModule:"./JsonChartModule",moduleName:"JsonChartModule",remoteEntry:"http://localhost:3000/remoteEntry.js"},name:"chart_module",plugin:"module"}],displayType:"page",entityPermissions:{deleteUserIds:[],readUserIds:["*"],writeUserIds:[]},gridItems:[],id:"8ebbcdb3-300f-4739-8cb3-6c5d4c402638",interactions:{interactions:{listeners:[]}},layoutSetting:{settings:[]},layoutType:"gridless",name:"am_charts_visual_editor_bar_chart_test",panels:[{columnSetting:{settings:[]},panes:[{contentPlugin:"amcharts5_json_chart",contexts:[],label:"",locked:!1,name:"",settings:[{attributes:[],computedValue:'{\n "type": "XYChart",\n "data": [{\n "category": "Category #1",\n "value": 3336\n }, {\n "category": "Category #2",\n "value": 2517\n }, {\n "category": "Category #3",\n "value": 784\n }, {\n "category": "Category #4",\n "value": 2388\n }, {\n "category": "Category #5",\n "value": 3581\n }, {\n "category": "Category #6",\n "value": 690\n }, {\n "category": "Category #7",\n "value": 4292\n }, {\n "category": "Category #8",\n "value": 2254\n }],\n "xAxes": [{\n "type": "ValueAxis",\n "renderer": {\n "maxLabelPosition": 0.98\n }\n }],\n "yAxes": [{\n "type": "CategoryAxis",\n "dataFields": {\n "category": "category"\n },\n "renderer": {\n "grid": {\n "template": {\n "type": "Grid",\n "location": 0\n }\n },\n "minGridDistance": 20\n }\n }],\n "series": [{\n "type": "ColumnSeries",\n "columns": {\n "template": {\n "type": "Column",\n "strokeOpacity": 0,\n "tooltipText": "{categoryY}\\n{valueX}",\n "tooltipPosition": "pointer"\n }\n },\n "dataFields": {\n "valueX": "value",\n "categoryY": "category"\n },\n "sequencedInterpolation": true,\n "sequencedInterpolationDelay": 100\n }]\n}',displayName:"JSON",name:"json",type:1,value:'{\n "type": "XYChart",\n "data": [{\n "category": "Category #1",\n "value": 3336\n }, {\n "category": "Category #2",\n "value": 2517\n }, {\n "category": "Category #3",\n "value": 784\n }, {\n "category": "Category #4",\n "value": 2388\n }, {\n "category": "Category #5",\n "value": 3581\n }, {\n "category": "Category #6",\n "value": 690\n }, {\n "category": "Category #7",\n "value": 4292\n }, {\n "category": "Category #8",\n "value": 2254\n }],\n "xAxes": [{\n "type": "ValueAxis",\n "renderer": {\n "maxLabelPosition": 0.98\n }\n }],\n "yAxes": [{\n "type": "CategoryAxis",\n "dataFields": {\n "category": "category"\n },\n "renderer": {\n "grid": {\n "template": {\n "type": "Grid",\n "location": 0\n }\n },\n "minGridDistance": 20\n }\n }],\n "series": [{\n "type": "ColumnSeries",\n "columns": {\n "template": {\n "type": "Column",\n "strokeOpacity": 0,\n "tooltipText": "{categoryY}\\n{valueX}",\n "tooltipPosition": "pointer"\n }\n },\n "dataFields": {\n "valueX": "value",\n "categoryY": "category"\n },\n "sequencedInterpolation": true,\n "sequencedInterpolationDelay": 100\n }]\n}'}]}],settings:[],stylePlugin:""}],path:"/am-charts-visual-editor-bar-chart-test",persistence:{dataduct:{settings:[]}},rowSettings:[{settings:[]}],site:"spearhead",title:"Visual Editor Bar Chart",userId:"b7a9bac5-5fef-4aa6-bf12-d536c156e453"},{contexts:[{adaptor:"data",data:{value:[{},{},{}]},datasource:null,name:"terms",plugin:"state",rest:null,snippet:null,tokens:null},{adaptor:"datasource",data:null,datasource:{params:[],plugin:"data",renderer:{bindings:[],data:{content:"",contentType:""},query:"",trackBy:"",type:"pane"},settings:[{attributes:[],computedValue:'[{"id":1,"name":"batman"},{"id":2,"name":"superman"}]',displayName:"data",floatValue:0,intValue:0,name:"data",type:1,value:'[{"id":1,"name":"batman"},{"id":2,"name":"superman"}]'}]},name:"characters",plugin:"datasource",rest:null,snippet:null,tokens:null},{adaptor:"datasource",data:null,datasource:{params:[],plugin:"crud_adaptor",renderer:{bindings:[],data:{content:"",contentType:""},query:"",trackBy:"",type:"pane"},settings:[{attributes:[],computedValue:"aws_s3_entity",displayName:"adaptorName",floatValue:0,intValue:0,name:"adaptorName",type:1,value:"aws_s3_entity"},{attributes:[],computedValue:"bucket=:bucket&prefix=:prefix",displayName:"optionsString",floatValue:0,intValue:0,name:"optionsString",type:1,value:"bucket=:bucket&prefix=:prefix"},{attributes:[],computedValue:"identity=:identity",displayName:"paramsString",floatValue:0,intValue:0,name:"paramsString",type:1,value:"identity=:identity"},{attributes:[{attributes:[{attributes:[{attributes:[],computedValue:"static",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"static"},{attributes:[],computedValue:"classifieds-ui-prod",displayName:"value",floatValue:0,intValue:0,name:"value",type:1,value:"classifieds-ui-prod"},{attributes:[],computedValue:"classifieds-ui-prod",displayName:"testValue",floatValue:0,intValue:0,name:"testValue",type:1,value:"classifieds-ui-prod"},{attributes:[],computedValue:"",displayName:"context",floatValue:0,intValue:0,name:"context",type:1,value:""}],computedValue:"",displayName:"mapping",floatValue:0,intValue:0,name:"mapping",type:2,value:""},{attributes:[{attributes:[{attributes:[],computedValue:"page",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"page"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""},{attributes:[{attributes:[],computedValue:"limit",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"limit"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"1",floatValue:0,intValue:0,name:"1",type:2,value:""},{attributes:[{attributes:[],computedValue:"offset",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"offset"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"2",floatValue:0,intValue:0,name:"2",type:2,value:""},{attributes:[{attributes:[],computedValue:"searchString",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"searchString"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"3",floatValue:0,intValue:0,name:"3",type:2,value:""}],computedValue:"",displayName:"flags",floatValue:0,intValue:0,name:"flags",type:4,value:""}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""},{attributes:[{attributes:[{attributes:[],computedValue:"static",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"static"},{attributes:[],computedValue:"ads/",displayName:"value",floatValue:0,intValue:0,name:"value",type:1,value:"ads/"},{attributes:[],computedValue:"ads/",displayName:"testValue",floatValue:0,intValue:0,name:"testValue",type:1,value:"ads/"},{attributes:[],computedValue:"",displayName:"context",floatValue:0,intValue:0,name:"context",type:1,value:""}],computedValue:"",displayName:"mapping",floatValue:0,intValue:0,name:"mapping",type:2,value:""},{attributes:[{attributes:[{attributes:[],computedValue:"page",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"page"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""},{attributes:[{attributes:[],computedValue:"limit",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"limit"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"1",floatValue:0,intValue:0,name:"1",type:2,value:""},{attributes:[{attributes:[],computedValue:"offset",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"offset"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"2",floatValue:0,intValue:0,name:"2",type:2,value:""},{attributes:[{attributes:[],computedValue:"searchString",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"searchString"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"3",floatValue:0,intValue:0,name:"3",type:2,value:""}],computedValue:"",displayName:"flags",floatValue:0,intValue:0,name:"flags",type:4,value:""}],computedValue:"",displayName:"1",floatValue:0,intValue:0,name:"1",type:2,value:""}],computedValue:"",displayName:"options",floatValue:0,intValue:0,name:"options",type:4,value:""},{attributes:[{attributes:[{attributes:[{attributes:[],computedValue:"route",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"route"},{attributes:[],computedValue:"arg0",displayName:"value",floatValue:0,intValue:0,name:"value",type:1,value:"arg0"},{attributes:[],computedValue:"",displayName:"testValue",floatValue:0,intValue:0,name:"testValue",type:1,value:""},{attributes:[],computedValue:"",displayName:"context",floatValue:0,intValue:0,name:"context",type:1,value:""}],computedValue:"",displayName:"mapping",floatValue:0,intValue:0,name:"mapping",type:2,value:""},{attributes:[{attributes:[{attributes:[],computedValue:"page",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"page"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""},{attributes:[{attributes:[],computedValue:"limit",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"limit"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"1",floatValue:0,intValue:0,name:"1",type:2,value:""},{attributes:[{attributes:[],computedValue:"offset",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"offset"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"2",floatValue:0,intValue:0,name:"2",type:2,value:""},{attributes:[{attributes:[],computedValue:"searchString",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"searchString"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"3",floatValue:0,intValue:0,name:"3",type:2,value:""}],computedValue:"",displayName:"flags",floatValue:0,intValue:0,name:"flags",type:4,value:""}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""}],computedValue:"",displayName:"params",floatValue:0,intValue:0,name:"params",type:4,value:""}]},name:"ad",plugin:"datasource",rest:null,snippet:null,tokens:null}],cssFile:"",derivativeId:"",displayType:"page",entityPermissions:{deleteUserIds:["b7a9bac5-5fef-4aa6-bf12-d536c156e453"],readUserIds:["*"],writeUserIds:["b7a9bac5-5fef-4aa6-bf12-d536c156e453"]},gridItems:[{cols:100,rows:1,weight:0,x:0,y:0}],id:"bb66aa62-8635-4015-86c9-ba4f208b0856",layoutSetting:{settings:[]},layoutType:"split",name:"native_forms_rebuild_v1",panels:[{columnSetting:{settings:[]},label:"",name:"",panes:[{contentPlugin:"datasource",label:"characters_context_ref",linkedPageId:"",locked:!1,name:"characters_context_ref",rule:{condition:"",field:"",operator:"",rules:[],value:""},settings:[{attributes:[],computedValue:"context",displayName:"plugin",floatValue:0,intValue:0,name:"plugin",type:1,value:"context"},{attributes:[{attributes:[],computedValue:"characters",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"characters"}],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""},{attributes:[{attributes:[],computedValue:"pane",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"pane"},{attributes:[{attributes:[{attributes:[],computedValue:"pane",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"pane"},{attributes:[],computedValue:"select_characters",displayName:"id",floatValue:0,intValue:0,name:"id",type:1,value:"select_characters"}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""}],computedValue:"",displayName:"bindings",floatValue:0,intValue:0,name:"bindings",type:4,value:""}],computedValue:"",displayName:"renderer",floatValue:0,intValue:0,name:"renderer",type:2,value:""}]},{contentPlugin:"datasource",label:"creators",linkedPageId:"",locked:!1,name:"creators",rule:{condition:"",field:"",operator:"",rules:[],value:""},settings:[{attributes:[],computedValue:"rest",displayName:"plugin",floatValue:0,intValue:0,name:"plugin",type:1,value:"rest"},{attributes:[{attributes:[],computedValue:"https://gateway.marvel.com:443/v1/public/creators?apikey=12097554cc585301fc38efd51b21fb06&nameStartsWith=:nameStartsWith",displayName:"url",floatValue:0,intValue:0,name:"url",type:1,value:"https://gateway.marvel.com:443/v1/public/creators?apikey=12097554cc585301fc38efd51b21fb06&nameStartsWith=:nameStartsWith"},{attributes:[{attributes:[{attributes:[{attributes:[],computedValue:"inputparam",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"inputparam"},{attributes:[],computedValue:"term",displayName:"value",floatValue:0,intValue:0,name:"value",type:1,value:"term"},{attributes:[],computedValue:"john",displayName:"testValue",floatValue:0,intValue:0,name:"testValue",type:1,value:"john"},{attributes:[],computedValue:"",displayName:"context",floatValue:0,intValue:0,name:"context",type:1,value:""}],computedValue:"",displayName:"mapping",floatValue:0,intValue:0,name:"mapping",type:2,value:""},{attributes:[{attributes:[{attributes:[],computedValue:"page",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"page"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""},{attributes:[{attributes:[],computedValue:"limit",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"limit"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"1",floatValue:0,intValue:0,name:"1",type:2,value:""},{attributes:[{attributes:[],computedValue:"offset",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"offset"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"2",floatValue:0,intValue:0,name:"2",type:2,value:""},{attributes:[{attributes:[],computedValue:"searchString",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"searchString"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"3",floatValue:0,intValue:0,name:"3",type:2,value:""}],computedValue:"",displayName:"flags",floatValue:0,intValue:0,name:"flags",type:4,value:""}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""}],computedValue:"",displayName:"params",floatValue:0,intValue:0,name:"params",type:4,value:""},{attributes:[{attributes:[],computedValue:"",displayName:"content",floatValue:0,intValue:0,name:"content",type:1,value:""},{attributes:[],computedValue:"application/json",displayName:"contentType",floatValue:0,intValue:0,name:"contentType",type:1,value:"application/json"},{attributes:[],computedValue:"",displayName:"jsScript",floatValue:0,intValue:0,name:"jsScript",type:1,value:""}],computedValue:"",displayName:"body",floatValue:0,intValue:0,name:"body",type:2,value:""},{attributes:[],computedValue:"get",displayName:"method",floatValue:0,intValue:0,name:"method",type:1,value:"get"}],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""},{attributes:[{attributes:[],computedValue:"pane",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"pane"},{attributes:[{attributes:[{attributes:[],computedValue:"pane",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"pane"},{attributes:[],computedValue:"select_creators",displayName:"id",floatValue:0,intValue:0,name:"id",type:1,value:"select_creators"}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""}],computedValue:"",displayName:"bindings",floatValue:0,intValue:0,name:"bindings",type:4,value:""}],computedValue:"",displayName:"renderer",floatValue:0,intValue:0,name:"renderer",type:2,value:""}]},{contentPlugin:"datasource",label:"select_creators",linkedPageId:"",locked:!1,name:"select_creators",rule:{condition:"",field:"",operator:"",rules:[],value:""},settings:[{attributes:[],computedValue:"select",displayName:"plugin",floatValue:0,intValue:0,name:"plugin",type:1,value:"select"},{attributes:[{attributes:[],computedValue:"$..data.results.*",displayName:"query",floatValue:0,intValue:0,name:"query",type:1,value:"$..data.results.*"}],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""},{attributes:[{attributes:[],computedValue:"pane",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"pane"},{attributes:[],computedValue:"",displayName:"bindings",floatValue:0,intValue:0,name:"bindings",type:4,value:""}],computedValue:"",displayName:"renderer",floatValue:0,intValue:0,name:"renderer",type:2,value:""}]},{contentPlugin:"form_input",label:"text",linkedPageId:"",locked:!1,name:"text",rule:{condition:"",field:"",operator:"",rules:[],value:""},settings:[{attributes:[],computedValue:"[ad.results.0.text]",displayName:"value",floatValue:0,intValue:0,name:"value",type:1,value:"[ad.results.0.text]"},{attributes:[{attributes:[],computedValue:"pane",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"pane"},{attributes:[],computedValue:"",displayName:"id",floatValue:0,intValue:0,name:"id",type:1,value:""}],computedValue:"",displayName:"datasourceBinding",floatValue:0,intValue:0,name:"datasourceBinding",type:2,value:""}]},{contentPlugin:"form_select",label:"select",linkedPageId:"",locked:!1,name:"select",rule:{condition:"",field:"",operator:"",rules:[],value:""},settings:[{attributes:[],computedValue:"[ad.results.0.select]",displayName:"value",floatValue:0,intValue:0,name:"value",type:1,value:"[ad.results.0.select]"},{attributes:[{attributes:[],computedValue:"pane",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"pane"},{attributes:[],computedValue:"characters_context_ref",displayName:"id",floatValue:0,intValue:0,name:"id",type:1,value:"characters_context_ref"}],computedValue:"",displayName:"datasourceBinding",floatValue:0,intValue:0,name:"datasourceBinding",type:2,value:""},{attributes:[{attributes:[],computedValue:"",displayName:"query",floatValue:0,intValue:0,name:"query",type:1,value:""},{attributes:[],computedValue:"",displayName:"trackBy",floatValue:0,intValue:0,name:"trackBy",type:1,value:""},{attributes:[],computedValue:"[.id]",displayName:"idMapping",floatValue:0,intValue:0,name:"idMapping",type:1,value:"[.id]"},{attributes:[],computedValue:"[.name]",displayName:"labelMapping",floatValue:0,intValue:0,name:"labelMapping",type:1,value:"[.name]"},{attributes:[],computedValue:"[.id]",displayName:"valueMapping",floatValue:0,intValue:0,name:"valueMapping",type:1,value:"[.id]"},{attributes:[],computedValue:"false",displayName:"multiple",floatValue:0,intValue:0,name:"multiple",type:5,value:"false"},{attributes:[],computedValue:"0",displayName:"limit",floatValue:0,intValue:0,name:"limit",type:0,value:"0"}],computedValue:"",displayName:"datasourceOptions",floatValue:0,intValue:0,name:"datasourceOptions",type:2,value:""}]},{contentPlugin:"form_textarea",label:"textarea",linkedPageId:"",locked:!1,name:"textarea",rule:{condition:"",field:"",operator:"",rules:[],value:""},settings:[{attributes:[],computedValue:"[ad.results.0.textarea]",displayName:"value",floatValue:0,intValue:0,name:"value",type:1,value:"[ad.results.0.textarea]"},{attributes:[{attributes:[],computedValue:"pane",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"pane"},{attributes:[],computedValue:"",displayName:"id",floatValue:0,intValue:0,name:"id",type:1,value:""}],computedValue:"",displayName:"datasourceBinding",floatValue:0,intValue:0,name:"datasourceBinding",type:2,value:""}]},{contentPlugin:"form_radiogroup",label:"radiogroup",linkedPageId:"",locked:!1,name:"radiogroup",rule:{condition:"",field:"",operator:"",rules:[],value:""},settings:[{attributes:[],computedValue:"[ad.results.0.radiogroup]",displayName:"value",floatValue:0,intValue:0,name:"value",type:1,value:"[ad.results.0.radiogroup]"},{attributes:[{attributes:[],computedValue:"pane",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"pane"},{attributes:[],computedValue:"characters_context_ref",displayName:"id",floatValue:0,intValue:0,name:"id",type:1,value:"characters_context_ref"}],computedValue:"",displayName:"datasourceBinding",floatValue:0,intValue:0,name:"datasourceBinding",type:2,value:""},{attributes:[{attributes:[],computedValue:"",displayName:"query",floatValue:0,intValue:0,name:"query",type:1,value:""},{attributes:[],computedValue:"",displayName:"trackBy",floatValue:0,intValue:0,name:"trackBy",type:1,value:""},{attributes:[],computedValue:"[.id]",displayName:"idMapping",floatValue:0,intValue:0,name:"idMapping",type:1,value:"[.id]"},{attributes:[],computedValue:"[.name]",displayName:"labelMapping",floatValue:0,intValue:0,name:"labelMapping",type:1,value:"[.name]"},{attributes:[],computedValue:"[.id]",displayName:"valueMapping",floatValue:0,intValue:0,name:"valueMapping",type:1,value:"[.id]"},{attributes:[],computedValue:"false",displayName:"multiple",floatValue:0,intValue:0,name:"multiple",type:5,value:"false"},{attributes:[],computedValue:"0",displayName:"limit",floatValue:0,intValue:0,name:"limit",type:0,value:"0"}],computedValue:"",displayName:"datasourceOptions",floatValue:0,intValue:0,name:"datasourceOptions",type:2,value:""}]},{contentPlugin:"form_slider",label:"slider",linkedPageId:"",locked:!1,name:"slider",rule:{condition:"",field:"",operator:"",rules:[],value:""},settings:[{attributes:[],computedValue:"[ad.results.0.slider]",displayName:"value",floatValue:0,intValue:0,name:"value",type:1,value:"[ad.results.0.slider]"},{attributes:[{attributes:[],computedValue:"pane",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"pane"},{attributes:[],computedValue:"",displayName:"id",floatValue:0,intValue:0,name:"id",type:1,value:""}],computedValue:"",displayName:"datasourceBinding",floatValue:0,intValue:0,name:"datasourceBinding",type:2,value:""}]},{contentPlugin:"form_toggle",label:"toggle",linkedPageId:"",locked:!1,name:"toggle",rule:{condition:"",field:"",operator:"",rules:[],value:""},settings:[{attributes:[],computedValue:"[ad.results.0.toggle]",displayName:"value",floatValue:0,intValue:0,name:"value",type:1,value:"[ad.results.0.toggle]"},{attributes:[{attributes:[],computedValue:"pane",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"pane"},{attributes:[],computedValue:"",displayName:"id",floatValue:0,intValue:0,name:"id",type:1,value:""}],computedValue:"",displayName:"datasourceBinding",floatValue:0,intValue:0,name:"datasourceBinding",type:2,value:""}]},{contentPlugin:"form_checkbox",label:"checkbox",linkedPageId:"",locked:!1,name:"checkbox",rule:{condition:"",field:"",operator:"",rules:[],value:""},settings:[{attributes:[],computedValue:"[ad.results.0.checkbox]",displayName:"value",floatValue:0,intValue:0,name:"value",type:1,value:"[ad.results.0.checkbox]"},{attributes:[{attributes:[],computedValue:"pane",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"pane"},{attributes:[],computedValue:"",displayName:"id",floatValue:0,intValue:0,name:"id",type:1,value:""}],computedValue:"",displayName:"datasourceBinding",floatValue:0,intValue:0,name:"datasourceBinding",type:2,value:""}]},{contentPlugin:"form_datepicker",label:"datepicker",linkedPageId:"",locked:!1,name:"datepicker",rule:{condition:"",field:"",operator:"",rules:[],value:""},settings:[{attributes:[],computedValue:"[ad.results.0.datepicker]",displayName:"value",floatValue:0,intValue:0,name:"value",type:1,value:"[ad.results.0.datepicker]"},{attributes:[{attributes:[],computedValue:"pane",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"pane"},{attributes:[],computedValue:"",displayName:"id",floatValue:0,intValue:0,name:"id",type:1,value:""}],computedValue:"",displayName:"datasourceBinding",floatValue:0,intValue:0,name:"datasourceBinding",type:2,value:""}]},{contentPlugin:"form_autocomplete",label:"autocomplete",linkedPageId:"",locked:!1,name:"autocomplete",rule:{condition:"",field:"",operator:"",rules:[],value:""},settings:[{attributes:[],computedValue:"[ad.results.0.autocomplete]",displayName:"value",floatValue:0,intValue:0,name:"value",type:1,value:"[ad.results.0.autocomplete]"},{attributes:[{attributes:[],computedValue:"pane",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"pane"},{attributes:[],computedValue:"creators",displayName:"id",floatValue:0,intValue:0,name:"id",type:1,value:"creators"}],computedValue:"",displayName:"datasourceBinding",floatValue:0,intValue:0,name:"datasourceBinding",type:2,value:""},{attributes:[{attributes:[],computedValue:"",displayName:"query",floatValue:0,intValue:0,name:"query",type:1,value:""},{attributes:[],computedValue:"",displayName:"trackBy",floatValue:0,intValue:0,name:"trackBy",type:1,value:""},{attributes:[],computedValue:"[.id]",displayName:"idMapping",floatValue:0,intValue:0,name:"idMapping",type:1,value:"[.id]"},{attributes:[],computedValue:"[.fullName]",displayName:"labelMapping",floatValue:0,intValue:0,name:"labelMapping",type:1,value:"[.fullName]"},{attributes:[],computedValue:"[.id]",displayName:"valueMapping",floatValue:0,intValue:0,name:"valueMapping",type:1,value:"[.id]"},{attributes:[],computedValue:"false",displayName:"multiple",floatValue:0,intValue:0,name:"multiple",type:5,value:"false"},{attributes:[],computedValue:"0",displayName:"limit",floatValue:0,intValue:0,name:"limit",type:0,value:"0"}],computedValue:"",displayName:"datasourceOptions",floatValue:0,intValue:0,name:"datasourceOptions",type:2,value:""}]},{contentPlugin:"panel",label:"nested",linkedPageId:"",locked:!1,name:"nested",rule:{condition:"",field:"",operator:"",rules:[],value:""},settings:[{attributes:[{attributes:[{attributes:[],computedValue:"100",displayName:"cols",floatValue:0,intValue:0,name:"cols",type:0,value:"100"},{attributes:[],computedValue:"1",displayName:"rows",floatValue:0,intValue:0,name:"rows",type:0,value:"1"},{attributes:[],computedValue:"0",displayName:"x",floatValue:0,intValue:0,name:"x",type:0,value:"0"},{attributes:[],computedValue:"0",displayName:"y",floatValue:0,intValue:0,name:"y",type:0,value:"0"},{attributes:[],computedValue:"0",displayName:"weight",floatValue:0,intValue:0,name:"weight",type:0,value:"0"}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""}],computedValue:"",displayName:"gridItems",floatValue:0,intValue:0,name:"gridItems",type:4,value:""},{attributes:[{attributes:[{attributes:[],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""},{attributes:[{attributes:[{attributes:[{attributes:[],computedValue:"[ad.results.0.nested.nestedValue]",displayName:"value",floatValue:0,intValue:0,name:"value",type:1,value:"[ad.results.0.nested.nestedValue]"},{attributes:[{attributes:[],computedValue:"pane",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"pane"},{attributes:[],computedValue:"",displayName:"id",floatValue:0,intValue:0,name:"id",type:1,value:""}],computedValue:"",displayName:"datasourceBinding",floatValue:0,intValue:0,name:"datasourceBinding",type:2,value:""}],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""},{attributes:[],computedValue:"false",displayName:"locked",floatValue:0,intValue:0,name:"locked",type:5,value:"false"},{attributes:[],computedValue:"",displayName:"contexts",floatValue:0,intValue:0,name:"contexts",type:4,value:""},{attributes:[],computedValue:"nestedValue",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"nestedValue"},{attributes:[],computedValue:"nestedValue",displayName:"label",floatValue:0,intValue:0,name:"label",type:1,value:"nestedValue"},{attributes:[],computedValue:"form_input",displayName:"contentPlugin",floatValue:0,intValue:0,name:"contentPlugin",type:1,value:"form_input"},{attributes:[{attributes:[],computedValue:"",displayName:"condition",floatValue:0,intValue:0,name:"condition",type:1,value:""},{attributes:[],computedValue:"",displayName:"rules",floatValue:0,intValue:0,name:"rules",type:4,value:""}],computedValue:"",displayName:"rule",floatValue:0,intValue:0,name:"rule",type:2,value:""}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""}],computedValue:"",displayName:"panes",floatValue:0,intValue:0,name:"panes",type:4,value:""},{attributes:[],computedValue:"undefined",displayName:"name",floatValue:0,intValue:0,name:"name",type:0,value:"undefined"},{attributes:[],computedValue:"undefined",displayName:"label",floatValue:0,intValue:0,name:"label",type:0,value:"undefined"},{attributes:[],computedValue:"",displayName:"stylePlugin",floatValue:0,intValue:0,name:"stylePlugin",type:1,value:""},{attributes:[{attributes:[],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""}],computedValue:"",displayName:"columnSetting",floatValue:0,intValue:0,name:"columnSetting",type:2,value:""}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""}],computedValue:"",displayName:"panels",floatValue:0,intValue:0,name:"panels",type:4,value:""},{attributes:[{attributes:[{attributes:[],computedValue:"terms",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"terms"},{attributes:[],computedValue:"data",displayName:"adaptor",floatValue:0,intValue:0,name:"adaptor",type:1,value:"data"},{attributes:[],computedValue:"state",displayName:"plugin",floatValue:0,intValue:0,name:"plugin",type:1,value:"state"},{attributes:[{attributes:[{attributes:[],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""},{attributes:[],computedValue:"",displayName:"1",floatValue:0,intValue:0,name:"1",type:2,value:""},{attributes:[],computedValue:"",displayName:"2",floatValue:0,intValue:0,name:"2",type:2,value:""}],computedValue:"",displayName:"value",floatValue:0,intValue:0,name:"value",type:4,value:""}],computedValue:"",displayName:"data",floatValue:0,intValue:0,name:"data",type:2,value:""}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""},{attributes:[{attributes:[],computedValue:"characters",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"characters"},{attributes:[],computedValue:"datasource",displayName:"adaptor",floatValue:0,intValue:0,name:"adaptor",type:1,value:"datasource"},{attributes:[],computedValue:"datasource",displayName:"plugin",floatValue:0,intValue:0,name:"plugin",type:1,value:"datasource"},{attributes:[{attributes:[{attributes:[],computedValue:'[{"id":1,"name":"batman"},{"id":2,"name":"superman"}]',displayName:"data",floatValue:0,intValue:0,name:"data",type:1,value:'[{"id":1,"name":"batman"},{"id":2,"name":"superman"}]'}],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""},{attributes:[],computedValue:"",displayName:"params",floatValue:0,intValue:0,name:"params",type:4,value:""},{attributes:[],computedValue:"data",displayName:"plugin",floatValue:0,intValue:0,name:"plugin",type:1,value:"data"},{attributes:[{attributes:[],computedValue:"pane",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"pane"},{attributes:[],computedValue:"undefined",displayName:"query",floatValue:0,intValue:0,name:"query",type:0,value:"undefined"},{attributes:[],computedValue:"undefined",displayName:"trackBy",floatValue:0,intValue:0,name:"trackBy",type:0,value:"undefined"},{attributes:[],computedValue:"",displayName:"bindings",floatValue:0,intValue:0,name:"bindings",type:4,value:""}],computedValue:"",displayName:"renderer",floatValue:0,intValue:0,name:"renderer",type:2,value:""}],computedValue:"",displayName:"datasource",floatValue:0,intValue:0,name:"datasource",type:2,value:""}],computedValue:"",displayName:"1",floatValue:0,intValue:0,name:"1",type:2,value:""},{attributes:[{attributes:[],computedValue:"ad",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"ad"},{attributes:[],computedValue:"datasource",displayName:"adaptor",floatValue:0,intValue:0,name:"adaptor",type:1,value:"datasource"},{attributes:[],computedValue:"datasource",displayName:"plugin",floatValue:0,intValue:0,name:"plugin",type:1,value:"datasource"},{attributes:[{attributes:[{attributes:[],computedValue:"aws_s3_entity",displayName:"adaptorName",floatValue:0,intValue:0,name:"adaptorName",type:1,value:"aws_s3_entity"},{attributes:[],computedValue:"bucket=:bucket&prefix=:prefix",displayName:"optionsString",floatValue:0,intValue:0,name:"optionsString",type:1,value:"bucket=:bucket&prefix=:prefix"},{attributes:[],computedValue:"identity=:identity",displayName:"paramsString",floatValue:0,intValue:0,name:"paramsString",type:1,value:"identity=:identity"},{attributes:[{attributes:[{attributes:[{attributes:[],computedValue:"static",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"static"},{attributes:[],computedValue:"classifieds-ui-prod",displayName:"value",floatValue:0,intValue:0,name:"value",type:1,value:"classifieds-ui-prod"},{attributes:[],computedValue:"classifieds-ui-prod",displayName:"testValue",floatValue:0,intValue:0,name:"testValue",type:1,value:"classifieds-ui-prod"},{attributes:[],computedValue:"",displayName:"context",floatValue:0,intValue:0,name:"context",type:1,value:""}],computedValue:"",displayName:"mapping",floatValue:0,intValue:0,name:"mapping",type:2,value:""},{attributes:[{attributes:[{attributes:[],computedValue:"page",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"page"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""},{attributes:[{attributes:[],computedValue:"limit",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"limit"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"1",floatValue:0,intValue:0,name:"1",type:2,value:""},{attributes:[{attributes:[],computedValue:"offset",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"offset"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"2",floatValue:0,intValue:0,name:"2",type:2,value:""},{attributes:[{attributes:[],computedValue:"searchString",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"searchString"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"3",floatValue:0,intValue:0,name:"3",type:2,value:""}],computedValue:"",displayName:"flags",floatValue:0,intValue:0,name:"flags",type:4,value:""}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""},{attributes:[{attributes:[{attributes:[],computedValue:"static",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"static"},{attributes:[],computedValue:"ads/",displayName:"value",floatValue:0,intValue:0,name:"value",type:1,value:"ads/"},{attributes:[],computedValue:"ads/",displayName:"testValue",floatValue:0,intValue:0,name:"testValue",type:1,value:"ads/"},{attributes:[],computedValue:"",displayName:"context",floatValue:0,intValue:0,name:"context",type:1,value:""}],computedValue:"",displayName:"mapping",floatValue:0,intValue:0,name:"mapping",type:2,value:""},{attributes:[{attributes:[{attributes:[],computedValue:"page",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"page"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""},{attributes:[{attributes:[],computedValue:"limit",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"limit"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"1",floatValue:0,intValue:0,name:"1",type:2,value:""},{attributes:[{attributes:[],computedValue:"offset",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"offset"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"2",floatValue:0,intValue:0,name:"2",type:2,value:""},{attributes:[{attributes:[],computedValue:"searchString",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"searchString"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"3",floatValue:0,intValue:0,name:"3",type:2,value:""}],computedValue:"",displayName:"flags",floatValue:0,intValue:0,name:"flags",type:4,value:""}],computedValue:"",displayName:"1",floatValue:0,intValue:0,name:"1",type:2,value:""}],computedValue:"",displayName:"options",floatValue:0,intValue:0,name:"options",type:4,value:""},{attributes:[{attributes:[{attributes:[{attributes:[],computedValue:"route",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"route"},{attributes:[],computedValue:"arg0",displayName:"value",floatValue:0,intValue:0,name:"value",type:1,value:"arg0"},{attributes:[],computedValue:"",displayName:"testValue",floatValue:0,intValue:0,name:"testValue",type:1,value:""},{attributes:[],computedValue:"",displayName:"context",floatValue:0,intValue:0,name:"context",type:1,value:""}],computedValue:"",displayName:"mapping",floatValue:0,intValue:0,name:"mapping",type:2,value:""},{attributes:[{attributes:[{attributes:[],computedValue:"page",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"page"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""},{attributes:[{attributes:[],computedValue:"limit",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"limit"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"1",floatValue:0,intValue:0,name:"1",type:2,value:""},{attributes:[{attributes:[],computedValue:"offset",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"offset"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"2",floatValue:0,intValue:0,name:"2",type:2,value:""},{attributes:[{attributes:[],computedValue:"searchString",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"searchString"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"3",floatValue:0,intValue:0,name:"3",type:2,value:""}],computedValue:"",displayName:"flags",floatValue:0,intValue:0,name:"flags",type:4,value:""}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""}],computedValue:"",displayName:"params",floatValue:0,intValue:0,name:"params",type:4,value:""}],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""},{attributes:[],computedValue:"",displayName:"params",floatValue:0,intValue:0,name:"params",type:4,value:""},{attributes:[],computedValue:"crud_adaptor",displayName:"plugin",floatValue:0,intValue:0,name:"plugin",type:1,value:"crud_adaptor"},{attributes:[{attributes:[],computedValue:"pane",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"pane"},{attributes:[],computedValue:"undefined",displayName:"query",floatValue:0,intValue:0,name:"query",type:0,value:"undefined"},{attributes:[],computedValue:"undefined",displayName:"trackBy",floatValue:0,intValue:0,name:"trackBy",type:0,value:"undefined"},{attributes:[],computedValue:"",displayName:"bindings",floatValue:0,intValue:0,name:"bindings",type:4,value:""}],computedValue:"",displayName:"renderer",floatValue:0,intValue:0,name:"renderer",type:2,value:""}],computedValue:"",displayName:"datasource",floatValue:0,intValue:0,name:"datasource",type:2,value:""}],computedValue:"",displayName:"2",floatValue:0,intValue:0,name:"2",type:2,value:""}],computedValue:"",displayName:"contexts",floatValue:0,intValue:0,name:"contexts",type:4,value:""},{attributes:[{attributes:[{attributes:[],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""}],computedValue:"",displayName:"rowSettings",floatValue:0,intValue:0,name:"rowSettings",type:4,value:""},{attributes:[{attributes:[],computedValue:"",displayName:"readUserIds",floatValue:0,intValue:0,name:"readUserIds",type:4,value:""},{attributes:[],computedValue:"",displayName:"writeUserIds",floatValue:0,intValue:0,name:"writeUserIds",type:4,value:""},{attributes:[],computedValue:"",displayName:"deleteUserIds",floatValue:0,intValue:0,name:"deleteUserIds",type:4,value:""}],computedValue:"",displayName:"entityPermissions",floatValue:0,intValue:0,name:"entityPermissions",type:2,value:""},{attributes:[],computedValue:"undefined",displayName:"id",floatValue:0,intValue:0,name:"id",type:0,value:"undefined"},{attributes:[],computedValue:"split",displayName:"layoutType",floatValue:0,intValue:0,name:"layoutType",type:1,value:"split"},{attributes:[],computedValue:"form",displayName:"displayType",floatValue:0,intValue:0,name:"displayType",type:1,value:"form"},{attributes:[],computedValue:"nested_form",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"nested_form"},{attributes:[],computedValue:"nested_form",displayName:"title",floatValue:0,intValue:0,name:"title",type:1,value:"nested_form"},{attributes:[],computedValue:"spearhead",displayName:"site",floatValue:0,intValue:0,name:"site",type:1,value:"spearhead"},{attributes:[],computedValue:"undefined",displayName:"userId",floatValue:0,intValue:0,name:"userId",type:0,value:"undefined"},{attributes:[],computedValue:"undefined",displayName:"path",floatValue:0,intValue:0,name:"path",type:0,value:"undefined"},{attributes:[{attributes:[{attributes:[],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""},{attributes:[],computedValue:"undefined",displayName:"plugin",floatValue:0,intValue:0,name:"plugin",type:0,value:"undefined"}],computedValue:"",displayName:"dataduct",floatValue:0,intValue:0,name:"dataduct",type:2,value:""}],computedValue:"",displayName:"persistence",floatValue:0,intValue:0,name:"persistence",type:2,value:""},{attributes:[{attributes:[],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""}],computedValue:"",displayName:"layoutSetting",floatValue:0,intValue:0,name:"layoutSetting",type:2,value:""}]},{contentPlugin:"panel",label:"",linkedPageId:"",locked:!1,name:"",rule:{condition:"",field:"",operator:"",rules:[],value:""},settings:[{attributes:[{attributes:[{attributes:[],computedValue:"100",displayName:"cols",floatValue:0,intValue:0,name:"cols",type:0,value:"100"},{attributes:[],computedValue:"1",displayName:"rows",floatValue:0,intValue:0,name:"rows",type:0,value:"1"},{attributes:[],computedValue:"0",displayName:"x",floatValue:0,intValue:0,name:"x",type:0,value:"0"},{attributes:[],computedValue:"0",displayName:"y",floatValue:0,intValue:0,name:"y",type:0,value:"0"},{attributes:[],computedValue:"0",displayName:"weight",floatValue:0,intValue:0,name:"weight",type:0,value:"0"}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""}],computedValue:"",displayName:"gridItems",floatValue:0,intValue:0,name:"gridItems",type:4,value:""},{attributes:[{attributes:[{attributes:[{attributes:[],computedValue:"$.ad.results[0].terms",displayName:"valuesMapping",floatValue:0,intValue:0,name:"valuesMapping",type:1,value:"$.ad.results[0].terms"}],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""},{attributes:[{attributes:[{attributes:[{attributes:[{attributes:[{attributes:[],computedValue:"100",displayName:"cols",floatValue:0,intValue:0,name:"cols",type:0,value:"100"},{attributes:[],computedValue:"1",displayName:"rows",floatValue:0,intValue:0,name:"rows",type:0,value:"1"},{attributes:[],computedValue:"0",displayName:"x",floatValue:0,intValue:0,name:"x",type:0,value:"0"},{attributes:[],computedValue:"0",displayName:"y",floatValue:0,intValue:0,name:"y",type:0,value:"0"},{attributes:[],computedValue:"0",displayName:"weight",floatValue:0,intValue:0,name:"weight",type:0,value:"0"}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""}],computedValue:"",displayName:"gridItems",floatValue:0,intValue:0,name:"gridItems",type:4,value:""},{attributes:[{attributes:[{attributes:[],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""},{attributes:[{attributes:[{attributes:[{attributes:[],computedValue:"[ad.results.0.terms.$i.humanName]",displayName:"value",floatValue:0,intValue:0,name:"value",type:1,value:"[ad.results.0.terms.$i.humanName]"},{attributes:[{attributes:[],computedValue:"pane",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"pane"},{attributes:[],computedValue:"",displayName:"id",floatValue:0,intValue:0,name:"id",type:1,value:""}],computedValue:"",displayName:"datasourceBinding",floatValue:0,intValue:0,name:"datasourceBinding",type:2,value:""}],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""},{attributes:[],computedValue:"false",displayName:"locked",floatValue:0,intValue:0,name:"locked",type:5,value:"false"},{attributes:[],computedValue:"",displayName:"contexts",floatValue:0,intValue:0,name:"contexts",type:4,value:""},{attributes:[],computedValue:"humanName",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"humanName"},{attributes:[],computedValue:"humanName",displayName:"label",floatValue:0,intValue:0,name:"label",type:1,value:"humanName"},{attributes:[],computedValue:"form_input",displayName:"contentPlugin",floatValue:0,intValue:0,name:"contentPlugin",type:1,value:"form_input"},{attributes:[{attributes:[],computedValue:"",displayName:"condition",floatValue:0,intValue:0,name:"condition",type:1,value:""},{attributes:[],computedValue:"",displayName:"rules",floatValue:0,intValue:0,name:"rules",type:4,value:""}],computedValue:"",displayName:"rule",floatValue:0,intValue:0,name:"rule",type:2,value:""}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""},{attributes:[{attributes:[{attributes:[{attributes:[{attributes:[],computedValue:"100",displayName:"cols",floatValue:0,intValue:0,name:"cols",type:0,value:"100"},{attributes:[],computedValue:"1",displayName:"rows",floatValue:0,intValue:0,name:"rows",type:0,value:"1"},{attributes:[],computedValue:"0",displayName:"x",floatValue:0,intValue:0,name:"x",type:0,value:"0"},{attributes:[],computedValue:"0",displayName:"y",floatValue:0,intValue:0,name:"y",type:0,value:"0"},{attributes:[],computedValue:"0",displayName:"weight",floatValue:0,intValue:0,name:"weight",type:0,value:"0"}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""}],computedValue:"",displayName:"gridItems",floatValue:0,intValue:0,name:"gridItems",type:4,value:""},{attributes:[{attributes:[{attributes:[{attributes:[],computedValue:"$.ad.results[0].terms[$i].terms",displayName:"valuesMapping",floatValue:0,intValue:0,name:"valuesMapping",type:1,value:"$.ad.results[0].terms[$i].terms"}],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""},{attributes:[{attributes:[{attributes:[{attributes:[{attributes:[{attributes:[],computedValue:"100",displayName:"cols",floatValue:0,intValue:0,name:"cols",type:0,value:"100"},{attributes:[],computedValue:"1",displayName:"rows",floatValue:0,intValue:0,name:"rows",type:0,value:"1"},{attributes:[],computedValue:"0",displayName:"x",floatValue:0,intValue:0,name:"x",type:0,value:"0"},{attributes:[],computedValue:"0",displayName:"y",floatValue:0,intValue:0,name:"y",type:0,value:"0"},{attributes:[],computedValue:"0",displayName:"weight",floatValue:0,intValue:0,name:"weight",type:0,value:"0"}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""}],computedValue:"",displayName:"gridItems",floatValue:0,intValue:0,name:"gridItems",type:4,value:""},{attributes:[{attributes:[{attributes:[],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""},{attributes:[{attributes:[{attributes:[{attributes:[],computedValue:"[ad.results.0.terms.$i.terms.$i.humanName]",displayName:"value",floatValue:0,intValue:0,name:"value",type:1,value:"[ad.results.0.terms.$i.terms.$i.humanName]"},{attributes:[{attributes:[],computedValue:"pane",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"pane"},{attributes:[],computedValue:"",displayName:"id",floatValue:0,intValue:0,name:"id",type:1,value:""}],computedValue:"",displayName:"datasourceBinding",floatValue:0,intValue:0,name:"datasourceBinding",type:2,value:""}],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""},{attributes:[],computedValue:"false",displayName:"locked",floatValue:0,intValue:0,name:"locked",type:5,value:"false"},{attributes:[],computedValue:"",displayName:"contexts",floatValue:0,intValue:0,name:"contexts",type:4,value:""},{attributes:[],computedValue:"humanName",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"humanName"},{attributes:[],computedValue:"humanName",displayName:"label",floatValue:0,intValue:0,name:"label",type:1,value:"humanName"},{attributes:[],computedValue:"form_input",displayName:"contentPlugin",floatValue:0,intValue:0,name:"contentPlugin",type:1,value:"form_input"},{attributes:[{attributes:[],computedValue:"",displayName:"condition",floatValue:0,intValue:0,name:"condition",type:1,value:""},{attributes:[],computedValue:"",displayName:"rules",floatValue:0,intValue:0,name:"rules",type:4,value:""}],computedValue:"",displayName:"rule",floatValue:0,intValue:0,name:"rule",type:2,value:""}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""}],computedValue:"",displayName:"panes",floatValue:0,intValue:0,name:"panes",type:4,value:""},{attributes:[],computedValue:"undefined",displayName:"name",floatValue:0,intValue:0,name:"name",type:0,value:"undefined"},{attributes:[],computedValue:"undefined",displayName:"label",floatValue:0,intValue:0,name:"label",type:0,value:"undefined"},{attributes:[],computedValue:"",displayName:"stylePlugin",floatValue:0,intValue:0,name:"stylePlugin",type:1,value:""},{attributes:[{attributes:[],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""}],computedValue:"",displayName:"columnSetting",floatValue:0,intValue:0,name:"columnSetting",type:2,value:""}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""}],computedValue:"",displayName:"panels",floatValue:0,intValue:0,name:"panels",type:4,value:""},{attributes:[{attributes:[{attributes:[],computedValue:"terms",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"terms"},{attributes:[],computedValue:"data",displayName:"adaptor",floatValue:0,intValue:0,name:"adaptor",type:1,value:"data"},{attributes:[],computedValue:"state",displayName:"plugin",floatValue:0,intValue:0,name:"plugin",type:1,value:"state"},{attributes:[{attributes:[{attributes:[],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""},{attributes:[],computedValue:"",displayName:"1",floatValue:0,intValue:0,name:"1",type:2,value:""},{attributes:[],computedValue:"",displayName:"2",floatValue:0,intValue:0,name:"2",type:2,value:""}],computedValue:"",displayName:"value",floatValue:0,intValue:0,name:"value",type:4,value:""}],computedValue:"",displayName:"data",floatValue:0,intValue:0,name:"data",type:2,value:""}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""},{attributes:[{attributes:[],computedValue:"characters",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"characters"},{attributes:[],computedValue:"datasource",displayName:"adaptor",floatValue:0,intValue:0,name:"adaptor",type:1,value:"datasource"},{attributes:[],computedValue:"datasource",displayName:"plugin",floatValue:0,intValue:0,name:"plugin",type:1,value:"datasource"},{attributes:[{attributes:[{attributes:[],computedValue:'[{"id":1,"name":"batman"},{"id":2,"name":"superman"}]',displayName:"data",floatValue:0,intValue:0,name:"data",type:1,value:'[{"id":1,"name":"batman"},{"id":2,"name":"superman"}]'}],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""},{attributes:[],computedValue:"",displayName:"params",floatValue:0,intValue:0,name:"params",type:4,value:""},{attributes:[],computedValue:"data",displayName:"plugin",floatValue:0,intValue:0,name:"plugin",type:1,value:"data"},{attributes:[{attributes:[],computedValue:"pane",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"pane"},{attributes:[],computedValue:"undefined",displayName:"query",floatValue:0,intValue:0,name:"query",type:0,value:"undefined"},{attributes:[],computedValue:"undefined",displayName:"trackBy",floatValue:0,intValue:0,name:"trackBy",type:0,value:"undefined"},{attributes:[],computedValue:"",displayName:"bindings",floatValue:0,intValue:0,name:"bindings",type:4,value:""}],computedValue:"",displayName:"renderer",floatValue:0,intValue:0,name:"renderer",type:2,value:""}],computedValue:"",displayName:"datasource",floatValue:0,intValue:0,name:"datasource",type:2,value:""}],computedValue:"",displayName:"1",floatValue:0,intValue:0,name:"1",type:2,value:""},{attributes:[{attributes:[],computedValue:"ad",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"ad"},{attributes:[],computedValue:"datasource",displayName:"adaptor",floatValue:0,intValue:0,name:"adaptor",type:1,value:"datasource"},{attributes:[],computedValue:"datasource",displayName:"plugin",floatValue:0,intValue:0,name:"plugin",type:1,value:"datasource"},{attributes:[{attributes:[{attributes:[],computedValue:"aws_s3_entity",displayName:"adaptorName",floatValue:0,intValue:0,name:"adaptorName",type:1,value:"aws_s3_entity"},{attributes:[],computedValue:"bucket=:bucket&prefix=:prefix",displayName:"optionsString",floatValue:0,intValue:0,name:"optionsString",type:1,value:"bucket=:bucket&prefix=:prefix"},{attributes:[],computedValue:"identity=:identity",displayName:"paramsString",floatValue:0,intValue:0,name:"paramsString",type:1,value:"identity=:identity"},{attributes:[{attributes:[{attributes:[{attributes:[],computedValue:"static",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"static"},{attributes:[],computedValue:"classifieds-ui-prod",displayName:"value",floatValue:0,intValue:0,name:"value",type:1,value:"classifieds-ui-prod"},{attributes:[],computedValue:"classifieds-ui-prod",displayName:"testValue",floatValue:0,intValue:0,name:"testValue",type:1,value:"classifieds-ui-prod"},{attributes:[],computedValue:"",displayName:"context",floatValue:0,intValue:0,name:"context",type:1,value:""}],computedValue:"",displayName:"mapping",floatValue:0,intValue:0,name:"mapping",type:2,value:""},{attributes:[{attributes:[{attributes:[],computedValue:"page",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"page"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""},{attributes:[{attributes:[],computedValue:"limit",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"limit"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"1",floatValue:0,intValue:0,name:"1",type:2,value:""},{attributes:[{attributes:[],computedValue:"offset",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"offset"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"2",floatValue:0,intValue:0,name:"2",type:2,value:""},{attributes:[{attributes:[],computedValue:"searchString",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"searchString"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"3",floatValue:0,intValue:0,name:"3",type:2,value:""}],computedValue:"",displayName:"flags",floatValue:0,intValue:0,name:"flags",type:4,value:""}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""},{attributes:[{attributes:[{attributes:[],computedValue:"static",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"static"},{attributes:[],computedValue:"ads/",displayName:"value",floatValue:0,intValue:0,name:"value",type:1,value:"ads/"},{attributes:[],computedValue:"ads/",displayName:"testValue",floatValue:0,intValue:0,name:"testValue",type:1,value:"ads/"},{attributes:[],computedValue:"",displayName:"context",floatValue:0,intValue:0,name:"context",type:1,value:""}],computedValue:"",displayName:"mapping",floatValue:0,intValue:0,name:"mapping",type:2,value:""},{attributes:[{attributes:[{attributes:[],computedValue:"page",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"page"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""},{attributes:[{attributes:[],computedValue:"limit",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"limit"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"1",floatValue:0,intValue:0,name:"1",type:2,value:""},{attributes:[{attributes:[],computedValue:"offset",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"offset"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"2",floatValue:0,intValue:0,name:"2",type:2,value:""},{attributes:[{attributes:[],computedValue:"searchString",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"searchString"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"3",floatValue:0,intValue:0,name:"3",type:2,value:""}],computedValue:"",displayName:"flags",floatValue:0,intValue:0,name:"flags",type:4,value:""}],computedValue:"",displayName:"1",floatValue:0,intValue:0,name:"1",type:2,value:""}],computedValue:"",displayName:"options",floatValue:0,intValue:0,name:"options",type:4,value:""},{attributes:[{attributes:[{attributes:[{attributes:[],computedValue:"route",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"route"},{attributes:[],computedValue:"arg0",displayName:"value",floatValue:0,intValue:0,name:"value",type:1,value:"arg0"},{attributes:[],computedValue:"",displayName:"testValue",floatValue:0,intValue:0,name:"testValue",type:1,value:""},{attributes:[],computedValue:"",displayName:"context",floatValue:0,intValue:0,name:"context",type:1,value:""}],computedValue:"",displayName:"mapping",floatValue:0,intValue:0,name:"mapping",type:2,value:""},{attributes:[{attributes:[{attributes:[],computedValue:"page",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"page"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""},{attributes:[{attributes:[],computedValue:"limit",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"limit"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"1",floatValue:0,intValue:0,name:"1",type:2,value:""},{attributes:[{attributes:[],computedValue:"offset",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"offset"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"2",floatValue:0,intValue:0,name:"2",type:2,value:""},{attributes:[{attributes:[],computedValue:"searchString",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"searchString"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"3",floatValue:0,intValue:0,name:"3",type:2,value:""}],computedValue:"",displayName:"flags",floatValue:0,intValue:0,name:"flags",type:4,value:""}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""}],computedValue:"",displayName:"params",floatValue:0,intValue:0,name:"params",type:4,value:""}],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""},{attributes:[],computedValue:"",displayName:"params",floatValue:0,intValue:0,name:"params",type:4,value:""},{attributes:[],computedValue:"crud_adaptor",displayName:"plugin",floatValue:0,intValue:0,name:"plugin",type:1,value:"crud_adaptor"},{attributes:[{attributes:[],computedValue:"pane",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"pane"},{attributes:[],computedValue:"undefined",displayName:"query",floatValue:0,intValue:0,name:"query",type:0,value:"undefined"},{attributes:[],computedValue:"undefined",displayName:"trackBy",floatValue:0,intValue:0,name:"trackBy",type:0,value:"undefined"},{attributes:[],computedValue:"",displayName:"bindings",floatValue:0,intValue:0,name:"bindings",type:4,value:""}],computedValue:"",displayName:"renderer",floatValue:0,intValue:0,name:"renderer",type:2,value:""}],computedValue:"",displayName:"datasource",floatValue:0,intValue:0,name:"datasource",type:2,value:""}],computedValue:"",displayName:"2",floatValue:0,intValue:0,name:"2",type:2,value:""}],computedValue:"",displayName:"contexts",floatValue:0,intValue:0,name:"contexts",type:4,value:""},{attributes:[{attributes:[{attributes:[],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""}],computedValue:"",displayName:"rowSettings",floatValue:0,intValue:0,name:"rowSettings",type:4,value:""},{attributes:[{attributes:[],computedValue:"",displayName:"readUserIds",floatValue:0,intValue:0,name:"readUserIds",type:4,value:""},{attributes:[],computedValue:"",displayName:"writeUserIds",floatValue:0,intValue:0,name:"writeUserIds",type:4,value:""},{attributes:[],computedValue:"",displayName:"deleteUserIds",floatValue:0,intValue:0,name:"deleteUserIds",type:4,value:""}],computedValue:"",displayName:"entityPermissions",floatValue:0,intValue:0,name:"entityPermissions",type:2,value:""},{attributes:[],computedValue:"undefined",displayName:"id",floatValue:0,intValue:0,name:"id",type:0,value:"undefined"},{attributes:[],computedValue:"split",displayName:"layoutType",floatValue:0,intValue:0,name:"layoutType",type:1,value:"split"},{attributes:[],computedValue:"form",displayName:"displayType",floatValue:0,intValue:0,name:"displayType",type:1,value:"form"},{attributes:[],computedValue:"terms_form2",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"terms_form2"},{attributes:[],computedValue:"terms_form2",displayName:"title",floatValue:0,intValue:0,name:"title",type:1,value:"terms_form2"},{attributes:[],computedValue:"spearhead",displayName:"site",floatValue:0,intValue:0,name:"site",type:1,value:"spearhead"},{attributes:[],computedValue:"undefined",displayName:"userId",floatValue:0,intValue:0,name:"userId",type:0,value:"undefined"},{attributes:[],computedValue:"undefined",displayName:"path",floatValue:0,intValue:0,name:"path",type:0,value:"undefined"},{attributes:[{attributes:[{attributes:[],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""},{attributes:[],computedValue:"undefined",displayName:"plugin",floatValue:0,intValue:0,name:"plugin",type:0,value:"undefined"}],computedValue:"",displayName:"dataduct",floatValue:0,intValue:0,name:"dataduct",type:2,value:""}],computedValue:"",displayName:"persistence",floatValue:0,intValue:0,name:"persistence",type:2,value:""},{attributes:[{attributes:[],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""}],computedValue:"",displayName:"layoutSetting",floatValue:0,intValue:0,name:"layoutSetting",type:2,value:""}],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""},{attributes:[],computedValue:"false",displayName:"locked",floatValue:0,intValue:0,name:"locked",type:5,value:"false"},{attributes:[],computedValue:"",displayName:"contexts",floatValue:0,intValue:0,name:"contexts",type:4,value:""},{attributes:[],computedValue:"terms",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"terms"},{attributes:[],computedValue:"terms",displayName:"label",floatValue:0,intValue:0,name:"label",type:1,value:"terms"},{attributes:[],computedValue:"panel",displayName:"contentPlugin",floatValue:0,intValue:0,name:"contentPlugin",type:1,value:"panel"},{attributes:[{attributes:[],computedValue:"",displayName:"condition",floatValue:0,intValue:0,name:"condition",type:1,value:""},{attributes:[],computedValue:"",displayName:"rules",floatValue:0,intValue:0,name:"rules",type:4,value:""}],computedValue:"",displayName:"rule",floatValue:0,intValue:0,name:"rule",type:2,value:""}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""}],computedValue:"",displayName:"panes",floatValue:0,intValue:0,name:"panes",type:4,value:""},{attributes:[],computedValue:"undefined",displayName:"name",floatValue:0,intValue:0,name:"name",type:0,value:"undefined"},{attributes:[],computedValue:"undefined",displayName:"label",floatValue:0,intValue:0,name:"label",type:0,value:"undefined"},{attributes:[],computedValue:"form_section",displayName:"stylePlugin",floatValue:0,intValue:0,name:"stylePlugin",type:1,value:"form_section"},{attributes:[{attributes:[],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""}],computedValue:"",displayName:"columnSetting",floatValue:0,intValue:0,name:"columnSetting",type:2,value:""}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""}],computedValue:"",displayName:"panels",floatValue:0,intValue:0,name:"panels",type:4,value:""},{attributes:[{attributes:[{attributes:[],computedValue:"terms",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"terms"},{attributes:[],computedValue:"data",displayName:"adaptor",floatValue:0,intValue:0,name:"adaptor",type:1,value:"data"},{attributes:[],computedValue:"state",displayName:"plugin",floatValue:0,intValue:0,name:"plugin",type:1,value:"state"},{attributes:[{attributes:[{attributes:[],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""},{attributes:[],computedValue:"",displayName:"1",floatValue:0,intValue:0,name:"1",type:2,value:""},{attributes:[],computedValue:"",displayName:"2",floatValue:0,intValue:0,name:"2",type:2,value:""}],computedValue:"",displayName:"value",floatValue:0,intValue:0,name:"value",type:4,value:""}],computedValue:"",displayName:"data",floatValue:0,intValue:0,name:"data",type:2,value:""}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""},{attributes:[{attributes:[],computedValue:"characters",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"characters"},{attributes:[],computedValue:"datasource",displayName:"adaptor",floatValue:0,intValue:0,name:"adaptor",type:1,value:"datasource"},{attributes:[],computedValue:"datasource",displayName:"plugin",floatValue:0,intValue:0,name:"plugin",type:1,value:"datasource"},{attributes:[{attributes:[{attributes:[],computedValue:'[{"id":1,"name":"batman"},{"id":2,"name":"superman"}]',displayName:"data",floatValue:0,intValue:0,name:"data",type:1,value:'[{"id":1,"name":"batman"},{"id":2,"name":"superman"}]'}],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""},{attributes:[],computedValue:"",displayName:"params",floatValue:0,intValue:0,name:"params",type:4,value:""},{attributes:[],computedValue:"data",displayName:"plugin",floatValue:0,intValue:0,name:"plugin",type:1,value:"data"},{attributes:[{attributes:[],computedValue:"pane",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"pane"},{attributes:[],computedValue:"undefined",displayName:"query",floatValue:0,intValue:0,name:"query",type:0,value:"undefined"},{attributes:[],computedValue:"undefined",displayName:"trackBy",floatValue:0,intValue:0,name:"trackBy",type:0,value:"undefined"},{attributes:[],computedValue:"",displayName:"bindings",floatValue:0,intValue:0,name:"bindings",type:4,value:""}],computedValue:"",displayName:"renderer",floatValue:0,intValue:0,name:"renderer",type:2,value:""}],computedValue:"",displayName:"datasource",floatValue:0,intValue:0,name:"datasource",type:2,value:""}],computedValue:"",displayName:"1",floatValue:0,intValue:0,name:"1",type:2,value:""},{attributes:[{attributes:[],computedValue:"ad",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"ad"},{attributes:[],computedValue:"datasource",displayName:"adaptor",floatValue:0,intValue:0,name:"adaptor",type:1,value:"datasource"},{attributes:[],computedValue:"datasource",displayName:"plugin",floatValue:0,intValue:0,name:"plugin",type:1,value:"datasource"},{attributes:[{attributes:[{attributes:[],computedValue:"aws_s3_entity",displayName:"adaptorName",floatValue:0,intValue:0,name:"adaptorName",type:1,value:"aws_s3_entity"},{attributes:[],computedValue:"bucket=:bucket&prefix=:prefix",displayName:"optionsString",floatValue:0,intValue:0,name:"optionsString",type:1,value:"bucket=:bucket&prefix=:prefix"},{attributes:[],computedValue:"identity=:identity",displayName:"paramsString",floatValue:0,intValue:0,name:"paramsString",type:1,value:"identity=:identity"},{attributes:[{attributes:[{attributes:[{attributes:[],computedValue:"static",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"static"},{attributes:[],computedValue:"classifieds-ui-prod",displayName:"value",floatValue:0,intValue:0,name:"value",type:1,value:"classifieds-ui-prod"},{attributes:[],computedValue:"classifieds-ui-prod",displayName:"testValue",floatValue:0,intValue:0,name:"testValue",type:1,value:"classifieds-ui-prod"},{attributes:[],computedValue:"",displayName:"context",floatValue:0,intValue:0,name:"context",type:1,value:""}],computedValue:"",displayName:"mapping",floatValue:0,intValue:0,name:"mapping",type:2,value:""},{attributes:[{attributes:[{attributes:[],computedValue:"page",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"page"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""},{attributes:[{attributes:[],computedValue:"limit",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"limit"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"1",floatValue:0,intValue:0,name:"1",type:2,value:""},{attributes:[{attributes:[],computedValue:"offset",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"offset"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"2",floatValue:0,intValue:0,name:"2",type:2,value:""},{attributes:[{attributes:[],computedValue:"searchString",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"searchString"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"3",floatValue:0,intValue:0,name:"3",type:2,value:""}],computedValue:"",displayName:"flags",floatValue:0,intValue:0,name:"flags",type:4,value:""}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""},{attributes:[{attributes:[{attributes:[],computedValue:"static",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"static"},{attributes:[],computedValue:"ads/",displayName:"value",floatValue:0,intValue:0,name:"value",type:1,value:"ads/"},{attributes:[],computedValue:"ads/",displayName:"testValue",floatValue:0,intValue:0,name:"testValue",type:1,value:"ads/"},{attributes:[],computedValue:"",displayName:"context",floatValue:0,intValue:0,name:"context",type:1,value:""}],computedValue:"",displayName:"mapping",floatValue:0,intValue:0,name:"mapping",type:2,value:""},{attributes:[{attributes:[{attributes:[],computedValue:"page",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"page"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""},{attributes:[{attributes:[],computedValue:"limit",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"limit"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"1",floatValue:0,intValue:0,name:"1",type:2,value:""},{attributes:[{attributes:[],computedValue:"offset",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"offset"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"2",floatValue:0,intValue:0,name:"2",type:2,value:""},{attributes:[{attributes:[],computedValue:"searchString",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"searchString"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"3",floatValue:0,intValue:0,name:"3",type:2,value:""}],computedValue:"",displayName:"flags",floatValue:0,intValue:0,name:"flags",type:4,value:""}],computedValue:"",displayName:"1",floatValue:0,intValue:0,name:"1",type:2,value:""}],computedValue:"",displayName:"options",floatValue:0,intValue:0,name:"options",type:4,value:""},{attributes:[{attributes:[{attributes:[{attributes:[],computedValue:"route",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"route"},{attributes:[],computedValue:"arg0",displayName:"value",floatValue:0,intValue:0,name:"value",type:1,value:"arg0"},{attributes:[],computedValue:"",displayName:"testValue",floatValue:0,intValue:0,name:"testValue",type:1,value:""},{attributes:[],computedValue:"",displayName:"context",floatValue:0,intValue:0,name:"context",type:1,value:""}],computedValue:"",displayName:"mapping",floatValue:0,intValue:0,name:"mapping",type:2,value:""},{attributes:[{attributes:[{attributes:[],computedValue:"page",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"page"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""},{attributes:[{attributes:[],computedValue:"limit",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"limit"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"1",floatValue:0,intValue:0,name:"1",type:2,value:""},{attributes:[{attributes:[],computedValue:"offset",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"offset"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"2",floatValue:0,intValue:0,name:"2",type:2,value:""},{attributes:[{attributes:[],computedValue:"searchString",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"searchString"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"3",floatValue:0,intValue:0,name:"3",type:2,value:""}],computedValue:"",displayName:"flags",floatValue:0,intValue:0,name:"flags",type:4,value:""}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""}],computedValue:"",displayName:"params",floatValue:0,intValue:0,name:"params",type:4,value:""}],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""},{attributes:[],computedValue:"",displayName:"params",floatValue:0,intValue:0,name:"params",type:4,value:""},{attributes:[],computedValue:"crud_adaptor",displayName:"plugin",floatValue:0,intValue:0,name:"plugin",type:1,value:"crud_adaptor"},{attributes:[{attributes:[],computedValue:"pane",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"pane"},{attributes:[],computedValue:"undefined",displayName:"query",floatValue:0,intValue:0,name:"query",type:0,value:"undefined"},{attributes:[],computedValue:"undefined",displayName:"trackBy",floatValue:0,intValue:0,name:"trackBy",type:0,value:"undefined"},{attributes:[],computedValue:"",displayName:"bindings",floatValue:0,intValue:0,name:"bindings",type:4,value:""}],computedValue:"",displayName:"renderer",floatValue:0,intValue:0,name:"renderer",type:2,value:""}],computedValue:"",displayName:"datasource",floatValue:0,intValue:0,name:"datasource",type:2,value:""}],computedValue:"",displayName:"2",floatValue:0,intValue:0,name:"2",type:2,value:""}],computedValue:"",displayName:"contexts",floatValue:0,intValue:0,name:"contexts",type:4,value:""},{attributes:[{attributes:[{attributes:[],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""}],computedValue:"",displayName:"rowSettings",floatValue:0,intValue:0,name:"rowSettings",type:4,value:""},{attributes:[{attributes:[],computedValue:"",displayName:"readUserIds",floatValue:0,intValue:0,name:"readUserIds",type:4,value:""},{attributes:[],computedValue:"",displayName:"writeUserIds",floatValue:0,intValue:0,name:"writeUserIds",type:4,value:""},{attributes:[],computedValue:"",displayName:"deleteUserIds",floatValue:0,intValue:0,name:"deleteUserIds",type:4,value:""}],computedValue:"",displayName:"entityPermissions",floatValue:0,intValue:0,name:"entityPermissions",type:2,value:""},{attributes:[],computedValue:"undefined",displayName:"id",floatValue:0,intValue:0,name:"id",type:0,value:"undefined"},{attributes:[],computedValue:"split",displayName:"layoutType",floatValue:0,intValue:0,name:"layoutType",type:1,value:"split"},{attributes:[],computedValue:"form",displayName:"displayType",floatValue:0,intValue:0,name:"displayType",type:1,value:"form"},{attributes:[],computedValue:"undefined",displayName:"name",floatValue:0,intValue:0,name:"name",type:0,value:"undefined"},{attributes:[],computedValue:"undefined",displayName:"title",floatValue:0,intValue:0,name:"title",type:0,value:"undefined"},{attributes:[],computedValue:"spearhead",displayName:"site",floatValue:0,intValue:0,name:"site",type:1,value:"spearhead"},{attributes:[],computedValue:"undefined",displayName:"userId",floatValue:0,intValue:0,name:"userId",type:0,value:"undefined"},{attributes:[],computedValue:"undefined",displayName:"path",floatValue:0,intValue:0,name:"path",type:0,value:"undefined"},{attributes:[{attributes:[{attributes:[],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""},{attributes:[],computedValue:"undefined",displayName:"plugin",floatValue:0,intValue:0,name:"plugin",type:0,value:"undefined"}],computedValue:"",displayName:"dataduct",floatValue:0,intValue:0,name:"dataduct",type:2,value:""}],computedValue:"",displayName:"persistence",floatValue:0,intValue:0,name:"persistence",type:2,value:""},{attributes:[{attributes:[],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""}],computedValue:"",displayName:"layoutSetting",floatValue:0,intValue:0,name:"layoutSetting",type:2,value:""}],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""},{attributes:[],computedValue:"false",displayName:"locked",floatValue:0,intValue:0,name:"locked",type:5,value:"false"},{attributes:[],computedValue:"",displayName:"contexts",floatValue:0,intValue:0,name:"contexts",type:4,value:""},{attributes:[],computedValue:"",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:""},{attributes:[],computedValue:"",displayName:"label",floatValue:0,intValue:0,name:"label",type:1,value:""},{attributes:[],computedValue:"panel",displayName:"contentPlugin",floatValue:0,intValue:0,name:"contentPlugin",type:1,value:"panel"},{attributes:[{attributes:[],computedValue:"",displayName:"condition",floatValue:0,intValue:0,name:"condition",type:1,value:""},{attributes:[],computedValue:"",displayName:"rules",floatValue:0,intValue:0,name:"rules",type:4,value:""}],computedValue:"",displayName:"rule",floatValue:0,intValue:0,name:"rule",type:2,value:""}],computedValue:"",displayName:"1",floatValue:0,intValue:0,name:"1",type:2,value:""}],computedValue:"",displayName:"panes",floatValue:0,intValue:0,name:"panes",type:4,value:""},{attributes:[],computedValue:"undefined",displayName:"name",floatValue:0,intValue:0,name:"name",type:0,value:"undefined"},{attributes:[],computedValue:"undefined",displayName:"label",floatValue:0,intValue:0,name:"label",type:0,value:"undefined"},{attributes:[],computedValue:"",displayName:"stylePlugin",floatValue:0,intValue:0,name:"stylePlugin",type:1,value:""},{attributes:[{attributes:[],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""}],computedValue:"",displayName:"columnSetting",floatValue:0,intValue:0,name:"columnSetting",type:2,value:""}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""}],computedValue:"",displayName:"panels",floatValue:0,intValue:0,name:"panels",type:4,value:""},{attributes:[{attributes:[{attributes:[],computedValue:"terms",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"terms"},{attributes:[],computedValue:"data",displayName:"adaptor",floatValue:0,intValue:0,name:"adaptor",type:1,value:"data"},{attributes:[],computedValue:"state",displayName:"plugin",floatValue:0,intValue:0,name:"plugin",type:1,value:"state"},{attributes:[{attributes:[{attributes:[],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""},{attributes:[],computedValue:"",displayName:"1",floatValue:0,intValue:0,name:"1",type:2,value:""},{attributes:[],computedValue:"",displayName:"2",floatValue:0,intValue:0,name:"2",type:2,value:""}],computedValue:"",displayName:"value",floatValue:0,intValue:0,name:"value",type:4,value:""}],computedValue:"",displayName:"data",floatValue:0,intValue:0,name:"data",type:2,value:""}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""},{attributes:[{attributes:[],computedValue:"characters",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"characters"},{attributes:[],computedValue:"datasource",displayName:"adaptor",floatValue:0,intValue:0,name:"adaptor",type:1,value:"datasource"},{attributes:[],computedValue:"datasource",displayName:"plugin",floatValue:0,intValue:0,name:"plugin",type:1,value:"datasource"},{attributes:[{attributes:[{attributes:[],computedValue:'[{"id":1,"name":"batman"},{"id":2,"name":"superman"}]',displayName:"data",floatValue:0,intValue:0,name:"data",type:1,value:'[{"id":1,"name":"batman"},{"id":2,"name":"superman"}]'}],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""},{attributes:[],computedValue:"",displayName:"params",floatValue:0,intValue:0,name:"params",type:4,value:""},{attributes:[],computedValue:"data",displayName:"plugin",floatValue:0,intValue:0,name:"plugin",type:1,value:"data"},{attributes:[{attributes:[],computedValue:"pane",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"pane"},{attributes:[],computedValue:"undefined",displayName:"query",floatValue:0,intValue:0,name:"query",type:0,value:"undefined"},{attributes:[],computedValue:"undefined",displayName:"trackBy",floatValue:0,intValue:0,name:"trackBy",type:0,value:"undefined"},{attributes:[],computedValue:"",displayName:"bindings",floatValue:0,intValue:0,name:"bindings",type:4,value:""}],computedValue:"",displayName:"renderer",floatValue:0,intValue:0,name:"renderer",type:2,value:""}],computedValue:"",displayName:"datasource",floatValue:0,intValue:0,name:"datasource",type:2,value:""}],computedValue:"",displayName:"1",floatValue:0,intValue:0,name:"1",type:2,value:""},{attributes:[{attributes:[],computedValue:"ad",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"ad"},{attributes:[],computedValue:"datasource",displayName:"adaptor",floatValue:0,intValue:0,name:"adaptor",type:1,value:"datasource"},{attributes:[],computedValue:"datasource",displayName:"plugin",floatValue:0,intValue:0,name:"plugin",type:1,value:"datasource"},{attributes:[{attributes:[{attributes:[],computedValue:"aws_s3_entity",displayName:"adaptorName",floatValue:0,intValue:0,name:"adaptorName",type:1,value:"aws_s3_entity"},{attributes:[],computedValue:"bucket=:bucket&prefix=:prefix",displayName:"optionsString",floatValue:0,intValue:0,name:"optionsString",type:1,value:"bucket=:bucket&prefix=:prefix"},{attributes:[],computedValue:"identity=:identity",displayName:"paramsString",floatValue:0,intValue:0,name:"paramsString",type:1,value:"identity=:identity"},{attributes:[{attributes:[{attributes:[{attributes:[],computedValue:"static",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"static"},{attributes:[],computedValue:"classifieds-ui-prod",displayName:"value",floatValue:0,intValue:0,name:"value",type:1,value:"classifieds-ui-prod"},{attributes:[],computedValue:"classifieds-ui-prod",displayName:"testValue",floatValue:0,intValue:0,name:"testValue",type:1,value:"classifieds-ui-prod"},{attributes:[],computedValue:"",displayName:"context",floatValue:0,intValue:0,name:"context",type:1,value:""}],computedValue:"",displayName:"mapping",floatValue:0,intValue:0,name:"mapping",type:2,value:""},{attributes:[{attributes:[{attributes:[],computedValue:"page",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"page"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""},{attributes:[{attributes:[],computedValue:"limit",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"limit"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"1",floatValue:0,intValue:0,name:"1",type:2,value:""},{attributes:[{attributes:[],computedValue:"offset",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"offset"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"2",floatValue:0,intValue:0,name:"2",type:2,value:""},{attributes:[{attributes:[],computedValue:"searchString",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"searchString"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"3",floatValue:0,intValue:0,name:"3",type:2,value:""}],computedValue:"",displayName:"flags",floatValue:0,intValue:0,name:"flags",type:4,value:""}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""},{attributes:[{attributes:[{attributes:[],computedValue:"static",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"static"},{attributes:[],computedValue:"ads/",displayName:"value",floatValue:0,intValue:0,name:"value",type:1,value:"ads/"},{attributes:[],computedValue:"ads/",displayName:"testValue",floatValue:0,intValue:0,name:"testValue",type:1,value:"ads/"},{attributes:[],computedValue:"",displayName:"context",floatValue:0,intValue:0,name:"context",type:1,value:""}],computedValue:"",displayName:"mapping",floatValue:0,intValue:0,name:"mapping",type:2,value:""},{attributes:[{attributes:[{attributes:[],computedValue:"page",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"page"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""},{attributes:[{attributes:[],computedValue:"limit",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"limit"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"1",floatValue:0,intValue:0,name:"1",type:2,value:""},{attributes:[{attributes:[],computedValue:"offset",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"offset"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"2",floatValue:0,intValue:0,name:"2",type:2,value:""},{attributes:[{attributes:[],computedValue:"searchString",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"searchString"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"3",floatValue:0,intValue:0,name:"3",type:2,value:""}],computedValue:"",displayName:"flags",floatValue:0,intValue:0,name:"flags",type:4,value:""}],computedValue:"",displayName:"1",floatValue:0,intValue:0,name:"1",type:2,value:""}],computedValue:"",displayName:"options",floatValue:0,intValue:0,name:"options",type:4,value:""},{attributes:[{attributes:[{attributes:[{attributes:[],computedValue:"route",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"route"},{attributes:[],computedValue:"arg0",displayName:"value",floatValue:0,intValue:0,name:"value",type:1,value:"arg0"},{attributes:[],computedValue:"",displayName:"testValue",floatValue:0,intValue:0,name:"testValue",type:1,value:""},{attributes:[],computedValue:"",displayName:"context",floatValue:0,intValue:0,name:"context",type:1,value:""}],computedValue:"",displayName:"mapping",floatValue:0,intValue:0,name:"mapping",type:2,value:""},{attributes:[{attributes:[{attributes:[],computedValue:"page",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"page"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""},{attributes:[{attributes:[],computedValue:"limit",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"limit"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"1",floatValue:0,intValue:0,name:"1",type:2,value:""},{attributes:[{attributes:[],computedValue:"offset",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"offset"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"2",floatValue:0,intValue:0,name:"2",type:2,value:""},{attributes:[{attributes:[],computedValue:"searchString",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"searchString"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"3",floatValue:0,intValue:0,name:"3",type:2,value:""}],computedValue:"",displayName:"flags",floatValue:0,intValue:0,name:"flags",type:4,value:""}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""}],computedValue:"",displayName:"params",floatValue:0,intValue:0,name:"params",type:4,value:""}],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""},{attributes:[],computedValue:"",displayName:"params",floatValue:0,intValue:0,name:"params",type:4,value:""},{attributes:[],computedValue:"crud_adaptor",displayName:"plugin",floatValue:0,intValue:0,name:"plugin",type:1,value:"crud_adaptor"},{attributes:[{attributes:[],computedValue:"pane",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"pane"},{attributes:[],computedValue:"undefined",displayName:"query",floatValue:0,intValue:0,name:"query",type:0,value:"undefined"},{attributes:[],computedValue:"undefined",displayName:"trackBy",floatValue:0,intValue:0,name:"trackBy",type:0,value:"undefined"},{attributes:[],computedValue:"",displayName:"bindings",floatValue:0,intValue:0,name:"bindings",type:4,value:""}],computedValue:"",displayName:"renderer",floatValue:0,intValue:0,name:"renderer",type:2,value:""}],computedValue:"",displayName:"datasource",floatValue:0,intValue:0,name:"datasource",type:2,value:""}],computedValue:"",displayName:"2",floatValue:0,intValue:0,name:"2",type:2,value:""}],computedValue:"",displayName:"contexts",floatValue:0,intValue:0,name:"contexts",type:4,value:""},{attributes:[{attributes:[{attributes:[],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""}],computedValue:"",displayName:"rowSettings",floatValue:0,intValue:0,name:"rowSettings",type:4,value:""},{attributes:[{attributes:[],computedValue:"",displayName:"readUserIds",floatValue:0,intValue:0,name:"readUserIds",type:4,value:""},{attributes:[],computedValue:"",displayName:"writeUserIds",floatValue:0,intValue:0,name:"writeUserIds",type:4,value:""},{attributes:[],computedValue:"",displayName:"deleteUserIds",floatValue:0,intValue:0,name:"deleteUserIds",type:4,value:""}],computedValue:"",displayName:"entityPermissions",floatValue:0,intValue:0,name:"entityPermissions",type:2,value:""},{attributes:[],computedValue:"undefined",displayName:"id",floatValue:0,intValue:0,name:"id",type:0,value:"undefined"},{attributes:[],computedValue:"split",displayName:"layoutType",floatValue:0,intValue:0,name:"layoutType",type:1,value:"split"},{attributes:[],computedValue:"form",displayName:"displayType",floatValue:0,intValue:0,name:"displayType",type:1,value:"form"},{attributes:[],computedValue:"terms_form",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"terms_form"},{attributes:[],computedValue:"terms_form",displayName:"title",floatValue:0,intValue:0,name:"title",type:1,value:"terms_form"},{attributes:[],computedValue:"spearhead",displayName:"site",floatValue:0,intValue:0,name:"site",type:1,value:"spearhead"},{attributes:[],computedValue:"undefined",displayName:"userId",floatValue:0,intValue:0,name:"userId",type:0,value:"undefined"},{attributes:[],computedValue:"undefined",displayName:"path",floatValue:0,intValue:0,name:"path",type:0,value:"undefined"},{attributes:[{attributes:[{attributes:[],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""},{attributes:[],computedValue:"undefined",displayName:"plugin",floatValue:0,intValue:0,name:"plugin",type:0,value:"undefined"}],computedValue:"",displayName:"dataduct",floatValue:0,intValue:0,name:"dataduct",type:2,value:""}],computedValue:"",displayName:"persistence",floatValue:0,intValue:0,name:"persistence",type:2,value:""},{attributes:[{attributes:[],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""}],computedValue:"",displayName:"layoutSetting",floatValue:0,intValue:0,name:"layoutSetting",type:2,value:""}],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""},{attributes:[],computedValue:"false",displayName:"locked",floatValue:0,intValue:0,name:"locked",type:5,value:"false"},{attributes:[],computedValue:"",displayName:"contexts",floatValue:0,intValue:0,name:"contexts",type:4,value:""},{attributes:[],computedValue:"terms",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"terms"},{attributes:[],computedValue:"terms",displayName:"label",floatValue:0,intValue:0,name:"label",type:1,value:"terms"},{attributes:[],computedValue:"panel",displayName:"contentPlugin",floatValue:0,intValue:0,name:"contentPlugin",type:1,value:"panel"},{attributes:[{attributes:[],computedValue:"",displayName:"condition",floatValue:0,intValue:0,name:"condition",type:1,value:""},{attributes:[],computedValue:"",displayName:"rules",floatValue:0,intValue:0,name:"rules",type:4,value:""}],computedValue:"",displayName:"rule",floatValue:0,intValue:0,name:"rule",type:2,value:""}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""}],computedValue:"",displayName:"panes",floatValue:0,intValue:0,name:"panes",type:4,value:""},{attributes:[],computedValue:"undefined",displayName:"name",floatValue:0,intValue:0,name:"name",type:0,value:"undefined"},{attributes:[],computedValue:"undefined",displayName:"label",floatValue:0,intValue:0,name:"label",type:0,value:"undefined"},{attributes:[],computedValue:"form_section",displayName:"stylePlugin",floatValue:0,intValue:0,name:"stylePlugin",type:1,value:"form_section"},{attributes:[{attributes:[],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""}],computedValue:"",displayName:"columnSetting",floatValue:0,intValue:0,name:"columnSetting",type:2,value:""}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""}],computedValue:"",displayName:"panels",floatValue:0,intValue:0,name:"panels",type:4,value:""},{attributes:[{attributes:[{attributes:[],computedValue:"terms",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"terms"},{attributes:[],computedValue:"data",displayName:"adaptor",floatValue:0,intValue:0,name:"adaptor",type:1,value:"data"},{attributes:[],computedValue:"state",displayName:"plugin",floatValue:0,intValue:0,name:"plugin",type:1,value:"state"},{attributes:[{attributes:[{attributes:[],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""},{attributes:[],computedValue:"",displayName:"1",floatValue:0,intValue:0,name:"1",type:2,value:""},{attributes:[],computedValue:"",displayName:"2",floatValue:0,intValue:0,name:"2",type:2,value:""}],computedValue:"",displayName:"value",floatValue:0,intValue:0,name:"value",type:4,value:""}],computedValue:"",displayName:"data",floatValue:0,intValue:0,name:"data",type:2,value:""}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""},{attributes:[{attributes:[],computedValue:"characters",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"characters"},{attributes:[],computedValue:"datasource",displayName:"adaptor",floatValue:0,intValue:0,name:"adaptor",type:1,value:"datasource"},{attributes:[],computedValue:"datasource",displayName:"plugin",floatValue:0,intValue:0,name:"plugin",type:1,value:"datasource"},{attributes:[{attributes:[{attributes:[],computedValue:'[{"id":1,"name":"batman"},{"id":2,"name":"superman"}]',displayName:"data",floatValue:0,intValue:0,name:"data",type:1,value:'[{"id":1,"name":"batman"},{"id":2,"name":"superman"}]'}],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""},{attributes:[],computedValue:"",displayName:"params",floatValue:0,intValue:0,name:"params",type:4,value:""},{attributes:[],computedValue:"data",displayName:"plugin",floatValue:0,intValue:0,name:"plugin",type:1,value:"data"},{attributes:[{attributes:[],computedValue:"pane",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"pane"},{attributes:[],computedValue:"undefined",displayName:"query",floatValue:0,intValue:0,name:"query",type:0,value:"undefined"},{attributes:[],computedValue:"undefined",displayName:"trackBy",floatValue:0,intValue:0,name:"trackBy",type:0,value:"undefined"},{attributes:[],computedValue:"",displayName:"bindings",floatValue:0,intValue:0,name:"bindings",type:4,value:""}],computedValue:"",displayName:"renderer",floatValue:0,intValue:0,name:"renderer",type:2,value:""}],computedValue:"",displayName:"datasource",floatValue:0,intValue:0,name:"datasource",type:2,value:""}],computedValue:"",displayName:"1",floatValue:0,intValue:0,name:"1",type:2,value:""},{attributes:[{attributes:[],computedValue:"ad",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"ad"},{attributes:[],computedValue:"datasource",displayName:"adaptor",floatValue:0,intValue:0,name:"adaptor",type:1,value:"datasource"},{attributes:[],computedValue:"datasource",displayName:"plugin",floatValue:0,intValue:0,name:"plugin",type:1,value:"datasource"},{attributes:[{attributes:[{attributes:[],computedValue:"aws_s3_entity",displayName:"adaptorName",floatValue:0,intValue:0,name:"adaptorName",type:1,value:"aws_s3_entity"},{attributes:[],computedValue:"bucket=:bucket&prefix=:prefix",displayName:"optionsString",floatValue:0,intValue:0,name:"optionsString",type:1,value:"bucket=:bucket&prefix=:prefix"},{attributes:[],computedValue:"identity=:identity",displayName:"paramsString",floatValue:0,intValue:0,name:"paramsString",type:1,value:"identity=:identity"},{attributes:[{attributes:[{attributes:[{attributes:[],computedValue:"static",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"static"},{attributes:[],computedValue:"classifieds-ui-prod",displayName:"value",floatValue:0,intValue:0,name:"value",type:1,value:"classifieds-ui-prod"},{attributes:[],computedValue:"classifieds-ui-prod",displayName:"testValue",floatValue:0,intValue:0,name:"testValue",type:1,value:"classifieds-ui-prod"},{attributes:[],computedValue:"",displayName:"context",floatValue:0,intValue:0,name:"context",type:1,value:""}],computedValue:"",displayName:"mapping",floatValue:0,intValue:0,name:"mapping",type:2,value:""},{attributes:[{attributes:[{attributes:[],computedValue:"page",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"page"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""},{attributes:[{attributes:[],computedValue:"limit",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"limit"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"1",floatValue:0,intValue:0,name:"1",type:2,value:""},{attributes:[{attributes:[],computedValue:"offset",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"offset"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"2",floatValue:0,intValue:0,name:"2",type:2,value:""},{attributes:[{attributes:[],computedValue:"searchString",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"searchString"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"3",floatValue:0,intValue:0,name:"3",type:2,value:""}],computedValue:"",displayName:"flags",floatValue:0,intValue:0,name:"flags",type:4,value:""}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""},{attributes:[{attributes:[{attributes:[],computedValue:"static",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"static"},{attributes:[],computedValue:"ads/",displayName:"value",floatValue:0,intValue:0,name:"value",type:1,value:"ads/"},{attributes:[],computedValue:"ads/",displayName:"testValue",floatValue:0,intValue:0,name:"testValue",type:1,value:"ads/"},{attributes:[],computedValue:"",displayName:"context",floatValue:0,intValue:0,name:"context",type:1,value:""}],computedValue:"",displayName:"mapping",floatValue:0,intValue:0,name:"mapping",type:2,value:""},{attributes:[{attributes:[{attributes:[],computedValue:"page",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"page"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""},{attributes:[{attributes:[],computedValue:"limit",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"limit"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"1",floatValue:0,intValue:0,name:"1",type:2,value:""},{attributes:[{attributes:[],computedValue:"offset",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"offset"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"2",floatValue:0,intValue:0,name:"2",type:2,value:""},{attributes:[{attributes:[],computedValue:"searchString",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"searchString"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"3",floatValue:0,intValue:0,name:"3",type:2,value:""}],computedValue:"",displayName:"flags",floatValue:0,intValue:0,name:"flags",type:4,value:""}],computedValue:"",displayName:"1",floatValue:0,intValue:0,name:"1",type:2,value:""}],computedValue:"",displayName:"options",floatValue:0,intValue:0,name:"options",type:4,value:""},{attributes:[{attributes:[{attributes:[{attributes:[],computedValue:"route",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"route"},{attributes:[],computedValue:"arg0",displayName:"value",floatValue:0,intValue:0,name:"value",type:1,value:"arg0"},{attributes:[],computedValue:"",displayName:"testValue",floatValue:0,intValue:0,name:"testValue",type:1,value:""},{attributes:[],computedValue:"",displayName:"context",floatValue:0,intValue:0,name:"context",type:1,value:""}],computedValue:"",displayName:"mapping",floatValue:0,intValue:0,name:"mapping",type:2,value:""},{attributes:[{attributes:[{attributes:[],computedValue:"page",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"page"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""},{attributes:[{attributes:[],computedValue:"limit",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"limit"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"1",floatValue:0,intValue:0,name:"1",type:2,value:""},{attributes:[{attributes:[],computedValue:"offset",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"offset"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"2",floatValue:0,intValue:0,name:"2",type:2,value:""},{attributes:[{attributes:[],computedValue:"searchString",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"searchString"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"3",floatValue:0,intValue:0,name:"3",type:2,value:""}],computedValue:"",displayName:"flags",floatValue:0,intValue:0,name:"flags",type:4,value:""}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""}],computedValue:"",displayName:"params",floatValue:0,intValue:0,name:"params",type:4,value:""}],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""},{attributes:[],computedValue:"",displayName:"params",floatValue:0,intValue:0,name:"params",type:4,value:""},{attributes:[],computedValue:"crud_adaptor",displayName:"plugin",floatValue:0,intValue:0,name:"plugin",type:1,value:"crud_adaptor"},{attributes:[{attributes:[],computedValue:"pane",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"pane"},{attributes:[],computedValue:"undefined",displayName:"query",floatValue:0,intValue:0,name:"query",type:0,value:"undefined"},{attributes:[],computedValue:"undefined",displayName:"trackBy",floatValue:0,intValue:0,name:"trackBy",type:0,value:"undefined"},{attributes:[],computedValue:"",displayName:"bindings",floatValue:0,intValue:0,name:"bindings",type:4,value:""}],computedValue:"",displayName:"renderer",floatValue:0,intValue:0,name:"renderer",type:2,value:""}],computedValue:"",displayName:"datasource",floatValue:0,intValue:0,name:"datasource",type:2,value:""}],computedValue:"",displayName:"2",floatValue:0,intValue:0,name:"2",type:2,value:""}],computedValue:"",displayName:"contexts",floatValue:0,intValue:0,name:"contexts",type:4,value:""},{attributes:[{attributes:[{attributes:[],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""}],computedValue:"",displayName:"rowSettings",floatValue:0,intValue:0,name:"rowSettings",type:4,value:""},{attributes:[{attributes:[],computedValue:"",displayName:"readUserIds",floatValue:0,intValue:0,name:"readUserIds",type:4,value:""},{attributes:[],computedValue:"",displayName:"writeUserIds",floatValue:0,intValue:0,name:"writeUserIds",type:4,value:""},{attributes:[],computedValue:"",displayName:"deleteUserIds",floatValue:0,intValue:0,name:"deleteUserIds",type:4,value:""}],computedValue:"",displayName:"entityPermissions",floatValue:0,intValue:0,name:"entityPermissions",type:2,value:""},{attributes:[],computedValue:"undefined",displayName:"id",floatValue:0,intValue:0,name:"id",type:0,value:"undefined"},{attributes:[],computedValue:"split",displayName:"layoutType",floatValue:0,intValue:0,name:"layoutType",type:1,value:"split"},{attributes:[],computedValue:"form",displayName:"displayType",floatValue:0,intValue:0,name:"displayType",type:1,value:"form"},{attributes:[],computedValue:"undefined",displayName:"name",floatValue:0,intValue:0,name:"name",type:0,value:"undefined"},{attributes:[],computedValue:"undefined",displayName:"title",floatValue:0,intValue:0,name:"title",type:0,value:"undefined"},{attributes:[],computedValue:"spearhead",displayName:"site",floatValue:0,intValue:0,name:"site",type:1,value:"spearhead"},{attributes:[],computedValue:"undefined",displayName:"userId",floatValue:0,intValue:0,name:"userId",type:0,value:"undefined"},{attributes:[],computedValue:"undefined",displayName:"path",floatValue:0,intValue:0,name:"path",type:0,value:"undefined"},{attributes:[{attributes:[{attributes:[],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""},{attributes:[],computedValue:"undefined",displayName:"plugin",floatValue:0,intValue:0,name:"plugin",type:0,value:"undefined"}],computedValue:"",displayName:"dataduct",floatValue:0,intValue:0,name:"dataduct",type:2,value:""}],computedValue:"",displayName:"persistence",floatValue:0,intValue:0,name:"persistence",type:2,value:""},{attributes:[{attributes:[],computedValue:"",displayName:"settings",floatValue:0,intValue:0,name:"settings",type:2,value:""}],computedValue:"",displayName:"layoutSetting",floatValue:0,intValue:0,name:"layoutSetting",type:2,value:""}]},{contentPlugin:"form_hidden",label:"id",linkedPageId:"",locked:!1,name:"id",rule:{condition:"",field:"",operator:"",rules:[],value:""},settings:[{attributes:[],computedValue:"[ad.results.0.id]",displayName:"value",floatValue:0,intValue:0,name:"value",type:1,value:"[ad.results.0.id]"},{attributes:[{attributes:[],computedValue:"pane",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"pane"},{attributes:[],computedValue:"",displayName:"id",floatValue:0,intValue:0,name:"id",type:1,value:""}],computedValue:"",displayName:"datasourceBinding",floatValue:0,intValue:0,name:"datasourceBinding",type:2,value:""}]}],settings:[],stylePlugin:""}],path:"/native_forms_rebuild_v1",persistence:{dataduct:{plugin:"crud",settings:[{attributes:[],computedValue:"aws_s3_entity",displayName:"adaptorName",floatValue:0,intValue:0,name:"adaptorName",type:1,value:"aws_s3_entity"},{attributes:[],computedValue:"bucket=:bucket&prefix=:prefix",displayName:"optionsString",floatValue:0,intValue:0,name:"optionsString",type:1,value:"bucket=:bucket&prefix=:prefix"},{attributes:[],computedValue:"",displayName:"paramsString",floatValue:0,intValue:0,name:"paramsString",type:1,value:""},{attributes:[{attributes:[{attributes:[{attributes:[],computedValue:"static",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"static"},{attributes:[],computedValue:"classifieds-ui-prod",displayName:"value",floatValue:0,intValue:0,name:"value",type:1,value:"classifieds-ui-prod"},{attributes:[],computedValue:"classifieds-ui-prod",displayName:"testValue",floatValue:0,intValue:0,name:"testValue",type:1,value:"classifieds-ui-prod"},{attributes:[],computedValue:"",displayName:"context",floatValue:0,intValue:0,name:"context",type:1,value:""}],computedValue:"",displayName:"mapping",floatValue:0,intValue:0,name:"mapping",type:2,value:""},{attributes:[{attributes:[{attributes:[],computedValue:"page",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"page"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""},{attributes:[{attributes:[],computedValue:"limit",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"limit"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"1",floatValue:0,intValue:0,name:"1",type:2,value:""},{attributes:[{attributes:[],computedValue:"offset",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"offset"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"2",floatValue:0,intValue:0,name:"2",type:2,value:""},{attributes:[{attributes:[],computedValue:"searchString",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"searchString"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"3",floatValue:0,intValue:0,name:"3",type:2,value:""}],computedValue:"",displayName:"flags",floatValue:0,intValue:0,name:"flags",type:4,value:""}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""},{attributes:[{attributes:[{attributes:[],computedValue:"static",displayName:"type",floatValue:0,intValue:0,name:"type",type:1,value:"static"},{attributes:[],computedValue:"ads/",displayName:"value",floatValue:0,intValue:0,name:"value",type:1,value:"ads/"},{attributes:[],computedValue:"ads/",displayName:"testValue",floatValue:0,intValue:0,name:"testValue",type:1,value:"ads/"},{attributes:[],computedValue:"",displayName:"context",floatValue:0,intValue:0,name:"context",type:1,value:""}],computedValue:"",displayName:"mapping",floatValue:0,intValue:0,name:"mapping",type:2,value:""},{attributes:[{attributes:[{attributes:[],computedValue:"page",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"page"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"0",floatValue:0,intValue:0,name:"0",type:2,value:""},{attributes:[{attributes:[],computedValue:"limit",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"limit"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"1",floatValue:0,intValue:0,name:"1",type:2,value:""},{attributes:[{attributes:[],computedValue:"offset",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"offset"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"2",floatValue:0,intValue:0,name:"2",type:2,value:""},{attributes:[{attributes:[],computedValue:"searchString",displayName:"name",floatValue:0,intValue:0,name:"name",type:1,value:"searchString"},{attributes:[],computedValue:"false",displayName:"enabled",floatValue:0,intValue:0,name:"enabled",type:5,value:"false"}],computedValue:"",displayName:"3",floatValue:0,intValue:0,name:"3",type:2,value:""}],computedValue:"",displayName:"flags",floatValue:0,intValue:0,name:"flags",type:4,value:""}],computedValue:"",displayName:"1",floatValue:0,intValue:0,name:"1",type:2,value:""}],computedValue:"",displayName:"options",floatValue:0,intValue:0,name:"options",type:4,value:""},{attributes:[],computedValue:"",displayName:"params",floatValue:0,intValue:0,name:"params",type:4,value:""}]}},rowSettings:[{settings:[]}],site:"spearhead",title:"native_forms_rebuild_v1",userId:"b7a9bac5-5fef-4aa6-bf12-d536c156e453"},{contexts:[],cssFile:"",derivativeId:"",displayType:"page",entityPermissions:{deleteUserIds:["e36b42fe-b09c-4514-a519-e178bb52957e"],readUserIds:["*"],writeUserIds:["e36b42fe-b09c-4514-a519-e178bb52957e"]},gridItems:[{cols:100,rows:1,weight:0,x:0,y:0}],id:"bd29f806-3b4b-4b79-9dac-7a5ae221f432",layoutSetting:{settings:[]},layoutType:"split",name:"hello_world",panels:[{columnSetting:{settings:[]},label:"",name:"",panes:[{contentPlugin:"snippet",label:"",linkedPageId:"",locked:!1,name:"",rule:{condition:"",field:"",operator:"",rules:null,value:""},settings:[{attributes:[],computedValue:"text/html",displayName:"Content Type",floatValue:0,intValue:0,name:"contentType",type:1,value:"text/html"},{attributes:[],computedValue:"Hello World",displayName:"Content",floatValue:0,intValue:0,name:"content",type:1,value:"Hello World"},{attributes:[],computedValue:"",displayName:"jsScript",floatValue:0,intValue:0,name:"jsScript",type:1,value:""}]}],settings:[],stylePlugin:""}],path:"/hello-world",persistence:{dataduct:{plugin:"",settings:[]}},rowSettings:[{settings:[]}],site:"spearhead",title:"Hello World",userId:"e36b42fe-b09c-4514-a519-e178bb52957e"},{contexts:[{adaptor:"data",data:{exposedModule:"./JsonChartModule",moduleName:"JsonChartModule",remoteEntry:"http://localhost:3000/remoteEntry.js"},name:"chart_module",plugin:"module"}],displayType:"page",entityPermissions:{deleteUserIds:[],readUserIds:["*"],writeUserIds:[]},gridItems:[],id:"c91aa514-0ad8-4797-a516-cce997c877d9",interactions:{interactions:{listeners:[]}},layoutSetting:{settings:[]},layoutType:"gridless",name:"json_chart_example_1",panels:[{columnSetting:{settings:[]},panes:[{contentPlugin:"amcharts5_json_chart",contexts:[],label:"",locked:!1,name:"",rule:{condition:"",rules:[]},settings:[{attributes:[],computedValue:'{\n "refs": {\n "data": [\n {\n "date": 1652425200000,\n "value": 92\n },\n {\n "date": 1652511600000,\n "value": 95\n },\n {\n "date": 1652598000000,\n "value": 100\n },\n {\n "date": 1652684400000,\n "value": 100\n },\n {\n "date": 1652770800000,\n "value": 96\n },\n {\n "date": 1652857200000,\n "value": 97\n },\n {\n "date": 1652943600000,\n "value": 94\n },\n {\n "date": 1653030000000,\n "value": 89\n },\n {\n "date": 1653116400000,\n "value": 89\n },\n {\n "date": 1653202800000,\n "value": 87\n },\n {\n "date": 1653289200000,\n "value": 84\n },\n {\n "date": 1653375600000,\n "value": 81\n },\n {\n "date": 1653462000000,\n "value": 85\n },\n {\n "date": 1653548400000,\n "value": 89\n },\n {\n "date": 1653634800000,\n "value": 86\n },\n {\n "date": 1653721200000,\n "value": 90\n },\n {\n "date": 1653807600000,\n "value": 93\n },\n {\n "date": 1653894000000,\n "value": 94\n },\n {\n "date": 1653980400000,\n "value": 94\n },\n {\n "date": 1654066800000,\n "value": 96\n }\n ],\n "xAxis": {\n "type": "DateAxis",\n "settings": {\n "maxDeviation": 0.5,\n "baseInterval": {\n "timeUnit": "day",\n "count": 1\n },\n "renderer": {\n "type": "AxisRendererX",\n "settings": {\n "pan": "zoom"\n }\n },\n "tooltip": {\n "type": "Tooltip"\n }\n }\n },\n "yAxis": {\n "type": "ValueAxis",\n "settings": {\n "maxDeviation": 1,\n "renderer": {\n "type": "AxisRendererY",\n "settings": {\n "pan": "zoom"\n }\n }\n }\n }\n },\n "type": "XYChart",\n "settings": {\n "panX": false,\n "panY": false,\n "wheelX": "panX",\n "wheelY": "zoomX",\n "cursor": {\n "type": "XYCursor",\n "settings": {\n "behavior": "zoomX"\n },\n "properties": {\n "lineY": {\n "settings": {\n "visible": false\n }\n }\n }\n },\n "scrollbarX": {\n "type": "Scrollbar",\n "settings": {\n "orientation": "horizontal"\n }\n }\n },\n "properties": {\n "xAxes": [\n "#xAxis"\n ],\n "yAxes": [\n "#yAxis"\n ],\n "series": [\n {\n "type": "LineSeries",\n "settings": {\n "name": "Series",\n "xAxis": "#xAxis",\n "yAxis": "#yAxis",\n "valueYField": "value",\n "valueXField": "date",\n "tooltip": {\n "type": "Tooltip",\n "settings": {\n "labelText": "{valueX}: {valueY}"\n }\n }\n },\n "properties": {\n "data": "#data"\n }\n }\n ]\n }\n}',displayName:"JSON",name:"json",type:1,value:'{\n "refs": {\n "data": [\n {\n "date": 1652425200000,\n "value": 92\n },\n {\n "date": 1652511600000,\n "value": 95\n },\n {\n "date": 1652598000000,\n "value": 100\n },\n {\n "date": 1652684400000,\n "value": 100\n },\n {\n "date": 1652770800000,\n "value": 96\n },\n {\n "date": 1652857200000,\n "value": 97\n },\n {\n "date": 1652943600000,\n "value": 94\n },\n {\n "date": 1653030000000,\n "value": 89\n },\n {\n "date": 1653116400000,\n "value": 89\n },\n {\n "date": 1653202800000,\n "value": 87\n },\n {\n "date": 1653289200000,\n "value": 84\n },\n {\n "date": 1653375600000,\n "value": 81\n },\n {\n "date": 1653462000000,\n "value": 85\n },\n {\n "date": 1653548400000,\n "value": 89\n },\n {\n "date": 1653634800000,\n "value": 86\n },\n {\n "date": 1653721200000,\n "value": 90\n },\n {\n "date": 1653807600000,\n "value": 93\n },\n {\n "date": 1653894000000,\n "value": 94\n },\n {\n "date": 1653980400000,\n "value": 94\n },\n {\n "date": 1654066800000,\n "value": 96\n }\n ],\n "xAxis": {\n "type": "DateAxis",\n "settings": {\n "maxDeviation": 0.5,\n "baseInterval": {\n "timeUnit": "day",\n "count": 1\n },\n "renderer": {\n "type": "AxisRendererX",\n "settings": {\n "pan": "zoom"\n }\n },\n "tooltip": {\n "type": "Tooltip"\n }\n }\n },\n "yAxis": {\n "type": "ValueAxis",\n "settings": {\n "maxDeviation": 1,\n "renderer": {\n "type": "AxisRendererY",\n "settings": {\n "pan": "zoom"\n }\n }\n }\n }\n },\n "type": "XYChart",\n "settings": {\n "panX": false,\n "panY": false,\n "wheelX": "panX",\n "wheelY": "zoomX",\n "cursor": {\n "type": "XYCursor",\n "settings": {\n "behavior": "zoomX"\n },\n "properties": {\n "lineY": {\n "settings": {\n "visible": false\n }\n }\n }\n },\n "scrollbarX": {\n "type": "Scrollbar",\n "settings": {\n "orientation": "horizontal"\n }\n }\n },\n "properties": {\n "xAxes": [\n "#xAxis"\n ],\n "yAxes": [\n "#yAxis"\n ],\n "series": [\n {\n "type": "LineSeries",\n "settings": {\n "name": "Series",\n "xAxis": "#xAxis",\n "yAxis": "#yAxis",\n "valueYField": "value",\n "valueXField": "date",\n "tooltip": {\n "type": "Tooltip",\n "settings": {\n "labelText": "{valueX}: {valueY}"\n }\n }\n },\n "properties": {\n "data": "#data"\n }\n }\n ]\n }\n}'}]}],settings:[],stylePlugin:""}],path:"/json-chart-example-1",persistence:{dataduct:{settings:[]}},rowSettings:[{settings:[]}],site:"spearhead",title:"Json Chart Example 1",userId:"b7a9bac5-5fef-4aa6-bf12-d536c156e453"},{contexts:[{adaptor:"data",data:{exposedModule:"./JsonChartModule",moduleName:"JsonChartModule",remoteEntry:"http://localhost:3000/remoteEntry.js"},name:"chart_module",plugin:"module"}],displayType:"page",entityPermissions:{deleteUserIds:[],readUserIds:["*"],writeUserIds:[]},gridItems:[],id:"d75c2267-0eb1-4238-ad0e-7d4b0d1d4801",interactions:{interactions:{listeners:[]}},layoutSetting:{settings:[]},layoutType:"gridless",name:"plugin-amcharts-refs-test-1",panels:[{columnSetting:{settings:[]},panes:[{contentPlugin:"amcharts5_json_chart",contexts:[],label:"",locked:!1,name:"",settings:[{attributes:[],computedValue:'{\n "type": "XYChart",\n "refs": {\n "data": [\n { "date": 1652425200000, "value": 92 },\n { "date": 1652511600000, "value": 95 },\n { "date": 1652598000000, "value": 100 },\n { "date": 1652684400000, "value": 100 },\n { "date": 1652770800000, "value": 96 },\n { "date": 1652857200000, "value": 97 },\n { "date": 1652943600000, "value": 94 },\n { "date": 1653030000000, "value": 89 },\n { "date": 1653116400000, "value": 89 },\n { "date": 1653202800000, "value": 87 },\n { "date": 1653289200000, "value": 84 },\n { "date": 1653375600000, "value": 81 },\n { "date": 1653462000000, "value": 85 },\n { "date": 1653548400000, "value": 89 },\n { "date": 1653634800000, "value": 86 },\n { "date": 1653721200000, "value": 90 },\n { "date": 1653807600000, "value": 93 },\n { "date": 1653894000000, "value": 94 },\n { "date": 1653980400000, "value": 94 },\n { "date": 1654066800000, "value": 96 }\n ],\n "xAxis": {\n "type": "DateAxis",\n "settings": {\n "baseInterval": {\n "timeUnit": "day",\n "count": 1\n },\n "renderer": {\n "type": "AxisRendererX"\n }\n }\n },\n "yAxis": {\n "type": "ValueAxis",\n "settings": {\n "renderer": {\n "type": "AxisRendererY"\n }\n }\n },\n },\n "settings": {\n "panX": false,\n "panY": false,\n "wheelX": "panX",\n "wheelY": "zoomX",\n "scrollbarX": {\n "type": "Scrollbar",\n "settings": {\n "orientation": "horizontal"\n }\n }\n },\n "properties": {\n "xAxes": [\n "#xAxis"\n ],\n "yAxes": [\n "#yAxis"\n ],\n "series": [\n {\n "type": "LineSeries",\n "settings": {\n "name": "Series",\n "xAxis": "#xAxis",\n "yAxis": "#yAxis",\n "valueYField": "value",\n "valueXField": "date",\n "tooltip": {\n "type": "Tooltip",\n "settings": {\n "labelText": "{valueX}: {valueY}"\n }\n },\n },\n "properties": {\n "data": "#data"\n }\n }\n ]\n }\n}',displayName:"JSON",name:"json",type:1,value:'{\n "type": "XYChart",\n "refs": {\n "data": [\n { "date": 1652425200000, "value": 92 },\n { "date": 1652511600000, "value": 95 },\n { "date": 1652598000000, "value": 100 },\n { "date": 1652684400000, "value": 100 },\n { "date": 1652770800000, "value": 96 },\n { "date": 1652857200000, "value": 97 },\n { "date": 1652943600000, "value": 94 },\n { "date": 1653030000000, "value": 89 },\n { "date": 1653116400000, "value": 89 },\n { "date": 1653202800000, "value": 87 },\n { "date": 1653289200000, "value": 84 },\n { "date": 1653375600000, "value": 81 },\n { "date": 1653462000000, "value": 85 },\n { "date": 1653548400000, "value": 89 },\n { "date": 1653634800000, "value": 86 },\n { "date": 1653721200000, "value": 90 },\n { "date": 1653807600000, "value": 93 },\n { "date": 1653894000000, "value": 94 },\n { "date": 1653980400000, "value": 94 },\n { "date": 1654066800000, "value": 96 }\n ],\n "xAxis": {\n "type": "DateAxis",\n "settings": {\n "baseInterval": {\n "timeUnit": "day",\n "count": 1\n },\n "renderer": {\n "type": "AxisRendererX"\n }\n }\n },\n "yAxis": {\n "type": "ValueAxis",\n "settings": {\n "renderer": {\n "type": "AxisRendererY"\n }\n }\n },\n },\n "settings": {\n "panX": false,\n "panY": false,\n "wheelX": "panX",\n "wheelY": "zoomX",\n "scrollbarX": {\n "type": "Scrollbar",\n "settings": {\n "orientation": "horizontal"\n }\n }\n },\n "properties": {\n "xAxes": [\n "#xAxis"\n ],\n "yAxes": [\n "#yAxis"\n ],\n "series": [\n {\n "type": "LineSeries",\n "settings": {\n "name": "Series",\n "xAxis": "#xAxis",\n "yAxis": "#yAxis",\n "valueYField": "value",\n "valueXField": "date",\n "tooltip": {\n "type": "Tooltip",\n "settings": {\n "labelText": "{valueX}: {valueY}"\n }\n },\n },\n "properties": {\n "data": "#data"\n }\n }\n ]\n }\n}'}]}],settings:[],stylePlugin:""}],path:"/plugin-amcharts-refs-test-1",persistence:{dataduct:{settings:[]}},rowSettings:[{settings:[]}],site:"spearhead",title:"plugin-amcharts-refs-test-1",userId:"b7a9bac5-5fef-4aa6-bf12-d536c156e453"},{contexts:[{adaptor:"data",data:{exposedModule:"./JsonChartModule",moduleName:"JsonChartModule",remoteEntry:"http://localhost:3000/remoteEntry.js"},name:"chart_module",plugin:"module"}],displayType:"page",entityPermissions:{deleteUserIds:[],readUserIds:["*"],writeUserIds:[]},gridItems:[],id:"e39fa739-b354-45cb-8a35-5c9e54d28d6f",interactions:{interactions:{listeners:[]}},layoutSetting:{settings:[]},layoutType:"gridless",name:"json_chart_example_1",panels:[{columnSetting:{settings:[]},panes:[{contentPlugin:"amcharts5_json_chart",contexts:[],label:"",locked:!1,name:"",settings:[{attributes:[],computedValue:'{\n refs: {\n data: [\n { date: 1652425200000, value: 92 },\n { date: 1652511600000, value: 95 },\n { date: 1652598000000, value: 100 },\n { date: 1652684400000, value: 100 },\n { date: 1652770800000, value: 96 },\n { date: 1652857200000, value: 97 },\n { date: 1652943600000, value: 94 },\n { date: 1653030000000, value: 89 },\n { date: 1653116400000, value: 89 },\n { date: 1653202800000, value: 87 },\n { date: 1653289200000, value: 84 },\n { date: 1653375600000, value: 81 },\n { date: 1653462000000, value: 85 },\n { date: 1653548400000, value: 89 },\n { date: 1653634800000, value: 86 },\n { date: 1653721200000, value: 90 },\n { date: 1653807600000, value: 93 },\n { date: 1653894000000, value: 94 },\n { date: 1653980400000, value: 94 },\n { date: 1654066800000, value: 96 }\n ],\n xAxis: {\n type: "DateAxis",\n settings: {\n maxDeviation: 0.5,\n baseInterval: {\n timeUnit: "day",\n count: 1\n },\n renderer: {\n type: "AxisRendererX",\n settings: {\n pan: "zoom"\n }\n },\n tooltip: {\n type: "Tooltip",\n },\n }\n },\n yAxis: {\n type: "ValueAxis",\n settings: {\n maxDeviation: 1,\n renderer: {\n type: "AxisRendererY",\n settings: {\n pan: "zoom"\n },\n },\n }\n },\n },\n type: "XYChart",\n settings: {\n panX: false,\n panY: false,\n wheelX: "panX",\n wheelY: "zoomX",\n cursor: {\n type: "XYCursor",\n settings: {\n behavior: "zoomX"\n },\n properties: {\n lineY: {\n settings: {\n visible: false\n },\n },\n },\n },\n scrollbarX: {\n type: "Scrollbar",\n settings: {\n orientation: "horizontal"\n }\n },\n },\n properties: {\n xAxes: [\n "#xAxis",\n ],\n yAxes: [\n "#yAxis",\n ],\n series: [{\n type: "LineSeries",\n settings: {\n name: "Series",\n xAxis: "#xAxis",\n yAxis: "#yAxis",\n valueYField: "value",\n valueXField: "date",\n tooltip: {\n type: "Tooltip",\n settings: {\n labelText: "{valueX}: {valueY}"\n }\n },\n },\n properties: {\n data: "#data"\n }\n }]\n }\n}',displayName:"JSON",name:"json",type:1,value:'{\n refs: {\n data: [\n { date: 1652425200000, value: 92 },\n { date: 1652511600000, value: 95 },\n { date: 1652598000000, value: 100 },\n { date: 1652684400000, value: 100 },\n { date: 1652770800000, value: 96 },\n { date: 1652857200000, value: 97 },\n { date: 1652943600000, value: 94 },\n { date: 1653030000000, value: 89 },\n { date: 1653116400000, value: 89 },\n { date: 1653202800000, value: 87 },\n { date: 1653289200000, value: 84 },\n { date: 1653375600000, value: 81 },\n { date: 1653462000000, value: 85 },\n { date: 1653548400000, value: 89 },\n { date: 1653634800000, value: 86 },\n { date: 1653721200000, value: 90 },\n { date: 1653807600000, value: 93 },\n { date: 1653894000000, value: 94 },\n { date: 1653980400000, value: 94 },\n { date: 1654066800000, value: 96 }\n ],\n xAxis: {\n type: "DateAxis",\n settings: {\n maxDeviation: 0.5,\n baseInterval: {\n timeUnit: "day",\n count: 1\n },\n renderer: {\n type: "AxisRendererX",\n settings: {\n pan: "zoom"\n }\n },\n tooltip: {\n type: "Tooltip",\n },\n }\n },\n yAxis: {\n type: "ValueAxis",\n settings: {\n maxDeviation: 1,\n renderer: {\n type: "AxisRendererY",\n settings: {\n pan: "zoom"\n },\n },\n }\n },\n },\n type: "XYChart",\n settings: {\n panX: false,\n panY: false,\n wheelX: "panX",\n wheelY: "zoomX",\n cursor: {\n type: "XYCursor",\n settings: {\n behavior: "zoomX"\n },\n properties: {\n lineY: {\n settings: {\n visible: false\n },\n },\n },\n },\n scrollbarX: {\n type: "Scrollbar",\n settings: {\n orientation: "horizontal"\n }\n },\n },\n properties: {\n xAxes: [\n "#xAxis",\n ],\n yAxes: [\n "#yAxis",\n ],\n series: [{\n type: "LineSeries",\n settings: {\n name: "Series",\n xAxis: "#xAxis",\n yAxis: "#yAxis",\n valueYField: "value",\n valueXField: "date",\n tooltip: {\n type: "Tooltip",\n settings: {\n labelText: "{valueX}: {valueY}"\n }\n },\n },\n properties: {\n data: "#data"\n }\n }]\n }\n}'}]}],settings:[],stylePlugin:""}],path:"/json-chart-example-1",persistence:{dataduct:{settings:[]}},rowSettings:[{settings:[]}],site:"spearhead",title:"Json Chart Example 1",userId:"b7a9bac5-5fef-4aa6-bf12-d536c156e453"}],DW=[{path:"auth-callback",component:R2}].concat((0,_.Z)(cF.map(function(o){var n=(0,g.Z)(o,2),t=n[0],e=n[1];return{matcher:ok(new ri({id:t,layoutType:"",displayType:"",gridItems:[],panels:[],layoutSetting:void 0,rowSettings:[],path:e})),component:NE,data:{panelPageListItem:new ri({id:t,layoutType:"",displayType:"",gridItems:[],panels:[],layoutSetting:void 0,rowSettings:[],path:e})}}})),(0,_.Z)(cF.map(function(o){var n=(0,g.Z)(o,2),t=n[0],e=n[1];return{matcher:ak(new ri({id:t,layoutType:"",displayType:"",gridItems:[],panels:[],layoutSetting:void 0,rowSettings:[],path:e})),component:ME,data:{panelPageListItem:new ri({id:t,layoutType:"",displayType:"",gridItems:[],panels:[],layoutSetting:void 0,rowSettings:[],path:e})}}})),[{path:"**",component:xj,canActivate:[hI]}]),TW={root:ko_apiGatewaySettings.endpointUrl,timeout:2e4};function IW(){var o=new Sl;return o.link=function(n,t,e){return"page"===e?'<classifieds-ui-panel-page id="'.concat(n,'"></classifieds-ui-panel-page>'):'<classifieds-ui-page-router-link href="'.concat(n,'" text="').concat(e,'"></classifieds-ui-page-router-link>')},{renderer:o}}var OW=function(){var n,t,e,o=(0,y.Z)(function n(){(0,f.Z)(this,n)});return o.\u0275fac=function(t){return new(t||o)},o.\u0275mod=r.\u0275\u0275defineNgModule({type:o,bootstrap:[zq]}),o.\u0275inj=r.\u0275\u0275defineInjector({providers:[(0,B.provideClientHydration)(),hI,{provide:Vn.SITE_NAME,useValue:ko_site},{provide:sf,useValue:new Da(ko_clientSettings)},{provide:rE,useValue:new k8(ko_mediaSettings)},{provide:GI,useValue:new f$(ko_panelsSettings)},{provide:lW,useValue:new dW(ko_alienaliasSettings)},{provide:GO,useValue:new vq({disableRouting:!1})},{provide:Dc,useValue:new ml(ko_cognitoSettings)},{provide:kW,useValue:new AW(ko_rumSettings)},{provide:O.HTTP_INTERCEPTORS,useClass:Ss,multi:!0},{provide:O.HTTP_INTERCEPTORS,useClass:D2,multi:!0},{provide:xs,useValue:TW},{provide:r.APP_INITIALIZER,useFactory:(n={key:function(t){return"panelpage__"+t.data.id},data:RW.map(function(n){return new ri(n)})},t=n.data,e=n.key,function(a){return function(){return new W.y(function(s){(0,P.isPlatformBrowser)(a)?function Bq(o){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ao())("readwrite",function(t){return o.forEach(function(e){return t.put(e[1],e[0])}),Na(t.transaction)})}(t.map(function(l){return[e({data:l}),l]})).then(function(){console.log("data loaded into idb"),s.next(),s.complete()}).catch(function(){console.log("data load into idb failure"),s.next(),s.complete()}):(s.next(),s.complete())})}}),multi:!0,deps:[r.PLATFORM_ID]}],imports:[B.BrowserModule.withServerTransition({appId:"serverApp"}),P.CommonModule,O.HttpClientModule,O.HttpClientJsonpModule,v.FormsModule,v.ReactiveFormsModule,j.BrowserAnimationsModule,oi,hs,uW,iA.forRoot({sanitize:r.SecurityContext.NONE,markedOptions:{provide:Z3,useFactory:IW}}),dr.RouterModule.forRoot(DW,{initialNavigation:"enabledBlocking"}),ko_production?[]:Gq.FT.instrument({maxAge:25,logOnly:ko_production}),BL.forRoot({serializer:lA}),Bt.Aw.forRoot(qq,{metaReducers:Kq,runtimeChecks:{strictActionImmutability:!0,strictStateImmutability:!0}}),ou.forRoot([]),uI,Fq,Vn.UtilsModule,Hy,pn.ContentModule,Gd,so.forRoot(),N0.forRoot(),y3,ga.forRoot({}),Cj,DA,GA,kq,eK,cf,Uq,iK,lK,oW,bW,PW,Rj,Tz,EE,Cq,rF,wu,Vj]}),o}();console.log("bootstrap"),ko_production&&(0,r.enableProdMode)(),B.platformBrowser().bootstrapModule(OW).catch(function(o){return console.log(o)})},26954:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.AwsCrc32c=void 0;var M=S(92361),K=S(31500),B=S(25423),r=function(){function y(){this.crc32c=new B.Crc32c}return y.prototype.update=function(f){(0,K.isEmptyData)(f)||this.crc32c.update((0,K.convertToBuffer)(f))},y.prototype.digest=function(){return M.__awaiter(this,void 0,void 0,function(){return M.__generator(this,function(f){return[2,(0,K.numToUint8)(this.crc32c.digest())]})})},y.prototype.reset=function(){this.crc32c=new B.Crc32c},y}();V.AwsCrc32c=r},25423:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.AwsCrc32c=V.Crc32c=V.crc32c=void 0;var M=S(92361),K=S(31500);V.crc32c=function B(_){return(new r).update(_).digest()};var r=function(){function _(){this.checksum=4294967295}return _.prototype.update=function(P){var O,j;try{for(var v=M.__values(P),b=v.next();!b.done;b=v.next())this.checksum=this.checksum>>>8^f[255&(this.checksum^b.value)]}catch(z){O={error:z}}finally{try{b&&!b.done&&(j=v.return)&&j.call(v)}finally{if(O)throw O.error}}return this},_.prototype.digest=function(){return(4294967295^this.checksum)>>>0},_}();V.Crc32c=r;var f=(0,K.uint32ArrayFrom)([0,4067132163,3778769143,324072436,3348797215,904991772,648144872,3570033899,2329499855,2024987596,1809983544,2575936315,1296289744,3207089363,2893594407,1578318884,274646895,3795141740,4049975192,51262619,3619967088,632279923,922689671,3298075524,2592579488,1760304291,2075979607,2312596564,1562183871,2943781820,3156637768,1313733451,549293790,3537243613,3246849577,871202090,3878099393,357341890,102525238,4101499445,2858735121,1477399826,1264559846,3107202533,1845379342,2677391885,2361733625,2125378298,820201905,3263744690,3520608582,598981189,4151959214,85089709,373468761,3827903834,3124367742,1213305469,1526817161,2842354314,2107672161,2412447074,2627466902,1861252501,1098587580,3004210879,2688576843,1378610760,2262928035,1955203488,1742404180,2511436119,3416409459,969524848,714683780,3639785095,205050476,4266873199,3976438427,526918040,1361435347,2739821008,2954799652,1114974503,2529119692,1691668175,2005155131,2247081528,3690758684,697762079,986182379,3366744552,476452099,3993867776,4250756596,255256311,1640403810,2477592673,2164122517,1922457750,2791048317,1412925310,1197962378,3037525897,3944729517,427051182,170179418,4165941337,746937522,3740196785,3451792453,1070968646,1905808397,2213795598,2426610938,1657317369,3053634322,1147748369,1463399397,2773627110,4215344322,153784257,444234805,3893493558,1021025245,3467647198,3722505002,797665321,2197175160,1889384571,1674398607,2443626636,1164749927,3070701412,2757221520,1446797203,137323447,4198817972,3910406976,461344835,3484808360,1037989803,781091935,3705997148,2460548119,1623424788,1939049696,2180517859,1429367560,2807687179,3020495871,1180866812,410100952,3927582683,4182430767,186734380,3756733383,763408580,1053836080,3434856499,2722870694,1344288421,1131464017,2971354706,1708204729,2545590714,2229949006,1988219213,680717673,3673779818,3383336350,1002577565,4010310262,493091189,238226049,4233660802,2987750089,1082061258,1395524158,2705686845,1972364758,2279892693,2494862625,1725896226,952904198,3399985413,3656866545,731699698,4283874585,222117402,510512622,3959836397,3280807620,837199303,582374963,3504198960,68661723,4135334616,3844915500,390545967,1230274059,3141532936,2825850620,1510247935,2395924756,2091215383,1878366691,2644384480,3553878443,565732008,854102364,3229815391,340358836,3861050807,4117890627,119113024,1493875044,2875275879,3090270611,1247431312,2660249211,1828433272,2141937292,2378227087,3811616794,291187481,34330861,4032846830,615137029,3603020806,3314634738,939183345,1776939221,2609017814,2295496738,2058945313,2926798794,1545135305,1330124605,3173225534,4084100981,17165430,307568514,3762199681,888469610,3332340585,3587147933,665062302,2042050490,2346497209,2559330125,1793573966,3190661285,1279665062,1595330642,2910671697]),g=S(26954);Object.defineProperty(V,"AwsCrc32c",{enumerable:!0,get:function(){return g.AwsCrc32c}})},76502:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.convertToBuffer=void 0;var M=S(82093),K=typeof Buffer<"u"&&Buffer.from?function(r){return Buffer.from(r,"utf8")}:M.fromUtf8;V.convertToBuffer=function B(r){return r instanceof Uint8Array?r:"string"==typeof r?K(r):ArrayBuffer.isView(r)?new Uint8Array(r.buffer,r.byteOffset,r.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(r)}},31500:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.uint32ArrayFrom=V.numToUint8=V.isEmptyData=V.convertToBuffer=void 0;var M=S(76502);Object.defineProperty(V,"convertToBuffer",{enumerable:!0,get:function(){return M.convertToBuffer}});var K=S(63814);Object.defineProperty(V,"isEmptyData",{enumerable:!0,get:function(){return K.isEmptyData}});var B=S(10566);Object.defineProperty(V,"numToUint8",{enumerable:!0,get:function(){return B.numToUint8}});var r=S(2700);Object.defineProperty(V,"uint32ArrayFrom",{enumerable:!0,get:function(){return r.uint32ArrayFrom}})},63814:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.isEmptyData=void 0,V.isEmptyData=function S(M){return"string"==typeof M?0===M.length:0===M.byteLength}},10566:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.numToUint8=void 0,V.numToUint8=function S(M){return new Uint8Array([(4278190080&M)>>24,(16711680&M)>>16,(65280&M)>>8,255&M])}},2700:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.uint32ArrayFrom=void 0,V.uint32ArrayFrom=function S(M){if(!Uint32Array.from){for(var K=new Uint32Array(M.length),B=0;B<M.length;)K[B]=M[B],B+=1;return K}return Uint32Array.from(M)}},23141:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.EMPTY_DATA_SHA_1=V.SHA_1_HMAC_ALGO=V.SHA_1_HASH=void 0,V.SHA_1_HASH={name:"SHA-1"},V.SHA_1_HMAC_ALGO={name:"HMAC",hash:V.SHA_1_HASH},V.EMPTY_DATA_SHA_1=new Uint8Array([218,57,163,238,94,107,75,13,50,85,191,239,149,96,24,144,175,216,7,9])},71883:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.Sha1=void 0;var M=S(21283),K=S(32766),B=S(7506),r=S(90776),y=S(45468),f=S(68538),g=function(){function _(P){if((0,B.supportsWebCrypto)((0,y.locateWindow)()))this.hash=new K.Sha1(P);else{if(!(0,r.isMsWindow)((0,y.locateWindow)()))throw new Error("SHA1 not supported");this.hash=new M.Sha1(P)}}return _.prototype.update=function(P,O){this.hash.update((0,f.convertToBuffer)(P))},_.prototype.digest=function(){return this.hash.digest()},_.prototype.reset=function(){this.hash.reset()},_}();V.Sha1=g},21283:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.Sha1=void 0;var M=S(33626),K=S(23141),B=S(82093),r=S(45468),y=function(){function _(P){this.secret=P,this.reset()}return _.prototype.update=function(P){var O=this;(0,M.isEmptyData)(P)||(this.operation=this.operation.then(function(j){return j.onerror=function(){O.operation=Promise.reject(new Error("Error encountered updating hash"))},j.process(g(P)),j}),this.operation.catch(function(){}))},_.prototype.digest=function(){return this.operation.then(function(P){return new Promise(function(O,j){P.onerror=function(){j(new Error("Error encountered finalizing hash"))},P.oncomplete=function(){P.result&&O(new Uint8Array(P.result)),j(new Error("Error encountered finalizing hash"))},P.finish()})})},_.prototype.reset=function(){this.secret?(this.operation=function f(_){return new Promise(function(P,O){var j=(0,r.locateWindow)().msCrypto.subtle.importKey("raw",g(_),K.SHA_1_HMAC_ALGO,!1,["sign"]);j.oncomplete=function(){j.result&&P(j.result),O(new Error("ImportKey completed without importing key."))},j.onerror=function(){O(new Error("ImportKey failed to import key."))}})}(this.secret).then(function(P){return(0,r.locateWindow)().msCrypto.subtle.sign(K.SHA_1_HMAC_ALGO,P)}),this.operation.catch(function(){})):this.operation=Promise.resolve((0,r.locateWindow)().msCrypto.subtle.digest("SHA-1"))},_}();function g(_){return"string"==typeof _?(0,B.fromUtf8)(_):ArrayBuffer.isView(_)?new Uint8Array(_.buffer,_.byteOffset,_.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(_)}V.Sha1=y},6982:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.WebCryptoSha1=V.Ie11Sha1=void 0,S(30070).__exportStar(S(71883),V);var K=S(21283);Object.defineProperty(V,"Ie11Sha1",{enumerable:!0,get:function(){return K.Sha1}});var B=S(32766);Object.defineProperty(V,"WebCryptoSha1",{enumerable:!0,get:function(){return B.Sha1}})},33626:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.isEmptyData=void 0,V.isEmptyData=function S(M){return"string"==typeof M?0===M.length:0===M.byteLength}},32766:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.Sha1=void 0;var M=S(82093),K=S(33626),B=S(23141),r=S(45468),y=function(){function g(_){this.toHash=new Uint8Array(0),void 0!==_&&(this.key=new Promise(function(P,O){(0,r.locateWindow)().crypto.subtle.importKey("raw",f(_),B.SHA_1_HMAC_ALGO,!1,["sign"]).then(P,O)}),this.key.catch(function(){}))}return g.prototype.update=function(_){if(!(0,K.isEmptyData)(_)){var P=f(_),O=new Uint8Array(this.toHash.byteLength+P.byteLength);O.set(this.toHash,0),O.set(P,this.toHash.byteLength),this.toHash=O}},g.prototype.digest=function(){var _=this;return this.key?this.key.then(function(P){return(0,r.locateWindow)().crypto.subtle.sign(B.SHA_1_HMAC_ALGO,P,_.toHash).then(function(O){return new Uint8Array(O)})}):(0,K.isEmptyData)(this.toHash)?Promise.resolve(B.EMPTY_DATA_SHA_1):Promise.resolve().then(function(){return(0,r.locateWindow)().crypto.subtle.digest(B.SHA_1_HASH,_.toHash)}).then(function(P){return Promise.resolve(new Uint8Array(P))})},g.prototype.reset=function(){this.toHash=new Uint8Array(0)},g}();function f(g){return"string"==typeof g?(0,M.fromUtf8)(g):ArrayBuffer.isView(g)?new Uint8Array(g.buffer,g.byteOffset,g.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(g)}V.Sha1=y},19189:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0})},12624:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0})},98732:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0})},68424:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0})},27705:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.isMsWindow=void 0;var S=["decrypt","digest","encrypt","exportKey","generateKey","importKey","sign","verify"];V.isMsWindow=function K(B){if(function M(B){return"MSInputMethodContext"in B&&"msCrypto"in B}(B)&&void 0!==B.msCrypto.subtle){var r=B.msCrypto,y=r.getRandomValues,f=r.subtle;return S.map(function(g){return f[g]}).concat(y).every(function(g){return"function"==typeof g})}return!1}},90776:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0});var M=S(30070);M.__exportStar(S(19189),V),M.__exportStar(S(12624),V),M.__exportStar(S(98732),V),M.__exportStar(S(68424),V),M.__exportStar(S(27705),V)},7506:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),S(30070).__exportStar(S(72398),V)},72398:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.supportsZeroByteGCM=V.supportsSubtleCrypto=V.supportsSecureRandom=V.supportsWebCrypto=void 0;var M=S(30070),K=["decrypt","digest","encrypt","exportKey","generateKey","importKey","sign","verify"];function r(g){return"object"==typeof g&&"object"==typeof g.crypto&&"function"==typeof g.crypto.getRandomValues}function y(g){return g&&K.every(function(_){return"function"==typeof g[_]})}V.supportsWebCrypto=function B(g){return!(!r(g)||"object"!=typeof g.crypto.subtle)&&y(g.crypto.subtle)},V.supportsSecureRandom=r,V.supportsSubtleCrypto=y,V.supportsZeroByteGCM=function f(g){return M.__awaiter(this,void 0,void 0,function(){var _;return M.__generator(this,function(j){switch(j.label){case 0:if(!y(g))return[2,!1];j.label=1;case 1:return j.trys.push([1,4,,5]),[4,g.generateKey({name:"AES-GCM",length:128},!1,["encrypt"])];case 2:return _=j.sent(),[4,g.encrypt({name:"AES-GCM",iv:new Uint8Array(Array(12)),additionalData:new Uint8Array(Array(16)),tagLength:128},_,new Uint8Array(0))];case 3:return[2,16===j.sent().byteLength];case 4:return j.sent(),[2,!1];case 5:return[2]}})})}},55620:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.convertToBuffer=void 0;var M=S(82093),K=typeof Buffer<"u"&&Buffer.from?function(r){return Buffer.from(r,"utf8")}:M.fromUtf8;V.convertToBuffer=function B(r){return r instanceof Uint8Array?r:"string"==typeof r?K(r):ArrayBuffer.isView(r)?new Uint8Array(r.buffer,r.byteOffset,r.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(r)}},68538:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.uint32ArrayFrom=V.numToUint8=V.isEmptyData=V.convertToBuffer=void 0;var M=S(55620);Object.defineProperty(V,"convertToBuffer",{enumerable:!0,get:function(){return M.convertToBuffer}});var K=S(63015);Object.defineProperty(V,"isEmptyData",{enumerable:!0,get:function(){return K.isEmptyData}});var B=S(11487);Object.defineProperty(V,"numToUint8",{enumerable:!0,get:function(){return B.numToUint8}});var r=S(47523);Object.defineProperty(V,"uint32ArrayFrom",{enumerable:!0,get:function(){return r.uint32ArrayFrom}})},63015:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.isEmptyData=void 0,V.isEmptyData=function S(M){return"string"==typeof M?0===M.length:0===M.byteLength}},11487:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.numToUint8=void 0,V.numToUint8=function S(M){return new Uint8Array([(4278190080&M)>>24,(16711680&M)>>16,(65280&M)>>8,255&M])}},47523:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.uint32ArrayFrom=void 0,V.uint32ArrayFrom=function S(M){if(!Uint32Array.from){for(var K=new Uint32Array(M.length),B=0;B<M.length;)K[B]=M[B],B+=1;return K}return Uint32Array.from(M)}},25337:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.RawSha256=void 0;var M=S(99271),K=function(){function B(){this.state=Int32Array.from(M.INIT),this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}return B.prototype.update=function(r){if(this.finished)throw new Error("Attempted to update an already finished hash.");var y=0,f=r.byteLength;if(this.bytesHashed+=f,8*this.bytesHashed>M.MAX_HASHABLE_LENGTH)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;f>0;)this.buffer[this.bufferLength++]=r[y++],f--,this.bufferLength===M.BLOCK_SIZE&&(this.hashBuffer(),this.bufferLength=0)},B.prototype.digest=function(){if(!this.finished){var r=8*this.bytesHashed,y=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),f=this.bufferLength;if(y.setUint8(this.bufferLength++,128),f%M.BLOCK_SIZE>=M.BLOCK_SIZE-8){for(var g=this.bufferLength;g<M.BLOCK_SIZE;g++)y.setUint8(g,0);this.hashBuffer(),this.bufferLength=0}for(g=this.bufferLength;g<M.BLOCK_SIZE-8;g++)y.setUint8(g,0);y.setUint32(M.BLOCK_SIZE-8,Math.floor(r/4294967296),!0),y.setUint32(M.BLOCK_SIZE-4,r),this.hashBuffer(),this.finished=!0}var _=new Uint8Array(M.DIGEST_LENGTH);for(g=0;g<8;g++)_[4*g]=this.state[g]>>>24&255,_[4*g+1]=this.state[g]>>>16&255,_[4*g+2]=this.state[g]>>>8&255,_[4*g+3]=this.state[g]>>>0&255;return _},B.prototype.hashBuffer=function(){for(var y=this.buffer,f=this.state,g=f[0],_=f[1],P=f[2],O=f[3],j=f[4],v=f[5],b=f[6],G=f[7],z=0;z<M.BLOCK_SIZE;z++){if(z<16)this.temp[z]=(255&y[4*z])<<24|(255&y[4*z+1])<<16|(255&y[4*z+2])<<8|255&y[4*z+3];else{var H=this.temp[z-2];this.temp[z]=(((H>>>17|H<<15)^(H>>>19|H<<13)^H>>>10)+this.temp[z-7]|0)+((((H=this.temp[z-15])>>>7|H<<25)^(H>>>18|H<<14)^H>>>3)+this.temp[z-16]|0)}var W=(((j>>>6|j<<26)^(j>>>11|j<<21)^(j>>>25|j<<7))+(j&v^~j&b)|0)+(G+(M.KEY[z]+this.temp[z]|0)|0)|0,Y=((g>>>2|g<<30)^(g>>>13|g<<19)^(g>>>22|g<<10))+(g&_^g&P^_&P)|0;G=b,b=v,v=j,j=O+W|0,O=P,P=_,_=g,g=W+Y|0}f[0]+=g,f[1]+=_,f[2]+=P,f[3]+=O,f[4]+=j,f[5]+=v,f[6]+=b,f[7]+=G},B}();V.RawSha256=K},99271:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.MAX_HASHABLE_LENGTH=V.INIT=V.KEY=V.DIGEST_LENGTH=V.BLOCK_SIZE=void 0,V.BLOCK_SIZE=64,V.DIGEST_LENGTH=32,V.KEY=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),V.INIT=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],V.MAX_HASHABLE_LENGTH=Math.pow(2,53)-1},89984:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),(0,S(99055).__exportStar)(S(37803),V)},37803:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.Sha256=void 0;var M=S(99055),K=S(99271),B=S(25337),r=S(35272),y=function(){function g(_){if(this.hash=new B.RawSha256,_){this.outer=new B.RawSha256;var P=function f(g){var _=(0,r.convertToBuffer)(g);if(_.byteLength>K.BLOCK_SIZE){var P=new B.RawSha256;P.update(_),_=P.digest()}var O=new Uint8Array(K.BLOCK_SIZE);return O.set(_),O}(_),O=new Uint8Array(K.BLOCK_SIZE);O.set(P);for(var j=0;j<K.BLOCK_SIZE;j++)P[j]^=54,O[j]^=92;for(this.hash.update(P),this.outer.update(O),j=0;j<P.byteLength;j++)P[j]=0}}return g.prototype.update=function(_){if(!(0,r.isEmptyData)(_)&&!this.error)try{this.hash.update((0,r.convertToBuffer)(_))}catch(P){this.error=P}},g.prototype.digestSync=function(){if(this.error)throw this.error;return this.outer?(this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest()):this.hash.digest()},g.prototype.digest=function(){return(0,M.__awaiter)(this,void 0,void 0,function(){return(0,M.__generator)(this,function(_){return[2,this.digestSync()]})})},g}();V.Sha256=y},5448:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.convertToBuffer=void 0;var M=S(82093),K=typeof Buffer<"u"&&Buffer.from?function(r){return Buffer.from(r,"utf8")}:M.fromUtf8;V.convertToBuffer=function B(r){return r instanceof Uint8Array?r:"string"==typeof r?K(r):ArrayBuffer.isView(r)?new Uint8Array(r.buffer,r.byteOffset,r.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(r)}},35272:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.uint32ArrayFrom=V.numToUint8=V.isEmptyData=V.convertToBuffer=void 0;var M=S(5448);Object.defineProperty(V,"convertToBuffer",{enumerable:!0,get:function(){return M.convertToBuffer}});var K=S(40482);Object.defineProperty(V,"isEmptyData",{enumerable:!0,get:function(){return K.isEmptyData}});var B=S(36203);Object.defineProperty(V,"numToUint8",{enumerable:!0,get:function(){return B.numToUint8}});var r=S(65824);Object.defineProperty(V,"uint32ArrayFrom",{enumerable:!0,get:function(){return r.uint32ArrayFrom}})},40482:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.isEmptyData=void 0,V.isEmptyData=function S(M){return"string"==typeof M?0===M.length:0===M.byteLength}},36203:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.numToUint8=void 0,V.numToUint8=function S(M){return new Uint8Array([(4278190080&M)>>24,(16711680&M)>>16,(65280&M)>>8,255&M])}},65824:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.uint32ArrayFrom=void 0,V.uint32ArrayFrom=function S(M){if(!Array.from){for(var K=new Uint32Array(M.length);0<M.length;)K[0]=M[0];return K}return Uint32Array.from(M)}},24447:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0})},75694:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0})},73502:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0})},59710:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0})},53707:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.isMsWindow=void 0;var S=["decrypt","digest","encrypt","exportKey","generateKey","importKey","sign","verify"];V.isMsWindow=function K(B){if(function M(B){return"MSInputMethodContext"in B&&"msCrypto"in B}(B)&&void 0!==B.msCrypto.subtle){var r=B.msCrypto,y=r.getRandomValues,f=r.subtle;return S.map(function(g){return f[g]}).concat(y).every(function(g){return"function"==typeof g})}return!1}},59826:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0});var M=S(37994);M.__exportStar(S(24447),V),M.__exportStar(S(75694),V),M.__exportStar(S(73502),V),M.__exportStar(S(59710),V),M.__exportStar(S(53707),V)},84812:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.EMPTY_DATA_SHA_256=V.SHA_256_HMAC_ALGO=V.SHA_256_HASH=void 0,V.SHA_256_HASH={name:"SHA-256"},V.SHA_256_HMAC_ALGO={name:"HMAC",hash:V.SHA_256_HASH},V.EMPTY_DATA_SHA_256=new Uint8Array([227,176,196,66,152,252,28,20,154,251,244,200,153,111,185,36,39,174,65,228,100,155,147,76,164,149,153,27,120,82,184,85])},73911:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.Sha256=void 0;var M=S(15912),K=S(80532),B=S(47408),r=S(98284),y=S(59826),f=S(45468),g=S(62862),_=function(){function P(O){this.hash=(0,r.supportsWebCrypto)((0,f.locateWindow)())?new K.Sha256(O):(0,y.isMsWindow)((0,f.locateWindow)())?new M.Sha256(O):new B.Sha256(O)}return P.prototype.update=function(O,j){this.hash.update((0,g.convertToBuffer)(O))},P.prototype.digest=function(){return this.hash.digest()},P.prototype.reset=function(){this.hash.reset()},P}();V.Sha256=_},15912:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.Sha256=void 0;var M=S(37283),K=S(84812),B=S(82093),r=S(45468),y=function(){function _(P){this.secret=P,this.reset()}return _.prototype.update=function(P){var O=this;(0,M.isEmptyData)(P)||(this.operation=this.operation.then(function(j){return j.onerror=function(){O.operation=Promise.reject(new Error("Error encountered updating hash"))},j.process(g(P)),j}),this.operation.catch(function(){}))},_.prototype.digest=function(){return this.operation.then(function(P){return new Promise(function(O,j){P.onerror=function(){j(new Error("Error encountered finalizing hash"))},P.oncomplete=function(){P.result&&O(new Uint8Array(P.result)),j(new Error("Error encountered finalizing hash"))},P.finish()})})},_.prototype.reset=function(){this.secret?(this.operation=function f(_){return new Promise(function(P,O){var j=(0,r.locateWindow)().msCrypto.subtle.importKey("raw",g(_),K.SHA_256_HMAC_ALGO,!1,["sign"]);j.oncomplete=function(){j.result&&P(j.result),O(new Error("ImportKey completed without importing key."))},j.onerror=function(){O(new Error("ImportKey failed to import key."))}})}(this.secret).then(function(P){return(0,r.locateWindow)().msCrypto.subtle.sign(K.SHA_256_HMAC_ALGO,P)}),this.operation.catch(function(){})):this.operation=Promise.resolve((0,r.locateWindow)().msCrypto.subtle.digest("SHA-256"))},_}();function g(_){return"string"==typeof _?(0,B.fromUtf8)(_):ArrayBuffer.isView(_)?new Uint8Array(_.buffer,_.byteOffset,_.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(_)}V.Sha256=y},46513:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.WebCryptoSha256=V.Ie11Sha256=void 0,S(68952).__exportStar(S(73911),V);var K=S(15912);Object.defineProperty(V,"Ie11Sha256",{enumerable:!0,get:function(){return K.Sha256}});var B=S(80532);Object.defineProperty(V,"WebCryptoSha256",{enumerable:!0,get:function(){return B.Sha256}})},37283:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.isEmptyData=void 0,V.isEmptyData=function S(M){return"string"==typeof M?0===M.length:0===M.byteLength}},80532:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.Sha256=void 0;var M=S(62862),K=S(84812),B=S(45468),r=function(){function y(f){this.toHash=new Uint8Array(0),this.secret=f,this.reset()}return y.prototype.update=function(f){if(!(0,M.isEmptyData)(f)){var g=(0,M.convertToBuffer)(f),_=new Uint8Array(this.toHash.byteLength+g.byteLength);_.set(this.toHash,0),_.set(g,this.toHash.byteLength),this.toHash=_}},y.prototype.digest=function(){var f=this;return this.key?this.key.then(function(g){return(0,B.locateWindow)().crypto.subtle.sign(K.SHA_256_HMAC_ALGO,g,f.toHash).then(function(_){return new Uint8Array(_)})}):(0,M.isEmptyData)(this.toHash)?Promise.resolve(K.EMPTY_DATA_SHA_256):Promise.resolve().then(function(){return(0,B.locateWindow)().crypto.subtle.digest(K.SHA_256_HASH,f.toHash)}).then(function(g){return Promise.resolve(new Uint8Array(g))})},y.prototype.reset=function(){var f=this;this.toHash=new Uint8Array(0),this.secret&&void 0!==this.secret&&(this.key=new Promise(function(g,_){(0,B.locateWindow)().crypto.subtle.importKey("raw",(0,M.convertToBuffer)(f.secret),K.SHA_256_HMAC_ALGO,!1,["sign"]).then(g,_)}),this.key.catch(function(){}))},y}();V.Sha256=r},69700:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.RawSha256=void 0;var M=S(29359),K=function(){function B(){this.state=Int32Array.from(M.INIT),this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}return B.prototype.update=function(r){if(this.finished)throw new Error("Attempted to update an already finished hash.");var y=0,f=r.byteLength;if(this.bytesHashed+=f,8*this.bytesHashed>M.MAX_HASHABLE_LENGTH)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;f>0;)this.buffer[this.bufferLength++]=r[y++],f--,this.bufferLength===M.BLOCK_SIZE&&(this.hashBuffer(),this.bufferLength=0)},B.prototype.digest=function(){if(!this.finished){var r=8*this.bytesHashed,y=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),f=this.bufferLength;if(y.setUint8(this.bufferLength++,128),f%M.BLOCK_SIZE>=M.BLOCK_SIZE-8){for(var g=this.bufferLength;g<M.BLOCK_SIZE;g++)y.setUint8(g,0);this.hashBuffer(),this.bufferLength=0}for(g=this.bufferLength;g<M.BLOCK_SIZE-8;g++)y.setUint8(g,0);y.setUint32(M.BLOCK_SIZE-8,Math.floor(r/4294967296),!0),y.setUint32(M.BLOCK_SIZE-4,r),this.hashBuffer(),this.finished=!0}var _=new Uint8Array(M.DIGEST_LENGTH);for(g=0;g<8;g++)_[4*g]=this.state[g]>>>24&255,_[4*g+1]=this.state[g]>>>16&255,_[4*g+2]=this.state[g]>>>8&255,_[4*g+3]=this.state[g]>>>0&255;return _},B.prototype.hashBuffer=function(){for(var y=this.buffer,f=this.state,g=f[0],_=f[1],P=f[2],O=f[3],j=f[4],v=f[5],b=f[6],G=f[7],z=0;z<M.BLOCK_SIZE;z++){if(z<16)this.temp[z]=(255&y[4*z])<<24|(255&y[4*z+1])<<16|(255&y[4*z+2])<<8|255&y[4*z+3];else{var H=this.temp[z-2];this.temp[z]=(((H>>>17|H<<15)^(H>>>19|H<<13)^H>>>10)+this.temp[z-7]|0)+((((H=this.temp[z-15])>>>7|H<<25)^(H>>>18|H<<14)^H>>>3)+this.temp[z-16]|0)}var W=(((j>>>6|j<<26)^(j>>>11|j<<21)^(j>>>25|j<<7))+(j&v^~j&b)|0)+(G+(M.KEY[z]+this.temp[z]|0)|0)|0,Y=((g>>>2|g<<30)^(g>>>13|g<<19)^(g>>>22|g<<10))+(g&_^g&P^_&P)|0;G=b,b=v,v=j,j=O+W|0,O=P,P=_,_=g,g=W+Y|0}f[0]+=g,f[1]+=_,f[2]+=P,f[3]+=O,f[4]+=j,f[5]+=v,f[6]+=b,f[7]+=G},B}();V.RawSha256=K},29359:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.MAX_HASHABLE_LENGTH=V.INIT=V.KEY=V.DIGEST_LENGTH=V.BLOCK_SIZE=void 0,V.BLOCK_SIZE=64,V.DIGEST_LENGTH=32,V.KEY=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),V.INIT=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],V.MAX_HASHABLE_LENGTH=Math.pow(2,53)-1},47408:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),S(1707).__exportStar(S(4319),V)},4319:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.Sha256=void 0;var M=S(1707),K=S(29359),B=S(69700),r=S(62862),y=function(){function g(_){this.secret=_,this.hash=new B.RawSha256,this.reset()}return g.prototype.update=function(_){if(!(0,r.isEmptyData)(_)&&!this.error)try{this.hash.update((0,r.convertToBuffer)(_))}catch(P){this.error=P}},g.prototype.digestSync=function(){if(this.error)throw this.error;return this.outer?(this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest()):this.hash.digest()},g.prototype.digest=function(){return M.__awaiter(this,void 0,void 0,function(){return M.__generator(this,function(_){return[2,this.digestSync()]})})},g.prototype.reset=function(){if(this.hash=new B.RawSha256,this.secret){this.outer=new B.RawSha256;var _=function f(g){var _=(0,r.convertToBuffer)(g);if(_.byteLength>K.BLOCK_SIZE){var P=new B.RawSha256;P.update(_),_=P.digest()}var O=new Uint8Array(K.BLOCK_SIZE);return O.set(_),O}(this.secret),P=new Uint8Array(K.BLOCK_SIZE);P.set(_);for(var O=0;O<K.BLOCK_SIZE;O++)_[O]^=54,P[O]^=92;for(this.hash.update(_),this.outer.update(P),O=0;O<_.byteLength;O++)_[O]=0}},g}();V.Sha256=y},98284:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),S(59106).__exportStar(S(67906),V)},67906:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.supportsZeroByteGCM=V.supportsSubtleCrypto=V.supportsSecureRandom=V.supportsWebCrypto=void 0;var M=S(59106),K=["decrypt","digest","encrypt","exportKey","generateKey","importKey","sign","verify"];function r(g){return"object"==typeof g&&"object"==typeof g.crypto&&"function"==typeof g.crypto.getRandomValues}function y(g){return g&&K.every(function(_){return"function"==typeof g[_]})}V.supportsWebCrypto=function B(g){return!(!r(g)||"object"!=typeof g.crypto.subtle)&&y(g.crypto.subtle)},V.supportsSecureRandom=r,V.supportsSubtleCrypto=y,V.supportsZeroByteGCM=function f(g){return M.__awaiter(this,void 0,void 0,function(){var _;return M.__generator(this,function(j){switch(j.label){case 0:if(!y(g))return[2,!1];j.label=1;case 1:return j.trys.push([1,4,,5]),[4,g.generateKey({name:"AES-GCM",length:128},!1,["encrypt"])];case 2:return _=j.sent(),[4,g.encrypt({name:"AES-GCM",iv:new Uint8Array(Array(12)),additionalData:new Uint8Array(Array(16)),tagLength:128},_,new Uint8Array(0))];case 3:return[2,16===j.sent().byteLength];case 4:return j.sent(),[2,!1];case 5:return[2]}})})}},83376:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.convertToBuffer=void 0;var M=S(82093),K=typeof Buffer<"u"&&Buffer.from?function(r){return Buffer.from(r,"utf8")}:M.fromUtf8;V.convertToBuffer=function B(r){return r instanceof Uint8Array?r:"string"==typeof r?K(r):ArrayBuffer.isView(r)?new Uint8Array(r.buffer,r.byteOffset,r.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(r)}},62862:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.uint32ArrayFrom=V.numToUint8=V.isEmptyData=V.convertToBuffer=void 0;var M=S(83376);Object.defineProperty(V,"convertToBuffer",{enumerable:!0,get:function(){return M.convertToBuffer}});var K=S(48075);Object.defineProperty(V,"isEmptyData",{enumerable:!0,get:function(){return K.isEmptyData}});var B=S(92127);Object.defineProperty(V,"numToUint8",{enumerable:!0,get:function(){return B.numToUint8}});var r=S(92768);Object.defineProperty(V,"uint32ArrayFrom",{enumerable:!0,get:function(){return r.uint32ArrayFrom}})},48075:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.isEmptyData=void 0,V.isEmptyData=function S(M){return"string"==typeof M?0===M.length:0===M.byteLength}},92127:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.numToUint8=void 0,V.numToUint8=function S(M){return new Uint8Array([(4278190080&M)>>24,(16711680&M)>>16,(65280&M)>>8,255&M])}},92768:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.uint32ArrayFrom=void 0,V.uint32ArrayFrom=function S(M){if(!Uint32Array.from){for(var K=new Uint32Array(M.length),B=0;B<M.length;)K[B]=M[B],B+=1;return K}return Uint32Array.from(M)}},11674:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0})},98645:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0})},82667:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0})},81693:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0})},49484:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.isMsWindow=void 0;var S=["decrypt","digest","encrypt","exportKey","generateKey","importKey","sign","verify"];V.isMsWindow=function K(B){if(function M(B){return"MSInputMethodContext"in B&&"msCrypto"in B}(B)&&void 0!==B.msCrypto.subtle){var r=B.msCrypto,y=r.getRandomValues,f=r.subtle;return S.map(function(g){return f[g]}).concat(y).every(function(g){return"function"==typeof g})}return!1}},76868:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0});var M=S(55298);M.__exportStar(S(11674),V),M.__exportStar(S(98645),V),M.__exportStar(S(82667),V),M.__exportStar(S(81693),V),M.__exportStar(S(49484),V)},21432:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.EMPTY_DATA_SHA_256=V.SHA_256_HMAC_ALGO=V.SHA_256_HASH=void 0,V.SHA_256_HASH={name:"SHA-256"},V.SHA_256_HMAC_ALGO={name:"HMAC",hash:V.SHA_256_HASH},V.EMPTY_DATA_SHA_256=new Uint8Array([227,176,196,66,152,252,28,20,154,251,244,200,153,111,185,36,39,174,65,228,100,155,147,76,164,149,153,27,120,82,184,85])},61602:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.Sha256=void 0;var M=S(51673),K=S(65717),B=S(69985),r=S(39696),y=S(76868),f=S(45468),g=S(29248),_=function(){function P(O){this.hash=(0,r.supportsWebCrypto)((0,f.locateWindow)())?new K.Sha256(O):(0,y.isMsWindow)((0,f.locateWindow)())?new M.Sha256(O):new B.Sha256(O)}return P.prototype.update=function(O,j){this.hash.update((0,g.convertToBuffer)(O))},P.prototype.digest=function(){return this.hash.digest()},P.prototype.reset=function(){this.hash.reset()},P}();V.Sha256=_},51673:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.Sha256=void 0;var M=S(67778),K=S(21432),B=S(82093),r=S(45468),y=function(){function _(P){this.secret=P,this.reset()}return _.prototype.update=function(P){var O=this;(0,M.isEmptyData)(P)||(this.operation=this.operation.then(function(j){return j.onerror=function(){O.operation=Promise.reject(new Error("Error encountered updating hash"))},j.process(g(P)),j}),this.operation.catch(function(){}))},_.prototype.digest=function(){return this.operation.then(function(P){return new Promise(function(O,j){P.onerror=function(){j(new Error("Error encountered finalizing hash"))},P.oncomplete=function(){P.result&&O(new Uint8Array(P.result)),j(new Error("Error encountered finalizing hash"))},P.finish()})})},_.prototype.reset=function(){this.secret?(this.operation=function f(_){return new Promise(function(P,O){var j=(0,r.locateWindow)().msCrypto.subtle.importKey("raw",g(_),K.SHA_256_HMAC_ALGO,!1,["sign"]);j.oncomplete=function(){j.result&&P(j.result),O(new Error("ImportKey completed without importing key."))},j.onerror=function(){O(new Error("ImportKey failed to import key."))}})}(this.secret).then(function(P){return(0,r.locateWindow)().msCrypto.subtle.sign(K.SHA_256_HMAC_ALGO,P)}),this.operation.catch(function(){})):this.operation=Promise.resolve((0,r.locateWindow)().msCrypto.subtle.digest("SHA-256"))},_}();function g(_){return"string"==typeof _?(0,B.fromUtf8)(_):ArrayBuffer.isView(_)?new Uint8Array(_.buffer,_.byteOffset,_.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(_)}V.Sha256=y},44907:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.WebCryptoSha256=V.Ie11Sha256=void 0,S(59904).__exportStar(S(61602),V);var K=S(51673);Object.defineProperty(V,"Ie11Sha256",{enumerable:!0,get:function(){return K.Sha256}});var B=S(65717);Object.defineProperty(V,"WebCryptoSha256",{enumerable:!0,get:function(){return B.Sha256}})},67778:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.isEmptyData=void 0,V.isEmptyData=function S(M){return"string"==typeof M?0===M.length:0===M.byteLength}},65717:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.Sha256=void 0;var M=S(29248),K=S(21432),B=S(45468),r=function(){function y(f){this.toHash=new Uint8Array(0),this.secret=f,this.reset()}return y.prototype.update=function(f){if(!(0,M.isEmptyData)(f)){var g=(0,M.convertToBuffer)(f),_=new Uint8Array(this.toHash.byteLength+g.byteLength);_.set(this.toHash,0),_.set(g,this.toHash.byteLength),this.toHash=_}},y.prototype.digest=function(){var f=this;return this.key?this.key.then(function(g){return(0,B.locateWindow)().crypto.subtle.sign(K.SHA_256_HMAC_ALGO,g,f.toHash).then(function(_){return new Uint8Array(_)})}):(0,M.isEmptyData)(this.toHash)?Promise.resolve(K.EMPTY_DATA_SHA_256):Promise.resolve().then(function(){return(0,B.locateWindow)().crypto.subtle.digest(K.SHA_256_HASH,f.toHash)}).then(function(g){return Promise.resolve(new Uint8Array(g))})},y.prototype.reset=function(){var f=this;this.toHash=new Uint8Array(0),this.secret&&void 0!==this.secret&&(this.key=new Promise(function(g,_){(0,B.locateWindow)().crypto.subtle.importKey("raw",(0,M.convertToBuffer)(f.secret),K.SHA_256_HMAC_ALGO,!1,["sign"]).then(g,_)}),this.key.catch(function(){}))},y}();V.Sha256=r},26643:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.RawSha256=void 0;var M=S(39210),K=function(){function B(){this.state=Int32Array.from(M.INIT),this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}return B.prototype.update=function(r){if(this.finished)throw new Error("Attempted to update an already finished hash.");var y=0,f=r.byteLength;if(this.bytesHashed+=f,8*this.bytesHashed>M.MAX_HASHABLE_LENGTH)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;f>0;)this.buffer[this.bufferLength++]=r[y++],f--,this.bufferLength===M.BLOCK_SIZE&&(this.hashBuffer(),this.bufferLength=0)},B.prototype.digest=function(){if(!this.finished){var r=8*this.bytesHashed,y=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),f=this.bufferLength;if(y.setUint8(this.bufferLength++,128),f%M.BLOCK_SIZE>=M.BLOCK_SIZE-8){for(var g=this.bufferLength;g<M.BLOCK_SIZE;g++)y.setUint8(g,0);this.hashBuffer(),this.bufferLength=0}for(g=this.bufferLength;g<M.BLOCK_SIZE-8;g++)y.setUint8(g,0);y.setUint32(M.BLOCK_SIZE-8,Math.floor(r/4294967296),!0),y.setUint32(M.BLOCK_SIZE-4,r),this.hashBuffer(),this.finished=!0}var _=new Uint8Array(M.DIGEST_LENGTH);for(g=0;g<8;g++)_[4*g]=this.state[g]>>>24&255,_[4*g+1]=this.state[g]>>>16&255,_[4*g+2]=this.state[g]>>>8&255,_[4*g+3]=this.state[g]>>>0&255;return _},B.prototype.hashBuffer=function(){for(var y=this.buffer,f=this.state,g=f[0],_=f[1],P=f[2],O=f[3],j=f[4],v=f[5],b=f[6],G=f[7],z=0;z<M.BLOCK_SIZE;z++){if(z<16)this.temp[z]=(255&y[4*z])<<24|(255&y[4*z+1])<<16|(255&y[4*z+2])<<8|255&y[4*z+3];else{var H=this.temp[z-2];this.temp[z]=(((H>>>17|H<<15)^(H>>>19|H<<13)^H>>>10)+this.temp[z-7]|0)+((((H=this.temp[z-15])>>>7|H<<25)^(H>>>18|H<<14)^H>>>3)+this.temp[z-16]|0)}var W=(((j>>>6|j<<26)^(j>>>11|j<<21)^(j>>>25|j<<7))+(j&v^~j&b)|0)+(G+(M.KEY[z]+this.temp[z]|0)|0)|0,Y=((g>>>2|g<<30)^(g>>>13|g<<19)^(g>>>22|g<<10))+(g&_^g&P^_&P)|0;G=b,b=v,v=j,j=O+W|0,O=P,P=_,_=g,g=W+Y|0}f[0]+=g,f[1]+=_,f[2]+=P,f[3]+=O,f[4]+=j,f[5]+=v,f[6]+=b,f[7]+=G},B}();V.RawSha256=K},39210:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.MAX_HASHABLE_LENGTH=V.INIT=V.KEY=V.DIGEST_LENGTH=V.BLOCK_SIZE=void 0,V.BLOCK_SIZE=64,V.DIGEST_LENGTH=32,V.KEY=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),V.INIT=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],V.MAX_HASHABLE_LENGTH=Math.pow(2,53)-1},69985:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),S(97716).__exportStar(S(80769),V)},80769:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.Sha256=void 0;var M=S(97716),K=S(39210),B=S(26643),r=S(29248),y=function(){function g(_){this.secret=_,this.hash=new B.RawSha256,this.reset()}return g.prototype.update=function(_){if(!(0,r.isEmptyData)(_)&&!this.error)try{this.hash.update((0,r.convertToBuffer)(_))}catch(P){this.error=P}},g.prototype.digestSync=function(){if(this.error)throw this.error;return this.outer?(this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest()):this.hash.digest()},g.prototype.digest=function(){return M.__awaiter(this,void 0,void 0,function(){return M.__generator(this,function(_){return[2,this.digestSync()]})})},g.prototype.reset=function(){if(this.hash=new B.RawSha256,this.secret){this.outer=new B.RawSha256;var _=function f(g){var _=(0,r.convertToBuffer)(g);if(_.byteLength>K.BLOCK_SIZE){var P=new B.RawSha256;P.update(_),_=P.digest()}var O=new Uint8Array(K.BLOCK_SIZE);return O.set(_),O}(this.secret),P=new Uint8Array(K.BLOCK_SIZE);P.set(_);for(var O=0;O<K.BLOCK_SIZE;O++)_[O]^=54,P[O]^=92;for(this.hash.update(_),this.outer.update(P),O=0;O<_.byteLength;O++)_[O]=0}},g}();V.Sha256=y},39696:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),S(76187).__exportStar(S(68022),V)},68022:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.supportsZeroByteGCM=V.supportsSubtleCrypto=V.supportsSecureRandom=V.supportsWebCrypto=void 0;var M=S(76187),K=["decrypt","digest","encrypt","exportKey","generateKey","importKey","sign","verify"];function r(g){return"object"==typeof g&&"object"==typeof g.crypto&&"function"==typeof g.crypto.getRandomValues}function y(g){return g&&K.every(function(_){return"function"==typeof g[_]})}V.supportsWebCrypto=function B(g){return!(!r(g)||"object"!=typeof g.crypto.subtle)&&y(g.crypto.subtle)},V.supportsSecureRandom=r,V.supportsSubtleCrypto=y,V.supportsZeroByteGCM=function f(g){return M.__awaiter(this,void 0,void 0,function(){var _;return M.__generator(this,function(j){switch(j.label){case 0:if(!y(g))return[2,!1];j.label=1;case 1:return j.trys.push([1,4,,5]),[4,g.generateKey({name:"AES-GCM",length:128},!1,["encrypt"])];case 2:return _=j.sent(),[4,g.encrypt({name:"AES-GCM",iv:new Uint8Array(Array(12)),additionalData:new Uint8Array(Array(16)),tagLength:128},_,new Uint8Array(0))];case 3:return[2,16===j.sent().byteLength];case 4:return j.sent(),[2,!1];case 5:return[2]}})})}},77388:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.convertToBuffer=void 0;var M=S(82093),K=typeof Buffer<"u"&&Buffer.from?function(r){return Buffer.from(r,"utf8")}:M.fromUtf8;V.convertToBuffer=function B(r){return r instanceof Uint8Array?r:"string"==typeof r?K(r):ArrayBuffer.isView(r)?new Uint8Array(r.buffer,r.byteOffset,r.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(r)}},29248:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.uint32ArrayFrom=V.numToUint8=V.isEmptyData=V.convertToBuffer=void 0;var M=S(77388);Object.defineProperty(V,"convertToBuffer",{enumerable:!0,get:function(){return M.convertToBuffer}});var K=S(72885);Object.defineProperty(V,"isEmptyData",{enumerable:!0,get:function(){return K.isEmptyData}});var B=S(11817);Object.defineProperty(V,"numToUint8",{enumerable:!0,get:function(){return B.numToUint8}});var r=S(87476);Object.defineProperty(V,"uint32ArrayFrom",{enumerable:!0,get:function(){return r.uint32ArrayFrom}})},72885:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.isEmptyData=void 0,V.isEmptyData=function S(M){return"string"==typeof M?0===M.length:0===M.byteLength}},11817:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.numToUint8=void 0,V.numToUint8=function S(M){return new Uint8Array([(4278190080&M)>>24,(16711680&M)>>16,(65280&M)>>8,255&M])}},87476:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.uint32ArrayFrom=void 0,V.uint32ArrayFrom=function S(M){if(!Uint32Array.from){for(var K=new Uint32Array(M.length),B=0;B<M.length;)K[B]=M[B],B+=1;return K}return Uint32Array.from(M)}},53226:(fe,V,S)=>{var M=S(34572),K=S(11121),B=S(12);fe.exports={XMLParser:K,XMLValidator:M,XMLBuilder:B}},89628:(fe,V)=>{var S=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",K="["+S+"]["+S+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*",B=new RegExp("^"+K+"$");V.isExist=function(f){return typeof f<"u"},V.isEmptyObject=function(f){return 0===Object.keys(f).length},V.merge=function(f,g,_){if(g)for(var P=Object.keys(g),O=P.length,j=0;j<O;j++)f[P[j]]="strict"===_?[g[P[j]]]:g[P[j]]},V.getValue=function(f){return V.isExist(f)?f:""},V.isName=function(g){var _=B.exec(g);return!(null===_||typeof _>"u")},V.getAllMatches=function(g,_){for(var P=[],O=_.exec(g);O;){var j=[];j.startIndex=_.lastIndex-O[0].length;for(var v=O.length,b=0;b<v;b++)j.push(O[b]);P.push(j),O=_.exec(g)}return P},V.nameRegexp=K},34572:(fe,V,S)=>{var M=S(89628),K={allowBooleanAttributes:!1,unpairedTags:[]};function B(U){return" "===U||"\t"===U||"\n"===U||"\r"===U}function r(U,W){for(var Y=W;W<U.length;W++)if("?"==U[W]||" "==U[W]){var ae=U.substr(Y,W-Y);if(W>5&&"xml"===ae)return b("InvalidXml","XML declaration allowed only at the start of the document.",H(U,W));if("?"==U[W]&&">"==U[W+1]){W++;break}continue}return W}function y(U,W){if(U.length>W+5&&"-"===U[W+1]&&"-"===U[W+2]){for(W+=3;W<U.length;W++)if("-"===U[W]&&"-"===U[W+1]&&">"===U[W+2]){W+=2;break}}else if(U.length>W+8&&"D"===U[W+1]&&"O"===U[W+2]&&"C"===U[W+3]&&"T"===U[W+4]&&"Y"===U[W+5]&&"P"===U[W+6]&&"E"===U[W+7]){var Y=1;for(W+=8;W<U.length;W++)if("<"===U[W])Y++;else if(">"===U[W]&&0==--Y)break}else if(U.length>W+9&&"["===U[W+1]&&"C"===U[W+2]&&"D"===U[W+3]&&"A"===U[W+4]&&"T"===U[W+5]&&"A"===U[W+6]&&"["===U[W+7])for(W+=8;W<U.length;W++)if("]"===U[W]&&"]"===U[W+1]&&">"===U[W+2]){W+=2;break}return W}V.validate=function(U,W){W=Object.assign({},K,W);var Y=[],ae=!1,ve=!1;"\ufeff"===U[0]&&(U=U.substr(1));for(var _e=0;_e<U.length;_e++)if("<"===U[_e]&&"?"===U[_e+1]){if((_e=r(U,_e+=2)).err)return _e}else{if("<"!==U[_e]){if(B(U[_e]))continue;return b("InvalidChar","char '"+U[_e]+"' is not expected.",H(U,_e))}var he=_e;if("!"===U[++_e]){_e=y(U,_e);continue}var x=!1;"/"===U[_e]&&(x=!0,_e++);for(var R="";_e<U.length&&">"!==U[_e]&&" "!==U[_e]&&"\t"!==U[_e]&&"\n"!==U[_e]&&"\r"!==U[_e];_e++)R+=U[_e];if("/"===(R=R.trim())[R.length-1]&&(R=R.substring(0,R.length-1),_e--),!z(R))return b("InvalidTag",0===R.trim().length?"Invalid space after '<'.":"Tag '"+R+"' is an invalid name.",H(U,_e));var I=_(U,_e);if(!1===I)return b("InvalidAttr","Attributes for '"+R+"' have open quote.",H(U,_e));var L=I.value;if(_e=I.index,"/"===L[L.length-1]){var D=_e-L.length,Q=O(L=L.substring(0,L.length-1),W);if(!0!==Q)return b(Q.err.code,Q.err.msg,H(U,D+Q.err.line));ae=!0}else if(x){if(!I.tagClosed)return b("InvalidTag","Closing tag '"+R+"' doesn't have proper closing.",H(U,_e));if(L.trim().length>0)return b("InvalidTag","Closing tag '"+R+"' can't have attributes or invalid starting.",H(U,he));var te=Y.pop();if(R!==te.tagName){var Re=H(U,te.tagStartPos);return b("InvalidTag","Expected closing tag '"+te.tagName+"' (opened in line "+Re.line+", col "+Re.col+") instead of closing tag '"+R+"'.",H(U,he))}0==Y.length&&(ve=!0)}else{var ne=O(L,W);if(!0!==ne)return b(ne.err.code,ne.err.msg,H(U,_e-L.length+ne.err.line));if(!0===ve)return b("InvalidXml","Multiple possible root nodes found.",H(U,_e));-1!==W.unpairedTags.indexOf(R)||Y.push({tagName:R,tagStartPos:he}),ae=!0}for(_e++;_e<U.length;_e++)if("<"===U[_e]){if("!"===U[_e+1]){_e=y(U,++_e);continue}if("?"!==U[_e+1])break;if((_e=r(U,++_e)).err)return _e}else if("&"===U[_e]){var Fe=v(U,_e);if(-1==Fe)return b("InvalidChar","char '&' is not expected.",H(U,_e));_e=Fe}else if(!0===ve&&!B(U[_e]))return b("InvalidXml","Extra text at the end",H(U,_e));"<"===U[_e]&&_e--}return ae?1==Y.length?b("InvalidTag","Unclosed tag '"+Y[0].tagName+"'.",H(U,Y[0].tagStartPos)):!(Y.length>0)||b("InvalidXml","Invalid '"+JSON.stringify(Y.map(function(rt){return rt.tagName}),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):b("InvalidXml","Start tag expected.",1)};var f='"',g="'";function _(U,W){for(var Y="",ae="",ve=!1;W<U.length;W++){if(U[W]===f||U[W]===g)""===ae?ae=U[W]:ae!==U[W]||(ae="");else if(">"===U[W]&&""===ae){ve=!0;break}Y+=U[W]}return""===ae&&{value:Y,index:W,tagClosed:ve}}var P=new RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function O(U,W){for(var Y=M.getAllMatches(U,P),ae={},ve=0;ve<Y.length;ve++){if(0===Y[ve][1].length)return b("InvalidAttr","Attribute '"+Y[ve][2]+"' has no space in starting.",ee(Y[ve]));if(void 0!==Y[ve][3]&&void 0===Y[ve][4])return b("InvalidAttr","Attribute '"+Y[ve][2]+"' is without value.",ee(Y[ve]));if(void 0===Y[ve][3]&&!W.allowBooleanAttributes)return b("InvalidAttr","boolean attribute '"+Y[ve][2]+"' is not allowed.",ee(Y[ve]));var _e=Y[ve][2];if(!G(_e))return b("InvalidAttr","Attribute '"+_e+"' is an invalid name.",ee(Y[ve]));if(ae.hasOwnProperty(_e))return b("InvalidAttr","Attribute '"+_e+"' is repeated.",ee(Y[ve]));ae[_e]=1}return!0}function v(U,W){if(";"===U[++W])return-1;if("#"===U[W])return function j(U,W){var Y=/\d/;for("x"===U[W]&&(W++,Y=/[\da-fA-F]/);W<U.length;W++){if(";"===U[W])return W;if(!U[W].match(Y))break}return-1}(U,++W);for(var Y=0;W<U.length;W++,Y++)if(!(U[W].match(/\w/)&&Y<20)){if(";"===U[W])break;return-1}return W}function b(U,W,Y){return{err:{code:U,msg:W,line:Y.line||Y,col:Y.col}}}function G(U){return M.isName(U)}function z(U){return M.isName(U)}function H(U,W){var Y=U.substring(0,W).split(/\r?\n/);return{line:Y.length,col:Y[Y.length-1].length+1}}function ee(U){return U.startIndex+U[1].length}},12:(fe,V,S)=>{var M=S(9482).default,K=S(98549),B={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(O,j){return j},attributeValueProcessor:function(O,j){return j},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&"},{regex:new RegExp(">","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function r(P){this.options=Object.assign({},B,P),this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=_),this.processTextOrObjNode=y,this.options.format?(this.indentate=g,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function y(P,O,j){var v=this.j2x(P,j+1);return void 0!==P[this.options.textNodeName]&&1===Object.keys(P).length?this.buildTextValNode(P[this.options.textNodeName],O,v.attrStr,j):this.buildObjectNode(v.val,O,v.attrStr,j)}function g(P){return this.options.indentBy.repeat(P)}function _(P){return!!P.startsWith(this.options.attributeNamePrefix)&&P.substr(this.attrPrefixLen)}r.prototype.build=function(P){return this.options.preserveOrder?K(P,this.options):(Array.isArray(P)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(P=M({},this.options.arrayNodeName,P)),this.j2x(P,0).val)},r.prototype.j2x=function(P,O){var j="",v="";for(var b in P)if(!(typeof P[b]>"u"))if(null===P[b])v+="?"===b[0]?this.indentate(O)+"<"+b+"?"+this.tagEndChar:this.indentate(O)+"<"+b+"/"+this.tagEndChar;else if(P[b]instanceof Date)v+=this.buildTextValNode(P[b],b,"",O);else if("object"!=typeof P[b]){var G=this.isAttribute(b);if(G)j+=this.buildAttrPairStr(G,""+P[b]);else if(b===this.options.textNodeName){var z=this.options.tagValueProcessor(b,""+P[b]);v+=this.replaceEntitiesValue(z)}else v+=this.buildTextValNode(P[b],b,"",O)}else if(Array.isArray(P[b])){for(var H=P[b].length,ee="",U=0;U<H;U++){var W=P[b][U];typeof W>"u"||(null===W?v+="?"===b[0]?this.indentate(O)+"<"+b+"?"+this.tagEndChar:this.indentate(O)+"<"+b+"/"+this.tagEndChar:ee+="object"==typeof W?this.options.oneListGroup?this.j2x(W,O+1).val:this.processTextOrObjNode(W,b,O):this.buildTextValNode(W,b,"",O))}this.options.oneListGroup&&(ee=this.buildObjectNode(ee,b,"",O)),v+=ee}else if(this.options.attributesGroupName&&b===this.options.attributesGroupName)for(var Y=Object.keys(P[b]),ae=Y.length,ve=0;ve<ae;ve++)j+=this.buildAttrPairStr(Y[ve],""+P[b][Y[ve]]);else v+=this.processTextOrObjNode(P[b],b,O);return{attrStr:j,val:v}},r.prototype.buildAttrPairStr=function(P,O){return O=this.options.attributeValueProcessor(P,""+O),O=this.replaceEntitiesValue(O),this.options.suppressBooleanAttributes&&"true"===O?" "+P:" "+P+'="'+O+'"'},r.prototype.buildObjectNode=function(P,O,j,v){if(""===P)return"?"===O[0]?this.indentate(v)+"<"+O+j+"?"+this.tagEndChar:this.indentate(v)+"<"+O+j+this.closeTag(O)+this.tagEndChar;var b="</"+O+this.tagEndChar,G="";return"?"===O[0]&&(G="?",b=""),j&&-1===P.indexOf("<")?this.indentate(v)+"<"+O+j+G+">"+P+b:!1!==this.options.commentPropName&&O===this.options.commentPropName&&0===G.length?this.indentate(v)+"\x3c!--".concat(P,"--\x3e")+this.newLine:this.indentate(v)+"<"+O+j+G+this.tagEndChar+P+this.indentate(v)+b},r.prototype.closeTag=function(P){var O="";return-1!==this.options.unpairedTags.indexOf(P)?this.options.suppressUnpairedNode||(O="/"):O=this.options.suppressEmptyNode?"/":"></".concat(P),O},r.prototype.buildTextValNode=function(P,O,j,v){if(!1!==this.options.cdataPropName&&O===this.options.cdataPropName)return this.indentate(v)+"<![CDATA[".concat(P,"]]>")+this.newLine;if(!1!==this.options.commentPropName&&O===this.options.commentPropName)return this.indentate(v)+"\x3c!--".concat(P,"--\x3e")+this.newLine;if("?"===O[0])return this.indentate(v)+"<"+O+j+"?"+this.tagEndChar;var b=this.options.tagValueProcessor(O,P);return""===(b=this.replaceEntitiesValue(b))?this.indentate(v)+"<"+O+j+this.closeTag(O)+this.tagEndChar:this.indentate(v)+"<"+O+j+">"+b+"</"+O+this.tagEndChar},r.prototype.replaceEntitiesValue=function(P){if(P&&P.length>0&&this.options.processEntities)for(var O=0;O<this.options.entities.length;O++){var j=this.options.entities[O];P=P.replace(j.regex,j.val)}return P},fe.exports=r},98549:fe=>{function M(f,g,_,P){for(var O="",j=!1,v=0;v<f.length;v++){var z,b=f[v],G=K(b);if(z=0===_.length?G:"".concat(_,".").concat(G),G!==g.textNodeName)if(G!==g.cdataPropName)if(G!==g.commentPropName)if("?"!==G[0]){var Y=P;""!==Y&&(Y+=g.indentBy);var ae=B(b[":@"],g),ve=P+"<".concat(G).concat(ae),_e=M(b[G],g,z,Y);-1!==g.unpairedTags.indexOf(G)?O+=g.suppressUnpairedNode?ve+">":ve+"/>":_e&&0!==_e.length||!g.suppressEmptyNode?_e&&_e.endsWith(">")?O+=ve+">".concat(_e).concat(P,"</").concat(G,">"):(O+=ve+">",_e&&""!==P&&(_e.includes("/>")||_e.includes("</"))?O+=P+g.indentBy+_e+P:O+=_e,O+="</".concat(G,">")):O+=ve+"/>",j=!0}else{var ee=B(b[":@"],g),W=b[G][0][g.textNodeName];W=0!==W.length?" "+W:"",O+=("?xml"===G?"":P)+"<".concat(G).concat(W).concat(ee,"?>"),j=!0}else O+=P+"\x3c!--".concat(b[G][0][g.textNodeName],"--\x3e"),j=!0;else j&&(O+=P),O+="<![CDATA[".concat(b[G][0][g.textNodeName],"]]>"),j=!1;else{var H=b[G];r(z,g)||(H=y(H=g.tagValueProcessor(G,H),g)),j&&(O+=P),O+=H,j=!1}}return O}function K(f){for(var g=Object.keys(f),_=0;_<g.length;_++){var P=g[_];if(":@"!==P)return P}}function B(f,g){var _="";if(f&&!g.ignoreAttributes)for(var P in f){var O=g.attributeValueProcessor(P,f[P]);_+=!0===(O=y(O,g))&&g.suppressBooleanAttributes?" ".concat(P.substr(g.attributeNamePrefix.length)):" ".concat(P.substr(g.attributeNamePrefix.length),'="').concat(O,'"')}return _}function r(f,g){var _=(f=f.substr(0,f.length-g.textNodeName.length-1)).substr(f.lastIndexOf(".")+1);for(var P in g.stopNodes)if(g.stopNodes[P]===f||g.stopNodes[P]==="*."+_)return!0;return!1}function y(f,g){if(f&&f.length>0&&g.processEntities)for(var _=0;_<g.entities.length;_++){var P=g.entities[_];f=f.replace(P.regex,P.val)}return f}fe.exports=function S(f,g){var _="";return g.format&&g.indentBy.length>0&&(_="\n"),M(f,g,"",_)}},6781:(fe,V,S)=>{var M=S(3667).default;function B(j,v){for(var b="";v<j.length&&"'"!==j[v]&&'"'!==j[v];v++)b+=j[v];if(-1!==(b=b.trim()).indexOf(" "))throw new Error("External entites are not supported");for(var G=j[v++],z="";v<j.length&&j[v]!==G;v++)z+=j[v];return[b,z,v]}function r(j,v){return"!"===j[v+1]&&"-"===j[v+2]&&"-"===j[v+3]}function y(j,v){return"!"===j[v+1]&&"E"===j[v+2]&&"N"===j[v+3]&&"T"===j[v+4]&&"I"===j[v+5]&&"T"===j[v+6]&&"Y"===j[v+7]}function f(j,v){return"!"===j[v+1]&&"E"===j[v+2]&&"L"===j[v+3]&&"E"===j[v+4]&&"M"===j[v+5]&&"E"===j[v+6]&&"N"===j[v+7]&&"T"===j[v+8]}function g(j,v){return"!"===j[v+1]&&"A"===j[v+2]&&"T"===j[v+3]&&"T"===j[v+4]&&"L"===j[v+5]&&"I"===j[v+6]&&"S"===j[v+7]&&"T"===j[v+8]}function _(j,v){return"!"===j[v+1]&&"N"===j[v+2]&&"O"===j[v+3]&&"T"===j[v+4]&&"A"===j[v+5]&&"T"===j[v+6]&&"I"===j[v+7]&&"O"===j[v+8]&&"N"===j[v+9]}var P="!?\\/[]$%{}^&*()<>|+";function O(j){for(var v=0;v<19;v++){var b=P[v];if(-1!==j.indexOf(b))throw new Error("Invalid character ".concat(b," in entity name"))}return j}fe.exports=function K(j,v){var b={};if("O"!==j[v+3]||"C"!==j[v+4]||"T"!==j[v+5]||"Y"!==j[v+6]||"P"!==j[v+7]||"E"!==j[v+8])throw new Error("Invalid Tag instead of DOCTYPE");v+=9;for(var G=1,z=!1,H=!1;v<j.length;v++)if("<"!==j[v]||H)if(">"===j[v]){if(H?"-"===j[v-1]&&"-"===j[v-2]&&(H=!1,G--):G--,0===G)break}else"["===j[v]&&(z=!0);else{if(z&&y(j,v)){var U=B(j,(v+=7)+1),W=M(U,3);entityName=W[0],val=W[1],v=W[2],-1===val.indexOf("&")&&(b[O(entityName)]={regx:RegExp("&".concat(entityName,";"),"g"),val})}else if(z&&f(j,v))v+=8;else if(z&&g(j,v))v+=8;else if(z&&_(j,v))v+=9;else{if(!r)throw new Error("Invalid DOCTYPE");H=!0}G++}if(0!==G)throw new Error("Unclosed DOCTYPE");return{entities:b,i:v}}},84570:(fe,V)=>{var S={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(B,r){return r},attributeValueProcessor:function(B,r){return r},stopNodes:[],alwaysCreateTextNode:!1,isArray:function(){return!1},commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(B,r,y){return B}};V.buildOptions=function(B){return Object.assign({},S,B)},V.defaultOptions=S},8705:(fe,V,S)=>{var M=S(9482).default,K=S(16996).default,B=S(45664).default,r=S(89628),y=S(4300),f=S(6781),g=S(48372),P=("<((!\\[CDATA\\[([\\s\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\/)(NAME)\\s*>))([^<]*)".replace(/NAME/g,r.nameRegexp),K(function x(R){B(this,x),this.options=R,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"\xa2"},pound:{regex:/&(pound|#163);/g,val:"\xa3"},yen:{regex:/&(yen|#165);/g,val:"\xa5"},euro:{regex:/&(euro|#8364);/g,val:"\u20ac"},copyright:{regex:/&(copy|#169);/g,val:"\xa9"},reg:{regex:/&(reg|#174);/g,val:"\xae"},inr:{regex:/&(inr|#8377);/g,val:"\u20b9"}},this.addExternalEntities=O,this.parseXml=z,this.parseTextData=j,this.resolveNameSpace=v,this.buildAttributesMap=G,this.isItStopNode=W,this.replaceEntitiesValue=ee,this.readStopNodeData=_e,this.saveTextToParentTag=U,this.addChild=H}));function O(x){for(var R=Object.keys(x),E=0;E<R.length;E++){var I=R[E];this.lastEntities[I]={regex:new RegExp("&"+I+";","g"),val:x[I]}}}function j(x,R,E,I,L,D,Q){if(void 0!==x&&(this.options.trimValues&&!I&&(x=x.trim()),x.length>0)){Q||(x=this.replaceEntitiesValue(x));var te=this.options.tagValueProcessor(R,x,E,L,D);return null==te?x:typeof te!=typeof x||te!==x?te:this.options.trimValues||x.trim()===x?he(x,this.options.parseTagValue,this.options.numberParseOptions):x}}function v(x){if(this.options.removeNSPrefix){var R=x.split(":"),E="/"===x.charAt(0)?"/":"";if("xmlns"===R[0])return"";2===R.length&&(x=E+R[1])}return x}var b=new RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function G(x,R,E){if(!this.options.ignoreAttributes&&"string"==typeof x){for(var I=r.getAllMatches(x,b),L=I.length,D={},Q=0;Q<L;Q++){var te=this.resolveNameSpace(I[Q][1]),Re=I[Q][4],ne=this.options.attributeNamePrefix+te;if(te.length)if(this.options.transformAttributeName&&(ne=this.options.transformAttributeName(ne)),"__proto__"===ne&&(ne="#__proto__"),void 0!==Re){this.options.trimValues&&(Re=Re.trim()),Re=this.replaceEntitiesValue(Re);var Fe=this.options.attributeValueProcessor(te,Re,R);D[ne]=null==Fe?Re:typeof Fe!=typeof Re||Fe!==Re?Fe:he(Re,this.options.parseAttributeValue,this.options.numberParseOptions)}else this.options.allowBooleanAttributes&&(D[ne]=!0)}if(!Object.keys(D).length)return;if(this.options.attributesGroupName){var rt={};return rt[this.options.attributesGroupName]=D,rt}return D}}var z=function(R){R=R.replace(/\r\n?/g,"\n");for(var E=new y("!xml"),I=E,L="",D="",Q=0;Q<R.length;Q++)if("<"===R[Q])if("/"===R[Q+1]){var Re=ae(R,">",Q,"Closing Tag is not closed."),ne=R.substring(Q+2,Re).trim();if(this.options.removeNSPrefix){var Fe=ne.indexOf(":");-1!==Fe&&(ne=ne.substr(Fe+1))}this.options.transformTagName&&(ne=this.options.transformTagName(ne)),I&&(L=this.saveTextToParentTag(L,I,D));var rt=D.substring(D.lastIndexOf(".")+1);if(ne&&-1!==this.options.unpairedTags.indexOf(ne))throw new Error("Unpaired tag can not be used as closing tag: </".concat(ne,">"));var Te=0;rt&&-1!==this.options.unpairedTags.indexOf(rt)?(Te=D.lastIndexOf(".",D.lastIndexOf(".")-1),this.tagsNodeStack.pop()):Te=D.lastIndexOf("."),D=D.substring(0,Te),I=this.tagsNodeStack.pop(),L="",Q=Re}else if("?"===R[Q+1]){var tt=ve(R,Q,!1,"?>");if(!tt)throw new Error("Pi Tag is not closed.");if(L=this.saveTextToParentTag(L,I,D),!(this.options.ignoreDeclaration&&"?xml"===tt.tagName||this.options.ignorePiTags)){var Qe=new y(tt.tagName);Qe.add(this.options.textNodeName,""),tt.tagName!==tt.tagExp&&tt.attrExpPresent&&(Qe[":@"]=this.buildAttributesMap(tt.tagExp,D,tt.tagName)),this.addChild(I,Qe,D)}Q=tt.closeIndex+1}else if("!--"===R.substr(Q+1,3)){var vt=ae(R,"--\x3e",Q+4,"Comment is not closed.");if(this.options.commentPropName){var et=R.substring(Q+4,vt-2);L=this.saveTextToParentTag(L,I,D),I.add(this.options.commentPropName,[M({},this.options.textNodeName,et)])}Q=vt}else if("!D"===R.substr(Q+1,2)){var je=f(R,Q);this.docTypeEntities=je.entities,Q=je.i}else if("!["===R.substr(Q+1,2)){var it=ae(R,"]]>",Q,"CDATA is not closed.")-2,de=R.substring(Q+9,it);if(L=this.saveTextToParentTag(L,I,D),this.options.cdataPropName)I.add(this.options.cdataPropName,[M({},this.options.textNodeName,de)]);else{var J=this.parseTextData(de,I.tagname,D,!0,!1,!0);null==J&&(J=""),I.add(this.options.textNodeName,J)}Q=it+2}else{var oe=ve(R,Q,this.options.removeNSPrefix),Ae=oe.tagName,Ne=oe.tagExp,pe=oe.attrExpPresent,xe=oe.closeIndex;if(this.options.transformTagName&&(Ae=this.options.transformTagName(Ae)),I&&L&&"!xml"!==I.tagname&&(L=this.saveTextToParentTag(L,I,D,!1)),I&&-1!==this.options.unpairedTags.indexOf(I.tagname)&&(I=this.tagsNodeStack.pop(),D=D.substring(0,D.lastIndexOf("."))),Ae!==E.tagname&&(D+=D?"."+Ae:Ae),this.isItStopNode(this.options.stopNodes,D,Ae)){var be="";if(Ne.length>0&&Ne.lastIndexOf("/")===Ne.length-1)Q=oe.closeIndex;else if(-1!==this.options.unpairedTags.indexOf(Ae))Q=oe.closeIndex;else{var ce=this.readStopNodeData(R,Ae,xe+1);if(!ce)throw new Error("Unexpected end of ".concat(Ae));Q=ce.i,be=ce.tagContent}var le=new y(Ae);Ae!==Ne&&pe&&(le[":@"]=this.buildAttributesMap(Ne,D,Ae)),be&&(be=this.parseTextData(be,Ae,D,!0,pe,!0,!0)),D=D.substr(0,D.lastIndexOf(".")),le.add(this.options.textNodeName,be),this.addChild(I,le,D)}else{if(Ne.length>0&&Ne.lastIndexOf("/")===Ne.length-1){Ne="/"===Ae[Ae.length-1]?Ae=Ae.substr(0,Ae.length-1):Ne.substr(0,Ne.length-1),this.options.transformTagName&&(Ae=this.options.transformTagName(Ae));var Ie=new y(Ae);Ae!==Ne&&pe&&(Ie[":@"]=this.buildAttributesMap(Ne,D,Ae)),this.addChild(I,Ie,D),D=D.substr(0,D.lastIndexOf("."))}else{var at=new y(Ae);this.tagsNodeStack.push(I),Ae!==Ne&&pe&&(at[":@"]=this.buildAttributesMap(Ne,D,Ae)),this.addChild(I,at,D),I=at}L="",Q=xe}}else L+=R[Q];return E.child};function H(x,R,E){var I=this.options.updateTag(R.tagname,E,R[":@"]);!1===I||("string"==typeof I&&(R.tagname=I),x.addChild(R))}var ee=function(R){if(this.options.processEntities){for(var E in this.docTypeEntities){var I=this.docTypeEntities[E];R=R.replace(I.regx,I.val)}for(var L in this.lastEntities){var D=this.lastEntities[L];R=R.replace(D.regex,D.val)}if(this.options.htmlEntities)for(var Q in this.htmlEntities){var te=this.htmlEntities[Q];R=R.replace(te.regex,te.val)}R=R.replace(this.ampEntity.regex,this.ampEntity.val)}return R};function U(x,R,E,I){return x&&(void 0===I&&(I=0===Object.keys(R.child).length),void 0!==(x=this.parseTextData(x,R.tagname,E,!1,!!R[":@"]&&0!==Object.keys(R[":@"]).length,I))&&""!==x&&R.add(this.options.textNodeName,x),x=""),x}function W(x,R,E){var I="*."+E;for(var L in x){var D=x[L];if(I===D||R===D)return!0}return!1}function ae(x,R,E,I){var L=x.indexOf(R,E);if(-1===L)throw new Error(I);return L+R.length-1}function ve(x,R,E){var L=function Y(x,R){for(var I,E=arguments.length>2&&void 0!==arguments[2]?arguments[2]:">",L="",D=R;D<x.length;D++){var Q=x[D];if(I)Q===I&&(I="");else if('"'===Q||"'"===Q)I=Q;else if(Q===E[0]){if(!E[1])return{data:L,index:D};if(x[D+1]===E[1])return{data:L,index:D}}else"\t"===Q&&(Q=" ");L+=Q}}(x,R+1,arguments.length>3&&void 0!==arguments[3]?arguments[3]:">");if(L){var D=L.data,Q=L.index,te=D.search(/\s/),Re=D,ne=!0;if(-1!==te&&(Re=D.substr(0,te).replace(/\s\s*$/,""),D=D.substr(te+1)),E){var Fe=Re.indexOf(":");-1!==Fe&&(ne=(Re=Re.substr(Fe+1))!==L.data.substr(Fe+1))}return{tagName:Re,tagExp:D,closeIndex:Q,attrExpPresent:ne}}}function _e(x,R,E){for(var I=E,L=1;E<x.length;E++)if("<"===x[E])if("/"===x[E+1]){var D=ae(x,">",E,"".concat(R," is not closed"));if(x.substring(E+2,D).trim()===R&&0==--L)return{tagContent:x.substring(I,E),i:D};E=D}else if("?"===x[E+1])E=ae(x,"?>",E+1,"StopNode is not closed.");else if("!--"===x.substr(E+1,3))E=ae(x,"--\x3e",E+3,"StopNode is not closed.");else if("!["===x.substr(E+1,2))E=ae(x,"]]>",E,"StopNode is not closed.")-2;else{var Fe=ve(x,E,">");Fe&&((Fe&&Fe.tagName)===R&&"/"!==Fe.tagExp[Fe.tagExp.length-1]&&L++,E=Fe.closeIndex)}}function he(x,R,E){if(R&&"string"==typeof x){var I=x.trim();return"true"===I||"false"!==I&&g(x,E)}return r.isExist(x)?x:""}fe.exports=P},11121:(fe,V,S)=>{var M=S(45664).default,K=S(16996).default,r=S(84570).buildOptions,y=S(8705),g=S(32609).prettify,_=S(34572);fe.exports=function(){"use strict";function O(j){M(this,O),this.externalEntities={},this.options=r(j)}return K(O,[{key:"parse",value:function(v,b){if("string"!=typeof v){if(!v.toString)throw new Error("XML data is accepted in String or Bytes[] form.");v=v.toString()}if(b){!0===b&&(b={});var G=_.validate(v,b);if(!0!==G)throw Error("".concat(G.err.msg,":").concat(G.err.line,":").concat(G.err.col))}var z=new y(this.options);z.addExternalEntities(this.externalEntities);var H=z.parseXml(v);return this.options.preserveOrder||void 0===H?H:g(H,this.options)}},{key:"addEntity",value:function(v,b){if(-1!==b.indexOf("&"))throw new Error("Entity value can't have '&'");if(-1!==v.indexOf("&")||-1!==v.indexOf(";"))throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for ' '");if("&"===b)throw new Error("An entity with value '&' is not permitted");this.externalEntities[v]=b}}]),O}()},32609:(fe,V)=>{function M(y,f,g){for(var _,P={},O=0;O<y.length;O++){var b,j=y[O],v=K(j);if(b=void 0===g?v:g+"."+v,v===f.textNodeName)void 0===_?_=j[v]:_+=""+j[v];else{if(void 0===v)continue;if(j[v]){var G=M(j[v],f,b),z=r(G,f);j[":@"]?B(G,j[":@"],b,f):1!==Object.keys(G).length||void 0===G[f.textNodeName]||f.alwaysCreateTextNode?0===Object.keys(G).length&&(f.alwaysCreateTextNode?G[f.textNodeName]="":G=""):G=G[f.textNodeName],void 0!==P[v]&&P.hasOwnProperty(v)?(Array.isArray(P[v])||(P[v]=[P[v]]),P[v].push(G)):P[v]=f.isArray(v,b,z)?[G]:G}}}return"string"==typeof _?_.length>0&&(P[f.textNodeName]=_):void 0!==_&&(P[f.textNodeName]=_),P}function K(y){for(var f=Object.keys(y),g=0;g<f.length;g++){var _=f[g];if(":@"!==_)return _}}function B(y,f,g,_){if(f)for(var P=Object.keys(f),O=P.length,j=0;j<O;j++){var v=P[j];y[v]=_.isArray(v,g+"."+v,!0,!0)?[f[v]]:f[v]}}function r(y,f){var g=f.textNodeName,_=Object.keys(y).length;return!(0!==_&&(1!==_||!y[g]&&"boolean"!=typeof y[g]&&0!==y[g]))}V.prettify=function S(y,f){return M(y,f)}},4300:(fe,V,S)=>{var M=S(9482).default,K=S(45664).default,B=S(16996).default;fe.exports=function(){function y(f){K(this,y),this.tagname=f,this.child=[],this[":@"]={}}return B(y,[{key:"add",value:function(g,_){"__proto__"===g&&(g="#__proto__"),this.child.push(M({},g,_))}},{key:"addChild",value:function(g){var _;"__proto__"===g.tagname&&(g.tagname="#__proto__"),g[":@"]&&Object.keys(g[":@"]).length>0?this.child.push((M(_={},g.tagname,g.child),M(_,":@",g[":@"]),_)):this.child.push(M({},g.tagname,g.child))}}]),y}()},97035:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.AwsCrc32=void 0;var M=S(48798),K=S(84594),B=S(98407),r=function(){function y(){this.crc32=new B.Crc32}return y.prototype.update=function(f){(0,K.isEmptyData)(f)||this.crc32.update((0,K.convertToBuffer)(f))},y.prototype.digest=function(){return M.__awaiter(this,void 0,void 0,function(){return M.__generator(this,function(f){return[2,(0,K.numToUint8)(this.crc32.digest())]})})},y.prototype.reset=function(){this.crc32=new B.Crc32},y}();V.AwsCrc32=r},98407:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.AwsCrc32=V.Crc32=V.crc32=void 0;var M=S(48798),K=S(84594);V.crc32=function B(_){return(new r).update(_).digest()};var r=function(){function _(){this.checksum=4294967295}return _.prototype.update=function(P){var O,j;try{for(var v=M.__values(P),b=v.next();!b.done;b=v.next())this.checksum=this.checksum>>>8^f[255&(this.checksum^b.value)]}catch(z){O={error:z}}finally{try{b&&!b.done&&(j=v.return)&&j.call(v)}finally{if(O)throw O.error}}return this},_.prototype.digest=function(){return(4294967295^this.checksum)>>>0},_}();V.Crc32=r;var f=(0,K.uint32ArrayFrom)([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]),g=S(97035);Object.defineProperty(V,"AwsCrc32",{enumerable:!0,get:function(){return g.AwsCrc32}})},65552:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.convertToBuffer=void 0;var M=S(82093),K=typeof Buffer<"u"&&Buffer.from?function(r){return Buffer.from(r,"utf8")}:M.fromUtf8;V.convertToBuffer=function B(r){return r instanceof Uint8Array?r:"string"==typeof r?K(r):ArrayBuffer.isView(r)?new Uint8Array(r.buffer,r.byteOffset,r.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(r)}},84594:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.uint32ArrayFrom=V.numToUint8=V.isEmptyData=V.convertToBuffer=void 0;var M=S(65552);Object.defineProperty(V,"convertToBuffer",{enumerable:!0,get:function(){return M.convertToBuffer}});var K=S(34231);Object.defineProperty(V,"isEmptyData",{enumerable:!0,get:function(){return K.isEmptyData}});var B=S(44735);Object.defineProperty(V,"numToUint8",{enumerable:!0,get:function(){return B.numToUint8}});var r=S(43957);Object.defineProperty(V,"uint32ArrayFrom",{enumerable:!0,get:function(){return r.uint32ArrayFrom}})},34231:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.isEmptyData=void 0,V.isEmptyData=function S(M){return"string"==typeof M?0===M.length:0===M.byteLength}},44735:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.numToUint8=void 0,V.numToUint8=function S(M){return new Uint8Array([(4278190080&M)>>24,(16711680&M)>>16,(65280&M)>>8,255&M])}},43957:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.uint32ArrayFrom=void 0,V.uint32ArrayFrom=function S(M){if(!Uint32Array.from){for(var K=new Uint32Array(M.length),B=0;B<M.length;)K[B]=M[B],B+=1;return K}return Uint32Array.from(M)}},67086:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.AwsCrc32=void 0;var M=S(62220),K=S(92670),B=S(42562),r=function(){function y(){this.crc32=new B.Crc32}return y.prototype.update=function(f){(0,K.isEmptyData)(f)||this.crc32.update((0,K.convertToBuffer)(f))},y.prototype.digest=function(){return M.__awaiter(this,void 0,void 0,function(){return M.__generator(this,function(f){return[2,(0,K.numToUint8)(this.crc32.digest())]})})},y.prototype.reset=function(){this.crc32=new B.Crc32},y}();V.AwsCrc32=r},42562:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.AwsCrc32=V.Crc32=V.crc32=void 0;var M=S(62220),K=S(92670);V.crc32=function B(_){return(new r).update(_).digest()};var r=function(){function _(){this.checksum=4294967295}return _.prototype.update=function(P){var O,j;try{for(var v=M.__values(P),b=v.next();!b.done;b=v.next())this.checksum=this.checksum>>>8^f[255&(this.checksum^b.value)]}catch(z){O={error:z}}finally{try{b&&!b.done&&(j=v.return)&&j.call(v)}finally{if(O)throw O.error}}return this},_.prototype.digest=function(){return(4294967295^this.checksum)>>>0},_}();V.Crc32=r;var f=(0,K.uint32ArrayFrom)([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]),g=S(67086);Object.defineProperty(V,"AwsCrc32",{enumerable:!0,get:function(){return g.AwsCrc32}})},66137:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.convertToBuffer=void 0;var M=S(82093),K=typeof Buffer<"u"&&Buffer.from?function(r){return Buffer.from(r,"utf8")}:M.fromUtf8;V.convertToBuffer=function B(r){return r instanceof Uint8Array?r:"string"==typeof r?K(r):ArrayBuffer.isView(r)?new Uint8Array(r.buffer,r.byteOffset,r.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(r)}},92670:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.uint32ArrayFrom=V.numToUint8=V.isEmptyData=V.convertToBuffer=void 0;var M=S(66137);Object.defineProperty(V,"convertToBuffer",{enumerable:!0,get:function(){return M.convertToBuffer}});var K=S(45411);Object.defineProperty(V,"isEmptyData",{enumerable:!0,get:function(){return K.isEmptyData}});var B=S(27186);Object.defineProperty(V,"numToUint8",{enumerable:!0,get:function(){return B.numToUint8}});var r=S(43823);Object.defineProperty(V,"uint32ArrayFrom",{enumerable:!0,get:function(){return r.uint32ArrayFrom}})},45411:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.isEmptyData=void 0,V.isEmptyData=function S(M){return"string"==typeof M?0===M.length:0===M.byteLength}},27186:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.numToUint8=void 0,V.numToUint8=function S(M){return new Uint8Array([(4278190080&M)>>24,(16711680&M)>>16,(65280&M)>>8,255&M])}},43823:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.uint32ArrayFrom=void 0,V.uint32ArrayFrom=function S(M){if(!Uint32Array.from){for(var K=new Uint32Array(M.length),B=0;B<M.length;)K[B]=M[B],B+=1;return K}return Uint32Array.from(M)}},45468:(fe,V,S)=>{S.r(V),S.d(V,{locateWindow:()=>K});var M={};function K(){return typeof window<"u"?window:typeof self<"u"?self:M}},82093:(fe,V,S)=>{S.r(V),S.d(V,{fromUtf8:()=>y,toUtf8:()=>f});var y=function(_){return"function"==typeof TextEncoder?function B(g){return(new TextEncoder).encode(g)}(_):function(_){for(var P=[],O=0,j=_.length;O<j;O++){var v=_.charCodeAt(O);if(v<128)P.push(v);else if(v<2048)P.push(v>>6|192,63&v|128);else if(O+1<_.length&&55296==(64512&v)&&56320==(64512&_.charCodeAt(O+1))){var b=65536+((1023&v)<<10)+(1023&_.charCodeAt(++O));P.push(b>>18|240,b>>12&63|128,b>>6&63|128,63&b|128)}else P.push(v>>12|224,v>>6&63|128,63&v|128)}return Uint8Array.from(P)}(_)},f=function(_){return"function"==typeof TextDecoder?function r(g){return new TextDecoder("utf-8").decode(g)}(_):function(_){for(var P="",O=0,j=_.length;O<j;O++){var v=_[O];if(v<128)P+=String.fromCharCode(v);else if(192<=v&&v<224){var b=_[++O];P+=String.fromCharCode((31&v)<<6|63&b)}else if(240<=v&&v<365){var z="%"+[v,_[++O],_[++O],_[++O]].map(function(H){return H.toString(16)}).join("%");P+=decodeURIComponent(z)}else P+=String.fromCharCode((15&v)<<12|(63&_[++O])<<6|63&_[++O])}return P}(_)}},82173:(fe,V)=>{V.byteLength=function g(b){var G=f(b),H=G[1];return 3*(G[0]+H)/4-H},V.toByteArray=function P(b){var G,ae,z=f(b),H=z[0],ee=z[1],U=new K(function _(b,G,z){return 3*(G+z)/4-z}(0,H,ee)),W=0,Y=ee>0?H-4:H;for(ae=0;ae<Y;ae+=4)G=M[b.charCodeAt(ae)]<<18|M[b.charCodeAt(ae+1)]<<12|M[b.charCodeAt(ae+2)]<<6|M[b.charCodeAt(ae+3)],U[W++]=G>>16&255,U[W++]=G>>8&255,U[W++]=255&G;return 2===ee&&(G=M[b.charCodeAt(ae)]<<2|M[b.charCodeAt(ae+1)]>>4,U[W++]=255&G),1===ee&&(G=M[b.charCodeAt(ae)]<<10|M[b.charCodeAt(ae+1)]<<4|M[b.charCodeAt(ae+2)]>>2,U[W++]=G>>8&255,U[W++]=255&G),U},V.fromByteArray=function v(b){for(var G,z=b.length,H=z%3,ee=[],U=16383,W=0,Y=z-H;W<Y;W+=U)ee.push(j(b,W,W+U>Y?Y:W+U));return 1===H?ee.push(S[(G=b[z-1])>>2]+S[G<<4&63]+"=="):2===H&&ee.push(S[(G=(b[z-2]<<8)+b[z-1])>>10]+S[G>>4&63]+S[G<<2&63]+"="),ee.join("")};for(var S=[],M=[],K=typeof Uint8Array<"u"?Uint8Array:Array,B="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=0;r<64;++r)S[r]=B[r],M[B.charCodeAt(r)]=r;function f(b){var G=b.length;if(G%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var z=b.indexOf("=");return-1===z&&(z=G),[z,z===G?0:4-z%4]}function O(b){return S[b>>18&63]+S[b>>12&63]+S[b>>6&63]+S[63&b]}function j(b,G,z){for(var ee=[],U=G;U<z;U+=3)ee.push(O((b[U]<<16&16711680)+(b[U+1]<<8&65280)+(255&b[U+2])));return ee.join("")}M["-".charCodeAt(0)]=62,M["_".charCodeAt(0)]=63},93962:function(fe){fe.exports=function(V){var S={};function M(K){if(S[K])return S[K].exports;var B=S[K]={i:K,l:!1,exports:{}};return V[K].call(B.exports,B,B.exports,M),B.l=!0,B.exports}return M.m=V,M.c=S,M.d=function(K,B,r){M.o(K,B)||Object.defineProperty(K,B,{enumerable:!0,get:r})},M.r=function(K){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(K,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(K,"__esModule",{value:!0})},M.t=function(K,B){if(1&B&&(K=M(K)),8&B||4&B&&"object"==typeof K&&K&&K.__esModule)return K;var r=Object.create(null);if(M.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:K}),2&B&&"string"!=typeof K)for(var y in K)M.d(r,y,function(f){return K[f]}.bind(null,y));return r},M.n=function(K){var B=K&&K.__esModule?function(){return K.default}:function(){return K};return M.d(B,"a",B),B},M.o=function(K,B){return Object.prototype.hasOwnProperty.call(K,B)},M.p="",M(M.s=90)}({17:function(S,M,K){"use strict";M.__esModule=!0,M.default=void 0;var B=K(18),r=function(){function y(){}return y.getFirstMatch=function(f,g){var _=g.match(f);return _&&_.length>0&&_[1]||""},y.getSecondMatch=function(f,g){var _=g.match(f);return _&&_.length>1&&_[2]||""},y.matchAndReturnConst=function(f,g,_){if(f.test(g))return _},y.getWindowsVersionName=function(f){switch(f){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},y.getMacOSVersionName=function(f){var g=f.split(".").splice(0,2).map(function(_){return parseInt(_,10)||0});if(g.push(0),10===g[0])switch(g[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},y.getAndroidVersionName=function(f){var g=f.split(".").splice(0,2).map(function(_){return parseInt(_,10)||0});if(g.push(0),!(1===g[0]&&g[1]<5))return 1===g[0]&&g[1]<6?"Cupcake":1===g[0]&&g[1]>=6?"Donut":2===g[0]&&g[1]<2?"Eclair":2===g[0]&&2===g[1]?"Froyo":2===g[0]&&g[1]>2?"Gingerbread":3===g[0]?"Honeycomb":4===g[0]&&g[1]<1?"Ice Cream Sandwich":4===g[0]&&g[1]<4?"Jelly Bean":4===g[0]&&g[1]>=4?"KitKat":5===g[0]?"Lollipop":6===g[0]?"Marshmallow":7===g[0]?"Nougat":8===g[0]?"Oreo":9===g[0]?"Pie":void 0},y.getVersionPrecision=function(f){return f.split(".").length},y.compareVersions=function(f,g,_){void 0===_&&(_=!1);var P=y.getVersionPrecision(f),O=y.getVersionPrecision(g),j=Math.max(P,O),v=0,b=y.map([f,g],function(G){var z=j-y.getVersionPrecision(G),H=G+new Array(z+1).join(".0");return y.map(H.split("."),function(ee){return new Array(20-ee.length).join("0")+ee}).reverse()});for(_&&(v=j-Math.min(P,O)),j-=1;j>=v;){if(b[0][j]>b[1][j])return 1;if(b[0][j]===b[1][j]){if(j===v)return 0;j-=1}else if(b[0][j]<b[1][j])return-1}},y.map=function(f,g){var _,P=[];if(Array.prototype.map)return Array.prototype.map.call(f,g);for(_=0;_<f.length;_+=1)P.push(g(f[_]));return P},y.find=function(f,g){var _,P;if(Array.prototype.find)return Array.prototype.find.call(f,g);for(_=0,P=f.length;_<P;_+=1){var O=f[_];if(g(O,_))return O}},y.assign=function(f){for(var g,_,P=f,O=arguments.length,j=new Array(O>1?O-1:0),v=1;v<O;v++)j[v-1]=arguments[v];if(Object.assign)return Object.assign.apply(Object,[f].concat(j));var b=function(){var z=j[g];"object"==typeof z&&null!==z&&Object.keys(z).forEach(function(H){P[H]=z[H]})};for(g=0,_=j.length;g<_;g+=1)b();return f},y.getBrowserAlias=function(f){return B.BROWSER_ALIASES_MAP[f]},y.getBrowserTypeByAlias=function(f){return B.BROWSER_MAP[f]||""},y}();M.default=r,S.exports=M.default},18:function(S,M,K){"use strict";M.__esModule=!0,M.ENGINE_MAP=M.OS_MAP=M.PLATFORMS_MAP=M.BROWSER_MAP=M.BROWSER_ALIASES_MAP=void 0,M.BROWSER_ALIASES_MAP={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Electron:"electron",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},M.BROWSER_MAP={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",electron:"Electron",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},M.PLATFORMS_MAP={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},M.OS_MAP={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},M.ENGINE_MAP={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"}},90:function(S,M,K){"use strict";M.__esModule=!0,M.default=void 0;var B,r=(B=K(91))&&B.__esModule?B:{default:B},y=K(18);function f(_,P){for(var O=0;O<P.length;O++){var j=P[O];j.enumerable=j.enumerable||!1,j.configurable=!0,"value"in j&&(j.writable=!0),Object.defineProperty(_,j.key,j)}}var g=function(){function _(){}var P,j;return _.getParser=function(v,b){if(void 0===b&&(b=!1),"string"!=typeof v)throw new Error("UserAgent should be a string");return new r.default(v,b)},_.parse=function(v){return new r.default(v).getResult()},P=_,j=[{key:"BROWSER_MAP",get:function(){return y.BROWSER_MAP}},{key:"ENGINE_MAP",get:function(){return y.ENGINE_MAP}},{key:"OS_MAP",get:function(){return y.OS_MAP}},{key:"PLATFORMS_MAP",get:function(){return y.PLATFORMS_MAP}}],null&&f(P.prototype,null),j&&f(P,j),_}();M.default=g,S.exports=M.default},91:function(S,M,K){"use strict";M.__esModule=!0,M.default=void 0;var B=_(K(92)),r=_(K(93)),y=_(K(94)),f=_(K(95)),g=_(K(17));function _(O){return O&&O.__esModule?O:{default:O}}var P=function(){function O(v,b){if(void 0===b&&(b=!1),null==v||""===v)throw new Error("UserAgent parameter can't be empty");this._ua=v,this.parsedResult={},!0!==b&&this.parse()}var j=O.prototype;return j.getUA=function(){return this._ua},j.test=function(v){return v.test(this._ua)},j.parseBrowser=function(){var v=this;this.parsedResult.browser={};var b=g.default.find(B.default,function(G){if("function"==typeof G.test)return G.test(v);if(G.test instanceof Array)return G.test.some(function(z){return v.test(z)});throw new Error("Browser's test function is not valid")});return b&&(this.parsedResult.browser=b.describe(this.getUA())),this.parsedResult.browser},j.getBrowser=function(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()},j.getBrowserName=function(v){return v?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""},j.getBrowserVersion=function(){return this.getBrowser().version},j.getOS=function(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()},j.parseOS=function(){var v=this;this.parsedResult.os={};var b=g.default.find(r.default,function(G){if("function"==typeof G.test)return G.test(v);if(G.test instanceof Array)return G.test.some(function(z){return v.test(z)});throw new Error("Browser's test function is not valid")});return b&&(this.parsedResult.os=b.describe(this.getUA())),this.parsedResult.os},j.getOSName=function(v){var b=this.getOS().name;return v?String(b).toLowerCase()||"":b||""},j.getOSVersion=function(){return this.getOS().version},j.getPlatform=function(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()},j.getPlatformType=function(v){void 0===v&&(v=!1);var b=this.getPlatform().type;return v?String(b).toLowerCase()||"":b||""},j.parsePlatform=function(){var v=this;this.parsedResult.platform={};var b=g.default.find(y.default,function(G){if("function"==typeof G.test)return G.test(v);if(G.test instanceof Array)return G.test.some(function(z){return v.test(z)});throw new Error("Browser's test function is not valid")});return b&&(this.parsedResult.platform=b.describe(this.getUA())),this.parsedResult.platform},j.getEngine=function(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()},j.getEngineName=function(v){return v?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""},j.parseEngine=function(){var v=this;this.parsedResult.engine={};var b=g.default.find(f.default,function(G){if("function"==typeof G.test)return G.test(v);if(G.test instanceof Array)return G.test.some(function(z){return v.test(z)});throw new Error("Browser's test function is not valid")});return b&&(this.parsedResult.engine=b.describe(this.getUA())),this.parsedResult.engine},j.parse=function(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this},j.getResult=function(){return g.default.assign({},this.parsedResult)},j.satisfies=function(v){var b=this,G={},z=0,H={},ee=0;if(Object.keys(v).forEach(function(x){var R=v[x];"string"==typeof R?(H[x]=R,ee+=1):"object"==typeof R&&(G[x]=R,z+=1)}),z>0){var U=Object.keys(G),W=g.default.find(U,function(x){return b.isOS(x)});if(W){var Y=this.satisfies(G[W]);if(void 0!==Y)return Y}var ae=g.default.find(U,function(x){return b.isPlatform(x)});if(ae){var ve=this.satisfies(G[ae]);if(void 0!==ve)return ve}}if(ee>0){var _e=Object.keys(H),he=g.default.find(_e,function(x){return b.isBrowser(x,!0)});if(void 0!==he)return this.compareVersion(H[he])}},j.isBrowser=function(v,b){void 0===b&&(b=!1);var G=this.getBrowserName().toLowerCase(),z=v.toLowerCase(),H=g.default.getBrowserTypeByAlias(z);return b&&H&&(z=H.toLowerCase()),z===G},j.compareVersion=function(v){var b=[0],G=v,z=!1,H=this.getBrowserVersion();if("string"==typeof H)return">"===v[0]||"<"===v[0]?(G=v.substr(1),"="===v[1]?(z=!0,G=v.substr(2)):b=[],b.push(">"===v[0]?1:-1)):"="===v[0]?G=v.substr(1):"~"===v[0]&&(z=!0,G=v.substr(1)),b.indexOf(g.default.compareVersions(H,G,z))>-1},j.isOS=function(v){return this.getOSName(!0)===String(v).toLowerCase()},j.isPlatform=function(v){return this.getPlatformType(!0)===String(v).toLowerCase()},j.isEngine=function(v){return this.getEngineName(!0)===String(v).toLowerCase()},j.is=function(v,b){return void 0===b&&(b=!1),this.isBrowser(v,b)||this.isOS(v)||this.isPlatform(v)},j.some=function(v){var b=this;return void 0===v&&(v=[]),v.some(function(G){return b.is(G)})},O}();M.default=P,S.exports=M.default},92:function(S,M,K){"use strict";M.__esModule=!0,M.default=void 0;var B,r=(B=K(17))&&B.__esModule?B:{default:B},y=/version\/(\d+(\.?_?\d+)+)/i;M.default=[{test:[/googlebot/i],describe:function(_){var P={name:"Googlebot"},O=r.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,_)||r.default.getFirstMatch(y,_);return O&&(P.version=O),P}},{test:[/opera/i],describe:function(_){var P={name:"Opera"},O=r.default.getFirstMatch(y,_)||r.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,_);return O&&(P.version=O),P}},{test:[/opr\/|opios/i],describe:function(_){var P={name:"Opera"},O=r.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,_)||r.default.getFirstMatch(y,_);return O&&(P.version=O),P}},{test:[/SamsungBrowser/i],describe:function(_){var P={name:"Samsung Internet for Android"},O=r.default.getFirstMatch(y,_)||r.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,_);return O&&(P.version=O),P}},{test:[/Whale/i],describe:function(_){var P={name:"NAVER Whale Browser"},O=r.default.getFirstMatch(y,_)||r.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,_);return O&&(P.version=O),P}},{test:[/MZBrowser/i],describe:function(_){var P={name:"MZ Browser"},O=r.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,_)||r.default.getFirstMatch(y,_);return O&&(P.version=O),P}},{test:[/focus/i],describe:function(_){var P={name:"Focus"},O=r.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,_)||r.default.getFirstMatch(y,_);return O&&(P.version=O),P}},{test:[/swing/i],describe:function(_){var P={name:"Swing"},O=r.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,_)||r.default.getFirstMatch(y,_);return O&&(P.version=O),P}},{test:[/coast/i],describe:function(_){var P={name:"Opera Coast"},O=r.default.getFirstMatch(y,_)||r.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,_);return O&&(P.version=O),P}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(_){var P={name:"Opera Touch"},O=r.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,_)||r.default.getFirstMatch(y,_);return O&&(P.version=O),P}},{test:[/yabrowser/i],describe:function(_){var P={name:"Yandex Browser"},O=r.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,_)||r.default.getFirstMatch(y,_);return O&&(P.version=O),P}},{test:[/ucbrowser/i],describe:function(_){var P={name:"UC Browser"},O=r.default.getFirstMatch(y,_)||r.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,_);return O&&(P.version=O),P}},{test:[/Maxthon|mxios/i],describe:function(_){var P={name:"Maxthon"},O=r.default.getFirstMatch(y,_)||r.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,_);return O&&(P.version=O),P}},{test:[/epiphany/i],describe:function(_){var P={name:"Epiphany"},O=r.default.getFirstMatch(y,_)||r.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,_);return O&&(P.version=O),P}},{test:[/puffin/i],describe:function(_){var P={name:"Puffin"},O=r.default.getFirstMatch(y,_)||r.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,_);return O&&(P.version=O),P}},{test:[/sleipnir/i],describe:function(_){var P={name:"Sleipnir"},O=r.default.getFirstMatch(y,_)||r.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,_);return O&&(P.version=O),P}},{test:[/k-meleon/i],describe:function(_){var P={name:"K-Meleon"},O=r.default.getFirstMatch(y,_)||r.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,_);return O&&(P.version=O),P}},{test:[/micromessenger/i],describe:function(_){var P={name:"WeChat"},O=r.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,_)||r.default.getFirstMatch(y,_);return O&&(P.version=O),P}},{test:[/qqbrowser/i],describe:function(_){var P={name:/qqbrowserlite/i.test(_)?"QQ Browser Lite":"QQ Browser"},O=r.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,_)||r.default.getFirstMatch(y,_);return O&&(P.version=O),P}},{test:[/msie|trident/i],describe:function(_){var P={name:"Internet Explorer"},O=r.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,_);return O&&(P.version=O),P}},{test:[/\sedg\//i],describe:function(_){var P={name:"Microsoft Edge"},O=r.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,_);return O&&(P.version=O),P}},{test:[/edg([ea]|ios)/i],describe:function(_){var P={name:"Microsoft Edge"},O=r.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,_);return O&&(P.version=O),P}},{test:[/vivaldi/i],describe:function(_){var P={name:"Vivaldi"},O=r.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,_);return O&&(P.version=O),P}},{test:[/seamonkey/i],describe:function(_){var P={name:"SeaMonkey"},O=r.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,_);return O&&(P.version=O),P}},{test:[/sailfish/i],describe:function(_){var P={name:"Sailfish"},O=r.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,_);return O&&(P.version=O),P}},{test:[/silk/i],describe:function(_){var P={name:"Amazon Silk"},O=r.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,_);return O&&(P.version=O),P}},{test:[/phantom/i],describe:function(_){var P={name:"PhantomJS"},O=r.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,_);return O&&(P.version=O),P}},{test:[/slimerjs/i],describe:function(_){var P={name:"SlimerJS"},O=r.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,_);return O&&(P.version=O),P}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(_){var P={name:"BlackBerry"},O=r.default.getFirstMatch(y,_)||r.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,_);return O&&(P.version=O),P}},{test:[/(web|hpw)[o0]s/i],describe:function(_){var P={name:"WebOS Browser"},O=r.default.getFirstMatch(y,_)||r.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,_);return O&&(P.version=O),P}},{test:[/bada/i],describe:function(_){var P={name:"Bada"},O=r.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,_);return O&&(P.version=O),P}},{test:[/tizen/i],describe:function(_){var P={name:"Tizen"},O=r.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,_)||r.default.getFirstMatch(y,_);return O&&(P.version=O),P}},{test:[/qupzilla/i],describe:function(_){var P={name:"QupZilla"},O=r.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,_)||r.default.getFirstMatch(y,_);return O&&(P.version=O),P}},{test:[/firefox|iceweasel|fxios/i],describe:function(_){var P={name:"Firefox"},O=r.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,_);return O&&(P.version=O),P}},{test:[/electron/i],describe:function(_){var P={name:"Electron"},O=r.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,_);return O&&(P.version=O),P}},{test:[/MiuiBrowser/i],describe:function(_){var P={name:"Miui"},O=r.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,_);return O&&(P.version=O),P}},{test:[/chromium/i],describe:function(_){var P={name:"Chromium"},O=r.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,_)||r.default.getFirstMatch(y,_);return O&&(P.version=O),P}},{test:[/chrome|crios|crmo/i],describe:function(_){var P={name:"Chrome"},O=r.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,_);return O&&(P.version=O),P}},{test:[/GSA/i],describe:function(_){var P={name:"Google Search"},O=r.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,_);return O&&(P.version=O),P}},{test:function(_){var P=!_.test(/like android/i),O=_.test(/android/i);return P&&O},describe:function(_){var P={name:"Android Browser"},O=r.default.getFirstMatch(y,_);return O&&(P.version=O),P}},{test:[/playstation 4/i],describe:function(_){var P={name:"PlayStation 4"},O=r.default.getFirstMatch(y,_);return O&&(P.version=O),P}},{test:[/safari|applewebkit/i],describe:function(_){var P={name:"Safari"},O=r.default.getFirstMatch(y,_);return O&&(P.version=O),P}},{test:[/.*/i],describe:function(_){var P=-1!==_.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:r.default.getFirstMatch(P,_),version:r.default.getSecondMatch(P,_)}}}],S.exports=M.default},93:function(S,M,K){"use strict";M.__esModule=!0,M.default=void 0;var B,r=(B=K(17))&&B.__esModule?B:{default:B},y=K(18);M.default=[{test:[/Roku\/DVP/],describe:function(_){var P=r.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,_);return{name:y.OS_MAP.Roku,version:P}}},{test:[/windows phone/i],describe:function(_){var P=r.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,_);return{name:y.OS_MAP.WindowsPhone,version:P}}},{test:[/windows /i],describe:function(_){var P=r.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,_),O=r.default.getWindowsVersionName(P);return{name:y.OS_MAP.Windows,version:P,versionName:O}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(_){var P={name:y.OS_MAP.iOS},O=r.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,_);return O&&(P.version=O),P}},{test:[/macintosh/i],describe:function(_){var P=r.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,_).replace(/[_\s]/g,"."),O=r.default.getMacOSVersionName(P),j={name:y.OS_MAP.MacOS,version:P};return O&&(j.versionName=O),j}},{test:[/(ipod|iphone|ipad)/i],describe:function(_){var P=r.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,_).replace(/[_\s]/g,".");return{name:y.OS_MAP.iOS,version:P}}},{test:function(_){var P=!_.test(/like android/i),O=_.test(/android/i);return P&&O},describe:function(_){var P=r.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,_),O=r.default.getAndroidVersionName(P),j={name:y.OS_MAP.Android,version:P};return O&&(j.versionName=O),j}},{test:[/(web|hpw)[o0]s/i],describe:function(_){var P=r.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,_),O={name:y.OS_MAP.WebOS};return P&&P.length&&(O.version=P),O}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(_){var P=r.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,_)||r.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,_)||r.default.getFirstMatch(/\bbb(\d+)/i,_);return{name:y.OS_MAP.BlackBerry,version:P}}},{test:[/bada/i],describe:function(_){var P=r.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,_);return{name:y.OS_MAP.Bada,version:P}}},{test:[/tizen/i],describe:function(_){var P=r.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,_);return{name:y.OS_MAP.Tizen,version:P}}},{test:[/linux/i],describe:function(){return{name:y.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:y.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(_){var P=r.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,_);return{name:y.OS_MAP.PlayStation4,version:P}}}],S.exports=M.default},94:function(S,M,K){"use strict";M.__esModule=!0,M.default=void 0;var B,r=(B=K(17))&&B.__esModule?B:{default:B},y=K(18);M.default=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(_){var P=r.default.getFirstMatch(/(can-l01)/i,_)&&"Nova",O={type:y.PLATFORMS_MAP.mobile,vendor:"Huawei"};return P&&(O.model=P),O}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:y.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:y.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:y.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:y.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:y.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:y.PLATFORMS_MAP.tablet}}},{test:function(_){var P=_.test(/ipod|iphone/i),O=_.test(/like (ipod|iphone)/i);return P&&!O},describe:function(_){var P=r.default.getFirstMatch(/(ipod|iphone)/i,_);return{type:y.PLATFORMS_MAP.mobile,vendor:"Apple",model:P}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:y.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:y.PLATFORMS_MAP.mobile}}},{test:function(_){return"blackberry"===_.getBrowserName(!0)},describe:function(){return{type:y.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(_){return"bada"===_.getBrowserName(!0)},describe:function(){return{type:y.PLATFORMS_MAP.mobile}}},{test:function(_){return"windows phone"===_.getBrowserName()},describe:function(){return{type:y.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(_){var P=Number(String(_.getOSVersion()).split(".")[0]);return"android"===_.getOSName(!0)&&P>=3},describe:function(){return{type:y.PLATFORMS_MAP.tablet}}},{test:function(_){return"android"===_.getOSName(!0)},describe:function(){return{type:y.PLATFORMS_MAP.mobile}}},{test:function(_){return"macos"===_.getOSName(!0)},describe:function(){return{type:y.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(_){return"windows"===_.getOSName(!0)},describe:function(){return{type:y.PLATFORMS_MAP.desktop}}},{test:function(_){return"linux"===_.getOSName(!0)},describe:function(){return{type:y.PLATFORMS_MAP.desktop}}},{test:function(_){return"playstation 4"===_.getOSName(!0)},describe:function(){return{type:y.PLATFORMS_MAP.tv}}},{test:function(_){return"roku"===_.getOSName(!0)},describe:function(){return{type:y.PLATFORMS_MAP.tv}}}],S.exports=M.default},95:function(S,M,K){"use strict";M.__esModule=!0,M.default=void 0;var B,r=(B=K(17))&&B.__esModule?B:{default:B},y=K(18);M.default=[{test:function(_){return"microsoft edge"===_.getBrowserName(!0)},describe:function(_){if(/\sedg\//i.test(_))return{name:y.ENGINE_MAP.Blink};var P=r.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,_);return{name:y.ENGINE_MAP.EdgeHTML,version:P}}},{test:[/trident/i],describe:function(_){var P={name:y.ENGINE_MAP.Trident},O=r.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,_);return O&&(P.version=O),P}},{test:function(_){return _.test(/presto/i)},describe:function(_){var P={name:y.ENGINE_MAP.Presto},O=r.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,_);return O&&(P.version=O),P}},{test:function(_){var P=_.test(/gecko/i),O=_.test(/like gecko/i);return P&&!O},describe:function(_){var P={name:y.ENGINE_MAP.Gecko},O=r.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,_);return O&&(P.version=O),P}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:y.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(_){var P={name:y.ENGINE_MAP.WebKit},O=r.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,_);return O&&(P.version=O),P}}],S.exports=M.default}})},75979:fe=>{fe.exports=function M(K){return"[object String]"=={}.toString.call(K)?K.replace(V,".$1").replace(S,""):""};var V=/\[([^\[\]]+)\]/g,S=/^[.]*|[.]*$/g},13195:(fe,V,S)=>{var M=S(82173),K=S(54920),B="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;V.Buffer=g,V.SlowBuffer=function ee(be){return+be!=be&&(be=0),g.alloc(+be)},V.INSPECT_MAX_BYTES=50;var r=2147483647;function f(be){if(be>r)throw new RangeError('The value "'+be+'" is invalid for option "size"');var ce=new Uint8Array(be);return Object.setPrototypeOf(ce,g.prototype),ce}function g(be,ce,le){if("number"==typeof be){if("string"==typeof ce)throw new TypeError('The "string" argument must be of type string. Received type number');return j(be)}return _(be,ce,le)}function _(be,ce,le){if("string"==typeof be)return function v(be,ce){if(("string"!=typeof ce||""===ce)&&(ce="utf8"),!g.isEncoding(ce))throw new TypeError("Unknown encoding: "+ce);var le=0|U(be,ce),Ie=f(le),at=Ie.write(be,ce);return at!==le&&(Ie=Ie.slice(0,at)),Ie}(be,ce);if(ArrayBuffer.isView(be))return b(be);if(null==be)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof be);if(pe(be,ArrayBuffer)||be&&pe(be.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(pe(be,SharedArrayBuffer)||be&&pe(be.buffer,SharedArrayBuffer)))return function G(be,ce,le){if(ce<0||be.byteLength<ce)throw new RangeError('"offset" is outside of buffer bounds');if(be.byteLength<ce+(le||0))throw new RangeError('"length" is outside of buffer bounds');var Ie;return Ie=void 0===ce&&void 0===le?new Uint8Array(be):void 0===le?new Uint8Array(be,ce):new Uint8Array(be,ce,le),Object.setPrototypeOf(Ie,g.prototype),Ie}(be,ce,le);if("number"==typeof be)throw new TypeError('The "value" argument must not be of type number. Received type number');var Ie=be.valueOf&&be.valueOf();if(null!=Ie&&Ie!==be)return g.from(Ie,ce,le);var at=function z(be){if(g.isBuffer(be)){var ce=0|H(be.length),le=f(ce);return 0===le.length||be.copy(le,0,0,ce),le}return void 0!==be.length?"number"!=typeof be.length||xe(be.length)?f(0):b(be):"Buffer"===be.type&&Array.isArray(be.data)?b(be.data):void 0}(be);if(at)return at;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof be[Symbol.toPrimitive])return g.from(be[Symbol.toPrimitive]("string"),ce,le);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof be)}function P(be){if("number"!=typeof be)throw new TypeError('"size" argument must be of type number');if(be<0)throw new RangeError('The value "'+be+'" is invalid for option "size"')}function j(be){return P(be),f(be<0?0:0|H(be))}function b(be){for(var ce=be.length<0?0:0|H(be.length),le=f(ce),Ie=0;Ie<ce;Ie+=1)le[Ie]=255&be[Ie];return le}function H(be){if(be>=r)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r.toString(16)+" bytes");return 0|be}function U(be,ce){if(g.isBuffer(be))return be.length;if(ArrayBuffer.isView(be)||pe(be,ArrayBuffer))return be.byteLength;if("string"!=typeof be)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof be);var le=be.length,Ie=arguments.length>2&&!0===arguments[2];if(!Ie&&0===le)return 0;for(var at=!1;;)switch(ce){case"ascii":case"latin1":case"binary":return le;case"utf8":case"utf-8":return de(be).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*le;case"hex":return le>>>1;case"base64":return Ae(be).length;default:if(at)return Ie?-1:de(be).length;ce=(""+ce).toLowerCase(),at=!0}}function W(be,ce,le){var Ie=!1;if((void 0===ce||ce<0)&&(ce=0),ce>this.length||((void 0===le||le>this.length)&&(le=this.length),le<=0)||(le>>>=0)<=(ce>>>=0))return"";for(be||(be="utf8");;)switch(be){case"hex":return Fe(this,ce,le);case"utf8":case"utf-8":return D(this,ce,le);case"ascii":return Re(this,ce,le);case"latin1":case"binary":return ne(this,ce,le);case"base64":return L(this,ce,le);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return rt(this,ce,le);default:if(Ie)throw new TypeError("Unknown encoding: "+be);be=(be+"").toLowerCase(),Ie=!0}}function Y(be,ce,le){var Ie=be[ce];be[ce]=be[le],be[le]=Ie}function ae(be,ce,le,Ie,at){if(0===be.length)return-1;if("string"==typeof le?(Ie=le,le=0):le>2147483647?le=2147483647:le<-2147483648&&(le=-2147483648),xe(le=+le)&&(le=at?0:be.length-1),le<0&&(le=be.length+le),le>=be.length){if(at)return-1;le=be.length-1}else if(le<0){if(!at)return-1;le=0}if("string"==typeof ce&&(ce=g.from(ce,Ie)),g.isBuffer(ce))return 0===ce.length?-1:ve(be,ce,le,Ie,at);if("number"==typeof ce)return ce&=255,"function"==typeof Uint8Array.prototype.indexOf?at?Uint8Array.prototype.indexOf.call(be,ce,le):Uint8Array.prototype.lastIndexOf.call(be,ce,le):ve(be,[ce],le,Ie,at);throw new TypeError("val must be string, number or Buffer")}function ve(be,ce,le,Ie,at){var Xt,Tt=1,Vt=be.length,zt=ce.length;if(void 0!==Ie&&("ucs2"===(Ie=String(Ie).toLowerCase())||"ucs-2"===Ie||"utf16le"===Ie||"utf-16le"===Ie)){if(be.length<2||ce.length<2)return-1;Tt=2,Vt/=2,zt/=2,le/=2}function un(Br,ar){return 1===Tt?Br[ar]:Br.readUInt16BE(ar*Tt)}if(at){var Kn=-1;for(Xt=le;Xt<Vt;Xt++)if(un(be,Xt)===un(ce,-1===Kn?0:Xt-Kn)){if(-1===Kn&&(Kn=Xt),Xt-Kn+1===zt)return Kn*Tt}else-1!==Kn&&(Xt-=Xt-Kn),Kn=-1}else for(le+zt>Vt&&(le=Vt-zt),Xt=le;Xt>=0;Xt--){for(var Un=!0,De=0;De<zt;De++)if(un(be,Xt+De)!==un(ce,De)){Un=!1;break}if(Un)return Xt}return-1}function _e(be,ce,le,Ie){le=Number(le)||0;var at=be.length-le;Ie?(Ie=Number(Ie))>at&&(Ie=at):Ie=at;var Tt=ce.length;Ie>Tt/2&&(Ie=Tt/2);for(var Vt=0;Vt<Ie;++Vt){var zt=parseInt(ce.substr(2*Vt,2),16);if(xe(zt))return Vt;be[le+Vt]=zt}return Vt}function he(be,ce,le,Ie){return Ne(de(ce,be.length-le),be,le,Ie)}function x(be,ce,le,Ie){return Ne(function J(be){for(var ce=[],le=0;le<be.length;++le)ce.push(255&be.charCodeAt(le));return ce}(ce),be,le,Ie)}function R(be,ce,le,Ie){return x(be,ce,le,Ie)}function E(be,ce,le,Ie){return Ne(Ae(ce),be,le,Ie)}function I(be,ce,le,Ie){return Ne(function oe(be,ce){for(var le,Ie,Tt=[],Vt=0;Vt<be.length&&!((ce-=2)<0);++Vt)Ie=(le=be.charCodeAt(Vt))>>8,Tt.push(le%256),Tt.push(Ie);return Tt}(ce,be.length-le),be,le,Ie)}function L(be,ce,le){return M.fromByteArray(0===ce&&le===be.length?be:be.slice(ce,le))}function D(be,ce,le){le=Math.min(be.length,le);for(var Ie=[],at=ce;at<le;){var un,Xt,Kn,Un,Tt=be[at],Vt=null,zt=Tt>239?4:Tt>223?3:Tt>191?2:1;if(at+zt<=le)switch(zt){case 1:Tt<128&&(Vt=Tt);break;case 2:128==(192&(un=be[at+1]))&&(Un=(31&Tt)<<6|63&un)>127&&(Vt=Un);break;case 3:Xt=be[at+2],128==(192&(un=be[at+1]))&&128==(192&Xt)&&(Un=(15&Tt)<<12|(63&un)<<6|63&Xt)>2047&&(Un<55296||Un>57343)&&(Vt=Un);break;case 4:Xt=be[at+2],Kn=be[at+3],128==(192&(un=be[at+1]))&&128==(192&Xt)&&128==(192&Kn)&&(Un=(15&Tt)<<18|(63&un)<<12|(63&Xt)<<6|63&Kn)>65535&&Un<1114112&&(Vt=Un)}null===Vt?(Vt=65533,zt=1):Vt>65535&&(Ie.push((Vt-=65536)>>>10&1023|55296),Vt=56320|1023&Vt),Ie.push(Vt),at+=zt}return function te(be){var ce=be.length;if(ce<=Q)return String.fromCharCode.apply(String,be);for(var le="",Ie=0;Ie<ce;)le+=String.fromCharCode.apply(String,be.slice(Ie,Ie+=Q));return le}(Ie)}V.kMaxLength=r,!(g.TYPED_ARRAY_SUPPORT=function y(){try{var be=new Uint8Array(1),ce={foo:function(){return 42}};return Object.setPrototypeOf(ce,Uint8Array.prototype),Object.setPrototypeOf(be,ce),42===be.foo()}catch{return!1}}())&&typeof console<"u"&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(g.prototype,"parent",{enumerable:!0,get:function(){if(g.isBuffer(this))return this.buffer}}),Object.defineProperty(g.prototype,"offset",{enumerable:!0,get:function(){if(g.isBuffer(this))return this.byteOffset}}),g.poolSize=8192,g.from=function(be,ce,le){return _(be,ce,le)},Object.setPrototypeOf(g.prototype,Uint8Array.prototype),Object.setPrototypeOf(g,Uint8Array),g.alloc=function(be,ce,le){return function O(be,ce,le){return P(be),be<=0?f(be):void 0!==ce?"string"==typeof le?f(be).fill(ce,le):f(be).fill(ce):f(be)}(be,ce,le)},g.allocUnsafe=function(be){return j(be)},g.allocUnsafeSlow=function(be){return j(be)},g.isBuffer=function(ce){return null!=ce&&!0===ce._isBuffer&&ce!==g.prototype},g.compare=function(ce,le){if(pe(ce,Uint8Array)&&(ce=g.from(ce,ce.offset,ce.byteLength)),pe(le,Uint8Array)&&(le=g.from(le,le.offset,le.byteLength)),!g.isBuffer(ce)||!g.isBuffer(le))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ce===le)return 0;for(var Ie=ce.length,at=le.length,Tt=0,Vt=Math.min(Ie,at);Tt<Vt;++Tt)if(ce[Tt]!==le[Tt]){Ie=ce[Tt],at=le[Tt];break}return Ie<at?-1:at<Ie?1:0},g.isEncoding=function(ce){switch(String(ce).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},g.concat=function(ce,le){if(!Array.isArray(ce))throw new TypeError('"list" argument must be an Array of Buffers');if(0===ce.length)return g.alloc(0);var Ie;if(void 0===le)for(le=0,Ie=0;Ie<ce.length;++Ie)le+=ce[Ie].length;var at=g.allocUnsafe(le),Tt=0;for(Ie=0;Ie<ce.length;++Ie){var Vt=ce[Ie];if(pe(Vt,Uint8Array)&&(Vt=g.from(Vt)),!g.isBuffer(Vt))throw new TypeError('"list" argument must be an Array of Buffers');Vt.copy(at,Tt),Tt+=Vt.length}return at},g.byteLength=U,g.prototype._isBuffer=!0,g.prototype.swap16=function(){var ce=this.length;if(ce%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var le=0;le<ce;le+=2)Y(this,le,le+1);return this},g.prototype.swap32=function(){var ce=this.length;if(ce%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var le=0;le<ce;le+=4)Y(this,le,le+3),Y(this,le+1,le+2);return this},g.prototype.swap64=function(){var ce=this.length;if(ce%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var le=0;le<ce;le+=8)Y(this,le,le+7),Y(this,le+1,le+6),Y(this,le+2,le+5),Y(this,le+3,le+4);return this},g.prototype.toLocaleString=g.prototype.toString=function(){var ce=this.length;return 0===ce?"":0===arguments.length?D(this,0,ce):W.apply(this,arguments)},g.prototype.equals=function(ce){if(!g.isBuffer(ce))throw new TypeError("Argument must be a Buffer");return this===ce||0===g.compare(this,ce)},g.prototype.inspect=function(){var ce="",le=V.INSPECT_MAX_BYTES;return ce=this.toString("hex",0,le).replace(/(.{2})/g,"$1 ").trim(),this.length>le&&(ce+=" ... "),"<Buffer "+ce+">"},B&&(g.prototype[B]=g.prototype.inspect),g.prototype.compare=function(ce,le,Ie,at,Tt){if(pe(ce,Uint8Array)&&(ce=g.from(ce,ce.offset,ce.byteLength)),!g.isBuffer(ce))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof ce);if(void 0===le&&(le=0),void 0===Ie&&(Ie=ce?ce.length:0),void 0===at&&(at=0),void 0===Tt&&(Tt=this.length),le<0||Ie>ce.length||at<0||Tt>this.length)throw new RangeError("out of range index");if(at>=Tt&&le>=Ie)return 0;if(at>=Tt)return-1;if(le>=Ie)return 1;if(this===ce)return 0;for(var Vt=(Tt>>>=0)-(at>>>=0),zt=(Ie>>>=0)-(le>>>=0),un=Math.min(Vt,zt),Xt=this.slice(at,Tt),Kn=ce.slice(le,Ie),Un=0;Un<un;++Un)if(Xt[Un]!==Kn[Un]){Vt=Xt[Un],zt=Kn[Un];break}return Vt<zt?-1:zt<Vt?1:0},g.prototype.includes=function(ce,le,Ie){return-1!==this.indexOf(ce,le,Ie)},g.prototype.indexOf=function(ce,le,Ie){return ae(this,ce,le,Ie,!0)},g.prototype.lastIndexOf=function(ce,le,Ie){return ae(this,ce,le,Ie,!1)},g.prototype.write=function(ce,le,Ie,at){if(void 0===le)at="utf8",Ie=this.length,le=0;else if(void 0===Ie&&"string"==typeof le)at=le,Ie=this.length,le=0;else{if(!isFinite(le))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");le>>>=0,isFinite(Ie)?(Ie>>>=0,void 0===at&&(at="utf8")):(at=Ie,Ie=void 0)}var Tt=this.length-le;if((void 0===Ie||Ie>Tt)&&(Ie=Tt),ce.length>0&&(Ie<0||le<0)||le>this.length)throw new RangeError("Attempt to write outside buffer bounds");at||(at="utf8");for(var Vt=!1;;)switch(at){case"hex":return _e(this,ce,le,Ie);case"utf8":case"utf-8":return he(this,ce,le,Ie);case"ascii":return x(this,ce,le,Ie);case"latin1":case"binary":return R(this,ce,le,Ie);case"base64":return E(this,ce,le,Ie);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,ce,le,Ie);default:if(Vt)throw new TypeError("Unknown encoding: "+at);at=(""+at).toLowerCase(),Vt=!0}},g.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Q=4096;function Re(be,ce,le){var Ie="";le=Math.min(be.length,le);for(var at=ce;at<le;++at)Ie+=String.fromCharCode(127&be[at]);return Ie}function ne(be,ce,le){var Ie="";le=Math.min(be.length,le);for(var at=ce;at<le;++at)Ie+=String.fromCharCode(be[at]);return Ie}function Fe(be,ce,le){var Ie=be.length;(!ce||ce<0)&&(ce=0),(!le||le<0||le>Ie)&&(le=Ie);for(var at="",Tt=ce;Tt<le;++Tt)at+=ut[be[Tt]];return at}function rt(be,ce,le){for(var Ie=be.slice(ce,le),at="",Tt=0;Tt<Ie.length;Tt+=2)at+=String.fromCharCode(Ie[Tt]+256*Ie[Tt+1]);return at}function Te(be,ce,le){if(be%1!=0||be<0)throw new RangeError("offset is not uint");if(be+ce>le)throw new RangeError("Trying to access beyond buffer length")}function tt(be,ce,le,Ie,at,Tt){if(!g.isBuffer(be))throw new TypeError('"buffer" argument must be a Buffer instance');if(ce>at||ce<Tt)throw new RangeError('"value" argument is out of bounds');if(le+Ie>be.length)throw new RangeError("Index out of range")}function Qe(be,ce,le,Ie,at,Tt){if(le+Ie>be.length)throw new RangeError("Index out of range");if(le<0)throw new RangeError("Index out of range")}function vt(be,ce,le,Ie,at){return ce=+ce,le>>>=0,at||Qe(be,0,le,4),K.write(be,ce,le,Ie,23,4),le+4}function et(be,ce,le,Ie,at){return ce=+ce,le>>>=0,at||Qe(be,0,le,8),K.write(be,ce,le,Ie,52,8),le+8}g.prototype.slice=function(ce,le){var Ie=this.length;(ce=~~ce)<0?(ce+=Ie)<0&&(ce=0):ce>Ie&&(ce=Ie),(le=void 0===le?Ie:~~le)<0?(le+=Ie)<0&&(le=0):le>Ie&&(le=Ie),le<ce&&(le=ce);var at=this.subarray(ce,le);return Object.setPrototypeOf(at,g.prototype),at},g.prototype.readUIntLE=function(ce,le,Ie){ce>>>=0,le>>>=0,Ie||Te(ce,le,this.length);for(var at=this[ce],Tt=1,Vt=0;++Vt<le&&(Tt*=256);)at+=this[ce+Vt]*Tt;return at},g.prototype.readUIntBE=function(ce,le,Ie){ce>>>=0,le>>>=0,Ie||Te(ce,le,this.length);for(var at=this[ce+--le],Tt=1;le>0&&(Tt*=256);)at+=this[ce+--le]*Tt;return at},g.prototype.readUInt8=function(ce,le){return ce>>>=0,le||Te(ce,1,this.length),this[ce]},g.prototype.readUInt16LE=function(ce,le){return ce>>>=0,le||Te(ce,2,this.length),this[ce]|this[ce+1]<<8},g.prototype.readUInt16BE=function(ce,le){return ce>>>=0,le||Te(ce,2,this.length),this[ce]<<8|this[ce+1]},g.prototype.readUInt32LE=function(ce,le){return ce>>>=0,le||Te(ce,4,this.length),(this[ce]|this[ce+1]<<8|this[ce+2]<<16)+16777216*this[ce+3]},g.prototype.readUInt32BE=function(ce,le){return ce>>>=0,le||Te(ce,4,this.length),16777216*this[ce]+(this[ce+1]<<16|this[ce+2]<<8|this[ce+3])},g.prototype.readIntLE=function(ce,le,Ie){ce>>>=0,le>>>=0,Ie||Te(ce,le,this.length);for(var at=this[ce],Tt=1,Vt=0;++Vt<le&&(Tt*=256);)at+=this[ce+Vt]*Tt;return at>=(Tt*=128)&&(at-=Math.pow(2,8*le)),at},g.prototype.readIntBE=function(ce,le,Ie){ce>>>=0,le>>>=0,Ie||Te(ce,le,this.length);for(var at=le,Tt=1,Vt=this[ce+--at];at>0&&(Tt*=256);)Vt+=this[ce+--at]*Tt;return Vt>=(Tt*=128)&&(Vt-=Math.pow(2,8*le)),Vt},g.prototype.readInt8=function(ce,le){return ce>>>=0,le||Te(ce,1,this.length),128&this[ce]?-1*(255-this[ce]+1):this[ce]},g.prototype.readInt16LE=function(ce,le){ce>>>=0,le||Te(ce,2,this.length);var Ie=this[ce]|this[ce+1]<<8;return 32768&Ie?4294901760|Ie:Ie},g.prototype.readInt16BE=function(ce,le){ce>>>=0,le||Te(ce,2,this.length);var Ie=this[ce+1]|this[ce]<<8;return 32768&Ie?4294901760|Ie:Ie},g.prototype.readInt32LE=function(ce,le){return ce>>>=0,le||Te(ce,4,this.length),this[ce]|this[ce+1]<<8|this[ce+2]<<16|this[ce+3]<<24},g.prototype.readInt32BE=function(ce,le){return ce>>>=0,le||Te(ce,4,this.length),this[ce]<<24|this[ce+1]<<16|this[ce+2]<<8|this[ce+3]},g.prototype.readFloatLE=function(ce,le){return ce>>>=0,le||Te(ce,4,this.length),K.read(this,ce,!0,23,4)},g.prototype.readFloatBE=function(ce,le){return ce>>>=0,le||Te(ce,4,this.length),K.read(this,ce,!1,23,4)},g.prototype.readDoubleLE=function(ce,le){return ce>>>=0,le||Te(ce,8,this.length),K.read(this,ce,!0,52,8)},g.prototype.readDoubleBE=function(ce,le){return ce>>>=0,le||Te(ce,8,this.length),K.read(this,ce,!1,52,8)},g.prototype.writeUIntLE=function(ce,le,Ie,at){ce=+ce,le>>>=0,Ie>>>=0,at||tt(this,ce,le,Ie,Math.pow(2,8*Ie)-1,0);var Vt=1,zt=0;for(this[le]=255&ce;++zt<Ie&&(Vt*=256);)this[le+zt]=ce/Vt&255;return le+Ie},g.prototype.writeUIntBE=function(ce,le,Ie,at){ce=+ce,le>>>=0,Ie>>>=0,at||tt(this,ce,le,Ie,Math.pow(2,8*Ie)-1,0);var Vt=Ie-1,zt=1;for(this[le+Vt]=255&ce;--Vt>=0&&(zt*=256);)this[le+Vt]=ce/zt&255;return le+Ie},g.prototype.writeUInt8=function(ce,le,Ie){return ce=+ce,le>>>=0,Ie||tt(this,ce,le,1,255,0),this[le]=255&ce,le+1},g.prototype.writeUInt16LE=function(ce,le,Ie){return ce=+ce,le>>>=0,Ie||tt(this,ce,le,2,65535,0),this[le]=255&ce,this[le+1]=ce>>>8,le+2},g.prototype.writeUInt16BE=function(ce,le,Ie){return ce=+ce,le>>>=0,Ie||tt(this,ce,le,2,65535,0),this[le]=ce>>>8,this[le+1]=255&ce,le+2},g.prototype.writeUInt32LE=function(ce,le,Ie){return ce=+ce,le>>>=0,Ie||tt(this,ce,le,4,4294967295,0),this[le+3]=ce>>>24,this[le+2]=ce>>>16,this[le+1]=ce>>>8,this[le]=255&ce,le+4},g.prototype.writeUInt32BE=function(ce,le,Ie){return ce=+ce,le>>>=0,Ie||tt(this,ce,le,4,4294967295,0),this[le]=ce>>>24,this[le+1]=ce>>>16,this[le+2]=ce>>>8,this[le+3]=255&ce,le+4},g.prototype.writeIntLE=function(ce,le,Ie,at){if(ce=+ce,le>>>=0,!at){var Tt=Math.pow(2,8*Ie-1);tt(this,ce,le,Ie,Tt-1,-Tt)}var Vt=0,zt=1,un=0;for(this[le]=255&ce;++Vt<Ie&&(zt*=256);)ce<0&&0===un&&0!==this[le+Vt-1]&&(un=1),this[le+Vt]=(ce/zt>>0)-un&255;return le+Ie},g.prototype.writeIntBE=function(ce,le,Ie,at){if(ce=+ce,le>>>=0,!at){var Tt=Math.pow(2,8*Ie-1);tt(this,ce,le,Ie,Tt-1,-Tt)}var Vt=Ie-1,zt=1,un=0;for(this[le+Vt]=255&ce;--Vt>=0&&(zt*=256);)ce<0&&0===un&&0!==this[le+Vt+1]&&(un=1),this[le+Vt]=(ce/zt>>0)-un&255;return le+Ie},g.prototype.writeInt8=function(ce,le,Ie){return ce=+ce,le>>>=0,Ie||tt(this,ce,le,1,127,-128),ce<0&&(ce=255+ce+1),this[le]=255&ce,le+1},g.prototype.writeInt16LE=function(ce,le,Ie){return ce=+ce,le>>>=0,Ie||tt(this,ce,le,2,32767,-32768),this[le]=255&ce,this[le+1]=ce>>>8,le+2},g.prototype.writeInt16BE=function(ce,le,Ie){return ce=+ce,le>>>=0,Ie||tt(this,ce,le,2,32767,-32768),this[le]=ce>>>8,this[le+1]=255&ce,le+2},g.prototype.writeInt32LE=function(ce,le,Ie){return ce=+ce,le>>>=0,Ie||tt(this,ce,le,4,2147483647,-2147483648),this[le]=255&ce,this[le+1]=ce>>>8,this[le+2]=ce>>>16,this[le+3]=ce>>>24,le+4},g.prototype.writeInt32BE=function(ce,le,Ie){return ce=+ce,le>>>=0,Ie||tt(this,ce,le,4,2147483647,-2147483648),ce<0&&(ce=4294967295+ce+1),this[le]=ce>>>24,this[le+1]=ce>>>16,this[le+2]=ce>>>8,this[le+3]=255&ce,le+4},g.prototype.writeFloatLE=function(ce,le,Ie){return vt(this,ce,le,!0,Ie)},g.prototype.writeFloatBE=function(ce,le,Ie){return vt(this,ce,le,!1,Ie)},g.prototype.writeDoubleLE=function(ce,le,Ie){return et(this,ce,le,!0,Ie)},g.prototype.writeDoubleBE=function(ce,le,Ie){return et(this,ce,le,!1,Ie)},g.prototype.copy=function(ce,le,Ie,at){if(!g.isBuffer(ce))throw new TypeError("argument should be a Buffer");if(Ie||(Ie=0),!at&&0!==at&&(at=this.length),le>=ce.length&&(le=ce.length),le||(le=0),at>0&&at<Ie&&(at=Ie),at===Ie||0===ce.length||0===this.length)return 0;if(le<0)throw new RangeError("targetStart out of bounds");if(Ie<0||Ie>=this.length)throw new RangeError("Index out of range");if(at<0)throw new RangeError("sourceEnd out of bounds");at>this.length&&(at=this.length),ce.length-le<at-Ie&&(at=ce.length-le+Ie);var Tt=at-Ie;if(this===ce&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(le,Ie,at);else if(this===ce&&Ie<le&&le<at)for(var Vt=Tt-1;Vt>=0;--Vt)ce[Vt+le]=this[Vt+Ie];else Uint8Array.prototype.set.call(ce,this.subarray(Ie,at),le);return Tt},g.prototype.fill=function(ce,le,Ie,at){if("string"==typeof ce){if("string"==typeof le?(at=le,le=0,Ie=this.length):"string"==typeof Ie&&(at=Ie,Ie=this.length),void 0!==at&&"string"!=typeof at)throw new TypeError("encoding must be a string");if("string"==typeof at&&!g.isEncoding(at))throw new TypeError("Unknown encoding: "+at);if(1===ce.length){var Tt=ce.charCodeAt(0);("utf8"===at&&Tt<128||"latin1"===at)&&(ce=Tt)}}else"number"==typeof ce?ce&=255:"boolean"==typeof ce&&(ce=Number(ce));if(le<0||this.length<le||this.length<Ie)throw new RangeError("Out of range index");if(Ie<=le)return this;var Vt;if(le>>>=0,Ie=void 0===Ie?this.length:Ie>>>0,ce||(ce=0),"number"==typeof ce)for(Vt=le;Vt<Ie;++Vt)this[Vt]=ce;else{var zt=g.isBuffer(ce)?ce:g.from(ce,at),un=zt.length;if(0===un)throw new TypeError('The value "'+ce+'" is invalid for argument "value"');for(Vt=0;Vt<Ie-le;++Vt)this[Vt+le]=zt[Vt%un]}return this};var je=/[^+/0-9A-Za-z-_]/g;function de(be,ce){ce=ce||1/0;for(var le,Ie=be.length,at=null,Tt=[],Vt=0;Vt<Ie;++Vt){if((le=be.charCodeAt(Vt))>55295&&le<57344){if(!at){if(le>56319){(ce-=3)>-1&&Tt.push(239,191,189);continue}if(Vt+1===Ie){(ce-=3)>-1&&Tt.push(239,191,189);continue}at=le;continue}if(le<56320){(ce-=3)>-1&&Tt.push(239,191,189),at=le;continue}le=65536+(at-55296<<10|le-56320)}else at&&(ce-=3)>-1&&Tt.push(239,191,189);if(at=null,le<128){if((ce-=1)<0)break;Tt.push(le)}else if(le<2048){if((ce-=2)<0)break;Tt.push(le>>6|192,63&le|128)}else if(le<65536){if((ce-=3)<0)break;Tt.push(le>>12|224,le>>6&63|128,63&le|128)}else{if(!(le<1114112))throw new Error("Invalid code point");if((ce-=4)<0)break;Tt.push(le>>18|240,le>>12&63|128,le>>6&63|128,63&le|128)}}return Tt}function Ae(be){return M.toByteArray(function it(be){if((be=(be=be.split("=")[0]).trim().replace(je,"")).length<2)return"";for(;be.length%4!=0;)be+="=";return be}(be))}function Ne(be,ce,le,Ie){for(var at=0;at<Ie&&!(at+le>=ce.length||at>=be.length);++at)ce[at+le]=be[at];return at}function pe(be,ce){return be instanceof ce||null!=be&&null!=be.constructor&&null!=be.constructor.name&&be.constructor.name===ce.name}function xe(be){return be!=be}var ut=function(){for(var be="0123456789abcdef",ce=new Array(256),le=0;le<16;++le)for(var Ie=16*le,at=0;at<16;++at)ce[Ie+at]=be[le]+be[at];return ce}()},4263:(fe,V,S)=>{var M=S(79903),K=S(3855),B=K(M("String.prototype.indexOf"));fe.exports=function(y,f){var g=M(y,!!f);return"function"==typeof g&&B(y,".prototype.")>-1?K(g):g}},3855:(fe,V,S)=>{var M=S(20224),K=S(79903),B=K("%Function.prototype.apply%"),r=K("%Function.prototype.call%"),y=K("%Reflect.apply%",!0)||M.call(r,B),f=K("%Object.getOwnPropertyDescriptor%",!0),g=K("%Object.defineProperty%",!0),_=K("%Math.max%");if(g)try{g({},"a",{value:1})}catch{g=null}fe.exports=function(j){var v=y(M,r,arguments);return f&&g&&f(v,"length").configurable&&g(v,"length",{value:1+_(0,j.length-(arguments.length-1))}),v};var P=function(){return y(M,B,arguments)};g?g(fe.exports,"apply",{value:P}):fe.exports.apply=P},75482:fe=>{var V=function(){"use strict";function S(O,j){return null!=j&&O instanceof j}var M,K,B;try{M=Map}catch{M=function(){}}try{K=Set}catch{K=function(){}}try{B=Promise}catch{B=function(){}}function r(O,j,v,b,G){"object"==typeof j&&(v=j.depth,b=j.prototype,G=j.includeNonEnumerable,j=j.circular);var z=[],H=[],ee=typeof Buffer<"u";return typeof j>"u"&&(j=!0),typeof v>"u"&&(v=1/0),function U(W,Y){if(null===W)return null;if(0===Y)return W;var ae,ve;if("object"!=typeof W)return W;if(S(W,M))ae=new M;else if(S(W,K))ae=new K;else if(S(W,B))ae=new B(function(Q,te){W.then(function(Re){Q(U(Re,Y-1))},function(Re){te(U(Re,Y-1))})});else if(r.__isArray(W))ae=[];else if(r.__isRegExp(W))ae=new RegExp(W.source,P(W)),W.lastIndex&&(ae.lastIndex=W.lastIndex);else if(r.__isDate(W))ae=new Date(W.getTime());else{if(ee&&Buffer.isBuffer(W))return ae=Buffer.allocUnsafe?Buffer.allocUnsafe(W.length):new Buffer(W.length),W.copy(ae),ae;S(W,Error)?ae=Object.create(W):typeof b>"u"?(ve=Object.getPrototypeOf(W),ae=Object.create(ve)):(ae=Object.create(b),ve=b)}if(j){var _e=z.indexOf(W);if(-1!=_e)return H[_e];z.push(W),H.push(ae)}for(var he in S(W,M)&&W.forEach(function(Q,te){var Re=U(te,Y-1),ne=U(Q,Y-1);ae.set(Re,ne)}),S(W,K)&&W.forEach(function(Q){var te=U(Q,Y-1);ae.add(te)}),W){var x;ve&&(x=Object.getOwnPropertyDescriptor(ve,he)),(!x||null!=x.set)&&(ae[he]=U(W[he],Y-1))}if(Object.getOwnPropertySymbols){var R=Object.getOwnPropertySymbols(W);for(he=0;he<R.length;he++){var E=R[he];(I=Object.getOwnPropertyDescriptor(W,E))&&!I.enumerable&&!G||(ae[E]=U(W[E],Y-1),I.enumerable||Object.defineProperty(ae,E,{enumerable:!1}))}}if(G){var L=Object.getOwnPropertyNames(W);for(he=0;he<L.length;he++){var I,D=L[he];(I=Object.getOwnPropertyDescriptor(W,D))&&I.enumerable||(ae[D]=U(W[D],Y-1),Object.defineProperty(ae,D,{enumerable:!1}))}}return ae}(O,v)}function y(O){return Object.prototype.toString.call(O)}function P(O){var j="";return O.global&&(j+="g"),O.ignoreCase&&(j+="i"),O.multiline&&(j+="m"),j}return r.clonePrototype=function(j){if(null===j)return null;var v=function(){};return v.prototype=j,new v},r.__objToStr=y,r.__isDate=function f(O){return"object"==typeof O&&"[object Date]"===y(O)},r.__isArray=function g(O){return"object"==typeof O&&"[object Array]"===y(O)},r.__isRegExp=function _(O){return"object"==typeof O&&"[object RegExp]"===y(O)},r.__getRegExpFlags=P,r}();fe.exports&&(fe.exports=V)},61562:function(fe,V){var S,K;void 0!==(K="function"==typeof(S=function(){return new function(){var r=this;r.init=function(){String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")},String.prototype.repeat=function(U){return new Array(1+U).join(this)}},r.init();var _=/\/\*[\s\S]*?\*\//g,P=/([^\:]+):([^\;]*);/,O=/(\/\*[\s\S]*?\*\/)|([^\s\;\{\}][^\;\{\}]*(?=\{))|(\})|([^\;\{\}]+\;(?!\s*\*\/))/gim,z=function(W){return typeof W>"u"||0==W.length||null==W};r.toJSON=function(U,W){var Y={children:{},attributes:{}},ae=null,ve=0;for(typeof W>"u"&&(W={ordered:!1,comments:!1,stripComments:!1,split:!1}),W.stripComments&&(W.comments=!1,U=U.replace(_,""));null!=(ae=O.exec(U));)if(!z(ae[1])&&W.comments){var _e=ae[1].trim();Y[ve++]=_e}else if(z(ae[2])){if(!z(ae[3]))return Y;if(!z(ae[4])){var D=ae[4].trim(),Q=P.exec(D);if(Q){var he=Q[1].trim(),te=Q[2].trim();if(W.ordered)(R={}).name=he,R.value=te,R.type="attr",Y[ve++]=R;else if(he in Y.attributes){var Re=Y.attributes[he];Re instanceof Array||(Y.attributes[he]=[Re]),Y.attributes[he].push(te)}else Y.attributes[he]=te}else Y[ve++]=D}}else{he=ae[2].trim();var x=r.toJSON(U,W);if(W.ordered){var R;(R={}).name=he,R.value=x,R.type="rule",Y[ve++]=R}else{if(W.split)var E=he.split(",");else E=[he];for(i in E){var I=E[i].trim();if(I in Y.children)for(var L in x.attributes)Y.children[I].attributes[L]=x.attributes[L];else Y.children[I]=x}}}return Y},r.toCSS=function(U,W,Y){var ae="";if(typeof W>"u"&&(W=0),typeof Y>"u"&&(Y=!1),U.attributes)for(i in U.attributes){var ve=U.attributes[i];if(ve instanceof Array)for(var _e=0;_e<ve.length;_e++)ae+=H(i,ve[_e],W);else ae+=H(i,ve,W)}if(U.children){var he=!0;for(i in U.children)Y&&!he?ae+="\n":he=!1,ae+=ee(i,U.children[i],W)}return ae};var H=function(W,Y,ae){return"\t".repeat(ae)+W+": "+Y+";\n"},ee=function(W,Y,ae){var ve="\t".repeat(ae)+W+" {\n";return(ve+=r.toCSS(Y,ae+1))+("\t".repeat(ae)+"}\n")}}})?S.apply(V,[]):S)&&(fe.exports=K)},56929:function(fe,V){!function(S){"use strict";var M="function"==typeof Symbol?Symbol("curriable placeholder"):60881;function B(f,g){var _="number"==typeof g?g:f.length,P=function K(f,g){return function _(P){return function(){var H,O=P.length,j=arguments,v=j.length,b=[],G=0,z=g;if(O)for(var ee=-1;++ee<O;)b[ee]=H=P[ee]===M&&G<v?j[G++]:P[ee],H!==M&&--z;if(G<v)for(;G<v;)b[b.length]=H=j[G],H!==M&&G<g&&--z,++G;return z>0?_(b):f.apply(this,b)}}([])}(f,_);return P.arity=_,P.fn=f,P}function r(f){return f===M}function y(f){return f.fn}B.__=M,B.isPlaceholder=r,B.uncurry=y,S.__=M,S.curry=B,S.default=B,S.isPlaceholder=r,S.uncurry=y,Object.defineProperty(S,"__esModule",{value:!0})}(V)},13974:(fe,V,S)=>{var M=Function.prototype.bind||S(59683);fe.exports=function K(B,r){var y=function f(){return 0===arguments.length?f:arguments.length>1?B.apply(r,arguments):M.call(B,r,arguments[0])};return y.uncurry=function(){return B},y}},42375:function(fe){fe.exports=function(){"use strict";var V="__proto__",S=function(b,G){return G},M=function(b,G){return G.map(function(z){return j(z)})},K=function(b,G){if(G&&G.hasOwnProperty("__proto__")){var z={};for(var H in G)H!==V&&(z[H]=G[H]);return z}return Object.assign({},G)},P={$push:function(b,G){return b.concat(G)},$append:function(b,G){return b.concat(G)},$prepend:function(b,G){return G.concat(b)},$replace:function(b,G){var z;return b=M(0,b),Object.keys(G).forEach(function(H){if((z=Number.parseInt(H))<0||Number.isNaN(z))throw Error("Invalid index for $replace: ".concat(H));b[z]=j.clone(G[H])}),b},$merge:function(b,G){var z;return b=b.slice(),Object.keys(G).forEach(function(H){if((z=Number.parseInt(H))<0||Number.isNaN(z))throw Error("Invalid index for $merge: ".concat(H));b[z]=j(b[z],G[H])}),b},$insert:function(b,G){var z;return b=M(0,b),Object.keys(G).forEach(function(H){if(z=Number.parseInt(H),Number.isNaN(z))throw Error("Invalid index for $insert: ".concat(H));b.splice(z,0,G[H])}),b},$set:M},O={oo:function(b,G){return b=K(0,b),Object.keys(G).forEach(function(z){z!==V&&(b[z]=j(b[z],G[z]))}),b},oa:K,ob:S,aa:function(b,G){return b=M(0,b),G.forEach(function(z,H){return b[H]=j(b[H],z)}),b},ao:function(b,G){return b=M(0,b),Object.keys(G).forEach(function(z){z!==V&&(b=z in P?P[z](b,G[z]):G)}),b},ab:S,bb:S,bo:K,ba:M};function j(v,b){if(void 0===b){if(null==v)return v;b=Array.isArray(v)?[]:"object"==typeof v?{}:v}else if(null===b)return null;var G=Array.isArray(v)?"a":"object"==typeof v?"o":"b",z=Array.isArray(b)?"a":"object"==typeof b?"o":"b";return O[G+z](v,b)}return j.clone=function(v){return j(v)},j.multi=function(v){for(var b=arguments.length,G=new Array(b>1?b-1:0),z=1;z<b;z++)G[z-1]=arguments[z];if(!G)return j(v);for(var H=0;H<G.length;H++)v=j(v,G[H]);return v},j}()},96607:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.default=V.nthElement=V.parentElements=void 0;var S=function(g){for(var _=[];g;){var P=g.nodeName.toLowerCase(),O=g.id?"#".concat(g.id):"",j="";g.className&&"string"==typeof g.className&&(j=".".concat(g.className.replace(/\s+/g,".").replace(/[:*+?^${}()|[\]\\]/gi,"\\$&"))),_.unshift({element:g,selector:P+O+j}),g=g.parentNode!==document&&g.parentNode}return _};V.parentElements=S;var M=function(g){for(var _=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],P=g,O=1;null!==P.previousElementSibling;)(!_||P.previousElementSibling.nodeName===g.nodeName)&&O++,P=P.previousElementSibling;return O};V.nthElement=M;V.default=function(g){if(!(g instanceof HTMLElement))throw new Error("element must be of type `HTMLElement`.");return function(g){var _=[];return g.forEach(function(P){(function(g,_){var P=""===_?g:"".concat(_," > ").concat(g);return document.querySelectorAll(P).length>1})(P.selector,_.join(" > "))&&(P.selector+=":nth-of-type(".concat(M(P.element),")")),_.push(P.selector)}),_.join(" > ")}(S(g))}},21934:fe=>{var V=Object.prototype.toString;function B(r){return r.replace(/\uffff/g,".")}fe.exports=function S(r){for(var y=-1,f=function K(r){for(var y=-1,f=r.length,g=[];++y<f;)r[y]&&g.push(r[y]);return g}(function M(r){return("[object String]"===V.call(r)?r:"").replace(/\\\./g,"\uffff")}(r).split(".")),g=f.length,_=[];++y<g;)_.push(B(f[y]));return _}},83358:fe=>{var M,V="object"==typeof Reflect?Reflect:null,S=V&&"function"==typeof V.apply?V.apply:function(Y,ae,ve){return Function.prototype.apply.call(Y,ae,ve)};M=V&&"function"==typeof V.ownKeys?V.ownKeys:Object.getOwnPropertySymbols?function(Y){return Object.getOwnPropertyNames(Y).concat(Object.getOwnPropertySymbols(Y))}:function(Y){return Object.getOwnPropertyNames(Y)};var B=Number.isNaN||function(Y){return Y!=Y};function r(){r.init.call(this)}fe.exports=r,fe.exports.once=function H(W,Y){return new Promise(function(ae,ve){function _e(x){W.removeListener(Y,he),ve(x)}function he(){"function"==typeof W.removeListener&&W.removeListener("error",_e),ae([].slice.call(arguments))}U(W,Y,he,{once:!0}),"error"!==Y&&function ee(W,Y,ae){"function"==typeof W.on&&U(W,"error",Y,ae)}(W,_e,{once:!0})})},r.EventEmitter=r,r.prototype._events=void 0,r.prototype._eventsCount=0,r.prototype._maxListeners=void 0;var y=10;function f(W){if("function"!=typeof W)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof W)}function g(W){return void 0===W._maxListeners?r.defaultMaxListeners:W._maxListeners}function _(W,Y,ae,ve){var _e,he,x;if(f(ae),void 0===(he=W._events)?(he=W._events=Object.create(null),W._eventsCount=0):(void 0!==he.newListener&&(W.emit("newListener",Y,ae.listener?ae.listener:ae),he=W._events),x=he[Y]),void 0===x)x=he[Y]=ae,++W._eventsCount;else if("function"==typeof x?x=he[Y]=ve?[ae,x]:[x,ae]:ve?x.unshift(ae):x.push(ae),(_e=g(W))>0&&x.length>_e&&!x.warned){x.warned=!0;var R=new Error("Possible EventEmitter memory leak detected. "+x.length+" "+String(Y)+" listeners added. Use emitter.setMaxListeners() to increase limit");R.name="MaxListenersExceededWarning",R.emitter=W,R.type=Y,R.count=x.length,function K(W){console&&console.warn&&console.warn(W)}(R)}return W}function P(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function O(W,Y,ae){var ve={fired:!1,wrapFn:void 0,target:W,type:Y,listener:ae},_e=P.bind(ve);return _e.listener=ae,ve.wrapFn=_e,_e}function j(W,Y,ae){var ve=W._events;if(void 0===ve)return[];var _e=ve[Y];return void 0===_e?[]:"function"==typeof _e?ae?[_e.listener||_e]:[_e]:ae?function z(W){for(var Y=new Array(W.length),ae=0;ae<Y.length;++ae)Y[ae]=W[ae].listener||W[ae];return Y}(_e):b(_e,_e.length)}function v(W){var Y=this._events;if(void 0!==Y){var ae=Y[W];if("function"==typeof ae)return 1;if(void 0!==ae)return ae.length}return 0}function b(W,Y){for(var ae=new Array(Y),ve=0;ve<Y;++ve)ae[ve]=W[ve];return ae}function U(W,Y,ae,ve){if("function"==typeof W.on)ve.once?W.once(Y,ae):W.on(Y,ae);else{if("function"!=typeof W.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof W);W.addEventListener(Y,function _e(he){ve.once&&W.removeEventListener(Y,_e),ae(he)})}}Object.defineProperty(r,"defaultMaxListeners",{enumerable:!0,get:function(){return y},set:function(Y){if("number"!=typeof Y||Y<0||B(Y))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+Y+".");y=Y}}),r.init=function(){(void 0===this._events||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},r.prototype.setMaxListeners=function(Y){if("number"!=typeof Y||Y<0||B(Y))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+Y+".");return this._maxListeners=Y,this},r.prototype.getMaxListeners=function(){return g(this)},r.prototype.emit=function(Y){for(var ae=[],ve=1;ve<arguments.length;ve++)ae.push(arguments[ve]);var _e="error"===Y,he=this._events;if(void 0!==he)_e=_e&&void 0===he.error;else if(!_e)return!1;if(_e){var x;if(ae.length>0&&(x=ae[0]),x instanceof Error)throw x;var R=new Error("Unhandled error."+(x?" ("+x.message+")":""));throw R.context=x,R}var E=he[Y];if(void 0===E)return!1;if("function"==typeof E)S(E,this,ae);else{var I=E.length,L=b(E,I);for(ve=0;ve<I;++ve)S(L[ve],this,ae)}return!0},r.prototype.on=r.prototype.addListener=function(Y,ae){return _(this,Y,ae,!1)},r.prototype.prependListener=function(Y,ae){return _(this,Y,ae,!0)},r.prototype.once=function(Y,ae){return f(ae),this.on(Y,O(this,Y,ae)),this},r.prototype.prependOnceListener=function(Y,ae){return f(ae),this.prependListener(Y,O(this,Y,ae)),this},r.prototype.off=r.prototype.removeListener=function(Y,ae){var ve,_e,he,x,R;if(f(ae),void 0===(_e=this._events))return this;if(void 0===(ve=_e[Y]))return this;if(ve===ae||ve.listener===ae)0==--this._eventsCount?this._events=Object.create(null):(delete _e[Y],_e.removeListener&&this.emit("removeListener",Y,ve.listener||ae));else if("function"!=typeof ve){for(he=-1,x=ve.length-1;x>=0;x--)if(ve[x]===ae||ve[x].listener===ae){R=ve[x].listener,he=x;break}if(he<0)return this;0===he?ve.shift():function G(W,Y){for(;Y+1<W.length;Y++)W[Y]=W[Y+1];W.pop()}(ve,he),1===ve.length&&(_e[Y]=ve[0]),void 0!==_e.removeListener&&this.emit("removeListener",Y,R||ae)}return this},r.prototype.removeAllListeners=function(Y){var ae,ve,_e;if(void 0===(ve=this._events))return this;if(void 0===ve.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==ve[Y]&&(0==--this._eventsCount?this._events=Object.create(null):delete ve[Y]),this;if(0===arguments.length){var x,he=Object.keys(ve);for(_e=0;_e<he.length;++_e)"removeListener"!==(x=he[_e])&&this.removeAllListeners(x);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(ae=ve[Y]))this.removeListener(Y,ae);else if(void 0!==ae)for(_e=ae.length-1;_e>=0;_e--)this.removeListener(Y,ae[_e]);return this},r.prototype.listeners=function(Y){return j(this,Y,!0)},r.prototype.rawListeners=function(Y){return j(this,Y,!1)},r.listenerCount=function(W,Y){return"function"==typeof W.listenerCount?W.listenerCount(Y):v.call(W,Y)},r.prototype.listenerCount=v,r.prototype.eventNames=function(){return this._eventsCount>0?M(this._events):[]}},59683:fe=>{fe.exports=function(V){var M,S=this;if(arguments.length<2)M=function(){if(this instanceof M){var y=S.apply(this,arguments);return Object(y)===y?y:this}return S.apply(V,arguments)};else{for(var K=new Array(arguments.length-1),B=1;B<arguments.length;B++)K[B-1]=arguments[B];M=function(){var g,y=K.length,f=new Array(y+arguments.length);for(g=0;g<y;g++)f[g]=K[g];for(g=0;g<arguments.length;g++)f[y+g]=arguments[g];if(this instanceof M){var _=S.apply(this,f);return Object(_)===_?_:this}return S.apply(V,f)}}return M.prototype=S.prototype,M}},2199:fe=>{var S=Array.prototype.slice,M=Object.prototype.toString;fe.exports=function(r){var y=this;if("function"!=typeof y||"[object Function]"!==M.call(y))throw new TypeError("Function.prototype.bind called on incompatible "+y);for(var g,f=S.call(arguments,1),P=Math.max(0,y.length-f.length),O=[],j=0;j<P;j++)O.push("$"+j);if(g=Function("binder","return function ("+O.join(",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof g){var G=y.apply(this,f.concat(S.call(arguments)));return Object(G)===G?G:this}return y.apply(r,f.concat(S.call(arguments)))}),y.prototype){var v=function(){};v.prototype=y.prototype,g.prototype=new v,v.prototype=null}return g}},20224:(fe,V,S)=>{var M=S(2199);fe.exports=Function.prototype.bind||M},79903:(fe,V,S)=>{var M,K=SyntaxError,B=Function,r=TypeError,y=function(D){try{return B('"use strict"; return ('+D+").constructor;")()}catch{}},f=Object.getOwnPropertyDescriptor;if(f)try{f({},"")}catch{f=null}var g=function(){throw new r},_=f?function(){try{return g}catch{try{return f(arguments,"callee").get}catch{return g}}}():g,P=S(90524)(),O=S(2600)(),j=Object.getPrototypeOf||(O?function(L){return L.__proto__}:null),v={},b=typeof Uint8Array>"u"||!j?M:j(Uint8Array),G={"%AggregateError%":typeof AggregateError>"u"?M:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?M:ArrayBuffer,"%ArrayIteratorPrototype%":P&&j?j([][Symbol.iterator]()):M,"%AsyncFromSyncIteratorPrototype%":M,"%AsyncFunction%":v,"%AsyncGenerator%":v,"%AsyncGeneratorFunction%":v,"%AsyncIteratorPrototype%":v,"%Atomics%":typeof Atomics>"u"?M:Atomics,"%BigInt%":typeof BigInt>"u"?M:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?M:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?M:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?M:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?M:Float32Array,"%Float64Array%":typeof Float64Array>"u"?M:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?M:FinalizationRegistry,"%Function%":B,"%GeneratorFunction%":v,"%Int8Array%":typeof Int8Array>"u"?M:Int8Array,"%Int16Array%":typeof Int16Array>"u"?M:Int16Array,"%Int32Array%":typeof Int32Array>"u"?M:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":P&&j?j(j([][Symbol.iterator]())):M,"%JSON%":"object"==typeof JSON?JSON:M,"%Map%":typeof Map>"u"?M:Map,"%MapIteratorPrototype%":typeof Map>"u"||!P||!j?M:j((new Map)[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?M:Promise,"%Proxy%":typeof Proxy>"u"?M:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?M:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?M:Set,"%SetIteratorPrototype%":typeof Set>"u"||!P||!j?M:j((new Set)[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?M:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":P&&j?j(""[Symbol.iterator]()):M,"%Symbol%":P?Symbol:M,"%SyntaxError%":K,"%ThrowTypeError%":_,"%TypedArray%":b,"%TypeError%":r,"%Uint8Array%":typeof Uint8Array>"u"?M:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?M:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?M:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?M:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?M:WeakMap,"%WeakRef%":typeof WeakRef>"u"?M:WeakRef,"%WeakSet%":typeof WeakSet>"u"?M:WeakSet};if(j)try{null.error}catch(L){var z=j(j(L));G["%Error.prototype%"]=z}var H=function L(D){var Q;if("%AsyncFunction%"===D)Q=y("async function () {}");else if("%GeneratorFunction%"===D)Q=y("function* () {}");else if("%AsyncGeneratorFunction%"===D)Q=y("async function* () {}");else if("%AsyncGenerator%"===D){var te=L("%AsyncGeneratorFunction%");te&&(Q=te.prototype)}else if("%AsyncIteratorPrototype%"===D){var Re=L("%AsyncGenerator%");Re&&j&&(Q=j(Re.prototype))}return G[D]=Q,Q},ee={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},U=S(20224),W=S(84031),Y=U.call(Function.call,Array.prototype.concat),ae=U.call(Function.apply,Array.prototype.splice),ve=U.call(Function.call,String.prototype.replace),_e=U.call(Function.call,String.prototype.slice),he=U.call(Function.call,RegExp.prototype.exec),x=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,R=/\\(\\)?/g,I=function(D,Q){var Re,te=D;if(W(ee,te)&&(te="%"+(Re=ee[te])[0]+"%"),W(G,te)){var ne=G[te];if(ne===v&&(ne=H(te)),typeof ne>"u"&&!Q)throw new r("intrinsic "+D+" exists, but is not available. Please file an issue!");return{alias:Re,name:te,value:ne}}throw new K("intrinsic "+D+" does not exist!")};fe.exports=function(D,Q){if("string"!=typeof D||0===D.length)throw new r("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof Q)throw new r('"allowMissing" argument must be a boolean');if(null===he(/^%?[^%]*%?$/,D))throw new K("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var te=function(D){var Q=_e(D,0,1),te=_e(D,-1);if("%"===Q&&"%"!==te)throw new K("invalid intrinsic syntax, expected closing `%`");if("%"===te&&"%"!==Q)throw new K("invalid intrinsic syntax, expected opening `%`");var Re=[];return ve(D,x,function(ne,Fe,rt,Te){Re[Re.length]=rt?ve(Te,R,"$1"):Fe||ne}),Re}(D),Re=te.length>0?te[0]:"",ne=I("%"+Re+"%",Q),Fe=ne.name,rt=ne.value,Te=!1,tt=ne.alias;tt&&(Re=tt[0],ae(te,Y([0,1],tt)));for(var Qe=1,vt=!0;Qe<te.length;Qe+=1){var et=te[Qe],je=_e(et,0,1),it=_e(et,-1);if(('"'===je||"'"===je||"`"===je||'"'===it||"'"===it||"`"===it)&&je!==it)throw new K("property names with quotes must have matching quotes");if(("constructor"===et||!vt)&&(Te=!0),W(G,Fe="%"+(Re+="."+et)+"%"))rt=G[Fe];else if(null!=rt){if(!(et in rt)){if(!Q)throw new r("base intrinsic for "+D+" exists, but the property is not available.");return}if(f&&Qe+1>=te.length){var de=f(rt,et);rt=(vt=!!de)&&"get"in de&&!("originalValue"in de.get)?de.get:rt[et]}else vt=W(rt,et),rt=rt[et];vt&&!Te&&(G[Fe]=rt)}}return rt}},2600:fe=>{var V={foo:{}},S=Object;fe.exports=function(){return{__proto__:V}.foo===V.foo&&!({__proto__:null}instanceof S)}},90524:(fe,V,S)=>{var M=typeof Symbol<"u"&&Symbol,K=S(86858);fe.exports=function(){return"function"==typeof M&&"function"==typeof Symbol&&"symbol"==typeof M("foo")&&"symbol"==typeof Symbol("bar")&&K()}},86858:fe=>{fe.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var S={},M=Symbol("test"),K=Object(M);if("string"==typeof M||"[object Symbol]"!==Object.prototype.toString.call(M)||"[object Symbol]"!==Object.prototype.toString.call(K))return!1;for(M in S[M]=42,S)return!1;if("function"==typeof Object.keys&&0!==Object.keys(S).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(S).length)return!1;var r=Object.getOwnPropertySymbols(S);if(1!==r.length||r[0]!==M||!Object.prototype.propertyIsEnumerable.call(S,M))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var y=Object.getOwnPropertyDescriptor(S,M);if(42!==y.value||!0!==y.enumerable)return!1}return!0}},84031:(fe,V,S)=>{var M=S(20224);fe.exports=M.call(Function.call,Object.prototype.hasOwnProperty)},98288:(fe,V,S)=>{S.r(V),S.d(V,{default:()=>vt,hash:()=>Qe});var K,B,r,y,M=S(56929),f=typeof Buffer<"u"&&"function"==typeof Buffer.from,g="function"==typeof Uint16Array,_=/\[object (HTML(.*)Element)\]/,P=/\[object (SVG(.*)Element)\]/,j=["Arguments","Array","ArrayBuffer","Boolean","DataView","Date","DocumentFragment","Error","Event","Float32Array","Float64Array","Function","Generator","GeneratorFunction","HTMLElement","Int8Array","Int16Array","Int32Array","Map","Null","Number","Object","Promise","RegExp","Set","String","Symbol","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","Undefined","WeakMap","WeakSet","Window"].reduce(function(et,je){return et["[object "+je+"]"]=je,et},{}),v=Object.keys(j).reduce(function(et,je){return et[j[je].toUpperCase()]=je,et},{}),b={"[object Map]":!0,"[object Set]":!0},G={boolean:!0,function:!0,number:!0,string:!0,undefined:!0},z=((K={})[v.ARGUMENTS]=!0,K[v.ARRAY]=!0,K),H=((B={})[v.REGEXP]=!0,B[v.SYMBOL]=!0,B),ee=((r={})[v.FLOAT32ARRAY]=!0,r[v.FLOAT64ARRAY]=!0,r[v.INT8ARRAY]=!0,r[v.INT16ARRAY]=!0,r[v.INT32ARRAY]=!0,r[v.UINT8ARRAY]=!0,r[v.UINT8CLAMPEDARRAY]=!0,r[v.UINT16ARRAY]=!0,r[v.UINT32ARRAY]=!0,r),U=((y={})[v.GENERATOR]=!0,y[v.PROMISE]=!0,y[v.WEAKMAP]=!0,y[v.WEAKSET]=!0,y),W=/^\s*function\s*([^(]*)/i,Y=Object.prototype.toString,ae=Object.keys;function x(et,je){return et>je}function R(et,je){return et[0]>je[0]}function E(et,je){for(var it,de,J=0;J<et.length;++J){for(de=et[J],it=J-1;~it&&je(et[it],de);--it)et[it+1]=et[it];et[it+1]=de}return et}var Re=f?function Q(et){return Buffer.from(et).toString("utf8")}:g?function D(et){return String.fromCharCode.apply(null,new Uint16Array(et))}:function te(){return""};function Fe(et,je){for(var it=0;it<et.length;++it)if(et[it]===je)return it+1;return 0}function rt(et,je,it,de){if(void 0===de){var J=typeof et;if("string"===J||G[J])return J+"|"+et;if(null===et)return"null|"+et}var oe=de||Y.call(et);return z[oe]?et:oe===v.OBJECT?function L(et){for(var de,je=E(ae(et),x),it={},J=0;J<je.length;++J)it[de=je[J]]=et[de];return it}(et):H[oe]?j[oe]+"|"+et.toString():b[oe]?function I(et,je,it){var de="function"==typeof et.get,J=[];de?(et.forEach(function(xe,ut){J.push([tt(ut,je,it),tt(xe,je,it)])}),E(J,R)):(et.forEach(function(xe){J.push(tt(xe,je,it))}),E(J,x));for(var pe,oe=function ve(et){return et.name||(et.toString().match(W)||[])[1]||"anonymous"}(et.constructor)+"|[",Ae=0,Ne=J.length;Ae<Ne;++Ae)pe=J[Ae],oe+=(Ae?",":"")+(de?"["+pe[0]+","+pe[1]+"]":pe);return oe+"]"}(et,je,it):oe===v.DATE?j[oe]+"|"+et.getTime():oe===v.ERROR?j[oe]+"|"+et.stack:oe===v.EVENT?function he(et){return{bubbles:et.bubbles,cancelBubble:et.cancelBubble,cancelable:et.cancelable,composed:et.composed,currentTarget:et.currentTarget,defaultPrevented:et.defaultPrevented,eventPhase:et.eventPhase,isTrusted:et.isTrusted,returnValue:et.returnValue,target:et.target,type:et.type}}(et):U[oe]?j[oe]+"|NOT_ENUMERABLE":_.test(oe)||P.test(oe)?oe.slice(8,-1)+"|"+et.outerHTML:oe===v.DOCUMENTFRAGMENT?j[oe]+"|"+function ne(et){for(var je=et.children,it="",de=0;de<je.length;++de)it+=je[de].outerHTML;return it}(et):ee[oe]?j[oe]+"|"+et.join(","):oe===v.ARRAYBUFFER?j[oe]+"|"+Re(et):oe===v.DATAVIEW?j[oe]+"|"+Re(et.buffer):et}function tt(et,je,it){if(!et||"object"!=typeof et)return rt(et,je,it);var de=Y.call(et);return de===v.DATE||de===v.REGEXP?rt(et,je,it,de):JSON.stringify(et,function Te(et,je){return void 0===et&&(et=[]),void 0===je&&(je=[]),function(it,de){if("object"==typeof de)if(et.length){var J=Fe(et,this);0===J?et.push(this):(et.splice(J),je.splice(J)),je.push(it);var oe=Fe(et,de);if(0!==oe)return"[~"+(je.slice(0,oe).join(".")||".")+"]";et.push(de)}else et[0]=de,je[0]=it;return it&&this[it]instanceof Date?rt(this[it],et,je,v.DATE):rt(de,et,je)}}(je,it))}function Qe(et){return function _e(et){for(var J,je=et.length,it=5381,de=52711;je--;)it=33*it^(J=et.charCodeAt(je)),de=33*de^J;return 4096*(it>>>0)+(de>>>0)}(tt(et))}(Qe.is=(0,M.curry)(function(et,je){return Qe(et)===Qe(je)})).all=(0,M.curry)(function(et){for(var je=Qe.is(et),it=1;it<arguments.length;++it)if(!je(arguments[it]))return!1;return!0},2),Qe.is.any=(0,M.curry)(function(et){for(var je=Qe.is(et),it=1;it<arguments.length;it++)if(je(arguments[it]))return!0;return!1},2),Qe.is.not=(0,M.curry)(function(et,je){return Qe(et)!==Qe(je)});const vt=Qe},54920:(fe,V)=>{V.read=function(S,M,K,B,r){var y,f,g=8*r-B-1,_=(1<<g)-1,P=_>>1,O=-7,j=K?r-1:0,v=K?-1:1,b=S[M+j];for(j+=v,y=b&(1<<-O)-1,b>>=-O,O+=g;O>0;y=256*y+S[M+j],j+=v,O-=8);for(f=y&(1<<-O)-1,y>>=-O,O+=B;O>0;f=256*f+S[M+j],j+=v,O-=8);if(0===y)y=1-P;else{if(y===_)return f?NaN:1/0*(b?-1:1);f+=Math.pow(2,B),y-=P}return(b?-1:1)*f*Math.pow(2,y-B)},V.write=function(S,M,K,B,r,y){var f,g,_,P=8*y-r-1,O=(1<<P)-1,j=O>>1,v=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,b=B?0:y-1,G=B?1:-1,z=M<0||0===M&&1/M<0?1:0;for(M=Math.abs(M),isNaN(M)||M===1/0?(g=isNaN(M)?1:0,f=O):(f=Math.floor(Math.log(M)/Math.LN2),M*(_=Math.pow(2,-f))<1&&(f--,_*=2),(M+=f+j>=1?v/_:v*Math.pow(2,1-j))*_>=2&&(f++,_/=2),f+j>=O?(g=0,f=O):f+j>=1?(g=(M*_-1)*Math.pow(2,r),f+=j):(g=M*Math.pow(2,j-1)*Math.pow(2,r),f=0));r>=8;S[K+b]=255&g,b+=G,g/=256,r-=8);for(f=f<<r|g,P+=r;P>0;S[K+b]=255&f,b+=G,f/=256,P-=8);S[K+b-G]|=128*z}},55035:fe=>{fe.exports="function"==typeof Object.create?function(S,M){M&&(S.super_=M,S.prototype=Object.create(M.prototype,{constructor:{value:S,enumerable:!1,writable:!0,configurable:!0}}))}:function(S,M){if(M){S.super_=M;var K=function(){};K.prototype=M.prototype,S.prototype=new K,S.prototype.constructor=S}}},7478:(fe,V,S)=>{var M,K,B;void 0!==(K="function"==typeof(M=B=function(){function B(){for(var f=0,g={};f<arguments.length;f++){var _=arguments[f];for(var P in _)g[P]=_[P]}return g}function r(f){return f.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function y(f){function g(){}function _(O,j,v){if(!(typeof document>"u")){"number"==typeof(v=B({path:"/"},g.defaults,v)).expires&&(v.expires=new Date(1*new Date+864e5*v.expires)),v.expires=v.expires?v.expires.toUTCString():"";try{var b=JSON.stringify(j);/^[\{\[]/.test(b)&&(j=b)}catch{}j=f.write?f.write(j,O):encodeURIComponent(String(j)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),O=encodeURIComponent(String(O)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var G="";for(var z in v)v[z]&&(G+="; "+z,!0!==v[z]&&(G+="="+v[z].split(";")[0]));return document.cookie=O+"="+j+G}}function P(O,j){if(!(typeof document>"u")){for(var v={},b=document.cookie?document.cookie.split("; "):[],G=0;G<b.length;G++){var z=b[G].split("="),H=z.slice(1).join("=");!j&&'"'===H.charAt(0)&&(H=H.slice(1,-1));try{var ee=r(z[0]);if(H=(f.read||f)(H,ee)||r(H),j)try{H=JSON.parse(H)}catch{}if(v[ee]=H,O===ee)break}catch{}}return O?v[O]:v}}return g.set=_,g.get=function(O){return P(O,!1)},g.getJSON=function(O){return P(O,!0)},g.remove=function(O,j){_(O,"",B(j,{expires:-1}))},g.defaults={},g.withConverter=y,g}(function(){})})?M.call(V,S,V,fe):M)&&(fe.exports=K),fe.exports=B()},53909:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0});var M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(G){return typeof G}:function(G){return G&&"function"==typeof Symbol&&G.constructor===Symbol&&G!==Symbol.prototype?"symbol":typeof G},K=function(){function G(z,H){for(var ee=0;ee<H.length;ee++){var U=H[ee];U.enumerable=U.enumerable||!1,U.configurable=!0,"value"in U&&(U.writable=!0),Object.defineProperty(z,U.key,U)}}return function(z,H,ee){return H&&G(z.prototype,H),ee&&G(z,ee),z}}(),r=j(S(11035)),y=S(69492),g=j(S(27416)),_=S(64567),O=j(S(57726));function j(G){return G&&G.__esModule?G:{default:G}}var b=function(){function G(z){var H=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},ee=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};for(var U in function v(G,z){if(!(G instanceof z))throw new TypeError("Cannot call a class as a function")}(this,G),this.factMap=new Map(z),this.factResultsCache=new Map,this.allowUndefinedFacts=!!ee.allowUndefinedFacts,H){var W;W=H[U]instanceof r.default?H[U]:new r.default(U,H[U]),this._addConstantFact(W),(0,g.default)("almanac::constructor initialized runtime fact:"+W.id+" with "+W.value+"<"+M(W.value)+">")}}return K(G,[{key:"_getFact",value:function(H){return this.factMap.get(H)}},{key:"_addConstantFact",value:function(H){this.factMap.set(H.id,H),this._setFactValue(H,{},H.value)}},{key:"_setFactValue",value:function(H,ee,U){var W=H.getCacheKey(ee),Y=Promise.resolve(U);return W&&this.factResultsCache.set(W,Y),Y}},{key:"addRuntimeFact",value:function(H,ee){(0,g.default)("almanac::addRuntimeFact id:"+H);var U=new r.default(H,ee);return this._addConstantFact(U)}},{key:"factValue",value:function(H){var ee=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},U=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",W=void 0,Y=this._getFact(H);if(void 0===Y)return this.allowUndefinedFacts?Promise.resolve(void 0):Promise.reject(new y.UndefinedFactError("Undefined fact: "+H));if(Y.isConstant())W=Promise.resolve(Y.calculate(ee,this));else{var ae=Y.getCacheKey(ee),ve=ae&&this.factResultsCache.get(ae);ve?(W=Promise.resolve(ve),(0,g.default)("almanac::factValue cache hit for fact:"+H)):((0,g.default)("almanac::factValue cache miss for fact:"+H+"; calculating"),W=this._setFactValue(Y,ee,Y.calculate(ee,this)))}if(U){if("string"==typeof U&&U.startsWith("$"))return(0,g.default)("condition::evaluate extracting object property "+U),W.then(function(he){if((0,O.default)(he)){var x=(0,_.JSONPath)({path:U,json:he,wrap:!1});return(0,g.default)("condition::evaluate extracting object property "+U+", received: "+x),x}return(0,g.default)("condition::evaluate could not compute object path("+U+") of non-object: "+he+" <"+(typeof he>"u"?"undefined":M(he))+">; continuing with "+he),he});var _e=void 0;try{_e=S(87559)}catch{throw console.error('Oops! Looks like you\'re trying to use the deprecated syntax for the ".path" property.'),console.error('Please convert your "path" properties to JsonPath syntax (ensure your path starts with "$")'),console.error('Alternatively, if you wish to continue using old syntax (provided by selectn), you may "npm install selectn" as a direct dependency.'),console.error("See https://github.com/CacheControl/json-rules-engine/blob/master/CHANGELOG.md#500--2019-10-27 for more information."),new Error('json-rules-engine: Unmet peer dependency "selectn" required for use of deprecated ".path" syntax. please "npm install selectn" or convert to json-path syntax')}return W.then(function(he){if((0,O.default)(he)){var x=_e(U)(he);return(0,g.default)("condition::evaluate extracting object property "+U+", received: "+x),x}return(0,g.default)("condition::evaluate could not compute object path("+U+") of non-object: "+he+" <"+(typeof he>"u"?"undefined":M(he))+">; continuing with "+he),he})}return W}}]),G}();V.default=b},67396:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0});var M=function(){function P(O,j){for(var v=0;v<j.length;v++){var b=j[v];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(O,b.key,b)}}return function(O,j,v){return j&&P(O.prototype,j),v&&P(O,v),O}}(),B=f(S(27416)),y=f(S(57726));function f(P){return P&&P.__esModule?P:{default:P}}var _=function(){function P(O){if(function g(P,O){if(!(P instanceof O))throw new TypeError("Cannot call a class as a function")}(this,P),!O)throw new Error("Condition: constructor options required");var j=P.booleanOperator(O);if(Object.assign(this,O),j){var v=O[j];if(!Array.isArray(v))throw new Error('"'+j+'" must be an array');this.operator=j,this.priority=parseInt(O.priority,10)||1,this[j]=v.map(function(b){return new P(b)})}else{if(!Object.prototype.hasOwnProperty.call(O,"fact"))throw new Error('Condition: constructor "fact" property required');if(!Object.prototype.hasOwnProperty.call(O,"operator"))throw new Error('Condition: constructor "operator" property required');if(!Object.prototype.hasOwnProperty.call(O,"value"))throw new Error('Condition: constructor "value" property required');Object.prototype.hasOwnProperty.call(O,"priority")&&(O.priority=parseInt(O.priority,10))}}return M(P,[{key:"toJSON",value:function(){var j=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],v={};this.priority&&(v.priority=this.priority);var b=P.booleanOperator(this);return b?v[b]=this[b].map(function(G){return G.toJSON(j)}):(v.operator=this.operator,v.value=this.value,v.fact=this.fact,void 0!==this.factResult&&(v.factResult=this.factResult),void 0!==this.result&&(v.result=this.result),this.params&&(v.params=this.params),this.path&&(v.path=this.path)),j?JSON.stringify(v):v}},{key:"_getValue",value:function(j){var v=this.value;return(0,y.default)(v)&&Object.prototype.hasOwnProperty.call(v,"fact")?j.factValue(v.fact,v.params,v.path):Promise.resolve(v)}},{key:"evaluate",value:function(j,v){var b=this;if(!j)return Promise.reject(new Error("almanac required"));if(!v)return Promise.reject(new Error("operatorMap required"));if(this.isBooleanOperator())return Promise.reject(new Error("Cannot evaluate() a boolean condition"));var G=v.get(this.operator);return G?this._getValue(j).then(function(z){return j.factValue(b.fact,b.params,b.path).then(function(H){var ee=G.evaluate(H,z);return(0,B.default)("condition::evaluate <"+H+" "+b.operator+" "+z+"?> ("+ee+")"),{result:ee,leftHandSideValue:H,rightHandSideValue:z,operator:b.operator}})}):Promise.reject(new Error("Unknown operator: "+this.operator))}},{key:"booleanOperator",value:function(){return P.booleanOperator(this)}},{key:"isBooleanOperator",value:function(){return void 0!==P.booleanOperator(this)}}],[{key:"booleanOperator",value:function(j){return Object.prototype.hasOwnProperty.call(j,"any")?"any":Object.prototype.hasOwnProperty.call(j,"all")?"all":void 0}}]),P}();V.default=_},27416:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.default=function S(M){try{(typeof process<"u"&&process.env&&process.env.DEBUG&&process.env.DEBUG.match(/json-rules-engine/)||typeof window<"u"&&window.localStorage&&window.localStorage.debug&&window.localStorage.debug.match(/json-rules-engine/))&&console.log(M)}catch{}}},4934:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0});var K=function B(f){return f&&f.__esModule?f:{default:f}}(S(88640)),r=[];function y(f){return"NaN"!==Number.parseFloat(f).toString()}r.push(new K.default("equal",function(f,g){return f===g})),r.push(new K.default("notEqual",function(f,g){return f!==g})),r.push(new K.default("in",function(f,g){return g.indexOf(f)>-1})),r.push(new K.default("notIn",function(f,g){return-1===g.indexOf(f)})),r.push(new K.default("contains",function(f,g){return f.indexOf(g)>-1},Array.isArray)),r.push(new K.default("doesNotContain",function(f,g){return-1===f.indexOf(g)},Array.isArray)),r.push(new K.default("lessThan",function(f,g){return f<g},y)),r.push(new K.default("lessThanInclusive",function(f,g){return f<=g},y)),r.push(new K.default("greaterThan",function(f,g){return f>g},y)),r.push(new K.default("greaterThanInclusive",function(f,g){return f>=g},y)),V.default=r},24307:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.SuccessEventFact=function(){var K=[];return function(){var B=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return B.event&&K.push(B.event),K}}},47386:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.FINISHED=V.RUNNING=V.READY=void 0;var M=function(){function he(x,R){for(var E=0;E<R.length;E++){var I=R[E];I.enumerable=I.enumerable||!1,I.configurable=!0,"value"in I&&(I.writable=!0),Object.defineProperty(x,I.key,I)}}return function(x,R,E){return R&&he(x.prototype,R),E&&he(x,E),x}}(),B=H(S(11035)),y=H(S(8847)),g=H(S(88640)),P=H(S(53909)),O=S(83358),j=S(24307),b=H(S(4934)),z=H(S(27416));function H(he){return he&&he.__esModule?he:{default:he}}var Y=V.READY="READY",ae=V.RUNNING="RUNNING",ve=V.FINISHED="FINISHED",_e=function(he){function x(){var R=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],E=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function ee(he,x){if(!(he instanceof x))throw new TypeError("Cannot call a class as a function")}(this,x);var I=function U(he,x){if(!he)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!x||"object"!=typeof x&&"function"!=typeof x?he:x}(this,(x.__proto__||Object.getPrototypeOf(x)).call(this));return I.rules=[],I.allowUndefinedFacts=E.allowUndefinedFacts||!1,I.operators=new Map,I.facts=new Map,I.status=Y,R.map(function(L){return I.addRule(L)}),b.default.map(function(L){return I.addOperator(L)}),I}return function W(he,x){if("function"!=typeof x&&null!==x)throw new TypeError("Super expression must either be null or a function, not "+typeof x);he.prototype=Object.create(x&&x.prototype,{constructor:{value:he,enumerable:!1,writable:!0,configurable:!0}}),x&&(Object.setPrototypeOf?Object.setPrototypeOf(he,x):he.__proto__=x)}(x,he),M(x,[{key:"addRule",value:function(E){if(!E)throw new Error("Engine: addRule() requires options");if(!Object.prototype.hasOwnProperty.call(E,"conditions"))throw new Error('Engine: addRule() argument requires "conditions" property');if(!Object.prototype.hasOwnProperty.call(E,"event"))throw new Error('Engine: addRule() argument requires "event" property');var I=void 0;return(I=E instanceof y.default?E:new y.default(E)).setEngine(this),this.rules.push(I),this.prioritizedRules=null,this}},{key:"removeRule",value:function(E){if(!(E instanceof y.default))throw new Error("Engine: removeRule() rule must be a instance of Rule");var I=this.rules.indexOf(E);return-1!==I&&(this.prioritizedRules=null,!!this.rules.splice(I,1).length)}},{key:"addOperator",value:function(E,I){var L;L=E instanceof g.default?E:new g.default(E,I),(0,z.default)("engine::addOperator name:"+L.name),this.operators.set(L.name,L)}},{key:"removeOperator",value:function(E){return this.operators.delete(E instanceof g.default?E.name:E)}},{key:"addFact",value:function(E,I,L){var D=E,Q=void 0;return E instanceof B.default?(D=E.id,Q=E):Q=new B.default(E,I,L),(0,z.default)("engine::addFact id:"+D),this.facts.set(D,Q),this}},{key:"removeFact",value:function(E){return this.facts.delete(E instanceof B.default?E.id:E)}},{key:"prioritizeRules",value:function(){if(!this.prioritizedRules){var E=this.rules.reduce(function(I,L){var D=L.priority;return I[D]||(I[D]=[]),I[D].push(L),I},{});this.prioritizedRules=Object.keys(E).sort(function(I,L){return Number(I)>Number(L)?-1:1}).map(function(I){return E[I]})}return this.prioritizedRules}},{key:"stop",value:function(){return this.status=ve,this}},{key:"getFact",value:function(E){return this.facts.get(E)}},{key:"evaluateRules",value:function(E,I){var L=this;return Promise.all(E.map(function(D){if(L.status===ae)return D.evaluate(I).then(function(Q){(0,z.default)("engine::run ruleResult:"+Q.result),Q.result?(L.emit("success",D.event,I,Q),L.emit(D.event.type,D.event.params,I,Q),I.factValue("success-events",{event:D.event})):L.emit("failure",D.event,I,Q)});(0,z.default)("engine::run status:"+L.status+"; skipping remaining rules")}))}},{key:"run",value:function(){var E=this,I=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,z.default)("engine::run started"),(0,z.default)("engine::run runtimeFacts:",I),I["success-events"]=new B.default("success-events",(0,j.SuccessEventFact)(),{cache:!1}),this.status=ae;var L=new P.default(this.facts,I,{allowUndefinedFacts:this.allowUndefinedFacts}),D=this.prioritizeRules(),Q=Promise.resolve();return new Promise(function(te,Re){D.map(function(ne){return Q=Q.then(function(){return E.evaluateRules(ne,L)}).catch(Re)}),Q.then(function(){return E.status=ve,(0,z.default)("engine::run completed"),L.factValue("success-events")}).then(function(ne){te({events:ne,almanac:L})}).catch(Re)})}}]),x}(O.EventEmitter);V.default=_e},69492:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0}),V.UndefinedFactError=function(r){function y(){var f;!function S(r,y){if(!(r instanceof y))throw new TypeError("Cannot call a class as a function")}(this,y);for(var g=arguments.length,_=Array(g),P=0;P<g;P++)_[P]=arguments[P];var O=function M(r,y){if(!r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!y||"object"!=typeof y&&"function"!=typeof y?r:y}(this,(f=y.__proto__||Object.getPrototypeOf(y)).call.apply(f,[this].concat(_)));return O.code="UNDEFINED_FACT",O}return function K(r,y){if("function"!=typeof y&&null!==y)throw new TypeError("Super expression must either be null or a function, not "+typeof y);r.prototype=Object.create(y&&y.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),y&&(Object.setPrototypeOf?Object.setPrototypeOf(r,y):r.__proto__=y)}(y,Error),y}()},11035:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0});var M=function(){function g(_,P){for(var O=0;O<P.length;O++){var j=P[O];j.enumerable=j.enumerable||!1,j.configurable=!0,"value"in j&&(j.writable=!0),Object.defineProperty(_,j.key,j)}}return function(_,P,O){return P&&g(_.prototype,P),O&&g(_,O),_}}(),B=function r(g){return g&&g.__esModule?g:{default:g}}(S(98288)),f=function(){function g(_,P,O){(function y(g,_){if(!(g instanceof _))throw new TypeError("Cannot call a class as a function")})(this,g),this.id=_;var j={cache:!0};if(typeof O>"u"&&(O=j),"function"!=typeof P?(this.value=P,this.type=this.constructor.CONSTANT):(this.calculationMethod=P,this.type=this.constructor.DYNAMIC),!this.id)throw new Error("factId required");return this.priority=parseInt(O.priority||1,10),this.options=Object.assign({},j,O),this.cacheKeyMethod=this.defaultCacheKeys,this}return M(g,[{key:"isConstant",value:function(){return this.type===this.constructor.CONSTANT}},{key:"isDynamic",value:function(){return this.type===this.constructor.DYNAMIC}},{key:"calculate",value:function(P,O){return Object.prototype.hasOwnProperty.call(this,"value")?this.value:this.calculationMethod(P,O)}},{key:"defaultCacheKeys",value:function(P,O){return{params:O,id:P}}},{key:"getCacheKey",value:function(P){if(!0===this.options.cache){var O=this.cacheKeyMethod(this.id,P);return g.hashFromObject(O)}}}],[{key:"hashFromObject",value:function(P){return(0,B.default)(P)}}]),g}();f.CONSTANT="CONSTANT",f.DYNAMIC="DYNAMIC",V.default=f},78:(fe,V,S)=>{fe.exports=S(71412)},71412:(fe,V,S)=>{V.Engine=V.Rule=void 0;var B=O(S(47386)),g=(O(S(11035)),O(S(8847)));O(S(88640));function O(j){return j&&j.__esModule?j:{default:j}}V.Rule=g.default,V.Engine=B.default},88640:(fe,V)=>{Object.defineProperty(V,"__esModule",{value:!0});var S=function(){function B(r,y){for(var f=0;f<y.length;f++){var g=y[f];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(r,g.key,g)}}return function(r,y,f){return y&&B(r.prototype,y),f&&B(r,f),r}}(),K=function(){function B(r,y,f){if(function M(B,r){if(!(B instanceof r))throw new TypeError("Cannot call a class as a function")}(this,B),this.name=String(r),!r)throw new Error("Missing operator name");if("function"!=typeof y)throw new Error("Missing operator callback");this.cb=y,this.factValueValidator=f,this.factValueValidator||(this.factValueValidator=function(){return!0})}return S(B,[{key:"evaluate",value:function(y,f){return this.factValueValidator(y)&&this.cb(y,f)}}]),B}();V.default=K},52747:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0});var M=function(){function g(_,P){for(var O=0;O<P.length;O++){var j=P[O];j.enumerable=j.enumerable||!1,j.configurable=!0,"value"in j&&(j.writable=!0),Object.defineProperty(_,j.key,j)}}return function(_,P,O){return P&&g(_.prototype,P),O&&g(_,O),_}}(),B=function r(g){return g&&g.__esModule?g:{default:g}}(S(75482)),f=function(){function g(_,P,O,j){(function y(g,_){if(!(g instanceof _))throw new TypeError("Cannot call a class as a function")})(this,g),this.conditions=(0,B.default)(_),this.event=(0,B.default)(P),this.priority=(0,B.default)(O),this.name=(0,B.default)(j),this.result=null}return M(g,[{key:"setResult",value:function(P){this.result=P}},{key:"toJSON",value:function(){var P=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],O={conditions:this.conditions.toJSON(!1),event:this.event,priority:this.priority,name:this.name,result:this.result};return P?JSON.stringify(O):O}}]),g}();V.default=f},8847:(fe,V,S)=>{Object.defineProperty(V,"__esModule",{value:!0});var M=function(){function G(z,H){for(var ee=0;ee<H.length;ee++){var U=H[ee];U.enumerable=U.enumerable||!1,U.configurable=!0,"value"in U&&(U.writable=!0),Object.defineProperty(z,U.key,U)}}return function(z,H,ee){return H&&G(z.prototype,H),ee&&G(z,ee),z}}(),B=P(S(67396)),y=P(S(52747)),f=S(83358),_=P(S(27416));function P(G){return G&&G.__esModule?G:{default:G}}var b=function(G){function z(H){!function O(G,z){if(!(G instanceof z))throw new TypeError("Cannot call a class as a function")}(this,z);var ee=function j(G,z){if(!G)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!z||"object"!=typeof z&&"function"!=typeof z?G:z}(this,(z.__proto__||Object.getPrototypeOf(z)).call(this));return"string"==typeof H&&(H=JSON.parse(H)),H&&H.conditions&&ee.setConditions(H.conditions),H&&H.onSuccess&&ee.on("success",H.onSuccess),H&&H.onFailure&&ee.on("failure",H.onFailure),H&&(H.name||0===H.name)&&ee.setName(H.name),ee.setPriority(H&&H.priority||1),ee.setEvent(H&&H.event||{type:"unknown"}),ee}return function v(G,z){if("function"!=typeof z&&null!==z)throw new TypeError("Super expression must either be null or a function, not "+typeof z);G.prototype=Object.create(z&&z.prototype,{constructor:{value:G,enumerable:!1,writable:!0,configurable:!0}}),z&&(Object.setPrototypeOf?Object.setPrototypeOf(G,z):G.__proto__=z)}(z,G),M(z,[{key:"setPriority",value:function(ee){if((ee=parseInt(ee,10))<=0)throw new Error("Priority must be greater than zero");return this.priority=ee,this}},{key:"setName",value:function(ee){if(!ee&&0!==ee)throw new Error('Rule "name" must be defined');return this.name=ee,this}},{key:"setConditions",value:function(ee){if(!Object.prototype.hasOwnProperty.call(ee,"all")&&!Object.prototype.hasOwnProperty.call(ee,"any"))throw new Error('"conditions" root must contain a single instance of "all" or "any"');return this.conditions=new B.default(ee),this}},{key:"setEvent",value:function(ee){if(!ee)throw new Error("Rule: setEvent() requires event object");if(!Object.prototype.hasOwnProperty.call(ee,"type"))throw new Error('Rule: setEvent() requires event object with "type" property');return this.event={type:ee.type},ee.params&&(this.event.params=ee.params),this}},{key:"setEngine",value:function(ee){return this.engine=ee,this}},{key:"toJSON",value:function(){var ee=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],U={conditions:this.conditions.toJSON(!1),priority:this.priority,event:this.event,name:this.name};return ee?JSON.stringify(U):U}},{key:"prioritizeConditions",value:function(ee){var U=this,W=ee.reduce(function(Y,ae){var ve=ae.priority;if(!ve){var _e=U.engine.getFact(ae.fact);ve=_e&&_e.priority||1}return Y[ve]||(Y[ve]=[]),Y[ve].push(ae),Y},{});return Object.keys(W).sort(function(Y,ae){return Number(Y)>Number(ae)?-1:1}).map(function(Y){return W[Y]})}},{key:"evaluate",value:function(ee){var U=this,W=new y.default(this.conditions,this.event,this.priority,this.name),ve=function(E,I){if(0===E.length)return Promise.resolve(!0);var L=Array.prototype.some;"all"===I&&(L=Array.prototype.every);for(var D=U.prioritizeConditions(E),Q=Promise.resolve(),te=function(Fe){var rt=D[Fe],Te=!1;Q=Q.then(function(tt){return"any"===I&&!0===tt||Te?((0,_.default)("prioritizeAndRun::detected truthy result; skipping remaining conditions"),Te=!0,!0):"all"===I&&!1===tt||Te?((0,_.default)("prioritizeAndRun::detected falsey result; skipping remaining conditions"),Te=!0,!1):function(E,I){return Array.isArray(E)||(E=[E]),Promise.all(E.map(function(L){return function(E){if(E.isBooleanOperator()){var I=E[E.operator];return("all"===E.operator?he(I):_e(I)).then(function(D){var Q=!0===D;return E.result=Q,Q})}return E.evaluate(ee,U.engine.operators).then(function(D){var Q=D.result;return E.factResult=D.leftHandSideValue,E.result=Q,Q})}(L)})).then(function(L){return(0,_.default)("rule::evaluateConditions results",L),I.call(L,function(D){return!0===D})})}(rt,L)})},Re=0;Re<D.length;Re++)te(Re);return Q},_e=function(E){return ve(E,"any")},he=function(E){return ve(E,"all")},x=function(E){return W.setResult(E),U.emit(E?"success":"failure",W.event,ee,W),W};return W.conditions.any?_e(W.conditions.any).then(function(R){return x(R)}):he(W.conditions.all).then(function(R){return x(R)})}}]),z}(f.EventEmitter);V.default=b},64567:(fe,V,S)=>{function M(I){return(M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(D){return typeof D}:function(D){return D&&"function"==typeof Symbol&&D.constructor===Symbol&&D!==Symbol.prototype?"symbol":typeof D})(I)}function r(I){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(D){return D.__proto__||Object.getPrototypeOf(D)})(I)}function y(I,L){return(y=Object.setPrototypeOf||function(Q,te){return Q.__proto__=te,Q})(I,L)}function f(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function g(I,L,D){return(g=f()?Reflect.construct:function(te,Re,ne){var Fe=[null];Fe.push.apply(Fe,Re);var Te=new(Function.bind.apply(te,Fe));return ne&&y(Te,ne.prototype),Te}).apply(null,arguments)}function P(I){var L="function"==typeof Map?new Map:void 0;return P=function(Q){if(null===Q||!function _(I){return-1!==Function.toString.call(I).indexOf("[native code]")}(Q))return Q;if("function"!=typeof Q)throw new TypeError("Super expression must either be null or a function");if(typeof L<"u"){if(L.has(Q))return L.get(Q);L.set(Q,te)}function te(){return g(Q,arguments,r(this).constructor)}return te.prototype=Object.create(Q.prototype,{constructor:{value:te,enumerable:!1,writable:!0,configurable:!0}}),y(te,Q)},P(I)}function b(I){return function G(I){if(Array.isArray(I))return ee(I)}(I)||function z(I){if(typeof Symbol<"u"&&Symbol.iterator in Object(I))return Array.from(I)}(I)||H(I)||function U(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function H(I,L){if(I){if("string"==typeof I)return ee(I,L);var D=Object.prototype.toString.call(I).slice(8,-1);if("Object"===D&&I.constructor&&(D=I.constructor.name),"Map"===D||"Set"===D)return Array.from(D);if("Arguments"===D||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))return ee(I,L)}}function ee(I,L){(null==L||L>I.length)&&(L=I.length);for(var D=0,Q=new Array(L);D<L;D++)Q[D]=I[D];return Q}S.r(V),S.d(V,{JSONPath:()=>E});var ae=Object.prototype.hasOwnProperty,_e=(E.nodeVMSupported=function(){try{return"[object process]"===Object.prototype.toString.call(global.process)}catch{return!1}}())?S(56989):{runInNewContext:function(L,D){var Q=Object.keys(D),te=[];!function(L,D,Q){for(var te=L.length,Re=0;Re<te;Re++)Q(L[Re])&&D.push(L.splice(Re--,1)[0])}(Q,te,function(Te){return"function"==typeof D[Te]});var Re=Q.map(function(Te,tt){return D[Te]});!(L=te.reduce(function(Te,tt){var Qe=D[tt].toString();return/function/.test(Qe)||(Qe="function "+Qe),"var "+tt+"="+Qe+";"+Te},"")+L).match(/(["'])use strict\1/)&&!Q.includes("arguments")&&(L="var arguments = undefined;"+L);var Fe=(L=L.replace(/;[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*$/,"")).lastIndexOf(";"),rt=Fe>-1?L.slice(0,Fe+1)+" return "+L.slice(Fe+1):" return "+L;return g(Function,b(Q).concat([rt])).apply(void 0,b(Re))}};function he(I,L){return(I=I.slice()).push(L),I}function x(I,L){return(L=L.slice()).unshift(I),L}var R=function(I){!function B(I,L){if("function"!=typeof L&&null!==L)throw new TypeError("Super expression must either be null or a function");I.prototype=Object.create(L&&L.prototype,{constructor:{value:I,writable:!0,configurable:!0}}),L&&y(I,L)}(D,I);var L=function v(I){return function(){var D,L=r(I);if(f()){var Q=r(this).constructor;D=Reflect.construct(L,arguments,Q)}else D=L.apply(this,arguments);return function j(I,L){return!L||"object"!=typeof L&&"function"!=typeof L?function O(I){if(void 0===I)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}(I):L}(this,D)}}(D);function D(Q){var te;return function K(I,L){if(!(I instanceof L))throw new TypeError("Cannot call a class as a function")}(this,D),(te=L.call(this,'JSONPath should not be called with "new" (it prevents return of (unwrapped) scalar values)')).avoidNew=!0,te.value=Q,te.name="NewError",te}return D}(P(Error));function E(I,L,D,Q,te){if(!(this instanceof E))try{return new E(I,L,D,Q,te)}catch(rt){if(!rt.avoidNew)throw rt;return rt.value}"string"==typeof I&&(te=Q,Q=D,D=L,L=I,I=null);var Re=I&&"object"===M(I);if(this.json=(I=I||{}).json||D,this.path=I.path||L,this.resultType=I.resultType||"value",this.flatten=I.flatten||!1,this.wrap=!ae.call(I,"wrap")||I.wrap,this.sandbox=I.sandbox||{},this.preventEval=I.preventEval||!1,this.parent=I.parent||null,this.parentProperty=I.parentProperty||null,this.callback=I.callback||Q||null,this.otherTypeCallback=I.otherTypeCallback||te||function(){throw new TypeError("You must supply an otherTypeCallback callback option with the @other() operator.")},!1!==I.autostart){var ne={path:Re?I.path:L};Re?"json"in I&&(ne.json=I.json):ne.json=D;var Fe=this.evaluate(ne);if(!Fe||"object"!==M(Fe))throw new R(Fe);return Fe}}E.prototype.evaluate=function(I,L,D,Q){var te=this,Re=this.parent,ne=this.parentProperty,Fe=this.flatten,rt=this.wrap;if(this.currResultType=this.resultType,this.currPreventEval=this.preventEval,this.currSandbox=this.sandbox,D=D||this.callback,this.currOtherTypeCallback=Q||this.otherTypeCallback,L=L||this.json,(I=I||this.path)&&"object"===M(I)&&!Array.isArray(I)){if(!I.path&&""!==I.path)throw new TypeError('You must supply a "path" property when providing an object argument to JSONPath.evaluate().');if(!ae.call(I,"json"))throw new TypeError('You must supply a "json" property when providing an object argument to JSONPath.evaluate().');L=I.json,Fe=ae.call(I,"flatten")?I.flatten:Fe,this.currResultType=ae.call(I,"resultType")?I.resultType:this.currResultType,this.currSandbox=ae.call(I,"sandbox")?I.sandbox:this.currSandbox,rt=ae.call(I,"wrap")?I.wrap:rt,this.currPreventEval=ae.call(I,"preventEval")?I.preventEval:this.currPreventEval,D=ae.call(I,"callback")?I.callback:D,this.currOtherTypeCallback=ae.call(I,"otherTypeCallback")?I.otherTypeCallback:this.currOtherTypeCallback,Re=ae.call(I,"parent")?I.parent:Re,ne=ae.call(I,"parentProperty")?I.parentProperty:ne,I=I.path}if(Re=Re||null,ne=ne||null,Array.isArray(I)&&(I=E.toPathString(I)),(I||""===I)&&L){this._obj=L;var tt=E.toPathArray(I);"$"===tt[0]&&tt.length>1&&tt.shift(),this._hasParentSelector=null;var Qe=this._trace(tt,L,["$"],Re,ne,D).filter(function(vt){return vt&&!vt.isParentSelector});return Qe.length?rt||1!==Qe.length||Qe[0].hasArrExpr?Qe.reduce(function(vt,et){var je=te._getPreferredOutput(et);return Fe&&Array.isArray(je)?vt=vt.concat(je):vt.push(je),vt},[]):this._getPreferredOutput(Qe[0]):rt?[]:void 0}},E.prototype._getPreferredOutput=function(I){var L=this.currResultType;switch(L){default:throw new TypeError("Unknown result type");case"all":var D=Array.isArray(I.path)?I.path:E.toPathArray(I.path);return I.pointer=E.toPointer(D),I.path="string"==typeof I.path?I.path:E.toPathString(I.path),I;case"value":case"parent":case"parentProperty":return I[L];case"path":return E.toPathString(I[L]);case"pointer":return E.toPointer(I.path)}},E.prototype._handleCallback=function(I,L,D){if(L){var Q=this._getPreferredOutput(I);I.path="string"==typeof I.path?I.path:E.toPathString(I.path),L(Q,D,I)}},E.prototype._trace=function(I,L,D,Q,te,Re,ne,Fe){var rt,Te=this;if(!I.length)return this._handleCallback(rt={path:D,value:L,parent:Q,parentProperty:te,hasArrExpr:ne},Re,"value"),rt;var tt=I[0],Qe=I.slice(1),vt=[];function et(le){Array.isArray(le)?le.forEach(function(Ie){vt.push(Ie)}):vt.push(le)}if(("string"!=typeof tt||Fe)&&L&&ae.call(L,tt))et(this._trace(Qe,L[tt],he(D,tt),L,tt,Re,ne));else if("*"===tt)this._walk(tt,Qe,L,D,Q,te,Re,function(le,Ie,at,Tt,Vt,zt,un,Xt){et(Te._trace(x(le,at),Tt,Vt,zt,un,Xt,!0,!0))});else if(".."===tt)et(this._trace(Qe,L,D,Q,te,Re,ne)),this._walk(tt,Qe,L,D,Q,te,Re,function(le,Ie,at,Tt,Vt,zt,un,Xt){"object"===M(Tt[le])&&et(Te._trace(x(Ie,at),Tt[le],he(Vt,le),Tt,le,Xt,!0))});else{if("^"===tt)return this._hasParentSelector=!0,{path:D.slice(0,-1),expr:Qe,isParentSelector:!0};if("~"===tt)return rt={path:he(D,tt),value:te,parent:Q,parentProperty:null},this._handleCallback(rt,Re,"property"),rt;if("$"===tt)et(this._trace(Qe,L,D,null,null,Re,ne));else if(/^(\x2D?[0-9]*):(\x2D?[0-9]*):?([0-9]*)$/.test(tt))et(this._slice(tt,Qe,L,D,Q,te,Re));else if(0===tt.indexOf("?(")){if(this.currPreventEval)throw new Error("Eval [?(expr)] prevented in JSONPath expression.");this._walk(tt,Qe,L,D,Q,te,Re,function(le,Ie,at,Tt,Vt,zt,un,Xt){Te._eval(Ie.replace(/^\?\(((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?)\)$/,"$1"),Tt[le],le,Vt,zt,un)&&et(Te._trace(x(le,at),Tt,Vt,zt,un,Xt,!0))})}else if("("===tt[0]){if(this.currPreventEval)throw new Error("Eval [(expr)] prevented in JSONPath expression.");et(this._trace(x(this._eval(tt,L,D[D.length-1],D.slice(0,-1),Q,te),Qe),L,D,Q,te,Re,ne))}else if("@"===tt[0]){var je=!1,it=tt.slice(1,-2);switch(it){default:throw new TypeError("Unknown value type "+it);case"scalar":(!L||!["object","function"].includes(M(L)))&&(je=!0);break;case"boolean":case"string":case"undefined":case"function":M(L)===it&&(je=!0);break;case"integer":Number.isFinite(L)&&!(L%1)&&(je=!0);break;case"number":Number.isFinite(L)&&(je=!0);break;case"nonFinite":"number"==typeof L&&!Number.isFinite(L)&&(je=!0);break;case"object":L&&M(L)===it&&(je=!0);break;case"array":Array.isArray(L)&&(je=!0);break;case"other":je=this.currOtherTypeCallback(L,D,Q,te);break;case"null":null===L&&(je=!0)}if(je)return this._handleCallback(rt={path:D,value:L,parent:Q,parentProperty:te},Re,"value"),rt}else if("`"===tt[0]&&L&&ae.call(L,tt.slice(1))){var de=tt.slice(1);et(this._trace(Qe,L[de],he(D,de),L,de,Re,ne,!0))}else if(tt.includes(",")){var Ae,oe=function W(I){if(typeof Symbol>"u"||null==I[Symbol.iterator]){if(Array.isArray(I)||(I=H(I))){var L=0,D=function(){};return{s:D,n:function(){return L>=I.length?{done:!0}:{done:!1,value:I[L++]}},e:function(rt){throw rt},f:D}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var Q,ne,te=!0,Re=!1;return{s:function(){Q=I[Symbol.iterator]()},n:function(){var rt=Q.next();return te=rt.done,rt},e:function(rt){Re=!0,ne=rt},f:function(){try{!te&&null!=Q.return&&Q.return()}finally{if(Re)throw ne}}}}(tt.split(","));try{for(oe.s();!(Ae=oe.n()).done;)et(this._trace(x(Ae.value,Qe),L,D,Q,te,Re,!0))}catch(le){oe.e(le)}finally{oe.f()}}else!Fe&&L&&ae.call(L,tt)&&et(this._trace(Qe,L[tt],he(D,tt),L,tt,Re,ne,!0))}if(this._hasParentSelector)for(var pe=0;pe<vt.length;pe++){var xe=vt[pe];if(xe&&xe.isParentSelector){var ut=Te._trace(xe.expr,L,xe.path,Q,te,Re,ne);if(Array.isArray(ut)){vt[pe]=ut[0];for(var be=ut.length,ce=1;ce<be;ce++)pe++,vt.splice(pe,0,ut[ce])}else vt[pe]=ut}}return vt},E.prototype._walk=function(I,L,D,Q,te,Re,ne,Fe){if(Array.isArray(D))for(var rt=D.length,Te=0;Te<rt;Te++)Fe(Te,I,L,D,Q,te,Re,ne);else D&&"object"===M(D)&&Object.keys(D).forEach(function(tt){Fe(tt,I,L,D,Q,te,Re,ne)})},E.prototype._slice=function(I,L,D,Q,te,Re,ne){if(Array.isArray(D)){var Fe=D.length,rt=I.split(":"),Te=rt[2]&&Number.parseInt(rt[2])||1,tt=rt[0]&&Number.parseInt(rt[0])||0,Qe=rt[1]&&Number.parseInt(rt[1])||Fe;tt=tt<0?Math.max(0,tt+Fe):Math.min(Fe,tt),Qe=Qe<0?Math.max(0,Qe+Fe):Math.min(Fe,Qe);for(var vt=[],et=tt;et<Qe;et+=Te)this._trace(x(et,L),D,Q,te,Re,ne,!0).forEach(function(it){vt.push(it)});return vt}},E.prototype._eval=function(I,L,D,Q,te,Re){if(!this._obj||!L)return!1;I.includes("@parentProperty")&&(this.currSandbox._$_parentProperty=Re,I=I.replace(/@parentProperty/g,"_$_parentProperty")),I.includes("@parent")&&(this.currSandbox._$_parent=te,I=I.replace(/@parent/g,"_$_parent")),I.includes("@property")&&(this.currSandbox._$_property=D,I=I.replace(/@property/g,"_$_property")),I.includes("@path")&&(this.currSandbox._$_path=E.toPathString(Q.concat([D])),I=I.replace(/@path/g,"_$_path")),I.includes("@root")&&(this.currSandbox._$_root=this.json,I=I.replace(/@root/g,"_$_root")),I.match(/@([\t-\r \)\.\[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF])/)&&(this.currSandbox._$_v=L,I=I.replace(/@([\t-\r \)\.\[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF])/g,"_$_v$1"));try{return _e.runInNewContext(I,this.currSandbox)}catch(ne){throw console.log(ne),new Error("jsonPath: "+ne.message+": "+I)}},E.cache={},E.toPathString=function(I){for(var L=I,D=L.length,Q="$",te=1;te<D;te++)/^(~|\^|@(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?\(\))$/.test(L[te])||(Q+=/^[\*0-9]+$/.test(L[te])?"["+L[te]+"]":"['"+L[te]+"']");return Q},E.toPointer=function(I){for(var L=I,D=L.length,Q="",te=1;te<D;te++)/^(~|\^|@(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?\(\))$/.test(L[te])||(Q+="/"+L[te].toString().replace(/~/g,"~0").replace(/\//g,"~1"));return Q},E.toPathArray=function(I){var L=E.cache;if(L[I])return L[I].concat();var D=[],te=I.replace(/@(?:null|boolean|number|string|integer|undefined|nonFinite|scalar|array|object|function|other)\(\)/g,";$&;").replace(/['\[](\??\((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?\))['\]]/g,function(Re,ne){return"[#"+(D.push(ne)-1)+"]"}).replace(/\['((?:[\0-&\(-\\\^-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)'\]/g,function(Re,ne){return"['"+ne.replace(/\./g,"%@%").replace(/~/g,"%%@@%%")+"']"}).replace(/~/g,";~;").replace(/'?\.'?(?!(?:[\0-Z\\-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*\])|\['?/g,";").replace(/%@%/g,".").replace(/%%@@%%/g,"~").replace(/(?:;)?(\^+)(?:;)?/g,function(Re,ne){return";"+ne.split("").join(";")+";"}).replace(/;;;|;;/g,";..;").replace(/;$|'?\]|'$/g,"").split(";").map(function(Re){var ne=Re.match(/#([0-9]+)/);return ne&&ne[1]?D[ne[1]]:Re});return L[I]=te,L[I]}},57726:fe=>{fe.exports=function V(S){return!!S&&"object"==typeof S}},80464:(fe,V)=>{function M(g){return g.replace(/[-[\]/{}()*+?.\\^$]/g,"\\$&")}function K(g,_){var O=(void 0===_?{}:_).decimalMark,j=void 0===O?".":O;if("number"==typeof g)return g.toString();if("string"!=typeof g)return"NaN";var v=M(j),b=g.trim(),G=b.match(/^\(.*\)$|^-/),z=new RegExp("[^\\d"+v+"]|"+v+"(?=.*"+v+")|^\\D*"+v+"\\D*$","g");return""===(b=b.replace(z,"").replace(j,"."))?b="NaN":G&&(b="-"+b),b}V.He=void 0,V.He=function B(g,_){var O=(void 0===_?{}:_).decimalMark,v=K(g,{decimalMark:void 0===O?".":O});return"NaN"===v?NaN:Number(v)}},71856:fe=>{var V=Object.getOwnPropertySymbols,S=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable;fe.exports=function B(){try{if(!Object.assign)return!1;var r=new String("abc");if(r[5]="de","5"===Object.getOwnPropertyNames(r)[0])return!1;for(var y={},f=0;f<10;f++)y["_"+String.fromCharCode(f)]=f;if("0123456789"!==Object.getOwnPropertyNames(y).map(function(P){return y[P]}).join(""))return!1;var _={};return"abcdefghijklmnopqrst".split("").forEach(function(P){_[P]=P}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},_)).join("")}catch{return!1}}()?Object.assign:function(r,y){for(var f,_,g=function K(r){if(null==r)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(r)}(r),P=1;P<arguments.length;P++){for(var O in f=Object(arguments[P]))S.call(f,O)&&(g[O]=f[O]);if(V){_=V(f);for(var j=0;j<_.length;j++)M.call(f,_[j])&&(g[_[j]]=f[_[j]])}}return g}},28597:(fe,V,S)=>{var M="function"==typeof Map&&Map.prototype,K=Object.getOwnPropertyDescriptor&&M?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,B=M&&K&&"function"==typeof K.get?K.get:null,r=M&&Map.prototype.forEach,y="function"==typeof Set&&Set.prototype,f=Object.getOwnPropertyDescriptor&&y?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,g=y&&f&&"function"==typeof f.get?f.get:null,_=y&&Set.prototype.forEach,O="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,v="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,G="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,z=Boolean.prototype.valueOf,H=Object.prototype.toString,ee=Function.prototype.toString,U=String.prototype.match,W=String.prototype.slice,Y=String.prototype.replace,ae=String.prototype.toUpperCase,ve=String.prototype.toLowerCase,_e=RegExp.prototype.test,he=Array.prototype.concat,x=Array.prototype.join,R=Array.prototype.slice,E=Math.floor,I="function"==typeof BigInt?BigInt.prototype.valueOf:null,L=Object.getOwnPropertySymbols,D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,Q="function"==typeof Symbol&&"object"==typeof Symbol.iterator,te="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol,1)?Symbol.toStringTag:null,Re=Object.prototype.propertyIsEnumerable,ne=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(_t){return _t.__proto__}:null);function Fe(_t,Pt){if(_t===1/0||_t===-1/0||_t!=_t||_t&&_t>-1e3&&_t<1e3||_e.call(/e/,Pt))return Pt;var Pn=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof _t){var zn=_t<0?-E(-_t):E(_t);if(zn!==_t){var Cn=String(zn),cn=W.call(Pt,Cn.length+1);return Y.call(Cn,Pn,"$&_")+"."+Y.call(Y.call(cn,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Y.call(Pt,Pn,"$&_")}var rt=S(24654),Te=rt.custom,tt=Ne(Te)?Te:null;function Qe(_t,Pt,Pn){var zn="double"===(Pn.quoteStyle||Pt)?'"':"'";return zn+_t+zn}function vt(_t){return Y.call(String(_t),/"/g,""")}function et(_t){return!("[object Array]"!==be(_t)||te&&"object"==typeof _t&&te in _t)}function it(_t){return!("[object RegExp]"!==be(_t)||te&&"object"==typeof _t&&te in _t)}function Ne(_t){if(Q)return _t&&"object"==typeof _t&&_t instanceof Symbol;if("symbol"==typeof _t)return!0;if(!_t||"object"!=typeof _t||!D)return!1;try{return D.call(_t),!0}catch{}return!1}fe.exports=function _t(Pt,Pn,zn,Cn){var cn=Pn||{};if(ut(cn,"quoteStyle")&&"single"!==cn.quoteStyle&&"double"!==cn.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(ut(cn,"maxStringLength")&&("number"==typeof cn.maxStringLength?cn.maxStringLength<0&&cn.maxStringLength!==1/0:null!==cn.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var Fr=!ut(cn,"customInspect")||cn.customInspect;if("boolean"!=typeof Fr&&"symbol"!==Fr)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(ut(cn,"indent")&&null!==cn.indent&&"\t"!==cn.indent&&!(parseInt(cn.indent,10)===cn.indent&&cn.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(ut(cn,"numericSeparator")&&"boolean"!=typeof cn.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var lr=cn.numericSeparator;if(typeof Pt>"u")return"undefined";if(null===Pt)return"null";if("boolean"==typeof Pt)return Pt?"true":"false";if("string"==typeof Pt)return Xt(Pt,cn);if("number"==typeof Pt){if(0===Pt)return 1/0/Pt>0?"0":"-0";var wn=String(Pt);return lr?Fe(Pt,wn):wn}if("bigint"==typeof Pt){var kr=String(Pt)+"n";return lr?Fe(Pt,kr):kr}var Qn=typeof cn.depth>"u"?5:cn.depth;if(typeof zn>"u"&&(zn=0),zn>=Qn&&Qn>0&&"object"==typeof Pt)return et(Pt)?"[Array]":"[Object]";var Vi=function Qt(_t,Pt){var Pn;if("\t"===_t.indent)Pn="\t";else{if(!("number"==typeof _t.indent&&_t.indent>0))return null;Pn=x.call(Array(_t.indent+1)," ")}return{base:Pn,prev:x.call(Array(Pt+1),Pn)}}(cn,zn);if(typeof Cn>"u")Cn=[];else if(le(Cn,Pt)>=0)return"[Circular]";function Xr(di,da,mr){if(da&&(Cn=R.call(Cn)).push(da),mr){var Sa={depth:cn.depth};return ut(cn,"quoteStyle")&&(Sa.quoteStyle=cn.quoteStyle),_t(di,Sa,zn+1,Cn)}return _t(di,cn,zn+1,Cn)}if("function"==typeof Pt&&!it(Pt)){var Lr=function ce(_t){if(_t.name)return _t.name;var Pt=U.call(ee.call(_t),/^function\s*([\w$]+)/);return Pt?Pt[1]:null}(Pt),ci=ki(Pt,Xr);return"[Function"+(Lr?": "+Lr:" (anonymous)")+"]"+(ci.length>0?" { "+x.call(ci,", ")+" }":"")}if(Ne(Pt)){var Ba=Q?Y.call(String(Pt),/^(Symbol\(.*\))_[^)]*$/,"$1"):D.call(Pt);return"object"!=typeof Pt||Q?Ba:Un(Ba)}if(function un(_t){return!(!_t||"object"!=typeof _t)&&(typeof HTMLElement<"u"&&_t instanceof HTMLElement||"string"==typeof _t.nodeName&&"function"==typeof _t.getAttribute)}(Pt)){for(var zi="<"+ve.call(String(Pt.nodeName)),Za=Pt.attributes||[],Gi=0;Gi<Za.length;Gi++)zi+=" "+Za[Gi].name+"="+Qe(vt(Za[Gi].value),"double",cn);return zi+=">",Pt.childNodes&&Pt.childNodes.length&&(zi+="..."),zi+"</"+ve.call(String(Pt.nodeName))+">"}if(et(Pt)){if(0===Pt.length)return"[]";var Ri=ki(Pt,Xr);return Vi&&!function ar(_t){for(var Pt=0;Pt<_t.length;Pt++)if(le(_t[Pt],"\n")>=0)return!1;return!0}(Ri)?"["+ba(Ri,Vi)+"]":"[ "+x.call(Ri,", ")+" ]"}if(function de(_t){return!("[object Error]"!==be(_t)||te&&"object"==typeof _t&&te in _t)}(Pt)){var Hi=ki(Pt,Xr);return"cause"in Error.prototype||!("cause"in Pt)||Re.call(Pt,"cause")?0===Hi.length?"["+String(Pt)+"]":"{ ["+String(Pt)+"] "+x.call(Hi,", ")+" }":"{ ["+String(Pt)+"] "+x.call(he.call("[cause]: "+Xr(Pt.cause),Hi),", ")+" }"}if("object"==typeof Pt&&Fr){if(tt&&"function"==typeof Pt[tt]&&rt)return rt(Pt,{depth:Qn-zn});if("symbol"!==Fr&&"function"==typeof Pt.inspect)return Pt.inspect()}if(function Ie(_t){if(!B||!_t||"object"!=typeof _t)return!1;try{B.call(_t);try{g.call(_t)}catch{return!0}return _t instanceof Map}catch{}return!1}(Pt)){var Ca=[];return r&&r.call(Pt,function(di,da){Ca.push(Xr(da,Pt,!0)+" => "+Xr(di,Pt))}),Br("Map",B.call(Pt),Ca,Vi)}if(function Vt(_t){if(!g||!_t||"object"!=typeof _t)return!1;try{g.call(_t);try{B.call(_t)}catch{return!0}return _t instanceof Set}catch{}return!1}(Pt)){var Di=[];return _&&_.call(Pt,function(di){Di.push(Xr(di,Pt))}),Br("Set",g.call(Pt),Di,Vi)}if(function at(_t){if(!O||!_t||"object"!=typeof _t)return!1;try{O.call(_t,O);try{v.call(_t,v)}catch{return!0}return _t instanceof WeakMap}catch{}return!1}(Pt))return De("WeakMap");if(function zt(_t){if(!v||!_t||"object"!=typeof _t)return!1;try{v.call(_t,v);try{O.call(_t,O)}catch{return!0}return _t instanceof WeakSet}catch{}return!1}(Pt))return De("WeakSet");if(function Tt(_t){if(!G||!_t||"object"!=typeof _t)return!1;try{return G.call(_t),!0}catch{}return!1}(Pt))return De("WeakRef");if(function oe(_t){return!("[object Number]"!==be(_t)||te&&"object"==typeof _t&&te in _t)}(Pt))return Un(Xr(Number(Pt)));if(function pe(_t){if(!_t||"object"!=typeof _t||!I)return!1;try{return I.call(_t),!0}catch{}return!1}(Pt))return Un(Xr(I.call(Pt)));if(function Ae(_t){return!("[object Boolean]"!==be(_t)||te&&"object"==typeof _t&&te in _t)}(Pt))return Un(z.call(Pt));if(function J(_t){return!("[object String]"!==be(_t)||te&&"object"==typeof _t&&te in _t)}(Pt))return Un(Xr(String(Pt)));if(!function je(_t){return!("[object Date]"!==be(_t)||te&&"object"==typeof _t&&te in _t)}(Pt)&&!it(Pt)){var Ti=ki(Pt,Xr),hi=ne?ne(Pt)===Object.prototype:Pt instanceof Object||Pt.constructor===Object,Qr=Pt instanceof Object?"":"null prototype",fr=!hi&&te&&Object(Pt)===Pt&&te in Pt?W.call(be(Pt),8,-1):Qr?"Object":"",wa=(hi||"function"!=typeof Pt.constructor?"":Pt.constructor.name?Pt.constructor.name+" ":"")+(fr||Qr?"["+x.call(he.call([],fr||[],Qr||[]),": ")+"] ":"");return 0===Ti.length?wa+"{}":Vi?wa+"{"+ba(Ti,Vi)+"}":wa+"{ "+x.call(Ti,", ")+" }"}return String(Pt)};var xe=Object.prototype.hasOwnProperty||function(_t){return _t in this};function ut(_t,Pt){return xe.call(_t,Pt)}function be(_t){return H.call(_t)}function le(_t,Pt){if(_t.indexOf)return _t.indexOf(Pt);for(var Pn=0,zn=_t.length;Pn<zn;Pn++)if(_t[Pn]===Pt)return Pn;return-1}function Xt(_t,Pt){if(_t.length>Pt.maxStringLength){var Pn=_t.length-Pt.maxStringLength,zn="... "+Pn+" more character"+(Pn>1?"s":"");return Xt(W.call(_t,0,Pt.maxStringLength),Pt)+zn}return Qe(Y.call(Y.call(_t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Kn),"single",Pt)}function Kn(_t){var Pt=_t.charCodeAt(0),Pn={8:"b",9:"t",10:"n",12:"f",13:"r"}[Pt];return Pn?"\\"+Pn:"\\x"+(Pt<16?"0":"")+ae.call(Pt.toString(16))}function Un(_t){return"Object("+_t+")"}function De(_t){return _t+" { ? }"}function Br(_t,Pt,Pn,zn){return _t+" ("+Pt+") {"+(zn?ba(Pn,zn):x.call(Pn,", "))+"}"}function ba(_t,Pt){if(0===_t.length)return"";var Pn="\n"+Pt.prev+Pt.base;return Pn+x.call(_t,","+Pn)+"\n"+Pt.prev}function ki(_t,Pt){var Pn=et(_t),zn=[];if(Pn){zn.length=_t.length;for(var Cn=0;Cn<_t.length;Cn++)zn[Cn]=ut(_t,Cn)?Pt(_t[Cn],_t):""}var Fr,cn="function"==typeof L?L(_t):[];if(Q){Fr={};for(var lr=0;lr<cn.length;lr++)Fr["$"+cn[lr]]=cn[lr]}for(var wn in _t)ut(_t,wn)&&(Pn&&String(Number(wn))===wn&&wn<_t.length||Q&&Fr["$"+wn]instanceof Symbol||(_e.call(/[^\w$]/,wn)?zn.push(Pt(wn,_t)+": "+Pt(_t[wn],_t)):zn.push(wn+": "+Pt(_t[wn],_t))));if("function"==typeof L)for(var kr=0;kr<cn.length;kr++)Re.call(_t,cn[kr])&&zn.push("["+Pt(cn[kr])+"]: "+Pt(_t[cn[kr]],_t));return zn}},72578:function(fe){fe.exports=function(V){var S={};function M(K){if(S[K])return S[K].exports;var B=S[K]={i:K,l:!1,exports:{}};return V[K].call(B.exports,B,B.exports,M),B.l=!0,B.exports}return M.m=V,M.c=S,M.d=function(K,B,r){M.o(K,B)||Object.defineProperty(K,B,{enumerable:!0,get:r})},M.r=function(K){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(K,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(K,"__esModule",{value:!0})},M.t=function(K,B){if(1&B&&(K=M(K)),8&B||4&B&&"object"==typeof K&&K&&K.__esModule)return K;var r=Object.create(null);if(M.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:K}),2&B&&"string"!=typeof K)for(var y in K)M.d(r,y,function(f){return K[f]}.bind(null,y));return r},M.n=function(K){var B=K&&K.__esModule?function(){return K.default}:function(){return K};return M.d(B,"a",B),B},M.o=function(K,B){return Object.prototype.hasOwnProperty.call(K,B)},M.p="",M(M.s=22)}([function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0});var K=function(){function f(g,_){for(var P=0;P<_.length;P++){var O=_[P];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(g,O.key,O)}}return function(g,_,P){return _&&f(g.prototype,_),P&&f(g,P),g}}(),B={debug:function(){},info:function(){},warn:function(){},error:function(){}},r=void 0,y=void 0;(S.Log=function(){function f(){!function(_,P){if(!(_ instanceof P))throw new TypeError("Cannot call a class as a function")}(this,f)}return f.reset=function(){y=3,r=B},f.debug=function(){if(y>=4){for(var _=arguments.length,P=Array(_),O=0;O<_;O++)P[O]=arguments[O];r.debug.apply(r,Array.from(P))}},f.info=function(){if(y>=3){for(var _=arguments.length,P=Array(_),O=0;O<_;O++)P[O]=arguments[O];r.info.apply(r,Array.from(P))}},f.warn=function(){if(y>=2){for(var _=arguments.length,P=Array(_),O=0;O<_;O++)P[O]=arguments[O];r.warn.apply(r,Array.from(P))}},f.error=function(){if(y>=1){for(var _=arguments.length,P=Array(_),O=0;O<_;O++)P[O]=arguments[O];r.error.apply(r,Array.from(P))}},K(f,null,[{key:"NONE",get:function(){return 0}},{key:"ERROR",get:function(){return 1}},{key:"WARN",get:function(){return 2}},{key:"INFO",get:function(){return 3}},{key:"DEBUG",get:function(){return 4}},{key:"level",get:function(){return y},set:function(_){if(!(0<=_&&_<=4))throw new Error("Invalid log level");y=_}},{key:"logger",get:function(){return r},set:function(_){if(!_.debug&&_.info&&(_.debug=_.info),!(_.debug&&_.info&&_.warn&&_.error))throw new Error("Invalid logger");r=_}}]),f}()).reset()},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0});var K=function(){function f(g,_){for(var P=0;P<_.length;P++){var O=_[P];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(g,O.key,O)}}return function(g,_,P){return _&&f(g.prototype,_),P&&f(g,P),g}}(),B={setInterval:function(f){function g(_,P){return f.apply(this,arguments)}return g.toString=function(){return f.toString()},g}(function(f,g){return setInterval(f,g)}),clearInterval:function(f){function g(_){return f.apply(this,arguments)}return g.toString=function(){return f.toString()},g}(function(f){return clearInterval(f)})},r=!1,y=null;S.Global=function(){function f(){!function(_,P){if(!(_ instanceof P))throw new TypeError("Cannot call a class as a function")}(this,f)}return f._testing=function(){r=!0},f.setXMLHttpRequest=function(_){y=_},K(f,null,[{key:"location",get:function(){if(!r)return location}},{key:"localStorage",get:function(){if(!r&&typeof window<"u")return localStorage}},{key:"sessionStorage",get:function(){if(!r&&typeof window<"u")return sessionStorage}},{key:"XMLHttpRequest",get:function(){if(!r&&typeof window<"u")return y||XMLHttpRequest}},{key:"timer",get:function(){if(!r)return B}}]),f}()},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.MetadataService=void 0;var K=function(){function g(_,P){for(var O=0;O<P.length;O++){var j=P[O];j.enumerable=j.enumerable||!1,j.configurable=!0,"value"in j&&(j.writable=!0),Object.defineProperty(_,j.key,j)}}return function(_,P,O){return P&&g(_.prototype,P),O&&g(_,O),_}}(),B=M(0),r=M(7);var f=".well-known/openid-configuration";S.MetadataService=function(){function g(_){var P=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.JsonService;if(function y(g,_){if(!(g instanceof _))throw new TypeError("Cannot call a class as a function")}(this,g),!_)throw B.Log.error("MetadataService: No settings passed to MetadataService"),new Error("settings");this._settings=_,this._jsonService=new P(["application/jwk-set+json"])}return g.prototype.resetSigningKeys=function(){this._settings=this._settings||{},this._settings.signingKeys=void 0},g.prototype.getMetadata=function(){var P=this;return this._settings.metadata?(B.Log.debug("MetadataService.getMetadata: Returning metadata from settings"),Promise.resolve(this._settings.metadata)):this.metadataUrl?(B.Log.debug("MetadataService.getMetadata: getting metadata from",this.metadataUrl),this._jsonService.getJson(this.metadataUrl).then(function(O){return B.Log.debug("MetadataService.getMetadata: json received"),P._settings.metadata=Object.assign({},P._settings.metadataSeed||{},O),P._settings.metadata})):(B.Log.error("MetadataService.getMetadata: No authority or metadataUrl configured on settings"),Promise.reject(new Error("No authority or metadataUrl configured on settings")))},g.prototype.getIssuer=function(){return this._getMetadataProperty("issuer")},g.prototype.getAuthorizationEndpoint=function(){return this._getMetadataProperty("authorization_endpoint")},g.prototype.getUserInfoEndpoint=function(){return this._getMetadataProperty("userinfo_endpoint")},g.prototype.getTokenEndpoint=function(){return this._getMetadataProperty("token_endpoint",!(arguments.length>0&&void 0!==arguments[0])||arguments[0])},g.prototype.getCheckSessionIframe=function(){return this._getMetadataProperty("check_session_iframe",!0)},g.prototype.getEndSessionEndpoint=function(){return this._getMetadataProperty("end_session_endpoint",!0)},g.prototype.getRevocationEndpoint=function(){return this._getMetadataProperty("revocation_endpoint",!0)},g.prototype.getKeysEndpoint=function(){return this._getMetadataProperty("jwks_uri",!0)},g.prototype._getMetadataProperty=function(P){var O=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return B.Log.debug("MetadataService.getMetadataProperty for: "+P),this.getMetadata().then(function(j){if(B.Log.debug("MetadataService.getMetadataProperty: metadata recieved"),void 0===j[P]){if(!0===O)return void B.Log.warn("MetadataService.getMetadataProperty: Metadata does not contain optional property "+P);throw B.Log.error("MetadataService.getMetadataProperty: Metadata does not contain property "+P),new Error("Metadata does not contain property "+P)}return j[P]})},g.prototype.getSigningKeys=function(){var P=this;return this._settings.signingKeys?(B.Log.debug("MetadataService.getSigningKeys: Returning signingKeys from settings"),Promise.resolve(this._settings.signingKeys)):this._getMetadataProperty("jwks_uri").then(function(O){return B.Log.debug("MetadataService.getSigningKeys: jwks_uri received",O),P._jsonService.getJson(O).then(function(j){if(B.Log.debug("MetadataService.getSigningKeys: key set received",j),!j.keys)throw B.Log.error("MetadataService.getSigningKeys: Missing keys on keyset"),new Error("Missing keys on keyset");return P._settings.signingKeys=j.keys,P._settings.signingKeys})})},K(g,[{key:"metadataUrl",get:function(){return this._metadataUrl||(this._settings.metadataUrl?this._metadataUrl=this._settings.metadataUrl:(this._metadataUrl=this._settings.authority,this._metadataUrl&&this._metadataUrl.indexOf(f)<0&&("/"!==this._metadataUrl[this._metadataUrl.length-1]&&(this._metadataUrl+="/"),this._metadataUrl+=f))),this._metadataUrl}}]),g}()},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.UrlUtility=void 0;var K=M(0),B=M(1);S.UrlUtility=function(){function r(){!function(f,g){if(!(f instanceof g))throw new TypeError("Cannot call a class as a function")}(this,r)}return r.addQueryParam=function(f,g,_){return f.indexOf("?")<0&&(f+="?"),"?"!==f[f.length-1]&&(f+="&"),f+=encodeURIComponent(g),(f+="=")+encodeURIComponent(_)},r.parseUrlFragment=function(f){var g=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#";"string"!=typeof f&&(f=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:B.Global).location.href);var P=f.lastIndexOf(g);P>=0&&(f=f.substr(P+1)),"?"===g&&(P=f.indexOf("#"))>=0&&(f=f.substr(0,P));for(var O,j={},v=/([^&=]+)=([^&]*)/g,b=0;O=v.exec(f);)if(j[decodeURIComponent(O[1])]=decodeURIComponent(O[2].replace(/\+/g," ")),b++>50)return K.Log.error("UrlUtility.parseUrlFragment: response exceeded expected number of parameters",f),{error:"Response exceeded expected number of parameters"};for(var G in j)return j;return{}},r}()},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.JoseUtil=void 0;var y,K=M(26),B=(y=M(33))&&y.__esModule?y:{default:y};S.JoseUtil=(0,B.default)({jws:K.jws,KeyUtil:K.KeyUtil,X509:K.X509,crypto:K.crypto,hextob64u:K.hextob64u,b64tohex:K.b64tohex,AllowedSigningAlgs:K.AllowedSigningAlgs})},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.OidcClientSettings=void 0;var K="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(G){return typeof G}:function(G){return G&&"function"==typeof Symbol&&G.constructor===Symbol&&G!==Symbol.prototype?"symbol":typeof G},B=function(){function G(z,H){for(var ee=0;ee<H.length;ee++){var U=H[ee];U.enumerable=U.enumerable||!1,U.configurable=!0,"value"in U&&(U.writable=!0),Object.defineProperty(z,U.key,U)}}return function(z,H,ee){return H&&G(z.prototype,H),ee&&G(z,ee),z}}(),r=M(0),y=M(23),f=M(6),g=M(24),_=M(2);var O=".well-known/openid-configuration";S.OidcClientSettings=function(){function G(){var z=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},H=z.authority,ee=z.metadataUrl,U=z.metadata,W=z.signingKeys,Y=z.metadataSeed,ae=z.client_id,ve=z.client_secret,_e=z.response_type,he=void 0===_e?"id_token":_e,x=z.scope,R=void 0===x?"openid":x,E=z.redirect_uri,I=z.post_logout_redirect_uri,L=z.client_authentication,D=void 0===L?"client_secret_post":L,Q=z.prompt,te=z.display,Re=z.max_age,ne=z.ui_locales,Fe=z.acr_values,rt=z.resource,Te=z.response_mode,tt=z.filterProtocolClaims,Qe=void 0===tt||tt,vt=z.loadUserInfo,et=void 0===vt||vt,je=z.staleStateAge,it=void 0===je?900:je,de=z.clockSkew,J=void 0===de?300:de,oe=z.clockService,Ae=void 0===oe?new y.ClockService:oe,Ne=z.userInfoJwtIssuer,pe=void 0===Ne?"OP":Ne,xe=z.mergeClaims,ut=void 0!==xe&&xe,be=z.stateStore,ce=void 0===be?new f.WebStorageStateStore:be,le=z.ResponseValidatorCtor,Ie=void 0===le?g.ResponseValidator:le,at=z.MetadataServiceCtor,Tt=void 0===at?_.MetadataService:at,Vt=z.extraQueryParams,zt=void 0===Vt?{}:Vt,un=z.extraTokenParams,Xt=void 0===un?{}:un;(function P(G,z){if(!(G instanceof z))throw new TypeError("Cannot call a class as a function")})(this,G),this._authority=H,this._metadataUrl=ee,this._metadata=U,this._metadataSeed=Y,this._signingKeys=W,this._client_id=ae,this._client_secret=ve,this._response_type=he,this._scope=R,this._redirect_uri=E,this._post_logout_redirect_uri=I,this._client_authentication=D,this._prompt=Q,this._display=te,this._max_age=Re,this._ui_locales=ne,this._acr_values=Fe,this._resource=rt,this._response_mode=Te,this._filterProtocolClaims=!!Qe,this._loadUserInfo=!!et,this._staleStateAge=it,this._clockSkew=J,this._clockService=Ae,this._userInfoJwtIssuer=pe,this._mergeClaims=!!ut,this._stateStore=ce,this._validator=new Ie(this),this._metadataService=new Tt(this),this._extraQueryParams="object"===(void 0===zt?"undefined":K(zt))?zt:{},this._extraTokenParams="object"===(void 0===Xt?"undefined":K(Xt))?Xt:{}}return G.prototype.getEpochTime=function(){return this._clockService.getEpochTime()},B(G,[{key:"client_id",get:function(){return this._client_id},set:function(H){if(this._client_id)throw r.Log.error("OidcClientSettings.set_client_id: client_id has already been assigned."),new Error("client_id has already been assigned.");this._client_id=H}},{key:"client_secret",get:function(){return this._client_secret}},{key:"response_type",get:function(){return this._response_type}},{key:"scope",get:function(){return this._scope}},{key:"redirect_uri",get:function(){return this._redirect_uri}},{key:"post_logout_redirect_uri",get:function(){return this._post_logout_redirect_uri}},{key:"client_authentication",get:function(){return this._client_authentication}},{key:"prompt",get:function(){return this._prompt}},{key:"display",get:function(){return this._display}},{key:"max_age",get:function(){return this._max_age}},{key:"ui_locales",get:function(){return this._ui_locales}},{key:"acr_values",get:function(){return this._acr_values}},{key:"resource",get:function(){return this._resource}},{key:"response_mode",get:function(){return this._response_mode}},{key:"authority",get:function(){return this._authority},set:function(H){if(this._authority)throw r.Log.error("OidcClientSettings.set_authority: authority has already been assigned."),new Error("authority has already been assigned.");this._authority=H}},{key:"metadataUrl",get:function(){return this._metadataUrl||(this._metadataUrl=this.authority,this._metadataUrl&&this._metadataUrl.indexOf(O)<0&&("/"!==this._metadataUrl[this._metadataUrl.length-1]&&(this._metadataUrl+="/"),this._metadataUrl+=O)),this._metadataUrl}},{key:"metadata",get:function(){return this._metadata},set:function(H){this._metadata=H}},{key:"metadataSeed",get:function(){return this._metadataSeed},set:function(H){this._metadataSeed=H}},{key:"signingKeys",get:function(){return this._signingKeys},set:function(H){this._signingKeys=H}},{key:"filterProtocolClaims",get:function(){return this._filterProtocolClaims}},{key:"loadUserInfo",get:function(){return this._loadUserInfo}},{key:"staleStateAge",get:function(){return this._staleStateAge}},{key:"clockSkew",get:function(){return this._clockSkew}},{key:"userInfoJwtIssuer",get:function(){return this._userInfoJwtIssuer}},{key:"mergeClaims",get:function(){return this._mergeClaims}},{key:"stateStore",get:function(){return this._stateStore}},{key:"validator",get:function(){return this._validator}},{key:"metadataService",get:function(){return this._metadataService}},{key:"extraQueryParams",get:function(){return this._extraQueryParams},set:function(H){this._extraQueryParams="object"===(void 0===H?"undefined":K(H))?H:{}}},{key:"extraTokenParams",get:function(){return this._extraTokenParams},set:function(H){this._extraTokenParams="object"===(void 0===H?"undefined":K(H))?H:{}}}]),G}()},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.WebStorageStateStore=void 0;var K=M(0),B=M(1);S.WebStorageStateStore=function(){function y(){var f=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},g=f.prefix,_=void 0===g?"oidc.":g,P=f.store,O=void 0===P?B.Global.localStorage:P;(function r(y,f){if(!(y instanceof f))throw new TypeError("Cannot call a class as a function")})(this,y),this._store=O,this._prefix=_}return y.prototype.set=function(g,_){return K.Log.debug("WebStorageStateStore.set",g),this._store.setItem(g=this._prefix+g,_),Promise.resolve()},y.prototype.get=function(g){K.Log.debug("WebStorageStateStore.get",g);var _=this._store.getItem(g=this._prefix+g);return Promise.resolve(_)},y.prototype.remove=function(g){K.Log.debug("WebStorageStateStore.remove",g);var _=this._store.getItem(g=this._prefix+g);return this._store.removeItem(g),Promise.resolve(_)},y.prototype.getAllKeys=function(){K.Log.debug("WebStorageStateStore.getAllKeys");for(var g=[],_=0;_<this._store.length;_++){var P=this._store.key(_);0===P.indexOf(this._prefix)&&g.push(P.substr(this._prefix.length))}return Promise.resolve(g)},y}()},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.JsonService=void 0;var K=M(0),B=M(1);S.JsonService=function(){function y(){var f=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,g=arguments.length>1&&void 0!==arguments[1]?arguments[1]:B.Global.XMLHttpRequest,_=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;(function r(y,f){if(!(y instanceof f))throw new TypeError("Cannot call a class as a function")})(this,y),this._contentTypes=f&&Array.isArray(f)?f.slice():[],this._contentTypes.push("application/json"),_&&this._contentTypes.push("application/jwt"),this._XMLHttpRequest=g,this._jwtHandler=_}return y.prototype.getJson=function(g,_){var P=this;if(!g)throw K.Log.error("JsonService.getJson: No url passed"),new Error("url");return K.Log.debug("JsonService.getJson, url: ",g),new Promise(function(O,j){var v=new P._XMLHttpRequest;v.open("GET",g);var b=P._contentTypes,G=P._jwtHandler;v.onload=function(){if(K.Log.debug("JsonService.getJson: HTTP response received, status",v.status),200===v.status){var z=v.getResponseHeader("Content-Type");if(z){var H=b.find(function(ee){if(z.startsWith(ee))return!0});if("application/jwt"==H)return void G(v).then(O,j);if(H)try{return void O(JSON.parse(v.responseText))}catch(ee){return K.Log.error("JsonService.getJson: Error parsing JSON response",ee.message),void j(ee)}}j(Error("Invalid response Content-Type: "+z+", from URL: "+g))}else j(Error(v.statusText+" ("+v.status+")"))},v.onerror=function(){K.Log.error("JsonService.getJson: network error"),j(Error("Network Error"))},_&&(K.Log.debug("JsonService.getJson: token passed, setting Authorization header"),v.setRequestHeader("Authorization","Bearer "+_)),v.send()})},y.prototype.postForm=function(g,_,P){var O=this;if(!g)throw K.Log.error("JsonService.postForm: No url passed"),new Error("url");return K.Log.debug("JsonService.postForm, url: ",g),new Promise(function(j,v){var b=new O._XMLHttpRequest;b.open("POST",g);var G=O._contentTypes;b.onload=function(){if(K.Log.debug("JsonService.postForm: HTTP response received, status",b.status),200!==b.status){if(400===b.status&&(W=b.getResponseHeader("Content-Type"))&&G.find(function(Y){if(W.startsWith(Y))return!0}))try{var U=JSON.parse(b.responseText);if(U&&U.error)return K.Log.error("JsonService.postForm: Error from server: ",U.error),void v(new Error(U.error))}catch(Y){return K.Log.error("JsonService.postForm: Error parsing JSON response",Y.message),void v(Y)}v(Error(b.statusText+" ("+b.status+")"))}else{var W;if((W=b.getResponseHeader("Content-Type"))&&G.find(function(Y){if(W.startsWith(Y))return!0}))try{return void j(JSON.parse(b.responseText))}catch(Y){return K.Log.error("JsonService.postForm: Error parsing JSON response",Y.message),void v(Y)}v(Error("Invalid response Content-Type: "+W+", from URL: "+g))}},b.onerror=function(){K.Log.error("JsonService.postForm: network error"),v(Error("Network Error"))};var z="";for(var H in _){var ee=_[H];ee&&(z.length>0&&(z+="&"),z+=encodeURIComponent(H),z+="=",z+=encodeURIComponent(ee))}b.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),void 0!==P&&b.setRequestHeader("Authorization","Basic "+btoa(P)),b.send(z)})},y}()},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.SigninRequest=void 0;var K=M(0),B=M(3),r=M(13);S.SigninRequest=function(){function y(f){var g=f.url,_=f.client_id,P=f.redirect_uri,O=f.response_type,j=f.scope,v=f.authority,b=f.data,G=f.prompt,z=f.display,H=f.max_age,ee=f.ui_locales,U=f.id_token_hint,W=f.login_hint,Y=f.acr_values,ae=f.resource,ve=f.response_mode,_e=f.request,he=f.request_uri,x=f.extraQueryParams,R=f.request_type,E=f.client_secret,I=f.extraTokenParams,L=f.skipUserInfo;if(function(rt,Te){if(!(rt instanceof Te))throw new TypeError("Cannot call a class as a function")}(this,y),!g)throw K.Log.error("SigninRequest.ctor: No url passed"),new Error("url");if(!_)throw K.Log.error("SigninRequest.ctor: No client_id passed"),new Error("client_id");if(!P)throw K.Log.error("SigninRequest.ctor: No redirect_uri passed"),new Error("redirect_uri");if(!O)throw K.Log.error("SigninRequest.ctor: No response_type passed"),new Error("response_type");if(!j)throw K.Log.error("SigninRequest.ctor: No scope passed"),new Error("scope");if(!v)throw K.Log.error("SigninRequest.ctor: No authority passed"),new Error("authority");var D=y.isOidc(O),Q=y.isCode(O);ve||(ve=y.isCode(O)?"query":null),this.state=new r.SigninState({nonce:D,data:b,client_id:_,authority:v,redirect_uri:P,code_verifier:Q,request_type:R,response_mode:ve,client_secret:E,scope:j,extraTokenParams:I,skipUserInfo:L}),g=B.UrlUtility.addQueryParam(g,"client_id",_),g=B.UrlUtility.addQueryParam(g,"redirect_uri",P),g=B.UrlUtility.addQueryParam(g,"response_type",O),g=B.UrlUtility.addQueryParam(g,"scope",j),g=B.UrlUtility.addQueryParam(g,"state",this.state.id),D&&(g=B.UrlUtility.addQueryParam(g,"nonce",this.state.nonce)),Q&&(g=B.UrlUtility.addQueryParam(g,"code_challenge",this.state.code_challenge),g=B.UrlUtility.addQueryParam(g,"code_challenge_method","S256"));var te={prompt:G,display:z,max_age:H,ui_locales:ee,id_token_hint:U,login_hint:W,acr_values:Y,resource:ae,request:_e,request_uri:he,response_mode:ve};for(var Re in te)te[Re]&&(g=B.UrlUtility.addQueryParam(g,Re,te[Re]));for(var ne in x)g=B.UrlUtility.addQueryParam(g,ne,x[ne]);this.url=g}return y.isOidc=function(g){return!!g.split(/\s+/g).filter(function(_){return"id_token"===_})[0]},y.isOAuth=function(g){return!!g.split(/\s+/g).filter(function(_){return"token"===_})[0]},y.isCode=function(g){return!!g.split(/\s+/g).filter(function(_){return"code"===_})[0]},y}()},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.State=void 0;var g,K=function(){function f(g,_){for(var P=0;P<_.length;P++){var O=_[P];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(g,O.key,O)}}return function(g,_,P){return _&&f(g.prototype,_),P&&f(g,P),g}}(),B=M(0),r=(g=M(14))&&g.__esModule?g:{default:g};S.State=function(){function f(){var g=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},_=g.id,P=g.data,O=g.created,j=g.request_type;(function y(f,g){if(!(f instanceof g))throw new TypeError("Cannot call a class as a function")})(this,f),this._id=_||(0,r.default)(),this._data=P,this._created="number"==typeof O&&O>0?O:parseInt(Date.now()/1e3),this._request_type=j}return f.prototype.toStorageString=function(){return B.Log.debug("State.toStorageString"),JSON.stringify({id:this.id,data:this.data,created:this.created,request_type:this.request_type})},f.fromStorageString=function(_){return B.Log.debug("State.fromStorageString"),new f(JSON.parse(_))},f.clearStaleState=function(_,P){var O=Date.now()/1e3-P;return _.getAllKeys().then(function(j){B.Log.debug("State.clearStaleState: got keys",j);for(var v=[],b=function(ee){var U=j[ee];z=_.get(U).then(function(W){var Y=!1;if(W)try{var ae=f.fromStorageString(W);B.Log.debug("State.clearStaleState: got item from key: ",U,ae.created),ae.created<=O&&(Y=!0)}catch(ve){B.Log.error("State.clearStaleState: Error parsing state for key",U,ve.message),Y=!0}else B.Log.debug("State.clearStaleState: no item in storage for key: ",U),Y=!0;if(Y)return B.Log.debug("State.clearStaleState: removed item for key: ",U),_.remove(U)}),v.push(z)},G=0;G<j.length;G++){var z;b(G)}return B.Log.debug("State.clearStaleState: waiting on promise count:",v.length),Promise.all(v)})},K(f,[{key:"id",get:function(){return this._id}},{key:"data",get:function(){return this._data}},{key:"created",get:function(){return this._created}},{key:"request_type",get:function(){return this._request_type}}]),f}()},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.OidcClient=void 0;var K=function(){function b(G,z){for(var H=0;H<z.length;H++){var ee=z[H];ee.enumerable=ee.enumerable||!1,ee.configurable=!0,"value"in ee&&(ee.writable=!0),Object.defineProperty(G,ee.key,ee)}}return function(G,z,H){return z&&b(G.prototype,z),H&&b(G,H),G}}(),B=M(0),r=M(5),y=M(12),f=M(8),g=M(34),_=M(35),P=M(36),O=M(13),j=M(9);S.OidcClient=function(){function b(){var G=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(function v(b,G){if(!(b instanceof G))throw new TypeError("Cannot call a class as a function")})(this,b),this._settings=G instanceof r.OidcClientSettings?G:new r.OidcClientSettings(G)}return b.prototype.createSigninRequest=function(){var z=this,H=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},ee=H.response_type,U=H.scope,W=H.redirect_uri,Y=H.data,ae=H.state,ve=H.prompt,_e=H.display,he=H.max_age,x=H.ui_locales,R=H.id_token_hint,E=H.login_hint,I=H.acr_values,L=H.resource,D=H.request,Q=H.request_uri,te=H.response_mode,Re=H.extraQueryParams,ne=H.extraTokenParams,Fe=H.request_type,rt=H.skipUserInfo,Te=arguments[1];B.Log.debug("OidcClient.createSigninRequest");var tt=this._settings.client_id;U=U||this._settings.scope,W=W||this._settings.redirect_uri,ve=ve||this._settings.prompt,_e=_e||this._settings.display,he=he||this._settings.max_age,x=x||this._settings.ui_locales,I=I||this._settings.acr_values,L=L||this._settings.resource,te=te||this._settings.response_mode,Re=Re||this._settings.extraQueryParams,ne=ne||this._settings.extraTokenParams;var Qe=this._settings.authority;return f.SigninRequest.isCode(ee=ee||this._settings.response_type)&&"code"!==ee?Promise.reject(new Error("OpenID Connect hybrid flow is not supported")):this._metadataService.getAuthorizationEndpoint().then(function(vt){B.Log.debug("OidcClient.createSigninRequest: Received authorization endpoint",vt);var et=new f.SigninRequest({url:vt,client_id:tt,redirect_uri:W,response_type:ee,scope:U,data:Y||ae,authority:Qe,prompt:ve,display:_e,max_age:he,ui_locales:x,id_token_hint:R,login_hint:E,acr_values:I,resource:L,request:D,request_uri:Q,extraQueryParams:Re,extraTokenParams:ne,request_type:Fe,response_mode:te,client_secret:z._settings.client_secret,skipUserInfo:rt}),je=et.state;return(Te=Te||z._stateStore).set(je.id,je.toStorageString()).then(function(){return et})})},b.prototype.readSigninResponseState=function(z,H){var ee=arguments.length>2&&void 0!==arguments[2]&&arguments[2];B.Log.debug("OidcClient.readSigninResponseState");var U="query"===this._settings.response_mode||!this._settings.response_mode&&f.SigninRequest.isCode(this._settings.response_type),Y=new g.SigninResponse(z,U?"?":"#");return Y.state?(H=H||this._stateStore,(ee?H.remove.bind(H):H.get.bind(H))(Y.state).then(function(ve){if(!ve)throw B.Log.error("OidcClient.readSigninResponseState: No matching state found in storage"),new Error("No matching state found in storage");return{state:O.SigninState.fromStorageString(ve),response:Y}})):(B.Log.error("OidcClient.readSigninResponseState: No state in response"),Promise.reject(new Error("No state in response")))},b.prototype.processSigninResponse=function(z,H){var ee=this;return B.Log.debug("OidcClient.processSigninResponse"),this.readSigninResponseState(z,H,!0).then(function(U){var W=U.state,Y=U.response;return B.Log.debug("OidcClient.processSigninResponse: Received state from storage; validating response"),ee._validator.validateSigninResponse(W,Y)})},b.prototype.createSignoutRequest=function(){var z=this,H=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},ee=H.id_token_hint,U=H.data,W=H.state,Y=H.post_logout_redirect_uri,ae=H.extraQueryParams,ve=H.request_type,_e=arguments[1];return B.Log.debug("OidcClient.createSignoutRequest"),Y=Y||this._settings.post_logout_redirect_uri,ae=ae||this._settings.extraQueryParams,this._metadataService.getEndSessionEndpoint().then(function(he){if(!he)throw B.Log.error("OidcClient.createSignoutRequest: No end session endpoint url returned"),new Error("no end session endpoint");B.Log.debug("OidcClient.createSignoutRequest: Received end session endpoint",he);var x=new _.SignoutRequest({url:he,id_token_hint:ee,post_logout_redirect_uri:Y,data:U||W,extraQueryParams:ae,request_type:ve}),R=x.state;return R&&(B.Log.debug("OidcClient.createSignoutRequest: Signout request has state to persist"),(_e=_e||z._stateStore).set(R.id,R.toStorageString())),x})},b.prototype.readSignoutResponseState=function(z,H){var ee=arguments.length>2&&void 0!==arguments[2]&&arguments[2];B.Log.debug("OidcClient.readSignoutResponseState");var U=new P.SignoutResponse(z);if(!U.state)return B.Log.debug("OidcClient.readSignoutResponseState: No state in response"),U.error?(B.Log.warn("OidcClient.readSignoutResponseState: Response was error: ",U.error),Promise.reject(new y.ErrorResponse(U))):Promise.resolve({state:void 0,response:U});var W=U.state;return H=H||this._stateStore,(ee?H.remove.bind(H):H.get.bind(H))(W).then(function(ae){if(!ae)throw B.Log.error("OidcClient.readSignoutResponseState: No matching state found in storage"),new Error("No matching state found in storage");return{state:j.State.fromStorageString(ae),response:U}})},b.prototype.processSignoutResponse=function(z,H){var ee=this;return B.Log.debug("OidcClient.processSignoutResponse"),this.readSignoutResponseState(z,H,!0).then(function(U){var W=U.state,Y=U.response;return W?(B.Log.debug("OidcClient.processSignoutResponse: Received state from storage; validating response"),ee._validator.validateSignoutResponse(W,Y)):(B.Log.debug("OidcClient.processSignoutResponse: No state from storage; skipping validating response"),Y)})},b.prototype.clearStaleState=function(z){return B.Log.debug("OidcClient.clearStaleState"),j.State.clearStaleState(z=z||this._stateStore,this.settings.staleStateAge)},K(b,[{key:"_stateStore",get:function(){return this.settings.stateStore}},{key:"_validator",get:function(){return this.settings.validator}},{key:"_metadataService",get:function(){return this.settings.metadataService}},{key:"settings",get:function(){return this._settings}},{key:"metadataService",get:function(){return this._metadataService}}]),b}()},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.TokenClient=void 0;var K=M(7),B=M(2),r=M(0);S.TokenClient=function(){function f(g){var _=arguments.length>1&&void 0!==arguments[1]?arguments[1]:K.JsonService,P=arguments.length>2&&void 0!==arguments[2]?arguments[2]:B.MetadataService;if(function y(f,g){if(!(f instanceof g))throw new TypeError("Cannot call a class as a function")}(this,f),!g)throw r.Log.error("TokenClient.ctor: No settings passed"),new Error("settings");this._settings=g,this._jsonService=new _,this._metadataService=new P(this._settings)}return f.prototype.exchangeCode=function(){var _=this,P=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(P=Object.assign({},P)).grant_type=P.grant_type||"authorization_code",P.client_id=P.client_id||this._settings.client_id,P.client_secret=P.client_secret||this._settings.client_secret,P.redirect_uri=P.redirect_uri||this._settings.redirect_uri;var O=void 0,j=P._client_authentication||this._settings._client_authentication;return delete P._client_authentication,P.code?P.redirect_uri?P.code_verifier?P.client_id?P.client_secret||"client_secret_basic"!=j?("client_secret_basic"==j&&(O=P.client_id+":"+P.client_secret,delete P.client_id,delete P.client_secret),this._metadataService.getTokenEndpoint(!1).then(function(v){return r.Log.debug("TokenClient.exchangeCode: Received token endpoint"),_._jsonService.postForm(v,P,O).then(function(b){return r.Log.debug("TokenClient.exchangeCode: response received"),b})})):(r.Log.error("TokenClient.exchangeCode: No client_secret passed"),Promise.reject(new Error("A client_secret is required"))):(r.Log.error("TokenClient.exchangeCode: No client_id passed"),Promise.reject(new Error("A client_id is required"))):(r.Log.error("TokenClient.exchangeCode: No code_verifier passed"),Promise.reject(new Error("A code_verifier is required"))):(r.Log.error("TokenClient.exchangeCode: No redirect_uri passed"),Promise.reject(new Error("A redirect_uri is required"))):(r.Log.error("TokenClient.exchangeCode: No code passed"),Promise.reject(new Error("A code is required")))},f.prototype.exchangeRefreshToken=function(){var _=this,P=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(P=Object.assign({},P)).grant_type=P.grant_type||"refresh_token",P.client_id=P.client_id||this._settings.client_id,P.client_secret=P.client_secret||this._settings.client_secret;var O=void 0,j=P._client_authentication||this._settings._client_authentication;return delete P._client_authentication,P.refresh_token?P.client_id?("client_secret_basic"==j&&(O=P.client_id+":"+P.client_secret,delete P.client_id,delete P.client_secret),this._metadataService.getTokenEndpoint(!1).then(function(v){return r.Log.debug("TokenClient.exchangeRefreshToken: Received token endpoint"),_._jsonService.postForm(v,P,O).then(function(b){return r.Log.debug("TokenClient.exchangeRefreshToken: response received"),b})})):(r.Log.error("TokenClient.exchangeRefreshToken: No client_id passed"),Promise.reject(new Error("A client_id is required"))):(r.Log.error("TokenClient.exchangeRefreshToken: No refresh_token passed"),Promise.reject(new Error("A refresh_token is required")))},f}()},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.ErrorResponse=void 0;var K=M(0);S.ErrorResponse=function(y){function f(){var g=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},_=g.error,P=g.error_description,O=g.error_uri,j=g.state,v=g.session_state;if(function B(y,f){if(!(y instanceof f))throw new TypeError("Cannot call a class as a function")}(this,f),!_)throw K.Log.error("No error passed to ErrorResponse"),new Error("error");var b=function r(y,f){if(!y)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!f||"object"!=typeof f&&"function"!=typeof f?y:f}(this,y.call(this,P||_));return b.name="ErrorResponse",b.error=_,b.error_description=P,b.error_uri=O,b.state=j,b.session_state=v,b}return function(_,P){if("function"!=typeof P&&null!==P)throw new TypeError("Super expression must either be null or a function, not "+typeof P);_.prototype=Object.create(P&&P.prototype,{constructor:{value:_,enumerable:!1,writable:!0,configurable:!0}}),P&&(Object.setPrototypeOf?Object.setPrototypeOf(_,P):_.__proto__=P)}(f,y),f}(Error)},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.SigninState=void 0;var O,K=function(){function P(O,j){for(var v=0;v<j.length;v++){var b=j[v];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(O,b.key,b)}}return function(O,j,v){return j&&P(O.prototype,j),v&&P(O,v),O}}(),B=M(0),r=M(9),y=M(4),f=(O=M(14))&&O.__esModule?O:{default:O};S.SigninState=function(P){function O(){var j=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},v=j.nonce,b=j.authority,G=j.client_id,z=j.redirect_uri,H=j.code_verifier,ee=j.response_mode,U=j.client_secret,W=j.scope,Y=j.extraTokenParams,ae=j.skipUserInfo;!function g(P,O){if(!(P instanceof O))throw new TypeError("Cannot call a class as a function")}(this,O);var ve=function _(P,O){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!O||"object"!=typeof O&&"function"!=typeof O?P:O}(this,P.call(this,arguments[0]));if(!0===v?ve._nonce=(0,f.default)():v&&(ve._nonce=v),!0===H?ve._code_verifier=(0,f.default)()+(0,f.default)()+(0,f.default)():H&&(ve._code_verifier=H),ve.code_verifier){var _e=y.JoseUtil.hashString(ve.code_verifier,"SHA256");ve._code_challenge=y.JoseUtil.hexToBase64Url(_e)}return ve._redirect_uri=z,ve._authority=b,ve._client_id=G,ve._response_mode=ee,ve._client_secret=U,ve._scope=W,ve._extraTokenParams=Y,ve._skipUserInfo=ae,ve}return function(v,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);v.prototype=Object.create(b&&b.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(v,b):v.__proto__=b)}(O,P),O.prototype.toStorageString=function(){return B.Log.debug("SigninState.toStorageString"),JSON.stringify({id:this.id,data:this.data,created:this.created,request_type:this.request_type,nonce:this.nonce,code_verifier:this.code_verifier,redirect_uri:this.redirect_uri,authority:this.authority,client_id:this.client_id,response_mode:this.response_mode,client_secret:this.client_secret,scope:this.scope,extraTokenParams:this.extraTokenParams,skipUserInfo:this.skipUserInfo})},O.fromStorageString=function(v){return B.Log.debug("SigninState.fromStorageString"),new O(JSON.parse(v))},K(O,[{key:"nonce",get:function(){return this._nonce}},{key:"authority",get:function(){return this._authority}},{key:"client_id",get:function(){return this._client_id}},{key:"redirect_uri",get:function(){return this._redirect_uri}},{key:"code_verifier",get:function(){return this._code_verifier}},{key:"code_challenge",get:function(){return this._code_challenge}},{key:"response_mode",get:function(){return this._response_mode}},{key:"client_secret",get:function(){return this._client_secret}},{key:"scope",get:function(){return this._scope}},{key:"extraTokenParams",get:function(){return this._extraTokenParams}},{key:"skipUserInfo",get:function(){return this._skipUserInfo}}]),O}(r.State)},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.default=function(){return("undefined"!=K&&null!==K&&void 0!==K.getRandomValues?B:r)().replace(/-/g,"")};var K=typeof window<"u"?window.crypto||window.msCrypto:null;function B(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,function(y){return(y^K.getRandomValues(new Uint8Array(1))[0]&15>>y/4).toString(16)})}function r(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,function(y){return(y^16*Math.random()>>y/4).toString(16)})}V.exports=S.default},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.User=void 0;var K=function(){function r(y,f){for(var g=0;g<f.length;g++){var _=f[g];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(y,_.key,_)}}return function(y,f,g){return f&&r(y.prototype,f),g&&r(y,g),y}}(),B=M(0);S.User=function(){function r(y){var f=y.id_token,g=y.session_state,_=y.access_token,P=y.refresh_token,O=y.token_type,j=y.scope,v=y.profile,b=y.expires_at,G=y.state;(function(H,ee){if(!(H instanceof ee))throw new TypeError("Cannot call a class as a function")})(this,r),this.id_token=f,this.session_state=g,this.access_token=_,this.refresh_token=P,this.token_type=O,this.scope=j,this.profile=v,this.expires_at=b,this.state=G}return r.prototype.toStorageString=function(){return B.Log.debug("User.toStorageString"),JSON.stringify({id_token:this.id_token,session_state:this.session_state,access_token:this.access_token,refresh_token:this.refresh_token,token_type:this.token_type,scope:this.scope,profile:this.profile,expires_at:this.expires_at})},r.fromStorageString=function(f){return B.Log.debug("User.fromStorageString"),new r(JSON.parse(f))},K(r,[{key:"expires_in",get:function(){if(this.expires_at){var f=parseInt(Date.now()/1e3);return this.expires_at-f}},set:function(f){var g=parseInt(f);if("number"==typeof g&&g>0){var _=parseInt(Date.now()/1e3);this.expires_at=_+g}}},{key:"expired",get:function(){var f=this.expires_in;if(void 0!==f)return f<=0}},{key:"scopes",get:function(){return(this.scope||"").split(" ")}}]),r}()},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.AccessTokenEvents=void 0;var K=M(0),B=M(46);S.AccessTokenEvents=function(){function y(){var f=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},g=f.accessTokenExpiringNotificationTime,_=void 0===g?60:g,P=f.accessTokenExpiringTimer,O=void 0===P?new B.Timer("Access token expiring"):P,j=f.accessTokenExpiredTimer,v=void 0===j?new B.Timer("Access token expired"):j;(function r(y,f){if(!(y instanceof f))throw new TypeError("Cannot call a class as a function")})(this,y),this._accessTokenExpiringNotificationTime=_,this._accessTokenExpiring=O,this._accessTokenExpired=v}return y.prototype.load=function(g){if(g.access_token&&void 0!==g.expires_in){var _=g.expires_in;if(K.Log.debug("AccessTokenEvents.load: access token present, remaining duration:",_),_>0){var P=_-this._accessTokenExpiringNotificationTime;P<=0&&(P=1),K.Log.debug("AccessTokenEvents.load: registering expiring timer in:",P),this._accessTokenExpiring.init(P)}else K.Log.debug("AccessTokenEvents.load: canceling existing expiring timer becase we're past expiration."),this._accessTokenExpiring.cancel();var O=_+1;K.Log.debug("AccessTokenEvents.load: registering expired timer in:",O),this._accessTokenExpired.init(O)}else this._accessTokenExpiring.cancel(),this._accessTokenExpired.cancel()},y.prototype.unload=function(){K.Log.debug("AccessTokenEvents.unload: canceling existing access token timers"),this._accessTokenExpiring.cancel(),this._accessTokenExpired.cancel()},y.prototype.addAccessTokenExpiring=function(g){this._accessTokenExpiring.addHandler(g)},y.prototype.removeAccessTokenExpiring=function(g){this._accessTokenExpiring.removeHandler(g)},y.prototype.addAccessTokenExpired=function(g){this._accessTokenExpired.addHandler(g)},y.prototype.removeAccessTokenExpired=function(g){this._accessTokenExpired.removeHandler(g)},y}()},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.Event=void 0;var K=M(0);S.Event=function(){function B(r){(function(f,g){if(!(f instanceof g))throw new TypeError("Cannot call a class as a function")})(this,B),this._name=r,this._callbacks=[]}return B.prototype.addHandler=function(y){this._callbacks.push(y)},B.prototype.removeHandler=function(y){var f=this._callbacks.findIndex(function(g){return g===y});f>=0&&this._callbacks.splice(f,1)},B.prototype.raise=function(){K.Log.debug("Event: Raising event: "+this._name);for(var y=0;y<this._callbacks.length;y++){var f;(f=this._callbacks)[y].apply(f,arguments)}},B}()},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.SessionMonitor=void 0;var K=function(){function g(_,P){for(var O=0;O<P.length;O++){var j=P[O];j.enumerable=j.enumerable||!1,j.configurable=!0,"value"in j&&(j.writable=!0),Object.defineProperty(_,j.key,j)}}return function(_,P,O){return P&&g(_.prototype,P),O&&g(_,O),_}}(),B=M(0),r=M(19),y=M(1);S.SessionMonitor=function(){function g(_){var P=this,O=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.CheckSessionIFrame,j=arguments.length>2&&void 0!==arguments[2]?arguments[2]:y.Global.timer;if(function f(g,_){if(!(g instanceof _))throw new TypeError("Cannot call a class as a function")}(this,g),!_)throw B.Log.error("SessionMonitor.ctor: No user manager passed to SessionMonitor"),new Error("userManager");this._userManager=_,this._CheckSessionIFrameCtor=O,this._timer=j,this._userManager.events.addUserLoaded(this._start.bind(this)),this._userManager.events.addUserUnloaded(this._stop.bind(this)),Promise.resolve(this._userManager.getUser().then(function(v){v?P._start(v):P._settings.monitorAnonymousSession&&P._userManager.querySessionStatus().then(function(b){var G={session_state:b.session_state};b.sub&&b.sid&&(G.profile={sub:b.sub,sid:b.sid}),P._start(G)}).catch(function(b){B.Log.error("SessionMonitor ctor: error from querySessionStatus:",b.message)})}).catch(function(v){B.Log.error("SessionMonitor ctor: error from getUser:",v.message)}))}return g.prototype._start=function(P){var O=this,j=P.session_state;j&&(P.profile?(this._sub=P.profile.sub,this._sid=P.profile.sid,B.Log.debug("SessionMonitor._start: session_state:",j,", sub:",this._sub)):(this._sub=void 0,this._sid=void 0,B.Log.debug("SessionMonitor._start: session_state:",j,", anonymous user")),this._checkSessionIFrame?this._checkSessionIFrame.start(j):this._metadataService.getCheckSessionIframe().then(function(v){if(v){B.Log.debug("SessionMonitor._start: Initializing check session iframe");var b=O._client_id,G=O._checkSessionInterval,z=O._stopCheckSessionOnError;O._checkSessionIFrame=new O._CheckSessionIFrameCtor(O._callback.bind(O),b,v,G,z),O._checkSessionIFrame.load().then(function(){O._checkSessionIFrame.start(j)})}else B.Log.warn("SessionMonitor._start: No check session iframe found in the metadata")}).catch(function(v){B.Log.error("SessionMonitor._start: Error from getCheckSessionIframe:",v.message)}))},g.prototype._stop=function(){var P=this;if(this._sub=void 0,this._sid=void 0,this._checkSessionIFrame&&(B.Log.debug("SessionMonitor._stop"),this._checkSessionIFrame.stop()),this._settings.monitorAnonymousSession)var O=this._timer.setInterval(function(){P._timer.clearInterval(O),P._userManager.querySessionStatus().then(function(j){var v={session_state:j.session_state};j.sub&&j.sid&&(v.profile={sub:j.sub,sid:j.sid}),P._start(v)}).catch(function(j){B.Log.error("SessionMonitor: error from querySessionStatus:",j.message)})},1e3)},g.prototype._callback=function(){var P=this;this._userManager.querySessionStatus().then(function(O){var j=!0;O?O.sub===P._sub?(j=!1,P._checkSessionIFrame.start(O.session_state),O.sid===P._sid?B.Log.debug("SessionMonitor._callback: Same sub still logged in at OP, restarting check session iframe; session_state:",O.session_state):(B.Log.debug("SessionMonitor._callback: Same sub still logged in at OP, session state has changed, restarting check session iframe; session_state:",O.session_state),P._userManager.events._raiseUserSessionChanged())):B.Log.debug("SessionMonitor._callback: Different subject signed into OP:",O.sub):B.Log.debug("SessionMonitor._callback: Subject no longer signed into OP"),j&&(P._sub?(B.Log.debug("SessionMonitor._callback: SessionMonitor._callback; raising signed out event"),P._userManager.events._raiseUserSignedOut()):(B.Log.debug("SessionMonitor._callback: SessionMonitor._callback; raising signed in event"),P._userManager.events._raiseUserSignedIn()))}).catch(function(O){P._sub&&(B.Log.debug("SessionMonitor._callback: Error calling queryCurrentSigninSession; raising signed out event",O.message),P._userManager.events._raiseUserSignedOut())})},K(g,[{key:"_settings",get:function(){return this._userManager.settings}},{key:"_metadataService",get:function(){return this._userManager.metadataService}},{key:"_client_id",get:function(){return this._settings.client_id}},{key:"_checkSessionInterval",get:function(){return this._settings.checkSessionInterval}},{key:"_stopCheckSessionOnError",get:function(){return this._settings.stopCheckSessionOnError}}]),g}()},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.CheckSessionIFrame=void 0;var K=M(0);S.CheckSessionIFrame=function(){function r(y,f,g,_){var P=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];(function B(r,y){if(!(r instanceof y))throw new TypeError("Cannot call a class as a function")})(this,r),this._callback=y,this._client_id=f,this._url=g,this._interval=_||2e3,this._stopOnError=P;var O=g.indexOf("/",g.indexOf("//")+2);this._frame_origin=g.substr(0,O),this._frame=window.document.createElement("iframe"),this._frame.style.visibility="hidden",this._frame.style.position="absolute",this._frame.style.display="none",this._frame.width=0,this._frame.height=0,this._frame.src=g}return r.prototype.load=function(){var f=this;return new Promise(function(g){f._frame.onload=function(){g()},window.document.body.appendChild(f._frame),f._boundMessageEvent=f._message.bind(f),window.addEventListener("message",f._boundMessageEvent,!1)})},r.prototype._message=function(f){f.origin===this._frame_origin&&f.source===this._frame.contentWindow&&("error"===f.data?(K.Log.error("CheckSessionIFrame: error message from check session op iframe"),this._stopOnError&&this.stop()):"changed"===f.data?(K.Log.debug("CheckSessionIFrame: changed message from check session op iframe"),this.stop(),this._callback()):K.Log.debug("CheckSessionIFrame: "+f.data+" message from check session op iframe"))},r.prototype.start=function(f){var g=this;if(this._session_state!==f){K.Log.debug("CheckSessionIFrame.start"),this.stop(),this._session_state=f;var _=function(){g._frame.contentWindow.postMessage(g._client_id+" "+g._session_state,g._frame_origin)};_(),this._timer=window.setInterval(_,this._interval)}},r.prototype.stop=function(){this._session_state=null,this._timer&&(K.Log.debug("CheckSessionIFrame.stop"),window.clearInterval(this._timer),this._timer=null)},r}()},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.TokenRevocationClient=void 0;var K=M(0),B=M(2),r=M(1);S.TokenRevocationClient=function(){function _(P){var O=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.Global.XMLHttpRequest,j=arguments.length>2&&void 0!==arguments[2]?arguments[2]:B.MetadataService;if(function y(_,P){if(!(_ instanceof P))throw new TypeError("Cannot call a class as a function")}(this,_),!P)throw K.Log.error("TokenRevocationClient.ctor: No settings provided"),new Error("No settings provided.");this._settings=P,this._XMLHttpRequestCtor=O,this._metadataService=new j(this._settings)}return _.prototype.revoke=function(O,j){var v=this,b=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"access_token";if(!O)throw K.Log.error("TokenRevocationClient.revoke: No token provided"),new Error("No token provided.");if("access_token"!==b&&"refresh_token"!=b)throw K.Log.error("TokenRevocationClient.revoke: Invalid token type"),new Error("Invalid token type.");return this._metadataService.getRevocationEndpoint().then(function(G){if(G)return K.Log.debug("TokenRevocationClient.revoke: Revoking "+b),v._revoke(G,v._settings.client_id,v._settings.client_secret,O,b);if(j)throw K.Log.error("TokenRevocationClient.revoke: Revocation not supported"),new Error("Revocation not supported")})},_.prototype._revoke=function(O,j,v,b,G){var z=this;return new Promise(function(H,ee){var U=new z._XMLHttpRequestCtor;U.open("POST",O),U.onload=function(){K.Log.debug("TokenRevocationClient.revoke: HTTP response received, status",U.status),200===U.status?H():ee(Error(U.statusText+" ("+U.status+")"))},U.onerror=function(){K.Log.debug("TokenRevocationClient.revoke: Network Error."),ee("Network Error")};var W="client_id="+encodeURIComponent(j);v&&(W+="&client_secret="+encodeURIComponent(v)),W+="&token_type_hint="+encodeURIComponent(G),W+="&token="+encodeURIComponent(b),U.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),U.send(W)})},_}()},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.CordovaPopupWindow=void 0;var K=function(){function r(y,f){for(var g=0;g<f.length;g++){var _=f[g];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(y,_.key,_)}}return function(y,f,g){return f&&r(y.prototype,f),g&&r(y,g),y}}(),B=M(0);S.CordovaPopupWindow=function(){function r(y){var f=this;(function(_,P){if(!(_ instanceof P))throw new TypeError("Cannot call a class as a function")})(this,r),this._promise=new Promise(function(g,_){f._resolve=g,f._reject=_}),this.features=y.popupWindowFeatures||"location=no,toolbar=no,zoom=no",this.target=y.popupWindowTarget||"_blank",this.redirect_uri=y.startUrl,B.Log.debug("CordovaPopupWindow.ctor: redirect_uri: "+this.redirect_uri)}return r.prototype._isInAppBrowserInstalled=function(f){return["cordova-plugin-inappbrowser","cordova-plugin-inappbrowser.inappbrowser","org.apache.cordova.inappbrowser"].some(function(g){return f.hasOwnProperty(g)})},r.prototype.navigate=function(f){if(f&&f.url){if(!window.cordova)return this._error("cordova is undefined");var g=window.cordova.require("cordova/plugin_list").metadata;if(!1===this._isInAppBrowserInstalled(g))return this._error("InAppBrowser plugin not found");this._popup=cordova.InAppBrowser.open(f.url,this.target,this.features),this._popup?(B.Log.debug("CordovaPopupWindow.navigate: popup successfully created"),this._exitCallbackEvent=this._exitCallback.bind(this),this._loadStartCallbackEvent=this._loadStartCallback.bind(this),this._popup.addEventListener("exit",this._exitCallbackEvent,!1),this._popup.addEventListener("loadstart",this._loadStartCallbackEvent,!1)):this._error("Error opening popup window")}else this._error("No url provided");return this.promise},r.prototype._loadStartCallback=function(f){0===f.url.indexOf(this.redirect_uri)&&this._success({url:f.url})},r.prototype._exitCallback=function(f){this._error(f)},r.prototype._success=function(f){this._cleanup(),B.Log.debug("CordovaPopupWindow: Successful response from cordova popup window"),this._resolve(f)},r.prototype._error=function(f){this._cleanup(),B.Log.error(f),this._reject(new Error(f))},r.prototype.close=function(){this._cleanup()},r.prototype._cleanup=function(){this._popup&&(B.Log.debug("CordovaPopupWindow: cleaning up popup"),this._popup.removeEventListener("exit",this._exitCallbackEvent,!1),this._popup.removeEventListener("loadstart",this._loadStartCallbackEvent,!1),this._popup.close()),this._popup=null},K(r,[{key:"promise",get:function(){return this._promise}}]),r}()},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0});var K=M(0),B=M(10),r=M(5),y=M(6),f=M(37),g=M(38),_=M(16),P=M(2),O=M(48),j=M(49),v=M(19),b=M(20),G=M(18),z=M(1),H=M(15),ee=M(50);S.default={Version:ee.Version,Log:K.Log,OidcClient:B.OidcClient,OidcClientSettings:r.OidcClientSettings,WebStorageStateStore:y.WebStorageStateStore,InMemoryWebStorage:f.InMemoryWebStorage,UserManager:g.UserManager,AccessTokenEvents:_.AccessTokenEvents,MetadataService:P.MetadataService,CordovaPopupNavigator:O.CordovaPopupNavigator,CordovaIFrameNavigator:j.CordovaIFrameNavigator,CheckSessionIFrame:v.CheckSessionIFrame,TokenRevocationClient:b.TokenRevocationClient,SessionMonitor:G.SessionMonitor,Global:z.Global,User:H.User},V.exports=S.default},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.ClockService=function(){function K(){!function(r,y){if(!(r instanceof y))throw new TypeError("Cannot call a class as a function")}(this,K)}return K.prototype.getEpochTime=function(){return Promise.resolve(Date.now()/1e3|0)},K}()},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.ResponseValidator=void 0;var K="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(j){return typeof j}:function(j){return j&&"function"==typeof Symbol&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},B=M(0),r=M(2),y=M(25),f=M(11),g=M(12),_=M(4);var O=["nonce","at_hash","iat","nbf","exp","aud","iss","c_hash"];S.ResponseValidator=function(){function j(v){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.MetadataService,G=arguments.length>2&&void 0!==arguments[2]?arguments[2]:y.UserInfoService,z=arguments.length>3&&void 0!==arguments[3]?arguments[3]:_.JoseUtil,H=arguments.length>4&&void 0!==arguments[4]?arguments[4]:f.TokenClient;if(function P(j,v){if(!(j instanceof v))throw new TypeError("Cannot call a class as a function")}(this,j),!v)throw B.Log.error("ResponseValidator.ctor: No settings passed to ResponseValidator"),new Error("settings");this._settings=v,this._metadataService=new b(this._settings),this._userInfoService=new G(this._settings),this._joseUtil=z,this._tokenClient=new H(this._settings)}return j.prototype.validateSigninResponse=function(b,G){var z=this;return B.Log.debug("ResponseValidator.validateSigninResponse"),this._processSigninParams(b,G).then(function(H){return B.Log.debug("ResponseValidator.validateSigninResponse: state processed"),z._validateTokens(b,H).then(function(ee){return B.Log.debug("ResponseValidator.validateSigninResponse: tokens validated"),z._processClaims(b,ee).then(function(U){return B.Log.debug("ResponseValidator.validateSigninResponse: claims processed"),U})})})},j.prototype.validateSignoutResponse=function(b,G){return b.id!==G.state?(B.Log.error("ResponseValidator.validateSignoutResponse: State does not match"),Promise.reject(new Error("State does not match"))):(B.Log.debug("ResponseValidator.validateSignoutResponse: state validated"),G.state=b.data,G.error?(B.Log.warn("ResponseValidator.validateSignoutResponse: Response was error",G.error),Promise.reject(new g.ErrorResponse(G))):Promise.resolve(G))},j.prototype._processSigninParams=function(b,G){if(b.id!==G.state)return B.Log.error("ResponseValidator._processSigninParams: State does not match"),Promise.reject(new Error("State does not match"));if(!b.client_id)return B.Log.error("ResponseValidator._processSigninParams: No client_id on state"),Promise.reject(new Error("No client_id on state"));if(!b.authority)return B.Log.error("ResponseValidator._processSigninParams: No authority on state"),Promise.reject(new Error("No authority on state"));if(this._settings.authority){if(this._settings.authority&&this._settings.authority!==b.authority)return B.Log.error("ResponseValidator._processSigninParams: authority mismatch on settings vs. signin state"),Promise.reject(new Error("authority mismatch on settings vs. signin state"))}else this._settings.authority=b.authority;if(this._settings.client_id){if(this._settings.client_id&&this._settings.client_id!==b.client_id)return B.Log.error("ResponseValidator._processSigninParams: client_id mismatch on settings vs. signin state"),Promise.reject(new Error("client_id mismatch on settings vs. signin state"))}else this._settings.client_id=b.client_id;return B.Log.debug("ResponseValidator._processSigninParams: state validated"),G.state=b.data,G.error?(B.Log.warn("ResponseValidator._processSigninParams: Response was error",G.error),Promise.reject(new g.ErrorResponse(G))):b.nonce&&!G.id_token?(B.Log.error("ResponseValidator._processSigninParams: Expecting id_token in response"),Promise.reject(new Error("No id_token in response"))):!b.nonce&&G.id_token?(B.Log.error("ResponseValidator._processSigninParams: Not expecting id_token in response"),Promise.reject(new Error("Unexpected id_token in response"))):b.code_verifier&&!G.code?(B.Log.error("ResponseValidator._processSigninParams: Expecting code in response"),Promise.reject(new Error("No code in response"))):!b.code_verifier&&G.code?(B.Log.error("ResponseValidator._processSigninParams: Not expecting code in response"),Promise.reject(new Error("Unexpected code in response"))):(G.scope||(G.scope=b.scope),Promise.resolve(G))},j.prototype._processClaims=function(b,G){var z=this;if(G.isOpenIdConnect){if(B.Log.debug("ResponseValidator._processClaims: response is OIDC, processing claims"),G.profile=this._filterProtocolClaims(G.profile),!0!==b.skipUserInfo&&this._settings.loadUserInfo&&G.access_token)return B.Log.debug("ResponseValidator._processClaims: loading user info"),this._userInfoService.getClaims(G.access_token).then(function(H){return B.Log.debug("ResponseValidator._processClaims: user info claims received from user info endpoint"),H.sub!==G.profile.sub?(B.Log.error("ResponseValidator._processClaims: sub from user info endpoint does not match sub in id_token"),Promise.reject(new Error("sub from user info endpoint does not match sub in id_token"))):(G.profile=z._mergeClaims(G.profile,H),B.Log.debug("ResponseValidator._processClaims: user info claims received, updated profile:",G.profile),G)});B.Log.debug("ResponseValidator._processClaims: not loading user info")}else B.Log.debug("ResponseValidator._processClaims: response is not OIDC, not processing claims");return Promise.resolve(G)},j.prototype._mergeClaims=function(b,G){var z=Object.assign({},b);for(var H in G){var ee=G[H];Array.isArray(ee)||(ee=[ee]);for(var U=0;U<ee.length;U++){var W=ee[U];z[H]?Array.isArray(z[H])?z[H].indexOf(W)<0&&z[H].push(W):z[H]!==W&&(z[H]="object"===(void 0===W?"undefined":K(W))&&this._settings.mergeClaims?this._mergeClaims(z[H],W):[z[H],W]):z[H]=W}}return z},j.prototype._filterProtocolClaims=function(b){B.Log.debug("ResponseValidator._filterProtocolClaims, incoming claims:",b);var G=Object.assign({},b);return this._settings._filterProtocolClaims?(O.forEach(function(z){delete G[z]}),B.Log.debug("ResponseValidator._filterProtocolClaims: protocol claims filtered",G)):B.Log.debug("ResponseValidator._filterProtocolClaims: protocol claims not filtered"),G},j.prototype._validateTokens=function(b,G){return G.code?(B.Log.debug("ResponseValidator._validateTokens: Validating code"),this._processCode(b,G)):G.id_token?G.access_token?(B.Log.debug("ResponseValidator._validateTokens: Validating id_token and access_token"),this._validateIdTokenAndAccessToken(b,G)):(B.Log.debug("ResponseValidator._validateTokens: Validating id_token"),this._validateIdToken(b,G)):(B.Log.debug("ResponseValidator._validateTokens: No code to process or id_token to validate"),Promise.resolve(G))},j.prototype._processCode=function(b,G){var z=this,H={client_id:b.client_id,client_secret:b.client_secret,code:G.code,redirect_uri:b.redirect_uri,code_verifier:b.code_verifier};return b.extraTokenParams&&"object"===K(b.extraTokenParams)&&Object.assign(H,b.extraTokenParams),this._tokenClient.exchangeCode(H).then(function(ee){for(var U in ee)G[U]=ee[U];return G.id_token?(B.Log.debug("ResponseValidator._processCode: token response successful, processing id_token"),z._validateIdTokenAttributes(b,G)):(B.Log.debug("ResponseValidator._processCode: token response successful, returning response"),G)})},j.prototype._validateIdTokenAttributes=function(b,G){var z=this;return this._metadataService.getIssuer().then(function(H){var ee=b.client_id,U=z._settings.clockSkew;return B.Log.debug("ResponseValidator._validateIdTokenAttributes: Validaing JWT attributes; using clock skew (in seconds) of: ",U),z._settings.getEpochTime().then(function(W){return z._joseUtil.validateJwtAttributes(G.id_token,H,ee,U,W).then(function(Y){return b.nonce&&b.nonce!==Y.nonce?(B.Log.error("ResponseValidator._validateIdTokenAttributes: Invalid nonce in id_token"),Promise.reject(new Error("Invalid nonce in id_token"))):Y.sub?(G.profile=Y,G):(B.Log.error("ResponseValidator._validateIdTokenAttributes: No sub present in id_token"),Promise.reject(new Error("No sub present in id_token")))})})})},j.prototype._validateIdTokenAndAccessToken=function(b,G){var z=this;return this._validateIdToken(b,G).then(function(H){return z._validateAccessToken(H)})},j.prototype._getSigningKeyForJwt=function(b){var G=this;return this._metadataService.getSigningKeys().then(function(z){var H=b.header.kid;if(!z)return B.Log.error("ResponseValidator._validateIdToken: No signing keys from metadata"),Promise.reject(new Error("No signing keys from metadata"));B.Log.debug("ResponseValidator._validateIdToken: Received signing keys");var ee=void 0;if(H)ee=z.filter(function(U){return U.kid===H})[0];else{if((z=G._filterByAlg(z,b.header.alg)).length>1)return B.Log.error("ResponseValidator._validateIdToken: No kid found in id_token and more than one key found in metadata"),Promise.reject(new Error("No kid found in id_token and more than one key found in metadata"));ee=z[0]}return Promise.resolve(ee)})},j.prototype._getSigningKeyForJwtWithSingleRetry=function(b){var G=this;return this._getSigningKeyForJwt(b).then(function(z){return z?Promise.resolve(z):(G._metadataService.resetSigningKeys(),G._getSigningKeyForJwt(b))})},j.prototype._validateIdToken=function(b,G){var z=this;if(!b.nonce)return B.Log.error("ResponseValidator._validateIdToken: No nonce on state"),Promise.reject(new Error("No nonce on state"));var H=this._joseUtil.parseJwt(G.id_token);return H&&H.header&&H.payload?b.nonce!==H.payload.nonce?(B.Log.error("ResponseValidator._validateIdToken: Invalid nonce in id_token"),Promise.reject(new Error("Invalid nonce in id_token"))):this._metadataService.getIssuer().then(function(ee){return B.Log.debug("ResponseValidator._validateIdToken: Received issuer"),z._getSigningKeyForJwtWithSingleRetry(H).then(function(U){if(!U)return B.Log.error("ResponseValidator._validateIdToken: No key matching kid or alg found in signing keys"),Promise.reject(new Error("No key matching kid or alg found in signing keys"));var W=b.client_id,Y=z._settings.clockSkew;return B.Log.debug("ResponseValidator._validateIdToken: Validaing JWT; using clock skew (in seconds) of: ",Y),z._joseUtil.validateJwt(G.id_token,U,ee,W,Y).then(function(){return B.Log.debug("ResponseValidator._validateIdToken: JWT validation successful"),H.payload.sub?(G.profile=H.payload,G):(B.Log.error("ResponseValidator._validateIdToken: No sub present in id_token"),Promise.reject(new Error("No sub present in id_token")))})})}):(B.Log.error("ResponseValidator._validateIdToken: Failed to parse id_token",H),Promise.reject(new Error("Failed to parse id_token")))},j.prototype._filterByAlg=function(b,G){var z=null;if(G.startsWith("RS"))z="RSA";else if(G.startsWith("PS"))z="PS";else{if(!G.startsWith("ES"))return B.Log.debug("ResponseValidator._filterByAlg: alg not supported: ",G),[];z="EC"}return B.Log.debug("ResponseValidator._filterByAlg: Looking for keys that match kty: ",z),b=b.filter(function(H){return H.kty===z}),B.Log.debug("ResponseValidator._filterByAlg: Number of keys that match kty: ",z,b.length),b},j.prototype._validateAccessToken=function(b){if(!b.profile)return B.Log.error("ResponseValidator._validateAccessToken: No profile loaded from id_token"),Promise.reject(new Error("No profile loaded from id_token"));if(!b.profile.at_hash)return B.Log.error("ResponseValidator._validateAccessToken: No at_hash in id_token"),Promise.reject(new Error("No at_hash in id_token"));if(!b.id_token)return B.Log.error("ResponseValidator._validateAccessToken: No id_token"),Promise.reject(new Error("No id_token"));var G=this._joseUtil.parseJwt(b.id_token);if(!G||!G.header)return B.Log.error("ResponseValidator._validateAccessToken: Failed to parse id_token",G),Promise.reject(new Error("Failed to parse id_token"));var z=G.header.alg;if(!z||5!==z.length)return B.Log.error("ResponseValidator._validateAccessToken: Unsupported alg:",z),Promise.reject(new Error("Unsupported alg: "+z));var H=z.substr(2,3);if(!H)return B.Log.error("ResponseValidator._validateAccessToken: Unsupported alg:",z,H),Promise.reject(new Error("Unsupported alg: "+z));if(256!==(H=parseInt(H))&&384!==H&&512!==H)return B.Log.error("ResponseValidator._validateAccessToken: Unsupported alg:",z,H),Promise.reject(new Error("Unsupported alg: "+z));var ee="sha"+H,U=this._joseUtil.hashString(b.access_token,ee);if(!U)return B.Log.error("ResponseValidator._validateAccessToken: access_token hash failed:",ee),Promise.reject(new Error("Failed to validate at_hash"));var W=U.substr(0,U.length/2),Y=this._joseUtil.hexToBase64Url(W);return Y!==b.profile.at_hash?(B.Log.error("ResponseValidator._validateAccessToken: Failed to validate at_hash",Y,b.profile.at_hash),Promise.reject(new Error("Failed to validate at_hash"))):(B.Log.debug("ResponseValidator._validateAccessToken: success"),Promise.resolve(b))},j}()},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.UserInfoService=void 0;var K=M(7),B=M(2),r=M(0),y=M(4);S.UserInfoService=function(){function g(_){var P=arguments.length>1&&void 0!==arguments[1]?arguments[1]:K.JsonService,O=arguments.length>2&&void 0!==arguments[2]?arguments[2]:B.MetadataService,j=arguments.length>3&&void 0!==arguments[3]?arguments[3]:y.JoseUtil;if(function f(g,_){if(!(g instanceof _))throw new TypeError("Cannot call a class as a function")}(this,g),!_)throw r.Log.error("UserInfoService.ctor: No settings passed"),new Error("settings");this._settings=_,this._jsonService=new P(void 0,void 0,this._getClaimsFromJwt.bind(this)),this._metadataService=new O(this._settings),this._joseUtil=j}return g.prototype.getClaims=function(P){var O=this;return P?this._metadataService.getUserInfoEndpoint().then(function(j){return r.Log.debug("UserInfoService.getClaims: received userinfo url",j),O._jsonService.getJson(j,P).then(function(v){return r.Log.debug("UserInfoService.getClaims: claims received",v),v})}):(r.Log.error("UserInfoService.getClaims: No token passed"),Promise.reject(new Error("A token is required")))},g.prototype._getClaimsFromJwt=function(P){var O=this;try{var j=this._joseUtil.parseJwt(P.responseText);if(!j||!j.header||!j.payload)return r.Log.error("UserInfoService._getClaimsFromJwt: Failed to parse JWT",j),Promise.reject(new Error("Failed to parse id_token"));var v=j.header.kid,b=void 0;switch(this._settings.userInfoJwtIssuer){case"OP":b=this._metadataService.getIssuer();break;case"ANY":b=Promise.resolve(j.payload.iss);break;default:b=Promise.resolve(this._settings.userInfoJwtIssuer)}return b.then(function(G){return r.Log.debug("UserInfoService._getClaimsFromJwt: Received issuer:"+G),O._metadataService.getSigningKeys().then(function(z){if(!z)return r.Log.error("UserInfoService._getClaimsFromJwt: No signing keys from metadata"),Promise.reject(new Error("No signing keys from metadata"));r.Log.debug("UserInfoService._getClaimsFromJwt: Received signing keys");var H=void 0;if(v)H=z.filter(function(W){return W.kid===v})[0];else{if((z=O._filterByAlg(z,j.header.alg)).length>1)return r.Log.error("UserInfoService._getClaimsFromJwt: No kid found in id_token and more than one key found in metadata"),Promise.reject(new Error("No kid found in id_token and more than one key found in metadata"));H=z[0]}if(!H)return r.Log.error("UserInfoService._getClaimsFromJwt: No key matching kid or alg found in signing keys"),Promise.reject(new Error("No key matching kid or alg found in signing keys"));var ee=O._settings.client_id,U=O._settings.clockSkew;return r.Log.debug("UserInfoService._getClaimsFromJwt: Validaing JWT; using clock skew (in seconds) of: ",U),O._joseUtil.validateJwt(P.responseText,H,G,ee,U,void 0,!0).then(function(){return r.Log.debug("UserInfoService._getClaimsFromJwt: JWT validation successful"),j.payload})})})}catch(G){return r.Log.error("UserInfoService._getClaimsFromJwt: Error parsing JWT response",G.message),void reject(G)}},g.prototype._filterByAlg=function(P,O){var j=null;if(O.startsWith("RS"))j="RSA";else if(O.startsWith("PS"))j="PS";else{if(!O.startsWith("ES"))return r.Log.debug("UserInfoService._filterByAlg: alg not supported: ",O),[];j="EC"}return r.Log.debug("UserInfoService._filterByAlg: Looking for keys that match kty: ",j),P=P.filter(function(v){return v.kty===j}),r.Log.debug("UserInfoService._filterByAlg: Number of keys that match kty: ",j,P.length),P},g}()},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.AllowedSigningAlgs=S.b64tohex=S.hextob64u=S.crypto=S.X509=S.KeyUtil=S.jws=void 0;var K=M(27);S.jws=K.jws,S.KeyUtil=K.KEYUTIL,S.X509=K.X509,S.crypto=K.crypto,S.hextob64u=K.hextob64u,S.b64tohex=K.b64tohex,S.AllowedSigningAlgs=["RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512"]},function(V,S,M){"use strict";(function(K){Object.defineProperty(S,"__esModule",{value:!0});var B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(k){return typeof k}:function(k){return k&&"function"==typeof Symbol&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k},r={userAgent:!1},y={};if(void 0===f)var f={};f.lang={extend:function(A,Z,X){if(!Z||!A)throw new Error("YAHOO.lang.extend failed, please check that all dependencies are included.");var ie=function(){};if(ie.prototype=Z.prototype,A.prototype=new ie,A.prototype.constructor=A,A.superclass=Z.prototype,Z.prototype.constructor==Object.prototype.constructor&&(Z.prototype.constructor=Z),X){var me;for(me in X)A.prototype[me]=X[me];var Pe=function(){},Ve=["toString","valueOf"];try{/MSIE/.test(r.userAgent)&&(Pe=function(Be,$e){for(me=0;me<Ve.length;me+=1){var Ge=Ve[me],We=$e[Ge];"function"==typeof We&&We!=Object.prototype[Ge]&&(Be[Ge]=We)}})}catch{}Pe(A.prototype,X)}}};var g,_,P,O,j,v,b,G,z,H,ee,A,Z,X,ie,U=U||(g=Math,P=(_={}).lib={},O=P.Base=function(){function k(){}return{extend:function(Z){k.prototype=this;var X=new k;return Z&&X.mixIn(Z),X.hasOwnProperty("init")||(X.init=function(){X.$super.init.apply(this,arguments)}),X.init.prototype=X,X.$super=this,X},create:function(){var Z=this.extend();return Z.init.apply(Z,arguments),Z},init:function(){},mixIn:function(Z){for(var X in Z)Z.hasOwnProperty(X)&&(this[X]=Z[X]);Z.hasOwnProperty("toString")&&(this.toString=Z.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),j=P.WordArray=O.extend({init:function(A,Z){A=this.words=A||[],this.sigBytes=Z??4*A.length},toString:function(A){return(A||b).stringify(this)},concat:function(A){var Z=this.words,X=A.words,ie=this.sigBytes,me=A.sigBytes;if(this.clamp(),ie%4)for(var Pe=0;Pe<me;Pe++)Z[ie+Pe>>>2]|=(X[Pe>>>2]>>>24-Pe%4*8&255)<<24-(ie+Pe)%4*8;else for(Pe=0;Pe<me;Pe+=4)Z[ie+Pe>>>2]=X[Pe>>>2];return this.sigBytes+=me,this},clamp:function(){var A=this.words,Z=this.sigBytes;A[Z>>>2]&=4294967295<<32-Z%4*8,A.length=g.ceil(Z/4)},clone:function(){var A=O.clone.call(this);return A.words=this.words.slice(0),A},random:function(A){for(var Z=[],X=0;X<A;X+=4)Z.push(4294967296*g.random()|0);return new j.init(Z,A)}}),v=_.enc={},b=v.Hex={stringify:function(A){for(var Z=A.words,X=A.sigBytes,ie=[],me=0;me<X;me++){var Pe=Z[me>>>2]>>>24-me%4*8&255;ie.push((Pe>>>4).toString(16)),ie.push((15&Pe).toString(16))}return ie.join("")},parse:function(A){for(var Z=A.length,X=[],ie=0;ie<Z;ie+=2)X[ie>>>3]|=parseInt(A.substr(ie,2),16)<<24-ie%8*4;return new j.init(X,Z/2)}},G=v.Latin1={stringify:function(A){for(var Z=A.words,X=A.sigBytes,ie=[],me=0;me<X;me++)ie.push(String.fromCharCode(Z[me>>>2]>>>24-me%4*8&255));return ie.join("")},parse:function(A){for(var Z=A.length,X=[],ie=0;ie<Z;ie++)X[ie>>>2]|=(255&A.charCodeAt(ie))<<24-ie%4*8;return new j.init(X,Z)}},z=v.Utf8={stringify:function(A){try{return decodeURIComponent(escape(G.stringify(A)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(A){return G.parse(unescape(encodeURIComponent(A)))}},H=P.BufferedBlockAlgorithm=O.extend({reset:function(){this._data=new j.init,this._nDataBytes=0},_append:function(A){"string"==typeof A&&(A=z.parse(A)),this._data.concat(A),this._nDataBytes+=A.sigBytes},_process:function(A){var Z=this._data,X=Z.words,ie=Z.sigBytes,me=this.blockSize,Pe=ie/(4*me),Ve=(Pe=A?g.ceil(Pe):g.max((0|Pe)-this._minBufferSize,0))*me,Me=g.min(4*Ve,ie);if(Ve){for(var Be=0;Be<Ve;Be+=me)this._doProcessBlock(X,Be);var $e=X.splice(0,Ve);Z.sigBytes-=Me}return new j.init($e,Me)},clone:function(){var A=O.clone.call(this);return A._data=this._data.clone(),A},_minBufferSize:0}),P.Hasher=H.extend({cfg:O.extend(),init:function(A){this.cfg=this.cfg.extend(A),this.reset()},reset:function(){H.reset.call(this),this._doReset()},update:function(A){return this._append(A),this._process(),this},finalize:function(A){return A&&this._append(A),this._doFinalize()},blockSize:16,_createHelper:function(A){return function(Z,X){return new A.init(X).finalize(Z)}},_createHmacHelper:function(A){return function(Z,X){return new ee.HMAC.init(A,X).finalize(Z)}}}),ee=_.algo={},_);Z=(A=U).lib,X=Z.Base,ie=Z.WordArray,(A=A.x64={}).Word=X.extend({init:function(Pe,Ve){this.high=Pe,this.low=Ve}}),A.WordArray=X.extend({init:function(Pe,Ve){Pe=this.words=Pe||[],this.sigBytes=Ve??8*Pe.length},toX32:function(){for(var Pe=this.words,Ve=Pe.length,Me=[],Be=0;Be<Ve;Be++){var $e=Pe[Be];Me.push($e.high),Me.push($e.low)}return ie.create(Me,this.sigBytes)},clone:function(){for(var Pe=X.clone.call(this),Ve=Pe.words=this.words.slice(0),Me=Ve.length,Be=0;Be<Me;Be++)Ve[Be]=Ve[Be].clone();return Pe}}),function(){var A=U.lib.WordArray;U.enc.Base64={stringify:function(X){var ie=X.words,me=X.sigBytes,Pe=this._map;X.clamp(),X=[];for(var Ve=0;Ve<me;Ve+=3)for(var Me=(ie[Ve>>>2]>>>24-Ve%4*8&255)<<16|(ie[Ve+1>>>2]>>>24-(Ve+1)%4*8&255)<<8|ie[Ve+2>>>2]>>>24-(Ve+2)%4*8&255,Be=0;4>Be&&Ve+.75*Be<me;Be++)X.push(Pe.charAt(Me>>>6*(3-Be)&63));if(ie=Pe.charAt(64))for(;X.length%4;)X.push(ie);return X.join("")},parse:function(X){var ie=X.length,me=this._map;(Pe=me.charAt(64))&&-1!=(Pe=X.indexOf(Pe))&&(ie=Pe);for(var Pe=[],Ve=0,Me=0;Me<ie;Me++)if(Me%4){var Be=me.indexOf(X.charAt(Me-1))<<Me%4*2,$e=me.indexOf(X.charAt(Me))>>>6-Me%4*2;Pe[Ve>>>2]|=(Be|$e)<<24-Ve%4*8,Ve++}return A.create(Pe,Ve)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),function(k){for(var A=U,Z=(ie=A.lib).WordArray,X=ie.Hasher,ie=A.algo,me=[],Pe=[],Ve=function(gt){return 4294967296*(gt-(0|gt))|0},Me=2,Be=0;64>Be;){var $e;e:{for(var Ge=k.sqrt($e=Me),We=2;We<=Ge;We++)if(!($e%We)){$e=!1;break e}$e=!0}$e&&(8>Be&&(me[Be]=Ve(k.pow(Me,.5))),Pe[Be]=Ve(k.pow(Me,1/3)),Be++),Me++}var nt=[];ie=ie.SHA256=X.extend({_doReset:function(){this._hash=new Z.init(me.slice(0))},_doProcessBlock:function(gt,Et){for(var Ee=this._hash.words,ze=Ee[0],Ke=Ee[1],Xe=Ee[2],yt=Ee[3],At=Ee[4],Wt=Ee[5],jt=Ee[6],Bn=Ee[7],en=0;64>en;en++){if(16>en)nt[en]=0|gt[Et+en];else{var gn=nt[en-15],or=nt[en-2];nt[en]=((gn<<25|gn>>>7)^(gn<<14|gn>>>18)^gn>>>3)+nt[en-7]+((or<<15|or>>>17)^(or<<13|or>>>19)^or>>>10)+nt[en-16]}gn=Bn+((At<<26|At>>>6)^(At<<21|At>>>11)^(At<<7|At>>>25))+(At&Wt^~At&jt)+Pe[en]+nt[en],or=((ze<<30|ze>>>2)^(ze<<19|ze>>>13)^(ze<<10|ze>>>22))+(ze&Ke^ze&Xe^Ke&Xe),Bn=jt,jt=Wt,Wt=At,At=yt+gn|0,yt=Xe,Xe=Ke,Ke=ze,ze=gn+or|0}Ee[0]=Ee[0]+ze|0,Ee[1]=Ee[1]+Ke|0,Ee[2]=Ee[2]+Xe|0,Ee[3]=Ee[3]+yt|0,Ee[4]=Ee[4]+At|0,Ee[5]=Ee[5]+Wt|0,Ee[6]=Ee[6]+jt|0,Ee[7]=Ee[7]+Bn|0},_doFinalize:function(){var gt=this._data,Et=gt.words,Ee=8*this._nDataBytes,ze=8*gt.sigBytes;return Et[ze>>>5]|=128<<24-ze%32,Et[14+(ze+64>>>9<<4)]=k.floor(Ee/4294967296),Et[15+(ze+64>>>9<<4)]=Ee,gt.sigBytes=4*Et.length,this._process(),this._hash},clone:function(){var gt=X.clone.call(this);return gt._hash=this._hash.clone(),gt}}),A.SHA256=X._createHelper(ie),A.HmacSHA256=X._createHmacHelper(ie)}(Math),function(){function k(){return X.create.apply(X,arguments)}for(var A=U,Z=A.lib.Hasher,X=(me=A.x64).Word,ie=me.WordArray,me=A.algo,Pe=[k(1116352408,3609767458),k(1899447441,602891725),k(3049323471,3964484399),k(3921009573,2173295548),k(961987163,4081628472),k(1508970993,3053834265),k(2453635748,2937671579),k(2870763221,3664609560),k(3624381080,2734883394),k(310598401,1164996542),k(607225278,1323610764),k(1426881987,3590304994),k(1925078388,4068182383),k(2162078206,991336113),k(2614888103,633803317),k(3248222580,3479774868),k(3835390401,2666613458),k(4022224774,944711139),k(264347078,2341262773),k(604807628,2007800933),k(770255983,1495990901),k(1249150122,1856431235),k(1555081692,3175218132),k(1996064986,2198950837),k(2554220882,3999719339),k(2821834349,766784016),k(2952996808,2566594879),k(3210313671,3203337956),k(3336571891,1034457026),k(3584528711,2466948901),k(113926993,3758326383),k(338241895,168717936),k(666307205,1188179964),k(773529912,1546045734),k(1294757372,1522805485),k(1396182291,2643833823),k(1695183700,2343527390),k(1986661051,1014477480),k(2177026350,1206759142),k(2456956037,344077627),k(2730485921,1290863460),k(2820302411,3158454273),k(3259730800,3505952657),k(3345764771,106217008),k(3516065817,3606008344),k(3600352804,1432725776),k(4094571909,1467031594),k(275423344,851169720),k(430227734,3100823752),k(506948616,1363258195),k(659060556,3750685593),k(883997877,3785050280),k(958139571,3318307427),k(1322822218,3812723403),k(1537002063,2003034995),k(1747873779,3602036899),k(1955562222,1575990012),k(2024104815,1125592928),k(2227730452,2716904306),k(2361852424,442776044),k(2428436474,593698344),k(2756734187,3733110249),k(3204031479,2999351573),k(3329325298,3815920427),k(3391569614,3928383900),k(3515267271,566280711),k(3940187606,3454069534),k(4118630271,4000239992),k(116418474,1914138554),k(174292421,2731055270),k(289380356,3203993006),k(460393269,320620315),k(685471733,587496836),k(852142971,1086792851),k(1017036298,365543100),k(1126000580,2618297676),k(1288033470,3409855158),k(1501505948,4234509866),k(1607167915,987167468),k(1816402316,1246189591)],Ve=[],Me=0;80>Me;Me++)Ve[Me]=k();me=me.SHA512=Z.extend({_doReset:function(){this._hash=new ie.init([new X.init(1779033703,4089235720),new X.init(3144134277,2227873595),new X.init(1013904242,4271175723),new X.init(2773480762,1595750129),new X.init(1359893119,2917565137),new X.init(2600822924,725511199),new X.init(528734635,4215389547),new X.init(1541459225,327033209)])},_doProcessBlock:function($e,Ge){for(var We=(Ke=this._hash.words)[0],nt=Ke[1],d=Ke[2],gt=Ke[3],Et=Ke[4],Ee=Ke[5],ze=Ke[6],Ke=Ke[7],Xe=We.high,yt=We.low,At=nt.high,Wt=nt.low,jt=d.high,Bn=d.low,en=gt.high,gn=gt.low,or=Et.high,hr=Et.low,gr=Ee.high,ii=Ee.low,Yr=ze.high,jr=ze.low,Ze=Ke.high,lt=Ke.low,ct=Xe,wt=yt,Ft=At,Rt=Wt,J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0?1:0))+((cr=Yn+ei|0)>>>0<Yn>>>0?1:0)|0,Sn=Jt,Yn=vn,Jt=Ft,vn=Rt,Ft=ct,Rt=wt,ct=eo+(Ea=pa+Ea+((Cr=ja+Tu)>>>0<ja>>>0?1:0))+((wt=ei+Cr|0)>>>0<ei>>>0?1:0)|0}yt=We.low=yt+wt,We.high=Xe+ct+(yt>>>0<wt>>>0?1:0),Wt=nt.low=Wt+Rt,nt.high=At+Ft+(Wt>>>0<Rt>>>0?1:0),Bn=d.low=Bn+vn,d.high=jt+Jt+(Bn>>>0<vn>>>0?1:0),gn=gt.low=gn+Yn,gt.high=en+Sn+(gn>>>0<Yn>>>0?1:0),hr=Et.low=hr+cr,Et.high=or+In+(hr>>>0<cr>>>0?1:0),ii=Ee.low=ii+Mr,Ee.high=gr+ai+(ii>>>0<Mr>>>0?1:0),jr=ze.low=jr+Ci,ze.high=Yr+Jr+(jr>>>0<Ci>>>0?1:0),lt=Ke.low=lt+tr,Ke.high=Ze+$r+(lt>>>0<tr>>>0?1:0)},_doFinalize:function(){var $e=this._data,Ge=$e.words,We=8*this._nDataBytes,nt=8*$e.sigBytes;return Ge[nt>>>5]|=128<<24-nt%32,Ge[30+(nt+128>>>10<<5)]=Math.floor(We/4294967296),Ge[31+(nt+128>>>10<<5)]=We,$e.sigBytes=4*Ge.length,this._process(),this._hash.toX32()},clone:function(){var $e=Z.clone.call(this);return $e._hash=this._hash.clone(),$e},blockSize:32}),A.SHA512=Z._createHelper(me),A.HmacSHA512=Z._createHmacHelper(me)}(),function(){var k=U,A=(ie=k.x64).Word,Z=ie.WordArray,X=(ie=k.algo).SHA512,ie=ie.SHA384=X.extend({_doReset:function(){this._hash=new Z.init([new A.init(3418070365,3238371032),new A.init(1654270250,914150663),new A.init(2438529370,812702999),new A.init(355462360,4144912697),new A.init(1731405415,4290775857),new A.init(2394180231,1750603025),new A.init(3675008525,1694076839),new A.init(1203062813,3204075428)])},_doFinalize:function(){var Pe=X._doFinalize.call(this);return Pe.sigBytes-=16,Pe}});k.SHA384=X._createHelper(ie),k.HmacSHA384=X._createHmacHelper(ie)}();var W,Y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function ae(k){var A,Z,X="";for(A=0;A+3<=k.length;A+=3)Z=parseInt(k.substring(A,A+3),16),X+=Y.charAt(Z>>6)+Y.charAt(63&Z);for(A+1==k.length?(Z=parseInt(k.substring(A,A+1),16),X+=Y.charAt(Z<<2)):A+2==k.length&&(Z=parseInt(k.substring(A,A+2),16),X+=Y.charAt(Z>>2)+Y.charAt((3&Z)<<4));(3&X.length)>0;)X+="=";return X}function ve(k){var A,Z,X,ie="",me=0;for(A=0;A<k.length&&"="!=k.charAt(A);++A)(X=Y.indexOf(k.charAt(A)))<0||(0==me?(ie+=L(X>>2),Z=3&X,me=1):1==me?(ie+=L(Z<<2|X>>4),Z=15&X,me=2):2==me?(ie+=L(Z),ie+=L(X>>2),Z=3&X,me=3):(ie+=L(Z<<2|X>>4),ie+=L(15&X),me=0));return 1==me&&(ie+=L(Z<<2)),ie}function _e(k){var A,Z=ve(k),X=new Array;for(A=0;2*A<Z.length;++A)X[A]=parseInt(Z.substring(2*A,2*A+2),16);return X}function he(k,A,Z){null!=k&&("number"==typeof k?this.fromNumber(k,A,Z):this.fromString(k,null==A&&"string"!=typeof k?256:A))}function x(){return new he(null)}"Microsoft Internet Explorer"==r.appName?(he.prototype.am=function(A,Z,X,ie,me,Pe){for(var Ve=32767&Z,Me=Z>>15;--Pe>=0;){var Be=32767&this[A],$e=this[A++]>>15,Ge=Me*Be+$e*Ve;me=((Be=Ve*Be+((32767&Ge)<<15)+X[ie]+(1073741823&me))>>>30)+(Ge>>>15)+Me*$e+(me>>>30),X[ie++]=1073741823&Be}return me},W=30):"Netscape"!=r.appName?(he.prototype.am=function(A,Z,X,ie,me,Pe){for(;--Pe>=0;){var Ve=Z*this[A++]+X[ie]+me;me=Math.floor(Ve/67108864),X[ie++]=67108863&Ve}return me},W=26):(he.prototype.am=function(A,Z,X,ie,me,Pe){for(var Ve=16383&Z,Me=Z>>14;--Pe>=0;){var Be=16383&this[A],$e=this[A++]>>14,Ge=Me*Be+$e*Ve;me=((Be=Ve*Be+((16383&Ge)<<14)+X[ie]+me)>>28)+(Ge>>14)+Me*$e,X[ie++]=268435455&Be}return me},W=28),he.prototype.DB=W,he.prototype.DM=(1<<W)-1,he.prototype.DV=1<<W,he.prototype.FV=Math.pow(2,52),he.prototype.F1=52-W,he.prototype.F2=2*W-52;var R,E,I=new Array;for(R="0".charCodeAt(0),E=0;E<=9;++E)I[R++]=E;for(R="a".charCodeAt(0),E=10;E<36;++E)I[R++]=E;for(R="A".charCodeAt(0),E=10;E<36;++E)I[R++]=E;function L(k){return"0123456789abcdefghijklmnopqrstuvwxyz".charAt(k)}function D(k,A){return I[k.charCodeAt(A)]??-1}function Q(k){var A=x();return A.fromInt(k),A}function te(k){var A,Z=1;return 0!=(A=k>>>16)&&(k=A,Z+=16),0!=(A=k>>8)&&(k=A,Z+=8),0!=(A=k>>4)&&(k=A,Z+=4),0!=(A=k>>2)&&(k=A,Z+=2),0!=(A=k>>1)&&(k=A,Z+=1),Z}function Re(k){this.m=k}function ne(k){this.m=k,this.mp=k.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<k.DB-15)-1,this.mt2=2*k.t}function Fe(k,A){return k&A}function rt(k,A){return k|A}function Te(k,A){return k^A}function tt(k,A){return k&~A}function Qe(k){if(0==k)return-1;var A=0;return!(65535&k)&&(k>>=16,A+=16),!(255&k)&&(k>>=8,A+=8),!(15&k)&&(k>>=4,A+=4),!(3&k)&&(k>>=2,A+=2),!(1&k)&&++A,A}function vt(k){for(var A=0;0!=k;)k&=k-1,++A;return A}function et(){}function je(k){return k}function it(k){this.r2=x(),this.q3=x(),he.ONE.dlShiftTo(2*k.t,this.r2),this.mu=this.r2.divide(k),this.m=k}Re.prototype.convert=function(A){return A.s<0||A.compareTo(this.m)>=0?A.mod(this.m):A},Re.prototype.revert=function(A){return A},Re.prototype.reduce=function(A){A.divRemTo(this.m,null,A)},Re.prototype.mulTo=function(A,Z,X){A.multiplyTo(Z,X),this.reduce(X)},Re.prototype.sqrTo=function(A,Z){A.squareTo(Z),this.reduce(Z)},ne.prototype.convert=function(A){var Z=x();return A.abs().dlShiftTo(this.m.t,Z),Z.divRemTo(this.m,null,Z),A.s<0&&Z.compareTo(he.ZERO)>0&&this.m.subTo(Z,Z),Z},ne.prototype.revert=function(A){var Z=x();return A.copyTo(Z),this.reduce(Z),Z},ne.prototype.reduce=function(A){for(;A.t<=this.mt2;)A[A.t++]=0;for(var Z=0;Z<this.m.t;++Z){var X=32767&A[Z],ie=X*this.mpl+((X*this.mph+(A[Z]>>15)*this.mpl&this.um)<<15)&A.DM;for(A[X=Z+this.m.t]+=this.m.am(0,ie,A,Z,0,this.m.t);A[X]>=A.DV;)A[X]-=A.DV,A[++X]++}A.clamp(),A.drShiftTo(this.m.t,A),A.compareTo(this.m)>=0&&A.subTo(this.m,A)},ne.prototype.mulTo=function(A,Z,X){A.multiplyTo(Z,X),this.reduce(X)},ne.prototype.sqrTo=function(A,Z){A.squareTo(Z),this.reduce(Z)},he.prototype.copyTo=function(A){for(var Z=this.t-1;Z>=0;--Z)A[Z]=this[Z];A.t=this.t,A.s=this.s},he.prototype.fromInt=function(A){this.t=1,this.s=A<0?-1:0,A>0?this[0]=A:A<-1?this[0]=A+this.DV:this.t=0},he.prototype.fromString=function(A,Z){var X;if(16==Z)X=4;else if(8==Z)X=3;else if(256==Z)X=8;else if(2==Z)X=1;else if(32==Z)X=5;else{if(4!=Z)return void this.fromRadix(A,Z);X=2}this.t=0,this.s=0;for(var ie=A.length,me=!1,Pe=0;--ie>=0;){var Ve=8==X?255&A[ie]:D(A,ie);Ve<0?"-"==A.charAt(ie)&&(me=!0):(me=!1,0==Pe?this[this.t++]=Ve:Pe+X>this.DB?(this[this.t-1]|=(Ve&(1<<this.DB-Pe)-1)<<Pe,this[this.t++]=Ve>>this.DB-Pe):this[this.t-1]|=Ve<<Pe,(Pe+=X)>=this.DB&&(Pe-=this.DB))}8==X&&128&A[0]&&(this.s=-1,Pe>0&&(this[this.t-1]|=(1<<this.DB-Pe)-1<<Pe)),this.clamp(),me&&he.ZERO.subTo(this,this)},he.prototype.clamp=function(){for(var A=this.s&this.DM;this.t>0&&this[this.t-1]==A;)--this.t},he.prototype.dlShiftTo=function(A,Z){var X;for(X=this.t-1;X>=0;--X)Z[X+A]=this[X];for(X=A-1;X>=0;--X)Z[X]=0;Z.t=this.t+A,Z.s=this.s},he.prototype.drShiftTo=function(A,Z){for(var X=A;X<this.t;++X)Z[X-A]=this[X];Z.t=Math.max(this.t-A,0),Z.s=this.s},he.prototype.lShiftTo=function(A,Z){var X,ie=A%this.DB,me=this.DB-ie,Pe=(1<<me)-1,Ve=Math.floor(A/this.DB),Me=this.s<<ie&this.DM;for(X=this.t-1;X>=0;--X)Z[X+Ve+1]=this[X]>>me|Me,Me=(this[X]&Pe)<<ie;for(X=Ve-1;X>=0;--X)Z[X]=0;Z[Ve]=Me,Z.t=this.t+Ve+1,Z.s=this.s,Z.clamp()},he.prototype.rShiftTo=function(A,Z){Z.s=this.s;var X=Math.floor(A/this.DB);if(X>=this.t)Z.t=0;else{var ie=A%this.DB,me=this.DB-ie,Pe=(1<<ie)-1;Z[0]=this[X]>>ie;for(var Ve=X+1;Ve<this.t;++Ve)Z[Ve-X-1]|=(this[Ve]&Pe)<<me,Z[Ve-X]=this[Ve]>>ie;ie>0&&(Z[this.t-X-1]|=(this.s&Pe)<<me),Z.t=this.t-X,Z.clamp()}},he.prototype.subTo=function(A,Z){for(var X=0,ie=0,me=Math.min(A.t,this.t);X<me;)ie+=this[X]-A[X],Z[X++]=ie&this.DM,ie>>=this.DB;if(A.t<this.t){for(ie-=A.s;X<this.t;)ie+=this[X],Z[X++]=ie&this.DM,ie>>=this.DB;ie+=this.s}else{for(ie+=this.s;X<A.t;)ie-=A[X],Z[X++]=ie&this.DM,ie>>=this.DB;ie-=A.s}Z.s=ie<0?-1:0,ie<-1?Z[X++]=this.DV+ie:ie>0&&(Z[X++]=ie),Z.t=X,Z.clamp()},he.prototype.multiplyTo=function(A,Z){var X=this.abs(),ie=A.abs(),me=X.t;for(Z.t=me+ie.t;--me>=0;)Z[me]=0;for(me=0;me<ie.t;++me)Z[me+X.t]=X.am(0,ie[me],Z,me,0,X.t);Z.s=0,Z.clamp(),this.s!=A.s&&he.ZERO.subTo(Z,Z)},he.prototype.squareTo=function(A){for(var Z=this.abs(),X=A.t=2*Z.t;--X>=0;)A[X]=0;for(X=0;X<Z.t-1;++X){var ie=Z.am(X,Z[X],A,2*X,0,1);(A[X+Z.t]+=Z.am(X+1,2*Z[X],A,2*X+1,ie,Z.t-X-1))>=Z.DV&&(A[X+Z.t]-=Z.DV,A[X+Z.t+1]=1)}A.t>0&&(A[A.t-1]+=Z.am(X,Z[X],A,2*X,0,1)),A.s=0,A.clamp()},he.prototype.divRemTo=function(A,Z,X){var ie=A.abs();if(!(ie.t<=0)){var me=this.abs();if(me.t<ie.t)return Z?.fromInt(0),void(null!=X&&this.copyTo(X));null==X&&(X=x());var Pe=x(),Ve=this.s,Me=A.s,Be=this.DB-te(ie[ie.t-1]);Be>0?(ie.lShiftTo(Be,Pe),me.lShiftTo(Be,X)):(ie.copyTo(Pe),me.copyTo(X));var $e=Pe.t,Ge=Pe[$e-1];if(0!=Ge){var We=Ge*(1<<this.F1)+($e>1?Pe[$e-2]>>this.F2:0),nt=this.FV/We,d=(1<<this.F1)/We,gt=1<<this.F2,Et=X.t,Ee=Et-$e,ze=Z??x();for(Pe.dlShiftTo(Ee,ze),X.compareTo(ze)>=0&&(X[X.t++]=1,X.subTo(ze,X)),he.ONE.dlShiftTo($e,ze),ze.subTo(Pe,Pe);Pe.t<$e;)Pe[Pe.t++]=0;for(;--Ee>=0;){var Ke=X[--Et]==Ge?this.DM:Math.floor(X[Et]*nt+(X[Et-1]+gt)*d);if((X[Et]+=Pe.am(0,Ke,X,Ee,0,$e))<Ke)for(Pe.dlShiftTo(Ee,ze),X.subTo(ze,X);X[Et]<--Ke;)X.subTo(ze,X)}null!=Z&&(X.drShiftTo($e,Z),Ve!=Me&&he.ZERO.subTo(Z,Z)),X.t=$e,X.clamp(),Be>0&&X.rShiftTo(Be,X),Ve<0&&he.ZERO.subTo(X,X)}}},he.prototype.invDigit=function(){if(this.t<1)return 0;var A=this[0];if(!(1&A))return 0;var Z=3&A;return(Z=(Z=(Z=(Z=Z*(2-(15&A)*Z)&15)*(2-(255&A)*Z)&255)*(2-((65535&A)*Z&65535))&65535)*(2-A*Z%this.DV)%this.DV)>0?this.DV-Z:-Z},he.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},he.prototype.exp=function(A,Z){if(A>4294967295||A<1)return he.ONE;var X=x(),ie=x(),me=Z.convert(this),Pe=te(A)-1;for(me.copyTo(X);--Pe>=0;)if(Z.sqrTo(X,ie),(A&1<<Pe)>0)Z.mulTo(ie,me,X);else{var Ve=X;X=ie,ie=Ve}return Z.revert(X)},he.prototype.toString=function(A){if(this.s<0)return"-"+this.negate().toString(A);var Z;if(16==A)Z=4;else if(8==A)Z=3;else if(2==A)Z=1;else if(32==A)Z=5;else{if(4!=A)return this.toRadix(A);Z=2}var X,ie=(1<<Z)-1,me=!1,Pe="",Ve=this.t,Me=this.DB-Ve*this.DB%Z;if(Ve-- >0)for(Me<this.DB&&(X=this[Ve]>>Me)>0&&(me=!0,Pe=L(X));Ve>=0;)Me<Z?(X=(this[Ve]&(1<<Me)-1)<<Z-Me,X|=this[--Ve]>>(Me+=this.DB-Z)):(X=this[Ve]>>(Me-=Z)&ie,Me<=0&&(Me+=this.DB,--Ve)),X>0&&(me=!0),me&&(Pe+=L(X));return me?Pe:"0"},he.prototype.negate=function(){var A=x();return he.ZERO.subTo(this,A),A},he.prototype.abs=function(){return this.s<0?this.negate():this},he.prototype.compareTo=function(A){var Z=this.s-A.s;if(0!=Z)return Z;var X=this.t;if(0!=(Z=X-A.t))return this.s<0?-Z:Z;for(;--X>=0;)if(0!=(Z=this[X]-A[X]))return Z;return 0},he.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+te(this[this.t-1]^this.s&this.DM)},he.prototype.mod=function(A){var Z=x();return this.abs().divRemTo(A,null,Z),this.s<0&&Z.compareTo(he.ZERO)>0&&A.subTo(Z,Z),Z},he.prototype.modPowInt=function(A,Z){var X;return X=A<256||Z.isEven()?new Re(Z):new ne(Z),this.exp(A,X)},he.ZERO=Q(0),he.ONE=Q(1),et.prototype.convert=je,et.prototype.revert=je,et.prototype.mulTo=function(A,Z,X){A.multiplyTo(Z,X)},et.prototype.sqrTo=function(A,Z){A.squareTo(Z)},it.prototype.convert=function(A){if(A.s<0||A.t>2*this.m.t)return A.mod(this.m);if(A.compareTo(this.m)<0)return A;var Z=x();return A.copyTo(Z),this.reduce(Z),Z},it.prototype.revert=function(A){return A},it.prototype.reduce=function(A){for(A.drShiftTo(this.m.t-1,this.r2),A.t>this.m.t+1&&(A.t=this.m.t+1,A.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);A.compareTo(this.r2)<0;)A.dAddOffset(1,this.m.t+1);for(A.subTo(this.r2,A);A.compareTo(this.m)>=0;)A.subTo(this.m,A)},it.prototype.mulTo=function(A,Z,X){A.multiplyTo(Z,X),this.reduce(X)},it.prototype.sqrTo=function(A,Z){A.squareTo(Z),this.reduce(Z)};var Ae,Ne,pe,de=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],J=(1<<26)/de[de.length-1];function oe(){this.i=0,this.j=0,this.S=new Array}function xe(){!function(A){Ne[pe++]^=255&A,Ne[pe++]^=A>>8&255,Ne[pe++]^=A>>16&255,Ne[pe++]^=A>>24&255,pe>=256&&(pe-=256)}((new Date).getTime())}if(he.prototype.chunkSize=function(A){return Math.floor(Math.LN2*this.DB/Math.log(A))},he.prototype.toRadix=function(A){if(null==A&&(A=10),0==this.signum()||A<2||A>36)return"0";var Z=this.chunkSize(A),X=Math.pow(A,Z),ie=Q(X),me=x(),Pe=x(),Ve="";for(this.divRemTo(ie,me,Pe);me.signum()>0;)Ve=(X+Pe.intValue()).toString(A).substr(1)+Ve,me.divRemTo(ie,me,Pe);return Pe.intValue().toString(A)+Ve},he.prototype.fromRadix=function(A,Z){this.fromInt(0),null==Z&&(Z=10);for(var X=this.chunkSize(Z),ie=Math.pow(Z,X),me=!1,Pe=0,Ve=0,Me=0;Me<A.length;++Me){var Be=D(A,Me);Be<0?"-"==A.charAt(Me)&&0==this.signum()&&(me=!0):(Ve=Z*Ve+Be,++Pe>=X&&(this.dMultiply(ie),this.dAddOffset(Ve,0),Pe=0,Ve=0))}Pe>0&&(this.dMultiply(Math.pow(Z,Pe)),this.dAddOffset(Ve,0)),me&&he.ZERO.subTo(this,this)},he.prototype.fromNumber=function(A,Z,X){if("number"==typeof Z)if(A<2)this.fromInt(1);else for(this.fromNumber(A,X),this.testBit(A-1)||this.bitwiseTo(he.ONE.shiftLeft(A-1),rt,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(Z);)this.dAddOffset(2,0),this.bitLength()>A&&this.subTo(he.ONE.shiftLeft(A-1),this);else{var ie=new Array,me=7&A;ie.length=1+(A>>3),Z.nextBytes(ie),me>0?ie[0]&=(1<<me)-1:ie[0]=0,this.fromString(ie,256)}},he.prototype.bitwiseTo=function(A,Z,X){var ie,me,Pe=Math.min(A.t,this.t);for(ie=0;ie<Pe;++ie)X[ie]=Z(this[ie],A[ie]);if(A.t<this.t){for(me=A.s&this.DM,ie=Pe;ie<this.t;++ie)X[ie]=Z(this[ie],me);X.t=this.t}else{for(me=this.s&this.DM,ie=Pe;ie<A.t;++ie)X[ie]=Z(me,A[ie]);X.t=A.t}X.s=Z(this.s,A.s),X.clamp()},he.prototype.changeBit=function(A,Z){var X=he.ONE.shiftLeft(A);return this.bitwiseTo(X,Z,X),X},he.prototype.addTo=function(A,Z){for(var X=0,ie=0,me=Math.min(A.t,this.t);X<me;)ie+=this[X]+A[X],Z[X++]=ie&this.DM,ie>>=this.DB;if(A.t<this.t){for(ie+=A.s;X<this.t;)ie+=this[X],Z[X++]=ie&this.DM,ie>>=this.DB;ie+=this.s}else{for(ie+=this.s;X<A.t;)ie+=A[X],Z[X++]=ie&this.DM,ie>>=this.DB;ie+=A.s}Z.s=ie<0?-1:0,ie>0?Z[X++]=ie:ie<-1&&(Z[X++]=this.DV+ie),Z.t=X,Z.clamp()},he.prototype.dMultiply=function(A){this[this.t]=this.am(0,A-1,this,0,0,this.t),++this.t,this.clamp()},he.prototype.dAddOffset=function(A,Z){if(0!=A){for(;this.t<=Z;)this[this.t++]=0;for(this[Z]+=A;this[Z]>=this.DV;)this[Z]-=this.DV,++Z>=this.t&&(this[this.t++]=0),++this[Z]}},he.prototype.multiplyLowerTo=function(A,Z,X){var ie,me=Math.min(this.t+A.t,Z);for(X.s=0,X.t=me;me>0;)X[--me]=0;for(ie=X.t-this.t;me<ie;++me)X[me+this.t]=this.am(0,A[me],X,me,0,this.t);for(ie=Math.min(A.t,Z);me<ie;++me)this.am(0,A[me],X,me,0,Z-me);X.clamp()},he.prototype.multiplyUpperTo=function(A,Z,X){--Z;var ie=X.t=this.t+A.t-Z;for(X.s=0;--ie>=0;)X[ie]=0;for(ie=Math.max(Z-this.t,0);ie<A.t;++ie)X[this.t+ie-Z]=this.am(Z-ie,A[ie],X,0,0,this.t+ie-Z);X.clamp(),X.drShiftTo(1,X)},he.prototype.modInt=function(A){if(A<=0)return 0;var Z=this.DV%A,X=this.s<0?A-1:0;if(this.t>0)if(0==Z)X=this[0]%A;else for(var ie=this.t-1;ie>=0;--ie)X=(Z*X+this[ie])%A;return X},he.prototype.millerRabin=function(A){var Z=this.subtract(he.ONE),X=Z.getLowestSetBit();if(X<=0)return!1;var ie=Z.shiftRight(X);(A=A+1>>1)>de.length&&(A=de.length);for(var me=x(),Pe=0;Pe<A;++Pe){me.fromInt(de[Math.floor(Math.random()*de.length)]);var Ve=me.modPow(ie,this);if(0!=Ve.compareTo(he.ONE)&&0!=Ve.compareTo(Z)){for(var Me=1;Me++<X&&0!=Ve.compareTo(Z);)if(0==(Ve=Ve.modPowInt(2,this)).compareTo(he.ONE))return!1;if(0!=Ve.compareTo(Z))return!1}}return!0},he.prototype.clone= +/*! (c) Tom Wu | http://www-cs-students.stanford.edu/~tjw/jsbn/ + */ +function(){var A=x();return this.copyTo(A),A},he.prototype.intValue=function(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]},he.prototype.byteValue=function(){return 0==this.t?this.s:this[0]<<24>>24},he.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},he.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},he.prototype.toByteArray=function(){var A=this.t,Z=new Array;Z[0]=this.s;var X,ie=this.DB-A*this.DB%8,me=0;if(A-- >0)for(ie<this.DB&&(X=this[A]>>ie)!=(this.s&this.DM)>>ie&&(Z[me++]=X|this.s<<this.DB-ie);A>=0;)ie<8?(X=(this[A]&(1<<ie)-1)<<8-ie,X|=this[--A]>>(ie+=this.DB-8)):(X=this[A]>>(ie-=8)&255,ie<=0&&(ie+=this.DB,--A)),128&X&&(X|=-256),0==me&&(128&this.s)!=(128&X)&&++me,(me>0||X!=this.s)&&(Z[me++]=X);return Z},he.prototype.equals=function(A){return 0==this.compareTo(A)},he.prototype.min=function(A){return this.compareTo(A)<0?this:A},he.prototype.max=function(A){return this.compareTo(A)>0?this:A},he.prototype.and=function(A){var Z=x();return this.bitwiseTo(A,Fe,Z),Z},he.prototype.or=function(A){var Z=x();return this.bitwiseTo(A,rt,Z),Z},he.prototype.xor=function(A){var Z=x();return this.bitwiseTo(A,Te,Z),Z},he.prototype.andNot=function(A){var Z=x();return this.bitwiseTo(A,tt,Z),Z},he.prototype.not=function(){for(var A=x(),Z=0;Z<this.t;++Z)A[Z]=this.DM&~this[Z];return A.t=this.t,A.s=~this.s,A},he.prototype.shiftLeft=function(A){var Z=x();return A<0?this.rShiftTo(-A,Z):this.lShiftTo(A,Z),Z},he.prototype.shiftRight=function(A){var Z=x();return A<0?this.lShiftTo(-A,Z):this.rShiftTo(A,Z),Z},he.prototype.getLowestSetBit=function(){for(var A=0;A<this.t;++A)if(0!=this[A])return A*this.DB+Qe(this[A]);return this.s<0?this.t*this.DB:-1},he.prototype.bitCount=function(){for(var A=0,Z=this.s&this.DM,X=0;X<this.t;++X)A+=vt(this[X]^Z);return A},he.prototype.testBit=function(A){var Z=Math.floor(A/this.DB);return Z>=this.t?0!=this.s:0!=(this[Z]&1<<A%this.DB)},he.prototype.setBit=function(A){return this.changeBit(A,rt)},he.prototype.clearBit=function(A){return this.changeBit(A,tt)},he.prototype.flipBit=function(A){return this.changeBit(A,Te)},he.prototype.add=function(A){var Z=x();return this.addTo(A,Z),Z},he.prototype.subtract=function(A){var Z=x();return this.subTo(A,Z),Z},he.prototype.multiply=function(A){var Z=x();return this.multiplyTo(A,Z),Z},he.prototype.divide=function(A){var Z=x();return this.divRemTo(A,Z,null),Z},he.prototype.remainder=function(A){var Z=x();return this.divRemTo(A,null,Z),Z},he.prototype.divideAndRemainder=function(A){var Z=x(),X=x();return this.divRemTo(A,Z,X),new Array(Z,X)},he.prototype.modPow=function(A,Z){var X,ie,me=A.bitLength(),Pe=Q(1);if(me<=0)return Pe;X=me<18?1:me<48?3:me<144?4:me<768?5:6,ie=me<8?new Re(Z):Z.isEven()?new it(Z):new ne(Z);var Ve=new Array,Me=3,Be=X-1,$e=(1<<X)-1;if(Ve[1]=ie.convert(this),X>1){var Ge=x();for(ie.sqrTo(Ve[1],Ge);Me<=$e;)Ve[Me]=x(),ie.mulTo(Ge,Ve[Me-2],Ve[Me]),Me+=2}var We,nt,d=A.t-1,gt=!0,Et=x();for(me=te(A[d])-1;d>=0;){for(me>=Be?We=A[d]>>me-Be&$e:(We=(A[d]&(1<<me+1)-1)<<Be-me,d>0&&(We|=A[d-1]>>this.DB+me-Be)),Me=X;!(1&We);)We>>=1,--Me;if((me-=Me)<0&&(me+=this.DB,--d),gt)Ve[We].copyTo(Pe),gt=!1;else{for(;Me>1;)ie.sqrTo(Pe,Et),ie.sqrTo(Et,Pe),Me-=2;Me>0?ie.sqrTo(Pe,Et):(nt=Pe,Pe=Et,Et=nt),ie.mulTo(Et,Ve[We],Pe)}for(;d>=0&&!(A[d]&1<<me);)ie.sqrTo(Pe,Et),nt=Pe,Pe=Et,Et=nt,--me<0&&(me=this.DB-1,--d)}return ie.revert(Pe)},he.prototype.modInverse=function(A){var Z=A.isEven();if(this.isEven()&&Z||0==A.signum())return he.ZERO;for(var X=A.clone(),ie=this.clone(),me=Q(1),Pe=Q(0),Ve=Q(0),Me=Q(1);0!=X.signum();){for(;X.isEven();)X.rShiftTo(1,X),Z?(me.isEven()&&Pe.isEven()||(me.addTo(this,me),Pe.subTo(A,Pe)),me.rShiftTo(1,me)):Pe.isEven()||Pe.subTo(A,Pe),Pe.rShiftTo(1,Pe);for(;ie.isEven();)ie.rShiftTo(1,ie),Z?(Ve.isEven()&&Me.isEven()||(Ve.addTo(this,Ve),Me.subTo(A,Me)),Ve.rShiftTo(1,Ve)):Me.isEven()||Me.subTo(A,Me),Me.rShiftTo(1,Me);X.compareTo(ie)>=0?(X.subTo(ie,X),Z&&me.subTo(Ve,me),Pe.subTo(Me,Pe)):(ie.subTo(X,ie),Z&&Ve.subTo(me,Ve),Me.subTo(Pe,Me))}return 0!=ie.compareTo(he.ONE)?he.ZERO:Me.compareTo(A)>=0?Me.subtract(A):Me.signum()<0?(Me.addTo(A,Me),Me.signum()<0?Me.add(A):Me):Me},he.prototype.pow=function(A){return this.exp(A,new et)},he.prototype.gcd=function(A){var Z=this.s<0?this.negate():this.clone(),X=A.s<0?A.negate():A.clone();if(Z.compareTo(X)<0){var ie=Z;Z=X,X=ie}var me=Z.getLowestSetBit(),Pe=X.getLowestSetBit();if(Pe<0)return Z;for(me<Pe&&(Pe=me),Pe>0&&(Z.rShiftTo(Pe,Z),X.rShiftTo(Pe,X));Z.signum()>0;)(me=Z.getLowestSetBit())>0&&Z.rShiftTo(me,Z),(me=X.getLowestSetBit())>0&&X.rShiftTo(me,X),Z.compareTo(X)>=0?(Z.subTo(X,Z),Z.rShiftTo(1,Z)):(X.subTo(Z,X),X.rShiftTo(1,X));return Pe>0&&X.lShiftTo(Pe,X),X},he.prototype.isProbablePrime=function(A){var Z,X=this.abs();if(1==X.t&&X[0]<=de[de.length-1]){for(Z=0;Z<de.length;++Z)if(X[0]==de[Z])return!0;return!1}if(X.isEven())return!1;for(Z=1;Z<de.length;){for(var ie=de[Z],me=Z+1;me<de.length&&ie<J;)ie*=de[me++];for(ie=X.modInt(ie);Z<me;)if(ie%de[Z++]==0)return!1}return X.millerRabin(A)},he.prototype.square=function(){var A=x();return this.squareTo(A),A},oe.prototype.init=function(A){var Z,X,ie;for(Z=0;Z<256;++Z)this.S[Z]=Z;for(X=0,Z=0;Z<256;++Z)ie=this.S[Z],this.S[Z]=this.S[X=X+this.S[Z]+A[Z%A.length]&255],this.S[X]=ie;this.i=0,this.j=0},oe.prototype.next=function(){var A;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,A=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=A,this.S[A+this.S[this.i]&255]},null==Ne){var ut;if(Ne=new Array,pe=0,void 0!==y&&(void 0!==y.crypto||void 0!==y.msCrypto)){var be=y.crypto||y.msCrypto;if(be.getRandomValues){var ce=new Uint8Array(32);for(be.getRandomValues(ce),ut=0;ut<32;++ut)Ne[pe++]=ce[ut]}else if("Netscape"==r.appName&&r.appVersion<"5"){var le=y.crypto.random(32);for(ut=0;ut<le.length;++ut)Ne[pe++]=255&le.charCodeAt(ut)}}for(;pe<256;)ut=Math.floor(65536*Math.random()),Ne[pe++]=ut>>>8,Ne[pe++]=255&ut;pe=0,xe()}function Ie(){if(null==Ae){for(xe(),(Ae=new oe).init(Ne),pe=0;pe<Ne.length;++pe)Ne[pe]=0;pe=0}return Ae.next()}function at(){}function Tt(k,A){return new he(k,A)}function Vt(k,A,Z){for(var X="",ie=0;X.length<A;)X+=Z(String.fromCharCode.apply(String,k.concat([(4278190080&ie)>>24,(16711680&ie)>>16,(65280&ie)>>8,255&ie]))),ie+=1;return X}function zt(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}function un(k,A){this.x=A,this.q=k}function Xt(k,A,Z,X){this.curve=k,this.x=A,this.y=Z,this.z=X??he.ONE,this.zinv=null}function Kn(k,A,Z){this.q=k,this.a=this.fromBigInteger(A),this.b=this.fromBigInteger(Z),this.infinity=new Xt(this,null,null)}at.prototype.nextBytes=function(A){var Z;for(Z=0;Z<A.length;++Z)A[Z]=Ie()},zt.prototype.doPublic=function(A){return A.modPowInt(this.e,this.n)},zt.prototype.setPublic=function(A,Z){if(this.isPublic=!0,this.isPrivate=!1,"string"!=typeof A)this.n=A,this.e=Z;else{if(!(null!=A&&null!=Z&&A.length>0&&Z.length>0))throw"Invalid RSA public key";this.n=Tt(A,16),this.e=parseInt(Z,16)}},zt.prototype.encrypt=function(A){var Z=function(Pe,Ve){if(Ve<Pe.length+11)throw"Message too long for RSA";for(var Me=new Array,Be=Pe.length-1;Be>=0&&Ve>0;){var $e=Pe.charCodeAt(Be--);$e<128?Me[--Ve]=$e:$e>127&&$e<2048?(Me[--Ve]=63&$e|128,Me[--Ve]=$e>>6|192):(Me[--Ve]=63&$e|128,Me[--Ve]=$e>>6&63|128,Me[--Ve]=$e>>12|224)}Me[--Ve]=0;for(var Ge=new at,We=new Array;Ve>2;){for(We[0]=0;0==We[0];)Ge.nextBytes(We);Me[--Ve]=We[0]}return Me[--Ve]=2,Me[--Ve]=0,new he(Me)}(A,this.n.bitLength()+7>>3);if(null==Z)return null;var X=this.doPublic(Z);if(null==X)return null;var ie=X.toString(16);return 1&ie.length?"0"+ie:ie},zt.prototype.encryptOAEP=function(A,Z,X){var ie=function(Me,Be,$e,Ge){var We=De.crypto.MessageDigest,nt=De.crypto.Util,d=null;if($e||($e="sha1"),"string"==typeof $e&&(d=We.getCanonicalAlgName($e),Ge=We.getHashLength(d),$e=function(jt){return wn(nt.hashHex(kr(jt),d))}),Me.length+2*Ge+2>Be)throw"Message too long for RSA";var gt,Et="";for(gt=0;gt<Be-Me.length-2*Ge-2;gt+=1)Et+="\0";var Ee=$e("")+Et+"\x01"+Me,ze=new Array(Ge);(new at).nextBytes(ze);var Ke=Vt(ze,Ee.length,$e),Xe=[];for(gt=0;gt<Ee.length;gt+=1)Xe[gt]=Ee.charCodeAt(gt)^Ke.charCodeAt(gt);var yt=Vt(Xe,ze.length,$e),At=[0];for(gt=0;gt<ze.length;gt+=1)At[gt+1]=ze[gt]^yt.charCodeAt(gt);return new he(At.concat(Xe))}(A,this.n.bitLength()+7>>3,Z,X);if(null==ie)return null;var me=this.doPublic(ie);if(null==me)return null;var Pe=me.toString(16);return 1&Pe.length?"0"+Pe:Pe},zt.prototype.type="RSA",un.prototype.equals=function(A){return A==this||this.q.equals(A.q)&&this.x.equals(A.x)},un.prototype.toBigInteger=function(){return this.x},un.prototype.negate=function(){return new un(this.q,this.x.negate().mod(this.q))},un.prototype.add=function(A){return new un(this.q,this.x.add(A.toBigInteger()).mod(this.q))},un.prototype.subtract=function(A){return new un(this.q,this.x.subtract(A.toBigInteger()).mod(this.q))},un.prototype.multiply=function(A){return new un(this.q,this.x.multiply(A.toBigInteger()).mod(this.q))},un.prototype.square=function(){return new un(this.q,this.x.square().mod(this.q))},un.prototype.divide=function(A){return new un(this.q,this.x.multiply(A.toBigInteger().modInverse(this.q)).mod(this.q))},Xt.prototype.getX=function(){return null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q)),this.curve.fromBigInteger(this.x.toBigInteger().multiply(this.zinv).mod(this.curve.q))},Xt.prototype.getY=function(){return null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q)),this.curve.fromBigInteger(this.y.toBigInteger().multiply(this.zinv).mod(this.curve.q))},Xt.prototype.equals=function(A){return A==this||(this.isInfinity()?A.isInfinity():A.isInfinity()?this.isInfinity():!!A.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(A.z)).mod(this.curve.q).equals(he.ZERO)&&A.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(A.z)).mod(this.curve.q).equals(he.ZERO))},Xt.prototype.isInfinity=function(){return null==this.x&&null==this.y||this.z.equals(he.ZERO)&&!this.y.toBigInteger().equals(he.ZERO)},Xt.prototype.negate=function(){return new Xt(this.curve,this.x,this.y.negate(),this.z)},Xt.prototype.add=function(A){if(this.isInfinity())return A;if(A.isInfinity())return this;var Z=A.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(A.z)).mod(this.curve.q),X=A.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(A.z)).mod(this.curve.q);if(he.ZERO.equals(X))return he.ZERO.equals(Z)?this.twice():this.curve.getInfinity();var ie=new he("3"),me=this.x.toBigInteger(),Pe=this.y.toBigInteger(),Ve=(A.x.toBigInteger(),A.y.toBigInteger(),X.square()),Me=Ve.multiply(X),Be=me.multiply(Ve),$e=Z.square().multiply(this.z),Ge=$e.subtract(Be.shiftLeft(1)).multiply(A.z).subtract(Me).multiply(X).mod(this.curve.q),We=Be.multiply(ie).multiply(Z).subtract(Pe.multiply(Me)).subtract($e.multiply(Z)).multiply(A.z).add(Z.multiply(Me)).mod(this.curve.q),nt=Me.multiply(this.z).multiply(A.z).mod(this.curve.q);return new Xt(this.curve,this.curve.fromBigInteger(Ge),this.curve.fromBigInteger(We),nt)},Xt.prototype.twice=function(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var A=new he("3"),Z=this.x.toBigInteger(),X=this.y.toBigInteger(),ie=X.multiply(this.z),me=ie.multiply(X).mod(this.curve.q),Pe=this.curve.a.toBigInteger(),Ve=Z.square().multiply(A);he.ZERO.equals(Pe)||(Ve=Ve.add(this.z.square().multiply(Pe)));var Me=(Ve=Ve.mod(this.curve.q)).square().subtract(Z.shiftLeft(3).multiply(me)).shiftLeft(1).multiply(ie).mod(this.curve.q),Be=Ve.multiply(A).multiply(Z).subtract(me.shiftLeft(1)).shiftLeft(2).multiply(me).subtract(Ve.square().multiply(Ve)).mod(this.curve.q),$e=ie.square().multiply(ie).shiftLeft(3).mod(this.curve.q);return new Xt(this.curve,this.curve.fromBigInteger(Me),this.curve.fromBigInteger(Be),$e)},Xt.prototype.multiply=function(A){if(this.isInfinity())return this;if(0==A.signum())return this.curve.getInfinity();var Z,X=A,ie=X.multiply(new he("3")),me=this.negate(),Pe=this,Ve=this.curve.q.subtract(A),Me=Ve.multiply(new he("3")),Be=new Xt(this.curve,this.x,this.y),$e=Be.negate();for(Z=ie.bitLength()-2;Z>0;--Z){Pe=Pe.twice();var Ge=ie.testBit(Z);Ge!=X.testBit(Z)&&(Pe=Pe.add(Ge?this:me))}for(Z=Me.bitLength()-2;Z>0;--Z){Be=Be.twice();var We=Me.testBit(Z);We!=Ve.testBit(Z)&&(Be=Be.add(We?Be:$e))}return Pe},Xt.prototype.multiplyTwo=function(A,Z,X){var ie;ie=A.bitLength()>X.bitLength()?A.bitLength()-1:X.bitLength()-1;for(var me=this.curve.getInfinity(),Pe=this.add(Z);ie>=0;)me=me.twice(),A.testBit(ie)?me=X.testBit(ie)?me.add(Pe):me.add(this):X.testBit(ie)&&(me=me.add(Z)),--ie;return me},Kn.prototype.getQ=function(){return this.q},Kn.prototype.getA=function(){return this.a},Kn.prototype.getB=function(){return this.b},Kn.prototype.equals=function(A){return A==this||this.q.equals(A.q)&&this.a.equals(A.a)&&this.b.equals(A.b)},Kn.prototype.getInfinity=function(){return this.infinity},Kn.prototype.fromBigInteger=function(A){return new un(this.q,A)},Kn.prototype.decodePointHex=function(A){switch(parseInt(A.substr(0,2),16)){case 0:return this.infinity;case 2:case 3:default:return null;case 4:case 6:case 7:var Z=(A.length-2)/2,X=A.substr(2,Z),ie=A.substr(Z+2,Z);return new Xt(this,this.fromBigInteger(new he(X,16)),this.fromBigInteger(new he(ie,16)))}}, +/*! (c) Stefan Thomas | https://github.com/bitcoinjs/bitcoinjs-lib + */ +un.prototype.getByteLength=function(){return Math.floor((this.toBigInteger().bitLength()+7)/8)},Xt.prototype.getEncoded=function(k){var A=function(Pe,Ve){var Me=Pe.toByteArrayUnsigned();if(Ve<Me.length)Me=Me.slice(Me.length-Ve);else for(;Ve>Me.length;)Me.unshift(0);return Me},Z=this.getX().toBigInteger(),X=this.getY().toBigInteger(),ie=A(Z,32);return k?X.isEven()?ie.unshift(2):ie.unshift(3):(ie.unshift(4),ie=ie.concat(A(X,32))),ie},Xt.decodeFrom=function(k,A){var Z=A.length-1,X=A.slice(1,1+Z/2),ie=A.slice(1+Z/2,1+Z);X.unshift(0),ie.unshift(0);var me=new he(X),Pe=new he(ie);return new Xt(k,k.fromBigInteger(me),k.fromBigInteger(Pe))},Xt.decodeFromHex=function(k,A){A.substr(0,2);var Z=A.length-2,X=A.substr(2,Z/2),ie=A.substr(2+Z/2,Z/2),me=new he(X,16),Pe=new he(ie,16);return new Xt(k,k.fromBigInteger(me),k.fromBigInteger(Pe))},Xt.prototype.add2D=function(k){if(this.isInfinity())return k;if(k.isInfinity())return this;if(this.x.equals(k.x))return this.y.equals(k.y)?this.twice():this.curve.getInfinity();var A=k.x.subtract(this.x),Z=k.y.subtract(this.y).divide(A),X=Z.square().subtract(this.x).subtract(k.x),ie=Z.multiply(this.x.subtract(X)).subtract(this.y);return new Xt(this.curve,X,ie)},Xt.prototype.twice2D=function(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var k=this.curve.fromBigInteger(he.valueOf(2)),A=this.curve.fromBigInteger(he.valueOf(3)),Z=this.x.square().multiply(A).add(this.curve.a).divide(this.y.multiply(k)),X=Z.square().subtract(this.x.multiply(k)),ie=Z.multiply(this.x.subtract(X)).subtract(this.y);return new Xt(this.curve,X,ie)},Xt.prototype.multiply2D=function(k){if(this.isInfinity())return this;if(0==k.signum())return this.curve.getInfinity();var A,Z=k,X=Z.multiply(new he("3")),ie=this.negate(),me=this;for(A=X.bitLength()-2;A>0;--A){me=me.twice();var Pe=X.testBit(A);Pe!=Z.testBit(A)&&(me=me.add2D(Pe?this:ie))}return me},Xt.prototype.isOnCurve=function(){var k=this.getX().toBigInteger(),A=this.getY().toBigInteger(),Z=this.curve.getA().toBigInteger(),X=this.curve.getB().toBigInteger(),ie=this.curve.getQ(),me=A.multiply(A).mod(ie),Pe=k.multiply(k).multiply(k).add(Z.multiply(k)).add(X).mod(ie);return me.equals(Pe)},Xt.prototype.toString=function(){return"("+this.getX().toBigInteger().toString()+","+this.getY().toBigInteger().toString()+")"},Xt.prototype.validate=function(){var k=this.curve.getQ();if(this.isInfinity())throw new Error("Point is at infinity.");var A=this.getX().toBigInteger(),Z=this.getY().toBigInteger();if(A.compareTo(he.ONE)<0||A.compareTo(k.subtract(he.ONE))>0)throw new Error("x coordinate out of bounds");if(Z.compareTo(he.ONE)<0||Z.compareTo(k.subtract(he.ONE))>0)throw new Error("y coordinate out of bounds");if(!this.isOnCurve())throw new Error("Point is not on the curve.");if(this.multiply(k).isInfinity())throw new Error("Point is not a scalar multiple of G.");return!0};var Un=function(){var k=new RegExp('(?:false|true|null|[\\{\\}\\[\\]]|(?:-?\\b(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?\\b)|(?:"(?:[^\\0-\\x08\\x0a-\\x1f"\\\\]|\\\\(?:["/\\\\bfnrt]|u[0-9A-Fa-f]{4}))*"))',"g"),A=new RegExp("\\\\(?:([^u])|u(.{4}))","g"),Z={'"':'"',"/":"/","\\":"\\",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"};function X(Pe,Ve,Me){return Ve?Z[Ve]:String.fromCharCode(parseInt(Me,16))}var ie=new String(""),me=Object.hasOwnProperty;return function(Pe,Ve){var Me,Be,$e=Pe.match(k),Ge=$e[0],We=!1;"{"===Ge?Me={}:"["===Ge?Me=[]:(Me=[],We=!0);for(var nt=[Me],d=1-We,gt=$e.length;d<gt;++d){var Et;switch((Ge=$e[d]).charCodeAt(0)){default:(Et=nt[0])[Be||Et.length]=+Ge,Be=void 0;break;case 34:if(-1!==(Ge=Ge.substring(1,Ge.length-1)).indexOf("\\")&&(Ge=Ge.replace(A,X)),Et=nt[0],!Be){if(!(Et instanceof Array)){Be=Ge||ie;break}Be=Et.length}Et[Be]=Ge,Be=void 0;break;case 91:nt.unshift((Et=nt[0])[Be||Et.length]=[]),Be=void 0;break;case 93:case 125:nt.shift();break;case 102:(Et=nt[0])[Be||Et.length]=!1,Be=void 0;break;case 110:(Et=nt[0])[Be||Et.length]=null,Be=void 0;break;case 116:(Et=nt[0])[Be||Et.length]=!0,Be=void 0;break;case 123:nt.unshift((Et=nt[0])[Be||Et.length]={}),Be=void 0}}if(We){if(1!==nt.length)throw new Error;Me=Me[0]}else if(nt.length)throw new Error;return Ve&&(Me=function Ee(ze,Ke){var Xe=ze[Ke];if(Xe&&"object"===(void 0===Xe?"undefined":B(Xe))){var yt=null;for(var At in Xe)if(me.call(Xe,At)&&Xe!==ze){var Wt=Ee(Xe,At);void 0!==Wt?Xe[At]=Wt:(yt||(yt=[]),yt.push(At))}if(yt)for(var jt=yt.length;--jt>=0;)delete Xe[yt[jt]]}return Ve.call(ze,Ke,Xe)}({"":Me},"")),Me}}();void 0!==De&&De||(S.KJUR=De={}),void 0!==De.asn1&&De.asn1||(De.asn1={}),De.asn1.ASN1Util=new function(){this.integerToByteHex=function(k){var A=k.toString(16);return A.length%2==1&&(A="0"+A),A},this.bigIntToMinTwosComplementsHex=function(k){var A=k.toString(16);if("-"!=A.substr(0,1))A.length%2==1?A="0"+A:A.match(/^[0-7]/)||(A="00"+A);else{var Z=A.substr(1).length;Z%2==1?Z+=1:A.match(/^[0-7]/)||(Z+=2);for(var X="",ie=0;ie<Z;ie++)X+="f";A=new he(X,16).xor(k).add(he.ONE).toString(16).replace(/^-/,"")}return A},this.getPEMStringFromHex=function(k,A){return Lr(k,A)},this.newObject=function(k){var A=De.asn1,Z=A.ASN1Object,X=A.DERBoolean,ie=A.DERInteger,me=A.DERBitString,Pe=A.DEROctetString,Ve=A.DERNull,Me=A.DERObjectIdentifier,Be=A.DEREnumerated,$e=A.DERUTF8String,Ge=A.DERNumericString,We=A.DERPrintableString,nt=A.DERTeletexString,d=A.DERIA5String,gt=A.DERUTCTime,Et=A.DERGeneralizedTime,Ee=A.DERVisibleString,ze=A.DERBMPString,Ke=A.DERSequence,Xe=A.DERSet,yt=A.DERTaggedObject,At=A.ASN1Util.newObject;if(k instanceof A.ASN1Object)return k;var Wt=Object.keys(k);if(1!=Wt.length)throw new Error("key of param shall be only one.");var jt=Wt[0];if(-1==":asn1:bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:visstr:bmpstr:seq:set:tag:".indexOf(":"+jt+":"))throw new Error("undefined key: "+jt);if("bool"==jt)return new X(k[jt]);if("int"==jt)return new ie(k[jt]);if("bitstr"==jt)return new me(k[jt]);if("octstr"==jt)return new Pe(k[jt]);if("null"==jt)return new Ve(k[jt]);if("oid"==jt)return new Me(k[jt]);if("enum"==jt)return new Be(k[jt]);if("utf8str"==jt)return new $e(k[jt]);if("numstr"==jt)return new Ge(k[jt]);if("prnstr"==jt)return new We(k[jt]);if("telstr"==jt)return new nt(k[jt]);if("ia5str"==jt)return new d(k[jt]);if("utctime"==jt)return new gt(k[jt]);if("gentime"==jt)return new Et(k[jt]);if("visstr"==jt)return new Ee(k[jt]);if("bmpstr"==jt)return new ze(k[jt]);if("asn1"==jt)return new Z(k[jt]);if("seq"==jt){for(var Bn=k[jt],en=[],gn=0;gn<Bn.length;gn++){var or=At(Bn[gn]);en.push(or)}return new Ke({array:en})}if("set"==jt){for(Bn=k[jt],en=[],gn=0;gn<Bn.length;gn++)or=At(Bn[gn]),en.push(or);return new Xe({array:en})}if("tag"==jt){var hr=k[jt];if("[object Array]"===Object.prototype.toString.call(hr)&&3==hr.length){var gr=At(hr[2]);return new yt({tag:hr[0],explicit:hr[1],obj:gr})}return new yt(hr)}},this.jsonToASN1HEX=function(k){return this.newObject(k).getEncodedHex()}},De.asn1.ASN1Util.oidHexToInt=function(k){for(var A="",Z=parseInt(k.substr(0,2),16),X=(A=Math.floor(Z/40)+"."+Z%40,""),ie=2;ie<k.length;ie+=2){var me=("00000000"+parseInt(k.substr(ie,2),16).toString(2)).slice(-8);X+=me.substr(1,7),"0"==me.substr(0,1)&&(A=A+"."+new he(X,2).toString(10),X="")}return A},De.asn1.ASN1Util.oidIntToHex=function(k){var A=function(Me){var Be=Me.toString(16);return 1==Be.length&&(Be="0"+Be),Be},Z=function(Me){var Be="",$e=new he(Me,10).toString(2),Ge=7-$e.length%7;7==Ge&&(Ge=0);for(var We="",nt=0;nt<Ge;nt++)We+="0";for($e=We+$e,nt=0;nt<$e.length-1;nt+=7){var d=$e.substr(nt,7);nt!=$e.length-7&&(d="1"+d),Be+=A(parseInt(d,2))}return Be};if(!k.match(/^[0-9.]+$/))throw"malformed oid string: "+k;var X="",ie=k.split("."),me=40*parseInt(ie[0])+parseInt(ie[1]);X+=A(me),ie.splice(0,2);for(var Pe=0;Pe<ie.length;Pe++)X+=Z(ie[Pe]);return X},De.asn1.ASN1Object=function(k){this.params=null,this.getLengthHexFromValue=function(){if(void 0===this.hV||null==this.hV)throw new Error("this.hV is null or undefined");if(this.hV.length%2==1)throw new Error("value hex must be even length: n=0,v="+this.hV);var A=this.hV.length/2,Z=A.toString(16);if(Z.length%2==1&&(Z="0"+Z),A<128)return Z;var X=Z.length/2;if(X>15)throw"ASN.1 length too long to represent by 8x: n = "+A.toString(16);return(128+X).toString(16)+Z},this.getEncodedHex=function(){return(null==this.hTLV||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""},this.setByParam=function(A){this.params=A},null!=k&&null!=k.tlv&&(this.hTLV=k.tlv,this.isModified=!1)},De.asn1.DERAbstractString=function(k){De.asn1.DERAbstractString.superclass.constructor.call(this),this.getString=function(){return this.s},this.setString=function(A){this.hTLV=null,this.isModified=!0,this.s=A,this.hV=Fr(this.s).toLowerCase()},this.setStringHex=function(A){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=A},this.getFreshValueHex=function(){return this.hV},void 0!==k&&("string"==typeof k?this.setString(k):void 0!==k.str?this.setString(k.str):void 0!==k.hex&&this.setStringHex(k.hex))},f.lang.extend(De.asn1.DERAbstractString,De.asn1.ASN1Object),De.asn1.DERAbstractTime=function(k){De.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(A){var Z=A.getTime()+6e4*A.getTimezoneOffset();return new Date(Z)},this.formatDate=function(A,Z,X){var ie=this.zeroPadding,me=this.localDateToUTC(A),Pe=String(me.getFullYear());"utc"==Z&&(Pe=Pe.substr(2,2));var Ve=Pe+ie(String(me.getMonth()+1),2)+ie(String(me.getDate()),2)+ie(String(me.getHours()),2)+ie(String(me.getMinutes()),2)+ie(String(me.getSeconds()),2);if(!0===X){var Me=me.getMilliseconds();if(0!=Me){var Be=ie(String(Me),3);Ve=Ve+"."+(Be=Be.replace(/[0]+$/,""))}}return Ve+"Z"},this.zeroPadding=function(A,Z){return A.length>=Z?A:new Array(Z-A.length+1).join("0")+A},this.getString=function(){return this.s},this.setString=function(A){this.hTLV=null,this.isModified=!0,this.s=A,this.hV=Pt(A)},this.setByDateValue=function(A,Z,X,ie,me,Pe){var Ve=new Date(Date.UTC(A,Z-1,X,ie,me,Pe,0));this.setByDate(Ve)},this.getFreshValueHex=function(){return this.hV}},f.lang.extend(De.asn1.DERAbstractTime,De.asn1.ASN1Object),De.asn1.DERAbstractStructured=function(k){De.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(A){this.hTLV=null,this.isModified=!0,this.asn1Array=A},this.appendASN1Object=function(A){this.hTLV=null,this.isModified=!0,this.asn1Array.push(A)},this.asn1Array=new Array,void 0!==k&&void 0!==k.array&&(this.asn1Array=k.array)},f.lang.extend(De.asn1.DERAbstractStructured,De.asn1.ASN1Object),De.asn1.DERBoolean=function(k){De.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV=0==k?"010100":"0101ff"},f.lang.extend(De.asn1.DERBoolean,De.asn1.ASN1Object),De.asn1.DERInteger=function(k){De.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(A){this.hTLV=null,this.isModified=!0,this.hV=De.asn1.ASN1Util.bigIntToMinTwosComplementsHex(A)},this.setByInteger=function(A){var Z=new he(String(A),10);this.setByBigInteger(Z)},this.setValueHex=function(A){this.hV=A},this.getFreshValueHex=function(){return this.hV},void 0!==k&&(void 0!==k.bigint?this.setByBigInteger(k.bigint):void 0!==k.int?this.setByInteger(k.int):"number"==typeof k?this.setByInteger(k):void 0!==k.hex&&this.setValueHex(k.hex))},f.lang.extend(De.asn1.DERInteger,De.asn1.ASN1Object),De.asn1.DERBitString=function(k){if(void 0!==k&&void 0!==k.obj){var A=De.asn1.ASN1Util.newObject(k.obj);k.hex="00"+A.getEncodedHex()}De.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(Z){this.hTLV=null,this.isModified=!0,this.hV=Z},this.setUnusedBitsAndHexValue=function(Z,X){if(Z<0||7<Z)throw"unused bits shall be from 0 to 7: u = "+Z;var ie="0"+Z;this.hTLV=null,this.isModified=!0,this.hV=ie+X},this.setByBinaryString=function(Z){var X=8-(Z=Z.replace(/0+$/,"")).length%8;8==X&&(X=0);for(var ie=0;ie<=X;ie++)Z+="0";var me="";for(ie=0;ie<Z.length-1;ie+=8){var Pe=Z.substr(ie,8),Ve=parseInt(Pe,2).toString(16);1==Ve.length&&(Ve="0"+Ve),me+=Ve}this.hTLV=null,this.isModified=!0,this.hV="0"+X+me},this.setByBooleanArray=function(Z){for(var X="",ie=0;ie<Z.length;ie++)X+=1==Z[ie]?"1":"0";this.setByBinaryString(X)},this.newFalseArray=function(Z){for(var X=new Array(Z),ie=0;ie<Z;ie++)X[ie]=!1;return X},this.getFreshValueHex=function(){return this.hV},void 0!==k&&("string"==typeof k&&k.toLowerCase().match(/^[0-9a-f]+$/)?this.setHexValueIncludingUnusedBits(k):void 0!==k.hex?this.setHexValueIncludingUnusedBits(k.hex):void 0!==k.bin?this.setByBinaryString(k.bin):void 0!==k.array&&this.setByBooleanArray(k.array))},f.lang.extend(De.asn1.DERBitString,De.asn1.ASN1Object),De.asn1.DEROctetString=function(k){if(void 0!==k&&void 0!==k.obj){var A=De.asn1.ASN1Util.newObject(k.obj);k.hex=A.getEncodedHex()}De.asn1.DEROctetString.superclass.constructor.call(this,k),this.hT="04"},f.lang.extend(De.asn1.DEROctetString,De.asn1.DERAbstractString),De.asn1.DERNull=function(){De.asn1.DERNull.superclass.constructor.call(this),this.hT="05",this.hTLV="0500"},f.lang.extend(De.asn1.DERNull,De.asn1.ASN1Object),De.asn1.DERObjectIdentifier=function(k){De.asn1.DERObjectIdentifier.superclass.constructor.call(this),this.hT="06",this.setValueHex=function(A){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=A},this.setValueOidString=function(A){var Z=function(ie){var me=function(We){var nt=We.toString(16);return 1==nt.length&&(nt="0"+nt),nt},Pe=function(We){var nt="",d=parseInt(We,10).toString(2),gt=7-d.length%7;7==gt&&(gt=0);for(var Et="",Ee=0;Ee<gt;Ee++)Et+="0";for(d=Et+d,Ee=0;Ee<d.length-1;Ee+=7){var ze=d.substr(Ee,7);Ee!=d.length-7&&(ze="1"+ze),nt+=me(parseInt(ze,2))}return nt};try{if(!ie.match(/^[0-9.]+$/))return null;var Ve="",Me=ie.split("."),Be=40*parseInt(Me[0],10)+parseInt(Me[1],10);Ve+=me(Be),Me.splice(0,2);for(var $e=0;$e<Me.length;$e++)Ve+=Pe(Me[$e]);return Ve}catch{return null}}(A);if(null==Z)throw new Error("malformed oid string: "+A);this.hTLV=null,this.isModified=!0,this.s=null,this.hV=Z},this.setValueName=function(A){var Z=De.asn1.x509.OID.name2oid(A);if(""===Z)throw new Error("DERObjectIdentifier oidName undefined: "+A);this.setValueOidString(Z)},this.setValueNameOrOid=function(A){A.match(/^[0-2].[0-9.]+$/)?this.setValueOidString(A):this.setValueName(A)},this.getFreshValueHex=function(){return this.hV},this.setByParam=function(A){"string"==typeof A?this.setValueNameOrOid(A):void 0!==A.oid?this.setValueNameOrOid(A.oid):void 0!==A.name?this.setValueNameOrOid(A.name):void 0!==A.hex&&this.setValueHex(A.hex)},void 0!==k&&this.setByParam(k)},f.lang.extend(De.asn1.DERObjectIdentifier,De.asn1.ASN1Object),De.asn1.DEREnumerated=function(k){De.asn1.DEREnumerated.superclass.constructor.call(this),this.hT="0a",this.setByBigInteger=function(A){this.hTLV=null,this.isModified=!0,this.hV=De.asn1.ASN1Util.bigIntToMinTwosComplementsHex(A)},this.setByInteger=function(A){var Z=new he(String(A),10);this.setByBigInteger(Z)},this.setValueHex=function(A){this.hV=A},this.getFreshValueHex=function(){return this.hV},void 0!==k&&(void 0!==k.int?this.setByInteger(k.int):"number"==typeof k?this.setByInteger(k):void 0!==k.hex&&this.setValueHex(k.hex))},f.lang.extend(De.asn1.DEREnumerated,De.asn1.ASN1Object),De.asn1.DERUTF8String=function(k){De.asn1.DERUTF8String.superclass.constructor.call(this,k),this.hT="0c"},f.lang.extend(De.asn1.DERUTF8String,De.asn1.DERAbstractString),De.asn1.DERNumericString=function(k){De.asn1.DERNumericString.superclass.constructor.call(this,k),this.hT="12"},f.lang.extend(De.asn1.DERNumericString,De.asn1.DERAbstractString),De.asn1.DERPrintableString=function(k){De.asn1.DERPrintableString.superclass.constructor.call(this,k),this.hT="13"},f.lang.extend(De.asn1.DERPrintableString,De.asn1.DERAbstractString),De.asn1.DERTeletexString=function(k){De.asn1.DERTeletexString.superclass.constructor.call(this,k),this.hT="14"},f.lang.extend(De.asn1.DERTeletexString,De.asn1.DERAbstractString),De.asn1.DERIA5String=function(k){De.asn1.DERIA5String.superclass.constructor.call(this,k),this.hT="16"},f.lang.extend(De.asn1.DERIA5String,De.asn1.DERAbstractString),De.asn1.DERVisibleString=function(k){De.asn1.DERIA5String.superclass.constructor.call(this,k),this.hT="1a"},f.lang.extend(De.asn1.DERVisibleString,De.asn1.DERAbstractString),De.asn1.DERBMPString=function(k){De.asn1.DERBMPString.superclass.constructor.call(this,k),this.hT="1e"},f.lang.extend(De.asn1.DERBMPString,De.asn1.DERAbstractString),De.asn1.DERUTCTime=function(k){De.asn1.DERUTCTime.superclass.constructor.call(this,k),this.hT="17",this.setByDate=function(A){this.hTLV=null,this.isModified=!0,this.date=A,this.s=this.formatDate(this.date,"utc"),this.hV=Pt(this.s)},this.getFreshValueHex=function(){return void 0===this.date&&void 0===this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"utc"),this.hV=Pt(this.s)),this.hV},void 0!==k&&(void 0!==k.str?this.setString(k.str):"string"==typeof k&&k.match(/^[0-9]{12}Z$/)?this.setString(k):void 0!==k.hex?this.setStringHex(k.hex):void 0!==k.date&&this.setByDate(k.date))},f.lang.extend(De.asn1.DERUTCTime,De.asn1.DERAbstractTime),De.asn1.DERGeneralizedTime=function(k){De.asn1.DERGeneralizedTime.superclass.constructor.call(this,k),this.hT="18",this.withMillis=!1,this.setByDate=function(A){this.hTLV=null,this.isModified=!0,this.date=A,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=Pt(this.s)},this.getFreshValueHex=function(){return void 0===this.date&&void 0===this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=Pt(this.s)),this.hV},void 0!==k&&(void 0!==k.str?this.setString(k.str):"string"==typeof k&&k.match(/^[0-9]{14}Z$/)?this.setString(k):void 0!==k.hex?this.setStringHex(k.hex):void 0!==k.date&&this.setByDate(k.date),!0===k.millis&&(this.withMillis=!0))},f.lang.extend(De.asn1.DERGeneralizedTime,De.asn1.DERAbstractTime),De.asn1.DERSequence=function(k){De.asn1.DERSequence.superclass.constructor.call(this,k),this.hT="30",this.getFreshValueHex=function(){for(var A="",Z=0;Z<this.asn1Array.length;Z++)A+=this.asn1Array[Z].getEncodedHex();return this.hV=A,this.hV}},f.lang.extend(De.asn1.DERSequence,De.asn1.DERAbstractStructured),De.asn1.DERSet=function(k){De.asn1.DERSet.superclass.constructor.call(this,k),this.hT="31",this.sortFlag=!0,this.getFreshValueHex=function(){for(var A=new Array,Z=0;Z<this.asn1Array.length;Z++)A.push(this.asn1Array[Z].getEncodedHex());return 1==this.sortFlag&&A.sort(),this.hV=A.join(""),this.hV},void 0!==k&&void 0!==k.sortflag&&0==k.sortflag&&(this.sortFlag=!1)},f.lang.extend(De.asn1.DERSet,De.asn1.DERAbstractStructured),De.asn1.DERTaggedObject=function(k){De.asn1.DERTaggedObject.superclass.constructor.call(this);var A=De.asn1;this.hT="a0",this.hV="",this.isExplicit=!0,this.asn1Object=null,this.setASN1Object=function(Z,X,ie){this.hT=X,this.isExplicit=Z,this.asn1Object=ie,this.isExplicit?(this.hV=this.asn1Object.getEncodedHex(),this.hTLV=null,this.isModified=!0):(this.hV=null,this.hTLV=ie.getEncodedHex(),this.hTLV=this.hTLV.replace(/^../,X),this.isModified=!1)},this.getFreshValueHex=function(){return this.hV},this.setByParam=function(Z){null!=Z.tag&&(this.hT=Z.tag),null!=Z.explicit&&(this.isExplicit=Z.explicit),null!=Z.tage&&(this.hT=Z.tage,this.isExplicit=!0),null!=Z.tagi&&(this.hT=Z.tagi,this.isExplicit=!1),null!=Z.obj&&(Z.obj instanceof A.ASN1Object?(this.asn1Object=Z.obj,this.setASN1Object(this.isExplicit,this.hT,this.asn1Object)):"object"==B(Z.obj)&&(this.asn1Object=A.ASN1Util.newObject(Z.obj),this.setASN1Object(this.isExplicit,this.hT,this.asn1Object)))},null!=k&&this.setByParam(k)},f.lang.extend(De.asn1.DERTaggedObject,De.asn1.ASN1Object);var De,Br,ar,Qt=new function(){};function ba(k){for(var A=new Array,Z=0;Z<k.length;Z++)A[Z]=k.charCodeAt(Z);return A}function ki(k){for(var A="",Z=0;Z<k.length;Z++)A+=String.fromCharCode(k[Z]);return A}function _t(k){for(var A="",Z=0;Z<k.length;Z++){var X=k[Z].toString(16);1==X.length&&(X="0"+X),A+=X}return A}function Pt(k){return _t(ba(k))}function Pn(k){return(k=(k=k.replace(/\=/g,"")).replace(/\+/g,"-")).replace(/\//g,"_")}function zn(k){return k.length%4==2?k+="==":k.length%4==3&&(k+="="),(k=k.replace(/-/g,"+")).replace(/_/g,"/")}function Cn(k){return k.length%2==1&&(k="0"+k),Pn(ae(k))}function cn(k){return ve(zn(k))}function Fr(k){return Za(Di(k))}function lr(k){return decodeURIComponent(Gi(k))}function wn(k){for(var A="",Z=0;Z<k.length-1;Z+=2)A+=String.fromCharCode(parseInt(k.substr(Z,2),16));return A}function kr(k){for(var A="",Z=0;Z<k.length;Z++)A+=("0"+k.charCodeAt(Z).toString(16)).slice(-2);return A}function Qn(k){return ae(k)}function Vi(k){return Qn(k).replace(/(.{64})/g,"$1\r\n").replace(/\r\n$/,"")}function Xr(k){return ve(k.replace(/[^0-9A-Za-z\/+=]*/g,""))}function Lr(k,A){return"-----BEGIN "+A+"-----\r\n"+Vi(k)+"\r\n-----END "+A+"-----\r\n"}function ci(k,A){if(-1==k.indexOf("-----BEGIN "))throw"can't find PEM header: "+A;return Xr(k=void 0!==A?(k=k.replace(new RegExp("^[^]*-----BEGIN "+A+"-----"),"")).replace(new RegExp("-----END "+A+"-----[^]*$"),""):(k=k.replace(/^[^]*-----BEGIN [^-]+-----/,"")).replace(/-----END [^-]+-----[^]*$/,""))}function Ba(k){var A,Z,X,ie,me,Pe,Ve,Me,Be,$e,Ge;if(Ge=k.match(/^(\d{2}|\d{4})(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)(|\.\d+)Z$/))return Me=Ge[1],A=parseInt(Me),2===Me.length&&(50<=A&&A<100?A=1900+A:0<=A&&A<50&&(A=2e3+A)),Z=parseInt(Ge[2])-1,X=parseInt(Ge[3]),ie=parseInt(Ge[4]),me=parseInt(Ge[5]),Pe=parseInt(Ge[6]),Ve=0,""!==(Be=Ge[7])&&($e=(Be.substr(1)+"00").substr(0,3),Ve=parseInt($e)),Date.UTC(A,Z,X,ie,me,Pe,Ve);throw"unsupported zulu format: "+k}function zi(k){return~~(Ba(k)/1e3)}function Za(k){return k.replace(/%/g,"")}function Gi(k){return k.replace(/(..)/g,"%$1")}function Ri(k){var A="malformed IPv6 address";if(!k.match(/^[0-9A-Fa-f:]+$/))throw A;var Z=(k=k.toLowerCase()).split(":").length-1;if(Z<2)throw A;var X=":".repeat(7-Z+2),ie=(k=k.replace("::",X)).split(":");if(8!=ie.length)throw A;for(var me=0;me<8;me++)ie[me]=("0000"+ie[me]).slice(-4);return ie.join("")}function Hi(k){if(!k.match(/^[0-9A-Fa-f]{32}$/))throw"malformed IPv6 address octet";for(var A=(k=k.toLowerCase()).match(/.{1,4}/g),Z=0;Z<8;Z++)A[Z]=A[Z].replace(/^0+/,""),""==A[Z]&&(A[Z]="0");var X=(k=":"+A.join(":")+":").match(/:(0:){2,}/g);if(null===X)return k.slice(1,-1);var ie="";for(Z=0;Z<X.length;Z++)X[Z].length>ie.length&&(ie=X[Z]);return(k=k.replace(ie,"::")).slice(1,-1)}function Ca(k){var A="malformed hex value";if(!k.match(/^([0-9A-Fa-f][0-9A-Fa-f]){1,}$/))throw A;if(8!=k.length)return 32==k.length?Hi(k):k;try{return parseInt(k.substr(0,2),16)+"."+parseInt(k.substr(2,2),16)+"."+parseInt(k.substr(4,2),16)+"."+parseInt(k.substr(6,2),16)}catch{throw A}}function Di(k){for(var A=encodeURIComponent(k),Z="",X=0;X<A.length;X++)"%"==A[X]?(Z+=A.substr(X,3),X+=2):Z=Z+"%"+Pt(A[X]);return Z}function Ti(k){return!(k.length%2!=0||!k.match(/^[0-9a-f]+$/)&&!k.match(/^[0-9A-F]+$/))}function hi(k){return k.length%2==1?"0"+k:k.substr(0,1)>"7"?"00"+k:k}Qt.getLblen=function(k,A){if("8"!=k.substr(A+2,1))return 1;var Z=parseInt(k.substr(A+3,1));return 0==Z?-1:0<Z&&Z<10?Z+1:-2},Qt.getL=function(k,A){var Z=Qt.getLblen(k,A);return Z<1?"":k.substr(A+2,2*Z)},Qt.getVblen=function(k,A){var Z;return""==(Z=Qt.getL(k,A))?-1:("8"===Z.substr(0,1)?new he(Z.substr(2),16):new he(Z,16)).intValue()},Qt.getVidx=function(k,A){var Z=Qt.getLblen(k,A);return Z<0?Z:A+2*(Z+1)},Qt.getV=function(k,A){var Z=Qt.getVidx(k,A),X=Qt.getVblen(k,A);return k.substr(Z,2*X)},Qt.getTLV=function(k,A){return k.substr(A,2)+Qt.getL(k,A)+Qt.getV(k,A)},Qt.getTLVblen=function(k,A){return 2+2*Qt.getLblen(k,A)+2*Qt.getVblen(k,A)},Qt.getNextSiblingIdx=function(k,A){return Qt.getVidx(k,A)+2*Qt.getVblen(k,A)},Qt.getChildIdx=function(k,A){var Z,X,ie,me=Qt,Pe=[];Z=me.getVidx(k,A),X=2*me.getVblen(k,A),"03"==k.substr(A,2)&&(Z+=2,X-=2),ie=0;for(var Ve=Z;ie<=X;){var Me=me.getTLVblen(k,Ve);if((ie+=Me)<=X&&Pe.push(Ve),Ve+=Me,ie>=X)break}return Pe},Qt.getNthChildIdx=function(k,A,Z){return Qt.getChildIdx(k,A)[Z]},Qt.getIdxbyList=function(k,A,Z,X){var ie,me,Pe=Qt;return 0==Z.length?void 0!==X&&k.substr(A,2)!==X?-1:A:(ie=Z.shift())>=(me=Pe.getChildIdx(k,A)).length?-1:Pe.getIdxbyList(k,me[ie],Z,X)},Qt.getIdxbyListEx=function(k,A,Z,X){var ie,me,Pe=Qt;if(0==Z.length)return void 0!==X&&k.substr(A,2)!==X?-1:A;ie=Z.shift(),me=Pe.getChildIdx(k,A);for(var Ve=0,Me=0;Me<me.length;Me++){var Be=k.substr(me[Me],2);if("number"==typeof ie&&!Pe.isContextTag(Be)&&Ve==ie||"string"==typeof ie&&Pe.isContextTag(Be,ie))return Pe.getIdxbyListEx(k,me[Me],Z,X);Pe.isContextTag(Be)||Ve++}return-1},Qt.getTLVbyList=function(k,A,Z,X){var ie=Qt,me=ie.getIdxbyList(k,A,Z,X);return-1==me||me>=k.length?null:ie.getTLV(k,me)},Qt.getTLVbyListEx=function(k,A,Z,X){var ie=Qt,me=ie.getIdxbyListEx(k,A,Z,X);return-1==me?null:ie.getTLV(k,me)},Qt.getVbyList=function(k,A,Z,X,ie){var me,Pe,Ve=Qt;return-1==(me=Ve.getIdxbyList(k,A,Z,X))||me>=k.length?null:(Pe=Ve.getV(k,me),!0===ie&&(Pe=Pe.substr(2)),Pe)},Qt.getVbyListEx=function(k,A,Z,X,ie){var me,Pe,Ve=Qt;return-1==(me=Ve.getIdxbyListEx(k,A,Z,X))?null:(Pe=Ve.getV(k,me),"03"==k.substr(me,2)&&!1!==ie&&(Pe=Pe.substr(2)),Pe)},Qt.getInt=function(k,A,Z){null==Z&&(Z=-1);try{var X=k.substr(A,2);if("02"!=X&&"03"!=X)return Z;var ie=Qt.getV(k,A);return"02"==X?parseInt(ie,16):function(Pe){try{var Ve=Pe.substr(0,2);if("00"==Ve)return parseInt(Pe.substr(2),16);var Me=parseInt(Ve,16),Be=Pe.substr(2),$e=parseInt(Be,16).toString(2);return"0"==$e&&($e="00000000"),$e=$e.slice(0,0-Me),parseInt($e,2)}catch{return-1}}(ie)}catch{return Z}},Qt.getOID=function(k,A,Z){null==Z&&(Z=null);try{return"06"!=k.substr(A,2)?Z:function(ie){if(!Ti(ie))return null;try{var me=[],Pe=ie.substr(0,2),Ve=parseInt(Pe,16);me[0]=new String(Math.floor(Ve/40)),me[1]=new String(Ve%40);for(var Me=ie.substr(2),Be=[],$e=0;$e<Me.length/2;$e++)Be.push(parseInt(Me.substr(2*$e,2),16));var Ge=[],We="";for($e=0;$e<Be.length;$e++)128&Be[$e]?We+=Qr((127&Be[$e]).toString(2),7):(We+=Qr((127&Be[$e]).toString(2),7),Ge.push(new String(parseInt(We,2))),We="");var nt=me.join(".");return Ge.length>0&&(nt=nt+"."+Ge.join(".")),nt}catch{return null}}(Qt.getV(k,A))}catch{return Z}},Qt.getOIDName=function(k,A,Z){null==Z&&(Z=null);try{var X=Qt.getOID(k,A,Z);if(X==Z)return Z;var ie=De.asn1.x509.OID.oid2name(X);return""==ie?X:ie}catch{return Z}},Qt.getString=function(k,A,Z){null==Z&&(Z=null);try{return wn(Qt.getV(k,A))}catch{return Z}},Qt.hextooidstr=function(k){var A=function(We,nt){return We.length>=nt?We:new Array(nt-We.length+1).join("0")+We},Z=[],X=k.substr(0,2),ie=parseInt(X,16);Z[0]=new String(Math.floor(ie/40)),Z[1]=new String(ie%40);for(var me=k.substr(2),Pe=[],Ve=0;Ve<me.length/2;Ve++)Pe.push(parseInt(me.substr(2*Ve,2),16));var Me=[],Be="";for(Ve=0;Ve<Pe.length;Ve++)128&Pe[Ve]?Be+=A((127&Pe[Ve]).toString(2),7):(Be+=A((127&Pe[Ve]).toString(2),7),Me.push(new String(parseInt(Be,2))),Be="");var $e=Z.join(".");return Me.length>0&&($e=$e+"."+Me.join(".")),$e},Qt.dump=function(k,A,Z,X){var ie=Qt,me=ie.getV,Pe=ie.dump,Ve=ie.getChildIdx,Me=k;k instanceof De.asn1.ASN1Object&&(Me=k.getEncodedHex());var Be=function(jt,Bn){return jt.length<=2*Bn?jt:jt.substr(0,Bn)+"..(total "+jt.length/2+"bytes).."+jt.substr(jt.length-Bn,Bn)};void 0===A&&(A={ommit_long_octet:32}),void 0===Z&&(Z=0),void 0===X&&(X="");var $e,Ge=A.ommit_long_octet;if("01"==($e=Me.substr(Z,2)))return"00"==(We=me(Me,Z))?X+"BOOLEAN FALSE\n":X+"BOOLEAN TRUE\n";if("02"==$e)return X+"INTEGER "+Be(We=me(Me,Z),Ge)+"\n";if("03"==$e){var We=me(Me,Z);return ie.isASN1HEX(We.substr(2))?(nt=X+"BITSTRING, encapsulates\n")+Pe(We.substr(2),A,0,X+" "):X+"BITSTRING "+Be(We,Ge)+"\n"}if("04"==$e)return We=me(Me,Z),ie.isASN1HEX(We)?(nt=X+"OCTETSTRING, encapsulates\n",nt+=Pe(We,A,0,X+" ")):X+"OCTETSTRING "+Be(We,Ge)+"\n";if("05"==$e)return X+"NULL\n";if("06"==$e){var d=me(Me,Z),gt=De.asn1.ASN1Util.oidHexToInt(d),Et=De.asn1.x509.OID.oid2name(gt),Ee=gt.replace(/\./g," ");return""!=Et?X+"ObjectIdentifier "+Et+" ("+Ee+")\n":X+"ObjectIdentifier ("+Ee+")\n"}if("0a"==$e)return X+"ENUMERATED "+parseInt(me(Me,Z))+"\n";if("0c"==$e)return X+"UTF8String '"+lr(me(Me,Z))+"'\n";if("13"==$e)return X+"PrintableString '"+lr(me(Me,Z))+"'\n";if("14"==$e)return X+"TeletexString '"+lr(me(Me,Z))+"'\n";if("16"==$e)return X+"IA5String '"+lr(me(Me,Z))+"'\n";if("17"==$e)return X+"UTCTime "+lr(me(Me,Z))+"\n";if("18"==$e)return X+"GeneralizedTime "+lr(me(Me,Z))+"\n";if("1a"==$e)return X+"VisualString '"+lr(me(Me,Z))+"'\n";if("1e"==$e)return X+"BMPString '"+lr(me(Me,Z))+"'\n";if("30"==$e){if("3000"==Me.substr(Z,4))return X+"SEQUENCE {}\n";nt=X+"SEQUENCE\n";var ze=A;if((2==(yt=Ve(Me,Z)).length||3==yt.length)&&"06"==Me.substr(yt[0],2)&&"04"==Me.substr(yt[yt.length-1],2)){Et=ie.oidname(me(Me,yt[0]));var Ke=JSON.parse(JSON.stringify(A));Ke.x509ExtName=Et,ze=Ke}for(var Xe=0;Xe<yt.length;Xe++)nt+=Pe(Me,ze,yt[Xe],X+" ");return nt}if("31"==$e){nt=X+"SET\n";var yt=Ve(Me,Z);for(Xe=0;Xe<yt.length;Xe++)nt+=Pe(Me,A,yt[Xe],X+" ");return nt}if(128&($e=parseInt($e,16))){var nt,At=31&$e;if(32&$e){for(nt=X+"["+At+"]\n",yt=Ve(Me,Z),Xe=0;Xe<yt.length;Xe++)nt+=Pe(Me,A,yt[Xe],X+" ");return nt}return We=me(Me,Z),Qt.isASN1HEX(We)?(nt=X+"["+At+"]\n")+Pe(We,A,0,X+" "):(("68747470"==We.substr(0,8)||"subjectAltName"===A.x509ExtName&&2==At)&&(We=lr(We)),X+"["+At+"] "+We+"\n")}return X+"UNKNOWN("+$e+") "+me(Me,Z)+"\n"},Qt.isContextTag=function(k,A){var Z,X;k=k.toLowerCase();try{Z=parseInt(k,16)}catch{return-1}if(void 0===A)return 128==(192&Z);try{return null!=A.match(/^\[[0-9]+\]$/)&&!((X=parseInt(A.substr(1,A.length-1),10))>31)&&128==(192&Z)&&(31&Z)==X}catch{return!1}},Qt.isASN1HEX=function(k){var A=Qt;if(k.length%2==1)return!1;var Z=A.getVblen(k,0),X=k.substr(0,2),ie=A.getL(k,0);return k.length-X.length-ie.length==2*Z},Qt.checkStrictDER=function(k,A,Z,X,ie){var me=Qt;if(void 0===Z){if("string"!=typeof k)throw new Error("not hex string");if(k=k.toLowerCase(),!De.lang.String.isHex(k))throw new Error("not hex string");Z=k.length,ie=(X=k.length/2)<128?1:Math.ceil(X.toString(16))+1}if(me.getL(k,A).length>2*ie)throw new Error("L of TLV too long: idx="+A);var Pe=me.getVblen(k,A);if(Pe>X)throw new Error("value of L too long than hex: idx="+A);var Ve=me.getTLV(k,A),Me=Ve.length-2-me.getL(k,A).length;if(Me!==2*Pe)throw new Error("V string length and L's value not the same:"+Me+"/"+2*Pe);if(0===A&&k.length!=Ve.length)throw new Error("total length and TLV length unmatch:"+k.length+"!="+Ve.length);var Be=k.substr(A,2);if("02"===Be){var $e=me.getVidx(k,A);if("00"==k.substr($e,2)&&k.charCodeAt($e+2)<56)throw new Error("not least zeros for DER INTEGER")}if(32&parseInt(Be,16)){for(var Ge=me.getVblen(k,A),We=0,nt=me.getChildIdx(k,A),d=0;d<nt.length;d++)We+=me.getTLV(k,nt[d]).length,me.checkStrictDER(k,nt[d],Z,X,ie);if(2*Ge!=We)throw new Error("sum of children's TLV length and L unmatch: "+2*Ge+"!="+We)}},Qt.oidname=function(k){var A=De.asn1;De.lang.String.isHex(k)&&(k=A.ASN1Util.oidHexToInt(k));var Z=A.x509.OID.oid2name(k);return""===Z&&(Z=k),Z},void 0!==De&&De||(S.KJUR=De={}),void 0!==De.lang&&De.lang||(De.lang={}),De.lang.String=function(){},"function"==typeof K?(S.utf8tob64u=Br=function(A){return Pn(K.from(A,"utf8").toString("base64"))},S.b64utoutf8=ar=function(A){return K.from(zn(A),"base64").toString("utf8")}):(S.utf8tob64u=Br=function(A){return Cn(Za(Di(A)))},S.b64utoutf8=ar=function(A){return decodeURIComponent(Gi(cn(A)))}),De.lang.String.isInteger=function(k){return!!k.match(/^[0-9]+$/)||!!k.match(/^-[0-9]+$/)},De.lang.String.isHex=function(k){return Ti(k)},De.lang.String.isBase64=function(k){return!(!(k=k.replace(/\s+/g,"")).match(/^[0-9A-Za-z+\/]+={0,3}$/)||k.length%4!=0)},De.lang.String.isBase64URL=function(k){return!k.match(/[+/=]/)&&(k=zn(k),De.lang.String.isBase64(k))},De.lang.String.isIntegerArray=function(k){return!!(k=k.replace(/\s+/g,"")).match(/^\[[0-9,]+\]$/)},De.lang.String.isPrintable=function(k){return null!==k.match(/^[0-9A-Za-z '()+,-./:=?]*$/)},De.lang.String.isIA5=function(k){return null!==k.match(/^[\x20-\x21\x23-\x7f]*$/)},De.lang.String.isMail=function(k){return null!==k.match(/^[A-Za-z0-9]{1}[A-Za-z0-9_.-]*@{1}[A-Za-z0-9_.-]{1,}\.[A-Za-z0-9]{1,}$/)};var Qr=function(A,Z,X){return null==X&&(X="0"),A.length>=Z?A:new Array(Z-A.length+1).join(X)+A};void 0!==De&&De||(S.KJUR=De={}),void 0!==De.crypto&&De.crypto||(De.crypto={}),De.crypto.Util=new function(){this.DIGESTINFOHEAD={sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",ripemd160:"3021300906052b2403020105000414"},this.DEFAULTPROVIDER={md5:"cryptojs",sha1:"cryptojs",sha224:"cryptojs",sha256:"cryptojs",sha384:"cryptojs",sha512:"cryptojs",ripemd160:"cryptojs",hmacmd5:"cryptojs",hmacsha1:"cryptojs",hmacsha224:"cryptojs",hmacsha256:"cryptojs",hmacsha384:"cryptojs",hmacsha512:"cryptojs",hmacripemd160:"cryptojs",MD5withRSA:"cryptojs/jsrsa",SHA1withRSA:"cryptojs/jsrsa",SHA224withRSA:"cryptojs/jsrsa",SHA256withRSA:"cryptojs/jsrsa",SHA384withRSA:"cryptojs/jsrsa",SHA512withRSA:"cryptojs/jsrsa",RIPEMD160withRSA:"cryptojs/jsrsa",MD5withECDSA:"cryptojs/jsrsa",SHA1withECDSA:"cryptojs/jsrsa",SHA224withECDSA:"cryptojs/jsrsa",SHA256withECDSA:"cryptojs/jsrsa",SHA384withECDSA:"cryptojs/jsrsa",SHA512withECDSA:"cryptojs/jsrsa",RIPEMD160withECDSA:"cryptojs/jsrsa",SHA1withDSA:"cryptojs/jsrsa",SHA224withDSA:"cryptojs/jsrsa",SHA256withDSA:"cryptojs/jsrsa",MD5withRSAandMGF1:"cryptojs/jsrsa",SHAwithRSAandMGF1:"cryptojs/jsrsa",SHA1withRSAandMGF1:"cryptojs/jsrsa",SHA224withRSAandMGF1:"cryptojs/jsrsa",SHA256withRSAandMGF1:"cryptojs/jsrsa",SHA384withRSAandMGF1:"cryptojs/jsrsa",SHA512withRSAandMGF1:"cryptojs/jsrsa",RIPEMD160withRSAandMGF1:"cryptojs/jsrsa"},this.CRYPTOJSMESSAGEDIGESTNAME={md5:U.algo.MD5,sha1:U.algo.SHA1,sha224:U.algo.SHA224,sha256:U.algo.SHA256,sha384:U.algo.SHA384,sha512:U.algo.SHA512,ripemd160:U.algo.RIPEMD160},this.getDigestInfoHex=function(k,A){if(void 0===this.DIGESTINFOHEAD[A])throw"alg not supported in Util.DIGESTINFOHEAD: "+A;return this.DIGESTINFOHEAD[A]+k},this.getPaddedDigestInfoHex=function(k,A,Z){var X=this.getDigestInfoHex(k,A),ie=Z/4;if(X.length+22>ie)throw"key is too short for SigAlg: keylen="+Z+","+A;for(var Pe="00"+X,Ve="",Me=ie-4-Pe.length,Be=0;Be<Me;Be+=2)Ve+="ff";return"0001"+Ve+Pe},this.hashString=function(k,A){return new De.crypto.MessageDigest({alg:A}).digestString(k)},this.hashHex=function(k,A){return new De.crypto.MessageDigest({alg:A}).digestHex(k)},this.sha1=function(k){return this.hashString(k,"sha1")},this.sha256=function(k){return this.hashString(k,"sha256")},this.sha256Hex=function(k){return this.hashHex(k,"sha256")},this.sha512=function(k){return this.hashString(k,"sha512")},this.sha512Hex=function(k){return this.hashHex(k,"sha512")},this.isKey=function(k){return k instanceof zt||k instanceof De.crypto.DSA||k instanceof De.crypto.ECDSA}},De.crypto.Util.md5=function(k){return new De.crypto.MessageDigest({alg:"md5",prov:"cryptojs"}).digestString(k)},De.crypto.Util.ripemd160=function(k){return new De.crypto.MessageDigest({alg:"ripemd160",prov:"cryptojs"}).digestString(k)},De.crypto.Util.SECURERANDOMGEN=new at,De.crypto.Util.getRandomHexOfNbytes=function(k){var A=new Array(k);return De.crypto.Util.SECURERANDOMGEN.nextBytes(A),_t(A)},De.crypto.Util.getRandomBigIntegerOfNbytes=function(k){return new he(De.crypto.Util.getRandomHexOfNbytes(k),16)},De.crypto.Util.getRandomHexOfNbits=function(k){var A=k%8,Z=new Array((k-A)/8+1);return De.crypto.Util.SECURERANDOMGEN.nextBytes(Z),Z[0]=(255<<A&255^255)&Z[0],_t(Z)},De.crypto.Util.getRandomBigIntegerOfNbits=function(k){return new he(De.crypto.Util.getRandomHexOfNbits(k),16)},De.crypto.Util.getRandomBigIntegerZeroToMax=function(k){for(var A=k.bitLength();;){var Z=De.crypto.Util.getRandomBigIntegerOfNbits(A);if(-1!=k.compareTo(Z))return Z}},De.crypto.Util.getRandomBigIntegerMinToMax=function(k,A){var Z=k.compareTo(A);if(1==Z)throw"biMin is greater than biMax";if(0==Z)return k;var X=A.subtract(k);return De.crypto.Util.getRandomBigIntegerZeroToMax(X).add(k)},De.crypto.MessageDigest=function(k){this.setAlgAndProvider=function(A,Z){if(null!==(A=De.crypto.MessageDigest.getCanonicalAlgName(A))&&void 0===Z&&(Z=De.crypto.Util.DEFAULTPROVIDER[A]),-1!=":md5:sha1:sha224:sha256:sha384:sha512:ripemd160:".indexOf(A)&&"cryptojs"==Z){try{this.md=De.crypto.Util.CRYPTOJSMESSAGEDIGESTNAME[A].create()}catch(X){throw"setAlgAndProvider hash alg set fail alg="+A+"/"+X}this.updateString=function(X){this.md.update(X)},this.updateHex=function(X){var ie=U.enc.Hex.parse(X);this.md.update(ie)},this.digest=function(){return this.md.finalize().toString(U.enc.Hex)},this.digestString=function(X){return this.updateString(X),this.digest()},this.digestHex=function(X){return this.updateHex(X),this.digest()}}if(-1!=":sha256:".indexOf(A)&&"sjcl"==Z){try{this.md=new sjcl.hash.sha256}catch(X){throw"setAlgAndProvider hash alg set fail alg="+A+"/"+X}this.updateString=function(X){this.md.update(X)},this.updateHex=function(X){var ie=sjcl.codec.hex.toBits(X);this.md.update(ie)},this.digest=function(){var X=this.md.finalize();return sjcl.codec.hex.fromBits(X)},this.digestString=function(X){return this.updateString(X),this.digest()},this.digestHex=function(X){return this.updateHex(X),this.digest()}}},this.updateString=function(A){throw"updateString(str) not supported for this alg/prov: "+this.algName+"/"+this.provName},this.updateHex=function(A){throw"updateHex(hex) not supported for this alg/prov: "+this.algName+"/"+this.provName},this.digest=function(){throw"digest() not supported for this alg/prov: "+this.algName+"/"+this.provName},this.digestString=function(A){throw"digestString(str) not supported for this alg/prov: "+this.algName+"/"+this.provName},this.digestHex=function(A){throw"digestHex(hex) not supported for this alg/prov: "+this.algName+"/"+this.provName},void 0!==k&&void 0!==k.alg&&(this.algName=k.alg,void 0===k.prov&&(this.provName=De.crypto.Util.DEFAULTPROVIDER[this.algName]),this.setAlgAndProvider(this.algName,this.provName))},De.crypto.MessageDigest.getCanonicalAlgName=function(k){return"string"==typeof k&&(k=(k=k.toLowerCase()).replace(/-/,"")),k},De.crypto.MessageDigest.getHashLength=function(k){var A=De.crypto.MessageDigest,Z=A.getCanonicalAlgName(k);if(void 0===A.HASHLENGTH[Z])throw"not supported algorithm: "+k;return A.HASHLENGTH[Z]},De.crypto.MessageDigest.HASHLENGTH={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,ripemd160:20},De.crypto.Mac=function(k){this.setAlgAndProvider=function(A,Z){if(null==(A=A.toLowerCase())&&(A="hmacsha1"),"hmac"!=(A=A.toLowerCase()).substr(0,4))throw"setAlgAndProvider unsupported HMAC alg: "+A;void 0===Z&&(Z=De.crypto.Util.DEFAULTPROVIDER[A]),this.algProv=A+"/"+Z;var X=A.substr(4);if(-1!=":md5:sha1:sha224:sha256:sha384:sha512:ripemd160:".indexOf(X)&&"cryptojs"==Z){try{this.mac=U.algo.HMAC.create(De.crypto.Util.CRYPTOJSMESSAGEDIGESTNAME[X],this.pass)}catch(me){throw"setAlgAndProvider hash alg set fail hashAlg="+X+"/"+me}this.updateString=function(me){this.mac.update(me)},this.updateHex=function(me){var Pe=U.enc.Hex.parse(me);this.mac.update(Pe)},this.doFinal=function(){return this.mac.finalize().toString(U.enc.Hex)},this.doFinalString=function(me){return this.updateString(me),this.doFinal()},this.doFinalHex=function(me){return this.updateHex(me),this.doFinal()}}},this.updateString=function(A){throw"updateString(str) not supported for this alg/prov: "+this.algProv},this.updateHex=function(A){throw"updateHex(hex) not supported for this alg/prov: "+this.algProv},this.doFinal=function(){throw"digest() not supported for this alg/prov: "+this.algProv},this.doFinalString=function(A){throw"digestString(str) not supported for this alg/prov: "+this.algProv},this.doFinalHex=function(A){throw"digestHex(hex) not supported for this alg/prov: "+this.algProv},this.setPassword=function(A){if("string"==typeof A){var Z=A;return A.length%2!=1&&A.match(/^[0-9A-Fa-f]+$/)||(Z=kr(A)),void(this.pass=U.enc.Hex.parse(Z))}if("object"!=(void 0===A?"undefined":B(A)))throw"KJUR.crypto.Mac unsupported password type: "+A;if(Z=null,void 0!==A.hex){if(A.hex.length%2!=0||!A.hex.match(/^[0-9A-Fa-f]+$/))throw"Mac: wrong hex password: "+A.hex;Z=A.hex}if(void 0!==A.utf8&&(Z=Fr(A.utf8)),void 0!==A.rstr&&(Z=kr(A.rstr)),void 0!==A.b64&&(Z=ve(A.b64)),void 0!==A.b64u&&(Z=cn(A.b64u)),null==Z)throw"KJUR.crypto.Mac unsupported password type: "+A;this.pass=U.enc.Hex.parse(Z)},void 0!==k&&(void 0!==k.pass&&this.setPassword(k.pass),void 0!==k.alg&&(this.algName=k.alg,void 0===k.prov&&(this.provName=De.crypto.Util.DEFAULTPROVIDER[this.algName]),this.setAlgAndProvider(this.algName,this.provName)))},De.crypto.Signature=function(k){var A=null;if(this._setAlgNames=function(){var Z=this.algName.match(/^(.+)with(.+)$/);Z&&(this.mdAlgName=Z[1].toLowerCase(),this.pubkeyAlgName=Z[2].toLowerCase(),"rsaandmgf1"==this.pubkeyAlgName&&"sha"==this.mdAlgName&&(this.mdAlgName="sha1"))},this._zeroPaddingOfSignature=function(Z,X){for(var ie="",me=X/4-Z.length,Pe=0;Pe<me;Pe++)ie+="0";return ie+Z},this.setAlgAndProvider=function(Z,X){if(this._setAlgNames(),"cryptojs/jsrsa"!=X)throw new Error("provider not supported: "+X);if(-1!=":md5:sha1:sha224:sha256:sha384:sha512:ripemd160:".indexOf(this.mdAlgName)){try{this.md=new De.crypto.MessageDigest({alg:this.mdAlgName})}catch(ie){throw new Error("setAlgAndProvider hash alg set fail alg="+this.mdAlgName+"/"+ie)}this.init=function(ie,me){var Pe=null;try{Pe=void 0===me?fr.getKey(ie):fr.getKey(ie,me)}catch(Ve){throw"init failed:"+Ve}if(!0===Pe.isPrivate)this.prvKey=Pe,this.state="SIGN";else{if(!0!==Pe.isPublic)throw"init failed.:"+Pe;this.pubKey=Pe,this.state="VERIFY"}},this.updateString=function(ie){this.md.updateString(ie)},this.updateHex=function(ie){this.md.updateHex(ie)},this.sign=function(){if(this.sHashHex=this.md.digest(),void 0===this.prvKey&&void 0!==this.ecprvhex&&void 0!==this.eccurvename&&void 0!==De.crypto.ECDSA&&(this.prvKey=new De.crypto.ECDSA({curve:this.eccurvename,prv:this.ecprvhex})),this.prvKey instanceof zt&&"rsaandmgf1"===this.pubkeyAlgName)this.hSign=this.prvKey.signWithMessageHashPSS(this.sHashHex,this.mdAlgName,this.pssSaltLen);else if(this.prvKey instanceof zt&&"rsa"===this.pubkeyAlgName)this.hSign=this.prvKey.signWithMessageHash(this.sHashHex,this.mdAlgName);else if(this.prvKey instanceof De.crypto.ECDSA)this.hSign=this.prvKey.signWithMessageHash(this.sHashHex);else{if(!(this.prvKey instanceof De.crypto.DSA))throw"Signature: unsupported private key alg: "+this.pubkeyAlgName;this.hSign=this.prvKey.signWithMessageHash(this.sHashHex)}return this.hSign},this.signString=function(ie){return this.updateString(ie),this.sign()},this.signHex=function(ie){return this.updateHex(ie),this.sign()},this.verify=function(ie){if(this.sHashHex=this.md.digest(),void 0===this.pubKey&&void 0!==this.ecpubhex&&void 0!==this.eccurvename&&void 0!==De.crypto.ECDSA&&(this.pubKey=new De.crypto.ECDSA({curve:this.eccurvename,pub:this.ecpubhex})),this.pubKey instanceof zt&&"rsaandmgf1"===this.pubkeyAlgName)return this.pubKey.verifyWithMessageHashPSS(this.sHashHex,ie,this.mdAlgName,this.pssSaltLen);if(this.pubKey instanceof zt&&"rsa"===this.pubkeyAlgName)return this.pubKey.verifyWithMessageHash(this.sHashHex,ie);if(void 0!==De.crypto.ECDSA&&this.pubKey instanceof De.crypto.ECDSA)return this.pubKey.verifyWithMessageHash(this.sHashHex,ie);if(void 0!==De.crypto.DSA&&this.pubKey instanceof De.crypto.DSA)return this.pubKey.verifyWithMessageHash(this.sHashHex,ie);throw"Signature: unsupported public key alg: "+this.pubkeyAlgName}}},this.init=function(Z,X){throw"init(key, pass) not supported for this alg:prov="+this.algProvName},this.updateString=function(Z){throw"updateString(str) not supported for this alg:prov="+this.algProvName},this.updateHex=function(Z){throw"updateHex(hex) not supported for this alg:prov="+this.algProvName},this.sign=function(){throw"sign() not supported for this alg:prov="+this.algProvName},this.signString=function(Z){throw"digestString(str) not supported for this alg:prov="+this.algProvName},this.signHex=function(Z){throw"digestHex(hex) not supported for this alg:prov="+this.algProvName},this.verify=function(Z){throw"verify(hSigVal) not supported for this alg:prov="+this.algProvName},this.initParams=k,void 0!==k&&(void 0!==k.alg&&(this.algName=k.alg,this.provName=void 0===k.prov?De.crypto.Util.DEFAULTPROVIDER[this.algName]:k.prov,this.algProvName=this.algName+":"+this.provName,this.setAlgAndProvider(this.algName,this.provName),this._setAlgNames()),void 0!==k.psssaltlen&&(this.pssSaltLen=k.psssaltlen),void 0!==k.prvkeypem)){if(void 0!==k.prvkeypas)throw"both prvkeypem and prvkeypas parameters not supported";try{A=fr.getKey(k.prvkeypem),this.init(A)}catch(Z){throw"fatal error to load pem private key: "+Z}}},De.crypto.Cipher=function(k){},De.crypto.Cipher.encrypt=function(k,A,Z){if(A instanceof zt&&A.isPublic){var X=De.crypto.Cipher.getAlgByKeyAndName(A,Z);if("RSA"===X)return A.encrypt(k);if("RSAOAEP"===X)return A.encryptOAEP(k,"sha1");var ie=X.match(/^RSAOAEP(\d+)$/);if(null!==ie)return A.encryptOAEP(k,"sha"+ie[1]);throw"Cipher.encrypt: unsupported algorithm for RSAKey: "+Z}throw"Cipher.encrypt: unsupported key or algorithm"},De.crypto.Cipher.decrypt=function(k,A,Z){if(A instanceof zt&&A.isPrivate){var X=De.crypto.Cipher.getAlgByKeyAndName(A,Z);if("RSA"===X)return A.decrypt(k);if("RSAOAEP"===X)return A.decryptOAEP(k,"sha1");var ie=X.match(/^RSAOAEP(\d+)$/);if(null!==ie)return A.decryptOAEP(k,"sha"+ie[1]);throw"Cipher.decrypt: unsupported algorithm for RSAKey: "+Z}throw"Cipher.decrypt: unsupported key or algorithm"},De.crypto.Cipher.getAlgByKeyAndName=function(k,A){if(k instanceof zt){if(-1!=":RSA:RSAOAEP:RSAOAEP224:RSAOAEP256:RSAOAEP384:RSAOAEP512:".indexOf(A))return A;if(null==A)return"RSA";throw"getAlgByKeyAndName: not supported algorithm name for RSAKey: "+A}throw"getAlgByKeyAndName: not supported algorithm name: "+A},De.crypto.OID=new function(){this.oidhex2name={"2a864886f70d010101":"rsaEncryption","2a8648ce3d0201":"ecPublicKey","2a8648ce380401":"dsa","2a8648ce3d030107":"secp256r1","2b8104001f":"secp192k1","2b81040021":"secp224r1","2b8104000a":"secp256k1","2b81040023":"secp521r1","2b81040022":"secp384r1","2a8648ce380403":"SHA1withDSA","608648016503040301":"SHA224withDSA","608648016503040302":"SHA256withDSA"}},void 0!==De&&De||(S.KJUR=De={}),void 0!==De.crypto&&De.crypto||(De.crypto={}),De.crypto.ECDSA=function(k){var A=Error,Z=he,X=Xt,ie=De.crypto.ECDSA,me=De.crypto.ECParameterDB,Pe=ie.getName,Me=Qt.getVbyListEx,Be=Qt.isASN1HEX,$e=new at;this.type="EC",this.isPrivate=!1,this.isPublic=!1,this.getBigRandom=function(Ge){return new Z(Ge.bitLength(),$e).mod(Ge.subtract(Z.ONE)).add(Z.ONE)},this.setNamedCurve=function(Ge){this.ecparams=me.getByName(Ge),this.prvKeyHex=null,this.pubKeyHex=null,this.curveName=Ge},this.setPrivateKeyHex=function(Ge){this.isPrivate=!0,this.prvKeyHex=Ge},this.setPublicKeyHex=function(Ge){this.isPublic=!0,this.pubKeyHex=Ge},this.getPublicKeyXYHex=function(){var Ge=this.pubKeyHex;if("04"!==Ge.substr(0,2))throw"this method supports uncompressed format(04) only";var We=this.ecparams.keylen/4;if(Ge.length!==2+2*We)throw"malformed public key hex length";var nt={};return nt.x=Ge.substr(2,We),nt.y=Ge.substr(2+We),nt},this.getShortNISTPCurveName=function(){var Ge=this.curveName;return"secp256r1"===Ge||"NIST P-256"===Ge||"P-256"===Ge||"prime256v1"===Ge?"P-256":"secp384r1"===Ge||"NIST P-384"===Ge||"P-384"===Ge?"P-384":null},this.generateKeyPairHex=function(){var We=this.getBigRandom(this.ecparams.n),nt=this.ecparams.G.multiply(We),d=nt.getX().toBigInteger(),gt=nt.getY().toBigInteger(),Et=this.ecparams.keylen/4,Ee=("0000000000"+We.toString(16)).slice(-Et),ze="04"+("0000000000"+d.toString(16)).slice(-Et)+("0000000000"+gt.toString(16)).slice(-Et);return this.setPrivateKeyHex(Ee),this.setPublicKeyHex(ze),{ecprvhex:Ee,ecpubhex:ze}},this.signWithMessageHash=function(Ge){return this.signHex(Ge,this.prvKeyHex)},this.signHex=function(Ge,We){var nt=new Z(We,16),d=this.ecparams.n,gt=new Z(Ge.substring(0,this.ecparams.keylen/4),16);do{var Et=this.getBigRandom(d),Ee=this.ecparams.G.multiply(Et).getX().toBigInteger().mod(d)}while(Ee.compareTo(Z.ZERO)<=0);var ze=Et.modInverse(d).multiply(gt.add(nt.multiply(Ee))).mod(d);return ie.biRSSigToASN1Sig(Ee,ze)},this.sign=function(Ge,We){var nt=We,d=this.ecparams.n,gt=Z.fromByteArrayUnsigned(Ge);do{var Et=this.getBigRandom(d),Ee=this.ecparams.G.multiply(Et).getX().toBigInteger().mod(d)}while(Ee.compareTo(he.ZERO)<=0);var ze=Et.modInverse(d).multiply(gt.add(nt.multiply(Ee))).mod(d);return this.serializeSig(Ee,ze)},this.verifyWithMessageHash=function(Ge,We){return this.verifyHex(Ge,We,this.pubKeyHex)},this.verifyHex=function(Ge,We,nt){try{var d,gt,Et=ie.parseSigHex(We);d=Et.r,gt=Et.s;var Ee=X.decodeFromHex(this.ecparams.curve,nt),ze=new Z(Ge.substring(0,this.ecparams.keylen/4),16);return this.verifyRaw(ze,d,gt,Ee)}catch{return!1}},this.verify=function(Ge,We,nt){var d,gt,Et;if(Bitcoin.Util.isArray(We)){var Ee=this.parseSig(We);d=Ee.r,gt=Ee.s}else{if("object"!==(void 0===We?"undefined":B(We))||!We.r||!We.s)throw"Invalid value for signature";d=We.r,gt=We.s}if(nt instanceof Xt)Et=nt;else{if(!Bitcoin.Util.isArray(nt))throw"Invalid format for pubkey value, must be byte array or ECPointFp";Et=X.decodeFrom(this.ecparams.curve,nt)}var ze=Z.fromByteArrayUnsigned(Ge);return this.verifyRaw(ze,d,gt,Et)},this.verifyRaw=function(Ge,We,nt,d){var gt=this.ecparams.n,Et=this.ecparams.G;if(We.compareTo(Z.ONE)<0||We.compareTo(gt)>=0||nt.compareTo(Z.ONE)<0||nt.compareTo(gt)>=0)return!1;var Ee=nt.modInverse(gt),ze=Ge.multiply(Ee).mod(gt),Ke=We.multiply(Ee).mod(gt);return Et.multiply(ze).add(d.multiply(Ke)).getX().toBigInteger().mod(gt).equals(We)},this.serializeSig=function(Ge,We){var nt=Ge.toByteArraySigned(),d=We.toByteArraySigned(),gt=[];return gt.push(2),gt.push(nt.length),(gt=gt.concat(nt)).push(2),gt.push(d.length),(gt=gt.concat(d)).unshift(gt.length),gt.unshift(48),gt},this.parseSig=function(Ge){var We;if(48!=Ge[0])throw new Error("Signature not a valid DERSequence");if(2!=Ge[We=2])throw new Error("First element in signature must be a DERInteger");var nt=Ge.slice(We+2,We+2+Ge[We+1]);if(2!=Ge[We+=2+Ge[We+1]])throw new Error("Second element in signature must be a DERInteger");var d=Ge.slice(We+2,We+2+Ge[We+1]);return We+=2+Ge[We+1],{r:Z.fromByteArrayUnsigned(nt),s:Z.fromByteArrayUnsigned(d)}},this.parseSigCompact=function(Ge){if(65!==Ge.length)throw"Signature has the wrong length";var We=Ge[0]-27;if(We<0||We>7)throw"Invalid signature type";var nt=this.ecparams.n;return{r:Z.fromByteArrayUnsigned(Ge.slice(1,33)).mod(nt),s:Z.fromByteArrayUnsigned(Ge.slice(33,65)).mod(nt),i:We}},this.readPKCS5PrvKeyHex=function(Ge){if(!1===Be(Ge))throw new Error("not ASN.1 hex string");var We,nt,d;try{We=Me(Ge,0,["[0]",0],"06"),nt=Me(Ge,0,[1],"04");try{d=Me(Ge,0,["[1]",0],"03")}catch{}}catch{throw new Error("malformed PKCS#1/5 plain ECC private key")}if(this.curveName=Pe(We),void 0===this.curveName)throw"unsupported curve name";this.setNamedCurve(this.curveName),this.setPublicKeyHex(d),this.setPrivateKeyHex(nt),this.isPublic=!1},this.readPKCS8PrvKeyHex=function(Ge){if(!1===Be(Ge))throw new A("not ASN.1 hex string");var We,nt,d;try{Me(Ge,0,[1,0],"06"),We=Me(Ge,0,[1,1],"06"),nt=Me(Ge,0,[2,0,1],"04");try{d=Me(Ge,0,[2,0,"[1]",0],"03")}catch{}}catch{throw new A("malformed PKCS#8 plain ECC private key")}if(this.curveName=Pe(We),void 0===this.curveName)throw new A("unsupported curve name");this.setNamedCurve(this.curveName),this.setPublicKeyHex(d),this.setPrivateKeyHex(nt),this.isPublic=!1},this.readPKCS8PubKeyHex=function(Ge){if(!1===Be(Ge))throw new A("not ASN.1 hex string");var We,nt;try{Me(Ge,0,[0,0],"06"),We=Me(Ge,0,[0,1],"06"),nt=Me(Ge,0,[1],"03")}catch{throw new A("malformed PKCS#8 ECC public key")}if(this.curveName=Pe(We),null===this.curveName)throw new A("unsupported curve name");this.setNamedCurve(this.curveName),this.setPublicKeyHex(nt)},this.readCertPubKeyHex=function(Ge,We){if(!1===Be(Ge))throw new A("not ASN.1 hex string");var nt,d;try{nt=Me(Ge,0,[0,5,0,1],"06"),d=Me(Ge,0,[0,5,1],"03")}catch{throw new A("malformed X.509 certificate ECC public key")}if(this.curveName=Pe(nt),null===this.curveName)throw new A("unsupported curve name");this.setNamedCurve(this.curveName),this.setPublicKeyHex(d)},void 0!==k&&void 0!==k.curve&&(this.curveName=k.curve),void 0===this.curveName&&(this.curveName="secp256r1"),this.setNamedCurve(this.curveName),void 0!==k&&(void 0!==k.prv&&this.setPrivateKeyHex(k.prv),void 0!==k.pub&&this.setPublicKeyHex(k.pub))},De.crypto.ECDSA.parseSigHex=function(k){var A=De.crypto.ECDSA.parseSigHexInHexRS(k);return{r:new he(A.r,16),s:new he(A.s,16)}},De.crypto.ECDSA.parseSigHexInHexRS=function(k){var Z=Qt.getChildIdx,X=Qt.getV;if(Qt.checkStrictDER(k,0),"30"!=k.substr(0,2))throw new Error("signature is not a ASN.1 sequence");var ie=Z(k,0);if(2!=ie.length)throw new Error("signature shall have two elements");var me=ie[0],Pe=ie[1];if("02"!=k.substr(me,2))throw new Error("1st item not ASN.1 integer");if("02"!=k.substr(Pe,2))throw new Error("2nd item not ASN.1 integer");return{r:X(k,me),s:X(k,Pe)}},De.crypto.ECDSA.asn1SigToConcatSig=function(k){var A=De.crypto.ECDSA.parseSigHexInHexRS(k),Z=A.r,X=A.s;if("00"==Z.substr(0,2)&&Z.length%32==2&&(Z=Z.substr(2)),"00"==X.substr(0,2)&&X.length%32==2&&(X=X.substr(2)),Z.length%32==30&&(Z="00"+Z),X.length%32==30&&(X="00"+X),Z.length%32!=0)throw"unknown ECDSA sig r length error";if(X.length%32!=0)throw"unknown ECDSA sig s length error";return Z+X},De.crypto.ECDSA.concatSigToASN1Sig=function(k){if(k.length/2*8%128!=0)throw"unknown ECDSA concatinated r-s sig length error";var A=k.substr(0,k.length/2),Z=k.substr(k.length/2);return De.crypto.ECDSA.hexRSSigToASN1Sig(A,Z)},De.crypto.ECDSA.hexRSSigToASN1Sig=function(k,A){var Z=new he(k,16),X=new he(A,16);return De.crypto.ECDSA.biRSSigToASN1Sig(Z,X)},De.crypto.ECDSA.biRSSigToASN1Sig=function(k,A){var Z=De.asn1,X=new Z.DERInteger({bigint:k}),ie=new Z.DERInteger({bigint:A});return new Z.DERSequence({array:[X,ie]}).getEncodedHex()},De.crypto.ECDSA.getName=function(k){return"2b8104001f"===k?"secp192k1":"2a8648ce3d030107"===k?"secp256r1":"2b8104000a"===k?"secp256k1":"2b81040021"===k?"secp224r1":"2b81040022"===k?"secp384r1":-1!=="|secp256r1|NIST P-256|P-256|prime256v1|".indexOf(k)?"secp256r1":-1!=="|secp256k1|".indexOf(k)?"secp256k1":-1!=="|secp224r1|NIST P-224|P-224|".indexOf(k)?"secp224r1":-1!=="|secp384r1|NIST P-384|P-384|".indexOf(k)?"secp384r1":null},void 0!==De&&De||(S.KJUR=De={}),void 0!==De.crypto&&De.crypto||(De.crypto={}),De.crypto.ECParameterDB=new function(){var k={},A={};function Z(X){return new he(X,16)}this.getByName=function(X){var ie=X;if(void 0!==A[ie]&&(ie=A[X]),void 0!==k[ie])return k[ie];throw"unregistered EC curve name: "+ie},this.regist=function(X,ie,me,Pe,Ve,Me,Be,$e,Ge,We,nt,d){k[X]={};var gt=Z(me),Et=Z(Pe),Ee=Z(Ve),ze=Z(Me),Ke=Z(Be),Xe=new Kn(gt,Et,Ee),yt=Xe.decodePointHex("04"+$e+Ge);k[X].name=X,k[X].keylen=ie,k[X].curve=Xe,k[X].G=yt,k[X].n=ze,k[X].h=Ke,k[X].oid=nt,k[X].info=d;for(var At=0;At<We.length;At++)A[We[At]]=X}},De.crypto.ECParameterDB.regist("secp128r1",128,"FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF","FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFC","E87579C11079F43DD824993C2CEE5ED3","FFFFFFFE0000000075A30D1B9038A115","1","161FF7528B899B2D0C28607CA52C5B86","CF5AC8395BAFEB13C02DA292DDED7A83",[],"","secp128r1 : SECG curve over a 128 bit prime field"),De.crypto.ECParameterDB.regist("secp160k1",160,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFAC73","0","7","0100000000000000000001B8FA16DFAB9ACA16B6B3","1","3B4C382CE37AA192A4019E763036F4F5DD4D7EBB","938CF935318FDCED6BC28286531733C3F03C4FEE",[],"","secp160k1 : SECG curve over a 160 bit prime field"),De.crypto.ECParameterDB.regist("secp160r1",160,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFF","FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFC","1C97BEFC54BD7A8B65ACF89F81D4D4ADC565FA45","0100000000000000000001F4C8F927AED3CA752257","1","4A96B5688EF573284664698968C38BB913CBFC82","23A628553168947D59DCC912042351377AC5FB32",[],"","secp160r1 : SECG curve over a 160 bit prime field"),De.crypto.ECParameterDB.regist("secp192k1",192,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFEE37","0","3","FFFFFFFFFFFFFFFFFFFFFFFE26F2FC170F69466A74DEFD8D","1","DB4FF10EC057E9AE26B07D0280B7F4341DA5D1B1EAE06C7D","9B2F2F6D9C5628A7844163D015BE86344082AA88D95E2F9D",[]),De.crypto.ECParameterDB.regist("secp192r1",192,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF","FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFC","64210519E59C80E70FA7E9AB72243049FEB8DEECC146B9B1","FFFFFFFFFFFFFFFFFFFFFFFF99DEF836146BC9B1B4D22831","1","188DA80EB03090F67CBF20EB43A18800F4FF0AFD82FF1012","07192B95FFC8DA78631011ED6B24CDD573F977A11E794811",[]),De.crypto.ECParameterDB.regist("secp224r1",224,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000001","FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFE","B4050A850C04B3ABF54132565044B0B7D7BFD8BA270B39432355FFB4","FFFFFFFFFFFFFFFFFFFFFFFFFFFF16A2E0B8F03E13DD29455C5C2A3D","1","B70E0CBD6BB4BF7F321390B94A03C1D356C21122343280D6115C1D21","BD376388B5F723FB4C22DFE6CD4375A05A07476444D5819985007E34",[]),De.crypto.ECParameterDB.regist("secp256k1",256,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFC2F","0","7","FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141","1","79BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798","483ADA7726A3C4655DA4FBFC0E1108A8FD17B448A68554199C47D08FFB10D4B8",[]),De.crypto.ECParameterDB.regist("secp256r1",256,"FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFF","FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFC","5AC635D8AA3A93E7B3EBBD55769886BC651D06B0CC53B0F63BCE3C3E27D2604B","FFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551","1","6B17D1F2E12C4247F8BCE6E563A440F277037D812DEB33A0F4A13945D898C296","4FE342E2FE1A7F9B8EE7EB4A7C0F9E162BCE33576B315ECECBB6406837BF51F5",["NIST P-256","P-256","prime256v1"]),De.crypto.ECParameterDB.regist("secp384r1",384,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFF0000000000000000FFFFFFFF","FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFF0000000000000000FFFFFFFC","B3312FA7E23EE7E4988E056BE3F82D19181D9C6EFE8141120314088F5013875AC656398D8A2ED19D2A85C8EDD3EC2AEF","FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC7634D81F4372DDF581A0DB248B0A77AECEC196ACCC52973","1","AA87CA22BE8B05378EB1C71EF320AD746E1D3B628BA79B9859F741E082542A385502F25DBF55296C3A545E3872760AB7","3617de4a96262c6f5d9e98bf9292dc29f8f41dbd289a147ce9da3113b5f0b8c00a60b1ce1d7e819d7a431d7c90ea0e5f",["NIST P-384","P-384"]),De.crypto.ECParameterDB.regist("secp521r1",521,"1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF","1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC","051953EB9618E1C9A1F929A21A0B68540EEA2DA725B99B315F3B8B489918EF109E156193951EC7E937B1652C0BD3BB1BF073573DF883D2C34F1EF451FD46B503F00","1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA51868783BF2F966B7FCC0148F709A5D03BB5C9B8899C47AEBB6FB71E91386409","1","C6858E06B70404E9CD9E3ECB662395B4429C648139053FB521F828AF606B4D3DBAA14B5E77EFE75928FE1DC127A2FFA8DE3348B3C1856A429BF97E7E31C2E5BD66","011839296a789a3bc0045c8a5fb42c7d1bd998f54449579b446817afbd17273e662c97ee72995ef42640c550b9013fad0761353c7086a272c24088be94769fd16650",["NIST P-521","P-521"]);var fr=function(){var k=function(Be,$e,Ge){return A(U.AES,Be,$e,Ge)},A=function(Be,$e,Ge,We){var nt=U.enc.Hex.parse($e),d=U.enc.Hex.parse(Ge),gt=U.enc.Hex.parse(We),Et={};Et.key=d,Et.iv=gt,Et.ciphertext=nt;var Ee=Be.decrypt(Et,d,{iv:gt});return U.enc.Hex.stringify(Ee)},Z=function(Be,$e,Ge){return X(U.AES,Be,$e,Ge)},X=function(Be,$e,Ge,We){var nt=U.enc.Hex.parse($e),d=U.enc.Hex.parse(Ge),gt=U.enc.Hex.parse(We),Et=Be.encrypt(nt,d,{iv:gt}),Ee=U.enc.Hex.parse(Et.toString());return U.enc.Base64.stringify(Ee)},ie={"AES-256-CBC":{proc:k,eproc:Z,keylen:32,ivlen:16},"AES-192-CBC":{proc:k,eproc:Z,keylen:24,ivlen:16},"AES-128-CBC":{proc:k,eproc:Z,keylen:16,ivlen:16},"DES-EDE3-CBC":{proc:function(Be,$e,Ge){return A(U.TripleDES,Be,$e,Ge)},eproc:function(Be,$e,Ge){return X(U.TripleDES,Be,$e,Ge)},keylen:24,ivlen:8},"DES-CBC":{proc:function(Be,$e,Ge){return A(U.DES,Be,$e,Ge)},eproc:function(Be,$e,Ge){return X(U.DES,Be,$e,Ge)},keylen:8,ivlen:8}},me=function(Be){var $e={},Ge=Be.match(new RegExp("DEK-Info: ([^,]+),([0-9A-Fa-f]+)","m"));Ge&&($e.cipher=Ge[1],$e.ivsalt=Ge[2]);var We=Be.match(new RegExp("-----BEGIN ([A-Z]+) PRIVATE KEY-----"));We&&($e.type=We[1]);var nt=-1,d=0;-1!=Be.indexOf("\r\n\r\n")&&(nt=Be.indexOf("\r\n\r\n"),d=2),-1!=Be.indexOf("\n\n")&&(nt=Be.indexOf("\n\n"),d=1);var gt=Be.indexOf("-----END");if(-1!=nt&&-1!=gt){var Et=Be.substring(nt+2*d,gt-d);Et=Et.replace(/\s+/g,""),$e.data=Et}return $e},Pe=function(Be,$e,Ge){for(var We=Ge.substring(0,16),nt=U.enc.Hex.parse(We),d=U.enc.Utf8.parse($e),gt=ie[Be].keylen+ie[Be].ivlen,Et="",Ee=null;;){var ze=U.algo.MD5.create();if(null!=Ee&&ze.update(Ee),ze.update(d),ze.update(nt),Ee=ze.finalize(),(Et+=U.enc.Hex.stringify(Ee)).length>=2*gt)break}var Ke={};return Ke.keyhex=Et.substr(0,2*ie[Be].keylen),Ke.ivhex=Et.substr(2*ie[Be].keylen,2*ie[Be].ivlen),Ke},Ve=function(Be,$e,Ge,We){var nt=U.enc.Base64.parse(Be),d=U.enc.Hex.stringify(nt);return(0,ie[$e].proc)(d,Ge,We)};return{version:"1.0.0",parsePKCS5PEM:function(Be){return me(Be)},getKeyAndUnusedIvByPasscodeAndIvsalt:function(Be,$e,Ge){return Pe(Be,$e,Ge)},decryptKeyB64:function(Be,$e,Ge,We){return Ve(Be,$e,Ge,We)},getDecryptedKeyHex:function(Be,$e){var Ge=me(Be),We=Ge.cipher,nt=Ge.ivsalt,d=Ge.data,gt=Pe(We,$e,nt).keyhex;return Ve(d,We,gt,nt)},getEncryptedPKCS5PEMFromPrvKeyHex:function(Be,$e,Ge,We,nt){var Ee,ze,d="";if(void 0!==We&&null!=We||(We="AES-256-CBC"),void 0===ie[We])throw"KEYUTIL unsupported algorithm: "+We;void 0!==nt&&null!=nt||(nt=(Ee=ie[We].ivlen,ze=U.lib.WordArray.random(Ee),U.enc.Hex.stringify(ze)).toUpperCase());var gt=function(Ee,ze,Ke,Xe){return(0,ie[ze].eproc)(Ee,Ke,Xe)}($e,We,Pe(We,Ge,nt).keyhex,nt);return d="-----BEGIN "+Be+" PRIVATE KEY-----\r\n",d+="Proc-Type: 4,ENCRYPTED\r\n",d+="DEK-Info: "+We+","+nt+"\r\n",d+="\r\n",(d+=gt.replace(/(.{64})/g,"$1\r\n"))+"\r\n-----END "+Be+" PRIVATE KEY-----\r\n"},parseHexOfEncryptedPKCS8:function(Be){var Ge=Qt.getChildIdx,We=Qt.getV,nt={},d=Ge(Be,0);if(2!=d.length)throw"malformed format: SEQUENCE(0).items != 2: "+d.length;nt.ciphertext=We(Be,d[1]);var gt=Ge(Be,d[0]);if(2!=gt.length)throw"malformed format: SEQUENCE(0.0).items != 2: "+gt.length;if("2a864886f70d01050d"!=We(Be,gt[0]))throw"this only supports pkcs5PBES2";var Et=Ge(Be,gt[1]);if(2!=gt.length)throw"malformed format: SEQUENCE(0.0.1).items != 2: "+Et.length;var Ee=Ge(Be,Et[1]);if(2!=Ee.length)throw"malformed format: SEQUENCE(0.0.1.1).items != 2: "+Ee.length;if("2a864886f70d0307"!=We(Be,Ee[0]))throw"this only supports TripleDES";nt.encryptionSchemeAlg="TripleDES",nt.encryptionSchemeIV=We(Be,Ee[1]);var ze=Ge(Be,Et[0]);if(2!=ze.length)throw"malformed format: SEQUENCE(0.0.1.0).items != 2: "+ze.length;if("2a864886f70d01050c"!=We(Be,ze[0]))throw"this only supports pkcs5PBKDF2";var Ke=Ge(Be,ze[1]);if(Ke.length<2)throw"malformed format: SEQUENCE(0.0.1.0.1).items < 2: "+Ke.length;nt.pbkdf2Salt=We(Be,Ke[0]);var Xe=We(Be,Ke[1]);try{nt.pbkdf2Iter=parseInt(Xe,16)}catch{throw"malformed format pbkdf2Iter: "+Xe}return nt},getPBKDF2KeyHexFromParam:function(Be,$e){var Ge=U.enc.Hex.parse(Be.pbkdf2Salt),nt=U.PBKDF2($e,Ge,{keySize:6,iterations:Be.pbkdf2Iter});return U.enc.Hex.stringify(nt)},_getPlainPKCS8HexFromEncryptedPKCS8PEM:function(Be,$e){var Ge=ci(Be,"ENCRYPTED PRIVATE KEY"),We=this.parseHexOfEncryptedPKCS8(Ge),nt=fr.getPBKDF2KeyHexFromParam(We,$e),d={};d.ciphertext=U.enc.Hex.parse(We.ciphertext);var gt=U.enc.Hex.parse(nt),Et=U.enc.Hex.parse(We.encryptionSchemeIV),Ee=U.TripleDES.decrypt(d,gt,{iv:Et});return U.enc.Hex.stringify(Ee)},getKeyFromEncryptedPKCS8PEM:function(Be,$e){var Ge=this._getPlainPKCS8HexFromEncryptedPKCS8PEM(Be,$e);return this.getKeyFromPlainPrivatePKCS8Hex(Ge)},parsePlainPrivatePKCS8Hex:function(Be){var $e=Qt,Ge=$e.getChildIdx,We=$e.getV,nt={algparam:null};if("30"!=Be.substr(0,2))throw"malformed plain PKCS8 private key(code:001)";var d=Ge(Be,0);if(3!=d.length)throw"malformed plain PKCS8 private key(code:002)";if("30"!=Be.substr(d[1],2))throw"malformed PKCS8 private key(code:003)";var gt=Ge(Be,d[1]);if(2!=gt.length)throw"malformed PKCS8 private key(code:004)";if("06"!=Be.substr(gt[0],2))throw"malformed PKCS8 private key(code:005)";if(nt.algoid=We(Be,gt[0]),"06"==Be.substr(gt[1],2)&&(nt.algparam=We(Be,gt[1])),"04"!=Be.substr(d[2],2))throw"malformed PKCS8 private key(code:006)";return nt.keyidx=$e.getVidx(Be,d[2]),nt},getKeyFromPlainPrivatePKCS8PEM:function(Be){var $e=ci(Be,"PRIVATE KEY");return this.getKeyFromPlainPrivatePKCS8Hex($e)},getKeyFromPlainPrivatePKCS8Hex:function(Be){var $e,Ge=this.parsePlainPrivatePKCS8Hex(Be);if("2a864886f70d010101"==Ge.algoid)$e=new zt;else if("2a8648ce380401"==Ge.algoid)$e=new De.crypto.DSA;else{if("2a8648ce3d0201"!=Ge.algoid)throw"unsupported private key algorithm";$e=new De.crypto.ECDSA}return $e.readPKCS8PrvKeyHex(Be),$e},_getKeyFromPublicPKCS8Hex:function(Be){var $e,Ge=Qt.getVbyList(Be,0,[0,0],"06");if("2a864886f70d010101"===Ge)$e=new zt;else if("2a8648ce380401"===Ge)$e=new De.crypto.DSA;else{if("2a8648ce3d0201"!==Ge)throw"unsupported PKCS#8 public key hex";$e=new De.crypto.ECDSA}return $e.readPKCS8PubKeyHex(Be),$e},parsePublicRawRSAKeyHex:function(Be){var Ge=Qt.getChildIdx,We=Qt.getV,nt={};if("30"!=Be.substr(0,2))throw"malformed RSA key(code:001)";var d=Ge(Be,0);if(2!=d.length)throw"malformed RSA key(code:002)";if("02"!=Be.substr(d[0],2))throw"malformed RSA key(code:003)";if(nt.n=We(Be,d[0]),"02"!=Be.substr(d[1],2))throw"malformed RSA key(code:004)";return nt.e=We(Be,d[1]),nt},parsePublicPKCS8Hex:function(Be){var $e=Qt,Ge=$e.getChildIdx,We=$e.getV,nt={algparam:null},d=Ge(Be,0);if(2!=d.length)throw"outer DERSequence shall have 2 elements: "+d.length;var gt=d[0];if("30"!=Be.substr(gt,2))throw"malformed PKCS8 public key(code:001)";var Et=Ge(Be,gt);if(2!=Et.length)throw"malformed PKCS8 public key(code:002)";if("06"!=Be.substr(Et[0],2))throw"malformed PKCS8 public key(code:003)";if(nt.algoid=We(Be,Et[0]),"06"==Be.substr(Et[1],2)?nt.algparam=We(Be,Et[1]):"30"==Be.substr(Et[1],2)&&(nt.algparam={},nt.algparam.p=$e.getVbyList(Be,Et[1],[0],"02"),nt.algparam.q=$e.getVbyList(Be,Et[1],[1],"02"),nt.algparam.g=$e.getVbyList(Be,Et[1],[2],"02")),"03"!=Be.substr(d[1],2))throw"malformed PKCS8 public key(code:004)";return nt.key=We(Be,d[1]).substr(2),nt}}}();fr.getKey=function(k,A,Z){var gr,X=(Et=Qt).getChildIdx,ie=Et.getVbyList,me=De.crypto,Pe=me.ECDSA,Ve=me.DSA,Me=zt,Be=ci,$e=fr;if(void 0!==Me&&k instanceof Me||void 0!==Pe&&k instanceof Pe||void 0!==Ve&&k instanceof Ve)return k;if(void 0!==k.curve&&void 0!==k.xy&&void 0===k.d)return new Pe({pub:k.xy,curve:k.curve});if(void 0!==k.curve&&void 0!==k.d)return new Pe({prv:k.d,curve:k.curve});if(void 0===k.kty&&void 0!==k.n&&void 0!==k.e&&void 0===k.d)return(gn=new Me).setPublic(k.n,k.e),gn;if(void 0===k.kty&&void 0!==k.n&&void 0!==k.e&&void 0!==k.d&&void 0!==k.p&&void 0!==k.q&&void 0!==k.dp&&void 0!==k.dq&&void 0!==k.co&&void 0===k.qi)return(gn=new Me).setPrivateEx(k.n,k.e,k.d,k.p,k.q,k.dp,k.dq,k.co),gn;if(void 0===k.kty&&void 0!==k.n&&void 0!==k.e&&void 0!==k.d&&void 0===k.p)return(gn=new Me).setPrivate(k.n,k.e,k.d),gn;if(void 0!==k.p&&void 0!==k.q&&void 0!==k.g&&void 0!==k.y&&void 0===k.x)return(gn=new Ve).setPublic(k.p,k.q,k.g,k.y),gn;if(void 0!==k.p&&void 0!==k.q&&void 0!==k.g&&void 0!==k.y&&void 0!==k.x)return(gn=new Ve).setPrivate(k.p,k.q,k.g,k.y,k.x),gn;if("RSA"===k.kty&&void 0!==k.n&&void 0!==k.e&&void 0===k.d)return(gn=new Me).setPublic(cn(k.n),cn(k.e)),gn;if("RSA"===k.kty&&void 0!==k.n&&void 0!==k.e&&void 0!==k.d&&void 0!==k.p&&void 0!==k.q&&void 0!==k.dp&&void 0!==k.dq&&void 0!==k.qi)return(gn=new Me).setPrivateEx(cn(k.n),cn(k.e),cn(k.d),cn(k.p),cn(k.q),cn(k.dp),cn(k.dq),cn(k.qi)),gn;if("RSA"===k.kty&&void 0!==k.n&&void 0!==k.e&&void 0!==k.d)return(gn=new Me).setPrivate(cn(k.n),cn(k.e),cn(k.d)),gn;if("EC"===k.kty&&void 0!==k.crv&&void 0!==k.x&&void 0!==k.y&&void 0===k.d){var Ge=(en=new Pe({curve:k.crv})).ecparams.keylen/4,We="04"+("0000000000"+cn(k.x)).slice(-Ge)+("0000000000"+cn(k.y)).slice(-Ge);return en.setPublicKeyHex(We),en}if("EC"===k.kty&&void 0!==k.crv&&void 0!==k.x&&void 0!==k.y&&void 0!==k.d){Ge=(en=new Pe({curve:k.crv})).ecparams.keylen/4,We="04"+("0000000000"+cn(k.x)).slice(-Ge)+("0000000000"+cn(k.y)).slice(-Ge);var nt=("0000000000"+cn(k.d)).slice(-Ge);return en.setPublicKeyHex(We),en.setPrivateKeyHex(nt),en}if("pkcs5prv"===Z){var d,gt=k,Et=Qt;if(9===(d=X(gt,0)).length)(gn=new Me).readPKCS5PrvKeyHex(gt);else if(6===d.length)(gn=new Ve).readPKCS5PrvKeyHex(gt);else{if(!(d.length>2&&"04"===gt.substr(d[1],2)))throw"unsupported PKCS#1/5 hexadecimal key";(gn=new Pe).readPKCS5PrvKeyHex(gt)}return gn}if("pkcs8prv"===Z)return $e.getKeyFromPlainPrivatePKCS8Hex(k);if("pkcs8pub"===Z)return $e._getKeyFromPublicPKCS8Hex(k);if("x509pub"===Z)return mr.getPublicKeyFromCertHex(k);if(-1!=k.indexOf("-END CERTIFICATE-",0)||-1!=k.indexOf("-END X509 CERTIFICATE-",0)||-1!=k.indexOf("-END TRUSTED CERTIFICATE-",0))return mr.getPublicKeyFromCertPEM(k);if(-1!=k.indexOf("-END PUBLIC KEY-")){var Ee=ci(k,"PUBLIC KEY");return $e._getKeyFromPublicPKCS8Hex(Ee)}if(-1!=k.indexOf("-END RSA PRIVATE KEY-")&&-1==k.indexOf("4,ENCRYPTED")){var ze=Be(k,"RSA PRIVATE KEY");return $e.getKey(ze,null,"pkcs5prv")}if(-1!=k.indexOf("-END DSA PRIVATE KEY-")&&-1==k.indexOf("4,ENCRYPTED")){var Ke=ie(gr=Be(k,"DSA PRIVATE KEY"),0,[1],"02"),Xe=ie(gr,0,[2],"02"),yt=ie(gr,0,[3],"02"),At=ie(gr,0,[4],"02"),Wt=ie(gr,0,[5],"02");return(gn=new Ve).setPrivate(new he(Ke,16),new he(Xe,16),new he(yt,16),new he(At,16),new he(Wt,16)),gn}if(-1!=k.indexOf("-END EC PRIVATE KEY-")&&-1==k.indexOf("4,ENCRYPTED"))return ze=Be(k,"EC PRIVATE KEY"),$e.getKey(ze,null,"pkcs5prv");if(-1!=k.indexOf("-END PRIVATE KEY-"))return $e.getKeyFromPlainPrivatePKCS8PEM(k);if(-1!=k.indexOf("-END RSA PRIVATE KEY-")&&-1!=k.indexOf("4,ENCRYPTED")){var jt=$e.getDecryptedKeyHex(k,A),Bn=new zt;return Bn.readPKCS5PrvKeyHex(jt),Bn}if(-1!=k.indexOf("-END EC PRIVATE KEY-")&&-1!=k.indexOf("4,ENCRYPTED")){var en,gn=ie(gr=$e.getDecryptedKeyHex(k,A),0,[1],"04"),or=ie(gr,0,[2,0],"06"),hr=ie(gr,0,[3,0],"03").substr(2);if(void 0===De.crypto.OID.oidhex2name[or])throw"undefined OID(hex) in KJUR.crypto.OID: "+or;return(en=new Pe({curve:De.crypto.OID.oidhex2name[or]})).setPublicKeyHex(hr),en.setPrivateKeyHex(gn),en.isPublic=!1,en}if(-1!=k.indexOf("-END DSA PRIVATE KEY-")&&-1!=k.indexOf("4,ENCRYPTED"))return Ke=ie(gr=$e.getDecryptedKeyHex(k,A),0,[1],"02"),Xe=ie(gr,0,[2],"02"),yt=ie(gr,0,[3],"02"),At=ie(gr,0,[4],"02"),Wt=ie(gr,0,[5],"02"),(gn=new Ve).setPrivate(new he(Ke,16),new he(Xe,16),new he(yt,16),new he(At,16),new he(Wt,16)),gn;if(-1!=k.indexOf("-END ENCRYPTED PRIVATE KEY-"))return $e.getKeyFromEncryptedPKCS8PEM(k,A);throw new Error("not supported argument")},fr.generateKeypair=function(k,A){if("RSA"==k){var Z=A;(Pe=new zt).generate(Z,"10001"),Pe.isPrivate=!0,Pe.isPublic=!0;var X=new zt,ie=Pe.n.toString(16),me=Pe.e.toString(16);return X.setPublic(ie,me),X.isPrivate=!1,X.isPublic=!0,(Ve={}).prvKeyObj=Pe,Ve.pubKeyObj=X,Ve}if("EC"==k){var Pe,Ve,Me=A,Be=new De.crypto.ECDSA({curve:Me}).generateKeyPairHex();return(Pe=new De.crypto.ECDSA({curve:Me})).setPublicKeyHex(Be.ecpubhex),Pe.setPrivateKeyHex(Be.ecprvhex),Pe.isPrivate=!0,Pe.isPublic=!1,(X=new De.crypto.ECDSA({curve:Me})).setPublicKeyHex(Be.ecpubhex),X.isPrivate=!1,X.isPublic=!0,(Ve={}).prvKeyObj=Pe,Ve.pubKeyObj=X,Ve}throw"unknown algorithm: "+k},fr.getPEM=function(k,A,Z,X,ie,me){var Ve=De.asn1,Me=Ve.DERObjectIdentifier,Be=Ve.DERInteger,$e=Ve.ASN1Util.newObject,We=De.crypto,nt=We.DSA,d=We.ECDSA,gt=zt;function Et(en){return $e({seq:[{int:0},{int:{bigint:en.n}},{int:en.e},{int:{bigint:en.d}},{int:{bigint:en.p}},{int:{bigint:en.q}},{int:{bigint:en.dmp1}},{int:{bigint:en.dmq1}},{int:{bigint:en.coeff}}]})}function Ee(en){return $e({seq:[{int:1},{octstr:{hex:en.prvKeyHex}},{tag:["a0",!0,{oid:{name:en.curveName}}]},{tag:["a1",!0,{bitstr:{hex:"00"+en.pubKeyHex}}]}]})}function ze(en){return $e({seq:[{int:0},{int:{bigint:en.p}},{int:{bigint:en.q}},{int:{bigint:en.g}},{int:{bigint:en.y}},{int:{bigint:en.x}}]})}if((void 0!==gt&&k instanceof gt||void 0!==nt&&k instanceof nt||void 0!==d&&k instanceof d)&&1==k.isPublic&&(void 0===A||"PKCS8PUB"==A))return Lr(At=new(0,Ve.x509.SubjectPublicKeyInfo)(k).getEncodedHex(),"PUBLIC KEY");if("PKCS1PRV"==A&&void 0!==gt&&k instanceof gt&&(void 0===Z||null==Z)&&1==k.isPrivate)return Lr(At=Et(k).getEncodedHex(),"RSA PRIVATE KEY");if("PKCS1PRV"==A&&void 0!==d&&k instanceof d&&(void 0===Z||null==Z)&&1==k.isPrivate){var Ke=new Me({name:k.curveName}).getEncodedHex(),Xe=Ee(k).getEncodedHex(),yt="";return(yt+=Lr(Ke,"EC PARAMETERS"))+Lr(Xe,"EC PRIVATE KEY")}if("PKCS1PRV"==A&&void 0!==nt&&k instanceof nt&&(void 0===Z||null==Z)&&1==k.isPrivate)return Lr(At=ze(k).getEncodedHex(),"DSA PRIVATE KEY");if("PKCS5PRV"==A&&void 0!==gt&&k instanceof gt&&void 0!==Z&&null!=Z&&1==k.isPrivate){var At=Et(k).getEncodedHex();return void 0===X&&(X="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("RSA",At,Z,X,me)}if("PKCS5PRV"==A&&void 0!==d&&k instanceof d&&void 0!==Z&&null!=Z&&1==k.isPrivate)return At=Ee(k).getEncodedHex(),void 0===X&&(X="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("EC",At,Z,X,me);if("PKCS5PRV"==A&&void 0!==nt&&k instanceof nt&&void 0!==Z&&null!=Z&&1==k.isPrivate)return At=ze(k).getEncodedHex(),void 0===X&&(X="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("DSA",At,Z,X,me);var Wt=function(gn,or){var hr=jt(gn,or);return new $e({seq:[{seq:[{oid:{name:"pkcs5PBES2"}},{seq:[{seq:[{oid:{name:"pkcs5PBKDF2"}},{seq:[{octstr:{hex:hr.pbkdf2Salt}},{int:hr.pbkdf2Iter}]}]},{seq:[{oid:{name:"des-EDE3-CBC"}},{octstr:{hex:hr.encryptionSchemeIV}}]}]}]},{octstr:{hex:hr.ciphertext}}]}).getEncodedHex()},jt=function(gn,or){var hr=U.lib.WordArray.random(8),gr=U.lib.WordArray.random(8),ii=U.PBKDF2(or,hr,{keySize:6,iterations:100}),Yr=U.enc.Hex.parse(gn),jr=U.TripleDES.encrypt(Yr,ii,{iv:gr})+"",Ze={};return Ze.ciphertext=jr,Ze.pbkdf2Salt=U.enc.Hex.stringify(hr),Ze.pbkdf2Iter=100,Ze.encryptionSchemeAlg="DES-EDE3-CBC",Ze.encryptionSchemeIV=U.enc.Hex.stringify(gr),Ze};if("PKCS8PRV"==A&&null!=gt&&k instanceof gt&&1==k.isPrivate){var Bn=Et(k).getEncodedHex();return At=$e({seq:[{int:0},{seq:[{oid:{name:"rsaEncryption"}},{null:!0}]},{octstr:{hex:Bn}}]}).getEncodedHex(),void 0===Z||null==Z?Lr(At,"PRIVATE KEY"):Lr(Xe=Wt(At,Z),"ENCRYPTED PRIVATE KEY")}if("PKCS8PRV"==A&&void 0!==d&&k instanceof d&&1==k.isPrivate)return Bn=new $e({seq:[{int:1},{octstr:{hex:k.prvKeyHex}},{tag:["a1",!0,{bitstr:{hex:"00"+k.pubKeyHex}}]}]}).getEncodedHex(),At=$e({seq:[{int:0},{seq:[{oid:{name:"ecPublicKey"}},{oid:{name:k.curveName}}]},{octstr:{hex:Bn}}]}).getEncodedHex(),void 0===Z||null==Z?Lr(At,"PRIVATE KEY"):Lr(Xe=Wt(At,Z),"ENCRYPTED PRIVATE KEY");if("PKCS8PRV"==A&&void 0!==nt&&k instanceof nt&&1==k.isPrivate)return Bn=new Be({bigint:k.x}).getEncodedHex(),At=$e({seq:[{int:0},{seq:[{oid:{name:"dsa"}},{seq:[{int:{bigint:k.p}},{int:{bigint:k.q}},{int:{bigint:k.g}}]}]},{octstr:{hex:Bn}}]}).getEncodedHex(),void 0===Z||null==Z?Lr(At,"PRIVATE KEY"):Lr(Xe=Wt(At,Z),"ENCRYPTED PRIVATE KEY");throw new Error("unsupported object nor format")},fr.getKeyFromCSRPEM=function(k){var A=ci(k,"CERTIFICATE REQUEST");return fr.getKeyFromCSRHex(A)},fr.getKeyFromCSRHex=function(k){var A=fr.parseCSRHex(k);return fr.getKey(A.p8pubkeyhex,null,"pkcs8pub")},fr.parseCSRHex=function(k){var Z=Qt.getChildIdx,X=Qt.getTLV,ie={},me=k;if("30"!=me.substr(0,2))throw"malformed CSR(code:001)";var Pe=Z(me,0);if(Pe.length<1)throw"malformed CSR(code:002)";if("30"!=me.substr(Pe[0],2))throw"malformed CSR(code:003)";var Ve=Z(me,Pe[0]);if(Ve.length<3)throw"malformed CSR(code:004)";return ie.p8pubkeyhex=X(me,Ve[2]),ie},fr.getKeyID=function(k){var A=fr,Z=Qt;"string"==typeof k&&-1!=k.indexOf("BEGIN ")&&(k=A.getKey(k));var X=ci(A.getPEM(k)),ie=Z.getIdxbyList(X,0,[1]),me=Z.getV(X,ie).substring(2);return De.crypto.Util.hashHex(me,"sha1")},fr.getJWKFromKey=function(k){var A={};if(k instanceof zt&&k.isPrivate)return A.kty="RSA",A.n=Cn(k.n.toString(16)),A.e=Cn(k.e.toString(16)),A.d=Cn(k.d.toString(16)),A.p=Cn(k.p.toString(16)),A.q=Cn(k.q.toString(16)),A.dp=Cn(k.dmp1.toString(16)),A.dq=Cn(k.dmq1.toString(16)),A.qi=Cn(k.coeff.toString(16)),A;if(k instanceof zt&&k.isPublic)return A.kty="RSA",A.n=Cn(k.n.toString(16)),A.e=Cn(k.e.toString(16)),A;if(k instanceof De.crypto.ECDSA&&k.isPrivate){if("P-256"!==(X=k.getShortNISTPCurveName())&&"P-384"!==X)throw"unsupported curve name for JWT: "+X;var Z=k.getPublicKeyXYHex();return A.kty="EC",A.crv=X,A.x=Cn(Z.x),A.y=Cn(Z.y),A.d=Cn(k.prvKeyHex),A}if(k instanceof De.crypto.ECDSA&&k.isPublic){var X;if("P-256"!==(X=k.getShortNISTPCurveName())&&"P-384"!==X)throw"unsupported curve name for JWT: "+X;return Z=k.getPublicKeyXYHex(),A.kty="EC",A.crv=X,A.x=Cn(Z.x),A.y=Cn(Z.y),A}throw"not supported key object"},zt.getPosArrayOfChildrenFromHex=function(k){return Qt.getChildIdx(k,0)},zt.getHexValueArrayOfChildrenFromHex=function(k){var A,Z=Qt.getV,X=Z(k,(A=zt.getPosArrayOfChildrenFromHex(k))[0]),ie=Z(k,A[1]),me=Z(k,A[2]),Pe=Z(k,A[3]),Ve=Z(k,A[4]),Me=Z(k,A[5]),Be=Z(k,A[6]),$e=Z(k,A[7]),Ge=Z(k,A[8]);return(A=new Array).push(X,ie,me,Pe,Ve,Me,Be,$e,Ge),A},zt.prototype.readPrivateKeyFromPEMString=function(k){var A=ci(k),Z=zt.getHexValueArrayOfChildrenFromHex(A);this.setPrivateEx(Z[1],Z[2],Z[3],Z[4],Z[5],Z[6],Z[7],Z[8])},zt.prototype.readPKCS5PrvKeyHex=function(k){var A=zt.getHexValueArrayOfChildrenFromHex(k);this.setPrivateEx(A[1],A[2],A[3],A[4],A[5],A[6],A[7],A[8])},zt.prototype.readPKCS8PrvKeyHex=function(k){var A,Z,X,ie,me,Pe,Ve,Me,$e=Qt.getVbyListEx;if(!1===Qt.isASN1HEX(k))throw new Error("not ASN.1 hex string");try{A=$e(k,0,[2,0,1],"02"),Z=$e(k,0,[2,0,2],"02"),X=$e(k,0,[2,0,3],"02"),ie=$e(k,0,[2,0,4],"02"),me=$e(k,0,[2,0,5],"02"),Pe=$e(k,0,[2,0,6],"02"),Ve=$e(k,0,[2,0,7],"02"),Me=$e(k,0,[2,0,8],"02")}catch{throw new Error("malformed PKCS#8 plain RSA private key")}this.setPrivateEx(A,Z,X,ie,me,Pe,Ve,Me)},zt.prototype.readPKCS5PubKeyHex=function(k){var A=Qt,Z=A.getV;if(!1===A.isASN1HEX(k))throw new Error("keyHex is not ASN.1 hex string");var X=A.getChildIdx(k,0);if(2!==X.length||"02"!==k.substr(X[0],2)||"02"!==k.substr(X[1],2))throw new Error("wrong hex for PKCS#5 public key");var ie=Z(k,X[0]),me=Z(k,X[1]);this.setPublic(ie,me)},zt.prototype.readPKCS8PubKeyHex=function(k){var A=Qt;if(!1===A.isASN1HEX(k))throw new Error("not ASN.1 hex string");if("06092a864886f70d010101"!==A.getTLVbyListEx(k,0,[0,0]))throw new Error("not PKCS8 RSA public key");var Z=A.getTLVbyListEx(k,0,[1,0]);this.readPKCS5PubKeyHex(Z)},zt.prototype.readCertPubKeyHex=function(k,A){var Z,X;(Z=new mr).readCertHex(k),X=Z.getPublicKeyHex(),this.readPKCS8PubKeyHex(X)};var ho=new RegExp("[^0-9a-f]","gi");function wa(k,A){for(var Z="",X=A/4-k.length,ie=0;ie<X;ie++)Z+="0";return Z+k}function di(k,A,Z){for(var X="",ie=0;X.length<A;)X+=wn(Z(kr(k+String.fromCharCode.apply(String,[(4278190080&ie)>>24,(16711680&ie)>>16,(65280&ie)>>8,255&ie])))),ie+=1;return X}function da(k){for(var A in De.crypto.Util.DIGESTINFOHEAD){var Z=De.crypto.Util.DIGESTINFOHEAD[A],X=Z.length;if(k.substring(0,X)==Z)return[A,k.substring(X)]}return[]}function mr(k){var A,Z=Qt,X=Z.getChildIdx,ie=Z.getV,me=Z.getTLV,Pe=Z.getVbyList,Ve=Z.getVbyListEx,Me=Z.getTLVbyList,Be=Z.getTLVbyListEx,$e=Z.getIdxbyList,Ge=Z.getIdxbyListEx,We=Z.getVidx,nt=Z.oidname,d=Z.hextooidstr,gt=mr,Et=ci;try{A=De.asn1.x509.AlgorithmIdentifier.PSSNAME2ASN1TLV}catch{}this.HEX2STAG={"0c":"utf8",13:"prn",16:"ia5","1a":"vis","1e":"bmp"},this.hex=null,this.version=0,this.foffset=0,this.aExtInfo=null,this.getVersion=function(){return null===this.hex||0!==this.version?this.version:"a003020102"!==Me(this.hex,0,[0,0])?(this.version=1,this.foffset=-1,1):(this.version=3,3)},this.getSerialNumberHex=function(){return Ve(this.hex,0,[0,0],"02")},this.getSignatureAlgorithmField=function(){var Ee=Be(this.hex,0,[0,1]);return this.getAlgorithmIdentifierName(Ee)},this.getAlgorithmIdentifierName=function(Ee){for(var ze in A)if(Ee===A[ze])return ze;return nt(Ve(Ee,0,[0],"06"))},this.getIssuer=function(){return this.getX500Name(this.getIssuerHex())},this.getIssuerHex=function(){return Me(this.hex,0,[0,3+this.foffset],"30")},this.getIssuerString=function(){return gt.hex2dn(this.getIssuerHex())},this.getSubject=function(){return this.getX500Name(this.getSubjectHex())},this.getSubjectHex=function(){return Me(this.hex,0,[0,5+this.foffset],"30")},this.getSubjectString=function(){return gt.hex2dn(this.getSubjectHex())},this.getNotBefore=function(){var Ee=Pe(this.hex,0,[0,4+this.foffset,0]);return Ee=Ee.replace(/(..)/g,"%$1"),decodeURIComponent(Ee)},this.getNotAfter=function(){var Ee=Pe(this.hex,0,[0,4+this.foffset,1]);return Ee=Ee.replace(/(..)/g,"%$1"),decodeURIComponent(Ee)},this.getPublicKeyHex=function(){return Z.getTLVbyList(this.hex,0,[0,6+this.foffset],"30")},this.getPublicKeyIdx=function(){return $e(this.hex,0,[0,6+this.foffset],"30")},this.getPublicKeyContentIdx=function(){var Ee=this.getPublicKeyIdx();return $e(this.hex,Ee,[1,0],"30")},this.getPublicKey=function(){return fr.getKey(this.getPublicKeyHex(),null,"pkcs8pub")},this.getSignatureAlgorithmName=function(){var Ee=Me(this.hex,0,[1],"30");return this.getAlgorithmIdentifierName(Ee)},this.getSignatureValueHex=function(){return Pe(this.hex,0,[2],"03",!0)},this.verifySignature=function(Ee){var ze=this.getSignatureAlgorithmField(),Ke=this.getSignatureValueHex(),Xe=Me(this.hex,0,[0],"30"),yt=new De.crypto.Signature({alg:ze});return yt.init(Ee),yt.updateHex(Xe),yt.verify(Ke)},this.parseExt=function(Ee){var ze,Ke,Xe;if(void 0===Ee){if(3!==this.version)return-1;ze=$e(Xe=this.hex,0,[0,7,0],"30"),Ke=X(Xe,ze)}else{Xe=ci(Ee);var yt=$e(Xe,0,[0,3,0,0],"06");if("2a864886f70d01090e"!=ie(Xe,yt))return void(this.aExtInfo=new Array);ze=$e(Xe,0,[0,3,0,1,0],"30"),Ke=X(Xe,ze),this.hex=Xe}this.aExtInfo=new Array;for(var At=0;At<Ke.length;At++){var Wt={critical:!1},jt=0;3===X(Xe,Ke[At]).length&&(Wt.critical=!0,jt=1),Wt.oid=Z.hextooidstr(Pe(Xe,Ke[At],[0],"06"));var Bn=$e(Xe,Ke[At],[1+jt]);Wt.vidx=We(Xe,Bn),this.aExtInfo.push(Wt)}},this.getExtInfo=function(Ee){var ze=this.aExtInfo,Ke=Ee;if(Ee.match(/^[0-9.]+$/)||(Ke=De.asn1.x509.OID.name2oid(Ee)),""!==Ke)for(var Xe=0;Xe<ze.length;Xe++)if(ze[Xe].oid===Ke)return ze[Xe]},this.getExtBasicConstraints=function(Ee,ze){if(void 0===Ee&&void 0===ze){var Ke=this.getExtInfo("basicConstraints");if(void 0===Ke)return;Ee=me(this.hex,Ke.vidx),ze=Ke.critical}var Xe={extname:"basicConstraints"};if(ze&&(Xe.critical=!0),"3000"===Ee)return Xe;if("30030101ff"===Ee)return Xe.cA=!0,Xe;if("30060101ff02"===Ee.substr(0,12)){var yt=ie(Ee,10),At=parseInt(yt,16);return Xe.cA=!0,Xe.pathLen=At,Xe}throw new Error("hExtV parse error: "+Ee)},this.getExtKeyUsage=function(Ee,ze){if(void 0===Ee&&void 0===ze){var Ke=this.getExtInfo("keyUsage");if(void 0===Ke)return;Ee=me(this.hex,Ke.vidx),ze=Ke.critical}var Xe={extname:"keyUsage"};return ze&&(Xe.critical=!0),Xe.names=this.getExtKeyUsageString(Ee).split(","),Xe},this.getExtKeyUsageBin=function(Ee){if(void 0===Ee){var ze=this.getExtInfo("keyUsage");if(void 0===ze)return"";Ee=me(this.hex,ze.vidx)}if(8!=Ee.length&&10!=Ee.length)throw new Error("malformed key usage value: "+Ee);var Ke="000000000000000"+parseInt(Ee.substr(6),16).toString(2);return 8==Ee.length&&(Ke=Ke.slice(-8)),10==Ee.length&&(Ke=Ke.slice(-16)),""==(Ke=Ke.replace(/0+$/,""))&&(Ke="0"),Ke},this.getExtKeyUsageString=function(Ee){for(var ze=this.getExtKeyUsageBin(Ee),Ke=new Array,Xe=0;Xe<ze.length;Xe++)"1"==ze.substr(Xe,1)&&Ke.push(mr.KEYUSAGE_NAME[Xe]);return Ke.join(",")},this.getExtSubjectKeyIdentifier=function(Ee,ze){if(void 0===Ee&&void 0===ze){var Ke=this.getExtInfo("subjectKeyIdentifier");if(void 0===Ke)return;Ee=me(this.hex,Ke.vidx),ze=Ke.critical}var Xe={extname:"subjectKeyIdentifier"};ze&&(Xe.critical=!0);var yt=ie(Ee,0);return Xe.kid={hex:yt},Xe},this.getExtAuthorityKeyIdentifier=function(Ee,ze){if(void 0===Ee&&void 0===ze){var Ke=this.getExtInfo("authorityKeyIdentifier");if(void 0===Ke)return;Ee=me(this.hex,Ke.vidx),ze=Ke.critical}var Xe={extname:"authorityKeyIdentifier"};ze&&(Xe.critical=!0);for(var yt=X(Ee,0),At=0;At<yt.length;At++){var Wt=Ee.substr(yt[At],2);if("80"===Wt&&(Xe.kid={hex:ie(Ee,yt[At])}),"a1"===Wt){var jt=me(Ee,yt[At]),Bn=this.getGeneralNames(jt);Xe.issuer=Bn[0].dn}"82"===Wt&&(Xe.sn={hex:ie(Ee,yt[At])})}return Xe},this.getExtExtKeyUsage=function(Ee,ze){if(void 0===Ee&&void 0===ze){var Ke=this.getExtInfo("extKeyUsage");if(void 0===Ke)return;Ee=me(this.hex,Ke.vidx),ze=Ke.critical}var Xe={extname:"extKeyUsage",array:[]};ze&&(Xe.critical=!0);for(var yt=X(Ee,0),At=0;At<yt.length;At++)Xe.array.push(nt(ie(Ee,yt[At])));return Xe},this.getExtExtKeyUsageName=function(){var Ee=this.getExtInfo("extKeyUsage");if(void 0===Ee)return Ee;var ze=new Array,Ke=me(this.hex,Ee.vidx);if(""===Ke)return ze;for(var Xe=X(Ke,0),yt=0;yt<Xe.length;yt++)ze.push(nt(ie(Ke,Xe[yt])));return ze},this.getExtSubjectAltName=function(Ee,ze){if(void 0===Ee&&void 0===ze){var Ke=this.getExtInfo("subjectAltName");if(void 0===Ke)return;Ee=me(this.hex,Ke.vidx),ze=Ke.critical}var Xe={extname:"subjectAltName",array:[]};return ze&&(Xe.critical=!0),Xe.array=this.getGeneralNames(Ee),Xe},this.getExtIssuerAltName=function(Ee,ze){if(void 0===Ee&&void 0===ze){var Ke=this.getExtInfo("issuerAltName");if(void 0===Ke)return;Ee=me(this.hex,Ke.vidx),ze=Ke.critical}var Xe={extname:"issuerAltName",array:[]};return ze&&(Xe.critical=!0),Xe.array=this.getGeneralNames(Ee),Xe},this.getGeneralNames=function(Ee){for(var ze=X(Ee,0),Ke=[],Xe=0;Xe<ze.length;Xe++){var yt=this.getGeneralName(me(Ee,ze[Xe]));void 0!==yt&&Ke.push(yt)}return Ke},this.getGeneralName=function(Ee){var ze=Ee.substr(0,2),Ke=ie(Ee,0),Xe=wn(Ke);return"81"==ze?{rfc822:Xe}:"82"==ze?{dns:Xe}:"86"==ze?{uri:Xe}:"87"==ze?{ip:Ca(Ke)}:"a4"==ze?{dn:this.getX500Name(Ke)}:void 0},this.getExtSubjectAltName2=function(){var Ee,ze,Ke,Xe=this.getExtInfo("subjectAltName");if(void 0===Xe)return Xe;for(var yt=new Array,At=me(this.hex,Xe.vidx),Wt=X(At,0),jt=0;jt<Wt.length;jt++)Ke=At.substr(Wt[jt],2),Ee=ie(At,Wt[jt]),"81"===Ke&&(ze=lr(Ee),yt.push(["MAIL",ze])),"82"===Ke&&(ze=lr(Ee),yt.push(["DNS",ze])),"84"===Ke&&(ze=mr.hex2dn(Ee,0),yt.push(["DN",ze])),"86"===Ke&&(ze=lr(Ee),yt.push(["URI",ze])),"87"===Ke&&(ze=Ca(Ee),yt.push(["IP",ze]));return yt},this.getExtCRLDistributionPoints=function(Ee,ze){if(void 0===Ee&&void 0===ze){var Ke=this.getExtInfo("cRLDistributionPoints");if(void 0===Ke)return;Ee=me(this.hex,Ke.vidx),ze=Ke.critical}var Xe={extname:"cRLDistributionPoints",array:[]};ze&&(Xe.critical=!0);for(var yt=X(Ee,0),At=0;At<yt.length;At++){var Wt=me(Ee,yt[At]);Xe.array.push(this.getDistributionPoint(Wt))}return Xe},this.getDistributionPoint=function(Ee){for(var ze={},Ke=X(Ee,0),Xe=0;Xe<Ke.length;Xe++){var yt=Ee.substr(Ke[Xe],2),At=me(Ee,Ke[Xe]);"a0"==yt&&(ze.dpname=this.getDistributionPointName(At))}return ze},this.getDistributionPointName=function(Ee){for(var ze={},Ke=X(Ee,0),Xe=0;Xe<Ke.length;Xe++){var yt=Ee.substr(Ke[Xe],2),At=me(Ee,Ke[Xe]);"a0"==yt&&(ze.full=this.getGeneralNames(At))}return ze},this.getExtCRLDistributionPointsURI=function(){var Ee=this.getExtInfo("cRLDistributionPoints");if(void 0===Ee)return Ee;for(var ze=new Array,Ke=X(this.hex,Ee.vidx),Xe=0;Xe<Ke.length;Xe++)try{var yt=lr(Pe(this.hex,Ke[Xe],[0,0,0],"86"));ze.push(yt)}catch{}return ze},this.getExtAIAInfo=function(){var Ee=this.getExtInfo("authorityInfoAccess");if(void 0===Ee)return Ee;for(var ze={ocsp:[],caissuer:[]},Ke=X(this.hex,Ee.vidx),Xe=0;Xe<Ke.length;Xe++){var yt=Pe(this.hex,Ke[Xe],[0],"06"),At=Pe(this.hex,Ke[Xe],[1],"86");"2b06010505073001"===yt&&ze.ocsp.push(lr(At)),"2b06010505073002"===yt&&ze.caissuer.push(lr(At))}return ze},this.getExtAuthorityInfoAccess=function(Ee,ze){if(void 0===Ee&&void 0===ze){var Ke=this.getExtInfo("authorityInfoAccess");if(void 0===Ke)return;Ee=me(this.hex,Ke.vidx),ze=Ke.critical}var Xe={extname:"authorityInfoAccess",array:[]};ze&&(Xe.critical=!0);for(var yt=X(Ee,0),At=0;At<yt.length;At++){var Wt=Ve(Ee,yt[At],[0],"06"),jt=lr(Pe(Ee,yt[At],[1],"86"));if("2b06010505073001"==Wt)Xe.array.push({ocsp:jt});else{if("2b06010505073002"!=Wt)throw new Error("unknown method: "+Wt);Xe.array.push({caissuer:jt})}}return Xe},this.getExtCertificatePolicies=function(Ee,ze){if(void 0===Ee&&void 0===ze){var Ke=this.getExtInfo("certificatePolicies");if(void 0===Ke)return;Ee=me(this.hex,Ke.vidx),ze=Ke.critical}var Xe={extname:"certificatePolicies",array:[]};ze&&(Xe.critical=!0);for(var yt=X(Ee,0),At=0;At<yt.length;At++){var Wt=me(Ee,yt[At]),jt=this.getPolicyInformation(Wt);Xe.array.push(jt)}return Xe},this.getPolicyInformation=function(Ee){var ze={},Ke=Pe(Ee,0,[0],"06");ze.policyoid=nt(Ke);var Xe=Ge(Ee,0,[1],"30");if(-1!=Xe){ze.array=[];for(var yt=X(Ee,Xe),At=0;At<yt.length;At++){var Wt=me(Ee,yt[At]),jt=this.getPolicyQualifierInfo(Wt);ze.array.push(jt)}}return ze},this.getPolicyQualifierInfo=function(Ee){var ze={},Ke=Pe(Ee,0,[0],"06");if("2b06010505070201"===Ke){var Xe=Ve(Ee,0,[1],"16");ze.cps=wn(Xe)}else if("2b06010505070202"===Ke){var yt=Me(Ee,0,[1],"30");ze.unotice=this.getUserNotice(yt)}return ze},this.getUserNotice=function(Ee){for(var ze={},Ke=X(Ee,0),Xe=0;Xe<Ke.length;Xe++){var yt=me(Ee,Ke[Xe]);"30"!=yt.substr(0,2)&&(ze.exptext=this.getDisplayText(yt))}return ze},this.getDisplayText=function(Ee){var ze={};return ze.type={"0c":"utf8",16:"ia5","1a":"vis","1e":"bmp"}[Ee.substr(0,2)],ze.str=wn(ie(Ee,0)),ze},this.getExtCRLNumber=function(Ee,ze){var Ke={extname:"cRLNumber"};if(ze&&(Ke.critical=!0),"02"==Ee.substr(0,2))return Ke.num={hex:ie(Ee,0)},Ke;throw new Error("hExtV parse error: "+Ee)},this.getExtCRLReason=function(Ee,ze){var Ke={extname:"cRLReason"};if(ze&&(Ke.critical=!0),"0a"==Ee.substr(0,2))return Ke.code=parseInt(ie(Ee,0),16),Ke;throw new Error("hExtV parse error: "+Ee)},this.getExtOcspNonce=function(Ee,ze){var Ke={extname:"ocspNonce"};ze&&(Ke.critical=!0);var Xe=ie(Ee,0);return Ke.hex=Xe,Ke},this.getExtOcspNoCheck=function(Ee,ze){var Ke={extname:"ocspNoCheck"};return ze&&(Ke.critical=!0),Ke},this.getExtAdobeTimeStamp=function(Ee,ze){if(void 0===Ee&&void 0===ze){var Ke=this.getExtInfo("adobeTimeStamp");if(void 0===Ke)return;Ee=me(this.hex,Ke.vidx),ze=Ke.critical}var Xe={extname:"adobeTimeStamp"};ze&&(Xe.critical=!0);var yt=X(Ee,0);if(yt.length>1){var At=me(Ee,yt[1]),Wt=this.getGeneralName(At);null!=Wt.uri&&(Xe.uri=Wt.uri)}if(yt.length>2){var jt=me(Ee,yt[2]);"0101ff"==jt&&(Xe.reqauth=!0),"010100"==jt&&(Xe.reqauth=!1)}return Xe},this.getX500NameRule=function(Ee){for(var ze=null,Ke=[],Xe=0;Xe<Ee.length;Xe++)for(var yt=Ee[Xe],At=0;At<yt.length;At++)Ke.push(yt[At]);for(Xe=0;Xe<Ke.length;Xe++){var Wt=Ke[Xe],jt=Wt.ds,en=Wt.type;if("prn"!=jt&&"utf8"!=jt&&"ia5"!=jt)return"mixed";if("ia5"==jt){if("CN"!=en)return"mixed";if(De.lang.String.isMail(Wt.value))continue;return"mixed"}if("C"==en){if("prn"==jt)continue;return"mixed"}if(null==ze)ze=jt;else if(ze!==jt)return"mixed"}return ze??"prn"},this.getX500Name=function(Ee){var ze=this.getX500NameArray(Ee);return{array:ze,str:this.dnarraytostr(ze)}},this.getX500NameArray=function(Ee){for(var ze=[],Ke=X(Ee,0),Xe=0;Xe<Ke.length;Xe++)ze.push(this.getRDN(me(Ee,Ke[Xe])));return ze},this.getRDN=function(Ee){for(var ze=[],Ke=X(Ee,0),Xe=0;Xe<Ke.length;Xe++)ze.push(this.getAttrTypeAndValue(me(Ee,Ke[Xe])));return ze},this.getAttrTypeAndValue=function(Ee){var ze={type:null,value:null,ds:null},Ke=X(Ee,0),Xe=Pe(Ee,Ke[0],[],"06"),yt=Pe(Ee,Ke[1],[]),At=De.asn1.ASN1Util.oidHexToInt(Xe);return ze.type=De.asn1.x509.OID.oid2atype(At),ze.value=wn(yt),ze.ds=this.HEX2STAG[Ee.substr(Ke[1],2)],ze},this.readCertPEM=function(Ee){this.readCertHex(Et(Ee))},this.readCertHex=function(Ee){this.hex=Ee,this.getVersion();try{$e(this.hex,0,[0,7],"a3"),this.parseExt()}catch{}},this.getParam=function(){var Ee={};return Ee.version=this.getVersion(),Ee.serial={hex:this.getSerialNumberHex()},Ee.sigalg=this.getSignatureAlgorithmField(),Ee.issuer=this.getIssuer(),Ee.notbefore=this.getNotBefore(),Ee.notafter=this.getNotAfter(),Ee.subject=this.getSubject(),Ee.sbjpubkey=Lr(this.getPublicKeyHex(),"PUBLIC KEY"),this.aExtInfo.length>0&&(Ee.ext=this.getExtParamArray()),Ee.sighex=this.getSignatureValueHex(),Ee},this.getExtParamArray=function(Ee){null==Ee&&-1!=Ge(this.hex,0,[0,"[3]"])&&(Ee=Be(this.hex,0,[0,"[3]",0],"30"));for(var ze=[],Ke=X(Ee,0),Xe=0;Xe<Ke.length;Xe++){var yt=me(Ee,Ke[Xe]),At=this.getExtParam(yt);null!=At&&ze.push(At)}return ze},this.getExtParam=function(Ee){var ze=X(Ee,0).length;if(2!=ze&&3!=ze)throw new Error("wrong number elements in Extension: "+ze+" "+Ee);var Ke=d(Pe(Ee,0,[0],"06")),Xe=!1;3==ze&&"0101ff"==Me(Ee,0,[1])&&(Xe=!0);var yt=Me(Ee,0,[ze-1,0]),At=void 0;if("2.5.29.14"==Ke?At=this.getExtSubjectKeyIdentifier(yt,Xe):"2.5.29.15"==Ke?At=this.getExtKeyUsage(yt,Xe):"2.5.29.17"==Ke?At=this.getExtSubjectAltName(yt,Xe):"2.5.29.18"==Ke?At=this.getExtIssuerAltName(yt,Xe):"2.5.29.19"==Ke?At=this.getExtBasicConstraints(yt,Xe):"2.5.29.31"==Ke?At=this.getExtCRLDistributionPoints(yt,Xe):"2.5.29.32"==Ke?At=this.getExtCertificatePolicies(yt,Xe):"2.5.29.35"==Ke?At=this.getExtAuthorityKeyIdentifier(yt,Xe):"2.5.29.37"==Ke?At=this.getExtExtKeyUsage(yt,Xe):"1.3.6.1.5.5.7.1.1"==Ke?At=this.getExtAuthorityInfoAccess(yt,Xe):"2.5.29.20"==Ke?At=this.getExtCRLNumber(yt,Xe):"2.5.29.21"==Ke?At=this.getExtCRLReason(yt,Xe):"1.3.6.1.5.5.7.48.1.2"==Ke?At=this.getExtOcspNonce(yt,Xe):"1.3.6.1.5.5.7.48.1.5"==Ke?At=this.getExtOcspNoCheck(yt,Xe):"1.2.840.113583.1.1.9.1"==Ke&&(At=this.getExtAdobeTimeStamp(yt,Xe)),null!=At)return At;var Wt={extname:Ke,extn:yt};return Xe&&(Wt.critical=!0),Wt},this.findExt=function(Ee,ze){for(var Ke=0;Ke<Ee.length;Ke++)if(Ee[Ke].extname==ze)return Ee[Ke];return null},this.updateExtCDPFullURI=function(Ee,ze){var Ke=this.findExt(Ee,"cRLDistributionPoints");if(null!=Ke&&null!=Ke.array)for(var Xe=Ke.array,yt=0;yt<Xe.length;yt++)if(null!=Xe[yt].dpname&&null!=Xe[yt].dpname.full)for(var At=Xe[yt].dpname.full,Wt=0;Wt<At.length;Wt++){var jt=At[yt];null!=jt.uri&&(jt.uri=ze)}},this.updateExtAIAOCSP=function(Ee,ze){var Ke=this.findExt(Ee,"authorityInfoAccess");if(null!=Ke&&null!=Ke.array)for(var Xe=Ke.array,yt=0;yt<Xe.length;yt++)null!=Xe[yt].ocsp&&(Xe[yt].ocsp=ze)},this.updateExtAIACAIssuer=function(Ee,ze){var Ke=this.findExt(Ee,"authorityInfoAccess");if(null!=Ke&&null!=Ke.array)for(var Xe=Ke.array,yt=0;yt<Xe.length;yt++)null!=Xe[yt].caissuer&&(Xe[yt].caissuer=ze)},this.dnarraytostr=function(Ee){return"/"+Ee.map(function(ze){return ze.map(function(yt){return(Wt=yt).type+"="+Wt.value;var Wt}).join("+")}).join("/")},this.getInfo=function(){var Ee,ze,Ke,ii,yt=function(ii){for(var Yr="",jr=ii.array,Ze=0;Ze<jr.length;Ze++){var lt=jr[Ze];if(Yr+=" policy oid: "+lt.policyoid+"\n",void 0!==lt.array)for(var ct=0;ct<lt.array.length;ct++){var wt=lt.array[ct];void 0!==wt.cps&&(Yr+=" cps: "+wt.cps+"\n")}}return Yr},At=function(ii){for(var Yr="",jr=ii.array,Ze=0;Ze<jr.length;Ze++){var lt=jr[Ze];try{void 0!==lt.dpname.full[0].uri&&(Yr+=" "+lt.dpname.full[0].uri+"\n")}catch{}try{void 0!==lt.dname.full[0].dn.hex&&(Yr+=" "+mr.hex2dn(lt.dpname.full[0].dn.hex)+"\n")}catch{}}return Yr},Wt=function(ii){for(var Yr="",jr=ii.array,Ze=0;Ze<jr.length;Ze++){var lt=jr[Ze];void 0!==lt.caissuer&&(Yr+=" caissuer: "+lt.caissuer+"\n"),void 0!==lt.ocsp&&(Yr+=" ocsp: "+lt.ocsp+"\n")}return Yr};if(Ee="Basic Fields\n",Ee+=" serial number: "+this.getSerialNumberHex()+"\n",Ee+=" signature algorithm: "+this.getSignatureAlgorithmField()+"\n",Ee+=" issuer: "+this.getIssuerString()+"\n",Ee+=" notBefore: "+this.getNotBefore()+"\n",Ee+=" notAfter: "+this.getNotAfter()+"\n",Ee+=" subject: "+this.getSubjectString()+"\n",Ee+=" subject public key info: \n",Ee+=" key algorithm: "+(ze=this.getPublicKey()).type+"\n","RSA"===ze.type&&(Ee+=" n="+hi(ze.n.toString(16)).substr(0,16)+"...\n",Ee+=" e="+hi(ze.e.toString(16))+"\n"),null!=(Ke=this.aExtInfo)){Ee+="X509v3 Extensions:\n";for(var jt=0;jt<Ke.length;jt++){var Bn=Ke[jt],en=De.asn1.x509.OID.oid2name(Bn.oid);""===en&&(en=Bn.oid);var gn="";if(!0===Bn.critical&&(gn="CRITICAL"),Ee+=" "+en+" "+gn+":\n","basicConstraints"===en){var or=this.getExtBasicConstraints();void 0===or.cA?Ee+=" {}\n":(Ee+=" cA=true",void 0!==or.pathLen&&(Ee+=", pathLen="+or.pathLen),Ee+="\n")}else if("keyUsage"===en)Ee+=" "+this.getExtKeyUsageString()+"\n";else if("subjectKeyIdentifier"===en)Ee+=" "+this.getExtSubjectKeyIdentifier().kid.hex+"\n";else if("authorityKeyIdentifier"===en){var hr=this.getExtAuthorityKeyIdentifier();void 0!==hr.kid&&(Ee+=" kid="+hr.kid.hex+"\n")}else"extKeyUsage"===en?Ee+=" "+this.getExtExtKeyUsage().array.join(", ")+"\n":"subjectAltName"===en?Ee+=" "+(ii=this.getExtSubjectAltName(),JSON.stringify(ii.array).replace(/[\[\]\{\}\"]/g,"")+"\n"):"cRLDistributionPoints"===en?Ee+=At(this.getExtCRLDistributionPoints()):"authorityInfoAccess"===en?Ee+=Wt(this.getExtAuthorityInfoAccess()):"certificatePolicies"===en&&(Ee+=yt(this.getExtCertificatePolicies()))}}return(Ee+="signature algorithm: "+this.getSignatureAlgorithmName()+"\n")+"signature: "+this.getSignatureValueHex().substr(0,16)+"...\n"},"string"==typeof k&&(-1!=k.indexOf("-----BEGIN")?this.readCertPEM(k):De.lang.String.isHex(k)&&this.readCertHex(k))}zt.prototype.sign=function(k,A){var Z=function(ie){return De.crypto.Util.hashString(ie,A)}(k);return this.signWithMessageHash(Z,A)},zt.prototype.signWithMessageHash=function(k,A){var Z=Tt(De.crypto.Util.getPaddedDigestInfoHex(k,A,this.n.bitLength()),16);return wa(this.doPrivate(Z).toString(16),this.n.bitLength())},zt.prototype.signPSS=function(k,A,Z){var me,X=(me=kr(k),De.crypto.Util.hashHex(me,A));return void 0===Z&&(Z=-1),this.signWithMessageHashPSS(X,A,Z)},zt.prototype.signWithMessageHashPSS=function(k,A,Z){var X,ie=wn(k),me=ie.length,Pe=this.n.bitLength()-1,Ve=Math.ceil(Pe/8),Me=function(Ee){return De.crypto.Util.hashHex(Ee,A)};if(-1===Z||void 0===Z)Z=me;else if(-2===Z)Z=Ve-me-2;else if(Z<-2)throw new Error("invalid salt length");if(Ve<me+Z+2)throw new Error("data too long");var Be="";Z>0&&(Be=new Array(Z),(new at).nextBytes(Be),Be=String.fromCharCode.apply(String,Be));var $e=wn(Me(kr("\0\0\0\0\0\0\0\0"+ie+Be))),Ge=[];for(X=0;X<Ve-Z-me-2;X+=1)Ge[X]=0;var We=String.fromCharCode.apply(String,Ge)+"\x01"+Be,nt=di($e,We.length,Me),d=[];for(X=0;X<We.length;X+=1)d[X]=We.charCodeAt(X)^nt.charCodeAt(X);for(d[0]&=~(65280>>8*Ve-Pe&255),X=0;X<me;X++)d.push($e.charCodeAt(X));return d.push(188),wa(this.doPrivate(new he(d)).toString(16),this.n.bitLength())},zt.prototype.verify=function(k,A){var Z=Tt(A=(A=A.replace(ho,"")).replace(/[ \n]+/g,""),16);if(Z.bitLength()>this.n.bitLength())return 0;var X=da(this.doPublic(Z).toString(16).replace(/^1f+00/,""));return 0!=X.length&&X[1]==De.crypto.Util.hashString(k,X[0])},zt.prototype.verifyWithMessageHash=function(k,A){if(A.length!=Math.ceil(this.n.bitLength()/4))return!1;var Z=Tt(A,16);if(Z.bitLength()>this.n.bitLength())return 0;var X=da(this.doPublic(Z).toString(16).replace(/^1f+00/,""));return 0!=X.length&&X[1]==k},zt.prototype.verifyPSS=function(k,A,Z,X){var Pe,ie=(Pe=kr(k),De.crypto.Util.hashHex(Pe,Z));return void 0===X&&(X=-1),this.verifyWithMessageHashPSS(ie,A,Z,X)},zt.prototype.verifyWithMessageHashPSS=function(k,A,Z,X){if(A.length!=Math.ceil(this.n.bitLength()/4))return!1;var ie,me=new he(A,16),Pe=function(Ke){return De.crypto.Util.hashHex(Ke,Z)},Ve=wn(k),Me=Ve.length,Be=this.n.bitLength()-1,$e=Math.ceil(Be/8);if(-1===X||void 0===X)X=Me;else if(-2===X)X=$e-Me-2;else if(X<-2)throw new Error("invalid salt length");if($e<Me+X+2)throw new Error("data too long");var Ge=this.doPublic(me).toByteArray();for(ie=0;ie<Ge.length;ie+=1)Ge[ie]&=255;for(;Ge.length<$e;)Ge.unshift(0);if(188!==Ge[$e-1])throw new Error("encoded message does not end in 0xbc");var We=(Ge=String.fromCharCode.apply(String,Ge)).substr(0,$e-Me-1),nt=Ge.substr(We.length,Me),d=65280>>8*$e-Be&255;if(We.charCodeAt(0)&d)throw new Error("bits beyond keysize not zero");var gt=di(nt,We.length,Pe),Et=[];for(ie=0;ie<We.length;ie+=1)Et[ie]=We.charCodeAt(ie)^gt.charCodeAt(ie);Et[0]&=~d;var Ee=$e-Me-X-2;for(ie=0;ie<Ee;ie+=1)if(0!==Et[ie])throw new Error("leftmost octets not zero");if(1!==Et[Ee])throw new Error("0x01 marker not found");return nt===wn(Pe(kr("\0\0\0\0\0\0\0\0"+Ve+String.fromCharCode.apply(String,Et.slice(-X)))))},zt.SALT_LEN_HLEN=-1,zt.SALT_LEN_MAX=-2,zt.SALT_LEN_RECOVER=-2,mr.hex2dn=function(k,A){if(void 0===A&&(A=0),"30"!==k.substr(A,2))throw new Error("malformed DN");for(var Z=new Array,X=Qt.getChildIdx(k,A),ie=0;ie<X.length;ie++)Z.push(mr.hex2rdn(k,X[ie]));return"/"+(Z=Z.map(function(me){return me.replace("/","\\/")})).join("/")},mr.hex2rdn=function(k,A){if(void 0===A&&(A=0),"31"!==k.substr(A,2))throw new Error("malformed RDN");for(var Z=new Array,X=Qt.getChildIdx(k,A),ie=0;ie<X.length;ie++)Z.push(mr.hex2attrTypeValue(k,X[ie]));return(Z=Z.map(function(me){return me.replace("+","\\+")})).join("+")},mr.hex2attrTypeValue=function(k,A){var Z=Qt,X=Z.getV;if(void 0===A&&(A=0),"30"!==k.substr(A,2))throw new Error("malformed attribute type and value");var ie=Z.getChildIdx(k,A);2!==ie.length||k.substr(ie[0],2);var me=X(k,ie[0]),Pe=De.asn1.ASN1Util.oidHexToInt(me);return De.asn1.x509.OID.oid2atype(Pe)+"="+wn(X(k,ie[1]))},mr.getPublicKeyFromCertHex=function(k){var A=new mr;return A.readCertHex(k),A.getPublicKey()},mr.getPublicKeyFromCertPEM=function(k){var A=new mr;return A.readCertPEM(k),A.getPublicKey()},mr.getPublicKeyInfoPropOfCertPEM=function(k){var A,Z,X=Qt.getVbyList,ie={algparam:null};return(A=new mr).readCertPEM(k),Z=A.getPublicKeyHex(),ie.keyhex=X(Z,0,[1],"03").substr(2),ie.algoid=X(Z,0,[0,0],"06"),"2a8648ce3d0201"===ie.algoid&&(ie.algparam=X(Z,0,[0,1],"06")),ie},mr.KEYUSAGE_NAME=["digitalSignature","nonRepudiation","keyEncipherment","dataEncipherment","keyAgreement","keyCertSign","cRLSign","encipherOnly","decipherOnly"],void 0!==De&&De||(S.KJUR=De={}),void 0!==De.jws&&De.jws||(De.jws={}),De.jws.JWS=function(){var k=De.jws.JWS.isSafeJSONString;this.parseJWS=function(A,Z){if(void 0===this.parsedJWS||!Z&&void 0===this.parsedJWS.sigvalH){var X=A.match(/^([^.]+)\.([^.]+)\.([^.]+)$/);if(null==X)throw"JWS signature is not a form of 'Head.Payload.SigValue'.";var ie=X[1],me=X[2],Pe=X[3],Ve=ie+"."+me;if(this.parsedJWS={},this.parsedJWS.headB64U=ie,this.parsedJWS.payloadB64U=me,this.parsedJWS.sigvalB64U=Pe,this.parsedJWS.si=Ve,!Z){var Me=cn(Pe),Be=Tt(Me,16);this.parsedJWS.sigvalH=Me,this.parsedJWS.sigvalBI=Be}var $e=ar(ie),Ge=ar(me);if(this.parsedJWS.headS=$e,this.parsedJWS.payloadS=Ge,!k($e,this.parsedJWS,"headP"))throw"malformed JSON string for JWS Head: "+$e}}},De.jws.JWS.sign=function(k,A,Z,X,ie){var me,Pe,Ve,Be=De.jws.JWS,$e=Be.readSafeJSONString,Ge=Be.isSafeJSONString,We=De.crypto,nt=We.Mac,d=We.Signature,gt=JSON;if("string"!=typeof A&&"object"!=(void 0===A?"undefined":B(A)))throw"spHeader must be JSON string or object: "+A;if("object"==(void 0===A?"undefined":B(A))&&(me=gt.stringify(Pe=A)),"string"==typeof A){if(!Ge(me=A))throw"JWS Head is not safe JSON string: "+me;Pe=$e(me)}if(Ve=Z,"object"==(void 0===Z?"undefined":B(Z))&&(Ve=gt.stringify(Z)),""!=k&&null!=k||void 0===Pe.alg||(k=Pe.alg),""!=k&&null!=k&&void 0===Pe.alg&&(Pe.alg=k,me=gt.stringify(Pe)),k!==Pe.alg)throw"alg and sHeader.alg doesn't match: "+k+"!="+Pe.alg;var Et=null;if(void 0===Be.jwsalg2sigalg[k])throw"unsupported alg name: "+k;Et=Be.jwsalg2sigalg[k];var Ee=Br(me)+"."+Br(Ve),ze="";if("Hmac"==Et.substr(0,4)){if(void 0===X)throw"mac key shall be specified for HS* alg";var Ke=new nt({alg:Et,prov:"cryptojs",pass:X});Ke.updateString(Ee),ze=Ke.doFinal()}else if(-1!=Et.indexOf("withECDSA")){(yt=new d({alg:Et})).init(X,ie),yt.updateString(Ee);var Xe=yt.sign();ze=De.crypto.ECDSA.asn1SigToConcatSig(Xe)}else{var yt;"none"!=Et&&((yt=new d({alg:Et})).init(X,ie),yt.updateString(Ee),ze=yt.sign())}return Ee+"."+Cn(ze)},De.jws.JWS.verify=function(k,A,Z){var X,me=De.jws.JWS,Pe=me.readSafeJSONString,Ve=De.crypto,Me=Ve.ECDSA,Be=Ve.Mac,$e=Ve.Signature;void 0!==B(zt)&&(X=zt);var Ge=k.split(".");if(3!==Ge.length)return!1;var Et,We=Ge[0]+"."+Ge[1],nt=cn(Ge[2]),d=Pe(ar(Ge[0])),gt=null;if(void 0===d.alg)throw"algorithm not specified in header";if(Et=(gt=d.alg).substr(0,2),null!=Z&&"[object Array]"===Object.prototype.toString.call(Z)&&Z.length>0&&-1==(":"+Z.join(":")+":").indexOf(":"+gt+":"))throw"algorithm '"+gt+"' not accepted in the list";if("none"!=gt&&null===A)throw"key shall be specified to verify.";if("string"==typeof A&&-1!=A.indexOf("-----BEGIN ")&&(A=fr.getKey(A)),!("RS"!=Et&&"PS"!=Et||A instanceof X))throw"key shall be a RSAKey obj for RS* and PS* algs";if("ES"==Et&&!(A instanceof Me))throw"key shall be a ECDSA obj for ES* algs";var Ee=null;if(void 0===me.jwsalg2sigalg[d.alg])throw"unsupported alg name: "+gt;if("none"==(Ee=me.jwsalg2sigalg[gt]))throw"not supported";if("Hmac"==Ee.substr(0,4)){if(void 0===A)throw"hexadecimal key shall be specified for HMAC";var ze=new Be({alg:Ee,pass:A});return ze.updateString(We),nt==ze.doFinal()}if(-1!=Ee.indexOf("withECDSA")){var Ke,Xe=null;try{Xe=Me.concatSigToASN1Sig(nt)}catch{return!1}return(Ke=new $e({alg:Ee})).init(A),Ke.updateString(We),Ke.verify(Xe)}return(Ke=new $e({alg:Ee})).init(A),Ke.updateString(We),Ke.verify(nt)},De.jws.JWS.parse=function(k){var Z,X,ie=k.split("."),me={};if(2!=ie.length&&3!=ie.length)throw"malformed sJWS: wrong number of '.' splitted elements";return Z=ie[1],3==ie.length&&(X=ie[2]),me.headerObj=De.jws.JWS.readSafeJSONString(ar(ie[0])),me.payloadObj=De.jws.JWS.readSafeJSONString(ar(Z)),me.headerPP=JSON.stringify(me.headerObj,null," "),me.payloadPP=null==me.payloadObj?ar(Z):JSON.stringify(me.payloadObj,null," "),void 0!==X&&(me.sigHex=cn(X)),me},De.jws.JWS.verifyJWT=function(k,A,Z){var X=De.jws,ie=X.JWS,me=ie.readSafeJSONString,Pe=ie.inArray,Ve=ie.includedArray,Me=k.split("."),Be=Me[0],$e=Me[1],Ge=(cn(Me[2]),me(ar(Be))),We=me(ar($e));if(void 0===Ge.alg)return!1;if(void 0===Z.alg)throw"acceptField.alg shall be specified";if(!Pe(Ge.alg,Z.alg)||void 0!==We.iss&&"object"===B(Z.iss)&&!Pe(We.iss,Z.iss)||void 0!==We.sub&&"object"===B(Z.sub)&&!Pe(We.sub,Z.sub))return!1;if(void 0!==We.aud&&"object"===B(Z.aud))if("string"==typeof We.aud){if(!Pe(We.aud,Z.aud))return!1}else if("object"==B(We.aud)&&!Ve(We.aud,Z.aud))return!1;var nt=X.IntDate.getNow();return void 0!==Z.verifyAt&&"number"==typeof Z.verifyAt&&(nt=Z.verifyAt),void 0!==Z.gracePeriod&&"number"==typeof Z.gracePeriod||(Z.gracePeriod=0),!(void 0!==We.exp&&"number"==typeof We.exp&&We.exp+Z.gracePeriod<nt||void 0!==We.nbf&&"number"==typeof We.nbf&&nt<We.nbf-Z.gracePeriod||void 0!==We.iat&&"number"==typeof We.iat&&nt<We.iat-Z.gracePeriod||void 0!==We.jti&&void 0!==Z.jti&&We.jti!==Z.jti||!ie.verify(k,A,Z.alg))},De.jws.JWS.includedArray=function(k,A){var Z=De.jws.JWS.inArray;if(null===k||"object"!==(void 0===k?"undefined":B(k))||"number"!=typeof k.length)return!1;for(var X=0;X<k.length;X++)if(!Z(k[X],A))return!1;return!0},De.jws.JWS.inArray=function(k,A){if(null===A||"object"!==(void 0===A?"undefined":B(A))||"number"!=typeof A.length)return!1;for(var Z=0;Z<A.length;Z++)if(A[Z]==k)return!0;return!1},De.jws.JWS.jwsalg2sigalg={HS256:"HmacSHA256",HS384:"HmacSHA384",HS512:"HmacSHA512",RS256:"SHA256withRSA",RS384:"SHA384withRSA",RS512:"SHA512withRSA",ES256:"SHA256withECDSA",ES384:"SHA384withECDSA",PS256:"SHA256withRSAandMGF1",PS384:"SHA384withRSAandMGF1",PS512:"SHA512withRSAandMGF1",none:"none"},De.jws.JWS.isSafeJSONString=function(k,A,Z){var X=null;try{return"object"!=(void 0===(X=Un(k))?"undefined":B(X))||X.constructor===Array?0:(A&&(A[Z]=X),1)}catch{return 0}},De.jws.JWS.readSafeJSONString=function(k){var A=null;try{return"object"!=(void 0===(A=Un(k))?"undefined":B(A))||A.constructor===Array?null:A}catch{return null}},De.jws.JWS.getEncodedSignatureValueFromJWS=function(k){var A=k.match(/^[^.]+\.[^.]+\.([^.]+)$/);if(null==A)throw"JWS signature is not a form of 'Head.Payload.SigValue'.";return A[1]},De.jws.JWS.getJWKthumbprint=function(k){if("RSA"!==k.kty&&"EC"!==k.kty&&"oct"!==k.kty)throw"unsupported algorithm for JWK Thumprint";var A="{";if("RSA"===k.kty){if("string"!=typeof k.n||"string"!=typeof k.e)throw"wrong n and e value for RSA key";A+='"e":"'+k.e+'",',A+='"kty":"'+k.kty+'",',A+='"n":"'+k.n+'"}'}else if("EC"===k.kty){if("string"!=typeof k.crv||"string"!=typeof k.x||"string"!=typeof k.y)throw"wrong crv, x and y value for EC key";A+='"crv":"'+k.crv+'",',A+='"kty":"'+k.kty+'",',A+='"x":"'+k.x+'",',A+='"y":"'+k.y+'"}'}else if("oct"===k.kty){if("string"!=typeof k.k)throw"wrong k value for oct(symmetric) key";A+='"kty":"'+k.kty+'",',A+='"k":"'+k.k+'"}'}var Z=kr(A);return Cn(De.crypto.Util.hashHex(Z,"sha256"))},De.jws.IntDate={},De.jws.IntDate.get=function(k){var A=De.jws.IntDate,Z=A.getNow,X=A.getZulu;if("now"==k)return Z();if("now + 1hour"==k)return Z()+3600;if("now + 1day"==k)return Z()+86400;if("now + 1month"==k)return Z()+2592e3;if("now + 1year"==k)return Z()+31536e3;if(k.match(/Z$/))return X(k);if(k.match(/^[0-9]+$/))return parseInt(k);throw"unsupported format: "+k},De.jws.IntDate.getZulu=function(k){return zi(k)},De.jws.IntDate.getNow=function(){return~~(new Date/1e3)},De.jws.IntDate.intDate2UTCString=function(k){return new Date(1e3*k).toUTCString()},De.jws.IntDate.intDate2Zulu=function(k){var A=new Date(1e3*k);return("0000"+A.getUTCFullYear()).slice(-4)+("00"+(A.getUTCMonth()+1)).slice(-2)+("00"+A.getUTCDate()).slice(-2)+("00"+A.getUTCHours()).slice(-2)+("00"+A.getUTCMinutes()).slice(-2)+("00"+A.getUTCSeconds()).slice(-2)+"Z"},S.SecureRandom=at,S.rng_seed_time=xe,S.BigInteger=he,S.RSAKey=zt,S.EDSA=De.crypto.EDSA,S.DSA=De.crypto.DSA,S.Signature=De.crypto.Signature,S.MessageDigest=De.crypto.MessageDigest,S.Mac=De.crypto.Mac,S.Cipher=De.crypto.Cipher,S.KEYUTIL=fr,S.ASN1HEX=Qt,S.X509=mr,S.CryptoJS=U,S.b64tohex=ve,S.b64toBA=_e,S.stoBA=ba,S.BAtos=ki,S.BAtohex=_t,S.stohex=Pt,S.stob64=function(A){return ae(Pt(A))},S.stob64u=function(A){return Pn(ae(Pt(A)))},S.b64utos=function(A){return ki(_e(zn(A)))},S.b64tob64u=Pn,S.b64utob64=zn,S.hex2b64=ae,S.hextob64u=Cn,S.b64utohex=cn,S.utf8tob64u=Br,S.b64utoutf8=ar,S.utf8tob64=function(A){return ae(Za(Di(A)))},S.b64toutf8=function(A){return decodeURIComponent(Gi(ve(A)))},S.utf8tohex=Fr,S.hextoutf8=lr,S.hextorstr=wn,S.rstrtohex=kr,S.hextob64=Qn,S.hextob64nl=Vi,S.b64nltohex=Xr,S.hextopem=Lr,S.pemtohex=ci,S.hextoArrayBuffer=function(A){if(A.length%2!=0)throw"input is not even length";if(null==A.match(/^[0-9A-Fa-f]+$/))throw"input is not hexadecimal";for(var Z=new ArrayBuffer(A.length/2),X=new DataView(Z),ie=0;ie<A.length/2;ie++)X.setUint8(ie,parseInt(A.substr(2*ie,2),16));return Z},S.ArrayBuffertohex=function(A){for(var Z="",X=new DataView(A),ie=0;ie<A.byteLength;ie++)Z+=("00"+X.getUint8(ie).toString(16)).slice(-2);return Z},S.zulutomsec=Ba,S.zulutosec=zi,S.zulutodate=function(A){return new Date(Ba(A))},S.datetozulu=function(A,Z,X){var ie,me=A.getUTCFullYear();if(Z){if(me<1950||2049<me)throw"not proper year for UTCTime: "+me;ie=(""+me).slice(-2)}else ie=("000"+me).slice(-4);if(ie+=("0"+(A.getUTCMonth()+1)).slice(-2),ie+=("0"+A.getUTCDate()).slice(-2),ie+=("0"+A.getUTCHours()).slice(-2),ie+=("0"+A.getUTCMinutes()).slice(-2),ie+=("0"+A.getUTCSeconds()).slice(-2),X){var Pe=A.getUTCMilliseconds();0!==Pe&&(ie+="."+(Pe=(Pe=("00"+Pe).slice(-3)).replace(/0+$/g,"")))}return ie+"Z"},S.uricmptohex=Za,S.hextouricmp=Gi,S.ipv6tohex=Ri,S.hextoipv6=Hi,S.hextoip=Ca,S.iptohex=function(A){var Z="malformed IP address";if(!(A=A.toLowerCase(A)).match(/^[0-9.]+$/)){if(A.match(/^[0-9a-f:]+$/)&&-1!==A.indexOf(":"))return Ri(A);throw Z}var X=A.split(".");if(4!==X.length)throw Z;var ie="";try{for(var me=0;me<4;me++)ie+=("0"+parseInt(X[me]).toString(16)).slice(-2);return ie}catch{throw Z}},S.encodeURIComponentAll=Di,S.newline_toUnix=function(A){return A.replace(/\r\n/gm,"\n")},S.newline_toDos=function(A){return(A=A.replace(/\r\n/gm,"\n")).replace(/\n/gm,"\r\n")},S.hextoposhex=hi,S.intarystrtohex=function(A){A=(A=(A=A.replace(/^\s*\[\s*/,"")).replace(/\s*\]\s*$/,"")).replace(/\s*/g,"");try{return A.split(/,/).map(function(Z,X,ie){var me=parseInt(Z);if(me<0||255<me)throw"integer not in range 0-255";return("00"+me.toString(16)).slice(-2)}).join("")}catch(Z){throw"malformed integer array string: "+Z}},S.strdiffidx=function(A,Z){var X=A.length;A.length>Z.length&&(X=Z.length);for(var ie=0;ie<X;ie++)if(A.charCodeAt(ie)!=Z.charCodeAt(ie))return ie;return A.length!=Z.length?X:-1},S.KJUR=De,S.crypto=De.crypto,S.asn1=De.asn1,S.jws=De.jws,S.lang=De.lang}).call(this,M(28).Buffer)},function(V,S,M){"use strict";(function(K){var B=M(30),r=M(31),y=M(32);function f(){return _.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function g(de,J){if(f()<J)throw new RangeError("Invalid typed array length");return _.TYPED_ARRAY_SUPPORT?(de=new Uint8Array(J)).__proto__=_.prototype:(null===de&&(de=new _(J)),de.length=J),de}function _(de,J,oe){if(!(_.TYPED_ARRAY_SUPPORT||this instanceof _))return new _(de,J,oe);if("number"==typeof de){if("string"==typeof J)throw new Error("If encoding is specified then the first argument must be a string");return j(this,de)}return P(this,de,J,oe)}function P(de,J,oe,Ae){if("number"==typeof J)throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer<"u"&&J instanceof ArrayBuffer?function(pe,xe,ut,be){if(ut<0||xe.byteLength<ut)throw new RangeError("'offset' is out of bounds");if(xe.byteLength<ut+(be||0))throw new RangeError("'length' is out of bounds");return xe=void 0===ut&&void 0===be?new Uint8Array(xe):void 0===be?new Uint8Array(xe,ut):new Uint8Array(xe,ut,be),_.TYPED_ARRAY_SUPPORT?(pe=xe).__proto__=_.prototype:pe=v(pe,xe),pe}(de,J,oe,Ae):"string"==typeof J?function(pe,xe,ut){if("string"==typeof ut&&""!==ut||(ut="utf8"),!_.isEncoding(ut))throw new TypeError('"encoding" must be a valid string encoding');var be=0|G(xe,ut),ce=(pe=g(pe,be)).write(xe,ut);return ce!==be&&(pe=pe.slice(0,ce)),pe}(de,J,oe):function(pe,xe){if(_.isBuffer(xe)){var ut=0|b(xe.length);return 0===(pe=g(pe,ut)).length||xe.copy(pe,0,0,ut),pe}if(xe){if(typeof ArrayBuffer<"u"&&xe.buffer instanceof ArrayBuffer||"length"in xe)return"number"!=typeof xe.length||(ce=xe.length)!=ce?g(pe,0):v(pe,xe);if("Buffer"===xe.type&&y(xe.data))return v(pe,xe.data)}var ce;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(de,J)}function O(de){if("number"!=typeof de)throw new TypeError('"size" argument must be a number');if(de<0)throw new RangeError('"size" argument must not be negative')}function j(de,J){if(O(J),de=g(de,J<0?0:0|b(J)),!_.TYPED_ARRAY_SUPPORT)for(var oe=0;oe<J;++oe)de[oe]=0;return de}function v(de,J){var oe=J.length<0?0:0|b(J.length);de=g(de,oe);for(var Ae=0;Ae<oe;Ae+=1)de[Ae]=255&J[Ae];return de}function b(de){if(de>=f())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+f().toString(16)+" bytes");return 0|de}function G(de,J){if(_.isBuffer(de))return de.length;if(typeof ArrayBuffer<"u"&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(de)||de instanceof ArrayBuffer))return de.byteLength;"string"!=typeof de&&(de=""+de);var oe=de.length;if(0===oe)return 0;for(var Ae=!1;;)switch(J){case"ascii":case"latin1":case"binary":return oe;case"utf8":case"utf-8":case void 0:return et(de).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*oe;case"hex":return oe>>>1;case"base64":return je(de).length;default:if(Ae)return et(de).length;J=(""+J).toLowerCase(),Ae=!0}}function z(de,J,oe){var Ae=!1;if((void 0===J||J<0)&&(J=0),J>this.length||((void 0===oe||oe>this.length)&&(oe=this.length),oe<=0)||(oe>>>=0)<=(J>>>=0))return"";for(de||(de="utf8");;)switch(de){case"hex":return D(this,J,oe);case"utf8":case"utf-8":return R(this,J,oe);case"ascii":return I(this,J,oe);case"latin1":case"binary":return L(this,J,oe);case"base64":return x(this,J,oe);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Q(this,J,oe);default:if(Ae)throw new TypeError("Unknown encoding: "+de);de=(de+"").toLowerCase(),Ae=!0}}function H(de,J,oe){var Ae=de[J];de[J]=de[oe],de[oe]=Ae}function ee(de,J,oe,Ae,Ne){if(0===de.length)return-1;if("string"==typeof oe?(Ae=oe,oe=0):oe>2147483647?oe=2147483647:oe<-2147483648&&(oe=-2147483648),oe=+oe,isNaN(oe)&&(oe=Ne?0:de.length-1),oe<0&&(oe=de.length+oe),oe>=de.length){if(Ne)return-1;oe=de.length-1}else if(oe<0){if(!Ne)return-1;oe=0}if("string"==typeof J&&(J=_.from(J,Ae)),_.isBuffer(J))return 0===J.length?-1:U(de,J,oe,Ae,Ne);if("number"==typeof J)return J&=255,_.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?Ne?Uint8Array.prototype.indexOf.call(de,J,oe):Uint8Array.prototype.lastIndexOf.call(de,J,oe):U(de,[J],oe,Ae,Ne);throw new TypeError("val must be string, number or Buffer")}function U(de,J,oe,Ae,Ne){var pe,xe=1,ut=de.length,be=J.length;if(void 0!==Ae&&("ucs2"===(Ae=String(Ae).toLowerCase())||"ucs-2"===Ae||"utf16le"===Ae||"utf-16le"===Ae)){if(de.length<2||J.length<2)return-1;xe=2,ut/=2,be/=2,oe/=2}function ce(Tt,Vt){return 1===xe?Tt[Vt]:Tt.readUInt16BE(Vt*xe)}if(Ne){var le=-1;for(pe=oe;pe<ut;pe++)if(ce(de,pe)===ce(J,-1===le?0:pe-le)){if(-1===le&&(le=pe),pe-le+1===be)return le*xe}else-1!==le&&(pe-=pe-le),le=-1}else for(oe+be>ut&&(oe=ut-be),pe=oe;pe>=0;pe--){for(var Ie=!0,at=0;at<be;at++)if(ce(de,pe+at)!==ce(J,at)){Ie=!1;break}if(Ie)return pe}return-1}function W(de,J,oe,Ae){oe=Number(oe)||0;var Ne=de.length-oe;Ae?(Ae=Number(Ae))>Ne&&(Ae=Ne):Ae=Ne;var pe=J.length;if(pe%2!=0)throw new TypeError("Invalid hex string");Ae>pe/2&&(Ae=pe/2);for(var xe=0;xe<Ae;++xe){var ut=parseInt(J.substr(2*xe,2),16);if(isNaN(ut))return xe;de[oe+xe]=ut}return xe}function Y(de,J,oe,Ae){return it(et(J,de.length-oe),de,oe,Ae)}function ae(de,J,oe,Ae){return it(function(pe){for(var xe=[],ut=0;ut<pe.length;++ut)xe.push(255&pe.charCodeAt(ut));return xe}(J),de,oe,Ae)}function ve(de,J,oe,Ae){return ae(de,J,oe,Ae)}function _e(de,J,oe,Ae){return it(je(J),de,oe,Ae)}function he(de,J,oe,Ae){return it(function(pe,xe){for(var ut,be,le=[],Ie=0;Ie<pe.length&&!((xe-=2)<0);++Ie)be=(ut=pe.charCodeAt(Ie))>>8,le.push(ut%256),le.push(be);return le}(J,de.length-oe),de,oe,Ae)}function x(de,J,oe){return B.fromByteArray(0===J&&oe===de.length?de:de.slice(J,oe))}function R(de,J,oe){oe=Math.min(de.length,oe);for(var Ae=[],Ne=J;Ne<oe;){var pe,xe,ut,be,ce=de[Ne],le=null,Ie=ce>239?4:ce>223?3:ce>191?2:1;if(Ne+Ie<=oe)switch(Ie){case 1:ce<128&&(le=ce);break;case 2:128==(192&(pe=de[Ne+1]))&&(be=(31&ce)<<6|63&pe)>127&&(le=be);break;case 3:xe=de[Ne+2],128==(192&(pe=de[Ne+1]))&&128==(192&xe)&&(be=(15&ce)<<12|(63&pe)<<6|63&xe)>2047&&(be<55296||be>57343)&&(le=be);break;case 4:xe=de[Ne+2],ut=de[Ne+3],128==(192&(pe=de[Ne+1]))&&128==(192&xe)&&128==(192&ut)&&(be=(15&ce)<<18|(63&pe)<<12|(63&xe)<<6|63&ut)>65535&&be<1114112&&(le=be)}null===le?(le=65533,Ie=1):le>65535&&(Ae.push((le-=65536)>>>10&1023|55296),le=56320|1023&le),Ae.push(le),Ne+=Ie}return function(Tt){var Vt=Tt.length;if(Vt<=E)return String.fromCharCode.apply(String,Tt);for(var zt="",un=0;un<Vt;)zt+=String.fromCharCode.apply(String,Tt.slice(un,un+=E));return zt}(Ae)}S.Buffer=_,S.SlowBuffer=function(J){return+J!=J&&(J=0),_.alloc(+J)},S.INSPECT_MAX_BYTES=50,_.TYPED_ARRAY_SUPPORT=void 0!==K.TYPED_ARRAY_SUPPORT?K.TYPED_ARRAY_SUPPORT:function(){try{var J=new Uint8Array(1);return J.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===J.foo()&&"function"==typeof J.subarray&&0===J.subarray(1,1).byteLength}catch{return!1}}(),S.kMaxLength=f(),_.poolSize=8192,_._augment=function(de){return de.__proto__=_.prototype,de},_.from=function(de,J,oe){return P(null,de,J,oe)},_.TYPED_ARRAY_SUPPORT&&(_.prototype.__proto__=Uint8Array.prototype,_.__proto__=Uint8Array,typeof Symbol<"u"&&Symbol.species&&_[Symbol.species]===_&&Object.defineProperty(_,Symbol.species,{value:null,configurable:!0})),_.alloc=function(de,J,oe){return null,xe=J,ut=oe,O(pe=de),pe<=0?g(null,pe):void 0!==xe?"string"==typeof ut?g(null,pe).fill(xe,ut):g(null,pe).fill(xe):g(null,pe);var pe,xe,ut},_.allocUnsafe=function(de){return j(null,de)},_.allocUnsafeSlow=function(de){return j(null,de)},_.isBuffer=function(J){return!(null==J||!J._isBuffer)},_.compare=function(J,oe){if(!_.isBuffer(J)||!_.isBuffer(oe))throw new TypeError("Arguments must be Buffers");if(J===oe)return 0;for(var Ae=J.length,Ne=oe.length,pe=0,xe=Math.min(Ae,Ne);pe<xe;++pe)if(J[pe]!==oe[pe]){Ae=J[pe],Ne=oe[pe];break}return Ae<Ne?-1:Ne<Ae?1:0},_.isEncoding=function(J){switch(String(J).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},_.concat=function(J,oe){if(!y(J))throw new TypeError('"list" argument must be an Array of Buffers');if(0===J.length)return _.alloc(0);var Ae;if(void 0===oe)for(oe=0,Ae=0;Ae<J.length;++Ae)oe+=J[Ae].length;var Ne=_.allocUnsafe(oe),pe=0;for(Ae=0;Ae<J.length;++Ae){var xe=J[Ae];if(!_.isBuffer(xe))throw new TypeError('"list" argument must be an Array of Buffers');xe.copy(Ne,pe),pe+=xe.length}return Ne},_.byteLength=G,_.prototype._isBuffer=!0,_.prototype.swap16=function(){var J=this.length;if(J%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var oe=0;oe<J;oe+=2)H(this,oe,oe+1);return this},_.prototype.swap32=function(){var J=this.length;if(J%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var oe=0;oe<J;oe+=4)H(this,oe,oe+3),H(this,oe+1,oe+2);return this},_.prototype.swap64=function(){var J=this.length;if(J%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var oe=0;oe<J;oe+=8)H(this,oe,oe+7),H(this,oe+1,oe+6),H(this,oe+2,oe+5),H(this,oe+3,oe+4);return this},_.prototype.toString=function(){var J=0|this.length;return 0===J?"":0===arguments.length?R(this,0,J):z.apply(this,arguments)},_.prototype.equals=function(J){if(!_.isBuffer(J))throw new TypeError("Argument must be a Buffer");return this===J||0===_.compare(this,J)},_.prototype.inspect=function(){var J="",oe=S.INSPECT_MAX_BYTES;return this.length>0&&(J=this.toString("hex",0,oe).match(/.{2}/g).join(" "),this.length>oe&&(J+=" ... ")),"<Buffer "+J+">"},_.prototype.compare=function(J,oe,Ae,Ne,pe){if(!_.isBuffer(J))throw new TypeError("Argument must be a Buffer");if(void 0===oe&&(oe=0),void 0===Ae&&(Ae=J?J.length:0),void 0===Ne&&(Ne=0),void 0===pe&&(pe=this.length),oe<0||Ae>J.length||Ne<0||pe>this.length)throw new RangeError("out of range index");if(Ne>=pe&&oe>=Ae)return 0;if(Ne>=pe)return-1;if(oe>=Ae)return 1;if(this===J)return 0;for(var xe=(pe>>>=0)-(Ne>>>=0),ut=(Ae>>>=0)-(oe>>>=0),be=Math.min(xe,ut),ce=this.slice(Ne,pe),le=J.slice(oe,Ae),Ie=0;Ie<be;++Ie)if(ce[Ie]!==le[Ie]){xe=ce[Ie],ut=le[Ie];break}return xe<ut?-1:ut<xe?1:0},_.prototype.includes=function(J,oe,Ae){return-1!==this.indexOf(J,oe,Ae)},_.prototype.indexOf=function(J,oe,Ae){return ee(this,J,oe,Ae,!0)},_.prototype.lastIndexOf=function(J,oe,Ae){return ee(this,J,oe,Ae,!1)},_.prototype.write=function(J,oe,Ae,Ne){if(void 0===oe)Ne="utf8",Ae=this.length,oe=0;else if(void 0===Ae&&"string"==typeof oe)Ne=oe,Ae=this.length,oe=0;else{if(!isFinite(oe))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");oe|=0,isFinite(Ae)?(Ae|=0,void 0===Ne&&(Ne="utf8")):(Ne=Ae,Ae=void 0)}var pe=this.length-oe;if((void 0===Ae||Ae>pe)&&(Ae=pe),J.length>0&&(Ae<0||oe<0)||oe>this.length)throw new RangeError("Attempt to write outside buffer bounds");Ne||(Ne="utf8");for(var xe=!1;;)switch(Ne){case"hex":return W(this,J,oe,Ae);case"utf8":case"utf-8":return Y(this,J,oe,Ae);case"ascii":return ae(this,J,oe,Ae);case"latin1":case"binary":return ve(this,J,oe,Ae);case"base64":return _e(this,J,oe,Ae);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return he(this,J,oe,Ae);default:if(xe)throw new TypeError("Unknown encoding: "+Ne);Ne=(""+Ne).toLowerCase(),xe=!0}},_.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var E=4096;function I(de,J,oe){var Ae="";oe=Math.min(de.length,oe);for(var Ne=J;Ne<oe;++Ne)Ae+=String.fromCharCode(127&de[Ne]);return Ae}function L(de,J,oe){var Ae="";oe=Math.min(de.length,oe);for(var Ne=J;Ne<oe;++Ne)Ae+=String.fromCharCode(de[Ne]);return Ae}function D(de,J,oe){var Ae=de.length;(!J||J<0)&&(J=0),(!oe||oe<0||oe>Ae)&&(oe=Ae);for(var Ne="",pe=J;pe<oe;++pe)Ne+=vt(de[pe]);return Ne}function Q(de,J,oe){for(var Ae=de.slice(J,oe),Ne="",pe=0;pe<Ae.length;pe+=2)Ne+=String.fromCharCode(Ae[pe]+256*Ae[pe+1]);return Ne}function te(de,J,oe){if(de%1!=0||de<0)throw new RangeError("offset is not uint");if(de+J>oe)throw new RangeError("Trying to access beyond buffer length")}function Re(de,J,oe,Ae,Ne,pe){if(!_.isBuffer(de))throw new TypeError('"buffer" argument must be a Buffer instance');if(J>Ne||J<pe)throw new RangeError('"value" argument is out of bounds');if(oe+Ae>de.length)throw new RangeError("Index out of range")}function ne(de,J,oe,Ae){J<0&&(J=65535+J+1);for(var Ne=0,pe=Math.min(de.length-oe,2);Ne<pe;++Ne)de[oe+Ne]=(J&255<<8*(Ae?Ne:1-Ne))>>>8*(Ae?Ne:1-Ne)}function Fe(de,J,oe,Ae){J<0&&(J=4294967295+J+1);for(var Ne=0,pe=Math.min(de.length-oe,4);Ne<pe;++Ne)de[oe+Ne]=J>>>8*(Ae?Ne:3-Ne)&255}function rt(de,J,oe,Ae,Ne,pe){if(oe+Ae>de.length)throw new RangeError("Index out of range");if(oe<0)throw new RangeError("Index out of range")}function Te(de,J,oe,Ae,Ne){return Ne||rt(de,0,oe,4),r.write(de,J,oe,Ae,23,4),oe+4}function tt(de,J,oe,Ae,Ne){return Ne||rt(de,0,oe,8),r.write(de,J,oe,Ae,52,8),oe+8}_.prototype.slice=function(J,oe){var Ae,Ne=this.length;if((J=~~J)<0?(J+=Ne)<0&&(J=0):J>Ne&&(J=Ne),(oe=void 0===oe?Ne:~~oe)<0?(oe+=Ne)<0&&(oe=0):oe>Ne&&(oe=Ne),oe<J&&(oe=J),_.TYPED_ARRAY_SUPPORT)(Ae=this.subarray(J,oe)).__proto__=_.prototype;else{var pe=oe-J;Ae=new _(pe,void 0);for(var xe=0;xe<pe;++xe)Ae[xe]=this[xe+J]}return Ae},_.prototype.readUIntLE=function(J,oe,Ae){J|=0,oe|=0,Ae||te(J,oe,this.length);for(var Ne=this[J],pe=1,xe=0;++xe<oe&&(pe*=256);)Ne+=this[J+xe]*pe;return Ne},_.prototype.readUIntBE=function(J,oe,Ae){J|=0,oe|=0,Ae||te(J,oe,this.length);for(var Ne=this[J+--oe],pe=1;oe>0&&(pe*=256);)Ne+=this[J+--oe]*pe;return Ne},_.prototype.readUInt8=function(J,oe){return oe||te(J,1,this.length),this[J]},_.prototype.readUInt16LE=function(J,oe){return oe||te(J,2,this.length),this[J]|this[J+1]<<8},_.prototype.readUInt16BE=function(J,oe){return oe||te(J,2,this.length),this[J]<<8|this[J+1]},_.prototype.readUInt32LE=function(J,oe){return oe||te(J,4,this.length),(this[J]|this[J+1]<<8|this[J+2]<<16)+16777216*this[J+3]},_.prototype.readUInt32BE=function(J,oe){return oe||te(J,4,this.length),16777216*this[J]+(this[J+1]<<16|this[J+2]<<8|this[J+3])},_.prototype.readIntLE=function(J,oe,Ae){J|=0,oe|=0,Ae||te(J,oe,this.length);for(var Ne=this[J],pe=1,xe=0;++xe<oe&&(pe*=256);)Ne+=this[J+xe]*pe;return Ne>=(pe*=128)&&(Ne-=Math.pow(2,8*oe)),Ne},_.prototype.readIntBE=function(J,oe,Ae){J|=0,oe|=0,Ae||te(J,oe,this.length);for(var Ne=oe,pe=1,xe=this[J+--Ne];Ne>0&&(pe*=256);)xe+=this[J+--Ne]*pe;return xe>=(pe*=128)&&(xe-=Math.pow(2,8*oe)),xe},_.prototype.readInt8=function(J,oe){return oe||te(J,1,this.length),128&this[J]?-1*(255-this[J]+1):this[J]},_.prototype.readInt16LE=function(J,oe){oe||te(J,2,this.length);var Ae=this[J]|this[J+1]<<8;return 32768&Ae?4294901760|Ae:Ae},_.prototype.readInt16BE=function(J,oe){oe||te(J,2,this.length);var Ae=this[J+1]|this[J]<<8;return 32768&Ae?4294901760|Ae:Ae},_.prototype.readInt32LE=function(J,oe){return oe||te(J,4,this.length),this[J]|this[J+1]<<8|this[J+2]<<16|this[J+3]<<24},_.prototype.readInt32BE=function(J,oe){return oe||te(J,4,this.length),this[J]<<24|this[J+1]<<16|this[J+2]<<8|this[J+3]},_.prototype.readFloatLE=function(J,oe){return oe||te(J,4,this.length),r.read(this,J,!0,23,4)},_.prototype.readFloatBE=function(J,oe){return oe||te(J,4,this.length),r.read(this,J,!1,23,4)},_.prototype.readDoubleLE=function(J,oe){return oe||te(J,8,this.length),r.read(this,J,!0,52,8)},_.prototype.readDoubleBE=function(J,oe){return oe||te(J,8,this.length),r.read(this,J,!1,52,8)},_.prototype.writeUIntLE=function(J,oe,Ae,Ne){J=+J,oe|=0,Ae|=0,Ne||Re(this,J,oe,Ae,Math.pow(2,8*Ae)-1,0);var pe=1,xe=0;for(this[oe]=255&J;++xe<Ae&&(pe*=256);)this[oe+xe]=J/pe&255;return oe+Ae},_.prototype.writeUIntBE=function(J,oe,Ae,Ne){J=+J,oe|=0,Ae|=0,Ne||Re(this,J,oe,Ae,Math.pow(2,8*Ae)-1,0);var pe=Ae-1,xe=1;for(this[oe+pe]=255&J;--pe>=0&&(xe*=256);)this[oe+pe]=J/xe&255;return oe+Ae},_.prototype.writeUInt8=function(J,oe,Ae){return J=+J,oe|=0,Ae||Re(this,J,oe,1,255,0),_.TYPED_ARRAY_SUPPORT||(J=Math.floor(J)),this[oe]=255&J,oe+1},_.prototype.writeUInt16LE=function(J,oe,Ae){return J=+J,oe|=0,Ae||Re(this,J,oe,2,65535,0),_.TYPED_ARRAY_SUPPORT?(this[oe]=255&J,this[oe+1]=J>>>8):ne(this,J,oe,!0),oe+2},_.prototype.writeUInt16BE=function(J,oe,Ae){return J=+J,oe|=0,Ae||Re(this,J,oe,2,65535,0),_.TYPED_ARRAY_SUPPORT?(this[oe]=J>>>8,this[oe+1]=255&J):ne(this,J,oe,!1),oe+2},_.prototype.writeUInt32LE=function(J,oe,Ae){return J=+J,oe|=0,Ae||Re(this,J,oe,4,4294967295,0),_.TYPED_ARRAY_SUPPORT?(this[oe+3]=J>>>24,this[oe+2]=J>>>16,this[oe+1]=J>>>8,this[oe]=255&J):Fe(this,J,oe,!0),oe+4},_.prototype.writeUInt32BE=function(J,oe,Ae){return J=+J,oe|=0,Ae||Re(this,J,oe,4,4294967295,0),_.TYPED_ARRAY_SUPPORT?(this[oe]=J>>>24,this[oe+1]=J>>>16,this[oe+2]=J>>>8,this[oe+3]=255&J):Fe(this,J,oe,!1),oe+4},_.prototype.writeIntLE=function(J,oe,Ae,Ne){if(J=+J,oe|=0,!Ne){var pe=Math.pow(2,8*Ae-1);Re(this,J,oe,Ae,pe-1,-pe)}var xe=0,ut=1,be=0;for(this[oe]=255&J;++xe<Ae&&(ut*=256);)J<0&&0===be&&0!==this[oe+xe-1]&&(be=1),this[oe+xe]=(J/ut>>0)-be&255;return oe+Ae},_.prototype.writeIntBE=function(J,oe,Ae,Ne){if(J=+J,oe|=0,!Ne){var pe=Math.pow(2,8*Ae-1);Re(this,J,oe,Ae,pe-1,-pe)}var xe=Ae-1,ut=1,be=0;for(this[oe+xe]=255&J;--xe>=0&&(ut*=256);)J<0&&0===be&&0!==this[oe+xe+1]&&(be=1),this[oe+xe]=(J/ut>>0)-be&255;return oe+Ae},_.prototype.writeInt8=function(J,oe,Ae){return J=+J,oe|=0,Ae||Re(this,J,oe,1,127,-128),_.TYPED_ARRAY_SUPPORT||(J=Math.floor(J)),J<0&&(J=255+J+1),this[oe]=255&J,oe+1},_.prototype.writeInt16LE=function(J,oe,Ae){return J=+J,oe|=0,Ae||Re(this,J,oe,2,32767,-32768),_.TYPED_ARRAY_SUPPORT?(this[oe]=255&J,this[oe+1]=J>>>8):ne(this,J,oe,!0),oe+2},_.prototype.writeInt16BE=function(J,oe,Ae){return J=+J,oe|=0,Ae||Re(this,J,oe,2,32767,-32768),_.TYPED_ARRAY_SUPPORT?(this[oe]=J>>>8,this[oe+1]=255&J):ne(this,J,oe,!1),oe+2},_.prototype.writeInt32LE=function(J,oe,Ae){return J=+J,oe|=0,Ae||Re(this,J,oe,4,2147483647,-2147483648),_.TYPED_ARRAY_SUPPORT?(this[oe]=255&J,this[oe+1]=J>>>8,this[oe+2]=J>>>16,this[oe+3]=J>>>24):Fe(this,J,oe,!0),oe+4},_.prototype.writeInt32BE=function(J,oe,Ae){return J=+J,oe|=0,Ae||Re(this,J,oe,4,2147483647,-2147483648),J<0&&(J=4294967295+J+1),_.TYPED_ARRAY_SUPPORT?(this[oe]=J>>>24,this[oe+1]=J>>>16,this[oe+2]=J>>>8,this[oe+3]=255&J):Fe(this,J,oe,!1),oe+4},_.prototype.writeFloatLE=function(J,oe,Ae){return Te(this,J,oe,!0,Ae)},_.prototype.writeFloatBE=function(J,oe,Ae){return Te(this,J,oe,!1,Ae)},_.prototype.writeDoubleLE=function(J,oe,Ae){return tt(this,J,oe,!0,Ae)},_.prototype.writeDoubleBE=function(J,oe,Ae){return tt(this,J,oe,!1,Ae)},_.prototype.copy=function(J,oe,Ae,Ne){if(Ae||(Ae=0),Ne||0===Ne||(Ne=this.length),oe>=J.length&&(oe=J.length),oe||(oe=0),Ne>0&&Ne<Ae&&(Ne=Ae),Ne===Ae||0===J.length||0===this.length)return 0;if(oe<0)throw new RangeError("targetStart out of bounds");if(Ae<0||Ae>=this.length)throw new RangeError("sourceStart out of bounds");if(Ne<0)throw new RangeError("sourceEnd out of bounds");Ne>this.length&&(Ne=this.length),J.length-oe<Ne-Ae&&(Ne=J.length-oe+Ae);var pe,xe=Ne-Ae;if(this===J&&Ae<oe&&oe<Ne)for(pe=xe-1;pe>=0;--pe)J[pe+oe]=this[pe+Ae];else if(xe<1e3||!_.TYPED_ARRAY_SUPPORT)for(pe=0;pe<xe;++pe)J[pe+oe]=this[pe+Ae];else Uint8Array.prototype.set.call(J,this.subarray(Ae,Ae+xe),oe);return xe},_.prototype.fill=function(J,oe,Ae,Ne){if("string"==typeof J){if("string"==typeof oe?(Ne=oe,oe=0,Ae=this.length):"string"==typeof Ae&&(Ne=Ae,Ae=this.length),1===J.length){var pe=J.charCodeAt(0);pe<256&&(J=pe)}if(void 0!==Ne&&"string"!=typeof Ne)throw new TypeError("encoding must be a string");if("string"==typeof Ne&&!_.isEncoding(Ne))throw new TypeError("Unknown encoding: "+Ne)}else"number"==typeof J&&(J&=255);if(oe<0||this.length<oe||this.length<Ae)throw new RangeError("Out of range index");if(Ae<=oe)return this;var xe;if(oe>>>=0,Ae=void 0===Ae?this.length:Ae>>>0,J||(J=0),"number"==typeof J)for(xe=oe;xe<Ae;++xe)this[xe]=J;else{var ut=_.isBuffer(J)?J:et(new _(J,Ne).toString()),be=ut.length;for(xe=0;xe<Ae-oe;++xe)this[xe+oe]=ut[xe%be]}return this};var Qe=/[^+\/0-9A-Za-z-_]/g;function vt(de){return de<16?"0"+de.toString(16):de.toString(16)}function et(de,J){var oe;J=J||1/0;for(var Ae=de.length,Ne=null,pe=[],xe=0;xe<Ae;++xe){if((oe=de.charCodeAt(xe))>55295&&oe<57344){if(!Ne){if(oe>56319){(J-=3)>-1&&pe.push(239,191,189);continue}if(xe+1===Ae){(J-=3)>-1&&pe.push(239,191,189);continue}Ne=oe;continue}if(oe<56320){(J-=3)>-1&&pe.push(239,191,189),Ne=oe;continue}oe=65536+(Ne-55296<<10|oe-56320)}else Ne&&(J-=3)>-1&&pe.push(239,191,189);if(Ne=null,oe<128){if((J-=1)<0)break;pe.push(oe)}else if(oe<2048){if((J-=2)<0)break;pe.push(oe>>6|192,63&oe|128)}else if(oe<65536){if((J-=3)<0)break;pe.push(oe>>12|224,oe>>6&63|128,63&oe|128)}else{if(!(oe<1114112))throw new Error("Invalid code point");if((J-=4)<0)break;pe.push(oe>>18|240,oe>>12&63|128,oe>>6&63|128,63&oe|128)}}return pe}function je(de){return B.toByteArray(function(oe){if((oe=(Ne=oe,Ne.trim?Ne.trim():Ne.replace(/^\s+|\s+$/g,"")).replace(Qe,"")).length<2)return"";for(var Ne;oe.length%4!=0;)oe+="=";return oe}(de))}function it(de,J,oe,Ae){for(var Ne=0;Ne<Ae&&!(Ne+oe>=J.length||Ne>=de.length);++Ne)J[Ne+oe]=de[Ne];return Ne}}).call(this,M(29))},function(V,S){var M;M=function(){return this}();try{M=M||new Function("return this")()}catch{"object"==typeof window&&(M=window)}V.exports=M},function(V,S,M){"use strict";S.byteLength=function(j){var v=_(j),G=v[1];return 3*(v[0]+G)/4-G},S.toByteArray=function(j){var v,b,_e,G=_(j),z=G[0],H=G[1],ee=new r(3*(z+(_e=H))/4-_e),U=0,W=H>0?z-4:z;for(b=0;b<W;b+=4)v=B[j.charCodeAt(b)]<<18|B[j.charCodeAt(b+1)]<<12|B[j.charCodeAt(b+2)]<<6|B[j.charCodeAt(b+3)],ee[U++]=v>>16&255,ee[U++]=v>>8&255,ee[U++]=255&v;return 2===H&&(v=B[j.charCodeAt(b)]<<2|B[j.charCodeAt(b+1)]>>4,ee[U++]=255&v),1===H&&(v=B[j.charCodeAt(b)]<<10|B[j.charCodeAt(b+1)]<<4|B[j.charCodeAt(b+2)]>>2,ee[U++]=v>>8&255,ee[U++]=255&v),ee},S.fromByteArray=function(j){for(var v,b=j.length,G=b%3,z=[],H=16383,ee=0,U=b-G;ee<U;ee+=H)z.push(P(j,ee,ee+H>U?U:ee+H));return 1===G?z.push(K[(v=j[b-1])>>2]+K[v<<4&63]+"=="):2===G&&z.push(K[(v=(j[b-2]<<8)+j[b-1])>>10]+K[v>>4&63]+K[v<<2&63]+"="),z.join("")};for(var K=[],B=[],r=typeof Uint8Array<"u"?Uint8Array:Array,y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",f=0;f<64;++f)K[f]=y[f],B[y.charCodeAt(f)]=f;function _(O){var j=O.length;if(j%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var v=O.indexOf("=");return-1===v&&(v=j),[v,v===j?0:4-v%4]}function P(O,j,v){for(var G,z=[],H=j;H<v;H+=3)z.push(K[(G=(O[H]<<16&16711680)+(O[H+1]<<8&65280)+(255&O[H+2]))>>18&63]+K[G>>12&63]+K[G>>6&63]+K[63&G]);return z.join("")}B["-".charCodeAt(0)]=62,B["_".charCodeAt(0)]=63},function(V,S){S.read=function(M,K,B,r,y){var f,g,_=8*y-r-1,P=(1<<_)-1,O=P>>1,j=-7,v=B?y-1:0,b=B?-1:1,G=M[K+v];for(v+=b,f=G&(1<<-j)-1,G>>=-j,j+=_;j>0;f=256*f+M[K+v],v+=b,j-=8);for(g=f&(1<<-j)-1,f>>=-j,j+=r;j>0;g=256*g+M[K+v],v+=b,j-=8);if(0===f)f=1-O;else{if(f===P)return g?NaN:1/0*(G?-1:1);g+=Math.pow(2,r),f-=O}return(G?-1:1)*g*Math.pow(2,f-r)},S.write=function(M,K,B,r,y,f){var g,_,P,O=8*f-y-1,j=(1<<O)-1,v=j>>1,b=23===y?Math.pow(2,-24)-Math.pow(2,-77):0,G=r?0:f-1,z=r?1:-1,H=K<0||0===K&&1/K<0?1:0;for(K=Math.abs(K),isNaN(K)||K===1/0?(_=isNaN(K)?1:0,g=j):(g=Math.floor(Math.log(K)/Math.LN2),K*(P=Math.pow(2,-g))<1&&(g--,P*=2),(K+=g+v>=1?b/P:b*Math.pow(2,1-v))*P>=2&&(g++,P/=2),g+v>=j?(_=0,g=j):g+v>=1?(_=(K*P-1)*Math.pow(2,y),g+=v):(_=K*Math.pow(2,v-1)*Math.pow(2,y),g=0));y>=8;M[B+G]=255&_,G+=z,_/=256,y-=8);for(g=g<<y|_,O+=y;O>0;M[B+G]=255&g,G+=z,g/=256,O-=8);M[B+G-z]|=128*H}},function(V,S){var M={}.toString;V.exports=Array.isArray||function(K){return"[object Array]"==M.call(K)}},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.default=function(r){var y=r.jws,f=r.KeyUtil,g=r.X509,_=r.crypto,P=r.hextob64u,O=r.b64tohex,j=r.AllowedSigningAlgs;return function(){function v(){!function(G,z){if(!(G instanceof z))throw new TypeError("Cannot call a class as a function")}(this,v)}return v.parseJwt=function(G){K.Log.debug("JoseUtil.parseJwt");try{var z=y.JWS.parse(G);return{header:z.headerObj,payload:z.payloadObj}}catch(H){K.Log.error(H)}},v.validateJwt=function(G,z,H,ee,U,W,Y){K.Log.debug("JoseUtil.validateJwt");try{if("RSA"===z.kty)if(z.e&&z.n)z=f.getKey(z);else{if(!z.x5c||!z.x5c.length)return K.Log.error("JoseUtil.validateJwt: RSA key missing key material",z),Promise.reject(new Error("RSA key missing key material"));var ae=O(z.x5c[0]);z=g.getPublicKeyFromCertHex(ae)}else{if("EC"!==z.kty)return K.Log.error("JoseUtil.validateJwt: Unsupported key type",z&&z.kty),Promise.reject(new Error(z.kty));if(!(z.crv&&z.x&&z.y))return K.Log.error("JoseUtil.validateJwt: EC key missing key material",z),Promise.reject(new Error("EC key missing key material"));z=f.getKey(z)}return v._validateJwt(G,z,H,ee,U,W,Y)}catch(ve){return K.Log.error(ve&&ve.message||ve),Promise.reject("JWT validation failed")}},v.validateJwtAttributes=function(G,z,H,ee,U,W){ee||(ee=0),U||(U=parseInt(Date.now()/1e3));var Y=v.parseJwt(G).payload;if(!Y.iss)return K.Log.error("JoseUtil._validateJwt: issuer was not provided"),Promise.reject(new Error("issuer was not provided"));if(Y.iss!==z)return K.Log.error("JoseUtil._validateJwt: Invalid issuer in token",Y.iss),Promise.reject(new Error("Invalid issuer in token: "+Y.iss));if(!Y.aud)return K.Log.error("JoseUtil._validateJwt: aud was not provided"),Promise.reject(new Error("aud was not provided"));if(!(Y.aud===H||Array.isArray(Y.aud)&&Y.aud.indexOf(H)>=0))return K.Log.error("JoseUtil._validateJwt: Invalid audience in token",Y.aud),Promise.reject(new Error("Invalid audience in token: "+Y.aud));if(Y.azp&&Y.azp!==H)return K.Log.error("JoseUtil._validateJwt: Invalid azp in token",Y.azp),Promise.reject(new Error("Invalid azp in token: "+Y.azp));if(!W){var ae=U+ee,ve=U-ee;if(!Y.iat)return K.Log.error("JoseUtil._validateJwt: iat was not provided"),Promise.reject(new Error("iat was not provided"));if(ae<Y.iat)return K.Log.error("JoseUtil._validateJwt: iat is in the future",Y.iat),Promise.reject(new Error("iat is in the future: "+Y.iat));if(Y.nbf&&ae<Y.nbf)return K.Log.error("JoseUtil._validateJwt: nbf is in the future",Y.nbf),Promise.reject(new Error("nbf is in the future: "+Y.nbf));if(!Y.exp)return K.Log.error("JoseUtil._validateJwt: exp was not provided"),Promise.reject(new Error("exp was not provided"));if(Y.exp<ve)return K.Log.error("JoseUtil._validateJwt: exp is in the past",Y.exp),Promise.reject(new Error("exp is in the past:"+Y.exp))}return Promise.resolve(Y)},v._validateJwt=function(G,z,H,ee,U,W,Y){return v.validateJwtAttributes(G,H,ee,U,W,Y).then(function(ae){try{return y.JWS.verify(G,z,j)?ae:(K.Log.error("JoseUtil._validateJwt: signature validation failed"),Promise.reject(new Error("signature validation failed")))}catch(ve){return K.Log.error(ve&&ve.message||ve),Promise.reject(new Error("signature validation failed"))}})},v.hashString=function(G,z){try{return _.Util.hashString(G,z)}catch(H){K.Log.error(H)}},v.hexToBase64Url=function(G){try{return P(G)}catch(z){K.Log.error(z)}},v}()};var K=M(0);V.exports=S.default},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.SigninResponse=void 0;var K=function(){function y(f,g){for(var _=0;_<g.length;_++){var P=g[_];P.enumerable=P.enumerable||!1,P.configurable=!0,"value"in P&&(P.writable=!0),Object.defineProperty(f,P.key,P)}}return function(f,g,_){return g&&y(f.prototype,g),_&&y(f,_),f}}(),B=M(3);S.SigninResponse=function(){function y(f){var g=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#";!function r(y,f){if(!(y instanceof f))throw new TypeError("Cannot call a class as a function")}(this,y);var _=B.UrlUtility.parseUrlFragment(f,g);this.error=_.error,this.error_description=_.error_description,this.error_uri=_.error_uri,this.code=_.code,this.state=_.state,this.id_token=_.id_token,this.session_state=_.session_state,this.access_token=_.access_token,this.token_type=_.token_type,this.scope=_.scope,this.profile=void 0,this.expires_in=_.expires_in}return K(y,[{key:"expires_in",get:function(){if(this.expires_at){var g=parseInt(Date.now()/1e3);return this.expires_at-g}},set:function(g){var _=parseInt(g);if("number"==typeof _&&_>0){var P=parseInt(Date.now()/1e3);this.expires_at=P+_}}},{key:"expired",get:function(){var g=this.expires_in;if(void 0!==g)return g<=0}},{key:"scopes",get:function(){return(this.scope||"").split(" ")}},{key:"isOpenIdConnect",get:function(){return this.scopes.indexOf("openid")>=0||!!this.id_token}}]),y}()},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.SignoutRequest=void 0;var K=M(0),B=M(3),r=M(9);S.SignoutRequest=function y(f){var g=f.url,_=f.id_token_hint,P=f.post_logout_redirect_uri,O=f.data,j=f.extraQueryParams,v=f.request_type;if(function(z,H){if(!(z instanceof H))throw new TypeError("Cannot call a class as a function")}(this,y),!g)throw K.Log.error("SignoutRequest.ctor: No url passed"),new Error("url");for(var b in _&&(g=B.UrlUtility.addQueryParam(g,"id_token_hint",_)),P&&(g=B.UrlUtility.addQueryParam(g,"post_logout_redirect_uri",P),O&&(this.state=new r.State({data:O,request_type:v}),g=B.UrlUtility.addQueryParam(g,"state",this.state.id))),j)g=B.UrlUtility.addQueryParam(g,b,j[b]);this.url=g}},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.SignoutResponse=void 0;var K=M(3);S.SignoutResponse=function B(r){!function(g,_){if(!(g instanceof _))throw new TypeError("Cannot call a class as a function")}(this,B);var y=K.UrlUtility.parseUrlFragment(r,"?");this.error=y.error,this.error_description=y.error_description,this.error_uri=y.error_uri,this.state=y.state}},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.InMemoryWebStorage=void 0;var K=function(){function r(y,f){for(var g=0;g<f.length;g++){var _=f[g];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(y,_.key,_)}}return function(y,f,g){return f&&r(y.prototype,f),g&&r(y,g),y}}(),B=M(0);S.InMemoryWebStorage=function(){function r(){(function(f,g){if(!(f instanceof g))throw new TypeError("Cannot call a class as a function")})(this,r),this._data={}}return r.prototype.getItem=function(f){return B.Log.debug("InMemoryWebStorage.getItem",f),this._data[f]},r.prototype.setItem=function(f,g){B.Log.debug("InMemoryWebStorage.setItem",f),this._data[f]=g},r.prototype.removeItem=function(f){B.Log.debug("InMemoryWebStorage.removeItem",f),delete this._data[f]},r.prototype.key=function(f){return Object.getOwnPropertyNames(this._data)[f]},K(r,[{key:"length",get:function(){return Object.getOwnPropertyNames(this._data).length}}]),r}()},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.UserManager=void 0;var K=function(){function H(ee,U){for(var W=0;W<U.length;W++){var Y=U[W];Y.enumerable=Y.enumerable||!1,Y.configurable=!0,"value"in Y&&(Y.writable=!0),Object.defineProperty(ee,Y.key,Y)}}return function(ee,U,W){return U&&H(ee.prototype,U),W&&H(ee,W),ee}}(),B=M(0),r=M(10),y=M(39),f=M(15),g=M(45),_=M(47),P=M(18),O=M(8),j=M(20),v=M(11),b=M(4);S.UserManager=function(H){function ee(){var U=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},W=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_.SilentRenewService,Y=arguments.length>2&&void 0!==arguments[2]?arguments[2]:P.SessionMonitor,ae=arguments.length>3&&void 0!==arguments[3]?arguments[3]:j.TokenRevocationClient,ve=arguments.length>4&&void 0!==arguments[4]?arguments[4]:v.TokenClient,_e=arguments.length>5&&void 0!==arguments[5]?arguments[5]:b.JoseUtil;(function G(H,ee){if(!(H instanceof ee))throw new TypeError("Cannot call a class as a function")})(this,ee),U instanceof y.UserManagerSettings||(U=new y.UserManagerSettings(U));var he=function z(H,ee){if(!H)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!ee||"object"!=typeof ee&&"function"!=typeof ee?H:ee}(this,H.call(this,U));return he._events=new g.UserManagerEvents(U),he._silentRenewService=new W(he),he.settings.automaticSilentRenew&&(B.Log.debug("UserManager.ctor: automaticSilentRenew is configured, setting up silent renew"),he.startSilentRenew()),he.settings.monitorSession&&(B.Log.debug("UserManager.ctor: monitorSession is configured, setting up session monitor"),he._sessionMonitor=new Y(he)),he._tokenRevocationClient=new ae(he._settings),he._tokenClient=new ve(he._settings),he._joseUtil=_e,he}return function(W,Y){if("function"!=typeof Y&&null!==Y)throw new TypeError("Super expression must either be null or a function, not "+typeof Y);W.prototype=Object.create(Y&&Y.prototype,{constructor:{value:W,enumerable:!1,writable:!0,configurable:!0}}),Y&&(Object.setPrototypeOf?Object.setPrototypeOf(W,Y):W.__proto__=Y)}(ee,H),ee.prototype.getUser=function(){var W=this;return this._loadUser().then(function(Y){return Y?(B.Log.info("UserManager.getUser: user loaded"),W._events.load(Y,!1),Y):(B.Log.info("UserManager.getUser: user not found in storage"),null)})},ee.prototype.removeUser=function(){var W=this;return this.storeUser(null).then(function(){B.Log.info("UserManager.removeUser: user removed from storage"),W._events.unload()})},ee.prototype.signinRedirect=function(){var W=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(W=Object.assign({},W)).request_type="si:r",this._signinStart(W,this._redirectNavigator,{useReplaceToNavigate:W.useReplaceToNavigate}).then(function(){B.Log.info("UserManager.signinRedirect: successful")})},ee.prototype.signinRedirectCallback=function(W){return this._signinEnd(W||this._redirectNavigator.url).then(function(Y){return Y.profile&&Y.profile.sub?B.Log.info("UserManager.signinRedirectCallback: successful, signed in sub: ",Y.profile.sub):B.Log.info("UserManager.signinRedirectCallback: no sub"),Y})},ee.prototype.signinPopup=function(){var W=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(W=Object.assign({},W)).request_type="si:p";var Y=W.redirect_uri||this.settings.popup_redirect_uri||this.settings.redirect_uri;return Y?(W.redirect_uri=Y,W.display="popup",this._signin(W,this._popupNavigator,{startUrl:Y,popupWindowFeatures:W.popupWindowFeatures||this.settings.popupWindowFeatures,popupWindowTarget:W.popupWindowTarget||this.settings.popupWindowTarget}).then(function(ae){return ae&&(ae.profile&&ae.profile.sub?B.Log.info("UserManager.signinPopup: signinPopup successful, signed in sub: ",ae.profile.sub):B.Log.info("UserManager.signinPopup: no sub")),ae})):(B.Log.error("UserManager.signinPopup: No popup_redirect_uri or redirect_uri configured"),Promise.reject(new Error("No popup_redirect_uri or redirect_uri configured")))},ee.prototype.signinPopupCallback=function(W){return this._signinCallback(W,this._popupNavigator).then(function(Y){return Y&&(Y.profile&&Y.profile.sub?B.Log.info("UserManager.signinPopupCallback: successful, signed in sub: ",Y.profile.sub):B.Log.info("UserManager.signinPopupCallback: no sub")),Y}).catch(function(Y){B.Log.error(Y.message)})},ee.prototype.signinSilent=function(){var W=this,Y=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Y=Object.assign({},Y),this._loadUser().then(function(ae){return ae&&ae.refresh_token?(Y.refresh_token=ae.refresh_token,W._useRefreshToken(Y)):(Y.request_type="si:s",Y.id_token_hint=Y.id_token_hint||W.settings.includeIdTokenInSilentRenew&&ae&&ae.id_token,ae&&W._settings.validateSubOnSilentRenew&&(B.Log.debug("UserManager.signinSilent, subject prior to silent renew: ",ae.profile.sub),Y.current_sub=ae.profile.sub),W._signinSilentIframe(Y))})},ee.prototype._useRefreshToken=function(){var W=this;return this._tokenClient.exchangeRefreshToken(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).then(function(ae){return ae?ae.access_token?W._loadUser().then(function(ve){if(ve){var _e=Promise.resolve();return ae.id_token&&(_e=W._validateIdTokenFromTokenRefreshToken(ve.profile,ae.id_token)),_e.then(function(){return B.Log.debug("UserManager._useRefreshToken: refresh token response success"),ve.id_token=ae.id_token||ve.id_token,ve.access_token=ae.access_token,ve.refresh_token=ae.refresh_token||ve.refresh_token,ve.expires_in=ae.expires_in,W.storeUser(ve).then(function(){return W._events.load(ve),ve})})}return null}):(B.Log.error("UserManager._useRefreshToken: No access token returned from token endpoint"),Promise.reject("No access token returned from token endpoint")):(B.Log.error("UserManager._useRefreshToken: No response returned from token endpoint"),Promise.reject("No response returned from token endpoint"))})},ee.prototype._validateIdTokenFromTokenRefreshToken=function(W,Y){var ae=this;return this._metadataService.getIssuer().then(function(ve){return ae.settings.getEpochTime().then(function(_e){return ae._joseUtil.validateJwtAttributes(Y,ve,ae._settings.client_id,ae._settings.clockSkew,_e).then(function(he){return he?he.sub!==W.sub?(B.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: sub in id_token does not match current sub"),Promise.reject(new Error("sub in id_token does not match current sub"))):he.auth_time&&he.auth_time!==W.auth_time?(B.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: auth_time in id_token does not match original auth_time"),Promise.reject(new Error("auth_time in id_token does not match original auth_time"))):he.azp&&he.azp!==W.azp?(B.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: azp in id_token does not match original azp"),Promise.reject(new Error("azp in id_token does not match original azp"))):!he.azp&&W.azp?(B.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: azp not in id_token, but present in original id_token"),Promise.reject(new Error("azp not in id_token, but present in original id_token"))):void 0:(B.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: Failed to validate id_token"),Promise.reject(new Error("Failed to validate id_token")))})})})},ee.prototype._signinSilentIframe=function(){var W=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},Y=W.redirect_uri||this.settings.silent_redirect_uri||this.settings.redirect_uri;return Y?(W.redirect_uri=Y,W.prompt=W.prompt||"none",this._signin(W,this._iframeNavigator,{startUrl:Y,silentRequestTimeout:W.silentRequestTimeout||this.settings.silentRequestTimeout}).then(function(ae){return ae&&(ae.profile&&ae.profile.sub?B.Log.info("UserManager.signinSilent: successful, signed in sub: ",ae.profile.sub):B.Log.info("UserManager.signinSilent: no sub")),ae})):(B.Log.error("UserManager.signinSilent: No silent_redirect_uri configured"),Promise.reject(new Error("No silent_redirect_uri configured")))},ee.prototype.signinSilentCallback=function(W){return this._signinCallback(W,this._iframeNavigator).then(function(Y){return Y&&(Y.profile&&Y.profile.sub?B.Log.info("UserManager.signinSilentCallback: successful, signed in sub: ",Y.profile.sub):B.Log.info("UserManager.signinSilentCallback: no sub")),Y})},ee.prototype.signinCallback=function(W){var Y=this;return this.readSigninResponseState(W).then(function(ae){var ve=ae.state;return"si:r"===ve.request_type?Y.signinRedirectCallback(W):"si:p"===ve.request_type?Y.signinPopupCallback(W):"si:s"===ve.request_type?Y.signinSilentCallback(W):Promise.reject(new Error("invalid response_type in state"))})},ee.prototype.signoutCallback=function(W,Y){var ae=this;return this.readSignoutResponseState(W).then(function(ve){var _e=ve.state,he=ve.response;return _e?"so:r"===_e.request_type?ae.signoutRedirectCallback(W):"so:p"===_e.request_type?ae.signoutPopupCallback(W,Y):Promise.reject(new Error("invalid response_type in state")):he})},ee.prototype.querySessionStatus=function(){var W=this,Y=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(Y=Object.assign({},Y)).request_type="si:s";var ae=Y.redirect_uri||this.settings.silent_redirect_uri||this.settings.redirect_uri;return ae?(Y.redirect_uri=ae,Y.prompt="none",Y.response_type=Y.response_type||this.settings.query_status_response_type,Y.scope=Y.scope||"openid",Y.skipUserInfo=!0,this._signinStart(Y,this._iframeNavigator,{startUrl:ae,silentRequestTimeout:Y.silentRequestTimeout||this.settings.silentRequestTimeout}).then(function(ve){return W.processSigninResponse(ve.url).then(function(_e){if(B.Log.debug("UserManager.querySessionStatus: got signin response"),_e.session_state&&_e.profile.sub)return B.Log.info("UserManager.querySessionStatus: querySessionStatus success for sub: ",_e.profile.sub),{session_state:_e.session_state,sub:_e.profile.sub,sid:_e.profile.sid};B.Log.info("querySessionStatus successful, user not authenticated")}).catch(function(_e){if(_e.session_state&&W.settings.monitorAnonymousSession&&("login_required"==_e.message||"consent_required"==_e.message||"interaction_required"==_e.message||"account_selection_required"==_e.message))return B.Log.info("UserManager.querySessionStatus: querySessionStatus success for anonymous user"),{session_state:_e.session_state};throw _e})})):(B.Log.error("UserManager.querySessionStatus: No silent_redirect_uri configured"),Promise.reject(new Error("No silent_redirect_uri configured")))},ee.prototype._signin=function(W,Y){var ae=this;return this._signinStart(W,Y,arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).then(function(_e){return ae._signinEnd(_e.url,W)})},ee.prototype._signinStart=function(W,Y){var ae=this,ve=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Y.prepare(ve).then(function(_e){return B.Log.debug("UserManager._signinStart: got navigator window handle"),ae.createSigninRequest(W).then(function(he){return B.Log.debug("UserManager._signinStart: got signin request"),ve.url=he.url,ve.id=he.state.id,_e.navigate(ve)}).catch(function(he){throw _e.close&&(B.Log.debug("UserManager._signinStart: Error after preparing navigator, closing navigator window"),_e.close()),he})})},ee.prototype._signinEnd=function(W){var Y=this,ae=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.processSigninResponse(W).then(function(ve){B.Log.debug("UserManager._signinEnd: got signin response");var _e=new f.User(ve);if(ae.current_sub){if(ae.current_sub!==_e.profile.sub)return B.Log.debug("UserManager._signinEnd: current user does not match user returned from signin. sub from signin: ",_e.profile.sub),Promise.reject(new Error("login_required"));B.Log.debug("UserManager._signinEnd: current user matches user returned from signin")}return Y.storeUser(_e).then(function(){return B.Log.debug("UserManager._signinEnd: user stored"),Y._events.load(_e),_e})})},ee.prototype._signinCallback=function(W,Y){B.Log.debug("UserManager._signinCallback");var ae="query"===this._settings.response_mode||!this._settings.response_mode&&O.SigninRequest.isCode(this._settings.response_type)?"?":"#";return Y.callback(W,void 0,ae)},ee.prototype.signoutRedirect=function(){var W=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(W=Object.assign({},W)).request_type="so:r";var Y=W.post_logout_redirect_uri||this.settings.post_logout_redirect_uri;return Y&&(W.post_logout_redirect_uri=Y),this._signoutStart(W,this._redirectNavigator,{useReplaceToNavigate:W.useReplaceToNavigate}).then(function(){B.Log.info("UserManager.signoutRedirect: successful")})},ee.prototype.signoutRedirectCallback=function(W){return this._signoutEnd(W||this._redirectNavigator.url).then(function(Y){return B.Log.info("UserManager.signoutRedirectCallback: successful"),Y})},ee.prototype.signoutPopup=function(){var W=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(W=Object.assign({},W)).request_type="so:p";var Y=W.post_logout_redirect_uri||this.settings.popup_post_logout_redirect_uri||this.settings.post_logout_redirect_uri;return W.post_logout_redirect_uri=Y,W.display="popup",W.post_logout_redirect_uri&&(W.state=W.state||{}),this._signout(W,this._popupNavigator,{startUrl:Y,popupWindowFeatures:W.popupWindowFeatures||this.settings.popupWindowFeatures,popupWindowTarget:W.popupWindowTarget||this.settings.popupWindowTarget}).then(function(){B.Log.info("UserManager.signoutPopup: successful")})},ee.prototype.signoutPopupCallback=function(W,Y){return void 0===Y&&"boolean"==typeof W&&(Y=W,W=null),this._popupNavigator.callback(W,Y,"?").then(function(){B.Log.info("UserManager.signoutPopupCallback: successful")})},ee.prototype._signout=function(W,Y){var ae=this;return this._signoutStart(W,Y,arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).then(function(_e){return ae._signoutEnd(_e.url)})},ee.prototype._signoutStart=function(){var W=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},Y=this,ve=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return arguments[1].prepare(ve).then(function(_e){return B.Log.debug("UserManager._signoutStart: got navigator window handle"),Y._loadUser().then(function(he){return B.Log.debug("UserManager._signoutStart: loaded current user from storage"),(Y._settings.revokeAccessTokenOnSignout?Y._revokeInternal(he):Promise.resolve()).then(function(){var x=W.id_token_hint||he&&he.id_token;return x&&(B.Log.debug("UserManager._signoutStart: Setting id_token into signout request"),W.id_token_hint=x),Y.removeUser().then(function(){return B.Log.debug("UserManager._signoutStart: user removed, creating signout request"),Y.createSignoutRequest(W).then(function(R){return B.Log.debug("UserManager._signoutStart: got signout request"),ve.url=R.url,R.state&&(ve.id=R.state.id),_e.navigate(ve)})})})}).catch(function(he){throw _e.close&&(B.Log.debug("UserManager._signoutStart: Error after preparing navigator, closing navigator window"),_e.close()),he})})},ee.prototype._signoutEnd=function(W){return this.processSignoutResponse(W).then(function(Y){return B.Log.debug("UserManager._signoutEnd: got signout response"),Y})},ee.prototype.revokeAccessToken=function(){var W=this;return this._loadUser().then(function(Y){return W._revokeInternal(Y,!0).then(function(ae){if(ae)return B.Log.debug("UserManager.revokeAccessToken: removing token properties from user and re-storing"),Y.access_token=null,Y.refresh_token=null,Y.expires_at=null,Y.token_type=null,W.storeUser(Y).then(function(){B.Log.debug("UserManager.revokeAccessToken: user stored"),W._events.load(Y)})})}).then(function(){B.Log.info("UserManager.revokeAccessToken: access token revoked successfully")})},ee.prototype._revokeInternal=function(W,Y){var ae=this;if(W){var _e=W.refresh_token;return this._revokeAccessTokenInternal(W.access_token,Y).then(function(he){return ae._revokeRefreshTokenInternal(_e,Y).then(function(x){return he||x||B.Log.debug("UserManager.revokeAccessToken: no need to revoke due to no token(s), or JWT format"),he||x})})}return Promise.resolve(!1)},ee.prototype._revokeAccessTokenInternal=function(W,Y){return!W||W.indexOf(".")>=0?Promise.resolve(!1):this._tokenRevocationClient.revoke(W,Y).then(function(){return!0})},ee.prototype._revokeRefreshTokenInternal=function(W,Y){return W?this._tokenRevocationClient.revoke(W,Y,"refresh_token").then(function(){return!0}):Promise.resolve(!1)},ee.prototype.startSilentRenew=function(){this._silentRenewService.start()},ee.prototype.stopSilentRenew=function(){this._silentRenewService.stop()},ee.prototype._loadUser=function(){return this._userStore.get(this._userStoreKey).then(function(W){return W?(B.Log.debug("UserManager._loadUser: user storageString loaded"),f.User.fromStorageString(W)):(B.Log.debug("UserManager._loadUser: no user storageString"),null)})},ee.prototype.storeUser=function(W){if(W){B.Log.debug("UserManager.storeUser: storing user");var Y=W.toStorageString();return this._userStore.set(this._userStoreKey,Y)}return B.Log.debug("storeUser.storeUser: removing user"),this._userStore.remove(this._userStoreKey)},K(ee,[{key:"_redirectNavigator",get:function(){return this.settings.redirectNavigator}},{key:"_popupNavigator",get:function(){return this.settings.popupNavigator}},{key:"_iframeNavigator",get:function(){return this.settings.iframeNavigator}},{key:"_userStore",get:function(){return this.settings.userStore}},{key:"events",get:function(){return this._events}},{key:"_userStoreKey",get:function(){return"user:"+this.settings.authority+":"+this.settings.client_id}}]),ee}(r.OidcClient)},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.UserManagerSettings=void 0;var K=function(){function v(b,G){for(var z=0;z<G.length;z++){var H=G[z];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(b,H.key,H)}}return function(b,G,z){return G&&v(b.prototype,G),z&&v(b,z),b}}(),B=(M(0),M(5)),r=M(40),y=M(41),f=M(43),g=M(6),_=M(1),P=M(8);S.UserManagerSettings=function(v){function b(){var G=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},z=G.popup_redirect_uri,H=G.popup_post_logout_redirect_uri,ee=G.popupWindowFeatures,U=G.popupWindowTarget,W=G.silent_redirect_uri,Y=G.silentRequestTimeout,ae=G.automaticSilentRenew,ve=void 0!==ae&&ae,_e=G.validateSubOnSilentRenew,he=void 0!==_e&&_e,x=G.includeIdTokenInSilentRenew,R=void 0===x||x,E=G.monitorSession,I=void 0===E||E,L=G.monitorAnonymousSession,D=void 0!==L&&L,Q=G.checkSessionInterval,te=void 0===Q?2e3:Q,Re=G.stopCheckSessionOnError,ne=void 0===Re||Re,Fe=G.query_status_response_type,rt=G.revokeAccessTokenOnSignout,Te=void 0!==rt&&rt,tt=G.accessTokenExpiringNotificationTime,Qe=void 0===tt?60:tt,vt=G.redirectNavigator,et=void 0===vt?new r.RedirectNavigator:vt,je=G.popupNavigator,it=void 0===je?new y.PopupNavigator:je,de=G.iframeNavigator,J=void 0===de?new f.IFrameNavigator:de,oe=G.userStore,Ae=void 0===oe?new g.WebStorageStateStore({store:_.Global.sessionStorage}):oe;!function O(v,b){if(!(v instanceof b))throw new TypeError("Cannot call a class as a function")}(this,b);var Ne=function j(v,b){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?v:b}(this,v.call(this,arguments[0]));return Ne._popup_redirect_uri=z,Ne._popup_post_logout_redirect_uri=H,Ne._popupWindowFeatures=ee,Ne._popupWindowTarget=U,Ne._silent_redirect_uri=W,Ne._silentRequestTimeout=Y,Ne._automaticSilentRenew=ve,Ne._validateSubOnSilentRenew=he,Ne._includeIdTokenInSilentRenew=R,Ne._accessTokenExpiringNotificationTime=Qe,Ne._monitorSession=I,Ne._monitorAnonymousSession=D,Ne._checkSessionInterval=te,Ne._stopCheckSessionOnError=ne,Ne._query_status_response_type=Fe||(arguments[0]&&arguments[0].response_type?P.SigninRequest.isOidc(arguments[0].response_type)?"id_token":"code":"id_token"),Ne._revokeAccessTokenOnSignout=Te,Ne._redirectNavigator=et,Ne._popupNavigator=it,Ne._iframeNavigator=J,Ne._userStore=Ae,Ne}return function(z,H){if("function"!=typeof H&&null!==H)throw new TypeError("Super expression must either be null or a function, not "+typeof H);z.prototype=Object.create(H&&H.prototype,{constructor:{value:z,enumerable:!1,writable:!0,configurable:!0}}),H&&(Object.setPrototypeOf?Object.setPrototypeOf(z,H):z.__proto__=H)}(b,v),K(b,[{key:"popup_redirect_uri",get:function(){return this._popup_redirect_uri}},{key:"popup_post_logout_redirect_uri",get:function(){return this._popup_post_logout_redirect_uri}},{key:"popupWindowFeatures",get:function(){return this._popupWindowFeatures}},{key:"popupWindowTarget",get:function(){return this._popupWindowTarget}},{key:"silent_redirect_uri",get:function(){return this._silent_redirect_uri}},{key:"silentRequestTimeout",get:function(){return this._silentRequestTimeout}},{key:"automaticSilentRenew",get:function(){return this._automaticSilentRenew}},{key:"validateSubOnSilentRenew",get:function(){return this._validateSubOnSilentRenew}},{key:"includeIdTokenInSilentRenew",get:function(){return this._includeIdTokenInSilentRenew}},{key:"accessTokenExpiringNotificationTime",get:function(){return this._accessTokenExpiringNotificationTime}},{key:"monitorSession",get:function(){return this._monitorSession}},{key:"monitorAnonymousSession",get:function(){return this._monitorAnonymousSession}},{key:"checkSessionInterval",get:function(){return this._checkSessionInterval}},{key:"stopCheckSessionOnError",get:function(){return this._stopCheckSessionOnError}},{key:"query_status_response_type",get:function(){return this._query_status_response_type}},{key:"revokeAccessTokenOnSignout",get:function(){return this._revokeAccessTokenOnSignout}},{key:"redirectNavigator",get:function(){return this._redirectNavigator}},{key:"popupNavigator",get:function(){return this._popupNavigator}},{key:"iframeNavigator",get:function(){return this._iframeNavigator}},{key:"userStore",get:function(){return this._userStore}}]),b}(B.OidcClientSettings)},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.RedirectNavigator=void 0;var K=function(){function r(y,f){for(var g=0;g<f.length;g++){var _=f[g];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(y,_.key,_)}}return function(y,f,g){return f&&r(y.prototype,f),g&&r(y,g),y}}(),B=M(0);S.RedirectNavigator=function(){function r(){!function(f,g){if(!(f instanceof g))throw new TypeError("Cannot call a class as a function")}(this,r)}return r.prototype.prepare=function(){return Promise.resolve(this)},r.prototype.navigate=function(f){return f&&f.url?(f.useReplaceToNavigate?window.location.replace(f.url):window.location=f.url,Promise.resolve()):(B.Log.error("RedirectNavigator.navigate: No url provided"),Promise.reject(new Error("No url provided")))},K(r,[{key:"url",get:function(){return window.location.href}}]),r}()},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.PopupNavigator=void 0;var K=M(0),B=M(42);S.PopupNavigator=function(){function r(){!function(f,g){if(!(f instanceof g))throw new TypeError("Cannot call a class as a function")}(this,r)}return r.prototype.prepare=function(f){var g=new B.PopupWindow(f);return Promise.resolve(g)},r.prototype.callback=function(f,g,_){K.Log.debug("PopupNavigator.callback");try{return B.PopupWindow.notifyOpener(f,g,_),Promise.resolve()}catch(P){return Promise.reject(P)}},r}()},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.PopupWindow=void 0;var K=function(){function y(f,g){for(var _=0;_<g.length;_++){var P=g[_];P.enumerable=P.enumerable||!1,P.configurable=!0,"value"in P&&(P.writable=!0),Object.defineProperty(f,P.key,P)}}return function(f,g,_){return g&&y(f.prototype,g),_&&y(f,_),f}}(),B=M(0),r=M(3);S.PopupWindow=function(){function y(f){var g=this;(function(j,v){if(!(j instanceof v))throw new TypeError("Cannot call a class as a function")})(this,y),this._promise=new Promise(function(O,j){g._resolve=O,g._reject=j}),this._popup=window.open("",f.popupWindowTarget||"_blank",f.popupWindowFeatures||"location=no,toolbar=no,width=500,height=500,left=100,top=100;"),this._popup&&(B.Log.debug("PopupWindow.ctor: popup successfully created"),this._checkForPopupClosedTimer=window.setInterval(this._checkForPopupClosed.bind(this),500))}return y.prototype.navigate=function(g){return this._popup?g&&g.url?(B.Log.debug("PopupWindow.navigate: Setting URL in popup"),this._id=g.id,this._id&&(window["popupCallback_"+g.id]=this._callback.bind(this)),this._popup.focus(),this._popup.window.location=g.url):(this._error("PopupWindow.navigate: no url provided"),this._error("No url provided")):this._error("PopupWindow.navigate: Error opening popup window"),this.promise},y.prototype._success=function(g){B.Log.debug("PopupWindow.callback: Successful response from popup window"),this._cleanup(),this._resolve(g)},y.prototype._error=function(g){B.Log.error("PopupWindow.error: ",g),this._cleanup(),this._reject(new Error(g))},y.prototype.close=function(){this._cleanup(!1)},y.prototype._cleanup=function(g){B.Log.debug("PopupWindow.cleanup"),window.clearInterval(this._checkForPopupClosedTimer),this._checkForPopupClosedTimer=null,delete window["popupCallback_"+this._id],this._popup&&!g&&this._popup.close(),this._popup=null},y.prototype._checkForPopupClosed=function(){this._popup&&!this._popup.closed||this._error("Popup window closed")},y.prototype._callback=function(g,_){this._cleanup(_),g?(B.Log.debug("PopupWindow.callback success"),this._success({url:g})):(B.Log.debug("PopupWindow.callback: Invalid response from popup"),this._error("Invalid response from popup"))},y.notifyOpener=function(g,_,P){if(window.opener){if(g=g||window.location.href){var O=r.UrlUtility.parseUrlFragment(g,P);if(O.state){var v=window.opener["popupCallback_"+O.state];v?(B.Log.debug("PopupWindow.notifyOpener: passing url message to opener"),v(g,_)):B.Log.warn("PopupWindow.notifyOpener: no matching callback found on opener")}else B.Log.warn("PopupWindow.notifyOpener: no state found in response url")}}else B.Log.warn("PopupWindow.notifyOpener: no window.opener. Can't complete notification.")},K(y,[{key:"promise",get:function(){return this._promise}}]),y}()},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.IFrameNavigator=void 0;var K=M(0),B=M(44);S.IFrameNavigator=function(){function r(){!function(f,g){if(!(f instanceof g))throw new TypeError("Cannot call a class as a function")}(this,r)}return r.prototype.prepare=function(f){var g=new B.IFrameWindow(f);return Promise.resolve(g)},r.prototype.callback=function(f){K.Log.debug("IFrameNavigator.callback");try{return B.IFrameWindow.notifyParent(f),Promise.resolve()}catch(g){return Promise.reject(g)}},r}()},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.IFrameWindow=void 0;var K=function(){function r(y,f){for(var g=0;g<f.length;g++){var _=f[g];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(y,_.key,_)}}return function(y,f,g){return f&&r(y.prototype,f),g&&r(y,g),y}}(),B=M(0);S.IFrameWindow=function(){function r(y){var f=this;(function(_,P){if(!(_ instanceof P))throw new TypeError("Cannot call a class as a function")})(this,r),this._promise=new Promise(function(g,_){f._resolve=g,f._reject=_}),this._boundMessageEvent=this._message.bind(this),window.addEventListener("message",this._boundMessageEvent,!1),this._frame=window.document.createElement("iframe"),this._frame.style.visibility="hidden",this._frame.style.position="absolute",this._frame.width=0,this._frame.height=0,window.document.body.appendChild(this._frame)}return r.prototype.navigate=function(f){if(f&&f.url){var g=f.silentRequestTimeout||1e4;B.Log.debug("IFrameWindow.navigate: Using timeout of:",g),this._timer=window.setTimeout(this._timeout.bind(this),g),this._frame.src=f.url}else this._error("No url provided");return this.promise},r.prototype._success=function(f){this._cleanup(),B.Log.debug("IFrameWindow: Successful response from frame window"),this._resolve(f)},r.prototype._error=function(f){this._cleanup(),B.Log.error(f),this._reject(new Error(f))},r.prototype.close=function(){this._cleanup()},r.prototype._cleanup=function(){this._frame&&(B.Log.debug("IFrameWindow: cleanup"),window.removeEventListener("message",this._boundMessageEvent,!1),window.clearTimeout(this._timer),window.document.body.removeChild(this._frame),this._timer=null,this._frame=null,this._boundMessageEvent=null)},r.prototype._timeout=function(){B.Log.debug("IFrameWindow.timeout"),this._error("Frame window timed out")},r.prototype._message=function(f){if(B.Log.debug("IFrameWindow.message"),this._timer&&f.origin===this._origin&&f.source===this._frame.contentWindow&&"string"==typeof f.data&&(f.data.startsWith("http://")||f.data.startsWith("https://"))){var g=f.data;g?this._success({url:g}):this._error("Invalid response from frame")}},r.notifyParent=function(f){B.Log.debug("IFrameWindow.notifyParent"),(f=f||window.location.href)&&(B.Log.debug("IFrameWindow.notifyParent: posting url message to parent"),window.parent.postMessage(f,location.protocol+"//"+location.host))},K(r,[{key:"promise",get:function(){return this._promise}},{key:"_origin",get:function(){return location.protocol+"//"+location.host}}]),r}()},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.UserManagerEvents=void 0;var K=M(0),B=M(16),r=M(17);S.UserManagerEvents=function(y){function f(g){!function(O,j){if(!(O instanceof j))throw new TypeError("Cannot call a class as a function")}(this,f);var _=function(O,j){if(!O)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!j||"object"!=typeof j&&"function"!=typeof j?O:j}(this,y.call(this,g));return _._userLoaded=new r.Event("User loaded"),_._userUnloaded=new r.Event("User unloaded"),_._silentRenewError=new r.Event("Silent renew error"),_._userSignedIn=new r.Event("User signed in"),_._userSignedOut=new r.Event("User signed out"),_._userSessionChanged=new r.Event("User session changed"),_}return function(_,P){if("function"!=typeof P&&null!==P)throw new TypeError("Super expression must either be null or a function, not "+typeof P);_.prototype=Object.create(P&&P.prototype,{constructor:{value:_,enumerable:!1,writable:!0,configurable:!0}}),P&&(Object.setPrototypeOf?Object.setPrototypeOf(_,P):_.__proto__=P)}(f,y),f.prototype.load=function(_){var P=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];K.Log.debug("UserManagerEvents.load"),y.prototype.load.call(this,_),P&&this._userLoaded.raise(_)},f.prototype.unload=function(){K.Log.debug("UserManagerEvents.unload"),y.prototype.unload.call(this),this._userUnloaded.raise()},f.prototype.addUserLoaded=function(_){this._userLoaded.addHandler(_)},f.prototype.removeUserLoaded=function(_){this._userLoaded.removeHandler(_)},f.prototype.addUserUnloaded=function(_){this._userUnloaded.addHandler(_)},f.prototype.removeUserUnloaded=function(_){this._userUnloaded.removeHandler(_)},f.prototype.addSilentRenewError=function(_){this._silentRenewError.addHandler(_)},f.prototype.removeSilentRenewError=function(_){this._silentRenewError.removeHandler(_)},f.prototype._raiseSilentRenewError=function(_){K.Log.debug("UserManagerEvents._raiseSilentRenewError",_.message),this._silentRenewError.raise(_)},f.prototype.addUserSignedIn=function(_){this._userSignedIn.addHandler(_)},f.prototype.removeUserSignedIn=function(_){this._userSignedIn.removeHandler(_)},f.prototype._raiseUserSignedIn=function(){K.Log.debug("UserManagerEvents._raiseUserSignedIn"),this._userSignedIn.raise()},f.prototype.addUserSignedOut=function(_){this._userSignedOut.addHandler(_)},f.prototype.removeUserSignedOut=function(_){this._userSignedOut.removeHandler(_)},f.prototype._raiseUserSignedOut=function(){K.Log.debug("UserManagerEvents._raiseUserSignedOut"),this._userSignedOut.raise()},f.prototype.addUserSessionChanged=function(_){this._userSessionChanged.addHandler(_)},f.prototype.removeUserSessionChanged=function(_){this._userSessionChanged.removeHandler(_)},f.prototype._raiseUserSessionChanged=function(){K.Log.debug("UserManagerEvents._raiseUserSessionChanged"),this._userSessionChanged.raise()},f}(B.AccessTokenEvents)},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.Timer=void 0;var K=function(){function _(P,O){for(var j=0;j<O.length;j++){var v=O[j];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(P,v.key,v)}}return function(P,O,j){return O&&_(P.prototype,O),j&&_(P,j),P}}(),B=M(0),r=M(1),y=M(17);S.Timer=function(_){function P(O){var j=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.Global.timer,v=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;!function f(_,P){if(!(_ instanceof P))throw new TypeError("Cannot call a class as a function")}(this,P);var b=function g(_,P){if(!_)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!P||"object"!=typeof P&&"function"!=typeof P?_:P}(this,_.call(this,O));return b._timer=j,b._nowFunc=v||function(){return Date.now()/1e3},b}return function(j,v){if("function"!=typeof v&&null!==v)throw new TypeError("Super expression must either be null or a function, not "+typeof v);j.prototype=Object.create(v&&v.prototype,{constructor:{value:j,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(j,v):j.__proto__=v)}(P,_),P.prototype.init=function(j){j<=0&&(j=1),j=parseInt(j);var v=this.now+j;if(this.expiration===v&&this._timerHandle)B.Log.debug("Timer.init timer "+this._name+" skipping initialization since already initialized for expiration:",this.expiration);else{this.cancel(),B.Log.debug("Timer.init timer "+this._name+" for duration:",j),this._expiration=v;var b=5;j<b&&(b=j),this._timerHandle=this._timer.setInterval(this._callback.bind(this),1e3*b)}},P.prototype.cancel=function(){this._timerHandle&&(B.Log.debug("Timer.cancel: ",this._name),this._timer.clearInterval(this._timerHandle),this._timerHandle=null)},P.prototype._callback=function(){B.Log.debug("Timer.callback; "+this._name+" timer expires in:",this._expiration-this.now),this._expiration<=this.now&&(this.cancel(),_.prototype.raise.call(this))},K(P,[{key:"now",get:function(){return parseInt(this._nowFunc())}},{key:"expiration",get:function(){return this._expiration}}]),P}(y.Event)},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.SilentRenewService=void 0;var K=M(0);S.SilentRenewService=function(){function B(r){(function(f,g){if(!(f instanceof g))throw new TypeError("Cannot call a class as a function")})(this,B),this._userManager=r}return B.prototype.start=function(){this._callback||(this._callback=this._tokenExpiring.bind(this),this._userManager.events.addAccessTokenExpiring(this._callback),this._userManager.getUser().then(function(y){}).catch(function(y){K.Log.error("SilentRenewService.start: Error from getUser:",y.message)}))},B.prototype.stop=function(){this._callback&&(this._userManager.events.removeAccessTokenExpiring(this._callback),delete this._callback)},B.prototype._tokenExpiring=function(){var y=this;this._userManager.signinSilent().then(function(f){K.Log.debug("SilentRenewService._tokenExpiring: Silent token renewal successful")},function(f){K.Log.error("SilentRenewService._tokenExpiring: Error from signinSilent:",f.message),y._userManager.events._raiseSilentRenewError(f)})},B}()},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.CordovaPopupNavigator=void 0;var K=M(21);S.CordovaPopupNavigator=function(){function B(){!function(y,f){if(!(y instanceof f))throw new TypeError("Cannot call a class as a function")}(this,B)}return B.prototype.prepare=function(y){var f=new K.CordovaPopupWindow(y);return Promise.resolve(f)},B}()},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.CordovaIFrameNavigator=void 0;var K=M(21);S.CordovaIFrameNavigator=function(){function B(){!function(y,f){if(!(y instanceof f))throw new TypeError("Cannot call a class as a function")}(this,B)}return B.prototype.prepare=function(y){y.popupWindowFeatures="hidden=yes";var f=new K.CordovaPopupWindow(y);return Promise.resolve(f)},B}()},function(V,S,M){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.Version="1.11.5"}])},77434:fe=>{var V=String.prototype.replace,S=/%20/g;fe.exports={default:"RFC3986",formatters:{RFC1738:function(B){return V.call(B,S,"+")},RFC3986:function(B){return String(B)}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},93670:(fe,V,S)=>{var M=S(41799),K=S(42207),B=S(77434);fe.exports={formats:B,parse:K,stringify:M}},42207:(fe,V,S)=>{var M=S(98477),K=Object.prototype.hasOwnProperty,B=Array.isArray,r={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:M.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},y=function(G){return G.replace(/&#(\d+);/g,function(z,H){return String.fromCharCode(parseInt(H,10))})},f=function(G,z){return G&&"string"==typeof G&&z.comma&&G.indexOf(",")>-1?G.split(","):G},j=function(G,z,H,ee){if(G){var U=H.allowDots?G.replace(/\.([^.[]+)/g,"[$1]"):G,Y=/(\[[^[\]]*])/g,ae=H.depth>0&&/(\[[^[\]]*])/.exec(U),ve=ae?U.slice(0,ae.index):U,_e=[];if(ve){if(!H.plainObjects&&K.call(Object.prototype,ve)&&!H.allowPrototypes)return;_e.push(ve)}for(var he=0;H.depth>0&&null!==(ae=Y.exec(U))&&he<H.depth;){if(he+=1,!H.plainObjects&&K.call(Object.prototype,ae[1].slice(1,-1))&&!H.allowPrototypes)return;_e.push(ae[1])}return ae&&_e.push("["+U.slice(ae.index)+"]"),function(G,z,H,ee){for(var U=ee?z:f(z,H),W=G.length-1;W>=0;--W){var Y,ae=G[W];if("[]"===ae&&H.parseArrays)Y=[].concat(U);else{Y=H.plainObjects?Object.create(null):{};var ve="["===ae.charAt(0)&&"]"===ae.charAt(ae.length-1)?ae.slice(1,-1):ae,_e=parseInt(ve,10);H.parseArrays||""!==ve?!isNaN(_e)&&ae!==ve&&String(_e)===ve&&_e>=0&&H.parseArrays&&_e<=H.arrayLimit?(Y=[])[_e]=U:"__proto__"!==ve&&(Y[ve]=U):Y={0:U}}U=Y}return U}(_e,z,H,ee)}};fe.exports=function(b,G){var z=function(G){if(!G)return r;if(null!=G.decoder&&"function"!=typeof G.decoder)throw new TypeError("Decoder has to be a function.");if(typeof G.charset<"u"&&"utf-8"!==G.charset&&"iso-8859-1"!==G.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");return{allowDots:typeof G.allowDots>"u"?r.allowDots:!!G.allowDots,allowPrototypes:"boolean"==typeof G.allowPrototypes?G.allowPrototypes:r.allowPrototypes,allowSparse:"boolean"==typeof G.allowSparse?G.allowSparse:r.allowSparse,arrayLimit:"number"==typeof G.arrayLimit?G.arrayLimit:r.arrayLimit,charset:typeof G.charset>"u"?r.charset:G.charset,charsetSentinel:"boolean"==typeof G.charsetSentinel?G.charsetSentinel:r.charsetSentinel,comma:"boolean"==typeof G.comma?G.comma:r.comma,decoder:"function"==typeof G.decoder?G.decoder:r.decoder,delimiter:"string"==typeof G.delimiter||M.isRegExp(G.delimiter)?G.delimiter:r.delimiter,depth:"number"==typeof G.depth||!1===G.depth?+G.depth:r.depth,ignoreQueryPrefix:!0===G.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof G.interpretNumericEntities?G.interpretNumericEntities:r.interpretNumericEntities,parameterLimit:"number"==typeof G.parameterLimit?G.parameterLimit:r.parameterLimit,parseArrays:!1!==G.parseArrays,plainObjects:"boolean"==typeof G.plainObjects?G.plainObjects:r.plainObjects,strictNullHandling:"boolean"==typeof G.strictNullHandling?G.strictNullHandling:r.strictNullHandling}}(G);if(""===b||null===b||typeof b>"u")return z.plainObjects?Object.create(null):{};for(var H="string"==typeof b?function(G,z){var ae,H={__proto__:null},W=(z.ignoreQueryPrefix?G.replace(/^\?/,""):G).split(z.delimiter,z.parameterLimit===1/0?void 0:z.parameterLimit),Y=-1,ve=z.charset;if(z.charsetSentinel)for(ae=0;ae<W.length;++ae)0===W[ae].indexOf("utf8=")&&("utf8=%E2%9C%93"===W[ae]?ve="utf-8":"utf8=%26%2310003%3B"===W[ae]&&(ve="iso-8859-1"),Y=ae,ae=W.length);for(ae=0;ae<W.length;++ae)if(ae!==Y){var R,E,_e=W[ae],he=_e.indexOf("]="),x=-1===he?_e.indexOf("="):he+1;-1===x?(R=z.decoder(_e,r.decoder,ve,"key"),E=z.strictNullHandling?null:""):(R=z.decoder(_e.slice(0,x),r.decoder,ve,"key"),E=M.maybeMap(f(_e.slice(x+1),z),function(I){return z.decoder(I,r.decoder,ve,"value")})),E&&z.interpretNumericEntities&&"iso-8859-1"===ve&&(E=y(E)),_e.indexOf("[]=")>-1&&(E=B(E)?[E]:E),H[R]=K.call(H,R)?M.combine(H[R],E):E}return H}(b,z):b,ee=z.plainObjects?Object.create(null):{},U=Object.keys(H),W=0;W<U.length;++W){var Y=U[W],ae=j(Y,H[Y],z,"string"==typeof b);ee=M.merge(ee,ae,z)}return!0===z.allowSparse?ee:M.compact(ee)}},41799:(fe,V,S)=>{var M=S(98432),K=S(98477),B=S(77434),r=Object.prototype.hasOwnProperty,y={brackets:function(ee){return ee+"[]"},comma:"comma",indices:function(ee,U){return ee+"["+U+"]"},repeat:function(ee){return ee}},f=Array.isArray,g=Array.prototype.push,_=function(ee,U){g.apply(ee,f(U)?U:[U])},P=Date.prototype.toISOString,O=B.default,j={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:K.encode,encodeValuesOnly:!1,format:O,formatter:B.formatters[O],indices:!1,serializeDate:function(ee){return P.call(ee)},skipNulls:!1,strictNullHandling:!1},b={},G=function H(ee,U,W,Y,ae,ve,_e,he,x,R,E,I,L,D,Q,te){for(var Re=ee,ne=te,Fe=0,rt=!1;void 0!==(ne=ne.get(b))&&!rt;){var Te=ne.get(ee);if(Fe+=1,typeof Te<"u"){if(Te===Fe)throw new RangeError("Cyclic object value");rt=!0}typeof ne.get(b)>"u"&&(Fe=0)}if("function"==typeof he?Re=he(U,Re):Re instanceof Date?Re=E(Re):"comma"===W&&f(Re)&&(Re=K.maybeMap(Re,function(Ne){return Ne instanceof Date?E(Ne):Ne})),null===Re){if(ae)return _e&&!D?_e(U,j.encoder,Q,"key",I):U;Re=""}if(function(ee){return"string"==typeof ee||"number"==typeof ee||"boolean"==typeof ee||"symbol"==typeof ee||"bigint"==typeof ee}(Re)||K.isBuffer(Re))return _e?[L(D?U:_e(U,j.encoder,Q,"key",I))+"="+L(_e(Re,j.encoder,Q,"value",I))]:[L(U)+"="+L(String(Re))];var vt,Qe=[];if(typeof Re>"u")return Qe;if("comma"===W&&f(Re))D&&_e&&(Re=K.maybeMap(Re,_e)),vt=[{value:Re.length>0?Re.join(",")||null:void 0}];else if(f(he))vt=he;else{var et=Object.keys(Re);vt=x?et.sort(x):et}for(var je=Y&&f(Re)&&1===Re.length?U+"[]":U,it=0;it<vt.length;++it){var de=vt[it],J="object"==typeof de&&typeof de.value<"u"?de.value:Re[de];if(!ve||null!==J){var oe=f(Re)?"function"==typeof W?W(je,de):je:je+(R?"."+de:"["+de+"]");te.set(ee,Fe);var Ae=M();Ae.set(b,te),_(Qe,H(J,oe,W,Y,ae,ve,"comma"===W&&D&&f(Re)?null:_e,he,x,R,E,I,L,D,Q,Ae))}}return Qe};fe.exports=function(H,ee){var Y,U=H,W=function(ee){if(!ee)return j;if(null!==ee.encoder&&typeof ee.encoder<"u"&&"function"!=typeof ee.encoder)throw new TypeError("Encoder has to be a function.");var U=ee.charset||j.charset;if(typeof ee.charset<"u"&&"utf-8"!==ee.charset&&"iso-8859-1"!==ee.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var W=B.default;if(typeof ee.format<"u"){if(!r.call(B.formatters,ee.format))throw new TypeError("Unknown format option provided.");W=ee.format}var Y=B.formatters[W],ae=j.filter;return("function"==typeof ee.filter||f(ee.filter))&&(ae=ee.filter),{addQueryPrefix:"boolean"==typeof ee.addQueryPrefix?ee.addQueryPrefix:j.addQueryPrefix,allowDots:typeof ee.allowDots>"u"?j.allowDots:!!ee.allowDots,charset:U,charsetSentinel:"boolean"==typeof ee.charsetSentinel?ee.charsetSentinel:j.charsetSentinel,delimiter:typeof ee.delimiter>"u"?j.delimiter:ee.delimiter,encode:"boolean"==typeof ee.encode?ee.encode:j.encode,encoder:"function"==typeof ee.encoder?ee.encoder:j.encoder,encodeValuesOnly:"boolean"==typeof ee.encodeValuesOnly?ee.encodeValuesOnly:j.encodeValuesOnly,filter:ae,format:W,formatter:Y,serializeDate:"function"==typeof ee.serializeDate?ee.serializeDate:j.serializeDate,skipNulls:"boolean"==typeof ee.skipNulls?ee.skipNulls:j.skipNulls,sort:"function"==typeof ee.sort?ee.sort:null,strictNullHandling:"boolean"==typeof ee.strictNullHandling?ee.strictNullHandling:j.strictNullHandling}}(ee);"function"==typeof W.filter?U=(0,W.filter)("",U):f(W.filter)&&(Y=W.filter);var ve=[];if("object"!=typeof U||null===U)return"";var he=y[ee&&ee.arrayFormat in y?ee.arrayFormat:ee&&"indices"in ee?ee.indices?"indices":"repeat":"indices"];if(ee&&"commaRoundTrip"in ee&&"boolean"!=typeof ee.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var x="comma"===he&&ee&&ee.commaRoundTrip;Y||(Y=Object.keys(U)),W.sort&&Y.sort(W.sort);for(var R=M(),E=0;E<Y.length;++E){var I=Y[E];W.skipNulls&&null===U[I]||_(ve,G(U[I],I,he,x,W.strictNullHandling,W.skipNulls,W.encode?W.encoder:null,W.filter,W.sort,W.allowDots,W.serializeDate,W.format,W.formatter,W.encodeValuesOnly,W.charset,R))}var L=ve.join(W.delimiter),D=!0===W.addQueryPrefix?"?":"";return W.charsetSentinel&&(D+="iso-8859-1"===W.charset?"utf8=%26%2310003%3B&":"utf8=%E2%9C%93&"),L.length>0?D+L:""}},98477:(fe,V,S)=>{var M=S(77434),K=Object.prototype.hasOwnProperty,B=Array.isArray,r=function(){for(var H=[],ee=0;ee<256;++ee)H.push("%"+((ee<16?"0":"")+ee.toString(16)).toUpperCase());return H}(),f=function(ee,U){for(var W=U&&U.plainObjects?Object.create(null):{},Y=0;Y<ee.length;++Y)typeof ee[Y]<"u"&&(W[Y]=ee[Y]);return W};fe.exports={arrayToObject:f,assign:function(ee,U){return Object.keys(U).reduce(function(W,Y){return W[Y]=U[Y],W},ee)},combine:function(ee,U){return[].concat(ee,U)},compact:function(ee){for(var U=[{obj:{o:ee},prop:"o"}],W=[],Y=0;Y<U.length;++Y)for(var ae=U[Y],ve=ae.obj[ae.prop],_e=Object.keys(ve),he=0;he<_e.length;++he){var x=_e[he],R=ve[x];"object"==typeof R&&null!==R&&-1===W.indexOf(R)&&(U.push({obj:ve,prop:x}),W.push(R))}return function(ee){for(;ee.length>1;){var U=ee.pop(),W=U.obj[U.prop];if(B(W)){for(var Y=[],ae=0;ae<W.length;++ae)typeof W[ae]<"u"&&Y.push(W[ae]);U.obj[U.prop]=Y}}}(U),ee},decode:function(ee,U,W){var Y=ee.replace(/\+/g," ");if("iso-8859-1"===W)return Y.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(Y)}catch{return Y}},encode:function(ee,U,W,Y,ae){if(0===ee.length)return ee;var ve=ee;if("symbol"==typeof ee?ve=Symbol.prototype.toString.call(ee):"string"!=typeof ee&&(ve=String(ee)),"iso-8859-1"===W)return escape(ve).replace(/%u[0-9a-f]{4}/gi,function(R){return"%26%23"+parseInt(R.slice(2),16)+"%3B"});for(var _e="",he=0;he<ve.length;++he){var x=ve.charCodeAt(he);45===x||46===x||95===x||126===x||x>=48&&x<=57||x>=65&&x<=90||x>=97&&x<=122||ae===M.RFC1738&&(40===x||41===x)?_e+=ve.charAt(he):x<128?_e+=r[x]:x<2048?_e+=r[192|x>>6]+r[128|63&x]:x<55296||x>=57344?_e+=r[224|x>>12]+r[128|x>>6&63]+r[128|63&x]:(x=65536+((1023&x)<<10|1023&ve.charCodeAt(he+=1)),_e+=r[240|x>>18]+r[128|x>>12&63]+r[128|x>>6&63]+r[128|63&x])}return _e},isBuffer:function(ee){return!(!ee||"object"!=typeof ee||!(ee.constructor&&ee.constructor.isBuffer&&ee.constructor.isBuffer(ee)))},isRegExp:function(ee){return"[object RegExp]"===Object.prototype.toString.call(ee)},maybeMap:function(ee,U){if(B(ee)){for(var W=[],Y=0;Y<ee.length;Y+=1)W.push(U(ee[Y]));return W}return U(ee)},merge:function H(ee,U,W){if(!U)return ee;if("object"!=typeof U){if(B(ee))ee.push(U);else{if(!ee||"object"!=typeof ee)return[ee,U];(W&&(W.plainObjects||W.allowPrototypes)||!K.call(Object.prototype,U))&&(ee[U]=!0)}return ee}if(!ee||"object"!=typeof ee)return[ee].concat(U);var Y=ee;return B(ee)&&!B(U)&&(Y=f(ee,W)),B(ee)&&B(U)?(U.forEach(function(ae,ve){if(K.call(ee,ve)){var _e=ee[ve];_e&&"object"==typeof _e&&ae&&"object"==typeof ae?ee[ve]=H(_e,ae,W):ee.push(ae)}else ee[ve]=ae}),ee):Object.keys(U).reduce(function(ae,ve){var _e=U[ve];return ae[ve]=K.call(ae,ve)?H(ae[ve],_e,W):_e,ae},Y)}}},69877:(fe,V,S)=>{var K=S(66712),B=S(71856),r=S(45381);function y(p){for(var m="https://reactjs.org/docs/error-decoder.html?invariant="+p,w=1;w<arguments.length;w++)m+="&args[]="+encodeURIComponent(arguments[w]);return"Minified React error #"+p+"; visit "+m+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!K)throw Error(y(227));function f(p,m,w,q,re,ye,ke,Ue,xt){var Mt=Array.prototype.slice.call(arguments,3);try{m.apply(w,Mt)}catch(Ht){this.onError(Ht)}}var g=!1,_=null,P=!1,O=null,j={onError:function(m){g=!0,_=m}};function v(p,m,w,q,re,ye,ke,Ue,xt){g=!1,_=null,f.apply(j,arguments)}var G=null,z=null,H=null;function ee(p,m,w){var q=p.type||"unknown-event";p.currentTarget=H(w),function b(p,m,w,q,re,ye,ke,Ue,xt){if(v.apply(this,arguments),g){if(!g)throw Error(y(198));var Mt=_;g=!1,_=null,P||(P=!0,O=Mt)}}(q,m,void 0,p),p.currentTarget=null}var U=null,W={};function Y(){if(U)for(var p in W){var m=W[p],w=U.indexOf(p);if(!(-1<w))throw Error(y(96,p));if(!ve[w]){if(!m.extractEvents)throw Error(y(97,p));for(var q in ve[w]=m,w=m.eventTypes){var re=void 0,ye=w[q],ke=m,Ue=q;if(_e.hasOwnProperty(Ue))throw Error(y(99,Ue));_e[Ue]=ye;var xt=ye.phasedRegistrationNames;if(xt){for(re in xt)xt.hasOwnProperty(re)&&ae(xt[re],ke,Ue);re=!0}else ye.registrationName?(ae(ye.registrationName,ke,Ue),re=!0):re=!1;if(!re)throw Error(y(98,q,p))}}}}function ae(p,m,w){if(he[p])throw Error(y(100,p));he[p]=m,x[p]=m.eventTypes[w].dependencies}var ve=[],_e={},he={},x={};function R(p){var w,m=!1;for(w in p)if(p.hasOwnProperty(w)){var q=p[w];if(!W.hasOwnProperty(w)||W[w]!==q){if(W[w])throw Error(y(102,w));W[w]=q,m=!0}}m&&Y()}var E=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),I=null,L=null,D=null;function Q(p){if(p=z(p)){if("function"!=typeof I)throw Error(y(280));var m=p.stateNode;m&&(m=G(m),I(p.stateNode,p.type,m))}}function te(p){L?D?D.push(p):D=[p]:L=p}function Re(){if(L){var p=L,m=D;if(D=L=null,Q(p),m)for(p=0;p<m.length;p++)Q(m[p])}}function ne(p,m){return p(m)}function Fe(p,m,w,q,re){return p(m,w,q,re)}function rt(){}var Te=ne,tt=!1,Qe=!1;function vt(){(null!==L||null!==D)&&(rt(),Re())}function et(p,m,w){if(Qe)return p(m,w);Qe=!0;try{return Te(p,m,w)}finally{Qe=!1,vt()}}var je=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,it=Object.prototype.hasOwnProperty,de={},J={};function pe(p,m,w,q,re,ye){this.acceptsBooleans=2===m||3===m||4===m,this.attributeName=q,this.attributeNamespace=re,this.mustUseProperty=w,this.propertyName=p,this.type=m,this.sanitizeURL=ye}var xe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(p){xe[p]=new pe(p,0,!1,p,null,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(p){var m=p[0];xe[m]=new pe(m,1,!1,p[1],null,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(p){xe[p]=new pe(p,2,!1,p.toLowerCase(),null,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(p){xe[p]=new pe(p,2,!1,p,null,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(p){xe[p]=new pe(p,3,!1,p.toLowerCase(),null,!1)}),["checked","multiple","muted","selected"].forEach(function(p){xe[p]=new pe(p,3,!0,p,null,!1)}),["capture","download"].forEach(function(p){xe[p]=new pe(p,4,!1,p,null,!1)}),["cols","rows","size","span"].forEach(function(p){xe[p]=new pe(p,6,!1,p,null,!1)}),["rowSpan","start"].forEach(function(p){xe[p]=new pe(p,5,!1,p.toLowerCase(),null,!1)});var ut=/[\-:]([a-z])/g;function be(p){return p[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(p){var m=p.replace(ut,be);xe[m]=new pe(m,1,!1,p,null,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(p){var m=p.replace(ut,be);xe[m]=new pe(m,1,!1,p,"http://www.w3.org/1999/xlink",!1)}),["xml:base","xml:lang","xml:space"].forEach(function(p){var m=p.replace(ut,be);xe[m]=new pe(m,1,!1,p,"http://www.w3.org/XML/1998/namespace",!1)}),["tabIndex","crossOrigin"].forEach(function(p){xe[p]=new pe(p,1,!1,p.toLowerCase(),null,!1)}),xe.xlinkHref=new pe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach(function(p){xe[p]=new pe(p,1,!1,p.toLowerCase(),null,!0)});var ce=K.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function le(p,m,w,q){var re=xe.hasOwnProperty(m)?xe[m]:null;(null!==re?0===re.type:!q&&2<m.length&&("o"===m[0]||"O"===m[0])&&("n"===m[1]||"N"===m[1]))||(function Ne(p,m,w,q){if(null===m||typeof m>"u"||function Ae(p,m,w,q){if(null!==w&&0===w.type)return!1;switch(typeof m){case"function":case"symbol":return!0;case"boolean":return!q&&(null!==w?!w.acceptsBooleans:"data-"!==(p=p.toLowerCase().slice(0,5))&&"aria-"!==p);default:return!1}}(p,m,w,q))return!0;if(q)return!1;if(null!==w)switch(w.type){case 3:return!m;case 4:return!1===m;case 5:return isNaN(m);case 6:return isNaN(m)||1>m}return!1}(m,w,re,q)&&(w=null),q||null===re?function oe(p){return!!it.call(J,p)||!it.call(de,p)&&(je.test(p)?J[p]=!0:(de[p]=!0,!1))}(m)&&(null===w?p.removeAttribute(m):p.setAttribute(m,""+w)):re.mustUseProperty?p[re.propertyName]=null===w?3!==re.type&&"":w:(m=re.attributeName,q=re.attributeNamespace,null===w?p.removeAttribute(m):(w=3===(re=re.type)||4===re&&!0===w?"":""+w,q?p.setAttributeNS(q,m,w):p.setAttribute(m,w))))}ce.hasOwnProperty("ReactCurrentDispatcher")||(ce.ReactCurrentDispatcher={current:null}),ce.hasOwnProperty("ReactCurrentBatchConfig")||(ce.ReactCurrentBatchConfig={suspense:null});var Ie=/^(.*)[\\\/]/,at="function"==typeof Symbol&&Symbol.for,Tt=at?Symbol.for("react.element"):60103,Vt=at?Symbol.for("react.portal"):60106,zt=at?Symbol.for("react.fragment"):60107,un=at?Symbol.for("react.strict_mode"):60108,Xt=at?Symbol.for("react.profiler"):60114,Kn=at?Symbol.for("react.provider"):60109,Un=at?Symbol.for("react.context"):60110,De=at?Symbol.for("react.concurrent_mode"):60111,Br=at?Symbol.for("react.forward_ref"):60112,ar=at?Symbol.for("react.suspense"):60113,Qt=at?Symbol.for("react.suspense_list"):60120,ba=at?Symbol.for("react.memo"):60115,ki=at?Symbol.for("react.lazy"):60116,_t=at?Symbol.for("react.block"):60121,Pt="function"==typeof Symbol&&Symbol.iterator;function Pn(p){return null===p||"object"!=typeof p?null:"function"==typeof(p=Pt&&p[Pt]||p["@@iterator"])?p:null}function Cn(p){if(null==p)return null;if("function"==typeof p)return p.displayName||p.name||null;if("string"==typeof p)return p;switch(p){case zt:return"Fragment";case Vt:return"Portal";case Xt:return"Profiler";case un:return"StrictMode";case ar:return"Suspense";case Qt:return"SuspenseList"}if("object"==typeof p)switch(p.$$typeof){case Un:return"Context.Consumer";case Kn:return"Context.Provider";case Br:var m=p.render;return m=m.displayName||m.name||"",p.displayName||(""!==m?"ForwardRef("+m+")":"ForwardRef");case ba:return Cn(p.type);case _t:return Cn(p.render);case ki:if(p=1===p._status?p._result:null)return Cn(p)}return null}function cn(p){var m="";do{e:switch(p.tag){case 3:case 4:case 6:case 7:case 10:case 9:var w="";break e;default:var q=p._debugOwner,re=p._debugSource,ye=Cn(p.type);w=null,q&&(w=Cn(q.type)),q=ye,ye="",re?ye=" (at "+re.fileName.replace(Ie,"")+":"+re.lineNumber+")":w&&(ye=" (created by "+w+")"),w="\n in "+(q||"Unknown")+ye}m+=w,p=p.return}while(p);return m}function Fr(p){switch(typeof p){case"boolean":case"number":case"object":case"string":case"undefined":return p;default:return""}}function lr(p){var m=p.type;return(p=p.nodeName)&&"input"===p.toLowerCase()&&("checkbox"===m||"radio"===m)}function kr(p){p._valueTracker||(p._valueTracker=function wn(p){var m=lr(p)?"checked":"value",w=Object.getOwnPropertyDescriptor(p.constructor.prototype,m),q=""+p[m];if(!p.hasOwnProperty(m)&&typeof w<"u"&&"function"==typeof w.get&&"function"==typeof w.set){var re=w.get,ye=w.set;return Object.defineProperty(p,m,{configurable:!0,get:function(){return re.call(this)},set:function(Ue){q=""+Ue,ye.call(this,Ue)}}),Object.defineProperty(p,m,{enumerable:w.enumerable}),{getValue:function(){return q},setValue:function(Ue){q=""+Ue},stopTracking:function(){p._valueTracker=null,delete p[m]}}}}(p))}function Qn(p){if(!p)return!1;var m=p._valueTracker;if(!m)return!0;var w=m.getValue(),q="";return p&&(q=lr(p)?p.checked?"true":"false":p.value),(p=q)!==w&&(m.setValue(p),!0)}function Vi(p,m){return B({},m,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:m.checked??p._wrapperState.initialChecked})}function Xr(p,m){var w=null==m.defaultValue?"":m.defaultValue,q=null!=m.checked?m.checked:m.defaultChecked;w=Fr(null!=m.value?m.value:w),p._wrapperState={initialChecked:q,initialValue:w,controlled:"checkbox"===m.type||"radio"===m.type?null!=m.checked:null!=m.value}}function Lr(p,m){null!=(m=m.checked)&&le(p,"checked",m,!1)}function ci(p,m){Lr(p,m);var w=Fr(m.value),q=m.type;if(null!=w)"number"===q?(0===w&&""===p.value||p.value!=w)&&(p.value=""+w):p.value!==""+w&&(p.value=""+w);else if("submit"===q||"reset"===q)return void p.removeAttribute("value");m.hasOwnProperty("value")?zi(p,m.type,w):m.hasOwnProperty("defaultValue")&&zi(p,m.type,Fr(m.defaultValue)),null==m.checked&&null!=m.defaultChecked&&(p.defaultChecked=!!m.defaultChecked)}function Ba(p,m,w){if(m.hasOwnProperty("value")||m.hasOwnProperty("defaultValue")){var q=m.type;if(("submit"===q||"reset"===q)&&null==m.value)return;m=""+p._wrapperState.initialValue,w||m===p.value||(p.value=m),p.defaultValue=m}""!==(w=p.name)&&(p.name=""),p.defaultChecked=!!p._wrapperState.initialChecked,""!==w&&(p.name=w)}function zi(p,m,w){("number"!==m||p.ownerDocument.activeElement!==p)&&(null==w?p.defaultValue=""+p._wrapperState.initialValue:p.defaultValue!==""+w&&(p.defaultValue=""+w))}function Gi(p,m){return p=B({children:void 0},m),(m=function Za(p){var m="";return K.Children.forEach(p,function(w){null!=w&&(m+=w)}),m}(m.children))&&(p.children=m),p}function Ri(p,m,w,q){if(p=p.options,m){m={};for(var re=0;re<w.length;re++)m["$"+w[re]]=!0;for(w=0;w<p.length;w++)re=m.hasOwnProperty("$"+p[w].value),p[w].selected!==re&&(p[w].selected=re),re&&q&&(p[w].defaultSelected=!0)}else{for(w=""+Fr(w),m=null,re=0;re<p.length;re++){if(p[re].value===w)return p[re].selected=!0,void(q&&(p[re].defaultSelected=!0));null!==m||p[re].disabled||(m=p[re])}null!==m&&(m.selected=!0)}}function Hi(p,m){if(null!=m.dangerouslySetInnerHTML)throw Error(y(91));return B({},m,{value:void 0,defaultValue:void 0,children:""+p._wrapperState.initialValue})}function Ca(p,m){var w=m.value;if(null==w){if(w=m.children,m=m.defaultValue,null!=w){if(null!=m)throw Error(y(92));if(Array.isArray(w)){if(!(1>=w.length))throw Error(y(93));w=w[0]}m=w}null==m&&(m=""),w=m}p._wrapperState={initialValue:Fr(w)}}function Di(p,m){var w=Fr(m.value),q=Fr(m.defaultValue);null!=w&&((w=""+w)!==p.value&&(p.value=w),null==m.defaultValue&&p.defaultValue!==w&&(p.defaultValue=w)),null!=q&&(p.defaultValue=""+q)}function Ti(p){var m=p.textContent;m===p._wrapperState.initialValue&&""!==m&&null!==m&&(p.value=m)}function Qr(p){switch(p){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function fr(p,m){return null==p||"http://www.w3.org/1999/xhtml"===p?Qr(m):"http://www.w3.org/2000/svg"===p&&"foreignObject"===m?"http://www.w3.org/1999/xhtml":p}var ho,p,wa=(p=function(p,m){if("http://www.w3.org/2000/svg"!==p.namespaceURI||"innerHTML"in p)p.innerHTML=m;else{for((ho=ho||document.createElement("div")).innerHTML="<svg>"+m.valueOf().toString()+"</svg>",m=ho.firstChild;p.firstChild;)p.removeChild(p.firstChild);for(;m.firstChild;)p.appendChild(m.firstChild)}},typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(m,w,q,re){MSApp.execUnsafeLocalFunction(function(){return p(m,w)})}:p);function di(p,m){if(m){var w=p.firstChild;if(w&&w===p.lastChild&&3===w.nodeType)return void(w.nodeValue=m)}p.textContent=m}function da(p,m){var w={};return w[p.toLowerCase()]=m.toLowerCase(),w["Webkit"+p]="webkit"+m,w["Moz"+p]="moz"+m,w}var mr={animationend:da("Animation","AnimationEnd"),animationiteration:da("Animation","AnimationIteration"),animationstart:da("Animation","AnimationStart"),transitionend:da("Transition","TransitionEnd")},Sa={},To={};function us(p){if(Sa[p])return Sa[p];if(!mr[p])return p;var w,m=mr[p];for(w in m)if(m.hasOwnProperty(w)&&w in To)return Sa[p]=m[w];return p}E&&(To=document.createElement("div").style,"AnimationEvent"in window||(delete mr.animationend.animation,delete mr.animationiteration.animation,delete mr.animationstart.animation),"TransitionEvent"in window||delete mr.transitionend.transition);var Io=us("animationend"),ls=us("animationiteration"),$s=us("animationstart"),Oo=us("transitionend"),Fo="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Du=new("function"==typeof WeakMap?WeakMap:Map);function cs(p){var m=Du.get(p);return void 0===m&&Du.set(p,m=new Map),m}function k(p){var m=p,w=p;if(p.alternate)for(;m.return;)m=m.return;else{p=m;do{1026&(m=p).effectTag&&(w=m.return),p=m.return}while(p)}return 3===m.tag?w:null}function A(p){if(13===p.tag){var m=p.memoizedState;if(null===m&&null!==(p=p.alternate)&&(m=p.memoizedState),null!==m)return m.dehydrated}return null}function Z(p){if(k(p)!==p)throw Error(y(188))}function me(p,m){if(null==m)throw Error(y(30));return null==p?m:Array.isArray(p)?Array.isArray(m)?(p.push.apply(p,m),p):(p.push(m),p):Array.isArray(m)?[p].concat(m):[p,m]}function Pe(p,m,w){Array.isArray(p)?p.forEach(m,w):p&&m.call(w,p)}var Ve=null;function Me(p){if(p){var m=p._dispatchListeners,w=p._dispatchInstances;if(Array.isArray(m))for(var q=0;q<m.length&&!p.isPropagationStopped();q++)ee(p,m[q],w[q]);else m&&ee(p,m,w);p._dispatchListeners=null,p._dispatchInstances=null,p.isPersistent()||p.constructor.release(p)}}function Be(p){if(null!==p&&(Ve=me(Ve,p)),p=Ve,Ve=null,p){if(Pe(p,Me),Ve)throw Error(y(95));if(P)throw p=O,P=!1,O=null,p}}function $e(p){return(p=p.target||p.srcElement||window).correspondingUseElement&&(p=p.correspondingUseElement),3===p.nodeType?p.parentNode:p}function Ge(p){if(!E)return!1;var m=(p="on"+p)in document;return m||((m=document.createElement("div")).setAttribute(p,"return;"),m="function"==typeof m[p]),m}var We=[];function nt(p){p.topLevelType=null,p.nativeEvent=null,p.targetInst=null,p.ancestors.length=0,10>We.length&&We.push(p)}function d(p,m,w,q){if(We.length){var re=We.pop();return re.topLevelType=p,re.eventSystemFlags=q,re.nativeEvent=m,re.targetInst=w,re}return{topLevelType:p,eventSystemFlags:q,nativeEvent:m,targetInst:w,ancestors:[]}}function gt(p){var m=p.targetInst,w=m;do{if(!w){p.ancestors.push(w);break}var q=w;if(3===q.tag)q=q.stateNode.containerInfo;else{for(;q.return;)q=q.return;q=3!==q.tag?null:q.stateNode.containerInfo}if(!q)break;5!==(m=w.tag)&&6!==m||p.ancestors.push(w),w=Hs(q)}while(w);for(w=0;w<p.ancestors.length;w++){m=p.ancestors[w];var re=$e(p.nativeEvent);q=p.topLevelType;var ye=p.nativeEvent,ke=p.eventSystemFlags;0===w&&(ke|=64);for(var Ue=null,xt=0;xt<ve.length;xt++){var Mt=ve[xt];Mt&&(Mt=Mt.extractEvents(q,m,ye,re,ke))&&(Ue=me(Ue,Mt))}Be(Ue)}}function Et(p,m,w){if(!w.has(p)){switch(p){case"scroll":Zr(m,"scroll",!0);break;case"focus":case"blur":Zr(m,"focus",!0),Zr(m,"blur",!0),w.set("blur",null),w.set("focus",null);break;case"cancel":case"close":Ge(p)&&Zr(m,p,!0);break;case"invalid":case"submit":case"reset":break;default:-1===Fo.indexOf(p)&&tr(p,m)}w.set(p,null)}}var Ee,ze,Ke,Xe=!1,yt=[],At=null,Wt=null,jt=null,Bn=new Map,en=new Map,gn=[],or="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),hr="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function ii(p,m,w,q,re){return{blockedOn:p,topLevelType:m,eventSystemFlags:32|w,nativeEvent:re,container:q}}function Yr(p,m){switch(p){case"focus":case"blur":At=null;break;case"dragenter":case"dragleave":Wt=null;break;case"mouseover":case"mouseout":jt=null;break;case"pointerover":case"pointerout":Bn.delete(m.pointerId);break;case"gotpointercapture":case"lostpointercapture":en.delete(m.pointerId)}}function jr(p,m,w,q,re,ye){return null===p||p.nativeEvent!==ye?(p=ii(m,w,q,re,ye),null!==m&&null!==(m=Fu(m))&&ze(m),p):(p.eventSystemFlags|=q,p)}function lt(p){var m=Hs(p.target);if(null!==m){var w=k(m);if(null!==w)if(13===(m=w.tag)){if(null!==(m=A(w)))return p.blockedOn=m,void r.unstable_runWithPriority(p.priority,function(){Ke(w)})}else if(3===m&&w.stateNode.hydrate)return void(p.blockedOn=3===w.tag?w.stateNode.containerInfo:null)}p.blockedOn=null}function ct(p){if(null!==p.blockedOn)return!1;var m=pa(p.topLevelType,p.eventSystemFlags,p.container,p.nativeEvent);if(null!==m){var w=Fu(m);return null!==w&&ze(w),p.blockedOn=m,!1}return!0}function wt(p,m,w){ct(p)&&w.delete(m)}function Ft(){for(Xe=!1;0<yt.length;){var p=yt[0];if(null!==p.blockedOn){null!==(p=Fu(p.blockedOn))&&Ee(p);break}var m=pa(p.topLevelType,p.eventSystemFlags,p.container,p.nativeEvent);null!==m?p.blockedOn=m:yt.shift()}null!==At&&ct(At)&&(At=null),null!==Wt&&ct(Wt)&&(Wt=null),null!==jt&&ct(jt)&&(jt=null),Bn.forEach(wt),en.forEach(wt)}function Rt(p,m){p.blockedOn===m&&(p.blockedOn=null,Xe||(Xe=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,Ft)))}function Jt(p){function m(re){return Rt(re,p)}if(0<yt.length){Rt(yt[0],p);for(var w=1;w<yt.length;w++){var q=yt[w];q.blockedOn===p&&(q.blockedOn=null)}}for(null!==At&&Rt(At,p),null!==Wt&&Rt(Wt,p),null!==jt&&Rt(jt,p),Bn.forEach(m),en.forEach(m),w=0;w<gn.length;w++)(q=gn[w]).blockedOn===p&&(q.blockedOn=null);for(;0<gn.length&&null===(w=gn[0]).blockedOn;)lt(w),null===w.blockedOn&&gn.shift()}var vn={},Sn=new Map,Yn=new Map,In=["abort","abort",Io,"animationEnd",ls,"animationIteration",$s,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Oo,"transitionEnd","waiting","waiting"];function cr(p,m){for(var w=0;w<p.length;w+=2){var q=p[w],re=p[w+1],ye="on"+(re[0].toUpperCase()+re.slice(1));ye={phasedRegistrationNames:{bubbled:ye,captured:ye+"Capture"},dependencies:[q],eventPriority:m},Yn.set(q,m),Sn.set(q,ye),vn[re]=ye}}cr("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),cr("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),cr(In,2);for(var ai="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Mr=0;Mr<ai.length;Mr++)Yn.set(ai[Mr],0);var Jr=r.unstable_UserBlockingPriority,Ci=r.unstable_runWithPriority,$r=!0;function tr(p,m){Zr(m,p,!1)}function Zr(p,m,w){var q=Yn.get(m);switch(void 0===q?2:q){case 0:q=Ea.bind(null,m,1,p);break;case 1:q=La.bind(null,m,1,p);break;default:q=Cr.bind(null,m,1,p)}p.addEventListener(m,q,!!w)}function Ea(p,m,w,q){tt||rt();var re=Cr,ye=tt;tt=!0;try{Fe(re,p,m,w,q)}finally{(tt=ye)||vt()}}function La(p,m,w,q){Ci(Jr,Cr.bind(null,p,m,w,q))}function Cr(p,m,w,q){if($r)if(0<yt.length&&-1<or.indexOf(p))p=ii(null,p,m,w,q),yt.push(p);else{var re=pa(p,m,w,q);if(null===re)Yr(p,q);else if(-1<or.indexOf(p))p=ii(re,p,m,w,q),yt.push(p);else if(!function Ze(p,m,w,q,re){switch(m){case"focus":return At=jr(At,p,m,w,q,re),!0;case"dragenter":return Wt=jr(Wt,p,m,w,q,re),!0;case"mouseover":return jt=jr(jt,p,m,w,q,re),!0;case"pointerover":var ye=re.pointerId;return Bn.set(ye,jr(Bn.get(ye)||null,p,m,w,q,re)),!0;case"gotpointercapture":return en.set(ye=re.pointerId,jr(en.get(ye)||null,p,m,w,q,re)),!0}return!1}(re,p,m,w,q)){Yr(p,q),p=d(p,q,null,m);try{et(gt,p)}finally{nt(p)}}}}function pa(p,m,w,q){if(null!==(w=Hs(w=$e(q)))){var re=k(w);if(null===re)w=null;else{var ye=re.tag;if(13===ye){if(null!==(w=A(re)))return w;w=null}else if(3===ye){if(re.stateNode.hydrate)return 3===re.tag?re.stateNode.containerInfo:null;w=null}else re!==w&&(w=null)}}p=d(p,q,w,m);try{et(gt,p)}finally{nt(p)}return null}var ja={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ei=["Webkit","ms","Moz","O"];function Us(p,m,w){return null==m||"boolean"==typeof m||""===m?"":w||"number"!=typeof m||0===m||ja.hasOwnProperty(p)&&ja[p]?(""+m).trim():m+"px"}function eo(p,m){for(var w in p=p.style,m)if(m.hasOwnProperty(w)){var q=0===w.indexOf("--"),re=Us(w,m[w],q);"float"===w&&(w="cssFloat"),q?p.setProperty(w,re):p[w]=re}}Object.keys(ja).forEach(function(p){ei.forEach(function(m){m=m+p.charAt(0).toUpperCase()+p.substring(1),ja[m]=ja[p]})});var go=B({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Tu(p,m){if(m){if(go[p]&&(null!=m.children||null!=m.dangerouslySetInnerHTML))throw Error(y(137,p,""));if(null!=m.dangerouslySetInnerHTML){if(null!=m.children)throw Error(y(60));if("object"!=typeof m.dangerouslySetInnerHTML||!("__html"in m.dangerouslySetInnerHTML))throw Error(y(61))}if(null!=m.style&&"object"!=typeof m.style)throw Error(y(62,""))}}function Iu(p,m){if(-1===p.indexOf("-"))return"string"==typeof m.is;switch(p){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ou="http://www.w3.org/1999/xhtml";function vo(p,m){var w=cs(p=9===p.nodeType||11===p.nodeType?p:p.ownerDocument);m=x[m];for(var q=0;q<m.length;q++)Et(m[q],p,w)}function ap(){}function op(p){if(typeof(p=p||(typeof document<"u"?document:void 0))>"u")return null;try{return p.activeElement||p.body}catch{return p.body}}function E_(p){for(;p&&p.firstChild;)p=p.firstChild;return p}function P_(p,m){var q,w=E_(p);for(p=0;w;){if(3===w.nodeType){if(q=p+w.textContent.length,p<=m&&q>=m)return{node:w,offset:m-p};p=q}e:{for(;w;){if(w.nextSibling){w=w.nextSibling;break e}w=w.parentNode}w=void 0}w=E_(w)}}function A_(p,m){return!(!p||!m)&&(p===m||(!p||3!==p.nodeType)&&(m&&3===m.nodeType?A_(p,m.parentNode):"contains"in p?p.contains(m):!!p.compareDocumentPosition&&!!(16&p.compareDocumentPosition(m))))}function k_(){for(var p=window,m=op();m instanceof p.HTMLIFrameElement;){try{var w="string"==typeof m.contentWindow.location.href}catch{w=!1}if(!w)break;m=op((p=m.contentWindow).document)}return m}function Mo(p){var m=p&&p.nodeName&&p.nodeName.toLowerCase();return m&&("input"===m&&("text"===p.type||"search"===p.type||"tel"===p.type||"url"===p.type||"password"===p.type)||"textarea"===m||"true"===p.contentEditable)}var R_="$",D_="/$",sp="$?",T_="$!",up=null,lp=null;function I_(p,m){switch(p){case"button":case"input":case"select":case"textarea":return!!m.autoFocus}return!1}function cp(p,m){return"textarea"===p||"option"===p||"noscript"===p||"string"==typeof m.children||"number"==typeof m.children||"object"==typeof m.dangerouslySetInnerHTML&&null!==m.dangerouslySetInnerHTML&&null!=m.dangerouslySetInnerHTML.__html}var dp="function"==typeof setTimeout?setTimeout:void 0,LE="function"==typeof clearTimeout?clearTimeout:void 0;function zs(p){for(;null!=p;p=p.nextSibling){var m=p.nodeType;if(1===m||3===m)break}return p}function O_(p){p=p.previousSibling;for(var m=0;p;){if(8===p.nodeType){var w=p.data;if(w===R_||w===T_||w===sp){if(0===m)return p;m--}else w===D_&&m++}p=p.previousSibling}return null}var pp=Math.random().toString(36).slice(2),No="__reactInternalInstance$"+pp,fp="__reactEventHandlers$"+pp,Gs="__reactContainere$"+pp;function Hs(p){var m=p[No];if(m)return m;for(var w=p.parentNode;w;){if(m=w[Gs]||w[No]){if(w=m.alternate,null!==m.child||null!==w&&null!==w.child)for(p=O_(p);null!==p;){if(w=p[No])return w;p=O_(p)}return m}w=(p=w).parentNode}return null}function Fu(p){return!(p=p[No]||p[Gs])||5!==p.tag&&6!==p.tag&&13!==p.tag&&3!==p.tag?null:p}function ds(p){if(5===p.tag||6===p.tag)return p.stateNode;throw Error(y(33))}function mp(p){return p[fp]||null}function yo(p){do{p=p.return}while(p&&5!==p.tag);return p||null}function F_(p,m){var w=p.stateNode;if(!w)return null;var q=G(w);if(!q)return null;w=q[m];e:switch(m){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(q=!q.disabled)||(q=!("button"===(p=p.type)||"input"===p||"select"===p||"textarea"===p)),p=!q;break e;default:p=!1}if(p)return null;if(w&&"function"!=typeof w)throw Error(y(231,m,typeof w));return w}function jE(p,m,w){(m=F_(p,w.dispatchConfig.phasedRegistrationNames[m]))&&(w._dispatchListeners=me(w._dispatchListeners,m),w._dispatchInstances=me(w._dispatchInstances,p))}function $E(p){if(p&&p.dispatchConfig.phasedRegistrationNames){for(var m=p._targetInst,w=[];m;)w.push(m),m=yo(m);for(m=w.length;0<m--;)jE(w[m],"captured",p);for(m=0;m<w.length;m++)jE(w[m],"bubbled",p)}}function hp(p,m,w){p&&w&&w.dispatchConfig.registrationName&&(m=F_(p,w.dispatchConfig.registrationName))&&(w._dispatchListeners=me(w._dispatchListeners,m),w._dispatchInstances=me(w._dispatchInstances,p))}function ps(p){Pe(p,$E)}var Vo=null,gp=null,Zl=null;function N_(){if(Zl)return Zl;var p,q,m=gp,w=m.length,re="value"in Vo?Vo.value:Vo.textContent,ye=re.length;for(p=0;p<w&&m[p]===re[p];p++);var ke=w-p;for(q=1;q<=ke&&m[w-q]===re[ye-q];q++);return Zl=re.slice(p,1<q?1-q:void 0)}function Ll(){return!0}function vp(){return!1}function fa(p,m,w,q){for(var re in this.dispatchConfig=p,this._targetInst=m,this.nativeEvent=w,p=this.constructor.Interface)p.hasOwnProperty(re)&&((m=p[re])?this[re]=m(w):"target"===re?this.target=q:this[re]=w[re]);return this.isDefaultPrevented=(null!=w.defaultPrevented?w.defaultPrevented:!1===w.returnValue)?Ll:vp,this.isPropagationStopped=vp,this}function UE(p,m,w,q){if(this.eventPool.length){var re=this.eventPool.pop();return this.call(re,p,m,w,q),re}return new this(p,m,w,q)}function V_(p){if(!(p instanceof this))throw Error(y(279));p.destructor(),10>this.eventPool.length&&this.eventPool.push(p)}function yp(p){p.eventPool=[],p.getPooled=UE,p.release=V_}B(fa.prototype,{preventDefault:function(){this.defaultPrevented=!0;var m=this.nativeEvent;m&&(m.preventDefault?m.preventDefault():"unknown"!=typeof m.returnValue&&(m.returnValue=!1),this.isDefaultPrevented=Ll)},stopPropagation:function(){var m=this.nativeEvent;m&&(m.stopPropagation?m.stopPropagation():"unknown"!=typeof m.cancelBubble&&(m.cancelBubble=!0),this.isPropagationStopped=Ll)},persist:function(){this.isPersistent=Ll},isPersistent:vp,destructor:function(){var w,m=this.constructor.Interface;for(w in m)this[w]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=vp,this._dispatchInstances=this._dispatchListeners=null}}),fa.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(m){return m.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},fa.extend=function(p){function m(){}function w(){return q.apply(this,arguments)}var q=this;m.prototype=q.prototype;var re=new m;return B(re,w.prototype),(w.prototype=re).constructor=w,w.Interface=B({},q.Interface,p),w.extend=q.extend,yp(w),w},yp(fa);var zE=fa.extend({data:null}),GE=fa.extend({data:null}),HE=[9,13,27,32],_p=E&&"CompositionEvent"in window,Mu=null;E&&"documentMode"in document&&(Mu=document.documentMode);var mk=E&&"TextEvent"in window&&!Mu,B_=E&&(!_p||Mu&&8<Mu&&11>=Mu),Z_=String.fromCharCode(32),_o={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},L_=!1;function j_(p,m){switch(p){case"keyup":return-1!==HE.indexOf(m.keyCode);case"keydown":return 229!==m.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function $_(p){return"object"==typeof(p=p.detail)&&"data"in p?p.data:null}var Ks=!1,KE={eventTypes:_o,extractEvents:function(m,w,q,re){var ye;if(_p)e:{switch(m){case"compositionstart":var ke=_o.compositionStart;break e;case"compositionend":ke=_o.compositionEnd;break e;case"compositionupdate":ke=_o.compositionUpdate;break e}ke=void 0}else Ks?j_(m,q)&&(ke=_o.compositionEnd):"keydown"===m&&229===q.keyCode&&(ke=_o.compositionStart);return ke?(B_&&"ko"!==q.locale&&(Ks||ke!==_o.compositionStart?ke===_o.compositionEnd&&Ks&&(ye=N_()):(gp="value"in(Vo=re)?Vo.value:Vo.textContent,Ks=!0)),ke=zE.getPooled(ke,w,q,re),(ye||null!==(ye=$_(q)))&&(ke.data=ye),ps(ke),ye=ke):ye=null,(m=mk?function hk(p,m){switch(p){case"compositionend":return $_(m);case"keypress":return 32!==m.which?null:(L_=!0,Z_);case"textInput":return(p=m.data)===Z_&&L_?null:p;default:return null}}(m,q):function qE(p,m){if(Ks)return"compositionend"===p||!_p&&j_(p,m)?(p=N_(),Zl=gp=Vo=null,Ks=!1,p):null;switch(p){case"paste":default:return null;case"keypress":if(!(m.ctrlKey||m.altKey||m.metaKey)||m.ctrlKey&&m.altKey){if(m.char&&1<m.char.length)return m.char;if(m.which)return String.fromCharCode(m.which)}return null;case"compositionend":return B_&&"ko"!==m.locale?null:m.data}}(m,q))?((w=GE.getPooled(_o.beforeInput,w,q,re)).data=m,ps(w)):w=null,null===ye?w:null===w?ye:[ye,w]}},WE={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function U_(p){var m=p&&p.nodeName&&p.nodeName.toLowerCase();return"input"===m?!!WE[p.type]:"textarea"===m}var z_={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function G_(p,m,w){return(p=fa.getPooled(z_.change,p,m,w)).type="change",te(w),ps(p),p}var Nu=null,Vu=null;function gk(p){Be(p)}function jl(p){if(Qn(ds(p)))return p}function XE(p,m){if("change"===p)return m}var xp=!1;function H_(){Nu&&(Nu.detachEvent("onpropertychange",q_),Vu=Nu=null)}function q_(p){if("value"===p.propertyName&&jl(Vu))if(p=G_(Vu,p,$e(p)),tt)Be(p);else{tt=!0;try{ne(gk,p)}finally{tt=!1,vt()}}}function QE(p,m,w){"focus"===p?(H_(),Vu=w,(Nu=m).attachEvent("onpropertychange",q_)):"blur"===p&&H_()}function YE(p){if("selectionchange"===p||"keyup"===p||"keydown"===p)return jl(Vu)}function vk(p,m){if("click"===p)return jl(m)}function JE(p,m){if("input"===p||"change"===p)return jl(m)}E&&(xp=Ge("input")&&(!document.documentMode||9<document.documentMode));var e2={eventTypes:z_,_isInputEventSupported:xp,extractEvents:function(m,w,q,re){var ye=w?ds(w):window,ke=ye.nodeName&&ye.nodeName.toLowerCase();if("select"===ke||"input"===ke&&"file"===ye.type)var Ue=XE;else if(U_(ye))if(xp)Ue=JE;else{Ue=YE;var xt=QE}else(ke=ye.nodeName)&&"input"===ke.toLowerCase()&&("checkbox"===ye.type||"radio"===ye.type)&&(Ue=vk);if(Ue&&(Ue=Ue(m,w)))return G_(Ue,q,re);xt&&xt(m,ye,w),"blur"===m&&(m=ye._wrapperState)&&m.controlled&&"number"===ye.type&&zi(ye,"number",ye.value)}},Bu=fa.extend({view:null,detail:null}),t2={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function n2(p){var m=this.nativeEvent;return m.getModifierState?m.getModifierState(p):!!(p=t2[p])&&!!m[p]}function bp(){return n2}var r2=0,K_=0,W_=!1,Cp=!1,Zu=Bu.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:bp,button:null,buttons:null,relatedTarget:function(m){return m.relatedTarget||(m.fromElement===m.srcElement?m.toElement:m.fromElement)},movementX:function(m){if("movementX"in m)return m.movementX;var w=r2;return r2=m.screenX,W_?"mousemove"===m.type?m.screenX-w:0:(W_=!0,0)},movementY:function(m){if("movementY"in m)return m.movementY;var w=K_;return K_=m.screenY,Cp?"mousemove"===m.type?m.screenY-w:0:(Cp=!0,0)}}),X_=Zu.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Lu={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},a2={eventTypes:Lu,extractEvents:function(m,w,q,re,ye){var ke="mouseover"===m||"pointerover"===m,Ue="mouseout"===m||"pointerout"===m;if(ke&&!(32&ye)&&(q.relatedTarget||q.fromElement)||!Ue&&!ke)return null;if(ke=re.window===re?re:(ke=re.ownerDocument)?ke.defaultView||ke.parentWindow:window,Ue?(Ue=w,null!==(w=(w=q.relatedTarget||q.toElement)?Hs(w):null)&&(w!==k(w)||5!==w.tag&&6!==w.tag)&&(w=null)):Ue=null,Ue===w)return null;if("mouseout"===m||"mouseover"===m)var Mt=Zu,Ht=Lu.mouseLeave,yn=Lu.mouseEnter,bn="mouse";else("pointerout"===m||"pointerover"===m)&&(Mt=X_,Ht=Lu.pointerLeave,yn=Lu.pointerEnter,bn="pointer");if(m=null==Ue?ke:ds(Ue),ke=null==w?ke:ds(w),(Ht=Mt.getPooled(Ht,Ue,q,re)).type=bn+"leave",Ht.target=m,Ht.relatedTarget=ke,(q=Mt.getPooled(yn,w,q,re)).type=bn+"enter",q.target=ke,q.relatedTarget=m,bn=w,(re=Ue)&&bn)e:{for(yn=bn,Ue=0,m=Mt=re;m;m=yo(m))Ue++;for(m=0,w=yn;w;w=yo(w))m++;for(;0<Ue-m;)Mt=yo(Mt),Ue--;for(;0<m-Ue;)yn=yo(yn),m--;for(;Ue--;){if(Mt===yn||Mt===yn.alternate)break e;Mt=yo(Mt),yn=yo(yn)}Mt=null}else Mt=null;for(yn=Mt,Mt=[];re&&re!==yn&&(null===(Ue=re.alternate)||Ue!==yn);)Mt.push(re),re=yo(re);for(re=[];bn&&bn!==yn&&(null===(Ue=bn.alternate)||Ue!==yn);)re.push(bn),bn=yo(bn);for(bn=0;bn<Mt.length;bn++)hp(Mt[bn],"bubbled",Ht);for(bn=re.length;0<bn--;)hp(re[bn],"captured",q);return 64&ye?[Ht,q]:[Ht]}},Ws="function"==typeof Object.is?Object.is:function o2(p,m){return p===m&&(0!==p||1/p==1/m)||p!=p&&m!=m},s2=Object.prototype.hasOwnProperty;function ju(p,m){if(Ws(p,m))return!0;if("object"!=typeof p||null===p||"object"!=typeof m||null===m)return!1;var w=Object.keys(p),q=Object.keys(m);if(w.length!==q.length)return!1;for(q=0;q<w.length;q++)if(!s2.call(m,w[q])||!Ws(p[w[q]],m[w[q]]))return!1;return!0}var u2=E&&"documentMode"in document&&11>=document.documentMode,Q_={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Xs=null,wp=null,$u=null,Y_=!1;function J_(p,m){var w=m.window===m?m.document:9===m.nodeType?m:m.ownerDocument;return Y_||null==Xs||Xs!==op(w)?null:(w="selectionStart"in(w=Xs)&&Mo(w)?{start:w.selectionStart,end:w.selectionEnd}:{anchorNode:(w=(w.ownerDocument&&w.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:w.anchorOffset,focusNode:w.focusNode,focusOffset:w.focusOffset},$u&&ju($u,w)?null:($u=w,(p=fa.getPooled(Q_.select,wp,p,m)).type="select",p.target=Xs,ps(p),p))}var l2={eventTypes:Q_,extractEvents:function(m,w,q,re,ye,ke){if(!(ke=!(ye=ke||(re.window===re?re.document:9===re.nodeType?re:re.ownerDocument)))){e:{ye=cs(ye),ke=x.onSelect;for(var Ue=0;Ue<ke.length;Ue++)if(!ye.has(ke[Ue])){ye=!1;break e}ye=!0}ke=!ye}if(ke)return null;switch(ye=w?ds(w):window,m){case"focus":(U_(ye)||"true"===ye.contentEditable)&&(Xs=ye,wp=w,$u=null);break;case"blur":$u=wp=Xs=null;break;case"mousedown":Y_=!0;break;case"contextmenu":case"mouseup":case"dragend":return Y_=!1,J_(q,re);case"selectionchange":if(u2)break;case"keydown":case"keyup":return J_(q,re)}return null}},c2=fa.extend({animationName:null,elapsedTime:null,pseudoElement:null}),d2=fa.extend({clipboardData:function(m){return"clipboardData"in m?m.clipboardData:window.clipboardData}}),p2=Bu.extend({relatedTarget:null});function $l(p){var m=p.keyCode;return"charCode"in p?0===(p=p.charCode)&&13===m&&(p=13):p=m,10===p&&(p=13),32<=p||13===p?p:0}var yk={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},f2={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},m2=Bu.extend({key:function(m){if(m.key){var w=yk[m.key]||m.key;if("Unidentified"!==w)return w}return"keypress"===m.type?13===(m=$l(m))?"Enter":String.fromCharCode(m):"keydown"===m.type||"keyup"===m.type?f2[m.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:bp,charCode:function(m){return"keypress"===m.type?$l(m):0},keyCode:function(m){return"keydown"===m.type||"keyup"===m.type?m.keyCode:0},which:function(m){return"keypress"===m.type?$l(m):"keydown"===m.type||"keyup"===m.type?m.keyCode:0}}),e0=Zu.extend({dataTransfer:null}),h2=Bu.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:bp}),g2=fa.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),v2=Zu.extend({deltaX:function(m){return"deltaX"in m?m.deltaX:"wheelDeltaX"in m?-m.wheelDeltaX:0},deltaY:function(m){return"deltaY"in m?m.deltaY:"wheelDeltaY"in m?-m.wheelDeltaY:"wheelDelta"in m?-m.wheelDelta:0},deltaZ:null,deltaMode:null}),y2={eventTypes:vn,extractEvents:function(m,w,q,re){var ye=Sn.get(m);if(!ye)return null;switch(m){case"keypress":if(0===$l(q))return null;case"keydown":case"keyup":m=m2;break;case"blur":case"focus":m=p2;break;case"click":if(2===q.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":m=Zu;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":m=e0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":m=h2;break;case Io:case ls:case $s:m=c2;break;case Oo:m=g2;break;case"scroll":m=Bu;break;case"wheel":m=v2;break;case"copy":case"cut":case"paste":m=d2;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":m=X_;break;default:m=fa}return ps(w=m.getPooled(ye,w,q,re)),w}};if(U)throw Error(y(101));U=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),Y(),G=mp,z=Fu,H=ds,R({SimpleEventPlugin:y2,EnterLeaveEventPlugin:a2,ChangeEventPlugin:e2,SelectEventPlugin:l2,BeforeInputEventPlugin:KE});var t0=[],Qs=-1;function Ur(p){0>Qs||(p.current=t0[Qs],t0[Qs]=null,Qs--)}function qr(p,m){Qs++,t0[Qs]=p.current,p.current=m}var fs={},oi={current:fs},qi={current:!1},ms=fs;function Ys(p,m){var w=p.type.contextTypes;if(!w)return fs;var q=p.stateNode;if(q&&q.__reactInternalMemoizedUnmaskedChildContext===m)return q.__reactInternalMemoizedMaskedChildContext;var ye,re={};for(ye in w)re[ye]=m[ye];return q&&((p=p.stateNode).__reactInternalMemoizedUnmaskedChildContext=m,p.__reactInternalMemoizedMaskedChildContext=re),re}function Ki(p){return null!=p.childContextTypes}function Ul(){Ur(qi),Ur(oi)}function n0(p,m,w){if(oi.current!==fs)throw Error(y(168));qr(oi,m),qr(qi,w)}function r0(p,m,w){var q=p.stateNode;if(p=m.childContextTypes,"function"!=typeof q.getChildContext)return w;for(var re in q=q.getChildContext())if(!(re in p))throw Error(y(108,Cn(m)||"Unknown",re));return B({},w,{},q)}function hs(p){return p=(p=p.stateNode)&&p.__reactInternalMemoizedMergedChildContext||fs,ms=oi.current,qr(oi,p),qr(qi,qi.current),!0}function qe(p,m,w){var q=p.stateNode;if(!q)throw Error(y(169));w?(p=r0(p,m,ms),q.__reactInternalMemoizedMergedChildContext=p,Ur(qi),Ur(oi),qr(oi,p)):Ur(qi),qr(qi,w)}var a0=r.unstable_runWithPriority,Zt=r.unstable_scheduleCallback,Bt=r.unstable_cancelCallback,Ce=r.unstable_requestPaint,Js=r.unstable_now,x2=r.unstable_getCurrentPriorityLevel,zl=r.unstable_ImmediatePriority,o0=r.unstable_UserBlockingPriority,s0=r.unstable_NormalPriority,u0=r.unstable_LowPriority,gi=r.unstable_IdlePriority,Gl={},b2=r.unstable_shouldYield,C2=void 0!==Ce?Ce:function(){},xo=null,vr=null,dr=!1,Rr=Js(),Wi=1e4>Rr?Js:function(){return Js()-Rr};function si(){switch(x2()){case zl:return 99;case o0:return 98;case s0:return 97;case u0:return 96;case gi:return 95;default:throw Error(y(332))}}function Bi(p){switch(p){case 99:return zl;case 98:return o0;case 97:return s0;case 96:return u0;case 95:return gi;default:throw Error(y(332))}}function An(p,m){return p=Bi(p),a0(p,m)}function Bo(p,m,w){return p=Bi(p),Zt(p,m,w)}function Pa(p){return null===xo?(xo=[p],vr=Zt(zl,$a)):xo.push(p),Gl}function Zi(){if(null!==vr){var p=vr;vr=null,Bt(p)}$a()}function $a(){if(!dr&&null!==xo){dr=!0;var p=0;try{var m=xo;An(99,function(){for(;p<m.length;p++){var w=m[p];do{w=w(!0)}while(null!==w)}}),xo=null}catch(w){throw null!==xo&&(xo=xo.slice(p+1)),Zt(zl,Zi),w}finally{dr=!1}}}function Le(p,m,w){return 1073741821-(1+((1073741821-p+m/10)/(w/=10)|0))*w}function Li(p,m){if(p&&p.defaultProps)for(var w in m=B({},m),p=p.defaultProps)void 0===m[w]&&(m[w]=p[w]);return m}var Hl={current:null},ql=null,ma=null,Uu=null;function Sp(){Uu=ma=ql=null}function eu(p){var m=Hl.current;Ur(Hl),p.type._context._currentValue=m}function l0(p,m){for(;null!==p;){var w=p.alternate;if(p.childExpirationTime<m)p.childExpirationTime=m,null!==w&&w.childExpirationTime<m&&(w.childExpirationTime=m);else{if(!(null!==w&&w.childExpirationTime<m))break;w.childExpirationTime=m}p=p.return}}function tu(p,m){ql=p,Uu=ma=null,null!==(p=p.dependencies)&&null!==p.firstContext&&(p.expirationTime>=m&&(ao=!0),p.firstContext=null)}function Aa(p,m){if(Uu!==p&&!1!==m&&0!==m)if(("number"!=typeof m||1073741823===m)&&(Uu=p,m=1073741823),m={context:p,observedBits:m,next:null},null===ma){if(null===ql)throw Error(y(308));ma=m,ql.dependencies={expirationTime:0,firstContext:m,responders:null}}else ma=ma.next=m;return p._currentValue}var fn=!1;function Ir(p){p.updateQueue={baseState:p.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function Ua(p,m){m.updateQueue===(p=p.updateQueue)&&(m.updateQueue={baseState:p.baseState,baseQueue:p.baseQueue,shared:p.shared,effects:p.effects})}function bo(p,m){return(p={expirationTime:p,suspenseConfig:m,tag:0,payload:null,callback:null,next:null}).next=p}function Zo(p,m){if(null!==(p=p.updateQueue)){var w=(p=p.shared).pending;null===w?m.next=m:(m.next=w.next,w.next=m),p.pending=m}}function c0(p,m){var w=p.alternate;null!==w&&Ua(w,p),null===(w=(p=p.updateQueue).baseQueue)?(p.baseQueue=m.next=m,m.next=m):(m.next=w.next,w.next=m)}function Kl(p,m,w,q){var re=p.updateQueue;fn=!1;var ye=re.baseQueue,ke=re.shared.pending;if(null!==ke){if(null!==ye){var Ue=ye.next;ye.next=ke.next,ke.next=Ue}ye=ke,re.shared.pending=null,null!==(Ue=p.alternate)&&null!==(Ue=Ue.updateQueue)&&(Ue.baseQueue=ke)}if(null!==ye){var xt=re.baseState,Mt=0,Ht=null,yn=null,bn=null;if(null!==(Ue=ye.next))for(var sr=Ue;;){if((ke=sr.expirationTime)<q){var Ta={expirationTime:sr.expirationTime,suspenseConfig:sr.suspenseConfig,tag:sr.tag,payload:sr.payload,callback:sr.callback,next:null};null===bn?(yn=bn=Ta,Ht=xt):bn=bn.next=Ta,ke>Mt&&(Mt=ke)}else{null!==bn&&(bn=bn.next={expirationTime:1073741823,suspenseConfig:sr.suspenseConfig,tag:sr.tag,payload:sr.payload,callback:sr.callback,next:null}),ef(ke,sr.suspenseConfig);e:{var Ei=p,St=sr;switch(ke=m,Ta=w,St.tag){case 1:if("function"==typeof(Ei=St.payload)){xt=Ei.call(Ta,xt,ke);break e}xt=Ei;break e;case 3:Ei.effectTag=-4097&Ei.effectTag|64;case 0:if(null==(ke="function"==typeof(Ei=St.payload)?Ei.call(Ta,xt,ke):Ei))break e;xt=B({},xt,ke);break e;case 2:fn=!0}}null!==sr.callback&&(p.effectTag|=32,null===(ke=re.effects)?re.effects=[sr]:ke.push(sr))}if(null===(sr=sr.next)||sr===Ue){if(null===(ke=re.shared.pending))break;sr=ye.next=ke.next,ke.next=Ue,re.baseQueue=ye=ke,re.shared.pending=null}}null===bn?Ht=xt:bn.next=yn,re.baseState=Ht,re.baseQueue=bn,dl(Mt),p.expirationTime=Mt,p.memoizedState=xt}}function d0(p,m,w){if(p=m.effects,m.effects=null,null!==p)for(m=0;m<p.length;m++){var q=p[m],re=q.callback;if(null!==re){if(q.callback=null,q=re,re=w,"function"!=typeof q)throw Error(y(191,q));q.call(re)}}}var zu=ce.ReactCurrentBatchConfig,p0=(new K.Component).refs;function Ep(p,m,w,q){w=null==(w=w(q,m=p.memoizedState))?m:B({},m,w),p.memoizedState=w,0===p.expirationTime&&(p.updateQueue.baseState=w)}var Lo={isMounted:function(m){return!!(m=m._reactInternalFiber)&&k(m)===m},enqueueSetState:function(m,w,q){m=m._reactInternalFiber;var re=Ra(),ye=zu.suspense;(ye=bo(re=du(re,m,ye),ye)).payload=w,null!=q&&(ye.callback=q),Zo(m,ye),zo(m,re)},enqueueReplaceState:function(m,w,q){m=m._reactInternalFiber;var re=Ra(),ye=zu.suspense;(ye=bo(re=du(re,m,ye),ye)).tag=1,ye.payload=w,null!=q&&(ye.callback=q),Zo(m,ye),zo(m,re)},enqueueForceUpdate:function(m,w){m=m._reactInternalFiber;var q=Ra(),re=zu.suspense;(re=bo(q=du(q,m,re),re)).tag=2,null!=w&&(re.callback=w),Zo(m,re),zo(m,q)}};function Pp(p,m,w,q,re,ye,ke){return"function"==typeof(p=p.stateNode).shouldComponentUpdate?p.shouldComponentUpdate(q,ye,ke):!(m.prototype&&m.prototype.isPureReactComponent&&ju(w,q)&&ju(re,ye))}function gs(p,m,w){var q=!1,re=fs,ye=m.contextType;return"object"==typeof ye&&null!==ye?ye=Aa(ye):(re=Ki(m)?ms:oi.current,ye=(q=null!=(q=m.contextTypes))?Ys(p,re):fs),m=new m(w,ye),p.memoizedState=null!=m.state?m.state:null,m.updater=Lo,p.stateNode=m,m._reactInternalFiber=p,q&&((p=p.stateNode).__reactInternalMemoizedUnmaskedChildContext=re,p.__reactInternalMemoizedMaskedChildContext=ye),m}function f0(p,m,w,q){p=m.state,"function"==typeof m.componentWillReceiveProps&&m.componentWillReceiveProps(w,q),"function"==typeof m.UNSAFE_componentWillReceiveProps&&m.UNSAFE_componentWillReceiveProps(w,q),m.state!==p&&Lo.enqueueReplaceState(m,m.state,null)}function Wl(p,m,w,q){var re=p.stateNode;re.props=w,re.state=p.memoizedState,re.refs=p0,Ir(p);var ye=m.contextType;"object"==typeof ye&&null!==ye?re.context=Aa(ye):(ye=Ki(m)?ms:oi.current,re.context=Ys(p,ye)),Kl(p,w,re,q),re.state=p.memoizedState,"function"==typeof(ye=m.getDerivedStateFromProps)&&(Ep(p,m,ye,w),re.state=p.memoizedState),"function"==typeof m.getDerivedStateFromProps||"function"==typeof re.getSnapshotBeforeUpdate||"function"!=typeof re.UNSAFE_componentWillMount&&"function"!=typeof re.componentWillMount||(m=re.state,"function"==typeof re.componentWillMount&&re.componentWillMount(),"function"==typeof re.UNSAFE_componentWillMount&&re.UNSAFE_componentWillMount(),m!==re.state&&Lo.enqueueReplaceState(re,re.state,null),Kl(p,w,re,q),re.state=p.memoizedState),"function"==typeof re.componentDidMount&&(p.effectTag|=4)}var Gu=Array.isArray;function Hu(p,m,w){if(null!==(p=w.ref)&&"function"!=typeof p&&"object"!=typeof p){if(w._owner){if(w=w._owner){if(1!==w.tag)throw Error(y(309));var q=w.stateNode}if(!q)throw Error(y(147,p));var re=""+p;return null!==m&&null!==m.ref&&"function"==typeof m.ref&&m.ref._stringRef===re?m.ref:((m=function(ke){var Ue=q.refs;Ue===p0&&(Ue=q.refs={}),null===ke?delete Ue[re]:Ue[re]=ke})._stringRef=re,m)}if("string"!=typeof p)throw Error(y(284));if(!w._owner)throw Error(y(290,p))}return p}function Xl(p,m){if("textarea"!==p.type)throw Error(y(31,"[object Object]"===Object.prototype.toString.call(m)?"object with keys {"+Object.keys(m).join(", ")+"}":m,""))}function qu(p){function m(St,ht){if(p){var It=St.lastEffect;null!==It?(It.nextEffect=ht,St.lastEffect=ht):St.firstEffect=St.lastEffect=ht,ht.nextEffect=null,ht.effectTag=8}}function w(St,ht){if(!p)return null;for(;null!==ht;)m(St,ht),ht=ht.sibling;return null}function q(St,ht){for(St=new Map;null!==ht;)St.set(null!==ht.key?ht.key:ht.index,ht),ht=ht.sibling;return St}function re(St,ht){return(St=ws(St,ht)).index=0,St.sibling=null,St}function ye(St,ht,It){return St.index=It,p?null!==(It=St.alternate)?(It=It.index)<ht?(St.effectTag=2,ht):It:(St.effectTag=2,ht):ht}function ke(St){return p&&null===St.alternate&&(St.effectTag=2),St}function Ue(St,ht,It,Kt){return null===ht||6!==ht.tag?((ht=rf(It,St.mode,Kt)).return=St,ht):((ht=re(ht,It)).return=St,ht)}function xt(St,ht,It,Kt){return null!==ht&&ht.elementType===It.type?((Kt=re(ht,It.props)).ref=Hu(St,ht,It),Kt.return=St,Kt):((Kt=Ac(It.type,It.key,It.props,null,St.mode,Kt)).ref=Hu(St,ht,It),Kt.return=St,Kt)}function Mt(St,ht,It,Kt){return null===ht||4!==ht.tag||ht.stateNode.containerInfo!==It.containerInfo||ht.stateNode.implementation!==It.implementation?((ht=af(It,St.mode,Kt)).return=St,ht):((ht=re(ht,It.children||[])).return=St,ht)}function Ht(St,ht,It,Kt,rn){return null===ht||7!==ht.tag?((ht=Ho(It,St.mode,Kt,rn)).return=St,ht):((ht=re(ht,It)).return=St,ht)}function yn(St,ht,It){if("string"==typeof ht||"number"==typeof ht)return(ht=rf(""+ht,St.mode,It)).return=St,ht;if("object"==typeof ht&&null!==ht){switch(ht.$$typeof){case Tt:return(It=Ac(ht.type,ht.key,ht.props,null,St.mode,It)).ref=Hu(St,null,ht),It.return=St,It;case Vt:return(ht=af(ht,St.mode,It)).return=St,ht}if(Gu(ht)||Pn(ht))return(ht=Ho(ht,St.mode,It,null)).return=St,ht;Xl(St,ht)}return null}function bn(St,ht,It,Kt){var rn=null!==ht?ht.key:null;if("string"==typeof It||"number"==typeof It)return null!==rn?null:Ue(St,ht,""+It,Kt);if("object"==typeof It&&null!==It){switch(It.$$typeof){case Tt:return It.key===rn?It.type===zt?Ht(St,ht,It.props.children,Kt,rn):xt(St,ht,It,Kt):null;case Vt:return It.key===rn?Mt(St,ht,It,Kt):null}if(Gu(It)||Pn(It))return null!==rn?null:Ht(St,ht,It,Kt,null);Xl(St,It)}return null}function sr(St,ht,It,Kt,rn){if("string"==typeof Kt||"number"==typeof Kt)return Ue(ht,St=St.get(It)||null,""+Kt,rn);if("object"==typeof Kt&&null!==Kt){switch(Kt.$$typeof){case Tt:return St=St.get(null===Kt.key?It:Kt.key)||null,Kt.type===zt?Ht(ht,St,Kt.props.children,rn,Kt.key):xt(ht,St,Kt,rn);case Vt:return Mt(ht,St=St.get(null===Kt.key?It:Kt.key)||null,Kt,rn)}if(Gu(Kt)||Pn(Kt))return Ht(ht,St=St.get(It)||null,Kt,rn,null);Xl(ht,Kt)}return null}return function(St,ht,It,Kt){var rn="object"==typeof It&&null!==It&&It.type===zt&&null===It.key;rn&&(It=It.props.children);var dn="object"==typeof It&&null!==It;if(dn)switch(It.$$typeof){case Tt:e:{for(dn=It.key,rn=ht;null!==rn;){if(rn.key===dn){if(7===rn.tag){if(It.type===zt){w(St,rn.sibling),(ht=re(rn,It.props.children)).return=St,St=ht;break e}}else if(rn.elementType===It.type){w(St,rn.sibling),(ht=re(rn,It.props)).ref=Hu(St,rn,It),ht.return=St,St=ht;break e}w(St,rn);break}m(St,rn),rn=rn.sibling}It.type===zt?((ht=Ho(It.props.children,St.mode,Kt,It.key)).return=St,St=ht):((Kt=Ac(It.type,It.key,It.props,null,St.mode,Kt)).ref=Hu(St,ht,It),Kt.return=St,St=Kt)}return ke(St);case Vt:e:{for(rn=It.key;null!==ht;){if(ht.key===rn){if(4===ht.tag&&ht.stateNode.containerInfo===It.containerInfo&&ht.stateNode.implementation===It.implementation){w(St,ht.sibling),(ht=re(ht,It.children||[])).return=St,St=ht;break e}w(St,ht);break}m(St,ht),ht=ht.sibling}(ht=af(It,St.mode,Kt)).return=St,St=ht}return ke(St)}if("string"==typeof It||"number"==typeof It)return It=""+It,null!==ht&&6===ht.tag?(w(St,ht.sibling),(ht=re(ht,It)).return=St,St=ht):(w(St,ht),(ht=rf(It,St.mode,Kt)).return=St,St=ht),ke(St);if(Gu(It))return function Ta(St,ht,It,Kt){for(var rn=null,dn=null,_n=ht,nr=ht=0,rr=null;null!==_n&&nr<It.length;nr++){_n.index>nr?(rr=_n,_n=null):rr=_n.sibling;var Wn=bn(St,_n,It[nr],Kt);if(null===Wn){null===_n&&(_n=rr);break}p&&_n&&null===Wn.alternate&&m(St,_n),ht=ye(Wn,ht,nr),null===dn?rn=Wn:dn.sibling=Wn,dn=Wn,_n=rr}if(nr===It.length)return w(St,_n),rn;if(null===_n){for(;nr<It.length;nr++)null!==(_n=yn(St,It[nr],Kt))&&(ht=ye(_n,ht,nr),null===dn?rn=_n:dn.sibling=_n,dn=_n);return rn}for(_n=q(St,_n);nr<It.length;nr++)null!==(rr=sr(_n,St,nr,It[nr],Kt))&&(p&&null!==rr.alternate&&_n.delete(null===rr.key?nr:rr.key),ht=ye(rr,ht,nr),null===dn?rn=rr:dn.sibling=rr,dn=rr);return p&&_n.forEach(function(_r){return m(St,_r)}),rn}(St,ht,It,Kt);if(Pn(It))return function Ei(St,ht,It,Kt){var rn=Pn(It);if("function"!=typeof rn)throw Error(y(150));if(null==(It=rn.call(It)))throw Error(y(151));for(var dn=rn=null,_n=ht,nr=ht=0,rr=null,Wn=It.next();null!==_n&&!Wn.done;nr++,Wn=It.next()){_n.index>nr?(rr=_n,_n=null):rr=_n.sibling;var _r=bn(St,_n,Wn.value,Kt);if(null===_r){null===_n&&(_n=rr);break}p&&_n&&null===_r.alternate&&m(St,_n),ht=ye(_r,ht,nr),null===dn?rn=_r:dn.sibling=_r,dn=_r,_n=rr}if(Wn.done)return w(St,_n),rn;if(null===_n){for(;!Wn.done;nr++,Wn=It.next())null!==(Wn=yn(St,Wn.value,Kt))&&(ht=ye(Wn,ht,nr),null===dn?rn=Wn:dn.sibling=Wn,dn=Wn);return rn}for(_n=q(St,_n);!Wn.done;nr++,Wn=It.next())null!==(Wn=sr(_n,St,nr,Wn.value,Kt))&&(p&&null!==Wn.alternate&&_n.delete(null===Wn.key?nr:Wn.key),ht=ye(Wn,ht,nr),null===dn?rn=Wn:dn.sibling=Wn,dn=Wn);return p&&_n.forEach(function(Ck){return m(St,Ck)}),rn}(St,ht,It,Kt);if(dn&&Xl(St,It),typeof It>"u"&&!rn)switch(St.tag){case 1:case 0:throw St=St.type,Error(y(152,St.displayName||St.name||"Component"))}return w(St,ht)}}var vi=qu(!0),Ap=qu(!1),Ql={},za={current:Ql},nu={current:Ql},Ku={current:Ql};function Co(p){if(p===Ql)throw Error(y(174));return p}function Wu(p,m){switch(qr(Ku,m),qr(nu,p),qr(za,Ql),p=m.nodeType){case 9:case 11:m=(m=m.documentElement)?m.namespaceURI:fr(null,"");break;default:m=fr(m=(p=8===p?m.parentNode:m).namespaceURI||null,p=p.tagName)}Ur(za),qr(za,m)}function ru(){Ur(za),Ur(nu),Ur(Ku)}function m0(p){Co(Ku.current);var m=Co(za.current),w=fr(m,p.type);m!==w&&(qr(nu,p),qr(za,w))}function kp(p){nu.current===p&&(Ur(za),Ur(nu))}var zr={current:0};function to(p){for(var m=p;null!==m;){if(13===m.tag){var w=m.memoizedState;if(null!==w&&(null===(w=w.dehydrated)||w.data===sp||w.data===T_))return m}else if(19===m.tag&&void 0!==m.memoizedProps.revealOrder){if(64&m.effectTag)return m}else if(null!==m.child){m.child.return=m,m=m.child;continue}if(m===p)break;for(;null===m.sibling;){if(null===m.return||m.return===p)return null;m=m.return}m.sibling.return=m.return,m=m.sibling}return null}function Ga(p,m){return{responder:p,props:m}}var Xu=ce.ReactCurrentDispatcher,ji=ce.ReactCurrentBatchConfig,no=0,ui=null,wi=null,Si=null,Yl=!1;function Xi(){throw Error(y(321))}function Rp(p,m){if(null===m)return!1;for(var w=0;w<m.length&&w<p.length;w++)if(!Ws(p[w],m[w]))return!1;return!0}function Dp(p,m,w,q,re,ye){if(no=ye,ui=m,m.memoizedState=null,m.updateQueue=null,m.expirationTime=0,Xu.current=null===p||null===p.memoizedState?ys:_0,p=w(q,re),m.expirationTime===no){ye=0;do{if(m.expirationTime=0,!(25>ye))throw Error(y(301));ye+=1,Si=wi=null,m.updateQueue=null,Xu.current=el,p=w(q,re)}while(m.expirationTime===no)}if(Xu.current=Np,m=null!==wi&&null!==wi.next,no=0,Si=wi=ui=null,Yl=!1,m)throw Error(y(300));return p}function iu(){var p={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Si?ui.memoizedState=Si=p:Si=Si.next=p,Si}function au(){if(null===wi){var p=ui.alternate;p=null!==p?p.memoizedState:null}else p=wi.next;var m=null===Si?ui.memoizedState:Si.next;if(null!==m)Si=m,wi=p;else{if(null===p)throw Error(y(310));p={memoizedState:(wi=p).memoizedState,baseState:wi.baseState,baseQueue:wi.baseQueue,queue:wi.queue,next:null},null===Si?ui.memoizedState=Si=p:Si=Si.next=p}return Si}function vs(p,m){return"function"==typeof m?m(p):m}function Jl(p){var m=au(),w=m.queue;if(null===w)throw Error(y(311));w.lastRenderedReducer=p;var q=wi,re=q.baseQueue,ye=w.pending;if(null!==ye){if(null!==re){var ke=re.next;re.next=ye.next,ye.next=ke}q.baseQueue=re=ye,w.pending=null}if(null!==re){q=q.baseState;var Ue=ke=ye=null,xt=re=re.next;do{var Mt=xt.expirationTime;if(Mt<no){var Ht={expirationTime:xt.expirationTime,suspenseConfig:xt.suspenseConfig,action:xt.action,eagerReducer:xt.eagerReducer,eagerState:xt.eagerState,next:null};null===Ue?(ke=Ue=Ht,ye=q):Ue=Ue.next=Ht,Mt>ui.expirationTime&&(ui.expirationTime=Mt,dl(Mt))}else null!==Ue&&(Ue=Ue.next={expirationTime:1073741823,suspenseConfig:xt.suspenseConfig,action:xt.action,eagerReducer:xt.eagerReducer,eagerState:xt.eagerState,next:null}),ef(Mt,xt.suspenseConfig),q=xt.eagerReducer===p?xt.eagerState:p(q,xt.action);xt=xt.next}while(null!==xt&&xt!==re);null===Ue?ye=q:Ue.next=ke,Ws(q,m.memoizedState)||(ao=!0),m.memoizedState=q,m.baseState=ye,m.baseQueue=Ue,w.lastRenderedState=q}return[m.memoizedState,w.dispatch]}function ec(p){var m=au(),w=m.queue;if(null===w)throw Error(y(311));w.lastRenderedReducer=p;var q=w.dispatch,re=w.pending,ye=m.memoizedState;if(null!==re){w.pending=null;var ke=re=re.next;do{ye=p(ye,ke.action),ke=ke.next}while(ke!==re);Ws(ye,m.memoizedState)||(ao=!0),m.memoizedState=ye,null===m.baseQueue&&(m.baseState=ye),w.lastRenderedState=ye}return[ye,q]}function Tp(p){var m=iu();return"function"==typeof p&&(p=p()),m.memoizedState=m.baseState=p,p=(p=m.queue={pending:null,dispatch:null,lastRenderedReducer:vs,lastRenderedState:p}).dispatch=w2.bind(null,ui,p),[m.memoizedState,p]}function Ip(p,m,w,q){return p={tag:p,create:m,destroy:w,deps:q,next:null},null===(m=ui.updateQueue)?(ui.updateQueue=m={lastEffect:null},m.lastEffect=p.next=p):null===(w=m.lastEffect)?m.lastEffect=p.next=p:(q=w.next,w.next=p,p.next=q,m.lastEffect=p),p}function h0(){return au().memoizedState}function Op(p,m,w,q){var re=iu();ui.effectTag|=p,re.memoizedState=Ip(1|m,w,void 0,void 0===q?null:q)}function Qu(p,m,w,q){var re=au();q=void 0===q?null:q;var ye=void 0;if(null!==wi){var ke=wi.memoizedState;if(ye=ke.destroy,null!==q&&Rp(q,ke.deps))return void Ip(m,w,ye,q)}ui.effectTag|=p,re.memoizedState=Ip(1|m,w,ye,q)}function Yu(p,m){return Op(516,4,p,m)}function tc(p,m){return Qu(516,4,p,m)}function g0(p,m){return Qu(4,2,p,m)}function nc(p,m){return"function"==typeof m?(p=p(),m(p),function(){m(null)}):null!=m?(p=p(),m.current=p,function(){m.current=null}):void 0}function Fp(p,m,w){return w=null!=w?w.concat([p]):null,Qu(4,2,nc.bind(null,m,p),w)}function Mp(){}function ou(p,m){return iu().memoizedState=[p,void 0===m?null:m],p}function Ju(p,m){var w=au();m=void 0===m?null:m;var q=w.memoizedState;return null!==q&&null!==m&&Rp(m,q[1])?q[0]:(w.memoizedState=[p,m],p)}function v0(p,m){var w=au();m=void 0===m?null:m;var q=w.memoizedState;return null!==q&&null!==m&&Rp(m,q[1])?q[0]:(p=p(),w.memoizedState=[p,m],p)}function y0(p,m,w){var q=si();An(98>q?98:q,function(){p(!0)}),An(97<q?97:q,function(){var re=ji.suspense;ji.suspense=void 0===m?null:m;try{p(!1),w()}finally{ji.suspense=re}})}function w2(p,m,w){var q=Ra(),re=zu.suspense;re={expirationTime:q=du(q,p,re),suspenseConfig:re,action:w,eagerReducer:null,eagerState:null,next:null};var ye=m.pending;if(null===ye?re.next=re:(re.next=ye.next,ye.next=re),m.pending=re,ye=p.alternate,p===ui||null!==ye&&ye===ui)Yl=!0,re.expirationTime=no,ui.expirationTime=no;else{if(0===p.expirationTime&&(null===ye||0===ye.expirationTime)&&null!==(ye=m.lastRenderedReducer))try{var ke=m.lastRenderedState,Ue=ye(ke,w);if(re.eagerReducer=ye,re.eagerState=Ue,Ws(Ue,ke))return}catch{}zo(p,q)}}var Np={readContext:Aa,useCallback:Xi,useContext:Xi,useEffect:Xi,useImperativeHandle:Xi,useLayoutEffect:Xi,useMemo:Xi,useReducer:Xi,useRef:Xi,useState:Xi,useDebugValue:Xi,useResponder:Xi,useDeferredValue:Xi,useTransition:Xi},ys={readContext:Aa,useCallback:ou,useContext:Aa,useEffect:Yu,useImperativeHandle:function(m,w,q){return q=null!=q?q.concat([m]):null,Op(4,2,nc.bind(null,w,m),q)},useLayoutEffect:function(m,w){return Op(4,2,m,w)},useMemo:function(m,w){var q=iu();return w=void 0===w?null:w,m=m(),q.memoizedState=[m,w],m},useReducer:function(m,w,q){var re=iu();return w=void 0!==q?q(w):w,re.memoizedState=re.baseState=w,m=(m=re.queue={pending:null,dispatch:null,lastRenderedReducer:m,lastRenderedState:w}).dispatch=w2.bind(null,ui,m),[re.memoizedState,m]},useRef:function(m){return iu().memoizedState={current:m}},useState:Tp,useDebugValue:Mp,useResponder:Ga,useDeferredValue:function(m,w){var q=Tp(m),re=q[0],ye=q[1];return Yu(function(){var ke=ji.suspense;ji.suspense=void 0===w?null:w;try{ye(m)}finally{ji.suspense=ke}},[m,w]),re},useTransition:function(m){var w=Tp(!1),q=w[0];return[ou(y0.bind(null,w=w[1],m),[w,m]),q]}},_0={readContext:Aa,useCallback:Ju,useContext:Aa,useEffect:tc,useImperativeHandle:Fp,useLayoutEffect:g0,useMemo:v0,useReducer:Jl,useRef:h0,useState:function(){return Jl(vs)},useDebugValue:Mp,useResponder:Ga,useDeferredValue:function(m,w){var q=Jl(vs),re=q[0],ye=q[1];return tc(function(){var ke=ji.suspense;ji.suspense=void 0===w?null:w;try{ye(m)}finally{ji.suspense=ke}},[m,w]),re},useTransition:function(m){var w=Jl(vs),q=w[0];return[Ju(y0.bind(null,w=w[1],m),[w,m]),q]}},el={readContext:Aa,useCallback:Ju,useContext:Aa,useEffect:tc,useImperativeHandle:Fp,useLayoutEffect:g0,useMemo:v0,useReducer:ec,useRef:h0,useState:function(){return ec(vs)},useDebugValue:Mp,useResponder:Ga,useDeferredValue:function(m,w){var q=ec(vs),re=q[0],ye=q[1];return tc(function(){var ke=ji.suspense;ji.suspense=void 0===w?null:w;try{ye(m)}finally{ji.suspense=ke}},[m,w]),re},useTransition:function(m){var w=ec(vs),q=w[0];return[Ju(y0.bind(null,w=w[1],m),[w,m]),q]}},ro=null,wo=null,io=!1;function tl(p,m){var w=Da(5,null,null,0);w.elementType="DELETED",w.type="DELETED",w.stateNode=m,w.return=p,w.effectTag=8,null!==p.lastEffect?(p.lastEffect.nextEffect=w,p.lastEffect=w):p.firstEffect=p.lastEffect=w}function ti(p,m){switch(p.tag){case 5:return null!==(m=1!==m.nodeType||p.type.toLowerCase()!==m.nodeName.toLowerCase()?null:m)&&(p.stateNode=m,!0);case 6:return null!==(m=""===p.pendingProps||3!==m.nodeType?null:m)&&(p.stateNode=m,!0);default:return!1}}function Vp(p){if(io){var m=wo;if(m){var w=m;if(!ti(p,m)){if(!(m=zs(w.nextSibling))||!ti(p,m))return p.effectTag=-1025&p.effectTag|2,io=!1,void(ro=p);tl(ro,w)}ro=p,wo=zs(m.firstChild)}else p.effectTag=-1025&p.effectTag|2,io=!1,ro=p}}function S2(p){for(p=p.return;null!==p&&5!==p.tag&&3!==p.tag&&13!==p.tag;)p=p.return;ro=p}function nl(p){if(p!==ro)return!1;if(!io)return S2(p),io=!0,!1;var m=p.type;if(5!==p.tag||"head"!==m&&"body"!==m&&!cp(m,p.memoizedProps))for(m=wo;m;)tl(p,m),m=zs(m.nextSibling);if(S2(p),13===p.tag){if(!(p=null!==(p=p.memoizedState)?p.dehydrated:null))throw Error(y(317));e:{for(p=p.nextSibling,m=0;p;){if(8===p.nodeType){var w=p.data;if(w===D_){if(0===m){wo=zs(p.nextSibling);break e}m--}else w!==R_&&w!==T_&&w!==sp||m++}p=p.nextSibling}wo=null}}else wo=ro?zs(p.stateNode.nextSibling):null;return!0}function yr(){wo=ro=null,io=!1}var Jn=ce.ReactCurrentOwner,ao=!1;function ha(p,m,w,q){m.child=null===p?Ap(m,null,w,q):vi(m,p.child,w,q)}function x0(p,m,w,q,re){w=w.render;var ye=m.ref;return tu(m,re),q=Dp(p,m,w,q,ye,re),null===p||ao?(m.effectTag|=1,ha(p,m,q,re),m.child):(m.updateQueue=p.updateQueue,m.effectTag&=-517,p.expirationTime<=re&&(p.expirationTime=0),So(p,m,re))}function b0(p,m,w,q,re,ye){if(null===p){var ke=w.type;return"function"!=typeof ke||fl(ke)||void 0!==ke.defaultProps||null!==w.compare||void 0!==w.defaultProps?((p=Ac(w.type,null,q,null,m.mode,ye)).ref=m.ref,p.return=m,m.child=p):(m.tag=15,m.type=ke,C0(p,m,ke,q,re,ye))}return ke=p.child,re<ye&&(w=null!==(w=w.compare)?w:ju)(re=ke.memoizedProps,q)&&p.ref===m.ref?So(p,m,ye):(m.effectTag|=1,(p=ws(ke,q)).ref=m.ref,p.return=m,m.child=p)}function C0(p,m,w,q,re,ye){return null!==p&&ju(p.memoizedProps,q)&&p.ref===m.ref&&(ao=!1,re<ye)?(m.expirationTime=p.expirationTime,So(p,m,ye)):Bp(p,m,w,q,ye)}function w0(p,m){var w=m.ref;(null===p&&null!==w||null!==p&&p.ref!==w)&&(m.effectTag|=128)}function Bp(p,m,w,q,re){var ye=Ki(w)?ms:oi.current;return ye=Ys(m,ye),tu(m,re),w=Dp(p,m,w,q,ye,re),null===p||ao?(m.effectTag|=1,ha(p,m,w,re),m.child):(m.updateQueue=p.updateQueue,m.effectTag&=-517,p.expirationTime<=re&&(p.expirationTime=0),So(p,m,re))}function S0(p,m,w,q,re){if(Ki(w)){var ye=!0;hs(m)}else ye=!1;if(tu(m,re),null===m.stateNode)null!==p&&(p.alternate=null,m.alternate=null,m.effectTag|=2),gs(m,w,q),Wl(m,w,q,re),q=!0;else if(null===p){var ke=m.stateNode,Ue=m.memoizedProps;ke.props=Ue;var xt=ke.context,Mt=w.contextType;Mt="object"==typeof Mt&&null!==Mt?Aa(Mt):Ys(m,Mt=Ki(w)?ms:oi.current);var Ht=w.getDerivedStateFromProps,yn="function"==typeof Ht||"function"==typeof ke.getSnapshotBeforeUpdate;yn||"function"!=typeof ke.UNSAFE_componentWillReceiveProps&&"function"!=typeof ke.componentWillReceiveProps||(Ue!==q||xt!==Mt)&&f0(m,ke,q,Mt),fn=!1;var bn=m.memoizedState;ke.state=bn,Kl(m,q,ke,re),xt=m.memoizedState,Ue!==q||bn!==xt||qi.current||fn?("function"==typeof Ht&&(Ep(m,w,Ht,q),xt=m.memoizedState),(Ue=fn||Pp(m,w,Ue,q,bn,xt,Mt))?(yn||"function"!=typeof ke.UNSAFE_componentWillMount&&"function"!=typeof ke.componentWillMount||("function"==typeof ke.componentWillMount&&ke.componentWillMount(),"function"==typeof ke.UNSAFE_componentWillMount&&ke.UNSAFE_componentWillMount()),"function"==typeof ke.componentDidMount&&(m.effectTag|=4)):("function"==typeof ke.componentDidMount&&(m.effectTag|=4),m.memoizedProps=q,m.memoizedState=xt),ke.props=q,ke.state=xt,ke.context=Mt,q=Ue):("function"==typeof ke.componentDidMount&&(m.effectTag|=4),q=!1)}else ke=m.stateNode,Ua(p,m),Ue=m.memoizedProps,ke.props=m.type===m.elementType?Ue:Li(m.type,Ue),xt=ke.context,Mt="object"==typeof(Mt=w.contextType)&&null!==Mt?Aa(Mt):Ys(m,Mt=Ki(w)?ms:oi.current),(yn="function"==typeof(Ht=w.getDerivedStateFromProps)||"function"==typeof ke.getSnapshotBeforeUpdate)||"function"!=typeof ke.UNSAFE_componentWillReceiveProps&&"function"!=typeof ke.componentWillReceiveProps||(Ue!==q||xt!==Mt)&&f0(m,ke,q,Mt),fn=!1,ke.state=xt=m.memoizedState,Kl(m,q,ke,re),bn=m.memoizedState,Ue!==q||xt!==bn||qi.current||fn?("function"==typeof Ht&&(Ep(m,w,Ht,q),bn=m.memoizedState),(Ht=fn||Pp(m,w,Ue,q,xt,bn,Mt))?(yn||"function"!=typeof ke.UNSAFE_componentWillUpdate&&"function"!=typeof ke.componentWillUpdate||("function"==typeof ke.componentWillUpdate&&ke.componentWillUpdate(q,bn,Mt),"function"==typeof ke.UNSAFE_componentWillUpdate&&ke.UNSAFE_componentWillUpdate(q,bn,Mt)),"function"==typeof ke.componentDidUpdate&&(m.effectTag|=4),"function"==typeof ke.getSnapshotBeforeUpdate&&(m.effectTag|=256)):("function"!=typeof ke.componentDidUpdate||Ue===p.memoizedProps&&xt===p.memoizedState||(m.effectTag|=4),"function"!=typeof ke.getSnapshotBeforeUpdate||Ue===p.memoizedProps&&xt===p.memoizedState||(m.effectTag|=256),m.memoizedProps=q,m.memoizedState=bn),ke.props=q,ke.state=bn,ke.context=Mt,q=Ht):("function"!=typeof ke.componentDidUpdate||Ue===p.memoizedProps&&xt===p.memoizedState||(m.effectTag|=4),"function"!=typeof ke.getSnapshotBeforeUpdate||Ue===p.memoizedProps&&xt===p.memoizedState||(m.effectTag|=256),q=!1);return rl(p,m,w,q,ye,re)}function rl(p,m,w,q,re,ye){w0(p,m);var ke=0!=(64&m.effectTag);if(!q&&!ke)return re&&qe(m,w,!1),So(p,m,ye);q=m.stateNode,Jn.current=m;var Ue=ke&&"function"!=typeof w.getDerivedStateFromError?null:q.render();return m.effectTag|=1,null!==p&&ke?(m.child=vi(m,p.child,null,ye),m.child=vi(m,null,Ue,ye)):ha(p,m,Ue,ye),m.memoizedState=q.state,re&&qe(m,w,!0),m.child}function mt(p){var m=p.stateNode;m.pendingContext?n0(0,m.pendingContext,m.pendingContext!==m.context):m.context&&n0(0,m.context,!1),Wu(p,m.containerInfo)}var xs,su,Zp,uu,il={dehydrated:null,retryTime:0};function rc(p,m,w){var Ue,q=m.mode,re=m.pendingProps,ye=zr.current,ke=!1;if((Ue=0!=(64&m.effectTag))||(Ue=0!=(2&ye)&&(null===p||null!==p.memoizedState)),Ue?(ke=!0,m.effectTag&=-65):null!==p&&null===p.memoizedState||void 0===re.fallback||!0===re.unstable_avoidThisFallback||(ye|=1),qr(zr,1&ye),null===p){if(void 0!==re.fallback&&Vp(m),ke){if(ke=re.fallback,(re=Ho(null,q,0,null)).return=m,!(2&m.mode))for(re.child=p=null!==m.memoizedState?m.child.child:m.child;null!==p;)p.return=re,p=p.sibling;return(w=Ho(ke,q,w,null)).return=m,re.sibling=w,m.memoizedState=il,m.child=re,w}return q=re.children,m.memoizedState=null,m.child=Ap(m,null,q,w)}if(null!==p.memoizedState){if(q=(p=p.child).sibling,ke){if(re=re.fallback,(w=ws(p,p.pendingProps)).return=m,!(2&m.mode)&&(ke=null!==m.memoizedState?m.child.child:m.child)!==p.child)for(w.child=ke;null!==ke;)ke.return=w,ke=ke.sibling;return(q=ws(q,re)).return=m,w.sibling=q,w.childExpirationTime=0,m.memoizedState=il,m.child=w,q}return w=vi(m,p.child,re.children,w),m.memoizedState=null,m.child=w}if(p=p.child,ke){if(ke=re.fallback,(re=Ho(null,q,0,null)).return=m,re.child=p,null!==p&&(p.return=re),!(2&m.mode))for(re.child=p=null!==m.memoizedState?m.child.child:m.child;null!==p;)p.return=re,p=p.sibling;return(w=Ho(ke,q,w,null)).return=m,re.sibling=w,w.effectTag|=2,re.childExpirationTime=0,m.memoizedState=il,m.child=re,w}return m.memoizedState=null,m.child=vi(m,p,re.children,w)}function E0(p,m){p.expirationTime<m&&(p.expirationTime=m);var w=p.alternate;null!==w&&w.expirationTime<m&&(w.expirationTime=m),l0(p.return,m)}function ic(p,m,w,q,re,ye){var ke=p.memoizedState;null===ke?p.memoizedState={isBackwards:m,rendering:null,renderingStartTime:0,last:q,tail:w,tailExpiration:0,tailMode:re,lastEffect:ye}:(ke.isBackwards=m,ke.rendering=null,ke.renderingStartTime=0,ke.last=q,ke.tail=w,ke.tailExpiration=0,ke.tailMode=re,ke.lastEffect=ye)}function _s(p,m,w){var q=m.pendingProps,re=q.revealOrder,ye=q.tail;if(ha(p,m,q.children,w),2&(q=zr.current))q=1&q|2,m.effectTag|=64;else{if(null!==p&&64&p.effectTag)e:for(p=m.child;null!==p;){if(13===p.tag)null!==p.memoizedState&&E0(p,w);else if(19===p.tag)E0(p,w);else if(null!==p.child){p.child.return=p,p=p.child;continue}if(p===m)break e;for(;null===p.sibling;){if(null===p.return||p.return===m)break e;p=p.return}p.sibling.return=p.return,p=p.sibling}q&=1}if(qr(zr,q),2&m.mode)switch(re){case"forwards":for(w=m.child,re=null;null!==w;)null!==(p=w.alternate)&&null===to(p)&&(re=w),w=w.sibling;null===(w=re)?(re=m.child,m.child=null):(re=w.sibling,w.sibling=null),ic(m,!1,re,w,ye,m.lastEffect);break;case"backwards":for(w=null,re=m.child,m.child=null;null!==re;){if(null!==(p=re.alternate)&&null===to(p)){m.child=re;break}p=re.sibling,re.sibling=w,w=re,re=p}ic(m,!0,w,null,ye,m.lastEffect);break;case"together":ic(m,!1,null,null,void 0,m.lastEffect);break;default:m.memoizedState=null}else m.memoizedState=null;return m.child}function So(p,m,w){null!==p&&(m.dependencies=p.dependencies);var q=m.expirationTime;if(0!==q&&dl(q),m.childExpirationTime<w)return null;if(null!==p&&m.child!==p.child)throw Error(y(153));if(null!==m.child){for(w=ws(p=m.child,p.pendingProps),m.child=w,w.return=m;null!==p.sibling;)(w=w.sibling=ws(p=p.sibling,p.pendingProps)).return=m;w.sibling=null}return m.child}function Lp(p,m){switch(p.tailMode){case"hidden":m=p.tail;for(var w=null;null!==m;)null!==m.alternate&&(w=m),m=m.sibling;null===w?p.tail=null:w.sibling=null;break;case"collapsed":w=p.tail;for(var q=null;null!==w;)null!==w.alternate&&(q=w),w=w.sibling;null===q?m||null===p.tail?p.tail=null:p.tail.sibling=null:q.sibling=null}}function P0(p,m,w){var q=m.pendingProps;switch(m.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return Ki(m.type)&&Ul(),null;case 3:return ru(),Ur(qi),Ur(oi),(w=m.stateNode).pendingContext&&(w.context=w.pendingContext,w.pendingContext=null),null!==p&&null!==p.child||!nl(m)||(m.effectTag|=4),su(m),null;case 5:kp(m),w=Co(Ku.current);var re=m.type;if(null!==p&&null!=m.stateNode)Zp(p,m,re,q,w),p.ref!==m.ref&&(m.effectTag|=128);else{if(!q){if(null===m.stateNode)throw Error(y(166));return null}if(p=Co(za.current),nl(m)){re=m.type;var ye=m.memoizedProps;switch((q=m.stateNode)[No]=m,q[fp]=ye,re){case"iframe":case"object":case"embed":tr("load",q);break;case"video":case"audio":for(p=0;p<Fo.length;p++)tr(Fo[p],q);break;case"source":tr("error",q);break;case"img":case"image":case"link":tr("error",q),tr("load",q);break;case"form":tr("reset",q),tr("submit",q);break;case"details":tr("toggle",q);break;case"input":Xr(q,ye),tr("invalid",q),vo(w,"onChange");break;case"select":q._wrapperState={wasMultiple:!!ye.multiple},tr("invalid",q),vo(w,"onChange");break;case"textarea":Ca(q,ye),tr("invalid",q),vo(w,"onChange")}for(var ke in Tu(re,ye),p=null,ye)if(ye.hasOwnProperty(ke)){var Ue=ye[ke];"children"===ke?"string"==typeof Ue?q.textContent!==Ue&&(p=["children",Ue]):"number"==typeof Ue&&q.textContent!==""+Ue&&(p=["children",""+Ue]):he.hasOwnProperty(ke)&&null!=Ue&&vo(w,ke)}switch(re){case"input":kr(q),Ba(q,ye,!0);break;case"textarea":kr(q),Ti(q);break;case"select":case"option":break;default:"function"==typeof ye.onClick&&(q.onclick=ap)}m.updateQueue=w=p,null!==w&&(m.effectTag|=4)}else{switch(ke=9===w.nodeType?w:w.ownerDocument,p===Ou&&(p=Qr(re)),p===Ou?"script"===re?((p=ke.createElement("div")).innerHTML="<script><\/script>",p=p.removeChild(p.firstChild)):"string"==typeof q.is?p=ke.createElement(re,{is:q.is}):(p=ke.createElement(re),"select"===re&&(ke=p,q.multiple?ke.multiple=!0:q.size&&(ke.size=q.size))):p=ke.createElementNS(p,re),p[No]=m,p[fp]=q,xs(p,m,!1,!1),m.stateNode=p,ke=Iu(re,q),re){case"iframe":case"object":case"embed":tr("load",p),Ue=q;break;case"video":case"audio":for(Ue=0;Ue<Fo.length;Ue++)tr(Fo[Ue],p);Ue=q;break;case"source":tr("error",p),Ue=q;break;case"img":case"image":case"link":tr("error",p),tr("load",p),Ue=q;break;case"form":tr("reset",p),tr("submit",p),Ue=q;break;case"details":tr("toggle",p),Ue=q;break;case"input":Xr(p,q),Ue=Vi(p,q),tr("invalid",p),vo(w,"onChange");break;case"option":Ue=Gi(p,q);break;case"select":p._wrapperState={wasMultiple:!!q.multiple},Ue=B({},q,{value:void 0}),tr("invalid",p),vo(w,"onChange");break;case"textarea":Ca(p,q),Ue=Hi(p,q),tr("invalid",p),vo(w,"onChange");break;default:Ue=q}Tu(re,Ue);var xt=Ue;for(ye in xt)if(xt.hasOwnProperty(ye)){var Mt=xt[ye];"style"===ye?eo(p,Mt):"dangerouslySetInnerHTML"===ye?null!=(Mt=Mt?Mt.__html:void 0)&&wa(p,Mt):"children"===ye?"string"==typeof Mt?("textarea"!==re||""!==Mt)&&di(p,Mt):"number"==typeof Mt&&di(p,""+Mt):"suppressContentEditableWarning"!==ye&&"suppressHydrationWarning"!==ye&&"autoFocus"!==ye&&(he.hasOwnProperty(ye)?null!=Mt&&vo(w,ye):null!=Mt&&le(p,ye,Mt,ke))}switch(re){case"input":kr(p),Ba(p,q,!1);break;case"textarea":kr(p),Ti(p);break;case"option":null!=q.value&&p.setAttribute("value",""+Fr(q.value));break;case"select":p.multiple=!!q.multiple,null!=(w=q.value)?Ri(p,!!q.multiple,w,!1):null!=q.defaultValue&&Ri(p,!!q.multiple,q.defaultValue,!0);break;default:"function"==typeof Ue.onClick&&(p.onclick=ap)}I_(re,q)&&(m.effectTag|=4)}null!==m.ref&&(m.effectTag|=128)}return null;case 6:if(p&&null!=m.stateNode)uu(p,m,p.memoizedProps,q);else{if("string"!=typeof q&&null===m.stateNode)throw Error(y(166));w=Co(Ku.current),Co(za.current),nl(m)?(q=m.memoizedProps,(w=m.stateNode)[No]=m,w.nodeValue!==q&&(m.effectTag|=4)):((w=(9===w.nodeType?w:w.ownerDocument).createTextNode(q))[No]=m,m.stateNode=w)}return null;case 13:return Ur(zr),q=m.memoizedState,64&m.effectTag?(m.expirationTime=w,m):(w=null!==q,q=!1,null===p?void 0!==m.memoizedProps.fallback&&nl(m):(q=null!==(re=p.memoizedState),w||null===re||null!==(re=p.child.sibling)&&(null!==(ye=m.firstEffect)?(m.firstEffect=re,re.nextEffect=ye):(m.firstEffect=m.lastEffect=re,re.nextEffect=null),re.effectTag=8)),w&&!q&&2&m.mode&&(null===p&&!0!==m.memoizedProps.unstable_avoidThisFallback||1&zr.current?yi===jo&&(yi=bs):((yi===jo||yi===bs)&&(yi=pc),0!==cu&&null!==Yi&&(Ss(Yi,$i),pn(Yi,cu)))),(w||q)&&(m.effectTag|=4),null);case 4:return ru(),su(m),null;case 10:return eu(m),null;case 19:if(Ur(zr),null===(q=m.memoizedState))return null;if(re=0!=(64&m.effectTag),null===(ye=q.rendering)){if(re)Lp(q,!1);else if(yi!==jo||null!==p&&64&p.effectTag)for(ye=m.child;null!==ye;){if(null!==(p=to(ye))){for(m.effectTag|=64,Lp(q,!1),null!==(re=p.updateQueue)&&(m.updateQueue=re,m.effectTag|=4),null===q.lastEffect&&(m.firstEffect=null),m.lastEffect=q.lastEffect,q=m.child;null!==q;)ye=w,(re=q).effectTag&=2,re.nextEffect=null,re.firstEffect=null,re.lastEffect=null,null===(p=re.alternate)?(re.childExpirationTime=0,re.expirationTime=ye,re.child=null,re.memoizedProps=null,re.memoizedState=null,re.updateQueue=null,re.dependencies=null):(re.childExpirationTime=p.childExpirationTime,re.expirationTime=p.expirationTime,re.child=p.child,re.memoizedProps=p.memoizedProps,re.memoizedState=p.memoizedState,re.updateQueue=p.updateQueue,re.dependencies=null===(ye=p.dependencies)?null:{expirationTime:ye.expirationTime,firstContext:ye.firstContext,responders:ye.responders}),q=q.sibling;return qr(zr,1&zr.current|2),m.child}ye=ye.sibling}}else{if(!re)if(null!==(p=to(ye))){if(m.effectTag|=64,re=!0,null!==(w=p.updateQueue)&&(m.updateQueue=w,m.effectTag|=4),Lp(q,!0),null===q.tail&&"hidden"===q.tailMode&&!ye.alternate)return null!==(m=m.lastEffect=q.lastEffect)&&(m.nextEffect=null),null}else 2*Wi()-q.renderingStartTime>q.tailExpiration&&1<w&&(m.effectTag|=64,re=!0,Lp(q,!1),m.expirationTime=m.childExpirationTime=w-1);q.isBackwards?(ye.sibling=m.child,m.child=ye):(null!==(w=q.last)?w.sibling=ye:m.child=ye,q.last=ye)}return null!==q.tail?(0===q.tailExpiration&&(q.tailExpiration=Wi()+500),q.rendering=w=q.tail,q.tail=w.sibling,q.lastEffect=m.lastEffect,q.renderingStartTime=Wi(),w.sibling=null,m=zr.current,qr(zr,re?1&m|2:1&m),w):null}throw Error(y(156,m.tag))}function A0(p){switch(p.tag){case 1:Ki(p.type)&&Ul();var m=p.effectTag;return 4096&m?(p.effectTag=-4097&m|64,p):null;case 3:if(ru(),Ur(qi),Ur(oi),64&(m=p.effectTag))throw Error(y(285));return p.effectTag=-4097&m|64,p;case 5:return kp(p),null;case 13:return Ur(zr),4096&(m=p.effectTag)?(p.effectTag=-4097&m|64,p):null;case 19:return Ur(zr),null;case 4:return ru(),null;case 10:return eu(p),null;default:return null}}function ac(p,m){return{value:p,source:m,stack:cn(m)}}xs=function(m,w){for(var q=w.child;null!==q;){if(5===q.tag||6===q.tag)m.appendChild(q.stateNode);else if(4!==q.tag&&null!==q.child){q.child.return=q,q=q.child;continue}if(q===w)break;for(;null===q.sibling;){if(null===q.return||q.return===w)return;q=q.return}q.sibling.return=q.return,q=q.sibling}},su=function(){},Zp=function(m,w,q,re,ye){var ke=m.memoizedProps;if(ke!==re){var xt,Mt,Ue=w.stateNode;switch(Co(za.current),m=null,q){case"input":ke=Vi(Ue,ke),re=Vi(Ue,re),m=[];break;case"option":ke=Gi(Ue,ke),re=Gi(Ue,re),m=[];break;case"select":ke=B({},ke,{value:void 0}),re=B({},re,{value:void 0}),m=[];break;case"textarea":ke=Hi(Ue,ke),re=Hi(Ue,re),m=[];break;default:"function"!=typeof ke.onClick&&"function"==typeof re.onClick&&(Ue.onclick=ap)}for(xt in Tu(q,re),q=null,ke)if(!re.hasOwnProperty(xt)&&ke.hasOwnProperty(xt)&&null!=ke[xt])if("style"===xt)for(Mt in Ue=ke[xt])Ue.hasOwnProperty(Mt)&&(q||(q={}),q[Mt]="");else"dangerouslySetInnerHTML"!==xt&&"children"!==xt&&"suppressContentEditableWarning"!==xt&&"suppressHydrationWarning"!==xt&&"autoFocus"!==xt&&(he.hasOwnProperty(xt)?m||(m=[]):(m=m||[]).push(xt,null));for(xt in re){var Ht=re[xt];if(Ue=ke?.[xt],re.hasOwnProperty(xt)&&Ht!==Ue&&(null!=Ht||null!=Ue))if("style"===xt)if(Ue){for(Mt in Ue)!Ue.hasOwnProperty(Mt)||Ht&&Ht.hasOwnProperty(Mt)||(q||(q={}),q[Mt]="");for(Mt in Ht)Ht.hasOwnProperty(Mt)&&Ue[Mt]!==Ht[Mt]&&(q||(q={}),q[Mt]=Ht[Mt])}else q||(m||(m=[]),m.push(xt,q)),q=Ht;else"dangerouslySetInnerHTML"===xt?(Ue=Ue?Ue.__html:void 0,null!=(Ht=Ht?Ht.__html:void 0)&&Ue!==Ht&&(m=m||[]).push(xt,Ht)):"children"===xt?Ue===Ht||"string"!=typeof Ht&&"number"!=typeof Ht||(m=m||[]).push(xt,""+Ht):"suppressContentEditableWarning"!==xt&&"suppressHydrationWarning"!==xt&&(he.hasOwnProperty(xt)?(null!=Ht&&vo(ye,xt),m||Ue===Ht||(m=[])):(m=m||[]).push(xt,Ht))}q&&(m=m||[]).push("style",q),(w.updateQueue=ye=m)&&(w.effectTag|=4)}},uu=function(m,w,q,re){q!==re&&(w.effectTag|=4)};var E2="function"==typeof WeakSet?WeakSet:Set;function oc(p,m){var w=m.source,q=m.stack;null===q&&null!==w&&(q=cn(w)),null!==w&&Cn(w.type),m=m.value,null!==p&&1===p.tag&&Cn(p.type);try{console.error(m)}catch(re){setTimeout(function(){throw re})}}function jp(p){var m=p.ref;if(null!==m)if("function"==typeof m)try{m(null)}catch(w){fu(p,w)}else m.current=null}function Qi(p,m){switch(m.tag){case 0:case 11:case 15:case 22:case 3:case 5:case 6:case 4:case 17:return;case 1:if(256&m.effectTag&&null!==p){var w=p.memoizedProps,q=p.memoizedState;m=(p=m.stateNode).getSnapshotBeforeUpdate(m.elementType===m.type?w:Li(m.type,w),q),p.__reactInternalSnapshotBeforeUpdate=m}return}throw Error(y(163))}function $p(p,m){if(null!==(m=null!==(m=m.updateQueue)?m.lastEffect:null)){var w=m=m.next;do{if((w.tag&p)===p){var q=w.destroy;w.destroy=void 0,void 0!==q&&q()}w=w.next}while(w!==m)}}function Up(p,m){if(null!==(m=null!==(m=m.updateQueue)?m.lastEffect:null)){var w=m=m.next;do{(w.tag&p)===p&&(w.destroy=(0,w.create)()),w=w.next}while(w!==m)}}function al(p,m,w){switch(w.tag){case 0:case 11:case 15:case 22:return void Up(3,w);case 1:if(p=w.stateNode,4&w.effectTag)if(null===m)p.componentDidMount();else{var q=w.elementType===w.type?m.memoizedProps:Li(w.type,m.memoizedProps);p.componentDidUpdate(q,m.memoizedState,p.__reactInternalSnapshotBeforeUpdate)}return void(null!==(m=w.updateQueue)&&d0(w,m,p));case 3:if(null!==(m=w.updateQueue)){if(p=null,null!==w.child)switch(w.child.tag){case 5:case 1:p=w.child.stateNode}d0(w,m,p)}return;case 5:return p=w.stateNode,void(null===m&&4&w.effectTag&&I_(w.type,w.memoizedProps)&&p.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:return;case 13:return void(null===w.memoizedState&&(w=w.alternate,null!==w&&(w=w.memoizedState,null!==w&&(w=w.dehydrated,null!==w&&Jt(w)))))}throw Error(y(163))}function zp(p,m,w){switch("function"==typeof tf&&tf(m),m.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(p=m.updateQueue)&&null!==(p=p.lastEffect)){var q=p.next;An(97<w?97:w,function(){var re=q;do{var ye=re.destroy;if(void 0!==ye){var ke=m;try{ye()}catch(Ue){fu(ke,Ue)}}re=re.next}while(re!==q)})}break;case 1:jp(m),"function"==typeof(w=m.stateNode).componentWillUnmount&&function P2(p,m){try{m.props=p.memoizedProps,m.state=p.memoizedState,m.componentWillUnmount()}catch(w){fu(p,w)}}(m,w);break;case 5:jp(m);break;case 4:R0(p,m,w)}}function k0(p){var m=p.alternate;p.return=null,p.child=null,p.memoizedState=null,p.updateQueue=null,p.dependencies=null,p.alternate=null,p.firstEffect=null,p.lastEffect=null,p.pendingProps=null,p.memoizedProps=null,p.stateNode=null,null!==m&&k0(m)}function Gp(p){return 5===p.tag||3===p.tag||4===p.tag}function sc(p){e:{for(var m=p.return;null!==m;){if(Gp(m)){var w=m;break e}m=m.return}throw Error(y(160))}switch(m=w.stateNode,w.tag){case 5:var q=!1;break;case 3:case 4:m=m.containerInfo,q=!0;break;default:throw Error(y(161))}16&w.effectTag&&(di(m,""),w.effectTag&=-17);e:t:for(w=p;;){for(;null===w.sibling;){if(null===w.return||Gp(w.return)){w=null;break e}w=w.return}for(w.sibling.return=w.return,w=w.sibling;5!==w.tag&&6!==w.tag&&18!==w.tag;){if(2&w.effectTag||null===w.child||4===w.tag)continue t;w.child.return=w,w=w.child}if(!(2&w.effectTag)){w=w.stateNode;break e}}q?ol(p,w,m):Hp(p,w,m)}function ol(p,m,w){var q=p.tag,re=5===q||6===q;if(re)p=re?p.stateNode:p.stateNode.instance,m?8===w.nodeType?w.parentNode.insertBefore(p,m):w.insertBefore(p,m):(8===w.nodeType?(m=w.parentNode).insertBefore(p,w):(m=w).appendChild(p),null!=(w=w._reactRootContainer)||null!==m.onclick||(m.onclick=ap));else if(4!==q&&null!==(p=p.child))for(ol(p,m,w),p=p.sibling;null!==p;)ol(p,m,w),p=p.sibling}function Hp(p,m,w){var q=p.tag,re=5===q||6===q;if(re)p=re?p.stateNode:p.stateNode.instance,m?w.insertBefore(p,m):w.appendChild(p);else if(4!==q&&null!==(p=p.child))for(Hp(p,m,w),p=p.sibling;null!==p;)Hp(p,m,w),p=p.sibling}function R0(p,m,w){for(var ye,ke,q=m,re=!1;;){if(!re){re=q.return;e:for(;;){if(null===re)throw Error(y(160));switch(ye=re.stateNode,re.tag){case 5:ke=!1;break e;case 3:case 4:ye=ye.containerInfo,ke=!0;break e}re=re.return}re=!0}if(5===q.tag||6===q.tag){e:for(var Ue=p,xt=q,Mt=w,Ht=xt;;)if(zp(Ue,Ht,Mt),null!==Ht.child&&4!==Ht.tag)Ht.child.return=Ht,Ht=Ht.child;else{if(Ht===xt)break e;for(;null===Ht.sibling;){if(null===Ht.return||Ht.return===xt)break e;Ht=Ht.return}Ht.sibling.return=Ht.return,Ht=Ht.sibling}ke?(xt=q.stateNode,8===(Ue=ye).nodeType?Ue.parentNode.removeChild(xt):Ue.removeChild(xt)):ye.removeChild(q.stateNode)}else if(4===q.tag){if(null!==q.child){ye=q.stateNode.containerInfo,ke=!0,q.child.return=q,q=q.child;continue}}else if(zp(p,q,w),null!==q.child){q.child.return=q,q=q.child;continue}if(q===m)break;for(;null===q.sibling;){if(null===q.return||q.return===m)return;4===(q=q.return).tag&&(re=!1)}q.sibling.return=q.return,q=q.sibling}}function lu(p,m){switch(m.tag){case 0:case 11:case 14:case 15:case 22:return void $p(3,m);case 1:case 12:case 17:return;case 5:var w=m.stateNode;if(null!=w){var q=m.memoizedProps,re=null!==p?p.memoizedProps:q;p=m.type;var ye=m.updateQueue;if(m.updateQueue=null,null!==ye){for(w[fp]=q,"input"===p&&"radio"===q.type&&null!=q.name&&Lr(w,q),Iu(p,re),m=Iu(p,q),re=0;re<ye.length;re+=2){var ke=ye[re],Ue=ye[re+1];"style"===ke?eo(w,Ue):"dangerouslySetInnerHTML"===ke?wa(w,Ue):"children"===ke?di(w,Ue):le(w,ke,Ue,m)}switch(p){case"input":ci(w,q);break;case"textarea":Di(w,q);break;case"select":m=w._wrapperState.wasMultiple,w._wrapperState.wasMultiple=!!q.multiple,null!=(p=q.value)?Ri(w,!!q.multiple,p,!1):m!==!!q.multiple&&(null!=q.defaultValue?Ri(w,!!q.multiple,q.defaultValue,!0):Ri(w,!!q.multiple,q.multiple?[]:"",!1))}}}return;case 6:if(null===m.stateNode)throw Error(y(162));return void(m.stateNode.nodeValue=m.memoizedProps);case 3:return void((m=m.stateNode).hydrate&&(m.hydrate=!1,Jt(m.containerInfo)));case 13:if(w=m,null===m.memoizedState?q=!1:(q=!0,w=m.child,hc=Wi()),null!==w)e:for(p=w;;){if(5===p.tag)ye=p.stateNode,q?"function"==typeof(ye=ye.style).setProperty?ye.setProperty("display","none","important"):ye.display="none":(ye=p.stateNode,re=null!=(re=p.memoizedProps.style)&&re.hasOwnProperty("display")?re.display:null,ye.style.display=Us("display",re));else if(6===p.tag)p.stateNode.nodeValue=q?"":p.memoizedProps;else{if(13===p.tag&&null!==p.memoizedState&&null===p.memoizedState.dehydrated){(ye=p.child.sibling).return=p,p=ye;continue}if(null!==p.child){p.child.return=p,p=p.child;continue}}if(p===w)break;for(;null===p.sibling;){if(null===p.return||p.return===w)break e;p=p.return}p.sibling.return=p.return,p=p.sibling}return void uc(m);case 19:return void uc(m)}throw Error(y(163))}function uc(p){var m=p.updateQueue;if(null!==m){p.updateQueue=null;var w=p.stateNode;null===w&&(w=p.stateNode=new E2),m.forEach(function(q){var re=Pc.bind(null,p,q);w.has(q)||(w.add(q),q.then(re,re))})}}var D0="function"==typeof WeakMap?WeakMap:Map;function qp(p,m,w){(w=bo(w,null)).tag=3,w.payload={element:null};var q=m.value;return w.callback=function(){gc||(gc=!0,vc=q),oc(p,m)},w}function T0(p,m,w){(w=bo(w,null)).tag=3;var q=p.type.getDerivedStateFromError;if("function"==typeof q){var re=m.value;w.payload=function(){return oc(p,m),q(re)}}var ye=p.stateNode;return null!==ye&&"function"==typeof ye.componentDidCatch&&(w.callback=function(){"function"!=typeof q&&(null===$o?$o=new Set([this]):$o.add(this),oc(p,m));var ke=m.stack;this.componentDidCatch(m.value,{componentStack:null!==ke?ke:""})}),w}var M0,lc=Math.ceil,cc=ce.ReactCurrentDispatcher,Kp=ce.ReactCurrentOwner,li=0,dc=8,ka=16,oo=32,jo=0,Wp=1,I0=2,bs=3,pc=4,fc=5,On=li,Yi=null,Gn=null,$i=0,yi=jo,Dr=null,er=1073741823,sl=1073741823,mc=null,cu=0,ul=!1,hc=0,Xp=500,xn=null,gc=!1,vc=null,$o=null,Qp=!1,yc=null,_c=90,Uo=null,ll=0,xc=null,bc=0;function Ra(){return(On&(ka|oo))!==li?1073741821-(Wi()/10|0):0!==bc?bc:bc=1073741821-(Wi()/10|0)}function du(p,m,w){if(!(2&(m=m.mode)))return 1073741823;var q=si();if(!(4&m))return 99===q?1073741823:1073741822;if((On&ka)!==li)return $i;if(null!==w)p=Le(p,0|w.timeoutMs||5e3,250);else switch(q){case 99:p=1073741823;break;case 98:p=Le(p,150,100);break;case 97:case 96:p=Le(p,5e3,250);break;case 95:p=2;break;default:throw Error(y(326))}return null!==Yi&&p===$i&&--p,p}function zo(p,m){if(50<ll)throw ll=0,xc=null,Error(y(185));if(null!==(p=Yp(p,m))){var w=si();1073741823===m?(On&dc)!==li&&(On&(ka|oo))===li?cl(p):(ga(p),On===li&&Zi()):ga(p),(4&On)===li||98!==w&&99!==w||(null===Uo?Uo=new Map([[p,m]]):(void 0===(w=Uo.get(p))||w>m)&&Uo.set(p,m))}}function Yp(p,m){p.expirationTime<m&&(p.expirationTime=m);var w=p.alternate;null!==w&&w.expirationTime<m&&(w.expirationTime=m);var q=p.return,re=null;if(null===q&&3===p.tag)re=p.stateNode;else for(;null!==q;){if(w=q.alternate,q.childExpirationTime<m&&(q.childExpirationTime=m),null!==w&&w.childExpirationTime<m&&(w.childExpirationTime=m),null===q.return&&3===q.tag){re=q.stateNode;break}q=q.return}return null!==re&&(Yi===re&&(dl(m),yi===pc&&Ss(re,$i)),pn(re,m)),re}function Cc(p){var m=p.lastExpiredTime;if(0!==m||!N0(p,m=p.firstPendingTime))return m;var w=p.lastPingedTime;return 2>=(p=w>(p=p.nextKnownPendingLevel)?w:p)&&m!==p?0:p}function ga(p){if(0!==p.lastExpiredTime)p.callbackExpirationTime=1073741823,p.callbackPriority=99,p.callbackNode=Pa(cl.bind(null,p));else{var m=Cc(p),w=p.callbackNode;if(0===m)null!==w&&(p.callbackNode=null,p.callbackExpirationTime=0,p.callbackPriority=90);else{var q=Ra();if(q=1073741823===m?99:1===m||2===m?95:0>=(q=10*(1073741821-m)-10*(1073741821-q))?99:250>=q?98:5250>=q?97:95,null!==w){if(p.callbackExpirationTime===m&&p.callbackPriority>=q)return;w!==Gl&&Bt(w)}p.callbackExpirationTime=m,p.callbackPriority=q,m=1073741823===m?Pa(cl.bind(null,p)):Bo(q,Ui.bind(null,p),{timeout:10*(1073741821-m)-Wi()}),p.callbackNode=m}}}function Ui(p,m){if(bc=0,m)return $n(p,m=Ra()),ga(p),null;var w=Cc(p);if(0!==w){if(m=p.callbackNode,(On&(ka|oo))!==li)throw Error(y(327));if(so(),p===Yi&&w===$i||Cs(p,w),null!==Gn){var q=On;On|=ka;for(var re=Ec();;)try{A2();break}catch(Ue){pu(p,Ue)}if(Sp(),On=q,cc.current=re,yi===Wp)throw m=Dr,Cs(p,w),Ss(p,w),ga(p),m;if(null===Gn)switch(re=p.finishedWork=p.current.alternate,p.finishedExpirationTime=w,q=yi,Yi=null,q){case jo:case Wp:throw Error(y(345));case I0:$n(p,2<w?2:w);break;case bs:if(Ss(p,w),w===(q=p.lastSuspendedTime)&&(p.nextKnownPendingLevel=F0(re)),1073741823===er&&10<(re=hc+Xp-Wi())){if(ul){var ye=p.lastPingedTime;if(0===ye||ye>=w){p.lastPingedTime=w,Cs(p,w);break}}if(0!==(ye=Cc(p))&&ye!==w)break;if(0!==q&&q!==w){p.lastPingedTime=q;break}p.timeoutHandle=dp(_i.bind(null,p),re);break}_i(p);break;case pc:if(Ss(p,w),w===(q=p.lastSuspendedTime)&&(p.nextKnownPendingLevel=F0(re)),ul&&(0===(re=p.lastPingedTime)||re>=w)){p.lastPingedTime=w,Cs(p,w);break}if(0!==(re=Cc(p))&&re!==w)break;if(0!==q&&q!==w){p.lastPingedTime=q;break}if(1073741823!==sl?q=10*(1073741821-sl)-Wi():1073741823===er?q=0:(q=10*(1073741821-er)-5e3,0>(q=(re=Wi())-q)&&(q=0),(w=10*(1073741821-w)-re)<(q=(120>q?120:480>q?480:1080>q?1080:1920>q?1920:3e3>q?3e3:4320>q?4320:1960*lc(q/1960))-q)&&(q=w)),10<q){p.timeoutHandle=dp(_i.bind(null,p),q);break}_i(p);break;case fc:if(1073741823!==er&&null!==mc){ye=er;var ke=mc;if(0>=(q=0|ke.busyMinDurationMs)?q=0:(re=0|ke.busyDelayMs,q=(ye=Wi()-(10*(1073741821-ye)-(0|ke.timeoutMs||5e3)))<=re?0:re+q-ye),10<q){Ss(p,w),p.timeoutHandle=dp(_i.bind(null,p),q);break}}_i(p);break;default:throw Error(y(329))}if(ga(p),p.callbackNode===m)return Ui.bind(null,p)}}return null}function cl(p){var m=p.lastExpiredTime;if(m=0!==m?m:1073741823,(On&(ka|oo))!==li)throw Error(y(327));if(so(),p===Yi&&m===$i||Cs(p,m),null!==Gn){var w=On;On|=ka;for(var q=Ec();;)try{_k();break}catch(re){pu(p,re)}if(Sp(),On=w,cc.current=q,yi===Wp)throw w=Dr,Cs(p,m),Ss(p,m),ga(p),w;if(null!==Gn)throw Error(y(261));p.finishedWork=p.current.alternate,p.finishedExpirationTime=m,Yi=null,_i(p),ga(p)}return null}function Sc(p,m){var w=On;On&=-2,On|=dc;try{return p(m)}finally{(On=w)===li&&Zi()}}function Cs(p,m){p.finishedWork=null,p.finishedExpirationTime=0;var w=p.timeoutHandle;if(-1!==w&&(p.timeoutHandle=-1,LE(w)),null!==Gn)for(w=Gn.return;null!==w;){var q=w;switch(q.tag){case 1:null!=(q=q.type.childContextTypes)&&Ul();break;case 3:ru(),Ur(qi),Ur(oi);break;case 5:kp(q);break;case 4:ru();break;case 13:case 19:Ur(zr);break;case 10:eu(q)}w=w.return}Yi=p,Gn=ws(p.current,null),$i=m,yi=jo,Dr=null,sl=er=1073741823,mc=null,cu=0,ul=!1}function pu(p,m){for(;;){try{if(Sp(),Xu.current=Np,Yl)for(var w=ui.memoizedState;null!==w;){var q=w.queue;null!==q&&(q.pending=null),w=w.next}if(no=0,Si=wi=ui=null,Yl=!1,null===Gn||null===Gn.return)return yi=Wp,Dr=m,Gn=null;e:{var re=p,ye=Gn.return,ke=Gn,Ue=m;if(m=$i,ke.effectTag|=2048,ke.firstEffect=ke.lastEffect=null,null!==Ue&&"object"==typeof Ue&&"function"==typeof Ue.then){var xt=Ue;if(!(2&ke.mode)){var Mt=ke.alternate;Mt?(ke.updateQueue=Mt.updateQueue,ke.memoizedState=Mt.memoizedState,ke.expirationTime=Mt.expirationTime):(ke.updateQueue=null,ke.memoizedState=null)}var Ht=0!=(1&zr.current),yn=ye;do{var bn;if(bn=13===yn.tag){var sr=yn.memoizedState;if(null!==sr)bn=null!==sr.dehydrated;else{var Ta=yn.memoizedProps;bn=void 0!==Ta.fallback&&(!0!==Ta.unstable_avoidThisFallback||!Ht)}}if(bn){var Ei=yn.updateQueue;if(null===Ei){var St=new Set;St.add(xt),yn.updateQueue=St}else Ei.add(xt);if(!(2&yn.mode)){if(yn.effectTag|=64,ke.effectTag&=-2981,1===ke.tag)if(null===ke.alternate)ke.tag=17;else{var ht=bo(1073741823,null);ht.tag=2,Zo(ke,ht)}ke.expirationTime=1073741823;break e}Ue=void 0,ke=m;var It=re.pingCache;if(null===It?(It=re.pingCache=new D0).set(xt,Ue=new Set):void 0===(Ue=It.get(xt))&&It.set(xt,Ue=new Set),!Ue.has(ke)){Ue.add(ke);var Kt=xk.bind(null,re,xt,ke);xt.then(Kt,Kt)}yn.effectTag|=4096,yn.expirationTime=m;break e}yn=yn.return}while(null!==yn);Ue=Error((Cn(ke.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+cn(ke))}yi!==fc&&(yi=I0),Ue=ac(Ue,ke),yn=ye;do{switch(yn.tag){case 3:xt=Ue,yn.effectTag|=4096,yn.expirationTime=m,c0(yn,qp(yn,xt,m));break e;case 1:xt=Ue;var _n=yn.stateNode;if(!(64&yn.effectTag||"function"!=typeof yn.type.getDerivedStateFromError&&(null===_n||"function"!=typeof _n.componentDidCatch||null!==$o&&$o.has(_n)))){yn.effectTag|=4096,yn.expirationTime=m,c0(yn,T0(yn,xt,m));break e}}yn=yn.return}while(null!==yn)}Gn=pl(Gn)}catch(rr){m=rr;continue}break}}function Ec(){var p=cc.current;return cc.current=Np,null===p?Np:p}function ef(p,m){p<er&&2<p&&(er=p),null!==m&&p<sl&&2<p&&(sl=p,mc=m)}function dl(p){p>cu&&(cu=p)}function _k(){for(;null!==Gn;)Gn=O0(Gn)}function A2(){for(;null!==Gn&&!b2();)Gn=O0(Gn)}function O0(p){var m=M0(p.alternate,p,$i);return p.memoizedProps=p.pendingProps,null===m&&(m=pl(p)),Kp.current=null,m}function pl(p){Gn=p;do{var m=Gn.alternate;if(p=Gn.return,2048&Gn.effectTag){if(null!==(m=A0(Gn)))return m.effectTag&=2047,m;null!==p&&(p.firstEffect=p.lastEffect=null,p.effectTag|=2048)}else{if(m=P0(m,Gn,$i),1===$i||1!==Gn.childExpirationTime){for(var w=0,q=Gn.child;null!==q;){var re=q.expirationTime,ye=q.childExpirationTime;re>w&&(w=re),ye>w&&(w=ye),q=q.sibling}Gn.childExpirationTime=w}if(null!==m)return m;null!==p&&!(2048&p.effectTag)&&(null===p.firstEffect&&(p.firstEffect=Gn.firstEffect),null!==Gn.lastEffect&&(null!==p.lastEffect&&(p.lastEffect.nextEffect=Gn.firstEffect),p.lastEffect=Gn.lastEffect),1<Gn.effectTag&&(null!==p.lastEffect?p.lastEffect.nextEffect=Gn:p.firstEffect=Gn,p.lastEffect=Gn))}if(null!==(m=Gn.sibling))return m;Gn=p}while(null!==Gn);return yi===jo&&(yi=fc),null}function F0(p){var m=p.expirationTime;return m>(p=p.childExpirationTime)?m:p}function _i(p){var m=si();return An(99,k2.bind(null,p,m)),null}function k2(p,m){do{so()}while(null!==yc);if((On&(ka|oo))!==li)throw Error(y(327));var w=p.finishedWork,q=p.finishedExpirationTime;if(null===w)return null;if(p.finishedWork=null,p.finishedExpirationTime=0,w===p.current)throw Error(y(177));p.callbackNode=null,p.callbackExpirationTime=0,p.callbackPriority=90,p.nextKnownPendingLevel=0;var re=F0(w);if(p.firstPendingTime=re,q<=p.lastSuspendedTime?p.firstSuspendedTime=p.lastSuspendedTime=p.nextKnownPendingLevel=0:q<=p.firstSuspendedTime&&(p.firstSuspendedTime=q-1),q<=p.lastPingedTime&&(p.lastPingedTime=0),q<=p.lastExpiredTime&&(p.lastExpiredTime=0),p===Yi&&(Gn=Yi=null,$i=0),1<w.effectTag?null!==w.lastEffect?(w.lastEffect.nextEffect=w,re=w.firstEffect):re=w:re=w.firstEffect,null!==re){var ye=On;On|=oo,Kp.current=null,up=$r;var ke=k_();if(Mo(ke)){if("selectionStart"in ke)var Ue={start:ke.selectionStart,end:ke.selectionEnd};else{var xt=(Ue=(Ue=ke.ownerDocument)&&Ue.defaultView||window).getSelection&&Ue.getSelection();if(xt&&0!==xt.rangeCount){Ue=xt.anchorNode;var Mt=xt.anchorOffset,Ht=xt.focusNode;xt=xt.focusOffset;var yn=0,bn=-1,sr=-1,Ta=0,Ei=0,St=ke,ht=null;t:for(;;){for(var It;St!==Ue||0!==Mt&&3!==St.nodeType||(bn=yn+Mt),St!==Ht||0!==xt&&3!==St.nodeType||(sr=yn+xt),3===St.nodeType&&(yn+=St.nodeValue.length),null!==(It=St.firstChild);)ht=St,St=It;for(;;){if(St===ke)break t;if(ht===Ue&&++Ta===Mt&&(bn=yn),ht===Ht&&++Ei===xt&&(sr=yn),null!==(It=St.nextSibling))break;ht=(St=ht).parentNode}St=It}Ue=-1===bn||-1===sr?null:{start:bn,end:sr}}else Ue=null}Ue=Ue||{start:0,end:0}}else Ue=null;lp={activeElementDetached:null,focusedElem:ke,selectionRange:Ue},$r=!1,xn=re;do{try{R2()}catch(Wn){if(null===xn)throw Error(y(330));fu(xn,Wn),xn=xn.nextEffect}}while(null!==xn);xn=re;do{try{for(ke=p,Ue=m;null!==xn;){var Kt=xn.effectTag;if(16&Kt&&di(xn.stateNode,""),128&Kt){var rn=xn.alternate;if(null!==rn){var dn=rn.ref;null!==dn&&("function"==typeof dn?dn(null):dn.current=null)}}switch(1038&Kt){case 2:sc(xn),xn.effectTag&=-3;break;case 6:sc(xn),xn.effectTag&=-3,lu(xn.alternate,xn);break;case 1024:xn.effectTag&=-1025;break;case 1028:xn.effectTag&=-1025,lu(xn.alternate,xn);break;case 4:lu(xn.alternate,xn);break;case 8:R0(ke,Mt=xn,Ue),k0(Mt)}xn=xn.nextEffect}}catch(Wn){if(null===xn)throw Error(y(330));fu(xn,Wn),xn=xn.nextEffect}}while(null!==xn);if(dn=lp,rn=k_(),Ue=dn.selectionRange,rn!==(Kt=dn.focusedElem)&&Kt&&Kt.ownerDocument&&A_(Kt.ownerDocument.documentElement,Kt)){for((null!==Ue&&Mo(Kt)&&(rn=Ue.start,void 0===(dn=Ue.end)&&(dn=rn),"selectionStart"in Kt?(Kt.selectionStart=rn,Kt.selectionEnd=Math.min(dn,Kt.value.length)):(dn=(rn=Kt.ownerDocument||document)&&rn.defaultView||window).getSelection&&(dn=dn.getSelection(),Mt=Kt.textContent.length,ke=Math.min(Ue.start,Mt),Ue=void 0===Ue.end?ke:Math.min(Ue.end,Mt),!dn.extend&&ke>Ue&&(Mt=Ue,Ue=ke,ke=Mt),Mt=P_(Kt,ke),Ht=P_(Kt,Ue),Mt&&Ht&&(1!==dn.rangeCount||dn.anchorNode!==Mt.node||dn.anchorOffset!==Mt.offset||dn.focusNode!==Ht.node||dn.focusOffset!==Ht.offset)&&((rn=rn.createRange()).setStart(Mt.node,Mt.offset),dn.removeAllRanges(),ke>Ue?(dn.addRange(rn),dn.extend(Ht.node,Ht.offset)):(rn.setEnd(Ht.node,Ht.offset),dn.addRange(rn))))),rn=[],dn=Kt);dn=dn.parentNode;)1===dn.nodeType&&rn.push({element:dn,left:dn.scrollLeft,top:dn.scrollTop});for("function"==typeof Kt.focus&&Kt.focus(),Kt=0;Kt<rn.length;Kt++)(dn=rn[Kt]).element.scrollLeft=dn.left,dn.element.scrollTop=dn.top}$r=!!up,lp=up=null,p.current=w,xn=re;do{try{for(Kt=p;null!==xn;){var _n=xn.effectTag;if(36&_n&&al(Kt,xn.alternate,xn),128&_n){rn=void 0;var nr=xn.ref;if(null!==nr)rn=xn.stateNode,"function"==typeof nr?nr(rn):nr.current=rn}xn=xn.nextEffect}}catch(Wn){if(null===xn)throw Error(y(330));fu(xn,Wn),xn=xn.nextEffect}}while(null!==xn);xn=null,C2(),On=ye}else p.current=w;if(Qp)Qp=!1,yc=p,_c=m;else for(xn=re;null!==xn;)m=xn.nextEffect,xn.nextEffect=null,xn=m;if(0===(m=p.firstPendingTime)&&($o=null),1073741823===m?p===xc?ll++:(ll=0,xc=p):ll=0,"function"==typeof Go&&Go(w.stateNode,q),ga(p),gc)throw gc=!1,p=vc,vc=null,p;return(On&dc)!==li||Zi(),null}function R2(){for(;null!==xn;){var p=xn.effectTag;256&p&&Qi(xn.alternate,xn),!(512&p)||Qp||(Qp=!0,Bo(97,function(){return so(),null})),xn=xn.nextEffect}}function so(){if(90!==_c){var p=97<_c?97:_c;return _c=90,An(p,D2)}}function D2(){if(null===yc)return!1;var p=yc;if(yc=null,(On&(ka|oo))!==li)throw Error(y(331));var m=On;for(On|=oo,p=p.current.firstEffect;null!==p;){try{var w=p;if(512&w.effectTag)switch(w.tag){case 0:case 11:case 15:case 22:$p(5,w),Up(5,w)}}catch(q){if(null===p)throw Error(y(330));fu(p,q)}w=p.nextEffect,p.nextEffect=null,p=w}return On=m,Zi(),!0}function T2(p,m,w){Zo(p,m=qp(p,m=ac(w,m),1073741823)),null!==(p=Yp(p,1073741823))&&ga(p)}function fu(p,m){if(3===p.tag)T2(p,p,m);else for(var w=p.return;null!==w;){if(3===w.tag){T2(w,p,m);break}if(1===w.tag){var q=w.stateNode;if("function"==typeof w.type.getDerivedStateFromError||"function"==typeof q.componentDidCatch&&(null===$o||!$o.has(q))){Zo(w,p=T0(w,p=ac(m,p),1073741823)),null!==(w=Yp(w,1073741823))&&ga(w);break}}w=w.return}}function xk(p,m,w){var q=p.pingCache;null!==q&&q.delete(m),Yi===p&&$i===w?yi===pc||yi===bs&&1073741823===er&&Wi()-hc<Xp?Cs(p,$i):ul=!0:N0(p,w)&&(0!==(m=p.lastPingedTime)&&m<w||(p.lastPingedTime=w,ga(p)))}function Pc(p,m){var w=p.stateNode;null!==w&&w.delete(m),0==(m=0)&&(m=du(m=Ra(),p,null)),null!==(p=Yp(p,m))&&ga(p)}M0=function(m,w,q){var re=w.expirationTime;if(null!==m){var ye=w.pendingProps;if(m.memoizedProps!==ye||qi.current)ao=!0;else{if(re<q){switch(ao=!1,w.tag){case 3:mt(w),yr();break;case 5:if(m0(w),4&w.mode&&1!==q&&ye.hidden)return w.expirationTime=w.childExpirationTime=1,null;break;case 1:Ki(w.type)&&hs(w);break;case 4:Wu(w,w.stateNode.containerInfo);break;case 10:re=w.memoizedProps.value,qr(Hl,(ye=w.type._context)._currentValue),ye._currentValue=re;break;case 13:if(null!==w.memoizedState)return 0!==(re=w.child.childExpirationTime)&&re>=q?rc(m,w,q):(qr(zr,1&zr.current),null!==(w=So(m,w,q))?w.sibling:null);qr(zr,1&zr.current);break;case 19:if(re=w.childExpirationTime>=q,64&m.effectTag){if(re)return _s(m,w,q);w.effectTag|=64}if(null!==(ye=w.memoizedState)&&(ye.rendering=null,ye.tail=null),qr(zr,zr.current),!re)return null}return So(m,w,q)}ao=!1}}else ao=!1;switch(w.expirationTime=0,w.tag){case 2:if(re=w.type,null!==m&&(m.alternate=null,w.alternate=null,w.effectTag|=2),m=w.pendingProps,ye=Ys(w,oi.current),tu(w,q),ye=Dp(null,w,re,m,ye,q),w.effectTag|=1,"object"==typeof ye&&null!==ye&&"function"==typeof ye.render&&void 0===ye.$$typeof){if(w.tag=1,w.memoizedState=null,w.updateQueue=null,Ki(re)){var ke=!0;hs(w)}else ke=!1;w.memoizedState=null!=ye.state?ye.state:null,Ir(w);var Ue=re.getDerivedStateFromProps;"function"==typeof Ue&&Ep(w,re,Ue,m),ye.updater=Lo,w.stateNode=ye,ye._reactInternalFiber=w,Wl(w,re,m,q),w=rl(null,w,re,!0,ke,q)}else w.tag=0,ha(null,w,ye,q),w=w.child;return w;case 16:e:{if(ye=w.elementType,null!==m&&(m.alternate=null,w.alternate=null,w.effectTag|=2),m=w.pendingProps,function zn(p){if(-1===p._status){p._status=0;var m=p._ctor;m=m(),p._result=m,m.then(function(w){0===p._status&&(w=w.default,p._status=1,p._result=w)},function(w){0===p._status&&(p._status=2,p._result=w)})}}(ye),1!==ye._status)throw ye._result;switch(w.type=ye=ye._result,ke=w.tag=function nf(p){if("function"==typeof p)return fl(p)?1:0;if(null!=p){if((p=p.$$typeof)===Br)return 11;if(p===ba)return 14}return 2}(ye),m=Li(ye,m),ke){case 0:w=Bp(null,w,ye,m,q);break e;case 1:w=S0(null,w,ye,m,q);break e;case 11:w=x0(null,w,ye,m,q);break e;case 14:w=b0(null,w,ye,Li(ye.type,m),re,q);break e}throw Error(y(306,ye,""))}return w;case 0:return ye=w.pendingProps,Bp(m,w,re=w.type,ye=w.elementType===re?ye:Li(re,ye),q);case 1:return ye=w.pendingProps,S0(m,w,re=w.type,ye=w.elementType===re?ye:Li(re,ye),q);case 3:if(mt(w),re=w.updateQueue,null===m||null===re)throw Error(y(282));if(re=w.pendingProps,ye=null!==(ye=w.memoizedState)?ye.element:null,Ua(m,w),Kl(w,re,null,q),(re=w.memoizedState.element)===ye)yr(),w=So(m,w,q);else{if((ye=w.stateNode.hydrate)&&(wo=zs(w.stateNode.containerInfo.firstChild),ro=w,ye=io=!0),ye)for(q=Ap(w,null,re,q),w.child=q;q;)q.effectTag=-3&q.effectTag|1024,q=q.sibling;else ha(m,w,re,q),yr();w=w.child}return w;case 5:return m0(w),null===m&&Vp(w),ke=null!==m?m.memoizedProps:null,Ue=(ye=w.pendingProps).children,cp(re=w.type,ye)?Ue=null:null!==ke&&cp(re,ke)&&(w.effectTag|=16),w0(m,w),4&w.mode&&1!==q&&ye.hidden?(w.expirationTime=w.childExpirationTime=1,w=null):(ha(m,w,Ue,q),w=w.child),w;case 6:return null===m&&Vp(w),null;case 13:return rc(m,w,q);case 4:return Wu(w,w.stateNode.containerInfo),re=w.pendingProps,null===m?w.child=vi(w,null,re,q):ha(m,w,re,q),w.child;case 11:return ye=w.pendingProps,x0(m,w,re=w.type,ye=w.elementType===re?ye:Li(re,ye),q);case 7:return ha(m,w,w.pendingProps,q),w.child;case 8:case 12:return ha(m,w,w.pendingProps.children,q),w.child;case 10:e:{re=w.type._context,Ue=w.memoizedProps,ke=(ye=w.pendingProps).value;var xt=w.type._context;if(qr(Hl,xt._currentValue),xt._currentValue=ke,null!==Ue)if(0==(ke=Ws(xt=Ue.value,ke)?0:0|("function"==typeof re._calculateChangedBits?re._calculateChangedBits(xt,ke):1073741823))){if(Ue.children===ye.children&&!qi.current){w=So(m,w,q);break e}}else for(null!==(xt=w.child)&&(xt.return=w);null!==xt;){var Mt=xt.dependencies;if(null!==Mt){Ue=xt.child;for(var Ht=Mt.firstContext;null!==Ht;){if(Ht.context===re&&Ht.observedBits&ke){1===xt.tag&&((Ht=bo(q,null)).tag=2,Zo(xt,Ht)),xt.expirationTime<q&&(xt.expirationTime=q),null!==(Ht=xt.alternate)&&Ht.expirationTime<q&&(Ht.expirationTime=q),l0(xt.return,q),Mt.expirationTime<q&&(Mt.expirationTime=q);break}Ht=Ht.next}}else Ue=10===xt.tag&&xt.type===w.type?null:xt.child;if(null!==Ue)Ue.return=xt;else for(Ue=xt;null!==Ue;){if(Ue===w){Ue=null;break}if(null!==(xt=Ue.sibling)){xt.return=Ue.return,Ue=xt;break}Ue=Ue.return}xt=Ue}ha(m,w,ye.children,q),w=w.child}return w;case 9:return ye=w.type,re=(ke=w.pendingProps).children,tu(w,q),re=re(ye=Aa(ye,ke.unstable_observedBits)),w.effectTag|=1,ha(m,w,re,q),w.child;case 14:return ke=Li(ye=w.type,w.pendingProps),b0(m,w,ye,ke=Li(ye.type,ke),re,q);case 15:return C0(m,w,w.type,w.pendingProps,re,q);case 17:return ye=w.pendingProps,ye=w.elementType===(re=w.type)?ye:Li(re,ye),null!==m&&(m.alternate=null,w.alternate=null,w.effectTag|=2),w.tag=1,Ki(re)?(m=!0,hs(w)):m=!1,tu(w,q),gs(w,re,ye),Wl(w,re,ye,q),rl(null,w,re,!0,m,q);case 19:return _s(m,w,q)}throw Error(y(156,w.tag))};var Go=null,tf=null;function st(p,m,w,q){this.tag=p,this.key=w,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=m,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=q,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Da(p,m,w,q){return new st(p,m,w,q)}function fl(p){return!(!(p=p.prototype)||!p.isReactComponent)}function ws(p,m){var w=p.alternate;return null===w?((w=Da(p.tag,m,p.key,p.mode)).elementType=p.elementType,w.type=p.type,w.stateNode=p.stateNode,w.alternate=p,p.alternate=w):(w.pendingProps=m,w.effectTag=0,w.nextEffect=null,w.firstEffect=null,w.lastEffect=null),w.childExpirationTime=p.childExpirationTime,w.expirationTime=p.expirationTime,w.child=p.child,w.memoizedProps=p.memoizedProps,w.memoizedState=p.memoizedState,w.updateQueue=p.updateQueue,w.dependencies=null===(m=p.dependencies)?null:{expirationTime:m.expirationTime,firstContext:m.firstContext,responders:m.responders},w.sibling=p.sibling,w.index=p.index,w.ref=p.ref,w}function Ac(p,m,w,q,re,ye){var ke=2;if(q=p,"function"==typeof p)fl(p)&&(ke=1);else if("string"==typeof p)ke=5;else e:switch(p){case zt:return Ho(w.children,re,ye,m);case De:ke=8,re|=7;break;case un:ke=8,re|=1;break;case Xt:return(p=Da(12,w,m,8|re)).elementType=Xt,p.type=Xt,p.expirationTime=ye,p;case ar:return(p=Da(13,w,m,re)).type=ar,p.elementType=ar,p.expirationTime=ye,p;case Qt:return(p=Da(19,w,m,re)).elementType=Qt,p.expirationTime=ye,p;default:if("object"==typeof p&&null!==p)switch(p.$$typeof){case Kn:ke=10;break e;case Un:ke=9;break e;case Br:ke=11;break e;case ba:ke=14;break e;case ki:ke=16,q=null;break e;case _t:ke=22;break e}throw Error(y(130,null==p?p:typeof p,""))}return(m=Da(ke,w,m,re)).elementType=p,m.type=q,m.expirationTime=ye,m}function Ho(p,m,w,q){return(p=Da(7,p,q,m)).expirationTime=w,p}function rf(p,m,w){return(p=Da(6,p,null,m)).expirationTime=w,p}function af(p,m,w){return(m=Da(4,null!==p.children?p.children:[],p.key,m)).expirationTime=w,m.stateNode={containerInfo:p.containerInfo,pendingChildren:null,implementation:p.implementation},m}function sf(p,m,w){this.tag=m,this.current=null,this.containerInfo=p,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=w,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function N0(p,m){var w=p.firstSuspendedTime;return p=p.lastSuspendedTime,0!==w&&w>=m&&p<=m}function Ss(p,m){var w=p.firstSuspendedTime,q=p.lastSuspendedTime;w<m&&(p.firstSuspendedTime=m),(q>m||0===w)&&(p.lastSuspendedTime=m),m<=p.lastPingedTime&&(p.lastPingedTime=0),m<=p.lastExpiredTime&&(p.lastExpiredTime=0)}function pn(p,m){m>p.firstPendingTime&&(p.firstPendingTime=m);var w=p.firstSuspendedTime;0!==w&&(m>=w?p.firstSuspendedTime=p.lastSuspendedTime=p.nextKnownPendingLevel=0:m>=p.lastSuspendedTime&&(p.lastSuspendedTime=m+1),m>p.nextKnownPendingLevel&&(p.nextKnownPendingLevel=m))}function $n(p,m){var w=p.lastExpiredTime;(0===w||w>m)&&(p.lastExpiredTime=m)}function kc(p,m,w,q){var re=m.current,ye=Ra(),ke=zu.suspense;ye=du(ye,re,ke);e:if(w){t:{if(k(w=w._reactInternalFiber)!==w||1!==w.tag)throw Error(y(170));var Ue=w;do{switch(Ue.tag){case 3:Ue=Ue.stateNode.context;break t;case 1:if(Ki(Ue.type)){Ue=Ue.stateNode.__reactInternalMemoizedMergedChildContext;break t}}Ue=Ue.return}while(null!==Ue);throw Error(y(171))}if(1===w.tag){var xt=w.type;if(Ki(xt)){w=r0(w,xt,Ue);break e}}w=Ue}else w=fs;return null===m.context?m.context=w:m.pendingContext=w,(m=bo(ye,ke)).payload={element:p},null!==(q=void 0===q?null:q)&&(m.callback=q),Zo(re,m),zo(re,ye),ye}function uf(p){return(p=p.current).child?p.child.stateNode:null}function Rc(p,m){null!==(p=p.memoizedState)&&null!==p.dehydrated&&p.retryTime<m&&(p.retryTime=m)}function lf(p,m){Rc(p,m),(p=p.alternate)&&Rc(p,m)}function cf(p,m,w){var q=new sf(p,m,w=null!=w&&!0===w.hydrate),re=Da(3,null,null,2===m?7:1===m?3:0);q.current=re,re.stateNode=q,Ir(re),p[Gs]=q.current,w&&0!==m&&function gr(p,m){var w=cs(m);or.forEach(function(q){Et(q,m,w)}),hr.forEach(function(q){Et(q,m,w)})}(0,9===p.nodeType?p:p.ownerDocument),this._internalRoot=q}function ml(p){return!(!p||1!==p.nodeType&&9!==p.nodeType&&11!==p.nodeType&&(8!==p.nodeType||" react-mount-point-unstable "!==p.nodeValue))}function uo(p,m,w,q,re){var ye=w._reactRootContainer;if(ye){var ke=ye._internalRoot;if("function"==typeof re){var Ue=re;re=function(){var Ht=uf(ke);Ue.call(Ht)}}kc(m,ke,p,re)}else{if(ye=w._reactRootContainer=function Dc(p,m){if(m||(m=!(!(m=p?9===p.nodeType?p.documentElement:p.firstChild:null)||1!==m.nodeType||!m.hasAttribute("data-reactroot"))),!m)for(var w;w=p.lastChild;)p.removeChild(w);return new cf(p,0,m?{hydrate:!0}:void 0)}(w,q),ke=ye._internalRoot,"function"==typeof re){var xt=re;re=function(){var Ht=uf(ke);xt.call(Ht)}}Sc(function(){kc(m,ke,p,re)})}return uf(ke)}cf.prototype.render=function(p){kc(p,this._internalRoot,null,null)},cf.prototype.unmount=function(){var p=this._internalRoot,m=p.containerInfo;kc(null,p,null,function(){m[Gs]=null})},Ee=function(m){if(13===m.tag){var w=Le(Ra(),150,100);zo(m,w),lf(m,w)}},ze=function(m){13===m.tag&&(zo(m,3),lf(m,3))},Ke=function(m){if(13===m.tag){var w=Ra();zo(m,w=du(w,m,null)),lf(m,w)}},I=function(m,w,q){switch(w){case"input":if(ci(m,q),w=q.name,"radio"===q.type&&null!=w){for(q=m;q.parentNode;)q=q.parentNode;for(q=q.querySelectorAll("input[name="+JSON.stringify(""+w)+'][type="radio"]'),w=0;w<q.length;w++){var re=q[w];if(re!==m&&re.form===m.form){var ye=mp(re);if(!ye)throw Error(y(90));Qn(re),ci(re,ye)}}}break;case"textarea":Di(m,q);break;case"select":null!=(w=q.value)&&Ri(m,!!q.multiple,w,!1)}},ne=function wc(p,m){var w=On;On|=1;try{return p(m)}finally{(On=w)===li&&Zi()}},Fe=function(m,w,q,re,ye){var ke=On;On|=4;try{return An(98,m.bind(null,w,q,re,ye))}finally{(On=ke)===li&&Zi()}},rt=function(){(On&(1|ka|oo))===li&&(function Jp(){if(null!==Uo){var p=Uo;Uo=null,p.forEach(function(m,w){$n(w,m),ga(w)}),Zi()}}(),so())},Te=function(m,w){var q=On;On|=2;try{return m(w)}finally{(On=q)===li&&Zi()}};(function(p){var m=p.findFiberByHostInstance;!function bk(p){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var m=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(m.isDisabled||!m.supportsFiber)return!0;try{var w=m.inject(p);Go=function(re){try{m.onCommitFiberRoot(w,re,void 0,64==(64&re.current.effectTag))}catch{}},tf=function(re){try{m.onCommitFiberUnmount(w,re)}catch{}}}catch{}}(B({},p,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:ce.ReactCurrentDispatcher,findHostInstanceByFiber:function(q){return null===(q=function ie(p){if(p=function X(p){var m=p.alternate;if(!m){if(null===(m=k(p)))throw Error(y(188));return m!==p?null:p}for(var w=p,q=m;;){var re=w.return;if(null===re)break;var ye=re.alternate;if(null===ye){if(null!==(q=re.return)){w=q;continue}break}if(re.child===ye.child){for(ye=re.child;ye;){if(ye===w)return Z(re),p;if(ye===q)return Z(re),m;ye=ye.sibling}throw Error(y(188))}if(w.return!==q.return)w=re,q=ye;else{for(var ke=!1,Ue=re.child;Ue;){if(Ue===w){ke=!0,w=re,q=ye;break}if(Ue===q){ke=!0,q=re,w=ye;break}Ue=Ue.sibling}if(!ke){for(Ue=ye.child;Ue;){if(Ue===w){ke=!0,w=ye,q=re;break}if(Ue===q){ke=!0,q=ye,w=re;break}Ue=Ue.sibling}if(!ke)throw Error(y(189))}}if(w.alternate!==q)throw Error(y(190))}if(3!==w.tag)throw Error(y(188));return w.stateNode.current===w?p:m}(p),!p)return null;for(var m=p;;){if(5===m.tag||6===m.tag)return m;if(m.child)m.child.return=m,m=m.child;else{if(m===p)break;for(;!m.sibling;){if(!m.return||m.return===p)return null;m=m.return}m.sibling.return=m.return,m=m.sibling}}return null}(q))?null:q.stateNode},findFiberByHostInstance:function(q){return m?m(q):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))})({findFiberByHostInstance:Hs,bundleType:0,version:"16.14.0",rendererPackageName:"react-dom"}),V.render=function(p,m,w){if(!ml(m))throw Error(y(200));return uo(null,p,m,!1,w)},V.unmountComponentAtNode=function(p){if(!ml(p))throw Error(y(40));return!!p._reactRootContainer&&(Sc(function(){uo(null,null,p,!1,function(){p._reactRootContainer=null,p[Gs]=null})}),!0)}},37628:(fe,V,S)=>{(function M(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||"function"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(M)}catch(K){console.error(K)}})(),fe.exports=S(69877)},70298:(fe,V,S)=>{var M=S(71856),K="function"==typeof Symbol&&Symbol.for,B=K?Symbol.for("react.element"):60103,r=K?Symbol.for("react.portal"):60106,y=K?Symbol.for("react.fragment"):60107,f=K?Symbol.for("react.strict_mode"):60108,g=K?Symbol.for("react.profiler"):60114,_=K?Symbol.for("react.provider"):60109,P=K?Symbol.for("react.context"):60110,O=K?Symbol.for("react.forward_ref"):60112,j=K?Symbol.for("react.suspense"):60113,v=K?Symbol.for("react.memo"):60115,b=K?Symbol.for("react.lazy"):60116,G="function"==typeof Symbol&&Symbol.iterator;function z(je){for(var it="https://reactjs.org/docs/error-decoder.html?invariant="+je,de=1;de<arguments.length;de++)it+="&args[]="+encodeURIComponent(arguments[de]);return"Minified React error #"+je+"; visit "+it+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var H={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ee={};function U(je,it,de){this.props=je,this.context=it,this.refs=ee,this.updater=de||H}function W(){}function Y(je,it,de){this.props=je,this.context=it,this.refs=ee,this.updater=de||H}U.prototype.isReactComponent={},U.prototype.setState=function(je,it){if("object"!=typeof je&&"function"!=typeof je&&null!=je)throw Error(z(85));this.updater.enqueueSetState(this,je,it,"setState")},U.prototype.forceUpdate=function(je){this.updater.enqueueForceUpdate(this,je,"forceUpdate")},W.prototype=U.prototype;var ae=Y.prototype=new W;ae.constructor=Y,M(ae,U.prototype),ae.isPureReactComponent=!0;var ve={current:null},_e=Object.prototype.hasOwnProperty,he={key:!0,ref:!0,__self:!0,__source:!0};function x(je,it,de){var J,oe={},Ae=null,Ne=null;if(null!=it)for(J in void 0!==it.ref&&(Ne=it.ref),void 0!==it.key&&(Ae=""+it.key),it)_e.call(it,J)&&!he.hasOwnProperty(J)&&(oe[J]=it[J]);var pe=arguments.length-2;if(1===pe)oe.children=de;else if(1<pe){for(var xe=Array(pe),ut=0;ut<pe;ut++)xe[ut]=arguments[ut+2];oe.children=xe}if(je&&je.defaultProps)for(J in pe=je.defaultProps)void 0===oe[J]&&(oe[J]=pe[J]);return{$$typeof:B,type:je,key:Ae,ref:Ne,props:oe,_owner:ve.current}}function E(je){return"object"==typeof je&&null!==je&&je.$$typeof===B}var L=/\/+/g,D=[];function Q(je,it,de,J){if(D.length){var oe=D.pop();return oe.result=je,oe.keyPrefix=it,oe.func=de,oe.context=J,oe.count=0,oe}return{result:je,keyPrefix:it,func:de,context:J,count:0}}function te(je){je.result=null,je.keyPrefix=null,je.func=null,je.context=null,je.count=0,10>D.length&&D.push(je)}function Re(je,it,de,J){var oe=typeof je;("undefined"===oe||"boolean"===oe)&&(je=null);var Ae=!1;if(null===je)Ae=!0;else switch(oe){case"string":case"number":Ae=!0;break;case"object":switch(je.$$typeof){case B:case r:Ae=!0}}if(Ae)return de(J,je,""===it?"."+Fe(je,0):it),1;if(Ae=0,it=""===it?".":it+":",Array.isArray(je))for(var Ne=0;Ne<je.length;Ne++){var pe=it+Fe(oe=je[Ne],Ne);Ae+=Re(oe,pe,de,J)}else if("function"==typeof(pe=null===je||"object"!=typeof je?null:"function"==typeof(pe=G&&je[G]||je["@@iterator"])?pe:null))for(je=pe.call(je),Ne=0;!(oe=je.next()).done;)Ae+=Re(oe=oe.value,pe=it+Fe(oe,Ne++),de,J);else if("object"===oe)throw de=""+je,Error(z(31,"[object Object]"===de?"object with keys {"+Object.keys(je).join(", ")+"}":de,""));return Ae}function ne(je,it,de){return null==je?0:Re(je,"",it,de)}function Fe(je,it){return"object"==typeof je&&null!==je&&null!=je.key?function I(je){var it={"=":"=0",":":"=2"};return"$"+(""+je).replace(/[=:]/g,function(de){return it[de]})}(je.key):it.toString(36)}function rt(je,it){je.func.call(je.context,it,je.count++)}function Te(je,it,de){var J=je.result,oe=je.keyPrefix;je=je.func.call(je.context,it,je.count++),Array.isArray(je)?tt(je,J,de,function(Ae){return Ae}):null!=je&&(E(je)&&(je=function R(je,it){return{$$typeof:B,type:je.type,key:it,ref:je.ref,props:je.props,_owner:je._owner}}(je,oe+(!je.key||it&&it.key===je.key?"":(""+je.key).replace(L,"$&/")+"/")+de)),J.push(je))}function tt(je,it,de,J,oe){var Ae="";null!=de&&(Ae=(""+de).replace(L,"$&/")+"/"),ne(je,Te,it=Q(it,Ae,J,oe)),te(it)}var Qe={current:null};function vt(){var je=Qe.current;if(null===je)throw Error(z(321));return je}var et={ReactCurrentDispatcher:Qe,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:ve,IsSomeRendererActing:{current:!1},assign:M};V.Children={map:function(it,de,J){if(null==it)return it;var oe=[];return tt(it,oe,null,de,J),oe},forEach:function(it,de,J){if(null==it)return it;ne(it,rt,de=Q(null,null,de,J)),te(de)},count:function(it){return ne(it,function(){return null},null)},toArray:function(it){var de=[];return tt(it,de,null,function(J){return J}),de},only:function(it){if(!E(it))throw Error(z(143));return it}},V.Component=U,V.Fragment=y,V.Profiler=g,V.PureComponent=Y,V.StrictMode=f,V.Suspense=j,V.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=et,V.cloneElement=function(je,it,de){if(null==je)throw Error(z(267,je));var J=M({},je.props),oe=je.key,Ae=je.ref,Ne=je._owner;if(null!=it){if(void 0!==it.ref&&(Ae=it.ref,Ne=ve.current),void 0!==it.key&&(oe=""+it.key),je.type&&je.type.defaultProps)var pe=je.type.defaultProps;for(xe in it)_e.call(it,xe)&&!he.hasOwnProperty(xe)&&(J[xe]=void 0===it[xe]&&void 0!==pe?pe[xe]:it[xe])}var xe=arguments.length-2;if(1===xe)J.children=de;else if(1<xe){pe=Array(xe);for(var ut=0;ut<xe;ut++)pe[ut]=arguments[ut+2];J.children=pe}return{$$typeof:B,type:je.type,key:oe,ref:Ae,props:J,_owner:Ne}},V.createContext=function(je,it){return void 0===it&&(it=null),(je={$$typeof:P,_calculateChangedBits:it,_currentValue:je,_currentValue2:je,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:_,_context:je},je.Consumer=je},V.createElement=x,V.createFactory=function(je){var it=x.bind(null,je);return it.type=je,it},V.createRef=function(){return{current:null}},V.forwardRef=function(je){return{$$typeof:O,render:je}},V.isValidElement=E,V.lazy=function(je){return{$$typeof:b,_ctor:je,_status:-1,_result:null}},V.memo=function(je,it){return{$$typeof:v,type:je,compare:void 0===it?null:it}},V.useCallback=function(je,it){return vt().useCallback(je,it)},V.useContext=function(je,it){return vt().useContext(je,it)},V.useDebugValue=function(){},V.useEffect=function(je,it){return vt().useEffect(je,it)},V.useImperativeHandle=function(je,it,de){return vt().useImperativeHandle(je,it,de)},V.useLayoutEffect=function(je,it){return vt().useLayoutEffect(je,it)},V.useMemo=function(je,it){return vt().useMemo(je,it)},V.useReducer=function(je,it,de){return vt().useReducer(je,it,de)},V.useRef=function(je){return vt().useRef(je)},V.useState=function(je){return vt().useState(je)},V.version="16.14.0"},66712:(fe,V,S)=>{fe.exports=S(70298)},8055:function(fe,V,S){var K,B,M=S(9482).default;typeof self<"u"&&self,fe.exports=(K={182:function(y){var f={NUMBER:"NUMBER",BOOLEAN:"BOOLEAN",STRING:"STRING",NULL:"NULL",UNDEFINED:"UNDEFINED",DATE:"DATE",ARRAY:"ARRAY",MAP:"MAP",SET:"SET",ITERABLE_OBJECT:"ITERABLE_OBJECT",DEFAULT:"OBJECT"};y.exports={types:f,iterableTypes:[f.ITERABLE_OBJECT,f.MAP,f.ARRAY,f.SET],errors:{EMPTY_DIFF:"No diff object is provided, Nothing to apply",INVALID_DIFF_FORMAT:"Invalid diff format",INVALID_DIFF_OP:"Unsupported operation provided into diff object"}}},688:function(y,f,g){var _,P=g(182),O=P.types,j=P.iterableTypes,v=P.errors,b=g(555),G=(M(_={},O.NUMBER,b.isNumber),M(_,O.BOOLEAN,b.isBoolean),M(_,O.STRING,b.isString),M(_,O.DATE,b.isDate),M(_,O.UNDEFINED,b.isUndefined),M(_,O.NULL,b.isNull),M(_,O.ARRAY,b.isArray),M(_,O.MAP,b.isMap),M(_,O.SET,b.isSet),M(_,O.ITERABLE_OBJECT,b.isIterableObject),_),z=M({},O.DATE,b.areDatesEqual);function H(Y){for(var ae=Object.keys(G),ve=O.DEFAULT,_e=0;_e<ae.length;_e+=1)if(G[ae[_e]](Y)){ve=ae[_e];break}return ve}function ee(Y,ae,ve,_e,he){var x={op:ve,path:_e};return"add"!==ve&&"update"!==ve||(x.val=ae),he&&"add"!==ve&&(x.oldVal=Y),x}function U(Y,ae,ve,_e,he){var Fe,x=H(Y),R=H(ae),E=_e||[],I=he||[];if((Fe=x)===R&&j.indexOf(Fe)>=0)for(var L=function(Fe,rt,Te){if(Te===O.ARRAY){var tt=new Array(Fe.length>rt.length?Fe.length:rt.length);return tt.fill(0),new Set(tt.map(function(Qe,vt){return vt}))}return new Set(Object.keys(Fe).concat(Object.keys(rt)))}(Y,ae,x).values(),D=L.next(),Q=D.value,te=D.done;!te;){Object.prototype.hasOwnProperty.call(Y,Q)?Object.prototype.hasOwnProperty.call(ae,Q)?U(Y[Q],ae[Q],ve,E.concat(Q),I):I.push(ee(Y[Q],ae[Q],"delete",E.concat(Q),ve)):I.push(ee(Y[Q],ae[Q],"add",E.concat(Q),ve));var Re=L.next();Q=Re.value,te=Re.done}else{var ne=function(Fe,rt,Te,tt){var Qe,vt,et,je;return Te===O.UNDEFINED&&tt!==O.UNDEFINED?Qe="add":Te!==O.UNDEFINED&&tt===O.UNDEFINED?Qe="delete":(vt=Fe,et=rt,(je=Te)===tt&&(z[je]?z[je](vt,et):vt===et)?b.noop():Qe="update"),Qe}(Y,ae,x,R);null!=ne&&I.push(ee(Y,ae,ne,_e,ve))}return I}var W={add:b.setValueByPath,update:b.setValueByPath,delete:b.deleteValueByPath};y.exports={getDiff:function(ae,ve){return U(ae,ve,arguments.length>2&&void 0!==arguments[2]&&arguments[2])},applyDiff:function(ae,ve,_e){return function(he,x,R){if(!(x instanceof Array))throw new Error(v.INVALID_DIFF_FORMAT);var E=he;return x.forEach(function(I){var L=I.op,D=I.val,Q=I.path;if(!W[L])throw new Error(v.INVALID_DIFF_OP);E=W[L](E,Q,D,R)}),E}(ae,ve,_e)}}},555:function(y){var f=function(b){return function(G){return G instanceof b}},g=f(Date),_=f(Array),P=f(Map),O=f(Set),j=function(b){return"[object Object]"===Object.prototype.toString.call(b)};y.exports={isNumber:function(b){return"number"==typeof b},isBoolean:function(b){return"boolean"==typeof b},isString:function(b){return"string"==typeof b},isDate:g,isUndefined:function(b){return void 0===b},isNull:function(b){return null===b},isArray:_,isMap:P,isSet:O,isIterableObject:j,noop:function(){},areDatesEqual:function(b,G){return b.getTime()===G.getTime()},setValueByPath:function(b){var G=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],z=arguments.length>2?arguments[2]:void 0,H=arguments.length>3?arguments[3]:void 0;if(!_(G))throw new Error('Diff path: "'.concat(G,'" is not valid'));var ee=G.length;if(0===ee)return z;for(var U=b,W=0;W<ee;W+=1){var Y=G[W];if(!U)throw new Error('Invalid path: "'.concat(G,'" for object: ').concat(JSON.stringify(b,null,2)));if(null==Y)throw new Error('Invalid path: "'.concat(G,'" for object: ').concat(JSON.stringify(b,null,2)));W!==ee-1?(U=U[Y],H&&H(U)):U[Y]=z}return b},deleteValueByPath:function(b,G){var z=G||[];if(0!==z.length){for(var H=b,ee=z.length,U=0;U<ee;U+=1)if(U!==ee-1){if(!H[z[U]])throw new Error('Invalid path: "'.concat(G,'" for object: ').concat(JSON.stringify(b,null,2)));H=H[z[U]]}else if(j(H))delete H[z[U]];else for(var W=parseInt(z[U],10);H.length>W;)H.pop();return b}}}}},B={},function r(y){var f=B[y];if(void 0!==f)return f.exports;var g=B[y]={exports:{}};return K[y](g,g.exports,r),g.exports}(688))},76317:(fe,V,S)=>{S.d(V,{X:()=>_});var M=S(78069),K=S(48047),B=S(4089),r=S(20265),y=S(24582),f=S(28694),_=function(P){(0,y.Z)(j,P);var O=(0,f.Z)(j);function j(v){var b;return(0,M.Z)(this,j),(b=O.call(this))._value=v,b}return(0,K.Z)(j,[{key:"value",get:function(){return this.getValue()}},{key:"_subscribe",value:function(b){var G=(0,B.Z)((0,r.Z)(j.prototype),"_subscribe",this).call(this,b);return!G.closed&&b.next(this._value),G}},{key:"getValue",value:function(){var z=this._value;if(this.hasError)throw this.thrownError;return this._throwIfClosed(),z}},{key:"next",value:function(b){(0,B.Z)((0,r.Z)(j.prototype),"next",this).call(this,this._value=b)}}]),j}(S(50253).x)},26067:(fe,V,S)=>{S.d(V,{t:()=>P});var M=S(78069),K=S(48047),B=S(4089),r=S(20265),y=S(24582),f=S(28694),g=S(50253),_=S(67654),P=function(O){(0,y.Z)(v,O);var j=(0,f.Z)(v);function v(){var b,G=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0,z=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1/0,H=arguments.length>2&&void 0!==arguments[2]?arguments[2]:_.l;return(0,M.Z)(this,v),(b=j.call(this))._bufferSize=G,b._windowTime=z,b._timestampProvider=H,b._buffer=[],b._infiniteTimeWindow=!0,b._infiniteTimeWindow=z===1/0,b._bufferSize=Math.max(1,G),b._windowTime=Math.max(1,z),b}return(0,K.Z)(v,[{key:"next",value:function(G){var H=this._buffer,ee=this._infiniteTimeWindow,U=this._timestampProvider,W=this._windowTime;this.isStopped||(H.push(G),!ee&&H.push(U.now()+W)),this._trimBuffer(),(0,B.Z)((0,r.Z)(v.prototype),"next",this).call(this,G)}},{key:"_subscribe",value:function(G){this._throwIfClosed(),this._trimBuffer();for(var z=this._innerSubscribe(G),H=this._infiniteTimeWindow,U=this._buffer.slice(),W=0;W<U.length&&!G.closed;W+=H?1:2)G.next(U[W]);return this._checkFinalizedStatuses(G),z}},{key:"_trimBuffer",value:function(){var G=this._bufferSize,z=this._timestampProvider,H=this._buffer,ee=this._infiniteTimeWindow,U=(ee?1:2)*G;if(G<1/0&&U<H.length&&H.splice(0,H.length-U),!ee){for(var W=z.now(),Y=0,ae=1;ae<H.length&&H[ae]<=W;ae+=2)Y=ae;Y&&H.splice(0,Y+1)}}}]),v}(g.x)},26562:(fe,V,S)=>{S.d(V,{a:()=>O});var M=S(90833),K=S(45756),B=S(37400),r=S(89173),y=S(58385),f=S(10420),g=S(11054),_=S(93945),P=S(1817);function O(){for(var b=arguments.length,G=new Array(b),z=0;z<b;z++)G[z]=arguments[z];var H=(0,f.yG)(G),ee=(0,f.jO)(G),U=(0,K.D)(G),W=U.args,Y=U.keys;if(0===W.length)return(0,B.D)([],H);var ae=new M.y(function j(b,G){var z=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.y;return function(H){v(G,function(){for(var ee=b.length,U=new Array(ee),W=ee,Y=ee,ae=function(he){v(G,function(){var x=(0,B.D)(b[he],G),R=!1;x.subscribe((0,_.x)(H,function(E){U[he]=E,R||(R=!0,Y--),Y||H.next(z(U.slice()))},function(){--W||H.complete()}))},H)},ve=0;ve<ee;ve++)ae(ve)},H)}}(W,H,Y?function(ve){return(0,g.n)(Y,ve)}:r.y));return ee?ae.pipe((0,y.Z)(ee)):ae}function v(b,G,z){b?(0,P.f)(z,b,G):G()}},59319:(fe,V,S)=>{S.d(V,{z:()=>y});var M=S(1308),B=S(10420),r=S(37400);function y(){for(var f=arguments.length,g=new Array(f),_=0;_<f;_++)g[_]=arguments[_];return function K(){return(0,M.J)(1)}()((0,r.D)(g,(0,B.yG)(g)))}},21954:(fe,V,S)=>{S.d(V,{P:()=>B});var M=S(90833),K=S(54987);function B(r){return new M.y(function(y){(0,K.Xf)(r()).subscribe(y)})}},91640:(fe,V,S)=>{S.d(V,{D:()=>_});var M=S(90833),K=S(45756),B=S(54987),r=S(10420),y=S(93945),f=S(58385),g=S(11054);function _(){for(var P=arguments.length,O=new Array(P),j=0;j<P;j++)O[j]=arguments[j];var v=(0,r.jO)(O),b=(0,K.D)(O),G=b.args,z=b.keys,H=new M.y(function(ee){var U=G.length;if(U)for(var W=new Array(U),Y=U,ae=U,ve=function(x){var R=!1;(0,B.Xf)(G[x]).subscribe((0,y.x)(ee,function(E){R||(R=!0,ae--),W[x]=E},function(){return Y--},void 0,function(){(!Y||!R)&&(ae||ee.next(z?(0,g.n)(z,W):W),ee.complete())}))},_e=0;_e<U;_e++)ve(_e);else ee.complete()});return v?H.pipe((0,f.Z)(v)):H}},36646:(fe,V,S)=>{S.d(V,{T:()=>f});var M=S(1308),K=S(54987),B=S(20591),r=S(10420),y=S(37400);function f(){for(var g=arguments.length,_=new Array(g),P=0;P<g;P++)_[P]=arguments[P];var O=(0,r.yG)(_),j=(0,r._6)(_,1/0),v=_;return v.length?1===v.length?(0,K.Xf)(v[0]):(0,M.J)(j)((0,y.D)(v,O)):B.E}},63853:(fe,V,S)=>{S.d(V,{b:()=>B});var M=S(49525),K=S(92971);function B(r,y){return(0,K.m)(y)?(0,M.z)(r,y,1):(0,M.z)(r,1)}},71989:(fe,V,S)=>{S.d(V,{b:()=>r});var M=S(96936),K=S(41944),B=S(93945);function r(y){var f=arguments.length>1&&void 0!==arguments[1]?arguments[1]:M.z;return(0,K.e)(function(g,_){var P=null,O=null,j=null,v=function(){if(P){P.unsubscribe(),P=null;var z=O;O=null,_.next(z)}};function b(){var G=j+y,z=f.now();if(z<G)return P=this.schedule(void 0,G-z),void _.add(P);v()}g.subscribe((0,B.x)(_,function(G){O=G,j=f.now(),P||(P=f.schedule(b,y),_.add(P))},function(){v(),_.complete()},void 0,function(){O=P=null}))})}},64744:(fe,V,S)=>{S.d(V,{d:()=>B});var M=S(41944),K=S(93945);function B(r){return(0,M.e)(function(y,f){var g=!1;y.subscribe((0,K.x)(f,function(_){g=!0,f.next(_)},function(){g||f.next(r),f.complete()}))})}},76234:(fe,V,S)=>{S.d(V,{g:()=>P});var M=S(96936),K=S(59319),B=S(59295),r=S(90023),y=S(73),f=S(49525);function g(O,j){return j?function(v){return(0,K.z)(j.pipe((0,B.q)(1),(0,r.l)()),v.pipe(g(O)))}:(0,f.z)(function(v,b){return O(v,b).pipe((0,B.q)(1),(0,y.h)(v))})}var _=S(78947);function P(O){var v=(0,_.H)(O,arguments.length>1&&void 0!==arguments[1]?arguments[1]:M.z);return g(function(){return v})}},98977:(fe,V,S)=>{S.d(V,{x:()=>r});var M=S(89173),K=S(41944),B=S(93945);function r(f){var g=arguments.length>1&&void 0!==arguments[1]?arguments[1]:M.y;return f=f??y,(0,K.e)(function(_,P){var O,j=!0;_.subscribe((0,B.x)(P,function(v){var b=g(v);(j||!f(O,b))&&(j=!1,O=b,P.next(v))}))})}function y(f,g){return f===g}},60116:(fe,V,S)=>{S.d(V,{h:()=>B});var M=S(41944),K=S(93945);function B(r,y){return(0,M.e)(function(f,g){var _=0;f.subscribe((0,K.x)(g,function(P){return r.call(y,P,_++)&&g.next(P)}))})}},80155:(fe,V,S)=>{S.d(V,{P:()=>g});var M=S(14423),K=S(60116),B=S(59295),r=S(64744),y=S(77354),f=S(89173);function g(_,P){var O=arguments.length>=2;return function(j){return j.pipe(_?(0,K.h)(function(v,b){return _(v,b,j)}):f.y,(0,B.q)(1),O?(0,r.d)(P):(0,y.T)(function(){return new M.K}))}}},90023:(fe,V,S)=>{S.d(V,{l:()=>r});var M=S(41944),K=S(93945),B=S(99635);function r(){return(0,M.e)(function(y,f){y.subscribe((0,K.x)(f,B.Z))})}},73:(fe,V,S)=>{S.d(V,{h:()=>K});var M=S(50635);function K(B){return(0,M.U)(function(){return B})}},1308:(fe,V,S)=>{S.d(V,{J:()=>B});var M=S(49525),K=S(89173);function B(){return(0,M.z)(K.y,arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0)}},81203:(fe,V,S)=>{S.d(V,{B:()=>y});var M=S(54987),K=S(50253),B=S(5463),r=S(41944);function y(){var g=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},_=g.connector,P=void 0===_?function(){return new K.x}:_,O=g.resetOnError,j=void 0===O||O,v=g.resetOnComplete,b=void 0===v||v,G=g.resetOnRefCountZero,z=void 0===G||G;return function(H){var ee,U,W,Y=0,ae=!1,ve=!1,_e=function(){U?.unsubscribe(),U=void 0},he=function(){_e(),ee=W=void 0,ae=ve=!1},x=function(){var E=ee;he(),E?.unsubscribe()};return(0,r.e)(function(R,E){Y++,!ve&&!ae&&_e();var I=W=W??P();E.add(function(){0==--Y&&!ve&&!ae&&(U=f(x,z))}),I.subscribe(E),!ee&&Y>0&&(ee=new B.Hp({next:function(D){return I.next(D)},error:function(D){ve=!0,_e(),U=f(he,j,D),I.error(D)},complete:function(){ae=!0,_e(),U=f(he,b),I.complete()}}),(0,M.Xf)(R).subscribe(ee))})(H)}}function f(g,_){if(!0!==_){if(!1!==_){for(var P=new B.Hp({next:function(){P.unsubscribe(),g()}}),O=arguments.length,j=new Array(O>2?O-2:0),v=2;v<O;v++)j[v-2]=arguments[v];return _.apply(void 0,j).subscribe(P)}}else g()}},89196:(fe,V,S)=>{S.d(V,{d:()=>B});var M=S(26067),K=S(81203);function B(r,y,f){var g,_=!1;if(r&&"object"==typeof r){var P=r.bufferSize;g=void 0===P?1/0:P;var O=r.windowTime;y=void 0===O?1/0:O;var j=r.refCount;_=void 0!==j&&j,f=r.scheduler}else g=r??1/0;return(0,K.B)({connector:function(){return new M.t(g,y,f)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:_})}},87260:(fe,V,S)=>{S.d(V,{T:()=>K});var M=S(60116);function K(B){return(0,M.h)(function(r,y){return B<=y})}},44874:(fe,V,S)=>{S.d(V,{O:()=>r});var M=S(59319),K=S(10420),B=S(41944);function r(){for(var y=arguments.length,f=new Array(y),g=0;g<y;g++)f[g]=arguments[g];var _=(0,K.yG)(f);return(0,B.e)(function(P,O){(_?(0,M.z)(f,P,_):(0,M.z)(f,P)).subscribe(O)})}},32673:(fe,V,S)=>{S.d(V,{w:()=>r});var M=S(54987),K=S(41944),B=S(93945);function r(y,f){return(0,K.e)(function(g,_){var P=null,O=0,j=!1,v=function(){return j&&!P&&_.complete()};g.subscribe((0,B.x)(_,function(b){P?.unsubscribe();var G=0,z=O++;(0,M.Xf)(y(b,z)).subscribe(P=(0,B.x)(_,function(H){return _.next(f?f(b,H,z,G++):H)},function(){P=null,v()}))},function(){j=!0,v()}))})}},68951:(fe,V,S)=>{S.d(V,{R:()=>y});var M=S(41944),K=S(93945),B=S(54987),r=S(99635);function y(f){return(0,M.e)(function(g,_){(0,B.Xf)(f).subscribe((0,K.x)(_,function(){return _.complete()},r.Z)),!_.closed&&g.subscribe(_)})}},77354:(fe,V,S)=>{S.d(V,{T:()=>r});var M=S(14423),K=S(41944),B=S(93945);function r(){var f=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y;return(0,K.e)(function(g,_){var P=!1;g.subscribe((0,B.x)(_,function(O){P=!0,_.next(O)},function(){return P?_.complete():_.error(f())}))})}function y(){return new M.K}},87580:(fe,V,S)=>{S.d(V,{V:()=>P});var M=S(96936),K=S(97885),B=S(41944),r=S(54987),y=S(27543),f=S(93945),g=S(1817),_=(0,y.d)(function(j){return function(){var b=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;j(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=b}});function P(j,v){var b=(0,K.q)(j)?{first:j}:"number"==typeof j?{each:j}:j,G=b.first,z=b.each,H=b.with,ee=void 0===H?O:H,U=b.scheduler,W=void 0===U?v??M.z:U,Y=b.meta,ae=void 0===Y?null:Y;if(null==G&&null==z)throw new TypeError("No timeout provided.");return(0,B.e)(function(ve,_e){var he,x,R=null,E=0,I=function(D){x=(0,g.f)(_e,W,function(){try{he.unsubscribe(),(0,r.Xf)(ee({meta:ae,lastValue:R,seen:E})).subscribe(_e)}catch(Q){_e.error(Q)}},D)};he=ve.subscribe((0,f.x)(_e,function(L){x?.unsubscribe(),E++,_e.next(R=L),z>0&&I(z)},void 0,void 0,function(){x?.closed||x?.unsubscribe(),R=null})),!E&&I(null!=G?"number"==typeof G?G:+G-W.now():z)})}function O(j){throw new _(j)}},10538:(fe,V,S)=>{S.d(V,{M:()=>_});var M=S(86170),K=S(41944),B=S(93945),r=S(54987),y=S(89173),f=S(99635),g=S(10420);function _(){for(var P=arguments.length,O=new Array(P),j=0;j<P;j++)O[j]=arguments[j];var v=(0,g.jO)(O);return(0,K.e)(function(b,G){for(var z=O.length,H=new Array(z),ee=O.map(function(){return!1}),U=!1,W=function(ve){(0,r.Xf)(O[ve]).subscribe((0,B.x)(G,function(_e){H[ve]=_e,!U&&!ee[ve]&&(ee[ve]=!0,(U=ee.every(y.y))&&(ee=null))},f.Z))},Y=0;Y<z;Y++)W(Y);b.subscribe((0,B.x)(G,function(ae){if(U){var ve=[ae].concat(H);G.next(v?v.apply(void 0,(0,M.Z)(ve)):ve)}}))})}},34915:(fe,V,S)=>{S.d(V,{N:()=>j});var M=S(78069),K=S(48047),B=S(4089),r=S(20265),y=S(24582),f=S(28694),_=function(b){(0,y.Z)(z,b);var G=(0,f.Z)(z);function z(H,ee){var U;return(0,M.Z)(this,z),(U=G.call(this,H,ee)).scheduler=H,U.work=ee,U}return(0,K.Z)(z,[{key:"schedule",value:function(ee){var U=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return U>0?(0,B.Z)((0,r.Z)(z.prototype),"schedule",this).call(this,ee,U):(this.delay=U,this.state=ee,this.scheduler.flush(this),this)}},{key:"execute",value:function(ee,U){return U>0||this.closed?(0,B.Z)((0,r.Z)(z.prototype),"execute",this).call(this,ee,U):this._execute(ee,U)}},{key:"requestAsyncId",value:function(ee,U){var W=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!=W&&W>0||null==W&&this.delay>0?(0,B.Z)((0,r.Z)(z.prototype),"requestAsyncId",this).call(this,ee,U,W):(ee.flush(this),0)}}]),z}(S(75417).o),j=new(function(b){(0,y.Z)(z,b);var G=(0,f.Z)(z);function z(){return(0,M.Z)(this,z),G.apply(this,arguments)}return(0,K.Z)(z)}(S(41010).v))(_)},14423:(fe,V,S)=>{S.d(V,{K:()=>K});var K=(0,S(27543).d)(function(B){return function(){B(this),this.name="EmptyError",this.message="no elements in sequence"}})},73774:(fe,V)=>{var S,M,K,B,r;if(typeof window>"u"||"function"!=typeof MessageChannel){var y=null,f=null,g=function Qe(){if(null!==y)try{var vt=V.unstable_now();y(!0,vt),y=null}catch(et){throw setTimeout(Qe,0),et}},_=Date.now();V.unstable_now=function(){return Date.now()-_},S=function(vt){null!==y?setTimeout(S,0,vt):(y=vt,setTimeout(g,0))},M=function(vt,et){f=setTimeout(vt,et)},K=function(){clearTimeout(f)},B=function(){return!1},r=V.unstable_forceFrameRate=function(){}}else{var P=window.performance,O=window.Date,j=window.setTimeout,v=window.clearTimeout;if(typeof console<"u"){var b=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof b&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof P&&"function"==typeof P.now)V.unstable_now=function(){return P.now()};else{var G=O.now();V.unstable_now=function(){return O.now()-G}}var z=!1,H=null,ee=-1,U=5,W=0;B=function(){return V.unstable_now()>=W},r=function(){},V.unstable_forceFrameRate=function(Qe){0>Qe||125<Qe?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):U=0<Qe?Math.floor(1e3/Qe):5};var Y=new MessageChannel,ae=Y.port2;Y.port1.onmessage=function(){if(null!==H){var Qe=V.unstable_now();W=Qe+U;try{H(!0,Qe)?ae.postMessage(null):(z=!1,H=null)}catch(vt){throw ae.postMessage(null),vt}}else z=!1},S=function(vt){H=vt,z||(z=!0,ae.postMessage(null))},M=function(vt,et){ee=j(function(){vt(V.unstable_now())},et)},K=function(){v(ee),ee=-1}}function ve(Qe,vt){var et=Qe.length;Qe.push(vt);e:for(;;){var je=et-1>>>1,it=Qe[je];if(!(void 0!==it&&0<x(it,vt)))break e;Qe[je]=vt,Qe[et]=it,et=je}}function _e(Qe){return void 0===(Qe=Qe[0])?null:Qe}function he(Qe){var vt=Qe[0];if(void 0!==vt){var et=Qe.pop();if(et!==vt){Qe[0]=et;e:for(var je=0,it=Qe.length;je<it;){var de=2*(je+1)-1,J=Qe[de],oe=de+1,Ae=Qe[oe];if(void 0!==J&&0>x(J,et))void 0!==Ae&&0>x(Ae,J)?(Qe[je]=Ae,Qe[oe]=et,je=oe):(Qe[je]=J,Qe[de]=et,je=de);else{if(!(void 0!==Ae&&0>x(Ae,et)))break e;Qe[je]=Ae,Qe[oe]=et,je=oe}}}return vt}return null}function x(Qe,vt){var et=Qe.sortIndex-vt.sortIndex;return 0!==et?et:Qe.id-vt.id}var R=[],E=[],I=1,L=null,D=3,Q=!1,te=!1,Re=!1;function ne(Qe){for(var vt=_e(E);null!==vt;){if(null===vt.callback)he(E);else{if(!(vt.startTime<=Qe))break;he(E),vt.sortIndex=vt.expirationTime,ve(R,vt)}vt=_e(E)}}function Fe(Qe){if(Re=!1,ne(Qe),!te)if(null!==_e(R))te=!0,S(rt);else{var vt=_e(E);null!==vt&&M(Fe,vt.startTime-Qe)}}function rt(Qe,vt){te=!1,Re&&(Re=!1,K()),Q=!0;var et=D;try{for(ne(vt),L=_e(R);null!==L&&(!(L.expirationTime>vt)||Qe&&!B());){var je=L.callback;if(null!==je){L.callback=null,D=L.priorityLevel;var it=je(L.expirationTime<=vt);vt=V.unstable_now(),"function"==typeof it?L.callback=it:L===_e(R)&&he(R),ne(vt)}else he(R);L=_e(R)}if(null!==L)var de=!0;else{var J=_e(E);null!==J&&M(Fe,J.startTime-vt),de=!1}return de}finally{L=null,D=et,Q=!1}}function Te(Qe){switch(Qe){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var tt=r;V.unstable_IdlePriority=5,V.unstable_ImmediatePriority=1,V.unstable_LowPriority=4,V.unstable_NormalPriority=3,V.unstable_Profiling=null,V.unstable_UserBlockingPriority=2,V.unstable_cancelCallback=function(Qe){Qe.callback=null},V.unstable_continueExecution=function(){te||Q||(te=!0,S(rt))},V.unstable_getCurrentPriorityLevel=function(){return D},V.unstable_getFirstCallbackNode=function(){return _e(R)},V.unstable_next=function(Qe){switch(D){case 1:case 2:case 3:var vt=3;break;default:vt=D}var et=D;D=vt;try{return Qe()}finally{D=et}},V.unstable_pauseExecution=function(){},V.unstable_requestPaint=tt,V.unstable_runWithPriority=function(Qe,vt){switch(Qe){case 1:case 2:case 3:case 4:case 5:break;default:Qe=3}var et=D;D=Qe;try{return vt()}finally{D=et}},V.unstable_scheduleCallback=function(Qe,vt,et){var je=V.unstable_now();if("object"==typeof et&&null!==et){var it=et.delay;it="number"==typeof it&&0<it?je+it:je,et="number"==typeof et.timeout?et.timeout:Te(Qe)}else et=Te(Qe),it=je;return Qe={id:I++,callback:vt,priorityLevel:Qe,startTime:it,expirationTime:et=it+et,sortIndex:-1},it>je?(Qe.sortIndex=it,ve(E,Qe),null===_e(R)&&Qe===_e(E)&&(Re?K():Re=!0,M(Fe,it-je))):(Qe.sortIndex=et,ve(R,Qe),te||Q||(te=!0,S(rt))),Qe},V.unstable_shouldYield=function(){var Qe=V.unstable_now();ne(Qe);var vt=_e(R);return vt!==L&&null!==L&&null!==vt&&null!==vt.callback&&vt.startTime<=Qe&&vt.expirationTime<L.expirationTime||B()},V.unstable_wrapCallback=function(Qe){var vt=D;return function(){var et=D;D=vt;try{return Qe.apply(this,arguments)}finally{D=et}}}},45381:(fe,V,S)=>{fe.exports=S(73774)},87559:(fe,V,S)=>{var M=S(13974),K=S(45051)("selectn"),B=S(75979),r=S(21934),y=Object.prototype.toString;fe.exports=M(function f(g,_){K("arguments:",{path:g,object:_});for(var P=-1,O="[object Array]"===y.call(g)?g:r(B(g)),j=O.length,v=j?_:void 0;++P<j;){if(Object(v)!==v)return;v=v[O[P]]}return K("ref:",v),"function"==typeof v?v():v})},45051:(fe,V,S)=>{function y(){var g;try{g=V.storage.debug}catch{}return!g&&typeof process<"u"&&"env"in process&&(g=process.env.DEBUG),g}(V=fe.exports=S(62133)).log=function B(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},V.formatArgs=function K(g){var _=this.useColors;if(g[0]=(_?"%c":"")+this.namespace+(_?" %c":" ")+g[0]+(_?"%c ":" ")+"+"+V.humanize(this.diff),_){var P="color: "+this.color;g.splice(1,0,P,"color: inherit");var O=0,j=0;g[0].replace(/%[a-zA-Z%]/g,function(v){"%%"!==v&&(O++,"%c"===v&&(j=O))}),g.splice(j,0,P)}},V.save=function r(g){try{null==g?V.storage.removeItem("debug"):V.storage.debug=g}catch{}},V.load=y,V.useColors=function M(){return!!(typeof window<"u"&&window.process&&"renderer"===window.process.type)||typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},V.storage=typeof chrome<"u"&&typeof chrome.storage<"u"?chrome.storage.local:function f(){try{return window.localStorage}catch{}}(),V.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],V.formatters.j=function(g){try{return JSON.stringify(g)}catch(_){return"[UnexpectedJSONParseError]: "+_.message}},V.enable(y())},62133:(fe,V,S)=>{var M;function B(_){function P(){if(P.enabled){var O=P,j=+new Date;O.diff=j-(M||j),O.prev=M,O.curr=j,M=j;for(var b=new Array(arguments.length),G=0;G<b.length;G++)b[G]=arguments[G];b[0]=V.coerce(b[0]),"string"!=typeof b[0]&&b.unshift("%O");var z=0;b[0]=b[0].replace(/%([a-zA-Z%])/g,function(ee,U){if("%%"===ee)return ee;z++;var W=V.formatters[U];return"function"==typeof W&&(ee=W.call(O,b[z]),b.splice(z,1),z--),ee}),V.formatArgs.call(O,b),(P.log||V.log||console.log.bind(console)).apply(O,b)}}return P.namespace=_,P.enabled=V.enabled(_),P.useColors=V.useColors(),P.color=function K(_){var O,P=0;for(O in _)P=(P<<5)-P+_.charCodeAt(O),P|=0;return V.colors[Math.abs(P)%V.colors.length]}(_),"function"==typeof V.init&&V.init(P),P}(V=fe.exports=B.debug=B.default=B).coerce=function g(_){return _ instanceof Error?_.stack||_.message:_},V.disable=function y(){V.enable("")},V.enable=function r(_){V.save(_),V.names=[],V.skips=[];for(var P=("string"==typeof _?_:"").split(/[\s,]+/),O=P.length,j=0;j<O;j++)P[j]&&("-"===(_=P[j].replace(/\*/g,".*?"))[0]?V.skips.push(new RegExp("^"+_.substr(1)+"$")):V.names.push(new RegExp("^"+_+"$")))},V.enabled=function f(_){var P,O;for(P=0,O=V.skips.length;P<O;P++)if(V.skips[P].test(_))return!1;for(P=0,O=V.names.length;P<O;P++)if(V.names[P].test(_))return!0;return!1},V.humanize=S(33007),V.names=[],V.skips=[],V.formatters={}},33007:fe=>{var V=1e3,S=60*V,M=60*S,K=24*M;function g(_,P,O){if(!(_<P))return _<1.5*P?Math.floor(_/P)+" "+O:Math.ceil(_/P)+" "+O+"s"}fe.exports=function(_,P){P=P||{};var O=typeof _;if("string"===O&&_.length>0)return function r(_){if(!((_=String(_)).length>100)){var P=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(_);if(P){var O=parseFloat(P[1]);switch((P[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*O;case"days":case"day":case"d":return O*K;case"hours":case"hour":case"hrs":case"hr":case"h":return O*M;case"minutes":case"minute":case"mins":case"min":case"m":return O*S;case"seconds":case"second":case"secs":case"sec":case"s":return O*V;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return O;default:return}}}}(_);if("number"===O&&!1===isNaN(_))return P.long?function f(_){return g(_,K,"day")||g(_,M,"hour")||g(_,S,"minute")||g(_,V,"second")||_+" ms"}(_):function y(_){return _>=K?Math.round(_/K)+"d":_>=M?Math.round(_/M)+"h":_>=S?Math.round(_/S)+"m":_>=V?Math.round(_/V)+"s":_+"ms"}(_);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(_))}},98432:(fe,V,S)=>{var M=S(79903),K=S(4263),B=S(28597),r=M("%TypeError%"),y=M("%WeakMap%",!0),f=M("%Map%",!0),g=K("WeakMap.prototype.get",!0),_=K("WeakMap.prototype.set",!0),P=K("WeakMap.prototype.has",!0),O=K("Map.prototype.get",!0),j=K("Map.prototype.set",!0),v=K("Map.prototype.has",!0),b=function(U,W){for(var ae,Y=U;null!==(ae=Y.next);Y=ae)if(ae.key===W)return Y.next=ae.next,ae.next=U.next,U.next=ae,ae};fe.exports=function(){var U,W,Y,ae={assert:function(_e){if(!ae.has(_e))throw new r("Side channel does not contain "+B(_e))},get:function(_e){if(y&&_e&&("object"==typeof _e||"function"==typeof _e)){if(U)return g(U,_e)}else if(f){if(W)return O(W,_e)}else if(Y)return function(U,W){var Y=b(U,W);return Y&&Y.value}(Y,_e)},has:function(_e){if(y&&_e&&("object"==typeof _e||"function"==typeof _e)){if(U)return P(U,_e)}else if(f){if(W)return v(W,_e)}else if(Y)return function(U,W){return!!b(U,W)}(Y,_e);return!1},set:function(_e,he){y&&_e&&("object"==typeof _e||"function"==typeof _e)?(U||(U=new y),_(U,_e,he)):f?(W||(W=new f),j(W,_e,he)):(Y||(Y={key:{},next:null}),function(U,W,Y){var ae=b(U,W);ae?ae.value=Y:U.next={key:W,next:U.next,value:Y}}(Y,_e,he))}};return ae}},70574:(fe,V,S)=>{fe.exports=B;var M=S(83358).EventEmitter;function B(){M.call(this)}S(55035)(B,M),B.Readable=S(21591),B.Writable=S(36480),B.Duplex=S(86124),B.Transform=S(869),B.PassThrough=S(5650),B.finished=S(48938),B.pipeline=S(29719),B.Stream=B,B.prototype.pipe=function(r,y){var f=this;function g(G){r.writable&&!1===r.write(G)&&f.pause&&f.pause()}function _(){f.readable&&f.resume&&f.resume()}f.on("data",g),r.on("drain",_),!r._isStdio&&(!y||!1!==y.end)&&(f.on("end",O),f.on("close",j));var P=!1;function O(){P||(P=!0,r.end())}function j(){P||(P=!0,"function"==typeof r.destroy&&r.destroy())}function v(G){if(b(),0===M.listenerCount(this,"error"))throw G}function b(){f.removeListener("data",g),r.removeListener("drain",_),f.removeListener("end",O),f.removeListener("close",j),f.removeListener("error",v),r.removeListener("error",v),f.removeListener("end",b),f.removeListener("close",b),r.removeListener("close",b)}return f.on("error",v),r.on("error",v),f.on("end",b),f.on("close",b),r.on("close",b),r.emit("pipe",f),r}},23803:fe=>{var S={};function M(f,g,_){_||(_=Error);var O=function(j){function v(b,G,z){return j.call(this,function P(j,v,b){return"string"==typeof g?g:g(j,v,b)}(b,G,z))||this}return function V(f,g){f.prototype=Object.create(g.prototype),f.prototype.constructor=f,f.__proto__=g}(v,j),v}(_);O.prototype.name=_.name,O.prototype.code=f,S[f]=O}function K(f,g){if(Array.isArray(f)){var _=f.length;return f=f.map(function(P){return String(P)}),_>2?"one of ".concat(g," ").concat(f.slice(0,_-1).join(", "),", or ")+f[_-1]:2===_?"one of ".concat(g," ").concat(f[0]," or ").concat(f[1]):"of ".concat(g," ").concat(f[0])}return"of ".concat(g," ").concat(String(f))}M("ERR_INVALID_OPT_VALUE",function(f,g){return'The value "'+g+'" is invalid for option "'+f+'"'},TypeError),M("ERR_INVALID_ARG_TYPE",function(f,g,_){var P,O;if("string"==typeof g&&function B(f,g,_){return f.substr(!_||_<0?0:+_,g.length)===g}(g,"not ")?(P="must not be",g=g.replace(/^not /,"")):P="must be",function r(f,g,_){return(void 0===_||_>f.length)&&(_=f.length),f.substring(_-g.length,_)===g}(f," argument"))O="The ".concat(f," ").concat(P," ").concat(K(g,"type"));else{var j=function y(f,g,_){return"number"!=typeof _&&(_=0),!(_+g.length>f.length)&&-1!==f.indexOf(g,_)}(f,".")?"property":"argument";O='The "'.concat(f,'" ').concat(j," ").concat(P," ").concat(K(g,"type"))}return O+". Received type ".concat(typeof _)},TypeError),M("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),M("ERR_METHOD_NOT_IMPLEMENTED",function(f){return"The "+f+" method is not implemented"}),M("ERR_STREAM_PREMATURE_CLOSE","Premature close"),M("ERR_STREAM_DESTROYED",function(f){return"Cannot call "+f+" after a stream was destroyed"}),M("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),M("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),M("ERR_STREAM_WRITE_AFTER_END","write after end"),M("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),M("ERR_UNKNOWN_ENCODING",function(f){return"Unknown encoding: "+f},TypeError),M("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),fe.exports.q=S},86124:(fe,V,S)=>{var M=Object.keys||function(O){var j=[];for(var v in O)j.push(v);return j};fe.exports=g;var K=S(21591),B=S(36480);S(55035)(g,K);for(var r=M(B.prototype),y=0;y<r.length;y++){var f=r[y];g.prototype[f]||(g.prototype[f]=B.prototype[f])}function g(O){if(!(this instanceof g))return new g(O);K.call(this,O),B.call(this,O),this.allowHalfOpen=!0,O&&(!1===O.readable&&(this.readable=!1),!1===O.writable&&(this.writable=!1),!1===O.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",_)))}function _(){this._writableState.ended||process.nextTick(P,this)}function P(O){O.end()}Object.defineProperty(g.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(g.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(g.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(g.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(j){void 0===this._readableState||void 0===this._writableState||(this._readableState.destroyed=j,this._writableState.destroyed=j)}})},5650:(fe,V,S)=>{fe.exports=K;var M=S(869);function K(B){if(!(this instanceof K))return new K(B);M.call(this,B)}S(55035)(K,M),K.prototype._transform=function(B,r,y){y(null,B)}},21591:(fe,V,S)=>{var M;fe.exports=E,E.ReadableState=R,S(83358);var O,B=function(xe,ut){return xe.listeners(ut).length},r=S(55628),y=S(13195).Buffer,f=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},P=S(40964);O=P&&P.debuglog?P.debuglog("stream"):function(){};var Y,ae,ve,j=S(78197),v=S(55767),G=S(8003).getHighWaterMark,z=S(23803).q,H=z.ERR_INVALID_ARG_TYPE,ee=z.ERR_STREAM_PUSH_AFTER_EOF,U=z.ERR_METHOD_NOT_IMPLEMENTED,W=z.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;S(55035)(E,r);var _e=v.errorOrDestroy,he=["error","close","destroy","pause","resume"];function R(pe,xe,ut){M=M||S(86124),"boolean"!=typeof ut&&(ut=xe instanceof M),this.objectMode=!!(pe=pe||{}).objectMode,ut&&(this.objectMode=this.objectMode||!!pe.readableObjectMode),this.highWaterMark=G(this,pe,"readableHighWaterMark",ut),this.buffer=new j,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==pe.emitClose,this.autoDestroy=!!pe.autoDestroy,this.destroyed=!1,this.defaultEncoding=pe.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,pe.encoding&&(Y||(Y=S(4547).s),this.decoder=new Y(pe.encoding),this.encoding=pe.encoding)}function E(pe){if(M=M||S(86124),!(this instanceof E))return new E(pe);this._readableState=new R(pe,this,this instanceof M),this.readable=!0,pe&&("function"==typeof pe.read&&(this._read=pe.read),"function"==typeof pe.destroy&&(this._destroy=pe.destroy)),r.call(this)}function I(pe,xe,ut,be,ce){O("readableAddChunk",xe);var Ie,le=pe._readableState;if(null===xe)le.reading=!1,function ne(pe,xe){if(O("onEofChunk"),!xe.ended){if(xe.decoder){var ut=xe.decoder.end();ut&&ut.length&&(xe.buffer.push(ut),xe.length+=xe.objectMode?1:ut.length)}xe.ended=!0,xe.sync?Fe(pe):(xe.needReadable=!1,xe.emittedReadable||(xe.emittedReadable=!0,rt(pe)))}}(pe,le);else if(ce||(Ie=function D(pe,xe){var ut;return!function _(pe){return y.isBuffer(pe)||pe instanceof f}(xe)&&"string"!=typeof xe&&void 0!==xe&&!pe.objectMode&&(ut=new H("chunk",["string","Buffer","Uint8Array"],xe)),ut}(le,xe)),Ie)_e(pe,Ie);else if(le.objectMode||xe&&xe.length>0)if("string"!=typeof xe&&!le.objectMode&&Object.getPrototypeOf(xe)!==y.prototype&&(xe=function g(pe){return y.from(pe)}(xe)),be)le.endEmitted?_e(pe,new W):L(pe,le,xe,!0);else if(le.ended)_e(pe,new ee);else{if(le.destroyed)return!1;le.reading=!1,le.decoder&&!ut?(xe=le.decoder.write(xe),le.objectMode||0!==xe.length?L(pe,le,xe,!1):Te(pe,le)):L(pe,le,xe,!1)}else be||(le.reading=!1,Te(pe,le));return!le.ended&&(le.length<le.highWaterMark||0===le.length)}function L(pe,xe,ut,be){xe.flowing&&0===xe.length&&!xe.sync?(xe.awaitDrain=0,pe.emit("data",ut)):(xe.length+=xe.objectMode?1:ut.length,be?xe.buffer.unshift(ut):xe.buffer.push(ut),xe.needReadable&&Fe(pe)),Te(pe,xe)}Object.defineProperty(E.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(xe){this._readableState&&(this._readableState.destroyed=xe)}}),E.prototype.destroy=v.destroy,E.prototype._undestroy=v.undestroy,E.prototype._destroy=function(pe,xe){xe(pe)},E.prototype.push=function(pe,xe){var be,ut=this._readableState;return ut.objectMode?be=!0:"string"==typeof pe&&((xe=xe||ut.defaultEncoding)!==ut.encoding&&(pe=y.from(pe,xe),xe=""),be=!0),I(this,pe,xe,!1,be)},E.prototype.unshift=function(pe){return I(this,pe,null,!0,!1)},E.prototype.isPaused=function(){return!1===this._readableState.flowing},E.prototype.setEncoding=function(pe){Y||(Y=S(4547).s);var xe=new Y(pe);this._readableState.decoder=xe,this._readableState.encoding=this._readableState.decoder.encoding;for(var ut=this._readableState.buffer.head,be="";null!==ut;)be+=xe.write(ut.data),ut=ut.next;return this._readableState.buffer.clear(),""!==be&&this._readableState.buffer.push(be),this._readableState.length=be.length,this};var Q=1073741824;function Re(pe,xe){return pe<=0||0===xe.length&&xe.ended?0:xe.objectMode?1:pe!=pe?xe.flowing&&xe.length?xe.buffer.head.data.length:xe.length:(pe>xe.highWaterMark&&(xe.highWaterMark=function te(pe){return pe>=Q?pe=Q:(pe--,pe|=pe>>>1,pe|=pe>>>2,pe|=pe>>>4,pe|=pe>>>8,pe|=pe>>>16,pe++),pe}(pe)),pe<=xe.length?pe:xe.ended?xe.length:(xe.needReadable=!0,0))}function Fe(pe){var xe=pe._readableState;O("emitReadable",xe.needReadable,xe.emittedReadable),xe.needReadable=!1,xe.emittedReadable||(O("emitReadable",xe.flowing),xe.emittedReadable=!0,process.nextTick(rt,pe))}function rt(pe){var xe=pe._readableState;O("emitReadable_",xe.destroyed,xe.length,xe.ended),!xe.destroyed&&(xe.length||xe.ended)&&(pe.emit("readable"),xe.emittedReadable=!1),xe.needReadable=!xe.flowing&&!xe.ended&&xe.length<=xe.highWaterMark,de(pe)}function Te(pe,xe){xe.readingMore||(xe.readingMore=!0,process.nextTick(tt,pe,xe))}function tt(pe,xe){for(;!xe.reading&&!xe.ended&&(xe.length<xe.highWaterMark||xe.flowing&&0===xe.length);){var ut=xe.length;if(O("maybeReadMore read 0"),pe.read(0),ut===xe.length)break}xe.readingMore=!1}function vt(pe){var xe=pe._readableState;xe.readableListening=pe.listenerCount("readable")>0,xe.resumeScheduled&&!xe.paused?xe.flowing=!0:pe.listenerCount("data")>0&&pe.resume()}function et(pe){O("readable nexttick read 0"),pe.read(0)}function it(pe,xe){O("resume",xe.reading),xe.reading||pe.read(0),xe.resumeScheduled=!1,pe.emit("resume"),de(pe),xe.flowing&&!xe.reading&&pe.read(0)}function de(pe){var xe=pe._readableState;for(O("flow",xe.flowing);xe.flowing&&null!==pe.read(););}function J(pe,xe){return 0===xe.length?null:(xe.objectMode?ut=xe.buffer.shift():!pe||pe>=xe.length?(ut=xe.decoder?xe.buffer.join(""):1===xe.buffer.length?xe.buffer.first():xe.buffer.concat(xe.length),xe.buffer.clear()):ut=xe.buffer.consume(pe,xe.decoder),ut);var ut}function oe(pe){var xe=pe._readableState;O("endReadable",xe.endEmitted),xe.endEmitted||(xe.ended=!0,process.nextTick(Ae,xe,pe))}function Ae(pe,xe){if(O("endReadableNT",pe.endEmitted,pe.length),!pe.endEmitted&&0===pe.length&&(pe.endEmitted=!0,xe.readable=!1,xe.emit("end"),pe.autoDestroy)){var ut=xe._writableState;(!ut||ut.autoDestroy&&ut.finished)&&xe.destroy()}}function Ne(pe,xe){for(var ut=0,be=pe.length;ut<be;ut++)if(pe[ut]===xe)return ut;return-1}E.prototype.read=function(pe){O("read",pe),pe=parseInt(pe,10);var xe=this._readableState,ut=pe;if(0!==pe&&(xe.emittedReadable=!1),0===pe&&xe.needReadable&&((0!==xe.highWaterMark?xe.length>=xe.highWaterMark:xe.length>0)||xe.ended))return O("read: emitReadable",xe.length,xe.ended),0===xe.length&&xe.ended?oe(this):Fe(this),null;if(0===(pe=Re(pe,xe))&&xe.ended)return 0===xe.length&&oe(this),null;var ce,be=xe.needReadable;return O("need readable",be),(0===xe.length||xe.length-pe<xe.highWaterMark)&&O("length less than watermark",be=!0),xe.ended||xe.reading?O("reading or ended",be=!1):be&&(O("do read"),xe.reading=!0,xe.sync=!0,0===xe.length&&(xe.needReadable=!0),this._read(xe.highWaterMark),xe.sync=!1,xe.reading||(pe=Re(ut,xe))),null===(ce=pe>0?J(pe,xe):null)?(xe.needReadable=xe.length<=xe.highWaterMark,pe=0):(xe.length-=pe,xe.awaitDrain=0),0===xe.length&&(xe.ended||(xe.needReadable=!0),ut!==pe&&xe.ended&&oe(this)),null!==ce&&this.emit("data",ce),ce},E.prototype._read=function(pe){_e(this,new U("_read()"))},E.prototype.pipe=function(pe,xe){var ut=this,be=this._readableState;switch(be.pipesCount){case 0:be.pipes=pe;break;case 1:be.pipes=[be.pipes,pe];break;default:be.pipes.push(pe)}be.pipesCount+=1,O("pipe count=%d opts=%j",be.pipesCount,xe);var le=xe&&!1===xe.end||pe===process.stdout||pe===process.stderr?De:at;function at(){O("onend"),pe.end()}be.endEmitted?process.nextTick(le):ut.once("end",le),pe.on("unpipe",function Ie(Br,ar){O("onunpipe"),Br===ut&&ar&&!1===ar.hasUnpiped&&(ar.hasUnpiped=!0,function zt(){O("cleanup"),pe.removeListener("close",Kn),pe.removeListener("finish",Un),pe.removeListener("drain",Tt),pe.removeListener("error",Xt),pe.removeListener("unpipe",Ie),ut.removeListener("end",at),ut.removeListener("end",De),ut.removeListener("data",un),Vt=!0,be.awaitDrain&&(!pe._writableState||pe._writableState.needDrain)&&Tt()}())});var Tt=function Qe(pe){return function(){var ut=pe._readableState;O("pipeOnDrain",ut.awaitDrain),ut.awaitDrain&&ut.awaitDrain--,0===ut.awaitDrain&&B(pe,"data")&&(ut.flowing=!0,de(pe))}}(ut);pe.on("drain",Tt);var Vt=!1;function un(Br){O("ondata");var ar=pe.write(Br);O("dest.write",ar),!1===ar&&((1===be.pipesCount&&be.pipes===pe||be.pipesCount>1&&-1!==Ne(be.pipes,pe))&&!Vt&&(O("false write response, pause",be.awaitDrain),be.awaitDrain++),ut.pause())}function Xt(Br){O("onerror",Br),De(),pe.removeListener("error",Xt),0===B(pe,"error")&&_e(pe,Br)}function Kn(){pe.removeListener("finish",Un),De()}function Un(){O("onfinish"),pe.removeListener("close",Kn),De()}function De(){O("unpipe"),ut.unpipe(pe)}return ut.on("data",un),function x(pe,xe,ut){if("function"==typeof pe.prependListener)return pe.prependListener(xe,ut);pe._events&&pe._events[xe]?Array.isArray(pe._events[xe])?pe._events[xe].unshift(ut):pe._events[xe]=[ut,pe._events[xe]]:pe.on(xe,ut)}(pe,"error",Xt),pe.once("close",Kn),pe.once("finish",Un),pe.emit("pipe",ut),be.flowing||(O("pipe resume"),ut.resume()),pe},E.prototype.unpipe=function(pe){var xe=this._readableState,ut={hasUnpiped:!1};if(0===xe.pipesCount)return this;if(1===xe.pipesCount)return pe&&pe!==xe.pipes||(pe||(pe=xe.pipes),xe.pipes=null,xe.pipesCount=0,xe.flowing=!1,pe&&pe.emit("unpipe",this,ut)),this;if(!pe){var be=xe.pipes,ce=xe.pipesCount;xe.pipes=null,xe.pipesCount=0,xe.flowing=!1;for(var le=0;le<ce;le++)be[le].emit("unpipe",this,{hasUnpiped:!1});return this}var Ie=Ne(xe.pipes,pe);return-1===Ie||(xe.pipes.splice(Ie,1),xe.pipesCount-=1,1===xe.pipesCount&&(xe.pipes=xe.pipes[0]),pe.emit("unpipe",this,ut)),this},E.prototype.addListener=E.prototype.on=function(pe,xe){var ut=r.prototype.on.call(this,pe,xe),be=this._readableState;return"data"===pe?(be.readableListening=this.listenerCount("readable")>0,!1!==be.flowing&&this.resume()):"readable"===pe&&!be.endEmitted&&!be.readableListening&&(be.readableListening=be.needReadable=!0,be.flowing=!1,be.emittedReadable=!1,O("on readable",be.length,be.reading),be.length?Fe(this):be.reading||process.nextTick(et,this)),ut},E.prototype.removeListener=function(pe,xe){var ut=r.prototype.removeListener.call(this,pe,xe);return"readable"===pe&&process.nextTick(vt,this),ut},E.prototype.removeAllListeners=function(pe){var xe=r.prototype.removeAllListeners.apply(this,arguments);return("readable"===pe||void 0===pe)&&process.nextTick(vt,this),xe},E.prototype.resume=function(){var pe=this._readableState;return pe.flowing||(O("resume"),pe.flowing=!pe.readableListening,function je(pe,xe){xe.resumeScheduled||(xe.resumeScheduled=!0,process.nextTick(it,pe,xe))}(this,pe)),pe.paused=!1,this},E.prototype.pause=function(){return O("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(O("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},E.prototype.wrap=function(pe){var xe=this,ut=this._readableState,be=!1;for(var ce in pe.on("end",function(){if(O("wrapped end"),ut.decoder&&!ut.ended){var Ie=ut.decoder.end();Ie&&Ie.length&&xe.push(Ie)}xe.push(null)}),pe.on("data",function(Ie){O("wrapped data"),ut.decoder&&(Ie=ut.decoder.write(Ie)),ut.objectMode&&null==Ie||!(ut.objectMode||Ie&&Ie.length)||xe.push(Ie)||(be=!0,pe.pause())}),pe)void 0===this[ce]&&"function"==typeof pe[ce]&&(this[ce]=function(at){return function(){return pe[at].apply(pe,arguments)}}(ce));for(var le=0;le<he.length;le++)pe.on(he[le],this.emit.bind(this,he[le]));return this._read=function(Ie){O("wrapped _read",Ie),be&&(be=!1,pe.resume())},this},"function"==typeof Symbol&&(E.prototype[Symbol.asyncIterator]=function(){return void 0===ae&&(ae=S(78878)),ae(this)}),Object.defineProperty(E.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(E.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(E.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(xe){this._readableState&&(this._readableState.flowing=xe)}}),E._fromList=J,Object.defineProperty(E.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(E.from=function(pe,xe){return void 0===ve&&(ve=S(39586)),ve(E,pe,xe)})},869:(fe,V,S)=>{fe.exports=_;var M=S(23803).q,K=M.ERR_METHOD_NOT_IMPLEMENTED,B=M.ERR_MULTIPLE_CALLBACK,r=M.ERR_TRANSFORM_ALREADY_TRANSFORMING,y=M.ERR_TRANSFORM_WITH_LENGTH_0,f=S(86124);function g(j,v){var b=this._transformState;b.transforming=!1;var G=b.writecb;if(null===G)return this.emit("error",new B);b.writechunk=null,b.writecb=null,null!=v&&this.push(v),G(j);var z=this._readableState;z.reading=!1,(z.needReadable||z.length<z.highWaterMark)&&this._read(z.highWaterMark)}function _(j){if(!(this instanceof _))return new _(j);f.call(this,j),this._transformState={afterTransform:g.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,j&&("function"==typeof j.transform&&(this._transform=j.transform),"function"==typeof j.flush&&(this._flush=j.flush)),this.on("prefinish",P)}function P(){var j=this;"function"!=typeof this._flush||this._readableState.destroyed?O(this,null,null):this._flush(function(v,b){O(j,v,b)})}function O(j,v,b){if(v)return j.emit("error",v);if(null!=b&&j.push(b),j._writableState.length)throw new y;if(j._transformState.transforming)throw new r;return j.push(null)}S(55035)(_,f),_.prototype.push=function(j,v){return this._transformState.needTransform=!1,f.prototype.push.call(this,j,v)},_.prototype._transform=function(j,v,b){b(new K("_transform()"))},_.prototype._write=function(j,v,b){var G=this._transformState;if(G.writecb=b,G.writechunk=j,G.writeencoding=v,!G.transforming){var z=this._readableState;(G.needTransform||z.needReadable||z.length<z.highWaterMark)&&this._read(z.highWaterMark)}},_.prototype._read=function(j){var v=this._transformState;null===v.writechunk||v.transforming?v.needTransform=!0:(v.transforming=!0,this._transform(v.writechunk,v.writeencoding,v.afterTransform))},_.prototype._destroy=function(j,v){f.prototype._destroy.call(this,j,function(b){v(b)})}},36480:(fe,V,S)=>{function K(de){var J=this;this.next=null,this.entry=null,this.finish=function(){!function it(de,J,oe){var Ae=de.entry;for(de.entry=null;Ae;){var Ne=Ae.callback;J.pendingcb--,Ne(oe),Ae=Ae.next}J.corkedRequestsFree.next=de}(J,de)}}var B;fe.exports=R,R.WritableState=he;var x,r={deprecate:S(38059)},y=S(55628),f=S(13195).Buffer,g=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},O=S(55767),v=S(8003).getHighWaterMark,b=S(23803).q,G=b.ERR_INVALID_ARG_TYPE,z=b.ERR_METHOD_NOT_IMPLEMENTED,H=b.ERR_MULTIPLE_CALLBACK,ee=b.ERR_STREAM_CANNOT_PIPE,U=b.ERR_STREAM_DESTROYED,W=b.ERR_STREAM_NULL_VALUES,Y=b.ERR_STREAM_WRITE_AFTER_END,ae=b.ERR_UNKNOWN_ENCODING,ve=O.errorOrDestroy;function _e(){}function he(de,J,oe){B=B||S(86124),"boolean"!=typeof oe&&(oe=J instanceof B),this.objectMode=!!(de=de||{}).objectMode,oe&&(this.objectMode=this.objectMode||!!de.writableObjectMode),this.highWaterMark=v(this,de,"writableHighWaterMark",oe),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1,this.decodeStrings=!(!1===de.decodeStrings),this.defaultEncoding=de.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Ne){!function ne(de,J){var oe=de._writableState,Ae=oe.sync,Ne=oe.writecb;if("function"!=typeof Ne)throw new H;if(function Re(de){de.writing=!1,de.writecb=null,de.length-=de.writelen,de.writelen=0}(oe),J)!function te(de,J,oe,Ae,Ne){--J.pendingcb,oe?(process.nextTick(Ne,Ae),process.nextTick(et,de,J),de._writableState.errorEmitted=!0,ve(de,Ae)):(Ne(Ae),de._writableState.errorEmitted=!0,ve(de,Ae),et(de,J))}(de,oe,Ae,J,Ne);else{var pe=tt(oe)||de.destroyed;!pe&&!oe.corked&&!oe.bufferProcessing&&oe.bufferedRequest&&Te(de,oe),Ae?process.nextTick(Fe,de,oe,pe,Ne):Fe(de,oe,pe,Ne)}}(J,Ne)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==de.emitClose,this.autoDestroy=!!de.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new K(this)}function R(de){var J=this instanceof(B=B||S(86124));if(!J&&!x.call(R,this))return new R(de);this._writableState=new he(de,this,J),this.writable=!0,de&&("function"==typeof de.write&&(this._write=de.write),"function"==typeof de.writev&&(this._writev=de.writev),"function"==typeof de.destroy&&(this._destroy=de.destroy),"function"==typeof de.final&&(this._final=de.final)),y.call(this)}function Q(de,J,oe,Ae,Ne,pe,xe){J.writelen=Ae,J.writecb=xe,J.writing=!0,J.sync=!0,J.destroyed?J.onwrite(new U("write")):oe?de._writev(Ne,J.onwrite):de._write(Ne,pe,J.onwrite),J.sync=!1}function Fe(de,J,oe,Ae){oe||function rt(de,J){0===J.length&&J.needDrain&&(J.needDrain=!1,de.emit("drain"))}(de,J),J.pendingcb--,Ae(),et(de,J)}function Te(de,J){J.bufferProcessing=!0;var oe=J.bufferedRequest;if(de._writev&&oe&&oe.next){var Ne=new Array(J.bufferedRequestCount),pe=J.corkedRequestsFree;pe.entry=oe;for(var xe=0,ut=!0;oe;)Ne[xe]=oe,oe.isBuf||(ut=!1),oe=oe.next,xe+=1;Ne.allBuffers=ut,Q(de,J,!0,J.length,Ne,"",pe.finish),J.pendingcb++,J.lastBufferedRequest=null,pe.next?(J.corkedRequestsFree=pe.next,pe.next=null):J.corkedRequestsFree=new K(J),J.bufferedRequestCount=0}else{for(;oe;){var be=oe.chunk;if(Q(de,J,!1,J.objectMode?1:be.length,be,oe.encoding,oe.callback),oe=oe.next,J.bufferedRequestCount--,J.writing)break}null===oe&&(J.lastBufferedRequest=null)}J.bufferedRequest=oe,J.bufferProcessing=!1}function tt(de){return de.ending&&0===de.length&&null===de.bufferedRequest&&!de.finished&&!de.writing}function Qe(de,J){de._final(function(oe){J.pendingcb--,oe&&ve(de,oe),J.prefinished=!0,de.emit("prefinish"),et(de,J)})}function et(de,J){var oe=tt(J);if(oe&&(function vt(de,J){!J.prefinished&&!J.finalCalled&&("function"!=typeof de._final||J.destroyed?(J.prefinished=!0,de.emit("prefinish")):(J.pendingcb++,J.finalCalled=!0,process.nextTick(Qe,de,J)))}(de,J),0===J.pendingcb&&(J.finished=!0,de.emit("finish"),J.autoDestroy))){var Ae=de._readableState;(!Ae||Ae.autoDestroy&&Ae.endEmitted)&&de.destroy()}return oe}S(55035)(R,y),he.prototype.getBuffer=function(){for(var J=this.bufferedRequest,oe=[];J;)oe.push(J),J=J.next;return oe},function(){try{Object.defineProperty(he.prototype,"buffer",{get:r.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(x=Function.prototype[Symbol.hasInstance],Object.defineProperty(R,Symbol.hasInstance,{value:function(J){return!!x.call(this,J)||this===R&&J&&J._writableState instanceof he}})):x=function(J){return J instanceof this},R.prototype.pipe=function(){ve(this,new ee)},R.prototype.write=function(de,J,oe){var Ae=this._writableState,Ne=!1,pe=!Ae.objectMode&&function P(de){return f.isBuffer(de)||de instanceof g}(de);return pe&&!f.isBuffer(de)&&(de=function _(de){return f.from(de)}(de)),"function"==typeof J&&(oe=J,J=null),pe?J="buffer":J||(J=Ae.defaultEncoding),"function"!=typeof oe&&(oe=_e),Ae.ending?function E(de,J){var oe=new Y;ve(de,oe),process.nextTick(J,oe)}(this,oe):(pe||function I(de,J,oe,Ae){var Ne;return null===oe?Ne=new W:"string"!=typeof oe&&!J.objectMode&&(Ne=new G("chunk",["string","Buffer"],oe)),!Ne||(ve(de,Ne),process.nextTick(Ae,Ne),!1)}(this,Ae,de,oe))&&(Ae.pendingcb++,Ne=function D(de,J,oe,Ae,Ne,pe){if(!oe){var xe=function L(de,J,oe){return!de.objectMode&&!1!==de.decodeStrings&&"string"==typeof J&&(J=f.from(J,oe)),J}(J,Ae,Ne);Ae!==xe&&(oe=!0,Ne="buffer",Ae=xe)}var ut=J.objectMode?1:Ae.length;J.length+=ut;var be=J.length<J.highWaterMark;if(be||(J.needDrain=!0),J.writing||J.corked){var ce=J.lastBufferedRequest;J.lastBufferedRequest={chunk:Ae,encoding:Ne,isBuf:oe,callback:pe,next:null},ce?ce.next=J.lastBufferedRequest:J.bufferedRequest=J.lastBufferedRequest,J.bufferedRequestCount+=1}else Q(de,J,!1,ut,Ae,Ne,pe);return be}(this,Ae,pe,de,J,oe)),Ne},R.prototype.cork=function(){this._writableState.corked++},R.prototype.uncork=function(){var de=this._writableState;de.corked&&(de.corked--,!de.writing&&!de.corked&&!de.bufferProcessing&&de.bufferedRequest&&Te(this,de))},R.prototype.setDefaultEncoding=function(J){if("string"==typeof J&&(J=J.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((J+"").toLowerCase())>-1))throw new ae(J);return this._writableState.defaultEncoding=J,this},Object.defineProperty(R.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(R.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),R.prototype._write=function(de,J,oe){oe(new z("_write()"))},R.prototype._writev=null,R.prototype.end=function(de,J,oe){var Ae=this._writableState;return"function"==typeof de?(oe=de,de=null,J=null):"function"==typeof J&&(oe=J,J=null),null!=de&&this.write(de,J),Ae.corked&&(Ae.corked=1,this.uncork()),Ae.ending||function je(de,J,oe){J.ending=!0,et(de,J),oe&&(J.finished?process.nextTick(oe):de.once("finish",oe)),J.ended=!0,de.writable=!1}(this,Ae,oe),this},Object.defineProperty(R.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(R.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(J){this._writableState&&(this._writableState.destroyed=J)}}),R.prototype.destroy=O.destroy,R.prototype._undestroy=O.undestroy,R.prototype._destroy=function(de,J){J(de)}},78878:(fe,V,S)=>{var M;function K(Y,ae,ve){return ae=function B(Y){var ae=function r(Y,ae){if("object"!=typeof Y||null===Y)return Y;var ve=Y[Symbol.toPrimitive];if(void 0!==ve){var _e=ve.call(Y,ae||"default");if("object"!=typeof _e)return _e;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===ae?String:Number)(Y)}(Y,"string");return"symbol"==typeof ae?ae:String(ae)}(ae),ae in Y?Object.defineProperty(Y,ae,{value:ve,enumerable:!0,configurable:!0,writable:!0}):Y[ae]=ve,Y}var y=S(48938),f=Symbol("lastResolve"),g=Symbol("lastReject"),_=Symbol("error"),P=Symbol("ended"),O=Symbol("lastPromise"),j=Symbol("handlePromise"),v=Symbol("stream");function b(Y,ae){return{value:Y,done:ae}}function G(Y){var ae=Y[f];if(null!==ae){var ve=Y[v].read();null!==ve&&(Y[O]=null,Y[f]=null,Y[g]=null,ae(b(ve,!1)))}}function z(Y){process.nextTick(G,Y)}var ee=Object.getPrototypeOf(function(){}),U=Object.setPrototypeOf((K(M={get stream(){return this[v]},next:function(){var ae=this,ve=this[_];if(null!==ve)return Promise.reject(ve);if(this[P])return Promise.resolve(b(void 0,!0));if(this[v].destroyed)return new Promise(function(R,E){process.nextTick(function(){ae[_]?E(ae[_]):R(b(void 0,!0))})});var he,_e=this[O];if(_e)he=new Promise(function H(Y,ae){return function(ve,_e){Y.then(function(){ae[P]?ve(b(void 0,!0)):ae[j](ve,_e)},_e)}}(_e,this));else{var x=this[v].read();if(null!==x)return Promise.resolve(b(x,!1));he=new Promise(this[j])}return this[O]=he,he}},Symbol.asyncIterator,function(){return this}),K(M,"return",function(){var ae=this;return new Promise(function(ve,_e){ae[v].destroy(null,function(he){he?_e(he):ve(b(void 0,!0))})})}),M),ee);fe.exports=function(ae){var ve,_e=Object.create(U,(K(ve={},v,{value:ae,writable:!0}),K(ve,f,{value:null,writable:!0}),K(ve,g,{value:null,writable:!0}),K(ve,_,{value:null,writable:!0}),K(ve,P,{value:ae._readableState.endEmitted,writable:!0}),K(ve,j,{value:function(x,R){var E=_e[v].read();E?(_e[O]=null,_e[f]=null,_e[g]=null,x(b(E,!1))):(_e[f]=x,_e[g]=R)},writable:!0}),ve));return _e[O]=null,y(ae,function(he){if(he&&"ERR_STREAM_PREMATURE_CLOSE"!==he.code){var x=_e[g];return null!==x&&(_e[O]=null,_e[f]=null,_e[g]=null,x(he)),void(_e[_]=he)}var R=_e[f];null!==R&&(_e[O]=null,_e[f]=null,_e[g]=null,R(b(void 0,!0))),_e[P]=!0}),ae.on("readable",z.bind(null,_e)),_e}},78197:(fe,V,S)=>{function M(z,H){var ee=Object.keys(z);if(Object.getOwnPropertySymbols){var U=Object.getOwnPropertySymbols(z);H&&(U=U.filter(function(W){return Object.getOwnPropertyDescriptor(z,W).enumerable})),ee.push.apply(ee,U)}return ee}function K(z){for(var H=1;H<arguments.length;H++){var ee=null!=arguments[H]?arguments[H]:{};H%2?M(Object(ee),!0).forEach(function(U){B(z,U,ee[U])}):Object.getOwnPropertyDescriptors?Object.defineProperties(z,Object.getOwnPropertyDescriptors(ee)):M(Object(ee)).forEach(function(U){Object.defineProperty(z,U,Object.getOwnPropertyDescriptor(ee,U))})}return z}function B(z,H,ee){return(H=g(H))in z?Object.defineProperty(z,H,{value:ee,enumerable:!0,configurable:!0,writable:!0}):z[H]=ee,z}function y(z,H){for(var ee=0;ee<H.length;ee++){var U=H[ee];U.enumerable=U.enumerable||!1,U.configurable=!0,"value"in U&&(U.writable=!0),Object.defineProperty(z,g(U.key),U)}}function g(z){var H=function _(z,H){if("object"!=typeof z||null===z)return z;var ee=z[Symbol.toPrimitive];if(void 0!==ee){var U=ee.call(z,H||"default");if("object"!=typeof U)return U;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===H?String:Number)(z)}(z,"string");return"symbol"==typeof H?H:String(H)}var O=S(13195).Buffer,v=S(69862).inspect,b=v&&v.custom||"inspect";function G(z,H,ee){O.prototype.copy.call(z,H,ee)}fe.exports=function(){function z(){(function r(z,H){if(!(z instanceof H))throw new TypeError("Cannot call a class as a function")})(this,z),this.head=null,this.tail=null,this.length=0}return function f(z,H,ee){H&&y(z.prototype,H),ee&&y(z,ee),Object.defineProperty(z,"prototype",{writable:!1})}(z,[{key:"push",value:function(ee){var U={data:ee,next:null};this.length>0?this.tail.next=U:this.head=U,this.tail=U,++this.length}},{key:"unshift",value:function(ee){var U={data:ee,next:this.head};0===this.length&&(this.tail=U),this.head=U,++this.length}},{key:"shift",value:function(){if(0!==this.length){var ee=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,ee}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(ee){if(0===this.length)return"";for(var U=this.head,W=""+U.data;U=U.next;)W+=ee+U.data;return W}},{key:"concat",value:function(ee){if(0===this.length)return O.alloc(0);for(var U=O.allocUnsafe(ee>>>0),W=this.head,Y=0;W;)G(W.data,U,Y),Y+=W.data.length,W=W.next;return U}},{key:"consume",value:function(ee,U){var W;return ee<this.head.data.length?(W=this.head.data.slice(0,ee),this.head.data=this.head.data.slice(ee)):W=ee===this.head.data.length?this.shift():U?this._getString(ee):this._getBuffer(ee),W}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(ee){var U=this.head,W=1,Y=U.data;for(ee-=Y.length;U=U.next;){var ae=U.data,ve=ee>ae.length?ae.length:ee;if(Y+=ve===ae.length?ae:ae.slice(0,ee),0==(ee-=ve)){ve===ae.length?(++W,this.head=U.next?U.next:this.tail=null):(this.head=U,U.data=ae.slice(ve));break}++W}return this.length-=W,Y}},{key:"_getBuffer",value:function(ee){var U=O.allocUnsafe(ee),W=this.head,Y=1;for(W.data.copy(U),ee-=W.data.length;W=W.next;){var ae=W.data,ve=ee>ae.length?ae.length:ee;if(ae.copy(U,U.length-ee,0,ve),0==(ee-=ve)){ve===ae.length?(++Y,this.head=W.next?W.next:this.tail=null):(this.head=W,W.data=ae.slice(ve));break}++Y}return this.length-=Y,U}},{key:b,value:function(ee,U){return v(this,K(K({},U),{},{depth:0,customInspect:!1}))}}]),z}()},55767:fe=>{function S(y,f){B(y,f),M(y)}function M(y){y._writableState&&!y._writableState.emitClose||y._readableState&&!y._readableState.emitClose||y.emit("close")}function B(y,f){y.emit("error",f)}fe.exports={destroy:function V(y,f){var g=this;return this._readableState&&this._readableState.destroyed||this._writableState&&this._writableState.destroyed?(f?f(y):y&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(B,this,y)):process.nextTick(B,this,y)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(y||null,function(O){!f&&O?g._writableState?g._writableState.errorEmitted?process.nextTick(M,g):(g._writableState.errorEmitted=!0,process.nextTick(S,g,O)):process.nextTick(S,g,O):f?(process.nextTick(M,g),f(O)):process.nextTick(M,g)}),this)},undestroy:function K(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function r(y,f){var g=y._readableState,_=y._writableState;g&&g.autoDestroy||_&&_.autoDestroy?y.destroy(f):y.emit("error",f)}}},48938:(fe,V,S)=>{var M=S(23803).q.ERR_STREAM_PREMATURE_CLOSE;function B(){}fe.exports=function y(f,g,_){if("function"==typeof g)return y(f,null,g);g||(g={}),_=function K(f){var g=!1;return function(){if(!g){g=!0;for(var _=arguments.length,P=new Array(_),O=0;O<_;O++)P[O]=arguments[O];f.apply(this,P)}}}(_||B);var P=g.readable||!1!==g.readable&&f.readable,O=g.writable||!1!==g.writable&&f.writable,j=function(){f.writable||b()},v=f._writableState&&f._writableState.finished,b=function(){O=!1,v=!0,P||_.call(f)},G=f._readableState&&f._readableState.endEmitted,z=function(){P=!1,G=!0,O||_.call(f)},H=function(Y){_.call(f,Y)},ee=function(){var Y;return P&&!G?((!f._readableState||!f._readableState.ended)&&(Y=new M),_.call(f,Y)):O&&!v?((!f._writableState||!f._writableState.ended)&&(Y=new M),_.call(f,Y)):void 0},U=function(){f.req.on("finish",b)};return function r(f){return f.setHeader&&"function"==typeof f.abort}(f)?(f.on("complete",b),f.on("abort",ee),f.req?U():f.on("request",U)):O&&!f._writableState&&(f.on("end",j),f.on("close",j)),f.on("end",z),f.on("finish",b),!1!==g.error&&f.on("error",H),f.on("close",ee),function(){f.removeListener("complete",b),f.removeListener("abort",ee),f.removeListener("request",U),f.req&&f.req.removeListener("finish",b),f.removeListener("end",j),f.removeListener("close",j),f.removeListener("finish",b),f.removeListener("end",z),f.removeListener("error",H),f.removeListener("close",ee)}}},39586:fe=>{fe.exports=function(){throw new Error("Readable.from is not available in the browser")}},29719:(fe,V,S)=>{var M,B=S(23803).q,r=B.ERR_MISSING_ARGS,y=B.ERR_STREAM_DESTROYED;function f(b){if(b)throw b}function P(b){b()}function O(b,G){return b.pipe(G)}fe.exports=function v(){for(var b=arguments.length,G=new Array(b),z=0;z<b;z++)G[z]=arguments[z];var H=function j(b){return b.length&&"function"==typeof b[b.length-1]?b.pop():f}(G);if(Array.isArray(G[0])&&(G=G[0]),G.length<2)throw new r("streams");var ee,U=G.map(function(W,Y){var ae=Y<G.length-1;return function _(b,G,z,H){H=function K(b){var G=!1;return function(){G||(G=!0,b.apply(void 0,arguments))}}(H);var ee=!1;b.on("close",function(){ee=!0}),void 0===M&&(M=S(48938)),M(b,{readable:G,writable:z},function(W){if(W)return H(W);ee=!0,H()});var U=!1;return function(W){if(!ee&&!U){if(U=!0,function g(b){return b.setHeader&&"function"==typeof b.abort}(b))return b.abort();if("function"==typeof b.destroy)return b.destroy();H(W||new y("pipe"))}}}(W,ae,Y>0,function(_e){ee||(ee=_e),_e&&U.forEach(P),!ae&&(U.forEach(P),H(ee))})});return G.reduce(O)}},8003:(fe,V,S)=>{var M=S(23803).q.ERR_INVALID_OPT_VALUE;fe.exports={getHighWaterMark:function B(r,y,f,g){var _=function K(r,y,f){return null!=r.highWaterMark?r.highWaterMark:y?r[f]:null}(y,g,f);if(null!=_){if(!isFinite(_)||Math.floor(_)!==_||_<0)throw new M(g?f:"highWaterMark",_);return Math.floor(_)}return r.objectMode?16:16384}}},55628:(fe,V,S)=>{fe.exports=S(83358).EventEmitter},4547:(fe,V,S)=>{var M=S(57475).Buffer,K=M.isEncoding||function(U){switch((U=""+U)&&U.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function y(U){var W;switch(this.encoding=function r(U){var W=function B(U){if(!U)return"utf8";for(var W;;)switch(U){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return U;default:if(W)return;U=(""+U).toLowerCase(),W=!0}}(U);if("string"!=typeof W&&(M.isEncoding===K||!K(U)))throw new Error("Unknown encoding: "+U);return W||U}(U),this.encoding){case"utf16le":this.text=v,this.end=b,W=4;break;case"utf8":this.fillLast=P,W=4;break;case"base64":this.text=G,this.end=z,W=3;break;default:return this.write=H,void(this.end=ee)}this.lastNeed=0,this.lastTotal=0,this.lastChar=M.allocUnsafe(W)}function f(U){return U<=127?0:U>>5==6?2:U>>4==14?3:U>>3==30?4:U>>6==2?-1:-2}function P(U){var W=this.lastTotal-this.lastNeed,Y=function _(U,W,Y){if(128!=(192&W[0]))return U.lastNeed=0,"\ufffd";if(U.lastNeed>1&&W.length>1){if(128!=(192&W[1]))return U.lastNeed=1,"\ufffd";if(U.lastNeed>2&&W.length>2&&128!=(192&W[2]))return U.lastNeed=2,"\ufffd"}}(this,U);return void 0!==Y?Y:this.lastNeed<=U.length?(U.copy(this.lastChar,W,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(U.copy(this.lastChar,W,0,U.length),void(this.lastNeed-=U.length))}function v(U,W){if((U.length-W)%2==0){var Y=U.toString("utf16le",W);if(Y){var ae=Y.charCodeAt(Y.length-1);if(ae>=55296&&ae<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=U[U.length-2],this.lastChar[1]=U[U.length-1],Y.slice(0,-1)}return Y}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=U[U.length-1],U.toString("utf16le",W,U.length-1)}function b(U){var W=U&&U.length?this.write(U):"";return this.lastNeed?W+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):W}function G(U,W){var Y=(U.length-W)%3;return 0===Y?U.toString("base64",W):(this.lastNeed=3-Y,this.lastTotal=3,1===Y?this.lastChar[0]=U[U.length-1]:(this.lastChar[0]=U[U.length-2],this.lastChar[1]=U[U.length-1]),U.toString("base64",W,U.length-Y))}function z(U){var W=U&&U.length?this.write(U):"";return this.lastNeed?W+this.lastChar.toString("base64",0,3-this.lastNeed):W}function H(U){return U.toString(this.encoding)}function ee(U){return U&&U.length?this.write(U):""}V.s=y,y.prototype.write=function(U){if(0===U.length)return"";var W,Y;if(this.lastNeed){if(void 0===(W=this.fillLast(U)))return"";Y=this.lastNeed,this.lastNeed=0}else Y=0;return Y<U.length?W?W+this.text(U,Y):this.text(U,Y):W||""},y.prototype.end=function j(U){var W=U&&U.length?this.write(U):"";return this.lastNeed?W+"\ufffd":W},y.prototype.text=function O(U,W){var Y=function g(U,W,Y){var ae=W.length-1;if(ae<Y)return 0;var ve=f(W[ae]);return ve>=0?(ve>0&&(U.lastNeed=ve-1),ve):--ae<Y||-2===ve?0:(ve=f(W[ae]))>=0?(ve>0&&(U.lastNeed=ve-2),ve):--ae<Y||-2===ve?0:(ve=f(W[ae]))>=0?(ve>0&&(2===ve?ve=0:U.lastNeed=ve-3),ve):0}(this,U,W);if(!this.lastNeed)return U.toString("utf8",W);this.lastTotal=Y;var ae=U.length-(Y-this.lastNeed);return U.copy(this.lastChar,0,ae),U.toString("utf8",W,ae)},y.prototype.fillLast=function(U){if(this.lastNeed<=U.length)return U.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);U.copy(this.lastChar,this.lastTotal-this.lastNeed,0,U.length),this.lastNeed-=U.length}},57475:(fe,V,S)=>{var M=S(13195),K=M.Buffer;function B(y,f){for(var g in y)f[g]=y[g]}function r(y,f,g){return K(y,f,g)}K.from&&K.alloc&&K.allocUnsafe&&K.allocUnsafeSlow?fe.exports=M:(B(M,V),V.Buffer=r),B(K,r),r.from=function(y,f,g){if("number"==typeof y)throw new TypeError("Argument must not be a number");return K(y,f,g)},r.alloc=function(y,f,g){if("number"!=typeof y)throw new TypeError("Argument must be a number");var _=K(y);return void 0!==f?"string"==typeof g?_.fill(f,g):_.fill(f):_.fill(0),_},r.allocUnsafe=function(y){if("number"!=typeof y)throw new TypeError("Argument must be a number");return K(y)},r.allocUnsafeSlow=function(y){if("number"!=typeof y)throw new TypeError("Argument must be a number");return M.SlowBuffer(y)}},48372:fe=>{var V=/^[-+]?0x[a-fA-F0-9]+$/,S=/^([\-\+])?(0*)(\.[0-9]+([eE]\-?[0-9]+)?|[0-9]+(\.[0-9]+([eE]\-?[0-9]+)?)?)$/;!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt),!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);var M={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};fe.exports=function K(r){var y=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(y=Object.assign({},M,y),!r||"string"!=typeof r)return r;var f=r.trim();if(void 0!==y.skipLike&&y.skipLike.test(f))return r;if(y.hex&&V.test(f))return Number.parseInt(f,16);var g=S.exec(f);if(g){var _=g[1],P=g[2],O=function B(r){return r&&-1!==r.indexOf(".")&&("."===(r=r.replace(/0+$/,""))?r="0":"."===r[0]?r="0"+r:"."===r[r.length-1]&&(r=r.substr(0,r.length-1))),r}(g[3]),j=g[4]||g[6];if(!y.leadingZeros&&P.length>0&&_&&"."!==f[2])return r;if(!y.leadingZeros&&P.length>0&&!_&&"."!==f[1])return r;var v=Number(f),b=""+v;return-1!==b.search(/[eE]/)||j?y.eNotation?v:r:-1!==f.indexOf(".")?"0"===b&&""===O||b===O||_&&b==="-"+O?v:r:P?O===b||_+O===b?v:r:f===b||f===_+b?v:r}return r}},38059:fe=>{function S(M){try{if(!global.localStorage)return!1}catch{return!1}var K=global.localStorage[M];return null!=K&&"true"===String(K).toLowerCase()}fe.exports=function V(M,K){if(S("noDeprecation"))return M;var B=!1;return function r(){if(!B){if(S("throwDeprecation"))throw new Error(K);S("traceDeprecation")?console.trace(K):console.warn(K),B=!0}return M.apply(this,arguments)}}},92361:(fe,V,S)=>{S.r(V),S.d(V,{__assign:()=>B,__asyncDelegator:()=>U,__asyncGenerator:()=>ee,__asyncValues:()=>W,__await:()=>H,__awaiter:()=>_,__classPrivateFieldGet:()=>_e,__classPrivateFieldSet:()=>he,__createBinding:()=>O,__decorate:()=>y,__exportStar:()=>j,__extends:()=>K,__generator:()=>P,__importDefault:()=>ve,__importStar:()=>ae,__makeTemplateObject:()=>Y,__metadata:()=>g,__param:()=>f,__read:()=>b,__rest:()=>r,__spread:()=>G,__spreadArrays:()=>z,__values:()=>v});var M=function(x,R){return(M=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,I){E.__proto__=I}||function(E,I){for(var L in I)I.hasOwnProperty(L)&&(E[L]=I[L])})(x,R)};function K(x,R){function E(){this.constructor=x}M(x,R),x.prototype=null===R?Object.create(R):(E.prototype=R.prototype,new E)}var B=function(){return B=Object.assign||function(R){for(var E,I=1,L=arguments.length;I<L;I++)for(var D in E=arguments[I])Object.prototype.hasOwnProperty.call(E,D)&&(R[D]=E[D]);return R},B.apply(this,arguments)};function r(x,R){var E={};for(var I in x)Object.prototype.hasOwnProperty.call(x,I)&&R.indexOf(I)<0&&(E[I]=x[I]);if(null!=x&&"function"==typeof Object.getOwnPropertySymbols){var L=0;for(I=Object.getOwnPropertySymbols(x);L<I.length;L++)R.indexOf(I[L])<0&&Object.prototype.propertyIsEnumerable.call(x,I[L])&&(E[I[L]]=x[I[L]])}return E}function y(x,R,E,I){var Q,L=arguments.length,D=L<3?R:null===I?I=Object.getOwnPropertyDescriptor(R,E):I;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)D=Reflect.decorate(x,R,E,I);else for(var te=x.length-1;te>=0;te--)(Q=x[te])&&(D=(L<3?Q(D):L>3?Q(R,E,D):Q(R,E))||D);return L>3&&D&&Object.defineProperty(R,E,D),D}function f(x,R){return function(E,I){R(E,I,x)}}function g(x,R){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(x,R)}function _(x,R,E,I){return new(E||(E=Promise))(function(D,Q){function te(Fe){try{ne(I.next(Fe))}catch(rt){Q(rt)}}function Re(Fe){try{ne(I.throw(Fe))}catch(rt){Q(rt)}}function ne(Fe){Fe.done?D(Fe.value):function L(D){return D instanceof E?D:new E(function(Q){Q(D)})}(Fe.value).then(te,Re)}ne((I=I.apply(x,R||[])).next())})}function P(x,R){var I,L,D,Q,E={label:0,sent:function(){if(1&D[0])throw D[1];return D[1]},trys:[],ops:[]};return Q={next:te(0),throw:te(1),return:te(2)},"function"==typeof Symbol&&(Q[Symbol.iterator]=function(){return this}),Q;function te(ne){return function(Fe){return function Re(ne){if(I)throw new TypeError("Generator is already executing.");for(;E;)try{if(I=1,L&&(D=2&ne[0]?L.return:ne[0]?L.throw||((D=L.return)&&D.call(L),0):L.next)&&!(D=D.call(L,ne[1])).done)return D;switch(L=0,D&&(ne=[2&ne[0],D.value]),ne[0]){case 0:case 1:D=ne;break;case 4:return E.label++,{value:ne[1],done:!1};case 5:E.label++,L=ne[1],ne=[0];continue;case 7:ne=E.ops.pop(),E.trys.pop();continue;default:if(!(D=(D=E.trys).length>0&&D[D.length-1])&&(6===ne[0]||2===ne[0])){E=0;continue}if(3===ne[0]&&(!D||ne[1]>D[0]&&ne[1]<D[3])){E.label=ne[1];break}if(6===ne[0]&&E.label<D[1]){E.label=D[1],D=ne;break}if(D&&E.label<D[2]){E.label=D[2],E.ops.push(ne);break}D[2]&&E.ops.pop(),E.trys.pop();continue}ne=R.call(x,E)}catch(Fe){ne=[6,Fe],L=0}finally{I=D=0}if(5&ne[0])throw ne[1];return{value:ne[0]?ne[1]:void 0,done:!0}}([ne,Fe])}}}function O(x,R,E,I){void 0===I&&(I=E),x[I]=R[E]}function j(x,R){for(var E in x)"default"!==E&&!R.hasOwnProperty(E)&&(R[E]=x[E])}function v(x){var R="function"==typeof Symbol&&Symbol.iterator,E=R&&x[R],I=0;if(E)return E.call(x);if(x&&"number"==typeof x.length)return{next:function(){return x&&I>=x.length&&(x=void 0),{value:x&&x[I++],done:!x}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(x,R){var E="function"==typeof Symbol&&x[Symbol.iterator];if(!E)return x;var L,Q,I=E.call(x),D=[];try{for(;(void 0===R||R-- >0)&&!(L=I.next()).done;)D.push(L.value)}catch(te){Q={error:te}}finally{try{L&&!L.done&&(E=I.return)&&E.call(I)}finally{if(Q)throw Q.error}}return D}function G(){for(var x=[],R=0;R<arguments.length;R++)x=x.concat(b(arguments[R]));return x}function z(){for(var x=0,R=0,E=arguments.length;R<E;R++)x+=arguments[R].length;var I=Array(x),L=0;for(R=0;R<E;R++)for(var D=arguments[R],Q=0,te=D.length;Q<te;Q++,L++)I[L]=D[Q];return I}function H(x){return this instanceof H?(this.v=x,this):new H(x)}function ee(x,R,E){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var L,I=E.apply(x,R||[]),D=[];return L={},Q("next"),Q("throw"),Q("return"),L[Symbol.asyncIterator]=function(){return this},L;function Q(Te){I[Te]&&(L[Te]=function(tt){return new Promise(function(Qe,vt){D.push([Te,tt,Qe,vt])>1||te(Te,tt)})})}function te(Te,tt){try{!function Re(Te){Te.value instanceof H?Promise.resolve(Te.value.v).then(ne,Fe):rt(D[0][2],Te)}(I[Te](tt))}catch(Qe){rt(D[0][3],Qe)}}function ne(Te){te("next",Te)}function Fe(Te){te("throw",Te)}function rt(Te,tt){Te(tt),D.shift(),D.length&&te(D[0][0],D[0][1])}}function U(x){var R,E;return R={},I("next"),I("throw",function(L){throw L}),I("return"),R[Symbol.iterator]=function(){return this},R;function I(L,D){R[L]=x[L]?function(Q){return(E=!E)?{value:H(x[L](Q)),done:"return"===L}:D?D(Q):Q}:D}}function W(x){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var E,R=x[Symbol.asyncIterator];return R?R.call(x):(x=v(x),E={},I("next"),I("throw"),I("return"),E[Symbol.asyncIterator]=function(){return this},E);function I(D){E[D]=x[D]&&function(Q){return new Promise(function(te,Re){!function L(D,Q,te,Re){Promise.resolve(Re).then(function(ne){D({value:ne,done:te})},Q)}(te,Re,(Q=x[D](Q)).done,Q.value)})}}}function Y(x,R){return Object.defineProperty?Object.defineProperty(x,"raw",{value:R}):x.raw=R,x}function ae(x){if(x&&x.__esModule)return x;var R={};if(null!=x)for(var E in x)Object.hasOwnProperty.call(x,E)&&(R[E]=x[E]);return R.default=x,R}function ve(x){return x&&x.__esModule?x:{default:x}}function _e(x,R){if(!R.has(x))throw new TypeError("attempted to get private field on non-instance");return R.get(x)}function he(x,R,E){if(!R.has(x))throw new TypeError("attempted to set private field on non-instance");return R.set(x,E),E}},30070:(fe,V,S)=>{S.r(V),S.d(V,{__assign:()=>B,__asyncDelegator:()=>U,__asyncGenerator:()=>ee,__asyncValues:()=>W,__await:()=>H,__awaiter:()=>_,__classPrivateFieldGet:()=>_e,__classPrivateFieldSet:()=>he,__createBinding:()=>O,__decorate:()=>y,__exportStar:()=>j,__extends:()=>K,__generator:()=>P,__importDefault:()=>ve,__importStar:()=>ae,__makeTemplateObject:()=>Y,__metadata:()=>g,__param:()=>f,__read:()=>b,__rest:()=>r,__spread:()=>G,__spreadArrays:()=>z,__values:()=>v});var M=function(x,R){return(M=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,I){E.__proto__=I}||function(E,I){for(var L in I)I.hasOwnProperty(L)&&(E[L]=I[L])})(x,R)};function K(x,R){function E(){this.constructor=x}M(x,R),x.prototype=null===R?Object.create(R):(E.prototype=R.prototype,new E)}var B=function(){return B=Object.assign||function(R){for(var E,I=1,L=arguments.length;I<L;I++)for(var D in E=arguments[I])Object.prototype.hasOwnProperty.call(E,D)&&(R[D]=E[D]);return R},B.apply(this,arguments)};function r(x,R){var E={};for(var I in x)Object.prototype.hasOwnProperty.call(x,I)&&R.indexOf(I)<0&&(E[I]=x[I]);if(null!=x&&"function"==typeof Object.getOwnPropertySymbols){var L=0;for(I=Object.getOwnPropertySymbols(x);L<I.length;L++)R.indexOf(I[L])<0&&Object.prototype.propertyIsEnumerable.call(x,I[L])&&(E[I[L]]=x[I[L]])}return E}function y(x,R,E,I){var Q,L=arguments.length,D=L<3?R:null===I?I=Object.getOwnPropertyDescriptor(R,E):I;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)D=Reflect.decorate(x,R,E,I);else for(var te=x.length-1;te>=0;te--)(Q=x[te])&&(D=(L<3?Q(D):L>3?Q(R,E,D):Q(R,E))||D);return L>3&&D&&Object.defineProperty(R,E,D),D}function f(x,R){return function(E,I){R(E,I,x)}}function g(x,R){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(x,R)}function _(x,R,E,I){return new(E||(E=Promise))(function(D,Q){function te(Fe){try{ne(I.next(Fe))}catch(rt){Q(rt)}}function Re(Fe){try{ne(I.throw(Fe))}catch(rt){Q(rt)}}function ne(Fe){Fe.done?D(Fe.value):function L(D){return D instanceof E?D:new E(function(Q){Q(D)})}(Fe.value).then(te,Re)}ne((I=I.apply(x,R||[])).next())})}function P(x,R){var I,L,D,Q,E={label:0,sent:function(){if(1&D[0])throw D[1];return D[1]},trys:[],ops:[]};return Q={next:te(0),throw:te(1),return:te(2)},"function"==typeof Symbol&&(Q[Symbol.iterator]=function(){return this}),Q;function te(ne){return function(Fe){return function Re(ne){if(I)throw new TypeError("Generator is already executing.");for(;E;)try{if(I=1,L&&(D=2&ne[0]?L.return:ne[0]?L.throw||((D=L.return)&&D.call(L),0):L.next)&&!(D=D.call(L,ne[1])).done)return D;switch(L=0,D&&(ne=[2&ne[0],D.value]),ne[0]){case 0:case 1:D=ne;break;case 4:return E.label++,{value:ne[1],done:!1};case 5:E.label++,L=ne[1],ne=[0];continue;case 7:ne=E.ops.pop(),E.trys.pop();continue;default:if(!(D=(D=E.trys).length>0&&D[D.length-1])&&(6===ne[0]||2===ne[0])){E=0;continue}if(3===ne[0]&&(!D||ne[1]>D[0]&&ne[1]<D[3])){E.label=ne[1];break}if(6===ne[0]&&E.label<D[1]){E.label=D[1],D=ne;break}if(D&&E.label<D[2]){E.label=D[2],E.ops.push(ne);break}D[2]&&E.ops.pop(),E.trys.pop();continue}ne=R.call(x,E)}catch(Fe){ne=[6,Fe],L=0}finally{I=D=0}if(5&ne[0])throw ne[1];return{value:ne[0]?ne[1]:void 0,done:!0}}([ne,Fe])}}}function O(x,R,E,I){void 0===I&&(I=E),x[I]=R[E]}function j(x,R){for(var E in x)"default"!==E&&!R.hasOwnProperty(E)&&(R[E]=x[E])}function v(x){var R="function"==typeof Symbol&&Symbol.iterator,E=R&&x[R],I=0;if(E)return E.call(x);if(x&&"number"==typeof x.length)return{next:function(){return x&&I>=x.length&&(x=void 0),{value:x&&x[I++],done:!x}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(x,R){var E="function"==typeof Symbol&&x[Symbol.iterator];if(!E)return x;var L,Q,I=E.call(x),D=[];try{for(;(void 0===R||R-- >0)&&!(L=I.next()).done;)D.push(L.value)}catch(te){Q={error:te}}finally{try{L&&!L.done&&(E=I.return)&&E.call(I)}finally{if(Q)throw Q.error}}return D}function G(){for(var x=[],R=0;R<arguments.length;R++)x=x.concat(b(arguments[R]));return x}function z(){for(var x=0,R=0,E=arguments.length;R<E;R++)x+=arguments[R].length;var I=Array(x),L=0;for(R=0;R<E;R++)for(var D=arguments[R],Q=0,te=D.length;Q<te;Q++,L++)I[L]=D[Q];return I}function H(x){return this instanceof H?(this.v=x,this):new H(x)}function ee(x,R,E){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var L,I=E.apply(x,R||[]),D=[];return L={},Q("next"),Q("throw"),Q("return"),L[Symbol.asyncIterator]=function(){return this},L;function Q(Te){I[Te]&&(L[Te]=function(tt){return new Promise(function(Qe,vt){D.push([Te,tt,Qe,vt])>1||te(Te,tt)})})}function te(Te,tt){try{!function Re(Te){Te.value instanceof H?Promise.resolve(Te.value.v).then(ne,Fe):rt(D[0][2],Te)}(I[Te](tt))}catch(Qe){rt(D[0][3],Qe)}}function ne(Te){te("next",Te)}function Fe(Te){te("throw",Te)}function rt(Te,tt){Te(tt),D.shift(),D.length&&te(D[0][0],D[0][1])}}function U(x){var R,E;return R={},I("next"),I("throw",function(L){throw L}),I("return"),R[Symbol.iterator]=function(){return this},R;function I(L,D){R[L]=x[L]?function(Q){return(E=!E)?{value:H(x[L](Q)),done:"return"===L}:D?D(Q):Q}:D}}function W(x){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var E,R=x[Symbol.asyncIterator];return R?R.call(x):(x=v(x),E={},I("next"),I("throw"),I("return"),E[Symbol.asyncIterator]=function(){return this},E);function I(D){E[D]=x[D]&&function(Q){return new Promise(function(te,Re){!function L(D,Q,te,Re){Promise.resolve(Re).then(function(ne){D({value:ne,done:te})},Q)}(te,Re,(Q=x[D](Q)).done,Q.value)})}}}function Y(x,R){return Object.defineProperty?Object.defineProperty(x,"raw",{value:R}):x.raw=R,x}function ae(x){if(x&&x.__esModule)return x;var R={};if(null!=x)for(var E in x)Object.hasOwnProperty.call(x,E)&&(R[E]=x[E]);return R.default=x,R}function ve(x){return x&&x.__esModule?x:{default:x}}function _e(x,R){if(!R.has(x))throw new TypeError("attempted to get private field on non-instance");return R.get(x)}function he(x,R,E){if(!R.has(x))throw new TypeError("attempted to set private field on non-instance");return R.set(x,E),E}},99055:(fe,V,S)=>{S.r(V),S.d(V,{__assign:()=>B,__asyncDelegator:()=>U,__asyncGenerator:()=>ee,__asyncValues:()=>W,__await:()=>H,__awaiter:()=>_,__classPrivateFieldGet:()=>_e,__classPrivateFieldSet:()=>he,__createBinding:()=>O,__decorate:()=>y,__exportStar:()=>j,__extends:()=>K,__generator:()=>P,__importDefault:()=>ve,__importStar:()=>ae,__makeTemplateObject:()=>Y,__metadata:()=>g,__param:()=>f,__read:()=>b,__rest:()=>r,__spread:()=>G,__spreadArrays:()=>z,__values:()=>v});var M=function(x,R){return(M=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,I){E.__proto__=I}||function(E,I){for(var L in I)I.hasOwnProperty(L)&&(E[L]=I[L])})(x,R)};function K(x,R){function E(){this.constructor=x}M(x,R),x.prototype=null===R?Object.create(R):(E.prototype=R.prototype,new E)}var B=function(){return B=Object.assign||function(R){for(var E,I=1,L=arguments.length;I<L;I++)for(var D in E=arguments[I])Object.prototype.hasOwnProperty.call(E,D)&&(R[D]=E[D]);return R},B.apply(this,arguments)};function r(x,R){var E={};for(var I in x)Object.prototype.hasOwnProperty.call(x,I)&&R.indexOf(I)<0&&(E[I]=x[I]);if(null!=x&&"function"==typeof Object.getOwnPropertySymbols){var L=0;for(I=Object.getOwnPropertySymbols(x);L<I.length;L++)R.indexOf(I[L])<0&&Object.prototype.propertyIsEnumerable.call(x,I[L])&&(E[I[L]]=x[I[L]])}return E}function y(x,R,E,I){var Q,L=arguments.length,D=L<3?R:null===I?I=Object.getOwnPropertyDescriptor(R,E):I;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)D=Reflect.decorate(x,R,E,I);else for(var te=x.length-1;te>=0;te--)(Q=x[te])&&(D=(L<3?Q(D):L>3?Q(R,E,D):Q(R,E))||D);return L>3&&D&&Object.defineProperty(R,E,D),D}function f(x,R){return function(E,I){R(E,I,x)}}function g(x,R){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(x,R)}function _(x,R,E,I){return new(E||(E=Promise))(function(D,Q){function te(Fe){try{ne(I.next(Fe))}catch(rt){Q(rt)}}function Re(Fe){try{ne(I.throw(Fe))}catch(rt){Q(rt)}}function ne(Fe){Fe.done?D(Fe.value):function L(D){return D instanceof E?D:new E(function(Q){Q(D)})}(Fe.value).then(te,Re)}ne((I=I.apply(x,R||[])).next())})}function P(x,R){var I,L,D,Q,E={label:0,sent:function(){if(1&D[0])throw D[1];return D[1]},trys:[],ops:[]};return Q={next:te(0),throw:te(1),return:te(2)},"function"==typeof Symbol&&(Q[Symbol.iterator]=function(){return this}),Q;function te(ne){return function(Fe){return function Re(ne){if(I)throw new TypeError("Generator is already executing.");for(;E;)try{if(I=1,L&&(D=2&ne[0]?L.return:ne[0]?L.throw||((D=L.return)&&D.call(L),0):L.next)&&!(D=D.call(L,ne[1])).done)return D;switch(L=0,D&&(ne=[2&ne[0],D.value]),ne[0]){case 0:case 1:D=ne;break;case 4:return E.label++,{value:ne[1],done:!1};case 5:E.label++,L=ne[1],ne=[0];continue;case 7:ne=E.ops.pop(),E.trys.pop();continue;default:if(!(D=(D=E.trys).length>0&&D[D.length-1])&&(6===ne[0]||2===ne[0])){E=0;continue}if(3===ne[0]&&(!D||ne[1]>D[0]&&ne[1]<D[3])){E.label=ne[1];break}if(6===ne[0]&&E.label<D[1]){E.label=D[1],D=ne;break}if(D&&E.label<D[2]){E.label=D[2],E.ops.push(ne);break}D[2]&&E.ops.pop(),E.trys.pop();continue}ne=R.call(x,E)}catch(Fe){ne=[6,Fe],L=0}finally{I=D=0}if(5&ne[0])throw ne[1];return{value:ne[0]?ne[1]:void 0,done:!0}}([ne,Fe])}}}function O(x,R,E,I){void 0===I&&(I=E),x[I]=R[E]}function j(x,R){for(var E in x)"default"!==E&&!R.hasOwnProperty(E)&&(R[E]=x[E])}function v(x){var R="function"==typeof Symbol&&Symbol.iterator,E=R&&x[R],I=0;if(E)return E.call(x);if(x&&"number"==typeof x.length)return{next:function(){return x&&I>=x.length&&(x=void 0),{value:x&&x[I++],done:!x}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(x,R){var E="function"==typeof Symbol&&x[Symbol.iterator];if(!E)return x;var L,Q,I=E.call(x),D=[];try{for(;(void 0===R||R-- >0)&&!(L=I.next()).done;)D.push(L.value)}catch(te){Q={error:te}}finally{try{L&&!L.done&&(E=I.return)&&E.call(I)}finally{if(Q)throw Q.error}}return D}function G(){for(var x=[],R=0;R<arguments.length;R++)x=x.concat(b(arguments[R]));return x}function z(){for(var x=0,R=0,E=arguments.length;R<E;R++)x+=arguments[R].length;var I=Array(x),L=0;for(R=0;R<E;R++)for(var D=arguments[R],Q=0,te=D.length;Q<te;Q++,L++)I[L]=D[Q];return I}function H(x){return this instanceof H?(this.v=x,this):new H(x)}function ee(x,R,E){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var L,I=E.apply(x,R||[]),D=[];return L={},Q("next"),Q("throw"),Q("return"),L[Symbol.asyncIterator]=function(){return this},L;function Q(Te){I[Te]&&(L[Te]=function(tt){return new Promise(function(Qe,vt){D.push([Te,tt,Qe,vt])>1||te(Te,tt)})})}function te(Te,tt){try{!function Re(Te){Te.value instanceof H?Promise.resolve(Te.value.v).then(ne,Fe):rt(D[0][2],Te)}(I[Te](tt))}catch(Qe){rt(D[0][3],Qe)}}function ne(Te){te("next",Te)}function Fe(Te){te("throw",Te)}function rt(Te,tt){Te(tt),D.shift(),D.length&&te(D[0][0],D[0][1])}}function U(x){var R,E;return R={},I("next"),I("throw",function(L){throw L}),I("return"),R[Symbol.iterator]=function(){return this},R;function I(L,D){R[L]=x[L]?function(Q){return(E=!E)?{value:H(x[L](Q)),done:"return"===L}:D?D(Q):Q}:D}}function W(x){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var E,R=x[Symbol.asyncIterator];return R?R.call(x):(x=v(x),E={},I("next"),I("throw"),I("return"),E[Symbol.asyncIterator]=function(){return this},E);function I(D){E[D]=x[D]&&function(Q){return new Promise(function(te,Re){!function L(D,Q,te,Re){Promise.resolve(Re).then(function(ne){D({value:ne,done:te})},Q)}(te,Re,(Q=x[D](Q)).done,Q.value)})}}}function Y(x,R){return Object.defineProperty?Object.defineProperty(x,"raw",{value:R}):x.raw=R,x}function ae(x){if(x&&x.__esModule)return x;var R={};if(null!=x)for(var E in x)Object.hasOwnProperty.call(x,E)&&(R[E]=x[E]);return R.default=x,R}function ve(x){return x&&x.__esModule?x:{default:x}}function _e(x,R){if(!R.has(x))throw new TypeError("attempted to get private field on non-instance");return R.get(x)}function he(x,R,E){if(!R.has(x))throw new TypeError("attempted to set private field on non-instance");return R.set(x,E),E}},37994:(fe,V,S)=>{S.r(V),S.d(V,{__assign:()=>B,__asyncDelegator:()=>U,__asyncGenerator:()=>ee,__asyncValues:()=>W,__await:()=>H,__awaiter:()=>_,__classPrivateFieldGet:()=>_e,__classPrivateFieldSet:()=>he,__createBinding:()=>O,__decorate:()=>y,__exportStar:()=>j,__extends:()=>K,__generator:()=>P,__importDefault:()=>ve,__importStar:()=>ae,__makeTemplateObject:()=>Y,__metadata:()=>g,__param:()=>f,__read:()=>b,__rest:()=>r,__spread:()=>G,__spreadArrays:()=>z,__values:()=>v});var M=function(x,R){return(M=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,I){E.__proto__=I}||function(E,I){for(var L in I)I.hasOwnProperty(L)&&(E[L]=I[L])})(x,R)};function K(x,R){function E(){this.constructor=x}M(x,R),x.prototype=null===R?Object.create(R):(E.prototype=R.prototype,new E)}var B=function(){return B=Object.assign||function(R){for(var E,I=1,L=arguments.length;I<L;I++)for(var D in E=arguments[I])Object.prototype.hasOwnProperty.call(E,D)&&(R[D]=E[D]);return R},B.apply(this,arguments)};function r(x,R){var E={};for(var I in x)Object.prototype.hasOwnProperty.call(x,I)&&R.indexOf(I)<0&&(E[I]=x[I]);if(null!=x&&"function"==typeof Object.getOwnPropertySymbols){var L=0;for(I=Object.getOwnPropertySymbols(x);L<I.length;L++)R.indexOf(I[L])<0&&Object.prototype.propertyIsEnumerable.call(x,I[L])&&(E[I[L]]=x[I[L]])}return E}function y(x,R,E,I){var Q,L=arguments.length,D=L<3?R:null===I?I=Object.getOwnPropertyDescriptor(R,E):I;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)D=Reflect.decorate(x,R,E,I);else for(var te=x.length-1;te>=0;te--)(Q=x[te])&&(D=(L<3?Q(D):L>3?Q(R,E,D):Q(R,E))||D);return L>3&&D&&Object.defineProperty(R,E,D),D}function f(x,R){return function(E,I){R(E,I,x)}}function g(x,R){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(x,R)}function _(x,R,E,I){return new(E||(E=Promise))(function(D,Q){function te(Fe){try{ne(I.next(Fe))}catch(rt){Q(rt)}}function Re(Fe){try{ne(I.throw(Fe))}catch(rt){Q(rt)}}function ne(Fe){Fe.done?D(Fe.value):function L(D){return D instanceof E?D:new E(function(Q){Q(D)})}(Fe.value).then(te,Re)}ne((I=I.apply(x,R||[])).next())})}function P(x,R){var I,L,D,Q,E={label:0,sent:function(){if(1&D[0])throw D[1];return D[1]},trys:[],ops:[]};return Q={next:te(0),throw:te(1),return:te(2)},"function"==typeof Symbol&&(Q[Symbol.iterator]=function(){return this}),Q;function te(ne){return function(Fe){return function Re(ne){if(I)throw new TypeError("Generator is already executing.");for(;E;)try{if(I=1,L&&(D=2&ne[0]?L.return:ne[0]?L.throw||((D=L.return)&&D.call(L),0):L.next)&&!(D=D.call(L,ne[1])).done)return D;switch(L=0,D&&(ne=[2&ne[0],D.value]),ne[0]){case 0:case 1:D=ne;break;case 4:return E.label++,{value:ne[1],done:!1};case 5:E.label++,L=ne[1],ne=[0];continue;case 7:ne=E.ops.pop(),E.trys.pop();continue;default:if(!(D=(D=E.trys).length>0&&D[D.length-1])&&(6===ne[0]||2===ne[0])){E=0;continue}if(3===ne[0]&&(!D||ne[1]>D[0]&&ne[1]<D[3])){E.label=ne[1];break}if(6===ne[0]&&E.label<D[1]){E.label=D[1],D=ne;break}if(D&&E.label<D[2]){E.label=D[2],E.ops.push(ne);break}D[2]&&E.ops.pop(),E.trys.pop();continue}ne=R.call(x,E)}catch(Fe){ne=[6,Fe],L=0}finally{I=D=0}if(5&ne[0])throw ne[1];return{value:ne[0]?ne[1]:void 0,done:!0}}([ne,Fe])}}}function O(x,R,E,I){void 0===I&&(I=E),x[I]=R[E]}function j(x,R){for(var E in x)"default"!==E&&!R.hasOwnProperty(E)&&(R[E]=x[E])}function v(x){var R="function"==typeof Symbol&&Symbol.iterator,E=R&&x[R],I=0;if(E)return E.call(x);if(x&&"number"==typeof x.length)return{next:function(){return x&&I>=x.length&&(x=void 0),{value:x&&x[I++],done:!x}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(x,R){var E="function"==typeof Symbol&&x[Symbol.iterator];if(!E)return x;var L,Q,I=E.call(x),D=[];try{for(;(void 0===R||R-- >0)&&!(L=I.next()).done;)D.push(L.value)}catch(te){Q={error:te}}finally{try{L&&!L.done&&(E=I.return)&&E.call(I)}finally{if(Q)throw Q.error}}return D}function G(){for(var x=[],R=0;R<arguments.length;R++)x=x.concat(b(arguments[R]));return x}function z(){for(var x=0,R=0,E=arguments.length;R<E;R++)x+=arguments[R].length;var I=Array(x),L=0;for(R=0;R<E;R++)for(var D=arguments[R],Q=0,te=D.length;Q<te;Q++,L++)I[L]=D[Q];return I}function H(x){return this instanceof H?(this.v=x,this):new H(x)}function ee(x,R,E){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var L,I=E.apply(x,R||[]),D=[];return L={},Q("next"),Q("throw"),Q("return"),L[Symbol.asyncIterator]=function(){return this},L;function Q(Te){I[Te]&&(L[Te]=function(tt){return new Promise(function(Qe,vt){D.push([Te,tt,Qe,vt])>1||te(Te,tt)})})}function te(Te,tt){try{!function Re(Te){Te.value instanceof H?Promise.resolve(Te.value.v).then(ne,Fe):rt(D[0][2],Te)}(I[Te](tt))}catch(Qe){rt(D[0][3],Qe)}}function ne(Te){te("next",Te)}function Fe(Te){te("throw",Te)}function rt(Te,tt){Te(tt),D.shift(),D.length&&te(D[0][0],D[0][1])}}function U(x){var R,E;return R={},I("next"),I("throw",function(L){throw L}),I("return"),R[Symbol.iterator]=function(){return this},R;function I(L,D){R[L]=x[L]?function(Q){return(E=!E)?{value:H(x[L](Q)),done:"return"===L}:D?D(Q):Q}:D}}function W(x){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var E,R=x[Symbol.asyncIterator];return R?R.call(x):(x=v(x),E={},I("next"),I("throw"),I("return"),E[Symbol.asyncIterator]=function(){return this},E);function I(D){E[D]=x[D]&&function(Q){return new Promise(function(te,Re){!function L(D,Q,te,Re){Promise.resolve(Re).then(function(ne){D({value:ne,done:te})},Q)}(te,Re,(Q=x[D](Q)).done,Q.value)})}}}function Y(x,R){return Object.defineProperty?Object.defineProperty(x,"raw",{value:R}):x.raw=R,x}function ae(x){if(x&&x.__esModule)return x;var R={};if(null!=x)for(var E in x)Object.hasOwnProperty.call(x,E)&&(R[E]=x[E]);return R.default=x,R}function ve(x){return x&&x.__esModule?x:{default:x}}function _e(x,R){if(!R.has(x))throw new TypeError("attempted to get private field on non-instance");return R.get(x)}function he(x,R,E){if(!R.has(x))throw new TypeError("attempted to set private field on non-instance");return R.set(x,E),E}},68952:(fe,V,S)=>{S.r(V),S.d(V,{__assign:()=>B,__asyncDelegator:()=>U,__asyncGenerator:()=>ee,__asyncValues:()=>W,__await:()=>H,__awaiter:()=>_,__classPrivateFieldGet:()=>_e,__classPrivateFieldSet:()=>he,__createBinding:()=>O,__decorate:()=>y,__exportStar:()=>j,__extends:()=>K,__generator:()=>P,__importDefault:()=>ve,__importStar:()=>ae,__makeTemplateObject:()=>Y,__metadata:()=>g,__param:()=>f,__read:()=>b,__rest:()=>r,__spread:()=>G,__spreadArrays:()=>z,__values:()=>v});var M=function(x,R){return(M=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,I){E.__proto__=I}||function(E,I){for(var L in I)I.hasOwnProperty(L)&&(E[L]=I[L])})(x,R)};function K(x,R){function E(){this.constructor=x}M(x,R),x.prototype=null===R?Object.create(R):(E.prototype=R.prototype,new E)}var B=function(){return B=Object.assign||function(R){for(var E,I=1,L=arguments.length;I<L;I++)for(var D in E=arguments[I])Object.prototype.hasOwnProperty.call(E,D)&&(R[D]=E[D]);return R},B.apply(this,arguments)};function r(x,R){var E={};for(var I in x)Object.prototype.hasOwnProperty.call(x,I)&&R.indexOf(I)<0&&(E[I]=x[I]);if(null!=x&&"function"==typeof Object.getOwnPropertySymbols){var L=0;for(I=Object.getOwnPropertySymbols(x);L<I.length;L++)R.indexOf(I[L])<0&&Object.prototype.propertyIsEnumerable.call(x,I[L])&&(E[I[L]]=x[I[L]])}return E}function y(x,R,E,I){var Q,L=arguments.length,D=L<3?R:null===I?I=Object.getOwnPropertyDescriptor(R,E):I;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)D=Reflect.decorate(x,R,E,I);else for(var te=x.length-1;te>=0;te--)(Q=x[te])&&(D=(L<3?Q(D):L>3?Q(R,E,D):Q(R,E))||D);return L>3&&D&&Object.defineProperty(R,E,D),D}function f(x,R){return function(E,I){R(E,I,x)}}function g(x,R){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(x,R)}function _(x,R,E,I){return new(E||(E=Promise))(function(D,Q){function te(Fe){try{ne(I.next(Fe))}catch(rt){Q(rt)}}function Re(Fe){try{ne(I.throw(Fe))}catch(rt){Q(rt)}}function ne(Fe){Fe.done?D(Fe.value):function L(D){return D instanceof E?D:new E(function(Q){Q(D)})}(Fe.value).then(te,Re)}ne((I=I.apply(x,R||[])).next())})}function P(x,R){var I,L,D,Q,E={label:0,sent:function(){if(1&D[0])throw D[1];return D[1]},trys:[],ops:[]};return Q={next:te(0),throw:te(1),return:te(2)},"function"==typeof Symbol&&(Q[Symbol.iterator]=function(){return this}),Q;function te(ne){return function(Fe){return function Re(ne){if(I)throw new TypeError("Generator is already executing.");for(;E;)try{if(I=1,L&&(D=2&ne[0]?L.return:ne[0]?L.throw||((D=L.return)&&D.call(L),0):L.next)&&!(D=D.call(L,ne[1])).done)return D;switch(L=0,D&&(ne=[2&ne[0],D.value]),ne[0]){case 0:case 1:D=ne;break;case 4:return E.label++,{value:ne[1],done:!1};case 5:E.label++,L=ne[1],ne=[0];continue;case 7:ne=E.ops.pop(),E.trys.pop();continue;default:if(!(D=(D=E.trys).length>0&&D[D.length-1])&&(6===ne[0]||2===ne[0])){E=0;continue}if(3===ne[0]&&(!D||ne[1]>D[0]&&ne[1]<D[3])){E.label=ne[1];break}if(6===ne[0]&&E.label<D[1]){E.label=D[1],D=ne;break}if(D&&E.label<D[2]){E.label=D[2],E.ops.push(ne);break}D[2]&&E.ops.pop(),E.trys.pop();continue}ne=R.call(x,E)}catch(Fe){ne=[6,Fe],L=0}finally{I=D=0}if(5&ne[0])throw ne[1];return{value:ne[0]?ne[1]:void 0,done:!0}}([ne,Fe])}}}function O(x,R,E,I){void 0===I&&(I=E),x[I]=R[E]}function j(x,R){for(var E in x)"default"!==E&&!R.hasOwnProperty(E)&&(R[E]=x[E])}function v(x){var R="function"==typeof Symbol&&Symbol.iterator,E=R&&x[R],I=0;if(E)return E.call(x);if(x&&"number"==typeof x.length)return{next:function(){return x&&I>=x.length&&(x=void 0),{value:x&&x[I++],done:!x}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(x,R){var E="function"==typeof Symbol&&x[Symbol.iterator];if(!E)return x;var L,Q,I=E.call(x),D=[];try{for(;(void 0===R||R-- >0)&&!(L=I.next()).done;)D.push(L.value)}catch(te){Q={error:te}}finally{try{L&&!L.done&&(E=I.return)&&E.call(I)}finally{if(Q)throw Q.error}}return D}function G(){for(var x=[],R=0;R<arguments.length;R++)x=x.concat(b(arguments[R]));return x}function z(){for(var x=0,R=0,E=arguments.length;R<E;R++)x+=arguments[R].length;var I=Array(x),L=0;for(R=0;R<E;R++)for(var D=arguments[R],Q=0,te=D.length;Q<te;Q++,L++)I[L]=D[Q];return I}function H(x){return this instanceof H?(this.v=x,this):new H(x)}function ee(x,R,E){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var L,I=E.apply(x,R||[]),D=[];return L={},Q("next"),Q("throw"),Q("return"),L[Symbol.asyncIterator]=function(){return this},L;function Q(Te){I[Te]&&(L[Te]=function(tt){return new Promise(function(Qe,vt){D.push([Te,tt,Qe,vt])>1||te(Te,tt)})})}function te(Te,tt){try{!function Re(Te){Te.value instanceof H?Promise.resolve(Te.value.v).then(ne,Fe):rt(D[0][2],Te)}(I[Te](tt))}catch(Qe){rt(D[0][3],Qe)}}function ne(Te){te("next",Te)}function Fe(Te){te("throw",Te)}function rt(Te,tt){Te(tt),D.shift(),D.length&&te(D[0][0],D[0][1])}}function U(x){var R,E;return R={},I("next"),I("throw",function(L){throw L}),I("return"),R[Symbol.iterator]=function(){return this},R;function I(L,D){R[L]=x[L]?function(Q){return(E=!E)?{value:H(x[L](Q)),done:"return"===L}:D?D(Q):Q}:D}}function W(x){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var E,R=x[Symbol.asyncIterator];return R?R.call(x):(x=v(x),E={},I("next"),I("throw"),I("return"),E[Symbol.asyncIterator]=function(){return this},E);function I(D){E[D]=x[D]&&function(Q){return new Promise(function(te,Re){!function L(D,Q,te,Re){Promise.resolve(Re).then(function(ne){D({value:ne,done:te})},Q)}(te,Re,(Q=x[D](Q)).done,Q.value)})}}}function Y(x,R){return Object.defineProperty?Object.defineProperty(x,"raw",{value:R}):x.raw=R,x}function ae(x){if(x&&x.__esModule)return x;var R={};if(null!=x)for(var E in x)Object.hasOwnProperty.call(x,E)&&(R[E]=x[E]);return R.default=x,R}function ve(x){return x&&x.__esModule?x:{default:x}}function _e(x,R){if(!R.has(x))throw new TypeError("attempted to get private field on non-instance");return R.get(x)}function he(x,R,E){if(!R.has(x))throw new TypeError("attempted to set private field on non-instance");return R.set(x,E),E}},1707:(fe,V,S)=>{S.r(V),S.d(V,{__assign:()=>B,__asyncDelegator:()=>U,__asyncGenerator:()=>ee,__asyncValues:()=>W,__await:()=>H,__awaiter:()=>_,__classPrivateFieldGet:()=>_e,__classPrivateFieldSet:()=>he,__createBinding:()=>O,__decorate:()=>y,__exportStar:()=>j,__extends:()=>K,__generator:()=>P,__importDefault:()=>ve,__importStar:()=>ae,__makeTemplateObject:()=>Y,__metadata:()=>g,__param:()=>f,__read:()=>b,__rest:()=>r,__spread:()=>G,__spreadArrays:()=>z,__values:()=>v});var M=function(x,R){return(M=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,I){E.__proto__=I}||function(E,I){for(var L in I)I.hasOwnProperty(L)&&(E[L]=I[L])})(x,R)};function K(x,R){function E(){this.constructor=x}M(x,R),x.prototype=null===R?Object.create(R):(E.prototype=R.prototype,new E)}var B=function(){return B=Object.assign||function(R){for(var E,I=1,L=arguments.length;I<L;I++)for(var D in E=arguments[I])Object.prototype.hasOwnProperty.call(E,D)&&(R[D]=E[D]);return R},B.apply(this,arguments)};function r(x,R){var E={};for(var I in x)Object.prototype.hasOwnProperty.call(x,I)&&R.indexOf(I)<0&&(E[I]=x[I]);if(null!=x&&"function"==typeof Object.getOwnPropertySymbols){var L=0;for(I=Object.getOwnPropertySymbols(x);L<I.length;L++)R.indexOf(I[L])<0&&Object.prototype.propertyIsEnumerable.call(x,I[L])&&(E[I[L]]=x[I[L]])}return E}function y(x,R,E,I){var Q,L=arguments.length,D=L<3?R:null===I?I=Object.getOwnPropertyDescriptor(R,E):I;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)D=Reflect.decorate(x,R,E,I);else for(var te=x.length-1;te>=0;te--)(Q=x[te])&&(D=(L<3?Q(D):L>3?Q(R,E,D):Q(R,E))||D);return L>3&&D&&Object.defineProperty(R,E,D),D}function f(x,R){return function(E,I){R(E,I,x)}}function g(x,R){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(x,R)}function _(x,R,E,I){return new(E||(E=Promise))(function(D,Q){function te(Fe){try{ne(I.next(Fe))}catch(rt){Q(rt)}}function Re(Fe){try{ne(I.throw(Fe))}catch(rt){Q(rt)}}function ne(Fe){Fe.done?D(Fe.value):function L(D){return D instanceof E?D:new E(function(Q){Q(D)})}(Fe.value).then(te,Re)}ne((I=I.apply(x,R||[])).next())})}function P(x,R){var I,L,D,Q,E={label:0,sent:function(){if(1&D[0])throw D[1];return D[1]},trys:[],ops:[]};return Q={next:te(0),throw:te(1),return:te(2)},"function"==typeof Symbol&&(Q[Symbol.iterator]=function(){return this}),Q;function te(ne){return function(Fe){return function Re(ne){if(I)throw new TypeError("Generator is already executing.");for(;E;)try{if(I=1,L&&(D=2&ne[0]?L.return:ne[0]?L.throw||((D=L.return)&&D.call(L),0):L.next)&&!(D=D.call(L,ne[1])).done)return D;switch(L=0,D&&(ne=[2&ne[0],D.value]),ne[0]){case 0:case 1:D=ne;break;case 4:return E.label++,{value:ne[1],done:!1};case 5:E.label++,L=ne[1],ne=[0];continue;case 7:ne=E.ops.pop(),E.trys.pop();continue;default:if(!(D=(D=E.trys).length>0&&D[D.length-1])&&(6===ne[0]||2===ne[0])){E=0;continue}if(3===ne[0]&&(!D||ne[1]>D[0]&&ne[1]<D[3])){E.label=ne[1];break}if(6===ne[0]&&E.label<D[1]){E.label=D[1],D=ne;break}if(D&&E.label<D[2]){E.label=D[2],E.ops.push(ne);break}D[2]&&E.ops.pop(),E.trys.pop();continue}ne=R.call(x,E)}catch(Fe){ne=[6,Fe],L=0}finally{I=D=0}if(5&ne[0])throw ne[1];return{value:ne[0]?ne[1]:void 0,done:!0}}([ne,Fe])}}}function O(x,R,E,I){void 0===I&&(I=E),x[I]=R[E]}function j(x,R){for(var E in x)"default"!==E&&!R.hasOwnProperty(E)&&(R[E]=x[E])}function v(x){var R="function"==typeof Symbol&&Symbol.iterator,E=R&&x[R],I=0;if(E)return E.call(x);if(x&&"number"==typeof x.length)return{next:function(){return x&&I>=x.length&&(x=void 0),{value:x&&x[I++],done:!x}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(x,R){var E="function"==typeof Symbol&&x[Symbol.iterator];if(!E)return x;var L,Q,I=E.call(x),D=[];try{for(;(void 0===R||R-- >0)&&!(L=I.next()).done;)D.push(L.value)}catch(te){Q={error:te}}finally{try{L&&!L.done&&(E=I.return)&&E.call(I)}finally{if(Q)throw Q.error}}return D}function G(){for(var x=[],R=0;R<arguments.length;R++)x=x.concat(b(arguments[R]));return x}function z(){for(var x=0,R=0,E=arguments.length;R<E;R++)x+=arguments[R].length;var I=Array(x),L=0;for(R=0;R<E;R++)for(var D=arguments[R],Q=0,te=D.length;Q<te;Q++,L++)I[L]=D[Q];return I}function H(x){return this instanceof H?(this.v=x,this):new H(x)}function ee(x,R,E){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var L,I=E.apply(x,R||[]),D=[];return L={},Q("next"),Q("throw"),Q("return"),L[Symbol.asyncIterator]=function(){return this},L;function Q(Te){I[Te]&&(L[Te]=function(tt){return new Promise(function(Qe,vt){D.push([Te,tt,Qe,vt])>1||te(Te,tt)})})}function te(Te,tt){try{!function Re(Te){Te.value instanceof H?Promise.resolve(Te.value.v).then(ne,Fe):rt(D[0][2],Te)}(I[Te](tt))}catch(Qe){rt(D[0][3],Qe)}}function ne(Te){te("next",Te)}function Fe(Te){te("throw",Te)}function rt(Te,tt){Te(tt),D.shift(),D.length&&te(D[0][0],D[0][1])}}function U(x){var R,E;return R={},I("next"),I("throw",function(L){throw L}),I("return"),R[Symbol.iterator]=function(){return this},R;function I(L,D){R[L]=x[L]?function(Q){return(E=!E)?{value:H(x[L](Q)),done:"return"===L}:D?D(Q):Q}:D}}function W(x){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var E,R=x[Symbol.asyncIterator];return R?R.call(x):(x=v(x),E={},I("next"),I("throw"),I("return"),E[Symbol.asyncIterator]=function(){return this},E);function I(D){E[D]=x[D]&&function(Q){return new Promise(function(te,Re){!function L(D,Q,te,Re){Promise.resolve(Re).then(function(ne){D({value:ne,done:te})},Q)}(te,Re,(Q=x[D](Q)).done,Q.value)})}}}function Y(x,R){return Object.defineProperty?Object.defineProperty(x,"raw",{value:R}):x.raw=R,x}function ae(x){if(x&&x.__esModule)return x;var R={};if(null!=x)for(var E in x)Object.hasOwnProperty.call(x,E)&&(R[E]=x[E]);return R.default=x,R}function ve(x){return x&&x.__esModule?x:{default:x}}function _e(x,R){if(!R.has(x))throw new TypeError("attempted to get private field on non-instance");return R.get(x)}function he(x,R,E){if(!R.has(x))throw new TypeError("attempted to set private field on non-instance");return R.set(x,E),E}},59106:(fe,V,S)=>{S.r(V),S.d(V,{__assign:()=>B,__asyncDelegator:()=>U,__asyncGenerator:()=>ee,__asyncValues:()=>W,__await:()=>H,__awaiter:()=>_,__classPrivateFieldGet:()=>_e,__classPrivateFieldSet:()=>he,__createBinding:()=>O,__decorate:()=>y,__exportStar:()=>j,__extends:()=>K,__generator:()=>P,__importDefault:()=>ve,__importStar:()=>ae,__makeTemplateObject:()=>Y,__metadata:()=>g,__param:()=>f,__read:()=>b,__rest:()=>r,__spread:()=>G,__spreadArrays:()=>z,__values:()=>v});var M=function(x,R){return(M=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,I){E.__proto__=I}||function(E,I){for(var L in I)I.hasOwnProperty(L)&&(E[L]=I[L])})(x,R)};function K(x,R){function E(){this.constructor=x}M(x,R),x.prototype=null===R?Object.create(R):(E.prototype=R.prototype,new E)}var B=function(){return B=Object.assign||function(R){for(var E,I=1,L=arguments.length;I<L;I++)for(var D in E=arguments[I])Object.prototype.hasOwnProperty.call(E,D)&&(R[D]=E[D]);return R},B.apply(this,arguments)};function r(x,R){var E={};for(var I in x)Object.prototype.hasOwnProperty.call(x,I)&&R.indexOf(I)<0&&(E[I]=x[I]);if(null!=x&&"function"==typeof Object.getOwnPropertySymbols){var L=0;for(I=Object.getOwnPropertySymbols(x);L<I.length;L++)R.indexOf(I[L])<0&&Object.prototype.propertyIsEnumerable.call(x,I[L])&&(E[I[L]]=x[I[L]])}return E}function y(x,R,E,I){var Q,L=arguments.length,D=L<3?R:null===I?I=Object.getOwnPropertyDescriptor(R,E):I;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)D=Reflect.decorate(x,R,E,I);else for(var te=x.length-1;te>=0;te--)(Q=x[te])&&(D=(L<3?Q(D):L>3?Q(R,E,D):Q(R,E))||D);return L>3&&D&&Object.defineProperty(R,E,D),D}function f(x,R){return function(E,I){R(E,I,x)}}function g(x,R){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(x,R)}function _(x,R,E,I){return new(E||(E=Promise))(function(D,Q){function te(Fe){try{ne(I.next(Fe))}catch(rt){Q(rt)}}function Re(Fe){try{ne(I.throw(Fe))}catch(rt){Q(rt)}}function ne(Fe){Fe.done?D(Fe.value):function L(D){return D instanceof E?D:new E(function(Q){Q(D)})}(Fe.value).then(te,Re)}ne((I=I.apply(x,R||[])).next())})}function P(x,R){var I,L,D,Q,E={label:0,sent:function(){if(1&D[0])throw D[1];return D[1]},trys:[],ops:[]};return Q={next:te(0),throw:te(1),return:te(2)},"function"==typeof Symbol&&(Q[Symbol.iterator]=function(){return this}),Q;function te(ne){return function(Fe){return function Re(ne){if(I)throw new TypeError("Generator is already executing.");for(;E;)try{if(I=1,L&&(D=2&ne[0]?L.return:ne[0]?L.throw||((D=L.return)&&D.call(L),0):L.next)&&!(D=D.call(L,ne[1])).done)return D;switch(L=0,D&&(ne=[2&ne[0],D.value]),ne[0]){case 0:case 1:D=ne;break;case 4:return E.label++,{value:ne[1],done:!1};case 5:E.label++,L=ne[1],ne=[0];continue;case 7:ne=E.ops.pop(),E.trys.pop();continue;default:if(!(D=(D=E.trys).length>0&&D[D.length-1])&&(6===ne[0]||2===ne[0])){E=0;continue}if(3===ne[0]&&(!D||ne[1]>D[0]&&ne[1]<D[3])){E.label=ne[1];break}if(6===ne[0]&&E.label<D[1]){E.label=D[1],D=ne;break}if(D&&E.label<D[2]){E.label=D[2],E.ops.push(ne);break}D[2]&&E.ops.pop(),E.trys.pop();continue}ne=R.call(x,E)}catch(Fe){ne=[6,Fe],L=0}finally{I=D=0}if(5&ne[0])throw ne[1];return{value:ne[0]?ne[1]:void 0,done:!0}}([ne,Fe])}}}function O(x,R,E,I){void 0===I&&(I=E),x[I]=R[E]}function j(x,R){for(var E in x)"default"!==E&&!R.hasOwnProperty(E)&&(R[E]=x[E])}function v(x){var R="function"==typeof Symbol&&Symbol.iterator,E=R&&x[R],I=0;if(E)return E.call(x);if(x&&"number"==typeof x.length)return{next:function(){return x&&I>=x.length&&(x=void 0),{value:x&&x[I++],done:!x}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(x,R){var E="function"==typeof Symbol&&x[Symbol.iterator];if(!E)return x;var L,Q,I=E.call(x),D=[];try{for(;(void 0===R||R-- >0)&&!(L=I.next()).done;)D.push(L.value)}catch(te){Q={error:te}}finally{try{L&&!L.done&&(E=I.return)&&E.call(I)}finally{if(Q)throw Q.error}}return D}function G(){for(var x=[],R=0;R<arguments.length;R++)x=x.concat(b(arguments[R]));return x}function z(){for(var x=0,R=0,E=arguments.length;R<E;R++)x+=arguments[R].length;var I=Array(x),L=0;for(R=0;R<E;R++)for(var D=arguments[R],Q=0,te=D.length;Q<te;Q++,L++)I[L]=D[Q];return I}function H(x){return this instanceof H?(this.v=x,this):new H(x)}function ee(x,R,E){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var L,I=E.apply(x,R||[]),D=[];return L={},Q("next"),Q("throw"),Q("return"),L[Symbol.asyncIterator]=function(){return this},L;function Q(Te){I[Te]&&(L[Te]=function(tt){return new Promise(function(Qe,vt){D.push([Te,tt,Qe,vt])>1||te(Te,tt)})})}function te(Te,tt){try{!function Re(Te){Te.value instanceof H?Promise.resolve(Te.value.v).then(ne,Fe):rt(D[0][2],Te)}(I[Te](tt))}catch(Qe){rt(D[0][3],Qe)}}function ne(Te){te("next",Te)}function Fe(Te){te("throw",Te)}function rt(Te,tt){Te(tt),D.shift(),D.length&&te(D[0][0],D[0][1])}}function U(x){var R,E;return R={},I("next"),I("throw",function(L){throw L}),I("return"),R[Symbol.iterator]=function(){return this},R;function I(L,D){R[L]=x[L]?function(Q){return(E=!E)?{value:H(x[L](Q)),done:"return"===L}:D?D(Q):Q}:D}}function W(x){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var E,R=x[Symbol.asyncIterator];return R?R.call(x):(x=v(x),E={},I("next"),I("throw"),I("return"),E[Symbol.asyncIterator]=function(){return this},E);function I(D){E[D]=x[D]&&function(Q){return new Promise(function(te,Re){!function L(D,Q,te,Re){Promise.resolve(Re).then(function(ne){D({value:ne,done:te})},Q)}(te,Re,(Q=x[D](Q)).done,Q.value)})}}}function Y(x,R){return Object.defineProperty?Object.defineProperty(x,"raw",{value:R}):x.raw=R,x}function ae(x){if(x&&x.__esModule)return x;var R={};if(null!=x)for(var E in x)Object.hasOwnProperty.call(x,E)&&(R[E]=x[E]);return R.default=x,R}function ve(x){return x&&x.__esModule?x:{default:x}}function _e(x,R){if(!R.has(x))throw new TypeError("attempted to get private field on non-instance");return R.get(x)}function he(x,R,E){if(!R.has(x))throw new TypeError("attempted to set private field on non-instance");return R.set(x,E),E}},55298:(fe,V,S)=>{S.r(V),S.d(V,{__assign:()=>B,__asyncDelegator:()=>U,__asyncGenerator:()=>ee,__asyncValues:()=>W,__await:()=>H,__awaiter:()=>_,__classPrivateFieldGet:()=>_e,__classPrivateFieldSet:()=>he,__createBinding:()=>O,__decorate:()=>y,__exportStar:()=>j,__extends:()=>K,__generator:()=>P,__importDefault:()=>ve,__importStar:()=>ae,__makeTemplateObject:()=>Y,__metadata:()=>g,__param:()=>f,__read:()=>b,__rest:()=>r,__spread:()=>G,__spreadArrays:()=>z,__values:()=>v});var M=function(x,R){return(M=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,I){E.__proto__=I}||function(E,I){for(var L in I)I.hasOwnProperty(L)&&(E[L]=I[L])})(x,R)};function K(x,R){function E(){this.constructor=x}M(x,R),x.prototype=null===R?Object.create(R):(E.prototype=R.prototype,new E)}var B=function(){return B=Object.assign||function(R){for(var E,I=1,L=arguments.length;I<L;I++)for(var D in E=arguments[I])Object.prototype.hasOwnProperty.call(E,D)&&(R[D]=E[D]);return R},B.apply(this,arguments)};function r(x,R){var E={};for(var I in x)Object.prototype.hasOwnProperty.call(x,I)&&R.indexOf(I)<0&&(E[I]=x[I]);if(null!=x&&"function"==typeof Object.getOwnPropertySymbols){var L=0;for(I=Object.getOwnPropertySymbols(x);L<I.length;L++)R.indexOf(I[L])<0&&Object.prototype.propertyIsEnumerable.call(x,I[L])&&(E[I[L]]=x[I[L]])}return E}function y(x,R,E,I){var Q,L=arguments.length,D=L<3?R:null===I?I=Object.getOwnPropertyDescriptor(R,E):I;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)D=Reflect.decorate(x,R,E,I);else for(var te=x.length-1;te>=0;te--)(Q=x[te])&&(D=(L<3?Q(D):L>3?Q(R,E,D):Q(R,E))||D);return L>3&&D&&Object.defineProperty(R,E,D),D}function f(x,R){return function(E,I){R(E,I,x)}}function g(x,R){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(x,R)}function _(x,R,E,I){return new(E||(E=Promise))(function(D,Q){function te(Fe){try{ne(I.next(Fe))}catch(rt){Q(rt)}}function Re(Fe){try{ne(I.throw(Fe))}catch(rt){Q(rt)}}function ne(Fe){Fe.done?D(Fe.value):function L(D){return D instanceof E?D:new E(function(Q){Q(D)})}(Fe.value).then(te,Re)}ne((I=I.apply(x,R||[])).next())})}function P(x,R){var I,L,D,Q,E={label:0,sent:function(){if(1&D[0])throw D[1];return D[1]},trys:[],ops:[]};return Q={next:te(0),throw:te(1),return:te(2)},"function"==typeof Symbol&&(Q[Symbol.iterator]=function(){return this}),Q;function te(ne){return function(Fe){return function Re(ne){if(I)throw new TypeError("Generator is already executing.");for(;E;)try{if(I=1,L&&(D=2&ne[0]?L.return:ne[0]?L.throw||((D=L.return)&&D.call(L),0):L.next)&&!(D=D.call(L,ne[1])).done)return D;switch(L=0,D&&(ne=[2&ne[0],D.value]),ne[0]){case 0:case 1:D=ne;break;case 4:return E.label++,{value:ne[1],done:!1};case 5:E.label++,L=ne[1],ne=[0];continue;case 7:ne=E.ops.pop(),E.trys.pop();continue;default:if(!(D=(D=E.trys).length>0&&D[D.length-1])&&(6===ne[0]||2===ne[0])){E=0;continue}if(3===ne[0]&&(!D||ne[1]>D[0]&&ne[1]<D[3])){E.label=ne[1];break}if(6===ne[0]&&E.label<D[1]){E.label=D[1],D=ne;break}if(D&&E.label<D[2]){E.label=D[2],E.ops.push(ne);break}D[2]&&E.ops.pop(),E.trys.pop();continue}ne=R.call(x,E)}catch(Fe){ne=[6,Fe],L=0}finally{I=D=0}if(5&ne[0])throw ne[1];return{value:ne[0]?ne[1]:void 0,done:!0}}([ne,Fe])}}}function O(x,R,E,I){void 0===I&&(I=E),x[I]=R[E]}function j(x,R){for(var E in x)"default"!==E&&!R.hasOwnProperty(E)&&(R[E]=x[E])}function v(x){var R="function"==typeof Symbol&&Symbol.iterator,E=R&&x[R],I=0;if(E)return E.call(x);if(x&&"number"==typeof x.length)return{next:function(){return x&&I>=x.length&&(x=void 0),{value:x&&x[I++],done:!x}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(x,R){var E="function"==typeof Symbol&&x[Symbol.iterator];if(!E)return x;var L,Q,I=E.call(x),D=[];try{for(;(void 0===R||R-- >0)&&!(L=I.next()).done;)D.push(L.value)}catch(te){Q={error:te}}finally{try{L&&!L.done&&(E=I.return)&&E.call(I)}finally{if(Q)throw Q.error}}return D}function G(){for(var x=[],R=0;R<arguments.length;R++)x=x.concat(b(arguments[R]));return x}function z(){for(var x=0,R=0,E=arguments.length;R<E;R++)x+=arguments[R].length;var I=Array(x),L=0;for(R=0;R<E;R++)for(var D=arguments[R],Q=0,te=D.length;Q<te;Q++,L++)I[L]=D[Q];return I}function H(x){return this instanceof H?(this.v=x,this):new H(x)}function ee(x,R,E){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var L,I=E.apply(x,R||[]),D=[];return L={},Q("next"),Q("throw"),Q("return"),L[Symbol.asyncIterator]=function(){return this},L;function Q(Te){I[Te]&&(L[Te]=function(tt){return new Promise(function(Qe,vt){D.push([Te,tt,Qe,vt])>1||te(Te,tt)})})}function te(Te,tt){try{!function Re(Te){Te.value instanceof H?Promise.resolve(Te.value.v).then(ne,Fe):rt(D[0][2],Te)}(I[Te](tt))}catch(Qe){rt(D[0][3],Qe)}}function ne(Te){te("next",Te)}function Fe(Te){te("throw",Te)}function rt(Te,tt){Te(tt),D.shift(),D.length&&te(D[0][0],D[0][1])}}function U(x){var R,E;return R={},I("next"),I("throw",function(L){throw L}),I("return"),R[Symbol.iterator]=function(){return this},R;function I(L,D){R[L]=x[L]?function(Q){return(E=!E)?{value:H(x[L](Q)),done:"return"===L}:D?D(Q):Q}:D}}function W(x){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var E,R=x[Symbol.asyncIterator];return R?R.call(x):(x=v(x),E={},I("next"),I("throw"),I("return"),E[Symbol.asyncIterator]=function(){return this},E);function I(D){E[D]=x[D]&&function(Q){return new Promise(function(te,Re){!function L(D,Q,te,Re){Promise.resolve(Re).then(function(ne){D({value:ne,done:te})},Q)}(te,Re,(Q=x[D](Q)).done,Q.value)})}}}function Y(x,R){return Object.defineProperty?Object.defineProperty(x,"raw",{value:R}):x.raw=R,x}function ae(x){if(x&&x.__esModule)return x;var R={};if(null!=x)for(var E in x)Object.hasOwnProperty.call(x,E)&&(R[E]=x[E]);return R.default=x,R}function ve(x){return x&&x.__esModule?x:{default:x}}function _e(x,R){if(!R.has(x))throw new TypeError("attempted to get private field on non-instance");return R.get(x)}function he(x,R,E){if(!R.has(x))throw new TypeError("attempted to set private field on non-instance");return R.set(x,E),E}},59904:(fe,V,S)=>{S.r(V),S.d(V,{__assign:()=>B,__asyncDelegator:()=>U,__asyncGenerator:()=>ee,__asyncValues:()=>W,__await:()=>H,__awaiter:()=>_,__classPrivateFieldGet:()=>_e,__classPrivateFieldSet:()=>he,__createBinding:()=>O,__decorate:()=>y,__exportStar:()=>j,__extends:()=>K,__generator:()=>P,__importDefault:()=>ve,__importStar:()=>ae,__makeTemplateObject:()=>Y,__metadata:()=>g,__param:()=>f,__read:()=>b,__rest:()=>r,__spread:()=>G,__spreadArrays:()=>z,__values:()=>v});var M=function(x,R){return(M=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,I){E.__proto__=I}||function(E,I){for(var L in I)I.hasOwnProperty(L)&&(E[L]=I[L])})(x,R)};function K(x,R){function E(){this.constructor=x}M(x,R),x.prototype=null===R?Object.create(R):(E.prototype=R.prototype,new E)}var B=function(){return B=Object.assign||function(R){for(var E,I=1,L=arguments.length;I<L;I++)for(var D in E=arguments[I])Object.prototype.hasOwnProperty.call(E,D)&&(R[D]=E[D]);return R},B.apply(this,arguments)};function r(x,R){var E={};for(var I in x)Object.prototype.hasOwnProperty.call(x,I)&&R.indexOf(I)<0&&(E[I]=x[I]);if(null!=x&&"function"==typeof Object.getOwnPropertySymbols){var L=0;for(I=Object.getOwnPropertySymbols(x);L<I.length;L++)R.indexOf(I[L])<0&&Object.prototype.propertyIsEnumerable.call(x,I[L])&&(E[I[L]]=x[I[L]])}return E}function y(x,R,E,I){var Q,L=arguments.length,D=L<3?R:null===I?I=Object.getOwnPropertyDescriptor(R,E):I;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)D=Reflect.decorate(x,R,E,I);else for(var te=x.length-1;te>=0;te--)(Q=x[te])&&(D=(L<3?Q(D):L>3?Q(R,E,D):Q(R,E))||D);return L>3&&D&&Object.defineProperty(R,E,D),D}function f(x,R){return function(E,I){R(E,I,x)}}function g(x,R){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(x,R)}function _(x,R,E,I){return new(E||(E=Promise))(function(D,Q){function te(Fe){try{ne(I.next(Fe))}catch(rt){Q(rt)}}function Re(Fe){try{ne(I.throw(Fe))}catch(rt){Q(rt)}}function ne(Fe){Fe.done?D(Fe.value):function L(D){return D instanceof E?D:new E(function(Q){Q(D)})}(Fe.value).then(te,Re)}ne((I=I.apply(x,R||[])).next())})}function P(x,R){var I,L,D,Q,E={label:0,sent:function(){if(1&D[0])throw D[1];return D[1]},trys:[],ops:[]};return Q={next:te(0),throw:te(1),return:te(2)},"function"==typeof Symbol&&(Q[Symbol.iterator]=function(){return this}),Q;function te(ne){return function(Fe){return function Re(ne){if(I)throw new TypeError("Generator is already executing.");for(;E;)try{if(I=1,L&&(D=2&ne[0]?L.return:ne[0]?L.throw||((D=L.return)&&D.call(L),0):L.next)&&!(D=D.call(L,ne[1])).done)return D;switch(L=0,D&&(ne=[2&ne[0],D.value]),ne[0]){case 0:case 1:D=ne;break;case 4:return E.label++,{value:ne[1],done:!1};case 5:E.label++,L=ne[1],ne=[0];continue;case 7:ne=E.ops.pop(),E.trys.pop();continue;default:if(!(D=(D=E.trys).length>0&&D[D.length-1])&&(6===ne[0]||2===ne[0])){E=0;continue}if(3===ne[0]&&(!D||ne[1]>D[0]&&ne[1]<D[3])){E.label=ne[1];break}if(6===ne[0]&&E.label<D[1]){E.label=D[1],D=ne;break}if(D&&E.label<D[2]){E.label=D[2],E.ops.push(ne);break}D[2]&&E.ops.pop(),E.trys.pop();continue}ne=R.call(x,E)}catch(Fe){ne=[6,Fe],L=0}finally{I=D=0}if(5&ne[0])throw ne[1];return{value:ne[0]?ne[1]:void 0,done:!0}}([ne,Fe])}}}function O(x,R,E,I){void 0===I&&(I=E),x[I]=R[E]}function j(x,R){for(var E in x)"default"!==E&&!R.hasOwnProperty(E)&&(R[E]=x[E])}function v(x){var R="function"==typeof Symbol&&Symbol.iterator,E=R&&x[R],I=0;if(E)return E.call(x);if(x&&"number"==typeof x.length)return{next:function(){return x&&I>=x.length&&(x=void 0),{value:x&&x[I++],done:!x}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(x,R){var E="function"==typeof Symbol&&x[Symbol.iterator];if(!E)return x;var L,Q,I=E.call(x),D=[];try{for(;(void 0===R||R-- >0)&&!(L=I.next()).done;)D.push(L.value)}catch(te){Q={error:te}}finally{try{L&&!L.done&&(E=I.return)&&E.call(I)}finally{if(Q)throw Q.error}}return D}function G(){for(var x=[],R=0;R<arguments.length;R++)x=x.concat(b(arguments[R]));return x}function z(){for(var x=0,R=0,E=arguments.length;R<E;R++)x+=arguments[R].length;var I=Array(x),L=0;for(R=0;R<E;R++)for(var D=arguments[R],Q=0,te=D.length;Q<te;Q++,L++)I[L]=D[Q];return I}function H(x){return this instanceof H?(this.v=x,this):new H(x)}function ee(x,R,E){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var L,I=E.apply(x,R||[]),D=[];return L={},Q("next"),Q("throw"),Q("return"),L[Symbol.asyncIterator]=function(){return this},L;function Q(Te){I[Te]&&(L[Te]=function(tt){return new Promise(function(Qe,vt){D.push([Te,tt,Qe,vt])>1||te(Te,tt)})})}function te(Te,tt){try{!function Re(Te){Te.value instanceof H?Promise.resolve(Te.value.v).then(ne,Fe):rt(D[0][2],Te)}(I[Te](tt))}catch(Qe){rt(D[0][3],Qe)}}function ne(Te){te("next",Te)}function Fe(Te){te("throw",Te)}function rt(Te,tt){Te(tt),D.shift(),D.length&&te(D[0][0],D[0][1])}}function U(x){var R,E;return R={},I("next"),I("throw",function(L){throw L}),I("return"),R[Symbol.iterator]=function(){return this},R;function I(L,D){R[L]=x[L]?function(Q){return(E=!E)?{value:H(x[L](Q)),done:"return"===L}:D?D(Q):Q}:D}}function W(x){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var E,R=x[Symbol.asyncIterator];return R?R.call(x):(x=v(x),E={},I("next"),I("throw"),I("return"),E[Symbol.asyncIterator]=function(){return this},E);function I(D){E[D]=x[D]&&function(Q){return new Promise(function(te,Re){!function L(D,Q,te,Re){Promise.resolve(Re).then(function(ne){D({value:ne,done:te})},Q)}(te,Re,(Q=x[D](Q)).done,Q.value)})}}}function Y(x,R){return Object.defineProperty?Object.defineProperty(x,"raw",{value:R}):x.raw=R,x}function ae(x){if(x&&x.__esModule)return x;var R={};if(null!=x)for(var E in x)Object.hasOwnProperty.call(x,E)&&(R[E]=x[E]);return R.default=x,R}function ve(x){return x&&x.__esModule?x:{default:x}}function _e(x,R){if(!R.has(x))throw new TypeError("attempted to get private field on non-instance");return R.get(x)}function he(x,R,E){if(!R.has(x))throw new TypeError("attempted to set private field on non-instance");return R.set(x,E),E}},97716:(fe,V,S)=>{S.r(V),S.d(V,{__assign:()=>B,__asyncDelegator:()=>U,__asyncGenerator:()=>ee,__asyncValues:()=>W,__await:()=>H,__awaiter:()=>_,__classPrivateFieldGet:()=>_e,__classPrivateFieldSet:()=>he,__createBinding:()=>O,__decorate:()=>y,__exportStar:()=>j,__extends:()=>K,__generator:()=>P,__importDefault:()=>ve,__importStar:()=>ae,__makeTemplateObject:()=>Y,__metadata:()=>g,__param:()=>f,__read:()=>b,__rest:()=>r,__spread:()=>G,__spreadArrays:()=>z,__values:()=>v});var M=function(x,R){return(M=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,I){E.__proto__=I}||function(E,I){for(var L in I)I.hasOwnProperty(L)&&(E[L]=I[L])})(x,R)};function K(x,R){function E(){this.constructor=x}M(x,R),x.prototype=null===R?Object.create(R):(E.prototype=R.prototype,new E)}var B=function(){return B=Object.assign||function(R){for(var E,I=1,L=arguments.length;I<L;I++)for(var D in E=arguments[I])Object.prototype.hasOwnProperty.call(E,D)&&(R[D]=E[D]);return R},B.apply(this,arguments)};function r(x,R){var E={};for(var I in x)Object.prototype.hasOwnProperty.call(x,I)&&R.indexOf(I)<0&&(E[I]=x[I]);if(null!=x&&"function"==typeof Object.getOwnPropertySymbols){var L=0;for(I=Object.getOwnPropertySymbols(x);L<I.length;L++)R.indexOf(I[L])<0&&Object.prototype.propertyIsEnumerable.call(x,I[L])&&(E[I[L]]=x[I[L]])}return E}function y(x,R,E,I){var Q,L=arguments.length,D=L<3?R:null===I?I=Object.getOwnPropertyDescriptor(R,E):I;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)D=Reflect.decorate(x,R,E,I);else for(var te=x.length-1;te>=0;te--)(Q=x[te])&&(D=(L<3?Q(D):L>3?Q(R,E,D):Q(R,E))||D);return L>3&&D&&Object.defineProperty(R,E,D),D}function f(x,R){return function(E,I){R(E,I,x)}}function g(x,R){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(x,R)}function _(x,R,E,I){return new(E||(E=Promise))(function(D,Q){function te(Fe){try{ne(I.next(Fe))}catch(rt){Q(rt)}}function Re(Fe){try{ne(I.throw(Fe))}catch(rt){Q(rt)}}function ne(Fe){Fe.done?D(Fe.value):function L(D){return D instanceof E?D:new E(function(Q){Q(D)})}(Fe.value).then(te,Re)}ne((I=I.apply(x,R||[])).next())})}function P(x,R){var I,L,D,Q,E={label:0,sent:function(){if(1&D[0])throw D[1];return D[1]},trys:[],ops:[]};return Q={next:te(0),throw:te(1),return:te(2)},"function"==typeof Symbol&&(Q[Symbol.iterator]=function(){return this}),Q;function te(ne){return function(Fe){return function Re(ne){if(I)throw new TypeError("Generator is already executing.");for(;E;)try{if(I=1,L&&(D=2&ne[0]?L.return:ne[0]?L.throw||((D=L.return)&&D.call(L),0):L.next)&&!(D=D.call(L,ne[1])).done)return D;switch(L=0,D&&(ne=[2&ne[0],D.value]),ne[0]){case 0:case 1:D=ne;break;case 4:return E.label++,{value:ne[1],done:!1};case 5:E.label++,L=ne[1],ne=[0];continue;case 7:ne=E.ops.pop(),E.trys.pop();continue;default:if(!(D=(D=E.trys).length>0&&D[D.length-1])&&(6===ne[0]||2===ne[0])){E=0;continue}if(3===ne[0]&&(!D||ne[1]>D[0]&&ne[1]<D[3])){E.label=ne[1];break}if(6===ne[0]&&E.label<D[1]){E.label=D[1],D=ne;break}if(D&&E.label<D[2]){E.label=D[2],E.ops.push(ne);break}D[2]&&E.ops.pop(),E.trys.pop();continue}ne=R.call(x,E)}catch(Fe){ne=[6,Fe],L=0}finally{I=D=0}if(5&ne[0])throw ne[1];return{value:ne[0]?ne[1]:void 0,done:!0}}([ne,Fe])}}}function O(x,R,E,I){void 0===I&&(I=E),x[I]=R[E]}function j(x,R){for(var E in x)"default"!==E&&!R.hasOwnProperty(E)&&(R[E]=x[E])}function v(x){var R="function"==typeof Symbol&&Symbol.iterator,E=R&&x[R],I=0;if(E)return E.call(x);if(x&&"number"==typeof x.length)return{next:function(){return x&&I>=x.length&&(x=void 0),{value:x&&x[I++],done:!x}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(x,R){var E="function"==typeof Symbol&&x[Symbol.iterator];if(!E)return x;var L,Q,I=E.call(x),D=[];try{for(;(void 0===R||R-- >0)&&!(L=I.next()).done;)D.push(L.value)}catch(te){Q={error:te}}finally{try{L&&!L.done&&(E=I.return)&&E.call(I)}finally{if(Q)throw Q.error}}return D}function G(){for(var x=[],R=0;R<arguments.length;R++)x=x.concat(b(arguments[R]));return x}function z(){for(var x=0,R=0,E=arguments.length;R<E;R++)x+=arguments[R].length;var I=Array(x),L=0;for(R=0;R<E;R++)for(var D=arguments[R],Q=0,te=D.length;Q<te;Q++,L++)I[L]=D[Q];return I}function H(x){return this instanceof H?(this.v=x,this):new H(x)}function ee(x,R,E){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var L,I=E.apply(x,R||[]),D=[];return L={},Q("next"),Q("throw"),Q("return"),L[Symbol.asyncIterator]=function(){return this},L;function Q(Te){I[Te]&&(L[Te]=function(tt){return new Promise(function(Qe,vt){D.push([Te,tt,Qe,vt])>1||te(Te,tt)})})}function te(Te,tt){try{!function Re(Te){Te.value instanceof H?Promise.resolve(Te.value.v).then(ne,Fe):rt(D[0][2],Te)}(I[Te](tt))}catch(Qe){rt(D[0][3],Qe)}}function ne(Te){te("next",Te)}function Fe(Te){te("throw",Te)}function rt(Te,tt){Te(tt),D.shift(),D.length&&te(D[0][0],D[0][1])}}function U(x){var R,E;return R={},I("next"),I("throw",function(L){throw L}),I("return"),R[Symbol.iterator]=function(){return this},R;function I(L,D){R[L]=x[L]?function(Q){return(E=!E)?{value:H(x[L](Q)),done:"return"===L}:D?D(Q):Q}:D}}function W(x){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var E,R=x[Symbol.asyncIterator];return R?R.call(x):(x=v(x),E={},I("next"),I("throw"),I("return"),E[Symbol.asyncIterator]=function(){return this},E);function I(D){E[D]=x[D]&&function(Q){return new Promise(function(te,Re){!function L(D,Q,te,Re){Promise.resolve(Re).then(function(ne){D({value:ne,done:te})},Q)}(te,Re,(Q=x[D](Q)).done,Q.value)})}}}function Y(x,R){return Object.defineProperty?Object.defineProperty(x,"raw",{value:R}):x.raw=R,x}function ae(x){if(x&&x.__esModule)return x;var R={};if(null!=x)for(var E in x)Object.hasOwnProperty.call(x,E)&&(R[E]=x[E]);return R.default=x,R}function ve(x){return x&&x.__esModule?x:{default:x}}function _e(x,R){if(!R.has(x))throw new TypeError("attempted to get private field on non-instance");return R.get(x)}function he(x,R,E){if(!R.has(x))throw new TypeError("attempted to set private field on non-instance");return R.set(x,E),E}},76187:(fe,V,S)=>{S.r(V),S.d(V,{__assign:()=>B,__asyncDelegator:()=>U,__asyncGenerator:()=>ee,__asyncValues:()=>W,__await:()=>H,__awaiter:()=>_,__classPrivateFieldGet:()=>_e,__classPrivateFieldSet:()=>he,__createBinding:()=>O,__decorate:()=>y,__exportStar:()=>j,__extends:()=>K,__generator:()=>P,__importDefault:()=>ve,__importStar:()=>ae,__makeTemplateObject:()=>Y,__metadata:()=>g,__param:()=>f,__read:()=>b,__rest:()=>r,__spread:()=>G,__spreadArrays:()=>z,__values:()=>v});var M=function(x,R){return(M=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,I){E.__proto__=I}||function(E,I){for(var L in I)I.hasOwnProperty(L)&&(E[L]=I[L])})(x,R)};function K(x,R){function E(){this.constructor=x}M(x,R),x.prototype=null===R?Object.create(R):(E.prototype=R.prototype,new E)}var B=function(){return B=Object.assign||function(R){for(var E,I=1,L=arguments.length;I<L;I++)for(var D in E=arguments[I])Object.prototype.hasOwnProperty.call(E,D)&&(R[D]=E[D]);return R},B.apply(this,arguments)};function r(x,R){var E={};for(var I in x)Object.prototype.hasOwnProperty.call(x,I)&&R.indexOf(I)<0&&(E[I]=x[I]);if(null!=x&&"function"==typeof Object.getOwnPropertySymbols){var L=0;for(I=Object.getOwnPropertySymbols(x);L<I.length;L++)R.indexOf(I[L])<0&&Object.prototype.propertyIsEnumerable.call(x,I[L])&&(E[I[L]]=x[I[L]])}return E}function y(x,R,E,I){var Q,L=arguments.length,D=L<3?R:null===I?I=Object.getOwnPropertyDescriptor(R,E):I;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)D=Reflect.decorate(x,R,E,I);else for(var te=x.length-1;te>=0;te--)(Q=x[te])&&(D=(L<3?Q(D):L>3?Q(R,E,D):Q(R,E))||D);return L>3&&D&&Object.defineProperty(R,E,D),D}function f(x,R){return function(E,I){R(E,I,x)}}function g(x,R){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(x,R)}function _(x,R,E,I){return new(E||(E=Promise))(function(D,Q){function te(Fe){try{ne(I.next(Fe))}catch(rt){Q(rt)}}function Re(Fe){try{ne(I.throw(Fe))}catch(rt){Q(rt)}}function ne(Fe){Fe.done?D(Fe.value):function L(D){return D instanceof E?D:new E(function(Q){Q(D)})}(Fe.value).then(te,Re)}ne((I=I.apply(x,R||[])).next())})}function P(x,R){var I,L,D,Q,E={label:0,sent:function(){if(1&D[0])throw D[1];return D[1]},trys:[],ops:[]};return Q={next:te(0),throw:te(1),return:te(2)},"function"==typeof Symbol&&(Q[Symbol.iterator]=function(){return this}),Q;function te(ne){return function(Fe){return function Re(ne){if(I)throw new TypeError("Generator is already executing.");for(;E;)try{if(I=1,L&&(D=2&ne[0]?L.return:ne[0]?L.throw||((D=L.return)&&D.call(L),0):L.next)&&!(D=D.call(L,ne[1])).done)return D;switch(L=0,D&&(ne=[2&ne[0],D.value]),ne[0]){case 0:case 1:D=ne;break;case 4:return E.label++,{value:ne[1],done:!1};case 5:E.label++,L=ne[1],ne=[0];continue;case 7:ne=E.ops.pop(),E.trys.pop();continue;default:if(!(D=(D=E.trys).length>0&&D[D.length-1])&&(6===ne[0]||2===ne[0])){E=0;continue}if(3===ne[0]&&(!D||ne[1]>D[0]&&ne[1]<D[3])){E.label=ne[1];break}if(6===ne[0]&&E.label<D[1]){E.label=D[1],D=ne;break}if(D&&E.label<D[2]){E.label=D[2],E.ops.push(ne);break}D[2]&&E.ops.pop(),E.trys.pop();continue}ne=R.call(x,E)}catch(Fe){ne=[6,Fe],L=0}finally{I=D=0}if(5&ne[0])throw ne[1];return{value:ne[0]?ne[1]:void 0,done:!0}}([ne,Fe])}}}function O(x,R,E,I){void 0===I&&(I=E),x[I]=R[E]}function j(x,R){for(var E in x)"default"!==E&&!R.hasOwnProperty(E)&&(R[E]=x[E])}function v(x){var R="function"==typeof Symbol&&Symbol.iterator,E=R&&x[R],I=0;if(E)return E.call(x);if(x&&"number"==typeof x.length)return{next:function(){return x&&I>=x.length&&(x=void 0),{value:x&&x[I++],done:!x}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(x,R){var E="function"==typeof Symbol&&x[Symbol.iterator];if(!E)return x;var L,Q,I=E.call(x),D=[];try{for(;(void 0===R||R-- >0)&&!(L=I.next()).done;)D.push(L.value)}catch(te){Q={error:te}}finally{try{L&&!L.done&&(E=I.return)&&E.call(I)}finally{if(Q)throw Q.error}}return D}function G(){for(var x=[],R=0;R<arguments.length;R++)x=x.concat(b(arguments[R]));return x}function z(){for(var x=0,R=0,E=arguments.length;R<E;R++)x+=arguments[R].length;var I=Array(x),L=0;for(R=0;R<E;R++)for(var D=arguments[R],Q=0,te=D.length;Q<te;Q++,L++)I[L]=D[Q];return I}function H(x){return this instanceof H?(this.v=x,this):new H(x)}function ee(x,R,E){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var L,I=E.apply(x,R||[]),D=[];return L={},Q("next"),Q("throw"),Q("return"),L[Symbol.asyncIterator]=function(){return this},L;function Q(Te){I[Te]&&(L[Te]=function(tt){return new Promise(function(Qe,vt){D.push([Te,tt,Qe,vt])>1||te(Te,tt)})})}function te(Te,tt){try{!function Re(Te){Te.value instanceof H?Promise.resolve(Te.value.v).then(ne,Fe):rt(D[0][2],Te)}(I[Te](tt))}catch(Qe){rt(D[0][3],Qe)}}function ne(Te){te("next",Te)}function Fe(Te){te("throw",Te)}function rt(Te,tt){Te(tt),D.shift(),D.length&&te(D[0][0],D[0][1])}}function U(x){var R,E;return R={},I("next"),I("throw",function(L){throw L}),I("return"),R[Symbol.iterator]=function(){return this},R;function I(L,D){R[L]=x[L]?function(Q){return(E=!E)?{value:H(x[L](Q)),done:"return"===L}:D?D(Q):Q}:D}}function W(x){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var E,R=x[Symbol.asyncIterator];return R?R.call(x):(x=v(x),E={},I("next"),I("throw"),I("return"),E[Symbol.asyncIterator]=function(){return this},E);function I(D){E[D]=x[D]&&function(Q){return new Promise(function(te,Re){!function L(D,Q,te,Re){Promise.resolve(Re).then(function(ne){D({value:ne,done:te})},Q)}(te,Re,(Q=x[D](Q)).done,Q.value)})}}}function Y(x,R){return Object.defineProperty?Object.defineProperty(x,"raw",{value:R}):x.raw=R,x}function ae(x){if(x&&x.__esModule)return x;var R={};if(null!=x)for(var E in x)Object.hasOwnProperty.call(x,E)&&(R[E]=x[E]);return R.default=x,R}function ve(x){return x&&x.__esModule?x:{default:x}}function _e(x,R){if(!R.has(x))throw new TypeError("attempted to get private field on non-instance");return R.get(x)}function he(x,R,E){if(!R.has(x))throw new TypeError("attempted to set private field on non-instance");return R.set(x,E),E}},48798:(fe,V,S)=>{S.r(V),S.d(V,{__assign:()=>B,__asyncDelegator:()=>U,__asyncGenerator:()=>ee,__asyncValues:()=>W,__await:()=>H,__awaiter:()=>_,__classPrivateFieldGet:()=>_e,__classPrivateFieldSet:()=>he,__createBinding:()=>O,__decorate:()=>y,__exportStar:()=>j,__extends:()=>K,__generator:()=>P,__importDefault:()=>ve,__importStar:()=>ae,__makeTemplateObject:()=>Y,__metadata:()=>g,__param:()=>f,__read:()=>b,__rest:()=>r,__spread:()=>G,__spreadArrays:()=>z,__values:()=>v});var M=function(x,R){return(M=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,I){E.__proto__=I}||function(E,I){for(var L in I)I.hasOwnProperty(L)&&(E[L]=I[L])})(x,R)};function K(x,R){function E(){this.constructor=x}M(x,R),x.prototype=null===R?Object.create(R):(E.prototype=R.prototype,new E)}var B=function(){return B=Object.assign||function(R){for(var E,I=1,L=arguments.length;I<L;I++)for(var D in E=arguments[I])Object.prototype.hasOwnProperty.call(E,D)&&(R[D]=E[D]);return R},B.apply(this,arguments)};function r(x,R){var E={};for(var I in x)Object.prototype.hasOwnProperty.call(x,I)&&R.indexOf(I)<0&&(E[I]=x[I]);if(null!=x&&"function"==typeof Object.getOwnPropertySymbols){var L=0;for(I=Object.getOwnPropertySymbols(x);L<I.length;L++)R.indexOf(I[L])<0&&Object.prototype.propertyIsEnumerable.call(x,I[L])&&(E[I[L]]=x[I[L]])}return E}function y(x,R,E,I){var Q,L=arguments.length,D=L<3?R:null===I?I=Object.getOwnPropertyDescriptor(R,E):I;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)D=Reflect.decorate(x,R,E,I);else for(var te=x.length-1;te>=0;te--)(Q=x[te])&&(D=(L<3?Q(D):L>3?Q(R,E,D):Q(R,E))||D);return L>3&&D&&Object.defineProperty(R,E,D),D}function f(x,R){return function(E,I){R(E,I,x)}}function g(x,R){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(x,R)}function _(x,R,E,I){return new(E||(E=Promise))(function(D,Q){function te(Fe){try{ne(I.next(Fe))}catch(rt){Q(rt)}}function Re(Fe){try{ne(I.throw(Fe))}catch(rt){Q(rt)}}function ne(Fe){Fe.done?D(Fe.value):function L(D){return D instanceof E?D:new E(function(Q){Q(D)})}(Fe.value).then(te,Re)}ne((I=I.apply(x,R||[])).next())})}function P(x,R){var I,L,D,Q,E={label:0,sent:function(){if(1&D[0])throw D[1];return D[1]},trys:[],ops:[]};return Q={next:te(0),throw:te(1),return:te(2)},"function"==typeof Symbol&&(Q[Symbol.iterator]=function(){return this}),Q;function te(ne){return function(Fe){return function Re(ne){if(I)throw new TypeError("Generator is already executing.");for(;E;)try{if(I=1,L&&(D=2&ne[0]?L.return:ne[0]?L.throw||((D=L.return)&&D.call(L),0):L.next)&&!(D=D.call(L,ne[1])).done)return D;switch(L=0,D&&(ne=[2&ne[0],D.value]),ne[0]){case 0:case 1:D=ne;break;case 4:return E.label++,{value:ne[1],done:!1};case 5:E.label++,L=ne[1],ne=[0];continue;case 7:ne=E.ops.pop(),E.trys.pop();continue;default:if(!(D=(D=E.trys).length>0&&D[D.length-1])&&(6===ne[0]||2===ne[0])){E=0;continue}if(3===ne[0]&&(!D||ne[1]>D[0]&&ne[1]<D[3])){E.label=ne[1];break}if(6===ne[0]&&E.label<D[1]){E.label=D[1],D=ne;break}if(D&&E.label<D[2]){E.label=D[2],E.ops.push(ne);break}D[2]&&E.ops.pop(),E.trys.pop();continue}ne=R.call(x,E)}catch(Fe){ne=[6,Fe],L=0}finally{I=D=0}if(5&ne[0])throw ne[1];return{value:ne[0]?ne[1]:void 0,done:!0}}([ne,Fe])}}}function O(x,R,E,I){void 0===I&&(I=E),x[I]=R[E]}function j(x,R){for(var E in x)"default"!==E&&!R.hasOwnProperty(E)&&(R[E]=x[E])}function v(x){var R="function"==typeof Symbol&&Symbol.iterator,E=R&&x[R],I=0;if(E)return E.call(x);if(x&&"number"==typeof x.length)return{next:function(){return x&&I>=x.length&&(x=void 0),{value:x&&x[I++],done:!x}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(x,R){var E="function"==typeof Symbol&&x[Symbol.iterator];if(!E)return x;var L,Q,I=E.call(x),D=[];try{for(;(void 0===R||R-- >0)&&!(L=I.next()).done;)D.push(L.value)}catch(te){Q={error:te}}finally{try{L&&!L.done&&(E=I.return)&&E.call(I)}finally{if(Q)throw Q.error}}return D}function G(){for(var x=[],R=0;R<arguments.length;R++)x=x.concat(b(arguments[R]));return x}function z(){for(var x=0,R=0,E=arguments.length;R<E;R++)x+=arguments[R].length;var I=Array(x),L=0;for(R=0;R<E;R++)for(var D=arguments[R],Q=0,te=D.length;Q<te;Q++,L++)I[L]=D[Q];return I}function H(x){return this instanceof H?(this.v=x,this):new H(x)}function ee(x,R,E){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var L,I=E.apply(x,R||[]),D=[];return L={},Q("next"),Q("throw"),Q("return"),L[Symbol.asyncIterator]=function(){return this},L;function Q(Te){I[Te]&&(L[Te]=function(tt){return new Promise(function(Qe,vt){D.push([Te,tt,Qe,vt])>1||te(Te,tt)})})}function te(Te,tt){try{!function Re(Te){Te.value instanceof H?Promise.resolve(Te.value.v).then(ne,Fe):rt(D[0][2],Te)}(I[Te](tt))}catch(Qe){rt(D[0][3],Qe)}}function ne(Te){te("next",Te)}function Fe(Te){te("throw",Te)}function rt(Te,tt){Te(tt),D.shift(),D.length&&te(D[0][0],D[0][1])}}function U(x){var R,E;return R={},I("next"),I("throw",function(L){throw L}),I("return"),R[Symbol.iterator]=function(){return this},R;function I(L,D){R[L]=x[L]?function(Q){return(E=!E)?{value:H(x[L](Q)),done:"return"===L}:D?D(Q):Q}:D}}function W(x){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var E,R=x[Symbol.asyncIterator];return R?R.call(x):(x=v(x),E={},I("next"),I("throw"),I("return"),E[Symbol.asyncIterator]=function(){return this},E);function I(D){E[D]=x[D]&&function(Q){return new Promise(function(te,Re){!function L(D,Q,te,Re){Promise.resolve(Re).then(function(ne){D({value:ne,done:te})},Q)}(te,Re,(Q=x[D](Q)).done,Q.value)})}}}function Y(x,R){return Object.defineProperty?Object.defineProperty(x,"raw",{value:R}):x.raw=R,x}function ae(x){if(x&&x.__esModule)return x;var R={};if(null!=x)for(var E in x)Object.hasOwnProperty.call(x,E)&&(R[E]=x[E]);return R.default=x,R}function ve(x){return x&&x.__esModule?x:{default:x}}function _e(x,R){if(!R.has(x))throw new TypeError("attempted to get private field on non-instance");return R.get(x)}function he(x,R,E){if(!R.has(x))throw new TypeError("attempted to set private field on non-instance");return R.set(x,E),E}},62220:(fe,V,S)=>{S.r(V),S.d(V,{__assign:()=>B,__asyncDelegator:()=>U,__asyncGenerator:()=>ee,__asyncValues:()=>W,__await:()=>H,__awaiter:()=>_,__classPrivateFieldGet:()=>_e,__classPrivateFieldSet:()=>he,__createBinding:()=>O,__decorate:()=>y,__exportStar:()=>j,__extends:()=>K,__generator:()=>P,__importDefault:()=>ve,__importStar:()=>ae,__makeTemplateObject:()=>Y,__metadata:()=>g,__param:()=>f,__read:()=>b,__rest:()=>r,__spread:()=>G,__spreadArrays:()=>z,__values:()=>v});var M=function(x,R){return(M=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,I){E.__proto__=I}||function(E,I){for(var L in I)I.hasOwnProperty(L)&&(E[L]=I[L])})(x,R)};function K(x,R){function E(){this.constructor=x}M(x,R),x.prototype=null===R?Object.create(R):(E.prototype=R.prototype,new E)}var B=function(){return B=Object.assign||function(R){for(var E,I=1,L=arguments.length;I<L;I++)for(var D in E=arguments[I])Object.prototype.hasOwnProperty.call(E,D)&&(R[D]=E[D]);return R},B.apply(this,arguments)};function r(x,R){var E={};for(var I in x)Object.prototype.hasOwnProperty.call(x,I)&&R.indexOf(I)<0&&(E[I]=x[I]);if(null!=x&&"function"==typeof Object.getOwnPropertySymbols){var L=0;for(I=Object.getOwnPropertySymbols(x);L<I.length;L++)R.indexOf(I[L])<0&&Object.prototype.propertyIsEnumerable.call(x,I[L])&&(E[I[L]]=x[I[L]])}return E}function y(x,R,E,I){var Q,L=arguments.length,D=L<3?R:null===I?I=Object.getOwnPropertyDescriptor(R,E):I;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)D=Reflect.decorate(x,R,E,I);else for(var te=x.length-1;te>=0;te--)(Q=x[te])&&(D=(L<3?Q(D):L>3?Q(R,E,D):Q(R,E))||D);return L>3&&D&&Object.defineProperty(R,E,D),D}function f(x,R){return function(E,I){R(E,I,x)}}function g(x,R){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(x,R)}function _(x,R,E,I){return new(E||(E=Promise))(function(D,Q){function te(Fe){try{ne(I.next(Fe))}catch(rt){Q(rt)}}function Re(Fe){try{ne(I.throw(Fe))}catch(rt){Q(rt)}}function ne(Fe){Fe.done?D(Fe.value):function L(D){return D instanceof E?D:new E(function(Q){Q(D)})}(Fe.value).then(te,Re)}ne((I=I.apply(x,R||[])).next())})}function P(x,R){var I,L,D,Q,E={label:0,sent:function(){if(1&D[0])throw D[1];return D[1]},trys:[],ops:[]};return Q={next:te(0),throw:te(1),return:te(2)},"function"==typeof Symbol&&(Q[Symbol.iterator]=function(){return this}),Q;function te(ne){return function(Fe){return function Re(ne){if(I)throw new TypeError("Generator is already executing.");for(;E;)try{if(I=1,L&&(D=2&ne[0]?L.return:ne[0]?L.throw||((D=L.return)&&D.call(L),0):L.next)&&!(D=D.call(L,ne[1])).done)return D;switch(L=0,D&&(ne=[2&ne[0],D.value]),ne[0]){case 0:case 1:D=ne;break;case 4:return E.label++,{value:ne[1],done:!1};case 5:E.label++,L=ne[1],ne=[0];continue;case 7:ne=E.ops.pop(),E.trys.pop();continue;default:if(!(D=(D=E.trys).length>0&&D[D.length-1])&&(6===ne[0]||2===ne[0])){E=0;continue}if(3===ne[0]&&(!D||ne[1]>D[0]&&ne[1]<D[3])){E.label=ne[1];break}if(6===ne[0]&&E.label<D[1]){E.label=D[1],D=ne;break}if(D&&E.label<D[2]){E.label=D[2],E.ops.push(ne);break}D[2]&&E.ops.pop(),E.trys.pop();continue}ne=R.call(x,E)}catch(Fe){ne=[6,Fe],L=0}finally{I=D=0}if(5&ne[0])throw ne[1];return{value:ne[0]?ne[1]:void 0,done:!0}}([ne,Fe])}}}function O(x,R,E,I){void 0===I&&(I=E),x[I]=R[E]}function j(x,R){for(var E in x)"default"!==E&&!R.hasOwnProperty(E)&&(R[E]=x[E])}function v(x){var R="function"==typeof Symbol&&Symbol.iterator,E=R&&x[R],I=0;if(E)return E.call(x);if(x&&"number"==typeof x.length)return{next:function(){return x&&I>=x.length&&(x=void 0),{value:x&&x[I++],done:!x}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(x,R){var E="function"==typeof Symbol&&x[Symbol.iterator];if(!E)return x;var L,Q,I=E.call(x),D=[];try{for(;(void 0===R||R-- >0)&&!(L=I.next()).done;)D.push(L.value)}catch(te){Q={error:te}}finally{try{L&&!L.done&&(E=I.return)&&E.call(I)}finally{if(Q)throw Q.error}}return D}function G(){for(var x=[],R=0;R<arguments.length;R++)x=x.concat(b(arguments[R]));return x}function z(){for(var x=0,R=0,E=arguments.length;R<E;R++)x+=arguments[R].length;var I=Array(x),L=0;for(R=0;R<E;R++)for(var D=arguments[R],Q=0,te=D.length;Q<te;Q++,L++)I[L]=D[Q];return I}function H(x){return this instanceof H?(this.v=x,this):new H(x)}function ee(x,R,E){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var L,I=E.apply(x,R||[]),D=[];return L={},Q("next"),Q("throw"),Q("return"),L[Symbol.asyncIterator]=function(){return this},L;function Q(Te){I[Te]&&(L[Te]=function(tt){return new Promise(function(Qe,vt){D.push([Te,tt,Qe,vt])>1||te(Te,tt)})})}function te(Te,tt){try{!function Re(Te){Te.value instanceof H?Promise.resolve(Te.value.v).then(ne,Fe):rt(D[0][2],Te)}(I[Te](tt))}catch(Qe){rt(D[0][3],Qe)}}function ne(Te){te("next",Te)}function Fe(Te){te("throw",Te)}function rt(Te,tt){Te(tt),D.shift(),D.length&&te(D[0][0],D[0][1])}}function U(x){var R,E;return R={},I("next"),I("throw",function(L){throw L}),I("return"),R[Symbol.iterator]=function(){return this},R;function I(L,D){R[L]=x[L]?function(Q){return(E=!E)?{value:H(x[L](Q)),done:"return"===L}:D?D(Q):Q}:D}}function W(x){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var E,R=x[Symbol.asyncIterator];return R?R.call(x):(x=v(x),E={},I("next"),I("throw"),I("return"),E[Symbol.asyncIterator]=function(){return this},E);function I(D){E[D]=x[D]&&function(Q){return new Promise(function(te,Re){!function L(D,Q,te,Re){Promise.resolve(Re).then(function(ne){D({value:ne,done:te})},Q)}(te,Re,(Q=x[D](Q)).done,Q.value)})}}}function Y(x,R){return Object.defineProperty?Object.defineProperty(x,"raw",{value:R}):x.raw=R,x}function ae(x){if(x&&x.__esModule)return x;var R={};if(null!=x)for(var E in x)Object.hasOwnProperty.call(x,E)&&(R[E]=x[E]);return R.default=x,R}function ve(x){return x&&x.__esModule?x:{default:x}}function _e(x,R){if(!R.has(x))throw new TypeError("attempted to get private field on non-instance");return R.get(x)}function he(x,R,E){if(!R.has(x))throw new TypeError("attempted to set private field on non-instance");return R.set(x,E),E}},54287:()=>{},56989:()=>{},24654:()=>{},69862:()=>{},40964:()=>{},62195:fe=>{fe.exports=function V(S,M){(null==M||M>S.length)&&(M=S.length);for(var K=0,B=new Array(M);K<M;K++)B[K]=S[K];return B},fe.exports.__esModule=!0,fe.exports.default=fe.exports},14156:fe=>{fe.exports=function V(S){if(Array.isArray(S))return S},fe.exports.__esModule=!0,fe.exports.default=fe.exports},45664:fe=>{fe.exports=function V(S,M){if(!(S instanceof M))throw new TypeError("Cannot call a class as a function")},fe.exports.__esModule=!0,fe.exports.default=fe.exports},16996:(fe,V,S)=>{var M=S(7588);function K(r,y){for(var f=0;f<y.length;f++){var g=y[f];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(r,M(g.key),g)}}fe.exports=function B(r,y,f){return y&&K(r.prototype,y),f&&K(r,f),Object.defineProperty(r,"prototype",{writable:!1}),r},fe.exports.__esModule=!0,fe.exports.default=fe.exports},9482:(fe,V,S)=>{var M=S(7588);fe.exports=function K(B,r,y){return(r=M(r))in B?Object.defineProperty(B,r,{value:y,enumerable:!0,configurable:!0,writable:!0}):B[r]=y,B},fe.exports.__esModule=!0,fe.exports.default=fe.exports},82956:fe=>{fe.exports=function V(S,M){var K=null==S?null:typeof Symbol<"u"&&S[Symbol.iterator]||S["@@iterator"];if(null!=K){var B,r,y,f,g=[],_=!0,P=!1;try{if(y=(K=K.call(S)).next,0===M){if(Object(K)!==K)return;_=!1}else for(;!(_=(B=y.call(K)).done)&&(g.push(B.value),g.length!==M);_=!0);}catch(O){P=!0,r=O}finally{try{if(!_&&null!=K.return&&(f=K.return(),Object(f)!==f))return}finally{if(P)throw r}}return g}},fe.exports.__esModule=!0,fe.exports.default=fe.exports},8110:fe=>{fe.exports=function V(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},fe.exports.__esModule=!0,fe.exports.default=fe.exports},3667:(fe,V,S)=>{var M=S(14156),K=S(82956),B=S(46780),r=S(8110);fe.exports=function y(f,g){return M(f)||K(f,g)||B(f,g)||r()},fe.exports.__esModule=!0,fe.exports.default=fe.exports},86977:(fe,V,S)=>{var M=S(23881).default;fe.exports=function K(B,r){if("object"!==M(B)||null===B)return B;var y=B[Symbol.toPrimitive];if(void 0!==y){var f=y.call(B,r||"default");if("object"!==M(f))return f;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(B)},fe.exports.__esModule=!0,fe.exports.default=fe.exports},7588:(fe,V,S)=>{var M=S(23881).default,K=S(86977);fe.exports=function B(r){var y=K(r,"string");return"symbol"===M(y)?y:String(y)},fe.exports.__esModule=!0,fe.exports.default=fe.exports},23881:fe=>{function V(S){return fe.exports=V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(M){return typeof M}:function(M){return M&&"function"==typeof Symbol&&M.constructor===Symbol&&M!==Symbol.prototype?"symbol":typeof M},fe.exports.__esModule=!0,fe.exports.default=fe.exports,V(S)}fe.exports=V,fe.exports.__esModule=!0,fe.exports.default=fe.exports},46780:(fe,V,S)=>{var M=S(62195);fe.exports=function K(B,r){if(B){if("string"==typeof B)return M(B,r);var y=Object.prototype.toString.call(B).slice(8,-1);if("Object"===y&&B.constructor&&(y=B.constructor.name),"Map"===y||"Set"===y)return Array.from(B);if("Arguments"===y||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return M(B,r)}},fe.exports.__esModule=!0,fe.exports.default=fe.exports},10203:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{FT:()=>StoreDevtoolsModule});var _home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_29__=__webpack_require__(32090),_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(86170),_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(24582),_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(28694),_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(35603),_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(48047),_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(78069),_angular_core__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(56718),_ngrx_store__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(93896),rxjs__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(20591),rxjs__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(90833),rxjs__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(10745),rxjs__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(36646),rxjs__WEBPACK_IMPORTED_MODULE_25__=__webpack_require__(34915),rxjs__WEBPACK_IMPORTED_MODULE_26__=__webpack_require__(26067),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(81203),rxjs_operators__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(60116),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(50635),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(63853),rxjs_operators__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(87580),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(71989),rxjs_operators__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(53158),rxjs_operators__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(59295),rxjs_operators__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(68951),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(32673),rxjs_operators__WEBPACK_IMPORTED_MODULE_23__=__webpack_require__(87260),rxjs_operators__WEBPACK_IMPORTED_MODULE_24__=__webpack_require__(8728),rxjs_operators__WEBPACK_IMPORTED_MODULE_27__=__webpack_require__(10538),rxjs_operators__WEBPACK_IMPORTED_MODULE_28__=__webpack_require__(24503),_angular_core_rxjs_interop__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(64610),PERFORM_ACTION="PERFORM_ACTION",REFRESH="REFRESH",RESET="RESET",ROLLBACK="ROLLBACK",COMMIT="COMMIT",SWEEP="SWEEP",TOGGLE_ACTION="TOGGLE_ACTION",SET_ACTIONS_ACTIVE="SET_ACTIONS_ACTIVE",JUMP_TO_STATE="JUMP_TO_STATE",JUMP_TO_ACTION="JUMP_TO_ACTION",IMPORT_STATE="IMPORT_STATE",LOCK_CHANGES="LOCK_CHANGES",PAUSE_RECORDING="PAUSE_RECORDING",PerformAction=(0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_2__.Z)(function fe(V,S){if((0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_3__.Z)(this,fe),this.action=V,this.timestamp=S,this.type=PERFORM_ACTION,typeof V.type>"u")throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?')}),Refresh=(0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_2__.Z)(function fe(){(0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_3__.Z)(this,fe),this.type=REFRESH}),Reset=(0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_2__.Z)(function fe(V){(0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_3__.Z)(this,fe),this.timestamp=V,this.type=RESET}),Rollback=(0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_2__.Z)(function fe(V){(0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_3__.Z)(this,fe),this.timestamp=V,this.type=ROLLBACK}),Commit=(0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_2__.Z)(function fe(V){(0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_3__.Z)(this,fe),this.timestamp=V,this.type=COMMIT}),Sweep=(0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_2__.Z)(function fe(){(0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_3__.Z)(this,fe),this.type=SWEEP}),ToggleAction=(0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_2__.Z)(function fe(V){(0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_3__.Z)(this,fe),this.id=V,this.type=TOGGLE_ACTION}),SetActionsActive=null,JumpToState=(0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_2__.Z)(function fe(V){(0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_3__.Z)(this,fe),this.index=V,this.type=JUMP_TO_STATE}),JumpToAction=(0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_2__.Z)(function fe(V){(0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_3__.Z)(this,fe),this.actionId=V,this.type=JUMP_TO_ACTION}),ImportState=(0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_2__.Z)(function fe(V){(0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_3__.Z)(this,fe),this.nextLiftedState=V,this.type=IMPORT_STATE}),LockChanges=(0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_2__.Z)(function fe(V){(0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_3__.Z)(this,fe),this.status=V,this.type=LOCK_CHANGES}),PauseRecording=(0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_2__.Z)(function fe(V){(0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_3__.Z)(this,fe),this.status=V,this.type=PAUSE_RECORDING}),StoreDevtoolsConfig=(0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_2__.Z)(function fe(){(0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_3__.Z)(this,fe),this.maxAge=!1}),STORE_DEVTOOLS_CONFIG=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken("@ngrx/store-devtools Options"),INITIAL_OPTIONS=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken("@ngrx/store-devtools Initial Config");function noMonitor(){return null}var DEFAULT_NAME="NgRx Store DevTools";function createConfig(fe){var V={maxAge:!1,monitor:noMonitor,actionSanitizer:void 0,stateSanitizer:void 0,name:DEFAULT_NAME,serialize:!1,logOnly:!1,autoPause:!1,trace:!1,traceLimit:75,features:{pause:!0,lock:!0,persist:!0,export:!0,import:"custom",jump:!0,skip:!0,reorder:!0,dispatch:!0,test:!0}},S="function"==typeof fe?fe():fe,K=S.features||!!S.logOnly&&{pause:!0,export:!0,test:!0}||V.features;!0===K.import&&(K.import="custom");var B=Object.assign({},V,{features:K},S);if(B.maxAge&&B.maxAge<2)throw new Error("Devtools 'maxAge' cannot be less than 2, got ".concat(B.maxAge));return B}function difference(fe,V){return fe.filter(function(S){return V.indexOf(S)<0})}function unliftState(fe){var V=fe.computedStates,S=fe.currentStateIndex;return S>=V.length?V[V.length-1].state:V[S].state}function unliftAction(fe){return fe.actionsById[fe.nextActionId-1]}function liftAction(fe){return new PerformAction(fe,+Date.now())}function sanitizeActions(fe,V){return Object.keys(V).reduce(function(S,M){var K=Number(M);return S[K]=sanitizeAction(fe,V[K],K),S},{})}function sanitizeAction(fe,V,S){return(0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)((0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({},V),{},{action:fe(V.action,S)})}function sanitizeStates(fe,V){return V.map(function(S,M){return{state:sanitizeState(fe,S.state,M),error:S.error}})}function sanitizeState(fe,V,S){return fe(V,S)}function shouldFilterActions(fe){return fe.predicate||fe.actionsSafelist||fe.actionsBlocklist}function filterLiftedState(fe,V,S,M){var K=[],B={},r=[];return fe.stagedActionIds.forEach(function(y,f){var g=fe.actionsById[y];g&&(f&&isActionFiltered(fe.computedStates[f],g,V,S,M)||(B[y]=g,K.push(y),r.push(fe.computedStates[f])))}),(0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)((0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({},fe),{},{stagedActionIds:K,actionsById:B,computedStates:r})}function isActionFiltered(fe,V,S,M,K){var B=S&&!S(fe,V.action),r=M&&!V.action.type.match(M.map(function(f){return escapeRegExp(f)}).join("|")),y=K&&V.action.type.match(K.map(function(f){return escapeRegExp(f)}).join("|"));return B||r||y}function escapeRegExp(fe){return fe.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}var DevtoolsDispatcher=function(){var fe=function(V){(0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_5__.Z)(M,V);var S=(0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_6__.Z)(M);function M(){return(0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_3__.Z)(this,M),S.apply(this,arguments)}return(0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_2__.Z)(M)}(_ngrx_store__WEBPACK_IMPORTED_MODULE_7__.UO);return fe.\u0275fac=function(){var V;return function(M){return(V||(V=_angular_core__WEBPACK_IMPORTED_MODULE_0__.\u0275\u0275getInheritedFactory(fe)))(M||fe)}}(),fe.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.\u0275\u0275defineInjectable({token:fe,factory:fe.\u0275fac}),fe}(),ExtensionActionTypes={START:"START",DISPATCH:"DISPATCH",STOP:"STOP",ACTION:"ACTION"},REDUX_DEVTOOLS_EXTENSION=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken("@ngrx/store-devtools Redux Devtools Extension"),DevtoolsExtension=function(){var DevtoolsExtension=function(){function DevtoolsExtension(fe,V,S){(0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_3__.Z)(this,DevtoolsExtension),this.config=V,this.dispatcher=S,this.devtoolsExtension=fe,this.createActionStreams()}return(0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_2__.Z)(DevtoolsExtension,[{key:"notify",value:function(V,S){var M=this;if(this.devtoolsExtension)if(V.type===PERFORM_ACTION){if(S.isLocked||S.isPaused)return;var K=unliftState(S);if(shouldFilterActions(this.config)&&isActionFiltered(K,V,this.config.predicate,this.config.actionsSafelist,this.config.actionsBlocklist))return;var B=this.config.stateSanitizer?sanitizeState(this.config.stateSanitizer,K,S.currentStateIndex):K,r=this.config.actionSanitizer?sanitizeAction(this.config.actionSanitizer,V,S.nextActionId):V;this.sendToReduxDevtools(function(){return M.extensionConnection.send(r,B)})}else{var y=(0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)((0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({},S),{},{stagedActionIds:S.stagedActionIds,actionsById:this.config.actionSanitizer?sanitizeActions(this.config.actionSanitizer,S.actionsById):S.actionsById,computedStates:this.config.stateSanitizer?sanitizeStates(this.config.stateSanitizer,S.computedStates):S.computedStates});this.sendToReduxDevtools(function(){return M.devtoolsExtension.send(null,y,M.getExtensionConfig(M.config))})}}},{key:"createChangesObservable",value:function(){var V=this;return this.devtoolsExtension?new rxjs__WEBPACK_IMPORTED_MODULE_9__.y(function(S){var M=V.devtoolsExtension.connect(V.getExtensionConfig(V.config));return V.extensionConnection=M,M.init(),M.subscribe(function(K){return S.next(K)}),M.unsubscribe}):rxjs__WEBPACK_IMPORTED_MODULE_8__.E}},{key:"createActionStreams",value:function(){var V=this,S=this.createChangesObservable().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.B)()),M=S.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.h)(function(g){return g.type===ExtensionActionTypes.START})),K=S.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.h)(function(g){return g.type===ExtensionActionTypes.STOP})),B=S.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.h)(function(g){return g.type===ExtensionActionTypes.DISPATCH}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(function(g){return V.unwrapAction(g.payload)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.b)(function(g){return g.type===IMPORT_STATE?V.dispatcher.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.h)(function(_){return _.type===_ngrx_store__WEBPACK_IMPORTED_MODULE_7__.wb}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.V)(1e3),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.b)(1e3),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(function(){return g}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_16__.K)(function(){return(0,rxjs__WEBPACK_IMPORTED_MODULE_17__.of)(g)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_18__.q)(1)):(0,rxjs__WEBPACK_IMPORTED_MODULE_17__.of)(g)})),y=S.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.h)(function(g){return g.type===ExtensionActionTypes.ACTION}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(function(g){return V.unwrapAction(g.payload)})).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_19__.R)(K)),f=B.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_19__.R)(K));this.start$=M.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_19__.R)(K)),this.actions$=this.start$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.w)(function(){return y})),this.liftedActions$=this.start$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.w)(function(){return f}))}},{key:"unwrapAction",value:function unwrapAction(action){return"string"==typeof action?eval("(".concat(action,")")):action}},{key:"getExtensionConfig",value:function fe(V){var S,M,K,B={name:V.name,features:V.features,serialize:V.serialize,autoPause:null!==(S=V.autoPause)&&void 0!==S&&S,trace:null!==(M=V.trace)&&void 0!==M&&M,traceLimit:null!==(K=V.traceLimit)&&void 0!==K?K:75};return!1!==V.maxAge&&(B.maxAge=V.maxAge),B}},{key:"sendToReduxDevtools",value:function fe(V){try{V()}catch(S){console.warn("@ngrx/store-devtools: something went wrong inside the redux devtools",S)}}}]),DevtoolsExtension}();return DevtoolsExtension.\u0275fac=function fe(V){return new(V||DevtoolsExtension)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.\u0275\u0275inject(REDUX_DEVTOOLS_EXTENSION),_angular_core__WEBPACK_IMPORTED_MODULE_0__.\u0275\u0275inject(STORE_DEVTOOLS_CONFIG),_angular_core__WEBPACK_IMPORTED_MODULE_0__.\u0275\u0275inject(DevtoolsDispatcher))},DevtoolsExtension.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.\u0275\u0275defineInjectable({token:DevtoolsExtension,factory:DevtoolsExtension.\u0275fac}),DevtoolsExtension}(),INIT_ACTION={type:_ngrx_store__WEBPACK_IMPORTED_MODULE_7__.qg},RECOMPUTE="@ngrx/store-devtools/recompute",RECOMPUTE_ACTION={type:RECOMPUTE};function computeNextEntry(fe,V,S,M,K){if(M)return{state:S,error:"Interrupted by an error up the chain"};var r,B=S;try{B=fe(S,V)}catch(y){r=y.toString(),K.handleError(y)}return{state:B,error:r}}function recomputeStates(fe,V,S,M,K,B,r,y,f){if(V>=fe.length&&fe.length===B.length)return fe;for(var g=fe.slice(0,V),_=B.length-(f?1:0),P=V;P<_;P++){var O=B[P],j=K[O].action,v=g[P-1],b=v?v.state:M,G=v?v.error:void 0,H=r.indexOf(O)>-1?v:computeNextEntry(S,j,b,G,y);g.push(H)}return f&&g.push(fe[fe.length-1]),g}function liftInitialState(fe,V){return{monitorState:V(void 0,{}),nextActionId:1,actionsById:{0:liftAction(INIT_ACTION)},stagedActionIds:[0],skippedActionIds:[],committedState:fe,currentStateIndex:0,computedStates:[],isLocked:!1,isPaused:!1}}function liftReducerWith(fe,V,S,M){var K=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return function(B){return function(r,y){var f=r||V,g=f.monitorState,_=f.actionsById,P=f.nextActionId,O=f.stagedActionIds,j=f.skippedActionIds,v=f.committedState,b=f.currentStateIndex,G=f.computedStates,z=f.isLocked,H=f.isPaused;function ee(Re){for(var ne=Re,Fe=O.slice(1,ne+1),rt=0;rt<Fe.length;rt++){if(G[rt+1].error){Fe=O.slice(1,(ne=rt)+1);break}delete _[Fe[rt]]}j=j.filter(function(Te){return-1===Fe.indexOf(Te)}),O=[0].concat((0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_21__.Z)(O.slice(ne+1))),v=G[ne].state,G=G.slice(ne),b=b>ne?b-ne:0}function U(){_={0:liftAction(INIT_ACTION)},P=1,O=[0],j=[],v=G[b].state,b=0,G=[]}r||(_=Object.create(_));var W=0;switch(y.type){case LOCK_CHANGES:z=y.status,W=1/0;break;case PAUSE_RECORDING:(H=y.status)?(O=[].concat((0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_21__.Z)(O),[P]),_[P]=new PerformAction({type:"@ngrx/devtools/pause"},+Date.now()),P++,W=O.length-1,G=G.concat(G[G.length-1]),b===O.length-2&&b++,W=1/0):U();break;case RESET:_={0:liftAction(INIT_ACTION)},P=1,O=[0],j=[],v=fe,b=0,G=[];break;case COMMIT:U();break;case ROLLBACK:_={0:liftAction(INIT_ACTION)},P=1,O=[0],j=[],b=0,G=[];break;case TOGGLE_ACTION:var Y=y.id,ae=j.indexOf(Y);j=-1===ae?[Y].concat((0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_21__.Z)(j)):j.filter(function(Re){return Re!==Y}),W=O.indexOf(Y);break;case SET_ACTIONS_ACTIVE:for(var ve=y.start,_e=y.end,he=y.active,x=[],R=ve;R<_e;R++)x.push(R);j=he?difference(j,x):[].concat((0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_21__.Z)(j),x),W=O.indexOf(ve);break;case JUMP_TO_STATE:b=y.index,W=1/0;break;case JUMP_TO_ACTION:var E=O.indexOf(y.actionId);-1!==E&&(b=E),W=1/0;break;case SWEEP:O=difference(O,j),j=[],b=Math.min(b,O.length-1);break;case PERFORM_ACTION:if(z)return r||V;if(H||r&&isActionFiltered(r.computedStates[b],y,K.predicate,K.actionsSafelist,K.actionsBlocklist)){var I=G[G.length-1];G=[].concat((0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_21__.Z)(G.slice(0,-1)),[computeNextEntry(B,y.action,I.state,I.error,S)]),W=1/0;break}K.maxAge&&O.length===K.maxAge&&ee(1),b===O.length-1&&b++;var L=P++;_[L]=y,W=(O=[].concat((0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_21__.Z)(O),[L])).length-1;break;case IMPORT_STATE:var D=y.nextLiftedState;g=D.monitorState,_=D.actionsById,P=D.nextActionId,O=D.stagedActionIds,j=D.skippedActionIds,v=D.committedState,b=D.currentStateIndex,G=D.computedStates,z=D.isLocked,H=D.isPaused;break;case _ngrx_store__WEBPACK_IMPORTED_MODULE_7__.qg:W=0,K.maxAge&&O.length>K.maxAge&&(G=recomputeStates(G,W,B,v,_,O,j,S,H),ee(O.length-K.maxAge),W=1/0);break;case _ngrx_store__WEBPACK_IMPORTED_MODULE_7__.wb:if(G.filter(function(Re){return Re.error}).length>0)W=0,K.maxAge&&O.length>K.maxAge&&(G=recomputeStates(G,W,B,v,_,O,j,S,H),ee(O.length-K.maxAge),W=1/0);else{if(!H&&!z){b===O.length-1&&b++;var te=P++;_[te]=new PerformAction(y,+Date.now()),O=[].concat((0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_21__.Z)(O),[te]),G=recomputeStates(G,W=O.length-1,B,v,_,O,j,S,H)}G=G.map(function(Re){return(0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)((0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({},Re),{},{state:B(Re.state,RECOMPUTE_ACTION)})}),b=O.length-1,K.maxAge&&O.length>K.maxAge&&ee(O.length-K.maxAge),W=1/0}break;default:W=1/0}return G=recomputeStates(G,W,B,v,_,O,j,S,H),{monitorState:g=M(g,y),actionsById:_,nextActionId:P,stagedActionIds:O,skippedActionIds:j,committedState:v,currentStateIndex:b,computedStates:G,isLocked:z,isPaused:H}}}}var StoreDevtools=function(){var fe=function(){function V(S,M,K,B,r,y,f,g){var _=this;(0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_3__.Z)(this,V);var P=liftInitialState(f,g.monitor),O=liftReducerWith(f,P,y,g.monitor,g),j=(0,rxjs__WEBPACK_IMPORTED_MODULE_22__.T)((0,rxjs__WEBPACK_IMPORTED_MODULE_22__.T)(M.asObservable().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_23__.T)(1)),B.actions$).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(liftAction)),S,B.liftedActions$).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_24__.Q)(rxjs__WEBPACK_IMPORTED_MODULE_25__.N)),v=K.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(O)),b=new rxjs__WEBPACK_IMPORTED_MODULE_26__.t(1),G=j.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_27__.M)(v),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_28__.R)(function(U,W){var Y=U.state,ae=(0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_29__.Z)(W,2),ve=ae[0],he=(0,ae[1])(Y,ve);return ve.type!==PERFORM_ACTION&&shouldFilterActions(g)&&(he=filterLiftedState(he,g.predicate,g.actionsSafelist,g.actionsBlocklist)),B.notify(ve,he),{state:he,action:ve}},{state:P,action:null})).subscribe(function(U){var Y=U.action;b.next(U.state),Y.type===PERFORM_ACTION&&r.next(Y.action)}),z=B.start$.subscribe(function(){_.refresh()}),H=b.asObservable(),ee=H.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(unliftState));Object.defineProperty(ee,"state",{value:(0,_angular_core_rxjs_interop__WEBPACK_IMPORTED_MODULE_1__.toSignal)(ee,{manualCleanup:!0,requireSync:!0})}),this.extensionStartSubscription=z,this.stateSubscription=G,this.dispatcher=S,this.liftedState=H,this.state=ee}return(0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_2__.Z)(V,[{key:"dispatch",value:function(M){this.dispatcher.next(M)}},{key:"next",value:function(M){this.dispatcher.next(M)}},{key:"error",value:function(M){}},{key:"complete",value:function(){}},{key:"performAction",value:function(M){this.dispatch(new PerformAction(M,+Date.now()))}},{key:"refresh",value:function(){this.dispatch(new Refresh)}},{key:"reset",value:function(){this.dispatch(new Reset(+Date.now()))}},{key:"rollback",value:function(){this.dispatch(new Rollback(+Date.now()))}},{key:"commit",value:function(){this.dispatch(new Commit(+Date.now()))}},{key:"sweep",value:function(){this.dispatch(new Sweep)}},{key:"toggleAction",value:function(M){this.dispatch(new ToggleAction(M))}},{key:"jumpToAction",value:function(M){this.dispatch(new JumpToAction(M))}},{key:"jumpToState",value:function(M){this.dispatch(new JumpToState(M))}},{key:"importState",value:function(M){this.dispatch(new ImportState(M))}},{key:"lockChanges",value:function(M){this.dispatch(new LockChanges(M))}},{key:"pauseRecording",value:function(M){this.dispatch(new PauseRecording(M))}}]),V}();return fe.\u0275fac=function(S){return new(S||fe)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.\u0275\u0275inject(DevtoolsDispatcher),_angular_core__WEBPACK_IMPORTED_MODULE_0__.\u0275\u0275inject(_ngrx_store__WEBPACK_IMPORTED_MODULE_7__.UO),_angular_core__WEBPACK_IMPORTED_MODULE_0__.\u0275\u0275inject(_ngrx_store__WEBPACK_IMPORTED_MODULE_7__.n$),_angular_core__WEBPACK_IMPORTED_MODULE_0__.\u0275\u0275inject(DevtoolsExtension),_angular_core__WEBPACK_IMPORTED_MODULE_0__.\u0275\u0275inject(_ngrx_store__WEBPACK_IMPORTED_MODULE_7__.Y$),_angular_core__WEBPACK_IMPORTED_MODULE_0__.\u0275\u0275inject(_angular_core__WEBPACK_IMPORTED_MODULE_0__.ErrorHandler),_angular_core__WEBPACK_IMPORTED_MODULE_0__.\u0275\u0275inject(_ngrx_store__WEBPACK_IMPORTED_MODULE_7__.Y6),_angular_core__WEBPACK_IMPORTED_MODULE_0__.\u0275\u0275inject(STORE_DEVTOOLS_CONFIG))},fe.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.\u0275\u0275defineInjectable({token:fe,factory:fe.\u0275fac}),fe}(),IS_EXTENSION_OR_MONITOR_PRESENT=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken("@ngrx/store-devtools Is Devtools Extension or Monitor Present");function createIsExtensionOrMonitorPresent(fe,V){return!!fe||V.monitor!==noMonitor}function createReduxDevtoolsExtension(){var fe="__REDUX_DEVTOOLS_EXTENSION__";return"object"==typeof window&&typeof window[fe]<"u"?window[fe]:null}function provideStoreDevtools(){return(0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.makeEnvironmentProviders)([DevtoolsExtension,DevtoolsDispatcher,StoreDevtools,{provide:INITIAL_OPTIONS,useValue:arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}},{provide:IS_EXTENSION_OR_MONITOR_PRESENT,deps:[REDUX_DEVTOOLS_EXTENSION,STORE_DEVTOOLS_CONFIG],useFactory:createIsExtensionOrMonitorPresent},{provide:REDUX_DEVTOOLS_EXTENSION,useFactory:createReduxDevtoolsExtension},{provide:STORE_DEVTOOLS_CONFIG,deps:[INITIAL_OPTIONS],useFactory:createConfig},{provide:_ngrx_store__WEBPACK_IMPORTED_MODULE_7__.FR,deps:[StoreDevtools],useFactory:createStateObservable},{provide:_ngrx_store__WEBPACK_IMPORTED_MODULE_7__.mK,useExisting:DevtoolsDispatcher}])}function createStateObservable(fe){return fe.state}var StoreDevtoolsModule=function(){var fe=function(){function V(){(0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_3__.Z)(this,V)}return(0,_home_runner_work_spearhead_canva_spearhead_canva_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_2__.Z)(V,null,[{key:"instrument",value:function(){return{ngModule:V,providers:[provideStoreDevtools(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})]}}}]),V}();return fe.\u0275fac=function(S){return new(S||fe)},fe.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_0__.\u0275\u0275defineNgModule({type:fe}),fe.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_0__.\u0275\u0275defineInjector({}),fe}()},93896:(fe,V,S)=>{S.d(V,{hg:()=>un,UO:()=>Qe,qg:()=>tt,Y6:()=>it,PB:()=>Pn,mK:()=>_t,n$:()=>ki,Y$:()=>Cn,FR:()=>Fr,yh:()=>Qn,CK:()=>gr,Aw:()=>ii,cr:()=>hr,wb:()=>Pt,UY:()=>De,qC:()=>ar,PH:()=>I,ZF:()=>ls,Lq:()=>jr,P1:()=>To,rM:()=>wa,on:()=>Yr,Ky:()=>L,Ys:()=>Xr});var M=S(95106),K=S(60609),B=S(32090),r=S(35488),y=S(86170),f=S(78069),g=S(48047),_=S(4089),P=S(20265),O=S(24582),j=S(28694),v=S(77797),b=S(35603),G=S(56718),z=S(76317),H=S(90833),ee=S(50253),U=S(34915),W=S(8728),Y=S(10538),ae=S(24503),ve=S(50635);function _e(){for(var Ze=arguments.length,lt=new Array(Ze),ct=0;ct<Ze;ct++)lt[ct]=arguments[ct];var wt=lt.length;if(0===wt)throw new Error("list of properties cannot be empty.");return(0,ve.U)(function(Ft){for(var Rt=Ft,Jt=0;Jt<wt;Jt++){var vn=Rt?.[lt[Jt]];if(!(typeof vn<"u"))return;Rt=vn}return Rt})}var he=S(98977),x=S(64610),R={};function I(Ze,lt){if(R[Ze]=(R[Ze]||0)+1,"function"==typeof lt)return Q(Ze,function(){return(0,b.Z)((0,b.Z)({},lt.apply(void 0,arguments)),{},{type:Ze})});switch(lt?lt._as:"empty"){case"empty":return Q(Ze,function(){return{type:Ze}});case"props":return Q(Ze,function(wt){return(0,b.Z)((0,b.Z)({},wt),{},{type:Ze})});default:throw new Error("Unexpected config.")}}function L(){return{_as:"props",_p:void 0}}function Q(Ze,lt){return Object.defineProperty(lt,"type",{value:Ze,writable:!1})}var tt="@ngrx/store/init",Qe=function(){var Ze=function(lt){(0,O.Z)(wt,lt);var ct=(0,j.Z)(wt);function wt(){return(0,f.Z)(this,wt),ct.call(this,{type:tt})}return(0,g.Z)(wt,[{key:"next",value:function(Rt){if("function"==typeof Rt)throw new TypeError("\n Dispatch expected an object, instead it received a function.\n If you're using the createAction function, make sure to invoke the function\n before dispatching the action. For example, someAction should be someAction().");if(typeof Rt>"u")throw new TypeError("Actions must be objects");if(typeof Rt.type>"u")throw new TypeError("Actions must have a type property");(0,_.Z)((0,P.Z)(wt.prototype),"next",this).call(this,Rt)}},{key:"complete",value:function(){}},{key:"ngOnDestroy",value:function(){(0,_.Z)((0,P.Z)(wt.prototype),"complete",this).call(this)}}]),wt}(z.X);return Ze.\u0275fac=function(ct){return new(ct||Ze)},Ze.\u0275prov=G.\u0275\u0275defineInjectable({token:Ze,factory:Ze.\u0275fac}),Ze}(),vt=[Qe],et=new G.InjectionToken("@ngrx/store Internal Root Guard"),je=new G.InjectionToken("@ngrx/store Internal Initial State"),it=new G.InjectionToken("@ngrx/store Initial State"),de=new G.InjectionToken("@ngrx/store Reducer Factory"),J=new G.InjectionToken("@ngrx/store Internal Reducer Factory Provider"),oe=new G.InjectionToken("@ngrx/store Initial Reducers"),Ae=new G.InjectionToken("@ngrx/store Internal Initial Reducers"),Ne=new G.InjectionToken("@ngrx/store Store Features"),pe=new G.InjectionToken("@ngrx/store Internal Store Reducers"),xe=new G.InjectionToken("@ngrx/store Internal Feature Reducers"),ut=new G.InjectionToken("@ngrx/store Internal Feature Configs"),be=new G.InjectionToken("@ngrx/store Internal Store Features"),ce=new G.InjectionToken("@ngrx/store Internal Feature Reducers Token"),le=new G.InjectionToken("@ngrx/store Feature Reducers"),Ie=new G.InjectionToken("@ngrx/store User Provided Meta Reducers"),at=new G.InjectionToken("@ngrx/store Meta Reducers"),Tt=new G.InjectionToken("@ngrx/store Internal Resolved Meta Reducers"),Vt=new G.InjectionToken("@ngrx/store User Runtime Checks Config"),zt=new G.InjectionToken("@ngrx/store Internal User Runtime Checks Config"),un=new G.InjectionToken("@ngrx/store Internal Runtime Checks"),Xt=new G.InjectionToken("@ngrx/store Check if Action types are unique");function De(Ze){for(var lt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},ct=Object.keys(Ze),wt={},Ft=0;Ft<ct.length;Ft++){var Rt=ct[Ft];"function"==typeof Ze[Rt]&&(wt[Rt]=Ze[Rt])}var Jt=Object.keys(wt);return function(Sn,Yn){Sn=void 0===Sn?lt:Sn;for(var In=!1,cr={},ai=0;ai<Jt.length;ai++){var Mr=Jt[ai],Ci=Sn[Mr],$r=(0,wt[Mr])(Ci,Yn);cr[Mr]=$r,In=In||$r!==Ci}return In?cr:Sn}}function ar(){for(var Ze=arguments.length,lt=new Array(Ze),ct=0;ct<Ze;ct++)lt[ct]=arguments[ct];return function(wt){if(0===lt.length)return wt;var Ft=lt[lt.length-1];return lt.slice(0,-1).reduceRight(function(Jt,vn){return vn(Jt)},Ft(wt))}}function Qt(Ze,lt){return Array.isArray(lt)&<.length>0&&(Ze=ar.apply(null,[].concat((0,y.Z)(lt),[Ze]))),function(ct,wt){var Ft=Ze(ct);return function(Rt,Jt){return Ft(Rt=void 0===Rt?wt:Rt,Jt)}}}new G.InjectionToken("@ngrx/store Root Store Provider"),new G.InjectionToken("@ngrx/store Feature State Provider");var ki=function(Ze){(0,O.Z)(ct,Ze);var lt=(0,j.Z)(ct);function ct(){return(0,f.Z)(this,ct),lt.apply(this,arguments)}return(0,g.Z)(ct)}(H.y),_t=function(Ze){(0,O.Z)(ct,Ze);var lt=(0,j.Z)(ct);function ct(){return(0,f.Z)(this,ct),lt.apply(this,arguments)}return(0,g.Z)(ct)}(Qe),Pt="@ngrx/store/update-reducers",Pn=function(){var Ze=function(lt){(0,O.Z)(wt,lt);var ct=(0,j.Z)(wt);function wt(Ft,Rt,Jt,vn){var Sn;return(0,f.Z)(this,wt),(Sn=ct.call(this,vn(Jt,Rt))).dispatcher=Ft,Sn.initialState=Rt,Sn.reducers=Jt,Sn.reducerFactory=vn,Sn}return(0,g.Z)(wt,[{key:"currentReducers",get:function(){return this.reducers}},{key:"addFeature",value:function(Rt){this.addFeatures([Rt])}},{key:"addFeatures",value:function(Rt){var Jt=Rt.reduce(function(vn,Sn){var Yn=Sn.reducers,In=Sn.reducerFactory,cr=Sn.metaReducers,ai=Sn.initialState,Mr=Sn.key,Jr="function"==typeof Yn?function ba(Ze){var lt=Array.isArray(Ze)&&Ze.length>0?ar.apply(void 0,(0,y.Z)(Ze)):function(ct){return ct};return function(ct,wt){return ct=lt(ct),function(Ft,Rt){return ct(Ft=void 0===Ft?wt:Ft,Rt)}}}(cr)(Yn,ai):Qt(In,cr)(Yn,ai);return vn[Mr]=Jr,vn},{});this.addReducers(Jt)}},{key:"removeFeature",value:function(Rt){this.removeFeatures([Rt])}},{key:"removeFeatures",value:function(Rt){this.removeReducers(Rt.map(function(Jt){return Jt.key}))}},{key:"addReducer",value:function(Rt,Jt){this.addReducers((0,v.Z)({},Rt,Jt))}},{key:"addReducers",value:function(Rt){this.reducers=(0,b.Z)((0,b.Z)({},this.reducers),Rt),this.updateReducers(Object.keys(Rt))}},{key:"removeReducer",value:function(Rt){this.removeReducers([Rt])}},{key:"removeReducers",value:function(Rt){var Jt=this;Rt.forEach(function(vn){Jt.reducers=function Br(Ze,lt){return Object.keys(Ze).filter(function(ct){return ct!==lt}).reduce(function(ct,wt){return Object.assign(ct,(0,v.Z)({},wt,Ze[wt]))},{})}(Jt.reducers,vn)}),this.updateReducers(Rt)}},{key:"updateReducers",value:function(Rt){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:Pt,features:Rt})}},{key:"ngOnDestroy",value:function(){this.complete()}}]),wt}(z.X);return Ze.\u0275fac=function(ct){return new(ct||Ze)(G.\u0275\u0275inject(_t),G.\u0275\u0275inject(it),G.\u0275\u0275inject(oe),G.\u0275\u0275inject(de))},Ze.\u0275prov=G.\u0275\u0275defineInjectable({token:Ze,factory:Ze.\u0275fac}),Ze}(),zn=[Pn,{provide:ki,useExisting:Pn},{provide:_t,useExisting:Qe}],Cn=function(){var Ze=function(lt){(0,O.Z)(wt,lt);var ct=(0,j.Z)(wt);function wt(){return(0,f.Z)(this,wt),ct.apply(this,arguments)}return(0,g.Z)(wt,[{key:"ngOnDestroy",value:function(){this.complete()}}]),wt}(ee.x);return Ze.\u0275fac=function(){var lt;return function(wt){return(lt||(lt=G.\u0275\u0275getInheritedFactory(Ze)))(wt||Ze)}}(),Ze.\u0275prov=G.\u0275\u0275defineInjectable({token:Ze,factory:Ze.\u0275fac}),Ze}(),cn=[Cn],Fr=function(Ze){(0,O.Z)(ct,Ze);var lt=(0,j.Z)(ct);function ct(){return(0,f.Z)(this,ct),lt.apply(this,arguments)}return(0,g.Z)(ct)}(H.y),lr=function(){var Ze=function(lt){(0,O.Z)(wt,lt);var ct=(0,j.Z)(wt);function wt(Ft,Rt,Jt,vn){var Sn;(0,f.Z)(this,wt),Sn=ct.call(this,vn);var ai=Ft.pipe((0,W.Q)(U.N)).pipe((0,Y.M)(Rt)).pipe((0,ae.R)(wn,{state:vn}));return Sn.stateSubscription=ai.subscribe(function(Mr){var Ci=Mr.action;Sn.next(Mr.state),Jt.next(Ci)}),Sn.state=(0,x.toSignal)((0,r.Z)(Sn),{manualCleanup:!0,requireSync:!0}),Sn}return(0,g.Z)(wt,[{key:"ngOnDestroy",value:function(){this.stateSubscription.unsubscribe(),this.complete()}}]),wt}(z.X);return Ze.INIT=tt,Ze.\u0275fac=function(ct){return new(ct||Ze)(G.\u0275\u0275inject(Qe),G.\u0275\u0275inject(ki),G.\u0275\u0275inject(Cn),G.\u0275\u0275inject(it))},Ze.\u0275prov=G.\u0275\u0275defineInjectable({token:Ze,factory:Ze.\u0275fac}),Ze}();function wn(){var Ze=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{state:void 0},ct=(0,B.Z)(arguments.length>1?arguments[1]:void 0,2),wt=ct[0];return{state:(0,ct[1])(Ze.state,wt),action:wt}}var kr=[lr,{provide:Fr,useExisting:lr}],Qn=function(){var Ze=function(lt){(0,O.Z)(wt,lt);var ct=(0,j.Z)(wt);function wt(Ft,Rt,Jt){var vn;return(0,f.Z)(this,wt),(vn=ct.call(this)).actionsObserver=Rt,vn.reducerManager=Jt,vn.source=Ft,vn.state=Ft.state,vn}return(0,g.Z)(wt,[{key:"select",value:function(Rt){for(var Jt=arguments.length,vn=new Array(Jt>1?Jt-1:0),Sn=1;Sn<Jt;Sn++)vn[Sn-1]=arguments[Sn];return Xr.call.apply(Xr,[null,Rt].concat(vn))(this)}},{key:"selectSignal",value:function(Rt,Jt){var vn=this;return(0,G.computed)(function(){return Rt(vn.state())},{equal:Jt?.equal||function(Sn,Yn){return Sn===Yn}})}},{key:"lift",value:function(Rt){var Jt=new wt(this,this.actionsObserver,this.reducerManager);return Jt.operator=Rt,Jt}},{key:"dispatch",value:function(Rt){this.actionsObserver.next(Rt)}},{key:"next",value:function(Rt){this.actionsObserver.next(Rt)}},{key:"error",value:function(Rt){this.actionsObserver.error(Rt)}},{key:"complete",value:function(){this.actionsObserver.complete()}},{key:"addReducer",value:function(Rt,Jt){this.reducerManager.addReducer(Rt,Jt)}},{key:"removeReducer",value:function(Rt){this.reducerManager.removeReducer(Rt)}}]),wt}(H.y);return Ze.\u0275fac=function(ct){return new(ct||Ze)(G.\u0275\u0275inject(Fr),G.\u0275\u0275inject(Qe),G.\u0275\u0275inject(Pn))},Ze.\u0275prov=G.\u0275\u0275defineInjectable({token:Ze,factory:Ze.\u0275fac}),Ze}(),Vi=[Qn];function Xr(Ze,lt){for(var ct=arguments.length,wt=new Array(ct>2?ct-2:0),Ft=2;Ft<ct;Ft++)wt[Ft-2]=arguments[Ft];return function(Jt){var vn;if("string"==typeof Ze){var Sn=[lt].concat(wt).filter(Boolean);vn=Jt.pipe(_e.apply(void 0,[Ze].concat((0,y.Z)(Sn))))}else{if("function"!=typeof Ze)throw new TypeError("Unexpected type '".concat(typeof Ze,"' in select operator,")+" expected 'string' or 'function'");vn=Jt.pipe((0,ve.U)(function(Yn){return Ze(Yn,lt)}))}return vn.pipe((0,he.x)())}}var Lr="https://ngrx.io/guide/store/configuration/runtime-checks";function ci(Ze){return void 0===Ze}function Ba(Ze){return null===Ze}function zi(Ze){return Array.isArray(Ze)}function Hi(Ze){return"object"==typeof Ze&&null!==Ze}function Ti(Ze){return"function"==typeof Ze}var fr=!1;function wa(){return fr}function di(Ze,lt){return Ze===lt}function Sa(Ze){var Rt,lt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:di,ct=arguments.length>2&&void 0!==arguments[2]?arguments[2]:di,wt=null,Ft=null;return{memoized:function Yn(){if(void 0!==Rt)return Rt.result;if(!wt)return Ft=Ze.apply(null,arguments),wt=arguments,Ft;if(!function da(Ze,lt,ct){for(var wt=0;wt<Ze.length;wt++)if(!ct(Ze[wt],lt[wt]))return!0;return!1}(arguments,wt,lt))return Ft;var In=Ze.apply(null,arguments);return wt=arguments,ct(Ft,In)?Ft:(Ft=In,In)},reset:function Jt(){wt=null,Ft=null},setResult:function vn(){Rt={result:arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0}},clearResult:function Sn(){Rt=void 0}}}function To(){return function Io(Ze){var lt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{stateFn:us};return function(){for(var ct=arguments.length,wt=new Array(ct),Ft=0;Ft<ct;Ft++)wt[Ft]=arguments[Ft];var Rt=wt;if(Array.isArray(Rt[0])){var vn=(0,K.Z)(Rt),Sn=vn[0],Yn=vn.slice(1);Rt=[].concat((0,y.Z)(Sn),(0,y.Z)(Yn))}else 1===Rt.length&&function $s(Ze){return!!Ze&&"object"==typeof Ze&&Object.values(Ze).every(function(lt){return"function"==typeof lt})}(Rt[0])&&(Rt=function Oo(Ze){var lt=Object.values(Ze),ct=Object.keys(Ze);return[].concat(lt,[function(){for(var Rt=arguments.length,Jt=new Array(Rt),vn=0;vn<Rt;vn++)Jt[vn]=arguments[vn];return ct.reduce(function(Sn,Yn,In){return(0,b.Z)((0,b.Z)({},Sn),{},(0,v.Z)({},Yn,Jt[In]))},{})}])}(Rt[0]));var In=Rt.slice(0,Rt.length-1),cr=Rt[Rt.length-1],ai=In.filter(function($r){return $r.release&&"function"==typeof $r.release}),Mr=Ze(function(){for(var $r=arguments.length,tr=new Array($r),Zr=0;Zr<$r;Zr++)tr[Zr]=arguments[Zr];return cr.apply(null,tr)}),Jr=Sa(function($r,tr){return lt.stateFn.apply(null,[$r,In,tr,Mr])});return Object.assign(Jr.memoized,{release:function Ci(){Jr.reset(),Mr.reset(),ai.forEach(function($r){return $r.release()})},projector:Mr.memoized,setResult:Jr.setResult,clearResult:Jr.clearResult})}}(Sa).apply(void 0,arguments)}function us(Ze,lt,ct,wt){if(void 0===ct){var Ft=lt.map(function(Jt){return Jt(Ze)});return wt.memoized.apply(null,Ft)}var Rt=lt.map(function(Jt){return Jt(Ze,ct)});return wt.memoized.apply(null,[].concat((0,y.Z)(Rt),[ct]))}function ls(Ze){return To(function(lt){var ct=lt[Ze];return!wa()&&(0,G.isDevMode)()&&!(Ze in lt)&&console.warn('@ngrx/store: The feature name "'.concat(Ze,'" does ')+"not exist in the state, therefore createFeatureSelector cannot access it. Be sure it is imported in a loaded module "+"using StoreModule.forRoot('".concat(Ze,"', ...) or ")+"StoreModule.forFeature('".concat(Ze,"', ...). If the default ")+"state is intended to be undefined, as is the case with router state, this development-only warning message can be ignored."),ct},function(lt){return lt})}function k(Ze){return Ze instanceof G.InjectionToken?(0,G.inject)(Ze):Ze}function A(Ze,lt){return lt.map(function(ct,wt){if(Ze[wt]instanceof G.InjectionToken){var Ft=(0,G.inject)(Ze[wt]);return{key:ct.key,reducerFactory:Ft.reducerFactory?Ft.reducerFactory:De,metaReducers:Ft.metaReducers?Ft.metaReducers:[],initialState:Ft.initialState}}return ct})}function Z(Ze){return Ze.map(function(lt){return lt instanceof G.InjectionToken?(0,G.inject)(lt):lt})}function X(Ze){return"function"==typeof Ze?Ze():Ze}function ie(Ze,lt){return Ze.concat(lt)}function me(){if((0,G.inject)(Qn,{optional:!0,skipSelf:!0}))throw new TypeError("The root Store has been provided more than once. Feature modules should provide feature states instead.");return"guarded"}function Ve(Ze){Object.freeze(Ze);var lt=Ti(Ze);return Object.getOwnPropertyNames(Ze).forEach(function(ct){if(!ct.startsWith("\u0275")&&function Qr(Ze,lt){return Object.prototype.hasOwnProperty.call(Ze,lt)}(Ze,ct)&&(!lt||"caller"!==ct&&"callee"!==ct&&"arguments"!==ct)){var wt=Ze[ct];(Hi(wt)||Ti(wt))&&!Object.isFrozen(wt)&&Ve(wt)}}),Ze}function Be(Ze){var lt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(ci(Ze)||Ba(Ze))&&0===lt.length?{path:["root"],value:Ze}:Object.keys(Ze).reduce(function(wt,Ft){if(wt)return wt;var Rt=Ze[Ft];return function hi(Ze){return Ti(Ze)&&Ze.hasOwnProperty("\u0275cmp")}(Rt)?wt:!(ci(Rt)||Ba(Rt)||function Ri(Ze){return"number"==typeof Ze}(Rt)||function Gi(Ze){return"boolean"==typeof Ze}(Rt)||function Za(Ze){return"string"==typeof Ze}(Rt)||zi(Rt))&&(function Di(Ze){if(!function Ca(Ze){return Hi(Ze)&&!zi(Ze)}(Ze))return!1;var lt=Object.getPrototypeOf(Ze);return lt===Object.prototype||null===lt}(Rt)?Be(Rt,[].concat((0,y.Z)(lt),[Ft])):{path:[].concat((0,y.Z)(lt),[Ft]),value:Rt})},!1)}function $e(Ze,lt){if(!1!==Ze){var ct=Ze.path.join("."),wt=new Error("Detected unserializable ".concat(lt,' at "').concat(ct,'". ').concat(Lr,"#strict").concat(lt,"serializability"));throw wt.value=Ze.value,wt.unserializablePath=ct,wt}}function We(Ze){return(0,G.isDevMode)()?(0,b.Z)({strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1},Ze):{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function nt(Ze){var lt=Ze.strictActionSerializability,ct=Ze.strictStateSerializability;return function(wt){return lt||ct?function Me(Ze,lt){return function(ct,wt){lt.action(wt)&&$e(Be(wt),"action");var Rt=Ze(ct,wt);return lt.state()&&$e(Be(Rt),"state"),Rt}}(wt,{action:function(Rt){return lt&&!gt(Rt)},state:function(){return ct}}):wt}}function d(Ze){var lt=Ze.strictActionImmutability,ct=Ze.strictStateImmutability;return function(wt){return lt||ct?function Pe(Ze,lt){return function(ct,wt){var Ft=lt.action(wt)?Ve(wt):wt,Rt=Ze(ct,Ft);return lt.state()?Ve(Rt):Rt}}(wt,{action:function(Rt){return lt&&!gt(Rt)},state:function(){return ct}}):wt}}function gt(Ze){return Ze.type.startsWith("@ngrx")}function Et(Ze){var lt=Ze.strictActionWithinNgZone;return function(ct){return lt?function Ge(Ze,lt){return function(ct,wt){if(lt.action(wt)&&!G.NgZone.isInAngularZone())throw new Error("Action '".concat(wt.type,"' running outside NgZone. ").concat(Lr,"#strictactionwithinngzone"));return Ze(ct,wt)}}(ct,{action:function(Ft){return lt&&!gt(Ft)}}):ct}}function Ee(Ze){return[{provide:zt,useValue:Ze},{provide:Vt,useFactory:Ke,deps:[zt]},{provide:un,deps:[Vt],useFactory:We},{provide:at,multi:!0,deps:[un],useFactory:d},{provide:at,multi:!0,deps:[un],useFactory:nt},{provide:at,multi:!0,deps:[un],useFactory:Et}]}function ze(){return[{provide:Xt,multi:!0,deps:[un],useFactory:Xe}]}function Ke(Ze){return Ze}function Xe(Ze){if(Ze.strictActionTypeUniqueness){var lt=Object.entries(R).filter(function(ct){return(0,B.Z)(ct,2)[1]>1}).map(function(ct){return(0,B.Z)(ct,1)[0]});if(lt.length)throw new Error("Action types are registered more than once, ".concat(lt.map(function(ct){return'"'.concat(ct,'"')}).join(", "),". ").concat(Lr,"#strictactiontypeuniqueness"))}}function At(){var Ze=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},lt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return[{provide:et,useFactory:me},{provide:je,useValue:lt.initialState},{provide:it,useFactory:X,deps:[je]},{provide:Ae,useValue:Ze},{provide:pe,useExisting:Ze instanceof G.InjectionToken?Ze:Ae},{provide:oe,deps:[Ae,[new G.Inject(pe)]],useFactory:k},{provide:Ie,useValue:lt.metaReducers?lt.metaReducers:[]},{provide:Tt,deps:[at,Ie],useFactory:ie},{provide:J,useValue:lt.reducerFactory?lt.reducerFactory:De},{provide:de,deps:[J,Tt],useFactory:Qt},vt,zn,cn,kr,Vi,Ee(lt.runtimeChecks),ze()]}function or(Ze,lt){var ct=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return[{provide:ut,multi:!0,useValue:Ze instanceof Object?{}:ct},{provide:Ne,multi:!0,useValue:{key:Ze instanceof Object?Ze.name:Ze,reducerFactory:ct instanceof G.InjectionToken||!ct.reducerFactory?De:ct.reducerFactory,metaReducers:ct instanceof G.InjectionToken||!ct.metaReducers?[]:ct.metaReducers,initialState:ct instanceof G.InjectionToken||!ct.initialState?void 0:ct.initialState}},{provide:be,deps:[ut,Ne],useFactory:A},{provide:xe,multi:!0,useValue:Ze instanceof Object?Ze.reducer:lt},{provide:ce,multi:!0,useExisting:lt instanceof G.InjectionToken?lt:xe},{provide:le,multi:!0,deps:[xe,[new G.Inject(ce)]],useFactory:Z},ze()]}var hr=function(){var Ze=(0,g.Z)(function lt(ct,wt,Ft,Rt,Jt,vn){(0,f.Z)(this,lt)});return Ze.\u0275fac=function(ct){return new(ct||Ze)(G.\u0275\u0275inject(Qe),G.\u0275\u0275inject(ki),G.\u0275\u0275inject(Cn),G.\u0275\u0275inject(Qn),G.\u0275\u0275inject(et,8),G.\u0275\u0275inject(Xt,8))},Ze.\u0275mod=G.\u0275\u0275defineNgModule({type:Ze}),Ze.\u0275inj=G.\u0275\u0275defineInjector({}),Ze}(),gr=function(){var Ze=function(){function lt(ct,wt,Ft,Rt,Jt){(0,f.Z)(this,lt),this.features=ct,this.featureReducers=wt,this.reducerManager=Ft;var vn=ct.map(function(Sn,Yn){var cr=wt.shift()[Yn];return(0,b.Z)((0,b.Z)({},Sn),{},{reducers:cr,initialState:X(Sn.initialState)})});Ft.addFeatures(vn)}return(0,g.Z)(lt,[{key:"ngOnDestroy",value:function(){this.reducerManager.removeFeatures(this.features)}}]),lt}();return Ze.\u0275fac=function(ct){return new(ct||Ze)(G.\u0275\u0275inject(be),G.\u0275\u0275inject(le),G.\u0275\u0275inject(Pn),G.\u0275\u0275inject(hr),G.\u0275\u0275inject(Xt,8))},Ze.\u0275mod=G.\u0275\u0275defineNgModule({type:Ze}),Ze.\u0275inj=G.\u0275\u0275defineInjector({}),Ze}(),ii=function(){var Ze=function(){function lt(){(0,f.Z)(this,lt)}return(0,g.Z)(lt,null,[{key:"forRoot",value:function(wt,Ft){return{ngModule:hr,providers:(0,y.Z)(At(wt,Ft))}}},{key:"forFeature",value:function(wt,Ft){return{ngModule:gr,providers:(0,y.Z)(or(wt,Ft,arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}))}}}]),lt}();return Ze.\u0275fac=function(ct){return new(ct||Ze)},Ze.\u0275mod=G.\u0275\u0275defineNgModule({type:Ze}),Ze.\u0275inj=G.\u0275\u0275defineInjector({}),Ze}();function Yr(){for(var Ze=arguments.length,lt=new Array(Ze),ct=0;ct<Ze;ct++)lt[ct]=arguments[ct];return{reducer:lt.pop(),types:lt.map(function(Rt){return Rt.type})}}function jr(Ze){for(var lt=new Map,ct=arguments.length,wt=new Array(ct>1?ct-1:0),Ft=1;Ft<ct;Ft++)wt[Ft-1]=arguments[Ft];for(var Rt=function(){var cr,Yn=vn[Jt],In=(0,M.Z)(Yn.types);try{var ai=function(){var Jr=cr.value,Ci=lt.get(Jr);lt.set(Jr,Ci?function(Zr,Ea){return Yn.reducer(Ci(Zr,Ea),Ea)}:Yn.reducer)};for(In.s();!(cr=In.n()).done;)ai()}catch(Mr){In.e(Mr)}finally{In.f()}},Jt=0,vn=wt;Jt<vn.length;Jt++)Rt();return function(){var Sn=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ze,Yn=arguments.length>1?arguments[1]:void 0,In=lt.get(Yn.type);return In?In(Sn,Yn):Sn}}},77797:(fe,V,S)=>{S.d(V,{Z:()=>K});var M=S(51299);function K(B,r,y){return(r=(0,M.Z)(r))in B?Object.defineProperty(B,r,{value:y,enumerable:!0,configurable:!0,writable:!0}):B[r]=y,B}},35603:(fe,V,S)=>{S.d(V,{Z:()=>B});var M=S(77797);function K(r,y){var f=Object.keys(r);if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(r);y&&(g=g.filter(function(_){return Object.getOwnPropertyDescriptor(r,_).enumerable})),f.push.apply(f,g)}return f}function B(r){for(var y=1;y<arguments.length;y++){var f=null!=arguments[y]?arguments[y]:{};y%2?K(Object(f),!0).forEach(function(g){(0,M.Z)(r,g,f[g])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(f)):K(Object(f)).forEach(function(g){Object.defineProperty(r,g,Object.getOwnPropertyDescriptor(f,g))})}return r}}}]); +//# sourceMappingURL=8013.aa29348797c9028f.js.map \ No newline at end of file diff --git a/8013.aa29348797c9028f.js.map b/8013.aa29348797c9028f.js.map new file mode 100644 index 0000000..e7cb493 --- /dev/null +++ b/8013.aa29348797c9028f.js.map @@ -0,0 +1 @@ +{"version":3,"file":"8013.aa29348797c9028f.js","mappings":"mqBAmBA,SAASA,GAAiBC,GACtB,QAASC,KAAOD,EAAQ,KAAAE,EAChBC,EAAmB,QAAdD,EAAGF,EAAOC,UAAI,IAAAC,IAAI,GAC3B,OAAQD,GACJ,IAAK,UAEGD,EAAOI,QADG,SAAVD,EACoB,CAChB,eACA,QAGW,gBAAVA,EACe,CAChB,sBACA,eAIgBA,EAExB,MACJ,IAAK,cACL,IAAK,aACL,IAAK,gBACL,IAAK,OACL,IAAK,aACL,IAAK,YACL,IAAK,YACL,IAAK,cACL,IAAK,YACL,IAAK,kBACDH,EAAO,WAAaC,GAAOE,EAC3B,MACJ,IAAK,iBACDH,EAAO,0BAA4BG,EACnCH,EAAO,kBAAoBG,EAC3B,MACJ,IA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M,GAExB7lC,KAAKq1O,KAAK7uO,EAAI,IAAO,GAExE,IAAIwpD,KAAW4sM,IAAW,EAAMA,GAAU,KACpCA,IAAW,GAAOA,GAAU,KAC5BA,IAAW,GAAOA,GAAU,KAC5BA,EAASC,GAAYD,EAASE,GAChC,IACEC,GAAWrC,EAAYsC,IAAIx2P,GAAKxG,KAAKq1O,KAAK7uO,GAAM,GAAM,GACxD,EACA4vD,IAASomM,IAAW,EAAMA,GAAU,KAClCA,IAAW,GAAOA,GAAU,KAC5BA,IAAW,GAAOA,GAAU,MAC5BA,EAASC,EAAWD,EAASE,EAAWD,EAASC,GACnD,EACJK,EAASD,EACTA,EAASD,EACTA,EAASD,EACTA,EAAUD,EAAS3sM,EAAM,EACzB2sM,EAASD,EACTA,EAASD,EACTA,EAASD,EACTA,EAAUxsM,EAAKoG,EAAM,EAEzBtvC,EAAM,IAAM01O,EACZ11O,EAAM,IAAM21O,EACZ31O,EAAM,IAAM41O,EACZ51O,EAAM,IAAM61O,EACZ71O,EAAM,IAAM81O,EACZ91O,EAAM,IAAM+1O,EACZ/1O,EAAM,IAAMg2O,EACZh2O,EAAM,IAAMi2O,CAChB,EACOX,CACX,CAlHIA,GAmHJ7D,YAAoB6D,kBCzHpBp3P,qCAA6C,CAAEvJ,OAAO,IACtD88P,sBAA8BA,OAAeA,MAAcA,gBAAwBA,kBAAqB,EAIxGA,aAAqB,GAIrBA,gBAAwB,GAIxBA,MAAc,IAAIjiJ,YAAY,CAC1B,WACA,WACA,WACA,WACA,UACA,WACA,WACA,WACA,WACA,UACA,UACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,UACA,UACA,UACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,UACA,UACA,UACA,UACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,UACA,UACA,UACA,UACA,UACA,UACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,aAKJiiJ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EAAAC,EAAA0C,EAAA1C,GACpB,GAAKyJ,OAAA8xW,0BAAA9xW,OAAA6zK,iBAAAv9K,EAAA0J,OAAA8xW,0BAAA74W,IAAAolR,EAAAr+Q,OAAA/G,IAAAgB,QAAA,SAAA1D,GACLyJ,OAAA6qB,eAAAv0B,EAAAC,EAAAyJ,OAAAs6Q,yBAAArhR,EAAA1C,GACA,EAAK,CAEL,OAAAD,CACA","names":["applyCssPrefixes","target","key","_target$key","value","display","order","isNaN","INLINE","LAYOUT_VALUES","buildLayoutCSS","_validateValue","validateValue","_validateValue2","_slicedToArray","buildCSS","direction","arguments","length","undefined","_value$toLowerCase","_value","_value$split","toLowerCase","split","_value$split2","wrap","inline","find","x","validateWrapValue","isFlowHorizontal","_validateValue3","_validateValue4","indexOf","extendObject","dest","TypeError","_len","sources","Array","_key","_i","_sources","source","hasOwnProperty","BROWSER_PROVIDER","provide","APP_BOOTSTRAP_LISTENER","useFactory","removeStyles","_document","platformId","isPlatformBrowser","elements","from","querySelectorAll","concat","CLASS_NAME","classRegex","forEach","el","classList","contains","parentNode","removeChild","className","replace","deps","DOCUMENT","PLATFORM_ID","multi","CoreModule","_createClass","_classCallCheck","this","ɵfac","t","ɵmod","i0","type","ɵinj","providers","MediaChange","matches","mediaQuery","mqAlias","suffix","priority","property","StylesheetMap","stylesheet","Map","element","style","get","set","clear","styleName","styles","ɵprov","token","factory","providedIn","DEFAULT_CONFIG","addFlexToParent","addOrientationBps","disableDefaultBps","disableVendorPrefixes","serverLoaded","useColumnBasisZero","printWithBreakpoints","mediaTriggerAutoRestore","ssrObserveBreakpoints","multiplier","defaultUnit","detectLayoutDisplay","LAYOUT_CONFIG","InjectionToken","SERVER_TOKEN","BREAKPOINT","mergeAlias","_dest$clone","_dest","clone","alias","StyleBuilder","shouldCache","_input","_styles","_parent","StyleUtils","_serverStylesheet","_serverModuleLoaded","_platformId","layoutConfig","_applyMultiValueStyleToElement","_this","query","lookupStyle","lookupInlineStyle","isPlatformServer","attribute","_element$getAttribute","getAttribute","getPropertyValue","getServerStyle","_styleMap$styleName","readStyleAttribute","inlineOnly","immediateValue","getComputedStyle","getStyleForElement","trim","_this2","Object","keys","sort","values","isArray","_step","_iterator","_createForOfIteratorHelper","s","n","done","setProperty","setServerStyle","addStyleToElement","err","e","f","styleValue","styleMap","writeStyleAttribute","styleAttrValue","setAttribute","styleAttribute","styleList","i","colonIndex","Error","substr","sortDescendingPriority","a","b","sortAscendingPriority","MatchMedia","_zone","BehaviorSubject","registry","pendingRemoveListenerFns","_observable$","asObservable","results","mql","push","_mql$matches","registerQuery","some","m","mqList","_this3","filterOthers","matchMedia$","pipe","filter","change","registration$","Observable","observer","lastChange","pop","next","complete","merge","_this4","list","buildQueryCss","mediaQueries","it","ALL_STYLES","join","styleEl","createElement","styleSheet","cssText","appendChild","createTextNode","head","mq","console","error","onMQLEvent","run","buildMQL","addListener","removeListener","fn","constructMql","isBrowser","window","matchMedia","buildMockMql","et","EventTarget","media","addEventListener","dispatchEvent","onchange","DEFAULT_BREAKPOINTS","overlapping","HANDSET_PORTRAIT","HANDSET_LANDSCAPE","TABLET_PORTRAIT","TABLET_LANDSCAPE","WEB_PORTRAIT","WEB_LANDSCAPE","ScreenTypes","HANDSET","TABLET","WEB","ORIENTATION_BREAKPOINTS","ALIAS_DELIMITERS","firstUpperCase","part","first","charAt","remainder","slice","toUpperCase","BREAKPOINTS","breakpoints","inject","bpFlattenArray","apply","map","v","mergeByAlias","defaults","custom","dict","bp","validateSuffixes","camelCase","name","k","BreakPointRegistry","findByMap","items","_toConsumableArray","findWithPredicate","_it$suffix","searchFn","_response","_this$items$find","response","PRINT","BREAKPOINT_PRINT","PrintHook","registeredBeforeAfterPrintHooks","isPrintingBeforeAfterEvent","beforePrintEventListeners","afterPrintEventListeners","formerActivations","isPrinting","queue","PrintQueue","deactivations","queries","startsWith","_this$layoutConfig$pr","_this5","printAlias","findByAlias","_ref","findByQuery","printBreakPoints","event","_bp$mediaQuery","_bp","isPrintEvent","getEventBreakpoints","_this6","defaultView","beforePrintListener","startPrinting","updateStyles","afterPrintListener","stopPrinting","_this7","collectActivations","_this8","bpList","activatedBreakpoints","addPrintBreakpoints","hasFormerBp","includes","wasActivated","_this9","l","removeEventListener","printBreakpoints","_this10","addBreakpoint","isPrintBreakPoint","_bp$mediaQuery$starts","MediaMarshaller","hook","_useFallbacks","_activatedBreakpoints","elementMap","elementKeyMap","WeakMap","watcherMap","updateMap","clearMap","subject","Subject","observeActivations","_this$activatedBreakp","_this$activatedBreakp2","bps","mc","bpIndex","splice","updateFn","clearFn","extraTriggers","initBuilderMap","buildElementKeyMap","watchExtraTriggers","bpMap","getActivatedValues","val","_bpMap$get","getValue","updateElement","_this11","keyMap","Set","valueMap","delete","clearElement","builders","unsubscribe","_","_this12","add","triggers","_this13","watchers","newSubscription","subscribe","currentValue","has","lastHope","registerBeforeAfterPrintHooks","observe","withPrintQuery","tap","interceptEvents","blockPropagation","onMediaChange","bind","input","_map$get","oldMap","BaseDirective2","elementRef","styleBuilder","styler","marshal","DIRECTIVE_KEY","inputs","mru","destroySubject","styleCache","nativeElement","parentElement","setValue","activatedAlias","changes","_this14","releaseElement","init","updateWithValue","clearStyles","parent","builder","useCache","genStyles","buildStyles","_objectSpread","applyStyleToElement","sideEffect","_this15","triggerUpdate","addIfMissing","_this$styler$getFlowD","getFlowDirection","_this$styler$getFlowD2","applyStyleToElements","hasWrap","addStyles","ɵdir","features","validateBasis","basis","grow","shrink","parts","j","_validateCalcValue","substring","calc","ClassDirective","_BaseDirective2","_inherits","_super4","_createSuper","iterableDiffers","keyValueDiffers","renderer2","ngClassInstance","call","NgClass","klass","ngClass","ngDoCheck","i1","i2","inputs$2","DefaultClassDirective","_ClassDirective","_super5","ɵDefaultClassDirective_BaseFactory","selectors","NgStyleKeyValue","noQuotes","getType","what","constructor","stringToKeyValue","_it$split","_it$split2","_toArray","vals","keyValuesToMap","entry","StyleDirective","_BaseDirective4","_super9","sanitizer","differs","ngStyleInstance","_this9$nativeElement$","NgStyle","fallbackStyles","buildStyleMap","isServer","ngStyle","_this10$sanitizer$san","sanitize","SecurityContext","buildMapFromList","buildRawList","delimiter","String","buildMapFromSet","buildMapFromList$1","reduce","i2$1","DefaultStyleDirective","_StyleDirective","_super10","ɵDefaultStyleDirective_BaseFactory","ExtendedModule","imports","LayoutStyleBuilder","_StyleBuilder","_super","css","ɵLayoutStyleBuilder_BaseFactory","inputs$6","LayoutDirective","_BaseDirective","_super2","elRef","styleUtils","_config","_cacheMap$get","cacheMap","DefaultLayoutDirective","_LayoutDirective","_super3","ɵDefaultLayoutDirective_BaseFactory","fxLayout","FlexStyleBuilder","_StyleBuilder3","_super7","_input$split","_input$split2","max","min","hasCalc","usingCalc","isPercent","hasUnits","isValue","isFixed","flex","inputs$4","FlexDirective","_BaseDirective3","_super8","flexGrow","flexShrink","triggerReflow","trackValue","takeUntil","onLayoutChange","matcher","layoutParts","getFlexFlowDirection","isHorizontal","flexRowWrapCache","flexRowCache","flexColumnWrapCache","flexColumnCache","activatedValue","DefaultFlexDirective","_FlexDirective","ɵDefaultFlexDirective_BaseFactory","fxFlex","FLEX_FILL_CSS","margin","width","height","FlexFillStyleBuilder","_StyleBuilder7","_super19","ɵFlexFillStyleBuilder_BaseFactory","FlexFillDirective","_BaseDirective7","_super20","_this19","flexFillCache","FlexModule","BidiModule","GridModule","FlexLayoutModule","serverModuleLoaded","warn","configOptions","ngModule","useValue","NgxJsonViewerComponent_section_1_div_2_Template","rf","ctx","NgxJsonViewerComponent_section_1_span_7_Template","segment_r1","$implicit","description","NgxJsonViewerComponent_section_1_section_8_Template","ctx_r4","expanded","depth","_currentDepth","_c0","a1","_c1","a2","expandable","NgxJsonViewerComponent_section_1_Template","_r8","ctx_r7","toggle","ctx_r0","isExpandable","NgxJsonViewerComponent","segments","json","decycle","parseKeyValue","segment","isExpanded","JSON","stringify","Date","object","objects","derez","path","old_path","nu","Boolean","Number","RegExp","$ref","ɵcmp","decls","vars","consts","template","dependencies","NgxJsonViewerModule","CommonModule","asyncGeneratorStep","gen","resolve","reject","_next","_throw","arg","info","Promise","then","asyncToGenerator_asyncToGenerator","self","args","getRandomValues","rnds8","Uint8Array","rng","crypto","msCrypto","regex","byteToHex","toString","esm_browser_stringify","arr","offset","uuid","validate","REGEX","esm_browser_v4","v4","options","buf","rnds","random","race","argsOrArgArray","innerFrom","raceInit","subscriber","subscriptions","_loop","createOperatorSubscriber","closed","DidMutate","EntitiesOnly","Both","None","createStateOperator","mutator","state","clonedEntityState","ids","entities","didMutate","assign","selectIdValue","entity","selectId","isDevMode","createUnsortedStateAdapter","addOneMutably","addManyMutably","setOneMutably","removeManyMutably","keysOrPredicate","id","updateOneMutably","update","updateManyMutably","updates","newKeys","didMutateIds","takeNewKey","updated","newKey","hasNewKey","upsertManyMutably","_step2","added","_iterator2","didMutateByUpdated","didMutateByAdded","removeAll","addOne","addMany","setAll","setAllMutably","setOne","setMany","setManyMutably","didMutateSetOne","updateOne","updateMany","upsertOne","upsertOneMutably","upsertMany","removeOne","removeOneMutably","removeMany","mapMutably","mapOne","mapOneMutably","_ref2","createEntityAdapter","_options$selectId","_options$sortComparer","_selectId$sortCompare","sortComparer","stateFactory","createInitialStateFactory","getInitialState","selectorsFactory","createSelectorsFactory","getSelectors","selectState","selectIds","selectEntities","selectAll","createSelector","selectTotal","stateAdapter","createSortedStateAdapter","_createUnsortedStateA","newModels","models","model","takeUpdatedModel","originalIds","updatedIndexes","index","every","_step3","_iterator3","modelId","entityId","updatesOrMap","_ref3","Notification","kind","hasValue","observeNotification","nextHandler","errorHandler","completeHandler","nextOrObserver","_a","isFunction","do","result","of","throwError","EMPTY","completeNotification","notification","_b","_c","groupBy","keySelector","elementOrOptions","duration","connector","operate","groups","notify","cb","handleError","consumer","activeGroups","teardownAttempted","groupBySourceSubscriber","OperatorSubscriber","group","grouped","createGroupedObservable","groupSubject","groupSubscriber","innerSub","durationSubscriber","exhaustMap","project","resultSelector","ii","isComplete","outerValue","DEFAULT_EFFECT_CONFIG","dispatch","functional","useEffectsErrorHandler","CREATE_EFFECT_METADATA_KEY","createEffect","config","effect","defineProperty","getSourceForInstance","instance","getPrototypeOf","isClass","classOrRecord","getClasses","classesAndRecords","mergeEffects","sourceInstance","globalErrorHandler","effectsErrorHandler","sourceName","observables$","getSourceMetadata","getCreateEffectMetadata","getOwnPropertyNames","propertyName","observable$","effectAction$","ignoreElements","materialized$","materialize","defaultEffectsErrorHandler","retryAttemptLeft","catchError","Actions","_Observable","operator","observable","ScannedActionsSubject","ofType","allowedTypes","action","typeOrActionCreator","_ROOT_EFFECTS_GUARD","USER_PROVIDED_EFFECTS","_ROOT_EFFECTS","_ROOT_EFFECTS_INSTANCES","_FEATURE_EFFECTS","_FEATURE_EFFECTS_INSTANCE_GROUPS","EFFECTS_ERROR_HANDLER","ROOT_EFFECTS_INIT","rootEffectsInit","createAction","isOnInitEffects","functionName","EffectSources","_Subject","effectSourceInstance","effectsInstance","isClassInstance","obj","mergeMap","source$","effect$","resolveEffectSource","mergedEffects$","isOnRunEffects","ngrxOnRunEffects","output","reportInvalidActions","reporter","isInvalidAction","isAction","getEffectName","isMethod","dematerialize","init$","take","ngrxOnInitEffects","isOnIdentifyEffects","ngrxOnIdentifyEffects","EffectsRunner","effectSources","store","effectsSubscription","toActions","i3","EffectsRootModule","runner","rootEffectsInstances","storeRootModule","storeFeatureModule","guard","start","addEffects","EffectsFeatureModule","effectsRootModule","effectsInstanceGroups","effectsInstances","flat","EffectsModule","_len2","featureEffects","_key2","effects","effectsClasses","createEffectsInstances","_len3","rootEffects","_key3","_provideForRootGuard","effectsGroups","userProvidedEffectsGroups","_step4","_iterator4","effectsTokenOrRecord","isToken","tokenOrRecord","optional","skipSelf","EntityActionFactory","nameOrPayload","entityOp","data","payload","entityName","createCore","tag","formatActionType","newProperties","create","op","EntityActionGuard","extractData","isNotKeyType","msg","id2","item","defaultSelectId","flattenArgs","_args2","tail","toUpdateFactory","ofEntityOp","allowedEntityOps","ops","o","ofEntityType","allowedEntityNames","names","ChangeSetOperation","Add","Delete","Update","Upsert","ChangeSetItemFactory","excludeEmptyChangeSetItems","changeSet","c","MergeStrategy","IgnoreChanges","PreserveChanges","OverwriteChanges","EntityCacheAction","CLEAR_COLLECTIONS","LOAD_COLLECTIONS","MERGE_QUERY_SET","SET_ENTITY_CACHE","SAVE_ENTITIES","SAVE_ENTITIES_CANCEL","SAVE_ENTITIES_CANCELED","SAVE_ENTITIES_ERROR","SAVE_ENTITIES_SUCCESS","ClearCollections","collections","LoadCollections","MergeQuerySet","querySet","mergeStrategy","SetEntityCache","cache","SaveEntities","url","SaveEntitiesCancel","correlationId","reason","entityNames","SaveEntitiesCanceled","SaveEntitiesError","originalAction","SaveEntitiesSuccess","EntityOp","CANCEL_PERSIST","CANCELED_PERSIST","QUERY_ALL","QUERY_ALL_SUCCESS","QUERY_ALL_ERROR","QUERY_LOAD","QUERY_LOAD_SUCCESS","QUERY_LOAD_ERROR","QUERY_MANY","QUERY_MANY_SUCCESS","QUERY_MANY_ERROR","QUERY_BY_KEY","QUERY_BY_KEY_SUCCESS","QUERY_BY_KEY_ERROR","SAVE_ADD_MANY","SAVE_ADD_MANY_ERROR","SAVE_ADD_MANY_SUCCESS","SAVE_ADD_ONE","SAVE_ADD_ONE_ERROR","SAVE_ADD_ONE_SUCCESS","SAVE_DELETE_MANY","SAVE_DELETE_MANY_SUCCESS","SAVE_DELETE_MANY_ERROR","SAVE_DELETE_ONE","SAVE_DELETE_ONE_SUCCESS","SAVE_DELETE_ONE_ERROR","SAVE_UPDATE_MANY","SAVE_UPDATE_MANY_SUCCESS","SAVE_UPDATE_MANY_ERROR","SAVE_UPDATE_ONE","SAVE_UPDATE_ONE_SUCCESS","SAVE_UPDATE_ONE_ERROR","SAVE_UPSERT_MANY","SAVE_UPSERT_MANY_SUCCESS","SAVE_UPSERT_MANY_ERROR","SAVE_UPSERT_ONE","SAVE_UPSERT_ONE_SUCCESS","SAVE_UPSERT_ONE_ERROR","ADD_ALL","ADD_MANY","ADD_ONE","REMOVE_ALL","REMOVE_MANY","REMOVE_ONE","UPDATE_MANY","UPDATE_ONE","UPSERT_MANY","UPSERT_ONE","COMMIT_ALL","COMMIT_MANY","COMMIT_ONE","UNDO_ALL","UNDO_MANY","UNDO_ONE","SET_CHANGE_STATE","SET_COLLECTION","SET_FILTER","SET_LOADED","SET_LOADING","OP_SUCCESS","OP_ERROR","makeSuccessOp","DataServiceError","requestData","message","extractMessage","sourceError","body","errMessage","DefaultDataServiceConfig","Logger","PLURAL_NAMES_TOKEN","Pluralizer","HttpUrlGenerator","DefaultHttpUrlGenerator","pluralizer","knownHttpResourceUrls","root","resourceUrls","nRoot","normalizeRoot","entityResourceUrl","collectionResourceUrl","pluralize","registerHttpResourceUrls","_defineProperty","trailingSlashEndpoints","getResourceUrls","entityHttpResourceUrls","DefaultDataService","http","httpUrlGenerator","getDelay","saveDelay","timeout","_name","_ref$root","_ref$delete404OK","delete404OK","_ref$getDelay","_ref$saveDelay","_ref$timeout","to","_ref$trailingSlashEnd","entityUrl","entityResource","entitiesUrl","collectionResource","entityOrError","execute","queryParams","params","HttpParams","fromString","fromObject","updateOrError","method","httpOptions","entityActionHttpClientOptions","headers","httpHeaders","HttpHeaders","httpParams","_entityActionHttpClie","_entityActionHttpClie2","_entityActionHttpClie3","_entityActionHttpClie4","mergedOptions","result$","req","delay","post","put","reqData","ok","handleDelete404","status","DefaultDataServiceFactory","ENTITY_METADATA_TOKEN","EntityDefinitionService","entityMetadataMaps","definitions","registerMetadataMap","shouldThrow","definition","metadata","createEntityDefinition","entityAdapter","entityDispatcherOptions","initialState","loaded","loading","changeState","additionalCollectionState","noChangeTracking","registerDefinition","metadataMap","registerMetadata","updateOp","EntityCacheDataService","entityDefinitionService","idSelectors","_ref2$saveDelay","_ref2$timeout","filterChangeSet","flattenUpdates","restoreUpdates","hasMutated","u","getIdSelector","idSelector","getDefinition","EntityDataService","defaultDataServiceFactory","services","service","PersistenceResultHandler","DefaultPersistenceResultHandler","logger","entityActionFactory","successOp","createFromAction","errorOp","makeErrorOp","errorData","PersistanceCanceled","CorrelationIdGenerator","seed","prefix","EntityDispatcherDefaultOptions","optimisticAdd","optimisticDelete","optimisticUpdate","optimisticUpsert","optimisticSaveEntities","EntityCacheDispatcher","correlationIdGenerator","defaultDispatcherOptions","scannedActions$","reducedActions$","shareReplay","raSubscription","isOptimistic","getSaveEntitiesResponseData$","crid","act","EntityDispatcherBase","entityCacheSelector","toUpdate","collectionSelector","entityCollection$","select","createEntityAction","setSaveEntityActionOptions","mustBeEntity","getResponseData$","withLatestFrom","_ref4","createAndDispatch","getKey","mustBeKey","setQueryEntityActionOptions","_ref5","_ref6","collection","acc","_ref7","_ref8","_ref9","_ref10","_this16","mustBeUpdate","updateData","_ref11","_ref12","_this17","_ref13","_ref14","_this18","pattern","isLoaded","isLoading","_this20","_act$payload","endsWith","defaultOptimism","ENTITY_CACHE_NAME","ENTITY_CACHE_NAME_TOKEN","ENTITY_CACHE_META_REDUCERS","ENTITY_COLLECTION_META_REDUCERS","INITIAL_ENTITY_CACHE_STATE","ENTITY_CACHE_SELECTOR_TOKEN","entityCacheSelectorProvider","createEntityCacheSelector","Optional","entityCacheName","createFeatureSelector","EntityDispatcherFactory","entityDispatcherDefaultOptions","defaultOptions","ENTITY_EFFECTS_SCHEDULER","EntityCacheEffects","actions","dataService","scheduler","_this21","responseDelay","saveEntitiesCancel$","saveEntities$","saveEntities","_this22","handleSaveEntitiesError$","_action$payload","concatMap","handleSaveEntitiesSuccess$","_this23","asyncScheduler","_action$payload2","i1$1","persistOps","EntityEffects","resultHandler","_this24","cancel$","persist$","persist","_this25","skip","handleSkipSuccess$","handleError$","callDataService","handleSuccess","_action$payload3","getService","getAll","getById","getWithQuery","updatedEntity","changed","upsert","upsertedEntity","_this26","successAction","EntityCollectionServiceBase","serviceElementsFactory","_serviceElementsFacto","dispatcher","selectors$","collection$","count$","entities$","entityActions$","entityMap$","errors$","filter$","filteredEntities$","keys$","loaded$","loading$","changeState$","cancel","getByKey","load","loadWithQuery","addAllToCache","addOneToCache","addManyToCache","clearCache","removeOneFromCache","removeManyFromCache","updateOneInCache","updateManyInCache","upsertOneInCache","upsertManyInCache","setFilter","setLoaded","setLoading","EntityCollectionCreator","def","createEmptyEntityCollection","EntitySelectorsFactory","entityCollectionCreator","selectEntityCache","_this27","metadataOrName","selectKeys","selectEntityMap","selectCount","selectFilter","filterFn","selectFilteredEntities","extraSelectors","selectLoaded","selectLoading","selectChangeState","selectCollection","createCollectionSelector","collectionSelectors","createCollectionSelectors","entitySelectors","EntitySelectors$Factory","entityCache$","entityActionErrors$","ea","_this28","name$","EntityCollectionServiceElementsFactory","entityDispatcherFactory","entitySelectorsFactory","entitySelectors$Factory","EntityCollectionServiceFactory","entityCollectionServiceElementsFactory","EntityServicesElements","entityCollectionServiceFactory","EntityServicesBase","entityServicesElements","EntityCollectionServices","createEntityCollectionService","serviceName","entityCollectionServices","_this29","registerEntityCollectionService","EntityServices","ChangeType","Unchanged","Added","Deleted","Updated","EntityChangeTrackerBase","adapter","entityOrIdList","_this30","chgState","entityOrId","commitMany","mergeServerUpserts","deleteIds","updateResponseData","_this31","skipUnchanged","filterChanged","oldId","updateableEntities","newId","oldChangeState","newOrigValue","originalValue","responseData","r","defaultMergeStrategy","_this32","upsertEntities","_this33","changeType","trackAddMany","entityMap","trackedChange","cloneChgStateOnce","trackDeleteMany","trackUpdateMany","_this34","trackUpsertMany","_ids$reduce","remove","removed","_this35","_entityOrIdList$reduc","undoMany","EntityCollectionReducerMethods","entityChangeTracker","_this$methods","methods","cancelPersist","queryAll","queryAllError","queryAllSuccess","queryByKey","queryByKeyError","queryByKeySuccess","queryLoad","queryLoadError","queryLoadSuccess","queryMany","queryManyError","queryManySuccess","saveAddMany","saveAddManyError","saveAddManySuccess","saveAddOne","saveAddOneError","saveAddOneSuccess","saveDeleteMany","saveDeleteManyError","saveDeleteManySuccess","saveDeleteOne","saveDeleteOneError","saveDeleteOneSuccess","saveUpdateMany","saveUpdateManyError","saveUpdateManySuccess","saveUpdateOne","saveUpdateOneError","saveUpdateOneSuccess","saveUpsertMany","saveUpsertManyError","saveUpsertManySuccess","saveUpsertOne","saveUpsertOneError","saveUpsertOneSuccess","addAll","commitAll","commitOne","undoAll","undoOne","setChangeState","setCollection","isChangeTracking","setLoadingFalse","setLoadingTrue","extractMergeStrategy","mergeQueryResults","mustBeEntities","mergeSaveUpserts","mergeSaveAdds","trackAddOne","mergeSaveUpdates","toDelete","deleteId","trackDeleteOne","mergeSaveDeletes","_this36","d","trackUpdateOne","mustBeUpdateResponse","mustBeUpdates","mustBeUpdateResponses","trackUpsertOne","mustBeKeys","newCollection","setLoadingFlag","EntityCollectionReducerMethodsFactory","EntityCollectionReducerFactory","methodsFactory","reducerMethod","EntityCollectionReducerRegistry","entityCollectionReducerFactory","entityCollectionMetaReducers","entityCollectionReducers","entityCollectionMetaReducer","compose","reducer","registerReducer","reducers","_this37","EntityCacheReducerFactory","entityCollectionReducerRegistry","entityCacheReducer","entityCache","clearCollectionsReducer","loadCollectionsReducer","mergeQuerySetReducer","saveEntitiesReducer","saveEntitiesCancelReducer","saveEntitiesErrorReducer","saveEntitiesSuccessReducer","applyCollectionReducer","_this38","newCache","_this39","_this40","_action$payload6","_this41","_action$payload7","getEntityOp","clearLoadingFlags","_this42","_action$payload8","getOrCreateReducer","isMutated","DefaultLogger","extra","log","uncountable","DefaultPluralizer","pluralNames","_this43","pn","registerPluralNames","test","BASE_ENTITY_DATA_PROVIDERS","useClass","ENVIRONMENT_INITIALIZER","initializeBaseEntityData","reducerManager","ReducerManager","entityCacheReducerFactory","initialStateOrFn","metaReducersOrTokens","metaReducers","mr","entityCacheFeature","reducerFactory","combineReducers","addFeature","ENTITY_DATA_EFFECTS_PROVIDERS","initializeEntityDataEffects","effectsSources","entityCacheEffects","entityEffects","provideEntityDataConfig","entityCacheMetaReducers","entityMetadata","EntityDataModuleWithoutEffects","EntityDataModule","AuthActionTypes","Login","Logout","CompleteAuthentication","SetUser","auth_actions","freeze","__proto__","fromAuthActions","user","cookies","getAuthState","getUser","authQuery","AuthFacade","getUser$","token$","token_type","access_token","idToken$","id_token","PublicUserProfile","AuthCallbackComponent","authFacade","router","route","_ngOnInit","_asyncToGenerator","_regeneratorRuntime","mark","_callee","_context","prev","completeAuthentication","navigate","cacheBuster","stop","ngOnInit","AuthModule","eds","StoreModule","LogoutInterceptor","handle","REQUEST","ClientSettings","authority","client_id","redirect_uri","silent_redirect_uri","response_type","scope","filterProtocolClaims","loadUserInfo","automaticSilentRenew","userStore","stateStore","AUTH_KEY","makeStateKey","AuthWebStorageService","clientSettings","transferState","cookieMap","oa","oi","or","os","oe","tokenKey","sessionStorage","getItem","setItem","hasKey","expires","getCookie","translateFromCookieValue","expires_at","parse","setCookie","translateCookieValue","removeCookie","removeItem","Cookies","_this$req$cookies$key","toNumber","userManagerFactory","authWebStorage","UserManager","WebStorageStateStore","initAuthFactory","userManager","res","setUser","setTimeout","authWebStorageFactory","injector","svc","request","OidcAuthEffects","actions$","login$","AuthActions","signinRedirect","logout$","signoutRedirect","completeAuthentication$","switchMap","sub","signinRedirectCallback","loadCookies$","Cookie","CLIENT_SETTINGS","OidcModule","Injector","TransferState","APP_INITIALIZER","TokenInterceptor","authReq","cReq","firstValueFrom","hasConfig","SafeSubscriber","defaultValue","EmptyError","CognitoAuthEffects","getTime","AwcogModule","CognitoSettings","identityPoolId","region","userPoolId","COGNITO_SETTINGS","asyncIterator_asyncIterator","iterable","async","sync","retry","Symbol","asyncIterator","iterator","AsyncFromSyncIterator","AsyncFromSyncIteratorContinuation","prototype","return","ret","throw","thr","AbortSignal","onabort","_aborted","writable","AbortController","signal","abort","resolveParamsForS3","endpointParams","bucket","Bucket","encodeURIComponent","isArnBucketName","ForcePathStyle","isDnsCompatibleBucketName","Endpoint","DisableMultiRegionAccessPoints","disableMultiRegionAccessPoints","DisableMRAP","abrupt","_x","DOMAIN_PATTERN","IP_ADDRESS_PATTERN","DOTS_PATTERN","bucketName","_bucketName$split","_bucketName$split2","arn","partition","account","typeOrId","isArn","isValidArn","createConfigValueProvider","configKey","canonicalEndpointParamKey","configProvider","_config$configKey","configValue","_callee2","endpoint","hostname","port","_context2","sent","href","protocol","getEndpointFromInstructions","commandInput","instructionsSupplier","clientConfig","context","resolveParams","endpointProvider","_x2","_x3","_x4","_instructionsSupplier","instructions","_Object$entries","_Object$entries$_i","instruction","getEndpointParameterInstructions","entries","t0","serviceId","_x5","_x6","_x7","parseUrl","URL","pathname","search","parseQueryString","querystring","_pair$split","_pair$split2","_pair$split2$","decodeURIComponent","parseInt","toEndpointV1","deserializerMiddlewareOption","step","tags","override","serializerMiddlewareOption","getSerdePlugin","serializer","deserializer","applyToStack","commandStack","_yield$next","parsed","catch","deserializerMiddleware","_context$endpointV","endpointV2","urlParser","serializerMiddleware","endpointMiddlewareOptions","relation","toMiddleware","getEndpointPlugin","clientStack","addRelativeTo","_endpoint$properties","_context$authSchemes","authScheme","authSchemes","properties","signing_region","signingRegion","signing_service","signingName","endpointMiddleware","normalizeProvider","promisified","resolveEndpointConfig","_input$tls","_input$useDualstackEn","_input$useFipsEndpoin","tls","customEndpointProvider","t1","isCustomEndpoint","useDualstackEndpoint","useFipsEndpoint","HttpRequest","username","password","fragment","cloned","cloneQuery","carry","paramName","param","ChecksumAlgorithm","MD5","CRC32","CRC32C","SHA1","SHA256","CLIENT_SUPPORTED_ALGORITHMS","PRIORITY_ORDER_ALGORITHMS","getChecksumAlgorithmForRequest","requestAlgorithmMember","requestChecksumRequired","checksumAlgorithm","getChecksumLocationName","algorithm","hasHeader","header","soughtHeader","_Object$keys","isArrayBuffer","ArrayBuffer","isStreaming","isView","selectChecksumAlgorithmFunction","_ChecksumAlgorithm$MD","md5","AwsCrc32","AwsCrc32c","sha1","sha256","fromUtf8","TextEncoder","encode","toUint8Array","buffer","byteOffset","byteLength","BYTES_PER_ELEMENT","stringHasher","checksumAlgorithmFn","hash","digest","getChecksum","streamHasher","base64Encoder","getChecksumAlgorithmListForResponse","responseAlgorithms","validChecksumAlgorithms","validateChecksumFromResponse","checksumAlgorithms","responseBody","responseHeaders","responseHeader","checksumFromResponse","checksum","finish","flexibleChecksumsMiddlewareOptions","getFlexibleChecksumsPlugin","middlewareConfig","requestBody","updatedBody","updatedHeaders","checksumLocationName","rawChecksum","requestValidationModeMember","getAwsChunkedEncodingStream","bodyLengthChecker","flexibleChecksumsMiddleware","checkContentLengthHeaderMiddlewareOptions","HttpResponse","statusCode","collectBody","streamBody","streamCollector","collectBodyString","utf8Encoder","throw200ExceptionsMiddlewareOptions","str","validateBucketNameMiddlewareOptions","ssecMiddlewareOptions","getSsecPlugin","ssecMiddleware","_properties","prop","_objectSpread2","valueView","encoded","utf8Decoder","t2","t3","t4","t5","t6","t7","t8","t9","NoOpLogger","constructStack","absoluteEntries","relativeEntries","entriesNameSet","cloneTo","toStack","middleware","expandRelativeMiddlewareList","expandedMiddlewareList","before","after","reverse","getMiddlewareList","debug","normalizedAbsoluteEntries","normalizedRelativeEntries","normalizedEntriesNameMap","normalizedEntry","mainChain","stepWeights","priorityWeights","wholeList","expendedMiddlewareList","stack","toOverrideIndex","findIndex","toOverride","use","plugin","toRemove","isRemoved","filterCb","removeByName","removeByReference","removeByTag","identify","mw","handler","initialize","serialize","build","finalizeRequest","deserialize","high","normal","low","Client","middlewareStack","command","optionsOrCb","callback","resolveMiddleware","requestHandler","destroy","Command","SENSITIVE_STRING","parseBoolean","expectNumber","parseFloat","stackTraceWarning","MAX_FLOAT","Math","ceil","pow","expectSizedInt","size","expected","isInteger","expectLong","castInt","Int32Array","Int16Array","Int8Array","expectNonNull","location","expectObject","receivedType","expectString","NUMBER_REGEX","parseNumber","match","strictParseShort","expectShort","DAYS","MONTHS","dateToUtcString","date","year","getUTCFullYear","month","getUTCMonth","dayOfWeek","getUTCDay","dayOfMonthInt","getUTCDate","hoursInt","getUTCHours","minutesInt","getUTCMinutes","secondsInt","getUTCSeconds","dayOfMonthString","hoursString","minutesString","secondsString","IMF_FIXDATE","RFC_850_DATE","ASC_TIME","parseRfc7231DateTime","exec","_match4","dayStr","monthStr","hours","minutes","seconds","fractionalMilliseconds","buildDate","stripLeadingZeroes","parseMonthByShortName","parseDateValue","_match6","adjustRfc850Year","parseTwoDigitYear","_match8","trimLeft","day","time","adjustedMonth","validateDayOfMonth","UTC","parseMilliseconds","thisYear","valueInThisCentury","floor","getUTCMilliseconds","monthIdx","DAYS_IN_MONTH","maxDays","isLeapYear","lower","upper","dateVal","expectByte","strictParseByte","Infinity","abs","expectFloat32","strictParseFloat32","idx","ServiceException","_Error","setPrototypeOf","_assertThisInitialized","$fault","$metadata","_wrapNativeSuper","decorateServiceException","exception","Message","withBaseException","ExceptionCtor","parsedBody","exceptionCtor","errorCode","deserializeMetadata","httpStatusCode","code","Code","throwDefaultError","_output$headers$xAmz","requestId","extendedRequestId","cfId","loadConfigsForDefaultMode","mode","retryMode","connectionTimeout","extendedEncodeURIComponent","charCodeAt","getValueFromTextNode","textNodeName","StringWrapper","Class","Function","arg0","arg1","arg2","mapWithFilter","applyInstruction","enumerable","configurable","out","_instructions","targetKey","_instructions$targetK","defaultFilterPassed","customFilterPassed","_instruction2","_instruction2$","nonNullish","_instruction2$2","valueFn","pass","_instruction2$3","sourceKey","resolvedPath","memberName","labelValueProvider","uriLabel","isGreedyLabel","labelValue","_json","CompleteMultipartUploadOutputFilterSensitiveLog","SSEKMSKeyId","CompleteMultipartUploadRequestFilterSensitiveLog","SSECustomerKey","CreateMultipartUploadOutputFilterSensitiveLog","SSEKMSEncryptionContext","CreateMultipartUploadRequestFilterSensitiveLog","PutObjectOutputFilterSensitiveLog","PutObjectRequestFilterSensitiveLog","escapeAttribute","XmlText","escapeElement","XmlNode","children","attributes","child","hasChildren","xmlText","attributeName","childText","withName","node","addChildNode","S3ServiceException","_ServiceException","__ServiceException","se_CompleteMultipartUploadCommand","_yield$context$endpoi3","_yield$context$endpoi4","basePath","contents","isSerializableHeaderValue","ChecksumCRC32","ChecksumCRC32C","ChecksumSHA1","ChecksumSHA256","RequestPayer","ExpectedBucketOwner","SSECustomerAlgorithm","SSECustomerKeyMD5","__resolvedPath","Key","uploadId","__expectNonNull","UploadId","MultipartUpload","se_CompletedMultipartUpload","addAttribute","__HttpRequest","se_CreateMultipartUploadCommand","_callee5","_yield$context$endpoi9","_yield$context$endpoi10","_context5","ACL","CacheControl","ContentDisposition","ContentEncoding","ContentLanguage","ContentType","Expires","__dateToUtcString","GrantFullControl","GrantRead","GrantReadACP","GrantWriteACP","ServerSideEncryption","StorageClass","WebsiteRedirectLocation","BucketKeyEnabled","Tagging","ObjectLockMode","ObjectLockRetainUntilDate","toISOString","ObjectLockLegalHoldStatus","Metadata","uploads","_x9","_x10","se_PutObjectCommand","_ref82","_callee82","_yield$context$endpoi163","_yield$context$endpoi164","_context82","ContentLength","ContentMD5","Body","_x163","_x164","se_PutObjectTaggingCommand","_ref87","_callee87","_yield$context$endpoi173","_yield$context$endpoi174","_context87","tagging","versionId","VersionId","se_Tagging","_x173","_x174","se_UploadPartCommand","_ref91","_callee91","_yield$context$endpoi181","_yield$context$endpoi182","_context91","partNumber","PartNumber","_x181","_x182","de_CompleteMultipartUploadCommand","_ref96","_callee96","_context96","de_CompleteMultipartUploadCommandError","Expiration","__parseBoolean","RequestCharged","__expectObject","parseBody","__expectString","ETag","Location","_x191","_x192","_ref97","_callee97","parsedOutput","_context97","parseErrorBody","loadRestXmlErrorCode","_x193","_x194","de_CreateMultipartUploadCommand","_ref102","_callee102","_context102","de_CreateMultipartUploadCommandError","AbortDate","__parseRfc7231DateTime","AbortRuleId","_x203","_x204","_ref103","_callee103","_context103","_x205","_x206","de_PutObjectCommand","_ref256","_callee256","_context256","de_PutObjectCommandError","etag","_x511","_x512","_ref257","_callee257","_context257","_x513","_x514","de_PutObjectTaggingCommand","_ref266","_callee266","_context266","de_PutObjectTaggingCommandError","_x531","_x532","_ref267","_callee267","_context267","_x533","_x534","de_UploadPartCommand","_ref274","_callee274","_context274","de_UploadPartCommandError","_x547","_x548","_ref275","_callee275","_context275","_x549","_x550","__BaseException","bodyNode","__XmlNode","Parts","se_CompletedPartList","se_CompletedPart","TagSet","nodes","se_TagSet","containerNode","Value","se_Tag","_ref295","parser","XMLParser","attributeNamePrefix","htmlEntities","ignoreAttributes","ignoreDeclaration","parseTagValue","trimValues","tagValueProcessor","addEntity","parsedObj","parsedObjToReturn","__getValueFromTextNode","_ref296","_callee295","errorBody","_value$Error$message","_context295","_x588","_x589","PutObjectCommand","_$Command","configuration","checkContentLengthHeader","_context$logger","clientName","commandName","inputFilterSensitiveLog","outputFilterSensitiveLog","UseArnRegion","Accelerate","UseGlobalEndpoint","UseFIPS","Region","UseDualStack","$Command","CreateMultipartUploadCommand","UploadPartOutputFilterSensitiveLog","UploadPartRequestFilterSensitiveLog","UploadPartCommand","CompleteMultipartUploadCommand","bodyBytes","bodyString","throw200ExceptionsMiddleware","getThrow200ExceptionsPlugin","PutObjectTaggingCommand","ClientDefaultValues","lstatSync","runtime","Buffer","_OverloadYield","AsyncGenerator","front","back","resume","overloaded","nextKey","settle","_invoke","wrapAsyncGenerator_wrapAsyncGenerator","getChunkBuffer","_getChunkBuffer","_wrapAsyncGenerator","partSize","startByte","endByte","lastPart","awaitAsyncGenerator_awaitAsyncGenerator","getChunkStream","_getChunkStream","getNextData","currentBuffer","_iteratorAbruptCompletion","_didIteratorError","_iteratorError","datum","dataChunk","chunks","_asyncIterator","_awaitAsyncGenerator","getDataReadable","_getDataReadable","chunk","getDataReadableStream","_getDataReadableStream","reader","_yield$_awaitAsyncGen","getReader","read","releaseLock","getChunk","Readable","stream","ReadableStream","MIN_PART_SIZE","Upload","_EventEmitter","_abort","_options$abortControl","MAX_PARTS","queueSize","leavePartsOnError","concurrentUploaders","uploadedParts","isMultiPart","client","__validateInput","totalBytes","bytesUploadedSoFar","abortController","_done","__doMultipartUpload","__abortTimeout","listener","uploadEvent","_get","_getPrototypeOf","_uploadUsingPut","_callee3","dataPart","_clientConfig$endpoin","eventEmitter","uploadEventListener","resolved","putResult","locationKey","locationBucket","totalSize","_context3","total","__notifyProgress","EventEmitter","on","all","send","off","endpointHostnameIncludesBucket","forcePathStyle","singleUploadResult","__uploadUsingPut","_createMultipartUpload","_callee4","createCommandParams","_context4","createMultiPartPromise","__createMultipartUpload","_doConcurrentUpload","dataFeeder","_ret","_context6","lastSeenBytes","partResult","aborted","delegateYield","__doConcurrentUpload","_doMultipartUpload","_callee6","currentUpload","uploadCompleteParams","_context7","progress","emit","_abortTimeout","_callee7","abortSignal","_context8","abortError","CognitoIdentityServiceException","InternalErrorException","_BaseException","opts","InvalidParameterException","_BaseException2","LimitExceededException","_BaseException3","NotAuthorizedException","_BaseException4","ResourceConflictException","_BaseException5","TooManyRequestsException","_BaseException6","_super6","ResourceNotFoundException","_BaseException7","ExternalServiceException","_BaseException8","InvalidIdentityPoolConfigurationException","_BaseException9","se_GetCredentialsForIdentityCommand","sharedHeaders","buildHttpRpcRequest","_x11","_x12","se_GetIdCommand","_x13","_x14","de_GetCredentialsForIdentityCommand","_ref34","_callee34","_context34","de_GetCredentialsForIdentityCommandError","de_GetCredentialsForIdentityResponse","_x67","_x68","_ref35","_callee35","_context35","loadRestJsonErrorCode","de_ExternalServiceExceptionRes","de_InternalErrorExceptionRes","de_InvalidIdentityPoolConfigurationExceptionRes","de_InvalidParameterExceptionRes","de_NotAuthorizedExceptionRes","de_ResourceConflictExceptionRes","de_ResourceNotFoundExceptionRes","de_TooManyRequestsExceptionRes","_x69","_x70","de_GetIdCommand","_ref36","_callee36","_context36","de_GetIdCommandError","_x71","_x72","_ref37","_callee37","_context37","de_LimitExceededExceptionRes","_x73","_x74","_ref72","_callee72","deserialized","_context72","__decorateServiceException","_x143","_x144","_ref73","_callee73","_context73","_x145","_x146","_ref74","_callee74","_context74","_x147","_x148","_ref75","_callee75","_context75","_x149","_x150","_ref76","_callee76","_context76","_x151","_x152","_ref77","_callee77","_context77","_x153","_x154","_ref78","_callee78","_context78","_x155","_x156","_ref79","_callee79","_context79","_x157","_x158","_ref80","_callee80","_context80","_x159","_x160","Credentials","AccessKeyId","valueAsDouble","strictParseDouble","round","__parseEpochTimestamp","__expectNumber","SecretKey","SessionToken","de_Credentials","IdentityId","_ref81","_callee81","resolvedHostname","_yield$context$endpoi","_yield$context$endpoi2","_context81","_x161","_x162","_x165","operation","_ref83","_value$message","_x166","_x167","sanitizeErrorCode","rawValue","cleanValue","headerKey","__type","GetIdCommand","ProviderError","tryNextLink","CredentialsProviderError","_ProviderError","memoize","provider","isExpired","requiresRefresh","pending","hasResult","isConstant","coalesceProvider","forceRefresh","GetCredentialsForIdentityCommand","resolveLogins","logins","tokenOrProvider","resolvedPairs","fromCognitoIdentity","parameters","_yield$parameters$cli2","_yield$parameters$cli3","_yield$parameters$cli4","_yield$parameters$cli5","customRoleArn","identityId","CustomRoleArn","Logins","_yield$parameters$cli","throwOnMissingCredentials","throwOnMissingAccessKeyId","throwOnMissingSecretKey","accessKeyId","secretAccessKey","sessionToken","expiration","STORE_NAME","IndexedDbStorage","dbName","withObjectStore","onerror","onsuccess","openDbRequest","indexedDB","open","onblocked","onupgradeneeded","db","createObjectStore","keyPath","getDb","tx","transaction","oncomplete","close","objectStore","InMemoryStorage","inMemoryStorage","fromCognitoIdentityPool","accountId","_ref$cache","localStorage","_ref$userIdentifier","userIdentifier","cacheKey","_yield$client$send$Id","AccountId","IdentityPoolId","throwOnMissingId","isFipsRegion","getRealRegion","resolveRegionConfig","_region2","providedRegion","_useFipsEndpoint2","CONTENT_LENGTH_HEADER","contentLengthMiddlewareOptions","getContentLengthPlugin","contentLengthMiddleware","hostHeaderMiddlewareOptions","getHostHeaderPlugin","_ref2$handlerProtocol","host","handlerProtocol","hostHeaderMiddleware","objectWithoutProperties_objectWithoutProperties","excluded","_objectWithoutPropertiesLoose","sourceKeys","getOwnPropertySymbols","sourceSymbolKeys","propertyIsEnumerable","loggerMiddlewareOptions","getLoggerPlugin","_logger$info","_context$dynamoDbDocu","dynamoDbDocumentClientOptions","_response$output","outputWithoutMetadata","_logger$error","_clientName","_commandName","_logger","_context$dynamoDbDocu2","_inputFilterSensitiveLog","overrideInputFilterSensitiveLog","overrideOutputFilterSensitiveLog","_objectWithoutProperties","_excluded","TRACE_ID_HEADER_NAME","addRecursionDetectionMiddlewareOptions","getRecursionDetectionPlugin","traceId","nonEmptyString","process","env","recursionDetectionMiddleware","RETRY_MODES","STANDARD","ADAPTIVE","DEFAULT_RETRY_MODE","THROTTLING_ERROR_CODES","TRANSIENT_ERROR_CODES","TRANSIENT_ERROR_STATUS_CODES","NODEJS_TIMEOUT_ERROR_CODES","isThrottlingError","_error$$metadata","_error$$retryable","$retryable","throttling","isTransientError","_error$$metadata2","DefaultRateLimiter","_options$beta","_options$minCapacity","_options$minFillRate","_options$scaleConstan","_options$smooth","currentCapacity","enabled","lastMaxRate","measuredTxRate","requestCount","lastTimestamp","timeWindow","beta","minCapacity","minFillRate","scaleConstant","smooth","currentTimeInSeconds","getCurrentTimeInSeconds","lastThrottleTime","lastTxRateBucket","fillRate","maxCapacity","now","_getSendToken","acquireTokenBucket","getSendToken","_acquireTokenBucket","amount","refillTokenBucket","timestamp","calculatedRate","updateMeasuredRate","rateToUse","calculateTimeWindow","cubicThrottle","enableTokenBucket","cubicSuccess","newRate","updateTokenBucketRate","getPrecise","timeBucket","num","toFixed","createDefaultRetryToken","retryDelay","retryCount","retryCost","getRetryCount","getRetryDelay","getRetryCost","StandardRetryStrategy","maxAttempts","capacity","retryBackoffStrategy","delayBase","computeNextBackoffDelay","attempts","setDelayBase","getDefaultRetryBackoffStrategy","maxAttemptsProvider","_acquireInitialRetryToken","retryTokenScope","acquireInitialRetryToken","_refreshRetryTokenForRetry","errorInfo","errorType","delayFromErrorType","capacityCost","getMaxAttempts","shouldRetry","retryAfterHint","getCapacityCost","refreshRetryTokenForRetry","_token$getRetryCost","_getMaxAttempts","tokenToRenew","isRetryableError","AdaptiveRetryStrategy","rateLimiter","standardRetryStrategy","updateClientSendingRate","recordSuccess","resolveRetryConfig","_input$maxAttempts","_retryStrategy2","retryStrategy","asSdkError","isRetryStrategyV2","getRetryErrorInfo","getRetryErrorType","getRetryAfterHint","$response","_error$$metadata3","isServerError","retryMiddlewareOptions","getRetryPlugin","retryToken","lastError","totalRetryDelay","_retryStrategy","partition_id","retryErrorInfo","userAgent","retryMiddleware","retryAfterHeaderName","retryAfter","retryAfterSeconds","retryAfterDate","SHORT_TO_HEX","HEX_TO_SHORT","encodedByte","toHex","bytes","Int64","negative","negate","valueOf","number","remaining","HeaderMarshaller","toUtf8","headerName","formatHeaderValue","position","_i2","_chunks","shortView","DataView","setUint8","setInt16","intView","setInt32","longBytes","binView","setUint16","binBytes","utf8Bytes","strView","strBytes","tsBytes","UUID_PATTERN","uuidBytes","fromHex","nameLength","getUint8","BOOLEAN_TAG","BYTE_TAG","getInt8","SHORT_TAG","getInt16","INT_TAG","getInt32","LONG_TAG","binaryLength","getUint16","BINARY_TAG","stringLength","STRING_TAG","TIMESTAMP_TAG","UUID_TAG","subarray","EventStreamCodec","headerMarshaller","messageBuffer","isEndOfStream","decode","getMessage","messages","getMessages","format","view","Crc32","setUint32","_splitMessage","splitMessage","PRELUDE_LENGTH","messageLength","getUint32","headerLength","expectedPreludeChecksum","PRELUDE_MEMBER_LENGTH","expectedMessageChecksum","checksummer","rawHeaders","MessageDecoderStream","_Symbol$asyncIterator","decoded","inputStream","decoder","MessageEncoderStream","messageStream","encoder","includeEndFrame","SmithyMessageDecoderStream","SmithyMessageEncoderStream","payloadBuf","TextDecoder","AMZ_DATE_QUERY_PARAM","SIGNATURE_QUERY_PARAM","TOKEN_QUERY_PARAM","AUTH_HEADER","AMZ_DATE_HEADER","GENERATED_HEADERS","SIGNATURE_HEADER","SHA256_HEADER","TOKEN_HEADER","ALWAYS_UNSIGNABLE_HEADERS","authorization","connection","expect","pragma","referer","te","trailer","upgrade","PROXY_HEADER_PATTERN","SEC_HEADER_PATTERN","ALGORITHM_IDENTIFIER","EVENT_ALGORITHM_IDENTIFIER","KEY_TYPE_IDENTIFIER","signingKeyCache","cacheQueue","createScope","shortDate","getSigningKey","sha256Constructor","credentials","credsHash","_arr","signable","hmac","shift","ctor","secret","getCanonicalHeaders","unsignableHeaders","signableHeaders","canonical","canonicalHeaderName","escapeUri","uri","hexEncode","getPayloadHash","hashConstructor","hashCtor","cloneRequest","rest","moveHeadersToQuery","_ref$query","_options$unhoistableH","lname","unhoistableHeaders","prepareRequest","SignatureV4","applyChecksum","_ref$uriEscapePath","uriEscapePath","regionProvider","credentialProvider","_presign","originalRequest","_options$signingDate","signingDate","_options$expiresIn","expiresIn","signingService","_formatDate","longDate","canonicalHeaders","validateResolvedCredentials","formatDate","getCanonicalHeaderList","createCanonicalRequest","getSignature","presign","_sign","toSign","signString","signEvent","signMessage","signRequest","sign","_signEvent","_ref3$signingDate","priorSignature","_formatDate2","hashedPayload","hashedHeaders","stringToSign","_signMessage","signableMessage","_ref4$signingDate","promise","signature","_signString","_ref5$signingDate","_formatDate3","_x8","_signRequest","requestToSign","_ref6$signingDate","_formatDate4","payloadHash","sortedHeaders","getCanonicalPath","serialized","getCanonicalQuery","_createStringToSign","credentialScope","canonicalRequest","hashedRequest","createStringToSign","normalizedPathSegments","pathSegment","normalizedPath","_getSignature","_callee8","keyPromise","_x15","_x16","toDate","iso8601","resolveAwsAuthConfig","signer","normalizedCreds","normalizeCredentialProvider","credentialDefaultProvider","_input$signingEscapeP","signingEscapePath","_input$systemClockOff","systemClockOffset","regionInfoProvider","regionInfo","signerConstructor","defaultSigningName","getSkewCorrectedDate","getUpdatedSystemClockOffset","clockTime","currentSystemClockOffset","clockTimeInMs","isClockSkewed","getDateHeader","_response$headers$dat","_response$headers","_response$headers2","awsAuthMiddlewareOptions","resolveUserAgentConfig","customUserAgent","selectedPartitionsInfo","partitionsInfo","selectedUserAgentPrefix","partitions","outputs","regions","regionData","regionRegex","DEFAULT_PARTITION","setPartitionInfo","useDefaultPartitionInfo","getUserAgentPrefix","debugId","toDebugString","ref","argv","EndpointError","IP_V4_REGEX","isIpAddress","VALID_HOST_LABEL_REGEX","isValidHostLabel","labels","isVirtualHostableS3Bucket","parseArn","_segments","resourceId","booleanEquals","value1","value2","getAttr","pathList","squareBracketIndex","arrayIndex","getAttrPathList","isSet","not","EndpointURLScheme","HTTP","HTTPS","DEFAULT_PORTS","_DEFAULT_PORTS","parseURL","whatwgURL","_value$protocol","_value$path","_value$query","urlString","scheme","isIp","inputContainsDefaultPort","stringEquals","uriEncode","evaluateTemplate","evaluatedTemplateArr","templateContext","referenceRecord","currentIndex","openingBraceIndex","closingBraceIndex","parameterName","_parameterName$split","_parameterName$split2","evaluateExpression","keyName","callFunction","getReferenceValue","evaluatedArgs","lib","evaluateCondition","_options$logger","_options$logger$debug","fnArgs","toAssign","evaluateConditions","conditionsReferenceRecord","_options$logger2","_evaluateCondition","condition","getEndpointHeaders","headerVal","headerValEntry","processedExpr","getEndpointProperty","propertyEntry","getEndpointProperties","propertyKey","propertyVal","getEndpointUrl","endpointUrl","expression","evaluateEndpointRule","endpointRule","_evaluateConditions","conditions","endpointRuleOptions","evaluateErrorRule","errorRule","evaluateTreeRule","treeRule","rules","evaluateRules","rule","endpointOrUndefined","resolveEndpoint","ruleSetObject","_options$endpointPara","_options$logger2$debu","paramsWithDefault","default","_endpointParams$param","_step$value","paramKey","paramDefaultValue","requiredParams","required","requiredParam","givenEndpoint","USER_AGENT","X_AMZ_USER_AGENT","UA_NAME_ESCAPE_REGEX","UA_VALUE_ESCAPE_REGEX","escapeUserAgent","userAgentPair","_userAgentPair$","version","prefixSeparatorIndex","uaName","getUserAgentMiddlewareOptions","getUserAgentPlugin","_context$userAgent","_options$customUserAg","defaultUserAgent","sdkUserAgentValue","normalUAValue","defaultUserAgentProvider","section","userAgentMiddleware","buildQueryString","iLen","qsEntry","requestTimeout","timeoutInMs","timeoutError","FetchHttpHandler","_handle","requestTimeoutInMs","queryString","auth","_request$username","_request$password","requestOptions","fetchRequest","raceOfPromises","Headers","Request","fetch","transformedHeaders","pair","statusText","blob","alphabetByEncoding","alphabetByValue","limit","char","fromCharCode","fromBase64","totalByteLength","dataView","bits","bitLength","bitsPerLetter","chunkOffset","toBase64","bitClusterCount","Blob","collectBlob","_collectBlob","collectStream","_collectStream","arrayBuffer","readToBase64","base64","isDone","_yield$reader$read","prior","FileReader","onloadend","_reader$result","readyState","commaIndex","readAsDataURL","invalidProvider","calculateBodyLength","len","clientVersion","_window","_window$navigator","_parsedUA$os","_parsedUA$os2","_parsedUA$browser$nam","_parsedUA$browser","_parsedUA$browser$ver","_parsedUA$browser2","parsedUA","sections","navigator","bowser","browser","p","q","_e","_f","g","h","_h","_k","_l","ruleSet","defaultEndpointResolver","DEFAULTS_MODE_OPTIONS","resolveDefaultsModeConfig","defaultsMode","isMobileBrowser","toLocaleLowerCase","_parsedUA$platform","platform","CognitoIdentityClient","_Client","_config_1","_options$useDualstack","_options$useFipsEndpo","resolveClientEndpointParameters","_config$bodyLengthChe","_config$credentialDef","_config$defaultUserAg","_config$maxAttempts","_config$region","_config$requestHandle","_config$retryMode","_config$sha","_config$streamCollect","_config$useDualstackE","_config$useFipsEndpoi","defaultConfigProvider","clientSharedValues","_config$base64Decoder","_config$base64Encoder","_config$disableHostPr","_config$endpointProvi","_config$logger","_config$serviceId","_config$urlParser","_config$utf8Decoder","_config$utf8Encoder","apiVersion","base64Decoder","disableHostPrefix","getSharedRuntimeConfig","RequestHandler","Sha256","__getRuntimeConfig","_config_2","_config_3","_config_4","_config_7","__Client","addExpectContinueMiddlewareOptions","getMessageUnmarshaller","messageType","unmodeledError","deserializedException","$unknown","EventStreamMarshaller","eventStreamCodec","utfEncoder","getChunkedStream","currentMessageTotalLength","currentMessagePendingLength","currentMessage","messageLengthBuffer","allocateMessage","sourceIterator","chunkLength","currentOffset","bytesRemaining","numBytesForTotal","numBytesToWrite","universalMarshaller","UniversalEventStreamMarshaller","readableStream","bodyIterable","isReadableStream","serialziedIterable","asyncIterable","pull","controller","_yield$iterator$next","enqueue","iterableToReadableStream","eventStreamSerdeProvider","blobReader","onChunk","chunkSize","fileReader","totalBytesRead","readAsArrayBuffer","blobHasher","_blobHasher","INIT","Md5","reset","sourceData","isEmptyData","finished","convertToBuffer","bytesHashed","bufferLength","hashBuffer","_digest","undecoratedLength","bitsHashed","BLOCK_SIZE","ff","gg","hh","Uint32Array","cmn","checksumRequired","ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED","sdkStreamMixin","isBlobInstance","isReadableStreamInstance","_stream$__proto__","_stream$__proto__$con","_transformToString","transformed","transformToByteArray","transformToString","encoding","transformToWebStream","blobToWebStream","SignatureV4MultiRegion","sigv4Signer","signerOptions","getSigv4aSigner","sigv4aSigner","CrtSignerV4","require","signingAlgorithm","bV","bW","bX","bY","bZ","ca","cc","cd","ce","cf","cg","ch","ci","cj","w","y","z","A","C","D","E","F","G","H","I","J","K","L","_L","M","_M","N","_N","O","_O","P","Q","R","_R","S","_S","T","_T","U","_U","V","W","X","Y","_Y","_ref264","_ref15","_ref263","_ref261","_ref17","_ref260","_ref25","_ref19","_ref21","_ref23","_q","_ref24","_ref33","_ref27","_ref29","_ref31","_q2","_ref32","_ref45","_ref40","_ref39","_ref42","_ref44","_q3","_ref43","_ref56","_ref47","_ref49","_ref52","_ref51","_ref54","_q4","_ref55","_ref64","_ref58","_ref60","_ref62","_q5","_ref63","_ref66","_ref68","_ref70","_q6","_ref71","_ref84","_q7","_ref95","_ref86","_ref88","_ref90","_ref93","_q8","_ref94","_ref99","_ref101","_q9","_ref111","_ref105","_ref107","_ref109","_q10","_ref110","_ref123","_ref113","_ref115","_ref118","_ref117","_ref120","_ref122","_q11","_ref121","_ref134","_ref125","_ref127","_ref130","_ref129","_ref132","_q12","_ref133","_ref142","_ref136","_ref138","_ref140","_q13","_ref141","_ref150","_ref144","_ref146","_ref148","_q14","_ref149","_ref162","_ref152","_ref154","_ref157","_ref156","_ref159","_ref161","_q15","_ref160","_ref173","_ref164","_ref166","_ref169","_ref168","_ref171","_q16","_ref172","_ref181","_ref175","_ref177","_ref179","_q17","_ref180","_ref189","_ref183","_ref185","_ref187","_q18","_ref188","_ref205","_ref191","_ref193","_ref196","_ref195","_ref198","_ref202","_ref200","_q19","_ref201","_ref204","_q20","_ref203","_ref216","_ref207","_ref209","_ref212","_ref211","_ref214","_q21","_ref215","_ref224","_ref218","_ref220","_ref222","_q22","_ref223","_ref232","_ref226","_ref228","_ref230","_q23","_ref231","_ref248","_ref234","_ref236","_ref239","_ref238","_ref241","_ref245","_ref243","_q24","_ref244","_ref247","_q25","_ref246","_ref259","_ref250","_ref252","_ref255","_ref254","_q26","_ref258","_ref262","_ref265","Z","_Z","aa","_aa","ab","_ab","ac","_ac","_ref271","ad","_ad","ae","_ref273","af","_af","ag","_ag","ah","_ah","ai","_ai","aj","_aj","_ref279","_ref278","ak","_ak","_ref281","al","_al","am","_am","_ref284","_q27","_ref285","an","_an","ao","_ao","_ref287","_q28","_ref288","ap","_ap","aq","_aq","_ref290","_q29","_ref291","ar","_ar","as","_as","_ref293","_q30","_ref294","at","_at","au","_au","_ref297","_ref299","_q31","_ref300","av","_av","_ref302","aw","ax","_ax","_ref304","_ref303","_ref306","_q32","_ref307","ay","_ay","_ref308","az","_az","aA","_aA","aB","_aB","aC","_aC","_ref310","_q33","_ref311","aD","_aD","aE","_aE","_ref313","_q34","_ref314","aF","_aF","aG","_aG","aH","aI","aJ","_aJ","aK","aL","_aL","aM","_aM","aN","_aN","_ref316","_ref318","aO","_aO","_ref320","_ref322","_ref325","_ref324","_ref323","aP","_aP","aQ","_aQ","aR","_aR","_ref327","aS","_ref328","aT","_aT","aU","_aU","aV","_aV","aW","_aW","aX","_aX","aY","_aY","aZ","_aZ","ba","_ba","bb","_ref329","bc","_ref330","bd","be","_ref331","bf","_bf","_ref333","_q35","_ref334","bg","_bg","_q36","bh","_bh","bi","_bi","_ref336","_q37","_ref337","bj","_bj","bk","_bk","_ref339","_q38","_ref340","bl","_bl","_ref342","_q39","_ref343","bm","_bm","bn","_bn","_ref345","_q40","_ref346","bo","_bo","_ref348","_q41","_ref349","bq","_bq","_ref351","_q42","_ref352","br","_br","_ref354","_q43","_ref355","bs","_bs","bt","bu","bv","_ref358","bw","_ref360","bx","by","bz","bA","_ref362","bB","bC","_ref363","bD","_ref365","bE","_ref367","bF","_ref368","bG","_ref369","_ref371","_ref370","bH","bI","bJ","bK","_ref374","_ref373","_ref372","bL","_ref377","_ref376","_ref375","bM","bN","_ref379","_ref378","bO","_ref382","_ref381","bP","_ref384","_ref383","bQ","_ref385","bR","_ref386","bS","bT","_ref388","bU","_data","UseObjectLambdaEndpoint","DisableAccessPoints","_ref679","_ref677","_ref389","_ref676","_ref411","_ref390","_ref391","_ref392","_ref393","_ref394","_ref396","_ref409","_ref408","_ref401","_ref397","_ref399","_ref398","_endpoint","_endpoint2","_ref406","_ref402","_ref404","_ref403","_endpoint3","_endpoint4","_ref633","_ref415","_ref414","_ref413","_ref412","_ref632","_ref420","_ref416","_ref417","_ref419","_ref418","_ref464","_ref421","_ref463","_ref462","_ref461","_ref460","_ref459","_ref422","_ref458","_ref423","_ref457","_ref424","_ref456","_ref425","_ref455","_ref426","_ref454","_ref428","_ref429","_ref431","_ref432","_ref434","_ref435","_ref437","_ref438","_ref441","_ref439","_ref443","_ref442","_ref444","_ref445","_ref448","_ref446","_ref449","_ref452","_ref450","_endpoint5","_ref453","_ref471","_ref466","_ref465","_ref467","_ref470","_ref469","_ref468","_ref625","_ref472","_ref623","_ref473","_ref475","_ref474","_ref622","_ref509","_ref476","_ref507","_ref506","_ref505","_ref504","_ref503","_ref502","_ref501","_ref500","_ref499","_ref498","_ref497","_ref496","_ref495","_ref494","_ref493","_ref492","_ref491","_ref490","_ref489","_ref488","_ref478","_ref477","_ref487","_ref486","_ref485","_ref484","_ref483","_ref482","_ref479","_endpoint6","_ref480","_endpoint7","_endpoint8","_ref574","_ref573","_ref572","_ref544","_ref543","_ref542","_ref541","_ref540","_ref539","_ref538","_ref537","_ref536","_ref535","_ref534","_ref533","_ref532","_ref510","_ref531","_ref530","_ref529","_ref527","_ref511","_ref526","_ref525","_ref524","_ref523","_ref522","_ref512","_ref521","_ref520","_ref513","_ref519","_ref514","_endpoint9","_ref515","_endpoint10","_ref516","_endpoint11","_ref517","_endpoint12","_ref518","_endpoint13","_ref571","_ref569","_ref545","_ref568","_ref546","_ref567","_ref547","_ref566","_ref548","_ref565","_ref551","_ref550","_ref564","_ref562","_ref552","_ref561","_ref559","_ref556","_ref554","_ref555","_endpoint14","_ref557","_ref620","_ref575","_ref576","_ref619","_ref577","_ref618","_ref578","_ref617","_ref581","_ref580","_ref579","_ref616","_ref614","_ref582","_ref613","_ref611","_ref610","_ref609","_ref607","_ref606","_ref605","_ref604","_ref603","_ref602","_ref601","_ref600","_ref599","_ref598","_ref596","_ref583","_ref595","_ref593","_ref584","_ref592","_ref590","_ref586","_ref589","_ref587","_endpoint15","_endpoint16","_ref631","_ref626","_ref628","_ref630","_ref629","_ref646","_ref634","_ref635","_ref645","_ref644","_ref643","_ref642","_ref641","_ref640","_ref639","_ref636","_endpoint17","_ref637","_endpoint18","_endpoint19","_ref675","_ref647","_ref674","_ref673","_ref672","_ref671","_ref670","_ref648","_ref649","_ref651","_ref652","_ref653","_ref654","_ref656","_ref657","_ref658","_ref659","_ref661","_ref662","_ref664","_ref663","_ref665","_ref668","_ref666","_endpoint20","_ref669","S3Client","_options$useAccelerat","_options$useGlobalEnd","_options$disableMulti","useAccelerateEndpoint","useGlobalEndpoint","disableMultiregionAccessPoints","_config$eventStreamSe","_config$getAwsChunked","_config$md","_config$sdkStreamMixi","_config$sha2","_config$streamHasher","_config$signerConstru","_config$signingEscape","_config$useArnRegion","useArnRegion","Sha1","_input$forcePathStyle","_input$useAccelerateE","_input$disableMultire","resolveS3Config","_config_9","eventStreamMarshaller","resolveEventStreamSerdeConfig","_context$endpointV$pr","_context$endpointV$pr2","_authScheme$signingRe","multiRegionOverride","dateHeader","signingRegionSet","_error$ServerTime","serverTime","ServerTime","awsAuthMiddleware","getAwsAuthPlugin","validateBucketNameMiddleware","validateArn","addExpectContinueMiddleware","Expect","getAddExpectContinuePlugin","MediafilePaneRendererComponent","MediaModule","cpm","register","ContentPlugin","title","selectionComponent","editorComponent","renderComponent","MEDIA_SETTINGS","MediaSettings","cloudinaryUrl","uploadPreset","imageUrl","MediaFile","contentType","contentDisposition","fileName","extension","realPath","FilesService","settings","cognitoSettings","fileNameOverride","requests$","files","formData","FormData","append","forkJoin","nocache","obs","_f$name$split","ext","_f$name$split2","buildClient","mediaFiles","onload","d2","arrayBufferFromBase64","convertDataURIToBinary","file","File","dataURI","base64Index","BASE64_MARKER","raw","atob","rawLength","array","TokenModule","TokenizerService","tokens","attributeTokens","genericTokens","level","AttributeTypes","matched","full","firstPiece","SplitComponent_ng_template_1_div_0_Template","$event","index_r2","ctx_r6","startKeyboardDrag","ctx_r9","startMouseDrag","ctx_r11","ctx_r13","clickGutter","ctx_r15","ctx_r17","area_r1","gutterSize","gutterAriaLabel","minSize","maxSize","getAriaAreaSizeText","SplitComponent_ng_template_1_Template","last","getPointFromEvent","changedTouches","clientX","clientY","currentTarget","gutterEl","offsetLeft","offsetTop","pointDeltaEquals","lhs","rhs","deltaPx","getElementPixelSize","rect","getBoundingClientRect","getInputBoolean","getInputPositiveNumber","isUserSizesValid","unit","sizes","getAreaMinSize","component","lockSize","getAreaMaxSize","getGutterSideAbsorptionCapacity","sideAreas","pixels","allAreasSizePixel","area","getAreaAbsorptionCapacity","areaSnapshot","pixelAbsorb","percentAfterAbsorption","sizePercentAtStart","pixelRemain","sizePixelAtStart","getAreaAbsorptionCapacityPercent","tempPercentSize","maxSizePixel","minSizePixel","getAreaAbsorptionCapacityPixel","containerSizePixel","tempPixelSize","remain","updateAreaSize","ANGULAR_SPLIT_DEFAULT_OPTIONS","SplitComponent","ngZone","cdRef","renderer","globalConfig","gutterClickDeltaPx","gutterStep","restrictMove","useTransition","disabled","dir","gutterDblClickDuration","dragStart","dragEnd","gutterClick","gutterDblClick","dragProgressSubject","dragProgress$","isDragging","isWaitingClear","isWaitingInitialMove","dragListeners","snapshot","startPoint","endPoint","displayedAreas","hiddenAreas","_clickTimeout","_direction","addClass","removeClass","_unit","_gutterSize","_gutterStep","_restrictMove","_useTransition","_disabled","_dir","_gutterDblClickDuration","transitionEndSubscriber","debounceTime","runOutsideAngular","newArea","sizeBeforeCollapse","gutterBeforeCollapse","visible","resetOrders","resetSizes","_this$displayedAreas","areas","comp","_this$hiddenAreas","formattedSizes","_size","stopDragging","setStyleOrder","useUserSizes","defaultSize","wildcardSizeAreas","alreadyGotOne","refreshStyleSizes","markForCheck","setStyleFlex","sumGutterSize","getNbGutters","gutterNum","tempPoint","clearTimeout","gutterOrder","getKeyboardEndpoint","offsetX","offsetY","preventDefault","stopPropagation","setupForDragEvent","startDragging","drag","listen","mouseDragEvent","lastSteppedOffset","allInvolvedAreasSizePercent","areasBeforeGutter","areasAfterGutter","unshift","lockEvents","gutterEls","toArray","steppedOffset","areasBefore","areasAfter","areaToReset","unlockEvents","fct","getVisibleAreaSizes","newSize","gutter","whichGutter","gtr","updateArea","viewQuery","_t","transitionEnd","exportAs","ngContentSelectors","changeDetection","SplitAreaDirective","_order","_minSize","_maxSize","_lockSize","_visible","lockListeners","showArea","hideArea","addArea","transitionListener","setStyle","isMin","isMax","removeArea","collapseArea","expandArea","AngularSplitModule","baseUrl","breaks","extensions","gfm","headerIds","headerPrefix","highlight","hooks","langPrefix","mangle","pedantic","silent","smartypants","tokenizer","walkTokens","xhtml","escapeTest","escapeReplace","escapeTestNoEncode","escapeReplaceNoEncode","escapeReplacements","getEscapeReplacement","escape","html","unescapeTest","unescape","caret","edit","opt","getRegex","nonWordAndColonTest","originIndependentUrl","cleanUrl","base","prot","resolveUrl","baseUrls","justDomain","rtrim","relativeBase","domain","encodeURI","noopTest","splitCells","tableRow","count","cells","escaped","curr","invert","suffLen","currChar","repeatString","outputLink","cap","link","lexer","text","inLink","inlineTokens","Tokenizer","src","block","newline","codeBlockStyle","fences","indentCodeCompensation","matchIndentToCode","indentToCode","matchIndentInNode","_matchIndentInNode","lang","_escapes","heading","trimmed","hr","blockquote","top","blockTokens","istask","ischecked","indent","blankLine","endsWithBlankLine","line","nextLine","rawLine","itemContents","endEarly","bull","isordered","ordered","loose","itemRegex","repeat","nextBulletRegex","hrRegex","fencesBeginRegex","headingBeginRegex","task","checked","trimRight","spacers","hasMultipleLineBreaks","pre","table","align","rows","row","lheading","paragraph","inRawBlock","trimmedUrl","rtrimSlash","lastParenIndex","findClosingBracket","linkLen","links","reflink","nolink","maskedSrc","prevChar","emStrong","lDelim","nextChar","punctuation","rDelim","rLength","lLength","delimTotal","midDelimTotal","endReg","rDelimAst","rDelimUnd","lastIndex","hasNonSpaceChars","hasSpaceCharsOnBothEnds","del","autolink","prevCapZero","_backpedal","_paragraph","_label","_title","bullet","listItemStart","_tag","_comment","reflinkSearch","_punctuation","blockSkip","escapedEmSt","_scheme","_email","_attribute","_href","strong","middle","endAst","endUnd","em","_extended_email","Lexer","inlineQueue","leading","tabs","lastToken","cutSrc","lastParagraphClipped","extTokenizer","space","startBlock","tempStart","startIndex","tempSrc","getStartIndex","errMsg","keepPrevChar","lastIndexOf","_loop2","codespan","startInline","inlineText","_ret2","lex","Renderer","infostring","quote","slugger","slug","content","flags","TextRenderer","Slugger","seen","originalSlug","isDryRun","occurenceAccumulator","getNextSafeSlug","dryrun","Parser","textRenderer","l2","l3","cell","itemBody","checkbox","renderers","parseInline","tablecell","tablerow","listitem","image","Hooks","markdown","parseMarkdown","origOpt","onError","marked","checkSanitizeDeprecation","preprocess","postprocess","setOptions","changeDefaults","newDefaults","getDefaults","childTokens","pack","prevRenderer","_loop3","_loop4","_prop","prevTokenizer","_len4","_key4","_loop5","_prop2","prevHook","passThroughHooks","_len5","_key5","_loop6","lexInline","MermaidAPI","SecurityLevel","ClipboardButtonComponent","_buttonClick$","copied$","timer","mapTo","distinctUntilChanged","copiedText$","startWith","copied","onCopyToClipboardClick","encapsulation","ClipboardOptions","PrismPlugin","CommandLine","LineHighlight","LineNumbers","MarkedOptions","SECURITY_CONTEXT","MarkdownService","securityContext","clipboardOptions","DEFAULT_MARKED_OPTIONS","DEFAULT_KATEX_OPTIONS","delimiters","left","right","DEFAULT_MERMAID_OPTIONS","startOnLoad","DEFAULT_CLIPBOARD_OPTIONS","buttonComponent","DEFAULT_PARSE_OPTIONS","decodeHtml","emoji","mermaid","markedOptions","disableSanitizer","DEFAULT_RENDER_OPTIONS","clipboard","katex","katexOptions","mermaidOptions","_reload$","reload$","_options","parseOptions","extendRenderer","trimIndentation","emojified","parseEmoji","parseMarked","renderClipboard","viewContainerRef","renderKatex","renderMermaid","responseType","handleExtension","Prism","highlightAllUnder","document","noLanguageElements","textarea","innerHTML","extendedRenderer","ɵNgxMarkdownRendererExtended","defaultCode","language","isEscaped","urlProtocolIndex","urlWithoutProtocol","lastSlashIndex","lastUrlSegment","lastDotIndex","joypixels","shortnameToUnicode","renderMathInElement","ClipboardJS","buttonTemplate","preElements","preElement","preWrapperElement","insertBefore","embeddedViewRef","clipboardInstance","toolbarWrapperElement","opacity","transition","insertAdjacentElement","onmouseover","onmouseout","createComponent","hostView","createEmbeddedView","rootNodes","innerText","onDestroy","mermaidElements","lineIdentStart","indentStart","i4","MarkdownComponent","markdownService","ready","_clipboard","_commandLine","_disableSanitizer","_emoji","_inline","_katex","_lineHighlight","_lineNumbers","_mermaid","_srcRelativeLink","destroyed$","coerceBooleanProperty","loadContent","handleSrc","handleData","handleTransclusion","srcRelativeLink","origin","renderOptions","clipboardButtonComponent","clipboardButtonTemplate","handlePlugins","render","getSource","commandLine","setPluginClass","setPluginOptions","dataFilterOutput","filterOutput","dataHost","dataPrompt","prompt","dataOutput","dataUser","lineHighlight","dataLine","dataLineOffset","lineOffset","lineNumbers","dataStart","_preElements$item$cla","classes","option","attributeValue","toLispCase","upperChars","MarkdownPipe","domSanitizer","zone","onStable","bypassSecurityTrustHtml","ɵpipe","pure","MarkdownModule","markdownModuleConfig","loader","Strict","Loose","Antiscript","Sandbox","Theme","Base","Forest","Dark","Default","Neutral","LogLevel","Debug","Info","Warn","Fatal","SnippetFormComponent_form_0_ng_container_3_Template","SnippetFormComponent_form_0_Template","_r6","ctx_r5","submit","_r2","contentForm","valid","SnippetFormComponent_div_1_ng_container_1_Template","SnippetFormComponent_div_1_Template","SnippetFormComponent_ng_template_2_ul_3_li_1_Template","token_r12","SnippetFormComponent_ng_template_2_ul_3_Template","ctx_r8","SnippetFormComponent_ng_template_2_classifieds_ui_dynamic_content_viewer_22_Template","preview","SnippetFormComponent_ng_template_2_classifieds_ui_dynamic_content_viewer_23_Template","ctx_r10","SnippetFormComponent_ng_template_2_Template","ctx_r3","splitDirection","cols","isMarkdown","Snippet","jsFile","jsScript","SnippetFormComponent","fb","submitted","rootForm","onTouched","control","Validators","contentEditorOptions","theme","snippet","valueChanges","replaceTokens","emitEvent","isDisabled","disable","enable","invalidForm","script","getElementsByTagName","NG_VALUE_ACCESSOR","useExisting","forwardRef","NG_VALIDATORS","i5","i6","i7","i8","i9","i10","SnippetModule","ReactiveFormsModule","FormsModule","MaterialModule","UtilsModule","SnippetParserService","iif","trueResult","falseResult","defer","ParamsFormComponent_div_0_mat_option_7_Template","p_r6","ParamsFormComponent_div_0_mat_form_field_10_mat_option_4_Template","c_r8","ParamsFormComponent_div_0_mat_form_field_10_Template","contexts","ParamsFormComponent_div_0_div_16_Template","j_r10","flagsAsArray","ParamsFormComponent_div_0_Template","param_r1","i_r2","paramPlugins$","controls","PluginInstanceComponent_mat_option_6_Template","p_r1","ParamPlugin","_Plugin","evalParam","usedContexts","Plugin","Param","mapping","Mapping","Flag","testValue","ParamPluginInstance","ParamSettings","paramsString","ParamPluginManager","_BasePluginManager","pcm","moduleLoader","PluginDef","BasePluginManager","ParamsFormComponent","ppm","params$","paramValues$","formArray","getPlugins","savedParams","paramIndexes","paramsSub","previousIndexes","buildParams","savedParamsSub","paramValuesSub","combineLatest","paramValues","paramItem","errors","ParamsQuerystringComponent","settings$","afterViewInit$","formGroup","paramsStringChangeSub","qs","paramsParsed","settingsSub","settingsParamsSub","PluginInstanceComponent","plugins$","title$","instance$","instanceForm","instanceSub","filter$1","tap$1","plugins","ParamEvaluatorService","paramPluginManager","tokenizerService","discoverTokens","paramValue","defaultIfEmpty","optionValue","DparamModule","paramEvaluatorService","paramMatch","inputParamFactory","ROUTER_REQUEST","ROUTER_NAVIGATION","routerRequestAction","props","ROUTER_CANCEL","routerNavigationAction","ROUTER_ERROR","routerCancelAction","ROUTER_NAVIGATED","routerErrorAction","routerNavigatedAction","MinimalRouterStateSerializer","routerState","serializeRoute","outlet","routeConfig","pathMatch","redirectTo","firstChild","NavigationActionTiming","PreActivation","PostActivation","DEFAULT_ROUTER_FEATURENAME","_ROUTER_CONFIG","ROUTER_CONFIG","_createRouterConfig","stateKey","navigationActionTiming","FullRouterStateSerializer","paramMap","queryParamMap","pathFromRoot","RouterStateSerializer","RouterTrigger","NONE","ROUTER","STORE","StoreRouterConnectingService","activeRuntimeChecks","lastEvent","trigger","isNgrxMockEnvironment","strictActionSerializability","strictStateSerializability","setUpStoreStateListener","setUpRouterEventsListener","navigateIfNeeded","routerStoreState","storeState","NavigationStart","isSameUrl","second","stripTrailingSlash","navigateByUrl","routesRecognized","dispatchNavLate","events","dispatchRouterRequest","RoutesRecognized","dispatchRouterNavigation","NavigationCancel","dispatchRouterCancel","NavigationError","dispatchRouterError","NavigationEnd","dispatchRouterNavigated","dispatchRouterAction","lastRoutesRecognized","nextRouterState","urlAfterRedirects","ACTIVE_RUNTIME_CHECKS","provideRouterStore","makeEnvironmentProviders","StoreRouterConnectingModule","getRouterSelectors","createRouterSelector","selectRouterState","selectRootRoute","selectCurrentRoute","rootRoute","selectFragment","selectQueryParams","selectRouteParams","selectRouteData","selectUrl","selectTitle","selectQueryParam","selectRouteParam","selectRouteDataParam","DurlModule","UrlGeneratorService","routerStore","_getRouterSelectors","qsParsed","pathPieces","meta","paramNames","mappings","path$","qs$","p2","rebuildQueryString","arrayFormat","indices","indexPos","pathParsed","newQ","DatasourceFormComponent_mat_option_5_Template","dp_r3","DatasourceFormComponent_ng_template_9_Template","DatasourceFormComponent_div_15_mat_option_5_Template","bo_r8","DatasourceFormComponent_div_15_Template","_r10","i_r6","removeBinding","ctx_r2","bindableOptions","DatasourcePlugin","editor","getBindings","editorOptions","DatasourceEditorOptions","Rest","trackBy","bindings","ContentBinding","Dataset","DatasourceOptions","idMapping","labelMapping","valueMapping","multiple","Datasource","AttributeValue","fullscreen","mockDatasourceOptions","DatasourceOptionsComponent","datasourceOptions$","datasourceOptionsSub","ds","updateValueAndValidity","datasourceOptions","DatasourceRendererHostDirective","DatasourcePluginManager","DatasourceFormComponent","componentFactoryResolver","dpm","datasources$","componentRef$","datasource$","contextForwardingSub","componentRef","rendererSub","getPlugin","renderPlugin","datasourceSub","addBinding","componentFactory","resolveComponentFactory","datasourceHost","removeAt","datasource","i4$1","DataSourceFormComponent","attributeSerializer","deserializeAsObject","i2$2","DataDatasourceComponent","controlContainer","DatasourceSourceFormComponent","DatasourceSourceComponent","dataDatasourcePluginFactory","attrbuteSerializer","DatasourceModule","DatasourceApiService","_ref9$body","i1$2","i2$3","SelectOption","label","dataItem","SelectMapping","DatasourceEvaluator","datasources","dataset","datasources2","dataset2","dsp","_ref16","PublicApiBridgeService","BridgeBuilderPlugin","bridgeAppInit","BridgeBuilderPluginManager","BridgeBuilderService","bpm","BridgeModule","bmp","sayHello2","alert","ContextDatasourceFormComponent_mat_option_5_Template","c_r1","ContextFormComponent_mat_option_7_Template","cPlugin_r2","ContextFormComponent_ng_template_11_Template","CONTEXT_PLUGIN","ContextPlugin","global","baseObject","resolver","internal","InlineContext","adaptor","ContextDatasource","ContextDatasourceFormComponent","ContextDatasourceComponent","DatasourceContextEditorComponent","addControl","proxyControlSub","datasourceFormComp","routeContextFactory","arg3","arg4","arg5","RouteResolver","panelPageId","ContextEditorHostDirective","ContextPluginManager","i1$3","ContextFormComponent","contextForm","context$","contextPlugins","__","renderEditor","editorHost","i6$1","DatasourceResolver","BaseInlineContextResolverService","rcm","scan","_ref18","_ref20","_ref22","add$","resolveGlobals","resolveAll","_ref26","resolveSingle","resolveGlobalsSingle","resolveAllSingle","_ref28","getDataObject","ResolvedContextPluginManager","_BasePluginManager2","ReplaySubject","hasPlugin","pluginInstances","InlineContextResolverService","_BaseInlineContextRes","ContextModule","inlineContextResolver","datasourceResolver","resolveMerged","contextBridgeFactory","generateGenericTokens","paramPluginFactory","inlineContext","contextDatasourceFactory","datasourceContextFactory","i6$2","ContextManagerService","globals","cp","contextPlugin","ResolvedContextPlugin","_Plugin2","ParamContextExtractorService","CatchAllRouterComponent","es","routes","AliasModule","RouterModule","AliasPlugin","loadingStrategy","matchingStrategy","redirectHandler","AliasPluginManager","CatchAllGuard","siteName","apm","routesLoaded","pp","urlTree","SITE_NAME","PersistenceFormComponent_mat_option_5_Template","duct_r2","PersistenceFormComponent_ng_template_9_Template","DataductPlugin","DuctdataInput","DuctdataOutput","PersistenceFormPayload","dataduct","PersistenceFormDataduct","DataductRenderHostDirective","DataductPluginManager","PersistenceFormComponent","ductForm","ducts$","persistence$","persistenceSub","persistence","PersistenceDialogComponent","dialogRef","persistenceForm","MAT_LEGACY_DIALOG_DATA","i3$1","RefineryModule","PersistService","switchMap$1","map$1","InteractionsFormComponent_div_2_Template","_r4","deleteListener$","interactions$","interactions","listeners","InteractionsFormPayload","InteractionInteractions","InteractionListener","InteractionEventPluginManager","InteractionHandlerPluginManager","InteractionListenerComponent","iepm","ihpm","eventPlugins$","handlerPlugins$","listenerForm","listener$","event$","handler$","listenerSub","InteractionsFormComponent","contexts$","interactionsForm","addListener$","addListenerSub","deleteListenerSub","interactionsSub","InteractionsDialogComponent","InteractionEventPlugin","DetourModule","InteractionHandlerPlugin","CrudAdaptorPlugin","CrudAdaptorDatasource","adaptorName","optionsString","CrudAdaptorDatasourceFormComponent","optionValues$","datasourceParamsSub","optionsStringChangeSub","optionsParsed","CrudAdaptorDatasourceComponent","CrudAdaptorPluginManager","CrudDataHelperService","crud","cachedCollectionQueries","cachedCollectionIgnore","identity","parentObject","operations$","evaluatePlugins","originalEntity","parentObjects","adaptors","buildQueryRule","flightAndCacheAwareCollectionQuery","evaluateCollectionPlugins","originalEntities","fallback","responses","_ref30","any","fact","queryMappings","defaultOperator","Rule","matchedIndex","pDiff","getDiff","iDiff","query$","CrudModule","ddpm","paramContextExtractor","crudDataHelper","urlGenerator","optionNames","getUrl","crudAdaptorDatasourcePluginFactory","crudDataductPluginFactory","CrudDataService","crudDataHelperService","RulesParserService","operatorsMap","fields","genericFields","attributeFields","resolveAttributeType","resolveNativeType","nestedRule","toEngineRule","firstDot","field","ngRule","RulesResolverService","rulesParser","facts","Engine","engine","addRule","objectDestructuringEmpty_objectDestructuringEmpty","createS3SignedHttpRequest","_ref21$method","_ref21$path","_ref21$port","_ref21$protocol","signedReq","Aws3Module","paramsEvaluatorService","asyncApiCallHelperSvc","success","signedHttpRequest","withCredentials","_objectDestructuringEmpty","identityCondition","c2","s3EntityCrudAdaptorPluginFactory","createSignedHttpRequest","_ref28$method","_ref28$path","_ref28$port","_ref28$protocol","AwosModule","hits","_source","opensearchTemplateCrudAdaptorPluginFactory","pipeline","opensearchEntityCrudAdaptorPluginFactory","classCallCheck","Constructor","createClass","defineProperties","descriptor","protoProps","staticProps","icPart","elem","hasProp","instances","Inflector","plurals","singulars","uncountables","humans","acronyms","acronymRegex","locale","word","replacement","singular","plural","s0","sRest","p0","pRest","sRestIC","pRestIC","words","defaults$1","en","inflector","irregular","inflections","isFunc","getInstance","applyInflections","capitalize","camelize","term","uppercaseFirstLetter","string","DEFAULT_APPROXIMATIONS","instances$1","PanelPageLinkedlistComponent_mat_form_field_1_mat_option_2_Template","PanelPageLinkedlistComponent_mat_form_field_1_Template","panelPages$","PanelPageLinkedlistComponent_mat_form_field_2_mat_option_2_Template","i_r9","PanelPageLinkedlistComponent_mat_form_field_2_Template","ctx_r1","panels$","PanelPageLinkedlistComponent_mat_form_field_3_mat_option_2_Template","i_r12","PanelPageLinkedlistComponent_mat_form_field_3_Template","panes$","PanelPageLinkedlistComponent_druid_panels_panelpage_linkedlist_4_Template","nested","PanelSelectorComponent_ng_template_10_a_1_Template","panel_r2","onItemSelect","PanelSelectorComponent_ng_template_10_Template","Transliterator","approximations","approximate","PanelsSettings","openSearchDomain","s3Bucket","objectsRootUrl","PanelPage","gridItems","panels","rowSettings","entityPermissions","PanelPagePermissions","layoutType","displayType","site","userId","Panel","GridItem","layoutSetting","LayoutSetting","cssFile","panes","stylePlugin","Pane","columnSetting","locked","contentPlugin","linkedPageId","nestedPage","resolvedContext","weight","readUserIds","writeUserIds","deleteUserIds","PanelContentHandler","panelPage","panesAsSettings","ContentPluginEditorOptions","PanelPageLinkedlistComponent","panelHandler","nested$","panel","pane","panelPageSub","panelSub","paneSub","toObject","panelPages","PanelSelectorComponent","bottomSheetRef","dialog","selectedIndex","panelPagesService","getEntityCollectionService","panelPageListItemsService","newPanel","panelFormGroup","UntypedFormControl","buildSettings","convertToGroup","dismiss","setting","fg","displayName","computedValue","UntypedFormArray","onNewSelect","onLinkSelect","onEmbedSelect","PanelEditorComponent","PanelPageState","PanelState","PaneState","DatasourceContentHandler","rulesResolver","datasourceEvalutator","dataPanes","evalDatasource","fetchDynamicData","binding","evaluate","paneMappings","rowIndex","bId","panelSettings","dsBindings","renderType","autocomplete","i3$2","DatasourceEditorComponent","datasourceHandler","panesArray","panelIndex","paneIndex","sourceSettings","paneForm","onSubmit","panelContentPluginFactory","datasourceContentPluginFactory","loadRestData","loadRestDataSuccess","setPageInfo","loadRestDataError","setForm","setPage","setSelectionPath","PageBuilderEffects","datasourceApi","snippetParserService","loadRestData$","fetchRestdata$","JSONPath","parseSnippet","postData","getData","i1$4","i3$3","PanelPageStateSlice","pageBuilderFeatureKey","pageBuilderReducer","createReducer","dataTags","datasets","pageInfo","formNames","forms","page","selectionPath","tagIndex","newState","nameIndex","form","STYLE_PLUGIN","PANELS_SETTINGS","PanelsModule","contentPlugins","panelsSettings","entityDataService","attributesSerialzer","PanelPageListItem","idb_keyval","save","readPrimary","readFallback","entityMetadataFactory","registerService","NoopDataService","panelPageState","pps","panelsBridgeFactory","CONTENT_PLUGIN","i3$4","i5$1","PanelPageSelector","LayoutEditorBaseComponent","savable","dashboard","ancestory","columnSettings","editablePaneTpl","extraActionsAreaTmpl","contextsMenuTpl","LayoutRendererBaseComponent","displayMainControls","displayItemHeader","renderPanelTpl","PanelStyleRendererBaseComponent","originMappings","originPanes","PanelsLoaderService","reducePanels","reducePanes","nestedPage$","getEmbedded","panelPageService","reducePage","remapNested","PanelsSelectorService","rebuildPanels","rebuildCondition","rebuildPanes","rebuildPage","PanelStateConverterService","convertPanelToState","convertPaneToState","hasNestedPanelPage","convertPageToState","PanelsWalkerService","panelsLoaderService","visitorFunc","defaultv","visitors$","len2","ancestoryWithSelf","walkPageHierarchy","PanelsContextService","panelsVisitorService","gatherPaneContexts","stateDefinition","paneContext","_ref31$ancestory","PanelStateArchitectService","buildToAncestorySpec","StylePluginManager","i1$6","StyleResolverService","spm","resolvedPanes","alterResolvedPanes","PanelResolverService","panesPlugins","isDynamic","isData","staticPanes","_ref38","buildDynamicItems","fromPanes","wrapPanel","paneGroups","pa","pc","_ref41","resolvedContexts","index2","i3$5","StylePlugin","PaneDatasourceService","_DataSource","pageChange$","pageSize","dataStream","subscription","Subscription","lastPage","paneItems","collectionViewer","viewChange","range","currentPage","end","DataSource","selectPageBuilderState","selectDataset","selectPageInfo","selectPage","selectSelectionPath","selectFormNames","selectForms","selectForm","PageBuilderFacade","getPageInfo$","getPage$","getSelectionPath$","getFormNames$","getForm$","i1$5","PropertiesFormPayload","PanelPropsFormPayload","PanePropsFormPayload","PanelPageForm","derivativeId","PanelPageFormPanel","PanelPageFormPane","FormDatasource","PaneStateService","pageBuilderFacade","panelStateArchitectService","selectById","panelPageStateService","_ref46","ps","_ref48","paneState","_ref50","ps2","deserializedState","_ref53","pageState","FormService","dsValues","serializedValue","serializeFormPane","arrayValues","serializeForm","CssHelperService","makeJsonNode","NgxDropzonePreviewComponent_ngx_dropzone_remove_badge_1_Template","_remove","_c2","NgxDropzoneComponent_ng_content_2_Template","_c3","_c4","NgxDropzoneImagePreviewComponent_ngx_dropzone_remove_badge_2_Template","NgxDropzoneVideoPreviewComponent_video_0_Template","sanitizedVideoSrc","NgxDropzoneVideoPreviewComponent_ngx_dropzone_remove_badge_2_Template","NgxDropzoneLabelDirective","NgxDropzoneRemoveBadgeComponent","KEY_CODE","BACKSPACE","DELETE","NgxDropzonePreviewComponent","_removable","tabIndex","_file","keyCode","bypassSecurityTrustStyle","_readFile","readFile","hostVars","hostBindings","keyEvent","hostStyle","removable","NgxDropzoneService","accept","maxFileSize","addedFiles","rejectedFiles","isAccepted","rejectFile","acceptFiletypes","filetype","filename","acceptFiletype","rejectedFile","NgxDropzoneComponent","_multiple","_maxFileSize","_expandable","_disableClick","_processDirectoryDrop","_isHovered","_previewChildren","coerceNumberProperty","disableClick","showFileSelector","processDirectoryDrop","DataTransferItem","webkitGetAsEntry","droppedItems","dataTransfer","droppedFiles","droppedDirectories","isFile","isDirectory","droppedFilesList","DataTransfer","droppedFile","handleFileDrop","extractFilesFromDirectoryCalls","extractFilesFromDirectory","allExtractedFiles","extractedFile","directory","getFileFromFileEntry","_getFileFromFileEntry","fileEntry","dirReader","createReader","readEntries","dirItems","fileEntries","dirItem","_fileInput","click","parseFileList","contentQueries","dirIndex","_onClick","_onDragOver","_onDragLeave","_onDrop","ariaLabel","ariaLabelledby","ariaDescribedBy","_onFilesSelected","_hasPreviews","NgxDropzoneImagePreviewComponent","_NgxDropzonePreviewCo","defaultImgLoading","imageSrc","bypassSecurityTrustUrl","renderImage","img","NgxDropzoneVideoPreviewComponent","_NgxDropzonePreviewCo2","videoSrc","createObjectURL","revokeObjectURL","NgxDropzoneModule","QueryBuilderComponent_ng_template_1_Template","getClassNames","QueryBuilderComponent_a_3_ng_container_1_ng_container_1_Template","QueryBuilderComponent_a_3_ng_container_1_Template","template_r12","ngIf","getArrowIconContext","QueryBuilderComponent_a_3_Template","_r15","ctx_r14","toggleCollapse","_r0","collapsed","getArrowIconTemplate","QueryBuilderComponent_ng_container_4_ng_container_2_Template","QueryBuilderComponent_ng_container_4_Template","template_r16","getButtonGroupContext","QueryBuilderComponent_ng_template_5_button_4_Template","_r21","ctx_r20","addRuleSet","ctx_r18","QueryBuilderComponent_ng_template_5_ng_container_5_Template","_r23","ctx_r22","removeRuleSet","ctx_r19","QueryBuilderComponent_ng_template_5_Template","_r25","ctx_r24","allowRuleset","parentValue","QueryBuilderComponent_ng_container_7_ng_container_1_Template","QueryBuilderComponent_ng_container_7_Template","template_r26","getSwitchGroupContext","QueryBuilderComponent_ng_template_8_div_0_Template","_r32","ctx_r31","_r29","ctx_r33","changeCondition","ctx_r34","_r30","ctx_r35","ctx_r28","QueryBuilderComponent_ng_template_8_Template","QueryBuilderComponent_ul_12_ng_container_1_ng_container_1_ng_container_2_ng_container_1_ng_container_2_Template","QueryBuilderComponent_ul_12_ng_container_1_ng_container_1_ng_container_2_ng_container_1_Template","template_r61","rule_r37","ctx_r46","getRemoveButtonContext","QueryBuilderComponent_ul_12_ng_container_1_ng_container_1_ng_container_2_ng_template_2_Template","_r66","ctx_r64","removeRule","ctx_r48","QueryBuilderComponent_ul_12_ng_container_1_ng_container_1_ng_container_2_div_4_ng_container_1_ng_container_1_Template","QueryBuilderComponent_ul_12_ng_container_1_ng_container_1_ng_container_2_div_4_ng_container_1_Template","template_r68","ctx_r67","getEntityContext","QueryBuilderComponent_ul_12_ng_container_1_ng_container_1_ng_container_2_div_4_Template","_r50","ctx_r49","getEntityTemplate","QueryBuilderComponent_ul_12_ng_container_1_ng_container_1_ng_container_2_ng_template_5_option_2_Template","entity_r72","QueryBuilderComponent_ul_12_ng_container_1_ng_container_1_ng_container_2_ng_template_5_Template","_r75","ctx_r77","i_r38","ctx_r76","changeEntity","ctx_r51","QueryBuilderComponent_ul_12_ng_container_1_ng_container_1_ng_container_2_ng_container_7_ng_container_1_Template","QueryBuilderComponent_ul_12_ng_container_1_ng_container_1_ng_container_2_ng_container_7_Template","template_r79","ctx_r52","getFieldContext","QueryBuilderComponent_ul_12_ng_container_1_ng_container_1_ng_container_2_ng_template_8_option_2_Template","field_r83","QueryBuilderComponent_ul_12_ng_container_1_ng_container_1_ng_container_2_ng_template_8_Template","_r86","ctx_r87","changeField","ctx_r54","getFields","QueryBuilderComponent_ul_12_ng_container_1_ng_container_1_ng_container_2_ng_container_10_ng_container_1_Template","QueryBuilderComponent_ul_12_ng_container_1_ng_container_1_ng_container_2_ng_container_10_Template","template_r90","ctx_r55","getOperatorContext","QueryBuilderComponent_ul_12_ng_container_1_ng_container_1_ng_container_2_ng_template_11_option_2_Template","operator_r94","QueryBuilderComponent_ul_12_ng_container_1_ng_container_1_ng_container_2_ng_template_11_Template","_r97","ctx_r98","changeOperator","ctx_r57","getOperators","QueryBuilderComponent_ul_12_ng_container_1_ng_container_1_ng_container_2_ng_container_13_ng_container_1_Template","QueryBuilderComponent_ul_12_ng_container_1_ng_container_1_ng_container_2_ng_container_13_Template","template_r101","ctx_r58","getInputContext","QueryBuilderComponent_ul_12_ng_container_1_ng_container_1_ng_container_2_ng_template_14_input_1_Template","_r113","ctx_r114","changeInput","ctx_r104","QueryBuilderComponent_ul_12_ng_container_1_ng_container_1_ng_container_2_ng_template_14_input_2_Template","_r118","ctx_r119","ctx_r105","QueryBuilderComponent_ul_12_ng_container_1_ng_container_1_ng_container_2_ng_template_14_input_3_Template","_r123","ctx_r124","ctx_r106","QueryBuilderComponent_ul_12_ng_container_1_ng_container_1_ng_container_2_ng_template_14_input_4_Template","_r128","ctx_r129","ctx_r107","QueryBuilderComponent_ul_12_ng_container_1_ng_container_1_ng_container_2_ng_template_14_select_5_option_1_Template","opt_r132","QueryBuilderComponent_ul_12_ng_container_1_ng_container_1_ng_container_2_ng_template_14_select_5_Template","_r135","ctx_r136","ctx_r108","getOptions","QueryBuilderComponent_ul_12_ng_container_1_ng_container_1_ng_container_2_ng_template_14_ng_container_6_option_2_Template","opt_r139","QueryBuilderComponent_ul_12_ng_container_1_ng_container_1_ng_container_2_ng_template_14_ng_container_6_Template","_r142","ctx_r143","ctx_r109","QueryBuilderComponent_ul_12_ng_container_1_ng_container_1_ng_container_2_ng_template_14_input_7_Template","_r147","ctx_r148","ctx_r110","QueryBuilderComponent_ul_12_ng_container_1_ng_container_1_ng_container_2_ng_template_14_Template","ctx_r60","getInputType","QueryBuilderComponent_ul_12_ng_container_1_ng_container_1_ng_container_2_Template","_r47","_r53","_r56","_r59","ctx_r41","getRemoveButtonTemplate","getFieldTemplate","getOperatorTemplate","findTemplateForRule","QueryBuilderComponent_ul_12_ng_container_1_ng_container_1_query_builder_3_Template","ctx_r42","parentTouchedCallback","onTouchedCallback","parentChangeCallback","onChangeCallback","parentInputTemplates","inputTemplates","parentOperatorTemplate","operatorTemplate","parentFieldTemplate","fieldTemplate","parentEntityTemplate","entityTemplate","parentSwitchGroupTemplate","switchGroupTemplate","parentButtonGroupTemplate","buttonGroupTemplate","parentRemoveButtonTemplate","removeButtonTemplate","parentEmptyWarningTemplate","emptyWarningTemplate","parentArrowIconTemplate","arrowIconTemplate","classNames","allowCollapse","emptyMessage","operatorMap","QueryBuilderComponent_ul_12_ng_container_1_ng_container_1_ng_container_4_ng_container_1_ng_container_1_Template","QueryBuilderComponent_ul_12_ng_container_1_ng_container_1_ng_container_4_ng_container_1_Template","template_r153","ctx_r154","getEmptyWarningContext","QueryBuilderComponent_ul_12_ng_container_1_ng_container_1_ng_container_4_Template","local_r40","invalid","QueryBuilderComponent_ul_12_ng_container_1_ng_container_1_ng_template_5_p_0_Template","ctx_r158","QueryBuilderComponent_ul_12_ng_container_1_ng_container_1_ng_template_5_Template","QueryBuilderComponent_ul_12_ng_container_1_ng_container_1_Template","_r44","ctx_r39","getQueryItemClassName","ruleset","getEmptyWarningTemplate","a0","QueryBuilderComponent_ul_12_ng_container_1_Template","ctx_r36","allowEmptyRulesets","QueryBuilderComponent_ul_12_Template","QueryOperatorDirective","QueryFieldDirective","QueryEntityDirective","QuerySwitchGroupDirective","QueryButtonGroupDirective","QueryInputDirective","_type","queryInputType","QueryRemoveButtonDirective","QueryEmptyWarningDirective","QueryArrowIconDirective","CONTROL_VALUE_ACCESSOR","QueryBuilderComponent","VALIDATOR","changeDetectorRef","defaultClassNames","arrowIconButton","arrowIcon","removeIcon","addIcon","button","buttonGroup","removeButton","switchGroup","switchLabel","switchRadio","rightAlign","treeContainer","tree","invalidRuleSet","emptyWarning","fieldControl","fieldControlSize","entityControl","entityControlSize","operatorControl","operatorControlSize","inputControl","inputControlSize","defaultOperatorMap","category","boolean","persistValueOnFieldChange","defaultTemplateTypes","defaultPersistValueTypes","defaultEmptyList","operatorsCache","inputContextCache","operatorContextCache","fieldContextCache","entityContextCache","removeButtonContextCache","getDisabledState","filterFields","_this$data","ruleErrorStore","hasErrors","checkEmptyRuleInRuleset","empty","validateRulesInRuleset","handleDataChange","detectChanges","queryInput","findQueryInput","operators","fieldObject","nullable","clsLookup","defaultField","getDefaultValue","entityFields","getDefaultOperator","handleTouched","maxHeight","computedTreeContainerHeight","firstElementChild","clientHeight","coerceValueForOperator","fieldValue","inputContext","nextField","nextValue","calculateFieldChangeValue","entityValue","rs","getDefaultField","local","cls","buttonGroupContext","onChange","currentField","errorStore","validator","condintion","_r7","getButtonGroupTemplate","getSwitchGroupTemplate","NgxAngularQueryBuilderModule","GridsterComponent_div_0_Template","i_r3","gridRenderer","getGridColumnStyle","GridsterComponent_div_1_Template","i_r5","getGridRowStyle","GridsterItemComponent_div_1_Template","_r9","resize","dragStartDelay","GridsterItemComponent_div_2_Template","_r12","GridsterItemComponent_div_3_Template","ctx_r16","GridsterItemComponent_div_4_Template","_r18","GridsterItemComponent_div_5_Template","GridsterItemComponent_div_6_Template","_r24","ctx_r23","ctx_r25","GridsterItemComponent_div_7_Template","_r27","ctx_r26","GridsterItemComponent_div_8_Template","ctx_r29","scrollSensitivity","scrollSpeed","gridsterElement","resizeEvent","resizeEventType","intervalE","intervalW","intervalN","intervalS","GridType","Fit","ScrollVertical","ScrollHorizontal","Fixed","VerticalFixed","HorizontalFixed","DisplayGrid","Always","OnDragAndResize","CompactType","CompactUp","CompactLeft","CompactUpAndLeft","CompactLeftAndUp","CompactRight","CompactUpAndRight","CompactRightAndUp","CompactDown","CompactDownAndLeft","CompactLeftAndDown","CompactDownAndRight","CompactRightAndDown","DirTypes","LTR","RTL","GridsterCompact","gridster","$options","compactType","checkCompactMovement","moveTillCollision","delta","widgetMoved","grid","widget","$item","compactEnabled","itemChanged","checkCompact","checkCollision","GridsterConfigService","gridType","scale","fixedColWidth","fixedRowHeight","keepFixedHeightInMobile","keepFixedWidthInMobile","setGridSize","mobileBreakpoint","useBodyForBreakpoint","allowMultiLayer","defaultLayerIndex","maxLayerIndex","baseLayerIndex","minCols","maxCols","minRows","maxRows","defaultItemCols","defaultItemRows","maxItemCols","maxItemRows","minItemCols","minItemRows","minItemArea","maxItemArea","addEmptyRowsCount","rowHeightRatio","outerMargin","outerMarginTop","outerMarginRight","outerMarginBottom","outerMarginLeft","useTransformPositioning","initCallback","destroyCallback","gridSizeChangedCallback","itemChangeCallback","itemResizeCallback","itemInitCallback","itemRemovedCallback","itemValidateCallback","enableEmptyCellClick","enableEmptyCellContextMenu","enableEmptyCellDrop","enableEmptyCellDrag","enableOccupiedCellDrop","emptyCellClickCallback","emptyCellContextMenuCallback","emptyCellDropCallback","emptyCellDragCallback","emptyCellDragMaxCols","emptyCellDragMaxRows","ignoreMarginInRow","draggable","delayStart","ignoreContentClass","ignoreContent","dragHandleClass","dropOverItems","dropOverItemsCallback","resizable","handles","se","ne","sw","nw","swap","swapWhileDragging","pushItems","disablePushOnDrag","disablePushOnResize","pushDirections","north","east","south","west","pushResizeItems","displayGrid","disableWindowResize","disableWarnings","scrollToNewItems","disableScrollHorizontal","disableScrollVertical","enableBoundaryControl","disableAutoPositionOnConflict","dirType","GridsterUtils","obj1","obj2","touches","checkDragHandleClass","checkContentClass","current","hasAttribute","classnames","contentClass","GridsterEmptyCell","emptyCellClickCb","movingItem","checkContentClassForEmptyCellClickEvent","getValidItemFromEvent","emptyCellContextMenuCb","emptyCellDragDrop","emptyCellDragOver","dropEffect","previewStyle","emptyCellMouseDown","buttons","TouchEvent","initialItem","removeWindowMousemoveListenerFn","emptyCellMouseMove","removeWindowTouchmoveListenerFn","removeWindowMouseupListenerFn","emptyCellMouseUp","removeWindowTouchendListenerFn","removeDocumentDragendListenerFn","removeEmptyCellClickListenerFn","removeEmptyCellTouchendListenerFn","removeEmptyCellContextMenuListenerFn","removeEmptyCellDropListenerFn","removeEmptyCellDragoverListenerFn","removeEmptyCellMousedownListenerFn","removeEmptyCellTouchstartListenerFn","scrollLeft","getLeftMargin","scrollTop","getTopMargin","oldItem","checkTouchEvent","getPixelsX","getPixelsY","pixelsToPositionX","pixelsToPositionY","GridsterRenderer","lastGridColumnStyles","lastGridRowStyles","mobile","clearCellPosition","curWidth","curColWidth","curRowHeight","setCellPosition","marginBottom","marginRight","columns","removeClass1","removeClass2","removeClass3","widthRatio","newPos","gridRows","getLeftPosition","gridColumns","getTopPosition","dPosition","transform","xPosition","GridsterPreviewComponent","previewStyle$","updateItem","standalone","GridsterComponent","calculateLayout$","resize$","destroy$","optionsChanged","widgetsIndex","updateOptions","calculateLayout","onResize","clientWidth","getNextPossiblePosition","newItem","startingFrom","setGridDimensions","colsIndex","rowsIndex","canAddToRows","getFirstPossiblePosition","tmpItem","getLastPossiblePosition","farthestItem","currCoords","compareItems","curHeight","dragInProgress","emptyCell","compact","item2","layerIndex","api","getItemComponent","offsetWidth","offsetHeight","checkIfToResize","windowResize","scrollWidth","scrollHeight","checkIfMobile","notPlaced","marginWidth","marginHeight","updateGridster","updateGrid","setSize","getNewArrayLength","itemComponent","autoPositionItem","collision","checkGridCollision","findItemWithItem","checkCollisionTwoItems","roundingMethod","noLimit","findItemWithItemForSwapping","checkCollisionTwoItemsForSwaping","checkCompactItem","overallSize","newLength","isFinite","ElementRef","Renderer2","ChangeDetectorRef","NgZone","NgForOf","GridsterPush","gridsterItem","iteration","pushedItems","pushedItemsTemp","pushedItemsTempPath","pushedItemsPath","tryPattern","fromEast","tryWest","trySouth","tryNorth","tryEast","fromWest","fromNorth","fromSouth","pushedItemsOrder","pushed","restoreTempItems","removeFromTempPushed","pushedItem","checkItemChanges","checkPushedItem","checkPushBack","conflicts","findItemsWithItem","itemCollision","makePush","canBeDragged","removeFromPushedItem","gridsterItemCollide","addToTempPushed","addToPushed","tempPosition","lastPosition","removeFromPushed","intervalDuration","scroll","lastMouse","calculateItemPosition","resizeEventScrollType","elemTopOffset","cancelN","startVertical","cancelS","cancelVertical","elemLeftOffset","cancelW","startHorizontal","cancelE","cancelHorizontal","setInterval","cancelScroll","clearInterval","GridsterSwap","swapedItem","checkSwapBack","checkSwap","pushedBy","gridsterItemCollision","checkCollisionForSwaping","copyCollisionX","copyCollisionY","copyX","copyY","diffX","diffY","setSwapItem","Direction","UP","DOWN","LEFT","RIGHT","GridsterDraggable","dragMove","_this8$outerMarginTop","_this8$outerMarginLef","_this8$outerMarginRig","_this8$outerMarginBot","directions","getDirections","MouseEvent","bottom","calculateItemPositionFromMousePosition","calculateItemPositionWithScale","calculateItemPositionWithoutScale","dragStop","cancelOnBlur","mousemove","mouseup","mouseleave","touchmove","touchend","touchcancel","makeDrag","cancelDrag","restoreItems","restoreSwapItem","setPushedItems","checkContentClassForEvent","cancelMouse","cancelMouseLeave","cancelTouchMove","cancelMove","eventMove","cancelTouchEnd","cancelTouchCancel","mousedown","touchstart","which","originalClientX","originalClientY","diffLeft","diffTop","positionX","positionY","positionXBackup","positionYBackup","swapItems","enableDrag","GridsterPushResize","canBeResized","backUpY","backUpRows","backUpX","backUpCols","GridsterResizable","directionFunction","makeResize","cancelResize","pushResize","handleNorth","minHeight","newPosition","itemBackup","positionYToPixels","setItemTop","setItemHeight","handleWest","minWidth","positionXToPixels","setItemLeft","setItemWidth","handleSouth","diffBottom","_this10$outerMarginBo","box","handleEast","diffRight","_this10$outerMarginRi","handleNorthWest","handleNorthEast","handleSouthWest","handleSouthEast","_this$gridster","resizeEnabled","resizableHandles","getResizableHandles","_this$zone$runOutside","GridsterItemComponent","itemInit","itemChange","itemResize","getLayerIndex","addItem","previousValue","dragEnabled","updateItemSize","scrollIntoView","newValue","oldValue","gridDragEnabled","gridResizable","gridResizableHandles","itemResizableHandles","topIndex","targetIndex","zIndex","NgIf","GridsterModule","FlexLayoutComponent_div_1_div_2_ng_container_4_Template","FlexLayoutComponent_div_1_div_2_Template","j_r3","i_r1","itemIndex","gridItemInnerStyles","innerGridItemTmpl","FlexLayoutComponent_div_1_Template","rowFlex","rowDirection","totalColumns","_c5","_c6","GridLayoutComponent_ng_container_7_Template","GridLayoutComponent_gridster_item_10_ng_container_4_Template","GridLayoutComponent_gridster_item_10_ng_container_8_Template","GridLayoutComponent_gridster_item_10_Template","i_r4","item_r3","gridItemActionsTmpl","GridlessLayoutComponent_ng_container_3_Template","GridlessLayoutComponent_ng_container_8_Template","GridlessLayoutComponent_ng_container_10_Template","_c7","SplitLayoutComponent_ng_container_3_Template","SplitLayoutComponent_div_5_as_split_area_15_ng_container_4_Template","SplitLayoutComponent_div_5_as_split_area_15_ng_container_6_Template","SplitLayoutComponent_div_5_as_split_area_15_Template","j_r6","itemSize","SplitLayoutComponent_div_5_Template","addColumn","layoutSettings","removeRow","LayoutSidenavComponent_button_3_Template","_r3","login","_c8","LayoutSidenavComponent_div_10_Template","pp_r4","_c9","GridlessLayoutEditorComponent_li_6_Template","GridlessLayoutEditorComponent_li_7_Template","onPropertiesClick","GridlessLayoutEditorComponent_li_8_Template","onDeleteClick","GridlessLayoutEditorComponent_li_9_Template","_r31","ctx_r30","onRulesClick","GridlessLayoutEditorComponent_li_10_Template","_r33","ctx_r32","onPersistenceClick","GridlessLayoutEditorComponent_li_11_Template","_r35","onInteractionsClick","GridlessLayoutEditorComponent_li_18_Template","_r37","applyStyle","ctx_r38","GridlessLayoutEditorComponent_li_19_Template","_r40","removeStyle","GridlessLayoutEditorComponent_ng_template_22_button_0_Template","GridlessLayoutEditorComponent_ng_template_22_button_1_mat_icon_1_Template","GridlessLayoutEditorComponent_ng_template_22_button_1_Template","ctx_r43","GridlessLayoutEditorComponent_ng_template_22_ng_container_3_ng_container_1_Template","GridlessLayoutEditorComponent_ng_template_22_ng_container_3_Template","ctx_r44","GridlessLayoutEditorComponent_ng_template_22_div_4_Template","ctx_r45","panelStyleTitle","GridlessLayoutEditorComponent_ng_template_22_span_5_Template","GridlessLayoutEditorComponent_ng_template_22_ng_container_6_Template","GridlessLayoutEditorComponent_ng_template_22_div_25_Template","GridlessLayoutEditorComponent_ng_template_22_Template","hasPanelStyle","GridlessLayoutEditorComponent_ng_template_24_div_0_Template","GridlessLayoutEditorComponent_ng_template_24_Template","ctx_r12","GridlessLayoutEditorComponent_ng_template_26_div_3_ng_container_1_Template","_c10","GridlessLayoutEditorComponent_ng_template_26_div_3_Template","j_r59","i_r55","GridlessLayoutEditorComponent_ng_template_26_Template","_r63","ctx_r62","onFileChange","onDrop","panelPanes","GridlessLayoutEditorComponent_button_30_Template","ctx_r65","GridlessLayoutEditorComponent_button_31_Template","_r68","GridlessLayoutEditorComponent_button_32_Template","_r70","ctx_r69","GridlessLayoutEditorComponent_button_33_Template","_r72","ctx_r71","GridlessLayoutEditorComponent_button_34_Template","_r74","ctx_r73","GridlessLayoutEditorComponent_button_35_Template","_r76","ctx_r75","GridlessLayoutEditorComponent_button_40_Template","_r78","ctx_r79","GridlessLayoutEditorComponent_button_41_Template","_r81","ctx_r80","ctx_r82","GridlessLayoutRendererComponent_ng_template_1_ng_container_0_Template","GridlessLayoutRendererComponent_ng_template_1_Template","SplitLayoutEditorComponent_li_6_Template","_r20","SplitLayoutEditorComponent_li_16_Template","_r22","ctx_r21","SplitLayoutEditorComponent_li_17_Template","SplitLayoutEditorComponent_li_18_Template","_r26","SplitLayoutEditorComponent_li_19_Template","_r28","ctx_r27","SplitLayoutEditorComponent_ng_template_23_button_0_Template","_r36","SplitLayoutEditorComponent_ng_template_23_button_1_Template","_r13","SplitLayoutEditorComponent_ng_template_23_span_2_Template","SplitLayoutEditorComponent_ng_template_23_ng_container_4_ng_container_1_Template","SplitLayoutEditorComponent_ng_template_23_ng_container_4_Template","SplitLayoutEditorComponent_ng_template_23_ng_container_21_Template","SplitLayoutEditorComponent_ng_template_23_div_22_Template","SplitLayoutEditorComponent_ng_template_23_Template","SplitLayoutEditorComponent_ng_template_25_button_11_Template","_r45","SplitLayoutEditorComponent_ng_template_25_button_12_Template","SplitLayoutEditorComponent_ng_template_25_div_15_Template","SplitLayoutEditorComponent_ng_template_25_Template","_r55","ctx_r56","addContent","editPanelProps","ctx_r59","removeColumn2","_r39","SplitLayoutEditorComponent_ng_template_27_div_3_ng_container_1_Template","SplitLayoutEditorComponent_ng_template_27_div_3_Template","j_r66","i_r62","SplitLayoutEditorComponent_ng_template_27_Template","SplitLayoutEditorComponent_button_31_Template","_r73","ctx_r72","SplitLayoutEditorComponent_button_38_Template","ctx_r74","SplitLayoutEditorComponent_button_39_Template","_r77","SplitLayoutEditorComponent_button_40_Template","_r79","ctx_r78","SplitLayoutEditorComponent_button_41_Template","FlexLayoutRendererComponent_ng_template_1_ng_container_0_Template","FlexLayoutRendererComponent_ng_template_1_Template","FlexLayoutComponent","attributeMatcher","getComputedValue","rIndex","cIndex","column","calculateHeight","totalRows","GridLayoutComponent","itemAdded","itemRemoved","itemHeights","heightsMatrix","itemHeaderHeight","refreshGridHeight","gridHeight","cumulativeHeight","itemHeaders","extraActionsTmpl","mainControls","addRow","GridlessLayoutComponent","LayoutFormComponent","settingValues","layoutForm","layout","LayoutDialogComponent","valueComputerService","dialogForm","attrValues","compute","LayoutPluginManager","SplitLayoutComponent","lpm","layoutSettingChange","rowSettingsChange","columnSettingsChange","totalCols","resetGutter","counter","newDash","afterClosed","splitAreas","i8$1","LayoutPlugin","Attribute","LayoutSidenavComponent","panelPageListItems$","isAuthenticated$","GridlessLayoutEditorComponent","_LayoutEditorBaseComp","_r83","i4$2","i9$1","i11","i12","i13","GridlessLayoutRendererComponent","_LayoutRendererBaseCo","SplitLayoutEditorComponent","_LayoutEditorBaseComp2","gi","_r82","onItemAdded","onItemRemoved","onLayoutSettingChange","onRowSettingsChange","onColumnSettingsChange","FlexLayoutRendererComponent","_LayoutRendererBaseCo2","splitLayoutFactory","LayoutModule","AttributesModule","RestSourceFormComponent_ngx_json_viewer_18_Template","jsonData","RestSourceFormComponent","dataChange","sourceForm","restSource$","componentDestroyed","refreshData$","refreshSubscription","generateUrl","urlChangeSub","restSourceSub","restSource","qsOverrides","rebuildUrl","pathParams","apiUrl","RestDatasourceComponent","restfulRequest","newUrl","RestFetchHelperService","RestHttpGenerator","_DefaultHttpUrlGenera","pluralizer2","RestModule","dspm","fetchHelper","restUrlGenerator","fetchhelper","fetchDataset","Rest$1","extractContexts","restDatasourcePluginFactory","identityFact","restEntityCrudAdaptorPluginFactory","SheathModule","isSelectorValid","selector","dummyElement","createDocumentFragment","querySelector","commentX","lineAttrX","altX","isEmpty","defaultToJsonArgs","comments","stripComments","StylizerService","mutate$","mutated$","mutateSub","record","mapRecord","overlay","targetNode","MutationObserver","records","childList","subtree","attributeFilter","attributeOldValue","domElementPath","oldCssAsJson","toJSON","oldCssAsObject","newCssAsObject","merged","optimizedSelector","chars","rebuiltSelector","dasherize","underscoredWord","underscore","camelCasedWord","$1","$2","cssString","attr","currVal","newNode","sel","att","ClassClassification","KEEP","ADD","REMOVE","ClassifyService","mutate","mutateub","originals","oldClasses","dotIndex","keep","oc","classMap","RenderPaneComponent_ng_template_2_Template","RenderPaneComponent_classifieds_ui_panel_page_3_Template","filteredCss","filteredListeners","RenderPaneComponent_classifieds_ui_panel_page_4_Template","RenderPaneComponent_classifieds_ui_panel_page_5_Template","embedPanel","RenderPanelComponent_ng_template_3_Template","RenderPanelComponent_ng_container_4_ng_container_2_classifieds_ui_render_pane_3_Template","pane_r6","j_r7","ancestoryWithSelf$","RenderPanelComponent_ng_container_4_ng_container_2_Template","RenderPanelComponent_ng_container_4_ng_container_3_classifieds_ui_render_pane_1_Template","pane_r9","RenderPanelComponent_ng_container_4_ng_container_3_Template","RenderPanelComponent_ng_container_4_Template","PanelPageComponent_ng_template_2_Template","PanelPageComponent_button_3_Template","_r5","PanelPageComponent_ng_template_4_Template","pageForm","panelPageCached","contextsChanged","ancestory$","PaneContentHostDirective","LayoutRendererHostDirective","PanelPageComponent","mediaSettings","cxm","styleLoader","cssHelper","formService","panelsContextService","persistService","stylizerService","classifyService","fileService","persistenceEnabled","onInit$","afterContentInit$","renderLayout$","id$","panelPage$","instanceUniqueIdentity","isStable","managedCssCache","managedClassesCache","css$","cssSub","listeners$","listenersSub","settingsFormArray","bridgeSub","newGroup","idOrPanelPageSub","allActivePageContexts","paneContexts","hookupFormChange","populatePanelsFormArray","hookupCss","hookupContextSub","globalPlugins","resolveSub","short$","interval","registredContextListeners","resolveMergedSingle","bufferTime","bufferTimeSpan","otherArgs","popScheduler","bufferCreationInterval","maxBufferSize","bufferRecords","restartOnEmit","subs","arrRemove","startBuffer","executeSchedule","bufferTimeSubscriber","recordsCopy","buffered","cName","cValue","renderLayoutSub","layoutRendererHost","layoutRendererRef","stylizerSub","stylize","classifySub","classify","stylizerMutatedSub","isAuthenticated","bulkUpload","classifyMutatedSub","k2","onStableSub","onUnstableSub","onUnstable","panelPageFormService","panelsArray","managedCss","managedCssRaw","panelPageForm","statusChanges","i14","i15","gridLayout","NG_ASYNC_VALIDATORS","i16","RenderPanelComponent","RenderPaneComponent","paneStateService","resolvedContext$","schedulePluginChange","reduceCss","indexPosition","reduceSelector","classKeys","keyIndex","matchedNodes","cKeys","cLen","paneFormSub","pluginName","scheduleStateChange$","scheduleStateChangeSub","_ref57","mergeState","pluginChangeSub","resolveNestedPanelPage","renderPaneContent","embedPanelSub","rc","_root","contentPaneHost","stateChange","indexPositionClass","originPane","hostEl","panelResolverService","styleResolverService","heightChange","panelForm","panelFormSub","schedulePanelRender","rendered$","_ref59","_ref61","indexPosition$","_ref65","_ref67","scheduleRender","scheduleRenderSub","resolvePanes","populatePanesFormArray","renderPanelContent","schduleContextChange","schedulePanelRenderSub","panelHost","ancestorySub","COUNTER","contextChanged","_ref85","paneContainer","renderedPanes","RenderModule","containerMap","remoteMap","isDefaultScopeInitialized","lookupExposedModule","_lookupExposedModule","exposedModule","container","Module","initRemote","_initRemote","__webpack_init_sharing__","__webpack_share_scopes__","loadRemoteEntry","_loadRemoteEntry","remoteEntryOrOptions","remoteName","remoteEntry","loadRemoteScriptEntry","loadRemoteModuleEntry","_loadRemoteModuleEntry","import","_loadRemoteScriptEntry","loadRemoteModule","_loadRemoteModule","optionsOrRemoteName","loadRemoteEntryOptions","hasManifest","manifestEntry","ContentSelectorComponent_a_4_Template","p_r2","onEntitySelected","ContentSelectorComponent_ng_template_9_Template","SnippetPaneRendererComponent_classifieds_ui_dynamic_content_viewer_0_Template","onDocRendered","content$","SnippetPaneRendererComponent_classifieds_ui_dynamic_content_viewer_1_Template","StyleSelectorComponent_a_4_Template","s_r2","onStyleSelected","StyleSelectorComponent_ng_template_9_Template","EditablePaneComponent_div_0_ng_container_12_Template","EditablePaneComponent_div_0_button_14_Template","onOverrideClick","EditablePaneComponent_div_0_button_15_Template","onRemoveOverrideClick","EditablePaneComponent_div_0_ng_template_17_Template","EditablePaneComponent_div_0_Template","_r17","onAfterCollapse","onAfterExpand","_r1","displayOverride","hasOverride","EditablePaneComponent_ng_template_1_li_0_span_2_Template","setting_r21","settings_r19","EditablePaneComponent_ng_template_1_li_0_ul_3_ng_container_1_Template","EditablePaneComponent_ng_template_1_li_0_ul_3_Template","EditablePaneComponent_ng_template_1_li_0_Template","EditablePaneComponent_ng_template_1_Template","EditablePaneComponent_ng_template_3_ng_template_3_Template","EditablePaneComponent_ng_template_3_Template","onNestedUpdate","onPropsClick","rootContext","paneAncestoryWithSelf","EditablePaneComponent_button_13_Template","_r38","ctx_r37","onPreviewClick","EditablePaneComponent_button_14_Template","onDisablePreviewClick","ContentEditorComponent_form_0_ng_template_2_Template","ContentEditorComponent_form_0_Template","_r11","ContentEditorComponent_ng_template_1_ng_template_2_Template","ContentEditorComponent_ng_template_1_Template","ContentEditorComponent_ng_template_3_div_1_Template","ContentEditorComponent_ng_template_3_Template","restoredCtx","i_r13","j_r14","onDeletePane","onRulesPane","onOverrideRenderer","onRemoveOverrideRenderer","onPaneEdit","editPaneProps","onPaneDelete","panelPaneName","panelPaneLabel","panelPaneLocked","panelPanePlugin","panelPaneSettings","ContentEditorComponent_ng_template_5_Template","ContentEditorComponent_button_11_Template","c_r25","onEditContext","AttributeSelectorComponent_a_1_Template","widget_r1","AttributePaneRendererComponent_div_0_div_1_ng_container_1_Template","AttributePaneRendererComponent_div_0_div_1_ng_template_2_div_0_span_1_Template","setting_r10","AttributePaneRendererComponent_div_0_div_1_ng_template_2_div_0_span_2_Template","settings_r8","AttributePaneRendererComponent_div_0_div_1_ng_template_2_div_0_div_3_ng_container_1_Template","AttributePaneRendererComponent_div_0_div_1_ng_template_2_div_0_div_3_Template","AttributePaneRendererComponent_div_0_div_1_ng_template_2_div_0_Template","AttributePaneRendererComponent_div_0_div_1_ng_template_2_Template","AttributePaneRendererComponent_div_0_div_1_Template","attributeValues","AttributePaneRendererComponent_div_0_div_2_Template","AttributePaneRendererComponent_div_0_Template","AttributePaneRendererComponent_ng_template_1_Template","rendererSettings","MediaEditorComponent_ngx_dropzone_image_preview_3_Template","onRemoveMedia","RestFormComponent_div_29_div_4_mat_option_5_Template","RestFormComponent_div_29_div_4_Template","RestFormComponent_div_29_Template","addPane","RestFormComponent_div_30_Template","SelectionComponent_ng_container_5_mat_option_5_Template","opt_r5","SelectionComponent_ng_container_5_Template","SelectionComponent_ng_container_6_mat_radio_button_5_Template","opt_r8","SelectionComponent_ng_container_6_Template","SelectionComponent_ng_container_7_div_3_Template","opt_r11","SelectionComponent_ng_container_7_Template","SelectionComponent_ng_container_8_mat_option_5_Template","opt_r15","SelectionComponent_ng_container_8_Template","onOptionSelected","displayAuto","SliceFormComponent_mat_option_8_Template","TabsPanelEditorComponent_div_2_Template","onRemoveMapping","TabsPanelRendererComponent_mat_tab_group_0_mat_tab_1_ng_template_1_Template","TabsPanelRendererComponent_mat_tab_group_0_mat_tab_1_Template","TabsPanelRendererComponent_mat_tab_group_0_Template","TabsPanelRendererComponent_mat_tab_group_1_mat_tab_1_Template","pane_r7","TabsPanelRendererComponent_mat_tab_group_1_Template","VirtualListPanelRendererComponent_div_1_Template","pane_r1","TablePanelRendererComponent_ng_container_1_th_1_Template","n_r3","TablePanelRendererComponent_ng_container_1_td_2_Template","row_r7","rowData","TablePanelRendererComponent_ng_container_1_Template","TablePanelRendererComponent_tr_2_Template","TablePanelRendererComponent_tr_3_Template","defaultGetStoreFunc","GridLayout","panelpageform_serialize","ContentSelectionHostDirective","ContentSelectorComponent","contentPluginManager","renderSelectionComponent","contentAdded","maxWidth","selectionHost","MAT_BOTTOM_SHEET_DATA","SnippetContentHandler","tokenizrService","types","readAsText","SnippetPaneRendererComponent","snippet$","docRendered$","contentSub","appendScript","renderContentSub","resolveContexts","replacedTokens","compiledContent","js","AttributeContentHandler","snippetHandler","rendererSnippet","intValue","schema","RenderingEditorComponent","generateTokens","replaceRenderer","rendererIndex","rendererOverrideSettings","insert","StyleSelectorComponent","stylePlugins","RulesDialogComponent","rulesForm","fieldMap","buildFields","i2$4","PropertiesDialogComponent","propertiesForm","ContextDialogComponent","contextFormComp","restSourceFormComp","PanelPropsDialogComponent","propsForm","PanePropsDialogComponent","LayoutEditorHostDirective","PaneStateContextResolver","entityServices","entityCollectionService","defaultPaneState","EditablePaneComponent","rendererOverride","removeRendererOverride","nestedUpdate","hasRendererOverride","implementsRendererOverride","panelIndex$","paneIndex$","paneAncestoryWithSelfSub","contentEditor","onEditClick","i5$2","i6$3","i7$1","ContentEditorComponent","cxtm","paneStateContextResolver","pageBuilder","contentAdddedSub","resolvePaneContexts","pageProperties","matchIndex","setItemContentHeight","layoutEditorRef","panelLen","packageFormData","styleTitle","layoutEditorHost","renderEditorLayout","paneContainers","panelPane","evt","newPanelIndex","oldPanelIndex","previousContainer","previousIndex","temp","setControl","_this$editablePanes$f","editablePanes","ep","editablePane","_this$editablePanes$f2","editContext","paneIndexes","pi","_this$editablePanes$f3","_this$editablePanes$f4","handlesType","handleFile","splitLayout","onAddContextClick","i19","SnippetEditorComponent","PanelPageRouterComponent","paramMapSub","panelPageListItem","i7$2","CreatePanelPageComponent","panelPageListItemService","EditPanelPageComponent","loadModule","moduleName","AttributeSelectorComponent","wpm","attributeWidgets","widgetSettings","AttributeEditorComponent","attributesFormGroup","widgetSetting","valueSettings","ATTRIBUTE_WIDGET","AttributePaneRendererComponent","widgets","appearance","MediaContentHandler","filesService","mediaFile","mediaLoading","mediaLoaded","loadError","loadDuration","MediaEditorComponent","mediaTypes","_this44","convertToFiles","_this45","onSelectMedia","i6$4","MediaPaneRendererComponent","_this46","mediaBaseUrl","_this47","_this48","RestContentHandler","urlGeneratorService","getRenderType","_this49","_this50","attachedPane","_this51","i5$3","RestFormComponent","snippetValidation","restForm","_this52","_rest","_this53","rendererType","onDataChange","isSelectable","i4$3","i6$5","i12$1","RestEditorComponent","_this54","_this55","_this56","SelectionComponent","_this57","searchChange","selectionForm","selectMapping","buildOptions","_this58","attributesArray","_this59","i5$4","i10$1","RestPaneRendererComponent","restHandler","searchChange$","_this60","buildSelectOptionItems","searchString","onSearchChange","SliceContentHandler","mediaHandler","_this61","extractDataArray","transformDataArray","dataSlice","pieces","dataArray","_this62","DataSlice","SliceFormComponent","sliceForm","SliceEditorComponent","_this63","_this64","ContextEditorComponent","TabsPanelEditorComponent","buildLabelGroup","_this65","onAddMapping","TabsPanelRendererComponent","labelMappingsEnabled","PageStateFormComponent","_this66","stateCtrl","stateCtrlSub","_this67","flattenSelector","PageStateEditorComponent","_this68","FormDatasourceFormComponent","_this69","FormDatasourceComponent","snippetContentPluginFactory","attributeContentPluginFactory","mediaContentPluginFactory","restContentPluginFactory","sliceContentPluginFactory","pageContextFactory","restContextFactory","formContextFactory","paneStateContextFactory","pageStateContextFactory","tabsStylePluginFactory","createMatcher","pathLen","consumed","posParams","UrlSegment","createEditMatcher","VirtualListPanelRendererComponent","paneDatasource","_this70","_ref69","trackByTpl","PageRouterLinkComponent","onClick","PAGES_SETTINGS","PagesSettings","disableRouting","pagesSettings","_this71","matchPathQuery","encodePathComponent","pages","argPath","_ref72$","targetUrl","PageContextResolver","RestContextResolver","_this72","changePipeline","rebuildParams","_this73","routeArgChange","queryStringChange","formChange","_query$split","_query$split2","_this74","testParams","newParams","FormContextResolver","TablePanelRendererComponent","_PanelStyleRendererBa","_this75","trackByMapping","displayedColumns","i4$4","i5$5","_this76","TabsStyleHandler","panelsSelectorService","_this77","flatSelectors","withTarget","selectWithTarget","withoutTarget","selectWithoutTarget","rebuilt","rebuilt2","rebuildResolvedPanes","PageStateContextResolver","panelStateConverterService","resolverCache$","displayAssociatedPane","selectionMethod","resolve$","_this78","_ref89","_ref92","emptyPaneState","PagesModule","pluginConfigurationManager","contextManager","pageContextResolver","restContextResolver","formContextResolver","pageStateContextResolver","dataServiceConfig","formParamPluginFactory","formResolvedContextPluginFactory","pagesFormBridgeFactory","formSerializationEntityCrudAdaptorPluginFactory","formDatasourcePluginFactory","i5$6","i6$6","EMBEDDABLE_COMPONENT","PagealiasPlugin","_AliasPlugin","PagealiasLoadingStrategy","PagealiasMatchingStrategy","PagealiasRedirectHandler","PagealiasModule","pagealiasFactory","ContextStateFormComponent","ContextStateEditorComponent","contextStateFormComp","StateContextResolver","gs","GlobalState","StateModule","stateContextResolver","stateContextFactory","stateBridgeFactory","promisifyRequest","defaultGetStore","createStore","storeName","dbp","txMode","idbEntityCrudAdaptorPluginFactory","getAllKeys","eachCursor","openCursor","continue","cursor","getMany","addOperator","fv","jv","jsonValue","terms","flatten","wildcard","lengh","addFact","almanac","obs2","factValue","toPromise","removeFact","accumulator","scanInternals","KeyvalModule","AppComponent","publicApiBridge","menuClicked","bridge","core_mjs_","environment","appId","guestRoleArn","issuer","authorization_endpoint","userinfo_endpoint","end_session_endpoint","token_endpoint","jwks_uri","signingKeys","alg","kid","kty","routerReducer","routerAction","navigationId","SelectTransform","SelectSourceFormComponent","TransformSelectComponent","TransformMergeComponent","selectDatasourcePluginFactory","TransformModule","EntityDataSourceFormComponent","queryStringChangeSub","EntityDatasourceComponent","EntityDatasource","DeityModule","entityDatasourcePluginFactory","LoopDatasourceFormComponent","LoopDatasourceComponent","LoopDatasource","loopDatasourcePluginFactory","datasourceEvaluator","sets","LoopModule","ValidationValidatorComponent_mat_option_10_Template","vp_r2","ValidationValidatorComponent_ng_template_18_Template","ValidationEditorComponent_div_2_Template","deleteValidator$","validation$","validators","ValidationPlugin","errorMessage","ValidationValidator","overrideErrorMessage","paramSettings","ValidationValidatorSettings","FormValidation","ValidationRendererHostDirective","ValidationParamsEditorFormComponent","ValidationParamsEditorComponent","CoreValidationDiscovery","pluginManager","formsValidationUtils","pluginDef","makeRequired","makeRequiredTrue","makeMin","makeMax","makeMinLength","makeMaxLength","makeEmail","makePattern","nullValidator","rebuildControl","minLength","maxLength","FormsValidationUtils","attributesSerializerService","ValidationPluginManager","addDiscovery","ValidationValidatorComponent","vpm","validationPlugins$","validatorChangeSub","validatorSub","renderValidation","validationSub","validationHost","validation","ValidationEditorComponent","addValidator$","addValidatorSub","deleteValidatorSub","DefaultValidationError","validators$","message$","messageSub","_Object$keys2","OrdainModule","FormInputComponent_mat_error_2_Template","formSettings$","formControl","FormSelectComponent_mat_option_2_Template","opt_r1","FormSectionComponent_div_2_Template","remove$","FormElementEditorComponent_mat_option_11_Template","bo_r1","FormRadiogroupComponent_mat_radio_button_1_Template","FormAutocompleteComponent_mat_option_6_Template","opt_r2","FormMediaComponent_ng_container_3_ngx_dropzone_image_preview_1_Template","f_r1","onRemove","FormMediaComponent_ng_container_3_ngx_dropzone_video_preview_2_Template","FormMediaComponent_ng_container_3_ngx_dropzone_preview_3_Template","FormMediaComponent_ng_container_3_Template","isType","FormSettings","datasourceBinding","FormSectionForm","valuesMapping","OptionsResolverService","datasourceContentHandler","panelResolver","dataPane","mapDataOptions","mapDataItem","FormsContextHelperService","cachedResolvedContexts","scheduleResolution$","scheduleResolutionSub","resolution$","cachedIndex","diff","rContext","FormElementBase","optionsResolver","formsContextHelper","formControlValueChangesSub","options$","originPanes$","value$","settingsToObject","loadOptionsSub","resolveElementOptions","vf","validatorsSerialized","setAsyncValidators","replacements","extraTokens","take$1","FormInputComponent","_FormElementBase","optionsResolverService","FormSelectComponent","_FormElementBase2","FormSectionComponent","panel$","addSub","panesFormArray","paneCopy","removeSub","populateDefaultValues","FormTextareaComponent","_FormElementBase3","AbstractFormContentHandler","FormElementHandler","_AbstractFormContentH","ɵFormElementHandler_BaseFactory","FormElementEditorComponent","paneGroup","FormRadiogroupComponent","_FormElementBase4","i8$2","FormSliderComponent","_FormElementBase5","FormToggleComponent","_FormElementBase6","i7$3","FormCheckboxComponent","_FormElementBase7","i7$4","FormDatepickerComponent","_FormElementBase8","i7$5","FormAutocompleteComponent","_FormElementBase9","proxyControl","optionSelected$","proxyControlValueChangesSub","_ref35$","optionSelectedSub","i8$3","FormMediaComponent","_FormElementBase10","_super11","select$","selectSub","mfs","_this10$files","valueSub","isImage","isVideo","onSelect","FormHiddenComponent","_FormElementBase11","_super12","FormSectionEditorComponent","formInputPluginFactory","formSelectPluginFactory","formRadiogroupPluginFactory","formTextareaPluginFactory","formSliderPluginFactory","formTogglePluginFactory","formCheckboxPluginFactory","formDatepickerPluginFactory","formAutocompletePluginFactory","formMediaPluginFactory","formHiddenPluginFactory","FormsModule$1","getHeadersMap","headersMap","TransferHttpCacheInterceptor","appRef","isCacheActive","encodedParams","storeKey","makeCacheKey","TransferHttpCacheModule","ApplicationRef","HTTP_INTERCEPTORS","ALIENALIAS_SETTINGS","AlienaliasSettings","MfeReactComponent","ReactDOM","containerRef","OutsideAppSettings","componentName","OutsideAppContentHandler","OutsideAppEditorComponent","OutsideAppRendererComponent","objectSettings$","renderAppSub","viewContainer","ViewContainerRef","OutsiderModule","outsideAppPluginFactory","ContextModuleFormComponent","ContextModuleEditorComponent","contextModuleFormComp","PageBuilderBeamEffects","moduleLoaderService","setPage$","setPageInfo$","ModuleResolver","ExternalDiscovery","TractorbeamModule","ccpm","moduleResolver","externalDiscovey","moduleContextFactory","CloudwatchRumSettings","CLOUDWATCH_RUM_SETTINGS","panelpages","floatValue","canActivate","defaultDataServiceConfig","markedOptionsFactory","MarkedRenderer","AppModule","bootstrap","provideClientHydration","panelpages2","BrowserModule","HttpClientModule","HttpClientJsonpModule","BrowserAnimationsModule","initialNavigation","StoreDevtoolsModule","maxAge","logOnly","runtimeChecks","strictActionImmutability","strictStateImmutability","ContentModule","DruidFormsModule","enableProdMode","__NgCli_bootstrap_1","bootstrapModule","exports","tslib_1","util_1","index_1","crc32c","Crc32c","toHash","__awaiter","__generator","numToUint8","e_1","data_1","__values","data_1_1","lookupTable","e_1_1","uint32ArrayFrom","aws_crc32c_1","util_utf8_browser_1","convertToBuffer_1","isEmptyData_1","numToUint8_1","uint32ArrayFrom_1","a_lookUpTable","return_array","a_index","SHA_1_HASH","ie11Sha1_1","webCryptoSha1_1","supports_web_crypto_1","ie11_detection_1","util_locate_window_1","supportsWebCrypto","locateWindow","isMsWindow","constants_1","toArrayBufferView","getKeyPromise","keyOperation","subtle","importKey","SHA_1_HMAC_ALGO","keyData","__exportStar","typedArray","EMPTY_DATA_SHA_1","msSubtleCryptoMethods","quacksLikeAnMsWindow","subtle_1","methodName","subtleCryptoMethods","supportsSecureRandom","supportsSubtleCrypto","supportsZeroByteGCM","trys","generateKey","encrypt","iv","additionalData","tagLength","zeroByteAuthTag","RawSha256","MAX_HASHABLE_LENGTH","bufferView","DIGEST_LENGTH","state0","state1","state2","state3","state4","state5","state6","state7","KEY","RawSha256_1","outer","inner","bufferFromSecret","bufferHash","digestSync","SHA_256_HASH","ie11Sha256_1","webCryptoSha256_1","sha256_js_1","SHA_256_HMAC_ALGO","EMPTY_DATA_SHA_256","XMLBuilder","module","XMLValidator","nameStartChar","nameRegexp","regexName","arrayMode","isExist","allmatches","util","allowBooleanAttributes","unpairedTags","isWhiteSpace","readPI","xmlData","tagname","getErrorObject","getLineNumberForPosition","readCommentAndCDATA","angleBracketsCount","tagFound","reachedRoot","tagStartPos","closingTag","tagName","validateTagName","readAttributeStr","attrStr","attrStrStart","isValid","validateAttributeString","tagClosed","otg","openPos","col","afterAmp","validateAmpersand","doubleQuote","singleQuote","startChar","validAttrStrRegxp","getAllMatches","attrNames","getPositionFromMatch","attrName","validateAttrName","validateNumberAmpersand","re","lineNumber","isName","lines","buildFromOrderedJs","attributesGroupName","cdataPropName","indentBy","suppressEmptyNode","suppressUnpairedNode","suppressBooleanAttributes","attributeValueProcessor","preserveOrder","commentPropName","processEntities","stopNodes","oneListGroup","Builder","isAttribute","attrPrefixLen","processTextOrObjNode","indentate","tagEndChar","newLine","j2x","buildTextValNode","buildObjectNode","jObj","arrayNodeName","buildAttrPairStr","newval","replaceEntitiesValue","arrLen","listTagVal","Ks","closeTag","tagEndExp","piClosingChar","textValue","arrToStr","jPath","indentation","xmlStr","isPreviousElementTag","newJPath","tagObj","propName","newIdentation","attStr","attr_to_str","tagStart","tagValue","piTextNodeName","tagText","isStopNode","attrMap","attrVal","toXml","jArray","readEntityExp","isComment","isEntity","isElement","isAttlist","isNotation","specialChar","validateEntityName","readDocType","hasBody","comment","_readEntityExp","_readEntityExp2","regx","removeNSPrefix","parseAttributeValue","numberParseOptions","hex","leadingZeros","eNotation","alwaysCreateTextNode","ignorePiTags","transformTagName","transformAttributeName","updateTag","attrs","xmlNode","OrderedObjParser","currentNode","tagsNodeStack","docTypeEntities","lastEntities","apos","gt","lt","quot","ampEntity","cent","pound","yen","euro","copyright","reg","inr","addExternalEntities","parseXml","parseTextData","resolveNameSpace","buildAttributesMap","isItStopNode","readStopNodeData","saveTextToParentTag","addChild","externalEntities","entKeys","ent","dontTrim","hasAttributes","isLeafNode","escapeEntities","parseValue","attrsRegx","oldVal","aName","newVal","attrCollection","xmlObj","textData","closeIndex","findClosingIndex","lastTagName","propIndex","tagData","readTagExp","childNode","tagExp","attrExpPresent","endIndex","tagContent","currentTagName","allNodesExp","stopNodePath","stopNodeExp","closingIndex","tagExpWithClosingIndex","attrBoundary","closingChar","separatorIndex","openTagCount","shouldParse","prettify","validationOption","orderedObjParser","orderedResult","compress","compressedObj","newJpath","isLeaf","isLeafTag","assignAttributes","jpath","atrrName","propCount","_this$child$push2","crc32","aws_crc32_1","fallbackWindow","textEncoderFromUtf8","surrogatePair","jsFromUtf8","textEncoderToUtf8","byte","nextByte","byteValue","jsToUtf8","b64","lens","getLens","placeHoldersLen","toByteArray","tmp","validLen","Arr","_byteLength","curByte","revLookup","fromByteArray","uint8","extraBytes","maxChunkLength","encodeChunk","lookup","tripletToBase64","toStringTag","__esModule","getFirstMatch","getSecondMatch","matchAndReturnConst","getWindowsVersionName","getMacOSVersionName","getAndroidVersionName","getVersionPrecision","compareVersions","getBrowserAlias","BROWSER_ALIASES_MAP","getBrowserTypeByAlias","BROWSER_MAP","ENGINE_MAP","OS_MAP","PLATFORMS_MAP","Bada","BlackBerry","Chrome","Chromium","Electron","Epiphany","Firefox","Focus","Generic","Googlebot","Maxthon","Opera","PhantomJS","Puffin","QupZilla","QQ","QQLite","Safari","Sailfish","SeaMonkey","Sleipnir","Swing","Tizen","Vivaldi","WeChat","Roku","amazon_silk","android","bada","blackberry","chrome","chromium","electron","epiphany","firefox","focus","generic","googlebot","google_search","ie","k_meleon","maxthon","edge","mz","naver","opera","opera_coast","phantomjs","puffin","qupzilla","qq","qqlite","safari","sailfish","samsung_internet","seamonkey","sleipnir","swing","tizen","uc","vivaldi","webos","wechat","yandex","tablet","desktop","tv","WindowsPhone","Windows","MacOS","iOS","Android","WebOS","Linux","ChromeOS","PlayStation4","EdgeHTML","Blink","Trident","Presto","Gecko","WebKit","getParser","getResult","_ua","parsedResult","getUA","parseBrowser","describe","getBrowser","getBrowserName","getBrowserVersion","getOS","parseOS","getOSName","getOSVersion","getPlatform","parsePlatform","getPlatformType","getEngine","parseEngine","getEngineName","satisfies","isOS","isPlatform","compareVersion","isEngine","is","versionName","vendor","brackets2dots","REPLACE_BRACKETS","LFT_RT_TRIM_DOTS","ieee754","customInspectSymbol","for","SlowBuffer","alloc","K_MAX_LENGTH","createBuffer","RangeError","encodingOrOffset","allocUnsafe","isEncoding","actual","write","fromArrayLike","isInstance","SharedArrayBuffer","fromArrayBuffer","isBuffer","copy","numberIsNaN","toPrimitive","assertSize","mustMatch","loweredCase","utf8ToBytes","base64ToBytes","slowToString","hexSlice","utf8Slice","asciiSlice","latin1Slice","base64Slice","utf16leSlice","bidirectionalIndexOf","arrayIndexOf","indexSize","arrLength","valLength","readUInt16BE","foundIndex","found","hexWrite","strLen","utf8Write","blitBuffer","asciiWrite","asciiToBytes","byteArray","latin1Write","base64Write","ucs2Write","utf16leToBytes","units","hi","secondByte","thirdByte","fourthByte","tempCodePoint","firstByte","codePoint","bytesPerSequence","decodeCodePointsArray","codePoints","MAX_ARGUMENTS_LENGTH","TYPED_ARRAY_SUPPORT","typedArraySupport","proto","foo","poolSize","fill","allocUnsafeSlow","_isBuffer","compare","pos","swap16","swap32","swap64","toLocaleString","equals","inspect","INSPECT_MAX_BYTES","thisStart","thisEnd","thisCopy","targetCopy","hexSliceLookupTable","checkOffset","checkInt","checkIEEE754","writeFloat","littleEndian","noAssert","writeDouble","newBuf","readUIntLE","mul","readUIntBE","readUInt8","readUInt16LE","readUInt32LE","readUInt32BE","readIntLE","readIntBE","readInt8","readInt16LE","readInt16BE","readInt32LE","readInt32BE","readFloatLE","readFloatBE","readDoubleLE","readDoubleBE","writeUIntLE","writeUIntBE","writeUInt8","writeUInt16LE","writeUInt16BE","writeUInt32LE","writeUInt32BE","writeIntLE","writeIntBE","writeInt8","writeInt16LE","writeInt16BE","writeInt32LE","writeInt32BE","writeFloatLE","writeFloatBE","writeDoubleLE","writeDoubleBE","targetStart","copyWithin","INVALID_BASE64_RE","leadSurrogate","base64clean","dst","alphabet","GetIntrinsic","callBind","$indexOf","allowMissing","intrinsic","$apply","$call","$reflectApply","$gOPD","$defineProperty","$max","originalFunction","func","applyBind","_instanceof","nativeMap","nativeSet","nativePromise","circular","includeNonEnumerable","allParents","allChildren","useBuffer","_clone","__isArray","__isRegExp","__getRegExpFlags","__isDate","keyChild","valueChild","entryChild","getOwnPropertyDescriptor","symbols","symbol","allPropertyNames","__objToStr","ignoreCase","multiline","clonePrototype","__WEBPACK_AMD_DEFINE_FACTORY__","__WEBPACK_AMD_DEFINE_RESULT__","toCSS","strAttr","strNode","curry","arityOverride","arity","curried","getCurried","_curried","newArgs","newArgsLength","combined","newArgsIndex","isPlaceholder","uncurry","curry2","FK","directReplace","shallowCopyArray","shallowCopyObj","arrayMergeFn","$push","$append","$prepend","$replace","kn","$merge","$insert","$set","oo","ob","tt","st","parentElements","parents","nodeName","cssId","cssClass","nthElement","sameType","nth","previousElementSibling","HTMLElement","pathArr","nthSelectorNeeded","buildPathString","todots","dotsplit","normalize","ReflectOwnKeys","Reflect","ReflectApply","receiver","ownKeys","NumberIsNaN","once","emitter","errorListener","eventTargetAgnosticAddListener","addErrorHandlerIfEventEmitter","_events","_eventsCount","_maxListeners","defaultMaxListeners","checkListener","_getMaxListeners","that","_addListener","prepend","existing","newListener","warned","ProcessEmitWarning","warning","onceWrapper","fired","wrapFn","_onceWrap","wrapped","_listeners","unwrap","evlistener","unwrapListeners","arrayClone","listenerCount","wrapListener","setMaxListeners","getMaxListeners","doError","er","prependListener","prependOnceListener","originalListener","spliceOne","removeAllListeners","rawListeners","eventNames","boundThis","ret_","boundArgs","boundLen","toStr","bound","boundLength","Empty","implementation","$SyntaxError","SyntaxError","$Function","$TypeError","getEvalledConstructor","expressionSyntax","throwTypeError","ThrowTypeError","hasSymbols","hasProto","getProto","needsEval","TypedArray","INTRINSICS","AggregateError","Atomics","BigInt","BigInt64Array","BigUint64Array","decodeURI","eval","EvalError","Float32Array","Float64Array","FinalizationRegistry","Proxy","ReferenceError","Uint8ClampedArray","Uint16Array","URIError","WeakRef","WeakSet","errorProto","doEval","LEGACY_ALIASES","hasOwn","$concat","$spliceApply","$strSlice","$exec","rePropName","reEscapeChar","getBaseIntrinsic","intrinsicName","subString","stringToPath","intrinsicBaseName","intrinsicRealName","skipFurtherCaching","isOwn","desc","$Object","origSymbol","hasSymbolSham","sym","symObj","syms","_SELF_TAGS","_TOSTRING_TAGS","_TYPEDARRAY_TAGS","_UNPARSEABLE_TAGS","HAS_BUFFER_FROM_SUPPORT","HAS_UINT16ARRAY_SUPPORT","HTML_ELEMENT_REGEXP","SVG_ELEMENT_REGEXP","OBJECT_CLASS_MAP","objectClasses","OBJECT_CLASS_TYPE_MAP","objectClassTypes","objectClass","ITERABLE_TAGS","PRIMITIVE_TAGS","function","SELF_TAGS","ARGUMENTS","ARRAY","TOSTRING_TAGS","REGEXP","SYMBOL","TYPEDARRAY_TAGS","FLOAT32ARRAY","FLOAT64ARRAY","INT8ARRAY","INT16ARRAY","INT32ARRAY","UINT8ARRAY","UINT8CLAMPEDARRAY","UINT16ARRAY","UINT32ARRAY","UNPARSEABLE_TAGS","GENERATOR","PROMISE","WEAKMAP","WEAKSET","FUNCTION_NAME_REGEX","shouldSort","valueA","valueB","shouldSortPair","pairA","pairB","subIndex","getStringifiedArrayBuffer","getStringifiedArrayBufferModern","getStringifiedArrayBufferFallback","getStringifiedArrayBufferNoSupport","getCutoffIndex","getNormalizedValue","passedTag","getSortedObject","objectKeys","newObject","getSortedIterable","isMap","_final","getFunctionName","getSortedEvent","bubbles","cancelBubble","cancelable","composed","defaultPrevented","eventPhase","isTrusted","returnValue","outerHTML","getStringifiedDocumentFragment","createReplacer","thisCutoff","valueCutoff","getIntegerHashValue","charCode","hashA","hashB","otherObject","objectBasis","isEqual","isLE","mLen","nBytes","eLen","eMax","eBias","nBits","NaN","rt","LN2","superCtor","super_","TempCtor","define","extend","converter","toUTCString","stringifiedAttributes","cookie","jar","getJSON","withConverter","__webpack_require__","_typeof","_fact2","_interopRequireDefault","_errors","_debug2","_jsonpathPlus","_lodash2","Almanac","factMap","runtimeFacts","factId","factResultsCache","allowUndefinedFacts","_addConstantFact","_setFactValue","getCacheKey","factValuePromise","_getFact","UndefinedFactError","calculate","cacheVal","pathValue","selectn","Condition","booleanOperator","subConditions","oper","factResult","isBooleanOperator","_getValue","rightHandSideValue","leftHandSideValue","DEBUG","_operator2","Operators","numberValidator","successTriggers","_rule2","_almanac2","_engineFacts","_engineDefaultOperators2","READY","RUNNING","FINISHED","_possibleConstructorReturn","subClass","superClass","setEngine","prioritizedRules","operatorOrName","valueOrMethod","factOrId","ruleSets","ruleArray","ruleResult","SuccessEventFact","orderedSets","prioritizeRules","_hashIt2","Fact","CONSTANT","calculationMethod","DYNAMIC","cacheKeyMethod","defaultCacheKeys","cacheProperties","hashFromObject","_hash","_engine2","Operator","factValueValidator","_clone2","RuleResult","_condition2","_ruleResult2","setConditions","onSuccess","onFailure","setName","setPriority","setEvent","factSets","getFact","prioritizeAndRun","prioritizeConditions","setResult","comparisonValue","passes","evaluationResult","conditionResults","processResult","_setPrototypeOf","_isNativeReflectConstruct","construct","sham","_construct","Parent","_cache","_isNativeFunction","Wrapper","_arrayWithoutHoles","_arrayLikeToArray","_iterableToArray","iter","_unsupportedIterableToArray","_nonIterableSpread","minLen","arr2","hasOwnProp","vm","nodeVMSupported","supportsNodeVM","runInNewContext","expr","funcs","conditionCb","il","moveToAnotherArray","vr","fString","lastStatementEnd","NewError","Derived","Super","NewTarget","avoidNew","otherTypeCallback","optObj","resultType","sandbox","preventEval","parentProperty","autostart","currParent","currParentProperty","currResultType","currPreventEval","currSandbox","currOtherTypeCallback","toPathString","_obj","exprList","toPathArray","_hasParentSelector","_trace","isParentSelector","hasArrExpr","rslt","valOrPath","_getPreferredOutput","pointer","toPointer","_handleCallback","fullRetObj","preferredOutput","parentPropName","literalPriority","retObj","loc","addRet","elems","_walk","par","pr","_slice","_eval","addType","valueType","locProp","normalCompletion","didErr","rett","tl","_v","_vname","_$_parentProperty","_$_parent","_$_property","_$_path","_$_root","_$_v","subx","$0","ups","exp","isObjectLike","regexpEscape","toNumberString","decimalMark","regexpDecimalMark","getNumberRegexp","propIsEnumerable","shouldUseNative","test1","test2","test3","letter","hasMap","mapSizeDescriptor","mapSize","mapForEach","hasSet","setSizeDescriptor","setForEach","weakMapHas","weakSetHas","weakRefDeref","deref","booleanValueOf","objectToString","functionToString","$match","$slice","$toUpperCase","$toLowerCase","$test","$join","$arrSlice","$floor","bigIntValueOf","gOPS","symToString","hasShammedSymbols","isEnumerable","gPO","addNumericSeparator","sepRegex","int","intStr","dec","utilInspect","inspectCustom","inspectSymbol","isSymbol","wrapQuotes","defaultStyle","quoteChar","quoteStyle","isRegExp","inspect_","maxStringLength","customInspect","numericSeparator","inspectString","bigIntStr","maxDepth","getIndent","baseIndent","noIndent","newOpts","nameOf","arrObjKeys","symString","markBoxed","childNodes","xs","singleLineValues","indentedJoin","isError","cause","mapParts","collectionOf","setParts","isWeakMap","weakCollectionOf","isWeakSet","isWeakRef","isNumber","isBigInt","isBoolean","isString","isDate","ys","isPlainObject","protoTag","stringTag","lowbyte","lineJoiner","isArr","symMap","Log","Global","_testing","setXMLHttpRequest","XMLHttpRequest","MetadataService","JsonService","_settings","_jsonService","resetSigningKeys","getMetadata","metadataUrl","getJson","metadataSeed","getIssuer","_getMetadataProperty","getAuthorizationEndpoint","getUserInfoEndpoint","getTokenEndpoint","getCheckSessionIframe","getEndSessionEndpoint","getRevocationEndpoint","getKeysEndpoint","getSigningKeys","_metadataUrl","UrlUtility","addQueryParam","parseUrlFragment","JoseUtil","jws","KeyUtil","X509","hextob64u","b64tohex","AllowedSigningAlgs","OidcClientSettings","client_secret","post_logout_redirect_uri","client_authentication","max_age","ui_locales","acr_values","resource","response_mode","B","staleStateAge","clockSkew","clockService","ClockService","userInfoJwtIssuer","mergeClaims","ResponseValidatorCtor","ResponseValidator","$","MetadataServiceCtor","extraQueryParams","extraTokenParams","_authority","_metadata","_metadataSeed","_signingKeys","_client_id","_client_secret","_response_type","_scope","_redirect_uri","_post_logout_redirect_uri","_client_authentication","_prompt","_display","_max_age","_ui_locales","_acr_values","_resource","_response_mode","_filterProtocolClaims","_loadUserInfo","_staleStateAge","_clockSkew","_clockService","_userInfoJwtIssuer","_mergeClaims","_stateStore","_validator","_metadataService","_extraQueryParams","_extraTokenParams","getEpochTime","_store","_prefix","_contentTypes","_XMLHttpRequest","_jwtHandler","getResponseHeader","responseText","setRequestHeader","postForm","btoa","SigninRequest","id_token_hint","login_hint","request_uri","request_type","skipUserInfo","isOidc","isCode","SigninState","nonce","code_verifier","code_challenge","isOAuth","State","created","_id","_created","_request_type","toStorageString","fromStorageString","clearStaleState","OidcClient","createSigninRequest","readSigninResponseState","SigninResponse","processSigninResponse","validateSigninResponse","createSignoutRequest","SignoutRequest","readSignoutResponseState","SignoutResponse","ErrorResponse","processSignoutResponse","validateSignoutResponse","metadataService","TokenClient","exchangeCode","grant_type","exchangeRefreshToken","refresh_token","error_description","error_uri","session_state","_nonce","_code_verifier","hashString","_code_challenge","hexToBase64Url","_skipUserInfo","User","profile","expires_in","AccessTokenEvents","accessTokenExpiringNotificationTime","accessTokenExpiringTimer","Timer","accessTokenExpiredTimer","_accessTokenExpiringNotificationTime","_accessTokenExpiring","_accessTokenExpired","unload","addAccessTokenExpiring","addHandler","removeAccessTokenExpiring","removeHandler","addAccessTokenExpired","removeAccessTokenExpired","Event","_callbacks","raise","SessionMonitor","CheckSessionIFrame","_userManager","_CheckSessionIFrameCtor","_timer","addUserLoaded","_start","addUserUnloaded","_stop","monitorAnonymousSession","querySessionStatus","sid","_sub","_sid","_checkSessionIFrame","_checkSessionInterval","_stopCheckSessionOnError","_callback","_raiseUserSessionChanged","_raiseUserSignedOut","_raiseUserSignedIn","checkSessionInterval","stopCheckSessionOnError","_url","_interval","_stopOnError","_frame_origin","_frame","visibility","_boundMessageEvent","_message","contentWindow","_session_state","postMessage","TokenRevocationClient","_XMLHttpRequestCtor","revoke","_revoke","CordovaPopupWindow","_promise","_resolve","_reject","popupWindowFeatures","popupWindowTarget","startUrl","_isInAppBrowserInstalled","cordova","_error","_popup","InAppBrowser","_exitCallbackEvent","_exitCallback","_loadStartCallbackEvent","_loadStartCallback","_success","_cleanup","Version","InMemoryWebStorage","CordovaPopupNavigator","CordovaIFrameNavigator","UserInfoService","_userInfoService","_joseUtil","_tokenClient","_processSigninParams","_validateTokens","_processClaims","isOpenIdConnect","getClaims","_processCode","_validateIdTokenAndAccessToken","_validateIdToken","_validateIdTokenAttributes","validateJwtAttributes","_validateAccessToken","_getSigningKeyForJwt","_filterByAlg","_getSigningKeyForJwtWithSingleRetry","parseJwt","validateJwt","at_hash","_getClaimsFromJwt","iss","KEYUTIL","superclass","mixIn","$super","WordArray","sigBytes","clamp","enc","Hex","Latin1","Utf8","BufferedBlockAlgorithm","_nDataBytes","_append","_process","blockSize","_minBufferSize","_doProcessBlock","Hasher","cfg","_doReset","finalize","_doFinalize","_createHelper","_createHmacHelper","HMAC","algo","x64","Word","toX32","Base64","_map","sqrt","HmacSHA256","SHA512","nt","HmacSHA512","SHA384","HmacSHA384","fromNumber","appName","DB","DM","DV","FV","F1","F2","fromInt","mp","invDigit","mpl","mph","um","mt2","r2","q3","ONE","dlShiftTo","mu","divide","convert","compareTo","mod","revert","divRemTo","mulTo","multiplyTo","sqrTo","squareTo","ZERO","subTo","copyTo","drShiftTo","fromRadix","lShiftTo","rShiftTo","isEven","toRadix","modPowInt","multiplyUpperTo","multiplyLowerTo","dAddOffset","Ce","Te","Re","Rt","It","Dt","Ie","signum","dMultiply","testBit","bitwiseTo","shiftLeft","isProbablePrime","nextBytes","changeBit","addTo","modInt","millerRabin","subtract","getLowestSetBit","shiftRight","modPow","shortValue","and","xor","andNot","bitCount","setBit","clearBit","flipBit","multiply","divideAndRemainder","modInverse","gcd","square","De","Le","Ne","appVersion","Ue","Be","Oe","je","Me","He","dmp1","dmq1","coeff","Ve","Ke","curve","zinv","qe","fromBigInteger","infinity","doPublic","setPublic","isPublic","isPrivate","encryptOAEP","MessageDigest","Util","getCanonicalAlgName","getHashLength","Nr","hashHex","Ur","toBigInteger","getX","getY","isInfinity","twice","getInfinity","multiplyTwo","getQ","getA","getB","decodePointHex","getByteLength","getEncoded","toByteArrayUnsigned","decodeFrom","decodeFromHex","add2D","twice2D","multiply2D","isOnCurve","Sr","KJUR","asn1","ASN1Util","integerToByteHex","bigIntToMinTwosComplementsHex","getPEMStringFromHex","Mr","ASN1Object","DERBoolean","DERInteger","DERBitString","DEROctetString","DERNull","DERObjectIdentifier","DEREnumerated","DERUTF8String","DERNumericString","DERPrintableString","DERTeletexString","DERIA5String","DERUTCTime","DERGeneralizedTime","DERVisibleString","DERBMPString","DERSequence","DERSet","DERTaggedObject","explicit","jsonToASN1HEX","getEncodedHex","oidHexToInt","oidIntToHex","getLengthHexFromValue","hV","hTLV","isModified","getFreshValueHex","hL","hT","getValueHex","setByParam","tlv","DERAbstractString","getString","setString","Dr","setStringHex","DERAbstractTime","localDateToUTC","getTimezoneOffset","zeroPadding","getFullYear","getMonth","getDate","getHours","getMinutes","getSeconds","getMilliseconds","Pr","setByDateValue","setByDate","DERAbstractStructured","setByASN1ObjectArray","asn1Array","appendASN1Object","setByBigInteger","setByInteger","setValueHex","bigint","setHexValueIncludingUnusedBits","setUnusedBitsAndHexValue","setByBinaryString","setByBooleanArray","newFalseArray","bin","setValueOidString","setValueName","x509","OID","name2oid","setValueNameOrOid","oid","withMillis","millis","sortFlag","sortflag","isExplicit","asn1Object","setASN1Object","tage","tagi","wr","Fr","Er","xr","Ar","kr","Cr","Tr","Rr","Ir","qr","Gr","Lr","Jr","Br","Or","jr","Hr","Vr","Kr","Wr","zr","Yr","Xr","$r","getLblen","getL","getVblen","getVidx","getV","getTLV","getTLVblen","getNextSiblingIdx","getChildIdx","getNthChildIdx","getIdxbyList","getIdxbyListEx","isContextTag","getTLVbyList","getTLVbyListEx","getVbyList","getVbyListEx","getInt","getOID","Qr","getOIDName","oid2name","hextooidstr","dump","ommit_long_octet","isASN1HEX","oidname","x509ExtName","checkStrictDER","isHex","utf8tob64u","b64utoutf8","isBase64","isBase64URL","isIntegerArray","isPrintable","isIA5","isMail","DIGESTINFOHEAD","sha224","sha384","sha512","md2","ripemd160","DEFAULTPROVIDER","hmacmd5","hmacsha1","hmacsha224","hmacsha256","hmacsha384","hmacsha512","hmacripemd160","MD5withRSA","SHA1withRSA","SHA224withRSA","SHA256withRSA","SHA384withRSA","SHA512withRSA","RIPEMD160withRSA","MD5withECDSA","SHA1withECDSA","SHA224withECDSA","SHA256withECDSA","SHA384withECDSA","SHA512withECDSA","RIPEMD160withECDSA","SHA1withDSA","SHA224withDSA","SHA256withDSA","MD5withRSAandMGF1","SHAwithRSAandMGF1","SHA1withRSAandMGF1","SHA224withRSAandMGF1","SHA256withRSAandMGF1","SHA384withRSAandMGF1","SHA512withRSAandMGF1","RIPEMD160withRSAandMGF1","CRYPTOJSMESSAGEDIGESTNAME","SHA224","RIPEMD160","getDigestInfoHex","getPaddedDigestInfoHex","digestString","digestHex","sha256Hex","sha512Hex","isKey","DSA","ECDSA","prov","SECURERANDOMGEN","getRandomHexOfNbytes","getRandomBigIntegerOfNbytes","getRandomHexOfNbits","getRandomBigIntegerOfNbits","getRandomBigIntegerZeroToMax","getRandomBigIntegerMinToMax","setAlgAndProvider","md","updateString","updateHex","sjcl","codec","toBits","fromBits","algName","provName","HASHLENGTH","Mac","algProv","mac","doFinal","doFinalString","doFinalHex","setPassword","utf8","rstr","b64u","Signature","_setAlgNames","mdAlgName","pubkeyAlgName","_zeroPaddingOfSignature","Zr","prvKey","pubKey","sHashHex","ecprvhex","eccurvename","prv","hSign","signWithMessageHashPSS","pssSaltLen","signWithMessageHash","signHex","verify","ecpubhex","pub","verifyWithMessageHashPSS","verifyWithMessageHash","algProvName","initParams","psssaltlen","prvkeypem","prvkeypas","Cipher","getAlgByKeyAndName","decrypt","decryptOAEP","oidhex2name","ECParameterDB","getName","getBigRandom","setNamedCurve","ecparams","getByName","prvKeyHex","pubKeyHex","curveName","setPrivateKeyHex","setPublicKeyHex","getPublicKeyXYHex","keylen","getShortNISTPCurveName","generateKeyPairHex","biRSSigToASN1Sig","fromByteArrayUnsigned","serializeSig","verifyHex","parseSigHex","verifyRaw","Bitcoin","parseSig","toByteArraySigned","parseSigCompact","readPKCS5PrvKeyHex","readPKCS8PrvKeyHex","readPKCS8PubKeyHex","readCertPubKeyHex","parseSigHexInHexRS","asn1SigToConcatSig","concatSigToASN1Sig","hexRSSigToASN1Sig","regist","AES","ciphertext","proc","eproc","ivlen","TripleDES","DES","cipher","ivsalt","keyhex","ivhex","parsePKCS5PEM","getKeyAndUnusedIvByPasscodeAndIvsalt","decryptKeyB64","getDecryptedKeyHex","getEncryptedPKCS5PEMFromPrvKeyHex","parseHexOfEncryptedPKCS8","encryptionSchemeAlg","encryptionSchemeIV","pbkdf2Salt","pbkdf2Iter","getPBKDF2KeyHexFromParam","PBKDF2","keySize","iterations","_getPlainPKCS8HexFromEncryptedPKCS8PEM","getKeyFromEncryptedPKCS8PEM","getKeyFromPlainPrivatePKCS8Hex","parsePlainPrivatePKCS8Hex","algparam","algoid","keyidx","getKeyFromPlainPrivatePKCS8PEM","_getKeyFromPublicPKCS8Hex","parsePublicRawRSAKeyHex","parsePublicPKCS8Hex","xy","dp","dq","co","qi","setPrivateEx","setPrivate","crv","getPublicKeyFromCertHex","getPublicKeyFromCertPEM","generateKeypair","generate","prvKeyObj","pubKeyObj","getPEM","seq","octstr","bitstr","SubjectPublicKeyInfo","null","getKeyFromCSRPEM","getKeyFromCSRHex","parseCSRHex","p8pubkeyhex","getKeyID","getJWKFromKey","getPosArrayOfChildrenFromHex","getHexValueArrayOfChildrenFromHex","readPrivateKeyFromPEMString","readPKCS5PubKeyHex","readCertHex","getPublicKeyHex","tn","rn","nn","AlgorithmIdentifier","PSSNAME2ASN1TLV","HEX2STAG","foffset","aExtInfo","getVersion","getSerialNumberHex","getSignatureAlgorithmField","getAlgorithmIdentifierName","getX500Name","getIssuerHex","getIssuerString","hex2dn","getSubject","getSubjectHex","getSubjectString","getNotBefore","getNotAfter","getPublicKeyIdx","getPublicKeyContentIdx","getPublicKey","getSignatureAlgorithmName","getSignatureValueHex","verifySignature","parseExt","critical","vidx","getExtInfo","getExtBasicConstraints","extname","cA","getExtKeyUsage","getExtKeyUsageString","getExtKeyUsageBin","KEYUSAGE_NAME","getExtSubjectKeyIdentifier","getExtAuthorityKeyIdentifier","getGeneralNames","dn","sn","getExtExtKeyUsage","getExtExtKeyUsageName","getExtSubjectAltName","getExtIssuerAltName","getGeneralName","rfc822","dns","ip","getExtSubjectAltName2","getExtCRLDistributionPoints","getDistributionPoint","dpname","getDistributionPointName","getExtCRLDistributionPointsURI","getExtAIAInfo","ocsp","caissuer","getExtAuthorityInfoAccess","getExtCertificatePolicies","getPolicyInformation","policyoid","getPolicyQualifierInfo","cps","unotice","getUserNotice","exptext","getDisplayText","getExtCRLNumber","getExtCRLReason","getExtOcspNonce","getExtOcspNoCheck","getExtAdobeTimeStamp","reqauth","getX500NameRule","getX500NameArray","dnarraytostr","getRDN","getAttrTypeAndValue","oid2atype","readCertPEM","getParam","serial","sigalg","notbefore","notafter","sbjpubkey","getExtParamArray","sighex","getExtParam","extn","findExt","updateExtCDPFullURI","updateExtAIAOCSP","updateExtAIACAIssuer","getInfo","dname","doPrivate","signPSS","verifyPSS","SALT_LEN_HLEN","SALT_LEN_MAX","SALT_LEN_RECOVER","hex2rdn","hex2attrTypeValue","getPublicKeyInfoPropOfCertPEM","JWS","isSafeJSONString","parseJWS","parsedJWS","sigvalH","headB64U","payloadB64U","sigvalB64U","si","sigvalBI","headS","payloadS","readSafeJSONString","jwsalg2sigalg","headerObj","payloadObj","headerPP","payloadPP","sigHex","verifyJWT","inArray","includedArray","aud","IntDate","getNow","verifyAt","gracePeriod","nbf","iat","jti","HS256","HS384","HS512","RS256","RS384","RS512","ES256","ES384","PS256","PS384","PS512","none","getEncodedSignatureValueFromJWS","getJWKthumbprint","getZulu","intDate2UTCString","intDate2Zulu","SecureRandom","rng_seed_time","BigInteger","RSAKey","EDSA","ASN1HEX","CryptoJS","b64toBA","stoBA","BAtos","BAtohex","stohex","stob64","stob64u","b64utos","b64tob64u","b64utob64","hex2b64","b64utohex","utf8tob64","b64toutf8","utf8tohex","hextoutf8","hextorstr","rstrtohex","hextob64","hextob64nl","b64nltohex","hextopem","pemtohex","hextoArrayBuffer","ArrayBuffertohex","zulutomsec","zulutosec","zulutodate","datetozulu","uricmptohex","hextouricmp","ipv6tohex","hextoipv6","hextoip","iptohex","encodeURIComponentAll","newline_toUnix","newline_toDos","hextoposhex","intarystrtohex","strdiffidx","kMaxLength","_augment","species","x5c","_validateJwt","azp","scopes","SilentRenewService","UserManagerSettings","UserManagerEvents","_silentRenewService","startSilentRenew","monitorSession","_sessionMonitor","_tokenRevocationClient","_loadUser","removeUser","storeUser","_signinStart","_redirectNavigator","useReplaceToNavigate","_signinEnd","signinPopup","popup_redirect_uri","_signin","_popupNavigator","signinPopupCallback","_signinCallback","signinSilent","_useRefreshToken","includeIdTokenInSilentRenew","validateSubOnSilentRenew","current_sub","_signinSilentIframe","_validateIdTokenFromTokenRefreshToken","auth_time","_iframeNavigator","silentRequestTimeout","signinSilentCallback","signinCallback","signoutCallback","signoutRedirectCallback","signoutPopupCallback","query_status_response_type","prepare","_signoutStart","_signoutEnd","signoutPopup","popup_post_logout_redirect_uri","_signout","revokeAccessTokenOnSignout","_revokeInternal","revokeAccessToken","_revokeAccessTokenInternal","_revokeRefreshTokenInternal","stopSilentRenew","_userStore","_userStoreKey","redirectNavigator","popupNavigator","iframeNavigator","RedirectNavigator","PopupNavigator","IFrameNavigator","_popup_redirect_uri","_popup_post_logout_redirect_uri","_popupWindowFeatures","_popupWindowTarget","_silent_redirect_uri","_silentRequestTimeout","_automaticSilentRenew","_validateSubOnSilentRenew","_includeIdTokenInSilentRenew","_monitorSession","_monitorAnonymousSession","_query_status_response_type","_revokeAccessTokenOnSignout","PopupWindow","notifyOpener","_checkForPopupClosedTimer","_checkForPopupClosed","opener","IFrameWindow","notifyParent","_timeout","_origin","_userLoaded","_userUnloaded","_silentRenewError","_userSignedIn","_userSignedOut","_userSessionChanged","removeUserLoaded","removeUserUnloaded","addSilentRenewError","removeSilentRenewError","_raiseSilentRenewError","addUserSignedIn","removeUserSignedIn","addUserSignedOut","removeUserSignedOut","addUserSessionChanged","removeUserSessionChanged","_nowFunc","_timerHandle","_expiration","_tokenExpiring","percentTwenties","formatters","RFC1738","RFC3986","formats","utils","allowDots","allowPrototypes","allowSparse","arrayLimit","charset","charsetSentinel","comma","ignoreQueryPrefix","interpretNumericEntities","parameterLimit","parseArrays","plainObjects","strictNullHandling","numberStr","parseArrayValue","parseKeys","givenKey","valuesParsed","chain","leaf","cleanRoot","parseObject","normalizeParseOptions","tempObj","skipIndex","bracketEqualsPos","maybeMap","encodedVal","combine","parseValues","newObj","getSideChannel","arrayPrefixGenerators","brackets","pushToArray","valueOrArray","toISO","defaultFormat","addQueryPrefix","encodeValuesOnly","formatter","serializeDate","skipNulls","sentinel","generateArrayPrefix","commaRoundTrip","sideChannel","tmpSc","findFlag","isNonNullishPrimitive","objKeys","adjustedPrefix","keyPrefix","valueSideChannel","normalizeStringifyOptions","joined","hexTable","arrayToObject","refs","compactQueue","compacted","strWithoutPlus","defaultEncoder","mapped","mergeTarget","targetItem","da","fa","ha","ia","ja","la","ma","na","ka","qa","ra","sa","extractEvents","eventTypes","ta","phasedRegistrationNames","ua","registrationName","va","wa","xa","ya","za","Aa","Ba","Ca","stateNode","Da","Ea","Fa","Ga","Ha","Ia","Ja","Ka","La","Ma","Na","Oa","Pa","Qa","acceptsBooleans","attributeNamespace","mustUseProperty","sanitizeURL","Ua","Va","xlinkHref","Wa","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","Xa","Ta","Sa","Ra","removeAttribute","setAttributeNS","ReactCurrentDispatcher","ReactCurrentBatchConfig","suspense","Ya","Za","$a","eb","gb","hb","ib","jb","kb","lb","mb","nb","pb","$$typeof","_status","_result","qb","_debugOwner","_debugSource","rb","sb","xb","_valueTracker","tb","stopTracking","yb","zb","defaultChecked","_wrapperState","initialChecked","Ab","initialValue","controlled","Bb","Cb","Db","Eb","ownerDocument","activeElement","Gb","Fb","Children","Hb","selected","defaultSelected","Ib","dangerouslySetInnerHTML","Jb","Kb","Lb","textContent","Nb","Ob","Pb","Qb","namespaceURI","MSApp","execUnsafeLocalFunction","Rb","lastChild","nodeType","nodeValue","Sb","Tb","animationend","animationiteration","animationstart","transitionend","Ub","Vb","Wb","animation","Xb","Yb","Zb","$b","dc","alternate","effectTag","ec","memoizedState","dehydrated","fc","ic","jc","kc","lc","_dispatchListeners","_dispatchInstances","isPropagationStopped","isPersistent","release","nc","srcElement","correspondingUseElement","qc","topLevelType","nativeEvent","targetInst","ancestors","eventSystemFlags","sc","containerInfo","tc","vc","wc","xc","yc","zc","Ac","Bc","Cc","Dc","Ec","Fc","Gc","Hc","Ic","Kc","blockedOn","Lc","pointerId","Mc","Nc","Pc","unstable_runWithPriority","hydrate","Qc","Rc","Sc","Tc","Uc","unstable_scheduleCallback","unstable_NormalPriority","Vc","Wc","Yc","Zc","$c","bubbled","captured","eventPriority","dd","unstable_UserBlockingPriority","ed","fd","gd","hd","Oc","jd","animationIterationCount","borderImageOutset","borderImageSlice","borderImageWidth","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","flexPositive","flexNegative","flexOrder","gridArea","gridRow","gridRowEnd","gridRowSpan","gridRowStart","gridColumn","gridColumnEnd","gridColumnSpan","gridColumnStart","fontWeight","lineClamp","lineHeight","orphans","tabSize","widows","zoom","fillOpacity","floodOpacity","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","kd","ld","nd","menuitem","embed","keygen","track","wbr","od","pd","qd","rd","sd","td","ud","vd","nextSibling","wd","compareDocumentPosition","xd","HTMLIFrameElement","yd","contentEditable","zd","Ad","Bd","Cd","Dd","Ed","Fd","autoFocus","Gd","__html","Hd","Id","Jd","Kd","previousSibling","Ld","Md","Nd","Od","Pd","Qd","Rd","Sd","Td","dispatchConfig","Ud","_targetInst","Vd","Xd","Yd","Zd","$d","Interface","isDefaultPrevented","ee","eventPool","fe","destructor","de","getPooled","timeStamp","ge","he","ke","documentMode","le","me","beforeInput","compositionEnd","compositionStart","compositionUpdate","pe","detail","ve","ue","ctrlKey","altKey","metaKey","we","color","datetime","email","tel","week","xe","ye","ze","Ae","Ee","Fe","Ge","detachEvent","attachEvent","Je","_isInputEventSupported","Alt","Control","Meta","Shift","Pe","getModifierState","Qe","Se","screenX","screenY","pageX","pageY","shiftKey","relatedTarget","fromElement","toElement","movementX","movementY","We","pressure","tangentialPressure","tiltX","tiltY","twist","pointerType","isPrimary","Xe","mouseEnter","mouseLeave","pointerEnter","pointerLeave","Ye","parentWindow","$e","Ze","df","ef","gf","hf","jf","selectionStart","selectionEnd","anchorNode","getSelection","anchorOffset","focusNode","focusOffset","kf","lf","animationName","elapsedTime","pseudoElement","mf","clipboardData","nf","pf","Esc","Spacebar","Left","Up","Right","Down","Del","Win","Menu","Apps","Scroll","MozPrintableKey","qf","sf","tf","targetTouches","uf","deltaX","wheelDeltaX","deltaY","wheelDeltaY","wheelDelta","deltaZ","deltaMode","wf","SimpleEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin","yf","zf","Af","Bf","Cf","contextTypes","__reactInternalMemoizedUnmaskedChildContext","__reactInternalMemoizedMaskedChildContext","childContextTypes","Df","Ef","Ff","getChildContext","Gf","__reactInternalMemoizedMergedChildContext","Hf","If","Jf","Kf","unstable_cancelCallback","Lf","unstable_requestPaint","Mf","unstable_now","Nf","unstable_getCurrentPriorityLevel","Of","unstable_ImmediatePriority","Pf","Qf","Rf","unstable_LowPriority","Sf","unstable_IdlePriority","Tf","Uf","unstable_shouldYield","Vf","Wf","Xf","Yf","Zf","$f","dg","eg","hg","ig","defaultProps","jg","kg","lg","mg","ng","og","_currentValue","pg","childExpirationTime","qg","firstContext","expirationTime","rg","sg","observedBits","responders","tg","ug","updateQueue","baseState","baseQueue","shared","vg","wg","suspenseConfig","xg","yg","zg","Ag","Bg","Cg","Dg","Eg","Component","Fg","Jg","isMounted","_reactInternalFiber","enqueueSetState","Gg","Hg","Ig","enqueueReplaceState","enqueueForceUpdate","Kg","shouldComponentUpdate","isPureReactComponent","Lg","contextType","updater","Mg","componentWillReceiveProps","UNSAFE_componentWillReceiveProps","Ng","getDerivedStateFromProps","getSnapshotBeforeUpdate","UNSAFE_componentWillMount","componentWillMount","componentDidMount","Og","Pg","_owner","_stringRef","Qg","Rg","lastEffect","nextEffect","firstEffect","sibling","Sg","Tg","elementType","Ug","Vg","Wg","Xg","Yg","Zg","$g","dh","documentElement","eh","fh","gh","memoizedProps","revealOrder","ih","responder","jh","kh","lh","mh","nh","oh","ph","qh","rh","sh","th","uh","vh","wh","lastRenderedReducer","eagerReducer","eagerState","lastRenderedState","xh","yh","zh","Ah","Bh","Ch","Dh","Eh","Fh","Gh","Hh","Ih","Jh","Kh","Lh","Mh","Nh","readContext","useCallback","useContext","useEffect","useImperativeHandle","useLayoutEffect","useMemo","useReducer","useRef","useState","useDebugValue","useResponder","useDeferredValue","Oh","Ph","Qh","Rh","Sh","Th","pendingProps","Uh","Vh","Wh","Xh","Yh","ReactCurrentOwner","Zh","$h","di","ei","fi","UNSAFE_componentWillUpdate","componentWillUpdate","componentDidUpdate","getDerivedStateFromError","pendingContext","ni","retryTime","ji","unstable_avoidThisFallback","ki","li","isBackwards","rendering","renderingStartTime","tailExpiration","tailMode","mi","ri","wasMultiple","onclick","createElementNS","ti","ui","vi","wi","xi","yi","zi","Ai","Bi","Ci","Fi","Ei","Gi","__reactInternalSnapshotBeforeUpdate","Hi","Ii","Ji","Ki","Li","componentWillUnmount","Di","Mi","Ni","Oi","Pi","Qi","Ri","_reactRootContainer","Si","Ti","Ui","Vi","Wi","Xi","Yi","Zi","$i","componentDidCatch","componentStack","Rj","dj","ej","fj","gj","hj","ij","jj","kj","lj","mj","nj","oj","pj","qj","rj","sj","tj","uj","vj","wj","timeoutMs","xj","yj","zj","lastExpiredTime","Aj","firstPendingTime","lastPingedTime","nextKnownPendingLevel","callbackExpirationTime","callbackPriority","callbackNode","Bj","Cj","Dj","Ej","Fj","Gj","Hj","finishedWork","finishedExpirationTime","lastSuspendedTime","Ij","timeoutHandle","Jj","busyMinDurationMs","busyDelayMs","Kj","Nj","pingCache","Oj","ub","Pj","Xc","Qj","Sj","firstSuspendedTime","rangeCount","activeElementDetached","focusedElem","selectionRange","Tj","wb","createRange","setStart","removeAllRanges","addRange","setEnd","vb","Uj","Vj","Wj","hidden","_ctor","Xj","_calculateChangedBits","unstable_observedBits","Zj","isReactComponent","pendingChildren","ck","dk","ek","fk","Jc","_internalRoot","gk","ik","hk","unmount","Mj","Lj","findFiberByHostInstance","Yj","__REACT_DEVTOOLS_GLOBAL_HOOK__","supportsFiber","onCommitFiberRoot","onCommitFiberUnmount","overrideHookState","overrideProps","setSuspenseHandler","scheduleUpdate","currentDispatcherRef","findHostInstanceByFiber","hc","gc","findHostInstancesForRefresh","scheduleRefresh","scheduleRoot","setRefreshHandler","getCurrentFiber","bundleType","rendererPackageName","checkDCE","setState","forceUpdate","__self","__source","IsSomeRendererActing","only","_currentValue2","_threadCount","Provider","Consumer","NUMBER","BOOLEAN","STRING","NULL","UNDEFINED","DATE","MAP","SET","ITERABLE_OBJECT","DEFAULT","iterableTypes","EMPTY_DIFF","INVALID_DIFF_FORMAT","INVALID_DIFF_OP","_n","isUndefined","isNull","isIterableObject","areDatesEqual","_o$next","noop","setValueByPath","deleteValueByPath","applyDiff","hasError","thrownError","_throwIfClosed","_bufferSize","_windowTime","_timestampProvider","dateTimestampProvider","_buffer","_infiniteTimeWindow","isStopped","_trimBuffer","_innerSubscribe","_checkFinalizedStatuses","adjustedBufferSize","popResultSelector","_argsArgArrayOrObject","argsArgArrayOrObject","observables","combineLatestInit","valueTransform","maybeSchedule","active","remainingFirstValues","hasFirstValue","createObject","mapOneOrManyArgs","concatAll","mergeAll","observableFactory","remainingCompletions","remainingEmissions","sourceIndex","concurrent","popNumber","dueTime","activeTask","lastValue","lastTime","emitWhenIdle","targetTime","schedule","delayWhen","delayDurationSelector","subscriptionDelay","due","comparator","defaultCompare","previousKey","currentKey","predicate","thisArg","hasDefaultValue","throwIfEmpty","share","_options$connector","_options$resetOnError","resetOnError","_options$resetOnCompl","resetOnComplete","_options$resetOnRefCo","resetOnRefCountZero","wrapperSource","resetConnection","refCount","hasCompleted","hasErrored","cancelReset","resetAndUnsubscribe","conn","handleReset","onSubscriber","configOrBufferSize","windowTime","bufferSize","_configOrBufferSize$b","_configOrBufferSize$w","_configOrBufferSize$r","innerSubscriber","checkComplete","innerIndex","outerIndex","innerValue","notifier","errorFactory","defaultErrorFactory","TimeoutError","createErrorClass","schedulerArg","isValidDate","each","_ref$with","with","_with","timeoutErrorFactory","_ref$scheduler","_ref$meta","originalSourceSubscription","timerSubscription","startTimer","otherValues","QueueAction","_AsyncAction","work","flush","_execute","AsyncAction","queueScheduler","_AsyncScheduler","QueueScheduler","AsyncScheduler","MessageChannel","performance","cancelAnimationFrame","requestAnimationFrame","port2","port1","onmessage","sortIndex","startTime","priorityLevel","dotted","splits","seg","storage","formatArgs","useColors","namespace","humanize","lastC","namespaces","WebkitAppearance","firebug","localstorage","prevTime","createDebug","coerce","selectColor","colors","skips","ms","long","fmtLong","fmtShort","callBound","$WeakMap","$Map","$weakMapGet","$weakMapSet","$weakMapHas","$mapGet","$mapSet","$mapHas","listGetNode","$wm","$m","$o","channel","assert","listGet","listHas","listSet","Stream","EE","inherits","Writable","Duplex","Transform","PassThrough","ondata","pause","ondrain","readable","_isStdio","onend","onclose","didOnEnd","cleanup","codes","createErrorType","NodeError","_Base","_inheritsLoose","oneOf","thing","determiner","this_len","allowHalfOpen","_writableState","ended","nextTick","onEndNT","highWaterMark","getBuffer","_readableState","destroyed","_transform","ReadableState","EElistenerCount","OurUint8Array","debugUtil","debuglog","StringDecoder","createReadableStreamAsyncIterator","BufferList","destroyImpl","getHighWaterMark","_require$codes","ERR_INVALID_ARG_TYPE","ERR_STREAM_PUSH_AFTER_EOF","ERR_METHOD_NOT_IMPLEMENTED","ERR_STREAM_UNSHIFT_AFTER_END_EVENT","errorOrDestroy","kProxyEvents","isDuplex","objectMode","readableObjectMode","pipes","pipesCount","flowing","endEmitted","reading","needReadable","emittedReadable","readableListening","resumeScheduled","paused","emitClose","autoDestroy","defaultEncoding","awaitDrain","readingMore","_read","_destroy","readableAddChunk","addToFront","skipChunkCheck","onEofChunk","emitReadable","emitReadable_","chunkInvalid","_isUint8Array","_uint8ArrayToBuffer","addChunk","maybeReadMore","_undestroy","undestroy","isPaused","setEncoding","MAX_HWM","howMuchToRead","computeNewHighWaterMark","flow","maybeReadMore_","updateReadableListening","nReadingNextTick","resume_","fromList","consume","endReadable","endReadableNT","wState","nOrig","doRead","pipeOpts","endFn","stdout","stderr","unpipe","onunpipe","unpipeInfo","hasUnpiped","onfinish","cleanedUp","needDrain","pipeOnDrain","dests","ev","_fromList","ERR_MULTIPLE_CALLBACK","ERR_TRANSFORM_ALREADY_TRANSFORMING","ERR_TRANSFORM_WITH_LENGTH_0","afterTransform","ts","_transformState","transforming","writecb","writechunk","needTransform","writeencoding","_flush","prefinish","_write","err2","CorkedRequest","onCorkedFinish","corkReq","pendingcb","corkedRequestsFree","WritableState","realHasInstance","internalUtil","deprecate","ERR_STREAM_CANNOT_PIPE","ERR_STREAM_DESTROYED","ERR_STREAM_NULL_VALUES","ERR_STREAM_WRITE_AFTER_END","ERR_UNKNOWN_ENCODING","nop","writableObjectMode","finalCalled","ending","decodeStrings","writing","corked","bufferProcessing","onwrite","onwriteStateUpdate","writelen","onwriteError","finishMaybe","errorEmitted","needFinish","bufferedRequest","clearBuffer","afterWrite","lastBufferedRequest","prefinished","bufferedRequestCount","writev","_writev","final","doWrite","onwriteDrain","holder","allBuffers","isBuf","callFinal","need","rState","hasInstance","writeAfterEnd","validChunk","writeOrBuffer","newChunk","decodeChunk","cork","uncork","setDefaultEncoding","endWritable","_Object$setPrototypeO","_toPropertyKey","_toPrimitive","hint","prim","kLastResolve","kLastReject","kError","kEnded","kLastPromise","kHandlePromise","kStream","createIterResult","readAndResolve","onReadable","AsyncIteratorPrototype","ReadableStreamAsyncIteratorPrototype","lastPromise","wrapForNext","_Object$create","enumerableOnly","getOwnPropertyDescriptors","_defineProperties","copyBuffer","hasStrings","_getString","_getBuffer","emitErrorAndCloseNT","emitErrorNT","emitCloseNT","ERR_STREAM_PREMATURE_CLOSE","eos","called","onlegacyfinish","writableEnded","readableEnded","onrequest","isRequest","setHeader","ERR_MISSING_ARGS","streams","popCallback","destroys","destroyer","ERR_INVALID_OPT_VALUE","duplexKey","hwm","highWaterMarkFrom","normalizeEncoding","nenc","_normalizeEncoding","retried","utf16Text","utf16End","fillLast","utf8FillLast","base64Text","base64End","simpleWrite","simpleEnd","lastNeed","lastTotal","lastChar","utf8CheckByte","utf8CheckExtraBytes","utf8End","utf8Text","utf8CheckIncomplete","copyProps","SafeBuffer","hexRegex","numRegex","consider","decimalPoint","trimmedStr","skipLike","numTrimmedByZeros","trimZeros","numStr","deprecated","trace","extendStatics","__extends","__assign","__rest","__decorate","decorators","decorate","__param","paramIndex","decorator","__metadata","metadataKey","metadataValue","_arguments","generator","fulfilled","rejected","adopt","verb","__createBinding","__read","__spread","__spreadArrays","jl","__await","__asyncGenerator","fulfill","__asyncDelegator","__asyncValues","__makeTemplateObject","cooked","__importStar","__importDefault","__classPrivateFieldGet","privateMap","__classPrivateFieldSet","_arrayWithHoles","toPropertyKey","_iterableToArrayLimit","_s","_r","_d","_nonIterableRest","arrayWithHoles","iterableToArrayLimit","unsupportedIterableToArray","nonIterableRest","arrayLikeToArray","PERFORM_ACTION","REFRESH","RESET","ROLLBACK","COMMIT","SWEEP","TOGGLE_ACTION","SET_ACTIONS_ACTIVE","JUMP_TO_STATE","JUMP_TO_ACTION","IMPORT_STATE","LOCK_CHANGES","PAUSE_RECORDING","PerformAction","Refresh","Reset","Rollback","Commit","Sweep","ToggleAction","SetActionsActive","JumpToState","JumpToAction","actionId","ImportState","nextLiftedState","LockChanges","PauseRecording","StoreDevtoolsConfig","STORE_DEVTOOLS_CONFIG","INITIAL_OPTIONS","noMonitor","DEFAULT_NAME","createConfig","optionsInput","DEFAULT_OPTIONS","monitor","actionSanitizer","stateSanitizer","autoPause","traceLimit","lock","export","jump","reorder","difference","unliftState","liftedState","computedStates","currentStateIndex","unliftAction","actionsById","nextActionId","liftAction","sanitizeActions","sanitizedActions","actionIdx","sanitizeAction","sanitizeStates","states","computedState","sanitizeState","stateIdx","shouldFilterActions","actionsSafelist","actionsBlocklist","filterLiftedState","safelist","blocklist","filteredStagedActionIds","filteredActionsById","filteredComputedStates","stagedActionIds","liftedAction","isActionFiltered","blockedlist","predicateMatch","safelistMatch","escapeRegExp","blocklistMatch","DevtoolsDispatcher","_ActionsSubject","ActionsSubject","ɵDevtoolsDispatcher_BaseFactory","ExtensionActionTypes","START","DISPATCH","STOP","ACTION","REDUX_DEVTOOLS_EXTENSION","DevtoolsExtension","devtoolsExtension","createActionStreams","isLocked","currentState","sanitizedState","sanitizedAction","sendToReduxDevtools","extensionConnection","sanitizedLiftedState","getExtensionConfig","connect","changes$","createChangesObservable","start$","stop$","liftedActions$","unwrapAction","UPDATE","actionsUntilStop$","liftedUntilStop$","_config$autoPause","_config$trace","_config$traceLimit","extensionOptions","DevtoolsExtension_Factory","INIT_ACTION","RECOMPUTE","RECOMPUTE_ACTION","computeNextEntry","nextError","nextState","recomputeStates","minInvalidatedStateIndex","committedState","skippedActionIds","nextComputedStates","lastIncludedActionId","previousEntry","previousState","previousError","liftInitialState","initialCommittedState","monitorReducer","monitorState","liftReducerWith","initialLiftedState","commitExcessActions","excess","idsToDelete","commitChanges","actionIds","lastState","_liftedAction$nextLif","cmp","StoreDevtools","reducers$","scannedActions","liftedInitialState","liftReducer","liftedAction$","observeOn","liftedReducer$","liftedStateSubject","liftedStateSubscription","reducedLiftedState","extensionStartSubscription","refresh","liftedState$","state$","toSignal","manualCleanup","requireSync","stateSubscription","INITIAL_STATE","IS_EXTENSION_OR_MONITOR_PRESENT","createIsExtensionOrMonitorPresent","createReduxDevtoolsExtension","extensionKey","provideStoreDevtools","StateObservable","createStateObservable","ReducerManagerDispatcher","devtools","pluck","currentProp","REGISTERED_ACTION_TYPES","defineType","_p","creator","_BehaviorSubject","ACTIONS_SUBJECT_PROVIDERS","_ROOT_STORE_GUARD","_INITIAL_STATE","REDUCER_FACTORY","_REDUCER_FACTORY","INITIAL_REDUCERS","_INITIAL_REDUCERS","STORE_FEATURES","_STORE_REDUCERS","_FEATURE_REDUCERS","_FEATURE_CONFIGS","_STORE_FEATURES","_FEATURE_REDUCERS_TOKEN","FEATURE_REDUCERS","USER_PROVIDED_META_REDUCERS","META_REDUCERS","_RESOLVED_META_REDUCERS","USER_RUNTIME_CHECKS","_USER_RUNTIME_CHECKS","_ACTION_TYPE_UNIQUENESS_CHECK","reducerKeys","finalReducers","finalReducerKeys","hasChanged","previousStateForKey","nextStateForKey","functions","reduceRight","createReducerFactory","ReducerObservable","_BehaviorSubject2","feature","addFeatures","reducerDict","createFeatureReducerFactory","addReducers","removeFeatures","removeReducers","updateReducers","featureKey","featureKeys","omit","keyToRemove","REDUCER_MANAGER_PROVIDERS","ɵScannedActionsSubject_BaseFactory","SCANNED_ACTIONS_SUBJECT_PROVIDERS","_Observable2","_BehaviorSubject3","reducer$","stateAndAction$","reduceState","stateActionPair","STATE_PROVIDERS","Store","_Observable3","actionsObserver","pathOrMapFn","paths","computed","equal","previous","addReducer","removeReducer","STORE_PROVIDERS","propsOrPath","mapped$","pathSlices","RUNTIME_CHECK_URL","_ngrxMockEnvironment","isEqualCheck","defaultMemoize","projectionFn","overrideResult","isArgumentsEqual","isResultEqual","lastArguments","lastResult","memoized","isArgumentsChanged","newResult","clearResult","createSelectorFactory","stateFn","defaultStateFn","_args3","isSelectorsDictionary","extractArgsFromSelectorsDictionary","selectorsDictionary","resultKeys","_len6","selectorResults","_key7","projector","memoizedSelectors","memoizedProjector","_key6","featureName","featureState","_createStoreReducers","_createFeatureStore","configs","featureStores","feat","conf","_createFeatureReducers","reducerCollection","_initialStateFactory","_concatMetaReducers","userProvidedMetaReducers","targetIsFunction","propValue","isFrozen","getUnserializable","isComponent","isObject","targetPrototype","throwIfUnserializable","unserializable","unserializablePath","createActiveRuntimeChecks","strictActionWithinNgZone","strictActionTypeUniqueness","createSerializationCheckMetaReducer","serializationCheckMetaReducer","checks","ignoreNgrxAction","createImmutabilityCheckMetaReducer","immutabilityCheckMetaReducer","createInNgZoneCheckMetaReducer","inNgZoneAssertMetaReducer","provideRuntimeChecks","_runtimeChecksFactory","checkForActionTypeUniqueness","_actionTypeUniquenessCheck","duplicates","_provideStore","Inject","_provideState","featureNameOrSlice","StoreRootModule","actionCheck","StoreFeatureModule","featureReducers","feats","_len7","_key8","_len8","ons","_key9","_ons","_i3","existingReducer","_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__","_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__"],"sourceRoot":"webpack:///","sources":["./node_modules/@angular/flex-layout/fesm2020/angular-flex-layout-_private-utils.mjs","./node_modules/@angular/flex-layout/fesm2020/angular-flex-layout-core.mjs","./node_modules/@angular/flex-layout/fesm2020/angular-flex-layout-extended.mjs","./node_modules/@angular/flex-layout/fesm2020/angular-flex-layout-flex.mjs","./node_modules/@angular/flex-layout/fesm2020/angular-flex-layout-grid.mjs","./node_modules/@angular/flex-layout/fesm2020/angular-flex-layout.mjs","./node_modules/ngx-json-viewer/fesm2020/ngx-json-viewer.mjs","./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js","./node_modules/uuid/dist/esm-browser/rng.js","./node_modules/uuid/dist/esm-browser/regex.js","./node_modules/uuid/dist/esm-browser/stringify.js","./node_modules/uuid/dist/esm-browser/validate.js","./node_modules/uuid/dist/esm-browser/v4.js","./node_modules/rxjs/dist/esm/internal/util/argsOrArgArray.js","./node_modules/rxjs/dist/esm/internal/observable/race.js","./node_modules/@ngrx/entity/fesm2022/ngrx-entity.mjs","./node_modules/rxjs/dist/esm/internal/Notification.js","./node_modules/rxjs/dist/esm/internal/operators/groupBy.js","./node_modules/rxjs/dist/esm/internal/operators/exhaustMap.js","./node_modules/@ngrx/effects/fesm2022/ngrx-effects.mjs","./node_modules/rxjs/dist/esm/internal/operators/materialize.js","./node_modules/rxjs/dist/esm/internal/operators/dematerialize.js","./node_modules/@ngrx/data/fesm2022/ngrx-data.mjs","./node_modules/@rollthecloudinc/auth/fesm2022/rollthecloudinc-auth.mjs","./node_modules/@nguniversal/express-engine/fesm2022/tokens.mjs","./node_modules/@rollthecloudinc/oidc/fesm2022/rollthecloudinc-oidc.mjs","./node_modules/rxjs/dist/esm/internal/firstValueFrom.js","./node_modules/@rollthecloudinc/awcog/fesm2022/rollthecloudinc-awcog.mjs","./node_modules/@babel/runtime/helpers/esm/asyncIterator.js","./node_modules/@aws-sdk/abort-controller/dist-es/AbortSignal.js","./node_modules/@aws-sdk/abort-controller/dist-es/AbortController.js","./node_modules/@aws-sdk/middleware-endpoint/dist-es/service-customizations/s3.js","./node_modules/@aws-sdk/middleware-endpoint/dist-es/adaptors/createConfigValueProvider.js","./node_modules/@aws-sdk/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js","./node_modules/@aws-sdk/url-parser/dist-es/index.js","./node_modules/@aws-sdk/querystring-parser/dist-es/index.js","./node_modules/@aws-sdk/middleware-endpoint/dist-es/adaptors/toEndpointV1.js","./node_modules/@aws-sdk/middleware-serde/dist-es/serdePlugin.js","./node_modules/@aws-sdk/middleware-serde/dist-es/deserializerMiddleware.js","./node_modules/@aws-sdk/middleware-serde/dist-es/serializerMiddleware.js","./node_modules/@aws-sdk/middleware-endpoint/dist-es/endpointMiddleware.js","./node_modules/@aws-sdk/middleware-endpoint/dist-es/getEndpointPlugin.js","./node_modules/@aws-sdk/util-middleware/dist-es/normalizeProvider.js","./node_modules/@aws-sdk/middleware-endpoint/dist-es/resolveEndpointConfig.js","./node_modules/@aws-sdk/protocol-http/dist-es/httpRequest.js","./node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/constants.js","./node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/types.js","./node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getChecksumAlgorithmForRequest.js","./node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getChecksumLocationName.js","./node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/hasHeader.js","./node_modules/@aws-sdk/is-array-buffer/dist-es/index.js","./node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/isStreaming.js","./node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/selectChecksumAlgorithmFunction.js","./node_modules/@aws-sdk/util-utf8/dist-es/fromUtf8.browser.js","./node_modules/@aws-sdk/util-utf8/dist-es/toUint8Array.js","./node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/stringHasher.js","./node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getChecksum.js","./node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getChecksumAlgorithmListForResponse.js","./node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/validateChecksumFromResponse.js","./node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getFlexibleChecksumsPlugin.js","./node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/flexibleChecksumsMiddleware.js","./node_modules/@aws-sdk/middleware-sdk-s3/dist-es/check-content-length-header.js","./node_modules/@aws-sdk/protocol-http/dist-es/httpResponse.js","./node_modules/@aws-sdk/middleware-sdk-s3/dist-es/throw-200-exceptions.js","./node_modules/@aws-sdk/util-arn-parser/dist-es/index.js","./node_modules/@aws-sdk/middleware-sdk-s3/dist-es/validate-bucket-name.js","./node_modules/@aws-sdk/middleware-ssec/dist-es/index.js","./node_modules/@aws-sdk/smithy-client/dist-es/NoOpLogger.js","./node_modules/@aws-sdk/middleware-stack/dist-es/MiddlewareStack.js","./node_modules/@aws-sdk/smithy-client/dist-es/client.js","./node_modules/@aws-sdk/smithy-client/dist-es/command.js","./node_modules/@aws-sdk/smithy-client/dist-es/constants.js","./node_modules/@aws-sdk/smithy-client/dist-es/parse-utils.js","./node_modules/@aws-sdk/smithy-client/dist-es/date-utils.js","./node_modules/@aws-sdk/smithy-client/dist-es/exceptions.js","./node_modules/@aws-sdk/smithy-client/dist-es/default-error-handler.js","./node_modules/@aws-sdk/smithy-client/dist-es/defaults-mode.js","./node_modules/@aws-sdk/smithy-client/dist-es/extended-encode-uri-component.js","./node_modules/@aws-sdk/smithy-client/dist-es/get-value-from-text-node.js","./node_modules/@aws-sdk/smithy-client/dist-es/lazy-json.js","./node_modules/@aws-sdk/smithy-client/dist-es/object-mapping.js","./node_modules/@aws-sdk/smithy-client/dist-es/resolve-path.js","./node_modules/@aws-sdk/smithy-client/dist-es/serde-json.js","./node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js","./node_modules/@aws-sdk/xml-builder/dist-es/escape-attribute.js","./node_modules/@aws-sdk/xml-builder/dist-es/XmlText.js","./node_modules/@aws-sdk/xml-builder/dist-es/escape-element.js","./node_modules/@aws-sdk/xml-builder/dist-es/XmlNode.js","./node_modules/@smithy/protocol-http/dist-es/httpRequest.js","./node_modules/@aws-sdk/client-s3/dist-es/models/S3ServiceException.js","./node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js","./node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js","./node_modules/@aws-sdk/client-s3/dist-es/commands/CreateMultipartUploadCommand.js","./node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js","./node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCommand.js","./node_modules/@aws-sdk/client-s3/dist-es/commands/CompleteMultipartUploadCommand.js","./node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectTaggingCommand.js","./node_modules/@aws-sdk/lib-storage/dist-es/runtimeConfig.browser.js","./node_modules/@aws-sdk/lib-storage/dist-es/runtimeConfig.shared.js","./node_modules/@aws-sdk/lib-storage/dist-es/bytelength.js","./node_modules/@babel/runtime/helpers/esm/OverloadYield.js","./node_modules/@babel/runtime/helpers/esm/AsyncGenerator.js","./node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js","./node_modules/@aws-sdk/lib-storage/dist-es/chunks/getChunkBuffer.js","./node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js","./node_modules/@aws-sdk/lib-storage/dist-es/chunks/getChunkStream.js","./node_modules/@aws-sdk/lib-storage/dist-es/chunks/getDataReadable.js","./node_modules/@aws-sdk/lib-storage/dist-es/chunks/getDataReadableStream.js","./node_modules/@aws-sdk/lib-storage/dist-es/chunker.js","./node_modules/@aws-sdk/lib-storage/dist-es/Upload.js","./node_modules/@aws-sdk/client-cognito-identity/dist-es/models/CognitoIdentityServiceException.js","./node_modules/@aws-sdk/client-cognito-identity/dist-es/models/models_0.js","./node_modules/@aws-sdk/client-cognito-identity/dist-es/protocols/Aws_json1_1.js","./node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/GetIdCommand.js","./node_modules/@aws-sdk/property-provider/dist-es/ProviderError.js","./node_modules/@aws-sdk/property-provider/dist-es/CredentialsProviderError.js","./node_modules/@aws-sdk/property-provider/dist-es/memoize.js","./node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/GetCredentialsForIdentityCommand.js","./node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/resolveLogins.js","./node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/fromCognitoIdentity.js","./node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/IndexedDbStorage.js","./node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/InMemoryStorage.js","./node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/localStorage.js","./node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/fromCognitoIdentityPool.js","./node_modules/@aws-sdk/util-config-provider/dist-es/booleanSelector.js","./node_modules/@aws-sdk/config-resolver/dist-es/regionConfig/isFipsRegion.js","./node_modules/@aws-sdk/config-resolver/dist-es/regionConfig/getRealRegion.js","./node_modules/@aws-sdk/config-resolver/dist-es/regionConfig/resolveRegionConfig.js","./node_modules/@aws-sdk/middleware-content-length/dist-es/index.js","./node_modules/@aws-sdk/middleware-host-header/dist-es/index.js","./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js","./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","./node_modules/@aws-sdk/util-hex-encoding/dist-es/index.js","./node_modules/@aws-sdk/middleware-logger/dist-es/loggerMiddleware.js","./node_modules/@aws-sdk/middleware-recursion-detection/dist-es/index.js","./node_modules/@aws-sdk/util-retry/dist-es/config.js","./node_modules/@aws-sdk/service-error-classification/dist-es/constants.js","./node_modules/@aws-sdk/service-error-classification/dist-es/index.js","./node_modules/@aws-sdk/util-retry/dist-es/DefaultRateLimiter.js","./node_modules/@aws-sdk/util-retry/dist-es/defaultRetryToken.js","./node_modules/@aws-sdk/util-retry/dist-es/constants.js","./node_modules/@aws-sdk/util-retry/dist-es/StandardRetryStrategy.js","./node_modules/@aws-sdk/util-retry/dist-es/defaultRetryBackoffStrategy.js","./node_modules/@aws-sdk/util-retry/dist-es/AdaptiveRetryStrategy.js","./node_modules/@aws-sdk/middleware-retry/dist-es/configurations.js","./node_modules/@aws-sdk/middleware-retry/dist-es/util.js","./node_modules/@aws-sdk/middleware-retry/dist-es/retryMiddleware.js","./node_modules/@aws-sdk/eventstream-codec/dist-es/Int64.js","./node_modules/@aws-sdk/eventstream-codec/dist-es/HeaderMarshaller.js","./node_modules/@aws-sdk/eventstream-codec/dist-es/EventStreamCodec.js","./node_modules/@aws-sdk/eventstream-codec/dist-es/splitMessage.js","./node_modules/@aws-sdk/eventstream-codec/dist-es/MessageDecoderStream.js","./node_modules/@aws-sdk/eventstream-codec/dist-es/MessageEncoderStream.js","./node_modules/@aws-sdk/eventstream-codec/dist-es/SmithyMessageDecoderStream.js","./node_modules/@aws-sdk/eventstream-codec/dist-es/SmithyMessageEncoderStream.js","./node_modules/@aws-sdk/util-utf8/dist-es/toUtf8.browser.js","./node_modules/@aws-sdk/signature-v4/dist-es/constants.js","./node_modules/@aws-sdk/signature-v4/dist-es/credentialDerivation.js","./node_modules/@aws-sdk/signature-v4/dist-es/getCanonicalHeaders.js","./node_modules/@aws-sdk/util-uri-escape/dist-es/escape-uri.js","./node_modules/@aws-sdk/signature-v4/dist-es/getPayloadHash.js","./node_modules/@aws-sdk/signature-v4/dist-es/headerUtil.js","./node_modules/@aws-sdk/signature-v4/dist-es/cloneRequest.js","./node_modules/@aws-sdk/signature-v4/dist-es/moveHeadersToQuery.js","./node_modules/@aws-sdk/signature-v4/dist-es/prepareRequest.js","./node_modules/@aws-sdk/signature-v4/dist-es/SignatureV4.js","./node_modules/@aws-sdk/signature-v4/dist-es/getCanonicalQuery.js","./node_modules/@aws-sdk/signature-v4/dist-es/utilDate.js","./node_modules/@aws-sdk/middleware-signing/dist-es/awsAuthConfiguration.js","./node_modules/@aws-sdk/middleware-signing/dist-es/utils/getSkewCorrectedDate.js","./node_modules/@aws-sdk/middleware-signing/dist-es/utils/getUpdatedSystemClockOffset.js","./node_modules/@aws-sdk/middleware-signing/dist-es/utils/isClockSkewed.js","./node_modules/@aws-sdk/middleware-signing/dist-es/awsAuthMiddleware.js","./node_modules/@aws-sdk/middleware-user-agent/dist-es/configurations.js","./node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js","./node_modules/@aws-sdk/util-endpoints/dist-es/debug/debugId.js","./node_modules/@aws-sdk/util-endpoints/dist-es/debug/toDebugString.js","./node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js","./node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js","./node_modules/@aws-sdk/util-endpoints/dist-es/lib/isValidHostLabel.js","./node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js","./node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js","./node_modules/@aws-sdk/util-endpoints/dist-es/lib/booleanEquals.js","./node_modules/@aws-sdk/util-endpoints/dist-es/lib/getAttr.js","./node_modules/@aws-sdk/util-endpoints/dist-es/lib/getAttrPathList.js","./node_modules/@aws-sdk/util-endpoints/dist-es/lib/isSet.js","./node_modules/@aws-sdk/util-endpoints/dist-es/lib/not.js","./node_modules/@aws-sdk/types/dist-es/endpoint.js","./node_modules/@aws-sdk/util-endpoints/dist-es/lib/parseURL.js","./node_modules/@aws-sdk/util-endpoints/dist-es/lib/stringEquals.js","./node_modules/@aws-sdk/util-endpoints/dist-es/lib/substring.js","./node_modules/@aws-sdk/util-endpoints/dist-es/lib/uriEncode.js","./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateTemplate.js","./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateExpression.js","./node_modules/@aws-sdk/util-endpoints/dist-es/utils/getReferenceValue.js","./node_modules/@aws-sdk/util-endpoints/dist-es/utils/callFunction.js","./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateCondition.js","./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateConditions.js","./node_modules/@aws-sdk/util-endpoints/dist-es/utils/getEndpointHeaders.js","./node_modules/@aws-sdk/util-endpoints/dist-es/utils/getEndpointProperty.js","./node_modules/@aws-sdk/util-endpoints/dist-es/utils/getEndpointProperties.js","./node_modules/@aws-sdk/util-endpoints/dist-es/utils/getEndpointUrl.js","./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateEndpointRule.js","./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateErrorRule.js","./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateTreeRule.js","./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateRules.js","./node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js","./node_modules/@aws-sdk/middleware-user-agent/dist-es/constants.js","./node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js","./node_modules/@aws-sdk/querystring-builder/dist-es/index.js","./node_modules/@aws-sdk/fetch-http-handler/dist-es/request-timeout.js","./node_modules/@aws-sdk/util-base64/dist-es/constants.browser.js","./node_modules/@aws-sdk/fetch-http-handler/dist-es/fetch-http-handler.js","./node_modules/@aws-sdk/util-base64/dist-es/fromBase64.browser.js","./node_modules/@aws-sdk/util-base64/dist-es/toBase64.browser.js","./node_modules/@aws-sdk/fetch-http-handler/dist-es/stream-collector.js","./node_modules/@aws-sdk/invalid-dependency/dist-es/invalidProvider.js","./node_modules/@aws-sdk/util-body-length-browser/dist-es/calculateBodyLength.js","./node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.js","./node_modules/@aws-sdk/client-cognito-identity/dist-es/endpoint/ruleset.js","./node_modules/@aws-sdk/client-cognito-identity/dist-es/endpoint/endpointResolver.js","./node_modules/@aws-sdk/util-defaults-mode-browser/dist-es/constants.js","./node_modules/@aws-sdk/util-defaults-mode-browser/dist-es/resolveDefaultsModeConfig.js","./node_modules/@aws-sdk/client-cognito-identity/dist-es/CognitoIdentityClient.js","./node_modules/@aws-sdk/client-cognito-identity/dist-es/endpoint/EndpointParameters.js","./node_modules/@aws-sdk/client-cognito-identity/dist-es/runtimeConfig.browser.js","./node_modules/@aws-sdk/client-cognito-identity/dist-es/runtimeConfig.shared.js","./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js","./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/NodeUseFipsEndpointConfigOptions.js","./node_modules/@aws-sdk/middleware-expect-continue/dist-es/index.js","./node_modules/@aws-sdk/eventstream-serde-universal/dist-es/getUnmarshalledStream.js","./node_modules/@aws-sdk/eventstream-serde-universal/dist-es/EventStreamMarshaller.js","./node_modules/@aws-sdk/eventstream-serde-universal/dist-es/getChunkedStream.js","./node_modules/@aws-sdk/eventstream-serde-browser/dist-es/EventStreamMarshaller.js","./node_modules/@aws-sdk/eventstream-serde-browser/dist-es/utils.js","./node_modules/@aws-sdk/eventstream-serde-browser/dist-es/provider.js","./node_modules/@aws-sdk/chunked-blob-reader/dist-es/index.js","./node_modules/@aws-sdk/hash-blob-browser/dist-es/index.js","./node_modules/@aws-sdk/md5-js/dist-es/constants.js","./node_modules/@aws-sdk/md5-js/dist-es/index.js","./node_modules/@aws-sdk/util-stream-browser/dist-es/getAwsChunkedEncodingStream.js","./node_modules/@aws-sdk/util-stream-browser/dist-es/sdk-stream-mixin.js","./node_modules/@aws-sdk/signature-v4-multi-region/dist-es/SignatureV4MultiRegion.js","./node_modules/@aws-sdk/client-s3/dist-es/endpoint/ruleset.js","./node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js","./node_modules/@aws-sdk/client-s3/dist-es/S3Client.js","./node_modules/@aws-sdk/client-s3/dist-es/endpoint/EndpointParameters.js","./node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.browser.js","./node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js","./node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3Configuration.js","./node_modules/@aws-sdk/eventstream-serde-config-resolver/dist-es/EventStreamSerdeConfig.js","./node_modules/@rollthecloudinc/media/fesm2022/rollthecloudinc-media.mjs","./node_modules/@rollthecloudinc/token/fesm2022/rollthecloudinc-token.mjs","./node_modules/angular-split/fesm2020/angular-split.mjs","./node_modules/marked/lib/marked.esm.js","./node_modules/ngx-markdown/fesm2022/ngx-markdown.mjs","./node_modules/@rollthecloudinc/snippet/fesm2022/rollthecloudinc-snippet.mjs","./node_modules/rxjs/dist/esm/internal/observable/iif.js","./node_modules/@rollthecloudinc/dparam/fesm2022/rollthecloudinc-dparam.mjs","./node_modules/@ngrx/router-store/fesm2022/ngrx-router-store.mjs","./node_modules/@rollthecloudinc/durl/fesm2022/rollthecloudinc-durl.mjs","./node_modules/@rollthecloudinc/datasource/fesm2022/rollthecloudinc-datasource.mjs","./node_modules/@rollthecloudinc/bridge/fesm2022/rollthecloudinc-bridge.mjs","./node_modules/@rollthecloudinc/context/fesm2022/rollthecloudinc-context.mjs","./node_modules/@rollthecloudinc/alias/fesm2022/rollthecloudinc-alias.mjs","./node_modules/@rollthecloudinc/refinery/fesm2022/rollthecloudinc-refinery.mjs","./node_modules/@rollthecloudinc/detour/fesm2022/rollthecloudinc-detour.mjs","./node_modules/@rollthecloudinc/crud/fesm2022/rollthecloudinc-crud.mjs","./node_modules/@rollthecloudinc/rules/fesm2022/rollthecloudinc-rules.mjs","./node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js","./node_modules/@rollthecloudinc/aws3/fesm2022/rollthecloudinc-aws3.mjs","./node_modules/@rollthecloudinc/awos/fesm2022/rollthecloudinc-awos.mjs","./node_modules/inflected/dist/esm/inflected.js","./node_modules/@rollthecloudinc/panels/fesm2022/rollthecloudinc-panels.mjs","./node_modules/ngx-dropzone/fesm2020/ngx-dropzone.mjs","./node_modules/@rollthecloudinc/ngx-angular-query-builder/fesm2022/rollthecloudinc-ngx-angular-query-builder.mjs","./node_modules/angular-gridster2/fesm2022/angular-gridster2.mjs","./node_modules/@rollthecloudinc/layout/fesm2022/rollthecloudinc-layout.mjs","./node_modules/@rollthecloudinc/rest/fesm2022/rollthecloudinc-rest.mjs","./node_modules/@rollthecloudinc/sheath/fesm2022/rollthecloudinc-sheath.mjs","./node_modules/@rollthecloudinc/render/fesm2022/rollthecloudinc-render.mjs","./node_modules/rxjs/dist/esm/internal/operators/bufferTime.js","./node_modules/@angular-architects/module-federation-runtime/fesm2020/angular-architects-module-federation-runtime.mjs","./node_modules/@rollthecloudinc/pages/fesm2022/rollthecloudinc-pages.mjs","./node_modules/idb-keyval/dist/index.js","./node_modules/@rollthecloudinc/pagealias/fesm2022/rollthecloudinc-pagealias.mjs","./node_modules/@rollthecloudinc/state/fesm2022/rollthecloudinc-state.mjs","./node_modules/@rollthecloudinc/keyval/fesm2022/rollthecloudinc-keyval.mjs","./node_modules/rxjs/dist/esm/internal/operators/reduce.js","./projects/spear/src/app/app.component.ts","./projects/spear/src/app/app.component.html","./projects/spear/src/environments/environment.dev.ts","./projects/spear/src/app/reducers/index.ts","./node_modules/@rollthecloudinc/transform/fesm2022/rollthecloudinc-transform.mjs","./node_modules/@rollthecloudinc/deity/fesm2022/rollthecloudinc-deity.mjs","./node_modules/@rollthecloudinc/loop/fesm2022/rollthecloudinc-loop.mjs","./node_modules/@rollthecloudinc/ordain/fesm2022/rollthecloudinc-ordain.mjs","./node_modules/@rollthecloudinc/forms/fesm2022/rollthecloudinc-forms.mjs","./node_modules/@nguniversal/common/fesm2022/common.mjs","./node_modules/@rollthecloudinc/alienalias/fesm2022/rollthecloudinc-alienalias.mjs","./node_modules/@rollthecloudinc/react/fesm2022/rollthecloudinc-react.mjs","./node_modules/@rollthecloudinc/outsider/fesm2022/rollthecloudinc-outsider.mjs","./node_modules/@rollthecloudinc/tractorbeam/fesm2022/rollthecloudinc-tractorbeam.mjs","./node_modules/@rollthecloudinc/awrum/fesm2022/rollthecloudinc-awrum.mjs","./projects/spear/src/environments/panelpages.ts","./projects/spear/src/data/panelpages.ts","./projects/spear/src/app/app.module.ts","./projects/spear/src/bootstrap.ts","./node_modules/@aws-crypto/crc32c/build/aws_crc32c.js","./node_modules/@aws-crypto/crc32c/build/index.js","./node_modules/@aws-crypto/sha1-browser/node_modules/@aws-crypto/util/build/convertToBuffer.js","./node_modules/@aws-crypto/sha1-browser/node_modules/@aws-crypto/util/build/index.js","./node_modules/@aws-crypto/sha1-browser/node_modules/@aws-crypto/util/build/isEmptyData.js","./node_modules/@aws-crypto/sha1-browser/node_modules/@aws-crypto/util/build/numToUint8.js","./node_modules/@aws-crypto/sha1-browser/node_modules/@aws-crypto/util/build/uint32ArrayFrom.js","./node_modules/@aws-crypto/sha1-browser/build/constants.js","./node_modules/@aws-crypto/sha1-browser/build/crossPlatformSha1.js","./node_modules/@aws-crypto/sha1-browser/build/ie11Sha1.js","./node_modules/@aws-crypto/sha1-browser/build/index.js","./node_modules/@aws-crypto/sha1-browser/build/isEmptyData.js","./node_modules/@aws-crypto/sha1-browser/build/webCryptoSha1.js","./node_modules/@aws-crypto/sha1-browser/node_modules/@aws-crypto/ie11-detection/build/CryptoOperation.js","./node_modules/@aws-crypto/sha1-browser/node_modules/@aws-crypto/ie11-detection/build/Key.js","./node_modules/@aws-crypto/sha1-browser/node_modules/@aws-crypto/ie11-detection/build/KeyOperation.js","./node_modules/@aws-crypto/sha1-browser/node_modules/@aws-crypto/ie11-detection/build/MsSubtleCrypto.js","./node_modules/@aws-crypto/sha1-browser/node_modules/@aws-crypto/ie11-detection/build/MsWindow.js","./node_modules/@aws-crypto/sha1-browser/node_modules/@aws-crypto/ie11-detection/build/index.js","./node_modules/@aws-crypto/sha1-browser/node_modules/@aws-crypto/supports-web-crypto/build/index.js","./node_modules/@aws-crypto/sha1-browser/node_modules/@aws-crypto/supports-web-crypto/build/supportsWebCrypto.js","./node_modules/@aws-crypto/sha256-js/build/RawSha256.js","./node_modules/@aws-crypto/sha256-js/build/constants.js","./node_modules/@aws-crypto/sha256-js/build/index.js","./node_modules/@aws-crypto/sha256-js/build/jsSha256.js","./node_modules/@aws-crypto/util/build/convertToBuffer.js","./node_modules/@aws-crypto/util/build/index.js","./node_modules/@aws-crypto/util/build/isEmptyData.js","./node_modules/@aws-crypto/util/build/numToUint8.js","./node_modules/@aws-crypto/util/build/uint32ArrayFrom.js","./node_modules/@aws-sdk/client-s3/node_modules/@aws-crypto/sha256-browser/build/constants.js","./node_modules/@aws-sdk/client-s3/node_modules/@aws-crypto/sha256-browser/build/crossPlatformSha256.js","./node_modules/@aws-sdk/client-s3/node_modules/@aws-crypto/sha256-browser/build/ie11Sha256.js","./node_modules/@aws-sdk/client-s3/node_modules/@aws-crypto/sha256-browser/build/index.js","./node_modules/@aws-sdk/client-s3/node_modules/@aws-crypto/sha256-browser/build/isEmptyData.js","./node_modules/@aws-sdk/client-s3/node_modules/@aws-crypto/sha256-browser/build/webCryptoSha256.js","./node_modules/@aws-sdk/client-s3/node_modules/@aws-crypto/sha256-js/build/RawSha256.js","./node_modules/@aws-sdk/client-s3/node_modules/@aws-crypto/sha256-js/build/constants.js","./node_modules/@aws-sdk/client-s3/node_modules/@aws-crypto/sha256-js/build/index.js","./node_modules/@aws-sdk/client-s3/node_modules/@aws-crypto/sha256-js/build/jsSha256.js","./node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/fxp.js","./node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/util.js","./node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/validator.js","./node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js","./node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js","./node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js","./node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js","./node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js","./node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js","./node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/xmlparser/node2json.js","./node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js","./node_modules/@aws-sdk/eventstream-codec/node_modules/@aws-crypto/crc32/build/aws_crc32.js","./node_modules/@aws-sdk/eventstream-codec/node_modules/@aws-crypto/crc32/build/index.js","./node_modules/@aws-sdk/util-locate-window/dist-es/index.js","./node_modules/@aws-sdk/util-utf8-browser/dist-es/index.js","./node_modules/@aws-sdk/util-utf8-browser/dist-es/whatwgEncodingApi.js","./node_modules/@aws-sdk/util-utf8-browser/dist-es/pureJs.js","./node_modules/base64-js/index.js","./node_modules/bowser/es5.js","./node_modules/brackets2dots/index.js","./node_modules/buffer/index.js","./node_modules/call-bind/callBound.js","./node_modules/call-bind/index.js","./node_modules/clone/clone.js","./node_modules/cssjson/cssjson.js","./node_modules/curriable/dist/curriable.js","./node_modules/curry2/index.js","./node_modules/deepmerge-json/dist/deepmerge-json.js","./node_modules/dom-element-path/dist/dom-element-path.js","./node_modules/dotsplit.js/index.js","./node_modules/events/events.js","./node_modules/fast-bind/bind-loop.js","./node_modules/function-bind/implementation.js","./node_modules/function-bind/index.js","./node_modules/get-intrinsic/index.js","./node_modules/has-proto/index.js","./node_modules/has-symbols/index.js","./node_modules/has-symbols/shams.js","./node_modules/has/src/index.js","./node_modules/hash-it/es/constants.js","./node_modules/hash-it/es/utils.js","./node_modules/hash-it/es/index.js","./node_modules/ieee754/index.js","./node_modules/inherits/inherits_browser.js","./node_modules/js-cookie/src/js.cookie.js","./node_modules/json-rules-engine/dist/almanac.js","./node_modules/json-rules-engine/dist/condition.js","./node_modules/json-rules-engine/dist/debug.js","./node_modules/json-rules-engine/dist/engine-default-operators.js","./node_modules/json-rules-engine/dist/engine-facts.js","./node_modules/json-rules-engine/dist/engine.js","./node_modules/json-rules-engine/dist/errors.js","./node_modules/json-rules-engine/dist/fact.js","./node_modules/json-rules-engine/dist/index.js","./node_modules/json-rules-engine/dist/json-rules-engine.js","./node_modules/json-rules-engine/dist/operator.js","./node_modules/json-rules-engine/dist/rule-result.js","./node_modules/json-rules-engine/dist/rule.js","./node_modules/jsonpath-plus/dist/index-es.js","./node_modules/lodash.isobjectlike/index.js","./node_modules/number-string/dist/app.js","./node_modules/object-assign/index.js","./node_modules/object-inspect/index.js","./node_modules/oidc-client/lib/oidc-client.min.js","./node_modules/qs/lib/formats.js","./node_modules/qs/lib/index.js","./node_modules/qs/lib/parse.js","./node_modules/qs/lib/stringify.js","./node_modules/qs/lib/utils.js","./node_modules/react-dom/cjs/react-dom.production.min.js","./node_modules/react-dom/index.js","./node_modules/react/cjs/react.production.min.js","./node_modules/react/index.js","./node_modules/recursive-diff/dist/recursive-diff.min.js","./node_modules/rxjs/dist/esm/internal/BehaviorSubject.js","./node_modules/rxjs/dist/esm/internal/ReplaySubject.js","./node_modules/rxjs/dist/esm/internal/observable/combineLatest.js","./node_modules/rxjs/dist/esm/internal/observable/concat.js","./node_modules/rxjs/dist/esm/internal/operators/concatAll.js","./node_modules/rxjs/dist/esm/internal/observable/defer.js","./node_modules/rxjs/dist/esm/internal/observable/forkJoin.js","./node_modules/rxjs/dist/esm/internal/observable/merge.js","./node_modules/rxjs/dist/esm/internal/operators/concatMap.js","./node_modules/rxjs/dist/esm/internal/operators/debounceTime.js","./node_modules/rxjs/dist/esm/internal/operators/defaultIfEmpty.js","./node_modules/rxjs/dist/esm/internal/operators/delayWhen.js","./node_modules/rxjs/dist/esm/internal/operators/delay.js","./node_modules/rxjs/dist/esm/internal/operators/distinctUntilChanged.js","./node_modules/rxjs/dist/esm/internal/operators/filter.js","./node_modules/rxjs/dist/esm/internal/operators/first.js","./node_modules/rxjs/dist/esm/internal/operators/ignoreElements.js","./node_modules/rxjs/dist/esm/internal/operators/mapTo.js","./node_modules/rxjs/dist/esm/internal/operators/mergeAll.js","./node_modules/rxjs/dist/esm/internal/operators/share.js","./node_modules/rxjs/dist/esm/internal/operators/shareReplay.js","./node_modules/rxjs/dist/esm/internal/operators/skip.js","./node_modules/rxjs/dist/esm/internal/operators/startWith.js","./node_modules/rxjs/dist/esm/internal/operators/switchMap.js","./node_modules/rxjs/dist/esm/internal/operators/takeUntil.js","./node_modules/rxjs/dist/esm/internal/operators/throwIfEmpty.js","./node_modules/rxjs/dist/esm/internal/operators/timeout.js","./node_modules/rxjs/dist/esm/internal/operators/withLatestFrom.js","./node_modules/rxjs/dist/esm/internal/scheduler/QueueAction.js","./node_modules/rxjs/dist/esm/internal/scheduler/queue.js","./node_modules/rxjs/dist/esm/internal/scheduler/QueueScheduler.js","./node_modules/rxjs/dist/esm/internal/util/EmptyError.js","./node_modules/scheduler/cjs/scheduler.production.min.js","./node_modules/scheduler/index.js","./node_modules/selectn/index.js","./node_modules/selectn/node_modules/debug/src/browser.js","./node_modules/selectn/node_modules/debug/src/debug.js","./node_modules/selectn/node_modules/ms/index.js","./node_modules/side-channel/index.js","./node_modules/stream-browserify/index.js","./node_modules/stream-browserify/node_modules/readable-stream/errors-browser.js","./node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_duplex.js","./node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_passthrough.js","./node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_readable.js","./node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_transform.js","./node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_writable.js","./node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/async_iterator.js","./node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/buffer_list.js","./node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/destroy.js","./node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/end-of-stream.js","./node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/from-browser.js","./node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/pipeline.js","./node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/state.js","./node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/stream-browser.js","./node_modules/string_decoder/lib/string_decoder.js","./node_modules/string_decoder/node_modules/safe-buffer/index.js","./node_modules/strnum/strnum.js","./node_modules/util-deprecate/browser.js","tslib","webpack:///tslib?09f5","./node_modules/@aws-crypto/sha256-js/node_modules/tslib/tslib.es6.js","webpack:///tslib?13d3","webpack:///tslib?dfe5","webpack:///tslib?0585","webpack:///tslib?8cda","webpack:///tslib?136c","webpack:///tslib?f6ae","webpack:///tslib?e196","webpack:///tslib?283c","webpack:///tslib?25aa","webpack:///tslib?aacb","./node_modules/@babel/runtime/helpers/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/arrayWithHoles.js","./node_modules/@babel/runtime/helpers/classCallCheck.js","./node_modules/@babel/runtime/helpers/createClass.js","./node_modules/@babel/runtime/helpers/defineProperty.js","./node_modules/@babel/runtime/helpers/iterableToArrayLimit.js","./node_modules/@babel/runtime/helpers/nonIterableRest.js","./node_modules/@babel/runtime/helpers/slicedToArray.js","./node_modules/@babel/runtime/helpers/toPrimitive.js","./node_modules/@babel/runtime/helpers/toPropertyKey.js","./node_modules/@babel/runtime/helpers/typeof.js","./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js","./node_modules/@ngrx/store-devtools/fesm2022/ngrx-store-devtools.mjs","./node_modules/rxjs/dist/esm/internal/operators/pluck.js","./node_modules/@ngrx/store/fesm2022/ngrx-store.mjs","./node_modules/@babel/runtime/helpers/esm/defineProperty.js","./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"],"sourcesContent":["/**\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 * Applies CSS prefixes to appropriate style keys.\n *\n * Note: `-ms-`, `-moz` and `-webkit-box` are no longer supported. e.g.\n * {\n * display: -webkit-flex; NEW - Safari 6.1+. iOS 7.1+, BB10\n * display: flex; NEW, Spec - Firefox, Chrome, Opera\n * // display: -webkit-box; OLD - iOS 6-, Safari 3.1-6, BB7\n * // display: -ms-flexbox; TWEENER - IE 10\n * // display: -moz-flexbox; OLD - Firefox\n * }\n */\nfunction applyCssPrefixes(target) {\n for (let key in target) {\n let value = target[key] ?? '';\n switch (key) {\n case 'display':\n if (value === 'flex') {\n target['display'] = [\n '-webkit-flex',\n 'flex'\n ];\n }\n else if (value === 'inline-flex') {\n target['display'] = [\n '-webkit-inline-flex',\n 'inline-flex'\n ];\n }\n else {\n target['display'] = value;\n }\n break;\n case 'align-items':\n case 'align-self':\n case 'align-content':\n case 'flex':\n case 'flex-basis':\n case 'flex-flow':\n case 'flex-grow':\n case 'flex-shrink':\n case 'flex-wrap':\n case 'justify-content':\n target['-webkit-' + key] = value;\n break;\n case 'flex-direction':\n target['-webkit-flex-direction'] = value;\n target['flex-direction'] = value;\n break;\n case 'order':\n target['order'] = target['-webkit-' + key] = isNaN(+value) ? '0' : value;\n break;\n }\n }\n return target;\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 */\nconst INLINE = 'inline';\nconst LAYOUT_VALUES = ['row', 'column', 'row-reverse', 'column-reverse'];\n/**\n * Validate the direction|'direction wrap' value and then update the host's inline flexbox styles\n */\nfunction buildLayoutCSS(value) {\n let [direction, wrap, isInline] = validateValue(value);\n return buildCSS(direction, wrap, isInline);\n}\n/**\n * Validate the value to be one of the acceptable value options\n * Use default fallback of 'row'\n */\nfunction validateValue(value) {\n value = value?.toLowerCase() ?? '';\n let [direction, wrap, inline] = value.split(' ');\n // First value must be the `flex-direction`\n if (!LAYOUT_VALUES.find(x => x === direction)) {\n direction = LAYOUT_VALUES[0];\n }\n if (wrap === INLINE) {\n wrap = (inline !== INLINE) ? inline : '';\n inline = INLINE;\n }\n return [direction, validateWrapValue(wrap), !!inline];\n}\n/**\n * Determine if the validated, flex-direction value specifies\n * a horizontal/row flow.\n */\nfunction isFlowHorizontal(value) {\n let [flow,] = validateValue(value);\n return flow.indexOf('row') > -1;\n}\n/**\n * Convert layout-wrap='<value>' to expected flex-wrap style\n */\nfunction validateWrapValue(value) {\n if (!!value) {\n switch (value.toLowerCase()) {\n case 'reverse':\n case 'wrap-reverse':\n case 'reverse-wrap':\n value = 'wrap-reverse';\n break;\n case 'no':\n case 'none':\n case 'nowrap':\n value = 'nowrap';\n break;\n // All other values fallback to 'wrap'\n default:\n value = 'wrap';\n break;\n }\n }\n return value;\n}\n/**\n * Build the CSS that should be assigned to the element instance\n * BUG:\n * 1) min-height on a column flex container won’t apply to its flex item children in IE 10-11.\n * Use height instead if possible; height : <xxx>vh;\n *\n * This way any padding or border specified on the child elements are\n * laid out and drawn inside that element's specified width and height.\n */\nfunction buildCSS(direction, wrap = null, inline = false) {\n return {\n display: inline ? 'inline-flex' : 'flex',\n 'box-sizing': 'border-box',\n 'flex-direction': direction,\n 'flex-wrap': wrap || null,\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 * Extends an object with the *enumerable* and *own* properties of one or more source objects,\n * similar to Object.assign.\n *\n * @param dest The object which will have properties copied to it.\n * @param sources The source objects from which properties will be copied.\n */\nfunction extendObject(dest, ...sources) {\n if (dest == null) {\n throw TypeError('Cannot convert undefined or null to object');\n }\n for (let source of sources) {\n if (source != null) {\n for (let key in source) {\n if (source.hasOwnProperty(key)) {\n dest[key] = source[key];\n }\n }\n }\n }\n return dest;\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 * Generated bundle index. Do not edit.\n */\n\nexport { INLINE, LAYOUT_VALUES, applyCssPrefixes, buildLayoutCSS, extendObject, isFlowHorizontal, validateValue, validateWrapValue };\n","import * as i0 from '@angular/core';\nimport { APP_BOOTSTRAP_LISTENER, PLATFORM_ID, NgModule, Injectable, InjectionToken, Inject, inject, Directive } from '@angular/core';\nimport { isPlatformBrowser, DOCUMENT, isPlatformServer } from '@angular/common';\nimport { BehaviorSubject, Observable, merge, Subject, asapScheduler, of, fromEvent } from 'rxjs';\nimport { applyCssPrefixes, extendObject, buildLayoutCSS } from '@angular/flex-layout/_private-utils';\nimport { filter, tap, debounceTime, switchMap, map, distinctUntilChanged, takeUntil, take } from 'rxjs/operators';\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 * Find all of the server-generated stylings, if any, and remove them\n * This will be in the form of inline classes and the style block in the\n * head of the DOM\n */\nfunction removeStyles(_document, platformId) {\n return () => {\n if (isPlatformBrowser(platformId)) {\n const elements = Array.from(_document.querySelectorAll(`[class*=${CLASS_NAME}]`));\n // RegExp constructor should only be used if passing a variable to the constructor.\n // When using static regular expression it is more performant to use reg exp literal.\n // This is also needed to provide Safari 9 compatibility, please see\n // https://stackoverflow.com/questions/37919802 for more discussion.\n const classRegex = /\\bflex-layout-.+?\\b/g;\n elements.forEach(el => {\n el.classList.contains(`${CLASS_NAME}ssr`) && el.parentNode ?\n el.parentNode.removeChild(el) : el.className.replace(classRegex, '');\n });\n }\n };\n}\n/**\n * Provider to remove SSR styles on the browser\n */\nconst BROWSER_PROVIDER = {\n provide: APP_BOOTSTRAP_LISTENER,\n useFactory: removeStyles,\n deps: [DOCUMENT, PLATFORM_ID],\n multi: true\n};\nconst CLASS_NAME = 'flex-layout-';\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 * Define module for common Angular Layout utilities\n * *****************************************************************\n */\nclass CoreModule {\n}\nCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: CoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\nCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"15.0.2\", ngImport: i0, type: CoreModule });\nCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: CoreModule, providers: [BROWSER_PROVIDER] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: CoreModule, decorators: [{\n type: NgModule,\n args: [{\n providers: [BROWSER_PROVIDER]\n }]\n }] });\n\n/**\n * Class instances emitted [to observers] for each mql notification\n */\nclass MediaChange {\n /**\n * @param matches whether the mediaQuery is currently activated\n * @param mediaQuery e.g. (min-width: 600px) and (max-width: 959px)\n * @param mqAlias e.g. gt-sm, md, gt-lg\n * @param suffix e.g. GtSM, Md, GtLg\n * @param priority the priority of activation for the given breakpoint\n */\n constructor(matches = false, mediaQuery = 'all', mqAlias = '', suffix = '', priority = 0) {\n this.matches = matches;\n this.mediaQuery = mediaQuery;\n this.mqAlias = mqAlias;\n this.suffix = suffix;\n this.priority = priority;\n this.property = '';\n }\n /** Create an exact copy of the MediaChange */\n clone() {\n return new MediaChange(this.matches, this.mediaQuery, this.mqAlias, this.suffix);\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 * Utility to emulate a CSS stylesheet\n *\n * This utility class stores all of the styles for a given HTML element\n * as a readonly `stylesheet` map.\n */\nclass StylesheetMap {\n constructor() {\n this.stylesheet = new Map();\n }\n /**\n * Add an individual style to an HTML element\n */\n addStyleToElement(element, style, value) {\n const stylesheet = this.stylesheet.get(element);\n if (stylesheet) {\n stylesheet.set(style, value);\n }\n else {\n this.stylesheet.set(element, new Map([[style, value]]));\n }\n }\n /**\n * Clear the virtual stylesheet\n */\n clearStyles() {\n this.stylesheet.clear();\n }\n /**\n * Retrieve a given style for an HTML element\n */\n getStyleForElement(el, styleName) {\n const styles = this.stylesheet.get(el);\n let value = '';\n if (styles) {\n const style = styles.get(styleName);\n if (typeof style === 'number' || typeof style === 'string') {\n value = style + '';\n }\n }\n return value;\n }\n}\nStylesheetMap.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: StylesheetMap, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\nStylesheetMap.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: StylesheetMap, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: StylesheetMap, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\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 */\nconst DEFAULT_CONFIG = {\n addFlexToParent: true,\n addOrientationBps: false,\n disableDefaultBps: false,\n disableVendorPrefixes: false,\n serverLoaded: false,\n useColumnBasisZero: true,\n printWithBreakpoints: [],\n mediaTriggerAutoRestore: true,\n ssrObserveBreakpoints: [],\n // This is disabled by default because otherwise the multiplier would\n // run for all users, regardless of whether they're using this feature.\n // Instead, we disable it by default, which requires this ugly cast.\n multiplier: undefined,\n defaultUnit: 'px',\n detectLayoutDisplay: false,\n};\nconst LAYOUT_CONFIG = new InjectionToken('Flex Layout token, config options for the library', {\n providedIn: 'root',\n factory: () => DEFAULT_CONFIG\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 * Token that is provided to tell whether the FlexLayoutServerModule\n * has been included in the bundle\n *\n * NOTE: This can be manually provided to disable styles when using SSR\n */\nconst SERVER_TOKEN = new InjectionToken('FlexLayoutServerLoaded', {\n providedIn: 'root',\n factory: () => false\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 */\nconst BREAKPOINT = new InjectionToken('Flex Layout token, collect all breakpoints into one provider', {\n providedIn: 'root',\n factory: () => null\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/**\n * For the specified MediaChange, make sure it contains the breakpoint alias\n * and suffix (if available).\n */\nfunction mergeAlias(dest, source) {\n dest = dest?.clone() ?? new MediaChange();\n if (source) {\n dest.mqAlias = source.alias;\n dest.mediaQuery = source.mediaQuery;\n dest.suffix = source.suffix;\n dest.priority = source.priority;\n }\n return dest;\n}\n\n/** A class that encapsulates CSS style generation for common directives */\nclass StyleBuilder {\n constructor() {\n /** Whether to cache the generated output styles */\n this.shouldCache = true;\n }\n /**\n * Run a side effect computation given the input string and the computed styles\n * from the build task and the host configuration object\n * NOTE: This should be a no-op unless an algorithm is provided in a subclass\n */\n sideEffect(_input, _styles, _parent) {\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 */\nclass StyleUtils {\n constructor(_serverStylesheet, _serverModuleLoaded, _platformId, layoutConfig) {\n this._serverStylesheet = _serverStylesheet;\n this._serverModuleLoaded = _serverModuleLoaded;\n this._platformId = _platformId;\n this.layoutConfig = layoutConfig;\n }\n /**\n * Applies styles given via string pair or object map to the directive element\n */\n applyStyleToElement(element, style, value = null) {\n let styles = {};\n if (typeof style === 'string') {\n styles[style] = value;\n style = styles;\n }\n styles = this.layoutConfig.disableVendorPrefixes ? style : applyCssPrefixes(style);\n this._applyMultiValueStyleToElement(styles, element);\n }\n /**\n * Applies styles given via string pair or object map to the directive's element\n */\n applyStyleToElements(style, elements = []) {\n const styles = this.layoutConfig.disableVendorPrefixes ? style : applyCssPrefixes(style);\n elements.forEach(el => {\n this._applyMultiValueStyleToElement(styles, el);\n });\n }\n /**\n * Determine the DOM element's Flexbox flow (flex-direction)\n *\n * Check inline style first then check computed (stylesheet) style\n */\n getFlowDirection(target) {\n const query = 'flex-direction';\n let value = this.lookupStyle(target, query);\n const hasInlineValue = this.lookupInlineStyle(target, query) ||\n (isPlatformServer(this._platformId) && this._serverModuleLoaded) ? value : '';\n return [value || 'row', hasInlineValue];\n }\n hasWrap(target) {\n const query = 'flex-wrap';\n return this.lookupStyle(target, query) === 'wrap';\n }\n /**\n * Find the DOM element's raw attribute value (if any)\n */\n lookupAttributeValue(element, attribute) {\n return element.getAttribute(attribute) ?? '';\n }\n /**\n * Find the DOM element's inline style value (if any)\n */\n lookupInlineStyle(element, styleName) {\n return isPlatformBrowser(this._platformId) ?\n element.style.getPropertyValue(styleName) : getServerStyle(element, styleName);\n }\n /**\n * Determine the inline or inherited CSS style\n * NOTE: platform-server has no implementation for getComputedStyle\n */\n lookupStyle(element, styleName, inlineOnly = false) {\n let value = '';\n if (element) {\n let immediateValue = value = this.lookupInlineStyle(element, styleName);\n if (!immediateValue) {\n if (isPlatformBrowser(this._platformId)) {\n if (!inlineOnly) {\n value = getComputedStyle(element).getPropertyValue(styleName);\n }\n }\n else {\n if (this._serverModuleLoaded) {\n value = this._serverStylesheet.getStyleForElement(element, styleName);\n }\n }\n }\n }\n // Note: 'inline' is the default of all elements, unless UA stylesheet overrides;\n // in which case getComputedStyle() should determine a valid value.\n return value ? value.trim() : '';\n }\n /**\n * Applies the styles to the element. The styles object map may contain an array of values\n * Each value will be added as element style\n * Keys are sorted to add prefixed styles (like -webkit-x) first, before the standard ones\n */\n _applyMultiValueStyleToElement(styles, element) {\n Object.keys(styles).sort().forEach(key => {\n const el = styles[key];\n const values = Array.isArray(el) ? el : [el];\n values.sort();\n for (let value of values) {\n value = value ? value + '' : '';\n if (isPlatformBrowser(this._platformId) || !this._serverModuleLoaded) {\n isPlatformBrowser(this._platformId) ?\n element.style.setProperty(key, value) : setServerStyle(element, key, value);\n }\n else {\n this._serverStylesheet.addStyleToElement(element, key, value);\n }\n }\n });\n }\n}\nStyleUtils.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: StyleUtils, deps: [{ token: StylesheetMap }, { token: SERVER_TOKEN }, { token: PLATFORM_ID }, { token: LAYOUT_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable });\nStyleUtils.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: StyleUtils, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: StyleUtils, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: StylesheetMap }, { type: undefined, decorators: [{\n type: Inject,\n args: [SERVER_TOKEN]\n }] }, { type: Object, decorators: [{\n type: Inject,\n args: [PLATFORM_ID]\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [LAYOUT_CONFIG]\n }] }]; } });\nfunction getServerStyle(element, styleName) {\n const styleMap = readStyleAttribute(element);\n return styleMap[styleName] ?? '';\n}\nfunction setServerStyle(element, styleName, styleValue) {\n styleName = styleName.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();\n const styleMap = readStyleAttribute(element);\n styleMap[styleName] = styleValue ?? '';\n writeStyleAttribute(element, styleMap);\n}\nfunction writeStyleAttribute(element, styleMap) {\n let styleAttrValue = '';\n for (const key in styleMap) {\n const newValue = styleMap[key];\n if (newValue) {\n styleAttrValue += `${key}:${styleMap[key]};`;\n }\n }\n element.setAttribute('style', styleAttrValue);\n}\nfunction readStyleAttribute(element) {\n const styleMap = {};\n const styleAttribute = element.getAttribute('style');\n if (styleAttribute) {\n const styleList = styleAttribute.split(/;+/g);\n for (let i = 0; i < styleList.length; i++) {\n const style = styleList[i].trim();\n if (style.length > 0) {\n const colonIndex = style.indexOf(':');\n if (colonIndex === -1) {\n throw new Error(`Invalid CSS style: ${style}`);\n }\n const name = style.substr(0, colonIndex).trim();\n styleMap[name] = style.substr(colonIndex + 1).trim();\n }\n }\n }\n return styleMap;\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/** HOF to sort the breakpoints by descending priority */\nfunction sortDescendingPriority(a, b) {\n const priorityA = a ? a.priority || 0 : 0;\n const priorityB = b ? b.priority || 0 : 0;\n return priorityB - priorityA;\n}\n/** HOF to sort the breakpoints by ascending priority */\nfunction sortAscendingPriority(a, b) {\n const pA = a.priority || 0;\n const pB = b.priority || 0;\n return pA - pB;\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 * MediaMonitor configures listeners to mediaQuery changes and publishes an Observable facade to\n * convert mediaQuery change callbacks to subscriber notifications. These notifications will be\n * performed within the ng Zone to trigger change detections and component updates.\n *\n * NOTE: both mediaQuery activations and de-activations are announced in notifications\n */\nclass MatchMedia {\n constructor(_zone, _platformId, _document) {\n this._zone = _zone;\n this._platformId = _platformId;\n this._document = _document;\n /** Initialize source with 'all' so all non-responsive APIs trigger style updates */\n this.source = new BehaviorSubject(new MediaChange(true));\n this.registry = new Map();\n this.pendingRemoveListenerFns = [];\n this._observable$ = this.source.asObservable();\n }\n /**\n * Publish list of all current activations\n */\n get activations() {\n const results = [];\n this.registry.forEach((mql, key) => {\n if (mql.matches) {\n results.push(key);\n }\n });\n return results;\n }\n /**\n * For the specified mediaQuery?\n */\n isActive(mediaQuery) {\n const mql = this.registry.get(mediaQuery);\n return mql?.matches ?? this.registerQuery(mediaQuery).some(m => m.matches);\n }\n /**\n * External observers can watch for all (or a specific) mql changes.\n * Typically used by the MediaQueryAdaptor; optionally available to components\n * who wish to use the MediaMonitor as mediaMonitor$ observable service.\n *\n * Use deferred registration process to register breakpoints only on subscription\n * This logic also enforces logic to register all mediaQueries BEFORE notify\n * subscribers of notifications.\n */\n observe(mqList, filterOthers = false) {\n if (mqList && mqList.length) {\n const matchMedia$ = this._observable$.pipe(filter((change) => !filterOthers ? true : (mqList.indexOf(change.mediaQuery) > -1)));\n const registration$ = new Observable((observer) => {\n const matches = this.registerQuery(mqList);\n if (matches.length) {\n const lastChange = matches.pop();\n matches.forEach((e) => {\n observer.next(e);\n });\n this.source.next(lastChange); // last match is cached\n }\n observer.complete();\n });\n return merge(registration$, matchMedia$);\n }\n return this._observable$;\n }\n /**\n * Based on the BreakPointRegistry provider, register internal listeners for each unique\n * mediaQuery. Each listener emits specific MediaChange data to observers\n */\n registerQuery(mediaQuery) {\n const list = Array.isArray(mediaQuery) ? mediaQuery : [mediaQuery];\n const matches = [];\n buildQueryCss(list, this._document);\n list.forEach((query) => {\n const onMQLEvent = (e) => {\n this._zone.run(() => this.source.next(new MediaChange(e.matches, query)));\n };\n let mql = this.registry.get(query);\n if (!mql) {\n mql = this.buildMQL(query);\n mql.addListener(onMQLEvent);\n this.pendingRemoveListenerFns.push(() => mql.removeListener(onMQLEvent));\n this.registry.set(query, mql);\n }\n if (mql.matches) {\n matches.push(new MediaChange(true, query));\n }\n });\n return matches;\n }\n ngOnDestroy() {\n let fn;\n while (fn = this.pendingRemoveListenerFns.pop()) {\n fn();\n }\n }\n /**\n * Call window.matchMedia() to build a MediaQueryList; which\n * supports 0..n listeners for activation/deactivation\n */\n buildMQL(query) {\n return constructMql(query, isPlatformBrowser(this._platformId));\n }\n}\nMatchMedia.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: MatchMedia, deps: [{ token: i0.NgZone }, { token: PLATFORM_ID }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });\nMatchMedia.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: MatchMedia, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: MatchMedia, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: i0.NgZone }, { type: Object, decorators: [{\n type: Inject,\n args: [PLATFORM_ID]\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }]; } });\n/**\n * Private global registry for all dynamically-created, injected style tags\n * @see prepare(query)\n */\nconst ALL_STYLES = {};\n/**\n * For Webkit engines that only trigger the MediaQueryList Listener\n * when there is at least one CSS selector for the respective media query.\n *\n * @param mediaQueries\n * @param _document\n */\nfunction buildQueryCss(mediaQueries, _document) {\n const list = mediaQueries.filter(it => !ALL_STYLES[it]);\n if (list.length > 0) {\n const query = list.join(', ');\n try {\n const styleEl = _document.createElement('style');\n styleEl.setAttribute('type', 'text/css');\n if (!styleEl.styleSheet) {\n const cssText = `\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${query} {.fx-query-test{ }}\n`;\n styleEl.appendChild(_document.createTextNode(cssText));\n }\n _document.head.appendChild(styleEl);\n // Store in private global registry\n list.forEach(mq => ALL_STYLES[mq] = styleEl);\n }\n catch (e) {\n console.error(e);\n }\n }\n}\nfunction buildMockMql(query) {\n const et = new EventTarget();\n et.matches = query === 'all' || query === '';\n et.media = query;\n et.addListener = () => { };\n et.removeListener = () => { };\n et.addEventListener = () => { };\n et.dispatchEvent = () => false;\n et.onchange = null;\n return et;\n}\nfunction constructMql(query, isBrowser) {\n const canListen = isBrowser && !!window.matchMedia('all').addListener;\n return canListen ? window.matchMedia(query) : buildMockMql(query);\n}\n\n/**\n * NOTE: Smaller ranges have HIGHER priority since the match is more specific\n */\nconst DEFAULT_BREAKPOINTS = [\n {\n alias: 'xs',\n mediaQuery: 'screen and (min-width: 0px) and (max-width: 599.98px)',\n priority: 1000,\n },\n {\n alias: 'sm',\n mediaQuery: 'screen and (min-width: 600px) and (max-width: 959.98px)',\n priority: 900,\n },\n {\n alias: 'md',\n mediaQuery: 'screen and (min-width: 960px) and (max-width: 1279.98px)',\n priority: 800,\n },\n {\n alias: 'lg',\n mediaQuery: 'screen and (min-width: 1280px) and (max-width: 1919.98px)',\n priority: 700,\n },\n {\n alias: 'xl',\n mediaQuery: 'screen and (min-width: 1920px) and (max-width: 4999.98px)',\n priority: 600,\n },\n {\n alias: 'lt-sm',\n overlapping: true,\n mediaQuery: 'screen and (max-width: 599.98px)',\n priority: 950,\n },\n {\n alias: 'lt-md',\n overlapping: true,\n mediaQuery: 'screen and (max-width: 959.98px)',\n priority: 850,\n },\n {\n alias: 'lt-lg',\n overlapping: true,\n mediaQuery: 'screen and (max-width: 1279.98px)',\n priority: 750,\n },\n {\n alias: 'lt-xl',\n overlapping: true,\n priority: 650,\n mediaQuery: 'screen and (max-width: 1919.98px)',\n },\n {\n alias: 'gt-xs',\n overlapping: true,\n mediaQuery: 'screen and (min-width: 600px)',\n priority: -950,\n },\n {\n alias: 'gt-sm',\n overlapping: true,\n mediaQuery: 'screen and (min-width: 960px)',\n priority: -850,\n }, {\n alias: 'gt-md',\n overlapping: true,\n mediaQuery: 'screen and (min-width: 1280px)',\n priority: -750,\n },\n {\n alias: 'gt-lg',\n overlapping: true,\n mediaQuery: 'screen and (min-width: 1920px)',\n priority: -650,\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/* tslint:disable */\nconst HANDSET_PORTRAIT = '(orientation: portrait) and (max-width: 599.98px)';\nconst HANDSET_LANDSCAPE = '(orientation: landscape) and (max-width: 959.98px)';\nconst TABLET_PORTRAIT = '(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)';\nconst TABLET_LANDSCAPE = '(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)';\nconst WEB_PORTRAIT = '(orientation: portrait) and (min-width: 840px)';\nconst WEB_LANDSCAPE = '(orientation: landscape) and (min-width: 1280px)';\nconst ScreenTypes = {\n 'HANDSET': `${HANDSET_PORTRAIT}, ${HANDSET_LANDSCAPE}`,\n 'TABLET': `${TABLET_PORTRAIT} , ${TABLET_LANDSCAPE}`,\n 'WEB': `${WEB_PORTRAIT}, ${WEB_LANDSCAPE} `,\n 'HANDSET_PORTRAIT': `${HANDSET_PORTRAIT}`,\n 'TABLET_PORTRAIT': `${TABLET_PORTRAIT} `,\n 'WEB_PORTRAIT': `${WEB_PORTRAIT}`,\n 'HANDSET_LANDSCAPE': `${HANDSET_LANDSCAPE}`,\n 'TABLET_LANDSCAPE': `${TABLET_LANDSCAPE}`,\n 'WEB_LANDSCAPE': `${WEB_LANDSCAPE}`\n};\n/**\n * Extended Breakpoints for handset/tablets with landscape or portrait orientations\n */\nconst ORIENTATION_BREAKPOINTS = [\n { 'alias': 'handset', priority: 2000, 'mediaQuery': ScreenTypes.HANDSET },\n { 'alias': 'handset.landscape', priority: 2000, 'mediaQuery': ScreenTypes.HANDSET_LANDSCAPE },\n { 'alias': 'handset.portrait', priority: 2000, 'mediaQuery': ScreenTypes.HANDSET_PORTRAIT },\n { 'alias': 'tablet', priority: 2100, 'mediaQuery': ScreenTypes.TABLET },\n { 'alias': 'tablet.landscape', priority: 2100, 'mediaQuery': ScreenTypes.TABLET_LANDSCAPE },\n { 'alias': 'tablet.portrait', priority: 2100, 'mediaQuery': ScreenTypes.TABLET_PORTRAIT },\n { 'alias': 'web', priority: 2200, 'mediaQuery': ScreenTypes.WEB, overlapping: true },\n { 'alias': 'web.landscape', priority: 2200, 'mediaQuery': ScreenTypes.WEB_LANDSCAPE, overlapping: true },\n { 'alias': 'web.portrait', priority: 2200, 'mediaQuery': ScreenTypes.WEB_PORTRAIT, overlapping: true }\n];\n\nconst ALIAS_DELIMITERS = /(\\.|-|_)/g;\nfunction firstUpperCase(part) {\n let first = part.length > 0 ? part.charAt(0) : '';\n let remainder = (part.length > 1) ? part.slice(1) : '';\n return first.toUpperCase() + remainder;\n}\n/**\n * Converts snake-case to SnakeCase.\n * @param name Text to UpperCamelCase\n */\nfunction camelCase(name) {\n return name\n .replace(ALIAS_DELIMITERS, '|')\n .split('|')\n .map(firstUpperCase)\n .join('');\n}\n/**\n * For each breakpoint, ensure that a Suffix is defined;\n * fallback to UpperCamelCase the unique Alias value\n */\nfunction validateSuffixes(list) {\n list.forEach((bp) => {\n if (!bp.suffix) {\n bp.suffix = camelCase(bp.alias); // create Suffix value based on alias\n bp.overlapping = !!bp.overlapping; // ensure default value\n }\n });\n return list;\n}\n/**\n * Merge a custom breakpoint list with the default list based on unique alias values\n * - Items are added if the alias is not in the default list\n * - Items are merged with the custom override if the alias exists in the default list\n */\nfunction mergeByAlias(defaults, custom = []) {\n const dict = {};\n defaults.forEach(bp => {\n dict[bp.alias] = bp;\n });\n // Merge custom breakpoints\n custom.forEach((bp) => {\n if (dict[bp.alias]) {\n extendObject(dict[bp.alias], bp);\n }\n else {\n dict[bp.alias] = bp;\n }\n });\n return validateSuffixes(Object.keys(dict).map(k => dict[k]));\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 * Injection token unique to the flex-layout library.\n * Use this token when build a custom provider (see below).\n */\nconst BREAKPOINTS = new InjectionToken('Token (@angular/flex-layout) Breakpoints', {\n providedIn: 'root',\n factory: () => {\n const breakpoints = inject(BREAKPOINT);\n const layoutConfig = inject(LAYOUT_CONFIG);\n const bpFlattenArray = [].concat.apply([], (breakpoints || [])\n .map((v) => Array.isArray(v) ? v : [v]));\n const builtIns = (layoutConfig.disableDefaultBps ? [] : DEFAULT_BREAKPOINTS)\n .concat(layoutConfig.addOrientationBps ? ORIENTATION_BREAKPOINTS : []);\n return mergeByAlias(builtIns, bpFlattenArray);\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 * Registry of 1..n MediaQuery breakpoint ranges\n * This is published as a provider and may be overridden from custom, application-specific ranges\n *\n */\nclass BreakPointRegistry {\n constructor(list) {\n /**\n * Memoized BreakPoint Lookups\n */\n this.findByMap = new Map();\n this.items = [...list].sort(sortAscendingPriority);\n }\n /**\n * Search breakpoints by alias (e.g. gt-xs)\n */\n findByAlias(alias) {\n return !alias ? null : this.findWithPredicate(alias, (bp) => bp.alias === alias);\n }\n findByQuery(query) {\n return this.findWithPredicate(query, (bp) => bp.mediaQuery === query);\n }\n /**\n * Get all the breakpoints whose ranges could overlapping `normal` ranges;\n * e.g. gt-sm overlaps md, lg, and xl\n */\n get overlappings() {\n return this.items.filter(it => it.overlapping);\n }\n /**\n * Get list of all registered (non-empty) breakpoint aliases\n */\n get aliases() {\n return this.items.map(it => it.alias);\n }\n /**\n * Aliases are mapped to properties using suffixes\n * e.g. 'gt-sm' for property 'layout' uses suffix 'GtSm'\n * for property layoutGtSM.\n */\n get suffixes() {\n return this.items.map(it => it?.suffix ?? '');\n }\n /**\n * Memoized lookup using custom predicate function\n */\n findWithPredicate(key, searchFn) {\n let response = this.findByMap.get(key);\n if (!response) {\n response = this.items.find(searchFn) ?? null;\n this.findByMap.set(key, response);\n }\n return response ?? null;\n }\n}\nBreakPointRegistry.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: BreakPointRegistry, deps: [{ token: BREAKPOINTS }], target: i0.ɵɵFactoryTarget.Injectable });\nBreakPointRegistry.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: BreakPointRegistry, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: BreakPointRegistry, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [BREAKPOINTS]\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 */\nconst PRINT = 'print';\nconst BREAKPOINT_PRINT = {\n alias: PRINT,\n mediaQuery: PRINT,\n priority: 1000\n};\n/**\n * PrintHook - Use to intercept print MediaQuery activations and force\n * layouts to render with the specified print alias/breakpoint\n *\n * Used in MediaMarshaller and MediaObserver\n */\nclass PrintHook {\n constructor(breakpoints, layoutConfig, _document) {\n this.breakpoints = breakpoints;\n this.layoutConfig = layoutConfig;\n this._document = _document;\n // registeredBeforeAfterPrintHooks tracks if we registered the `beforeprint`\n // and `afterprint` event listeners.\n this.registeredBeforeAfterPrintHooks = false;\n // isPrintingBeforeAfterEvent is used to track if we are printing from within\n // a `beforeprint` event handler. This prevents the typical `stopPrinting`\n // form `interceptEvents` so that printing is not stopped while the dialog\n // is still open. This is an extension of the `isPrinting` property on\n // browsers which support `beforeprint` and `afterprint` events.\n this.isPrintingBeforeAfterEvent = false;\n this.beforePrintEventListeners = [];\n this.afterPrintEventListeners = [];\n this.formerActivations = null;\n // Is this service currently in print mode\n this.isPrinting = false;\n this.queue = new PrintQueue();\n this.deactivations = [];\n }\n /** Add 'print' mediaQuery: to listen for matchMedia activations */\n withPrintQuery(queries) {\n return [...queries, PRINT];\n }\n /** Is the MediaChange event for any 'print' @media */\n isPrintEvent(e) {\n return e.mediaQuery.startsWith(PRINT);\n }\n /** What is the desired mqAlias to use while printing? */\n get printAlias() {\n return [...(this.layoutConfig.printWithBreakpoints ?? [])];\n }\n /** Lookup breakpoints associated with print aliases. */\n get printBreakPoints() {\n return this.printAlias\n .map(alias => this.breakpoints.findByAlias(alias))\n .filter(bp => bp !== null);\n }\n /** Lookup breakpoint associated with mediaQuery */\n getEventBreakpoints({ mediaQuery }) {\n const bp = this.breakpoints.findByQuery(mediaQuery);\n const list = bp ? [...this.printBreakPoints, bp] : this.printBreakPoints;\n return list.sort(sortDescendingPriority);\n }\n /** Update event with printAlias mediaQuery information */\n updateEvent(event) {\n let bp = this.breakpoints.findByQuery(event.mediaQuery);\n if (this.isPrintEvent(event)) {\n // Reset from 'print' to first (highest priority) print breakpoint\n bp = this.getEventBreakpoints(event)[0];\n event.mediaQuery = bp?.mediaQuery ?? '';\n }\n return mergeAlias(event, bp);\n }\n // registerBeforeAfterPrintHooks registers a `beforeprint` event hook so we can\n // trigger print styles synchronously and apply proper layout styles.\n // It is a noop if the hooks have already been registered or if the document's\n // `defaultView` is not available.\n registerBeforeAfterPrintHooks(target) {\n // `defaultView` may be null when rendering on the server or in other contexts.\n if (!this._document.defaultView || this.registeredBeforeAfterPrintHooks) {\n return;\n }\n this.registeredBeforeAfterPrintHooks = true;\n const beforePrintListener = () => {\n // If we aren't already printing, start printing and update the styles as\n // if there was a regular print `MediaChange`(from matchMedia).\n if (!this.isPrinting) {\n this.isPrintingBeforeAfterEvent = true;\n this.startPrinting(target, this.getEventBreakpoints(new MediaChange(true, PRINT)));\n target.updateStyles();\n }\n };\n const afterPrintListener = () => {\n // If we aren't already printing, start printing and update the styles as\n // if there was a regular print `MediaChange`(from matchMedia).\n this.isPrintingBeforeAfterEvent = false;\n if (this.isPrinting) {\n this.stopPrinting(target);\n target.updateStyles();\n }\n };\n // Could we have teardown logic to remove if there are no print listeners being used?\n this._document.defaultView.addEventListener('beforeprint', beforePrintListener);\n this._document.defaultView.addEventListener('afterprint', afterPrintListener);\n this.beforePrintEventListeners.push(beforePrintListener);\n this.afterPrintEventListeners.push(afterPrintListener);\n }\n /**\n * Prepare RxJS tap operator with partial application\n * @return pipeable tap predicate\n */\n interceptEvents(target) {\n return (event) => {\n if (this.isPrintEvent(event)) {\n if (event.matches && !this.isPrinting) {\n this.startPrinting(target, this.getEventBreakpoints(event));\n target.updateStyles();\n }\n else if (!event.matches && this.isPrinting && !this.isPrintingBeforeAfterEvent) {\n this.stopPrinting(target);\n target.updateStyles();\n }\n return;\n }\n this.collectActivations(target, event);\n };\n }\n /** Stop mediaChange event propagation in event streams */\n blockPropagation() {\n return (event) => {\n return !(this.isPrinting || this.isPrintEvent(event));\n };\n }\n /**\n * Save current activateBreakpoints (for later restore)\n * and substitute only the printAlias breakpoint\n */\n startPrinting(target, bpList) {\n this.isPrinting = true;\n this.formerActivations = target.activatedBreakpoints;\n target.activatedBreakpoints = this.queue.addPrintBreakpoints(bpList);\n }\n /** For any print de-activations, reset the entire print queue */\n stopPrinting(target) {\n target.activatedBreakpoints = this.deactivations;\n this.deactivations = [];\n this.formerActivations = null;\n this.queue.clear();\n this.isPrinting = false;\n }\n /**\n * To restore pre-Print Activations, we must capture the proper\n * list of breakpoint activations BEFORE print starts. OnBeforePrint()\n * is supported; so 'print' mediaQuery activations are used as a fallback\n * in browsers without `beforeprint` support.\n *\n * > But activated breakpoints are deactivated BEFORE 'print' activation.\n *\n * Let's capture all de-activations using the following logic:\n *\n * When not printing:\n * - clear cache when activating non-print breakpoint\n * - update cache (and sort) when deactivating\n *\n * When printing:\n * - sort and save when starting print\n * - restore as activatedTargets and clear when stop printing\n */\n collectActivations(target, event) {\n if (!this.isPrinting || this.isPrintingBeforeAfterEvent) {\n if (!this.isPrintingBeforeAfterEvent) {\n // Only clear deactivations if we aren't printing from a `beforeprint` event.\n // Otherwise, this will clear before `stopPrinting()` is called to restore\n // the pre-Print Activations.\n this.deactivations = [];\n return;\n }\n if (!event.matches) {\n const bp = this.breakpoints.findByQuery(event.mediaQuery);\n // Deactivating a breakpoint\n if (bp) {\n const hasFormerBp = this.formerActivations && this.formerActivations.includes(bp);\n const wasActivated = !this.formerActivations && target.activatedBreakpoints.includes(bp);\n const shouldDeactivate = hasFormerBp || wasActivated;\n if (shouldDeactivate) {\n this.deactivations.push(bp);\n this.deactivations.sort(sortDescendingPriority);\n }\n }\n }\n }\n }\n /** Teardown logic for the service. */\n ngOnDestroy() {\n if (this._document.defaultView) {\n this.beforePrintEventListeners.forEach(l => this._document.defaultView.removeEventListener('beforeprint', l));\n this.afterPrintEventListeners.forEach(l => this._document.defaultView.removeEventListener('afterprint', l));\n }\n }\n}\nPrintHook.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: PrintHook, deps: [{ token: BreakPointRegistry }, { token: LAYOUT_CONFIG }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });\nPrintHook.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: PrintHook, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: PrintHook, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: BreakPointRegistry }, { type: undefined, decorators: [{\n type: Inject,\n args: [LAYOUT_CONFIG]\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }]; } });\n// ************************************************************************\n// Internal Utility class 'PrintQueue'\n// ************************************************************************\n/**\n * Utility class to manage print breakpoints + activatedBreakpoints\n * with correct sorting WHILE printing\n */\nclass PrintQueue {\n constructor() {\n /** Sorted queue with prioritized print breakpoints */\n this.printBreakpoints = [];\n }\n addPrintBreakpoints(bpList) {\n bpList.push(BREAKPOINT_PRINT);\n bpList.sort(sortDescendingPriority);\n bpList.forEach(bp => this.addBreakpoint(bp));\n return this.printBreakpoints;\n }\n /** Add Print breakpoint to queue */\n addBreakpoint(bp) {\n if (!!bp) {\n const bpInList = this.printBreakpoints.find(it => it.mediaQuery === bp.mediaQuery);\n if (bpInList === undefined) {\n // If this is a `printAlias` breakpoint, then append. If a true 'print' breakpoint,\n // register as highest priority in the queue\n this.printBreakpoints = isPrintBreakPoint(bp) ? [bp, ...this.printBreakpoints]\n : [...this.printBreakpoints, bp];\n }\n }\n }\n /** Restore original activated breakpoints and clear internal caches */\n clear() {\n this.printBreakpoints = [];\n }\n}\n// ************************************************************************\n// Internal Utility methods\n// ************************************************************************\n/** Only support intercept queueing if the Breakpoint is a print @media query */\nfunction isPrintBreakPoint(bp) {\n return bp?.mediaQuery.startsWith(PRINT) ?? false;\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 * MediaMarshaller - register responsive values from directives and\n * trigger them based on media query events\n */\nclass MediaMarshaller {\n constructor(matchMedia, breakpoints, hook) {\n this.matchMedia = matchMedia;\n this.breakpoints = breakpoints;\n this.hook = hook;\n this._useFallbacks = true;\n this._activatedBreakpoints = [];\n this.elementMap = new Map();\n this.elementKeyMap = new WeakMap();\n this.watcherMap = new WeakMap(); // special triggers to update elements\n this.updateMap = new WeakMap(); // callback functions to update styles\n this.clearMap = new WeakMap(); // callback functions to clear styles\n this.subject = new Subject();\n this.observeActivations();\n }\n get activatedAlias() {\n return this.activatedBreakpoints[0]?.alias ?? '';\n }\n set activatedBreakpoints(bps) {\n this._activatedBreakpoints = [...bps];\n }\n get activatedBreakpoints() {\n return [...this._activatedBreakpoints];\n }\n set useFallbacks(value) {\n this._useFallbacks = value;\n }\n /**\n * Update styles on breakpoint activates or deactivates\n * @param mc\n */\n onMediaChange(mc) {\n const bp = this.findByQuery(mc.mediaQuery);\n if (bp) {\n mc = mergeAlias(mc, bp);\n const bpIndex = this.activatedBreakpoints.indexOf(bp);\n if (mc.matches && bpIndex === -1) {\n this._activatedBreakpoints.push(bp);\n this._activatedBreakpoints.sort(sortDescendingPriority);\n this.updateStyles();\n }\n else if (!mc.matches && bpIndex !== -1) {\n // Remove the breakpoint when it's deactivated\n this._activatedBreakpoints.splice(bpIndex, 1);\n this._activatedBreakpoints.sort(sortDescendingPriority);\n this.updateStyles();\n }\n }\n }\n /**\n * initialize the marshaller with necessary elements for delegation on an element\n * @param element\n * @param key\n * @param updateFn optional callback so that custom bp directives don't have to re-provide this\n * @param clearFn optional callback so that custom bp directives don't have to re-provide this\n * @param extraTriggers other triggers to force style updates (e.g. layout, directionality, etc)\n */\n init(element, key, updateFn, clearFn, extraTriggers = []) {\n initBuilderMap(this.updateMap, element, key, updateFn);\n initBuilderMap(this.clearMap, element, key, clearFn);\n this.buildElementKeyMap(element, key);\n this.watchExtraTriggers(element, key, extraTriggers);\n }\n /**\n * get the value for an element and key and optionally a given breakpoint\n * @param element\n * @param key\n * @param bp\n */\n getValue(element, key, bp) {\n const bpMap = this.elementMap.get(element);\n if (bpMap) {\n const values = bp !== undefined ? bpMap.get(bp) : this.getActivatedValues(bpMap, key);\n if (values) {\n return values.get(key);\n }\n }\n return undefined;\n }\n /**\n * whether the element has values for a given key\n * @param element\n * @param key\n */\n hasValue(element, key) {\n const bpMap = this.elementMap.get(element);\n if (bpMap) {\n const values = this.getActivatedValues(bpMap, key);\n if (values) {\n return values.get(key) !== undefined || false;\n }\n }\n return false;\n }\n /**\n * Set the value for an input on a directive\n * @param element the element in question\n * @param key the type of the directive (e.g. flex, layout-gap, etc)\n * @param bp the breakpoint suffix (empty string = default)\n * @param val the value for the breakpoint\n */\n setValue(element, key, val, bp) {\n let bpMap = this.elementMap.get(element);\n if (!bpMap) {\n bpMap = new Map().set(bp, new Map().set(key, val));\n this.elementMap.set(element, bpMap);\n }\n else {\n const values = (bpMap.get(bp) ?? new Map()).set(key, val);\n bpMap.set(bp, values);\n this.elementMap.set(element, bpMap);\n }\n const value = this.getValue(element, key);\n if (value !== undefined) {\n this.updateElement(element, key, value);\n }\n }\n /** Track element value changes for a specific key */\n trackValue(element, key) {\n return this.subject\n .asObservable()\n .pipe(filter(v => v.element === element && v.key === key));\n }\n /** update all styles for all elements on the current breakpoint */\n updateStyles() {\n this.elementMap.forEach((bpMap, el) => {\n const keyMap = new Set(this.elementKeyMap.get(el));\n let valueMap = this.getActivatedValues(bpMap);\n if (valueMap) {\n valueMap.forEach((v, k) => {\n this.updateElement(el, k, v);\n keyMap.delete(k);\n });\n }\n keyMap.forEach(k => {\n valueMap = this.getActivatedValues(bpMap, k);\n if (valueMap) {\n const value = valueMap.get(k);\n this.updateElement(el, k, value);\n }\n else {\n this.clearElement(el, k);\n }\n });\n });\n }\n /**\n * clear the styles for a given element\n * @param element\n * @param key\n */\n clearElement(element, key) {\n const builders = this.clearMap.get(element);\n if (builders) {\n const clearFn = builders.get(key);\n if (!!clearFn) {\n clearFn();\n this.subject.next({ element, key, value: '' });\n }\n }\n }\n /**\n * update a given element with the activated values for a given key\n * @param element\n * @param key\n * @param value\n */\n updateElement(element, key, value) {\n const builders = this.updateMap.get(element);\n if (builders) {\n const updateFn = builders.get(key);\n if (!!updateFn) {\n updateFn(value);\n this.subject.next({ element, key, value });\n }\n }\n }\n /**\n * release all references to a given element\n * @param element\n */\n releaseElement(element) {\n const watcherMap = this.watcherMap.get(element);\n if (watcherMap) {\n watcherMap.forEach(s => s.unsubscribe());\n this.watcherMap.delete(element);\n }\n const elementMap = this.elementMap.get(element);\n if (elementMap) {\n elementMap.forEach((_, s) => elementMap.delete(s));\n this.elementMap.delete(element);\n }\n }\n /**\n * trigger an update for a given element and key (e.g. layout)\n * @param element\n * @param key\n */\n triggerUpdate(element, key) {\n const bpMap = this.elementMap.get(element);\n if (bpMap) {\n const valueMap = this.getActivatedValues(bpMap, key);\n if (valueMap) {\n if (key) {\n this.updateElement(element, key, valueMap.get(key));\n }\n else {\n valueMap.forEach((v, k) => this.updateElement(element, k, v));\n }\n }\n }\n }\n /** Cross-reference for HTMLElement with directive key */\n buildElementKeyMap(element, key) {\n let keyMap = this.elementKeyMap.get(element);\n if (!keyMap) {\n keyMap = new Set();\n this.elementKeyMap.set(element, keyMap);\n }\n keyMap.add(key);\n }\n /**\n * Other triggers that should force style updates:\n * - directionality\n * - layout changes\n * - mutationobserver updates\n */\n watchExtraTriggers(element, key, triggers) {\n if (triggers && triggers.length) {\n let watchers = this.watcherMap.get(element);\n if (!watchers) {\n watchers = new Map();\n this.watcherMap.set(element, watchers);\n }\n const subscription = watchers.get(key);\n if (!subscription) {\n const newSubscription = merge(...triggers).subscribe(() => {\n const currentValue = this.getValue(element, key);\n this.updateElement(element, key, currentValue);\n });\n watchers.set(key, newSubscription);\n }\n }\n }\n /** Breakpoint locator by mediaQuery */\n findByQuery(query) {\n return this.breakpoints.findByQuery(query);\n }\n /**\n * get the fallback breakpoint for a given element, starting with the current breakpoint\n * @param bpMap\n * @param key\n */\n getActivatedValues(bpMap, key) {\n for (let i = 0; i < this.activatedBreakpoints.length; i++) {\n const activatedBp = this.activatedBreakpoints[i];\n const valueMap = bpMap.get(activatedBp.alias);\n if (valueMap) {\n if (key === undefined || (valueMap.has(key) && valueMap.get(key) != null)) {\n return valueMap;\n }\n }\n }\n // On the server, we explicitly have an \"all\" section filled in to begin with.\n // So we don't need to aggressively find a fallback if no explicit value exists.\n if (!this._useFallbacks) {\n return undefined;\n }\n const lastHope = bpMap.get('');\n return (key === undefined || lastHope && lastHope.has(key)) ? lastHope : undefined;\n }\n /**\n * Watch for mediaQuery breakpoint activations\n */\n observeActivations() {\n const queries = this.breakpoints.items.map(bp => bp.mediaQuery);\n this.hook.registerBeforeAfterPrintHooks(this);\n this.matchMedia\n .observe(this.hook.withPrintQuery(queries))\n .pipe(tap(this.hook.interceptEvents(this)), filter(this.hook.blockPropagation()))\n .subscribe(this.onMediaChange.bind(this));\n }\n}\nMediaMarshaller.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: MediaMarshaller, deps: [{ token: MatchMedia }, { token: BreakPointRegistry }, { token: PrintHook }], target: i0.ɵɵFactoryTarget.Injectable });\nMediaMarshaller.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: MediaMarshaller, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: MediaMarshaller, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: MatchMedia }, { type: BreakPointRegistry }, { type: PrintHook }]; } });\nfunction initBuilderMap(map, element, key, input) {\n if (input !== undefined) {\n const oldMap = map.get(element) ?? new Map();\n oldMap.set(key, input);\n map.set(element, oldMap);\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 */\nclass BaseDirective2 {\n constructor(elementRef, styleBuilder, styler, marshal) {\n this.elementRef = elementRef;\n this.styleBuilder = styleBuilder;\n this.styler = styler;\n this.marshal = marshal;\n this.DIRECTIVE_KEY = '';\n this.inputs = [];\n /** The most recently used styles for the builder */\n this.mru = {};\n this.destroySubject = new Subject();\n /** Cache map for style computation */\n this.styleCache = new Map();\n }\n /** Access to host element's parent DOM node */\n get parentElement() {\n return this.elementRef.nativeElement.parentElement;\n }\n /** Access to the HTMLElement for the directive */\n get nativeElement() {\n return this.elementRef.nativeElement;\n }\n /** Access to the activated value for the directive */\n get activatedValue() {\n return this.marshal.getValue(this.nativeElement, this.DIRECTIVE_KEY);\n }\n set activatedValue(value) {\n this.marshal.setValue(this.nativeElement, this.DIRECTIVE_KEY, value, this.marshal.activatedAlias);\n }\n /** For @Input changes */\n ngOnChanges(changes) {\n Object.keys(changes).forEach(key => {\n if (this.inputs.indexOf(key) !== -1) {\n const bp = key.split('.').slice(1).join('.');\n const val = changes[key].currentValue;\n this.setValue(val, bp);\n }\n });\n }\n ngOnDestroy() {\n this.destroySubject.next();\n this.destroySubject.complete();\n this.marshal.releaseElement(this.nativeElement);\n }\n /** Register with central marshaller service */\n init(extraTriggers = []) {\n this.marshal.init(this.elementRef.nativeElement, this.DIRECTIVE_KEY, this.updateWithValue.bind(this), this.clearStyles.bind(this), extraTriggers);\n }\n /** Add styles to the element using predefined style builder */\n addStyles(input, parent) {\n const builder = this.styleBuilder;\n const useCache = builder.shouldCache;\n let genStyles = this.styleCache.get(input);\n if (!genStyles || !useCache) {\n genStyles = builder.buildStyles(input, parent);\n if (useCache) {\n this.styleCache.set(input, genStyles);\n }\n }\n this.mru = { ...genStyles };\n this.applyStyleToElement(genStyles);\n builder.sideEffect(input, genStyles, parent);\n }\n /** Remove generated styles from an element using predefined style builder */\n clearStyles() {\n Object.keys(this.mru).forEach(k => {\n this.mru[k] = '';\n });\n this.applyStyleToElement(this.mru);\n this.mru = {};\n this.currentValue = undefined;\n }\n /** Force trigger style updates on DOM element */\n triggerUpdate() {\n this.marshal.triggerUpdate(this.nativeElement, this.DIRECTIVE_KEY);\n }\n /**\n * Determine the DOM element's Flexbox flow (flex-direction).\n *\n * Check inline style first then check computed (stylesheet) style.\n * And optionally add the flow value to element's inline style.\n */\n getFlexFlowDirection(target, addIfMissing = false) {\n if (target) {\n const [value, hasInlineValue] = this.styler.getFlowDirection(target);\n if (!hasInlineValue && addIfMissing) {\n const style = buildLayoutCSS(value);\n const elements = [target];\n this.styler.applyStyleToElements(style, elements);\n }\n return value.trim();\n }\n return 'row';\n }\n hasWrap(target) {\n return this.styler.hasWrap(target);\n }\n /** Applies styles given via string pair or object map to the directive element */\n applyStyleToElement(style, value, element = this.nativeElement) {\n this.styler.applyStyleToElement(element, style, value);\n }\n setValue(val, bp) {\n this.marshal.setValue(this.nativeElement, this.DIRECTIVE_KEY, val, bp);\n }\n updateWithValue(input) {\n if (this.currentValue !== input) {\n this.addStyles(input);\n this.currentValue = input;\n }\n }\n}\nBaseDirective2.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: BaseDirective2, deps: [{ token: i0.ElementRef }, { token: StyleBuilder }, { token: StyleUtils }, { token: MediaMarshaller }], target: i0.ɵɵFactoryTarget.Directive });\nBaseDirective2.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: BaseDirective2, usesOnChanges: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: BaseDirective2, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: StyleBuilder }, { type: StyleUtils }, { type: MediaMarshaller }]; } });\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\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 * MockMatchMedia mocks calls to the Window API matchMedia with a build of a simulated\n * MockMediaQueryListener. Methods are available to simulate an activation of a mediaQuery\n * range and to clearAll mediaQuery listeners.\n */\nclass MockMatchMedia extends MatchMedia {\n constructor(_zone, _platformId, _document, _breakpoints) {\n super(_zone, _platformId, _document);\n this._breakpoints = _breakpoints;\n this.autoRegisterQueries = true; // Used for testing BreakPoint registrations\n this.useOverlaps = false; // Allow fallback to overlapping mediaQueries\n }\n /** Easy method to clear all listeners for all mediaQueries */\n clearAll() {\n this.registry.forEach((mql) => {\n mql.destroy();\n });\n this.registry.clear();\n this.useOverlaps = false;\n }\n /** Feature to support manual, simulated activation of a mediaQuery. */\n activate(mediaQuery, useOverlaps = this.useOverlaps) {\n mediaQuery = this._validateQuery(mediaQuery);\n if (useOverlaps || !this.isActive(mediaQuery)) {\n this._deactivateAll();\n this._registerMediaQuery(mediaQuery);\n this._activateWithOverlaps(mediaQuery, useOverlaps);\n }\n return this.hasActivated;\n }\n /** Converts an optional mediaQuery alias to a specific, valid mediaQuery */\n _validateQuery(queryOrAlias) {\n const bp = this._breakpoints.findByAlias(queryOrAlias);\n return bp?.mediaQuery ?? queryOrAlias;\n }\n /**\n * Manually onMediaChange any overlapping mediaQueries to simulate\n * similar functionality in the window.matchMedia()\n */\n _activateWithOverlaps(mediaQuery, useOverlaps) {\n if (useOverlaps) {\n const bp = this._breakpoints.findByQuery(mediaQuery);\n const alias = bp?.alias ?? 'unknown';\n // Simulate activation of overlapping lt-<XXX> ranges\n switch (alias) {\n case 'lg':\n this._activateByAlias(['lt-xl']);\n break;\n case 'md':\n this._activateByAlias(['lt-xl', 'lt-lg']);\n break;\n case 'sm':\n this._activateByAlias(['lt-xl', 'lt-lg', 'lt-md']);\n break;\n case 'xs':\n this._activateByAlias(['lt-xl', 'lt-lg', 'lt-md', 'lt-sm']);\n break;\n }\n // Simulate activation of overlapping gt-<xxxx> mediaQuery ranges\n switch (alias) {\n case 'xl':\n this._activateByAlias(['gt-lg', 'gt-md', 'gt-sm', 'gt-xs']);\n break;\n case 'lg':\n this._activateByAlias(['gt-md', 'gt-sm', 'gt-xs']);\n break;\n case 'md':\n this._activateByAlias(['gt-sm', 'gt-xs']);\n break;\n case 'sm':\n this._activateByAlias(['gt-xs']);\n break;\n }\n }\n // Activate last since the responsiveActivation is watching *this* mediaQuery\n return this._activateByQuery(mediaQuery);\n }\n /**\n *\n */\n _activateByAlias(aliases) {\n const activate = (alias) => {\n const bp = this._breakpoints.findByAlias(alias);\n this._activateByQuery(bp?.mediaQuery ?? alias);\n };\n aliases.forEach(activate);\n }\n /**\n *\n */\n _activateByQuery(mediaQuery) {\n if (!this.registry.has(mediaQuery) && this.autoRegisterQueries) {\n this._registerMediaQuery(mediaQuery);\n }\n const mql = this.registry.get(mediaQuery);\n if (mql && !this.isActive(mediaQuery)) {\n this.registry.set(mediaQuery, mql.activate());\n }\n return this.hasActivated;\n }\n /** Deactivate all current MQLs and reset the buffer */\n _deactivateAll() {\n this.registry.forEach((it) => {\n it.deactivate();\n });\n return this;\n }\n /** Insure the mediaQuery is registered with MatchMedia */\n _registerMediaQuery(mediaQuery) {\n if (!this.registry.has(mediaQuery) && this.autoRegisterQueries) {\n this.registerQuery(mediaQuery);\n }\n }\n /**\n * Call window.matchMedia() to build a MediaQueryList; which\n * supports 0..n listeners for activation/deactivation\n */\n buildMQL(query) {\n return new MockMediaQueryList(query);\n }\n get hasActivated() {\n return this.activations.length > 0;\n }\n}\nMockMatchMedia.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: MockMatchMedia, deps: [{ token: i0.NgZone }, { token: PLATFORM_ID }, { token: DOCUMENT }, { token: BreakPointRegistry }], target: i0.ɵɵFactoryTarget.Injectable });\nMockMatchMedia.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: MockMatchMedia });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: MockMatchMedia, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: i0.NgZone }, { type: Object, decorators: [{\n type: Inject,\n args: [PLATFORM_ID]\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: BreakPointRegistry }]; } });\n/**\n * Special internal class to simulate a MediaQueryList and\n * - supports manual activation to simulate mediaQuery matching\n * - manages listeners\n */\nclass MockMediaQueryList extends EventTarget {\n constructor(_mediaQuery) {\n super();\n this._mediaQuery = _mediaQuery;\n this._isActive = false;\n this._listeners = [];\n this.onchange = null;\n }\n get matches() {\n return this._isActive;\n }\n get media() {\n return this._mediaQuery;\n }\n /**\n * Destroy the current list by deactivating the\n * listeners and clearing the internal list\n */\n destroy() {\n this.deactivate();\n this._listeners = [];\n }\n /** Notify all listeners that 'matches === TRUE' */\n activate() {\n if (!this._isActive) {\n this._isActive = true;\n this._listeners.forEach((callback) => {\n const cb = callback;\n cb.call(this, { matches: this.matches, media: this.media });\n });\n }\n return this;\n }\n /** Notify all listeners that 'matches === false' */\n deactivate() {\n if (this._isActive) {\n this._isActive = false;\n this._listeners.forEach((callback) => {\n const cb = callback;\n cb.call(this, { matches: this.matches, media: this.media });\n });\n }\n return this;\n }\n /** Add a listener to our internal list to activate later */\n addListener(listener) {\n if (this._listeners.indexOf(listener) === -1) {\n this._listeners.push(listener);\n }\n if (this._isActive) {\n const cb = listener;\n cb.call(this, { matches: this.matches, media: this.media });\n }\n }\n /** Don't need to remove listeners in the testing environment */\n removeListener(_) {\n }\n dispatchEvent(_) {\n return false;\n }\n}\n/**\n * Pre-configured provider for MockMatchMedia\n */\nconst MockMatchMediaProvider = {\n provide: MatchMedia,\n useClass: MockMatchMedia\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/** Wraps the provided value in an array, unless the provided value is an array. */\nfunction coerceArray(value) {\n return Array.isArray(value) ? value : [value];\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 * MediaObserver enables applications to listen for 1..n mediaQuery activations and to determine\n * if a mediaQuery is currently activated.\n *\n * Since a breakpoint change will first deactivate 1...n mediaQueries and then possibly activate\n * 1..n mediaQueries, the MediaObserver will debounce notifications and report ALL *activations*\n * in 1 event notification. The reported activations will be sorted in descending priority order.\n *\n * This class uses the BreakPoint Registry to inject alias information into the raw MediaChange\n * notification. For custom mediaQuery notifications, alias information will not be injected and\n * those fields will be ''.\n *\n * Note: Developers should note that only mediaChange activations (not de-activations)\n * are announced by the MediaObserver.\n *\n * @usage\n *\n * // RxJS\n * import { filter } from 'rxjs/operators';\n * import { MediaObserver } from '@angular/flex-layout';\n *\n * @Component({ ... })\n * export class AppComponent {\n * status: string = '';\n *\n * constructor(mediaObserver: MediaObserver) {\n * const media$ = mediaObserver.asObservable().pipe(\n * filter((changes: MediaChange[]) => true) // silly noop filter\n * );\n *\n * media$.subscribe((changes: MediaChange[]) => {\n * let status = '';\n * changes.forEach( change => {\n * status += `'${change.mqAlias}' = (${change.mediaQuery}) <br/>` ;\n * });\n * this.status = status;\n * });\n *\n * }\n * }\n */\nclass MediaObserver {\n constructor(breakpoints, matchMedia, hook) {\n this.breakpoints = breakpoints;\n this.matchMedia = matchMedia;\n this.hook = hook;\n /** Filter MediaChange notifications for overlapping breakpoints */\n this.filterOverlaps = false;\n this.destroyed$ = new Subject();\n this._media$ = this.watchActivations();\n }\n /**\n * Completes the active subject, signalling to all complete for all\n * MediaObserver subscribers\n */\n ngOnDestroy() {\n this.destroyed$.next();\n this.destroyed$.complete();\n }\n // ************************************************\n // Public Methods\n // ************************************************\n /**\n * Observe changes to current activation 'list'\n */\n asObservable() {\n return this._media$;\n }\n /**\n * Allow programmatic query to determine if one or more media query/alias match\n * the current viewport size.\n * @param value One or more media queries (or aliases) to check.\n * @returns Whether any of the media queries match.\n */\n isActive(value) {\n const aliases = splitQueries(coerceArray(value));\n return aliases.some(alias => {\n const query = toMediaQuery(alias, this.breakpoints);\n return query !== null && this.matchMedia.isActive(query);\n });\n }\n // ************************************************\n // Internal Methods\n // ************************************************\n /**\n * Register all the mediaQueries registered in the BreakPointRegistry\n * This is needed so subscribers can be auto-notified of all standard, registered\n * mediaQuery activations\n */\n watchActivations() {\n const queries = this.breakpoints.items.map(bp => bp.mediaQuery);\n return this.buildObservable(queries);\n }\n /**\n * Only pass/announce activations (not de-activations)\n *\n * Since multiple-mediaQueries can be activation in a cycle,\n * gather all current activations into a single list of changes to observers\n *\n * Inject associated (if any) alias information into the MediaChange event\n * - Exclude mediaQuery activations for overlapping mQs. List bounded mQ ranges only\n * - Exclude print activations that do not have an associated mediaQuery\n *\n * NOTE: the raw MediaChange events [from MatchMedia] do not\n * contain important alias information; as such this info\n * must be injected into the MediaChange\n */\n buildObservable(mqList) {\n const hasChanges = (changes) => {\n const isValidQuery = (change) => (change.mediaQuery.length > 0);\n return (changes.filter(isValidQuery).length > 0);\n };\n const excludeOverlaps = (changes) => {\n return !this.filterOverlaps ? changes : changes.filter(change => {\n const bp = this.breakpoints.findByQuery(change.mediaQuery);\n return bp?.overlapping ?? true;\n });\n };\n const ignoreDuplicates = (previous, current) => {\n if (previous.length !== current.length) {\n return false;\n }\n const previousMqs = previous.map(mc => mc.mediaQuery);\n const currentMqs = new Set(current.map(mc => mc.mediaQuery));\n const difference = new Set(previousMqs.filter(mq => !currentMqs.has(mq)));\n return difference.size === 0;\n };\n /**\n */\n return this.matchMedia\n .observe(this.hook.withPrintQuery(mqList))\n .pipe(filter((change) => change.matches), debounceTime(0, asapScheduler), switchMap(_ => of(this.findAllActivations())), map(excludeOverlaps), filter(hasChanges), distinctUntilChanged(ignoreDuplicates), takeUntil(this.destroyed$));\n }\n /**\n * Find all current activations and prepare single list of activations\n * sorted by descending priority.\n */\n findAllActivations() {\n const mergeMQAlias = (change) => {\n const bp = this.breakpoints.findByQuery(change.mediaQuery);\n return mergeAlias(change, bp);\n };\n const replaceWithPrintAlias = (change) => this.hook.isPrintEvent(change) ? this.hook.updateEvent(change) : change;\n return this.matchMedia\n .activations\n .map(query => new MediaChange(true, query))\n .map(replaceWithPrintAlias)\n .map(mergeMQAlias)\n .sort(sortDescendingPriority);\n }\n}\nMediaObserver.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: MediaObserver, deps: [{ token: BreakPointRegistry }, { token: MatchMedia }, { token: PrintHook }], target: i0.ɵɵFactoryTarget.Injectable });\nMediaObserver.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: MediaObserver, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: MediaObserver, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: BreakPointRegistry }, { type: MatchMedia }, { type: PrintHook }]; } });\n/**\n * Find associated breakpoint (if any)\n */\nfunction toMediaQuery(query, locator) {\n const bp = locator.findByAlias(query) ?? locator.findByQuery(query);\n return bp?.mediaQuery ?? null;\n}\n/**\n * Split each query string into separate query strings if two queries are provided as comma\n * separated.\n */\nfunction splitQueries(queries) {\n return queries.flatMap(query => query.split(','))\n .map(query => query.trim());\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/**\n * Class\n */\nclass MediaTrigger {\n constructor(breakpoints, matchMedia, layoutConfig, _platformId, _document) {\n this.breakpoints = breakpoints;\n this.matchMedia = matchMedia;\n this.layoutConfig = layoutConfig;\n this._platformId = _platformId;\n this._document = _document;\n this.hasCachedRegistryMatches = false;\n this.originalActivations = [];\n this.originalRegistry = new Map();\n }\n /**\n * Manually activate range of breakpoints\n * @param list array of mediaQuery or alias strings\n */\n activate(list) {\n list = list.map(it => it.trim()); // trim queries\n this.saveActivations();\n this.deactivateAll();\n this.setActivations(list);\n this.prepareAutoRestore();\n }\n /**\n * Restore original, 'real' breakpoints and emit events\n * to trigger stream notification\n */\n restore() {\n if (this.hasCachedRegistryMatches) {\n const extractQuery = (change) => change.mediaQuery;\n const list = this.originalActivations.map(extractQuery);\n try {\n this.deactivateAll();\n this.restoreRegistryMatches();\n this.setActivations(list);\n }\n finally {\n this.originalActivations = [];\n if (this.resizeSubscription) {\n this.resizeSubscription.unsubscribe();\n }\n }\n }\n }\n // ************************************************\n // Internal Methods\n // ************************************************\n /**\n * Whenever window resizes, immediately auto-restore original\n * activations (if we are simulating activations)\n */\n prepareAutoRestore() {\n const isBrowser = isPlatformBrowser(this._platformId) && this._document;\n const enableAutoRestore = isBrowser && this.layoutConfig.mediaTriggerAutoRestore;\n if (enableAutoRestore) {\n const resize$ = fromEvent(window, 'resize').pipe(take(1));\n this.resizeSubscription = resize$.subscribe(this.restore.bind(this));\n }\n }\n /**\n * Notify all matchMedia subscribers of de-activations\n *\n * Note: we must force 'matches' updates for\n * future matchMedia::activation lookups\n */\n deactivateAll() {\n const list = this.currentActivations;\n this.forceRegistryMatches(list, false);\n this.simulateMediaChanges(list, false);\n }\n /**\n * Cache current activations as sorted, prioritized list of MediaChanges\n */\n saveActivations() {\n if (!this.hasCachedRegistryMatches) {\n const toMediaChange = (query) => new MediaChange(true, query);\n const mergeMQAlias = (change) => {\n const bp = this.breakpoints.findByQuery(change.mediaQuery);\n return mergeAlias(change, bp);\n };\n this.originalActivations = this.currentActivations\n .map(toMediaChange)\n .map(mergeMQAlias)\n .sort(sortDescendingPriority);\n this.cacheRegistryMatches();\n }\n }\n /**\n * Force set manual activations for specified mediaQuery list\n */\n setActivations(list) {\n if (!!this.originalRegistry) {\n this.forceRegistryMatches(list, true);\n }\n this.simulateMediaChanges(list);\n }\n /**\n * For specified mediaQuery list manually simulate activations or deactivations\n */\n simulateMediaChanges(queries, matches = true) {\n const toMediaQuery = (query) => {\n const locator = this.breakpoints;\n const bp = locator.findByAlias(query) || locator.findByQuery(query);\n return bp ? bp.mediaQuery : query;\n };\n const emitChangeEvent = (query) => this.emitChangeEvent(matches, query);\n queries.map(toMediaQuery).forEach(emitChangeEvent);\n }\n /**\n * Replace current registry with simulated registry...\n * Note: this is required since MediaQueryList::matches is 'readOnly'\n */\n forceRegistryMatches(queries, matches) {\n const registry = new Map();\n queries.forEach(query => {\n registry.set(query, { matches });\n });\n this.matchMedia.registry = registry;\n }\n /**\n * Save current MatchMedia::registry items.\n */\n cacheRegistryMatches() {\n const target = this.originalRegistry;\n target.clear();\n this.matchMedia.registry.forEach((value, key) => {\n target.set(key, value);\n });\n this.hasCachedRegistryMatches = true;\n }\n /**\n * Restore original, 'true' registry\n */\n restoreRegistryMatches() {\n const target = this.matchMedia.registry;\n target.clear();\n this.originalRegistry.forEach((value, key) => {\n target.set(key, value);\n });\n this.originalRegistry.clear();\n this.hasCachedRegistryMatches = false;\n }\n /**\n * Manually emit a MediaChange event via the MatchMedia to MediaMarshaller and MediaObserver\n */\n emitChangeEvent(matches, query) {\n this.matchMedia.source.next(new MediaChange(matches, query));\n }\n get currentActivations() {\n return this.matchMedia.activations;\n }\n}\nMediaTrigger.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: MediaTrigger, deps: [{ token: BreakPointRegistry }, { token: MatchMedia }, { token: LAYOUT_CONFIG }, { token: PLATFORM_ID }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });\nMediaTrigger.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: MediaTrigger, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: MediaTrigger, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: BreakPointRegistry }, { type: MatchMedia }, { type: undefined, decorators: [{\n type: Inject,\n args: [LAYOUT_CONFIG]\n }] }, { type: Object, decorators: [{\n type: Inject,\n args: [PLATFORM_ID]\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\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\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* The flex API permits 3 or 1 parts of the value:\n* - `flex-grow flex-shrink flex-basis`, or\n* - `flex-basis`\n*/\nfunction validateBasis(basis, grow = '1', shrink = '1') {\n let parts = [grow, shrink, basis];\n let j = basis.indexOf('calc');\n if (j > 0) {\n parts[2] = _validateCalcValue(basis.substring(j).trim());\n let matches = basis.substr(0, j).trim().split(' ');\n if (matches.length == 2) {\n parts[0] = matches[0];\n parts[1] = matches[1];\n }\n }\n else if (j == 0) {\n parts[2] = _validateCalcValue(basis.trim());\n }\n else {\n let matches = basis.split(' ');\n parts = (matches.length === 3) ? matches : [\n grow, shrink, basis\n ];\n }\n return parts;\n}\n/**\n * Calc expressions require whitespace before & after any expression operators\n * This is a simple, crude whitespace padding solution.\n * - '3 3 calc(15em + 20px)'\n * - calc(100% / 7 * 2)\n * - 'calc(15em + 20px)'\n * - 'calc(15em+20px)'\n * - '37px'\n * = '43%'\n */\nfunction _validateCalcValue(calc) {\n return calc.replace(/[\\s]/g, '').replace(/[\\/\\*\\+\\-]/g, ' $& ');\n}\n\nconst MULTIPLIER_SUFFIX = 'x';\nfunction multiply(value, multiplier) {\n if (multiplier === undefined) {\n return value;\n }\n const transformValue = (possibleValue) => {\n const numberValue = +(possibleValue.slice(0, -MULTIPLIER_SUFFIX.length));\n if (value.endsWith(MULTIPLIER_SUFFIX) && !isNaN(numberValue)) {\n return `${numberValue * multiplier.value}${multiplier.unit}`;\n }\n return value;\n };\n return value.includes(' ') ?\n value.split(' ').map(transformValue).join(' ') : transformValue(value);\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 * Generated bundle index. Do not edit.\n */\n\nexport { BREAKPOINT, BREAKPOINTS, BREAKPOINT_PRINT, BROWSER_PROVIDER, BaseDirective2, BreakPointRegistry, CLASS_NAME, CoreModule, DEFAULT_BREAKPOINTS, DEFAULT_CONFIG, LAYOUT_CONFIG, MediaChange, MediaMarshaller, MediaObserver, MediaTrigger, ORIENTATION_BREAKPOINTS, PrintHook, SERVER_TOKEN, ScreenTypes, StyleBuilder, StyleUtils, StylesheetMap, coerceArray, mergeAlias, removeStyles, sortAscendingPriority, sortDescendingPriority, validateBasis, MatchMedia as ɵMatchMedia, MockMatchMedia as ɵMockMatchMedia, MockMatchMediaProvider as ɵMockMatchMediaProvider, multiply as ɵmultiply };\n","import * as i0 from '@angular/core';\nimport { Injectable, PLATFORM_ID, Directive, Inject, Input, Optional, Self, SecurityContext, NgModule } from '@angular/core';\nimport * as i1 from '@angular/flex-layout/core';\nimport { StyleBuilder, BaseDirective2, SERVER_TOKEN, LAYOUT_CONFIG, CoreModule } from '@angular/flex-layout/core';\nimport * as i2 from '@angular/common';\nimport { isPlatformServer, NgClass, NgStyle } from '@angular/common';\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { takeUntil } from 'rxjs/operators';\nimport * as i2$1 from '@angular/platform-browser';\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 */\nclass ImgSrcStyleBuilder extends StyleBuilder {\n buildStyles(url) {\n return { 'content': url ? `url(${url})` : '' };\n }\n}\nImgSrcStyleBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: ImgSrcStyleBuilder, deps: null, target: i0.ɵɵFactoryTarget.Injectable });\nImgSrcStyleBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: ImgSrcStyleBuilder, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: ImgSrcStyleBuilder, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }] });\nclass ImgSrcDirective extends BaseDirective2 {\n constructor(elementRef, styleBuilder, styler, marshal, platformId, serverModuleLoaded) {\n super(elementRef, styleBuilder, styler, marshal);\n this.platformId = platformId;\n this.serverModuleLoaded = serverModuleLoaded;\n this.DIRECTIVE_KEY = 'img-src';\n this.defaultSrc = '';\n this.styleCache = imgSrcCache;\n this.init();\n this.setValue(this.nativeElement.getAttribute('src') || '', '');\n if (isPlatformServer(this.platformId) && this.serverModuleLoaded) {\n this.nativeElement.setAttribute('src', '');\n }\n }\n set src(val) {\n this.defaultSrc = val;\n this.setValue(this.defaultSrc, '');\n }\n /**\n * Use the [responsively] activated input value to update\n * the host img src attribute or assign a default `img.src=''`\n * if the src has not been defined.\n *\n * Do nothing to standard `<img src=\"\">` usages, only when responsive\n * keys are present do we actually call `setAttribute()`\n */\n updateWithValue(value) {\n const url = value || this.defaultSrc;\n if (isPlatformServer(this.platformId) && this.serverModuleLoaded) {\n this.addStyles(url);\n }\n else {\n this.nativeElement.setAttribute('src', url);\n }\n }\n}\nImgSrcDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: ImgSrcDirective, deps: [{ token: i0.ElementRef }, { token: ImgSrcStyleBuilder }, { token: i1.StyleUtils }, { token: i1.MediaMarshaller }, { token: PLATFORM_ID }, { token: SERVER_TOKEN }], target: i0.ɵɵFactoryTarget.Directive });\nImgSrcDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: ImgSrcDirective, inputs: { src: \"src\" }, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: ImgSrcDirective, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: ImgSrcStyleBuilder }, { type: i1.StyleUtils }, { type: i1.MediaMarshaller }, { type: Object, decorators: [{\n type: Inject,\n args: [PLATFORM_ID]\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [SERVER_TOKEN]\n }] }]; }, propDecorators: { src: [{\n type: Input,\n args: ['src']\n }] } });\nconst imgSrcCache = new Map();\nconst inputs$3 = [\n 'src.xs', 'src.sm', 'src.md', 'src.lg', 'src.xl',\n 'src.lt-sm', 'src.lt-md', 'src.lt-lg', 'src.lt-xl',\n 'src.gt-xs', 'src.gt-sm', 'src.gt-md', 'src.gt-lg'\n];\nconst selector$3 = `\n img[src.xs], img[src.sm], img[src.md], img[src.lg], img[src.xl],\n img[src.lt-sm], img[src.lt-md], img[src.lt-lg], img[src.lt-xl],\n img[src.gt-xs], img[src.gt-sm], img[src.gt-md], img[src.gt-lg]\n`;\n/**\n * This directive provides a responsive API for the HTML <img> 'src' attribute\n * and will update the img.src property upon each responsive activation.\n *\n * e.g.\n * <img src=\"defaultScene.jpg\" src.xs=\"mobileScene.jpg\"></img>\n *\n * @see https://css-tricks.com/responsive-images-youre-just-changing-resolutions-use-src/\n */\nclass DefaultImgSrcDirective extends ImgSrcDirective {\n constructor() {\n super(...arguments);\n this.inputs = inputs$3;\n }\n}\nDefaultImgSrcDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultImgSrcDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });\nDefaultImgSrcDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: DefaultImgSrcDirective, selector: \"\\n img[src.xs], img[src.sm], img[src.md], img[src.lg], img[src.xl],\\n img[src.lt-sm], img[src.lt-md], img[src.lt-lg], img[src.lt-xl],\\n img[src.gt-xs], img[src.gt-sm], img[src.gt-md], img[src.gt-lg]\\n\", inputs: { \"src.xs\": \"src.xs\", \"src.sm\": \"src.sm\", \"src.md\": \"src.md\", \"src.lg\": \"src.lg\", \"src.xl\": \"src.xl\", \"src.lt-sm\": \"src.lt-sm\", \"src.lt-md\": \"src.lt-md\", \"src.lt-lg\": \"src.lt-lg\", \"src.lt-xl\": \"src.lt-xl\", \"src.gt-xs\": \"src.gt-xs\", \"src.gt-sm\": \"src.gt-sm\", \"src.gt-md\": \"src.gt-md\", \"src.gt-lg\": \"src.gt-lg\" }, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultImgSrcDirective, decorators: [{\n type: Directive,\n args: [{ selector: selector$3, inputs: inputs$3 }]\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 */\nclass ClassDirective extends BaseDirective2 {\n constructor(elementRef, styler, marshal, iterableDiffers, keyValueDiffers, renderer2, ngClassInstance) {\n super(elementRef, null, styler, marshal);\n this.ngClassInstance = ngClassInstance;\n this.DIRECTIVE_KEY = 'ngClass';\n if (!this.ngClassInstance) {\n // Create an instance NgClass Directive instance only if `ngClass=\"\"` has NOT been defined on\n // the same host element; since the responsive variations may be defined...\n this.ngClassInstance = new NgClass(iterableDiffers, keyValueDiffers, elementRef, renderer2);\n }\n this.init();\n this.setValue('', '');\n }\n /**\n * Capture class assignments so we cache the default classes\n * which are merged with activated styles and used as fallbacks.\n */\n set klass(val) {\n this.ngClassInstance.klass = val;\n this.setValue(val, '');\n }\n updateWithValue(value) {\n this.ngClassInstance.ngClass = value;\n this.ngClassInstance.ngDoCheck();\n }\n // ******************************************************************\n // Lifecycle Hooks\n // ******************************************************************\n /**\n * For ChangeDetectionStrategy.onPush and ngOnChanges() updates\n */\n ngDoCheck() {\n this.ngClassInstance.ngDoCheck();\n }\n}\nClassDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: ClassDirective, deps: [{ token: i0.ElementRef }, { token: i1.StyleUtils }, { token: i1.MediaMarshaller }, { token: i0.IterableDiffers }, { token: i0.KeyValueDiffers }, { token: i0.Renderer2 }, { token: i2.NgClass, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive });\nClassDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: ClassDirective, inputs: { klass: [\"class\", \"klass\"] }, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: ClassDirective, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.StyleUtils }, { type: i1.MediaMarshaller }, { type: i0.IterableDiffers }, { type: i0.KeyValueDiffers }, { type: i0.Renderer2 }, { type: i2.NgClass, decorators: [{\n type: Optional\n }, {\n type: Self\n }] }]; }, propDecorators: { klass: [{\n type: Input,\n args: ['class']\n }] } });\nconst inputs$2 = [\n 'ngClass', 'ngClass.xs', 'ngClass.sm', 'ngClass.md', 'ngClass.lg', 'ngClass.xl',\n 'ngClass.lt-sm', 'ngClass.lt-md', 'ngClass.lt-lg', 'ngClass.lt-xl',\n 'ngClass.gt-xs', 'ngClass.gt-sm', 'ngClass.gt-md', 'ngClass.gt-lg'\n];\nconst selector$2 = `\n [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl],\n [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl],\n [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]\n`;\n/**\n * Directive to add responsive support for ngClass.\n * This maintains the core functionality of 'ngClass' and adds responsive API\n * Note: this class is a no-op when rendered on the server\n */\nclass DefaultClassDirective extends ClassDirective {\n constructor() {\n super(...arguments);\n this.inputs = inputs$2;\n }\n}\nDefaultClassDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultClassDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });\nDefaultClassDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: DefaultClassDirective, selector: \"\\n [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl],\\n [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl],\\n [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]\\n\", inputs: { ngClass: \"ngClass\", \"ngClass.xs\": \"ngClass.xs\", \"ngClass.sm\": \"ngClass.sm\", \"ngClass.md\": \"ngClass.md\", \"ngClass.lg\": \"ngClass.lg\", \"ngClass.xl\": \"ngClass.xl\", \"ngClass.lt-sm\": \"ngClass.lt-sm\", \"ngClass.lt-md\": \"ngClass.lt-md\", \"ngClass.lt-lg\": \"ngClass.lt-lg\", \"ngClass.lt-xl\": \"ngClass.lt-xl\", \"ngClass.gt-xs\": \"ngClass.gt-xs\", \"ngClass.gt-sm\": \"ngClass.gt-sm\", \"ngClass.gt-md\": \"ngClass.gt-md\", \"ngClass.gt-lg\": \"ngClass.gt-lg\" }, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultClassDirective, decorators: [{\n type: Directive,\n args: [{ selector: selector$2, inputs: inputs$2 }]\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 */\nclass ShowHideStyleBuilder extends StyleBuilder {\n buildStyles(show, parent) {\n const shouldShow = show === 'true';\n return { 'display': shouldShow ? parent.display || (parent.isServer ? 'initial' : '') : 'none' };\n }\n}\nShowHideStyleBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: ShowHideStyleBuilder, deps: null, target: i0.ɵɵFactoryTarget.Injectable });\nShowHideStyleBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: ShowHideStyleBuilder, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: ShowHideStyleBuilder, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }] });\nclass ShowHideDirective extends BaseDirective2 {\n constructor(elementRef, styleBuilder, styler, marshal, layoutConfig, platformId, serverModuleLoaded) {\n super(elementRef, styleBuilder, styler, marshal);\n this.layoutConfig = layoutConfig;\n this.platformId = platformId;\n this.serverModuleLoaded = serverModuleLoaded;\n this.DIRECTIVE_KEY = 'show-hide';\n /** Original DOM Element CSS display style */\n this.display = '';\n this.hasLayout = false;\n this.hasFlexChild = false;\n }\n // *********************************************\n // Lifecycle Methods\n // *********************************************\n ngAfterViewInit() {\n this.trackExtraTriggers();\n const children = Array.from(this.nativeElement.children);\n for (let i = 0; i < children.length; i++) {\n if (this.marshal.hasValue(children[i], 'flex')) {\n this.hasFlexChild = true;\n break;\n }\n }\n if (DISPLAY_MAP.has(this.nativeElement)) {\n this.display = DISPLAY_MAP.get(this.nativeElement);\n }\n else {\n this.display = this.getDisplayStyle();\n DISPLAY_MAP.set(this.nativeElement, this.display);\n }\n this.init();\n // set the default to show unless explicitly overridden\n const defaultValue = this.marshal.getValue(this.nativeElement, this.DIRECTIVE_KEY, '');\n if (defaultValue === undefined || defaultValue === '') {\n this.setValue(true, '');\n }\n else {\n this.triggerUpdate();\n }\n }\n /**\n * On changes to any @Input properties...\n * Default to use the non-responsive Input value ('fxShow')\n * Then conditionally override with the mq-activated Input's current value\n */\n ngOnChanges(changes) {\n Object.keys(changes).forEach(key => {\n if (this.inputs.indexOf(key) !== -1) {\n const inputKey = key.split('.');\n const bp = inputKey.slice(1).join('.');\n const inputValue = changes[key].currentValue;\n let shouldShow = inputValue !== '' ?\n inputValue !== 0 ? coerceBooleanProperty(inputValue) : false\n : true;\n if (inputKey[0] === 'fxHide') {\n shouldShow = !shouldShow;\n }\n this.setValue(shouldShow, bp);\n }\n });\n }\n // *********************************************\n // Protected methods\n // *********************************************\n /**\n * Watch for these extra triggers to update fxShow, fxHide stylings\n */\n trackExtraTriggers() {\n this.hasLayout = this.marshal.hasValue(this.nativeElement, 'layout');\n ['layout', 'layout-align'].forEach(key => {\n this.marshal\n .trackValue(this.nativeElement, key)\n .pipe(takeUntil(this.destroySubject))\n .subscribe(this.triggerUpdate.bind(this));\n });\n }\n /**\n * Override accessor to the current HTMLElement's `display` style\n * Note: Show/Hide will not change the display to 'flex' but will set it to 'block'\n * unless it was already explicitly specified inline or in a CSS stylesheet.\n */\n getDisplayStyle() {\n return (this.hasLayout || (this.hasFlexChild && this.layoutConfig.addFlexToParent)) ?\n 'flex' : this.styler.lookupStyle(this.nativeElement, 'display', true);\n }\n /** Validate the visibility value and then update the host's inline display style */\n updateWithValue(value = true) {\n if (value === '') {\n return;\n }\n const isServer = isPlatformServer(this.platformId);\n this.addStyles(value ? 'true' : 'false', { display: this.display, isServer });\n if (isServer && this.serverModuleLoaded) {\n this.nativeElement.style.setProperty('display', '');\n }\n this.marshal.triggerUpdate(this.parentElement, 'layout-gap');\n }\n}\nShowHideDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: ShowHideDirective, deps: [{ token: i0.ElementRef }, { token: ShowHideStyleBuilder }, { token: i1.StyleUtils }, { token: i1.MediaMarshaller }, { token: LAYOUT_CONFIG }, { token: PLATFORM_ID }, { token: SERVER_TOKEN }], target: i0.ɵɵFactoryTarget.Directive });\nShowHideDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: ShowHideDirective, usesInheritance: true, usesOnChanges: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: ShowHideDirective, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: ShowHideStyleBuilder }, { type: i1.StyleUtils }, { type: i1.MediaMarshaller }, { type: undefined, decorators: [{\n type: Inject,\n args: [LAYOUT_CONFIG]\n }] }, { type: Object, decorators: [{\n type: Inject,\n args: [PLATFORM_ID]\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [SERVER_TOKEN]\n }] }]; } });\nconst DISPLAY_MAP = new WeakMap();\nconst inputs$1 = [\n 'fxShow', 'fxShow.print',\n 'fxShow.xs', 'fxShow.sm', 'fxShow.md', 'fxShow.lg', 'fxShow.xl',\n 'fxShow.lt-sm', 'fxShow.lt-md', 'fxShow.lt-lg', 'fxShow.lt-xl',\n 'fxShow.gt-xs', 'fxShow.gt-sm', 'fxShow.gt-md', 'fxShow.gt-lg',\n 'fxHide', 'fxHide.print',\n 'fxHide.xs', 'fxHide.sm', 'fxHide.md', 'fxHide.lg', 'fxHide.xl',\n 'fxHide.lt-sm', 'fxHide.lt-md', 'fxHide.lt-lg', 'fxHide.lt-xl',\n 'fxHide.gt-xs', 'fxHide.gt-sm', 'fxHide.gt-md', 'fxHide.gt-lg'\n];\nconst selector$1 = `\n [fxShow], [fxShow.print],\n [fxShow.xs], [fxShow.sm], [fxShow.md], [fxShow.lg], [fxShow.xl],\n [fxShow.lt-sm], [fxShow.lt-md], [fxShow.lt-lg], [fxShow.lt-xl],\n [fxShow.gt-xs], [fxShow.gt-sm], [fxShow.gt-md], [fxShow.gt-lg],\n [fxHide], [fxHide.print],\n [fxHide.xs], [fxHide.sm], [fxHide.md], [fxHide.lg], [fxHide.xl],\n [fxHide.lt-sm], [fxHide.lt-md], [fxHide.lt-lg], [fxHide.lt-xl],\n [fxHide.gt-xs], [fxHide.gt-sm], [fxHide.gt-md], [fxHide.gt-lg]\n`;\n/**\n * 'show' Layout API directive\n */\nclass DefaultShowHideDirective extends ShowHideDirective {\n constructor() {\n super(...arguments);\n this.inputs = inputs$1;\n }\n}\nDefaultShowHideDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultShowHideDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });\nDefaultShowHideDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: DefaultShowHideDirective, selector: \"\\n [fxShow], [fxShow.print],\\n [fxShow.xs], [fxShow.sm], [fxShow.md], [fxShow.lg], [fxShow.xl],\\n [fxShow.lt-sm], [fxShow.lt-md], [fxShow.lt-lg], [fxShow.lt-xl],\\n [fxShow.gt-xs], [fxShow.gt-sm], [fxShow.gt-md], [fxShow.gt-lg],\\n [fxHide], [fxHide.print],\\n [fxHide.xs], [fxHide.sm], [fxHide.md], [fxHide.lg], [fxHide.xl],\\n [fxHide.lt-sm], [fxHide.lt-md], [fxHide.lt-lg], [fxHide.lt-xl],\\n [fxHide.gt-xs], [fxHide.gt-sm], [fxHide.gt-md], [fxHide.gt-lg]\\n\", inputs: { fxShow: \"fxShow\", \"fxShow.print\": \"fxShow.print\", \"fxShow.xs\": \"fxShow.xs\", \"fxShow.sm\": \"fxShow.sm\", \"fxShow.md\": \"fxShow.md\", \"fxShow.lg\": \"fxShow.lg\", \"fxShow.xl\": \"fxShow.xl\", \"fxShow.lt-sm\": \"fxShow.lt-sm\", \"fxShow.lt-md\": \"fxShow.lt-md\", \"fxShow.lt-lg\": \"fxShow.lt-lg\", \"fxShow.lt-xl\": \"fxShow.lt-xl\", \"fxShow.gt-xs\": \"fxShow.gt-xs\", \"fxShow.gt-sm\": \"fxShow.gt-sm\", \"fxShow.gt-md\": \"fxShow.gt-md\", \"fxShow.gt-lg\": \"fxShow.gt-lg\", fxHide: \"fxHide\", \"fxHide.print\": \"fxHide.print\", \"fxHide.xs\": \"fxHide.xs\", \"fxHide.sm\": \"fxHide.sm\", \"fxHide.md\": \"fxHide.md\", \"fxHide.lg\": \"fxHide.lg\", \"fxHide.xl\": \"fxHide.xl\", \"fxHide.lt-sm\": \"fxHide.lt-sm\", \"fxHide.lt-md\": \"fxHide.lt-md\", \"fxHide.lt-lg\": \"fxHide.lt-lg\", \"fxHide.lt-xl\": \"fxHide.lt-xl\", \"fxHide.gt-xs\": \"fxHide.gt-xs\", \"fxHide.gt-sm\": \"fxHide.gt-sm\", \"fxHide.gt-md\": \"fxHide.gt-md\", \"fxHide.gt-lg\": \"fxHide.gt-lg\" }, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultShowHideDirective, decorators: [{\n type: Directive,\n args: [{ selector: selector$1, inputs: inputs$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/** NgStyle allowed inputs */\nclass NgStyleKeyValue {\n constructor(key, value, noQuotes = true) {\n this.key = key;\n this.value = value;\n this.key = noQuotes ? key.replace(/['\"]/g, '').trim() : key.trim();\n this.value = noQuotes ? value.replace(/['\"]/g, '').trim() : value.trim();\n this.value = this.value.replace(/;/, '');\n }\n}\nfunction getType(target) {\n let what = typeof target;\n if (what === 'object') {\n return (target.constructor === Array) ? 'array' :\n (target.constructor === Set) ? 'set' : 'object';\n }\n return what;\n}\n/**\n * Split string of key:value pairs into Array of k-v pairs\n * e.g. 'key:value; key:value; key:value;' -> ['key:value',...]\n */\nfunction buildRawList(source, delimiter = ';') {\n return String(source)\n .trim()\n .split(delimiter)\n .map((val) => val.trim())\n .filter(val => val !== '');\n}\n/** Convert array of key:value strings to a iterable map object */\nfunction buildMapFromList$1(styles, sanitize) {\n const sanitizeValue = (it) => {\n if (sanitize) {\n it.value = sanitize(it.value);\n }\n return it;\n };\n return styles\n .map(stringToKeyValue)\n .filter(entry => !!entry)\n .map(sanitizeValue)\n .reduce(keyValuesToMap, {});\n}\n/** Convert Set<string> or raw Object to an iterable NgStyleMap */\nfunction buildMapFromSet(source, sanitize) {\n let list = [];\n if (getType(source) === 'set') {\n source.forEach(entry => list.push(entry));\n }\n else {\n Object.keys(source).forEach((key) => {\n list.push(`${key}:${source[key]}`);\n });\n }\n return buildMapFromList$1(list, sanitize);\n}\n/** Convert 'key:value' -> [key, value] */\nfunction stringToKeyValue(it) {\n const [key, ...vals] = it.split(':');\n return new NgStyleKeyValue(key, vals.join(':'));\n}\n/** Convert [ [key,value] ] -> { key : value } */\nfunction keyValuesToMap(map, entry) {\n if (!!entry.key) {\n map[entry.key] = entry.value;\n }\n return map;\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 */\nclass StyleDirective extends BaseDirective2 {\n constructor(elementRef, styler, marshal, sanitizer, differs, renderer2, ngStyleInstance, serverLoaded, platformId) {\n super(elementRef, null, styler, marshal);\n this.sanitizer = sanitizer;\n this.ngStyleInstance = ngStyleInstance;\n this.DIRECTIVE_KEY = 'ngStyle';\n if (!this.ngStyleInstance) {\n // Create an instance NgStyle Directive instance only if `ngStyle=\"\"` has NOT been\n // defined on the same host element; since the responsive variations may be defined...\n this.ngStyleInstance = new NgStyle(elementRef, differs, renderer2);\n }\n this.init();\n const styles = this.nativeElement.getAttribute('style') ?? '';\n this.fallbackStyles = this.buildStyleMap(styles);\n this.isServer = serverLoaded && isPlatformServer(platformId);\n }\n /** Add generated styles */\n updateWithValue(value) {\n const styles = this.buildStyleMap(value);\n this.ngStyleInstance.ngStyle = { ...this.fallbackStyles, ...styles };\n if (this.isServer) {\n this.applyStyleToElement(styles);\n }\n this.ngStyleInstance.ngDoCheck();\n }\n /** Remove generated styles */\n clearStyles() {\n this.ngStyleInstance.ngStyle = this.fallbackStyles;\n this.ngStyleInstance.ngDoCheck();\n }\n /**\n * Convert raw strings to ngStyleMap; which is required by ngStyle\n * NOTE: Raw string key-value pairs MUST be delimited by `;`\n * Comma-delimiters are not supported due to complexities of\n * possible style values such as `rgba(x,x,x,x)` and others\n */\n buildStyleMap(styles) {\n // Always safe-guard (aka sanitize) style property values\n const sanitizer = (val) => this.sanitizer.sanitize(SecurityContext.STYLE, val) ?? '';\n if (styles) {\n switch (getType(styles)) {\n case 'string': return buildMapFromList(buildRawList(styles), sanitizer);\n case 'array': return buildMapFromList(styles, sanitizer);\n case 'set': return buildMapFromSet(styles, sanitizer);\n default: return buildMapFromSet(styles, sanitizer);\n }\n }\n return {};\n }\n // ******************************************************************\n // Lifecycle Hooks\n // ******************************************************************\n /** For ChangeDetectionStrategy.onPush and ngOnChanges() updates */\n ngDoCheck() {\n this.ngStyleInstance.ngDoCheck();\n }\n}\nStyleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: StyleDirective, deps: [{ token: i0.ElementRef }, { token: i1.StyleUtils }, { token: i1.MediaMarshaller }, { token: i2$1.DomSanitizer }, { token: i0.KeyValueDiffers }, { token: i0.Renderer2 }, { token: i2.NgStyle, optional: true, self: true }, { token: SERVER_TOKEN }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Directive });\nStyleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: StyleDirective, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: StyleDirective, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.StyleUtils }, { type: i1.MediaMarshaller }, { type: i2$1.DomSanitizer }, { type: i0.KeyValueDiffers }, { type: i0.Renderer2 }, { type: i2.NgStyle, decorators: [{\n type: Optional\n }, {\n type: Self\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [SERVER_TOKEN]\n }] }, { type: Object, decorators: [{\n type: Inject,\n args: [PLATFORM_ID]\n }] }]; } });\nconst inputs = [\n 'ngStyle',\n 'ngStyle.xs', 'ngStyle.sm', 'ngStyle.md', 'ngStyle.lg', 'ngStyle.xl',\n 'ngStyle.lt-sm', 'ngStyle.lt-md', 'ngStyle.lt-lg', 'ngStyle.lt-xl',\n 'ngStyle.gt-xs', 'ngStyle.gt-sm', 'ngStyle.gt-md', 'ngStyle.gt-lg'\n];\nconst selector = `\n [ngStyle],\n [ngStyle.xs], [ngStyle.sm], [ngStyle.md], [ngStyle.lg], [ngStyle.xl],\n [ngStyle.lt-sm], [ngStyle.lt-md], [ngStyle.lt-lg], [ngStyle.lt-xl],\n [ngStyle.gt-xs], [ngStyle.gt-sm], [ngStyle.gt-md], [ngStyle.gt-lg]\n`;\n/**\n * Directive to add responsive support for ngStyle.\n *\n */\nclass DefaultStyleDirective extends StyleDirective {\n constructor() {\n super(...arguments);\n this.inputs = inputs;\n }\n}\nDefaultStyleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultStyleDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });\nDefaultStyleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: DefaultStyleDirective, selector: \"\\n [ngStyle],\\n [ngStyle.xs], [ngStyle.sm], [ngStyle.md], [ngStyle.lg], [ngStyle.xl],\\n [ngStyle.lt-sm], [ngStyle.lt-md], [ngStyle.lt-lg], [ngStyle.lt-xl],\\n [ngStyle.gt-xs], [ngStyle.gt-sm], [ngStyle.gt-md], [ngStyle.gt-lg]\\n\", inputs: { ngStyle: \"ngStyle\", \"ngStyle.xs\": \"ngStyle.xs\", \"ngStyle.sm\": \"ngStyle.sm\", \"ngStyle.md\": \"ngStyle.md\", \"ngStyle.lg\": \"ngStyle.lg\", \"ngStyle.xl\": \"ngStyle.xl\", \"ngStyle.lt-sm\": \"ngStyle.lt-sm\", \"ngStyle.lt-md\": \"ngStyle.lt-md\", \"ngStyle.lt-lg\": \"ngStyle.lt-lg\", \"ngStyle.lt-xl\": \"ngStyle.lt-xl\", \"ngStyle.gt-xs\": \"ngStyle.gt-xs\", \"ngStyle.gt-sm\": \"ngStyle.gt-sm\", \"ngStyle.gt-md\": \"ngStyle.gt-md\", \"ngStyle.gt-lg\": \"ngStyle.gt-lg\" }, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultStyleDirective, decorators: [{\n type: Directive,\n args: [{ selector, inputs }]\n }] });\n/** Build a styles map from a list of styles, while sanitizing bad values first */\nfunction buildMapFromList(styles, sanitize) {\n const sanitizeValue = (it) => {\n if (sanitize) {\n it.value = sanitize(it.value);\n }\n return it;\n };\n return styles\n .map(stringToKeyValue)\n .filter(entry => !!entry)\n .map(sanitizeValue)\n .reduce(keyValuesToMap, {});\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 */\nconst ALL_DIRECTIVES = [\n DefaultShowHideDirective,\n DefaultClassDirective,\n DefaultStyleDirective,\n DefaultImgSrcDirective,\n];\n/**\n * *****************************************************************\n * Define module for the Extended API\n * *****************************************************************\n */\nclass ExtendedModule {\n}\nExtendedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: ExtendedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\nExtendedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"15.0.2\", ngImport: i0, type: ExtendedModule, declarations: [DefaultShowHideDirective,\n DefaultClassDirective,\n DefaultStyleDirective,\n DefaultImgSrcDirective], imports: [CoreModule], exports: [DefaultShowHideDirective,\n DefaultClassDirective,\n DefaultStyleDirective,\n DefaultImgSrcDirective] });\nExtendedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: ExtendedModule, imports: [CoreModule] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: ExtendedModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [CoreModule],\n declarations: [...ALL_DIRECTIVES],\n exports: [...ALL_DIRECTIVES]\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/**\n * Generated bundle index. Do not edit.\n */\n\nexport { ClassDirective, DefaultClassDirective, DefaultImgSrcDirective, DefaultShowHideDirective, DefaultStyleDirective, ExtendedModule, ImgSrcDirective, ImgSrcStyleBuilder, ShowHideDirective, ShowHideStyleBuilder, StyleDirective };\n","import * as i0 from '@angular/core';\nimport { Injectable, Directive, Inject, Input, NgModule } from '@angular/core';\nimport * as i2 from '@angular/cdk/bidi';\nimport { BidiModule } from '@angular/cdk/bidi';\nimport * as i1 from '@angular/flex-layout/core';\nimport { StyleBuilder, BaseDirective2, LAYOUT_CONFIG, ɵmultiply, validateBasis, CoreModule } from '@angular/flex-layout/core';\nimport { buildLayoutCSS, LAYOUT_VALUES, isFlowHorizontal, extendObject } from '@angular/flex-layout/_private-utils';\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\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 */\nclass LayoutStyleBuilder extends StyleBuilder {\n buildStyles(input, { display }) {\n const css = buildLayoutCSS(input);\n return {\n ...css,\n display: display === 'none' ? display : css.display,\n };\n }\n}\nLayoutStyleBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: LayoutStyleBuilder, deps: null, target: i0.ɵɵFactoryTarget.Injectable });\nLayoutStyleBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: LayoutStyleBuilder, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: LayoutStyleBuilder, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }] });\nconst inputs$6 = [\n 'fxLayout', 'fxLayout.xs', 'fxLayout.sm', 'fxLayout.md',\n 'fxLayout.lg', 'fxLayout.xl', 'fxLayout.lt-sm', 'fxLayout.lt-md',\n 'fxLayout.lt-lg', 'fxLayout.lt-xl', 'fxLayout.gt-xs', 'fxLayout.gt-sm',\n 'fxLayout.gt-md', 'fxLayout.gt-lg'\n];\nconst selector$6 = `\n [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md],\n [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md],\n [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm],\n [fxLayout.gt-md], [fxLayout.gt-lg]\n`;\n/**\n * 'layout' flexbox styling directive\n * Defines the positioning flow direction for the child elements: row or column\n * Optional values: column or row (default)\n * @see https://css-tricks.com/almanac/properties/f/flex-direction/\n *\n */\nclass LayoutDirective extends BaseDirective2 {\n constructor(elRef, styleUtils, styleBuilder, marshal, _config) {\n super(elRef, styleBuilder, styleUtils, marshal);\n this._config = _config;\n this.DIRECTIVE_KEY = 'layout';\n this.init();\n }\n updateWithValue(input) {\n const detectLayoutDisplay = this._config.detectLayoutDisplay;\n const display = detectLayoutDisplay ? this.styler.lookupStyle(this.nativeElement, 'display') : '';\n this.styleCache = cacheMap.get(display) ?? new Map();\n cacheMap.set(display, this.styleCache);\n if (this.currentValue !== input) {\n this.addStyles(input, { display });\n this.currentValue = input;\n }\n }\n}\nLayoutDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: LayoutDirective, deps: [{ token: i0.ElementRef }, { token: i1.StyleUtils }, { token: LayoutStyleBuilder }, { token: i1.MediaMarshaller }, { token: LAYOUT_CONFIG }], target: i0.ɵɵFactoryTarget.Directive });\nLayoutDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: LayoutDirective, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: LayoutDirective, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.StyleUtils }, { type: LayoutStyleBuilder }, { type: i1.MediaMarshaller }, { type: undefined, decorators: [{\n type: Inject,\n args: [LAYOUT_CONFIG]\n }] }]; } });\nclass DefaultLayoutDirective extends LayoutDirective {\n constructor() {\n super(...arguments);\n this.inputs = inputs$6;\n }\n}\nDefaultLayoutDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultLayoutDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });\nDefaultLayoutDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: DefaultLayoutDirective, selector: \"\\n [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md],\\n [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md],\\n [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm],\\n [fxLayout.gt-md], [fxLayout.gt-lg]\\n\", inputs: { fxLayout: \"fxLayout\", \"fxLayout.xs\": \"fxLayout.xs\", \"fxLayout.sm\": \"fxLayout.sm\", \"fxLayout.md\": \"fxLayout.md\", \"fxLayout.lg\": \"fxLayout.lg\", \"fxLayout.xl\": \"fxLayout.xl\", \"fxLayout.lt-sm\": \"fxLayout.lt-sm\", \"fxLayout.lt-md\": \"fxLayout.lt-md\", \"fxLayout.lt-lg\": \"fxLayout.lt-lg\", \"fxLayout.lt-xl\": \"fxLayout.lt-xl\", \"fxLayout.gt-xs\": \"fxLayout.gt-xs\", \"fxLayout.gt-sm\": \"fxLayout.gt-sm\", \"fxLayout.gt-md\": \"fxLayout.gt-md\", \"fxLayout.gt-lg\": \"fxLayout.gt-lg\" }, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultLayoutDirective, decorators: [{\n type: Directive,\n args: [{ selector: selector$6, inputs: inputs$6 }]\n }] });\nconst cacheMap = new 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 */\nconst CLEAR_MARGIN_CSS = {\n 'margin-left': null,\n 'margin-right': null,\n 'margin-top': null,\n 'margin-bottom': null\n};\nclass LayoutGapStyleBuilder extends StyleBuilder {\n constructor(_styler, _config) {\n super();\n this._styler = _styler;\n this._config = _config;\n }\n buildStyles(gapValue, parent) {\n if (gapValue.endsWith(GRID_SPECIFIER)) {\n gapValue = gapValue.slice(0, gapValue.indexOf(GRID_SPECIFIER));\n gapValue = ɵmultiply(gapValue, this._config.multiplier);\n // Add the margin to the host element\n return buildGridMargin(gapValue, parent.directionality);\n }\n else {\n return {};\n }\n }\n sideEffect(gapValue, _styles, parent) {\n const items = parent.items;\n if (gapValue.endsWith(GRID_SPECIFIER)) {\n gapValue = gapValue.slice(0, gapValue.indexOf(GRID_SPECIFIER));\n gapValue = ɵmultiply(gapValue, this._config.multiplier);\n // For each `element` children, set the padding\n const paddingStyles = buildGridPadding(gapValue, parent.directionality);\n this._styler.applyStyleToElements(paddingStyles, parent.items);\n }\n else {\n gapValue = ɵmultiply(gapValue, this._config.multiplier);\n gapValue = this.addFallbackUnit(gapValue);\n const lastItem = items.pop();\n // For each `element` children EXCEPT the last,\n // set the margin right/bottom styles...\n const gapCss = buildGapCSS(gapValue, parent);\n this._styler.applyStyleToElements(gapCss, items);\n // Clear all gaps for all visible elements\n this._styler.applyStyleToElements(CLEAR_MARGIN_CSS, [lastItem]);\n }\n }\n addFallbackUnit(value) {\n return !isNaN(+value) ? `${value}${this._config.defaultUnit}` : value;\n }\n}\nLayoutGapStyleBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: LayoutGapStyleBuilder, deps: [{ token: i1.StyleUtils }, { token: LAYOUT_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable });\nLayoutGapStyleBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: LayoutGapStyleBuilder, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: LayoutGapStyleBuilder, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: i1.StyleUtils }, { type: undefined, decorators: [{\n type: Inject,\n args: [LAYOUT_CONFIG]\n }] }]; } });\nconst inputs$5 = [\n 'fxLayoutGap', 'fxLayoutGap.xs', 'fxLayoutGap.sm', 'fxLayoutGap.md',\n 'fxLayoutGap.lg', 'fxLayoutGap.xl', 'fxLayoutGap.lt-sm', 'fxLayoutGap.lt-md',\n 'fxLayoutGap.lt-lg', 'fxLayoutGap.lt-xl', 'fxLayoutGap.gt-xs', 'fxLayoutGap.gt-sm',\n 'fxLayoutGap.gt-md', 'fxLayoutGap.gt-lg'\n];\nconst selector$5 = `\n [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md],\n [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md],\n [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm],\n [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]\n`;\n/**\n * 'layout-padding' styling directive\n * Defines padding of child elements in a layout container\n */\nclass LayoutGapDirective extends BaseDirective2 {\n constructor(elRef, zone, directionality, styleUtils, styleBuilder, marshal) {\n super(elRef, styleBuilder, styleUtils, marshal);\n this.zone = zone;\n this.directionality = directionality;\n this.styleUtils = styleUtils;\n this.layout = 'row'; // default flex-direction\n this.DIRECTIVE_KEY = 'layout-gap';\n this.observerSubject = new Subject();\n const extraTriggers = [this.directionality.change, this.observerSubject.asObservable()];\n this.init(extraTriggers);\n this.marshal\n .trackValue(this.nativeElement, 'layout')\n .pipe(takeUntil(this.destroySubject))\n .subscribe(this.onLayoutChange.bind(this));\n }\n /** Special accessor to query for all child 'element' nodes regardless of type, class, etc */\n get childrenNodes() {\n const obj = this.nativeElement.children;\n const buffer = [];\n // iterate backwards ensuring that length is an UInt32\n for (let i = obj.length; i--;) {\n buffer[i] = obj[i];\n }\n return buffer;\n }\n // *********************************************\n // Lifecycle Methods\n // *********************************************\n ngAfterContentInit() {\n this.buildChildObservable();\n this.triggerUpdate();\n }\n ngOnDestroy() {\n super.ngOnDestroy();\n if (this.observer) {\n this.observer.disconnect();\n }\n }\n // *********************************************\n // Protected methods\n // *********************************************\n /**\n * Cache the parent container 'flex-direction' and update the 'margin' styles\n */\n onLayoutChange(matcher) {\n const layout = matcher.value;\n // Make sure to filter out 'wrap' option\n const direction = layout.split(' ');\n this.layout = direction[0];\n if (!LAYOUT_VALUES.find(x => x === this.layout)) {\n this.layout = 'row';\n }\n this.triggerUpdate();\n }\n /**\n *\n */\n updateWithValue(value) {\n // Gather all non-hidden Element nodes\n const items = this.childrenNodes\n .filter(el => el.nodeType === 1 && this.willDisplay(el))\n .sort((a, b) => {\n const orderA = +this.styler.lookupStyle(a, 'order');\n const orderB = +this.styler.lookupStyle(b, 'order');\n if (isNaN(orderA) || isNaN(orderB) || orderA === orderB) {\n return 0;\n }\n else {\n return orderA > orderB ? 1 : -1;\n }\n });\n if (items.length > 0) {\n const directionality = this.directionality.value;\n const layout = this.layout;\n if (layout === 'row' && directionality === 'rtl') {\n this.styleCache = layoutGapCacheRowRtl;\n }\n else if (layout === 'row' && directionality !== 'rtl') {\n this.styleCache = layoutGapCacheRowLtr;\n }\n else if (layout === 'column' && directionality === 'rtl') {\n this.styleCache = layoutGapCacheColumnRtl;\n }\n else if (layout === 'column' && directionality !== 'rtl') {\n this.styleCache = layoutGapCacheColumnLtr;\n }\n this.addStyles(value, { directionality, items, layout });\n }\n }\n /** We need to override clearStyles because in most cases mru isn't populated */\n clearStyles() {\n const gridMode = Object.keys(this.mru).length > 0;\n const childrenStyle = gridMode ? 'padding' :\n getMarginType(this.directionality.value, this.layout);\n // If there are styles on the parent remove them\n if (gridMode) {\n super.clearStyles();\n }\n // Then remove the children styles too\n this.styleUtils.applyStyleToElements({ [childrenStyle]: '' }, this.childrenNodes);\n }\n /** Determine if an element will show or hide based on current activation */\n willDisplay(source) {\n const value = this.marshal.getValue(source, 'show-hide');\n return value === true ||\n (value === undefined && this.styleUtils.lookupStyle(source, 'display') !== 'none');\n }\n buildChildObservable() {\n this.zone.runOutsideAngular(() => {\n if (typeof MutationObserver !== 'undefined') {\n this.observer = new MutationObserver((mutations) => {\n const validatedChanges = (it) => {\n return (it.addedNodes && it.addedNodes.length > 0) ||\n (it.removedNodes && it.removedNodes.length > 0);\n };\n // update gap styles only for child 'added' or 'removed' events\n if (mutations.some(validatedChanges)) {\n this.observerSubject.next();\n }\n });\n this.observer.observe(this.nativeElement, { childList: true });\n }\n });\n }\n}\nLayoutGapDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: LayoutGapDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i2.Directionality }, { token: i1.StyleUtils }, { token: LayoutGapStyleBuilder }, { token: i1.MediaMarshaller }], target: i0.ɵɵFactoryTarget.Directive });\nLayoutGapDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: LayoutGapDirective, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: LayoutGapDirective, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i2.Directionality }, { type: i1.StyleUtils }, { type: LayoutGapStyleBuilder }, { type: i1.MediaMarshaller }]; } });\nclass DefaultLayoutGapDirective extends LayoutGapDirective {\n constructor() {\n super(...arguments);\n this.inputs = inputs$5;\n }\n}\nDefaultLayoutGapDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultLayoutGapDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });\nDefaultLayoutGapDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: DefaultLayoutGapDirective, selector: \"\\n [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md],\\n [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md],\\n [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm],\\n [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]\\n\", inputs: { fxLayoutGap: \"fxLayoutGap\", \"fxLayoutGap.xs\": \"fxLayoutGap.xs\", \"fxLayoutGap.sm\": \"fxLayoutGap.sm\", \"fxLayoutGap.md\": \"fxLayoutGap.md\", \"fxLayoutGap.lg\": \"fxLayoutGap.lg\", \"fxLayoutGap.xl\": \"fxLayoutGap.xl\", \"fxLayoutGap.lt-sm\": \"fxLayoutGap.lt-sm\", \"fxLayoutGap.lt-md\": \"fxLayoutGap.lt-md\", \"fxLayoutGap.lt-lg\": \"fxLayoutGap.lt-lg\", \"fxLayoutGap.lt-xl\": \"fxLayoutGap.lt-xl\", \"fxLayoutGap.gt-xs\": \"fxLayoutGap.gt-xs\", \"fxLayoutGap.gt-sm\": \"fxLayoutGap.gt-sm\", \"fxLayoutGap.gt-md\": \"fxLayoutGap.gt-md\", \"fxLayoutGap.gt-lg\": \"fxLayoutGap.gt-lg\" }, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultLayoutGapDirective, decorators: [{\n type: Directive,\n args: [{ selector: selector$5, inputs: inputs$5 }]\n }] });\nconst layoutGapCacheRowRtl = new Map();\nconst layoutGapCacheColumnRtl = new Map();\nconst layoutGapCacheRowLtr = new Map();\nconst layoutGapCacheColumnLtr = new Map();\nconst GRID_SPECIFIER = ' grid';\nfunction buildGridPadding(value, directionality) {\n const [between, below] = value.split(' ');\n const bottom = below ?? between;\n let paddingRight = '0px', paddingBottom = bottom, paddingLeft = '0px';\n if (directionality === 'rtl') {\n paddingLeft = between;\n }\n else {\n paddingRight = between;\n }\n return { 'padding': `0px ${paddingRight} ${paddingBottom} ${paddingLeft}` };\n}\nfunction buildGridMargin(value, directionality) {\n const [between, below] = value.split(' ');\n const bottom = below ?? between;\n const minus = (str) => `-${str}`;\n let marginRight = '0px', marginBottom = minus(bottom), marginLeft = '0px';\n if (directionality === 'rtl') {\n marginLeft = minus(between);\n }\n else {\n marginRight = minus(between);\n }\n return { 'margin': `0px ${marginRight} ${marginBottom} ${marginLeft}` };\n}\nfunction getMarginType(directionality, layout) {\n switch (layout) {\n case 'column':\n return 'margin-bottom';\n case 'column-reverse':\n return 'margin-top';\n case 'row':\n return directionality === 'rtl' ? 'margin-left' : 'margin-right';\n case 'row-reverse':\n return directionality === 'rtl' ? 'margin-right' : 'margin-left';\n default:\n return directionality === 'rtl' ? 'margin-left' : 'margin-right';\n }\n}\nfunction buildGapCSS(gapValue, parent) {\n const key = getMarginType(parent.directionality, parent.layout);\n const margins = { ...CLEAR_MARGIN_CSS };\n margins[key] = gapValue;\n return margins;\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 */\nclass FlexStyleBuilder extends StyleBuilder {\n constructor(layoutConfig) {\n super();\n this.layoutConfig = layoutConfig;\n }\n buildStyles(input, parent) {\n let [grow, shrink, ...basisParts] = input.split(' ');\n let basis = basisParts.join(' ');\n // The flex-direction of this element's flex container. Defaults to 'row'.\n const direction = (parent.direction.indexOf('column') > -1) ? 'column' : 'row';\n const max = isFlowHorizontal(direction) ? 'max-width' : 'max-height';\n const min = isFlowHorizontal(direction) ? 'min-width' : 'min-height';\n const hasCalc = String(basis).indexOf('calc') > -1;\n const usingCalc = hasCalc || (basis === 'auto');\n const isPercent = String(basis).indexOf('%') > -1 && !hasCalc;\n const hasUnits = String(basis).indexOf('px') > -1 || String(basis).indexOf('rem') > -1 ||\n String(basis).indexOf('em') > -1 || String(basis).indexOf('vw') > -1 ||\n String(basis).indexOf('vh') > -1;\n let isValue = (hasCalc || hasUnits);\n grow = (grow == '0') ? 0 : grow;\n shrink = (shrink == '0') ? 0 : shrink;\n // make box inflexible when shrink and grow are both zero\n // should not set a min when the grow is zero\n // should not set a max when the shrink is zero\n const isFixed = !grow && !shrink;\n let css = {};\n // flex-basis allows you to specify the initial/starting main-axis size of the element,\n // before anything else is computed. It can either be a percentage or an absolute value.\n // It is, however, not the breaking point for flex-grow/shrink properties\n //\n // flex-grow can be seen as this:\n // 0: Do not stretch. Either size to element's content width, or obey 'flex-basis'.\n // 1: (Default value). Stretch; will be the same size to all other flex items on\n // the same row since they have a default value of 1.\n // ≥2 (integer n): Stretch. Will be n times the size of other elements\n // with 'flex-grow: 1' on the same row.\n // Use `null` to clear existing styles.\n const clearStyles = {\n 'max-width': null,\n 'max-height': null,\n 'min-width': null,\n 'min-height': null\n };\n switch (basis || '') {\n case '':\n const useColumnBasisZero = this.layoutConfig.useColumnBasisZero !== false;\n basis = direction === 'row' ? '0%' : (useColumnBasisZero ? '0.000000001px' : 'auto');\n break;\n case 'initial': // default\n case 'nogrow':\n grow = 0;\n basis = 'auto';\n break;\n case 'grow':\n basis = '100%';\n break;\n case 'noshrink':\n shrink = 0;\n basis = 'auto';\n break;\n case 'auto':\n break;\n case 'none':\n grow = 0;\n shrink = 0;\n basis = 'auto';\n break;\n default:\n // Defaults to percentage sizing unless `px` is explicitly set\n if (!isValue && !isPercent && !isNaN(basis)) {\n basis = basis + '%';\n }\n // Fix for issue 280\n if (basis === '0%') {\n isValue = true;\n }\n if (basis === '0px') {\n basis = '0%';\n }\n // fix issue #5345\n if (hasCalc) {\n css = extendObject(clearStyles, {\n 'flex-grow': grow,\n 'flex-shrink': shrink,\n 'flex-basis': isValue ? basis : '100%'\n });\n }\n else {\n css = extendObject(clearStyles, {\n 'flex': `${grow} ${shrink} ${isValue ? basis : '100%'}`\n });\n }\n break;\n }\n if (!(css['flex'] || css['flex-grow'])) {\n if (hasCalc) {\n css = extendObject(clearStyles, {\n 'flex-grow': grow,\n 'flex-shrink': shrink,\n 'flex-basis': basis\n });\n }\n else {\n css = extendObject(clearStyles, {\n 'flex': `${grow} ${shrink} ${basis}`\n });\n }\n }\n // Fix for issues 277, 534, and 728\n if (basis !== '0%' && basis !== '0px' && basis !== '0.000000001px' && basis !== 'auto') {\n css[min] = isFixed || (isValue && grow) ? basis : null;\n css[max] = isFixed || (!usingCalc && shrink) ? basis : null;\n }\n // Fix for issue 528\n if (!css[min] && !css[max]) {\n if (hasCalc) {\n css = extendObject(clearStyles, {\n 'flex-grow': grow,\n 'flex-shrink': shrink,\n 'flex-basis': basis\n });\n }\n else {\n css = extendObject(clearStyles, {\n 'flex': `${grow} ${shrink} ${basis}`\n });\n }\n }\n else {\n // Fix for issue 660\n if (parent.hasWrap) {\n css[hasCalc ? 'flex-basis' : 'flex'] = css[max] ?\n (hasCalc ? css[max] : `${grow} ${shrink} ${css[max]}`) :\n (hasCalc ? css[min] : `${grow} ${shrink} ${css[min]}`);\n }\n }\n return extendObject(css, { 'box-sizing': 'border-box' });\n }\n}\nFlexStyleBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: FlexStyleBuilder, deps: [{ token: LAYOUT_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable });\nFlexStyleBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: FlexStyleBuilder, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: FlexStyleBuilder, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [LAYOUT_CONFIG]\n }] }]; } });\nconst inputs$4 = [\n 'fxFlex', 'fxFlex.xs', 'fxFlex.sm', 'fxFlex.md',\n 'fxFlex.lg', 'fxFlex.xl', 'fxFlex.lt-sm', 'fxFlex.lt-md',\n 'fxFlex.lt-lg', 'fxFlex.lt-xl', 'fxFlex.gt-xs', 'fxFlex.gt-sm',\n 'fxFlex.gt-md', 'fxFlex.gt-lg'\n];\nconst selector$4 = `\n [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md],\n [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md],\n [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm],\n [fxFlex.gt-md], [fxFlex.gt-lg]\n`;\n/**\n * Directive to control the size of a flex item using flex-basis, flex-grow, and flex-shrink.\n * Corresponds to the css `flex` shorthand property.\n *\n * @see https://css-tricks.com/snippets/css/a-guide-to-flexbox/\n */\nclass FlexDirective extends BaseDirective2 {\n constructor(elRef, styleUtils, layoutConfig, styleBuilder, marshal) {\n super(elRef, styleBuilder, styleUtils, marshal);\n this.layoutConfig = layoutConfig;\n this.marshal = marshal;\n this.DIRECTIVE_KEY = 'flex';\n this.direction = undefined;\n this.wrap = undefined;\n this.flexGrow = '1';\n this.flexShrink = '1';\n this.init();\n }\n get shrink() { return this.flexShrink; }\n set shrink(value) {\n this.flexShrink = value || '1';\n this.triggerReflow();\n }\n get grow() { return this.flexGrow; }\n set grow(value) {\n this.flexGrow = value || '1';\n this.triggerReflow();\n }\n ngOnInit() {\n if (this.parentElement) {\n this.marshal.trackValue(this.parentElement, 'layout')\n .pipe(takeUntil(this.destroySubject))\n .subscribe(this.onLayoutChange.bind(this));\n this.marshal.trackValue(this.nativeElement, 'layout-align')\n .pipe(takeUntil(this.destroySubject))\n .subscribe(this.triggerReflow.bind(this));\n }\n }\n /**\n * Caches the parent container's 'flex-direction' and updates the element's style.\n * Used as a handler for layout change events from the parent flex container.\n */\n onLayoutChange(matcher) {\n const layout = matcher.value;\n const layoutParts = layout.split(' ');\n this.direction = layoutParts[0];\n this.wrap = layoutParts[1] !== undefined && layoutParts[1] === 'wrap';\n this.triggerUpdate();\n }\n /** Input to this is exclusively the basis input value */\n updateWithValue(value) {\n const addFlexToParent = this.layoutConfig.addFlexToParent !== false;\n if (this.direction === undefined) {\n this.direction = this.getFlexFlowDirection(this.parentElement, addFlexToParent);\n }\n if (this.wrap === undefined) {\n this.wrap = this.hasWrap(this.parentElement);\n }\n const direction = this.direction;\n const isHorizontal = direction.startsWith('row');\n const hasWrap = this.wrap;\n if (isHorizontal && hasWrap) {\n this.styleCache = flexRowWrapCache;\n }\n else if (isHorizontal && !hasWrap) {\n this.styleCache = flexRowCache;\n }\n else if (!isHorizontal && hasWrap) {\n this.styleCache = flexColumnWrapCache;\n }\n else if (!isHorizontal && !hasWrap) {\n this.styleCache = flexColumnCache;\n }\n const basis = String(value).replace(';', '');\n const parts = validateBasis(basis, this.flexGrow, this.flexShrink);\n this.addStyles(parts.join(' '), { direction, hasWrap });\n }\n /** Trigger a style reflow, usually based on a shrink/grow input event */\n triggerReflow() {\n const activatedValue = this.activatedValue;\n if (activatedValue !== undefined) {\n const parts = validateBasis(activatedValue + '', this.flexGrow, this.flexShrink);\n this.marshal.updateElement(this.nativeElement, this.DIRECTIVE_KEY, parts.join(' '));\n }\n }\n}\nFlexDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: FlexDirective, deps: [{ token: i0.ElementRef }, { token: i1.StyleUtils }, { token: LAYOUT_CONFIG }, { token: FlexStyleBuilder }, { token: i1.MediaMarshaller }], target: i0.ɵɵFactoryTarget.Directive });\nFlexDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: FlexDirective, inputs: { shrink: [\"fxShrink\", \"shrink\"], grow: [\"fxGrow\", \"grow\"] }, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: FlexDirective, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.StyleUtils }, { type: undefined, decorators: [{\n type: Inject,\n args: [LAYOUT_CONFIG]\n }] }, { type: FlexStyleBuilder }, { type: i1.MediaMarshaller }]; }, propDecorators: { shrink: [{\n type: Input,\n args: ['fxShrink']\n }], grow: [{\n type: Input,\n args: ['fxGrow']\n }] } });\nclass DefaultFlexDirective extends FlexDirective {\n constructor() {\n super(...arguments);\n this.inputs = inputs$4;\n }\n}\nDefaultFlexDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultFlexDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });\nDefaultFlexDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: DefaultFlexDirective, selector: \"\\n [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md],\\n [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md],\\n [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm],\\n [fxFlex.gt-md], [fxFlex.gt-lg]\\n\", inputs: { fxFlex: \"fxFlex\", \"fxFlex.xs\": \"fxFlex.xs\", \"fxFlex.sm\": \"fxFlex.sm\", \"fxFlex.md\": \"fxFlex.md\", \"fxFlex.lg\": \"fxFlex.lg\", \"fxFlex.xl\": \"fxFlex.xl\", \"fxFlex.lt-sm\": \"fxFlex.lt-sm\", \"fxFlex.lt-md\": \"fxFlex.lt-md\", \"fxFlex.lt-lg\": \"fxFlex.lt-lg\", \"fxFlex.lt-xl\": \"fxFlex.lt-xl\", \"fxFlex.gt-xs\": \"fxFlex.gt-xs\", \"fxFlex.gt-sm\": \"fxFlex.gt-sm\", \"fxFlex.gt-md\": \"fxFlex.gt-md\", \"fxFlex.gt-lg\": \"fxFlex.gt-lg\" }, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultFlexDirective, decorators: [{\n type: Directive,\n args: [{ inputs: inputs$4, selector: selector$4 }]\n }] });\nconst flexRowCache = new Map();\nconst flexColumnCache = new Map();\nconst flexRowWrapCache = new Map();\nconst flexColumnWrapCache = new 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 */\nclass FlexOrderStyleBuilder extends StyleBuilder {\n buildStyles(value) {\n return { order: (value && parseInt(value, 10)) || '' };\n }\n}\nFlexOrderStyleBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: FlexOrderStyleBuilder, deps: null, target: i0.ɵɵFactoryTarget.Injectable });\nFlexOrderStyleBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: FlexOrderStyleBuilder, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: FlexOrderStyleBuilder, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }] });\nconst inputs$3 = [\n 'fxFlexOrder', 'fxFlexOrder.xs', 'fxFlexOrder.sm', 'fxFlexOrder.md',\n 'fxFlexOrder.lg', 'fxFlexOrder.xl', 'fxFlexOrder.lt-sm', 'fxFlexOrder.lt-md',\n 'fxFlexOrder.lt-lg', 'fxFlexOrder.lt-xl', 'fxFlexOrder.gt-xs', 'fxFlexOrder.gt-sm',\n 'fxFlexOrder.gt-md', 'fxFlexOrder.gt-lg'\n];\nconst selector$3 = `\n [fxFlexOrder], [fxFlexOrder.xs], [fxFlexOrder.sm], [fxFlexOrder.md],\n [fxFlexOrder.lg], [fxFlexOrder.xl], [fxFlexOrder.lt-sm], [fxFlexOrder.lt-md],\n [fxFlexOrder.lt-lg], [fxFlexOrder.lt-xl], [fxFlexOrder.gt-xs], [fxFlexOrder.gt-sm],\n [fxFlexOrder.gt-md], [fxFlexOrder.gt-lg]\n`;\n/**\n * 'flex-order' flexbox styling directive\n * Configures the positional ordering of the element in a sorted layout container\n * @see https://css-tricks.com/almanac/properties/o/order/\n */\nclass FlexOrderDirective extends BaseDirective2 {\n constructor(elRef, styleUtils, styleBuilder, marshal) {\n super(elRef, styleBuilder, styleUtils, marshal);\n this.DIRECTIVE_KEY = 'flex-order';\n this.styleCache = flexOrderCache;\n this.init();\n }\n}\nFlexOrderDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: FlexOrderDirective, deps: [{ token: i0.ElementRef }, { token: i1.StyleUtils }, { token: FlexOrderStyleBuilder }, { token: i1.MediaMarshaller }], target: i0.ɵɵFactoryTarget.Directive });\nFlexOrderDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: FlexOrderDirective, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: FlexOrderDirective, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.StyleUtils }, { type: FlexOrderStyleBuilder }, { type: i1.MediaMarshaller }]; } });\nconst flexOrderCache = new Map();\nclass DefaultFlexOrderDirective extends FlexOrderDirective {\n constructor() {\n super(...arguments);\n this.inputs = inputs$3;\n }\n}\nDefaultFlexOrderDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultFlexOrderDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });\nDefaultFlexOrderDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: DefaultFlexOrderDirective, selector: \"\\n [fxFlexOrder], [fxFlexOrder.xs], [fxFlexOrder.sm], [fxFlexOrder.md],\\n [fxFlexOrder.lg], [fxFlexOrder.xl], [fxFlexOrder.lt-sm], [fxFlexOrder.lt-md],\\n [fxFlexOrder.lt-lg], [fxFlexOrder.lt-xl], [fxFlexOrder.gt-xs], [fxFlexOrder.gt-sm],\\n [fxFlexOrder.gt-md], [fxFlexOrder.gt-lg]\\n\", inputs: { fxFlexOrder: \"fxFlexOrder\", \"fxFlexOrder.xs\": \"fxFlexOrder.xs\", \"fxFlexOrder.sm\": \"fxFlexOrder.sm\", \"fxFlexOrder.md\": \"fxFlexOrder.md\", \"fxFlexOrder.lg\": \"fxFlexOrder.lg\", \"fxFlexOrder.xl\": \"fxFlexOrder.xl\", \"fxFlexOrder.lt-sm\": \"fxFlexOrder.lt-sm\", \"fxFlexOrder.lt-md\": \"fxFlexOrder.lt-md\", \"fxFlexOrder.lt-lg\": \"fxFlexOrder.lt-lg\", \"fxFlexOrder.lt-xl\": \"fxFlexOrder.lt-xl\", \"fxFlexOrder.gt-xs\": \"fxFlexOrder.gt-xs\", \"fxFlexOrder.gt-sm\": \"fxFlexOrder.gt-sm\", \"fxFlexOrder.gt-md\": \"fxFlexOrder.gt-md\", \"fxFlexOrder.gt-lg\": \"fxFlexOrder.gt-lg\" }, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultFlexOrderDirective, decorators: [{\n type: Directive,\n args: [{ selector: selector$3, inputs: inputs$3 }]\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 */\nclass FlexOffsetStyleBuilder extends StyleBuilder {\n constructor(_config) {\n super();\n this._config = _config;\n }\n buildStyles(offset, parent) {\n offset || (offset = '0');\n offset = ɵmultiply(offset, this._config.multiplier);\n const isPercent = String(offset).indexOf('%') > -1;\n const isPx = String(offset).indexOf('px') > -1;\n if (!isPx && !isPercent && !isNaN(+offset)) {\n offset = `${offset}%`;\n }\n const horizontalLayoutKey = parent.isRtl ? 'margin-right' : 'margin-left';\n const styles = isFlowHorizontal(parent.layout) ?\n { [horizontalLayoutKey]: offset } : { 'margin-top': offset };\n return styles;\n }\n}\nFlexOffsetStyleBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: FlexOffsetStyleBuilder, deps: [{ token: LAYOUT_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable });\nFlexOffsetStyleBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: FlexOffsetStyleBuilder, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: FlexOffsetStyleBuilder, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [LAYOUT_CONFIG]\n }] }]; } });\nconst inputs$2 = [\n 'fxFlexOffset', 'fxFlexOffset.xs', 'fxFlexOffset.sm', 'fxFlexOffset.md',\n 'fxFlexOffset.lg', 'fxFlexOffset.xl', 'fxFlexOffset.lt-sm', 'fxFlexOffset.lt-md',\n 'fxFlexOffset.lt-lg', 'fxFlexOffset.lt-xl', 'fxFlexOffset.gt-xs', 'fxFlexOffset.gt-sm',\n 'fxFlexOffset.gt-md', 'fxFlexOffset.gt-lg'\n];\nconst selector$2 = `\n [fxFlexOffset], [fxFlexOffset.xs], [fxFlexOffset.sm], [fxFlexOffset.md],\n [fxFlexOffset.lg], [fxFlexOffset.xl], [fxFlexOffset.lt-sm], [fxFlexOffset.lt-md],\n [fxFlexOffset.lt-lg], [fxFlexOffset.lt-xl], [fxFlexOffset.gt-xs], [fxFlexOffset.gt-sm],\n [fxFlexOffset.gt-md], [fxFlexOffset.gt-lg]\n`;\n/**\n * 'flex-offset' flexbox styling directive\n * Configures the 'margin-left' of the element in a layout container\n */\nclass FlexOffsetDirective extends BaseDirective2 {\n constructor(elRef, directionality, styleBuilder, marshal, styler) {\n super(elRef, styleBuilder, styler, marshal);\n this.directionality = directionality;\n this.DIRECTIVE_KEY = 'flex-offset';\n this.init([this.directionality.change]);\n // Parent DOM `layout-gap` with affect the nested child with `flex-offset`\n if (this.parentElement) {\n this.marshal\n .trackValue(this.parentElement, 'layout-gap')\n .pipe(takeUntil(this.destroySubject))\n .subscribe(this.triggerUpdate.bind(this));\n }\n }\n // *********************************************\n // Protected methods\n // *********************************************\n /**\n * Using the current fxFlexOffset value, update the inline CSS\n * NOTE: this will assign `margin-left` if the parent flex-direction == 'row',\n * otherwise `margin-top` is used for the offset.\n */\n updateWithValue(value = '') {\n // The flex-direction of this element's flex container. Defaults to 'row'.\n const layout = this.getFlexFlowDirection(this.parentElement, true);\n const isRtl = this.directionality.value === 'rtl';\n if (layout === 'row' && isRtl) {\n this.styleCache = flexOffsetCacheRowRtl;\n }\n else if (layout === 'row' && !isRtl) {\n this.styleCache = flexOffsetCacheRowLtr;\n }\n else if (layout === 'column' && isRtl) {\n this.styleCache = flexOffsetCacheColumnRtl;\n }\n else if (layout === 'column' && !isRtl) {\n this.styleCache = flexOffsetCacheColumnLtr;\n }\n this.addStyles(value + '', { layout, isRtl });\n }\n}\nFlexOffsetDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: FlexOffsetDirective, deps: [{ token: i0.ElementRef }, { token: i2.Directionality }, { token: FlexOffsetStyleBuilder }, { token: i1.MediaMarshaller }, { token: i1.StyleUtils }], target: i0.ɵɵFactoryTarget.Directive });\nFlexOffsetDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: FlexOffsetDirective, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: FlexOffsetDirective, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i2.Directionality }, { type: FlexOffsetStyleBuilder }, { type: i1.MediaMarshaller }, { type: i1.StyleUtils }]; } });\nclass DefaultFlexOffsetDirective extends FlexOffsetDirective {\n constructor() {\n super(...arguments);\n this.inputs = inputs$2;\n }\n}\nDefaultFlexOffsetDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultFlexOffsetDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });\nDefaultFlexOffsetDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: DefaultFlexOffsetDirective, selector: \"\\n [fxFlexOffset], [fxFlexOffset.xs], [fxFlexOffset.sm], [fxFlexOffset.md],\\n [fxFlexOffset.lg], [fxFlexOffset.xl], [fxFlexOffset.lt-sm], [fxFlexOffset.lt-md],\\n [fxFlexOffset.lt-lg], [fxFlexOffset.lt-xl], [fxFlexOffset.gt-xs], [fxFlexOffset.gt-sm],\\n [fxFlexOffset.gt-md], [fxFlexOffset.gt-lg]\\n\", inputs: { fxFlexOffset: \"fxFlexOffset\", \"fxFlexOffset.xs\": \"fxFlexOffset.xs\", \"fxFlexOffset.sm\": \"fxFlexOffset.sm\", \"fxFlexOffset.md\": \"fxFlexOffset.md\", \"fxFlexOffset.lg\": \"fxFlexOffset.lg\", \"fxFlexOffset.xl\": \"fxFlexOffset.xl\", \"fxFlexOffset.lt-sm\": \"fxFlexOffset.lt-sm\", \"fxFlexOffset.lt-md\": \"fxFlexOffset.lt-md\", \"fxFlexOffset.lt-lg\": \"fxFlexOffset.lt-lg\", \"fxFlexOffset.lt-xl\": \"fxFlexOffset.lt-xl\", \"fxFlexOffset.gt-xs\": \"fxFlexOffset.gt-xs\", \"fxFlexOffset.gt-sm\": \"fxFlexOffset.gt-sm\", \"fxFlexOffset.gt-md\": \"fxFlexOffset.gt-md\", \"fxFlexOffset.gt-lg\": \"fxFlexOffset.gt-lg\" }, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultFlexOffsetDirective, decorators: [{\n type: Directive,\n args: [{ selector: selector$2, inputs: inputs$2 }]\n }] });\nconst flexOffsetCacheRowRtl = new Map();\nconst flexOffsetCacheColumnRtl = new Map();\nconst flexOffsetCacheRowLtr = new Map();\nconst flexOffsetCacheColumnLtr = new 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 */\nclass FlexAlignStyleBuilder extends StyleBuilder {\n buildStyles(input) {\n input = input || 'stretch';\n const styles = {};\n // Cross-axis\n switch (input) {\n case 'start':\n styles['align-self'] = 'flex-start';\n break;\n case 'end':\n styles['align-self'] = 'flex-end';\n break;\n default:\n styles['align-self'] = input;\n break;\n }\n return styles;\n }\n}\nFlexAlignStyleBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: FlexAlignStyleBuilder, deps: null, target: i0.ɵɵFactoryTarget.Injectable });\nFlexAlignStyleBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: FlexAlignStyleBuilder, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: FlexAlignStyleBuilder, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }] });\nconst inputs$1 = [\n 'fxFlexAlign', 'fxFlexAlign.xs', 'fxFlexAlign.sm', 'fxFlexAlign.md',\n 'fxFlexAlign.lg', 'fxFlexAlign.xl', 'fxFlexAlign.lt-sm', 'fxFlexAlign.lt-md',\n 'fxFlexAlign.lt-lg', 'fxFlexAlign.lt-xl', 'fxFlexAlign.gt-xs', 'fxFlexAlign.gt-sm',\n 'fxFlexAlign.gt-md', 'fxFlexAlign.gt-lg'\n];\nconst selector$1 = `\n [fxFlexAlign], [fxFlexAlign.xs], [fxFlexAlign.sm], [fxFlexAlign.md],\n [fxFlexAlign.lg], [fxFlexAlign.xl], [fxFlexAlign.lt-sm], [fxFlexAlign.lt-md],\n [fxFlexAlign.lt-lg], [fxFlexAlign.lt-xl], [fxFlexAlign.gt-xs], [fxFlexAlign.gt-sm],\n [fxFlexAlign.gt-md], [fxFlexAlign.gt-lg]\n`;\n/**\n * 'flex-align' flexbox styling directive\n * Allows element-specific overrides for cross-axis alignments in a layout container\n * @see https://css-tricks.com/almanac/properties/a/align-self/\n */\nclass FlexAlignDirective extends BaseDirective2 {\n constructor(elRef, styleUtils, styleBuilder, marshal) {\n super(elRef, styleBuilder, styleUtils, marshal);\n this.DIRECTIVE_KEY = 'flex-align';\n this.styleCache = flexAlignCache;\n this.init();\n }\n}\nFlexAlignDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: FlexAlignDirective, deps: [{ token: i0.ElementRef }, { token: i1.StyleUtils }, { token: FlexAlignStyleBuilder }, { token: i1.MediaMarshaller }], target: i0.ɵɵFactoryTarget.Directive });\nFlexAlignDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: FlexAlignDirective, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: FlexAlignDirective, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.StyleUtils }, { type: FlexAlignStyleBuilder }, { type: i1.MediaMarshaller }]; } });\nconst flexAlignCache = new Map();\nclass DefaultFlexAlignDirective extends FlexAlignDirective {\n constructor() {\n super(...arguments);\n this.inputs = inputs$1;\n }\n}\nDefaultFlexAlignDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultFlexAlignDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });\nDefaultFlexAlignDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: DefaultFlexAlignDirective, selector: \"\\n [fxFlexAlign], [fxFlexAlign.xs], [fxFlexAlign.sm], [fxFlexAlign.md],\\n [fxFlexAlign.lg], [fxFlexAlign.xl], [fxFlexAlign.lt-sm], [fxFlexAlign.lt-md],\\n [fxFlexAlign.lt-lg], [fxFlexAlign.lt-xl], [fxFlexAlign.gt-xs], [fxFlexAlign.gt-sm],\\n [fxFlexAlign.gt-md], [fxFlexAlign.gt-lg]\\n\", inputs: { fxFlexAlign: \"fxFlexAlign\", \"fxFlexAlign.xs\": \"fxFlexAlign.xs\", \"fxFlexAlign.sm\": \"fxFlexAlign.sm\", \"fxFlexAlign.md\": \"fxFlexAlign.md\", \"fxFlexAlign.lg\": \"fxFlexAlign.lg\", \"fxFlexAlign.xl\": \"fxFlexAlign.xl\", \"fxFlexAlign.lt-sm\": \"fxFlexAlign.lt-sm\", \"fxFlexAlign.lt-md\": \"fxFlexAlign.lt-md\", \"fxFlexAlign.lt-lg\": \"fxFlexAlign.lt-lg\", \"fxFlexAlign.lt-xl\": \"fxFlexAlign.lt-xl\", \"fxFlexAlign.gt-xs\": \"fxFlexAlign.gt-xs\", \"fxFlexAlign.gt-sm\": \"fxFlexAlign.gt-sm\", \"fxFlexAlign.gt-md\": \"fxFlexAlign.gt-md\", \"fxFlexAlign.gt-lg\": \"fxFlexAlign.gt-lg\" }, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultFlexAlignDirective, decorators: [{\n type: Directive,\n args: [{ selector: selector$1, inputs: inputs$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 */\nconst FLEX_FILL_CSS = {\n 'margin': 0,\n 'width': '100%',\n 'height': '100%',\n 'min-width': '100%',\n 'min-height': '100%'\n};\nclass FlexFillStyleBuilder extends StyleBuilder {\n buildStyles(_input) {\n return FLEX_FILL_CSS;\n }\n}\nFlexFillStyleBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: FlexFillStyleBuilder, deps: null, target: i0.ɵɵFactoryTarget.Injectable });\nFlexFillStyleBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: FlexFillStyleBuilder, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: FlexFillStyleBuilder, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }] });\n/**\n * 'fxFill' flexbox styling directive\n * Maximizes width and height of element in a layout container\n *\n * NOTE: fxFill is NOT responsive API!!\n */\nclass FlexFillDirective extends BaseDirective2 {\n constructor(elRef, styleUtils, styleBuilder, marshal) {\n super(elRef, styleBuilder, styleUtils, marshal);\n this.styleCache = flexFillCache;\n this.addStyles('');\n }\n}\nFlexFillDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: FlexFillDirective, deps: [{ token: i0.ElementRef }, { token: i1.StyleUtils }, { token: FlexFillStyleBuilder }, { token: i1.MediaMarshaller }], target: i0.ɵɵFactoryTarget.Directive });\nFlexFillDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: FlexFillDirective, selector: \"[fxFill], [fxFlexFill]\", usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: FlexFillDirective, decorators: [{\n type: Directive,\n args: [{ selector: `[fxFill], [fxFlexFill]` }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.StyleUtils }, { type: FlexFillStyleBuilder }, { type: i1.MediaMarshaller }]; } });\nconst flexFillCache = new 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 */\nclass LayoutAlignStyleBuilder extends StyleBuilder {\n buildStyles(align, parent) {\n const css = {}, [mainAxis, crossAxis] = align.split(' ');\n // Main axis\n switch (mainAxis) {\n case 'center':\n css['justify-content'] = 'center';\n break;\n case 'space-around':\n css['justify-content'] = 'space-around';\n break;\n case 'space-between':\n css['justify-content'] = 'space-between';\n break;\n case 'space-evenly':\n css['justify-content'] = 'space-evenly';\n break;\n case 'end':\n case 'flex-end':\n css['justify-content'] = 'flex-end';\n break;\n case 'start':\n case 'flex-start':\n default:\n css['justify-content'] = 'flex-start'; // default main axis\n break;\n }\n // Cross-axis\n switch (crossAxis) {\n case 'start':\n case 'flex-start':\n css['align-items'] = css['align-content'] = 'flex-start';\n break;\n case 'center':\n css['align-items'] = css['align-content'] = 'center';\n break;\n case 'end':\n case 'flex-end':\n css['align-items'] = css['align-content'] = 'flex-end';\n break;\n case 'space-between':\n css['align-content'] = 'space-between';\n css['align-items'] = 'stretch';\n break;\n case 'space-around':\n css['align-content'] = 'space-around';\n css['align-items'] = 'stretch';\n break;\n case 'baseline':\n css['align-content'] = 'stretch';\n css['align-items'] = 'baseline';\n break;\n case 'stretch':\n default: // 'stretch'\n css['align-items'] = css['align-content'] = 'stretch'; // default cross axis\n break;\n }\n return extendObject(css, {\n 'display': parent.inline ? 'inline-flex' : 'flex',\n 'flex-direction': parent.layout,\n 'box-sizing': 'border-box',\n 'max-width': crossAxis === 'stretch' ?\n !isFlowHorizontal(parent.layout) ? '100%' : null : null,\n 'max-height': crossAxis === 'stretch' ?\n isFlowHorizontal(parent.layout) ? '100%' : null : null,\n });\n }\n}\nLayoutAlignStyleBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: LayoutAlignStyleBuilder, deps: null, target: i0.ɵɵFactoryTarget.Injectable });\nLayoutAlignStyleBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: LayoutAlignStyleBuilder, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: LayoutAlignStyleBuilder, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }] });\nconst inputs = [\n 'fxLayoutAlign', 'fxLayoutAlign.xs', 'fxLayoutAlign.sm', 'fxLayoutAlign.md',\n 'fxLayoutAlign.lg', 'fxLayoutAlign.xl', 'fxLayoutAlign.lt-sm', 'fxLayoutAlign.lt-md',\n 'fxLayoutAlign.lt-lg', 'fxLayoutAlign.lt-xl', 'fxLayoutAlign.gt-xs', 'fxLayoutAlign.gt-sm',\n 'fxLayoutAlign.gt-md', 'fxLayoutAlign.gt-lg'\n];\nconst selector = `\n [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md],\n [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md],\n [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm],\n [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]\n`;\n/**\n * 'layout-align' flexbox styling directive\n * Defines positioning of child elements along main and cross axis in a layout container\n * Optional values: {main-axis} values or {main-axis cross-axis} value pairs\n *\n * @see https://css-tricks.com/almanac/properties/j/justify-content/\n * @see https://css-tricks.com/almanac/properties/a/align-items/\n * @see https://css-tricks.com/almanac/properties/a/align-content/\n */\nclass LayoutAlignDirective extends BaseDirective2 {\n constructor(elRef, styleUtils, styleBuilder, marshal) {\n super(elRef, styleBuilder, styleUtils, marshal);\n this.DIRECTIVE_KEY = 'layout-align';\n this.layout = 'row'; // default flex-direction\n this.inline = false; // default inline value\n this.init();\n this.marshal.trackValue(this.nativeElement, 'layout')\n .pipe(takeUntil(this.destroySubject))\n .subscribe(this.onLayoutChange.bind(this));\n }\n // *********************************************\n // Protected methods\n // *********************************************\n /**\n *\n */\n updateWithValue(value) {\n const layout = this.layout || 'row';\n const inline = this.inline;\n if (layout === 'row' && inline) {\n this.styleCache = layoutAlignHorizontalInlineCache;\n }\n else if (layout === 'row' && !inline) {\n this.styleCache = layoutAlignHorizontalCache;\n }\n else if (layout === 'row-reverse' && inline) {\n this.styleCache = layoutAlignHorizontalRevInlineCache;\n }\n else if (layout === 'row-reverse' && !inline) {\n this.styleCache = layoutAlignHorizontalRevCache;\n }\n else if (layout === 'column' && inline) {\n this.styleCache = layoutAlignVerticalInlineCache;\n }\n else if (layout === 'column' && !inline) {\n this.styleCache = layoutAlignVerticalCache;\n }\n else if (layout === 'column-reverse' && inline) {\n this.styleCache = layoutAlignVerticalRevInlineCache;\n }\n else if (layout === 'column-reverse' && !inline) {\n this.styleCache = layoutAlignVerticalRevCache;\n }\n this.addStyles(value, { layout, inline });\n }\n /**\n * Cache the parent container 'flex-direction' and update the 'flex' styles\n */\n onLayoutChange(matcher) {\n const layoutKeys = matcher.value.split(' ');\n this.layout = layoutKeys[0];\n this.inline = matcher.value.includes('inline');\n if (!LAYOUT_VALUES.find(x => x === this.layout)) {\n this.layout = 'row';\n }\n this.triggerUpdate();\n }\n}\nLayoutAlignDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: LayoutAlignDirective, deps: [{ token: i0.ElementRef }, { token: i1.StyleUtils }, { token: LayoutAlignStyleBuilder }, { token: i1.MediaMarshaller }], target: i0.ɵɵFactoryTarget.Directive });\nLayoutAlignDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: LayoutAlignDirective, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: LayoutAlignDirective, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.StyleUtils }, { type: LayoutAlignStyleBuilder }, { type: i1.MediaMarshaller }]; } });\nclass DefaultLayoutAlignDirective extends LayoutAlignDirective {\n constructor() {\n super(...arguments);\n this.inputs = inputs;\n }\n}\nDefaultLayoutAlignDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultLayoutAlignDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });\nDefaultLayoutAlignDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: DefaultLayoutAlignDirective, selector: \"\\n [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md],\\n [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md],\\n [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm],\\n [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]\\n\", inputs: { fxLayoutAlign: \"fxLayoutAlign\", \"fxLayoutAlign.xs\": \"fxLayoutAlign.xs\", \"fxLayoutAlign.sm\": \"fxLayoutAlign.sm\", \"fxLayoutAlign.md\": \"fxLayoutAlign.md\", \"fxLayoutAlign.lg\": \"fxLayoutAlign.lg\", \"fxLayoutAlign.xl\": \"fxLayoutAlign.xl\", \"fxLayoutAlign.lt-sm\": \"fxLayoutAlign.lt-sm\", \"fxLayoutAlign.lt-md\": \"fxLayoutAlign.lt-md\", \"fxLayoutAlign.lt-lg\": \"fxLayoutAlign.lt-lg\", \"fxLayoutAlign.lt-xl\": \"fxLayoutAlign.lt-xl\", \"fxLayoutAlign.gt-xs\": \"fxLayoutAlign.gt-xs\", \"fxLayoutAlign.gt-sm\": \"fxLayoutAlign.gt-sm\", \"fxLayoutAlign.gt-md\": \"fxLayoutAlign.gt-md\", \"fxLayoutAlign.gt-lg\": \"fxLayoutAlign.gt-lg\" }, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultLayoutAlignDirective, decorators: [{\n type: Directive,\n args: [{ selector, inputs }]\n }] });\nconst layoutAlignHorizontalCache = new Map();\nconst layoutAlignVerticalCache = new Map();\nconst layoutAlignHorizontalRevCache = new Map();\nconst layoutAlignVerticalRevCache = new Map();\nconst layoutAlignHorizontalInlineCache = new Map();\nconst layoutAlignVerticalInlineCache = new Map();\nconst layoutAlignHorizontalRevInlineCache = new Map();\nconst layoutAlignVerticalRevInlineCache = new 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 */\nconst ALL_DIRECTIVES = [\n DefaultLayoutDirective,\n DefaultLayoutGapDirective,\n DefaultLayoutAlignDirective,\n DefaultFlexOrderDirective,\n DefaultFlexOffsetDirective,\n FlexFillDirective,\n DefaultFlexAlignDirective,\n DefaultFlexDirective,\n];\n/**\n * *****************************************************************\n * Define module for the Flex API\n * *****************************************************************\n */\nclass FlexModule {\n}\nFlexModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: FlexModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\nFlexModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"15.0.2\", ngImport: i0, type: FlexModule, declarations: [DefaultLayoutDirective,\n DefaultLayoutGapDirective,\n DefaultLayoutAlignDirective,\n DefaultFlexOrderDirective,\n DefaultFlexOffsetDirective,\n FlexFillDirective,\n DefaultFlexAlignDirective,\n DefaultFlexDirective], imports: [CoreModule, BidiModule], exports: [DefaultLayoutDirective,\n DefaultLayoutGapDirective,\n DefaultLayoutAlignDirective,\n DefaultFlexOrderDirective,\n DefaultFlexOffsetDirective,\n FlexFillDirective,\n DefaultFlexAlignDirective,\n DefaultFlexDirective] });\nFlexModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: FlexModule, imports: [CoreModule, BidiModule] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: FlexModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [CoreModule, BidiModule],\n declarations: [...ALL_DIRECTIVES],\n exports: [...ALL_DIRECTIVES]\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/**\n * Generated bundle index. Do not edit.\n */\n\nexport { DefaultFlexAlignDirective, DefaultFlexDirective, DefaultFlexOffsetDirective, DefaultFlexOrderDirective, DefaultLayoutAlignDirective, DefaultLayoutDirective, DefaultLayoutGapDirective, FlexAlignDirective, FlexAlignStyleBuilder, FlexDirective, FlexFillDirective, FlexFillStyleBuilder, FlexModule, FlexOffsetDirective, FlexOffsetStyleBuilder, FlexOrderDirective, FlexOrderStyleBuilder, FlexStyleBuilder, LayoutAlignDirective, LayoutAlignStyleBuilder, LayoutDirective, LayoutGapDirective, LayoutGapStyleBuilder, LayoutStyleBuilder };\n","import * as i0 from '@angular/core';\nimport { Injectable, Directive, Input, NgModule } from '@angular/core';\nimport * as i1 from '@angular/flex-layout/core';\nimport { StyleBuilder, BaseDirective2, CoreModule } from '@angular/flex-layout/core';\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\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 */\nconst ROW_DEFAULT = 'stretch';\nconst COL_DEFAULT = 'stretch';\nclass GridAlignStyleBuilder extends StyleBuilder {\n buildStyles(input) {\n return buildCss$2(input || ROW_DEFAULT);\n }\n}\nGridAlignStyleBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridAlignStyleBuilder, deps: null, target: i0.ɵɵFactoryTarget.Injectable });\nGridAlignStyleBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridAlignStyleBuilder, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridAlignStyleBuilder, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }] });\nclass GridAlignDirective extends BaseDirective2 {\n constructor(elementRef, styleBuilder, styler, marshal) {\n super(elementRef, styleBuilder, styler, marshal);\n this.DIRECTIVE_KEY = 'grid-align';\n this.styleCache = alignCache;\n this.init();\n }\n}\nGridAlignDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridAlignDirective, deps: [{ token: i0.ElementRef }, { token: GridAlignStyleBuilder }, { token: i1.StyleUtils }, { token: i1.MediaMarshaller }], target: i0.ɵɵFactoryTarget.Directive });\nGridAlignDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: GridAlignDirective, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridAlignDirective, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: GridAlignStyleBuilder }, { type: i1.StyleUtils }, { type: i1.MediaMarshaller }]; } });\nconst alignCache = new Map();\nconst inputs$a = [\n 'gdGridAlign',\n 'gdGridAlign.xs', 'gdGridAlign.sm', 'gdGridAlign.md', 'gdGridAlign.lg', 'gdGridAlign.xl',\n 'gdGridAlign.lt-sm', 'gdGridAlign.lt-md', 'gdGridAlign.lt-lg', 'gdGridAlign.lt-xl',\n 'gdGridAlign.gt-xs', 'gdGridAlign.gt-sm', 'gdGridAlign.gt-md', 'gdGridAlign.gt-lg'\n];\nconst selector$a = `\n [gdGridAlign],\n [gdGridAlign.xs], [gdGridAlign.sm], [gdGridAlign.md], [gdGridAlign.lg],[gdGridAlign.xl],\n [gdGridAlign.lt-sm], [gdGridAlign.lt-md], [gdGridAlign.lt-lg], [gdGridAlign.lt-xl],\n [gdGridAlign.gt-xs], [gdGridAlign.gt-sm], [gdGridAlign.gt-md], [gdGridAlign.gt-lg]\n`;\n/**\n * 'align' CSS Grid styling directive for grid children\n * Defines positioning of child elements along row and column axis in a grid container\n * Optional values: {row-axis} values or {row-axis column-axis} value pairs\n *\n * @see https://css-tricks.com/snippets/css/complete-guide-grid/#prop-justify-self\n * @see https://css-tricks.com/snippets/css/complete-guide-grid/#prop-align-self\n */\nclass DefaultGridAlignDirective extends GridAlignDirective {\n constructor() {\n super(...arguments);\n this.inputs = inputs$a;\n }\n}\nDefaultGridAlignDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultGridAlignDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });\nDefaultGridAlignDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: DefaultGridAlignDirective, selector: \"\\n [gdGridAlign],\\n [gdGridAlign.xs], [gdGridAlign.sm], [gdGridAlign.md], [gdGridAlign.lg],[gdGridAlign.xl],\\n [gdGridAlign.lt-sm], [gdGridAlign.lt-md], [gdGridAlign.lt-lg], [gdGridAlign.lt-xl],\\n [gdGridAlign.gt-xs], [gdGridAlign.gt-sm], [gdGridAlign.gt-md], [gdGridAlign.gt-lg]\\n\", inputs: { gdGridAlign: \"gdGridAlign\", \"gdGridAlign.xs\": \"gdGridAlign.xs\", \"gdGridAlign.sm\": \"gdGridAlign.sm\", \"gdGridAlign.md\": \"gdGridAlign.md\", \"gdGridAlign.lg\": \"gdGridAlign.lg\", \"gdGridAlign.xl\": \"gdGridAlign.xl\", \"gdGridAlign.lt-sm\": \"gdGridAlign.lt-sm\", \"gdGridAlign.lt-md\": \"gdGridAlign.lt-md\", \"gdGridAlign.lt-lg\": \"gdGridAlign.lt-lg\", \"gdGridAlign.lt-xl\": \"gdGridAlign.lt-xl\", \"gdGridAlign.gt-xs\": \"gdGridAlign.gt-xs\", \"gdGridAlign.gt-sm\": \"gdGridAlign.gt-sm\", \"gdGridAlign.gt-md\": \"gdGridAlign.gt-md\", \"gdGridAlign.gt-lg\": \"gdGridAlign.gt-lg\" }, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultGridAlignDirective, decorators: [{\n type: Directive,\n args: [{ selector: selector$a, inputs: inputs$a }]\n }] });\nfunction buildCss$2(align = '') {\n const css = {}, [rowAxis, columnAxis] = align.split(' ');\n // Row axis\n switch (rowAxis) {\n case 'end':\n css['justify-self'] = 'end';\n break;\n case 'center':\n css['justify-self'] = 'center';\n break;\n case 'stretch':\n css['justify-self'] = 'stretch';\n break;\n case 'start':\n css['justify-self'] = 'start';\n break;\n default:\n css['justify-self'] = ROW_DEFAULT; // default row axis\n break;\n }\n // Column axis\n switch (columnAxis) {\n case 'end':\n css['align-self'] = 'end';\n break;\n case 'center':\n css['align-self'] = 'center';\n break;\n case 'stretch':\n css['align-self'] = 'stretch';\n break;\n case 'start':\n css['align-self'] = 'start';\n break;\n default:\n css['align-self'] = COL_DEFAULT; // default column axis\n break;\n }\n return css;\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 */\nconst DEFAULT_MAIN$1 = 'start';\nconst DEFAULT_CROSS$1 = 'stretch';\nclass GridAlignColumnsStyleBuilder extends StyleBuilder {\n buildStyles(input, parent) {\n return buildCss$1(input || `${DEFAULT_MAIN$1} ${DEFAULT_CROSS$1}`, parent.inline);\n }\n}\nGridAlignColumnsStyleBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridAlignColumnsStyleBuilder, deps: null, target: i0.ɵɵFactoryTarget.Injectable });\nGridAlignColumnsStyleBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridAlignColumnsStyleBuilder, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridAlignColumnsStyleBuilder, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }] });\nclass GridAlignColumnsDirective extends BaseDirective2 {\n constructor(elementRef, styleBuilder, styler, marshal) {\n super(elementRef, styleBuilder, styler, marshal);\n this.DIRECTIVE_KEY = 'grid-align-columns';\n this._inline = false;\n this.init();\n }\n get inline() { return this._inline; }\n set inline(val) { this._inline = coerceBooleanProperty(val); }\n // *********************************************\n // Protected methods\n // *********************************************\n updateWithValue(value) {\n this.styleCache = this.inline ? alignColumnsInlineCache : alignColumnsCache;\n this.addStyles(value, { inline: this.inline });\n }\n}\nGridAlignColumnsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridAlignColumnsDirective, deps: [{ token: i0.ElementRef }, { token: GridAlignColumnsStyleBuilder }, { token: i1.StyleUtils }, { token: i1.MediaMarshaller }], target: i0.ɵɵFactoryTarget.Directive });\nGridAlignColumnsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: GridAlignColumnsDirective, inputs: { inline: [\"gdInline\", \"inline\"] }, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridAlignColumnsDirective, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: GridAlignColumnsStyleBuilder }, { type: i1.StyleUtils }, { type: i1.MediaMarshaller }]; }, propDecorators: { inline: [{\n type: Input,\n args: ['gdInline']\n }] } });\nconst alignColumnsCache = new Map();\nconst alignColumnsInlineCache = new Map();\nconst inputs$9 = [\n 'gdAlignColumns',\n 'gdAlignColumns.xs', 'gdAlignColumns.sm', 'gdAlignColumns.md',\n 'gdAlignColumns.lg', 'gdAlignColumns.xl', 'gdAlignColumns.lt-sm',\n 'gdAlignColumns.lt-md', 'gdAlignColumns.lt-lg', 'gdAlignColumns.lt-xl',\n 'gdAlignColumns.gt-xs', 'gdAlignColumns.gt-sm', 'gdAlignColumns.gt-md',\n 'gdAlignColumns.gt-lg'\n];\nconst selector$9 = `\n [gdAlignColumns],\n [gdAlignColumns.xs], [gdAlignColumns.sm], [gdAlignColumns.md],\n [gdAlignColumns.lg], [gdAlignColumns.xl], [gdAlignColumns.lt-sm],\n [gdAlignColumns.lt-md], [gdAlignColumns.lt-lg], [gdAlignColumns.lt-xl],\n [gdAlignColumns.gt-xs], [gdAlignColumns.gt-sm], [gdAlignColumns.gt-md],\n [gdAlignColumns.gt-lg]\n`;\n/**\n * 'column alignment' CSS Grid styling directive\n * Configures the alignment in the column direction\n * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-19\n * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-21\n */\nclass DefaultGridAlignColumnsDirective extends GridAlignColumnsDirective {\n constructor() {\n super(...arguments);\n this.inputs = inputs$9;\n }\n}\nDefaultGridAlignColumnsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultGridAlignColumnsDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });\nDefaultGridAlignColumnsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: DefaultGridAlignColumnsDirective, selector: \"\\n [gdAlignColumns],\\n [gdAlignColumns.xs], [gdAlignColumns.sm], [gdAlignColumns.md],\\n [gdAlignColumns.lg], [gdAlignColumns.xl], [gdAlignColumns.lt-sm],\\n [gdAlignColumns.lt-md], [gdAlignColumns.lt-lg], [gdAlignColumns.lt-xl],\\n [gdAlignColumns.gt-xs], [gdAlignColumns.gt-sm], [gdAlignColumns.gt-md],\\n [gdAlignColumns.gt-lg]\\n\", inputs: { gdAlignColumns: \"gdAlignColumns\", \"gdAlignColumns.xs\": \"gdAlignColumns.xs\", \"gdAlignColumns.sm\": \"gdAlignColumns.sm\", \"gdAlignColumns.md\": \"gdAlignColumns.md\", \"gdAlignColumns.lg\": \"gdAlignColumns.lg\", \"gdAlignColumns.xl\": \"gdAlignColumns.xl\", \"gdAlignColumns.lt-sm\": \"gdAlignColumns.lt-sm\", \"gdAlignColumns.lt-md\": \"gdAlignColumns.lt-md\", \"gdAlignColumns.lt-lg\": \"gdAlignColumns.lt-lg\", \"gdAlignColumns.lt-xl\": \"gdAlignColumns.lt-xl\", \"gdAlignColumns.gt-xs\": \"gdAlignColumns.gt-xs\", \"gdAlignColumns.gt-sm\": \"gdAlignColumns.gt-sm\", \"gdAlignColumns.gt-md\": \"gdAlignColumns.gt-md\", \"gdAlignColumns.gt-lg\": \"gdAlignColumns.gt-lg\" }, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultGridAlignColumnsDirective, decorators: [{\n type: Directive,\n args: [{ selector: selector$9, inputs: inputs$9 }]\n }] });\nfunction buildCss$1(align, inline) {\n const css = {}, [mainAxis, crossAxis] = align.split(' ');\n // Main axis\n switch (mainAxis) {\n case 'center':\n css['align-content'] = 'center';\n break;\n case 'space-around':\n css['align-content'] = 'space-around';\n break;\n case 'space-between':\n css['align-content'] = 'space-between';\n break;\n case 'space-evenly':\n css['align-content'] = 'space-evenly';\n break;\n case 'end':\n css['align-content'] = 'end';\n break;\n case 'start':\n css['align-content'] = 'start';\n break;\n case 'stretch':\n css['align-content'] = 'stretch';\n break;\n default:\n css['align-content'] = DEFAULT_MAIN$1; // default main axis\n break;\n }\n // Cross-axis\n switch (crossAxis) {\n case 'start':\n css['align-items'] = 'start';\n break;\n case 'center':\n css['align-items'] = 'center';\n break;\n case 'end':\n css['align-items'] = 'end';\n break;\n case 'stretch':\n css['align-items'] = 'stretch';\n break;\n default: // 'stretch'\n css['align-items'] = DEFAULT_CROSS$1; // default cross axis\n break;\n }\n css['display'] = inline ? 'inline-grid' : 'grid';\n return css;\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 */\nconst DEFAULT_MAIN = 'start';\nconst DEFAULT_CROSS = 'stretch';\nclass GridAlignRowsStyleBuilder extends StyleBuilder {\n buildStyles(input, parent) {\n return buildCss(input || `${DEFAULT_MAIN} ${DEFAULT_CROSS}`, parent.inline);\n }\n}\nGridAlignRowsStyleBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridAlignRowsStyleBuilder, deps: null, target: i0.ɵɵFactoryTarget.Injectable });\nGridAlignRowsStyleBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridAlignRowsStyleBuilder, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridAlignRowsStyleBuilder, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }] });\nclass GridAlignRowsDirective extends BaseDirective2 {\n constructor(elementRef, styleBuilder, styler, marshal) {\n super(elementRef, styleBuilder, styler, marshal);\n this.DIRECTIVE_KEY = 'grid-align-rows';\n this._inline = false;\n this.init();\n }\n get inline() { return this._inline; }\n set inline(val) { this._inline = coerceBooleanProperty(val); }\n // *********************************************\n // Protected methods\n // *********************************************\n updateWithValue(value) {\n this.styleCache = this.inline ? alignRowsInlineCache : alignRowsCache;\n this.addStyles(value, { inline: this.inline });\n }\n}\nGridAlignRowsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridAlignRowsDirective, deps: [{ token: i0.ElementRef }, { token: GridAlignRowsStyleBuilder }, { token: i1.StyleUtils }, { token: i1.MediaMarshaller }], target: i0.ɵɵFactoryTarget.Directive });\nGridAlignRowsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: GridAlignRowsDirective, inputs: { inline: [\"gdInline\", \"inline\"] }, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridAlignRowsDirective, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: GridAlignRowsStyleBuilder }, { type: i1.StyleUtils }, { type: i1.MediaMarshaller }]; }, propDecorators: { inline: [{\n type: Input,\n args: ['gdInline']\n }] } });\nconst alignRowsCache = new Map();\nconst alignRowsInlineCache = new Map();\nconst inputs$8 = [\n 'gdAlignRows',\n 'gdAlignRows.xs', 'gdAlignRows.sm', 'gdAlignRows.md',\n 'gdAlignRows.lg', 'gdAlignRows.xl', 'gdAlignRows.lt-sm',\n 'gdAlignRows.lt-md', 'gdAlignRows.lt-lg', 'gdAlignRows.lt-xl',\n 'gdAlignRows.gt-xs', 'gdAlignRows.gt-sm', 'gdAlignRows.gt-md',\n 'gdAlignRows.gt-lg'\n];\nconst selector$8 = `\n [gdAlignRows],\n [gdAlignRows.xs], [gdAlignRows.sm], [gdAlignRows.md],\n [gdAlignRows.lg], [gdAlignRows.xl], [gdAlignRows.lt-sm],\n [gdAlignRows.lt-md], [gdAlignRows.lt-lg], [gdAlignRows.lt-xl],\n [gdAlignRows.gt-xs], [gdAlignRows.gt-sm], [gdAlignRows.gt-md],\n [gdAlignRows.gt-lg]\n`;\n/**\n * 'row alignment' CSS Grid styling directive\n * Configures the alignment in the row direction\n * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-18\n * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-20\n */\nclass DefaultGridAlignRowsDirective extends GridAlignRowsDirective {\n constructor() {\n super(...arguments);\n this.inputs = inputs$8;\n }\n}\nDefaultGridAlignRowsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultGridAlignRowsDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });\nDefaultGridAlignRowsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: DefaultGridAlignRowsDirective, selector: \"\\n [gdAlignRows],\\n [gdAlignRows.xs], [gdAlignRows.sm], [gdAlignRows.md],\\n [gdAlignRows.lg], [gdAlignRows.xl], [gdAlignRows.lt-sm],\\n [gdAlignRows.lt-md], [gdAlignRows.lt-lg], [gdAlignRows.lt-xl],\\n [gdAlignRows.gt-xs], [gdAlignRows.gt-sm], [gdAlignRows.gt-md],\\n [gdAlignRows.gt-lg]\\n\", inputs: { gdAlignRows: \"gdAlignRows\", \"gdAlignRows.xs\": \"gdAlignRows.xs\", \"gdAlignRows.sm\": \"gdAlignRows.sm\", \"gdAlignRows.md\": \"gdAlignRows.md\", \"gdAlignRows.lg\": \"gdAlignRows.lg\", \"gdAlignRows.xl\": \"gdAlignRows.xl\", \"gdAlignRows.lt-sm\": \"gdAlignRows.lt-sm\", \"gdAlignRows.lt-md\": \"gdAlignRows.lt-md\", \"gdAlignRows.lt-lg\": \"gdAlignRows.lt-lg\", \"gdAlignRows.lt-xl\": \"gdAlignRows.lt-xl\", \"gdAlignRows.gt-xs\": \"gdAlignRows.gt-xs\", \"gdAlignRows.gt-sm\": \"gdAlignRows.gt-sm\", \"gdAlignRows.gt-md\": \"gdAlignRows.gt-md\", \"gdAlignRows.gt-lg\": \"gdAlignRows.gt-lg\" }, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultGridAlignRowsDirective, decorators: [{\n type: Directive,\n args: [{ selector: selector$8, inputs: inputs$8 }]\n }] });\nfunction buildCss(align, inline) {\n const css = {}, [mainAxis, crossAxis] = align.split(' ');\n // Main axis\n switch (mainAxis) {\n case 'center':\n case 'space-around':\n case 'space-between':\n case 'space-evenly':\n case 'end':\n case 'start':\n case 'stretch':\n css['justify-content'] = mainAxis;\n break;\n default:\n css['justify-content'] = DEFAULT_MAIN; // default main axis\n break;\n }\n // Cross-axis\n switch (crossAxis) {\n case 'start':\n case 'center':\n case 'end':\n case 'stretch':\n css['justify-items'] = crossAxis;\n break;\n default: // 'stretch'\n css['justify-items'] = DEFAULT_CROSS; // default cross axis\n break;\n }\n css['display'] = inline ? 'inline-grid' : 'grid';\n return css;\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 */\nconst DEFAULT_VALUE$7 = 'auto';\nclass GridAreaStyleBuilder extends StyleBuilder {\n buildStyles(input) {\n return { 'grid-area': input || DEFAULT_VALUE$7 };\n }\n}\nGridAreaStyleBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridAreaStyleBuilder, deps: null, target: i0.ɵɵFactoryTarget.Injectable });\nGridAreaStyleBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridAreaStyleBuilder, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridAreaStyleBuilder, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }] });\nclass GridAreaDirective extends BaseDirective2 {\n constructor(elRef, styleUtils, styleBuilder, marshal) {\n super(elRef, styleBuilder, styleUtils, marshal);\n this.DIRECTIVE_KEY = 'grid-area';\n this.styleCache = gridAreaCache;\n this.init();\n }\n}\nGridAreaDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridAreaDirective, deps: [{ token: i0.ElementRef }, { token: i1.StyleUtils }, { token: GridAreaStyleBuilder }, { token: i1.MediaMarshaller }], target: i0.ɵɵFactoryTarget.Directive });\nGridAreaDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: GridAreaDirective, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridAreaDirective, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.StyleUtils }, { type: GridAreaStyleBuilder }, { type: i1.MediaMarshaller }]; } });\nconst gridAreaCache = new Map();\nconst inputs$7 = [\n 'gdArea',\n 'gdArea.xs', 'gdArea.sm', 'gdArea.md', 'gdArea.lg', 'gdArea.xl',\n 'gdArea.lt-sm', 'gdArea.lt-md', 'gdArea.lt-lg', 'gdArea.lt-xl',\n 'gdArea.gt-xs', 'gdArea.gt-sm', 'gdArea.gt-md', 'gdArea.gt-lg'\n];\nconst selector$7 = `\n [gdArea],\n [gdArea.xs], [gdArea.sm], [gdArea.md], [gdArea.lg], [gdArea.xl],\n [gdArea.lt-sm], [gdArea.lt-md], [gdArea.lt-lg], [gdArea.lt-xl],\n [gdArea.gt-xs], [gdArea.gt-sm], [gdArea.gt-md], [gdArea.gt-lg]\n`;\n/**\n * 'grid-area' CSS Grid styling directive\n * Configures the name or position of an element within the grid\n * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-27\n */\nclass DefaultGridAreaDirective extends GridAreaDirective {\n constructor() {\n super(...arguments);\n this.inputs = inputs$7;\n }\n}\nDefaultGridAreaDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultGridAreaDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });\nDefaultGridAreaDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: DefaultGridAreaDirective, selector: \"\\n [gdArea],\\n [gdArea.xs], [gdArea.sm], [gdArea.md], [gdArea.lg], [gdArea.xl],\\n [gdArea.lt-sm], [gdArea.lt-md], [gdArea.lt-lg], [gdArea.lt-xl],\\n [gdArea.gt-xs], [gdArea.gt-sm], [gdArea.gt-md], [gdArea.gt-lg]\\n\", inputs: { gdArea: \"gdArea\", \"gdArea.xs\": \"gdArea.xs\", \"gdArea.sm\": \"gdArea.sm\", \"gdArea.md\": \"gdArea.md\", \"gdArea.lg\": \"gdArea.lg\", \"gdArea.xl\": \"gdArea.xl\", \"gdArea.lt-sm\": \"gdArea.lt-sm\", \"gdArea.lt-md\": \"gdArea.lt-md\", \"gdArea.lt-lg\": \"gdArea.lt-lg\", \"gdArea.lt-xl\": \"gdArea.lt-xl\", \"gdArea.gt-xs\": \"gdArea.gt-xs\", \"gdArea.gt-sm\": \"gdArea.gt-sm\", \"gdArea.gt-md\": \"gdArea.gt-md\", \"gdArea.gt-lg\": \"gdArea.gt-lg\" }, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultGridAreaDirective, decorators: [{\n type: Directive,\n args: [{ selector: selector$7, inputs: inputs$7 }]\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 */\nconst DEFAULT_VALUE$6 = 'none';\nconst DELIMETER = '|';\nclass GridAreasStyleBuiler extends StyleBuilder {\n buildStyles(input, parent) {\n const areas = (input || DEFAULT_VALUE$6).split(DELIMETER).map(v => `\"${v.trim()}\"`);\n return {\n 'display': parent.inline ? 'inline-grid' : 'grid',\n 'grid-template-areas': areas.join(' ')\n };\n }\n}\nGridAreasStyleBuiler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridAreasStyleBuiler, deps: null, target: i0.ɵɵFactoryTarget.Injectable });\nGridAreasStyleBuiler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridAreasStyleBuiler, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridAreasStyleBuiler, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }] });\nclass GridAreasDirective extends BaseDirective2 {\n constructor(elRef, styleUtils, styleBuilder, marshal) {\n super(elRef, styleBuilder, styleUtils, marshal);\n this.DIRECTIVE_KEY = 'grid-areas';\n this._inline = false;\n this.init();\n }\n get inline() { return this._inline; }\n set inline(val) { this._inline = coerceBooleanProperty(val); }\n // *********************************************\n // Protected methods\n // *********************************************\n updateWithValue(value) {\n this.styleCache = this.inline ? areasInlineCache : areasCache;\n this.addStyles(value, { inline: this.inline });\n }\n}\nGridAreasDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridAreasDirective, deps: [{ token: i0.ElementRef }, { token: i1.StyleUtils }, { token: GridAreasStyleBuiler }, { token: i1.MediaMarshaller }], target: i0.ɵɵFactoryTarget.Directive });\nGridAreasDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: GridAreasDirective, inputs: { inline: [\"gdInline\", \"inline\"] }, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridAreasDirective, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.StyleUtils }, { type: GridAreasStyleBuiler }, { type: i1.MediaMarshaller }]; }, propDecorators: { inline: [{\n type: Input,\n args: ['gdInline']\n }] } });\nconst areasCache = new Map();\nconst areasInlineCache = new Map();\nconst inputs$6 = [\n 'gdAreas',\n 'gdAreas.xs', 'gdAreas.sm', 'gdAreas.md', 'gdAreas.lg', 'gdAreas.xl',\n 'gdAreas.lt-sm', 'gdAreas.lt-md', 'gdAreas.lt-lg', 'gdAreas.lt-xl',\n 'gdAreas.gt-xs', 'gdAreas.gt-sm', 'gdAreas.gt-md', 'gdAreas.gt-lg'\n];\nconst selector$6 = `\n [gdAreas],\n [gdAreas.xs], [gdAreas.sm], [gdAreas.md], [gdAreas.lg], [gdAreas.xl],\n [gdAreas.lt-sm], [gdAreas.lt-md], [gdAreas.lt-lg], [gdAreas.lt-xl],\n [gdAreas.gt-xs], [gdAreas.gt-sm], [gdAreas.gt-md], [gdAreas.gt-lg]\n`;\n/**\n * 'grid-template-areas' CSS Grid styling directive\n * Configures the names of elements within the grid\n * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-14\n */\nclass DefaultGridAreasDirective extends GridAreasDirective {\n constructor() {\n super(...arguments);\n this.inputs = inputs$6;\n }\n}\nDefaultGridAreasDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultGridAreasDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });\nDefaultGridAreasDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: DefaultGridAreasDirective, selector: \"\\n [gdAreas],\\n [gdAreas.xs], [gdAreas.sm], [gdAreas.md], [gdAreas.lg], [gdAreas.xl],\\n [gdAreas.lt-sm], [gdAreas.lt-md], [gdAreas.lt-lg], [gdAreas.lt-xl],\\n [gdAreas.gt-xs], [gdAreas.gt-sm], [gdAreas.gt-md], [gdAreas.gt-lg]\\n\", inputs: { gdAreas: \"gdAreas\", \"gdAreas.xs\": \"gdAreas.xs\", \"gdAreas.sm\": \"gdAreas.sm\", \"gdAreas.md\": \"gdAreas.md\", \"gdAreas.lg\": \"gdAreas.lg\", \"gdAreas.xl\": \"gdAreas.xl\", \"gdAreas.lt-sm\": \"gdAreas.lt-sm\", \"gdAreas.lt-md\": \"gdAreas.lt-md\", \"gdAreas.lt-lg\": \"gdAreas.lt-lg\", \"gdAreas.lt-xl\": \"gdAreas.lt-xl\", \"gdAreas.gt-xs\": \"gdAreas.gt-xs\", \"gdAreas.gt-sm\": \"gdAreas.gt-sm\", \"gdAreas.gt-md\": \"gdAreas.gt-md\", \"gdAreas.gt-lg\": \"gdAreas.gt-lg\" }, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultGridAreasDirective, decorators: [{\n type: Directive,\n args: [{ selector: selector$6, inputs: inputs$6 }]\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 */\nconst DEFAULT_VALUE$5 = 'initial';\nclass GridAutoStyleBuilder extends StyleBuilder {\n buildStyles(input, parent) {\n let [direction, dense] = (input || DEFAULT_VALUE$5).split(' ');\n if (direction !== 'column' && direction !== 'row' && direction !== 'dense') {\n direction = 'row';\n }\n dense = (dense === 'dense' && direction !== 'dense') ? ' dense' : '';\n return {\n 'display': parent.inline ? 'inline-grid' : 'grid',\n 'grid-auto-flow': direction + dense\n };\n }\n}\nGridAutoStyleBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridAutoStyleBuilder, deps: null, target: i0.ɵɵFactoryTarget.Injectable });\nGridAutoStyleBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridAutoStyleBuilder, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridAutoStyleBuilder, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }] });\nclass GridAutoDirective extends BaseDirective2 {\n constructor(elementRef, styleBuilder, styler, marshal) {\n super(elementRef, styleBuilder, styler, marshal);\n this._inline = false;\n this.DIRECTIVE_KEY = 'grid-auto';\n this.init();\n }\n get inline() { return this._inline; }\n set inline(val) { this._inline = coerceBooleanProperty(val); }\n // *********************************************\n // Protected methods\n // *********************************************\n updateWithValue(value) {\n this.styleCache = this.inline ? autoInlineCache : autoCache;\n this.addStyles(value, { inline: this.inline });\n }\n}\nGridAutoDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridAutoDirective, deps: [{ token: i0.ElementRef }, { token: GridAutoStyleBuilder }, { token: i1.StyleUtils }, { token: i1.MediaMarshaller }], target: i0.ɵɵFactoryTarget.Directive });\nGridAutoDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: GridAutoDirective, inputs: { inline: [\"gdInline\", \"inline\"] }, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridAutoDirective, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: GridAutoStyleBuilder }, { type: i1.StyleUtils }, { type: i1.MediaMarshaller }]; }, propDecorators: { inline: [{\n type: Input,\n args: ['gdInline']\n }] } });\nconst autoCache = new Map();\nconst autoInlineCache = new Map();\nconst inputs$5 = [\n 'gdAuto',\n 'gdAuto.xs', 'gdAuto.sm', 'gdAuto.md', 'gdAuto.lg', 'gdAuto.xl',\n 'gdAuto.lt-sm', 'gdAuto.lt-md', 'gdAuto.lt-lg', 'gdAuto.lt-xl',\n 'gdAuto.gt-xs', 'gdAuto.gt-sm', 'gdAuto.gt-md', 'gdAuto.gt-lg'\n];\nconst selector$5 = `\n [gdAuto],\n [gdAuto.xs], [gdAuto.sm], [gdAuto.md], [gdAuto.lg], [gdAuto.xl],\n [gdAuto.lt-sm], [gdAuto.lt-md], [gdAuto.lt-lg], [gdAuto.lt-xl],\n [gdAuto.gt-xs], [gdAuto.gt-sm], [gdAuto.gt-md], [gdAuto.gt-lg]\n`;\n/**\n * 'grid-auto-flow' CSS Grid styling directive\n * Configures the auto placement algorithm for the grid\n * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-23\n */\nclass DefaultGridAutoDirective extends GridAutoDirective {\n constructor() {\n super(...arguments);\n this.inputs = inputs$5;\n }\n}\nDefaultGridAutoDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultGridAutoDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });\nDefaultGridAutoDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: DefaultGridAutoDirective, selector: \"\\n [gdAuto],\\n [gdAuto.xs], [gdAuto.sm], [gdAuto.md], [gdAuto.lg], [gdAuto.xl],\\n [gdAuto.lt-sm], [gdAuto.lt-md], [gdAuto.lt-lg], [gdAuto.lt-xl],\\n [gdAuto.gt-xs], [gdAuto.gt-sm], [gdAuto.gt-md], [gdAuto.gt-lg]\\n\", inputs: { gdAuto: \"gdAuto\", \"gdAuto.xs\": \"gdAuto.xs\", \"gdAuto.sm\": \"gdAuto.sm\", \"gdAuto.md\": \"gdAuto.md\", \"gdAuto.lg\": \"gdAuto.lg\", \"gdAuto.xl\": \"gdAuto.xl\", \"gdAuto.lt-sm\": \"gdAuto.lt-sm\", \"gdAuto.lt-md\": \"gdAuto.lt-md\", \"gdAuto.lt-lg\": \"gdAuto.lt-lg\", \"gdAuto.lt-xl\": \"gdAuto.lt-xl\", \"gdAuto.gt-xs\": \"gdAuto.gt-xs\", \"gdAuto.gt-sm\": \"gdAuto.gt-sm\", \"gdAuto.gt-md\": \"gdAuto.gt-md\", \"gdAuto.gt-lg\": \"gdAuto.gt-lg\" }, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultGridAutoDirective, decorators: [{\n type: Directive,\n args: [{ selector: selector$5, inputs: inputs$5 }]\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 */\nconst DEFAULT_VALUE$4 = 'auto';\nclass GridColumnStyleBuilder extends StyleBuilder {\n buildStyles(input) {\n return { 'grid-column': input || DEFAULT_VALUE$4 };\n }\n}\nGridColumnStyleBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridColumnStyleBuilder, deps: null, target: i0.ɵɵFactoryTarget.Injectable });\nGridColumnStyleBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridColumnStyleBuilder, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridColumnStyleBuilder, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }] });\nclass GridColumnDirective extends BaseDirective2 {\n constructor(elementRef, styleBuilder, styler, marshal) {\n super(elementRef, styleBuilder, styler, marshal);\n this.DIRECTIVE_KEY = 'grid-column';\n this.styleCache = columnCache;\n this.init();\n }\n}\nGridColumnDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridColumnDirective, deps: [{ token: i0.ElementRef }, { token: GridColumnStyleBuilder }, { token: i1.StyleUtils }, { token: i1.MediaMarshaller }], target: i0.ɵɵFactoryTarget.Directive });\nGridColumnDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: GridColumnDirective, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridColumnDirective, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: GridColumnStyleBuilder }, { type: i1.StyleUtils }, { type: i1.MediaMarshaller }]; } });\nconst columnCache = new Map();\nconst inputs$4 = [\n 'gdColumn',\n 'gdColumn.xs', 'gdColumn.sm', 'gdColumn.md', 'gdColumn.lg', 'gdColumn.xl',\n 'gdColumn.lt-sm', 'gdColumn.lt-md', 'gdColumn.lt-lg', 'gdColumn.lt-xl',\n 'gdColumn.gt-xs', 'gdColumn.gt-sm', 'gdColumn.gt-md', 'gdColumn.gt-lg'\n];\nconst selector$4 = `\n [gdColumn],\n [gdColumn.xs], [gdColumn.sm], [gdColumn.md], [gdColumn.lg], [gdColumn.xl],\n [gdColumn.lt-sm], [gdColumn.lt-md], [gdColumn.lt-lg], [gdColumn.lt-xl],\n [gdColumn.gt-xs], [gdColumn.gt-sm], [gdColumn.gt-md], [gdColumn.gt-lg]\n`;\n/**\n * 'grid-column' CSS Grid styling directive\n * Configures the name or position of an element within the grid\n * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-26\n */\nclass DefaultGridColumnDirective extends GridColumnDirective {\n constructor() {\n super(...arguments);\n this.inputs = inputs$4;\n }\n}\nDefaultGridColumnDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultGridColumnDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });\nDefaultGridColumnDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: DefaultGridColumnDirective, selector: \"\\n [gdColumn],\\n [gdColumn.xs], [gdColumn.sm], [gdColumn.md], [gdColumn.lg], [gdColumn.xl],\\n [gdColumn.lt-sm], [gdColumn.lt-md], [gdColumn.lt-lg], [gdColumn.lt-xl],\\n [gdColumn.gt-xs], [gdColumn.gt-sm], [gdColumn.gt-md], [gdColumn.gt-lg]\\n\", inputs: { gdColumn: \"gdColumn\", \"gdColumn.xs\": \"gdColumn.xs\", \"gdColumn.sm\": \"gdColumn.sm\", \"gdColumn.md\": \"gdColumn.md\", \"gdColumn.lg\": \"gdColumn.lg\", \"gdColumn.xl\": \"gdColumn.xl\", \"gdColumn.lt-sm\": \"gdColumn.lt-sm\", \"gdColumn.lt-md\": \"gdColumn.lt-md\", \"gdColumn.lt-lg\": \"gdColumn.lt-lg\", \"gdColumn.lt-xl\": \"gdColumn.lt-xl\", \"gdColumn.gt-xs\": \"gdColumn.gt-xs\", \"gdColumn.gt-sm\": \"gdColumn.gt-sm\", \"gdColumn.gt-md\": \"gdColumn.gt-md\", \"gdColumn.gt-lg\": \"gdColumn.gt-lg\" }, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultGridColumnDirective, decorators: [{\n type: Directive,\n args: [{ selector: selector$4, inputs: inputs$4 }]\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 */\nconst DEFAULT_VALUE$3 = 'none';\nconst AUTO_SPECIFIER$1 = '!';\nclass GridColumnsStyleBuilder extends StyleBuilder {\n buildStyles(input, parent) {\n input = input || DEFAULT_VALUE$3;\n let auto = false;\n if (input.endsWith(AUTO_SPECIFIER$1)) {\n input = input.substring(0, input.indexOf(AUTO_SPECIFIER$1));\n auto = true;\n }\n const css = {\n 'display': parent.inline ? 'inline-grid' : 'grid',\n 'grid-auto-columns': '',\n 'grid-template-columns': '',\n };\n const key = (auto ? 'grid-auto-columns' : 'grid-template-columns');\n css[key] = input;\n return css;\n }\n}\nGridColumnsStyleBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridColumnsStyleBuilder, deps: null, target: i0.ɵɵFactoryTarget.Injectable });\nGridColumnsStyleBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridColumnsStyleBuilder, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridColumnsStyleBuilder, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }] });\nclass GridColumnsDirective extends BaseDirective2 {\n constructor(elementRef, styleBuilder, styler, marshal) {\n super(elementRef, styleBuilder, styler, marshal);\n this.DIRECTIVE_KEY = 'grid-columns';\n this._inline = false;\n this.init();\n }\n get inline() { return this._inline; }\n set inline(val) { this._inline = coerceBooleanProperty(val); }\n // *********************************************\n // Protected methods\n // *********************************************\n updateWithValue(value) {\n this.styleCache = this.inline ? columnsInlineCache : columnsCache;\n this.addStyles(value, { inline: this.inline });\n }\n}\nGridColumnsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridColumnsDirective, deps: [{ token: i0.ElementRef }, { token: GridColumnsStyleBuilder }, { token: i1.StyleUtils }, { token: i1.MediaMarshaller }], target: i0.ɵɵFactoryTarget.Directive });\nGridColumnsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: GridColumnsDirective, inputs: { inline: [\"gdInline\", \"inline\"] }, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridColumnsDirective, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: GridColumnsStyleBuilder }, { type: i1.StyleUtils }, { type: i1.MediaMarshaller }]; }, propDecorators: { inline: [{\n type: Input,\n args: ['gdInline']\n }] } });\nconst columnsCache = new Map();\nconst columnsInlineCache = new Map();\nconst inputs$3 = [\n 'gdColumns',\n 'gdColumns.xs', 'gdColumns.sm', 'gdColumns.md', 'gdColumns.lg', 'gdColumns.xl',\n 'gdColumns.lt-sm', 'gdColumns.lt-md', 'gdColumns.lt-lg', 'gdColumns.lt-xl',\n 'gdColumns.gt-xs', 'gdColumns.gt-sm', 'gdColumns.gt-md', 'gdColumns.gt-lg'\n];\nconst selector$3 = `\n [gdColumns],\n [gdColumns.xs], [gdColumns.sm], [gdColumns.md], [gdColumns.lg], [gdColumns.xl],\n [gdColumns.lt-sm], [gdColumns.lt-md], [gdColumns.lt-lg], [gdColumns.lt-xl],\n [gdColumns.gt-xs], [gdColumns.gt-sm], [gdColumns.gt-md], [gdColumns.gt-lg]\n`;\n/**\n * 'grid-template-columns' CSS Grid styling directive\n * Configures the sizing for the columns in the grid\n * Syntax: <column value> [auto]\n * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-13\n */\nclass DefaultGridColumnsDirective extends GridColumnsDirective {\n constructor() {\n super(...arguments);\n this.inputs = inputs$3;\n }\n}\nDefaultGridColumnsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultGridColumnsDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });\nDefaultGridColumnsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: DefaultGridColumnsDirective, selector: \"\\n [gdColumns],\\n [gdColumns.xs], [gdColumns.sm], [gdColumns.md], [gdColumns.lg], [gdColumns.xl],\\n [gdColumns.lt-sm], [gdColumns.lt-md], [gdColumns.lt-lg], [gdColumns.lt-xl],\\n [gdColumns.gt-xs], [gdColumns.gt-sm], [gdColumns.gt-md], [gdColumns.gt-lg]\\n\", inputs: { gdColumns: \"gdColumns\", \"gdColumns.xs\": \"gdColumns.xs\", \"gdColumns.sm\": \"gdColumns.sm\", \"gdColumns.md\": \"gdColumns.md\", \"gdColumns.lg\": \"gdColumns.lg\", \"gdColumns.xl\": \"gdColumns.xl\", \"gdColumns.lt-sm\": \"gdColumns.lt-sm\", \"gdColumns.lt-md\": \"gdColumns.lt-md\", \"gdColumns.lt-lg\": \"gdColumns.lt-lg\", \"gdColumns.lt-xl\": \"gdColumns.lt-xl\", \"gdColumns.gt-xs\": \"gdColumns.gt-xs\", \"gdColumns.gt-sm\": \"gdColumns.gt-sm\", \"gdColumns.gt-md\": \"gdColumns.gt-md\", \"gdColumns.gt-lg\": \"gdColumns.gt-lg\" }, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultGridColumnsDirective, decorators: [{\n type: Directive,\n args: [{ selector: selector$3, inputs: inputs$3 }]\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 */\nconst DEFAULT_VALUE$2 = '0';\nclass GridGapStyleBuilder extends StyleBuilder {\n buildStyles(input, parent) {\n return {\n 'display': parent.inline ? 'inline-grid' : 'grid',\n 'grid-gap': input || DEFAULT_VALUE$2\n };\n }\n}\nGridGapStyleBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridGapStyleBuilder, deps: null, target: i0.ɵɵFactoryTarget.Injectable });\nGridGapStyleBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridGapStyleBuilder, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridGapStyleBuilder, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }] });\nclass GridGapDirective extends BaseDirective2 {\n constructor(elRef, styleUtils, styleBuilder, marshal) {\n super(elRef, styleBuilder, styleUtils, marshal);\n this.DIRECTIVE_KEY = 'grid-gap';\n this._inline = false;\n this.init();\n }\n get inline() { return this._inline; }\n set inline(val) { this._inline = coerceBooleanProperty(val); }\n // *********************************************\n // Protected methods\n // *********************************************\n updateWithValue(value) {\n this.styleCache = this.inline ? gapInlineCache : gapCache;\n this.addStyles(value, { inline: this.inline });\n }\n}\nGridGapDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridGapDirective, deps: [{ token: i0.ElementRef }, { token: i1.StyleUtils }, { token: GridGapStyleBuilder }, { token: i1.MediaMarshaller }], target: i0.ɵɵFactoryTarget.Directive });\nGridGapDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: GridGapDirective, inputs: { inline: [\"gdInline\", \"inline\"] }, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridGapDirective, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.StyleUtils }, { type: GridGapStyleBuilder }, { type: i1.MediaMarshaller }]; }, propDecorators: { inline: [{\n type: Input,\n args: ['gdInline']\n }] } });\nconst gapCache = new Map();\nconst gapInlineCache = new Map();\nconst inputs$2 = [\n 'gdGap',\n 'gdGap.xs', 'gdGap.sm', 'gdGap.md', 'gdGap.lg', 'gdGap.xl',\n 'gdGap.lt-sm', 'gdGap.lt-md', 'gdGap.lt-lg', 'gdGap.lt-xl',\n 'gdGap.gt-xs', 'gdGap.gt-sm', 'gdGap.gt-md', 'gdGap.gt-lg'\n];\nconst selector$2 = `\n [gdGap],\n [gdGap.xs], [gdGap.sm], [gdGap.md], [gdGap.lg], [gdGap.xl],\n [gdGap.lt-sm], [gdGap.lt-md], [gdGap.lt-lg], [gdGap.lt-xl],\n [gdGap.gt-xs], [gdGap.gt-sm], [gdGap.gt-md], [gdGap.gt-lg]\n`;\n/**\n * 'grid-gap' CSS Grid styling directive\n * Configures the gap between items in the grid\n * Syntax: <row gap> [<column-gap>]\n * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-17\n */\nclass DefaultGridGapDirective extends GridGapDirective {\n constructor() {\n super(...arguments);\n this.inputs = inputs$2;\n }\n}\nDefaultGridGapDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultGridGapDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });\nDefaultGridGapDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: DefaultGridGapDirective, selector: \"\\n [gdGap],\\n [gdGap.xs], [gdGap.sm], [gdGap.md], [gdGap.lg], [gdGap.xl],\\n [gdGap.lt-sm], [gdGap.lt-md], [gdGap.lt-lg], [gdGap.lt-xl],\\n [gdGap.gt-xs], [gdGap.gt-sm], [gdGap.gt-md], [gdGap.gt-lg]\\n\", inputs: { gdGap: \"gdGap\", \"gdGap.xs\": \"gdGap.xs\", \"gdGap.sm\": \"gdGap.sm\", \"gdGap.md\": \"gdGap.md\", \"gdGap.lg\": \"gdGap.lg\", \"gdGap.xl\": \"gdGap.xl\", \"gdGap.lt-sm\": \"gdGap.lt-sm\", \"gdGap.lt-md\": \"gdGap.lt-md\", \"gdGap.lt-lg\": \"gdGap.lt-lg\", \"gdGap.lt-xl\": \"gdGap.lt-xl\", \"gdGap.gt-xs\": \"gdGap.gt-xs\", \"gdGap.gt-sm\": \"gdGap.gt-sm\", \"gdGap.gt-md\": \"gdGap.gt-md\", \"gdGap.gt-lg\": \"gdGap.gt-lg\" }, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultGridGapDirective, decorators: [{\n type: Directive,\n args: [{ selector: selector$2, inputs: inputs$2 }]\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 */\nconst DEFAULT_VALUE$1 = 'auto';\nclass GridRowStyleBuilder extends StyleBuilder {\n buildStyles(input) {\n return { 'grid-row': input || DEFAULT_VALUE$1 };\n }\n}\nGridRowStyleBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridRowStyleBuilder, deps: null, target: i0.ɵɵFactoryTarget.Injectable });\nGridRowStyleBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridRowStyleBuilder, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridRowStyleBuilder, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }] });\nclass GridRowDirective extends BaseDirective2 {\n constructor(elementRef, styleBuilder, styler, marshal) {\n super(elementRef, styleBuilder, styler, marshal);\n this.DIRECTIVE_KEY = 'grid-row';\n this.styleCache = rowCache;\n this.init();\n }\n}\nGridRowDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridRowDirective, deps: [{ token: i0.ElementRef }, { token: GridRowStyleBuilder }, { token: i1.StyleUtils }, { token: i1.MediaMarshaller }], target: i0.ɵɵFactoryTarget.Directive });\nGridRowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: GridRowDirective, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridRowDirective, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: GridRowStyleBuilder }, { type: i1.StyleUtils }, { type: i1.MediaMarshaller }]; } });\nconst rowCache = new Map();\nconst inputs$1 = [\n 'gdRow',\n 'gdRow.xs', 'gdRow.sm', 'gdRow.md', 'gdRow.lg', 'gdRow.xl',\n 'gdRow.lt-sm', 'gdRow.lt-md', 'gdRow.lt-lg', 'gdRow.lt-xl',\n 'gdRow.gt-xs', 'gdRow.gt-sm', 'gdRow.gt-md', 'gdRow.gt-lg'\n];\nconst selector$1 = `\n [gdRow],\n [gdRow.xs], [gdRow.sm], [gdRow.md], [gdRow.lg], [gdRow.xl],\n [gdRow.lt-sm], [gdRow.lt-md], [gdRow.lt-lg], [gdRow.lt-xl],\n [gdRow.gt-xs], [gdRow.gt-sm], [gdRow.gt-md], [gdRow.gt-lg]\n`;\n/**\n * 'grid-row' CSS Grid styling directive\n * Configures the name or position of an element within the grid\n * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-26\n */\nclass DefaultGridRowDirective extends GridRowDirective {\n constructor() {\n super(...arguments);\n this.inputs = inputs$1;\n }\n}\nDefaultGridRowDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultGridRowDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });\nDefaultGridRowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: DefaultGridRowDirective, selector: \"\\n [gdRow],\\n [gdRow.xs], [gdRow.sm], [gdRow.md], [gdRow.lg], [gdRow.xl],\\n [gdRow.lt-sm], [gdRow.lt-md], [gdRow.lt-lg], [gdRow.lt-xl],\\n [gdRow.gt-xs], [gdRow.gt-sm], [gdRow.gt-md], [gdRow.gt-lg]\\n\", inputs: { gdRow: \"gdRow\", \"gdRow.xs\": \"gdRow.xs\", \"gdRow.sm\": \"gdRow.sm\", \"gdRow.md\": \"gdRow.md\", \"gdRow.lg\": \"gdRow.lg\", \"gdRow.xl\": \"gdRow.xl\", \"gdRow.lt-sm\": \"gdRow.lt-sm\", \"gdRow.lt-md\": \"gdRow.lt-md\", \"gdRow.lt-lg\": \"gdRow.lt-lg\", \"gdRow.lt-xl\": \"gdRow.lt-xl\", \"gdRow.gt-xs\": \"gdRow.gt-xs\", \"gdRow.gt-sm\": \"gdRow.gt-sm\", \"gdRow.gt-md\": \"gdRow.gt-md\", \"gdRow.gt-lg\": \"gdRow.gt-lg\" }, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultGridRowDirective, decorators: [{\n type: Directive,\n args: [{ selector: selector$1, inputs: inputs$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 */\nconst DEFAULT_VALUE = 'none';\nconst AUTO_SPECIFIER = '!';\nclass GridRowsStyleBuilder extends StyleBuilder {\n buildStyles(input, parent) {\n input = input || DEFAULT_VALUE;\n let auto = false;\n if (input.endsWith(AUTO_SPECIFIER)) {\n input = input.substring(0, input.indexOf(AUTO_SPECIFIER));\n auto = true;\n }\n const css = {\n 'display': parent.inline ? 'inline-grid' : 'grid',\n 'grid-auto-rows': '',\n 'grid-template-rows': '',\n };\n const key = (auto ? 'grid-auto-rows' : 'grid-template-rows');\n css[key] = input;\n return css;\n }\n}\nGridRowsStyleBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridRowsStyleBuilder, deps: null, target: i0.ɵɵFactoryTarget.Injectable });\nGridRowsStyleBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridRowsStyleBuilder, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridRowsStyleBuilder, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }] });\nclass GridRowsDirective extends BaseDirective2 {\n constructor(elementRef, styleBuilder, styler, marshal) {\n super(elementRef, styleBuilder, styler, marshal);\n this.DIRECTIVE_KEY = 'grid-rows';\n this._inline = false;\n this.init();\n }\n get inline() { return this._inline; }\n set inline(val) { this._inline = coerceBooleanProperty(val); }\n // *********************************************\n // Protected methods\n // *********************************************\n updateWithValue(value) {\n this.styleCache = this.inline ? rowsInlineCache : rowsCache;\n this.addStyles(value, { inline: this.inline });\n }\n}\nGridRowsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridRowsDirective, deps: [{ token: i0.ElementRef }, { token: GridRowsStyleBuilder }, { token: i1.StyleUtils }, { token: i1.MediaMarshaller }], target: i0.ɵɵFactoryTarget.Directive });\nGridRowsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: GridRowsDirective, inputs: { inline: [\"gdInline\", \"inline\"] }, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridRowsDirective, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: GridRowsStyleBuilder }, { type: i1.StyleUtils }, { type: i1.MediaMarshaller }]; }, propDecorators: { inline: [{\n type: Input,\n args: ['gdInline']\n }] } });\nconst rowsCache = new Map();\nconst rowsInlineCache = new Map();\nconst inputs = [\n 'gdRows',\n 'gdRows.xs', 'gdRows.sm', 'gdRows.md', 'gdRows.lg', 'gdRows.xl',\n 'gdRows.lt-sm', 'gdRows.lt-md', 'gdRows.lt-lg', 'gdRows.lt-xl',\n 'gdRows.gt-xs', 'gdRows.gt-sm', 'gdRows.gt-md', 'gdRows.gt-lg'\n];\nconst selector = `\n [gdRows],\n [gdRows.xs], [gdRows.sm], [gdRows.md], [gdRows.lg], [gdRows.xl],\n [gdRows.lt-sm], [gdRows.lt-md], [gdRows.lt-lg], [gdRows.lt-xl],\n [gdRows.gt-xs], [gdRows.gt-sm], [gdRows.gt-md], [gdRows.gt-lg]\n`;\n/**\n * 'grid-template-rows' CSS Grid styling directive\n * Configures the sizing for the rows in the grid\n * Syntax: <column value> [auto]\n * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-13\n */\nclass DefaultGridRowsDirective extends GridRowsDirective {\n constructor() {\n super(...arguments);\n this.inputs = inputs;\n }\n}\nDefaultGridRowsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultGridRowsDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });\nDefaultGridRowsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.2\", type: DefaultGridRowsDirective, selector: \"\\n [gdRows],\\n [gdRows.xs], [gdRows.sm], [gdRows.md], [gdRows.lg], [gdRows.xl],\\n [gdRows.lt-sm], [gdRows.lt-md], [gdRows.lt-lg], [gdRows.lt-xl],\\n [gdRows.gt-xs], [gdRows.gt-sm], [gdRows.gt-md], [gdRows.gt-lg]\\n\", inputs: { gdRows: \"gdRows\", \"gdRows.xs\": \"gdRows.xs\", \"gdRows.sm\": \"gdRows.sm\", \"gdRows.md\": \"gdRows.md\", \"gdRows.lg\": \"gdRows.lg\", \"gdRows.xl\": \"gdRows.xl\", \"gdRows.lt-sm\": \"gdRows.lt-sm\", \"gdRows.lt-md\": \"gdRows.lt-md\", \"gdRows.lt-lg\": \"gdRows.lt-lg\", \"gdRows.lt-xl\": \"gdRows.lt-xl\", \"gdRows.gt-xs\": \"gdRows.gt-xs\", \"gdRows.gt-sm\": \"gdRows.gt-sm\", \"gdRows.gt-md\": \"gdRows.gt-md\", \"gdRows.gt-lg\": \"gdRows.gt-lg\" }, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: DefaultGridRowsDirective, decorators: [{\n type: Directive,\n args: [{ selector, inputs }]\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 */\nconst ALL_DIRECTIVES = [\n DefaultGridAlignDirective,\n DefaultGridAlignColumnsDirective,\n DefaultGridAlignRowsDirective,\n DefaultGridAreaDirective,\n DefaultGridAreasDirective,\n DefaultGridAutoDirective,\n DefaultGridColumnDirective,\n DefaultGridColumnsDirective,\n DefaultGridGapDirective,\n DefaultGridRowDirective,\n DefaultGridRowsDirective,\n];\n/**\n * *****************************************************************\n * Define module for the CSS Grid API\n * *****************************************************************\n */\nclass GridModule {\n}\nGridModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\nGridModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"15.0.2\", ngImport: i0, type: GridModule, declarations: [DefaultGridAlignDirective,\n DefaultGridAlignColumnsDirective,\n DefaultGridAlignRowsDirective,\n DefaultGridAreaDirective,\n DefaultGridAreasDirective,\n DefaultGridAutoDirective,\n DefaultGridColumnDirective,\n DefaultGridColumnsDirective,\n DefaultGridGapDirective,\n DefaultGridRowDirective,\n DefaultGridRowsDirective], imports: [CoreModule], exports: [DefaultGridAlignDirective,\n DefaultGridAlignColumnsDirective,\n DefaultGridAlignRowsDirective,\n DefaultGridAreaDirective,\n DefaultGridAreasDirective,\n DefaultGridAutoDirective,\n DefaultGridColumnDirective,\n DefaultGridColumnsDirective,\n DefaultGridGapDirective,\n DefaultGridRowDirective,\n DefaultGridRowsDirective] });\nGridModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridModule, imports: [CoreModule] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: GridModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [CoreModule],\n declarations: [...ALL_DIRECTIVES],\n exports: [...ALL_DIRECTIVES]\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/**\n * Generated bundle index. Do not edit.\n */\n\nexport { DefaultGridAlignColumnsDirective, DefaultGridAlignDirective, DefaultGridAlignRowsDirective, DefaultGridAreaDirective, DefaultGridAreasDirective, DefaultGridAutoDirective, DefaultGridColumnDirective, DefaultGridColumnsDirective, DefaultGridGapDirective, DefaultGridRowDirective, DefaultGridRowsDirective, GridAlignColumnsDirective, GridAlignColumnsStyleBuilder, GridAlignDirective, GridAlignRowsDirective, GridAlignRowsStyleBuilder, GridAlignStyleBuilder, GridAreaDirective, GridAreaStyleBuilder, GridAreasDirective, GridAreasStyleBuiler, GridAutoDirective, GridAutoStyleBuilder, GridColumnDirective, GridColumnStyleBuilder, GridColumnsDirective, GridColumnsStyleBuilder, GridGapDirective, GridGapStyleBuilder, GridModule, GridRowDirective, GridRowStyleBuilder, GridRowsDirective, GridRowsStyleBuilder };\n","import * as i0 from '@angular/core';\nimport { Version, PLATFORM_ID, NgModule, Inject } from '@angular/core';\nimport { LAYOUT_CONFIG, DEFAULT_CONFIG, BREAKPOINT, SERVER_TOKEN } from '@angular/flex-layout/core';\nexport * from '@angular/flex-layout/core';\nimport { ExtendedModule } from '@angular/flex-layout/extended';\nexport * from '@angular/flex-layout/extended';\nimport { FlexModule } from '@angular/flex-layout/flex';\nexport * from '@angular/flex-layout/flex';\nimport { GridModule } from '@angular/flex-layout/grid';\nexport * from '@angular/flex-layout/grid';\nimport { isPlatformServer } from '@angular/common';\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/** Current version of Angular Flex-Layout. */\nconst VERSION = new Version('15.0.0-beta.42');\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 * FlexLayoutModule -- the main import for all utilities in the Angular Layout library\n * * Will automatically provide Flex, Grid, and Extended modules for use in the application\n * * Can be configured using the static withConfig method, options viewable on the Wiki's\n * Configuration page\n */\nclass FlexLayoutModule {\n constructor(serverModuleLoaded, platformId) {\n if (isPlatformServer(platformId) && !serverModuleLoaded) {\n console.warn('Warning: Flex Layout loaded on the server without FlexLayoutServerModule');\n }\n }\n /**\n * Initialize the FlexLayoutModule with a set of config options,\n * which sets the corresponding tokens accordingly\n */\n static withConfig(configOptions, \n // tslint:disable-next-line:max-line-length\n breakpoints = []) {\n return {\n ngModule: FlexLayoutModule,\n providers: configOptions.serverLoaded ?\n [\n { provide: LAYOUT_CONFIG, useValue: { ...DEFAULT_CONFIG, ...configOptions } },\n { provide: BREAKPOINT, useValue: breakpoints, multi: true },\n { provide: SERVER_TOKEN, useValue: true },\n ] : [\n { provide: LAYOUT_CONFIG, useValue: { ...DEFAULT_CONFIG, ...configOptions } },\n { provide: BREAKPOINT, useValue: breakpoints, multi: true },\n ]\n };\n }\n}\nFlexLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: FlexLayoutModule, deps: [{ token: SERVER_TOKEN }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.NgModule });\nFlexLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"15.0.2\", ngImport: i0, type: FlexLayoutModule, imports: [FlexModule, ExtendedModule, GridModule], exports: [FlexModule, ExtendedModule, GridModule] });\nFlexLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: FlexLayoutModule, imports: [FlexModule, ExtendedModule, GridModule, FlexModule, ExtendedModule, GridModule] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.2\", ngImport: i0, type: FlexLayoutModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [FlexModule, ExtendedModule, GridModule],\n exports: [FlexModule, ExtendedModule, GridModule]\n }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [SERVER_TOKEN]\n }] }, { type: Object, decorators: [{\n type: Inject,\n args: [PLATFORM_ID]\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 * Generated bundle index. Do not edit.\n */\n\nexport { FlexLayoutModule, VERSION };\n","import * as i0 from '@angular/core';\nimport { Component, Input, NgModule } from '@angular/core';\nimport * as i1 from '@angular/common';\nimport { CommonModule } from '@angular/common';\n\nclass NgxJsonViewerComponent {\n constructor() {\n this.expanded = true;\n this.depth = -1;\n this._currentDepth = 0;\n this.segments = [];\n }\n ngOnChanges() {\n this.segments = [];\n // remove cycles\n this.json = this.decycle(this.json);\n if (typeof this.json === 'object') {\n Object.keys(this.json).forEach(key => {\n this.segments.push(this.parseKeyValue(key, this.json[key]));\n });\n }\n else {\n this.segments.push(this.parseKeyValue(`(${typeof this.json})`, this.json));\n }\n }\n isExpandable(segment) {\n return segment.type === 'object' || segment.type === 'array';\n }\n toggle(segment) {\n if (this.isExpandable(segment)) {\n segment.expanded = !segment.expanded;\n }\n }\n parseKeyValue(key, value) {\n const segment = {\n key: key,\n value: value,\n type: undefined,\n description: '' + value,\n expanded: this.isExpanded()\n };\n switch (typeof segment.value) {\n case 'number': {\n segment.type = 'number';\n break;\n }\n case 'boolean': {\n segment.type = 'boolean';\n break;\n }\n case 'function': {\n segment.type = 'function';\n break;\n }\n case 'string': {\n segment.type = 'string';\n segment.description = '\"' + segment.value + '\"';\n break;\n }\n case 'undefined': {\n segment.type = 'undefined';\n segment.description = 'undefined';\n break;\n }\n case 'object': {\n // yea, null is object\n if (segment.value === null) {\n segment.type = 'null';\n segment.description = 'null';\n }\n else if (Array.isArray(segment.value)) {\n segment.type = 'array';\n segment.description = 'Array[' + segment.value.length + '] ' + JSON.stringify(segment.value);\n }\n else if (segment.value instanceof Date) {\n segment.type = 'date';\n }\n else {\n segment.type = 'object';\n segment.description = 'Object ' + JSON.stringify(segment.value);\n }\n break;\n }\n }\n return segment;\n }\n isExpanded() {\n return (this.expanded &&\n !(this.depth > -1 && this._currentDepth >= this.depth));\n }\n // https://github.com/douglascrockford/JSON-js/blob/master/cycle.js\n decycle(object) {\n const objects = new WeakMap();\n return (function derez(value, path) {\n let old_path;\n let nu;\n if (typeof value === 'object'\n && value !== null\n && !(value instanceof Boolean)\n && !(value instanceof Date)\n && !(value instanceof Number)\n && !(value instanceof RegExp)\n && !(value instanceof String)) {\n old_path = objects.get(value);\n if (old_path !== undefined) {\n return { $ref: old_path };\n }\n objects.set(value, path);\n if (Array.isArray(value)) {\n nu = [];\n value.forEach(function (element, i) {\n nu[i] = derez(element, path + '[' + i + ']');\n });\n }\n else {\n nu = {};\n Object.keys(value).forEach(function (name) {\n nu[name] = derez(value[name], path + '[' + JSON.stringify(name) + ']');\n });\n }\n return nu;\n }\n return value;\n }(object, '$'));\n }\n}\nNgxJsonViewerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"14.0.3\", ngImport: i0, type: NgxJsonViewerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });\nNgxJsonViewerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"14.0.3\", type: NgxJsonViewerComponent, selector: \"ngx-json-viewer\", inputs: { json: \"json\", expanded: \"expanded\", depth: \"depth\", _currentDepth: \"_currentDepth\" }, usesOnChanges: true, ngImport: i0, template: \"<section class=\\\"ngx-json-viewer\\\">\\n <section\\n *ngFor=\\\"let segment of segments\\\"\\n [ngClass]=\\\"['segment', 'segment-type-' + segment.type]\\\">\\n <section\\n (click)=\\\"toggle(segment)\\\"\\n [ngClass]=\\\"{\\n 'segment-main': true,\\n 'expandable': isExpandable(segment),\\n 'expanded': segment.expanded\\n }\\\">\\n <div *ngIf=\\\"isExpandable(segment)\\\" class=\\\"toggler\\\"></div>\\n <span class=\\\"segment-key\\\">{{ segment.key }}</span>\\n <span class=\\\"segment-separator\\\">: </span>\\n <span *ngIf=\\\"!segment.expanded || !isExpandable(segment)\\\" class=\\\"segment-value\\\">{{ segment.description }}</span>\\n </section>\\n <section *ngIf=\\\"segment.expanded && isExpandable(segment)\\\" class=\\\"children\\\">\\n <ngx-json-viewer [json]=\\\"segment.value\\\" [expanded]=\\\"expanded\\\" [depth]=\\\"depth\\\" [_currentDepth]=\\\"_currentDepth+1\\\"></ngx-json-viewer>\\n </section>\\n </section>\\n</section>\\n\", styles: [\"@charset \\\"UTF-8\\\";.ngx-json-viewer{font-family:var(--ngx-json-font-family, monospace);font-size:var(--ngx-json-font-size, 1em);width:100%;height:100%;overflow:hidden;position:relative}.ngx-json-viewer .segment{padding:2px;margin:1px 1px 1px 12px}.ngx-json-viewer .segment .segment-main{word-wrap:break-word}.ngx-json-viewer .segment .segment-main .toggler{position:absolute;margin-left:-14px;margin-top:3px;font-size:.8em;line-height:1.2em;vertical-align:middle;color:var(--ngx-json-toggler, #787878)}.ngx-json-viewer .segment .segment-main .toggler:after{display:inline-block;content:\\\"\\\\25ba\\\";transition:transform .1s ease-in}.ngx-json-viewer .segment .segment-main .segment-key{color:var(--ngx-json-key, #4E187C)}.ngx-json-viewer .segment .segment-main .segment-separator{color:var(--ngx-json-separator, #999)}.ngx-json-viewer .segment .segment-main .segment-value{color:var(--ngx-json-value, #000)}.ngx-json-viewer .segment .children{margin-left:12px}.ngx-json-viewer .segment-type-string>.segment-main>.segment-value{color:var(--ngx-json-string, #FF6B6B)}.ngx-json-viewer .segment-type-number>.segment-main>.segment-value{color:var(--ngx-json-number, #009688)}.ngx-json-viewer .segment-type-boolean>.segment-main>.segment-value{color:var(--ngx-json-boolean, #B938A4)}.ngx-json-viewer .segment-type-date>.segment-main>.segment-value{color:var(--ngx-json-date, #05668D)}.ngx-json-viewer .segment-type-array>.segment-main>.segment-value{color:var(--ngx-json-array, #999)}.ngx-json-viewer .segment-type-object>.segment-main>.segment-value{color:var(--ngx-json-object, #999)}.ngx-json-viewer .segment-type-function>.segment-main>.segment-value{color:var(--ngx-json-function, #999)}.ngx-json-viewer .segment-type-null>.segment-main>.segment-value{color:var(--ngx-json-null, #fff)}.ngx-json-viewer .segment-type-undefined>.segment-main>.segment-value{color:var(--ngx-json-undefined, #fff)}.ngx-json-viewer .segment-type-null>.segment-main>.segment-value{background-color:var(--ngx-json-null-bg, red)}.ngx-json-viewer .segment-type-undefined>.segment-main>.segment-key{color:var(--ngx-json-undefined-key, #999)}.ngx-json-viewer .segment-type-undefined>.segment-main>.segment-value{background-color:var(--ngx-json-undefined-key, #999)}.ngx-json-viewer .segment-type-object>.segment-main,.ngx-json-viewer .segment-type-array>.segment-main{white-space:nowrap}.ngx-json-viewer .expanded>.toggler:after{transform:rotate(90deg)}.ngx-json-viewer .expandable,.ngx-json-viewer .expandable>.toggler{cursor:pointer}\\n\"], dependencies: [{ kind: \"directive\", type: i1.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i1.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"component\", type: NgxJsonViewerComponent, selector: \"ngx-json-viewer\", inputs: [\"json\", \"expanded\", \"depth\", \"_currentDepth\"] }] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"14.0.3\", ngImport: i0, type: NgxJsonViewerComponent, decorators: [{\n type: Component,\n args: [{ selector: 'ngx-json-viewer', template: \"<section class=\\\"ngx-json-viewer\\\">\\n <section\\n *ngFor=\\\"let segment of segments\\\"\\n [ngClass]=\\\"['segment', 'segment-type-' + segment.type]\\\">\\n <section\\n (click)=\\\"toggle(segment)\\\"\\n [ngClass]=\\\"{\\n 'segment-main': true,\\n 'expandable': isExpandable(segment),\\n 'expanded': segment.expanded\\n }\\\">\\n <div *ngIf=\\\"isExpandable(segment)\\\" class=\\\"toggler\\\"></div>\\n <span class=\\\"segment-key\\\">{{ segment.key }}</span>\\n <span class=\\\"segment-separator\\\">: </span>\\n <span *ngIf=\\\"!segment.expanded || !isExpandable(segment)\\\" class=\\\"segment-value\\\">{{ segment.description }}</span>\\n </section>\\n <section *ngIf=\\\"segment.expanded && isExpandable(segment)\\\" class=\\\"children\\\">\\n <ngx-json-viewer [json]=\\\"segment.value\\\" [expanded]=\\\"expanded\\\" [depth]=\\\"depth\\\" [_currentDepth]=\\\"_currentDepth+1\\\"></ngx-json-viewer>\\n </section>\\n </section>\\n</section>\\n\", styles: [\"@charset \\\"UTF-8\\\";.ngx-json-viewer{font-family:var(--ngx-json-font-family, monospace);font-size:var(--ngx-json-font-size, 1em);width:100%;height:100%;overflow:hidden;position:relative}.ngx-json-viewer .segment{padding:2px;margin:1px 1px 1px 12px}.ngx-json-viewer .segment .segment-main{word-wrap:break-word}.ngx-json-viewer .segment .segment-main .toggler{position:absolute;margin-left:-14px;margin-top:3px;font-size:.8em;line-height:1.2em;vertical-align:middle;color:var(--ngx-json-toggler, #787878)}.ngx-json-viewer .segment .segment-main .toggler:after{display:inline-block;content:\\\"\\\\25ba\\\";transition:transform .1s ease-in}.ngx-json-viewer .segment .segment-main .segment-key{color:var(--ngx-json-key, #4E187C)}.ngx-json-viewer .segment .segment-main .segment-separator{color:var(--ngx-json-separator, #999)}.ngx-json-viewer .segment .segment-main .segment-value{color:var(--ngx-json-value, #000)}.ngx-json-viewer .segment .children{margin-left:12px}.ngx-json-viewer .segment-type-string>.segment-main>.segment-value{color:var(--ngx-json-string, #FF6B6B)}.ngx-json-viewer .segment-type-number>.segment-main>.segment-value{color:var(--ngx-json-number, #009688)}.ngx-json-viewer .segment-type-boolean>.segment-main>.segment-value{color:var(--ngx-json-boolean, #B938A4)}.ngx-json-viewer .segment-type-date>.segment-main>.segment-value{color:var(--ngx-json-date, #05668D)}.ngx-json-viewer .segment-type-array>.segment-main>.segment-value{color:var(--ngx-json-array, #999)}.ngx-json-viewer .segment-type-object>.segment-main>.segment-value{color:var(--ngx-json-object, #999)}.ngx-json-viewer .segment-type-function>.segment-main>.segment-value{color:var(--ngx-json-function, #999)}.ngx-json-viewer .segment-type-null>.segment-main>.segment-value{color:var(--ngx-json-null, #fff)}.ngx-json-viewer .segment-type-undefined>.segment-main>.segment-value{color:var(--ngx-json-undefined, #fff)}.ngx-json-viewer .segment-type-null>.segment-main>.segment-value{background-color:var(--ngx-json-null-bg, red)}.ngx-json-viewer .segment-type-undefined>.segment-main>.segment-key{color:var(--ngx-json-undefined-key, #999)}.ngx-json-viewer .segment-type-undefined>.segment-main>.segment-value{background-color:var(--ngx-json-undefined-key, #999)}.ngx-json-viewer .segment-type-object>.segment-main,.ngx-json-viewer .segment-type-array>.segment-main{white-space:nowrap}.ngx-json-viewer .expanded>.toggler:after{transform:rotate(90deg)}.ngx-json-viewer .expandable,.ngx-json-viewer .expandable>.toggler{cursor:pointer}\\n\"] }]\n }], propDecorators: { json: [{\n type: Input\n }], expanded: [{\n type: Input\n }], depth: [{\n type: Input\n }], _currentDepth: [{\n type: Input\n }] } });\n\nclass NgxJsonViewerModule {\n}\nNgxJsonViewerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"14.0.3\", ngImport: i0, type: NgxJsonViewerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\nNgxJsonViewerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"14.0.3\", ngImport: i0, type: NgxJsonViewerModule, declarations: [NgxJsonViewerComponent], imports: [CommonModule], exports: [NgxJsonViewerComponent] });\nNgxJsonViewerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"14.0.3\", ngImport: i0, type: NgxJsonViewerModule, imports: [CommonModule] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"14.0.3\", ngImport: i0, type: NgxJsonViewerModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule\n ],\n declarations: [\n NgxJsonViewerComponent\n ],\n exports: [\n NgxJsonViewerComponent\n ]\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { NgxJsonViewerComponent, NgxJsonViewerModule };\n","function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n if (info.done) {\n resolve(value);\n } else {\n Promise.resolve(value).then(_next, _throw);\n }\n}\nexport default function _asyncToGenerator(fn) {\n return function () {\n var self = this,\n args = arguments;\n return new Promise(function (resolve, reject) {\n var gen = fn.apply(self, args);\n function _next(value) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n function _throw(err) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n _next(undefined);\n });\n };\n}","// Unique ID creation requires a high quality random # generator. In the browser we therefore\n// require the crypto API and do not support built-in fallback to lower quality random number\n// generators (like Math.random()).\nvar getRandomValues;\nvar rnds8 = new Uint8Array(16);\nexport default function rng() {\n // lazy load so that environments that need to polyfill have a chance to do so\n if (!getRandomValues) {\n // getRandomValues needs to be invoked in a context where \"this\" is a Crypto implementation. Also,\n // find the complete implementation of crypto (msCrypto) on IE11.\n getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto !== 'undefined' && typeof msCrypto.getRandomValues === 'function' && msCrypto.getRandomValues.bind(msCrypto);\n\n if (!getRandomValues) {\n throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');\n }\n }\n\n return getRandomValues(rnds8);\n}","export default /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;","import validate from './validate.js';\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\n\nvar byteToHex = [];\n\nfor (var i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).substr(1));\n}\n\nfunction stringify(arr) {\n var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n var uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n\n if (!validate(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n\n return uuid;\n}\n\nexport default stringify;","import REGEX from './regex.js';\n\nfunction validate(uuid) {\n return typeof uuid === 'string' && REGEX.test(uuid);\n}\n\nexport default validate;","import rng from './rng.js';\nimport stringify from './stringify.js';\n\nfunction v4(options, buf, offset) {\n options = options || {};\n var rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (var i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return stringify(rnds);\n}\n\nexport default v4;","const { isArray } = Array;\nexport function argsOrArgArray(args) {\n return args.length === 1 && isArray(args[0]) ? args[0] : args;\n}\n","import { Observable } from '../Observable';\nimport { innerFrom } from './innerFrom';\nimport { argsOrArgArray } from '../util/argsOrArgArray';\nimport { createOperatorSubscriber } from '../operators/OperatorSubscriber';\nexport function race(...sources) {\n sources = argsOrArgArray(sources);\n return sources.length === 1 ? innerFrom(sources[0]) : new Observable(raceInit(sources));\n}\nexport function raceInit(sources) {\n return (subscriber) => {\n let subscriptions = [];\n for (let i = 0; subscriptions && !subscriber.closed && i < sources.length; i++) {\n subscriptions.push(innerFrom(sources[i]).subscribe(createOperatorSubscriber(subscriber, (value) => {\n if (subscriptions) {\n for (let s = 0; s < subscriptions.length; s++) {\n s !== i && subscriptions[s].unsubscribe();\n }\n subscriptions = null;\n }\n subscriber.next(value);\n })));\n }\n };\n}\n","import { createSelector } from '@ngrx/store';\nimport { isDevMode } from '@angular/core';\n\nfunction getInitialEntityState() {\n return {\n ids: [],\n entities: {},\n };\n}\nfunction createInitialStateFactory() {\n function getInitialState(additionalState = {}) {\n return Object.assign(getInitialEntityState(), additionalState);\n }\n return { getInitialState };\n}\n\nfunction createSelectorsFactory() {\n function getSelectors(selectState) {\n const selectIds = (state) => state.ids;\n const selectEntities = (state) => state.entities;\n const selectAll = createSelector(selectIds, selectEntities, (ids, entities) => ids.map((id) => entities[id]));\n const selectTotal = createSelector(selectIds, (ids) => ids.length);\n if (!selectState) {\n return {\n selectIds,\n selectEntities,\n selectAll,\n selectTotal,\n };\n }\n return {\n selectIds: createSelector(selectState, selectIds),\n selectEntities: createSelector(selectState, selectEntities),\n selectAll: createSelector(selectState, selectAll),\n selectTotal: createSelector(selectState, selectTotal),\n };\n }\n return { getSelectors };\n}\n\nvar DidMutate;\n(function (DidMutate) {\n DidMutate[DidMutate[\"EntitiesOnly\"] = 0] = \"EntitiesOnly\";\n DidMutate[DidMutate[\"Both\"] = 1] = \"Both\";\n DidMutate[DidMutate[\"None\"] = 2] = \"None\";\n})(DidMutate || (DidMutate = {}));\nfunction createStateOperator(mutator) {\n return function operation(arg, state) {\n const clonedEntityState = {\n ids: [...state.ids],\n entities: { ...state.entities },\n };\n const didMutate = mutator(arg, clonedEntityState);\n if (didMutate === DidMutate.Both) {\n return Object.assign({}, state, clonedEntityState);\n }\n if (didMutate === DidMutate.EntitiesOnly) {\n return {\n ...state,\n entities: clonedEntityState.entities,\n };\n }\n return state;\n };\n}\n\nfunction selectIdValue(entity, selectId) {\n const key = selectId(entity);\n if (isDevMode() && key === undefined) {\n console.warn('@ngrx/entity: The entity passed to the `selectId` implementation returned undefined.', 'You should probably provide your own `selectId` implementation.', 'The entity that was passed:', entity, 'The `selectId` implementation:', selectId.toString());\n }\n return key;\n}\n\nfunction createUnsortedStateAdapter(selectId) {\n function addOneMutably(entity, state) {\n const key = selectIdValue(entity, selectId);\n if (key in state.entities) {\n return DidMutate.None;\n }\n state.ids.push(key);\n state.entities[key] = entity;\n return DidMutate.Both;\n }\n function addManyMutably(entities, state) {\n let didMutate = false;\n for (const entity of entities) {\n didMutate = addOneMutably(entity, state) !== DidMutate.None || didMutate;\n }\n return didMutate ? DidMutate.Both : DidMutate.None;\n }\n function setAllMutably(entities, state) {\n state.ids = [];\n state.entities = {};\n addManyMutably(entities, state);\n return DidMutate.Both;\n }\n function setOneMutably(entity, state) {\n const key = selectIdValue(entity, selectId);\n if (key in state.entities) {\n state.entities[key] = entity;\n return DidMutate.EntitiesOnly;\n }\n state.ids.push(key);\n state.entities[key] = entity;\n return DidMutate.Both;\n }\n function setManyMutably(entities, state) {\n const didMutateSetOne = entities.map((entity) => setOneMutably(entity, state));\n switch (true) {\n case didMutateSetOne.some((didMutate) => didMutate === DidMutate.Both):\n return DidMutate.Both;\n case didMutateSetOne.some((didMutate) => didMutate === DidMutate.EntitiesOnly):\n return DidMutate.EntitiesOnly;\n default:\n return DidMutate.None;\n }\n }\n function removeOneMutably(key, state) {\n return removeManyMutably([key], state);\n }\n function removeManyMutably(keysOrPredicate, state) {\n const keys = keysOrPredicate instanceof Array\n ? keysOrPredicate\n : state.ids.filter((key) => keysOrPredicate(state.entities[key]));\n const didMutate = keys\n .filter((key) => key in state.entities)\n .map((key) => delete state.entities[key]).length > 0;\n if (didMutate) {\n state.ids = state.ids.filter((id) => id in state.entities);\n }\n return didMutate ? DidMutate.Both : DidMutate.None;\n }\n function removeAll(state) {\n return Object.assign({}, state, {\n ids: [],\n entities: {},\n });\n }\n function takeNewKey(keys, update, state) {\n const original = state.entities[update.id];\n const updated = Object.assign({}, original, update.changes);\n const newKey = selectIdValue(updated, selectId);\n const hasNewKey = newKey !== update.id;\n if (hasNewKey) {\n keys[update.id] = newKey;\n delete state.entities[update.id];\n }\n state.entities[newKey] = updated;\n return hasNewKey;\n }\n function updateOneMutably(update, state) {\n return updateManyMutably([update], state);\n }\n function updateManyMutably(updates, state) {\n const newKeys = {};\n updates = updates.filter((update) => update.id in state.entities);\n const didMutateEntities = updates.length > 0;\n if (didMutateEntities) {\n const didMutateIds = updates.filter((update) => takeNewKey(newKeys, update, state)).length >\n 0;\n if (didMutateIds) {\n state.ids = state.ids.map((id) => newKeys[id] || id);\n return DidMutate.Both;\n }\n else {\n return DidMutate.EntitiesOnly;\n }\n }\n return DidMutate.None;\n }\n function mapMutably(map, state) {\n const changes = state.ids.reduce((changes, id) => {\n const change = map(state.entities[id]);\n if (change !== state.entities[id]) {\n changes.push({ id, changes: change });\n }\n return changes;\n }, []);\n const updates = changes.filter(({ id }) => id in state.entities);\n return updateManyMutably(updates, state);\n }\n function mapOneMutably({ map, id }, state) {\n const entity = state.entities[id];\n if (!entity) {\n return DidMutate.None;\n }\n const updatedEntity = map(entity);\n return updateOneMutably({\n id: id,\n changes: updatedEntity,\n }, state);\n }\n function upsertOneMutably(entity, state) {\n return upsertManyMutably([entity], state);\n }\n function upsertManyMutably(entities, state) {\n const added = [];\n const updated = [];\n for (const entity of entities) {\n const id = selectIdValue(entity, selectId);\n if (id in state.entities) {\n updated.push({ id, changes: entity });\n }\n else {\n added.push(entity);\n }\n }\n const didMutateByUpdated = updateManyMutably(updated, state);\n const didMutateByAdded = addManyMutably(added, state);\n switch (true) {\n case didMutateByAdded === DidMutate.None &&\n didMutateByUpdated === DidMutate.None:\n return DidMutate.None;\n case didMutateByAdded === DidMutate.Both ||\n didMutateByUpdated === DidMutate.Both:\n return DidMutate.Both;\n default:\n return DidMutate.EntitiesOnly;\n }\n }\n return {\n removeAll,\n addOne: createStateOperator(addOneMutably),\n addMany: createStateOperator(addManyMutably),\n setAll: createStateOperator(setAllMutably),\n setOne: createStateOperator(setOneMutably),\n setMany: createStateOperator(setManyMutably),\n updateOne: createStateOperator(updateOneMutably),\n updateMany: createStateOperator(updateManyMutably),\n upsertOne: createStateOperator(upsertOneMutably),\n upsertMany: createStateOperator(upsertManyMutably),\n removeOne: createStateOperator(removeOneMutably),\n removeMany: createStateOperator(removeManyMutably),\n map: createStateOperator(mapMutably),\n mapOne: createStateOperator(mapOneMutably),\n };\n}\n\nfunction createSortedStateAdapter(selectId, sort) {\n const { removeOne, removeMany, removeAll } = createUnsortedStateAdapter(selectId);\n function addOneMutably(entity, state) {\n return addManyMutably([entity], state);\n }\n function addManyMutably(newModels, state) {\n const models = newModels.filter((model) => !(selectIdValue(model, selectId) in state.entities));\n if (models.length === 0) {\n return DidMutate.None;\n }\n else {\n merge(models, state);\n return DidMutate.Both;\n }\n }\n function setAllMutably(models, state) {\n state.entities = {};\n state.ids = [];\n addManyMutably(models, state);\n return DidMutate.Both;\n }\n function setOneMutably(entity, state) {\n const id = selectIdValue(entity, selectId);\n if (id in state.entities) {\n state.ids = state.ids.filter((val) => val !== id);\n merge([entity], state);\n return DidMutate.Both;\n }\n else {\n return addOneMutably(entity, state);\n }\n }\n function setManyMutably(entities, state) {\n const didMutateSetOne = entities.map((entity) => setOneMutably(entity, state));\n switch (true) {\n case didMutateSetOne.some((didMutate) => didMutate === DidMutate.Both):\n return DidMutate.Both;\n case didMutateSetOne.some((didMutate) => didMutate === DidMutate.EntitiesOnly):\n return DidMutate.EntitiesOnly;\n default:\n return DidMutate.None;\n }\n }\n function updateOneMutably(update, state) {\n return updateManyMutably([update], state);\n }\n function takeUpdatedModel(models, update, state) {\n if (!(update.id in state.entities)) {\n return false;\n }\n const original = state.entities[update.id];\n const updated = Object.assign({}, original, update.changes);\n const newKey = selectIdValue(updated, selectId);\n delete state.entities[update.id];\n models.push(updated);\n return newKey !== update.id;\n }\n function updateManyMutably(updates, state) {\n const models = [];\n const didMutateIds = updates.filter((update) => takeUpdatedModel(models, update, state))\n .length > 0;\n if (models.length === 0) {\n return DidMutate.None;\n }\n else {\n const originalIds = state.ids;\n const updatedIndexes = [];\n state.ids = state.ids.filter((id, index) => {\n if (id in state.entities) {\n return true;\n }\n else {\n updatedIndexes.push(index);\n return false;\n }\n });\n merge(models, state);\n if (!didMutateIds &&\n updatedIndexes.every((i) => state.ids[i] === originalIds[i])) {\n return DidMutate.EntitiesOnly;\n }\n else {\n return DidMutate.Both;\n }\n }\n }\n function mapMutably(updatesOrMap, state) {\n const updates = state.ids.reduce((changes, id) => {\n const change = updatesOrMap(state.entities[id]);\n if (change !== state.entities[id]) {\n changes.push({ id, changes: change });\n }\n return changes;\n }, []);\n return updateManyMutably(updates, state);\n }\n function mapOneMutably({ map, id }, state) {\n const entity = state.entities[id];\n if (!entity) {\n return DidMutate.None;\n }\n const updatedEntity = map(entity);\n return updateOneMutably({\n id: id,\n changes: updatedEntity,\n }, state);\n }\n function upsertOneMutably(entity, state) {\n return upsertManyMutably([entity], state);\n }\n function upsertManyMutably(entities, state) {\n const added = [];\n const updated = [];\n for (const entity of entities) {\n const id = selectIdValue(entity, selectId);\n if (id in state.entities) {\n updated.push({ id, changes: entity });\n }\n else {\n added.push(entity);\n }\n }\n const didMutateByUpdated = updateManyMutably(updated, state);\n const didMutateByAdded = addManyMutably(added, state);\n switch (true) {\n case didMutateByAdded === DidMutate.None &&\n didMutateByUpdated === DidMutate.None:\n return DidMutate.None;\n case didMutateByAdded === DidMutate.Both ||\n didMutateByUpdated === DidMutate.Both:\n return DidMutate.Both;\n default:\n return DidMutate.EntitiesOnly;\n }\n }\n function merge(models, state) {\n models.sort(sort);\n const ids = [];\n let i = 0;\n let j = 0;\n while (i < models.length && j < state.ids.length) {\n const model = models[i];\n const modelId = selectIdValue(model, selectId);\n const entityId = state.ids[j];\n const entity = state.entities[entityId];\n if (sort(model, entity) <= 0) {\n ids.push(modelId);\n i++;\n }\n else {\n ids.push(entityId);\n j++;\n }\n }\n if (i < models.length) {\n state.ids = ids.concat(models.slice(i).map(selectId));\n }\n else {\n state.ids = ids.concat(state.ids.slice(j));\n }\n models.forEach((model, i) => {\n state.entities[selectId(model)] = model;\n });\n }\n return {\n removeOne,\n removeMany,\n removeAll,\n addOne: createStateOperator(addOneMutably),\n updateOne: createStateOperator(updateOneMutably),\n upsertOne: createStateOperator(upsertOneMutably),\n setAll: createStateOperator(setAllMutably),\n setOne: createStateOperator(setOneMutably),\n setMany: createStateOperator(setManyMutably),\n addMany: createStateOperator(addManyMutably),\n updateMany: createStateOperator(updateManyMutably),\n upsertMany: createStateOperator(upsertManyMutably),\n map: createStateOperator(mapMutably),\n mapOne: createStateOperator(mapOneMutably),\n };\n}\n\nfunction createEntityAdapter(options = {}) {\n const { selectId, sortComparer } = {\n selectId: options.selectId ?? ((entity) => entity.id),\n sortComparer: options.sortComparer ?? false,\n };\n const stateFactory = createInitialStateFactory();\n const selectorsFactory = createSelectorsFactory();\n const stateAdapter = sortComparer\n ? createSortedStateAdapter(selectId, sortComparer)\n : createUnsortedStateAdapter(selectId);\n return {\n selectId,\n sortComparer,\n ...stateFactory,\n ...selectorsFactory,\n ...stateAdapter,\n };\n}\n\nclass Dictionary {\n}\n\n/**\n * DO NOT EDIT\n *\n * This file is automatically generated at build\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { Dictionary, createEntityAdapter };\n","import { EMPTY } from './observable/empty';\nimport { of } from './observable/of';\nimport { throwError } from './observable/throwError';\nimport { isFunction } from './util/isFunction';\nexport var NotificationKind;\n(function (NotificationKind) {\n NotificationKind[\"NEXT\"] = \"N\";\n NotificationKind[\"ERROR\"] = \"E\";\n NotificationKind[\"COMPLETE\"] = \"C\";\n})(NotificationKind || (NotificationKind = {}));\nexport class Notification {\n constructor(kind, value, error) {\n this.kind = kind;\n this.value = value;\n this.error = error;\n this.hasValue = kind === 'N';\n }\n observe(observer) {\n return observeNotification(this, observer);\n }\n do(nextHandler, errorHandler, completeHandler) {\n const { kind, value, error } = this;\n return kind === 'N' ? nextHandler === null || nextHandler === void 0 ? void 0 : nextHandler(value) : kind === 'E' ? errorHandler === null || errorHandler === void 0 ? void 0 : errorHandler(error) : completeHandler === null || completeHandler === void 0 ? void 0 : completeHandler();\n }\n accept(nextOrObserver, error, complete) {\n var _a;\n return isFunction((_a = nextOrObserver) === null || _a === void 0 ? void 0 : _a.next)\n ? this.observe(nextOrObserver)\n : this.do(nextOrObserver, error, complete);\n }\n toObservable() {\n const { kind, value, error } = this;\n const result = kind === 'N'\n ?\n of(value)\n :\n kind === 'E'\n ?\n throwError(() => error)\n :\n kind === 'C'\n ?\n EMPTY\n :\n 0;\n if (!result) {\n throw new TypeError(`Unexpected notification kind ${kind}`);\n }\n return result;\n }\n static createNext(value) {\n return new Notification('N', value);\n }\n static createError(err) {\n return new Notification('E', undefined, err);\n }\n static createComplete() {\n return Notification.completeNotification;\n }\n}\nNotification.completeNotification = new Notification('C');\nexport function observeNotification(notification, observer) {\n var _a, _b, _c;\n const { kind, value, error } = notification;\n if (typeof kind !== 'string') {\n throw new TypeError('Invalid notification, missing \"kind\"');\n }\n kind === 'N' ? (_a = observer.next) === null || _a === void 0 ? void 0 : _a.call(observer, value) : kind === 'E' ? (_b = observer.error) === null || _b === void 0 ? void 0 : _b.call(observer, error) : (_c = observer.complete) === null || _c === void 0 ? void 0 : _c.call(observer);\n}\n","import { Observable } from '../Observable';\nimport { innerFrom } from '../observable/innerFrom';\nimport { Subject } from '../Subject';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber, OperatorSubscriber } from './OperatorSubscriber';\nexport function groupBy(keySelector, elementOrOptions, duration, connector) {\n return operate((source, subscriber) => {\n let element;\n if (!elementOrOptions || typeof elementOrOptions === 'function') {\n element = elementOrOptions;\n }\n else {\n ({ duration, element, connector } = elementOrOptions);\n }\n const groups = new Map();\n const notify = (cb) => {\n groups.forEach(cb);\n cb(subscriber);\n };\n const handleError = (err) => notify((consumer) => consumer.error(err));\n let activeGroups = 0;\n let teardownAttempted = false;\n const groupBySourceSubscriber = new OperatorSubscriber(subscriber, (value) => {\n try {\n const key = keySelector(value);\n let group = groups.get(key);\n if (!group) {\n groups.set(key, (group = connector ? connector() : new Subject()));\n const grouped = createGroupedObservable(key, group);\n subscriber.next(grouped);\n if (duration) {\n const durationSubscriber = createOperatorSubscriber(group, () => {\n group.complete();\n durationSubscriber === null || durationSubscriber === void 0 ? void 0 : durationSubscriber.unsubscribe();\n }, undefined, undefined, () => groups.delete(key));\n groupBySourceSubscriber.add(innerFrom(duration(grouped)).subscribe(durationSubscriber));\n }\n }\n group.next(element ? element(value) : value);\n }\n catch (err) {\n handleError(err);\n }\n }, () => notify((consumer) => consumer.complete()), handleError, () => groups.clear(), () => {\n teardownAttempted = true;\n return activeGroups === 0;\n });\n source.subscribe(groupBySourceSubscriber);\n function createGroupedObservable(key, groupSubject) {\n const result = new Observable((groupSubscriber) => {\n activeGroups++;\n const innerSub = groupSubject.subscribe(groupSubscriber);\n return () => {\n innerSub.unsubscribe();\n --activeGroups === 0 && teardownAttempted && groupBySourceSubscriber.unsubscribe();\n };\n });\n result.key = key;\n return result;\n }\n });\n}\n","import { map } from './map';\nimport { innerFrom } from '../observable/innerFrom';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function exhaustMap(project, resultSelector) {\n if (resultSelector) {\n return (source) => source.pipe(exhaustMap((a, i) => innerFrom(project(a, i)).pipe(map((b, ii) => resultSelector(a, b, i, ii)))));\n }\n return operate((source, subscriber) => {\n let index = 0;\n let innerSub = null;\n let isComplete = false;\n source.subscribe(createOperatorSubscriber(subscriber, (outerValue) => {\n if (!innerSub) {\n innerSub = createOperatorSubscriber(subscriber, undefined, () => {\n innerSub = null;\n isComplete && subscriber.complete();\n });\n innerFrom(project(outerValue, index++)).subscribe(innerSub);\n }\n }, () => {\n isComplete = true;\n !innerSub && subscriber.complete();\n }));\n });\n}\n","import * as i1 from 'rxjs';\nimport { merge, Observable, Subject, defer, of } from 'rxjs';\nimport { ignoreElements, materialize, map, catchError, filter, groupBy, mergeMap, exhaustMap, dematerialize, take, concatMap, finalize, withLatestFrom } from 'rxjs/operators';\nimport * as i0 from '@angular/core';\nimport { InjectionToken, Injectable, Inject, NgModule, Optional, inject, makeEnvironmentProviders, ENVIRONMENT_INITIALIZER } from '@angular/core';\nimport * as i3 from '@ngrx/store';\nimport { ScannedActionsSubject, createAction, ROOT_STORE_PROVIDER, FEATURE_STATE_PROVIDER, Store } from '@ngrx/store';\n\nconst DEFAULT_EFFECT_CONFIG = {\n dispatch: true,\n functional: false,\n useEffectsErrorHandler: true,\n};\nconst CREATE_EFFECT_METADATA_KEY = '__@ngrx/effects_create__';\n\n/**\n * @description\n *\n * Creates an effect from a source and an `EffectConfig`.\n *\n * @param source A function which returns an observable or observable factory.\n * @param config A `EffectConfig` to configure the effect. By default,\n * `dispatch` is true, `functional` is false, and `useEffectsErrorHandler` is\n * true.\n * @returns If `EffectConfig`#`functional` is true, returns the source function.\n * Else, returns the source function result. When `EffectConfig`#`dispatch` is\n * true, the source function result needs to be `Observable<Action>`.\n *\n * @usageNotes\n *\n * ### Class Effects\n *\n * ```ts\n * @Injectable()\n * export class FeatureEffects {\n * // mapping to a different action\n * readonly effect1$ = createEffect(\n * () => this.actions$.pipe(\n * ofType(FeatureActions.actionOne),\n * map(() => FeatureActions.actionTwo())\n * )\n * );\n *\n * // non-dispatching effect\n * readonly effect2$ = createEffect(\n * () => this.actions$.pipe(\n * ofType(FeatureActions.actionTwo),\n * tap(() => console.log('Action Two Dispatched'))\n * ),\n * { dispatch: false } // FeatureActions.actionTwo is not dispatched\n * );\n *\n * constructor(private readonly actions$: Actions) {}\n * }\n * ```\n *\n * ### Functional Effects\n *\n * ```ts\n * // mapping to a different action\n * export const loadUsers = createEffect(\n * (actions$ = inject(Actions), usersService = inject(UsersService)) => {\n * return actions$.pipe(\n * ofType(UsersPageActions.opened),\n * exhaustMap(() => {\n * return usersService.getAll().pipe(\n * map((users) => UsersApiActions.usersLoadedSuccess({ users })),\n * catchError((error) =>\n * of(UsersApiActions.usersLoadedFailure({ error }))\n * )\n * );\n * })\n * );\n * },\n * { functional: true }\n * );\n *\n * // non-dispatching functional effect\n * export const logDispatchedActions = createEffect(\n * () => inject(Actions).pipe(tap(console.log)),\n * { functional: true, dispatch: false }\n * );\n * ```\n */\nfunction createEffect(source, config = {}) {\n const effect = config.functional ? source : source();\n const value = {\n ...DEFAULT_EFFECT_CONFIG,\n ...config, // Overrides any defaults if values are provided\n };\n Object.defineProperty(effect, CREATE_EFFECT_METADATA_KEY, {\n value,\n });\n return effect;\n}\nfunction getCreateEffectMetadata(instance) {\n const propertyNames = Object.getOwnPropertyNames(instance);\n const metadata = propertyNames\n .filter((propertyName) => {\n if (instance[propertyName] &&\n instance[propertyName].hasOwnProperty(CREATE_EFFECT_METADATA_KEY)) {\n // If the property type has overridden `hasOwnProperty` we need to ensure\n // that the metadata is valid (containing a `dispatch` property)\n // https://github.com/ngrx/platform/issues/2975\n const property = instance[propertyName];\n return property[CREATE_EFFECT_METADATA_KEY].hasOwnProperty('dispatch');\n }\n return false;\n })\n .map((propertyName) => {\n const metaData = instance[propertyName][CREATE_EFFECT_METADATA_KEY];\n return {\n propertyName,\n ...metaData,\n };\n });\n return metadata;\n}\n\nfunction getEffectsMetadata(instance) {\n return getSourceMetadata(instance).reduce((acc, { propertyName, dispatch, useEffectsErrorHandler }) => {\n acc[propertyName] = { dispatch, useEffectsErrorHandler };\n return acc;\n }, {});\n}\nfunction getSourceMetadata(instance) {\n return getCreateEffectMetadata(instance);\n}\n\nfunction getSourceForInstance(instance) {\n return Object.getPrototypeOf(instance);\n}\nfunction isClassInstance(obj) {\n return (obj.constructor.name !== 'Object' && obj.constructor.name !== 'Function');\n}\nfunction isClass(classOrRecord) {\n return typeof classOrRecord === 'function';\n}\nfunction getClasses(classesAndRecords) {\n return classesAndRecords.filter(isClass);\n}\nfunction isToken(tokenOrRecord) {\n return tokenOrRecord instanceof InjectionToken || isClass(tokenOrRecord);\n}\n\nfunction mergeEffects(sourceInstance, globalErrorHandler, effectsErrorHandler) {\n const sourceName = getSourceForInstance(sourceInstance).constructor.name;\n const observables$ = getSourceMetadata(sourceInstance).map(({ propertyName, dispatch, useEffectsErrorHandler, }) => {\n const observable$ = typeof sourceInstance[propertyName] === 'function'\n ? sourceInstance[propertyName]()\n : sourceInstance[propertyName];\n const effectAction$ = useEffectsErrorHandler\n ? effectsErrorHandler(observable$, globalErrorHandler)\n : observable$;\n if (dispatch === false) {\n return effectAction$.pipe(ignoreElements());\n }\n const materialized$ = effectAction$.pipe(materialize());\n return materialized$.pipe(map((notification) => ({\n effect: sourceInstance[propertyName],\n notification,\n propertyName,\n sourceName,\n sourceInstance,\n })));\n });\n return merge(...observables$);\n}\n\nconst MAX_NUMBER_OF_RETRY_ATTEMPTS = 10;\nfunction defaultEffectsErrorHandler(observable$, errorHandler, retryAttemptLeft = MAX_NUMBER_OF_RETRY_ATTEMPTS) {\n return observable$.pipe(catchError((error) => {\n if (errorHandler)\n errorHandler.handleError(error);\n if (retryAttemptLeft <= 1) {\n return observable$; // last attempt\n }\n // Return observable that produces this particular effect\n return defaultEffectsErrorHandler(observable$, errorHandler, retryAttemptLeft - 1);\n }));\n}\n\nclass Actions extends Observable {\n constructor(source) {\n super();\n if (source) {\n this.source = source;\n }\n }\n lift(operator) {\n const observable = new Actions();\n observable.source = this;\n observable.operator = operator;\n return observable;\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: Actions, deps: [{ token: ScannedActionsSubject }], target: i0.ɵɵFactoryTarget.Injectable }); }\n /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: Actions, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: Actions, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: i1.Observable, decorators: [{\n type: Inject,\n args: [ScannedActionsSubject]\n }] }]; } });\n/**\n * `ofType` filters an Observable of `Actions` into an Observable of the actions\n * whose type strings are passed to it.\n *\n * For example, if `actions` has type `Actions<AdditionAction|SubstractionAction>`, and\n * the type of the `Addition` action is `add`, then\n * `actions.pipe(ofType('add'))` returns an `Observable<AdditionAction>`.\n *\n * Properly typing this function is hard and requires some advanced TS tricks\n * below.\n *\n * Type narrowing automatically works, as long as your `actions` object\n * starts with a `Actions<SomeUnionOfActions>` instead of generic `Actions`.\n *\n * For backwards compatibility, when one passes a single type argument\n * `ofType<T>('something')` the result is an `Observable<T>`. Note, that `T`\n * completely overrides any possible inference from 'something'.\n *\n * Unfortunately, for unknown 'actions: Actions' these types will produce\n * 'Observable<never>'. In such cases one has to manually set the generic type\n * like `actions.ofType<AdditionAction>('add')`.\n *\n * @usageNotes\n *\n * Filter the Actions stream on the \"customers page loaded\" action\n *\n * ```ts\n * import { ofType } from '@ngrx/effects';\n * import * fromCustomers from '../customers';\n *\n * this.actions$.pipe(\n * ofType(fromCustomers.pageLoaded)\n * )\n * ```\n */\nfunction ofType(...allowedTypes) {\n return filter((action) => allowedTypes.some((typeOrActionCreator) => {\n if (typeof typeOrActionCreator === 'string') {\n // Comparing the string to type\n return typeOrActionCreator === action.type;\n }\n // We are filtering by ActionCreator\n return typeOrActionCreator.type === action.type;\n }));\n}\n\nconst _ROOT_EFFECTS_GUARD = new InjectionToken('@ngrx/effects Internal Root Guard');\nconst USER_PROVIDED_EFFECTS = new InjectionToken('@ngrx/effects User Provided Effects');\nconst _ROOT_EFFECTS = new InjectionToken('@ngrx/effects Internal Root Effects');\nconst _ROOT_EFFECTS_INSTANCES = new InjectionToken('@ngrx/effects Internal Root Effects Instances');\nconst _FEATURE_EFFECTS = new InjectionToken('@ngrx/effects Internal Feature Effects');\nconst _FEATURE_EFFECTS_INSTANCE_GROUPS = new InjectionToken('@ngrx/effects Internal Feature Effects Instance Groups');\nconst EFFECTS_ERROR_HANDLER = new InjectionToken('@ngrx/effects Effects Error Handler', { providedIn: 'root', factory: () => defaultEffectsErrorHandler });\n\nconst ROOT_EFFECTS_INIT = '@ngrx/effects/init';\nconst rootEffectsInit = createAction(ROOT_EFFECTS_INIT);\n\nfunction reportInvalidActions(output, reporter) {\n if (output.notification.kind === 'N') {\n const action = output.notification.value;\n const isInvalidAction = !isAction(action);\n if (isInvalidAction) {\n reporter.handleError(new Error(`Effect ${getEffectName(output)} dispatched an invalid action: ${stringify(action)}`));\n }\n }\n}\nfunction isAction(action) {\n return (typeof action !== 'function' &&\n action &&\n action.type &&\n typeof action.type === 'string');\n}\nfunction getEffectName({ propertyName, sourceInstance, sourceName, }) {\n const isMethod = typeof sourceInstance[propertyName] === 'function';\n return `\"${sourceName}.${String(propertyName)}${isMethod ? '()' : ''}\"`;\n}\nfunction stringify(action) {\n try {\n return JSON.stringify(action);\n }\n catch {\n return action;\n }\n}\n\nconst onIdentifyEffectsKey = 'ngrxOnIdentifyEffects';\nfunction isOnIdentifyEffects(instance) {\n return isFunction(instance, onIdentifyEffectsKey);\n}\nconst onRunEffectsKey = 'ngrxOnRunEffects';\nfunction isOnRunEffects(instance) {\n return isFunction(instance, onRunEffectsKey);\n}\nconst onInitEffects = 'ngrxOnInitEffects';\nfunction isOnInitEffects(instance) {\n return isFunction(instance, onInitEffects);\n}\nfunction isFunction(instance, functionName) {\n return (instance &&\n functionName in instance &&\n typeof instance[functionName] === 'function');\n}\n\nclass EffectSources extends Subject {\n constructor(errorHandler, effectsErrorHandler) {\n super();\n this.errorHandler = errorHandler;\n this.effectsErrorHandler = effectsErrorHandler;\n }\n addEffects(effectSourceInstance) {\n this.next(effectSourceInstance);\n }\n /**\n * @internal\n */\n toActions() {\n return this.pipe(groupBy((effectsInstance) => isClassInstance(effectsInstance)\n ? getSourceForInstance(effectsInstance)\n : effectsInstance), mergeMap((source$) => {\n return source$.pipe(groupBy(effectsInstance));\n }), mergeMap((source$) => {\n const effect$ = source$.pipe(exhaustMap((sourceInstance) => {\n return resolveEffectSource(this.errorHandler, this.effectsErrorHandler)(sourceInstance);\n }), map((output) => {\n reportInvalidActions(output, this.errorHandler);\n return output.notification;\n }), filter((notification) => notification.kind === 'N' && notification.value != null), dematerialize());\n // start the stream with an INIT action\n // do this only for the first Effect instance\n const init$ = source$.pipe(take(1), filter(isOnInitEffects), map((instance) => instance.ngrxOnInitEffects()));\n return merge(effect$, init$);\n }));\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EffectSources, deps: [{ token: i0.ErrorHandler }, { token: EFFECTS_ERROR_HANDLER }], target: i0.ɵɵFactoryTarget.Injectable }); }\n /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EffectSources, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EffectSources, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: i0.ErrorHandler }, { type: undefined, decorators: [{\n type: Inject,\n args: [EFFECTS_ERROR_HANDLER]\n }] }]; } });\nfunction effectsInstance(sourceInstance) {\n if (isOnIdentifyEffects(sourceInstance)) {\n return sourceInstance.ngrxOnIdentifyEffects();\n }\n return '';\n}\nfunction resolveEffectSource(errorHandler, effectsErrorHandler) {\n return (sourceInstance) => {\n const mergedEffects$ = mergeEffects(sourceInstance, errorHandler, effectsErrorHandler);\n if (isOnRunEffects(sourceInstance)) {\n return sourceInstance.ngrxOnRunEffects(mergedEffects$);\n }\n return mergedEffects$;\n };\n}\n\nclass EffectsRunner {\n get isStarted() {\n return !!this.effectsSubscription;\n }\n constructor(effectSources, store) {\n this.effectSources = effectSources;\n this.store = store;\n this.effectsSubscription = null;\n }\n start() {\n if (!this.effectsSubscription) {\n this.effectsSubscription = this.effectSources\n .toActions()\n .subscribe(this.store);\n }\n }\n ngOnDestroy() {\n if (this.effectsSubscription) {\n this.effectsSubscription.unsubscribe();\n this.effectsSubscription = null;\n }\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EffectsRunner, deps: [{ token: EffectSources }, { token: i3.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }\n /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EffectsRunner, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EffectsRunner, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: EffectSources }, { type: i3.Store }]; } });\n\nclass EffectsRootModule {\n constructor(sources, runner, store, rootEffectsInstances, storeRootModule, storeFeatureModule, guard) {\n this.sources = sources;\n runner.start();\n for (const effectsInstance of rootEffectsInstances) {\n sources.addEffects(effectsInstance);\n }\n store.dispatch({ type: ROOT_EFFECTS_INIT });\n }\n addEffects(effectsInstance) {\n this.sources.addEffects(effectsInstance);\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EffectsRootModule, deps: [{ token: EffectSources }, { token: EffectsRunner }, { token: i3.Store }, { token: _ROOT_EFFECTS_INSTANCES }, { token: i3.StoreRootModule, optional: true }, { token: i3.StoreFeatureModule, optional: true }, { token: _ROOT_EFFECTS_GUARD, optional: true }], target: i0.ɵɵFactoryTarget.NgModule }); }\n /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: EffectsRootModule }); }\n /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EffectsRootModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EffectsRootModule, decorators: [{\n type: NgModule,\n args: [{}]\n }], ctorParameters: function () { return [{ type: EffectSources }, { type: EffectsRunner }, { type: i3.Store }, { type: undefined, decorators: [{\n type: Inject,\n args: [_ROOT_EFFECTS_INSTANCES]\n }] }, { type: i3.StoreRootModule, decorators: [{\n type: Optional\n }] }, { type: i3.StoreFeatureModule, decorators: [{\n type: Optional\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [_ROOT_EFFECTS_GUARD]\n }] }]; } });\n\nclass EffectsFeatureModule {\n constructor(effectsRootModule, effectsInstanceGroups, storeRootModule, storeFeatureModule) {\n const effectsInstances = effectsInstanceGroups.flat();\n for (const effectsInstance of effectsInstances) {\n effectsRootModule.addEffects(effectsInstance);\n }\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EffectsFeatureModule, deps: [{ token: EffectsRootModule }, { token: _FEATURE_EFFECTS_INSTANCE_GROUPS }, { token: i3.StoreRootModule, optional: true }, { token: i3.StoreFeatureModule, optional: true }], target: i0.ɵɵFactoryTarget.NgModule }); }\n /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: EffectsFeatureModule }); }\n /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EffectsFeatureModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EffectsFeatureModule, decorators: [{\n type: NgModule,\n args: [{}]\n }], ctorParameters: function () { return [{ type: EffectsRootModule }, { type: undefined, decorators: [{\n type: Inject,\n args: [_FEATURE_EFFECTS_INSTANCE_GROUPS]\n }] }, { type: i3.StoreRootModule, decorators: [{\n type: Optional\n }] }, { type: i3.StoreFeatureModule, decorators: [{\n type: Optional\n }] }]; } });\n\nclass EffectsModule {\n static forFeature(...featureEffects) {\n const effects = featureEffects.flat();\n const effectsClasses = getClasses(effects);\n return {\n ngModule: EffectsFeatureModule,\n providers: [\n effectsClasses,\n {\n provide: _FEATURE_EFFECTS,\n multi: true,\n useValue: effects,\n },\n {\n provide: USER_PROVIDED_EFFECTS,\n multi: true,\n useValue: [],\n },\n {\n provide: _FEATURE_EFFECTS_INSTANCE_GROUPS,\n multi: true,\n useFactory: createEffectsInstances,\n deps: [_FEATURE_EFFECTS, USER_PROVIDED_EFFECTS],\n },\n ],\n };\n }\n static forRoot(...rootEffects) {\n const effects = rootEffects.flat();\n const effectsClasses = getClasses(effects);\n return {\n ngModule: EffectsRootModule,\n providers: [\n effectsClasses,\n {\n provide: _ROOT_EFFECTS,\n useValue: [effects],\n },\n {\n provide: _ROOT_EFFECTS_GUARD,\n useFactory: _provideForRootGuard,\n },\n {\n provide: USER_PROVIDED_EFFECTS,\n multi: true,\n useValue: [],\n },\n {\n provide: _ROOT_EFFECTS_INSTANCES,\n useFactory: createEffectsInstances,\n deps: [_ROOT_EFFECTS, USER_PROVIDED_EFFECTS],\n },\n ],\n };\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EffectsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: EffectsModule }); }\n /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EffectsModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EffectsModule, decorators: [{\n type: NgModule,\n args: [{}]\n }] });\nfunction createEffectsInstances(effectsGroups, userProvidedEffectsGroups) {\n const effects = [];\n for (const effectsGroup of effectsGroups) {\n effects.push(...effectsGroup);\n }\n for (const userProvidedEffectsGroup of userProvidedEffectsGroups) {\n effects.push(...userProvidedEffectsGroup);\n }\n return effects.map((effectsTokenOrRecord) => isToken(effectsTokenOrRecord)\n ? inject(effectsTokenOrRecord)\n : effectsTokenOrRecord);\n}\nfunction _provideForRootGuard() {\n const runner = inject(EffectsRunner, { optional: true, skipSelf: true });\n const rootEffects = inject(_ROOT_EFFECTS, { self: true });\n // check whether any effects are actually passed\n const hasEffects = !(rootEffects.length === 1 && rootEffects[0].length === 0);\n if (hasEffects && runner) {\n throw new TypeError(`EffectsModule.forRoot() called twice. Feature modules should use EffectsModule.forFeature() instead.`);\n }\n return 'guarded';\n}\n\n/**\n * Wraps project fn with error handling making it safe to use in Effects.\n * Takes either a config with named properties that represent different possible\n * callbacks or project/error callbacks that are required.\n */\nfunction act(\n/** Allow to take either config object or project/error functions */\nconfigOrProject, errorFn) {\n const { project, error, complete, operator, unsubscribe } = typeof configOrProject === 'function'\n ? {\n project: configOrProject,\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n error: errorFn,\n operator: concatMap,\n complete: undefined,\n unsubscribe: undefined,\n }\n : { ...configOrProject, operator: configOrProject.operator || concatMap };\n return (source) => defer(() => {\n const subject = new Subject();\n return merge(source.pipe(operator((input, index) => defer(() => {\n let completed = false;\n let errored = false;\n let projectedCount = 0;\n return project(input, index).pipe(materialize(), map((notification) => {\n switch (notification.kind) {\n case 'E':\n errored = true;\n return {\n kind: 'N',\n value: error(notification.error, input),\n };\n case 'C':\n completed = true;\n return complete\n ? {\n kind: 'N',\n value: complete(projectedCount, input),\n }\n : undefined;\n default:\n ++projectedCount;\n return notification;\n }\n }), filter((n) => n != null), dematerialize(), finalize(() => {\n if (!completed && !errored && unsubscribe) {\n subject.next(unsubscribe(projectedCount, input));\n }\n }));\n }))), subject);\n });\n}\n\n/**\n * `concatLatestFrom` combines the source value\n * and the last available value from a lazily evaluated Observable\n * in a new array\n *\n * @usageNotes\n *\n * Select the active customer from the NgRx Store\n *\n * ```ts\n * import { concatLatestFrom } from '@ngrx/effects';\n * import * as fromCustomers from '../customers';\n *\n * this.actions$.pipe(\n * concatLatestFrom(() => this.store.select(fromCustomers.selectActiveCustomer))\n * )\n * ```\n *\n * Select a customer from the NgRx Store by its id that is available on the action\n *\n * ```ts\n * import { concatLatestFrom } from '@ngrx/effects';\n * import * fromCustomers from '../customers';\n *\n * this.actions$.pipe(\n * concatLatestFrom((action) => this.store.select(fromCustomers.selectCustomer(action.customerId)))\n * )\n * ```\n */\nfunction concatLatestFrom(observablesFactory) {\n return concatMap((value) => {\n const observables = observablesFactory(value);\n const observablesAsArray = Array.isArray(observables)\n ? observables\n : [observables];\n return of(value).pipe(withLatestFrom(...observablesAsArray));\n });\n}\n\n/**\n * @usageNotes\n *\n * ### Providing effects at the root level\n *\n * ```ts\n * bootstrapApplication(AppComponent, {\n * providers: [provideEffects(RouterEffects)],\n * });\n * ```\n *\n * ### Providing effects at the feature level\n *\n * ```ts\n * const booksRoutes: Route[] = [\n * {\n * path: '',\n * providers: [provideEffects(BooksApiEffects)],\n * children: [\n * { path: '', component: BookListComponent },\n * { path: ':id', component: BookDetailsComponent },\n * ],\n * },\n * ];\n * ```\n */\nfunction provideEffects(...effects) {\n const effectsClassesAndRecords = effects.flat();\n const effectsClasses = getClasses(effectsClassesAndRecords);\n return makeEnvironmentProviders([\n effectsClasses,\n {\n provide: ENVIRONMENT_INITIALIZER,\n multi: true,\n useValue: () => {\n inject(ROOT_STORE_PROVIDER);\n inject(FEATURE_STATE_PROVIDER, { optional: true });\n const effectsRunner = inject(EffectsRunner);\n const effectSources = inject(EffectSources);\n const shouldInitEffects = !effectsRunner.isStarted;\n if (shouldInitEffects) {\n effectsRunner.start();\n }\n for (const effectsClassOrRecord of effectsClassesAndRecords) {\n const effectsInstance = isClass(effectsClassOrRecord)\n ? inject(effectsClassOrRecord)\n : effectsClassOrRecord;\n effectSources.addEffects(effectsInstance);\n }\n if (shouldInitEffects) {\n const store = inject(Store);\n store.dispatch(rootEffectsInit());\n }\n },\n },\n ]);\n}\n\n/**\n * DO NOT EDIT\n *\n * This file is automatically generated at build\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { Actions, EFFECTS_ERROR_HANDLER, EffectSources, EffectsFeatureModule, EffectsModule, EffectsRootModule, EffectsRunner, ROOT_EFFECTS_INIT, USER_PROVIDED_EFFECTS, act, concatLatestFrom, createEffect, defaultEffectsErrorHandler, getEffectsMetadata, mergeEffects, ofType, provideEffects, rootEffectsInit };\n","import { Notification } from '../Notification';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function materialize() {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n subscriber.next(Notification.createNext(value));\n }, () => {\n subscriber.next(Notification.createComplete());\n subscriber.complete();\n }, (err) => {\n subscriber.next(Notification.createError(err));\n subscriber.complete();\n }));\n });\n}\n","import { observeNotification } from '../Notification';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function dematerialize() {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, (notification) => observeNotification(notification, subscriber)));\n });\n}\n","import * as i0 from '@angular/core';\nimport { Injectable, InjectionToken, isDevMode, Optional, Inject, ENVIRONMENT_INITIALIZER, inject, makeEnvironmentProviders, NgModule } from '@angular/core';\nimport { filter, map, delay, timeout, catchError, shareReplay, take, mergeMap, withLatestFrom, concatMap } from 'rxjs/operators';\nimport * as i1 from '@angular/common/http';\nimport { HttpParams, HttpHeaders } from '@angular/common/http';\nimport * as i4 from 'rxjs';\nimport { throwError, of, race, asyncScheduler, merge } from 'rxjs';\nimport { createEntityAdapter } from '@ngrx/entity';\nimport * as i3 from '@ngrx/store';\nimport { ScannedActionsSubject, createSelector, createFeatureSelector, compose, ReducerManager, combineReducers } from '@ngrx/store';\nimport * as i1$1 from '@ngrx/effects';\nimport { createEffect, ofType, EffectSources } from '@ngrx/effects';\n\nclass EntityActionFactory {\n // polymorphic create for the two signatures\n create(nameOrPayload, entityOp, data, options) {\n const payload = typeof nameOrPayload === 'string'\n ? {\n ...(options || {}),\n entityName: nameOrPayload,\n entityOp,\n data,\n }\n : nameOrPayload;\n return this.createCore(payload);\n }\n /**\n * Create an EntityAction to perform an operation (op) for a particular entity type\n * (entityName) with optional data and other optional flags\n * @param payload Defines the EntityAction and its options\n */\n createCore(payload) {\n const { entityName, entityOp, tag } = payload;\n if (!entityName) {\n throw new Error('Missing entity name for new action');\n }\n if (entityOp == null) {\n throw new Error('Missing EntityOp for new action');\n }\n const type = this.formatActionType(entityOp, tag || entityName);\n return { type, payload };\n }\n /**\n * Create an EntityAction from another EntityAction, replacing properties with those from newPayload;\n * @param from Source action that is the base for the new action\n * @param newProperties New EntityAction properties that replace the source action properties\n */\n createFromAction(from, newProperties) {\n return this.create({ ...from.payload, ...newProperties });\n }\n formatActionType(op, tag) {\n return `[${tag}] ${op}`;\n // return `${op} [${tag}]`.toUpperCase(); // example of an alternative\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityActionFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityActionFactory }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityActionFactory, decorators: [{\n type: Injectable\n }] });\n\n/**\n * Guard methods that ensure EntityAction payload is as expected.\n * Each method returns that payload if it passes the guard or\n * throws an error.\n */\nclass EntityActionGuard {\n constructor(entityName, selectId) {\n this.entityName = entityName;\n this.selectId = selectId;\n }\n /** Throw if the action payload is not an entity with a valid key */\n mustBeEntity(action) {\n const data = this.extractData(action);\n if (!data) {\n return this.throwError(action, `should have a single entity.`);\n }\n const id = this.selectId(data);\n if (this.isNotKeyType(id)) {\n this.throwError(action, `has a missing or invalid entity key (id)`);\n }\n return data;\n }\n /** Throw if the action payload is not an array of entities with valid keys */\n mustBeEntities(action) {\n const data = this.extractData(action);\n if (!Array.isArray(data)) {\n return this.throwError(action, `should be an array of entities`);\n }\n data.forEach((entity, i) => {\n const id = this.selectId(entity);\n if (this.isNotKeyType(id)) {\n const msg = `, item ${i + 1}, does not have a valid entity key (id)`;\n this.throwError(action, msg);\n }\n });\n return data;\n }\n /** Throw if the action payload is not a single, valid key */\n mustBeKey(action) {\n const data = this.extractData(action);\n if (data === undefined) {\n throw new Error(`should be a single entity key`);\n }\n if (this.isNotKeyType(data)) {\n throw new Error(`is not a valid key (id)`);\n }\n return data;\n }\n /** Throw if the action payload is not an array of valid keys */\n mustBeKeys(action) {\n const data = this.extractData(action);\n if (!Array.isArray(data)) {\n return this.throwError(action, `should be an array of entity keys (id)`);\n }\n data.forEach((id, i) => {\n if (this.isNotKeyType(id)) {\n const msg = `${this.entityName} ', item ${i + 1}, is not a valid entity key (id)`;\n this.throwError(action, msg);\n }\n });\n return data;\n }\n /** Throw if the action payload is not an update with a valid key (id) */\n mustBeUpdate(action) {\n const data = this.extractData(action);\n if (!data) {\n return this.throwError(action, `should be a single entity update`);\n }\n const { id, changes } = data;\n const id2 = this.selectId(changes);\n if (this.isNotKeyType(id) || this.isNotKeyType(id2)) {\n this.throwError(action, `has a missing or invalid entity key (id)`);\n }\n return data;\n }\n /** Throw if the action payload is not an array of updates with valid keys (ids) */\n mustBeUpdates(action) {\n const data = this.extractData(action);\n if (!Array.isArray(data)) {\n return this.throwError(action, `should be an array of entity updates`);\n }\n data.forEach((item, i) => {\n const { id, changes } = item;\n const id2 = this.selectId(changes);\n if (this.isNotKeyType(id) || this.isNotKeyType(id2)) {\n this.throwError(action, `, item ${i + 1}, has a missing or invalid entity key (id)`);\n }\n });\n return data;\n }\n /** Throw if the action payload is not an update response with a valid key (id) */\n mustBeUpdateResponse(action) {\n const data = this.extractData(action);\n if (!data) {\n return this.throwError(action, `should be a single entity update`);\n }\n const { id, changes } = data;\n const id2 = this.selectId(changes);\n if (this.isNotKeyType(id) || this.isNotKeyType(id2)) {\n this.throwError(action, `has a missing or invalid entity key (id)`);\n }\n return data;\n }\n /** Throw if the action payload is not an array of update responses with valid keys (ids) */\n mustBeUpdateResponses(action) {\n const data = this.extractData(action);\n if (!Array.isArray(data)) {\n return this.throwError(action, `should be an array of entity updates`);\n }\n data.forEach((item, i) => {\n const { id, changes } = item;\n const id2 = this.selectId(changes);\n if (this.isNotKeyType(id) || this.isNotKeyType(id2)) {\n this.throwError(action, `, item ${i + 1}, has a missing or invalid entity key (id)`);\n }\n });\n return data;\n }\n extractData(action) {\n return action.payload && action.payload.data;\n }\n /** Return true if this key (id) is invalid */\n isNotKeyType(id) {\n return typeof id !== 'string' && typeof id !== 'number';\n }\n throwError(action, msg) {\n throw new Error(`${this.entityName} EntityAction guard for \"${action.type}\": payload ${msg}`);\n }\n}\n\n/**\n * Default function that returns the entity's primary key (pkey).\n * Assumes that the entity has an `id` pkey property.\n * Returns `undefined` if no entity or `id`.\n * Every selectId fn must return `undefined` when it cannot produce a full pkey.\n */\nfunction defaultSelectId(entity) {\n return entity == null ? undefined : entity.id;\n}\n/**\n * Flatten first arg if it is an array\n * Allows fn with ...rest signature to be called with an array instead of spread\n * Example:\n * ```\n * // See entity-action-operators.ts\n * const persistOps = [EntityOp.QUERY_ALL, EntityOp.ADD, ...];\n * actions.pipe(ofEntityOp(...persistOps)) // works\n * actions.pipe(ofEntityOp(persistOps)) // also works\n * ```\n * */\nfunction flattenArgs(args) {\n if (args == null) {\n return [];\n }\n if (Array.isArray(args[0])) {\n const [head, ...tail] = args;\n args = [...head, ...tail];\n }\n return args;\n}\n/**\n * Return a function that converts an entity (or partial entity) into the `Update<T>`\n * whose `id` is the primary key and\n * `changes` is the entity (or partial entity of changes).\n */\nfunction toUpdateFactory(selectId) {\n selectId = selectId || defaultSelectId;\n /**\n * Convert an entity (or partial entity) into the `Update<T>`\n * whose `id` is the primary key and\n * `changes` is the entity (or partial entity of changes).\n * @param selectId function that returns the entity's primary key (id)\n */\n return function toUpdate(entity) {\n const id = selectId(entity);\n if (id == null) {\n throw new Error('Primary key may not be null/undefined.');\n }\n return entity && { id, changes: entity };\n };\n}\n\nfunction ofEntityOp(...allowedEntityOps) {\n const ops = flattenArgs(allowedEntityOps);\n switch (ops.length) {\n case 0:\n return filter((action) => action.payload && action.payload.entityOp != null);\n case 1:\n const op = ops[0];\n return filter((action) => action.payload && op === action.payload.entityOp);\n default:\n return filter((action) => {\n const entityOp = action.payload && action.payload.entityOp;\n return entityOp && ops.some((o) => o === entityOp);\n });\n }\n}\nfunction ofEntityType(...allowedEntityNames) {\n const names = flattenArgs(allowedEntityNames);\n switch (names.length) {\n case 0:\n return filter((action) => action.payload && action.payload.entityName != null);\n case 1:\n const name = names[0];\n return filter((action) => action.payload && name === action.payload.entityName);\n default:\n return filter((action) => {\n const entityName = action.payload && action.payload.entityName;\n return !!entityName && names.some((n) => n === entityName);\n });\n }\n}\n\nvar ChangeSetOperation;\n(function (ChangeSetOperation) {\n ChangeSetOperation[\"Add\"] = \"Add\";\n ChangeSetOperation[\"Delete\"] = \"Delete\";\n ChangeSetOperation[\"Update\"] = \"Update\";\n ChangeSetOperation[\"Upsert\"] = \"Upsert\";\n})(ChangeSetOperation || (ChangeSetOperation = {}));\n/**\n * Factory to create a ChangeSetItem for a ChangeSetOperation\n */\nclass ChangeSetItemFactory {\n /** Create the ChangeSetAdd for new entities of the given entity type */\n add(entityName, entities) {\n entities = Array.isArray(entities) ? entities : entities ? [entities] : [];\n return { entityName, op: ChangeSetOperation.Add, entities };\n }\n /** Create the ChangeSetDelete for primary keys of the given entity type */\n delete(entityName, keys) {\n const ids = Array.isArray(keys)\n ? keys\n : keys\n ? [keys]\n : [];\n return { entityName, op: ChangeSetOperation.Delete, entities: ids };\n }\n /** Create the ChangeSetUpdate for Updates of entities of the given entity type */\n update(entityName, updates) {\n updates = Array.isArray(updates) ? updates : updates ? [updates] : [];\n return { entityName, op: ChangeSetOperation.Update, entities: updates };\n }\n /** Create the ChangeSetUpsert for new or existing entities of the given entity type */\n upsert(entityName, entities) {\n entities = Array.isArray(entities) ? entities : entities ? [entities] : [];\n return { entityName, op: ChangeSetOperation.Upsert, entities };\n }\n}\n/**\n * Instance of a factory to create a ChangeSetItem for a ChangeSetOperation\n */\nconst changeSetItemFactory = new ChangeSetItemFactory();\n/**\n * Return ChangeSet after filtering out null and empty ChangeSetItems.\n * @param changeSet ChangeSet with changes to filter\n */\nfunction excludeEmptyChangeSetItems(changeSet) {\n changeSet = changeSet && changeSet.changes ? changeSet : { changes: [] };\n const changes = changeSet.changes.filter((c) => c != null && c.entities && c.entities.length > 0);\n return { ...changeSet, changes };\n}\n\n/** How to merge an entity, after query or save, when the corresponding entity in the collection has unsaved changes. */\nvar MergeStrategy;\n(function (MergeStrategy) {\n /**\n * Update the collection entities and ignore all change tracking for this operation.\n * Each entity's `changeState` is untouched.\n */\n MergeStrategy[MergeStrategy[\"IgnoreChanges\"] = 0] = \"IgnoreChanges\";\n /**\n * Updates current values for unchanged entities.\n * For each changed entity it preserves the current value and overwrites the `originalValue` with the merge entity.\n * This is the query-success default.\n */\n MergeStrategy[MergeStrategy[\"PreserveChanges\"] = 1] = \"PreserveChanges\";\n /**\n * Replace the current collection entities.\n * For each merged entity it discards the `changeState` and sets the `changeType` to \"unchanged\".\n * This is the save-success default.\n */\n MergeStrategy[MergeStrategy[\"OverwriteChanges\"] = 2] = \"OverwriteChanges\";\n})(MergeStrategy || (MergeStrategy = {}));\n\nvar EntityCacheAction;\n(function (EntityCacheAction) {\n EntityCacheAction[\"CLEAR_COLLECTIONS\"] = \"@ngrx/data/entity-cache/clear-collections\";\n EntityCacheAction[\"LOAD_COLLECTIONS\"] = \"@ngrx/data/entity-cache/load-collections\";\n EntityCacheAction[\"MERGE_QUERY_SET\"] = \"@ngrx/data/entity-cache/merge-query-set\";\n EntityCacheAction[\"SET_ENTITY_CACHE\"] = \"@ngrx/data/entity-cache/set-cache\";\n EntityCacheAction[\"SAVE_ENTITIES\"] = \"@ngrx/data/entity-cache/save-entities\";\n EntityCacheAction[\"SAVE_ENTITIES_CANCEL\"] = \"@ngrx/data/entity-cache/save-entities-cancel\";\n EntityCacheAction[\"SAVE_ENTITIES_CANCELED\"] = \"@ngrx/data/entity-cache/save-entities-canceled\";\n EntityCacheAction[\"SAVE_ENTITIES_ERROR\"] = \"@ngrx/data/entity-cache/save-entities-error\";\n EntityCacheAction[\"SAVE_ENTITIES_SUCCESS\"] = \"@ngrx/data/entity-cache/save-entities-success\";\n})(EntityCacheAction || (EntityCacheAction = {}));\n/**\n * Clear the collections identified in the collectionSet.\n * @param [collections] Array of names of the collections to clear.\n * If empty array, does nothing. If no array, clear all collections.\n * @param [tag] Optional tag to identify the operation from the app perspective.\n */\nclass ClearCollections {\n constructor(collections, tag) {\n this.type = EntityCacheAction.CLEAR_COLLECTIONS;\n this.payload = { collections, tag };\n }\n}\n/**\n * Create entity cache action that loads multiple entity collections at the same time.\n * before any selectors$ observables emit.\n * @param querySet The collections to load, typically the result of a query.\n * @param [tag] Optional tag to identify the operation from the app perspective.\n * in the form of a map of entity collections.\n */\nclass LoadCollections {\n constructor(collections, tag) {\n this.type = EntityCacheAction.LOAD_COLLECTIONS;\n this.payload = { collections, tag };\n }\n}\n/**\n * Create entity cache action that merges entities from a query result\n * that returned entities from multiple collections.\n * Corresponding entity cache reducer should add and update all collections\n * at the same time, before any selectors$ observables emit.\n * @param querySet The result of the query in the form of a map of entity collections.\n * These are the entity data to merge into the respective collections.\n * @param mergeStrategy How to merge a queried entity when it is already in the collection.\n * The default is MergeStrategy.PreserveChanges\n * @param [tag] Optional tag to identify the operation from the app perspective.\n */\nclass MergeQuerySet {\n constructor(querySet, mergeStrategy, tag) {\n this.type = EntityCacheAction.MERGE_QUERY_SET;\n this.payload = {\n querySet,\n mergeStrategy: mergeStrategy === null ? MergeStrategy.PreserveChanges : mergeStrategy,\n tag,\n };\n }\n}\n/**\n * Create entity cache action for replacing the entire entity cache.\n * Dangerous because brute force but useful as when re-hydrating an EntityCache\n * from local browser storage when the application launches.\n * @param cache New state of the entity cache\n * @param [tag] Optional tag to identify the operation from the app perspective.\n */\nclass SetEntityCache {\n constructor(cache, tag) {\n this.cache = cache;\n this.type = EntityCacheAction.SET_ENTITY_CACHE;\n this.payload = { cache, tag };\n }\n}\n// #region SaveEntities\nclass SaveEntities {\n constructor(changeSet, url, options) {\n this.type = EntityCacheAction.SAVE_ENTITIES;\n options = options || {};\n if (changeSet) {\n changeSet.tag = changeSet.tag || options.tag;\n }\n this.payload = { changeSet, url, ...options, tag: changeSet.tag };\n }\n}\nclass SaveEntitiesCancel {\n constructor(correlationId, reason, entityNames, tag) {\n this.type = EntityCacheAction.SAVE_ENTITIES_CANCEL;\n this.payload = { correlationId, reason, entityNames, tag };\n }\n}\nclass SaveEntitiesCanceled {\n constructor(correlationId, reason, tag) {\n this.type = EntityCacheAction.SAVE_ENTITIES_CANCELED;\n this.payload = { correlationId, reason, tag };\n }\n}\nclass SaveEntitiesError {\n constructor(error, originalAction) {\n this.type = EntityCacheAction.SAVE_ENTITIES_ERROR;\n const correlationId = originalAction.payload.correlationId;\n this.payload = { error, originalAction, correlationId };\n }\n}\nclass SaveEntitiesSuccess {\n constructor(changeSet, url, options) {\n this.type = EntityCacheAction.SAVE_ENTITIES_SUCCESS;\n options = options || {};\n if (changeSet) {\n changeSet.tag = changeSet.tag || options.tag;\n }\n this.payload = { changeSet, url, ...options, tag: changeSet.tag };\n }\n}\n// #endregion SaveEntities\n\n// Ensure that these suffix values and the EntityOp suffixes match\n// Cannot do that programmatically.\n/** General purpose entity action operations, good for any entity type */\nvar EntityOp;\n(function (EntityOp) {\n // Persistance operations\n EntityOp[\"CANCEL_PERSIST\"] = \"@ngrx/data/cancel-persist\";\n EntityOp[\"CANCELED_PERSIST\"] = \"@ngrx/data/canceled-persist\";\n EntityOp[\"QUERY_ALL\"] = \"@ngrx/data/query-all\";\n EntityOp[\"QUERY_ALL_SUCCESS\"] = \"@ngrx/data/query-all/success\";\n EntityOp[\"QUERY_ALL_ERROR\"] = \"@ngrx/data/query-all/error\";\n EntityOp[\"QUERY_LOAD\"] = \"@ngrx/data/query-load\";\n EntityOp[\"QUERY_LOAD_SUCCESS\"] = \"@ngrx/data/query-load/success\";\n EntityOp[\"QUERY_LOAD_ERROR\"] = \"@ngrx/data/query-load/error\";\n EntityOp[\"QUERY_MANY\"] = \"@ngrx/data/query-many\";\n EntityOp[\"QUERY_MANY_SUCCESS\"] = \"@ngrx/data/query-many/success\";\n EntityOp[\"QUERY_MANY_ERROR\"] = \"@ngrx/data/query-many/error\";\n EntityOp[\"QUERY_BY_KEY\"] = \"@ngrx/data/query-by-key\";\n EntityOp[\"QUERY_BY_KEY_SUCCESS\"] = \"@ngrx/data/query-by-key/success\";\n EntityOp[\"QUERY_BY_KEY_ERROR\"] = \"@ngrx/data/query-by-key/error\";\n EntityOp[\"SAVE_ADD_MANY\"] = \"@ngrx/data/save/add-many\";\n EntityOp[\"SAVE_ADD_MANY_ERROR\"] = \"@ngrx/data/save/add-many/error\";\n EntityOp[\"SAVE_ADD_MANY_SUCCESS\"] = \"@ngrx/data/save/add-many/success\";\n EntityOp[\"SAVE_ADD_ONE\"] = \"@ngrx/data/save/add-one\";\n EntityOp[\"SAVE_ADD_ONE_ERROR\"] = \"@ngrx/data/save/add-one/error\";\n EntityOp[\"SAVE_ADD_ONE_SUCCESS\"] = \"@ngrx/data/save/add-one/success\";\n EntityOp[\"SAVE_DELETE_MANY\"] = \"@ngrx/data/save/delete-many\";\n EntityOp[\"SAVE_DELETE_MANY_SUCCESS\"] = \"@ngrx/data/save/delete-many/success\";\n EntityOp[\"SAVE_DELETE_MANY_ERROR\"] = \"@ngrx/data/save/delete-many/error\";\n EntityOp[\"SAVE_DELETE_ONE\"] = \"@ngrx/data/save/delete-one\";\n EntityOp[\"SAVE_DELETE_ONE_SUCCESS\"] = \"@ngrx/data/save/delete-one/success\";\n EntityOp[\"SAVE_DELETE_ONE_ERROR\"] = \"@ngrx/data/save/delete-one/error\";\n EntityOp[\"SAVE_UPDATE_MANY\"] = \"@ngrx/data/save/update-many\";\n EntityOp[\"SAVE_UPDATE_MANY_SUCCESS\"] = \"@ngrx/data/save/update-many/success\";\n EntityOp[\"SAVE_UPDATE_MANY_ERROR\"] = \"@ngrx/data/save/update-many/error\";\n EntityOp[\"SAVE_UPDATE_ONE\"] = \"@ngrx/data/save/update-one\";\n EntityOp[\"SAVE_UPDATE_ONE_SUCCESS\"] = \"@ngrx/data/save/update-one/success\";\n EntityOp[\"SAVE_UPDATE_ONE_ERROR\"] = \"@ngrx/data/save/update-one/error\";\n // Use only if the server supports upsert;\n EntityOp[\"SAVE_UPSERT_MANY\"] = \"@ngrx/data/save/upsert-many\";\n EntityOp[\"SAVE_UPSERT_MANY_SUCCESS\"] = \"@ngrx/data/save/upsert-many/success\";\n EntityOp[\"SAVE_UPSERT_MANY_ERROR\"] = \"@ngrx/data/save/upsert-many/error\";\n // Use only if the server supports upsert;\n EntityOp[\"SAVE_UPSERT_ONE\"] = \"@ngrx/data/save/upsert-one\";\n EntityOp[\"SAVE_UPSERT_ONE_SUCCESS\"] = \"@ngrx/data/save/upsert-one/success\";\n EntityOp[\"SAVE_UPSERT_ONE_ERROR\"] = \"@ngrx/data/save/upsert-one/error\";\n // Cache operations\n EntityOp[\"ADD_ALL\"] = \"@ngrx/data/add-all\";\n EntityOp[\"ADD_MANY\"] = \"@ngrx/data/add-many\";\n EntityOp[\"ADD_ONE\"] = \"@ngrx/data/add-one\";\n EntityOp[\"REMOVE_ALL\"] = \"@ngrx/data/remove-all\";\n EntityOp[\"REMOVE_MANY\"] = \"@ngrx/data/remove-many\";\n EntityOp[\"REMOVE_ONE\"] = \"@ngrx/data/remove-one\";\n EntityOp[\"UPDATE_MANY\"] = \"@ngrx/data/update-many\";\n EntityOp[\"UPDATE_ONE\"] = \"@ngrx/data/update-one\";\n EntityOp[\"UPSERT_MANY\"] = \"@ngrx/data/upsert-many\";\n EntityOp[\"UPSERT_ONE\"] = \"@ngrx/data/upsert-one\";\n EntityOp[\"COMMIT_ALL\"] = \"@ngrx/data/commit-all\";\n EntityOp[\"COMMIT_MANY\"] = \"@ngrx/data/commit-many\";\n EntityOp[\"COMMIT_ONE\"] = \"@ngrx/data/commit-one\";\n EntityOp[\"UNDO_ALL\"] = \"@ngrx/data/undo-all\";\n EntityOp[\"UNDO_MANY\"] = \"@ngrx/data/undo-many\";\n EntityOp[\"UNDO_ONE\"] = \"@ngrx/data/undo-one\";\n EntityOp[\"SET_CHANGE_STATE\"] = \"@ngrx/data/set-change-state\";\n EntityOp[\"SET_COLLECTION\"] = \"@ngrx/data/set-collection\";\n EntityOp[\"SET_FILTER\"] = \"@ngrx/data/set-filter\";\n EntityOp[\"SET_LOADED\"] = \"@ngrx/data/set-loaded\";\n EntityOp[\"SET_LOADING\"] = \"@ngrx/data/set-loading\";\n})(EntityOp || (EntityOp = {}));\n/** \"Success\" suffix appended to EntityOps that are successful.*/\nconst OP_SUCCESS = '/success';\n/** \"Error\" suffix appended to EntityOps that have failed.*/\nconst OP_ERROR = '/error';\n/** Make the error EntityOp corresponding to the given EntityOp */\nfunction makeErrorOp(op) {\n return (op + OP_ERROR);\n}\n/** Make the success EntityOp corresponding to the given EntityOp */\nfunction makeSuccessOp(op) {\n return (op + OP_SUCCESS);\n}\n\n/**\n * Error from a DataService\n * The source error either comes from a failed HTTP response or was thrown within the service.\n * @param error the HttpErrorResponse or the error thrown by the service\n * @param requestData the HTTP request information such as the method and the url.\n */\n// If extend from Error, `dse instanceof DataServiceError` returns false\n// in some (all?) unit tests so don't bother trying.\nclass DataServiceError {\n constructor(error, requestData) {\n this.error = error;\n this.requestData = requestData;\n this.message = typeof error === 'string' ? error : extractMessage(error);\n }\n}\n// Many ways the error can be shaped. These are the ways we recognize.\nfunction extractMessage(sourceError) {\n const { error, body, message } = sourceError;\n let errMessage = null;\n if (error) {\n // prefer HttpErrorResponse.error to its message property\n errMessage = typeof error === 'string' ? error : error.message;\n }\n else if (message) {\n errMessage = message;\n }\n else if (body) {\n // try the body if no error or message property\n errMessage = typeof body === 'string' ? body : body.error;\n }\n return typeof errMessage === 'string'\n ? errMessage\n : errMessage\n ? JSON.stringify(errMessage)\n : null;\n}\n\n/**\n * Optional configuration settings for an entity collection data service\n * such as the `DefaultDataService<T>`.\n */\nclass DefaultDataServiceConfig {\n}\n\nclass Logger {\n}\nconst PLURAL_NAMES_TOKEN = new InjectionToken('@ngrx/data Plural Names');\nclass Pluralizer {\n}\n\n/**\n * Known resource URLS for specific entity types.\n * Each entity's resource URLS are endpoints that\n * target single entity and multi-entity HTTP operations.\n * Used by the `DefaultHttpUrlGenerator`.\n */\nclass EntityHttpResourceUrls {\n}\n/**\n * Generate the base part of an HTTP URL for\n * single entity or entity collection resource\n */\nclass HttpUrlGenerator {\n}\nclass DefaultHttpUrlGenerator {\n constructor(pluralizer) {\n this.pluralizer = pluralizer;\n /**\n * Known single-entity and collection resource URLs for HTTP calls.\n * Generator methods returns these resource URLs for a given entity type name.\n * If the resources for an entity type name are not know, it generates\n * and caches a resource name for future use\n */\n this.knownHttpResourceUrls = {};\n }\n /**\n * Get or generate the entity and collection resource URLs for the given entity type name\n * @param entityName {string} Name of the entity type, e.g, 'Hero'\n * @param root {string} Root path to the resource, e.g., 'some-api`\n */\n getResourceUrls(entityName, root, trailingSlashEndpoints = false) {\n let resourceUrls = this.knownHttpResourceUrls[entityName];\n if (!resourceUrls) {\n const nRoot = trailingSlashEndpoints ? root : normalizeRoot(root);\n resourceUrls = {\n entityResourceUrl: `${nRoot}/${entityName}/`.toLowerCase(),\n collectionResourceUrl: `${nRoot}/${this.pluralizer.pluralize(entityName)}/`.toLowerCase(),\n };\n this.registerHttpResourceUrls({ [entityName]: resourceUrls });\n }\n return resourceUrls;\n }\n /**\n * Create the path to a single entity resource\n * @param entityName {string} Name of the entity type, e.g, 'Hero'\n * @param root {string} Root path to the resource, e.g., 'some-api`\n * @returns complete path to resource, e.g, 'some-api/hero'\n */\n entityResource(entityName, root, trailingSlashEndpoints) {\n return this.getResourceUrls(entityName, root, trailingSlashEndpoints)\n .entityResourceUrl;\n }\n /**\n * Create the path to a multiple entity (collection) resource\n * @param entityName {string} Name of the entity type, e.g, 'Hero'\n * @param root {string} Root path to the resource, e.g., 'some-api`\n * @returns complete path to resource, e.g, 'some-api/heroes'\n */\n collectionResource(entityName, root) {\n return this.getResourceUrls(entityName, root).collectionResourceUrl;\n }\n /**\n * Register known single-entity and collection resource URLs for HTTP calls\n * @param entityHttpResourceUrls {EntityHttpResourceUrls} resource urls for specific entity type names\n * Well-formed resource urls end in a '/';\n * Note: this method does not ensure that resource urls are well-formed.\n */\n registerHttpResourceUrls(entityHttpResourceUrls) {\n this.knownHttpResourceUrls = {\n ...this.knownHttpResourceUrls,\n ...(entityHttpResourceUrls || {}),\n };\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: DefaultHttpUrlGenerator, deps: [{ token: Pluralizer }], target: i0.ɵɵFactoryTarget.Injectable }); }\n /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: DefaultHttpUrlGenerator }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: DefaultHttpUrlGenerator, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: Pluralizer }]; } });\n/** Remove leading & trailing spaces or slashes */\nfunction normalizeRoot(root) {\n return root.replace(/^[/\\s]+|[/\\s]+$/g, '');\n}\n\n/**\n * A basic, generic entity data service\n * suitable for persistence of most entities.\n * Assumes a common REST-y web API\n */\nclass DefaultDataService {\n get name() {\n return this._name;\n }\n constructor(entityName, http, httpUrlGenerator, config) {\n this.http = http;\n this.httpUrlGenerator = httpUrlGenerator;\n this.getDelay = 0;\n this.saveDelay = 0;\n this.timeout = 0;\n this.trailingSlashEndpoints = false;\n this._name = `${entityName} DefaultDataService`;\n this.entityName = entityName;\n const { root = 'api', delete404OK = true, getDelay = 0, saveDelay = 0, timeout: to = 0, trailingSlashEndpoints = false, } = config || {};\n this.delete404OK = delete404OK;\n this.entityUrl = httpUrlGenerator.entityResource(entityName, root, trailingSlashEndpoints);\n this.entitiesUrl = httpUrlGenerator.collectionResource(entityName, root);\n this.getDelay = getDelay;\n this.saveDelay = saveDelay;\n this.timeout = to;\n }\n add(entity, options) {\n const entityOrError = entity || new Error(`No \"${this.entityName}\" entity to add`);\n return this.execute('POST', this.entityUrl, entityOrError, null, options);\n }\n delete(key, options) {\n let err;\n if (key == null) {\n err = new Error(`No \"${this.entityName}\" key to delete`);\n }\n return this.execute('DELETE', this.entityUrl + key, err, null, options).pipe(\n // forward the id of deleted entity as the result of the HTTP DELETE\n map((result) => key));\n }\n getAll(options) {\n return this.execute('GET', this.entitiesUrl, null, options);\n }\n getById(key, options) {\n let err;\n if (key == null) {\n err = new Error(`No \"${this.entityName}\" key to get`);\n }\n return this.execute('GET', this.entityUrl + key, err, null, options);\n }\n getWithQuery(queryParams, options) {\n const qParams = typeof queryParams === 'string'\n ? { fromString: queryParams }\n : { fromObject: queryParams };\n const params = new HttpParams(qParams);\n return this.execute('GET', this.entitiesUrl, undefined, { params }, options);\n }\n update(update, options) {\n const id = update && update.id;\n const updateOrError = id == null\n ? new Error(`No \"${this.entityName}\" update data or id`)\n : update.changes;\n return this.execute('PUT', this.entityUrl + id, updateOrError, null, options);\n }\n // Important! Only call if the backend service supports upserts as a POST to the target URL\n upsert(entity, options) {\n const entityOrError = entity || new Error(`No \"${this.entityName}\" entity to upsert`);\n return this.execute('POST', this.entityUrl, entityOrError, null, options);\n }\n execute(method, url, data, // data, error, or undefined/null\n options, // options or undefined/null\n httpOptions // these override any options passed via options\n ) {\n let entityActionHttpClientOptions = undefined;\n if (httpOptions) {\n entityActionHttpClientOptions = {\n headers: httpOptions?.httpHeaders\n ? new HttpHeaders(httpOptions?.httpHeaders)\n : undefined,\n params: httpOptions?.httpParams\n ? new HttpParams(httpOptions?.httpParams)\n : undefined,\n };\n }\n // Now we may have:\n // options: containing headers, params, or any other allowed http options already in angular's api\n // entityActionHttpClientOptions: headers and params in angular's api\n // We therefore need to merge these so that the action ones override the\n // existing keys where applicable.\n // If any options have been specified, pass them to http client. Note\n // the new http options, if specified, will override any options passed\n // from the deprecated options parameter\n let mergedOptions = undefined;\n if (options || entityActionHttpClientOptions) {\n if (isDevMode() && options && entityActionHttpClientOptions) {\n console.warn('@ngrx/data: options.httpParams will be merged with queryParams when both are are provided to getWithQuery(). In the event of a conflict HttpOptions.httpParams will override queryParams`. The queryParams parameter of getWithQuery() will be removed in next major release.');\n }\n mergedOptions = {\n ...options,\n headers: entityActionHttpClientOptions?.headers ?? options?.headers,\n params: entityActionHttpClientOptions?.params ?? options?.params,\n };\n }\n const req = {\n method,\n url,\n data,\n options: mergedOptions,\n };\n if (data instanceof Error) {\n return this.handleError(req)(data);\n }\n let result$;\n switch (method) {\n case 'DELETE': {\n result$ = this.http.delete(url, mergedOptions);\n if (this.saveDelay) {\n result$ = result$.pipe(delay(this.saveDelay));\n }\n break;\n }\n case 'GET': {\n result$ = this.http.get(url, mergedOptions);\n if (this.getDelay) {\n result$ = result$.pipe(delay(this.getDelay));\n }\n break;\n }\n case 'POST': {\n result$ = this.http.post(url, data, mergedOptions);\n if (this.saveDelay) {\n result$ = result$.pipe(delay(this.saveDelay));\n }\n break;\n }\n // N.B.: It must return an Update<T>\n case 'PUT': {\n result$ = this.http.put(url, data, mergedOptions);\n if (this.saveDelay) {\n result$ = result$.pipe(delay(this.saveDelay));\n }\n break;\n }\n default: {\n const error = new Error('Unimplemented HTTP method, ' + method);\n result$ = throwError(error);\n }\n }\n if (this.timeout) {\n result$ = result$.pipe(timeout(this.timeout + this.saveDelay));\n }\n return result$.pipe(catchError(this.handleError(req)));\n }\n handleError(reqData) {\n return (err) => {\n const ok = this.handleDelete404(err, reqData);\n if (ok) {\n return ok;\n }\n const error = new DataServiceError(err, reqData);\n return throwError(error);\n };\n }\n handleDelete404(error, reqData) {\n if (error.status === 404 &&\n reqData.method === 'DELETE' &&\n this.delete404OK) {\n return of({});\n }\n return undefined;\n }\n}\n/**\n * Create a basic, generic entity data service\n * suitable for persistence of most entities.\n * Assumes a common REST-y web API\n */\nclass DefaultDataServiceFactory {\n constructor(http, httpUrlGenerator, config) {\n this.http = http;\n this.httpUrlGenerator = httpUrlGenerator;\n this.config = config;\n config = config || {};\n httpUrlGenerator.registerHttpResourceUrls(config.entityHttpResourceUrls);\n }\n /**\n * Create a default {EntityCollectionDataService} for the given entity type\n * @param entityName {string} Name of the entity type for this data service\n */\n create(entityName) {\n return new DefaultDataService(entityName, this.http, this.httpUrlGenerator, this.config);\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: DefaultDataServiceFactory, deps: [{ token: i1.HttpClient }, { token: HttpUrlGenerator }, { token: DefaultDataServiceConfig, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }\n /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: DefaultDataServiceFactory }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: DefaultDataServiceFactory, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HttpUrlGenerator }, { type: DefaultDataServiceConfig, decorators: [{\n type: Optional\n }] }]; } });\n\nfunction createEntityDefinition(metadata) {\n let entityName = metadata.entityName;\n if (!entityName) {\n throw new Error('Missing required entityName');\n }\n metadata.entityName = entityName = entityName.trim();\n const selectId = metadata.selectId || defaultSelectId;\n const sortComparer = (metadata.sortComparer = metadata.sortComparer || false);\n const entityAdapter = createEntityAdapter({ selectId, sortComparer });\n const entityDispatcherOptions = metadata.entityDispatcherOptions || {};\n const initialState = entityAdapter.getInitialState({\n entityName,\n filter: '',\n loaded: false,\n loading: false,\n changeState: {},\n ...(metadata.additionalCollectionState || {}),\n });\n const noChangeTracking = metadata.noChangeTracking === true; // false by default\n return {\n entityName,\n entityAdapter,\n entityDispatcherOptions,\n initialState,\n metadata,\n noChangeTracking,\n selectId,\n sortComparer,\n };\n}\n\nconst ENTITY_METADATA_TOKEN = new InjectionToken('@ngrx/data Entity Metadata');\n\n/** Registry of EntityDefinitions for all cached entity types */\nclass EntityDefinitionService {\n constructor(entityMetadataMaps) {\n /** {EntityDefinition} for all cached entity types */\n this.definitions = {};\n if (entityMetadataMaps) {\n entityMetadataMaps.forEach((map) => this.registerMetadataMap(map));\n }\n }\n /**\n * Get (or create) a data service for entity type\n * @param entityName - the name of the type\n *\n * Examples:\n * getDefinition('Hero'); // definition for Heroes, untyped\n * getDefinition<Hero>(`Hero`); // definition for Heroes, typed with Hero interface\n */\n getDefinition(entityName, shouldThrow = true) {\n entityName = entityName.trim();\n const definition = this.definitions[entityName];\n if (!definition && shouldThrow) {\n throw new Error(`No EntityDefinition for entity type \"${entityName}\".`);\n }\n return definition;\n }\n //////// Registration methods //////////\n /**\n * Create and register the {EntityDefinition} for the {EntityMetadata} of an entity type\n * @param name - the name of the entity type\n * @param definition - {EntityMetadata} for a collection for that entity type\n *\n * Examples:\n * registerMetadata(myHeroEntityDefinition);\n */\n registerMetadata(metadata) {\n if (metadata) {\n const definition = createEntityDefinition(metadata);\n this.registerDefinition(definition);\n }\n }\n /**\n * Register an EntityMetadataMap.\n * @param metadataMap - a map of entityType names to entity metadata\n *\n * Examples:\n * registerMetadataMap({\n * 'Hero': myHeroMetadata,\n * Villain: myVillainMetadata\n * });\n */\n registerMetadataMap(metadataMap = {}) {\n // The entity type name should be the same as the map key\n Object.keys(metadataMap || {}).forEach((entityName) => this.registerMetadata({ entityName, ...metadataMap[entityName] }));\n }\n /**\n * Register an {EntityDefinition} for an entity type\n * @param definition - EntityDefinition of a collection for that entity type\n *\n * Examples:\n * registerDefinition('Hero', myHeroEntityDefinition);\n */\n registerDefinition(definition) {\n this.definitions[definition.entityName] = definition;\n }\n /**\n * Register a batch of EntityDefinitions.\n * @param definitions - map of entityType name and associated EntityDefinitions to merge.\n *\n * Examples:\n * registerDefinitions({\n * 'Hero': myHeroEntityDefinition,\n * Villain: myVillainEntityDefinition\n * });\n */\n registerDefinitions(definitions) {\n Object.assign(this.definitions, definitions);\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityDefinitionService, deps: [{ token: ENTITY_METADATA_TOKEN, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }\n /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityDefinitionService }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityDefinitionService, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ENTITY_METADATA_TOKEN]\n }] }]; } });\n\nconst updateOp = ChangeSetOperation.Update;\n/**\n * Default data service for making remote service calls targeting the entire EntityCache.\n * See EntityDataService for services that target a single EntityCollection\n */\nclass EntityCacheDataService {\n constructor(entityDefinitionService, http, config) {\n this.entityDefinitionService = entityDefinitionService;\n this.http = http;\n this.idSelectors = {};\n this.saveDelay = 0;\n this.timeout = 0;\n const { saveDelay = 0, timeout: to = 0 } = config || {};\n this.saveDelay = saveDelay;\n this.timeout = to;\n }\n /**\n * Save changes to multiple entities across one or more entity collections.\n * Server endpoint must understand the essential SaveEntities protocol,\n * in particular the ChangeSet interface (except for Update<T>).\n * This implementation extracts the entity changes from a ChangeSet Update<T>[] and sends those.\n * It then reconstructs Update<T>[] in the returned observable result.\n * @param changeSet An array of SaveEntityItems.\n * Each SaveEntityItem describe a change operation for one or more entities of a single collection,\n * known by its 'entityName'.\n * @param url The server endpoint that receives this request.\n */\n saveEntities(changeSet, url) {\n changeSet = this.filterChangeSet(changeSet);\n // Assume server doesn't understand @ngrx/entity Update<T> structure;\n // Extract the entity changes from the Update<T>[] and restore on the return from server\n changeSet = this.flattenUpdates(changeSet);\n let result$ = this.http\n .post(url, changeSet)\n .pipe(map((result) => this.restoreUpdates(result)), catchError(this.handleError({ method: 'POST', url, data: changeSet })));\n if (this.timeout) {\n result$ = result$.pipe(timeout(this.timeout));\n }\n if (this.saveDelay) {\n result$ = result$.pipe(delay(this.saveDelay));\n }\n return result$;\n }\n // #region helpers\n handleError(reqData) {\n return (err) => {\n const error = new DataServiceError(err, reqData);\n return throwError(error);\n };\n }\n /**\n * Filter changeSet to remove unwanted ChangeSetItems.\n * This implementation excludes null and empty ChangeSetItems.\n * @param changeSet ChangeSet with changes to filter\n */\n filterChangeSet(changeSet) {\n return excludeEmptyChangeSetItems(changeSet);\n }\n /**\n * Convert the entities in update changes from @ngrx Update<T> structure to just T.\n * Reverse of restoreUpdates().\n */\n flattenUpdates(changeSet) {\n let changes = changeSet.changes;\n if (changes.length === 0) {\n return changeSet;\n }\n let hasMutated = false;\n changes = changes.map((item) => {\n if (item.op === updateOp && item.entities.length > 0) {\n hasMutated = true;\n return {\n ...item,\n entities: item.entities.map((u) => u.changes),\n };\n }\n else {\n return item;\n }\n });\n return hasMutated ? { ...changeSet, changes } : changeSet;\n }\n /**\n * Convert the flattened T entities in update changes back to @ngrx Update<T> structures.\n * Reverse of flattenUpdates().\n */\n restoreUpdates(changeSet) {\n if (changeSet == null) {\n // Nothing? Server probably responded with 204 - No Content because it made no changes to the inserted or updated entities\n return changeSet;\n }\n let changes = changeSet.changes;\n if (changes.length === 0) {\n return changeSet;\n }\n let hasMutated = false;\n changes = changes.map((item) => {\n if (item.op === updateOp) {\n // These are entities, not Updates; convert back to Updates\n hasMutated = true;\n const selectId = this.getIdSelector(item.entityName);\n return {\n ...item,\n entities: item.entities.map((u) => ({\n id: selectId(u),\n changes: u,\n })),\n };\n }\n else {\n return item;\n }\n });\n return hasMutated ? { ...changeSet, changes } : changeSet;\n }\n /**\n * Get the id (primary key) selector function for an entity type\n * @param entityName name of the entity type\n */\n getIdSelector(entityName) {\n let idSelector = this.idSelectors[entityName];\n if (!idSelector) {\n idSelector =\n this.entityDefinitionService.getDefinition(entityName).selectId;\n this.idSelectors[entityName] = idSelector;\n }\n return idSelector;\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityCacheDataService, deps: [{ token: EntityDefinitionService }, { token: i1.HttpClient }, { token: DefaultDataServiceConfig, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }\n /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityCacheDataService }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityCacheDataService, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: EntityDefinitionService }, { type: i1.HttpClient }, { type: DefaultDataServiceConfig, decorators: [{\n type: Optional\n }] }]; } });\n\n/**\n * Registry of EntityCollection data services that make REST-like CRUD calls\n * to entity collection endpoints.\n */\nclass EntityDataService {\n // TODO: Optionally inject specialized entity data services\n // for those that aren't derived from BaseDataService.\n constructor(defaultDataServiceFactory) {\n this.defaultDataServiceFactory = defaultDataServiceFactory;\n this.services = {};\n }\n /**\n * Get (or create) a data service for entity type\n * @param entityName - the name of the type\n *\n * Examples:\n * getService('Hero'); // data service for Heroes, untyped\n * getService<Hero>('Hero'); // data service for Heroes, typed as Hero\n */\n getService(entityName) {\n entityName = entityName.trim();\n let service = this.services[entityName];\n if (!service) {\n service = this.defaultDataServiceFactory.create(entityName);\n this.services[entityName] = service;\n }\n return service;\n }\n /**\n * Register an EntityCollectionDataService for an entity type\n * @param entityName - the name of the entity type\n * @param service - data service for that entity type\n *\n * Examples:\n * registerService('Hero', myHeroDataService);\n * registerService('Villain', myVillainDataService);\n */\n registerService(entityName, service) {\n this.services[entityName.trim()] = service;\n }\n /**\n * Register a batch of data services.\n * @param services - data services to merge into existing services\n *\n * Examples:\n * registerServices({\n * Hero: myHeroDataService,\n * Villain: myVillainDataService\n * });\n */\n registerServices(services) {\n this.services = { ...this.services, ...services };\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityDataService, deps: [{ token: DefaultDataServiceFactory }], target: i0.ɵɵFactoryTarget.Injectable }); }\n /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityDataService }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityDataService, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: DefaultDataServiceFactory }]; } });\n\n/**\n * Handling of responses from persistence operation\n */\nclass PersistenceResultHandler {\n}\n/**\n * Default handling of responses from persistence operation,\n * specifically an EntityDataService\n */\nclass DefaultPersistenceResultHandler {\n constructor(logger, entityActionFactory) {\n this.logger = logger;\n this.entityActionFactory = entityActionFactory;\n }\n /** Handle successful result of persistence operation on an EntityAction */\n handleSuccess(originalAction) {\n const successOp = makeSuccessOp(originalAction.payload.entityOp);\n return (data) => this.entityActionFactory.createFromAction(originalAction, {\n entityOp: successOp,\n data,\n });\n }\n /** Handle error result of persistence operation on an EntityAction */\n handleError(originalAction) {\n const errorOp = makeErrorOp(originalAction.payload.entityOp);\n return (err) => {\n const error = err instanceof DataServiceError ? err : new DataServiceError(err, null);\n const errorData = { error, originalAction };\n this.logger.error(errorData);\n const action = this.entityActionFactory.createFromAction(originalAction, {\n entityOp: errorOp,\n data: errorData,\n });\n return action;\n };\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: DefaultPersistenceResultHandler, deps: [{ token: Logger }, { token: EntityActionFactory }], target: i0.ɵɵFactoryTarget.Injectable }); }\n /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: DefaultPersistenceResultHandler }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: DefaultPersistenceResultHandler, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: Logger }, { type: EntityActionFactory }]; } });\n\n/**\n * Persistence operation canceled\n */\nclass PersistanceCanceled {\n constructor(message) {\n this.message = message;\n this.message = message || 'Canceled by user';\n }\n}\n\n/**\n * Generates a string id beginning 'CRID',\n * followed by a monotonically increasing integer for use as a correlation id.\n * As they are produced locally by a singleton service,\n * these ids are guaranteed to be unique only\n * for the duration of a single client browser instance.\n * Ngrx entity dispatcher query and save methods call this service to generate default correlation ids.\n * Do NOT use for entity keys.\n */\nclass CorrelationIdGenerator {\n constructor() {\n /** Seed for the ids */\n this.seed = 0;\n /** Prefix of the id, 'CRID; */\n this.prefix = 'CRID';\n }\n /** Return the next correlation id */\n next() {\n this.seed += 1;\n return this.prefix + this.seed;\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CorrelationIdGenerator, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CorrelationIdGenerator }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CorrelationIdGenerator, decorators: [{\n type: Injectable\n }] });\n\n/**\n * Default options for EntityDispatcher behavior\n * such as whether `add()` is optimistic or pessimistic by default.\n * An optimistic save modifies the collection immediately and before saving to the server.\n * A pessimistic save modifies the collection after the server confirms the save was successful.\n * This class initializes the defaults to the safest values.\n * Provide an alternative to change the defaults for all entity collections.\n */\nclass EntityDispatcherDefaultOptions {\n constructor() {\n /** True if added entities are saved optimistically; false if saved pessimistically. */\n this.optimisticAdd = false;\n /** True if deleted entities are saved optimistically; false if saved pessimistically. */\n this.optimisticDelete = true;\n /** True if updated entities are saved optimistically; false if saved pessimistically. */\n this.optimisticUpdate = false;\n /** True if upsert entities are saved optimistically; false if saved pessimistically. */\n this.optimisticUpsert = false;\n /** True if entities in a cache saveEntities request are saved optimistically; false if saved pessimistically. */\n this.optimisticSaveEntities = false;\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityDispatcherDefaultOptions, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityDispatcherDefaultOptions }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityDispatcherDefaultOptions, decorators: [{\n type: Injectable\n }] });\n\n/**\n * Dispatches Entity Cache actions to the EntityCache reducer\n */\nclass EntityCacheDispatcher {\n constructor(\n /** Generates correlation ids for query and save methods */\n correlationIdGenerator, \n /**\n * Dispatcher options configure dispatcher behavior such as\n * whether add is optimistic or pessimistic by default.\n */\n defaultDispatcherOptions, \n /** Actions scanned by the store after it processed them with reducers. */\n scannedActions$, \n /** The store, scoped to the EntityCache */\n store) {\n this.correlationIdGenerator = correlationIdGenerator;\n this.defaultDispatcherOptions = defaultDispatcherOptions;\n this.store = store;\n // Replay because sometimes in tests will fake data service with synchronous observable\n // which makes subscriber miss the dispatched actions.\n // Of course that's a testing mistake. But easy to forget, leading to painful debugging.\n this.reducedActions$ = scannedActions$.pipe(shareReplay(1));\n // Start listening so late subscriber won't miss the most recent action.\n this.raSubscription = this.reducedActions$.subscribe();\n }\n /**\n * Dispatch an Action to the store.\n * @param action the Action\n * @returns the dispatched Action\n */\n dispatch(action) {\n this.store.dispatch(action);\n return action;\n }\n /**\n * Dispatch action to cancel the saveEntities request with matching correlation id.\n * @param correlationId The correlation id for the corresponding action\n * @param [reason] explains why canceled and by whom.\n * @param [entityNames] array of entity names so can turn off loading flag for their collections.\n * @param [tag] tag to identify the operation from the app perspective.\n */\n cancelSaveEntities(correlationId, reason, entityNames, tag) {\n if (!correlationId) {\n throw new Error('Missing correlationId');\n }\n const action = new SaveEntitiesCancel(correlationId, reason, entityNames, tag);\n this.dispatch(action);\n }\n /** Clear the named entity collections in cache\n * @param [collections] Array of names of the collections to clear.\n * If empty array, does nothing. If null/undefined/no array, clear all collections.\n * @param [tag] tag to identify the operation from the app perspective.\n */\n clearCollections(collections, tag) {\n this.dispatch(new ClearCollections(collections, tag));\n }\n /**\n * Load multiple entity collections at the same time.\n * before any selectors$ observables emit.\n * @param collections The collections to load, typically the result of a query.\n * @param [tag] tag to identify the operation from the app perspective.\n * in the form of a map of entity collections.\n */\n loadCollections(collections, tag) {\n this.dispatch(new LoadCollections(collections, tag));\n }\n /**\n * Merges entities from a query result\n * that returned entities from multiple collections.\n * Corresponding entity cache reducer should add and update all collections\n * at the same time, before any selectors$ observables emit.\n * @param querySet The result of the query in the form of a map of entity collections.\n * These are the entity data to merge into the respective collections.\n * @param mergeStrategy How to merge a queried entity when it is already in the collection.\n * The default is MergeStrategy.PreserveChanges\n * @param [tag] tag to identify the operation from the app perspective.\n */\n mergeQuerySet(querySet, mergeStrategy, tag) {\n this.dispatch(new MergeQuerySet(querySet, mergeStrategy, tag));\n }\n /**\n * Create entity cache action for replacing the entire entity cache.\n * Dangerous because brute force but useful as when re-hydrating an EntityCache\n * from local browser storage when the application launches.\n * @param cache New state of the entity cache\n * @param [tag] tag to identify the operation from the app perspective.\n */\n setEntityCache(cache, tag) {\n this.dispatch(new SetEntityCache(cache, tag));\n }\n /**\n * Dispatch action to save multiple entity changes to remote storage.\n * Relies on an Ngrx Effect such as EntityEffects.saveEntities$.\n * Important: only call if your server supports the SaveEntities protocol\n * through your EntityDataService.saveEntities method.\n * @param changes Either the entities to save, as an array of {ChangeSetItem}, or\n * a ChangeSet that holds such changes.\n * @param url The server url which receives the save request\n * @param [options] options such as tag, correlationId, isOptimistic, and mergeStrategy.\n * These values are defaulted if not supplied.\n * @returns A terminating Observable<ChangeSet> with data returned from the server\n * after server reports successful save OR the save error.\n * TODO: should return the matching entities from cache rather than the raw server data.\n */\n saveEntities(changes, url, options) {\n const changeSet = Array.isArray(changes) ? { changes } : changes;\n options = options || {};\n const correlationId = options.correlationId == null\n ? this.correlationIdGenerator.next()\n : options.correlationId;\n const isOptimistic = options.isOptimistic == null\n ? this.defaultDispatcherOptions.optimisticSaveEntities || false\n : options.isOptimistic === true;\n const tag = options.tag || 'Save Entities';\n options = { ...options, correlationId, isOptimistic, tag };\n const action = new SaveEntities(changeSet, url, options);\n this.dispatch(action);\n return this.getSaveEntitiesResponseData$(options.correlationId).pipe(shareReplay(1));\n }\n /**\n * Return Observable of data from the server-success SaveEntities action with\n * the given Correlation Id, after that action was processed by the ngrx store.\n * or else put the server error on the Observable error channel.\n * @param crid The correlationId for both the save and response actions.\n */\n getSaveEntitiesResponseData$(crid) {\n /**\n * reducedActions$ must be replay observable of the most recent action reduced by the store.\n * because the response action might have been dispatched to the store\n * before caller had a chance to subscribe.\n */\n return this.reducedActions$.pipe(filter((act) => act.type === EntityCacheAction.SAVE_ENTITIES_SUCCESS ||\n act.type === EntityCacheAction.SAVE_ENTITIES_ERROR ||\n act.type === EntityCacheAction.SAVE_ENTITIES_CANCEL), filter((act) => crid === act.payload.correlationId), take(1), mergeMap((act) => {\n return act.type === EntityCacheAction.SAVE_ENTITIES_CANCEL\n ? throwError(new PersistanceCanceled(act.payload.reason))\n : act.type === EntityCacheAction.SAVE_ENTITIES_SUCCESS\n ? of(act.payload.changeSet)\n : throwError(act.payload);\n }));\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityCacheDispatcher, deps: [{ token: CorrelationIdGenerator }, { token: EntityDispatcherDefaultOptions }, { token: ScannedActionsSubject }, { token: i3.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }\n /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityCacheDispatcher }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityCacheDispatcher, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: CorrelationIdGenerator }, { type: EntityDispatcherDefaultOptions }, { type: i4.Observable, decorators: [{\n type: Inject,\n args: [ScannedActionsSubject]\n }] }, { type: i3.Store }]; } });\n\n/**\n * Dispatches EntityCollection actions to their reducers and effects (default implementation).\n * All save commands rely on an Ngrx Effect such as `EntityEffects.persist$`.\n */\nclass EntityDispatcherBase {\n constructor(\n /** Name of the entity type for which entities are dispatched */\n entityName, \n /** Creates an {EntityAction} */\n entityActionFactory, \n /** The store, scoped to the EntityCache */\n store, \n /** Returns the primary key (id) of this entity */\n selectId = defaultSelectId, \n /**\n * Dispatcher options configure dispatcher behavior such as\n * whether add is optimistic or pessimistic by default.\n */\n defaultDispatcherOptions, \n /** Actions scanned by the store after it processed them with reducers. */\n reducedActions$, \n /** Store selector for the EntityCache */\n entityCacheSelector, \n /** Generates correlation ids for query and save methods */\n correlationIdGenerator) {\n this.entityName = entityName;\n this.entityActionFactory = entityActionFactory;\n this.store = store;\n this.selectId = selectId;\n this.defaultDispatcherOptions = defaultDispatcherOptions;\n this.reducedActions$ = reducedActions$;\n this.correlationIdGenerator = correlationIdGenerator;\n this.guard = new EntityActionGuard(entityName, selectId);\n this.toUpdate = toUpdateFactory(selectId);\n const collectionSelector = createSelector(entityCacheSelector, (cache) => cache[entityName]);\n this.entityCollection$ = store.select(collectionSelector);\n }\n /**\n * Create an {EntityAction} for this entity type.\n * @param entityOp {EntityOp} the entity operation\n * @param [data] the action data\n * @param [options] additional options\n * @returns the EntityAction\n */\n createEntityAction(entityOp, data, options) {\n return this.entityActionFactory.create({\n entityName: this.entityName,\n entityOp,\n data,\n ...options,\n });\n }\n /**\n * Create an {EntityAction} for this entity type and\n * dispatch it immediately to the store.\n * @param op {EntityOp} the entity operation\n * @param [data] the action data\n * @param [options] additional options\n * @returns the dispatched EntityAction\n */\n createAndDispatch(op, data, options) {\n const action = this.createEntityAction(op, data, options);\n this.dispatch(action);\n return action;\n }\n /**\n * Dispatch an Action to the store.\n * @param action the Action\n * @returns the dispatched Action\n */\n dispatch(action) {\n this.store.dispatch(action);\n return action;\n }\n // #region Query and save operations\n /**\n * Dispatch action to save a new entity to remote storage.\n * @param entity entity to add, which may omit its key if pessimistic and the server creates the key;\n * must have a key if optimistic save.\n * @returns A terminating Observable of the entity\n * after server reports successful save or the save error.\n */\n add(entity, options) {\n options = this.setSaveEntityActionOptions(options, this.defaultDispatcherOptions.optimisticAdd);\n const action = this.createEntityAction(EntityOp.SAVE_ADD_ONE, entity, options);\n if (options.isOptimistic) {\n this.guard.mustBeEntity(action);\n }\n this.dispatch(action);\n return this.getResponseData$(options.correlationId).pipe(\n // Use the returned entity data's id to get the entity from the collection\n // as it might be different from the entity returned from the server.\n withLatestFrom(this.entityCollection$), map(([e, collection]) => collection.entities[this.selectId(e)]), shareReplay(1));\n }\n /**\n * Dispatch action to cancel the persistence operation (query or save).\n * Will cause save observable to error with a PersistenceCancel error.\n * Caller is responsible for undoing changes in cache from pending optimistic save\n * @param correlationId The correlation id for the corresponding EntityAction\n * @param [reason] explains why canceled and by whom.\n */\n cancel(correlationId, reason, options) {\n if (!correlationId) {\n throw new Error('Missing correlationId');\n }\n this.createAndDispatch(EntityOp.CANCEL_PERSIST, reason, { correlationId });\n }\n delete(arg, options) {\n options = this.setSaveEntityActionOptions(options, this.defaultDispatcherOptions.optimisticDelete);\n const key = this.getKey(arg);\n const action = this.createEntityAction(EntityOp.SAVE_DELETE_ONE, key, options);\n this.guard.mustBeKey(action);\n this.dispatch(action);\n return this.getResponseData$(options.correlationId).pipe(map(() => key), shareReplay(1));\n }\n /**\n * Dispatch action to query remote storage for all entities and\n * merge the queried entities into the cached collection.\n * @returns A terminating Observable of the queried entities that are in the collection\n * after server reports success query or the query error.\n * @see load()\n */\n getAll(options) {\n options = this.setQueryEntityActionOptions(options);\n const action = this.createEntityAction(EntityOp.QUERY_ALL, null, options);\n this.dispatch(action);\n return this.getResponseData$(options.correlationId).pipe(\n // Use the returned entity ids to get the entities from the collection\n // as they might be different from the entities returned from the server\n // because of unsaved changes (deletes or updates).\n withLatestFrom(this.entityCollection$), map(([entities, collection]) => entities.reduce((acc, e) => {\n const entity = collection.entities[this.selectId(e)];\n if (entity) {\n acc.push(entity); // only return an entity found in the collection\n }\n return acc;\n }, [])), shareReplay(1));\n }\n /**\n * Dispatch action to query remote storage for the entity with this primary key.\n * If the server returns an entity,\n * merge it into the cached collection.\n * @returns A terminating Observable of the collection\n * after server reports successful query or the query error.\n */\n getByKey(key, options) {\n options = this.setQueryEntityActionOptions(options);\n const action = this.createEntityAction(EntityOp.QUERY_BY_KEY, key, options);\n this.dispatch(action);\n return this.getResponseData$(options.correlationId).pipe(\n // Use the returned entity data's id to get the entity from the collection\n // as it might be different from the entity returned from the server.\n withLatestFrom(this.entityCollection$), map(([entity, collection]) => collection.entities[this.selectId(entity)]), shareReplay(1));\n }\n /**\n * Dispatch action to query remote storage for the entities that satisfy a query expressed\n * with either a query parameter map or an HTTP URL query string,\n * and merge the results into the cached collection.\n * @param queryParams the query in a form understood by the server\n * @returns A terminating Observable of the queried entities\n * after server reports successful query or the query error.\n */\n getWithQuery(queryParams, options) {\n options = this.setQueryEntityActionOptions(options);\n const action = this.createEntityAction(EntityOp.QUERY_MANY, queryParams, options);\n this.dispatch(action);\n return this.getResponseData$(options.correlationId).pipe(\n // Use the returned entity ids to get the entities from the collection\n // as they might be different from the entities returned from the server\n // because of unsaved changes (deletes or updates).\n withLatestFrom(this.entityCollection$), map(([entities, collection]) => entities.reduce((acc, e) => {\n const entity = collection.entities[this.selectId(e)];\n if (entity) {\n acc.push(entity); // only return an entity found in the collection\n }\n return acc;\n }, [])), shareReplay(1));\n }\n /**\n * Dispatch action to query remote storage for all entities and\n * completely replace the cached collection with the queried entities.\n * @returns A terminating Observable of the entities in the collection\n * after server reports successful query or the query error.\n * @see getAll\n */\n load(options) {\n options = this.setQueryEntityActionOptions(options);\n const action = this.createEntityAction(EntityOp.QUERY_LOAD, null, options);\n this.dispatch(action);\n return this.getResponseData$(options.correlationId).pipe(shareReplay(1));\n }\n /**\n * Dispatch action to query remote storage for the entities that satisfy a query expressed\n * with either a query parameter map or an HTTP URL query string,\n * and completely replace the cached collection with the queried entities.\n * @param queryParams the query in a form understood by the server\n * @param [options] options that influence load behavior\n * @returns A terminating Observable of the queried entities\n * after server reports successful query or the query error.\n */\n loadWithQuery(queryParams, options) {\n options = this.setQueryEntityActionOptions(options);\n const action = this.createEntityAction(EntityOp.QUERY_MANY, queryParams, options);\n this.dispatch(action);\n return this.getResponseData$(options.correlationId).pipe(shareReplay(1));\n }\n /**\n * Dispatch action to save the updated entity (or partial entity) in remote storage.\n * The update entity may be partial (but must have its key)\n * in which case it patches the existing entity.\n * @param entity update entity, which might be a partial of T but must at least have its key.\n * @returns A terminating Observable of the updated entity\n * after server reports successful save or the save error.\n */\n update(entity, options) {\n // update entity might be a partial of T but must at least have its key.\n // pass the Update<T> structure as the payload\n const update = this.toUpdate(entity);\n options = this.setSaveEntityActionOptions(options, this.defaultDispatcherOptions.optimisticUpdate);\n const action = this.createEntityAction(EntityOp.SAVE_UPDATE_ONE, update, options);\n if (options.isOptimistic) {\n this.guard.mustBeUpdate(action);\n }\n this.dispatch(action);\n return this.getResponseData$(options.correlationId).pipe(\n // Use the update entity data id to get the entity from the collection\n // as might be different from the entity returned from the server\n // because the id changed or there are unsaved changes.\n map((updateData) => updateData.changes), withLatestFrom(this.entityCollection$), map(([e, collection]) => collection.entities[this.selectId(e)]), shareReplay(1));\n }\n /**\n * Dispatch action to save a new or existing entity to remote storage.\n * Only dispatch this action if your server supports upsert.\n * @param entity entity to add, which may omit its key if pessimistic and the server creates the key;\n * must have a key if optimistic save.\n * @returns A terminating Observable of the entity\n * after server reports successful save or the save error.\n */\n upsert(entity, options) {\n options = this.setSaveEntityActionOptions(options, this.defaultDispatcherOptions.optimisticUpsert);\n const action = this.createEntityAction(EntityOp.SAVE_UPSERT_ONE, entity, options);\n if (options.isOptimistic) {\n this.guard.mustBeEntity(action);\n }\n this.dispatch(action);\n return this.getResponseData$(options.correlationId).pipe(\n // Use the returned entity data's id to get the entity from the collection\n // as it might be different from the entity returned from the server.\n withLatestFrom(this.entityCollection$), map(([e, collection]) => collection.entities[this.selectId(e)]), shareReplay(1));\n }\n // #endregion Query and save operations\n // #region Cache-only operations that do not update remote storage\n // Unguarded for performance.\n // EntityCollectionReducer<T> runs a guard (which throws)\n // Developer should understand cache-only methods well enough\n // to call them with the proper entities.\n // May reconsider and add guards in future.\n /**\n * Replace all entities in the cached collection.\n * Does not save to remote storage.\n */\n addAllToCache(entities, options) {\n this.createAndDispatch(EntityOp.ADD_ALL, entities, options);\n }\n /**\n * Add a new entity directly to the cache.\n * Does not save to remote storage.\n * Ignored if an entity with the same primary key is already in cache.\n */\n addOneToCache(entity, options) {\n this.createAndDispatch(EntityOp.ADD_ONE, entity, options);\n }\n /**\n * Add multiple new entities directly to the cache.\n * Does not save to remote storage.\n * Entities with primary keys already in cache are ignored.\n */\n addManyToCache(entities, options) {\n this.createAndDispatch(EntityOp.ADD_MANY, entities, options);\n }\n /** Clear the cached entity collection */\n clearCache(options) {\n this.createAndDispatch(EntityOp.REMOVE_ALL, undefined, options);\n }\n removeOneFromCache(arg, options) {\n this.createAndDispatch(EntityOp.REMOVE_ONE, this.getKey(arg), options);\n }\n removeManyFromCache(args, options) {\n if (!args || args.length === 0) {\n return;\n }\n const keys = typeof args[0] === 'object'\n ? // if array[0] is a key, assume they're all keys\n args.map((arg) => this.getKey(arg))\n : args;\n this.createAndDispatch(EntityOp.REMOVE_MANY, keys, options);\n }\n /**\n * Update a cached entity directly.\n * Does not update that entity in remote storage.\n * Ignored if an entity with matching primary key is not in cache.\n * The update entity may be partial (but must have its key)\n * in which case it patches the existing entity.\n */\n updateOneInCache(entity, options) {\n // update entity might be a partial of T but must at least have its key.\n // pass the Update<T> structure as the payload\n const update = this.toUpdate(entity);\n this.createAndDispatch(EntityOp.UPDATE_ONE, update, options);\n }\n /**\n * Update multiple cached entities directly.\n * Does not update these entities in remote storage.\n * Entities whose primary keys are not in cache are ignored.\n * Update entities may be partial but must at least have their keys.\n * such partial entities patch their cached counterparts.\n */\n updateManyInCache(entities, options) {\n if (!entities || entities.length === 0) {\n return;\n }\n const updates = entities.map((entity) => this.toUpdate(entity));\n this.createAndDispatch(EntityOp.UPDATE_MANY, updates, options);\n }\n /**\n * Add or update a new entity directly to the cache.\n * Does not save to remote storage.\n * Upsert entity might be a partial of T but must at least have its key.\n * Pass the Update<T> structure as the payload\n */\n upsertOneInCache(entity, options) {\n this.createAndDispatch(EntityOp.UPSERT_ONE, entity, options);\n }\n /**\n * Add or update multiple cached entities directly.\n * Does not save to remote storage.\n */\n upsertManyInCache(entities, options) {\n if (!entities || entities.length === 0) {\n return;\n }\n this.createAndDispatch(EntityOp.UPSERT_MANY, entities, options);\n }\n /**\n * Set the pattern that the collection's filter applies\n * when using the `filteredEntities` selector.\n */\n setFilter(pattern) {\n this.createAndDispatch(EntityOp.SET_FILTER, pattern);\n }\n /** Set the loaded flag */\n setLoaded(isLoaded) {\n this.createAndDispatch(EntityOp.SET_LOADED, !!isLoaded);\n }\n /** Set the loading flag */\n setLoading(isLoading) {\n this.createAndDispatch(EntityOp.SET_LOADING, !!isLoading);\n }\n // #endregion Cache-only operations that do not update remote storage\n // #region private helpers\n /** Get key from entity (unless arg is already a key) */\n getKey(arg) {\n return typeof arg === 'object'\n ? this.selectId(arg)\n : arg;\n }\n /**\n * Return Observable of data from the server-success EntityAction with\n * the given Correlation Id, after that action was processed by the ngrx store.\n * or else put the server error on the Observable error channel.\n * @param crid The correlationId for both the save and response actions.\n */\n getResponseData$(crid) {\n /**\n * reducedActions$ must be replay observable of the most recent action reduced by the store.\n * because the response action might have been dispatched to the store\n * before caller had a chance to subscribe.\n */\n return this.reducedActions$.pipe(filter((act) => !!act.payload), filter((act) => {\n const { correlationId, entityName, entityOp } = act.payload;\n return (entityName === this.entityName &&\n correlationId === crid &&\n (entityOp.endsWith(OP_SUCCESS) ||\n entityOp.endsWith(OP_ERROR) ||\n entityOp === EntityOp.CANCEL_PERSIST));\n }), take(1), mergeMap((act) => {\n const { entityOp } = act.payload;\n return entityOp === EntityOp.CANCEL_PERSIST\n ? throwError(new PersistanceCanceled(act.payload.data))\n : entityOp.endsWith(OP_SUCCESS)\n ? of(act.payload.data)\n : throwError(act.payload.data.error);\n }));\n }\n setQueryEntityActionOptions(options) {\n options = options || {};\n const correlationId = options.correlationId == null\n ? this.correlationIdGenerator.next()\n : options.correlationId;\n return { ...options, correlationId };\n }\n setSaveEntityActionOptions(options, defaultOptimism) {\n options = options || {};\n const correlationId = options.correlationId == null\n ? this.correlationIdGenerator.next()\n : options.correlationId;\n const isOptimistic = options.isOptimistic == null\n ? defaultOptimism || false\n : options.isOptimistic === true;\n return { ...options, correlationId, isOptimistic };\n }\n}\n\nconst ENTITY_CACHE_NAME = 'entityCache';\nconst ENTITY_CACHE_NAME_TOKEN = new InjectionToken('@ngrx/data Entity Cache Name');\nconst ENTITY_CACHE_META_REDUCERS = new InjectionToken('@ngrx/data Entity Cache Meta Reducers');\nconst ENTITY_COLLECTION_META_REDUCERS = new InjectionToken('@ngrx/data Entity Collection Meta Reducers');\nconst INITIAL_ENTITY_CACHE_STATE = new InjectionToken('@ngrx/data Initial Entity Cache State');\n\nconst ENTITY_CACHE_SELECTOR_TOKEN = new InjectionToken('@ngrx/data Entity Cache Selector');\nconst entityCacheSelectorProvider = {\n provide: ENTITY_CACHE_SELECTOR_TOKEN,\n useFactory: createEntityCacheSelector,\n deps: [[new Optional(), ENTITY_CACHE_NAME_TOKEN]],\n};\nfunction createEntityCacheSelector(entityCacheName) {\n entityCacheName = entityCacheName || ENTITY_CACHE_NAME;\n return createFeatureSelector(entityCacheName);\n}\n\n/** Creates EntityDispatchers for entity collections */\nclass EntityDispatcherFactory {\n constructor(entityActionFactory, store, entityDispatcherDefaultOptions, scannedActions$, entityCacheSelector, correlationIdGenerator) {\n this.entityActionFactory = entityActionFactory;\n this.store = store;\n this.entityDispatcherDefaultOptions = entityDispatcherDefaultOptions;\n this.entityCacheSelector = entityCacheSelector;\n this.correlationIdGenerator = correlationIdGenerator;\n // Replay because sometimes in tests will fake data service with synchronous observable\n // which makes subscriber miss the dispatched actions.\n // Of course that's a testing mistake. But easy to forget, leading to painful debugging.\n this.reducedActions$ = scannedActions$.pipe(shareReplay(1));\n // Start listening so late subscriber won't miss the most recent action.\n this.raSubscription = this.reducedActions$.subscribe();\n }\n /**\n * Create an `EntityDispatcher` for an entity type `T` and store.\n */\n create(\n /** Name of the entity type */\n entityName, \n /**\n * Function that returns the primary key for an entity `T`.\n * Usually acquired from `EntityDefinition` metadata.\n * @param {IdSelector<T>} selectId\n */\n selectId = defaultSelectId, \n /** Defaults for options that influence dispatcher behavior such as whether\n * `add()` is optimistic or pessimistic;\n * @param {Partial<EntityDispatcherDefaultOptions>} defaultOptions\n */\n defaultOptions = {}) {\n // merge w/ defaultOptions with injected defaults\n const options = {\n ...this.entityDispatcherDefaultOptions,\n ...defaultOptions,\n };\n return new EntityDispatcherBase(entityName, this.entityActionFactory, this.store, selectId, options, this.reducedActions$, this.entityCacheSelector, this.correlationIdGenerator);\n }\n ngOnDestroy() {\n this.raSubscription.unsubscribe();\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityDispatcherFactory, deps: [{ token: EntityActionFactory }, { token: i3.Store }, { token: EntityDispatcherDefaultOptions }, { token: ScannedActionsSubject }, { token: ENTITY_CACHE_SELECTOR_TOKEN }, { token: CorrelationIdGenerator }], target: i0.ɵɵFactoryTarget.Injectable }); }\n /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityDispatcherFactory }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityDispatcherFactory, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: EntityActionFactory }, { type: i3.Store }, { type: EntityDispatcherDefaultOptions }, { type: i4.Observable, decorators: [{\n type: Inject,\n args: [ScannedActionsSubject]\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [ENTITY_CACHE_SELECTOR_TOKEN]\n }] }, { type: CorrelationIdGenerator }]; } });\n\n// See https://github.com/ReactiveX/rxjs/blob/master/doc/marble-testing.md\n/** Token to inject a special RxJS Scheduler during marble tests. */\nconst ENTITY_EFFECTS_SCHEDULER = new InjectionToken('@ngrx/data Entity Effects Scheduler');\n\nclass EntityCacheEffects {\n constructor(actions, dataService, entityActionFactory, logger, \n /**\n * Injecting an optional Scheduler that will be undefined\n * in normal application usage, but its injected here so that you can mock out\n * during testing using the RxJS TestScheduler for simulating passages of time.\n */\n scheduler) {\n this.actions = actions;\n this.dataService = dataService;\n this.entityActionFactory = entityActionFactory;\n this.logger = logger;\n this.scheduler = scheduler;\n // See https://github.com/ReactiveX/rxjs/blob/master/doc/marble-testing.md\n /** Delay for error and skip observables. Must be multiple of 10 for marble testing. */\n this.responseDelay = 10;\n /**\n * Observable of SAVE_ENTITIES_CANCEL actions with non-null correlation ids\n */\n this.saveEntitiesCancel$ = createEffect(() => this.actions.pipe(ofType(EntityCacheAction.SAVE_ENTITIES_CANCEL), filter((a) => a.payload.correlationId != null)), { dispatch: false });\n // Concurrent persistence requests considered unsafe.\n // `mergeMap` allows for concurrent requests which may return in any order\n this.saveEntities$ = createEffect(() => this.actions.pipe(ofType(EntityCacheAction.SAVE_ENTITIES), mergeMap((action) => this.saveEntities(action))));\n }\n /**\n * Perform the requested SaveEntities actions and return a scalar Observable<Action>\n * that the effect should dispatch to the store after the server responds.\n * @param action The SaveEntities action\n */\n saveEntities(action) {\n const error = action.payload.error;\n if (error) {\n return this.handleSaveEntitiesError$(action)(error);\n }\n try {\n const changeSet = excludeEmptyChangeSetItems(action.payload.changeSet);\n const { correlationId, mergeStrategy, tag, url } = action.payload;\n const options = { correlationId, mergeStrategy, tag };\n if (changeSet.changes.length === 0) {\n // nothing to save\n return of(new SaveEntitiesSuccess(changeSet, url, options));\n }\n // Cancellation: returns Observable<SaveEntitiesCanceled> for a saveEntities action\n // whose correlationId matches the cancellation correlationId\n const c = this.saveEntitiesCancel$.pipe(filter((a) => correlationId === a.payload.correlationId), map((a) => new SaveEntitiesCanceled(correlationId, a.payload.reason, a.payload.tag)));\n // Data: SaveEntities result as a SaveEntitiesSuccess action\n const d = this.dataService.saveEntities(changeSet, url).pipe(concatMap((result) => this.handleSaveEntitiesSuccess$(action, this.entityActionFactory)(result)), catchError(this.handleSaveEntitiesError$(action)));\n // Emit which ever gets there first; the other observable is terminated.\n return race(c, d);\n }\n catch (err) {\n return this.handleSaveEntitiesError$(action)(err);\n }\n }\n /** return handler of error result of saveEntities, returning a scalar observable of error action */\n handleSaveEntitiesError$(action) {\n // Although error may return immediately,\n // ensure observable takes some time,\n // as app likely assumes asynchronous response.\n return (err) => {\n const error = err instanceof DataServiceError ? err : new DataServiceError(err, null);\n return of(new SaveEntitiesError(error, action)).pipe(delay(this.responseDelay, this.scheduler || asyncScheduler));\n };\n }\n /** return handler of the ChangeSet result of successful saveEntities() */\n handleSaveEntitiesSuccess$(action, entityActionFactory) {\n const { url, correlationId, mergeStrategy, tag } = action.payload;\n const options = { correlationId, mergeStrategy, tag };\n return (changeSet) => {\n // DataService returned a ChangeSet with possible updates to the saved entities\n if (changeSet) {\n return of(new SaveEntitiesSuccess(changeSet, url, options));\n }\n // No ChangeSet = Server probably responded '204 - No Content' because\n // it made no changes to the inserted/updated entities.\n // Respond with success action best on the ChangeSet in the request.\n changeSet = action.payload.changeSet;\n // If pessimistic save, return success action with the original ChangeSet\n if (!action.payload.isOptimistic) {\n return of(new SaveEntitiesSuccess(changeSet, url, options));\n }\n // If optimistic save, avoid cache grinding by just turning off the loading flags\n // for all collections in the original ChangeSet\n const entityNames = changeSet.changes.reduce((acc, item) => acc.indexOf(item.entityName) === -1\n ? acc.concat(item.entityName)\n : acc, []);\n return merge(entityNames.map((name) => entityActionFactory.create(name, EntityOp.SET_LOADING, false)));\n };\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityCacheEffects, deps: [{ token: i1$1.Actions }, { token: EntityCacheDataService }, { token: EntityActionFactory }, { token: Logger }, { token: ENTITY_EFFECTS_SCHEDULER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }\n /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityCacheEffects }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityCacheEffects, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: i1$1.Actions }, { type: EntityCacheDataService }, { type: EntityActionFactory }, { type: Logger }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ENTITY_EFFECTS_SCHEDULER]\n }] }]; } });\n\nconst persistOps = [\n EntityOp.QUERY_ALL,\n EntityOp.QUERY_LOAD,\n EntityOp.QUERY_BY_KEY,\n EntityOp.QUERY_MANY,\n EntityOp.SAVE_ADD_ONE,\n EntityOp.SAVE_DELETE_ONE,\n EntityOp.SAVE_UPDATE_ONE,\n EntityOp.SAVE_UPSERT_ONE,\n];\nclass EntityEffects {\n constructor(actions, dataService, entityActionFactory, resultHandler, \n /**\n * Injecting an optional Scheduler that will be undefined\n * in normal application usage, but its injected here so that you can mock out\n * during testing using the RxJS TestScheduler for simulating passages of time.\n */\n scheduler) {\n this.actions = actions;\n this.dataService = dataService;\n this.entityActionFactory = entityActionFactory;\n this.resultHandler = resultHandler;\n this.scheduler = scheduler;\n // See https://github.com/ReactiveX/rxjs/blob/master/doc/marble-testing.md\n /** Delay for error and skip observables. Must be multiple of 10 for marble testing. */\n this.responseDelay = 10;\n /**\n * Observable of non-null cancellation correlation ids from CANCEL_PERSIST actions\n */\n this.cancel$ = createEffect(() => this.actions.pipe(ofEntityOp(EntityOp.CANCEL_PERSIST), map((action) => action.payload.correlationId), filter((id) => id != null)), { dispatch: false });\n // `mergeMap` allows for concurrent requests which may return in any order\n this.persist$ = createEffect(() => this.actions.pipe(ofEntityOp(persistOps), mergeMap((action) => this.persist(action))));\n }\n /**\n * Perform the requested persistence operation and return a scalar Observable<Action>\n * that the effect should dispatch to the store after the server responds.\n * @param action A persistence operation EntityAction\n */\n persist(action) {\n if (action.payload.skip) {\n // Should not persist. Pretend it succeeded.\n return this.handleSkipSuccess$(action);\n }\n if (action.payload.error) {\n return this.handleError$(action)(action.payload.error);\n }\n try {\n // Cancellation: returns Observable of CANCELED_PERSIST for a persistence EntityAction\n // whose correlationId matches cancellation correlationId\n const c = this.cancel$.pipe(filter((id) => action.payload.correlationId === id), map((id) => this.entityActionFactory.createFromAction(action, {\n entityOp: EntityOp.CANCELED_PERSIST,\n })));\n // Data: entity collection DataService result as a successful persistence EntityAction\n const d = this.callDataService(action).pipe(map(this.resultHandler.handleSuccess(action)), catchError(this.handleError$(action)));\n // Emit which ever gets there first; the other observable is terminated.\n return race(c, d);\n }\n catch (err) {\n return this.handleError$(action)(err);\n }\n }\n callDataService(action) {\n const { entityName, entityOp, data, httpOptions } = action.payload;\n const service = this.dataService.getService(entityName);\n switch (entityOp) {\n case EntityOp.QUERY_ALL:\n case EntityOp.QUERY_LOAD:\n return service.getAll(httpOptions);\n case EntityOp.QUERY_BY_KEY:\n return service.getById(data, httpOptions);\n case EntityOp.QUERY_MANY:\n return service.getWithQuery(data, httpOptions);\n case EntityOp.SAVE_ADD_ONE:\n return service.add(data, httpOptions);\n case EntityOp.SAVE_DELETE_ONE:\n return service.delete(data, httpOptions);\n case EntityOp.SAVE_UPDATE_ONE:\n const { id, changes } = data; // data must be Update<T>\n return service.update(data, httpOptions).pipe(map((updatedEntity) => {\n // Return an Update<T> with updated entity data.\n // If server returned entity data, merge with the changes that were sent\n // and set the 'changed' flag to true.\n // If server did not return entity data,\n // assume it made no additional changes of its own, return the original changes,\n // and set the `changed` flag to `false`.\n const hasData = updatedEntity && Object.keys(updatedEntity).length > 0;\n const responseData = hasData\n ? { id, changes: { ...changes, ...updatedEntity }, changed: true }\n : { id, changes, changed: false };\n return responseData;\n }));\n case EntityOp.SAVE_UPSERT_ONE:\n return service.upsert(data, httpOptions).pipe(map((upsertedEntity) => {\n const hasData = upsertedEntity && Object.keys(upsertedEntity).length > 0;\n return hasData ? upsertedEntity : data; // ensure a returned entity value.\n }));\n default:\n throw new Error(`Persistence action \"${entityOp}\" is not implemented.`);\n }\n }\n /**\n * Handle error result of persistence operation on an EntityAction,\n * returning a scalar observable of error action\n */\n handleError$(action) {\n // Although error may return immediately,\n // ensure observable takes some time,\n // as app likely assumes asynchronous response.\n return (error) => of(this.resultHandler.handleError(action)(error)).pipe(delay(this.responseDelay, this.scheduler || asyncScheduler));\n }\n /**\n * Because EntityAction.payload.skip is true, skip the persistence step and\n * return a scalar success action that looks like the operation succeeded.\n */\n handleSkipSuccess$(originalAction) {\n const successOp = makeSuccessOp(originalAction.payload.entityOp);\n const successAction = this.entityActionFactory.createFromAction(originalAction, {\n entityOp: successOp,\n });\n // Although returns immediately,\n // ensure observable takes one tick (by using a promise),\n // as app likely assumes asynchronous response.\n return of(successAction).pipe(delay(this.responseDelay, this.scheduler || asyncScheduler));\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityEffects, deps: [{ token: i1$1.Actions }, { token: EntityDataService }, { token: EntityActionFactory }, { token: PersistenceResultHandler }, { token: ENTITY_EFFECTS_SCHEDULER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }\n /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityEffects }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityEffects, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: i1$1.Actions }, { type: EntityDataService }, { type: EntityActionFactory }, { type: PersistenceResultHandler }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ENTITY_EFFECTS_SCHEDULER]\n }] }]; } });\n\n/**\n * Creates an {EntityFilterFn} that matches RegExp or RegExp string pattern\n * anywhere in any of the given props of an entity.\n * If pattern is a string, spaces are significant and ignores case.\n */\nfunction PropsFilterFnFactory(props = []) {\n if (props.length === 0) {\n // No properties -> nothing could match -> return unfiltered\n return (entities, pattern) => entities;\n }\n return (entities, pattern) => {\n if (!entities) {\n return [];\n }\n const regExp = typeof pattern === 'string' ? new RegExp(pattern, 'i') : pattern;\n if (regExp) {\n const predicate = (e) => props.some((prop) => regExp.test(e[prop]));\n return entities.filter(predicate);\n }\n return entities;\n };\n}\n\n/**\n * Base class for a concrete EntityCollectionService<T>.\n * Can be instantiated. Cannot be injected. Use EntityCollectionServiceFactory to create.\n * @param EntityCollectionServiceElements The ingredients for this service\n * as a source of supporting services for creating an EntityCollectionService<T> instance.\n */\nclass EntityCollectionServiceBase {\n constructor(\n /** Name of the entity type of this collection service */\n entityName, \n /** Creates the core elements of the EntityCollectionService for this entity type */\n serviceElementsFactory) {\n this.entityName = entityName;\n entityName = entityName.trim();\n const { dispatcher, selectors, selectors$ } = serviceElementsFactory.create(entityName);\n this.entityName = entityName;\n this.dispatcher = dispatcher;\n this.guard = dispatcher.guard;\n this.selectId = dispatcher.selectId;\n this.toUpdate = dispatcher.toUpdate;\n this.selectors = selectors;\n this.selectors$ = selectors$;\n this.collection$ = selectors$.collection$;\n this.count$ = selectors$.count$;\n this.entities$ = selectors$.entities$;\n this.entityActions$ = selectors$.entityActions$;\n this.entityMap$ = selectors$.entityMap$;\n this.errors$ = selectors$.errors$;\n this.filter$ = selectors$.filter$;\n this.filteredEntities$ = selectors$.filteredEntities$;\n this.keys$ = selectors$.keys$;\n this.loaded$ = selectors$.loaded$;\n this.loading$ = selectors$.loading$;\n this.changeState$ = selectors$.changeState$;\n }\n /**\n * Create an {EntityAction} for this entity type.\n * @param op {EntityOp} the entity operation\n * @param [data] the action data\n * @param [options] additional options\n * @returns the EntityAction\n */\n createEntityAction(op, data, options) {\n return this.dispatcher.createEntityAction(op, data, options);\n }\n /**\n * Create an {EntityAction} for this entity type and\n * dispatch it immediately to the store.\n * @param op {EntityOp} the entity operation\n * @param [data] the action data\n * @param [options] additional options\n * @returns the dispatched EntityAction\n */\n createAndDispatch(op, data, options) {\n return this.dispatcher.createAndDispatch(op, data, options);\n }\n /**\n * Dispatch an action of any type to the ngrx store.\n * @param action the Action\n * @returns the dispatched Action\n */\n dispatch(action) {\n return this.dispatcher.dispatch(action);\n }\n /** The NgRx Store for the {EntityCache} */\n get store() {\n return this.dispatcher.store;\n }\n add(entity, options) {\n return this.dispatcher.add(entity, options);\n }\n /**\n * Dispatch action to cancel the persistence operation (query or save) with the given correlationId.\n * @param correlationId The correlation id for the corresponding EntityAction\n * @param [reason] explains why canceled and by whom.\n * @param [options] options such as the tag and mergeStrategy\n */\n cancel(correlationId, reason, options) {\n this.dispatcher.cancel(correlationId, reason, options);\n }\n delete(arg, options) {\n return this.dispatcher.delete(arg, options);\n }\n /**\n * Dispatch action to query remote storage for all entities and\n * merge the queried entities into the cached collection.\n * @param [options] options that influence merge behavior\n * @returns Observable of the collection\n * after server reports successful query or the query error.\n * @see load()\n */\n getAll(options) {\n return this.dispatcher.getAll(options);\n }\n /**\n * Dispatch action to query remote storage for the entity with this primary key.\n * If the server returns an entity,\n * merge it into the cached collection.\n * @param key The primary key of the entity to get.\n * @param [options] options that influence merge behavior\n * @returns Observable of the queried entity that is in the collection\n * after server reports success or the query error.\n */\n getByKey(key, options) {\n return this.dispatcher.getByKey(key, options);\n }\n /**\n * Dispatch action to query remote storage for the entities that satisfy a query expressed\n * with either a query parameter map or an HTTP URL query string,\n * and merge the results into the cached collection.\n * @param queryParams the query in a form understood by the server\n * @param [options] options that influence merge behavior\n * @returns Observable of the queried entities\n * after server reports successful query or the query error.\n */\n getWithQuery(queryParams, options) {\n return this.dispatcher.getWithQuery(queryParams, options);\n }\n /**\n * Dispatch action to query remote storage for all entities and\n * completely replace the cached collection with the queried entities.\n * @param [options] options that influence load behavior\n * @returns Observable of the collection\n * after server reports successful query or the query error.\n * @see getAll\n */\n load(options) {\n return this.dispatcher.load(options);\n }\n /**\n * Dispatch action to query remote storage for the entities that satisfy a query expressed\n * with either a query parameter map or an HTTP URL query string,\n * and completely replace the cached collection with the queried entities.\n * @param queryParams the query in a form understood by the server\n * @param [options] options that influence load behavior\n * @returns Observable of the queried entities\n * after server reports successful query or the query error.\n */\n loadWithQuery(queryParams, options) {\n return this.dispatcher.loadWithQuery(queryParams, options);\n }\n /**\n * Dispatch action to save the updated entity (or partial entity) in remote storage.\n * The update entity may be partial (but must have its key)\n * in which case it patches the existing entity.\n * @param entity update entity, which might be a partial of T but must at least have its key.\n * @param [options] options that influence save and merge behavior\n * @returns Observable of the updated entity\n * after server reports successful save or the save error.\n */\n update(entity, options) {\n return this.dispatcher.update(entity, options);\n }\n /**\n * Dispatch action to save a new or existing entity to remote storage.\n * Call only if the server supports upsert.\n * @param entity entity to add or upsert.\n * It may omit its key if an add, and is pessimistic, and the server creates the key;\n * must have a key if optimistic save.\n * @param [options] options that influence save and merge behavior\n * @returns Observable of the entity\n * after server reports successful save or the save error.\n */\n upsert(entity, options) {\n return this.dispatcher.upsert(entity, options);\n }\n /*** Cache-only operations that do not update remote storage ***/\n /**\n * Replace all entities in the cached collection.\n * Does not save to remote storage.\n * @param entities to add directly to cache.\n * @param [options] options such as mergeStrategy\n */\n addAllToCache(entities, options) {\n this.dispatcher.addAllToCache(entities, options);\n }\n /**\n * Add a new entity directly to the cache.\n * Does not save to remote storage.\n * Ignored if an entity with the same primary key is already in cache.\n * @param entity to add directly to cache.\n * @param [options] options such as mergeStrategy\n */\n addOneToCache(entity, options) {\n this.dispatcher.addOneToCache(entity, options);\n }\n /**\n * Add multiple new entities directly to the cache.\n * Does not save to remote storage.\n * Entities with primary keys already in cache are ignored.\n * @param entities to add directly to cache.\n * @param [options] options such as mergeStrategy\n */\n addManyToCache(entities, options) {\n this.dispatcher.addManyToCache(entities, options);\n }\n /** Clear the cached entity collection */\n clearCache() {\n this.dispatcher.clearCache();\n }\n removeOneFromCache(arg, options) {\n this.dispatcher.removeOneFromCache(arg, options);\n }\n removeManyFromCache(args, options) {\n this.dispatcher.removeManyFromCache(args, options);\n }\n /**\n * Update a cached entity directly.\n * Does not update that entity in remote storage.\n * Ignored if an entity with matching primary key is not in cache.\n * The update entity may be partial (but must have its key)\n * in which case it patches the existing entity.\n * @param entity to update directly in cache.\n * @param [options] options such as mergeStrategy\n */\n updateOneInCache(entity, options) {\n // update entity might be a partial of T but must at least have its key.\n // pass the Update<T> structure as the payload\n this.dispatcher.updateOneInCache(entity, options);\n }\n /**\n * Update multiple cached entities directly.\n * Does not update these entities in remote storage.\n * Entities whose primary keys are not in cache are ignored.\n * Update entities may be partial but must at least have their keys.\n * such partial entities patch their cached counterparts.\n * @param entities to update directly in cache.\n * @param [options] options such as mergeStrategy\n */\n updateManyInCache(entities, options) {\n this.dispatcher.updateManyInCache(entities, options);\n }\n /**\n * Insert or update a cached entity directly.\n * Does not save to remote storage.\n * Upsert entity might be a partial of T but must at least have its key.\n * Pass the Update<T> structure as the payload.\n * @param entity to upsert directly in cache.\n * @param [options] options such as mergeStrategy\n */\n upsertOneInCache(entity, options) {\n this.dispatcher.upsertOneInCache(entity, options);\n }\n /**\n * Insert or update multiple cached entities directly.\n * Does not save to remote storage.\n * Upsert entities might be partial but must at least have their keys.\n * Pass an array of the Update<T> structure as the payload.\n * @param entities to upsert directly in cache.\n * @param [options] options such as mergeStrategy\n */\n upsertManyInCache(entities, options) {\n this.dispatcher.upsertManyInCache(entities, options);\n }\n /**\n * Set the pattern that the collection's filter applies\n * when using the `filteredEntities` selector.\n */\n setFilter(pattern) {\n this.dispatcher.setFilter(pattern);\n }\n /** Set the loaded flag */\n setLoaded(isLoaded) {\n this.dispatcher.setLoaded(!!isLoaded);\n }\n /** Set the loading flag */\n setLoading(isLoading) {\n this.dispatcher.setLoading(!!isLoading);\n }\n}\n\nclass EntityCollectionCreator {\n constructor(entityDefinitionService) {\n this.entityDefinitionService = entityDefinitionService;\n }\n /**\n * Create the default collection for an entity type.\n * @param entityName {string} entity type name\n */\n create(entityName) {\n const def = this.entityDefinitionService &&\n this.entityDefinitionService.getDefinition(entityName, false /*shouldThrow*/);\n const initialState = def && def.initialState;\n return (initialState || createEmptyEntityCollection(entityName));\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityCollectionCreator, deps: [{ token: EntityDefinitionService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }\n /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityCollectionCreator }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityCollectionCreator, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: EntityDefinitionService, decorators: [{\n type: Optional\n }] }]; } });\nfunction createEmptyEntityCollection(entityName) {\n return {\n entityName,\n ids: [],\n entities: {},\n filter: undefined,\n loaded: false,\n loading: false,\n changeState: {},\n };\n}\n\n/** Creates EntitySelector functions for entity collections. */\nclass EntitySelectorsFactory {\n constructor(entityCollectionCreator, selectEntityCache) {\n this.entityCollectionCreator =\n entityCollectionCreator || new EntityCollectionCreator();\n this.selectEntityCache =\n selectEntityCache || createEntityCacheSelector(ENTITY_CACHE_NAME);\n }\n /**\n * Create the NgRx selector from the store root to the named collection,\n * e.g. from Object to Heroes.\n * @param entityName the name of the collection\n */\n createCollectionSelector(entityName) {\n const getCollection = (cache = {}) => ((cache[entityName] ||\n this.entityCollectionCreator.create(entityName)));\n return createSelector(this.selectEntityCache, getCollection);\n }\n // createCollectionSelectors implementation\n createCollectionSelectors(metadataOrName) {\n const metadata = typeof metadataOrName === 'string'\n ? { entityName: metadataOrName }\n : metadataOrName;\n const selectKeys = (c) => c.ids;\n const selectEntityMap = (c) => c.entities;\n const selectEntities = createSelector(selectKeys, selectEntityMap, (keys, entities) => keys.map((key) => entities[key]));\n const selectCount = createSelector(selectKeys, (keys) => keys.length);\n // EntityCollection selectors that go beyond the ngrx/entity/EntityState selectors\n const selectFilter = (c) => c.filter;\n const filterFn = metadata.filterFn;\n const selectFilteredEntities = filterFn\n ? createSelector(selectEntities, selectFilter, (entities, pattern) => filterFn(entities, pattern))\n : selectEntities;\n const selectLoaded = (c) => c.loaded;\n const selectLoading = (c) => c.loading;\n const selectChangeState = (c) => c.changeState;\n // Create collection selectors for each `additionalCollectionState` property.\n // These all extend from `selectCollection`\n const extra = metadata.additionalCollectionState || {};\n const extraSelectors = {};\n Object.keys(extra).forEach((k) => {\n extraSelectors['select' + k[0].toUpperCase() + k.slice(1)] = (c) => c[k];\n });\n return {\n selectCount,\n selectEntities,\n selectEntityMap,\n selectFilter,\n selectFilteredEntities,\n selectKeys,\n selectLoaded,\n selectLoading,\n selectChangeState,\n ...extraSelectors,\n };\n }\n // createCollectionSelectors implementation\n create(metadataOrName) {\n const metadata = typeof metadataOrName === 'string'\n ? { entityName: metadataOrName }\n : metadataOrName;\n const entityName = metadata.entityName;\n const selectCollection = this.createCollectionSelector(entityName);\n const collectionSelectors = this.createCollectionSelectors(metadata);\n const entitySelectors = {};\n Object.keys(collectionSelectors).forEach((k) => {\n entitySelectors[k] = createSelector(selectCollection, collectionSelectors[k]);\n });\n return {\n entityName,\n selectCollection,\n selectEntityCache: this.selectEntityCache,\n ...entitySelectors,\n };\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntitySelectorsFactory, deps: [{ token: EntityCollectionCreator, optional: true }, { token: ENTITY_CACHE_SELECTOR_TOKEN, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }\n /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntitySelectorsFactory }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntitySelectorsFactory, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: EntityCollectionCreator, decorators: [{\n type: Optional\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ENTITY_CACHE_SELECTOR_TOKEN]\n }] }]; } });\n\n/** Creates observable EntitySelectors$ for entity collections. */\nclass EntitySelectors$Factory {\n constructor(store, actions, selectEntityCache) {\n this.store = store;\n this.actions = actions;\n this.selectEntityCache = selectEntityCache;\n // This service applies to the cache in ngrx/store named `cacheName`\n this.entityCache$ = this.store.select(this.selectEntityCache);\n this.entityActionErrors$ = actions.pipe(filter((ea) => ea.payload &&\n ea.payload.entityOp &&\n ea.payload.entityOp.endsWith(OP_ERROR)), shareReplay(1));\n }\n /**\n * Creates an entity collection's selectors$ observables for this factory's store.\n * `selectors$` are observable selectors of the cached entity collection.\n * @param entityName - is also the name of the collection.\n * @param selectors - selector functions for this collection.\n **/\n create(entityName, selectors) {\n const selectors$ = {\n entityName,\n };\n Object.keys(selectors).forEach((name) => {\n if (name.startsWith('select')) {\n // strip 'select' prefix from the selector fn name and append `$`\n // Ex: 'selectEntities' => 'entities$'\n const name$ = name[6].toLowerCase() + name.substring(7) + '$';\n selectors$[name$] = this.store.select(selectors[name]);\n }\n });\n selectors$['entityActions$'] = this.actions.pipe(ofEntityType(entityName));\n selectors$['errors$'] = this.entityActionErrors$.pipe(ofEntityType(entityName));\n return selectors$;\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntitySelectors$Factory, deps: [{ token: i3.Store }, { token: i1$1.Actions }, { token: ENTITY_CACHE_SELECTOR_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable }); }\n /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntitySelectors$Factory }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntitySelectors$Factory, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: i3.Store }, { type: i1$1.Actions }, { type: undefined, decorators: [{\n type: Inject,\n args: [ENTITY_CACHE_SELECTOR_TOKEN]\n }] }]; } });\n\n/** Creates the core elements of the EntityCollectionService for an entity type. */\nclass EntityCollectionServiceElementsFactory {\n constructor(entityDispatcherFactory, entityDefinitionService, entitySelectorsFactory, entitySelectors$Factory) {\n this.entityDispatcherFactory = entityDispatcherFactory;\n this.entityDefinitionService = entityDefinitionService;\n this.entitySelectorsFactory = entitySelectorsFactory;\n this.entitySelectors$Factory = entitySelectors$Factory;\n }\n /**\n * Get the ingredients for making an EntityCollectionService for this entity type\n * @param entityName - name of the entity type\n */\n create(entityName) {\n entityName = entityName.trim();\n const definition = this.entityDefinitionService.getDefinition(entityName);\n const dispatcher = this.entityDispatcherFactory.create(entityName, definition.selectId, definition.entityDispatcherOptions);\n const selectors = this.entitySelectorsFactory.create(definition.metadata);\n const selectors$ = this.entitySelectors$Factory.create(entityName, selectors);\n return {\n dispatcher,\n entityName,\n selectors,\n selectors$,\n };\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityCollectionServiceElementsFactory, deps: [{ token: EntityDispatcherFactory }, { token: EntityDefinitionService }, { token: EntitySelectorsFactory }, { token: EntitySelectors$Factory }], target: i0.ɵɵFactoryTarget.Injectable }); }\n /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityCollectionServiceElementsFactory }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityCollectionServiceElementsFactory, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: EntityDispatcherFactory }, { type: EntityDefinitionService }, { type: EntitySelectorsFactory }, { type: EntitySelectors$Factory }]; } });\n\n/**\n * Creates EntityCollectionService instances for\n * a cached collection of T entities in the ngrx store.\n */\nclass EntityCollectionServiceFactory {\n constructor(\n /** Creates the core elements of the EntityCollectionService for an entity type. */\n entityCollectionServiceElementsFactory) {\n this.entityCollectionServiceElementsFactory = entityCollectionServiceElementsFactory;\n }\n /**\n * Create an EntityCollectionService for an entity type\n * @param entityName - name of the entity type\n */\n create(entityName) {\n return new EntityCollectionServiceBase(entityName, this.entityCollectionServiceElementsFactory);\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityCollectionServiceFactory, deps: [{ token: EntityCollectionServiceElementsFactory }], target: i0.ɵɵFactoryTarget.Injectable }); }\n /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityCollectionServiceFactory }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityCollectionServiceFactory, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: EntityCollectionServiceElementsFactory }]; } });\n\n/** Core ingredients of an EntityServices class */\nclass EntityServicesElements {\n constructor(\n /**\n * Creates EntityCollectionService instances for\n * a cached collection of T entities in the ngrx store.\n */\n entityCollectionServiceFactory, \n /** Creates EntityDispatchers for entity collections */\n entityDispatcherFactory, \n /** Creates observable EntitySelectors$ for entity collections. */\n entitySelectors$Factory, \n /** The ngrx store, scoped to the EntityCache */\n store) {\n this.entityCollectionServiceFactory = entityCollectionServiceFactory;\n this.store = store;\n this.entityActionErrors$ = entitySelectors$Factory.entityActionErrors$;\n this.entityCache$ = entitySelectors$Factory.entityCache$;\n this.reducedActions$ = entityDispatcherFactory.reducedActions$;\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityServicesElements, deps: [{ token: EntityCollectionServiceFactory }, { token: EntityDispatcherFactory }, { token: EntitySelectors$Factory }, { token: i3.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }\n /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityServicesElements }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityServicesElements, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: EntityCollectionServiceFactory }, { type: EntityDispatcherFactory }, { type: EntitySelectors$Factory }, { type: i3.Store }]; } });\n\n/**\n * Base/default class of a central registry of EntityCollectionServices for all entity types.\n * Create your own subclass to add app-specific members for an improved developer experience.\n *\n * @usageNotes\n * ```ts\n * export class EntityServices extends EntityServicesBase {\n * constructor(entityServicesElements: EntityServicesElements) {\n * super(entityServicesElements);\n * }\n * // Extend with well-known, app entity collection services\n * // Convenience property to return a typed custom entity collection service\n * get companyService() {\n * return this.getEntityCollectionService<Model.Company>('Company') as CompanyService;\n * }\n * // Convenience dispatch methods\n * clearCompany(companyId: string) {\n * this.dispatch(new ClearCompanyAction(companyId));\n * }\n * }\n * ```\n */\nclass EntityServicesBase {\n // Dear @ngrx/data developer: think hard before changing the constructor.\n // Doing so will break apps that derive from this base class,\n // and many apps will derive from this class.\n //\n // Do not give this constructor an implementation.\n // Doing so makes it hard to mock classes that derive from this class.\n // Use getter properties instead. For example, see entityCache$\n constructor(entityServicesElements) {\n this.entityServicesElements = entityServicesElements;\n /** Registry of EntityCollectionService instances */\n this.EntityCollectionServices = {};\n }\n // #region EntityServicesElement-based properties\n /** Observable of error EntityActions (e.g. QUERY_ALL_ERROR) for all entity types */\n get entityActionErrors$() {\n return this.entityServicesElements.entityActionErrors$;\n }\n /** Observable of the entire entity cache */\n get entityCache$() {\n return this.entityServicesElements.entityCache$;\n }\n /** Factory to create a default instance of an EntityCollectionService */\n get entityCollectionServiceFactory() {\n return this.entityServicesElements.entityCollectionServiceFactory;\n }\n /**\n * Actions scanned by the store after it processed them with reducers.\n * A replay observable of the most recent action reduced by the store.\n */\n get reducedActions$() {\n return this.entityServicesElements.reducedActions$;\n }\n /** The ngrx store, scoped to the EntityCache */\n get store() {\n return this.entityServicesElements.store;\n }\n // #endregion EntityServicesElement-based properties\n /** Dispatch any action to the store */\n dispatch(action) {\n this.store.dispatch(action);\n }\n /**\n * Create a new default instance of an EntityCollectionService.\n * Prefer getEntityCollectionService() unless you really want a new default instance.\n * This one will NOT be registered with EntityServices!\n * @param entityName {string} Name of the entity type of the service\n */\n createEntityCollectionService(entityName) {\n return this.entityCollectionServiceFactory.create(entityName);\n }\n /** Get (or create) the singleton instance of an EntityCollectionService\n * @param entityName {string} Name of the entity type of the service\n */\n getEntityCollectionService(entityName) {\n let service = this.EntityCollectionServices[entityName];\n if (!service) {\n service = this.createEntityCollectionService(entityName);\n this.EntityCollectionServices[entityName] = service;\n }\n return service;\n }\n /** Register an EntityCollectionService under its entity type name.\n * Will replace a pre-existing service for that type.\n * @param service {EntityCollectionService} The entity service\n * @param serviceName {string} optional service name to use instead of the service's entityName\n */\n registerEntityCollectionService(service, serviceName) {\n this.EntityCollectionServices[serviceName || service.entityName] = service;\n }\n /**\n * Register entity services for several entity types at once.\n * Will replace a pre-existing service for that type.\n * @param entityCollectionServices {EntityCollectionServiceMap | EntityCollectionService<any>[]}\n * EntityCollectionServices to register, either as a map or an array\n */\n registerEntityCollectionServices(entityCollectionServices) {\n if (Array.isArray(entityCollectionServices)) {\n entityCollectionServices.forEach((service) => this.registerEntityCollectionService(service));\n }\n else {\n Object.keys(entityCollectionServices || {}).forEach((serviceName) => {\n this.registerEntityCollectionService(entityCollectionServices[serviceName], serviceName);\n });\n }\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityServicesBase, deps: [{ token: EntityServicesElements }], target: i0.ɵɵFactoryTarget.Injectable }); }\n /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityServicesBase }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityServicesBase, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: EntityServicesElements }]; } });\n\n/**\n * Class-Interface for EntityCache and EntityCollection services.\n * Serves as an Angular provider token for this service class.\n * Includes a registry of EntityCollectionServices for all entity types.\n * Creates a new default EntityCollectionService for any entity type not in the registry.\n * Optionally register specialized EntityCollectionServices for individual types\n */\nclass EntityServices {\n}\n\n/** Types of change in a ChangeState instance */\nvar ChangeType;\n(function (ChangeType) {\n /** The entity has not changed from its last known server state. */\n ChangeType[ChangeType[\"Unchanged\"] = 0] = \"Unchanged\";\n /** The entity was added to the collection */\n ChangeType[ChangeType[\"Added\"] = 1] = \"Added\";\n /** The entity is scheduled for delete and was removed from the collection */\n ChangeType[ChangeType[\"Deleted\"] = 2] = \"Deleted\";\n /** The entity in the collection was updated */\n ChangeType[ChangeType[\"Updated\"] = 3] = \"Updated\";\n})(ChangeType || (ChangeType = {}));\n\n/**\n * The default implementation of EntityChangeTracker with\n * methods for tracking, committing, and reverting/undoing unsaved entity changes.\n * Used by EntityCollectionReducerMethods which should call tracker methods BEFORE modifying the collection.\n * See EntityChangeTracker docs.\n */\nclass EntityChangeTrackerBase {\n constructor(adapter, selectId) {\n this.adapter = adapter;\n this.selectId = selectId;\n /** Extract the primary key (id); default to `id` */\n this.selectId = selectId || defaultSelectId;\n }\n // #region commit methods\n /**\n * Commit all changes as when the collection has been completely reloaded from the server.\n * Harmless when there are no entity changes to commit.\n * @param collection The entity collection\n */\n commitAll(collection) {\n return Object.keys(collection.changeState).length === 0\n ? collection\n : { ...collection, changeState: {} };\n }\n /**\n * Commit changes for the given entities as when they have been refreshed from the server.\n * Harmless when there are no entity changes to commit.\n * @param entityOrIdList The entities to clear tracking or their ids.\n * @param collection The entity collection\n */\n commitMany(entityOrIdList, collection) {\n if (entityOrIdList == null || entityOrIdList.length === 0) {\n return collection; // nothing to commit\n }\n let didMutate = false;\n const changeState = entityOrIdList.reduce((chgState, entityOrId) => {\n const id = typeof entityOrId === 'object'\n ? this.selectId(entityOrId)\n : entityOrId;\n if (chgState[id]) {\n if (!didMutate) {\n chgState = { ...chgState };\n didMutate = true;\n }\n delete chgState[id];\n }\n return chgState;\n }, collection.changeState);\n return didMutate ? { ...collection, changeState } : collection;\n }\n /**\n * Commit changes for the given entity as when it have been refreshed from the server.\n * Harmless when no entity changes to commit.\n * @param entityOrId The entity to clear tracking or its id.\n * @param collection The entity collection\n */\n commitOne(entityOrId, collection) {\n return entityOrId == null\n ? collection\n : this.commitMany([entityOrId], collection);\n }\n // #endregion commit methods\n // #region merge query\n /**\n * Merge query results into the collection, adjusting the ChangeState per the mergeStrategy.\n * @param entities Entities returned from querying the server.\n * @param collection The entity collection\n * @param [mergeStrategy] How to merge a queried entity when the corresponding entity in the collection has an unsaved change.\n * Defaults to MergeStrategy.PreserveChanges.\n * @returns The merged EntityCollection.\n */\n mergeQueryResults(entities, collection, mergeStrategy) {\n return this.mergeServerUpserts(entities, collection, MergeStrategy.PreserveChanges, mergeStrategy);\n }\n // #endregion merge query results\n // #region merge save results\n /**\n * Merge result of saving new entities into the collection, adjusting the ChangeState per the mergeStrategy.\n * The default is MergeStrategy.OverwriteChanges.\n * @param entities Entities returned from saving new entities to the server.\n * @param collection The entity collection\n * @param [mergeStrategy] How to merge a saved entity when the corresponding entity in the collection has an unsaved change.\n * Defaults to MergeStrategy.OverwriteChanges.\n * @returns The merged EntityCollection.\n */\n mergeSaveAdds(entities, collection, mergeStrategy) {\n return this.mergeServerUpserts(entities, collection, MergeStrategy.OverwriteChanges, mergeStrategy);\n }\n /**\n * Merge successful result of deleting entities on the server that have the given primary keys\n * Clears the entity changeState for those keys unless the MergeStrategy is ignoreChanges.\n * @param entities keys primary keys of the entities to remove/delete.\n * @param collection The entity collection\n * @param [mergeStrategy] How to adjust change tracking when the corresponding entity in the collection has an unsaved change.\n * Defaults to MergeStrategy.OverwriteChanges.\n * @returns The merged EntityCollection.\n */\n mergeSaveDeletes(keys, collection, mergeStrategy) {\n mergeStrategy =\n mergeStrategy == null ? MergeStrategy.OverwriteChanges : mergeStrategy;\n // same logic for all non-ignore merge strategies: always clear (commit) the changes\n const deleteIds = keys; // make TypeScript happy\n collection =\n mergeStrategy === MergeStrategy.IgnoreChanges\n ? collection\n : this.commitMany(deleteIds, collection);\n return this.adapter.removeMany(deleteIds, collection);\n }\n /**\n * Merge result of saving updated entities into the collection, adjusting the ChangeState per the mergeStrategy.\n * The default is MergeStrategy.OverwriteChanges.\n * @param updateResponseData Entity response data returned from saving updated entities to the server.\n * @param collection The entity collection\n * @param [mergeStrategy] How to merge a saved entity when the corresponding entity in the collection has an unsaved change.\n * Defaults to MergeStrategy.OverwriteChanges.\n * @param [skipUnchanged] True means skip update if server didn't change it. False by default.\n * If the update was optimistic and the server didn't make more changes of its own\n * then the updates are already in the collection and shouldn't make them again.\n * @returns The merged EntityCollection.\n */\n mergeSaveUpdates(updateResponseData, collection, mergeStrategy, skipUnchanged = false) {\n if (updateResponseData == null || updateResponseData.length === 0) {\n return collection; // nothing to merge.\n }\n let didMutate = false;\n let changeState = collection.changeState;\n mergeStrategy =\n mergeStrategy == null ? MergeStrategy.OverwriteChanges : mergeStrategy;\n let updates;\n switch (mergeStrategy) {\n case MergeStrategy.IgnoreChanges:\n updates = filterChanged(updateResponseData);\n return this.adapter.updateMany(updates, collection);\n case MergeStrategy.OverwriteChanges:\n changeState = updateResponseData.reduce((chgState, update) => {\n const oldId = update.id;\n const change = chgState[oldId];\n if (change) {\n if (!didMutate) {\n chgState = { ...chgState };\n didMutate = true;\n }\n delete chgState[oldId];\n }\n return chgState;\n }, collection.changeState);\n collection = didMutate ? { ...collection, changeState } : collection;\n updates = filterChanged(updateResponseData);\n return this.adapter.updateMany(updates, collection);\n case MergeStrategy.PreserveChanges: {\n const updateableEntities = [];\n changeState = updateResponseData.reduce((chgState, update) => {\n const oldId = update.id;\n const change = chgState[oldId];\n if (change) {\n // Tracking a change so update original value but not the current value\n if (!didMutate) {\n chgState = { ...chgState };\n didMutate = true;\n }\n const newId = this.selectId(update.changes);\n const oldChangeState = change;\n // If the server changed the id, register the new \"originalValue\" under the new id\n // and remove the change tracked under the old id.\n if (newId !== oldId) {\n delete chgState[oldId];\n }\n const newOrigValue = {\n ...oldChangeState.originalValue,\n ...update.changes,\n };\n chgState[newId] = {\n ...oldChangeState,\n originalValue: newOrigValue,\n };\n }\n else {\n updateableEntities.push(update);\n }\n return chgState;\n }, collection.changeState);\n collection = didMutate ? { ...collection, changeState } : collection;\n updates = filterChanged(updateableEntities);\n return this.adapter.updateMany(updates, collection);\n }\n }\n /**\n * Conditionally keep only those updates that have additional server changes.\n * (e.g., for optimistic saves because they updates are already in the current collection)\n * Strip off the `changed` property.\n * @responseData Entity response data from server.\n * May be an UpdateResponseData<T>, a subclass of Update<T> with a 'changed' flag.\n * @returns Update<T> (without the changed flag)\n */\n function filterChanged(responseData) {\n if (skipUnchanged === true) {\n // keep only those updates that the server changed (knowable if is UpdateResponseData<T>)\n responseData = responseData.filter((r) => r.changed === true);\n }\n // Strip unchanged property from responseData, leaving just the pure Update<T>\n // TODO: Remove? probably not necessary as the Update isn't stored and adapter will ignore `changed`.\n return responseData.map((r) => ({ id: r.id, changes: r.changes }));\n }\n }\n /**\n * Merge result of saving upserted entities into the collection, adjusting the ChangeState per the mergeStrategy.\n * The default is MergeStrategy.OverwriteChanges.\n * @param entities Entities returned from saving upserts to the server.\n * @param collection The entity collection\n * @param [mergeStrategy] How to merge a saved entity when the corresponding entity in the collection has an unsaved change.\n * Defaults to MergeStrategy.OverwriteChanges.\n * @returns The merged EntityCollection.\n */\n mergeSaveUpserts(entities, collection, mergeStrategy) {\n return this.mergeServerUpserts(entities, collection, MergeStrategy.OverwriteChanges, mergeStrategy);\n }\n // #endregion merge save results\n // #region query & save helpers\n /**\n *\n * @param entities Entities to merge\n * @param collection Collection into which entities are merged\n * @param defaultMergeStrategy How to merge when action's MergeStrategy is unspecified\n * @param [mergeStrategy] The action's MergeStrategy\n */\n mergeServerUpserts(entities, collection, defaultMergeStrategy, mergeStrategy) {\n if (entities == null || entities.length === 0) {\n return collection; // nothing to merge.\n }\n let didMutate = false;\n let changeState = collection.changeState;\n mergeStrategy =\n mergeStrategy == null ? defaultMergeStrategy : mergeStrategy;\n switch (mergeStrategy) {\n case MergeStrategy.IgnoreChanges:\n return this.adapter.upsertMany(entities, collection);\n case MergeStrategy.OverwriteChanges:\n collection = this.adapter.upsertMany(entities, collection);\n changeState = entities.reduce((chgState, entity) => {\n const id = this.selectId(entity);\n const change = chgState[id];\n if (change) {\n if (!didMutate) {\n chgState = { ...chgState };\n didMutate = true;\n }\n delete chgState[id];\n }\n return chgState;\n }, collection.changeState);\n return didMutate ? { ...collection, changeState } : collection;\n case MergeStrategy.PreserveChanges: {\n const upsertEntities = [];\n changeState = entities.reduce((chgState, entity) => {\n const id = this.selectId(entity);\n const change = chgState[id];\n if (change) {\n if (!didMutate) {\n chgState = {\n ...chgState,\n [id]: {\n ...chgState[id],\n originalValue: entity,\n },\n };\n didMutate = true;\n }\n }\n else {\n upsertEntities.push(entity);\n }\n return chgState;\n }, collection.changeState);\n collection = this.adapter.upsertMany(upsertEntities, collection);\n return didMutate ? { ...collection, changeState } : collection;\n }\n }\n }\n // #endregion query & save helpers\n // #region track methods\n /**\n * Track multiple entities before adding them to the collection.\n * Does NOT add to the collection (the reducer's job).\n * @param entities The entities to add. They must all have their ids.\n * @param collection The entity collection\n * @param [mergeStrategy] Track by default. Don't track if is MergeStrategy.IgnoreChanges.\n */\n trackAddMany(entities, collection, mergeStrategy) {\n if (mergeStrategy === MergeStrategy.IgnoreChanges ||\n entities == null ||\n entities.length === 0) {\n return collection; // nothing to track\n }\n let didMutate = false;\n const changeState = entities.reduce((chgState, entity) => {\n const id = this.selectId(entity);\n if (id == null || id === '') {\n throw new Error(`${collection.entityName} entity add requires a key to be tracked`);\n }\n const trackedChange = chgState[id];\n if (!trackedChange) {\n if (!didMutate) {\n didMutate = true;\n chgState = { ...chgState };\n }\n chgState[id] = { changeType: ChangeType.Added };\n }\n return chgState;\n }, collection.changeState);\n return didMutate ? { ...collection, changeState } : collection;\n }\n /**\n * Track an entity before adding it to the collection.\n * Does NOT add to the collection (the reducer's job).\n * @param entity The entity to add. It must have an id.\n * @param collection The entity collection\n * @param [mergeStrategy] Track by default. Don't track if is MergeStrategy.IgnoreChanges.\n * If not specified, implementation supplies a default strategy.\n */\n trackAddOne(entity, collection, mergeStrategy) {\n return entity == null\n ? collection\n : this.trackAddMany([entity], collection, mergeStrategy);\n }\n /**\n * Track multiple entities before removing them with the intention of deleting them on the server.\n * Does NOT remove from the collection (the reducer's job).\n * @param keys The primary keys of the entities to delete.\n * @param collection The entity collection\n * @param [mergeStrategy] Track by default. Don't track if is MergeStrategy.IgnoreChanges.\n */\n trackDeleteMany(keys, collection, mergeStrategy) {\n if (mergeStrategy === MergeStrategy.IgnoreChanges ||\n keys == null ||\n keys.length === 0) {\n return collection; // nothing to track\n }\n let didMutate = false;\n const entityMap = collection.entities;\n const changeState = keys.reduce((chgState, id) => {\n const originalValue = entityMap[id];\n if (originalValue) {\n const trackedChange = chgState[id];\n if (trackedChange) {\n if (trackedChange.changeType === ChangeType.Added) {\n // Special case: stop tracking an added entity that you delete\n // The caller must also detect this, remove it immediately from the collection\n // and skip attempt to delete on the server.\n cloneChgStateOnce();\n delete chgState[id];\n }\n else if (trackedChange.changeType === ChangeType.Updated) {\n // Special case: switch change type from Updated to Deleted.\n cloneChgStateOnce();\n chgState[id] = { ...chgState[id], changeType: ChangeType.Deleted };\n }\n }\n else {\n // Start tracking this entity\n cloneChgStateOnce();\n chgState[id] = { changeType: ChangeType.Deleted, originalValue };\n }\n }\n return chgState;\n function cloneChgStateOnce() {\n if (!didMutate) {\n didMutate = true;\n chgState = { ...chgState };\n }\n }\n }, collection.changeState);\n return didMutate ? { ...collection, changeState } : collection;\n }\n /**\n * Track an entity before it is removed with the intention of deleting it on the server.\n * Does NOT remove from the collection (the reducer's job).\n * @param key The primary key of the entity to delete.\n * @param collection The entity collection\n * @param [mergeStrategy] Track by default. Don't track if is MergeStrategy.IgnoreChanges.\n */\n trackDeleteOne(key, collection, mergeStrategy) {\n return key == null\n ? collection\n : this.trackDeleteMany([key], collection, mergeStrategy);\n }\n /**\n * Track multiple entities before updating them in the collection.\n * Does NOT update the collection (the reducer's job).\n * @param updates The entities to update.\n * @param collection The entity collection\n * @param [mergeStrategy] Track by default. Don't track if is MergeStrategy.IgnoreChanges.\n */\n trackUpdateMany(updates, collection, mergeStrategy) {\n if (mergeStrategy === MergeStrategy.IgnoreChanges ||\n updates == null ||\n updates.length === 0) {\n return collection; // nothing to track\n }\n let didMutate = false;\n const entityMap = collection.entities;\n const changeState = updates.reduce((chgState, update) => {\n const { id, changes: entity } = update;\n if (id == null || id === '') {\n throw new Error(`${collection.entityName} entity update requires a key to be tracked`);\n }\n const originalValue = entityMap[id];\n // Only track if it is in the collection. Silently ignore if it is not.\n // @ngrx/entity adapter would also silently ignore.\n // Todo: should missing update entity really be reported as an error?\n if (originalValue) {\n const trackedChange = chgState[id];\n if (!trackedChange) {\n if (!didMutate) {\n didMutate = true;\n chgState = { ...chgState };\n }\n chgState[id] = { changeType: ChangeType.Updated, originalValue };\n }\n }\n return chgState;\n }, collection.changeState);\n return didMutate ? { ...collection, changeState } : collection;\n }\n /**\n * Track an entity before updating it in the collection.\n * Does NOT update the collection (the reducer's job).\n * @param update The entity to update.\n * @param collection The entity collection\n * @param [mergeStrategy] Track by default. Don't track if is MergeStrategy.IgnoreChanges.\n */\n trackUpdateOne(update, collection, mergeStrategy) {\n return update == null\n ? collection\n : this.trackUpdateMany([update], collection, mergeStrategy);\n }\n /**\n * Track multiple entities before upserting (adding and updating) them to the collection.\n * Does NOT update the collection (the reducer's job).\n * @param entities The entities to add or update. They must be complete entities with ids.\n * @param collection The entity collection\n * @param [mergeStrategy] Track by default. Don't track if is MergeStrategy.IgnoreChanges.\n */\n trackUpsertMany(entities, collection, mergeStrategy) {\n if (mergeStrategy === MergeStrategy.IgnoreChanges ||\n entities == null ||\n entities.length === 0) {\n return collection; // nothing to track\n }\n let didMutate = false;\n const entityMap = collection.entities;\n const changeState = entities.reduce((chgState, entity) => {\n const id = this.selectId(entity);\n if (id == null || id === '') {\n throw new Error(`${collection.entityName} entity upsert requires a key to be tracked`);\n }\n const trackedChange = chgState[id];\n if (!trackedChange) {\n if (!didMutate) {\n didMutate = true;\n chgState = { ...chgState };\n }\n const originalValue = entityMap[id];\n chgState[id] =\n originalValue == null\n ? { changeType: ChangeType.Added }\n : { changeType: ChangeType.Updated, originalValue };\n }\n return chgState;\n }, collection.changeState);\n return didMutate ? { ...collection, changeState } : collection;\n }\n /**\n * Track an entity before upsert (adding and updating) it to the collection.\n * Does NOT update the collection (the reducer's job).\n * @param entities The entity to add or update. It must be a complete entity with its id.\n * @param collection The entity collection\n * @param [mergeStrategy] Track by default. Don't track if is MergeStrategy.IgnoreChanges.\n */\n trackUpsertOne(entity, collection, mergeStrategy) {\n return entity == null\n ? collection\n : this.trackUpsertMany([entity], collection, mergeStrategy);\n }\n // #endregion track methods\n // #region undo methods\n /**\n * Revert the unsaved changes for all collection.\n * Harmless when there are no entity changes to undo.\n * @param collection The entity collection\n */\n undoAll(collection) {\n const ids = Object.keys(collection.changeState);\n const { remove, upsert } = ids.reduce((acc, id) => {\n const changeState = acc.chgState[id];\n switch (changeState.changeType) {\n case ChangeType.Added:\n acc.remove.push(id);\n break;\n case ChangeType.Deleted:\n const removed = changeState.originalValue;\n if (removed) {\n acc.upsert.push(removed);\n }\n break;\n case ChangeType.Updated:\n acc.upsert.push(changeState.originalValue);\n break;\n }\n return acc;\n }, \n // entitiesToUndo\n {\n remove: [],\n upsert: [],\n chgState: collection.changeState,\n });\n collection = this.adapter.removeMany(remove, collection);\n collection = this.adapter.upsertMany(upsert, collection);\n return { ...collection, changeState: {} };\n }\n /**\n * Revert the unsaved changes for the given entities.\n * Harmless when there are no entity changes to undo.\n * @param entityOrIdList The entities to revert or their ids.\n * @param collection The entity collection\n */\n undoMany(entityOrIdList, collection) {\n if (entityOrIdList == null || entityOrIdList.length === 0) {\n return collection; // nothing to undo\n }\n let didMutate = false;\n const { changeState, remove, upsert } = entityOrIdList.reduce((acc, entityOrId) => {\n let chgState = acc.changeState;\n const id = typeof entityOrId === 'object'\n ? this.selectId(entityOrId)\n : entityOrId;\n const change = chgState[id];\n if (change) {\n if (!didMutate) {\n chgState = { ...chgState };\n didMutate = true;\n }\n delete chgState[id]; // clear tracking of this entity\n acc.changeState = chgState;\n switch (change.changeType) {\n case ChangeType.Added:\n acc.remove.push(id);\n break;\n case ChangeType.Deleted:\n const removed = change.originalValue;\n if (removed) {\n acc.upsert.push(removed);\n }\n break;\n case ChangeType.Updated:\n acc.upsert.push(change.originalValue);\n break;\n }\n }\n return acc;\n }, \n // entitiesToUndo\n {\n remove: [],\n upsert: [],\n changeState: collection.changeState,\n });\n collection = this.adapter.removeMany(remove, collection);\n collection = this.adapter.upsertMany(upsert, collection);\n return didMutate ? { ...collection, changeState } : collection;\n }\n /**\n * Revert the unsaved changes for the given entity.\n * Harmless when there are no entity changes to undo.\n * @param entityOrId The entity to revert or its id.\n * @param collection The entity collection\n */\n undoOne(entityOrId, collection) {\n return entityOrId == null\n ? collection\n : this.undoMany([entityOrId], collection);\n }\n}\n\n/**\n * Base implementation of reducer methods for an entity collection.\n */\nclass EntityCollectionReducerMethods {\n constructor(entityName, definition, \n /*\n * Track changes to entities since the last query or save\n * Can revert some or all of those changes\n */\n entityChangeTracker) {\n this.entityName = entityName;\n this.definition = definition;\n /**\n * Dictionary of the {EntityCollectionReducerMethods} for this entity type,\n * keyed by the {EntityOp}\n */\n this.methods = {\n [EntityOp.CANCEL_PERSIST]: this.cancelPersist.bind(this),\n [EntityOp.QUERY_ALL]: this.queryAll.bind(this),\n [EntityOp.QUERY_ALL_ERROR]: this.queryAllError.bind(this),\n [EntityOp.QUERY_ALL_SUCCESS]: this.queryAllSuccess.bind(this),\n [EntityOp.QUERY_BY_KEY]: this.queryByKey.bind(this),\n [EntityOp.QUERY_BY_KEY_ERROR]: this.queryByKeyError.bind(this),\n [EntityOp.QUERY_BY_KEY_SUCCESS]: this.queryByKeySuccess.bind(this),\n [EntityOp.QUERY_LOAD]: this.queryLoad.bind(this),\n [EntityOp.QUERY_LOAD_ERROR]: this.queryLoadError.bind(this),\n [EntityOp.QUERY_LOAD_SUCCESS]: this.queryLoadSuccess.bind(this),\n [EntityOp.QUERY_MANY]: this.queryMany.bind(this),\n [EntityOp.QUERY_MANY_ERROR]: this.queryManyError.bind(this),\n [EntityOp.QUERY_MANY_SUCCESS]: this.queryManySuccess.bind(this),\n [EntityOp.SAVE_ADD_MANY]: this.saveAddMany.bind(this),\n [EntityOp.SAVE_ADD_MANY_ERROR]: this.saveAddManyError.bind(this),\n [EntityOp.SAVE_ADD_MANY_SUCCESS]: this.saveAddManySuccess.bind(this),\n [EntityOp.SAVE_ADD_ONE]: this.saveAddOne.bind(this),\n [EntityOp.SAVE_ADD_ONE_ERROR]: this.saveAddOneError.bind(this),\n [EntityOp.SAVE_ADD_ONE_SUCCESS]: this.saveAddOneSuccess.bind(this),\n [EntityOp.SAVE_DELETE_MANY]: this.saveDeleteMany.bind(this),\n [EntityOp.SAVE_DELETE_MANY_ERROR]: this.saveDeleteManyError.bind(this),\n [EntityOp.SAVE_DELETE_MANY_SUCCESS]: this.saveDeleteManySuccess.bind(this),\n [EntityOp.SAVE_DELETE_ONE]: this.saveDeleteOne.bind(this),\n [EntityOp.SAVE_DELETE_ONE_ERROR]: this.saveDeleteOneError.bind(this),\n [EntityOp.SAVE_DELETE_ONE_SUCCESS]: this.saveDeleteOneSuccess.bind(this),\n [EntityOp.SAVE_UPDATE_MANY]: this.saveUpdateMany.bind(this),\n [EntityOp.SAVE_UPDATE_MANY_ERROR]: this.saveUpdateManyError.bind(this),\n [EntityOp.SAVE_UPDATE_MANY_SUCCESS]: this.saveUpdateManySuccess.bind(this),\n [EntityOp.SAVE_UPDATE_ONE]: this.saveUpdateOne.bind(this),\n [EntityOp.SAVE_UPDATE_ONE_ERROR]: this.saveUpdateOneError.bind(this),\n [EntityOp.SAVE_UPDATE_ONE_SUCCESS]: this.saveUpdateOneSuccess.bind(this),\n [EntityOp.SAVE_UPSERT_MANY]: this.saveUpsertMany.bind(this),\n [EntityOp.SAVE_UPSERT_MANY_ERROR]: this.saveUpsertManyError.bind(this),\n [EntityOp.SAVE_UPSERT_MANY_SUCCESS]: this.saveUpsertManySuccess.bind(this),\n [EntityOp.SAVE_UPSERT_ONE]: this.saveUpsertOne.bind(this),\n [EntityOp.SAVE_UPSERT_ONE_ERROR]: this.saveUpsertOneError.bind(this),\n [EntityOp.SAVE_UPSERT_ONE_SUCCESS]: this.saveUpsertOneSuccess.bind(this),\n // Do nothing on save errors except turn the loading flag off.\n // See the ChangeTrackerMetaReducers\n // Or the app could listen for those errors and do something\n /// cache only operations ///\n [EntityOp.ADD_ALL]: this.addAll.bind(this),\n [EntityOp.ADD_MANY]: this.addMany.bind(this),\n [EntityOp.ADD_ONE]: this.addOne.bind(this),\n [EntityOp.REMOVE_ALL]: this.removeAll.bind(this),\n [EntityOp.REMOVE_MANY]: this.removeMany.bind(this),\n [EntityOp.REMOVE_ONE]: this.removeOne.bind(this),\n [EntityOp.UPDATE_MANY]: this.updateMany.bind(this),\n [EntityOp.UPDATE_ONE]: this.updateOne.bind(this),\n [EntityOp.UPSERT_MANY]: this.upsertMany.bind(this),\n [EntityOp.UPSERT_ONE]: this.upsertOne.bind(this),\n [EntityOp.COMMIT_ALL]: this.commitAll.bind(this),\n [EntityOp.COMMIT_MANY]: this.commitMany.bind(this),\n [EntityOp.COMMIT_ONE]: this.commitOne.bind(this),\n [EntityOp.UNDO_ALL]: this.undoAll.bind(this),\n [EntityOp.UNDO_MANY]: this.undoMany.bind(this),\n [EntityOp.UNDO_ONE]: this.undoOne.bind(this),\n [EntityOp.SET_CHANGE_STATE]: this.setChangeState.bind(this),\n [EntityOp.SET_COLLECTION]: this.setCollection.bind(this),\n [EntityOp.SET_FILTER]: this.setFilter.bind(this),\n [EntityOp.SET_LOADED]: this.setLoaded.bind(this),\n [EntityOp.SET_LOADING]: this.setLoading.bind(this),\n };\n this.adapter = definition.entityAdapter;\n this.isChangeTracking = definition.noChangeTracking !== true;\n this.selectId = definition.selectId;\n this.guard = new EntityActionGuard(entityName, this.selectId);\n this.toUpdate = toUpdateFactory(this.selectId);\n this.entityChangeTracker =\n entityChangeTracker ||\n new EntityChangeTrackerBase(this.adapter, this.selectId);\n }\n /** Cancel a persistence operation */\n cancelPersist(collection) {\n return this.setLoadingFalse(collection);\n }\n // #region query operations\n queryAll(collection) {\n return this.setLoadingTrue(collection);\n }\n queryAllError(collection, action) {\n return this.setLoadingFalse(collection);\n }\n /**\n * Merges query results per the MergeStrategy\n * Sets loading flag to false and loaded flag to true.\n */\n queryAllSuccess(collection, action) {\n const data = this.extractData(action);\n const mergeStrategy = this.extractMergeStrategy(action);\n return {\n ...this.entityChangeTracker.mergeQueryResults(data, collection, mergeStrategy),\n loaded: true,\n loading: false,\n };\n }\n queryByKey(collection, action) {\n return this.setLoadingTrue(collection);\n }\n queryByKeyError(collection, action) {\n return this.setLoadingFalse(collection);\n }\n queryByKeySuccess(collection, action) {\n const data = this.extractData(action);\n const mergeStrategy = this.extractMergeStrategy(action);\n collection =\n data == null\n ? collection\n : this.entityChangeTracker.mergeQueryResults([data], collection, mergeStrategy);\n return this.setLoadingFalse(collection);\n }\n queryLoad(collection) {\n return this.setLoadingTrue(collection);\n }\n queryLoadError(collection, action) {\n return this.setLoadingFalse(collection);\n }\n /**\n * Replaces all entities in the collection\n * Sets loaded flag to true, loading flag to false,\n * and clears changeState for the entire collection.\n */\n queryLoadSuccess(collection, action) {\n const data = this.extractData(action);\n return {\n ...this.adapter.setAll(data, collection),\n loading: false,\n loaded: true,\n changeState: {},\n };\n }\n queryMany(collection, action) {\n return this.setLoadingTrue(collection);\n }\n queryManyError(collection, action) {\n return this.setLoadingFalse(collection);\n }\n queryManySuccess(collection, action) {\n const data = this.extractData(action);\n const mergeStrategy = this.extractMergeStrategy(action);\n return {\n ...this.entityChangeTracker.mergeQueryResults(data, collection, mergeStrategy),\n loaded: true,\n loading: false,\n };\n }\n // #endregion query operations\n // #region save operations\n // #region saveAddMany\n /**\n * Save multiple new entities.\n * If saving pessimistically, delay adding to collection until server acknowledges success.\n * If saving optimistically; add immediately.\n * @param collection The collection to which the entities should be added.\n * @param action The action payload holds options, including whether the save is optimistic,\n * and the data, which must be an array of entities.\n * If saving optimistically, the entities must have their keys.\n */\n saveAddMany(collection, action) {\n if (this.isOptimistic(action)) {\n const entities = this.guard.mustBeEntities(action); // ensure the entity has a PK\n const mergeStrategy = this.extractMergeStrategy(action);\n collection = this.entityChangeTracker.trackAddMany(entities, collection, mergeStrategy);\n collection = this.adapter.addMany(entities, collection);\n }\n return this.setLoadingTrue(collection);\n }\n /**\n * Attempt to save new entities failed or timed-out.\n * Action holds the error.\n * If saved pessimistically, new entities are not in the collection and\n * you may not have to compensate for the error.\n * If saved optimistically, the unsaved entities are in the collection and\n * you may need to compensate for the error.\n */\n saveAddManyError(collection, action) {\n return this.setLoadingFalse(collection);\n }\n // #endregion saveAddMany\n // #region saveAddOne\n /**\n * Successfully saved new entities to the server.\n * If saved pessimistically, add the entities from the server to the collection.\n * If saved optimistically, the added entities are already in the collection.\n * However, the server might have set or modified other fields (e.g, concurrency field),\n * and may even return additional new entities.\n * Therefore, upsert the entities in the collection with the returned values (if any)\n * Caution: in a race, this update could overwrite unsaved user changes.\n * Use pessimistic add to avoid this risk.\n * Note: saveAddManySuccess differs from saveAddOneSuccess when optimistic.\n * saveAddOneSuccess updates (not upserts) with the lone entity from the server.\n * There is no effect if the entity is not already in cache.\n * saveAddManySuccess will add an entity if it is not found in cache.\n */\n saveAddManySuccess(collection, action) {\n // For pessimistic save, ensure the server generated the primary key if the client didn't send one.\n const entities = this.guard.mustBeEntities(action);\n const mergeStrategy = this.extractMergeStrategy(action);\n if (this.isOptimistic(action)) {\n collection = this.entityChangeTracker.mergeSaveUpserts(entities, collection, mergeStrategy);\n }\n else {\n collection = this.entityChangeTracker.mergeSaveAdds(entities, collection, mergeStrategy);\n }\n return this.setLoadingFalse(collection);\n }\n // #endregion saveAddMany\n // #region saveAddOne\n /**\n * Save a new entity.\n * If saving pessimistically, delay adding to collection until server acknowledges success.\n * If saving optimistically; add entity immediately.\n * @param collection The collection to which the entity should be added.\n * @param action The action payload holds options, including whether the save is optimistic,\n * and the data, which must be an entity.\n * If saving optimistically, the entity must have a key.\n */\n saveAddOne(collection, action) {\n if (this.isOptimistic(action)) {\n const entity = this.guard.mustBeEntity(action); // ensure the entity has a PK\n const mergeStrategy = this.extractMergeStrategy(action);\n collection = this.entityChangeTracker.trackAddOne(entity, collection, mergeStrategy);\n collection = this.adapter.addOne(entity, collection);\n }\n return this.setLoadingTrue(collection);\n }\n /**\n * Attempt to save a new entity failed or timed-out.\n * Action holds the error.\n * If saved pessimistically, the entity is not in the collection and\n * you may not have to compensate for the error.\n * If saved optimistically, the unsaved entity is in the collection and\n * you may need to compensate for the error.\n */\n saveAddOneError(collection, action) {\n return this.setLoadingFalse(collection);\n }\n /**\n * Successfully saved a new entity to the server.\n * If saved pessimistically, add the entity from the server to the collection.\n * If saved optimistically, the added entity is already in the collection.\n * However, the server might have set or modified other fields (e.g, concurrency field)\n * Therefore, update the entity in the collection with the returned value (if any)\n * Caution: in a race, this update could overwrite unsaved user changes.\n * Use pessimistic add to avoid this risk.\n */\n saveAddOneSuccess(collection, action) {\n // For pessimistic save, ensure the server generated the primary key if the client didn't send one.\n const entity = this.guard.mustBeEntity(action);\n const mergeStrategy = this.extractMergeStrategy(action);\n if (this.isOptimistic(action)) {\n const update = this.toUpdate(entity);\n // Always update the cache with added entity returned from server\n collection = this.entityChangeTracker.mergeSaveUpdates([update], collection, mergeStrategy, false /*never skip*/);\n }\n else {\n collection = this.entityChangeTracker.mergeSaveAdds([entity], collection, mergeStrategy);\n }\n return this.setLoadingFalse(collection);\n }\n // #endregion saveAddOne\n // #region saveAddMany\n // TODO MANY\n // #endregion saveAddMany\n // #region saveDeleteOne\n /**\n * Delete an entity from the server by key and remove it from the collection (if present).\n * If the entity is an unsaved new entity, remove it from the collection immediately\n * and skip the server delete request.\n * An optimistic save removes an existing entity from the collection immediately;\n * a pessimistic save removes it after the server confirms successful delete.\n * @param collection Will remove the entity with this key from the collection.\n * @param action The action payload holds options, including whether the save is optimistic,\n * and the data, which must be a primary key or an entity with a key;\n * this reducer extracts the key from the entity.\n */\n saveDeleteOne(collection, action) {\n const toDelete = this.extractData(action);\n const deleteId = typeof toDelete === 'object'\n ? this.selectId(toDelete)\n : toDelete;\n const change = collection.changeState[deleteId];\n // If entity is already tracked ...\n if (change) {\n if (change.changeType === ChangeType.Added) {\n // Remove the added entity immediately and forget about its changes (via commit).\n collection = this.adapter.removeOne(deleteId, collection);\n collection = this.entityChangeTracker.commitOne(deleteId, collection);\n // Should not waste effort trying to delete on the server because it can't be there.\n action.payload.skip = true;\n }\n else {\n // Re-track it as a delete, even if tracking is turned off for this call.\n collection = this.entityChangeTracker.trackDeleteOne(deleteId, collection);\n }\n }\n // If optimistic delete, track current state and remove immediately.\n if (this.isOptimistic(action)) {\n const mergeStrategy = this.extractMergeStrategy(action);\n collection = this.entityChangeTracker.trackDeleteOne(deleteId, collection, mergeStrategy);\n collection = this.adapter.removeOne(deleteId, collection);\n }\n return this.setLoadingTrue(collection);\n }\n /**\n * Attempt to delete the entity on the server failed or timed-out.\n * Action holds the error.\n * If saved pessimistically, the entity could still be in the collection and\n * you may not have to compensate for the error.\n * If saved optimistically, the entity is not in the collection and\n * you may need to compensate for the error.\n */\n saveDeleteOneError(collection, action) {\n return this.setLoadingFalse(collection);\n }\n /**\n * Successfully deleted entity on the server. The key of the deleted entity is in the action payload data.\n * If saved pessimistically, if the entity is still in the collection it will be removed.\n * If saved optimistically, the entity has already been removed from the collection.\n */\n saveDeleteOneSuccess(collection, action) {\n const deleteId = this.extractData(action);\n if (this.isOptimistic(action)) {\n const mergeStrategy = this.extractMergeStrategy(action);\n collection = this.entityChangeTracker.mergeSaveDeletes([deleteId], collection, mergeStrategy);\n }\n else {\n // Pessimistic: ignore mergeStrategy. Remove entity from the collection and from change tracking.\n collection = this.adapter.removeOne(deleteId, collection);\n collection = this.entityChangeTracker.commitOne(deleteId, collection);\n }\n return this.setLoadingFalse(collection);\n }\n // #endregion saveDeleteOne\n // #region saveDeleteMany\n /**\n * Delete multiple entities from the server by key and remove them from the collection (if present).\n * Removes unsaved new entities from the collection immediately\n * but the id is still sent to the server for deletion even though the server will not find that entity.\n * Therefore, the server must be willing to ignore a delete request for an entity it cannot find.\n * An optimistic save removes existing entities from the collection immediately;\n * a pessimistic save removes them after the server confirms successful delete.\n * @param collection Removes entities from this collection.\n * @param action The action payload holds options, including whether the save is optimistic,\n * and the data, which must be an array of primary keys or entities with a key;\n * this reducer extracts the key from the entity.\n */\n saveDeleteMany(collection, action) {\n const deleteIds = this.extractData(action).map((d) => typeof d === 'object' ? this.selectId(d) : d);\n deleteIds.forEach((deleteId) => {\n const change = collection.changeState[deleteId];\n // If entity is already tracked ...\n if (change) {\n if (change.changeType === ChangeType.Added) {\n // Remove the added entity immediately and forget about its changes (via commit).\n collection = this.adapter.removeOne(deleteId, collection);\n collection = this.entityChangeTracker.commitOne(deleteId, collection);\n // Should not waste effort trying to delete on the server because it can't be there.\n action.payload.skip = true;\n }\n else {\n // Re-track it as a delete, even if tracking is turned off for this call.\n collection = this.entityChangeTracker.trackDeleteOne(deleteId, collection);\n }\n }\n });\n // If optimistic delete, track current state and remove immediately.\n if (this.isOptimistic(action)) {\n const mergeStrategy = this.extractMergeStrategy(action);\n collection = this.entityChangeTracker.trackDeleteMany(deleteIds, collection, mergeStrategy);\n collection = this.adapter.removeMany(deleteIds, collection);\n }\n return this.setLoadingTrue(collection);\n }\n /**\n * Attempt to delete the entities on the server failed or timed-out.\n * Action holds the error.\n * If saved pessimistically, the entities could still be in the collection and\n * you may not have to compensate for the error.\n * If saved optimistically, the entities are not in the collection and\n * you may need to compensate for the error.\n */\n saveDeleteManyError(collection, action) {\n return this.setLoadingFalse(collection);\n }\n /**\n * Successfully deleted entities on the server. The keys of the deleted entities are in the action payload data.\n * If saved pessimistically, entities that are still in the collection will be removed.\n * If saved optimistically, the entities have already been removed from the collection.\n */\n saveDeleteManySuccess(collection, action) {\n const deleteIds = this.extractData(action);\n if (this.isOptimistic(action)) {\n const mergeStrategy = this.extractMergeStrategy(action);\n collection = this.entityChangeTracker.mergeSaveDeletes(deleteIds, collection, mergeStrategy);\n }\n else {\n // Pessimistic: ignore mergeStrategy. Remove entity from the collection and from change tracking.\n collection = this.adapter.removeMany(deleteIds, collection);\n collection = this.entityChangeTracker.commitMany(deleteIds, collection);\n }\n return this.setLoadingFalse(collection);\n }\n // #endregion saveDeleteMany\n // #region saveUpdateOne\n /**\n * Save an update to an existing entity.\n * If saving pessimistically, update the entity in the collection after the server confirms success.\n * If saving optimistically, update the entity immediately, before the save request.\n * @param collection The collection to update\n * @param action The action payload holds options, including if the save is optimistic,\n * and the data which, must be an {Update<T>}\n */\n saveUpdateOne(collection, action) {\n const update = this.guard.mustBeUpdate(action);\n if (this.isOptimistic(action)) {\n const mergeStrategy = this.extractMergeStrategy(action);\n collection = this.entityChangeTracker.trackUpdateOne(update, collection, mergeStrategy);\n collection = this.adapter.updateOne(update, collection);\n }\n return this.setLoadingTrue(collection);\n }\n /**\n * Attempt to update the entity on the server failed or timed-out.\n * Action holds the error.\n * If saved pessimistically, the entity in the collection is in the pre-save state\n * you may not have to compensate for the error.\n * If saved optimistically, the entity in the collection was updated\n * and you may need to compensate for the error.\n */\n saveUpdateOneError(collection, action) {\n return this.setLoadingFalse(collection);\n }\n /**\n * Successfully saved the updated entity to the server.\n * If saved pessimistically, update the entity in the collection with data from the server.\n * If saved optimistically, the entity was already updated in the collection.\n * However, the server might have set or modified other fields (e.g, concurrency field)\n * Therefore, update the entity in the collection with the returned value (if any)\n * Caution: in a race, this update could overwrite unsaved user changes.\n * Use pessimistic update to avoid this risk.\n * @param collection The collection to update\n * @param action The action payload holds options, including if the save is optimistic, and\n * the update data which, must be an UpdateResponse<T> that corresponds to the Update sent to the server.\n * You must include an UpdateResponse even if the save was optimistic,\n * to ensure that the change tracking is properly reset.\n */\n saveUpdateOneSuccess(collection, action) {\n const update = this.guard.mustBeUpdateResponse(action);\n const isOptimistic = this.isOptimistic(action);\n const mergeStrategy = this.extractMergeStrategy(action);\n collection = this.entityChangeTracker.mergeSaveUpdates([update], collection, mergeStrategy, isOptimistic /*skip unchanged if optimistic */);\n return this.setLoadingFalse(collection);\n }\n // #endregion saveUpdateOne\n // #region saveUpdateMany\n /**\n * Save updated entities.\n * If saving pessimistically, update the entities in the collection after the server confirms success.\n * If saving optimistically, update the entities immediately, before the save request.\n * @param collection The collection to update\n * @param action The action payload holds options, including if the save is optimistic,\n * and the data which, must be an array of {Update<T>}.\n */\n saveUpdateMany(collection, action) {\n const updates = this.guard.mustBeUpdates(action);\n if (this.isOptimistic(action)) {\n const mergeStrategy = this.extractMergeStrategy(action);\n collection = this.entityChangeTracker.trackUpdateMany(updates, collection, mergeStrategy);\n collection = this.adapter.updateMany(updates, collection);\n }\n return this.setLoadingTrue(collection);\n }\n /**\n * Attempt to update entities on the server failed or timed-out.\n * Action holds the error.\n * If saved pessimistically, the entities in the collection are in the pre-save state\n * you may not have to compensate for the error.\n * If saved optimistically, the entities in the collection were updated\n * and you may need to compensate for the error.\n */\n saveUpdateManyError(collection, action) {\n return this.setLoadingFalse(collection);\n }\n /**\n * Successfully saved the updated entities to the server.\n * If saved pessimistically, the entities in the collection will be updated with data from the server.\n * If saved optimistically, the entities in the collection were already updated.\n * However, the server might have set or modified other fields (e.g, concurrency field)\n * Therefore, update the entity in the collection with the returned values (if any)\n * Caution: in a race, this update could overwrite unsaved user changes.\n * Use pessimistic update to avoid this risk.\n * @param collection The collection to update\n * @param action The action payload holds options, including if the save is optimistic,\n * and the data which, must be an array of UpdateResponse<T>.\n * You must include an UpdateResponse for every Update sent to the server,\n * even if the save was optimistic, to ensure that the change tracking is properly reset.\n */\n saveUpdateManySuccess(collection, action) {\n const updates = this.guard.mustBeUpdateResponses(action);\n const isOptimistic = this.isOptimistic(action);\n const mergeStrategy = this.extractMergeStrategy(action);\n collection = this.entityChangeTracker.mergeSaveUpdates(updates, collection, mergeStrategy, false /* never skip */);\n return this.setLoadingFalse(collection);\n }\n // #endregion saveUpdateMany\n // #region saveUpsertOne\n /**\n * Save a new or existing entity.\n * If saving pessimistically, delay adding to collection until server acknowledges success.\n * If saving optimistically; add immediately.\n * @param collection The collection to which the entity should be upserted.\n * @param action The action payload holds options, including whether the save is optimistic,\n * and the data, which must be a whole entity.\n * If saving optimistically, the entity must have its key.\n */\n saveUpsertOne(collection, action) {\n if (this.isOptimistic(action)) {\n const entity = this.guard.mustBeEntity(action); // ensure the entity has a PK\n const mergeStrategy = this.extractMergeStrategy(action);\n collection = this.entityChangeTracker.trackUpsertOne(entity, collection, mergeStrategy);\n collection = this.adapter.upsertOne(entity, collection);\n }\n return this.setLoadingTrue(collection);\n }\n /**\n * Attempt to save new or existing entity failed or timed-out.\n * Action holds the error.\n * If saved pessimistically, new or updated entity is not in the collection and\n * you may not have to compensate for the error.\n * If saved optimistically, the unsaved entities are in the collection and\n * you may need to compensate for the error.\n */\n saveUpsertOneError(collection, action) {\n return this.setLoadingFalse(collection);\n }\n /**\n * Successfully saved new or existing entities to the server.\n * If saved pessimistically, add the entities from the server to the collection.\n * If saved optimistically, the added entities are already in the collection.\n * However, the server might have set or modified other fields (e.g, concurrency field)\n * Therefore, update the entities in the collection with the returned values (if any)\n * Caution: in a race, this update could overwrite unsaved user changes.\n * Use pessimistic add to avoid this risk.\n */\n saveUpsertOneSuccess(collection, action) {\n // For pessimistic save, ensure the server generated the primary key if the client didn't send one.\n const entity = this.guard.mustBeEntity(action);\n const mergeStrategy = this.extractMergeStrategy(action);\n // Always update the cache with upserted entities returned from server\n collection = this.entityChangeTracker.mergeSaveUpserts([entity], collection, mergeStrategy);\n return this.setLoadingFalse(collection);\n }\n // #endregion saveUpsertOne\n // #region saveUpsertMany\n /**\n * Save multiple new or existing entities.\n * If saving pessimistically, delay adding to collection until server acknowledges success.\n * If saving optimistically; add immediately.\n * @param collection The collection to which the entities should be upserted.\n * @param action The action payload holds options, including whether the save is optimistic,\n * and the data, which must be an array of whole entities.\n * If saving optimistically, the entities must have their keys.\n */\n saveUpsertMany(collection, action) {\n if (this.isOptimistic(action)) {\n const entities = this.guard.mustBeEntities(action); // ensure the entity has a PK\n const mergeStrategy = this.extractMergeStrategy(action);\n collection = this.entityChangeTracker.trackUpsertMany(entities, collection, mergeStrategy);\n collection = this.adapter.upsertMany(entities, collection);\n }\n return this.setLoadingTrue(collection);\n }\n /**\n * Attempt to save new or existing entities failed or timed-out.\n * Action holds the error.\n * If saved pessimistically, new entities are not in the collection and\n * you may not have to compensate for the error.\n * If saved optimistically, the unsaved entities are in the collection and\n * you may need to compensate for the error.\n */\n saveUpsertManyError(collection, action) {\n return this.setLoadingFalse(collection);\n }\n /**\n * Successfully saved new or existing entities to the server.\n * If saved pessimistically, add the entities from the server to the collection.\n * If saved optimistically, the added entities are already in the collection.\n * However, the server might have set or modified other fields (e.g, concurrency field)\n * Therefore, update the entities in the collection with the returned values (if any)\n * Caution: in a race, this update could overwrite unsaved user changes.\n * Use pessimistic add to avoid this risk.\n */\n saveUpsertManySuccess(collection, action) {\n // For pessimistic save, ensure the server generated the primary key if the client didn't send one.\n const entities = this.guard.mustBeEntities(action);\n const mergeStrategy = this.extractMergeStrategy(action);\n // Always update the cache with upserted entities returned from server\n collection = this.entityChangeTracker.mergeSaveUpserts(entities, collection, mergeStrategy);\n return this.setLoadingFalse(collection);\n }\n // #endregion saveUpsertMany\n // #endregion save operations\n // #region cache-only operations\n /**\n * Replaces all entities in the collection\n * Sets loaded flag to true.\n * Merges query results, preserving unsaved changes\n */\n addAll(collection, action) {\n const entities = this.guard.mustBeEntities(action);\n return {\n ...this.adapter.setAll(entities, collection),\n loading: false,\n loaded: true,\n changeState: {},\n };\n }\n addMany(collection, action) {\n const entities = this.guard.mustBeEntities(action);\n const mergeStrategy = this.extractMergeStrategy(action);\n collection = this.entityChangeTracker.trackAddMany(entities, collection, mergeStrategy);\n return this.adapter.addMany(entities, collection);\n }\n addOne(collection, action) {\n const entity = this.guard.mustBeEntity(action);\n const mergeStrategy = this.extractMergeStrategy(action);\n collection = this.entityChangeTracker.trackAddOne(entity, collection, mergeStrategy);\n return this.adapter.addOne(entity, collection);\n }\n removeMany(collection, action) {\n // payload must be entity keys\n const keys = this.guard.mustBeKeys(action);\n const mergeStrategy = this.extractMergeStrategy(action);\n collection = this.entityChangeTracker.trackDeleteMany(keys, collection, mergeStrategy);\n return this.adapter.removeMany(keys, collection);\n }\n removeOne(collection, action) {\n // payload must be entity key\n const key = this.guard.mustBeKey(action);\n const mergeStrategy = this.extractMergeStrategy(action);\n collection = this.entityChangeTracker.trackDeleteOne(key, collection, mergeStrategy);\n return this.adapter.removeOne(key, collection);\n }\n removeAll(collection, action) {\n return {\n ...this.adapter.removeAll(collection),\n loaded: false,\n loading: false,\n changeState: {}, // Assume clearing the collection and not trying to delete all entities\n };\n }\n updateMany(collection, action) {\n // payload must be an array of `Updates<T>`, not entities\n const updates = this.guard.mustBeUpdates(action);\n const mergeStrategy = this.extractMergeStrategy(action);\n collection = this.entityChangeTracker.trackUpdateMany(updates, collection, mergeStrategy);\n return this.adapter.updateMany(updates, collection);\n }\n updateOne(collection, action) {\n // payload must be an `Update<T>`, not an entity\n const update = this.guard.mustBeUpdate(action);\n const mergeStrategy = this.extractMergeStrategy(action);\n collection = this.entityChangeTracker.trackUpdateOne(update, collection, mergeStrategy);\n return this.adapter.updateOne(update, collection);\n }\n upsertMany(collection, action) {\n // <v6: payload must be an array of `Updates<T>`, not entities\n // v6+: payload must be an array of T\n const entities = this.guard.mustBeEntities(action);\n const mergeStrategy = this.extractMergeStrategy(action);\n collection = this.entityChangeTracker.trackUpsertMany(entities, collection, mergeStrategy);\n return this.adapter.upsertMany(entities, collection);\n }\n upsertOne(collection, action) {\n // <v6: payload must be an `Update<T>`, not an entity\n // v6+: payload must be a T\n const entity = this.guard.mustBeEntity(action);\n const mergeStrategy = this.extractMergeStrategy(action);\n collection = this.entityChangeTracker.trackUpsertOne(entity, collection, mergeStrategy);\n return this.adapter.upsertOne(entity, collection);\n }\n commitAll(collection) {\n return this.entityChangeTracker.commitAll(collection);\n }\n commitMany(collection, action) {\n return this.entityChangeTracker.commitMany(this.extractData(action), collection);\n }\n commitOne(collection, action) {\n return this.entityChangeTracker.commitOne(this.extractData(action), collection);\n }\n undoAll(collection) {\n return this.entityChangeTracker.undoAll(collection);\n }\n undoMany(collection, action) {\n return this.entityChangeTracker.undoMany(this.extractData(action), collection);\n }\n undoOne(collection, action) {\n return this.entityChangeTracker.undoOne(this.extractData(action), collection);\n }\n /** Dangerous: Completely replace the collection's ChangeState. Use rarely and wisely. */\n setChangeState(collection, action) {\n const changeState = this.extractData(action);\n return collection.changeState === changeState\n ? collection\n : { ...collection, changeState };\n }\n /**\n * Dangerous: Completely replace the collection.\n * Primarily for testing and rehydration from local storage.\n * Use rarely and wisely.\n */\n setCollection(collection, action) {\n const newCollection = this.extractData(action);\n return collection === newCollection ? collection : newCollection;\n }\n setFilter(collection, action) {\n const filter = this.extractData(action);\n return collection.filter === filter\n ? collection\n : { ...collection, filter };\n }\n setLoaded(collection, action) {\n const loaded = this.extractData(action) === true || false;\n return collection.loaded === loaded\n ? collection\n : { ...collection, loaded };\n }\n setLoading(collection, action) {\n return this.setLoadingFlag(collection, this.extractData(action));\n }\n setLoadingFalse(collection) {\n return this.setLoadingFlag(collection, false);\n }\n setLoadingTrue(collection) {\n return this.setLoadingFlag(collection, true);\n }\n /** Set the collection's loading flag */\n setLoadingFlag(collection, loading) {\n loading = loading === true ? true : false;\n return collection.loading === loading\n ? collection\n : { ...collection, loading };\n }\n // #endregion Cache-only operations\n // #region helpers\n /** Safely extract data from the EntityAction payload */\n extractData(action) {\n return (action.payload && action.payload.data);\n }\n /** Safely extract MergeStrategy from EntityAction. Set to IgnoreChanges if collection itself is not tracked. */\n extractMergeStrategy(action) {\n // If not tracking this collection, always ignore changes\n return this.isChangeTracking\n ? action.payload && action.payload.mergeStrategy\n : MergeStrategy.IgnoreChanges;\n }\n isOptimistic(action) {\n return action.payload && action.payload.isOptimistic === true;\n }\n}\n/**\n * Creates {EntityCollectionReducerMethods} for a given entity type.\n */\nclass EntityCollectionReducerMethodsFactory {\n constructor(entityDefinitionService) {\n this.entityDefinitionService = entityDefinitionService;\n }\n /** Create the {EntityCollectionReducerMethods} for the named entity type */\n create(entityName) {\n const definition = this.entityDefinitionService.getDefinition(entityName);\n const methodsClass = new EntityCollectionReducerMethods(entityName, definition);\n return methodsClass.methods;\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityCollectionReducerMethodsFactory, deps: [{ token: EntityDefinitionService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityCollectionReducerMethodsFactory }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityCollectionReducerMethodsFactory, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: EntityDefinitionService }]; } });\n\n/** Create a default reducer for a specific entity collection */\nclass EntityCollectionReducerFactory {\n constructor(methodsFactory) {\n this.methodsFactory = methodsFactory;\n }\n /** Create a default reducer for a collection of entities of T */\n create(entityName) {\n const methods = this.methodsFactory.create(entityName);\n /** Perform Actions against a particular entity collection in the EntityCache */\n return function entityCollectionReducer(collection, action) {\n const reducerMethod = methods[action.payload.entityOp];\n return reducerMethod ? reducerMethod(collection, action) : collection;\n };\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityCollectionReducerFactory, deps: [{ token: EntityCollectionReducerMethodsFactory }], target: i0.ɵɵFactoryTarget.Injectable }); }\n /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityCollectionReducerFactory }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityCollectionReducerFactory, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: EntityCollectionReducerMethodsFactory }]; } });\n\n/**\n * Registry of entity types and their previously-constructed reducers.\n * Can create a new CollectionReducer, which it registers for subsequent use.\n */\nclass EntityCollectionReducerRegistry {\n constructor(entityCollectionReducerFactory, entityCollectionMetaReducers) {\n this.entityCollectionReducerFactory = entityCollectionReducerFactory;\n this.entityCollectionReducers = {};\n // eslint-disable-next-line prefer-spread\n this.entityCollectionMetaReducer = compose.apply(null, entityCollectionMetaReducers || []);\n }\n /**\n * Get the registered EntityCollectionReducer<T> for this entity type or create one and register it.\n * @param entityName Name of the entity type for this reducer\n */\n getOrCreateReducer(entityName) {\n let reducer = this.entityCollectionReducers[entityName];\n if (!reducer) {\n reducer = this.entityCollectionReducerFactory.create(entityName);\n reducer = this.registerReducer(entityName, reducer);\n this.entityCollectionReducers[entityName] = reducer;\n }\n return reducer;\n }\n /**\n * Register an EntityCollectionReducer for an entity type\n * @param entityName - the name of the entity type\n * @param reducer - reducer for that entity type\n *\n * Examples:\n * registerReducer('Hero', myHeroReducer);\n * registerReducer('Villain', myVillainReducer);\n */\n registerReducer(entityName, reducer) {\n reducer = this.entityCollectionMetaReducer(reducer);\n return (this.entityCollectionReducers[entityName.trim()] = reducer);\n }\n /**\n * Register a batch of EntityCollectionReducers.\n * @param reducers - reducers to merge into existing reducers\n *\n * Examples:\n * registerReducers({\n * Hero: myHeroReducer,\n * Villain: myVillainReducer\n * });\n */\n registerReducers(reducers) {\n const keys = reducers ? Object.keys(reducers) : [];\n keys.forEach((key) => this.registerReducer(key, reducers[key]));\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityCollectionReducerRegistry, deps: [{ token: EntityCollectionReducerFactory }, { token: ENTITY_COLLECTION_META_REDUCERS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }\n /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityCollectionReducerRegistry }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityCollectionReducerRegistry, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: EntityCollectionReducerFactory }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ENTITY_COLLECTION_META_REDUCERS]\n }] }]; } });\n\n/**\n * Creates the EntityCacheReducer via its create() method\n */\nclass EntityCacheReducerFactory {\n constructor(entityCollectionCreator, entityCollectionReducerRegistry, logger) {\n this.entityCollectionCreator = entityCollectionCreator;\n this.entityCollectionReducerRegistry = entityCollectionReducerRegistry;\n this.logger = logger;\n }\n /**\n * Create the @ngrx/data entity cache reducer which either responds to entity cache level actions\n * or (more commonly) delegates to an EntityCollectionReducer based on the action.payload.entityName.\n */\n create() {\n // This technique ensures a named function appears in the debugger\n return entityCacheReducer.bind(this);\n function entityCacheReducer(entityCache = {}, action) {\n // EntityCache actions\n switch (action.type) {\n case EntityCacheAction.CLEAR_COLLECTIONS: {\n return this.clearCollectionsReducer(entityCache, action);\n }\n case EntityCacheAction.LOAD_COLLECTIONS: {\n return this.loadCollectionsReducer(entityCache, action);\n }\n case EntityCacheAction.MERGE_QUERY_SET: {\n return this.mergeQuerySetReducer(entityCache, action);\n }\n case EntityCacheAction.SAVE_ENTITIES: {\n return this.saveEntitiesReducer(entityCache, action);\n }\n case EntityCacheAction.SAVE_ENTITIES_CANCEL: {\n return this.saveEntitiesCancelReducer(entityCache, action);\n }\n case EntityCacheAction.SAVE_ENTITIES_ERROR: {\n return this.saveEntitiesErrorReducer(entityCache, action);\n }\n case EntityCacheAction.SAVE_ENTITIES_SUCCESS: {\n return this.saveEntitiesSuccessReducer(entityCache, action);\n }\n case EntityCacheAction.SET_ENTITY_CACHE: {\n // Completely replace the EntityCache. Be careful!\n return action.payload.cache;\n }\n }\n // Apply entity collection reducer if this is a valid EntityAction for a collection\n const payload = action.payload;\n if (payload && payload.entityName && payload.entityOp && !payload.error) {\n return this.applyCollectionReducer(entityCache, action);\n }\n // Not a valid EntityAction\n return entityCache;\n }\n }\n /**\n * Reducer to clear multiple collections at the same time.\n * @param entityCache the entity cache\n * @param action a ClearCollections action whose payload is an array of collection names.\n * If empty array, does nothing. If no array, clears all the collections.\n */\n clearCollectionsReducer(entityCache, action) {\n // eslint-disable-next-line prefer-const\n let { collections, tag } = action.payload;\n const entityOp = EntityOp.REMOVE_ALL;\n if (!collections) {\n // Collections is not defined. Clear all collections.\n collections = Object.keys(entityCache);\n }\n entityCache = collections.reduce((newCache, entityName) => {\n const payload = { entityName, entityOp };\n const act = {\n type: `[${entityName}] ${action.type}`,\n payload,\n };\n newCache = this.applyCollectionReducer(newCache, act);\n return newCache;\n }, entityCache);\n return entityCache;\n }\n /**\n * Reducer to load collection in the form of a hash of entity data for multiple collections.\n * @param entityCache the entity cache\n * @param action a LoadCollections action whose payload is the QuerySet of entity collections to load\n */\n loadCollectionsReducer(entityCache, action) {\n const { collections, tag } = action.payload;\n const entityOp = EntityOp.ADD_ALL;\n const entityNames = Object.keys(collections);\n entityCache = entityNames.reduce((newCache, entityName) => {\n const payload = {\n entityName,\n entityOp,\n data: collections[entityName],\n };\n const act = {\n type: `[${entityName}] ${action.type}`,\n payload,\n };\n newCache = this.applyCollectionReducer(newCache, act);\n return newCache;\n }, entityCache);\n return entityCache;\n }\n /**\n * Reducer to merge query sets in the form of a hash of entity data for multiple collections.\n * @param entityCache the entity cache\n * @param action a MergeQuerySet action with the query set and a MergeStrategy\n */\n mergeQuerySetReducer(entityCache, action) {\n // eslint-disable-next-line prefer-const\n let { mergeStrategy, querySet, tag } = action.payload;\n mergeStrategy =\n mergeStrategy === null ? MergeStrategy.PreserveChanges : mergeStrategy;\n const entityOp = EntityOp.QUERY_MANY_SUCCESS;\n const entityNames = Object.keys(querySet);\n entityCache = entityNames.reduce((newCache, entityName) => {\n const payload = {\n entityName,\n entityOp,\n data: querySet[entityName],\n mergeStrategy,\n };\n const act = {\n type: `[${entityName}] ${action.type}`,\n payload,\n };\n newCache = this.applyCollectionReducer(newCache, act);\n return newCache;\n }, entityCache);\n return entityCache;\n }\n // #region saveEntities reducers\n saveEntitiesReducer(entityCache, action) {\n const { changeSet, correlationId, isOptimistic, mergeStrategy, tag } = action.payload;\n try {\n changeSet.changes.forEach((item) => {\n const entityName = item.entityName;\n const payload = {\n entityName,\n entityOp: getEntityOp(item),\n data: item.entities,\n correlationId,\n isOptimistic,\n mergeStrategy,\n tag,\n };\n const act = {\n type: `[${entityName}] ${action.type}`,\n payload,\n };\n entityCache = this.applyCollectionReducer(entityCache, act);\n if (act.payload.error) {\n throw act.payload.error;\n }\n });\n }\n catch (error) {\n action.payload.error = error;\n }\n return entityCache;\n function getEntityOp(item) {\n switch (item.op) {\n case ChangeSetOperation.Add:\n return EntityOp.SAVE_ADD_MANY;\n case ChangeSetOperation.Delete:\n return EntityOp.SAVE_DELETE_MANY;\n case ChangeSetOperation.Update:\n return EntityOp.SAVE_UPDATE_MANY;\n case ChangeSetOperation.Upsert:\n return EntityOp.SAVE_UPSERT_MANY;\n }\n }\n }\n saveEntitiesCancelReducer(entityCache, action) {\n // This implementation can only clear the loading flag for the collections involved\n // If the save was optimistic, you'll have to compensate to fix the cache as you think necessary\n return this.clearLoadingFlags(entityCache, action.payload.entityNames || []);\n }\n saveEntitiesErrorReducer(entityCache, action) {\n const originalAction = action.payload.originalAction;\n const originalChangeSet = originalAction.payload.changeSet;\n // This implementation can only clear the loading flag for the collections involved\n // If the save was optimistic, you'll have to compensate to fix the cache as you think necessary\n const entityNames = originalChangeSet.changes.map((item) => item.entityName);\n return this.clearLoadingFlags(entityCache, entityNames);\n }\n saveEntitiesSuccessReducer(entityCache, action) {\n const { changeSet, correlationId, isOptimistic, mergeStrategy, tag } = action.payload;\n changeSet.changes.forEach((item) => {\n const entityName = item.entityName;\n const payload = {\n entityName,\n entityOp: getEntityOp(item),\n data: item.entities,\n correlationId,\n isOptimistic,\n mergeStrategy,\n tag,\n };\n const act = {\n type: `[${entityName}] ${action.type}`,\n payload,\n };\n entityCache = this.applyCollectionReducer(entityCache, act);\n });\n return entityCache;\n function getEntityOp(item) {\n switch (item.op) {\n case ChangeSetOperation.Add:\n return EntityOp.SAVE_ADD_MANY_SUCCESS;\n case ChangeSetOperation.Delete:\n return EntityOp.SAVE_DELETE_MANY_SUCCESS;\n case ChangeSetOperation.Update:\n return EntityOp.SAVE_UPDATE_MANY_SUCCESS;\n case ChangeSetOperation.Upsert:\n return EntityOp.SAVE_UPSERT_MANY_SUCCESS;\n }\n }\n }\n // #endregion saveEntities reducers\n // #region helpers\n /** Apply reducer for the action's EntityCollection (if the action targets a collection) */\n applyCollectionReducer(cache = {}, action) {\n const entityName = action.payload.entityName;\n const collection = cache[entityName];\n const reducer = this.entityCollectionReducerRegistry.getOrCreateReducer(entityName);\n let newCollection;\n try {\n newCollection = collection\n ? reducer(collection, action)\n : reducer(this.entityCollectionCreator.create(entityName), action);\n }\n catch (error) {\n this.logger.error(error);\n action.payload.error = error;\n }\n return action.payload.error || collection === newCollection\n ? cache\n : { ...cache, [entityName]: newCollection };\n }\n /** Ensure loading is false for every collection in entityNames */\n clearLoadingFlags(entityCache, entityNames) {\n let isMutated = false;\n entityNames.forEach((entityName) => {\n const collection = entityCache[entityName];\n if (collection.loading) {\n if (!isMutated) {\n entityCache = { ...entityCache };\n isMutated = true;\n }\n entityCache[entityName] = { ...collection, loading: false };\n }\n });\n return entityCache;\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityCacheReducerFactory, deps: [{ token: EntityCollectionCreator }, { token: EntityCollectionReducerRegistry }, { token: Logger }], target: i0.ɵɵFactoryTarget.Injectable }); }\n /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityCacheReducerFactory }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityCacheReducerFactory, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: EntityCollectionCreator }, { type: EntityCollectionReducerRegistry }, { type: Logger }]; } });\n\nclass DefaultLogger {\n error(message, extra) {\n if (message) {\n extra ? console.error(message, extra) : console.error(message);\n }\n }\n log(message, extra) {\n if (message) {\n extra ? console.log(message, extra) : console.log(message);\n }\n }\n warn(message, extra) {\n if (message) {\n extra ? console.warn(message, extra) : console.warn(message);\n }\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: DefaultLogger, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: DefaultLogger }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: DefaultLogger, decorators: [{\n type: Injectable\n }] });\n\nconst uncountable = [\n // 'sheep',\n // 'fish',\n // 'deer',\n // 'moose',\n // 'rice',\n // 'species',\n 'equipment',\n 'information',\n 'money',\n 'series',\n];\nclass DefaultPluralizer {\n constructor(pluralNames) {\n this.pluralNames = {};\n // merge each plural names object\n if (pluralNames) {\n pluralNames.forEach((pn) => this.registerPluralNames(pn));\n }\n }\n /**\n * Pluralize a singular name using common English language pluralization rules\n * Examples: \"company\" -> \"companies\", \"employee\" -> \"employees\", \"tax\" -> \"taxes\"\n */\n pluralize(name) {\n const plural = this.pluralNames[name];\n if (plural) {\n return plural;\n }\n // singular and plural are the same\n if (uncountable.indexOf(name.toLowerCase()) >= 0) {\n return name;\n // vowel + y\n }\n else if (/[aeiou]y$/.test(name)) {\n return name + 's';\n // consonant + y\n }\n else if (name.endsWith('y')) {\n return name.substring(0, name.length - 1) + 'ies';\n // endings typically pluralized with 'es'\n }\n else if (/[s|ss|sh|ch|x|z]$/.test(name)) {\n return name + 'es';\n }\n else {\n return name + 's';\n }\n }\n /**\n * Register a mapping of entity type name to the entity name's plural\n * @param pluralNames {EntityPluralNames} plural names for entity types\n */\n registerPluralNames(pluralNames) {\n this.pluralNames = { ...this.pluralNames, ...(pluralNames || {}) };\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: DefaultPluralizer, deps: [{ token: PLURAL_NAMES_TOKEN, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }\n /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: DefaultPluralizer }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: DefaultPluralizer, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [PLURAL_NAMES_TOKEN]\n }] }]; } });\n\n/**\n Client-side id-generators\n\n These GUID utility functions are not used by @ngrx/data itself at this time.\n They are included as candidates for generating persistable correlation ids if that becomes desirable.\n They are also safe for generating unique entity ids on the client.\n\n Note they produce 32-character hexadecimal UUID strings,\n not the 128-bit representation found in server-side languages and databases.\n\n These utilities are experimental and may be withdrawn or replaced in future.\n*/\n/**\n * Creates a Universally Unique Identifier (AKA GUID)\n */\nfunction getUuid() {\n // The original implementation is based on this SO answer:\n // http://stackoverflow.com/a/2117523/200253\n return 'xxxxxxxxxx4xxyxxxxxxxxxxxxxx'.replace(/[xy]/g, function (c) {\n // eslint-disable-next-line no-bitwise\n const r = (Math.random() * 16) | 0, \n // eslint-disable-next-line no-bitwise\n v = c === 'x' ? r : (r & 0x3) | 0x8;\n return v.toString(16);\n });\n}\n/** Alias for getUuid(). Compare with getGuidComb(). */\nfunction getGuid() {\n return getUuid();\n}\n/**\n * Creates a sortable, pseudo-GUID (globally unique identifier)\n * whose trailing 6 bytes (12 hex digits) are time-based\n * Start either with the given getTime() value, seedTime,\n * or get the current time in ms.\n *\n * @param seed {number} - optional seed for reproducible time-part\n */\nfunction getGuidComb(seed) {\n // Each new Guid is greater than next if more than 1ms passes\n // See http://thatextramile.be/blog/2009/05/using-the-guidcomb-identifier-strategy\n // Based on breeze.core.getUuid which is based on this StackOverflow answer\n // http://stackoverflow.com/a/2117523/200253\n //\n // Convert time value to hex: n.toString(16)\n // Make sure it is 6 bytes long: ('00'+ ...).slice(-12) ... from the rear\n // Replace LAST 6 bytes (12 hex digits) of regular Guid (that's where they sort in a Db)\n //\n // Play with this in jsFiddle: http://jsfiddle.net/wardbell/qS8aN/\n const timePart = ('00' + (seed || new Date().getTime()).toString(16)).slice(-12);\n return ('xxxxxxxxxx4xxyxxx'.replace(/[xy]/g, function (c) {\n /* eslint-disable no-bitwise */\n const r = (Math.random() * 16) | 0, v = c === 'x' ? r : (r & 0x3) | 0x8;\n return v.toString(16);\n }) + timePart);\n}\n// Sort comparison value that's good enough\nfunction guidComparer(l, r) {\n const lLow = l.slice(-12);\n const rLow = r.slice(-12);\n return lLow !== rLow\n ? lLow < rLow\n ? -1\n : +(lLow !== rLow)\n : l < r\n ? -1\n : +(l !== r);\n}\n\nconst BASE_ENTITY_DATA_PROVIDERS = [\n CorrelationIdGenerator,\n EntityDispatcherDefaultOptions,\n EntityActionFactory,\n EntityCacheDispatcher,\n EntityCacheReducerFactory,\n entityCacheSelectorProvider,\n EntityCollectionCreator,\n EntityCollectionReducerFactory,\n EntityCollectionReducerMethodsFactory,\n EntityCollectionReducerRegistry,\n EntityCollectionServiceElementsFactory,\n EntityCollectionServiceFactory,\n EntityDefinitionService,\n EntityDispatcherFactory,\n EntitySelectorsFactory,\n EntitySelectors$Factory,\n EntityServicesElements,\n { provide: ENTITY_CACHE_NAME_TOKEN, useValue: ENTITY_CACHE_NAME },\n { provide: EntityServices, useClass: EntityServicesBase },\n { provide: Logger, useClass: DefaultLogger },\n {\n provide: ENVIRONMENT_INITIALIZER,\n multi: true,\n useValue: () => initializeBaseEntityData(),\n },\n];\nfunction initializeBaseEntityData() {\n const reducerManager = inject(ReducerManager);\n const entityCacheReducerFactory = inject(EntityCacheReducerFactory);\n const entityCacheName = inject(ENTITY_CACHE_NAME_TOKEN, {\n optional: true,\n });\n const initialStateOrFn = inject(INITIAL_ENTITY_CACHE_STATE, {\n optional: true,\n });\n const metaReducersOrTokens = inject(ENTITY_CACHE_META_REDUCERS, {\n optional: true,\n });\n // Add the @ngrx/data feature to the Store's features\n const key = entityCacheName || ENTITY_CACHE_NAME;\n const metaReducers = (metaReducersOrTokens || []).map((mr) => {\n return mr instanceof InjectionToken ? inject(mr) : mr;\n });\n const initialState = typeof initialStateOrFn === 'function'\n ? initialStateOrFn()\n : initialStateOrFn;\n const entityCacheFeature = {\n key,\n reducers: entityCacheReducerFactory.create(),\n reducerFactory: combineReducers,\n initialState: initialState || {},\n metaReducers: metaReducers,\n };\n reducerManager.addFeature(entityCacheFeature);\n}\nconst ENTITY_DATA_EFFECTS_PROVIDERS = [\n DefaultDataServiceFactory,\n EntityCacheDataService,\n EntityDataService,\n EntityCacheEffects,\n EntityEffects,\n { provide: HttpUrlGenerator, useClass: DefaultHttpUrlGenerator },\n {\n provide: PersistenceResultHandler,\n useClass: DefaultPersistenceResultHandler,\n },\n { provide: Pluralizer, useClass: DefaultPluralizer },\n {\n provide: ENVIRONMENT_INITIALIZER,\n multi: true,\n useValue: () => initializeEntityDataEffects(),\n },\n];\nfunction initializeEntityDataEffects() {\n const effectsSources = inject(EffectSources);\n const entityCacheEffects = inject(EntityCacheEffects);\n const entityEffects = inject(EntityEffects);\n effectsSources.addEffects(entityCacheEffects);\n effectsSources.addEffects(entityEffects);\n}\nfunction provideEntityDataConfig(config) {\n return [\n {\n provide: ENTITY_CACHE_META_REDUCERS,\n useValue: config.entityCacheMetaReducers\n ? config.entityCacheMetaReducers\n : [],\n },\n {\n provide: ENTITY_COLLECTION_META_REDUCERS,\n useValue: config.entityCollectionMetaReducers\n ? config.entityCollectionMetaReducers\n : [],\n },\n {\n provide: PLURAL_NAMES_TOKEN,\n multi: true,\n useValue: config.pluralNames ? config.pluralNames : {},\n },\n {\n provide: ENTITY_METADATA_TOKEN,\n multi: true,\n useValue: config.entityMetadata ? config.entityMetadata : [],\n },\n ];\n}\n/**\n * Sets up base entity data providers with entity config.\n * This function should to be used at the root level.\n *\n * @usageNotes\n *\n * ### Providing entity data with effects\n *\n * When used with `withEffects` feature, the `provideEntityData` function is\n * an alternative to `EntityDataModule.forRoot`\n *\n * ```ts\n * import { provideStore } from '@ngrx/store';\n * import { provideEffects } from '@ngrx/effects';\n * import {\n * EntityMetadataMap,\n * provideEntityData,\n * withEffects,\n * } from '@ngrx/data';\n *\n * const entityMetadata: EntityMetadataMap = {\n * Hero: {},\n * Villain: {},\n * };\n * const pluralNames = { Hero: 'Heroes' };\n *\n * bootstrapApplication(AppComponent, {\n * providers: [\n * provideStore(),\n * provideEffects(),\n * provideEntityData({ entityMetadata, pluralNames }, withEffects()),\n * ],\n * });\n * ```\n *\n * ### Providing entity data without effects\n *\n * When used without `withEffects` feature, the `provideEntityData` function is\n * an alternative to `EntityDataModuleWithoutEffects.forRoot`.\n *\n * ```ts\n * import { provideStore } from '@ngrx/store';\n * import { EntityMetadataMap, provideEntityData } from '@ngrx/data';\n *\n * const entityMetadata: EntityMetadataMap = {\n * Musician: {},\n * Song: {},\n * };\n *\n * bootstrapApplication(AppComponent, {\n * providers: [\n * provideStore(),\n * provideEntityData({ entityMetadata }),\n * ],\n * });\n * ```\n *\n */\nfunction provideEntityData(config, ...features) {\n return makeEnvironmentProviders([\n BASE_ENTITY_DATA_PROVIDERS,\n provideEntityDataConfig(config),\n ...features.map((feature) => feature.ɵproviders),\n ]);\n}\nvar EntityDataFeatureKind;\n(function (EntityDataFeatureKind) {\n EntityDataFeatureKind[EntityDataFeatureKind[\"WithEffects\"] = 0] = \"WithEffects\";\n})(EntityDataFeatureKind || (EntityDataFeatureKind = {}));\n/**\n * Registers entity data effects and provides HTTP data services.\n *\n * @see `provideEntityData`\n */\nfunction withEffects() {\n return {\n ɵkind: EntityDataFeatureKind.WithEffects,\n ɵproviders: [ENTITY_DATA_EFFECTS_PROVIDERS],\n };\n}\n\n/**\n * Module without effects or dataservices which means no HTTP calls\n * This module helpful for internal testing.\n * Also helpful for apps that handle server access on their own and\n * therefore opt-out of @ngrx/effects for entities\n */\nclass EntityDataModuleWithoutEffects {\n static forRoot(config) {\n return {\n ngModule: EntityDataModuleWithoutEffects,\n providers: [provideEntityDataConfig(config)],\n };\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityDataModuleWithoutEffects, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityDataModuleWithoutEffects }); }\n /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityDataModuleWithoutEffects, providers: [BASE_ENTITY_DATA_PROVIDERS] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityDataModuleWithoutEffects, decorators: [{\n type: NgModule,\n args: [{\n providers: [BASE_ENTITY_DATA_PROVIDERS],\n }]\n }] });\n\n/**\n * entity-data main module includes effects and HTTP data services\n * Configure with `forRoot`.\n * No `forFeature` yet.\n */\nclass EntityDataModule {\n static forRoot(config) {\n return {\n ngModule: EntityDataModule,\n providers: [provideEntityDataConfig(config)],\n };\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityDataModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityDataModule, imports: [EntityDataModuleWithoutEffects] }); }\n /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityDataModule, providers: [ENTITY_DATA_EFFECTS_PROVIDERS], imports: [EntityDataModuleWithoutEffects] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: EntityDataModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [EntityDataModuleWithoutEffects],\n providers: [ENTITY_DATA_EFFECTS_PROVIDERS],\n }]\n }] });\n\n// actions\n\n/**\n * DO NOT EDIT\n *\n * This file is automatically generated at build\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { ChangeSetItemFactory, ChangeSetOperation, ChangeType, ClearCollections, CorrelationIdGenerator, DataServiceError, DefaultDataService, DefaultDataServiceConfig, DefaultDataServiceFactory, DefaultHttpUrlGenerator, DefaultLogger, DefaultPersistenceResultHandler, DefaultPluralizer, ENTITY_CACHE_META_REDUCERS, ENTITY_CACHE_NAME, ENTITY_CACHE_NAME_TOKEN, ENTITY_CACHE_SELECTOR_TOKEN, ENTITY_COLLECTION_META_REDUCERS, ENTITY_METADATA_TOKEN, EntityActionFactory, EntityActionGuard, EntityCacheAction, EntityCacheDataService, EntityCacheDispatcher, EntityCacheEffects, EntityCacheReducerFactory, EntityChangeTrackerBase, EntityCollectionCreator, EntityCollectionReducerFactory, EntityCollectionReducerMethods, EntityCollectionReducerMethodsFactory, EntityCollectionReducerRegistry, EntityCollectionServiceBase, EntityCollectionServiceElementsFactory, EntityCollectionServiceFactory, EntityDataModule, EntityDataModuleWithoutEffects, EntityDataService, EntityDefinitionService, EntityDispatcherBase, EntityDispatcherDefaultOptions, EntityDispatcherFactory, EntityEffects, EntityHttpResourceUrls, EntityOp, EntitySelectors$Factory, EntitySelectorsFactory, EntityServices, EntityServicesBase, EntityServicesElements, HttpUrlGenerator, INITIAL_ENTITY_CACHE_STATE, LoadCollections, Logger, MergeQuerySet, MergeStrategy, OP_ERROR, OP_SUCCESS, PLURAL_NAMES_TOKEN, PersistanceCanceled, PersistenceResultHandler, Pluralizer, PropsFilterFnFactory, SaveEntities, SaveEntitiesCancel, SaveEntitiesCanceled, SaveEntitiesError, SaveEntitiesSuccess, SetEntityCache, changeSetItemFactory, createEmptyEntityCollection, createEntityCacheSelector, createEntityDefinition, defaultSelectId, entityCacheSelectorProvider, excludeEmptyChangeSetItems, flattenArgs, getGuid, getGuidComb, guidComparer, makeErrorOp, makeSuccessOp, normalizeRoot, ofEntityOp, ofEntityType, persistOps, provideEntityData, toUpdateFactory, withEffects };\n","import * as i1 from '@ngrx/store';\nimport { createFeatureSelector, createSelector, select, StoreModule } from '@ngrx/store';\nimport * as i0 from '@angular/core';\nimport { Injectable, PLATFORM_ID, Component, Inject, NgModule } from '@angular/core';\nimport { map, tap } from 'rxjs/operators';\nimport { CommonModule } from '@angular/common';\nimport { v4 } from 'uuid';\nimport * as i2 from '@angular/router';\nimport * as i1$1 from '@ngrx/data';\n\nvar AuthActionTypes;\n(function (AuthActionTypes) {\n AuthActionTypes[\"Login\"] = \"[Auth] Login\";\n AuthActionTypes[\"Logout\"] = \"[Auth] Logout\";\n AuthActionTypes[\"CompleteAuthentication\"] = \"[Auth] CompleteAuthentication\";\n AuthActionTypes[\"SetUser\"] = \"[Auth] SetUser\";\n})(AuthActionTypes || (AuthActionTypes = {}));\nclass Login {\n constructor() {\n this.type = AuthActionTypes.Login;\n }\n}\nclass Logout {\n constructor() {\n this.type = AuthActionTypes.Logout;\n }\n}\nclass CompleteAuthentication {\n constructor() {\n this.type = AuthActionTypes.CompleteAuthentication;\n }\n}\nclass SetUser {\n constructor(payload) {\n this.payload = payload;\n this.type = AuthActionTypes.SetUser;\n }\n}\nconst fromAuthActions = {\n Login,\n Logout,\n CompleteAuthentication,\n SetUser\n};\n\nvar auth_actions = /*#__PURE__*/Object.freeze({\n __proto__: null,\n get AuthActionTypes () { return AuthActionTypes; },\n CompleteAuthentication: CompleteAuthentication,\n Login: Login,\n Logout: Logout,\n SetUser: SetUser,\n fromAuthActions: fromAuthActions\n});\n\n// import { userInfo } from 'os';\nconst AUTH_FEATURE_KEY = 'auth';\nconst initialState = {\n user: undefined,\n cookies: new Map()\n};\nfunction reducer(state = initialState, action) {\n switch (action.type) {\n case AuthActionTypes.SetUser: {\n state = {\n ...state,\n user: action.payload\n };\n break;\n }\n case AuthActionTypes.Logout: {\n state = {\n ...state,\n user: undefined\n };\n break;\n }\n }\n return state;\n}\n\nvar auth_reducer = /*#__PURE__*/Object.freeze({\n __proto__: null,\n AUTH_FEATURE_KEY: AUTH_FEATURE_KEY,\n initialState: initialState,\n reducer: reducer\n});\n\n// Lookup the 'Auth' feature state managed by NgRx\nconst getAuthState = createFeatureSelector(AUTH_FEATURE_KEY);\nconst getUser = createSelector(getAuthState, (state) => state.user);\nconst authQuery = {\n getUser\n};\n\nvar auth_selectors = /*#__PURE__*/Object.freeze({\n __proto__: null,\n authQuery: authQuery\n});\n\nclass AuthFacade {\n constructor(store) {\n this.store = store;\n this.getUser$ = this.store.pipe(select(authQuery.getUser));\n this.token$ = this.store.pipe(select(authQuery.getUser), map(u => u ? `${u.token_type} ${u.access_token}` : undefined));\n this.idToken$ = this.store.pipe(select(authQuery.getUser), map(u => u ? `${u.token_type} ${u.id_token}` : undefined));\n }\n login() {\n this.store.dispatch(new Login());\n }\n logout() {\n this.store.dispatch(new Logout());\n }\n setUser(user) {\n this.store.dispatch(new SetUser(user));\n }\n completeAuthentication() {\n this.store.dispatch(new CompleteAuthentication());\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AuthFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AuthFacade, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AuthFacade, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: i1.Store }]; } });\n\nconst entityMetadata = {\n PublicUserProfile: {\n entityName: 'PublicUserProfile'\n }\n};\n\nclass AuthCallbackComponent {\n constructor(authFacade, router, route, platformId) {\n this.authFacade = authFacade;\n this.router = router;\n this.route = route;\n this.platformId = platformId;\n }\n async ngOnInit() {\n // check for error\n /*if (this.route.snapshot.fragment.indexOf('error') >= 0) {\n this.error=true;\n return;\n }*/\n //if(isPlatformBrowser(this.platformId)) {\n this.authFacade.completeAuthentication();\n this.router.navigate(['/pages/create-panel-page'], { queryParams: { cacheBuster: v4() } });\n //}\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AuthCallbackComponent, deps: [{ token: AuthFacade }, { token: i2.Router }, { token: i2.ActivatedRoute }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: AuthCallbackComponent, selector: \"classifieds-ui-auth-callback\", ngImport: i0, template: \"<p>auth-callback works!</p>\\n\", styles: [\"\"] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AuthCallbackComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-auth-callback', template: \"<p>auth-callback works!</p>\\n\" }]\n }], ctorParameters: function () { return [{ type: AuthFacade }, { type: i2.Router }, { type: i2.ActivatedRoute }, { type: Object, decorators: [{\n type: Inject,\n args: [PLATFORM_ID]\n }] }]; } });\n\nclass AuthModule {\n constructor(eds) {\n eds.registerMetadataMap(entityMetadata);\n }\n static forRoot() {\n return {\n ngModule: AuthModule,\n providers: [\n AuthFacade\n ]\n };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AuthModule, deps: [{ token: i1$1.EntityDefinitionService }], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: AuthModule, declarations: [AuthCallbackComponent], imports: [CommonModule, i1.StoreFeatureModule], exports: [AuthCallbackComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AuthModule, imports: [CommonModule,\n // HttpClientModule,\n StoreModule.forFeature(AUTH_FEATURE_KEY, reducer)] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AuthModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [AuthCallbackComponent],\n imports: [\n CommonModule,\n // HttpClientModule,\n StoreModule.forFeature(AUTH_FEATURE_KEY, reducer),\n // EffectsModule.forFeature([AuthEffects])\n ],\n exports: [AuthCallbackComponent]\n }]\n }], ctorParameters: function () { return [{ type: i1$1.EntityDefinitionService }]; } });\n\nclass LogoutInterceptor {\n constructor(authFacade, router) {\n this.authFacade = authFacade;\n this.router = router;\n }\n intercept(req, next) {\n return next.handle(req).pipe(tap({\n error: (e) => {\n if (e.status === 401) {\n // This breaks the server application remove for now.\n // this.authFacade.logout();\n // alert('You have been automatically logged out due to inactivity. Please login again.');\n //this.router.navigateByUrl('/');\n }\n }\n }));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: LogoutInterceptor, deps: [{ token: AuthFacade }, { token: i2.Router }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: LogoutInterceptor }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: LogoutInterceptor, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: AuthFacade }, { type: i2.Router }]; } });\n\nclass UserInfo {\n constructor(data) {\n if (data) {\n this.sub = data.sub;\n }\n }\n}\nclass PublicUserProfile {\n constructor(data) {\n if (data) {\n this.id = data.id;\n this.userName = data.userName;\n }\n }\n}\n\nclass Cookie {\n constructor(data) {\n if (data) {\n this.name = data.name;\n this.value = data.value;\n }\n }\n}\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { auth_actions as AuthActions, AuthCallbackComponent, AuthFacade, auth_reducer as AuthFeature, AuthModule, auth_selectors as AuthSelectors, Cookie, LogoutInterceptor, PublicUserProfile, UserInfo };\n","import { InjectionToken } from '@angular/core';\n\nconst REQUEST = new InjectionToken('REQUEST');\nconst RESPONSE = new InjectionToken('RESPONSE');\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { REQUEST, RESPONSE };\n","import * as i0 from '@angular/core';\nimport { Injectable, InjectionToken, PLATFORM_ID, Injector, APP_INITIALIZER, NgModule } from '@angular/core';\nimport * as i1 from '@ngrx/effects';\nimport { createEffect, ofType, EffectsModule } from '@ngrx/effects';\nimport { isPlatformBrowser, isPlatformServer } from '@angular/common';\nimport * as Cookies from 'js-cookie';\nimport { toNumber } from 'number-string';\nimport * as i2 from '@angular/platform-browser';\nimport { makeStateKey, TransferState } from '@angular/platform-browser';\nimport * as i2$1 from 'oidc-client';\nimport { UserManager, WebStorageStateStore } from 'oidc-client';\nimport { REQUEST } from '@nguniversal/express-engine/tokens';\nimport * as i3 from '@ngrx/data';\nimport { ofEntityType, ofEntityOp, EntityOp } from '@ngrx/data';\nimport { tap, switchMap, take, concatMap } from 'rxjs/operators';\nimport * as i1$1 from '@rollthecloudinc/auth';\nimport { AuthActions, AuthFacade, AuthModule } from '@rollthecloudinc/auth';\nimport { Observable } from 'rxjs';\n\nclass ClientSettings {\n constructor(data) {\n if (data) {\n this.authority = data.authority;\n this.client_id = data.client_id;\n this.redirect_uri = data.redirect_uri;\n this.silent_redirect_uri = data.silent_redirect_uri;\n this.response_type = data.response_type;\n this.scope = data.scope;\n this.filterProtocolClaims = data.filterProtocolClaims;\n this.loadUserInfo = data.loadUserInfo;\n this.automaticSilentRenew = data.automaticSilentRenew;\n this.metadata = { ...data.metadata };\n this.userStore = data.userStore ? data.userStore : undefined;\n this.stateStore = data.userStore ? data.stateStore : undefined;\n }\n }\n}\n\nconst AUTH_KEY = makeStateKey('auth');\nclass AuthWebStorageService {\n // private res: Response;\n set request(req) {\n this.req = req;\n }\n /*set response(res: Response) {\n this.res = res;\n }*/\n constructor(clientSettings, platformId, transferState) {\n this.clientSettings = clientSettings;\n this.platformId = platformId;\n this.transferState = transferState;\n this.data = {};\n this.isBrowser = isPlatformBrowser(this.platformId);\n this.cookieMap = { oa: 'access_token', oi: 'id_token', or: 'refresh_token', os: 'scope', oe: 'expires_at', op: 'profile' };\n this.tokenKey = `oidc.user:${this.clientSettings.authority}:${this.clientSettings.client_id}`;\n }\n init() {\n if (this.isBrowser) {\n if (sessionStorage.getItem(this.tokenKey)) {\n this.setItem(this.tokenKey, sessionStorage.getItem(this.tokenKey));\n }\n else if (this.transferState.hasKey(AUTH_KEY)) {\n const value = this.transferState.get(AUTH_KEY, undefined);\n if (value) {\n this.setItem(this.tokenKey, value);\n }\n }\n else {\n for (let i = 0; i < sessionStorage.length; i++) {\n const key = sessionStorage.key(i);\n this.setItem(key, sessionStorage.getItem(key));\n }\n }\n }\n else {\n const token = { token_type: 'Bearer' };\n let expires;\n Object.getOwnPropertyNames(this.cookieMap).forEach(k => {\n let value = this.getCookie(k);\n if (value && value !== '') {\n value = this.translateFromCookieValue(k, value);\n if (k === 'oe') {\n expires = value;\n }\n else {\n token[this.cookieMap[k]] = value;\n }\n }\n });\n if (token.access_token) {\n this.data[this.tokenKey] = JSON.stringify(token);\n this.transferState.set(AUTH_KEY, JSON.stringify({ ...token, expires_at: expires }));\n }\n }\n }\n getItem(key) {\n return this.data[key];\n }\n setItem(key, value) {\n if (key === this.tokenKey) {\n const data = JSON.parse(value);\n Object.getOwnPropertyNames(this.cookieMap).forEach(k => {\n this.setCookie(k, this.translateCookieValue(k, data[this.cookieMap[k]]));\n });\n }\n if (this.isBrowser) {\n sessionStorage.setItem(key, value);\n }\n this.data[key] = value;\n }\n removeItem(key) {\n this.removeCookie(key);\n if (this.isBrowser) {\n sessionStorage.removeItem(key);\n }\n delete this.data[key];\n }\n get length() {\n return Object.getOwnPropertyNames(this.data).length;\n }\n key(index) {\n console.log(`index()`);\n return Object.getOwnPropertyNames(this.data)[index];\n }\n getCookie(key) {\n if (this.isBrowser) {\n return Cookies.get(key);\n }\n else if (this.req) {\n return this.req.cookies[key] ?? '';\n }\n }\n setCookie(key, value) {\n if (this.isBrowser) {\n Cookies.set(key, value);\n }\n else {\n // this.res.cookie(key, value);\n }\n }\n removeCookie(key) {\n if (this.isBrowser) {\n Cookies.remove(key);\n }\n else {\n // this.res.cookie(key, value);\n }\n }\n translateCookieValue(key, value) {\n switch (key) {\n case 'os':\n return value.split(' ').join('|');\n case 'oe':\n return `${value}`;\n case 'op':\n return JSON.stringify(value);\n default:\n return value;\n }\n }\n translateFromCookieValue(key, value) {\n switch (key) {\n case 'os':\n return value.split('|').join(' ');\n case 'oe':\n return toNumber(value);\n case 'op':\n return JSON.parse(value);\n default:\n return value;\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AuthWebStorageService, deps: [{ token: ClientSettings }, { token: Object }, { token: i2.TransferState }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AuthWebStorageService }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AuthWebStorageService, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: ClientSettings }, { type: Object }, { type: i2.TransferState }]; } });\n\nconst userManagerFactory = (clientSettings, authWebStorage) => {\n const userManager = new UserManager(new ClientSettings({\n ...clientSettings,\n stateStore: new WebStorageStateStore({ store: authWebStorage }),\n userStore: new WebStorageStateStore({ store: authWebStorage })\n }));\n return userManager;\n};\nconst initAuthFactory = (userManager, authFacade, platformId) => {\n return () => {\n return new Promise(res => {\n userManager.getUser().then(u => {\n if (u) {\n authFacade.setUser(u);\n setTimeout(() => res());\n }\n else {\n res();\n }\n });\n });\n };\n};\nconst authWebStorageFactory = (clientSettings, platformId, injector, transferState) => {\n const svc = new AuthWebStorageService(clientSettings, platformId, transferState);\n /**\n * @todo: This is only thing breaking lambda. For some reason this causes lambda to fail.\n * However, once commented out lambda runs fine but loose auth context on server.\n */\n if (isPlatformServer(platformId)) {\n try {\n svc.request = injector.get(REQUEST);\n }\n catch (e) {\n }\n // svc.request = injector.injector.get(REQUEST);\n // svc.response = injector.get(RESPONSE);\n }\n svc.init();\n return svc;\n};\n\nclass OidcAuthEffects {\n constructor(actions$, userManager, entityActionFactory) {\n this.actions$ = actions$;\n this.userManager = userManager;\n this.entityActionFactory = entityActionFactory;\n this.login$ = createEffect(() => this.actions$.pipe(ofType(AuthActions.AuthActionTypes.Login), tap(() => {\n this.userManager.signinRedirect();\n })), { dispatch: false });\n this.logout$ = createEffect(() => this.actions$.pipe(ofType(AuthActions.AuthActionTypes.Logout), tap(() => {\n this.userManager.signoutRedirect();\n })), { dispatch: false });\n this.completeAuthentication$ = createEffect(() => this.actions$.pipe(ofType(AuthActions.AuthActionTypes.CompleteAuthentication), switchMap(() => new Observable(sub => {\n this.userManager.signinRedirectCallback().then(user => {\n sub.next(new AuthActions.SetUser(user));\n sub.complete();\n });\n }))));\n /*setUser = createEffect(() =>\n this.actions$.pipe(\n ofType(AuthActionTypes.SetUser),\n map(() => this.entityActionFactory.create<Cookie>('Cookie', EntityOp.QUERY_ALL))\n )\n );*/\n this.loadCookies$ = createEffect(() => this.actions$.pipe(ofEntityType('Cookie'), ofEntityOp([EntityOp.QUERY_ALL_SUCCESS]), tap(action => console.log(action.payload.data)), tap(action => {\n // action.payload.data.forEach(c => Cookies.set(c.name, c.value, { expires: new Date(new Date().getTime() + 1 * 3600 * 1000) }));\n })), { dispatch: false });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: OidcAuthEffects, deps: [{ token: i1.Actions }, { token: i2$1.UserManager }, { token: i3.EntityActionFactory }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: OidcAuthEffects }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: OidcAuthEffects, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: i1.Actions }, { type: i2$1.UserManager }, { type: i3.EntityActionFactory }]; } });\n\nconst entityMetadata = {\n Cookie: {\n entityName: 'Cookie'\n }\n};\n\nconst CLIENT_SETTINGS = new InjectionToken('ClientSettings');\n\nclass OidcModule {\n constructor(eds) {\n eds.registerMetadataMap(entityMetadata);\n }\n static forRoot() {\n return {\n ngModule: OidcModule,\n providers: [\n { provide: AuthWebStorageService, useFactory: authWebStorageFactory, deps: [CLIENT_SETTINGS, PLATFORM_ID, Injector, TransferState] },\n { provide: UserManager, useFactory: userManagerFactory, deps: [CLIENT_SETTINGS, AuthWebStorageService] },\n { provide: APP_INITIALIZER, useFactory: initAuthFactory, multi: true, deps: [UserManager, AuthFacade, PLATFORM_ID] }\n ]\n };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: OidcModule, deps: [{ token: i3.EntityDefinitionService }], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: OidcModule, imports: [AuthModule, i1.EffectsFeatureModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: OidcModule, imports: [AuthModule,\n EffectsModule.forFeature([OidcAuthEffects])] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: OidcModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [],\n imports: [\n AuthModule,\n EffectsModule.forFeature([OidcAuthEffects])\n ],\n exports: []\n }]\n }], ctorParameters: function () { return [{ type: i3.EntityDefinitionService }]; } });\n\nclass TokenInterceptor {\n constructor(authFacade /*, private oktaAuth: OktaAuthService*/) {\n this.authFacade = authFacade;\n }\n intercept(req, next) {\n return this.authFacade.idToken$ /*this.getAccessToken()*/.pipe(take(1), concatMap(t => {\n let headers = req.headers;\n if (req.url.indexOf('/awproxy') !== -1) {\n // headers = headers.delete('cookie');\n }\n if (t && req.url.indexOf('github') === -1 && req.url.indexOf('cloudfront') === -1 && req.url.indexOf('cloudinary') === -1 && req.url.indexOf('carquery') === -1 && req.url.indexOf('gateway.marvel.com') === -1 && req.url.indexOf('hereapi.com') === -1 && req.url.indexOf('.es.') === -1 && req.url.indexOf('.s3.') === -1 && req.url.indexOf('/awproxy') === -1) {\n headers = headers.set('Authorization', t);\n const authReq = req.clone({\n // headers: req.headers.set('Authorization', `Bearer ${t}`)\n headers\n });\n return next.handle(authReq);\n }\n else {\n const cReq = req.clone({ headers });\n return next.handle(cReq);\n }\n }));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: TokenInterceptor, deps: [{ token: i1$1.AuthFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: TokenInterceptor }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: TokenInterceptor, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: i1$1.AuthFacade }]; } });\n\n/*\n * Public API Surface of oidc\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { CLIENT_SETTINGS, ClientSettings, OidcModule, TokenInterceptor };\n","import { EmptyError } from './util/EmptyError';\nimport { SafeSubscriber } from './Subscriber';\nexport function firstValueFrom(source, config) {\n const hasConfig = typeof config === 'object';\n return new Promise((resolve, reject) => {\n const subscriber = new SafeSubscriber({\n next: (value) => {\n resolve(value);\n subscriber.unsubscribe();\n },\n error: reject,\n complete: () => {\n if (hasConfig) {\n resolve(config.defaultValue);\n }\n else {\n reject(new EmptyError());\n }\n },\n });\n source.subscribe(subscriber);\n });\n}\n","import * as i0 from '@angular/core';\nimport { Injectable, NgModule, InjectionToken } from '@angular/core';\nimport * as i1 from '@ngrx/effects';\nimport { createEffect, ofType, EffectsModule } from '@ngrx/effects';\nimport * as i2 from '@ngrx/data';\nimport { EntityOp, ofEntityType, ofEntityOp } from '@ngrx/data';\nimport { map, tap } from 'rxjs/operators';\nimport { AuthActions } from '@rollthecloudinc/auth';\nimport * as Cookies from 'js-cookie';\n\nclass CognitoAuthEffects {\n constructor(actions$, entityActionFactory) {\n this.actions$ = actions$;\n this.entityActionFactory = entityActionFactory;\n this.setUser = createEffect(() => this.actions$.pipe(ofType(AuthActions.AuthActionTypes.SetUser), map(() => this.entityActionFactory.create('Cookie', EntityOp.QUERY_ALL))));\n this.loadCookies$ = createEffect(() => this.actions$.pipe(ofEntityType('Cookie'), ofEntityOp([EntityOp.QUERY_ALL_SUCCESS]), tap(action => console.log(action.payload.data)), tap(action => {\n action.payload.data.forEach(c => Cookies.set(c.name, c.value, { expires: new Date(new Date().getTime() + 1 * 3600 * 1000) }));\n })), { dispatch: false });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: CognitoAuthEffects, deps: [{ token: i1.Actions }, { token: i2.EntityActionFactory }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: CognitoAuthEffects }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: CognitoAuthEffects, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: i1.Actions }, { type: i2.EntityActionFactory }]; } });\n\nclass AwcogModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AwcogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: AwcogModule, imports: [i1.EffectsFeatureModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AwcogModule, imports: [EffectsModule.forFeature([CognitoAuthEffects])] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AwcogModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [],\n imports: [\n EffectsModule.forFeature([CognitoAuthEffects])\n ],\n exports: []\n }]\n }] });\n\nclass CognitoSettings {\n constructor(data) {\n if (data) {\n this.identityPoolId = data.identityPoolId;\n this.region = data.region;\n this.userPoolId = data.userPoolId;\n }\n }\n}\n\nconst COGNITO_SETTINGS = new InjectionToken('CognitoSettings');\n\n/*\n * Public API Surface of awcog\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { AwcogModule, COGNITO_SETTINGS, CognitoSettings };\n","export default function _asyncIterator(iterable) {\n var method,\n async,\n sync,\n retry = 2;\n for (\"undefined\" != typeof Symbol && (async = Symbol.asyncIterator, sync = Symbol.iterator); retry--;) {\n if (async && null != (method = iterable[async])) return method.call(iterable);\n if (sync && null != (method = iterable[sync])) return new AsyncFromSyncIterator(method.call(iterable));\n async = \"@@asyncIterator\", sync = \"@@iterator\";\n }\n throw new TypeError(\"Object is not async iterable\");\n}\nfunction AsyncFromSyncIterator(s) {\n function AsyncFromSyncIteratorContinuation(r) {\n if (Object(r) !== r) return Promise.reject(new TypeError(r + \" is not an object.\"));\n var done = r.done;\n return Promise.resolve(r.value).then(function (value) {\n return {\n value: value,\n done: done\n };\n });\n }\n return AsyncFromSyncIterator = function AsyncFromSyncIterator(s) {\n this.s = s, this.n = s.next;\n }, AsyncFromSyncIterator.prototype = {\n s: null,\n n: null,\n next: function next() {\n return AsyncFromSyncIteratorContinuation(this.n.apply(this.s, arguments));\n },\n \"return\": function _return(value) {\n var ret = this.s[\"return\"];\n return void 0 === ret ? Promise.resolve({\n value: value,\n done: !0\n }) : AsyncFromSyncIteratorContinuation(ret.apply(this.s, arguments));\n },\n \"throw\": function _throw(value) {\n var thr = this.s[\"return\"];\n return void 0 === thr ? Promise.reject(value) : AsyncFromSyncIteratorContinuation(thr.apply(this.s, arguments));\n }\n }, new AsyncFromSyncIterator(s);\n}","export class AbortSignal {\n constructor() {\n this.onabort = null;\n this._aborted = false;\n Object.defineProperty(this, \"_aborted\", {\n value: false,\n writable: true,\n });\n }\n get aborted() {\n return this._aborted;\n }\n abort() {\n this._aborted = true;\n if (this.onabort) {\n this.onabort(this);\n this.onabort = null;\n }\n }\n}\n","import { AbortSignal } from \"./AbortSignal\";\nexport class AbortController {\n constructor() {\n this.signal = new AbortSignal();\n }\n abort() {\n this.signal.abort();\n }\n}\n","export const resolveParamsForS3 = async (endpointParams) => {\n const bucket = endpointParams?.Bucket || \"\";\n if (typeof endpointParams.Bucket === \"string\") {\n endpointParams.Bucket = bucket.replace(/#/g, encodeURIComponent(\"#\")).replace(/\\?/g, encodeURIComponent(\"?\"));\n }\n if (isArnBucketName(bucket)) {\n if (endpointParams.ForcePathStyle === true) {\n throw new Error(\"Path-style addressing cannot be used with ARN buckets\");\n }\n }\n else if (!isDnsCompatibleBucketName(bucket) ||\n (bucket.indexOf(\".\") !== -1 && !String(endpointParams.Endpoint).startsWith(\"http:\")) ||\n bucket.toLowerCase() !== bucket ||\n bucket.length < 3) {\n endpointParams.ForcePathStyle = true;\n }\n if (endpointParams.DisableMultiRegionAccessPoints) {\n endpointParams.disableMultiRegionAccessPoints = true;\n endpointParams.DisableMRAP = true;\n }\n return endpointParams;\n};\nconst DOMAIN_PATTERN = /^[a-z0-9][a-z0-9\\.\\-]{1,61}[a-z0-9]$/;\nconst IP_ADDRESS_PATTERN = /(\\d+\\.){3}\\d+/;\nconst DOTS_PATTERN = /\\.\\./;\nexport const DOT_PATTERN = /\\./;\nexport const S3_HOSTNAME_PATTERN = /^(.+\\.)?s3(-fips)?(\\.dualstack)?[.-]([a-z0-9-]+)\\./;\nexport const isDnsCompatibleBucketName = (bucketName) => DOMAIN_PATTERN.test(bucketName) && !IP_ADDRESS_PATTERN.test(bucketName) && !DOTS_PATTERN.test(bucketName);\nexport const isArnBucketName = (bucketName) => {\n const [arn, partition, service, region, account, typeOrId] = bucketName.split(\":\");\n const isArn = arn === \"arn\" && bucketName.split(\":\").length >= 6;\n const isValidArn = [arn, partition, service, account, typeOrId].filter(Boolean).length === 5;\n if (isArn && !isValidArn) {\n throw new Error(`Invalid ARN: ${bucketName} was an invalid ARN.`);\n }\n return arn === \"arn\" && !!partition && !!service && !!account && !!typeOrId;\n};\n","export const createConfigValueProvider = (configKey, canonicalEndpointParamKey, config) => {\n const configProvider = async () => {\n const configValue = config[configKey] ?? config[canonicalEndpointParamKey];\n if (typeof configValue === \"function\") {\n return configValue();\n }\n return configValue;\n };\n if (configKey === \"endpoint\" || canonicalEndpointParamKey === \"endpoint\") {\n return async () => {\n const endpoint = await configProvider();\n if (endpoint && typeof endpoint === \"object\") {\n if (\"url\" in endpoint) {\n return endpoint.url.href;\n }\n if (\"hostname\" in endpoint) {\n const { protocol, hostname, port, path } = endpoint;\n return `${protocol}//${hostname}${port ? \":\" + port : \"\"}${path}`;\n }\n }\n return endpoint;\n };\n }\n return configProvider;\n};\n","import { resolveParamsForS3 } from \"../service-customizations\";\nimport { createConfigValueProvider } from \"./createConfigValueProvider\";\nexport const getEndpointFromInstructions = async (commandInput, instructionsSupplier, clientConfig, context) => {\n const endpointParams = await resolveParams(commandInput, instructionsSupplier, clientConfig);\n if (typeof clientConfig.endpointProvider !== \"function\") {\n throw new Error(\"config.endpointProvider is not set.\");\n }\n const endpoint = clientConfig.endpointProvider(endpointParams, context);\n return endpoint;\n};\nexport const resolveParams = async (commandInput, instructionsSupplier, clientConfig) => {\n const endpointParams = {};\n const instructions = instructionsSupplier?.getEndpointParameterInstructions?.() || {};\n for (const [name, instruction] of Object.entries(instructions)) {\n switch (instruction.type) {\n case \"staticContextParams\":\n endpointParams[name] = instruction.value;\n break;\n case \"contextParams\":\n endpointParams[name] = commandInput[instruction.name];\n break;\n case \"clientContextParams\":\n case \"builtInParams\":\n endpointParams[name] = await createConfigValueProvider(instruction.name, name, clientConfig)();\n break;\n default:\n throw new Error(\"Unrecognized endpoint parameter instruction: \" + JSON.stringify(instruction));\n }\n }\n if (Object.keys(instructions).length === 0) {\n Object.assign(endpointParams, clientConfig);\n }\n if (String(clientConfig.serviceId).toLowerCase() === \"s3\") {\n await resolveParamsForS3(endpointParams);\n }\n return endpointParams;\n};\n","import { parseQueryString } from \"@aws-sdk/querystring-parser\";\nexport const parseUrl = (url) => {\n if (typeof url === \"string\") {\n return parseUrl(new URL(url));\n }\n const { hostname, pathname, port, protocol, search } = url;\n let query;\n if (search) {\n query = parseQueryString(search);\n }\n return {\n hostname,\n port: port ? parseInt(port) : undefined,\n protocol,\n path: pathname,\n query,\n };\n};\n","export function parseQueryString(querystring) {\n const query = {};\n querystring = querystring.replace(/^\\?/, \"\");\n if (querystring) {\n for (const pair of querystring.split(\"&\")) {\n let [key, value = null] = pair.split(\"=\");\n key = decodeURIComponent(key);\n if (value) {\n value = decodeURIComponent(value);\n }\n if (!(key in query)) {\n query[key] = value;\n }\n else if (Array.isArray(query[key])) {\n query[key].push(value);\n }\n else {\n query[key] = [query[key], value];\n }\n }\n }\n return query;\n}\n","import { parseUrl } from \"@aws-sdk/url-parser\";\nexport const toEndpointV1 = (endpoint) => {\n if (typeof endpoint === \"object\") {\n if (\"url\" in endpoint) {\n return parseUrl(endpoint.url);\n }\n return endpoint;\n }\n return parseUrl(endpoint);\n};\n","import { deserializerMiddleware } from \"./deserializerMiddleware\";\nimport { serializerMiddleware } from \"./serializerMiddleware\";\nexport const deserializerMiddlewareOption = {\n name: \"deserializerMiddleware\",\n step: \"deserialize\",\n tags: [\"DESERIALIZER\"],\n override: true,\n};\nexport const serializerMiddlewareOption = {\n name: \"serializerMiddleware\",\n step: \"serialize\",\n tags: [\"SERIALIZER\"],\n override: true,\n};\nexport function getSerdePlugin(config, serializer, deserializer) {\n return {\n applyToStack: (commandStack) => {\n commandStack.add(deserializerMiddleware(config, deserializer), deserializerMiddlewareOption);\n commandStack.add(serializerMiddleware(config, serializer), serializerMiddlewareOption);\n },\n };\n}\n","export const deserializerMiddleware = (options, deserializer) => (next, context) => async (args) => {\n const { response } = await next(args);\n try {\n const parsed = await deserializer(response, options);\n return {\n response,\n output: parsed,\n };\n }\n catch (error) {\n Object.defineProperty(error, \"$response\", {\n value: response,\n });\n if (!('$metadata' in error)) {\n const hint = `Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`;\n error.message += \"\\n \" + hint;\n }\n throw error;\n }\n};\n","export const serializerMiddleware = (options, serializer) => (next, context) => async (args) => {\n const endpoint = context.endpointV2?.url && options.urlParser\n ? async () => options.urlParser(context.endpointV2.url)\n : options.endpoint;\n if (!endpoint) {\n throw new Error(\"No valid endpoint provider available.\");\n }\n const request = await serializer(args.input, { ...options, endpoint });\n return next({\n ...args,\n request,\n });\n};\n","import { getEndpointFromInstructions } from \"./adaptors/getEndpointFromInstructions\";\nexport const endpointMiddleware = ({ config, instructions, }) => {\n return (next, context) => async (args) => {\n const endpoint = await getEndpointFromInstructions(args.input, {\n getEndpointParameterInstructions() {\n return instructions;\n },\n }, { ...config }, context);\n context.endpointV2 = endpoint;\n context.authSchemes = endpoint.properties?.authSchemes;\n const authScheme = context.authSchemes?.[0];\n if (authScheme) {\n context[\"signing_region\"] = authScheme.signingRegion;\n context[\"signing_service\"] = authScheme.signingName;\n }\n return next({\n ...args,\n });\n };\n};\n","import { serializerMiddlewareOption } from \"@aws-sdk/middleware-serde\";\nimport { endpointMiddleware } from \"./endpointMiddleware\";\nexport const endpointMiddlewareOptions = {\n step: \"serialize\",\n tags: [\"ENDPOINT_PARAMETERS\", \"ENDPOINT_V2\", \"ENDPOINT\"],\n name: \"endpointV2Middleware\",\n override: true,\n relation: \"before\",\n toMiddleware: serializerMiddlewareOption.name,\n};\nexport const getEndpointPlugin = (config, instructions) => ({\n applyToStack: (clientStack) => {\n clientStack.addRelativeTo(endpointMiddleware({\n config,\n instructions,\n }), endpointMiddlewareOptions);\n },\n});\n","export const normalizeProvider = (input) => {\n if (typeof input === \"function\")\n return input;\n const promisified = Promise.resolve(input);\n return () => promisified;\n};\n","import { normalizeProvider } from \"@aws-sdk/util-middleware\";\nimport { toEndpointV1 } from \"./adaptors/toEndpointV1\";\nexport const resolveEndpointConfig = (input) => {\n const tls = input.tls ?? true;\n const { endpoint } = input;\n const customEndpointProvider = endpoint != null ? async () => toEndpointV1(await normalizeProvider(endpoint)()) : undefined;\n const isCustomEndpoint = !!endpoint;\n return {\n ...input,\n endpoint: customEndpointProvider,\n tls,\n isCustomEndpoint,\n useDualstackEndpoint: normalizeProvider(input.useDualstackEndpoint ?? false),\n useFipsEndpoint: normalizeProvider(input.useFipsEndpoint ?? false),\n };\n};\n","export class HttpRequest {\n constructor(options) {\n this.method = options.method || \"GET\";\n this.hostname = options.hostname || \"localhost\";\n this.port = options.port;\n this.query = options.query || {};\n this.headers = options.headers || {};\n this.body = options.body;\n this.protocol = options.protocol\n ? options.protocol.slice(-1) !== \":\"\n ? `${options.protocol}:`\n : options.protocol\n : \"https:\";\n this.path = options.path ? (options.path.charAt(0) !== \"/\" ? `/${options.path}` : options.path) : \"/\";\n this.username = options.username;\n this.password = options.password;\n this.fragment = options.fragment;\n }\n static isInstance(request) {\n if (!request)\n return false;\n const req = request;\n return (\"method\" in req &&\n \"protocol\" in req &&\n \"hostname\" in req &&\n \"path\" in req &&\n typeof req[\"query\"] === \"object\" &&\n typeof req[\"headers\"] === \"object\");\n }\n clone() {\n const cloned = new HttpRequest({\n ...this,\n headers: { ...this.headers },\n });\n if (cloned.query)\n cloned.query = cloneQuery(cloned.query);\n return cloned;\n }\n}\nfunction cloneQuery(query) {\n return Object.keys(query).reduce((carry, paramName) => {\n const param = query[paramName];\n return {\n ...carry,\n [paramName]: Array.isArray(param) ? [...param] : param,\n };\n }, {});\n}\n","export var ChecksumAlgorithm;\n(function (ChecksumAlgorithm) {\n ChecksumAlgorithm[\"MD5\"] = \"MD5\";\n ChecksumAlgorithm[\"CRC32\"] = \"CRC32\";\n ChecksumAlgorithm[\"CRC32C\"] = \"CRC32C\";\n ChecksumAlgorithm[\"SHA1\"] = \"SHA1\";\n ChecksumAlgorithm[\"SHA256\"] = \"SHA256\";\n})(ChecksumAlgorithm || (ChecksumAlgorithm = {}));\nexport var ChecksumLocation;\n(function (ChecksumLocation) {\n ChecksumLocation[\"HEADER\"] = \"header\";\n ChecksumLocation[\"TRAILER\"] = \"trailer\";\n})(ChecksumLocation || (ChecksumLocation = {}));\n","import { ChecksumAlgorithm } from \"./constants\";\nexport const CLIENT_SUPPORTED_ALGORITHMS = [\n ChecksumAlgorithm.CRC32,\n ChecksumAlgorithm.CRC32C,\n ChecksumAlgorithm.SHA1,\n ChecksumAlgorithm.SHA256,\n];\nexport const PRIORITY_ORDER_ALGORITHMS = [\n ChecksumAlgorithm.CRC32,\n ChecksumAlgorithm.CRC32C,\n ChecksumAlgorithm.SHA1,\n ChecksumAlgorithm.SHA256,\n];\n","import { ChecksumAlgorithm } from \"./constants\";\nimport { CLIENT_SUPPORTED_ALGORITHMS } from \"./types\";\nexport const getChecksumAlgorithmForRequest = (input, { requestChecksumRequired, requestAlgorithmMember }) => {\n if (!requestAlgorithmMember || !input[requestAlgorithmMember]) {\n return requestChecksumRequired ? ChecksumAlgorithm.MD5 : undefined;\n }\n const checksumAlgorithm = input[requestAlgorithmMember];\n if (!CLIENT_SUPPORTED_ALGORITHMS.includes(checksumAlgorithm)) {\n throw new Error(`The checksum algorithm \"${checksumAlgorithm}\" is not supported by the client.` +\n ` Select one of ${CLIENT_SUPPORTED_ALGORITHMS}.`);\n }\n return checksumAlgorithm;\n};\n","import { ChecksumAlgorithm } from \"./constants\";\nexport const getChecksumLocationName = (algorithm) => algorithm === ChecksumAlgorithm.MD5 ? \"content-md5\" : `x-amz-checksum-${algorithm.toLowerCase()}`;\n","export const hasHeader = (header, headers) => {\n const soughtHeader = header.toLowerCase();\n for (const headerName of Object.keys(headers)) {\n if (soughtHeader === headerName.toLowerCase()) {\n return true;\n }\n }\n return false;\n};\n","export const isArrayBuffer = (arg) => (typeof ArrayBuffer === \"function\" && arg instanceof ArrayBuffer) ||\n Object.prototype.toString.call(arg) === \"[object ArrayBuffer]\";\n","import { isArrayBuffer } from \"@aws-sdk/is-array-buffer\";\nexport const isStreaming = (body) => body !== undefined && typeof body !== \"string\" && !ArrayBuffer.isView(body) && !isArrayBuffer(body);\n","import { AwsCrc32 } from \"@aws-crypto/crc32\";\nimport { AwsCrc32c } from \"@aws-crypto/crc32c\";\nimport { ChecksumAlgorithm } from \"./constants\";\nexport const selectChecksumAlgorithmFunction = (checksumAlgorithm, config) => ({\n [ChecksumAlgorithm.MD5]: config.md5,\n [ChecksumAlgorithm.CRC32]: AwsCrc32,\n [ChecksumAlgorithm.CRC32C]: AwsCrc32c,\n [ChecksumAlgorithm.SHA1]: config.sha1,\n [ChecksumAlgorithm.SHA256]: config.sha256,\n}[checksumAlgorithm]);\n","export const fromUtf8 = (input) => new TextEncoder().encode(input);\n","import { fromUtf8 } from \"./fromUtf8\";\nexport const toUint8Array = (data) => {\n if (typeof data === \"string\") {\n return fromUtf8(data);\n }\n if (ArrayBuffer.isView(data)) {\n return new Uint8Array(data.buffer, data.byteOffset, data.byteLength / Uint8Array.BYTES_PER_ELEMENT);\n }\n return new Uint8Array(data);\n};\n","import { toUint8Array } from \"@aws-sdk/util-utf8\";\nexport const stringHasher = (checksumAlgorithmFn, body) => {\n const hash = new checksumAlgorithmFn();\n hash.update(toUint8Array(body || \"\"));\n return hash.digest();\n};\n","import { isStreaming } from \"./isStreaming\";\nimport { stringHasher } from \"./stringHasher\";\nexport const getChecksum = async (body, { streamHasher, checksumAlgorithmFn, base64Encoder }) => {\n const digest = isStreaming(body) ? streamHasher(checksumAlgorithmFn, body) : stringHasher(checksumAlgorithmFn, body);\n return base64Encoder(await digest);\n};\n","import { CLIENT_SUPPORTED_ALGORITHMS, PRIORITY_ORDER_ALGORITHMS } from \"./types\";\nexport const getChecksumAlgorithmListForResponse = (responseAlgorithms = []) => {\n const validChecksumAlgorithms = [];\n for (const algorithm of PRIORITY_ORDER_ALGORITHMS) {\n if (!responseAlgorithms.includes(algorithm) || !CLIENT_SUPPORTED_ALGORITHMS.includes(algorithm)) {\n continue;\n }\n validChecksumAlgorithms.push(algorithm);\n }\n return validChecksumAlgorithms;\n};\n","import { getChecksum } from \"./getChecksum\";\nimport { getChecksumAlgorithmListForResponse } from \"./getChecksumAlgorithmListForResponse\";\nimport { getChecksumLocationName } from \"./getChecksumLocationName\";\nimport { selectChecksumAlgorithmFunction } from \"./selectChecksumAlgorithmFunction\";\nexport const validateChecksumFromResponse = async (response, { config, responseAlgorithms }) => {\n const checksumAlgorithms = getChecksumAlgorithmListForResponse(responseAlgorithms);\n const { body: responseBody, headers: responseHeaders } = response;\n for (const algorithm of checksumAlgorithms) {\n const responseHeader = getChecksumLocationName(algorithm);\n const checksumFromResponse = responseHeaders[responseHeader];\n if (checksumFromResponse) {\n const checksumAlgorithmFn = selectChecksumAlgorithmFunction(algorithm, config);\n const { streamHasher, base64Encoder } = config;\n const checksum = await getChecksum(responseBody, { streamHasher, checksumAlgorithmFn, base64Encoder });\n if (checksum === checksumFromResponse) {\n break;\n }\n throw new Error(`Checksum mismatch: expected \"${checksum}\" but received \"${checksumFromResponse}\"` +\n ` in response header \"${responseHeader}\".`);\n }\n }\n};\n","import { flexibleChecksumsMiddleware } from \"./flexibleChecksumsMiddleware\";\nexport const flexibleChecksumsMiddlewareOptions = {\n name: \"flexibleChecksumsMiddleware\",\n step: \"build\",\n tags: [\"BODY_CHECKSUM\"],\n override: true,\n};\nexport const getFlexibleChecksumsPlugin = (config, middlewareConfig) => ({\n applyToStack: (clientStack) => {\n clientStack.add(flexibleChecksumsMiddleware(config, middlewareConfig), flexibleChecksumsMiddlewareOptions);\n },\n});\n","import { HttpRequest } from \"@aws-sdk/protocol-http\";\nimport { getChecksumAlgorithmForRequest } from \"./getChecksumAlgorithmForRequest\";\nimport { getChecksumLocationName } from \"./getChecksumLocationName\";\nimport { hasHeader } from \"./hasHeader\";\nimport { isStreaming } from \"./isStreaming\";\nimport { selectChecksumAlgorithmFunction } from \"./selectChecksumAlgorithmFunction\";\nimport { stringHasher } from \"./stringHasher\";\nimport { validateChecksumFromResponse } from \"./validateChecksumFromResponse\";\nexport const flexibleChecksumsMiddleware = (config, middlewareConfig) => (next) => async (args) => {\n if (!HttpRequest.isInstance(args.request)) {\n return next(args);\n }\n const { request } = args;\n const { body: requestBody, headers } = request;\n const { base64Encoder, streamHasher } = config;\n const { input, requestChecksumRequired, requestAlgorithmMember } = middlewareConfig;\n const checksumAlgorithm = getChecksumAlgorithmForRequest(input, {\n requestChecksumRequired,\n requestAlgorithmMember,\n });\n let updatedBody = requestBody;\n let updatedHeaders = headers;\n if (checksumAlgorithm) {\n const checksumLocationName = getChecksumLocationName(checksumAlgorithm);\n const checksumAlgorithmFn = selectChecksumAlgorithmFunction(checksumAlgorithm, config);\n if (isStreaming(requestBody)) {\n const { getAwsChunkedEncodingStream, bodyLengthChecker } = config;\n updatedBody = getAwsChunkedEncodingStream(requestBody, {\n base64Encoder,\n bodyLengthChecker,\n checksumLocationName,\n checksumAlgorithmFn,\n streamHasher,\n });\n updatedHeaders = {\n ...headers,\n \"content-encoding\": headers[\"content-encoding\"]\n ? `${headers[\"content-encoding\"]},aws-chunked`\n : \"aws-chunked\",\n \"transfer-encoding\": \"chunked\",\n \"x-amz-decoded-content-length\": headers[\"content-length\"],\n \"x-amz-content-sha256\": \"STREAMING-UNSIGNED-PAYLOAD-TRAILER\",\n \"x-amz-trailer\": checksumLocationName,\n };\n delete updatedHeaders[\"content-length\"];\n }\n else if (!hasHeader(checksumLocationName, headers)) {\n const rawChecksum = await stringHasher(checksumAlgorithmFn, requestBody);\n updatedHeaders = {\n ...headers,\n [checksumLocationName]: base64Encoder(rawChecksum),\n };\n }\n }\n const result = await next({\n ...args,\n request: {\n ...request,\n headers: updatedHeaders,\n body: updatedBody,\n },\n });\n const { requestValidationModeMember, responseAlgorithms } = middlewareConfig;\n if (requestValidationModeMember && input[requestValidationModeMember] === \"ENABLED\") {\n validateChecksumFromResponse(result.response, {\n config,\n responseAlgorithms,\n });\n }\n return result;\n};\n","import { HttpRequest } from \"@aws-sdk/protocol-http\";\nconst CONTENT_LENGTH_HEADER = \"content-length\";\nexport function checkContentLengthHeader() {\n return (next, context) => async (args) => {\n const { request } = args;\n if (HttpRequest.isInstance(request)) {\n if (!request.headers[CONTENT_LENGTH_HEADER]) {\n const message = `Are you using a Stream of unknown length as the Body of a PutObject request? Consider using Upload instead from @aws-sdk/lib-storage.`;\n if (typeof context?.logger?.warn === \"function\") {\n context.logger.warn(message);\n }\n else {\n console.warn(message);\n }\n }\n }\n return next({ ...args });\n };\n}\nexport const checkContentLengthHeaderMiddlewareOptions = {\n step: \"finalizeRequest\",\n tags: [\"CHECK_CONTENT_LENGTH_HEADER\"],\n name: \"getCheckContentLengthHeaderPlugin\",\n override: true,\n};\nexport const getCheckContentLengthHeaderPlugin = (unused) => ({\n applyToStack: (clientStack) => {\n clientStack.add(checkContentLengthHeader(), checkContentLengthHeaderMiddlewareOptions);\n },\n});\n","export class HttpResponse {\n constructor(options) {\n this.statusCode = options.statusCode;\n this.reason = options.reason;\n this.headers = options.headers || {};\n this.body = options.body;\n }\n static isInstance(response) {\n if (!response)\n return false;\n const resp = response;\n return typeof resp.statusCode === \"number\" && typeof resp.headers === \"object\";\n }\n}\n","import { HttpResponse } from \"@aws-sdk/protocol-http\";\nexport const throw200ExceptionsMiddleware = (config) => (next) => async (args) => {\n const result = await next(args);\n const { response } = result;\n if (!HttpResponse.isInstance(response))\n return result;\n const { statusCode, body } = response;\n if (statusCode < 200 || statusCode >= 300)\n return result;\n const bodyBytes = await collectBody(body, config);\n const bodyString = await collectBodyString(bodyBytes, config);\n if (bodyBytes.length === 0) {\n const err = new Error(\"S3 aborted request\");\n err.name = \"InternalError\";\n throw err;\n }\n if (bodyString && bodyString.match(\"<Error>\")) {\n response.statusCode = 400;\n }\n response.body = bodyBytes;\n return result;\n};\nconst collectBody = (streamBody = new Uint8Array(), context) => {\n if (streamBody instanceof Uint8Array) {\n return Promise.resolve(streamBody);\n }\n return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());\n};\nconst collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));\nexport const throw200ExceptionsMiddlewareOptions = {\n relation: \"after\",\n toMiddleware: \"deserializerMiddleware\",\n tags: [\"THROW_200_EXCEPTIONS\", \"S3\"],\n name: \"throw200ExceptionsMiddleware\",\n override: true,\n};\nexport const getThrow200ExceptionsPlugin = (config) => ({\n applyToStack: (clientStack) => {\n clientStack.addRelativeTo(throw200ExceptionsMiddleware(config), throw200ExceptionsMiddlewareOptions);\n },\n});\n","export const validate = (str) => typeof str === \"string\" && str.indexOf(\"arn:\") === 0 && str.split(\":\").length >= 6;\nexport const parse = (arn) => {\n const segments = arn.split(\":\");\n if (segments.length < 6 || segments[0] !== \"arn\")\n throw new Error(\"Malformed ARN\");\n const [, partition, service, region, accountId, ...resource] = segments;\n return {\n partition,\n service,\n region,\n accountId,\n resource: resource.join(\":\"),\n };\n};\nexport const build = (arnObject) => {\n const { partition = \"aws\", service, region, accountId, resource } = arnObject;\n if ([service, region, accountId, resource].some((segment) => typeof segment !== \"string\")) {\n throw new Error(\"Input ARN object is invalid\");\n }\n return `arn:${partition}:${service}:${region}:${accountId}:${resource}`;\n};\n","import { validate as validateArn } from \"@aws-sdk/util-arn-parser\";\nexport function validateBucketNameMiddleware() {\n return (next) => async (args) => {\n const { input: { Bucket }, } = args;\n if (typeof Bucket === \"string\" && !validateArn(Bucket) && Bucket.indexOf(\"/\") >= 0) {\n const err = new Error(`Bucket name shouldn't contain '/', received '${Bucket}'`);\n err.name = \"InvalidBucketName\";\n throw err;\n }\n return next({ ...args });\n };\n}\nexport const validateBucketNameMiddlewareOptions = {\n step: \"initialize\",\n tags: [\"VALIDATE_BUCKET_NAME\"],\n name: \"validateBucketNameMiddleware\",\n override: true,\n};\nexport const getValidateBucketNamePlugin = (unused) => ({\n applyToStack: (clientStack) => {\n clientStack.add(validateBucketNameMiddleware(), validateBucketNameMiddlewareOptions);\n },\n});\n","export function ssecMiddleware(options) {\n return (next) => async (args) => {\n let input = { ...args.input };\n const properties = [\n {\n target: \"SSECustomerKey\",\n hash: \"SSECustomerKeyMD5\",\n },\n {\n target: \"CopySourceSSECustomerKey\",\n hash: \"CopySourceSSECustomerKeyMD5\",\n },\n ];\n for (const prop of properties) {\n const value = input[prop.target];\n if (value) {\n const valueView = ArrayBuffer.isView(value)\n ? new Uint8Array(value.buffer, value.byteOffset, value.byteLength)\n : typeof value === \"string\"\n ? options.utf8Decoder(value)\n : new Uint8Array(value);\n const encoded = options.base64Encoder(valueView);\n const hash = new options.md5();\n hash.update(valueView);\n input = {\n ...input,\n [prop.target]: encoded,\n [prop.hash]: options.base64Encoder(await hash.digest()),\n };\n }\n }\n return next({\n ...args,\n input,\n });\n };\n}\nexport const ssecMiddlewareOptions = {\n name: \"ssecMiddleware\",\n step: \"initialize\",\n tags: [\"SSE\"],\n override: true,\n};\nexport const getSsecPlugin = (config) => ({\n applyToStack: (clientStack) => {\n clientStack.add(ssecMiddleware(config), ssecMiddlewareOptions);\n },\n});\n","export class NoOpLogger {\n trace() { }\n debug() { }\n info() { }\n warn() { }\n error() { }\n}\n","export const constructStack = () => {\n let absoluteEntries = [];\n let relativeEntries = [];\n const entriesNameSet = new Set();\n const sort = (entries) => entries.sort((a, b) => stepWeights[b.step] - stepWeights[a.step] ||\n priorityWeights[b.priority || \"normal\"] - priorityWeights[a.priority || \"normal\"]);\n const removeByName = (toRemove) => {\n let isRemoved = false;\n const filterCb = (entry) => {\n if (entry.name && entry.name === toRemove) {\n isRemoved = true;\n entriesNameSet.delete(toRemove);\n return false;\n }\n return true;\n };\n absoluteEntries = absoluteEntries.filter(filterCb);\n relativeEntries = relativeEntries.filter(filterCb);\n return isRemoved;\n };\n const removeByReference = (toRemove) => {\n let isRemoved = false;\n const filterCb = (entry) => {\n if (entry.middleware === toRemove) {\n isRemoved = true;\n if (entry.name)\n entriesNameSet.delete(entry.name);\n return false;\n }\n return true;\n };\n absoluteEntries = absoluteEntries.filter(filterCb);\n relativeEntries = relativeEntries.filter(filterCb);\n return isRemoved;\n };\n const cloneTo = (toStack) => {\n absoluteEntries.forEach((entry) => {\n toStack.add(entry.middleware, { ...entry });\n });\n relativeEntries.forEach((entry) => {\n toStack.addRelativeTo(entry.middleware, { ...entry });\n });\n return toStack;\n };\n const expandRelativeMiddlewareList = (from) => {\n const expandedMiddlewareList = [];\n from.before.forEach((entry) => {\n if (entry.before.length === 0 && entry.after.length === 0) {\n expandedMiddlewareList.push(entry);\n }\n else {\n expandedMiddlewareList.push(...expandRelativeMiddlewareList(entry));\n }\n });\n expandedMiddlewareList.push(from);\n from.after.reverse().forEach((entry) => {\n if (entry.before.length === 0 && entry.after.length === 0) {\n expandedMiddlewareList.push(entry);\n }\n else {\n expandedMiddlewareList.push(...expandRelativeMiddlewareList(entry));\n }\n });\n return expandedMiddlewareList;\n };\n const getMiddlewareList = (debug = false) => {\n const normalizedAbsoluteEntries = [];\n const normalizedRelativeEntries = [];\n const normalizedEntriesNameMap = {};\n absoluteEntries.forEach((entry) => {\n const normalizedEntry = {\n ...entry,\n before: [],\n after: [],\n };\n if (normalizedEntry.name)\n normalizedEntriesNameMap[normalizedEntry.name] = normalizedEntry;\n normalizedAbsoluteEntries.push(normalizedEntry);\n });\n relativeEntries.forEach((entry) => {\n const normalizedEntry = {\n ...entry,\n before: [],\n after: [],\n };\n if (normalizedEntry.name)\n normalizedEntriesNameMap[normalizedEntry.name] = normalizedEntry;\n normalizedRelativeEntries.push(normalizedEntry);\n });\n normalizedRelativeEntries.forEach((entry) => {\n if (entry.toMiddleware) {\n const toMiddleware = normalizedEntriesNameMap[entry.toMiddleware];\n if (toMiddleware === undefined) {\n if (debug) {\n return;\n }\n throw new Error(`${entry.toMiddleware} is not found when adding ${entry.name || \"anonymous\"} middleware ${entry.relation} ${entry.toMiddleware}`);\n }\n if (entry.relation === \"after\") {\n toMiddleware.after.push(entry);\n }\n if (entry.relation === \"before\") {\n toMiddleware.before.push(entry);\n }\n }\n });\n const mainChain = sort(normalizedAbsoluteEntries)\n .map(expandRelativeMiddlewareList)\n .reduce((wholeList, expendedMiddlewareList) => {\n wholeList.push(...expendedMiddlewareList);\n return wholeList;\n }, []);\n return mainChain;\n };\n const stack = {\n add: (middleware, options = {}) => {\n const { name, override } = options;\n const entry = {\n step: \"initialize\",\n priority: \"normal\",\n middleware,\n ...options,\n };\n if (name) {\n if (entriesNameSet.has(name)) {\n if (!override)\n throw new Error(`Duplicate middleware name '${name}'`);\n const toOverrideIndex = absoluteEntries.findIndex((entry) => entry.name === name);\n const toOverride = absoluteEntries[toOverrideIndex];\n if (toOverride.step !== entry.step || toOverride.priority !== entry.priority) {\n throw new Error(`\"${name}\" middleware with ${toOverride.priority} priority in ${toOverride.step} step cannot be ` +\n `overridden by same-name middleware with ${entry.priority} priority in ${entry.step} step.`);\n }\n absoluteEntries.splice(toOverrideIndex, 1);\n }\n entriesNameSet.add(name);\n }\n absoluteEntries.push(entry);\n },\n addRelativeTo: (middleware, options) => {\n const { name, override } = options;\n const entry = {\n middleware,\n ...options,\n };\n if (name) {\n if (entriesNameSet.has(name)) {\n if (!override)\n throw new Error(`Duplicate middleware name '${name}'`);\n const toOverrideIndex = relativeEntries.findIndex((entry) => entry.name === name);\n const toOverride = relativeEntries[toOverrideIndex];\n if (toOverride.toMiddleware !== entry.toMiddleware || toOverride.relation !== entry.relation) {\n throw new Error(`\"${name}\" middleware ${toOverride.relation} \"${toOverride.toMiddleware}\" middleware cannot be overridden ` +\n `by same-name middleware ${entry.relation} \"${entry.toMiddleware}\" middleware.`);\n }\n relativeEntries.splice(toOverrideIndex, 1);\n }\n entriesNameSet.add(name);\n }\n relativeEntries.push(entry);\n },\n clone: () => cloneTo(constructStack()),\n use: (plugin) => {\n plugin.applyToStack(stack);\n },\n remove: (toRemove) => {\n if (typeof toRemove === \"string\")\n return removeByName(toRemove);\n else\n return removeByReference(toRemove);\n },\n removeByTag: (toRemove) => {\n let isRemoved = false;\n const filterCb = (entry) => {\n const { tags, name } = entry;\n if (tags && tags.includes(toRemove)) {\n if (name)\n entriesNameSet.delete(name);\n isRemoved = true;\n return false;\n }\n return true;\n };\n absoluteEntries = absoluteEntries.filter(filterCb);\n relativeEntries = relativeEntries.filter(filterCb);\n return isRemoved;\n },\n concat: (from) => {\n const cloned = cloneTo(constructStack());\n cloned.use(from);\n return cloned;\n },\n applyToStack: cloneTo,\n identify: () => {\n return getMiddlewareList(true).map((mw) => {\n return mw.name + \": \" + (mw.tags || []).join(\",\");\n });\n },\n resolve: (handler, context) => {\n for (const middleware of getMiddlewareList()\n .map((entry) => entry.middleware)\n .reverse()) {\n handler = middleware(handler, context);\n }\n return handler;\n },\n };\n return stack;\n};\nconst stepWeights = {\n initialize: 5,\n serialize: 4,\n build: 3,\n finalizeRequest: 2,\n deserialize: 1,\n};\nconst priorityWeights = {\n high: 3,\n normal: 2,\n low: 1,\n};\n","import { constructStack } from \"@aws-sdk/middleware-stack\";\nexport class Client {\n constructor(config) {\n this.middlewareStack = constructStack();\n this.config = config;\n }\n send(command, optionsOrCb, cb) {\n const options = typeof optionsOrCb !== \"function\" ? optionsOrCb : undefined;\n const callback = typeof optionsOrCb === \"function\" ? optionsOrCb : cb;\n const handler = command.resolveMiddleware(this.middlewareStack, this.config, options);\n if (callback) {\n handler(command)\n .then((result) => callback(null, result.output), (err) => callback(err))\n .catch(() => { });\n }\n else {\n return handler(command).then((result) => result.output);\n }\n }\n destroy() {\n if (this.config.requestHandler.destroy)\n this.config.requestHandler.destroy();\n }\n}\n","import { constructStack } from \"@aws-sdk/middleware-stack\";\nexport class Command {\n constructor() {\n this.middlewareStack = constructStack();\n }\n}\n","export const SENSITIVE_STRING = \"***SensitiveInformation***\";\n","export const parseBoolean = (value) => {\n switch (value) {\n case \"true\":\n return true;\n case \"false\":\n return false;\n default:\n throw new Error(`Unable to parse boolean value \"${value}\"`);\n }\n};\nexport const expectBoolean = (value) => {\n if (value === null || value === undefined) {\n return undefined;\n }\n if (typeof value === \"number\") {\n if (value === 0 || value === 1) {\n logger.warn(stackTraceWarning(`Expected boolean, got ${typeof value}: ${value}`));\n }\n if (value === 0) {\n return false;\n }\n if (value === 1) {\n return true;\n }\n }\n if (typeof value === \"string\") {\n const lower = value.toLowerCase();\n if (lower === \"false\" || lower === \"true\") {\n logger.warn(stackTraceWarning(`Expected boolean, got ${typeof value}: ${value}`));\n }\n if (lower === \"false\") {\n return false;\n }\n if (lower === \"true\") {\n return true;\n }\n }\n if (typeof value === \"boolean\") {\n return value;\n }\n throw new TypeError(`Expected boolean, got ${typeof value}: ${value}`);\n};\nexport const expectNumber = (value) => {\n if (value === null || value === undefined) {\n return undefined;\n }\n if (typeof value === \"string\") {\n const parsed = parseFloat(value);\n if (!Number.isNaN(parsed)) {\n if (String(parsed) !== String(value)) {\n logger.warn(stackTraceWarning(`Expected number but observed string: ${value}`));\n }\n return parsed;\n }\n }\n if (typeof value === \"number\") {\n return value;\n }\n throw new TypeError(`Expected number, got ${typeof value}: ${value}`);\n};\nconst MAX_FLOAT = Math.ceil(2 ** 127 * (2 - 2 ** -23));\nexport const expectFloat32 = (value) => {\n const expected = expectNumber(value);\n if (expected !== undefined && !Number.isNaN(expected) && expected !== Infinity && expected !== -Infinity) {\n if (Math.abs(expected) > MAX_FLOAT) {\n throw new TypeError(`Expected 32-bit float, got ${value}`);\n }\n }\n return expected;\n};\nexport const expectLong = (value) => {\n if (value === null || value === undefined) {\n return undefined;\n }\n if (Number.isInteger(value) && !Number.isNaN(value)) {\n return value;\n }\n throw new TypeError(`Expected integer, got ${typeof value}: ${value}`);\n};\nexport const expectInt = expectLong;\nexport const expectInt32 = (value) => expectSizedInt(value, 32);\nexport const expectShort = (value) => expectSizedInt(value, 16);\nexport const expectByte = (value) => expectSizedInt(value, 8);\nconst expectSizedInt = (value, size) => {\n const expected = expectLong(value);\n if (expected !== undefined && castInt(expected, size) !== expected) {\n throw new TypeError(`Expected ${size}-bit integer, got ${value}`);\n }\n return expected;\n};\nconst castInt = (value, size) => {\n switch (size) {\n case 32:\n return Int32Array.of(value)[0];\n case 16:\n return Int16Array.of(value)[0];\n case 8:\n return Int8Array.of(value)[0];\n }\n};\nexport const expectNonNull = (value, location) => {\n if (value === null || value === undefined) {\n if (location) {\n throw new TypeError(`Expected a non-null value for ${location}`);\n }\n throw new TypeError(\"Expected a non-null value\");\n }\n return value;\n};\nexport const expectObject = (value) => {\n if (value === null || value === undefined) {\n return undefined;\n }\n if (typeof value === \"object\" && !Array.isArray(value)) {\n return value;\n }\n const receivedType = Array.isArray(value) ? \"array\" : typeof value;\n throw new TypeError(`Expected object, got ${receivedType}: ${value}`);\n};\nexport const expectString = (value) => {\n if (value === null || value === undefined) {\n return undefined;\n }\n if (typeof value === \"string\") {\n return value;\n }\n if ([\"boolean\", \"number\", \"bigint\"].includes(typeof value)) {\n logger.warn(stackTraceWarning(`Expected string, got ${typeof value}: ${value}`));\n return String(value);\n }\n throw new TypeError(`Expected string, got ${typeof value}: ${value}`);\n};\nexport const expectUnion = (value) => {\n if (value === null || value === undefined) {\n return undefined;\n }\n const asObject = expectObject(value);\n const setKeys = Object.entries(asObject)\n .filter(([, v]) => v != null)\n .map(([k]) => k);\n if (setKeys.length === 0) {\n throw new TypeError(`Unions must have exactly one non-null member. None were found.`);\n }\n if (setKeys.length > 1) {\n throw new TypeError(`Unions must have exactly one non-null member. Keys ${setKeys} were not null.`);\n }\n return asObject;\n};\nexport const strictParseDouble = (value) => {\n if (typeof value == \"string\") {\n return expectNumber(parseNumber(value));\n }\n return expectNumber(value);\n};\nexport const strictParseFloat = strictParseDouble;\nexport const strictParseFloat32 = (value) => {\n if (typeof value == \"string\") {\n return expectFloat32(parseNumber(value));\n }\n return expectFloat32(value);\n};\nconst NUMBER_REGEX = /(-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)|(-?Infinity)|(NaN)/g;\nconst parseNumber = (value) => {\n const matches = value.match(NUMBER_REGEX);\n if (matches === null || matches[0].length !== value.length) {\n throw new TypeError(`Expected real number, got implicit NaN`);\n }\n return parseFloat(value);\n};\nexport const limitedParseDouble = (value) => {\n if (typeof value == \"string\") {\n return parseFloatString(value);\n }\n return expectNumber(value);\n};\nexport const handleFloat = limitedParseDouble;\nexport const limitedParseFloat = limitedParseDouble;\nexport const limitedParseFloat32 = (value) => {\n if (typeof value == \"string\") {\n return parseFloatString(value);\n }\n return expectFloat32(value);\n};\nconst parseFloatString = (value) => {\n switch (value) {\n case \"NaN\":\n return NaN;\n case \"Infinity\":\n return Infinity;\n case \"-Infinity\":\n return -Infinity;\n default:\n throw new Error(`Unable to parse float value: ${value}`);\n }\n};\nexport const strictParseLong = (value) => {\n if (typeof value === \"string\") {\n return expectLong(parseNumber(value));\n }\n return expectLong(value);\n};\nexport const strictParseInt = strictParseLong;\nexport const strictParseInt32 = (value) => {\n if (typeof value === \"string\") {\n return expectInt32(parseNumber(value));\n }\n return expectInt32(value);\n};\nexport const strictParseShort = (value) => {\n if (typeof value === \"string\") {\n return expectShort(parseNumber(value));\n }\n return expectShort(value);\n};\nexport const strictParseByte = (value) => {\n if (typeof value === \"string\") {\n return expectByte(parseNumber(value));\n }\n return expectByte(value);\n};\nconst stackTraceWarning = (message) => {\n return String(new TypeError(message).stack || message)\n .split(\"\\n\")\n .slice(0, 5)\n .filter((s) => !s.includes(\"stackTraceWarning\"))\n .join(\"\\n\");\n};\nexport const logger = {\n warn: console.warn,\n};\n","import { strictParseByte, strictParseDouble, strictParseFloat32, strictParseShort } from \"./parse-utils\";\nconst DAYS = [\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\"];\nconst MONTHS = [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\", \"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\"];\nexport function dateToUtcString(date) {\n const year = date.getUTCFullYear();\n const month = date.getUTCMonth();\n const dayOfWeek = date.getUTCDay();\n const dayOfMonthInt = date.getUTCDate();\n const hoursInt = date.getUTCHours();\n const minutesInt = date.getUTCMinutes();\n const secondsInt = date.getUTCSeconds();\n const dayOfMonthString = dayOfMonthInt < 10 ? `0${dayOfMonthInt}` : `${dayOfMonthInt}`;\n const hoursString = hoursInt < 10 ? `0${hoursInt}` : `${hoursInt}`;\n const minutesString = minutesInt < 10 ? `0${minutesInt}` : `${minutesInt}`;\n const secondsString = secondsInt < 10 ? `0${secondsInt}` : `${secondsInt}`;\n return `${DAYS[dayOfWeek]}, ${dayOfMonthString} ${MONTHS[month]} ${year} ${hoursString}:${minutesString}:${secondsString} GMT`;\n}\nconst RFC3339 = new RegExp(/^(\\d{4})-(\\d{2})-(\\d{2})[tT](\\d{2}):(\\d{2}):(\\d{2})(?:\\.(\\d+))?[zZ]$/);\nexport const parseRfc3339DateTime = (value) => {\n if (value === null || value === undefined) {\n return undefined;\n }\n if (typeof value !== \"string\") {\n throw new TypeError(\"RFC-3339 date-times must be expressed as strings\");\n }\n const match = RFC3339.exec(value);\n if (!match) {\n throw new TypeError(\"Invalid RFC-3339 date-time value\");\n }\n const [_, yearStr, monthStr, dayStr, hours, minutes, seconds, fractionalMilliseconds] = match;\n const year = strictParseShort(stripLeadingZeroes(yearStr));\n const month = parseDateValue(monthStr, \"month\", 1, 12);\n const day = parseDateValue(dayStr, \"day\", 1, 31);\n return buildDate(year, month, day, { hours, minutes, seconds, fractionalMilliseconds });\n};\nconst RFC3339_WITH_OFFSET = new RegExp(/^(\\d{4})-(\\d{2})-(\\d{2})[tT](\\d{2}):(\\d{2}):(\\d{2})(?:\\.(\\d+))?(([-+]\\d{2}\\:\\d{2})|[zZ])$/);\nexport const parseRfc3339DateTimeWithOffset = (value) => {\n if (value === null || value === undefined) {\n return undefined;\n }\n if (typeof value !== \"string\") {\n throw new TypeError(\"RFC-3339 date-times must be expressed as strings\");\n }\n const match = RFC3339_WITH_OFFSET.exec(value);\n if (!match) {\n throw new TypeError(\"Invalid RFC-3339 date-time value\");\n }\n const [_, yearStr, monthStr, dayStr, hours, minutes, seconds, fractionalMilliseconds, offsetStr] = match;\n const year = strictParseShort(stripLeadingZeroes(yearStr));\n const month = parseDateValue(monthStr, \"month\", 1, 12);\n const day = parseDateValue(dayStr, \"day\", 1, 31);\n const date = buildDate(year, month, day, { hours, minutes, seconds, fractionalMilliseconds });\n if (offsetStr.toUpperCase() != \"Z\") {\n date.setTime(date.getTime() - parseOffsetToMilliseconds(offsetStr));\n }\n return date;\n};\nconst IMF_FIXDATE = new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\\d{2}) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\\d{4}) (\\d{1,2}):(\\d{2}):(\\d{2})(?:\\.(\\d+))? GMT$/);\nconst RFC_850_DATE = new RegExp(/^(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\\d{2})-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\\d{2}) (\\d{1,2}):(\\d{2}):(\\d{2})(?:\\.(\\d+))? GMT$/);\nconst ASC_TIME = new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( [1-9]|\\d{2}) (\\d{1,2}):(\\d{2}):(\\d{2})(?:\\.(\\d+))? (\\d{4})$/);\nexport const parseRfc7231DateTime = (value) => {\n if (value === null || value === undefined) {\n return undefined;\n }\n if (typeof value !== \"string\") {\n throw new TypeError(\"RFC-7231 date-times must be expressed as strings\");\n }\n let match = IMF_FIXDATE.exec(value);\n if (match) {\n const [_, dayStr, monthStr, yearStr, hours, minutes, seconds, fractionalMilliseconds] = match;\n return buildDate(strictParseShort(stripLeadingZeroes(yearStr)), parseMonthByShortName(monthStr), parseDateValue(dayStr, \"day\", 1, 31), { hours, minutes, seconds, fractionalMilliseconds });\n }\n match = RFC_850_DATE.exec(value);\n if (match) {\n const [_, dayStr, monthStr, yearStr, hours, minutes, seconds, fractionalMilliseconds] = match;\n return adjustRfc850Year(buildDate(parseTwoDigitYear(yearStr), parseMonthByShortName(monthStr), parseDateValue(dayStr, \"day\", 1, 31), {\n hours,\n minutes,\n seconds,\n fractionalMilliseconds,\n }));\n }\n match = ASC_TIME.exec(value);\n if (match) {\n const [_, monthStr, dayStr, hours, minutes, seconds, fractionalMilliseconds, yearStr] = match;\n return buildDate(strictParseShort(stripLeadingZeroes(yearStr)), parseMonthByShortName(monthStr), parseDateValue(dayStr.trimLeft(), \"day\", 1, 31), { hours, minutes, seconds, fractionalMilliseconds });\n }\n throw new TypeError(\"Invalid RFC-7231 date-time value\");\n};\nexport const parseEpochTimestamp = (value) => {\n if (value === null || value === undefined) {\n return undefined;\n }\n let valueAsDouble;\n if (typeof value === \"number\") {\n valueAsDouble = value;\n }\n else if (typeof value === \"string\") {\n valueAsDouble = strictParseDouble(value);\n }\n else {\n throw new TypeError(\"Epoch timestamps must be expressed as floating point numbers or their string representation\");\n }\n if (Number.isNaN(valueAsDouble) || valueAsDouble === Infinity || valueAsDouble === -Infinity) {\n throw new TypeError(\"Epoch timestamps must be valid, non-Infinite, non-NaN numerics\");\n }\n return new Date(Math.round(valueAsDouble * 1000));\n};\nconst buildDate = (year, month, day, time) => {\n const adjustedMonth = month - 1;\n validateDayOfMonth(year, adjustedMonth, day);\n return new Date(Date.UTC(year, adjustedMonth, day, parseDateValue(time.hours, \"hour\", 0, 23), parseDateValue(time.minutes, \"minute\", 0, 59), parseDateValue(time.seconds, \"seconds\", 0, 60), parseMilliseconds(time.fractionalMilliseconds)));\n};\nconst parseTwoDigitYear = (value) => {\n const thisYear = new Date().getUTCFullYear();\n const valueInThisCentury = Math.floor(thisYear / 100) * 100 + strictParseShort(stripLeadingZeroes(value));\n if (valueInThisCentury < thisYear) {\n return valueInThisCentury + 100;\n }\n return valueInThisCentury;\n};\nconst FIFTY_YEARS_IN_MILLIS = 50 * 365 * 24 * 60 * 60 * 1000;\nconst adjustRfc850Year = (input) => {\n if (input.getTime() - new Date().getTime() > FIFTY_YEARS_IN_MILLIS) {\n return new Date(Date.UTC(input.getUTCFullYear() - 100, input.getUTCMonth(), input.getUTCDate(), input.getUTCHours(), input.getUTCMinutes(), input.getUTCSeconds(), input.getUTCMilliseconds()));\n }\n return input;\n};\nconst parseMonthByShortName = (value) => {\n const monthIdx = MONTHS.indexOf(value);\n if (monthIdx < 0) {\n throw new TypeError(`Invalid month: ${value}`);\n }\n return monthIdx + 1;\n};\nconst DAYS_IN_MONTH = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];\nconst validateDayOfMonth = (year, month, day) => {\n let maxDays = DAYS_IN_MONTH[month];\n if (month === 1 && isLeapYear(year)) {\n maxDays = 29;\n }\n if (day > maxDays) {\n throw new TypeError(`Invalid day for ${MONTHS[month]} in ${year}: ${day}`);\n }\n};\nconst isLeapYear = (year) => {\n return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0);\n};\nconst parseDateValue = (value, type, lower, upper) => {\n const dateVal = strictParseByte(stripLeadingZeroes(value));\n if (dateVal < lower || dateVal > upper) {\n throw new TypeError(`${type} must be between ${lower} and ${upper}, inclusive`);\n }\n return dateVal;\n};\nconst parseMilliseconds = (value) => {\n if (value === null || value === undefined) {\n return 0;\n }\n return strictParseFloat32(\"0.\" + value) * 1000;\n};\nconst parseOffsetToMilliseconds = (value) => {\n const directionStr = value[0];\n let direction = 1;\n if (directionStr == \"+\") {\n direction = 1;\n }\n else if (directionStr == \"-\") {\n direction = -1;\n }\n else {\n throw new TypeError(`Offset direction, ${directionStr}, must be \"+\" or \"-\"`);\n }\n const hour = Number(value.substring(1, 3));\n const minute = Number(value.substring(4, 6));\n return direction * (hour * 60 + minute) * 60 * 1000;\n};\nconst stripLeadingZeroes = (value) => {\n let idx = 0;\n while (idx < value.length - 1 && value.charAt(idx) === \"0\") {\n idx++;\n }\n if (idx === 0) {\n return value;\n }\n return value.slice(idx);\n};\n","export class ServiceException extends Error {\n constructor(options) {\n super(options.message);\n Object.setPrototypeOf(this, ServiceException.prototype);\n this.name = options.name;\n this.$fault = options.$fault;\n this.$metadata = options.$metadata;\n }\n}\nexport const decorateServiceException = (exception, additions = {}) => {\n Object.entries(additions)\n .filter(([, v]) => v !== undefined)\n .forEach(([k, v]) => {\n if (exception[k] == undefined || exception[k] === \"\") {\n exception[k] = v;\n }\n });\n const message = exception.message || exception.Message || \"UnknownError\";\n exception.message = message;\n delete exception.Message;\n return exception;\n};\n","import { decorateServiceException } from \"./exceptions\";\nexport const throwDefaultError = ({ output, parsedBody, exceptionCtor, errorCode }) => {\n const $metadata = deserializeMetadata(output);\n const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + \"\" : undefined;\n const response = new exceptionCtor({\n name: parsedBody?.code || parsedBody?.Code || errorCode || statusCode || \"UnknownError\",\n $fault: \"client\",\n $metadata,\n });\n throw decorateServiceException(response, parsedBody);\n};\nexport const withBaseException = (ExceptionCtor) => {\n return ({ output, parsedBody, errorCode }) => {\n throwDefaultError({ output, parsedBody, exceptionCtor: ExceptionCtor, errorCode });\n };\n};\nconst deserializeMetadata = (output) => ({\n httpStatusCode: output.statusCode,\n requestId: output.headers[\"x-amzn-requestid\"] ?? output.headers[\"x-amzn-request-id\"] ?? output.headers[\"x-amz-request-id\"],\n extendedRequestId: output.headers[\"x-amz-id-2\"],\n cfId: output.headers[\"x-amz-cf-id\"],\n});\n","export const loadConfigsForDefaultMode = (mode) => {\n switch (mode) {\n case \"standard\":\n return {\n retryMode: \"standard\",\n connectionTimeout: 3100,\n };\n case \"in-region\":\n return {\n retryMode: \"standard\",\n connectionTimeout: 1100,\n };\n case \"cross-region\":\n return {\n retryMode: \"standard\",\n connectionTimeout: 3100,\n };\n case \"mobile\":\n return {\n retryMode: \"standard\",\n connectionTimeout: 30000,\n };\n default:\n return {};\n }\n};\n","export function extendedEncodeURIComponent(str) {\n return encodeURIComponent(str).replace(/[!'()*]/g, function (c) {\n return \"%\" + c.charCodeAt(0).toString(16).toUpperCase();\n });\n}\n","export const getValueFromTextNode = (obj) => {\n const textNodeName = \"#text\";\n for (const key in obj) {\n if (obj.hasOwnProperty(key) && obj[key][textNodeName] !== undefined) {\n obj[key] = obj[key][textNodeName];\n }\n else if (typeof obj[key] === \"object\" && obj[key] !== null) {\n obj[key] = getValueFromTextNode(obj[key]);\n }\n }\n return obj;\n};\n","export const StringWrapper = function () {\n const Class = Object.getPrototypeOf(this).constructor;\n const Constructor = Function.bind.apply(String, [null, ...arguments]);\n const instance = new Constructor();\n Object.setPrototypeOf(instance, Class.prototype);\n return instance;\n};\nStringWrapper.prototype = Object.create(String.prototype, {\n constructor: {\n value: StringWrapper,\n enumerable: false,\n writable: true,\n configurable: true,\n },\n});\nObject.setPrototypeOf(StringWrapper, String);\nexport class LazyJsonString extends StringWrapper {\n deserializeJSON() {\n return JSON.parse(super.toString());\n }\n toJSON() {\n return super.toString();\n }\n static fromObject(object) {\n if (object instanceof LazyJsonString) {\n return object;\n }\n else if (object instanceof String || typeof object === \"string\") {\n return new LazyJsonString(object);\n }\n return new LazyJsonString(JSON.stringify(object));\n }\n}\n","export function map(arg0, arg1, arg2) {\n let target;\n let filter;\n let instructions;\n if (typeof arg1 === \"undefined\" && typeof arg2 === \"undefined\") {\n target = {};\n instructions = arg0;\n }\n else {\n target = arg0;\n if (typeof arg1 === \"function\") {\n filter = arg1;\n instructions = arg2;\n return mapWithFilter(target, filter, instructions);\n }\n else {\n instructions = arg1;\n }\n }\n for (const key of Object.keys(instructions)) {\n if (!Array.isArray(instructions[key])) {\n target[key] = instructions[key];\n continue;\n }\n applyInstruction(target, null, instructions, key);\n }\n return target;\n}\nexport const convertMap = (target) => {\n const output = {};\n for (const [k, v] of Object.entries(target || {})) {\n output[k] = [, v];\n }\n return output;\n};\nexport const take = (source, instructions) => {\n const out = {};\n for (const key in instructions) {\n applyInstruction(out, source, instructions, key);\n }\n return out;\n};\nconst mapWithFilter = (target, filter, instructions) => {\n return map(target, Object.entries(instructions).reduce((_instructions, [key, value]) => {\n if (Array.isArray(value)) {\n _instructions[key] = value;\n }\n else {\n if (typeof value === \"function\") {\n _instructions[key] = [filter, value()];\n }\n else {\n _instructions[key] = [filter, value];\n }\n }\n return _instructions;\n }, {}));\n};\nconst applyInstruction = (target, source, instructions, targetKey) => {\n if (source !== null) {\n let instruction = instructions[targetKey];\n if (typeof instruction === \"function\") {\n instruction = [, instruction];\n }\n const [filter = nonNullish, valueFn = pass, sourceKey = targetKey] = instruction;\n if ((typeof filter === \"function\" && filter(source[sourceKey])) || (typeof filter !== \"function\" && !!filter)) {\n target[targetKey] = valueFn(source[sourceKey]);\n }\n return;\n }\n let [filter, value] = instructions[targetKey];\n if (typeof value === \"function\") {\n let _value;\n const defaultFilterPassed = filter === undefined && (_value = value()) != null;\n const customFilterPassed = (typeof filter === \"function\" && !!filter(void 0)) || (typeof filter !== \"function\" && !!filter);\n if (defaultFilterPassed) {\n target[targetKey] = _value;\n }\n else if (customFilterPassed) {\n target[targetKey] = value();\n }\n }\n else {\n const defaultFilterPassed = filter === undefined && value != null;\n const customFilterPassed = (typeof filter === \"function\" && !!filter(value)) || (typeof filter !== \"function\" && !!filter);\n if (defaultFilterPassed || customFilterPassed) {\n target[targetKey] = value;\n }\n }\n};\nconst nonNullish = (_) => _ != null;\nconst pass = (_) => _;\n","import { extendedEncodeURIComponent } from \"./extended-encode-uri-component\";\nexport const resolvedPath = (resolvedPath, input, memberName, labelValueProvider, uriLabel, isGreedyLabel) => {\n if (input != null && input[memberName] !== undefined) {\n const labelValue = labelValueProvider();\n if (labelValue.length <= 0) {\n throw new Error(\"Empty value provided for input HTTP label: \" + memberName + \".\");\n }\n resolvedPath = resolvedPath.replace(uriLabel, isGreedyLabel\n ? labelValue\n .split(\"/\")\n .map((segment) => extendedEncodeURIComponent(segment))\n .join(\"/\")\n : extendedEncodeURIComponent(labelValue));\n }\n else {\n throw new Error(\"No value provided for input HTTP label: \" + memberName + \".\");\n }\n return resolvedPath;\n};\n","export const _json = (obj) => {\n if (obj == null) {\n return {};\n }\n if (Array.isArray(obj)) {\n return obj.filter((_) => _ != null);\n }\n if (typeof obj === \"object\") {\n const target = {};\n for (const key of Object.keys(obj)) {\n if (obj[key] == null) {\n continue;\n }\n target[key] = _json(obj[key]);\n }\n return target;\n }\n return obj;\n};\n","import { SENSITIVE_STRING } from \"@aws-sdk/smithy-client\";\nimport { S3ServiceException as __BaseException } from \"./S3ServiceException\";\nexport const RequestCharged = {\n requester: \"requester\",\n};\nexport const RequestPayer = {\n requester: \"requester\",\n};\nexport class NoSuchUpload extends __BaseException {\n constructor(opts) {\n super({\n name: \"NoSuchUpload\",\n $fault: \"client\",\n ...opts,\n });\n this.name = \"NoSuchUpload\";\n this.$fault = \"client\";\n Object.setPrototypeOf(this, NoSuchUpload.prototype);\n }\n}\nexport const BucketAccelerateStatus = {\n Enabled: \"Enabled\",\n Suspended: \"Suspended\",\n};\nexport const Type = {\n AmazonCustomerByEmail: \"AmazonCustomerByEmail\",\n CanonicalUser: \"CanonicalUser\",\n Group: \"Group\",\n};\nexport const Permission = {\n FULL_CONTROL: \"FULL_CONTROL\",\n READ: \"READ\",\n READ_ACP: \"READ_ACP\",\n WRITE: \"WRITE\",\n WRITE_ACP: \"WRITE_ACP\",\n};\nexport const OwnerOverride = {\n Destination: \"Destination\",\n};\nexport const ServerSideEncryption = {\n AES256: \"AES256\",\n aws_kms: \"aws:kms\",\n};\nexport const ObjectCannedACL = {\n authenticated_read: \"authenticated-read\",\n aws_exec_read: \"aws-exec-read\",\n bucket_owner_full_control: \"bucket-owner-full-control\",\n bucket_owner_read: \"bucket-owner-read\",\n private: \"private\",\n public_read: \"public-read\",\n public_read_write: \"public-read-write\",\n};\nexport const ChecksumAlgorithm = {\n CRC32: \"CRC32\",\n CRC32C: \"CRC32C\",\n SHA1: \"SHA1\",\n SHA256: \"SHA256\",\n};\nexport const MetadataDirective = {\n COPY: \"COPY\",\n REPLACE: \"REPLACE\",\n};\nexport const ObjectLockLegalHoldStatus = {\n OFF: \"OFF\",\n ON: \"ON\",\n};\nexport const ObjectLockMode = {\n COMPLIANCE: \"COMPLIANCE\",\n GOVERNANCE: \"GOVERNANCE\",\n};\nexport const StorageClass = {\n DEEP_ARCHIVE: \"DEEP_ARCHIVE\",\n GLACIER: \"GLACIER\",\n GLACIER_IR: \"GLACIER_IR\",\n INTELLIGENT_TIERING: \"INTELLIGENT_TIERING\",\n ONEZONE_IA: \"ONEZONE_IA\",\n OUTPOSTS: \"OUTPOSTS\",\n REDUCED_REDUNDANCY: \"REDUCED_REDUNDANCY\",\n SNOW: \"SNOW\",\n STANDARD: \"STANDARD\",\n STANDARD_IA: \"STANDARD_IA\",\n};\nexport const TaggingDirective = {\n COPY: \"COPY\",\n REPLACE: \"REPLACE\",\n};\nexport class ObjectNotInActiveTierError extends __BaseException {\n constructor(opts) {\n super({\n name: \"ObjectNotInActiveTierError\",\n $fault: \"client\",\n ...opts,\n });\n this.name = \"ObjectNotInActiveTierError\";\n this.$fault = \"client\";\n Object.setPrototypeOf(this, ObjectNotInActiveTierError.prototype);\n }\n}\nexport class BucketAlreadyExists extends __BaseException {\n constructor(opts) {\n super({\n name: \"BucketAlreadyExists\",\n $fault: \"client\",\n ...opts,\n });\n this.name = \"BucketAlreadyExists\";\n this.$fault = \"client\";\n Object.setPrototypeOf(this, BucketAlreadyExists.prototype);\n }\n}\nexport class BucketAlreadyOwnedByYou extends __BaseException {\n constructor(opts) {\n super({\n name: \"BucketAlreadyOwnedByYou\",\n $fault: \"client\",\n ...opts,\n });\n this.name = \"BucketAlreadyOwnedByYou\";\n this.$fault = \"client\";\n Object.setPrototypeOf(this, BucketAlreadyOwnedByYou.prototype);\n }\n}\nexport const BucketCannedACL = {\n authenticated_read: \"authenticated-read\",\n private: \"private\",\n public_read: \"public-read\",\n public_read_write: \"public-read-write\",\n};\nexport const BucketLocationConstraint = {\n EU: \"EU\",\n af_south_1: \"af-south-1\",\n ap_east_1: \"ap-east-1\",\n ap_northeast_1: \"ap-northeast-1\",\n ap_northeast_2: \"ap-northeast-2\",\n ap_northeast_3: \"ap-northeast-3\",\n ap_south_1: \"ap-south-1\",\n ap_southeast_1: \"ap-southeast-1\",\n ap_southeast_2: \"ap-southeast-2\",\n ap_southeast_3: \"ap-southeast-3\",\n ca_central_1: \"ca-central-1\",\n cn_north_1: \"cn-north-1\",\n cn_northwest_1: \"cn-northwest-1\",\n eu_central_1: \"eu-central-1\",\n eu_north_1: \"eu-north-1\",\n eu_south_1: \"eu-south-1\",\n eu_west_1: \"eu-west-1\",\n eu_west_2: \"eu-west-2\",\n eu_west_3: \"eu-west-3\",\n me_south_1: \"me-south-1\",\n sa_east_1: \"sa-east-1\",\n us_east_2: \"us-east-2\",\n us_gov_east_1: \"us-gov-east-1\",\n us_gov_west_1: \"us-gov-west-1\",\n us_west_1: \"us-west-1\",\n us_west_2: \"us-west-2\",\n};\nexport const ObjectOwnership = {\n BucketOwnerEnforced: \"BucketOwnerEnforced\",\n BucketOwnerPreferred: \"BucketOwnerPreferred\",\n ObjectWriter: \"ObjectWriter\",\n};\nexport var AnalyticsFilter;\n(function (AnalyticsFilter) {\n AnalyticsFilter.visit = (value, visitor) => {\n if (value.Prefix !== undefined)\n return visitor.Prefix(value.Prefix);\n if (value.Tag !== undefined)\n return visitor.Tag(value.Tag);\n if (value.And !== undefined)\n return visitor.And(value.And);\n return visitor._(value.$unknown[0], value.$unknown[1]);\n };\n})(AnalyticsFilter || (AnalyticsFilter = {}));\nexport const AnalyticsS3ExportFileFormat = {\n CSV: \"CSV\",\n};\nexport const StorageClassAnalysisSchemaVersion = {\n V_1: \"V_1\",\n};\nexport const IntelligentTieringStatus = {\n Disabled: \"Disabled\",\n Enabled: \"Enabled\",\n};\nexport const IntelligentTieringAccessTier = {\n ARCHIVE_ACCESS: \"ARCHIVE_ACCESS\",\n DEEP_ARCHIVE_ACCESS: \"DEEP_ARCHIVE_ACCESS\",\n};\nexport const InventoryFormat = {\n CSV: \"CSV\",\n ORC: \"ORC\",\n Parquet: \"Parquet\",\n};\nexport const InventoryIncludedObjectVersions = {\n All: \"All\",\n Current: \"Current\",\n};\nexport const InventoryOptionalField = {\n BucketKeyStatus: \"BucketKeyStatus\",\n ChecksumAlgorithm: \"ChecksumAlgorithm\",\n ETag: \"ETag\",\n EncryptionStatus: \"EncryptionStatus\",\n IntelligentTieringAccessTier: \"IntelligentTieringAccessTier\",\n IsMultipartUploaded: \"IsMultipartUploaded\",\n LastModifiedDate: \"LastModifiedDate\",\n ObjectLockLegalHoldStatus: \"ObjectLockLegalHoldStatus\",\n ObjectLockMode: \"ObjectLockMode\",\n ObjectLockRetainUntilDate: \"ObjectLockRetainUntilDate\",\n ReplicationStatus: \"ReplicationStatus\",\n Size: \"Size\",\n StorageClass: \"StorageClass\",\n};\nexport const InventoryFrequency = {\n Daily: \"Daily\",\n Weekly: \"Weekly\",\n};\nexport var LifecycleRuleFilter;\n(function (LifecycleRuleFilter) {\n LifecycleRuleFilter.visit = (value, visitor) => {\n if (value.Prefix !== undefined)\n return visitor.Prefix(value.Prefix);\n if (value.Tag !== undefined)\n return visitor.Tag(value.Tag);\n if (value.ObjectSizeGreaterThan !== undefined)\n return visitor.ObjectSizeGreaterThan(value.ObjectSizeGreaterThan);\n if (value.ObjectSizeLessThan !== undefined)\n return visitor.ObjectSizeLessThan(value.ObjectSizeLessThan);\n if (value.And !== undefined)\n return visitor.And(value.And);\n return visitor._(value.$unknown[0], value.$unknown[1]);\n };\n})(LifecycleRuleFilter || (LifecycleRuleFilter = {}));\nexport const TransitionStorageClass = {\n DEEP_ARCHIVE: \"DEEP_ARCHIVE\",\n GLACIER: \"GLACIER\",\n GLACIER_IR: \"GLACIER_IR\",\n INTELLIGENT_TIERING: \"INTELLIGENT_TIERING\",\n ONEZONE_IA: \"ONEZONE_IA\",\n STANDARD_IA: \"STANDARD_IA\",\n};\nexport const ExpirationStatus = {\n Disabled: \"Disabled\",\n Enabled: \"Enabled\",\n};\nexport const BucketLogsPermission = {\n FULL_CONTROL: \"FULL_CONTROL\",\n READ: \"READ\",\n WRITE: \"WRITE\",\n};\nexport var MetricsFilter;\n(function (MetricsFilter) {\n MetricsFilter.visit = (value, visitor) => {\n if (value.Prefix !== undefined)\n return visitor.Prefix(value.Prefix);\n if (value.Tag !== undefined)\n return visitor.Tag(value.Tag);\n if (value.AccessPointArn !== undefined)\n return visitor.AccessPointArn(value.AccessPointArn);\n if (value.And !== undefined)\n return visitor.And(value.And);\n return visitor._(value.$unknown[0], value.$unknown[1]);\n };\n})(MetricsFilter || (MetricsFilter = {}));\nexport const Event = {\n s3_IntelligentTiering: \"s3:IntelligentTiering\",\n s3_LifecycleExpiration_: \"s3:LifecycleExpiration:*\",\n s3_LifecycleExpiration_Delete: \"s3:LifecycleExpiration:Delete\",\n s3_LifecycleExpiration_DeleteMarkerCreated: \"s3:LifecycleExpiration:DeleteMarkerCreated\",\n s3_LifecycleTransition: \"s3:LifecycleTransition\",\n s3_ObjectAcl_Put: \"s3:ObjectAcl:Put\",\n s3_ObjectCreated_: \"s3:ObjectCreated:*\",\n s3_ObjectCreated_CompleteMultipartUpload: \"s3:ObjectCreated:CompleteMultipartUpload\",\n s3_ObjectCreated_Copy: \"s3:ObjectCreated:Copy\",\n s3_ObjectCreated_Post: \"s3:ObjectCreated:Post\",\n s3_ObjectCreated_Put: \"s3:ObjectCreated:Put\",\n s3_ObjectRemoved_: \"s3:ObjectRemoved:*\",\n s3_ObjectRemoved_Delete: \"s3:ObjectRemoved:Delete\",\n s3_ObjectRemoved_DeleteMarkerCreated: \"s3:ObjectRemoved:DeleteMarkerCreated\",\n s3_ObjectRestore_: \"s3:ObjectRestore:*\",\n s3_ObjectRestore_Completed: \"s3:ObjectRestore:Completed\",\n s3_ObjectRestore_Delete: \"s3:ObjectRestore:Delete\",\n s3_ObjectRestore_Post: \"s3:ObjectRestore:Post\",\n s3_ObjectTagging_: \"s3:ObjectTagging:*\",\n s3_ObjectTagging_Delete: \"s3:ObjectTagging:Delete\",\n s3_ObjectTagging_Put: \"s3:ObjectTagging:Put\",\n s3_ReducedRedundancyLostObject: \"s3:ReducedRedundancyLostObject\",\n s3_Replication_: \"s3:Replication:*\",\n s3_Replication_OperationFailedReplication: \"s3:Replication:OperationFailedReplication\",\n s3_Replication_OperationMissedThreshold: \"s3:Replication:OperationMissedThreshold\",\n s3_Replication_OperationNotTracked: \"s3:Replication:OperationNotTracked\",\n s3_Replication_OperationReplicatedAfterThreshold: \"s3:Replication:OperationReplicatedAfterThreshold\",\n};\nexport const FilterRuleName = {\n prefix: \"prefix\",\n suffix: \"suffix\",\n};\nexport const DeleteMarkerReplicationStatus = {\n Disabled: \"Disabled\",\n Enabled: \"Enabled\",\n};\nexport const MetricsStatus = {\n Disabled: \"Disabled\",\n Enabled: \"Enabled\",\n};\nexport const ReplicationTimeStatus = {\n Disabled: \"Disabled\",\n Enabled: \"Enabled\",\n};\nexport const ExistingObjectReplicationStatus = {\n Disabled: \"Disabled\",\n Enabled: \"Enabled\",\n};\nexport var ReplicationRuleFilter;\n(function (ReplicationRuleFilter) {\n ReplicationRuleFilter.visit = (value, visitor) => {\n if (value.Prefix !== undefined)\n return visitor.Prefix(value.Prefix);\n if (value.Tag !== undefined)\n return visitor.Tag(value.Tag);\n if (value.And !== undefined)\n return visitor.And(value.And);\n return visitor._(value.$unknown[0], value.$unknown[1]);\n };\n})(ReplicationRuleFilter || (ReplicationRuleFilter = {}));\nexport const ReplicaModificationsStatus = {\n Disabled: \"Disabled\",\n Enabled: \"Enabled\",\n};\nexport const SseKmsEncryptedObjectsStatus = {\n Disabled: \"Disabled\",\n Enabled: \"Enabled\",\n};\nexport const ReplicationRuleStatus = {\n Disabled: \"Disabled\",\n Enabled: \"Enabled\",\n};\nexport const Payer = {\n BucketOwner: \"BucketOwner\",\n Requester: \"Requester\",\n};\nexport const MFADeleteStatus = {\n Disabled: \"Disabled\",\n Enabled: \"Enabled\",\n};\nexport const BucketVersioningStatus = {\n Enabled: \"Enabled\",\n Suspended: \"Suspended\",\n};\nexport const Protocol = {\n http: \"http\",\n https: \"https\",\n};\nexport const ReplicationStatus = {\n COMPLETE: \"COMPLETE\",\n FAILED: \"FAILED\",\n PENDING: \"PENDING\",\n REPLICA: \"REPLICA\",\n};\nexport const ChecksumMode = {\n ENABLED: \"ENABLED\",\n};\nexport class InvalidObjectState extends __BaseException {\n constructor(opts) {\n super({\n name: \"InvalidObjectState\",\n $fault: \"client\",\n ...opts,\n });\n this.name = \"InvalidObjectState\";\n this.$fault = \"client\";\n Object.setPrototypeOf(this, InvalidObjectState.prototype);\n this.StorageClass = opts.StorageClass;\n this.AccessTier = opts.AccessTier;\n }\n}\nexport class NoSuchKey extends __BaseException {\n constructor(opts) {\n super({\n name: \"NoSuchKey\",\n $fault: \"client\",\n ...opts,\n });\n this.name = \"NoSuchKey\";\n this.$fault = \"client\";\n Object.setPrototypeOf(this, NoSuchKey.prototype);\n }\n}\nexport const ObjectAttributes = {\n CHECKSUM: \"Checksum\",\n ETAG: \"ETag\",\n OBJECT_PARTS: \"ObjectParts\",\n OBJECT_SIZE: \"ObjectSize\",\n STORAGE_CLASS: \"StorageClass\",\n};\nexport const ObjectLockEnabled = {\n Enabled: \"Enabled\",\n};\nexport const ObjectLockRetentionMode = {\n COMPLIANCE: \"COMPLIANCE\",\n GOVERNANCE: \"GOVERNANCE\",\n};\nexport class NotFound extends __BaseException {\n constructor(opts) {\n super({\n name: \"NotFound\",\n $fault: \"client\",\n ...opts,\n });\n this.name = \"NotFound\";\n this.$fault = \"client\";\n Object.setPrototypeOf(this, NotFound.prototype);\n }\n}\nexport const ArchiveStatus = {\n ARCHIVE_ACCESS: \"ARCHIVE_ACCESS\",\n DEEP_ARCHIVE_ACCESS: \"DEEP_ARCHIVE_ACCESS\",\n};\nexport const EncodingType = {\n url: \"url\",\n};\nexport const ObjectStorageClass = {\n DEEP_ARCHIVE: \"DEEP_ARCHIVE\",\n GLACIER: \"GLACIER\",\n GLACIER_IR: \"GLACIER_IR\",\n INTELLIGENT_TIERING: \"INTELLIGENT_TIERING\",\n ONEZONE_IA: \"ONEZONE_IA\",\n OUTPOSTS: \"OUTPOSTS\",\n REDUCED_REDUNDANCY: \"REDUCED_REDUNDANCY\",\n SNOW: \"SNOW\",\n STANDARD: \"STANDARD\",\n STANDARD_IA: \"STANDARD_IA\",\n};\nexport class NoSuchBucket extends __BaseException {\n constructor(opts) {\n super({\n name: \"NoSuchBucket\",\n $fault: \"client\",\n ...opts,\n });\n this.name = \"NoSuchBucket\";\n this.$fault = \"client\";\n Object.setPrototypeOf(this, NoSuchBucket.prototype);\n }\n}\nexport const ObjectVersionStorageClass = {\n STANDARD: \"STANDARD\",\n};\nexport const MFADelete = {\n Disabled: \"Disabled\",\n Enabled: \"Enabled\",\n};\nexport const CompleteMultipartUploadOutputFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.SSEKMSKeyId && { SSEKMSKeyId: SENSITIVE_STRING }),\n});\nexport const CompleteMultipartUploadRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.SSECustomerKey && { SSECustomerKey: SENSITIVE_STRING }),\n});\nexport const CopyObjectOutputFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.SSEKMSKeyId && { SSEKMSKeyId: SENSITIVE_STRING }),\n ...(obj.SSEKMSEncryptionContext && { SSEKMSEncryptionContext: SENSITIVE_STRING }),\n});\nexport const CopyObjectRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.SSECustomerKey && { SSECustomerKey: SENSITIVE_STRING }),\n ...(obj.SSEKMSKeyId && { SSEKMSKeyId: SENSITIVE_STRING }),\n ...(obj.SSEKMSEncryptionContext && { SSEKMSEncryptionContext: SENSITIVE_STRING }),\n ...(obj.CopySourceSSECustomerKey && { CopySourceSSECustomerKey: SENSITIVE_STRING }),\n});\nexport const CreateMultipartUploadOutputFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.SSEKMSKeyId && { SSEKMSKeyId: SENSITIVE_STRING }),\n ...(obj.SSEKMSEncryptionContext && { SSEKMSEncryptionContext: SENSITIVE_STRING }),\n});\nexport const CreateMultipartUploadRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.SSECustomerKey && { SSECustomerKey: SENSITIVE_STRING }),\n ...(obj.SSEKMSKeyId && { SSEKMSKeyId: SENSITIVE_STRING }),\n ...(obj.SSEKMSEncryptionContext && { SSEKMSEncryptionContext: SENSITIVE_STRING }),\n});\nexport const ServerSideEncryptionByDefaultFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.KMSMasterKeyID && { KMSMasterKeyID: SENSITIVE_STRING }),\n});\nexport const ServerSideEncryptionRuleFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.ApplyServerSideEncryptionByDefault && {\n ApplyServerSideEncryptionByDefault: ServerSideEncryptionByDefaultFilterSensitiveLog(obj.ApplyServerSideEncryptionByDefault),\n }),\n});\nexport const ServerSideEncryptionConfigurationFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.Rules && { Rules: obj.Rules.map((item) => ServerSideEncryptionRuleFilterSensitiveLog(item)) }),\n});\nexport const GetBucketEncryptionOutputFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.ServerSideEncryptionConfiguration && {\n ServerSideEncryptionConfiguration: ServerSideEncryptionConfigurationFilterSensitiveLog(obj.ServerSideEncryptionConfiguration),\n }),\n});\nexport const SSEKMSFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.KeyId && { KeyId: SENSITIVE_STRING }),\n});\nexport const InventoryEncryptionFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.SSEKMS && { SSEKMS: SSEKMSFilterSensitiveLog(obj.SSEKMS) }),\n});\nexport const InventoryS3BucketDestinationFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.Encryption && { Encryption: InventoryEncryptionFilterSensitiveLog(obj.Encryption) }),\n});\nexport const InventoryDestinationFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.S3BucketDestination && {\n S3BucketDestination: InventoryS3BucketDestinationFilterSensitiveLog(obj.S3BucketDestination),\n }),\n});\nexport const InventoryConfigurationFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.Destination && { Destination: InventoryDestinationFilterSensitiveLog(obj.Destination) }),\n});\nexport const GetBucketInventoryConfigurationOutputFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.InventoryConfiguration && {\n InventoryConfiguration: InventoryConfigurationFilterSensitiveLog(obj.InventoryConfiguration),\n }),\n});\nexport const GetObjectOutputFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.SSEKMSKeyId && { SSEKMSKeyId: SENSITIVE_STRING }),\n});\nexport const GetObjectRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.SSECustomerKey && { SSECustomerKey: SENSITIVE_STRING }),\n});\nexport const GetObjectAttributesRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.SSECustomerKey && { SSECustomerKey: SENSITIVE_STRING }),\n});\nexport const GetObjectTorrentOutputFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nexport const HeadObjectOutputFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.SSEKMSKeyId && { SSEKMSKeyId: SENSITIVE_STRING }),\n});\nexport const HeadObjectRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.SSECustomerKey && { SSECustomerKey: SENSITIVE_STRING }),\n});\nexport const ListBucketInventoryConfigurationsOutputFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.InventoryConfigurationList && {\n InventoryConfigurationList: obj.InventoryConfigurationList.map((item) => InventoryConfigurationFilterSensitiveLog(item)),\n }),\n});\nexport const ListPartsRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.SSECustomerKey && { SSECustomerKey: SENSITIVE_STRING }),\n});\nexport const PutBucketEncryptionRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.ServerSideEncryptionConfiguration && {\n ServerSideEncryptionConfiguration: ServerSideEncryptionConfigurationFilterSensitiveLog(obj.ServerSideEncryptionConfiguration),\n }),\n});\nexport const PutBucketInventoryConfigurationRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.InventoryConfiguration && {\n InventoryConfiguration: InventoryConfigurationFilterSensitiveLog(obj.InventoryConfiguration),\n }),\n});\nexport const PutObjectOutputFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.SSEKMSKeyId && { SSEKMSKeyId: SENSITIVE_STRING }),\n ...(obj.SSEKMSEncryptionContext && { SSEKMSEncryptionContext: SENSITIVE_STRING }),\n});\nexport const PutObjectRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.SSECustomerKey && { SSECustomerKey: SENSITIVE_STRING }),\n ...(obj.SSEKMSKeyId && { SSEKMSKeyId: SENSITIVE_STRING }),\n ...(obj.SSEKMSEncryptionContext && { SSEKMSEncryptionContext: SENSITIVE_STRING }),\n});\n","export function escapeAttribute(value) {\n return value.replace(/&/g, \"&\").replace(/</g, \"<\").replace(/>/g, \">\").replace(/\"/g, \""\");\n}\n","import { escapeElement } from \"./escape-element\";\nexport class XmlText {\n constructor(value) {\n this.value = value;\n }\n toString() {\n return escapeElement(\"\" + this.value);\n }\n}\n","export function escapeElement(value) {\n return value\n .replace(/&/g, \"&\")\n .replace(/\"/g, \""\")\n .replace(/'/g, \"'\")\n .replace(/</g, \"<\")\n .replace(/>/g, \">\")\n .replace(/\\r/g, \" \")\n .replace(/\\n/g, \" \")\n .replace(/\\u0085/g, \"…\")\n .replace(/\\u2028/, \"
\");\n}\n","import { escapeAttribute } from \"./escape-attribute\";\nimport { XmlText } from \"./XmlText\";\nexport class XmlNode {\n static of(name, childText, withName) {\n const node = new XmlNode(name);\n if (childText !== undefined) {\n node.addChildNode(new XmlText(childText));\n }\n if (withName !== undefined) {\n node.withName(withName);\n }\n return node;\n }\n constructor(name, children = []) {\n this.name = name;\n this.children = children;\n this.attributes = {};\n }\n withName(name) {\n this.name = name;\n return this;\n }\n addAttribute(name, value) {\n this.attributes[name] = value;\n return this;\n }\n addChildNode(child) {\n this.children.push(child);\n return this;\n }\n removeAttribute(name) {\n delete this.attributes[name];\n return this;\n }\n toString() {\n const hasChildren = Boolean(this.children.length);\n let xmlText = `<${this.name}`;\n const attributes = this.attributes;\n for (const attributeName of Object.keys(attributes)) {\n const attribute = attributes[attributeName];\n if (typeof attribute !== \"undefined\" && attribute !== null) {\n xmlText += ` ${attributeName}=\"${escapeAttribute(\"\" + attribute)}\"`;\n }\n }\n return (xmlText += !hasChildren ? \"/>\" : `>${this.children.map((c) => c.toString()).join(\"\")}</${this.name}>`);\n }\n}\n","export class HttpRequest {\n constructor(options) {\n this.method = options.method || \"GET\";\n this.hostname = options.hostname || \"localhost\";\n this.port = options.port;\n this.query = options.query || {};\n this.headers = options.headers || {};\n this.body = options.body;\n this.protocol = options.protocol\n ? options.protocol.slice(-1) !== \":\"\n ? `${options.protocol}:`\n : options.protocol\n : \"https:\";\n this.path = options.path ? (options.path.charAt(0) !== \"/\" ? `/${options.path}` : options.path) : \"/\";\n }\n static isInstance(request) {\n if (!request)\n return false;\n const req = request;\n return (\"method\" in req &&\n \"protocol\" in req &&\n \"hostname\" in req &&\n \"path\" in req &&\n typeof req[\"query\"] === \"object\" &&\n typeof req[\"headers\"] === \"object\");\n }\n clone() {\n const cloned = new HttpRequest({\n ...this,\n headers: { ...this.headers },\n });\n if (cloned.query)\n cloned.query = cloneQuery(cloned.query);\n return cloned;\n }\n}\nfunction cloneQuery(query) {\n return Object.keys(query).reduce((carry, paramName) => {\n const param = query[paramName];\n return {\n ...carry,\n [paramName]: Array.isArray(param) ? [...param] : param,\n };\n }, {});\n}\n","import { ServiceException as __ServiceException, } from \"@aws-sdk/smithy-client\";\nexport { __ServiceException };\nexport class S3ServiceException extends __ServiceException {\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, S3ServiceException.prototype);\n }\n}\n","import { dateToUtcString as __dateToUtcString, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, map, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, parseRfc7231DateTime as __parseRfc7231DateTime, resolvedPath as __resolvedPath, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, withBaseException, } from \"@aws-sdk/smithy-client\";\nimport { XmlNode as __XmlNode, XmlText as __XmlText } from \"@aws-sdk/xml-builder\";\nimport { HttpRequest as __HttpRequest, isValidHostname as __isValidHostname, } from \"@smithy/protocol-http\";\nimport { XMLParser } from \"fast-xml-parser\";\nimport { AnalyticsFilter, BucketAlreadyExists, BucketAlreadyOwnedByYou, InvalidObjectState, LifecycleRuleFilter, MetricsFilter, NoSuchBucket, NoSuchKey, NoSuchUpload, NotFound, ObjectNotInActiveTierError, ReplicationRuleFilter, } from \"../models/models_0\";\nimport { ObjectAlreadyInActiveTierError, } from \"../models/models_1\";\nimport { S3ServiceException as __BaseException } from \"../models/S3ServiceException\";\nexport const se_AbortMultipartUploadCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-request-payer\": input.RequestPayer,\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/{Key+}\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n resolvedPath = __resolvedPath(resolvedPath, input, \"Key\", () => input.Key, \"{Key+}\", true);\n const query = map({\n \"x-id\": [, \"AbortMultipartUpload\"],\n uploadId: [, __expectNonNull(input.UploadId, `UploadId`)],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"DELETE\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_CompleteMultipartUploadCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"content-type\": \"application/xml\",\n \"x-amz-checksum-crc32\": input.ChecksumCRC32,\n \"x-amz-checksum-crc32c\": input.ChecksumCRC32C,\n \"x-amz-checksum-sha1\": input.ChecksumSHA1,\n \"x-amz-checksum-sha256\": input.ChecksumSHA256,\n \"x-amz-request-payer\": input.RequestPayer,\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n \"x-amz-server-side-encryption-customer-algorithm\": input.SSECustomerAlgorithm,\n \"x-amz-server-side-encryption-customer-key\": input.SSECustomerKey,\n \"x-amz-server-side-encryption-customer-key-md5\": input.SSECustomerKeyMD5,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/{Key+}\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n resolvedPath = __resolvedPath(resolvedPath, input, \"Key\", () => input.Key, \"{Key+}\", true);\n const query = map({\n \"x-id\": [, \"CompleteMultipartUpload\"],\n uploadId: [, __expectNonNull(input.UploadId, `UploadId`)],\n });\n let body;\n if (input.MultipartUpload !== undefined) {\n body = se_CompletedMultipartUpload(input.MultipartUpload, context);\n }\n let contents;\n if (input.MultipartUpload !== undefined) {\n contents = se_CompletedMultipartUpload(input.MultipartUpload, context);\n contents = contents.withName(\"CompleteMultipartUpload\");\n body = '<?xml version=\"1.0\" encoding=\"UTF-8\"?>';\n contents.addAttribute(\"xmlns\", \"http://s3.amazonaws.com/doc/2006-03-01/\");\n body += contents.toString();\n }\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"POST\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_CopyObjectCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-acl\": input.ACL,\n \"cache-control\": input.CacheControl,\n \"x-amz-checksum-algorithm\": input.ChecksumAlgorithm,\n \"content-disposition\": input.ContentDisposition,\n \"content-encoding\": input.ContentEncoding,\n \"content-language\": input.ContentLanguage,\n \"content-type\": input.ContentType,\n \"x-amz-copy-source\": input.CopySource,\n \"x-amz-copy-source-if-match\": input.CopySourceIfMatch,\n \"x-amz-copy-source-if-modified-since\": [\n () => isSerializableHeaderValue(input.CopySourceIfModifiedSince),\n () => __dateToUtcString(input.CopySourceIfModifiedSince).toString(),\n ],\n \"x-amz-copy-source-if-none-match\": input.CopySourceIfNoneMatch,\n \"x-amz-copy-source-if-unmodified-since\": [\n () => isSerializableHeaderValue(input.CopySourceIfUnmodifiedSince),\n () => __dateToUtcString(input.CopySourceIfUnmodifiedSince).toString(),\n ],\n expires: [() => isSerializableHeaderValue(input.Expires), () => __dateToUtcString(input.Expires).toString()],\n \"x-amz-grant-full-control\": input.GrantFullControl,\n \"x-amz-grant-read\": input.GrantRead,\n \"x-amz-grant-read-acp\": input.GrantReadACP,\n \"x-amz-grant-write-acp\": input.GrantWriteACP,\n \"x-amz-metadata-directive\": input.MetadataDirective,\n \"x-amz-tagging-directive\": input.TaggingDirective,\n \"x-amz-server-side-encryption\": input.ServerSideEncryption,\n \"x-amz-storage-class\": input.StorageClass,\n \"x-amz-website-redirect-location\": input.WebsiteRedirectLocation,\n \"x-amz-server-side-encryption-customer-algorithm\": input.SSECustomerAlgorithm,\n \"x-amz-server-side-encryption-customer-key\": input.SSECustomerKey,\n \"x-amz-server-side-encryption-customer-key-md5\": input.SSECustomerKeyMD5,\n \"x-amz-server-side-encryption-aws-kms-key-id\": input.SSEKMSKeyId,\n \"x-amz-server-side-encryption-context\": input.SSEKMSEncryptionContext,\n \"x-amz-server-side-encryption-bucket-key-enabled\": [\n () => isSerializableHeaderValue(input.BucketKeyEnabled),\n () => input.BucketKeyEnabled.toString(),\n ],\n \"x-amz-copy-source-server-side-encryption-customer-algorithm\": input.CopySourceSSECustomerAlgorithm,\n \"x-amz-copy-source-server-side-encryption-customer-key\": input.CopySourceSSECustomerKey,\n \"x-amz-copy-source-server-side-encryption-customer-key-md5\": input.CopySourceSSECustomerKeyMD5,\n \"x-amz-request-payer\": input.RequestPayer,\n \"x-amz-tagging\": input.Tagging,\n \"x-amz-object-lock-mode\": input.ObjectLockMode,\n \"x-amz-object-lock-retain-until-date\": [\n () => isSerializableHeaderValue(input.ObjectLockRetainUntilDate),\n () => (input.ObjectLockRetainUntilDate.toISOString().split(\".\")[0] + \"Z\").toString(),\n ],\n \"x-amz-object-lock-legal-hold\": input.ObjectLockLegalHoldStatus,\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n \"x-amz-source-expected-bucket-owner\": input.ExpectedSourceBucketOwner,\n ...(input.Metadata !== undefined &&\n Object.keys(input.Metadata).reduce((acc, suffix) => {\n acc[`x-amz-meta-${suffix.toLowerCase()}`] = input.Metadata[suffix];\n return acc;\n }, {})),\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/{Key+}\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n resolvedPath = __resolvedPath(resolvedPath, input, \"Key\", () => input.Key, \"{Key+}\", true);\n const query = map({\n \"x-id\": [, \"CopyObject\"],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"PUT\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_CreateBucketCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"content-type\": \"application/xml\",\n \"x-amz-acl\": input.ACL,\n \"x-amz-grant-full-control\": input.GrantFullControl,\n \"x-amz-grant-read\": input.GrantRead,\n \"x-amz-grant-read-acp\": input.GrantReadACP,\n \"x-amz-grant-write\": input.GrantWrite,\n \"x-amz-grant-write-acp\": input.GrantWriteACP,\n \"x-amz-bucket-object-lock-enabled\": [\n () => isSerializableHeaderValue(input.ObjectLockEnabledForBucket),\n () => input.ObjectLockEnabledForBucket.toString(),\n ],\n \"x-amz-object-ownership\": input.ObjectOwnership,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n let body;\n if (input.CreateBucketConfiguration !== undefined) {\n body = se_CreateBucketConfiguration(input.CreateBucketConfiguration, context);\n }\n let contents;\n if (input.CreateBucketConfiguration !== undefined) {\n contents = se_CreateBucketConfiguration(input.CreateBucketConfiguration, context);\n body = '<?xml version=\"1.0\" encoding=\"UTF-8\"?>';\n contents.addAttribute(\"xmlns\", \"http://s3.amazonaws.com/doc/2006-03-01/\");\n body += contents.toString();\n }\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"PUT\",\n headers,\n path: resolvedPath,\n body,\n });\n};\nexport const se_CreateMultipartUploadCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-acl\": input.ACL,\n \"cache-control\": input.CacheControl,\n \"content-disposition\": input.ContentDisposition,\n \"content-encoding\": input.ContentEncoding,\n \"content-language\": input.ContentLanguage,\n \"content-type\": input.ContentType,\n expires: [() => isSerializableHeaderValue(input.Expires), () => __dateToUtcString(input.Expires).toString()],\n \"x-amz-grant-full-control\": input.GrantFullControl,\n \"x-amz-grant-read\": input.GrantRead,\n \"x-amz-grant-read-acp\": input.GrantReadACP,\n \"x-amz-grant-write-acp\": input.GrantWriteACP,\n \"x-amz-server-side-encryption\": input.ServerSideEncryption,\n \"x-amz-storage-class\": input.StorageClass,\n \"x-amz-website-redirect-location\": input.WebsiteRedirectLocation,\n \"x-amz-server-side-encryption-customer-algorithm\": input.SSECustomerAlgorithm,\n \"x-amz-server-side-encryption-customer-key\": input.SSECustomerKey,\n \"x-amz-server-side-encryption-customer-key-md5\": input.SSECustomerKeyMD5,\n \"x-amz-server-side-encryption-aws-kms-key-id\": input.SSEKMSKeyId,\n \"x-amz-server-side-encryption-context\": input.SSEKMSEncryptionContext,\n \"x-amz-server-side-encryption-bucket-key-enabled\": [\n () => isSerializableHeaderValue(input.BucketKeyEnabled),\n () => input.BucketKeyEnabled.toString(),\n ],\n \"x-amz-request-payer\": input.RequestPayer,\n \"x-amz-tagging\": input.Tagging,\n \"x-amz-object-lock-mode\": input.ObjectLockMode,\n \"x-amz-object-lock-retain-until-date\": [\n () => isSerializableHeaderValue(input.ObjectLockRetainUntilDate),\n () => (input.ObjectLockRetainUntilDate.toISOString().split(\".\")[0] + \"Z\").toString(),\n ],\n \"x-amz-object-lock-legal-hold\": input.ObjectLockLegalHoldStatus,\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n \"x-amz-checksum-algorithm\": input.ChecksumAlgorithm,\n ...(input.Metadata !== undefined &&\n Object.keys(input.Metadata).reduce((acc, suffix) => {\n acc[`x-amz-meta-${suffix.toLowerCase()}`] = input.Metadata[suffix];\n return acc;\n }, {})),\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/{Key+}\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n resolvedPath = __resolvedPath(resolvedPath, input, \"Key\", () => input.Key, \"{Key+}\", true);\n const query = map({\n uploads: [, \"\"],\n \"x-id\": [, \"CreateMultipartUpload\"],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"POST\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_DeleteBucketCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"DELETE\",\n headers,\n path: resolvedPath,\n body,\n });\n};\nexport const se_DeleteBucketAnalyticsConfigurationCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n analytics: [, \"\"],\n id: [, __expectNonNull(input.Id, `Id`)],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"DELETE\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_DeleteBucketCorsCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n cors: [, \"\"],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"DELETE\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_DeleteBucketEncryptionCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n encryption: [, \"\"],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"DELETE\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_DeleteBucketIntelligentTieringConfigurationCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = {};\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n \"intelligent-tiering\": [, \"\"],\n id: [, __expectNonNull(input.Id, `Id`)],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"DELETE\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_DeleteBucketInventoryConfigurationCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n inventory: [, \"\"],\n id: [, __expectNonNull(input.Id, `Id`)],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"DELETE\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_DeleteBucketLifecycleCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n lifecycle: [, \"\"],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"DELETE\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_DeleteBucketMetricsConfigurationCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n metrics: [, \"\"],\n id: [, __expectNonNull(input.Id, `Id`)],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"DELETE\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_DeleteBucketOwnershipControlsCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n ownershipControls: [, \"\"],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"DELETE\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_DeleteBucketPolicyCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n policy: [, \"\"],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"DELETE\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_DeleteBucketReplicationCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n replication: [, \"\"],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"DELETE\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_DeleteBucketTaggingCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n tagging: [, \"\"],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"DELETE\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_DeleteBucketWebsiteCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n website: [, \"\"],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"DELETE\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_DeleteObjectCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-mfa\": input.MFA,\n \"x-amz-request-payer\": input.RequestPayer,\n \"x-amz-bypass-governance-retention\": [\n () => isSerializableHeaderValue(input.BypassGovernanceRetention),\n () => input.BypassGovernanceRetention.toString(),\n ],\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/{Key+}\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n resolvedPath = __resolvedPath(resolvedPath, input, \"Key\", () => input.Key, \"{Key+}\", true);\n const query = map({\n \"x-id\": [, \"DeleteObject\"],\n versionId: [, input.VersionId],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"DELETE\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_DeleteObjectsCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"content-type\": \"application/xml\",\n \"x-amz-mfa\": input.MFA,\n \"x-amz-request-payer\": input.RequestPayer,\n \"x-amz-bypass-governance-retention\": [\n () => isSerializableHeaderValue(input.BypassGovernanceRetention),\n () => input.BypassGovernanceRetention.toString(),\n ],\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n \"x-amz-sdk-checksum-algorithm\": input.ChecksumAlgorithm,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n delete: [, \"\"],\n \"x-id\": [, \"DeleteObjects\"],\n });\n let body;\n if (input.Delete !== undefined) {\n body = se_Delete(input.Delete, context);\n }\n let contents;\n if (input.Delete !== undefined) {\n contents = se_Delete(input.Delete, context);\n body = '<?xml version=\"1.0\" encoding=\"UTF-8\"?>';\n contents.addAttribute(\"xmlns\", \"http://s3.amazonaws.com/doc/2006-03-01/\");\n body += contents.toString();\n }\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"POST\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_DeleteObjectTaggingCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/{Key+}\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n resolvedPath = __resolvedPath(resolvedPath, input, \"Key\", () => input.Key, \"{Key+}\", true);\n const query = map({\n tagging: [, \"\"],\n versionId: [, input.VersionId],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"DELETE\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_DeletePublicAccessBlockCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n publicAccessBlock: [, \"\"],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"DELETE\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_GetBucketAccelerateConfigurationCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n accelerate: [, \"\"],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"GET\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_GetBucketAclCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n acl: [, \"\"],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"GET\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_GetBucketAnalyticsConfigurationCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n analytics: [, \"\"],\n \"x-id\": [, \"GetBucketAnalyticsConfiguration\"],\n id: [, __expectNonNull(input.Id, `Id`)],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"GET\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_GetBucketCorsCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n cors: [, \"\"],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"GET\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_GetBucketEncryptionCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n encryption: [, \"\"],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"GET\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_GetBucketIntelligentTieringConfigurationCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = {};\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n \"intelligent-tiering\": [, \"\"],\n \"x-id\": [, \"GetBucketIntelligentTieringConfiguration\"],\n id: [, __expectNonNull(input.Id, `Id`)],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"GET\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_GetBucketInventoryConfigurationCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n inventory: [, \"\"],\n \"x-id\": [, \"GetBucketInventoryConfiguration\"],\n id: [, __expectNonNull(input.Id, `Id`)],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"GET\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_GetBucketLifecycleConfigurationCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n lifecycle: [, \"\"],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"GET\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_GetBucketLocationCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n location: [, \"\"],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"GET\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_GetBucketLoggingCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n logging: [, \"\"],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"GET\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_GetBucketMetricsConfigurationCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n metrics: [, \"\"],\n \"x-id\": [, \"GetBucketMetricsConfiguration\"],\n id: [, __expectNonNull(input.Id, `Id`)],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"GET\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_GetBucketNotificationConfigurationCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n notification: [, \"\"],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"GET\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_GetBucketOwnershipControlsCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n ownershipControls: [, \"\"],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"GET\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_GetBucketPolicyCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n policy: [, \"\"],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"GET\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_GetBucketPolicyStatusCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n policyStatus: [, \"\"],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"GET\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_GetBucketReplicationCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n replication: [, \"\"],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"GET\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_GetBucketRequestPaymentCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n requestPayment: [, \"\"],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"GET\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_GetBucketTaggingCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n tagging: [, \"\"],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"GET\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_GetBucketVersioningCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n versioning: [, \"\"],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"GET\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_GetBucketWebsiteCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n website: [, \"\"],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"GET\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_GetObjectCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"if-match\": input.IfMatch,\n \"if-modified-since\": [\n () => isSerializableHeaderValue(input.IfModifiedSince),\n () => __dateToUtcString(input.IfModifiedSince).toString(),\n ],\n \"if-none-match\": input.IfNoneMatch,\n \"if-unmodified-since\": [\n () => isSerializableHeaderValue(input.IfUnmodifiedSince),\n () => __dateToUtcString(input.IfUnmodifiedSince).toString(),\n ],\n range: input.Range,\n \"x-amz-server-side-encryption-customer-algorithm\": input.SSECustomerAlgorithm,\n \"x-amz-server-side-encryption-customer-key\": input.SSECustomerKey,\n \"x-amz-server-side-encryption-customer-key-md5\": input.SSECustomerKeyMD5,\n \"x-amz-request-payer\": input.RequestPayer,\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n \"x-amz-checksum-mode\": input.ChecksumMode,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/{Key+}\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n resolvedPath = __resolvedPath(resolvedPath, input, \"Key\", () => input.Key, \"{Key+}\", true);\n const query = map({\n \"x-id\": [, \"GetObject\"],\n \"response-cache-control\": [, input.ResponseCacheControl],\n \"response-content-disposition\": [, input.ResponseContentDisposition],\n \"response-content-encoding\": [, input.ResponseContentEncoding],\n \"response-content-language\": [, input.ResponseContentLanguage],\n \"response-content-type\": [, input.ResponseContentType],\n \"response-expires\": [\n () => input.ResponseExpires !== void 0,\n () => __dateToUtcString(input.ResponseExpires).toString(),\n ],\n versionId: [, input.VersionId],\n partNumber: [() => input.PartNumber !== void 0, () => input.PartNumber.toString()],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"GET\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_GetObjectAclCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-request-payer\": input.RequestPayer,\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/{Key+}\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n resolvedPath = __resolvedPath(resolvedPath, input, \"Key\", () => input.Key, \"{Key+}\", true);\n const query = map({\n acl: [, \"\"],\n versionId: [, input.VersionId],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"GET\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_GetObjectAttributesCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-max-parts\": [() => isSerializableHeaderValue(input.MaxParts), () => input.MaxParts.toString()],\n \"x-amz-part-number-marker\": input.PartNumberMarker,\n \"x-amz-server-side-encryption-customer-algorithm\": input.SSECustomerAlgorithm,\n \"x-amz-server-side-encryption-customer-key\": input.SSECustomerKey,\n \"x-amz-server-side-encryption-customer-key-md5\": input.SSECustomerKeyMD5,\n \"x-amz-request-payer\": input.RequestPayer,\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n \"x-amz-object-attributes\": [\n () => isSerializableHeaderValue(input.ObjectAttributes),\n () => (input.ObjectAttributes || []).map((_entry) => _entry).join(\", \"),\n ],\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/{Key+}\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n resolvedPath = __resolvedPath(resolvedPath, input, \"Key\", () => input.Key, \"{Key+}\", true);\n const query = map({\n attributes: [, \"\"],\n versionId: [, input.VersionId],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"GET\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_GetObjectLegalHoldCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-request-payer\": input.RequestPayer,\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/{Key+}\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n resolvedPath = __resolvedPath(resolvedPath, input, \"Key\", () => input.Key, \"{Key+}\", true);\n const query = map({\n \"legal-hold\": [, \"\"],\n versionId: [, input.VersionId],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"GET\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_GetObjectLockConfigurationCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n \"object-lock\": [, \"\"],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"GET\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_GetObjectRetentionCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-request-payer\": input.RequestPayer,\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/{Key+}\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n resolvedPath = __resolvedPath(resolvedPath, input, \"Key\", () => input.Key, \"{Key+}\", true);\n const query = map({\n retention: [, \"\"],\n versionId: [, input.VersionId],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"GET\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_GetObjectTaggingCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n \"x-amz-request-payer\": input.RequestPayer,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/{Key+}\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n resolvedPath = __resolvedPath(resolvedPath, input, \"Key\", () => input.Key, \"{Key+}\", true);\n const query = map({\n tagging: [, \"\"],\n versionId: [, input.VersionId],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"GET\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_GetObjectTorrentCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-request-payer\": input.RequestPayer,\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/{Key+}\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n resolvedPath = __resolvedPath(resolvedPath, input, \"Key\", () => input.Key, \"{Key+}\", true);\n const query = map({\n torrent: [, \"\"],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"GET\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_GetPublicAccessBlockCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n publicAccessBlock: [, \"\"],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"GET\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_HeadBucketCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"HEAD\",\n headers,\n path: resolvedPath,\n body,\n });\n};\nexport const se_HeadObjectCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"if-match\": input.IfMatch,\n \"if-modified-since\": [\n () => isSerializableHeaderValue(input.IfModifiedSince),\n () => __dateToUtcString(input.IfModifiedSince).toString(),\n ],\n \"if-none-match\": input.IfNoneMatch,\n \"if-unmodified-since\": [\n () => isSerializableHeaderValue(input.IfUnmodifiedSince),\n () => __dateToUtcString(input.IfUnmodifiedSince).toString(),\n ],\n range: input.Range,\n \"x-amz-server-side-encryption-customer-algorithm\": input.SSECustomerAlgorithm,\n \"x-amz-server-side-encryption-customer-key\": input.SSECustomerKey,\n \"x-amz-server-side-encryption-customer-key-md5\": input.SSECustomerKeyMD5,\n \"x-amz-request-payer\": input.RequestPayer,\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n \"x-amz-checksum-mode\": input.ChecksumMode,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/{Key+}\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n resolvedPath = __resolvedPath(resolvedPath, input, \"Key\", () => input.Key, \"{Key+}\", true);\n const query = map({\n versionId: [, input.VersionId],\n partNumber: [() => input.PartNumber !== void 0, () => input.PartNumber.toString()],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"HEAD\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_ListBucketAnalyticsConfigurationsCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n analytics: [, \"\"],\n \"x-id\": [, \"ListBucketAnalyticsConfigurations\"],\n \"continuation-token\": [, input.ContinuationToken],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"GET\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_ListBucketIntelligentTieringConfigurationsCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = {};\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n \"intelligent-tiering\": [, \"\"],\n \"x-id\": [, \"ListBucketIntelligentTieringConfigurations\"],\n \"continuation-token\": [, input.ContinuationToken],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"GET\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_ListBucketInventoryConfigurationsCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n inventory: [, \"\"],\n \"x-id\": [, \"ListBucketInventoryConfigurations\"],\n \"continuation-token\": [, input.ContinuationToken],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"GET\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_ListBucketMetricsConfigurationsCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n metrics: [, \"\"],\n \"x-id\": [, \"ListBucketMetricsConfigurations\"],\n \"continuation-token\": [, input.ContinuationToken],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"GET\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_ListBucketsCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = {\n \"content-type\": \"application/xml\",\n };\n const resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n let body;\n body = \"\";\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"GET\",\n headers,\n path: resolvedPath,\n body,\n });\n};\nexport const se_ListMultipartUploadsCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n uploads: [, \"\"],\n delimiter: [, input.Delimiter],\n \"encoding-type\": [, input.EncodingType],\n \"key-marker\": [, input.KeyMarker],\n \"max-uploads\": [() => input.MaxUploads !== void 0, () => input.MaxUploads.toString()],\n prefix: [, input.Prefix],\n \"upload-id-marker\": [, input.UploadIdMarker],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"GET\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_ListObjectsCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-request-payer\": input.RequestPayer,\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n delimiter: [, input.Delimiter],\n \"encoding-type\": [, input.EncodingType],\n marker: [, input.Marker],\n \"max-keys\": [() => input.MaxKeys !== void 0, () => input.MaxKeys.toString()],\n prefix: [, input.Prefix],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"GET\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_ListObjectsV2Command = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-request-payer\": input.RequestPayer,\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n \"list-type\": [, \"2\"],\n delimiter: [, input.Delimiter],\n \"encoding-type\": [, input.EncodingType],\n \"max-keys\": [() => input.MaxKeys !== void 0, () => input.MaxKeys.toString()],\n prefix: [, input.Prefix],\n \"continuation-token\": [, input.ContinuationToken],\n \"fetch-owner\": [() => input.FetchOwner !== void 0, () => input.FetchOwner.toString()],\n \"start-after\": [, input.StartAfter],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"GET\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_ListObjectVersionsCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n versions: [, \"\"],\n delimiter: [, input.Delimiter],\n \"encoding-type\": [, input.EncodingType],\n \"key-marker\": [, input.KeyMarker],\n \"max-keys\": [() => input.MaxKeys !== void 0, () => input.MaxKeys.toString()],\n prefix: [, input.Prefix],\n \"version-id-marker\": [, input.VersionIdMarker],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"GET\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_ListPartsCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-request-payer\": input.RequestPayer,\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n \"x-amz-server-side-encryption-customer-algorithm\": input.SSECustomerAlgorithm,\n \"x-amz-server-side-encryption-customer-key\": input.SSECustomerKey,\n \"x-amz-server-side-encryption-customer-key-md5\": input.SSECustomerKeyMD5,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/{Key+}\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n resolvedPath = __resolvedPath(resolvedPath, input, \"Key\", () => input.Key, \"{Key+}\", true);\n const query = map({\n \"x-id\": [, \"ListParts\"],\n \"max-parts\": [() => input.MaxParts !== void 0, () => input.MaxParts.toString()],\n \"part-number-marker\": [, input.PartNumberMarker],\n uploadId: [, __expectNonNull(input.UploadId, `UploadId`)],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"GET\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_PutBucketAccelerateConfigurationCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"content-type\": \"application/xml\",\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n \"x-amz-sdk-checksum-algorithm\": input.ChecksumAlgorithm,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n accelerate: [, \"\"],\n });\n let body;\n if (input.AccelerateConfiguration !== undefined) {\n body = se_AccelerateConfiguration(input.AccelerateConfiguration, context);\n }\n let contents;\n if (input.AccelerateConfiguration !== undefined) {\n contents = se_AccelerateConfiguration(input.AccelerateConfiguration, context);\n body = '<?xml version=\"1.0\" encoding=\"UTF-8\"?>';\n contents.addAttribute(\"xmlns\", \"http://s3.amazonaws.com/doc/2006-03-01/\");\n body += contents.toString();\n }\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"PUT\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_PutBucketAclCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"content-type\": \"application/xml\",\n \"x-amz-acl\": input.ACL,\n \"content-md5\": input.ContentMD5,\n \"x-amz-sdk-checksum-algorithm\": input.ChecksumAlgorithm,\n \"x-amz-grant-full-control\": input.GrantFullControl,\n \"x-amz-grant-read\": input.GrantRead,\n \"x-amz-grant-read-acp\": input.GrantReadACP,\n \"x-amz-grant-write\": input.GrantWrite,\n \"x-amz-grant-write-acp\": input.GrantWriteACP,\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n acl: [, \"\"],\n });\n let body;\n if (input.AccessControlPolicy !== undefined) {\n body = se_AccessControlPolicy(input.AccessControlPolicy, context);\n }\n let contents;\n if (input.AccessControlPolicy !== undefined) {\n contents = se_AccessControlPolicy(input.AccessControlPolicy, context);\n body = '<?xml version=\"1.0\" encoding=\"UTF-8\"?>';\n contents.addAttribute(\"xmlns\", \"http://s3.amazonaws.com/doc/2006-03-01/\");\n body += contents.toString();\n }\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"PUT\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_PutBucketAnalyticsConfigurationCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"content-type\": \"application/xml\",\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n analytics: [, \"\"],\n id: [, __expectNonNull(input.Id, `Id`)],\n });\n let body;\n if (input.AnalyticsConfiguration !== undefined) {\n body = se_AnalyticsConfiguration(input.AnalyticsConfiguration, context);\n }\n let contents;\n if (input.AnalyticsConfiguration !== undefined) {\n contents = se_AnalyticsConfiguration(input.AnalyticsConfiguration, context);\n body = '<?xml version=\"1.0\" encoding=\"UTF-8\"?>';\n contents.addAttribute(\"xmlns\", \"http://s3.amazonaws.com/doc/2006-03-01/\");\n body += contents.toString();\n }\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"PUT\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_PutBucketCorsCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"content-type\": \"application/xml\",\n \"content-md5\": input.ContentMD5,\n \"x-amz-sdk-checksum-algorithm\": input.ChecksumAlgorithm,\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n cors: [, \"\"],\n });\n let body;\n if (input.CORSConfiguration !== undefined) {\n body = se_CORSConfiguration(input.CORSConfiguration, context);\n }\n let contents;\n if (input.CORSConfiguration !== undefined) {\n contents = se_CORSConfiguration(input.CORSConfiguration, context);\n body = '<?xml version=\"1.0\" encoding=\"UTF-8\"?>';\n contents.addAttribute(\"xmlns\", \"http://s3.amazonaws.com/doc/2006-03-01/\");\n body += contents.toString();\n }\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"PUT\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_PutBucketEncryptionCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"content-type\": \"application/xml\",\n \"content-md5\": input.ContentMD5,\n \"x-amz-sdk-checksum-algorithm\": input.ChecksumAlgorithm,\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n encryption: [, \"\"],\n });\n let body;\n if (input.ServerSideEncryptionConfiguration !== undefined) {\n body = se_ServerSideEncryptionConfiguration(input.ServerSideEncryptionConfiguration, context);\n }\n let contents;\n if (input.ServerSideEncryptionConfiguration !== undefined) {\n contents = se_ServerSideEncryptionConfiguration(input.ServerSideEncryptionConfiguration, context);\n body = '<?xml version=\"1.0\" encoding=\"UTF-8\"?>';\n contents.addAttribute(\"xmlns\", \"http://s3.amazonaws.com/doc/2006-03-01/\");\n body += contents.toString();\n }\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"PUT\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_PutBucketIntelligentTieringConfigurationCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = {\n \"content-type\": \"application/xml\",\n };\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n \"intelligent-tiering\": [, \"\"],\n id: [, __expectNonNull(input.Id, `Id`)],\n });\n let body;\n if (input.IntelligentTieringConfiguration !== undefined) {\n body = se_IntelligentTieringConfiguration(input.IntelligentTieringConfiguration, context);\n }\n let contents;\n if (input.IntelligentTieringConfiguration !== undefined) {\n contents = se_IntelligentTieringConfiguration(input.IntelligentTieringConfiguration, context);\n body = '<?xml version=\"1.0\" encoding=\"UTF-8\"?>';\n contents.addAttribute(\"xmlns\", \"http://s3.amazonaws.com/doc/2006-03-01/\");\n body += contents.toString();\n }\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"PUT\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_PutBucketInventoryConfigurationCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"content-type\": \"application/xml\",\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n inventory: [, \"\"],\n id: [, __expectNonNull(input.Id, `Id`)],\n });\n let body;\n if (input.InventoryConfiguration !== undefined) {\n body = se_InventoryConfiguration(input.InventoryConfiguration, context);\n }\n let contents;\n if (input.InventoryConfiguration !== undefined) {\n contents = se_InventoryConfiguration(input.InventoryConfiguration, context);\n body = '<?xml version=\"1.0\" encoding=\"UTF-8\"?>';\n contents.addAttribute(\"xmlns\", \"http://s3.amazonaws.com/doc/2006-03-01/\");\n body += contents.toString();\n }\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"PUT\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_PutBucketLifecycleConfigurationCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"content-type\": \"application/xml\",\n \"x-amz-sdk-checksum-algorithm\": input.ChecksumAlgorithm,\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n lifecycle: [, \"\"],\n });\n let body;\n if (input.LifecycleConfiguration !== undefined) {\n body = se_BucketLifecycleConfiguration(input.LifecycleConfiguration, context);\n }\n let contents;\n if (input.LifecycleConfiguration !== undefined) {\n contents = se_BucketLifecycleConfiguration(input.LifecycleConfiguration, context);\n contents = contents.withName(\"LifecycleConfiguration\");\n body = '<?xml version=\"1.0\" encoding=\"UTF-8\"?>';\n contents.addAttribute(\"xmlns\", \"http://s3.amazonaws.com/doc/2006-03-01/\");\n body += contents.toString();\n }\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"PUT\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_PutBucketLoggingCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"content-type\": \"application/xml\",\n \"content-md5\": input.ContentMD5,\n \"x-amz-sdk-checksum-algorithm\": input.ChecksumAlgorithm,\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n logging: [, \"\"],\n });\n let body;\n if (input.BucketLoggingStatus !== undefined) {\n body = se_BucketLoggingStatus(input.BucketLoggingStatus, context);\n }\n let contents;\n if (input.BucketLoggingStatus !== undefined) {\n contents = se_BucketLoggingStatus(input.BucketLoggingStatus, context);\n body = '<?xml version=\"1.0\" encoding=\"UTF-8\"?>';\n contents.addAttribute(\"xmlns\", \"http://s3.amazonaws.com/doc/2006-03-01/\");\n body += contents.toString();\n }\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"PUT\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_PutBucketMetricsConfigurationCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"content-type\": \"application/xml\",\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n metrics: [, \"\"],\n id: [, __expectNonNull(input.Id, `Id`)],\n });\n let body;\n if (input.MetricsConfiguration !== undefined) {\n body = se_MetricsConfiguration(input.MetricsConfiguration, context);\n }\n let contents;\n if (input.MetricsConfiguration !== undefined) {\n contents = se_MetricsConfiguration(input.MetricsConfiguration, context);\n body = '<?xml version=\"1.0\" encoding=\"UTF-8\"?>';\n contents.addAttribute(\"xmlns\", \"http://s3.amazonaws.com/doc/2006-03-01/\");\n body += contents.toString();\n }\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"PUT\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_PutBucketNotificationConfigurationCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"content-type\": \"application/xml\",\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n \"x-amz-skip-destination-validation\": [\n () => isSerializableHeaderValue(input.SkipDestinationValidation),\n () => input.SkipDestinationValidation.toString(),\n ],\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n notification: [, \"\"],\n });\n let body;\n if (input.NotificationConfiguration !== undefined) {\n body = se_NotificationConfiguration(input.NotificationConfiguration, context);\n }\n let contents;\n if (input.NotificationConfiguration !== undefined) {\n contents = se_NotificationConfiguration(input.NotificationConfiguration, context);\n body = '<?xml version=\"1.0\" encoding=\"UTF-8\"?>';\n contents.addAttribute(\"xmlns\", \"http://s3.amazonaws.com/doc/2006-03-01/\");\n body += contents.toString();\n }\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"PUT\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_PutBucketOwnershipControlsCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"content-type\": \"application/xml\",\n \"content-md5\": input.ContentMD5,\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n ownershipControls: [, \"\"],\n });\n let body;\n if (input.OwnershipControls !== undefined) {\n body = se_OwnershipControls(input.OwnershipControls, context);\n }\n let contents;\n if (input.OwnershipControls !== undefined) {\n contents = se_OwnershipControls(input.OwnershipControls, context);\n body = '<?xml version=\"1.0\" encoding=\"UTF-8\"?>';\n contents.addAttribute(\"xmlns\", \"http://s3.amazonaws.com/doc/2006-03-01/\");\n body += contents.toString();\n }\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"PUT\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_PutBucketPolicyCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"content-type\": \"text/plain\",\n \"content-md5\": input.ContentMD5,\n \"x-amz-sdk-checksum-algorithm\": input.ChecksumAlgorithm,\n \"x-amz-confirm-remove-self-bucket-access\": [\n () => isSerializableHeaderValue(input.ConfirmRemoveSelfBucketAccess),\n () => input.ConfirmRemoveSelfBucketAccess.toString(),\n ],\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n policy: [, \"\"],\n });\n let body;\n if (input.Policy !== undefined) {\n body = input.Policy;\n }\n let contents;\n if (input.Policy !== undefined) {\n contents = input.Policy;\n body = contents;\n }\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"PUT\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_PutBucketReplicationCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"content-type\": \"application/xml\",\n \"content-md5\": input.ContentMD5,\n \"x-amz-sdk-checksum-algorithm\": input.ChecksumAlgorithm,\n \"x-amz-bucket-object-lock-token\": input.Token,\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n replication: [, \"\"],\n });\n let body;\n if (input.ReplicationConfiguration !== undefined) {\n body = se_ReplicationConfiguration(input.ReplicationConfiguration, context);\n }\n let contents;\n if (input.ReplicationConfiguration !== undefined) {\n contents = se_ReplicationConfiguration(input.ReplicationConfiguration, context);\n body = '<?xml version=\"1.0\" encoding=\"UTF-8\"?>';\n contents.addAttribute(\"xmlns\", \"http://s3.amazonaws.com/doc/2006-03-01/\");\n body += contents.toString();\n }\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"PUT\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_PutBucketRequestPaymentCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"content-type\": \"application/xml\",\n \"content-md5\": input.ContentMD5,\n \"x-amz-sdk-checksum-algorithm\": input.ChecksumAlgorithm,\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n requestPayment: [, \"\"],\n });\n let body;\n if (input.RequestPaymentConfiguration !== undefined) {\n body = se_RequestPaymentConfiguration(input.RequestPaymentConfiguration, context);\n }\n let contents;\n if (input.RequestPaymentConfiguration !== undefined) {\n contents = se_RequestPaymentConfiguration(input.RequestPaymentConfiguration, context);\n body = '<?xml version=\"1.0\" encoding=\"UTF-8\"?>';\n contents.addAttribute(\"xmlns\", \"http://s3.amazonaws.com/doc/2006-03-01/\");\n body += contents.toString();\n }\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"PUT\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_PutBucketTaggingCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"content-type\": \"application/xml\",\n \"content-md5\": input.ContentMD5,\n \"x-amz-sdk-checksum-algorithm\": input.ChecksumAlgorithm,\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n tagging: [, \"\"],\n });\n let body;\n if (input.Tagging !== undefined) {\n body = se_Tagging(input.Tagging, context);\n }\n let contents;\n if (input.Tagging !== undefined) {\n contents = se_Tagging(input.Tagging, context);\n body = '<?xml version=\"1.0\" encoding=\"UTF-8\"?>';\n contents.addAttribute(\"xmlns\", \"http://s3.amazonaws.com/doc/2006-03-01/\");\n body += contents.toString();\n }\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"PUT\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_PutBucketVersioningCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"content-type\": \"application/xml\",\n \"content-md5\": input.ContentMD5,\n \"x-amz-sdk-checksum-algorithm\": input.ChecksumAlgorithm,\n \"x-amz-mfa\": input.MFA,\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n versioning: [, \"\"],\n });\n let body;\n if (input.VersioningConfiguration !== undefined) {\n body = se_VersioningConfiguration(input.VersioningConfiguration, context);\n }\n let contents;\n if (input.VersioningConfiguration !== undefined) {\n contents = se_VersioningConfiguration(input.VersioningConfiguration, context);\n body = '<?xml version=\"1.0\" encoding=\"UTF-8\"?>';\n contents.addAttribute(\"xmlns\", \"http://s3.amazonaws.com/doc/2006-03-01/\");\n body += contents.toString();\n }\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"PUT\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_PutBucketWebsiteCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"content-type\": \"application/xml\",\n \"content-md5\": input.ContentMD5,\n \"x-amz-sdk-checksum-algorithm\": input.ChecksumAlgorithm,\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n website: [, \"\"],\n });\n let body;\n if (input.WebsiteConfiguration !== undefined) {\n body = se_WebsiteConfiguration(input.WebsiteConfiguration, context);\n }\n let contents;\n if (input.WebsiteConfiguration !== undefined) {\n contents = se_WebsiteConfiguration(input.WebsiteConfiguration, context);\n body = '<?xml version=\"1.0\" encoding=\"UTF-8\"?>';\n contents.addAttribute(\"xmlns\", \"http://s3.amazonaws.com/doc/2006-03-01/\");\n body += contents.toString();\n }\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"PUT\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_PutObjectCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"content-type\": input.ContentType || \"application/octet-stream\",\n \"x-amz-acl\": input.ACL,\n \"cache-control\": input.CacheControl,\n \"content-disposition\": input.ContentDisposition,\n \"content-encoding\": input.ContentEncoding,\n \"content-language\": input.ContentLanguage,\n \"content-length\": [() => isSerializableHeaderValue(input.ContentLength), () => input.ContentLength.toString()],\n \"content-md5\": input.ContentMD5,\n \"x-amz-sdk-checksum-algorithm\": input.ChecksumAlgorithm,\n \"x-amz-checksum-crc32\": input.ChecksumCRC32,\n \"x-amz-checksum-crc32c\": input.ChecksumCRC32C,\n \"x-amz-checksum-sha1\": input.ChecksumSHA1,\n \"x-amz-checksum-sha256\": input.ChecksumSHA256,\n expires: [() => isSerializableHeaderValue(input.Expires), () => __dateToUtcString(input.Expires).toString()],\n \"x-amz-grant-full-control\": input.GrantFullControl,\n \"x-amz-grant-read\": input.GrantRead,\n \"x-amz-grant-read-acp\": input.GrantReadACP,\n \"x-amz-grant-write-acp\": input.GrantWriteACP,\n \"x-amz-server-side-encryption\": input.ServerSideEncryption,\n \"x-amz-storage-class\": input.StorageClass,\n \"x-amz-website-redirect-location\": input.WebsiteRedirectLocation,\n \"x-amz-server-side-encryption-customer-algorithm\": input.SSECustomerAlgorithm,\n \"x-amz-server-side-encryption-customer-key\": input.SSECustomerKey,\n \"x-amz-server-side-encryption-customer-key-md5\": input.SSECustomerKeyMD5,\n \"x-amz-server-side-encryption-aws-kms-key-id\": input.SSEKMSKeyId,\n \"x-amz-server-side-encryption-context\": input.SSEKMSEncryptionContext,\n \"x-amz-server-side-encryption-bucket-key-enabled\": [\n () => isSerializableHeaderValue(input.BucketKeyEnabled),\n () => input.BucketKeyEnabled.toString(),\n ],\n \"x-amz-request-payer\": input.RequestPayer,\n \"x-amz-tagging\": input.Tagging,\n \"x-amz-object-lock-mode\": input.ObjectLockMode,\n \"x-amz-object-lock-retain-until-date\": [\n () => isSerializableHeaderValue(input.ObjectLockRetainUntilDate),\n () => (input.ObjectLockRetainUntilDate.toISOString().split(\".\")[0] + \"Z\").toString(),\n ],\n \"x-amz-object-lock-legal-hold\": input.ObjectLockLegalHoldStatus,\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n ...(input.Metadata !== undefined &&\n Object.keys(input.Metadata).reduce((acc, suffix) => {\n acc[`x-amz-meta-${suffix.toLowerCase()}`] = input.Metadata[suffix];\n return acc;\n }, {})),\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/{Key+}\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n resolvedPath = __resolvedPath(resolvedPath, input, \"Key\", () => input.Key, \"{Key+}\", true);\n const query = map({\n \"x-id\": [, \"PutObject\"],\n });\n let body;\n if (input.Body !== undefined) {\n body = input.Body;\n }\n let contents;\n if (input.Body !== undefined) {\n contents = input.Body;\n body = contents;\n }\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"PUT\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_PutObjectAclCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"content-type\": \"application/xml\",\n \"x-amz-acl\": input.ACL,\n \"content-md5\": input.ContentMD5,\n \"x-amz-sdk-checksum-algorithm\": input.ChecksumAlgorithm,\n \"x-amz-grant-full-control\": input.GrantFullControl,\n \"x-amz-grant-read\": input.GrantRead,\n \"x-amz-grant-read-acp\": input.GrantReadACP,\n \"x-amz-grant-write\": input.GrantWrite,\n \"x-amz-grant-write-acp\": input.GrantWriteACP,\n \"x-amz-request-payer\": input.RequestPayer,\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/{Key+}\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n resolvedPath = __resolvedPath(resolvedPath, input, \"Key\", () => input.Key, \"{Key+}\", true);\n const query = map({\n acl: [, \"\"],\n versionId: [, input.VersionId],\n });\n let body;\n if (input.AccessControlPolicy !== undefined) {\n body = se_AccessControlPolicy(input.AccessControlPolicy, context);\n }\n let contents;\n if (input.AccessControlPolicy !== undefined) {\n contents = se_AccessControlPolicy(input.AccessControlPolicy, context);\n body = '<?xml version=\"1.0\" encoding=\"UTF-8\"?>';\n contents.addAttribute(\"xmlns\", \"http://s3.amazonaws.com/doc/2006-03-01/\");\n body += contents.toString();\n }\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"PUT\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_PutObjectLegalHoldCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"content-type\": \"application/xml\",\n \"x-amz-request-payer\": input.RequestPayer,\n \"content-md5\": input.ContentMD5,\n \"x-amz-sdk-checksum-algorithm\": input.ChecksumAlgorithm,\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/{Key+}\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n resolvedPath = __resolvedPath(resolvedPath, input, \"Key\", () => input.Key, \"{Key+}\", true);\n const query = map({\n \"legal-hold\": [, \"\"],\n versionId: [, input.VersionId],\n });\n let body;\n if (input.LegalHold !== undefined) {\n body = se_ObjectLockLegalHold(input.LegalHold, context);\n }\n let contents;\n if (input.LegalHold !== undefined) {\n contents = se_ObjectLockLegalHold(input.LegalHold, context);\n contents = contents.withName(\"LegalHold\");\n body = '<?xml version=\"1.0\" encoding=\"UTF-8\"?>';\n contents.addAttribute(\"xmlns\", \"http://s3.amazonaws.com/doc/2006-03-01/\");\n body += contents.toString();\n }\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"PUT\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_PutObjectLockConfigurationCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"content-type\": \"application/xml\",\n \"x-amz-request-payer\": input.RequestPayer,\n \"x-amz-bucket-object-lock-token\": input.Token,\n \"content-md5\": input.ContentMD5,\n \"x-amz-sdk-checksum-algorithm\": input.ChecksumAlgorithm,\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n \"object-lock\": [, \"\"],\n });\n let body;\n if (input.ObjectLockConfiguration !== undefined) {\n body = se_ObjectLockConfiguration(input.ObjectLockConfiguration, context);\n }\n let contents;\n if (input.ObjectLockConfiguration !== undefined) {\n contents = se_ObjectLockConfiguration(input.ObjectLockConfiguration, context);\n body = '<?xml version=\"1.0\" encoding=\"UTF-8\"?>';\n contents.addAttribute(\"xmlns\", \"http://s3.amazonaws.com/doc/2006-03-01/\");\n body += contents.toString();\n }\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"PUT\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_PutObjectRetentionCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"content-type\": \"application/xml\",\n \"x-amz-request-payer\": input.RequestPayer,\n \"x-amz-bypass-governance-retention\": [\n () => isSerializableHeaderValue(input.BypassGovernanceRetention),\n () => input.BypassGovernanceRetention.toString(),\n ],\n \"content-md5\": input.ContentMD5,\n \"x-amz-sdk-checksum-algorithm\": input.ChecksumAlgorithm,\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/{Key+}\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n resolvedPath = __resolvedPath(resolvedPath, input, \"Key\", () => input.Key, \"{Key+}\", true);\n const query = map({\n retention: [, \"\"],\n versionId: [, input.VersionId],\n });\n let body;\n if (input.Retention !== undefined) {\n body = se_ObjectLockRetention(input.Retention, context);\n }\n let contents;\n if (input.Retention !== undefined) {\n contents = se_ObjectLockRetention(input.Retention, context);\n contents = contents.withName(\"Retention\");\n body = '<?xml version=\"1.0\" encoding=\"UTF-8\"?>';\n contents.addAttribute(\"xmlns\", \"http://s3.amazonaws.com/doc/2006-03-01/\");\n body += contents.toString();\n }\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"PUT\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_PutObjectTaggingCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"content-type\": \"application/xml\",\n \"content-md5\": input.ContentMD5,\n \"x-amz-sdk-checksum-algorithm\": input.ChecksumAlgorithm,\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n \"x-amz-request-payer\": input.RequestPayer,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/{Key+}\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n resolvedPath = __resolvedPath(resolvedPath, input, \"Key\", () => input.Key, \"{Key+}\", true);\n const query = map({\n tagging: [, \"\"],\n versionId: [, input.VersionId],\n });\n let body;\n if (input.Tagging !== undefined) {\n body = se_Tagging(input.Tagging, context);\n }\n let contents;\n if (input.Tagging !== undefined) {\n contents = se_Tagging(input.Tagging, context);\n body = '<?xml version=\"1.0\" encoding=\"UTF-8\"?>';\n contents.addAttribute(\"xmlns\", \"http://s3.amazonaws.com/doc/2006-03-01/\");\n body += contents.toString();\n }\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"PUT\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_PutPublicAccessBlockCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"content-type\": \"application/xml\",\n \"content-md5\": input.ContentMD5,\n \"x-amz-sdk-checksum-algorithm\": input.ChecksumAlgorithm,\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n const query = map({\n publicAccessBlock: [, \"\"],\n });\n let body;\n if (input.PublicAccessBlockConfiguration !== undefined) {\n body = se_PublicAccessBlockConfiguration(input.PublicAccessBlockConfiguration, context);\n }\n let contents;\n if (input.PublicAccessBlockConfiguration !== undefined) {\n contents = se_PublicAccessBlockConfiguration(input.PublicAccessBlockConfiguration, context);\n body = '<?xml version=\"1.0\" encoding=\"UTF-8\"?>';\n contents.addAttribute(\"xmlns\", \"http://s3.amazonaws.com/doc/2006-03-01/\");\n body += contents.toString();\n }\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"PUT\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_RestoreObjectCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"content-type\": \"application/xml\",\n \"x-amz-request-payer\": input.RequestPayer,\n \"x-amz-sdk-checksum-algorithm\": input.ChecksumAlgorithm,\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/{Key+}\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n resolvedPath = __resolvedPath(resolvedPath, input, \"Key\", () => input.Key, \"{Key+}\", true);\n const query = map({\n restore: [, \"\"],\n \"x-id\": [, \"RestoreObject\"],\n versionId: [, input.VersionId],\n });\n let body;\n if (input.RestoreRequest !== undefined) {\n body = se_RestoreRequest(input.RestoreRequest, context);\n }\n let contents;\n if (input.RestoreRequest !== undefined) {\n contents = se_RestoreRequest(input.RestoreRequest, context);\n body = '<?xml version=\"1.0\" encoding=\"UTF-8\"?>';\n contents.addAttribute(\"xmlns\", \"http://s3.amazonaws.com/doc/2006-03-01/\");\n body += contents.toString();\n }\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"POST\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_SelectObjectContentCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"content-type\": \"application/xml\",\n \"x-amz-server-side-encryption-customer-algorithm\": input.SSECustomerAlgorithm,\n \"x-amz-server-side-encryption-customer-key\": input.SSECustomerKey,\n \"x-amz-server-side-encryption-customer-key-md5\": input.SSECustomerKeyMD5,\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/{Key+}\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n resolvedPath = __resolvedPath(resolvedPath, input, \"Key\", () => input.Key, \"{Key+}\", true);\n const query = map({\n select: [, \"\"],\n \"select-type\": [, \"2\"],\n \"x-id\": [, \"SelectObjectContent\"],\n });\n let body;\n body = '<?xml version=\"1.0\" encoding=\"UTF-8\"?>';\n const bodyNode = new __XmlNode(\"SelectObjectContentRequest\");\n bodyNode.addAttribute(\"xmlns\", \"http://s3.amazonaws.com/doc/2006-03-01/\");\n if (input.Expression !== undefined) {\n const node = __XmlNode.of(\"Expression\", input.Expression).withName(\"Expression\");\n bodyNode.addChildNode(node);\n }\n if (input.ExpressionType !== undefined) {\n const node = __XmlNode.of(\"ExpressionType\", input.ExpressionType).withName(\"ExpressionType\");\n bodyNode.addChildNode(node);\n }\n if (input.InputSerialization !== undefined) {\n const node = se_InputSerialization(input.InputSerialization, context).withName(\"InputSerialization\");\n bodyNode.addChildNode(node);\n }\n if (input.OutputSerialization !== undefined) {\n const node = se_OutputSerialization(input.OutputSerialization, context).withName(\"OutputSerialization\");\n bodyNode.addChildNode(node);\n }\n if (input.RequestProgress !== undefined) {\n const node = se_RequestProgress(input.RequestProgress, context).withName(\"RequestProgress\");\n bodyNode.addChildNode(node);\n }\n if (input.ScanRange !== undefined) {\n const node = se_ScanRange(input.ScanRange, context).withName(\"ScanRange\");\n bodyNode.addChildNode(node);\n }\n body += bodyNode.toString();\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"POST\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_UploadPartCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"content-type\": \"application/octet-stream\",\n \"content-length\": [() => isSerializableHeaderValue(input.ContentLength), () => input.ContentLength.toString()],\n \"content-md5\": input.ContentMD5,\n \"x-amz-sdk-checksum-algorithm\": input.ChecksumAlgorithm,\n \"x-amz-checksum-crc32\": input.ChecksumCRC32,\n \"x-amz-checksum-crc32c\": input.ChecksumCRC32C,\n \"x-amz-checksum-sha1\": input.ChecksumSHA1,\n \"x-amz-checksum-sha256\": input.ChecksumSHA256,\n \"x-amz-server-side-encryption-customer-algorithm\": input.SSECustomerAlgorithm,\n \"x-amz-server-side-encryption-customer-key\": input.SSECustomerKey,\n \"x-amz-server-side-encryption-customer-key-md5\": input.SSECustomerKeyMD5,\n \"x-amz-request-payer\": input.RequestPayer,\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/{Key+}\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n resolvedPath = __resolvedPath(resolvedPath, input, \"Key\", () => input.Key, \"{Key+}\", true);\n const query = map({\n \"x-id\": [, \"UploadPart\"],\n partNumber: [__expectNonNull(input.PartNumber, `PartNumber`) != null, () => input.PartNumber.toString()],\n uploadId: [, __expectNonNull(input.UploadId, `UploadId`)],\n });\n let body;\n if (input.Body !== undefined) {\n body = input.Body;\n }\n let contents;\n if (input.Body !== undefined) {\n contents = input.Body;\n body = contents;\n }\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"PUT\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_UploadPartCopyCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-copy-source\": input.CopySource,\n \"x-amz-copy-source-if-match\": input.CopySourceIfMatch,\n \"x-amz-copy-source-if-modified-since\": [\n () => isSerializableHeaderValue(input.CopySourceIfModifiedSince),\n () => __dateToUtcString(input.CopySourceIfModifiedSince).toString(),\n ],\n \"x-amz-copy-source-if-none-match\": input.CopySourceIfNoneMatch,\n \"x-amz-copy-source-if-unmodified-since\": [\n () => isSerializableHeaderValue(input.CopySourceIfUnmodifiedSince),\n () => __dateToUtcString(input.CopySourceIfUnmodifiedSince).toString(),\n ],\n \"x-amz-copy-source-range\": input.CopySourceRange,\n \"x-amz-server-side-encryption-customer-algorithm\": input.SSECustomerAlgorithm,\n \"x-amz-server-side-encryption-customer-key\": input.SSECustomerKey,\n \"x-amz-server-side-encryption-customer-key-md5\": input.SSECustomerKeyMD5,\n \"x-amz-copy-source-server-side-encryption-customer-algorithm\": input.CopySourceSSECustomerAlgorithm,\n \"x-amz-copy-source-server-side-encryption-customer-key\": input.CopySourceSSECustomerKey,\n \"x-amz-copy-source-server-side-encryption-customer-key-md5\": input.CopySourceSSECustomerKeyMD5,\n \"x-amz-request-payer\": input.RequestPayer,\n \"x-amz-expected-bucket-owner\": input.ExpectedBucketOwner,\n \"x-amz-source-expected-bucket-owner\": input.ExpectedSourceBucketOwner,\n });\n let resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/{Key+}\";\n resolvedPath = __resolvedPath(resolvedPath, input, \"Bucket\", () => input.Bucket, \"{Bucket}\", false);\n resolvedPath = __resolvedPath(resolvedPath, input, \"Key\", () => input.Key, \"{Key+}\", true);\n const query = map({\n \"x-id\": [, \"UploadPartCopy\"],\n partNumber: [__expectNonNull(input.PartNumber, `PartNumber`) != null, () => input.PartNumber.toString()],\n uploadId: [, __expectNonNull(input.UploadId, `UploadId`)],\n });\n let body;\n return new __HttpRequest({\n protocol,\n hostname,\n port,\n method: \"PUT\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const se_WriteGetObjectResponseCommand = async (input, context) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n \"x-amz-content-sha256\": \"UNSIGNED-PAYLOAD\",\n \"content-type\": \"application/octet-stream\",\n \"x-amz-request-route\": input.RequestRoute,\n \"x-amz-request-token\": input.RequestToken,\n \"x-amz-fwd-status\": [() => isSerializableHeaderValue(input.StatusCode), () => input.StatusCode.toString()],\n \"x-amz-fwd-error-code\": input.ErrorCode,\n \"x-amz-fwd-error-message\": input.ErrorMessage,\n \"x-amz-fwd-header-accept-ranges\": input.AcceptRanges,\n \"x-amz-fwd-header-cache-control\": input.CacheControl,\n \"x-amz-fwd-header-content-disposition\": input.ContentDisposition,\n \"x-amz-fwd-header-content-encoding\": input.ContentEncoding,\n \"x-amz-fwd-header-content-language\": input.ContentLanguage,\n \"content-length\": [() => isSerializableHeaderValue(input.ContentLength), () => input.ContentLength.toString()],\n \"x-amz-fwd-header-content-range\": input.ContentRange,\n \"x-amz-fwd-header-content-type\": input.ContentType,\n \"x-amz-fwd-header-x-amz-checksum-crc32\": input.ChecksumCRC32,\n \"x-amz-fwd-header-x-amz-checksum-crc32c\": input.ChecksumCRC32C,\n \"x-amz-fwd-header-x-amz-checksum-sha1\": input.ChecksumSHA1,\n \"x-amz-fwd-header-x-amz-checksum-sha256\": input.ChecksumSHA256,\n \"x-amz-fwd-header-x-amz-delete-marker\": [\n () => isSerializableHeaderValue(input.DeleteMarker),\n () => input.DeleteMarker.toString(),\n ],\n \"x-amz-fwd-header-etag\": input.ETag,\n \"x-amz-fwd-header-expires\": [\n () => isSerializableHeaderValue(input.Expires),\n () => __dateToUtcString(input.Expires).toString(),\n ],\n \"x-amz-fwd-header-x-amz-expiration\": input.Expiration,\n \"x-amz-fwd-header-last-modified\": [\n () => isSerializableHeaderValue(input.LastModified),\n () => __dateToUtcString(input.LastModified).toString(),\n ],\n \"x-amz-fwd-header-x-amz-missing-meta\": [\n () => isSerializableHeaderValue(input.MissingMeta),\n () => input.MissingMeta.toString(),\n ],\n \"x-amz-fwd-header-x-amz-object-lock-mode\": input.ObjectLockMode,\n \"x-amz-fwd-header-x-amz-object-lock-legal-hold\": input.ObjectLockLegalHoldStatus,\n \"x-amz-fwd-header-x-amz-object-lock-retain-until-date\": [\n () => isSerializableHeaderValue(input.ObjectLockRetainUntilDate),\n () => (input.ObjectLockRetainUntilDate.toISOString().split(\".\")[0] + \"Z\").toString(),\n ],\n \"x-amz-fwd-header-x-amz-mp-parts-count\": [\n () => isSerializableHeaderValue(input.PartsCount),\n () => input.PartsCount.toString(),\n ],\n \"x-amz-fwd-header-x-amz-replication-status\": input.ReplicationStatus,\n \"x-amz-fwd-header-x-amz-request-charged\": input.RequestCharged,\n \"x-amz-fwd-header-x-amz-restore\": input.Restore,\n \"x-amz-fwd-header-x-amz-server-side-encryption\": input.ServerSideEncryption,\n \"x-amz-fwd-header-x-amz-server-side-encryption-customer-algorithm\": input.SSECustomerAlgorithm,\n \"x-amz-fwd-header-x-amz-server-side-encryption-aws-kms-key-id\": input.SSEKMSKeyId,\n \"x-amz-fwd-header-x-amz-server-side-encryption-customer-key-md5\": input.SSECustomerKeyMD5,\n \"x-amz-fwd-header-x-amz-storage-class\": input.StorageClass,\n \"x-amz-fwd-header-x-amz-tagging-count\": [\n () => isSerializableHeaderValue(input.TagCount),\n () => input.TagCount.toString(),\n ],\n \"x-amz-fwd-header-x-amz-version-id\": input.VersionId,\n \"x-amz-fwd-header-x-amz-server-side-encryption-bucket-key-enabled\": [\n () => isSerializableHeaderValue(input.BucketKeyEnabled),\n () => input.BucketKeyEnabled.toString(),\n ],\n ...(input.Metadata !== undefined &&\n Object.keys(input.Metadata).reduce((acc, suffix) => {\n acc[`x-amz-meta-${suffix.toLowerCase()}`] = input.Metadata[suffix];\n return acc;\n }, {})),\n });\n const resolvedPath = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + \"/WriteGetObjectResponse\";\n const query = map({\n \"x-id\": [, \"WriteGetObjectResponse\"],\n });\n let body;\n if (input.Body !== undefined) {\n body = input.Body;\n }\n let contents;\n if (input.Body !== undefined) {\n contents = input.Body;\n body = contents;\n }\n let { hostname: resolvedHostname } = await context.endpoint();\n if (context.disableHostPrefix !== true) {\n resolvedHostname = \"{RequestRoute}.\" + resolvedHostname;\n if (input.RequestRoute === undefined) {\n throw new Error(\"Empty value provided for input host prefix: RequestRoute.\");\n }\n resolvedHostname = resolvedHostname.replace(\"{RequestRoute}\", input.RequestRoute);\n if (!__isValidHostname(resolvedHostname)) {\n throw new Error(\"ValidationError: prefixed hostname must be hostname compatible.\");\n }\n }\n return new __HttpRequest({\n protocol,\n hostname: resolvedHostname,\n port,\n method: \"POST\",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nexport const de_AbortMultipartUploadCommand = async (output, context) => {\n if (output.statusCode !== 204 && output.statusCode >= 300) {\n return de_AbortMultipartUploadCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n RequestCharged: [, output.headers[\"x-amz-request-charged\"]],\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_AbortMultipartUploadCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"NoSuchUpload\":\n case \"com.amazonaws.s3#NoSuchUpload\":\n throw await de_NoSuchUploadRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n }\n};\nexport const de_CompleteMultipartUploadCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CompleteMultipartUploadCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n Expiration: [, output.headers[\"x-amz-expiration\"]],\n ServerSideEncryption: [, output.headers[\"x-amz-server-side-encryption\"]],\n VersionId: [, output.headers[\"x-amz-version-id\"]],\n SSEKMSKeyId: [, output.headers[\"x-amz-server-side-encryption-aws-kms-key-id\"]],\n BucketKeyEnabled: [\n () => void 0 !== output.headers[\"x-amz-server-side-encryption-bucket-key-enabled\"],\n () => __parseBoolean(output.headers[\"x-amz-server-side-encryption-bucket-key-enabled\"]),\n ],\n RequestCharged: [, output.headers[\"x-amz-request-charged\"]],\n });\n const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), \"body\");\n if (data[\"Bucket\"] !== undefined) {\n contents.Bucket = __expectString(data[\"Bucket\"]);\n }\n if (data[\"ChecksumCRC32\"] !== undefined) {\n contents.ChecksumCRC32 = __expectString(data[\"ChecksumCRC32\"]);\n }\n if (data[\"ChecksumCRC32C\"] !== undefined) {\n contents.ChecksumCRC32C = __expectString(data[\"ChecksumCRC32C\"]);\n }\n if (data[\"ChecksumSHA1\"] !== undefined) {\n contents.ChecksumSHA1 = __expectString(data[\"ChecksumSHA1\"]);\n }\n if (data[\"ChecksumSHA256\"] !== undefined) {\n contents.ChecksumSHA256 = __expectString(data[\"ChecksumSHA256\"]);\n }\n if (data[\"ETag\"] !== undefined) {\n contents.ETag = __expectString(data[\"ETag\"]);\n }\n if (data[\"Key\"] !== undefined) {\n contents.Key = __expectString(data[\"Key\"]);\n }\n if (data[\"Location\"] !== undefined) {\n contents.Location = __expectString(data[\"Location\"]);\n }\n return contents;\n};\nconst de_CompleteMultipartUploadCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_CopyObjectCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CopyObjectCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n Expiration: [, output.headers[\"x-amz-expiration\"]],\n CopySourceVersionId: [, output.headers[\"x-amz-copy-source-version-id\"]],\n VersionId: [, output.headers[\"x-amz-version-id\"]],\n ServerSideEncryption: [, output.headers[\"x-amz-server-side-encryption\"]],\n SSECustomerAlgorithm: [, output.headers[\"x-amz-server-side-encryption-customer-algorithm\"]],\n SSECustomerKeyMD5: [, output.headers[\"x-amz-server-side-encryption-customer-key-md5\"]],\n SSEKMSKeyId: [, output.headers[\"x-amz-server-side-encryption-aws-kms-key-id\"]],\n SSEKMSEncryptionContext: [, output.headers[\"x-amz-server-side-encryption-context\"]],\n BucketKeyEnabled: [\n () => void 0 !== output.headers[\"x-amz-server-side-encryption-bucket-key-enabled\"],\n () => __parseBoolean(output.headers[\"x-amz-server-side-encryption-bucket-key-enabled\"]),\n ],\n RequestCharged: [, output.headers[\"x-amz-request-charged\"]],\n });\n const data = __expectObject(await parseBody(output.body, context));\n contents.CopyObjectResult = de_CopyObjectResult(data, context);\n return contents;\n};\nconst de_CopyObjectCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"ObjectNotInActiveTierError\":\n case \"com.amazonaws.s3#ObjectNotInActiveTierError\":\n throw await de_ObjectNotInActiveTierErrorRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n }\n};\nexport const de_CreateBucketCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CreateBucketCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n Location: [, output.headers[\"location\"]],\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_CreateBucketCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"BucketAlreadyExists\":\n case \"com.amazonaws.s3#BucketAlreadyExists\":\n throw await de_BucketAlreadyExistsRes(parsedOutput, context);\n case \"BucketAlreadyOwnedByYou\":\n case \"com.amazonaws.s3#BucketAlreadyOwnedByYou\":\n throw await de_BucketAlreadyOwnedByYouRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n }\n};\nexport const de_CreateMultipartUploadCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CreateMultipartUploadCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n AbortDate: [\n () => void 0 !== output.headers[\"x-amz-abort-date\"],\n () => __expectNonNull(__parseRfc7231DateTime(output.headers[\"x-amz-abort-date\"])),\n ],\n AbortRuleId: [, output.headers[\"x-amz-abort-rule-id\"]],\n ServerSideEncryption: [, output.headers[\"x-amz-server-side-encryption\"]],\n SSECustomerAlgorithm: [, output.headers[\"x-amz-server-side-encryption-customer-algorithm\"]],\n SSECustomerKeyMD5: [, output.headers[\"x-amz-server-side-encryption-customer-key-md5\"]],\n SSEKMSKeyId: [, output.headers[\"x-amz-server-side-encryption-aws-kms-key-id\"]],\n SSEKMSEncryptionContext: [, output.headers[\"x-amz-server-side-encryption-context\"]],\n BucketKeyEnabled: [\n () => void 0 !== output.headers[\"x-amz-server-side-encryption-bucket-key-enabled\"],\n () => __parseBoolean(output.headers[\"x-amz-server-side-encryption-bucket-key-enabled\"]),\n ],\n RequestCharged: [, output.headers[\"x-amz-request-charged\"]],\n ChecksumAlgorithm: [, output.headers[\"x-amz-checksum-algorithm\"]],\n });\n const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), \"body\");\n if (data[\"Bucket\"] !== undefined) {\n contents.Bucket = __expectString(data[\"Bucket\"]);\n }\n if (data[\"Key\"] !== undefined) {\n contents.Key = __expectString(data[\"Key\"]);\n }\n if (data[\"UploadId\"] !== undefined) {\n contents.UploadId = __expectString(data[\"UploadId\"]);\n }\n return contents;\n};\nconst de_CreateMultipartUploadCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_DeleteBucketCommand = async (output, context) => {\n if (output.statusCode !== 204 && output.statusCode >= 300) {\n return de_DeleteBucketCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_DeleteBucketCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_DeleteBucketAnalyticsConfigurationCommand = async (output, context) => {\n if (output.statusCode !== 204 && output.statusCode >= 300) {\n return de_DeleteBucketAnalyticsConfigurationCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_DeleteBucketAnalyticsConfigurationCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_DeleteBucketCorsCommand = async (output, context) => {\n if (output.statusCode !== 204 && output.statusCode >= 300) {\n return de_DeleteBucketCorsCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_DeleteBucketCorsCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_DeleteBucketEncryptionCommand = async (output, context) => {\n if (output.statusCode !== 204 && output.statusCode >= 300) {\n return de_DeleteBucketEncryptionCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_DeleteBucketEncryptionCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_DeleteBucketIntelligentTieringConfigurationCommand = async (output, context) => {\n if (output.statusCode !== 204 && output.statusCode >= 300) {\n return de_DeleteBucketIntelligentTieringConfigurationCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_DeleteBucketIntelligentTieringConfigurationCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_DeleteBucketInventoryConfigurationCommand = async (output, context) => {\n if (output.statusCode !== 204 && output.statusCode >= 300) {\n return de_DeleteBucketInventoryConfigurationCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_DeleteBucketInventoryConfigurationCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_DeleteBucketLifecycleCommand = async (output, context) => {\n if (output.statusCode !== 204 && output.statusCode >= 300) {\n return de_DeleteBucketLifecycleCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_DeleteBucketLifecycleCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_DeleteBucketMetricsConfigurationCommand = async (output, context) => {\n if (output.statusCode !== 204 && output.statusCode >= 300) {\n return de_DeleteBucketMetricsConfigurationCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_DeleteBucketMetricsConfigurationCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_DeleteBucketOwnershipControlsCommand = async (output, context) => {\n if (output.statusCode !== 204 && output.statusCode >= 300) {\n return de_DeleteBucketOwnershipControlsCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_DeleteBucketOwnershipControlsCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_DeleteBucketPolicyCommand = async (output, context) => {\n if (output.statusCode !== 204 && output.statusCode >= 300) {\n return de_DeleteBucketPolicyCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_DeleteBucketPolicyCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_DeleteBucketReplicationCommand = async (output, context) => {\n if (output.statusCode !== 204 && output.statusCode >= 300) {\n return de_DeleteBucketReplicationCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_DeleteBucketReplicationCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_DeleteBucketTaggingCommand = async (output, context) => {\n if (output.statusCode !== 204 && output.statusCode >= 300) {\n return de_DeleteBucketTaggingCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_DeleteBucketTaggingCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_DeleteBucketWebsiteCommand = async (output, context) => {\n if (output.statusCode !== 204 && output.statusCode >= 300) {\n return de_DeleteBucketWebsiteCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_DeleteBucketWebsiteCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_DeleteObjectCommand = async (output, context) => {\n if (output.statusCode !== 204 && output.statusCode >= 300) {\n return de_DeleteObjectCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n DeleteMarker: [\n () => void 0 !== output.headers[\"x-amz-delete-marker\"],\n () => __parseBoolean(output.headers[\"x-amz-delete-marker\"]),\n ],\n VersionId: [, output.headers[\"x-amz-version-id\"]],\n RequestCharged: [, output.headers[\"x-amz-request-charged\"]],\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_DeleteObjectCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_DeleteObjectsCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_DeleteObjectsCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n RequestCharged: [, output.headers[\"x-amz-request-charged\"]],\n });\n const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), \"body\");\n if (data.Deleted === \"\") {\n contents.Deleted = [];\n }\n else if (data[\"Deleted\"] !== undefined) {\n contents.Deleted = de_DeletedObjects(__getArrayIfSingleItem(data[\"Deleted\"]), context);\n }\n if (data.Error === \"\") {\n contents.Errors = [];\n }\n else if (data[\"Error\"] !== undefined) {\n contents.Errors = de_Errors(__getArrayIfSingleItem(data[\"Error\"]), context);\n }\n return contents;\n};\nconst de_DeleteObjectsCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_DeleteObjectTaggingCommand = async (output, context) => {\n if (output.statusCode !== 204 && output.statusCode >= 300) {\n return de_DeleteObjectTaggingCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n VersionId: [, output.headers[\"x-amz-version-id\"]],\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_DeleteObjectTaggingCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_DeletePublicAccessBlockCommand = async (output, context) => {\n if (output.statusCode !== 204 && output.statusCode >= 300) {\n return de_DeletePublicAccessBlockCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_DeletePublicAccessBlockCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_GetBucketAccelerateConfigurationCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_GetBucketAccelerateConfigurationCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), \"body\");\n if (data[\"Status\"] !== undefined) {\n contents.Status = __expectString(data[\"Status\"]);\n }\n return contents;\n};\nconst de_GetBucketAccelerateConfigurationCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_GetBucketAclCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_GetBucketAclCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), \"body\");\n if (data.AccessControlList === \"\") {\n contents.Grants = [];\n }\n else if (data[\"AccessControlList\"] !== undefined && data[\"AccessControlList\"][\"Grant\"] !== undefined) {\n contents.Grants = de_Grants(__getArrayIfSingleItem(data[\"AccessControlList\"][\"Grant\"]), context);\n }\n if (data[\"Owner\"] !== undefined) {\n contents.Owner = de_Owner(data[\"Owner\"], context);\n }\n return contents;\n};\nconst de_GetBucketAclCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_GetBucketAnalyticsConfigurationCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_GetBucketAnalyticsConfigurationCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = __expectObject(await parseBody(output.body, context));\n contents.AnalyticsConfiguration = de_AnalyticsConfiguration(data, context);\n return contents;\n};\nconst de_GetBucketAnalyticsConfigurationCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_GetBucketCorsCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_GetBucketCorsCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), \"body\");\n if (data.CORSRule === \"\") {\n contents.CORSRules = [];\n }\n else if (data[\"CORSRule\"] !== undefined) {\n contents.CORSRules = de_CORSRules(__getArrayIfSingleItem(data[\"CORSRule\"]), context);\n }\n return contents;\n};\nconst de_GetBucketCorsCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_GetBucketEncryptionCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_GetBucketEncryptionCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = __expectObject(await parseBody(output.body, context));\n contents.ServerSideEncryptionConfiguration = de_ServerSideEncryptionConfiguration(data, context);\n return contents;\n};\nconst de_GetBucketEncryptionCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_GetBucketIntelligentTieringConfigurationCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_GetBucketIntelligentTieringConfigurationCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = __expectObject(await parseBody(output.body, context));\n contents.IntelligentTieringConfiguration = de_IntelligentTieringConfiguration(data, context);\n return contents;\n};\nconst de_GetBucketIntelligentTieringConfigurationCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_GetBucketInventoryConfigurationCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_GetBucketInventoryConfigurationCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = __expectObject(await parseBody(output.body, context));\n contents.InventoryConfiguration = de_InventoryConfiguration(data, context);\n return contents;\n};\nconst de_GetBucketInventoryConfigurationCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_GetBucketLifecycleConfigurationCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_GetBucketLifecycleConfigurationCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), \"body\");\n if (data.Rule === \"\") {\n contents.Rules = [];\n }\n else if (data[\"Rule\"] !== undefined) {\n contents.Rules = de_LifecycleRules(__getArrayIfSingleItem(data[\"Rule\"]), context);\n }\n return contents;\n};\nconst de_GetBucketLifecycleConfigurationCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_GetBucketLocationCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_GetBucketLocationCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), \"body\");\n if (data[\"LocationConstraint\"] !== undefined) {\n contents.LocationConstraint = __expectString(data[\"LocationConstraint\"]);\n }\n return contents;\n};\nconst de_GetBucketLocationCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_GetBucketLoggingCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_GetBucketLoggingCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), \"body\");\n if (data[\"LoggingEnabled\"] !== undefined) {\n contents.LoggingEnabled = de_LoggingEnabled(data[\"LoggingEnabled\"], context);\n }\n return contents;\n};\nconst de_GetBucketLoggingCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_GetBucketMetricsConfigurationCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_GetBucketMetricsConfigurationCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = __expectObject(await parseBody(output.body, context));\n contents.MetricsConfiguration = de_MetricsConfiguration(data, context);\n return contents;\n};\nconst de_GetBucketMetricsConfigurationCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_GetBucketNotificationConfigurationCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_GetBucketNotificationConfigurationCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), \"body\");\n if (data[\"EventBridgeConfiguration\"] !== undefined) {\n contents.EventBridgeConfiguration = de_EventBridgeConfiguration(data[\"EventBridgeConfiguration\"], context);\n }\n if (data.CloudFunctionConfiguration === \"\") {\n contents.LambdaFunctionConfigurations = [];\n }\n else if (data[\"CloudFunctionConfiguration\"] !== undefined) {\n contents.LambdaFunctionConfigurations = de_LambdaFunctionConfigurationList(__getArrayIfSingleItem(data[\"CloudFunctionConfiguration\"]), context);\n }\n if (data.QueueConfiguration === \"\") {\n contents.QueueConfigurations = [];\n }\n else if (data[\"QueueConfiguration\"] !== undefined) {\n contents.QueueConfigurations = de_QueueConfigurationList(__getArrayIfSingleItem(data[\"QueueConfiguration\"]), context);\n }\n if (data.TopicConfiguration === \"\") {\n contents.TopicConfigurations = [];\n }\n else if (data[\"TopicConfiguration\"] !== undefined) {\n contents.TopicConfigurations = de_TopicConfigurationList(__getArrayIfSingleItem(data[\"TopicConfiguration\"]), context);\n }\n return contents;\n};\nconst de_GetBucketNotificationConfigurationCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_GetBucketOwnershipControlsCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_GetBucketOwnershipControlsCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = __expectObject(await parseBody(output.body, context));\n contents.OwnershipControls = de_OwnershipControls(data, context);\n return contents;\n};\nconst de_GetBucketOwnershipControlsCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_GetBucketPolicyCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_GetBucketPolicyCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = await collectBodyString(output.body, context);\n contents.Policy = __expectString(data);\n return contents;\n};\nconst de_GetBucketPolicyCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_GetBucketPolicyStatusCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_GetBucketPolicyStatusCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = __expectObject(await parseBody(output.body, context));\n contents.PolicyStatus = de_PolicyStatus(data, context);\n return contents;\n};\nconst de_GetBucketPolicyStatusCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_GetBucketReplicationCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_GetBucketReplicationCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = __expectObject(await parseBody(output.body, context));\n contents.ReplicationConfiguration = de_ReplicationConfiguration(data, context);\n return contents;\n};\nconst de_GetBucketReplicationCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_GetBucketRequestPaymentCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_GetBucketRequestPaymentCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), \"body\");\n if (data[\"Payer\"] !== undefined) {\n contents.Payer = __expectString(data[\"Payer\"]);\n }\n return contents;\n};\nconst de_GetBucketRequestPaymentCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_GetBucketTaggingCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_GetBucketTaggingCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), \"body\");\n if (data.TagSet === \"\") {\n contents.TagSet = [];\n }\n else if (data[\"TagSet\"] !== undefined && data[\"TagSet\"][\"Tag\"] !== undefined) {\n contents.TagSet = de_TagSet(__getArrayIfSingleItem(data[\"TagSet\"][\"Tag\"]), context);\n }\n return contents;\n};\nconst de_GetBucketTaggingCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_GetBucketVersioningCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_GetBucketVersioningCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), \"body\");\n if (data[\"MfaDelete\"] !== undefined) {\n contents.MFADelete = __expectString(data[\"MfaDelete\"]);\n }\n if (data[\"Status\"] !== undefined) {\n contents.Status = __expectString(data[\"Status\"]);\n }\n return contents;\n};\nconst de_GetBucketVersioningCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_GetBucketWebsiteCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_GetBucketWebsiteCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), \"body\");\n if (data[\"ErrorDocument\"] !== undefined) {\n contents.ErrorDocument = de_ErrorDocument(data[\"ErrorDocument\"], context);\n }\n if (data[\"IndexDocument\"] !== undefined) {\n contents.IndexDocument = de_IndexDocument(data[\"IndexDocument\"], context);\n }\n if (data[\"RedirectAllRequestsTo\"] !== undefined) {\n contents.RedirectAllRequestsTo = de_RedirectAllRequestsTo(data[\"RedirectAllRequestsTo\"], context);\n }\n if (data.RoutingRules === \"\") {\n contents.RoutingRules = [];\n }\n else if (data[\"RoutingRules\"] !== undefined && data[\"RoutingRules\"][\"RoutingRule\"] !== undefined) {\n contents.RoutingRules = de_RoutingRules(__getArrayIfSingleItem(data[\"RoutingRules\"][\"RoutingRule\"]), context);\n }\n return contents;\n};\nconst de_GetBucketWebsiteCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_GetObjectCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_GetObjectCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n DeleteMarker: [\n () => void 0 !== output.headers[\"x-amz-delete-marker\"],\n () => __parseBoolean(output.headers[\"x-amz-delete-marker\"]),\n ],\n AcceptRanges: [, output.headers[\"accept-ranges\"]],\n Expiration: [, output.headers[\"x-amz-expiration\"]],\n Restore: [, output.headers[\"x-amz-restore\"]],\n LastModified: [\n () => void 0 !== output.headers[\"last-modified\"],\n () => __expectNonNull(__parseRfc7231DateTime(output.headers[\"last-modified\"])),\n ],\n ContentLength: [\n () => void 0 !== output.headers[\"content-length\"],\n () => __strictParseLong(output.headers[\"content-length\"]),\n ],\n ETag: [, output.headers[\"etag\"]],\n ChecksumCRC32: [, output.headers[\"x-amz-checksum-crc32\"]],\n ChecksumCRC32C: [, output.headers[\"x-amz-checksum-crc32c\"]],\n ChecksumSHA1: [, output.headers[\"x-amz-checksum-sha1\"]],\n ChecksumSHA256: [, output.headers[\"x-amz-checksum-sha256\"]],\n MissingMeta: [\n () => void 0 !== output.headers[\"x-amz-missing-meta\"],\n () => __strictParseInt32(output.headers[\"x-amz-missing-meta\"]),\n ],\n VersionId: [, output.headers[\"x-amz-version-id\"]],\n CacheControl: [, output.headers[\"cache-control\"]],\n ContentDisposition: [, output.headers[\"content-disposition\"]],\n ContentEncoding: [, output.headers[\"content-encoding\"]],\n ContentLanguage: [, output.headers[\"content-language\"]],\n ContentRange: [, output.headers[\"content-range\"]],\n ContentType: [, output.headers[\"content-type\"]],\n Expires: [\n () => void 0 !== output.headers[\"expires\"],\n () => __expectNonNull(__parseRfc7231DateTime(output.headers[\"expires\"])),\n ],\n WebsiteRedirectLocation: [, output.headers[\"x-amz-website-redirect-location\"]],\n ServerSideEncryption: [, output.headers[\"x-amz-server-side-encryption\"]],\n SSECustomerAlgorithm: [, output.headers[\"x-amz-server-side-encryption-customer-algorithm\"]],\n SSECustomerKeyMD5: [, output.headers[\"x-amz-server-side-encryption-customer-key-md5\"]],\n SSEKMSKeyId: [, output.headers[\"x-amz-server-side-encryption-aws-kms-key-id\"]],\n BucketKeyEnabled: [\n () => void 0 !== output.headers[\"x-amz-server-side-encryption-bucket-key-enabled\"],\n () => __parseBoolean(output.headers[\"x-amz-server-side-encryption-bucket-key-enabled\"]),\n ],\n StorageClass: [, output.headers[\"x-amz-storage-class\"]],\n RequestCharged: [, output.headers[\"x-amz-request-charged\"]],\n ReplicationStatus: [, output.headers[\"x-amz-replication-status\"]],\n PartsCount: [\n () => void 0 !== output.headers[\"x-amz-mp-parts-count\"],\n () => __strictParseInt32(output.headers[\"x-amz-mp-parts-count\"]),\n ],\n TagCount: [\n () => void 0 !== output.headers[\"x-amz-tagging-count\"],\n () => __strictParseInt32(output.headers[\"x-amz-tagging-count\"]),\n ],\n ObjectLockMode: [, output.headers[\"x-amz-object-lock-mode\"]],\n ObjectLockRetainUntilDate: [\n () => void 0 !== output.headers[\"x-amz-object-lock-retain-until-date\"],\n () => __expectNonNull(__parseRfc3339DateTimeWithOffset(output.headers[\"x-amz-object-lock-retain-until-date\"])),\n ],\n ObjectLockLegalHoldStatus: [, output.headers[\"x-amz-object-lock-legal-hold\"]],\n Metadata: [\n ,\n Object.keys(output.headers)\n .filter((header) => header.startsWith(\"x-amz-meta-\"))\n .reduce((acc, header) => {\n acc[header.substring(11)] = output.headers[header];\n return acc;\n }, {}),\n ],\n });\n const data = output.body;\n context.sdkStreamMixin(data);\n contents.Body = data;\n return contents;\n};\nconst de_GetObjectCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"InvalidObjectState\":\n case \"com.amazonaws.s3#InvalidObjectState\":\n throw await de_InvalidObjectStateRes(parsedOutput, context);\n case \"NoSuchKey\":\n case \"com.amazonaws.s3#NoSuchKey\":\n throw await de_NoSuchKeyRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n }\n};\nexport const de_GetObjectAclCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_GetObjectAclCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n RequestCharged: [, output.headers[\"x-amz-request-charged\"]],\n });\n const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), \"body\");\n if (data.AccessControlList === \"\") {\n contents.Grants = [];\n }\n else if (data[\"AccessControlList\"] !== undefined && data[\"AccessControlList\"][\"Grant\"] !== undefined) {\n contents.Grants = de_Grants(__getArrayIfSingleItem(data[\"AccessControlList\"][\"Grant\"]), context);\n }\n if (data[\"Owner\"] !== undefined) {\n contents.Owner = de_Owner(data[\"Owner\"], context);\n }\n return contents;\n};\nconst de_GetObjectAclCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"NoSuchKey\":\n case \"com.amazonaws.s3#NoSuchKey\":\n throw await de_NoSuchKeyRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n }\n};\nexport const de_GetObjectAttributesCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_GetObjectAttributesCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n DeleteMarker: [\n () => void 0 !== output.headers[\"x-amz-delete-marker\"],\n () => __parseBoolean(output.headers[\"x-amz-delete-marker\"]),\n ],\n LastModified: [\n () => void 0 !== output.headers[\"last-modified\"],\n () => __expectNonNull(__parseRfc7231DateTime(output.headers[\"last-modified\"])),\n ],\n VersionId: [, output.headers[\"x-amz-version-id\"]],\n RequestCharged: [, output.headers[\"x-amz-request-charged\"]],\n });\n const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), \"body\");\n if (data[\"Checksum\"] !== undefined) {\n contents.Checksum = de_Checksum(data[\"Checksum\"], context);\n }\n if (data[\"ETag\"] !== undefined) {\n contents.ETag = __expectString(data[\"ETag\"]);\n }\n if (data[\"ObjectParts\"] !== undefined) {\n contents.ObjectParts = de_GetObjectAttributesParts(data[\"ObjectParts\"], context);\n }\n if (data[\"ObjectSize\"] !== undefined) {\n contents.ObjectSize = __strictParseLong(data[\"ObjectSize\"]);\n }\n if (data[\"StorageClass\"] !== undefined) {\n contents.StorageClass = __expectString(data[\"StorageClass\"]);\n }\n return contents;\n};\nconst de_GetObjectAttributesCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"NoSuchKey\":\n case \"com.amazonaws.s3#NoSuchKey\":\n throw await de_NoSuchKeyRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n }\n};\nexport const de_GetObjectLegalHoldCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_GetObjectLegalHoldCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = __expectObject(await parseBody(output.body, context));\n contents.LegalHold = de_ObjectLockLegalHold(data, context);\n return contents;\n};\nconst de_GetObjectLegalHoldCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_GetObjectLockConfigurationCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_GetObjectLockConfigurationCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = __expectObject(await parseBody(output.body, context));\n contents.ObjectLockConfiguration = de_ObjectLockConfiguration(data, context);\n return contents;\n};\nconst de_GetObjectLockConfigurationCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_GetObjectRetentionCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_GetObjectRetentionCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = __expectObject(await parseBody(output.body, context));\n contents.Retention = de_ObjectLockRetention(data, context);\n return contents;\n};\nconst de_GetObjectRetentionCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_GetObjectTaggingCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_GetObjectTaggingCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n VersionId: [, output.headers[\"x-amz-version-id\"]],\n });\n const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), \"body\");\n if (data.TagSet === \"\") {\n contents.TagSet = [];\n }\n else if (data[\"TagSet\"] !== undefined && data[\"TagSet\"][\"Tag\"] !== undefined) {\n contents.TagSet = de_TagSet(__getArrayIfSingleItem(data[\"TagSet\"][\"Tag\"]), context);\n }\n return contents;\n};\nconst de_GetObjectTaggingCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_GetObjectTorrentCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_GetObjectTorrentCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n RequestCharged: [, output.headers[\"x-amz-request-charged\"]],\n });\n const data = output.body;\n context.sdkStreamMixin(data);\n contents.Body = data;\n return contents;\n};\nconst de_GetObjectTorrentCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_GetPublicAccessBlockCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_GetPublicAccessBlockCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = __expectObject(await parseBody(output.body, context));\n contents.PublicAccessBlockConfiguration = de_PublicAccessBlockConfiguration(data, context);\n return contents;\n};\nconst de_GetPublicAccessBlockCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_HeadBucketCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_HeadBucketCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_HeadBucketCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"NotFound\":\n case \"com.amazonaws.s3#NotFound\":\n throw await de_NotFoundRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n }\n};\nexport const de_HeadObjectCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_HeadObjectCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n DeleteMarker: [\n () => void 0 !== output.headers[\"x-amz-delete-marker\"],\n () => __parseBoolean(output.headers[\"x-amz-delete-marker\"]),\n ],\n AcceptRanges: [, output.headers[\"accept-ranges\"]],\n Expiration: [, output.headers[\"x-amz-expiration\"]],\n Restore: [, output.headers[\"x-amz-restore\"]],\n ArchiveStatus: [, output.headers[\"x-amz-archive-status\"]],\n LastModified: [\n () => void 0 !== output.headers[\"last-modified\"],\n () => __expectNonNull(__parseRfc7231DateTime(output.headers[\"last-modified\"])),\n ],\n ContentLength: [\n () => void 0 !== output.headers[\"content-length\"],\n () => __strictParseLong(output.headers[\"content-length\"]),\n ],\n ChecksumCRC32: [, output.headers[\"x-amz-checksum-crc32\"]],\n ChecksumCRC32C: [, output.headers[\"x-amz-checksum-crc32c\"]],\n ChecksumSHA1: [, output.headers[\"x-amz-checksum-sha1\"]],\n ChecksumSHA256: [, output.headers[\"x-amz-checksum-sha256\"]],\n ETag: [, output.headers[\"etag\"]],\n MissingMeta: [\n () => void 0 !== output.headers[\"x-amz-missing-meta\"],\n () => __strictParseInt32(output.headers[\"x-amz-missing-meta\"]),\n ],\n VersionId: [, output.headers[\"x-amz-version-id\"]],\n CacheControl: [, output.headers[\"cache-control\"]],\n ContentDisposition: [, output.headers[\"content-disposition\"]],\n ContentEncoding: [, output.headers[\"content-encoding\"]],\n ContentLanguage: [, output.headers[\"content-language\"]],\n ContentType: [, output.headers[\"content-type\"]],\n Expires: [\n () => void 0 !== output.headers[\"expires\"],\n () => __expectNonNull(__parseRfc7231DateTime(output.headers[\"expires\"])),\n ],\n WebsiteRedirectLocation: [, output.headers[\"x-amz-website-redirect-location\"]],\n ServerSideEncryption: [, output.headers[\"x-amz-server-side-encryption\"]],\n SSECustomerAlgorithm: [, output.headers[\"x-amz-server-side-encryption-customer-algorithm\"]],\n SSECustomerKeyMD5: [, output.headers[\"x-amz-server-side-encryption-customer-key-md5\"]],\n SSEKMSKeyId: [, output.headers[\"x-amz-server-side-encryption-aws-kms-key-id\"]],\n BucketKeyEnabled: [\n () => void 0 !== output.headers[\"x-amz-server-side-encryption-bucket-key-enabled\"],\n () => __parseBoolean(output.headers[\"x-amz-server-side-encryption-bucket-key-enabled\"]),\n ],\n StorageClass: [, output.headers[\"x-amz-storage-class\"]],\n RequestCharged: [, output.headers[\"x-amz-request-charged\"]],\n ReplicationStatus: [, output.headers[\"x-amz-replication-status\"]],\n PartsCount: [\n () => void 0 !== output.headers[\"x-amz-mp-parts-count\"],\n () => __strictParseInt32(output.headers[\"x-amz-mp-parts-count\"]),\n ],\n ObjectLockMode: [, output.headers[\"x-amz-object-lock-mode\"]],\n ObjectLockRetainUntilDate: [\n () => void 0 !== output.headers[\"x-amz-object-lock-retain-until-date\"],\n () => __expectNonNull(__parseRfc3339DateTimeWithOffset(output.headers[\"x-amz-object-lock-retain-until-date\"])),\n ],\n ObjectLockLegalHoldStatus: [, output.headers[\"x-amz-object-lock-legal-hold\"]],\n Metadata: [\n ,\n Object.keys(output.headers)\n .filter((header) => header.startsWith(\"x-amz-meta-\"))\n .reduce((acc, header) => {\n acc[header.substring(11)] = output.headers[header];\n return acc;\n }, {}),\n ],\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_HeadObjectCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"NotFound\":\n case \"com.amazonaws.s3#NotFound\":\n throw await de_NotFoundRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n }\n};\nexport const de_ListBucketAnalyticsConfigurationsCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_ListBucketAnalyticsConfigurationsCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), \"body\");\n if (data.AnalyticsConfiguration === \"\") {\n contents.AnalyticsConfigurationList = [];\n }\n else if (data[\"AnalyticsConfiguration\"] !== undefined) {\n contents.AnalyticsConfigurationList = de_AnalyticsConfigurationList(__getArrayIfSingleItem(data[\"AnalyticsConfiguration\"]), context);\n }\n if (data[\"ContinuationToken\"] !== undefined) {\n contents.ContinuationToken = __expectString(data[\"ContinuationToken\"]);\n }\n if (data[\"IsTruncated\"] !== undefined) {\n contents.IsTruncated = __parseBoolean(data[\"IsTruncated\"]);\n }\n if (data[\"NextContinuationToken\"] !== undefined) {\n contents.NextContinuationToken = __expectString(data[\"NextContinuationToken\"]);\n }\n return contents;\n};\nconst de_ListBucketAnalyticsConfigurationsCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_ListBucketIntelligentTieringConfigurationsCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_ListBucketIntelligentTieringConfigurationsCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), \"body\");\n if (data[\"ContinuationToken\"] !== undefined) {\n contents.ContinuationToken = __expectString(data[\"ContinuationToken\"]);\n }\n if (data.IntelligentTieringConfiguration === \"\") {\n contents.IntelligentTieringConfigurationList = [];\n }\n else if (data[\"IntelligentTieringConfiguration\"] !== undefined) {\n contents.IntelligentTieringConfigurationList = de_IntelligentTieringConfigurationList(__getArrayIfSingleItem(data[\"IntelligentTieringConfiguration\"]), context);\n }\n if (data[\"IsTruncated\"] !== undefined) {\n contents.IsTruncated = __parseBoolean(data[\"IsTruncated\"]);\n }\n if (data[\"NextContinuationToken\"] !== undefined) {\n contents.NextContinuationToken = __expectString(data[\"NextContinuationToken\"]);\n }\n return contents;\n};\nconst de_ListBucketIntelligentTieringConfigurationsCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_ListBucketInventoryConfigurationsCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_ListBucketInventoryConfigurationsCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), \"body\");\n if (data[\"ContinuationToken\"] !== undefined) {\n contents.ContinuationToken = __expectString(data[\"ContinuationToken\"]);\n }\n if (data.InventoryConfiguration === \"\") {\n contents.InventoryConfigurationList = [];\n }\n else if (data[\"InventoryConfiguration\"] !== undefined) {\n contents.InventoryConfigurationList = de_InventoryConfigurationList(__getArrayIfSingleItem(data[\"InventoryConfiguration\"]), context);\n }\n if (data[\"IsTruncated\"] !== undefined) {\n contents.IsTruncated = __parseBoolean(data[\"IsTruncated\"]);\n }\n if (data[\"NextContinuationToken\"] !== undefined) {\n contents.NextContinuationToken = __expectString(data[\"NextContinuationToken\"]);\n }\n return contents;\n};\nconst de_ListBucketInventoryConfigurationsCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_ListBucketMetricsConfigurationsCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_ListBucketMetricsConfigurationsCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), \"body\");\n if (data[\"ContinuationToken\"] !== undefined) {\n contents.ContinuationToken = __expectString(data[\"ContinuationToken\"]);\n }\n if (data[\"IsTruncated\"] !== undefined) {\n contents.IsTruncated = __parseBoolean(data[\"IsTruncated\"]);\n }\n if (data.MetricsConfiguration === \"\") {\n contents.MetricsConfigurationList = [];\n }\n else if (data[\"MetricsConfiguration\"] !== undefined) {\n contents.MetricsConfigurationList = de_MetricsConfigurationList(__getArrayIfSingleItem(data[\"MetricsConfiguration\"]), context);\n }\n if (data[\"NextContinuationToken\"] !== undefined) {\n contents.NextContinuationToken = __expectString(data[\"NextContinuationToken\"]);\n }\n return contents;\n};\nconst de_ListBucketMetricsConfigurationsCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_ListBucketsCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_ListBucketsCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), \"body\");\n if (data.Buckets === \"\") {\n contents.Buckets = [];\n }\n else if (data[\"Buckets\"] !== undefined && data[\"Buckets\"][\"Bucket\"] !== undefined) {\n contents.Buckets = de_Buckets(__getArrayIfSingleItem(data[\"Buckets\"][\"Bucket\"]), context);\n }\n if (data[\"Owner\"] !== undefined) {\n contents.Owner = de_Owner(data[\"Owner\"], context);\n }\n return contents;\n};\nconst de_ListBucketsCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_ListMultipartUploadsCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_ListMultipartUploadsCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), \"body\");\n if (data[\"Bucket\"] !== undefined) {\n contents.Bucket = __expectString(data[\"Bucket\"]);\n }\n if (data.CommonPrefixes === \"\") {\n contents.CommonPrefixes = [];\n }\n else if (data[\"CommonPrefixes\"] !== undefined) {\n contents.CommonPrefixes = de_CommonPrefixList(__getArrayIfSingleItem(data[\"CommonPrefixes\"]), context);\n }\n if (data[\"Delimiter\"] !== undefined) {\n contents.Delimiter = __expectString(data[\"Delimiter\"]);\n }\n if (data[\"EncodingType\"] !== undefined) {\n contents.EncodingType = __expectString(data[\"EncodingType\"]);\n }\n if (data[\"IsTruncated\"] !== undefined) {\n contents.IsTruncated = __parseBoolean(data[\"IsTruncated\"]);\n }\n if (data[\"KeyMarker\"] !== undefined) {\n contents.KeyMarker = __expectString(data[\"KeyMarker\"]);\n }\n if (data[\"MaxUploads\"] !== undefined) {\n contents.MaxUploads = __strictParseInt32(data[\"MaxUploads\"]);\n }\n if (data[\"NextKeyMarker\"] !== undefined) {\n contents.NextKeyMarker = __expectString(data[\"NextKeyMarker\"]);\n }\n if (data[\"NextUploadIdMarker\"] !== undefined) {\n contents.NextUploadIdMarker = __expectString(data[\"NextUploadIdMarker\"]);\n }\n if (data[\"Prefix\"] !== undefined) {\n contents.Prefix = __expectString(data[\"Prefix\"]);\n }\n if (data[\"UploadIdMarker\"] !== undefined) {\n contents.UploadIdMarker = __expectString(data[\"UploadIdMarker\"]);\n }\n if (data.Upload === \"\") {\n contents.Uploads = [];\n }\n else if (data[\"Upload\"] !== undefined) {\n contents.Uploads = de_MultipartUploadList(__getArrayIfSingleItem(data[\"Upload\"]), context);\n }\n return contents;\n};\nconst de_ListMultipartUploadsCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_ListObjectsCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_ListObjectsCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), \"body\");\n if (data.CommonPrefixes === \"\") {\n contents.CommonPrefixes = [];\n }\n else if (data[\"CommonPrefixes\"] !== undefined) {\n contents.CommonPrefixes = de_CommonPrefixList(__getArrayIfSingleItem(data[\"CommonPrefixes\"]), context);\n }\n if (data.Contents === \"\") {\n contents.Contents = [];\n }\n else if (data[\"Contents\"] !== undefined) {\n contents.Contents = de_ObjectList(__getArrayIfSingleItem(data[\"Contents\"]), context);\n }\n if (data[\"Delimiter\"] !== undefined) {\n contents.Delimiter = __expectString(data[\"Delimiter\"]);\n }\n if (data[\"EncodingType\"] !== undefined) {\n contents.EncodingType = __expectString(data[\"EncodingType\"]);\n }\n if (data[\"IsTruncated\"] !== undefined) {\n contents.IsTruncated = __parseBoolean(data[\"IsTruncated\"]);\n }\n if (data[\"Marker\"] !== undefined) {\n contents.Marker = __expectString(data[\"Marker\"]);\n }\n if (data[\"MaxKeys\"] !== undefined) {\n contents.MaxKeys = __strictParseInt32(data[\"MaxKeys\"]);\n }\n if (data[\"Name\"] !== undefined) {\n contents.Name = __expectString(data[\"Name\"]);\n }\n if (data[\"NextMarker\"] !== undefined) {\n contents.NextMarker = __expectString(data[\"NextMarker\"]);\n }\n if (data[\"Prefix\"] !== undefined) {\n contents.Prefix = __expectString(data[\"Prefix\"]);\n }\n return contents;\n};\nconst de_ListObjectsCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"NoSuchBucket\":\n case \"com.amazonaws.s3#NoSuchBucket\":\n throw await de_NoSuchBucketRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n }\n};\nexport const de_ListObjectsV2Command = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_ListObjectsV2CommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), \"body\");\n if (data.CommonPrefixes === \"\") {\n contents.CommonPrefixes = [];\n }\n else if (data[\"CommonPrefixes\"] !== undefined) {\n contents.CommonPrefixes = de_CommonPrefixList(__getArrayIfSingleItem(data[\"CommonPrefixes\"]), context);\n }\n if (data.Contents === \"\") {\n contents.Contents = [];\n }\n else if (data[\"Contents\"] !== undefined) {\n contents.Contents = de_ObjectList(__getArrayIfSingleItem(data[\"Contents\"]), context);\n }\n if (data[\"ContinuationToken\"] !== undefined) {\n contents.ContinuationToken = __expectString(data[\"ContinuationToken\"]);\n }\n if (data[\"Delimiter\"] !== undefined) {\n contents.Delimiter = __expectString(data[\"Delimiter\"]);\n }\n if (data[\"EncodingType\"] !== undefined) {\n contents.EncodingType = __expectString(data[\"EncodingType\"]);\n }\n if (data[\"IsTruncated\"] !== undefined) {\n contents.IsTruncated = __parseBoolean(data[\"IsTruncated\"]);\n }\n if (data[\"KeyCount\"] !== undefined) {\n contents.KeyCount = __strictParseInt32(data[\"KeyCount\"]);\n }\n if (data[\"MaxKeys\"] !== undefined) {\n contents.MaxKeys = __strictParseInt32(data[\"MaxKeys\"]);\n }\n if (data[\"Name\"] !== undefined) {\n contents.Name = __expectString(data[\"Name\"]);\n }\n if (data[\"NextContinuationToken\"] !== undefined) {\n contents.NextContinuationToken = __expectString(data[\"NextContinuationToken\"]);\n }\n if (data[\"Prefix\"] !== undefined) {\n contents.Prefix = __expectString(data[\"Prefix\"]);\n }\n if (data[\"StartAfter\"] !== undefined) {\n contents.StartAfter = __expectString(data[\"StartAfter\"]);\n }\n return contents;\n};\nconst de_ListObjectsV2CommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"NoSuchBucket\":\n case \"com.amazonaws.s3#NoSuchBucket\":\n throw await de_NoSuchBucketRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n }\n};\nexport const de_ListObjectVersionsCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_ListObjectVersionsCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), \"body\");\n if (data.CommonPrefixes === \"\") {\n contents.CommonPrefixes = [];\n }\n else if (data[\"CommonPrefixes\"] !== undefined) {\n contents.CommonPrefixes = de_CommonPrefixList(__getArrayIfSingleItem(data[\"CommonPrefixes\"]), context);\n }\n if (data.DeleteMarker === \"\") {\n contents.DeleteMarkers = [];\n }\n else if (data[\"DeleteMarker\"] !== undefined) {\n contents.DeleteMarkers = de_DeleteMarkers(__getArrayIfSingleItem(data[\"DeleteMarker\"]), context);\n }\n if (data[\"Delimiter\"] !== undefined) {\n contents.Delimiter = __expectString(data[\"Delimiter\"]);\n }\n if (data[\"EncodingType\"] !== undefined) {\n contents.EncodingType = __expectString(data[\"EncodingType\"]);\n }\n if (data[\"IsTruncated\"] !== undefined) {\n contents.IsTruncated = __parseBoolean(data[\"IsTruncated\"]);\n }\n if (data[\"KeyMarker\"] !== undefined) {\n contents.KeyMarker = __expectString(data[\"KeyMarker\"]);\n }\n if (data[\"MaxKeys\"] !== undefined) {\n contents.MaxKeys = __strictParseInt32(data[\"MaxKeys\"]);\n }\n if (data[\"Name\"] !== undefined) {\n contents.Name = __expectString(data[\"Name\"]);\n }\n if (data[\"NextKeyMarker\"] !== undefined) {\n contents.NextKeyMarker = __expectString(data[\"NextKeyMarker\"]);\n }\n if (data[\"NextVersionIdMarker\"] !== undefined) {\n contents.NextVersionIdMarker = __expectString(data[\"NextVersionIdMarker\"]);\n }\n if (data[\"Prefix\"] !== undefined) {\n contents.Prefix = __expectString(data[\"Prefix\"]);\n }\n if (data[\"VersionIdMarker\"] !== undefined) {\n contents.VersionIdMarker = __expectString(data[\"VersionIdMarker\"]);\n }\n if (data.Version === \"\") {\n contents.Versions = [];\n }\n else if (data[\"Version\"] !== undefined) {\n contents.Versions = de_ObjectVersionList(__getArrayIfSingleItem(data[\"Version\"]), context);\n }\n return contents;\n};\nconst de_ListObjectVersionsCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_ListPartsCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_ListPartsCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n AbortDate: [\n () => void 0 !== output.headers[\"x-amz-abort-date\"],\n () => __expectNonNull(__parseRfc7231DateTime(output.headers[\"x-amz-abort-date\"])),\n ],\n AbortRuleId: [, output.headers[\"x-amz-abort-rule-id\"]],\n RequestCharged: [, output.headers[\"x-amz-request-charged\"]],\n });\n const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), \"body\");\n if (data[\"Bucket\"] !== undefined) {\n contents.Bucket = __expectString(data[\"Bucket\"]);\n }\n if (data[\"ChecksumAlgorithm\"] !== undefined) {\n contents.ChecksumAlgorithm = __expectString(data[\"ChecksumAlgorithm\"]);\n }\n if (data[\"Initiator\"] !== undefined) {\n contents.Initiator = de_Initiator(data[\"Initiator\"], context);\n }\n if (data[\"IsTruncated\"] !== undefined) {\n contents.IsTruncated = __parseBoolean(data[\"IsTruncated\"]);\n }\n if (data[\"Key\"] !== undefined) {\n contents.Key = __expectString(data[\"Key\"]);\n }\n if (data[\"MaxParts\"] !== undefined) {\n contents.MaxParts = __strictParseInt32(data[\"MaxParts\"]);\n }\n if (data[\"NextPartNumberMarker\"] !== undefined) {\n contents.NextPartNumberMarker = __expectString(data[\"NextPartNumberMarker\"]);\n }\n if (data[\"Owner\"] !== undefined) {\n contents.Owner = de_Owner(data[\"Owner\"], context);\n }\n if (data[\"PartNumberMarker\"] !== undefined) {\n contents.PartNumberMarker = __expectString(data[\"PartNumberMarker\"]);\n }\n if (data.Part === \"\") {\n contents.Parts = [];\n }\n else if (data[\"Part\"] !== undefined) {\n contents.Parts = de_Parts(__getArrayIfSingleItem(data[\"Part\"]), context);\n }\n if (data[\"StorageClass\"] !== undefined) {\n contents.StorageClass = __expectString(data[\"StorageClass\"]);\n }\n if (data[\"UploadId\"] !== undefined) {\n contents.UploadId = __expectString(data[\"UploadId\"]);\n }\n return contents;\n};\nconst de_ListPartsCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_PutBucketAccelerateConfigurationCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_PutBucketAccelerateConfigurationCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_PutBucketAccelerateConfigurationCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_PutBucketAclCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_PutBucketAclCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_PutBucketAclCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_PutBucketAnalyticsConfigurationCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_PutBucketAnalyticsConfigurationCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_PutBucketAnalyticsConfigurationCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_PutBucketCorsCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_PutBucketCorsCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_PutBucketCorsCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_PutBucketEncryptionCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_PutBucketEncryptionCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_PutBucketEncryptionCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_PutBucketIntelligentTieringConfigurationCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_PutBucketIntelligentTieringConfigurationCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_PutBucketIntelligentTieringConfigurationCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_PutBucketInventoryConfigurationCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_PutBucketInventoryConfigurationCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_PutBucketInventoryConfigurationCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_PutBucketLifecycleConfigurationCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_PutBucketLifecycleConfigurationCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_PutBucketLifecycleConfigurationCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_PutBucketLoggingCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_PutBucketLoggingCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_PutBucketLoggingCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_PutBucketMetricsConfigurationCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_PutBucketMetricsConfigurationCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_PutBucketMetricsConfigurationCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_PutBucketNotificationConfigurationCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_PutBucketNotificationConfigurationCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_PutBucketNotificationConfigurationCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_PutBucketOwnershipControlsCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_PutBucketOwnershipControlsCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_PutBucketOwnershipControlsCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_PutBucketPolicyCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_PutBucketPolicyCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_PutBucketPolicyCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_PutBucketReplicationCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_PutBucketReplicationCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_PutBucketReplicationCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_PutBucketRequestPaymentCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_PutBucketRequestPaymentCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_PutBucketRequestPaymentCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_PutBucketTaggingCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_PutBucketTaggingCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_PutBucketTaggingCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_PutBucketVersioningCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_PutBucketVersioningCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_PutBucketVersioningCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_PutBucketWebsiteCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_PutBucketWebsiteCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_PutBucketWebsiteCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_PutObjectCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_PutObjectCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n Expiration: [, output.headers[\"x-amz-expiration\"]],\n ETag: [, output.headers[\"etag\"]],\n ChecksumCRC32: [, output.headers[\"x-amz-checksum-crc32\"]],\n ChecksumCRC32C: [, output.headers[\"x-amz-checksum-crc32c\"]],\n ChecksumSHA1: [, output.headers[\"x-amz-checksum-sha1\"]],\n ChecksumSHA256: [, output.headers[\"x-amz-checksum-sha256\"]],\n ServerSideEncryption: [, output.headers[\"x-amz-server-side-encryption\"]],\n VersionId: [, output.headers[\"x-amz-version-id\"]],\n SSECustomerAlgorithm: [, output.headers[\"x-amz-server-side-encryption-customer-algorithm\"]],\n SSECustomerKeyMD5: [, output.headers[\"x-amz-server-side-encryption-customer-key-md5\"]],\n SSEKMSKeyId: [, output.headers[\"x-amz-server-side-encryption-aws-kms-key-id\"]],\n SSEKMSEncryptionContext: [, output.headers[\"x-amz-server-side-encryption-context\"]],\n BucketKeyEnabled: [\n () => void 0 !== output.headers[\"x-amz-server-side-encryption-bucket-key-enabled\"],\n () => __parseBoolean(output.headers[\"x-amz-server-side-encryption-bucket-key-enabled\"]),\n ],\n RequestCharged: [, output.headers[\"x-amz-request-charged\"]],\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_PutObjectCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_PutObjectAclCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_PutObjectAclCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n RequestCharged: [, output.headers[\"x-amz-request-charged\"]],\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_PutObjectAclCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"NoSuchKey\":\n case \"com.amazonaws.s3#NoSuchKey\":\n throw await de_NoSuchKeyRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n }\n};\nexport const de_PutObjectLegalHoldCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_PutObjectLegalHoldCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n RequestCharged: [, output.headers[\"x-amz-request-charged\"]],\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_PutObjectLegalHoldCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_PutObjectLockConfigurationCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_PutObjectLockConfigurationCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n RequestCharged: [, output.headers[\"x-amz-request-charged\"]],\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_PutObjectLockConfigurationCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_PutObjectRetentionCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_PutObjectRetentionCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n RequestCharged: [, output.headers[\"x-amz-request-charged\"]],\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_PutObjectRetentionCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_PutObjectTaggingCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_PutObjectTaggingCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n VersionId: [, output.headers[\"x-amz-version-id\"]],\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_PutObjectTaggingCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_PutPublicAccessBlockCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_PutPublicAccessBlockCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_PutPublicAccessBlockCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_RestoreObjectCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_RestoreObjectCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n RequestCharged: [, output.headers[\"x-amz-request-charged\"]],\n RestoreOutputPath: [, output.headers[\"x-amz-restore-output-path\"]],\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_RestoreObjectCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"ObjectAlreadyInActiveTierError\":\n case \"com.amazonaws.s3#ObjectAlreadyInActiveTierError\":\n throw await de_ObjectAlreadyInActiveTierErrorRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n }\n};\nexport const de_SelectObjectContentCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_SelectObjectContentCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = output.body;\n contents.Payload = de_SelectObjectContentEventStream(data, context);\n return contents;\n};\nconst de_SelectObjectContentCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_UploadPartCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_UploadPartCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n ServerSideEncryption: [, output.headers[\"x-amz-server-side-encryption\"]],\n ETag: [, output.headers[\"etag\"]],\n ChecksumCRC32: [, output.headers[\"x-amz-checksum-crc32\"]],\n ChecksumCRC32C: [, output.headers[\"x-amz-checksum-crc32c\"]],\n ChecksumSHA1: [, output.headers[\"x-amz-checksum-sha1\"]],\n ChecksumSHA256: [, output.headers[\"x-amz-checksum-sha256\"]],\n SSECustomerAlgorithm: [, output.headers[\"x-amz-server-side-encryption-customer-algorithm\"]],\n SSECustomerKeyMD5: [, output.headers[\"x-amz-server-side-encryption-customer-key-md5\"]],\n SSEKMSKeyId: [, output.headers[\"x-amz-server-side-encryption-aws-kms-key-id\"]],\n BucketKeyEnabled: [\n () => void 0 !== output.headers[\"x-amz-server-side-encryption-bucket-key-enabled\"],\n () => __parseBoolean(output.headers[\"x-amz-server-side-encryption-bucket-key-enabled\"]),\n ],\n RequestCharged: [, output.headers[\"x-amz-request-charged\"]],\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_UploadPartCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_UploadPartCopyCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_UploadPartCopyCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n CopySourceVersionId: [, output.headers[\"x-amz-copy-source-version-id\"]],\n ServerSideEncryption: [, output.headers[\"x-amz-server-side-encryption\"]],\n SSECustomerAlgorithm: [, output.headers[\"x-amz-server-side-encryption-customer-algorithm\"]],\n SSECustomerKeyMD5: [, output.headers[\"x-amz-server-side-encryption-customer-key-md5\"]],\n SSEKMSKeyId: [, output.headers[\"x-amz-server-side-encryption-aws-kms-key-id\"]],\n BucketKeyEnabled: [\n () => void 0 !== output.headers[\"x-amz-server-side-encryption-bucket-key-enabled\"],\n () => __parseBoolean(output.headers[\"x-amz-server-side-encryption-bucket-key-enabled\"]),\n ],\n RequestCharged: [, output.headers[\"x-amz-request-charged\"]],\n });\n const data = __expectObject(await parseBody(output.body, context));\n contents.CopyPartResult = de_CopyPartResult(data, context);\n return contents;\n};\nconst de_UploadPartCopyCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nexport const de_WriteGetObjectResponseCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_WriteGetObjectResponseCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_WriteGetObjectResponseCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n};\nconst throwDefaultError = withBaseException(__BaseException);\nconst de_BucketAlreadyExistsRes = async (parsedOutput, context) => {\n const contents = map({});\n const data = parsedOutput.body;\n const exception = new BucketAlreadyExists({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents,\n });\n return __decorateServiceException(exception, parsedOutput.body);\n};\nconst de_BucketAlreadyOwnedByYouRes = async (parsedOutput, context) => {\n const contents = map({});\n const data = parsedOutput.body;\n const exception = new BucketAlreadyOwnedByYou({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents,\n });\n return __decorateServiceException(exception, parsedOutput.body);\n};\nconst de_InvalidObjectStateRes = async (parsedOutput, context) => {\n const contents = map({});\n const data = parsedOutput.body;\n if (data[\"AccessTier\"] !== undefined) {\n contents.AccessTier = __expectString(data[\"AccessTier\"]);\n }\n if (data[\"StorageClass\"] !== undefined) {\n contents.StorageClass = __expectString(data[\"StorageClass\"]);\n }\n const exception = new InvalidObjectState({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents,\n });\n return __decorateServiceException(exception, parsedOutput.body);\n};\nconst de_NoSuchBucketRes = async (parsedOutput, context) => {\n const contents = map({});\n const data = parsedOutput.body;\n const exception = new NoSuchBucket({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents,\n });\n return __decorateServiceException(exception, parsedOutput.body);\n};\nconst de_NoSuchKeyRes = async (parsedOutput, context) => {\n const contents = map({});\n const data = parsedOutput.body;\n const exception = new NoSuchKey({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents,\n });\n return __decorateServiceException(exception, parsedOutput.body);\n};\nconst de_NoSuchUploadRes = async (parsedOutput, context) => {\n const contents = map({});\n const data = parsedOutput.body;\n const exception = new NoSuchUpload({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents,\n });\n return __decorateServiceException(exception, parsedOutput.body);\n};\nconst de_NotFoundRes = async (parsedOutput, context) => {\n const contents = map({});\n const data = parsedOutput.body;\n const exception = new NotFound({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents,\n });\n return __decorateServiceException(exception, parsedOutput.body);\n};\nconst de_ObjectAlreadyInActiveTierErrorRes = async (parsedOutput, context) => {\n const contents = map({});\n const data = parsedOutput.body;\n const exception = new ObjectAlreadyInActiveTierError({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents,\n });\n return __decorateServiceException(exception, parsedOutput.body);\n};\nconst de_ObjectNotInActiveTierErrorRes = async (parsedOutput, context) => {\n const contents = map({});\n const data = parsedOutput.body;\n const exception = new ObjectNotInActiveTierError({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents,\n });\n return __decorateServiceException(exception, parsedOutput.body);\n};\nconst de_SelectObjectContentEventStream = (output, context) => {\n return context.eventStreamMarshaller.deserialize(output, async (event) => {\n if (event[\"Records\"] != null) {\n return {\n Records: await de_RecordsEvent_event(event[\"Records\"], context),\n };\n }\n if (event[\"Stats\"] != null) {\n return {\n Stats: await de_StatsEvent_event(event[\"Stats\"], context),\n };\n }\n if (event[\"Progress\"] != null) {\n return {\n Progress: await de_ProgressEvent_event(event[\"Progress\"], context),\n };\n }\n if (event[\"Cont\"] != null) {\n return {\n Cont: await de_ContinuationEvent_event(event[\"Cont\"], context),\n };\n }\n if (event[\"End\"] != null) {\n return {\n End: await de_EndEvent_event(event[\"End\"], context),\n };\n }\n return { $unknown: output };\n });\n};\nconst de_ContinuationEvent_event = async (output, context) => {\n const contents = {};\n const data = await parseBody(output.body, context);\n Object.assign(contents, de_ContinuationEvent(data, context));\n return contents;\n};\nconst de_EndEvent_event = async (output, context) => {\n const contents = {};\n const data = await parseBody(output.body, context);\n Object.assign(contents, de_EndEvent(data, context));\n return contents;\n};\nconst de_ProgressEvent_event = async (output, context) => {\n const contents = {};\n const data = await parseBody(output.body, context);\n contents.Details = de_Progress(data, context);\n return contents;\n};\nconst de_RecordsEvent_event = async (output, context) => {\n const contents = {};\n contents.Payload = output.body;\n return contents;\n};\nconst de_StatsEvent_event = async (output, context) => {\n const contents = {};\n const data = await parseBody(output.body, context);\n contents.Details = de_Stats(data, context);\n return contents;\n};\nconst se_AbortIncompleteMultipartUpload = (input, context) => {\n const bodyNode = new __XmlNode(\"AbortIncompleteMultipartUpload\");\n if (input.DaysAfterInitiation != null) {\n const node = __XmlNode.of(\"DaysAfterInitiation\", String(input.DaysAfterInitiation)).withName(\"DaysAfterInitiation\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_AccelerateConfiguration = (input, context) => {\n const bodyNode = new __XmlNode(\"AccelerateConfiguration\");\n if (input.Status != null) {\n const node = __XmlNode.of(\"BucketAccelerateStatus\", input.Status).withName(\"Status\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_AccessControlPolicy = (input, context) => {\n const bodyNode = new __XmlNode(\"AccessControlPolicy\");\n if (input.Grants != null) {\n const nodes = se_Grants(input.Grants, context);\n const containerNode = new __XmlNode(\"AccessControlList\");\n nodes.map((node) => {\n containerNode.addChildNode(node);\n });\n bodyNode.addChildNode(containerNode);\n }\n if (input.Owner != null) {\n const node = se_Owner(input.Owner, context).withName(\"Owner\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_AccessControlTranslation = (input, context) => {\n const bodyNode = new __XmlNode(\"AccessControlTranslation\");\n if (input.Owner != null) {\n const node = __XmlNode.of(\"OwnerOverride\", input.Owner).withName(\"Owner\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_AllowedHeaders = (input, context) => {\n return input\n .filter((e) => e != null)\n .map((entry) => {\n const node = __XmlNode.of(\"AllowedHeader\", entry);\n return node.withName(\"member\");\n });\n};\nconst se_AllowedMethods = (input, context) => {\n return input\n .filter((e) => e != null)\n .map((entry) => {\n const node = __XmlNode.of(\"AllowedMethod\", entry);\n return node.withName(\"member\");\n });\n};\nconst se_AllowedOrigins = (input, context) => {\n return input\n .filter((e) => e != null)\n .map((entry) => {\n const node = __XmlNode.of(\"AllowedOrigin\", entry);\n return node.withName(\"member\");\n });\n};\nconst se_AnalyticsAndOperator = (input, context) => {\n const bodyNode = new __XmlNode(\"AnalyticsAndOperator\");\n if (input.Prefix != null) {\n const node = __XmlNode.of(\"Prefix\", input.Prefix).withName(\"Prefix\");\n bodyNode.addChildNode(node);\n }\n if (input.Tags != null) {\n const nodes = se_TagSet(input.Tags, context);\n nodes.map((node) => {\n node = node.withName(\"Tag\");\n bodyNode.addChildNode(node);\n });\n }\n return bodyNode;\n};\nconst se_AnalyticsConfiguration = (input, context) => {\n const bodyNode = new __XmlNode(\"AnalyticsConfiguration\");\n if (input.Id != null) {\n const node = __XmlNode.of(\"AnalyticsId\", input.Id).withName(\"Id\");\n bodyNode.addChildNode(node);\n }\n if (input.Filter != null) {\n const node = se_AnalyticsFilter(input.Filter, context).withName(\"Filter\");\n bodyNode.addChildNode(node);\n }\n if (input.StorageClassAnalysis != null) {\n const node = se_StorageClassAnalysis(input.StorageClassAnalysis, context).withName(\"StorageClassAnalysis\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_AnalyticsExportDestination = (input, context) => {\n const bodyNode = new __XmlNode(\"AnalyticsExportDestination\");\n if (input.S3BucketDestination != null) {\n const node = se_AnalyticsS3BucketDestination(input.S3BucketDestination, context).withName(\"S3BucketDestination\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_AnalyticsFilter = (input, context) => {\n const bodyNode = new __XmlNode(\"AnalyticsFilter\");\n AnalyticsFilter.visit(input, {\n Prefix: (value) => {\n const node = __XmlNode.of(\"Prefix\", value).withName(\"Prefix\");\n bodyNode.addChildNode(node);\n },\n Tag: (value) => {\n const node = se_Tag(value, context).withName(\"Tag\");\n bodyNode.addChildNode(node);\n },\n And: (value) => {\n const node = se_AnalyticsAndOperator(value, context).withName(\"And\");\n bodyNode.addChildNode(node);\n },\n _: (name, value) => {\n if (!(value instanceof __XmlNode || value instanceof __XmlText)) {\n throw new Error(\"Unable to serialize unknown union members in XML.\");\n }\n bodyNode.addChildNode(new __XmlNode(name).addChildNode(value));\n },\n });\n return bodyNode;\n};\nconst se_AnalyticsS3BucketDestination = (input, context) => {\n const bodyNode = new __XmlNode(\"AnalyticsS3BucketDestination\");\n if (input.Format != null) {\n const node = __XmlNode.of(\"AnalyticsS3ExportFileFormat\", input.Format).withName(\"Format\");\n bodyNode.addChildNode(node);\n }\n if (input.BucketAccountId != null) {\n const node = __XmlNode.of(\"AccountId\", input.BucketAccountId).withName(\"BucketAccountId\");\n bodyNode.addChildNode(node);\n }\n if (input.Bucket != null) {\n const node = __XmlNode.of(\"BucketName\", input.Bucket).withName(\"Bucket\");\n bodyNode.addChildNode(node);\n }\n if (input.Prefix != null) {\n const node = __XmlNode.of(\"Prefix\", input.Prefix).withName(\"Prefix\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_BucketLifecycleConfiguration = (input, context) => {\n const bodyNode = new __XmlNode(\"BucketLifecycleConfiguration\");\n if (input.Rules != null) {\n const nodes = se_LifecycleRules(input.Rules, context);\n nodes.map((node) => {\n node = node.withName(\"Rule\");\n bodyNode.addChildNode(node);\n });\n }\n return bodyNode;\n};\nconst se_BucketLoggingStatus = (input, context) => {\n const bodyNode = new __XmlNode(\"BucketLoggingStatus\");\n if (input.LoggingEnabled != null) {\n const node = se_LoggingEnabled(input.LoggingEnabled, context).withName(\"LoggingEnabled\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_CompletedMultipartUpload = (input, context) => {\n const bodyNode = new __XmlNode(\"CompletedMultipartUpload\");\n if (input.Parts != null) {\n const nodes = se_CompletedPartList(input.Parts, context);\n nodes.map((node) => {\n node = node.withName(\"Part\");\n bodyNode.addChildNode(node);\n });\n }\n return bodyNode;\n};\nconst se_CompletedPart = (input, context) => {\n const bodyNode = new __XmlNode(\"CompletedPart\");\n if (input.ETag != null) {\n const node = __XmlNode.of(\"ETag\", input.ETag).withName(\"ETag\");\n bodyNode.addChildNode(node);\n }\n if (input.ChecksumCRC32 != null) {\n const node = __XmlNode.of(\"ChecksumCRC32\", input.ChecksumCRC32).withName(\"ChecksumCRC32\");\n bodyNode.addChildNode(node);\n }\n if (input.ChecksumCRC32C != null) {\n const node = __XmlNode.of(\"ChecksumCRC32C\", input.ChecksumCRC32C).withName(\"ChecksumCRC32C\");\n bodyNode.addChildNode(node);\n }\n if (input.ChecksumSHA1 != null) {\n const node = __XmlNode.of(\"ChecksumSHA1\", input.ChecksumSHA1).withName(\"ChecksumSHA1\");\n bodyNode.addChildNode(node);\n }\n if (input.ChecksumSHA256 != null) {\n const node = __XmlNode.of(\"ChecksumSHA256\", input.ChecksumSHA256).withName(\"ChecksumSHA256\");\n bodyNode.addChildNode(node);\n }\n if (input.PartNumber != null) {\n const node = __XmlNode.of(\"PartNumber\", String(input.PartNumber)).withName(\"PartNumber\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_CompletedPartList = (input, context) => {\n return input\n .filter((e) => e != null)\n .map((entry) => {\n const node = se_CompletedPart(entry, context);\n return node.withName(\"member\");\n });\n};\nconst se_Condition = (input, context) => {\n const bodyNode = new __XmlNode(\"Condition\");\n if (input.HttpErrorCodeReturnedEquals != null) {\n const node = __XmlNode\n .of(\"HttpErrorCodeReturnedEquals\", input.HttpErrorCodeReturnedEquals)\n .withName(\"HttpErrorCodeReturnedEquals\");\n bodyNode.addChildNode(node);\n }\n if (input.KeyPrefixEquals != null) {\n const node = __XmlNode.of(\"KeyPrefixEquals\", input.KeyPrefixEquals).withName(\"KeyPrefixEquals\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_CORSConfiguration = (input, context) => {\n const bodyNode = new __XmlNode(\"CORSConfiguration\");\n if (input.CORSRules != null) {\n const nodes = se_CORSRules(input.CORSRules, context);\n nodes.map((node) => {\n node = node.withName(\"CORSRule\");\n bodyNode.addChildNode(node);\n });\n }\n return bodyNode;\n};\nconst se_CORSRule = (input, context) => {\n const bodyNode = new __XmlNode(\"CORSRule\");\n if (input.ID != null) {\n const node = __XmlNode.of(\"ID\", input.ID).withName(\"ID\");\n bodyNode.addChildNode(node);\n }\n if (input.AllowedHeaders != null) {\n const nodes = se_AllowedHeaders(input.AllowedHeaders, context);\n nodes.map((node) => {\n node = node.withName(\"AllowedHeader\");\n bodyNode.addChildNode(node);\n });\n }\n if (input.AllowedMethods != null) {\n const nodes = se_AllowedMethods(input.AllowedMethods, context);\n nodes.map((node) => {\n node = node.withName(\"AllowedMethod\");\n bodyNode.addChildNode(node);\n });\n }\n if (input.AllowedOrigins != null) {\n const nodes = se_AllowedOrigins(input.AllowedOrigins, context);\n nodes.map((node) => {\n node = node.withName(\"AllowedOrigin\");\n bodyNode.addChildNode(node);\n });\n }\n if (input.ExposeHeaders != null) {\n const nodes = se_ExposeHeaders(input.ExposeHeaders, context);\n nodes.map((node) => {\n node = node.withName(\"ExposeHeader\");\n bodyNode.addChildNode(node);\n });\n }\n if (input.MaxAgeSeconds != null) {\n const node = __XmlNode.of(\"MaxAgeSeconds\", String(input.MaxAgeSeconds)).withName(\"MaxAgeSeconds\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_CORSRules = (input, context) => {\n return input\n .filter((e) => e != null)\n .map((entry) => {\n const node = se_CORSRule(entry, context);\n return node.withName(\"member\");\n });\n};\nconst se_CreateBucketConfiguration = (input, context) => {\n const bodyNode = new __XmlNode(\"CreateBucketConfiguration\");\n if (input.LocationConstraint != null) {\n const node = __XmlNode.of(\"BucketLocationConstraint\", input.LocationConstraint).withName(\"LocationConstraint\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_CSVInput = (input, context) => {\n const bodyNode = new __XmlNode(\"CSVInput\");\n if (input.FileHeaderInfo != null) {\n const node = __XmlNode.of(\"FileHeaderInfo\", input.FileHeaderInfo).withName(\"FileHeaderInfo\");\n bodyNode.addChildNode(node);\n }\n if (input.Comments != null) {\n const node = __XmlNode.of(\"Comments\", input.Comments).withName(\"Comments\");\n bodyNode.addChildNode(node);\n }\n if (input.QuoteEscapeCharacter != null) {\n const node = __XmlNode.of(\"QuoteEscapeCharacter\", input.QuoteEscapeCharacter).withName(\"QuoteEscapeCharacter\");\n bodyNode.addChildNode(node);\n }\n if (input.RecordDelimiter != null) {\n const node = __XmlNode.of(\"RecordDelimiter\", input.RecordDelimiter).withName(\"RecordDelimiter\");\n bodyNode.addChildNode(node);\n }\n if (input.FieldDelimiter != null) {\n const node = __XmlNode.of(\"FieldDelimiter\", input.FieldDelimiter).withName(\"FieldDelimiter\");\n bodyNode.addChildNode(node);\n }\n if (input.QuoteCharacter != null) {\n const node = __XmlNode.of(\"QuoteCharacter\", input.QuoteCharacter).withName(\"QuoteCharacter\");\n bodyNode.addChildNode(node);\n }\n if (input.AllowQuotedRecordDelimiter != null) {\n const node = __XmlNode\n .of(\"AllowQuotedRecordDelimiter\", String(input.AllowQuotedRecordDelimiter))\n .withName(\"AllowQuotedRecordDelimiter\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_CSVOutput = (input, context) => {\n const bodyNode = new __XmlNode(\"CSVOutput\");\n if (input.QuoteFields != null) {\n const node = __XmlNode.of(\"QuoteFields\", input.QuoteFields).withName(\"QuoteFields\");\n bodyNode.addChildNode(node);\n }\n if (input.QuoteEscapeCharacter != null) {\n const node = __XmlNode.of(\"QuoteEscapeCharacter\", input.QuoteEscapeCharacter).withName(\"QuoteEscapeCharacter\");\n bodyNode.addChildNode(node);\n }\n if (input.RecordDelimiter != null) {\n const node = __XmlNode.of(\"RecordDelimiter\", input.RecordDelimiter).withName(\"RecordDelimiter\");\n bodyNode.addChildNode(node);\n }\n if (input.FieldDelimiter != null) {\n const node = __XmlNode.of(\"FieldDelimiter\", input.FieldDelimiter).withName(\"FieldDelimiter\");\n bodyNode.addChildNode(node);\n }\n if (input.QuoteCharacter != null) {\n const node = __XmlNode.of(\"QuoteCharacter\", input.QuoteCharacter).withName(\"QuoteCharacter\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_DefaultRetention = (input, context) => {\n const bodyNode = new __XmlNode(\"DefaultRetention\");\n if (input.Mode != null) {\n const node = __XmlNode.of(\"ObjectLockRetentionMode\", input.Mode).withName(\"Mode\");\n bodyNode.addChildNode(node);\n }\n if (input.Days != null) {\n const node = __XmlNode.of(\"Days\", String(input.Days)).withName(\"Days\");\n bodyNode.addChildNode(node);\n }\n if (input.Years != null) {\n const node = __XmlNode.of(\"Years\", String(input.Years)).withName(\"Years\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_Delete = (input, context) => {\n const bodyNode = new __XmlNode(\"Delete\");\n if (input.Objects != null) {\n const nodes = se_ObjectIdentifierList(input.Objects, context);\n nodes.map((node) => {\n node = node.withName(\"Object\");\n bodyNode.addChildNode(node);\n });\n }\n if (input.Quiet != null) {\n const node = __XmlNode.of(\"Quiet\", String(input.Quiet)).withName(\"Quiet\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_DeleteMarkerReplication = (input, context) => {\n const bodyNode = new __XmlNode(\"DeleteMarkerReplication\");\n if (input.Status != null) {\n const node = __XmlNode.of(\"DeleteMarkerReplicationStatus\", input.Status).withName(\"Status\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_Destination = (input, context) => {\n const bodyNode = new __XmlNode(\"Destination\");\n if (input.Bucket != null) {\n const node = __XmlNode.of(\"BucketName\", input.Bucket).withName(\"Bucket\");\n bodyNode.addChildNode(node);\n }\n if (input.Account != null) {\n const node = __XmlNode.of(\"AccountId\", input.Account).withName(\"Account\");\n bodyNode.addChildNode(node);\n }\n if (input.StorageClass != null) {\n const node = __XmlNode.of(\"StorageClass\", input.StorageClass).withName(\"StorageClass\");\n bodyNode.addChildNode(node);\n }\n if (input.AccessControlTranslation != null) {\n const node = se_AccessControlTranslation(input.AccessControlTranslation, context).withName(\"AccessControlTranslation\");\n bodyNode.addChildNode(node);\n }\n if (input.EncryptionConfiguration != null) {\n const node = se_EncryptionConfiguration(input.EncryptionConfiguration, context).withName(\"EncryptionConfiguration\");\n bodyNode.addChildNode(node);\n }\n if (input.ReplicationTime != null) {\n const node = se_ReplicationTime(input.ReplicationTime, context).withName(\"ReplicationTime\");\n bodyNode.addChildNode(node);\n }\n if (input.Metrics != null) {\n const node = se_Metrics(input.Metrics, context).withName(\"Metrics\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_Encryption = (input, context) => {\n const bodyNode = new __XmlNode(\"Encryption\");\n if (input.EncryptionType != null) {\n const node = __XmlNode.of(\"ServerSideEncryption\", input.EncryptionType).withName(\"EncryptionType\");\n bodyNode.addChildNode(node);\n }\n if (input.KMSKeyId != null) {\n const node = __XmlNode.of(\"SSEKMSKeyId\", input.KMSKeyId).withName(\"KMSKeyId\");\n bodyNode.addChildNode(node);\n }\n if (input.KMSContext != null) {\n const node = __XmlNode.of(\"KMSContext\", input.KMSContext).withName(\"KMSContext\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_EncryptionConfiguration = (input, context) => {\n const bodyNode = new __XmlNode(\"EncryptionConfiguration\");\n if (input.ReplicaKmsKeyID != null) {\n const node = __XmlNode.of(\"ReplicaKmsKeyID\", input.ReplicaKmsKeyID).withName(\"ReplicaKmsKeyID\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_ErrorDocument = (input, context) => {\n const bodyNode = new __XmlNode(\"ErrorDocument\");\n if (input.Key != null) {\n const node = __XmlNode.of(\"ObjectKey\", input.Key).withName(\"Key\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_EventBridgeConfiguration = (input, context) => {\n const bodyNode = new __XmlNode(\"EventBridgeConfiguration\");\n return bodyNode;\n};\nconst se_EventList = (input, context) => {\n return input\n .filter((e) => e != null)\n .map((entry) => {\n const node = __XmlNode.of(\"Event\", entry);\n return node.withName(\"member\");\n });\n};\nconst se_ExistingObjectReplication = (input, context) => {\n const bodyNode = new __XmlNode(\"ExistingObjectReplication\");\n if (input.Status != null) {\n const node = __XmlNode.of(\"ExistingObjectReplicationStatus\", input.Status).withName(\"Status\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_ExposeHeaders = (input, context) => {\n return input\n .filter((e) => e != null)\n .map((entry) => {\n const node = __XmlNode.of(\"ExposeHeader\", entry);\n return node.withName(\"member\");\n });\n};\nconst se_FilterRule = (input, context) => {\n const bodyNode = new __XmlNode(\"FilterRule\");\n if (input.Name != null) {\n const node = __XmlNode.of(\"FilterRuleName\", input.Name).withName(\"Name\");\n bodyNode.addChildNode(node);\n }\n if (input.Value != null) {\n const node = __XmlNode.of(\"FilterRuleValue\", input.Value).withName(\"Value\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_FilterRuleList = (input, context) => {\n return input\n .filter((e) => e != null)\n .map((entry) => {\n const node = se_FilterRule(entry, context);\n return node.withName(\"member\");\n });\n};\nconst se_GlacierJobParameters = (input, context) => {\n const bodyNode = new __XmlNode(\"GlacierJobParameters\");\n if (input.Tier != null) {\n const node = __XmlNode.of(\"Tier\", input.Tier).withName(\"Tier\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_Grant = (input, context) => {\n const bodyNode = new __XmlNode(\"Grant\");\n if (input.Grantee != null) {\n const node = se_Grantee(input.Grantee, context).withName(\"Grantee\");\n node.addAttribute(\"xmlns:xsi\", \"http://www.w3.org/2001/XMLSchema-instance\");\n bodyNode.addChildNode(node);\n }\n if (input.Permission != null) {\n const node = __XmlNode.of(\"Permission\", input.Permission).withName(\"Permission\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_Grantee = (input, context) => {\n const bodyNode = new __XmlNode(\"Grantee\");\n if (input.DisplayName != null) {\n const node = __XmlNode.of(\"DisplayName\", input.DisplayName).withName(\"DisplayName\");\n bodyNode.addChildNode(node);\n }\n if (input.EmailAddress != null) {\n const node = __XmlNode.of(\"EmailAddress\", input.EmailAddress).withName(\"EmailAddress\");\n bodyNode.addChildNode(node);\n }\n if (input.ID != null) {\n const node = __XmlNode.of(\"ID\", input.ID).withName(\"ID\");\n bodyNode.addChildNode(node);\n }\n if (input.URI != null) {\n const node = __XmlNode.of(\"URI\", input.URI).withName(\"URI\");\n bodyNode.addChildNode(node);\n }\n if (input.Type != null) {\n bodyNode.addAttribute(\"xsi:type\", input.Type);\n }\n return bodyNode;\n};\nconst se_Grants = (input, context) => {\n return input\n .filter((e) => e != null)\n .map((entry) => {\n const node = se_Grant(entry, context);\n return node.withName(\"Grant\");\n });\n};\nconst se_IndexDocument = (input, context) => {\n const bodyNode = new __XmlNode(\"IndexDocument\");\n if (input.Suffix != null) {\n const node = __XmlNode.of(\"Suffix\", input.Suffix).withName(\"Suffix\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_InputSerialization = (input, context) => {\n const bodyNode = new __XmlNode(\"InputSerialization\");\n if (input.CSV != null) {\n const node = se_CSVInput(input.CSV, context).withName(\"CSV\");\n bodyNode.addChildNode(node);\n }\n if (input.CompressionType != null) {\n const node = __XmlNode.of(\"CompressionType\", input.CompressionType).withName(\"CompressionType\");\n bodyNode.addChildNode(node);\n }\n if (input.JSON != null) {\n const node = se_JSONInput(input.JSON, context).withName(\"JSON\");\n bodyNode.addChildNode(node);\n }\n if (input.Parquet != null) {\n const node = se_ParquetInput(input.Parquet, context).withName(\"Parquet\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_IntelligentTieringAndOperator = (input, context) => {\n const bodyNode = new __XmlNode(\"IntelligentTieringAndOperator\");\n if (input.Prefix != null) {\n const node = __XmlNode.of(\"Prefix\", input.Prefix).withName(\"Prefix\");\n bodyNode.addChildNode(node);\n }\n if (input.Tags != null) {\n const nodes = se_TagSet(input.Tags, context);\n nodes.map((node) => {\n node = node.withName(\"Tag\");\n bodyNode.addChildNode(node);\n });\n }\n return bodyNode;\n};\nconst se_IntelligentTieringConfiguration = (input, context) => {\n const bodyNode = new __XmlNode(\"IntelligentTieringConfiguration\");\n if (input.Id != null) {\n const node = __XmlNode.of(\"IntelligentTieringId\", input.Id).withName(\"Id\");\n bodyNode.addChildNode(node);\n }\n if (input.Filter != null) {\n const node = se_IntelligentTieringFilter(input.Filter, context).withName(\"Filter\");\n bodyNode.addChildNode(node);\n }\n if (input.Status != null) {\n const node = __XmlNode.of(\"IntelligentTieringStatus\", input.Status).withName(\"Status\");\n bodyNode.addChildNode(node);\n }\n if (input.Tierings != null) {\n const nodes = se_TieringList(input.Tierings, context);\n nodes.map((node) => {\n node = node.withName(\"Tiering\");\n bodyNode.addChildNode(node);\n });\n }\n return bodyNode;\n};\nconst se_IntelligentTieringFilter = (input, context) => {\n const bodyNode = new __XmlNode(\"IntelligentTieringFilter\");\n if (input.Prefix != null) {\n const node = __XmlNode.of(\"Prefix\", input.Prefix).withName(\"Prefix\");\n bodyNode.addChildNode(node);\n }\n if (input.Tag != null) {\n const node = se_Tag(input.Tag, context).withName(\"Tag\");\n bodyNode.addChildNode(node);\n }\n if (input.And != null) {\n const node = se_IntelligentTieringAndOperator(input.And, context).withName(\"And\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_InventoryConfiguration = (input, context) => {\n const bodyNode = new __XmlNode(\"InventoryConfiguration\");\n if (input.Destination != null) {\n const node = se_InventoryDestination(input.Destination, context).withName(\"Destination\");\n bodyNode.addChildNode(node);\n }\n if (input.IsEnabled != null) {\n const node = __XmlNode.of(\"IsEnabled\", String(input.IsEnabled)).withName(\"IsEnabled\");\n bodyNode.addChildNode(node);\n }\n if (input.Filter != null) {\n const node = se_InventoryFilter(input.Filter, context).withName(\"Filter\");\n bodyNode.addChildNode(node);\n }\n if (input.Id != null) {\n const node = __XmlNode.of(\"InventoryId\", input.Id).withName(\"Id\");\n bodyNode.addChildNode(node);\n }\n if (input.IncludedObjectVersions != null) {\n const node = __XmlNode\n .of(\"InventoryIncludedObjectVersions\", input.IncludedObjectVersions)\n .withName(\"IncludedObjectVersions\");\n bodyNode.addChildNode(node);\n }\n if (input.OptionalFields != null) {\n const nodes = se_InventoryOptionalFields(input.OptionalFields, context);\n const containerNode = new __XmlNode(\"OptionalFields\");\n nodes.map((node) => {\n containerNode.addChildNode(node);\n });\n bodyNode.addChildNode(containerNode);\n }\n if (input.Schedule != null) {\n const node = se_InventorySchedule(input.Schedule, context).withName(\"Schedule\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_InventoryDestination = (input, context) => {\n const bodyNode = new __XmlNode(\"InventoryDestination\");\n if (input.S3BucketDestination != null) {\n const node = se_InventoryS3BucketDestination(input.S3BucketDestination, context).withName(\"S3BucketDestination\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_InventoryEncryption = (input, context) => {\n const bodyNode = new __XmlNode(\"InventoryEncryption\");\n if (input.SSES3 != null) {\n const node = se_SSES3(input.SSES3, context).withName(\"SSE-S3\");\n bodyNode.addChildNode(node);\n }\n if (input.SSEKMS != null) {\n const node = se_SSEKMS(input.SSEKMS, context).withName(\"SSE-KMS\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_InventoryFilter = (input, context) => {\n const bodyNode = new __XmlNode(\"InventoryFilter\");\n if (input.Prefix != null) {\n const node = __XmlNode.of(\"Prefix\", input.Prefix).withName(\"Prefix\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_InventoryOptionalFields = (input, context) => {\n return input\n .filter((e) => e != null)\n .map((entry) => {\n const node = __XmlNode.of(\"InventoryOptionalField\", entry);\n return node.withName(\"Field\");\n });\n};\nconst se_InventoryS3BucketDestination = (input, context) => {\n const bodyNode = new __XmlNode(\"InventoryS3BucketDestination\");\n if (input.AccountId != null) {\n const node = __XmlNode.of(\"AccountId\", input.AccountId).withName(\"AccountId\");\n bodyNode.addChildNode(node);\n }\n if (input.Bucket != null) {\n const node = __XmlNode.of(\"BucketName\", input.Bucket).withName(\"Bucket\");\n bodyNode.addChildNode(node);\n }\n if (input.Format != null) {\n const node = __XmlNode.of(\"InventoryFormat\", input.Format).withName(\"Format\");\n bodyNode.addChildNode(node);\n }\n if (input.Prefix != null) {\n const node = __XmlNode.of(\"Prefix\", input.Prefix).withName(\"Prefix\");\n bodyNode.addChildNode(node);\n }\n if (input.Encryption != null) {\n const node = se_InventoryEncryption(input.Encryption, context).withName(\"Encryption\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_InventorySchedule = (input, context) => {\n const bodyNode = new __XmlNode(\"InventorySchedule\");\n if (input.Frequency != null) {\n const node = __XmlNode.of(\"InventoryFrequency\", input.Frequency).withName(\"Frequency\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_JSONInput = (input, context) => {\n const bodyNode = new __XmlNode(\"JSONInput\");\n if (input.Type != null) {\n const node = __XmlNode.of(\"JSONType\", input.Type).withName(\"Type\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_JSONOutput = (input, context) => {\n const bodyNode = new __XmlNode(\"JSONOutput\");\n if (input.RecordDelimiter != null) {\n const node = __XmlNode.of(\"RecordDelimiter\", input.RecordDelimiter).withName(\"RecordDelimiter\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_LambdaFunctionConfiguration = (input, context) => {\n const bodyNode = new __XmlNode(\"LambdaFunctionConfiguration\");\n if (input.Id != null) {\n const node = __XmlNode.of(\"NotificationId\", input.Id).withName(\"Id\");\n bodyNode.addChildNode(node);\n }\n if (input.LambdaFunctionArn != null) {\n const node = __XmlNode.of(\"LambdaFunctionArn\", input.LambdaFunctionArn).withName(\"CloudFunction\");\n bodyNode.addChildNode(node);\n }\n if (input.Events != null) {\n const nodes = se_EventList(input.Events, context);\n nodes.map((node) => {\n node = node.withName(\"Event\");\n bodyNode.addChildNode(node);\n });\n }\n if (input.Filter != null) {\n const node = se_NotificationConfigurationFilter(input.Filter, context).withName(\"Filter\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_LambdaFunctionConfigurationList = (input, context) => {\n return input\n .filter((e) => e != null)\n .map((entry) => {\n const node = se_LambdaFunctionConfiguration(entry, context);\n return node.withName(\"member\");\n });\n};\nconst se_LifecycleExpiration = (input, context) => {\n const bodyNode = new __XmlNode(\"LifecycleExpiration\");\n if (input.Date != null) {\n const node = __XmlNode.of(\"Date\", (input.Date.toISOString().split(\".\")[0] + \"Z\").toString()).withName(\"Date\");\n bodyNode.addChildNode(node);\n }\n if (input.Days != null) {\n const node = __XmlNode.of(\"Days\", String(input.Days)).withName(\"Days\");\n bodyNode.addChildNode(node);\n }\n if (input.ExpiredObjectDeleteMarker != null) {\n const node = __XmlNode\n .of(\"ExpiredObjectDeleteMarker\", String(input.ExpiredObjectDeleteMarker))\n .withName(\"ExpiredObjectDeleteMarker\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_LifecycleRule = (input, context) => {\n const bodyNode = new __XmlNode(\"LifecycleRule\");\n if (input.Expiration != null) {\n const node = se_LifecycleExpiration(input.Expiration, context).withName(\"Expiration\");\n bodyNode.addChildNode(node);\n }\n if (input.ID != null) {\n const node = __XmlNode.of(\"ID\", input.ID).withName(\"ID\");\n bodyNode.addChildNode(node);\n }\n if (input.Prefix != null) {\n const node = __XmlNode.of(\"Prefix\", input.Prefix).withName(\"Prefix\");\n bodyNode.addChildNode(node);\n }\n if (input.Filter != null) {\n const node = se_LifecycleRuleFilter(input.Filter, context).withName(\"Filter\");\n bodyNode.addChildNode(node);\n }\n if (input.Status != null) {\n const node = __XmlNode.of(\"ExpirationStatus\", input.Status).withName(\"Status\");\n bodyNode.addChildNode(node);\n }\n if (input.Transitions != null) {\n const nodes = se_TransitionList(input.Transitions, context);\n nodes.map((node) => {\n node = node.withName(\"Transition\");\n bodyNode.addChildNode(node);\n });\n }\n if (input.NoncurrentVersionTransitions != null) {\n const nodes = se_NoncurrentVersionTransitionList(input.NoncurrentVersionTransitions, context);\n nodes.map((node) => {\n node = node.withName(\"NoncurrentVersionTransition\");\n bodyNode.addChildNode(node);\n });\n }\n if (input.NoncurrentVersionExpiration != null) {\n const node = se_NoncurrentVersionExpiration(input.NoncurrentVersionExpiration, context).withName(\"NoncurrentVersionExpiration\");\n bodyNode.addChildNode(node);\n }\n if (input.AbortIncompleteMultipartUpload != null) {\n const node = se_AbortIncompleteMultipartUpload(input.AbortIncompleteMultipartUpload, context).withName(\"AbortIncompleteMultipartUpload\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_LifecycleRuleAndOperator = (input, context) => {\n const bodyNode = new __XmlNode(\"LifecycleRuleAndOperator\");\n if (input.Prefix != null) {\n const node = __XmlNode.of(\"Prefix\", input.Prefix).withName(\"Prefix\");\n bodyNode.addChildNode(node);\n }\n if (input.Tags != null) {\n const nodes = se_TagSet(input.Tags, context);\n nodes.map((node) => {\n node = node.withName(\"Tag\");\n bodyNode.addChildNode(node);\n });\n }\n if (input.ObjectSizeGreaterThan != null) {\n const node = __XmlNode\n .of(\"ObjectSizeGreaterThanBytes\", String(input.ObjectSizeGreaterThan))\n .withName(\"ObjectSizeGreaterThan\");\n bodyNode.addChildNode(node);\n }\n if (input.ObjectSizeLessThan != null) {\n const node = __XmlNode\n .of(\"ObjectSizeLessThanBytes\", String(input.ObjectSizeLessThan))\n .withName(\"ObjectSizeLessThan\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_LifecycleRuleFilter = (input, context) => {\n const bodyNode = new __XmlNode(\"LifecycleRuleFilter\");\n LifecycleRuleFilter.visit(input, {\n Prefix: (value) => {\n const node = __XmlNode.of(\"Prefix\", value).withName(\"Prefix\");\n bodyNode.addChildNode(node);\n },\n Tag: (value) => {\n const node = se_Tag(value, context).withName(\"Tag\");\n bodyNode.addChildNode(node);\n },\n ObjectSizeGreaterThan: (value) => {\n const node = __XmlNode.of(\"ObjectSizeGreaterThanBytes\", String(value)).withName(\"ObjectSizeGreaterThan\");\n bodyNode.addChildNode(node);\n },\n ObjectSizeLessThan: (value) => {\n const node = __XmlNode.of(\"ObjectSizeLessThanBytes\", String(value)).withName(\"ObjectSizeLessThan\");\n bodyNode.addChildNode(node);\n },\n And: (value) => {\n const node = se_LifecycleRuleAndOperator(value, context).withName(\"And\");\n bodyNode.addChildNode(node);\n },\n _: (name, value) => {\n if (!(value instanceof __XmlNode || value instanceof __XmlText)) {\n throw new Error(\"Unable to serialize unknown union members in XML.\");\n }\n bodyNode.addChildNode(new __XmlNode(name).addChildNode(value));\n },\n });\n return bodyNode;\n};\nconst se_LifecycleRules = (input, context) => {\n return input\n .filter((e) => e != null)\n .map((entry) => {\n const node = se_LifecycleRule(entry, context);\n return node.withName(\"member\");\n });\n};\nconst se_LoggingEnabled = (input, context) => {\n const bodyNode = new __XmlNode(\"LoggingEnabled\");\n if (input.TargetBucket != null) {\n const node = __XmlNode.of(\"TargetBucket\", input.TargetBucket).withName(\"TargetBucket\");\n bodyNode.addChildNode(node);\n }\n if (input.TargetGrants != null) {\n const nodes = se_TargetGrants(input.TargetGrants, context);\n const containerNode = new __XmlNode(\"TargetGrants\");\n nodes.map((node) => {\n containerNode.addChildNode(node);\n });\n bodyNode.addChildNode(containerNode);\n }\n if (input.TargetPrefix != null) {\n const node = __XmlNode.of(\"TargetPrefix\", input.TargetPrefix).withName(\"TargetPrefix\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_MetadataEntry = (input, context) => {\n const bodyNode = new __XmlNode(\"MetadataEntry\");\n if (input.Name != null) {\n const node = __XmlNode.of(\"MetadataKey\", input.Name).withName(\"Name\");\n bodyNode.addChildNode(node);\n }\n if (input.Value != null) {\n const node = __XmlNode.of(\"MetadataValue\", input.Value).withName(\"Value\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_Metrics = (input, context) => {\n const bodyNode = new __XmlNode(\"Metrics\");\n if (input.Status != null) {\n const node = __XmlNode.of(\"MetricsStatus\", input.Status).withName(\"Status\");\n bodyNode.addChildNode(node);\n }\n if (input.EventThreshold != null) {\n const node = se_ReplicationTimeValue(input.EventThreshold, context).withName(\"EventThreshold\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_MetricsAndOperator = (input, context) => {\n const bodyNode = new __XmlNode(\"MetricsAndOperator\");\n if (input.Prefix != null) {\n const node = __XmlNode.of(\"Prefix\", input.Prefix).withName(\"Prefix\");\n bodyNode.addChildNode(node);\n }\n if (input.Tags != null) {\n const nodes = se_TagSet(input.Tags, context);\n nodes.map((node) => {\n node = node.withName(\"Tag\");\n bodyNode.addChildNode(node);\n });\n }\n if (input.AccessPointArn != null) {\n const node = __XmlNode.of(\"AccessPointArn\", input.AccessPointArn).withName(\"AccessPointArn\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_MetricsConfiguration = (input, context) => {\n const bodyNode = new __XmlNode(\"MetricsConfiguration\");\n if (input.Id != null) {\n const node = __XmlNode.of(\"MetricsId\", input.Id).withName(\"Id\");\n bodyNode.addChildNode(node);\n }\n if (input.Filter != null) {\n const node = se_MetricsFilter(input.Filter, context).withName(\"Filter\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_MetricsFilter = (input, context) => {\n const bodyNode = new __XmlNode(\"MetricsFilter\");\n MetricsFilter.visit(input, {\n Prefix: (value) => {\n const node = __XmlNode.of(\"Prefix\", value).withName(\"Prefix\");\n bodyNode.addChildNode(node);\n },\n Tag: (value) => {\n const node = se_Tag(value, context).withName(\"Tag\");\n bodyNode.addChildNode(node);\n },\n AccessPointArn: (value) => {\n const node = __XmlNode.of(\"AccessPointArn\", value).withName(\"AccessPointArn\");\n bodyNode.addChildNode(node);\n },\n And: (value) => {\n const node = se_MetricsAndOperator(value, context).withName(\"And\");\n bodyNode.addChildNode(node);\n },\n _: (name, value) => {\n if (!(value instanceof __XmlNode || value instanceof __XmlText)) {\n throw new Error(\"Unable to serialize unknown union members in XML.\");\n }\n bodyNode.addChildNode(new __XmlNode(name).addChildNode(value));\n },\n });\n return bodyNode;\n};\nconst se_NoncurrentVersionExpiration = (input, context) => {\n const bodyNode = new __XmlNode(\"NoncurrentVersionExpiration\");\n if (input.NoncurrentDays != null) {\n const node = __XmlNode.of(\"Days\", String(input.NoncurrentDays)).withName(\"NoncurrentDays\");\n bodyNode.addChildNode(node);\n }\n if (input.NewerNoncurrentVersions != null) {\n const node = __XmlNode\n .of(\"VersionCount\", String(input.NewerNoncurrentVersions))\n .withName(\"NewerNoncurrentVersions\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_NoncurrentVersionTransition = (input, context) => {\n const bodyNode = new __XmlNode(\"NoncurrentVersionTransition\");\n if (input.NoncurrentDays != null) {\n const node = __XmlNode.of(\"Days\", String(input.NoncurrentDays)).withName(\"NoncurrentDays\");\n bodyNode.addChildNode(node);\n }\n if (input.StorageClass != null) {\n const node = __XmlNode.of(\"TransitionStorageClass\", input.StorageClass).withName(\"StorageClass\");\n bodyNode.addChildNode(node);\n }\n if (input.NewerNoncurrentVersions != null) {\n const node = __XmlNode\n .of(\"VersionCount\", String(input.NewerNoncurrentVersions))\n .withName(\"NewerNoncurrentVersions\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_NoncurrentVersionTransitionList = (input, context) => {\n return input\n .filter((e) => e != null)\n .map((entry) => {\n const node = se_NoncurrentVersionTransition(entry, context);\n return node.withName(\"member\");\n });\n};\nconst se_NotificationConfiguration = (input, context) => {\n const bodyNode = new __XmlNode(\"NotificationConfiguration\");\n if (input.TopicConfigurations != null) {\n const nodes = se_TopicConfigurationList(input.TopicConfigurations, context);\n nodes.map((node) => {\n node = node.withName(\"TopicConfiguration\");\n bodyNode.addChildNode(node);\n });\n }\n if (input.QueueConfigurations != null) {\n const nodes = se_QueueConfigurationList(input.QueueConfigurations, context);\n nodes.map((node) => {\n node = node.withName(\"QueueConfiguration\");\n bodyNode.addChildNode(node);\n });\n }\n if (input.LambdaFunctionConfigurations != null) {\n const nodes = se_LambdaFunctionConfigurationList(input.LambdaFunctionConfigurations, context);\n nodes.map((node) => {\n node = node.withName(\"CloudFunctionConfiguration\");\n bodyNode.addChildNode(node);\n });\n }\n if (input.EventBridgeConfiguration != null) {\n const node = se_EventBridgeConfiguration(input.EventBridgeConfiguration, context).withName(\"EventBridgeConfiguration\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_NotificationConfigurationFilter = (input, context) => {\n const bodyNode = new __XmlNode(\"NotificationConfigurationFilter\");\n if (input.Key != null) {\n const node = se_S3KeyFilter(input.Key, context).withName(\"S3Key\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_ObjectIdentifier = (input, context) => {\n const bodyNode = new __XmlNode(\"ObjectIdentifier\");\n if (input.Key != null) {\n const node = __XmlNode.of(\"ObjectKey\", input.Key).withName(\"Key\");\n bodyNode.addChildNode(node);\n }\n if (input.VersionId != null) {\n const node = __XmlNode.of(\"ObjectVersionId\", input.VersionId).withName(\"VersionId\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_ObjectIdentifierList = (input, context) => {\n return input\n .filter((e) => e != null)\n .map((entry) => {\n const node = se_ObjectIdentifier(entry, context);\n return node.withName(\"member\");\n });\n};\nconst se_ObjectLockConfiguration = (input, context) => {\n const bodyNode = new __XmlNode(\"ObjectLockConfiguration\");\n if (input.ObjectLockEnabled != null) {\n const node = __XmlNode.of(\"ObjectLockEnabled\", input.ObjectLockEnabled).withName(\"ObjectLockEnabled\");\n bodyNode.addChildNode(node);\n }\n if (input.Rule != null) {\n const node = se_ObjectLockRule(input.Rule, context).withName(\"Rule\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_ObjectLockLegalHold = (input, context) => {\n const bodyNode = new __XmlNode(\"ObjectLockLegalHold\");\n if (input.Status != null) {\n const node = __XmlNode.of(\"ObjectLockLegalHoldStatus\", input.Status).withName(\"Status\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_ObjectLockRetention = (input, context) => {\n const bodyNode = new __XmlNode(\"ObjectLockRetention\");\n if (input.Mode != null) {\n const node = __XmlNode.of(\"ObjectLockRetentionMode\", input.Mode).withName(\"Mode\");\n bodyNode.addChildNode(node);\n }\n if (input.RetainUntilDate != null) {\n const node = __XmlNode\n .of(\"Date\", (input.RetainUntilDate.toISOString().split(\".\")[0] + \"Z\").toString())\n .withName(\"RetainUntilDate\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_ObjectLockRule = (input, context) => {\n const bodyNode = new __XmlNode(\"ObjectLockRule\");\n if (input.DefaultRetention != null) {\n const node = se_DefaultRetention(input.DefaultRetention, context).withName(\"DefaultRetention\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_OutputLocation = (input, context) => {\n const bodyNode = new __XmlNode(\"OutputLocation\");\n if (input.S3 != null) {\n const node = se_S3Location(input.S3, context).withName(\"S3\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_OutputSerialization = (input, context) => {\n const bodyNode = new __XmlNode(\"OutputSerialization\");\n if (input.CSV != null) {\n const node = se_CSVOutput(input.CSV, context).withName(\"CSV\");\n bodyNode.addChildNode(node);\n }\n if (input.JSON != null) {\n const node = se_JSONOutput(input.JSON, context).withName(\"JSON\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_Owner = (input, context) => {\n const bodyNode = new __XmlNode(\"Owner\");\n if (input.DisplayName != null) {\n const node = __XmlNode.of(\"DisplayName\", input.DisplayName).withName(\"DisplayName\");\n bodyNode.addChildNode(node);\n }\n if (input.ID != null) {\n const node = __XmlNode.of(\"ID\", input.ID).withName(\"ID\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_OwnershipControls = (input, context) => {\n const bodyNode = new __XmlNode(\"OwnershipControls\");\n if (input.Rules != null) {\n const nodes = se_OwnershipControlsRules(input.Rules, context);\n nodes.map((node) => {\n node = node.withName(\"Rule\");\n bodyNode.addChildNode(node);\n });\n }\n return bodyNode;\n};\nconst se_OwnershipControlsRule = (input, context) => {\n const bodyNode = new __XmlNode(\"OwnershipControlsRule\");\n if (input.ObjectOwnership != null) {\n const node = __XmlNode.of(\"ObjectOwnership\", input.ObjectOwnership).withName(\"ObjectOwnership\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_OwnershipControlsRules = (input, context) => {\n return input\n .filter((e) => e != null)\n .map((entry) => {\n const node = se_OwnershipControlsRule(entry, context);\n return node.withName(\"member\");\n });\n};\nconst se_ParquetInput = (input, context) => {\n const bodyNode = new __XmlNode(\"ParquetInput\");\n return bodyNode;\n};\nconst se_PublicAccessBlockConfiguration = (input, context) => {\n const bodyNode = new __XmlNode(\"PublicAccessBlockConfiguration\");\n if (input.BlockPublicAcls != null) {\n const node = __XmlNode.of(\"Setting\", String(input.BlockPublicAcls)).withName(\"BlockPublicAcls\");\n bodyNode.addChildNode(node);\n }\n if (input.IgnorePublicAcls != null) {\n const node = __XmlNode.of(\"Setting\", String(input.IgnorePublicAcls)).withName(\"IgnorePublicAcls\");\n bodyNode.addChildNode(node);\n }\n if (input.BlockPublicPolicy != null) {\n const node = __XmlNode.of(\"Setting\", String(input.BlockPublicPolicy)).withName(\"BlockPublicPolicy\");\n bodyNode.addChildNode(node);\n }\n if (input.RestrictPublicBuckets != null) {\n const node = __XmlNode.of(\"Setting\", String(input.RestrictPublicBuckets)).withName(\"RestrictPublicBuckets\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_QueueConfiguration = (input, context) => {\n const bodyNode = new __XmlNode(\"QueueConfiguration\");\n if (input.Id != null) {\n const node = __XmlNode.of(\"NotificationId\", input.Id).withName(\"Id\");\n bodyNode.addChildNode(node);\n }\n if (input.QueueArn != null) {\n const node = __XmlNode.of(\"QueueArn\", input.QueueArn).withName(\"Queue\");\n bodyNode.addChildNode(node);\n }\n if (input.Events != null) {\n const nodes = se_EventList(input.Events, context);\n nodes.map((node) => {\n node = node.withName(\"Event\");\n bodyNode.addChildNode(node);\n });\n }\n if (input.Filter != null) {\n const node = se_NotificationConfigurationFilter(input.Filter, context).withName(\"Filter\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_QueueConfigurationList = (input, context) => {\n return input\n .filter((e) => e != null)\n .map((entry) => {\n const node = se_QueueConfiguration(entry, context);\n return node.withName(\"member\");\n });\n};\nconst se_Redirect = (input, context) => {\n const bodyNode = new __XmlNode(\"Redirect\");\n if (input.HostName != null) {\n const node = __XmlNode.of(\"HostName\", input.HostName).withName(\"HostName\");\n bodyNode.addChildNode(node);\n }\n if (input.HttpRedirectCode != null) {\n const node = __XmlNode.of(\"HttpRedirectCode\", input.HttpRedirectCode).withName(\"HttpRedirectCode\");\n bodyNode.addChildNode(node);\n }\n if (input.Protocol != null) {\n const node = __XmlNode.of(\"Protocol\", input.Protocol).withName(\"Protocol\");\n bodyNode.addChildNode(node);\n }\n if (input.ReplaceKeyPrefixWith != null) {\n const node = __XmlNode.of(\"ReplaceKeyPrefixWith\", input.ReplaceKeyPrefixWith).withName(\"ReplaceKeyPrefixWith\");\n bodyNode.addChildNode(node);\n }\n if (input.ReplaceKeyWith != null) {\n const node = __XmlNode.of(\"ReplaceKeyWith\", input.ReplaceKeyWith).withName(\"ReplaceKeyWith\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_RedirectAllRequestsTo = (input, context) => {\n const bodyNode = new __XmlNode(\"RedirectAllRequestsTo\");\n if (input.HostName != null) {\n const node = __XmlNode.of(\"HostName\", input.HostName).withName(\"HostName\");\n bodyNode.addChildNode(node);\n }\n if (input.Protocol != null) {\n const node = __XmlNode.of(\"Protocol\", input.Protocol).withName(\"Protocol\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_ReplicaModifications = (input, context) => {\n const bodyNode = new __XmlNode(\"ReplicaModifications\");\n if (input.Status != null) {\n const node = __XmlNode.of(\"ReplicaModificationsStatus\", input.Status).withName(\"Status\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_ReplicationConfiguration = (input, context) => {\n const bodyNode = new __XmlNode(\"ReplicationConfiguration\");\n if (input.Role != null) {\n const node = __XmlNode.of(\"Role\", input.Role).withName(\"Role\");\n bodyNode.addChildNode(node);\n }\n if (input.Rules != null) {\n const nodes = se_ReplicationRules(input.Rules, context);\n nodes.map((node) => {\n node = node.withName(\"Rule\");\n bodyNode.addChildNode(node);\n });\n }\n return bodyNode;\n};\nconst se_ReplicationRule = (input, context) => {\n const bodyNode = new __XmlNode(\"ReplicationRule\");\n if (input.ID != null) {\n const node = __XmlNode.of(\"ID\", input.ID).withName(\"ID\");\n bodyNode.addChildNode(node);\n }\n if (input.Priority != null) {\n const node = __XmlNode.of(\"Priority\", String(input.Priority)).withName(\"Priority\");\n bodyNode.addChildNode(node);\n }\n if (input.Prefix != null) {\n const node = __XmlNode.of(\"Prefix\", input.Prefix).withName(\"Prefix\");\n bodyNode.addChildNode(node);\n }\n if (input.Filter != null) {\n const node = se_ReplicationRuleFilter(input.Filter, context).withName(\"Filter\");\n bodyNode.addChildNode(node);\n }\n if (input.Status != null) {\n const node = __XmlNode.of(\"ReplicationRuleStatus\", input.Status).withName(\"Status\");\n bodyNode.addChildNode(node);\n }\n if (input.SourceSelectionCriteria != null) {\n const node = se_SourceSelectionCriteria(input.SourceSelectionCriteria, context).withName(\"SourceSelectionCriteria\");\n bodyNode.addChildNode(node);\n }\n if (input.ExistingObjectReplication != null) {\n const node = se_ExistingObjectReplication(input.ExistingObjectReplication, context).withName(\"ExistingObjectReplication\");\n bodyNode.addChildNode(node);\n }\n if (input.Destination != null) {\n const node = se_Destination(input.Destination, context).withName(\"Destination\");\n bodyNode.addChildNode(node);\n }\n if (input.DeleteMarkerReplication != null) {\n const node = se_DeleteMarkerReplication(input.DeleteMarkerReplication, context).withName(\"DeleteMarkerReplication\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_ReplicationRuleAndOperator = (input, context) => {\n const bodyNode = new __XmlNode(\"ReplicationRuleAndOperator\");\n if (input.Prefix != null) {\n const node = __XmlNode.of(\"Prefix\", input.Prefix).withName(\"Prefix\");\n bodyNode.addChildNode(node);\n }\n if (input.Tags != null) {\n const nodes = se_TagSet(input.Tags, context);\n nodes.map((node) => {\n node = node.withName(\"Tag\");\n bodyNode.addChildNode(node);\n });\n }\n return bodyNode;\n};\nconst se_ReplicationRuleFilter = (input, context) => {\n const bodyNode = new __XmlNode(\"ReplicationRuleFilter\");\n ReplicationRuleFilter.visit(input, {\n Prefix: (value) => {\n const node = __XmlNode.of(\"Prefix\", value).withName(\"Prefix\");\n bodyNode.addChildNode(node);\n },\n Tag: (value) => {\n const node = se_Tag(value, context).withName(\"Tag\");\n bodyNode.addChildNode(node);\n },\n And: (value) => {\n const node = se_ReplicationRuleAndOperator(value, context).withName(\"And\");\n bodyNode.addChildNode(node);\n },\n _: (name, value) => {\n if (!(value instanceof __XmlNode || value instanceof __XmlText)) {\n throw new Error(\"Unable to serialize unknown union members in XML.\");\n }\n bodyNode.addChildNode(new __XmlNode(name).addChildNode(value));\n },\n });\n return bodyNode;\n};\nconst se_ReplicationRules = (input, context) => {\n return input\n .filter((e) => e != null)\n .map((entry) => {\n const node = se_ReplicationRule(entry, context);\n return node.withName(\"member\");\n });\n};\nconst se_ReplicationTime = (input, context) => {\n const bodyNode = new __XmlNode(\"ReplicationTime\");\n if (input.Status != null) {\n const node = __XmlNode.of(\"ReplicationTimeStatus\", input.Status).withName(\"Status\");\n bodyNode.addChildNode(node);\n }\n if (input.Time != null) {\n const node = se_ReplicationTimeValue(input.Time, context).withName(\"Time\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_ReplicationTimeValue = (input, context) => {\n const bodyNode = new __XmlNode(\"ReplicationTimeValue\");\n if (input.Minutes != null) {\n const node = __XmlNode.of(\"Minutes\", String(input.Minutes)).withName(\"Minutes\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_RequestPaymentConfiguration = (input, context) => {\n const bodyNode = new __XmlNode(\"RequestPaymentConfiguration\");\n if (input.Payer != null) {\n const node = __XmlNode.of(\"Payer\", input.Payer).withName(\"Payer\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_RequestProgress = (input, context) => {\n const bodyNode = new __XmlNode(\"RequestProgress\");\n if (input.Enabled != null) {\n const node = __XmlNode.of(\"EnableRequestProgress\", String(input.Enabled)).withName(\"Enabled\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_RestoreRequest = (input, context) => {\n const bodyNode = new __XmlNode(\"RestoreRequest\");\n if (input.Days != null) {\n const node = __XmlNode.of(\"Days\", String(input.Days)).withName(\"Days\");\n bodyNode.addChildNode(node);\n }\n if (input.GlacierJobParameters != null) {\n const node = se_GlacierJobParameters(input.GlacierJobParameters, context).withName(\"GlacierJobParameters\");\n bodyNode.addChildNode(node);\n }\n if (input.Type != null) {\n const node = __XmlNode.of(\"RestoreRequestType\", input.Type).withName(\"Type\");\n bodyNode.addChildNode(node);\n }\n if (input.Tier != null) {\n const node = __XmlNode.of(\"Tier\", input.Tier).withName(\"Tier\");\n bodyNode.addChildNode(node);\n }\n if (input.Description != null) {\n const node = __XmlNode.of(\"Description\", input.Description).withName(\"Description\");\n bodyNode.addChildNode(node);\n }\n if (input.SelectParameters != null) {\n const node = se_SelectParameters(input.SelectParameters, context).withName(\"SelectParameters\");\n bodyNode.addChildNode(node);\n }\n if (input.OutputLocation != null) {\n const node = se_OutputLocation(input.OutputLocation, context).withName(\"OutputLocation\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_RoutingRule = (input, context) => {\n const bodyNode = new __XmlNode(\"RoutingRule\");\n if (input.Condition != null) {\n const node = se_Condition(input.Condition, context).withName(\"Condition\");\n bodyNode.addChildNode(node);\n }\n if (input.Redirect != null) {\n const node = se_Redirect(input.Redirect, context).withName(\"Redirect\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_RoutingRules = (input, context) => {\n return input\n .filter((e) => e != null)\n .map((entry) => {\n const node = se_RoutingRule(entry, context);\n return node.withName(\"RoutingRule\");\n });\n};\nconst se_S3KeyFilter = (input, context) => {\n const bodyNode = new __XmlNode(\"S3KeyFilter\");\n if (input.FilterRules != null) {\n const nodes = se_FilterRuleList(input.FilterRules, context);\n nodes.map((node) => {\n node = node.withName(\"FilterRule\");\n bodyNode.addChildNode(node);\n });\n }\n return bodyNode;\n};\nconst se_S3Location = (input, context) => {\n const bodyNode = new __XmlNode(\"S3Location\");\n if (input.BucketName != null) {\n const node = __XmlNode.of(\"BucketName\", input.BucketName).withName(\"BucketName\");\n bodyNode.addChildNode(node);\n }\n if (input.Prefix != null) {\n const node = __XmlNode.of(\"LocationPrefix\", input.Prefix).withName(\"Prefix\");\n bodyNode.addChildNode(node);\n }\n if (input.Encryption != null) {\n const node = se_Encryption(input.Encryption, context).withName(\"Encryption\");\n bodyNode.addChildNode(node);\n }\n if (input.CannedACL != null) {\n const node = __XmlNode.of(\"ObjectCannedACL\", input.CannedACL).withName(\"CannedACL\");\n bodyNode.addChildNode(node);\n }\n if (input.AccessControlList != null) {\n const nodes = se_Grants(input.AccessControlList, context);\n const containerNode = new __XmlNode(\"AccessControlList\");\n nodes.map((node) => {\n containerNode.addChildNode(node);\n });\n bodyNode.addChildNode(containerNode);\n }\n if (input.Tagging != null) {\n const node = se_Tagging(input.Tagging, context).withName(\"Tagging\");\n bodyNode.addChildNode(node);\n }\n if (input.UserMetadata != null) {\n const nodes = se_UserMetadata(input.UserMetadata, context);\n const containerNode = new __XmlNode(\"UserMetadata\");\n nodes.map((node) => {\n containerNode.addChildNode(node);\n });\n bodyNode.addChildNode(containerNode);\n }\n if (input.StorageClass != null) {\n const node = __XmlNode.of(\"StorageClass\", input.StorageClass).withName(\"StorageClass\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_ScanRange = (input, context) => {\n const bodyNode = new __XmlNode(\"ScanRange\");\n if (input.Start != null) {\n const node = __XmlNode.of(\"Start\", String(input.Start)).withName(\"Start\");\n bodyNode.addChildNode(node);\n }\n if (input.End != null) {\n const node = __XmlNode.of(\"End\", String(input.End)).withName(\"End\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_SelectParameters = (input, context) => {\n const bodyNode = new __XmlNode(\"SelectParameters\");\n if (input.InputSerialization != null) {\n const node = se_InputSerialization(input.InputSerialization, context).withName(\"InputSerialization\");\n bodyNode.addChildNode(node);\n }\n if (input.ExpressionType != null) {\n const node = __XmlNode.of(\"ExpressionType\", input.ExpressionType).withName(\"ExpressionType\");\n bodyNode.addChildNode(node);\n }\n if (input.Expression != null) {\n const node = __XmlNode.of(\"Expression\", input.Expression).withName(\"Expression\");\n bodyNode.addChildNode(node);\n }\n if (input.OutputSerialization != null) {\n const node = se_OutputSerialization(input.OutputSerialization, context).withName(\"OutputSerialization\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_ServerSideEncryptionByDefault = (input, context) => {\n const bodyNode = new __XmlNode(\"ServerSideEncryptionByDefault\");\n if (input.SSEAlgorithm != null) {\n const node = __XmlNode.of(\"ServerSideEncryption\", input.SSEAlgorithm).withName(\"SSEAlgorithm\");\n bodyNode.addChildNode(node);\n }\n if (input.KMSMasterKeyID != null) {\n const node = __XmlNode.of(\"SSEKMSKeyId\", input.KMSMasterKeyID).withName(\"KMSMasterKeyID\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_ServerSideEncryptionConfiguration = (input, context) => {\n const bodyNode = new __XmlNode(\"ServerSideEncryptionConfiguration\");\n if (input.Rules != null) {\n const nodes = se_ServerSideEncryptionRules(input.Rules, context);\n nodes.map((node) => {\n node = node.withName(\"Rule\");\n bodyNode.addChildNode(node);\n });\n }\n return bodyNode;\n};\nconst se_ServerSideEncryptionRule = (input, context) => {\n const bodyNode = new __XmlNode(\"ServerSideEncryptionRule\");\n if (input.ApplyServerSideEncryptionByDefault != null) {\n const node = se_ServerSideEncryptionByDefault(input.ApplyServerSideEncryptionByDefault, context).withName(\"ApplyServerSideEncryptionByDefault\");\n bodyNode.addChildNode(node);\n }\n if (input.BucketKeyEnabled != null) {\n const node = __XmlNode.of(\"BucketKeyEnabled\", String(input.BucketKeyEnabled)).withName(\"BucketKeyEnabled\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_ServerSideEncryptionRules = (input, context) => {\n return input\n .filter((e) => e != null)\n .map((entry) => {\n const node = se_ServerSideEncryptionRule(entry, context);\n return node.withName(\"member\");\n });\n};\nconst se_SourceSelectionCriteria = (input, context) => {\n const bodyNode = new __XmlNode(\"SourceSelectionCriteria\");\n if (input.SseKmsEncryptedObjects != null) {\n const node = se_SseKmsEncryptedObjects(input.SseKmsEncryptedObjects, context).withName(\"SseKmsEncryptedObjects\");\n bodyNode.addChildNode(node);\n }\n if (input.ReplicaModifications != null) {\n const node = se_ReplicaModifications(input.ReplicaModifications, context).withName(\"ReplicaModifications\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_SSEKMS = (input, context) => {\n const bodyNode = new __XmlNode(\"SSE-KMS\");\n if (input.KeyId != null) {\n const node = __XmlNode.of(\"SSEKMSKeyId\", input.KeyId).withName(\"KeyId\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_SseKmsEncryptedObjects = (input, context) => {\n const bodyNode = new __XmlNode(\"SseKmsEncryptedObjects\");\n if (input.Status != null) {\n const node = __XmlNode.of(\"SseKmsEncryptedObjectsStatus\", input.Status).withName(\"Status\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_SSES3 = (input, context) => {\n const bodyNode = new __XmlNode(\"SSE-S3\");\n return bodyNode;\n};\nconst se_StorageClassAnalysis = (input, context) => {\n const bodyNode = new __XmlNode(\"StorageClassAnalysis\");\n if (input.DataExport != null) {\n const node = se_StorageClassAnalysisDataExport(input.DataExport, context).withName(\"DataExport\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_StorageClassAnalysisDataExport = (input, context) => {\n const bodyNode = new __XmlNode(\"StorageClassAnalysisDataExport\");\n if (input.OutputSchemaVersion != null) {\n const node = __XmlNode\n .of(\"StorageClassAnalysisSchemaVersion\", input.OutputSchemaVersion)\n .withName(\"OutputSchemaVersion\");\n bodyNode.addChildNode(node);\n }\n if (input.Destination != null) {\n const node = se_AnalyticsExportDestination(input.Destination, context).withName(\"Destination\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_Tag = (input, context) => {\n const bodyNode = new __XmlNode(\"Tag\");\n if (input.Key != null) {\n const node = __XmlNode.of(\"ObjectKey\", input.Key).withName(\"Key\");\n bodyNode.addChildNode(node);\n }\n if (input.Value != null) {\n const node = __XmlNode.of(\"Value\", input.Value).withName(\"Value\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_Tagging = (input, context) => {\n const bodyNode = new __XmlNode(\"Tagging\");\n if (input.TagSet != null) {\n const nodes = se_TagSet(input.TagSet, context);\n const containerNode = new __XmlNode(\"TagSet\");\n nodes.map((node) => {\n containerNode.addChildNode(node);\n });\n bodyNode.addChildNode(containerNode);\n }\n return bodyNode;\n};\nconst se_TagSet = (input, context) => {\n return input\n .filter((e) => e != null)\n .map((entry) => {\n const node = se_Tag(entry, context);\n return node.withName(\"Tag\");\n });\n};\nconst se_TargetGrant = (input, context) => {\n const bodyNode = new __XmlNode(\"TargetGrant\");\n if (input.Grantee != null) {\n const node = se_Grantee(input.Grantee, context).withName(\"Grantee\");\n node.addAttribute(\"xmlns:xsi\", \"http://www.w3.org/2001/XMLSchema-instance\");\n bodyNode.addChildNode(node);\n }\n if (input.Permission != null) {\n const node = __XmlNode.of(\"BucketLogsPermission\", input.Permission).withName(\"Permission\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_TargetGrants = (input, context) => {\n return input\n .filter((e) => e != null)\n .map((entry) => {\n const node = se_TargetGrant(entry, context);\n return node.withName(\"Grant\");\n });\n};\nconst se_Tiering = (input, context) => {\n const bodyNode = new __XmlNode(\"Tiering\");\n if (input.Days != null) {\n const node = __XmlNode.of(\"IntelligentTieringDays\", String(input.Days)).withName(\"Days\");\n bodyNode.addChildNode(node);\n }\n if (input.AccessTier != null) {\n const node = __XmlNode.of(\"IntelligentTieringAccessTier\", input.AccessTier).withName(\"AccessTier\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_TieringList = (input, context) => {\n return input\n .filter((e) => e != null)\n .map((entry) => {\n const node = se_Tiering(entry, context);\n return node.withName(\"member\");\n });\n};\nconst se_TopicConfiguration = (input, context) => {\n const bodyNode = new __XmlNode(\"TopicConfiguration\");\n if (input.Id != null) {\n const node = __XmlNode.of(\"NotificationId\", input.Id).withName(\"Id\");\n bodyNode.addChildNode(node);\n }\n if (input.TopicArn != null) {\n const node = __XmlNode.of(\"TopicArn\", input.TopicArn).withName(\"Topic\");\n bodyNode.addChildNode(node);\n }\n if (input.Events != null) {\n const nodes = se_EventList(input.Events, context);\n nodes.map((node) => {\n node = node.withName(\"Event\");\n bodyNode.addChildNode(node);\n });\n }\n if (input.Filter != null) {\n const node = se_NotificationConfigurationFilter(input.Filter, context).withName(\"Filter\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_TopicConfigurationList = (input, context) => {\n return input\n .filter((e) => e != null)\n .map((entry) => {\n const node = se_TopicConfiguration(entry, context);\n return node.withName(\"member\");\n });\n};\nconst se_Transition = (input, context) => {\n const bodyNode = new __XmlNode(\"Transition\");\n if (input.Date != null) {\n const node = __XmlNode.of(\"Date\", (input.Date.toISOString().split(\".\")[0] + \"Z\").toString()).withName(\"Date\");\n bodyNode.addChildNode(node);\n }\n if (input.Days != null) {\n const node = __XmlNode.of(\"Days\", String(input.Days)).withName(\"Days\");\n bodyNode.addChildNode(node);\n }\n if (input.StorageClass != null) {\n const node = __XmlNode.of(\"TransitionStorageClass\", input.StorageClass).withName(\"StorageClass\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_TransitionList = (input, context) => {\n return input\n .filter((e) => e != null)\n .map((entry) => {\n const node = se_Transition(entry, context);\n return node.withName(\"member\");\n });\n};\nconst se_UserMetadata = (input, context) => {\n return input\n .filter((e) => e != null)\n .map((entry) => {\n const node = se_MetadataEntry(entry, context);\n return node.withName(\"MetadataEntry\");\n });\n};\nconst se_VersioningConfiguration = (input, context) => {\n const bodyNode = new __XmlNode(\"VersioningConfiguration\");\n if (input.MFADelete != null) {\n const node = __XmlNode.of(\"MFADelete\", input.MFADelete).withName(\"MfaDelete\");\n bodyNode.addChildNode(node);\n }\n if (input.Status != null) {\n const node = __XmlNode.of(\"BucketVersioningStatus\", input.Status).withName(\"Status\");\n bodyNode.addChildNode(node);\n }\n return bodyNode;\n};\nconst se_WebsiteConfiguration = (input, context) => {\n const bodyNode = new __XmlNode(\"WebsiteConfiguration\");\n if (input.ErrorDocument != null) {\n const node = se_ErrorDocument(input.ErrorDocument, context).withName(\"ErrorDocument\");\n bodyNode.addChildNode(node);\n }\n if (input.IndexDocument != null) {\n const node = se_IndexDocument(input.IndexDocument, context).withName(\"IndexDocument\");\n bodyNode.addChildNode(node);\n }\n if (input.RedirectAllRequestsTo != null) {\n const node = se_RedirectAllRequestsTo(input.RedirectAllRequestsTo, context).withName(\"RedirectAllRequestsTo\");\n bodyNode.addChildNode(node);\n }\n if (input.RoutingRules != null) {\n const nodes = se_RoutingRules(input.RoutingRules, context);\n const containerNode = new __XmlNode(\"RoutingRules\");\n nodes.map((node) => {\n containerNode.addChildNode(node);\n });\n bodyNode.addChildNode(containerNode);\n }\n return bodyNode;\n};\nconst de_AbortIncompleteMultipartUpload = (output, context) => {\n const contents = {};\n if (output[\"DaysAfterInitiation\"] !== undefined) {\n contents.DaysAfterInitiation = __strictParseInt32(output[\"DaysAfterInitiation\"]);\n }\n return contents;\n};\nconst de_AccessControlTranslation = (output, context) => {\n const contents = {};\n if (output[\"Owner\"] !== undefined) {\n contents.Owner = __expectString(output[\"Owner\"]);\n }\n return contents;\n};\nconst de_AllowedHeaders = (output, context) => {\n return (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n return __expectString(entry);\n });\n};\nconst de_AllowedMethods = (output, context) => {\n return (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n return __expectString(entry);\n });\n};\nconst de_AllowedOrigins = (output, context) => {\n return (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n return __expectString(entry);\n });\n};\nconst de_AnalyticsAndOperator = (output, context) => {\n const contents = {};\n if (output[\"Prefix\"] !== undefined) {\n contents.Prefix = __expectString(output[\"Prefix\"]);\n }\n if (output.Tag === \"\") {\n contents.Tags = [];\n }\n else if (output[\"Tag\"] !== undefined) {\n contents.Tags = de_TagSet(__getArrayIfSingleItem(output[\"Tag\"]), context);\n }\n return contents;\n};\nconst de_AnalyticsConfiguration = (output, context) => {\n const contents = {};\n if (output[\"Id\"] !== undefined) {\n contents.Id = __expectString(output[\"Id\"]);\n }\n if (output.Filter === \"\") {\n }\n else if (output[\"Filter\"] !== undefined) {\n contents.Filter = de_AnalyticsFilter(__expectUnion(output[\"Filter\"]), context);\n }\n if (output[\"StorageClassAnalysis\"] !== undefined) {\n contents.StorageClassAnalysis = de_StorageClassAnalysis(output[\"StorageClassAnalysis\"], context);\n }\n return contents;\n};\nconst de_AnalyticsConfigurationList = (output, context) => {\n return (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n return de_AnalyticsConfiguration(entry, context);\n });\n};\nconst de_AnalyticsExportDestination = (output, context) => {\n const contents = {};\n if (output[\"S3BucketDestination\"] !== undefined) {\n contents.S3BucketDestination = de_AnalyticsS3BucketDestination(output[\"S3BucketDestination\"], context);\n }\n return contents;\n};\nconst de_AnalyticsFilter = (output, context) => {\n if (output[\"Prefix\"] !== undefined) {\n return {\n Prefix: __expectString(output[\"Prefix\"]),\n };\n }\n if (output[\"Tag\"] !== undefined) {\n return {\n Tag: de_Tag(output[\"Tag\"], context),\n };\n }\n if (output[\"And\"] !== undefined) {\n return {\n And: de_AnalyticsAndOperator(output[\"And\"], context),\n };\n }\n return { $unknown: Object.entries(output)[0] };\n};\nconst de_AnalyticsS3BucketDestination = (output, context) => {\n const contents = {};\n if (output[\"Format\"] !== undefined) {\n contents.Format = __expectString(output[\"Format\"]);\n }\n if (output[\"BucketAccountId\"] !== undefined) {\n contents.BucketAccountId = __expectString(output[\"BucketAccountId\"]);\n }\n if (output[\"Bucket\"] !== undefined) {\n contents.Bucket = __expectString(output[\"Bucket\"]);\n }\n if (output[\"Prefix\"] !== undefined) {\n contents.Prefix = __expectString(output[\"Prefix\"]);\n }\n return contents;\n};\nconst de_Bucket = (output, context) => {\n const contents = {};\n if (output[\"Name\"] !== undefined) {\n contents.Name = __expectString(output[\"Name\"]);\n }\n if (output[\"CreationDate\"] !== undefined) {\n contents.CreationDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[\"CreationDate\"]));\n }\n return contents;\n};\nconst de_Buckets = (output, context) => {\n return (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n return de_Bucket(entry, context);\n });\n};\nconst de_Checksum = (output, context) => {\n const contents = {};\n if (output[\"ChecksumCRC32\"] !== undefined) {\n contents.ChecksumCRC32 = __expectString(output[\"ChecksumCRC32\"]);\n }\n if (output[\"ChecksumCRC32C\"] !== undefined) {\n contents.ChecksumCRC32C = __expectString(output[\"ChecksumCRC32C\"]);\n }\n if (output[\"ChecksumSHA1\"] !== undefined) {\n contents.ChecksumSHA1 = __expectString(output[\"ChecksumSHA1\"]);\n }\n if (output[\"ChecksumSHA256\"] !== undefined) {\n contents.ChecksumSHA256 = __expectString(output[\"ChecksumSHA256\"]);\n }\n return contents;\n};\nconst de_ChecksumAlgorithmList = (output, context) => {\n return (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n return __expectString(entry);\n });\n};\nconst de_CommonPrefix = (output, context) => {\n const contents = {};\n if (output[\"Prefix\"] !== undefined) {\n contents.Prefix = __expectString(output[\"Prefix\"]);\n }\n return contents;\n};\nconst de_CommonPrefixList = (output, context) => {\n return (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n return de_CommonPrefix(entry, context);\n });\n};\nconst de_Condition = (output, context) => {\n const contents = {};\n if (output[\"HttpErrorCodeReturnedEquals\"] !== undefined) {\n contents.HttpErrorCodeReturnedEquals = __expectString(output[\"HttpErrorCodeReturnedEquals\"]);\n }\n if (output[\"KeyPrefixEquals\"] !== undefined) {\n contents.KeyPrefixEquals = __expectString(output[\"KeyPrefixEquals\"]);\n }\n return contents;\n};\nconst de_ContinuationEvent = (output, context) => {\n const contents = {};\n return contents;\n};\nconst de_CopyObjectResult = (output, context) => {\n const contents = {};\n if (output[\"ETag\"] !== undefined) {\n contents.ETag = __expectString(output[\"ETag\"]);\n }\n if (output[\"LastModified\"] !== undefined) {\n contents.LastModified = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[\"LastModified\"]));\n }\n if (output[\"ChecksumCRC32\"] !== undefined) {\n contents.ChecksumCRC32 = __expectString(output[\"ChecksumCRC32\"]);\n }\n if (output[\"ChecksumCRC32C\"] !== undefined) {\n contents.ChecksumCRC32C = __expectString(output[\"ChecksumCRC32C\"]);\n }\n if (output[\"ChecksumSHA1\"] !== undefined) {\n contents.ChecksumSHA1 = __expectString(output[\"ChecksumSHA1\"]);\n }\n if (output[\"ChecksumSHA256\"] !== undefined) {\n contents.ChecksumSHA256 = __expectString(output[\"ChecksumSHA256\"]);\n }\n return contents;\n};\nconst de_CopyPartResult = (output, context) => {\n const contents = {};\n if (output[\"ETag\"] !== undefined) {\n contents.ETag = __expectString(output[\"ETag\"]);\n }\n if (output[\"LastModified\"] !== undefined) {\n contents.LastModified = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[\"LastModified\"]));\n }\n if (output[\"ChecksumCRC32\"] !== undefined) {\n contents.ChecksumCRC32 = __expectString(output[\"ChecksumCRC32\"]);\n }\n if (output[\"ChecksumCRC32C\"] !== undefined) {\n contents.ChecksumCRC32C = __expectString(output[\"ChecksumCRC32C\"]);\n }\n if (output[\"ChecksumSHA1\"] !== undefined) {\n contents.ChecksumSHA1 = __expectString(output[\"ChecksumSHA1\"]);\n }\n if (output[\"ChecksumSHA256\"] !== undefined) {\n contents.ChecksumSHA256 = __expectString(output[\"ChecksumSHA256\"]);\n }\n return contents;\n};\nconst de_CORSRule = (output, context) => {\n const contents = {};\n if (output[\"ID\"] !== undefined) {\n contents.ID = __expectString(output[\"ID\"]);\n }\n if (output.AllowedHeader === \"\") {\n contents.AllowedHeaders = [];\n }\n else if (output[\"AllowedHeader\"] !== undefined) {\n contents.AllowedHeaders = de_AllowedHeaders(__getArrayIfSingleItem(output[\"AllowedHeader\"]), context);\n }\n if (output.AllowedMethod === \"\") {\n contents.AllowedMethods = [];\n }\n else if (output[\"AllowedMethod\"] !== undefined) {\n contents.AllowedMethods = de_AllowedMethods(__getArrayIfSingleItem(output[\"AllowedMethod\"]), context);\n }\n if (output.AllowedOrigin === \"\") {\n contents.AllowedOrigins = [];\n }\n else if (output[\"AllowedOrigin\"] !== undefined) {\n contents.AllowedOrigins = de_AllowedOrigins(__getArrayIfSingleItem(output[\"AllowedOrigin\"]), context);\n }\n if (output.ExposeHeader === \"\") {\n contents.ExposeHeaders = [];\n }\n else if (output[\"ExposeHeader\"] !== undefined) {\n contents.ExposeHeaders = de_ExposeHeaders(__getArrayIfSingleItem(output[\"ExposeHeader\"]), context);\n }\n if (output[\"MaxAgeSeconds\"] !== undefined) {\n contents.MaxAgeSeconds = __strictParseInt32(output[\"MaxAgeSeconds\"]);\n }\n return contents;\n};\nconst de_CORSRules = (output, context) => {\n return (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n return de_CORSRule(entry, context);\n });\n};\nconst de_DefaultRetention = (output, context) => {\n const contents = {};\n if (output[\"Mode\"] !== undefined) {\n contents.Mode = __expectString(output[\"Mode\"]);\n }\n if (output[\"Days\"] !== undefined) {\n contents.Days = __strictParseInt32(output[\"Days\"]);\n }\n if (output[\"Years\"] !== undefined) {\n contents.Years = __strictParseInt32(output[\"Years\"]);\n }\n return contents;\n};\nconst de_DeletedObject = (output, context) => {\n const contents = {};\n if (output[\"Key\"] !== undefined) {\n contents.Key = __expectString(output[\"Key\"]);\n }\n if (output[\"VersionId\"] !== undefined) {\n contents.VersionId = __expectString(output[\"VersionId\"]);\n }\n if (output[\"DeleteMarker\"] !== undefined) {\n contents.DeleteMarker = __parseBoolean(output[\"DeleteMarker\"]);\n }\n if (output[\"DeleteMarkerVersionId\"] !== undefined) {\n contents.DeleteMarkerVersionId = __expectString(output[\"DeleteMarkerVersionId\"]);\n }\n return contents;\n};\nconst de_DeletedObjects = (output, context) => {\n return (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n return de_DeletedObject(entry, context);\n });\n};\nconst de_DeleteMarkerEntry = (output, context) => {\n const contents = {};\n if (output[\"Owner\"] !== undefined) {\n contents.Owner = de_Owner(output[\"Owner\"], context);\n }\n if (output[\"Key\"] !== undefined) {\n contents.Key = __expectString(output[\"Key\"]);\n }\n if (output[\"VersionId\"] !== undefined) {\n contents.VersionId = __expectString(output[\"VersionId\"]);\n }\n if (output[\"IsLatest\"] !== undefined) {\n contents.IsLatest = __parseBoolean(output[\"IsLatest\"]);\n }\n if (output[\"LastModified\"] !== undefined) {\n contents.LastModified = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[\"LastModified\"]));\n }\n return contents;\n};\nconst de_DeleteMarkerReplication = (output, context) => {\n const contents = {};\n if (output[\"Status\"] !== undefined) {\n contents.Status = __expectString(output[\"Status\"]);\n }\n return contents;\n};\nconst de_DeleteMarkers = (output, context) => {\n return (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n return de_DeleteMarkerEntry(entry, context);\n });\n};\nconst de_Destination = (output, context) => {\n const contents = {};\n if (output[\"Bucket\"] !== undefined) {\n contents.Bucket = __expectString(output[\"Bucket\"]);\n }\n if (output[\"Account\"] !== undefined) {\n contents.Account = __expectString(output[\"Account\"]);\n }\n if (output[\"StorageClass\"] !== undefined) {\n contents.StorageClass = __expectString(output[\"StorageClass\"]);\n }\n if (output[\"AccessControlTranslation\"] !== undefined) {\n contents.AccessControlTranslation = de_AccessControlTranslation(output[\"AccessControlTranslation\"], context);\n }\n if (output[\"EncryptionConfiguration\"] !== undefined) {\n contents.EncryptionConfiguration = de_EncryptionConfiguration(output[\"EncryptionConfiguration\"], context);\n }\n if (output[\"ReplicationTime\"] !== undefined) {\n contents.ReplicationTime = de_ReplicationTime(output[\"ReplicationTime\"], context);\n }\n if (output[\"Metrics\"] !== undefined) {\n contents.Metrics = de_Metrics(output[\"Metrics\"], context);\n }\n return contents;\n};\nconst de_EncryptionConfiguration = (output, context) => {\n const contents = {};\n if (output[\"ReplicaKmsKeyID\"] !== undefined) {\n contents.ReplicaKmsKeyID = __expectString(output[\"ReplicaKmsKeyID\"]);\n }\n return contents;\n};\nconst de_EndEvent = (output, context) => {\n const contents = {};\n return contents;\n};\nconst de__Error = (output, context) => {\n const contents = {};\n if (output[\"Key\"] !== undefined) {\n contents.Key = __expectString(output[\"Key\"]);\n }\n if (output[\"VersionId\"] !== undefined) {\n contents.VersionId = __expectString(output[\"VersionId\"]);\n }\n if (output[\"Code\"] !== undefined) {\n contents.Code = __expectString(output[\"Code\"]);\n }\n if (output[\"Message\"] !== undefined) {\n contents.Message = __expectString(output[\"Message\"]);\n }\n return contents;\n};\nconst de_ErrorDocument = (output, context) => {\n const contents = {};\n if (output[\"Key\"] !== undefined) {\n contents.Key = __expectString(output[\"Key\"]);\n }\n return contents;\n};\nconst de_Errors = (output, context) => {\n return (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n return de__Error(entry, context);\n });\n};\nconst de_EventBridgeConfiguration = (output, context) => {\n const contents = {};\n return contents;\n};\nconst de_EventList = (output, context) => {\n return (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n return __expectString(entry);\n });\n};\nconst de_ExistingObjectReplication = (output, context) => {\n const contents = {};\n if (output[\"Status\"] !== undefined) {\n contents.Status = __expectString(output[\"Status\"]);\n }\n return contents;\n};\nconst de_ExposeHeaders = (output, context) => {\n return (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n return __expectString(entry);\n });\n};\nconst de_FilterRule = (output, context) => {\n const contents = {};\n if (output[\"Name\"] !== undefined) {\n contents.Name = __expectString(output[\"Name\"]);\n }\n if (output[\"Value\"] !== undefined) {\n contents.Value = __expectString(output[\"Value\"]);\n }\n return contents;\n};\nconst de_FilterRuleList = (output, context) => {\n return (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n return de_FilterRule(entry, context);\n });\n};\nconst de_GetObjectAttributesParts = (output, context) => {\n const contents = {};\n if (output[\"PartsCount\"] !== undefined) {\n contents.TotalPartsCount = __strictParseInt32(output[\"PartsCount\"]);\n }\n if (output[\"PartNumberMarker\"] !== undefined) {\n contents.PartNumberMarker = __expectString(output[\"PartNumberMarker\"]);\n }\n if (output[\"NextPartNumberMarker\"] !== undefined) {\n contents.NextPartNumberMarker = __expectString(output[\"NextPartNumberMarker\"]);\n }\n if (output[\"MaxParts\"] !== undefined) {\n contents.MaxParts = __strictParseInt32(output[\"MaxParts\"]);\n }\n if (output[\"IsTruncated\"] !== undefined) {\n contents.IsTruncated = __parseBoolean(output[\"IsTruncated\"]);\n }\n if (output.Part === \"\") {\n contents.Parts = [];\n }\n else if (output[\"Part\"] !== undefined) {\n contents.Parts = de_PartsList(__getArrayIfSingleItem(output[\"Part\"]), context);\n }\n return contents;\n};\nconst de_Grant = (output, context) => {\n const contents = {};\n if (output[\"Grantee\"] !== undefined) {\n contents.Grantee = de_Grantee(output[\"Grantee\"], context);\n }\n if (output[\"Permission\"] !== undefined) {\n contents.Permission = __expectString(output[\"Permission\"]);\n }\n return contents;\n};\nconst de_Grantee = (output, context) => {\n const contents = {};\n if (output[\"DisplayName\"] !== undefined) {\n contents.DisplayName = __expectString(output[\"DisplayName\"]);\n }\n if (output[\"EmailAddress\"] !== undefined) {\n contents.EmailAddress = __expectString(output[\"EmailAddress\"]);\n }\n if (output[\"ID\"] !== undefined) {\n contents.ID = __expectString(output[\"ID\"]);\n }\n if (output[\"URI\"] !== undefined) {\n contents.URI = __expectString(output[\"URI\"]);\n }\n if (output[\"xsi:type\"] !== undefined) {\n contents.Type = __expectString(output[\"xsi:type\"]);\n }\n return contents;\n};\nconst de_Grants = (output, context) => {\n return (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n return de_Grant(entry, context);\n });\n};\nconst de_IndexDocument = (output, context) => {\n const contents = {};\n if (output[\"Suffix\"] !== undefined) {\n contents.Suffix = __expectString(output[\"Suffix\"]);\n }\n return contents;\n};\nconst de_Initiator = (output, context) => {\n const contents = {};\n if (output[\"ID\"] !== undefined) {\n contents.ID = __expectString(output[\"ID\"]);\n }\n if (output[\"DisplayName\"] !== undefined) {\n contents.DisplayName = __expectString(output[\"DisplayName\"]);\n }\n return contents;\n};\nconst de_IntelligentTieringAndOperator = (output, context) => {\n const contents = {};\n if (output[\"Prefix\"] !== undefined) {\n contents.Prefix = __expectString(output[\"Prefix\"]);\n }\n if (output.Tag === \"\") {\n contents.Tags = [];\n }\n else if (output[\"Tag\"] !== undefined) {\n contents.Tags = de_TagSet(__getArrayIfSingleItem(output[\"Tag\"]), context);\n }\n return contents;\n};\nconst de_IntelligentTieringConfiguration = (output, context) => {\n const contents = {};\n if (output[\"Id\"] !== undefined) {\n contents.Id = __expectString(output[\"Id\"]);\n }\n if (output[\"Filter\"] !== undefined) {\n contents.Filter = de_IntelligentTieringFilter(output[\"Filter\"], context);\n }\n if (output[\"Status\"] !== undefined) {\n contents.Status = __expectString(output[\"Status\"]);\n }\n if (output.Tiering === \"\") {\n contents.Tierings = [];\n }\n else if (output[\"Tiering\"] !== undefined) {\n contents.Tierings = de_TieringList(__getArrayIfSingleItem(output[\"Tiering\"]), context);\n }\n return contents;\n};\nconst de_IntelligentTieringConfigurationList = (output, context) => {\n return (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n return de_IntelligentTieringConfiguration(entry, context);\n });\n};\nconst de_IntelligentTieringFilter = (output, context) => {\n const contents = {};\n if (output[\"Prefix\"] !== undefined) {\n contents.Prefix = __expectString(output[\"Prefix\"]);\n }\n if (output[\"Tag\"] !== undefined) {\n contents.Tag = de_Tag(output[\"Tag\"], context);\n }\n if (output[\"And\"] !== undefined) {\n contents.And = de_IntelligentTieringAndOperator(output[\"And\"], context);\n }\n return contents;\n};\nconst de_InventoryConfiguration = (output, context) => {\n const contents = {};\n if (output[\"Destination\"] !== undefined) {\n contents.Destination = de_InventoryDestination(output[\"Destination\"], context);\n }\n if (output[\"IsEnabled\"] !== undefined) {\n contents.IsEnabled = __parseBoolean(output[\"IsEnabled\"]);\n }\n if (output[\"Filter\"] !== undefined) {\n contents.Filter = de_InventoryFilter(output[\"Filter\"], context);\n }\n if (output[\"Id\"] !== undefined) {\n contents.Id = __expectString(output[\"Id\"]);\n }\n if (output[\"IncludedObjectVersions\"] !== undefined) {\n contents.IncludedObjectVersions = __expectString(output[\"IncludedObjectVersions\"]);\n }\n if (output.OptionalFields === \"\") {\n contents.OptionalFields = [];\n }\n else if (output[\"OptionalFields\"] !== undefined && output[\"OptionalFields\"][\"Field\"] !== undefined) {\n contents.OptionalFields = de_InventoryOptionalFields(__getArrayIfSingleItem(output[\"OptionalFields\"][\"Field\"]), context);\n }\n if (output[\"Schedule\"] !== undefined) {\n contents.Schedule = de_InventorySchedule(output[\"Schedule\"], context);\n }\n return contents;\n};\nconst de_InventoryConfigurationList = (output, context) => {\n return (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n return de_InventoryConfiguration(entry, context);\n });\n};\nconst de_InventoryDestination = (output, context) => {\n const contents = {};\n if (output[\"S3BucketDestination\"] !== undefined) {\n contents.S3BucketDestination = de_InventoryS3BucketDestination(output[\"S3BucketDestination\"], context);\n }\n return contents;\n};\nconst de_InventoryEncryption = (output, context) => {\n const contents = {};\n if (output[\"SSE-S3\"] !== undefined) {\n contents.SSES3 = de_SSES3(output[\"SSE-S3\"], context);\n }\n if (output[\"SSE-KMS\"] !== undefined) {\n contents.SSEKMS = de_SSEKMS(output[\"SSE-KMS\"], context);\n }\n return contents;\n};\nconst de_InventoryFilter = (output, context) => {\n const contents = {};\n if (output[\"Prefix\"] !== undefined) {\n contents.Prefix = __expectString(output[\"Prefix\"]);\n }\n return contents;\n};\nconst de_InventoryOptionalFields = (output, context) => {\n return (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n return __expectString(entry);\n });\n};\nconst de_InventoryS3BucketDestination = (output, context) => {\n const contents = {};\n if (output[\"AccountId\"] !== undefined) {\n contents.AccountId = __expectString(output[\"AccountId\"]);\n }\n if (output[\"Bucket\"] !== undefined) {\n contents.Bucket = __expectString(output[\"Bucket\"]);\n }\n if (output[\"Format\"] !== undefined) {\n contents.Format = __expectString(output[\"Format\"]);\n }\n if (output[\"Prefix\"] !== undefined) {\n contents.Prefix = __expectString(output[\"Prefix\"]);\n }\n if (output[\"Encryption\"] !== undefined) {\n contents.Encryption = de_InventoryEncryption(output[\"Encryption\"], context);\n }\n return contents;\n};\nconst de_InventorySchedule = (output, context) => {\n const contents = {};\n if (output[\"Frequency\"] !== undefined) {\n contents.Frequency = __expectString(output[\"Frequency\"]);\n }\n return contents;\n};\nconst de_LambdaFunctionConfiguration = (output, context) => {\n const contents = {};\n if (output[\"Id\"] !== undefined) {\n contents.Id = __expectString(output[\"Id\"]);\n }\n if (output[\"CloudFunction\"] !== undefined) {\n contents.LambdaFunctionArn = __expectString(output[\"CloudFunction\"]);\n }\n if (output.Event === \"\") {\n contents.Events = [];\n }\n else if (output[\"Event\"] !== undefined) {\n contents.Events = de_EventList(__getArrayIfSingleItem(output[\"Event\"]), context);\n }\n if (output[\"Filter\"] !== undefined) {\n contents.Filter = de_NotificationConfigurationFilter(output[\"Filter\"], context);\n }\n return contents;\n};\nconst de_LambdaFunctionConfigurationList = (output, context) => {\n return (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n return de_LambdaFunctionConfiguration(entry, context);\n });\n};\nconst de_LifecycleExpiration = (output, context) => {\n const contents = {};\n if (output[\"Date\"] !== undefined) {\n contents.Date = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[\"Date\"]));\n }\n if (output[\"Days\"] !== undefined) {\n contents.Days = __strictParseInt32(output[\"Days\"]);\n }\n if (output[\"ExpiredObjectDeleteMarker\"] !== undefined) {\n contents.ExpiredObjectDeleteMarker = __parseBoolean(output[\"ExpiredObjectDeleteMarker\"]);\n }\n return contents;\n};\nconst de_LifecycleRule = (output, context) => {\n const contents = {};\n if (output[\"Expiration\"] !== undefined) {\n contents.Expiration = de_LifecycleExpiration(output[\"Expiration\"], context);\n }\n if (output[\"ID\"] !== undefined) {\n contents.ID = __expectString(output[\"ID\"]);\n }\n if (output[\"Prefix\"] !== undefined) {\n contents.Prefix = __expectString(output[\"Prefix\"]);\n }\n if (output.Filter === \"\") {\n }\n else if (output[\"Filter\"] !== undefined) {\n contents.Filter = de_LifecycleRuleFilter(__expectUnion(output[\"Filter\"]), context);\n }\n if (output[\"Status\"] !== undefined) {\n contents.Status = __expectString(output[\"Status\"]);\n }\n if (output.Transition === \"\") {\n contents.Transitions = [];\n }\n else if (output[\"Transition\"] !== undefined) {\n contents.Transitions = de_TransitionList(__getArrayIfSingleItem(output[\"Transition\"]), context);\n }\n if (output.NoncurrentVersionTransition === \"\") {\n contents.NoncurrentVersionTransitions = [];\n }\n else if (output[\"NoncurrentVersionTransition\"] !== undefined) {\n contents.NoncurrentVersionTransitions = de_NoncurrentVersionTransitionList(__getArrayIfSingleItem(output[\"NoncurrentVersionTransition\"]), context);\n }\n if (output[\"NoncurrentVersionExpiration\"] !== undefined) {\n contents.NoncurrentVersionExpiration = de_NoncurrentVersionExpiration(output[\"NoncurrentVersionExpiration\"], context);\n }\n if (output[\"AbortIncompleteMultipartUpload\"] !== undefined) {\n contents.AbortIncompleteMultipartUpload = de_AbortIncompleteMultipartUpload(output[\"AbortIncompleteMultipartUpload\"], context);\n }\n return contents;\n};\nconst de_LifecycleRuleAndOperator = (output, context) => {\n const contents = {};\n if (output[\"Prefix\"] !== undefined) {\n contents.Prefix = __expectString(output[\"Prefix\"]);\n }\n if (output.Tag === \"\") {\n contents.Tags = [];\n }\n else if (output[\"Tag\"] !== undefined) {\n contents.Tags = de_TagSet(__getArrayIfSingleItem(output[\"Tag\"]), context);\n }\n if (output[\"ObjectSizeGreaterThan\"] !== undefined) {\n contents.ObjectSizeGreaterThan = __strictParseLong(output[\"ObjectSizeGreaterThan\"]);\n }\n if (output[\"ObjectSizeLessThan\"] !== undefined) {\n contents.ObjectSizeLessThan = __strictParseLong(output[\"ObjectSizeLessThan\"]);\n }\n return contents;\n};\nconst de_LifecycleRuleFilter = (output, context) => {\n if (output[\"Prefix\"] !== undefined) {\n return {\n Prefix: __expectString(output[\"Prefix\"]),\n };\n }\n if (output[\"Tag\"] !== undefined) {\n return {\n Tag: de_Tag(output[\"Tag\"], context),\n };\n }\n if (output[\"ObjectSizeGreaterThan\"] !== undefined) {\n return {\n ObjectSizeGreaterThan: __strictParseLong(output[\"ObjectSizeGreaterThan\"]),\n };\n }\n if (output[\"ObjectSizeLessThan\"] !== undefined) {\n return {\n ObjectSizeLessThan: __strictParseLong(output[\"ObjectSizeLessThan\"]),\n };\n }\n if (output[\"And\"] !== undefined) {\n return {\n And: de_LifecycleRuleAndOperator(output[\"And\"], context),\n };\n }\n return { $unknown: Object.entries(output)[0] };\n};\nconst de_LifecycleRules = (output, context) => {\n return (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n return de_LifecycleRule(entry, context);\n });\n};\nconst de_LoggingEnabled = (output, context) => {\n const contents = {};\n if (output[\"TargetBucket\"] !== undefined) {\n contents.TargetBucket = __expectString(output[\"TargetBucket\"]);\n }\n if (output.TargetGrants === \"\") {\n contents.TargetGrants = [];\n }\n else if (output[\"TargetGrants\"] !== undefined && output[\"TargetGrants\"][\"Grant\"] !== undefined) {\n contents.TargetGrants = de_TargetGrants(__getArrayIfSingleItem(output[\"TargetGrants\"][\"Grant\"]), context);\n }\n if (output[\"TargetPrefix\"] !== undefined) {\n contents.TargetPrefix = __expectString(output[\"TargetPrefix\"]);\n }\n return contents;\n};\nconst de_Metrics = (output, context) => {\n const contents = {};\n if (output[\"Status\"] !== undefined) {\n contents.Status = __expectString(output[\"Status\"]);\n }\n if (output[\"EventThreshold\"] !== undefined) {\n contents.EventThreshold = de_ReplicationTimeValue(output[\"EventThreshold\"], context);\n }\n return contents;\n};\nconst de_MetricsAndOperator = (output, context) => {\n const contents = {};\n if (output[\"Prefix\"] !== undefined) {\n contents.Prefix = __expectString(output[\"Prefix\"]);\n }\n if (output.Tag === \"\") {\n contents.Tags = [];\n }\n else if (output[\"Tag\"] !== undefined) {\n contents.Tags = de_TagSet(__getArrayIfSingleItem(output[\"Tag\"]), context);\n }\n if (output[\"AccessPointArn\"] !== undefined) {\n contents.AccessPointArn = __expectString(output[\"AccessPointArn\"]);\n }\n return contents;\n};\nconst de_MetricsConfiguration = (output, context) => {\n const contents = {};\n if (output[\"Id\"] !== undefined) {\n contents.Id = __expectString(output[\"Id\"]);\n }\n if (output.Filter === \"\") {\n }\n else if (output[\"Filter\"] !== undefined) {\n contents.Filter = de_MetricsFilter(__expectUnion(output[\"Filter\"]), context);\n }\n return contents;\n};\nconst de_MetricsConfigurationList = (output, context) => {\n return (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n return de_MetricsConfiguration(entry, context);\n });\n};\nconst de_MetricsFilter = (output, context) => {\n if (output[\"Prefix\"] !== undefined) {\n return {\n Prefix: __expectString(output[\"Prefix\"]),\n };\n }\n if (output[\"Tag\"] !== undefined) {\n return {\n Tag: de_Tag(output[\"Tag\"], context),\n };\n }\n if (output[\"AccessPointArn\"] !== undefined) {\n return {\n AccessPointArn: __expectString(output[\"AccessPointArn\"]),\n };\n }\n if (output[\"And\"] !== undefined) {\n return {\n And: de_MetricsAndOperator(output[\"And\"], context),\n };\n }\n return { $unknown: Object.entries(output)[0] };\n};\nconst de_MultipartUpload = (output, context) => {\n const contents = {};\n if (output[\"UploadId\"] !== undefined) {\n contents.UploadId = __expectString(output[\"UploadId\"]);\n }\n if (output[\"Key\"] !== undefined) {\n contents.Key = __expectString(output[\"Key\"]);\n }\n if (output[\"Initiated\"] !== undefined) {\n contents.Initiated = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[\"Initiated\"]));\n }\n if (output[\"StorageClass\"] !== undefined) {\n contents.StorageClass = __expectString(output[\"StorageClass\"]);\n }\n if (output[\"Owner\"] !== undefined) {\n contents.Owner = de_Owner(output[\"Owner\"], context);\n }\n if (output[\"Initiator\"] !== undefined) {\n contents.Initiator = de_Initiator(output[\"Initiator\"], context);\n }\n if (output[\"ChecksumAlgorithm\"] !== undefined) {\n contents.ChecksumAlgorithm = __expectString(output[\"ChecksumAlgorithm\"]);\n }\n return contents;\n};\nconst de_MultipartUploadList = (output, context) => {\n return (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n return de_MultipartUpload(entry, context);\n });\n};\nconst de_NoncurrentVersionExpiration = (output, context) => {\n const contents = {};\n if (output[\"NoncurrentDays\"] !== undefined) {\n contents.NoncurrentDays = __strictParseInt32(output[\"NoncurrentDays\"]);\n }\n if (output[\"NewerNoncurrentVersions\"] !== undefined) {\n contents.NewerNoncurrentVersions = __strictParseInt32(output[\"NewerNoncurrentVersions\"]);\n }\n return contents;\n};\nconst de_NoncurrentVersionTransition = (output, context) => {\n const contents = {};\n if (output[\"NoncurrentDays\"] !== undefined) {\n contents.NoncurrentDays = __strictParseInt32(output[\"NoncurrentDays\"]);\n }\n if (output[\"StorageClass\"] !== undefined) {\n contents.StorageClass = __expectString(output[\"StorageClass\"]);\n }\n if (output[\"NewerNoncurrentVersions\"] !== undefined) {\n contents.NewerNoncurrentVersions = __strictParseInt32(output[\"NewerNoncurrentVersions\"]);\n }\n return contents;\n};\nconst de_NoncurrentVersionTransitionList = (output, context) => {\n return (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n return de_NoncurrentVersionTransition(entry, context);\n });\n};\nconst de_NotificationConfigurationFilter = (output, context) => {\n const contents = {};\n if (output[\"S3Key\"] !== undefined) {\n contents.Key = de_S3KeyFilter(output[\"S3Key\"], context);\n }\n return contents;\n};\nconst de__Object = (output, context) => {\n const contents = {};\n if (output[\"Key\"] !== undefined) {\n contents.Key = __expectString(output[\"Key\"]);\n }\n if (output[\"LastModified\"] !== undefined) {\n contents.LastModified = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[\"LastModified\"]));\n }\n if (output[\"ETag\"] !== undefined) {\n contents.ETag = __expectString(output[\"ETag\"]);\n }\n if (output.ChecksumAlgorithm === \"\") {\n contents.ChecksumAlgorithm = [];\n }\n else if (output[\"ChecksumAlgorithm\"] !== undefined) {\n contents.ChecksumAlgorithm = de_ChecksumAlgorithmList(__getArrayIfSingleItem(output[\"ChecksumAlgorithm\"]), context);\n }\n if (output[\"Size\"] !== undefined) {\n contents.Size = __strictParseLong(output[\"Size\"]);\n }\n if (output[\"StorageClass\"] !== undefined) {\n contents.StorageClass = __expectString(output[\"StorageClass\"]);\n }\n if (output[\"Owner\"] !== undefined) {\n contents.Owner = de_Owner(output[\"Owner\"], context);\n }\n return contents;\n};\nconst de_ObjectList = (output, context) => {\n return (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n return de__Object(entry, context);\n });\n};\nconst de_ObjectLockConfiguration = (output, context) => {\n const contents = {};\n if (output[\"ObjectLockEnabled\"] !== undefined) {\n contents.ObjectLockEnabled = __expectString(output[\"ObjectLockEnabled\"]);\n }\n if (output[\"Rule\"] !== undefined) {\n contents.Rule = de_ObjectLockRule(output[\"Rule\"], context);\n }\n return contents;\n};\nconst de_ObjectLockLegalHold = (output, context) => {\n const contents = {};\n if (output[\"Status\"] !== undefined) {\n contents.Status = __expectString(output[\"Status\"]);\n }\n return contents;\n};\nconst de_ObjectLockRetention = (output, context) => {\n const contents = {};\n if (output[\"Mode\"] !== undefined) {\n contents.Mode = __expectString(output[\"Mode\"]);\n }\n if (output[\"RetainUntilDate\"] !== undefined) {\n contents.RetainUntilDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[\"RetainUntilDate\"]));\n }\n return contents;\n};\nconst de_ObjectLockRule = (output, context) => {\n const contents = {};\n if (output[\"DefaultRetention\"] !== undefined) {\n contents.DefaultRetention = de_DefaultRetention(output[\"DefaultRetention\"], context);\n }\n return contents;\n};\nconst de_ObjectPart = (output, context) => {\n const contents = {};\n if (output[\"PartNumber\"] !== undefined) {\n contents.PartNumber = __strictParseInt32(output[\"PartNumber\"]);\n }\n if (output[\"Size\"] !== undefined) {\n contents.Size = __strictParseLong(output[\"Size\"]);\n }\n if (output[\"ChecksumCRC32\"] !== undefined) {\n contents.ChecksumCRC32 = __expectString(output[\"ChecksumCRC32\"]);\n }\n if (output[\"ChecksumCRC32C\"] !== undefined) {\n contents.ChecksumCRC32C = __expectString(output[\"ChecksumCRC32C\"]);\n }\n if (output[\"ChecksumSHA1\"] !== undefined) {\n contents.ChecksumSHA1 = __expectString(output[\"ChecksumSHA1\"]);\n }\n if (output[\"ChecksumSHA256\"] !== undefined) {\n contents.ChecksumSHA256 = __expectString(output[\"ChecksumSHA256\"]);\n }\n return contents;\n};\nconst de_ObjectVersion = (output, context) => {\n const contents = {};\n if (output[\"ETag\"] !== undefined) {\n contents.ETag = __expectString(output[\"ETag\"]);\n }\n if (output.ChecksumAlgorithm === \"\") {\n contents.ChecksumAlgorithm = [];\n }\n else if (output[\"ChecksumAlgorithm\"] !== undefined) {\n contents.ChecksumAlgorithm = de_ChecksumAlgorithmList(__getArrayIfSingleItem(output[\"ChecksumAlgorithm\"]), context);\n }\n if (output[\"Size\"] !== undefined) {\n contents.Size = __strictParseLong(output[\"Size\"]);\n }\n if (output[\"StorageClass\"] !== undefined) {\n contents.StorageClass = __expectString(output[\"StorageClass\"]);\n }\n if (output[\"Key\"] !== undefined) {\n contents.Key = __expectString(output[\"Key\"]);\n }\n if (output[\"VersionId\"] !== undefined) {\n contents.VersionId = __expectString(output[\"VersionId\"]);\n }\n if (output[\"IsLatest\"] !== undefined) {\n contents.IsLatest = __parseBoolean(output[\"IsLatest\"]);\n }\n if (output[\"LastModified\"] !== undefined) {\n contents.LastModified = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[\"LastModified\"]));\n }\n if (output[\"Owner\"] !== undefined) {\n contents.Owner = de_Owner(output[\"Owner\"], context);\n }\n return contents;\n};\nconst de_ObjectVersionList = (output, context) => {\n return (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n return de_ObjectVersion(entry, context);\n });\n};\nconst de_Owner = (output, context) => {\n const contents = {};\n if (output[\"DisplayName\"] !== undefined) {\n contents.DisplayName = __expectString(output[\"DisplayName\"]);\n }\n if (output[\"ID\"] !== undefined) {\n contents.ID = __expectString(output[\"ID\"]);\n }\n return contents;\n};\nconst de_OwnershipControls = (output, context) => {\n const contents = {};\n if (output.Rule === \"\") {\n contents.Rules = [];\n }\n else if (output[\"Rule\"] !== undefined) {\n contents.Rules = de_OwnershipControlsRules(__getArrayIfSingleItem(output[\"Rule\"]), context);\n }\n return contents;\n};\nconst de_OwnershipControlsRule = (output, context) => {\n const contents = {};\n if (output[\"ObjectOwnership\"] !== undefined) {\n contents.ObjectOwnership = __expectString(output[\"ObjectOwnership\"]);\n }\n return contents;\n};\nconst de_OwnershipControlsRules = (output, context) => {\n return (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n return de_OwnershipControlsRule(entry, context);\n });\n};\nconst de_Part = (output, context) => {\n const contents = {};\n if (output[\"PartNumber\"] !== undefined) {\n contents.PartNumber = __strictParseInt32(output[\"PartNumber\"]);\n }\n if (output[\"LastModified\"] !== undefined) {\n contents.LastModified = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[\"LastModified\"]));\n }\n if (output[\"ETag\"] !== undefined) {\n contents.ETag = __expectString(output[\"ETag\"]);\n }\n if (output[\"Size\"] !== undefined) {\n contents.Size = __strictParseLong(output[\"Size\"]);\n }\n if (output[\"ChecksumCRC32\"] !== undefined) {\n contents.ChecksumCRC32 = __expectString(output[\"ChecksumCRC32\"]);\n }\n if (output[\"ChecksumCRC32C\"] !== undefined) {\n contents.ChecksumCRC32C = __expectString(output[\"ChecksumCRC32C\"]);\n }\n if (output[\"ChecksumSHA1\"] !== undefined) {\n contents.ChecksumSHA1 = __expectString(output[\"ChecksumSHA1\"]);\n }\n if (output[\"ChecksumSHA256\"] !== undefined) {\n contents.ChecksumSHA256 = __expectString(output[\"ChecksumSHA256\"]);\n }\n return contents;\n};\nconst de_Parts = (output, context) => {\n return (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n return de_Part(entry, context);\n });\n};\nconst de_PartsList = (output, context) => {\n return (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n return de_ObjectPart(entry, context);\n });\n};\nconst de_PolicyStatus = (output, context) => {\n const contents = {};\n if (output[\"IsPublic\"] !== undefined) {\n contents.IsPublic = __parseBoolean(output[\"IsPublic\"]);\n }\n return contents;\n};\nconst de_Progress = (output, context) => {\n const contents = {};\n if (output[\"BytesScanned\"] !== undefined) {\n contents.BytesScanned = __strictParseLong(output[\"BytesScanned\"]);\n }\n if (output[\"BytesProcessed\"] !== undefined) {\n contents.BytesProcessed = __strictParseLong(output[\"BytesProcessed\"]);\n }\n if (output[\"BytesReturned\"] !== undefined) {\n contents.BytesReturned = __strictParseLong(output[\"BytesReturned\"]);\n }\n return contents;\n};\nconst de_PublicAccessBlockConfiguration = (output, context) => {\n const contents = {};\n if (output[\"BlockPublicAcls\"] !== undefined) {\n contents.BlockPublicAcls = __parseBoolean(output[\"BlockPublicAcls\"]);\n }\n if (output[\"IgnorePublicAcls\"] !== undefined) {\n contents.IgnorePublicAcls = __parseBoolean(output[\"IgnorePublicAcls\"]);\n }\n if (output[\"BlockPublicPolicy\"] !== undefined) {\n contents.BlockPublicPolicy = __parseBoolean(output[\"BlockPublicPolicy\"]);\n }\n if (output[\"RestrictPublicBuckets\"] !== undefined) {\n contents.RestrictPublicBuckets = __parseBoolean(output[\"RestrictPublicBuckets\"]);\n }\n return contents;\n};\nconst de_QueueConfiguration = (output, context) => {\n const contents = {};\n if (output[\"Id\"] !== undefined) {\n contents.Id = __expectString(output[\"Id\"]);\n }\n if (output[\"Queue\"] !== undefined) {\n contents.QueueArn = __expectString(output[\"Queue\"]);\n }\n if (output.Event === \"\") {\n contents.Events = [];\n }\n else if (output[\"Event\"] !== undefined) {\n contents.Events = de_EventList(__getArrayIfSingleItem(output[\"Event\"]), context);\n }\n if (output[\"Filter\"] !== undefined) {\n contents.Filter = de_NotificationConfigurationFilter(output[\"Filter\"], context);\n }\n return contents;\n};\nconst de_QueueConfigurationList = (output, context) => {\n return (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n return de_QueueConfiguration(entry, context);\n });\n};\nconst de_Redirect = (output, context) => {\n const contents = {};\n if (output[\"HostName\"] !== undefined) {\n contents.HostName = __expectString(output[\"HostName\"]);\n }\n if (output[\"HttpRedirectCode\"] !== undefined) {\n contents.HttpRedirectCode = __expectString(output[\"HttpRedirectCode\"]);\n }\n if (output[\"Protocol\"] !== undefined) {\n contents.Protocol = __expectString(output[\"Protocol\"]);\n }\n if (output[\"ReplaceKeyPrefixWith\"] !== undefined) {\n contents.ReplaceKeyPrefixWith = __expectString(output[\"ReplaceKeyPrefixWith\"]);\n }\n if (output[\"ReplaceKeyWith\"] !== undefined) {\n contents.ReplaceKeyWith = __expectString(output[\"ReplaceKeyWith\"]);\n }\n return contents;\n};\nconst de_RedirectAllRequestsTo = (output, context) => {\n const contents = {};\n if (output[\"HostName\"] !== undefined) {\n contents.HostName = __expectString(output[\"HostName\"]);\n }\n if (output[\"Protocol\"] !== undefined) {\n contents.Protocol = __expectString(output[\"Protocol\"]);\n }\n return contents;\n};\nconst de_ReplicaModifications = (output, context) => {\n const contents = {};\n if (output[\"Status\"] !== undefined) {\n contents.Status = __expectString(output[\"Status\"]);\n }\n return contents;\n};\nconst de_ReplicationConfiguration = (output, context) => {\n const contents = {};\n if (output[\"Role\"] !== undefined) {\n contents.Role = __expectString(output[\"Role\"]);\n }\n if (output.Rule === \"\") {\n contents.Rules = [];\n }\n else if (output[\"Rule\"] !== undefined) {\n contents.Rules = de_ReplicationRules(__getArrayIfSingleItem(output[\"Rule\"]), context);\n }\n return contents;\n};\nconst de_ReplicationRule = (output, context) => {\n const contents = {};\n if (output[\"ID\"] !== undefined) {\n contents.ID = __expectString(output[\"ID\"]);\n }\n if (output[\"Priority\"] !== undefined) {\n contents.Priority = __strictParseInt32(output[\"Priority\"]);\n }\n if (output[\"Prefix\"] !== undefined) {\n contents.Prefix = __expectString(output[\"Prefix\"]);\n }\n if (output.Filter === \"\") {\n }\n else if (output[\"Filter\"] !== undefined) {\n contents.Filter = de_ReplicationRuleFilter(__expectUnion(output[\"Filter\"]), context);\n }\n if (output[\"Status\"] !== undefined) {\n contents.Status = __expectString(output[\"Status\"]);\n }\n if (output[\"SourceSelectionCriteria\"] !== undefined) {\n contents.SourceSelectionCriteria = de_SourceSelectionCriteria(output[\"SourceSelectionCriteria\"], context);\n }\n if (output[\"ExistingObjectReplication\"] !== undefined) {\n contents.ExistingObjectReplication = de_ExistingObjectReplication(output[\"ExistingObjectReplication\"], context);\n }\n if (output[\"Destination\"] !== undefined) {\n contents.Destination = de_Destination(output[\"Destination\"], context);\n }\n if (output[\"DeleteMarkerReplication\"] !== undefined) {\n contents.DeleteMarkerReplication = de_DeleteMarkerReplication(output[\"DeleteMarkerReplication\"], context);\n }\n return contents;\n};\nconst de_ReplicationRuleAndOperator = (output, context) => {\n const contents = {};\n if (output[\"Prefix\"] !== undefined) {\n contents.Prefix = __expectString(output[\"Prefix\"]);\n }\n if (output.Tag === \"\") {\n contents.Tags = [];\n }\n else if (output[\"Tag\"] !== undefined) {\n contents.Tags = de_TagSet(__getArrayIfSingleItem(output[\"Tag\"]), context);\n }\n return contents;\n};\nconst de_ReplicationRuleFilter = (output, context) => {\n if (output[\"Prefix\"] !== undefined) {\n return {\n Prefix: __expectString(output[\"Prefix\"]),\n };\n }\n if (output[\"Tag\"] !== undefined) {\n return {\n Tag: de_Tag(output[\"Tag\"], context),\n };\n }\n if (output[\"And\"] !== undefined) {\n return {\n And: de_ReplicationRuleAndOperator(output[\"And\"], context),\n };\n }\n return { $unknown: Object.entries(output)[0] };\n};\nconst de_ReplicationRules = (output, context) => {\n return (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n return de_ReplicationRule(entry, context);\n });\n};\nconst de_ReplicationTime = (output, context) => {\n const contents = {};\n if (output[\"Status\"] !== undefined) {\n contents.Status = __expectString(output[\"Status\"]);\n }\n if (output[\"Time\"] !== undefined) {\n contents.Time = de_ReplicationTimeValue(output[\"Time\"], context);\n }\n return contents;\n};\nconst de_ReplicationTimeValue = (output, context) => {\n const contents = {};\n if (output[\"Minutes\"] !== undefined) {\n contents.Minutes = __strictParseInt32(output[\"Minutes\"]);\n }\n return contents;\n};\nconst de_RoutingRule = (output, context) => {\n const contents = {};\n if (output[\"Condition\"] !== undefined) {\n contents.Condition = de_Condition(output[\"Condition\"], context);\n }\n if (output[\"Redirect\"] !== undefined) {\n contents.Redirect = de_Redirect(output[\"Redirect\"], context);\n }\n return contents;\n};\nconst de_RoutingRules = (output, context) => {\n return (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n return de_RoutingRule(entry, context);\n });\n};\nconst de_S3KeyFilter = (output, context) => {\n const contents = {};\n if (output.FilterRule === \"\") {\n contents.FilterRules = [];\n }\n else if (output[\"FilterRule\"] !== undefined) {\n contents.FilterRules = de_FilterRuleList(__getArrayIfSingleItem(output[\"FilterRule\"]), context);\n }\n return contents;\n};\nconst de_ServerSideEncryptionByDefault = (output, context) => {\n const contents = {};\n if (output[\"SSEAlgorithm\"] !== undefined) {\n contents.SSEAlgorithm = __expectString(output[\"SSEAlgorithm\"]);\n }\n if (output[\"KMSMasterKeyID\"] !== undefined) {\n contents.KMSMasterKeyID = __expectString(output[\"KMSMasterKeyID\"]);\n }\n return contents;\n};\nconst de_ServerSideEncryptionConfiguration = (output, context) => {\n const contents = {};\n if (output.Rule === \"\") {\n contents.Rules = [];\n }\n else if (output[\"Rule\"] !== undefined) {\n contents.Rules = de_ServerSideEncryptionRules(__getArrayIfSingleItem(output[\"Rule\"]), context);\n }\n return contents;\n};\nconst de_ServerSideEncryptionRule = (output, context) => {\n const contents = {};\n if (output[\"ApplyServerSideEncryptionByDefault\"] !== undefined) {\n contents.ApplyServerSideEncryptionByDefault = de_ServerSideEncryptionByDefault(output[\"ApplyServerSideEncryptionByDefault\"], context);\n }\n if (output[\"BucketKeyEnabled\"] !== undefined) {\n contents.BucketKeyEnabled = __parseBoolean(output[\"BucketKeyEnabled\"]);\n }\n return contents;\n};\nconst de_ServerSideEncryptionRules = (output, context) => {\n return (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n return de_ServerSideEncryptionRule(entry, context);\n });\n};\nconst de_SourceSelectionCriteria = (output, context) => {\n const contents = {};\n if (output[\"SseKmsEncryptedObjects\"] !== undefined) {\n contents.SseKmsEncryptedObjects = de_SseKmsEncryptedObjects(output[\"SseKmsEncryptedObjects\"], context);\n }\n if (output[\"ReplicaModifications\"] !== undefined) {\n contents.ReplicaModifications = de_ReplicaModifications(output[\"ReplicaModifications\"], context);\n }\n return contents;\n};\nconst de_SSEKMS = (output, context) => {\n const contents = {};\n if (output[\"KeyId\"] !== undefined) {\n contents.KeyId = __expectString(output[\"KeyId\"]);\n }\n return contents;\n};\nconst de_SseKmsEncryptedObjects = (output, context) => {\n const contents = {};\n if (output[\"Status\"] !== undefined) {\n contents.Status = __expectString(output[\"Status\"]);\n }\n return contents;\n};\nconst de_SSES3 = (output, context) => {\n const contents = {};\n return contents;\n};\nconst de_Stats = (output, context) => {\n const contents = {};\n if (output[\"BytesScanned\"] !== undefined) {\n contents.BytesScanned = __strictParseLong(output[\"BytesScanned\"]);\n }\n if (output[\"BytesProcessed\"] !== undefined) {\n contents.BytesProcessed = __strictParseLong(output[\"BytesProcessed\"]);\n }\n if (output[\"BytesReturned\"] !== undefined) {\n contents.BytesReturned = __strictParseLong(output[\"BytesReturned\"]);\n }\n return contents;\n};\nconst de_StorageClassAnalysis = (output, context) => {\n const contents = {};\n if (output[\"DataExport\"] !== undefined) {\n contents.DataExport = de_StorageClassAnalysisDataExport(output[\"DataExport\"], context);\n }\n return contents;\n};\nconst de_StorageClassAnalysisDataExport = (output, context) => {\n const contents = {};\n if (output[\"OutputSchemaVersion\"] !== undefined) {\n contents.OutputSchemaVersion = __expectString(output[\"OutputSchemaVersion\"]);\n }\n if (output[\"Destination\"] !== undefined) {\n contents.Destination = de_AnalyticsExportDestination(output[\"Destination\"], context);\n }\n return contents;\n};\nconst de_Tag = (output, context) => {\n const contents = {};\n if (output[\"Key\"] !== undefined) {\n contents.Key = __expectString(output[\"Key\"]);\n }\n if (output[\"Value\"] !== undefined) {\n contents.Value = __expectString(output[\"Value\"]);\n }\n return contents;\n};\nconst de_TagSet = (output, context) => {\n return (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n return de_Tag(entry, context);\n });\n};\nconst de_TargetGrant = (output, context) => {\n const contents = {};\n if (output[\"Grantee\"] !== undefined) {\n contents.Grantee = de_Grantee(output[\"Grantee\"], context);\n }\n if (output[\"Permission\"] !== undefined) {\n contents.Permission = __expectString(output[\"Permission\"]);\n }\n return contents;\n};\nconst de_TargetGrants = (output, context) => {\n return (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n return de_TargetGrant(entry, context);\n });\n};\nconst de_Tiering = (output, context) => {\n const contents = {};\n if (output[\"Days\"] !== undefined) {\n contents.Days = __strictParseInt32(output[\"Days\"]);\n }\n if (output[\"AccessTier\"] !== undefined) {\n contents.AccessTier = __expectString(output[\"AccessTier\"]);\n }\n return contents;\n};\nconst de_TieringList = (output, context) => {\n return (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n return de_Tiering(entry, context);\n });\n};\nconst de_TopicConfiguration = (output, context) => {\n const contents = {};\n if (output[\"Id\"] !== undefined) {\n contents.Id = __expectString(output[\"Id\"]);\n }\n if (output[\"Topic\"] !== undefined) {\n contents.TopicArn = __expectString(output[\"Topic\"]);\n }\n if (output.Event === \"\") {\n contents.Events = [];\n }\n else if (output[\"Event\"] !== undefined) {\n contents.Events = de_EventList(__getArrayIfSingleItem(output[\"Event\"]), context);\n }\n if (output[\"Filter\"] !== undefined) {\n contents.Filter = de_NotificationConfigurationFilter(output[\"Filter\"], context);\n }\n return contents;\n};\nconst de_TopicConfigurationList = (output, context) => {\n return (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n return de_TopicConfiguration(entry, context);\n });\n};\nconst de_Transition = (output, context) => {\n const contents = {};\n if (output[\"Date\"] !== undefined) {\n contents.Date = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[\"Date\"]));\n }\n if (output[\"Days\"] !== undefined) {\n contents.Days = __strictParseInt32(output[\"Days\"]);\n }\n if (output[\"StorageClass\"] !== undefined) {\n contents.StorageClass = __expectString(output[\"StorageClass\"]);\n }\n return contents;\n};\nconst de_TransitionList = (output, context) => {\n return (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n return de_Transition(entry, context);\n });\n};\nconst deserializeMetadata = (output) => ({\n httpStatusCode: output.statusCode,\n requestId: output.headers[\"x-amzn-requestid\"] ?? output.headers[\"x-amzn-request-id\"] ?? output.headers[\"x-amz-request-id\"],\n extendedRequestId: output.headers[\"x-amz-id-2\"],\n cfId: output.headers[\"x-amz-cf-id\"],\n});\nconst collectBody = (streamBody = new Uint8Array(), context) => {\n if (streamBody instanceof Uint8Array) {\n return Promise.resolve(streamBody);\n }\n return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());\n};\nconst collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));\nconst isSerializableHeaderValue = (value) => value !== undefined &&\n value !== null &&\n value !== \"\" &&\n (!Object.getOwnPropertyNames(value).includes(\"length\") || value.length != 0) &&\n (!Object.getOwnPropertyNames(value).includes(\"size\") || value.size != 0);\nconst parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {\n if (encoded.length) {\n const parser = new XMLParser({\n attributeNamePrefix: \"\",\n htmlEntities: true,\n ignoreAttributes: false,\n ignoreDeclaration: true,\n parseTagValue: false,\n trimValues: false,\n tagValueProcessor: (_, val) => (val.trim() === \"\" && val.includes(\"\\n\") ? \"\" : undefined),\n });\n parser.addEntity(\"#xD\", \"\\r\");\n parser.addEntity(\"#10\", \"\\n\");\n const parsedObj = parser.parse(encoded);\n const textNodeName = \"#text\";\n const key = Object.keys(parsedObj)[0];\n const parsedObjToReturn = parsedObj[key];\n if (parsedObjToReturn[textNodeName]) {\n parsedObjToReturn[key] = parsedObjToReturn[textNodeName];\n delete parsedObjToReturn[textNodeName];\n }\n return __getValueFromTextNode(parsedObjToReturn);\n }\n return {};\n});\nconst parseErrorBody = async (errorBody, context) => {\n const value = await parseBody(errorBody, context);\n if (value.Error) {\n value.Error.message = value.Error.message ?? value.Error.Message;\n }\n return value;\n};\nconst loadRestXmlErrorCode = (output, data) => {\n if (data?.Code !== undefined) {\n return data.Code;\n }\n if (output.statusCode == 404) {\n return \"NotFound\";\n }\n};\n","import { getEndpointPlugin } from \"@aws-sdk/middleware-endpoint\";\nimport { getFlexibleChecksumsPlugin } from \"@aws-sdk/middleware-flexible-checksums\";\nimport { getCheckContentLengthHeaderPlugin } from \"@aws-sdk/middleware-sdk-s3\";\nimport { getSerdePlugin } from \"@aws-sdk/middleware-serde\";\nimport { getSsecPlugin } from \"@aws-sdk/middleware-ssec\";\nimport { Command as $Command } from \"@aws-sdk/smithy-client\";\nimport { PutObjectOutputFilterSensitiveLog, PutObjectRequestFilterSensitiveLog, } from \"../models/models_0\";\nimport { de_PutObjectCommand, se_PutObjectCommand } from \"../protocols/Aws_restXml\";\nexport { $Command };\nexport class PutObjectCommand extends $Command {\n static getEndpointParameterInstructions() {\n return {\n Bucket: { type: \"contextParams\", name: \"Bucket\" },\n ForcePathStyle: { type: \"clientContextParams\", name: \"forcePathStyle\" },\n UseArnRegion: { type: \"clientContextParams\", name: \"useArnRegion\" },\n DisableMultiRegionAccessPoints: { type: \"clientContextParams\", name: \"disableMultiregionAccessPoints\" },\n Accelerate: { type: \"clientContextParams\", name: \"useAccelerateEndpoint\" },\n UseGlobalEndpoint: { type: \"builtInParams\", name: \"useGlobalEndpoint\" },\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" },\n };\n }\n constructor(input) {\n super();\n this.input = input;\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use(getEndpointPlugin(configuration, PutObjectCommand.getEndpointParameterInstructions()));\n this.middlewareStack.use(getCheckContentLengthHeaderPlugin(configuration));\n this.middlewareStack.use(getSsecPlugin(configuration));\n this.middlewareStack.use(getFlexibleChecksumsPlugin(configuration, {\n input: this.input,\n requestAlgorithmMember: \"ChecksumAlgorithm\",\n requestChecksumRequired: false,\n }));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = \"S3Client\";\n const commandName = \"PutObjectCommand\";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: PutObjectRequestFilterSensitiveLog,\n outputFilterSensitiveLog: PutObjectOutputFilterSensitiveLog,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return se_PutObjectCommand(input, context);\n }\n deserialize(output, context) {\n return de_PutObjectCommand(output, context);\n }\n}\n","import { getEndpointPlugin } from \"@aws-sdk/middleware-endpoint\";\nimport { getSerdePlugin } from \"@aws-sdk/middleware-serde\";\nimport { getSsecPlugin } from \"@aws-sdk/middleware-ssec\";\nimport { Command as $Command } from \"@aws-sdk/smithy-client\";\nimport { CreateMultipartUploadOutputFilterSensitiveLog, CreateMultipartUploadRequestFilterSensitiveLog, } from \"../models/models_0\";\nimport { de_CreateMultipartUploadCommand, se_CreateMultipartUploadCommand } from \"../protocols/Aws_restXml\";\nexport { $Command };\nexport class CreateMultipartUploadCommand extends $Command {\n static getEndpointParameterInstructions() {\n return {\n Bucket: { type: \"contextParams\", name: \"Bucket\" },\n ForcePathStyle: { type: \"clientContextParams\", name: \"forcePathStyle\" },\n UseArnRegion: { type: \"clientContextParams\", name: \"useArnRegion\" },\n DisableMultiRegionAccessPoints: { type: \"clientContextParams\", name: \"disableMultiregionAccessPoints\" },\n Accelerate: { type: \"clientContextParams\", name: \"useAccelerateEndpoint\" },\n UseGlobalEndpoint: { type: \"builtInParams\", name: \"useGlobalEndpoint\" },\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" },\n };\n }\n constructor(input) {\n super();\n this.input = input;\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use(getEndpointPlugin(configuration, CreateMultipartUploadCommand.getEndpointParameterInstructions()));\n this.middlewareStack.use(getSsecPlugin(configuration));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = \"S3Client\";\n const commandName = \"CreateMultipartUploadCommand\";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: CreateMultipartUploadRequestFilterSensitiveLog,\n outputFilterSensitiveLog: CreateMultipartUploadOutputFilterSensitiveLog,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return se_CreateMultipartUploadCommand(input, context);\n }\n deserialize(output, context) {\n return de_CreateMultipartUploadCommand(output, context);\n }\n}\n","import { SENSITIVE_STRING } from \"@aws-sdk/smithy-client\";\nimport { S3ServiceException as __BaseException } from \"./S3ServiceException\";\nexport class ObjectAlreadyInActiveTierError extends __BaseException {\n constructor(opts) {\n super({\n name: \"ObjectAlreadyInActiveTierError\",\n $fault: \"client\",\n ...opts,\n });\n this.name = \"ObjectAlreadyInActiveTierError\";\n this.$fault = \"client\";\n Object.setPrototypeOf(this, ObjectAlreadyInActiveTierError.prototype);\n }\n}\nexport const Tier = {\n Bulk: \"Bulk\",\n Expedited: \"Expedited\",\n Standard: \"Standard\",\n};\nexport const ExpressionType = {\n SQL: \"SQL\",\n};\nexport const CompressionType = {\n BZIP2: \"BZIP2\",\n GZIP: \"GZIP\",\n NONE: \"NONE\",\n};\nexport const FileHeaderInfo = {\n IGNORE: \"IGNORE\",\n NONE: \"NONE\",\n USE: \"USE\",\n};\nexport const JSONType = {\n DOCUMENT: \"DOCUMENT\",\n LINES: \"LINES\",\n};\nexport const QuoteFields = {\n ALWAYS: \"ALWAYS\",\n ASNEEDED: \"ASNEEDED\",\n};\nexport const RestoreRequestType = {\n SELECT: \"SELECT\",\n};\nexport var SelectObjectContentEventStream;\n(function (SelectObjectContentEventStream) {\n SelectObjectContentEventStream.visit = (value, visitor) => {\n if (value.Records !== undefined)\n return visitor.Records(value.Records);\n if (value.Stats !== undefined)\n return visitor.Stats(value.Stats);\n if (value.Progress !== undefined)\n return visitor.Progress(value.Progress);\n if (value.Cont !== undefined)\n return visitor.Cont(value.Cont);\n if (value.End !== undefined)\n return visitor.End(value.End);\n return visitor._(value.$unknown[0], value.$unknown[1]);\n };\n})(SelectObjectContentEventStream || (SelectObjectContentEventStream = {}));\nexport const EncryptionFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.KMSKeyId && { KMSKeyId: SENSITIVE_STRING }),\n});\nexport const S3LocationFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.Encryption && { Encryption: EncryptionFilterSensitiveLog(obj.Encryption) }),\n});\nexport const OutputLocationFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.S3 && { S3: S3LocationFilterSensitiveLog(obj.S3) }),\n});\nexport const RestoreRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.OutputLocation && { OutputLocation: OutputLocationFilterSensitiveLog(obj.OutputLocation) }),\n});\nexport const RestoreObjectRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.RestoreRequest && { RestoreRequest: RestoreRequestFilterSensitiveLog(obj.RestoreRequest) }),\n});\nexport const SelectObjectContentEventStreamFilterSensitiveLog = (obj) => {\n if (obj.Records !== undefined)\n return { Records: obj.Records };\n if (obj.Stats !== undefined)\n return { Stats: obj.Stats };\n if (obj.Progress !== undefined)\n return { Progress: obj.Progress };\n if (obj.Cont !== undefined)\n return { Cont: obj.Cont };\n if (obj.End !== undefined)\n return { End: obj.End };\n if (obj.$unknown !== undefined)\n return { [obj.$unknown[0]]: \"UNKNOWN\" };\n};\nexport const SelectObjectContentOutputFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.Payload && { Payload: \"STREAMING_CONTENT\" }),\n});\nexport const SelectObjectContentRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.SSECustomerKey && { SSECustomerKey: SENSITIVE_STRING }),\n});\nexport const UploadPartOutputFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.SSEKMSKeyId && { SSEKMSKeyId: SENSITIVE_STRING }),\n});\nexport const UploadPartRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.SSECustomerKey && { SSECustomerKey: SENSITIVE_STRING }),\n});\nexport const UploadPartCopyOutputFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.SSEKMSKeyId && { SSEKMSKeyId: SENSITIVE_STRING }),\n});\nexport const UploadPartCopyRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.SSECustomerKey && { SSECustomerKey: SENSITIVE_STRING }),\n ...(obj.CopySourceSSECustomerKey && { CopySourceSSECustomerKey: SENSITIVE_STRING }),\n});\nexport const WriteGetObjectResponseRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.SSEKMSKeyId && { SSEKMSKeyId: SENSITIVE_STRING }),\n});\n","import { getEndpointPlugin } from \"@aws-sdk/middleware-endpoint\";\nimport { getFlexibleChecksumsPlugin } from \"@aws-sdk/middleware-flexible-checksums\";\nimport { getSerdePlugin } from \"@aws-sdk/middleware-serde\";\nimport { getSsecPlugin } from \"@aws-sdk/middleware-ssec\";\nimport { Command as $Command } from \"@aws-sdk/smithy-client\";\nimport { UploadPartOutputFilterSensitiveLog, UploadPartRequestFilterSensitiveLog, } from \"../models/models_1\";\nimport { de_UploadPartCommand, se_UploadPartCommand } from \"../protocols/Aws_restXml\";\nexport { $Command };\nexport class UploadPartCommand extends $Command {\n static getEndpointParameterInstructions() {\n return {\n Bucket: { type: \"contextParams\", name: \"Bucket\" },\n ForcePathStyle: { type: \"clientContextParams\", name: \"forcePathStyle\" },\n UseArnRegion: { type: \"clientContextParams\", name: \"useArnRegion\" },\n DisableMultiRegionAccessPoints: { type: \"clientContextParams\", name: \"disableMultiregionAccessPoints\" },\n Accelerate: { type: \"clientContextParams\", name: \"useAccelerateEndpoint\" },\n UseGlobalEndpoint: { type: \"builtInParams\", name: \"useGlobalEndpoint\" },\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" },\n };\n }\n constructor(input) {\n super();\n this.input = input;\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use(getEndpointPlugin(configuration, UploadPartCommand.getEndpointParameterInstructions()));\n this.middlewareStack.use(getSsecPlugin(configuration));\n this.middlewareStack.use(getFlexibleChecksumsPlugin(configuration, {\n input: this.input,\n requestAlgorithmMember: \"ChecksumAlgorithm\",\n requestChecksumRequired: false,\n }));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = \"S3Client\";\n const commandName = \"UploadPartCommand\";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: UploadPartRequestFilterSensitiveLog,\n outputFilterSensitiveLog: UploadPartOutputFilterSensitiveLog,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return se_UploadPartCommand(input, context);\n }\n deserialize(output, context) {\n return de_UploadPartCommand(output, context);\n }\n}\n","import { getEndpointPlugin } from \"@aws-sdk/middleware-endpoint\";\nimport { getThrow200ExceptionsPlugin } from \"@aws-sdk/middleware-sdk-s3\";\nimport { getSerdePlugin } from \"@aws-sdk/middleware-serde\";\nimport { getSsecPlugin } from \"@aws-sdk/middleware-ssec\";\nimport { Command as $Command } from \"@aws-sdk/smithy-client\";\nimport { CompleteMultipartUploadOutputFilterSensitiveLog, CompleteMultipartUploadRequestFilterSensitiveLog, } from \"../models/models_0\";\nimport { de_CompleteMultipartUploadCommand, se_CompleteMultipartUploadCommand } from \"../protocols/Aws_restXml\";\nexport { $Command };\nexport class CompleteMultipartUploadCommand extends $Command {\n static getEndpointParameterInstructions() {\n return {\n Bucket: { type: \"contextParams\", name: \"Bucket\" },\n ForcePathStyle: { type: \"clientContextParams\", name: \"forcePathStyle\" },\n UseArnRegion: { type: \"clientContextParams\", name: \"useArnRegion\" },\n DisableMultiRegionAccessPoints: { type: \"clientContextParams\", name: \"disableMultiregionAccessPoints\" },\n Accelerate: { type: \"clientContextParams\", name: \"useAccelerateEndpoint\" },\n UseGlobalEndpoint: { type: \"builtInParams\", name: \"useGlobalEndpoint\" },\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" },\n };\n }\n constructor(input) {\n super();\n this.input = input;\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use(getEndpointPlugin(configuration, CompleteMultipartUploadCommand.getEndpointParameterInstructions()));\n this.middlewareStack.use(getThrow200ExceptionsPlugin(configuration));\n this.middlewareStack.use(getSsecPlugin(configuration));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = \"S3Client\";\n const commandName = \"CompleteMultipartUploadCommand\";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: CompleteMultipartUploadRequestFilterSensitiveLog,\n outputFilterSensitiveLog: CompleteMultipartUploadOutputFilterSensitiveLog,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return se_CompleteMultipartUploadCommand(input, context);\n }\n deserialize(output, context) {\n return de_CompleteMultipartUploadCommand(output, context);\n }\n}\n","import { getEndpointPlugin } from \"@aws-sdk/middleware-endpoint\";\nimport { getFlexibleChecksumsPlugin } from \"@aws-sdk/middleware-flexible-checksums\";\nimport { getSerdePlugin } from \"@aws-sdk/middleware-serde\";\nimport { Command as $Command } from \"@aws-sdk/smithy-client\";\nimport { de_PutObjectTaggingCommand, se_PutObjectTaggingCommand } from \"../protocols/Aws_restXml\";\nexport { $Command };\nexport class PutObjectTaggingCommand extends $Command {\n static getEndpointParameterInstructions() {\n return {\n Bucket: { type: \"contextParams\", name: \"Bucket\" },\n ForcePathStyle: { type: \"clientContextParams\", name: \"forcePathStyle\" },\n UseArnRegion: { type: \"clientContextParams\", name: \"useArnRegion\" },\n DisableMultiRegionAccessPoints: { type: \"clientContextParams\", name: \"disableMultiregionAccessPoints\" },\n Accelerate: { type: \"clientContextParams\", name: \"useAccelerateEndpoint\" },\n UseGlobalEndpoint: { type: \"builtInParams\", name: \"useGlobalEndpoint\" },\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" },\n };\n }\n constructor(input) {\n super();\n this.input = input;\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use(getEndpointPlugin(configuration, PutObjectTaggingCommand.getEndpointParameterInstructions()));\n this.middlewareStack.use(getFlexibleChecksumsPlugin(configuration, {\n input: this.input,\n requestAlgorithmMember: \"ChecksumAlgorithm\",\n requestChecksumRequired: true,\n }));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = \"S3Client\";\n const commandName = \"PutObjectTaggingCommand\";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: (_) => _,\n outputFilterSensitiveLog: (_) => _,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return se_PutObjectTaggingCommand(input, context);\n }\n deserialize(output, context) {\n return de_PutObjectTaggingCommand(output, context);\n }\n}\n","import { ClientSharedValues } from \"./runtimeConfig.shared\";\nexport const ClientDefaultValues = {\n ...ClientSharedValues,\n runtime: \"browser\",\n};\n","export const ClientSharedValues = {\n lstatSync: () => { },\n};\n","import { ClientDefaultValues } from \"./runtimeConfig\";\nexport const byteLength = (input) => {\n if (input === null || input === undefined)\n return 0;\n if (typeof input === \"string\")\n input = Buffer.from(input);\n if (typeof input.byteLength === \"number\") {\n return input.byteLength;\n }\n else if (typeof input.length === \"number\") {\n return input.length;\n }\n else if (typeof input.size === \"number\") {\n return input.size;\n }\n else if (typeof input.path === \"string\") {\n try {\n return ClientDefaultValues.lstatSync(input.path).size;\n }\n catch (error) {\n return undefined;\n }\n }\n return undefined;\n};\n","export default function _OverloadYield(value, kind) {\n this.v = value, this.k = kind;\n}","import OverloadYield from \"./OverloadYield.js\";\nexport default function AsyncGenerator(gen) {\n var front, back;\n function resume(key, arg) {\n try {\n var result = gen[key](arg),\n value = result.value,\n overloaded = value instanceof OverloadYield;\n Promise.resolve(overloaded ? value.v : value).then(function (arg) {\n if (overloaded) {\n var nextKey = \"return\" === key ? \"return\" : \"next\";\n if (!value.k || arg.done) return resume(nextKey, arg);\n arg = gen[nextKey](arg).value;\n }\n settle(result.done ? \"return\" : \"normal\", arg);\n }, function (err) {\n resume(\"throw\", err);\n });\n } catch (err) {\n settle(\"throw\", err);\n }\n }\n function settle(type, value) {\n switch (type) {\n case \"return\":\n front.resolve({\n value: value,\n done: !0\n });\n break;\n case \"throw\":\n front.reject(value);\n break;\n default:\n front.resolve({\n value: value,\n done: !1\n });\n }\n (front = front.next) ? resume(front.key, front.arg) : back = null;\n }\n this._invoke = function (key, arg) {\n return new Promise(function (resolve, reject) {\n var request = {\n key: key,\n arg: arg,\n resolve: resolve,\n reject: reject,\n next: null\n };\n back ? back = back.next = request : (front = back = request, resume(key, arg));\n });\n }, \"function\" != typeof gen[\"return\"] && (this[\"return\"] = void 0);\n}\nAsyncGenerator.prototype[\"function\" == typeof Symbol && Symbol.asyncIterator || \"@@asyncIterator\"] = function () {\n return this;\n}, AsyncGenerator.prototype.next = function (arg) {\n return this._invoke(\"next\", arg);\n}, AsyncGenerator.prototype[\"throw\"] = function (arg) {\n return this._invoke(\"throw\", arg);\n}, AsyncGenerator.prototype[\"return\"] = function (arg) {\n return this._invoke(\"return\", arg);\n};","import AsyncGenerator from \"./AsyncGenerator.js\";\nexport default function _wrapAsyncGenerator(fn) {\n return function () {\n return new AsyncGenerator(fn.apply(this, arguments));\n };\n}","export async function* getChunkBuffer(data, partSize) {\n let partNumber = 1;\n let startByte = 0;\n let endByte = partSize;\n while (endByte < data.byteLength) {\n yield {\n partNumber,\n data: data.slice(startByte, endByte),\n };\n partNumber += 1;\n startByte = endByte;\n endByte = startByte + partSize;\n }\n yield {\n partNumber,\n data: data.slice(startByte),\n lastPart: true,\n };\n}\n","import OverloadYield from \"./OverloadYield.js\";\nexport default function _awaitAsyncGenerator(value) {\n return new OverloadYield(value, 0);\n}","import { Buffer } from \"buffer\";\nexport async function* getChunkStream(data, partSize, getNextData) {\n let partNumber = 1;\n const currentBuffer = { chunks: [], length: 0 };\n for await (const datum of getNextData(data)) {\n currentBuffer.chunks.push(datum);\n currentBuffer.length += datum.length;\n while (currentBuffer.length >= partSize) {\n const dataChunk = currentBuffer.chunks.length > 1 ? Buffer.concat(currentBuffer.chunks) : currentBuffer.chunks[0];\n yield {\n partNumber,\n data: dataChunk.slice(0, partSize),\n };\n currentBuffer.chunks = [dataChunk.slice(partSize)];\n currentBuffer.length = currentBuffer.chunks[0].length;\n partNumber += 1;\n }\n }\n yield {\n partNumber,\n data: Buffer.concat(currentBuffer.chunks),\n lastPart: true,\n };\n}\n","import { Buffer } from \"buffer\";\nexport async function* getDataReadable(data) {\n for await (const chunk of data) {\n yield Buffer.from(chunk);\n }\n}\n","import { Buffer } from \"buffer\";\nexport async function* getDataReadableStream(data) {\n const reader = data.getReader();\n try {\n while (true) {\n const { done, value } = await reader.read();\n if (done)\n return;\n yield Buffer.from(value);\n }\n }\n catch (e) {\n throw e;\n }\n finally {\n reader.releaseLock();\n }\n}\n","import { Buffer } from \"buffer\";\nimport { Readable } from \"stream\";\nimport { getChunkBuffer } from \"./chunks/getChunkBuffer\";\nimport { getChunkStream } from \"./chunks/getChunkStream\";\nimport { getDataReadable } from \"./chunks/getDataReadable\";\nimport { getDataReadableStream } from \"./chunks/getDataReadableStream\";\nexport const getChunk = (data, partSize) => {\n if (data instanceof Buffer) {\n return getChunkBuffer(data, partSize);\n }\n else if (data instanceof Readable) {\n return getChunkStream(data, partSize, getDataReadable);\n }\n else if (data instanceof String || typeof data === \"string\" || data instanceof Uint8Array) {\n return getChunkBuffer(Buffer.from(data), partSize);\n }\n if (typeof data.stream === \"function\") {\n return getChunkStream(data.stream(), partSize, getDataReadableStream);\n }\n else if (data instanceof ReadableStream) {\n return getChunkStream(data, partSize, getDataReadableStream);\n }\n else {\n throw new Error(\"Body Data is unsupported format, expected data to be one of: string | Uint8Array | Buffer | Readable | ReadableStream | Blob;.\");\n }\n};\n","import { AbortController } from \"@aws-sdk/abort-controller\";\nimport { CompleteMultipartUploadCommand, CreateMultipartUploadCommand, PutObjectCommand, PutObjectTaggingCommand, UploadPartCommand, } from \"@aws-sdk/client-s3\";\nimport { getEndpointFromInstructions, toEndpointV1, } from \"@aws-sdk/middleware-endpoint\";\nimport { extendedEncodeURIComponent } from \"@aws-sdk/smithy-client\";\nimport { EventEmitter } from \"events\";\nimport { byteLength } from \"./bytelength\";\nimport { getChunk } from \"./chunker\";\nconst MIN_PART_SIZE = 1024 * 1024 * 5;\nexport class Upload extends EventEmitter {\n constructor(options) {\n super();\n this.MAX_PARTS = 10000;\n this.queueSize = 4;\n this.partSize = MIN_PART_SIZE;\n this.leavePartsOnError = false;\n this.tags = [];\n this.concurrentUploaders = [];\n this.uploadedParts = [];\n this.isMultiPart = true;\n this.queueSize = options.queueSize || this.queueSize;\n this.partSize = options.partSize || this.partSize;\n this.leavePartsOnError = options.leavePartsOnError || this.leavePartsOnError;\n this.tags = options.tags || this.tags;\n this.client = options.client;\n this.params = options.params;\n this.__validateInput();\n this.totalBytes = byteLength(this.params.Body);\n this.bytesUploadedSoFar = 0;\n this.abortController = options.abortController ?? new AbortController();\n }\n async abort() {\n this.abortController.abort();\n }\n async done() {\n return await Promise.race([this.__doMultipartUpload(), this.__abortTimeout(this.abortController.signal)]);\n }\n on(event, listener) {\n this.uploadEvent = event;\n return super.on(event, listener);\n }\n async __uploadUsingPut(dataPart) {\n this.isMultiPart = false;\n const params = { ...this.params, Body: dataPart.data };\n const clientConfig = this.client.config;\n const requestHandler = clientConfig.requestHandler;\n const eventEmitter = requestHandler instanceof EventEmitter ? requestHandler : null;\n const uploadEventListener = (event) => {\n this.bytesUploadedSoFar = event.loaded;\n this.totalBytes = event.total;\n this.__notifyProgress({\n loaded: this.bytesUploadedSoFar,\n total: this.totalBytes,\n part: dataPart.partNumber,\n Key: this.params.Key,\n Bucket: this.params.Bucket,\n });\n };\n if (eventEmitter !== null) {\n eventEmitter.on(\"xhr.upload.progress\", uploadEventListener);\n }\n const resolved = await Promise.all([this.client.send(new PutObjectCommand(params)), clientConfig?.endpoint?.()]);\n const putResult = resolved[0];\n let endpoint = resolved[1];\n if (!endpoint) {\n endpoint = toEndpointV1(await getEndpointFromInstructions(params, PutObjectCommand, {\n ...clientConfig,\n }));\n }\n if (!endpoint) {\n throw new Error('Could not resolve endpoint from S3 \"client.config.endpoint()\" nor EndpointsV2.');\n }\n if (eventEmitter !== null) {\n eventEmitter.off(\"xhr.upload.progress\", uploadEventListener);\n }\n const locationKey = this.params\n .Key.split(\"/\")\n .map((segment) => extendedEncodeURIComponent(segment))\n .join(\"/\");\n const locationBucket = extendedEncodeURIComponent(this.params.Bucket);\n const Location = (() => {\n const endpointHostnameIncludesBucket = endpoint.hostname.startsWith(`${locationBucket}.`);\n const forcePathStyle = this.client.config.forcePathStyle;\n if (forcePathStyle) {\n return `${endpoint.protocol}//${endpoint.hostname}/${locationBucket}/${locationKey}`;\n }\n if (endpointHostnameIncludesBucket) {\n return `${endpoint.protocol}//${endpoint.hostname}/${locationKey}`;\n }\n return `${endpoint.protocol}//${locationBucket}.${endpoint.hostname}/${locationKey}`;\n })();\n this.singleUploadResult = {\n ...putResult,\n Bucket: this.params.Bucket,\n Key: this.params.Key,\n Location,\n };\n const totalSize = byteLength(dataPart.data);\n this.__notifyProgress({\n loaded: totalSize,\n total: totalSize,\n part: 1,\n Key: this.params.Key,\n Bucket: this.params.Bucket,\n });\n }\n async __createMultipartUpload() {\n if (!this.createMultiPartPromise) {\n const createCommandParams = { ...this.params, Body: undefined };\n this.createMultiPartPromise = this.client.send(new CreateMultipartUploadCommand(createCommandParams));\n }\n const createMultipartUploadResult = await this.createMultiPartPromise;\n this.uploadId = createMultipartUploadResult.UploadId;\n }\n async __doConcurrentUpload(dataFeeder) {\n for await (const dataPart of dataFeeder) {\n if (this.uploadedParts.length > this.MAX_PARTS) {\n throw new Error(`Exceeded ${this.MAX_PARTS} as part of the upload to ${this.params.Key} and ${this.params.Bucket}.`);\n }\n try {\n if (this.abortController.signal.aborted) {\n return;\n }\n if (dataPart.partNumber === 1 && dataPart.lastPart) {\n return await this.__uploadUsingPut(dataPart);\n }\n if (!this.uploadId) {\n await this.__createMultipartUpload();\n if (this.abortController.signal.aborted) {\n return;\n }\n }\n const partSize = byteLength(dataPart.data) || 0;\n const requestHandler = this.client.config.requestHandler;\n const eventEmitter = requestHandler instanceof EventEmitter ? requestHandler : null;\n let lastSeenBytes = 0;\n const uploadEventListener = (event, request) => {\n const requestPartSize = Number(request.query[\"partNumber\"]) || -1;\n if (requestPartSize !== dataPart.partNumber) {\n return;\n }\n if (event.total && partSize) {\n this.bytesUploadedSoFar += event.loaded - lastSeenBytes;\n lastSeenBytes = event.loaded;\n }\n this.__notifyProgress({\n loaded: this.bytesUploadedSoFar,\n total: this.totalBytes,\n part: dataPart.partNumber,\n Key: this.params.Key,\n Bucket: this.params.Bucket,\n });\n };\n if (eventEmitter !== null) {\n eventEmitter.on(\"xhr.upload.progress\", uploadEventListener);\n }\n const partResult = await this.client.send(new UploadPartCommand({\n ...this.params,\n UploadId: this.uploadId,\n Body: dataPart.data,\n PartNumber: dataPart.partNumber,\n }));\n if (eventEmitter !== null) {\n eventEmitter.off(\"xhr.upload.progress\", uploadEventListener);\n }\n if (this.abortController.signal.aborted) {\n return;\n }\n if (!partResult.ETag) {\n throw new Error(`Part ${dataPart.partNumber} is missing ETag in UploadPart response. Missing Bucket CORS configuration for ETag header?`);\n }\n this.uploadedParts.push({\n PartNumber: dataPart.partNumber,\n ETag: partResult.ETag,\n ...(partResult.ChecksumCRC32 && { ChecksumCRC32: partResult.ChecksumCRC32 }),\n ...(partResult.ChecksumCRC32C && { ChecksumCRC32C: partResult.ChecksumCRC32C }),\n ...(partResult.ChecksumSHA1 && { ChecksumSHA1: partResult.ChecksumSHA1 }),\n ...(partResult.ChecksumSHA256 && { ChecksumSHA256: partResult.ChecksumSHA256 }),\n });\n if (eventEmitter === null) {\n this.bytesUploadedSoFar += partSize;\n }\n this.__notifyProgress({\n loaded: this.bytesUploadedSoFar,\n total: this.totalBytes,\n part: dataPart.partNumber,\n Key: this.params.Key,\n Bucket: this.params.Bucket,\n });\n }\n catch (e) {\n if (!this.uploadId) {\n throw e;\n }\n if (this.leavePartsOnError) {\n throw e;\n }\n }\n }\n }\n async __doMultipartUpload() {\n const dataFeeder = getChunk(this.params.Body, this.partSize);\n for (let index = 0; index < this.queueSize; index++) {\n const currentUpload = this.__doConcurrentUpload(dataFeeder);\n this.concurrentUploaders.push(currentUpload);\n }\n await Promise.all(this.concurrentUploaders);\n if (this.abortController.signal.aborted) {\n throw Object.assign(new Error(\"Upload aborted.\"), { name: \"AbortError\" });\n }\n let result;\n if (this.isMultiPart) {\n this.uploadedParts.sort((a, b) => a.PartNumber - b.PartNumber);\n const uploadCompleteParams = {\n ...this.params,\n Body: undefined,\n UploadId: this.uploadId,\n MultipartUpload: {\n Parts: this.uploadedParts,\n },\n };\n result = await this.client.send(new CompleteMultipartUploadCommand(uploadCompleteParams));\n }\n else {\n result = this.singleUploadResult;\n }\n if (this.tags.length) {\n await this.client.send(new PutObjectTaggingCommand({\n ...this.params,\n Tagging: {\n TagSet: this.tags,\n },\n }));\n }\n return result;\n }\n __notifyProgress(progress) {\n if (this.uploadEvent) {\n this.emit(this.uploadEvent, progress);\n }\n }\n async __abortTimeout(abortSignal) {\n return new Promise((resolve, reject) => {\n abortSignal.onabort = () => {\n const abortError = new Error(\"Upload aborted.\");\n abortError.name = \"AbortError\";\n reject(abortError);\n };\n });\n }\n __validateInput() {\n if (!this.params) {\n throw new Error(`InputError: Upload requires params to be passed to upload.`);\n }\n if (!this.client) {\n throw new Error(`InputError: Upload requires a AWS client to do uploads with.`);\n }\n if (this.partSize < MIN_PART_SIZE) {\n throw new Error(`EntityTooSmall: Your proposed upload partsize [${this.partSize}] is smaller than the minimum allowed size [${MIN_PART_SIZE}] (5MB)`);\n }\n if (this.queueSize < 1) {\n throw new Error(`Queue size: Must have at least one uploading queue.`);\n }\n }\n}\n","import { ServiceException as __ServiceException, } from \"@aws-sdk/smithy-client\";\nexport { __ServiceException };\nexport class CognitoIdentityServiceException extends __ServiceException {\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, CognitoIdentityServiceException.prototype);\n }\n}\n","import { CognitoIdentityServiceException as __BaseException } from \"./CognitoIdentityServiceException\";\nexport const AmbiguousRoleResolutionType = {\n AUTHENTICATED_ROLE: \"AuthenticatedRole\",\n DENY: \"Deny\",\n};\nexport class InternalErrorException extends __BaseException {\n constructor(opts) {\n super({\n name: \"InternalErrorException\",\n $fault: \"server\",\n ...opts,\n });\n this.name = \"InternalErrorException\";\n this.$fault = \"server\";\n Object.setPrototypeOf(this, InternalErrorException.prototype);\n }\n}\nexport class InvalidParameterException extends __BaseException {\n constructor(opts) {\n super({\n name: \"InvalidParameterException\",\n $fault: \"client\",\n ...opts,\n });\n this.name = \"InvalidParameterException\";\n this.$fault = \"client\";\n Object.setPrototypeOf(this, InvalidParameterException.prototype);\n }\n}\nexport class LimitExceededException extends __BaseException {\n constructor(opts) {\n super({\n name: \"LimitExceededException\",\n $fault: \"client\",\n ...opts,\n });\n this.name = \"LimitExceededException\";\n this.$fault = \"client\";\n Object.setPrototypeOf(this, LimitExceededException.prototype);\n }\n}\nexport class NotAuthorizedException extends __BaseException {\n constructor(opts) {\n super({\n name: \"NotAuthorizedException\",\n $fault: \"client\",\n ...opts,\n });\n this.name = \"NotAuthorizedException\";\n this.$fault = \"client\";\n Object.setPrototypeOf(this, NotAuthorizedException.prototype);\n }\n}\nexport class ResourceConflictException extends __BaseException {\n constructor(opts) {\n super({\n name: \"ResourceConflictException\",\n $fault: \"client\",\n ...opts,\n });\n this.name = \"ResourceConflictException\";\n this.$fault = \"client\";\n Object.setPrototypeOf(this, ResourceConflictException.prototype);\n }\n}\nexport class TooManyRequestsException extends __BaseException {\n constructor(opts) {\n super({\n name: \"TooManyRequestsException\",\n $fault: \"client\",\n ...opts,\n });\n this.name = \"TooManyRequestsException\";\n this.$fault = \"client\";\n Object.setPrototypeOf(this, TooManyRequestsException.prototype);\n }\n}\nexport const ErrorCode = {\n ACCESS_DENIED: \"AccessDenied\",\n INTERNAL_SERVER_ERROR: \"InternalServerError\",\n};\nexport class ResourceNotFoundException extends __BaseException {\n constructor(opts) {\n super({\n name: \"ResourceNotFoundException\",\n $fault: \"client\",\n ...opts,\n });\n this.name = \"ResourceNotFoundException\";\n this.$fault = \"client\";\n Object.setPrototypeOf(this, ResourceNotFoundException.prototype);\n }\n}\nexport class ExternalServiceException extends __BaseException {\n constructor(opts) {\n super({\n name: \"ExternalServiceException\",\n $fault: \"client\",\n ...opts,\n });\n this.name = \"ExternalServiceException\";\n this.$fault = \"client\";\n Object.setPrototypeOf(this, ExternalServiceException.prototype);\n }\n}\nexport class InvalidIdentityPoolConfigurationException extends __BaseException {\n constructor(opts) {\n super({\n name: \"InvalidIdentityPoolConfigurationException\",\n $fault: \"client\",\n ...opts,\n });\n this.name = \"InvalidIdentityPoolConfigurationException\";\n this.$fault = \"client\";\n Object.setPrototypeOf(this, InvalidIdentityPoolConfigurationException.prototype);\n }\n}\nexport const MappingRuleMatchType = {\n CONTAINS: \"Contains\",\n EQUALS: \"Equals\",\n NOT_EQUAL: \"NotEqual\",\n STARTS_WITH: \"StartsWith\",\n};\nexport const RoleMappingType = {\n RULES: \"Rules\",\n TOKEN: \"Token\",\n};\nexport class DeveloperUserAlreadyRegisteredException extends __BaseException {\n constructor(opts) {\n super({\n name: \"DeveloperUserAlreadyRegisteredException\",\n $fault: \"client\",\n ...opts,\n });\n this.name = \"DeveloperUserAlreadyRegisteredException\";\n this.$fault = \"client\";\n Object.setPrototypeOf(this, DeveloperUserAlreadyRegisteredException.prototype);\n }\n}\nexport class ConcurrentModificationException extends __BaseException {\n constructor(opts) {\n super({\n name: \"ConcurrentModificationException\",\n $fault: \"client\",\n ...opts,\n });\n this.name = \"ConcurrentModificationException\";\n this.$fault = \"client\";\n Object.setPrototypeOf(this, ConcurrentModificationException.prototype);\n }\n}\n","import { _json, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from \"@aws-sdk/smithy-client\";\nimport { HttpRequest as __HttpRequest } from \"@smithy/protocol-http\";\nimport { CognitoIdentityServiceException as __BaseException } from \"../models/CognitoIdentityServiceException\";\nimport { ConcurrentModificationException, DeveloperUserAlreadyRegisteredException, ExternalServiceException, InternalErrorException, InvalidIdentityPoolConfigurationException, InvalidParameterException, LimitExceededException, NotAuthorizedException, ResourceConflictException, ResourceNotFoundException, TooManyRequestsException, } from \"../models/models_0\";\nexport const se_CreateIdentityPoolCommand = async (input, context) => {\n const headers = sharedHeaders(\"CreateIdentityPool\");\n let body;\n body = JSON.stringify(_json(input));\n return buildHttpRpcRequest(context, headers, \"/\", undefined, body);\n};\nexport const se_DeleteIdentitiesCommand = async (input, context) => {\n const headers = sharedHeaders(\"DeleteIdentities\");\n let body;\n body = JSON.stringify(_json(input));\n return buildHttpRpcRequest(context, headers, \"/\", undefined, body);\n};\nexport const se_DeleteIdentityPoolCommand = async (input, context) => {\n const headers = sharedHeaders(\"DeleteIdentityPool\");\n let body;\n body = JSON.stringify(_json(input));\n return buildHttpRpcRequest(context, headers, \"/\", undefined, body);\n};\nexport const se_DescribeIdentityCommand = async (input, context) => {\n const headers = sharedHeaders(\"DescribeIdentity\");\n let body;\n body = JSON.stringify(_json(input));\n return buildHttpRpcRequest(context, headers, \"/\", undefined, body);\n};\nexport const se_DescribeIdentityPoolCommand = async (input, context) => {\n const headers = sharedHeaders(\"DescribeIdentityPool\");\n let body;\n body = JSON.stringify(_json(input));\n return buildHttpRpcRequest(context, headers, \"/\", undefined, body);\n};\nexport const se_GetCredentialsForIdentityCommand = async (input, context) => {\n const headers = sharedHeaders(\"GetCredentialsForIdentity\");\n let body;\n body = JSON.stringify(_json(input));\n return buildHttpRpcRequest(context, headers, \"/\", undefined, body);\n};\nexport const se_GetIdCommand = async (input, context) => {\n const headers = sharedHeaders(\"GetId\");\n let body;\n body = JSON.stringify(_json(input));\n return buildHttpRpcRequest(context, headers, \"/\", undefined, body);\n};\nexport const se_GetIdentityPoolRolesCommand = async (input, context) => {\n const headers = sharedHeaders(\"GetIdentityPoolRoles\");\n let body;\n body = JSON.stringify(_json(input));\n return buildHttpRpcRequest(context, headers, \"/\", undefined, body);\n};\nexport const se_GetOpenIdTokenCommand = async (input, context) => {\n const headers = sharedHeaders(\"GetOpenIdToken\");\n let body;\n body = JSON.stringify(_json(input));\n return buildHttpRpcRequest(context, headers, \"/\", undefined, body);\n};\nexport const se_GetOpenIdTokenForDeveloperIdentityCommand = async (input, context) => {\n const headers = sharedHeaders(\"GetOpenIdTokenForDeveloperIdentity\");\n let body;\n body = JSON.stringify(_json(input));\n return buildHttpRpcRequest(context, headers, \"/\", undefined, body);\n};\nexport const se_GetPrincipalTagAttributeMapCommand = async (input, context) => {\n const headers = sharedHeaders(\"GetPrincipalTagAttributeMap\");\n let body;\n body = JSON.stringify(_json(input));\n return buildHttpRpcRequest(context, headers, \"/\", undefined, body);\n};\nexport const se_ListIdentitiesCommand = async (input, context) => {\n const headers = sharedHeaders(\"ListIdentities\");\n let body;\n body = JSON.stringify(_json(input));\n return buildHttpRpcRequest(context, headers, \"/\", undefined, body);\n};\nexport const se_ListIdentityPoolsCommand = async (input, context) => {\n const headers = sharedHeaders(\"ListIdentityPools\");\n let body;\n body = JSON.stringify(_json(input));\n return buildHttpRpcRequest(context, headers, \"/\", undefined, body);\n};\nexport const se_ListTagsForResourceCommand = async (input, context) => {\n const headers = sharedHeaders(\"ListTagsForResource\");\n let body;\n body = JSON.stringify(_json(input));\n return buildHttpRpcRequest(context, headers, \"/\", undefined, body);\n};\nexport const se_LookupDeveloperIdentityCommand = async (input, context) => {\n const headers = sharedHeaders(\"LookupDeveloperIdentity\");\n let body;\n body = JSON.stringify(_json(input));\n return buildHttpRpcRequest(context, headers, \"/\", undefined, body);\n};\nexport const se_MergeDeveloperIdentitiesCommand = async (input, context) => {\n const headers = sharedHeaders(\"MergeDeveloperIdentities\");\n let body;\n body = JSON.stringify(_json(input));\n return buildHttpRpcRequest(context, headers, \"/\", undefined, body);\n};\nexport const se_SetIdentityPoolRolesCommand = async (input, context) => {\n const headers = sharedHeaders(\"SetIdentityPoolRoles\");\n let body;\n body = JSON.stringify(_json(input));\n return buildHttpRpcRequest(context, headers, \"/\", undefined, body);\n};\nexport const se_SetPrincipalTagAttributeMapCommand = async (input, context) => {\n const headers = sharedHeaders(\"SetPrincipalTagAttributeMap\");\n let body;\n body = JSON.stringify(_json(input));\n return buildHttpRpcRequest(context, headers, \"/\", undefined, body);\n};\nexport const se_TagResourceCommand = async (input, context) => {\n const headers = sharedHeaders(\"TagResource\");\n let body;\n body = JSON.stringify(_json(input));\n return buildHttpRpcRequest(context, headers, \"/\", undefined, body);\n};\nexport const se_UnlinkDeveloperIdentityCommand = async (input, context) => {\n const headers = sharedHeaders(\"UnlinkDeveloperIdentity\");\n let body;\n body = JSON.stringify(_json(input));\n return buildHttpRpcRequest(context, headers, \"/\", undefined, body);\n};\nexport const se_UnlinkIdentityCommand = async (input, context) => {\n const headers = sharedHeaders(\"UnlinkIdentity\");\n let body;\n body = JSON.stringify(_json(input));\n return buildHttpRpcRequest(context, headers, \"/\", undefined, body);\n};\nexport const se_UntagResourceCommand = async (input, context) => {\n const headers = sharedHeaders(\"UntagResource\");\n let body;\n body = JSON.stringify(_json(input));\n return buildHttpRpcRequest(context, headers, \"/\", undefined, body);\n};\nexport const se_UpdateIdentityPoolCommand = async (input, context) => {\n const headers = sharedHeaders(\"UpdateIdentityPool\");\n let body;\n body = JSON.stringify(_json(input));\n return buildHttpRpcRequest(context, headers, \"/\", undefined, body);\n};\nexport const de_CreateIdentityPoolCommand = async (output, context) => {\n if (output.statusCode >= 300) {\n return de_CreateIdentityPoolCommandError(output, context);\n }\n const data = await parseBody(output.body, context);\n let contents = {};\n contents = _json(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents,\n };\n return response;\n};\nconst de_CreateIdentityPoolCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"InternalErrorException\":\n case \"com.amazonaws.cognitoidentity#InternalErrorException\":\n throw await de_InternalErrorExceptionRes(parsedOutput, context);\n case \"InvalidParameterException\":\n case \"com.amazonaws.cognitoidentity#InvalidParameterException\":\n throw await de_InvalidParameterExceptionRes(parsedOutput, context);\n case \"LimitExceededException\":\n case \"com.amazonaws.cognitoidentity#LimitExceededException\":\n throw await de_LimitExceededExceptionRes(parsedOutput, context);\n case \"NotAuthorizedException\":\n case \"com.amazonaws.cognitoidentity#NotAuthorizedException\":\n throw await de_NotAuthorizedExceptionRes(parsedOutput, context);\n case \"ResourceConflictException\":\n case \"com.amazonaws.cognitoidentity#ResourceConflictException\":\n throw await de_ResourceConflictExceptionRes(parsedOutput, context);\n case \"TooManyRequestsException\":\n case \"com.amazonaws.cognitoidentity#TooManyRequestsException\":\n throw await de_TooManyRequestsExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n }\n};\nexport const de_DeleteIdentitiesCommand = async (output, context) => {\n if (output.statusCode >= 300) {\n return de_DeleteIdentitiesCommandError(output, context);\n }\n const data = await parseBody(output.body, context);\n let contents = {};\n contents = _json(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents,\n };\n return response;\n};\nconst de_DeleteIdentitiesCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"InternalErrorException\":\n case \"com.amazonaws.cognitoidentity#InternalErrorException\":\n throw await de_InternalErrorExceptionRes(parsedOutput, context);\n case \"InvalidParameterException\":\n case \"com.amazonaws.cognitoidentity#InvalidParameterException\":\n throw await de_InvalidParameterExceptionRes(parsedOutput, context);\n case \"TooManyRequestsException\":\n case \"com.amazonaws.cognitoidentity#TooManyRequestsException\":\n throw await de_TooManyRequestsExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n }\n};\nexport const de_DeleteIdentityPoolCommand = async (output, context) => {\n if (output.statusCode >= 300) {\n return de_DeleteIdentityPoolCommandError(output, context);\n }\n await collectBody(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output),\n };\n return response;\n};\nconst de_DeleteIdentityPoolCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"InternalErrorException\":\n case \"com.amazonaws.cognitoidentity#InternalErrorException\":\n throw await de_InternalErrorExceptionRes(parsedOutput, context);\n case \"InvalidParameterException\":\n case \"com.amazonaws.cognitoidentity#InvalidParameterException\":\n throw await de_InvalidParameterExceptionRes(parsedOutput, context);\n case \"NotAuthorizedException\":\n case \"com.amazonaws.cognitoidentity#NotAuthorizedException\":\n throw await de_NotAuthorizedExceptionRes(parsedOutput, context);\n case \"ResourceNotFoundException\":\n case \"com.amazonaws.cognitoidentity#ResourceNotFoundException\":\n throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);\n case \"TooManyRequestsException\":\n case \"com.amazonaws.cognitoidentity#TooManyRequestsException\":\n throw await de_TooManyRequestsExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n }\n};\nexport const de_DescribeIdentityCommand = async (output, context) => {\n if (output.statusCode >= 300) {\n return de_DescribeIdentityCommandError(output, context);\n }\n const data = await parseBody(output.body, context);\n let contents = {};\n contents = de_IdentityDescription(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents,\n };\n return response;\n};\nconst de_DescribeIdentityCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"InternalErrorException\":\n case \"com.amazonaws.cognitoidentity#InternalErrorException\":\n throw await de_InternalErrorExceptionRes(parsedOutput, context);\n case \"InvalidParameterException\":\n case \"com.amazonaws.cognitoidentity#InvalidParameterException\":\n throw await de_InvalidParameterExceptionRes(parsedOutput, context);\n case \"NotAuthorizedException\":\n case \"com.amazonaws.cognitoidentity#NotAuthorizedException\":\n throw await de_NotAuthorizedExceptionRes(parsedOutput, context);\n case \"ResourceNotFoundException\":\n case \"com.amazonaws.cognitoidentity#ResourceNotFoundException\":\n throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);\n case \"TooManyRequestsException\":\n case \"com.amazonaws.cognitoidentity#TooManyRequestsException\":\n throw await de_TooManyRequestsExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n }\n};\nexport const de_DescribeIdentityPoolCommand = async (output, context) => {\n if (output.statusCode >= 300) {\n return de_DescribeIdentityPoolCommandError(output, context);\n }\n const data = await parseBody(output.body, context);\n let contents = {};\n contents = _json(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents,\n };\n return response;\n};\nconst de_DescribeIdentityPoolCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"InternalErrorException\":\n case \"com.amazonaws.cognitoidentity#InternalErrorException\":\n throw await de_InternalErrorExceptionRes(parsedOutput, context);\n case \"InvalidParameterException\":\n case \"com.amazonaws.cognitoidentity#InvalidParameterException\":\n throw await de_InvalidParameterExceptionRes(parsedOutput, context);\n case \"NotAuthorizedException\":\n case \"com.amazonaws.cognitoidentity#NotAuthorizedException\":\n throw await de_NotAuthorizedExceptionRes(parsedOutput, context);\n case \"ResourceNotFoundException\":\n case \"com.amazonaws.cognitoidentity#ResourceNotFoundException\":\n throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);\n case \"TooManyRequestsException\":\n case \"com.amazonaws.cognitoidentity#TooManyRequestsException\":\n throw await de_TooManyRequestsExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n }\n};\nexport const de_GetCredentialsForIdentityCommand = async (output, context) => {\n if (output.statusCode >= 300) {\n return de_GetCredentialsForIdentityCommandError(output, context);\n }\n const data = await parseBody(output.body, context);\n let contents = {};\n contents = de_GetCredentialsForIdentityResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents,\n };\n return response;\n};\nconst de_GetCredentialsForIdentityCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"ExternalServiceException\":\n case \"com.amazonaws.cognitoidentity#ExternalServiceException\":\n throw await de_ExternalServiceExceptionRes(parsedOutput, context);\n case \"InternalErrorException\":\n case \"com.amazonaws.cognitoidentity#InternalErrorException\":\n throw await de_InternalErrorExceptionRes(parsedOutput, context);\n case \"InvalidIdentityPoolConfigurationException\":\n case \"com.amazonaws.cognitoidentity#InvalidIdentityPoolConfigurationException\":\n throw await de_InvalidIdentityPoolConfigurationExceptionRes(parsedOutput, context);\n case \"InvalidParameterException\":\n case \"com.amazonaws.cognitoidentity#InvalidParameterException\":\n throw await de_InvalidParameterExceptionRes(parsedOutput, context);\n case \"NotAuthorizedException\":\n case \"com.amazonaws.cognitoidentity#NotAuthorizedException\":\n throw await de_NotAuthorizedExceptionRes(parsedOutput, context);\n case \"ResourceConflictException\":\n case \"com.amazonaws.cognitoidentity#ResourceConflictException\":\n throw await de_ResourceConflictExceptionRes(parsedOutput, context);\n case \"ResourceNotFoundException\":\n case \"com.amazonaws.cognitoidentity#ResourceNotFoundException\":\n throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);\n case \"TooManyRequestsException\":\n case \"com.amazonaws.cognitoidentity#TooManyRequestsException\":\n throw await de_TooManyRequestsExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n }\n};\nexport const de_GetIdCommand = async (output, context) => {\n if (output.statusCode >= 300) {\n return de_GetIdCommandError(output, context);\n }\n const data = await parseBody(output.body, context);\n let contents = {};\n contents = _json(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents,\n };\n return response;\n};\nconst de_GetIdCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"ExternalServiceException\":\n case \"com.amazonaws.cognitoidentity#ExternalServiceException\":\n throw await de_ExternalServiceExceptionRes(parsedOutput, context);\n case \"InternalErrorException\":\n case \"com.amazonaws.cognitoidentity#InternalErrorException\":\n throw await de_InternalErrorExceptionRes(parsedOutput, context);\n case \"InvalidParameterException\":\n case \"com.amazonaws.cognitoidentity#InvalidParameterException\":\n throw await de_InvalidParameterExceptionRes(parsedOutput, context);\n case \"LimitExceededException\":\n case \"com.amazonaws.cognitoidentity#LimitExceededException\":\n throw await de_LimitExceededExceptionRes(parsedOutput, context);\n case \"NotAuthorizedException\":\n case \"com.amazonaws.cognitoidentity#NotAuthorizedException\":\n throw await de_NotAuthorizedExceptionRes(parsedOutput, context);\n case \"ResourceConflictException\":\n case \"com.amazonaws.cognitoidentity#ResourceConflictException\":\n throw await de_ResourceConflictExceptionRes(parsedOutput, context);\n case \"ResourceNotFoundException\":\n case \"com.amazonaws.cognitoidentity#ResourceNotFoundException\":\n throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);\n case \"TooManyRequestsException\":\n case \"com.amazonaws.cognitoidentity#TooManyRequestsException\":\n throw await de_TooManyRequestsExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n }\n};\nexport const de_GetIdentityPoolRolesCommand = async (output, context) => {\n if (output.statusCode >= 300) {\n return de_GetIdentityPoolRolesCommandError(output, context);\n }\n const data = await parseBody(output.body, context);\n let contents = {};\n contents = _json(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents,\n };\n return response;\n};\nconst de_GetIdentityPoolRolesCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"InternalErrorException\":\n case \"com.amazonaws.cognitoidentity#InternalErrorException\":\n throw await de_InternalErrorExceptionRes(parsedOutput, context);\n case \"InvalidParameterException\":\n case \"com.amazonaws.cognitoidentity#InvalidParameterException\":\n throw await de_InvalidParameterExceptionRes(parsedOutput, context);\n case \"NotAuthorizedException\":\n case \"com.amazonaws.cognitoidentity#NotAuthorizedException\":\n throw await de_NotAuthorizedExceptionRes(parsedOutput, context);\n case \"ResourceConflictException\":\n case \"com.amazonaws.cognitoidentity#ResourceConflictException\":\n throw await de_ResourceConflictExceptionRes(parsedOutput, context);\n case \"ResourceNotFoundException\":\n case \"com.amazonaws.cognitoidentity#ResourceNotFoundException\":\n throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);\n case \"TooManyRequestsException\":\n case \"com.amazonaws.cognitoidentity#TooManyRequestsException\":\n throw await de_TooManyRequestsExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n }\n};\nexport const de_GetOpenIdTokenCommand = async (output, context) => {\n if (output.statusCode >= 300) {\n return de_GetOpenIdTokenCommandError(output, context);\n }\n const data = await parseBody(output.body, context);\n let contents = {};\n contents = _json(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents,\n };\n return response;\n};\nconst de_GetOpenIdTokenCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"ExternalServiceException\":\n case \"com.amazonaws.cognitoidentity#ExternalServiceException\":\n throw await de_ExternalServiceExceptionRes(parsedOutput, context);\n case \"InternalErrorException\":\n case \"com.amazonaws.cognitoidentity#InternalErrorException\":\n throw await de_InternalErrorExceptionRes(parsedOutput, context);\n case \"InvalidParameterException\":\n case \"com.amazonaws.cognitoidentity#InvalidParameterException\":\n throw await de_InvalidParameterExceptionRes(parsedOutput, context);\n case \"NotAuthorizedException\":\n case \"com.amazonaws.cognitoidentity#NotAuthorizedException\":\n throw await de_NotAuthorizedExceptionRes(parsedOutput, context);\n case \"ResourceConflictException\":\n case \"com.amazonaws.cognitoidentity#ResourceConflictException\":\n throw await de_ResourceConflictExceptionRes(parsedOutput, context);\n case \"ResourceNotFoundException\":\n case \"com.amazonaws.cognitoidentity#ResourceNotFoundException\":\n throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);\n case \"TooManyRequestsException\":\n case \"com.amazonaws.cognitoidentity#TooManyRequestsException\":\n throw await de_TooManyRequestsExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n }\n};\nexport const de_GetOpenIdTokenForDeveloperIdentityCommand = async (output, context) => {\n if (output.statusCode >= 300) {\n return de_GetOpenIdTokenForDeveloperIdentityCommandError(output, context);\n }\n const data = await parseBody(output.body, context);\n let contents = {};\n contents = _json(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents,\n };\n return response;\n};\nconst de_GetOpenIdTokenForDeveloperIdentityCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"DeveloperUserAlreadyRegisteredException\":\n case \"com.amazonaws.cognitoidentity#DeveloperUserAlreadyRegisteredException\":\n throw await de_DeveloperUserAlreadyRegisteredExceptionRes(parsedOutput, context);\n case \"InternalErrorException\":\n case \"com.amazonaws.cognitoidentity#InternalErrorException\":\n throw await de_InternalErrorExceptionRes(parsedOutput, context);\n case \"InvalidParameterException\":\n case \"com.amazonaws.cognitoidentity#InvalidParameterException\":\n throw await de_InvalidParameterExceptionRes(parsedOutput, context);\n case \"NotAuthorizedException\":\n case \"com.amazonaws.cognitoidentity#NotAuthorizedException\":\n throw await de_NotAuthorizedExceptionRes(parsedOutput, context);\n case \"ResourceConflictException\":\n case \"com.amazonaws.cognitoidentity#ResourceConflictException\":\n throw await de_ResourceConflictExceptionRes(parsedOutput, context);\n case \"ResourceNotFoundException\":\n case \"com.amazonaws.cognitoidentity#ResourceNotFoundException\":\n throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);\n case \"TooManyRequestsException\":\n case \"com.amazonaws.cognitoidentity#TooManyRequestsException\":\n throw await de_TooManyRequestsExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n }\n};\nexport const de_GetPrincipalTagAttributeMapCommand = async (output, context) => {\n if (output.statusCode >= 300) {\n return de_GetPrincipalTagAttributeMapCommandError(output, context);\n }\n const data = await parseBody(output.body, context);\n let contents = {};\n contents = _json(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents,\n };\n return response;\n};\nconst de_GetPrincipalTagAttributeMapCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"InternalErrorException\":\n case \"com.amazonaws.cognitoidentity#InternalErrorException\":\n throw await de_InternalErrorExceptionRes(parsedOutput, context);\n case \"InvalidParameterException\":\n case \"com.amazonaws.cognitoidentity#InvalidParameterException\":\n throw await de_InvalidParameterExceptionRes(parsedOutput, context);\n case \"NotAuthorizedException\":\n case \"com.amazonaws.cognitoidentity#NotAuthorizedException\":\n throw await de_NotAuthorizedExceptionRes(parsedOutput, context);\n case \"ResourceNotFoundException\":\n case \"com.amazonaws.cognitoidentity#ResourceNotFoundException\":\n throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);\n case \"TooManyRequestsException\":\n case \"com.amazonaws.cognitoidentity#TooManyRequestsException\":\n throw await de_TooManyRequestsExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n }\n};\nexport const de_ListIdentitiesCommand = async (output, context) => {\n if (output.statusCode >= 300) {\n return de_ListIdentitiesCommandError(output, context);\n }\n const data = await parseBody(output.body, context);\n let contents = {};\n contents = de_ListIdentitiesResponse(data, context);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents,\n };\n return response;\n};\nconst de_ListIdentitiesCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"InternalErrorException\":\n case \"com.amazonaws.cognitoidentity#InternalErrorException\":\n throw await de_InternalErrorExceptionRes(parsedOutput, context);\n case \"InvalidParameterException\":\n case \"com.amazonaws.cognitoidentity#InvalidParameterException\":\n throw await de_InvalidParameterExceptionRes(parsedOutput, context);\n case \"NotAuthorizedException\":\n case \"com.amazonaws.cognitoidentity#NotAuthorizedException\":\n throw await de_NotAuthorizedExceptionRes(parsedOutput, context);\n case \"ResourceNotFoundException\":\n case \"com.amazonaws.cognitoidentity#ResourceNotFoundException\":\n throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);\n case \"TooManyRequestsException\":\n case \"com.amazonaws.cognitoidentity#TooManyRequestsException\":\n throw await de_TooManyRequestsExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n }\n};\nexport const de_ListIdentityPoolsCommand = async (output, context) => {\n if (output.statusCode >= 300) {\n return de_ListIdentityPoolsCommandError(output, context);\n }\n const data = await parseBody(output.body, context);\n let contents = {};\n contents = _json(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents,\n };\n return response;\n};\nconst de_ListIdentityPoolsCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"InternalErrorException\":\n case \"com.amazonaws.cognitoidentity#InternalErrorException\":\n throw await de_InternalErrorExceptionRes(parsedOutput, context);\n case \"InvalidParameterException\":\n case \"com.amazonaws.cognitoidentity#InvalidParameterException\":\n throw await de_InvalidParameterExceptionRes(parsedOutput, context);\n case \"NotAuthorizedException\":\n case \"com.amazonaws.cognitoidentity#NotAuthorizedException\":\n throw await de_NotAuthorizedExceptionRes(parsedOutput, context);\n case \"ResourceNotFoundException\":\n case \"com.amazonaws.cognitoidentity#ResourceNotFoundException\":\n throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);\n case \"TooManyRequestsException\":\n case \"com.amazonaws.cognitoidentity#TooManyRequestsException\":\n throw await de_TooManyRequestsExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n }\n};\nexport const de_ListTagsForResourceCommand = async (output, context) => {\n if (output.statusCode >= 300) {\n return de_ListTagsForResourceCommandError(output, context);\n }\n const data = await parseBody(output.body, context);\n let contents = {};\n contents = _json(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents,\n };\n return response;\n};\nconst de_ListTagsForResourceCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"InternalErrorException\":\n case \"com.amazonaws.cognitoidentity#InternalErrorException\":\n throw await de_InternalErrorExceptionRes(parsedOutput, context);\n case \"InvalidParameterException\":\n case \"com.amazonaws.cognitoidentity#InvalidParameterException\":\n throw await de_InvalidParameterExceptionRes(parsedOutput, context);\n case \"NotAuthorizedException\":\n case \"com.amazonaws.cognitoidentity#NotAuthorizedException\":\n throw await de_NotAuthorizedExceptionRes(parsedOutput, context);\n case \"ResourceNotFoundException\":\n case \"com.amazonaws.cognitoidentity#ResourceNotFoundException\":\n throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);\n case \"TooManyRequestsException\":\n case \"com.amazonaws.cognitoidentity#TooManyRequestsException\":\n throw await de_TooManyRequestsExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n }\n};\nexport const de_LookupDeveloperIdentityCommand = async (output, context) => {\n if (output.statusCode >= 300) {\n return de_LookupDeveloperIdentityCommandError(output, context);\n }\n const data = await parseBody(output.body, context);\n let contents = {};\n contents = _json(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents,\n };\n return response;\n};\nconst de_LookupDeveloperIdentityCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"InternalErrorException\":\n case \"com.amazonaws.cognitoidentity#InternalErrorException\":\n throw await de_InternalErrorExceptionRes(parsedOutput, context);\n case \"InvalidParameterException\":\n case \"com.amazonaws.cognitoidentity#InvalidParameterException\":\n throw await de_InvalidParameterExceptionRes(parsedOutput, context);\n case \"NotAuthorizedException\":\n case \"com.amazonaws.cognitoidentity#NotAuthorizedException\":\n throw await de_NotAuthorizedExceptionRes(parsedOutput, context);\n case \"ResourceConflictException\":\n case \"com.amazonaws.cognitoidentity#ResourceConflictException\":\n throw await de_ResourceConflictExceptionRes(parsedOutput, context);\n case \"ResourceNotFoundException\":\n case \"com.amazonaws.cognitoidentity#ResourceNotFoundException\":\n throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);\n case \"TooManyRequestsException\":\n case \"com.amazonaws.cognitoidentity#TooManyRequestsException\":\n throw await de_TooManyRequestsExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n }\n};\nexport const de_MergeDeveloperIdentitiesCommand = async (output, context) => {\n if (output.statusCode >= 300) {\n return de_MergeDeveloperIdentitiesCommandError(output, context);\n }\n const data = await parseBody(output.body, context);\n let contents = {};\n contents = _json(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents,\n };\n return response;\n};\nconst de_MergeDeveloperIdentitiesCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"InternalErrorException\":\n case \"com.amazonaws.cognitoidentity#InternalErrorException\":\n throw await de_InternalErrorExceptionRes(parsedOutput, context);\n case \"InvalidParameterException\":\n case \"com.amazonaws.cognitoidentity#InvalidParameterException\":\n throw await de_InvalidParameterExceptionRes(parsedOutput, context);\n case \"NotAuthorizedException\":\n case \"com.amazonaws.cognitoidentity#NotAuthorizedException\":\n throw await de_NotAuthorizedExceptionRes(parsedOutput, context);\n case \"ResourceConflictException\":\n case \"com.amazonaws.cognitoidentity#ResourceConflictException\":\n throw await de_ResourceConflictExceptionRes(parsedOutput, context);\n case \"ResourceNotFoundException\":\n case \"com.amazonaws.cognitoidentity#ResourceNotFoundException\":\n throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);\n case \"TooManyRequestsException\":\n case \"com.amazonaws.cognitoidentity#TooManyRequestsException\":\n throw await de_TooManyRequestsExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n }\n};\nexport const de_SetIdentityPoolRolesCommand = async (output, context) => {\n if (output.statusCode >= 300) {\n return de_SetIdentityPoolRolesCommandError(output, context);\n }\n await collectBody(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output),\n };\n return response;\n};\nconst de_SetIdentityPoolRolesCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"ConcurrentModificationException\":\n case \"com.amazonaws.cognitoidentity#ConcurrentModificationException\":\n throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);\n case \"InternalErrorException\":\n case \"com.amazonaws.cognitoidentity#InternalErrorException\":\n throw await de_InternalErrorExceptionRes(parsedOutput, context);\n case \"InvalidParameterException\":\n case \"com.amazonaws.cognitoidentity#InvalidParameterException\":\n throw await de_InvalidParameterExceptionRes(parsedOutput, context);\n case \"NotAuthorizedException\":\n case \"com.amazonaws.cognitoidentity#NotAuthorizedException\":\n throw await de_NotAuthorizedExceptionRes(parsedOutput, context);\n case \"ResourceConflictException\":\n case \"com.amazonaws.cognitoidentity#ResourceConflictException\":\n throw await de_ResourceConflictExceptionRes(parsedOutput, context);\n case \"ResourceNotFoundException\":\n case \"com.amazonaws.cognitoidentity#ResourceNotFoundException\":\n throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);\n case \"TooManyRequestsException\":\n case \"com.amazonaws.cognitoidentity#TooManyRequestsException\":\n throw await de_TooManyRequestsExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n }\n};\nexport const de_SetPrincipalTagAttributeMapCommand = async (output, context) => {\n if (output.statusCode >= 300) {\n return de_SetPrincipalTagAttributeMapCommandError(output, context);\n }\n const data = await parseBody(output.body, context);\n let contents = {};\n contents = _json(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents,\n };\n return response;\n};\nconst de_SetPrincipalTagAttributeMapCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"InternalErrorException\":\n case \"com.amazonaws.cognitoidentity#InternalErrorException\":\n throw await de_InternalErrorExceptionRes(parsedOutput, context);\n case \"InvalidParameterException\":\n case \"com.amazonaws.cognitoidentity#InvalidParameterException\":\n throw await de_InvalidParameterExceptionRes(parsedOutput, context);\n case \"NotAuthorizedException\":\n case \"com.amazonaws.cognitoidentity#NotAuthorizedException\":\n throw await de_NotAuthorizedExceptionRes(parsedOutput, context);\n case \"ResourceNotFoundException\":\n case \"com.amazonaws.cognitoidentity#ResourceNotFoundException\":\n throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);\n case \"TooManyRequestsException\":\n case \"com.amazonaws.cognitoidentity#TooManyRequestsException\":\n throw await de_TooManyRequestsExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n }\n};\nexport const de_TagResourceCommand = async (output, context) => {\n if (output.statusCode >= 300) {\n return de_TagResourceCommandError(output, context);\n }\n const data = await parseBody(output.body, context);\n let contents = {};\n contents = _json(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents,\n };\n return response;\n};\nconst de_TagResourceCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"InternalErrorException\":\n case \"com.amazonaws.cognitoidentity#InternalErrorException\":\n throw await de_InternalErrorExceptionRes(parsedOutput, context);\n case \"InvalidParameterException\":\n case \"com.amazonaws.cognitoidentity#InvalidParameterException\":\n throw await de_InvalidParameterExceptionRes(parsedOutput, context);\n case \"NotAuthorizedException\":\n case \"com.amazonaws.cognitoidentity#NotAuthorizedException\":\n throw await de_NotAuthorizedExceptionRes(parsedOutput, context);\n case \"ResourceNotFoundException\":\n case \"com.amazonaws.cognitoidentity#ResourceNotFoundException\":\n throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);\n case \"TooManyRequestsException\":\n case \"com.amazonaws.cognitoidentity#TooManyRequestsException\":\n throw await de_TooManyRequestsExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n }\n};\nexport const de_UnlinkDeveloperIdentityCommand = async (output, context) => {\n if (output.statusCode >= 300) {\n return de_UnlinkDeveloperIdentityCommandError(output, context);\n }\n await collectBody(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output),\n };\n return response;\n};\nconst de_UnlinkDeveloperIdentityCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"InternalErrorException\":\n case \"com.amazonaws.cognitoidentity#InternalErrorException\":\n throw await de_InternalErrorExceptionRes(parsedOutput, context);\n case \"InvalidParameterException\":\n case \"com.amazonaws.cognitoidentity#InvalidParameterException\":\n throw await de_InvalidParameterExceptionRes(parsedOutput, context);\n case \"NotAuthorizedException\":\n case \"com.amazonaws.cognitoidentity#NotAuthorizedException\":\n throw await de_NotAuthorizedExceptionRes(parsedOutput, context);\n case \"ResourceConflictException\":\n case \"com.amazonaws.cognitoidentity#ResourceConflictException\":\n throw await de_ResourceConflictExceptionRes(parsedOutput, context);\n case \"ResourceNotFoundException\":\n case \"com.amazonaws.cognitoidentity#ResourceNotFoundException\":\n throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);\n case \"TooManyRequestsException\":\n case \"com.amazonaws.cognitoidentity#TooManyRequestsException\":\n throw await de_TooManyRequestsExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n }\n};\nexport const de_UnlinkIdentityCommand = async (output, context) => {\n if (output.statusCode >= 300) {\n return de_UnlinkIdentityCommandError(output, context);\n }\n await collectBody(output.body, context);\n const response = {\n $metadata: deserializeMetadata(output),\n };\n return response;\n};\nconst de_UnlinkIdentityCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"ExternalServiceException\":\n case \"com.amazonaws.cognitoidentity#ExternalServiceException\":\n throw await de_ExternalServiceExceptionRes(parsedOutput, context);\n case \"InternalErrorException\":\n case \"com.amazonaws.cognitoidentity#InternalErrorException\":\n throw await de_InternalErrorExceptionRes(parsedOutput, context);\n case \"InvalidParameterException\":\n case \"com.amazonaws.cognitoidentity#InvalidParameterException\":\n throw await de_InvalidParameterExceptionRes(parsedOutput, context);\n case \"NotAuthorizedException\":\n case \"com.amazonaws.cognitoidentity#NotAuthorizedException\":\n throw await de_NotAuthorizedExceptionRes(parsedOutput, context);\n case \"ResourceConflictException\":\n case \"com.amazonaws.cognitoidentity#ResourceConflictException\":\n throw await de_ResourceConflictExceptionRes(parsedOutput, context);\n case \"ResourceNotFoundException\":\n case \"com.amazonaws.cognitoidentity#ResourceNotFoundException\":\n throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);\n case \"TooManyRequestsException\":\n case \"com.amazonaws.cognitoidentity#TooManyRequestsException\":\n throw await de_TooManyRequestsExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n }\n};\nexport const de_UntagResourceCommand = async (output, context) => {\n if (output.statusCode >= 300) {\n return de_UntagResourceCommandError(output, context);\n }\n const data = await parseBody(output.body, context);\n let contents = {};\n contents = _json(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents,\n };\n return response;\n};\nconst de_UntagResourceCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"InternalErrorException\":\n case \"com.amazonaws.cognitoidentity#InternalErrorException\":\n throw await de_InternalErrorExceptionRes(parsedOutput, context);\n case \"InvalidParameterException\":\n case \"com.amazonaws.cognitoidentity#InvalidParameterException\":\n throw await de_InvalidParameterExceptionRes(parsedOutput, context);\n case \"NotAuthorizedException\":\n case \"com.amazonaws.cognitoidentity#NotAuthorizedException\":\n throw await de_NotAuthorizedExceptionRes(parsedOutput, context);\n case \"ResourceNotFoundException\":\n case \"com.amazonaws.cognitoidentity#ResourceNotFoundException\":\n throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);\n case \"TooManyRequestsException\":\n case \"com.amazonaws.cognitoidentity#TooManyRequestsException\":\n throw await de_TooManyRequestsExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n }\n};\nexport const de_UpdateIdentityPoolCommand = async (output, context) => {\n if (output.statusCode >= 300) {\n return de_UpdateIdentityPoolCommandError(output, context);\n }\n const data = await parseBody(output.body, context);\n let contents = {};\n contents = _json(data);\n const response = {\n $metadata: deserializeMetadata(output),\n ...contents,\n };\n return response;\n};\nconst de_UpdateIdentityPoolCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"ConcurrentModificationException\":\n case \"com.amazonaws.cognitoidentity#ConcurrentModificationException\":\n throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);\n case \"InternalErrorException\":\n case \"com.amazonaws.cognitoidentity#InternalErrorException\":\n throw await de_InternalErrorExceptionRes(parsedOutput, context);\n case \"InvalidParameterException\":\n case \"com.amazonaws.cognitoidentity#InvalidParameterException\":\n throw await de_InvalidParameterExceptionRes(parsedOutput, context);\n case \"LimitExceededException\":\n case \"com.amazonaws.cognitoidentity#LimitExceededException\":\n throw await de_LimitExceededExceptionRes(parsedOutput, context);\n case \"NotAuthorizedException\":\n case \"com.amazonaws.cognitoidentity#NotAuthorizedException\":\n throw await de_NotAuthorizedExceptionRes(parsedOutput, context);\n case \"ResourceConflictException\":\n case \"com.amazonaws.cognitoidentity#ResourceConflictException\":\n throw await de_ResourceConflictExceptionRes(parsedOutput, context);\n case \"ResourceNotFoundException\":\n case \"com.amazonaws.cognitoidentity#ResourceNotFoundException\":\n throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);\n case \"TooManyRequestsException\":\n case \"com.amazonaws.cognitoidentity#TooManyRequestsException\":\n throw await de_TooManyRequestsExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n }\n};\nconst de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = _json(body);\n const exception = new ConcurrentModificationException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized,\n });\n return __decorateServiceException(exception, body);\n};\nconst de_DeveloperUserAlreadyRegisteredExceptionRes = async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = _json(body);\n const exception = new DeveloperUserAlreadyRegisteredException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized,\n });\n return __decorateServiceException(exception, body);\n};\nconst de_ExternalServiceExceptionRes = async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = _json(body);\n const exception = new ExternalServiceException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized,\n });\n return __decorateServiceException(exception, body);\n};\nconst de_InternalErrorExceptionRes = async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = _json(body);\n const exception = new InternalErrorException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized,\n });\n return __decorateServiceException(exception, body);\n};\nconst de_InvalidIdentityPoolConfigurationExceptionRes = async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = _json(body);\n const exception = new InvalidIdentityPoolConfigurationException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized,\n });\n return __decorateServiceException(exception, body);\n};\nconst de_InvalidParameterExceptionRes = async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = _json(body);\n const exception = new InvalidParameterException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized,\n });\n return __decorateServiceException(exception, body);\n};\nconst de_LimitExceededExceptionRes = async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = _json(body);\n const exception = new LimitExceededException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized,\n });\n return __decorateServiceException(exception, body);\n};\nconst de_NotAuthorizedExceptionRes = async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = _json(body);\n const exception = new NotAuthorizedException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized,\n });\n return __decorateServiceException(exception, body);\n};\nconst de_ResourceConflictExceptionRes = async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = _json(body);\n const exception = new ResourceConflictException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized,\n });\n return __decorateServiceException(exception, body);\n};\nconst de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = _json(body);\n const exception = new ResourceNotFoundException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized,\n });\n return __decorateServiceException(exception, body);\n};\nconst de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {\n const body = parsedOutput.body;\n const deserialized = _json(body);\n const exception = new TooManyRequestsException({\n $metadata: deserializeMetadata(parsedOutput),\n ...deserialized,\n });\n return __decorateServiceException(exception, body);\n};\nconst de_Credentials = (output, context) => {\n return take(output, {\n AccessKeyId: __expectString,\n Expiration: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),\n SecretKey: __expectString,\n SessionToken: __expectString,\n });\n};\nconst de_GetCredentialsForIdentityResponse = (output, context) => {\n return take(output, {\n Credentials: (_) => de_Credentials(_, context),\n IdentityId: __expectString,\n });\n};\nconst de_IdentitiesList = (output, context) => {\n const retVal = (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n return de_IdentityDescription(entry, context);\n });\n return retVal;\n};\nconst de_IdentityDescription = (output, context) => {\n return take(output, {\n CreationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),\n IdentityId: __expectString,\n LastModifiedDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),\n Logins: _json,\n });\n};\nconst de_ListIdentitiesResponse = (output, context) => {\n return take(output, {\n Identities: (_) => de_IdentitiesList(_, context),\n IdentityPoolId: __expectString,\n NextToken: __expectString,\n });\n};\nconst deserializeMetadata = (output) => ({\n httpStatusCode: output.statusCode,\n requestId: output.headers[\"x-amzn-requestid\"] ?? output.headers[\"x-amzn-request-id\"] ?? output.headers[\"x-amz-request-id\"],\n extendedRequestId: output.headers[\"x-amz-id-2\"],\n cfId: output.headers[\"x-amz-cf-id\"],\n});\nconst collectBody = (streamBody = new Uint8Array(), context) => {\n if (streamBody instanceof Uint8Array) {\n return Promise.resolve(streamBody);\n }\n return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());\n};\nconst collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));\nconst throwDefaultError = withBaseException(__BaseException);\nconst buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {\n const { hostname, protocol = \"https\", port, path: basePath } = await context.endpoint();\n const contents = {\n protocol,\n hostname,\n port,\n method: \"POST\",\n path: basePath.endsWith(\"/\") ? basePath.slice(0, -1) + path : basePath + path,\n headers,\n };\n if (resolvedHostname !== undefined) {\n contents.hostname = resolvedHostname;\n }\n if (body !== undefined) {\n contents.body = body;\n }\n return new __HttpRequest(contents);\n};\nfunction sharedHeaders(operation) {\n return {\n \"content-type\": \"application/x-amz-json-1.1\",\n \"x-amz-target\": `AWSCognitoIdentityService.${operation}`,\n };\n}\nconst parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {\n if (encoded.length) {\n return JSON.parse(encoded);\n }\n return {};\n});\nconst parseErrorBody = async (errorBody, context) => {\n const value = await parseBody(errorBody, context);\n value.message = value.message ?? value.Message;\n return value;\n};\nconst loadRestJsonErrorCode = (output, data) => {\n const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());\n const sanitizeErrorCode = (rawValue) => {\n let cleanValue = rawValue;\n if (typeof cleanValue === \"number\") {\n cleanValue = cleanValue.toString();\n }\n if (cleanValue.indexOf(\",\") >= 0) {\n cleanValue = cleanValue.split(\",\")[0];\n }\n if (cleanValue.indexOf(\":\") >= 0) {\n cleanValue = cleanValue.split(\":\")[0];\n }\n if (cleanValue.indexOf(\"#\") >= 0) {\n cleanValue = cleanValue.split(\"#\")[1];\n }\n return cleanValue;\n };\n const headerKey = findKey(output.headers, \"x-amzn-errortype\");\n if (headerKey !== undefined) {\n return sanitizeErrorCode(output.headers[headerKey]);\n }\n if (data.code !== undefined) {\n return sanitizeErrorCode(data.code);\n }\n if (data[\"__type\"] !== undefined) {\n return sanitizeErrorCode(data[\"__type\"]);\n }\n};\n","import { getEndpointPlugin } from \"@aws-sdk/middleware-endpoint\";\nimport { getSerdePlugin } from \"@aws-sdk/middleware-serde\";\nimport { Command as $Command } from \"@aws-sdk/smithy-client\";\nimport { de_GetIdCommand, se_GetIdCommand } from \"../protocols/Aws_json1_1\";\nexport { $Command };\nexport class GetIdCommand extends $Command {\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" },\n };\n }\n constructor(input) {\n super();\n this.input = input;\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use(getEndpointPlugin(configuration, GetIdCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = \"CognitoIdentityClient\";\n const commandName = \"GetIdCommand\";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: (_) => _,\n outputFilterSensitiveLog: (_) => _,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return se_GetIdCommand(input, context);\n }\n deserialize(output, context) {\n return de_GetIdCommand(output, context);\n }\n}\n","export class ProviderError extends Error {\n constructor(message, tryNextLink = true) {\n super(message);\n this.tryNextLink = tryNextLink;\n this.name = \"ProviderError\";\n Object.setPrototypeOf(this, ProviderError.prototype);\n }\n static from(error, tryNextLink = true) {\n return Object.assign(new this(error.message, tryNextLink), error);\n }\n}\n","import { ProviderError } from \"./ProviderError\";\nexport class CredentialsProviderError extends ProviderError {\n constructor(message, tryNextLink = true) {\n super(message, tryNextLink);\n this.tryNextLink = tryNextLink;\n this.name = \"CredentialsProviderError\";\n Object.setPrototypeOf(this, CredentialsProviderError.prototype);\n }\n}\n","export const memoize = (provider, isExpired, requiresRefresh) => {\n let resolved;\n let pending;\n let hasResult;\n let isConstant = false;\n const coalesceProvider = async () => {\n if (!pending) {\n pending = provider();\n }\n try {\n resolved = await pending;\n hasResult = true;\n isConstant = false;\n }\n finally {\n pending = undefined;\n }\n return resolved;\n };\n if (isExpired === undefined) {\n return async (options) => {\n if (!hasResult || options?.forceRefresh) {\n resolved = await coalesceProvider();\n }\n return resolved;\n };\n }\n return async (options) => {\n if (!hasResult || options?.forceRefresh) {\n resolved = await coalesceProvider();\n }\n if (isConstant) {\n return resolved;\n }\n if (requiresRefresh && !requiresRefresh(resolved)) {\n isConstant = true;\n return resolved;\n }\n if (isExpired(resolved)) {\n await coalesceProvider();\n return resolved;\n }\n return resolved;\n };\n};\n","import { getEndpointPlugin } from \"@aws-sdk/middleware-endpoint\";\nimport { getSerdePlugin } from \"@aws-sdk/middleware-serde\";\nimport { Command as $Command } from \"@aws-sdk/smithy-client\";\nimport { de_GetCredentialsForIdentityCommand, se_GetCredentialsForIdentityCommand } from \"../protocols/Aws_json1_1\";\nexport { $Command };\nexport class GetCredentialsForIdentityCommand extends $Command {\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" },\n };\n }\n constructor(input) {\n super();\n this.input = input;\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use(getEndpointPlugin(configuration, GetCredentialsForIdentityCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = \"CognitoIdentityClient\";\n const commandName = \"GetCredentialsForIdentityCommand\";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: (_) => _,\n outputFilterSensitiveLog: (_) => _,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return se_GetCredentialsForIdentityCommand(input, context);\n }\n deserialize(output, context) {\n return de_GetCredentialsForIdentityCommand(output, context);\n }\n}\n","export function resolveLogins(logins) {\n return Promise.all(Object.keys(logins).reduce((arr, name) => {\n const tokenOrProvider = logins[name];\n if (typeof tokenOrProvider === \"string\") {\n arr.push([name, tokenOrProvider]);\n }\n else {\n arr.push(tokenOrProvider().then((token) => [name, token]));\n }\n return arr;\n }, [])).then((resolvedPairs) => resolvedPairs.reduce((logins, [key, value]) => {\n logins[key] = value;\n return logins;\n }, {}));\n}\n","import { GetCredentialsForIdentityCommand } from \"@aws-sdk/client-cognito-identity\";\nimport { CredentialsProviderError } from \"@aws-sdk/property-provider\";\nimport { resolveLogins } from \"./resolveLogins\";\nexport function fromCognitoIdentity(parameters) {\n return async () => {\n const { Credentials: { AccessKeyId = throwOnMissingAccessKeyId(), Expiration, SecretKey = throwOnMissingSecretKey(), SessionToken, } = throwOnMissingCredentials(), } = await parameters.client.send(new GetCredentialsForIdentityCommand({\n CustomRoleArn: parameters.customRoleArn,\n IdentityId: parameters.identityId,\n Logins: parameters.logins ? await resolveLogins(parameters.logins) : undefined,\n }));\n return {\n identityId: parameters.identityId,\n accessKeyId: AccessKeyId,\n secretAccessKey: SecretKey,\n sessionToken: SessionToken,\n expiration: Expiration,\n };\n };\n}\nfunction throwOnMissingAccessKeyId() {\n throw new CredentialsProviderError(\"Response from Amazon Cognito contained no access key ID\");\n}\nfunction throwOnMissingCredentials() {\n throw new CredentialsProviderError(\"Response from Amazon Cognito contained no credentials\");\n}\nfunction throwOnMissingSecretKey() {\n throw new CredentialsProviderError(\"Response from Amazon Cognito contained no secret key\");\n}\n","const STORE_NAME = \"IdentityIds\";\nexport class IndexedDbStorage {\n constructor(dbName = \"aws:cognito-identity-ids\") {\n this.dbName = dbName;\n }\n getItem(key) {\n return this.withObjectStore(\"readonly\", (store) => {\n const req = store.get(key);\n return new Promise((resolve) => {\n req.onerror = () => resolve(null);\n req.onsuccess = () => resolve(req.result ? req.result.value : null);\n });\n }).catch(() => null);\n }\n removeItem(key) {\n return this.withObjectStore(\"readwrite\", (store) => {\n const req = store.delete(key);\n return new Promise((resolve, reject) => {\n req.onerror = () => reject(req.error);\n req.onsuccess = () => resolve();\n });\n });\n }\n setItem(id, value) {\n return this.withObjectStore(\"readwrite\", (store) => {\n const req = store.put({ id, value });\n return new Promise((resolve, reject) => {\n req.onerror = () => reject(req.error);\n req.onsuccess = () => resolve();\n });\n });\n }\n getDb() {\n const openDbRequest = self.indexedDB.open(this.dbName, 1);\n return new Promise((resolve, reject) => {\n openDbRequest.onsuccess = () => {\n resolve(openDbRequest.result);\n };\n openDbRequest.onerror = () => {\n reject(openDbRequest.error);\n };\n openDbRequest.onblocked = () => {\n reject(new Error(\"Unable to access DB\"));\n };\n openDbRequest.onupgradeneeded = () => {\n const db = openDbRequest.result;\n db.onerror = () => {\n reject(new Error(\"Failed to create object store\"));\n };\n db.createObjectStore(STORE_NAME, { keyPath: \"id\" });\n };\n });\n }\n withObjectStore(mode, action) {\n return this.getDb().then((db) => {\n const tx = db.transaction(STORE_NAME, mode);\n tx.oncomplete = () => db.close();\n return new Promise((resolve, reject) => {\n tx.onerror = () => reject(tx.error);\n resolve(action(tx.objectStore(STORE_NAME)));\n }).catch((err) => {\n db.close();\n throw err;\n });\n });\n }\n}\n","export class InMemoryStorage {\n constructor(store = {}) {\n this.store = store;\n }\n getItem(key) {\n if (key in this.store) {\n return this.store[key];\n }\n return null;\n }\n removeItem(key) {\n delete this.store[key];\n }\n setItem(key, value) {\n this.store[key] = value;\n }\n}\n","import { IndexedDbStorage } from \"./IndexedDbStorage\";\nimport { InMemoryStorage } from \"./InMemoryStorage\";\nconst inMemoryStorage = new InMemoryStorage();\nexport function localStorage() {\n if (typeof self === \"object\" && self.indexedDB) {\n return new IndexedDbStorage();\n }\n if (typeof window === \"object\" && window.localStorage) {\n return window.localStorage;\n }\n return inMemoryStorage;\n}\n","import { GetIdCommand } from \"@aws-sdk/client-cognito-identity\";\nimport { CredentialsProviderError } from \"@aws-sdk/property-provider\";\nimport { fromCognitoIdentity } from \"./fromCognitoIdentity\";\nimport { localStorage } from \"./localStorage\";\nimport { resolveLogins } from \"./resolveLogins\";\nexport function fromCognitoIdentityPool({ accountId, cache = localStorage(), client, customRoleArn, identityPoolId, logins, userIdentifier = !logins || Object.keys(logins).length === 0 ? \"ANONYMOUS\" : undefined, }) {\n const cacheKey = userIdentifier ? `aws:cognito-identity-credentials:${identityPoolId}:${userIdentifier}` : undefined;\n let provider = async () => {\n let identityId = cacheKey && (await cache.getItem(cacheKey));\n if (!identityId) {\n const { IdentityId = throwOnMissingId() } = await client.send(new GetIdCommand({\n AccountId: accountId,\n IdentityPoolId: identityPoolId,\n Logins: logins ? await resolveLogins(logins) : undefined,\n }));\n identityId = IdentityId;\n if (cacheKey) {\n Promise.resolve(cache.setItem(cacheKey, identityId)).catch(() => { });\n }\n }\n provider = fromCognitoIdentity({\n client,\n customRoleArn,\n logins,\n identityId,\n });\n return provider();\n };\n return () => provider().catch(async (err) => {\n if (cacheKey) {\n Promise.resolve(cache.removeItem(cacheKey)).catch(() => { });\n }\n throw err;\n });\n}\nfunction throwOnMissingId() {\n throw new CredentialsProviderError(\"Response from Amazon Cognito contained no identity ID\");\n}\n","export var SelectorType;\n(function (SelectorType) {\n SelectorType[\"ENV\"] = \"env\";\n SelectorType[\"CONFIG\"] = \"shared config entry\";\n})(SelectorType || (SelectorType = {}));\nexport const booleanSelector = (obj, key, type) => {\n if (!(key in obj))\n return undefined;\n if (obj[key] === \"true\")\n return true;\n if (obj[key] === \"false\")\n return false;\n throw new Error(`Cannot load ${type} \"${key}\". Expected \"true\" or \"false\", got ${obj[key]}.`);\n};\n","export const isFipsRegion = (region) => typeof region === \"string\" && (region.startsWith(\"fips-\") || region.endsWith(\"-fips\"));\n","import { isFipsRegion } from \"./isFipsRegion\";\nexport const getRealRegion = (region) => isFipsRegion(region)\n ? [\"fips-aws-global\", \"aws-fips\"].includes(region)\n ? \"us-east-1\"\n : region.replace(/fips-(dkr-|prod-)?|-fips/, \"\")\n : region;\n","import { getRealRegion } from \"./getRealRegion\";\nimport { isFipsRegion } from \"./isFipsRegion\";\nexport const resolveRegionConfig = (input) => {\n const { region, useFipsEndpoint } = input;\n if (!region) {\n throw new Error(\"Region is missing\");\n }\n return {\n ...input,\n region: async () => {\n if (typeof region === \"string\") {\n return getRealRegion(region);\n }\n const providedRegion = await region();\n return getRealRegion(providedRegion);\n },\n useFipsEndpoint: async () => {\n const providedRegion = typeof region === \"string\" ? region : await region();\n if (isFipsRegion(providedRegion)) {\n return true;\n }\n return typeof useFipsEndpoint !== \"function\" ? Promise.resolve(!!useFipsEndpoint) : useFipsEndpoint();\n },\n };\n};\n","import { HttpRequest } from \"@aws-sdk/protocol-http\";\nconst CONTENT_LENGTH_HEADER = \"content-length\";\nexport function contentLengthMiddleware(bodyLengthChecker) {\n return (next) => async (args) => {\n const request = args.request;\n if (HttpRequest.isInstance(request)) {\n const { body, headers } = request;\n if (body &&\n Object.keys(headers)\n .map((str) => str.toLowerCase())\n .indexOf(CONTENT_LENGTH_HEADER) === -1) {\n try {\n const length = bodyLengthChecker(body);\n request.headers = {\n ...request.headers,\n [CONTENT_LENGTH_HEADER]: String(length),\n };\n }\n catch (error) {\n }\n }\n }\n return next({\n ...args,\n request,\n });\n };\n}\nexport const contentLengthMiddlewareOptions = {\n step: \"build\",\n tags: [\"SET_CONTENT_LENGTH\", \"CONTENT_LENGTH\"],\n name: \"contentLengthMiddleware\",\n override: true,\n};\nexport const getContentLengthPlugin = (options) => ({\n applyToStack: (clientStack) => {\n clientStack.add(contentLengthMiddleware(options.bodyLengthChecker), contentLengthMiddlewareOptions);\n },\n});\n","import { HttpRequest } from \"@aws-sdk/protocol-http\";\nexport function resolveHostHeaderConfig(input) {\n return input;\n}\nexport const hostHeaderMiddleware = (options) => (next) => async (args) => {\n if (!HttpRequest.isInstance(args.request))\n return next(args);\n const { request } = args;\n const { handlerProtocol = \"\" } = options.requestHandler.metadata || {};\n if (handlerProtocol.indexOf(\"h2\") >= 0 && !request.headers[\":authority\"]) {\n delete request.headers[\"host\"];\n request.headers[\":authority\"] = \"\";\n }\n else if (!request.headers[\"host\"]) {\n let host = request.hostname;\n if (request.port != null)\n host += `:${request.port}`;\n request.headers[\"host\"] = host;\n }\n return next(args);\n};\nexport const hostHeaderMiddlewareOptions = {\n name: \"hostHeaderMiddleware\",\n step: \"build\",\n priority: \"low\",\n tags: [\"HOST\"],\n override: true,\n};\nexport const getHostHeaderPlugin = (options) => ({\n applyToStack: (clientStack) => {\n clientStack.add(hostHeaderMiddleware(options), hostHeaderMiddlewareOptions);\n },\n});\n","import objectWithoutPropertiesLoose from \"./objectWithoutPropertiesLoose.js\";\nexport default function _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}","export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}","const SHORT_TO_HEX = {};\nconst HEX_TO_SHORT = {};\nfor (let i = 0; i < 256; i++) {\n let encodedByte = i.toString(16).toLowerCase();\n if (encodedByte.length === 1) {\n encodedByte = `0${encodedByte}`;\n }\n SHORT_TO_HEX[i] = encodedByte;\n HEX_TO_SHORT[encodedByte] = i;\n}\nexport function fromHex(encoded) {\n if (encoded.length % 2 !== 0) {\n throw new Error(\"Hex encoded strings must have an even number length\");\n }\n const out = new Uint8Array(encoded.length / 2);\n for (let i = 0; i < encoded.length; i += 2) {\n const encodedByte = encoded.slice(i, i + 2).toLowerCase();\n if (encodedByte in HEX_TO_SHORT) {\n out[i / 2] = HEX_TO_SHORT[encodedByte];\n }\n else {\n throw new Error(`Cannot decode unrecognized sequence ${encodedByte} as hexadecimal`);\n }\n }\n return out;\n}\nexport function toHex(bytes) {\n let out = \"\";\n for (let i = 0; i < bytes.byteLength; i++) {\n out += SHORT_TO_HEX[bytes[i]];\n }\n return out;\n}\n","export const loggerMiddleware = () => (next, context) => async (args) => {\n try {\n const response = await next(args);\n const { clientName, commandName, logger, dynamoDbDocumentClientOptions = {} } = context;\n const { overrideInputFilterSensitiveLog, overrideOutputFilterSensitiveLog } = dynamoDbDocumentClientOptions;\n const inputFilterSensitiveLog = overrideInputFilterSensitiveLog ?? context.inputFilterSensitiveLog;\n const outputFilterSensitiveLog = overrideOutputFilterSensitiveLog ?? context.outputFilterSensitiveLog;\n const { $metadata, ...outputWithoutMetadata } = response.output;\n logger?.info?.({\n clientName,\n commandName,\n input: inputFilterSensitiveLog(args.input),\n output: outputFilterSensitiveLog(outputWithoutMetadata),\n metadata: $metadata,\n });\n return response;\n }\n catch (error) {\n const { clientName, commandName, logger, dynamoDbDocumentClientOptions = {} } = context;\n const { overrideInputFilterSensitiveLog } = dynamoDbDocumentClientOptions;\n const inputFilterSensitiveLog = overrideInputFilterSensitiveLog ?? context.inputFilterSensitiveLog;\n logger?.error?.({\n clientName,\n commandName,\n input: inputFilterSensitiveLog(args.input),\n error,\n metadata: error.$metadata,\n });\n throw error;\n }\n};\nexport const loggerMiddlewareOptions = {\n name: \"loggerMiddleware\",\n tags: [\"LOGGER\"],\n step: \"initialize\",\n override: true,\n};\nexport const getLoggerPlugin = (options) => ({\n applyToStack: (clientStack) => {\n clientStack.add(loggerMiddleware(), loggerMiddlewareOptions);\n },\n});\n","import { HttpRequest } from \"@aws-sdk/protocol-http\";\nconst TRACE_ID_HEADER_NAME = \"X-Amzn-Trace-Id\";\nconst ENV_LAMBDA_FUNCTION_NAME = \"AWS_LAMBDA_FUNCTION_NAME\";\nconst ENV_TRACE_ID = \"_X_AMZN_TRACE_ID\";\nexport const recursionDetectionMiddleware = (options) => (next) => async (args) => {\n const { request } = args;\n if (!HttpRequest.isInstance(request) ||\n options.runtime !== \"node\" ||\n request.headers.hasOwnProperty(TRACE_ID_HEADER_NAME)) {\n return next(args);\n }\n const functionName = process.env[ENV_LAMBDA_FUNCTION_NAME];\n const traceId = process.env[ENV_TRACE_ID];\n const nonEmptyString = (str) => typeof str === \"string\" && str.length > 0;\n if (nonEmptyString(functionName) && nonEmptyString(traceId)) {\n request.headers[TRACE_ID_HEADER_NAME] = traceId;\n }\n return next({\n ...args,\n request,\n });\n};\nexport const addRecursionDetectionMiddlewareOptions = {\n step: \"build\",\n tags: [\"RECURSION_DETECTION\"],\n name: \"recursionDetectionMiddleware\",\n override: true,\n priority: \"low\",\n};\nexport const getRecursionDetectionPlugin = (options) => ({\n applyToStack: (clientStack) => {\n clientStack.add(recursionDetectionMiddleware(options), addRecursionDetectionMiddlewareOptions);\n },\n});\n","export var RETRY_MODES;\n(function (RETRY_MODES) {\n RETRY_MODES[\"STANDARD\"] = \"standard\";\n RETRY_MODES[\"ADAPTIVE\"] = \"adaptive\";\n})(RETRY_MODES || (RETRY_MODES = {}));\nexport const DEFAULT_MAX_ATTEMPTS = 3;\nexport const DEFAULT_RETRY_MODE = RETRY_MODES.STANDARD;\n","export const CLOCK_SKEW_ERROR_CODES = [\n \"AuthFailure\",\n \"InvalidSignatureException\",\n \"RequestExpired\",\n \"RequestInTheFuture\",\n \"RequestTimeTooSkewed\",\n \"SignatureDoesNotMatch\",\n];\nexport const THROTTLING_ERROR_CODES = [\n \"BandwidthLimitExceeded\",\n \"EC2ThrottledException\",\n \"LimitExceededException\",\n \"PriorRequestNotComplete\",\n \"ProvisionedThroughputExceededException\",\n \"RequestLimitExceeded\",\n \"RequestThrottled\",\n \"RequestThrottledException\",\n \"SlowDown\",\n \"ThrottledException\",\n \"Throttling\",\n \"ThrottlingException\",\n \"TooManyRequestsException\",\n \"TransactionInProgressException\",\n];\nexport const TRANSIENT_ERROR_CODES = [\"AbortError\", \"TimeoutError\", \"RequestTimeout\", \"RequestTimeoutException\"];\nexport const TRANSIENT_ERROR_STATUS_CODES = [500, 502, 503, 504];\nexport const NODEJS_TIMEOUT_ERROR_CODES = [\"ECONNRESET\", \"ECONNREFUSED\", \"EPIPE\", \"ETIMEDOUT\"];\n","import { CLOCK_SKEW_ERROR_CODES, NODEJS_TIMEOUT_ERROR_CODES, THROTTLING_ERROR_CODES, TRANSIENT_ERROR_CODES, TRANSIENT_ERROR_STATUS_CODES, } from \"./constants\";\nexport const isRetryableByTrait = (error) => error.$retryable !== undefined;\nexport const isClockSkewError = (error) => CLOCK_SKEW_ERROR_CODES.includes(error.name);\nexport const isThrottlingError = (error) => error.$metadata?.httpStatusCode === 429 ||\n THROTTLING_ERROR_CODES.includes(error.name) ||\n error.$retryable?.throttling == true;\nexport const isTransientError = (error) => TRANSIENT_ERROR_CODES.includes(error.name) ||\n NODEJS_TIMEOUT_ERROR_CODES.includes(error?.code || \"\") ||\n TRANSIENT_ERROR_STATUS_CODES.includes(error.$metadata?.httpStatusCode || 0);\nexport const isServerError = (error) => {\n if (error.$metadata?.httpStatusCode !== undefined) {\n const statusCode = error.$metadata.httpStatusCode;\n if (500 <= statusCode && statusCode <= 599 && !isTransientError(error)) {\n return true;\n }\n return false;\n }\n return false;\n};\n","import { isThrottlingError } from \"@aws-sdk/service-error-classification\";\nexport class DefaultRateLimiter {\n constructor(options) {\n this.currentCapacity = 0;\n this.enabled = false;\n this.lastMaxRate = 0;\n this.measuredTxRate = 0;\n this.requestCount = 0;\n this.lastTimestamp = 0;\n this.timeWindow = 0;\n this.beta = options?.beta ?? 0.7;\n this.minCapacity = options?.minCapacity ?? 1;\n this.minFillRate = options?.minFillRate ?? 0.5;\n this.scaleConstant = options?.scaleConstant ?? 0.4;\n this.smooth = options?.smooth ?? 0.8;\n const currentTimeInSeconds = this.getCurrentTimeInSeconds();\n this.lastThrottleTime = currentTimeInSeconds;\n this.lastTxRateBucket = Math.floor(this.getCurrentTimeInSeconds());\n this.fillRate = this.minFillRate;\n this.maxCapacity = this.minCapacity;\n }\n getCurrentTimeInSeconds() {\n return Date.now() / 1000;\n }\n async getSendToken() {\n return this.acquireTokenBucket(1);\n }\n async acquireTokenBucket(amount) {\n if (!this.enabled) {\n return;\n }\n this.refillTokenBucket();\n if (amount > this.currentCapacity) {\n const delay = ((amount - this.currentCapacity) / this.fillRate) * 1000;\n await new Promise((resolve) => setTimeout(resolve, delay));\n }\n this.currentCapacity = this.currentCapacity - amount;\n }\n refillTokenBucket() {\n const timestamp = this.getCurrentTimeInSeconds();\n if (!this.lastTimestamp) {\n this.lastTimestamp = timestamp;\n return;\n }\n const fillAmount = (timestamp - this.lastTimestamp) * this.fillRate;\n this.currentCapacity = Math.min(this.maxCapacity, this.currentCapacity + fillAmount);\n this.lastTimestamp = timestamp;\n }\n updateClientSendingRate(response) {\n let calculatedRate;\n this.updateMeasuredRate();\n if (isThrottlingError(response)) {\n const rateToUse = !this.enabled ? this.measuredTxRate : Math.min(this.measuredTxRate, this.fillRate);\n this.lastMaxRate = rateToUse;\n this.calculateTimeWindow();\n this.lastThrottleTime = this.getCurrentTimeInSeconds();\n calculatedRate = this.cubicThrottle(rateToUse);\n this.enableTokenBucket();\n }\n else {\n this.calculateTimeWindow();\n calculatedRate = this.cubicSuccess(this.getCurrentTimeInSeconds());\n }\n const newRate = Math.min(calculatedRate, 2 * this.measuredTxRate);\n this.updateTokenBucketRate(newRate);\n }\n calculateTimeWindow() {\n this.timeWindow = this.getPrecise(Math.pow((this.lastMaxRate * (1 - this.beta)) / this.scaleConstant, 1 / 3));\n }\n cubicThrottle(rateToUse) {\n return this.getPrecise(rateToUse * this.beta);\n }\n cubicSuccess(timestamp) {\n return this.getPrecise(this.scaleConstant * Math.pow(timestamp - this.lastThrottleTime - this.timeWindow, 3) + this.lastMaxRate);\n }\n enableTokenBucket() {\n this.enabled = true;\n }\n updateTokenBucketRate(newRate) {\n this.refillTokenBucket();\n this.fillRate = Math.max(newRate, this.minFillRate);\n this.maxCapacity = Math.max(newRate, this.minCapacity);\n this.currentCapacity = Math.min(this.currentCapacity, this.maxCapacity);\n }\n updateMeasuredRate() {\n const t = this.getCurrentTimeInSeconds();\n const timeBucket = Math.floor(t * 2) / 2;\n this.requestCount++;\n if (timeBucket > this.lastTxRateBucket) {\n const currentRate = this.requestCount / (timeBucket - this.lastTxRateBucket);\n this.measuredTxRate = this.getPrecise(currentRate * this.smooth + this.measuredTxRate * (1 - this.smooth));\n this.requestCount = 0;\n this.lastTxRateBucket = timeBucket;\n }\n }\n getPrecise(num) {\n return parseFloat(num.toFixed(8));\n }\n}\n","import { MAXIMUM_RETRY_DELAY } from \"./constants\";\nexport const createDefaultRetryToken = ({ retryDelay, retryCount, retryCost, }) => {\n const getRetryCount = () => retryCount;\n const getRetryDelay = () => Math.min(MAXIMUM_RETRY_DELAY, retryDelay);\n const getRetryCost = () => retryCost;\n return {\n getRetryCount,\n getRetryDelay,\n getRetryCost,\n };\n};\n","export const DEFAULT_RETRY_DELAY_BASE = 100;\nexport const MAXIMUM_RETRY_DELAY = 20 * 1000;\nexport const THROTTLING_RETRY_DELAY_BASE = 500;\nexport const INITIAL_RETRY_TOKENS = 500;\nexport const RETRY_COST = 5;\nexport const TIMEOUT_RETRY_COST = 10;\nexport const NO_RETRY_INCREMENT = 1;\nexport const INVOCATION_ID_HEADER = \"amz-sdk-invocation-id\";\nexport const REQUEST_HEADER = \"amz-sdk-request\";\n","import { DEFAULT_MAX_ATTEMPTS, RETRY_MODES } from \"./config\";\nimport { DEFAULT_RETRY_DELAY_BASE, INITIAL_RETRY_TOKENS, NO_RETRY_INCREMENT, RETRY_COST, THROTTLING_RETRY_DELAY_BASE, TIMEOUT_RETRY_COST, } from \"./constants\";\nimport { getDefaultRetryBackoffStrategy } from \"./defaultRetryBackoffStrategy\";\nimport { createDefaultRetryToken } from \"./defaultRetryToken\";\nexport class StandardRetryStrategy {\n constructor(maxAttempts) {\n this.maxAttempts = maxAttempts;\n this.mode = RETRY_MODES.STANDARD;\n this.capacity = INITIAL_RETRY_TOKENS;\n this.retryBackoffStrategy = getDefaultRetryBackoffStrategy();\n this.maxAttemptsProvider = typeof maxAttempts === \"function\" ? maxAttempts : async () => maxAttempts;\n }\n async acquireInitialRetryToken(retryTokenScope) {\n return createDefaultRetryToken({\n retryDelay: DEFAULT_RETRY_DELAY_BASE,\n retryCount: 0,\n });\n }\n async refreshRetryTokenForRetry(token, errorInfo) {\n const maxAttempts = await this.getMaxAttempts();\n if (this.shouldRetry(token, errorInfo, maxAttempts)) {\n const errorType = errorInfo.errorType;\n this.retryBackoffStrategy.setDelayBase(errorType === \"THROTTLING\" ? THROTTLING_RETRY_DELAY_BASE : DEFAULT_RETRY_DELAY_BASE);\n const delayFromErrorType = this.retryBackoffStrategy.computeNextBackoffDelay(token.getRetryCount());\n const retryDelay = errorInfo.retryAfterHint\n ? Math.max(errorInfo.retryAfterHint.getTime() - Date.now() || 0, delayFromErrorType)\n : delayFromErrorType;\n const capacityCost = this.getCapacityCost(errorType);\n this.capacity -= capacityCost;\n return createDefaultRetryToken({\n retryDelay,\n retryCount: token.getRetryCount() + 1,\n retryCost: capacityCost,\n });\n }\n throw new Error(\"No retry token available\");\n }\n recordSuccess(token) {\n this.capacity = Math.max(INITIAL_RETRY_TOKENS, this.capacity + (token.getRetryCost() ?? NO_RETRY_INCREMENT));\n }\n getCapacity() {\n return this.capacity;\n }\n async getMaxAttempts() {\n try {\n return await this.maxAttemptsProvider();\n }\n catch (error) {\n console.warn(`Max attempts provider could not resolve. Using default of ${DEFAULT_MAX_ATTEMPTS}`);\n return DEFAULT_MAX_ATTEMPTS;\n }\n }\n shouldRetry(tokenToRenew, errorInfo, maxAttempts) {\n const attempts = tokenToRenew.getRetryCount();\n return (attempts < maxAttempts &&\n this.capacity >= this.getCapacityCost(errorInfo.errorType) &&\n this.isRetryableError(errorInfo.errorType));\n }\n getCapacityCost(errorType) {\n return errorType === \"TRANSIENT\" ? TIMEOUT_RETRY_COST : RETRY_COST;\n }\n isRetryableError(errorType) {\n return errorType === \"THROTTLING\" || errorType === \"TRANSIENT\";\n }\n}\n","import { DEFAULT_RETRY_DELAY_BASE, MAXIMUM_RETRY_DELAY } from \"./constants\";\nexport const getDefaultRetryBackoffStrategy = () => {\n let delayBase = DEFAULT_RETRY_DELAY_BASE;\n const computeNextBackoffDelay = (attempts) => {\n return Math.floor(Math.min(MAXIMUM_RETRY_DELAY, Math.random() * 2 ** attempts * delayBase));\n };\n const setDelayBase = (delay) => {\n delayBase = delay;\n };\n return {\n computeNextBackoffDelay,\n setDelayBase,\n };\n};\n","import { RETRY_MODES } from \"./config\";\nimport { DefaultRateLimiter } from \"./DefaultRateLimiter\";\nimport { StandardRetryStrategy } from \"./StandardRetryStrategy\";\nexport class AdaptiveRetryStrategy {\n constructor(maxAttemptsProvider, options) {\n this.maxAttemptsProvider = maxAttemptsProvider;\n this.mode = RETRY_MODES.ADAPTIVE;\n const { rateLimiter } = options ?? {};\n this.rateLimiter = rateLimiter ?? new DefaultRateLimiter();\n this.standardRetryStrategy = new StandardRetryStrategy(maxAttemptsProvider);\n }\n async acquireInitialRetryToken(retryTokenScope) {\n await this.rateLimiter.getSendToken();\n return this.standardRetryStrategy.acquireInitialRetryToken(retryTokenScope);\n }\n async refreshRetryTokenForRetry(tokenToRenew, errorInfo) {\n this.rateLimiter.updateClientSendingRate(errorInfo);\n return this.standardRetryStrategy.refreshRetryTokenForRetry(tokenToRenew, errorInfo);\n }\n recordSuccess(token) {\n this.rateLimiter.updateClientSendingRate({});\n this.standardRetryStrategy.recordSuccess(token);\n }\n}\n","import { normalizeProvider } from \"@aws-sdk/util-middleware\";\nimport { AdaptiveRetryStrategy, DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE, RETRY_MODES, StandardRetryStrategy, } from \"@aws-sdk/util-retry\";\nexport const ENV_MAX_ATTEMPTS = \"AWS_MAX_ATTEMPTS\";\nexport const CONFIG_MAX_ATTEMPTS = \"max_attempts\";\nexport const NODE_MAX_ATTEMPT_CONFIG_OPTIONS = {\n environmentVariableSelector: (env) => {\n const value = env[ENV_MAX_ATTEMPTS];\n if (!value)\n return undefined;\n const maxAttempt = parseInt(value);\n if (Number.isNaN(maxAttempt)) {\n throw new Error(`Environment variable ${ENV_MAX_ATTEMPTS} mast be a number, got \"${value}\"`);\n }\n return maxAttempt;\n },\n configFileSelector: (profile) => {\n const value = profile[CONFIG_MAX_ATTEMPTS];\n if (!value)\n return undefined;\n const maxAttempt = parseInt(value);\n if (Number.isNaN(maxAttempt)) {\n throw new Error(`Shared config file entry ${CONFIG_MAX_ATTEMPTS} mast be a number, got \"${value}\"`);\n }\n return maxAttempt;\n },\n default: DEFAULT_MAX_ATTEMPTS,\n};\nexport const resolveRetryConfig = (input) => {\n const { retryStrategy } = input;\n const maxAttempts = normalizeProvider(input.maxAttempts ?? DEFAULT_MAX_ATTEMPTS);\n return {\n ...input,\n maxAttempts,\n retryStrategy: async () => {\n if (retryStrategy) {\n return retryStrategy;\n }\n const retryMode = await normalizeProvider(input.retryMode)();\n if (retryMode === RETRY_MODES.ADAPTIVE) {\n return new AdaptiveRetryStrategy(maxAttempts);\n }\n return new StandardRetryStrategy(maxAttempts);\n },\n };\n};\nexport const ENV_RETRY_MODE = \"AWS_RETRY_MODE\";\nexport const CONFIG_RETRY_MODE = \"retry_mode\";\nexport const NODE_RETRY_MODE_CONFIG_OPTIONS = {\n environmentVariableSelector: (env) => env[ENV_RETRY_MODE],\n configFileSelector: (profile) => profile[CONFIG_RETRY_MODE],\n default: DEFAULT_RETRY_MODE,\n};\n","export const asSdkError = (error) => {\n if (error instanceof Error)\n return error;\n if (error instanceof Object)\n return Object.assign(new Error(), error);\n if (typeof error === \"string\")\n return new Error(error);\n return new Error(`AWS SDK error wrapper for ${error}`);\n};\n","import { HttpRequest, HttpResponse } from \"@aws-sdk/protocol-http\";\nimport { isServerError, isThrottlingError, isTransientError } from \"@aws-sdk/service-error-classification\";\nimport { INVOCATION_ID_HEADER, REQUEST_HEADER } from \"@aws-sdk/util-retry\";\nimport { v4 } from \"uuid\";\nimport { asSdkError } from \"./util\";\nexport const retryMiddleware = (options) => (next, context) => async (args) => {\n let retryStrategy = await options.retryStrategy();\n const maxAttempts = await options.maxAttempts();\n if (isRetryStrategyV2(retryStrategy)) {\n retryStrategy = retryStrategy;\n let retryToken = await retryStrategy.acquireInitialRetryToken(context[\"partition_id\"]);\n let lastError = new Error();\n let attempts = 0;\n let totalRetryDelay = 0;\n const { request } = args;\n if (HttpRequest.isInstance(request)) {\n request.headers[INVOCATION_ID_HEADER] = v4();\n }\n while (true) {\n try {\n if (HttpRequest.isInstance(request)) {\n request.headers[REQUEST_HEADER] = `attempt=${attempts + 1}; max=${maxAttempts}`;\n }\n const { response, output } = await next(args);\n retryStrategy.recordSuccess(retryToken);\n output.$metadata.attempts = attempts + 1;\n output.$metadata.totalRetryDelay = totalRetryDelay;\n return { response, output };\n }\n catch (e) {\n const retryErrorInfo = getRetryErrorInfo(e);\n lastError = asSdkError(e);\n try {\n retryToken = await retryStrategy.refreshRetryTokenForRetry(retryToken, retryErrorInfo);\n }\n catch (refreshError) {\n if (!lastError.$metadata) {\n lastError.$metadata = {};\n }\n lastError.$metadata.attempts = attempts + 1;\n lastError.$metadata.totalRetryDelay = totalRetryDelay;\n throw lastError;\n }\n attempts = retryToken.getRetryCount();\n const delay = retryToken.getRetryDelay();\n totalRetryDelay += delay;\n await new Promise((resolve) => setTimeout(resolve, delay));\n }\n }\n }\n else {\n retryStrategy = retryStrategy;\n if (retryStrategy?.mode)\n context.userAgent = [...(context.userAgent || []), [\"cfg/retry-mode\", retryStrategy.mode]];\n return retryStrategy.retry(next, args);\n }\n};\nconst isRetryStrategyV2 = (retryStrategy) => typeof retryStrategy.acquireInitialRetryToken !== \"undefined\" &&\n typeof retryStrategy.refreshRetryTokenForRetry !== \"undefined\" &&\n typeof retryStrategy.recordSuccess !== \"undefined\";\nconst getRetryErrorInfo = (error) => {\n const errorInfo = {\n errorType: getRetryErrorType(error),\n };\n const retryAfterHint = getRetryAfterHint(error.$response);\n if (retryAfterHint) {\n errorInfo.retryAfterHint = retryAfterHint;\n }\n return errorInfo;\n};\nconst getRetryErrorType = (error) => {\n if (isThrottlingError(error))\n return \"THROTTLING\";\n if (isTransientError(error))\n return \"TRANSIENT\";\n if (isServerError(error))\n return \"SERVER_ERROR\";\n return \"CLIENT_ERROR\";\n};\nexport const retryMiddlewareOptions = {\n name: \"retryMiddleware\",\n tags: [\"RETRY\"],\n step: \"finalizeRequest\",\n priority: \"high\",\n override: true,\n};\nexport const getRetryPlugin = (options) => ({\n applyToStack: (clientStack) => {\n clientStack.add(retryMiddleware(options), retryMiddlewareOptions);\n },\n});\nexport const getRetryAfterHint = (response) => {\n if (!HttpResponse.isInstance(response))\n return;\n const retryAfterHeaderName = Object.keys(response.headers).find((key) => key.toLowerCase() === \"retry-after\");\n if (!retryAfterHeaderName)\n return;\n const retryAfter = response.headers[retryAfterHeaderName];\n const retryAfterSeconds = Number(retryAfter);\n if (!Number.isNaN(retryAfterSeconds))\n return new Date(retryAfterSeconds * 1000);\n const retryAfterDate = new Date(retryAfter);\n return retryAfterDate;\n};\n","import { toHex } from \"@aws-sdk/util-hex-encoding\";\nexport class Int64 {\n constructor(bytes) {\n this.bytes = bytes;\n if (bytes.byteLength !== 8) {\n throw new Error(\"Int64 buffers must be exactly 8 bytes\");\n }\n }\n static fromNumber(number) {\n if (number > 9223372036854776000 || number < -9223372036854776000) {\n throw new Error(`${number} is too large (or, if negative, too small) to represent as an Int64`);\n }\n const bytes = new Uint8Array(8);\n for (let i = 7, remaining = Math.abs(Math.round(number)); i > -1 && remaining > 0; i--, remaining /= 256) {\n bytes[i] = remaining;\n }\n if (number < 0) {\n negate(bytes);\n }\n return new Int64(bytes);\n }\n valueOf() {\n const bytes = this.bytes.slice(0);\n const negative = bytes[0] & 0b10000000;\n if (negative) {\n negate(bytes);\n }\n return parseInt(toHex(bytes), 16) * (negative ? -1 : 1);\n }\n toString() {\n return String(this.valueOf());\n }\n}\nfunction negate(bytes) {\n for (let i = 0; i < 8; i++) {\n bytes[i] ^= 0xff;\n }\n for (let i = 7; i > -1; i--) {\n bytes[i]++;\n if (bytes[i] !== 0)\n break;\n }\n}\n","import { fromHex, toHex } from \"@aws-sdk/util-hex-encoding\";\nimport { Int64 } from \"./Int64\";\nexport class HeaderMarshaller {\n constructor(toUtf8, fromUtf8) {\n this.toUtf8 = toUtf8;\n this.fromUtf8 = fromUtf8;\n }\n format(headers) {\n const chunks = [];\n for (const headerName of Object.keys(headers)) {\n const bytes = this.fromUtf8(headerName);\n chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName]));\n }\n const out = new Uint8Array(chunks.reduce((carry, bytes) => carry + bytes.byteLength, 0));\n let position = 0;\n for (const chunk of chunks) {\n out.set(chunk, position);\n position += chunk.byteLength;\n }\n return out;\n }\n formatHeaderValue(header) {\n switch (header.type) {\n case \"boolean\":\n return Uint8Array.from([header.value ? 0 : 1]);\n case \"byte\":\n return Uint8Array.from([2, header.value]);\n case \"short\":\n const shortView = new DataView(new ArrayBuffer(3));\n shortView.setUint8(0, 3);\n shortView.setInt16(1, header.value, false);\n return new Uint8Array(shortView.buffer);\n case \"integer\":\n const intView = new DataView(new ArrayBuffer(5));\n intView.setUint8(0, 4);\n intView.setInt32(1, header.value, false);\n return new Uint8Array(intView.buffer);\n case \"long\":\n const longBytes = new Uint8Array(9);\n longBytes[0] = 5;\n longBytes.set(header.value.bytes, 1);\n return longBytes;\n case \"binary\":\n const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));\n binView.setUint8(0, 6);\n binView.setUint16(1, header.value.byteLength, false);\n const binBytes = new Uint8Array(binView.buffer);\n binBytes.set(header.value, 3);\n return binBytes;\n case \"string\":\n const utf8Bytes = this.fromUtf8(header.value);\n const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));\n strView.setUint8(0, 7);\n strView.setUint16(1, utf8Bytes.byteLength, false);\n const strBytes = new Uint8Array(strView.buffer);\n strBytes.set(utf8Bytes, 3);\n return strBytes;\n case \"timestamp\":\n const tsBytes = new Uint8Array(9);\n tsBytes[0] = 8;\n tsBytes.set(Int64.fromNumber(header.value.valueOf()).bytes, 1);\n return tsBytes;\n case \"uuid\":\n if (!UUID_PATTERN.test(header.value)) {\n throw new Error(`Invalid UUID received: ${header.value}`);\n }\n const uuidBytes = new Uint8Array(17);\n uuidBytes[0] = 9;\n uuidBytes.set(fromHex(header.value.replace(/\\-/g, \"\")), 1);\n return uuidBytes;\n }\n }\n parse(headers) {\n const out = {};\n let position = 0;\n while (position < headers.byteLength) {\n const nameLength = headers.getUint8(position++);\n const name = this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, nameLength));\n position += nameLength;\n switch (headers.getUint8(position++)) {\n case 0:\n out[name] = {\n type: BOOLEAN_TAG,\n value: true,\n };\n break;\n case 1:\n out[name] = {\n type: BOOLEAN_TAG,\n value: false,\n };\n break;\n case 2:\n out[name] = {\n type: BYTE_TAG,\n value: headers.getInt8(position++),\n };\n break;\n case 3:\n out[name] = {\n type: SHORT_TAG,\n value: headers.getInt16(position, false),\n };\n position += 2;\n break;\n case 4:\n out[name] = {\n type: INT_TAG,\n value: headers.getInt32(position, false),\n };\n position += 4;\n break;\n case 5:\n out[name] = {\n type: LONG_TAG,\n value: new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8)),\n };\n position += 8;\n break;\n case 6:\n const binaryLength = headers.getUint16(position, false);\n position += 2;\n out[name] = {\n type: BINARY_TAG,\n value: new Uint8Array(headers.buffer, headers.byteOffset + position, binaryLength),\n };\n position += binaryLength;\n break;\n case 7:\n const stringLength = headers.getUint16(position, false);\n position += 2;\n out[name] = {\n type: STRING_TAG,\n value: this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, stringLength)),\n };\n position += stringLength;\n break;\n case 8:\n out[name] = {\n type: TIMESTAMP_TAG,\n value: new Date(new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8)).valueOf()),\n };\n position += 8;\n break;\n case 9:\n const uuidBytes = new Uint8Array(headers.buffer, headers.byteOffset + position, 16);\n position += 16;\n out[name] = {\n type: UUID_TAG,\n value: `${toHex(uuidBytes.subarray(0, 4))}-${toHex(uuidBytes.subarray(4, 6))}-${toHex(uuidBytes.subarray(6, 8))}-${toHex(uuidBytes.subarray(8, 10))}-${toHex(uuidBytes.subarray(10))}`,\n };\n break;\n default:\n throw new Error(`Unrecognized header type tag`);\n }\n }\n return out;\n }\n}\nvar HEADER_VALUE_TYPE;\n(function (HEADER_VALUE_TYPE) {\n HEADER_VALUE_TYPE[HEADER_VALUE_TYPE[\"boolTrue\"] = 0] = \"boolTrue\";\n HEADER_VALUE_TYPE[HEADER_VALUE_TYPE[\"boolFalse\"] = 1] = \"boolFalse\";\n HEADER_VALUE_TYPE[HEADER_VALUE_TYPE[\"byte\"] = 2] = \"byte\";\n HEADER_VALUE_TYPE[HEADER_VALUE_TYPE[\"short\"] = 3] = \"short\";\n HEADER_VALUE_TYPE[HEADER_VALUE_TYPE[\"integer\"] = 4] = \"integer\";\n HEADER_VALUE_TYPE[HEADER_VALUE_TYPE[\"long\"] = 5] = \"long\";\n HEADER_VALUE_TYPE[HEADER_VALUE_TYPE[\"byteArray\"] = 6] = \"byteArray\";\n HEADER_VALUE_TYPE[HEADER_VALUE_TYPE[\"string\"] = 7] = \"string\";\n HEADER_VALUE_TYPE[HEADER_VALUE_TYPE[\"timestamp\"] = 8] = \"timestamp\";\n HEADER_VALUE_TYPE[HEADER_VALUE_TYPE[\"uuid\"] = 9] = \"uuid\";\n})(HEADER_VALUE_TYPE || (HEADER_VALUE_TYPE = {}));\nconst BOOLEAN_TAG = \"boolean\";\nconst BYTE_TAG = \"byte\";\nconst SHORT_TAG = \"short\";\nconst INT_TAG = \"integer\";\nconst LONG_TAG = \"long\";\nconst BINARY_TAG = \"binary\";\nconst STRING_TAG = \"string\";\nconst TIMESTAMP_TAG = \"timestamp\";\nconst UUID_TAG = \"uuid\";\nconst UUID_PATTERN = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;\n","import { Crc32 } from \"@aws-crypto/crc32\";\nimport { HeaderMarshaller } from \"./HeaderMarshaller\";\nimport { splitMessage } from \"./splitMessage\";\nexport class EventStreamCodec {\n constructor(toUtf8, fromUtf8) {\n this.headerMarshaller = new HeaderMarshaller(toUtf8, fromUtf8);\n this.messageBuffer = [];\n this.isEndOfStream = false;\n }\n feed(message) {\n this.messageBuffer.push(this.decode(message));\n }\n endOfStream() {\n this.isEndOfStream = true;\n }\n getMessage() {\n const message = this.messageBuffer.pop();\n const isEndOfStream = this.isEndOfStream;\n return {\n getMessage() {\n return message;\n },\n isEndOfStream() {\n return isEndOfStream;\n },\n };\n }\n getAvailableMessages() {\n const messages = this.messageBuffer;\n this.messageBuffer = [];\n const isEndOfStream = this.isEndOfStream;\n return {\n getMessages() {\n return messages;\n },\n isEndOfStream() {\n return isEndOfStream;\n },\n };\n }\n encode({ headers: rawHeaders, body }) {\n const headers = this.headerMarshaller.format(rawHeaders);\n const length = headers.byteLength + body.byteLength + 16;\n const out = new Uint8Array(length);\n const view = new DataView(out.buffer, out.byteOffset, out.byteLength);\n const checksum = new Crc32();\n view.setUint32(0, length, false);\n view.setUint32(4, headers.byteLength, false);\n view.setUint32(8, checksum.update(out.subarray(0, 8)).digest(), false);\n out.set(headers, 12);\n out.set(body, headers.byteLength + 12);\n view.setUint32(length - 4, checksum.update(out.subarray(8, length - 4)).digest(), false);\n return out;\n }\n decode(message) {\n const { headers, body } = splitMessage(message);\n return { headers: this.headerMarshaller.parse(headers), body };\n }\n formatHeaders(rawHeaders) {\n return this.headerMarshaller.format(rawHeaders);\n }\n}\n","import { Crc32 } from \"@aws-crypto/crc32\";\nconst PRELUDE_MEMBER_LENGTH = 4;\nconst PRELUDE_LENGTH = PRELUDE_MEMBER_LENGTH * 2;\nconst CHECKSUM_LENGTH = 4;\nconst MINIMUM_MESSAGE_LENGTH = PRELUDE_LENGTH + CHECKSUM_LENGTH * 2;\nexport function splitMessage({ byteLength, byteOffset, buffer }) {\n if (byteLength < MINIMUM_MESSAGE_LENGTH) {\n throw new Error(\"Provided message too short to accommodate event stream message overhead\");\n }\n const view = new DataView(buffer, byteOffset, byteLength);\n const messageLength = view.getUint32(0, false);\n if (byteLength !== messageLength) {\n throw new Error(\"Reported message length does not match received message length\");\n }\n const headerLength = view.getUint32(PRELUDE_MEMBER_LENGTH, false);\n const expectedPreludeChecksum = view.getUint32(PRELUDE_LENGTH, false);\n const expectedMessageChecksum = view.getUint32(byteLength - CHECKSUM_LENGTH, false);\n const checksummer = new Crc32().update(new Uint8Array(buffer, byteOffset, PRELUDE_LENGTH));\n if (expectedPreludeChecksum !== checksummer.digest()) {\n throw new Error(`The prelude checksum specified in the message (${expectedPreludeChecksum}) does not match the calculated CRC32 checksum (${checksummer.digest()})`);\n }\n checksummer.update(new Uint8Array(buffer, byteOffset + PRELUDE_LENGTH, byteLength - (PRELUDE_LENGTH + CHECKSUM_LENGTH)));\n if (expectedMessageChecksum !== checksummer.digest()) {\n throw new Error(`The message checksum (${checksummer.digest()}) did not match the expected value of ${expectedMessageChecksum}`);\n }\n return {\n headers: new DataView(buffer, byteOffset + PRELUDE_LENGTH + CHECKSUM_LENGTH, headerLength),\n body: new Uint8Array(buffer, byteOffset + PRELUDE_LENGTH + CHECKSUM_LENGTH + headerLength, messageLength - headerLength - (PRELUDE_LENGTH + CHECKSUM_LENGTH + CHECKSUM_LENGTH)),\n };\n}\n","export class MessageDecoderStream {\n constructor(options) {\n this.options = options;\n }\n [Symbol.asyncIterator]() {\n return this.asyncIterator();\n }\n async *asyncIterator() {\n for await (const bytes of this.options.inputStream) {\n const decoded = this.options.decoder.decode(bytes);\n yield decoded;\n }\n }\n}\n","export class MessageEncoderStream {\n constructor(options) {\n this.options = options;\n }\n [Symbol.asyncIterator]() {\n return this.asyncIterator();\n }\n async *asyncIterator() {\n for await (const msg of this.options.messageStream) {\n const encoded = this.options.encoder.encode(msg);\n yield encoded;\n }\n if (this.options.includeEndFrame) {\n yield new Uint8Array(0);\n }\n }\n}\n","export class SmithyMessageDecoderStream {\n constructor(options) {\n this.options = options;\n }\n [Symbol.asyncIterator]() {\n return this.asyncIterator();\n }\n async *asyncIterator() {\n for await (const message of this.options.messageStream) {\n const deserialized = await this.options.deserializer(message);\n if (deserialized === undefined)\n continue;\n yield deserialized;\n }\n }\n}\n","export class SmithyMessageEncoderStream {\n constructor(options) {\n this.options = options;\n }\n [Symbol.asyncIterator]() {\n return this.asyncIterator();\n }\n async *asyncIterator() {\n for await (const chunk of this.options.inputStream) {\n const payloadBuf = this.options.serializer(chunk);\n yield payloadBuf;\n }\n }\n}\n","export const toUtf8 = (input) => new TextDecoder(\"utf-8\").decode(input);\n","export const ALGORITHM_QUERY_PARAM = \"X-Amz-Algorithm\";\nexport const CREDENTIAL_QUERY_PARAM = \"X-Amz-Credential\";\nexport const AMZ_DATE_QUERY_PARAM = \"X-Amz-Date\";\nexport const SIGNED_HEADERS_QUERY_PARAM = \"X-Amz-SignedHeaders\";\nexport const EXPIRES_QUERY_PARAM = \"X-Amz-Expires\";\nexport const SIGNATURE_QUERY_PARAM = \"X-Amz-Signature\";\nexport const TOKEN_QUERY_PARAM = \"X-Amz-Security-Token\";\nexport const REGION_SET_PARAM = \"X-Amz-Region-Set\";\nexport const AUTH_HEADER = \"authorization\";\nexport const AMZ_DATE_HEADER = AMZ_DATE_QUERY_PARAM.toLowerCase();\nexport const DATE_HEADER = \"date\";\nexport const GENERATED_HEADERS = [AUTH_HEADER, AMZ_DATE_HEADER, DATE_HEADER];\nexport const SIGNATURE_HEADER = SIGNATURE_QUERY_PARAM.toLowerCase();\nexport const SHA256_HEADER = \"x-amz-content-sha256\";\nexport const TOKEN_HEADER = TOKEN_QUERY_PARAM.toLowerCase();\nexport const HOST_HEADER = \"host\";\nexport const ALWAYS_UNSIGNABLE_HEADERS = {\n authorization: true,\n \"cache-control\": true,\n connection: true,\n expect: true,\n from: true,\n \"keep-alive\": true,\n \"max-forwards\": true,\n pragma: true,\n referer: true,\n te: true,\n trailer: true,\n \"transfer-encoding\": true,\n upgrade: true,\n \"user-agent\": true,\n \"x-amzn-trace-id\": true,\n};\nexport const PROXY_HEADER_PATTERN = /^proxy-/;\nexport const SEC_HEADER_PATTERN = /^sec-/;\nexport const UNSIGNABLE_PATTERNS = [/^proxy-/i, /^sec-/i];\nexport const ALGORITHM_IDENTIFIER = \"AWS4-HMAC-SHA256\";\nexport const ALGORITHM_IDENTIFIER_V4A = \"AWS4-ECDSA-P256-SHA256\";\nexport const EVENT_ALGORITHM_IDENTIFIER = \"AWS4-HMAC-SHA256-PAYLOAD\";\nexport const UNSIGNED_PAYLOAD = \"UNSIGNED-PAYLOAD\";\nexport const MAX_CACHE_SIZE = 50;\nexport const KEY_TYPE_IDENTIFIER = \"aws4_request\";\nexport const MAX_PRESIGNED_TTL = 60 * 60 * 24 * 7;\n","import { toHex } from \"@aws-sdk/util-hex-encoding\";\nimport { toUint8Array } from \"@aws-sdk/util-utf8\";\nimport { KEY_TYPE_IDENTIFIER, MAX_CACHE_SIZE } from \"./constants\";\nconst signingKeyCache = {};\nconst cacheQueue = [];\nexport const createScope = (shortDate, region, service) => `${shortDate}/${region}/${service}/${KEY_TYPE_IDENTIFIER}`;\nexport const getSigningKey = async (sha256Constructor, credentials, shortDate, region, service) => {\n const credsHash = await hmac(sha256Constructor, credentials.secretAccessKey, credentials.accessKeyId);\n const cacheKey = `${shortDate}:${region}:${service}:${toHex(credsHash)}:${credentials.sessionToken}`;\n if (cacheKey in signingKeyCache) {\n return signingKeyCache[cacheKey];\n }\n cacheQueue.push(cacheKey);\n while (cacheQueue.length > MAX_CACHE_SIZE) {\n delete signingKeyCache[cacheQueue.shift()];\n }\n let key = `AWS4${credentials.secretAccessKey}`;\n for (const signable of [shortDate, region, service, KEY_TYPE_IDENTIFIER]) {\n key = await hmac(sha256Constructor, key, signable);\n }\n return (signingKeyCache[cacheKey] = key);\n};\nexport const clearCredentialCache = () => {\n cacheQueue.length = 0;\n Object.keys(signingKeyCache).forEach((cacheKey) => {\n delete signingKeyCache[cacheKey];\n });\n};\nconst hmac = (ctor, secret, data) => {\n const hash = new ctor(secret);\n hash.update(toUint8Array(data));\n return hash.digest();\n};\n","import { ALWAYS_UNSIGNABLE_HEADERS, PROXY_HEADER_PATTERN, SEC_HEADER_PATTERN } from \"./constants\";\nexport const getCanonicalHeaders = ({ headers }, unsignableHeaders, signableHeaders) => {\n const canonical = {};\n for (const headerName of Object.keys(headers).sort()) {\n if (headers[headerName] == undefined) {\n continue;\n }\n const canonicalHeaderName = headerName.toLowerCase();\n if (canonicalHeaderName in ALWAYS_UNSIGNABLE_HEADERS ||\n unsignableHeaders?.has(canonicalHeaderName) ||\n PROXY_HEADER_PATTERN.test(canonicalHeaderName) ||\n SEC_HEADER_PATTERN.test(canonicalHeaderName)) {\n if (!signableHeaders || (signableHeaders && !signableHeaders.has(canonicalHeaderName))) {\n continue;\n }\n }\n canonical[canonicalHeaderName] = headers[headerName].trim().replace(/\\s+/g, \" \");\n }\n return canonical;\n};\n","export const escapeUri = (uri) => encodeURIComponent(uri).replace(/[!'()*]/g, hexEncode);\nconst hexEncode = (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`;\n","import { isArrayBuffer } from \"@aws-sdk/is-array-buffer\";\nimport { toHex } from \"@aws-sdk/util-hex-encoding\";\nimport { toUint8Array } from \"@aws-sdk/util-utf8\";\nimport { SHA256_HEADER, UNSIGNED_PAYLOAD } from \"./constants\";\nexport const getPayloadHash = async ({ headers, body }, hashConstructor) => {\n for (const headerName of Object.keys(headers)) {\n if (headerName.toLowerCase() === SHA256_HEADER) {\n return headers[headerName];\n }\n }\n if (body == undefined) {\n return \"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\";\n }\n else if (typeof body === \"string\" || ArrayBuffer.isView(body) || isArrayBuffer(body)) {\n const hashCtor = new hashConstructor();\n hashCtor.update(toUint8Array(body));\n return toHex(await hashCtor.digest());\n }\n return UNSIGNED_PAYLOAD;\n};\n","export const hasHeader = (soughtHeader, headers) => {\n soughtHeader = soughtHeader.toLowerCase();\n for (const headerName of Object.keys(headers)) {\n if (soughtHeader === headerName.toLowerCase()) {\n return true;\n }\n }\n return false;\n};\nexport const getHeaderValue = (soughtHeader, headers) => {\n soughtHeader = soughtHeader.toLowerCase();\n for (const headerName of Object.keys(headers)) {\n if (soughtHeader === headerName.toLowerCase()) {\n return headers[headerName];\n }\n }\n return undefined;\n};\nexport const deleteHeader = (soughtHeader, headers) => {\n soughtHeader = soughtHeader.toLowerCase();\n for (const headerName of Object.keys(headers)) {\n if (soughtHeader === headerName.toLowerCase()) {\n delete headers[headerName];\n }\n }\n};\n","export const cloneRequest = ({ headers, query, ...rest }) => ({\n ...rest,\n headers: { ...headers },\n query: query ? cloneQuery(query) : undefined,\n});\nexport const cloneQuery = (query) => Object.keys(query).reduce((carry, paramName) => {\n const param = query[paramName];\n return {\n ...carry,\n [paramName]: Array.isArray(param) ? [...param] : param,\n };\n}, {});\n","import { cloneRequest } from \"./cloneRequest\";\nexport const moveHeadersToQuery = (request, options = {}) => {\n const { headers, query = {} } = typeof request.clone === \"function\" ? request.clone() : cloneRequest(request);\n for (const name of Object.keys(headers)) {\n const lname = name.toLowerCase();\n if (lname.slice(0, 6) === \"x-amz-\" && !options.unhoistableHeaders?.has(lname)) {\n query[name] = headers[name];\n delete headers[name];\n }\n }\n return {\n ...request,\n headers,\n query,\n };\n};\n","import { cloneRequest } from \"./cloneRequest\";\nimport { GENERATED_HEADERS } from \"./constants\";\nexport const prepareRequest = (request) => {\n request = typeof request.clone === \"function\" ? request.clone() : cloneRequest(request);\n for (const headerName of Object.keys(request.headers)) {\n if (GENERATED_HEADERS.indexOf(headerName.toLowerCase()) > -1) {\n delete request.headers[headerName];\n }\n }\n return request;\n};\n","import { HeaderMarshaller } from \"@aws-sdk/eventstream-codec\";\nimport { toHex } from \"@aws-sdk/util-hex-encoding\";\nimport { normalizeProvider } from \"@aws-sdk/util-middleware\";\nimport { fromUtf8, toUint8Array, toUtf8 } from \"@aws-sdk/util-utf8\";\nimport { ALGORITHM_IDENTIFIER, ALGORITHM_QUERY_PARAM, AMZ_DATE_HEADER, AMZ_DATE_QUERY_PARAM, AUTH_HEADER, CREDENTIAL_QUERY_PARAM, EVENT_ALGORITHM_IDENTIFIER, EXPIRES_QUERY_PARAM, MAX_PRESIGNED_TTL, SHA256_HEADER, SIGNATURE_QUERY_PARAM, SIGNED_HEADERS_QUERY_PARAM, TOKEN_HEADER, TOKEN_QUERY_PARAM, } from \"./constants\";\nimport { createScope, getSigningKey } from \"./credentialDerivation\";\nimport { getCanonicalHeaders } from \"./getCanonicalHeaders\";\nimport { getCanonicalQuery } from \"./getCanonicalQuery\";\nimport { getPayloadHash } from \"./getPayloadHash\";\nimport { hasHeader } from \"./headerUtil\";\nimport { moveHeadersToQuery } from \"./moveHeadersToQuery\";\nimport { prepareRequest } from \"./prepareRequest\";\nimport { iso8601 } from \"./utilDate\";\nexport class SignatureV4 {\n constructor({ applyChecksum, credentials, region, service, sha256, uriEscapePath = true, }) {\n this.headerMarshaller = new HeaderMarshaller(toUtf8, fromUtf8);\n this.service = service;\n this.sha256 = sha256;\n this.uriEscapePath = uriEscapePath;\n this.applyChecksum = typeof applyChecksum === \"boolean\" ? applyChecksum : true;\n this.regionProvider = normalizeProvider(region);\n this.credentialProvider = normalizeProvider(credentials);\n }\n async presign(originalRequest, options = {}) {\n const { signingDate = new Date(), expiresIn = 3600, unsignableHeaders, unhoistableHeaders, signableHeaders, signingRegion, signingService, } = options;\n const credentials = await this.credentialProvider();\n this.validateResolvedCredentials(credentials);\n const region = signingRegion ?? (await this.regionProvider());\n const { longDate, shortDate } = formatDate(signingDate);\n if (expiresIn > MAX_PRESIGNED_TTL) {\n return Promise.reject(\"Signature version 4 presigned URLs\" + \" must have an expiration date less than one week in\" + \" the future\");\n }\n const scope = createScope(shortDate, region, signingService ?? this.service);\n const request = moveHeadersToQuery(prepareRequest(originalRequest), { unhoistableHeaders });\n if (credentials.sessionToken) {\n request.query[TOKEN_QUERY_PARAM] = credentials.sessionToken;\n }\n request.query[ALGORITHM_QUERY_PARAM] = ALGORITHM_IDENTIFIER;\n request.query[CREDENTIAL_QUERY_PARAM] = `${credentials.accessKeyId}/${scope}`;\n request.query[AMZ_DATE_QUERY_PARAM] = longDate;\n request.query[EXPIRES_QUERY_PARAM] = expiresIn.toString(10);\n const canonicalHeaders = getCanonicalHeaders(request, unsignableHeaders, signableHeaders);\n request.query[SIGNED_HEADERS_QUERY_PARAM] = getCanonicalHeaderList(canonicalHeaders);\n request.query[SIGNATURE_QUERY_PARAM] = await this.getSignature(longDate, scope, this.getSigningKey(credentials, region, shortDate, signingService), this.createCanonicalRequest(request, canonicalHeaders, await getPayloadHash(originalRequest, this.sha256)));\n return request;\n }\n async sign(toSign, options) {\n if (typeof toSign === \"string\") {\n return this.signString(toSign, options);\n }\n else if (toSign.headers && toSign.payload) {\n return this.signEvent(toSign, options);\n }\n else if (toSign.message) {\n return this.signMessage(toSign, options);\n }\n else {\n return this.signRequest(toSign, options);\n }\n }\n async signEvent({ headers, payload }, { signingDate = new Date(), priorSignature, signingRegion, signingService }) {\n const region = signingRegion ?? (await this.regionProvider());\n const { shortDate, longDate } = formatDate(signingDate);\n const scope = createScope(shortDate, region, signingService ?? this.service);\n const hashedPayload = await getPayloadHash({ headers: {}, body: payload }, this.sha256);\n const hash = new this.sha256();\n hash.update(headers);\n const hashedHeaders = toHex(await hash.digest());\n const stringToSign = [\n EVENT_ALGORITHM_IDENTIFIER,\n longDate,\n scope,\n priorSignature,\n hashedHeaders,\n hashedPayload,\n ].join(\"\\n\");\n return this.signString(stringToSign, { signingDate, signingRegion: region, signingService });\n }\n async signMessage(signableMessage, { signingDate = new Date(), signingRegion, signingService }) {\n const promise = this.signEvent({\n headers: this.headerMarshaller.format(signableMessage.message.headers),\n payload: signableMessage.message.body,\n }, {\n signingDate,\n signingRegion,\n signingService,\n priorSignature: signableMessage.priorSignature,\n });\n return promise.then((signature) => {\n return { message: signableMessage.message, signature };\n });\n }\n async signString(stringToSign, { signingDate = new Date(), signingRegion, signingService } = {}) {\n const credentials = await this.credentialProvider();\n this.validateResolvedCredentials(credentials);\n const region = signingRegion ?? (await this.regionProvider());\n const { shortDate } = formatDate(signingDate);\n const hash = new this.sha256(await this.getSigningKey(credentials, region, shortDate, signingService));\n hash.update(toUint8Array(stringToSign));\n return toHex(await hash.digest());\n }\n async signRequest(requestToSign, { signingDate = new Date(), signableHeaders, unsignableHeaders, signingRegion, signingService, } = {}) {\n const credentials = await this.credentialProvider();\n this.validateResolvedCredentials(credentials);\n const region = signingRegion ?? (await this.regionProvider());\n const request = prepareRequest(requestToSign);\n const { longDate, shortDate } = formatDate(signingDate);\n const scope = createScope(shortDate, region, signingService ?? this.service);\n request.headers[AMZ_DATE_HEADER] = longDate;\n if (credentials.sessionToken) {\n request.headers[TOKEN_HEADER] = credentials.sessionToken;\n }\n const payloadHash = await getPayloadHash(request, this.sha256);\n if (!hasHeader(SHA256_HEADER, request.headers) && this.applyChecksum) {\n request.headers[SHA256_HEADER] = payloadHash;\n }\n const canonicalHeaders = getCanonicalHeaders(request, unsignableHeaders, signableHeaders);\n const signature = await this.getSignature(longDate, scope, this.getSigningKey(credentials, region, shortDate, signingService), this.createCanonicalRequest(request, canonicalHeaders, payloadHash));\n request.headers[AUTH_HEADER] =\n `${ALGORITHM_IDENTIFIER} ` +\n `Credential=${credentials.accessKeyId}/${scope}, ` +\n `SignedHeaders=${getCanonicalHeaderList(canonicalHeaders)}, ` +\n `Signature=${signature}`;\n return request;\n }\n createCanonicalRequest(request, canonicalHeaders, payloadHash) {\n const sortedHeaders = Object.keys(canonicalHeaders).sort();\n return `${request.method}\n${this.getCanonicalPath(request)}\n${getCanonicalQuery(request)}\n${sortedHeaders.map((name) => `${name}:${canonicalHeaders[name]}`).join(\"\\n\")}\n\n${sortedHeaders.join(\";\")}\n${payloadHash}`;\n }\n async createStringToSign(longDate, credentialScope, canonicalRequest) {\n const hash = new this.sha256();\n hash.update(toUint8Array(canonicalRequest));\n const hashedRequest = await hash.digest();\n return `${ALGORITHM_IDENTIFIER}\n${longDate}\n${credentialScope}\n${toHex(hashedRequest)}`;\n }\n getCanonicalPath({ path }) {\n if (this.uriEscapePath) {\n const normalizedPathSegments = [];\n for (const pathSegment of path.split(\"/\")) {\n if (pathSegment?.length === 0)\n continue;\n if (pathSegment === \".\")\n continue;\n if (pathSegment === \"..\") {\n normalizedPathSegments.pop();\n }\n else {\n normalizedPathSegments.push(pathSegment);\n }\n }\n const normalizedPath = `${path?.startsWith(\"/\") ? \"/\" : \"\"}${normalizedPathSegments.join(\"/\")}${normalizedPathSegments.length > 0 && path?.endsWith(\"/\") ? \"/\" : \"\"}`;\n const doubleEncoded = encodeURIComponent(normalizedPath);\n return doubleEncoded.replace(/%2F/g, \"/\");\n }\n return path;\n }\n async getSignature(longDate, credentialScope, keyPromise, canonicalRequest) {\n const stringToSign = await this.createStringToSign(longDate, credentialScope, canonicalRequest);\n const hash = new this.sha256(await keyPromise);\n hash.update(toUint8Array(stringToSign));\n return toHex(await hash.digest());\n }\n getSigningKey(credentials, region, shortDate, service) {\n return getSigningKey(this.sha256, credentials, shortDate, region, service || this.service);\n }\n validateResolvedCredentials(credentials) {\n if (typeof credentials !== \"object\" ||\n typeof credentials.accessKeyId !== \"string\" ||\n typeof credentials.secretAccessKey !== \"string\") {\n throw new Error(\"Resolved credential object is not valid\");\n }\n }\n}\nconst formatDate = (now) => {\n const longDate = iso8601(now).replace(/[\\-:]/g, \"\");\n return {\n longDate,\n shortDate: longDate.slice(0, 8),\n };\n};\nconst getCanonicalHeaderList = (headers) => Object.keys(headers).sort().join(\";\");\n","import { escapeUri } from \"@aws-sdk/util-uri-escape\";\nimport { SIGNATURE_HEADER } from \"./constants\";\nexport const getCanonicalQuery = ({ query = {} }) => {\n const keys = [];\n const serialized = {};\n for (const key of Object.keys(query).sort()) {\n if (key.toLowerCase() === SIGNATURE_HEADER) {\n continue;\n }\n keys.push(key);\n const value = query[key];\n if (typeof value === \"string\") {\n serialized[key] = `${escapeUri(key)}=${escapeUri(value)}`;\n }\n else if (Array.isArray(value)) {\n serialized[key] = value\n .slice(0)\n .sort()\n .reduce((encoded, value) => encoded.concat([`${escapeUri(key)}=${escapeUri(value)}`]), [])\n .join(\"&\");\n }\n }\n return keys\n .map((key) => serialized[key])\n .filter((serialized) => serialized)\n .join(\"&\");\n};\n","export const iso8601 = (time) => toDate(time)\n .toISOString()\n .replace(/\\.\\d{3}Z$/, \"Z\");\nexport const toDate = (time) => {\n if (typeof time === \"number\") {\n return new Date(time * 1000);\n }\n if (typeof time === \"string\") {\n if (Number(time)) {\n return new Date(Number(time) * 1000);\n }\n return new Date(time);\n }\n return time;\n};\n","import { memoize } from \"@aws-sdk/property-provider\";\nimport { SignatureV4 } from \"@aws-sdk/signature-v4\";\nimport { normalizeProvider } from \"@aws-sdk/util-middleware\";\nconst CREDENTIAL_EXPIRE_WINDOW = 300000;\nexport const resolveAwsAuthConfig = (input) => {\n const normalizedCreds = input.credentials\n ? normalizeCredentialProvider(input.credentials)\n : input.credentialDefaultProvider(input);\n const { signingEscapePath = true, systemClockOffset = input.systemClockOffset || 0, sha256 } = input;\n let signer;\n if (input.signer) {\n signer = normalizeProvider(input.signer);\n }\n else if (input.regionInfoProvider) {\n signer = () => normalizeProvider(input.region)()\n .then(async (region) => [\n (await input.regionInfoProvider(region, {\n useFipsEndpoint: await input.useFipsEndpoint(),\n useDualstackEndpoint: await input.useDualstackEndpoint(),\n })) || {},\n region,\n ])\n .then(([regionInfo, region]) => {\n const { signingRegion, signingService } = regionInfo;\n input.signingRegion = input.signingRegion || signingRegion || region;\n input.signingName = input.signingName || signingService || input.serviceId;\n const params = {\n ...input,\n credentials: normalizedCreds,\n region: input.signingRegion,\n service: input.signingName,\n sha256,\n uriEscapePath: signingEscapePath,\n };\n const SignerCtor = input.signerConstructor || SignatureV4;\n return new SignerCtor(params);\n });\n }\n else {\n signer = async (authScheme) => {\n authScheme = Object.assign({}, {\n name: \"sigv4\",\n signingName: input.signingName || input.defaultSigningName,\n signingRegion: await normalizeProvider(input.region)(),\n properties: {},\n }, authScheme);\n const signingRegion = authScheme.signingRegion;\n const signingService = authScheme.signingName;\n input.signingRegion = input.signingRegion || signingRegion;\n input.signingName = input.signingName || signingService || input.serviceId;\n const params = {\n ...input,\n credentials: normalizedCreds,\n region: input.signingRegion,\n service: input.signingName,\n sha256,\n uriEscapePath: signingEscapePath,\n };\n const SignerCtor = input.signerConstructor || SignatureV4;\n return new SignerCtor(params);\n };\n }\n return {\n ...input,\n systemClockOffset,\n signingEscapePath,\n credentials: normalizedCreds,\n signer,\n };\n};\nexport const resolveSigV4AuthConfig = (input) => {\n const normalizedCreds = input.credentials\n ? normalizeCredentialProvider(input.credentials)\n : input.credentialDefaultProvider(input);\n const { signingEscapePath = true, systemClockOffset = input.systemClockOffset || 0, sha256 } = input;\n let signer;\n if (input.signer) {\n signer = normalizeProvider(input.signer);\n }\n else {\n signer = normalizeProvider(new SignatureV4({\n credentials: normalizedCreds,\n region: input.region,\n service: input.signingName,\n sha256,\n uriEscapePath: signingEscapePath,\n }));\n }\n return {\n ...input,\n systemClockOffset,\n signingEscapePath,\n credentials: normalizedCreds,\n signer,\n };\n};\nconst normalizeCredentialProvider = (credentials) => {\n if (typeof credentials === \"function\") {\n return memoize(credentials, (credentials) => credentials.expiration !== undefined &&\n credentials.expiration.getTime() - Date.now() < CREDENTIAL_EXPIRE_WINDOW, (credentials) => credentials.expiration !== undefined);\n }\n return normalizeProvider(credentials);\n};\n","export const getSkewCorrectedDate = (systemClockOffset) => new Date(Date.now() + systemClockOffset);\n","import { isClockSkewed } from \"./isClockSkewed\";\nexport const getUpdatedSystemClockOffset = (clockTime, currentSystemClockOffset) => {\n const clockTimeInMs = Date.parse(clockTime);\n if (isClockSkewed(clockTimeInMs, currentSystemClockOffset)) {\n return clockTimeInMs - Date.now();\n }\n return currentSystemClockOffset;\n};\n","import { getSkewCorrectedDate } from \"./getSkewCorrectedDate\";\nexport const isClockSkewed = (clockTime, systemClockOffset) => Math.abs(getSkewCorrectedDate(systemClockOffset).getTime() - clockTime) >= 300000;\n","import { HttpRequest, HttpResponse } from \"@aws-sdk/protocol-http\";\nimport { getSkewCorrectedDate } from \"./utils/getSkewCorrectedDate\";\nimport { getUpdatedSystemClockOffset } from \"./utils/getUpdatedSystemClockOffset\";\nexport const awsAuthMiddleware = (options) => (next, context) => async function (args) {\n if (!HttpRequest.isInstance(args.request))\n return next(args);\n const authScheme = context.endpointV2?.properties?.authSchemes?.[0];\n const multiRegionOverride = authScheme?.name === \"sigv4a\" ? authScheme?.signingRegionSet?.join(\",\") : undefined;\n const signer = await options.signer(authScheme);\n const output = await next({\n ...args,\n request: await signer.sign(args.request, {\n signingDate: getSkewCorrectedDate(options.systemClockOffset),\n signingRegion: multiRegionOverride || context[\"signing_region\"],\n signingService: context[\"signing_service\"],\n }),\n }).catch((error) => {\n const serverTime = error.ServerTime ?? getDateHeader(error.$response);\n if (serverTime) {\n options.systemClockOffset = getUpdatedSystemClockOffset(serverTime, options.systemClockOffset);\n }\n throw error;\n });\n const dateHeader = getDateHeader(output.response);\n if (dateHeader) {\n options.systemClockOffset = getUpdatedSystemClockOffset(dateHeader, options.systemClockOffset);\n }\n return output;\n};\nconst getDateHeader = (response) => HttpResponse.isInstance(response) ? response.headers?.date ?? response.headers?.Date : undefined;\nexport const awsAuthMiddlewareOptions = {\n name: \"awsAuthMiddleware\",\n tags: [\"SIGNATURE\", \"AWSAUTH\"],\n relation: \"after\",\n toMiddleware: \"retryMiddleware\",\n override: true,\n};\nexport const getAwsAuthPlugin = (options) => ({\n applyToStack: (clientStack) => {\n clientStack.addRelativeTo(awsAuthMiddleware(options), awsAuthMiddlewareOptions);\n },\n});\nexport const getSigV4AuthPlugin = getAwsAuthPlugin;\n","export function resolveUserAgentConfig(input) {\n return {\n ...input,\n customUserAgent: typeof input.customUserAgent === \"string\" ? [[input.customUserAgent]] : input.customUserAgent,\n };\n}\n","import partitionsInfo from \"./partitions.json\";\nlet selectedPartitionsInfo = partitionsInfo;\nlet selectedUserAgentPrefix = \"\";\nexport const partition = (value) => {\n const { partitions } = selectedPartitionsInfo;\n for (const partition of partitions) {\n const { regions, outputs } = partition;\n for (const [region, regionData] of Object.entries(regions)) {\n if (region === value) {\n return {\n ...outputs,\n ...regionData,\n };\n }\n }\n }\n for (const partition of partitions) {\n const { regionRegex, outputs } = partition;\n if (new RegExp(regionRegex).test(value)) {\n return {\n ...outputs,\n };\n }\n }\n const DEFAULT_PARTITION = partitions.find((partition) => partition.id === \"aws\");\n if (!DEFAULT_PARTITION) {\n throw new Error(\"Provided region was not found in the partition array or regex,\" +\n \" and default partition with id 'aws' doesn't exist.\");\n }\n return {\n ...DEFAULT_PARTITION.outputs,\n };\n};\nexport const setPartitionInfo = (partitionsInfo, userAgentPrefix = \"\") => {\n selectedPartitionsInfo = partitionsInfo;\n selectedUserAgentPrefix = userAgentPrefix;\n};\nexport const useDefaultPartitionInfo = () => {\n setPartitionInfo(partitionsInfo, \"\");\n};\nexport const getUserAgentPrefix = () => selectedUserAgentPrefix;\n","export const debugId = \"endpoints\";\n","export function toDebugString(input) {\n if (typeof input !== \"object\" || input == null) {\n return input;\n }\n if (\"ref\" in input) {\n return `$${toDebugString(input.ref)}`;\n }\n if (\"fn\" in input) {\n return `${input.fn}(${(input.argv || []).map(toDebugString).join(\", \")})`;\n }\n return JSON.stringify(input, null, 2);\n}\n","export class EndpointError extends Error {\n constructor(message) {\n super(message);\n this.name = \"EndpointError\";\n }\n}\n","const IP_V4_REGEX = new RegExp(`^(?:25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]\\\\d|\\\\d)(?:\\\\.(?:25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]\\\\d|\\\\d)){3}$`);\nexport const isIpAddress = (value) => IP_V4_REGEX.test(value) || (value.startsWith(\"[\") && value.endsWith(\"]\"));\n","const VALID_HOST_LABEL_REGEX = new RegExp(`^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$`);\nexport const isValidHostLabel = (value, allowSubDomains = false) => {\n if (!allowSubDomains) {\n return VALID_HOST_LABEL_REGEX.test(value);\n }\n const labels = value.split(\".\");\n for (const label of labels) {\n if (!isValidHostLabel(label)) {\n return false;\n }\n }\n return true;\n};\n","import { isIpAddress } from \"../isIpAddress\";\nimport { isValidHostLabel } from \"../isValidHostLabel\";\nexport const isVirtualHostableS3Bucket = (value, allowSubDomains = false) => {\n if (allowSubDomains) {\n for (const label of value.split(\".\")) {\n if (!isVirtualHostableS3Bucket(label)) {\n return false;\n }\n }\n return true;\n }\n if (!isValidHostLabel(value)) {\n return false;\n }\n if (value.length < 3 || value.length > 63) {\n return false;\n }\n if (value !== value.toLowerCase()) {\n return false;\n }\n if (isIpAddress(value)) {\n return false;\n }\n return true;\n};\n","export const parseArn = (value) => {\n const segments = value.split(\":\");\n if (segments.length < 6)\n return null;\n const [arn, partition, service, region, accountId, ...resourceId] = segments;\n if (arn !== \"arn\" || partition === \"\" || service === \"\" || resourceId[0] === \"\")\n return null;\n return {\n partition,\n service,\n region,\n accountId,\n resourceId: resourceId[0].includes(\"/\") ? resourceId[0].split(\"/\") : resourceId,\n };\n};\n","export const booleanEquals = (value1, value2) => value1 === value2;\n","import { EndpointError } from \"../types\";\nimport { getAttrPathList } from \"./getAttrPathList\";\nexport const getAttr = (value, path) => getAttrPathList(path).reduce((acc, index) => {\n if (typeof acc !== \"object\") {\n throw new EndpointError(`Index '${index}' in '${path}' not found in '${JSON.stringify(value)}'`);\n }\n else if (Array.isArray(acc)) {\n return acc[parseInt(index)];\n }\n return acc[index];\n}, value);\n","import { EndpointError } from \"../types\";\nexport const getAttrPathList = (path) => {\n const parts = path.split(\".\");\n const pathList = [];\n for (const part of parts) {\n const squareBracketIndex = part.indexOf(\"[\");\n if (squareBracketIndex !== -1) {\n if (part.indexOf(\"]\") !== part.length - 1) {\n throw new EndpointError(`Path: '${path}' does not end with ']'`);\n }\n const arrayIndex = part.slice(squareBracketIndex + 1, -1);\n if (Number.isNaN(parseInt(arrayIndex))) {\n throw new EndpointError(`Invalid array index: '${arrayIndex}' in path: '${path}'`);\n }\n if (squareBracketIndex !== 0) {\n pathList.push(part.slice(0, squareBracketIndex));\n }\n pathList.push(arrayIndex);\n }\n else {\n pathList.push(part);\n }\n }\n return pathList;\n};\n","export const isSet = (value) => value != null;\n","export const not = (value) => !value;\n","export var EndpointURLScheme;\n(function (EndpointURLScheme) {\n EndpointURLScheme[\"HTTP\"] = \"http\";\n EndpointURLScheme[\"HTTPS\"] = \"https\";\n})(EndpointURLScheme || (EndpointURLScheme = {}));\n","import { EndpointURLScheme } from \"@aws-sdk/types\";\nimport { isIpAddress } from \"./isIpAddress\";\nconst DEFAULT_PORTS = {\n [EndpointURLScheme.HTTP]: 80,\n [EndpointURLScheme.HTTPS]: 443,\n};\nexport const parseURL = (value) => {\n const whatwgURL = (() => {\n try {\n if (value instanceof URL) {\n return value;\n }\n if (typeof value === \"object\" && \"hostname\" in value) {\n const { hostname, port, protocol = \"\", path = \"\", query = {} } = value;\n const url = new URL(`${protocol}//${hostname}${port ? `:${port}` : \"\"}${path}`);\n url.search = Object.entries(query)\n .map(([k, v]) => `${k}=${v}`)\n .join(\"&\");\n return url;\n }\n return new URL(value);\n }\n catch (error) {\n return null;\n }\n })();\n if (!whatwgURL) {\n console.error(`Unable to parse ${JSON.stringify(value)} as a whatwg URL.`);\n return null;\n }\n const urlString = whatwgURL.href;\n const { host, hostname, pathname, protocol, search } = whatwgURL;\n if (search) {\n return null;\n }\n const scheme = protocol.slice(0, -1);\n if (!Object.values(EndpointURLScheme).includes(scheme)) {\n return null;\n }\n const isIp = isIpAddress(hostname);\n const inputContainsDefaultPort = urlString.includes(`${host}:${DEFAULT_PORTS[scheme]}`) ||\n (typeof value === \"string\" && value.includes(`${host}:${DEFAULT_PORTS[scheme]}`));\n const authority = `${host}${inputContainsDefaultPort ? `:${DEFAULT_PORTS[scheme]}` : ``}`;\n return {\n scheme,\n authority,\n path: pathname,\n normalizedPath: pathname.endsWith(\"/\") ? pathname : `${pathname}/`,\n isIp,\n };\n};\n","export const stringEquals = (value1, value2) => value1 === value2;\n","export const substring = (input, start, stop, reverse) => {\n if (start >= stop || input.length < stop) {\n return null;\n }\n if (!reverse) {\n return input.substring(start, stop);\n }\n return input.substring(input.length - stop, input.length - start);\n};\n","export const uriEncode = (value) => encodeURIComponent(value).replace(/[!*'()]/g, (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`);\n","import { getAttr } from \"../lib\";\nexport const evaluateTemplate = (template, options) => {\n const evaluatedTemplateArr = [];\n const templateContext = {\n ...options.endpointParams,\n ...options.referenceRecord,\n };\n let currentIndex = 0;\n while (currentIndex < template.length) {\n const openingBraceIndex = template.indexOf(\"{\", currentIndex);\n if (openingBraceIndex === -1) {\n evaluatedTemplateArr.push(template.slice(currentIndex));\n break;\n }\n evaluatedTemplateArr.push(template.slice(currentIndex, openingBraceIndex));\n const closingBraceIndex = template.indexOf(\"}\", openingBraceIndex);\n if (closingBraceIndex === -1) {\n evaluatedTemplateArr.push(template.slice(openingBraceIndex));\n break;\n }\n if (template[openingBraceIndex + 1] === \"{\" && template[closingBraceIndex + 1] === \"}\") {\n evaluatedTemplateArr.push(template.slice(openingBraceIndex + 1, closingBraceIndex));\n currentIndex = closingBraceIndex + 2;\n }\n const parameterName = template.substring(openingBraceIndex + 1, closingBraceIndex);\n if (parameterName.includes(\"#\")) {\n const [refName, attrName] = parameterName.split(\"#\");\n evaluatedTemplateArr.push(getAttr(templateContext[refName], attrName));\n }\n else {\n evaluatedTemplateArr.push(templateContext[parameterName]);\n }\n currentIndex = closingBraceIndex + 1;\n }\n return evaluatedTemplateArr.join(\"\");\n};\n","import { EndpointError } from \"../types\";\nimport { callFunction } from \"./callFunction\";\nimport { evaluateTemplate } from \"./evaluateTemplate\";\nimport { getReferenceValue } from \"./getReferenceValue\";\nexport const evaluateExpression = (obj, keyName, options) => {\n if (typeof obj === \"string\") {\n return evaluateTemplate(obj, options);\n }\n else if (obj[\"fn\"]) {\n return callFunction(obj, options);\n }\n else if (obj[\"ref\"]) {\n return getReferenceValue(obj, options);\n }\n throw new EndpointError(`'${keyName}': ${String(obj)} is not a string, function or reference.`);\n};\n","export const getReferenceValue = ({ ref }, options) => {\n const referenceRecord = {\n ...options.endpointParams,\n ...options.referenceRecord,\n };\n return referenceRecord[ref];\n};\n","import * as lib from \"../lib\";\nimport { evaluateExpression } from \"./evaluateExpression\";\nexport const callFunction = ({ fn, argv }, options) => {\n const evaluatedArgs = argv.map((arg) => [\"boolean\", \"number\"].includes(typeof arg) ? arg : evaluateExpression(arg, \"arg\", options));\n return fn.split(\".\").reduce((acc, key) => acc[key], lib)(...evaluatedArgs);\n};\n","import { debugId, toDebugString } from \"../debug\";\nimport { EndpointError } from \"../types\";\nimport { callFunction } from \"./callFunction\";\nexport const evaluateCondition = ({ assign, ...fnArgs }, options) => {\n if (assign && assign in options.referenceRecord) {\n throw new EndpointError(`'${assign}' is already defined in Reference Record.`);\n }\n const value = callFunction(fnArgs, options);\n options.logger?.debug?.(debugId, `evaluateCondition: ${toDebugString(fnArgs)} = ${toDebugString(value)}`);\n return {\n result: value === \"\" ? true : !!value,\n ...(assign != null && { toAssign: { name: assign, value } }),\n };\n};\n","import { debugId, toDebugString } from \"../debug\";\nimport { evaluateCondition } from \"./evaluateCondition\";\nexport const evaluateConditions = (conditions = [], options) => {\n const conditionsReferenceRecord = {};\n for (const condition of conditions) {\n const { result, toAssign } = evaluateCondition(condition, {\n ...options,\n referenceRecord: {\n ...options.referenceRecord,\n ...conditionsReferenceRecord,\n },\n });\n if (!result) {\n return { result };\n }\n if (toAssign) {\n conditionsReferenceRecord[toAssign.name] = toAssign.value;\n options.logger?.debug?.(debugId, `assign: ${toAssign.name} := ${toDebugString(toAssign.value)}`);\n }\n }\n return { result: true, referenceRecord: conditionsReferenceRecord };\n};\n","import { EndpointError } from \"../types\";\nimport { evaluateExpression } from \"./evaluateExpression\";\nexport const getEndpointHeaders = (headers, options) => Object.entries(headers).reduce((acc, [headerKey, headerVal]) => ({\n ...acc,\n [headerKey]: headerVal.map((headerValEntry) => {\n const processedExpr = evaluateExpression(headerValEntry, \"Header value entry\", options);\n if (typeof processedExpr !== \"string\") {\n throw new EndpointError(`Header '${headerKey}' value '${processedExpr}' is not a string`);\n }\n return processedExpr;\n }),\n}), {});\n","import { EndpointError } from \"../types\";\nimport { evaluateTemplate } from \"./evaluateTemplate\";\nimport { getEndpointProperties } from \"./getEndpointProperties\";\nexport const getEndpointProperty = (property, options) => {\n if (Array.isArray(property)) {\n return property.map((propertyEntry) => getEndpointProperty(propertyEntry, options));\n }\n switch (typeof property) {\n case \"string\":\n return evaluateTemplate(property, options);\n case \"object\":\n if (property === null) {\n throw new EndpointError(`Unexpected endpoint property: ${property}`);\n }\n return getEndpointProperties(property, options);\n case \"boolean\":\n return property;\n default:\n throw new EndpointError(`Unexpected endpoint property type: ${typeof property}`);\n }\n};\n","import { getEndpointProperty } from \"./getEndpointProperty\";\nexport const getEndpointProperties = (properties, options) => Object.entries(properties).reduce((acc, [propertyKey, propertyVal]) => ({\n ...acc,\n [propertyKey]: getEndpointProperty(propertyVal, options),\n}), {});\n","import { EndpointError } from \"../types\";\nimport { evaluateExpression } from \"./evaluateExpression\";\nexport const getEndpointUrl = (endpointUrl, options) => {\n const expression = evaluateExpression(endpointUrl, \"Endpoint URL\", options);\n if (typeof expression === \"string\") {\n try {\n return new URL(expression);\n }\n catch (error) {\n console.error(`Failed to construct URL with ${expression}`, error);\n throw error;\n }\n }\n throw new EndpointError(`Endpoint URL must be a string, got ${typeof expression}`);\n};\n","import { debugId, toDebugString } from \"../debug\";\nimport { evaluateConditions } from \"./evaluateConditions\";\nimport { getEndpointHeaders } from \"./getEndpointHeaders\";\nimport { getEndpointProperties } from \"./getEndpointProperties\";\nimport { getEndpointUrl } from \"./getEndpointUrl\";\nexport const evaluateEndpointRule = (endpointRule, options) => {\n const { conditions, endpoint } = endpointRule;\n const { result, referenceRecord } = evaluateConditions(conditions, options);\n if (!result) {\n return;\n }\n const endpointRuleOptions = {\n ...options,\n referenceRecord: { ...options.referenceRecord, ...referenceRecord },\n };\n const { url, properties, headers } = endpoint;\n options.logger?.debug?.(debugId, `Resolving endpoint from template: ${toDebugString(endpoint)}`);\n return {\n ...(headers != undefined && {\n headers: getEndpointHeaders(headers, endpointRuleOptions),\n }),\n ...(properties != undefined && {\n properties: getEndpointProperties(properties, endpointRuleOptions),\n }),\n url: getEndpointUrl(url, endpointRuleOptions),\n };\n};\n","import { EndpointError } from \"../types\";\nimport { evaluateConditions } from \"./evaluateConditions\";\nimport { evaluateExpression } from \"./evaluateExpression\";\nexport const evaluateErrorRule = (errorRule, options) => {\n const { conditions, error } = errorRule;\n const { result, referenceRecord } = evaluateConditions(conditions, options);\n if (!result) {\n return;\n }\n throw new EndpointError(evaluateExpression(error, \"Error\", {\n ...options,\n referenceRecord: { ...options.referenceRecord, ...referenceRecord },\n }));\n};\n","import { evaluateConditions } from \"./evaluateConditions\";\nimport { evaluateRules } from \"./evaluateRules\";\nexport const evaluateTreeRule = (treeRule, options) => {\n const { conditions, rules } = treeRule;\n const { result, referenceRecord } = evaluateConditions(conditions, options);\n if (!result) {\n return;\n }\n return evaluateRules(rules, {\n ...options,\n referenceRecord: { ...options.referenceRecord, ...referenceRecord },\n });\n};\n","import { EndpointError } from \"../types\";\nimport { evaluateEndpointRule } from \"./evaluateEndpointRule\";\nimport { evaluateErrorRule } from \"./evaluateErrorRule\";\nimport { evaluateTreeRule } from \"./evaluateTreeRule\";\nexport const evaluateRules = (rules, options) => {\n for (const rule of rules) {\n if (rule.type === \"endpoint\") {\n const endpointOrUndefined = evaluateEndpointRule(rule, options);\n if (endpointOrUndefined) {\n return endpointOrUndefined;\n }\n }\n else if (rule.type === \"error\") {\n evaluateErrorRule(rule, options);\n }\n else if (rule.type === \"tree\") {\n const endpointOrUndefined = evaluateTreeRule(rule, options);\n if (endpointOrUndefined) {\n return endpointOrUndefined;\n }\n }\n else {\n throw new EndpointError(`Unknown endpoint rule: ${rule}`);\n }\n }\n throw new EndpointError(`Rules evaluation failed`);\n};\n","import { debugId, toDebugString } from \"./debug\";\nimport { EndpointError } from \"./types\";\nimport { evaluateRules } from \"./utils\";\nexport const resolveEndpoint = (ruleSetObject, options) => {\n const { endpointParams, logger } = options;\n const { parameters, rules } = ruleSetObject;\n options.logger?.debug?.(`${debugId} Initial EndpointParams: ${toDebugString(endpointParams)}`);\n const paramsWithDefault = Object.entries(parameters)\n .filter(([, v]) => v.default != null)\n .map(([k, v]) => [k, v.default]);\n if (paramsWithDefault.length > 0) {\n for (const [paramKey, paramDefaultValue] of paramsWithDefault) {\n endpointParams[paramKey] = endpointParams[paramKey] ?? paramDefaultValue;\n }\n }\n const requiredParams = Object.entries(parameters)\n .filter(([, v]) => v.required)\n .map(([k]) => k);\n for (const requiredParam of requiredParams) {\n if (endpointParams[requiredParam] == null) {\n throw new EndpointError(`Missing required parameter: '${requiredParam}'`);\n }\n }\n const endpoint = evaluateRules(rules, { endpointParams, logger, referenceRecord: {} });\n if (options.endpointParams?.Endpoint) {\n try {\n const givenEndpoint = new URL(options.endpointParams.Endpoint);\n const { protocol, port } = givenEndpoint;\n endpoint.url.protocol = protocol;\n endpoint.url.port = port;\n }\n catch (e) {\n }\n }\n options.logger?.debug?.(`${debugId} Resolved endpoint: ${toDebugString(endpoint)}`);\n return endpoint;\n};\n","export const USER_AGENT = \"user-agent\";\nexport const X_AMZ_USER_AGENT = \"x-amz-user-agent\";\nexport const SPACE = \" \";\nexport const UA_NAME_SEPARATOR = \"/\";\nexport const UA_NAME_ESCAPE_REGEX = /[^\\!\\$\\%\\&\\'\\*\\+\\-\\.\\^\\_\\`\\|\\~\\d\\w]/g;\nexport const UA_VALUE_ESCAPE_REGEX = /[^\\!\\$\\%\\&\\'\\*\\+\\-\\.\\^\\_\\`\\|\\~\\d\\w\\#]/g;\nexport const UA_ESCAPE_CHAR = \"-\";\n","import { HttpRequest } from \"@aws-sdk/protocol-http\";\nimport { getUserAgentPrefix } from \"@aws-sdk/util-endpoints\";\nimport { SPACE, UA_ESCAPE_CHAR, UA_NAME_ESCAPE_REGEX, UA_NAME_SEPARATOR, UA_VALUE_ESCAPE_REGEX, USER_AGENT, X_AMZ_USER_AGENT, } from \"./constants\";\nexport const userAgentMiddleware = (options) => (next, context) => async (args) => {\n const { request } = args;\n if (!HttpRequest.isInstance(request))\n return next(args);\n const { headers } = request;\n const userAgent = context?.userAgent?.map(escapeUserAgent) || [];\n const defaultUserAgent = (await options.defaultUserAgentProvider()).map(escapeUserAgent);\n const customUserAgent = options?.customUserAgent?.map(escapeUserAgent) || [];\n const prefix = getUserAgentPrefix();\n const sdkUserAgentValue = (prefix ? [prefix] : [])\n .concat([...defaultUserAgent, ...userAgent, ...customUserAgent])\n .join(SPACE);\n const normalUAValue = [\n ...defaultUserAgent.filter((section) => section.startsWith(\"aws-sdk-\")),\n ...customUserAgent,\n ].join(SPACE);\n if (options.runtime !== \"browser\") {\n if (normalUAValue) {\n headers[X_AMZ_USER_AGENT] = headers[X_AMZ_USER_AGENT]\n ? `${headers[USER_AGENT]} ${normalUAValue}`\n : normalUAValue;\n }\n headers[USER_AGENT] = sdkUserAgentValue;\n }\n else {\n headers[X_AMZ_USER_AGENT] = sdkUserAgentValue;\n }\n return next({\n ...args,\n request,\n });\n};\nconst escapeUserAgent = (userAgentPair) => {\n const name = userAgentPair[0]\n .split(UA_NAME_SEPARATOR)\n .map((part) => part.replace(UA_NAME_ESCAPE_REGEX, UA_ESCAPE_CHAR))\n .join(UA_NAME_SEPARATOR);\n const version = userAgentPair[1]?.replace(UA_VALUE_ESCAPE_REGEX, UA_ESCAPE_CHAR);\n const prefixSeparatorIndex = name.indexOf(UA_NAME_SEPARATOR);\n const prefix = name.substring(0, prefixSeparatorIndex);\n let uaName = name.substring(prefixSeparatorIndex + 1);\n if (prefix === \"api\") {\n uaName = uaName.toLowerCase();\n }\n return [prefix, uaName, version]\n .filter((item) => item && item.length > 0)\n .reduce((acc, item, index) => {\n switch (index) {\n case 0:\n return item;\n case 1:\n return `${acc}/${item}`;\n default:\n return `${acc}#${item}`;\n }\n }, \"\");\n};\nexport const getUserAgentMiddlewareOptions = {\n name: \"getUserAgentMiddleware\",\n step: \"build\",\n priority: \"low\",\n tags: [\"SET_USER_AGENT\", \"USER_AGENT\"],\n override: true,\n};\nexport const getUserAgentPlugin = (config) => ({\n applyToStack: (clientStack) => {\n clientStack.add(userAgentMiddleware(config), getUserAgentMiddlewareOptions);\n },\n});\n","import { escapeUri } from \"@aws-sdk/util-uri-escape\";\nexport function buildQueryString(query) {\n const parts = [];\n for (let key of Object.keys(query).sort()) {\n const value = query[key];\n key = escapeUri(key);\n if (Array.isArray(value)) {\n for (let i = 0, iLen = value.length; i < iLen; i++) {\n parts.push(`${key}=${escapeUri(value[i])}`);\n }\n }\n else {\n let qsEntry = key;\n if (value || typeof value === \"string\") {\n qsEntry += `=${escapeUri(value)}`;\n }\n parts.push(qsEntry);\n }\n }\n return parts.join(\"&\");\n}\n","export function requestTimeout(timeoutInMs = 0) {\n return new Promise((resolve, reject) => {\n if (timeoutInMs) {\n setTimeout(() => {\n const timeoutError = new Error(`Request did not complete within ${timeoutInMs} ms`);\n timeoutError.name = \"TimeoutError\";\n reject(timeoutError);\n }, timeoutInMs);\n }\n });\n}\n","const alphabetByEncoding = {};\nconst alphabetByValue = new Array(64);\nfor (let i = 0, start = \"A\".charCodeAt(0), limit = \"Z\".charCodeAt(0); i + start <= limit; i++) {\n const char = String.fromCharCode(i + start);\n alphabetByEncoding[char] = i;\n alphabetByValue[i] = char;\n}\nfor (let i = 0, start = \"a\".charCodeAt(0), limit = \"z\".charCodeAt(0); i + start <= limit; i++) {\n const char = String.fromCharCode(i + start);\n const index = i + 26;\n alphabetByEncoding[char] = index;\n alphabetByValue[index] = char;\n}\nfor (let i = 0; i < 10; i++) {\n alphabetByEncoding[i.toString(10)] = i + 52;\n const char = i.toString(10);\n const index = i + 52;\n alphabetByEncoding[char] = index;\n alphabetByValue[index] = char;\n}\nalphabetByEncoding[\"+\"] = 62;\nalphabetByValue[62] = \"+\";\nalphabetByEncoding[\"/\"] = 63;\nalphabetByValue[63] = \"/\";\nconst bitsPerLetter = 6;\nconst bitsPerByte = 8;\nconst maxLetterValue = 0b111111;\nexport { alphabetByEncoding, alphabetByValue, bitsPerLetter, bitsPerByte, maxLetterValue };\n","import { HttpResponse } from \"@aws-sdk/protocol-http\";\nimport { buildQueryString } from \"@aws-sdk/querystring-builder\";\nimport { requestTimeout } from \"./request-timeout\";\nexport class FetchHttpHandler {\n constructor(options) {\n if (typeof options === \"function\") {\n this.configProvider = options().then((opts) => opts || {});\n }\n else {\n this.config = options ?? {};\n this.configProvider = Promise.resolve(this.config);\n }\n }\n destroy() {\n }\n async handle(request, { abortSignal } = {}) {\n if (!this.config) {\n this.config = await this.configProvider;\n }\n const requestTimeoutInMs = this.config.requestTimeout;\n if (abortSignal?.aborted) {\n const abortError = new Error(\"Request aborted\");\n abortError.name = \"AbortError\";\n return Promise.reject(abortError);\n }\n let path = request.path;\n const queryString = buildQueryString(request.query || {});\n if (queryString) {\n path += `?${queryString}`;\n }\n if (request.fragment) {\n path += `#${request.fragment}`;\n }\n let auth = \"\";\n if (request.username != null || request.password != null) {\n const username = request.username ?? \"\";\n const password = request.password ?? \"\";\n auth = `${username}:${password}@`;\n }\n const { port, method } = request;\n const url = `${request.protocol}//${auth}${request.hostname}${port ? `:${port}` : \"\"}${path}`;\n const body = method === \"GET\" || method === \"HEAD\" ? undefined : request.body;\n const requestOptions = {\n body,\n headers: new Headers(request.headers),\n method: method,\n };\n if (typeof AbortController !== \"undefined\") {\n requestOptions[\"signal\"] = abortSignal;\n }\n const fetchRequest = new Request(url, requestOptions);\n const raceOfPromises = [\n fetch(fetchRequest).then((response) => {\n const fetchHeaders = response.headers;\n const transformedHeaders = {};\n for (const pair of fetchHeaders.entries()) {\n transformedHeaders[pair[0]] = pair[1];\n }\n const hasReadableStream = response.body != undefined;\n if (!hasReadableStream) {\n return response.blob().then((body) => ({\n response: new HttpResponse({\n headers: transformedHeaders,\n reason: response.statusText,\n statusCode: response.status,\n body,\n }),\n }));\n }\n return {\n response: new HttpResponse({\n headers: transformedHeaders,\n reason: response.statusText,\n statusCode: response.status,\n body: response.body,\n }),\n };\n }),\n requestTimeout(requestTimeoutInMs),\n ];\n if (abortSignal) {\n raceOfPromises.push(new Promise((resolve, reject) => {\n abortSignal.onabort = () => {\n const abortError = new Error(\"Request aborted\");\n abortError.name = \"AbortError\";\n reject(abortError);\n };\n }));\n }\n return Promise.race(raceOfPromises);\n }\n}\n","import { alphabetByEncoding, bitsPerByte, bitsPerLetter } from \"./constants.browser\";\nexport const fromBase64 = (input) => {\n let totalByteLength = (input.length / 4) * 3;\n if (input.slice(-2) === \"==\") {\n totalByteLength -= 2;\n }\n else if (input.slice(-1) === \"=\") {\n totalByteLength--;\n }\n const out = new ArrayBuffer(totalByteLength);\n const dataView = new DataView(out);\n for (let i = 0; i < input.length; i += 4) {\n let bits = 0;\n let bitLength = 0;\n for (let j = i, limit = i + 3; j <= limit; j++) {\n if (input[j] !== \"=\") {\n if (!(input[j] in alphabetByEncoding)) {\n throw new TypeError(`Invalid character ${input[j]} in base64 string.`);\n }\n bits |= alphabetByEncoding[input[j]] << ((limit - j) * bitsPerLetter);\n bitLength += bitsPerLetter;\n }\n else {\n bits >>= bitsPerLetter;\n }\n }\n const chunkOffset = (i / 4) * 3;\n bits >>= bitLength % bitsPerByte;\n const byteLength = Math.floor(bitLength / bitsPerByte);\n for (let k = 0; k < byteLength; k++) {\n const offset = (byteLength - k - 1) * bitsPerByte;\n dataView.setUint8(chunkOffset + k, (bits & (255 << offset)) >> offset);\n }\n }\n return new Uint8Array(out);\n};\n","import { alphabetByValue, bitsPerByte, bitsPerLetter, maxLetterValue } from \"./constants.browser\";\nexport function toBase64(input) {\n let str = \"\";\n for (let i = 0; i < input.length; i += 3) {\n let bits = 0;\n let bitLength = 0;\n for (let j = i, limit = Math.min(i + 3, input.length); j < limit; j++) {\n bits |= input[j] << ((limit - j - 1) * bitsPerByte);\n bitLength += bitsPerByte;\n }\n const bitClusterCount = Math.ceil(bitLength / bitsPerLetter);\n bits <<= bitClusterCount * bitsPerLetter - bitLength;\n for (let k = 1; k <= bitClusterCount; k++) {\n const offset = (bitClusterCount - k) * bitsPerLetter;\n str += alphabetByValue[(bits & (maxLetterValue << offset)) >> offset];\n }\n str += \"==\".slice(0, 4 - bitClusterCount);\n }\n return str;\n}\n","import { fromBase64 } from \"@aws-sdk/util-base64\";\nexport const streamCollector = (stream) => {\n if (typeof Blob === \"function\" && stream instanceof Blob) {\n return collectBlob(stream);\n }\n return collectStream(stream);\n};\nasync function collectBlob(blob) {\n const base64 = await readToBase64(blob);\n const arrayBuffer = fromBase64(base64);\n return new Uint8Array(arrayBuffer);\n}\nasync function collectStream(stream) {\n let res = new Uint8Array(0);\n const reader = stream.getReader();\n let isDone = false;\n while (!isDone) {\n const { done, value } = await reader.read();\n if (value) {\n const prior = res;\n res = new Uint8Array(prior.length + value.length);\n res.set(prior);\n res.set(value, prior.length);\n }\n isDone = done;\n }\n return res;\n}\nfunction readToBase64(blob) {\n return new Promise((resolve, reject) => {\n const reader = new FileReader();\n reader.onloadend = () => {\n if (reader.readyState !== 2) {\n return reject(new Error(\"Reader aborted too early\"));\n }\n const result = (reader.result ?? \"\");\n const commaIndex = result.indexOf(\",\");\n const dataOffset = commaIndex > -1 ? commaIndex + 1 : result.length;\n resolve(result.substring(dataOffset));\n };\n reader.onabort = () => reject(new Error(\"Read aborted\"));\n reader.onerror = () => reject(reader.error);\n reader.readAsDataURL(blob);\n });\n}\n","export const invalidProvider = (message) => () => Promise.reject(message);\n","export const calculateBodyLength = (body) => {\n if (typeof body === \"string\") {\n let len = body.length;\n for (let i = len - 1; i >= 0; i--) {\n const code = body.charCodeAt(i);\n if (code > 0x7f && code <= 0x7ff)\n len++;\n else if (code > 0x7ff && code <= 0xffff)\n len += 2;\n if (code >= 0xdc00 && code <= 0xdfff)\n i--;\n }\n return len;\n }\n else if (typeof body.byteLength === \"number\") {\n return body.byteLength;\n }\n else if (typeof body.size === \"number\") {\n return body.size;\n }\n throw new Error(`Body Length computation failed for ${body}`);\n};\n","import bowser from \"bowser\";\nexport const defaultUserAgent = ({ serviceId, clientVersion }) => async () => {\n const parsedUA = typeof window !== \"undefined\" && window?.navigator?.userAgent\n ? bowser.parse(window.navigator.userAgent)\n : undefined;\n const sections = [\n [\"aws-sdk-js\", clientVersion],\n [\"ua\", \"2.0\"],\n [`os/${parsedUA?.os?.name || \"other\"}`, parsedUA?.os?.version],\n [\"lang/js\"],\n [\"md/browser\", `${parsedUA?.browser?.name ?? \"unknown\"}_${parsedUA?.browser?.version ?? \"unknown\"}`],\n ];\n if (serviceId) {\n sections.push([`api/${serviceId}`, clientVersion]);\n }\n return sections;\n};\n","const p = \"required\", q = \"fn\", r = \"argv\", s = \"ref\";\nconst a = \"PartitionResult\", b = \"tree\", c = \"error\", d = \"endpoint\", e = { [p]: false, \"type\": \"String\" }, f = { [p]: true, \"default\": false, \"type\": \"Boolean\" }, g = { [s]: \"Endpoint\" }, h = { [q]: \"booleanEquals\", [r]: [{ [s]: \"UseFIPS\" }, true] }, i = { [q]: \"booleanEquals\", [r]: [{ [s]: \"UseDualStack\" }, true] }, j = {}, k = { [q]: \"booleanEquals\", [r]: [true, { [q]: \"getAttr\", [r]: [{ [s]: a }, \"supportsFIPS\"] }] }, l = { [q]: \"booleanEquals\", [r]: [true, { [q]: \"getAttr\", [r]: [{ [s]: a }, \"supportsDualStack\"] }] }, m = [g], n = [h], o = [i];\nconst _data = { version: \"1.0\", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: \"aws.partition\", [r]: [{ [s]: \"Region\" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: \"isSet\", [r]: m }, { [q]: \"parseURL\", [r]: m, assign: \"url\" }], type: b, rules: [{ conditions: n, error: \"Invalid Configuration: FIPS and custom endpoint are not supported\", type: c }, { type: b, rules: [{ conditions: o, error: \"Invalid Configuration: Dualstack and custom endpoint are not supported\", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: \"https://cognito-identity-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: j, headers: j }, type: d }] }, { error: \"FIPS and DualStack are enabled, but this partition does not support one or both\", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: \"https://cognito-identity-fips.{Region}.{PartitionResult#dnsSuffix}\", properties: j, headers: j }, type: d }] }] }, { error: \"FIPS is enabled but this partition does not support FIPS\", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: \"https://cognito-identity.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: j, headers: j }, type: d }] }, { error: \"DualStack is enabled but this partition does not support DualStack\", type: c }] }, { endpoint: { url: \"https://cognito-identity.{Region}.{PartitionResult#dnsSuffix}\", properties: j, headers: j }, type: d }] }] };\nexport const ruleSet = _data;\n","import { resolveEndpoint } from \"@aws-sdk/util-endpoints\";\nimport { ruleSet } from \"./ruleset\";\nexport const defaultEndpointResolver = (endpointParams, context = {}) => {\n return resolveEndpoint(ruleSet, {\n endpointParams: endpointParams,\n logger: context.logger,\n });\n};\n","export const DEFAULTS_MODE_OPTIONS = [\"in-region\", \"cross-region\", \"mobile\", \"standard\", \"legacy\"];\n","import { memoize } from \"@aws-sdk/property-provider\";\nimport bowser from \"bowser\";\nimport { DEFAULTS_MODE_OPTIONS } from \"./constants\";\nexport const resolveDefaultsModeConfig = ({ defaultsMode, } = {}) => memoize(async () => {\n const mode = typeof defaultsMode === \"function\" ? await defaultsMode() : defaultsMode;\n switch (mode?.toLowerCase()) {\n case \"auto\":\n return Promise.resolve(isMobileBrowser() ? \"mobile\" : \"standard\");\n case \"mobile\":\n case \"in-region\":\n case \"cross-region\":\n case \"standard\":\n case \"legacy\":\n return Promise.resolve(mode?.toLocaleLowerCase());\n case undefined:\n return Promise.resolve(\"legacy\");\n default:\n throw new Error(`Invalid parameter for \"defaultsMode\", expect ${DEFAULTS_MODE_OPTIONS.join(\", \")}, got ${mode}`);\n }\n});\nconst isMobileBrowser = () => {\n const parsedUA = typeof window !== \"undefined\" && window?.navigator?.userAgent\n ? bowser.parse(window.navigator.userAgent)\n : undefined;\n const platform = parsedUA?.platform?.type;\n return platform === \"tablet\" || platform === \"mobile\";\n};\n","import { resolveRegionConfig } from \"@aws-sdk/config-resolver\";\nimport { getContentLengthPlugin } from \"@aws-sdk/middleware-content-length\";\nimport { resolveEndpointConfig } from \"@aws-sdk/middleware-endpoint\";\nimport { getHostHeaderPlugin, resolveHostHeaderConfig, } from \"@aws-sdk/middleware-host-header\";\nimport { getLoggerPlugin } from \"@aws-sdk/middleware-logger\";\nimport { getRecursionDetectionPlugin } from \"@aws-sdk/middleware-recursion-detection\";\nimport { getRetryPlugin, resolveRetryConfig } from \"@aws-sdk/middleware-retry\";\nimport { resolveAwsAuthConfig } from \"@aws-sdk/middleware-signing\";\nimport { getUserAgentPlugin, resolveUserAgentConfig, } from \"@aws-sdk/middleware-user-agent\";\nimport { Client as __Client, } from \"@aws-sdk/smithy-client\";\nimport { resolveClientEndpointParameters, } from \"./endpoint/EndpointParameters\";\nimport { getRuntimeConfig as __getRuntimeConfig } from \"./runtimeConfig\";\nexport { __Client };\nexport class CognitoIdentityClient extends __Client {\n constructor(configuration) {\n const _config_0 = __getRuntimeConfig(configuration);\n const _config_1 = resolveClientEndpointParameters(_config_0);\n const _config_2 = resolveRegionConfig(_config_1);\n const _config_3 = resolveEndpointConfig(_config_2);\n const _config_4 = resolveRetryConfig(_config_3);\n const _config_5 = resolveHostHeaderConfig(_config_4);\n const _config_6 = resolveAwsAuthConfig(_config_5);\n const _config_7 = resolveUserAgentConfig(_config_6);\n super(_config_7);\n this.config = _config_7;\n this.middlewareStack.use(getRetryPlugin(this.config));\n this.middlewareStack.use(getContentLengthPlugin(this.config));\n this.middlewareStack.use(getHostHeaderPlugin(this.config));\n this.middlewareStack.use(getLoggerPlugin(this.config));\n this.middlewareStack.use(getRecursionDetectionPlugin(this.config));\n this.middlewareStack.use(getUserAgentPlugin(this.config));\n }\n destroy() {\n super.destroy();\n }\n}\n","export const resolveClientEndpointParameters = (options) => {\n return {\n ...options,\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n defaultSigningName: \"cognito-identity\",\n };\n};\n","import packageInfo from \"../package.json\";\nimport { Sha256 } from \"@aws-crypto/sha256-browser\";\nimport { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from \"@aws-sdk/config-resolver\";\nimport { FetchHttpHandler as RequestHandler, streamCollector } from \"@aws-sdk/fetch-http-handler\";\nimport { invalidProvider } from \"@aws-sdk/invalid-dependency\";\nimport { calculateBodyLength } from \"@aws-sdk/util-body-length-browser\";\nimport { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from \"@aws-sdk/util-retry\";\nimport { defaultUserAgent } from \"@aws-sdk/util-user-agent-browser\";\nimport { getRuntimeConfig as getSharedRuntimeConfig } from \"./runtimeConfig.shared\";\nimport { loadConfigsForDefaultMode } from \"@aws-sdk/smithy-client\";\nimport { resolveDefaultsModeConfig } from \"@aws-sdk/util-defaults-mode-browser\";\nexport const getRuntimeConfig = (config) => {\n const defaultsMode = resolveDefaultsModeConfig(config);\n const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);\n const clientSharedValues = getSharedRuntimeConfig(config);\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"browser\",\n defaultsMode,\n bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,\n credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error(\"Credential is missing\"))),\n defaultUserAgentProvider: config?.defaultUserAgentProvider ??\n defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),\n maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,\n region: config?.region ?? invalidProvider(\"Region is missing\"),\n requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),\n retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),\n sha256: config?.sha256 ?? Sha256,\n streamCollector: config?.streamCollector ?? streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),\n useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),\n };\n};\n","import { NoOpLogger } from \"@aws-sdk/smithy-client\";\nimport { parseUrl } from \"@aws-sdk/url-parser\";\nimport { fromBase64, toBase64 } from \"@aws-sdk/util-base64\";\nimport { fromUtf8, toUtf8 } from \"@aws-sdk/util-utf8\";\nimport { defaultEndpointResolver } from \"./endpoint/endpointResolver\";\nexport const getRuntimeConfig = (config) => ({\n apiVersion: \"2014-06-30\",\n base64Decoder: config?.base64Decoder ?? fromBase64,\n base64Encoder: config?.base64Encoder ?? toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,\n logger: config?.logger ?? new NoOpLogger(),\n serviceId: config?.serviceId ?? \"Cognito Identity\",\n urlParser: config?.urlParser ?? parseUrl,\n utf8Decoder: config?.utf8Decoder ?? fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? toUtf8,\n});\n","import { booleanSelector, SelectorType } from \"@aws-sdk/util-config-provider\";\nexport const ENV_USE_DUALSTACK_ENDPOINT = \"AWS_USE_DUALSTACK_ENDPOINT\";\nexport const CONFIG_USE_DUALSTACK_ENDPOINT = \"use_dualstack_endpoint\";\nexport const DEFAULT_USE_DUALSTACK_ENDPOINT = false;\nexport const NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS = {\n environmentVariableSelector: (env) => booleanSelector(env, ENV_USE_DUALSTACK_ENDPOINT, SelectorType.ENV),\n configFileSelector: (profile) => booleanSelector(profile, CONFIG_USE_DUALSTACK_ENDPOINT, SelectorType.CONFIG),\n default: false,\n};\n","import { booleanSelector, SelectorType } from \"@aws-sdk/util-config-provider\";\nexport const ENV_USE_FIPS_ENDPOINT = \"AWS_USE_FIPS_ENDPOINT\";\nexport const CONFIG_USE_FIPS_ENDPOINT = \"use_fips_endpoint\";\nexport const DEFAULT_USE_FIPS_ENDPOINT = false;\nexport const NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS = {\n environmentVariableSelector: (env) => booleanSelector(env, ENV_USE_FIPS_ENDPOINT, SelectorType.ENV),\n configFileSelector: (profile) => booleanSelector(profile, CONFIG_USE_FIPS_ENDPOINT, SelectorType.CONFIG),\n default: false,\n};\n","import { HttpRequest } from \"@aws-sdk/protocol-http\";\nexport function addExpectContinueMiddleware(options) {\n return (next) => async (args) => {\n const { request } = args;\n if (HttpRequest.isInstance(request) && request.body && options.runtime === \"node\") {\n request.headers = {\n ...request.headers,\n Expect: \"100-continue\",\n };\n }\n return next({\n ...args,\n request,\n });\n };\n}\nexport const addExpectContinueMiddlewareOptions = {\n step: \"build\",\n tags: [\"SET_EXPECT_HEADER\", \"EXPECT_HEADER\"],\n name: \"addExpectContinueMiddleware\",\n override: true,\n};\nexport const getAddExpectContinuePlugin = (options) => ({\n applyToStack: (clientStack) => {\n clientStack.add(addExpectContinueMiddleware(options), addExpectContinueMiddlewareOptions);\n },\n});\n","export function getUnmarshalledStream(source, options) {\n const messageUnmarshaller = getMessageUnmarshaller(options.deserializer, options.toUtf8);\n return {\n [Symbol.asyncIterator]: async function* () {\n for await (const chunk of source) {\n const message = options.eventStreamCodec.decode(chunk);\n const type = await messageUnmarshaller(message);\n if (type === undefined)\n continue;\n yield type;\n }\n },\n };\n}\nexport function getMessageUnmarshaller(deserializer, toUtf8) {\n return async function (message) {\n const { value: messageType } = message.headers[\":message-type\"];\n if (messageType === \"error\") {\n const unmodeledError = new Error(message.headers[\":error-message\"].value || \"UnknownError\");\n unmodeledError.name = message.headers[\":error-code\"].value;\n throw unmodeledError;\n }\n else if (messageType === \"exception\") {\n const code = message.headers[\":exception-type\"].value;\n const exception = { [code]: message };\n const deserializedException = await deserializer(exception);\n if (deserializedException.$unknown) {\n const error = new Error(toUtf8(message.body));\n error.name = code;\n throw error;\n }\n throw deserializedException[code];\n }\n else if (messageType === \"event\") {\n const event = {\n [message.headers[\":event-type\"].value]: message,\n };\n const deserialized = await deserializer(event);\n if (deserialized.$unknown)\n return;\n return deserialized;\n }\n else {\n throw Error(`Unrecognizable event type: ${message.headers[\":event-type\"].value}`);\n }\n };\n}\n","import { EventStreamCodec, MessageDecoderStream, MessageEncoderStream, SmithyMessageDecoderStream, SmithyMessageEncoderStream, } from \"@aws-sdk/eventstream-codec\";\nimport { getChunkedStream } from \"./getChunkedStream\";\nimport { getMessageUnmarshaller } from \"./getUnmarshalledStream\";\nexport class EventStreamMarshaller {\n constructor({ utf8Encoder, utf8Decoder }) {\n this.eventStreamCodec = new EventStreamCodec(utf8Encoder, utf8Decoder);\n this.utfEncoder = utf8Encoder;\n }\n deserialize(body, deserializer) {\n const inputStream = getChunkedStream(body);\n return new SmithyMessageDecoderStream({\n messageStream: new MessageDecoderStream({ inputStream, decoder: this.eventStreamCodec }),\n deserializer: getMessageUnmarshaller(deserializer, this.utfEncoder),\n });\n }\n serialize(inputStream, serializer) {\n return new MessageEncoderStream({\n messageStream: new SmithyMessageEncoderStream({ inputStream, serializer }),\n encoder: this.eventStreamCodec,\n includeEndFrame: true,\n });\n }\n}\n","export function getChunkedStream(source) {\n let currentMessageTotalLength = 0;\n let currentMessagePendingLength = 0;\n let currentMessage = null;\n let messageLengthBuffer = null;\n const allocateMessage = (size) => {\n if (typeof size !== \"number\") {\n throw new Error(\"Attempted to allocate an event message where size was not a number: \" + size);\n }\n currentMessageTotalLength = size;\n currentMessagePendingLength = 4;\n currentMessage = new Uint8Array(size);\n const currentMessageView = new DataView(currentMessage.buffer);\n currentMessageView.setUint32(0, size, false);\n };\n const iterator = async function* () {\n const sourceIterator = source[Symbol.asyncIterator]();\n while (true) {\n const { value, done } = await sourceIterator.next();\n if (done) {\n if (!currentMessageTotalLength) {\n return;\n }\n else if (currentMessageTotalLength === currentMessagePendingLength) {\n yield currentMessage;\n }\n else {\n throw new Error(\"Truncated event message received.\");\n }\n return;\n }\n const chunkLength = value.length;\n let currentOffset = 0;\n while (currentOffset < chunkLength) {\n if (!currentMessage) {\n const bytesRemaining = chunkLength - currentOffset;\n if (!messageLengthBuffer) {\n messageLengthBuffer = new Uint8Array(4);\n }\n const numBytesForTotal = Math.min(4 - currentMessagePendingLength, bytesRemaining);\n messageLengthBuffer.set(value.slice(currentOffset, currentOffset + numBytesForTotal), currentMessagePendingLength);\n currentMessagePendingLength += numBytesForTotal;\n currentOffset += numBytesForTotal;\n if (currentMessagePendingLength < 4) {\n break;\n }\n allocateMessage(new DataView(messageLengthBuffer.buffer).getUint32(0, false));\n messageLengthBuffer = null;\n }\n const numBytesToWrite = Math.min(currentMessageTotalLength - currentMessagePendingLength, chunkLength - currentOffset);\n currentMessage.set(value.slice(currentOffset, currentOffset + numBytesToWrite), currentMessagePendingLength);\n currentMessagePendingLength += numBytesToWrite;\n currentOffset += numBytesToWrite;\n if (currentMessageTotalLength && currentMessageTotalLength === currentMessagePendingLength) {\n yield currentMessage;\n currentMessage = null;\n currentMessageTotalLength = 0;\n currentMessagePendingLength = 0;\n }\n }\n }\n };\n return {\n [Symbol.asyncIterator]: iterator,\n };\n}\n","import { EventStreamMarshaller as UniversalEventStreamMarshaller } from \"@aws-sdk/eventstream-serde-universal\";\nimport { iterableToReadableStream, readableStreamtoIterable } from \"./utils\";\nexport class EventStreamMarshaller {\n constructor({ utf8Encoder, utf8Decoder }) {\n this.universalMarshaller = new UniversalEventStreamMarshaller({\n utf8Decoder,\n utf8Encoder,\n });\n }\n deserialize(body, deserializer) {\n const bodyIterable = isReadableStream(body) ? readableStreamtoIterable(body) : body;\n return this.universalMarshaller.deserialize(bodyIterable, deserializer);\n }\n serialize(input, serializer) {\n const serialziedIterable = this.universalMarshaller.serialize(input, serializer);\n return typeof ReadableStream === \"function\" ? iterableToReadableStream(serialziedIterable) : serialziedIterable;\n }\n}\nconst isReadableStream = (body) => typeof ReadableStream === \"function\" && body instanceof ReadableStream;\n","export const readableStreamtoIterable = (readableStream) => ({\n [Symbol.asyncIterator]: async function* () {\n const reader = readableStream.getReader();\n try {\n while (true) {\n const { done, value } = await reader.read();\n if (done)\n return;\n yield value;\n }\n }\n finally {\n reader.releaseLock();\n }\n },\n});\nexport const iterableToReadableStream = (asyncIterable) => {\n const iterator = asyncIterable[Symbol.asyncIterator]();\n return new ReadableStream({\n async pull(controller) {\n const { done, value } = await iterator.next();\n if (done) {\n return controller.close();\n }\n controller.enqueue(value);\n },\n });\n};\n","import { EventStreamMarshaller } from \"./EventStreamMarshaller\";\nexport const eventStreamSerdeProvider = (options) => new EventStreamMarshaller(options);\n","export function blobReader(blob, onChunk, chunkSize = 1024 * 1024) {\n return new Promise((resolve, reject) => {\n const fileReader = new FileReader();\n fileReader.addEventListener(\"error\", reject);\n fileReader.addEventListener(\"abort\", reject);\n const size = blob.size;\n let totalBytesRead = 0;\n function read() {\n if (totalBytesRead >= size) {\n resolve();\n return;\n }\n fileReader.readAsArrayBuffer(blob.slice(totalBytesRead, Math.min(size, totalBytesRead + chunkSize)));\n }\n fileReader.addEventListener(\"load\", (event) => {\n const result = event.target.result;\n onChunk(new Uint8Array(result));\n totalBytesRead += result.byteLength;\n read();\n });\n read();\n });\n}\n","import { blobReader } from \"@aws-sdk/chunked-blob-reader\";\nexport const blobHasher = async function blobHasher(hashCtor, blob) {\n const hash = new hashCtor();\n await blobReader(blob, (chunk) => {\n hash.update(chunk);\n });\n return hash.digest();\n};\n","export const BLOCK_SIZE = 64;\nexport const DIGEST_LENGTH = 16;\nexport const INIT = [0x67452301, 0xefcdab89, 0x98badcfe, 0x10325476];\n","import { fromUtf8 } from \"@aws-sdk/util-utf8\";\nimport { BLOCK_SIZE, DIGEST_LENGTH, INIT } from \"./constants\";\nexport class Md5 {\n constructor() {\n this.reset();\n }\n update(sourceData) {\n if (isEmptyData(sourceData)) {\n return;\n }\n else if (this.finished) {\n throw new Error(\"Attempted to update an already finished hash.\");\n }\n const data = convertToBuffer(sourceData);\n let position = 0;\n let { byteLength } = data;\n this.bytesHashed += byteLength;\n while (byteLength > 0) {\n this.buffer.setUint8(this.bufferLength++, data[position++]);\n byteLength--;\n if (this.bufferLength === BLOCK_SIZE) {\n this.hashBuffer();\n this.bufferLength = 0;\n }\n }\n }\n async digest() {\n if (!this.finished) {\n const { buffer, bufferLength: undecoratedLength, bytesHashed } = this;\n const bitsHashed = bytesHashed * 8;\n buffer.setUint8(this.bufferLength++, 0b10000000);\n if (undecoratedLength % BLOCK_SIZE >= BLOCK_SIZE - 8) {\n for (let i = this.bufferLength; i < BLOCK_SIZE; i++) {\n buffer.setUint8(i, 0);\n }\n this.hashBuffer();\n this.bufferLength = 0;\n }\n for (let i = this.bufferLength; i < BLOCK_SIZE - 8; i++) {\n buffer.setUint8(i, 0);\n }\n buffer.setUint32(BLOCK_SIZE - 8, bitsHashed >>> 0, true);\n buffer.setUint32(BLOCK_SIZE - 4, Math.floor(bitsHashed / 0x100000000), true);\n this.hashBuffer();\n this.finished = true;\n }\n const out = new DataView(new ArrayBuffer(DIGEST_LENGTH));\n for (let i = 0; i < 4; i++) {\n out.setUint32(i * 4, this.state[i], true);\n }\n return new Uint8Array(out.buffer, out.byteOffset, out.byteLength);\n }\n hashBuffer() {\n const { buffer, state } = this;\n let a = state[0], b = state[1], c = state[2], d = state[3];\n a = ff(a, b, c, d, buffer.getUint32(0, true), 7, 0xd76aa478);\n d = ff(d, a, b, c, buffer.getUint32(4, true), 12, 0xe8c7b756);\n c = ff(c, d, a, b, buffer.getUint32(8, true), 17, 0x242070db);\n b = ff(b, c, d, a, buffer.getUint32(12, true), 22, 0xc1bdceee);\n a = ff(a, b, c, d, buffer.getUint32(16, true), 7, 0xf57c0faf);\n d = ff(d, a, b, c, buffer.getUint32(20, true), 12, 0x4787c62a);\n c = ff(c, d, a, b, buffer.getUint32(24, true), 17, 0xa8304613);\n b = ff(b, c, d, a, buffer.getUint32(28, true), 22, 0xfd469501);\n a = ff(a, b, c, d, buffer.getUint32(32, true), 7, 0x698098d8);\n d = ff(d, a, b, c, buffer.getUint32(36, true), 12, 0x8b44f7af);\n c = ff(c, d, a, b, buffer.getUint32(40, true), 17, 0xffff5bb1);\n b = ff(b, c, d, a, buffer.getUint32(44, true), 22, 0x895cd7be);\n a = ff(a, b, c, d, buffer.getUint32(48, true), 7, 0x6b901122);\n d = ff(d, a, b, c, buffer.getUint32(52, true), 12, 0xfd987193);\n c = ff(c, d, a, b, buffer.getUint32(56, true), 17, 0xa679438e);\n b = ff(b, c, d, a, buffer.getUint32(60, true), 22, 0x49b40821);\n a = gg(a, b, c, d, buffer.getUint32(4, true), 5, 0xf61e2562);\n d = gg(d, a, b, c, buffer.getUint32(24, true), 9, 0xc040b340);\n c = gg(c, d, a, b, buffer.getUint32(44, true), 14, 0x265e5a51);\n b = gg(b, c, d, a, buffer.getUint32(0, true), 20, 0xe9b6c7aa);\n a = gg(a, b, c, d, buffer.getUint32(20, true), 5, 0xd62f105d);\n d = gg(d, a, b, c, buffer.getUint32(40, true), 9, 0x02441453);\n c = gg(c, d, a, b, buffer.getUint32(60, true), 14, 0xd8a1e681);\n b = gg(b, c, d, a, buffer.getUint32(16, true), 20, 0xe7d3fbc8);\n a = gg(a, b, c, d, buffer.getUint32(36, true), 5, 0x21e1cde6);\n d = gg(d, a, b, c, buffer.getUint32(56, true), 9, 0xc33707d6);\n c = gg(c, d, a, b, buffer.getUint32(12, true), 14, 0xf4d50d87);\n b = gg(b, c, d, a, buffer.getUint32(32, true), 20, 0x455a14ed);\n a = gg(a, b, c, d, buffer.getUint32(52, true), 5, 0xa9e3e905);\n d = gg(d, a, b, c, buffer.getUint32(8, true), 9, 0xfcefa3f8);\n c = gg(c, d, a, b, buffer.getUint32(28, true), 14, 0x676f02d9);\n b = gg(b, c, d, a, buffer.getUint32(48, true), 20, 0x8d2a4c8a);\n a = hh(a, b, c, d, buffer.getUint32(20, true), 4, 0xfffa3942);\n d = hh(d, a, b, c, buffer.getUint32(32, true), 11, 0x8771f681);\n c = hh(c, d, a, b, buffer.getUint32(44, true), 16, 0x6d9d6122);\n b = hh(b, c, d, a, buffer.getUint32(56, true), 23, 0xfde5380c);\n a = hh(a, b, c, d, buffer.getUint32(4, true), 4, 0xa4beea44);\n d = hh(d, a, b, c, buffer.getUint32(16, true), 11, 0x4bdecfa9);\n c = hh(c, d, a, b, buffer.getUint32(28, true), 16, 0xf6bb4b60);\n b = hh(b, c, d, a, buffer.getUint32(40, true), 23, 0xbebfbc70);\n a = hh(a, b, c, d, buffer.getUint32(52, true), 4, 0x289b7ec6);\n d = hh(d, a, b, c, buffer.getUint32(0, true), 11, 0xeaa127fa);\n c = hh(c, d, a, b, buffer.getUint32(12, true), 16, 0xd4ef3085);\n b = hh(b, c, d, a, buffer.getUint32(24, true), 23, 0x04881d05);\n a = hh(a, b, c, d, buffer.getUint32(36, true), 4, 0xd9d4d039);\n d = hh(d, a, b, c, buffer.getUint32(48, true), 11, 0xe6db99e5);\n c = hh(c, d, a, b, buffer.getUint32(60, true), 16, 0x1fa27cf8);\n b = hh(b, c, d, a, buffer.getUint32(8, true), 23, 0xc4ac5665);\n a = ii(a, b, c, d, buffer.getUint32(0, true), 6, 0xf4292244);\n d = ii(d, a, b, c, buffer.getUint32(28, true), 10, 0x432aff97);\n c = ii(c, d, a, b, buffer.getUint32(56, true), 15, 0xab9423a7);\n b = ii(b, c, d, a, buffer.getUint32(20, true), 21, 0xfc93a039);\n a = ii(a, b, c, d, buffer.getUint32(48, true), 6, 0x655b59c3);\n d = ii(d, a, b, c, buffer.getUint32(12, true), 10, 0x8f0ccc92);\n c = ii(c, d, a, b, buffer.getUint32(40, true), 15, 0xffeff47d);\n b = ii(b, c, d, a, buffer.getUint32(4, true), 21, 0x85845dd1);\n a = ii(a, b, c, d, buffer.getUint32(32, true), 6, 0x6fa87e4f);\n d = ii(d, a, b, c, buffer.getUint32(60, true), 10, 0xfe2ce6e0);\n c = ii(c, d, a, b, buffer.getUint32(24, true), 15, 0xa3014314);\n b = ii(b, c, d, a, buffer.getUint32(52, true), 21, 0x4e0811a1);\n a = ii(a, b, c, d, buffer.getUint32(16, true), 6, 0xf7537e82);\n d = ii(d, a, b, c, buffer.getUint32(44, true), 10, 0xbd3af235);\n c = ii(c, d, a, b, buffer.getUint32(8, true), 15, 0x2ad7d2bb);\n b = ii(b, c, d, a, buffer.getUint32(36, true), 21, 0xeb86d391);\n state[0] = (a + state[0]) & 0xffffffff;\n state[1] = (b + state[1]) & 0xffffffff;\n state[2] = (c + state[2]) & 0xffffffff;\n state[3] = (d + state[3]) & 0xffffffff;\n }\n reset() {\n this.state = Uint32Array.from(INIT);\n this.buffer = new DataView(new ArrayBuffer(BLOCK_SIZE));\n this.bufferLength = 0;\n this.bytesHashed = 0;\n this.finished = false;\n }\n}\nfunction cmn(q, a, b, x, s, t) {\n a = (((a + q) & 0xffffffff) + ((x + t) & 0xffffffff)) & 0xffffffff;\n return (((a << s) | (a >>> (32 - s))) + b) & 0xffffffff;\n}\nfunction ff(a, b, c, d, x, s, t) {\n return cmn((b & c) | (~b & d), a, b, x, s, t);\n}\nfunction gg(a, b, c, d, x, s, t) {\n return cmn((b & d) | (c & ~d), a, b, x, s, t);\n}\nfunction hh(a, b, c, d, x, s, t) {\n return cmn(b ^ c ^ d, a, b, x, s, t);\n}\nfunction ii(a, b, c, d, x, s, t) {\n return cmn(c ^ (b | ~d), a, b, x, s, t);\n}\nfunction isEmptyData(data) {\n if (typeof data === \"string\") {\n return data.length === 0;\n }\n return data.byteLength === 0;\n}\nfunction convertToBuffer(data) {\n if (typeof data === \"string\") {\n return fromUtf8(data);\n }\n if (ArrayBuffer.isView(data)) {\n return new Uint8Array(data.buffer, data.byteOffset, data.byteLength / Uint8Array.BYTES_PER_ELEMENT);\n }\n return new Uint8Array(data);\n}\n","export const getAwsChunkedEncodingStream = (readableStream, options) => {\n const { base64Encoder, bodyLengthChecker, checksumAlgorithmFn, checksumLocationName, streamHasher } = options;\n const checksumRequired = base64Encoder !== undefined &&\n bodyLengthChecker !== undefined &&\n checksumAlgorithmFn !== undefined &&\n checksumLocationName !== undefined &&\n streamHasher !== undefined;\n const digest = checksumRequired ? streamHasher(checksumAlgorithmFn, readableStream) : undefined;\n const reader = readableStream.getReader();\n return new ReadableStream({\n async pull(controller) {\n const { value, done } = await reader.read();\n if (done) {\n controller.enqueue(`0\\r\\n`);\n if (checksumRequired) {\n const checksum = base64Encoder(await digest);\n controller.enqueue(`${checksumLocationName}:${checksum}\\r\\n`);\n controller.enqueue(`\\r\\n`);\n }\n controller.close();\n }\n else {\n controller.enqueue(`${(bodyLengthChecker(value) || 0).toString(16)}\\r\\n${value}\\r\\n`);\n }\n },\n });\n};\n","import { streamCollector } from \"@aws-sdk/fetch-http-handler\";\nimport { toBase64 } from \"@aws-sdk/util-base64\";\nimport { toHex } from \"@aws-sdk/util-hex-encoding\";\nimport { toUtf8 } from \"@aws-sdk/util-utf8\";\nconst ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED = \"The stream has already been transformed.\";\nexport const sdkStreamMixin = (stream) => {\n if (!isBlobInstance(stream) && !isReadableStreamInstance(stream)) {\n const name = stream?.__proto__?.constructor?.name || stream;\n throw new Error(`Unexpected stream implementation, expect Blob or ReadableStream, got ${name}`);\n }\n let transformed = false;\n const transformToByteArray = async () => {\n if (transformed) {\n throw new Error(ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED);\n }\n transformed = true;\n return await streamCollector(stream);\n };\n const blobToWebStream = (blob) => {\n if (typeof blob.stream !== \"function\") {\n throw new Error(\"Cannot transform payload Blob to web stream. Please make sure the Blob.stream() is polyfilled.\\n\" +\n \"If you are using React Native, this API is not yet supported, see: https://react-native.canny.io/feature-requests/p/fetch-streaming-body\");\n }\n return blob.stream();\n };\n return Object.assign(stream, {\n transformToByteArray: transformToByteArray,\n transformToString: async (encoding) => {\n const buf = await transformToByteArray();\n if (encoding === \"base64\") {\n return toBase64(buf);\n }\n else if (encoding === \"hex\") {\n return toHex(buf);\n }\n else if (encoding === undefined || encoding === \"utf8\" || encoding === \"utf-8\") {\n return toUtf8(buf);\n }\n else if (typeof TextDecoder === \"function\") {\n return new TextDecoder(encoding).decode(buf);\n }\n else {\n throw new Error(\"TextDecoder is not available, please make sure polyfill is provided.\");\n }\n },\n transformToWebStream: () => {\n if (transformed) {\n throw new Error(ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED);\n }\n transformed = true;\n if (isBlobInstance(stream)) {\n return blobToWebStream(stream);\n }\n else if (isReadableStreamInstance(stream)) {\n return stream;\n }\n else {\n throw new Error(`Cannot transform payload to web stream, got ${stream}`);\n }\n },\n });\n};\nconst isBlobInstance = (stream) => typeof Blob === \"function\" && stream instanceof Blob;\nconst isReadableStreamInstance = (stream) => typeof ReadableStream === \"function\" && stream instanceof ReadableStream;\n","import { SignatureV4 } from \"@aws-sdk/signature-v4\";\nexport class SignatureV4MultiRegion {\n constructor(options) {\n this.sigv4Signer = new SignatureV4(options);\n this.signerOptions = options;\n }\n async sign(requestToSign, options = {}) {\n if (options.signingRegion === \"*\") {\n if (this.signerOptions.runtime !== \"node\")\n throw new Error(\"This request requires signing with SigV4Asymmetric algorithm. It's only available in Node.js\");\n return this.getSigv4aSigner().sign(requestToSign, options);\n }\n return this.sigv4Signer.sign(requestToSign, options);\n }\n async presign(originalRequest, options = {}) {\n if (options.signingRegion === \"*\") {\n if (this.signerOptions.runtime !== \"node\")\n throw new Error(\"This request requires signing with SigV4Asymmetric algorithm. It's only available in Node.js\");\n return this.getSigv4aSigner().presign(originalRequest, options);\n }\n return this.sigv4Signer.presign(originalRequest, options);\n }\n getSigv4aSigner() {\n if (!this.sigv4aSigner) {\n let CrtSignerV4;\n try {\n CrtSignerV4 = typeof require === \"function\" && require(\"@aws-sdk/signature-v4-crt\").CrtSignerV4;\n if (typeof CrtSignerV4 !== \"function\")\n throw new Error();\n }\n catch (e) {\n e.message =\n `${e.message}\\nPlease check if you have installed \"@aws-sdk/signature-v4-crt\" package explicitly. \\n` +\n \"For more information please go to \" +\n \"https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt\";\n throw e;\n }\n this.sigv4aSigner = new CrtSignerV4({\n ...this.signerOptions,\n signingAlgorithm: 1,\n });\n }\n return this.sigv4aSigner;\n }\n}\n","const bV = \"required\", bW = \"type\", bX = \"rules\", bY = \"conditions\", bZ = \"fn\", ca = \"argv\", cb = \"ref\", cc = \"assign\", cd = \"url\", ce = \"properties\", cf = \"authSchemes\", cg = \"disableDoubleEncoding\", ch = \"signingName\", ci = \"signingRegion\", cj = \"headers\";\nconst a = false, b = true, c = \"tree\", d = \"isSet\", e = \"substring\", f = \"hardwareType\", g = \"regionPrefix\", h = \"abbaSuffix\", i = \"outpostId\", j = \"aws.partition\", k = \"stringEquals\", l = \"isValidHostLabel\", m = \"not\", n = \"error\", o = \"parseURL\", p = \"s3-outposts\", q = \"endpoint\", r = \"booleanEquals\", s = \"aws.parseArn\", t = \"s3\", u = \"aws.isVirtualHostableS3Bucket\", v = \"getAttr\", w = \"name\", x = \"Host override cannot be combined with Dualstack, FIPS, or S3 Accelerate\", y = \"https://{Bucket}.s3.{partitionResult#dnsSuffix}\", z = \"bucketArn\", A = \"arnType\", B = \"\", C = \"s3-object-lambda\", D = \"accesspoint\", E = \"accessPointName\", F = \"{url#scheme}://{accessPointName}-{bucketArn#accountId}.{url#authority}{url#path}\", G = \"mrapPartition\", H = \"outpostType\", I = \"arnPrefix\", J = \"{url#scheme}://{url#authority}{url#path}\", K = \"https://s3.{partitionResult#dnsSuffix}\", L = { [bV]: false, [bW]: \"String\" }, M = { [bV]: true, \"default\": false, [bW]: \"Boolean\" }, N = { [bV]: false, [bW]: \"Boolean\" }, O = { [bZ]: d, [ca]: [{ [cb]: \"Bucket\" }] }, P = { [cb]: \"Bucket\" }, Q = { [cb]: f }, R = { [bY]: [{ [bZ]: m, [ca]: [{ [bZ]: d, [ca]: [{ [cb]: \"Endpoint\" }] }] }], [n]: \"Expected a endpoint to be specified but no endpoint was found\", [bW]: n }, S = { [bZ]: m, [ca]: [{ [bZ]: d, [ca]: [{ [cb]: \"Endpoint\" }] }] }, T = { [bZ]: d, [ca]: [{ [cb]: \"Endpoint\" }] }, U = { [bZ]: o, [ca]: [{ [cb]: \"Endpoint\" }], [cc]: \"url\" }, V = { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: p, [ci]: \"{Region}\" }] }, W = {}, X = { [cb]: \"ForcePathStyle\" }, Y = { [bY]: [{ [bZ]: \"uriEncode\", [ca]: [P], [cc]: \"uri_encoded_bucket\" }], [bW]: c, [bX]: [{ [bY]: [{ [bZ]: r, [ca]: [{ [cb]: \"UseDualStack\" }, true] }, T], [n]: \"Cannot set dual-stack in combination with a custom endpoint.\", [bW]: n }, { [bW]: c, [bX]: [{ [bY]: [{ [bZ]: j, [ca]: [{ [cb]: \"Region\" }], [cc]: \"partitionResult\" }], [bW]: c, [bX]: [{ [bW]: c, [bX]: [{ [bY]: [{ [bZ]: r, [ca]: [{ [cb]: \"Accelerate\" }, false] }], [bW]: c, [bX]: [{ [bW]: c, [bX]: [{ [bY]: [{ [bZ]: r, [ca]: [{ [cb]: \"UseDualStack\" }, true] }, S, { [bZ]: r, [ca]: [{ [cb]: \"UseFIPS\" }, true] }, { [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"aws-global\"] }], [q]: { [cd]: \"https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}\", [ce]: { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"us-east-1\" }] }, [cj]: {} }, [bW]: q }, { [bY]: [{ [bZ]: r, [ca]: [{ [cb]: \"UseDualStack\" }, true] }, S, { [bZ]: r, [ca]: [{ [cb]: \"UseFIPS\" }, true] }, { [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"aws-global\"] }], [q]: { [cd]: \"https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}\", [ce]: { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"us-east-1\" }] }, [cj]: {} }, [bW]: q }, { [bY]: [{ [bZ]: r, [ca]: [{ [cb]: \"UseDualStack\" }, true] }, S, { [bZ]: r, [ca]: [{ [cb]: \"UseFIPS\" }, true] }, { [bZ]: m, [ca]: [{ [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"aws-global\"] }] }, { [bZ]: r, [ca]: [{ [cb]: \"UseGlobalEndpoint\" }, true] }], [bW]: c, [bX]: [{ [q]: { [cd]: \"https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}\", [ce]: { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"{Region}\" }] }, [cj]: {} }, [bW]: q }] }, { [bY]: [{ [bZ]: r, [ca]: [{ [cb]: \"UseDualStack\" }, true] }, S, { [bZ]: r, [ca]: [{ [cb]: \"UseFIPS\" }, true] }, { [bZ]: m, [ca]: [{ [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"aws-global\"] }] }, { [bZ]: r, [ca]: [{ [cb]: \"UseGlobalEndpoint\" }, false] }], [q]: { [cd]: \"https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}\", [ce]: { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"{Region}\" }] }, [cj]: {} }, [bW]: q }, { [bY]: [{ [bZ]: r, [ca]: [{ [cb]: \"UseDualStack\" }, false] }, T, U, { [bZ]: r, [ca]: [{ [cb]: \"UseFIPS\" }, true] }, { [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"aws-global\"] }], [q]: { [cd]: \"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}\", [ce]: { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"us-east-1\" }] }, [cj]: {} }, [bW]: q }, { [bY]: [{ [bZ]: r, [ca]: [{ [cb]: \"UseDualStack\" }, false] }, T, U, { [bZ]: r, [ca]: [{ [cb]: \"UseFIPS\" }, true] }, { [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"aws-global\"] }], [q]: { [cd]: \"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}\", [ce]: { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"us-east-1\" }] }, [cj]: {} }, [bW]: q }, { [bY]: [{ [bZ]: r, [ca]: [{ [cb]: \"UseDualStack\" }, false] }, T, U, { [bZ]: r, [ca]: [{ [cb]: \"UseFIPS\" }, true] }, { [bZ]: m, [ca]: [{ [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"aws-global\"] }] }, { [bZ]: r, [ca]: [{ [cb]: \"UseGlobalEndpoint\" }, true] }], [bW]: c, [bX]: [{ [q]: { [cd]: \"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}\", [ce]: { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"{Region}\" }] }, [cj]: {} }, [bW]: q }] }, { [bY]: [{ [bZ]: r, [ca]: [{ [cb]: \"UseDualStack\" }, false] }, T, U, { [bZ]: r, [ca]: [{ [cb]: \"UseFIPS\" }, true] }, { [bZ]: m, [ca]: [{ [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"aws-global\"] }] }, { [bZ]: r, [ca]: [{ [cb]: \"UseGlobalEndpoint\" }, false] }], [q]: { [cd]: \"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}\", [ce]: { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"{Region}\" }] }, [cj]: {} }, [bW]: q }, { [bY]: [{ [bZ]: r, [ca]: [{ [cb]: \"UseDualStack\" }, false] }, S, { [bZ]: r, [ca]: [{ [cb]: \"UseFIPS\" }, true] }, { [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"aws-global\"] }], [q]: { [cd]: \"https://s3-fips.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}\", [ce]: { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"us-east-1\" }] }, [cj]: {} }, [bW]: q }, { [bY]: [{ [bZ]: r, [ca]: [{ [cb]: \"UseDualStack\" }, false] }, S, { [bZ]: r, [ca]: [{ [cb]: \"UseFIPS\" }, true] }, { [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"aws-global\"] }], [q]: { [cd]: \"https://s3-fips.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}\", [ce]: { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"us-east-1\" }] }, [cj]: {} }, [bW]: q }, { [bY]: [{ [bZ]: r, [ca]: [{ [cb]: \"UseDualStack\" }, false] }, S, { [bZ]: r, [ca]: [{ [cb]: \"UseFIPS\" }, true] }, { [bZ]: m, [ca]: [{ [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"aws-global\"] }] }, { [bZ]: r, [ca]: [{ [cb]: \"UseGlobalEndpoint\" }, true] }], [bW]: c, [bX]: [{ [q]: { [cd]: \"https://s3-fips.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}\", [ce]: { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"{Region}\" }] }, [cj]: {} }, [bW]: q }] }, { [bY]: [{ [bZ]: r, [ca]: [{ [cb]: \"UseDualStack\" }, false] }, S, { [bZ]: r, [ca]: [{ [cb]: \"UseFIPS\" }, true] }, { [bZ]: m, [ca]: [{ [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"aws-global\"] }] }, { [bZ]: r, [ca]: [{ [cb]: \"UseGlobalEndpoint\" }, false] }], [q]: { [cd]: \"https://s3-fips.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}\", [ce]: { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"{Region}\" }] }, [cj]: {} }, [bW]: q }, { [bY]: [{ [bZ]: r, [ca]: [{ [cb]: \"UseDualStack\" }, true] }, S, { [bZ]: r, [ca]: [{ [cb]: \"UseFIPS\" }, false] }, { [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"aws-global\"] }], [q]: { [cd]: \"https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}\", [ce]: { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"us-east-1\" }] }, [cj]: {} }, [bW]: q }, { [bY]: [{ [bZ]: r, [ca]: [{ [cb]: \"UseDualStack\" }, true] }, S, { [bZ]: r, [ca]: [{ [cb]: \"UseFIPS\" }, false] }, { [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"aws-global\"] }], [q]: { [cd]: \"https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}\", [ce]: { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"us-east-1\" }] }, [cj]: {} }, [bW]: q }, { [bY]: [{ [bZ]: r, [ca]: [{ [cb]: \"UseDualStack\" }, true] }, S, { [bZ]: r, [ca]: [{ [cb]: \"UseFIPS\" }, false] }, { [bZ]: m, [ca]: [{ [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"aws-global\"] }] }, { [bZ]: r, [ca]: [{ [cb]: \"UseGlobalEndpoint\" }, true] }], [bW]: c, [bX]: [{ [q]: { [cd]: \"https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}\", [ce]: { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"{Region}\" }] }, [cj]: {} }, [bW]: q }] }, { [bY]: [{ [bZ]: r, [ca]: [{ [cb]: \"UseDualStack\" }, true] }, S, { [bZ]: r, [ca]: [{ [cb]: \"UseFIPS\" }, false] }, { [bZ]: m, [ca]: [{ [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"aws-global\"] }] }, { [bZ]: r, [ca]: [{ [cb]: \"UseGlobalEndpoint\" }, false] }], [q]: { [cd]: \"https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}\", [ce]: { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"{Region}\" }] }, [cj]: {} }, [bW]: q }, { [bY]: [{ [bZ]: r, [ca]: [{ [cb]: \"UseDualStack\" }, false] }, T, U, { [bZ]: r, [ca]: [{ [cb]: \"UseFIPS\" }, false] }, { [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"aws-global\"] }], [q]: { [cd]: \"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}\", [ce]: { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"us-east-1\" }] }, [cj]: {} }, [bW]: q }, { [bY]: [{ [bZ]: r, [ca]: [{ [cb]: \"UseDualStack\" }, false] }, T, U, { [bZ]: r, [ca]: [{ [cb]: \"UseFIPS\" }, false] }, { [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"aws-global\"] }], [q]: { [cd]: \"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}\", [ce]: { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"us-east-1\" }] }, [cj]: {} }, [bW]: q }, { [bY]: [{ [bZ]: r, [ca]: [{ [cb]: \"UseDualStack\" }, false] }, T, U, { [bZ]: r, [ca]: [{ [cb]: \"UseFIPS\" }, false] }, { [bZ]: m, [ca]: [{ [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"aws-global\"] }] }, { [bZ]: r, [ca]: [{ [cb]: \"UseGlobalEndpoint\" }, true] }], [bW]: c, [bX]: [{ [bY]: [{ [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"us-east-1\"] }], [q]: { [cd]: \"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}\", [ce]: { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"{Region}\" }] }, [cj]: {} }, [bW]: q }, { [q]: { [cd]: \"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}\", [ce]: { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"{Region}\" }] }, [cj]: {} }, [bW]: q }] }, { [bY]: [{ [bZ]: r, [ca]: [{ [cb]: \"UseDualStack\" }, false] }, T, U, { [bZ]: r, [ca]: [{ [cb]: \"UseFIPS\" }, false] }, { [bZ]: m, [ca]: [{ [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"aws-global\"] }] }, { [bZ]: r, [ca]: [{ [cb]: \"UseGlobalEndpoint\" }, false] }], [q]: { [cd]: \"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}\", [ce]: { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"{Region}\" }] }, [cj]: {} }, [bW]: q }, { [bY]: [{ [bZ]: r, [ca]: [{ [cb]: \"UseDualStack\" }, false] }, S, { [bZ]: r, [ca]: [{ [cb]: \"UseFIPS\" }, false] }, { [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"aws-global\"] }], [q]: { [cd]: \"https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}\", [ce]: { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"us-east-1\" }] }, [cj]: {} }, [bW]: q }, { [bY]: [{ [bZ]: r, [ca]: [{ [cb]: \"UseDualStack\" }, false] }, S, { [bZ]: r, [ca]: [{ [cb]: \"UseFIPS\" }, false] }, { [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"aws-global\"] }], [q]: { [cd]: \"https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}\", [ce]: { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"us-east-1\" }] }, [cj]: {} }, [bW]: q }, { [bY]: [{ [bZ]: r, [ca]: [{ [cb]: \"UseDualStack\" }, false] }, S, { [bZ]: r, [ca]: [{ [cb]: \"UseFIPS\" }, false] }, { [bZ]: m, [ca]: [{ [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"aws-global\"] }] }, { [bZ]: r, [ca]: [{ [cb]: \"UseGlobalEndpoint\" }, true] }], [bW]: c, [bX]: [{ [bY]: [{ [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"us-east-1\"] }], [q]: { [cd]: \"https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}\", [ce]: { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"{Region}\" }] }, [cj]: {} }, [bW]: q }, { [q]: { [cd]: \"https://s3.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}\", [ce]: { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"{Region}\" }] }, [cj]: {} }, [bW]: q }] }, { [bY]: [{ [bZ]: r, [ca]: [{ [cb]: \"UseDualStack\" }, false] }, S, { [bZ]: r, [ca]: [{ [cb]: \"UseFIPS\" }, false] }, { [bZ]: m, [ca]: [{ [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"aws-global\"] }] }, { [bZ]: r, [ca]: [{ [cb]: \"UseGlobalEndpoint\" }, false] }], [q]: { [cd]: \"https://s3.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}\", [ce]: { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"{Region}\" }] }, [cj]: {} }, [bW]: q }] }] }, { [n]: \"Path-style addressing cannot be used with S3 Accelerate\", [bW]: n }] }] }, { [n]: \"A valid partition could not be determined\", [bW]: n }] }] }, Z = { [bZ]: r, [ca]: [{ [cb]: \"UseDualStack\" }, true] }, aa = { [bZ]: r, [ca]: [{ [cb]: \"Accelerate\" }, false] }, ab = { [bZ]: r, [ca]: [{ [cb]: \"UseFIPS\" }, true] }, ac = { [bZ]: m, [ca]: [{ [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"aws-global\"] }] }, ad = { [bZ]: r, [ca]: [{ [cb]: \"UseGlobalEndpoint\" }, true] }, ae = { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"{Region}\" }] }, af = { [bZ]: r, [ca]: [{ [cb]: \"UseGlobalEndpoint\" }, false] }, ag = { [bZ]: r, [ca]: [{ [cb]: \"UseDualStack\" }, false] }, ah = { [bZ]: r, [ca]: [{ [cb]: \"UseFIPS\" }, false] }, ai = { [n]: \"A valid partition could not be determined\", [bW]: n }, aj = { [bY]: [ab, { [bZ]: k, [ca]: [{ [bZ]: v, [ca]: [{ [cb]: \"partitionResult\" }, w] }, \"aws-cn\"] }], [n]: \"Partition does not support FIPS\", [bW]: n }, ak = { [bZ]: k, [ca]: [{ [bZ]: v, [ca]: [{ [cb]: \"partitionResult\" }, w] }, \"aws-cn\"] }, al = { [bZ]: r, [ca]: [{ [cb]: \"Accelerate\" }, true] }, am = { [bY]: [Z, ab, aa, S, { [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"aws-global\"] }], [q]: { [cd]: \"https://{Bucket}.s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}\", [ce]: { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"us-east-1\" }] }, [cj]: {} }, [bW]: q }, an = { [cd]: \"https://{Bucket}.s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}\", [ce]: ae, [cj]: {} }, ao = { [bY]: [ag, ab, aa, S, { [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"aws-global\"] }], [q]: { [cd]: \"https://{Bucket}.s3-fips.us-east-1.{partitionResult#dnsSuffix}\", [ce]: { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"us-east-1\" }] }, [cj]: {} }, [bW]: q }, ap = { [cd]: \"https://{Bucket}.s3-fips.{Region}.{partitionResult#dnsSuffix}\", [ce]: ae, [cj]: {} }, aq = { [bY]: [Z, ah, al, S, { [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"aws-global\"] }], [q]: { [cd]: \"https://{Bucket}.s3-accelerate.dualstack.us-east-1.{partitionResult#dnsSuffix}\", [ce]: { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"us-east-1\" }] }, [cj]: {} }, [bW]: q }, ar = { [cd]: \"https://{Bucket}.s3-accelerate.dualstack.{partitionResult#dnsSuffix}\", [ce]: ae, [cj]: {} }, as = { [bY]: [Z, ah, aa, S, { [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"aws-global\"] }], [q]: { [cd]: \"https://{Bucket}.s3.dualstack.us-east-1.{partitionResult#dnsSuffix}\", [ce]: { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"us-east-1\" }] }, [cj]: {} }, [bW]: q }, at = { [cd]: \"https://{Bucket}.s3.dualstack.{Region}.{partitionResult#dnsSuffix}\", [ce]: ae, [cj]: {} }, au = { [bY]: [ag, ah, aa, T, U, { [bZ]: r, [ca]: [{ [bZ]: v, [ca]: [{ [cb]: \"url\" }, \"isIp\"] }, true] }, { [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"aws-global\"] }], [q]: { [cd]: \"{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}\", [ce]: { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"us-east-1\" }] }, [cj]: {} }, [bW]: q }, av = { [bZ]: r, [ca]: [{ [bZ]: v, [ca]: [{ [cb]: \"url\" }, \"isIp\"] }, true] }, aw = { [cb]: \"url\" }, ax = { [bY]: [ag, ah, aa, T, U, { [bZ]: r, [ca]: [{ [bZ]: v, [ca]: [aw, \"isIp\"] }, false] }, { [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"aws-global\"] }], [q]: { [cd]: \"{url#scheme}://{Bucket}.{url#authority}{url#path}\", [ce]: { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"us-east-1\" }] }, [cj]: {} }, [bW]: q }, ay = { [bZ]: r, [ca]: [{ [bZ]: v, [ca]: [aw, \"isIp\"] }, false] }, az = { [cd]: \"{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}\", [ce]: ae, [cj]: {} }, aA = { [cd]: \"{url#scheme}://{Bucket}.{url#authority}{url#path}\", [ce]: ae, [cj]: {} }, aB = { [q]: aA, [bW]: q }, aC = { [bY]: [ag, ah, al, S, { [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"aws-global\"] }], [q]: { [cd]: \"https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}\", [ce]: { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"us-east-1\" }] }, [cj]: {} }, [bW]: q }, aD = { [cd]: \"https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}\", [ce]: ae, [cj]: {} }, aE = { [bY]: [ag, ah, aa, S, { [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"aws-global\"] }], [q]: { [cd]: y, [ce]: { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"us-east-1\" }] }, [cj]: {} }, [bW]: q }, aF = { [cd]: \"https://{Bucket}.s3.{Region}.{partitionResult#dnsSuffix}\", [ce]: ae, [cj]: {} }, aG = { [n]: \"Invalid region: region was not a valid DNS name.\", [bW]: n }, aH = { [cb]: z }, aI = { [cb]: A }, aJ = { [bZ]: v, [ca]: [aH, \"service\"] }, aK = { [cb]: E }, aL = { [bY]: [Z], [n]: \"S3 Object Lambda does not support Dual-stack\", [bW]: n }, aM = { [bY]: [al], [n]: \"S3 Object Lambda does not support S3 Accelerate\", [bW]: n }, aN = { [bY]: [{ [bZ]: d, [ca]: [{ [cb]: \"DisableAccessPoints\" }] }, { [bZ]: r, [ca]: [{ [cb]: \"DisableAccessPoints\" }, true] }], [n]: \"Access points are not supported for this operation\", [bW]: n }, aO = { [bY]: [{ [bZ]: d, [ca]: [{ [cb]: \"UseArnRegion\" }] }, { [bZ]: r, [ca]: [{ [cb]: \"UseArnRegion\" }, false] }, { [bZ]: m, [ca]: [{ [bZ]: k, [ca]: [{ [bZ]: v, [ca]: [aH, \"region\"] }, \"{Region}\"] }] }], [n]: \"Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`\", [bW]: n }, aP = { [bZ]: v, [ca]: [{ [cb]: \"bucketPartition\" }, w] }, aQ = { [bZ]: v, [ca]: [aH, \"accountId\"] }, aR = { [bY]: [ab, { [bZ]: k, [ca]: [aP, \"aws-cn\"] }], [n]: \"Partition does not support FIPS\", [bW]: n }, aS = { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: C, [ci]: \"{bucketArn#region}\" }] }, aT = { [n]: \"Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointName}`\", [bW]: n }, aU = { [n]: \"Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`\", [bW]: n }, aV = { [n]: \"Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)\", [bW]: n }, aW = { [n]: \"Client was configured for partition `{partitionResult#name}` but ARN (`{Bucket}`) has `{bucketPartition#name}`\", [bW]: n }, aX = { [n]: \"Could not load partition for ARN region `{bucketArn#region}`\", [bW]: n }, aY = { [n]: \"Invalid ARN: The ARN may only contain a single resource component after `accesspoint`.\", [bW]: n }, aZ = { [n]: \"Invalid ARN: bucket ARN is missing a region\", [bW]: n }, ba = { [n]: \"Invalid ARN: Expected a resource of the format `accesspoint:<accesspoint name>` but no name was provided\", [bW]: n }, bb = { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"{bucketArn#region}\" }] }, bc = { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: p, [ci]: \"{bucketArn#region}\" }] }, bd = { [cb]: \"UseObjectLambdaEndpoint\" }, be = { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: C, [ci]: \"{Region}\" }] }, bf = { [bY]: [ab, Z, T, U, { [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"aws-global\"] }], [q]: { [cd]: J, [ce]: { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"us-east-1\" }] }, [cj]: {} }, [bW]: q }, bg = { [q]: { [cd]: J, [ce]: ae, [cj]: {} }, [bW]: q }, bh = { [cd]: J, [ce]: ae, [cj]: {} }, bi = { [bY]: [ab, Z, S, { [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"aws-global\"] }], [q]: { [cd]: \"https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}\", [ce]: { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"us-east-1\" }] }, [cj]: {} }, [bW]: q }, bj = { [cd]: \"https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}\", [ce]: ae, [cj]: {} }, bk = { [bY]: [ab, ag, T, U, { [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"aws-global\"] }], [q]: { [cd]: J, [ce]: { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"us-east-1\" }] }, [cj]: {} }, [bW]: q }, bl = { [bY]: [ab, ag, S, { [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"aws-global\"] }], [q]: { [cd]: \"https://s3-fips.us-east-1.{partitionResult#dnsSuffix}\", [ce]: { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"us-east-1\" }] }, [cj]: {} }, [bW]: q }, bm = { [cd]: \"https://s3-fips.{Region}.{partitionResult#dnsSuffix}\", [ce]: ae, [cj]: {} }, bn = { [bY]: [ah, Z, T, U, { [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"aws-global\"] }], [q]: { [cd]: J, [ce]: { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"us-east-1\" }] }, [cj]: {} }, [bW]: q }, bo = { [bY]: [ah, Z, S, { [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"aws-global\"] }], [q]: { [cd]: \"https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}\", [ce]: { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"us-east-1\" }] }, [cj]: {} }, [bW]: q }, bp = { [cd]: \"https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}\", [ce]: ae, [cj]: {} }, bq = { [bY]: [ah, ag, T, U, { [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"aws-global\"] }], [q]: { [cd]: J, [ce]: { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"us-east-1\" }] }, [cj]: {} }, [bW]: q }, br = { [bY]: [ah, ag, S, { [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"aws-global\"] }], [q]: { [cd]: K, [ce]: { [cf]: [{ [cg]: true, [w]: \"sigv4\", [ch]: t, [ci]: \"us-east-1\" }] }, [cj]: {} }, [bW]: q }, bs = { [cd]: \"https://s3.{Region}.{partitionResult#dnsSuffix}\", [ce]: ae, [cj]: {} }, bt = [{ [cb]: \"Region\" }], bu = [P], bv = [{ [bZ]: l, [ca]: [{ [cb]: i }, false] }], bw = [{ [bZ]: k, [ca]: [{ [cb]: g }, \"beta\"] }], bx = [{ [cb]: \"Endpoint\" }], by = [T, U], bz = [O], bA = [{ [bZ]: s, [ca]: [P] }], bB = [Z, T], bC = [{ [bZ]: j, [ca]: bt, [cc]: \"partitionResult\" }], bD = [{ [bZ]: k, [ca]: [{ [cb]: \"Region\" }, \"us-east-1\"] }], bE = [{ [bZ]: l, [ca]: [{ [cb]: \"Region\" }, false] }], bF = [{ [bZ]: k, [ca]: [aI, D] }], bG = [{ [bZ]: v, [ca]: [aH, \"resourceId[1]\"], [cc]: E }, { [bZ]: m, [ca]: [{ [bZ]: k, [ca]: [aK, B] }] }], bH = [aH, \"resourceId[1]\"], bI = [Z], bJ = [al], bK = [{ [bZ]: m, [ca]: [{ [bZ]: k, [ca]: [{ [bZ]: v, [ca]: [aH, \"region\"] }, B] }] }], bL = [{ [bZ]: m, [ca]: [{ [bZ]: d, [ca]: [{ [bZ]: v, [ca]: [aH, \"resourceId[2]\"] }] }] }], bM = [aH, \"resourceId[2]\"], bN = [{ [bZ]: j, [ca]: [{ [bZ]: v, [ca]: [aH, \"region\"] }], [cc]: \"bucketPartition\" }], bO = [{ [bZ]: k, [ca]: [aP, { [bZ]: v, [ca]: [{ [cb]: \"partitionResult\" }, w] }] }], bP = [{ [bZ]: l, [ca]: [{ [bZ]: v, [ca]: [aH, \"region\"] }, true] }], bQ = [{ [bZ]: l, [ca]: [aQ, false] }], bR = [{ [bZ]: l, [ca]: [aK, false] }], bS = [ab], bT = [{ [bZ]: l, [ca]: [{ [cb]: \"Region\" }, true] }], bU = [bg];\nconst _data = { version: \"1.0\", parameters: { Bucket: L, Region: L, UseFIPS: M, UseDualStack: M, Endpoint: L, ForcePathStyle: N, Accelerate: M, UseGlobalEndpoint: M, UseObjectLambdaEndpoint: N, DisableAccessPoints: N, DisableMultiRegionAccessPoints: M, UseArnRegion: N }, [bX]: [{ [bW]: c, [bX]: [{ [bY]: [{ [bZ]: d, [ca]: bt }], [bW]: c, [bX]: [{ [bW]: c, [bX]: [{ [bY]: [O, { [bZ]: e, [ca]: [P, 49, 50, b], [cc]: f }, { [bZ]: e, [ca]: [P, 8, 12, b], [cc]: g }, { [bZ]: e, [ca]: [P, 0, 7, b], [cc]: h }, { [bZ]: e, [ca]: [P, 32, 49, b], [cc]: i }, { [bZ]: j, [ca]: bt, [cc]: \"regionPartition\" }, { [bZ]: k, [ca]: [{ [cb]: h }, \"--op-s3\"] }], [bW]: c, [bX]: [{ [bY]: bv, [bW]: c, [bX]: [{ [bW]: c, [bX]: [{ [bY]: [{ [bZ]: k, [ca]: [Q, \"e\"] }], [bW]: c, [bX]: [{ [bY]: bw, [bW]: c, [bX]: [R, { [bY]: by, endpoint: { [cd]: \"https://{Bucket}.ec2.{url#authority}\", [ce]: V, [cj]: W }, [bW]: q }] }, { endpoint: { [cd]: \"https://{Bucket}.ec2.s3-outposts.{Region}.{regionPartition#dnsSuffix}\", [ce]: V, [cj]: W }, [bW]: q }] }, { [bY]: [{ [bZ]: k, [ca]: [Q, \"o\"] }], [bW]: c, [bX]: [{ [bY]: bw, [bW]: c, [bX]: [R, { [bY]: by, endpoint: { [cd]: \"https://{Bucket}.op-{outpostId}.{url#authority}\", [ce]: V, [cj]: W }, [bW]: q }] }, { endpoint: { [cd]: \"https://{Bucket}.op-{outpostId}.s3-outposts.{Region}.{regionPartition#dnsSuffix}\", [ce]: V, [cj]: W }, [bW]: q }] }, { error: \"Unrecognized hardware type: \\\"Expected hardware type o or e but got {hardwareType}\\\"\", [bW]: n }] }] }, { error: \"Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`.\", [bW]: n }] }, { [bY]: bz, [bW]: c, [bX]: [{ [bY]: [T, { [bZ]: m, [ca]: [{ [bZ]: d, [ca]: [{ [bZ]: o, [ca]: bx }] }] }], error: \"Custom endpoint `{Endpoint}` was not a valid URI\", [bW]: n }, { [bW]: c, [bX]: [{ [bY]: [{ [bZ]: d, [ca]: [X] }, { [bZ]: r, [ca]: [X, b] }], [bW]: c, [bX]: [{ [bW]: c, [bX]: [{ [bY]: bA, error: \"Path-style addressing cannot be used with ARN buckets\", [bW]: n }, Y] }] }, { [bY]: [{ [bZ]: u, [ca]: [P, a] }], [bW]: c, [bX]: [{ [bY]: bC, [bW]: c, [bX]: [{ [bW]: c, [bX]: [{ [bY]: bE, [bW]: c, [bX]: [{ [bW]: c, [bX]: [aj, { [bW]: c, [bX]: [{ [bY]: [al, ab], error: \"Accelerate cannot be used with FIPS\", [bW]: n }, { [bW]: c, [bX]: [{ [bY]: [al, ak], error: \"S3 Accelerate cannot be used in this region\", [bW]: n }, { [bW]: c, [bX]: [{ [bY]: [T, Z], error: x, [bW]: n }, { [bW]: c, [bX]: [{ [bY]: [T, ab], error: x, [bW]: n }, { [bW]: c, [bX]: [{ [bY]: [T, al], error: x, [bW]: n }, { [bW]: c, [bX]: [am, am, { [bY]: [Z, ab, aa, S, ac, ad], [bW]: c, [bX]: [{ endpoint: an, [bW]: q }] }, { [bY]: [Z, ab, aa, S, ac, af], endpoint: an, [bW]: q }, ao, ao, { [bY]: [ag, ab, aa, S, ac, ad], [bW]: c, [bX]: [{ endpoint: ap, [bW]: q }] }, { [bY]: [ag, ab, aa, S, ac, af], endpoint: ap, [bW]: q }, aq, aq, { [bY]: [Z, ah, al, S, ac, ad], [bW]: c, [bX]: [{ endpoint: ar, [bW]: q }] }, { [bY]: [Z, ah, al, S, ac, af], endpoint: ar, [bW]: q }, as, as, { [bY]: [Z, ah, aa, S, ac, ad], [bW]: c, [bX]: [{ endpoint: at, [bW]: q }] }, { [bY]: [Z, ah, aa, S, ac, af], endpoint: at, [bW]: q }, au, ax, au, ax, { [bY]: [ag, ah, aa, T, U, av, ac, ad], [bW]: c, [bX]: [{ [bY]: bD, endpoint: az, [bW]: q }, { endpoint: az, [bW]: q }] }, { [bY]: [ag, ah, aa, T, U, ay, ac, ad], [bW]: c, [bX]: [{ [bY]: bD, endpoint: aA, [bW]: q }, aB] }, { [bY]: [ag, ah, aa, T, U, av, ac, af], endpoint: az, [bW]: q }, { [bY]: [ag, ah, aa, T, U, ay, ac, af], endpoint: aA, [bW]: q }, aC, aC, { [bY]: [ag, ah, al, S, ac, ad], [bW]: c, [bX]: [{ [bY]: bD, endpoint: aD, [bW]: q }, { endpoint: aD, [bW]: q }] }, { [bY]: [ag, ah, al, S, ac, af], endpoint: aD, [bW]: q }, aE, aE, { [bY]: [ag, ah, aa, S, ac, ad], [bW]: c, [bX]: [{ [bY]: bD, endpoint: { [cd]: y, [ce]: ae, [cj]: W }, [bW]: q }, { endpoint: aF, [bW]: q }] }, { [bY]: [ag, ah, aa, S, ac, af], endpoint: aF, [bW]: q }] }] }] }] }] }] }] }] }, aG] }] }, ai] }, { [bY]: [T, U, { [bZ]: k, [ca]: [{ [bZ]: v, [ca]: [aw, \"scheme\"] }, \"http\"] }, { [bZ]: u, [ca]: [P, b] }, ah, ag, aa], [bW]: c, [bX]: [{ [bY]: bC, [bW]: c, [bX]: [{ [bW]: c, [bX]: [{ [bY]: bE, [bW]: c, [bX]: [aB] }, aG] }] }, ai] }, { [bY]: [{ [bZ]: s, [ca]: bu, [cc]: z }], [bW]: c, [bX]: [{ [bY]: [{ [bZ]: v, [ca]: [aH, \"resourceId[0]\"], [cc]: A }, { [bZ]: m, [ca]: [{ [bZ]: k, [ca]: [aI, B] }] }], [bW]: c, [bX]: [{ [bW]: c, [bX]: [{ [bY]: [{ [bZ]: k, [ca]: [aJ, C] }], [bW]: c, [bX]: [{ [bY]: bF, [bW]: c, [bX]: [{ [bW]: c, [bX]: [{ [bY]: bG, [bW]: c, [bX]: [{ [bW]: c, [bX]: [aL, { [bW]: c, [bX]: [aM, { [bW]: c, [bX]: [{ [bY]: bK, [bW]: c, [bX]: [{ [bW]: c, [bX]: [aN, { [bW]: c, [bX]: [{ [bY]: bL, [bW]: c, [bX]: [{ [bW]: c, [bX]: [aO, { [bW]: c, [bX]: [{ [bY]: bN, [bW]: c, [bX]: [{ [bW]: c, [bX]: [{ [bY]: bC, [bW]: c, [bX]: [{ [bW]: c, [bX]: [{ [bY]: bO, [bW]: c, [bX]: [{ [bW]: c, [bX]: [{ [bY]: bP, [bW]: c, [bX]: [{ [bW]: c, [bX]: [{ [bY]: [{ [bZ]: k, [ca]: [aQ, B] }], error: \"Invalid ARN: Missing account id\", [bW]: n }, { [bW]: c, [bX]: [{ [bY]: bQ, [bW]: c, [bX]: [{ [bW]: c, [bX]: [{ [bY]: bR, [bW]: c, [bX]: [{ [bW]: c, [bX]: [aR, { [bW]: c, [bX]: [{ [bY]: by, endpoint: { [cd]: F, [ce]: aS, [cj]: W }, [bW]: q }, { [bY]: bS, endpoint: { [cd]: \"https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}\", [ce]: aS, [cj]: W }, [bW]: q }, { endpoint: { [cd]: \"https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda.{bucketArn#region}.{bucketPartition#dnsSuffix}\", [ce]: aS, [cj]: W }, [bW]: q }] }] }] }, aT] }] }, aU] }] }] }, aV] }] }, aW] }] }, ai] }] }, aX] }] }] }, aY] }] }] }, aZ] }] }] }] }, ba] }] }, { error: \"Invalid ARN: Object Lambda ARNs only support `accesspoint` arn types, but found: `{arnType}`\", [bW]: n }] }, { [bY]: bF, [bW]: c, [bX]: [{ [bY]: bG, [bW]: c, [bX]: [{ [bW]: c, [bX]: [{ [bY]: bK, [bW]: c, [bX]: [{ [bY]: bF, [bW]: c, [bX]: [{ [bY]: bK, [bW]: c, [bX]: [{ [bW]: c, [bX]: [aN, { [bW]: c, [bX]: [{ [bY]: bL, [bW]: c, [bX]: [{ [bW]: c, [bX]: [aO, { [bW]: c, [bX]: [{ [bY]: bN, [bW]: c, [bX]: [{ [bW]: c, [bX]: [{ [bY]: bC, [bW]: c, [bX]: [{ [bW]: c, [bX]: [{ [bY]: [{ [bZ]: k, [ca]: [aP, \"{partitionResult#name}\"] }], [bW]: c, [bX]: [{ [bW]: c, [bX]: [{ [bY]: bP, [bW]: c, [bX]: [{ [bW]: c, [bX]: [{ [bY]: [{ [bZ]: k, [ca]: [aJ, t] }], [bW]: c, [bX]: [{ [bW]: c, [bX]: [{ [bY]: bQ, [bW]: c, [bX]: [{ [bW]: c, [bX]: [{ [bY]: bR, [bW]: c, [bX]: [{ [bW]: c, [bX]: [{ [bY]: bJ, error: \"Access Points do not support S3 Accelerate\", [bW]: n }, { [bW]: c, [bX]: [aR, { [bW]: c, [bX]: [{ [bY]: bB, error: \"DualStack cannot be combined with a Host override (PrivateLink)\", [bW]: n }, { [bW]: c, [bX]: [{ [bY]: [ab, Z], endpoint: { [cd]: \"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}\", [ce]: bb, [cj]: W }, [bW]: q }, { [bY]: [ab, ag], endpoint: { [cd]: \"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}\", [ce]: bb, [cj]: W }, [bW]: q }, { [bY]: [ah, Z], endpoint: { [cd]: \"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}\", [ce]: bb, [cj]: W }, [bW]: q }, { [bY]: [ah, ag, T, U], endpoint: { [cd]: F, [ce]: bb, [cj]: W }, [bW]: q }, { [bY]: [ah, ag], endpoint: { [cd]: \"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.{bucketArn#region}.{bucketPartition#dnsSuffix}\", [ce]: bb, [cj]: W }, [bW]: q }] }] }] }] }] }, aT] }] }, aU] }] }, { error: \"Invalid ARN: The ARN was not for the S3 service, found: {bucketArn#service}\", [bW]: n }] }] }, aV] }] }, aW] }] }, ai] }] }, aX] }] }] }, aY] }] }] }, aZ] }] }, { [bW]: c, [bX]: [{ [bY]: [{ [bZ]: l, [ca]: [aK, b] }], [bW]: c, [bX]: [{ [bW]: c, [bX]: [{ [bY]: bI, error: \"S3 MRAP does not support dual-stack\", [bW]: n }, { [bW]: c, [bX]: [{ [bY]: bS, error: \"S3 MRAP does not support FIPS\", [bW]: n }, { [bW]: c, [bX]: [{ [bY]: bJ, error: \"S3 MRAP does not support S3 Accelerate\", [bW]: n }, { [bW]: c, [bX]: [{ [bY]: [{ [bZ]: r, [ca]: [{ [cb]: \"DisableMultiRegionAccessPoints\" }, b] }], error: \"Invalid configuration: Multi-Region Access Point ARNs are disabled.\", [bW]: n }, { [bW]: c, [bX]: [{ [bY]: [{ [bZ]: j, [ca]: bt, [cc]: G }], [bW]: c, [bX]: [{ [bW]: c, [bX]: [{ [bY]: [{ [bZ]: k, [ca]: [{ [bZ]: v, [ca]: [{ [cb]: G }, w] }, { [bZ]: v, [ca]: [aH, \"partition\"] }] }], [bW]: c, [bX]: [{ endpoint: { [cd]: \"https://{accessPointName}.accesspoint.s3-global.{mrapPartition#dnsSuffix}\", [ce]: { [cf]: [{ [cg]: b, name: \"sigv4a\", [ch]: t, signingRegionSet: [\"*\"] }] }, [cj]: W }, [bW]: q }] }, { error: \"Client was configured for partition `{mrapPartition#name}` but bucket referred to partition `{bucketArn#partition}`\", [bW]: n }] }] }, { error: \"{Region} was not a valid region\", [bW]: n }] }] }] }] }] }] }, { error: \"Invalid Access Point Name\", [bW]: n }] }] }] }, ba] }, { [bY]: [{ [bZ]: k, [ca]: [aJ, p] }], [bW]: c, [bX]: [{ [bY]: bI, error: \"S3 Outposts does not support Dual-stack\", [bW]: n }, { [bW]: c, [bX]: [{ [bY]: bS, error: \"S3 Outposts does not support FIPS\", [bW]: n }, { [bW]: c, [bX]: [{ [bY]: bJ, error: \"S3 Outposts does not support S3 Accelerate\", [bW]: n }, { [bW]: c, [bX]: [{ [bY]: [{ [bZ]: d, [ca]: [{ [bZ]: v, [ca]: [aH, \"resourceId[4]\"] }] }], error: \"Invalid Arn: Outpost Access Point ARN contains sub resources\", [bW]: n }, { [bW]: c, [bX]: [{ [bY]: [{ [bZ]: v, [ca]: bH, [cc]: i }], [bW]: c, [bX]: [{ [bW]: c, [bX]: [{ [bY]: bv, [bW]: c, [bX]: [{ [bW]: c, [bX]: [aO, { [bW]: c, [bX]: [{ [bY]: bN, [bW]: c, [bX]: [{ [bW]: c, [bX]: [{ [bY]: bC, [bW]: c, [bX]: [{ [bW]: c, [bX]: [{ [bY]: bO, [bW]: c, [bX]: [{ [bW]: c, [bX]: [{ [bY]: bP, [bW]: c, [bX]: [{ [bW]: c, [bX]: [{ [bY]: bQ, [bW]: c, [bX]: [{ [bW]: c, [bX]: [{ [bY]: [{ [bZ]: v, [ca]: bM, [cc]: H }], [bW]: c, [bX]: [{ [bW]: c, [bX]: [{ [bY]: [{ [bZ]: v, [ca]: [aH, \"resourceId[3]\"], [cc]: E }], [bW]: c, [bX]: [{ [bW]: c, [bX]: [{ [bY]: [{ [bZ]: k, [ca]: [{ [cb]: H }, D] }], [bW]: c, [bX]: [{ [bW]: c, [bX]: [{ [bY]: by, endpoint: { [cd]: \"https://{accessPointName}-{bucketArn#accountId}.{outpostId}.{url#authority}\", [ce]: bc, [cj]: W }, [bW]: q }, { endpoint: { [cd]: \"https://{accessPointName}-{bucketArn#accountId}.{outpostId}.s3-outposts.{bucketArn#region}.{bucketPartition#dnsSuffix}\", [ce]: bc, [cj]: W }, [bW]: q }] }] }, { error: \"Expected an outpost type `accesspoint`, found {outpostType}\", [bW]: n }] }] }, { error: \"Invalid ARN: expected an access point name\", [bW]: n }] }] }, { error: \"Invalid ARN: Expected a 4-component resource\", [bW]: n }] }] }, aU] }] }, aV] }] }, aW] }] }, ai] }] }, { error: \"Could not load partition for ARN region {bucketArn#region}\", [bW]: n }] }] }] }, { error: \"Invalid ARN: The outpost Id may only contain a-z, A-Z, 0-9 and `-`. Found: `{outpostId}`\", [bW]: n }] }] }, { error: \"Invalid ARN: The Outpost Id was not set\", [bW]: n }] }] }] }] }] }, { error: \"Invalid ARN: Unrecognized format: {Bucket} (type: {arnType})\", [bW]: n }] }] }, { error: \"Invalid ARN: No ARN type specified\", [bW]: n }] }, { [bY]: [{ [bZ]: e, [ca]: [P, 0, 4, a], [cc]: I }, { [bZ]: k, [ca]: [{ [cb]: I }, \"arn:\"] }, { [bZ]: m, [ca]: [{ [bZ]: d, [ca]: bA }] }], error: \"Invalid ARN: `{Bucket}` was not a valid ARN\", [bW]: n }, Y] }] }, { [bY]: [{ [bZ]: d, [ca]: [bd] }, { [bZ]: r, [ca]: [bd, b] }], [bW]: c, [bX]: [{ [bY]: bC, [bW]: c, [bX]: [{ [bW]: c, [bX]: [{ [bY]: bT, [bW]: c, [bX]: [{ [bW]: c, [bX]: [aL, { [bW]: c, [bX]: [aM, { [bW]: c, [bX]: [aj, { [bW]: c, [bX]: [{ [bY]: by, endpoint: { [cd]: J, [ce]: be, [cj]: W }, [bW]: q }, { [bY]: bS, endpoint: { [cd]: \"https://s3-object-lambda-fips.{Region}.{partitionResult#dnsSuffix}\", [ce]: be, [cj]: W }, [bW]: q }, { endpoint: { [cd]: \"https://s3-object-lambda.{Region}.{partitionResult#dnsSuffix}\", [ce]: be, [cj]: W }, [bW]: q }] }] }] }] }] }, aG] }] }, ai] }, { [bY]: [{ [bZ]: m, [ca]: bz }], [bW]: c, [bX]: [{ [bY]: bC, [bW]: c, [bX]: [{ [bW]: c, [bX]: [{ [bY]: bT, [bW]: c, [bX]: [{ [bW]: c, [bX]: [aj, { [bW]: c, [bX]: [bf, bf, { [bY]: [ab, Z, T, U, ac, ad], [bW]: c, [bX]: bU }, { [bY]: [ab, Z, T, U, ac, af], endpoint: bh, [bW]: q }, bi, bi, { [bY]: [ab, Z, S, ac, ad], [bW]: c, [bX]: [{ endpoint: bj, [bW]: q }] }, { [bY]: [ab, Z, S, ac, af], endpoint: bj, [bW]: q }, bk, bk, { [bY]: [ab, ag, T, U, ac, ad], [bW]: c, [bX]: bU }, { [bY]: [ab, ag, T, U, ac, af], endpoint: bh, [bW]: q }, bl, bl, { [bY]: [ab, ag, S, ac, ad], [bW]: c, [bX]: [{ endpoint: bm, [bW]: q }] }, { [bY]: [ab, ag, S, ac, af], endpoint: bm, [bW]: q }, bn, bn, { [bY]: [ah, Z, T, U, ac, ad], [bW]: c, [bX]: bU }, { [bY]: [ah, Z, T, U, ac, af], endpoint: bh, [bW]: q }, bo, bo, { [bY]: [ah, Z, S, ac, ad], [bW]: c, [bX]: [{ endpoint: bp, [bW]: q }] }, { [bY]: [ah, Z, S, ac, af], endpoint: bp, [bW]: q }, bq, bq, { [bY]: [ah, ag, T, U, ac, ad], [bW]: c, [bX]: [{ [bY]: bD, endpoint: bh, [bW]: q }, bg] }, { [bY]: [ah, ag, T, U, ac, af], endpoint: bh, [bW]: q }, br, br, { [bY]: [ah, ag, S, ac, ad], [bW]: c, [bX]: [{ [bY]: bD, endpoint: { [cd]: K, [ce]: ae, [cj]: W }, [bW]: q }, { endpoint: bs, [bW]: q }] }, { [bY]: [ah, ag, S, ac, af], endpoint: bs, [bW]: q }] }] }] }, aG] }] }, ai] }] }] }, { error: \"A region must be set when sending requests to S3.\", [bW]: n }] }] };\nexport const ruleSet = _data;\n","import { resolveEndpoint } from \"@aws-sdk/util-endpoints\";\nimport { ruleSet } from \"./ruleset\";\nexport const defaultEndpointResolver = (endpointParams, context = {}) => {\n return resolveEndpoint(ruleSet, {\n endpointParams: endpointParams,\n logger: context.logger,\n });\n};\n","import { resolveRegionConfig } from \"@aws-sdk/config-resolver\";\nimport { resolveEventStreamSerdeConfig, } from \"@aws-sdk/eventstream-serde-config-resolver\";\nimport { getContentLengthPlugin } from \"@aws-sdk/middleware-content-length\";\nimport { resolveEndpointConfig } from \"@aws-sdk/middleware-endpoint\";\nimport { getAddExpectContinuePlugin } from \"@aws-sdk/middleware-expect-continue\";\nimport { getHostHeaderPlugin, resolveHostHeaderConfig, } from \"@aws-sdk/middleware-host-header\";\nimport { getLoggerPlugin } from \"@aws-sdk/middleware-logger\";\nimport { getRecursionDetectionPlugin } from \"@aws-sdk/middleware-recursion-detection\";\nimport { getRetryPlugin, resolveRetryConfig } from \"@aws-sdk/middleware-retry\";\nimport { getValidateBucketNamePlugin, resolveS3Config, } from \"@aws-sdk/middleware-sdk-s3\";\nimport { getAwsAuthPlugin, resolveAwsAuthConfig, } from \"@aws-sdk/middleware-signing\";\nimport { getUserAgentPlugin, resolveUserAgentConfig, } from \"@aws-sdk/middleware-user-agent\";\nimport { Client as __Client, } from \"@aws-sdk/smithy-client\";\nimport { resolveClientEndpointParameters, } from \"./endpoint/EndpointParameters\";\nimport { getRuntimeConfig as __getRuntimeConfig } from \"./runtimeConfig\";\nexport { __Client };\nexport class S3Client extends __Client {\n constructor(configuration) {\n const _config_0 = __getRuntimeConfig(configuration);\n const _config_1 = resolveClientEndpointParameters(_config_0);\n const _config_2 = resolveRegionConfig(_config_1);\n const _config_3 = resolveEndpointConfig(_config_2);\n const _config_4 = resolveRetryConfig(_config_3);\n const _config_5 = resolveHostHeaderConfig(_config_4);\n const _config_6 = resolveAwsAuthConfig(_config_5);\n const _config_7 = resolveS3Config(_config_6);\n const _config_8 = resolveUserAgentConfig(_config_7);\n const _config_9 = resolveEventStreamSerdeConfig(_config_8);\n super(_config_9);\n this.config = _config_9;\n this.middlewareStack.use(getRetryPlugin(this.config));\n this.middlewareStack.use(getContentLengthPlugin(this.config));\n this.middlewareStack.use(getHostHeaderPlugin(this.config));\n this.middlewareStack.use(getLoggerPlugin(this.config));\n this.middlewareStack.use(getRecursionDetectionPlugin(this.config));\n this.middlewareStack.use(getAwsAuthPlugin(this.config));\n this.middlewareStack.use(getValidateBucketNamePlugin(this.config));\n this.middlewareStack.use(getAddExpectContinuePlugin(this.config));\n this.middlewareStack.use(getUserAgentPlugin(this.config));\n }\n destroy() {\n super.destroy();\n }\n}\n","export const resolveClientEndpointParameters = (options) => {\n return {\n ...options,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useAccelerateEndpoint: options.useAccelerateEndpoint ?? false,\n useGlobalEndpoint: options.useGlobalEndpoint ?? false,\n disableMultiregionAccessPoints: options.disableMultiregionAccessPoints ?? false,\n defaultSigningName: \"s3\",\n };\n};\n","import packageInfo from \"../package.json\";\nimport { Sha1 } from \"@aws-crypto/sha1-browser\";\nimport { Sha256 } from \"@aws-crypto/sha256-browser\";\nimport { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from \"@aws-sdk/config-resolver\";\nimport { eventStreamSerdeProvider } from \"@aws-sdk/eventstream-serde-browser\";\nimport { FetchHttpHandler as RequestHandler, streamCollector } from \"@aws-sdk/fetch-http-handler\";\nimport { blobHasher as streamHasher } from \"@aws-sdk/hash-blob-browser\";\nimport { invalidProvider } from \"@aws-sdk/invalid-dependency\";\nimport { Md5 } from \"@aws-sdk/md5-js\";\nimport { calculateBodyLength } from \"@aws-sdk/util-body-length-browser\";\nimport { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from \"@aws-sdk/util-retry\";\nimport { getAwsChunkedEncodingStream, sdkStreamMixin } from \"@aws-sdk/util-stream-browser\";\nimport { defaultUserAgent } from \"@aws-sdk/util-user-agent-browser\";\nimport { getRuntimeConfig as getSharedRuntimeConfig } from \"./runtimeConfig.shared\";\nimport { loadConfigsForDefaultMode } from \"@aws-sdk/smithy-client\";\nimport { resolveDefaultsModeConfig } from \"@aws-sdk/util-defaults-mode-browser\";\nexport const getRuntimeConfig = (config) => {\n const defaultsMode = resolveDefaultsModeConfig(config);\n const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);\n const clientSharedValues = getSharedRuntimeConfig(config);\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"browser\",\n defaultsMode,\n bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,\n credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error(\"Credential is missing\"))),\n defaultUserAgentProvider: config?.defaultUserAgentProvider ??\n defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),\n eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? eventStreamSerdeProvider,\n getAwsChunkedEncodingStream: config?.getAwsChunkedEncodingStream ?? getAwsChunkedEncodingStream,\n maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,\n md5: config?.md5 ?? Md5,\n region: config?.region ?? invalidProvider(\"Region is missing\"),\n requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),\n retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),\n sdkStreamMixin: config?.sdkStreamMixin ?? sdkStreamMixin,\n sha1: config?.sha1 ?? Sha1,\n sha256: config?.sha256 ?? Sha256,\n streamCollector: config?.streamCollector ?? streamCollector,\n streamHasher: config?.streamHasher ?? streamHasher,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),\n useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),\n };\n};\n","import { SignatureV4MultiRegion } from \"@aws-sdk/signature-v4-multi-region\";\nimport { NoOpLogger } from \"@aws-sdk/smithy-client\";\nimport { parseUrl } from \"@aws-sdk/url-parser\";\nimport { fromBase64, toBase64 } from \"@aws-sdk/util-base64\";\nimport { fromUtf8, toUtf8 } from \"@aws-sdk/util-utf8\";\nimport { defaultEndpointResolver } from \"./endpoint/endpointResolver\";\nexport const getRuntimeConfig = (config) => ({\n apiVersion: \"2006-03-01\",\n base64Decoder: config?.base64Decoder ?? fromBase64,\n base64Encoder: config?.base64Encoder ?? toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,\n logger: config?.logger ?? new NoOpLogger(),\n serviceId: config?.serviceId ?? \"S3\",\n signerConstructor: config?.signerConstructor ?? SignatureV4MultiRegion,\n signingEscapePath: config?.signingEscapePath ?? false,\n urlParser: config?.urlParser ?? parseUrl,\n useArnRegion: config?.useArnRegion ?? false,\n utf8Decoder: config?.utf8Decoder ?? fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? toUtf8,\n});\n","export const resolveS3Config = (input) => ({\n ...input,\n forcePathStyle: input.forcePathStyle ?? false,\n useAccelerateEndpoint: input.useAccelerateEndpoint ?? false,\n disableMultiregionAccessPoints: input.disableMultiregionAccessPoints ?? false,\n});\n","export const resolveEventStreamSerdeConfig = (input) => ({\n ...input,\n eventStreamMarshaller: input.eventStreamSerdeProvider(input),\n});\n","import * as i0 from '@angular/core';\nimport { Component, NgModule, InjectionToken, Injectable, Inject } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport * as i1 from '@rollthecloudinc/content';\nimport { ContentPlugin } from '@rollthecloudinc/content';\nimport { throwError, forkJoin, of, Observable, firstValueFrom } from 'rxjs';\nimport * as i4 from '@rollthecloudinc/awcog';\nimport { COGNITO_SETTINGS } from '@rollthecloudinc/awcog';\nimport { catchError, map } from 'rxjs/operators';\nimport { Upload } from '@aws-sdk/lib-storage';\nimport * as uuid from 'uuid';\nimport { fromCognitoIdentityPool } from '@aws-sdk/credential-provider-cognito-identity';\nimport { CognitoIdentityClient } from '@aws-sdk/client-cognito-identity';\nimport { S3Client } from '@aws-sdk/client-s3';\nimport * as i1$1 from '@angular/common/http';\nimport * as i2 from '@rollthecloudinc/auth';\n\nclass MediafilePaneRendererComponent {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: MediafilePaneRendererComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: MediafilePaneRendererComponent, selector: \"classifieds-ui-mediafile-pane-renderer\", ngImport: i0, template: \"Media File\", styles: [\"\"] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: MediafilePaneRendererComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-mediafile-pane-renderer', template: \"Media File\" }]\n }] });\n\nconst mediafileContentPluginFactory = () => {\n return new ContentPlugin({\n id: 'media_file',\n title: 'Media File',\n selectionComponent: undefined,\n editorComponent: undefined,\n renderComponent: MediafilePaneRendererComponent,\n handler: undefined\n });\n};\n\nclass MediaModule {\n constructor(cpm) {\n cpm.register(mediafileContentPluginFactory());\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: MediaModule, deps: [{ token: i1.ContentPluginManager }], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: MediaModule, declarations: [MediafilePaneRendererComponent], imports: [CommonModule /*, HttpClientModule*/], exports: [MediafilePaneRendererComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: MediaModule, imports: [CommonModule /*, HttpClientModule*/] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: MediaModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [MediafilePaneRendererComponent],\n exports: [MediafilePaneRendererComponent],\n imports: [CommonModule /*, HttpClientModule*/]\n }]\n }], ctorParameters: function () { return [{ type: i1.ContentPluginManager }]; } });\n\nconst MEDIA_SETTINGS = new InjectionToken('Media Settings');\n\nclass MediaSettings {\n constructor(data) {\n if (data) {\n this.endpointUrl = data.endpointUrl;\n this.cloudinaryUrl = data.cloudinaryUrl;\n this.uploadPreset = data.uploadPreset;\n this.imageUrl = data.imageUrl;\n this.bucket = data.bucket;\n this.prefix = data.prefix;\n }\n }\n}\nclass MediaFile {\n constructor(data) {\n if (data) {\n this.id = data.id;\n this.contentType = data.contentType;\n this.contentDisposition = data.contentDisposition;\n this.path = data.path;\n this.fileName = data.fileName;\n this.length = data.length;\n this.extension = data.extension ? data.extension : undefined;\n this.realPath = data.realPath && data.realPath !== '' ? data.realPath : undefined;\n }\n }\n}\nclass CloudinaryUploadResponse {\n constructor(data) {\n if (data) {\n this.public_id = data.public_id;\n this.format = data.format;\n this.original_filename = data.original_filename;\n this.bytes = data.bytes;\n }\n }\n}\n\n// import * as mime from 'mime-types';\nclass FilesService {\n constructor(settings, cognitoSettings, http, authFacade) {\n this.settings = settings;\n this.cognitoSettings = cognitoSettings;\n this.http = http;\n this.authFacade = authFacade;\n }\n bulkUpload({ files, fileNameOverride, nocache }) {\n const requests$ = [];\n files.forEach(f => {\n if (f) {\n const formData = new FormData();\n formData.append('File', f, fileNameOverride ? fileNameOverride : f.name);\n requests$.push(this.http.post(this.settings.endpointUrl, formData).pipe(catchError(e => {\n return throwError(new Error(\"Error uploading images.\"));\n })));\n }\n });\n return requests$.length > 0 ? forkJoin(requests$) : of([]);\n }\n // github will be favored\n bulkUploadS3({ files, fileNameOverride, nocache }) {\n const requests$ = [];\n files.forEach(f => {\n if (f) {\n /*const formData = new FormData();\n formData.append('File', f, f.name);\n requests$.push(this.http.post<MediaFile>(this.settings.endpointUrl, formData).pipe(\n catchError(e => {\n return throwError(new Error(\"Error uploading images.\"));\n })\n ));*/\n requests$.push(new Observable(obs => {\n const id = fileNameOverride ? fileNameOverride : uuid.v4();\n const [_, ext] = f.name.split('.', 2);\n const fileName = id + /*'.' + mime.extension(f.type);*/ (ext ? '.' + ext : '');\n const upload = new Upload({\n client: this.buildClient(),\n params: {\n Bucket: this.settings.bucket,\n Key: this.settings.prefix + fileName,\n Body: f,\n ContentType: f.type,\n ...(nocache ? { CacheControl: 'no-cache' } : {})\n //ContentEncoding: 'gzip'\n }\n });\n upload.done().then(() => {\n obs.next(new MediaFile({\n id,\n contentType: f.type,\n contentDisposition: '',\n path: fileName,\n realPath: this.settings.prefix + fileName,\n length: f.size,\n fileName: f.name,\n extension: /*mime.extension(f.type)*/ ext && ext !== '' ? ext : undefined\n }));\n obs.complete();\n });\n }));\n }\n });\n return requests$.length > 0 ? forkJoin(requests$) : of([]);\n }\n convertToFiles(mediaFiles) {\n const requests$ = mediaFiles.map(f => new Observable(obs => {\n fetch(`${this.settings.imageUrl}/${f.path}`).then(r => {\n r.blob().then(d => {\n new Promise(resolve => {\n let reader = new FileReader();\n reader.onload = () => resolve(reader.result);\n reader.readAsDataURL(d);\n }).then((d2) => {\n const arrayBufferFromBase64 = this.convertDataURIToBinary(d2);\n const file = new File([arrayBufferFromBase64], f.fileName, { type: f.contentType });\n obs.next(file);\n obs.complete();\n });\n });\n });\n }));\n return forkJoin(requests$);\n }\n convertDataURIToBinary(dataURI) {\n var BASE64_MARKER = ';base64,';\n var base64Index = dataURI.indexOf(BASE64_MARKER) + BASE64_MARKER.length;\n var base64 = dataURI.substring(base64Index);\n var raw = window.atob(base64);\n var rawLength = raw.length;\n var array = new Uint8Array(new ArrayBuffer(rawLength));\n for (var i = 0; i < rawLength; i++) {\n array[i] = raw.charCodeAt(i);\n }\n return array;\n }\n buildClient() {\n return new S3Client({\n region: this.cognitoSettings.region,\n credentials: fromCognitoIdentityPool({\n client: new CognitoIdentityClient({ region: this.cognitoSettings.region }),\n identityPoolId: this.cognitoSettings.identityPoolId,\n logins: {\n [`cognito-idp.${this.cognitoSettings.region}.amazonaws.com/${this.cognitoSettings.userPoolId}`]: () => firstValueFrom(this.authFacade.getUser$.pipe(map(u => u ? u.id_token : undefined)))\n }\n }),\n });\n }\n isImage({ file }) {\n return file.type && file.type.indexOf('image/') === 0;\n }\n isVideo({ file }) {\n return file.type && file.type.indexOf('video/') === 0;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FilesService, deps: [{ token: MEDIA_SETTINGS }, { token: COGNITO_SETTINGS }, { token: i1$1.HttpClient }, { token: i2.AuthFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FilesService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FilesService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: MediaSettings, decorators: [{\n type: Inject,\n args: [MEDIA_SETTINGS]\n }] }, { type: i4.CognitoSettings, decorators: [{\n type: Inject,\n args: [COGNITO_SETTINGS]\n }] }, { type: i1$1.HttpClient }, { type: i2.AuthFacade }]; } });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { CloudinaryUploadResponse, FilesService, MEDIA_SETTINGS, MediaFile, MediaModule, MediaSettings, MediafilePaneRendererComponent };\n","import * as i0 from '@angular/core';\nimport { NgModule, Injectable } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { AttributeTypes } from '@rollthecloudinc/attributes';\n\nclass TokenModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: TokenModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: TokenModule, imports: [CommonModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: TokenModule, imports: [CommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: TokenModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [CommonModule]\n }]\n }] });\n\nclass TokenizerService {\n constructor() { }\n generateTokens(settings) {\n const tokens = new Map();\n this.attributeTokens(settings, tokens, '', 0);\n return tokens;\n }\n generateGenericTokens(obj, prefix = '') {\n const tokens = new Map();\n this.genericTokens(obj, tokens, prefix, 0);\n return tokens;\n }\n attributeTokens(settings, tokens, prefix, level) {\n settings.forEach((s, i) => {\n if (s.name !== 'widget') {\n for (const prop in s) {\n if (s.type === AttributeTypes.Complex || (prop === 'attributes' && s.attributes && s.attributes.length > 0)) {\n if (s.type === AttributeTypes.Complex) {\n this.attributeTokens(s.attributes, tokens, `${prefix}`, level + 1);\n }\n else {\n this.attributeTokens(s.attributes, tokens, `${prefix}.${s.name}`, level + 1);\n }\n }\n else if (prop !== 'attributes') {\n if (prop === s.name) {\n tokens.set(`${prefix}.${prop}`, s[prop]);\n }\n else {\n tokens.set(`${prefix}.${s.name}.${prop}`, s[prop]);\n }\n }\n }\n }\n });\n }\n genericTokens(obj, tokens, prefix, level) {\n for (const prop in obj) {\n const type = typeof (obj[prop]);\n if (type !== 'object') {\n tokens.set(`${prefix}.${prop}`, obj[prop]);\n }\n else if (Array.isArray(obj[prop]) && prop === 'attributes') {\n this.attributeTokens(obj[prop], tokens, `${prefix}.${prop}`, level + 1);\n }\n else if (Array.isArray(obj[prop])) {\n var len = obj[prop].length;\n for (let i = 0; i < len; i++) {\n this.genericTokens(obj[prop][i], tokens, `${prefix}.${prop}.${i}`, level + 1);\n }\n }\n else {\n this.genericTokens(obj[prop], tokens, `${prefix}.${prop}`, level + 1);\n }\n }\n }\n replaceTokens(v, tokens) {\n if (tokens) {\n tokens.forEach((value, key) => {\n v = v.replace(`[${key}]`, `${value}`);\n });\n }\n return v;\n }\n matchTokens(v, tokens) {\n const matched = [];\n const len = tokens.length;\n for (let i = 0; i < len; i++) {\n if (v.indexOf(`[${tokens[i]}]`) > -1) {\n matched.push(tokens[i]);\n }\n }\n return matched;\n }\n discoverTokens(v, full = false) {\n const m = v.match(/(\\[(?:\\[??[^\\[]*?\\]))/g);\n if (m === null) {\n return [];\n }\n const matches = m.reduce((p, c) => {\n if (c.indexOf(' ') !== -1 || c.indexOf('.') === -1) {\n return p;\n }\n // const [ firstPiece ] = c.indexOf('.') === 1 ? c.substr(2, c.length - 1).split('.') : c.substr(1, c.length - 2).split('.');\n const [firstPiece] = c.indexOf('.') === 1 ? ['.'] : c.substr(1, c.length - 2).split('.');\n if (p.findIndex(p => p === firstPiece) !== -1) {\n return p;\n }\n return [...p, full ? c.substr(1, c.length - 2) : firstPiece];\n }, []);\n return matches;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: TokenizerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: TokenizerService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: TokenizerService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return []; } });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { TokenModule, TokenizerService };\n","import * as i0 from '@angular/core';\nimport { InjectionToken, EventEmitter, Component, ChangeDetectionStrategy, ViewEncapsulation, Optional, Inject, Input, Output, ViewChildren, Directive, NgModule } from '@angular/core';\nimport * as i1 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport { Observable, Subject } from 'rxjs';\nimport { debounceTime } from 'rxjs/operators';\n\nfunction getPointFromEvent(event) {\n // TouchEvent\n if (event.changedTouches !== undefined && event.changedTouches.length > 0) {\n return {\n x: event.changedTouches[0].clientX,\n y: event.changedTouches[0].clientY,\n };\n }\n // MouseEvent\n else if (event.clientX !== undefined && event.clientY !== undefined) {\n return {\n x: event.clientX,\n y: event.clientY,\n };\n }\n // KeyboardEvent\n else if (event.currentTarget !== undefined) {\n const gutterEl = event.currentTarget;\n return {\n x: gutterEl.offsetLeft,\n y: gutterEl.offsetTop,\n };\n }\n return null;\n}\nfunction pointDeltaEquals(lhs, rhs, deltaPx) {\n return Math.abs(lhs.x - rhs.x) <= deltaPx && Math.abs(lhs.y - rhs.y) <= deltaPx;\n}\nfunction getKeyboardEndpoint(event, direction) {\n // Return null if direction keys on the opposite axis were pressed\n if (direction === 'horizontal') {\n switch (event.key) {\n case 'ArrowLeft':\n case 'ArrowRight':\n case 'PageUp':\n case 'PageDown':\n break;\n default:\n return null;\n }\n }\n if (direction === 'vertical') {\n switch (event.key) {\n case 'ArrowUp':\n case 'ArrowDown':\n case 'PageUp':\n case 'PageDown':\n break;\n default:\n return null;\n }\n }\n const gutterEl = event.currentTarget;\n const offset = event.key === 'PageUp' || event.key === 'PageDown' ? 50 * 10 : 50;\n let offsetX = gutterEl.offsetLeft, offsetY = gutterEl.offsetTop;\n switch (event.key) {\n case 'ArrowLeft':\n offsetX -= offset;\n break;\n case 'ArrowRight':\n offsetX += offset;\n break;\n case 'ArrowUp':\n offsetY -= offset;\n break;\n case 'ArrowDown':\n offsetY += offset;\n break;\n case 'PageUp':\n if (direction === 'vertical') {\n offsetY -= offset;\n }\n else {\n offsetX += offset;\n }\n break;\n case 'PageDown':\n if (direction === 'vertical') {\n offsetY += offset;\n }\n else {\n offsetX -= offset;\n }\n break;\n default:\n return null;\n }\n return {\n x: offsetX,\n y: offsetY,\n };\n}\nfunction getElementPixelSize(elRef, direction) {\n const rect = elRef.nativeElement.getBoundingClientRect();\n return direction === 'horizontal' ? rect.width : rect.height;\n}\nfunction getInputBoolean(v) {\n return typeof v === 'boolean' ? v : v === 'false' ? false : true;\n}\nfunction getInputPositiveNumber(v, defaultValue) {\n if (v === null || v === undefined)\n return defaultValue;\n v = Number(v);\n return !isNaN(v) && v >= 0 ? v : defaultValue;\n}\nfunction isUserSizesValid(unit, sizes) {\n // All sizes have to be not null and total should be 100\n if (unit === 'percent') {\n const total = sizes.reduce((total, s) => (s !== null ? total + s : total), 0);\n return sizes.every((s) => s !== null) && total > 99.9 && total < 100.1;\n }\n // A size at null is mandatory but only one.\n if (unit === 'pixel') {\n return sizes.filter((s) => s === null).length === 1;\n }\n}\nfunction getAreaMinSize(a) {\n if (a.size === null) {\n return null;\n }\n if (a.component.lockSize === true) {\n return a.size;\n }\n if (a.component.minSize === null) {\n return null;\n }\n if (a.component.minSize > a.size) {\n return a.size;\n }\n return a.component.minSize;\n}\nfunction getAreaMaxSize(a) {\n if (a.size === null) {\n return null;\n }\n if (a.component.lockSize === true) {\n return a.size;\n }\n if (a.component.maxSize === null) {\n return null;\n }\n if (a.component.maxSize < a.size) {\n return a.size;\n }\n return a.component.maxSize;\n}\nfunction getGutterSideAbsorptionCapacity(unit, sideAreas, pixels, allAreasSizePixel) {\n return sideAreas.reduce((acc, area) => {\n const res = getAreaAbsorptionCapacity(unit, area, acc.remain, allAreasSizePixel);\n acc.list.push(res);\n acc.remain = res.pixelRemain;\n return acc;\n }, { remain: pixels, list: [] });\n}\nfunction getAreaAbsorptionCapacity(unit, areaSnapshot, pixels, allAreasSizePixel) {\n // No pain no gain\n if (pixels === 0) {\n return {\n areaSnapshot,\n pixelAbsorb: 0,\n percentAfterAbsorption: areaSnapshot.sizePercentAtStart,\n pixelRemain: 0,\n };\n }\n // Area start at zero and need to be reduced, not possible\n if (areaSnapshot.sizePixelAtStart === 0 && pixels < 0) {\n return {\n areaSnapshot,\n pixelAbsorb: 0,\n percentAfterAbsorption: 0,\n pixelRemain: pixels,\n };\n }\n if (unit === 'percent') {\n return getAreaAbsorptionCapacityPercent(areaSnapshot, pixels, allAreasSizePixel);\n }\n if (unit === 'pixel') {\n return getAreaAbsorptionCapacityPixel(areaSnapshot, pixels, allAreasSizePixel);\n }\n}\nfunction getAreaAbsorptionCapacityPercent(areaSnapshot, pixels, allAreasSizePixel) {\n const tempPixelSize = areaSnapshot.sizePixelAtStart + pixels;\n const tempPercentSize = (tempPixelSize / allAreasSizePixel) * 100;\n // ENLARGE AREA\n if (pixels > 0) {\n // If maxSize & newSize bigger than it > absorb to max and return remaining pixels\n if (areaSnapshot.area.maxSize !== null && tempPercentSize > areaSnapshot.area.maxSize) {\n // Use area.area.maxSize as newPercentSize and return calculate pixels remaining\n const maxSizePixel = (areaSnapshot.area.maxSize / 100) * allAreasSizePixel;\n return {\n areaSnapshot,\n pixelAbsorb: maxSizePixel,\n percentAfterAbsorption: areaSnapshot.area.maxSize,\n pixelRemain: areaSnapshot.sizePixelAtStart + pixels - maxSizePixel,\n };\n }\n return {\n areaSnapshot,\n pixelAbsorb: pixels,\n percentAfterAbsorption: tempPercentSize > 100 ? 100 : tempPercentSize,\n pixelRemain: 0,\n };\n }\n // REDUCE AREA\n else if (pixels < 0) {\n // If minSize & newSize smaller than it > absorb to min and return remaining pixels\n if (areaSnapshot.area.minSize !== null && tempPercentSize < areaSnapshot.area.minSize) {\n // Use area.area.minSize as newPercentSize and return calculate pixels remaining\n const minSizePixel = (areaSnapshot.area.minSize / 100) * allAreasSizePixel;\n return {\n areaSnapshot,\n pixelAbsorb: minSizePixel,\n percentAfterAbsorption: areaSnapshot.area.minSize,\n pixelRemain: areaSnapshot.sizePixelAtStart + pixels - minSizePixel,\n };\n }\n // If reduced under zero > return remaining pixels\n else if (tempPercentSize < 0) {\n // Use 0 as newPercentSize and return calculate pixels remaining\n return {\n areaSnapshot,\n pixelAbsorb: -areaSnapshot.sizePixelAtStart,\n percentAfterAbsorption: 0,\n pixelRemain: pixels + areaSnapshot.sizePixelAtStart,\n };\n }\n return {\n areaSnapshot,\n pixelAbsorb: pixels,\n percentAfterAbsorption: tempPercentSize,\n pixelRemain: 0,\n };\n }\n}\nfunction getAreaAbsorptionCapacityPixel(areaSnapshot, pixels, containerSizePixel) {\n const tempPixelSize = areaSnapshot.sizePixelAtStart + pixels;\n // ENLARGE AREA\n if (pixels > 0) {\n // If maxSize & newSize bigger than it > absorb to max and return remaining pixels\n if (areaSnapshot.area.maxSize !== null && tempPixelSize > areaSnapshot.area.maxSize) {\n return {\n areaSnapshot,\n pixelAbsorb: areaSnapshot.area.maxSize - areaSnapshot.sizePixelAtStart,\n percentAfterAbsorption: -1,\n pixelRemain: tempPixelSize - areaSnapshot.area.maxSize,\n };\n }\n return {\n areaSnapshot,\n pixelAbsorb: pixels,\n percentAfterAbsorption: -1,\n pixelRemain: 0,\n };\n }\n // REDUCE AREA\n else if (pixels < 0) {\n // If minSize & newSize smaller than it > absorb to min and return remaining pixels\n if (areaSnapshot.area.minSize !== null && tempPixelSize < areaSnapshot.area.minSize) {\n return {\n areaSnapshot,\n pixelAbsorb: areaSnapshot.area.minSize + pixels - tempPixelSize,\n percentAfterAbsorption: -1,\n pixelRemain: tempPixelSize - areaSnapshot.area.minSize,\n };\n }\n // If reduced under zero > return remaining pixels\n else if (tempPixelSize < 0) {\n return {\n areaSnapshot,\n pixelAbsorb: -areaSnapshot.sizePixelAtStart,\n percentAfterAbsorption: -1,\n pixelRemain: pixels + areaSnapshot.sizePixelAtStart,\n };\n }\n return {\n areaSnapshot,\n pixelAbsorb: pixels,\n percentAfterAbsorption: -1,\n pixelRemain: 0,\n };\n }\n}\nfunction updateAreaSize(unit, item) {\n if (unit === 'percent') {\n item.areaSnapshot.area.size = item.percentAfterAbsorption;\n }\n else if (unit === 'pixel') {\n // Update size except for the wildcard size area\n if (item.areaSnapshot.area.size !== null) {\n item.areaSnapshot.area.size = item.areaSnapshot.sizePixelAtStart + item.pixelAbsorb;\n }\n }\n}\n\nconst ANGULAR_SPLIT_DEFAULT_OPTIONS = new InjectionToken('angular-split-global-config');\n\n/**\n * angular-split\n *\n *\n * PERCENT MODE ([unit]=\"'percent'\")\n * ___________________________________________________________________________________________\n * | A [g1] B [g2] C [g3] D [g4] E |\n * |-------------------------------------------------------------------------------------------|\n * | 20 30 20 15 15 | <-- [size]=\"x\"\n * | 10px 10px 10px 10px | <-- [gutterSize]=\"10\"\n * |calc(20% - 8px) calc(30% - 12px) calc(20% - 8px) calc(15% - 6px) calc(15% - 6px)| <-- CSS flex-basis property (with flex-grow&shrink at 0)\n * | 152px 228px 152px 114px 114px | <-- el.getBoundingClientRect().width\n * |___________________________________________________________________________________________|\n * 800px <-- el.getBoundingClientRect().width\n * flex-basis = calc( { area.size }% - { area.size/100 * nbGutter*gutterSize }px );\n *\n *\n * PIXEL MODE ([unit]=\"'pixel'\")\n * ___________________________________________________________________________________________\n * | A [g1] B [g2] C [g3] D [g4] E |\n * |-------------------------------------------------------------------------------------------|\n * | 100 250 * 150 100 | <-- [size]=\"y\"\n * | 10px 10px 10px 10px | <-- [gutterSize]=\"10\"\n * | 0 0 100px 0 0 250px 1 1 auto 0 0 150px 0 0 100px | <-- CSS flex property (flex-grow/flex-shrink/flex-basis)\n * | 100px 250px 200px 150px 100px | <-- el.getBoundingClientRect().width\n * |___________________________________________________________________________________________|\n * 800px <-- el.getBoundingClientRect().width\n *\n */\nclass SplitComponent {\n set direction(v) {\n this._direction = v === 'vertical' ? 'vertical' : 'horizontal';\n this.renderer.addClass(this.elRef.nativeElement, `as-${this._direction}`);\n this.renderer.removeClass(this.elRef.nativeElement, `as-${this._direction === 'vertical' ? 'horizontal' : 'vertical'}`);\n this.build(false, false);\n }\n get direction() {\n return this._direction;\n }\n set unit(v) {\n this._unit = v === 'pixel' ? 'pixel' : 'percent';\n this.renderer.addClass(this.elRef.nativeElement, `as-${this._unit}`);\n this.renderer.removeClass(this.elRef.nativeElement, `as-${this._unit === 'pixel' ? 'percent' : 'pixel'}`);\n this.build(false, true);\n }\n get unit() {\n return this._unit;\n }\n set gutterSize(v) {\n this._gutterSize = getInputPositiveNumber(v, 11);\n this.build(false, false);\n }\n get gutterSize() {\n return this._gutterSize;\n }\n set gutterStep(v) {\n this._gutterStep = getInputPositiveNumber(v, 1);\n }\n get gutterStep() {\n return this._gutterStep;\n }\n set restrictMove(v) {\n this._restrictMove = getInputBoolean(v);\n }\n get restrictMove() {\n return this._restrictMove;\n }\n set useTransition(v) {\n this._useTransition = getInputBoolean(v);\n if (this._useTransition) {\n this.renderer.addClass(this.elRef.nativeElement, 'as-transition');\n }\n else {\n this.renderer.removeClass(this.elRef.nativeElement, 'as-transition');\n }\n }\n get useTransition() {\n return this._useTransition;\n }\n set disabled(v) {\n this._disabled = getInputBoolean(v);\n if (this._disabled) {\n this.renderer.addClass(this.elRef.nativeElement, 'as-disabled');\n }\n else {\n this.renderer.removeClass(this.elRef.nativeElement, 'as-disabled');\n }\n }\n get disabled() {\n return this._disabled;\n }\n set dir(v) {\n this._dir = v === 'rtl' ? 'rtl' : 'ltr';\n this.renderer.setAttribute(this.elRef.nativeElement, 'dir', this._dir);\n }\n get dir() {\n return this._dir;\n }\n set gutterDblClickDuration(v) {\n this._gutterDblClickDuration = getInputPositiveNumber(v, 0);\n }\n get gutterDblClickDuration() {\n return this._gutterDblClickDuration;\n }\n get transitionEnd() {\n return new Observable((subscriber) => (this.transitionEndSubscriber = subscriber)).pipe(debounceTime(20));\n }\n constructor(ngZone, elRef, cdRef, renderer, globalConfig) {\n this.ngZone = ngZone;\n this.elRef = elRef;\n this.cdRef = cdRef;\n this.renderer = renderer;\n this.gutterClickDeltaPx = 2;\n this._config = {\n direction: 'horizontal',\n unit: 'percent',\n gutterSize: 11,\n gutterStep: 1,\n restrictMove: false,\n useTransition: false,\n disabled: false,\n dir: 'ltr',\n gutterDblClickDuration: 0,\n };\n this.dragStart = new EventEmitter(false);\n this.dragEnd = new EventEmitter(false);\n this.gutterClick = new EventEmitter(false);\n this.gutterDblClick = new EventEmitter(false);\n this.dragProgressSubject = new Subject();\n this.dragProgress$ = this.dragProgressSubject.asObservable();\n this.isDragging = false;\n this.isWaitingClear = false;\n this.isWaitingInitialMove = false;\n this.dragListeners = [];\n this.snapshot = null;\n this.startPoint = null;\n this.endPoint = null;\n this.displayedAreas = [];\n this.hiddenAreas = [];\n this._clickTimeout = null;\n // To force adding default class, could be override by user @Input() or not\n this.direction = this._direction;\n this._config = globalConfig ? Object.assign(this._config, globalConfig) : this._config;\n Object.keys(this._config).forEach((property) => {\n this[property] = this._config[property];\n });\n }\n ngAfterViewInit() {\n this.ngZone.runOutsideAngular(() => {\n // To avoid transition at first rendering\n setTimeout(() => this.renderer.addClass(this.elRef.nativeElement, 'as-init'));\n });\n }\n getNbGutters() {\n return this.displayedAreas.length === 0 ? 0 : this.displayedAreas.length - 1;\n }\n addArea(component) {\n const newArea = {\n component,\n order: 0,\n size: 0,\n minSize: null,\n maxSize: null,\n sizeBeforeCollapse: null,\n gutterBeforeCollapse: 0,\n };\n if (component.visible === true) {\n this.displayedAreas.push(newArea);\n this.build(true, true);\n }\n else {\n this.hiddenAreas.push(newArea);\n }\n }\n removeArea(component) {\n if (this.displayedAreas.some((a) => a.component === component)) {\n const area = this.displayedAreas.find((a) => a.component === component);\n this.displayedAreas.splice(this.displayedAreas.indexOf(area), 1);\n this.build(true, true);\n }\n else if (this.hiddenAreas.some((a) => a.component === component)) {\n const area = this.hiddenAreas.find((a) => a.component === component);\n this.hiddenAreas.splice(this.hiddenAreas.indexOf(area), 1);\n }\n }\n updateArea(component, resetOrders, resetSizes) {\n if (component.visible === true) {\n this.build(resetOrders, resetSizes);\n }\n }\n showArea(component) {\n const area = this.hiddenAreas.find((a) => a.component === component);\n if (area === undefined) {\n return;\n }\n const areas = this.hiddenAreas.splice(this.hiddenAreas.indexOf(area), 1);\n this.displayedAreas.push(...areas);\n this.build(true, true);\n }\n hideArea(comp) {\n const area = this.displayedAreas.find((a) => a.component === comp);\n if (area === undefined) {\n return;\n }\n const areas = this.displayedAreas.splice(this.displayedAreas.indexOf(area), 1);\n areas.forEach((item) => {\n item.order = 0;\n item.size = 0;\n });\n this.hiddenAreas.push(...areas);\n this.build(true, true);\n }\n getVisibleAreaSizes() {\n return this.displayedAreas.map((a) => (a.size === null ? '*' : a.size));\n }\n setVisibleAreaSizes(sizes) {\n if (sizes.length !== this.displayedAreas.length) {\n return false;\n }\n const formattedSizes = sizes.map((s) => getInputPositiveNumber(s, null));\n const isValid = isUserSizesValid(this.unit, formattedSizes);\n if (isValid === false) {\n return false;\n }\n // @ts-ignore\n this.displayedAreas.forEach((area, i) => (area.component._size = formattedSizes[i]));\n this.build(false, true);\n return true;\n }\n build(resetOrders, resetSizes) {\n this.stopDragging();\n // ¤ AREAS ORDER\n if (resetOrders === true) {\n // If user provided 'order' for each area, use it to sort them.\n if (this.displayedAreas.every((a) => a.component.order !== null)) {\n this.displayedAreas.sort((a, b) => a.component.order - b.component.order);\n }\n // Then set real order with multiples of 2, numbers between will be used by gutters.\n this.displayedAreas.forEach((area, i) => {\n area.order = i * 2;\n area.component.setStyleOrder(area.order);\n });\n }\n // ¤ AREAS SIZE\n if (resetSizes === true) {\n const useUserSizes = isUserSizesValid(this.unit, this.displayedAreas.map((a) => a.component.size));\n switch (this.unit) {\n case 'percent': {\n const defaultSize = 100 / this.displayedAreas.length;\n this.displayedAreas.forEach((area) => {\n area.size = useUserSizes ? area.component.size : defaultSize;\n area.minSize = getAreaMinSize(area);\n area.maxSize = getAreaMaxSize(area);\n });\n break;\n }\n case 'pixel': {\n if (useUserSizes) {\n this.displayedAreas.forEach((area) => {\n area.size = area.component.size;\n area.minSize = getAreaMinSize(area);\n area.maxSize = getAreaMaxSize(area);\n });\n }\n else {\n const wildcardSizeAreas = this.displayedAreas.filter((a) => a.component.size === null);\n // No wildcard area > Need to select one arbitrarily > first\n if (wildcardSizeAreas.length === 0 && this.displayedAreas.length > 0) {\n this.displayedAreas.forEach((area, i) => {\n area.size = i === 0 ? null : area.component.size;\n area.minSize = i === 0 ? null : getAreaMinSize(area);\n area.maxSize = i === 0 ? null : getAreaMaxSize(area);\n });\n }\n else if (wildcardSizeAreas.length > 1) {\n // More than one wildcard area > Need to keep only one arbitrarily > first\n let alreadyGotOne = false;\n this.displayedAreas.forEach((area) => {\n if (area.component.size === null) {\n if (alreadyGotOne === false) {\n area.size = null;\n area.minSize = null;\n area.maxSize = null;\n alreadyGotOne = true;\n }\n else {\n area.size = 100;\n area.minSize = null;\n area.maxSize = null;\n }\n }\n else {\n area.size = area.component.size;\n area.minSize = getAreaMinSize(area);\n area.maxSize = getAreaMaxSize(area);\n }\n });\n }\n }\n break;\n }\n }\n }\n this.refreshStyleSizes();\n this.cdRef.markForCheck();\n }\n refreshStyleSizes() {\n ///////////////////////////////////////////\n // PERCENT MODE\n if (this.unit === 'percent') {\n // Only one area > flex-basis 100%\n if (this.displayedAreas.length === 1) {\n this.displayedAreas[0].component.setStyleFlex(0, 0, `100%`, false, false);\n }\n else {\n // Multiple areas > use each percent basis\n const sumGutterSize = this.getNbGutters() * this.gutterSize;\n this.displayedAreas.forEach((area) => {\n area.component.setStyleFlex(0, 0, `calc( ${area.size}% - ${(area.size / 100) * sumGutterSize}px )`, area.minSize !== null && area.minSize === area.size, area.maxSize !== null && area.maxSize === area.size);\n });\n }\n }\n else if (this.unit === 'pixel') {\n ///////////////////////////////////////////\n // PIXEL MODE\n this.displayedAreas.forEach((area) => {\n // Area with wildcard size\n if (area.size === null) {\n if (this.displayedAreas.length === 1) {\n area.component.setStyleFlex(1, 1, `100%`, false, false);\n }\n else {\n area.component.setStyleFlex(1, 1, `auto`, false, false);\n }\n }\n else {\n // Area with pixel size\n // Only one area > flex-basis 100%\n if (this.displayedAreas.length === 1) {\n area.component.setStyleFlex(0, 0, `100%`, false, false);\n }\n else {\n // Multiple areas > use each pixel basis\n area.component.setStyleFlex(0, 0, `${area.size}px`, area.minSize !== null && area.minSize === area.size, area.maxSize !== null && area.maxSize === area.size);\n }\n }\n });\n }\n }\n clickGutter(event, gutterNum) {\n const tempPoint = getPointFromEvent(event);\n // Be sure mouseup/touchend happened if touch/cursor is not moved.\n if (this.startPoint &&\n pointDeltaEquals(this.startPoint, tempPoint, this.gutterClickDeltaPx) &&\n (!this.isDragging || this.isWaitingInitialMove)) {\n // If timeout in progress and new click > clearTimeout & dblClickEvent\n if (this._clickTimeout !== null) {\n window.clearTimeout(this._clickTimeout);\n this._clickTimeout = null;\n this.notify('dblclick', gutterNum);\n this.stopDragging();\n }\n else {\n // Else start timeout to call clickEvent at end\n this._clickTimeout = window.setTimeout(() => {\n this._clickTimeout = null;\n this.notify('click', gutterNum);\n this.stopDragging();\n }, this.gutterDblClickDuration);\n }\n }\n }\n startKeyboardDrag(event, gutterOrder, gutterNum) {\n if (this.disabled === true || this.isWaitingClear === true) {\n return;\n }\n const endPoint = getKeyboardEndpoint(event, this.direction);\n if (endPoint === null) {\n return;\n }\n this.endPoint = endPoint;\n this.startPoint = getPointFromEvent(event);\n event.preventDefault();\n event.stopPropagation();\n this.setupForDragEvent(gutterOrder, gutterNum);\n this.startDragging();\n this.drag();\n this.stopDragging();\n }\n startMouseDrag(event, gutterOrder, gutterNum) {\n event.preventDefault();\n event.stopPropagation();\n this.startPoint = getPointFromEvent(event);\n if (this.startPoint === null || this.disabled === true || this.isWaitingClear === true) {\n return;\n }\n this.setupForDragEvent(gutterOrder, gutterNum);\n this.dragListeners.push(this.renderer.listen('document', 'mouseup', this.stopDragging.bind(this)));\n this.dragListeners.push(this.renderer.listen('document', 'touchend', this.stopDragging.bind(this)));\n this.dragListeners.push(this.renderer.listen('document', 'touchcancel', this.stopDragging.bind(this)));\n this.ngZone.runOutsideAngular(() => {\n this.dragListeners.push(this.renderer.listen('document', 'mousemove', this.mouseDragEvent.bind(this)));\n this.dragListeners.push(this.renderer.listen('document', 'touchmove', this.mouseDragEvent.bind(this)));\n });\n this.startDragging();\n }\n setupForDragEvent(gutterOrder, gutterNum) {\n this.snapshot = {\n gutterNum,\n lastSteppedOffset: 0,\n allAreasSizePixel: getElementPixelSize(this.elRef, this.direction) - this.getNbGutters() * this.gutterSize,\n allInvolvedAreasSizePercent: 100,\n areasBeforeGutter: [],\n areasAfterGutter: [],\n };\n this.displayedAreas.forEach((area) => {\n const areaSnapshot = {\n area,\n sizePixelAtStart: getElementPixelSize(area.component.elRef, this.direction),\n sizePercentAtStart: this.unit === 'percent' ? area.size : -1, // If pixel mode, anyway, will not be used.\n };\n if (area.order < gutterOrder) {\n if (this.restrictMove === true) {\n this.snapshot.areasBeforeGutter = [areaSnapshot];\n }\n else {\n this.snapshot.areasBeforeGutter.unshift(areaSnapshot);\n }\n }\n else if (area.order > gutterOrder) {\n if (this.restrictMove === true) {\n if (this.snapshot.areasAfterGutter.length === 0) {\n this.snapshot.areasAfterGutter = [areaSnapshot];\n }\n }\n else {\n this.snapshot.areasAfterGutter.push(areaSnapshot);\n }\n }\n });\n this.snapshot.allInvolvedAreasSizePercent = [\n ...this.snapshot.areasBeforeGutter,\n ...this.snapshot.areasAfterGutter,\n ].reduce((t, a) => t + a.sizePercentAtStart, 0);\n if (this.snapshot.areasBeforeGutter.length === 0 || this.snapshot.areasAfterGutter.length === 0) {\n return;\n }\n }\n startDragging() {\n this.displayedAreas.forEach((area) => area.component.lockEvents());\n this.isDragging = true;\n this.isWaitingInitialMove = true;\n }\n mouseDragEvent(event) {\n event.preventDefault();\n event.stopPropagation();\n const tempPoint = getPointFromEvent(event);\n if (this._clickTimeout !== null && !pointDeltaEquals(this.startPoint, tempPoint, this.gutterClickDeltaPx)) {\n window.clearTimeout(this._clickTimeout);\n this._clickTimeout = null;\n }\n if (this.isDragging === false) {\n return;\n }\n this.endPoint = getPointFromEvent(event);\n if (this.endPoint === null) {\n return;\n }\n this.drag();\n }\n drag() {\n if (this.isWaitingInitialMove) {\n if (this.startPoint.x !== this.endPoint.x || this.startPoint.y !== this.endPoint.y) {\n this.ngZone.run(() => {\n this.isWaitingInitialMove = false;\n this.renderer.addClass(this.elRef.nativeElement, 'as-dragging');\n this.renderer.addClass(this.gutterEls.toArray()[this.snapshot.gutterNum - 1].nativeElement, 'as-dragged');\n this.notify('start', this.snapshot.gutterNum);\n });\n }\n else {\n return;\n }\n }\n // Calculate steppedOffset\n let offset = this.direction === 'horizontal' ? this.startPoint.x - this.endPoint.x : this.startPoint.y - this.endPoint.y;\n // RTL requires negative offset only in horizontal mode as in vertical\n // RTL has no effect on drag direction.\n if (this.dir === 'rtl' && this.direction === 'horizontal') {\n offset = -offset;\n }\n const steppedOffset = Math.round(offset / this.gutterStep) * this.gutterStep;\n if (steppedOffset === this.snapshot.lastSteppedOffset) {\n return;\n }\n this.snapshot.lastSteppedOffset = steppedOffset;\n // Need to know if each gutter side areas could reacts to steppedOffset\n let areasBefore = getGutterSideAbsorptionCapacity(this.unit, this.snapshot.areasBeforeGutter, -steppedOffset, this.snapshot.allAreasSizePixel);\n let areasAfter = getGutterSideAbsorptionCapacity(this.unit, this.snapshot.areasAfterGutter, steppedOffset, this.snapshot.allAreasSizePixel);\n // Each gutter side areas can't absorb all offset\n if (areasBefore.remain !== 0 && areasAfter.remain !== 0) {\n if (Math.abs(areasBefore.remain) === Math.abs(areasAfter.remain)) {\n }\n else if (Math.abs(areasBefore.remain) > Math.abs(areasAfter.remain)) {\n areasAfter = getGutterSideAbsorptionCapacity(this.unit, this.snapshot.areasAfterGutter, steppedOffset + areasBefore.remain, this.snapshot.allAreasSizePixel);\n }\n else {\n areasBefore = getGutterSideAbsorptionCapacity(this.unit, this.snapshot.areasBeforeGutter, -(steppedOffset - areasAfter.remain), this.snapshot.allAreasSizePixel);\n }\n }\n else if (areasBefore.remain !== 0) {\n // Areas before gutter can't absorbs all offset > need to recalculate sizes for areas after gutter.\n areasAfter = getGutterSideAbsorptionCapacity(this.unit, this.snapshot.areasAfterGutter, steppedOffset + areasBefore.remain, this.snapshot.allAreasSizePixel);\n }\n else if (areasAfter.remain !== 0) {\n // Areas after gutter can't absorbs all offset > need to recalculate sizes for areas before gutter.\n areasBefore = getGutterSideAbsorptionCapacity(this.unit, this.snapshot.areasBeforeGutter, -(steppedOffset - areasAfter.remain), this.snapshot.allAreasSizePixel);\n }\n if (this.unit === 'percent') {\n // Hack because of browser messing up with sizes using calc(X% - Ypx) -> el.getBoundingClientRect()\n // If not there, playing with gutters makes total going down to 99.99875% then 99.99286%, 99.98986%,..\n const all = [...areasBefore.list, ...areasAfter.list];\n const areaToReset = all.find((a) => a.percentAfterAbsorption !== 0 &&\n a.percentAfterAbsorption !== a.areaSnapshot.area.minSize &&\n a.percentAfterAbsorption !== a.areaSnapshot.area.maxSize);\n if (areaToReset) {\n areaToReset.percentAfterAbsorption =\n this.snapshot.allInvolvedAreasSizePercent -\n all.filter((a) => a !== areaToReset).reduce((total, a) => total + a.percentAfterAbsorption, 0);\n }\n }\n // Now we know areas could absorb steppedOffset, time to really update sizes\n areasBefore.list.forEach((item) => updateAreaSize(this.unit, item));\n areasAfter.list.forEach((item) => updateAreaSize(this.unit, item));\n this.refreshStyleSizes();\n this.notify('progress', this.snapshot.gutterNum);\n }\n stopDragging(event) {\n if (event) {\n event.preventDefault();\n event.stopPropagation();\n }\n if (this.isDragging === false) {\n return;\n }\n this.displayedAreas.forEach((area) => area.component.unlockEvents());\n while (this.dragListeners.length > 0) {\n const fct = this.dragListeners.pop();\n if (fct) {\n fct();\n }\n }\n // Warning: Have to be before \"notify('end')\"\n // because \"notify('end')\"\" can be linked to \"[size]='x'\" > \"build()\" > \"stopDragging()\"\n this.isDragging = false;\n // If moved from starting point, notify end\n if (this.isWaitingInitialMove === false) {\n this.notify('end', this.snapshot.gutterNum);\n }\n this.renderer.removeClass(this.elRef.nativeElement, 'as-dragging');\n this.renderer.removeClass(this.gutterEls.toArray()[this.snapshot.gutterNum - 1].nativeElement, 'as-dragged');\n this.snapshot = null;\n this.isWaitingClear = true;\n // Needed to let (click)=\"clickGutter(...)\" event run and verify if mouse moved or not\n this.ngZone.runOutsideAngular(() => {\n setTimeout(() => {\n this.startPoint = null;\n this.endPoint = null;\n this.isWaitingClear = false;\n });\n });\n }\n notify(type, gutterNum) {\n const sizes = this.getVisibleAreaSizes();\n if (type === 'start') {\n this.dragStart.emit({ gutterNum, sizes });\n }\n else if (type === 'end') {\n this.dragEnd.emit({ gutterNum, sizes });\n }\n else if (type === 'click') {\n this.gutterClick.emit({ gutterNum, sizes });\n }\n else if (type === 'dblclick') {\n this.gutterDblClick.emit({ gutterNum, sizes });\n }\n else if (type === 'transitionEnd') {\n if (this.transitionEndSubscriber) {\n this.ngZone.run(() => this.transitionEndSubscriber.next(sizes));\n }\n }\n else if (type === 'progress') {\n // Stay outside zone to allow users do what they want about change detection mechanism.\n this.dragProgressSubject.next({ gutterNum, sizes });\n }\n }\n ngOnDestroy() {\n this.stopDragging();\n }\n collapseArea(comp, newSize, gutter) {\n const area = this.displayedAreas.find((a) => a.component === comp);\n if (area === undefined) {\n return;\n }\n const whichGutter = gutter === 'right' ? 1 : -1;\n if (!area.sizeBeforeCollapse) {\n area.sizeBeforeCollapse = area.size;\n area.gutterBeforeCollapse = whichGutter;\n }\n area.size = newSize;\n const gtr = this.gutterEls.find((f) => f.nativeElement.style.order === `${area.order + whichGutter}`);\n if (gtr) {\n this.renderer.addClass(gtr.nativeElement, 'as-split-gutter-collapsed');\n }\n this.updateArea(comp, false, false);\n }\n expandArea(comp) {\n const area = this.displayedAreas.find((a) => a.component === comp);\n if (area === undefined) {\n return;\n }\n if (!area.sizeBeforeCollapse) {\n return;\n }\n area.size = area.sizeBeforeCollapse;\n area.sizeBeforeCollapse = null;\n const gtr = this.gutterEls.find((f) => f.nativeElement.style.order === `${area.order + area.gutterBeforeCollapse}`);\n if (gtr) {\n this.renderer.removeClass(gtr.nativeElement, 'as-split-gutter-collapsed');\n }\n this.updateArea(comp, false, false);\n }\n getAriaAreaSizeText(size) {\n if (size === null) {\n return null;\n }\n return size.toFixed(0) + ' ' + this.unit;\n }\n}\n/** @nocollapse */ SplitComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0\", ngImport: i0, type: SplitComponent, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: ANGULAR_SPLIT_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component });\n/** @nocollapse */ SplitComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"15.2.0\", type: SplitComponent, selector: \"as-split\", inputs: { direction: \"direction\", unit: \"unit\", gutterSize: \"gutterSize\", gutterStep: \"gutterStep\", restrictMove: \"restrictMove\", useTransition: \"useTransition\", disabled: \"disabled\", dir: \"dir\", gutterDblClickDuration: \"gutterDblClickDuration\", gutterClickDeltaPx: \"gutterClickDeltaPx\", gutterAriaLabel: \"gutterAriaLabel\" }, outputs: { transitionEnd: \"transitionEnd\", dragStart: \"dragStart\", dragEnd: \"dragEnd\", gutterClick: \"gutterClick\", gutterDblClick: \"gutterDblClick\" }, viewQueries: [{ propertyName: \"gutterEls\", predicate: [\"gutterEls\"], descendants: true }], exportAs: [\"asSplit\"], ngImport: i0, template: ` <ng-content></ng-content>\n <ng-template ngFor [ngForOf]=\"displayedAreas\" let-area=\"$implicit\" let-index=\"index\" let-last=\"last\">\n <div\n role=\"slider\"\n tabindex=\"0\"\n *ngIf=\"last === false\"\n #gutterEls\n class=\"as-split-gutter\"\n [style.flex-basis.px]=\"gutterSize\"\n [style.order]=\"index * 2 + 1\"\n (keydown)=\"startKeyboardDrag($event, index * 2 + 1, index + 1)\"\n (mousedown)=\"startMouseDrag($event, index * 2 + 1, index + 1)\"\n (touchstart)=\"startMouseDrag($event, index * 2 + 1, index + 1)\"\n (mouseup)=\"clickGutter($event, index + 1)\"\n (touchend)=\"clickGutter($event, index + 1)\"\n [attr.aria-label]=\"gutterAriaLabel\"\n [attr.aria-orientation]=\"direction\"\n [attr.aria-valuemin]=\"area.minSize\"\n [attr.aria-valuemax]=\"area.maxSize\"\n [attr.aria-valuenow]=\"area.size\"\n [attr.aria-valuetext]=\"getAriaAreaSizeText(area.size)\"\n >\n <div class=\"as-split-gutter-icon\"></div>\n </div>\n </ng-template>`, isInline: true, styles: [\":host{display:flex;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;overflow:hidden;width:100%;height:100%}:host>.as-split-gutter{border:none;flex-grow:0;flex-shrink:0;background-color:#eee;display:flex;align-items:center;justify-content:center}:host>.as-split-gutter.as-split-gutter-collapsed{flex-basis:1px!important;pointer-events:none}:host>.as-split-gutter>.as-split-gutter-icon{width:100%;height:100%;background-position:center center;background-repeat:no-repeat}:host ::ng-deep>.as-split-area{flex-grow:0;flex-shrink:0;overflow-x:hidden;overflow-y:auto}:host ::ng-deep>.as-split-area.as-hidden{flex:0 1 0px!important;overflow-x:hidden;overflow-y:hidden}:host.as-horizontal{flex-direction:row}:host.as-horizontal>.as-split-gutter{flex-direction:row;cursor:col-resize;height:100%}:host.as-horizontal>.as-split-gutter>.as-split-gutter-icon{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==)}:host.as-horizontal ::ng-deep>.as-split-area{height:100%}:host.as-vertical{flex-direction:column}:host.as-vertical>.as-split-gutter{flex-direction:column;cursor:row-resize;width:100%}:host.as-vertical>.as-split-gutter .as-split-gutter-icon{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFCAMAAABl/6zIAAAABlBMVEUAAADMzMzIT8AyAAAAAXRSTlMAQObYZgAAABRJREFUeAFjYGRkwIMJSeMHlBkOABP7AEGzSuPKAAAAAElFTkSuQmCC)}:host.as-vertical ::ng-deep>.as-split-area{width:100%}:host.as-vertical ::ng-deep>.as-split-area.as-hidden{max-width:0}:host.as-disabled>.as-split-gutter{cursor:default}:host.as-disabled>.as-split-gutter .as-split-gutter-icon{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==)}:host.as-transition.as-init:not(.as-dragging)>.as-split-gutter,:host.as-transition.as-init:not(.as-dragging) ::ng-deep>.as-split-area{transition:flex-basis .3s}\\n\"], dependencies: [{ kind: \"directive\", type: i1.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0\", ngImport: i0, type: SplitComponent, decorators: [{\n type: Component,\n args: [{ selector: 'as-split', exportAs: 'asSplit', changeDetection: ChangeDetectionStrategy.OnPush, template: ` <ng-content></ng-content>\n <ng-template ngFor [ngForOf]=\"displayedAreas\" let-area=\"$implicit\" let-index=\"index\" let-last=\"last\">\n <div\n role=\"slider\"\n tabindex=\"0\"\n *ngIf=\"last === false\"\n #gutterEls\n class=\"as-split-gutter\"\n [style.flex-basis.px]=\"gutterSize\"\n [style.order]=\"index * 2 + 1\"\n (keydown)=\"startKeyboardDrag($event, index * 2 + 1, index + 1)\"\n (mousedown)=\"startMouseDrag($event, index * 2 + 1, index + 1)\"\n (touchstart)=\"startMouseDrag($event, index * 2 + 1, index + 1)\"\n (mouseup)=\"clickGutter($event, index + 1)\"\n (touchend)=\"clickGutter($event, index + 1)\"\n [attr.aria-label]=\"gutterAriaLabel\"\n [attr.aria-orientation]=\"direction\"\n [attr.aria-valuemin]=\"area.minSize\"\n [attr.aria-valuemax]=\"area.maxSize\"\n [attr.aria-valuenow]=\"area.size\"\n [attr.aria-valuetext]=\"getAriaAreaSizeText(area.size)\"\n >\n <div class=\"as-split-gutter-icon\"></div>\n </div>\n </ng-template>`, encapsulation: ViewEncapsulation.Emulated, styles: [\":host{display:flex;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;overflow:hidden;width:100%;height:100%}:host>.as-split-gutter{border:none;flex-grow:0;flex-shrink:0;background-color:#eee;display:flex;align-items:center;justify-content:center}:host>.as-split-gutter.as-split-gutter-collapsed{flex-basis:1px!important;pointer-events:none}:host>.as-split-gutter>.as-split-gutter-icon{width:100%;height:100%;background-position:center center;background-repeat:no-repeat}:host ::ng-deep>.as-split-area{flex-grow:0;flex-shrink:0;overflow-x:hidden;overflow-y:auto}:host ::ng-deep>.as-split-area.as-hidden{flex:0 1 0px!important;overflow-x:hidden;overflow-y:hidden}:host.as-horizontal{flex-direction:row}:host.as-horizontal>.as-split-gutter{flex-direction:row;cursor:col-resize;height:100%}:host.as-horizontal>.as-split-gutter>.as-split-gutter-icon{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==)}:host.as-horizontal ::ng-deep>.as-split-area{height:100%}:host.as-vertical{flex-direction:column}:host.as-vertical>.as-split-gutter{flex-direction:column;cursor:row-resize;width:100%}:host.as-vertical>.as-split-gutter .as-split-gutter-icon{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFCAMAAABl/6zIAAAABlBMVEUAAADMzMzIT8AyAAAAAXRSTlMAQObYZgAAABRJREFUeAFjYGRkwIMJSeMHlBkOABP7AEGzSuPKAAAAAElFTkSuQmCC)}:host.as-vertical ::ng-deep>.as-split-area{width:100%}:host.as-vertical ::ng-deep>.as-split-area.as-hidden{max-width:0}:host.as-disabled>.as-split-gutter{cursor:default}:host.as-disabled>.as-split-gutter .as-split-gutter-icon{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==)}:host.as-transition.as-init:not(.as-dragging)>.as-split-gutter,:host.as-transition.as-init:not(.as-dragging) ::ng-deep>.as-split-area{transition:flex-basis .3s}\\n\"] }]\n }], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANGULAR_SPLIT_DEFAULT_OPTIONS]\n }] }]; }, propDecorators: { direction: [{\n type: Input\n }], unit: [{\n type: Input\n }], gutterSize: [{\n type: Input\n }], gutterStep: [{\n type: Input\n }], restrictMove: [{\n type: Input\n }], useTransition: [{\n type: Input\n }], disabled: [{\n type: Input\n }], dir: [{\n type: Input\n }], gutterDblClickDuration: [{\n type: Input\n }], gutterClickDeltaPx: [{\n type: Input\n }], gutterAriaLabel: [{\n type: Input\n }], transitionEnd: [{\n type: Output\n }], dragStart: [{\n type: Output\n }], dragEnd: [{\n type: Output\n }], gutterClick: [{\n type: Output\n }], gutterDblClick: [{\n type: Output\n }], gutterEls: [{\n type: ViewChildren,\n args: ['gutterEls']\n }] } });\n\nclass SplitAreaDirective {\n set order(v) {\n this._order = getInputPositiveNumber(v, null);\n this.split.updateArea(this, true, false);\n }\n get order() {\n return this._order;\n }\n set size(v) {\n this._size = getInputPositiveNumber(v, null);\n this.split.updateArea(this, false, true);\n }\n get size() {\n return this._size;\n }\n set minSize(v) {\n this._minSize = getInputPositiveNumber(v, null);\n this.split.updateArea(this, false, true);\n }\n get minSize() {\n return this._minSize;\n }\n set maxSize(v) {\n this._maxSize = getInputPositiveNumber(v, null);\n this.split.updateArea(this, false, true);\n }\n get maxSize() {\n return this._maxSize;\n }\n set lockSize(v) {\n this._lockSize = getInputBoolean(v);\n this.split.updateArea(this, false, true);\n }\n get lockSize() {\n return this._lockSize;\n }\n set visible(v) {\n this._visible = getInputBoolean(v);\n if (this._visible) {\n this.split.showArea(this);\n this.renderer.removeClass(this.elRef.nativeElement, 'as-hidden');\n }\n else {\n this.split.hideArea(this);\n this.renderer.addClass(this.elRef.nativeElement, 'as-hidden');\n }\n }\n get visible() {\n return this._visible;\n }\n constructor(ngZone, elRef, renderer, split) {\n this.ngZone = ngZone;\n this.elRef = elRef;\n this.renderer = renderer;\n this.split = split;\n this._order = null;\n this._size = null;\n this._minSize = null;\n this._maxSize = null;\n this._lockSize = false;\n this._visible = true;\n this.lockListeners = [];\n this.renderer.addClass(this.elRef.nativeElement, 'as-split-area');\n }\n ngOnInit() {\n this.split.addArea(this);\n this.ngZone.runOutsideAngular(() => {\n this.transitionListener = this.renderer.listen(this.elRef.nativeElement, 'transitionend', (event) => {\n // Limit only flex-basis transition to trigger the event\n if (event.propertyName === 'flex-basis') {\n this.split.notify('transitionEnd', -1);\n }\n });\n });\n }\n setStyleOrder(value) {\n this.renderer.setStyle(this.elRef.nativeElement, 'order', value);\n }\n setStyleFlex(grow, shrink, basis, isMin, isMax) {\n // Need 3 separated properties to work on IE11 (https://github.com/angular/flex-layout/issues/323)\n this.renderer.setStyle(this.elRef.nativeElement, 'flex-grow', grow);\n this.renderer.setStyle(this.elRef.nativeElement, 'flex-shrink', shrink);\n this.renderer.setStyle(this.elRef.nativeElement, 'flex-basis', basis);\n if (isMin === true) {\n this.renderer.addClass(this.elRef.nativeElement, 'as-min');\n }\n else {\n this.renderer.removeClass(this.elRef.nativeElement, 'as-min');\n }\n if (isMax === true) {\n this.renderer.addClass(this.elRef.nativeElement, 'as-max');\n }\n else {\n this.renderer.removeClass(this.elRef.nativeElement, 'as-max');\n }\n }\n lockEvents() {\n this.ngZone.runOutsideAngular(() => {\n this.lockListeners.push(this.renderer.listen(this.elRef.nativeElement, 'selectstart', () => false));\n this.lockListeners.push(this.renderer.listen(this.elRef.nativeElement, 'dragstart', () => false));\n });\n }\n unlockEvents() {\n while (this.lockListeners.length > 0) {\n const fct = this.lockListeners.pop();\n if (fct) {\n fct();\n }\n }\n }\n ngOnDestroy() {\n this.unlockEvents();\n if (this.transitionListener) {\n this.transitionListener();\n }\n this.split.removeArea(this);\n }\n collapse(newSize = 0, gutter = 'right') {\n this.split.collapseArea(this, newSize, gutter);\n }\n expand() {\n this.split.expandArea(this);\n }\n}\n/** @nocollapse */ SplitAreaDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0\", ngImport: i0, type: SplitAreaDirective, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: SplitComponent }], target: i0.ɵɵFactoryTarget.Directive });\n/** @nocollapse */ SplitAreaDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.0\", type: SplitAreaDirective, selector: \"as-split-area, [as-split-area]\", inputs: { order: \"order\", size: \"size\", minSize: \"minSize\", maxSize: \"maxSize\", lockSize: \"lockSize\", visible: \"visible\" }, exportAs: [\"asSplitArea\"], ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0\", ngImport: i0, type: SplitAreaDirective, decorators: [{\n type: Directive,\n args: [{\n selector: 'as-split-area, [as-split-area]',\n exportAs: 'asSplitArea',\n }]\n }], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: SplitComponent }]; }, propDecorators: { order: [{\n type: Input\n }], size: [{\n type: Input\n }], minSize: [{\n type: Input\n }], maxSize: [{\n type: Input\n }], lockSize: [{\n type: Input\n }], visible: [{\n type: Input\n }] } });\n\nclass AngularSplitModule {\n static forRoot() {\n console.warn(`AngularSplitModule.forRoot() is deprecated and will be removed in v6`);\n return {\n ngModule: AngularSplitModule,\n providers: [],\n };\n }\n static forChild() {\n console.warn(`AngularSplitModule.forChild() is deprecated and will be removed in v6`);\n return {\n ngModule: AngularSplitModule,\n providers: [],\n };\n }\n}\n/** @nocollapse */ AngularSplitModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0\", ngImport: i0, type: AngularSplitModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\n/** @nocollapse */ AngularSplitModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"15.2.0\", ngImport: i0, type: AngularSplitModule, declarations: [SplitComponent, SplitAreaDirective], imports: [CommonModule], exports: [SplitComponent, SplitAreaDirective] });\n/** @nocollapse */ AngularSplitModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"15.2.0\", ngImport: i0, type: AngularSplitModule, imports: [CommonModule] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0\", ngImport: i0, type: AngularSplitModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [CommonModule],\n declarations: [SplitComponent, SplitAreaDirective],\n exports: [SplitComponent, SplitAreaDirective],\n }]\n }] });\n\n/*\n * Public API Surface of angular-split\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { ANGULAR_SPLIT_DEFAULT_OPTIONS, AngularSplitModule, SplitAreaDirective, SplitComponent };\n","/**\n * marked v4.3.0 - a markdown parser\n * Copyright (c) 2011-2023, Christopher Jeffrey. (MIT Licensed)\n * https://github.com/markedjs/marked\n */\n\n/**\n * DO NOT EDIT THIS FILE\n * The code in this file is generated from files in ./src/\n */\n\nfunction getDefaults() {\n return {\n async: false,\n baseUrl: null,\n breaks: false,\n extensions: null,\n gfm: true,\n headerIds: true,\n headerPrefix: '',\n highlight: null,\n hooks: null,\n langPrefix: 'language-',\n mangle: true,\n pedantic: false,\n renderer: null,\n sanitize: false,\n sanitizer: null,\n silent: false,\n smartypants: false,\n tokenizer: null,\n walkTokens: null,\n xhtml: false\n };\n}\n\nlet defaults = getDefaults();\n\nfunction changeDefaults(newDefaults) {\n defaults = newDefaults;\n}\n\n/**\n * Helpers\n */\nconst escapeTest = /[&<>\"']/;\nconst escapeReplace = new RegExp(escapeTest.source, 'g');\nconst escapeTestNoEncode = /[<>\"']|&(?!(#\\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\\w+);)/;\nconst escapeReplaceNoEncode = new RegExp(escapeTestNoEncode.source, 'g');\nconst escapeReplacements = {\n '&': '&',\n '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": '''\n};\nconst getEscapeReplacement = (ch) => escapeReplacements[ch];\nfunction escape(html, encode) {\n if (encode) {\n if (escapeTest.test(html)) {\n return html.replace(escapeReplace, getEscapeReplacement);\n }\n } else {\n if (escapeTestNoEncode.test(html)) {\n return html.replace(escapeReplaceNoEncode, getEscapeReplacement);\n }\n }\n\n return html;\n}\n\nconst unescapeTest = /&(#(?:\\d+)|(?:#x[0-9A-Fa-f]+)|(?:\\w+));?/ig;\n\n/**\n * @param {string} html\n */\nfunction unescape(html) {\n // explicitly match decimal, hex, and named HTML entities\n return html.replace(unescapeTest, (_, n) => {\n n = n.toLowerCase();\n if (n === 'colon') return ':';\n if (n.charAt(0) === '#') {\n return n.charAt(1) === 'x'\n ? String.fromCharCode(parseInt(n.substring(2), 16))\n : String.fromCharCode(+n.substring(1));\n }\n return '';\n });\n}\n\nconst caret = /(^|[^\\[])\\^/g;\n\n/**\n * @param {string | RegExp} regex\n * @param {string} opt\n */\nfunction edit(regex, opt) {\n regex = typeof regex === 'string' ? regex : regex.source;\n opt = opt || '';\n const obj = {\n replace: (name, val) => {\n val = val.source || val;\n val = val.replace(caret, '$1');\n regex = regex.replace(name, val);\n return obj;\n },\n getRegex: () => {\n return new RegExp(regex, opt);\n }\n };\n return obj;\n}\n\nconst nonWordAndColonTest = /[^\\w:]/g;\nconst originIndependentUrl = /^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;\n\n/**\n * @param {boolean} sanitize\n * @param {string} base\n * @param {string} href\n */\nfunction cleanUrl(sanitize, base, href) {\n if (sanitize) {\n let prot;\n try {\n prot = decodeURIComponent(unescape(href))\n .replace(nonWordAndColonTest, '')\n .toLowerCase();\n } catch (e) {\n return null;\n }\n if (prot.indexOf('javascript:') === 0 || prot.indexOf('vbscript:') === 0 || prot.indexOf('data:') === 0) {\n return null;\n }\n }\n if (base && !originIndependentUrl.test(href)) {\n href = resolveUrl(base, href);\n }\n try {\n href = encodeURI(href).replace(/%25/g, '%');\n } catch (e) {\n return null;\n }\n return href;\n}\n\nconst baseUrls = {};\nconst justDomain = /^[^:]+:\\/*[^/]*$/;\nconst protocol = /^([^:]+:)[\\s\\S]*$/;\nconst domain = /^([^:]+:\\/*[^/]*)[\\s\\S]*$/;\n\n/**\n * @param {string} base\n * @param {string} href\n */\nfunction resolveUrl(base, href) {\n if (!baseUrls[' ' + base]) {\n // we can ignore everything in base after the last slash of its path component,\n // but we might need to add _that_\n // https://tools.ietf.org/html/rfc3986#section-3\n if (justDomain.test(base)) {\n baseUrls[' ' + base] = base + '/';\n } else {\n baseUrls[' ' + base] = rtrim(base, '/', true);\n }\n }\n base = baseUrls[' ' + base];\n const relativeBase = base.indexOf(':') === -1;\n\n if (href.substring(0, 2) === '//') {\n if (relativeBase) {\n return href;\n }\n return base.replace(protocol, '$1') + href;\n } else if (href.charAt(0) === '/') {\n if (relativeBase) {\n return href;\n }\n return base.replace(domain, '$1') + href;\n } else {\n return base + href;\n }\n}\n\nconst noopTest = { exec: function noopTest() {} };\n\nfunction splitCells(tableRow, count) {\n // ensure that every cell-delimiting pipe has a space\n // before it to distinguish it from an escaped pipe\n const row = tableRow.replace(/\\|/g, (match, offset, str) => {\n let escaped = false,\n curr = offset;\n while (--curr >= 0 && str[curr] === '\\\\') escaped = !escaped;\n if (escaped) {\n // odd number of slashes means | is escaped\n // so we leave it alone\n return '|';\n } else {\n // add space before unescaped |\n return ' |';\n }\n }),\n cells = row.split(/ \\|/);\n let i = 0;\n\n // First/last cell in a row cannot be empty if it has no leading/trailing pipe\n if (!cells[0].trim()) { cells.shift(); }\n if (cells.length > 0 && !cells[cells.length - 1].trim()) { cells.pop(); }\n\n if (cells.length > count) {\n cells.splice(count);\n } else {\n while (cells.length < count) cells.push('');\n }\n\n for (; i < cells.length; i++) {\n // leading or trailing whitespace is ignored per the gfm spec\n cells[i] = cells[i].trim().replace(/\\\\\\|/g, '|');\n }\n return cells;\n}\n\n/**\n * Remove trailing 'c's. Equivalent to str.replace(/c*$/, '').\n * /c*$/ is vulnerable to REDOS.\n *\n * @param {string} str\n * @param {string} c\n * @param {boolean} invert Remove suffix of non-c chars instead. Default falsey.\n */\nfunction rtrim(str, c, invert) {\n const l = str.length;\n if (l === 0) {\n return '';\n }\n\n // Length of suffix matching the invert condition.\n let suffLen = 0;\n\n // Step left until we fail to match the invert condition.\n while (suffLen < l) {\n const currChar = str.charAt(l - suffLen - 1);\n if (currChar === c && !invert) {\n suffLen++;\n } else if (currChar !== c && invert) {\n suffLen++;\n } else {\n break;\n }\n }\n\n return str.slice(0, l - suffLen);\n}\n\nfunction findClosingBracket(str, b) {\n if (str.indexOf(b[1]) === -1) {\n return -1;\n }\n const l = str.length;\n let level = 0,\n i = 0;\n for (; i < l; i++) {\n if (str[i] === '\\\\') {\n i++;\n } else if (str[i] === b[0]) {\n level++;\n } else if (str[i] === b[1]) {\n level--;\n if (level < 0) {\n return i;\n }\n }\n }\n return -1;\n}\n\nfunction checkSanitizeDeprecation(opt) {\n if (opt && opt.sanitize && !opt.silent) {\n console.warn('marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options');\n }\n}\n\n// copied from https://stackoverflow.com/a/5450113/806777\n/**\n * @param {string} pattern\n * @param {number} count\n */\nfunction repeatString(pattern, count) {\n if (count < 1) {\n return '';\n }\n let result = '';\n while (count > 1) {\n if (count & 1) {\n result += pattern;\n }\n count >>= 1;\n pattern += pattern;\n }\n return result + pattern;\n}\n\nfunction outputLink(cap, link, raw, lexer) {\n const href = link.href;\n const title = link.title ? escape(link.title) : null;\n const text = cap[1].replace(/\\\\([\\[\\]])/g, '$1');\n\n if (cap[0].charAt(0) !== '!') {\n lexer.state.inLink = true;\n const token = {\n type: 'link',\n raw,\n href,\n title,\n text,\n tokens: lexer.inlineTokens(text)\n };\n lexer.state.inLink = false;\n return token;\n }\n return {\n type: 'image',\n raw,\n href,\n title,\n text: escape(text)\n };\n}\n\nfunction indentCodeCompensation(raw, text) {\n const matchIndentToCode = raw.match(/^(\\s+)(?:```)/);\n\n if (matchIndentToCode === null) {\n return text;\n }\n\n const indentToCode = matchIndentToCode[1];\n\n return text\n .split('\\n')\n .map(node => {\n const matchIndentInNode = node.match(/^\\s+/);\n if (matchIndentInNode === null) {\n return node;\n }\n\n const [indentInNode] = matchIndentInNode;\n\n if (indentInNode.length >= indentToCode.length) {\n return node.slice(indentToCode.length);\n }\n\n return node;\n })\n .join('\\n');\n}\n\n/**\n * Tokenizer\n */\nclass Tokenizer {\n constructor(options) {\n this.options = options || defaults;\n }\n\n space(src) {\n const cap = this.rules.block.newline.exec(src);\n if (cap && cap[0].length > 0) {\n return {\n type: 'space',\n raw: cap[0]\n };\n }\n }\n\n code(src) {\n const cap = this.rules.block.code.exec(src);\n if (cap) {\n const text = cap[0].replace(/^ {1,4}/gm, '');\n return {\n type: 'code',\n raw: cap[0],\n codeBlockStyle: 'indented',\n text: !this.options.pedantic\n ? rtrim(text, '\\n')\n : text\n };\n }\n }\n\n fences(src) {\n const cap = this.rules.block.fences.exec(src);\n if (cap) {\n const raw = cap[0];\n const text = indentCodeCompensation(raw, cap[3] || '');\n\n return {\n type: 'code',\n raw,\n lang: cap[2] ? cap[2].trim().replace(this.rules.inline._escapes, '$1') : cap[2],\n text\n };\n }\n }\n\n heading(src) {\n const cap = this.rules.block.heading.exec(src);\n if (cap) {\n let text = cap[2].trim();\n\n // remove trailing #s\n if (/#$/.test(text)) {\n const trimmed = rtrim(text, '#');\n if (this.options.pedantic) {\n text = trimmed.trim();\n } else if (!trimmed || / $/.test(trimmed)) {\n // CommonMark requires space before trailing #s\n text = trimmed.trim();\n }\n }\n\n return {\n type: 'heading',\n raw: cap[0],\n depth: cap[1].length,\n text,\n tokens: this.lexer.inline(text)\n };\n }\n }\n\n hr(src) {\n const cap = this.rules.block.hr.exec(src);\n if (cap) {\n return {\n type: 'hr',\n raw: cap[0]\n };\n }\n }\n\n blockquote(src) {\n const cap = this.rules.block.blockquote.exec(src);\n if (cap) {\n const text = cap[0].replace(/^ *>[ \\t]?/gm, '');\n const top = this.lexer.state.top;\n this.lexer.state.top = true;\n const tokens = this.lexer.blockTokens(text);\n this.lexer.state.top = top;\n return {\n type: 'blockquote',\n raw: cap[0],\n tokens,\n text\n };\n }\n }\n\n list(src) {\n let cap = this.rules.block.list.exec(src);\n if (cap) {\n let raw, istask, ischecked, indent, i, blankLine, endsWithBlankLine,\n line, nextLine, rawLine, itemContents, endEarly;\n\n let bull = cap[1].trim();\n const isordered = bull.length > 1;\n\n const list = {\n type: 'list',\n raw: '',\n ordered: isordered,\n start: isordered ? +bull.slice(0, -1) : '',\n loose: false,\n items: []\n };\n\n bull = isordered ? `\\\\d{1,9}\\\\${bull.slice(-1)}` : `\\\\${bull}`;\n\n if (this.options.pedantic) {\n bull = isordered ? bull : '[*+-]';\n }\n\n // Get next list item\n const itemRegex = new RegExp(`^( {0,3}${bull})((?:[\\t ][^\\\\n]*)?(?:\\\\n|$))`);\n\n // Check if current bullet point can start a new List Item\n while (src) {\n endEarly = false;\n if (!(cap = itemRegex.exec(src))) {\n break;\n }\n\n if (this.rules.block.hr.test(src)) { // End list if bullet was actually HR (possibly move into itemRegex?)\n break;\n }\n\n raw = cap[0];\n src = src.substring(raw.length);\n\n line = cap[2].split('\\n', 1)[0].replace(/^\\t+/, (t) => ' '.repeat(3 * t.length));\n nextLine = src.split('\\n', 1)[0];\n\n if (this.options.pedantic) {\n indent = 2;\n itemContents = line.trimLeft();\n } else {\n indent = cap[2].search(/[^ ]/); // Find first non-space char\n indent = indent > 4 ? 1 : indent; // Treat indented code blocks (> 4 spaces) as having only 1 indent\n itemContents = line.slice(indent);\n indent += cap[1].length;\n }\n\n blankLine = false;\n\n if (!line && /^ *$/.test(nextLine)) { // Items begin with at most one blank line\n raw += nextLine + '\\n';\n src = src.substring(nextLine.length + 1);\n endEarly = true;\n }\n\n if (!endEarly) {\n const nextBulletRegex = new RegExp(`^ {0,${Math.min(3, indent - 1)}}(?:[*+-]|\\\\d{1,9}[.)])((?:[ \\t][^\\\\n]*)?(?:\\\\n|$))`);\n const hrRegex = new RegExp(`^ {0,${Math.min(3, indent - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\\\* *){3,})(?:\\\\n+|$)`);\n const fencesBeginRegex = new RegExp(`^ {0,${Math.min(3, indent - 1)}}(?:\\`\\`\\`|~~~)`);\n const headingBeginRegex = new RegExp(`^ {0,${Math.min(3, indent - 1)}}#`);\n\n // Check if following lines should be included in List Item\n while (src) {\n rawLine = src.split('\\n', 1)[0];\n nextLine = rawLine;\n\n // Re-align to follow commonmark nesting rules\n if (this.options.pedantic) {\n nextLine = nextLine.replace(/^ {1,4}(?=( {4})*[^ ])/g, ' ');\n }\n\n // End list item if found code fences\n if (fencesBeginRegex.test(nextLine)) {\n break;\n }\n\n // End list item if found start of new heading\n if (headingBeginRegex.test(nextLine)) {\n break;\n }\n\n // End list item if found start of new bullet\n if (nextBulletRegex.test(nextLine)) {\n break;\n }\n\n // Horizontal rule found\n if (hrRegex.test(src)) {\n break;\n }\n\n if (nextLine.search(/[^ ]/) >= indent || !nextLine.trim()) { // Dedent if possible\n itemContents += '\\n' + nextLine.slice(indent);\n } else {\n // not enough indentation\n if (blankLine) {\n break;\n }\n\n // paragraph continuation unless last line was a different block level element\n if (line.search(/[^ ]/) >= 4) { // indented code block\n break;\n }\n if (fencesBeginRegex.test(line)) {\n break;\n }\n if (headingBeginRegex.test(line)) {\n break;\n }\n if (hrRegex.test(line)) {\n break;\n }\n\n itemContents += '\\n' + nextLine;\n }\n\n if (!blankLine && !nextLine.trim()) { // Check if current line is blank\n blankLine = true;\n }\n\n raw += rawLine + '\\n';\n src = src.substring(rawLine.length + 1);\n line = nextLine.slice(indent);\n }\n }\n\n if (!list.loose) {\n // If the previous item ended with a blank line, the list is loose\n if (endsWithBlankLine) {\n list.loose = true;\n } else if (/\\n *\\n *$/.test(raw)) {\n endsWithBlankLine = true;\n }\n }\n\n // Check for task list items\n if (this.options.gfm) {\n istask = /^\\[[ xX]\\] /.exec(itemContents);\n if (istask) {\n ischecked = istask[0] !== '[ ] ';\n itemContents = itemContents.replace(/^\\[[ xX]\\] +/, '');\n }\n }\n\n list.items.push({\n type: 'list_item',\n raw,\n task: !!istask,\n checked: ischecked,\n loose: false,\n text: itemContents\n });\n\n list.raw += raw;\n }\n\n // Do not consume newlines at end of final item. Alternatively, make itemRegex *start* with any newlines to simplify/speed up endsWithBlankLine logic\n list.items[list.items.length - 1].raw = raw.trimRight();\n list.items[list.items.length - 1].text = itemContents.trimRight();\n list.raw = list.raw.trimRight();\n\n const l = list.items.length;\n\n // Item child tokens handled here at end because we needed to have the final item to trim it first\n for (i = 0; i < l; i++) {\n this.lexer.state.top = false;\n list.items[i].tokens = this.lexer.blockTokens(list.items[i].text, []);\n\n if (!list.loose) {\n // Check if list should be loose\n const spacers = list.items[i].tokens.filter(t => t.type === 'space');\n const hasMultipleLineBreaks = spacers.length > 0 && spacers.some(t => /\\n.*\\n/.test(t.raw));\n\n list.loose = hasMultipleLineBreaks;\n }\n }\n\n // Set all items to loose if list is loose\n if (list.loose) {\n for (i = 0; i < l; i++) {\n list.items[i].loose = true;\n }\n }\n\n return list;\n }\n }\n\n html(src) {\n const cap = this.rules.block.html.exec(src);\n if (cap) {\n const token = {\n type: 'html',\n raw: cap[0],\n pre: !this.options.sanitizer\n && (cap[1] === 'pre' || cap[1] === 'script' || cap[1] === 'style'),\n text: cap[0]\n };\n if (this.options.sanitize) {\n const text = this.options.sanitizer ? this.options.sanitizer(cap[0]) : escape(cap[0]);\n token.type = 'paragraph';\n token.text = text;\n token.tokens = this.lexer.inline(text);\n }\n return token;\n }\n }\n\n def(src) {\n const cap = this.rules.block.def.exec(src);\n if (cap) {\n const tag = cap[1].toLowerCase().replace(/\\s+/g, ' ');\n const href = cap[2] ? cap[2].replace(/^<(.*)>$/, '$1').replace(this.rules.inline._escapes, '$1') : '';\n const title = cap[3] ? cap[3].substring(1, cap[3].length - 1).replace(this.rules.inline._escapes, '$1') : cap[3];\n return {\n type: 'def',\n tag,\n raw: cap[0],\n href,\n title\n };\n }\n }\n\n table(src) {\n const cap = this.rules.block.table.exec(src);\n if (cap) {\n const item = {\n type: 'table',\n header: splitCells(cap[1]).map(c => { return { text: c }; }),\n align: cap[2].replace(/^ *|\\| *$/g, '').split(/ *\\| */),\n rows: cap[3] && cap[3].trim() ? cap[3].replace(/\\n[ \\t]*$/, '').split('\\n') : []\n };\n\n if (item.header.length === item.align.length) {\n item.raw = cap[0];\n\n let l = item.align.length;\n let i, j, k, row;\n for (i = 0; i < l; i++) {\n if (/^ *-+: *$/.test(item.align[i])) {\n item.align[i] = 'right';\n } else if (/^ *:-+: *$/.test(item.align[i])) {\n item.align[i] = 'center';\n } else if (/^ *:-+ *$/.test(item.align[i])) {\n item.align[i] = 'left';\n } else {\n item.align[i] = null;\n }\n }\n\n l = item.rows.length;\n for (i = 0; i < l; i++) {\n item.rows[i] = splitCells(item.rows[i], item.header.length).map(c => { return { text: c }; });\n }\n\n // parse child tokens inside headers and cells\n\n // header child tokens\n l = item.header.length;\n for (j = 0; j < l; j++) {\n item.header[j].tokens = this.lexer.inline(item.header[j].text);\n }\n\n // cell child tokens\n l = item.rows.length;\n for (j = 0; j < l; j++) {\n row = item.rows[j];\n for (k = 0; k < row.length; k++) {\n row[k].tokens = this.lexer.inline(row[k].text);\n }\n }\n\n return item;\n }\n }\n }\n\n lheading(src) {\n const cap = this.rules.block.lheading.exec(src);\n if (cap) {\n return {\n type: 'heading',\n raw: cap[0],\n depth: cap[2].charAt(0) === '=' ? 1 : 2,\n text: cap[1],\n tokens: this.lexer.inline(cap[1])\n };\n }\n }\n\n paragraph(src) {\n const cap = this.rules.block.paragraph.exec(src);\n if (cap) {\n const text = cap[1].charAt(cap[1].length - 1) === '\\n'\n ? cap[1].slice(0, -1)\n : cap[1];\n return {\n type: 'paragraph',\n raw: cap[0],\n text,\n tokens: this.lexer.inline(text)\n };\n }\n }\n\n text(src) {\n const cap = this.rules.block.text.exec(src);\n if (cap) {\n return {\n type: 'text',\n raw: cap[0],\n text: cap[0],\n tokens: this.lexer.inline(cap[0])\n };\n }\n }\n\n escape(src) {\n const cap = this.rules.inline.escape.exec(src);\n if (cap) {\n return {\n type: 'escape',\n raw: cap[0],\n text: escape(cap[1])\n };\n }\n }\n\n tag(src) {\n const cap = this.rules.inline.tag.exec(src);\n if (cap) {\n if (!this.lexer.state.inLink && /^<a /i.test(cap[0])) {\n this.lexer.state.inLink = true;\n } else if (this.lexer.state.inLink && /^<\\/a>/i.test(cap[0])) {\n this.lexer.state.inLink = false;\n }\n if (!this.lexer.state.inRawBlock && /^<(pre|code|kbd|script)(\\s|>)/i.test(cap[0])) {\n this.lexer.state.inRawBlock = true;\n } else if (this.lexer.state.inRawBlock && /^<\\/(pre|code|kbd|script)(\\s|>)/i.test(cap[0])) {\n this.lexer.state.inRawBlock = false;\n }\n\n return {\n type: this.options.sanitize\n ? 'text'\n : 'html',\n raw: cap[0],\n inLink: this.lexer.state.inLink,\n inRawBlock: this.lexer.state.inRawBlock,\n text: this.options.sanitize\n ? (this.options.sanitizer\n ? this.options.sanitizer(cap[0])\n : escape(cap[0]))\n : cap[0]\n };\n }\n }\n\n link(src) {\n const cap = this.rules.inline.link.exec(src);\n if (cap) {\n const trimmedUrl = cap[2].trim();\n if (!this.options.pedantic && /^</.test(trimmedUrl)) {\n // commonmark requires matching angle brackets\n if (!(/>$/.test(trimmedUrl))) {\n return;\n }\n\n // ending angle bracket cannot be escaped\n const rtrimSlash = rtrim(trimmedUrl.slice(0, -1), '\\\\');\n if ((trimmedUrl.length - rtrimSlash.length) % 2 === 0) {\n return;\n }\n } else {\n // find closing parenthesis\n const lastParenIndex = findClosingBracket(cap[2], '()');\n if (lastParenIndex > -1) {\n const start = cap[0].indexOf('!') === 0 ? 5 : 4;\n const linkLen = start + cap[1].length + lastParenIndex;\n cap[2] = cap[2].substring(0, lastParenIndex);\n cap[0] = cap[0].substring(0, linkLen).trim();\n cap[3] = '';\n }\n }\n let href = cap[2];\n let title = '';\n if (this.options.pedantic) {\n // split pedantic href and title\n const link = /^([^'\"]*[^\\s])\\s+(['\"])(.*)\\2/.exec(href);\n\n if (link) {\n href = link[1];\n title = link[3];\n }\n } else {\n title = cap[3] ? cap[3].slice(1, -1) : '';\n }\n\n href = href.trim();\n if (/^</.test(href)) {\n if (this.options.pedantic && !(/>$/.test(trimmedUrl))) {\n // pedantic allows starting angle bracket without ending angle bracket\n href = href.slice(1);\n } else {\n href = href.slice(1, -1);\n }\n }\n return outputLink(cap, {\n href: href ? href.replace(this.rules.inline._escapes, '$1') : href,\n title: title ? title.replace(this.rules.inline._escapes, '$1') : title\n }, cap[0], this.lexer);\n }\n }\n\n reflink(src, links) {\n let cap;\n if ((cap = this.rules.inline.reflink.exec(src))\n || (cap = this.rules.inline.nolink.exec(src))) {\n let link = (cap[2] || cap[1]).replace(/\\s+/g, ' ');\n link = links[link.toLowerCase()];\n if (!link) {\n const text = cap[0].charAt(0);\n return {\n type: 'text',\n raw: text,\n text\n };\n }\n return outputLink(cap, link, cap[0], this.lexer);\n }\n }\n\n emStrong(src, maskedSrc, prevChar = '') {\n let match = this.rules.inline.emStrong.lDelim.exec(src);\n if (!match) return;\n\n // _ can't be between two alphanumerics. \\p{L}\\p{N} includes non-english alphabet/numbers as well\n if (match[3] && prevChar.match(/[\\p{L}\\p{N}]/u)) return;\n\n const nextChar = match[1] || match[2] || '';\n\n if (!nextChar || (nextChar && (prevChar === '' || this.rules.inline.punctuation.exec(prevChar)))) {\n const lLength = match[0].length - 1;\n let rDelim, rLength, delimTotal = lLength, midDelimTotal = 0;\n\n const endReg = match[0][0] === '*' ? this.rules.inline.emStrong.rDelimAst : this.rules.inline.emStrong.rDelimUnd;\n endReg.lastIndex = 0;\n\n // Clip maskedSrc to same section of string as src (move to lexer?)\n maskedSrc = maskedSrc.slice(-1 * src.length + lLength);\n\n while ((match = endReg.exec(maskedSrc)) != null) {\n rDelim = match[1] || match[2] || match[3] || match[4] || match[5] || match[6];\n\n if (!rDelim) continue; // skip single * in __abc*abc__\n\n rLength = rDelim.length;\n\n if (match[3] || match[4]) { // found another Left Delim\n delimTotal += rLength;\n continue;\n } else if (match[5] || match[6]) { // either Left or Right Delim\n if (lLength % 3 && !((lLength + rLength) % 3)) {\n midDelimTotal += rLength;\n continue; // CommonMark Emphasis Rules 9-10\n }\n }\n\n delimTotal -= rLength;\n\n if (delimTotal > 0) continue; // Haven't found enough closing delimiters\n\n // Remove extra characters. *a*** -> *a*\n rLength = Math.min(rLength, rLength + delimTotal + midDelimTotal);\n\n const raw = src.slice(0, lLength + match.index + (match[0].length - rDelim.length) + rLength);\n\n // Create `em` if smallest delimiter has odd char count. *a***\n if (Math.min(lLength, rLength) % 2) {\n const text = raw.slice(1, -1);\n return {\n type: 'em',\n raw,\n text,\n tokens: this.lexer.inlineTokens(text)\n };\n }\n\n // Create 'strong' if smallest delimiter has even char count. **a***\n const text = raw.slice(2, -2);\n return {\n type: 'strong',\n raw,\n text,\n tokens: this.lexer.inlineTokens(text)\n };\n }\n }\n }\n\n codespan(src) {\n const cap = this.rules.inline.code.exec(src);\n if (cap) {\n let text = cap[2].replace(/\\n/g, ' ');\n const hasNonSpaceChars = /[^ ]/.test(text);\n const hasSpaceCharsOnBothEnds = /^ /.test(text) && / $/.test(text);\n if (hasNonSpaceChars && hasSpaceCharsOnBothEnds) {\n text = text.substring(1, text.length - 1);\n }\n text = escape(text, true);\n return {\n type: 'codespan',\n raw: cap[0],\n text\n };\n }\n }\n\n br(src) {\n const cap = this.rules.inline.br.exec(src);\n if (cap) {\n return {\n type: 'br',\n raw: cap[0]\n };\n }\n }\n\n del(src) {\n const cap = this.rules.inline.del.exec(src);\n if (cap) {\n return {\n type: 'del',\n raw: cap[0],\n text: cap[2],\n tokens: this.lexer.inlineTokens(cap[2])\n };\n }\n }\n\n autolink(src, mangle) {\n const cap = this.rules.inline.autolink.exec(src);\n if (cap) {\n let text, href;\n if (cap[2] === '@') {\n text = escape(this.options.mangle ? mangle(cap[1]) : cap[1]);\n href = 'mailto:' + text;\n } else {\n text = escape(cap[1]);\n href = text;\n }\n\n return {\n type: 'link',\n raw: cap[0],\n text,\n href,\n tokens: [\n {\n type: 'text',\n raw: text,\n text\n }\n ]\n };\n }\n }\n\n url(src, mangle) {\n let cap;\n if (cap = this.rules.inline.url.exec(src)) {\n let text, href;\n if (cap[2] === '@') {\n text = escape(this.options.mangle ? mangle(cap[0]) : cap[0]);\n href = 'mailto:' + text;\n } else {\n // do extended autolink path validation\n let prevCapZero;\n do {\n prevCapZero = cap[0];\n cap[0] = this.rules.inline._backpedal.exec(cap[0])[0];\n } while (prevCapZero !== cap[0]);\n text = escape(cap[0]);\n if (cap[1] === 'www.') {\n href = 'http://' + cap[0];\n } else {\n href = cap[0];\n }\n }\n return {\n type: 'link',\n raw: cap[0],\n text,\n href,\n tokens: [\n {\n type: 'text',\n raw: text,\n text\n }\n ]\n };\n }\n }\n\n inlineText(src, smartypants) {\n const cap = this.rules.inline.text.exec(src);\n if (cap) {\n let text;\n if (this.lexer.state.inRawBlock) {\n text = this.options.sanitize ? (this.options.sanitizer ? this.options.sanitizer(cap[0]) : escape(cap[0])) : cap[0];\n } else {\n text = escape(this.options.smartypants ? smartypants(cap[0]) : cap[0]);\n }\n return {\n type: 'text',\n raw: cap[0],\n text\n };\n }\n }\n}\n\n/**\n * Block-Level Grammar\n */\nconst block = {\n newline: /^(?: *(?:\\n|$))+/,\n code: /^( {4}[^\\n]+(?:\\n(?: *(?:\\n|$))*)?)+/,\n fences: /^ {0,3}(`{3,}(?=[^`\\n]*(?:\\n|$))|~{3,})([^\\n]*)(?:\\n|$)(?:|([\\s\\S]*?)(?:\\n|$))(?: {0,3}\\1[~`]* *(?=\\n|$)|$)/,\n hr: /^ {0,3}((?:-[\\t ]*){3,}|(?:_[ \\t]*){3,}|(?:\\*[ \\t]*){3,})(?:\\n+|$)/,\n heading: /^ {0,3}(#{1,6})(?=\\s|$)(.*)(?:\\n+|$)/,\n blockquote: /^( {0,3}> ?(paragraph|[^\\n]*)(?:\\n|$))+/,\n list: /^( {0,3}bull)([ \\t][^\\n]+?)?(?:\\n|$)/,\n html: '^ {0,3}(?:' // optional indentation\n + '<(script|pre|style|textarea)[\\\\s>][\\\\s\\\\S]*?(?:</\\\\1>[^\\\\n]*\\\\n+|$)' // (1)\n + '|comment[^\\\\n]*(\\\\n+|$)' // (2)\n + '|<\\\\?[\\\\s\\\\S]*?(?:\\\\?>\\\\n*|$)' // (3)\n + '|<![A-Z][\\\\s\\\\S]*?(?:>\\\\n*|$)' // (4)\n + '|<!\\\\[CDATA\\\\[[\\\\s\\\\S]*?(?:\\\\]\\\\]>\\\\n*|$)' // (5)\n + '|</?(tag)(?: +|\\\\n|/?>)[\\\\s\\\\S]*?(?:(?:\\\\n *)+\\\\n|$)' // (6)\n + '|<(?!script|pre|style|textarea)([a-z][\\\\w-]*)(?:attribute)*? */?>(?=[ \\\\t]*(?:\\\\n|$))[\\\\s\\\\S]*?(?:(?:\\\\n *)+\\\\n|$)' // (7) open tag\n + '|</(?!script|pre|style|textarea)[a-z][\\\\w-]*\\\\s*>(?=[ \\\\t]*(?:\\\\n|$))[\\\\s\\\\S]*?(?:(?:\\\\n *)+\\\\n|$)' // (7) closing tag\n + ')',\n def: /^ {0,3}\\[(label)\\]: *(?:\\n *)?([^<\\s][^\\s]*|<.*?>)(?:(?: +(?:\\n *)?| *\\n *)(title))? *(?:\\n+|$)/,\n table: noopTest,\n lheading: /^((?:.|\\n(?!\\n))+?)\\n {0,3}(=+|-+) *(?:\\n+|$)/,\n // regex template, placeholders will be replaced according to different paragraph\n // interruption rules of commonmark and the original markdown spec:\n _paragraph: /^([^\\n]+(?:\\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\\n)[^\\n]+)*)/,\n text: /^[^\\n]+/\n};\n\nblock._label = /(?!\\s*\\])(?:\\\\.|[^\\[\\]\\\\])+/;\nblock._title = /(?:\"(?:\\\\\"?|[^\"\\\\])*\"|'[^'\\n]*(?:\\n[^'\\n]+)*\\n?'|\\([^()]*\\))/;\nblock.def = edit(block.def)\n .replace('label', block._label)\n .replace('title', block._title)\n .getRegex();\n\nblock.bullet = /(?:[*+-]|\\d{1,9}[.)])/;\nblock.listItemStart = edit(/^( *)(bull) */)\n .replace('bull', block.bullet)\n .getRegex();\n\nblock.list = edit(block.list)\n .replace(/bull/g, block.bullet)\n .replace('hr', '\\\\n+(?=\\\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\\\* *){3,})(?:\\\\n+|$))')\n .replace('def', '\\\\n+(?=' + block.def.source + ')')\n .getRegex();\n\nblock._tag = 'address|article|aside|base|basefont|blockquote|body|caption'\n + '|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption'\n + '|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe'\n + '|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option'\n + '|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr'\n + '|track|ul';\nblock._comment = /<!--(?!-?>)[\\s\\S]*?(?:-->|$)/;\nblock.html = edit(block.html, 'i')\n .replace('comment', block._comment)\n .replace('tag', block._tag)\n .replace('attribute', / +[a-zA-Z:_][\\w.:-]*(?: *= *\"[^\"\\n]*\"| *= *'[^'\\n]*'| *= *[^\\s\"'=<>`]+)?/)\n .getRegex();\n\nblock.paragraph = edit(block._paragraph)\n .replace('hr', block.hr)\n .replace('heading', ' {0,3}#{1,6} ')\n .replace('|lheading', '') // setex headings don't interrupt commonmark paragraphs\n .replace('|table', '')\n .replace('blockquote', ' {0,3}>')\n .replace('fences', ' {0,3}(?:`{3,}(?=[^`\\\\n]*\\\\n)|~{3,})[^\\\\n]*\\\\n')\n .replace('list', ' {0,3}(?:[*+-]|1[.)]) ') // only lists starting from 1 can interrupt\n .replace('html', '</?(?:tag)(?: +|\\\\n|/?>)|<(?:script|pre|style|textarea|!--)')\n .replace('tag', block._tag) // pars can be interrupted by type (6) html blocks\n .getRegex();\n\nblock.blockquote = edit(block.blockquote)\n .replace('paragraph', block.paragraph)\n .getRegex();\n\n/**\n * Normal Block Grammar\n */\n\nblock.normal = { ...block };\n\n/**\n * GFM Block Grammar\n */\n\nblock.gfm = {\n ...block.normal,\n table: '^ *([^\\\\n ].*\\\\|.*)\\\\n' // Header\n + ' {0,3}(?:\\\\| *)?(:?-+:? *(?:\\\\| *:?-+:? *)*)(?:\\\\| *)?' // Align\n + '(?:\\\\n((?:(?! *\\\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\\\n|$))*)\\\\n*|$)' // Cells\n};\n\nblock.gfm.table = edit(block.gfm.table)\n .replace('hr', block.hr)\n .replace('heading', ' {0,3}#{1,6} ')\n .replace('blockquote', ' {0,3}>')\n .replace('code', ' {4}[^\\\\n]')\n .replace('fences', ' {0,3}(?:`{3,}(?=[^`\\\\n]*\\\\n)|~{3,})[^\\\\n]*\\\\n')\n .replace('list', ' {0,3}(?:[*+-]|1[.)]) ') // only lists starting from 1 can interrupt\n .replace('html', '</?(?:tag)(?: +|\\\\n|/?>)|<(?:script|pre|style|textarea|!--)')\n .replace('tag', block._tag) // tables can be interrupted by type (6) html blocks\n .getRegex();\n\nblock.gfm.paragraph = edit(block._paragraph)\n .replace('hr', block.hr)\n .replace('heading', ' {0,3}#{1,6} ')\n .replace('|lheading', '') // setex headings don't interrupt commonmark paragraphs\n .replace('table', block.gfm.table) // interrupt paragraphs with table\n .replace('blockquote', ' {0,3}>')\n .replace('fences', ' {0,3}(?:`{3,}(?=[^`\\\\n]*\\\\n)|~{3,})[^\\\\n]*\\\\n')\n .replace('list', ' {0,3}(?:[*+-]|1[.)]) ') // only lists starting from 1 can interrupt\n .replace('html', '</?(?:tag)(?: +|\\\\n|/?>)|<(?:script|pre|style|textarea|!--)')\n .replace('tag', block._tag) // pars can be interrupted by type (6) html blocks\n .getRegex();\n/**\n * Pedantic grammar (original John Gruber's loose markdown specification)\n */\n\nblock.pedantic = {\n ...block.normal,\n html: edit(\n '^ *(?:comment *(?:\\\\n|\\\\s*$)'\n + '|<(tag)[\\\\s\\\\S]+?</\\\\1> *(?:\\\\n{2,}|\\\\s*$)' // closed tag\n + '|<tag(?:\"[^\"]*\"|\\'[^\\']*\\'|\\\\s[^\\'\"/>\\\\s]*)*?/?> *(?:\\\\n{2,}|\\\\s*$))')\n .replace('comment', block._comment)\n .replace(/tag/g, '(?!(?:'\n + 'a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub'\n + '|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)'\n + '\\\\b)\\\\w+(?!:|[^\\\\w\\\\s@]*@)\\\\b')\n .getRegex(),\n def: /^ *\\[([^\\]]+)\\]: *<?([^\\s>]+)>?(?: +([\"(][^\\n]+[\")]))? *(?:\\n+|$)/,\n heading: /^(#{1,6})(.*)(?:\\n+|$)/,\n fences: noopTest, // fences not supported\n lheading: /^(.+?)\\n {0,3}(=+|-+) *(?:\\n+|$)/,\n paragraph: edit(block.normal._paragraph)\n .replace('hr', block.hr)\n .replace('heading', ' *#{1,6} *[^\\n]')\n .replace('lheading', block.lheading)\n .replace('blockquote', ' {0,3}>')\n .replace('|fences', '')\n .replace('|list', '')\n .replace('|html', '')\n .getRegex()\n};\n\n/**\n * Inline-Level Grammar\n */\nconst inline = {\n escape: /^\\\\([!\"#$%&'()*+,\\-./:;<=>?@\\[\\]\\\\^_`{|}~])/,\n autolink: /^<(scheme:[^\\s\\x00-\\x1f<>]*|email)>/,\n url: noopTest,\n tag: '^comment'\n + '|^</[a-zA-Z][\\\\w:-]*\\\\s*>' // self-closing tag\n + '|^<[a-zA-Z][\\\\w-]*(?:attribute)*?\\\\s*/?>' // open tag\n + '|^<\\\\?[\\\\s\\\\S]*?\\\\?>' // processing instruction, e.g. <?php ?>\n + '|^<![a-zA-Z]+\\\\s[\\\\s\\\\S]*?>' // declaration, e.g. <!DOCTYPE html>\n + '|^<!\\\\[CDATA\\\\[[\\\\s\\\\S]*?\\\\]\\\\]>', // CDATA section\n link: /^!?\\[(label)\\]\\(\\s*(href)(?:\\s+(title))?\\s*\\)/,\n reflink: /^!?\\[(label)\\]\\[(ref)\\]/,\n nolink: /^!?\\[(ref)\\](?:\\[\\])?/,\n reflinkSearch: 'reflink|nolink(?!\\\\()',\n emStrong: {\n lDelim: /^(?:\\*+(?:([punct_])|[^\\s*]))|^_+(?:([punct*])|([^\\s_]))/,\n // (1) and (2) can only be a Right Delimiter. (3) and (4) can only be Left. (5) and (6) can be either Left or Right.\n // () Skip orphan inside strong () Consume to delim (1) #*** (2) a***#, a*** (3) #***a, ***a (4) ***# (5) #***# (6) a***a\n rDelimAst: /^(?:[^_*\\\\]|\\\\.)*?\\_\\_(?:[^_*\\\\]|\\\\.)*?\\*(?:[^_*\\\\]|\\\\.)*?(?=\\_\\_)|(?:[^*\\\\]|\\\\.)+(?=[^*])|[punct_](\\*+)(?=[\\s]|$)|(?:[^punct*_\\s\\\\]|\\\\.)(\\*+)(?=[punct_\\s]|$)|[punct_\\s](\\*+)(?=[^punct*_\\s])|[\\s](\\*+)(?=[punct_])|[punct_](\\*+)(?=[punct_])|(?:[^punct*_\\s\\\\]|\\\\.)(\\*+)(?=[^punct*_\\s])/,\n rDelimUnd: /^(?:[^_*\\\\]|\\\\.)*?\\*\\*(?:[^_*\\\\]|\\\\.)*?\\_(?:[^_*\\\\]|\\\\.)*?(?=\\*\\*)|(?:[^_\\\\]|\\\\.)+(?=[^_])|[punct*](\\_+)(?=[\\s]|$)|(?:[^punct*_\\s\\\\]|\\\\.)(\\_+)(?=[punct*\\s]|$)|[punct*\\s](\\_+)(?=[^punct*_\\s])|[\\s](\\_+)(?=[punct*])|[punct*](\\_+)(?=[punct*])/ // ^- Not allowed for _\n },\n code: /^(`+)([^`]|[^`][\\s\\S]*?[^`])\\1(?!`)/,\n br: /^( {2,}|\\\\)\\n(?!\\s*$)/,\n del: noopTest,\n text: /^(`+|[^`])(?:(?= {2,}\\n)|[\\s\\S]*?(?:(?=[\\\\<!\\[`*_]|\\b_|$)|[^ ](?= {2,}\\n)))/,\n punctuation: /^([\\spunctuation])/\n};\n\n// list of punctuation marks from CommonMark spec\n// without * and _ to handle the different emphasis markers * and _\ninline._punctuation = '!\"#$%&\\'()+\\\\-.,/:;<=>?@\\\\[\\\\]`^{|}~';\ninline.punctuation = edit(inline.punctuation).replace(/punctuation/g, inline._punctuation).getRegex();\n\n// sequences em should skip over [title](link), `code`, <html>\ninline.blockSkip = /\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>/g;\n// lookbehind is not available on Safari as of version 16\n// inline.escapedEmSt = /(?<=(?:^|[^\\\\)(?:\\\\[^])*)\\\\[*_]/g;\ninline.escapedEmSt = /(?:^|[^\\\\])(?:\\\\\\\\)*\\\\[*_]/g;\n\ninline._comment = edit(block._comment).replace('(?:-->|$)', '-->').getRegex();\n\ninline.emStrong.lDelim = edit(inline.emStrong.lDelim)\n .replace(/punct/g, inline._punctuation)\n .getRegex();\n\ninline.emStrong.rDelimAst = edit(inline.emStrong.rDelimAst, 'g')\n .replace(/punct/g, inline._punctuation)\n .getRegex();\n\ninline.emStrong.rDelimUnd = edit(inline.emStrong.rDelimUnd, 'g')\n .replace(/punct/g, inline._punctuation)\n .getRegex();\n\ninline._escapes = /\\\\([!\"#$%&'()*+,\\-./:;<=>?@\\[\\]\\\\^_`{|}~])/g;\n\ninline._scheme = /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;\ninline._email = /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/;\ninline.autolink = edit(inline.autolink)\n .replace('scheme', inline._scheme)\n .replace('email', inline._email)\n .getRegex();\n\ninline._attribute = /\\s+[a-zA-Z:_][\\w.:-]*(?:\\s*=\\s*\"[^\"]*\"|\\s*=\\s*'[^']*'|\\s*=\\s*[^\\s\"'=<>`]+)?/;\n\ninline.tag = edit(inline.tag)\n .replace('comment', inline._comment)\n .replace('attribute', inline._attribute)\n .getRegex();\n\ninline._label = /(?:\\[(?:\\\\.|[^\\[\\]\\\\])*\\]|\\\\.|`[^`]*`|[^\\[\\]\\\\`])*?/;\ninline._href = /<(?:\\\\.|[^\\n<>\\\\])+>|[^\\s\\x00-\\x1f]*/;\ninline._title = /\"(?:\\\\\"?|[^\"\\\\])*\"|'(?:\\\\'?|[^'\\\\])*'|\\((?:\\\\\\)?|[^)\\\\])*\\)/;\n\ninline.link = edit(inline.link)\n .replace('label', inline._label)\n .replace('href', inline._href)\n .replace('title', inline._title)\n .getRegex();\n\ninline.reflink = edit(inline.reflink)\n .replace('label', inline._label)\n .replace('ref', block._label)\n .getRegex();\n\ninline.nolink = edit(inline.nolink)\n .replace('ref', block._label)\n .getRegex();\n\ninline.reflinkSearch = edit(inline.reflinkSearch, 'g')\n .replace('reflink', inline.reflink)\n .replace('nolink', inline.nolink)\n .getRegex();\n\n/**\n * Normal Inline Grammar\n */\n\ninline.normal = { ...inline };\n\n/**\n * Pedantic Inline Grammar\n */\n\ninline.pedantic = {\n ...inline.normal,\n strong: {\n start: /^__|\\*\\*/,\n middle: /^__(?=\\S)([\\s\\S]*?\\S)__(?!_)|^\\*\\*(?=\\S)([\\s\\S]*?\\S)\\*\\*(?!\\*)/,\n endAst: /\\*\\*(?!\\*)/g,\n endUnd: /__(?!_)/g\n },\n em: {\n start: /^_|\\*/,\n middle: /^()\\*(?=\\S)([\\s\\S]*?\\S)\\*(?!\\*)|^_(?=\\S)([\\s\\S]*?\\S)_(?!_)/,\n endAst: /\\*(?!\\*)/g,\n endUnd: /_(?!_)/g\n },\n link: edit(/^!?\\[(label)\\]\\((.*?)\\)/)\n .replace('label', inline._label)\n .getRegex(),\n reflink: edit(/^!?\\[(label)\\]\\s*\\[([^\\]]*)\\]/)\n .replace('label', inline._label)\n .getRegex()\n};\n\n/**\n * GFM Inline Grammar\n */\n\ninline.gfm = {\n ...inline.normal,\n escape: edit(inline.escape).replace('])', '~|])').getRegex(),\n _extended_email: /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,\n url: /^((?:ftp|https?):\\/\\/|www\\.)(?:[a-zA-Z0-9\\-]+\\.?)+[^\\s<]*|^email/,\n _backpedal: /(?:[^?!.,:;*_'\"~()&]+|\\([^)]*\\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'\"~)]+(?!$))+/,\n del: /^(~~?)(?=[^\\s~])([\\s\\S]*?[^\\s~])\\1(?=[^~]|$)/,\n text: /^([`~]+|[^`~])(?:(?= {2,}\\n)|(?=[a-zA-Z0-9.!#$%&'*+\\/=?_`{\\|}~-]+@)|[\\s\\S]*?(?:(?=[\\\\<!\\[`*~_]|\\b_|https?:\\/\\/|ftp:\\/\\/|www\\.|$)|[^ ](?= {2,}\\n)|[^a-zA-Z0-9.!#$%&'*+\\/=?_`{\\|}~-](?=[a-zA-Z0-9.!#$%&'*+\\/=?_`{\\|}~-]+@)))/\n};\n\ninline.gfm.url = edit(inline.gfm.url, 'i')\n .replace('email', inline.gfm._extended_email)\n .getRegex();\n/**\n * GFM + Line Breaks Inline Grammar\n */\n\ninline.breaks = {\n ...inline.gfm,\n br: edit(inline.br).replace('{2,}', '*').getRegex(),\n text: edit(inline.gfm.text)\n .replace('\\\\b_', '\\\\b_| {2,}\\\\n')\n .replace(/\\{2,\\}/g, '*')\n .getRegex()\n};\n\n/**\n * smartypants text replacement\n * @param {string} text\n */\nfunction smartypants(text) {\n return text\n // em-dashes\n .replace(/---/g, '\\u2014')\n // en-dashes\n .replace(/--/g, '\\u2013')\n // opening singles\n .replace(/(^|[-\\u2014/(\\[{\"\\s])'/g, '$1\\u2018')\n // closing singles & apostrophes\n .replace(/'/g, '\\u2019')\n // opening doubles\n .replace(/(^|[-\\u2014/(\\[{\\u2018\\s])\"/g, '$1\\u201c')\n // closing doubles\n .replace(/\"/g, '\\u201d')\n // ellipses\n .replace(/\\.{3}/g, '\\u2026');\n}\n\n/**\n * mangle email addresses\n * @param {string} text\n */\nfunction mangle(text) {\n let out = '',\n i,\n ch;\n\n const l = text.length;\n for (i = 0; i < l; i++) {\n ch = text.charCodeAt(i);\n if (Math.random() > 0.5) {\n ch = 'x' + ch.toString(16);\n }\n out += '&#' + ch + ';';\n }\n\n return out;\n}\n\n/**\n * Block Lexer\n */\nclass Lexer {\n constructor(options) {\n this.tokens = [];\n this.tokens.links = Object.create(null);\n this.options = options || defaults;\n this.options.tokenizer = this.options.tokenizer || new Tokenizer();\n this.tokenizer = this.options.tokenizer;\n this.tokenizer.options = this.options;\n this.tokenizer.lexer = this;\n this.inlineQueue = [];\n this.state = {\n inLink: false,\n inRawBlock: false,\n top: true\n };\n\n const rules = {\n block: block.normal,\n inline: inline.normal\n };\n\n if (this.options.pedantic) {\n rules.block = block.pedantic;\n rules.inline = inline.pedantic;\n } else if (this.options.gfm) {\n rules.block = block.gfm;\n if (this.options.breaks) {\n rules.inline = inline.breaks;\n } else {\n rules.inline = inline.gfm;\n }\n }\n this.tokenizer.rules = rules;\n }\n\n /**\n * Expose Rules\n */\n static get rules() {\n return {\n block,\n inline\n };\n }\n\n /**\n * Static Lex Method\n */\n static lex(src, options) {\n const lexer = new Lexer(options);\n return lexer.lex(src);\n }\n\n /**\n * Static Lex Inline Method\n */\n static lexInline(src, options) {\n const lexer = new Lexer(options);\n return lexer.inlineTokens(src);\n }\n\n /**\n * Preprocessing\n */\n lex(src) {\n src = src\n .replace(/\\r\\n|\\r/g, '\\n');\n\n this.blockTokens(src, this.tokens);\n\n let next;\n while (next = this.inlineQueue.shift()) {\n this.inlineTokens(next.src, next.tokens);\n }\n\n return this.tokens;\n }\n\n /**\n * Lexing\n */\n blockTokens(src, tokens = []) {\n if (this.options.pedantic) {\n src = src.replace(/\\t/g, ' ').replace(/^ +$/gm, '');\n } else {\n src = src.replace(/^( *)(\\t+)/gm, (_, leading, tabs) => {\n return leading + ' '.repeat(tabs.length);\n });\n }\n\n let token, lastToken, cutSrc, lastParagraphClipped;\n\n while (src) {\n if (this.options.extensions\n && this.options.extensions.block\n && this.options.extensions.block.some((extTokenizer) => {\n if (token = extTokenizer.call({ lexer: this }, src, tokens)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n return true;\n }\n return false;\n })) {\n continue;\n }\n\n // newline\n if (token = this.tokenizer.space(src)) {\n src = src.substring(token.raw.length);\n if (token.raw.length === 1 && tokens.length > 0) {\n // if there's a single \\n as a spacer, it's terminating the last line,\n // so move it there so that we don't get unecessary paragraph tags\n tokens[tokens.length - 1].raw += '\\n';\n } else {\n tokens.push(token);\n }\n continue;\n }\n\n // code\n if (token = this.tokenizer.code(src)) {\n src = src.substring(token.raw.length);\n lastToken = tokens[tokens.length - 1];\n // An indented code block cannot interrupt a paragraph.\n if (lastToken && (lastToken.type === 'paragraph' || lastToken.type === 'text')) {\n lastToken.raw += '\\n' + token.raw;\n lastToken.text += '\\n' + token.text;\n this.inlineQueue[this.inlineQueue.length - 1].src = lastToken.text;\n } else {\n tokens.push(token);\n }\n continue;\n }\n\n // fences\n if (token = this.tokenizer.fences(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // heading\n if (token = this.tokenizer.heading(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // hr\n if (token = this.tokenizer.hr(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // blockquote\n if (token = this.tokenizer.blockquote(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // list\n if (token = this.tokenizer.list(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // html\n if (token = this.tokenizer.html(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // def\n if (token = this.tokenizer.def(src)) {\n src = src.substring(token.raw.length);\n lastToken = tokens[tokens.length - 1];\n if (lastToken && (lastToken.type === 'paragraph' || lastToken.type === 'text')) {\n lastToken.raw += '\\n' + token.raw;\n lastToken.text += '\\n' + token.raw;\n this.inlineQueue[this.inlineQueue.length - 1].src = lastToken.text;\n } else if (!this.tokens.links[token.tag]) {\n this.tokens.links[token.tag] = {\n href: token.href,\n title: token.title\n };\n }\n continue;\n }\n\n // table (gfm)\n if (token = this.tokenizer.table(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // lheading\n if (token = this.tokenizer.lheading(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // top-level paragraph\n // prevent paragraph consuming extensions by clipping 'src' to extension start\n cutSrc = src;\n if (this.options.extensions && this.options.extensions.startBlock) {\n let startIndex = Infinity;\n const tempSrc = src.slice(1);\n let tempStart;\n this.options.extensions.startBlock.forEach(function(getStartIndex) {\n tempStart = getStartIndex.call({ lexer: this }, tempSrc);\n if (typeof tempStart === 'number' && tempStart >= 0) { startIndex = Math.min(startIndex, tempStart); }\n });\n if (startIndex < Infinity && startIndex >= 0) {\n cutSrc = src.substring(0, startIndex + 1);\n }\n }\n if (this.state.top && (token = this.tokenizer.paragraph(cutSrc))) {\n lastToken = tokens[tokens.length - 1];\n if (lastParagraphClipped && lastToken.type === 'paragraph') {\n lastToken.raw += '\\n' + token.raw;\n lastToken.text += '\\n' + token.text;\n this.inlineQueue.pop();\n this.inlineQueue[this.inlineQueue.length - 1].src = lastToken.text;\n } else {\n tokens.push(token);\n }\n lastParagraphClipped = (cutSrc.length !== src.length);\n src = src.substring(token.raw.length);\n continue;\n }\n\n // text\n if (token = this.tokenizer.text(src)) {\n src = src.substring(token.raw.length);\n lastToken = tokens[tokens.length - 1];\n if (lastToken && lastToken.type === 'text') {\n lastToken.raw += '\\n' + token.raw;\n lastToken.text += '\\n' + token.text;\n this.inlineQueue.pop();\n this.inlineQueue[this.inlineQueue.length - 1].src = lastToken.text;\n } else {\n tokens.push(token);\n }\n continue;\n }\n\n if (src) {\n const errMsg = 'Infinite loop on byte: ' + src.charCodeAt(0);\n if (this.options.silent) {\n console.error(errMsg);\n break;\n } else {\n throw new Error(errMsg);\n }\n }\n }\n\n this.state.top = true;\n return tokens;\n }\n\n inline(src, tokens = []) {\n this.inlineQueue.push({ src, tokens });\n return tokens;\n }\n\n /**\n * Lexing/Compiling\n */\n inlineTokens(src, tokens = []) {\n let token, lastToken, cutSrc;\n\n // String with links masked to avoid interference with em and strong\n let maskedSrc = src;\n let match;\n let keepPrevChar, prevChar;\n\n // Mask out reflinks\n if (this.tokens.links) {\n const links = Object.keys(this.tokens.links);\n if (links.length > 0) {\n while ((match = this.tokenizer.rules.inline.reflinkSearch.exec(maskedSrc)) != null) {\n if (links.includes(match[0].slice(match[0].lastIndexOf('[') + 1, -1))) {\n maskedSrc = maskedSrc.slice(0, match.index) + '[' + repeatString('a', match[0].length - 2) + ']' + maskedSrc.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex);\n }\n }\n }\n }\n // Mask out other blocks\n while ((match = this.tokenizer.rules.inline.blockSkip.exec(maskedSrc)) != null) {\n maskedSrc = maskedSrc.slice(0, match.index) + '[' + repeatString('a', match[0].length - 2) + ']' + maskedSrc.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);\n }\n\n // Mask out escaped em & strong delimiters\n while ((match = this.tokenizer.rules.inline.escapedEmSt.exec(maskedSrc)) != null) {\n maskedSrc = maskedSrc.slice(0, match.index + match[0].length - 2) + '++' + maskedSrc.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);\n this.tokenizer.rules.inline.escapedEmSt.lastIndex--;\n }\n\n while (src) {\n if (!keepPrevChar) {\n prevChar = '';\n }\n keepPrevChar = false;\n\n // extensions\n if (this.options.extensions\n && this.options.extensions.inline\n && this.options.extensions.inline.some((extTokenizer) => {\n if (token = extTokenizer.call({ lexer: this }, src, tokens)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n return true;\n }\n return false;\n })) {\n continue;\n }\n\n // escape\n if (token = this.tokenizer.escape(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // tag\n if (token = this.tokenizer.tag(src)) {\n src = src.substring(token.raw.length);\n lastToken = tokens[tokens.length - 1];\n if (lastToken && token.type === 'text' && lastToken.type === 'text') {\n lastToken.raw += token.raw;\n lastToken.text += token.text;\n } else {\n tokens.push(token);\n }\n continue;\n }\n\n // link\n if (token = this.tokenizer.link(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // reflink, nolink\n if (token = this.tokenizer.reflink(src, this.tokens.links)) {\n src = src.substring(token.raw.length);\n lastToken = tokens[tokens.length - 1];\n if (lastToken && token.type === 'text' && lastToken.type === 'text') {\n lastToken.raw += token.raw;\n lastToken.text += token.text;\n } else {\n tokens.push(token);\n }\n continue;\n }\n\n // em & strong\n if (token = this.tokenizer.emStrong(src, maskedSrc, prevChar)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // code\n if (token = this.tokenizer.codespan(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // br\n if (token = this.tokenizer.br(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // del (gfm)\n if (token = this.tokenizer.del(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // autolink\n if (token = this.tokenizer.autolink(src, mangle)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // url (gfm)\n if (!this.state.inLink && (token = this.tokenizer.url(src, mangle))) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // text\n // prevent inlineText consuming extensions by clipping 'src' to extension start\n cutSrc = src;\n if (this.options.extensions && this.options.extensions.startInline) {\n let startIndex = Infinity;\n const tempSrc = src.slice(1);\n let tempStart;\n this.options.extensions.startInline.forEach(function(getStartIndex) {\n tempStart = getStartIndex.call({ lexer: this }, tempSrc);\n if (typeof tempStart === 'number' && tempStart >= 0) { startIndex = Math.min(startIndex, tempStart); }\n });\n if (startIndex < Infinity && startIndex >= 0) {\n cutSrc = src.substring(0, startIndex + 1);\n }\n }\n if (token = this.tokenizer.inlineText(cutSrc, smartypants)) {\n src = src.substring(token.raw.length);\n if (token.raw.slice(-1) !== '_') { // Track prevChar before string of ____ started\n prevChar = token.raw.slice(-1);\n }\n keepPrevChar = true;\n lastToken = tokens[tokens.length - 1];\n if (lastToken && lastToken.type === 'text') {\n lastToken.raw += token.raw;\n lastToken.text += token.text;\n } else {\n tokens.push(token);\n }\n continue;\n }\n\n if (src) {\n const errMsg = 'Infinite loop on byte: ' + src.charCodeAt(0);\n if (this.options.silent) {\n console.error(errMsg);\n break;\n } else {\n throw new Error(errMsg);\n }\n }\n }\n\n return tokens;\n }\n}\n\n/**\n * Renderer\n */\nclass Renderer {\n constructor(options) {\n this.options = options || defaults;\n }\n\n code(code, infostring, escaped) {\n const lang = (infostring || '').match(/\\S*/)[0];\n if (this.options.highlight) {\n const out = this.options.highlight(code, lang);\n if (out != null && out !== code) {\n escaped = true;\n code = out;\n }\n }\n\n code = code.replace(/\\n$/, '') + '\\n';\n\n if (!lang) {\n return '<pre><code>'\n + (escaped ? code : escape(code, true))\n + '</code></pre>\\n';\n }\n\n return '<pre><code class=\"'\n + this.options.langPrefix\n + escape(lang)\n + '\">'\n + (escaped ? code : escape(code, true))\n + '</code></pre>\\n';\n }\n\n /**\n * @param {string} quote\n */\n blockquote(quote) {\n return `<blockquote>\\n${quote}</blockquote>\\n`;\n }\n\n html(html) {\n return html;\n }\n\n /**\n * @param {string} text\n * @param {string} level\n * @param {string} raw\n * @param {any} slugger\n */\n heading(text, level, raw, slugger) {\n if (this.options.headerIds) {\n const id = this.options.headerPrefix + slugger.slug(raw);\n return `<h${level} id=\"${id}\">${text}</h${level}>\\n`;\n }\n\n // ignore IDs\n return `<h${level}>${text}</h${level}>\\n`;\n }\n\n hr() {\n return this.options.xhtml ? '<hr/>\\n' : '<hr>\\n';\n }\n\n list(body, ordered, start) {\n const type = ordered ? 'ol' : 'ul',\n startatt = (ordered && start !== 1) ? (' start=\"' + start + '\"') : '';\n return '<' + type + startatt + '>\\n' + body + '</' + type + '>\\n';\n }\n\n /**\n * @param {string} text\n */\n listitem(text) {\n return `<li>${text}</li>\\n`;\n }\n\n checkbox(checked) {\n return '<input '\n + (checked ? 'checked=\"\" ' : '')\n + 'disabled=\"\" type=\"checkbox\"'\n + (this.options.xhtml ? ' /' : '')\n + '> ';\n }\n\n /**\n * @param {string} text\n */\n paragraph(text) {\n return `<p>${text}</p>\\n`;\n }\n\n /**\n * @param {string} header\n * @param {string} body\n */\n table(header, body) {\n if (body) body = `<tbody>${body}</tbody>`;\n\n return '<table>\\n'\n + '<thead>\\n'\n + header\n + '</thead>\\n'\n + body\n + '</table>\\n';\n }\n\n /**\n * @param {string} content\n */\n tablerow(content) {\n return `<tr>\\n${content}</tr>\\n`;\n }\n\n tablecell(content, flags) {\n const type = flags.header ? 'th' : 'td';\n const tag = flags.align\n ? `<${type} align=\"${flags.align}\">`\n : `<${type}>`;\n return tag + content + `</${type}>\\n`;\n }\n\n /**\n * span level renderer\n * @param {string} text\n */\n strong(text) {\n return `<strong>${text}</strong>`;\n }\n\n /**\n * @param {string} text\n */\n em(text) {\n return `<em>${text}</em>`;\n }\n\n /**\n * @param {string} text\n */\n codespan(text) {\n return `<code>${text}</code>`;\n }\n\n br() {\n return this.options.xhtml ? '<br/>' : '<br>';\n }\n\n /**\n * @param {string} text\n */\n del(text) {\n return `<del>${text}</del>`;\n }\n\n /**\n * @param {string} href\n * @param {string} title\n * @param {string} text\n */\n link(href, title, text) {\n href = cleanUrl(this.options.sanitize, this.options.baseUrl, href);\n if (href === null) {\n return text;\n }\n let out = '<a href=\"' + href + '\"';\n if (title) {\n out += ' title=\"' + title + '\"';\n }\n out += '>' + text + '</a>';\n return out;\n }\n\n /**\n * @param {string} href\n * @param {string} title\n * @param {string} text\n */\n image(href, title, text) {\n href = cleanUrl(this.options.sanitize, this.options.baseUrl, href);\n if (href === null) {\n return text;\n }\n\n let out = `<img src=\"${href}\" alt=\"${text}\"`;\n if (title) {\n out += ` title=\"${title}\"`;\n }\n out += this.options.xhtml ? '/>' : '>';\n return out;\n }\n\n text(text) {\n return text;\n }\n}\n\n/**\n * TextRenderer\n * returns only the textual part of the token\n */\nclass TextRenderer {\n // no need for block level renderers\n strong(text) {\n return text;\n }\n\n em(text) {\n return text;\n }\n\n codespan(text) {\n return text;\n }\n\n del(text) {\n return text;\n }\n\n html(text) {\n return text;\n }\n\n text(text) {\n return text;\n }\n\n link(href, title, text) {\n return '' + text;\n }\n\n image(href, title, text) {\n return '' + text;\n }\n\n br() {\n return '';\n }\n}\n\n/**\n * Slugger generates header id\n */\nclass Slugger {\n constructor() {\n this.seen = {};\n }\n\n /**\n * @param {string} value\n */\n serialize(value) {\n return value\n .toLowerCase()\n .trim()\n // remove html tags\n .replace(/<[!\\/a-z].*?>/ig, '')\n // remove unwanted chars\n .replace(/[\\u2000-\\u206F\\u2E00-\\u2E7F\\\\'!\"#$%&()*+,./:;<=>?@[\\]^`{|}~]/g, '')\n .replace(/\\s/g, '-');\n }\n\n /**\n * Finds the next safe (unique) slug to use\n * @param {string} originalSlug\n * @param {boolean} isDryRun\n */\n getNextSafeSlug(originalSlug, isDryRun) {\n let slug = originalSlug;\n let occurenceAccumulator = 0;\n if (this.seen.hasOwnProperty(slug)) {\n occurenceAccumulator = this.seen[originalSlug];\n do {\n occurenceAccumulator++;\n slug = originalSlug + '-' + occurenceAccumulator;\n } while (this.seen.hasOwnProperty(slug));\n }\n if (!isDryRun) {\n this.seen[originalSlug] = occurenceAccumulator;\n this.seen[slug] = 0;\n }\n return slug;\n }\n\n /**\n * Convert string to unique id\n * @param {object} [options]\n * @param {boolean} [options.dryrun] Generates the next unique slug without\n * updating the internal accumulator.\n */\n slug(value, options = {}) {\n const slug = this.serialize(value);\n return this.getNextSafeSlug(slug, options.dryrun);\n }\n}\n\n/**\n * Parsing & Compiling\n */\nclass Parser {\n constructor(options) {\n this.options = options || defaults;\n this.options.renderer = this.options.renderer || new Renderer();\n this.renderer = this.options.renderer;\n this.renderer.options = this.options;\n this.textRenderer = new TextRenderer();\n this.slugger = new Slugger();\n }\n\n /**\n * Static Parse Method\n */\n static parse(tokens, options) {\n const parser = new Parser(options);\n return parser.parse(tokens);\n }\n\n /**\n * Static Parse Inline Method\n */\n static parseInline(tokens, options) {\n const parser = new Parser(options);\n return parser.parseInline(tokens);\n }\n\n /**\n * Parse Loop\n */\n parse(tokens, top = true) {\n let out = '',\n i,\n j,\n k,\n l2,\n l3,\n row,\n cell,\n header,\n body,\n token,\n ordered,\n start,\n loose,\n itemBody,\n item,\n checked,\n task,\n checkbox,\n ret;\n\n const l = tokens.length;\n for (i = 0; i < l; i++) {\n token = tokens[i];\n\n // Run any renderer extensions\n if (this.options.extensions && this.options.extensions.renderers && this.options.extensions.renderers[token.type]) {\n ret = this.options.extensions.renderers[token.type].call({ parser: this }, token);\n if (ret !== false || !['space', 'hr', 'heading', 'code', 'table', 'blockquote', 'list', 'html', 'paragraph', 'text'].includes(token.type)) {\n out += ret || '';\n continue;\n }\n }\n\n switch (token.type) {\n case 'space': {\n continue;\n }\n case 'hr': {\n out += this.renderer.hr();\n continue;\n }\n case 'heading': {\n out += this.renderer.heading(\n this.parseInline(token.tokens),\n token.depth,\n unescape(this.parseInline(token.tokens, this.textRenderer)),\n this.slugger);\n continue;\n }\n case 'code': {\n out += this.renderer.code(token.text,\n token.lang,\n token.escaped);\n continue;\n }\n case 'table': {\n header = '';\n\n // header\n cell = '';\n l2 = token.header.length;\n for (j = 0; j < l2; j++) {\n cell += this.renderer.tablecell(\n this.parseInline(token.header[j].tokens),\n { header: true, align: token.align[j] }\n );\n }\n header += this.renderer.tablerow(cell);\n\n body = '';\n l2 = token.rows.length;\n for (j = 0; j < l2; j++) {\n row = token.rows[j];\n\n cell = '';\n l3 = row.length;\n for (k = 0; k < l3; k++) {\n cell += this.renderer.tablecell(\n this.parseInline(row[k].tokens),\n { header: false, align: token.align[k] }\n );\n }\n\n body += this.renderer.tablerow(cell);\n }\n out += this.renderer.table(header, body);\n continue;\n }\n case 'blockquote': {\n body = this.parse(token.tokens);\n out += this.renderer.blockquote(body);\n continue;\n }\n case 'list': {\n ordered = token.ordered;\n start = token.start;\n loose = token.loose;\n l2 = token.items.length;\n\n body = '';\n for (j = 0; j < l2; j++) {\n item = token.items[j];\n checked = item.checked;\n task = item.task;\n\n itemBody = '';\n if (item.task) {\n checkbox = this.renderer.checkbox(checked);\n if (loose) {\n if (item.tokens.length > 0 && item.tokens[0].type === 'paragraph') {\n item.tokens[0].text = checkbox + ' ' + item.tokens[0].text;\n if (item.tokens[0].tokens && item.tokens[0].tokens.length > 0 && item.tokens[0].tokens[0].type === 'text') {\n item.tokens[0].tokens[0].text = checkbox + ' ' + item.tokens[0].tokens[0].text;\n }\n } else {\n item.tokens.unshift({\n type: 'text',\n text: checkbox\n });\n }\n } else {\n itemBody += checkbox;\n }\n }\n\n itemBody += this.parse(item.tokens, loose);\n body += this.renderer.listitem(itemBody, task, checked);\n }\n\n out += this.renderer.list(body, ordered, start);\n continue;\n }\n case 'html': {\n // TODO parse inline content if parameter markdown=1\n out += this.renderer.html(token.text);\n continue;\n }\n case 'paragraph': {\n out += this.renderer.paragraph(this.parseInline(token.tokens));\n continue;\n }\n case 'text': {\n body = token.tokens ? this.parseInline(token.tokens) : token.text;\n while (i + 1 < l && tokens[i + 1].type === 'text') {\n token = tokens[++i];\n body += '\\n' + (token.tokens ? this.parseInline(token.tokens) : token.text);\n }\n out += top ? this.renderer.paragraph(body) : body;\n continue;\n }\n\n default: {\n const errMsg = 'Token with \"' + token.type + '\" type was not found.';\n if (this.options.silent) {\n console.error(errMsg);\n return;\n } else {\n throw new Error(errMsg);\n }\n }\n }\n }\n\n return out;\n }\n\n /**\n * Parse Inline Tokens\n */\n parseInline(tokens, renderer) {\n renderer = renderer || this.renderer;\n let out = '',\n i,\n token,\n ret;\n\n const l = tokens.length;\n for (i = 0; i < l; i++) {\n token = tokens[i];\n\n // Run any renderer extensions\n if (this.options.extensions && this.options.extensions.renderers && this.options.extensions.renderers[token.type]) {\n ret = this.options.extensions.renderers[token.type].call({ parser: this }, token);\n if (ret !== false || !['escape', 'html', 'link', 'image', 'strong', 'em', 'codespan', 'br', 'del', 'text'].includes(token.type)) {\n out += ret || '';\n continue;\n }\n }\n\n switch (token.type) {\n case 'escape': {\n out += renderer.text(token.text);\n break;\n }\n case 'html': {\n out += renderer.html(token.text);\n break;\n }\n case 'link': {\n out += renderer.link(token.href, token.title, this.parseInline(token.tokens, renderer));\n break;\n }\n case 'image': {\n out += renderer.image(token.href, token.title, token.text);\n break;\n }\n case 'strong': {\n out += renderer.strong(this.parseInline(token.tokens, renderer));\n break;\n }\n case 'em': {\n out += renderer.em(this.parseInline(token.tokens, renderer));\n break;\n }\n case 'codespan': {\n out += renderer.codespan(token.text);\n break;\n }\n case 'br': {\n out += renderer.br();\n break;\n }\n case 'del': {\n out += renderer.del(this.parseInline(token.tokens, renderer));\n break;\n }\n case 'text': {\n out += renderer.text(token.text);\n break;\n }\n default: {\n const errMsg = 'Token with \"' + token.type + '\" type was not found.';\n if (this.options.silent) {\n console.error(errMsg);\n return;\n } else {\n throw new Error(errMsg);\n }\n }\n }\n }\n return out;\n }\n}\n\nclass Hooks {\n constructor(options) {\n this.options = options || defaults;\n }\n\n static passThroughHooks = new Set([\n 'preprocess',\n 'postprocess'\n ]);\n\n /**\n * Process markdown before marked\n */\n preprocess(markdown) {\n return markdown;\n }\n\n /**\n * Process HTML after marked is finished\n */\n postprocess(html) {\n return html;\n }\n}\n\nfunction onError(silent, async, callback) {\n return (e) => {\n e.message += '\\nPlease report this to https://github.com/markedjs/marked.';\n\n if (silent) {\n const msg = '<p>An error occurred:</p><pre>'\n + escape(e.message + '', true)\n + '</pre>';\n if (async) {\n return Promise.resolve(msg);\n }\n if (callback) {\n callback(null, msg);\n return;\n }\n return msg;\n }\n\n if (async) {\n return Promise.reject(e);\n }\n if (callback) {\n callback(e);\n return;\n }\n throw e;\n };\n}\n\nfunction parseMarkdown(lexer, parser) {\n return (src, opt, callback) => {\n if (typeof opt === 'function') {\n callback = opt;\n opt = null;\n }\n\n const origOpt = { ...opt };\n opt = { ...marked.defaults, ...origOpt };\n const throwError = onError(opt.silent, opt.async, callback);\n\n // throw error in case of non string input\n if (typeof src === 'undefined' || src === null) {\n return throwError(new Error('marked(): input parameter is undefined or null'));\n }\n if (typeof src !== 'string') {\n return throwError(new Error('marked(): input parameter is of type '\n + Object.prototype.toString.call(src) + ', string expected'));\n }\n\n checkSanitizeDeprecation(opt);\n\n if (opt.hooks) {\n opt.hooks.options = opt;\n }\n\n if (callback) {\n const highlight = opt.highlight;\n let tokens;\n\n try {\n if (opt.hooks) {\n src = opt.hooks.preprocess(src);\n }\n tokens = lexer(src, opt);\n } catch (e) {\n return throwError(e);\n }\n\n const done = function(err) {\n let out;\n\n if (!err) {\n try {\n if (opt.walkTokens) {\n marked.walkTokens(tokens, opt.walkTokens);\n }\n out = parser(tokens, opt);\n if (opt.hooks) {\n out = opt.hooks.postprocess(out);\n }\n } catch (e) {\n err = e;\n }\n }\n\n opt.highlight = highlight;\n\n return err\n ? throwError(err)\n : callback(null, out);\n };\n\n if (!highlight || highlight.length < 3) {\n return done();\n }\n\n delete opt.highlight;\n\n if (!tokens.length) return done();\n\n let pending = 0;\n marked.walkTokens(tokens, function(token) {\n if (token.type === 'code') {\n pending++;\n setTimeout(() => {\n highlight(token.text, token.lang, function(err, code) {\n if (err) {\n return done(err);\n }\n if (code != null && code !== token.text) {\n token.text = code;\n token.escaped = true;\n }\n\n pending--;\n if (pending === 0) {\n done();\n }\n });\n }, 0);\n }\n });\n\n if (pending === 0) {\n done();\n }\n\n return;\n }\n\n if (opt.async) {\n return Promise.resolve(opt.hooks ? opt.hooks.preprocess(src) : src)\n .then(src => lexer(src, opt))\n .then(tokens => opt.walkTokens ? Promise.all(marked.walkTokens(tokens, opt.walkTokens)).then(() => tokens) : tokens)\n .then(tokens => parser(tokens, opt))\n .then(html => opt.hooks ? opt.hooks.postprocess(html) : html)\n .catch(throwError);\n }\n\n try {\n if (opt.hooks) {\n src = opt.hooks.preprocess(src);\n }\n const tokens = lexer(src, opt);\n if (opt.walkTokens) {\n marked.walkTokens(tokens, opt.walkTokens);\n }\n let html = parser(tokens, opt);\n if (opt.hooks) {\n html = opt.hooks.postprocess(html);\n }\n return html;\n } catch (e) {\n return throwError(e);\n }\n };\n}\n\n/**\n * Marked\n */\nfunction marked(src, opt, callback) {\n return parseMarkdown(Lexer.lex, Parser.parse)(src, opt, callback);\n}\n\n/**\n * Options\n */\n\nmarked.options =\nmarked.setOptions = function(opt) {\n marked.defaults = { ...marked.defaults, ...opt };\n changeDefaults(marked.defaults);\n return marked;\n};\n\nmarked.getDefaults = getDefaults;\n\nmarked.defaults = defaults;\n\n/**\n * Use Extension\n */\n\nmarked.use = function(...args) {\n const extensions = marked.defaults.extensions || { renderers: {}, childTokens: {} };\n\n args.forEach((pack) => {\n // copy options to new object\n const opts = { ...pack };\n\n // set async to true if it was set to true before\n opts.async = marked.defaults.async || opts.async || false;\n\n // ==-- Parse \"addon\" extensions --== //\n if (pack.extensions) {\n pack.extensions.forEach((ext) => {\n if (!ext.name) {\n throw new Error('extension name required');\n }\n if (ext.renderer) { // Renderer extensions\n const prevRenderer = extensions.renderers[ext.name];\n if (prevRenderer) {\n // Replace extension with func to run new extension but fall back if false\n extensions.renderers[ext.name] = function(...args) {\n let ret = ext.renderer.apply(this, args);\n if (ret === false) {\n ret = prevRenderer.apply(this, args);\n }\n return ret;\n };\n } else {\n extensions.renderers[ext.name] = ext.renderer;\n }\n }\n if (ext.tokenizer) { // Tokenizer Extensions\n if (!ext.level || (ext.level !== 'block' && ext.level !== 'inline')) {\n throw new Error(\"extension level must be 'block' or 'inline'\");\n }\n if (extensions[ext.level]) {\n extensions[ext.level].unshift(ext.tokenizer);\n } else {\n extensions[ext.level] = [ext.tokenizer];\n }\n if (ext.start) { // Function to check for start of token\n if (ext.level === 'block') {\n if (extensions.startBlock) {\n extensions.startBlock.push(ext.start);\n } else {\n extensions.startBlock = [ext.start];\n }\n } else if (ext.level === 'inline') {\n if (extensions.startInline) {\n extensions.startInline.push(ext.start);\n } else {\n extensions.startInline = [ext.start];\n }\n }\n }\n }\n if (ext.childTokens) { // Child tokens to be visited by walkTokens\n extensions.childTokens[ext.name] = ext.childTokens;\n }\n });\n opts.extensions = extensions;\n }\n\n // ==-- Parse \"overwrite\" extensions --== //\n if (pack.renderer) {\n const renderer = marked.defaults.renderer || new Renderer();\n for (const prop in pack.renderer) {\n const prevRenderer = renderer[prop];\n // Replace renderer with func to run extension, but fall back if false\n renderer[prop] = (...args) => {\n let ret = pack.renderer[prop].apply(renderer, args);\n if (ret === false) {\n ret = prevRenderer.apply(renderer, args);\n }\n return ret;\n };\n }\n opts.renderer = renderer;\n }\n if (pack.tokenizer) {\n const tokenizer = marked.defaults.tokenizer || new Tokenizer();\n for (const prop in pack.tokenizer) {\n const prevTokenizer = tokenizer[prop];\n // Replace tokenizer with func to run extension, but fall back if false\n tokenizer[prop] = (...args) => {\n let ret = pack.tokenizer[prop].apply(tokenizer, args);\n if (ret === false) {\n ret = prevTokenizer.apply(tokenizer, args);\n }\n return ret;\n };\n }\n opts.tokenizer = tokenizer;\n }\n\n // ==-- Parse Hooks extensions --== //\n if (pack.hooks) {\n const hooks = marked.defaults.hooks || new Hooks();\n for (const prop in pack.hooks) {\n const prevHook = hooks[prop];\n if (Hooks.passThroughHooks.has(prop)) {\n hooks[prop] = (arg) => {\n if (marked.defaults.async) {\n return Promise.resolve(pack.hooks[prop].call(hooks, arg)).then(ret => {\n return prevHook.call(hooks, ret);\n });\n }\n\n const ret = pack.hooks[prop].call(hooks, arg);\n return prevHook.call(hooks, ret);\n };\n } else {\n hooks[prop] = (...args) => {\n let ret = pack.hooks[prop].apply(hooks, args);\n if (ret === false) {\n ret = prevHook.apply(hooks, args);\n }\n return ret;\n };\n }\n }\n opts.hooks = hooks;\n }\n\n // ==-- Parse WalkTokens extensions --== //\n if (pack.walkTokens) {\n const walkTokens = marked.defaults.walkTokens;\n opts.walkTokens = function(token) {\n let values = [];\n values.push(pack.walkTokens.call(this, token));\n if (walkTokens) {\n values = values.concat(walkTokens.call(this, token));\n }\n return values;\n };\n }\n\n marked.setOptions(opts);\n });\n};\n\n/**\n * Run callback for every token\n */\n\nmarked.walkTokens = function(tokens, callback) {\n let values = [];\n for (const token of tokens) {\n values = values.concat(callback.call(marked, token));\n switch (token.type) {\n case 'table': {\n for (const cell of token.header) {\n values = values.concat(marked.walkTokens(cell.tokens, callback));\n }\n for (const row of token.rows) {\n for (const cell of row) {\n values = values.concat(marked.walkTokens(cell.tokens, callback));\n }\n }\n break;\n }\n case 'list': {\n values = values.concat(marked.walkTokens(token.items, callback));\n break;\n }\n default: {\n if (marked.defaults.extensions && marked.defaults.extensions.childTokens && marked.defaults.extensions.childTokens[token.type]) { // Walk any extensions\n marked.defaults.extensions.childTokens[token.type].forEach(function(childTokens) {\n values = values.concat(marked.walkTokens(token[childTokens], callback));\n });\n } else if (token.tokens) {\n values = values.concat(marked.walkTokens(token.tokens, callback));\n }\n }\n }\n }\n return values;\n};\n\n/**\n * Parse Inline\n * @param {string} src\n */\nmarked.parseInline = parseMarkdown(Lexer.lexInline, Parser.parseInline);\n\n/**\n * Expose\n */\nmarked.Parser = Parser;\nmarked.parser = Parser.parse;\nmarked.Renderer = Renderer;\nmarked.TextRenderer = TextRenderer;\nmarked.Lexer = Lexer;\nmarked.lexer = Lexer.lex;\nmarked.Tokenizer = Tokenizer;\nmarked.Slugger = Slugger;\nmarked.Hooks = Hooks;\nmarked.parse = marked;\n\nconst options = marked.options;\nconst setOptions = marked.setOptions;\nconst use = marked.use;\nconst walkTokens = marked.walkTokens;\nconst parseInline = marked.parseInline;\nconst parse = marked;\nconst parser = Parser.parse;\nconst lexer = Lexer.lex;\n\nexport { Hooks, Lexer, Parser, Renderer, Slugger, TextRenderer, Tokenizer, defaults, getDefaults, lexer, marked, options, parse, parseInline, parser, setOptions, use, walkTokens };\n","import * as i0 from '@angular/core';\nimport { Component, ChangeDetectionStrategy, Pipe, InjectionToken, PLATFORM_ID, Injectable, Inject, Optional, EventEmitter, Input, Output, SecurityContext, NgModule } from '@angular/core';\nimport { Subject, merge, of, timer } from 'rxjs';\nimport { switchMap, mapTo, distinctUntilChanged, shareReplay, startWith, map, takeUntil, first } from 'rxjs/operators';\nimport * as i1 from '@angular/common';\nimport { isPlatformBrowser, CommonModule } from '@angular/common';\nimport { Renderer, marked } from 'marked';\nexport { Renderer as MarkedRenderer } from 'marked';\nimport * as i1$1 from '@angular/common/http';\nimport * as i4 from '@angular/platform-browser';\n\nconst BUTTON_TEXT_COPY = 'Copy';\nconst BUTTON_TEXT_COPIED = 'Copied';\nclass ClipboardButtonComponent {\n constructor() {\n this._buttonClick$ = new Subject();\n this.copied$ = this._buttonClick$.pipe(switchMap(() => merge(of(true), timer(3000).pipe(mapTo(false)))), distinctUntilChanged(), shareReplay(1));\n this.copiedText$ = this.copied$.pipe(startWith(false), map(copied => copied\n ? BUTTON_TEXT_COPIED\n : BUTTON_TEXT_COPY));\n }\n onCopyToClipboardClick() {\n this._buttonClick$.next();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: ClipboardButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: ClipboardButtonComponent, selector: \"markdown-clipboard\", ngImport: i0, template: `\r\n <button\r\n class=\"markdown-clipboard-button\"\r\n [class.copied]=\"copied$ | async\"\r\n (click)=\"onCopyToClipboardClick()\"\r\n >{{ copiedText$ | async }}</button>\r\n `, isInline: true, dependencies: [{ kind: \"pipe\", type: i1.AsyncPipe, name: \"async\" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: ClipboardButtonComponent, decorators: [{\n type: Component,\n args: [{\n selector: 'markdown-clipboard',\n template: `\r\n <button\r\n class=\"markdown-clipboard-button\"\r\n [class.copied]=\"copied$ | async\"\r\n (click)=\"onCopyToClipboardClick()\"\r\n >{{ copiedText$ | async }}</button>\r\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n }]\n }] });\n\nclass ClipboardOptions {\n}\nclass ClipboardRenderOptions extends ClipboardOptions {\n}\n\n/* eslint-disable */\nclass KatexSpecificOptions {\n}\n\nclass LanguagePipe {\n transform(value, language) {\n if (value == null) {\n value = '';\n }\n if (language == null) {\n language = '';\n }\n if (typeof value !== 'string') {\n console.error(`LanguagePipe has been invoked with an invalid value type [${typeof value}]`);\n return value;\n }\n if (typeof language !== 'string') {\n console.error(`LanguagePipe has been invoked with an invalid parameter [${typeof language}]`);\n return value;\n }\n return '```' + language + '\\n' + value + '\\n```';\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: LanguagePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: LanguagePipe, name: \"language\" }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: LanguagePipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'language',\n }]\n }] });\n\nvar PrismPlugin;\n(function (PrismPlugin) {\n PrismPlugin[\"CommandLine\"] = \"command-line\";\n PrismPlugin[\"LineHighlight\"] = \"line-highlight\";\n PrismPlugin[\"LineNumbers\"] = \"line-numbers\";\n})(PrismPlugin || (PrismPlugin = {}));\n\nclass MarkedOptions {\n}\n\n/* eslint-disable max-len */\nconst errorJoyPixelsNotLoaded = '[ngx-markdown] When using the `emoji` attribute you *have to* include Emoji-Toolkit files to `angular.json` or use imports. See README for more information';\nconst errorKatexNotLoaded = '[ngx-markdown] When using the `katex` attribute you *have to* include KaTeX files to `angular.json` or use imports. See README for more information';\nconst errorMermaidNotLoaded = '[ngx-markdown] When using the `mermaid` attribute you *have to* include Mermaid files to `angular.json` or use imports. See README for more information';\nconst errorClipboardNotLoaded = '[ngx-markdown] When using the `clipboard` attribute you *have to* include Clipboard files to `angular.json` or use imports. See README for more information';\nconst errorClipboardViewContainerRequired = '[ngx-markdown] When using the `clipboard` attribute you *have to* provide the `viewContainerRef` parameter to `MarkdownService.render()` function';\nconst errorSrcWithoutHttpClient = '[ngx-markdown] When using the `src` attribute you *have to* pass the `HttpClient` as a parameter of the `forRoot` method. See README for more information';\n/* eslint-enable max-len */\nconst SECURITY_CONTEXT = new InjectionToken('SECURITY_CONTEXT');\nclass ExtendedRenderer extends Renderer {\n constructor() {\n super(...arguments);\n this.ɵNgxMarkdownRendererExtended = false;\n }\n}\nclass MarkdownService {\n get options() { return this._options; }\n set options(value) {\n this._options = { ...this.DEFAULT_MARKED_OPTIONS, ...value };\n }\n get renderer() { return this.options.renderer; }\n set renderer(value) {\n this.options.renderer = value;\n }\n constructor(platform, securityContext, http, clipboardOptions, options, sanitizer) {\n this.platform = platform;\n this.securityContext = securityContext;\n this.http = http;\n this.clipboardOptions = clipboardOptions;\n this.sanitizer = sanitizer;\n this.DEFAULT_MARKED_OPTIONS = {\n renderer: new Renderer(),\n };\n this.DEFAULT_KATEX_OPTIONS = {\n delimiters: [\n { left: \"$$\", right: \"$$\", display: true },\n { left: \"$\", right: \"$\", display: false },\n { left: \"\\\\(\", right: \"\\\\)\", display: false },\n { left: \"\\\\begin{equation}\", right: \"\\\\end{equation}\", display: true },\n { left: \"\\\\begin{align}\", right: \"\\\\end{align}\", display: true },\n { left: \"\\\\begin{alignat}\", right: \"\\\\end{alignat}\", display: true },\n { left: \"\\\\begin{gather}\", right: \"\\\\end{gather}\", display: true },\n { left: \"\\\\begin{CD}\", right: \"\\\\end{CD}\", display: true },\n { left: \"\\\\[\", right: \"\\\\]\", display: true },\n ],\n };\n this.DEFAULT_MERMAID_OPTIONS = {\n startOnLoad: false,\n };\n this.DEFAULT_CLIPBOARD_OPTIONS = {\n buttonComponent: undefined,\n };\n this.DEFAULT_PARSE_OPTIONS = {\n decodeHtml: false,\n inline: false,\n emoji: false,\n mermaid: false,\n markedOptions: this.DEFAULT_MARKED_OPTIONS,\n disableSanitizer: false,\n };\n this.DEFAULT_RENDER_OPTIONS = {\n clipboard: false,\n clipboardOptions: undefined,\n katex: false,\n katexOptions: undefined,\n mermaid: false,\n mermaidOptions: undefined,\n };\n this._reload$ = new Subject();\n this.reload$ = this._reload$.asObservable();\n this.options = options;\n }\n parse(markdown, parseOptions = this.DEFAULT_PARSE_OPTIONS) {\n const { decodeHtml, inline, emoji, mermaid, disableSanitizer, } = parseOptions;\n const markedOptions = {\n ...this.options,\n ...parseOptions.markedOptions,\n };\n if (mermaid) {\n this.renderer = this.extendRenderer(markedOptions.renderer || new Renderer());\n }\n const trimmed = this.trimIndentation(markdown);\n const decoded = decodeHtml ? this.decodeHtml(trimmed) : trimmed;\n const emojified = emoji ? this.parseEmoji(decoded) : decoded;\n const marked = this.parseMarked(emojified, markedOptions, inline);\n const sanitized = disableSanitizer ? marked : this.sanitizer.sanitize(this.securityContext, marked);\n return sanitized || '';\n }\n render(element, options = this.DEFAULT_RENDER_OPTIONS, viewContainerRef) {\n const { clipboard, clipboardOptions, katex, katexOptions, mermaid, mermaidOptions, } = options;\n if (clipboard) {\n this.renderClipboard(element, viewContainerRef, {\n ...this.DEFAULT_CLIPBOARD_OPTIONS,\n ...this.clipboardOptions,\n ...clipboardOptions,\n });\n }\n if (katex) {\n this.renderKatex(element, {\n ...this.DEFAULT_KATEX_OPTIONS,\n ...katexOptions,\n });\n }\n if (mermaid) {\n this.renderMermaid(element, {\n ...this.DEFAULT_MERMAID_OPTIONS,\n ...mermaidOptions,\n });\n }\n this.highlight(element);\n }\n reload() {\n this._reload$.next();\n }\n getSource(src) {\n if (!this.http) {\n throw new Error(errorSrcWithoutHttpClient);\n }\n return this.http\n .get(src, { responseType: 'text' })\n .pipe(map(markdown => this.handleExtension(src, markdown)));\n }\n highlight(element) {\n if (!isPlatformBrowser(this.platform)) {\n return;\n }\n if (typeof Prism === 'undefined' || typeof Prism.highlightAllUnder === 'undefined') {\n return;\n }\n if (!element) {\n element = document;\n }\n const noLanguageElements = element.querySelectorAll('pre code:not([class*=\"language-\"])');\n Array.prototype.forEach.call(noLanguageElements, (x) => x.classList.add('language-none'));\n Prism.highlightAllUnder(element);\n }\n decodeHtml(html) {\n if (!isPlatformBrowser(this.platform)) {\n return html;\n }\n const textarea = document.createElement('textarea');\n textarea.innerHTML = html;\n return textarea.value;\n }\n extendRenderer(renderer) {\n const extendedRenderer = renderer;\n if (extendedRenderer.ɵNgxMarkdownRendererExtended === true) {\n return renderer;\n }\n // eslint-disable-next-line @typescript-eslint/unbound-method\n const defaultCode = renderer.code;\n renderer.code = function (code, language, isEscaped) {\n return language === 'mermaid'\n ? `<div class=\"mermaid\">${code}</div>`\n : defaultCode.call(this, code, language, isEscaped);\n };\n extendedRenderer.ɵNgxMarkdownRendererExtended = true;\n return renderer;\n }\n handleExtension(src, markdown) {\n const urlProtocolIndex = src.lastIndexOf('://');\n const urlWithoutProtocol = urlProtocolIndex > -1\n ? src.substring(urlProtocolIndex + 4)\n : src;\n const lastSlashIndex = urlWithoutProtocol.lastIndexOf('/');\n const lastUrlSegment = lastSlashIndex > -1\n ? urlWithoutProtocol.substring(lastSlashIndex + 1).split('?')[0]\n : '';\n const lastDotIndex = lastUrlSegment.lastIndexOf('.');\n const extension = lastDotIndex > -1\n ? lastUrlSegment.substring(lastDotIndex + 1)\n : '';\n return !!extension && extension !== 'md'\n ? '```' + extension + '\\n' + markdown + '\\n```'\n : markdown;\n }\n parseMarked(html, markedOptions, inline = false) {\n return inline\n ? marked.parseInline(html, markedOptions)\n : marked.parse(html, markedOptions);\n }\n parseEmoji(html) {\n if (!isPlatformBrowser(this.platform)) {\n return html;\n }\n if (typeof joypixels === 'undefined' || typeof joypixels.shortnameToUnicode === 'undefined') {\n throw new Error(errorJoyPixelsNotLoaded);\n }\n return joypixels.shortnameToUnicode(html);\n }\n renderKatex(element, options) {\n if (!isPlatformBrowser(this.platform)) {\n return;\n }\n if (typeof katex === 'undefined' || typeof renderMathInElement === 'undefined') {\n throw new Error(errorKatexNotLoaded);\n }\n renderMathInElement(element, options);\n }\n renderClipboard(element, viewContainerRef, options) {\n if (!isPlatformBrowser(this.platform)) {\n return;\n }\n if (typeof ClipboardJS === 'undefined') {\n throw new Error(errorClipboardNotLoaded);\n }\n if (!viewContainerRef) {\n throw new Error(errorClipboardViewContainerRequired);\n }\n const { buttonComponent, buttonTemplate, } = options;\n // target every <pre> elements\n const preElements = element.querySelectorAll('pre');\n for (let i = 0; i < preElements.length; i++) {\n const preElement = preElements.item(i);\n // create <pre> wrapper element\n const preWrapperElement = document.createElement('div');\n preWrapperElement.style.position = 'relative';\n preElement.parentNode.insertBefore(preWrapperElement, preElement);\n preWrapperElement.appendChild(preElement);\n // create toolbar element\n const toolbarWrapperElement = document.createElement('div');\n toolbarWrapperElement.style.position = 'absolute';\n toolbarWrapperElement.style.top = '.5em';\n toolbarWrapperElement.style.right = '.5em';\n toolbarWrapperElement.style.opacity = '0';\n toolbarWrapperElement.style.transition = 'opacity 250ms ease-out';\n preWrapperElement.insertAdjacentElement('beforeend', toolbarWrapperElement);\n // register listener to show/hide toolbar\n preElement.onmouseover = () => toolbarWrapperElement.style.opacity = '1';\n preElement.onmouseout = () => toolbarWrapperElement.style.opacity = '0';\n // declare embeddedViewRef holding variable\n let embeddedViewRef;\n // use provided component via input property\n // or provided via ClipboardOptions provider\n if (buttonComponent) {\n const componentRef = viewContainerRef.createComponent(buttonComponent);\n embeddedViewRef = componentRef.hostView;\n }\n // use provided template via input property\n else if (buttonTemplate) {\n embeddedViewRef = viewContainerRef.createEmbeddedView(buttonTemplate);\n }\n // use default component\n else {\n const componentRef = viewContainerRef.createComponent(ClipboardButtonComponent);\n embeddedViewRef = componentRef.hostView;\n }\n // declare clipboard instance variable\n let clipboardInstance;\n // attach clipboard.js to root node\n embeddedViewRef.rootNodes.forEach((node) => {\n node.onmouseover = () => toolbarWrapperElement.style.opacity = '1';\n toolbarWrapperElement.appendChild(node);\n clipboardInstance = new ClipboardJS(node, { text: () => preElement.innerText });\n });\n // destroy clipboard instance when view is destroyed\n embeddedViewRef.onDestroy(() => clipboardInstance.destroy());\n }\n }\n renderMermaid(element, options = this.DEFAULT_MERMAID_OPTIONS) {\n if (!isPlatformBrowser(this.platform)) {\n return;\n }\n if (typeof mermaid === 'undefined' || typeof mermaid.init === 'undefined') {\n throw new Error(errorMermaidNotLoaded);\n }\n const mermaidElements = element.querySelectorAll('.mermaid');\n if (mermaidElements.length === 0) {\n return;\n }\n mermaid.initialize(options);\n mermaid.init(mermaidElements);\n }\n trimIndentation(markdown) {\n if (!markdown) {\n return '';\n }\n let indentStart;\n return markdown\n .split('\\n')\n .map(line => {\n let lineIdentStart = indentStart;\n if (line.length > 0) {\n lineIdentStart = isNaN(lineIdentStart)\n ? line.search(/\\S|$/)\n : Math.min(line.search(/\\S|$/), lineIdentStart);\n }\n if (isNaN(indentStart)) {\n indentStart = lineIdentStart;\n }\n return lineIdentStart\n ? line.substring(lineIdentStart)\n : line;\n }).join('\\n');\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MarkdownService, deps: [{ token: PLATFORM_ID }, { token: SECURITY_CONTEXT }, { token: i1$1.HttpClient, optional: true }, { token: ClipboardOptions, optional: true }, { token: MarkedOptions, optional: true }, { token: i4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MarkdownService }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MarkdownService, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: Object, decorators: [{\n type: Inject,\n args: [PLATFORM_ID]\n }] }, { type: i0.SecurityContext, decorators: [{\n type: Inject,\n args: [SECURITY_CONTEXT]\n }] }, { type: i1$1.HttpClient, decorators: [{\n type: Optional\n }] }, { type: ClipboardOptions, decorators: [{\n type: Optional\n }] }, { type: MarkedOptions, decorators: [{\n type: Optional\n }] }, { type: i4.DomSanitizer }]; } });\n\n/* eslint-disable @typescript-eslint/no-unused-vars */\nclass MarkdownComponent {\n get disableSanitizer() { return this._disableSanitizer; }\n set disableSanitizer(value) { this._disableSanitizer = this.coerceBooleanProperty(value); }\n get inline() { return this._inline; }\n set inline(value) { this._inline = this.coerceBooleanProperty(value); }\n get srcRelativeLink() { return this._srcRelativeLink; }\n set srcRelativeLink(value) { this._srcRelativeLink = this.coerceBooleanProperty(value); }\n // Plugin - clipboard\n get clipboard() { return this._clipboard; }\n set clipboard(value) { this._clipboard = this.coerceBooleanProperty(value); }\n // Plugin - emoji\n get emoji() { return this._emoji; }\n set emoji(value) { this._emoji = this.coerceBooleanProperty(value); }\n // Plugin - katex\n get katex() { return this._katex; }\n set katex(value) { this._katex = this.coerceBooleanProperty(value); }\n // Plugin - mermaid\n get mermaid() { return this._mermaid; }\n set mermaid(value) { this._mermaid = this.coerceBooleanProperty(value); }\n // Plugin - lineHighlight\n get lineHighlight() { return this._lineHighlight; }\n set lineHighlight(value) { this._lineHighlight = this.coerceBooleanProperty(value); }\n // Plugin - lineNumbers\n get lineNumbers() { return this._lineNumbers; }\n set lineNumbers(value) { this._lineNumbers = this.coerceBooleanProperty(value); }\n // Plugin - commandLine\n get commandLine() { return this._commandLine; }\n set commandLine(value) { this._commandLine = this.coerceBooleanProperty(value); }\n constructor(element, markdownService, viewContainerRef) {\n this.element = element;\n this.markdownService = markdownService;\n this.viewContainerRef = viewContainerRef;\n // Event emitters\n this.error = new EventEmitter();\n this.load = new EventEmitter();\n this.ready = new EventEmitter();\n this._clipboard = false;\n this._commandLine = false;\n this._disableSanitizer = false;\n this._emoji = false;\n this._inline = false;\n this._katex = false;\n this._lineHighlight = false;\n this._lineNumbers = false;\n this._mermaid = false;\n this._srcRelativeLink = false;\n this.destroyed$ = new Subject();\n }\n ngOnChanges() {\n this.loadContent();\n }\n loadContent() {\n if (this.data != null) {\n this.handleData();\n return;\n }\n if (this.src != null) {\n this.handleSrc();\n return;\n }\n }\n ngAfterViewInit() {\n if (!this.data && !this.src) {\n this.handleTransclusion();\n }\n this.markdownService.reload$\n .pipe(takeUntil(this.destroyed$))\n .subscribe(() => this.loadContent());\n }\n ngOnDestroy() {\n this.destroyed$.next();\n this.destroyed$.complete();\n }\n render(markdown, decodeHtml = false) {\n let markedOptions;\n if (this.src && this.srcRelativeLink) {\n const baseUrl = new URL(this.src, location.origin).pathname;\n markedOptions = { baseUrl };\n }\n const parsedOptions = {\n decodeHtml,\n inline: this.inline,\n emoji: this.emoji,\n mermaid: this.mermaid,\n markedOptions,\n disableSanitizer: this.disableSanitizer,\n };\n const renderOptions = {\n clipboard: this.clipboard,\n clipboardOptions: {\n buttonComponent: this.clipboardButtonComponent,\n buttonTemplate: this.clipboardButtonTemplate,\n },\n katex: this.katex,\n katexOptions: this.katexOptions,\n mermaid: this.mermaid,\n mermaidOptions: this.mermaidOptions,\n };\n const parsed = this.markdownService.parse(markdown, parsedOptions);\n this.element.nativeElement.innerHTML = parsed;\n this.handlePlugins();\n this.markdownService.render(this.element.nativeElement, renderOptions, this.viewContainerRef);\n this.ready.emit();\n }\n coerceBooleanProperty(value) {\n return value != null && `${String(value)}` !== 'false';\n }\n handleData() {\n this.render(this.data);\n }\n handleSrc() {\n this.markdownService\n .getSource(this.src)\n .subscribe({\n next: markdown => {\n this.render(markdown);\n this.load.emit(markdown);\n },\n error: (error) => this.error.emit(error),\n });\n }\n handleTransclusion() {\n this.render(this.element.nativeElement.innerHTML, true);\n }\n handlePlugins() {\n if (this.commandLine) {\n this.setPluginClass(this.element.nativeElement, PrismPlugin.CommandLine);\n this.setPluginOptions(this.element.nativeElement, {\n dataFilterOutput: this.filterOutput,\n dataHost: this.host,\n dataPrompt: this.prompt,\n dataOutput: this.output,\n dataUser: this.user,\n });\n }\n if (this.lineHighlight) {\n this.setPluginOptions(this.element.nativeElement, { dataLine: this.line, dataLineOffset: this.lineOffset });\n }\n if (this.lineNumbers) {\n this.setPluginClass(this.element.nativeElement, PrismPlugin.LineNumbers);\n this.setPluginOptions(this.element.nativeElement, { dataStart: this.start });\n }\n }\n setPluginClass(element, plugin) {\n const preElements = element.querySelectorAll('pre');\n for (let i = 0; i < preElements.length; i++) {\n const classes = plugin instanceof Array ? plugin : [plugin];\n preElements.item(i).classList.add(...classes);\n }\n }\n setPluginOptions(element, options) {\n const preElements = element.querySelectorAll('pre');\n for (let i = 0; i < preElements.length; i++) {\n Object.keys(options).forEach(option => {\n const attributeValue = options[option];\n if (attributeValue) {\n const attributeName = this.toLispCase(option);\n preElements.item(i).setAttribute(attributeName, attributeValue.toString());\n }\n });\n }\n }\n toLispCase(value) {\n const upperChars = value.match(/([A-Z])/g);\n if (!upperChars) {\n return value;\n }\n let str = value.toString();\n for (let i = 0, n = upperChars.length; i < n; i++) {\n str = str.replace(new RegExp(upperChars[i]), '-' + upperChars[i].toLowerCase());\n }\n if (str.slice(0, 1) === '-') {\n str = str.slice(1);\n }\n return str;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MarkdownComponent, deps: [{ token: i0.ElementRef }, { token: MarkdownService }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MarkdownComponent, selector: \"markdown, [markdown]\", inputs: { data: \"data\", src: \"src\", disableSanitizer: \"disableSanitizer\", inline: \"inline\", srcRelativeLink: \"srcRelativeLink\", clipboard: \"clipboard\", clipboardButtonComponent: \"clipboardButtonComponent\", clipboardButtonTemplate: \"clipboardButtonTemplate\", emoji: \"emoji\", katex: \"katex\", katexOptions: \"katexOptions\", mermaid: \"mermaid\", mermaidOptions: \"mermaidOptions\", lineHighlight: \"lineHighlight\", line: \"line\", lineOffset: \"lineOffset\", lineNumbers: \"lineNumbers\", start: \"start\", commandLine: \"commandLine\", filterOutput: \"filterOutput\", host: \"host\", prompt: \"prompt\", output: \"output\", user: \"user\" }, outputs: { error: \"error\", load: \"load\", ready: \"ready\" }, usesOnChanges: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MarkdownComponent, decorators: [{\n type: Component,\n args: [{\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'markdown, [markdown]',\n template: '<ng-content></ng-content>',\n }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: MarkdownService }, { type: i0.ViewContainerRef }]; }, propDecorators: { data: [{\n type: Input\n }], src: [{\n type: Input\n }], disableSanitizer: [{\n type: Input\n }], inline: [{\n type: Input\n }], srcRelativeLink: [{\n type: Input\n }], clipboard: [{\n type: Input\n }], clipboardButtonComponent: [{\n type: Input\n }], clipboardButtonTemplate: [{\n type: Input\n }], emoji: [{\n type: Input\n }], katex: [{\n type: Input\n }], katexOptions: [{\n type: Input\n }], mermaid: [{\n type: Input\n }], mermaidOptions: [{\n type: Input\n }], lineHighlight: [{\n type: Input\n }], line: [{\n type: Input\n }], lineOffset: [{\n type: Input\n }], lineNumbers: [{\n type: Input\n }], start: [{\n type: Input\n }], commandLine: [{\n type: Input\n }], filterOutput: [{\n type: Input\n }], host: [{\n type: Input\n }], prompt: [{\n type: Input\n }], output: [{\n type: Input\n }], user: [{\n type: Input\n }], error: [{\n type: Output\n }], load: [{\n type: Output\n }], ready: [{\n type: Output\n }] } });\n\nclass MarkdownPipe {\n constructor(domSanitizer, elementRef, markdownService, viewContainerRef, zone) {\n this.domSanitizer = domSanitizer;\n this.elementRef = elementRef;\n this.markdownService = markdownService;\n this.viewContainerRef = viewContainerRef;\n this.zone = zone;\n }\n transform(value, options) {\n if (value == null) {\n return '';\n }\n if (typeof value !== 'string') {\n console.error(`MarkdownPipe has been invoked with an invalid value type [${typeof value}]`);\n return value;\n }\n const markdown = this.markdownService.parse(value, options);\n this.zone.onStable\n .pipe(first())\n .subscribe(() => this.markdownService.render(this.elementRef.nativeElement, options, this.viewContainerRef));\n return this.domSanitizer.bypassSecurityTrustHtml(markdown);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MarkdownPipe, deps: [{ token: i4.DomSanitizer }, { token: i0.ElementRef }, { token: MarkdownService }, { token: i0.ViewContainerRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MarkdownPipe, name: \"markdown\" }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MarkdownPipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'markdown',\n }]\n }], ctorParameters: function () { return [{ type: i4.DomSanitizer }, { type: i0.ElementRef }, { type: MarkdownService }, { type: i0.ViewContainerRef }, { type: i0.NgZone }]; } });\n\nconst sharedDeclarations = [\n ClipboardButtonComponent,\n LanguagePipe,\n MarkdownComponent,\n MarkdownPipe,\n];\nclass MarkdownModule {\n static forRoot(markdownModuleConfig) {\n return {\n ngModule: MarkdownModule,\n providers: [\n MarkdownService,\n markdownModuleConfig && markdownModuleConfig.loader || [],\n markdownModuleConfig && markdownModuleConfig.clipboardOptions || [],\n markdownModuleConfig && markdownModuleConfig.markedOptions || [],\n {\n provide: SECURITY_CONTEXT,\n useValue: markdownModuleConfig && markdownModuleConfig.sanitize != null\n ? markdownModuleConfig.sanitize\n : SecurityContext.HTML,\n },\n ],\n };\n }\n static forChild() {\n return {\n ngModule: MarkdownModule,\n };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MarkdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MarkdownModule, declarations: [ClipboardButtonComponent,\n LanguagePipe,\n MarkdownComponent,\n MarkdownPipe], imports: [CommonModule], exports: [ClipboardButtonComponent,\n LanguagePipe,\n MarkdownComponent,\n MarkdownPipe] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MarkdownModule, imports: [CommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MarkdownModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [CommonModule],\n exports: sharedDeclarations,\n declarations: sharedDeclarations,\n }]\n }] });\n\n/* eslint-disable */\nvar MermaidAPI;\n(function (MermaidAPI) {\n let SecurityLevel;\n (function (SecurityLevel) {\n /**\n * (default) tags in text are encoded, click functionality is disabled\n */\n SecurityLevel[\"Strict\"] = \"strict\";\n /**\n * tags in text are allowed, click functionality is enabled\n */\n SecurityLevel[\"Loose\"] = \"loose\";\n /**\n * html tags in text are allowed, (only script element is removed), click functionality is enabled\n */\n SecurityLevel[\"Antiscript\"] = \"antiscript\";\n /**\n * with this security level all rendering takes place in a sandboxed iframe.\n * This prevent any javascript running in the context.\n * This may hinder interactive functionality of the diagram like scripts,\n * popups in sequence diagram or links to other tabs/targets etc.\n */\n SecurityLevel[\"Sandbox\"] = \"sandbox\";\n })(SecurityLevel = MermaidAPI.SecurityLevel || (MermaidAPI.SecurityLevel = {}));\n let Theme;\n (function (Theme) {\n /**\n * Designed to modified, as the name implies it is supposed to be used as the base for making custom themes.\n */\n Theme[\"Base\"] = \"base\";\n /**\n * A theme full of light greens that is easy on the eyes.\n */\n Theme[\"Forest\"] = \"forest\";\n /**\n * A theme that would go well with other dark colored elements.\n */\n Theme[\"Dark\"] = \"dark\";\n /**\n * The default theme for all diagrams.\n */\n Theme[\"Default\"] = \"default\";\n /**\n * The theme to be used for black and white printing\n */\n Theme[\"Neutral\"] = \"neutral\";\n })(Theme = MermaidAPI.Theme || (MermaidAPI.Theme = {}));\n let LogLevel;\n (function (LogLevel) {\n LogLevel[LogLevel[\"Debug\"] = 1] = \"Debug\";\n LogLevel[LogLevel[\"Info\"] = 2] = \"Info\";\n LogLevel[LogLevel[\"Warn\"] = 3] = \"Warn\";\n LogLevel[LogLevel[\"Error\"] = 4] = \"Error\";\n LogLevel[LogLevel[\"Fatal\"] = 5] = \"Fatal\";\n })(LogLevel = MermaidAPI.LogLevel || (MermaidAPI.LogLevel = {}));\n})(MermaidAPI || (MermaidAPI = {}));\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { ClipboardButtonComponent, ClipboardOptions, ClipboardRenderOptions, ExtendedRenderer, KatexSpecificOptions, LanguagePipe, MarkdownComponent, MarkdownModule, MarkdownPipe, MarkdownService, MarkedOptions, MermaidAPI, PrismPlugin, SECURITY_CONTEXT, errorClipboardNotLoaded, errorClipboardViewContainerRequired, errorJoyPixelsNotLoaded, errorKatexNotLoaded, errorMermaidNotLoaded, errorSrcWithoutHttpClient };\n","import * as i0 from '@angular/core';\nimport { EventEmitter, forwardRef, Component, Output, Input, NgModule, Injectable } from '@angular/core';\nimport * as i2 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i1 from '@angular/forms';\nimport { Validators, NG_VALUE_ACCESSOR, NG_VALIDATORS, ReactiveFormsModule, FormsModule } from '@angular/forms';\nimport { FlexLayoutModule } from '@angular/flex-layout';\nimport * as i3 from 'angular-split';\nimport { AngularSplitModule } from 'angular-split';\nimport { MaterialModule } from '@rollthecloudinc/material';\nimport { NgxJsonViewerModule } from 'ngx-json-viewer';\nimport * as i10 from 'ngx-markdown';\nimport { MarkdownModule } from 'ngx-markdown';\nimport * as i9 from '@rollthecloudinc/utils';\nimport { UtilsModule } from '@rollthecloudinc/utils';\nimport { distinctUntilChanged, debounceTime, map } from 'rxjs/operators';\nimport * as i4 from '@angular/material/legacy-core';\nimport * as i5 from '@angular/material/legacy-button';\nimport * as i6 from '@angular/material/legacy-dialog';\nimport * as i7 from '@angular/material/legacy-form-field';\nimport * as i8 from '@angular/material/legacy-select';\nimport { of } from 'rxjs';\n\nclass Snippet {\n constructor(data) {\n if (data) {\n this.content = data.content;\n this.contentType = data.contentType;\n if (data.jsFile && data.jsFile !== '') {\n this.jsFile = data.jsFile;\n }\n if (data.jsScript && data.jsScript !== '') {\n this.jsScript = data.jsScript;\n }\n }\n }\n}\n\nclass SnippetFormComponent {\n set snippet(snippet) {\n if (snippet !== undefined) {\n this.contentForm.setValue({\n ...snippet,\n jsScript: snippet.jsScript && snippet.jsScript !== '' ? snippet.jsScript : ''\n });\n }\n }\n constructor(fb) {\n this.fb = fb;\n this.submitted = new EventEmitter();\n this.splitDirection = 'vertical';\n this.rows = 40;\n this.cols = 100;\n this.rootForm = true;\n this.onTouched = () => { };\n this.contentForm = this.fb.group({\n content: this.fb.control('', Validators.required),\n contentType: this.fb.control('', Validators.required),\n jsScript: this.fb.control('')\n });\n this.isMarkdown = false;\n this.contentEditorOptions = { theme: 'vs-dark', language: 'text/html' /*, automaticLayout: true*/ };\n }\n ngOnInit() {\n this.contentForm.get(\"content\").valueChanges.pipe(distinctUntilChanged(), debounceTime(500), map(v => this.tokens !== undefined ? this.replaceTokens(v) : v)).subscribe(v => {\n this.preview = v;\n });\n this.contentForm.get(\"contentType\").valueChanges.subscribe(v => {\n this.isMarkdown = v === 'text/markdown';\n });\n }\n writeValue(val) {\n if (val) {\n console.log(`write value: ${val}`);\n this.contentForm.setValue(val, { emitEvent: false });\n }\n }\n registerOnChange(fn) {\n this.contentForm.valueChanges.subscribe(fn);\n }\n registerOnTouched(fn) {\n this.onTouched = fn;\n }\n setDisabledState(isDisabled) {\n if (isDisabled) {\n this.contentForm.disable();\n }\n else {\n this.contentForm.enable();\n }\n }\n validate(c) {\n return this.contentForm.valid ? null : { invalidForm: { valid: false, message: \"snippet is invalid\" } };\n }\n submit() {\n this.submitted.emit(new Snippet({\n content: this.contentForm.get('content').value,\n contentType: this.contentForm.get('contentType').value,\n jsScript: this.contentForm.get('jsScript').value\n }));\n }\n replaceTokens(v) {\n if (this.tokens) {\n this.tokens.forEach((value, key) => {\n v = v.replace(`[${key}]`, `${value} [token = '${key}']`);\n });\n }\n return v;\n }\n addScript() {\n // const src = 'https://80ry0dd5s4.execute-api.us-east-1.amazonaws.com/media/bridge-test-12.js';\n let script = document.createElement('script');\n script.type = 'text/javascript';\n // script.src = src;\n document.getElementsByTagName('head')[0].appendChild(script);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: SnippetFormComponent, deps: [{ token: i1.UntypedFormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: SnippetFormComponent, selector: \"classifieds-ui-snippet-form\", inputs: { tokens: \"tokens\", splitDirection: \"splitDirection\", rows: \"rows\", cols: \"cols\", rootForm: \"rootForm\", snippet: \"snippet\" }, outputs: { submitted: \"submitted\" }, providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => SnippetFormComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => SnippetFormComponent),\n multi: true\n },\n ], ngImport: i0, template: \"<form *ngIf=\\\"rootForm\\\" [formGroup]=\\\"contentForm\\\" (ngSubmit)=\\\"submit()\\\">\\n <mat-dialog-content>\\n <div class=\\\"content-inner\\\">\\n <ng-container *ngTemplateOutlet=\\\"formBodyTpl\\\"></ng-container>\\n </div>\\n </mat-dialog-content>\\n <mat-dialog-actions>\\n <button type=\\\"submit\\\" mat-raised-button color=\\\"primary\\\" mat-dialog-close [disabled]=\\\"!contentForm.valid\\\">Save</button>\\n </mat-dialog-actions>\\n</form>\\n\\n<div *ngIf=\\\"!rootForm\\\" class=\\\"content-inner\\\">\\n <ng-container *ngTemplateOutlet=\\\"formBodyTpl\\\"></ng-container>\\n</div>\\n\\n<ng-template #formBodyTpl>\\n <as-split [direction]=\\\"splitDirection\\\" [formGroup]=\\\"contentForm\\\">\\n <as-split-area size=\\\"50\\\">\\n <div>\\n <ul [hidden]=\\\"true\\\" *ngIf=\\\"tokens\\\">\\n <li *ngFor=\\\"let token of tokens | keyvalue\\\">{{ token.key }}</li>\\n </ul>\\n <mat-form-field>\\n <mat-label>Content Type</mat-label>\\n <mat-select required formControlName=\\\"contentType\\\">\\n <mat-option value=\\\"text/markdown\\\">Markdown</mat-option>\\n <mat-option value=\\\"text/html\\\">HTML</mat-option>\\n <mat-option value=\\\"application/json\\\">JSON</mat-option>\\n </mat-select>\\n </mat-form-field>\\n </div>\\n <as-split direction=\\\"horizontal\\\">\\n <as-split-area size=\\\"50\\\">\\n <div>\\n <textarea formControlName=\\\"content\\\" [cols]=\\\"cols\\\" [rows]=\\\"rows\\\"></textarea>\\n <!-- <ngx-monaco-editor [options]=\\\"contentEditorOptions\\\"></ngx-monaco-editor> -->\\n </div>\\n </as-split-area>\\n <as-split-area size=\\\"50\\\">\\n <div>\\n <textarea formControlName=\\\"jsScript\\\" [cols]=\\\"cols\\\" [rows]=\\\"rows\\\"></textarea>\\n <!-- <ngx-monaco-editor formControlName=\\\"jsScript\\\"></ngx-monaco-editor> -->\\n </div>\\n </as-split-area>\\n </as-split>\\n </as-split-area>\\n <as-split-area size=\\\"50\\\">\\n <classifieds-ui-dynamic-content-viewer *ngIf=\\\"isMarkdown\\\" [content]=\\\"preview | markdown\\\"></classifieds-ui-dynamic-content-viewer>\\n <classifieds-ui-dynamic-content-viewer *ngIf=\\\"!isMarkdown\\\" [content]=\\\"preview\\\"></classifieds-ui-dynamic-content-viewer>\\n </as-split-area>\\n </as-split>\\n</ng-template>\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i2.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i2.NgTemplateOutlet, selector: \"[ngTemplateOutlet]\", inputs: [\"ngTemplateOutletContext\", \"ngTemplateOutlet\", \"ngTemplateOutletInjector\"] }, { kind: \"directive\", type: i1.ɵNgNoValidate, selector: \"form:not([ngNoForm]):not([ngNativeValidate])\" }, { kind: \"directive\", type: i1.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1.RequiredValidator, selector: \":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]\", inputs: [\"required\"] }, { kind: \"directive\", type: i1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: i3.SplitComponent, selector: \"as-split\", inputs: [\"direction\", \"unit\", \"gutterSize\", \"gutterStep\", \"restrictMove\", \"useTransition\", \"disabled\", \"dir\", \"gutterDblClickDuration\", \"gutterClickDeltaPx\", \"gutterAriaLabel\"], outputs: [\"transitionEnd\", \"dragStart\", \"dragEnd\", \"gutterClick\", \"gutterDblClick\"], exportAs: [\"asSplit\"] }, { kind: \"directive\", type: i3.SplitAreaDirective, selector: \"as-split-area, [as-split-area]\", inputs: [\"order\", \"size\", \"minSize\", \"maxSize\", \"lockSize\", \"visible\"], exportAs: [\"asSplitArea\"] }, { kind: \"component\", type: i4.MatLegacyOption, selector: \"mat-option\", exportAs: [\"matOption\"] }, { kind: \"component\", type: i5.MatLegacyButton, selector: \"button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]\", inputs: [\"disabled\", \"disableRipple\", \"color\"], exportAs: [\"matButton\"] }, { kind: \"directive\", type: i6.MatLegacyDialogClose, selector: \"[mat-dialog-close], [matDialogClose]\", inputs: [\"aria-label\", \"type\", \"mat-dialog-close\", \"matDialogClose\"], exportAs: [\"matDialogClose\"] }, { kind: \"directive\", type: i6.MatLegacyDialogContent, selector: \"[mat-dialog-content], mat-dialog-content, [matDialogContent]\" }, { kind: \"directive\", type: i6.MatLegacyDialogActions, selector: \"[mat-dialog-actions], mat-dialog-actions, [matDialogActions]\", inputs: [\"align\"] }, { kind: \"component\", type: i7.MatLegacyFormField, selector: \"mat-form-field\", inputs: [\"color\", \"appearance\", \"hideRequiredMarker\", \"hintLabel\", \"floatLabel\"], exportAs: [\"matFormField\"] }, { kind: \"directive\", type: i7.MatLegacyLabel, selector: \"mat-label\" }, { kind: \"component\", type: i8.MatLegacySelect, selector: \"mat-select\", inputs: [\"disabled\", \"disableRipple\", \"tabIndex\"], exportAs: [\"matSelect\"] }, { kind: \"component\", type: i9.DynamicContentViewer, selector: \"classifieds-ui-dynamic-content-viewer\", inputs: [\"data\", \"content\"], outputs: [\"docRendered\"] }, { kind: \"pipe\", type: i2.KeyValuePipe, name: \"keyvalue\" }, { kind: \"pipe\", type: i10.MarkdownPipe, name: \"markdown\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: SnippetFormComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-snippet-form', providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => SnippetFormComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => SnippetFormComponent),\n multi: true\n },\n ], template: \"<form *ngIf=\\\"rootForm\\\" [formGroup]=\\\"contentForm\\\" (ngSubmit)=\\\"submit()\\\">\\n <mat-dialog-content>\\n <div class=\\\"content-inner\\\">\\n <ng-container *ngTemplateOutlet=\\\"formBodyTpl\\\"></ng-container>\\n </div>\\n </mat-dialog-content>\\n <mat-dialog-actions>\\n <button type=\\\"submit\\\" mat-raised-button color=\\\"primary\\\" mat-dialog-close [disabled]=\\\"!contentForm.valid\\\">Save</button>\\n </mat-dialog-actions>\\n</form>\\n\\n<div *ngIf=\\\"!rootForm\\\" class=\\\"content-inner\\\">\\n <ng-container *ngTemplateOutlet=\\\"formBodyTpl\\\"></ng-container>\\n</div>\\n\\n<ng-template #formBodyTpl>\\n <as-split [direction]=\\\"splitDirection\\\" [formGroup]=\\\"contentForm\\\">\\n <as-split-area size=\\\"50\\\">\\n <div>\\n <ul [hidden]=\\\"true\\\" *ngIf=\\\"tokens\\\">\\n <li *ngFor=\\\"let token of tokens | keyvalue\\\">{{ token.key }}</li>\\n </ul>\\n <mat-form-field>\\n <mat-label>Content Type</mat-label>\\n <mat-select required formControlName=\\\"contentType\\\">\\n <mat-option value=\\\"text/markdown\\\">Markdown</mat-option>\\n <mat-option value=\\\"text/html\\\">HTML</mat-option>\\n <mat-option value=\\\"application/json\\\">JSON</mat-option>\\n </mat-select>\\n </mat-form-field>\\n </div>\\n <as-split direction=\\\"horizontal\\\">\\n <as-split-area size=\\\"50\\\">\\n <div>\\n <textarea formControlName=\\\"content\\\" [cols]=\\\"cols\\\" [rows]=\\\"rows\\\"></textarea>\\n <!-- <ngx-monaco-editor [options]=\\\"contentEditorOptions\\\"></ngx-monaco-editor> -->\\n </div>\\n </as-split-area>\\n <as-split-area size=\\\"50\\\">\\n <div>\\n <textarea formControlName=\\\"jsScript\\\" [cols]=\\\"cols\\\" [rows]=\\\"rows\\\"></textarea>\\n <!-- <ngx-monaco-editor formControlName=\\\"jsScript\\\"></ngx-monaco-editor> -->\\n </div>\\n </as-split-area>\\n </as-split>\\n </as-split-area>\\n <as-split-area size=\\\"50\\\">\\n <classifieds-ui-dynamic-content-viewer *ngIf=\\\"isMarkdown\\\" [content]=\\\"preview | markdown\\\"></classifieds-ui-dynamic-content-viewer>\\n <classifieds-ui-dynamic-content-viewer *ngIf=\\\"!isMarkdown\\\" [content]=\\\"preview\\\"></classifieds-ui-dynamic-content-viewer>\\n </as-split-area>\\n </as-split>\\n</ng-template>\\n\" }]\n }], ctorParameters: function () { return [{ type: i1.UntypedFormBuilder }]; }, propDecorators: { submitted: [{\n type: Output\n }], tokens: [{\n type: Input\n }], splitDirection: [{\n type: Input\n }], rows: [{\n type: Input\n }], cols: [{\n type: Input\n }], rootForm: [{\n type: Input\n }], snippet: [{\n type: Input\n }] } });\n\n// import { MonacoEditorModule } from 'ngx-monaco-editor';\nclass SnippetModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: SnippetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: SnippetModule, declarations: [SnippetFormComponent], imports: [CommonModule,\n ReactiveFormsModule,\n FormsModule,\n FlexLayoutModule,\n AngularSplitModule,\n MaterialModule,\n NgxJsonViewerModule,\n MarkdownModule,\n UtilsModule], exports: [SnippetFormComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: SnippetModule, imports: [CommonModule,\n ReactiveFormsModule,\n FormsModule,\n FlexLayoutModule,\n AngularSplitModule,\n MaterialModule,\n NgxJsonViewerModule,\n MarkdownModule,\n UtilsModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: SnippetModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [\n SnippetFormComponent\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n FormsModule,\n FlexLayoutModule,\n AngularSplitModule,\n MaterialModule,\n NgxJsonViewerModule,\n MarkdownModule,\n UtilsModule,\n // MonacoEditorModule\n ],\n exports: [\n SnippetFormComponent\n ]\n }]\n }] });\n\nclass SnippetParserService {\n parseSnippet({ snippet }) {\n return of(snippet.content);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: SnippetParserService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: SnippetParserService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: SnippetParserService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }] });\n\n/*\n * Public API Surface of snippet\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { Snippet, SnippetFormComponent, SnippetModule, SnippetParserService };\n","import { defer } from './defer';\nexport function iif(condition, trueResult, falseResult) {\n return defer(() => (condition() ? trueResult : falseResult));\n}\n","import * as i0 from '@angular/core';\nimport { Injectable, forwardRef, Component, Input, NgModule } from '@angular/core';\nimport * as i1 from '@rollthecloudinc/plugin';\nimport { Plugin, BasePluginManager, PluginDef } from '@rollthecloudinc/plugin';\nimport { of, iif, BehaviorSubject, Subject, combineLatest, filter as filter$1, tap as tap$1, forkJoin } from 'rxjs';\nimport { map, switchMap, tap, debounceTime, filter, delay, defaultIfEmpty } from 'rxjs/operators';\nimport * as i1$1 from '@angular/forms';\nimport { Validators, NG_VALUE_ACCESSOR, NG_VALIDATORS, FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport * as i2 from '@rollthecloudinc/utils';\nimport * as i3 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i4 from '@angular/material/legacy-core';\nimport * as i5 from '@angular/material/legacy-checkbox';\nimport * as i6 from '@angular/material/legacy-form-field';\nimport * as i7 from '@angular/material/legacy-input';\nimport * as i8 from '@angular/material/legacy-select';\nimport { MaterialModule } from '@rollthecloudinc/material';\nimport * as qs from 'qs';\nimport * as i2$1 from '@rollthecloudinc/token';\n\nclass ParamPlugin extends Plugin {\n constructor(data) {\n super(data);\n if (data) {\n this.evalParam = data.evalParam;\n if (data.condition) {\n this.condition = data.condition;\n }\n if (data.usedContexts) {\n this.usedContexts = data.usedContexts;\n }\n }\n }\n}\n\n// This needs to be able to resolve dynamic flagged values. -- I forgot what this means...\nconst staticParamFactory = () => {\n return new ParamPlugin({\n id: 'static',\n title: 'Static',\n evalParam: ({ param, metadata }) => of(param.mapping.value)\n });\n};\nconst inputParamFactory = (paramEvaluatorService) => {\n return new ParamPlugin({\n id: 'inputparam',\n title: 'Input Param',\n evalParam: ({ param, metadata }) => of(param.mapping.value).pipe(map(name => metadata.has('inputparams') && metadata.get('inputparams').has(name) ? metadata.get('inputparams').get(name) : undefined), switchMap(paramMatch => iif(() => paramMatch !== undefined, paramMatch !== undefined ? paramEvaluatorService.paramValue(paramMatch, metadata) : of(param.mapping.testValue), of(param.mapping.testValue))))\n });\n};\n\nclass Param {\n constructor(data) {\n if (data) {\n this.mapping = new Mapping(data.mapping);\n if (data.flags !== undefined) {\n this.flags = data.flags.map(f => new Flag(f));\n }\n }\n }\n}\nclass Mapping {\n constructor(data) {\n if (data) {\n this.type = data.type;\n this.value = data.value;\n this.testValue = data.testValue;\n this.context = data.context;\n }\n }\n}\nclass Flag {\n constructor(data) {\n if (data) {\n this.name = data.name;\n this.enabled = data.enabled;\n }\n }\n}\nclass ParamPluginInstance {\n constructor(data) {\n if (data) {\n this.plugin = data.plugin;\n this.settings = data.settings ? new ParamSettings(data.settings) : new ParamSettings();\n }\n }\n}\nclass ParamSettings {\n constructor(data) {\n if (data) {\n this.paramsString = data.paramsString;\n if (data.params && Array.isArray(data.params)) {\n this.params = data.params.map(p => new Param(p));\n }\n }\n }\n}\n\nclass ParamPluginManager extends BasePluginManager {\n constructor(pcm, moduleLoader) {\n super(pcm, moduleLoader);\n }\n pluginDef() {\n return of(new PluginDef({ name: 'param' }));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ParamPluginManager, deps: [{ token: i1.PluginConfigurationManager }, { token: i2.ModuleLoaderService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ParamPluginManager, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ParamPluginManager, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: i1.PluginConfigurationManager }, { type: i2.ModuleLoaderService }]; } });\n\nclass ParamsFormComponent {\n set params(params) {\n this.params$.next(params);\n }\n set paramValues(paramValues) {\n this.paramValues$.next(paramValues);\n }\n get flagsAsArray() {\n const flags = [];\n this.flags.forEach((f, k) => {\n flags.push(k);\n });\n return flags;\n }\n constructor(fb, ppm) {\n this.fb = fb;\n this.ppm = ppm;\n this.contexts = [];\n this.params$ = new BehaviorSubject({});\n this.paramValues$ = new BehaviorSubject([]);\n this.init$ = new Subject();\n this.formArray = this.fb.array([]);\n this.paramPlugins$ = this.ppm.getPlugins();\n this.flags = new Map();\n this.savedParams = new Map();\n this.paramIndexes = new Map();\n this.paramsSub = this.params$.pipe(tap(params => {\n const previousIndexes = new Map([...this.paramIndexes]);\n this.formArray.clear();\n this.paramIndexes.clear();\n let index = 0;\n for (const param in params) {\n if (Array.isArray(params[param])) {\n params[param].forEach(p => this.buildParams(p, index, previousIndexes));\n index++;\n }\n else if (params[param].indexOf(':') === 0) {\n this.buildParams(params[param], index, previousIndexes);\n index++;\n }\n }\n })).subscribe();\n this.savedParamsSub = this.formArray.valueChanges.pipe(debounceTime(1000), tap(values => {\n const len = values.length;\n for (let i = 0; i < len; i++) {\n this.savedParams.set(this.paramName(i), new Param(values[i]));\n }\n })).subscribe();\n this.paramValuesSub = combineLatest([\n this.paramValues$,\n this.params$,\n this.init$\n ]).pipe(tap(([paramValues]) => {\n const len = paramValues ? paramValues.length : 0;\n for (let i = 0; i < len; i++) {\n const paramItem = Array.from(this.paramIndexes).find(([_, v]) => v === i);\n if (paramItem !== undefined) {\n this.savedParams.set(paramItem[0], paramValues[i]);\n }\n }\n })).subscribe();\n this.onTouched = () => { };\n this.flags.set('page', 'Page');\n this.flags.set('limit', 'Limit');\n this.flags.set('offset', 'Offset');\n this.flags.set('searchString', 'Search String');\n }\n ngOnInit() {\n this.init$.next(undefined);\n }\n writeValue(val) {\n if (val) {\n this.formArray.setValue(val, { emitEvent: false });\n }\n }\n registerOnChange(fn) {\n this.formArray.valueChanges.subscribe(fn);\n }\n registerOnTouched(fn) {\n this.onTouched = fn;\n }\n setDisabledState(isDisabled) {\n if (isDisabled) {\n this.formArray.disable();\n }\n else {\n this.formArray.enable();\n }\n }\n validate(c) {\n return this.formArray.valid ? null : this.formArray.errors;\n }\n buildParams(param, index, previousIndexes) {\n console.log(`build param ${param}`);\n this.paramIndexes.set(param, index);\n this.formArray.push(this.fb.group({\n mapping: this.fb.group({\n type: this.fb.control('', Validators.required),\n value: this.fb.control('', Validators.required),\n testValue: this.fb.control(''),\n context: this.fb.control('')\n }),\n flags: this.fb.array(this.flagsAsArray.map(k => this.fb.group({\n name: k,\n enabled: this.fb.control(false)\n })))\n }));\n if (this.savedParams.has(param)) {\n this.formArray.at(index).setValue(this.savedParams.get(param));\n }\n else if (index < this.paramValues$.value.length && Array.from(previousIndexes).findIndex(([_, v]) => v === index) === -1) {\n this.formArray.at(index).setValue(this.paramValues$.value[index]);\n }\n }\n paramName(index) {\n let i = 0;\n for (const param in this.params$.value) {\n if (Array.isArray(this.params$.value[param])) {\n for (let j = 0; j < this.params$.value[param].length; j++) {\n if (index === i) {\n return this.params$.value[param][j];\n }\n i++;\n }\n }\n else if (this.params$.value[param].indexOf(':') === 0) {\n if (i === index) {\n return this.params$.value[param];\n }\n i++;\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ParamsFormComponent, deps: [{ token: i1$1.UntypedFormBuilder }, { token: ParamPluginManager }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: ParamsFormComponent, selector: \"classifieds-ui-params-form\", inputs: { contexts: \"contexts\", params: \"params\", paramValues: \"paramValues\" }, providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => ParamsFormComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => ParamsFormComponent),\n multi: true\n },\n ], ngImport: i0, template: \"<div *ngFor=\\\"let param of formArray.controls; let i = index\\\" [formGroup]=\\\"param\\\">\\n <div>{{ paramName(i) }}</div>\\n <mat-form-field formGroupName=\\\"mapping\\\">\\n <mat-label>Type</mat-label>\\n <mat-select required formControlName=\\\"type\\\">\\n <mat-option *ngFor=\\\"let p of (paramPlugins$ | async) | keyvalue\\\" [value]=\\\"p.value.id\\\">{{ p.value.title }}</mat-option>\\n </mat-select>\\n </mat-form-field>\\n <mat-form-field *ngIf=\\\"param.get('mapping').get('type').value == 'context'\\\" formGroupName=\\\"mapping\\\">\\n <mat-label>Context</mat-label>\\n <mat-select formControlName=\\\"context\\\">\\n <mat-option *ngFor=\\\"let c of contexts\\\" [value]=\\\"c\\\">{{ c }}</mat-option>\\n </mat-select>\\n </mat-form-field>\\n <mat-form-field formGroupName=\\\"mapping\\\">\\n <input matInput formControlName=\\\"value\\\" placeholder=\\\"value\\\" required>\\n </mat-form-field>\\n <mat-form-field formGroupName=\\\"mapping\\\">\\n <input matInput formControlName=\\\"testValue\\\" placeholder=\\\"Test Value\\\" required>\\n </mat-form-field>\\n <div formArrayName=\\\"flags\\\">\\n <div *ngFor=\\\"let flag of param.get('flags').controls; let j = index\\\" [formGroupName]=\\\"j\\\">\\n <mat-checkbox formControlName=\\\"enabled\\\">{{ flagsAsArray[j] }}</mat-checkbox>\\n </div>\\n </div>\\n</div>\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i3.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i3.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i1$1.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i1$1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1$1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1$1.RequiredValidator, selector: \":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]\", inputs: [\"required\"] }, { kind: \"directive\", type: i1$1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1$1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"directive\", type: i1$1.FormGroupName, selector: \"[formGroupName]\", inputs: [\"formGroupName\"] }, { kind: \"directive\", type: i1$1.FormArrayName, selector: \"[formArrayName]\", inputs: [\"formArrayName\"] }, { kind: \"component\", type: i4.MatLegacyOption, selector: \"mat-option\", exportAs: [\"matOption\"] }, { kind: \"component\", type: i5.MatLegacyCheckbox, selector: \"mat-checkbox\", inputs: [\"disableRipple\", \"color\", \"tabIndex\"], exportAs: [\"matCheckbox\"] }, { kind: \"component\", type: i6.MatLegacyFormField, selector: \"mat-form-field\", inputs: [\"color\", \"appearance\", \"hideRequiredMarker\", \"hintLabel\", \"floatLabel\"], exportAs: [\"matFormField\"] }, { kind: \"directive\", type: i6.MatLegacyLabel, selector: \"mat-label\" }, { kind: \"directive\", type: i7.MatLegacyInput, selector: \"input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]\", exportAs: [\"matInput\"] }, { kind: \"component\", type: i8.MatLegacySelect, selector: \"mat-select\", inputs: [\"disabled\", \"disableRipple\", \"tabIndex\"], exportAs: [\"matSelect\"] }, { kind: \"pipe\", type: i3.AsyncPipe, name: \"async\" }, { kind: \"pipe\", type: i3.KeyValuePipe, name: \"keyvalue\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ParamsFormComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-params-form', providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => ParamsFormComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => ParamsFormComponent),\n multi: true\n },\n ], template: \"<div *ngFor=\\\"let param of formArray.controls; let i = index\\\" [formGroup]=\\\"param\\\">\\n <div>{{ paramName(i) }}</div>\\n <mat-form-field formGroupName=\\\"mapping\\\">\\n <mat-label>Type</mat-label>\\n <mat-select required formControlName=\\\"type\\\">\\n <mat-option *ngFor=\\\"let p of (paramPlugins$ | async) | keyvalue\\\" [value]=\\\"p.value.id\\\">{{ p.value.title }}</mat-option>\\n </mat-select>\\n </mat-form-field>\\n <mat-form-field *ngIf=\\\"param.get('mapping').get('type').value == 'context'\\\" formGroupName=\\\"mapping\\\">\\n <mat-label>Context</mat-label>\\n <mat-select formControlName=\\\"context\\\">\\n <mat-option *ngFor=\\\"let c of contexts\\\" [value]=\\\"c\\\">{{ c }}</mat-option>\\n </mat-select>\\n </mat-form-field>\\n <mat-form-field formGroupName=\\\"mapping\\\">\\n <input matInput formControlName=\\\"value\\\" placeholder=\\\"value\\\" required>\\n </mat-form-field>\\n <mat-form-field formGroupName=\\\"mapping\\\">\\n <input matInput formControlName=\\\"testValue\\\" placeholder=\\\"Test Value\\\" required>\\n </mat-form-field>\\n <div formArrayName=\\\"flags\\\">\\n <div *ngFor=\\\"let flag of param.get('flags').controls; let j = index\\\" [formGroupName]=\\\"j\\\">\\n <mat-checkbox formControlName=\\\"enabled\\\">{{ flagsAsArray[j] }}</mat-checkbox>\\n </div>\\n </div>\\n</div>\" }]\n }], ctorParameters: function () { return [{ type: i1$1.UntypedFormBuilder }, { type: ParamPluginManager }]; }, propDecorators: { contexts: [{\n type: Input\n }], params: [{\n type: Input\n }], paramValues: [{\n type: Input\n }] } });\n\n// import { ValidationValidatorSettings } from \"../../models/validation.models\";\nclass ParamsQuerystringComponent {\n set settings(settings) {\n this.settings$.next(settings);\n }\n constructor(fb) {\n this.fb = fb;\n this.contexts = [];\n this.settings$ = new BehaviorSubject(undefined);\n this.afterViewInit$ = new Subject();\n this.paramValues$ = new BehaviorSubject([]);\n this.formGroup = this.fb.group({\n paramsString: this.fb.control(''),\n params: this.fb.control([])\n });\n this.paramsStringChangeSub = this.formGroup.get('paramsString').valueChanges.pipe(debounceTime(500)).subscribe(paramsString => {\n const parsed = qs.parse('?' + paramsString);\n this.paramsParsed = parsed;\n });\n this.settingsSub = this.settings$.pipe(tap(s => {\n if (s) {\n this.formGroup.get('paramsString').setValue(s.paramsString ? s.paramsString : '');\n }\n })).subscribe();\n this.settingsParamsSub = combineLatest([\n this.settings$,\n this.formGroup.get('paramsString').valueChanges\n ]).pipe(filter(([s]) => s !== undefined), delay(1), tap(([s]) => this.paramValues$.next(s.params))).subscribe();\n this.onTouched = () => { };\n }\n writeValue(val) {\n if (val) {\n this.formGroup.setValue(val, { emitEvent: false });\n }\n }\n registerOnChange(fn) {\n this.formGroup.valueChanges.subscribe(fn);\n }\n registerOnTouched(fn) {\n this.onTouched = fn;\n }\n setDisabledState(isDisabled) {\n if (isDisabled) {\n this.formGroup.disable();\n }\n else {\n this.formGroup.enable();\n }\n }\n validate(c) {\n return this.formGroup.valid ? null : this.formGroup.errors;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ParamsQuerystringComponent, deps: [{ token: i1$1.UntypedFormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: ParamsQuerystringComponent, selector: \"druid-params-querystring\", inputs: { contexts: \"contexts\", settings: \"settings\" }, providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => ParamsQuerystringComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => ParamsQuerystringComponent),\n multi: true\n },\n ], ngImport: i0, template: \"<div [formGroup]=\\\"formGroup\\\">\\n <div class=\\\"params-container\\\">\\n <div>\\n <mat-form-field>\\n <input matInput placeholder=\\\"Params\\\" formControlName=\\\"paramsString\\\">\\n </mat-form-field>\\n </div>\\n <classifieds-ui-params-form formControlName=\\\"params\\\" [params]=\\\"paramsParsed\\\" [paramValues]=\\\"paramValues$.value\\\" [contexts]=\\\"contexts\\\"></classifieds-ui-params-form>\\n </div>\\n</div>\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i1$1.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i1$1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1$1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1$1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1$1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: i6.MatLegacyFormField, selector: \"mat-form-field\", inputs: [\"color\", \"appearance\", \"hideRequiredMarker\", \"hintLabel\", \"floatLabel\"], exportAs: [\"matFormField\"] }, { kind: \"directive\", type: i7.MatLegacyInput, selector: \"input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]\", exportAs: [\"matInput\"] }, { kind: \"component\", type: ParamsFormComponent, selector: \"classifieds-ui-params-form\", inputs: [\"contexts\", \"params\", \"paramValues\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ParamsQuerystringComponent, decorators: [{\n type: Component,\n args: [{ selector: 'druid-params-querystring', providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => ParamsQuerystringComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => ParamsQuerystringComponent),\n multi: true\n },\n ], template: \"<div [formGroup]=\\\"formGroup\\\">\\n <div class=\\\"params-container\\\">\\n <div>\\n <mat-form-field>\\n <input matInput placeholder=\\\"Params\\\" formControlName=\\\"paramsString\\\">\\n </mat-form-field>\\n </div>\\n <classifieds-ui-params-form formControlName=\\\"params\\\" [params]=\\\"paramsParsed\\\" [paramValues]=\\\"paramValues$.value\\\" [contexts]=\\\"contexts\\\"></classifieds-ui-params-form>\\n </div>\\n</div>\" }]\n }], ctorParameters: function () { return [{ type: i1$1.UntypedFormBuilder }]; }, propDecorators: { contexts: [{\n type: Input\n }], settings: [{\n type: Input\n }] } });\n\nclass PluginInstanceComponent {\n set title(title) {\n this.title$.next(title);\n }\n set plugins(plugins) {\n this.plugins$.next(plugins);\n }\n set instance(instance) {\n this.instance$.next(instance);\n }\n constructor(fb) {\n this.fb = fb;\n this.plugins$ = new BehaviorSubject([]);\n this.title$ = new BehaviorSubject('Plugin');\n this.instance$ = new BehaviorSubject(new ParamPluginInstance());\n this.instanceForm = this.fb.group({\n plugin: this.fb.control(''),\n settings: this.fb.control('')\n });\n this.instanceSub = this.instance$.pipe(filter$1(i => !!i), tap$1(i => {\n this.instanceForm.get('plugin').setValue(i.plugin);\n })).subscribe();\n this.onTouched = () => { };\n }\n writeValue(val) {\n if (val) {\n this.instanceForm.setValue(val, { emitEvent: false });\n }\n }\n registerOnChange(fn) {\n this.instanceForm.valueChanges.subscribe(fn);\n }\n registerOnTouched(fn) {\n this.onTouched = fn;\n }\n setDisabledState(isDisabled) {\n if (isDisabled) {\n this.instanceForm.disable();\n }\n else {\n this.instanceForm.enable();\n }\n }\n validate(c) {\n return this.instanceForm.valid ? null : this.instanceForm.errors;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PluginInstanceComponent, deps: [{ token: i1$1.UntypedFormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: PluginInstanceComponent, selector: \"druid-params-plugin-instance\", inputs: { title: \"title\", plugins: \"plugins\", instance: \"instance\" }, providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => PluginInstanceComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => PluginInstanceComponent),\n multi: true\n },\n ], ngImport: i0, template: \"<div [formGroup]=\\\"instanceForm\\\">\\n <mat-form-field>\\n <mat-label>{{ title$ | async }}</mat-label>\\n <mat-select required formControlName=\\\"plugin\\\">\\n <mat-option *ngFor=\\\"let p of ((plugins$ | async) | keyvalue); let i = index\\\" [value]=\\\"p.value.id\\\">{{ p.value.title }}</mat-option>\\n </mat-select>\\n </mat-form-field>\\n <druid-params-querystring formControlName=\\\"settings\\\" [settings]=\\\"instance$.value.settings\\\"></druid-params-querystring>\\n</div>\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i3.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i1$1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1$1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1$1.RequiredValidator, selector: \":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]\", inputs: [\"required\"] }, { kind: \"directive\", type: i1$1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1$1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: i4.MatLegacyOption, selector: \"mat-option\", exportAs: [\"matOption\"] }, { kind: \"component\", type: i6.MatLegacyFormField, selector: \"mat-form-field\", inputs: [\"color\", \"appearance\", \"hideRequiredMarker\", \"hintLabel\", \"floatLabel\"], exportAs: [\"matFormField\"] }, { kind: \"directive\", type: i6.MatLegacyLabel, selector: \"mat-label\" }, { kind: \"component\", type: i8.MatLegacySelect, selector: \"mat-select\", inputs: [\"disabled\", \"disableRipple\", \"tabIndex\"], exportAs: [\"matSelect\"] }, { kind: \"component\", type: ParamsQuerystringComponent, selector: \"druid-params-querystring\", inputs: [\"contexts\", \"settings\"] }, { kind: \"pipe\", type: i3.AsyncPipe, name: \"async\" }, { kind: \"pipe\", type: i3.KeyValuePipe, name: \"keyvalue\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PluginInstanceComponent, decorators: [{\n type: Component,\n args: [{ selector: 'druid-params-plugin-instance', providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => PluginInstanceComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => PluginInstanceComponent),\n multi: true\n },\n ], template: \"<div [formGroup]=\\\"instanceForm\\\">\\n <mat-form-field>\\n <mat-label>{{ title$ | async }}</mat-label>\\n <mat-select required formControlName=\\\"plugin\\\">\\n <mat-option *ngFor=\\\"let p of ((plugins$ | async) | keyvalue); let i = index\\\" [value]=\\\"p.value.id\\\">{{ p.value.title }}</mat-option>\\n </mat-select>\\n </mat-form-field>\\n <druid-params-querystring formControlName=\\\"settings\\\" [settings]=\\\"instance$.value.settings\\\"></druid-params-querystring>\\n</div>\" }]\n }], ctorParameters: function () { return [{ type: i1$1.UntypedFormBuilder }]; }, propDecorators: { title: [{\n type: Input\n }], plugins: [{\n type: Input\n }], instance: [{\n type: Input\n }] } });\n\nclass ParamEvaluatorService {\n constructor(paramPluginManager, tokenizerService) {\n this.paramPluginManager = paramPluginManager;\n this.tokenizerService = tokenizerService;\n }\n paramValue(param, metadata) {\n return this.paramPluginManager.getPlugins().pipe(map(plugins => Array.from(plugins).map(([_, p]) => p)), map(plugins => plugins.find(p => (p.condition && p.condition({ param, metadata }) || (!p.condition && p.id === param.mapping.type)))), switchMap(p => iif(() => !!p, p ? p.evalParam({ param, metadata }) : of( /*param.mapping.value*/), of(param.mapping.value))), map(v => param.mapping.value && typeof (v) === 'string' && this.tokenizerService.discoverTokens(v).length === 0 ? v : param.mapping.testValue));\n }\n paramValues(params) {\n return forkJoin(Array.from(params.keys()).map(name => this.paramValue(params.get(name), new Map()).pipe(map(v => [name, v])))).pipe(map(groups => groups.reduce((p, c) => new Map([...p, c]), new Map())), defaultIfEmpty(new Map()));\n }\n resolveParams({ params }) {\n return switchMap(() => iif(() => Object.keys(params).length > 1, forkJoin(Object.keys(params).map(name => this.paramValue(params[name], new Map()).pipe(map(v => ({ [name]: v }))))).pipe(map(groups => groups.reduce((p, c) => ({ ...p, ...c }), {})), // default options go here instead of empty object.\n map(options => ({ options }))), iif(() => Object.keys(params).length !== 0, this.paramValue(Object.keys(params).length !== 0 ? params[Object.keys(params)[0]] : new Param(), new Map()).pipe(map(optionValue => ({ options: { [Object.keys(params)[0]]: optionValue } }))), of({ options: {} }))));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ParamEvaluatorService, deps: [{ token: ParamPluginManager }, { token: i2$1.TokenizerService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ParamEvaluatorService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ParamEvaluatorService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: ParamPluginManager }, { type: i2$1.TokenizerService }]; } });\n\nclass DparamModule {\n constructor(ppm, paramEvaluatorService) {\n // For now kill this.\n ppm.register(staticParamFactory());\n ppm.register(inputParamFactory(paramEvaluatorService));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DparamModule, deps: [{ token: ParamPluginManager }, { token: ParamEvaluatorService }], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: DparamModule, declarations: [ParamsFormComponent,\n ParamsQuerystringComponent,\n PluginInstanceComponent], imports: [CommonModule,\n FormsModule,\n ReactiveFormsModule,\n MaterialModule], exports: [ParamsFormComponent,\n ParamsQuerystringComponent,\n PluginInstanceComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DparamModule, imports: [CommonModule,\n FormsModule,\n ReactiveFormsModule,\n MaterialModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DparamModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [\n ParamsFormComponent,\n ParamsQuerystringComponent,\n PluginInstanceComponent\n ],\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n MaterialModule\n ],\n exports: [\n ParamsFormComponent,\n ParamsQuerystringComponent,\n PluginInstanceComponent\n ]\n }]\n }], ctorParameters: function () { return [{ type: ParamPluginManager }, { type: ParamEvaluatorService }]; } });\n\n/*\n * Public API Surface of dparam\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { DparamModule, Flag, Mapping, Param, ParamEvaluatorService, ParamPlugin, ParamPluginInstance, ParamPluginManager, ParamSettings, ParamsFormComponent, ParamsQuerystringComponent, PluginInstanceComponent };\n","import * as i1 from '@ngrx/store';\nimport { createAction, props, isNgrxMockEnvironment, select, ACTIVE_RUNTIME_CHECKS, createFeatureSelector, createSelector } from '@ngrx/store';\nimport * as i0 from '@angular/core';\nimport { InjectionToken, isDevMode, Injectable, Inject, makeEnvironmentProviders, ENVIRONMENT_INITIALIZER, inject, NgModule } from '@angular/core';\nimport * as i2 from '@angular/router';\nimport { NavigationStart, RoutesRecognized, NavigationCancel, NavigationError, NavigationEnd } from '@angular/router';\nimport { withLatestFrom } from 'rxjs/operators';\n\n/**\n * An action dispatched when a router navigation request is fired.\n */\nconst ROUTER_REQUEST = '@ngrx/router-store/request';\nconst routerRequestAction = createAction(ROUTER_REQUEST, props());\n/**\n * An action dispatched when the router navigates.\n */\nconst ROUTER_NAVIGATION = '@ngrx/router-store/navigation';\nconst routerNavigationAction = createAction(ROUTER_NAVIGATION, props());\n/**\n * An action dispatched when the router cancels navigation.\n */\nconst ROUTER_CANCEL = '@ngrx/router-store/cancel';\nconst routerCancelAction = createAction(ROUTER_CANCEL, props());\n/**\n * An action dispatched when the router errors.\n */\nconst ROUTER_ERROR = '@ngrx/router-store/error';\nconst routerErrorAction = createAction(ROUTER_ERROR, props());\n/**\n * An action dispatched after navigation has ended and new route is active.\n */\nconst ROUTER_NAVIGATED = '@ngrx/router-store/navigated';\nconst routerNavigatedAction = createAction(ROUTER_NAVIGATED, props());\n\nfunction routerReducer(state, action) {\n // Allow compilation with strictFunctionTypes - ref: #1344\n const routerAction = action;\n switch (routerAction.type) {\n case ROUTER_NAVIGATION:\n case ROUTER_ERROR:\n case ROUTER_CANCEL:\n return {\n state: routerAction.payload.routerState,\n navigationId: routerAction.payload.event.id,\n };\n default:\n return state;\n }\n}\n\nclass MinimalRouterStateSerializer {\n serialize(routerState) {\n return {\n root: this.serializeRoute(routerState.root),\n url: routerState.url,\n };\n }\n serializeRoute(route) {\n const children = route.children.map((c) => this.serializeRoute(c));\n return {\n params: route.params,\n data: route.data,\n url: route.url,\n outlet: route.outlet,\n title: route.title,\n routeConfig: route.routeConfig\n ? {\n path: route.routeConfig.path,\n pathMatch: route.routeConfig.pathMatch,\n redirectTo: route.routeConfig.redirectTo,\n outlet: route.routeConfig.outlet,\n title: typeof route.routeConfig.title === 'string'\n ? route.routeConfig.title\n : undefined,\n }\n : null,\n queryParams: route.queryParams,\n fragment: route.fragment,\n firstChild: children[0],\n children,\n };\n }\n}\n\nvar NavigationActionTiming;\n(function (NavigationActionTiming) {\n NavigationActionTiming[NavigationActionTiming[\"PreActivation\"] = 1] = \"PreActivation\";\n NavigationActionTiming[NavigationActionTiming[\"PostActivation\"] = 2] = \"PostActivation\";\n})(NavigationActionTiming || (NavigationActionTiming = {}));\nconst DEFAULT_ROUTER_FEATURENAME = 'router';\nconst _ROUTER_CONFIG = new InjectionToken('@ngrx/router-store Internal Configuration');\nconst ROUTER_CONFIG = new InjectionToken('@ngrx/router-store Configuration');\nfunction _createRouterConfig(config) {\n return {\n stateKey: DEFAULT_ROUTER_FEATURENAME,\n serializer: MinimalRouterStateSerializer,\n navigationActionTiming: NavigationActionTiming.PreActivation,\n ...config,\n };\n}\n\nclass FullRouterStateSerializer {\n serialize(routerState) {\n return {\n root: this.serializeRoute(routerState.root),\n url: routerState.url,\n };\n }\n serializeRoute(route) {\n const children = route.children.map((c) => this.serializeRoute(c));\n return {\n params: route.params,\n paramMap: route.paramMap,\n data: route.data,\n url: route.url,\n outlet: route.outlet,\n title: route.title,\n routeConfig: route.routeConfig\n ? {\n component: route.routeConfig.component,\n path: route.routeConfig.path,\n pathMatch: route.routeConfig.pathMatch,\n redirectTo: route.routeConfig.redirectTo,\n outlet: route.routeConfig.outlet,\n title: route.routeConfig.title,\n }\n : null,\n queryParams: route.queryParams,\n queryParamMap: route.queryParamMap,\n fragment: route.fragment,\n component: (route.routeConfig\n ? route.routeConfig.component\n : undefined),\n root: undefined,\n parent: undefined,\n firstChild: children[0],\n pathFromRoot: undefined,\n children,\n };\n }\n}\n\nclass RouterStateSerializer {\n}\n\nvar RouterTrigger;\n(function (RouterTrigger) {\n RouterTrigger[RouterTrigger[\"NONE\"] = 1] = \"NONE\";\n RouterTrigger[RouterTrigger[\"ROUTER\"] = 2] = \"ROUTER\";\n RouterTrigger[RouterTrigger[\"STORE\"] = 3] = \"STORE\";\n})(RouterTrigger || (RouterTrigger = {}));\n/**\n * Shared router initialization logic used alongside both the StoreRouterConnectingModule and the provideRouterStore\n * function\n */\nclass StoreRouterConnectingService {\n constructor(store, router, serializer, errorHandler, config, activeRuntimeChecks) {\n this.store = store;\n this.router = router;\n this.serializer = serializer;\n this.errorHandler = errorHandler;\n this.config = config;\n this.activeRuntimeChecks = activeRuntimeChecks;\n this.lastEvent = null;\n this.routerState = null;\n this.trigger = RouterTrigger.NONE;\n this.stateKey = this.config.stateKey;\n if (!isNgrxMockEnvironment() &&\n isDevMode() &&\n (activeRuntimeChecks?.strictActionSerializability ||\n activeRuntimeChecks?.strictStateSerializability) &&\n this.serializer instanceof FullRouterStateSerializer) {\n console.warn('@ngrx/router-store: The serializability runtime checks cannot be enabled ' +\n 'with the FullRouterStateSerializer. The FullRouterStateSerializer ' +\n 'has an unserializable router state and actions that are not serializable. ' +\n 'To use the serializability runtime checks either use ' +\n 'the MinimalRouterStateSerializer or implement a custom router state serializer.');\n }\n this.setUpStoreStateListener();\n this.setUpRouterEventsListener();\n }\n setUpStoreStateListener() {\n this.store\n .pipe(select(this.stateKey), withLatestFrom(this.store))\n .subscribe(([routerStoreState, storeState]) => {\n this.navigateIfNeeded(routerStoreState, storeState);\n });\n }\n navigateIfNeeded(routerStoreState, storeState) {\n if (!routerStoreState || !routerStoreState.state) {\n return;\n }\n if (this.trigger === RouterTrigger.ROUTER) {\n return;\n }\n if (this.lastEvent instanceof NavigationStart) {\n return;\n }\n const url = routerStoreState.state.url;\n if (!isSameUrl(this.router.url, url)) {\n this.storeState = storeState;\n this.trigger = RouterTrigger.STORE;\n this.router.navigateByUrl(url).catch((error) => {\n this.errorHandler.handleError(error);\n });\n }\n }\n setUpRouterEventsListener() {\n const dispatchNavLate = this.config.navigationActionTiming ===\n NavigationActionTiming.PostActivation;\n let routesRecognized;\n this.router.events\n .pipe(withLatestFrom(this.store))\n .subscribe(([event, storeState]) => {\n this.lastEvent = event;\n if (event instanceof NavigationStart) {\n this.routerState = this.serializer.serialize(this.router.routerState.snapshot);\n if (this.trigger !== RouterTrigger.STORE) {\n this.storeState = storeState;\n this.dispatchRouterRequest(event);\n }\n }\n else if (event instanceof RoutesRecognized) {\n routesRecognized = event;\n if (!dispatchNavLate && this.trigger !== RouterTrigger.STORE) {\n this.dispatchRouterNavigation(event);\n }\n }\n else if (event instanceof NavigationCancel) {\n this.dispatchRouterCancel(event);\n this.reset();\n }\n else if (event instanceof NavigationError) {\n this.dispatchRouterError(event);\n this.reset();\n }\n else if (event instanceof NavigationEnd) {\n if (this.trigger !== RouterTrigger.STORE) {\n if (dispatchNavLate) {\n this.dispatchRouterNavigation(routesRecognized);\n }\n this.dispatchRouterNavigated(event);\n }\n this.reset();\n }\n });\n }\n dispatchRouterRequest(event) {\n this.dispatchRouterAction(ROUTER_REQUEST, { event });\n }\n dispatchRouterNavigation(lastRoutesRecognized) {\n const nextRouterState = this.serializer.serialize(lastRoutesRecognized.state);\n this.dispatchRouterAction(ROUTER_NAVIGATION, {\n routerState: nextRouterState,\n event: new RoutesRecognized(lastRoutesRecognized.id, lastRoutesRecognized.url, lastRoutesRecognized.urlAfterRedirects, nextRouterState),\n });\n }\n dispatchRouterCancel(event) {\n this.dispatchRouterAction(ROUTER_CANCEL, {\n storeState: this.storeState,\n event,\n });\n }\n dispatchRouterError(event) {\n this.dispatchRouterAction(ROUTER_ERROR, {\n storeState: this.storeState,\n event: new NavigationError(event.id, event.url, `${event}`),\n });\n }\n dispatchRouterNavigated(event) {\n const routerState = this.serializer.serialize(this.router.routerState.snapshot);\n this.dispatchRouterAction(ROUTER_NAVIGATED, { event, routerState });\n }\n dispatchRouterAction(type, payload) {\n this.trigger = RouterTrigger.ROUTER;\n try {\n this.store.dispatch({\n type,\n payload: {\n routerState: this.routerState,\n ...payload,\n event: this.config.routerState === 0 /* RouterState.Full */\n ? payload.event\n : {\n id: payload.event.id,\n url: payload.event.url,\n // safe, as it will just be `undefined` for non-NavigationEnd router events\n urlAfterRedirects: payload.event\n .urlAfterRedirects,\n },\n },\n });\n }\n finally {\n this.trigger = RouterTrigger.NONE;\n }\n }\n reset() {\n this.trigger = RouterTrigger.NONE;\n this.storeState = null;\n this.routerState = null;\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: StoreRouterConnectingService, deps: [{ token: i1.Store }, { token: i2.Router }, { token: RouterStateSerializer }, { token: i0.ErrorHandler }, { token: ROUTER_CONFIG }, { token: ACTIVE_RUNTIME_CHECKS }], target: i0.ɵɵFactoryTarget.Injectable }); }\n /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: StoreRouterConnectingService }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: StoreRouterConnectingService, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: i1.Store }, { type: i2.Router }, { type: RouterStateSerializer }, { type: i0.ErrorHandler }, { type: undefined, decorators: [{\n type: Inject,\n args: [ROUTER_CONFIG]\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [ACTIVE_RUNTIME_CHECKS]\n }] }]; } });\n/**\n * Check if the URLs are matching. Accounts for the possibility of trailing \"/\" in url.\n */\nfunction isSameUrl(first, second) {\n return stripTrailingSlash(first) === stripTrailingSlash(second);\n}\nfunction stripTrailingSlash(text) {\n if (text?.length > 0 && text[text.length - 1] === '/') {\n return text.substring(0, text.length - 1);\n }\n return text;\n}\n\n/**\n * Connects the Angular Router to the Store.\n *\n * @usageNotes\n *\n * ```ts\n * bootstrapApplication(AppComponent, {\n * providers: [\n * provideStore({ router: routerReducer }),\n * provideRouterStore(),\n * ],\n * });\n * ```\n */\nfunction provideRouterStore(config = {}) {\n return makeEnvironmentProviders([\n { provide: _ROUTER_CONFIG, useValue: config },\n {\n provide: ROUTER_CONFIG,\n useFactory: _createRouterConfig,\n deps: [_ROUTER_CONFIG],\n },\n {\n provide: RouterStateSerializer,\n useClass: config.serializer\n ? config.serializer\n : config.routerState === 0 /* RouterState.Full */\n ? FullRouterStateSerializer\n : MinimalRouterStateSerializer,\n },\n {\n provide: ENVIRONMENT_INITIALIZER,\n multi: true,\n useFactory() {\n return () => inject(StoreRouterConnectingService);\n },\n },\n StoreRouterConnectingService,\n ]);\n}\n\n/**\n * Connects RouterModule with StoreModule.\n *\n * During the navigation, before any guards or resolvers run, the router will dispatch\n * a ROUTER_NAVIGATION action, which has the following signature:\n *\n * ```\n * export type RouterNavigationPayload = {\n * routerState: SerializedRouterStateSnapshot,\n * event: RoutesRecognized\n * }\n * ```\n *\n * Either a reducer or an effect can be invoked in response to this action.\n * If the invoked reducer throws, the navigation will be canceled.\n *\n * If navigation gets canceled because of a guard, a ROUTER_CANCEL action will be\n * dispatched. If navigation results in an error, a ROUTER_ERROR action will be dispatched.\n *\n * Both ROUTER_CANCEL and ROUTER_ERROR contain the store state before the navigation\n * which can be used to restore the consistency of the store.\n *\n * Usage:\n *\n * ```typescript\n * @NgModule({\n * declarations: [AppCmp, SimpleCmp],\n * imports: [\n * BrowserModule,\n * StoreModule.forRoot(mapOfReducers),\n * RouterModule.forRoot([\n * { path: '', component: SimpleCmp },\n * { path: 'next', component: SimpleCmp }\n * ]),\n * StoreRouterConnectingModule.forRoot()\n * ],\n * bootstrap: [AppCmp]\n * })\n * export class AppModule {\n * }\n * ```\n */\nclass StoreRouterConnectingModule {\n static forRoot(config = {}) {\n return {\n ngModule: StoreRouterConnectingModule,\n providers: [provideRouterStore(config)],\n };\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: StoreRouterConnectingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: StoreRouterConnectingModule }); }\n /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: StoreRouterConnectingModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: StoreRouterConnectingModule, decorators: [{\n type: NgModule,\n args: [{}]\n }] });\n\nfunction createRouterSelector() {\n return createFeatureSelector(DEFAULT_ROUTER_FEATURENAME);\n}\nfunction getRouterSelectors(selectState = createRouterSelector()) {\n const selectRouterState = createSelector(selectState, (router) => router && router.state);\n const selectRootRoute = createSelector(selectRouterState, (routerState) => routerState && routerState.root);\n const selectCurrentRoute = createSelector(selectRootRoute, (rootRoute) => {\n if (!rootRoute) {\n return undefined;\n }\n let route = rootRoute;\n while (route.firstChild) {\n route = route.firstChild;\n }\n return route;\n });\n const selectFragment = createSelector(selectRootRoute, (route) => route && route.fragment);\n const selectQueryParams = createSelector(selectRootRoute, (route) => route && route.queryParams);\n const selectQueryParam = (param) => createSelector(selectQueryParams, (params) => params && params[param]);\n const selectRouteParams = createSelector(selectCurrentRoute, (route) => route && route.params);\n const selectRouteParam = (param) => createSelector(selectRouteParams, (params) => params && params[param]);\n const selectRouteData = createSelector(selectCurrentRoute, (route) => route && route.data);\n const selectRouteDataParam = (param) => createSelector(selectRouteData, (data) => data && data[param]);\n const selectUrl = createSelector(selectRouterState, (routerState) => routerState && routerState.url);\n const selectTitle = createSelector(selectCurrentRoute, (route) => {\n if (!route?.routeConfig) {\n return undefined;\n }\n return typeof route.routeConfig.title === 'string'\n ? route.routeConfig.title // static title\n : route.title; // resolved title\n });\n return {\n selectCurrentRoute,\n selectFragment,\n selectQueryParams,\n selectQueryParam,\n selectRouteParams,\n selectRouteParam,\n selectRouteData,\n selectRouteDataParam,\n selectUrl,\n selectTitle,\n };\n}\n\n/**\n * DO NOT EDIT\n *\n * This file is automatically generated at build\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { DEFAULT_ROUTER_FEATURENAME, FullRouterStateSerializer, MinimalRouterStateSerializer, NavigationActionTiming, ROUTER_CANCEL, ROUTER_CONFIG, ROUTER_ERROR, ROUTER_NAVIGATED, ROUTER_NAVIGATION, ROUTER_REQUEST, RouterStateSerializer, StoreRouterConnectingModule, createRouterSelector, getRouterSelectors, provideRouterStore, routerCancelAction, routerErrorAction, routerNavigatedAction, routerNavigationAction, routerReducer, routerRequestAction };\n","import * as i0 from '@angular/core';\nimport { NgModule, Injectable } from '@angular/core';\nimport * as i2 from '@rollthecloudinc/dparam';\nimport { ParamPlugin, DparamModule } from '@rollthecloudinc/dparam';\nimport { of, forkJoin } from 'rxjs';\nimport { getRouterSelectors } from '@ngrx/router-store';\nimport * as i1 from '@ngrx/store';\nimport { select } from '@ngrx/store';\nimport { map, switchMap, defaultIfEmpty, tap } from 'rxjs/operators';\nimport * as qs from 'qs';\n\nconst paramPagePluginFactory = () => {\n return new ParamPlugin({\n id: 'page',\n title: 'Page',\n usedContexts: () => of(['_page']),\n condition: ({ param, metadata }) => {\n return param.flags.findIndex(f => f.enabled && f.name === 'page') > -1 && metadata.has('page');\n },\n evalParam: ({ param, metadata }) => {\n return of(`${metadata.get('page')}`);\n }\n });\n};\nconst paramSearchStringPluginFactory = () => {\n return new ParamPlugin({\n id: 'searchstring',\n title: 'Searchstring',\n condition: ({ param, metadata }) => {\n return param.flags.findIndex(f => f.enabled) > -1 && metadata.has('searchString');\n },\n evalParam: ({ param, metadata }) => {\n return of(`${metadata.get('searchString')}`);\n }\n });\n};\nconst paramRoutePluginFactory = () => {\n return new ParamPlugin({\n id: 'route',\n title: 'Route',\n usedContexts: () => of(['_route']),\n evalParam: ({ param, metadata }) => {\n const route = metadata.get('_route');\n return of(route.params[param.mapping.value]);\n }\n });\n};\nconst paramQueryStringPluginFactory = () => {\n return new ParamPlugin({\n id: 'querystring',\n title: 'Querystring',\n usedContexts: () => of(['_page']),\n evalParam: ({ param, metadata }) => {\n const route = metadata.get('_route');\n return of(route.queryParams[param.mapping.value]);\n }\n });\n};\nconst paramStandardPaginationPluginFactory = () => {\n return new ParamPlugin({\n id: 'standardpagination',\n title: 'Standard Pagination',\n usedContexts: () => of(['_page']),\n condition: ({ param, metadata }) => {\n return param.flags.findIndex(f => f.enabled && f.name === 'offset') > -1 && metadata.has('limit') && metadata.has('page');\n },\n evalParam: ({ param, metadata }) => {\n return of(`${+metadata.get('limit') * (+metadata.get('page') - 1)}`);\n }\n });\n};\n\nclass DurlModule {\n constructor(ppm) {\n [\n paramPagePluginFactory(),\n paramSearchStringPluginFactory(),\n paramRoutePluginFactory(),\n paramQueryStringPluginFactory(),\n paramStandardPaginationPluginFactory()\n ].forEach(p => ppm.register(p));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DurlModule, deps: [{ token: i2.ParamPluginManager }], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: DurlModule, imports: [DparamModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DurlModule, imports: [DparamModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DurlModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [],\n imports: [\n DparamModule\n ],\n exports: []\n }]\n }], ctorParameters: function () { return [{ type: i2.ParamPluginManager }]; } });\n\nclass UrlGeneratorService {\n constructor(routerStore, paramPluginManager, paramEvaluatorService) {\n this.routerStore = routerStore;\n this.paramPluginManager = paramPluginManager;\n this.paramEvaluatorService = paramEvaluatorService;\n }\n getUrl(url, params, metadata) {\n const { selectCurrentRoute } = getRouterSelectors();\n return this.routerStore.pipe(select(selectCurrentRoute), map(route => [route, url, url ? url.indexOf('?') : -1]), map(([route, url, index]) => [route, (index > -1 ? url.substring(0, index) : url), (index > -1 ? url.substring(index + 1) : '')]), switchMap(([route, path, queryString]) => {\n const qsParsed = qs.parse(queryString);\n const pathPieces = path ? path.split('/') : [];\n const meta = new Map([...metadata, ['_route', route]]);\n const paramNames = this.paramNames(url);\n const mappings = params.reduce((p, c, i) => new Map([...p, [paramNames[i], c]]), new Map());\n const path$ = pathPieces.reduce((p, c, i) => {\n if (c.indexOf(':') === 0) {\n return [...p, this.paramEvaluatorService.paramValue(mappings.get(c /*.substr(1)*/), meta)];\n }\n else {\n return [...p, of(pathPieces[i])];\n }\n }, []);\n const qs$ = [];\n for (const prop in qsParsed) {\n if (Array.isArray(qsParsed[prop])) {\n qsParsed[prop].forEach(p => qs$.push(this.paramEvaluatorService.paramValue(mappings.get(p), meta).pipe(map(v => [prop, v, true]))));\n }\n else if (typeof (qsParsed[prop]) === 'string' && qsParsed[prop].indexOf(':') > -1) {\n qs$.push(this.paramEvaluatorService.paramValue(mappings.get(qsParsed[prop] /*.substr(1)*/), meta).pipe(map(v => [prop, v, false])));\n }\n else {\n qs$.push(of([prop, qsParsed[prop], Array.isArray(qsParsed[prop])]));\n }\n }\n return forkJoin([\n forkJoin(path$).pipe(map(p => p.filter(v => v !== undefined && v !== null && v !== '' && v !== 'undefined').map((v, index) => index === 0 && v.indexOf('http') === 0 ? `${v}/` : v).join('/')), defaultIfEmpty(path)),\n forkJoin(qs$).pipe(tap(q => console.log(q)), map(q => q.reduce((p, [n, v, m]) => {\n if (v === undefined || v === null || v === '' || v === 'undefined') {\n const p2 = { ...p };\n delete p2[n];\n return p2;\n }\n else {\n return (m ? { ...p, [n]: [...(p[n] !== undefined ? p[n] : []), v] } : { ...p, [n]: v });\n }\n }, this.rebuildQueryString(qsParsed))), tap(q => console.log(q)), map(q => qs.stringify(q, { arrayFormat: 'repeat', indices: false })), defaultIfEmpty(queryString))\n ]).pipe(map(r => r.join('?')));\n }));\n }\n paramNames(url) {\n const indexPos = url ? url.indexOf('?') : -1;\n const pathParsed = (indexPos > -1 ? url.substring(0, indexPos) : url ? url : '').split('/').reduce((p, c, i) => (c.indexOf(':') === 0 ? { ...p, [c.substr(1)]: c } : p), {});\n const parsed = { ...pathParsed, ...qs.parse(url ? url.substring(url.indexOf('?') + 1) : '') };\n const paramNames = [];\n for (const param in parsed) {\n if (Array.isArray(parsed[param])) {\n parsed[param].forEach(p => paramNames.push(p));\n }\n else if (parsed[param].indexOf(':') === 0) {\n paramNames.push(parsed[param]);\n }\n }\n return paramNames;\n }\n rebuildQueryString(q) {\n const newQ = {};\n for (const p in q) {\n if (Array.isArray(q[p])) {\n newQ[p] = [];\n }\n else if (p[q] !== undefined && p[q] !== null && p[q] !== '' && p[q] !== 'undefined') {\n newQ[p] = p[q];\n }\n }\n return qs.parse(newQ);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: UrlGeneratorService, deps: [{ token: i1.Store }, { token: i2.ParamPluginManager }, { token: i2.ParamEvaluatorService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: UrlGeneratorService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: UrlGeneratorService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: i1.Store }, { type: i2.ParamPluginManager }, { type: i2.ParamEvaluatorService }]; } });\n\n/*\n * Public API Surface of durl\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { DurlModule, UrlGeneratorService };\n","import * as i3 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { forwardRef, Component, Input, Directive, Injectable, ViewChild, NgModule } from '@angular/core';\nimport * as i1 from '@angular/forms';\nimport { NG_VALUE_ACCESSOR, NG_VALIDATORS, Validators, ReactiveFormsModule } from '@angular/forms';\nimport { MaterialModule } from '@rollthecloudinc/material';\nimport { DurlModule } from '@rollthecloudinc/durl';\nimport { of, BehaviorSubject, Subject, combineLatest, forkJoin } from 'rxjs';\nimport { ContentBinding } from '@rollthecloudinc/content';\nimport { Snippet } from '@rollthecloudinc/snippet';\nimport { Param } from '@rollthecloudinc/dparam';\nimport * as i1$1 from '@rollthecloudinc/plugin';\nimport { Plugin, BasePluginManager, PluginDef } from '@rollthecloudinc/plugin';\nimport * as i2$2 from '@rollthecloudinc/attributes';\nimport { AttributeValue } from '@rollthecloudinc/attributes';\nimport * as i2 from '@angular/material/legacy-checkbox';\nimport * as i5 from '@angular/material/legacy-form-field';\nimport * as i4 from '@angular/material/legacy-input';\nimport { filter, switchMap, tap, map, delay, catchError, defaultIfEmpty } from 'rxjs/operators';\nimport * as i2$1 from '@rollthecloudinc/utils';\nimport * as i4$1 from '@angular/material/legacy-core';\nimport * as i6 from '@angular/material/legacy-select';\nimport * as i1$2 from '@ngrx/data';\nimport * as i2$3 from '@angular/common/http';\n\nclass DatasourcePlugin extends Plugin {\n constructor(data) {\n super(data);\n if (data) {\n this.editor = data.editor;\n this.fetch = data.fetch;\n this.getBindings = data.getBindings ? data.getBindings : () => of([]);\n this.editorOptions = data.editorOptions ? data.editorOptions : () => of(new DatasourceEditorOptions());\n }\n }\n}\nclass Rest {\n constructor(data) {\n if (data) {\n this.url = data.url;\n this.method = data.method ? data.method : undefined;\n if (data.renderer !== undefined) {\n this.renderer = new Renderer(data.renderer);\n }\n if (data.params !== undefined) {\n this.params = data.params.map(p => new Param(p));\n }\n if (data.body) {\n this.body = new Snippet(data.body);\n }\n }\n }\n}\nclass Renderer {\n constructor(data) {\n if (data) {\n this.type = data.type;\n this.query = data.query;\n this.trackBy = data.trackBy;\n if (data.data !== undefined) {\n this.data = new Snippet(data.data);\n }\n if (data.bindings !== undefined) {\n this.bindings = data.bindings.map(b => new ContentBinding(b));\n }\n }\n }\n}\nclass Dataset {\n constructor(data) {\n this.results = [];\n if (data) {\n this.results = data.results;\n }\n }\n}\nclass DatasourceOptions {\n constructor(data) {\n if (data) {\n this.query = data.query;\n this.trackBy = data.trackBy;\n this.idMapping = data.idMapping;\n this.labelMapping = data.labelMapping;\n this.valueMapping = data.valueMapping;\n this.multiple = data.multiple;\n this.limit = data.limit;\n }\n }\n}\nclass Datasource {\n constructor(data) {\n this.settings = [];\n // params are going to be first class citizens because they are applicable to every source.\n this.params = [];\n if (data) {\n this.plugin = data.plugin;\n if (data.renderer) {\n this.renderer = new Renderer(data.renderer);\n }\n if (data.settings) {\n this.settings = data.settings.map(s => new AttributeValue(s));\n }\n if (data.params) {\n this.params = data.params.map(p => new Param(p));\n }\n }\n }\n}\nclass DatasourceEditorOptions {\n constructor(data) {\n this.fullscreen = false;\n if (data) {\n this.fullscreen = data.fullscreen;\n }\n }\n}\n\nconst mockDatasourceOptions = new DatasourceOptions({\n query: '',\n trackBy: '',\n idMapping: '',\n labelMapping: '',\n valueMapping: '',\n multiple: false,\n limit: 0,\n});\nconst mockRest = new Rest({\n url: '',\n renderer: {\n type: '',\n data: {\n content: '',\n contentType: ''\n },\n query: '',\n trackBy: '',\n bindings: []\n },\n params: []\n});\n\nclass DatasourceOptionsComponent {\n set datasourceOptions(datasourceOptions) {\n this.datasourceOptions$.next(datasourceOptions);\n }\n constructor(fb) {\n this.fb = fb;\n this.datasourceOptions$ = new BehaviorSubject(mockDatasourceOptions);\n this.formGroup = this.fb.group({\n query: this.fb.control(''),\n trackBy: this.fb.control(''),\n valueMapping: this.fb.control(''),\n labelMapping: this.fb.control(''),\n idMapping: this.fb.control(''),\n multiple: this.fb.control(''),\n limit: this.fb.control('')\n });\n this.datasourceOptionsSub = this.datasourceOptions$.subscribe(ds => {\n this.formGroup.setValue(ds);\n this.formGroup.updateValueAndValidity();\n });\n this.onTouched = () => { };\n }\n writeValue(val) {\n if (val) {\n this.formGroup.setValue(val, { emitEvent: false });\n }\n }\n registerOnChange(fn) {\n this.formGroup.valueChanges.subscribe(fn);\n }\n registerOnTouched(fn) {\n this.onTouched = fn;\n }\n setDisabledState(isDisabled) {\n if (isDisabled) {\n this.formGroup.disable();\n }\n else {\n this.formGroup.enable();\n }\n }\n validate(c) {\n return this.formGroup.valid ? null : { datasourceOptions: { valid: false } };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DatasourceOptionsComponent, deps: [{ token: i1.UntypedFormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: DatasourceOptionsComponent, selector: \"classifieds-ui-datasource-options\", inputs: { datasourceOptions: \"datasourceOptions\" }, providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => DatasourceOptionsComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => DatasourceOptionsComponent),\n multi: true\n },\n ], ngImport: i0, template: \"<div [formGroup]=\\\"formGroup\\\">\\n <mat-form-field>\\n <input matInput formControlName=\\\"query\\\" placeholder=\\\"Query\\\">\\n </mat-form-field>\\n <mat-form-field>\\n <input matInput formControlName=\\\"trackBy\\\" placeholder=\\\"Track By\\\">\\n </mat-form-field>\\n <mat-form-field>\\n <input matInput formControlName=\\\"idMapping\\\" placeholder=\\\"Id\\\">\\n </mat-form-field>\\n <mat-form-field>\\n <input matInput formControlName=\\\"valueMapping\\\" placeholder=\\\"Value\\\">\\n </mat-form-field>\\n <mat-form-field>\\n <input matInput formControlName=\\\"labelMapping\\\" placeholder=\\\"Label\\\">\\n </mat-form-field>\\n <div>\\n <mat-checkbox formControlName=\\\"multiple\\\">Multiple</mat-checkbox>\\n </div>\\n <mat-form-field>\\n <input matInput formControlName=\\\"limit\\\" placeholder=\\\"Limit\\\">\\n </mat-form-field>\\n</div>\", dependencies: [{ kind: \"directive\", type: i1.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: i2.MatLegacyCheckbox, selector: \"mat-checkbox\", inputs: [\"disableRipple\", \"color\", \"tabIndex\"], exportAs: [\"matCheckbox\"] }, { kind: \"component\", type: i5.MatLegacyFormField, selector: \"mat-form-field\", inputs: [\"color\", \"appearance\", \"hideRequiredMarker\", \"hintLabel\", \"floatLabel\"], exportAs: [\"matFormField\"] }, { kind: \"directive\", type: i4.MatLegacyInput, selector: \"input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]\", exportAs: [\"matInput\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DatasourceOptionsComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-datasource-options', providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => DatasourceOptionsComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => DatasourceOptionsComponent),\n multi: true\n },\n ], template: \"<div [formGroup]=\\\"formGroup\\\">\\n <mat-form-field>\\n <input matInput formControlName=\\\"query\\\" placeholder=\\\"Query\\\">\\n </mat-form-field>\\n <mat-form-field>\\n <input matInput formControlName=\\\"trackBy\\\" placeholder=\\\"Track By\\\">\\n </mat-form-field>\\n <mat-form-field>\\n <input matInput formControlName=\\\"idMapping\\\" placeholder=\\\"Id\\\">\\n </mat-form-field>\\n <mat-form-field>\\n <input matInput formControlName=\\\"valueMapping\\\" placeholder=\\\"Value\\\">\\n </mat-form-field>\\n <mat-form-field>\\n <input matInput formControlName=\\\"labelMapping\\\" placeholder=\\\"Label\\\">\\n </mat-form-field>\\n <div>\\n <mat-checkbox formControlName=\\\"multiple\\\">Multiple</mat-checkbox>\\n </div>\\n <mat-form-field>\\n <input matInput formControlName=\\\"limit\\\" placeholder=\\\"Limit\\\">\\n </mat-form-field>\\n</div>\" }]\n }], ctorParameters: function () { return [{ type: i1.UntypedFormBuilder }]; }, propDecorators: { datasourceOptions: [{\n type: Input\n }] } });\n\nclass DatasourceRendererHostDirective {\n constructor(viewContainerRef) {\n this.viewContainerRef = viewContainerRef;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DatasourceRendererHostDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: DatasourceRendererHostDirective, selector: \"[classifiedsUiDatasourceRendererHost]\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DatasourceRendererHostDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[classifiedsUiDatasourceRendererHost]'\n }]\n }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });\n\nclass DatasourcePluginManager extends BasePluginManager {\n constructor(pcm, moduleLoader) {\n super(pcm, moduleLoader);\n }\n pluginDef() {\n return of(new PluginDef({ name: 'datasource' }));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DatasourcePluginManager, deps: [{ token: i1$1.PluginConfigurationManager }, { token: i2$1.ModuleLoaderService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DatasourcePluginManager, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DatasourcePluginManager, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: i1$1.PluginConfigurationManager }, { type: i2$1.ModuleLoaderService }]; } });\n\nclass DatasourceFormComponent {\n set datasource(ds) {\n this.datasource$.next(ds);\n }\n get bindings() {\n return this.formGroup.get('renderer').get('bindings');\n }\n constructor(fb, componentFactoryResolver, dpm) {\n this.fb = fb;\n this.componentFactoryResolver = componentFactoryResolver;\n this.dpm = dpm;\n this.datasources$ = this.dpm.getPlugins();\n this.formGroup = this.fb.group({\n plugin: this.fb.control('', [Validators.required]),\n settings: this.fb.control(''),\n renderer: this.fb.group({\n type: this.fb.control('pane'),\n bindings: this.fb.array([])\n })\n });\n this.bindableOptions = [];\n this.contexts = [];\n this.settings$ = new BehaviorSubject([]);\n this.componentRef$ = new BehaviorSubject(undefined);\n this.datasource$ = new BehaviorSubject(undefined);\n this.afterViewInit$ = new Subject();\n this.contextForwardingSub = this.componentRef$.pipe(filter(componentRef => !!componentRef)).subscribe(componentRef => {\n componentRef.instance.contexts = this.contexts;\n componentRef.instance.settings = this.settings$.value;\n });\n this.rendererSub = combineLatest([\n this.formGroup.get('plugin').valueChanges,\n this.afterViewInit$\n ]).pipe(switchMap(([p, _]) => p && p !== '' ? this.dpm.getPlugin(p) : of(undefined))).subscribe(p => {\n if (p) {\n this.renderPlugin(p);\n }\n });\n this.settingsSub = combineLatest([\n this.componentRef$,\n this.settings$\n ]).pipe(filter(([componentRef, _]) => !!componentRef)).subscribe(([componentRef, s]) => {\n componentRef.instance.settings = s;\n });\n this.datasourceSub = this.datasource$.pipe(tap(ds => {\n setTimeout(() => this.settings$.next(ds ? ds.settings : []));\n })).subscribe(ds => {\n this.formGroup.get('renderer').get('bindings').clear();\n if (ds) {\n this.formGroup.get('plugin').setValue(ds.plugin);\n this.formGroup.get('renderer').get('type').setValue('pane');\n if (ds.renderer && ds.renderer.bindings) {\n ds.renderer.bindings.forEach(b => {\n this.addBinding(b);\n });\n }\n }\n else {\n this.formGroup.get('plugin').setValue('');\n this.formGroup.get('renderer').get('type').setValue('pane');\n }\n });\n this.onTouched = () => { };\n }\n ngOnInit() {\n }\n ngAfterViewInit() {\n this.afterViewInit$.next(undefined);\n }\n renderPlugin(plugin) {\n const componentFactory = this.componentFactoryResolver.resolveComponentFactory(plugin.editor);\n const viewContainerRef = this.datasourceHost.viewContainerRef;\n viewContainerRef.clear();\n this.componentRef$.next(viewContainerRef.createComponent(componentFactory));\n }\n writeValue(val) {\n if (val) {\n this.formGroup.setValue(val, { emitEvent: false });\n }\n }\n registerOnChange(fn) {\n this.formGroup.valueChanges.subscribe(fn);\n }\n registerOnTouched(fn) {\n this.onTouched = fn;\n }\n setDisabledState(isDisabled) {\n if (isDisabled) {\n this.formGroup.disable();\n }\n else {\n this.formGroup.enable();\n }\n }\n validate(c) {\n return this.formGroup.valid ? null : { invalidForm: { valid: false, message: \"content is invalid\" } };\n }\n addBinding(b) {\n this.bindings.push(this.fb.group({\n type: this.fb.control('pane', Validators.required),\n id: this.fb.control(b ? b.id : '', Validators.required)\n }));\n }\n removeBinding(index) {\n this.bindings.removeAt(index);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DatasourceFormComponent, deps: [{ token: i1.UntypedFormBuilder }, { token: i0.ComponentFactoryResolver }, { token: DatasourcePluginManager }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: DatasourceFormComponent, selector: \"classifieds-ui-datasource-form\", inputs: { bindableOptions: \"bindableOptions\", contexts: \"contexts\", datasource: \"datasource\" }, providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => DatasourceFormComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => DatasourceFormComponent),\n multi: true\n },\n ], viewQueries: [{ propertyName: \"datasourceHost\", first: true, predicate: DatasourceRendererHostDirective, descendants: true, static: true }], ngImport: i0, template: \"<div [formGroup]=\\\"formGroup\\\">\\n\\n <mat-form-field>\\n <mat-label>Datasource</mat-label>\\n <mat-select required formControlName=\\\"plugin\\\">\\n <mat-option *ngFor=\\\"let dp of ((datasources$ | async) | keyvalue); let i = index\\\" [value]=\\\"dp.value.id\\\">{{ dp.value.title }}</mat-option>\\n </mat-select>\\n </mat-form-field>\\n\\n <ng-container><ng-template classifiedsUiDatasourceRendererHost></ng-template></ng-container>\\n\\n <div formGroupName=\\\"renderer\\\">\\n\\n <div formArrayName=\\\"bindings\\\">\\n <button type=\\\"button\\\" (click)=\\\"addBinding()\\\">Add Binding</button>\\n <div>\\n <div *ngFor=\\\"let b of bindings.controls; let i = index\\\" [formGroupName]=\\\"i\\\">\\n <mat-form-field>\\n <mat-label>Binding</mat-label>\\n <mat-select required formControlName=\\\"id\\\">\\n <mat-option *ngFor=\\\"let bo of bindableOptions\\\" [value]=\\\"bo\\\">{{ bo }}</mat-option>\\n </mat-select>\\n </mat-form-field>\\n <button type=\\\"button\\\" (click)=\\\"removeBinding(i)\\\">Remove</button>\\n </div>\\n </div>\\n </div>\\n\\n </div>\\n\\n</div>\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i3.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1.RequiredValidator, selector: \":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]\", inputs: [\"required\"] }, { kind: \"directive\", type: i1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"directive\", type: i1.FormGroupName, selector: \"[formGroupName]\", inputs: [\"formGroupName\"] }, { kind: \"directive\", type: i1.FormArrayName, selector: \"[formArrayName]\", inputs: [\"formArrayName\"] }, { kind: \"component\", type: i4$1.MatLegacyOption, selector: \"mat-option\", exportAs: [\"matOption\"] }, { kind: \"component\", type: i5.MatLegacyFormField, selector: \"mat-form-field\", inputs: [\"color\", \"appearance\", \"hideRequiredMarker\", \"hintLabel\", \"floatLabel\"], exportAs: [\"matFormField\"] }, { kind: \"directive\", type: i5.MatLegacyLabel, selector: \"mat-label\" }, { kind: \"component\", type: i6.MatLegacySelect, selector: \"mat-select\", inputs: [\"disabled\", \"disableRipple\", \"tabIndex\"], exportAs: [\"matSelect\"] }, { kind: \"directive\", type: DatasourceRendererHostDirective, selector: \"[classifiedsUiDatasourceRendererHost]\" }, { kind: \"pipe\", type: i3.AsyncPipe, name: \"async\" }, { kind: \"pipe\", type: i3.KeyValuePipe, name: \"keyvalue\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DatasourceFormComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-datasource-form', providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => DatasourceFormComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => DatasourceFormComponent),\n multi: true\n },\n ], template: \"<div [formGroup]=\\\"formGroup\\\">\\n\\n <mat-form-field>\\n <mat-label>Datasource</mat-label>\\n <mat-select required formControlName=\\\"plugin\\\">\\n <mat-option *ngFor=\\\"let dp of ((datasources$ | async) | keyvalue); let i = index\\\" [value]=\\\"dp.value.id\\\">{{ dp.value.title }}</mat-option>\\n </mat-select>\\n </mat-form-field>\\n\\n <ng-container><ng-template classifiedsUiDatasourceRendererHost></ng-template></ng-container>\\n\\n <div formGroupName=\\\"renderer\\\">\\n\\n <div formArrayName=\\\"bindings\\\">\\n <button type=\\\"button\\\" (click)=\\\"addBinding()\\\">Add Binding</button>\\n <div>\\n <div *ngFor=\\\"let b of bindings.controls; let i = index\\\" [formGroupName]=\\\"i\\\">\\n <mat-form-field>\\n <mat-label>Binding</mat-label>\\n <mat-select required formControlName=\\\"id\\\">\\n <mat-option *ngFor=\\\"let bo of bindableOptions\\\" [value]=\\\"bo\\\">{{ bo }}</mat-option>\\n </mat-select>\\n </mat-form-field>\\n <button type=\\\"button\\\" (click)=\\\"removeBinding(i)\\\">Remove</button>\\n </div>\\n </div>\\n </div>\\n\\n </div>\\n\\n</div>\" }]\n }], ctorParameters: function () { return [{ type: i1.UntypedFormBuilder }, { type: i0.ComponentFactoryResolver }, { type: DatasourcePluginManager }]; }, propDecorators: { datasourceHost: [{\n type: ViewChild,\n args: [DatasourceRendererHostDirective, { static: true }]\n }], bindableOptions: [{\n type: Input\n }], contexts: [{\n type: Input\n }], datasource: [{\n type: Input\n }] } });\n\nclass DataSourceFormComponent {\n set settings(settings) {\n this.settings$.next(settings);\n }\n constructor(fb, attributeSerializer) {\n this.fb = fb;\n this.attributeSerializer = attributeSerializer;\n this.settings$ = new BehaviorSubject(undefined);\n this.formGroup = this.fb.group({\n data: this.fb.control('')\n });\n this.settingsSub = this.settings$.pipe(map(s => s ? this.attributeSerializer.deserializeAsObject(s) : undefined)).subscribe(ds => {\n if (ds && ds.data) {\n this.formGroup.get('data').setValue(ds.data);\n }\n else {\n this.formGroup.get('data').setValue('');\n }\n });\n this.onTouched = () => { };\n }\n ngOnInit() {\n }\n writeValue(val) {\n if (val) {\n this.formGroup.setValue(val, { emitEvent: false });\n }\n }\n registerOnChange(fn) {\n this.formGroup.valueChanges.subscribe(fn);\n }\n registerOnTouched(fn) {\n this.onTouched = fn;\n }\n setDisabledState(isDisabled) {\n if (isDisabled) {\n this.formGroup.disable();\n }\n else {\n this.formGroup.enable();\n }\n }\n validate(c) {\n return this.formGroup.valid ? null : { invalidForm: { valid: false, message: \"content is invalid\" } };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DataSourceFormComponent, deps: [{ token: i1.UntypedFormBuilder }, { token: i2$2.AttributeSerializerService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: DataSourceFormComponent, selector: \"classifieds-ui-data-source-form\", inputs: { settings: \"settings\" }, providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => DataSourceFormComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => DataSourceFormComponent),\n multi: true\n },\n ], ngImport: i0, template: \"<div [formGroup]=\\\"formGroup\\\">\\n\\n <textarea formControlName=\\\"data\\\" cols=\\\"60\\\" rows=\\\"20\\\"></textarea>\\n\\n</div>\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i1.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DataSourceFormComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-data-source-form', providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => DataSourceFormComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => DataSourceFormComponent),\n multi: true\n },\n ], template: \"<div [formGroup]=\\\"formGroup\\\">\\n\\n <textarea formControlName=\\\"data\\\" cols=\\\"60\\\" rows=\\\"20\\\"></textarea>\\n\\n</div>\" }]\n }], ctorParameters: function () { return [{ type: i1.UntypedFormBuilder }, { type: i2$2.AttributeSerializerService }]; }, propDecorators: { settings: [{\n type: Input\n }] } });\n\nclass DataDatasourceComponent {\n constructor(controlContainer) {\n this.controlContainer = controlContainer;\n this.settings = [];\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DataDatasourceComponent, deps: [{ token: i1.ControlContainer }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: DataDatasourceComponent, selector: \"classifieds-ui-data-datasource\", inputs: { settings: \"settings\" }, ngImport: i0, template: `<ng-container [formGroup]=\"controlContainer.control\"><classifieds-ui-data-source-form formControlName=\"settings\" [settings]=\"settings\"></classifieds-ui-data-source-form></ng-container>`, isInline: true, dependencies: [{ kind: \"directive\", type: i1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: DataSourceFormComponent, selector: \"classifieds-ui-data-source-form\", inputs: [\"settings\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DataDatasourceComponent, decorators: [{\n type: Component,\n args: [{\n selector: 'classifieds-ui-data-datasource',\n template: `<ng-container [formGroup]=\"controlContainer.control\"><classifieds-ui-data-source-form formControlName=\"settings\" [settings]=\"settings\"></classifieds-ui-data-source-form></ng-container>`,\n }]\n }], ctorParameters: function () { return [{ type: i1.ControlContainer }]; }, propDecorators: { settings: [{\n type: Input\n }] } });\n\nclass DatasourceSourceFormComponent {\n set settings(settings) {\n this.settings$.next(settings);\n }\n constructor(fb, attributeSerializer) {\n this.fb = fb;\n this.attributeSerializer = attributeSerializer;\n this.settings$ = new BehaviorSubject(undefined);\n this.formGroup = this.fb.group({\n data: this.fb.control('')\n });\n this.settingsSub = this.settings$.pipe(map(s => s ? this.attributeSerializer.deserializeAsObject(s) : undefined)).subscribe(ds => {\n if (ds && ds.data) {\n // this.formGroup.get('data').setValue(ds.data);\n }\n else {\n // this.formGroup.get('data').setValue('');\n }\n });\n this.onTouched = () => { };\n }\n ngOnInit() {\n }\n writeValue(val) {\n if (val) {\n this.formGroup.setValue(val, { emitEvent: false });\n }\n }\n registerOnChange(fn) {\n this.formGroup.valueChanges.subscribe(fn);\n }\n registerOnTouched(fn) {\n this.onTouched = fn;\n }\n setDisabledState(isDisabled) {\n if (isDisabled) {\n this.formGroup.disable();\n }\n else {\n this.formGroup.enable();\n }\n }\n validate(c) {\n return this.formGroup.valid ? null : { invalidForm: { valid: false, message: \"content is invalid\" } };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DatasourceSourceFormComponent, deps: [{ token: i1.UntypedFormBuilder }, { token: i2$2.AttributeSerializerService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: DatasourceSourceFormComponent, selector: \"classifieds-ui-datasource-source-form\", inputs: { settings: \"settings\" }, providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => DatasourceSourceFormComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => DatasourceSourceFormComponent),\n multi: true\n },\n ], ngImport: i0, template: \"<p>Datasource</p>\", styles: [\"\"] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DatasourceSourceFormComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-datasource-source-form', providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => DatasourceSourceFormComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => DatasourceSourceFormComponent),\n multi: true\n },\n ], template: \"<p>Datasource</p>\" }]\n }], ctorParameters: function () { return [{ type: i1.UntypedFormBuilder }, { type: i2$2.AttributeSerializerService }]; }, propDecorators: { settings: [{\n type: Input\n }] } });\n\nclass DatasourceSourceComponent {\n constructor(controlContainer) {\n this.controlContainer = controlContainer;\n this.settings = [];\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DatasourceSourceComponent, deps: [{ token: i1.ControlContainer }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: DatasourceSourceComponent, selector: \"classifieds-ui-datasource-source\", inputs: { settings: \"settings\" }, ngImport: i0, template: `<ng-container [formGroup]=\"controlContainer.control\"><classifieds-ui-datasource-source-form formControlName=\"settings\" [settings]=\"settings\"></classifieds-ui-datasource-source-form></ng-container>`, isInline: true, dependencies: [{ kind: \"directive\", type: i1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: DatasourceSourceFormComponent, selector: \"classifieds-ui-datasource-source-form\", inputs: [\"settings\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DatasourceSourceComponent, decorators: [{\n type: Component,\n args: [{\n selector: 'classifieds-ui-datasource-source',\n template: `<ng-container [formGroup]=\"controlContainer.control\"><classifieds-ui-datasource-source-form formControlName=\"settings\" [settings]=\"settings\"></classifieds-ui-datasource-source-form></ng-container>`,\n }]\n }], ctorParameters: function () { return [{ type: i1.ControlContainer }]; }, propDecorators: { settings: [{\n type: Input\n }] } });\n\nconst dataDatasourcePluginFactory = (attrbuteSerializer) => {\n return new DatasourcePlugin({\n id: 'data',\n title: 'Data',\n editor: DataDatasourceComponent,\n fetch: ({ settings }) => of(new Dataset()).pipe(map(() => attrbuteSerializer.deserializeAsObject(settings)), map(s => new Dataset({ results: JSON.parse(s.data) })))\n });\n};\nconst datasourceDatasourcePluginFactory = (attrbuteSerializer) => {\n return new DatasourcePlugin({\n id: 'datasource_datasource',\n title: 'Datasource',\n editor: DatasourceSourceComponent,\n fetch: ({ settings }) => of(new Dataset())\n });\n};\n\nclass DatasourceModule {\n constructor(dpm, attributeSerializer) {\n [\n dataDatasourcePluginFactory(attributeSerializer),\n datasourceDatasourcePluginFactory(attributeSerializer)\n ].forEach(p => dpm.register(p));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DatasourceModule, deps: [{ token: DatasourcePluginManager }, { token: i2$2.AttributeSerializerService }], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: DatasourceModule, declarations: [DatasourceOptionsComponent,\n DatasourceFormComponent,\n DatasourceRendererHostDirective,\n DataDatasourceComponent,\n DataSourceFormComponent,\n DatasourceSourceComponent,\n DatasourceSourceFormComponent], imports: [CommonModule,\n // HttpClientModule,\n ReactiveFormsModule,\n MaterialModule,\n DurlModule], exports: [DatasourceOptionsComponent,\n DatasourceFormComponent,\n DatasourceRendererHostDirective,\n DataDatasourceComponent,\n DataSourceFormComponent,\n DatasourceSourceComponent,\n DatasourceSourceFormComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DatasourceModule, imports: [CommonModule,\n // HttpClientModule,\n ReactiveFormsModule,\n MaterialModule,\n DurlModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DatasourceModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [\n DatasourceOptionsComponent,\n DatasourceFormComponent,\n DatasourceRendererHostDirective,\n DataDatasourceComponent,\n DataSourceFormComponent,\n DatasourceSourceComponent,\n DatasourceSourceFormComponent\n ],\n imports: [\n CommonModule,\n // HttpClientModule,\n ReactiveFormsModule,\n MaterialModule,\n DurlModule\n ],\n exports: [\n DatasourceOptionsComponent,\n DatasourceFormComponent,\n DatasourceRendererHostDirective,\n DataDatasourceComponent,\n DataSourceFormComponent,\n DatasourceSourceComponent,\n DatasourceSourceFormComponent,\n ]\n }]\n }], ctorParameters: function () { return [{ type: DatasourcePluginManager }, { type: i2$2.AttributeSerializerService }]; } });\n\nclass DatasourceApiService {\n constructor(config, http) {\n this.config = config;\n this.http = http;\n this.cache = new Map();\n }\n getData(url) {\n if (this.cache.has(url)) {\n return of(this.cache.get(url)).pipe(delay(0));\n }\n else {\n return this.http.get(`${url}`).pipe(catchError(() => of([])), map(data => Array.isArray(data) ? data : [data]), tap(data => this.cache.set(url, data)));\n }\n }\n postData({ url, body = '' }) {\n return this.http.post(`${url}`, body).pipe(map(data => Array.isArray(data) ? data : [data]));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DatasourceApiService, deps: [{ token: i1$2.DefaultDataServiceConfig }, { token: i2$3.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DatasourceApiService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DatasourceApiService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: i1$2.DefaultDataServiceConfig }, { type: i2$3.HttpClient }]; } });\n\nclass SelectOption {\n constructor(data) {\n if (data) {\n this.label = data.label;\n this.dataItem = data.dataItem;\n if (data.value !== undefined) {\n // this.value = new AttributeValue(data.value);\n this.value = data.value;\n }\n }\n }\n}\nclass SelectMapping {\n constructor(data) {\n if (data) {\n this.value = data.value;\n this.label = data.label;\n this.id = data.id;\n this.multiple = data.multiple;\n this.limit = data.limit;\n }\n }\n}\n\nclass DatasourceEvaluator {\n constructor(dpm, attributeSerializer) {\n this.dpm = dpm;\n this.attributeSerializer = attributeSerializer;\n }\n evalDatasource({ datasource, metadata, datasources }) {\n return of(datasource).pipe(switchMap(ds => this.dpm.getPlugin(ds.plugin).pipe(map(p => [ds, p]))), switchMap(([ds, p]) => p.fetch({ settings: ds.settings, metadata, datasource: ds, datasources }).pipe(map(d => [ds, d]))), switchMap(([ds, dataset]) => forkJoin(ds.renderer.bindings.reduce((p, c) => [...p, ...(datasources && datasources.has(c.id) ? [of(datasources.get(c.id))] : [])], [])).pipe(switchMap(datasources2 => datasources2.reduce((p, c) => p.pipe(switchMap(dataset2 => this.dpm.getPlugin(c.plugin).pipe(map(dsp => [dsp, dataset2, c]))), switchMap(([dsp, dataset2, nestedDatasource]) => dsp.fetch({ settings: c.settings, dataset: dataset2, metadata: metadata, datasource: nestedDatasource, datasources }))), of(dataset))), map(dataset => dataset), defaultIfEmpty(dataset))));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DatasourceEvaluator, deps: [{ token: DatasourcePluginManager }, { token: i2$2.AttributeSerializerService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DatasourceEvaluator, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DatasourceEvaluator, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: DatasourcePluginManager }, { type: i2$2.AttributeSerializerService }]; } });\n\n/*\n * Public API Surface of datasource\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { DataDatasourceComponent, DataSourceFormComponent, Dataset, Datasource, DatasourceApiService, DatasourceEditorOptions, DatasourceEvaluator, DatasourceFormComponent, DatasourceModule, DatasourceOptions, DatasourceOptionsComponent, DatasourcePlugin, DatasourcePluginManager, DatasourceRendererHostDirective, DatasourceSourceComponent, DatasourceSourceFormComponent, Renderer, Rest, SelectMapping, SelectOption, mockDatasourceOptions, mockRest };\n","import * as i0 from '@angular/core';\nimport { Injectable, APP_INITIALIZER, NgModule } from '@angular/core';\nimport * as i1 from '@rollthecloudinc/plugin';\nimport { Plugin, BasePluginManager, PluginDef } from '@rollthecloudinc/plugin';\nimport { of } from 'rxjs';\nimport * as i2 from '@rollthecloudinc/utils';\n\nclass PublicApiBridgeService {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PublicApiBridgeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PublicApiBridgeService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PublicApiBridgeService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }] });\n\nclass BridgeBuilderPlugin extends Plugin {\n constructor(data) {\n super(data);\n if (data) {\n this.build = data.build;\n }\n }\n}\n\nconst bridgeAppInit = (builder) => {\n return () => new Promise(res => { builder.build(); res(); });\n};\nconst testBridgeFactory = () => {\n return new BridgeBuilderPlugin({\n id: 'test',\n title: 'Test',\n build: () => {\n PublicApiBridgeService.prototype['sayHello2'] = () => {\n alert('say hello 2');\n };\n }\n });\n};\n\nclass BridgeBuilderPluginManager extends BasePluginManager {\n constructor(pcm, moduleLoader) {\n super(pcm, moduleLoader);\n }\n pluginDef() {\n return of(new PluginDef({ name: 'bridgebuilder' }));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: BridgeBuilderPluginManager, deps: [{ token: i1.PluginConfigurationManager }, { token: i2.ModuleLoaderService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: BridgeBuilderPluginManager, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: BridgeBuilderPluginManager, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: i1.PluginConfigurationManager }, { type: i2.ModuleLoaderService }]; } });\n\nclass BridgeBuilderService {\n constructor(bpm) {\n this.bpm = bpm;\n }\n build() {\n try {\n console.log('build bridge...');\n this.bpm.getPlugins().subscribe(plugins => {\n Array.from(plugins).forEach(([k, p]) => {\n p.build();\n console.log('bridge build: ' + k);\n });\n });\n console.log('bridge built.');\n }\n catch (e) {\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: BridgeBuilderService, deps: [{ token: BridgeBuilderPluginManager }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: BridgeBuilderService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: BridgeBuilderService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: BridgeBuilderPluginManager }]; } });\n\nclass BridgeModule {\n constructor(bmp) {\n console.log('bridge constructor');\n bmp.register(testBridgeFactory());\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: BridgeModule, deps: [{ token: BridgeBuilderPluginManager }], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: BridgeModule }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: BridgeModule, providers: [\n { provide: APP_INITIALIZER, useFactory: bridgeAppInit, deps: [BridgeBuilderService], multi: true }\n ] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: BridgeModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [],\n imports: [],\n exports: [],\n providers: [\n { provide: APP_INITIALIZER, useFactory: bridgeAppInit, deps: [BridgeBuilderService], multi: true }\n ]\n }]\n }], ctorParameters: function () { return [{ type: BridgeBuilderPluginManager }]; } });\n\n/*\n * Public API Surface of bridge\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { BridgeBuilderPlugin, BridgeBuilderPluginManager, BridgeModule, PublicApiBridgeService };\n","import * as i0 from '@angular/core';\nimport { InjectionToken, forwardRef, Component, Input, ViewChild, Injectable, Directive, NgModule, Inject } from '@angular/core';\nimport * as i3 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport { FlexLayoutModule } from '@angular/flex-layout';\nimport * as i1 from '@angular/forms';\nimport { Validators, NG_VALUE_ACCESSOR, NG_VALIDATORS, ReactiveFormsModule, FormsModule } from '@angular/forms';\nimport { MaterialModule } from '@rollthecloudinc/material';\nimport * as i2$2 from '@rollthecloudinc/token';\nimport { TokenModule } from '@rollthecloudinc/token';\nimport { Snippet, SnippetModule } from '@rollthecloudinc/snippet';\nimport * as i1$1 from '@rollthecloudinc/datasource';\nimport { Rest, Datasource, DatasourceFormComponent, DatasourcePlugin, Dataset, DatasourceModule } from '@rollthecloudinc/datasource';\nimport * as i1$3 from '@rollthecloudinc/plugin';\nimport { Plugin, BasePluginManager, PluginDef } from '@rollthecloudinc/plugin';\nimport * as i4$1 from '@rollthecloudinc/bridge';\nimport { BridgeBuilderPlugin, PublicApiBridgeService } from '@rollthecloudinc/bridge';\nimport { map, tap, switchMap, take, filter, scan, defaultIfEmpty, debounceTime } from 'rxjs/operators';\nimport * as i6$2 from '@rollthecloudinc/dparam';\nimport { ParamPlugin } from '@rollthecloudinc/dparam';\nimport { BehaviorSubject, iif, of, merge, combineLatest, ReplaySubject, forkJoin } from 'rxjs';\nimport * as i2 from '@rollthecloudinc/attributes';\nimport * as i4 from '@angular/material/legacy-core';\nimport * as i5 from '@angular/material/legacy-form-field';\nimport * as i6 from '@angular/material/legacy-select';\nimport { ContentBinding } from '@rollthecloudinc/content';\nimport { getRouterSelectors } from '@ngrx/router-store';\nimport * as i1$2 from '@ngrx/store';\nimport { select } from '@ngrx/store';\nimport * as i2$1 from '@rollthecloudinc/utils';\nimport * as i6$1 from '@angular/material/legacy-input';\nimport * as i8 from '@angular/flex-layout/flex';\nimport * as uuid from 'uuid';\n\nconst CONTEXT_PLUGIN = new InjectionToken('ContextPlugin');\n\nclass ContextPlugin extends Plugin {\n constructor(data) {\n super(data);\n this.global = false;\n if (data) {\n this.name = this.id;\n //this.title = data.title;\n this.baseObject = data.baseObject;\n this.resolver = data.resolver;\n this.global = data.global === undefined ? false : data.global;\n this.internal = data.internal === undefined ? false : data.internal;\n this.group = data.group !== undefined ? data.group : undefined;\n if (data.editorComponent) {\n this.editorComponent = data.editorComponent;\n }\n }\n }\n}\nclass InlineContext {\n constructor(data) {\n this.name = data.name;\n this.adaptor = data.adaptor;\n if (data.plugin) {\n this.plugin = data.plugin;\n }\n if (this.adaptor === 'rest') {\n this.rest = new Rest(data.rest);\n }\n else if (this.adaptor === 'snippet' || this.adaptor === 'json') {\n this.snippet = new Snippet(data.snippet);\n }\n else if (this.adaptor === 'data') {\n this.data = data.data;\n }\n else if (this.adaptor === 'token') {\n this.tokens = new Map([...data.tokens]);\n }\n else if (this.adaptor === 'datasource') {\n this.datasource = new Datasource(data.datasource);\n }\n }\n}\nclass ContextDatasource {\n constructor(data) {\n if (data) {\n this.name = data.name;\n }\n }\n}\n\nclass ContextDatasourceFormComponent {\n set settings(settings) {\n this.settings$.next(settings);\n }\n constructor(fb, attributeSerializer) {\n this.fb = fb;\n this.attributeSerializer = attributeSerializer;\n this.contexts = [];\n this.settings$ = new BehaviorSubject(undefined);\n this.formGroup = this.fb.group({\n name: this.fb.control('', [Validators.required])\n });\n this.settingsSub = this.settings$.pipe(map(s => s ? new ContextDatasource(this.attributeSerializer.deserializeAsObject(s)) : undefined)).subscribe(ds => {\n if (ds) {\n this.formGroup.get('name').setValue(ds.name);\n }\n else {\n this.formGroup.get('name').setValue('');\n }\n });\n this.onTouched = () => { };\n }\n writeValue(val) {\n if (val) {\n this.formGroup.setValue(val, { emitEvent: false });\n }\n }\n registerOnChange(fn) {\n this.formGroup.valueChanges.subscribe(fn);\n }\n registerOnTouched(fn) {\n this.onTouched = fn;\n }\n setDisabledState(isDisabled) {\n if (isDisabled) {\n this.formGroup.disable();\n }\n else {\n this.formGroup.enable();\n }\n }\n validate(c) {\n return this.formGroup.valid ? null : { invalidForm: { valid: false, message: \"content is invalid\" } };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ContextDatasourceFormComponent, deps: [{ token: i1.UntypedFormBuilder }, { token: i2.AttributeSerializerService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: ContextDatasourceFormComponent, selector: \"classifieds-ui-context-datasource-form\", inputs: { contexts: \"contexts\", settings: \"settings\" }, providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => ContextDatasourceFormComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => ContextDatasourceFormComponent),\n multi: true\n },\n ], ngImport: i0, template: \"<div [formGroup]=\\\"formGroup\\\">\\n\\n <mat-form-field>\\n <mat-label>Context</mat-label>\\n <mat-select required formControlName=\\\"name\\\">\\n <mat-option *ngFor=\\\"let c of contexts\\\" [value]=\\\"c\\\">{{ c }}</mat-option>\\n </mat-select>\\n </mat-form-field>\\n\\n</div>\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i3.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1.RequiredValidator, selector: \":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]\", inputs: [\"required\"] }, { kind: \"directive\", type: i1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: i4.MatLegacyOption, selector: \"mat-option\", exportAs: [\"matOption\"] }, { kind: \"component\", type: i5.MatLegacyFormField, selector: \"mat-form-field\", inputs: [\"color\", \"appearance\", \"hideRequiredMarker\", \"hintLabel\", \"floatLabel\"], exportAs: [\"matFormField\"] }, { kind: \"directive\", type: i5.MatLegacyLabel, selector: \"mat-label\" }, { kind: \"component\", type: i6.MatLegacySelect, selector: \"mat-select\", inputs: [\"disabled\", \"disableRipple\", \"tabIndex\"], exportAs: [\"matSelect\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ContextDatasourceFormComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-context-datasource-form', providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => ContextDatasourceFormComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => ContextDatasourceFormComponent),\n multi: true\n },\n ], template: \"<div [formGroup]=\\\"formGroup\\\">\\n\\n <mat-form-field>\\n <mat-label>Context</mat-label>\\n <mat-select required formControlName=\\\"name\\\">\\n <mat-option *ngFor=\\\"let c of contexts\\\" [value]=\\\"c\\\">{{ c }}</mat-option>\\n </mat-select>\\n </mat-form-field>\\n\\n</div>\" }]\n }], ctorParameters: function () { return [{ type: i1.UntypedFormBuilder }, { type: i2.AttributeSerializerService }]; }, propDecorators: { contexts: [{\n type: Input\n }], settings: [{\n type: Input\n }] } });\n\nclass ContextDatasourceComponent {\n constructor(controlContainer) {\n this.controlContainer = controlContainer;\n this.contexts = [];\n this.settings = [];\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ContextDatasourceComponent, deps: [{ token: i1.ControlContainer }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: ContextDatasourceComponent, selector: \"classifieds-ui-context-datasource\", inputs: { contexts: \"contexts\", settings: \"settings\" }, ngImport: i0, template: `<ng-container [formGroup]=\"controlContainer.control\"><classifieds-ui-context-datasource-form formControlName=\"settings\" [contexts]=\"contexts\" [settings]=\"settings\"></classifieds-ui-context-datasource-form></ng-container>`, isInline: true, dependencies: [{ kind: \"directive\", type: i1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: ContextDatasourceFormComponent, selector: \"classifieds-ui-context-datasource-form\", inputs: [\"contexts\", \"settings\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ContextDatasourceComponent, decorators: [{\n type: Component,\n args: [{\n selector: 'classifieds-ui-context-datasource',\n template: `<ng-container [formGroup]=\"controlContainer.control\"><classifieds-ui-context-datasource-form formControlName=\"settings\" [contexts]=\"contexts\" [settings]=\"settings\"></classifieds-ui-context-datasource-form></ng-container>`,\n }]\n }], ctorParameters: function () { return [{ type: i1.ControlContainer }]; }, propDecorators: { contexts: [{\n type: Input\n }], settings: [{\n type: Input\n }] } });\n\nclass DatasourceContextEditorComponent {\n constructor(fb, controlContainer, attributeSerializer) {\n this.fb = fb;\n this.controlContainer = controlContainer;\n this.attributeSerializer = attributeSerializer;\n }\n ngOnInit() {\n this.controlContainer.control.addControl('adaptor', this.fb.control('datasource', Validators.required));\n this.controlContainer.control.addControl('datasource', this.fb.control(''));\n this.controlContainer.control.addControl('_proxy', this.fb.control(''));\n this.proxyControlSub = this.controlContainer.control.get('_proxy').valueChanges.pipe(map(v => v ? new Datasource({ ...v, settings: this.attributeSerializer.serialize(v.settings, 'settings').attributes }) : new Datasource()), tap(ds => this.controlContainer.control.get('datasource').setValue(ds))).subscribe();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DatasourceContextEditorComponent, deps: [{ token: i1.UntypedFormBuilder }, { token: i1.ControlContainer }, { token: i2.AttributeSerializerService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: DatasourceContextEditorComponent, selector: \"classifieds-ui-datasource-context-editor\", viewQueries: [{ propertyName: \"datasourceFormComp\", first: true, predicate: DatasourceFormComponent, descendants: true, static: true }], ngImport: i0, template: `<ng-container [formGroup]=\"controlContainer.control\"><classifieds-ui-datasource-form formControlName=\"_proxy\"></classifieds-ui-datasource-form></ng-container>`, isInline: true, dependencies: [{ kind: \"directive\", type: i1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: i1$1.DatasourceFormComponent, selector: \"classifieds-ui-datasource-form\", inputs: [\"bindableOptions\", \"contexts\", \"datasource\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DatasourceContextEditorComponent, decorators: [{\n type: Component,\n args: [{\n selector: 'classifieds-ui-datasource-context-editor',\n //templateUrl: './context-editor.component.html',\n // styleUrls: ['./datasource-editor.component.scss'],\n template: `<ng-container [formGroup]=\"controlContainer.control\"><classifieds-ui-datasource-form formControlName=\"_proxy\"></classifieds-ui-datasource-form></ng-container>`\n }]\n }], ctorParameters: function () { return [{ type: i1.UntypedFormBuilder }, { type: i1.ControlContainer }, { type: i2.AttributeSerializerService }]; }, propDecorators: { datasourceFormComp: [{\n type: ViewChild,\n args: [DatasourceFormComponent, { static: true }]\n }] } });\n\nconst routeContextFactory = (resolver) => {\n const baseObject = {\n path: '',\n arg0: '',\n arg2: '',\n arg3: '',\n arg4: '',\n arg5: ''\n };\n return new ContextPlugin({ id: 'route', name: 'route', title: 'Route', global: true, baseObject, resolver });\n};\nconst contextBridgeFactory = (cpm, inlineContextResolver) => {\n return new BridgeBuilderPlugin({\n id: 'context',\n title: 'Context',\n build: () => {\n PublicApiBridgeService.prototype['resolveContext'] = (n, data) => {\n return new Promise(res => {\n cpm.getPlugin(n).pipe(switchMap(p => p.resolver.resolve(p, data).pipe(take(1)))).subscribe(result => {\n res(result);\n });\n });\n };\n PublicApiBridgeService.prototype['resolveMergedContext'] = (contexts) => {\n return new Promise(res => {\n inlineContextResolver.resolveMerged(contexts).pipe(tap(v => res(v)), take(1)).subscribe();\n });\n };\n }\n });\n};\nconst paramPluginFactory = (inlineContextResolver, tokenizerService) => {\n return new ParamPlugin({\n id: 'context',\n title: 'Context',\n evalParam: ({ param, metadata }) => {\n const ctx = param.mapping.context && param.mapping.context !== '' ? new InlineContext(metadata.get('contexts').find(c => c.name === param.mapping.context)) : undefined;\n return ctx ? inlineContextResolver.resolve(ctx).pipe(take(1), switchMap(d => iif(() => param.mapping.value && param.mapping.value !== '', of(d).pipe(map(d => tokenizerService.generateGenericTokens(Array.isArray(d) ? d[0] : d)), map(tokens => tokenizerService.replaceTokens(`[${param.mapping.value}]`, tokens)), take(1)), of(Array.isArray(d) ? d[0] : d)).pipe(take(1)))) : of();\n },\n // At the very least it uses itself, right?\n usedContexts: ({ param, metadata }) => of([param.mapping.context])\n });\n};\nconst contextDatasourceFactory = (inlineContextResolver, attributeSerializer) => {\n return new DatasourcePlugin({\n id: 'context',\n title: 'Context',\n editor: ContextDatasourceComponent,\n fetch: ({ settings, metadata }) => of(new Dataset()).pipe(map(() => new ContextDatasource(attributeSerializer.deserializeAsObject(settings))), map(ds => metadata.get('contexts').find(c => c.name === ds.name)), switchMap(inlineContext => inlineContextResolver.resolve(inlineContext).pipe(map(v => v instanceof Dataset ? v : new Dataset({ results: Array.isArray(v) ? v : [v] })), take(1)))),\n getBindings: ({ settings, metadata }) => of([]).pipe(map(() => new ContextDatasource(attributeSerializer.deserializeAsObject(settings))), map(ds => [new ContentBinding({ id: ds.name, type: 'context' })]))\n });\n};\nconst datasourceContextFactory = (resolver) => {\n const baseObject = {\n dataset: new Dataset(),\n };\n return new ContextPlugin({ id: \"datasource\", name: 'datasource', title: 'Datasource', baseObject, resolver, editorComponent: DatasourceContextEditorComponent });\n};\n\nclass RouteResolver {\n constructor(routerStore) {\n this.routerStore = routerStore;\n }\n resolve(ctx, data) {\n const { selectCurrentRoute } = getRouterSelectors();\n return this.routerStore.pipe(select(selectCurrentRoute), map(route => {\n const obj = {\n path: `/pages/panelpage/${route.params.panelPageId}`\n };\n //console.log(route);\n /*for(const prop in route.params) {\n if(prop.indexOf('arg') === 0) {\n obj[prop] = route.params[prop];\n }\n }*/\n return obj;\n })\n //take(1)\n );\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RouteResolver, deps: [{ token: i1$2.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RouteResolver }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RouteResolver, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: i1$2.Store }]; } });\n\nclass ContextEditorHostDirective {\n constructor(viewContainerRef) {\n this.viewContainerRef = viewContainerRef;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ContextEditorHostDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: ContextEditorHostDirective, selector: \"[classifiedsUiContextEditorHost]\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ContextEditorHostDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[classifiedsUiContextEditorHost]'\n }]\n }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });\n\nclass ContextPluginManager extends BasePluginManager {\n constructor(pcm, moduleLoader) {\n super(pcm, moduleLoader);\n }\n pluginDef() {\n return of(new PluginDef({ name: 'context' }));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ContextPluginManager, deps: [{ token: i1$3.PluginConfigurationManager }, { token: i2$1.ModuleLoaderService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ContextPluginManager, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ContextPluginManager, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: i1$3.PluginConfigurationManager }, { type: i2$1.ModuleLoaderService }]; } });\n\nclass ContextFormComponent {\n set context(context) {\n this.context$.next(context);\n }\n constructor(fb, componentFactoryResolver, cpm) {\n this.fb = fb;\n this.componentFactoryResolver = componentFactoryResolver;\n this.cpm = cpm;\n this.contextForm = this.fb.group({\n name: this.fb.control('', Validators.required),\n plugin: this.fb.control('', Validators.required)\n });\n this.context$ = new BehaviorSubject(undefined);\n this.onTouched = () => { };\n }\n ngOnInit() {\n // this.contextPlugins = this.contextManager.getAll(false);\n this.contextPlugins = this.cpm.getPlugins().pipe(map(plugins => new Map(Array.from(plugins).filter(([_, p], __) => !p.internal).map(([_, p], __) => [p.name, p]))));\n this.contextForm.get('plugin').valueChanges.pipe(switchMap(v => this.cpm.getPlugin(v))).subscribe(plugin => {\n if (plugin.editorComponent) {\n this.renderEditor(plugin);\n }\n else {\n this.editorHost.viewContainerRef.clear();\n }\n });\n this.context$.pipe(filter(() => !!this.componentRef)).subscribe(c => {\n this.componentRef.instance.context = c;\n });\n }\n writeValue(val) {\n if (val) {\n this.contextForm.setValue(val, { emitEvent: false });\n }\n }\n registerOnChange(fn) {\n this.contextForm.valueChanges.subscribe(fn);\n }\n registerOnTouched(fn) {\n this.onTouched = fn;\n }\n setDisabledState(isDisabled) {\n if (isDisabled) {\n this.contextForm.disable();\n }\n else {\n this.contextForm.enable();\n }\n }\n validate(c) {\n return this.contextForm.valid ? null : { invalidForm: { valid: false, message: \"context is invalid\" } };\n }\n renderEditor(plugin) {\n const componentFactory = this.componentFactoryResolver.resolveComponentFactory(plugin.editorComponent);\n const viewContainerRef = this.editorHost.viewContainerRef;\n viewContainerRef.clear();\n this.componentRef = viewContainerRef.createComponent(componentFactory);\n this.componentRef.instance.context = this.context$.value;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ContextFormComponent, deps: [{ token: i1.UntypedFormBuilder }, { token: i0.ComponentFactoryResolver }, { token: ContextPluginManager }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: ContextFormComponent, selector: \"classifieds-ui-context-form\", inputs: { context: \"context\" }, providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => ContextFormComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => ContextFormComponent),\n multi: true\n },\n ], viewQueries: [{ propertyName: \"editorHost\", first: true, predicate: ContextEditorHostDirective, descendants: true, static: true }], ngImport: i0, template: \"<div [formGroup]=\\\"contextForm\\\" fxLayout=\\\"column\\\">\\n <mat-form-field>\\n <input matInput formControlName=\\\"name\\\" placeholder=\\\"Name\\\" required>\\n </mat-form-field>\\n <mat-form-field>\\n <mat-label>Type</mat-label>\\n <mat-select required formControlName=\\\"plugin\\\">\\n <mat-option *ngFor=\\\"let cPlugin of ((contextPlugins | async) | keyvalue); let i = index\\\" [value]=\\\"cPlugin.value.name\\\">{{ cPlugin.value.title }}</mat-option>\\n </mat-select>\\n </mat-form-field>\\n <ng-container><ng-template classifiedsUiContextEditorHost></ng-template></ng-container>\\n</div>\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i3.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i1.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1.RequiredValidator, selector: \":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]\", inputs: [\"required\"] }, { kind: \"directive\", type: i1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: i4.MatLegacyOption, selector: \"mat-option\", exportAs: [\"matOption\"] }, { kind: \"component\", type: i5.MatLegacyFormField, selector: \"mat-form-field\", inputs: [\"color\", \"appearance\", \"hideRequiredMarker\", \"hintLabel\", \"floatLabel\"], exportAs: [\"matFormField\"] }, { kind: \"directive\", type: i5.MatLegacyLabel, selector: \"mat-label\" }, { kind: \"directive\", type: i6$1.MatLegacyInput, selector: \"input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]\", exportAs: [\"matInput\"] }, { kind: \"component\", type: i6.MatLegacySelect, selector: \"mat-select\", inputs: [\"disabled\", \"disableRipple\", \"tabIndex\"], exportAs: [\"matSelect\"] }, { kind: \"directive\", type: i8.DefaultLayoutDirective, selector: \" [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]\", inputs: [\"fxLayout\", \"fxLayout.xs\", \"fxLayout.sm\", \"fxLayout.md\", \"fxLayout.lg\", \"fxLayout.xl\", \"fxLayout.lt-sm\", \"fxLayout.lt-md\", \"fxLayout.lt-lg\", \"fxLayout.lt-xl\", \"fxLayout.gt-xs\", \"fxLayout.gt-sm\", \"fxLayout.gt-md\", \"fxLayout.gt-lg\"] }, { kind: \"directive\", type: ContextEditorHostDirective, selector: \"[classifiedsUiContextEditorHost]\" }, { kind: \"pipe\", type: i3.AsyncPipe, name: \"async\" }, { kind: \"pipe\", type: i3.KeyValuePipe, name: \"keyvalue\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ContextFormComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-context-form', providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => ContextFormComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => ContextFormComponent),\n multi: true\n },\n ], template: \"<div [formGroup]=\\\"contextForm\\\" fxLayout=\\\"column\\\">\\n <mat-form-field>\\n <input matInput formControlName=\\\"name\\\" placeholder=\\\"Name\\\" required>\\n </mat-form-field>\\n <mat-form-field>\\n <mat-label>Type</mat-label>\\n <mat-select required formControlName=\\\"plugin\\\">\\n <mat-option *ngFor=\\\"let cPlugin of ((contextPlugins | async) | keyvalue); let i = index\\\" [value]=\\\"cPlugin.value.name\\\">{{ cPlugin.value.title }}</mat-option>\\n </mat-select>\\n </mat-form-field>\\n <ng-container><ng-template classifiedsUiContextEditorHost></ng-template></ng-container>\\n</div>\\n\" }]\n }], ctorParameters: function () { return [{ type: i1.UntypedFormBuilder }, { type: i0.ComponentFactoryResolver }, { type: ContextPluginManager }]; }, propDecorators: { context: [{\n type: Input\n }], editorHost: [{\n type: ViewChild,\n args: [ContextEditorHostDirective, { static: true }]\n }] } });\n\nclass DatasourceResolver {\n constructor(dpm) {\n this.dpm = dpm;\n }\n resolve(ctx, data, metadata) {\n /**\n * @todo: When context bindings change fetch again.\n */\n return of(new Dataset()).pipe(map(() => new Datasource(data)), switchMap(ds => this.dpm.getPlugin(ds.plugin).pipe(map(p => ({ ds, p })))), switchMap(({ ds, p }) => p.fetch({ settings: ds.settings, metadata })), map(d => d));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DatasourceResolver, deps: [{ token: i1$1.DatasourcePluginManager }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DatasourceResolver }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DatasourceResolver, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: i1$1.DatasourcePluginManager }]; } });\n\n// import { PageBuilderFacade } from '../features/page-builder/page-builder.facade';\nclass BaseInlineContextResolverService {\n constructor(\n // private contextManager: ContextManagerService,\n // private pageBuilderFacade: PageBuilderFacade,\n cpm, rcm) {\n this.cpm = cpm;\n this.rcm = rcm;\n }\n resolveGlobals(tag = uuid.v4()) {\n // const plugins = this.contextManager.getAll(true);\n return this.cpm.getPlugins().pipe(map(plugins => Array.from(plugins.values()).filter(p => p.global === true)), switchMap(plugins => merge(...plugins.map(p => p.resolver.resolve(p, {}).pipe(map(res => [p.name, res, plugins.length])))).pipe(scan((acc, [n, v, len]) => new Map([...acc, [`_${n}`, v], ['__len', len]]), new Map([])), filter(v => v.size - 1 === +v.get('__len')), map(v => Object.assign({}, ...[...v.entries()].filter(([k, v]) => k !== '__len').map(([k, v]) => ({ [k]: v })))))));\n /*return this.cpm.getPlugins().pipe(\n map(plugins => Array.from(plugins.values()).filter(p => p.global === true)),\n map(plugins => plugins.map((p, k) => p => p.resolver.resolve(p, {}).pipe(\n map<any, [string, any, number]>(res => [p.name, res, plugins.length])\n ))),\n mergeAll(),\n scan((acc, [n, v, len]) => new Map<string, any>([ ...acc, [`_${n}`, v], ['__len', len] ],), new Map<string, any>([])),\n filter(v => v.size - 1 === v.get('__len').len),\n map(v => Object.assign({}, ...[...v.entries()].filter(([k, v]) => k !== '__len').map(([k, v]) => ({[k]: v}))))\n );*/\n /*return merge(\n ...plugins.map(p => p.resolver.resolve(p, {}).pipe(\n map(res => [p.name, res])\n ))\n ).pipe(\n scan((acc, [n, v]) => new Map<string, any>([ ...acc, [`_${n}`, v] ]), new Map<string, any>([])),\n filter(v => v.size === plugins.length),\n map(v => Object.assign({}, ...[...v.entries()].map(([k, v]) => ({[k]: v}))))\n );*/\n }\n resolveGlobalsSingle(tag = uuid.v4()) {\n // const plugins = this.contextManager.getAll(true);\n return this.cpm.getPlugins().pipe(map(plugins => Array.from(plugins.values()).filter(p => p.global === true)), switchMap(plugins => merge(...plugins.map(p => p.resolver.resolve(p, {}).pipe(map(res => [p.name, res]))))));\n /*return merge(\n ...plugins.map(p => p.resolver.resolve(p, {}).pipe(\n map(res => [p.name, res])\n ))\n );*/\n }\n /*resolveForms(): Observable<any> {\n return this.pageBuilderFacade.getFormNames$.pipe(\n switchMap(names => names.length === 0 ? of([]) : combineLatest( names.map(n => this.pageBuilderFacade.getForm$(n).pipe(\n map(f => [n, f])\n ) ) )),\n map(v => v.reduce((p, [n, f]) => ({ ...p, [`form__${n}`]: f }), {}))\n );\n }*/\n /*resolveFormsSingle(): Observable<any> {\n return this.pageBuilderFacade.getFormNames$.pipe(\n switchMap(names => merge( ...names.map(n => this.pageBuilderFacade.getForm$(n).pipe(\n map(f => [`form__${n}`, f])\n ) ) ))\n );\n }*/\n resolveAll(contexts, tag = uuid.v4()) {\n return merge(...contexts.map(c => this.resolve(c, tag).pipe(map(res => [c.name, Array.isArray(res) ? res.length > 0 ? res[0] : undefined : res])))).pipe(scan((acc, [n, v]) => new Map([...acc, [n, v]]), new Map()), filter(v => v.size === contexts.length), map(v => Object.assign({}, ...[...v.entries()].map(([k, v]) => ({ [k]: v })))));\n }\n resolveAllSingle(contexts, tag = uuid.v4()) {\n return merge(...contexts.map(c => this.resolve(c, tag).pipe(map(res => [c.name, Array.isArray(res) ? res.length > 0 ? res[0] : undefined : res])))).pipe(map(([n, v]) => [n, v]));\n }\n resolveMerged(contexts, tag = uuid.v4()) {\n /*return combineLatest([this.resolveGlobals(tag), this.resolveForms(), contexts.length === 0 ? of({}) : this.resolveAll(contexts, tag)]).pipe(\n debounceTime(0),\n map(v => v.reduce<any>((p, c) => ({ ...p, ...c }), {}))\n );*/\n return this.rcm.getPlugins().pipe(switchMap(() => this.rcm.add$.pipe(defaultIfEmpty(undefined))), switchMap(() => this.rcm.getPlugins()), switchMap(plugins => combineLatest([\n ...Array.from(plugins).map(([_, p]) => p.resolve()),\n this.resolveGlobals(tag),\n contexts.length === 0 ? of({}) : this.resolveAll(contexts, tag)\n ]).pipe(debounceTime(0), map(v => v.reduce((p, c) => ({ ...p, ...c }), {})))));\n }\n resolveMergedSingle(contexts, tag = uuid.v4()) {\n if (contexts.length !== 0) {\n /*return merge(\n this.resolveGlobalsSingle(),\n // this.resolveFormsSingle(),\n this.resolveAllSingle(contexts)\n );*/\n return this.rcm.getPlugins().pipe(\n /*switchMap(() => this.rcm.add$.pipe(\n defaultIfEmpty()\n )),\n switchMap(() => this.rcm.getPlugins()),*/\n switchMap(plugins => merge(...Array.from(plugins).map(([_, p]) => p.resolveSingle()), \n // Turn this into plugins as well\n this.resolveGlobalsSingle(), this.resolveAllSingle(contexts))));\n }\n else {\n /*return merge(\n // this.resolveFormsSingle(),\n this.resolveGlobalsSingle()\n );*/\n //return this.resolveGlobalsSingle();\n return this.rcm.getPlugins().pipe(\n /*switchMap(() => this.rcm.add$.pipe(\n defaultIfEmpty()\n )),\n switchMap(() => this.rcm.getPlugins()),*/\n switchMap(plugins => merge(...Array.from(plugins).map(([_, p]) => p.resolveSingle()), this.resolveGlobalsSingle())));\n }\n /*return merge(\n this.resolveGlobalsSingle(),\n contexts.length === 0 ? of({}) : this.resolveAllSingle(contexts)\n );*/\n }\n resolve(context, tag = uuid.v4()) {\n if (context.plugin) {\n return this.cpm.getPlugin(context.plugin).pipe(\n /*switchMap(p => p.beforeResolve({ inlineContext: context }).pipe(\n map(({ inlineContext }) => ({ inlineContext, plugin: p }))\n )),*/\n // switchMap(p => p.resolver.resolve(p, this.getDataObject(context)))\n switchMap(p => p.resolver.resolve(p, this.getDataObject(context), new Map([['name', context.name]]))));\n /*const plugin = this.contextManager.lookupContext(context.plugin);\n return plugin.resolver.resolve(plugin, this.getDataObject(context));*/\n }\n else {\n return of(this.getDataObject(context));\n }\n }\n getDataObject(context) {\n switch (context.adaptor) {\n case 'rest':\n return context.rest;\n case 'snippet':\n return context.snippet;\n case 'json':\n return JSON.parse(context.snippet.content);\n case 'data':\n return context.data;\n case 'token':\n return context.tokens;\n case 'datasource':\n return context.datasource;\n default:\n return undefined;\n }\n }\n}\n\nclass ResolvedContextPluginManager extends BasePluginManager {\n constructor(pcm, moduleLoader) {\n super(pcm, moduleLoader);\n this.add$ = new ReplaySubject(1);\n }\n pluginDef() {\n return of(new PluginDef({ name: 'resolved_context' }));\n }\n register(plugin) {\n const hasPlugin = this.pluginInstances.has(plugin.id);\n super.register(plugin);\n if (!hasPlugin) {\n this.add$.next(undefined);\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ResolvedContextPluginManager, deps: [{ token: i1$3.PluginConfigurationManager }, { token: i2$1.ModuleLoaderService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ResolvedContextPluginManager, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ResolvedContextPluginManager, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: i1$3.PluginConfigurationManager }, { type: i2$1.ModuleLoaderService }]; } });\n\n// import { PageBuilderFacade } from '../features/page-builder/page-builder.facade';\nclass InlineContextResolverService extends BaseInlineContextResolverService {\n constructor(\n // contextManager: ContextManagerService,\n // private pageBuilderFacade: PageBuilderFacade,\n cpm, rcm) {\n super(cpm, rcm);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: InlineContextResolverService, deps: [{ token: ContextPluginManager }, { token: ResolvedContextPluginManager }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: InlineContextResolverService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: InlineContextResolverService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: ContextPluginManager }, { type: ResolvedContextPluginManager }]; } });\n\nclass ContextModule {\n constructor(contextPlugins, inlineContextResolver, tokenizerService, cpm, bpm, dpm, ppm, attributeSerializer, datasourceResolver) {\n contextPlugins.forEach(p => cpm.register(p));\n bpm.register(contextBridgeFactory(cpm, inlineContextResolver));\n ppm.register(paramPluginFactory(inlineContextResolver, tokenizerService));\n dpm.register(contextDatasourceFactory(inlineContextResolver, attributeSerializer));\n cpm.register(datasourceContextFactory(datasourceResolver));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ContextModule, deps: [{ token: CONTEXT_PLUGIN }, { token: InlineContextResolverService }, { token: i2$2.TokenizerService }, { token: ContextPluginManager }, { token: i4$1.BridgeBuilderPluginManager }, { token: i1$1.DatasourcePluginManager }, { token: i6$2.ParamPluginManager }, { token: i2.AttributeSerializerService }, { token: DatasourceResolver }], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: ContextModule, declarations: [ContextFormComponent, ContextEditorHostDirective, ContextDatasourceFormComponent, ContextDatasourceComponent, DatasourceContextEditorComponent], imports: [CommonModule, ReactiveFormsModule, FormsModule, MaterialModule, FlexLayoutModule, TokenModule, SnippetModule, DatasourceModule], exports: [ContextFormComponent, ContextDatasourceFormComponent, ContextDatasourceComponent, DatasourceContextEditorComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ContextModule, providers: [\n { provide: RouteResolver, useClass: RouteResolver },\n { provide: DatasourceResolver, useClass: DatasourceResolver },\n { provide: CONTEXT_PLUGIN, useFactory: routeContextFactory, multi: true, deps: [RouteResolver] }\n ], imports: [CommonModule, ReactiveFormsModule, FormsModule, MaterialModule, FlexLayoutModule, TokenModule, SnippetModule, DatasourceModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ContextModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [CommonModule, ReactiveFormsModule, FormsModule, MaterialModule, FlexLayoutModule, TokenModule, SnippetModule, DatasourceModule],\n providers: [\n { provide: RouteResolver, useClass: RouteResolver },\n { provide: DatasourceResolver, useClass: DatasourceResolver },\n { provide: CONTEXT_PLUGIN, useFactory: routeContextFactory, multi: true, deps: [RouteResolver] }\n ],\n declarations: [ContextFormComponent, ContextEditorHostDirective, ContextDatasourceFormComponent, ContextDatasourceComponent, DatasourceContextEditorComponent],\n exports: [ContextFormComponent, ContextDatasourceFormComponent, ContextDatasourceComponent, DatasourceContextEditorComponent]\n }]\n }], ctorParameters: function () { return [{ type: Array, decorators: [{\n type: Inject,\n args: [CONTEXT_PLUGIN]\n }] }, { type: InlineContextResolverService }, { type: i2$2.TokenizerService }, { type: ContextPluginManager }, { type: i4$1.BridgeBuilderPluginManager }, { type: i1$1.DatasourcePluginManager }, { type: i6$2.ParamPluginManager }, { type: i2.AttributeSerializerService }, { type: DatasourceResolver }]; } });\n\n/*\n * DO NOT USE THIS\n * This has been replaced by the context plugin manager which integrates with the plugin system.\n * @deprecated\n */\nclass ContextManagerService {\n constructor(contextPlugins) {\n this.contextPlugins = contextPlugins;\n }\n getAll(globals) {\n if (typeof (globals) === 'undefined') {\n return this.contextPlugins;\n }\n else if (globals) {\n return this.contextPlugins.filter(c => c.global);\n }\n else {\n return this.contextPlugins.filter(c => !c.global);\n }\n }\n getAllObjects() {\n return this.contextPlugins.map(cp => cp.baseObject);\n }\n lookupContext(name) {\n return this.contextPlugins.find(c => c.name === name);\n }\n register(contextPlugin) {\n this.contextPlugins.push(contextPlugin);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ContextManagerService, deps: [{ token: CONTEXT_PLUGIN }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ContextManagerService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ContextManagerService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: Array, decorators: [{\n type: Inject,\n args: [CONTEXT_PLUGIN]\n }] }]; } });\n\nclass ResolvedContextPlugin extends Plugin {\n constructor(data) {\n super(data);\n this.resolve = data.resolve;\n this.resolveSingle = data.resolveSingle;\n }\n}\n\nclass ParamContextExtractorService {\n constructor(ppm) {\n this.ppm = ppm;\n }\n extractContexts(params) {\n return forkJoin(params.map(param => this.ppm.getPlugin(param.mapping.type).pipe(switchMap(p => iif(() => !!p && !!p.usedContexts, p ? p.usedContexts ? p.usedContexts({ param, metadata: new Map([]) }) : of([]) : of([]), of([])))))).pipe(map(c => c.reduce((p, c) => [...p, ...c.filter(v => !p.includes(v))], [])));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ParamContextExtractorService, deps: [{ token: i6$2.ParamPluginManager }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ParamContextExtractorService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ParamContextExtractorService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: i6$2.ParamPluginManager }]; } });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { BaseInlineContextResolverService, CONTEXT_PLUGIN, ContextDatasource, ContextDatasourceComponent, ContextDatasourceFormComponent, ContextFormComponent, ContextManagerService, ContextModule, ContextPlugin, ContextPluginManager, DatasourceContextEditorComponent, InlineContext, InlineContextResolverService, ParamContextExtractorService, ResolvedContextPlugin, ResolvedContextPluginManager };\n","import * as i0 from '@angular/core';\nimport { Component, NgModule, Injectable, Inject } from '@angular/core';\nimport * as i1$1 from '@angular/router';\nimport { RouterModule } from '@angular/router';\nimport * as i2 from '@rollthecloudinc/utils';\nimport { UtilsModule, SITE_NAME } from '@rollthecloudinc/utils';\nimport * as i1 from '@ngrx/store';\nimport * as i3 from '@ngrx/data';\nimport * as i1$2 from '@rollthecloudinc/plugin';\nimport { Plugin, BasePluginManager, PluginDef } from '@rollthecloudinc/plugin';\nimport { of, forkJoin } from 'rxjs';\nimport { switchMap, defaultIfEmpty, tap, map } from 'rxjs/operators';\n\nclass CatchAllRouterComponent {\n // panelPageListItemsService: EntityCollectionService<PanelPageListItem>;\n constructor(routerStore, router, es) {\n this.routerStore = routerStore;\n this.router = router;\n // this.panelPageListItemsService = es.getEntityCollectionService('PanelPageListItem');\n }\n ngOnInit() {\n /*const { selectCurrentRoute } = getSelectors((state: any) => state.router);\n console.log('routing page...');\n this.routerStore.pipe(\n select(selectCurrentRoute),\n map(route => [(route as ActivatedRouteSnapshot).url.reduce<Array<string>>((p, c, i) => [ ...p, i === 0 ? `/${c.path}` : `${p[i - 1]}/${c.path}` ], []), route]),\n map(([paths, route]) => ['path=' + paths.join('&path='), route]),\n switchMap(([qs, route]) => this.panelPageListItemsService.getWithQuery(qs).pipe(\n catchError(e => of<Array<PanelPageListItem>>([])),\n tap(pages => console.log(pages)),\n map(pages => [pages.reduce<PanelPageListItem>((p, c) => p === undefined ? c : p.path.split('/').length < c.path.split('/').length ? c : p , undefined), route])\n )),\n take(1)\n ).subscribe(([panelPage, route]) => {\n if(panelPage) {\n const argPath = (route as ActivatedRouteSnapshot).url.map(s => s.path).slice(panelPage.path.split('/').length - 1).join('/');\n this.router.navigateByUrl(`/pages/panelpage/${panelPage.id}/${argPath}?${qs.stringify(route.queryParams)}`, {skipLocationChange: true, queryParams: { ...((route as ActivatedRouteSnapshot).queryParams) }, fragment: (route as ActivatedRouteSnapshot).fragment });\n }\n });*/\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: CatchAllRouterComponent, deps: [{ token: i1.Store }, { token: i1$1.Router }, { token: i3.EntityServices }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: CatchAllRouterComponent, selector: \"druid-alias-catch-all-router\", ngImport: i0, template: \"<p>Page Not Found</p>\\n\", styles: [\"\"] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: CatchAllRouterComponent, decorators: [{\n type: Component,\n args: [{ selector: 'druid-alias-catch-all-router', template: \"<p>Page Not Found</p>\\n\" }]\n }], ctorParameters: function () { return [{ type: i1.Store }, { type: i1$1.Router }, { type: i3.EntityServices }]; } });\n\nconst routes = [\n// { path: '**', component: CatchAllRouterComponent, canActivate: [ CatchAllGuard ] }\n];\nclass AliasModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AliasModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: AliasModule, declarations: [CatchAllRouterComponent], imports: [UtilsModule, i1$1.RouterModule], exports: [CatchAllRouterComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AliasModule, imports: [UtilsModule,\n RouterModule.forChild(routes)] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AliasModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [CatchAllRouterComponent],\n imports: [\n UtilsModule,\n RouterModule.forChild(routes)\n ],\n exports: [\n CatchAllRouterComponent\n ],\n providers: [\n // CatchAllGuard\n ]\n }]\n }] });\n\nclass AliasPlugin extends Plugin {\n constructor(data) {\n super(data);\n if (data) {\n this.loadingStrategy = data.loadingStrategy;\n this.matchingStrategy = data.matchingStrategy;\n this.redirectHandler = data.redirectHandler;\n }\n }\n}\n\nclass AliasPluginManager extends BasePluginManager {\n constructor(pcm, moduleLoader) {\n super(pcm, moduleLoader);\n }\n pluginDef() {\n return of(new PluginDef({ name: 'alias' }));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AliasPluginManager, deps: [{ token: i1$2.PluginConfigurationManager }, { token: i2.ModuleLoaderService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AliasPluginManager, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AliasPluginManager, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: i1$2.PluginConfigurationManager }, { type: i2.ModuleLoaderService }]; } });\n\nclass CatchAllGuard {\n // panelPageListItemsService: EntityCollectionService<PanelPageListItem>;\n constructor(siteName, router, apm, es) {\n this.siteName = siteName;\n this.router = router;\n this.apm = apm;\n this.routesLoaded = false;\n // this.panelPageListItemsService = es.getEntityCollectionService('PanelPageListItem');\n }\n canActivate(route, state) {\n console.log('catch all alias hit');\n return new Promise(res => {\n this.apm.getPlugins().pipe(switchMap(plugins => forkJoin(!this.routesLoaded ? Array.from(plugins).map(([_, p]) => p.loadingStrategy.load()) : []).pipe(defaultIfEmpty(undefined))), tap(() => this.routesLoaded = true), switchMap(() => this.apm.getPlugins()), switchMap(plugins => forkJoin(Array.from(plugins).map(([_, p]) => p.matchingStrategy.match(state).pipe(map(m => [p, m])))))).subscribe((pp) => {\n console.log(`routes loaded: ${this.routesLoaded ? 'y' : 'n'}`);\n const matchedPlugin = pp.map(([p, m], _) => m ? p : undefined).find(p => p !== undefined);\n if (matchedPlugin !== undefined) {\n console.log(`alias gaurd state: ${state.url}`);\n const urlTree = this.router.parseUrl(state.url);\n // matchedPlugin.redirectHandler.redirect(route, state);\n // res(false);\n res(urlTree);\n }\n else {\n res(true);\n }\n });\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: CatchAllGuard, deps: [{ token: SITE_NAME }, { token: i1$1.Router }, { token: AliasPluginManager }, { token: i3.EntityServices }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: CatchAllGuard }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: CatchAllGuard, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [SITE_NAME]\n }] }, { type: i1$1.Router }, { type: AliasPluginManager }, { type: i3.EntityServices }]; } });\n\n/*\n * Public API Surface of alias\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { AliasModule, AliasPlugin, AliasPluginManager, CatchAllGuard, CatchAllRouterComponent };\n","import * as i3 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { Directive, Injectable, forwardRef, Component, Input, ViewChild, Inject, NgModule } from '@angular/core';\nimport * as i2$1 from '@angular/forms';\nimport { Validators, NG_VALUE_ACCESSOR, NG_VALIDATORS, FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { MaterialModule } from '@rollthecloudinc/material';\nimport * as i1$1 from '@angular/material/legacy-dialog';\nimport { MAT_LEGACY_DIALOG_DATA } from '@angular/material/legacy-dialog';\nimport * as i1 from '@rollthecloudinc/plugin';\nimport { Plugin, BasePluginManager, PluginDef } from '@rollthecloudinc/plugin';\nimport * as i3$1 from '@rollthecloudinc/attributes';\nimport { AttributeValue } from '@rollthecloudinc/attributes';\nimport * as i4$1 from '@angular/material/legacy-button';\nimport { of, BehaviorSubject, Subject, combineLatest, switchMap as switchMap$1, map as map$1 } from 'rxjs';\nimport { filter, map, tap, delay, switchMap } from 'rxjs/operators';\nimport * as i2 from '@rollthecloudinc/utils';\nimport * as i4 from '@angular/material/legacy-core';\nimport * as i5 from '@angular/material/legacy-form-field';\nimport * as i6 from '@angular/material/legacy-select';\n\nclass DataductPlugin extends Plugin {\n constructor(data) {\n super(data);\n if (data) {\n this.editor = data.editor;\n this.send = data.send;\n }\n }\n}\nclass DuctdataInput {\n constructor(data) {\n this.settings = [];\n if (data) {\n this.data = data.data;\n if (data.settings && Array.isArray(data.settings)) {\n this.settings = data.settings.map(s => new AttributeValue(s));\n }\n }\n }\n}\nclass DuctdataOutput {\n constructor(data) {\n if (data) {\n }\n }\n}\nclass PersistenceFormPayload {\n constructor(data) {\n if (data) {\n this.dataduct = new PersistenceFormDataduct(data.dataduct);\n }\n }\n}\nclass PersistenceFormDataduct {\n constructor(data) {\n this.settings = [];\n if (data) {\n this.plugin = data.plugin;\n if (data.settings && Array.isArray(data.settings)) {\n this.settings = data.settings.map(s => new AttributeValue(s));\n }\n }\n }\n}\n\nclass DataductRenderHostDirective {\n constructor(viewContainerRef) {\n this.viewContainerRef = viewContainerRef;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DataductRenderHostDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: DataductRenderHostDirective, selector: \"[classifiedsUiDataductRendererHost]\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DataductRenderHostDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[classifiedsUiDataductRendererHost]'\n }]\n }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });\n\nclass DataductPluginManager extends BasePluginManager {\n constructor(pcm, moduleLoader) {\n super(pcm, moduleLoader);\n }\n pluginDef() {\n return of(new PluginDef({ name: 'dataduct' }));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DataductPluginManager, deps: [{ token: i1.PluginConfigurationManager }, { token: i2.ModuleLoaderService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DataductPluginManager, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DataductPluginManager, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: i1.PluginConfigurationManager }, { type: i2.ModuleLoaderService }]; } });\n\nclass PersistenceFormComponent {\n set persistence(persistence) {\n this.persistence$.next(persistence);\n }\n constructor(dpm, \n // private componentFactoryResolver: ComponentFactoryResolver,\n fb) {\n this.dpm = dpm;\n this.fb = fb;\n this.contexts = [];\n this.ductForm = this.fb.group({\n plugin: this.fb.control('', [Validators.required]),\n settings: this.fb.control(''),\n });\n this.ducts$ = this.dpm.getPlugins();\n this.componentRef$ = new BehaviorSubject(undefined);\n this.persistence$ = new BehaviorSubject(undefined);\n this.afterViewInit$ = new Subject();\n this.contextForwardingSub = this.componentRef$.pipe(filter(componentRef => !!componentRef)).subscribe(componentRef => {\n componentRef.instance.contexts = this.contexts;\n componentRef.instance.settings = this.persistence$.value && this.persistence$.value.dataduct ? this.persistence$.value.dataduct.settings : [];\n });\n this.persistenceSub = combineLatest([\n this.persistence$,\n this.afterViewInit$\n ]).pipe(map(([p]) => p), tap(persistence => {\n this.ductForm.get('plugin').setValue(persistence && persistence.dataduct ? persistence.dataduct.plugin : '');\n }), delay(1), tap(persistence => {\n if (this.componentRef$.value && this.componentRef$.value.instance && persistence) {\n this.componentRef$.value.instance.settings = persistence.dataduct ? persistence.dataduct.settings : [];\n }\n })).subscribe();\n this.rendererSub = combineLatest([\n this.ductForm.get('plugin').valueChanges,\n this.afterViewInit$\n ]).pipe(switchMap(([p, _]) => p && p !== '' ? this.dpm.getPlugin(p) : of(undefined))).subscribe(p => {\n if (p) {\n this.renderPlugin(p);\n }\n });\n this.onTouched = () => { };\n }\n ngAfterViewInit() {\n this.afterViewInit$.next(undefined);\n }\n writeValue(val) {\n if (val) {\n this.ductForm.setValue(val, { emitEvent: false });\n }\n }\n registerOnChange(fn) {\n this.ductForm.valueChanges.subscribe(fn);\n }\n registerOnTouched(fn) {\n this.onTouched = fn;\n }\n setDisabledState(isDisabled) {\n if (isDisabled) {\n this.ductForm.disable();\n }\n else {\n this.ductForm.enable();\n }\n }\n validate(c) {\n return this.ductForm.valid ? null : this.ductForm.errors;\n }\n renderPlugin(plugin) {\n const viewContainerRef = this.datasourceHost.viewContainerRef;\n viewContainerRef.clear();\n this.componentRef$.next(viewContainerRef.createComponent(plugin.editor));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PersistenceFormComponent, deps: [{ token: DataductPluginManager }, { token: i2$1.UntypedFormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: PersistenceFormComponent, selector: \"classifieds-ui-persistence-form\", inputs: { contexts: \"contexts\", persistence: \"persistence\" }, providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => PersistenceFormComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => PersistenceFormComponent),\n multi: true\n },\n ], viewQueries: [{ propertyName: \"datasourceHost\", first: true, predicate: DataductRenderHostDirective, descendants: true, static: true }], ngImport: i0, template: \"<div [formGroup]=\\\"ductForm\\\">\\n\\n <mat-form-field>\\n <mat-label>Plugin</mat-label>\\n <mat-select required formControlName=\\\"plugin\\\">\\n <mat-option *ngFor=\\\"let duct of ((ducts$ | async) | keyvalue) let i = index\\\" [value]=\\\"duct.value.id\\\">{{ duct.value.title }}</mat-option>\\n </mat-select>\\n </mat-form-field>\\n\\n <ng-container><ng-template classifiedsUiDataductRendererHost></ng-template></ng-container>\\n\\n</div>\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i3.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i2$1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i2$1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i2$1.RequiredValidator, selector: \":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]\", inputs: [\"required\"] }, { kind: \"directive\", type: i2$1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i2$1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: i4.MatLegacyOption, selector: \"mat-option\", exportAs: [\"matOption\"] }, { kind: \"component\", type: i5.MatLegacyFormField, selector: \"mat-form-field\", inputs: [\"color\", \"appearance\", \"hideRequiredMarker\", \"hintLabel\", \"floatLabel\"], exportAs: [\"matFormField\"] }, { kind: \"directive\", type: i5.MatLegacyLabel, selector: \"mat-label\" }, { kind: \"component\", type: i6.MatLegacySelect, selector: \"mat-select\", inputs: [\"disabled\", \"disableRipple\", \"tabIndex\"], exportAs: [\"matSelect\"] }, { kind: \"directive\", type: DataductRenderHostDirective, selector: \"[classifiedsUiDataductRendererHost]\" }, { kind: \"pipe\", type: i3.AsyncPipe, name: \"async\" }, { kind: \"pipe\", type: i3.KeyValuePipe, name: \"keyvalue\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PersistenceFormComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-persistence-form', providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => PersistenceFormComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => PersistenceFormComponent),\n multi: true\n },\n ], template: \"<div [formGroup]=\\\"ductForm\\\">\\n\\n <mat-form-field>\\n <mat-label>Plugin</mat-label>\\n <mat-select required formControlName=\\\"plugin\\\">\\n <mat-option *ngFor=\\\"let duct of ((ducts$ | async) | keyvalue) let i = index\\\" [value]=\\\"duct.value.id\\\">{{ duct.value.title }}</mat-option>\\n </mat-select>\\n </mat-form-field>\\n\\n <ng-container><ng-template classifiedsUiDataductRendererHost></ng-template></ng-container>\\n\\n</div>\" }]\n }], ctorParameters: function () { return [{ type: DataductPluginManager }, { type: i2$1.UntypedFormBuilder }]; }, propDecorators: { contexts: [{\n type: Input\n }], persistence: [{\n type: Input\n }], datasourceHost: [{\n type: ViewChild,\n args: [DataductRenderHostDirective, { static: true }]\n }] } });\n\nclass PersistenceDialogComponent {\n constructor(data, dialogRef, fb, attributeSerializer) {\n this.data = data;\n this.dialogRef = dialogRef;\n this.fb = fb;\n this.attributeSerializer = attributeSerializer;\n this.persistenceForm = this.fb.group({\n dataduct: this.fb.control('')\n });\n this.contexts = [];\n this.persistence = new PersistenceFormPayload();\n this.contexts = data.contexts;\n this.persistence = data.persistence;\n }\n submit() {\n const data = this.persistenceForm.value;\n console.log('persistence form', data);\n const settings = this.attributeSerializer.serialize(data.dataduct.settings, 'settings');\n console.log('persistence settings', settings);\n this.dialogRef.close(new PersistenceFormPayload({ ...this.persistenceForm.value, dataduct: { ...data.dataduct, settings: settings.attributes } }));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PersistenceDialogComponent, deps: [{ token: MAT_LEGACY_DIALOG_DATA }, { token: i1$1.MatLegacyDialogRef }, { token: i2$1.UntypedFormBuilder }, { token: i3$1.AttributeSerializerService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: PersistenceDialogComponent, selector: \"classifieds-ui-persistence-dialog\", ngImport: i0, template: \"<form class=\\\"persistence-form\\\" [formGroup]=\\\"persistenceForm\\\" (ngSubmit)=\\\"submit()\\\">\\n <mat-dialog-content>\\n <div class=\\\"content-inner\\\">\\n <div fxLayout=\\\"column\\\">\\n <classifieds-ui-persistence-form formControlName=\\\"dataduct\\\" [contexts]=\\\"contexts\\\" [persistence]=\\\"persistence\\\"></classifieds-ui-persistence-form>\\n </div>\\n </div>\\n </mat-dialog-content>\\n <mat-dialog-actions>\\n <button type=\\\"submit\\\" mat-raised-button color=\\\"primary\\\" mat-dialog-close [disabled]=\\\"!persistenceForm.valid\\\">Save</button>\\n </mat-dialog-actions>\\n</form>\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i2$1.ɵNgNoValidate, selector: \"form:not([ngNoForm]):not([ngNativeValidate])\" }, { kind: \"directive\", type: i2$1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i2$1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i2$1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i2$1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: i4$1.MatLegacyButton, selector: \"button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]\", inputs: [\"disabled\", \"disableRipple\", \"color\"], exportAs: [\"matButton\"] }, { kind: \"directive\", type: i1$1.MatLegacyDialogClose, selector: \"[mat-dialog-close], [matDialogClose]\", inputs: [\"aria-label\", \"type\", \"mat-dialog-close\", \"matDialogClose\"], exportAs: [\"matDialogClose\"] }, { kind: \"directive\", type: i1$1.MatLegacyDialogContent, selector: \"[mat-dialog-content], mat-dialog-content, [matDialogContent]\" }, { kind: \"directive\", type: i1$1.MatLegacyDialogActions, selector: \"[mat-dialog-actions], mat-dialog-actions, [matDialogActions]\", inputs: [\"align\"] }, { kind: \"component\", type: PersistenceFormComponent, selector: \"classifieds-ui-persistence-form\", inputs: [\"contexts\", \"persistence\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PersistenceDialogComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-persistence-dialog', template: \"<form class=\\\"persistence-form\\\" [formGroup]=\\\"persistenceForm\\\" (ngSubmit)=\\\"submit()\\\">\\n <mat-dialog-content>\\n <div class=\\\"content-inner\\\">\\n <div fxLayout=\\\"column\\\">\\n <classifieds-ui-persistence-form formControlName=\\\"dataduct\\\" [contexts]=\\\"contexts\\\" [persistence]=\\\"persistence\\\"></classifieds-ui-persistence-form>\\n </div>\\n </div>\\n </mat-dialog-content>\\n <mat-dialog-actions>\\n <button type=\\\"submit\\\" mat-raised-button color=\\\"primary\\\" mat-dialog-close [disabled]=\\\"!persistenceForm.valid\\\">Save</button>\\n </mat-dialog-actions>\\n</form>\\n\" }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [MAT_LEGACY_DIALOG_DATA]\n }] }, { type: i1$1.MatLegacyDialogRef }, { type: i2$1.UntypedFormBuilder }, { type: i3$1.AttributeSerializerService }]; } });\n\nclass RefineryModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RefineryModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: RefineryModule, declarations: [PersistenceDialogComponent,\n PersistenceFormComponent,\n DataductRenderHostDirective], imports: [CommonModule,\n FormsModule,\n ReactiveFormsModule,\n MaterialModule], exports: [PersistenceDialogComponent,\n PersistenceFormComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RefineryModule, imports: [CommonModule,\n FormsModule,\n ReactiveFormsModule,\n MaterialModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RefineryModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [\n PersistenceDialogComponent,\n PersistenceFormComponent,\n DataductRenderHostDirective\n ],\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n MaterialModule\n ],\n exports: [\n PersistenceDialogComponent,\n PersistenceFormComponent\n ]\n }]\n }] });\n\nclass PersistService {\n constructor(dpm) {\n this.dpm = dpm;\n }\n persist({ data, persistence }) {\n return this.dpm.getPlugin(persistence.dataduct.plugin).pipe(switchMap$1(p => p.send(new DuctdataInput({ data, settings: persistence.dataduct.settings }))), map$1(() => undefined));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PersistService, deps: [{ token: DataductPluginManager }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PersistService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PersistService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: DataductPluginManager }]; } });\n\n/*\n * Public API Surface of refinery\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { DataductPlugin, DataductPluginManager, DuctdataInput, DuctdataOutput, PersistService, PersistenceDialogComponent, PersistenceFormComponent, PersistenceFormDataduct, PersistenceFormPayload, RefineryModule };\n","import * as i5 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { Injectable, forwardRef, Component, Input, Inject, NgModule } from '@angular/core';\nimport * as i1$1 from '@angular/forms';\nimport { NG_VALUE_ACCESSOR, NG_VALIDATORS, FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { MaterialModule } from '@rollthecloudinc/material';\nimport * as i4 from '@rollthecloudinc/dparam';\nimport { ParamPluginInstance, DparamModule } from '@rollthecloudinc/dparam';\nimport { of, BehaviorSubject, tap, Subject, combineLatest } from 'rxjs';\nimport * as i1 from '@rollthecloudinc/plugin';\nimport { BasePluginManager, PluginDef, Plugin } from '@rollthecloudinc/plugin';\nimport * as i2 from '@rollthecloudinc/utils';\nimport * as i1$2 from '@angular/material/legacy-dialog';\nimport { MAT_LEGACY_DIALOG_DATA } from '@angular/material/legacy-dialog';\nimport * as i3 from '@angular/material/legacy-button';\nimport { tap as tap$1, map, filter } from 'rxjs/operators';\n\nclass InteractionsFormPayload {\n constructor(data) {\n this.interactions = data && data.interactions ? new InteractionInteractions(data.interactions) : new InteractionInteractions();\n }\n}\nclass InteractionInteractions {\n constructor(data) {\n this.listeners = [];\n if (data) {\n if (data.listeners && Array.isArray(data.listeners)) {\n this.listeners = data.listeners.map(l => new InteractionListener(l));\n }\n }\n }\n}\nclass InteractionListener {\n constructor(data) {\n this.handler = data && data.handler ? new ParamPluginInstance(data.handler) : new ParamPluginInstance();\n this.event = data && data.event ? new ParamPluginInstance(data.event) : new ParamPluginInstance();\n }\n}\n\nclass InteractionEventPluginManager extends BasePluginManager {\n constructor(pcm, moduleLoader) {\n super(pcm, moduleLoader);\n }\n pluginDef() {\n return of(new PluginDef({ name: 'interaction_event' }));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: InteractionEventPluginManager, deps: [{ token: i1.PluginConfigurationManager }, { token: i2.ModuleLoaderService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: InteractionEventPluginManager, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: InteractionEventPluginManager, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: i1.PluginConfigurationManager }, { type: i2.ModuleLoaderService }]; } });\n\nclass InteractionHandlerPluginManager extends BasePluginManager {\n constructor(pcm, moduleLoader) {\n super(pcm, moduleLoader);\n }\n pluginDef() {\n return of(new PluginDef({ name: 'interaction_handler' }));\n }\n discovery() {\n super.discovery();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: InteractionHandlerPluginManager, deps: [{ token: i1.PluginConfigurationManager }, { token: i2.ModuleLoaderService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: InteractionHandlerPluginManager, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: InteractionHandlerPluginManager, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: i1.PluginConfigurationManager }, { type: i2.ModuleLoaderService }]; } });\n\n// import { ControlContainer } from '@angular/forms';\n//import { ValidationValidatorSettings } from '../../models/validation.models';\nclass InteractionListenerComponent {\n set listener(listener) {\n this.listener$.next(listener);\n }\n constructor(fb, iepm, ihpm) {\n this.fb = fb;\n this.iepm = iepm;\n this.ihpm = ihpm;\n //@Input() settings: Array<ValidationValidatorSettings> = [];\n this.eventPlugins$ = this.iepm.getPlugins();\n this.handlerPlugins$ = this.ihpm.getPlugins();\n this.listenerForm = this.fb.group({\n event: this.fb.control(''),\n handler: this.fb.control('')\n });\n this.contexts = [];\n this.listener$ = new BehaviorSubject(new InteractionListener());\n this.event$ = new BehaviorSubject(new ParamPluginInstance());\n this.handler$ = new BehaviorSubject(new ParamPluginInstance());\n this.listenerSub = this.listener$.pipe(tap(listener => {\n this.event$.next(listener && listener.event ? listener.event : new ParamPluginInstance());\n this.handler$.next(listener && listener.handler ? listener.handler : new ParamPluginInstance());\n })).subscribe();\n this.onTouched = () => { };\n }\n writeValue(val) {\n if (val) {\n this.listenerForm.setValue(val, { emitEvent: false });\n }\n }\n registerOnChange(fn) {\n this.listenerForm.valueChanges.subscribe(fn);\n }\n registerOnTouched(fn) {\n this.onTouched = fn;\n }\n setDisabledState(isDisabled) {\n if (isDisabled) {\n this.listenerForm.disable();\n }\n else {\n this.listenerForm.enable();\n }\n }\n validate(c) {\n return this.listenerForm.valid ? null : this.listenerForm.errors;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: InteractionListenerComponent, deps: [{ token: i1$1.UntypedFormBuilder }, { token: InteractionEventPluginManager }, { token: InteractionHandlerPluginManager }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: InteractionListenerComponent, selector: \"druid-detour-interaction-listener\", inputs: { contexts: \"contexts\", listener: \"listener\" }, providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => InteractionListenerComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => InteractionListenerComponent),\n multi: true\n },\n ], ngImport: i0, template: \"<div [formGroup]=\\\"listenerForm\\\">\\n <druid-params-plugin-instance formControlName=\\\"event\\\" title=\\\"Event\\\" [plugins]=\\\"eventPlugins$ | async\\\" [instance]=\\\"event$.value\\\"></druid-params-plugin-instance>\\n <druid-params-plugin-instance formControlName=\\\"handler\\\" title=\\\"Handler\\\" [plugins]=\\\"handlerPlugins$ | async\\\" [instance]=\\\"handler$.value\\\"></druid-params-plugin-instance>\\n</div>\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i1$1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1$1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1$1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1$1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: i4.PluginInstanceComponent, selector: \"druid-params-plugin-instance\", inputs: [\"title\", \"plugins\", \"instance\"] }, { kind: \"pipe\", type: i5.AsyncPipe, name: \"async\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: InteractionListenerComponent, decorators: [{\n type: Component,\n args: [{ selector: 'druid-detour-interaction-listener', providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => InteractionListenerComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => InteractionListenerComponent),\n multi: true\n },\n ], template: \"<div [formGroup]=\\\"listenerForm\\\">\\n <druid-params-plugin-instance formControlName=\\\"event\\\" title=\\\"Event\\\" [plugins]=\\\"eventPlugins$ | async\\\" [instance]=\\\"event$.value\\\"></druid-params-plugin-instance>\\n <druid-params-plugin-instance formControlName=\\\"handler\\\" title=\\\"Handler\\\" [plugins]=\\\"handlerPlugins$ | async\\\" [instance]=\\\"handler$.value\\\"></druid-params-plugin-instance>\\n</div>\" }]\n }], ctorParameters: function () { return [{ type: i1$1.UntypedFormBuilder }, { type: InteractionEventPluginManager }, { type: InteractionHandlerPluginManager }]; }, propDecorators: { contexts: [{\n type: Input\n }], listener: [{\n type: Input\n }] } });\n\nclass InteractionsFormComponent {\n set interactions(interactions) {\n this.interactions$.next(interactions);\n }\n set contexts(contexts) {\n this.contexts$.next(contexts);\n }\n get listeners() {\n return this.interactionsForm.get('listeners');\n }\n constructor(fb) {\n this.fb = fb;\n this.interactions$ = new BehaviorSubject(new InteractionsFormPayload({ interactions: { listeners: [] } }));\n this.contexts$ = new BehaviorSubject([]);\n this.afterViewInit$ = new Subject();\n this.interactionsForm = this.fb.group({\n listeners: this.fb.array([])\n });\n this.addListener$ = new Subject();\n this.deleteListener$ = new Subject();\n this.addListenerSub = this.addListener$.pipe(tap$1(() => this.listeners.push(this.fb.control('')))).subscribe();\n this.deleteListenerSub = this.deleteListener$.pipe(tap$1(index => {\n this.interactions$.value.interactions.listeners.splice(index, 1);\n this.listeners.removeAt(index);\n })).subscribe();\n this.interactionsSub = combineLatest([\n this.interactions$,\n this.afterViewInit$\n ]).pipe(map(([v]) => v), filter(interactions => interactions.interactions.listeners.length !== 0), tap$1(interactions => {\n this.listeners.clear();\n interactions.interactions.listeners.forEach((v, i) => {\n this.listeners.push(this.fb.control(''));\n });\n })).subscribe();\n this.onTouched = () => { };\n }\n ngAfterViewInit() {\n this.afterViewInit$.next(undefined);\n this.afterViewInit$.complete();\n }\n writeValue(val) {\n if (val) {\n this.interactionsForm.setValue(val, { emitEvent: false });\n }\n }\n registerOnChange(fn) {\n this.interactionsForm.valueChanges.subscribe(fn);\n }\n registerOnTouched(fn) {\n this.onTouched = fn;\n }\n setDisabledState(isDisabled) {\n if (isDisabled) {\n this.interactionsForm.disable();\n }\n else {\n this.interactionsForm.enable();\n }\n }\n validate(c) {\n return this.interactionsForm.valid ? null : this.interactionsForm.errors;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: InteractionsFormComponent, deps: [{ token: i1$1.UntypedFormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: InteractionsFormComponent, selector: \"druid-detour-interactions-form\", inputs: { interactions: \"interactions\", contexts: \"contexts\" }, providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => InteractionsFormComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => InteractionsFormComponent),\n multi: true\n },\n ], ngImport: i0, template: \"<div [formGroup]=\\\"interactionsForm\\\">\\n <div formArrayName=\\\"listeners\\\">\\n <div *ngFor=\\\"let _ of listeners.controls; let i = index\\\">\\n <druid-detour-interaction-listener [formControlName]=\\\"i\\\" [listener]=\\\"interactions$.value.interactions.listeners[i]\\\"></druid-detour-interaction-listener>\\n <button type=\\\"button\\\" (click)=\\\"deleteListener$.next(i)\\\">Delete</button>\\n </div>\\n </div>\\n</div>\\n<button type=\\\"button\\\" (click)=\\\"addListener$.next(undefined)\\\">Add Listener</button>\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i5.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i1$1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1$1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1$1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1$1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"directive\", type: i1$1.FormArrayName, selector: \"[formArrayName]\", inputs: [\"formArrayName\"] }, { kind: \"component\", type: InteractionListenerComponent, selector: \"druid-detour-interaction-listener\", inputs: [\"contexts\", \"listener\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: InteractionsFormComponent, decorators: [{\n type: Component,\n args: [{ selector: 'druid-detour-interactions-form', providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => InteractionsFormComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => InteractionsFormComponent),\n multi: true\n },\n ], template: \"<div [formGroup]=\\\"interactionsForm\\\">\\n <div formArrayName=\\\"listeners\\\">\\n <div *ngFor=\\\"let _ of listeners.controls; let i = index\\\">\\n <druid-detour-interaction-listener [formControlName]=\\\"i\\\" [listener]=\\\"interactions$.value.interactions.listeners[i]\\\"></druid-detour-interaction-listener>\\n <button type=\\\"button\\\" (click)=\\\"deleteListener$.next(i)\\\">Delete</button>\\n </div>\\n </div>\\n</div>\\n<button type=\\\"button\\\" (click)=\\\"addListener$.next(undefined)\\\">Add Listener</button>\" }]\n }], ctorParameters: function () { return [{ type: i1$1.UntypedFormBuilder }]; }, propDecorators: { interactions: [{\n type: Input\n }], contexts: [{\n type: Input\n }] } });\n\nclass InteractionsDialogComponent {\n constructor(data, dialogRef, fb) {\n this.data = data;\n this.dialogRef = dialogRef;\n this.fb = fb;\n this.interactionsForm = this.fb.group({\n interactions: this.fb.control('')\n });\n this.contexts = [];\n this.interactions = new InteractionsFormPayload();\n this.contexts = data.contexts;\n this.interactions = data.interactions;\n }\n submit() {\n const payload = new InteractionsFormPayload(this.interactionsForm.value);\n console.log('interactions payload', payload);\n this.dialogRef.close(payload);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: InteractionsDialogComponent, deps: [{ token: MAT_LEGACY_DIALOG_DATA }, { token: i1$2.MatLegacyDialogRef }, { token: i1$1.UntypedFormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: InteractionsDialogComponent, selector: \"druid-detour-interactions-dialog\", ngImport: i0, template: \"<form class=\\\"interactions-form\\\" [formGroup]=\\\"interactionsForm\\\" (ngSubmit)=\\\"submit()\\\">\\n <mat-dialog-content>\\n <div class=\\\"content-inner\\\">\\n <div fxLayout=\\\"column\\\">\\n <druid-detour-interactions-form formControlName=\\\"interactions\\\" [contexts]=\\\"contexts\\\" [interactions]=\\\"interactions\\\"></druid-detour-interactions-form>\\n </div>\\n </div>\\n </mat-dialog-content>\\n <mat-dialog-actions>\\n <button type=\\\"submit\\\" mat-raised-button color=\\\"primary\\\" mat-dialog-close [disabled]=\\\"!interactionsForm.valid\\\">Save</button>\\n </mat-dialog-actions>\\n</form>\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i1$1.ɵNgNoValidate, selector: \"form:not([ngNoForm]):not([ngNativeValidate])\" }, { kind: \"directive\", type: i1$1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1$1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1$1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1$1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: i3.MatLegacyButton, selector: \"button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]\", inputs: [\"disabled\", \"disableRipple\", \"color\"], exportAs: [\"matButton\"] }, { kind: \"directive\", type: i1$2.MatLegacyDialogClose, selector: \"[mat-dialog-close], [matDialogClose]\", inputs: [\"aria-label\", \"type\", \"mat-dialog-close\", \"matDialogClose\"], exportAs: [\"matDialogClose\"] }, { kind: \"directive\", type: i1$2.MatLegacyDialogContent, selector: \"[mat-dialog-content], mat-dialog-content, [matDialogContent]\" }, { kind: \"directive\", type: i1$2.MatLegacyDialogActions, selector: \"[mat-dialog-actions], mat-dialog-actions, [matDialogActions]\", inputs: [\"align\"] }, { kind: \"component\", type: InteractionsFormComponent, selector: \"druid-detour-interactions-form\", inputs: [\"interactions\", \"contexts\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: InteractionsDialogComponent, decorators: [{\n type: Component,\n args: [{ selector: 'druid-detour-interactions-dialog', template: \"<form class=\\\"interactions-form\\\" [formGroup]=\\\"interactionsForm\\\" (ngSubmit)=\\\"submit()\\\">\\n <mat-dialog-content>\\n <div class=\\\"content-inner\\\">\\n <div fxLayout=\\\"column\\\">\\n <druid-detour-interactions-form formControlName=\\\"interactions\\\" [contexts]=\\\"contexts\\\" [interactions]=\\\"interactions\\\"></druid-detour-interactions-form>\\n </div>\\n </div>\\n </mat-dialog-content>\\n <mat-dialog-actions>\\n <button type=\\\"submit\\\" mat-raised-button color=\\\"primary\\\" mat-dialog-close [disabled]=\\\"!interactionsForm.valid\\\">Save</button>\\n </mat-dialog-actions>\\n</form>\\n\" }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [MAT_LEGACY_DIALOG_DATA]\n }] }, { type: i1$2.MatLegacyDialogRef }, { type: i1$1.UntypedFormBuilder }]; } });\n\nclass InteractionEventPlugin extends Plugin {\n // editor: Type<any>;\n // errorMessage: string;\n // builder: ({ v, serialized }: { v: ValidationValidator, serialized: boolean }) => Observable<AsyncValidatorFn>;\n constructor(data) {\n super(data);\n if (data) {\n // this.editor = data.editor;\n // this.errorMessage = data.errorMessage;\n // this.builder = data.builder;\n }\n }\n}\n\nconst interactionEventDomFactory = () => {\n return new InteractionEventPlugin({ title: 'DOM', id: 'dom' });\n};\n\nclass DetourModule {\n constructor(iepm) {\n iepm.register(interactionEventDomFactory());\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DetourModule, deps: [{ token: InteractionEventPluginManager }], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: DetourModule, declarations: [InteractionsDialogComponent,\n InteractionsFormComponent,\n InteractionListenerComponent], imports: [CommonModule,\n FormsModule,\n ReactiveFormsModule,\n MaterialModule,\n DparamModule], exports: [InteractionsDialogComponent,\n InteractionsFormComponent,\n InteractionListenerComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DetourModule, imports: [CommonModule,\n FormsModule,\n ReactiveFormsModule,\n MaterialModule,\n DparamModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DetourModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [\n InteractionsDialogComponent,\n InteractionsFormComponent,\n InteractionListenerComponent\n ],\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n MaterialModule,\n DparamModule\n ],\n exports: [\n InteractionsDialogComponent,\n InteractionsFormComponent,\n InteractionListenerComponent\n ]\n }]\n }], ctorParameters: function () { return [{ type: InteractionEventPluginManager }]; } });\n\nclass InteractionHandlerPlugin extends Plugin {\n // editor: Type<any>;\n // editor: Type<any>;\n // errorMessage: string;\n // builder: ({ v, serialized }: { v: ValidationValidator, serialized: boolean }) => Observable<AsyncValidatorFn>;\n constructor(data) {\n super(data);\n if (data) {\n //this.editor = data.editor;\n // this.editor = data.editor;\n // this.errorMessage = data.errorMessage;\n // this.builder = data.builder;\n }\n }\n}\n\n/*\n * Public API Surface of detour\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { DetourModule, InteractionEventPlugin, InteractionEventPluginManager, InteractionHandlerPlugin, InteractionHandlerPluginManager, InteractionInteractions, InteractionListener, InteractionListenerComponent, InteractionsDialogComponent, InteractionsFormComponent, InteractionsFormPayload };\n","import { CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { forwardRef, Component, Input, Injectable, NgModule } from '@angular/core';\nimport * as i1 from '@angular/forms';\nimport { NG_VALUE_ACCESSOR, NG_VALIDATORS, ReactiveFormsModule, FormsModule } from '@angular/forms';\nimport * as i4$1 from '@rollthecloudinc/context';\nimport { ContextModule } from '@rollthecloudinc/context';\nimport * as i6 from '@rollthecloudinc/dparam';\nimport { Param, DparamModule } from '@rollthecloudinc/dparam';\nimport { MaterialModule } from '@rollthecloudinc/material';\nimport { BehaviorSubject, combineLatest, of, forkJoin, iif, Observable, ReplaySubject } from 'rxjs';\nimport { map, tap, filter, delay, debounceTime, switchMap, take, defaultIfEmpty } from 'rxjs/operators';\nimport * as qs from 'qs';\nimport * as i1$1 from '@rollthecloudinc/plugin';\nimport { Plugin, BasePluginManager, PluginDef } from '@rollthecloudinc/plugin';\nimport * as i2 from '@rollthecloudinc/attributes';\nimport * as i3 from '@angular/material/legacy-form-field';\nimport * as i4 from '@angular/material/legacy-input';\nimport * as i1$2 from '@rollthecloudinc/datasource';\nimport { DatasourcePlugin, Dataset, DatasourceEditorOptions } from '@rollthecloudinc/datasource';\nimport * as i3$1 from '@rollthecloudinc/refinery';\nimport { DataductPlugin, DuctdataOutput } from '@rollthecloudinc/refinery';\nimport * as uuid from 'uuid';\nimport * as i2$1 from '@rollthecloudinc/utils';\nimport { Rule } from 'json-rules-engine';\nimport { getDiff } from 'recursive-diff';\nimport * as i8 from '@rollthecloudinc/durl';\n\nclass CrudAdaptorPlugin extends Plugin {\n constructor(data) {\n super(data);\n if (data) {\n this.create = data.create;\n this.read = data.read;\n this.update = data.update;\n this.delete = data.delete;\n if (data.query) {\n this.query = data.query;\n }\n }\n }\n}\nclass CrudAdaptorDatasource {\n constructor(data) {\n this.options = [];\n this.params = [];\n if (data) {\n this.adaptorName = data.adaptorName;\n this.optionsString = data.optionsString ? data.optionsString : undefined;\n this.paramsString = data.paramsString ? data.paramsString : undefined;\n if (data.options && Array.isArray(data.options)) {\n this.options = data.options.map(o => new Param(o));\n }\n if (data.params && Array.isArray(data.params)) {\n this.params = data.params.map(p => new Param(p));\n }\n }\n }\n}\n\nclass CrudAdaptorDatasourceFormComponent {\n set settings(settings) {\n this.settings$.next(settings);\n }\n constructor(fb, attributeSerializer) {\n this.fb = fb;\n this.attributeSerializer = attributeSerializer;\n this.contexts = [];\n this.settings$ = new BehaviorSubject(undefined);\n this.datasource$ = new BehaviorSubject(undefined);\n this.optionValues$ = new BehaviorSubject([]);\n this.paramValues$ = new BehaviorSubject([]);\n this.formGroup = this.fb.group({\n adaptorName: this.fb.control(''),\n optionsString: this.fb.control(''),\n paramsString: this.fb.control(''),\n options: this.fb.control([]),\n params: this.fb.control([])\n });\n this.settingsSub = this.settings$.pipe(map(s => s ? new CrudAdaptorDatasource(this.attributeSerializer.deserializeAsObject(s)) : undefined), tap(ds => setTimeout(() => this.datasource$.next(ds)))).subscribe(ds => {\n if (ds) {\n this.formGroup.get('adaptorName').setValue(ds.adaptorName);\n this.formGroup.get('optionsString').setValue(ds.optionsString ? ds.optionsString : '');\n this.formGroup.get('paramsString').setValue(ds.paramsString ? ds.paramsString : '');\n }\n else {\n this.formGroup.get('adaptorName').setValue('');\n this.formGroup.get('optionsString').setValue('');\n this.formGroup.get('paramsString').setValue('');\n setTimeout(() => this.optionValues$.next([]), 2);\n setTimeout(() => this.optionValues$.next([]), 2);\n }\n });\n this.datasourceOptionsSub = combineLatest([\n this.datasource$,\n this.formGroup.get('optionsString').valueChanges\n ]).pipe(filter(([ds]) => ds !== undefined), delay(1), tap(([ds]) => this.optionValues$.next(ds.options))).subscribe();\n this.datasourceParamsSub = combineLatest([\n this.datasource$,\n this.formGroup.get('paramsString').valueChanges\n ]).pipe(filter(([ds]) => ds !== undefined), delay(1), tap(([ds]) => this.paramValues$.next(ds.params))).subscribe();\n this.optionsStringChangeSub = this.formGroup.get('optionsString').valueChanges.pipe(debounceTime(500)).subscribe(optionsString => {\n const parsed = qs.parse('?' + optionsString);\n this.optionsParsed = parsed;\n });\n this.paramsStringChangeSub = this.formGroup.get('paramsString').valueChanges.pipe(debounceTime(500)).subscribe(paramsString => {\n const parsed = qs.parse('?' + paramsString);\n this.paramsParsed = parsed;\n });\n this.onTouched = () => { };\n }\n ngOnInit() {\n }\n writeValue(val) {\n if (val) {\n this.formGroup.setValue(val, { emitEvent: false });\n }\n }\n registerOnChange(fn) {\n this.formGroup.valueChanges.subscribe(fn);\n }\n registerOnTouched(fn) {\n this.onTouched = fn;\n }\n setDisabledState(isDisabled) {\n if (isDisabled) {\n this.formGroup.disable();\n }\n else {\n this.formGroup.enable();\n }\n }\n validate(c) {\n return this.formGroup.valid ? null : this.formGroup.errors;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: CrudAdaptorDatasourceFormComponent, deps: [{ token: i1.UntypedFormBuilder }, { token: i2.AttributeSerializerService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: CrudAdaptorDatasourceFormComponent, selector: \"classifieds-ui-crud-adaptor-datasource-form\", inputs: { contexts: \"contexts\", settings: \"settings\" }, providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => CrudAdaptorDatasourceFormComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => CrudAdaptorDatasourceFormComponent),\n multi: true\n },\n ], ngImport: i0, template: \"<div [formGroup]=\\\"formGroup\\\">\\n <div>\\n <mat-form-field>\\n <input matInput placeholder=\\\"Adaptor\\\" formControlName=\\\"adaptorName\\\" required>\\n </mat-form-field>\\n </div>\\n <div class=\\\"options-container\\\">\\n <div>\\n <mat-form-field>\\n <input matInput placeholder=\\\"Options\\\" formControlName=\\\"optionsString\\\">\\n </mat-form-field>\\n </div>\\n <classifieds-ui-params-form formControlName=\\\"options\\\" [params]=\\\"optionsParsed\\\" [paramValues]=\\\"optionValues$.value\\\" [contexts]=\\\"contexts\\\"></classifieds-ui-params-form>\\n </div>\\n <div class=\\\"params-container\\\">\\n <div>\\n <mat-form-field>\\n <input matInput placeholder=\\\"Params\\\" formControlName=\\\"paramsString\\\">\\n </mat-form-field>\\n </div>\\n <classifieds-ui-params-form formControlName=\\\"params\\\" [params]=\\\"paramsParsed\\\" [paramValues]=\\\"paramValues$.value\\\" [contexts]=\\\"contexts\\\"></classifieds-ui-params-form>\\n </div>\\n</div>\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i1.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1.RequiredValidator, selector: \":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]\", inputs: [\"required\"] }, { kind: \"directive\", type: i1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: i3.MatLegacyFormField, selector: \"mat-form-field\", inputs: [\"color\", \"appearance\", \"hideRequiredMarker\", \"hintLabel\", \"floatLabel\"], exportAs: [\"matFormField\"] }, { kind: \"directive\", type: i4.MatLegacyInput, selector: \"input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]\", exportAs: [\"matInput\"] }, { kind: \"component\", type: i6.ParamsFormComponent, selector: \"classifieds-ui-params-form\", inputs: [\"contexts\", \"params\", \"paramValues\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: CrudAdaptorDatasourceFormComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-crud-adaptor-datasource-form', providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => CrudAdaptorDatasourceFormComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => CrudAdaptorDatasourceFormComponent),\n multi: true\n },\n ], template: \"<div [formGroup]=\\\"formGroup\\\">\\n <div>\\n <mat-form-field>\\n <input matInput placeholder=\\\"Adaptor\\\" formControlName=\\\"adaptorName\\\" required>\\n </mat-form-field>\\n </div>\\n <div class=\\\"options-container\\\">\\n <div>\\n <mat-form-field>\\n <input matInput placeholder=\\\"Options\\\" formControlName=\\\"optionsString\\\">\\n </mat-form-field>\\n </div>\\n <classifieds-ui-params-form formControlName=\\\"options\\\" [params]=\\\"optionsParsed\\\" [paramValues]=\\\"optionValues$.value\\\" [contexts]=\\\"contexts\\\"></classifieds-ui-params-form>\\n </div>\\n <div class=\\\"params-container\\\">\\n <div>\\n <mat-form-field>\\n <input matInput placeholder=\\\"Params\\\" formControlName=\\\"paramsString\\\">\\n </mat-form-field>\\n </div>\\n <classifieds-ui-params-form formControlName=\\\"params\\\" [params]=\\\"paramsParsed\\\" [paramValues]=\\\"paramValues$.value\\\" [contexts]=\\\"contexts\\\"></classifieds-ui-params-form>\\n </div>\\n</div>\" }]\n }], ctorParameters: function () { return [{ type: i1.UntypedFormBuilder }, { type: i2.AttributeSerializerService }]; }, propDecorators: { contexts: [{\n type: Input\n }], settings: [{\n type: Input\n }] } });\n\nclass CrudAdaptorDatasourceComponent {\n constructor(controlContainer) {\n this.controlContainer = controlContainer;\n this.settings = [];\n this.contexts = [];\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: CrudAdaptorDatasourceComponent, deps: [{ token: i1.ControlContainer }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: CrudAdaptorDatasourceComponent, selector: \"classifieds-ui-crud-adaptor-datasource\", inputs: { settings: \"settings\", contexts: \"contexts\" }, ngImport: i0, template: `<ng-container [formGroup]=\"controlContainer.control\"><classifieds-ui-crud-adaptor-datasource-form formControlName=\"settings\" [settings]=\"settings\" [contexts]=\"contexts\"></classifieds-ui-crud-adaptor-datasource-form></ng-container>`, isInline: true, dependencies: [{ kind: \"directive\", type: i1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: CrudAdaptorDatasourceFormComponent, selector: \"classifieds-ui-crud-adaptor-datasource-form\", inputs: [\"contexts\", \"settings\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: CrudAdaptorDatasourceComponent, decorators: [{\n type: Component,\n args: [{\n selector: 'classifieds-ui-crud-adaptor-datasource',\n template: `<ng-container [formGroup]=\"controlContainer.control\"><classifieds-ui-crud-adaptor-datasource-form formControlName=\"settings\" [settings]=\"settings\" [contexts]=\"contexts\"></classifieds-ui-crud-adaptor-datasource-form></ng-container>`,\n }]\n }], ctorParameters: function () { return [{ type: i1.ControlContainer }]; }, propDecorators: { settings: [{\n type: Input\n }], contexts: [{\n type: Input\n }] } });\n\n// import { ParamContextExtractorService } from '@rollthecloudinc/context';\nconst crudAdaptorDatasourcePluginFactory = (paramContextExtractor, attributeSerializer, cpm, paramEvaluatorService, crudDataHelper, urlGenerator) => {\n return new DatasourcePlugin({\n id: 'crud_adaptor',\n title: 'Crud Adaptor',\n editor: CrudAdaptorDatasourceComponent,\n fetch: ({ settings, metadata }) => of(new Dataset()).pipe(map(() => attributeSerializer.deserializeAsObject(settings)), map(s => new CrudAdaptorDatasource(s)), switchMap(ds => cpm.getPlugin(ds.adaptorName).pipe(map(plugin => ({ plugin, ds })))), map(({ plugin, ds }) => ({ plugin, ds, optionNames: ds.optionsString ? ds.optionsString.split('&').filter(v => v.indexOf('=:') !== -1).map(v => v.split('=', 2)[1].substr(1)) : [] })), switchMap(({ plugin, ds, optionNames }) => forkJoin([\n paramEvaluatorService.paramValues(ds.options.reduce((p, c, i) => new Map([...p, [optionNames[i], c]]), new Map())).pipe(map(params => Array.from(params).reduce((p, [k, v]) => ({ ...p, [k]: v }), {}))),\n ds.paramsString && ds.paramsString !== '' ? urlGenerator.getUrl('?' + ds.paramsString, ds.params, metadata).pipe(take(1)) : of(undefined)\n ]).pipe(map(([options, query]) => ({ plugin, options, query })))), switchMap(({ plugin, options, query }) => crudDataHelper.evaluateCollectionPlugins({ plugins: { [plugin.id]: { params: options } }, op: 'query', query: query ? query.substr(1) : query })), map(results => new Dataset({ results }))),\n editorOptions: () => of(new DatasourceEditorOptions({ fullscreen: true })),\n getBindings: ({ settings, metadata }) => of([]) /*.pipe(\n map(() => attributeSerializer.deserializeAsObject(settings)),\n map<any, CrudAdaptorDatasource>(s => new EntityDatasource(s)),\n switchMap(ds => paramContextExtractor.extractContexts(ds.params)),\n map(contexts => contexts.map(id => new ContentBinding({ id, type: 'context' })))\n )*/\n });\n};\nconst crudDataductPluginFactory = ({ crudDataHelper, attributeSerializer }) => new DataductPlugin({\n id: 'crud',\n title: 'Crud',\n editor: CrudAdaptorDatasourceComponent,\n send: (input) => of(new DuctdataOutput({})).pipe(map(() => ({ settings: attributeSerializer.deserializeAsObject(input.settings) })), tap(({ settings }) => console.log('crud data duct', settings)), map(({ settings }) => ({ plugins: { [`${settings.adaptorName}`]: { plugin: `${settings.adaptorName}`, ops: ['create'], params: `${settings.optionsString}`.split('&').reduce((p, c, i) => ({ ...p, [c.split('=', 1)[0]]: new Param(settings.options[i]) }), {}) } } })), switchMap(({ plugins }) => crudDataHelper.evaluatePlugins({ object: input.data, plugins, op: 'create', parentObject: { id: uuid.v4() } })), map(() => new DuctdataOutput({})))\n});\n\nclass CrudAdaptorPluginManager extends BasePluginManager {\n constructor(pcm, moduleLoader) {\n super(pcm, moduleLoader);\n }\n pluginDef() {\n return of(new PluginDef({ name: 'crud_adaptor' }));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: CrudAdaptorPluginManager, deps: [{ token: i1$1.PluginConfigurationManager }, { token: i2$1.ModuleLoaderService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: CrudAdaptorPluginManager, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: CrudAdaptorPluginManager, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: i1$1.PluginConfigurationManager }, { type: i2$1.ModuleLoaderService }]; } });\n\nclass CrudDataHelperService {\n constructor(crud) {\n this.crud = crud;\n this.cachedCollectionQueries = [];\n this.cachedCollectionIgnore = { p: { create: undefined, update: undefined, delete: undefined, query: undefined, read: undefined }, input: { identity: undefined } };\n }\n evaluatePlugins({ object, plugins, op, parentObject }) {\n const adaptors = Object.keys(plugins);\n const operations$ = adaptors.filter(a => !plugins[a].ops || plugins[a].ops.includes(op)).map(a => this.crud.getPlugin(plugins[a].plugin ? plugins[a].plugin : a).pipe(map(p => ({ p, params: plugins[a].params ? Object.keys(plugins[a].params).reduce((p, name) => ({ ...p, [name]: plugins[a].params[name] instanceof Param ? plugins[a].params[name] : new Param({ flags: [], mapping: { type: 'static', value: plugins[a].params[name], context: undefined, testValue: plugins[a].params[name] } }) }), {}) : {} })), switchMap(({ p, params }) => p[op]({ rule: undefined, object, parentObject, params, identity: ({ object, parentObject }) => of({ identity: object.id ? object.id : parentObject ? parentObject.id : undefined }) })), switchMap(res => iif(() => plugins[a].plugins && Object.keys(plugins[a].plugins).length !== 0, plugins[a].plugins && Object.keys(plugins[a].plugins).length !== 0 ? this.evaluatePlugins({ plugins: plugins[a].plugins, object: res.entity ? res.entity : object, parentObject: res.originalEntity ? res.originalEntity : object, op }) : of(res), of(res)))));\n return forkJoin(operations$).pipe(map(() => object));\n }\n evaluateCollectionPlugins({ query, objects, plugins, op, parentObjects }) {\n console.log('evaluate collection plugins');\n const adaptors = Object.keys(plugins);\n const operations$ = adaptors.filter(a => !plugins[a].ops || plugins[a].ops.includes(op)).map(a => this.crud.getPlugin(plugins[a].plugin ? plugins[a].plugin : a).pipe(map(p => ({ p, params: plugins[a].params ? Object.keys(plugins[a].params).reduce((p, name) => ({ ...p, [name]: plugins[a].params[name] instanceof Param ? plugins[a].params[name] : new Param({ flags: [], mapping: { type: 'static', value: plugins[a].params[name], context: undefined, testValue: plugins[a].params[name] } }) }), {}) : {} })), switchMap(({ p, params }) => this.buildQueryRule({ params: query, config: plugins[a] }).pipe(map(({ rule }) => ({ p, params, rule })))), \n // tap(({ params, rule }) => console.log('right before collection plugin query', params, rule)),\n // switchMap(({ p, params, rule }) => p.query({ rule, objects, parentObjects, params, identity: ({ object, parentObject }) => of({ identity: object.id ? object.id : parentObject ? parentObject.id : undefined }) }).pipe(\n switchMap(({ p, params, rule }) => this.flightAndCacheAwareCollectionQuery({ p, input: { rule, objects, parentObjects, params, identity: ({ object, parentObject }) => of({ identity: object.id ? object.id : parentObject ? parentObject.id : undefined }) } }).pipe(tap(() => console.log('end of crud query call')))), \n // tap(res => console.log('right before nested collection plugins', res)),\n switchMap(res => iif(() => plugins[a].plugins && Object.keys(plugins[a].plugins).length !== 0, this.evaluateCollectionPlugins({ query, plugins: plugins[a].plugins && Object.keys(plugins[a].plugins).length !== 0 ? plugins[a].plugins : {}, objects: res.entities ? res.entities : objects, parentObjects: res.originalEntities ? res.originalEntities : objects, op }), of(res))), tap(res => console.log('end of op', res))));\n const fallback = adaptors.filter(a => !plugins[a].ops || plugins[a].ops.includes(op)).find(a => plugins[a].fallback);\n if (fallback && operations$.length > 1) {\n return operations$.reduce((p, c) => p.pipe(switchMap(entities => entities && Array.isArray(entities) && entities.length > 0 ? of(entities) : c.pipe(map(c => c && c.entities && Array.isArray(c.entities) ? c.entities : []))), switchMap(entities => entities.length > 0 ? of(entities) : of([]))), of([]));\n }\n else {\n return operations$.length === 1 ? operations$[0].pipe(map(c => [...c.entities])) : forkJoin(operations$).pipe(map(responses => responses.reduce((p, c) => [...p, ...c.entities], [])), defaultIfEmpty([]));\n }\n }\n buildQueryRule({ params, config }) {\n return new Observable(obs => {\n // const metadata = this.entityDefinitionService.getDefinition(this.entityName).metadata as CrudEntityMetadata<any, {}>;\n const conditions = [];\n // KISS for now - use qs later - move to reusable function probably inside durl. First lets proof it out with one level.\n if (typeof (params) === 'string') {\n const pieces = params.split('&').map(p => p.split('=', 2)).reduce((p, [name, value]) => new Map([...Array.from(p).filter(([k, _]) => k !== name), [name, [...(p.has(name) ? p.get(name) : []), value]]]), new Map());\n pieces.forEach((values, name) => conditions.push({\n any: values.map(value => ({ fact: name === 'identity' ? 'identity' : 'entity', operator: config.queryMappings && config.queryMappings.has(name) && config.queryMappings.get(name).defaultOperator ? config.queryMappings.get(name).defaultOperator : 'equal', value, ...(name === 'identity' ? {} : { path: `$.${name}` }) }))\n }));\n }\n const rule = conditions.length > 0 ? new Rule({ conditions: { all: conditions }, event: { type: 'visible' } }) : undefined;\n obs.next({ rule });\n obs.complete();\n });\n }\n flightAndCacheAwareCollectionQuery(q) {\n // console.log('flightAndCacheAwareCollectionQuery', q.p, q.input);\n let matchedIndex = this.cachedCollectionQueries.findIndex(({ p, input }) => {\n const pDiff = getDiff({ ...q.p, ...this.cachedCollectionIgnore.p }, { ...p, ...this.cachedCollectionIgnore.p });\n const iDiff = getDiff({ ...q.input, ...this.cachedCollectionIgnore.input }, { ...input, ...this.cachedCollectionIgnore.input });\n // console.log('pDiff', pDiff);\n // console.log('iDiff', iDiff);\n return pDiff.length === 0 && iDiff.length === 0;\n });\n if (matchedIndex === -1) {\n this.cachedCollectionQueries.push({ p: q.p, input: q.input, query$: new ReplaySubject() });\n matchedIndex = this.cachedCollectionQueries.length - 1;\n q.p.query(q.input).pipe(tap(res => this.cachedCollectionQueries[matchedIndex].query$.next(res)), take(1)).subscribe();\n }\n return this.cachedCollectionQueries[matchedIndex].query$.pipe(take(1));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: CrudDataHelperService, deps: [{ token: CrudAdaptorPluginManager }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: CrudDataHelperService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: CrudDataHelperService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: CrudAdaptorPluginManager }]; } });\n\nclass CrudModule {\n constructor(dpm, cpm, ddpm, paramContextExtractor, attributeSerializer, paramEvaluatorService, crudDataHelper, urlGenerator) {\n dpm.register(crudAdaptorDatasourcePluginFactory(paramContextExtractor, attributeSerializer, cpm, paramEvaluatorService, crudDataHelper, urlGenerator));\n ddpm.register(crudDataductPluginFactory({ crudDataHelper, attributeSerializer }));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: CrudModule, deps: [{ token: i1$2.DatasourcePluginManager }, { token: CrudAdaptorPluginManager }, { token: i3$1.DataductPluginManager }, { token: i4$1.ParamContextExtractorService }, { token: i2.AttributeSerializerService }, { token: i6.ParamEvaluatorService }, { token: CrudDataHelperService }, { token: i8.UrlGeneratorService }], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: CrudModule, declarations: [CrudAdaptorDatasourceComponent,\n CrudAdaptorDatasourceFormComponent], imports: [CommonModule,\n ReactiveFormsModule,\n FormsModule,\n MaterialModule,\n ContextModule,\n DparamModule], exports: [CrudAdaptorDatasourceComponent,\n CrudAdaptorDatasourceFormComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: CrudModule, imports: [CommonModule,\n ReactiveFormsModule,\n FormsModule,\n MaterialModule,\n ContextModule,\n DparamModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: CrudModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [\n CrudAdaptorDatasourceComponent,\n CrudAdaptorDatasourceFormComponent\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n FormsModule,\n MaterialModule,\n ContextModule,\n DparamModule\n ],\n exports: [\n CrudAdaptorDatasourceComponent,\n CrudAdaptorDatasourceFormComponent\n ]\n }]\n }], ctorParameters: function () { return [{ type: i1$2.DatasourcePluginManager }, { type: CrudAdaptorPluginManager }, { type: i3$1.DataductPluginManager }, { type: i4$1.ParamContextExtractorService }, { type: i2.AttributeSerializerService }, { type: i6.ParamEvaluatorService }, { type: CrudDataHelperService }, { type: i8.UrlGeneratorService }]; } });\n\nconst blankCrudAdaptorResponse = { success: false };\n\n// import * as qs from 'qs';\nclass CrudDataService {\n get name() {\n return this._name;\n }\n constructor(entityName, crud, entityDefinitionService, crudDataHelperService) {\n this.crud = crud;\n this.entityDefinitionService = entityDefinitionService;\n this.crudDataHelperService = crudDataHelperService;\n this._name = `${entityName} CrudDataService`;\n this.entityName = entityName;\n }\n add(object) {\n const metadata = this.entityDefinitionService.getDefinition(this.entityName).metadata;\n return this.crudDataHelperService.evaluatePlugins({ object, plugins: metadata.crud, op: 'create' });\n }\n update(update) {\n const metadata = this.entityDefinitionService.getDefinition(this.entityName).metadata;\n return this.crudDataHelperService.evaluatePlugins({ object: update.changes, plugins: metadata.crud, op: 'update' });\n }\n upsert(object) {\n const metadata = this.entityDefinitionService.getDefinition(this.entityName).metadata;\n return this.crudDataHelperService.evaluatePlugins({ object, plugins: metadata.crud, op: 'update' }); // just alias of update for now.\n }\n delete(id) {\n const metadata = this.entityDefinitionService.getDefinition(this.entityName).metadata;\n return this.getById(id).pipe(switchMap(object => this.crudDataHelperService.evaluatePlugins({ object, plugins: metadata.crud, op: 'delete' })), map(() => id));\n }\n getAll() {\n const metadata = this.entityDefinitionService.getDefinition(this.entityName).metadata;\n return this.crudDataHelperService.evaluateCollectionPlugins({ plugins: metadata.crud, op: 'query' });\n }\n getById(id) {\n const metadata = this.entityDefinitionService.getDefinition(this.entityName).metadata;\n return this.crudDataHelperService.evaluateCollectionPlugins({ query: `identity=${id}`, plugins: metadata.crud, op: 'query' }).pipe(map(objects => objects && objects.length !== 0 ? objects[0] : undefined));\n }\n getWithQuery(params) {\n // @todo: convert to rules. - eq support possibly nesting... - _root. -- where root will be the item/object\n /*const flat: Array<T> = [];\n this.entities.forEach(v => {\n flat.push(v);\n });\n return of(flat);*/\n const metadata = this.entityDefinitionService.getDefinition(this.entityName).metadata;\n return this.crudDataHelperService.evaluateCollectionPlugins({ query: params, plugins: metadata.crud, op: 'query' });\n }\n}\n\n/*\n * Public API Surface of crud\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { CrudAdaptorDatasource, CrudAdaptorDatasourceComponent, CrudAdaptorDatasourceFormComponent, CrudAdaptorPlugin, CrudAdaptorPluginManager, CrudDataHelperService, CrudDataService, CrudModule, blankCrudAdaptorResponse };\n","import * as i0 from '@angular/core';\nimport { NgModule, Injectable } from '@angular/core';\nimport { AttributeTypes } from '@rollthecloudinc/attributes';\nimport { Rule, Engine } from 'json-rules-engine';\nimport { Observable } from 'rxjs';\nimport { take, map, tap, switchMap } from 'rxjs/operators';\nimport * as uuid from 'uuid';\nimport * as i2 from '@rollthecloudinc/context';\n\nclass RulesModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RulesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: RulesModule }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RulesModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RulesModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [],\n imports: [],\n exports: []\n }]\n }] });\n\nclass RulesParserService {\n constructor() {\n this.operatorsMap = new Map([\n ['=', 'equal'],\n ['!=', 'notEqual']\n ]);\n }\n buildFields(obj, prefix = '') {\n const fields = new Map();\n this.genericFields(obj, fields, prefix, 0);\n return fields;\n }\n attributeFields(settings, fields, prefix, level) {\n settings.forEach((s, i) => {\n if (s.name !== 'widget') {\n for (const prop in s) {\n if (s.type === AttributeTypes.Complex || (prop === 'attributes' && s.attributes && s.attributes.length > 0)) {\n if (s.type === AttributeTypes.Complex) {\n this.attributeFields(s.attributes, fields, `${prefix}`, level + 1);\n }\n else {\n this.attributeFields(s.attributes, fields, `${prefix}.${s.name}`, level + 1);\n }\n }\n else if (prop !== 'attributes') {\n if (prop === s.name) {\n // fields.set(`${prefix}.${prop}`, { name: `${prefix}.${prop}`, type: this.resolveAttributeType(s[prop].type), defaultValue: s[prop] });\n fields.set(`${prefix}.${prop}`, { name: `${prefix}.${prop}`, type: this.resolveAttributeType(s.type), defaultValue: s[prop] });\n }\n else {\n // fields.set(`${prefix}.${s.name}.${prop}`, { name: `${prefix}.${s.name}.${prop}`, type: this.resolveAttributeType(s[prop].type), defaultValue: s[prop] });\n fields.set(`${prefix}.${s.name}.${prop}`, { name: `${prefix}.${s.name}.${prop}`, type: this.resolveAttributeType(s.type), defaultValue: s[prop] });\n }\n }\n }\n }\n });\n }\n genericFields(obj, fields, prefix, level) {\n for (const prop in obj) {\n const type = typeof (obj[prop]);\n if (type !== 'object') {\n fields.set(`${prefix}.${prop}`, { name: `${prefix}.${prop}`, type: this.resolveNativeType(type), defaultValue: obj[prop] });\n }\n else if (Array.isArray(obj[prop]) && prop === 'attributes') {\n this.attributeFields(obj[prop], fields, `${prefix}.${prop}`, level + 1);\n }\n else if (Array.isArray(obj[prop])) {\n var len = obj[prop].length;\n for (let i = 0; i < len; i++) {\n this.genericFields(obj[prop][i], fields, `${prefix}.${prop}.${i}`, level + 1);\n }\n }\n else {\n this.genericFields(obj[prop], fields, `${prefix}.${prop}`, level + 1);\n }\n }\n }\n /**\n * Changes commited on 9/12/2021 have potential to break older panel pages that\n * use context. Although I believe that originally this only worked for one level. Now\n * it works for nested rules. I also can't recall why the field split was limited\n * to only 2 items. That might hav just been laziness or there might have been a valid reason for it.\n * I don't know why that be done instead of using indexOf to make sure the full path is included.\n */\n toEngineRule(rule, level = 0) {\n const conditions = [];\n if (rule.rules === undefined || !Array.isArray(rule.rules)) {\n // const [ fact, path ] = (rule as any).field.split('.', 2);\n const firstDot = rule.field.indexOf('.');\n const fact = rule.field.substr(0, firstDot);\n const path = rule.field.substr(firstDot + 1);\n conditions.push({ fact, path: `$.${path}`, operator: this.operatorsMap.get(rule.operator), value: rule.value });\n return new Rule({ conditions: { all: conditions }, event: (level === 0 ? { type: 'visible' } : undefined) });\n }\n else {\n const len = rule.rules.length;\n for (let i = 0; i < len; i++) {\n if ('field' in rule.rules[i] && (rule.condition === undefined || rule.condition === null || rule.condition === '')) {\n // const [ fact, path ] = (rule.rules[i] as NgRule).field.split('.', 2);\n const firstDot = rule.rules[i].field.indexOf('.');\n const fact = rule.rules[i].field.substr(0, firstDot);\n const path = rule.rules[i].field.substr(firstDot + 1);\n conditions.push({ fact, path: `$.${path}`, operator: this.operatorsMap.get(rule.rules[i].operator), value: rule.rules[i].value });\n }\n else {\n const nestedRule = this.toEngineRule(rule.rules[i], level + 1);\n conditions.push(nestedRule.conditions);\n }\n }\n if (rule.condition === 'and') {\n return new Rule({ conditions: { all: conditions }, event: (level === 0 ? { type: 'visible' } : undefined) });\n }\n else {\n return new Rule({ conditions: { any: conditions }, event: (level === 0 ? { type: 'visible' } : undefined) });\n }\n }\n }\n extractConditions(ngRule, level = 0) {\n const rule = this.toEngineRule(ngRule);\n return [\n ...(rule.conditions.any !== undefined ? rule.conditions.any : []),\n ...(rule.conditions.all !== undefined ? rule.conditions.all : [])\n ];\n }\n resolveNativeType(type) {\n switch (type) {\n case 'number':\n return 'number';\n case 'boolean':\n return 'boolean';\n case 'string':\n default:\n return 'string';\n }\n }\n resolveAttributeType(type) {\n switch (type) {\n case AttributeTypes.Float:\n case AttributeTypes.Number:\n return 'number';\n case AttributeTypes.Bool:\n return 'boolean';\n case AttributeTypes.Text:\n default:\n return 'string';\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RulesParserService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RulesParserService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RulesParserService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return []; } });\n\n// import { Rule } from 'json-rules-engine'\nclass RulesResolverService {\n constructor(rulesParser, inlineContextResolver) {\n this.rulesParser = rulesParser;\n this.inlineContextResolver = inlineContextResolver;\n }\n evaluate(ngRule, contexts = []) {\n return this.inlineContextResolver.resolveMerged(contexts, `rules:${uuid.v4()}`).pipe(take(1), map(facts => [{ ...facts }, new Engine()]), tap(([_, engine]) => {\n const rule = this.rulesParser.toEngineRule(ngRule);\n engine.addRule(rule);\n }), switchMap(([facts, engine]) => new Observable(obs => {\n engine.run(facts).then(res => {\n obs.next(res.events.findIndex(e => e.type === 'visible') > -1);\n obs.complete();\n });\n })));\n // A bit easier to debug using breakpoints.\n /*return new Observable<boolean>(obs => {\n const name = `rules:${uuid.v4()}`;\n this.inlineContextResolver.resolveMerged(contexts, name).pipe(\n take(1),\n map(facts => [{ ...facts }, new Engine()]),\n tap(([facts, engine]) => {\n const rule = this.rulesParser.toEngineRule(ngRule);\n engine.addRule(new Rule({\n ...rule,\n onSuccess: () => {\n obs.next(true);\n obs.complete();\n },\n onFailure: () => {\n obs.next(false);\n obs.complete();\n },\n name\n }));\n engine.run(facts).then(() => {\n console.log('facts ran!');\n });;\n })\n ).subscribe(() => {\n console.log(`subscription complete for rule ${name}`);\n });\n });*/\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RulesResolverService, deps: [{ token: RulesParserService }, { token: i2.InlineContextResolverService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RulesResolverService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RulesResolverService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: RulesParserService }, { type: i2.InlineContextResolverService }]; } });\n\n/*\n * Public API Surface of rules\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { RulesModule, RulesParserService, RulesResolverService };\n","export default function _objectDestructuringEmpty(obj) {\n if (obj == null) throw new TypeError(\"Cannot destructure \" + obj);\n}","import * as i0 from '@angular/core';\nimport { PLATFORM_ID, NgModule, Inject } from '@angular/core';\nimport * as i1 from '@rollthecloudinc/crud';\nimport { CrudAdaptorPlugin, CrudModule } from '@rollthecloudinc/crud';\nimport * as i2 from '@rollthecloudinc/auth';\nimport { AuthModule } from '@rollthecloudinc/auth';\nimport * as i6 from '@rollthecloudinc/awcog';\nimport { COGNITO_SETTINGS } from '@rollthecloudinc/awcog';\nimport { CognitoIdentityClient } from '@aws-sdk/client-cognito-identity';\nimport { S3Client } from '@aws-sdk/client-s3';\nimport { fromCognitoIdentityPool } from '@aws-sdk/credential-provider-cognito-identity';\nimport { of, iif, firstValueFrom, from } from 'rxjs';\nimport { switchMap, map, tap, take } from 'rxjs/operators';\nimport { SignatureV4 } from '@aws-sdk/signature-v4';\nimport { HttpRequest } from '@aws-sdk/protocol-http';\nimport { Sha256 } from '@aws-crypto/sha256-js';\nimport * as i5 from '@rollthecloudinc/utils';\nimport { UtilsModule } from '@rollthecloudinc/utils';\nimport * as i3 from '@rollthecloudinc/dparam';\nimport * as i4 from '@angular/common/http';\n\nconst s3EntityCrudAdaptorPluginFactory = (platformId, authFacade, cognitoSettings, paramsEvaluatorService, http, asyncApiCallHelperSvc) => {\n return new CrudAdaptorPlugin({\n id: 'aws_s3_entity',\n title: 'AWS S3 Entity',\n create: ({ object, identity, params, parentObject }) => of({ success: false }).pipe(paramsEvaluatorService.resolveParams({ params }), switchMap(({ options }) => identity({ object, parentObject }).pipe(map(({ identity }) => ({ identity, options })))), switchMap(({ options, identity }) => createS3SignedHttpRequest({\n method: \"PUT\",\n body: JSON.stringify(object),\n headers: {\n \"Content-Type\": \"application/json\",\n host: `${options.bucket}.s3.amazonaws.com`,\n },\n hostname: `${options.bucket}.s3.amazonaws.com`,\n path: `${options.prefix}${identity}.json`,\n protocol: 'https:',\n service: \"s3\",\n cognitoSettings: cognitoSettings,\n authFacade: authFacade\n }).pipe(map(signedHttpRequest => ({ signedHttpRequest, options })))), tap(({ signedHttpRequest }) => delete signedHttpRequest.headers.host), map(({ signedHttpRequest, options }) => ({ signedHttpRequest, options, url: `https://${options.bucket}.s3.amazonaws.com${signedHttpRequest.path}` })), switchMap(({ signedHttpRequest, url }) => http.put(url, JSON.stringify(object), { headers: signedHttpRequest.headers, withCredentials: false })), map(() => ({ success: true }))),\n read: ({}) => of({ success: false }),\n update: ({ object, identity, params }) => of({ success: false }).pipe(paramsEvaluatorService.resolveParams({ params }), switchMap(({ options }) => identity({ object }).pipe(map(({ identity }) => ({ identity, options })))), switchMap(({ options, identity }) => createS3SignedHttpRequest({\n method: \"PUT\",\n body: JSON.stringify(object),\n headers: {\n \"Content-Type\": \"application/json\",\n host: `${options.bucket}.s3.amazonaws.com`,\n },\n hostname: `${options.bucket}.s3.amazonaws.com`,\n path: `${options.prefix}${identity}.json`,\n protocol: 'https:',\n service: \"s3\",\n cognitoSettings: cognitoSettings,\n authFacade: authFacade\n }).pipe(map(signedHttpRequest => ({ signedHttpRequest, options })))), tap(({ signedHttpRequest }) => delete signedHttpRequest.headers.host), map(({ signedHttpRequest, options }) => ({ signedHttpRequest, options, url: `https://${options.bucket}.s3.amazonaws.com${signedHttpRequest.path}` })), switchMap(({ signedHttpRequest, url }) => http.put(url, JSON.stringify(object), { headers: signedHttpRequest.headers, withCredentials: false })), map(() => ({ success: true }))),\n delete: ({}) => of({ success: false }),\n query: ({ rule, params }) => of({ entities: [], success: false }).pipe(paramsEvaluatorService.resolveParams({ params }), \n // This can be moved into crud adaptor and passed as argument.\n map(({ options }) => ({ options, identityCondition: rule.conditions.all.map(c => c.any.find(c2 => c2.fact === 'identity')).find(c => !!c) })), switchMap(({ identityCondition, options }) => iif(() => identityCondition !== undefined && identityCondition && identityCondition.fact === 'identity' && options && options.bucket, \n // This could probably be moved into an aw util module to easily build rest queries for any aw service efficently.\n createS3SignedHttpRequest({\n method: \"GET\",\n body: undefined,\n headers: {\n \"Content-Type\": \"application/json\",\n host: `${options ? options.bucket : ''}.s3.amazonaws.com`,\n },\n hostname: `${options ? options.bucket : ''}.s3.amazonaws.com`,\n path: `${options && options.prefix ? options.prefix : ''}${identityCondition ? identityCondition.value : ''}.json`,\n protocol: 'https:',\n service: \"s3\",\n cognitoSettings: cognitoSettings,\n authFacade: authFacade\n }).pipe(tap(() => console.log('.marker({ event: AFTER , entity: s3 , op: query , meta: { action: createSignedRequest } })')), tap(signedHttpRequest => delete signedHttpRequest.headers.host), \n // map(signedHttpRequest => ({ signedHttpRequest, options, url: `${ isPlatformServer(platformId) ? /*'http://localhost:4000'*/ `${protocol}://${hostName}` /*`https://${options.bucket}.s3.amazonaws.com`*/ : `${protocol}://${hostName}` }${ `/awproxy/s3/${(options as any).bucket}` }${signedHttpRequest.path}` })),\n map(signedHttpRequest => ({ signedHttpRequest, options, url: `https://${options.bucket}.s3.amazonaws.com${signedHttpRequest.path}` })), tap(() => console.log('.marker({ event: BEFORE , entity: crud , op: query , meta: { http: get } })')), switchMap(({ signedHttpRequest, url }) => http.get(url, { headers: signedHttpRequest.headers, withCredentials: false })), tap(() => console.log('.marker({ event: AFTER , entity: s3 , op: query , meta: { http: get } })')), map(res => ({ entities: res ? [res] : [], success: res ? true : false }))), of({ entities: [], success: false }))))\n });\n};\n// This will no longer be needed once write op sdk usage is replaced by signed url\nconst buildClient = (authFacade, cognitoSettings) => new S3Client({\n region: cognitoSettings.region,\n credentials: fromCognitoIdentityPool({\n client: new CognitoIdentityClient({ region: cognitoSettings.region }),\n identityPoolId: cognitoSettings.identityPoolId,\n logins: {\n [`cognito-idp.${cognitoSettings.region}.amazonaws.com/${cognitoSettings.userPoolId}`]: () => firstValueFrom(authFacade.getUser$.pipe(map(u => u ? u.id_token : undefined)))\n }\n }),\n});\nconst createS3SignedHttpRequest = ({ body, headers, hostname, method = \"GET\", path = \"/\", port = 443, protocol = \"https:\", query, service, cognitoSettings, authFacade }) => of(new HttpRequest({\n body,\n headers,\n hostname,\n method,\n path,\n port,\n protocol,\n query,\n})).pipe(tap(() => console.log('.marker({ event: BEGIN , context: s3, entity: sig , op: signv4 , meta: { } })')), switchMap(req => from((new SignatureV4({\n credentials: fromCognitoIdentityPool({\n client: new CognitoIdentityClient({ region: cognitoSettings.region }),\n identityPoolId: cognitoSettings.identityPoolId,\n logins: {\n [`cognito-idp.${cognitoSettings.region}.amazonaws.com/${cognitoSettings.userPoolId}`]: () => firstValueFrom(authFacade.getUser$.pipe(map(u => u ? u.id_token : undefined)))\n }\n }),\n region: cognitoSettings.region,\n service,\n sha256: Sha256,\n})).sign(req)\n .then(signedReq => {\n console.log('.marker({ event: RESOLVED, entity: s3 , op: signv4 , meta: { } })');\n return signedReq;\n})).pipe(tap(() => console.log('.marker({ /s3/sign/after/sig })')), take(1))), map(req => req), tap(() => console.log('.marker({ event: END , context: s3, entity: sig , op: signv4 , meta: { } })')));\n\nclass Aws3Module {\n constructor(cognitoSettings, platformId, cpm, authFacade, paramsEvaluatorService, http, asyncApiCallHelperSvc) {\n cpm.register(s3EntityCrudAdaptorPluginFactory(platformId, authFacade, cognitoSettings, paramsEvaluatorService, http, asyncApiCallHelperSvc));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: Aws3Module, deps: [{ token: COGNITO_SETTINGS }, { token: PLATFORM_ID }, { token: i1.CrudAdaptorPluginManager }, { token: i2.AuthFacade }, { token: i3.ParamEvaluatorService }, { token: i4.HttpClient }, { token: i5.AsyncApiCallHelperService }], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: Aws3Module, imports: [UtilsModule,\n AuthModule,\n CrudModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: Aws3Module, imports: [UtilsModule,\n AuthModule,\n CrudModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: Aws3Module, decorators: [{\n type: NgModule,\n args: [{\n declarations: [],\n imports: [\n UtilsModule,\n AuthModule,\n CrudModule\n ],\n exports: []\n }]\n }], ctorParameters: function () { return [{ type: i6.CognitoSettings, decorators: [{\n type: Inject,\n args: [COGNITO_SETTINGS]\n }] }, { type: Object, decorators: [{\n type: Inject,\n args: [PLATFORM_ID]\n }] }, { type: i1.CrudAdaptorPluginManager }, { type: i2.AuthFacade }, { type: i3.ParamEvaluatorService }, { type: i4.HttpClient }, { type: i5.AsyncApiCallHelperService }]; } });\n\n/*\n * Public API Surface of aws3\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { Aws3Module };\n","import * as i0 from '@angular/core';\nimport { PLATFORM_ID, NgModule, Inject } from '@angular/core';\nimport * as i2 from '@rollthecloudinc/auth';\nimport { AuthModule } from '@rollthecloudinc/auth';\nimport * as i5 from '@rollthecloudinc/awcog';\nimport { COGNITO_SETTINGS } from '@rollthecloudinc/awcog';\nimport * as i1 from '@rollthecloudinc/crud';\nimport { CrudAdaptorPlugin, CrudModule } from '@rollthecloudinc/crud';\nimport { of, forkJoin, from, firstValueFrom } from 'rxjs';\nimport { SignatureV4 } from '@aws-sdk/signature-v4';\nimport { HttpRequest } from '@aws-sdk/protocol-http';\nimport { Sha256 } from '@aws-crypto/sha256-js';\nimport { fromCognitoIdentityPool } from '@aws-sdk/credential-provider-cognito-identity';\nimport { CognitoIdentityClient } from '@aws-sdk/client-cognito-identity';\nimport { switchMap, map, tap, catchError, take } from 'rxjs/operators';\nimport * as i3 from '@rollthecloudinc/dparam';\nimport * as i4 from '@angular/common/http';\n\nconst opensearchTemplateCrudAdaptorPluginFactory = (platformId, authFacade, cognitoSettings, paramsEvaluatorService, http) => {\n return new CrudAdaptorPlugin({\n id: 'aws_opensearch_template',\n title: 'AWS Opensearch Template',\n create: ({ object, identity, params, parentObject }) => of({ success: false }),\n read: ({}) => of({ success: false }),\n update: ({ object, identity, params, parentObject }) => of({ success: false }),\n delete: ({}) => of({ success: false }),\n query: ({ rule, params }) => of({ entities: [], success: false }).pipe(switchMap(() => params && Object.keys(params).length !== 0 ? forkJoin(Object.keys(params).map(name => paramsEvaluatorService.paramValue(params[name], new Map()).pipe(map(v => ({ [name]: v }))))).pipe(map(groups => groups.reduce((p, c) => ({ ...p, ...c }), {})), // default options go here instead of empty object.\n map(options => ({ options }))) : of({ options: {} })), map(({ options }) => ({ options, body: JSON.stringify({ id: options.id, params: rule ? rule.conditions.all.reduce((p, c) => ({ ...p, ...c.any.reduce((p2, c2) => ({ ...p2, [c2.path.substr(2)]: [...(p2[c2.path.substr(2)] ? p2[c2.path.substr(2)] : []), JSON.parse(decodeURIComponent(c2.value))] }), {}) }), {}) : {} }) })), tap(({ body }) => console.log('open search template query body', body)), switchMap(({ options, body }) => createSignedHttpRequest({\n method: \"POST\",\n body,\n headers: {\n \"Content-Type\": \"application/json\",\n host: `${options.domain}.${options.region}.es.amazonaws.com`,\n },\n hostname: `${options.domain}.${options.region}.es.amazonaws.com`,\n path: `/${options.index}/_search/template`,\n protocol: 'https:',\n service: \"es\",\n cognitoSettings: cognitoSettings,\n authFacade: authFacade\n }).pipe(map(signedHttpRequest => ({ signedHttpRequest, options })))), switchMap(({ signedHttpRequest, options }) => {\n delete signedHttpRequest.headers.host;\n const url = `https://${options.domain}.${options.region}.es.amazonaws.com/${options.index}/_search/template`;\n return http.post(url, signedHttpRequest.body, { headers: signedHttpRequest.headers, withCredentials: false }).pipe(map(res => ({ res, options })));\n }), map(({ res, options }) => ({ entities: options.hits && res && res.hits && res.hits.hits ? res.hits.hits.map(h => options.source ? h._source : h) : [res], success: true })))\n });\n};\nconst opensearchEntityCrudAdaptorPluginFactory = (authFacade, cognitoSettings, paramsEvaluatorService, http) => {\n return new CrudAdaptorPlugin({\n id: 'aws_opensearch_entity',\n title: 'AWS Opensearch Entity',\n create: ({ object, identity, params, parentObject }) => of({ success: false }).pipe(paramsEvaluatorService.resolveParams({ params }), switchMap(({ options }) => identity({ object, parentObject }).pipe(map(({ identity }) => ({ identity, options })))), switchMap(({ options, identity }) => createSignedHttpRequest({\n method: \"PUT\",\n body: JSON.stringify(object),\n headers: {\n \"Content-Type\": \"application/json\",\n host: `${options.domain}.${options.region}.es.amazonaws.com`,\n },\n hostname: `${options.domain}.${options.region}.es.amazonaws.com`,\n path: `/${options.index}/_doc/${identity}`,\n protocol: 'https:',\n service: \"es\",\n ...{ ...(options.pipeline ? { query: { pipeline: options.pipeline } } : {}) },\n cognitoSettings: cognitoSettings,\n authFacade: authFacade\n }).pipe(map(signedHttpRequest => ({ signedHttpRequest, options, identity })))), switchMap(({ signedHttpRequest, options, identity }) => {\n delete signedHttpRequest.headers.host;\n const url = `https://${options.domain}.${options.region}.es.amazonaws.com/${options.index}/_doc/${identity}`;\n return http.put(url, JSON.stringify(object), { headers: signedHttpRequest.headers, withCredentials: false, params: { ...(options.pipeline ? { pipeline: options.pipeline } : {}) } }).pipe(map(res => ({ res, options })));\n }), map(() => ({ success: true }))),\n read: ({}) => of({ success: false }),\n update: ({ object, identity, params, parentObject }) => of({ success: false }).pipe(paramsEvaluatorService.resolveParams({ params }), switchMap(({ options }) => identity({ object, parentObject }).pipe(map(({ identity }) => ({ identity, options })))), switchMap(({ options, identity }) => createSignedHttpRequest({\n method: \"PUT\",\n body: JSON.stringify(object),\n headers: {\n \"Content-Type\": \"application/json\",\n host: `${options.domain}.${options.region}.es.amazonaws.com`,\n },\n hostname: `${options.domain}.${options.region}.es.amazonaws.com`,\n path: `/${options.index}/_doc/${identity}`,\n protocol: 'https:',\n service: \"es\",\n ...{ ...(options.pipeline ? { query: { pipeline: options.pipeline } } : {}) },\n cognitoSettings: cognitoSettings,\n authFacade: authFacade\n }).pipe(map(signedHttpRequest => ({ signedHttpRequest, options, identity })))), switchMap(({ signedHttpRequest, options, identity }) => {\n delete signedHttpRequest.headers.host;\n const url = `https://${options.domain}.${options.region}.es.amazonaws.com/${options.index}/_doc/${identity}`;\n return http.put(url, JSON.stringify(object), { headers: signedHttpRequest.headers, withCredentials: false, params: { ...(options.pipeline ? { pipeline: options.pipeline } : {}) } }).pipe(map(res => ({ res, options })));\n }), map(() => ({ success: true }))),\n delete: ({}) => of({ success: false }),\n query: ({ rule, params }) => of({ entities: [], success: false }).pipe(tap(() => {\n console.log('crud open search query', rule, params);\n }), paramsEvaluatorService.resolveParams({ params }), \n // This can be moved into crud adaptor and passed as argument.\n map(({ options }) => ({ options, identityCondition: rule.conditions.all.map(c => c.any.find(c2 => c2.fact === 'identity')).find(c => !!c) })), switchMap(({ options, identityCondition }) => createSignedHttpRequest({\n method: \"GET\",\n headers: {\n \"Content-Type\": \"application/json\",\n host: `${options.domain}.${options.region}.es.amazonaws.com`,\n },\n hostname: `${options.domain}.${options.region}.es.amazonaws.com`,\n path: `/${options.index}/_doc/${identityCondition ? identityCondition.value : ''}`,\n protocol: 'https:',\n service: \"es\",\n cognitoSettings: cognitoSettings,\n authFacade: authFacade\n }).pipe(tap(() => console.log('.marker({ event: AFTER , entity: opensearch , op: query , meta: { action: createSignedRequest } })')), tap(signedHttpRequest => delete signedHttpRequest.headers.host), \n // map(signedHttpRequest => ({ signedHttpRequest, options, url: `${ isPlatformServer(platformId) ? /*'http://localhost:4000'*/ `${protocol}://${hostName}` /*`https://${options.bucket}.s3.amazonaws.com`*/ : `${protocol}://${hostName}` }${ `/awproxy/s3/${(options as any).bucket}` }${signedHttpRequest.path}` })),\n map(signedHttpRequest => ({ signedHttpRequest, options, url: `https://${options.domain}.${options.region}.es.amazonaws.com${signedHttpRequest.path}` })), tap(() => console.log('.marker({ event: BEFORE , entity: crud , op: query , meta: { http: get } })')), switchMap(({ signedHttpRequest, url }) => http.get(url, { headers: signedHttpRequest.headers, withCredentials: false }).pipe(catchError(() => of(undefined)))), tap(() => console.log('.marker({ event: AFTER , entity: opensearch , op: query , meta: { http: get } })')), map(res => ({ entities: res ? [res['_source']] : [], success: res ? true : false })))))\n });\n};\nconst createSignedHttpRequest = ({ body, headers, hostname, method = \"GET\", path = \"/\", port = 443, protocol = \"https:\", query, service, cognitoSettings, authFacade }) => of(new HttpRequest({\n body,\n headers,\n hostname,\n method,\n path,\n port,\n protocol,\n query,\n})).pipe(tap(() => console.log('.marker({ event: BEGIN , context: os, entity: sig , op: signv4 , meta: { } })')), switchMap(req => from((new SignatureV4({\n credentials: fromCognitoIdentityPool({\n client: new CognitoIdentityClient({ region: cognitoSettings.region }),\n identityPoolId: cognitoSettings.identityPoolId,\n logins: {\n [`cognito-idp.${cognitoSettings.region}.amazonaws.com/${cognitoSettings.userPoolId}`]: () => firstValueFrom(authFacade.getUser$.pipe(map(u => u ? u.id_token : undefined)))\n }\n }),\n region: cognitoSettings.region,\n service,\n sha256: Sha256,\n applyChecksum: false\n})).sign(req)\n .then(signedReq => {\n console.log('.marker({ event: RESOLVED, entity: os , op: signv4 , meta: { } })');\n return signedReq;\n})).pipe(tap(() => console.log('.marker({ /os/sign/after/sig })')), take(1))), map(req => req), tap(() => console.log('.marker({ event: END , context: os, entity: sig , op: signv4 , meta: { } })')));\n\nclass AwosModule {\n constructor(cognitoSettings, platformId, cpm, authFacade, paramsEvaluatorService, http) {\n cpm.register(opensearchTemplateCrudAdaptorPluginFactory(platformId, authFacade, cognitoSettings, paramsEvaluatorService, http));\n cpm.register(opensearchEntityCrudAdaptorPluginFactory(authFacade, cognitoSettings, paramsEvaluatorService, http));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AwosModule, deps: [{ token: COGNITO_SETTINGS }, { token: PLATFORM_ID }, { token: i1.CrudAdaptorPluginManager }, { token: i2.AuthFacade }, { token: i3.ParamEvaluatorService }, { token: i4.HttpClient }], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: AwosModule, imports: [AuthModule,\n CrudModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AwosModule, imports: [AuthModule,\n CrudModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AwosModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [],\n imports: [\n AuthModule,\n CrudModule\n ],\n exports: []\n }]\n }], ctorParameters: function () { return [{ type: i5.CognitoSettings, decorators: [{\n type: Inject,\n args: [COGNITO_SETTINGS]\n }] }, { type: Object, decorators: [{\n type: Inject,\n args: [PLATFORM_ID]\n }] }, { type: i1.CrudAdaptorPluginManager }, { type: i2.AuthFacade }, { type: i3.ParamEvaluatorService }, { type: i4.HttpClient }]; } });\n\n/*\n * Public API Surface of awos\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { AwosModule };\n","var toString = Object.prototype.toString;\n\nfunction isFunc(obj) {\n return toString.call(obj) === \"[object Function]\";\n}\n\nvar classCallCheck = function (instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n};\n\nvar createClass = function () {\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 return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\n\nfunction icPart(str) {\n return str.split(\"\").map(function (c) {\n return \"(?:\" + c.toUpperCase() + \"|\" + c.toLowerCase() + \")\";\n }).join(\"\");\n}\n\nfunction remove(arr, elem) {\n for (var i = arr.length - 1; i >= 0; i--) {\n if (arr[i] === elem) {\n Array.prototype.splice.call(arr, i, 1);\n }\n }\n}\n\nfunction hasProp(obj, key) {\n return Object.prototype.hasOwnProperty.call(obj, key);\n}\n\nvar instances = {};\n\nvar Inflector = function () {\n createClass(Inflector, null, [{\n key: \"getInstance\",\n value: function getInstance(locale) {\n instances[locale] = instances[locale] || new Inflector();\n return instances[locale];\n }\n }]);\n\n function Inflector() {\n classCallCheck(this, Inflector);\n\n this.plurals = [];\n this.singulars = [];\n this.uncountables = [];\n this.humans = [];\n this.acronyms = {};\n this.acronymRegex = /(?=a)b/;\n }\n\n createClass(Inflector, [{\n key: \"acronym\",\n value: function acronym(word) {\n this.acronyms[word.toLowerCase()] = word;\n\n var values = [];\n\n for (var key in this.acronyms) {\n if (hasProp(this.acronyms, key)) {\n values.push(this.acronyms[key]);\n }\n }\n\n this.acronymRegex = new RegExp(values.join(\"|\"));\n }\n }, {\n key: \"plural\",\n value: function plural(rule, replacement) {\n if (typeof rule === \"string\") {\n remove(this.uncountables, rule);\n }\n\n remove(this.uncountables, replacement);\n this.plurals.unshift([rule, replacement]);\n }\n }, {\n key: \"singular\",\n value: function singular(rule, replacement) {\n if (typeof rule === \"string\") {\n remove(this.uncountables, rule);\n }\n\n remove(this.uncountables, replacement);\n this.singulars.unshift([rule, replacement]);\n }\n }, {\n key: \"irregular\",\n value: function irregular(singular, plural) {\n remove(this.uncountables, singular);\n remove(this.uncountables, plural);\n\n var s0 = singular[0];\n var sRest = singular.substr(1);\n\n var p0 = plural[0];\n var pRest = plural.substr(1);\n\n if (s0.toUpperCase() === p0.toUpperCase()) {\n this.plural(new RegExp(\"(\" + s0 + \")\" + sRest + \"$\", \"i\"), \"$1\" + pRest);\n this.plural(new RegExp(\"(\" + p0 + \")\" + pRest + \"$\", \"i\"), \"$1\" + pRest);\n\n this.singular(new RegExp(\"(\" + s0 + \")\" + sRest + \"$\", \"i\"), \"$1\" + sRest);\n this.singular(new RegExp(\"(\" + p0 + \")\" + pRest + \"$\", \"i\"), \"$1\" + sRest);\n } else {\n var sRestIC = icPart(sRest);\n var pRestIC = icPart(pRest);\n\n this.plural(new RegExp(s0.toUpperCase() + sRestIC + \"$\"), p0.toUpperCase() + pRest);\n this.plural(new RegExp(s0.toLowerCase() + sRestIC + \"$\"), p0.toLowerCase() + pRest);\n this.plural(new RegExp(p0.toUpperCase() + pRestIC + \"$\"), p0.toUpperCase() + pRest);\n this.plural(new RegExp(p0.toLowerCase() + pRestIC + \"$\"), p0.toLowerCase() + pRest);\n\n this.singular(new RegExp(s0.toUpperCase() + sRestIC + \"$\"), s0.toUpperCase() + sRest);\n this.singular(new RegExp(s0.toLowerCase() + sRestIC + \"$\"), s0.toLowerCase() + sRest);\n this.singular(new RegExp(p0.toUpperCase() + pRestIC + \"$\"), s0.toUpperCase() + sRest);\n this.singular(new RegExp(p0.toLowerCase() + pRestIC + \"$\"), s0.toLowerCase() + sRest);\n }\n }\n }, {\n key: \"uncountable\",\n value: function uncountable() {\n for (var _len = arguments.length, words = Array(_len), _key = 0; _key < _len; _key++) {\n words[_key] = arguments[_key];\n }\n\n this.uncountables = this.uncountables.concat(words);\n }\n }, {\n key: \"human\",\n value: function human(rule, replacement) {\n this.humans.unshift([rule, replacement]);\n }\n }, {\n key: \"clear\",\n value: function clear() {\n var scope = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : \"all\";\n\n if (scope === \"all\") {\n this.plurals = [];\n this.singulars = [];\n this.uncountables = [];\n this.humans = [];\n } else {\n this[scope] = [];\n }\n }\n }]);\n return Inflector;\n}();\n\nfunction en(inflector) {\n inflector.plural(/$/, \"s\");\n inflector.plural(/s$/i, \"s\");\n inflector.plural(/^(ax|test)is$/i, \"$1es\");\n inflector.plural(/(octop|vir)us$/i, \"$1i\");\n inflector.plural(/(octop|vir)i$/i, \"$1i\");\n inflector.plural(/(alias|status)$/i, \"$1es\");\n inflector.plural(/(bu)s$/i, \"$1ses\");\n inflector.plural(/(buffal|tomat)o$/i, \"$1oes\");\n inflector.plural(/([ti])um$/i, \"$1a\");\n inflector.plural(/([ti])a$/i, \"$1a\");\n inflector.plural(/sis$/i, \"ses\");\n inflector.plural(/(?:([^f])fe|([lr])f)$/i, \"$1$2ves\");\n inflector.plural(/(hive)$/i, \"$1s\");\n inflector.plural(/([^aeiouy]|qu)y$/i, \"$1ies\");\n inflector.plural(/(x|ch|ss|sh)$/i, \"$1es\");\n inflector.plural(/(matr|vert|ind)(?:ix|ex)$/i, \"$1ices\");\n inflector.plural(/^(m|l)ouse$/i, \"$1ice\");\n inflector.plural(/^(m|l)ice$/i, \"$1ice\");\n inflector.plural(/^(ox)$/i, \"$1en\");\n inflector.plural(/^(oxen)$/i, \"$1\");\n inflector.plural(/(quiz)$/i, \"$1zes\");\n\n inflector.singular(/s$/i, \"\");\n inflector.singular(/(ss)$/i, \"$1\");\n inflector.singular(/(n)ews$/i, \"$1ews\");\n inflector.singular(/([ti])a$/i, \"$1um\");\n inflector.singular(/((a)naly|(b)a|(d)iagno|(p)arenthe|(p)rogno|(s)ynop|(t)he)(sis|ses)$/i, \"$1sis\");\n inflector.singular(/(^analy)(sis|ses)$/i, \"$1sis\");\n inflector.singular(/([^f])ves$/i, \"$1fe\");\n inflector.singular(/(hive)s$/i, \"$1\");\n inflector.singular(/(tive)s$/i, \"$1\");\n inflector.singular(/([lr])ves$/i, \"$1f\");\n inflector.singular(/([^aeiouy]|qu)ies$/i, \"$1y\");\n inflector.singular(/(s)eries$/i, \"$1eries\");\n inflector.singular(/(m)ovies$/i, \"$1ovie\");\n inflector.singular(/(x|ch|ss|sh)es$/i, \"$1\");\n inflector.singular(/^(m|l)ice$/i, \"$1ouse\");\n inflector.singular(/(bus)(es)?$/i, \"$1\");\n inflector.singular(/(o)es$/i, \"$1\");\n inflector.singular(/(shoe)s$/i, \"$1\");\n inflector.singular(/(cris|test)(is|es)$/i, \"$1is\");\n inflector.singular(/^(a)x[ie]s$/i, \"$1xis\");\n inflector.singular(/(octop|vir)(us|i)$/i, \"$1us\");\n inflector.singular(/(alias|status)(es)?$/i, \"$1\");\n inflector.singular(/^(ox)en/i, \"$1\");\n inflector.singular(/(vert|ind)ices$/i, \"$1ex\");\n inflector.singular(/(matr)ices$/i, \"$1ix\");\n inflector.singular(/(quiz)zes$/i, \"$1\");\n inflector.singular(/(database)s$/i, \"$1\");\n\n inflector.irregular(\"person\", \"people\");\n inflector.irregular(\"man\", \"men\");\n inflector.irregular(\"child\", \"children\");\n inflector.irregular(\"sex\", \"sexes\");\n inflector.irregular(\"move\", \"moves\");\n inflector.irregular(\"zombie\", \"zombies\");\n\n inflector.uncountable(\"equipment\", \"information\", \"rice\", \"money\", \"species\", \"series\", \"fish\", \"sheep\", \"jeans\", \"police\");\n}\n\nvar defaults$1 = {\n en: en\n};\n\nfunction inflections(locale, fn) {\n if (isFunc(locale)) {\n fn = locale;\n locale = null;\n }\n\n locale = locale || \"en\";\n\n if (fn) {\n fn(Inflector.getInstance(locale));\n } else {\n return Inflector.getInstance(locale);\n }\n}\n\nfor (var locale in defaults$1) {\n inflections(locale, defaults$1[locale]);\n}\n\nfunction applyInflections(word, rules) {\n var result = \"\" + word,\n rule,\n regex,\n replacement;\n\n if (result.length === 0) {\n return result;\n } else {\n var match = result.toLowerCase().match(/\\b\\w+$/);\n\n if (match && inflections().uncountables.indexOf(match[0]) > -1) {\n return result;\n } else {\n for (var i = 0, ii = rules.length; i < ii; i++) {\n rule = rules[i];\n\n regex = rule[0];\n replacement = rule[1];\n\n if (result.match(regex)) {\n result = result.replace(regex, replacement);\n break;\n }\n }\n\n return result;\n }\n }\n}\n\nfunction pluralize(word) {\n var locale = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : \"en\";\n\n return applyInflections(word, inflections(locale).plurals);\n}\n\nfunction singularize(word) {\n var locale = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : \"en\";\n\n return applyInflections(word, inflections(locale).singulars);\n}\n\nfunction capitalize(str) {\n var result = str === null || str === undefined ? \"\" : String(str);\n return result.charAt(0).toUpperCase() + result.slice(1);\n}\n\nfunction camelize(term, uppercaseFirstLetter) {\n if (uppercaseFirstLetter === null || uppercaseFirstLetter === undefined) {\n uppercaseFirstLetter = true;\n }\n\n var result = \"\" + term;\n\n if (uppercaseFirstLetter) {\n result = result.replace(/^[a-z\\d]*/, function (a) {\n return inflections().acronyms[a] || capitalize(a);\n });\n } else {\n result = result.replace(new RegExp(\"^(?:\" + inflections().acronymRegex.source + \"(?=\\\\b|[A-Z_])|\\\\w)\"), function (a) {\n return a.toLowerCase();\n });\n }\n\n result = result.replace(/(?:_|(\\/))([a-z\\d]*)/gi, function (match, a, b, idx, string) {\n a || (a = \"\");\n return \"\" + a + (inflections().acronyms[b] || capitalize(b));\n });\n\n return result;\n}\n\nfunction underscore(camelCasedWord) {\n var result = \"\" + camelCasedWord;\n\n result = result.replace(new RegExp(\"(?:([A-Za-z\\\\d])|^)(\" + inflections().acronymRegex.source + \")(?=\\\\b|[^a-z])\", \"g\"), function (match, $1, $2) {\n return \"\" + ($1 || \"\") + ($1 ? \"_\" : \"\") + $2.toLowerCase();\n });\n\n result = result.replace(/([A-Z\\d]+)([A-Z][a-z])/g, \"$1_$2\");\n result = result.replace(/([a-z\\d])([A-Z])/g, \"$1_$2\");\n result = result.replace(/-/g, \"_\");\n\n return result.toLowerCase();\n}\n\nfunction humanize(lowerCaseAndUnderscoredWord, options) {\n var result = \"\" + lowerCaseAndUnderscoredWord;\n var humans = inflections().humans;\n var human = void 0,\n rule = void 0,\n replacement = void 0;\n\n options = options || {};\n\n if (options.capitalize === null || options.capitalize === undefined) {\n options.capitalize = true;\n }\n\n for (var i = 0, ii = humans.length; i < ii; i++) {\n human = humans[i];\n rule = human[0];\n replacement = human[1];\n\n if (rule.test && rule.test(result) || result.indexOf(rule) > -1) {\n result = result.replace(rule, replacement);\n break;\n }\n }\n\n result = result.replace(/_id$/, \"\");\n result = result.replace(/_/g, \" \");\n\n result = result.replace(/([a-z\\d]*)/gi, function (match) {\n return inflections().acronyms[match] || match.toLowerCase();\n });\n\n if (options.capitalize) {\n result = result.replace(/^\\w/, function (match) {\n return match.toUpperCase();\n });\n }\n\n return result;\n}\n\nfunction titleize(word) {\n return humanize(underscore(word)).replace(/(^|[\\s¿/]+)([a-z])/g, function (match, boundary, letter, idx, string) {\n return match.replace(letter, letter.toUpperCase());\n });\n}\n\nfunction tableize(className) {\n return pluralize(underscore(className));\n}\n\nfunction classify(tableName) {\n return camelize(singularize(tableName.replace(/.*\\./g, \"\")));\n}\n\nfunction dasherize(underscoredWord) {\n return underscoredWord.replace(/_/g, \"-\");\n}\n\nfunction foreignKey(className) {\n var separateWithUnderscore = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n\n return \"\" + underscore(className) + (separateWithUnderscore ? \"_id\" : \"id\");\n}\n\nfunction ordinal(number) {\n var absNumber = Math.abs(Number(number));\n var mod100 = absNumber % 100;\n\n if (mod100 === 11 || mod100 === 12 || mod100 === 13) {\n return \"th\";\n } else {\n switch (absNumber % 10) {\n case 1:\n return \"st\";\n case 2:\n return \"nd\";\n case 3:\n return \"rd\";\n default:\n return \"th\";\n }\n }\n}\n\nfunction ordinalize(number) {\n return \"\" + number + ordinal(number);\n}\n\n// prettier-ignore\nvar DEFAULT_APPROXIMATIONS = {\n 'À': 'A', 'Á': 'A', 'Â': 'A', 'Ã': 'A', 'Ä': 'A', 'Å': 'A', 'Æ': 'AE',\n 'Ç': 'C', 'È': 'E', 'É': 'E', 'Ê': 'E', 'Ë': 'E', 'Ì': 'I', 'Í': 'I',\n 'Î': 'I', 'Ï': 'I', 'Ð': 'D', 'Ñ': 'N', 'Ò': 'O', 'Ó': 'O', 'Ô': 'O',\n 'Õ': 'O', 'Ö': 'O', '×': 'x', 'Ø': 'O', 'Ù': 'U', 'Ú': 'U', 'Û': 'U',\n 'Ü': 'U', 'Ý': 'Y', 'Þ': 'Th', 'ß': 'ss', 'à': 'a', 'á': 'a', 'â': 'a',\n 'ã': 'a', 'ä': 'a', 'å': 'a', 'æ': 'ae', 'ç': 'c', 'è': 'e', 'é': 'e',\n 'ê': 'e', 'ë': 'e', 'ì': 'i', 'í': 'i', 'î': 'i', 'ï': 'i', 'ð': 'd',\n 'ñ': 'n', 'ò': 'o', 'ó': 'o', 'ô': 'o', 'õ': 'o', 'ö': 'o', 'ø': 'o',\n 'ù': 'u', 'ú': 'u', 'û': 'u', 'ü': 'u', 'ý': 'y', 'þ': 'th', 'ÿ': 'y',\n 'Ā': 'A', 'ā': 'a', 'Ă': 'A', 'ă': 'a', 'Ą': 'A', 'ą': 'a', 'Ć': 'C',\n 'ć': 'c', 'Ĉ': 'C', 'ĉ': 'c', 'Ċ': 'C', 'ċ': 'c', 'Č': 'C', 'č': 'c',\n 'Ď': 'D', 'ď': 'd', 'Đ': 'D', 'đ': 'd', 'Ē': 'E', 'ē': 'e', 'Ĕ': 'E',\n 'ĕ': 'e', 'Ė': 'E', 'ė': 'e', 'Ę': 'E', 'ę': 'e', 'Ě': 'E', 'ě': 'e',\n 'Ĝ': 'G', 'ĝ': 'g', 'Ğ': 'G', 'ğ': 'g', 'Ġ': 'G', 'ġ': 'g', 'Ģ': 'G',\n 'ģ': 'g', 'Ĥ': 'H', 'ĥ': 'h', 'Ħ': 'H', 'ħ': 'h',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'Й': 'J', 'К': 'K', 'Л': 'L', 'М': 'M',\n 'Н': 'N', 'О': 'O', 'П': 'P', 'Р': 'R', 'С': 'S', 'Т': 'T', 'У': 'U',\n 'Ф': 'F', 'Х': 'KH', 'Ц': 'C', 'Ч': 'CH', 'Ш': 'SH', 'Щ': 'SHCH',\n 'Ъ': '', 'Ы': 'Y', 'Ь': '', 'Э': 'E', 'Ю': 'YU', 'Я': 'YA',\n 'а': 'a', 'б': 'b', 'в': 'v', 'г': 'g', 'д': 'd', 'е': 'e', 'ё': 'e',\n 'ж': 'zh', 'з': 'z', 'и': 'i', 'й': 'j', 'к': 'k', 'л': 'l', 'м': 'm',\n 'н': 'n', 'о': 'o', 'п': 'p', 'р': 'r', 'с': 's', 'т': 't', 'у': 'u',\n 'ф': 'f', 'х': 'kh', 'ц': 'c', 'ч': 'ch', 'ш': 'sh', 'щ': 'shch',\n 'ъ': '', 'ы': 'y', 'ь': '', 'э': 'e', 'ю': 'yu', 'я': 'ya'\n};\n\nvar DEFAULT_REPLACEMENT_CHAR = \"?\";\n\nvar instances$1 = {};\n\nvar Transliterator = function () {\n createClass(Transliterator, null, [{\n key: 'getInstance',\n value: function getInstance(locale) {\n instances$1[locale] = instances$1[locale] || new Transliterator();\n return instances$1[locale];\n }\n }]);\n\n function Transliterator() {\n classCallCheck(this, Transliterator);\n\n this.approximations = {};\n\n for (var char in DEFAULT_APPROXIMATIONS) {\n this.approximate(char, DEFAULT_APPROXIMATIONS[char]);\n }\n }\n\n createClass(Transliterator, [{\n key: 'approximate',\n value: function approximate(char, replacement) {\n this.approximations[char] = replacement;\n }\n }, {\n key: 'transliterate',\n value: function transliterate(string, replacement) {\n var _this = this;\n\n return string.replace(/[^\\u0000-\\u007f]/g, function (c) {\n return _this.approximations[c] || replacement || DEFAULT_REPLACEMENT_CHAR;\n });\n }\n }]);\n return Transliterator;\n}();\n\nfunction transliterations(locale, fn) {\n if (isFunc(locale)) {\n fn = locale;\n locale = null;\n }\n\n locale = locale || \"en\";\n\n if (fn) {\n fn(Transliterator.getInstance(locale));\n } else {\n return Transliterator.getInstance(locale);\n }\n}\n\nfunction transliterate(string) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n var locale = options.locale || \"en\";\n var replacement = options.replacement || \"?\";\n\n return transliterations(locale).transliterate(string, replacement);\n}\n\nfunction parameterize(string) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n if (options.separator === undefined) {\n options.separator = \"-\";\n }\n\n if (options.separator === null) {\n options.separator = \"\";\n }\n\n // replace accented chars with their ascii equivalents\n var result = transliterate(string, options);\n\n result = result.replace(/[^a-z0-9\\-_]+/ig, options.separator);\n\n if (options.separator.length) {\n var separatorRegex = new RegExp(options.separator);\n\n // no more than one of the separator in a row\n result = result.replace(new RegExp(separatorRegex.source + \"{2,}\"), options.separator);\n\n // remove leading/trailing separator\n result = result.replace(new RegExp(\"^\" + separatorRegex.source + \"|\" + separatorRegex.source + \"$\", \"i\"), \"\");\n }\n\n if (options.preserveCase) {\n return result;\n }\n\n return result.toLowerCase();\n}\n\nfunction constantify(word) {\n return underscore(word).toUpperCase().replace(/\\s+/g, \"_\");\n}\n\nexport { pluralize, singularize, camelize, underscore, humanize, titleize, tableize, classify, dasherize, foreignKey, ordinal, ordinalize, transliterate, parameterize, capitalize, inflections, transliterations, constantify };\n","import * as i3 from '@angular/common';\nimport { isPlatformServer, CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { Injectable, forwardRef, Component, Input, Inject, InjectionToken, PLATFORM_ID, NgModule, Optional } from '@angular/core';\nimport * as i1$3 from '@ngrx/data';\nimport { Pluralizer, DefaultPluralizer } from '@ngrx/data';\nimport * as i1$1 from '@angular/forms';\nimport { NG_VALUE_ACCESSOR, NG_VALIDATORS, UntypedFormControl, Validators, UntypedFormArray, FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { of, BehaviorSubject, iif, forkJoin, Observable, Subject, Subscription } from 'rxjs';\nimport { map, switchMap, filter, defaultIfEmpty, catchError, concatMap, tap, take } from 'rxjs/operators';\nimport * as i1 from '@rollthecloudinc/attributes';\nimport { AttributeValue } from '@rollthecloudinc/attributes';\nimport * as i3$5 from '@rollthecloudinc/context';\nimport { InlineContext } from '@rollthecloudinc/context';\nimport { PersistenceFormPayload } from '@rollthecloudinc/refinery';\nimport { InteractionsFormPayload } from '@rollthecloudinc/detour';\nimport * as i2 from '@rollthecloudinc/content';\nimport { ContentPluginEditorOptions, ContentBinding, ContentPlugin, CONTENT_PLUGIN } from '@rollthecloudinc/content';\nimport * as i4$1 from '@rollthecloudinc/datasource';\nimport { Dataset, Datasource, DatasourceModule } from '@rollthecloudinc/datasource';\nimport * as i4 from '@angular/material/legacy-core';\nimport * as i5 from '@angular/material/legacy-form-field';\nimport * as i6 from '@angular/material/legacy-select';\nimport * as i2$1 from '@rollthecloudinc/utils';\nimport { SITE_NAME, NoopDataService } from '@rollthecloudinc/utils';\nimport { MaterialModule } from '@rollthecloudinc/material';\nimport * as uuid from 'uuid';\nimport * as i1$2 from '@angular/material/bottom-sheet';\nimport * as i3$1 from '@angular/material/legacy-dialog';\nimport { MAT_LEGACY_DIALOG_DATA } from '@angular/material/legacy-dialog';\nimport * as i7 from '@angular/material/core';\nimport * as i8 from '@angular/material/legacy-list';\nimport * as i9 from '@angular/material/legacy-tabs';\nimport * as i3$4 from '@rollthecloudinc/bridge';\nimport { BridgeBuilderPlugin, PublicApiBridgeService } from '@rollthecloudinc/bridge';\nimport * as i5$1 from '@rollthecloudinc/crud';\nimport { CrudAdaptorPlugin, CrudDataService, CrudModule } from '@rollthecloudinc/crud';\nimport * as i3$2 from '@rollthecloudinc/rules';\nimport { toCSS } from 'cssjson';\nimport { Aws3Module } from '@rollthecloudinc/aws3';\nimport { AwosModule } from '@rollthecloudinc/awos';\nimport { AuthModule } from '@rollthecloudinc/auth';\nimport * as i1$4 from '@ngrx/effects';\nimport { createEffect, ofType, EffectsModule } from '@ngrx/effects';\nimport { JSONPath } from 'jsonpath-plus';\nimport * as i1$5 from '@ngrx/store';\nimport { createAction, props, createReducer, on, StoreModule, createFeatureSelector, createSelector, select } from '@ngrx/store';\nimport * as i3$3 from '@rollthecloudinc/snippet';\nimport * as i1$6 from '@rollthecloudinc/plugin';\nimport { BasePluginManager, PluginDef, Plugin } from '@rollthecloudinc/plugin';\nimport { DataSource } from '@angular/cdk/collections';\nimport merge from 'deepmerge-json';\nimport { pluralize } from 'inflected';\n\n//import { EntityMetadataMap } from '@ngrx/data';\nconst entityMetadataFactory = (platformId, panelsSettings) => {\n return {\n PanelPageListItem: {\n entityName: 'PanelPageListItem',\n crud: {\n /*rest: {\n // ops: ['query'],\n params: {\n entityName: 'PanelPageListItem'\n }\n },*/\n /*aws_opensearch_template: {\n ops: ['query'],\n params: {\n id: 'panelpagelistitems',\n index: 'classified_panelpages',\n hits: true,\n source: true,\n // domain: 'search-classifieds-ui-dev-eldczuhq3vesgpjnr3vie6cagq',\n domain: panelsSettings.openSearchDomain,\n region: 'us-east-1'\n }\n },*/\n /*aws_opensearch_entity: {\n ops: ['create', 'update'],\n params: {\n index: 'classified_panelpages',\n // domain: 'search-classifieds-ui-dev-eldczuhq3vesgpjnr3vie6cagq',\n domain: panelsSettings.openSearchDomain,\n region: 'us-east-1'\n }\n },*/\n /*...(isPlatformServer(platformId) ?\n {} :\n {\n idb_keyval: {\n params: {\n prefix: 'panelpage__'\n },\n queryMappings: new Map<string, CrudEntityQueryMapping>([\n // ['path', { defaultOperator: 'startsWith' }]\n ['site', { defaultOperator: 'term||wildcard' }],\n ['path', { defaultOperator: 'term||wildcard' }]\n ])\n }\n }\n ),*/\n /*aws_opensearch_entity: {\n ops: ['create', 'update', 'read', 'delete']\n },*/\n idb_keyval: {\n params: {\n prefix: 'panelpage__'\n },\n queryMappings: new Map([\n // ['path', { defaultOperator: 'startsWith' }]\n ['site', { defaultOperator: 'term||wildcard' }],\n ['path', { defaultOperator: 'term||wildcard' }]\n ])\n }\n }\n },\n PanelPage: {\n entityName: 'PanelPage',\n crud: {\n /*aws_s3_entity: {\n ops: ['query', 'create', 'update'],\n params: {\n // bucket: 'classifieds-ui-dev',\n bucket: panelsSettings.s3Bucket,\n prefix: 'panelpages/'\n }\n }*/\n save: {\n ops: ['create', 'update'],\n plugin: 'rest',\n params: {\n entityName: 'PanelPage'\n }\n },\n ...(isPlatformServer(platformId) ? {} : { readPrimary: {\n fallback: true,\n ops: ['create', 'update', 'query'],\n plugin: 'idb_keyval',\n params: {\n prefix: 'panelpage__'\n }\n } }),\n readFallback: {\n fallback: true,\n ops: ['query'],\n plugin: 'rest',\n params: {\n entityName: 'PanelPage',\n root: panelsSettings.objectsRootUrl,\n // root: 'https://rollthecloudinc.github.io/ipe-objects',\n // root: '/assets/objects',\n suffix: '.json'\n }\n },\n /*...(isPlatformServer(platformId) ?\n {} :\n {\n idb_keyval: { // demo only\n params: {\n prefix: 'panelpage__'\n }\n }\n }\n )*/\n }\n },\n PanelPageState: {\n entityName: 'PanelPageState'\n }\n };\n};\n\nclass PanelsSettings {\n constructor(data) {\n if (data) {\n this.openSearchDomain = data.openSearchDomain;\n this.s3Bucket = data.s3Bucket;\n this.objectsRootUrl = data.objectsRootUrl;\n }\n }\n}\nclass PanelPage {\n constructor(data) {\n this.gridItems = [];\n this.panels = [];\n this.contexts = [];\n this.rowSettings = [];\n this.entityPermissions = new PanelPagePermissions();\n if (data) {\n this.id = data.id;\n this.layoutType = data.layoutType;\n this.displayType = data.displayType;\n this.name = data.name ? data.name : undefined;\n this.title = data.title ? data.title : undefined;\n this.site = data.site ? data.site : undefined;\n this.userId = data.userId ? data.userId : undefined;\n this.path = data.path ? data.path : undefined;\n this.persistence = data.persistence ? new PersistenceFormPayload(data.persistence) : undefined;\n this.interactions = data.interactions ? new InteractionsFormPayload(data.interactions) : undefined;\n if (data.panels) {\n this.panels = data.panels.map(p => new Panel(p));\n }\n if (data.gridItems) {\n this.gridItems = data.gridItems.map(i => new GridItem(i));\n }\n if (data.contexts) {\n this.contexts = data.contexts.map(c => new InlineContext(c));\n }\n if (data.layoutSetting) {\n this.layoutSetting = new LayoutSetting(data.layoutSetting);\n }\n if (data.rowSettings && Array.isArray(data.rowSettings)) {\n this.rowSettings = data.rowSettings.map(s => new LayoutSetting(s));\n }\n if (data.entityPermissions) {\n this.entityPermissions = new PanelPagePermissions(data.entityPermissions);\n }\n if (data.cssFile) {\n this.cssFile = data.cssFile;\n }\n }\n }\n}\nclass PanelPageListItem extends PanelPage {\n}\nclass GridLayout {\n constructor(data) {\n this.gridItems = [];\n if (data) {\n this.id = data.id;\n this.site = data.site;\n if (data.gridItems) {\n this.gridItems = data.gridItems.map(i => new GridItem(i));\n }\n }\n }\n}\nclass Panel {\n constructor(data) {\n this.settings = [];\n this.panes = [];\n if (data) {\n this.name = data.name ? data.name : undefined;\n this.label = data.label ? data.label : undefined;\n this.stylePlugin = data.stylePlugin;\n if (data.settings) {\n this.settings = data.settings.map(a => new AttributeValue(a));\n }\n if (data.panes) {\n this.panes = data.panes.map(p => new Pane(p));\n }\n if (data.columnSetting) {\n this.columnSetting = new LayoutSetting(data.columnSetting);\n }\n }\n }\n}\nclass Pane {\n constructor(data) {\n this.settings = [];\n this.locked = false;\n this.contexts = [];\n if (data) {\n this.name = data.name;\n this.label = data.label;\n this.contentPlugin = data.contentPlugin;\n this.locked = data.locked !== undefined ? data.locked : false;\n if (data.linkedPageId) {\n this.linkedPageId = data.linkedPageId;\n }\n if (data.metadata !== undefined) {\n this.metadata = new Map([...data.metadata]);\n }\n if (data.settings !== undefined) {\n this.settings = data.settings.map(a => new AttributeValue(a));\n }\n if (data.contexts !== undefined) {\n this.contexts = data.contexts.map(c => new InlineContext(c));\n }\n if (data.rule !== undefined && typeof (data.rule) !== 'string') {\n this.rule = { ...data.rule };\n }\n if (data.nestedPage) {\n this.nestedPage = new PanelPage(data.nestedPage);\n }\n if (data.resolvedContext) {\n this.resolvedContext = { ...data.resolvedContext };\n }\n }\n }\n}\nclass GridItem {\n constructor(data) {\n if (data) {\n this.cols = data.cols;\n this.rows = data.rows;\n this.x = data.x;\n this.y = data.y;\n this.weight = data.weight;\n }\n }\n}\nclass LayoutSetting {\n constructor(data) {\n this.settings = [];\n if (data) {\n if (data.settings && Array.isArray(data.settings)) {\n this.settings = data.settings.map(v => new AttributeValue(v));\n }\n }\n }\n}\nclass PanelPagePermissions {\n constructor(data) {\n this.readUserIds = [];\n this.writeUserIds = [];\n this.deleteUserIds = [];\n if (data) {\n this.readUserIds = data.readUserIds ? data.readUserIds.map(id => id) : [];\n this.writeUserIds = data.writeUserIds ? data.writeUserIds.map(id => id) : [];\n this.deleteUserIds = data.deleteUserIds ? data.deleteUserIds.map(id => id) : [];\n }\n }\n}\n/*<classifieds-ui-gridless-layout cdkDropListGroup>\n <ng-template #extraActions>\n <button *ngIf=\"savable\" type=\"submit\">Save</button>\n <button *ngIf=\"savable\" type=\"button\" (click)=\"onPropertiesClick()\">Properties</button>\n <ng-container *ngIf=\"savable\"><ng-container *ngTemplateOutlet=\"contextsMenuTpl\"></ng-container></ng-container>\n <button *ngIf=\"nested\" type=\"button\" (click)=\"onDeleteClick()\">Delete</button>\n <button *ngIf=\"nested\" type=\"button\" (click)=\"onRulesClick()\">Rules</button>\n <button type=\"button\" (mousedown)=\"addContent(0)\" (touchstart)=\"addContent(0)\">Add Content</button>\n <button type=\"button\" (mousedown)=\"editPanelProps(0)\" (touchstart)=\"editPanelProps(0)\" >Props</button>\n <span *ngIf=\"hasPanelStyle(0)\">Style: {{ panelStyleTitle(0) }}</span>\n <button *ngIf=\"!hasPanelStyle(0)\" type=\"button\" (mousedown)=\"applyStyle(0)\" (touchstart)=\"applyStyle(0)\">Apply Style</button>\n <div class=\"layout-type\">\n <mat-form-field>\n <mat-select required [formControl]=\"layoutType\">\n <mat-option value=\"grid\">Grid</mat-option>\n <mat-option value=\"gridless\">Gridless</mat-option>\n <mat-option value=\"split\">Split</mat-option>\n </mat-select>\n </mat-form-field>\n </div>\n <ng-container *ngTemplateOutlet=\"extraActionsAreaTmpl\"></ng-container>\n </ng-template>\n <ng-template #gridItemActions let-i=\"i\"></ng-template>\n <ng-template #innerGridItem let-i=\"i\">\n <ngx-dropzone [cdkDropListData]=\"i\" class=\"panel-dropzone\" [multiple]=\"true\" [disableClick]=\"true\" (change)=\"onFileChange($event, i)\" cdkDropList (cdkDropListDropped)=\"onDrop($event)\">\n <div #panes>\n <classifieds-ui-editable-pane *ngFor=\"let pane of panelPanes(i).controls; let j = index\" class=\"editable-pane\" (delete)=\"onDeletePane(i, j)\" (rules)=\"onRulesPane(i, j)\" (nestedUpdate)=\"onNestedUpdate($event, i, j)\" (rendererOverride)=\"onOverrideRenderer(i, j)\" (removeRendererOverride)=\"onRemoveOverrideRenderer(i, j)\" (edit)=\"onPaneEdit(i, j)\" (delete)=\"onPaneDelete(i, j)\" [panelIndex]=\"i\" [paneIndex]=\"j\" [name]=\"panelPaneName(i, j)\" [label]=\"panelPaneLabel(i, j)\" [locked]=\"panelPaneLocked(i, j)\" [contexts]=\"contexts\" [pluginName]=\"panelPanePlugin(i, j)\" [settings]=\"panelPaneSettings(i, j)\" cdkDrag>\n <div class=\"custom-placeholder\" *cdkDragPlaceholder></div>\n </classifieds-ui-editable-pane>\n </div>\n </ngx-dropzone>\n </ng-template>\n </classifieds-ui-gridless-layout>*/\n\nclass PanelContentHandler {\n constructor(attributeSerializer) {\n this.attributeSerializer = attributeSerializer;\n }\n handleFile(file) {\n return of();\n }\n handlesType(type) {\n return false;\n }\n implementsRendererOverride() {\n return false;\n }\n hasRendererOverride(settings) {\n return of(false);\n }\n isDynamic(settings) {\n return false;\n }\n isData(settings) {\n return false;\n }\n buildDynamicItems(settings, metadata) {\n return of([]);\n }\n fetchDynamicData(settings, metadata) {\n return of(new Dataset());\n }\n getBindings(settings, type) {\n return of([]);\n }\n toObject(settings) {\n return of(this.attributeSerializer.deserializeAsObject(settings));\n }\n buildSettings(panelPage) {\n return this.attributeSerializer.serialize(panelPage, 'root').attributes;\n }\n fromPanes(panesAsSettings) {\n return panesAsSettings.map(p => new Pane(this.attributeSerializer.deserialize(p)));\n }\n wrapPanel(panes) {\n return new Panel({\n stylePlugin: undefined,\n settings: [],\n panes: panes,\n columnSetting: new LayoutSetting()\n });\n }\n stateDefinition(settings) {\n return of({});\n }\n editorOptions(settings) {\n return of(new ContentPluginEditorOptions());\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelContentHandler, deps: [{ token: i1.AttributeSerializerService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelContentHandler, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelContentHandler, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: i1.AttributeSerializerService }]; } });\n\nclass PanelPageLinkedlistComponent {\n set panelPages(panelPages) {\n this.panelPages$.next(panelPages);\n }\n set panels(panels) {\n this.panels$.next(panels);\n }\n set panes(panes) {\n this.panes$.next(panes);\n }\n get panelPages() {\n return this.panelPages$.value && Array.isArray(this.panelPages$.value) ? this.panelPages$.value : [];\n }\n get panels() {\n return this.panels$.value && Array.isArray(this.panels$.value) ? this.panels$.value : [];\n }\n get panes() {\n return this.panes$.value && Array.isArray(this.panes$.value) ? this.panes$.value : [];\n }\n get nested() {\n return this.nested$.value && typeof (this.nested$.value) !== undefined && this.nested$.value.length > 0 ? [...this.nested$.value] : undefined;\n }\n constructor(fb, panelHandler) {\n this.fb = fb;\n this.panelHandler = panelHandler;\n this.panelPages$ = new BehaviorSubject([]);\n this.panels$ = new BehaviorSubject([]);\n this.panes$ = new BehaviorSubject([]);\n this.nested$ = new BehaviorSubject([]);\n this.formGroup = this.fb.group({\n panelPage: this.fb.control(undefined),\n panel: this.fb.control(undefined),\n pane: this.fb.control(undefined),\n nested: this.fb.control(undefined)\n });\n this.panelPageSub = this.formGroup.get('panelPage').valueChanges.subscribe(index => {\n this.panels$.next(new PanelPage(this.panelPages$.value[index]).panels);\n });\n this.panelSub = this.formGroup.get('panel').valueChanges.subscribe(index => {\n this.panes$.next(new Panel(this.panels$.value[index]).panes);\n });\n this.paneSub = this.formGroup.get('pane').valueChanges.pipe(map(index => this.panes$.value[index]), switchMap(pane => iif(() => pane.contentPlugin === 'panel', this.panelHandler.toObject(pane.settings), of(undefined))), filter(p => !!p)).subscribe(panelPage => {\n this.nested$.next([panelPage]);\n });\n this.onTouched = () => { };\n }\n writeValue(val) {\n if (val) {\n this.formGroup.setValue(val, { emitEvent: false });\n }\n }\n registerOnChange(fn) {\n this.formGroup.valueChanges.subscribe(fn);\n }\n registerOnTouched(fn) {\n this.onTouched = fn;\n }\n setDisabledState(isDisabled) {\n if (isDisabled) {\n this.formGroup.disable();\n }\n else {\n this.formGroup.enable();\n }\n }\n validate(c) {\n return this.formGroup.valid ? null : { invalidForm: { valid: false } };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelPageLinkedlistComponent, deps: [{ token: i1$1.UntypedFormBuilder }, { token: PanelContentHandler }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: PanelPageLinkedlistComponent, selector: \"druid-panels-panelpage-linkedlist\", inputs: { panelPages: \"panelPages\", panels: \"panels\", panes: \"panes\" }, providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => PanelPageLinkedlistComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => PanelPageLinkedlistComponent),\n multi: true\n },\n ], ngImport: i0, template: \"<div [formGroup]=\\\"formGroup\\\">\\n <mat-form-field *ngIf=\\\"panelPages.length > 0\\\">\\n <mat-select required formControlName=\\\"panelPage\\\">\\n <mat-option *ngFor=\\\"let p of (panelPages$ | async); let i = index\\\" [value]=\\\"i\\\">panel page | level: {{ i }}</mat-option>\\n </mat-select>\\n </mat-form-field>\\n <mat-form-field *ngIf=\\\"panels.length > 0\\\">\\n <mat-select required formControlName=\\\"panel\\\">\\n <mat-option *ngFor=\\\"let p of (panels$ | async); let i = index\\\" [value]=\\\"i\\\">panel | {{ i }}</mat-option>\\n </mat-select>\\n </mat-form-field>\\n <mat-form-field *ngIf=\\\"panes.length > 0\\\">\\n <mat-select required formControlName=\\\"pane\\\">\\n <mat-option *ngFor=\\\"let p of (panes$ | async); let i = index\\\" [value]=\\\"i\\\">pane | {{ i }}</mat-option>\\n </mat-select>\\n </mat-form-field>\\n <druid-panels-panelpage-linkedlist *ngIf=\\\"nested\\\" formControlName=\\\"nested\\\" [panelPages]=\\\"nested\\\"></druid-panels-panelpage-linkedlist>\\n</div>\", dependencies: [{ kind: \"directive\", type: i3.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i3.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i1$1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1$1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1$1.RequiredValidator, selector: \":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]\", inputs: [\"required\"] }, { kind: \"directive\", type: i1$1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1$1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: i4.MatLegacyOption, selector: \"mat-option\", exportAs: [\"matOption\"] }, { kind: \"component\", type: i5.MatLegacyFormField, selector: \"mat-form-field\", inputs: [\"color\", \"appearance\", \"hideRequiredMarker\", \"hintLabel\", \"floatLabel\"], exportAs: [\"matFormField\"] }, { kind: \"component\", type: i6.MatLegacySelect, selector: \"mat-select\", inputs: [\"disabled\", \"disableRipple\", \"tabIndex\"], exportAs: [\"matSelect\"] }, { kind: \"component\", type: PanelPageLinkedlistComponent, selector: \"druid-panels-panelpage-linkedlist\", inputs: [\"panelPages\", \"panels\", \"panes\"] }, { kind: \"pipe\", type: i3.AsyncPipe, name: \"async\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelPageLinkedlistComponent, decorators: [{\n type: Component,\n args: [{ selector: 'druid-panels-panelpage-linkedlist', providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => PanelPageLinkedlistComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => PanelPageLinkedlistComponent),\n multi: true\n },\n ], template: \"<div [formGroup]=\\\"formGroup\\\">\\n <mat-form-field *ngIf=\\\"panelPages.length > 0\\\">\\n <mat-select required formControlName=\\\"panelPage\\\">\\n <mat-option *ngFor=\\\"let p of (panelPages$ | async); let i = index\\\" [value]=\\\"i\\\">panel page | level: {{ i }}</mat-option>\\n </mat-select>\\n </mat-form-field>\\n <mat-form-field *ngIf=\\\"panels.length > 0\\\">\\n <mat-select required formControlName=\\\"panel\\\">\\n <mat-option *ngFor=\\\"let p of (panels$ | async); let i = index\\\" [value]=\\\"i\\\">panel | {{ i }}</mat-option>\\n </mat-select>\\n </mat-form-field>\\n <mat-form-field *ngIf=\\\"panes.length > 0\\\">\\n <mat-select required formControlName=\\\"pane\\\">\\n <mat-option *ngFor=\\\"let p of (panes$ | async); let i = index\\\" [value]=\\\"i\\\">pane | {{ i }}</mat-option>\\n </mat-select>\\n </mat-form-field>\\n <druid-panels-panelpage-linkedlist *ngIf=\\\"nested\\\" formControlName=\\\"nested\\\" [panelPages]=\\\"nested\\\"></druid-panels-panelpage-linkedlist>\\n</div>\" }]\n }], ctorParameters: function () { return [{ type: i1$1.UntypedFormBuilder }, { type: PanelContentHandler }]; }, propDecorators: { panelPages: [{\n type: Input\n }], panels: [{\n type: Input\n }], panes: [{\n type: Input\n }] } });\n\nclass PanelSelectorComponent {\n // private contentPlugin: ContentPlugin;\n constructor(\n // @Inject(CONTENT_PLUGIN) contentPlugins: Array<ContentPlugin>,\n siteName, bottomSheetRef, handler, dialog, fb, es) {\n this.siteName = siteName;\n this.bottomSheetRef = bottomSheetRef;\n this.handler = handler;\n this.dialog = dialog;\n this.fb = fb;\n this.selectedIndex = 0;\n this.panelPagesService = es.getEntityCollectionService('PanelPage');\n this.panelPageListItemsService = es.getEntityCollectionService('PanelPageListItem');\n // this.contentPlugin = contentPlugins.find(p => p.name === 'panel');\n }\n ngOnInit() {\n }\n onNewSelect() {\n const name = uuid.v4();\n const newPanel = new PanelPage({ id: undefined, layoutType: 'split', displayType: 'page', site: this.siteName, gridItems: [], panels: [], layoutSetting: new LayoutSetting(), rowSettings: [] });\n this.panelFormGroup.get('panes').push(this.fb.group({\n contentPlugin: 'panel',\n name: name,\n label: name,\n rule: new UntypedFormControl(''),\n settings: this.fb.array(this.handler.buildSettings(newPanel).map(s => this.convertToGroup(s)))\n }));\n this.bottomSheetRef.dismiss();\n }\n onLinkSelect() {\n this.selectedIndex = 1;\n this.panels$ = this.panelPageListItemsService.getWithQuery(`site=${encodeURIComponent(this.siteName)}`);\n }\n onEmbedSelect() {\n const name = uuid.v4();\n this.panelFormGroup.get('panes').push(this.fb.group({\n contentPlugin: 'panel',\n name: name,\n label: name,\n rule: new UntypedFormControl(''),\n locked: new UntypedFormControl(true),\n settings: this.fb.array([])\n }));\n this.bottomSheetRef.dismiss();\n }\n onItemSelect(panel) {\n const name = uuid.v4();\n //this.panelPagesService.getByKey(panel).subscribe(p => {\n //this.dialog.open(this.contentPlugin.editorComponent, { data: { panelFormGroup: this.panelFormGroup, pane: undefined, paneIndex: undefined, panelPage: p } });\n this.panelFormGroup.get('panes').push(this.fb.group({\n contentPlugin: 'panel',\n name: name,\n label: name,\n rule: new UntypedFormControl(''),\n linkedPageId: new UntypedFormControl(panel, Validators.required),\n locked: new UntypedFormControl(true),\n // settings: this.fb.array(this.handler.buildSettings(p).map(s => this.convertToGroup(s)))\n settings: this.fb.array([])\n }));\n this.bottomSheetRef.dismiss();\n //});\n }\n convertToGroup(setting) {\n const fg = this.fb.group({\n name: new UntypedFormControl(setting.name, Validators.required),\n type: new UntypedFormControl(setting.type, Validators.required),\n displayName: new UntypedFormControl(setting.displayName, Validators.required),\n value: new UntypedFormControl(setting.value, Validators.required),\n computedValue: new UntypedFormControl(setting.value, Validators.required),\n attributes: new UntypedFormArray([])\n });\n if (setting.attributes && setting.attributes.length > 0) {\n setting.attributes.forEach(s => {\n fg.get('attributes').push(this.convertToGroup(s));\n });\n }\n return fg;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelSelectorComponent, deps: [{ token: SITE_NAME }, { token: i1$2.MatBottomSheetRef }, { token: PanelContentHandler }, { token: i3$1.MatLegacyDialog }, { token: i1$1.UntypedFormBuilder }, { token: i1$3.EntityServices }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: PanelSelectorComponent, selector: \"classifieds-ui-panel-selector\", inputs: { panelFormGroup: \"panelFormGroup\" }, ngImport: i0, template: \"<mat-tab-group mat-align-tabs=\\\"start\\\" [selectedIndex]=\\\"selectedIndex\\\">\\n <mat-tab label=\\\"Type\\\">\\n <mat-nav-list>\\n <a mat-list-item mat-list-item (click)=\\\"onNewSelect()\\\">New Panel</a>\\n <a mat-list-item mat-list-item (click)=\\\"onLinkSelect()\\\">Link Panel</a>\\n <a mat-list-item mat-list-item (click)=\\\"onEmbedSelect()\\\">Embed Panel</a>\\n </mat-nav-list>\\n </mat-tab>\\n <mat-tab label=\\\"Search\\\">\\n <ng-template matTabContent>\\n <mat-nav-list>\\n <a *ngFor=\\\"let panel of (panels$ | async)\\\" mat-list-item mat-list-item (click)=\\\"onItemSelect(panel.id)\\\">\\n <span mat-line>{{ panel.title }} [{{ panel.id }}]</span>\\n </a>\\n </mat-nav-list>\\n </ng-template>\\n </mat-tab>\\n</mat-tab-group>\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i3.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i7.MatLine, selector: \"[mat-line], [matLine]\" }, { kind: \"component\", type: i8.MatLegacyNavList, selector: \"mat-nav-list\", inputs: [\"disableRipple\", \"disabled\"], exportAs: [\"matNavList\"] }, { kind: \"component\", type: i8.MatLegacyListItem, selector: \"mat-list-item, a[mat-list-item], button[mat-list-item]\", inputs: [\"disableRipple\", \"disabled\"], exportAs: [\"matListItem\"] }, { kind: \"component\", type: i9.MatLegacyTabGroup, selector: \"mat-tab-group\", inputs: [\"color\", \"disableRipple\"], exportAs: [\"matTabGroup\"] }, { kind: \"component\", type: i9.MatLegacyTab, selector: \"mat-tab\", inputs: [\"disabled\"], exportAs: [\"matTab\"] }, { kind: \"directive\", type: i9.MatLegacyTabContent, selector: \"[matTabContent]\" }, { kind: \"pipe\", type: i3.AsyncPipe, name: \"async\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelSelectorComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-panel-selector', template: \"<mat-tab-group mat-align-tabs=\\\"start\\\" [selectedIndex]=\\\"selectedIndex\\\">\\n <mat-tab label=\\\"Type\\\">\\n <mat-nav-list>\\n <a mat-list-item mat-list-item (click)=\\\"onNewSelect()\\\">New Panel</a>\\n <a mat-list-item mat-list-item (click)=\\\"onLinkSelect()\\\">Link Panel</a>\\n <a mat-list-item mat-list-item (click)=\\\"onEmbedSelect()\\\">Embed Panel</a>\\n </mat-nav-list>\\n </mat-tab>\\n <mat-tab label=\\\"Search\\\">\\n <ng-template matTabContent>\\n <mat-nav-list>\\n <a *ngFor=\\\"let panel of (panels$ | async)\\\" mat-list-item mat-list-item (click)=\\\"onItemSelect(panel.id)\\\">\\n <span mat-line>{{ panel.title }} [{{ panel.id }}]</span>\\n </a>\\n </mat-nav-list>\\n </ng-template>\\n </mat-tab>\\n</mat-tab-group>\\n\" }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [SITE_NAME]\n }] }, { type: i1$2.MatBottomSheetRef }, { type: PanelContentHandler }, { type: i3$1.MatLegacyDialog }, { type: i1$1.UntypedFormBuilder }, { type: i1$3.EntityServices }]; }, propDecorators: { panelFormGroup: [{\n type: Input\n }] } });\n\nclass PanelEditorComponent {\n constructor() { }\n ngOnInit() {\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelEditorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: PanelEditorComponent, selector: \"classifieds-ui-panel-editor\", ngImport: i0, template: \"<p>panel-editor works!</p>\\n\", styles: [\"\"] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelEditorComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-panel-editor', template: \"<p>panel-editor works!</p>\\n\" }]\n }], ctorParameters: function () { return []; } });\n\nclass PanelPageState {\n constructor(data) {\n this.panels = [];\n if (data) {\n this.id = data.id;\n if (data.panels !== undefined && Array.isArray(data.panels)) {\n this.panels = data.panels.map(p => new PanelState(p));\n }\n }\n }\n}\nclass PanelState {\n constructor(data) {\n this.panes = [];\n if (data) {\n if (data.panes !== undefined && Array.isArray(data.panes)) {\n this.panes = data.panes.map(p => new PaneState(p));\n }\n }\n }\n}\nclass PaneState {\n constructor(data) {\n if (data) {\n if (data.state !== undefined) {\n this.state = new AttributeValue(data.state);\n }\n if (data.nestedPage !== undefined && data.nestedPage !== null) {\n this.nestedPage = new PanelPageState(data.nestedPage);\n }\n }\n }\n}\n\nclass DatasourceContentHandler {\n constructor(siteName, panelHandler, attributeSerializer, rulesResolver, dpm, datasourceEvalutator) {\n this.siteName = siteName;\n this.panelHandler = panelHandler;\n this.attributeSerializer = attributeSerializer;\n this.rulesResolver = rulesResolver;\n this.dpm = dpm;\n this.datasourceEvalutator = datasourceEvalutator;\n }\n handleFile(file) {\n return of([]);\n }\n handlesType(type) {\n return false;\n }\n implementsRendererOverride() {\n return true;\n }\n hasRendererOverride(settings) {\n return of(false);\n }\n isDynamic(settings) {\n return true;\n }\n isData(settings) {\n return true;\n }\n fetchDynamicData(settings, metadata) {\n const dataPanes = metadata.has('dataPanes') ? new Map(metadata.get('dataPanes').map(p => [p.name, p])) : new Map([]);\n const datasources = new Map((Array.from(dataPanes).map(([k, v]) => [k, new Datasource(this.attributeSerializer.deserializeAsObject(v.settings))])));\n return this.toObject(settings).pipe(switchMap(ds => this.datasourceEvalutator.evalDatasource({ datasource: ds, metadata, datasources })));\n /*return this.toObject(settings).pipe(\n switchMap(ds => this.dpm.getPlugin(ds.plugin).pipe(\n map<DatasourcePlugin<string>, [Datasource, DatasourcePlugin<string>]>(p => [ds, p])\n )),\n switchMap(([ds, p]) => p.fetch({ settings: ds.settings, metadata, datasource: ds }).pipe(\n map<Dataset, [Datasource, Dataset]>(d => [ds, d])\n )),\n switchMap(([ds, dataset]) =>\n forkJoin(\n ds.renderer.bindings.reduce<Array<Observable<Datasource>>>((p, c) => [ ...p, ...(dataPanes.has(c.id) ? [ this.toObject(dataPanes.get(c.id).settings) ] : []) ], [])\n ).pipe(\n switchMap(datasources => datasources.reduce<Observable<Dataset>>((p, c) => p.pipe(\n switchMap<Dataset, Observable<[DatasourcePlugin<string>, Dataset, Datasource]>>(dataset2 => this.dpm.getPlugin(c.plugin).pipe(\n map(dsp => [dsp, dataset2, c])\n )),\n switchMap(([dsp, dataset2, nestedDatasource]) => dsp.fetch({ settings: c.settings, dataset: dataset2, metadata, datasource: nestedDatasource }))\n ), of(dataset))),\n map(dataset => dataset),\n defaultIfEmpty(dataset)\n )\n )\n );*/\n }\n buildDynamicItems(settings, metadata) {\n const dataPanes = new Map(metadata.get('dataPanes').map(p => [p.name, p]));\n return this.fetchDynamicData(settings, metadata).pipe(switchMap(dataset => this.toObject(settings).pipe(map(ds => [ds, dataset]))), switchMap(([ds, dataset]) => this.getBindings(settings, 'pane').pipe(map(bindings => [ds, dataset, bindings]))), switchMap(([ds, dataset, bindings]) => iif(() => dataset.results.length !== 0 && bindings.length > 0, forkJoin(dataset.results.map(row => forkJoin(bindings.filter(b => !dataPanes.has(b.id)).map(binding => of(metadata.get('panes').find(p => p.name === binding.id)).pipe(switchMap(pane => iif(() => pane && pane.rule && pane.rule !== null && pane.rule.condition !== '', pane ? this.rulesResolver.evaluate(pane.rule, [...metadata.get('contexts'), ...(pane.contexts !== undefined ? pane.contexts : []), new InlineContext({ name: \"_root\", adaptor: 'data', data: row })]).pipe(map(res => [pane, res])) : of([pane, false]), of(false).pipe(map(b => [pane, b])))), filter(([_, res]) => res), map(([pane, _]) => pane.name), defaultIfEmpty(binding.id)))).pipe(map(groups => groups.reduce((p, c) => [...p, c], []))))).pipe(map(groups => [ds, dataset, groups])), new Observable(obs => {\n obs.next([ds, dataset, []]);\n obs.complete();\n }))), map(([_, dataset, paneMappings]) => dataset.results.reduce((p, row, rowIndex) => [...p, ...(paneMappings[rowIndex] ? paneMappings[rowIndex].map(bId => new Pane({ ...metadata.get('panes').find(p => p.name === bId), rule: undefined, label: uuid.v4(), contexts: [...metadata.get('contexts'), new InlineContext({ name: \"_root\", adaptor: 'data', data: row })] })) : [])], [])), map(panes => new Panel({ stylePlugin: undefined, settings: [], panes, columnSetting: new LayoutSetting() })), map(panel => this.panelHandler.buildSettings(new PanelPage({ id: undefined, layoutType: 'grid', displayType: 'page', site: this.siteName, gridItems: [], layoutSetting: new LayoutSetting(), rowSettings: [], panels: [panel] }))), map(panelSettings => panelSettings.find(s => s.name === 'panels').attributes[0].attributes.find(s => s.name === 'panes').attributes));\n }\n getBindings(settings, type, metadata) {\n const dataPanes = metadata ? new Map(metadata.get('dataPanes').map(p => [p.name, p])) : new Map();\n if (type === 'context') {\n return this.toObject(settings).pipe(map(ds => [ds, ds.params ? ds.params.reduce((p, c) => ([...p, ...(c.mapping.type === 'form' ? [new ContentBinding({ id: `form__${c.mapping.value.split('.', 2)[0].trim()}`, type: 'context' })] : [])]), []) : []]), switchMap(([ds, bindings]) => this.dpm.getPlugin(ds.plugin).pipe(switchMap(dsp => dsp.getBindings({ settings: ds.settings, metadata }).pipe(map(bindings => [ds, bindings]))))), switchMap(([ds, bindings]) => forkJoin(ds.renderer.bindings.reduce((p, c) => [...p, ...(dataPanes.has(c.id) ? [this.toObject(dataPanes.get(c.id).settings)] : [])], [])).pipe(switchMap(datasources => forkJoin(datasources.map(d => this.dpm.getPlugin(d.plugin).pipe(switchMap(dsp => dsp.getBindings({ settings: d.settings, metadata }))))).pipe(map(dsBindings => dsBindings.reduce((p, c) => [...p, ...c], bindings)), defaultIfEmpty(bindings))), defaultIfEmpty(bindings))));\n }\n else {\n return this.toObject(settings).pipe(switchMap(ds => iif(() => ds.renderer.type === type, of(ds.renderer.bindings), of([]))));\n }\n }\n toObject(settings) {\n return of(this.attributeSerializer.deserializeAsObject(settings));\n }\n buildSettings(rest) {\n return this.attributeSerializer.serialize(rest, 'root').attributes;\n }\n getRenderType(settings) {\n const renderType = [settings.find(s => s.name === 'renderer')].map(r => r.attributes.find(s => s.name === 'type'));\n return renderType.length > 0 ? renderType[0].value : undefined;\n }\n stateDefinition(settings) {\n // What about this?\n return of({ autocomplete: { input: '' }, loading: 'y' });\n }\n editorOptions(settings) {\n return this.toObject(settings).pipe(switchMap(ds => this.dpm.getPlugin(ds && ds.plugin ? ds.plugin : 'data').pipe(map(p => [ds, p]))), switchMap(([ds, p]) => p.editorOptions ? p.editorOptions({ settings: ds && ds.settings ? ds.settings : [] }) : of(undefined)), map(o => new ContentPluginEditorOptions({ fullscreen: o ? o.fullscreen : false })));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DatasourceContentHandler, deps: [{ token: SITE_NAME }, { token: PanelContentHandler }, { token: i1.AttributeSerializerService }, { token: i3$2.RulesResolverService }, { token: i4$1.DatasourcePluginManager }, { token: i4$1.DatasourceEvaluator }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DatasourceContentHandler, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DatasourceContentHandler, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [SITE_NAME]\n }] }, { type: PanelContentHandler }, { type: i1.AttributeSerializerService }, { type: i3$2.RulesResolverService }, { type: i4$1.DatasourcePluginManager }, { type: i4$1.DatasourceEvaluator }]; } });\n\nclass DatasourceEditorComponent {\n constructor(data, dialogRef, fb, attributeSerializer, datasourceHandler) {\n this.data = data;\n this.dialogRef = dialogRef;\n this.fb = fb;\n this.attributeSerializer = attributeSerializer;\n this.datasourceHandler = datasourceHandler;\n this.datasource = new Datasource();\n this.bindableOptions = [];\n this.contexts = [];\n this.formGroup = this.fb.group({\n source: this.fb.control('')\n });\n }\n ngOnInit() {\n const panesArray = this.data.panelFormGroup.get('panes');\n this.bindableOptions = panesArray.controls.reduce((p, c) => (c.get('name').value ? [...p, c.get('name').value] : [...p]), []);\n this.contexts = this.data.contexts.map(c => c.name);\n if (this.data.panelIndex !== undefined && this.data.paneIndex < panesArray.length) {\n const settings = panesArray.at(this.data.paneIndex).get('settings').value.map(s => new AttributeValue(s));\n this.datasourceHandler.toObject(settings).subscribe(ds => {\n this.datasource = ds;\n });\n }\n }\n onSubmit() {\n const sourceSettings = this.attributeSerializer.serialize(this.formGroup.value.source, 'source');\n const paneForm = this.data.panelFormGroup.get('panes').at(this.data.paneIndex);\n if (this.data.paneIndex === undefined) {\n this.data.panelFormGroup.get('panes').push(this.fb.group({\n contentPlugin: 'datasource',\n name: new UntypedFormControl(''),\n label: new UntypedFormControl(''),\n rule: new UntypedFormControl(''),\n settings: this.fb.array(sourceSettings.attributes.map(a => this.attributeSerializer.convertToGroup(a)))\n }));\n console.log(this.data.panelFormGroup.get('panes').value);\n }\n else {\n paneForm.get('settings').clear();\n sourceSettings.attributes.forEach(a => paneForm.get('settings').push(this.attributeSerializer.convertToGroup(a)));\n }\n this.dialogRef.close();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DatasourceEditorComponent, deps: [{ token: MAT_LEGACY_DIALOG_DATA }, { token: i3$1.MatLegacyDialogRef }, { token: i1$1.UntypedFormBuilder }, { token: i1.AttributeSerializerService }, { token: DatasourceContentHandler }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: DatasourceEditorComponent, selector: \"classifieds-ui-datasource-editor\", ngImport: i0, template: \"<form [formGroup]=\\\"formGroup\\\" (ngSubmit)=\\\"onSubmit()\\\">\\n <classifieds-ui-datasource-form formControlName=\\\"source\\\" [bindableOptions]=\\\"bindableOptions\\\" [contexts]=\\\"contexts\\\" [datasource]=\\\"datasource\\\"></classifieds-ui-datasource-form>\\n <button type=\\\"submit\\\">Save</button>\\n</form>\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i1$1.ɵNgNoValidate, selector: \"form:not([ngNoForm]):not([ngNativeValidate])\" }, { kind: \"directive\", type: i1$1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1$1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1$1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1$1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: i4$1.DatasourceFormComponent, selector: \"classifieds-ui-datasource-form\", inputs: [\"bindableOptions\", \"contexts\", \"datasource\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DatasourceEditorComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-datasource-editor', template: \"<form [formGroup]=\\\"formGroup\\\" (ngSubmit)=\\\"onSubmit()\\\">\\n <classifieds-ui-datasource-form formControlName=\\\"source\\\" [bindableOptions]=\\\"bindableOptions\\\" [contexts]=\\\"contexts\\\" [datasource]=\\\"datasource\\\"></classifieds-ui-datasource-form>\\n <button type=\\\"submit\\\">Save</button>\\n</form>\" }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [MAT_LEGACY_DIALOG_DATA]\n }] }, { type: i3$1.MatLegacyDialogRef }, { type: i1$1.UntypedFormBuilder }, { type: i1.AttributeSerializerService }, { type: DatasourceContentHandler }]; } });\n\nconst panelContentPluginFactory = (handler) => {\n return new ContentPlugin({\n id: 'panel',\n title: 'Panel',\n selectionComponent: PanelSelectorComponent,\n editorComponent: PanelEditorComponent,\n renderComponent: undefined,\n handler\n });\n};\nconst datasourceContentPluginFactory = (handler) => {\n return new ContentPlugin({\n id: 'datasource',\n title: 'Datasource',\n selectionComponent: undefined,\n editorComponent: DatasourceEditorComponent,\n renderComponent: undefined,\n handler\n });\n};\nconst panelsBridgeFactory = (es, attributeSerializer) => {\n return new BridgeBuilderPlugin({\n id: 'panels',\n title: 'Panels',\n build: () => {\n PublicApiBridgeService.prototype['writePaneState'] = (f, v) => {\n return new Promise(res => {\n const svc = es.getEntityCollectionService('PanelPageState');\n svc.getByKey(f.id).pipe(catchError(() => of(new PanelPageState({ id: f.id, panels: [] }))), map(p => p === undefined ? new PanelPageState({ id: f.id, panels: [] }) : p), map(p => {\n const state = attributeSerializer.serialize(v, 'root');\n let panelPageState = new PanelPageState({ ...p, panels: [] });\n for (let i = 0; i < (f.panelIndex + 1); i++) {\n panelPageState.panels.push(i < p.panels.length ? new PanelState({ ...p.panels[i], panes: [] }) : new PanelState());\n for (let j = 0; j < (f.paneIndex + 1); j++) {\n if (i === f.panelIndex && j === f.paneIndex) {\n panelPageState.panels[i].panes.push(i < p.panels.length && j < p.panels[i].panes.length ? new PaneState({ ...p.panels[i].panes[j], state }) : new PaneState({ state }));\n }\n else {\n panelPageState.panels[i].panes.push(i < p.panels.length && j < p.panels[i].panes.length ? new PaneState({ ...p.panels[i].panes[j] }) : new PaneState());\n }\n }\n }\n return panelPageState;\n }), switchMap(pps => svc.upsert(pps))).subscribe(pps => {\n res(pps);\n });\n });\n };\n }\n });\n};\nconst panelpageStylesheetToFileCrudAdaptorPluginFactory = (fileService) => {\n return new CrudAdaptorPlugin({\n id: 'panelpagestylesheet_upload',\n title: 'panelpagestylesheet_upload',\n create: ({ object }) => of({ success: false, entity: new File([toCSS(object.styles)], `panelpage__${object.id}.css`, { type: 'text/css' }) }).pipe(switchMap(({ entity }) => fileService.bulkUpload({ files: [entity], fileNameOverride: `panelpage__${object.id}.css` })), map(() => ({ success: true, entity: undefined }))),\n read: ({}) => of({ success: false }),\n update: ({ object }) => of({ success: false, entity: new File([toCSS(object.styles)], `panelpage__${object.id}.css`, { type: 'text/css' }) }).pipe(switchMap(({ entity }) => fileService.bulkUpload({ files: [entity], fileNameOverride: `panelpage__${object.id}.css` })), map(() => ({ success: true, entity: undefined }))),\n delete: ({}) => of({ success: false })\n });\n};\n\nconst loadRestData = createAction('[PageBuilder] Load Rest Data', props());\nconst loadRestDataSuccess = createAction('[PageBuilder] Load Rest Data Success', props());\nconst loadRestDataError = createAction('[PageBuilder] Load Rest Data Error', props());\nconst setPageInfo = createAction('[PageBuilder] Set Page Info', props());\nconst setForm = createAction('[PageBuilder] Set Form', props());\nconst setPage = createAction('[PageBuilder] Set Page', props());\nconst setSelectionPath = createAction('[PageBuilder] Selection Path', props());\n\n/// import { DatasourceApiService } from '../../services/datasource-api.service';\nclass PageBuilderEffects {\n fetchRestdata$(rest) {\n const method = rest.method ? rest.method : 'get';\n switch (method) {\n case 'post':\n case 'POST':\n return of([]).pipe(switchMap(() => this.snippetParserService.parseSnippet({ snippet: rest.body })), switchMap(body => this.datasourceApi.postData({ url: rest.url, body })));\n default:\n return this.datasourceApi.getData(rest.url);\n }\n }\n constructor(actions$, datasourceApi, snippetParserService) {\n this.actions$ = actions$;\n this.datasourceApi = datasourceApi;\n this.snippetParserService = snippetParserService;\n this.loadRestData$ = createEffect(() => this.actions$.pipe(ofType(loadRestData), concatMap(p => this.fetchRestdata$(p.rest).pipe(catchError(() => {\n return [];\n }), map(results => p.rest.renderer !== undefined && p.rest.renderer.query !== undefined && p.rest.renderer.query !== '' ? JSONPath({ path: p.rest.renderer.query, json: results }) : results), map(results => loadRestDataSuccess({ tag: p.tag, data: new Dataset({ results }) }))))));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PageBuilderEffects, deps: [{ token: i1$4.Actions }, { token: i4$1.DatasourceApiService }, { token: i3$3.SnippetParserService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PageBuilderEffects }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PageBuilderEffects, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: i1$4.Actions }, { type: i4$1.DatasourceApiService }, { type: i3$3.SnippetParserService }]; } });\n\nclass PanelPageStateSlice {\n constructor(data) {\n if (data) {\n this.id = data.id;\n this.path = data.path;\n this.realPath = data.realPath;\n this.args = data.args;\n }\n }\n}\n\nconst pageBuilderFeatureKey = 'pageBuilder';\nconst initialState = {\n dataTags: [],\n datasets: [],\n pageInfo: undefined,\n formNames: [],\n forms: [],\n page: undefined,\n selectionPath: []\n};\nconst pageBuilderReducer = createReducer(initialState, on(loadRestDataSuccess, (state, action) => {\n const tagIndex = state.dataTags.findIndex(t => t === action.tag);\n if (tagIndex > -1 && state.forms[tagIndex] !== undefined) {\n // @todo: fix this - causing error - this is why rest was not completing when same tag was used.\n const newState = { ...state };\n newState.datasets[tagIndex].push(action.data);\n return newState;\n }\n else {\n return { ...state, dataTags: [...state.dataTags, action.tag], datasets: [...state.datasets, [action.data]] };\n }\n}), on(setForm, (state, action) => {\n const nameIndex = state.formNames.findIndex(n => n === action.name);\n if (nameIndex > -1 && state.forms[nameIndex] !== undefined) {\n return { ...state, forms: state.forms.map((f, i) => i === nameIndex ? action.form : f) };\n }\n else {\n return { ...state, formNames: [...state.formNames, action.name], forms: [...state.forms, action.form] };\n }\n}), on(setPageInfo, (state, action) => {\n return ({ ...state, pageInfo: action.info !== undefined ? new PanelPageStateSlice(action.info) : undefined });\n}), on(setPage, (state, action) => {\n return ({ ...state, page: action.page !== undefined ? new PanelPage(action.page) : undefined });\n}), on(setSelectionPath, (state, action) => {\n return ({ ...state, selectionPath: action.path !== undefined ? action.path : [] });\n}));\nfunction reducer(state, action) {\n return pageBuilderReducer(state, action);\n}\n\nconst STYLE_PLUGIN = new InjectionToken('StylePlugin');\nconst PANELS_SETTINGS = new InjectionToken('PanelsSettings');\n\n// import { PanelsStateContextEditorComponent } from './components/panels-state-context-editor/panels-state-context-editor.component';\nclass PanelsModule {\n constructor(platformId, contentPlugins, panelsSettings, eds, cpm, entityDataService, bpm, es, attributesSerialzer, crud, entityDefinitionService, \n /*ctxm: ContextPluginManager,\n panelsStateContextResolver: PanelsStateContextResolver*/\n crudDataHelper) {\n const entityMetadata = entityMetadataFactory(platformId, panelsSettings);\n eds.registerMetadataMap(entityMetadata);\n entityDataService.registerService('PanelPageState', new NoopDataService('PanelPageState'));\n // Just for testing - data service will be configurable. - different service for separate ops ie. search vs. save\n entityDataService.registerService('PanelPage', new CrudDataService('PanelPage', crud, entityDefinitionService, crudDataHelper));\n entityDataService.registerService('PanelPageListItem', new CrudDataService('PanelPageListItem', crud, entityDefinitionService, crudDataHelper));\n contentPlugins.forEach(p => cpm.register(p));\n bpm.register(panelsBridgeFactory(es, attributesSerialzer));\n // ctxm.register(panelsStateContextFactory(panelsStateContextResolver));\n // console.log('register panel page state');\n // Experimental - form testing\n entityDataService.registerService('PanelPageForm', new CrudDataService('PanelPageForm', crud, entityDefinitionService, crudDataHelper));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelsModule, deps: [{ token: PLATFORM_ID }, { token: CONTENT_PLUGIN }, { token: PANELS_SETTINGS }, { token: i1$3.EntityDefinitionService }, { token: i2.ContentPluginManager }, { token: i1$3.EntityDataService }, { token: i3$4.BridgeBuilderPluginManager }, { token: i1$3.EntityServices }, { token: i1.AttributeSerializerService }, { token: i5$1.CrudAdaptorPluginManager }, { token: i1$3.EntityDefinitionService }, { token: i5$1.CrudDataHelperService }], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelsModule, declarations: [PanelPageLinkedlistComponent, PanelEditorComponent, PanelSelectorComponent, DatasourceEditorComponent], imports: [CommonModule,\n // HttpClientModule,\n FormsModule,\n ReactiveFormsModule, i1$5.StoreFeatureModule, i1$4.EffectsFeatureModule, MaterialModule,\n DatasourceModule,\n AuthModule,\n Aws3Module,\n AwosModule,\n CrudModule], exports: [PanelPageLinkedlistComponent,\n PanelEditorComponent,\n PanelSelectorComponent,\n DatasourceEditorComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelsModule, providers: [\n { provide: PanelContentHandler, useClass: PanelContentHandler },\n //{ provide: PanelContentHandler, useClass: PanelContentHandler },\n { provide: CONTENT_PLUGIN, useFactory: panelContentPluginFactory, multi: true, deps: [PanelContentHandler] },\n { provide: CONTENT_PLUGIN, useFactory: datasourceContentPluginFactory, multi: true, deps: [DatasourceContentHandler] },\n { provide: Pluralizer, useClass: DefaultPluralizer }\n ], imports: [CommonModule,\n // HttpClientModule,\n FormsModule,\n ReactiveFormsModule,\n StoreModule.forFeature(pageBuilderFeatureKey, reducer),\n EffectsModule.forFeature([PageBuilderEffects]),\n MaterialModule,\n DatasourceModule,\n AuthModule,\n Aws3Module,\n AwosModule,\n CrudModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelsModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [PanelPageLinkedlistComponent, PanelEditorComponent, PanelSelectorComponent, DatasourceEditorComponent],\n imports: [\n CommonModule,\n // HttpClientModule,\n FormsModule,\n ReactiveFormsModule,\n StoreModule.forFeature(pageBuilderFeatureKey, reducer),\n EffectsModule.forFeature([PageBuilderEffects]),\n MaterialModule,\n DatasourceModule,\n AuthModule,\n Aws3Module,\n AwosModule,\n CrudModule\n ],\n exports: [\n PanelPageLinkedlistComponent,\n PanelEditorComponent,\n PanelSelectorComponent,\n DatasourceEditorComponent\n ],\n providers: [\n { provide: PanelContentHandler, useClass: PanelContentHandler },\n //{ provide: PanelContentHandler, useClass: PanelContentHandler },\n { provide: CONTENT_PLUGIN, useFactory: panelContentPluginFactory, multi: true, deps: [PanelContentHandler] },\n { provide: CONTENT_PLUGIN, useFactory: datasourceContentPluginFactory, multi: true, deps: [DatasourceContentHandler] },\n { provide: Pluralizer, useClass: DefaultPluralizer }\n ]\n }]\n }], ctorParameters: function () { return [{ type: Object, decorators: [{\n type: Inject,\n args: [PLATFORM_ID]\n }] }, { type: Array, decorators: [{\n type: Inject,\n args: [CONTENT_PLUGIN]\n }] }, { type: PanelsSettings, decorators: [{\n type: Inject,\n args: [PANELS_SETTINGS]\n }] }, { type: i1$3.EntityDefinitionService }, { type: i2.ContentPluginManager }, { type: i1$3.EntityDataService }, { type: i3$4.BridgeBuilderPluginManager }, { type: i1$3.EntityServices }, { type: i1.AttributeSerializerService }, { type: i5$1.CrudAdaptorPluginManager }, { type: i1$3.EntityDefinitionService }, { type: i5$1.CrudDataHelperService }]; } });\n\nclass PanelPageSelector {\n constructor(data) {\n if (data) {\n this.panelPage = data.panelPage;\n if (data.panel !== undefined && data.panel !== null) {\n this.panel = data.panel;\n }\n if (data.pane !== undefined && data.pane !== null) {\n this.pane = data.pane;\n }\n if (data.nested !== undefined && data.nested !== null && typeof (data.nested) === 'object') {\n this.nested = new PanelPageSelector(data.nested);\n }\n }\n }\n}\n\nclass LayoutEditorBaseComponent {\n get gridItems() {\n return [];\n }\n constructor(controlContainer) {\n this.controlContainer = controlContainer;\n this.savable = true;\n this.nested = false;\n this.dashboard = [];\n this.layoutSetting = new LayoutSetting();\n this.rowSettings = [];\n this.ancestory = [];\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: LayoutEditorBaseComponent, deps: [{ token: i1$1.ControlContainer }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: LayoutEditorBaseComponent, selector: \"classifieds-ui-layout-editor-base\", inputs: { savable: \"savable\", nested: \"nested\", editor: \"editor\", dashboard: \"dashboard\", layoutSetting: \"layoutSetting\", rowSettings: \"rowSettings\", columnSettings: \"columnSettings\", editablePaneTpl: \"editablePaneTpl\", extraActionsAreaTmpl: \"extraActionsAreaTmpl\", contextsMenuTpl: \"contextsMenuTpl\", ancestory: \"ancestory\" }, ngImport: i0, template: '', isInline: true }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: LayoutEditorBaseComponent, decorators: [{\n type: Component,\n args: [{\n selector: 'classifieds-ui-layout-editor-base',\n template: ''\n }]\n }], ctorParameters: function () { return [{ type: i1$1.ControlContainer }]; }, propDecorators: { savable: [{\n type: Input\n }], nested: [{\n type: Input\n }], editor: [{\n type: Input\n }], dashboard: [{\n type: Input\n }], layoutSetting: [{\n type: Input\n }], rowSettings: [{\n type: Input\n }], columnSettings: [{\n type: Input\n }], editablePaneTpl: [{\n type: Input\n }], extraActionsAreaTmpl: [{\n type: Input\n }], contextsMenuTpl: [{\n type: Input\n }], ancestory: [{\n type: Input\n }] } });\n\nclass LayoutRendererBaseComponent {\n get columnSettings() {\n const settings = this.panelPage ? this.panelPage.panels.reduce((p, c) => [...p, new LayoutSetting(c.columnSetting)], []) : [];\n return settings;\n }\n constructor(controlContainer) {\n this.controlContainer = controlContainer;\n this.displayMainControls = false;\n this.displayItemHeader = false;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: LayoutRendererBaseComponent, deps: [{ token: i1$1.ControlContainer, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: LayoutRendererBaseComponent, selector: \"classifieds-ui-layout-renderer-base\", inputs: { panelPage: \"panelPage\", displayMainControls: \"displayMainControls\", displayItemHeader: \"displayItemHeader\", renderPanelTpl: \"renderPanelTpl\" }, ngImport: i0, template: '', isInline: true }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: LayoutRendererBaseComponent, decorators: [{\n type: Component,\n args: [{\n selector: 'classifieds-ui-layout-renderer-base',\n template: ''\n }]\n }], ctorParameters: function () { return [{ type: i1$1.ControlContainer, decorators: [{\n type: Optional\n }] }]; }, propDecorators: { panelPage: [{\n type: Input\n }], displayMainControls: [{\n type: Input\n }], displayItemHeader: [{\n type: Input\n }], renderPanelTpl: [{\n type: Input\n }] } });\n\nclass PanelStyleRendererBaseComponent {\n constructor() {\n this.settings = [];\n this.panes = [];\n this.originMappings = [];\n this.ancestory = [];\n }\n mergeContexts(contexts) {\n if (contexts === undefined && this.contexts === undefined) {\n return undefined;\n }\n else if (contexts !== undefined && this.contexts !== undefined) {\n return [...contexts, ...this.contexts];\n }\n else if (contexts !== undefined) {\n return contexts;\n }\n else {\n return this.contexts;\n }\n //return [ ...( this.contexts !== undefined ? this.contexts.map(c => new InlineContext(c)) : [] ), ...( contexts !== undefined ? contexts.map(c => new InlineContext(c)) : [] ) ];\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelStyleRendererBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: PanelStyleRendererBaseComponent, selector: \"classifieds-ui-panel-style-renderer-base\", inputs: { settings: \"settings\", panes: \"panes\", originPanes: \"originPanes\", originMappings: \"originMappings\", contexts: \"contexts\", ancestory: \"ancestory\" }, ngImport: i0, template: '', isInline: true }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelStyleRendererBaseComponent, decorators: [{\n type: Component,\n args: [{\n selector: 'classifieds-ui-panel-style-renderer-base',\n template: ''\n }]\n }], propDecorators: { settings: [{\n type: Input\n }], panes: [{\n type: Input\n }], originPanes: [{\n type: Input\n }], originMappings: [{\n type: Input\n }], contexts: [{\n type: Input\n }], ancestory: [{\n type: Input\n }] } });\n\nclass PanelsLoaderService {\n get panelPageService() {\n return this.es.getEntityCollectionService('PanelPage');\n }\n constructor(es, panelHandler) {\n this.es = es;\n this.panelHandler = panelHandler;\n }\n reducePage(pp) {\n return pp.panels.reduce((p, c, i) => this.reducePanels(p, c, i), []);\n }\n reducePanels(p, c, i) {\n return [...p, ...c.panes.reduce((p2, c2, i2) => this.reducePanes(p2, c2, i2).map(o => o.pipe(map(([i3, pp]) => [i, i3, pp]))), [])];\n }\n reducePanes(p, c, i) {\n return [\n ...p,\n ...(c.contentPlugin === 'panel' ?\n [\n this.nestedPage$(c).pipe(map(pp => [i, pp]))\n ] :\n [])\n ];\n }\n nestedPage$(p) {\n console.log('get nested panel page');\n return p.linkedPageId && p.linkedPageId !== '' ? this.getByKey(p.linkedPageId).pipe(tap(() => console.log(`get(${p.linkedPageId})`))) : this.getEmbedded(p.settings).pipe(tap(() => console.log('toObject()')));\n }\n remapNested(p, nested) {\n nested.forEach(([index1, index2, np]) => {\n p.panels[index1].panes[index2].nestedPage = np;\n });\n }\n getByKey(key) {\n return this.panelPageService.getByKey(key).pipe(map(p => new PanelPage(p)), switchMap(p => iif(() => this.reducePage(p).length > 0, forkJoin(this.reducePage(p)).pipe(tap(nested => this.remapNested(p, nested)), map(() => p)), of(p))));\n }\n getEmbedded(settings) {\n return this.panelHandler.toObject(settings).pipe(map(p => new PanelPage(p)), switchMap(p => iif(() => this.reducePage(p).length > 0, forkJoin(this.reducePage(p)).pipe(tap(nested => this.remapNested(p, nested)), map(() => p)), of(p))));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelsLoaderService, deps: [{ token: i1$3.EntityServices }, { token: PanelContentHandler }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelsLoaderService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelsLoaderService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: i1$3.EntityServices }, { type: PanelContentHandler }]; } });\n\nclass PanelsSelectorService {\n constructor(panelHandler) {\n this.panelHandler = panelHandler;\n }\n rebuildPage(panelPage, path) {\n return new PanelPage({ ...panelPage, panels: this.rebuildPanels(panelPage.panels, [...path]) });\n }\n rebuildPanels(panels, path) {\n return panels.filter((_, i) => this.rebuildCondition(path[0], i)).map(p => new Panel({ ...p, panes: this.rebuildPanes(p.panes, path.slice(1)) }));\n }\n rebuildPanes(panes, path) {\n return panes.filter((_, i) => this.rebuildCondition(path[0], i)).map(p => p.contentPlugin === 'panel' ? new Pane({ ...p, nestedPage: undefined, settings: this.panelHandler.buildSettings(this.rebuildPage(p.nestedPage, path.slice(1))) }) : new Pane({ ...p }));\n }\n rebuildCondition(s, i) {\n return s !== 0 ? s > -1 ? i === (s + (s * -1)) : i !== ((s * -1) + s) : true;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelsSelectorService, deps: [{ token: PanelContentHandler }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelsSelectorService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelsSelectorService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: PanelContentHandler }]; } });\n\nclass PanelStateConverterService {\n constructor(panelHandler) {\n this.panelHandler = panelHandler;\n }\n convertPageToState(pp) {\n return of(new PanelPageState()).pipe(switchMap(() => forkJoin(pp.panels.map(p => this.convertPanelToState(p)))), map(panels => new PanelPageState({ id: pp.id, panels })));\n }\n convertPanelToState(panel) {\n return of(new PanelState()).pipe(switchMap(() => forkJoin(panel.panes.map(p => this.convertPaneToState(p)))), map(panes => new PanelState({ panes })));\n }\n convertPaneToState(pane) {\n return of(new PaneState()).pipe(switchMap(state => iif(() => this.hasNestedPanelPage(pane), this.panelHandler.toObject(pane.settings).pipe(switchMap(panelPage => this.convertPageToState(panelPage)), map(nestedPage => new PaneState({ state: new AttributeValue(), nestedPage }))), of(state))));\n }\n hasNestedPanelPage(pane) {\n return pane.contentPlugin === 'panel' && (pane.linkedPageId === undefined || pane.linkedPageId === null || pane.linkedPageId === '');\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelStateConverterService, deps: [{ token: PanelContentHandler }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelStateConverterService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelStateConverterService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: PanelContentHandler }]; } });\n\nclass PanelsWalkerService {\n constructor(panelsLoaderService) {\n this.panelsLoaderService = panelsLoaderService;\n }\n walkPageHierarchy({ panelPage, visitorFunc, defaultv, ancestory }) {\n return new Observable(obs => {\n const len = panelPage.panels.length;\n const visitors$ = [];\n for (let i = 0; i < len; i++) {\n const len2 = panelPage.panels[i].panes.length;\n for (let j = 0; j < len2; j++) {\n visitors$.push(visitorFunc({ pane: panelPage.panels[i].panes[j], panelPage, ancestoryWithSelf: [...ancestory, i, j] }));\n if (panelPage.panels[i].panes[j].nestedPage && panelPage.panels[i].panes[j].nestedPage.panels && panelPage.panels[i].panes[j].nestedPage.panels.length !== 0) {\n visitors$.push(this.walkPageHierarchy({ panelPage, visitorFunc, defaultv, ancestory: [...ancestory, i, j] }));\n }\n else if (panelPage.panels[i].panes[j].contentPlugin === 'panel') {\n // @todo: This is causing infinite recusion on adbrowser page. :( - max call stack exceeded\n /*visitors$.push(this.panelsLoaderService.nestedPage$(panelPage.panels[i].panes[j]).pipe(\n switchMap(nestedPage => this.walkPageHierarchy<T>({ panelPage: nestedPage, visitorFunc, defaultv, ancestory: [ ...ancestory, i, j ] }))\n ));*/\n }\n }\n }\n if (visitors$.length === 0) {\n obs.next(defaultv);\n obs.complete();\n }\n else {\n forkJoin(visitors$).pipe(map(groups => groups.reduce((p, c) => [...p, ...c], defaultv)), tap(values => {\n obs.next(values);\n obs.complete();\n })).subscribe();\n }\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelsWalkerService, deps: [{ token: PanelsLoaderService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelsWalkerService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelsWalkerService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: PanelsLoaderService }]; } });\n\nclass PanelsContextService {\n constructor(panelsVisitorService, cpm) {\n this.panelsVisitorService = panelsVisitorService;\n this.cpm = cpm;\n this.gatherPaneContexts = ({ pane, panelPage, ancestoryWithSelf }) => this.cpm.getPlugin(pane.contentPlugin).pipe(switchMap(p => \n /*p &&*/ p.handler ?\n p.handler.stateDefinition(pane.settings)\n : of({})), map(state => new InlineContext({\n // name: 'panestate' + ancestoryWithSelf.map(i => `[${i}]`).join(''), \n name: 'panestate-' + ancestoryWithSelf.join('-'),\n adaptor: 'data',\n plugin: 'panestate',\n data: {\n id: panelPage ? panelPage.id : '',\n selectionPath: [...ancestoryWithSelf],\n value: state\n }\n })), map(paneContext => [paneContext]), take(1));\n }\n allActivePageContexts({ panelPage, ancestory = [] }) {\n return this.panelsVisitorService.walkPageHierarchy({ panelPage, ancestory, visitorFunc: this.gatherPaneContexts, defaultv: [] });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelsContextService, deps: [{ token: PanelsWalkerService }, { token: i2.ContentPluginManager }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelsContextService, providedIn: \"root\" }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelsContextService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: \"root\"\n }]\n }], ctorParameters: function () { return [{ type: PanelsWalkerService }, { type: i2.ContentPluginManager }]; } });\n\nclass PanelStateArchitectService {\n constructor(attributeSerializer) {\n this.attributeSerializer = attributeSerializer;\n }\n buildToAncestorySpec({ panelPageState, ancestory }) {\n for (let i = 0; i < ancestory[0] + 1; i++) {\n if (panelPageState.panels.length < (i + 1)) {\n panelPageState.panels.push(new PanelState());\n }\n if (i === ancestory[0] && ancestory.length > 1) {\n for (let j = 0; j < ancestory[1] + 1; j++) {\n if (panelPageState.panels[ancestory[0]].panes.length < (j + 1)) {\n panelPageState.panels[ancestory[0]].panes.push(new PaneState({ state: this.attributeSerializer.serialize({}, 'root') }));\n }\n if (j === ancestory[1] && ancestory.length > 2) {\n if (!panelPageState.panels[ancestory[0]].panes[j].nestedPage) {\n panelPageState.panels[ancestory[0]].panes[j].nestedPage = new PanelPageState();\n }\n this.buildToAncestorySpec({ panelPageState: panelPageState.panels[ancestory[0]].panes[j].nestedPage, ancestory: ancestory.slice(2) });\n }\n }\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelStateArchitectService, deps: [{ token: i1.AttributeSerializerService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelStateArchitectService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelStateArchitectService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: i1.AttributeSerializerService }]; } });\n\nclass DynamicPaneService {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DynamicPaneService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DynamicPaneService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DynamicPaneService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }] });\n\nclass StylePluginManager extends BasePluginManager {\n constructor(pcm, moduleLoader) {\n super(pcm, moduleLoader);\n }\n pluginDef() {\n return of(new PluginDef({ name: 'style' }));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: StylePluginManager, deps: [{ token: i1$6.PluginConfigurationManager }, { token: i2$1.ModuleLoaderService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: StylePluginManager, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: StylePluginManager, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: i1$6.PluginConfigurationManager }, { type: i2$1.ModuleLoaderService }]; } });\n\nclass StyleResolverService {\n constructor(spm) {\n this.spm = spm;\n }\n alterResolvedPanes({ panel, resolvedPanes, originMappings /*, resolvedContexts */ }) {\n return of(undefined).pipe(switchMap(() => panel.stylePlugin && panel.stylePlugin !== '' ?\n this.spm.getPlugin(panel.stylePlugin) :\n of(undefined)), switchMap(p => p && p.handler ?\n p.handler.alterResolvedPanes({ settings: panel.settings, resolvedPanes, originMappings /*, resolvedContexts */ }) :\n of({ resolvedPanes, originMappings /*, resolvedContexts */ })));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: StyleResolverService, deps: [{ token: StylePluginManager }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: StyleResolverService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: StyleResolverService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: StylePluginManager }]; } });\n\nclass PanelResolverService {\n // ontentPlugins: Array<ContentPlugin> = [];\n constructor(\n // @Inject(CONTENT_PLUGIN) contentPlugins: Array<ContentPlugin>,\n panelHandler, rulesResolver, inlineContextResolver, cpm) {\n this.panelHandler = panelHandler;\n this.rulesResolver = rulesResolver;\n this.inlineContextResolver = inlineContextResolver;\n this.cpm = cpm;\n // this.contentPlugins = contentPlugins;\n }\n /**\n * @todo: This needs to include looking through the rules. Otherwise contexts\n * only used in rules will not trigger context update chain. A hacky work-around\n * to this is to include the context token being used in a rule as a hidden value\n * part of the content. This works for snippets and for the time being is an ok\n * solution since states are only really relevant to snippets. However, in the long term\n * the disovery needs to include rules.\n */\n usedContexts(panes) {\n return this.panesPlugins(panes).pipe(switchMap(plugins => this.dataPanes(panes).pipe(map(dataPanes => ({ plugins, dataPanes })))), switchMap(({ plugins, dataPanes }) => forkJoin(panes.reduce((p, c) => {\n const plugin = plugins.get(c.contentPlugin);\n if (plugin.handler !== undefined) {\n return [...p, plugin.handler.getBindings(c.settings, 'context', new Map([['dataPanes', dataPanes]])).pipe(map(cb => cb.map(b => b.id)))];\n }\n else {\n return [...p];\n }\n }, [])).pipe(map(v => v.reduce((p, c) => ([...p, ...c]), [])))));\n }\n staticPanes(panes) {\n return this.cpm.getPlugins(panes.reduce((p, c) => {\n return p.findIndex(cp => cp === c.contentPlugin) === -1 ? [...p, c.contentPlugin] : [...p];\n }, [])).pipe(map(plugins => panes.filter(p => plugins.get(p.contentPlugin).handler === undefined || !plugins.get(p.contentPlugin).handler.isDynamic(p.settings))));\n }\n dataPanes(panes) {\n return this.cpm.getPlugins(panes.reduce((p, c) => {\n return p.findIndex(cp => cp === c.contentPlugin) === -1 ? [...p, c.contentPlugin] : [...p];\n }, [])).pipe(map(plugins => panes.filter(p => plugins.get(p.contentPlugin).handler !== undefined && plugins.get(p.contentPlugin).handler.isData(p.settings))));\n }\n panesPlugins(panes) {\n return this.cpm.getPlugins(panes.reduce((p, c) => {\n return p.findIndex(cp => cp === c.contentPlugin) === -1 ? [...p, c.contentPlugin] : [...p];\n }, []));\n }\n resolvePanes({ panes, contexts, resolvedContext }) {\n /*const staticPanes = panes.reduce<Array<Pane>>((p, c) => {\n const plugin = this.contentPlugins.find(cp => cp.name === c.contentPlugin);\n if(plugin.handler === undefined || !plugin.handler.isDynamic(c.settings)) {\n return [ ...p, c ];\n } else {\n return [ ...p ];\n }\n }, []);*/\n console.log('resolve panes');\n return this.panesPlugins(panes).pipe(switchMap(plugins => forkJoin(panes.reduce((p, c) => {\n const plugin = plugins.get(c.contentPlugin);\n if ( /*plugin &&*/plugin.handler !== undefined) {\n return [...p, plugin.handler.getBindings(c.settings, 'pane').pipe(map(c => c.map(c => c.id)))];\n }\n else {\n return [...p, of([])];\n }\n }, []))))\n /*return forkJoin(panes.reduce<Array<Observable<Array<string>>>>((p, c) => {\n const plugin = this.contentPlugins.find(cp => cp.name === c.contentPlugin);\n if(plugin.handler !== undefined) {\n return [ ...p, plugin.handler.getBindings(c.settings, 'pane').pipe(\n map(c => c.map(c => c.id))\n ) ];\n } else {\n return [ ...p, of([])];\n }\n }, []))*/ .pipe(map(groups => groups.reduce((p, c) => [...p, ...c], [])), switchMap(bindings => this.panesPlugins(panes).pipe(map(plugins => [bindings, plugins]))), switchMap(([bindings, plugins]) => forkJoin(panes.reduce((p, c) => {\n const plugin = plugins.get(c.contentPlugin);\n if ( /*plugin &&*/plugin.handler !== undefined && plugin.handler.isDynamic(c.settings)) {\n // data panes that are used in bindings will not be displayed.\n return [...p, plugin.handler.isData(c.settings) && bindings.findIndex(n => n === c.name) !== -1 ? of([]) : forkJoin([\n this.staticPanes(panes),\n this.dataPanes(panes)\n ]).pipe(switchMap(([staticPanes, dataPanes]) => plugin.handler.buildDynamicItems(c.settings, new Map([...(c.metadata === undefined ? [] : c.metadata), ['tag', uuid.v4()], ['panes', staticPanes], ['dataPanes', dataPanes], ['contexts', contexts !== undefined ? contexts : []]])).pipe(map(items => this.panelHandler.fromPanes(items)), map(panes => this.panelHandler.wrapPanel(panes).panes), take(1))))];\n }\n else if (c.name === '' || bindings.findIndex(n => n === c.name) === -1) {\n return [...p, of([new Pane({ ...c, contexts: [...contexts, ...(c.contexts ? c.contexts : [])] })]).pipe(switchMap(panes => iif(() => panes[0].rule !== undefined && panes[0].rule !== null && panes[0].rule.condition !== '', this.rulesResolver.evaluate(panes[0].rule, [...contexts, ...(c.contexts ? c.contexts : [])]).pipe(map(res => res ? panes : [])), of(panes))))];\n }\n else {\n return [...p];\n }\n }, [])).pipe(switchMap(paneGroups => iif(() => paneGroups.reduce((p, c) => [...p, ...c], []).length === 0, of([paneGroups, []]), forkJoin([\n ...paneGroups.reduce((p, c) => [...p, ...c.map(pa => (pa.contexts && pa.contexts.length !== 0 ? this.inlineContextResolver.resolveAll(pa.contexts).pipe(take(1)) : of({}).pipe(take(1))))], [])\n ]).pipe(map(pc => [paneGroups, pc.map(c => ({ ...c, ...resolvedContext }))])))), \n /*switchMap(paneGroups => paneGroups.reduce((p, c) => [ ...p, ...c ], []).length === 0 ? of([paneGroups,[]]) : forkJoin([\n ...paneGroups.reduce<Array<Observable<any>>>((p, c) => [ ...p, ...c.map(pa => (pa.contexts && pa.contexts.length !== 0 ? this.inlineContextResolver.resolveAll(pa.contexts).pipe(take(1)) : of({}).pipe(take(1))))], [])\n ]).pipe(\n map(pc => [paneGroups, pc.map(c => ({ ...c, ...resolvedContext }))])\n )),*/\n map(([paneGroups, resolvedContexts]) => {\n let resolvedPanes = [];\n let originMappings = [];\n paneGroups.forEach((panes, index) => {\n resolvedPanes = [...(resolvedPanes === undefined ? [] : resolvedPanes), ...panes.map((p, index2) => new Pane({ ...p, resolvedContext: resolvedContexts[resolvedPanes.length + index2] }))];\n originMappings = [...(originMappings ? [] : originMappings), ...panes.map(() => index)];\n });\n return { resolvedPanes, originMappings /*, resolvedContexts */ };\n }))));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelResolverService, deps: [{ token: PanelContentHandler }, { token: i3$2.RulesResolverService }, { token: i3$5.InlineContextResolverService }, { token: i2.ContentPluginManager }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelResolverService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelResolverService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: PanelContentHandler }, { type: i3$2.RulesResolverService }, { type: i3$5.InlineContextResolverService }, { type: i2.ContentPluginManager }]; } });\n\nclass StylePlugin extends Plugin {\n constructor(data) {\n super(data);\n if (data) {\n this.name = this.id;\n this.title = data.title;\n this.editorComponent = data.editorComponent ? data.editorComponent : undefined;\n this.renderComponent = data.renderComponent ? data.renderComponent : undefined;\n if (data.handler) {\n this.handler = data.handler;\n }\n }\n }\n}\n\nclass PaneDatasourceService extends DataSource {\n // private fetchedPages = new Set<number>();\n constructor() {\n super();\n this.pageChange$ = new Subject();\n this.pageSize = 20;\n this.dataStream = new BehaviorSubject([]);\n this.subscription = new Subscription();\n this.lastPage = 0;\n this.paneItems = [];\n }\n set panes(panes) {\n this.paneItems = [...this.paneItems, ...panes];\n // console.log(this.paneItems);\n this.dataStream.next(this.paneItems);\n // this.dataStream.next(panes);\n }\n connect(collectionViewer) {\n this.subscription.add(collectionViewer.viewChange.subscribe(range => {\n const currentPage = Math.ceil((range.end + 1) / this.pageSize);\n if (currentPage > this.lastPage) {\n this.lastPage = currentPage;\n this.pageChange$.next(currentPage);\n }\n }));\n return this.dataStream;\n }\n /*connect(collectionViewer: CollectionViewer): Observable<Array<any>> {\n this.subscription.add(collectionViewer.viewChange.subscribe(range => {\n const startPage = Math.floor(range.start / this.pageSize);\n const endPage = Math.floor((range.end - 1) / this.pageSize);\n for (let i = startPage; i <= endPage; i++) {\n if (this.fetchedPages.has(i)) {\n return;\n }\n console.log(`fetch page ${i}`);\n this.pageChange$.next(i);\n this.fetchedPages.add(i);\n }\n }));\n return this.dataStream;\n }*/\n disconnect(collectionViewer) {\n this.subscription.unsubscribe();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PaneDatasourceService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PaneDatasourceService }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PaneDatasourceService, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return []; } });\n\nconst selectPageBuilderState = createFeatureSelector(pageBuilderFeatureKey);\nconst selectDataset = (tag) => createSelector(selectPageBuilderState, state => {\n const index = state.dataTags.findIndex(t => t === tag);\n if (index > -1) {\n return state.datasets[index][state.datasets[index].length - 1];\n }\n else {\n return undefined;\n }\n});\nconst selectPageInfo = createSelector(selectPageBuilderState, state => state.pageInfo);\nconst selectPage = createSelector(selectPageBuilderState, state => state.page);\nconst selectSelectionPath = createSelector(selectPageBuilderState, state => state.selectionPath);\nconst selectFormNames = createSelector(selectPageBuilderState, state => state.formNames);\nconst selectForms = createSelector(selectPageBuilderState, state => state.forms);\nconst selectForm = createSelector(selectFormNames, selectForms, (names, forms, props) => {\n const index = names.findIndex(n => n === props.name);\n if (index > -1) {\n return forms[index];\n }\n else {\n return undefined;\n }\n});\n/*export const selectForm = () => createSelector(selectPageBuilderState, (, props) => {\n const index = state.formNames.findIndex(n => n === props.name);\n if(index > -1) {\n return state.forms[index];\n } else {\n return undefined;\n }\n});*/\n\nclass PageBuilderFacade {\n constructor(store) {\n this.store = store;\n this.getPageInfo$ = this.store.pipe(select(selectPageInfo));\n this.getPage$ = this.store.pipe(select(selectPage));\n this.getSelectionPath$ = this.store.pipe(select(selectSelectionPath));\n this.getFormNames$ = this.store.pipe(select(selectFormNames));\n this.getForm$ = (name) => this.store.pipe(select(selectForm, { name }));\n }\n loadRestData(tag, rest) {\n this.store.dispatch(loadRestData({ tag, rest }));\n }\n setPageInfo(info) {\n this.store.dispatch(setPageInfo({ info }));\n }\n setPage(page) {\n this.store.dispatch(setPage({ page }));\n }\n setSelectionPath(path) {\n this.store.dispatch(setSelectionPath({ path }));\n }\n setForm(name, form) {\n this.store.dispatch(setForm({ name, form }));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PageBuilderFacade, deps: [{ token: i1$5.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PageBuilderFacade, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PageBuilderFacade, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: i1$5.Store }]; } });\n\nclass PropertiesFormPayload {\n constructor(data) {\n this.readUserIds = [];\n if (data) {\n this.title = data.title;\n this.name = data.name;\n this.path = data.path;\n this.cssFile = data.cssFile;\n if (data.readUserIds) {\n this.readUserIds = data.readUserIds.map(id => id);\n }\n }\n }\n}\nclass PanelPropsFormPayload {\n constructor(data) {\n if (data) {\n this.label = data.label;\n this.name = data.name;\n }\n }\n}\nclass PanePropsFormPayload {\n constructor(data) {\n if (data) {\n this.label = data.label;\n this.name = data.name;\n }\n }\n}\nclass PanelPageForm {\n constructor(data) {\n this.panels = [];\n if (data) {\n this.id = data.id;\n this.name = data.name;\n this.title = data.title;\n this.derivativeId = data.derivativeId;\n if (data.panels) {\n this.panels = data.panels.map(p => new PanelPageFormPanel(p));\n }\n }\n }\n}\nclass PanelPageFormPanel {\n constructor(data) {\n this.panes = [];\n if (data) {\n this.name = data.name;\n this.label = data.label;\n if (data.panes) {\n this.panes = data.panes.map(p => new PanelPageFormPane(p));\n }\n }\n }\n}\nclass PanelPageFormPane {\n constructor(data) {\n this.settings = [];\n if (data) {\n this.name = data.name;\n this.label = data.label;\n this.contentPlugin = data.contentPlugin;\n if (data.settings) {\n this.settings = data.settings.map(s => new AttributeValue(s));\n }\n }\n }\n}\nclass FormDatasource {\n constructor(data) {\n if (data) {\n this.name = data.name;\n this.field = data.field;\n }\n }\n}\n\nclass PaneStateService {\n constructor(pageBuilderFacade, panelStateArchitectService, attributeSerializer, es) {\n this.pageBuilderFacade = pageBuilderFacade;\n this.panelStateArchitectService = panelStateArchitectService;\n this.attributeSerializer = attributeSerializer;\n this.selectEntities = (entities) => entities.entities;\n this.selectById = ({ id }) => createSelector(this.selectEntities, entities => entities[id] ? entities[id] : undefined);\n this.panelPageStateService = es.getEntityCollectionService('PanelPageState');\n }\n mergeState({ state, settings, plugin, ancestory }) {\n return of(state).pipe(switchMap(s => this.pageBuilderFacade.getPageInfo$.pipe(map(p => [s, p]))), switchMap(([s, p]) => plugin.handler.stateDefinition(settings).pipe(map(d => [s, p, d]))), switchMap(([s, p, d]) => this.panelPageStateService.collection$.pipe(select(this.selectById({ id: p.id })), map(ps => [s, new PanelPageState(ps ? ps : { id: p.id, panels: [] }), d]), take(1))), map(([s, ps, d]) => {\n this.panelStateArchitectService.buildToAncestorySpec({ panelPageState: ps, ancestory: [...ancestory] });\n const path = '$.' + ancestory.map((index, i) => `${(i + 1) % 2 === 0 ? 'panes' : (i === 0 ? '' : 'nestedPage.') + 'panels'}[${index}]`).join('.');\n const paneState = JSONPath({ path, json: ps })[0];\n return [s, ps, d, paneState];\n }), tap(([s, _, d, ps2]) => {\n const deserializedState = ps2.state ? ps2.state.root ? this.attributeSerializer.deserialize(ps2.state).root : this.attributeSerializer.deserialize(ps2.state) : {};\n const newState = merge(!deserializedState || Object.keys(deserializedState).length === 0 ? d : deserializedState, s);\n ps2.state = this.attributeSerializer.serialize(newState, 'root');\n }), map(([_, ps, __, ps2]) => ({ paneState: ps2, pageState: ps })));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PaneStateService, deps: [{ token: PageBuilderFacade }, { token: PanelStateArchitectService }, { token: i1.AttributeSerializerService }, { token: i1$3.EntityServices }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PaneStateService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PaneStateService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: PageBuilderFacade }, { type: PanelStateArchitectService }, { type: i1.AttributeSerializerService }, { type: i1$3.EntityServices }]; } });\n\nclass FormService {\n constructor(attributeSerializer) {\n this.attributeSerializer = attributeSerializer;\n }\n serializeForm(form) {\n const len = form.panels.length;\n let value = {};\n for (let i = 0; i < len; i++) {\n const len2 = form.panels[i].panes.length;\n // const dsPanes = form.panels[i].panes.map(p => p.contentPlugin === 'datasource' ? this.attributeSerializer.deserializeAsObject(p.settings) : undefined).filter(s => s !== undefined).map(s => s.settings.renderer.contentBindings.map(b => b.id)).reduce((p, c) => [...p, ...c],[]);\n const dsValues = new Map();\n for (let j = 0; j < len2; j++) {\n const serializedValue = this.serializeFormPane(form.panels[i].panes[j]);\n if (form.panels[i].panes[j].name && form.panels[i].panes[j].name !== null && (value[form.panels[i].panes[j].name] || form.panels[i].panes[j].name === pluralize(form.panels[i].panes[j].name))) {\n if (!dsValues.has(form.panels[i].panes[j].name)) {\n dsValues.set(form.panels[i].panes[j].name, typeof (value[form.panels[i].panes[j].name]) !== 'undefined' ? [value[form.panels[i].panes[j].name]] : []);\n }\n const arrayValues = dsValues.get(form.panels[i].panes[j].name);\n dsValues.set(form.panels[i].panes[j].name, [...arrayValues, serializedValue]);\n }\n else {\n if (form.panels[i].panes[j].name && form.panels[i].panes[j].name !== '') {\n value = { ...value, [form.panels[i].panes[j].name]: serializedValue };\n }\n else {\n value = { ...value, ...serializedValue };\n }\n }\n }\n Array.from(dsValues).forEach(([k, v]) => value[k] = v);\n }\n return value;\n }\n serializeFormPane(pane) {\n if (pane.contentPlugin === 'panel') {\n return this.serializeForm(new PanelPageForm(this.attributeSerializer.deserializeAsObject(pane.settings, true)));\n }\n else {\n const value = this.attributeSerializer.deserializeAsObject(pane.settings, true);\n return value !== undefined ? value.value : undefined;\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormService, deps: [{ token: i1.AttributeSerializerService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: i1.AttributeSerializerService }]; } });\n\nclass FormStateConverterService {\n constructor(attributeSerializer) {\n this.attributeSerializer = attributeSerializer;\n }\n convertPageToForm({ pp, pp2, ancestory, debugPath = [] }) {\n return of(new PanelPageState()).pipe(switchMap(() => forkJoin(pp.panels.map((p, index) => this.convertPanelToForm({ panel: p, panel2: pp2.panels[index], ancestory, debugPath: [...debugPath, `convertPageToForm{ index: ${index} }`] })))), map(panels => new PanelPageForm({ id: pp.id, panels, name: pp2.name, title: pp2.title, derivativeId: '' })));\n }\n convertPanelToForm({ panel, panel2, ancestory, debugPath = [] }) {\n return of(new PanelPageFormPanel()).pipe(switchMap(() => forkJoin(panel.panes.map((p, index) => this.convertPaneToForm({ pane: p, pane2: panel2.panes[index], ancestory, debugPath: [...debugPath, `convertPanelToForm{ index: ${index} }`] })))), map(panes => new PanelPageFormPanel({ panes, name: panel2.name, label: panel2.label })));\n }\n convertPaneToForm({ pane, pane2, ancestory, debugPath = [] }) {\n const value = pane.state.attributes.find(a => a.name === 'value');\n return of(new PanelPageFormPane({ settings: value ? [value] : [], name: pane2.name, label: pane2.label, contentPlugin: pane2.contentPlugin })).pipe(switchMap(form => iif(() => this.hasNestedPanelPage(pane), pane.nestedPage ? this.convertPageToForm({ ancestory, pp: pane.nestedPage, pp2: new PanelPage(this.attributeSerializer.deserializeAsObject(pane2.settings)), debugPath: [...debugPath, `convertPaneToForm`] }).pipe(map(nestedPage => new PanelPageFormPane({ ...form, settings: this.attributeSerializer.serialize(nestedPage, 'root').attributes }))) : of(form), of(form))));\n }\n hasNestedPanelPage(pane) {\n return !!pane.nestedPage;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormStateConverterService, deps: [{ token: i1.AttributeSerializerService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormStateConverterService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormStateConverterService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: i1.AttributeSerializerService }]; } });\n\nclass FormGroupConverterService {\n constructor(attributeSerializer, fb) {\n this.attributeSerializer = attributeSerializer;\n this.fb = fb;\n }\n makeFormGroupFromPage(pp, pp2) {\n return of(this.fb.group({ /*name: this.fb.control(pp.name),*/ panels: this.fb.array([]) })).pipe(switchMap(pageFormGroup => forkJoin(pp.panels.map((p, index) => this.makeFormGroupFromPanel(p, pp2.panels[index]))).pipe(map(panelGroups => ({ panelGroups, pageFormGroup })))), tap(({ panelGroups, pageFormGroup }) => {\n const len = panelGroups.length;\n for (let i = 0; i < len; i++) {\n pageFormGroup.get('panels').push(panelGroups[i]);\n }\n }), map(({ pageFormGroup }) => pageFormGroup));\n }\n makeFormGroupFromPanel(panel, panel2) {\n return of(this.fb.group({ name: this.fb.control(panel.name), panes: this.fb.array([]) })).pipe(switchMap(panelFormGroup => forkJoin(panel.panes.map((p, index) => this.makeFormGroupFromPane(p, panel2.panes[index]))).pipe(map(paneGroups => ({ paneGroups, panelFormGroup })))), tap(({ paneGroups, panelFormGroup }) => {\n const len = paneGroups.length;\n for (let i = 0; i < len; i++) {\n panelFormGroup.get('panes').push(paneGroups[i]);\n }\n }), map(({ panelFormGroup }) => panelFormGroup));\n }\n makeFormGroupFromPane(pane, pane2) {\n const value = pane2 ? pane2.settings.find(a => a.name === 'value') : undefined;\n return of(this.fb.group({ name: this.fb.control(pane.name), contentPlugin: this.fb.control(''), settings: this.fb.array([]) })).pipe(switchMap(paneFormGroup => iif(() => this.hasNestedPanelPage(pane), this.hasNestedPanelPage(pane) ? this.makeFormGroupFromPage(pane.nestedPage, new PanelPageForm(this.attributeSerializer.deserializeAsObject(pane2.settings))).pipe(tap(pageFormGroup => {\n const newGroup = this.attributeSerializer.convertToGroup(this.attributeSerializer.serialize(pageFormGroup.value, 'value').attributes[0]);\n paneFormGroup.get('contentPlugin').setValue('panel');\n paneFormGroup.get('settings').push(newGroup);\n }), map(() => paneFormGroup)) : of(paneFormGroup).pipe(tap(() => {\n if (value) {\n const newGroup = this.attributeSerializer.convertToGroup(value);\n paneFormGroup.get('settings').push(newGroup);\n }\n })), of(paneFormGroup).pipe(tap(() => {\n if (value) {\n const newGroup = this.attributeSerializer.convertToGroup(value);\n paneFormGroup.get('settings').push(newGroup);\n }\n })))));\n }\n hasNestedPanelPage(pane) {\n return !!pane.nestedPage;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormGroupConverterService, deps: [{ token: i1.AttributeSerializerService }, { token: i1$1.UntypedFormBuilder }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormGroupConverterService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormGroupConverterService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: i1.AttributeSerializerService }, { type: i1$1.UntypedFormBuilder }]; } });\n\nclass CssHelperService {\n makeJsonNode() {\n return { attributes: {}, children: {} };\n }\n reduceCss(css, match, matches = true) {\n return css && css.children ? Object.keys(css.children).filter(k => matches ? k.indexOf(match) === 0 : k.indexOf(match) !== 0).reduce((p, c) => ({ ...p, children: { ...p.children, [matches ? c.substr(c.indexOf(match) + match.length).trim() : c]: css.children[c] } }), this.makeJsonNode()) : this.makeJsonNode();\n }\n reduceSelector(css, match, matches = true) {\n return css ? Object.keys(css).filter(k => matches ? k.indexOf(match) === 0 : k.indexOf(match) !== 0).reduce((p, c) => ({ ...p, [matches ? c.substr(c.indexOf(match) + match.length).trim() : c]: css[c] }), {}) : {};\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: CssHelperService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: CssHelperService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: CssHelperService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }] });\n\n/*\n * Public API Surface of panels\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { CssHelperService, DatasourceContentHandler, DatasourceEditorComponent, DynamicPaneService, FormDatasource, FormGroupConverterService, FormService, FormStateConverterService, GridItem, GridLayout, LayoutEditorBaseComponent, LayoutRendererBaseComponent, LayoutSetting, PANELS_SETTINGS, PageBuilderFacade, Pane, PaneDatasourceService, PanePropsFormPayload, PaneState, PaneStateService, Panel, PanelContentHandler, PanelEditorComponent, PanelPage, PanelPageForm, PanelPageFormPane, PanelPageFormPanel, PanelPageLinkedlistComponent, PanelPageListItem, PanelPagePermissions, PanelPageSelector, PanelPageState, PanelPageStateSlice, PanelPropsFormPayload, PanelResolverService, PanelSelectorComponent, PanelState, PanelStateArchitectService, PanelStateConverterService, PanelStyleRendererBaseComponent, PanelsContextService, PanelsLoaderService, PanelsModule, PanelsSelectorService, PanelsSettings, PanelsWalkerService, PropertiesFormPayload, STYLE_PLUGIN, StylePlugin, StylePluginManager, StyleResolverService, initialState, loadRestData, loadRestDataError, loadRestDataSuccess, pageBuilderFeatureKey, reducer, selectDataset, selectForm, selectFormNames, selectForms, selectPage, selectPageBuilderState, selectPageInfo, selectSelectionPath, setForm, setPage, setPageInfo, setSelectionPath };\n","import * as i0 from '@angular/core';\nimport { Directive, Component, EventEmitter, Input, Output, HostListener, HostBinding, Injectable, Self, ContentChildren, ViewChild, NgModule } from '@angular/core';\nimport * as i3 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i1 from '@angular/platform-browser';\n\nclass NgxDropzoneLabelDirective {\n}\nNgxDropzoneLabelDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"13.2.2\", ngImport: i0, type: NgxDropzoneLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });\nNgxDropzoneLabelDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"12.0.0\", version: \"13.2.2\", type: NgxDropzoneLabelDirective, selector: \"ngx-dropzone-label\", ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"13.2.2\", ngImport: i0, type: NgxDropzoneLabelDirective, decorators: [{\n type: Directive,\n args: [{\n selector: 'ngx-dropzone-label'\n }]\n }] });\n\n/**\n * Coerces a data-bound value (typically a string) to a boolean.\n * Taken from https://github.com/angular/components/blob/master/src/cdk/coercion/boolean-property.ts\n */\nfunction coerceBooleanProperty(value) {\n return value != null && `${value}` !== 'false';\n}\n/**\n * Whether the provided value is considered a number.\n * Taken from https://github.com/angular/components/blob/master/src/cdk/coercion/number-property.ts\n */\nfunction coerceNumberProperty(value) {\n // parseFloat(value) handles most of the cases we're interested in (it treats null, empty string,\n // and other non-number values as NaN, where Number just uses 0) but it considers the string\n // '123hello' to be a valid number. Therefore we also check if Number(value) is NaN.\n return (!isNaN(parseFloat(value)) && !isNaN(Number(value))) ? Number(value) : null;\n}\n\nclass NgxDropzoneRemoveBadgeComponent {\n}\nNgxDropzoneRemoveBadgeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"13.2.2\", ngImport: i0, type: NgxDropzoneRemoveBadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });\nNgxDropzoneRemoveBadgeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"12.0.0\", version: \"13.2.2\", type: NgxDropzoneRemoveBadgeComponent, selector: \"ngx-dropzone-remove-badge\", ngImport: i0, template: `\n <svg>\n <line x1=\"0\" y1=\"0\" x2=\"10\" y2=\"10\" />\n <line x1=\"0\" y1=\"10\" x2=\"10\" y2=\"0\" />\n </svg>\n `, isInline: true, styles: [\":host{display:flex;justify-content:center;align-items:center;height:22px;width:22px;position:absolute;top:5px;right:5px;border-radius:50%;background:#bbb;color:#333;cursor:pointer}:host:hover{background:#aeaeae}:host>svg{height:10px;width:10px}:host>svg>line{stroke-width:2px;stroke:#fff}\\n\"] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"13.2.2\", ngImport: i0, type: NgxDropzoneRemoveBadgeComponent, decorators: [{\n type: Component,\n args: [{ selector: 'ngx-dropzone-remove-badge', template: `\n <svg>\n <line x1=\"0\" y1=\"0\" x2=\"10\" y2=\"10\" />\n <line x1=\"0\" y1=\"10\" x2=\"10\" y2=\"0\" />\n </svg>\n `, styles: [\":host{display:flex;justify-content:center;align-items:center;height:22px;width:22px;position:absolute;top:5px;right:5px;border-radius:50%;background:#bbb;color:#333;cursor:pointer}:host:hover{background:#aeaeae}:host>svg{height:10px;width:10px}:host>svg>line{stroke-width:2px;stroke:#fff}\\n\"] }]\n }] });\n\nvar KEY_CODE;\n(function (KEY_CODE) {\n KEY_CODE[KEY_CODE[\"BACKSPACE\"] = 8] = \"BACKSPACE\";\n KEY_CODE[KEY_CODE[\"DELETE\"] = 46] = \"DELETE\";\n})(KEY_CODE || (KEY_CODE = {}));\nclass NgxDropzonePreviewComponent {\n constructor(sanitizer) {\n this.sanitizer = sanitizer;\n this._removable = false;\n /** Emitted when the element should be removed. */\n this.removed = new EventEmitter();\n /** Make the preview item focusable using the tab key. */\n this.tabIndex = 0;\n }\n /** The file to preview. */\n set file(value) { this._file = value; }\n get file() { return this._file; }\n /** Allow the user to remove files. */\n get removable() {\n return this._removable;\n }\n set removable(value) {\n this._removable = coerceBooleanProperty(value);\n }\n keyEvent(event) {\n switch (event.keyCode) {\n case KEY_CODE.BACKSPACE:\n case KEY_CODE.DELETE:\n this.remove();\n break;\n default:\n break;\n }\n }\n /** We use the HostBinding to pass these common styles to child components. */\n get hostStyle() {\n const styles = `\n\t\t\tdisplay: flex;\n\t\t\theight: 140px;\n\t\t\tmin-height: 140px;\n\t\t\tmin-width: 180px;\n\t\t\tmax-width: 180px;\n\t\t\tjustify-content: center;\n\t\t\talign-items: center;\n\t\t\tpadding: 0 20px;\n\t\t\tmargin: 10px;\n\t\t\tborder-radius: 5px;\n\t\t\tposition: relative;\n\t\t`;\n return this.sanitizer.bypassSecurityTrustStyle(styles);\n }\n /** Remove method to be used from the template. */\n _remove(event) {\n event.stopPropagation();\n this.remove();\n }\n /** Remove the preview item (use from component code). */\n remove() {\n if (this._removable) {\n this.removed.next(this.file);\n }\n }\n async readFile() {\n return new Promise((resolve, reject) => {\n const reader = new FileReader();\n reader.onload = e => {\n resolve(e.target.result);\n };\n reader.onerror = e => {\n console.error(`FileReader failed on file ${this.file.name}.`);\n reject(e);\n };\n if (!this.file) {\n return reject('No file to read. Please provide a file using the [file] Input property.');\n }\n reader.readAsDataURL(this.file);\n });\n }\n}\nNgxDropzonePreviewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"13.2.2\", ngImport: i0, type: NgxDropzonePreviewComponent, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component });\nNgxDropzonePreviewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"12.0.0\", version: \"13.2.2\", type: NgxDropzonePreviewComponent, selector: \"ngx-dropzone-preview\", inputs: { file: \"file\", removable: \"removable\" }, outputs: { removed: \"removed\" }, host: { listeners: { \"keyup\": \"keyEvent($event)\" }, properties: { \"style\": \"this.hostStyle\", \"tabindex\": \"this.tabIndex\" } }, ngImport: i0, template: `\n\t\t<ng-content select=\"ngx-dropzone-label\"></ng-content>\n\t\t<ngx-dropzone-remove-badge *ngIf=\"removable\" (click)=\"_remove($event)\">\n\t\t</ngx-dropzone-remove-badge>\n\t`, isInline: true, styles: [\":host{background-image:linear-gradient(to top,#ededed,#efefef,#f1f1f1,#f4f4f4,#f6f6f6)}:host:hover,:host:focus{background-image:linear-gradient(to top,#e3e3e3,#ebeaea,#e8e7e7,#ebeaea,#f4f4f4);outline:0}:host:hover ngx-dropzone-remove-badge,:host:focus ngx-dropzone-remove-badge{opacity:1}:host ngx-dropzone-remove-badge{opacity:0}:host ::ng-deep ngx-dropzone-label{overflow-wrap:break-word}\\n\"], components: [{ type: NgxDropzoneRemoveBadgeComponent, selector: \"ngx-dropzone-remove-badge\" }], directives: [{ type: i3.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"13.2.2\", ngImport: i0, type: NgxDropzonePreviewComponent, decorators: [{\n type: Component,\n args: [{ selector: 'ngx-dropzone-preview', template: `\n\t\t<ng-content select=\"ngx-dropzone-label\"></ng-content>\n\t\t<ngx-dropzone-remove-badge *ngIf=\"removable\" (click)=\"_remove($event)\">\n\t\t</ngx-dropzone-remove-badge>\n\t`, styles: [\":host{background-image:linear-gradient(to top,#ededed,#efefef,#f1f1f1,#f4f4f4,#f6f6f6)}:host:hover,:host:focus{background-image:linear-gradient(to top,#e3e3e3,#ebeaea,#e8e7e7,#ebeaea,#f4f4f4);outline:0}:host:hover ngx-dropzone-remove-badge,:host:focus ngx-dropzone-remove-badge{opacity:1}:host ngx-dropzone-remove-badge{opacity:0}:host ::ng-deep ngx-dropzone-label{overflow-wrap:break-word}\\n\"] }]\n }], ctorParameters: function () { return [{ type: i1.DomSanitizer }]; }, propDecorators: { file: [{\n type: Input\n }], removable: [{\n type: Input\n }], removed: [{\n type: Output\n }], keyEvent: [{\n type: HostListener,\n args: ['keyup', ['$event']]\n }], hostStyle: [{\n type: HostBinding,\n args: ['style']\n }], tabIndex: [{\n type: HostBinding,\n args: ['tabindex']\n }] } });\n\n/**\n * This service contains the filtering logic to be applied to\n * any dropped or selected file. If a file matches all criteria\n * like maximum size or accept type, it will be emitted in the\n * addedFiles array, otherwise in the rejectedFiles array.\n */\nclass NgxDropzoneService {\n parseFileList(files, accept, maxFileSize, multiple) {\n const addedFiles = [];\n const rejectedFiles = [];\n for (let i = 0; i < files.length; i++) {\n const file = files.item(i);\n if (!this.isAccepted(file, accept)) {\n this.rejectFile(rejectedFiles, file, 'type');\n continue;\n }\n if (maxFileSize && file.size > maxFileSize) {\n this.rejectFile(rejectedFiles, file, 'size');\n continue;\n }\n if (!multiple && addedFiles.length >= 1) {\n this.rejectFile(rejectedFiles, file, 'no_multiple');\n continue;\n }\n addedFiles.push(file);\n }\n const result = {\n addedFiles,\n rejectedFiles\n };\n return result;\n }\n isAccepted(file, accept) {\n if (accept === '*') {\n return true;\n }\n const acceptFiletypes = accept.split(',').map(it => it.toLowerCase().trim());\n const filetype = file.type.toLowerCase();\n const filename = file.name.toLowerCase();\n const matchedFileType = acceptFiletypes.find(acceptFiletype => {\n // check for wildcard mimetype (e.g. image/*)\n if (acceptFiletype.endsWith('/*')) {\n return filetype.split('/')[0] === acceptFiletype.split('/')[0];\n }\n // check for file extension (e.g. .csv)\n if (acceptFiletype.startsWith(\".\")) {\n return filename.endsWith(acceptFiletype);\n }\n // check for exact mimetype match (e.g. image/jpeg)\n return acceptFiletype == filetype;\n });\n return !!matchedFileType;\n }\n rejectFile(rejectedFiles, file, reason) {\n const rejectedFile = file;\n rejectedFile.reason = reason;\n rejectedFiles.push(rejectedFile);\n }\n}\nNgxDropzoneService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"13.2.2\", ngImport: i0, type: NgxDropzoneService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\nNgxDropzoneService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"13.2.2\", ngImport: i0, type: NgxDropzoneService });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"13.2.2\", ngImport: i0, type: NgxDropzoneService, decorators: [{\n type: Injectable\n }] });\n\nclass NgxDropzoneComponent {\n constructor(service) {\n this.service = service;\n /** Emitted when any files were added or rejected. */\n this.change = new EventEmitter();\n /** Set the accepted file types. Defaults to '*'. */\n this.accept = '*';\n this._disabled = false;\n this._multiple = true;\n this._maxFileSize = undefined;\n this._expandable = false;\n this._disableClick = false;\n this._processDirectoryDrop = false;\n this._isHovered = false;\n }\n get _hasPreviews() {\n return !!this._previewChildren.length;\n }\n /** Disable any user interaction with the component. */\n get disabled() {\n return this._disabled;\n }\n set disabled(value) {\n this._disabled = coerceBooleanProperty(value);\n if (this._isHovered) {\n this._isHovered = false;\n }\n }\n /** Allow the selection of multiple files. */\n get multiple() {\n return this._multiple;\n }\n set multiple(value) {\n this._multiple = coerceBooleanProperty(value);\n }\n /** Set the maximum size a single file may have. */\n get maxFileSize() {\n return this._maxFileSize;\n }\n set maxFileSize(value) {\n this._maxFileSize = coerceNumberProperty(value);\n }\n /** Allow the dropzone container to expand vertically. */\n get expandable() {\n return this._expandable;\n }\n set expandable(value) {\n this._expandable = coerceBooleanProperty(value);\n }\n /** Open the file selector on click. */\n get disableClick() {\n return this._disableClick;\n }\n set disableClick(value) {\n this._disableClick = coerceBooleanProperty(value);\n }\n /** Allow dropping directories. */\n get processDirectoryDrop() {\n return this._processDirectoryDrop;\n }\n set processDirectoryDrop(value) {\n this._processDirectoryDrop = coerceBooleanProperty(value);\n }\n /** Show the native OS file explorer to select files. */\n _onClick() {\n if (!this.disableClick) {\n this.showFileSelector();\n }\n }\n _onDragOver(event) {\n if (this.disabled) {\n return;\n }\n this.preventDefault(event);\n this._isHovered = true;\n }\n _onDragLeave() {\n this._isHovered = false;\n }\n _onDrop(event) {\n if (this.disabled) {\n return;\n }\n this.preventDefault(event);\n this._isHovered = false;\n // if processDirectoryDrop is not enabled or webkitGetAsEntry is not supported we handle the drop as usual\n if (!this.processDirectoryDrop || !DataTransferItem.prototype.webkitGetAsEntry) {\n this.handleFileDrop(event.dataTransfer.files);\n // if processDirectoryDrop is enabled and webkitGetAsEntry is supported we can extract files from a dropped directory\n }\n else {\n const droppedItems = event.dataTransfer.items;\n if (droppedItems.length > 0) {\n const droppedFiles = [];\n const droppedDirectories = [];\n // seperate dropped files from dropped directories for easier handling\n for (let i = 0; i < droppedItems.length; i++) {\n const entry = droppedItems[i].webkitGetAsEntry();\n if (entry.isFile) {\n droppedFiles.push(event.dataTransfer.files[i]);\n }\n else if (entry.isDirectory) {\n droppedDirectories.push(entry);\n }\n }\n // create a DataTransfer\n const droppedFilesList = new DataTransfer();\n droppedFiles.forEach((droppedFile) => {\n droppedFilesList.items.add(droppedFile);\n });\n // if no directory is dropped we are done and can call handleFileDrop\n if (!droppedDirectories.length && droppedFilesList.items.length) {\n this.handleFileDrop(droppedFilesList.files);\n }\n // if directories are dropped we extract the files from these directories one-by-one and add it to droppedFilesList\n if (droppedDirectories.length) {\n const extractFilesFromDirectoryCalls = [];\n for (const droppedDirectory of droppedDirectories) {\n extractFilesFromDirectoryCalls.push(this.extractFilesFromDirectory(droppedDirectory));\n }\n // wait for all directories to be proccessed to add the extracted files afterwards\n Promise.all(extractFilesFromDirectoryCalls).then((allExtractedFiles) => {\n allExtractedFiles.reduce((a, b) => [...a, ...b]).forEach((extractedFile) => {\n droppedFilesList.items.add(extractedFile);\n });\n this.handleFileDrop(droppedFilesList.files);\n });\n }\n }\n }\n }\n extractFilesFromDirectory(directory) {\n async function getFileFromFileEntry(fileEntry) {\n try {\n return await new Promise((resolve, reject) => fileEntry.file(resolve, reject));\n }\n catch (err) {\n console.log('Error converting a fileEntry to a File: ', err);\n }\n }\n return new Promise((resolve, reject) => {\n const files = [];\n const dirReader = directory.createReader();\n // we need this to be a recursion because of this issue: https://bugs.chromium.org/p/chromium/issues/detail?id=514087\n const readEntries = () => {\n dirReader.readEntries(async (dirItems) => {\n if (!dirItems.length) {\n resolve(files);\n }\n else {\n const fileEntries = dirItems.filter((dirItem) => dirItem.isFile);\n for (const fileEntry of fileEntries) {\n const file = await getFileFromFileEntry(fileEntry);\n files.push(file);\n }\n readEntries();\n }\n });\n };\n readEntries();\n });\n }\n showFileSelector() {\n if (!this.disabled) {\n this._fileInput.nativeElement.click();\n }\n }\n _onFilesSelected(event) {\n const files = event.target.files;\n this.handleFileDrop(files);\n // Reset the native file input element to allow selecting the same file again\n this._fileInput.nativeElement.value = '';\n // fix(#32): Prevent the default event behaviour which caused the change event to emit twice.\n this.preventDefault(event);\n }\n handleFileDrop(files) {\n const result = this.service.parseFileList(files, this.accept, this.maxFileSize, this.multiple);\n this.change.next({\n addedFiles: result.addedFiles,\n rejectedFiles: result.rejectedFiles,\n source: this\n });\n }\n preventDefault(event) {\n event.preventDefault();\n event.stopPropagation();\n }\n}\nNgxDropzoneComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"13.2.2\", ngImport: i0, type: NgxDropzoneComponent, deps: [{ token: NgxDropzoneService, self: true }], target: i0.ɵɵFactoryTarget.Component });\nNgxDropzoneComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"12.0.0\", version: \"13.2.2\", type: NgxDropzoneComponent, selector: \"ngx-dropzone, [ngx-dropzone]\", inputs: { accept: \"accept\", disabled: \"disabled\", multiple: \"multiple\", maxFileSize: \"maxFileSize\", expandable: \"expandable\", disableClick: \"disableClick\", processDirectoryDrop: \"processDirectoryDrop\", id: \"id\", ariaLabel: [\"aria-label\", \"ariaLabel\"], ariaLabelledby: [\"aria-labelledby\", \"ariaLabelledby\"], ariaDescribedBy: [\"aria-describedby\", \"ariaDescribedBy\"] }, outputs: { change: \"change\" }, host: { listeners: { \"click\": \"_onClick()\", \"dragover\": \"_onDragOver($event)\", \"dragleave\": \"_onDragLeave()\", \"drop\": \"_onDrop($event)\" }, properties: { \"class.ngx-dz-disabled\": \"this.disabled\", \"class.expandable\": \"this.expandable\", \"class.unclickable\": \"this.disableClick\", \"class.ngx-dz-hovered\": \"this._isHovered\" } }, providers: [NgxDropzoneService], queries: [{ propertyName: \"_previewChildren\", predicate: NgxDropzonePreviewComponent, descendants: true }], viewQueries: [{ propertyName: \"_fileInput\", first: true, predicate: [\"fileInput\"], descendants: true, static: true }], ngImport: i0, template: \"<input #fileInput type=\\\"file\\\" [id]=\\\"id\\\" [multiple]=\\\"multiple\\\" [accept]=\\\"accept\\\" [disabled]=\\\"disabled\\\"\\n (change)=\\\"_onFilesSelected($event)\\\" [attr.aria-label]=\\\"ariaLabel\\\" [attr.aria-labelledby]=\\\"ariaLabelledby\\\"\\n [attr.aria-describedby]=\\\"ariaDescribedBy\\\">\\n<ng-content select=\\\"ngx-dropzone-label\\\" *ngIf=\\\"!_hasPreviews\\\"></ng-content>\\n<ng-content select=\\\"ngx-dropzone-preview\\\"></ng-content>\\n<ng-content></ng-content>\\n\", styles: [\":host{display:flex;align-items:center;height:180px;background:#fff;cursor:pointer;color:#717386;border:2px dashed #717386;border-radius:5px;font-size:16px;overflow-x:auto}:host.ngx-dz-hovered{border-style:solid}:host.ngx-dz-disabled{opacity:.5;cursor:no-drop;pointer-events:none}:host.expandable{overflow:hidden;height:unset;min-height:180px;flex-wrap:wrap}:host.unclickable{cursor:default}:host ::ng-deep ngx-dropzone-label{text-align:center;z-index:10;margin:10px auto}:host input{width:.1px;height:.1px;opacity:0;overflow:hidden;position:absolute;z-index:-1}:host input:focus+::ng-deep ngx-dropzone-label{outline:1px dotted #000;outline:-webkit-focus-ring-color auto 5px}\\n\"], directives: [{ type: i3.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"13.2.2\", ngImport: i0, type: NgxDropzoneComponent, decorators: [{\n type: Component,\n args: [{ selector: 'ngx-dropzone, [ngx-dropzone]', providers: [NgxDropzoneService], template: \"<input #fileInput type=\\\"file\\\" [id]=\\\"id\\\" [multiple]=\\\"multiple\\\" [accept]=\\\"accept\\\" [disabled]=\\\"disabled\\\"\\n (change)=\\\"_onFilesSelected($event)\\\" [attr.aria-label]=\\\"ariaLabel\\\" [attr.aria-labelledby]=\\\"ariaLabelledby\\\"\\n [attr.aria-describedby]=\\\"ariaDescribedBy\\\">\\n<ng-content select=\\\"ngx-dropzone-label\\\" *ngIf=\\\"!_hasPreviews\\\"></ng-content>\\n<ng-content select=\\\"ngx-dropzone-preview\\\"></ng-content>\\n<ng-content></ng-content>\\n\", styles: [\":host{display:flex;align-items:center;height:180px;background:#fff;cursor:pointer;color:#717386;border:2px dashed #717386;border-radius:5px;font-size:16px;overflow-x:auto}:host.ngx-dz-hovered{border-style:solid}:host.ngx-dz-disabled{opacity:.5;cursor:no-drop;pointer-events:none}:host.expandable{overflow:hidden;height:unset;min-height:180px;flex-wrap:wrap}:host.unclickable{cursor:default}:host ::ng-deep ngx-dropzone-label{text-align:center;z-index:10;margin:10px auto}:host input{width:.1px;height:.1px;opacity:0;overflow:hidden;position:absolute;z-index:-1}:host input:focus+::ng-deep ngx-dropzone-label{outline:1px dotted #000;outline:-webkit-focus-ring-color auto 5px}\\n\"] }]\n }], ctorParameters: function () { return [{ type: NgxDropzoneService, decorators: [{\n type: Self\n }] }]; }, propDecorators: { _previewChildren: [{\n type: ContentChildren,\n args: [NgxDropzonePreviewComponent, { descendants: true }]\n }], _fileInput: [{\n type: ViewChild,\n args: ['fileInput', { static: true }]\n }], change: [{\n type: Output\n }], accept: [{\n type: Input\n }], disabled: [{\n type: Input\n }, {\n type: HostBinding,\n args: ['class.ngx-dz-disabled']\n }], multiple: [{\n type: Input\n }], maxFileSize: [{\n type: Input\n }], expandable: [{\n type: Input\n }, {\n type: HostBinding,\n args: ['class.expandable']\n }], disableClick: [{\n type: Input\n }, {\n type: HostBinding,\n args: ['class.unclickable']\n }], processDirectoryDrop: [{\n type: Input\n }], id: [{\n type: Input\n }], ariaLabel: [{\n type: Input,\n args: ['aria-label']\n }], ariaLabelledby: [{\n type: Input,\n args: ['aria-labelledby']\n }], ariaDescribedBy: [{\n type: Input,\n args: ['aria-describedby']\n }], _isHovered: [{\n type: HostBinding,\n args: ['class.ngx-dz-hovered']\n }], _onClick: [{\n type: HostListener,\n args: ['click']\n }], _onDragOver: [{\n type: HostListener,\n args: ['dragover', ['$event']]\n }], _onDragLeave: [{\n type: HostListener,\n args: ['dragleave']\n }], _onDrop: [{\n type: HostListener,\n args: ['drop', ['$event']]\n }] } });\n\nclass NgxDropzoneImagePreviewComponent extends NgxDropzonePreviewComponent {\n constructor(sanitizer) {\n super(sanitizer);\n /** The image data source. */\n this.defaultImg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DE1LjcwNzk2MzI2Nzk0ODk2NiIgc3Ryb2tlLWRhc2hvZmZzZXQ9IjE1LjcwNzk2MzI2Nzk0ODk2NiIgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj4KICA8YW5pbWF0ZVRyYW5zZm9ybSBhdHRyaWJ1dGVOYW1lPSJ0cmFuc2Zvcm0iIHR5cGU9InJvdGF0ZSIgZHVyPSIxLjE2Mjc5MDY5NzY3NDQxODRzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIga2V5VGltZXM9IjA7MSIgdmFsdWVzPSIwIDUwIDUwOy0zNjAgNTAgNTAiPjwvYW5pbWF0ZVRyYW5zZm9ybT4KPC9jaXJjbGU+CjwhLS0gW2xkaW9dIGdlbmVyYXRlZCBieSBodHRwczovL2xvYWRpbmcuaW8vIC0tPjwvc3ZnPg==';\n this.imageSrc = this.sanitizer.bypassSecurityTrustUrl(this.defaultImgLoading);\n }\n /** The file to preview. */\n set file(value) {\n this._file = value;\n this.renderImage();\n }\n get file() { return this._file; }\n ngOnInit() {\n this.renderImage();\n }\n renderImage() {\n this.readFile()\n .then(img => setTimeout(() => this.imageSrc = img))\n .catch(err => console.error(err));\n }\n}\nNgxDropzoneImagePreviewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"13.2.2\", ngImport: i0, type: NgxDropzoneImagePreviewComponent, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component });\nNgxDropzoneImagePreviewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"12.0.0\", version: \"13.2.2\", type: NgxDropzoneImagePreviewComponent, selector: \"ngx-dropzone-image-preview\", inputs: { file: \"file\" }, providers: [\n {\n provide: NgxDropzonePreviewComponent,\n useExisting: NgxDropzoneImagePreviewComponent\n }\n ], usesInheritance: true, ngImport: i0, template: `\n <img [src]=\"imageSrc\" />\n\t\t<ng-content select=\"ngx-dropzone-label\"></ng-content>\n <ngx-dropzone-remove-badge *ngIf=\"removable\" (click)=\"_remove($event)\">\n </ngx-dropzone-remove-badge>\n\t`, isInline: true, styles: [\":host{min-width:unset!important;max-width:unset!important;padding:0!important}:host:hover img,:host:focus img{opacity:.7}:host:hover ngx-dropzone-remove-badge,:host:focus ngx-dropzone-remove-badge{opacity:1}:host ngx-dropzone-remove-badge{opacity:0}:host img{max-height:100%;border-radius:5px;opacity:.8}:host ::ng-deep ngx-dropzone-label{position:absolute;overflow-wrap:break-word}\\n\"], components: [{ type: NgxDropzoneRemoveBadgeComponent, selector: \"ngx-dropzone-remove-badge\" }], directives: [{ type: i3.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"13.2.2\", ngImport: i0, type: NgxDropzoneImagePreviewComponent, decorators: [{\n type: Component,\n args: [{ selector: 'ngx-dropzone-image-preview', template: `\n <img [src]=\"imageSrc\" />\n\t\t<ng-content select=\"ngx-dropzone-label\"></ng-content>\n <ngx-dropzone-remove-badge *ngIf=\"removable\" (click)=\"_remove($event)\">\n </ngx-dropzone-remove-badge>\n\t`, providers: [\n {\n provide: NgxDropzonePreviewComponent,\n useExisting: NgxDropzoneImagePreviewComponent\n }\n ], styles: [\":host{min-width:unset!important;max-width:unset!important;padding:0!important}:host:hover img,:host:focus img{opacity:.7}:host:hover ngx-dropzone-remove-badge,:host:focus ngx-dropzone-remove-badge{opacity:1}:host ngx-dropzone-remove-badge{opacity:0}:host img{max-height:100%;border-radius:5px;opacity:.8}:host ::ng-deep ngx-dropzone-label{position:absolute;overflow-wrap:break-word}\\n\"] }]\n }], ctorParameters: function () { return [{ type: i1.DomSanitizer }]; }, propDecorators: { file: [{\n type: Input\n }] } });\n\nclass NgxDropzoneVideoPreviewComponent extends NgxDropzonePreviewComponent {\n constructor(sanitizer) {\n super(sanitizer);\n }\n ngOnInit() {\n if (!this.file) {\n console.error('No file to read. Please provide a file using the [file] Input property.');\n return;\n }\n /**\n * We sanitize the URL here to enable the preview.\n * Please note that this could cause security issues!\n **/\n this.videoSrc = URL.createObjectURL(this.file);\n this.sanitizedVideoSrc = this.sanitizer.bypassSecurityTrustUrl(this.videoSrc);\n }\n ngOnDestroy() {\n URL.revokeObjectURL(this.videoSrc);\n }\n}\nNgxDropzoneVideoPreviewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"13.2.2\", ngImport: i0, type: NgxDropzoneVideoPreviewComponent, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component });\nNgxDropzoneVideoPreviewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"12.0.0\", version: \"13.2.2\", type: NgxDropzoneVideoPreviewComponent, selector: \"ngx-dropzone-video-preview\", providers: [\n {\n provide: NgxDropzonePreviewComponent,\n useExisting: NgxDropzoneVideoPreviewComponent\n }\n ], usesInheritance: true, ngImport: i0, template: `\n <video *ngIf=\"sanitizedVideoSrc\" controls (click)=\"$event.stopPropagation()\">\n <source [src]=\"sanitizedVideoSrc\" />\n </video>\n <ng-content select=\"ngx-dropzone-label\"></ng-content>\n <ngx-dropzone-remove-badge *ngIf=\"removable\" (click)=\"_remove($event)\">\n </ngx-dropzone-remove-badge>\n\t`, isInline: true, styles: [\":host{min-width:unset!important;max-width:unset!important;padding:0!important}:host:hover video,:host:focus video{opacity:.7}:host:hover ngx-dropzone-remove-badge,:host:focus ngx-dropzone-remove-badge{opacity:1}:host ngx-dropzone-remove-badge{opacity:0}:host video{max-height:100%;border-radius:5px}:host ::ng-deep ngx-dropzone-label{position:absolute;overflow-wrap:break-word}\\n\"], components: [{ type: NgxDropzoneRemoveBadgeComponent, selector: \"ngx-dropzone-remove-badge\" }], directives: [{ type: i3.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"13.2.2\", ngImport: i0, type: NgxDropzoneVideoPreviewComponent, decorators: [{\n type: Component,\n args: [{ selector: 'ngx-dropzone-video-preview', template: `\n <video *ngIf=\"sanitizedVideoSrc\" controls (click)=\"$event.stopPropagation()\">\n <source [src]=\"sanitizedVideoSrc\" />\n </video>\n <ng-content select=\"ngx-dropzone-label\"></ng-content>\n <ngx-dropzone-remove-badge *ngIf=\"removable\" (click)=\"_remove($event)\">\n </ngx-dropzone-remove-badge>\n\t`, providers: [\n {\n provide: NgxDropzonePreviewComponent,\n useExisting: NgxDropzoneVideoPreviewComponent\n }\n ], styles: [\":host{min-width:unset!important;max-width:unset!important;padding:0!important}:host:hover video,:host:focus video{opacity:.7}:host:hover ngx-dropzone-remove-badge,:host:focus ngx-dropzone-remove-badge{opacity:1}:host ngx-dropzone-remove-badge{opacity:0}:host video{max-height:100%;border-radius:5px}:host ::ng-deep ngx-dropzone-label{position:absolute;overflow-wrap:break-word}\\n\"] }]\n }], ctorParameters: function () { return [{ type: i1.DomSanitizer }]; } });\n\nclass NgxDropzoneModule {\n}\nNgxDropzoneModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"13.2.2\", ngImport: i0, type: NgxDropzoneModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\nNgxDropzoneModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"12.0.0\", version: \"13.2.2\", ngImport: i0, type: NgxDropzoneModule, declarations: [NgxDropzoneComponent,\n NgxDropzoneLabelDirective,\n NgxDropzonePreviewComponent,\n NgxDropzoneImagePreviewComponent,\n NgxDropzoneRemoveBadgeComponent,\n NgxDropzoneVideoPreviewComponent], imports: [CommonModule], exports: [NgxDropzoneComponent,\n NgxDropzoneLabelDirective,\n NgxDropzonePreviewComponent,\n NgxDropzoneImagePreviewComponent,\n NgxDropzoneRemoveBadgeComponent,\n NgxDropzoneVideoPreviewComponent] });\nNgxDropzoneModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"13.2.2\", ngImport: i0, type: NgxDropzoneModule, imports: [[\n CommonModule\n ]] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"13.2.2\", ngImport: i0, type: NgxDropzoneModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule\n ],\n declarations: [\n NgxDropzoneComponent,\n NgxDropzoneLabelDirective,\n NgxDropzonePreviewComponent,\n NgxDropzoneImagePreviewComponent,\n NgxDropzoneRemoveBadgeComponent,\n NgxDropzoneVideoPreviewComponent,\n ],\n exports: [\n NgxDropzoneComponent,\n NgxDropzoneLabelDirective,\n NgxDropzonePreviewComponent,\n NgxDropzoneImagePreviewComponent,\n NgxDropzoneRemoveBadgeComponent,\n NgxDropzoneVideoPreviewComponent,\n ]\n }]\n }] });\n\n/*\n * Public API Surface of ngx-dropzone\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { NgxDropzoneComponent, NgxDropzoneImagePreviewComponent, NgxDropzoneLabelDirective, NgxDropzoneModule, NgxDropzonePreviewComponent, NgxDropzoneRemoveBadgeComponent, NgxDropzoneVideoPreviewComponent };\n","import * as i2 from '@angular/forms';\nimport { NG_VALUE_ACCESSOR, NG_VALIDATORS, FormsModule } from '@angular/forms';\nimport * as i0 from '@angular/core';\nimport { Directive, Input, forwardRef, Component, HostBinding, ViewChild, ContentChild, ContentChildren, NgModule } from '@angular/core';\nimport * as i1 from '@angular/common';\nimport { CommonModule } from '@angular/common';\n\nclass QueryOperatorDirective {\n constructor(template) {\n this.template = template;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.3\", ngImport: i0, type: QueryOperatorDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.3\", type: QueryOperatorDirective, selector: \"[queryOperator]\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.3\", ngImport: i0, type: QueryOperatorDirective, decorators: [{\n type: Directive,\n args: [{ selector: '[queryOperator]' }]\n }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });\n\nclass QueryFieldDirective {\n constructor(template) {\n this.template = template;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.3\", ngImport: i0, type: QueryFieldDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.3\", type: QueryFieldDirective, selector: \"[queryField]\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.3\", ngImport: i0, type: QueryFieldDirective, decorators: [{\n type: Directive,\n args: [{ selector: '[queryField]' }]\n }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });\n\nclass QueryEntityDirective {\n constructor(template) {\n this.template = template;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.3\", ngImport: i0, type: QueryEntityDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.3\", type: QueryEntityDirective, selector: \"[queryEntity]\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.3\", ngImport: i0, type: QueryEntityDirective, decorators: [{\n type: Directive,\n args: [{ selector: '[queryEntity]' }]\n }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });\n\nclass QuerySwitchGroupDirective {\n constructor(template) {\n this.template = template;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.3\", ngImport: i0, type: QuerySwitchGroupDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.3\", type: QuerySwitchGroupDirective, selector: \"[querySwitchGroup]\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.3\", ngImport: i0, type: QuerySwitchGroupDirective, decorators: [{\n type: Directive,\n args: [{ selector: '[querySwitchGroup]' }]\n }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });\n\nclass QueryButtonGroupDirective {\n constructor(template) {\n this.template = template;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.3\", ngImport: i0, type: QueryButtonGroupDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.3\", type: QueryButtonGroupDirective, selector: \"[queryButtonGroup]\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.3\", ngImport: i0, type: QueryButtonGroupDirective, decorators: [{\n type: Directive,\n args: [{ selector: '[queryButtonGroup]' }]\n }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });\n\nclass QueryInputDirective {\n /** Unique name for query input type. */\n get queryInputType() { return this._type; }\n set queryInputType(value) {\n // If the directive is set without a type (updated programatically), then this setter will\n // trigger with an empty string and should not overwrite the programatically set value.\n if (!value) {\n return;\n }\n this._type = value;\n }\n constructor(template) {\n this.template = template;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.3\", ngImport: i0, type: QueryInputDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.3\", type: QueryInputDirective, selector: \"[queryInput]\", inputs: { queryInputType: \"queryInputType\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.3\", ngImport: i0, type: QueryInputDirective, decorators: [{\n type: Directive,\n args: [{ selector: '[queryInput]' }]\n }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; }, propDecorators: { queryInputType: [{\n type: Input\n }] } });\n\nclass QueryRemoveButtonDirective {\n constructor(template) {\n this.template = template;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.3\", ngImport: i0, type: QueryRemoveButtonDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.3\", type: QueryRemoveButtonDirective, selector: \"[queryRemoveButton]\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.3\", ngImport: i0, type: QueryRemoveButtonDirective, decorators: [{\n type: Directive,\n args: [{ selector: '[queryRemoveButton]' }]\n }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });\n\nclass QueryEmptyWarningDirective {\n constructor(template) {\n this.template = template;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.3\", ngImport: i0, type: QueryEmptyWarningDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.3\", type: QueryEmptyWarningDirective, selector: \"[queryEmptyWarning]\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.3\", ngImport: i0, type: QueryEmptyWarningDirective, decorators: [{\n type: Directive,\n args: [{ selector: '[queryEmptyWarning]' }]\n }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });\n\nclass QueryArrowIconDirective {\n constructor(template) {\n this.template = template;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.3\", ngImport: i0, type: QueryArrowIconDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.3\", type: QueryArrowIconDirective, selector: \"[queryArrowIcon]\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.3\", ngImport: i0, type: QueryArrowIconDirective, decorators: [{\n type: Directive,\n args: [{ selector: '[queryArrowIcon]' }]\n }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });\n\nconst CONTROL_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => QueryBuilderComponent),\n multi: true\n};\nconst VALIDATOR = {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => QueryBuilderComponent),\n multi: true\n};\nclass QueryBuilderComponent {\n get condintion() {\n return this.data?.condition;\n }\n constructor(changeDetectorRef) {\n this.changeDetectorRef = changeDetectorRef;\n this.defaultClassNames = {\n arrowIconButton: 'q-arrow-icon-button',\n arrowIcon: 'q-icon q-arrow-icon',\n removeIcon: 'q-icon q-remove-icon',\n addIcon: 'q-icon q-add-icon',\n button: 'q-button',\n buttonGroup: 'q-button-group',\n removeButton: 'q-remove-button',\n switchGroup: 'q-switch-group',\n switchLabel: 'q-switch-label',\n switchRadio: 'q-switch-radio',\n rightAlign: 'q-right-align',\n transition: 'q-transition',\n collapsed: 'q-collapsed',\n treeContainer: 'q-tree-container',\n tree: 'q-tree',\n row: 'q-row',\n connector: 'q-connector',\n rule: 'q-rule',\n ruleSet: 'q-ruleset',\n invalidRuleSet: 'q-invalid-ruleset',\n emptyWarning: 'q-empty-warning',\n fieldControl: 'q-field-control',\n fieldControlSize: 'q-control-size',\n entityControl: 'q-entity-control',\n entityControlSize: 'q-control-size',\n operatorControl: 'q-operator-control',\n operatorControlSize: 'q-control-size',\n inputControl: 'q-input-control',\n inputControlSize: 'q-control-size'\n };\n this.defaultOperatorMap = {\n string: ['=', '!=', 'contains', 'like'],\n number: ['=', '!=', '>', '>=', '<', '<='],\n time: ['=', '!=', '>', '>=', '<', '<='],\n date: ['=', '!=', '>', '>=', '<', '<='],\n category: ['=', '!=', 'in', 'not in'],\n boolean: ['=']\n };\n this.disabled = false;\n this.data = { condition: 'and', rules: [] };\n this.allowRuleset = true;\n this.allowCollapse = false;\n this.emptyMessage = 'A ruleset cannot be empty. Please add a rule or remove it all together.';\n this.classNames = {};\n this.operatorMap = {};\n this.config = { fields: {} };\n this.persistValueOnFieldChange = false;\n this.defaultTemplateTypes = [\n 'string', 'number', 'time', 'date', 'category', 'boolean', 'multiselect'\n ];\n this.defaultPersistValueTypes = [\n 'string', 'number', 'time', 'date', 'boolean'\n ];\n this.defaultEmptyList = [];\n this.operatorsCache = {};\n this.inputContextCache = new Map();\n this.operatorContextCache = new Map();\n this.fieldContextCache = new Map();\n this.entityContextCache = new Map();\n this.removeButtonContextCache = new Map();\n // ----------END----------\n this.getDisabledState = () => {\n return this.disabled;\n };\n this.fields = [];\n this.filterFields = [];\n this.entities = [];\n }\n // ----------OnInit Implementation----------\n // ----------OnChanges Implementation----------\n ngOnChanges(changes) {\n const config = this.config;\n const type = typeof config;\n if (type === 'object') {\n this.fields = Object.keys(config.fields).map((value) => {\n const field = config.fields[value];\n field.value = field.value || value;\n return field;\n });\n if (config.entities) {\n this.entities = Object.keys(config.entities).map((value) => {\n const entity = config.entities ? config.entities[value] : [];\n entity.value = entity.value || value;\n return entity;\n });\n }\n else {\n this.entities = [];\n }\n this.operatorsCache = {};\n }\n else {\n throw new Error(`Expected 'config' must be a valid object, got ${type} instead.`);\n }\n }\n // ----------Validator Implementation----------\n validate(control) {\n const errors = {};\n const ruleErrorStore = [];\n let hasErrors = false;\n if (!this.config.allowEmptyRulesets && this.checkEmptyRuleInRuleset(this.data)) {\n errors.empty = 'Empty rulesets are not allowed.';\n hasErrors = true;\n }\n this.validateRulesInRuleset(this.data, ruleErrorStore);\n if (ruleErrorStore.length) {\n errors.rules = ruleErrorStore;\n hasErrors = true;\n }\n return hasErrors ? errors : null;\n }\n // ----------ControlValueAccessor Implementation----------\n get value() {\n return this.data;\n }\n set value(value) {\n // When component is initialized without a formControl, null is passed to value\n this.data = value || { condition: 'and', rules: [] };\n this.handleDataChange();\n }\n writeValue(obj) {\n this.value = obj;\n }\n registerOnChange(fn) {\n this.onChangeCallback = () => fn(this.data);\n }\n registerOnTouched(fn) {\n this.onTouchedCallback = () => fn(this.data);\n }\n setDisabledState(isDisabled) {\n this.disabled = isDisabled;\n this.changeDetectorRef.detectChanges();\n }\n findTemplateForRule(rule) {\n const type = this.getInputType(rule.field, rule.operator);\n if (type) {\n const queryInput = this.findQueryInput(type);\n if (queryInput) {\n return queryInput.template;\n }\n else {\n if (this.defaultTemplateTypes.indexOf(type) === -1) {\n console.warn(`Could not find template for field with type: ${type}`);\n }\n return null;\n }\n }\n }\n findQueryInput(type) {\n const templates = this.parentInputTemplates || this.inputTemplates;\n return templates.find((item) => item.queryInputType === type);\n }\n getOperators(field) {\n if (this.operatorsCache[field]) {\n return this.operatorsCache[field];\n }\n let operators = this.defaultEmptyList;\n const fieldObject = this.config.fields[field];\n if (this.config.getOperators) {\n return this.config.getOperators(field, fieldObject);\n }\n const type = fieldObject.type;\n if (fieldObject && fieldObject.operators) {\n operators = fieldObject.operators;\n }\n else if (type) {\n operators = (this.operatorMap && this.operatorMap[type]) || this.defaultOperatorMap[type] || this.defaultEmptyList;\n if (operators.length === 0) {\n console.warn(`No operators found for field '${field}' with type ${fieldObject.type}. ` +\n `Please define an 'operators' property on the field or use the 'operatorMap' binding to fix this.`);\n }\n if (fieldObject.nullable) {\n operators = operators.concat(['is null', 'is not null']);\n }\n }\n else {\n console.warn(`No 'type' property found on field: '${field}'`);\n }\n // Cache reference to array object, so it won't be computed next time and trigger a rerender.\n this.operatorsCache[field] = operators;\n return operators;\n }\n getFields(entity) {\n if (this.entities.length && entity) {\n return this.fields.filter((field) => {\n return field && field.entity === entity;\n });\n }\n else {\n return this.fields;\n }\n }\n getInputType(field, operator) {\n if (this.config.getInputType) {\n return this.config.getInputType(field, operator);\n }\n if (!this.config.fields[field]) {\n throw new Error(`No configuration for field '${field}' could be found! Please add it to config.fields.`);\n }\n const type = this.config.fields[field].type;\n switch (operator) {\n case 'is null':\n case 'is not null':\n return null; // No displayed component\n case 'in':\n case 'not in':\n return type === 'category' || type === 'boolean' ? 'multiselect' : type;\n default:\n return type;\n }\n }\n getOptions(field) {\n if (this.config.getOptions) {\n return this.config.getOptions(field);\n }\n return this.config.fields[field].options || this.defaultEmptyList;\n }\n getClassNames(...args) {\n const clsLookup = this.classNames ? this.classNames : this.defaultClassNames;\n const defaultClassNames = this.defaultClassNames;\n const classNames = args.map((id) => clsLookup[id] || defaultClassNames[id]).filter((c) => !!c);\n return classNames.length ? classNames.join(' ') : [];\n }\n getDefaultField(entity) {\n if (!entity) {\n return null;\n }\n else if (entity.defaultField !== undefined) {\n return this.getDefaultValue(entity.defaultField);\n }\n else {\n const entityFields = this.fields.filter((field) => {\n return field && field.entity === entity.value;\n });\n if (entityFields && entityFields.length) {\n return entityFields[0];\n }\n else {\n console.warn(`No fields found for entity '${entity.name}'. ` +\n `A 'defaultOperator' is also not specified on the field config. Operator value will default to null.`);\n return null;\n }\n }\n }\n getDefaultOperator(field) {\n if (field && field.defaultOperator !== undefined) {\n return this.getDefaultValue(field.defaultOperator);\n }\n else {\n const operators = this.getOperators(field.value);\n if (operators && operators.length) {\n return operators[0];\n }\n else {\n console.warn(`No operators found for field '${field.value}'. ` +\n `A 'defaultOperator' is also not specified on the field config. Operator value will default to null.`);\n return null;\n }\n }\n }\n addRule(parent) {\n if (this.disabled) {\n return;\n }\n parent = parent || this.data;\n if (this.config.addRule) {\n this.config.addRule(parent);\n }\n else {\n const field = this.fields[0];\n parent.rules = parent.rules.concat([{\n field: field.value,\n operator: this.getDefaultOperator(field),\n value: this.getDefaultValue(field.defaultValue),\n entity: field.entity\n }]);\n }\n this.handleTouched();\n this.handleDataChange();\n }\n removeRule(rule, parent) {\n if (this.disabled) {\n return;\n }\n parent = parent || this.data;\n if (this.config.removeRule) {\n this.config.removeRule(rule, parent);\n }\n else {\n parent.rules = parent.rules.filter((r) => r !== rule);\n }\n this.inputContextCache.delete(rule);\n this.operatorContextCache.delete(rule);\n this.fieldContextCache.delete(rule);\n this.entityContextCache.delete(rule);\n this.removeButtonContextCache.delete(rule);\n this.handleTouched();\n this.handleDataChange();\n }\n addRuleSet(parent) {\n if (this.disabled) {\n return;\n }\n parent = parent || this.data;\n if (this.config.addRuleSet) {\n this.config.addRuleSet(parent);\n }\n else {\n parent.rules = parent.rules.concat([{ condition: 'and', rules: [] }]);\n }\n this.handleTouched();\n this.handleDataChange();\n }\n removeRuleSet(ruleset, parent) {\n if (this.disabled) {\n return;\n }\n ruleset = ruleset || this.data;\n parent = parent || this.parentValue;\n if (this.config.removeRuleSet) {\n this.config.removeRuleSet(ruleset, parent);\n }\n else if (parent) {\n parent.rules = parent.rules.filter((r) => r !== ruleset);\n }\n this.handleTouched();\n this.handleDataChange();\n }\n transitionEnd(e) {\n this.treeContainer.nativeElement.style.maxHeight = null;\n }\n toggleCollapse() {\n this.computedTreeContainerHeight();\n setTimeout(() => {\n this.data.collapsed = !this.data.collapsed;\n }, 100);\n }\n computedTreeContainerHeight() {\n const nativeElement = this.treeContainer.nativeElement;\n if (nativeElement && nativeElement.firstElementChild) {\n nativeElement.style.maxHeight = (nativeElement.firstElementChild.clientHeight + 8) + 'px';\n }\n }\n changeCondition(value) {\n if (this.disabled) {\n return;\n }\n this.data.condition = value;\n this.handleTouched();\n this.handleDataChange();\n }\n changeOperator(rule) {\n if (this.disabled) {\n return;\n }\n if (this.config.coerceValueForOperator) {\n rule.value = this.config.coerceValueForOperator(rule.operator, rule.value, rule);\n }\n else {\n rule.value = this.coerceValueForOperator(rule.operator, rule.value, rule);\n }\n this.handleTouched();\n this.handleDataChange();\n }\n coerceValueForOperator(operator, value, rule) {\n const inputType = this.getInputType(rule.field, operator);\n if (inputType === 'multiselect' && !Array.isArray(value)) {\n return [value];\n }\n return value;\n }\n changeInput() {\n if (this.disabled) {\n return;\n }\n this.handleTouched();\n this.handleDataChange();\n }\n changeField(fieldValue, rule) {\n if (this.disabled) {\n return;\n }\n const inputContext = this.inputContextCache.get(rule);\n const currentField = inputContext && inputContext.field;\n const nextField = this.config.fields[fieldValue];\n const nextValue = this.calculateFieldChangeValue(currentField, nextField, rule.value);\n if (nextValue !== undefined) {\n rule.value = nextValue;\n }\n else {\n delete rule.value;\n }\n rule.operator = this.getDefaultOperator(nextField);\n // Create new context objects so templates will automatically update\n this.inputContextCache.delete(rule);\n this.operatorContextCache.delete(rule);\n this.fieldContextCache.delete(rule);\n this.entityContextCache.delete(rule);\n this.getInputContext(rule);\n this.getFieldContext(rule);\n this.getOperatorContext(rule);\n this.getEntityContext(rule);\n this.handleTouched();\n this.handleDataChange();\n }\n changeEntity(entityValue, rule, index, data) {\n if (this.disabled) {\n return;\n }\n let i = index;\n let rs = data;\n const entity = this.entities.find((e) => e.value === entityValue);\n const defaultField = this.getDefaultField(entity);\n if (!rs) {\n rs = this.data;\n i = rs.rules.findIndex((x) => x === rule);\n }\n rule.field = defaultField.value;\n rs.rules[i] = rule;\n if (defaultField) {\n this.changeField(defaultField.value, rule);\n }\n else {\n this.handleTouched();\n this.handleDataChange();\n }\n }\n getDefaultValue(defaultValue) {\n switch (typeof defaultValue) {\n case 'function':\n return defaultValue();\n default:\n return defaultValue;\n }\n }\n getOperatorTemplate() {\n const t = this.parentOperatorTemplate || this.operatorTemplate;\n return t ? t.template : null;\n }\n getFieldTemplate() {\n const t = this.parentFieldTemplate || this.fieldTemplate;\n return t ? t.template : null;\n }\n getEntityTemplate() {\n const t = this.parentEntityTemplate || this.entityTemplate;\n return t ? t.template : null;\n }\n getArrowIconTemplate() {\n const t = this.parentArrowIconTemplate || this.arrowIconTemplate;\n return t ? t.template : null;\n }\n getButtonGroupTemplate() {\n const t = this.parentButtonGroupTemplate || this.buttonGroupTemplate;\n return t ? t.template : null;\n }\n getSwitchGroupTemplate() {\n const t = this.parentSwitchGroupTemplate || this.switchGroupTemplate;\n return t ? t.template : null;\n }\n getRemoveButtonTemplate() {\n const t = this.parentRemoveButtonTemplate || this.removeButtonTemplate;\n return t ? t.template : null;\n }\n getEmptyWarningTemplate() {\n const t = this.parentEmptyWarningTemplate || this.emptyWarningTemplate;\n return t ? t.template : null;\n }\n getQueryItemClassName(local) {\n let cls = this.getClassNames('row', 'connector', 'transition');\n cls += ' ' + this.getClassNames(local.ruleset ? 'ruleSet' : 'rule');\n if (local.invalid) {\n cls += ' ' + this.getClassNames('invalidRuleSet');\n }\n return cls;\n }\n getButtonGroupContext() {\n if (!this.buttonGroupContext) {\n this.buttonGroupContext = {\n addRule: this.addRule.bind(this),\n addRuleSet: this.allowRuleset && this.addRuleSet.bind(this),\n removeRuleSet: this.allowRuleset && this.parentValue && this.removeRuleSet.bind(this),\n getDisabledState: this.getDisabledState,\n $implicit: this.data\n };\n }\n return this.buttonGroupContext;\n }\n getRemoveButtonContext(rule) {\n if (!this.removeButtonContextCache.has(rule)) {\n this.removeButtonContextCache.set(rule, {\n removeRule: this.removeRule.bind(this),\n getDisabledState: this.getDisabledState,\n $implicit: rule\n });\n }\n return this.removeButtonContextCache.get(rule);\n }\n getFieldContext(rule) {\n if (!this.fieldContextCache.has(rule)) {\n this.fieldContextCache.set(rule, {\n onChange: this.changeField.bind(this),\n getFields: this.getFields.bind(this),\n getDisabledState: this.getDisabledState,\n fields: this.fields,\n $implicit: rule\n });\n }\n return this.fieldContextCache.get(rule);\n }\n getEntityContext(rule) {\n if (!this.entityContextCache.has(rule)) {\n this.entityContextCache.set(rule, {\n onChange: this.changeEntity.bind(this),\n getDisabledState: this.getDisabledState,\n entities: this.entities,\n $implicit: rule\n });\n }\n return this.entityContextCache.get(rule);\n }\n getSwitchGroupContext() {\n return {\n onChange: this.changeCondition.bind(this),\n getDisabledState: this.getDisabledState,\n $implicit: this.data\n };\n }\n getArrowIconContext() {\n return {\n getDisabledState: this.getDisabledState,\n $implicit: this.data\n };\n }\n getEmptyWarningContext() {\n return {\n getDisabledState: this.getDisabledState,\n message: this.emptyMessage,\n $implicit: this.data\n };\n }\n getOperatorContext(rule) {\n if (!this.operatorContextCache.has(rule)) {\n this.operatorContextCache.set(rule, {\n onChange: this.changeOperator.bind(this),\n getDisabledState: this.getDisabledState,\n operators: this.getOperators(rule.field),\n $implicit: rule\n });\n }\n return this.operatorContextCache.get(rule);\n }\n getInputContext(rule) {\n if (!this.inputContextCache.has(rule)) {\n this.inputContextCache.set(rule, {\n onChange: this.changeInput.bind(this),\n getDisabledState: this.getDisabledState,\n options: this.getOptions(rule.field),\n field: this.config.fields[rule.field],\n $implicit: rule\n });\n }\n return this.inputContextCache.get(rule);\n }\n calculateFieldChangeValue(currentField, nextField, currentValue) {\n if (this.config.calculateFieldChangeValue != null) {\n return this.config.calculateFieldChangeValue(currentField, nextField, currentValue);\n }\n const canKeepValue = () => {\n if (currentField == null || nextField == null) {\n return false;\n }\n return currentField.type === nextField.type\n && this.defaultPersistValueTypes.indexOf(currentField.type) !== -1;\n };\n if (this.persistValueOnFieldChange && canKeepValue()) {\n return currentValue;\n }\n if (nextField && nextField.defaultValue !== undefined) {\n return this.getDefaultValue(nextField.defaultValue);\n }\n return undefined;\n }\n checkEmptyRuleInRuleset(ruleset) {\n if (!ruleset || !ruleset.rules || ruleset.rules.length === 0) {\n return true;\n }\n else {\n return ruleset.rules.some((item) => {\n if (item.rules) {\n return this.checkEmptyRuleInRuleset(item);\n }\n else {\n return false;\n }\n });\n }\n }\n validateRulesInRuleset(ruleset, errorStore) {\n if (ruleset && ruleset.rules && ruleset.rules.length > 0) {\n ruleset.rules.forEach((item) => {\n if (item.rules) {\n return this.validateRulesInRuleset(item, errorStore);\n }\n else if (item.field) {\n const field = this.config.fields[item.field];\n if (field && field.validator /*&& field.validator.apply*/) {\n const error = field.validator(item, ruleset);\n if (error != null) {\n errorStore.push(error);\n }\n }\n }\n });\n }\n }\n handleDataChange() {\n this.changeDetectorRef.markForCheck();\n if (this.onChangeCallback) {\n this.onChangeCallback();\n }\n if (this.parentChangeCallback) {\n this.parentChangeCallback();\n }\n }\n handleTouched() {\n if (this.onTouchedCallback) {\n this.onTouchedCallback();\n }\n if (this.parentTouchedCallback) {\n this.parentTouchedCallback();\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.3\", ngImport: i0, type: QueryBuilderComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.3\", type: QueryBuilderComponent, selector: \"query-builder\", inputs: { disabled: \"disabled\", data: \"data\", allowRuleset: \"allowRuleset\", allowCollapse: \"allowCollapse\", emptyMessage: \"emptyMessage\", classNames: \"classNames\", operatorMap: \"operatorMap\", parentValue: \"parentValue\", config: \"config\", parentArrowIconTemplate: \"parentArrowIconTemplate\", parentInputTemplates: \"parentInputTemplates\", parentOperatorTemplate: \"parentOperatorTemplate\", parentFieldTemplate: \"parentFieldTemplate\", parentEntityTemplate: \"parentEntityTemplate\", parentSwitchGroupTemplate: \"parentSwitchGroupTemplate\", parentButtonGroupTemplate: \"parentButtonGroupTemplate\", parentRemoveButtonTemplate: \"parentRemoveButtonTemplate\", parentEmptyWarningTemplate: \"parentEmptyWarningTemplate\", parentChangeCallback: \"parentChangeCallback\", parentTouchedCallback: \"parentTouchedCallback\", persistValueOnFieldChange: \"persistValueOnFieldChange\", value: \"value\" }, host: { properties: { \"attr.query-builder-condition\": \"this.condintion\" } }, providers: [CONTROL_VALUE_ACCESSOR, VALIDATOR], queries: [{ propertyName: \"buttonGroupTemplate\", first: true, predicate: QueryButtonGroupDirective, descendants: true }, { propertyName: \"switchGroupTemplate\", first: true, predicate: QuerySwitchGroupDirective, descendants: true }, { propertyName: \"fieldTemplate\", first: true, predicate: QueryFieldDirective, descendants: true }, { propertyName: \"entityTemplate\", first: true, predicate: QueryEntityDirective, descendants: true }, { propertyName: \"operatorTemplate\", first: true, predicate: QueryOperatorDirective, descendants: true }, { propertyName: \"removeButtonTemplate\", first: true, predicate: QueryRemoveButtonDirective, descendants: true }, { propertyName: \"emptyWarningTemplate\", first: true, predicate: QueryEmptyWarningDirective, descendants: true }, { propertyName: \"arrowIconTemplate\", first: true, predicate: QueryArrowIconDirective, descendants: true }, { propertyName: \"inputTemplates\", predicate: QueryInputDirective, descendants: true }], viewQueries: [{ propertyName: \"treeContainer\", first: true, predicate: [\"treeContainer\"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: \"<div [ngClass]=\\\"getClassNames('switchRow')\\\">\\n <ng-template #defaultArrowIcon>\\n <i [ngClass]=\\\"getClassNames('arrowIcon')\\\"></i>\\n </ng-template>\\n\\n <a *ngIf=\\\"allowCollapse\\\" (click)=\\\"toggleCollapse()\\\" [ngClass]=\\\"getClassNames('arrowIconButton', data.collapsed ? 'collapsed' : '')\\\">\\n <ng-container *ngIf=\\\"getArrowIconTemplate() as template; else defaultArrowIcon\\\">\\n <ng-container *ngTemplateOutlet=\\\"template; context: getArrowIconContext()\\\"></ng-container>\\n </ng-container>\\n </a>\\n\\n <ng-container *ngIf=\\\"getButtonGroupTemplate() as template; else defaultButtonGroup\\\">\\n <div [ngClass]=\\\"getClassNames('buttonGroup', 'rightAlign')\\\">\\n <ng-container *ngTemplateOutlet=\\\"template; context: getButtonGroupContext()\\\"></ng-container>\\n </div>\\n </ng-container>\\n\\n <ng-template #defaultButtonGroup>\\n <div [ngClass]=\\\"getClassNames('buttonGroup', 'rightAlign')\\\">\\n <button type=\\\"button\\\" (click)=\\\"addRule()\\\" [ngClass]=\\\"getClassNames('button')\\\" [disabled]=disabled>\\n <i [ngClass]=\\\"getClassNames('addIcon')\\\"></i> Rule\\n </button>\\n <button type=\\\"button\\\" (click)=\\\"addRuleSet()\\\" [ngClass]=\\\"getClassNames('button')\\\" *ngIf=\\\"allowRuleset\\\" [disabled]=disabled>\\n <i [ngClass]=\\\"getClassNames('addIcon')\\\"></i> Ruleset\\n </button>\\n <ng-container *ngIf=\\\"!!parentValue && allowRuleset\\\">\\n <button type=\\\"button\\\" (click)=\\\"removeRuleSet()\\\" [ngClass]=\\\"getClassNames('button', 'removeButton')\\\" [disabled]=disabled>\\n <i [ngClass]=\\\"getClassNames('removeIcon')\\\"></i>\\n </button>\\n </ng-container>\\n </div>\\n </ng-template>\\n\\n <ng-container *ngIf=\\\"getSwitchGroupTemplate() as template; else defaultSwitchGroup\\\">\\n <ng-container *ngTemplateOutlet=\\\"template; context: getSwitchGroupContext()\\\"></ng-container>\\n </ng-container>\\n\\n <ng-template #defaultSwitchGroup>\\n <div [ngClass]=\\\"getClassNames('switchGroup', 'transition')\\\" *ngIf=\\\"data\\\">\\n <div [ngClass]=\\\"getClassNames('switchControl')\\\">\\n <input type=\\\"radio\\\" [ngClass]=\\\"getClassNames('switchRadio')\\\" [(ngModel)]=\\\"data.condition\\\" [disabled]=disabled\\n value=\\\"and\\\" #andOption />\\n <label (click)=\\\"changeCondition(andOption.value)\\\" [ngClass]=\\\"getClassNames('switchLabel')\\\">AND</label>\\n </div>\\n <div [ngClass]=\\\"getClassNames('switchControl')\\\">\\n <input type=\\\"radio\\\" [ngClass]=\\\"getClassNames('switchRadio')\\\" [(ngModel)]=\\\"data.condition\\\" [disabled]=disabled\\n value=\\\"or\\\" #orOption />\\n <label (click)=\\\"changeCondition(orOption.value)\\\" [ngClass]=\\\"getClassNames('switchLabel')\\\">OR</label>\\n </div>\\n </div>\\n </ng-template>\\n</div>\\n\\n<div #treeContainer (transitionend)=\\\"transitionEnd($event)\\\" [ngClass]=\\\"getClassNames('treeContainer', data.collapsed ? 'collapsed' : '')\\\">\\n <ul [ngClass]=\\\"getClassNames('tree')\\\" *ngIf=\\\"data && data.rules\\\">\\n <ng-container *ngFor=\\\"let rule of data.rules;let i=index\\\">\\n\\n <ng-container *ngIf=\\\"{ruleset: !!rule.rules, invalid: !config.allowEmptyRulesets && rule.rules && rule.rules.length === 0} as local\\\">\\n <li [ngClass]=\\\"getQueryItemClassName(local)\\\">\\n <ng-container *ngIf=\\\"!local.ruleset\\\">\\n\\n <ng-container *ngIf=\\\"getRemoveButtonTemplate() as template; else defaultRemoveButton\\\">\\n <div [ngClass]=\\\"getClassNames('buttonGroup', 'rightAlign')\\\">\\n <ng-container *ngTemplateOutlet=\\\"template; context: getRemoveButtonContext(rule)\\\"></ng-container>\\n </div>\\n </ng-container>\\n\\n <ng-template #defaultRemoveButton>\\n <div [ngClass]=\\\"getClassNames('removeButtonSize', 'rightAlign')\\\">\\n <button type=\\\"button\\\" [ngClass]=\\\"getClassNames('button', 'removeButton')\\\" (click)=\\\"removeRule(rule, data)\\\" [disabled]=disabled>\\n <i [ngClass]=\\\"getClassNames('removeIcon')\\\"></i>\\n </button>\\n </div>\\n </ng-template>\\n\\n <div *ngIf=\\\"entities?.length\\\" class=\\\"q-inline-block-display\\\">\\n <ng-container *ngIf=\\\"getEntityTemplate() as template; else defaultEntity\\\">\\n <ng-container *ngTemplateOutlet=\\\"template; context: getEntityContext(rule)\\\"></ng-container>\\n </ng-container>\\n </div>\\n\\n <ng-template #defaultEntity>\\n <div [ngClass]=\\\"getClassNames('entityControlSize')\\\">\\n <select [ngClass]=\\\"getClassNames('entityControl')\\\" [(ngModel)]=\\\"rule.entity\\\" (ngModelChange)=\\\"changeEntity($event, rule,i,data)\\\"\\n [disabled]=\\\"disabled\\\">\\n <option *ngFor=\\\"let entity of entities\\\" [ngValue]=\\\"entity.value\\\">\\n {{entity.name}}\\n </option>\\n </select>\\n </div>\\n </ng-template>\\n\\n <ng-container *ngIf=\\\"getFieldTemplate() as template; else defaultField\\\">\\n <ng-container *ngTemplateOutlet=\\\"template; context: getFieldContext(rule)\\\"></ng-container>\\n </ng-container>\\n\\n <ng-template #defaultField>\\n <div [ngClass]=\\\"getClassNames('fieldControlSize')\\\">\\n <select [ngClass]=\\\"getClassNames('fieldControl')\\\" [(ngModel)]=\\\"rule.field\\\" (ngModelChange)=\\\"changeField($event, rule)\\\"\\n [disabled]=\\\"disabled\\\">\\n <option *ngFor=\\\"let field of getFields(rule.entity)\\\" [ngValue]=\\\"field.value\\\">\\n {{field.name}}\\n </option>\\n </select>\\n </div>\\n </ng-template>\\n\\n <ng-container *ngIf=\\\"getOperatorTemplate() as template; else defaultOperator\\\">\\n <ng-container *ngTemplateOutlet=\\\"template; context: getOperatorContext(rule)\\\"></ng-container>\\n </ng-container>\\n\\n <ng-template #defaultOperator>\\n <div [ngClass]=\\\"getClassNames('operatorControlSize')\\\">\\n <select [ngClass]=\\\"getClassNames('operatorControl')\\\" [(ngModel)]=\\\"rule.operator\\\" (ngModelChange)=\\\"changeOperator(rule)\\\"\\n [disabled]=\\\"disabled\\\">\\n <option *ngFor=\\\"let operator of getOperators(rule.field)\\\" [ngValue]=\\\"operator\\\">\\n {{operator}}\\n </option>\\n </select>\\n </div>\\n </ng-template>\\n\\n <ng-container *ngIf=\\\"findTemplateForRule(rule) as template; else defaultInput\\\">\\n <ng-container *ngTemplateOutlet=\\\"template; context: getInputContext(rule)\\\"></ng-container>\\n </ng-container>\\n\\n <ng-template #defaultInput>\\n <div [ngClass]=\\\"getClassNames('inputControlSize')\\\" [ngSwitch]=\\\"getInputType(rule.field, rule.operator)\\\">\\n <input [ngClass]=\\\"getClassNames('inputControl')\\\" [(ngModel)]=\\\"rule.value\\\" (ngModelChange)=\\\"changeInput()\\\"\\n [disabled]=\\\"disabled\\\" *ngSwitchCase=\\\"'string'\\\" type=\\\"text\\\">\\n <input [ngClass]=\\\"getClassNames('inputControl')\\\" [(ngModel)]=\\\"rule.value\\\" (ngModelChange)=\\\"changeInput()\\\"\\n [disabled]=\\\"disabled\\\" *ngSwitchCase=\\\"'number'\\\" type=\\\"number\\\">\\n <input [ngClass]=\\\"getClassNames('inputControl')\\\" [(ngModel)]=\\\"rule.value\\\" (ngModelChange)=\\\"changeInput()\\\"\\n [disabled]=\\\"disabled\\\" *ngSwitchCase=\\\"'date'\\\" type=\\\"date\\\">\\n <input [ngClass]=\\\"getClassNames('inputControl')\\\" [(ngModel)]=\\\"rule.value\\\" (ngModelChange)=\\\"changeInput()\\\"\\n [disabled]=\\\"disabled\\\" *ngSwitchCase=\\\"'time'\\\" type=\\\"time\\\">\\n <select [ngClass]=\\\"getClassNames('inputControl')\\\" [(ngModel)]=\\\"rule.value\\\" (ngModelChange)=\\\"changeInput()\\\"\\n [disabled]=\\\"disabled\\\" *ngSwitchCase=\\\"'category'\\\">\\n <option *ngFor=\\\"let opt of getOptions(rule.field)\\\" [ngValue]=\\\"opt.value\\\">\\n {{opt.name}}\\n </option>\\n </select>\\n <ng-container *ngSwitchCase=\\\"'multiselect'\\\">\\n <select [ngClass]=\\\"getClassNames('inputControl')\\\" [(ngModel)]=\\\"rule.value\\\" (ngModelChange)=\\\"changeInput()\\\"\\n [disabled]=\\\"disabled\\\" multiple>\\n <option *ngFor=\\\"let opt of getOptions(rule.field)\\\" [ngValue]=\\\"opt.value\\\">\\n {{opt.name}}\\n </option>\\n </select>\\n </ng-container>\\n <input [ngClass]=\\\"getClassNames('inputControl')\\\" [(ngModel)]=\\\"rule.value\\\" (ngModelChange)=\\\"changeInput()\\\"\\n [disabled]=\\\"disabled\\\" *ngSwitchCase=\\\"'boolean'\\\" type=\\\"checkbox\\\">\\n </div>\\n </ng-template>\\n\\n </ng-container>\\n <query-builder *ngIf=\\\"local.ruleset\\\" [data]=\\\"rule\\\" [disabled]=\\\"disabled\\\" [parentTouchedCallback]=\\\"parentTouchedCallback || onTouchedCallback\\\"\\n [parentChangeCallback]=\\\"parentChangeCallback || onChangeCallback\\\" [parentInputTemplates]=\\\"parentInputTemplates || inputTemplates\\\"\\n [parentOperatorTemplate]=\\\"parentOperatorTemplate || operatorTemplate\\\" [parentFieldTemplate]=\\\"parentFieldTemplate || fieldTemplate\\\"\\n [parentEntityTemplate]=\\\"parentEntityTemplate || entityTemplate\\\" [parentSwitchGroupTemplate]=\\\"parentSwitchGroupTemplate || switchGroupTemplate\\\"\\n [parentButtonGroupTemplate]=\\\"parentButtonGroupTemplate || buttonGroupTemplate\\\" [parentRemoveButtonTemplate]=\\\"parentRemoveButtonTemplate || removeButtonTemplate\\\"\\n [parentEmptyWarningTemplate]=\\\"parentEmptyWarningTemplate || emptyWarningTemplate\\\" [parentArrowIconTemplate]=\\\"parentArrowIconTemplate || arrowIconTemplate\\\"\\n [parentValue]=\\\"data\\\" [classNames]=\\\"classNames\\\" [config]=\\\"config\\\" [allowRuleset]=\\\"allowRuleset\\\"\\n [allowCollapse]=\\\"allowCollapse\\\" [emptyMessage]=\\\"emptyMessage\\\" [operatorMap]=\\\"operatorMap\\\">\\n </query-builder>\\n\\n <ng-container *ngIf=\\\"getEmptyWarningTemplate() as template; else defaultEmptyWarning\\\">\\n <ng-container *ngIf=\\\"local.invalid\\\">\\n <ng-container *ngTemplateOutlet=\\\"template; context: getEmptyWarningContext()\\\"></ng-container>\\n </ng-container>\\n </ng-container>\\n\\n <ng-template #defaultEmptyWarning>\\n <p [ngClass]=\\\"getClassNames('emptyWarning')\\\" *ngIf=\\\"local.invalid\\\">\\n {{emptyMessage}}\\n </p>\\n </ng-template>\\n </li>\\n </ng-container>\\n </ng-container>\\n </ul>\\n</div>\\n\", styles: [\"@charset \\\"UTF-8\\\";:host{display:block;width:100%}:host .q-icon{font-style:normal;font-size:12px}:host .q-remove-icon:before{content:\\\"\\\\274c\\\"}:host .q-arrow-icon-button{float:left;margin:4px 6px 4px 0;transform:rotate(90deg);transition:linear .25s transform;cursor:pointer}:host .q-arrow-icon-button.q-collapsed{transform:rotate(0)}:host .q-arrow-icon:before{content:\\\"\\\\25b6\\\"}:host .q-add-icon{color:#555}:host .q-add-icon:before{content:\\\"\\\\2795\\\"}:host .q-remove-button{color:#b3415d;width:31px}:host .q-switch-group,:host .q-button-group{font-family:Lucida Grande,Tahoma,Verdana,sans-serif;overflow:hidden}:host .q-right-align{float:right}:host .q-button{margin-left:8px;padding:0 8px;background-color:#fff}:host .q-button:disabled{display:none}:host .q-control-size{display:inline-block;vertical-align:top;padding-right:10px}:host .q-input-control,:host .q-operator-control,:host .q-field-control,:host .q-entity-control{display:inline-block;padding:5px 8px;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;box-sizing:border-box;width:auto;min-width:180px}:host .q-input-control:disabled,:host .q-operator-control:disabled,:host .q-field-control:disabled,:host .q-entity-control:disabled{border-color:transparent}:host .q-operator-control,:host .q-field-control,:host .q-entity-control,:host .q-input-control:not([type=checkbox]){min-height:32px;-webkit-appearance:none}:host .q-switch-label,:host .q-button{float:left;margin-bottom:0;font-size:14px;line-height:30px;font-weight:400;text-align:center;text-shadow:none;border:1px solid rgba(0,0,0,.2);box-sizing:border-box}:host .q-switch-label:hover,:host .q-button:hover{cursor:pointer;background-color:#f0f0f0}:host .q-switch-label{background-color:#e4e4e4;padding:0 8px}:host .q-switch-radio{position:absolute;clip:rect(0,0,0,0);height:1px;width:1px;border:0;overflow:hidden}:host .q-switch-radio:checked+.q-switch-label{border:1px solid rgb(97,158,215);background:white;color:#3176b3}:host .q-switch-radio:disabled+.q-switch-label{display:none}:host .q-switch-radio:checked:disabled+.q-switch-label{display:initial;color:initial;cursor:default;border-color:transparent}:host .q-invalid-ruleset{border:1px solid rgba(179,65,93,.5)!important;background:rgba(179,65,93,.1)!important}:host .q-empty-warning{color:#8d252e;text-align:center}:host .q-ruleset{border:1px solid #CCC}:host .q-rule{border:1px solid #CCC;background:white}:host .q-transition{transition:all .1s ease-in-out}:host .q-tree-container{width:100%;overflow:hidden;transition:ease-in .25s max-height}:host .q-tree-container.q-collapsed{max-height:0!important}:host .q-tree{list-style:none;margin:4px 0 2px}:host .q-row{padding:6px 8px;margin-top:6px}:host .q-connector{position:relative}:host .q-connector:before{top:-5px;border-width:0 0 2px 2px}:host .q-connector:after{border-width:0 0 0 2px;top:50%}:host .q-connector:before,:host .q-connector:after{content:\\\"\\\";left:-12px;border-color:#ccc;border-style:solid;width:9px;height:calc(50% + 6px);position:absolute}:host .q-connector:last-child:after{content:none}:host .q-inline-block-display{display:inline-block;vertical-align:top}\\n\"], dependencies: [{ kind: \"directive\", type: i1.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i1.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i1.NgTemplateOutlet, selector: \"[ngTemplateOutlet]\", inputs: [\"ngTemplateOutletContext\", \"ngTemplateOutlet\", \"ngTemplateOutletInjector\"] }, { kind: \"directive\", type: i1.NgSwitch, selector: \"[ngSwitch]\", inputs: [\"ngSwitch\"] }, { kind: \"directive\", type: i1.NgSwitchCase, selector: \"[ngSwitchCase]\", inputs: [\"ngSwitchCase\"] }, { kind: \"directive\", type: i2.NgSelectOption, selector: \"option\", inputs: [\"ngValue\", \"value\"] }, { kind: \"directive\", type: i2.ɵNgSelectMultipleOption, selector: \"option\", inputs: [\"ngValue\", \"value\"] }, { kind: \"directive\", type: i2.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i2.NumberValueAccessor, selector: \"input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]\" }, { kind: \"directive\", type: i2.CheckboxControlValueAccessor, selector: \"input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]\" }, { kind: \"directive\", type: i2.SelectControlValueAccessor, selector: \"select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]\", inputs: [\"compareWith\"] }, { kind: \"directive\", type: i2.SelectMultipleControlValueAccessor, selector: \"select[multiple][formControlName],select[multiple][formControl],select[multiple][ngModel]\", inputs: [\"compareWith\"] }, { kind: \"directive\", type: i2.RadioControlValueAccessor, selector: \"input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]\", inputs: [\"name\", \"formControlName\", \"value\"] }, { kind: \"directive\", type: i2.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i2.NgModel, selector: \"[ngModel]:not([formControlName]):not([formControl])\", inputs: [\"name\", \"disabled\", \"ngModel\", \"ngModelOptions\"], outputs: [\"ngModelChange\"], exportAs: [\"ngModel\"] }, { kind: \"component\", type: QueryBuilderComponent, selector: \"query-builder\", inputs: [\"disabled\", \"data\", \"allowRuleset\", \"allowCollapse\", \"emptyMessage\", \"classNames\", \"operatorMap\", \"parentValue\", \"config\", \"parentArrowIconTemplate\", \"parentInputTemplates\", \"parentOperatorTemplate\", \"parentFieldTemplate\", \"parentEntityTemplate\", \"parentSwitchGroupTemplate\", \"parentButtonGroupTemplate\", \"parentRemoveButtonTemplate\", \"parentEmptyWarningTemplate\", \"parentChangeCallback\", \"parentTouchedCallback\", \"persistValueOnFieldChange\", \"value\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.3\", ngImport: i0, type: QueryBuilderComponent, decorators: [{\n type: Component,\n args: [{ selector: 'query-builder', providers: [CONTROL_VALUE_ACCESSOR, VALIDATOR], template: \"<div [ngClass]=\\\"getClassNames('switchRow')\\\">\\n <ng-template #defaultArrowIcon>\\n <i [ngClass]=\\\"getClassNames('arrowIcon')\\\"></i>\\n </ng-template>\\n\\n <a *ngIf=\\\"allowCollapse\\\" (click)=\\\"toggleCollapse()\\\" [ngClass]=\\\"getClassNames('arrowIconButton', data.collapsed ? 'collapsed' : '')\\\">\\n <ng-container *ngIf=\\\"getArrowIconTemplate() as template; else defaultArrowIcon\\\">\\n <ng-container *ngTemplateOutlet=\\\"template; context: getArrowIconContext()\\\"></ng-container>\\n </ng-container>\\n </a>\\n\\n <ng-container *ngIf=\\\"getButtonGroupTemplate() as template; else defaultButtonGroup\\\">\\n <div [ngClass]=\\\"getClassNames('buttonGroup', 'rightAlign')\\\">\\n <ng-container *ngTemplateOutlet=\\\"template; context: getButtonGroupContext()\\\"></ng-container>\\n </div>\\n </ng-container>\\n\\n <ng-template #defaultButtonGroup>\\n <div [ngClass]=\\\"getClassNames('buttonGroup', 'rightAlign')\\\">\\n <button type=\\\"button\\\" (click)=\\\"addRule()\\\" [ngClass]=\\\"getClassNames('button')\\\" [disabled]=disabled>\\n <i [ngClass]=\\\"getClassNames('addIcon')\\\"></i> Rule\\n </button>\\n <button type=\\\"button\\\" (click)=\\\"addRuleSet()\\\" [ngClass]=\\\"getClassNames('button')\\\" *ngIf=\\\"allowRuleset\\\" [disabled]=disabled>\\n <i [ngClass]=\\\"getClassNames('addIcon')\\\"></i> Ruleset\\n </button>\\n <ng-container *ngIf=\\\"!!parentValue && allowRuleset\\\">\\n <button type=\\\"button\\\" (click)=\\\"removeRuleSet()\\\" [ngClass]=\\\"getClassNames('button', 'removeButton')\\\" [disabled]=disabled>\\n <i [ngClass]=\\\"getClassNames('removeIcon')\\\"></i>\\n </button>\\n </ng-container>\\n </div>\\n </ng-template>\\n\\n <ng-container *ngIf=\\\"getSwitchGroupTemplate() as template; else defaultSwitchGroup\\\">\\n <ng-container *ngTemplateOutlet=\\\"template; context: getSwitchGroupContext()\\\"></ng-container>\\n </ng-container>\\n\\n <ng-template #defaultSwitchGroup>\\n <div [ngClass]=\\\"getClassNames('switchGroup', 'transition')\\\" *ngIf=\\\"data\\\">\\n <div [ngClass]=\\\"getClassNames('switchControl')\\\">\\n <input type=\\\"radio\\\" [ngClass]=\\\"getClassNames('switchRadio')\\\" [(ngModel)]=\\\"data.condition\\\" [disabled]=disabled\\n value=\\\"and\\\" #andOption />\\n <label (click)=\\\"changeCondition(andOption.value)\\\" [ngClass]=\\\"getClassNames('switchLabel')\\\">AND</label>\\n </div>\\n <div [ngClass]=\\\"getClassNames('switchControl')\\\">\\n <input type=\\\"radio\\\" [ngClass]=\\\"getClassNames('switchRadio')\\\" [(ngModel)]=\\\"data.condition\\\" [disabled]=disabled\\n value=\\\"or\\\" #orOption />\\n <label (click)=\\\"changeCondition(orOption.value)\\\" [ngClass]=\\\"getClassNames('switchLabel')\\\">OR</label>\\n </div>\\n </div>\\n </ng-template>\\n</div>\\n\\n<div #treeContainer (transitionend)=\\\"transitionEnd($event)\\\" [ngClass]=\\\"getClassNames('treeContainer', data.collapsed ? 'collapsed' : '')\\\">\\n <ul [ngClass]=\\\"getClassNames('tree')\\\" *ngIf=\\\"data && data.rules\\\">\\n <ng-container *ngFor=\\\"let rule of data.rules;let i=index\\\">\\n\\n <ng-container *ngIf=\\\"{ruleset: !!rule.rules, invalid: !config.allowEmptyRulesets && rule.rules && rule.rules.length === 0} as local\\\">\\n <li [ngClass]=\\\"getQueryItemClassName(local)\\\">\\n <ng-container *ngIf=\\\"!local.ruleset\\\">\\n\\n <ng-container *ngIf=\\\"getRemoveButtonTemplate() as template; else defaultRemoveButton\\\">\\n <div [ngClass]=\\\"getClassNames('buttonGroup', 'rightAlign')\\\">\\n <ng-container *ngTemplateOutlet=\\\"template; context: getRemoveButtonContext(rule)\\\"></ng-container>\\n </div>\\n </ng-container>\\n\\n <ng-template #defaultRemoveButton>\\n <div [ngClass]=\\\"getClassNames('removeButtonSize', 'rightAlign')\\\">\\n <button type=\\\"button\\\" [ngClass]=\\\"getClassNames('button', 'removeButton')\\\" (click)=\\\"removeRule(rule, data)\\\" [disabled]=disabled>\\n <i [ngClass]=\\\"getClassNames('removeIcon')\\\"></i>\\n </button>\\n </div>\\n </ng-template>\\n\\n <div *ngIf=\\\"entities?.length\\\" class=\\\"q-inline-block-display\\\">\\n <ng-container *ngIf=\\\"getEntityTemplate() as template; else defaultEntity\\\">\\n <ng-container *ngTemplateOutlet=\\\"template; context: getEntityContext(rule)\\\"></ng-container>\\n </ng-container>\\n </div>\\n\\n <ng-template #defaultEntity>\\n <div [ngClass]=\\\"getClassNames('entityControlSize')\\\">\\n <select [ngClass]=\\\"getClassNames('entityControl')\\\" [(ngModel)]=\\\"rule.entity\\\" (ngModelChange)=\\\"changeEntity($event, rule,i,data)\\\"\\n [disabled]=\\\"disabled\\\">\\n <option *ngFor=\\\"let entity of entities\\\" [ngValue]=\\\"entity.value\\\">\\n {{entity.name}}\\n </option>\\n </select>\\n </div>\\n </ng-template>\\n\\n <ng-container *ngIf=\\\"getFieldTemplate() as template; else defaultField\\\">\\n <ng-container *ngTemplateOutlet=\\\"template; context: getFieldContext(rule)\\\"></ng-container>\\n </ng-container>\\n\\n <ng-template #defaultField>\\n <div [ngClass]=\\\"getClassNames('fieldControlSize')\\\">\\n <select [ngClass]=\\\"getClassNames('fieldControl')\\\" [(ngModel)]=\\\"rule.field\\\" (ngModelChange)=\\\"changeField($event, rule)\\\"\\n [disabled]=\\\"disabled\\\">\\n <option *ngFor=\\\"let field of getFields(rule.entity)\\\" [ngValue]=\\\"field.value\\\">\\n {{field.name}}\\n </option>\\n </select>\\n </div>\\n </ng-template>\\n\\n <ng-container *ngIf=\\\"getOperatorTemplate() as template; else defaultOperator\\\">\\n <ng-container *ngTemplateOutlet=\\\"template; context: getOperatorContext(rule)\\\"></ng-container>\\n </ng-container>\\n\\n <ng-template #defaultOperator>\\n <div [ngClass]=\\\"getClassNames('operatorControlSize')\\\">\\n <select [ngClass]=\\\"getClassNames('operatorControl')\\\" [(ngModel)]=\\\"rule.operator\\\" (ngModelChange)=\\\"changeOperator(rule)\\\"\\n [disabled]=\\\"disabled\\\">\\n <option *ngFor=\\\"let operator of getOperators(rule.field)\\\" [ngValue]=\\\"operator\\\">\\n {{operator}}\\n </option>\\n </select>\\n </div>\\n </ng-template>\\n\\n <ng-container *ngIf=\\\"findTemplateForRule(rule) as template; else defaultInput\\\">\\n <ng-container *ngTemplateOutlet=\\\"template; context: getInputContext(rule)\\\"></ng-container>\\n </ng-container>\\n\\n <ng-template #defaultInput>\\n <div [ngClass]=\\\"getClassNames('inputControlSize')\\\" [ngSwitch]=\\\"getInputType(rule.field, rule.operator)\\\">\\n <input [ngClass]=\\\"getClassNames('inputControl')\\\" [(ngModel)]=\\\"rule.value\\\" (ngModelChange)=\\\"changeInput()\\\"\\n [disabled]=\\\"disabled\\\" *ngSwitchCase=\\\"'string'\\\" type=\\\"text\\\">\\n <input [ngClass]=\\\"getClassNames('inputControl')\\\" [(ngModel)]=\\\"rule.value\\\" (ngModelChange)=\\\"changeInput()\\\"\\n [disabled]=\\\"disabled\\\" *ngSwitchCase=\\\"'number'\\\" type=\\\"number\\\">\\n <input [ngClass]=\\\"getClassNames('inputControl')\\\" [(ngModel)]=\\\"rule.value\\\" (ngModelChange)=\\\"changeInput()\\\"\\n [disabled]=\\\"disabled\\\" *ngSwitchCase=\\\"'date'\\\" type=\\\"date\\\">\\n <input [ngClass]=\\\"getClassNames('inputControl')\\\" [(ngModel)]=\\\"rule.value\\\" (ngModelChange)=\\\"changeInput()\\\"\\n [disabled]=\\\"disabled\\\" *ngSwitchCase=\\\"'time'\\\" type=\\\"time\\\">\\n <select [ngClass]=\\\"getClassNames('inputControl')\\\" [(ngModel)]=\\\"rule.value\\\" (ngModelChange)=\\\"changeInput()\\\"\\n [disabled]=\\\"disabled\\\" *ngSwitchCase=\\\"'category'\\\">\\n <option *ngFor=\\\"let opt of getOptions(rule.field)\\\" [ngValue]=\\\"opt.value\\\">\\n {{opt.name}}\\n </option>\\n </select>\\n <ng-container *ngSwitchCase=\\\"'multiselect'\\\">\\n <select [ngClass]=\\\"getClassNames('inputControl')\\\" [(ngModel)]=\\\"rule.value\\\" (ngModelChange)=\\\"changeInput()\\\"\\n [disabled]=\\\"disabled\\\" multiple>\\n <option *ngFor=\\\"let opt of getOptions(rule.field)\\\" [ngValue]=\\\"opt.value\\\">\\n {{opt.name}}\\n </option>\\n </select>\\n </ng-container>\\n <input [ngClass]=\\\"getClassNames('inputControl')\\\" [(ngModel)]=\\\"rule.value\\\" (ngModelChange)=\\\"changeInput()\\\"\\n [disabled]=\\\"disabled\\\" *ngSwitchCase=\\\"'boolean'\\\" type=\\\"checkbox\\\">\\n </div>\\n </ng-template>\\n\\n </ng-container>\\n <query-builder *ngIf=\\\"local.ruleset\\\" [data]=\\\"rule\\\" [disabled]=\\\"disabled\\\" [parentTouchedCallback]=\\\"parentTouchedCallback || onTouchedCallback\\\"\\n [parentChangeCallback]=\\\"parentChangeCallback || onChangeCallback\\\" [parentInputTemplates]=\\\"parentInputTemplates || inputTemplates\\\"\\n [parentOperatorTemplate]=\\\"parentOperatorTemplate || operatorTemplate\\\" [parentFieldTemplate]=\\\"parentFieldTemplate || fieldTemplate\\\"\\n [parentEntityTemplate]=\\\"parentEntityTemplate || entityTemplate\\\" [parentSwitchGroupTemplate]=\\\"parentSwitchGroupTemplate || switchGroupTemplate\\\"\\n [parentButtonGroupTemplate]=\\\"parentButtonGroupTemplate || buttonGroupTemplate\\\" [parentRemoveButtonTemplate]=\\\"parentRemoveButtonTemplate || removeButtonTemplate\\\"\\n [parentEmptyWarningTemplate]=\\\"parentEmptyWarningTemplate || emptyWarningTemplate\\\" [parentArrowIconTemplate]=\\\"parentArrowIconTemplate || arrowIconTemplate\\\"\\n [parentValue]=\\\"data\\\" [classNames]=\\\"classNames\\\" [config]=\\\"config\\\" [allowRuleset]=\\\"allowRuleset\\\"\\n [allowCollapse]=\\\"allowCollapse\\\" [emptyMessage]=\\\"emptyMessage\\\" [operatorMap]=\\\"operatorMap\\\">\\n </query-builder>\\n\\n <ng-container *ngIf=\\\"getEmptyWarningTemplate() as template; else defaultEmptyWarning\\\">\\n <ng-container *ngIf=\\\"local.invalid\\\">\\n <ng-container *ngTemplateOutlet=\\\"template; context: getEmptyWarningContext()\\\"></ng-container>\\n </ng-container>\\n </ng-container>\\n\\n <ng-template #defaultEmptyWarning>\\n <p [ngClass]=\\\"getClassNames('emptyWarning')\\\" *ngIf=\\\"local.invalid\\\">\\n {{emptyMessage}}\\n </p>\\n </ng-template>\\n </li>\\n </ng-container>\\n </ng-container>\\n </ul>\\n</div>\\n\", styles: [\"@charset \\\"UTF-8\\\";:host{display:block;width:100%}:host .q-icon{font-style:normal;font-size:12px}:host .q-remove-icon:before{content:\\\"\\\\274c\\\"}:host .q-arrow-icon-button{float:left;margin:4px 6px 4px 0;transform:rotate(90deg);transition:linear .25s transform;cursor:pointer}:host .q-arrow-icon-button.q-collapsed{transform:rotate(0)}:host .q-arrow-icon:before{content:\\\"\\\\25b6\\\"}:host .q-add-icon{color:#555}:host .q-add-icon:before{content:\\\"\\\\2795\\\"}:host .q-remove-button{color:#b3415d;width:31px}:host .q-switch-group,:host .q-button-group{font-family:Lucida Grande,Tahoma,Verdana,sans-serif;overflow:hidden}:host .q-right-align{float:right}:host .q-button{margin-left:8px;padding:0 8px;background-color:#fff}:host .q-button:disabled{display:none}:host .q-control-size{display:inline-block;vertical-align:top;padding-right:10px}:host .q-input-control,:host .q-operator-control,:host .q-field-control,:host .q-entity-control{display:inline-block;padding:5px 8px;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;box-sizing:border-box;width:auto;min-width:180px}:host .q-input-control:disabled,:host .q-operator-control:disabled,:host .q-field-control:disabled,:host .q-entity-control:disabled{border-color:transparent}:host .q-operator-control,:host .q-field-control,:host .q-entity-control,:host .q-input-control:not([type=checkbox]){min-height:32px;-webkit-appearance:none}:host .q-switch-label,:host .q-button{float:left;margin-bottom:0;font-size:14px;line-height:30px;font-weight:400;text-align:center;text-shadow:none;border:1px solid rgba(0,0,0,.2);box-sizing:border-box}:host .q-switch-label:hover,:host .q-button:hover{cursor:pointer;background-color:#f0f0f0}:host .q-switch-label{background-color:#e4e4e4;padding:0 8px}:host .q-switch-radio{position:absolute;clip:rect(0,0,0,0);height:1px;width:1px;border:0;overflow:hidden}:host .q-switch-radio:checked+.q-switch-label{border:1px solid rgb(97,158,215);background:white;color:#3176b3}:host .q-switch-radio:disabled+.q-switch-label{display:none}:host .q-switch-radio:checked:disabled+.q-switch-label{display:initial;color:initial;cursor:default;border-color:transparent}:host .q-invalid-ruleset{border:1px solid rgba(179,65,93,.5)!important;background:rgba(179,65,93,.1)!important}:host .q-empty-warning{color:#8d252e;text-align:center}:host .q-ruleset{border:1px solid #CCC}:host .q-rule{border:1px solid #CCC;background:white}:host .q-transition{transition:all .1s ease-in-out}:host .q-tree-container{width:100%;overflow:hidden;transition:ease-in .25s max-height}:host .q-tree-container.q-collapsed{max-height:0!important}:host .q-tree{list-style:none;margin:4px 0 2px}:host .q-row{padding:6px 8px;margin-top:6px}:host .q-connector{position:relative}:host .q-connector:before{top:-5px;border-width:0 0 2px 2px}:host .q-connector:after{border-width:0 0 0 2px;top:50%}:host .q-connector:before,:host .q-connector:after{content:\\\"\\\";left:-12px;border-color:#ccc;border-style:solid;width:9px;height:calc(50% + 6px);position:absolute}:host .q-connector:last-child:after{content:none}:host .q-inline-block-display{display:inline-block;vertical-align:top}\\n\"] }]\n }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { disabled: [{\n type: Input\n }], data: [{\n type: Input\n }], condintion: [{\n type: HostBinding,\n args: ['attr.query-builder-condition']\n }], allowRuleset: [{\n type: Input\n }], allowCollapse: [{\n type: Input\n }], emptyMessage: [{\n type: Input\n }], classNames: [{\n type: Input\n }], operatorMap: [{\n type: Input\n }], parentValue: [{\n type: Input\n }], config: [{\n type: Input\n }], parentArrowIconTemplate: [{\n type: Input\n }], parentInputTemplates: [{\n type: Input\n }], parentOperatorTemplate: [{\n type: Input\n }], parentFieldTemplate: [{\n type: Input\n }], parentEntityTemplate: [{\n type: Input\n }], parentSwitchGroupTemplate: [{\n type: Input\n }], parentButtonGroupTemplate: [{\n type: Input\n }], parentRemoveButtonTemplate: [{\n type: Input\n }], parentEmptyWarningTemplate: [{\n type: Input\n }], parentChangeCallback: [{\n type: Input\n }], parentTouchedCallback: [{\n type: Input\n }], persistValueOnFieldChange: [{\n type: Input\n }], treeContainer: [{\n type: ViewChild,\n args: ['treeContainer', { static: true }]\n }], buttonGroupTemplate: [{\n type: ContentChild,\n args: [QueryButtonGroupDirective]\n }], switchGroupTemplate: [{\n type: ContentChild,\n args: [QuerySwitchGroupDirective]\n }], fieldTemplate: [{\n type: ContentChild,\n args: [QueryFieldDirective]\n }], entityTemplate: [{\n type: ContentChild,\n args: [QueryEntityDirective]\n }], operatorTemplate: [{\n type: ContentChild,\n args: [QueryOperatorDirective]\n }], removeButtonTemplate: [{\n type: ContentChild,\n args: [QueryRemoveButtonDirective]\n }], emptyWarningTemplate: [{\n type: ContentChild,\n args: [QueryEmptyWarningDirective]\n }], inputTemplates: [{\n type: ContentChildren,\n args: [QueryInputDirective, { descendants: true }]\n }], arrowIconTemplate: [{\n type: ContentChild,\n args: [QueryArrowIconDirective]\n }], value: [{\n type: Input\n }] } });\n\nclass NgxAngularQueryBuilderModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.3\", ngImport: i0, type: NgxAngularQueryBuilderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.3\", ngImport: i0, type: NgxAngularQueryBuilderModule, declarations: [QueryBuilderComponent,\n QueryInputDirective,\n QueryOperatorDirective,\n QueryFieldDirective,\n QueryEntityDirective,\n QueryButtonGroupDirective,\n QuerySwitchGroupDirective,\n QueryRemoveButtonDirective,\n QueryEmptyWarningDirective,\n QueryArrowIconDirective], imports: [CommonModule,\n FormsModule], exports: [QueryBuilderComponent,\n QueryInputDirective,\n QueryOperatorDirective,\n QueryFieldDirective,\n QueryEntityDirective,\n QueryButtonGroupDirective,\n QuerySwitchGroupDirective,\n QueryRemoveButtonDirective,\n QueryEmptyWarningDirective,\n QueryArrowIconDirective] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.3\", ngImport: i0, type: NgxAngularQueryBuilderModule, imports: [CommonModule,\n FormsModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.3\", ngImport: i0, type: NgxAngularQueryBuilderModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule,\n FormsModule\n ],\n declarations: [\n QueryBuilderComponent,\n QueryInputDirective,\n QueryOperatorDirective,\n QueryFieldDirective,\n QueryEntityDirective,\n QueryButtonGroupDirective,\n QuerySwitchGroupDirective,\n QueryRemoveButtonDirective,\n QueryEmptyWarningDirective,\n QueryArrowIconDirective\n ],\n exports: [\n QueryBuilderComponent,\n QueryInputDirective,\n QueryOperatorDirective,\n QueryFieldDirective,\n QueryEntityDirective,\n QueryButtonGroupDirective,\n QuerySwitchGroupDirective,\n QueryRemoveButtonDirective,\n QueryEmptyWarningDirective,\n QueryArrowIconDirective\n ]\n }]\n }] });\n\n/*\n * Public API Surface of ngx-angular-query-builder\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { CONTROL_VALUE_ACCESSOR, NgxAngularQueryBuilderModule, QueryArrowIconDirective, QueryBuilderComponent, QueryButtonGroupDirective, QueryEmptyWarningDirective, QueryEntityDirective, QueryFieldDirective, QueryInputDirective, QueryOperatorDirective, QueryRemoveButtonDirective, QuerySwitchGroupDirective, VALIDATOR };\n","import { NgForOf, NgStyle, NgIf } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { Component, ViewEncapsulation, Input, EventEmitter, ElementRef, Renderer2, ChangeDetectorRef, NgZone, Inject, Output, HostBinding, NgModule } from '@angular/core';\nimport { Subject, debounceTime, takeUntil, switchMap, timer } from 'rxjs';\n\nvar GridType;\n(function (GridType) {\n GridType[\"Fit\"] = \"fit\";\n GridType[\"ScrollVertical\"] = \"scrollVertical\";\n GridType[\"ScrollHorizontal\"] = \"scrollHorizontal\";\n GridType[\"Fixed\"] = \"fixed\";\n GridType[\"VerticalFixed\"] = \"verticalFixed\";\n GridType[\"HorizontalFixed\"] = \"horizontalFixed\";\n})(GridType || (GridType = {}));\nvar DisplayGrid;\n(function (DisplayGrid) {\n DisplayGrid[\"Always\"] = \"always\";\n DisplayGrid[\"OnDragAndResize\"] = \"onDrag&Resize\";\n DisplayGrid[\"None\"] = \"none\";\n})(DisplayGrid || (DisplayGrid = {}));\nvar CompactType;\n(function (CompactType) {\n CompactType[\"None\"] = \"none\";\n CompactType[\"CompactUp\"] = \"compactUp\";\n CompactType[\"CompactLeft\"] = \"compactLeft\";\n CompactType[\"CompactUpAndLeft\"] = \"compactUp&Left\";\n CompactType[\"CompactLeftAndUp\"] = \"compactLeft&Up\";\n CompactType[\"CompactRight\"] = \"compactRight\";\n CompactType[\"CompactUpAndRight\"] = \"compactUp&Right\";\n CompactType[\"CompactRightAndUp\"] = \"compactRight&Up\";\n CompactType[\"CompactDown\"] = \"compactDown\";\n CompactType[\"CompactDownAndLeft\"] = \"compactDown&Left\";\n CompactType[\"CompactLeftAndDown\"] = \"compactLeft&Down\";\n CompactType[\"CompactDownAndRight\"] = \"compactDown&Right\";\n CompactType[\"CompactRightAndDown\"] = \"compactRight&Down\";\n})(CompactType || (CompactType = {}));\nvar DirTypes;\n(function (DirTypes) {\n DirTypes[\"LTR\"] = \"ltr\";\n DirTypes[\"RTL\"] = \"rtl\";\n})(DirTypes || (DirTypes = {}));\n\nclass GridsterCompact {\n constructor(gridster) {\n this.gridster = gridster;\n }\n destroy() {\n this.gridster = null;\n }\n checkCompact() {\n if (this.gridster.$options.compactType !== CompactType.None) {\n if (this.gridster.$options.compactType === CompactType.CompactUp) {\n this.checkCompactMovement('y', -1);\n }\n else if (this.gridster.$options.compactType === CompactType.CompactLeft) {\n this.checkCompactMovement('x', -1);\n }\n else if (this.gridster.$options.compactType === CompactType.CompactUpAndLeft) {\n this.checkCompactMovement('y', -1);\n this.checkCompactMovement('x', -1);\n }\n else if (this.gridster.$options.compactType === CompactType.CompactLeftAndUp) {\n this.checkCompactMovement('x', -1);\n this.checkCompactMovement('y', -1);\n }\n else if (this.gridster.$options.compactType === CompactType.CompactRight) {\n this.checkCompactMovement('x', 1);\n }\n else if (this.gridster.$options.compactType === CompactType.CompactUpAndRight) {\n this.checkCompactMovement('y', -1);\n this.checkCompactMovement('x', 1);\n }\n else if (this.gridster.$options.compactType === CompactType.CompactRightAndUp) {\n this.checkCompactMovement('x', 1);\n this.checkCompactMovement('y', -1);\n }\n else if (this.gridster.$options.compactType === CompactType.CompactDown) {\n this.checkCompactMovement('y', 1);\n }\n else if (this.gridster.$options.compactType === CompactType.CompactDownAndLeft) {\n this.checkCompactMovement('y', 1);\n this.checkCompactMovement('x', -1);\n }\n else if (this.gridster.$options.compactType === CompactType.CompactDownAndRight) {\n this.checkCompactMovement('y', 1);\n this.checkCompactMovement('x', 1);\n }\n else if (this.gridster.$options.compactType === CompactType.CompactLeftAndDown) {\n this.checkCompactMovement('x', -1);\n this.checkCompactMovement('y', 1);\n }\n else if (this.gridster.$options.compactType === CompactType.CompactRightAndDown) {\n this.checkCompactMovement('x', 1);\n this.checkCompactMovement('y', 1);\n }\n }\n }\n checkCompactItem(item) {\n if (this.gridster.$options.compactType !== CompactType.None) {\n if (this.gridster.$options.compactType === CompactType.CompactUp) {\n this.moveTillCollision(item, 'y', -1);\n }\n else if (this.gridster.$options.compactType === CompactType.CompactLeft) {\n this.moveTillCollision(item, 'x', -1);\n }\n else if (this.gridster.$options.compactType === CompactType.CompactUpAndLeft) {\n this.moveTillCollision(item, 'y', -1);\n this.moveTillCollision(item, 'x', -1);\n }\n else if (this.gridster.$options.compactType === CompactType.CompactLeftAndUp) {\n this.moveTillCollision(item, 'x', -1);\n this.moveTillCollision(item, 'y', -1);\n }\n else if (this.gridster.$options.compactType === CompactType.CompactUpAndRight) {\n this.moveTillCollision(item, 'y', -1);\n this.moveTillCollision(item, 'x', 1);\n }\n else if (this.gridster.$options.compactType === CompactType.CompactDown) {\n this.moveTillCollision(item, 'y', 1);\n }\n else if (this.gridster.$options.compactType === CompactType.CompactDownAndLeft) {\n this.moveTillCollision(item, 'y', 1);\n this.moveTillCollision(item, 'x', -1);\n }\n else if (this.gridster.$options.compactType === CompactType.CompactLeftAndDown) {\n this.moveTillCollision(item, 'x', -1);\n this.moveTillCollision(item, 'y', 1);\n }\n else if (this.gridster.$options.compactType === CompactType.CompactDownAndRight) {\n this.moveTillCollision(item, 'y', 1);\n this.moveTillCollision(item, 'x', 1);\n }\n else if (this.gridster.$options.compactType === CompactType.CompactRightAndDown) {\n this.moveTillCollision(item, 'x', 1);\n this.moveTillCollision(item, 'y', 1);\n }\n }\n }\n checkCompactMovement(direction, delta) {\n let widgetMoved = false;\n this.gridster.grid.forEach((widget) => {\n if (widget.$item.compactEnabled !== false) {\n const moved = this.moveTillCollision(widget.$item, direction, delta);\n if (moved) {\n widgetMoved = true;\n widget.item[direction] = widget.$item[direction];\n widget.itemChanged();\n }\n }\n });\n if (widgetMoved) {\n this.checkCompact();\n }\n }\n moveTillCollision(item, direction, delta) {\n item[direction] += delta;\n if (this.gridster.checkCollision(item)) {\n item[direction] -= delta;\n return false;\n }\n else {\n this.moveTillCollision(item, direction, delta);\n return true;\n }\n }\n}\n\nconst GridsterConfigService = {\n gridType: GridType.Fit,\n scale: 1,\n // 'scrollVertical' will fit on width and height of the items will be the same as the width\n // 'scrollHorizontal' will fit on height and width of the items will be the same as the height\n // 'fixed' will set the rows and columns dimensions based on fixedColWidth and fixedRowHeight options\n // 'verticalFixed' will set the rows to fixedRowHeight and columns width will fit the space available\n // 'horizontalFixed' will set the columns to fixedColWidth and rows height will fit the space available\n fixedColWidth: 250,\n fixedRowHeight: 250,\n keepFixedHeightInMobile: false,\n keepFixedWidthInMobile: false,\n setGridSize: false,\n compactType: CompactType.None,\n mobileBreakpoint: 640,\n useBodyForBreakpoint: false,\n allowMultiLayer: false,\n defaultLayerIndex: 0,\n maxLayerIndex: 2,\n baseLayerIndex: 1,\n minCols: 1,\n maxCols: 100,\n minRows: 1,\n maxRows: 100,\n defaultItemCols: 1,\n defaultItemRows: 1,\n maxItemCols: 50,\n maxItemRows: 50,\n minItemCols: 1,\n minItemRows: 1,\n minItemArea: 1,\n maxItemArea: 2500,\n addEmptyRowsCount: 0,\n rowHeightRatio: 1,\n margin: 10,\n outerMargin: true,\n outerMarginTop: null,\n outerMarginRight: null,\n outerMarginBottom: null,\n outerMarginLeft: null,\n useTransformPositioning: true,\n scrollSensitivity: 10,\n scrollSpeed: 20,\n initCallback: undefined,\n destroyCallback: undefined,\n gridSizeChangedCallback: undefined,\n itemChangeCallback: undefined,\n // Arguments: gridsterItem, gridsterItemComponent\n itemResizeCallback: undefined,\n // Arguments: gridsterItem, gridsterItemComponent\n itemInitCallback: undefined,\n // Arguments: gridsterItem, gridsterItemComponent\n itemRemovedCallback: undefined,\n // Arguments: gridsterItem, gridsterItemComponent\n itemValidateCallback: undefined,\n // Arguments: gridsterItem\n enableEmptyCellClick: false,\n enableEmptyCellContextMenu: false,\n enableEmptyCellDrop: false,\n enableEmptyCellDrag: false,\n enableOccupiedCellDrop: false,\n emptyCellClickCallback: undefined,\n emptyCellContextMenuCallback: undefined,\n emptyCellDropCallback: undefined,\n emptyCellDragCallback: undefined,\n emptyCellDragMaxCols: 50,\n emptyCellDragMaxRows: 50,\n // Arguments: event, gridsterItem{x, y, rows: defaultItemRows, cols: defaultItemCols}\n ignoreMarginInRow: false,\n draggable: {\n delayStart: 0,\n enabled: false,\n ignoreContentClass: 'gridster-item-content',\n ignoreContent: false,\n dragHandleClass: 'drag-handler',\n stop: undefined,\n start: undefined,\n // Arguments: item, gridsterItem, event\n dropOverItems: false,\n dropOverItemsCallback: undefined // callback on drop over another item\n // Arguments: source, target, gridComponent\n },\n resizable: {\n delayStart: 0,\n enabled: false,\n handles: {\n s: true,\n e: true,\n n: true,\n w: true,\n se: true,\n ne: true,\n sw: true,\n nw: true\n },\n stop: undefined,\n start: undefined // callback when resizing an item starts.\n // Arguments: item, gridsterItem, event\n },\n swap: true,\n swapWhileDragging: false,\n pushItems: false,\n disablePushOnDrag: false,\n disablePushOnResize: false,\n pushDirections: { north: true, east: true, south: true, west: true },\n pushResizeItems: false,\n displayGrid: DisplayGrid.OnDragAndResize,\n disableWindowResize: false,\n disableWarnings: false,\n scrollToNewItems: false,\n disableScrollHorizontal: false,\n disableScrollVertical: false,\n enableBoundaryControl: false,\n disableAutoPositionOnConflict: false,\n dirType: DirTypes.LTR // page direction, rtl=right to left ltr= left to right, if you use rtl language set dirType to rtl\n};\n\nclass GridsterUtils {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n static merge(obj1, obj2, properties) {\n for (const p in obj2) {\n if (obj2[p] !== void 0 && properties.hasOwnProperty(p)) {\n if (typeof obj2[p] === 'object') {\n // create an empty object for the property if obj1 does not already have one.\n if (!(p in obj1)) {\n obj1[p] = {};\n }\n obj1[p] = GridsterUtils.merge(obj1[p], obj2[p], properties[p]);\n }\n else {\n obj1[p] = obj2[p];\n }\n }\n }\n return obj1;\n }\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n static checkTouchEvent(e) {\n if (e.clientX === undefined && e.touches) {\n if (e.touches && e.touches.length) {\n e.clientX = e.touches[0].clientX;\n e.clientY = e.touches[0].clientY;\n }\n else if (e.changedTouches && e.changedTouches.length) {\n e.clientX = e.changedTouches[0].clientX;\n e.clientY = e.changedTouches[0].clientY;\n }\n }\n }\n static checkContentClassForEvent(gridster, e) {\n if (gridster.$options.draggable.ignoreContent) {\n if (!GridsterUtils.checkDragHandleClass(e.target, e.currentTarget, gridster.$options.draggable.dragHandleClass, gridster.$options.draggable.ignoreContentClass)) {\n return true;\n }\n }\n else {\n if (GridsterUtils.checkContentClass(e.target, e.currentTarget, gridster.$options.draggable.ignoreContentClass)) {\n return true;\n }\n }\n return false;\n }\n static checkContentClassForEmptyCellClickEvent(gridster, e) {\n return (GridsterUtils.checkContentClass(e.target, e.currentTarget, gridster.$options.draggable.ignoreContentClass) ||\n GridsterUtils.checkContentClass(e.target, e.currentTarget, gridster.$options.draggable.dragHandleClass));\n }\n static checkDragHandleClass(target, current, dragHandleClass, ignoreContentClass) {\n if (!target || target === current) {\n return false;\n }\n if (target.hasAttribute('class')) {\n const classnames = target.getAttribute('class').split(' ');\n if (classnames.indexOf(dragHandleClass) > -1) {\n return true;\n }\n if (classnames.indexOf(ignoreContentClass) > -1) {\n return false;\n }\n }\n return GridsterUtils.checkDragHandleClass(target.parentNode, current, dragHandleClass, ignoreContentClass);\n }\n static checkContentClass(target, current, contentClass) {\n if (!target || target === current) {\n return false;\n }\n if (target.hasAttribute('class') &&\n target.getAttribute('class').split(' ').indexOf(contentClass) > -1) {\n return true;\n }\n else {\n return GridsterUtils.checkContentClass(target.parentNode, current, contentClass);\n }\n }\n static compareItems(a, b) {\n if (a.y > b.y) {\n return -1;\n }\n else if (a.y < b.y) {\n return 1;\n }\n else if (a.x > b.x) {\n return -1;\n }\n else {\n return 1;\n }\n }\n}\n\nclass GridsterEmptyCell {\n constructor(gridster) {\n this.gridster = gridster;\n this.emptyCellClickCb = (e) => {\n if (!this.gridster ||\n this.gridster.movingItem ||\n GridsterUtils.checkContentClassForEmptyCellClickEvent(this.gridster, e)) {\n return;\n }\n const item = this.getValidItemFromEvent(e);\n if (!item) {\n return;\n }\n if (this.gridster.options.emptyCellClickCallback) {\n this.gridster.options.emptyCellClickCallback(e, item);\n }\n this.gridster.cdRef.markForCheck();\n };\n this.emptyCellContextMenuCb = (e) => {\n if (this.gridster.movingItem ||\n GridsterUtils.checkContentClassForEmptyCellClickEvent(this.gridster, e)) {\n return;\n }\n e.preventDefault();\n e.stopPropagation();\n const item = this.getValidItemFromEvent(e);\n if (!item) {\n return;\n }\n if (this.gridster.options.emptyCellContextMenuCallback) {\n this.gridster.options.emptyCellContextMenuCallback(e, item);\n }\n this.gridster.cdRef.markForCheck();\n };\n this.emptyCellDragDrop = (e) => {\n const item = this.getValidItemFromEvent(e);\n if (!item) {\n return;\n }\n if (this.gridster.options.emptyCellDropCallback) {\n this.gridster.options.emptyCellDropCallback(e, item);\n }\n this.gridster.cdRef.markForCheck();\n };\n this.emptyCellDragOver = (e) => {\n e.preventDefault();\n e.stopPropagation();\n const item = this.getValidItemFromEvent(e);\n if (item) {\n if (e.dataTransfer) {\n e.dataTransfer.dropEffect = 'move';\n }\n this.gridster.movingItem = item;\n }\n else {\n if (e.dataTransfer) {\n e.dataTransfer.dropEffect = 'none';\n }\n this.gridster.movingItem = null;\n }\n this.gridster.previewStyle();\n };\n this.emptyCellMouseDown = (e) => {\n if (GridsterUtils.checkContentClassForEmptyCellClickEvent(this.gridster, e)) {\n return;\n }\n e.preventDefault();\n e.stopPropagation();\n const item = this.getValidItemFromEvent(e);\n const leftMouseButtonCode = 1;\n if (!item ||\n (e.buttons !== leftMouseButtonCode && !(e instanceof TouchEvent))) {\n return;\n }\n this.initialItem = item;\n this.gridster.movingItem = item;\n this.gridster.previewStyle();\n this.gridster.zone.runOutsideAngular(() => {\n this.removeWindowMousemoveListenerFn = this.gridster.renderer.listen('window', 'mousemove', this.emptyCellMouseMove);\n this.removeWindowTouchmoveListenerFn = this.gridster.renderer.listen('window', 'touchmove', this.emptyCellMouseMove);\n });\n this.removeWindowMouseupListenerFn = this.gridster.renderer.listen('window', 'mouseup', this.emptyCellMouseUp);\n this.removeWindowTouchendListenerFn = this.gridster.renderer.listen('window', 'touchend', this.emptyCellMouseUp);\n };\n this.emptyCellMouseMove = (e) => {\n e.preventDefault();\n e.stopPropagation();\n const item = this.getValidItemFromEvent(e, this.initialItem);\n if (!item) {\n return;\n }\n this.gridster.movingItem = item;\n this.gridster.previewStyle();\n };\n this.emptyCellMouseUp = (e) => {\n this.removeWindowMousemoveListenerFn();\n this.removeWindowTouchmoveListenerFn();\n this.removeWindowMouseupListenerFn();\n this.removeWindowTouchendListenerFn();\n const item = this.getValidItemFromEvent(e, this.initialItem);\n if (item) {\n this.gridster.movingItem = item;\n }\n if (this.gridster.options.emptyCellDragCallback &&\n this.gridster.movingItem) {\n this.gridster.options.emptyCellDragCallback(e, this.gridster.movingItem);\n }\n setTimeout(() => {\n this.initialItem = null;\n if (this.gridster) {\n this.gridster.movingItem = null;\n this.gridster.previewStyle();\n }\n });\n this.gridster.cdRef.markForCheck();\n };\n }\n destroy() {\n if (this.gridster.previewStyle) {\n this.gridster.previewStyle();\n }\n this.gridster.movingItem = null;\n this.initialItem = this.gridster = null;\n if (this.removeDocumentDragendListenerFn) {\n this.removeDocumentDragendListenerFn();\n this.removeDocumentDragendListenerFn = null;\n }\n }\n updateOptions() {\n if (this.gridster.$options.enableEmptyCellClick &&\n !this.removeEmptyCellClickListenerFn &&\n this.gridster.options.emptyCellClickCallback) {\n this.removeEmptyCellClickListenerFn = this.gridster.renderer.listen(this.gridster.el, 'click', this.emptyCellClickCb);\n this.removeEmptyCellTouchendListenerFn = this.gridster.renderer.listen(this.gridster.el, 'touchend', this.emptyCellClickCb);\n }\n else if (!this.gridster.$options.enableEmptyCellClick &&\n this.removeEmptyCellClickListenerFn &&\n this.removeEmptyCellTouchendListenerFn) {\n this.removeEmptyCellClickListenerFn();\n this.removeEmptyCellTouchendListenerFn();\n this.removeEmptyCellClickListenerFn = null;\n this.removeEmptyCellTouchendListenerFn = null;\n }\n if (this.gridster.$options.enableEmptyCellContextMenu &&\n !this.removeEmptyCellContextMenuListenerFn &&\n this.gridster.options.emptyCellContextMenuCallback) {\n this.removeEmptyCellContextMenuListenerFn = this.gridster.renderer.listen(this.gridster.el, 'contextmenu', this.emptyCellContextMenuCb);\n }\n else if (!this.gridster.$options.enableEmptyCellContextMenu &&\n this.removeEmptyCellContextMenuListenerFn) {\n this.removeEmptyCellContextMenuListenerFn();\n this.removeEmptyCellContextMenuListenerFn = null;\n }\n if (this.gridster.$options.enableEmptyCellDrop &&\n !this.removeEmptyCellDropListenerFn &&\n this.gridster.options.emptyCellDropCallback) {\n this.removeEmptyCellDropListenerFn = this.gridster.renderer.listen(this.gridster.el, 'drop', this.emptyCellDragDrop);\n this.gridster.zone.runOutsideAngular(() => {\n this.removeEmptyCellDragoverListenerFn = this.gridster.renderer.listen(this.gridster.el, 'dragover', this.emptyCellDragOver);\n });\n this.removeDocumentDragendListenerFn = this.gridster.renderer.listen('document', 'dragend', () => {\n this.gridster.movingItem = null;\n this.gridster.previewStyle();\n });\n }\n else if (!this.gridster.$options.enableEmptyCellDrop &&\n this.removeEmptyCellDropListenerFn &&\n this.removeEmptyCellDragoverListenerFn &&\n this.removeDocumentDragendListenerFn) {\n this.removeEmptyCellDropListenerFn();\n this.removeEmptyCellDragoverListenerFn();\n this.removeDocumentDragendListenerFn();\n this.removeEmptyCellDragoverListenerFn = null;\n this.removeEmptyCellDropListenerFn = null;\n this.removeDocumentDragendListenerFn = null;\n }\n if (this.gridster.$options.enableEmptyCellDrag &&\n !this.removeEmptyCellMousedownListenerFn &&\n this.gridster.options.emptyCellDragCallback) {\n this.removeEmptyCellMousedownListenerFn = this.gridster.renderer.listen(this.gridster.el, 'mousedown', this.emptyCellMouseDown);\n this.removeEmptyCellTouchstartListenerFn = this.gridster.renderer.listen(this.gridster.el, 'touchstart', this.emptyCellMouseDown);\n }\n else if (!this.gridster.$options.enableEmptyCellDrag &&\n this.removeEmptyCellMousedownListenerFn &&\n this.removeEmptyCellTouchstartListenerFn) {\n this.removeEmptyCellMousedownListenerFn();\n this.removeEmptyCellTouchstartListenerFn();\n this.removeEmptyCellMousedownListenerFn = null;\n this.removeEmptyCellTouchstartListenerFn = null;\n }\n }\n getPixelsX(e, rect) {\n const scale = this.gridster.options.scale;\n if (scale) {\n return ((e.clientX - rect.left) / scale +\n this.gridster.el.scrollLeft -\n this.gridster.gridRenderer.getLeftMargin());\n }\n return (e.clientX +\n this.gridster.el.scrollLeft -\n rect.left -\n this.gridster.gridRenderer.getLeftMargin());\n }\n getPixelsY(e, rect) {\n const scale = this.gridster.options.scale;\n if (scale) {\n return ((e.clientY - rect.top) / scale +\n this.gridster.el.scrollTop -\n this.gridster.gridRenderer.getTopMargin());\n }\n return (e.clientY +\n this.gridster.el.scrollTop -\n rect.top -\n this.gridster.gridRenderer.getTopMargin());\n }\n getValidItemFromEvent(e, oldItem) {\n e.preventDefault();\n e.stopPropagation();\n GridsterUtils.checkTouchEvent(e);\n const rect = this.gridster.el.getBoundingClientRect();\n const x = this.getPixelsX(e, rect);\n const y = this.getPixelsY(e, rect);\n const item = {\n x: this.gridster.pixelsToPositionX(x, Math.floor, true),\n y: this.gridster.pixelsToPositionY(y, Math.floor, true),\n cols: this.gridster.$options.defaultItemCols,\n rows: this.gridster.$options.defaultItemRows\n };\n if (oldItem) {\n item.cols = Math.min(Math.abs(oldItem.x - item.x) + 1, this.gridster.$options.emptyCellDragMaxCols);\n item.rows = Math.min(Math.abs(oldItem.y - item.y) + 1, this.gridster.$options.emptyCellDragMaxRows);\n if (oldItem.x < item.x) {\n item.x = oldItem.x;\n }\n else if (oldItem.x - item.x >\n this.gridster.$options.emptyCellDragMaxCols - 1) {\n item.x = this.gridster.movingItem ? this.gridster.movingItem.x : 0;\n }\n if (oldItem.y < item.y) {\n item.y = oldItem.y;\n }\n else if (oldItem.y - item.y >\n this.gridster.$options.emptyCellDragMaxRows - 1) {\n item.y = this.gridster.movingItem ? this.gridster.movingItem.y : 0;\n }\n }\n if (!this.gridster.$options.enableOccupiedCellDrop &&\n this.gridster.checkCollision(item)) {\n return;\n }\n return item;\n }\n}\n\nclass GridsterRenderer {\n constructor(gridster) {\n this.gridster = gridster;\n /**\n * Caches the last grid column styles.\n * This improves the grid responsiveness by caching and reusing the last style object instead of creating a new one.\n */\n this.lastGridColumnStyles = {};\n /**\n * Caches the last grid column styles.\n * This improves the grid responsiveness by caching and reusing the last style object instead of creating a new one.\n */\n this.lastGridRowStyles = {};\n }\n destroy() {\n this.gridster = null;\n }\n updateItem(el, item, renderer) {\n if (this.gridster.mobile) {\n this.clearCellPosition(renderer, el);\n if (this.gridster.$options.keepFixedHeightInMobile) {\n renderer.setStyle(el, 'height', (item.rows - 1) * this.gridster.$options.margin +\n item.rows * this.gridster.$options.fixedRowHeight +\n 'px');\n }\n else {\n renderer.setStyle(el, 'height', (item.rows * this.gridster.curWidth) / item.cols + 'px');\n }\n if (this.gridster.$options.keepFixedWidthInMobile) {\n renderer.setStyle(el, 'width', this.gridster.$options.fixedColWidth + 'px');\n }\n else {\n renderer.setStyle(el, 'width', '');\n }\n renderer.setStyle(el, 'margin-bottom', this.gridster.$options.margin + 'px');\n renderer.setStyle(el, DirTypes.LTR ? 'margin-right' : 'margin-left', '');\n }\n else {\n const x = Math.round(this.gridster.curColWidth * item.x);\n const y = Math.round(this.gridster.curRowHeight * item.y);\n const width = this.gridster.curColWidth * item.cols - this.gridster.$options.margin;\n const height = this.gridster.curRowHeight * item.rows - this.gridster.$options.margin;\n // set the cell style\n this.setCellPosition(renderer, el, x, y);\n renderer.setStyle(el, 'width', width + 'px');\n renderer.setStyle(el, 'height', height + 'px');\n let marginBottom = null;\n let marginRight = null;\n if (this.gridster.$options.outerMargin) {\n if (this.gridster.rows === item.rows + item.y) {\n if (this.gridster.$options.outerMarginBottom !== null) {\n marginBottom = this.gridster.$options.outerMarginBottom + 'px';\n }\n else {\n marginBottom = this.gridster.$options.margin + 'px';\n }\n }\n if (this.gridster.columns === item.cols + item.x) {\n if (this.gridster.$options.outerMarginBottom !== null) {\n marginRight = this.gridster.$options.outerMarginRight + 'px';\n }\n else {\n marginRight = this.gridster.$options.margin + 'px';\n }\n }\n }\n renderer.setStyle(el, 'margin-bottom', marginBottom);\n renderer.setStyle(el, DirTypes.LTR ? 'margin-right' : 'margin-left', marginRight);\n }\n }\n updateGridster() {\n let addClass = '';\n let removeClass1 = '';\n let removeClass2 = '';\n let removeClass3 = '';\n if (this.gridster.$options.gridType === GridType.Fit) {\n addClass = GridType.Fit;\n removeClass1 = GridType.ScrollVertical;\n removeClass2 = GridType.ScrollHorizontal;\n removeClass3 = GridType.Fixed;\n }\n else if (this.gridster.$options.gridType === GridType.ScrollVertical) {\n this.gridster.curRowHeight =\n this.gridster.curColWidth * this.gridster.$options.rowHeightRatio;\n addClass = GridType.ScrollVertical;\n removeClass1 = GridType.Fit;\n removeClass2 = GridType.ScrollHorizontal;\n removeClass3 = GridType.Fixed;\n }\n else if (this.gridster.$options.gridType === GridType.ScrollHorizontal) {\n const widthRatio = this.gridster.$options.rowHeightRatio;\n const calWidthRatio = widthRatio >= 1 ? widthRatio : widthRatio + 1;\n this.gridster.curColWidth = this.gridster.curRowHeight * calWidthRatio;\n addClass = GridType.ScrollHorizontal;\n removeClass1 = GridType.Fit;\n removeClass2 = GridType.ScrollVertical;\n removeClass3 = GridType.Fixed;\n }\n else if (this.gridster.$options.gridType === GridType.Fixed) {\n this.gridster.curColWidth =\n this.gridster.$options.fixedColWidth +\n (this.gridster.$options.ignoreMarginInRow\n ? 0\n : this.gridster.$options.margin);\n this.gridster.curRowHeight =\n this.gridster.$options.fixedRowHeight +\n (this.gridster.$options.ignoreMarginInRow\n ? 0\n : this.gridster.$options.margin);\n addClass = GridType.Fixed;\n removeClass1 = GridType.Fit;\n removeClass2 = GridType.ScrollVertical;\n removeClass3 = GridType.ScrollHorizontal;\n }\n else if (this.gridster.$options.gridType === GridType.VerticalFixed) {\n this.gridster.curRowHeight =\n this.gridster.$options.fixedRowHeight +\n (this.gridster.$options.ignoreMarginInRow\n ? 0\n : this.gridster.$options.margin);\n addClass = GridType.ScrollVertical;\n removeClass1 = GridType.Fit;\n removeClass2 = GridType.ScrollHorizontal;\n removeClass3 = GridType.Fixed;\n }\n else if (this.gridster.$options.gridType === GridType.HorizontalFixed) {\n this.gridster.curColWidth =\n this.gridster.$options.fixedColWidth +\n (this.gridster.$options.ignoreMarginInRow\n ? 0\n : this.gridster.$options.margin);\n addClass = GridType.ScrollHorizontal;\n removeClass1 = GridType.Fit;\n removeClass2 = GridType.ScrollVertical;\n removeClass3 = GridType.Fixed;\n }\n if (this.gridster.mobile ||\n (this.gridster.$options.setGridSize &&\n this.gridster.$options.gridType !== GridType.Fit)) {\n this.gridster.renderer.removeClass(this.gridster.el, addClass);\n }\n else {\n this.gridster.renderer.addClass(this.gridster.el, addClass);\n }\n this.gridster.renderer.removeClass(this.gridster.el, removeClass1);\n this.gridster.renderer.removeClass(this.gridster.el, removeClass2);\n this.gridster.renderer.removeClass(this.gridster.el, removeClass3);\n }\n getGridColumnStyle(i) {\n // generates the new style\n const newPos = {\n left: this.gridster.curColWidth * i,\n width: this.gridster.curColWidth - this.gridster.$options.margin,\n height: this.gridster.gridRows.length * this.gridster.curRowHeight -\n this.gridster.$options.margin,\n style: {}\n };\n newPos.style = {\n ...this.getLeftPosition(newPos.left),\n width: newPos.width + 'px',\n height: newPos.height + 'px'\n };\n // use the last cached style if it has same values as the generated one\n const last = this.lastGridColumnStyles[i];\n if (last &&\n last.left === newPos.left &&\n last.width === newPos.width &&\n last.height === newPos.height) {\n return last.style;\n }\n // cache and set new style\n this.lastGridColumnStyles[i] = newPos;\n return newPos.style;\n }\n getGridRowStyle(i) {\n // generates the new style\n const newPos = {\n top: this.gridster.curRowHeight * i,\n width: this.gridster.gridColumns.length * this.gridster.curColWidth +\n this.gridster.$options.margin,\n height: this.gridster.curRowHeight - this.gridster.$options.margin,\n style: {}\n };\n newPos.style = {\n ...this.getTopPosition(newPos.top),\n width: newPos.width + 'px',\n height: newPos.height + 'px'\n };\n // use the last cached style if it has same values as the generated one\n const last = this.lastGridRowStyles[i];\n if (last &&\n last.top === newPos.top &&\n last.width === newPos.width &&\n last.height === newPos.height) {\n return last.style;\n }\n // cache and set new style\n this.lastGridRowStyles[i] = newPos;\n return newPos.style;\n }\n getLeftPosition(d) {\n const dPosition = this.gridster.$options.dirType === DirTypes.RTL ? -d : d;\n if (this.gridster.$options.useTransformPositioning) {\n return {\n transform: 'translateX(' + dPosition + 'px)'\n };\n }\n else {\n return {\n left: this.getLeftMargin() + dPosition + 'px'\n };\n }\n }\n getTopPosition(d) {\n if (this.gridster.$options.useTransformPositioning) {\n return {\n transform: 'translateY(' + d + 'px)'\n };\n }\n else {\n return {\n top: this.getTopMargin() + d + 'px'\n };\n }\n }\n clearCellPosition(renderer, el) {\n if (this.gridster.$options.useTransformPositioning) {\n renderer.setStyle(el, 'transform', '');\n }\n else {\n renderer.setStyle(el, 'top', '');\n renderer.setStyle(el, 'left', '');\n }\n }\n setCellPosition(renderer, el, x, y) {\n const xPosition = this.gridster.$options.dirType === DirTypes.RTL ? -x : x;\n if (this.gridster.$options.useTransformPositioning) {\n const transform = 'translate3d(' + xPosition + 'px, ' + y + 'px, 0)';\n renderer.setStyle(el, 'transform', transform);\n }\n else {\n renderer.setStyle(el, 'left', this.getLeftMargin() + xPosition + 'px');\n renderer.setStyle(el, 'top', this.getTopMargin() + y + 'px');\n }\n }\n getLeftMargin() {\n if (this.gridster.$options.outerMargin) {\n if (this.gridster.$options.outerMarginLeft !== null) {\n return this.gridster.$options.outerMarginLeft;\n }\n else {\n return this.gridster.$options.margin;\n }\n }\n else {\n return 0;\n }\n }\n getTopMargin() {\n if (this.gridster.$options.outerMargin) {\n if (this.gridster.$options.outerMarginTop !== null) {\n return this.gridster.$options.outerMarginTop;\n }\n else {\n return this.gridster.$options.margin;\n }\n }\n else {\n return 0;\n }\n }\n}\n\nclass GridsterPreviewComponent {\n constructor(el, renderer) {\n this.renderer = renderer;\n this.el = el.nativeElement;\n }\n ngOnInit() {\n this.sub = this.previewStyle$.subscribe(options => this.previewStyle(options));\n }\n ngOnDestroy() {\n if (this.sub) {\n this.sub.unsubscribe();\n }\n }\n previewStyle(item) {\n if (item) {\n this.renderer.setStyle(this.el, 'display', 'block');\n this.gridRenderer.updateItem(this.el, item, this.renderer);\n }\n else {\n this.renderer.setStyle(this.el, 'display', '');\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: GridsterPreviewComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: GridsterPreviewComponent, isStandalone: true, selector: \"gridster-preview\", inputs: { previewStyle$: \"previewStyle$\", gridRenderer: \"gridRenderer\" }, ngImport: i0, template: '', isInline: true, styles: [\"gridster-preview{position:absolute;display:none;background:rgba(0,0,0,.15)}\\n\"], encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: GridsterPreviewComponent, decorators: [{\n type: Component,\n args: [{ selector: 'gridster-preview', template: '', encapsulation: ViewEncapsulation.None, standalone: true, styles: [\"gridster-preview{position:absolute;display:none;background:rgba(0,0,0,.15)}\\n\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { previewStyle$: [{\n type: Input\n }], gridRenderer: [{\n type: Input\n }] } });\n\nclass GridsterComponent {\n constructor(el, renderer, cdRef, zone) {\n this.renderer = renderer;\n this.cdRef = cdRef;\n this.zone = zone;\n this.columns = 0;\n this.rows = 0;\n this.gridColumns = [];\n this.gridRows = [];\n this.previewStyle$ = new EventEmitter();\n this.calculateLayout$ = new Subject();\n this.resize$ = new Subject();\n this.destroy$ = new Subject();\n this.optionsChanged = () => {\n this.setOptions();\n let widgetsIndex = this.grid.length - 1;\n let widget;\n for (; widgetsIndex >= 0; widgetsIndex--) {\n widget = this.grid[widgetsIndex];\n widget.updateOptions();\n }\n this.calculateLayout();\n };\n this.onResize = () => {\n if (this.el.clientWidth) {\n if (this.options.setGridSize) {\n // reset width/height so the size is recalculated afterwards\n this.renderer.setStyle(this.el, 'width', '');\n this.renderer.setStyle(this.el, 'height', '');\n }\n this.setGridSize();\n this.calculateLayout();\n }\n };\n this.getNextPossiblePosition = (newItem, startingFrom = {}) => {\n if (newItem.cols === -1) {\n newItem.cols = this.$options.defaultItemCols;\n }\n if (newItem.rows === -1) {\n newItem.rows = this.$options.defaultItemRows;\n }\n this.setGridDimensions();\n let rowsIndex = startingFrom.y || 0;\n let colsIndex;\n for (; rowsIndex < this.rows; rowsIndex++) {\n newItem.y = rowsIndex;\n colsIndex = startingFrom.x || 0;\n for (; colsIndex < this.columns; colsIndex++) {\n newItem.x = colsIndex;\n if (!this.checkCollision(newItem)) {\n return true;\n }\n }\n }\n const canAddToRows = this.$options.maxRows >= this.rows + newItem.rows;\n const canAddToColumns = this.$options.maxCols >= this.columns + newItem.cols;\n const addToRows = this.rows <= this.columns && canAddToRows;\n if (!addToRows && canAddToColumns) {\n newItem.x = this.columns;\n newItem.y = 0;\n return true;\n }\n else if (canAddToRows) {\n newItem.y = this.rows;\n newItem.x = 0;\n return true;\n }\n return false;\n };\n this.getFirstPossiblePosition = (item) => {\n const tmpItem = Object.assign({}, item);\n this.getNextPossiblePosition(tmpItem);\n return tmpItem;\n };\n this.getLastPossiblePosition = (item) => {\n let farthestItem = { y: 0, x: 0 };\n farthestItem = this.grid.reduce((prev, curr) => {\n const currCoords = {\n y: curr.$item.y + curr.$item.rows - 1,\n x: curr.$item.x + curr.$item.cols - 1\n };\n if (GridsterUtils.compareItems(prev, currCoords) === 1) {\n return currCoords;\n }\n else {\n return prev;\n }\n }, farthestItem);\n const tmpItem = Object.assign({}, item);\n this.getNextPossiblePosition(tmpItem, farthestItem);\n return tmpItem;\n };\n this.el = el.nativeElement;\n this.$options = JSON.parse(JSON.stringify(GridsterConfigService));\n this.mobile = false;\n this.curWidth = 0;\n this.curHeight = 0;\n this.grid = [];\n this.curColWidth = 0;\n this.curRowHeight = 0;\n this.dragInProgress = false;\n this.emptyCell = new GridsterEmptyCell(this);\n this.compact = new GridsterCompact(this);\n this.gridRenderer = new GridsterRenderer(this);\n }\n // ------ Function for swapWhileDragging option\n // identical to checkCollision() except that here we add boundaries.\n static checkCollisionTwoItemsForSwaping(item, item2) {\n // if the cols or rows of the items are 1 , doesnt make any sense to set a boundary. Only if the item is bigger we set a boundary\n const horizontalBoundaryItem1 = item.cols === 1 ? 0 : 1;\n const horizontalBoundaryItem2 = item2.cols === 1 ? 0 : 1;\n const verticalBoundaryItem1 = item.rows === 1 ? 0 : 1;\n const verticalBoundaryItem2 = item2.rows === 1 ? 0 : 1;\n return (item.x + horizontalBoundaryItem1 < item2.x + item2.cols &&\n item.x + item.cols > item2.x + horizontalBoundaryItem2 &&\n item.y + verticalBoundaryItem1 < item2.y + item2.rows &&\n item.y + item.rows > item2.y + verticalBoundaryItem2);\n }\n checkCollisionTwoItems(item, item2) {\n const collision = item.x < item2.x + item2.cols &&\n item.x + item.cols > item2.x &&\n item.y < item2.y + item2.rows &&\n item.y + item.rows > item2.y;\n if (!collision) {\n return false;\n }\n if (!this.$options.allowMultiLayer) {\n return true;\n }\n const defaultLayerIndex = this.$options.defaultLayerIndex;\n const layerIndex = item.layerIndex === undefined ? defaultLayerIndex : item.layerIndex;\n const layerIndex2 = item2.layerIndex === undefined ? defaultLayerIndex : item2.layerIndex;\n return layerIndex === layerIndex2;\n }\n ngOnInit() {\n if (this.options.initCallback) {\n this.options.initCallback(this);\n }\n this.calculateLayout$\n .pipe(debounceTime(0), takeUntil(this.destroy$))\n .subscribe(() => this.calculateLayout());\n this.resize$\n .pipe(\n // Cancel previously scheduled DOM timer if `calculateLayout()` has been called\n // within this time range.\n switchMap(() => timer(100)), takeUntil(this.destroy$))\n .subscribe(() => this.resize());\n }\n ngOnChanges(changes) {\n if (changes.options) {\n this.setOptions();\n this.options.api = {\n optionsChanged: this.optionsChanged,\n resize: this.onResize,\n getNextPossiblePosition: this.getNextPossiblePosition,\n getFirstPossiblePosition: this.getFirstPossiblePosition,\n getLastPossiblePosition: this.getLastPossiblePosition,\n getItemComponent: (item) => this.getItemComponent(item)\n };\n this.columns = this.$options.minCols;\n this.rows = this.$options.minRows + this.$options.addEmptyRowsCount;\n this.setGridSize();\n this.calculateLayout();\n }\n }\n resize() {\n let height;\n let width;\n if (this.$options.gridType === 'fit' && !this.mobile) {\n width = this.el.offsetWidth;\n height = this.el.offsetHeight;\n }\n else {\n width = this.el.clientWidth;\n height = this.el.clientHeight;\n }\n if ((width !== this.curWidth || height !== this.curHeight) &&\n this.checkIfToResize()) {\n this.onResize();\n }\n }\n setOptions() {\n this.$options = GridsterUtils.merge(this.$options, this.options, this.$options);\n if (!this.$options.disableWindowResize && !this.windowResize) {\n this.windowResize = this.renderer.listen('window', 'resize', this.onResize);\n }\n else if (this.$options.disableWindowResize && this.windowResize) {\n this.windowResize();\n this.windowResize = null;\n }\n this.emptyCell.updateOptions();\n }\n ngOnDestroy() {\n this.destroy$.next();\n this.previewStyle$.complete();\n if (this.windowResize) {\n this.windowResize();\n }\n if (this.options && this.options.destroyCallback) {\n this.options.destroyCallback(this);\n }\n if (this.options && this.options.api) {\n this.options.api.resize = undefined;\n this.options.api.optionsChanged = undefined;\n this.options.api.getNextPossiblePosition = undefined;\n this.options.api = undefined;\n }\n this.emptyCell.destroy();\n this.emptyCell = null;\n this.compact.destroy();\n this.compact = null;\n }\n checkIfToResize() {\n const clientWidth = this.el.clientWidth;\n const offsetWidth = this.el.offsetWidth;\n const scrollWidth = this.el.scrollWidth;\n const clientHeight = this.el.clientHeight;\n const offsetHeight = this.el.offsetHeight;\n const scrollHeight = this.el.scrollHeight;\n const verticalScrollPresent = clientWidth < offsetWidth &&\n scrollHeight > offsetHeight &&\n scrollHeight - offsetHeight < offsetWidth - clientWidth;\n const horizontalScrollPresent = clientHeight < offsetHeight &&\n scrollWidth > offsetWidth &&\n scrollWidth - offsetWidth < offsetHeight - clientHeight;\n if (verticalScrollPresent) {\n return false;\n }\n return !horizontalScrollPresent;\n }\n checkIfMobile() {\n if (this.$options.useBodyForBreakpoint) {\n return this.$options.mobileBreakpoint > document.body.clientWidth;\n }\n else {\n return this.$options.mobileBreakpoint > this.curWidth;\n }\n }\n setGridSize() {\n const el = this.el;\n let width;\n let height;\n if (this.$options.setGridSize ||\n (this.$options.gridType === GridType.Fit && !this.mobile)) {\n width = el.offsetWidth;\n height = el.offsetHeight;\n }\n else {\n width = el.clientWidth;\n height = el.clientHeight;\n }\n this.curWidth = width;\n this.curHeight = height;\n }\n setGridDimensions() {\n this.setGridSize();\n if (!this.mobile && this.checkIfMobile()) {\n this.mobile = !this.mobile;\n this.renderer.addClass(this.el, 'mobile');\n }\n else if (this.mobile && !this.checkIfMobile()) {\n this.mobile = !this.mobile;\n this.renderer.removeClass(this.el, 'mobile');\n }\n let rows = this.$options.minRows;\n let columns = this.$options.minCols;\n let widgetsIndex = this.grid.length - 1;\n let widget;\n for (; widgetsIndex >= 0; widgetsIndex--) {\n widget = this.grid[widgetsIndex];\n if (!widget.notPlaced) {\n rows = Math.max(rows, widget.$item.y + widget.$item.rows);\n columns = Math.max(columns, widget.$item.x + widget.$item.cols);\n }\n }\n rows += this.$options.addEmptyRowsCount;\n if (this.columns !== columns || this.rows !== rows) {\n this.columns = columns;\n this.rows = rows;\n if (this.options.gridSizeChangedCallback) {\n this.options.gridSizeChangedCallback(this);\n }\n }\n }\n calculateLayout() {\n if (this.compact) {\n this.compact.checkCompact();\n }\n this.setGridDimensions();\n if (this.$options.outerMargin) {\n let marginWidth = -this.$options.margin;\n if (this.$options.outerMarginLeft !== null) {\n marginWidth += this.$options.outerMarginLeft;\n this.renderer.setStyle(this.el, 'padding-left', this.$options.outerMarginLeft + 'px');\n }\n else {\n marginWidth += this.$options.margin;\n this.renderer.setStyle(this.el, 'padding-left', this.$options.margin + 'px');\n }\n if (this.$options.outerMarginRight !== null) {\n marginWidth += this.$options.outerMarginRight;\n this.renderer.setStyle(this.el, 'padding-right', this.$options.outerMarginRight + 'px');\n }\n else {\n marginWidth += this.$options.margin;\n this.renderer.setStyle(this.el, 'padding-right', this.$options.margin + 'px');\n }\n this.curColWidth = (this.curWidth - marginWidth) / this.columns;\n let marginHeight = -this.$options.margin;\n if (this.$options.outerMarginTop !== null) {\n marginHeight += this.$options.outerMarginTop;\n this.renderer.setStyle(this.el, 'padding-top', this.$options.outerMarginTop + 'px');\n }\n else {\n marginHeight += this.$options.margin;\n this.renderer.setStyle(this.el, 'padding-top', this.$options.margin + 'px');\n }\n if (this.$options.outerMarginBottom !== null) {\n marginHeight += this.$options.outerMarginBottom;\n this.renderer.setStyle(this.el, 'padding-bottom', this.$options.outerMarginBottom + 'px');\n }\n else {\n marginHeight += this.$options.margin;\n this.renderer.setStyle(this.el, 'padding-bottom', this.$options.margin + 'px');\n }\n this.curRowHeight =\n ((this.curHeight - marginHeight) / this.rows) *\n this.$options.rowHeightRatio;\n }\n else {\n this.curColWidth = (this.curWidth + this.$options.margin) / this.columns;\n this.curRowHeight =\n ((this.curHeight + this.$options.margin) / this.rows) *\n this.$options.rowHeightRatio;\n this.renderer.setStyle(this.el, 'padding-left', 0 + 'px');\n this.renderer.setStyle(this.el, 'padding-right', 0 + 'px');\n this.renderer.setStyle(this.el, 'padding-top', 0 + 'px');\n this.renderer.setStyle(this.el, 'padding-bottom', 0 + 'px');\n }\n this.gridRenderer.updateGridster();\n if (this.$options.setGridSize) {\n this.renderer.addClass(this.el, 'gridSize');\n if (!this.mobile) {\n this.renderer.setStyle(this.el, 'width', this.columns * this.curColWidth + this.$options.margin + 'px');\n this.renderer.setStyle(this.el, 'height', this.rows * this.curRowHeight + this.$options.margin + 'px');\n }\n }\n else {\n this.renderer.removeClass(this.el, 'gridSize');\n this.renderer.setStyle(this.el, 'width', '');\n this.renderer.setStyle(this.el, 'height', '');\n }\n this.updateGrid();\n let widgetsIndex = this.grid.length - 1;\n let widget;\n for (; widgetsIndex >= 0; widgetsIndex--) {\n widget = this.grid[widgetsIndex];\n widget.setSize();\n widget.drag.toggle();\n widget.resize.toggle();\n }\n this.resize$.next();\n }\n updateGrid() {\n if (this.$options.displayGrid === 'always' && !this.mobile) {\n this.renderer.addClass(this.el, 'display-grid');\n }\n else if (this.$options.displayGrid === 'onDrag&Resize' &&\n this.dragInProgress) {\n this.renderer.addClass(this.el, 'display-grid');\n }\n else if (this.$options.displayGrid === 'none' ||\n !this.dragInProgress ||\n this.mobile) {\n this.renderer.removeClass(this.el, 'display-grid');\n }\n this.setGridDimensions();\n this.gridColumns.length = GridsterComponent.getNewArrayLength(this.columns, this.curWidth, this.curColWidth);\n this.gridRows.length = GridsterComponent.getNewArrayLength(this.rows, this.curHeight, this.curRowHeight);\n this.cdRef.markForCheck();\n }\n addItem(itemComponent) {\n if (itemComponent.$item.cols === undefined) {\n itemComponent.$item.cols = this.$options.defaultItemCols;\n itemComponent.item.cols = itemComponent.$item.cols;\n itemComponent.itemChanged();\n }\n if (itemComponent.$item.rows === undefined) {\n itemComponent.$item.rows = this.$options.defaultItemRows;\n itemComponent.item.rows = itemComponent.$item.rows;\n itemComponent.itemChanged();\n }\n if (itemComponent.$item.x === -1 || itemComponent.$item.y === -1) {\n this.autoPositionItem(itemComponent);\n }\n else if (this.checkCollision(itemComponent.$item)) {\n if (!this.$options.disableWarnings) {\n itemComponent.notPlaced = true;\n console.warn(\"Can't be placed in the bounds of the dashboard, trying to auto position!/n\" +\n JSON.stringify(itemComponent.item, ['cols', 'rows', 'x', 'y']));\n }\n if (!this.$options.disableAutoPositionOnConflict) {\n this.autoPositionItem(itemComponent);\n }\n else {\n itemComponent.notPlaced = true;\n }\n }\n this.grid.push(itemComponent);\n this.calculateLayout$.next();\n }\n removeItem(itemComponent) {\n this.grid.splice(this.grid.indexOf(itemComponent), 1);\n this.calculateLayout$.next();\n if (this.options.itemRemovedCallback) {\n this.options.itemRemovedCallback(itemComponent.item, itemComponent);\n }\n }\n checkCollision(item) {\n let collision = false;\n if (this.options.itemValidateCallback) {\n collision = !this.options.itemValidateCallback(item);\n }\n if (!collision && this.checkGridCollision(item)) {\n collision = true;\n }\n if (!collision) {\n const c = this.findItemWithItem(item);\n if (c) {\n collision = c;\n }\n }\n return collision;\n }\n checkGridCollision(item) {\n const noNegativePosition = item.y > -1 && item.x > -1;\n const maxGridCols = item.cols + item.x <= this.$options.maxCols;\n const maxGridRows = item.rows + item.y <= this.$options.maxRows;\n const maxItemCols = item.maxItemCols === undefined\n ? this.$options.maxItemCols\n : item.maxItemCols;\n const minItemCols = item.minItemCols === undefined\n ? this.$options.minItemCols\n : item.minItemCols;\n const maxItemRows = item.maxItemRows === undefined\n ? this.$options.maxItemRows\n : item.maxItemRows;\n const minItemRows = item.minItemRows === undefined\n ? this.$options.minItemRows\n : item.minItemRows;\n const inColsLimits = item.cols <= maxItemCols && item.cols >= minItemCols;\n const inRowsLimits = item.rows <= maxItemRows && item.rows >= minItemRows;\n const minAreaLimit = item.minItemArea === undefined\n ? this.$options.minItemArea\n : item.minItemArea;\n const maxAreaLimit = item.maxItemArea === undefined\n ? this.$options.maxItemArea\n : item.maxItemArea;\n const area = item.cols * item.rows;\n const inMinArea = minAreaLimit <= area;\n const inMaxArea = maxAreaLimit >= area;\n return !(noNegativePosition &&\n maxGridCols &&\n maxGridRows &&\n inColsLimits &&\n inRowsLimits &&\n inMinArea &&\n inMaxArea);\n }\n findItemWithItem(item) {\n let widgetsIndex = 0;\n let widget;\n for (; widgetsIndex < this.grid.length; widgetsIndex++) {\n widget = this.grid[widgetsIndex];\n if (widget.$item !== item &&\n this.checkCollisionTwoItems(widget.$item, item)) {\n return widget;\n }\n }\n return false;\n }\n findItemsWithItem(item) {\n const a = [];\n let widgetsIndex = 0;\n let widget;\n for (; widgetsIndex < this.grid.length; widgetsIndex++) {\n widget = this.grid[widgetsIndex];\n if (widget.$item !== item &&\n this.checkCollisionTwoItems(widget.$item, item)) {\n a.push(widget);\n }\n }\n return a;\n }\n autoPositionItem(itemComponent) {\n if (this.getNextPossiblePosition(itemComponent.$item)) {\n itemComponent.notPlaced = false;\n itemComponent.item.x = itemComponent.$item.x;\n itemComponent.item.y = itemComponent.$item.y;\n itemComponent.itemChanged();\n }\n else {\n itemComponent.notPlaced = true;\n if (!this.$options.disableWarnings) {\n console.warn(\"Can't be placed in the bounds of the dashboard!/n\" +\n JSON.stringify(itemComponent.item, ['cols', 'rows', 'x', 'y']));\n }\n }\n }\n pixelsToPositionX(x, roundingMethod, noLimit) {\n const position = roundingMethod(x / this.curColWidth);\n if (noLimit) {\n return position;\n }\n else {\n return Math.max(position, 0);\n }\n }\n pixelsToPositionY(y, roundingMethod, noLimit) {\n const position = roundingMethod(y / this.curRowHeight);\n if (noLimit) {\n return position;\n }\n else {\n return Math.max(position, 0);\n }\n }\n positionXToPixels(x) {\n return x * this.curColWidth;\n }\n positionYToPixels(y) {\n return y * this.curRowHeight;\n }\n getItemComponent(item) {\n return this.grid.find(c => c.item === item);\n }\n // ------ Functions for swapWhileDragging option\n // identical to checkCollision() except that this function calls findItemWithItemForSwaping() instead of findItemWithItem()\n checkCollisionForSwaping(item) {\n let collision = false;\n if (this.options.itemValidateCallback) {\n collision = !this.options.itemValidateCallback(item);\n }\n if (!collision && this.checkGridCollision(item)) {\n collision = true;\n }\n if (!collision) {\n const c = this.findItemWithItemForSwapping(item);\n if (c) {\n collision = c;\n }\n }\n return collision;\n }\n // identical to findItemWithItem() except that this function calls checkCollisionTwoItemsForSwaping() instead of checkCollisionTwoItems()\n findItemWithItemForSwapping(item) {\n let widgetsIndex = this.grid.length - 1;\n let widget;\n for (; widgetsIndex > -1; widgetsIndex--) {\n widget = this.grid[widgetsIndex];\n if (widget.$item !== item &&\n GridsterComponent.checkCollisionTwoItemsForSwaping(widget.$item, item)) {\n return widget;\n }\n }\n return false;\n }\n previewStyle(drag = false) {\n if (this.movingItem) {\n if (this.compact && drag) {\n this.compact.checkCompactItem(this.movingItem);\n }\n this.previewStyle$.next(this.movingItem);\n }\n else {\n this.previewStyle$.next(null);\n }\n }\n // ------ End of functions for swapWhileDragging option\n // eslint-disable-next-line @typescript-eslint/member-ordering\n static getNewArrayLength(length, overallSize, size) {\n const newLength = Math.max(length, Math.floor(overallSize / size));\n if (newLength < 0) {\n return 0;\n }\n if (Number.isFinite(newLength)) {\n return Math.floor(newLength);\n }\n return 0;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: GridsterComponent, deps: [{ token: ElementRef }, { token: Renderer2 }, { token: ChangeDetectorRef }, { token: NgZone }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: GridsterComponent, isStandalone: true, selector: \"gridster\", inputs: { options: \"options\" }, usesOnChanges: true, ngImport: i0, template: \"<div\\n class=\\\"gridster-column\\\"\\n *ngFor=\\\"let column of gridColumns; let i = index;\\\"\\n [ngStyle]=\\\"gridRenderer.getGridColumnStyle(i)\\\"\\n></div>\\n<div\\n class=\\\"gridster-row\\\"\\n *ngFor=\\\"let row of gridRows; let i = index;\\\"\\n [ngStyle]=\\\"gridRenderer.getGridRowStyle(i)\\\"\\n></div>\\n<ng-content></ng-content>\\n<gridster-preview\\n [gridRenderer]=\\\"gridRenderer\\\"\\n [previewStyle$]=\\\"previewStyle$\\\"\\n class=\\\"gridster-preview\\\"\\n></gridster-preview>\\n\", styles: [\"gridster{position:relative;box-sizing:border-box;background:grey;width:100%;height:100%;-webkit-user-select:none;user-select:none;display:block}gridster.fit{overflow-x:hidden;overflow-y:hidden}gridster.scrollVertical{overflow-x:hidden;overflow-y:auto}gridster.scrollHorizontal{overflow-x:auto;overflow-y:hidden}gridster.fixed{overflow:auto}gridster.mobile{overflow-x:hidden;overflow-y:auto}gridster.mobile gridster-item{position:relative}gridster.gridSize{height:initial;width:initial}gridster.gridSize.fit{height:100%;width:100%}gridster .gridster-column,gridster .gridster-row{position:absolute;display:none;transition:.3s;box-sizing:border-box}gridster.display-grid .gridster-column,gridster.display-grid .gridster-row{display:block}gridster .gridster-column{border-left:1px solid white;border-right:1px solid white}gridster .gridster-row{border-top:1px solid white;border-bottom:1px solid white}\\n\"], dependencies: [{ kind: \"directive\", type: NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: NgStyle, selector: \"[ngStyle]\", inputs: [\"ngStyle\"] }, { kind: \"component\", type: GridsterPreviewComponent, selector: \"gridster-preview\", inputs: [\"previewStyle$\", \"gridRenderer\"] }], encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: GridsterComponent, decorators: [{\n type: Component,\n args: [{ selector: 'gridster', encapsulation: ViewEncapsulation.None, standalone: true, imports: [NgForOf, NgStyle, GridsterPreviewComponent], template: \"<div\\n class=\\\"gridster-column\\\"\\n *ngFor=\\\"let column of gridColumns; let i = index;\\\"\\n [ngStyle]=\\\"gridRenderer.getGridColumnStyle(i)\\\"\\n></div>\\n<div\\n class=\\\"gridster-row\\\"\\n *ngFor=\\\"let row of gridRows; let i = index;\\\"\\n [ngStyle]=\\\"gridRenderer.getGridRowStyle(i)\\\"\\n></div>\\n<ng-content></ng-content>\\n<gridster-preview\\n [gridRenderer]=\\\"gridRenderer\\\"\\n [previewStyle$]=\\\"previewStyle$\\\"\\n class=\\\"gridster-preview\\\"\\n></gridster-preview>\\n\", styles: [\"gridster{position:relative;box-sizing:border-box;background:grey;width:100%;height:100%;-webkit-user-select:none;user-select:none;display:block}gridster.fit{overflow-x:hidden;overflow-y:hidden}gridster.scrollVertical{overflow-x:hidden;overflow-y:auto}gridster.scrollHorizontal{overflow-x:auto;overflow-y:hidden}gridster.fixed{overflow:auto}gridster.mobile{overflow-x:hidden;overflow-y:auto}gridster.mobile gridster-item{position:relative}gridster.gridSize{height:initial;width:initial}gridster.gridSize.fit{height:100%;width:100%}gridster .gridster-column,gridster .gridster-row{position:absolute;display:none;transition:.3s;box-sizing:border-box}gridster.display-grid .gridster-column,gridster.display-grid .gridster-row{display:block}gridster .gridster-column{border-left:1px solid white;border-right:1px solid white}gridster .gridster-row{border-top:1px solid white;border-bottom:1px solid white}\\n\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef, decorators: [{\n type: Inject,\n args: [ElementRef]\n }] }, { type: i0.Renderer2, decorators: [{\n type: Inject,\n args: [Renderer2]\n }] }, { type: i0.ChangeDetectorRef, decorators: [{\n type: Inject,\n args: [ChangeDetectorRef]\n }] }, { type: i0.NgZone, decorators: [{\n type: Inject,\n args: [NgZone]\n }] }]; }, propDecorators: { options: [{\n type: Input\n }] } });\n\nclass GridsterPush {\n constructor(gridsterItem) {\n this.iteration = 0;\n this.pushedItems = [];\n this.pushedItemsTemp = [];\n this.pushedItemsTempPath = [];\n this.pushedItemsPath = [];\n this.gridsterItem = gridsterItem;\n this.gridster = gridsterItem.gridster;\n this.tryPattern = {\n fromEast: [this.tryWest, this.trySouth, this.tryNorth, this.tryEast],\n fromWest: [this.tryEast, this.trySouth, this.tryNorth, this.tryWest],\n fromNorth: [this.trySouth, this.tryEast, this.tryWest, this.tryNorth],\n fromSouth: [this.tryNorth, this.tryEast, this.tryWest, this.trySouth]\n };\n this.fromSouth = 'fromSouth';\n this.fromNorth = 'fromNorth';\n this.fromEast = 'fromEast';\n this.fromWest = 'fromWest';\n }\n destroy() {\n this.gridster = this.gridsterItem = null;\n }\n pushItems(direction, disable) {\n if (this.gridster.$options.pushItems && !disable) {\n this.pushedItemsOrder = [];\n this.iteration = 0;\n const pushed = this.push(this.gridsterItem, direction);\n if (!pushed) {\n this.restoreTempItems();\n }\n this.pushedItemsOrder = [];\n this.pushedItemsTemp = [];\n this.pushedItemsTempPath = [];\n return pushed;\n }\n else {\n return false;\n }\n }\n restoreTempItems() {\n let i = this.pushedItemsTemp.length - 1;\n for (; i > -1; i--) {\n this.removeFromTempPushed(this.pushedItemsTemp[i]);\n }\n }\n restoreItems() {\n let i = 0;\n const l = this.pushedItems.length;\n let pushedItem;\n for (; i < l; i++) {\n pushedItem = this.pushedItems[i];\n pushedItem.$item.x = pushedItem.item.x || 0;\n pushedItem.$item.y = pushedItem.item.y || 0;\n pushedItem.setSize();\n }\n this.pushedItems = [];\n this.pushedItemsPath = [];\n }\n setPushedItems() {\n let i = 0;\n const l = this.pushedItems.length;\n let pushedItem;\n for (; i < l; i++) {\n pushedItem = this.pushedItems[i];\n pushedItem.checkItemChanges(pushedItem.$item, pushedItem.item);\n }\n this.pushedItems = [];\n this.pushedItemsPath = [];\n }\n checkPushBack() {\n let i = this.pushedItems.length - 1;\n let change = false;\n for (; i > -1; i--) {\n if (this.checkPushedItem(this.pushedItems[i], i)) {\n change = true;\n }\n }\n if (change) {\n this.checkPushBack();\n }\n }\n push(gridsterItem, direction) {\n if (this.iteration > 100) {\n console.warn('max iteration reached');\n return false;\n }\n if (this.gridster.checkGridCollision(gridsterItem.$item)) {\n return false;\n }\n if (direction === '') {\n return false;\n }\n const conflicts = this.gridster.findItemsWithItem(gridsterItem.$item);\n const invert = direction === this.fromNorth || direction === this.fromWest;\n // sort the list of conflicts in order of [y,x]. Invert when the push is from north and west\n // this is done so they don't conflict witch each other and revert positions, keeping the previous order\n conflicts.sort((a, b) => {\n if (invert) {\n return b.$item.y - a.$item.y || b.$item.x - a.$item.x;\n }\n else {\n return a.$item.y - b.$item.y || a.$item.x - b.$item.x;\n }\n });\n let i = 0;\n let itemCollision;\n let makePush = true;\n const pushedItems = [];\n for (; i < conflicts.length; i++) {\n itemCollision = conflicts[i];\n if (itemCollision === this.gridsterItem) {\n continue;\n }\n if (!itemCollision.canBeDragged()) {\n makePush = false;\n break;\n }\n const p = this.pushedItemsTemp.indexOf(itemCollision);\n if (p > -1 && this.pushedItemsTempPath[p].length > 10) {\n // stop if item is pushed more than 10 times to break infinite loops\n makePush = false;\n break;\n }\n if (this.tryPattern[direction][0].call(this, itemCollision, gridsterItem)) {\n this.pushedItemsOrder.push(itemCollision);\n pushedItems.push(itemCollision);\n }\n else if (this.tryPattern[direction][1].call(this, itemCollision, gridsterItem)) {\n this.pushedItemsOrder.push(itemCollision);\n pushedItems.push(itemCollision);\n }\n else if (this.tryPattern[direction][2].call(this, itemCollision, gridsterItem)) {\n this.pushedItemsOrder.push(itemCollision);\n pushedItems.push(itemCollision);\n }\n else if (this.tryPattern[direction][3].call(this, itemCollision, gridsterItem)) {\n this.pushedItemsOrder.push(itemCollision);\n pushedItems.push(itemCollision);\n }\n else {\n makePush = false;\n break;\n }\n }\n if (!makePush) {\n i = this.pushedItemsOrder.lastIndexOf(pushedItems[0]);\n if (i > -1) {\n let j = this.pushedItemsOrder.length - 1;\n for (; j >= i; j--) {\n itemCollision = this.pushedItemsOrder[j];\n this.pushedItemsOrder.pop();\n this.removeFromTempPushed(itemCollision);\n this.removeFromPushedItem(itemCollision);\n }\n }\n }\n this.iteration++;\n return makePush;\n }\n trySouth(gridsterItemCollide, gridsterItem) {\n if (!this.gridster.$options.pushDirections.south) {\n return false;\n }\n this.addToTempPushed(gridsterItemCollide);\n gridsterItemCollide.$item.y =\n gridsterItem.$item.y + gridsterItem.$item.rows;\n if (this.push(gridsterItemCollide, this.fromNorth)) {\n gridsterItemCollide.setSize();\n this.addToPushed(gridsterItemCollide);\n return true;\n }\n else {\n this.removeFromTempPushed(gridsterItemCollide);\n }\n return false;\n }\n tryNorth(gridsterItemCollide, gridsterItem) {\n if (!this.gridster.$options.pushDirections.north) {\n return false;\n }\n this.addToTempPushed(gridsterItemCollide);\n gridsterItemCollide.$item.y =\n gridsterItem.$item.y - gridsterItemCollide.$item.rows;\n if (this.push(gridsterItemCollide, this.fromSouth)) {\n gridsterItemCollide.setSize();\n this.addToPushed(gridsterItemCollide);\n return true;\n }\n else {\n this.removeFromTempPushed(gridsterItemCollide);\n }\n return false;\n }\n tryEast(gridsterItemCollide, gridsterItem) {\n if (!this.gridster.$options.pushDirections.east) {\n return false;\n }\n this.addToTempPushed(gridsterItemCollide);\n gridsterItemCollide.$item.x =\n gridsterItem.$item.x + gridsterItem.$item.cols;\n if (this.push(gridsterItemCollide, this.fromWest)) {\n gridsterItemCollide.setSize();\n this.addToPushed(gridsterItemCollide);\n return true;\n }\n else {\n this.removeFromTempPushed(gridsterItemCollide);\n }\n return false;\n }\n tryWest(gridsterItemCollide, gridsterItem) {\n if (!this.gridster.$options.pushDirections.west) {\n return false;\n }\n this.addToTempPushed(gridsterItemCollide);\n gridsterItemCollide.$item.x =\n gridsterItem.$item.x - gridsterItemCollide.$item.cols;\n if (this.push(gridsterItemCollide, this.fromEast)) {\n gridsterItemCollide.setSize();\n this.addToPushed(gridsterItemCollide);\n return true;\n }\n else {\n this.removeFromTempPushed(gridsterItemCollide);\n }\n return false;\n }\n addToTempPushed(gridsterItem) {\n let i = this.pushedItemsTemp.indexOf(gridsterItem);\n if (i === -1) {\n i = this.pushedItemsTemp.push(gridsterItem) - 1;\n this.pushedItemsTempPath[i] = [];\n }\n this.pushedItemsTempPath[i].push({\n x: gridsterItem.$item.x,\n y: gridsterItem.$item.y\n });\n }\n removeFromTempPushed(gridsterItem) {\n const i = this.pushedItemsTemp.indexOf(gridsterItem);\n const tempPosition = this.pushedItemsTempPath[i].pop();\n if (!tempPosition) {\n return;\n }\n gridsterItem.$item.x = tempPosition.x;\n gridsterItem.$item.y = tempPosition.y;\n gridsterItem.setSize();\n if (!this.pushedItemsTempPath[i].length) {\n this.pushedItemsTemp.splice(i, 1);\n this.pushedItemsTempPath.splice(i, 1);\n }\n }\n addToPushed(gridsterItem) {\n if (this.pushedItems.indexOf(gridsterItem) < 0) {\n this.pushedItems.push(gridsterItem);\n this.pushedItemsPath.push([\n { x: gridsterItem.item.x || 0, y: gridsterItem.item.y || 0 },\n { x: gridsterItem.$item.x, y: gridsterItem.$item.y }\n ]);\n }\n else {\n const i = this.pushedItems.indexOf(gridsterItem);\n this.pushedItemsPath[i].push({\n x: gridsterItem.$item.x,\n y: gridsterItem.$item.y\n });\n }\n }\n removeFromPushed(i) {\n if (i > -1) {\n this.pushedItems.splice(i, 1);\n this.pushedItemsPath.splice(i, 1);\n }\n }\n removeFromPushedItem(gridsterItem) {\n const i = this.pushedItems.indexOf(gridsterItem);\n if (i > -1) {\n this.pushedItemsPath[i].pop();\n if (!this.pushedItemsPath.length) {\n this.pushedItems.splice(i, 1);\n this.pushedItemsPath.splice(i, 1);\n }\n }\n }\n checkPushedItem(pushedItem, i) {\n const path = this.pushedItemsPath[i];\n let j = path.length - 2;\n let lastPosition;\n let x;\n let y;\n let change = false;\n for (; j > -1; j--) {\n lastPosition = path[j];\n x = pushedItem.$item.x;\n y = pushedItem.$item.y;\n pushedItem.$item.x = lastPosition.x;\n pushedItem.$item.y = lastPosition.y;\n if (!this.gridster.findItemWithItem(pushedItem.$item)) {\n pushedItem.setSize();\n path.splice(j + 1, path.length - j - 1);\n change = true;\n }\n else {\n pushedItem.$item.x = x;\n pushedItem.$item.y = y;\n }\n }\n if (path.length < 2) {\n this.removeFromPushed(i);\n }\n return change;\n }\n}\n\nlet scrollSensitivity;\nlet scrollSpeed;\nconst intervalDuration = 50;\nlet gridsterElement;\nlet resizeEvent;\nlet resizeEventType;\nlet intervalE;\nlet intervalW;\nlet intervalN;\nlet intervalS;\nfunction scroll(gridster, left, top, width, height, event, lastMouse, calculateItemPosition, resize, resizeEventScrollType) {\n scrollSensitivity = gridster.$options.scrollSensitivity;\n scrollSpeed = gridster.$options.scrollSpeed;\n gridsterElement = gridster.el;\n resizeEvent = resize;\n resizeEventType = resizeEventScrollType;\n const offsetWidth = gridsterElement.offsetWidth;\n const offsetHeight = gridsterElement.offsetHeight;\n const offsetLeft = gridsterElement.scrollLeft;\n const offsetTop = gridsterElement.scrollTop;\n const elemTopOffset = top - offsetTop;\n const elemBottomOffset = offsetHeight + offsetTop - top - height;\n const { clientX, clientY } = event;\n if (!gridster.$options.disableScrollVertical) {\n if (lastMouse.clientY < clientY && elemBottomOffset < scrollSensitivity) {\n cancelN();\n if ((resizeEvent && resizeEventType && !resizeEventType.south) ||\n intervalS) {\n return;\n }\n intervalS = startVertical(1, calculateItemPosition, lastMouse);\n }\n else if (lastMouse.clientY > clientY &&\n offsetTop > 0 &&\n elemTopOffset < scrollSensitivity) {\n cancelS();\n if ((resizeEvent && resizeEventType && !resizeEventType.north) ||\n intervalN) {\n return;\n }\n intervalN = startVertical(-1, calculateItemPosition, lastMouse);\n }\n else if (lastMouse.clientY !== clientY) {\n cancelVertical();\n }\n }\n const elemRightOffset = offsetLeft + offsetWidth - left - width;\n const elemLeftOffset = left - offsetLeft;\n if (!gridster.$options.disableScrollHorizontal) {\n if (lastMouse.clientX < clientX && elemRightOffset <= scrollSensitivity) {\n cancelW();\n if ((resizeEvent && resizeEventType && !resizeEventType.east) ||\n intervalE) {\n return;\n }\n intervalE = startHorizontal(1, calculateItemPosition, lastMouse);\n }\n else if (lastMouse.clientX > clientX &&\n offsetLeft > 0 &&\n elemLeftOffset < scrollSensitivity) {\n cancelE();\n if ((resizeEvent && resizeEventType && !resizeEventType.west) ||\n intervalW) {\n return;\n }\n intervalW = startHorizontal(-1, calculateItemPosition, lastMouse);\n }\n else if (lastMouse.clientX !== clientX) {\n cancelHorizontal();\n }\n }\n}\nfunction startVertical(sign, calculateItemPosition, lastMouse) {\n let clientY = lastMouse.clientY;\n return window.setInterval(() => {\n if (!gridsterElement ||\n (sign === -1 && gridsterElement.scrollTop - scrollSpeed < 0)) {\n cancelVertical();\n }\n gridsterElement.scrollTop += sign * scrollSpeed;\n clientY += sign * scrollSpeed;\n calculateItemPosition({ clientX: lastMouse.clientX, clientY });\n }, intervalDuration);\n}\nfunction startHorizontal(sign, calculateItemPosition, lastMouse) {\n let clientX = lastMouse.clientX;\n return window.setInterval(() => {\n if (!gridsterElement ||\n (sign === -1 && gridsterElement.scrollLeft - scrollSpeed < 0)) {\n cancelHorizontal();\n }\n gridsterElement.scrollLeft += sign * scrollSpeed;\n clientX += sign * scrollSpeed;\n calculateItemPosition({ clientX, clientY: lastMouse.clientY });\n }, intervalDuration);\n}\nfunction cancelScroll() {\n cancelHorizontal();\n cancelVertical();\n gridsterElement = null;\n}\nfunction cancelHorizontal() {\n cancelE();\n cancelW();\n}\nfunction cancelVertical() {\n cancelN();\n cancelS();\n}\nfunction cancelE() {\n if (intervalE) {\n clearInterval(intervalE);\n intervalE = 0;\n }\n}\nfunction cancelW() {\n if (intervalW) {\n clearInterval(intervalW);\n intervalW = 0;\n }\n}\nfunction cancelS() {\n if (intervalS) {\n clearInterval(intervalS);\n intervalS = 0;\n }\n}\nfunction cancelN() {\n if (intervalN) {\n clearInterval(intervalN);\n intervalN = 0;\n }\n}\n\nclass GridsterSwap {\n constructor(gridsterItem) {\n this.gridsterItem = gridsterItem;\n this.gridster = gridsterItem.gridster;\n }\n destroy() {\n this.gridster = this.gridsterItem = this.swapedItem = null;\n }\n swapItems() {\n if (this.gridster.$options.swap) {\n this.checkSwapBack();\n this.checkSwap(this.gridsterItem);\n }\n }\n checkSwapBack() {\n if (this.swapedItem) {\n const x = this.swapedItem.$item.x;\n const y = this.swapedItem.$item.y;\n this.swapedItem.$item.x = this.swapedItem.item.x || 0;\n this.swapedItem.$item.y = this.swapedItem.item.y || 0;\n if (this.gridster.checkCollision(this.swapedItem.$item)) {\n this.swapedItem.$item.x = x;\n this.swapedItem.$item.y = y;\n }\n else {\n this.swapedItem.setSize();\n this.gridsterItem.$item.x = this.gridsterItem.item.x || 0;\n this.gridsterItem.$item.y = this.gridsterItem.item.y || 0;\n this.swapedItem = undefined;\n }\n }\n }\n restoreSwapItem() {\n if (this.swapedItem) {\n this.swapedItem.$item.x = this.swapedItem.item.x || 0;\n this.swapedItem.$item.y = this.swapedItem.item.y || 0;\n this.swapedItem.setSize();\n this.swapedItem = undefined;\n }\n }\n setSwapItem() {\n if (this.swapedItem) {\n this.swapedItem.checkItemChanges(this.swapedItem.$item, this.swapedItem.item);\n this.swapedItem = undefined;\n }\n }\n checkSwap(pushedBy) {\n let gridsterItemCollision;\n if (this.gridster.$options.swapWhileDragging) {\n gridsterItemCollision = this.gridster.checkCollisionForSwaping(pushedBy.$item);\n }\n else {\n gridsterItemCollision = this.gridster.checkCollision(pushedBy.$item);\n }\n if (gridsterItemCollision &&\n gridsterItemCollision !== true &&\n gridsterItemCollision.canBeDragged()) {\n const gridsterItemCollide = gridsterItemCollision;\n const copyCollisionX = gridsterItemCollide.$item.x;\n const copyCollisionY = gridsterItemCollide.$item.y;\n const copyX = pushedBy.$item.x;\n const copyY = pushedBy.$item.y;\n const diffX = copyX - copyCollisionX;\n const diffY = copyY - copyCollisionY;\n gridsterItemCollide.$item.x = pushedBy.item.x - diffX;\n gridsterItemCollide.$item.y = pushedBy.item.y - diffY;\n pushedBy.$item.x = gridsterItemCollide.item.x + diffX;\n pushedBy.$item.y = gridsterItemCollide.item.y + diffY;\n if (this.gridster.checkCollision(gridsterItemCollide.$item) ||\n this.gridster.checkCollision(pushedBy.$item)) {\n pushedBy.$item.x = copyX;\n pushedBy.$item.y = copyY;\n gridsterItemCollide.$item.x = copyCollisionX;\n gridsterItemCollide.$item.y = copyCollisionY;\n }\n else {\n gridsterItemCollide.setSize();\n this.swapedItem = gridsterItemCollide;\n if (this.gridster.$options.swapWhileDragging) {\n this.gridsterItem.checkItemChanges(this.gridsterItem.$item, this.gridsterItem.item);\n this.setSwapItem();\n }\n }\n }\n }\n}\n\nconst GRIDSTER_ITEM_RESIZABLE_HANDLER_CLASS = 'gridster-item-resizable-handler';\nvar Direction;\n(function (Direction) {\n Direction[\"UP\"] = \"UP\";\n Direction[\"DOWN\"] = \"DOWN\";\n Direction[\"LEFT\"] = \"LEFT\";\n Direction[\"RIGHT\"] = \"RIGHT\";\n})(Direction || (Direction = {}));\nclass GridsterDraggable {\n constructor(gridsterItem, gridster, zone) {\n this.zone = zone;\n this.collision = false;\n this.dragMove = (e) => {\n e.stopPropagation();\n e.preventDefault();\n GridsterUtils.checkTouchEvent(e);\n // get the directions of the mouse event\n let directions = this.getDirections(e);\n if (this.gridster.options.enableBoundaryControl) {\n // prevent moving up at the top of gridster\n if (directions.includes(Direction.UP) &&\n this.gridsterItem.el.getBoundingClientRect().top <\n this.gridster.el.getBoundingClientRect().top +\n (this.outerMarginTop ?? this.margin)) {\n directions = directions.filter(direction => direction != Direction.UP);\n e = new MouseEvent(e.type, {\n clientX: e.clientX,\n clientY: this.lastMouse.clientY\n });\n }\n // prevent moving left at the leftmost column of gridster\n if (directions.includes(Direction.LEFT) &&\n this.gridsterItem.el.getBoundingClientRect().left <\n this.gridster.el.getBoundingClientRect().left +\n (this.outerMarginLeft ?? this.margin)) {\n directions = directions.filter(direction => direction != Direction.LEFT);\n e = new MouseEvent(e.type, {\n clientX: this.lastMouse.clientX,\n clientY: e.clientY\n });\n }\n // prevent moving right at the rightmost column of gridster\n if (directions.includes(Direction.RIGHT) &&\n this.gridsterItem.el.getBoundingClientRect().right >\n this.gridster.el.getBoundingClientRect().right -\n (this.outerMarginRight ?? this.margin)) {\n directions = directions.filter(direction => direction != Direction.RIGHT);\n e = new MouseEvent(e.type, {\n clientX: this.lastMouse.clientX,\n clientY: e.clientY\n });\n }\n // prevent moving down at the bottom of gridster\n if (directions.includes(Direction.DOWN) &&\n this.gridsterItem.el.getBoundingClientRect().bottom >\n this.gridster.el.getBoundingClientRect().bottom -\n (this.outerMarginBottom ?? this.margin)) {\n directions = directions.filter(direction => direction != Direction.DOWN);\n e = new MouseEvent(e.type, {\n clientX: e.clientX,\n clientY: this.lastMouse.clientY\n });\n }\n }\n // do not change item location when there is no direction to go\n if (directions.length) {\n this.offsetLeft =\n this.gridster.el.scrollLeft - this.gridster.el.offsetLeft;\n this.offsetTop = this.gridster.el.scrollTop - this.gridster.el.offsetTop;\n scroll(this.gridster, this.left, this.top, this.width, this.height, e, this.lastMouse, this.calculateItemPositionFromMousePosition);\n this.calculateItemPositionFromMousePosition(e);\n }\n };\n this.calculateItemPositionFromMousePosition = (e) => {\n if (this.gridster.options.scale) {\n this.calculateItemPositionWithScale(e, this.gridster.options.scale);\n }\n else {\n this.calculateItemPositionWithoutScale(e);\n }\n this.calculateItemPosition();\n this.lastMouse.clientX = e.clientX;\n this.lastMouse.clientY = e.clientY;\n this.zone.run(() => {\n this.gridster.updateGrid();\n });\n };\n this.dragStop = (e) => {\n e.stopPropagation();\n e.preventDefault();\n cancelScroll();\n this.cancelOnBlur();\n this.mousemove();\n this.mouseup();\n this.mouseleave();\n this.touchmove();\n this.touchend();\n this.touchcancel();\n this.gridsterItem.renderer.removeClass(this.gridsterItem.el, 'gridster-item-moving');\n this.gridster.dragInProgress = false;\n this.gridster.updateGrid();\n this.path = [];\n if (this.gridster.options.draggable &&\n this.gridster.options.draggable.stop) {\n Promise.resolve(this.gridster.options.draggable.stop(this.gridsterItem.item, this.gridsterItem, e)).then(this.makeDrag, this.cancelDrag);\n }\n else {\n this.makeDrag();\n }\n setTimeout(() => {\n if (this.gridster) {\n this.gridster.movingItem = null;\n this.gridster.previewStyle(true);\n }\n });\n };\n this.cancelDrag = () => {\n this.gridsterItem.$item.x = this.gridsterItem.item.x || 0;\n this.gridsterItem.$item.y = this.gridsterItem.item.y || 0;\n this.gridsterItem.setSize();\n if (this.push) {\n this.push.restoreItems();\n }\n if (this.swap) {\n this.swap.restoreSwapItem();\n }\n if (this.push) {\n this.push.destroy();\n this.push = null;\n }\n if (this.swap) {\n this.swap.destroy();\n this.swap = null;\n }\n };\n this.makeDrag = () => {\n if (this.gridster.$options.draggable.dropOverItems &&\n this.gridster.options.draggable &&\n this.gridster.options.draggable.dropOverItemsCallback &&\n this.collision &&\n this.collision !== true &&\n this.collision.$item) {\n this.gridster.options.draggable.dropOverItemsCallback(this.gridsterItem.item, this.collision.item, this.gridster);\n }\n this.collision = false;\n this.gridsterItem.setSize();\n this.gridsterItem.checkItemChanges(this.gridsterItem.$item, this.gridsterItem.item);\n if (this.push) {\n this.push.setPushedItems();\n }\n if (this.swap) {\n this.swap.setSwapItem();\n }\n if (this.push) {\n this.push.destroy();\n this.push = null;\n }\n if (this.swap) {\n this.swap.destroy();\n this.swap = null;\n }\n };\n this.dragStartDelay = (e) => {\n const target = e.target;\n if (target.classList.contains(GRIDSTER_ITEM_RESIZABLE_HANDLER_CLASS)) {\n return;\n }\n if (GridsterUtils.checkContentClassForEvent(this.gridster, e)) {\n return;\n }\n GridsterUtils.checkTouchEvent(e);\n if (!this.gridster.$options.draggable.delayStart) {\n this.dragStart(e);\n return;\n }\n const timeout = setTimeout(() => {\n this.dragStart(e);\n cancelDrag();\n }, this.gridster.$options.draggable.delayStart);\n const cancelMouse = this.gridsterItem.renderer.listen('document', 'mouseup', cancelDrag);\n const cancelMouseLeave = this.gridsterItem.renderer.listen('document', 'mouseleave', cancelDrag);\n const cancelOnBlur = this.gridsterItem.renderer.listen('window', 'blur', cancelDrag);\n const cancelTouchMove = this.gridsterItem.renderer.listen('document', 'touchmove', cancelMove);\n const cancelTouchEnd = this.gridsterItem.renderer.listen('document', 'touchend', cancelDrag);\n const cancelTouchCancel = this.gridsterItem.renderer.listen('document', 'touchcancel', cancelDrag);\n function cancelMove(eventMove) {\n GridsterUtils.checkTouchEvent(eventMove);\n if (Math.abs(eventMove.clientX - e.clientX) > 9 ||\n Math.abs(eventMove.clientY - e.clientY) > 9) {\n cancelDrag();\n }\n }\n function cancelDrag() {\n clearTimeout(timeout);\n cancelOnBlur();\n cancelMouse();\n cancelMouseLeave();\n cancelTouchMove();\n cancelTouchEnd();\n cancelTouchCancel();\n }\n };\n this.gridsterItem = gridsterItem;\n this.gridster = gridster;\n this.lastMouse = {\n clientX: 0,\n clientY: 0\n };\n this.path = [];\n }\n destroy() {\n if (this.gridster.previewStyle) {\n this.gridster.previewStyle(true);\n }\n this.gridsterItem = this.gridster = this.collision = null;\n if (this.mousedown) {\n this.mousedown();\n this.touchstart();\n }\n }\n dragStart(e) {\n if (e.which && e.which !== 1) {\n return;\n }\n if (this.gridster.options.draggable &&\n this.gridster.options.draggable.start) {\n this.gridster.options.draggable.start(this.gridsterItem.item, this.gridsterItem, e);\n }\n e.stopPropagation();\n e.preventDefault();\n this.zone.runOutsideAngular(() => {\n this.mousemove = this.gridsterItem.renderer.listen('document', 'mousemove', this.dragMove);\n this.touchmove = this.gridster.renderer.listen(this.gridster.el, 'touchmove', this.dragMove);\n });\n this.mouseup = this.gridsterItem.renderer.listen('document', 'mouseup', this.dragStop);\n this.mouseleave = this.gridsterItem.renderer.listen('document', 'mouseleave', this.dragStop);\n this.cancelOnBlur = this.gridsterItem.renderer.listen('window', 'blur', this.dragStop);\n this.touchend = this.gridsterItem.renderer.listen('document', 'touchend', this.dragStop);\n this.touchcancel = this.gridsterItem.renderer.listen('document', 'touchcancel', this.dragStop);\n this.gridsterItem.renderer.addClass(this.gridsterItem.el, 'gridster-item-moving');\n this.margin = this.gridster.$options.margin;\n this.outerMarginTop = this.gridster.$options.outerMarginTop;\n this.outerMarginRight = this.gridster.$options.outerMarginRight;\n this.outerMarginBottom = this.gridster.$options.outerMarginBottom;\n this.outerMarginLeft = this.gridster.$options.outerMarginLeft;\n this.offsetLeft = this.gridster.el.scrollLeft - this.gridster.el.offsetLeft;\n this.offsetTop = this.gridster.el.scrollTop - this.gridster.el.offsetTop;\n this.left = this.gridsterItem.left - this.margin;\n this.top = this.gridsterItem.top - this.margin;\n this.originalClientX = e.clientX;\n this.originalClientY = e.clientY;\n this.width = this.gridsterItem.width;\n this.height = this.gridsterItem.height;\n if (this.gridster.$options.dirType === DirTypes.RTL) {\n this.diffLeft =\n e.clientX - this.gridster.el.scrollWidth + this.gridsterItem.left;\n }\n else {\n this.diffLeft = e.clientX + this.offsetLeft - this.margin - this.left;\n }\n this.diffTop = e.clientY + this.offsetTop - this.margin - this.top;\n this.gridster.movingItem = this.gridsterItem.$item;\n this.gridster.previewStyle(true);\n this.push = new GridsterPush(this.gridsterItem);\n this.swap = new GridsterSwap(this.gridsterItem);\n this.gridster.dragInProgress = true;\n this.gridster.updateGrid();\n this.path.push({\n x: this.gridsterItem.item.x || 0,\n y: this.gridsterItem.item.y || 0\n });\n }\n calculateItemPositionWithScale(e, scale) {\n if (this.gridster.$options.dirType === DirTypes.RTL) {\n this.left =\n this.gridster.el.scrollWidth -\n this.originalClientX +\n (e.clientX - this.originalClientX) / scale +\n this.diffLeft;\n }\n else {\n this.left =\n this.originalClientX +\n (e.clientX - this.originalClientX) / scale +\n this.offsetLeft -\n this.diffLeft;\n }\n this.top =\n this.originalClientY +\n (e.clientY - this.originalClientY) / scale +\n this.offsetTop -\n this.diffTop;\n }\n calculateItemPositionWithoutScale(e) {\n if (this.gridster.$options.dirType === DirTypes.RTL) {\n this.left = this.gridster.el.scrollWidth - e.clientX + this.diffLeft;\n }\n else {\n this.left = e.clientX + this.offsetLeft - this.diffLeft;\n }\n this.top = e.clientY + this.offsetTop - this.diffTop;\n }\n calculateItemPosition() {\n this.gridster.movingItem = this.gridsterItem.$item;\n this.positionX = this.gridster.pixelsToPositionX(this.left, Math.round);\n this.positionY = this.gridster.pixelsToPositionY(this.top, Math.round);\n this.positionXBackup = this.gridsterItem.$item.x;\n this.positionYBackup = this.gridsterItem.$item.y;\n this.gridsterItem.$item.x = this.positionX;\n if (this.gridster.checkGridCollision(this.gridsterItem.$item)) {\n this.gridsterItem.$item.x = this.positionXBackup;\n }\n this.gridsterItem.$item.y = this.positionY;\n if (this.gridster.checkGridCollision(this.gridsterItem.$item)) {\n this.gridsterItem.$item.y = this.positionYBackup;\n }\n this.gridster.gridRenderer.setCellPosition(this.gridsterItem.renderer, this.gridsterItem.el, this.left, this.top);\n if (this.positionXBackup !== this.gridsterItem.$item.x ||\n this.positionYBackup !== this.gridsterItem.$item.y) {\n const lastPosition = this.path[this.path.length - 1];\n let direction = '';\n if (lastPosition.x < this.gridsterItem.$item.x) {\n direction = this.push.fromWest;\n }\n else if (lastPosition.x > this.gridsterItem.$item.x) {\n direction = this.push.fromEast;\n }\n else if (lastPosition.y < this.gridsterItem.$item.y) {\n direction = this.push.fromNorth;\n }\n else if (lastPosition.y > this.gridsterItem.$item.y) {\n direction = this.push.fromSouth;\n }\n this.push.pushItems(direction, this.gridster.$options.disablePushOnDrag);\n this.swap.swapItems();\n this.collision = this.gridster.checkCollision(this.gridsterItem.$item);\n if (this.collision) {\n this.gridsterItem.$item.x = this.positionXBackup;\n this.gridsterItem.$item.y = this.positionYBackup;\n if (this.gridster.$options.draggable.dropOverItems &&\n this.collision !== true &&\n this.collision.$item) {\n this.gridster.movingItem = null;\n }\n }\n else {\n this.path.push({\n x: this.gridsterItem.$item.x,\n y: this.gridsterItem.$item.y\n });\n }\n this.push.checkPushBack();\n }\n else {\n // reset the collision when you drag and drop on an adjacent cell that is not empty\n // and go back to the cell you were in from the beginning,\n // this is to prevent `dropOverItemsCallback'\n this.collision = false;\n }\n this.gridster.previewStyle(true);\n }\n toggle() {\n const enableDrag = this.gridsterItem.canBeDragged();\n if (!this.enabled && enableDrag) {\n this.enabled = !this.enabled;\n this.mousedown = this.gridsterItem.renderer.listen(this.gridsterItem.el, 'mousedown', this.dragStartDelay);\n this.touchstart = this.gridsterItem.renderer.listen(this.gridsterItem.el, 'touchstart', this.dragStartDelay);\n }\n else if (this.enabled && !enableDrag) {\n this.enabled = !this.enabled;\n this.mousedown();\n this.touchstart();\n }\n }\n /**\n * Returns the list of directions for given mouse event\n * @param e Mouse event\n * */\n getDirections(e) {\n const directions = [];\n if (this.lastMouse.clientX === 0 && this.lastMouse.clientY === 0) {\n this.lastMouse.clientY = e.clientY;\n this.lastMouse.clientX = e.clientX;\n }\n if (this.lastMouse.clientY > e.clientY) {\n directions.push(Direction.UP);\n }\n if (this.lastMouse.clientY < e.clientY) {\n directions.push(Direction.DOWN);\n }\n if (this.lastMouse.clientX < e.clientX) {\n directions.push(Direction.RIGHT);\n }\n if (this.lastMouse.clientX > e.clientX) {\n directions.push(Direction.LEFT);\n }\n return directions;\n }\n}\n\nclass GridsterPushResize {\n constructor(gridsterItem) {\n this.pushedItems = [];\n this.pushedItemsPath = [];\n this.gridsterItem = gridsterItem;\n this.gridster = gridsterItem.gridster;\n this.tryPattern = {\n fromEast: this.tryWest,\n fromWest: this.tryEast,\n fromNorth: this.trySouth,\n fromSouth: this.tryNorth\n };\n this.fromSouth = 'fromSouth';\n this.fromNorth = 'fromNorth';\n this.fromEast = 'fromEast';\n this.fromWest = 'fromWest';\n }\n destroy() {\n this.gridster = this.gridsterItem = null;\n }\n pushItems(direction) {\n if (this.gridster.$options.pushResizeItems) {\n return this.push(this.gridsterItem, direction);\n }\n else {\n return false;\n }\n }\n restoreItems() {\n let i = 0;\n const l = this.pushedItems.length;\n let pushedItem;\n for (; i < l; i++) {\n pushedItem = this.pushedItems[i];\n pushedItem.$item.x = pushedItem.item.x || 0;\n pushedItem.$item.y = pushedItem.item.y || 0;\n pushedItem.$item.cols = pushedItem.item.cols || 1;\n pushedItem.$item.row = pushedItem.item.row || 1;\n pushedItem.setSize();\n }\n this.pushedItems = [];\n this.pushedItemsPath = [];\n }\n setPushedItems() {\n let i = 0;\n const l = this.pushedItems.length;\n let pushedItem;\n for (; i < l; i++) {\n pushedItem = this.pushedItems[i];\n pushedItem.checkItemChanges(pushedItem.$item, pushedItem.item);\n }\n this.pushedItems = [];\n this.pushedItemsPath = [];\n }\n checkPushBack() {\n let i = this.pushedItems.length - 1;\n let change = false;\n for (; i > -1; i--) {\n if (this.checkPushedItem(this.pushedItems[i], i)) {\n change = true;\n }\n }\n if (change) {\n this.checkPushBack();\n }\n }\n push(gridsterItem, direction) {\n const gridsterItemCollision = this.gridster.checkCollision(gridsterItem.$item);\n if (gridsterItemCollision &&\n gridsterItemCollision !== true &&\n gridsterItemCollision !== this.gridsterItem &&\n gridsterItemCollision.canBeResized()) {\n if (this.tryPattern[direction].call(this, gridsterItemCollision, gridsterItem, direction)) {\n return true;\n }\n }\n else if (gridsterItemCollision === false) {\n return true;\n }\n return false;\n }\n trySouth(gridsterItemCollide, gridsterItem, direction) {\n const backUpY = gridsterItemCollide.$item.y;\n const backUpRows = gridsterItemCollide.$item.rows;\n gridsterItemCollide.$item.y =\n gridsterItem.$item.y + gridsterItem.$item.rows;\n gridsterItemCollide.$item.rows =\n backUpRows + backUpY - gridsterItemCollide.$item.y;\n if (!this.gridster.checkCollisionTwoItems(gridsterItemCollide.$item, gridsterItem.$item) &&\n !this.gridster.checkGridCollision(gridsterItemCollide.$item)) {\n gridsterItemCollide.setSize();\n this.addToPushed(gridsterItemCollide);\n this.push(gridsterItem, direction);\n return true;\n }\n else {\n gridsterItemCollide.$item.y = backUpY;\n gridsterItemCollide.$item.rows = backUpRows;\n }\n return false;\n }\n tryNorth(gridsterItemCollide, gridsterItem, direction) {\n const backUpRows = gridsterItemCollide.$item.rows;\n gridsterItemCollide.$item.rows =\n gridsterItem.$item.y - gridsterItemCollide.$item.y;\n if (!this.gridster.checkCollisionTwoItems(gridsterItemCollide.$item, gridsterItem.$item) &&\n !this.gridster.checkGridCollision(gridsterItemCollide.$item)) {\n gridsterItemCollide.setSize();\n this.addToPushed(gridsterItemCollide);\n this.push(gridsterItem, direction);\n return true;\n }\n else {\n gridsterItemCollide.$item.rows = backUpRows;\n }\n return false;\n }\n tryEast(gridsterItemCollide, gridsterItem, direction) {\n const backUpX = gridsterItemCollide.$item.x;\n const backUpCols = gridsterItemCollide.$item.cols;\n gridsterItemCollide.$item.x =\n gridsterItem.$item.x + gridsterItem.$item.cols;\n gridsterItemCollide.$item.cols =\n backUpCols + backUpX - gridsterItemCollide.$item.x;\n if (!this.gridster.checkCollisionTwoItems(gridsterItemCollide.$item, gridsterItem.$item) &&\n !this.gridster.checkGridCollision(gridsterItemCollide.$item)) {\n gridsterItemCollide.setSize();\n this.addToPushed(gridsterItemCollide);\n this.push(gridsterItem, direction);\n return true;\n }\n else {\n gridsterItemCollide.$item.x = backUpX;\n gridsterItemCollide.$item.cols = backUpCols;\n }\n return false;\n }\n tryWest(gridsterItemCollide, gridsterItem, direction) {\n const backUpCols = gridsterItemCollide.$item.cols;\n gridsterItemCollide.$item.cols =\n gridsterItem.$item.x - gridsterItemCollide.$item.x;\n if (!this.gridster.checkCollisionTwoItems(gridsterItemCollide.$item, gridsterItem.$item) &&\n !this.gridster.checkGridCollision(gridsterItemCollide.$item)) {\n gridsterItemCollide.setSize();\n this.addToPushed(gridsterItemCollide);\n this.push(gridsterItem, direction);\n return true;\n }\n else {\n gridsterItemCollide.$item.cols = backUpCols;\n }\n return false;\n }\n addToPushed(gridsterItem) {\n if (this.pushedItems.indexOf(gridsterItem) < 0) {\n this.pushedItems.push(gridsterItem);\n this.pushedItemsPath.push([\n {\n x: gridsterItem.item.x || 0,\n y: gridsterItem.item.y || 0,\n cols: gridsterItem.item.cols || 0,\n rows: gridsterItem.item.rows || 0\n },\n {\n x: gridsterItem.$item.x,\n y: gridsterItem.$item.y,\n cols: gridsterItem.$item.cols,\n rows: gridsterItem.$item.rows\n }\n ]);\n }\n else {\n const i = this.pushedItems.indexOf(gridsterItem);\n this.pushedItemsPath[i].push({\n x: gridsterItem.$item.x,\n y: gridsterItem.$item.y,\n cols: gridsterItem.$item.cols,\n rows: gridsterItem.$item.rows\n });\n }\n }\n removeFromPushed(i) {\n if (i > -1) {\n this.pushedItems.splice(i, 1);\n this.pushedItemsPath.splice(i, 1);\n }\n }\n checkPushedItem(pushedItem, i) {\n const path = this.pushedItemsPath[i];\n let j = path.length - 2;\n let lastPosition;\n let x;\n let y;\n let cols;\n let rows;\n for (; j > -1; j--) {\n lastPosition = path[j];\n x = pushedItem.$item.x;\n y = pushedItem.$item.y;\n cols = pushedItem.$item.cols;\n rows = pushedItem.$item.rows;\n pushedItem.$item.x = lastPosition.x;\n pushedItem.$item.y = lastPosition.y;\n pushedItem.$item.cols = lastPosition.cols;\n pushedItem.$item.rows = lastPosition.rows;\n if (!this.gridster.findItemWithItem(pushedItem.$item)) {\n pushedItem.setSize();\n path.splice(j + 1, path.length - 1 - j);\n }\n else {\n pushedItem.$item.x = x;\n pushedItem.$item.y = y;\n pushedItem.$item.cols = cols;\n pushedItem.$item.rows = rows;\n }\n }\n if (path.length < 2) {\n this.removeFromPushed(i);\n return true;\n }\n return false;\n }\n}\n\nclass GridsterResizable {\n constructor(gridsterItem, gridster, zone) {\n this.zone = zone;\n /**\n * The direction function may reference any of the `GridsterResizable` class methods, that are\n * responsible for gridster resize when the `dragmove` event is being handled. E.g. it may reference\n * the `handleNorth` method when the north handle is pressed and moved by a mouse.\n */\n this.directionFunction = null;\n this.dragMove = (e) => {\n if (this.directionFunction === null) {\n throw new Error('The `directionFunction` has not been set before calling `dragMove`.');\n }\n e.stopPropagation();\n e.preventDefault();\n GridsterUtils.checkTouchEvent(e);\n this.offsetTop = this.gridster.el.scrollTop - this.gridster.el.offsetTop;\n this.offsetLeft = this.gridster.el.scrollLeft - this.gridster.el.offsetLeft;\n scroll(this.gridster, this.left, this.top, this.width, this.height, e, this.lastMouse, this.directionFunction, true, this.resizeEventScrollType);\n const scale = this.gridster.options.scale || 1;\n this.directionFunction({\n clientX: this.originalClientX + (e.clientX - this.originalClientX) / scale,\n clientY: this.originalClientY + (e.clientY - this.originalClientY) / scale\n });\n this.lastMouse.clientX = e.clientX;\n this.lastMouse.clientY = e.clientY;\n this.zone.run(() => {\n this.gridster.updateGrid();\n });\n };\n this.dragStop = (e) => {\n e.stopPropagation();\n e.preventDefault();\n cancelScroll();\n this.mousemove();\n this.mouseup();\n this.mouseleave();\n this.cancelOnBlur();\n this.touchmove();\n this.touchend();\n this.touchcancel();\n this.gridster.dragInProgress = false;\n this.gridster.updateGrid();\n if (this.gridster.options.resizable &&\n this.gridster.options.resizable.stop) {\n Promise.resolve(this.gridster.options.resizable.stop(this.gridsterItem.item, this.gridsterItem, e)).then(this.makeResize, this.cancelResize);\n }\n else {\n this.makeResize();\n }\n setTimeout(() => {\n this.gridsterItem.renderer.removeClass(this.gridsterItem.el, 'gridster-item-resizing');\n if (this.gridster) {\n this.gridster.movingItem = null;\n this.gridster.previewStyle();\n }\n });\n };\n this.cancelResize = () => {\n this.gridsterItem.$item.cols = this.gridsterItem.item.cols || 1;\n this.gridsterItem.$item.rows = this.gridsterItem.item.rows || 1;\n this.gridsterItem.$item.x = this.gridsterItem.item.x || 0;\n this.gridsterItem.$item.y = this.gridsterItem.item.y || 0;\n this.gridsterItem.setSize();\n this.push.restoreItems();\n this.pushResize.restoreItems();\n this.push.destroy();\n this.push = null;\n this.pushResize.destroy();\n this.pushResize = null;\n };\n this.makeResize = () => {\n this.gridsterItem.setSize();\n this.gridsterItem.checkItemChanges(this.gridsterItem.$item, this.gridsterItem.item);\n this.push.setPushedItems();\n this.pushResize.setPushedItems();\n this.push.destroy();\n this.push = null;\n this.pushResize.destroy();\n this.pushResize = null;\n };\n this.handleNorth = (e) => {\n this.top = e.clientY + this.offsetTop - this.diffTop;\n this.height = this.bottom - this.top;\n if (this.minHeight > this.height) {\n this.height = this.minHeight;\n this.top = this.bottom - this.minHeight;\n }\n else if (this.gridster.options.enableBoundaryControl) {\n this.top = Math.max(0, this.top);\n this.height = this.bottom - this.top;\n }\n const marginTop = this.gridster.options.pushItems ? this.margin : 0;\n this.newPosition = this.gridster.pixelsToPositionY(this.top + marginTop, Math.floor);\n if (this.gridsterItem.$item.y !== this.newPosition) {\n this.itemBackup[1] = this.gridsterItem.$item.y;\n this.itemBackup[3] = this.gridsterItem.$item.rows;\n this.gridsterItem.$item.rows +=\n this.gridsterItem.$item.y - this.newPosition;\n this.gridsterItem.$item.y = this.newPosition;\n this.pushResize.pushItems(this.pushResize.fromSouth);\n this.push.pushItems(this.push.fromSouth, this.gridster.$options.disablePushOnResize);\n if (this.gridster.checkCollision(this.gridsterItem.$item)) {\n this.gridsterItem.$item.y = this.itemBackup[1];\n this.gridsterItem.$item.rows = this.itemBackup[3];\n this.top = this.gridster.positionYToPixels(this.gridsterItem.$item.y);\n this.setItemTop(this.gridster.positionYToPixels(this.gridsterItem.$item.y));\n this.setItemHeight(this.gridster.positionYToPixels(this.gridsterItem.$item.rows) -\n this.margin);\n return;\n }\n else {\n this.gridster.previewStyle();\n }\n this.pushResize.checkPushBack();\n this.push.checkPushBack();\n }\n this.setItemTop(this.top);\n this.setItemHeight(this.height);\n };\n this.handleWest = (e) => {\n const clientX = this.gridster.$options.dirType === DirTypes.RTL\n ? this.originalClientX + (this.originalClientX - e.clientX)\n : e.clientX;\n this.left = clientX + this.offsetLeft - this.diffLeft;\n this.width = this.right - this.left;\n if (this.minWidth > this.width) {\n this.width = this.minWidth;\n this.left = this.right - this.minWidth;\n }\n else if (this.gridster.options.enableBoundaryControl) {\n this.left = Math.max(0, this.left);\n this.width = this.right - this.left;\n }\n const marginLeft = this.gridster.options.pushItems ? this.margin : 0;\n this.newPosition = this.gridster.pixelsToPositionX(this.left + marginLeft, Math.floor);\n if (this.gridsterItem.$item.x !== this.newPosition) {\n this.itemBackup[0] = this.gridsterItem.$item.x;\n this.itemBackup[2] = this.gridsterItem.$item.cols;\n this.gridsterItem.$item.cols +=\n this.gridsterItem.$item.x - this.newPosition;\n this.gridsterItem.$item.x = this.newPosition;\n this.pushResize.pushItems(this.pushResize.fromEast);\n this.push.pushItems(this.push.fromEast, this.gridster.$options.disablePushOnResize);\n if (this.gridster.checkCollision(this.gridsterItem.$item)) {\n this.gridsterItem.$item.x = this.itemBackup[0];\n this.gridsterItem.$item.cols = this.itemBackup[2];\n this.left = this.gridster.positionXToPixels(this.gridsterItem.$item.x);\n this.setItemLeft(this.gridster.positionXToPixels(this.gridsterItem.$item.x));\n this.setItemWidth(this.gridster.positionXToPixels(this.gridsterItem.$item.cols) -\n this.margin);\n return;\n }\n else {\n this.gridster.previewStyle();\n }\n this.pushResize.checkPushBack();\n this.push.checkPushBack();\n }\n this.setItemLeft(this.left);\n this.setItemWidth(this.width);\n };\n this.handleSouth = (e) => {\n this.height = e.clientY + this.offsetTop - this.diffBottom - this.top;\n if (this.minHeight > this.height) {\n this.height = this.minHeight;\n }\n this.bottom = this.top + this.height;\n if (this.gridster.options.enableBoundaryControl) {\n const margin = this.outerMarginBottom ?? this.margin;\n const box = this.gridster.el.getBoundingClientRect();\n this.bottom = Math.min(this.bottom, box.bottom - box.top - 2 * margin);\n this.height = this.bottom - this.top;\n }\n const marginBottom = this.gridster.options.pushItems ? 0 : this.margin;\n this.newPosition = this.gridster.pixelsToPositionY(this.bottom + marginBottom, Math.ceil);\n if (this.gridsterItem.$item.y + this.gridsterItem.$item.rows !==\n this.newPosition) {\n this.itemBackup[3] = this.gridsterItem.$item.rows;\n this.gridsterItem.$item.rows =\n this.newPosition - this.gridsterItem.$item.y;\n this.pushResize.pushItems(this.pushResize.fromNorth);\n this.push.pushItems(this.push.fromNorth, this.gridster.$options.disablePushOnResize);\n if (this.gridster.checkCollision(this.gridsterItem.$item)) {\n this.gridsterItem.$item.rows = this.itemBackup[3];\n this.setItemHeight(this.gridster.positionYToPixels(this.gridsterItem.$item.rows) -\n this.margin);\n return;\n }\n else {\n this.gridster.previewStyle();\n }\n this.pushResize.checkPushBack();\n this.push.checkPushBack();\n }\n this.setItemHeight(this.height);\n };\n this.handleEast = (e) => {\n const clientX = this.gridster.$options.dirType === DirTypes.RTL\n ? this.originalClientX + (this.originalClientX - e.clientX)\n : e.clientX;\n this.width = clientX + this.offsetLeft - this.diffRight - this.left;\n if (this.minWidth > this.width) {\n this.width = this.minWidth;\n }\n this.right = this.left + this.width;\n if (this.gridster.options.enableBoundaryControl) {\n const margin = this.outerMarginRight ?? this.margin;\n const box = this.gridster.el.getBoundingClientRect();\n this.right = Math.min(this.right, box.right - box.left - 2 * margin);\n this.width = this.right - this.left;\n }\n const marginRight = this.gridster.options.pushItems ? 0 : this.margin;\n this.newPosition = this.gridster.pixelsToPositionX(this.right + marginRight, Math.ceil);\n if (this.gridsterItem.$item.x + this.gridsterItem.$item.cols !==\n this.newPosition) {\n this.itemBackup[2] = this.gridsterItem.$item.cols;\n this.gridsterItem.$item.cols =\n this.newPosition - this.gridsterItem.$item.x;\n this.pushResize.pushItems(this.pushResize.fromWest);\n this.push.pushItems(this.push.fromWest, this.gridster.$options.disablePushOnResize);\n if (this.gridster.checkCollision(this.gridsterItem.$item)) {\n this.gridsterItem.$item.cols = this.itemBackup[2];\n this.setItemWidth(this.gridster.positionXToPixels(this.gridsterItem.$item.cols) -\n this.margin);\n return;\n }\n else {\n this.gridster.previewStyle();\n }\n this.pushResize.checkPushBack();\n this.push.checkPushBack();\n }\n this.setItemWidth(this.width);\n };\n this.handleNorthWest = (e) => {\n this.handleNorth(e);\n this.handleWest(e);\n };\n this.handleNorthEast = (e) => {\n this.handleNorth(e);\n this.handleEast(e);\n };\n this.handleSouthWest = (e) => {\n this.handleSouth(e);\n this.handleWest(e);\n };\n this.handleSouthEast = (e) => {\n this.handleSouth(e);\n this.handleEast(e);\n };\n this.gridsterItem = gridsterItem;\n this.gridster = gridster;\n this.lastMouse = {\n clientX: 0,\n clientY: 0\n };\n this.itemBackup = [0, 0, 0, 0];\n this.resizeEventScrollType = {\n west: false,\n east: false,\n north: false,\n south: false\n };\n }\n destroy() {\n this.gridster?.previewStyle();\n this.gridster = this.gridsterItem = null;\n }\n dragStart(e) {\n if (e.which && e.which !== 1) {\n return;\n }\n if (this.gridster.options.resizable &&\n this.gridster.options.resizable.start) {\n this.gridster.options.resizable.start(this.gridsterItem.item, this.gridsterItem, e);\n }\n e.stopPropagation();\n e.preventDefault();\n this.zone.runOutsideAngular(() => {\n this.mousemove = this.gridsterItem.renderer.listen('document', 'mousemove', this.dragMove);\n this.touchmove = this.gridster.renderer.listen(this.gridster.el, 'touchmove', this.dragMove);\n });\n this.mouseup = this.gridsterItem.renderer.listen('document', 'mouseup', this.dragStop);\n this.mouseleave = this.gridsterItem.renderer.listen('document', 'mouseleave', this.dragStop);\n this.cancelOnBlur = this.gridsterItem.renderer.listen('window', 'blur', this.dragStop);\n this.touchend = this.gridsterItem.renderer.listen('document', 'touchend', this.dragStop);\n this.touchcancel = this.gridsterItem.renderer.listen('document', 'touchcancel', this.dragStop);\n this.gridsterItem.renderer.addClass(this.gridsterItem.el, 'gridster-item-resizing');\n this.lastMouse.clientX = e.clientX;\n this.lastMouse.clientY = e.clientY;\n this.left = this.gridsterItem.left;\n this.top = this.gridsterItem.top;\n this.originalClientX = e.clientX;\n this.originalClientY = e.clientY;\n this.width = this.gridsterItem.width;\n this.height = this.gridsterItem.height;\n this.bottom = this.gridsterItem.top + this.gridsterItem.height;\n this.right = this.gridsterItem.left + this.gridsterItem.width;\n this.margin = this.gridster.$options.margin;\n this.outerMarginTop = this.gridster.$options.outerMarginTop;\n this.outerMarginRight = this.gridster.$options.outerMarginRight;\n this.outerMarginBottom = this.gridster.$options.outerMarginBottom;\n this.outerMarginLeft = this.gridster.$options.outerMarginLeft;\n this.offsetLeft = this.gridster.el.scrollLeft - this.gridster.el.offsetLeft;\n this.offsetTop = this.gridster.el.scrollTop - this.gridster.el.offsetTop;\n this.diffLeft = e.clientX + this.offsetLeft - this.left;\n this.diffRight = e.clientX + this.offsetLeft - this.right;\n this.diffTop = e.clientY + this.offsetTop - this.top;\n this.diffBottom = e.clientY + this.offsetTop - this.bottom;\n this.minHeight =\n this.gridster.positionYToPixels(this.gridsterItem.$item.minItemRows ||\n this.gridster.$options.minItemRows) - this.margin;\n this.minWidth =\n this.gridster.positionXToPixels(this.gridsterItem.$item.minItemCols ||\n this.gridster.$options.minItemCols) - this.margin;\n this.gridster.movingItem = this.gridsterItem.$item;\n this.gridster.previewStyle();\n this.push = new GridsterPush(this.gridsterItem);\n this.pushResize = new GridsterPushResize(this.gridsterItem);\n this.gridster.dragInProgress = true;\n this.gridster.updateGrid();\n const { classList } = e.target;\n if (classList.contains('handle-n')) {\n this.resizeEventScrollType.north = true;\n this.directionFunction = this.handleNorth;\n }\n else if (classList.contains('handle-w')) {\n if (this.gridster.$options.dirType === DirTypes.RTL) {\n this.resizeEventScrollType.east = true;\n this.directionFunction = this.handleEast;\n }\n else {\n this.resizeEventScrollType.west = true;\n this.directionFunction = this.handleWest;\n }\n }\n else if (classList.contains('handle-s')) {\n this.resizeEventScrollType.south = true;\n this.directionFunction = this.handleSouth;\n }\n else if (classList.contains('handle-e')) {\n if (this.gridster.$options.dirType === DirTypes.RTL) {\n this.resizeEventScrollType.west = true;\n this.directionFunction = this.handleWest;\n }\n else {\n this.resizeEventScrollType.east = true;\n this.directionFunction = this.handleEast;\n }\n }\n else if (classList.contains('handle-nw')) {\n if (this.gridster.$options.dirType === DirTypes.RTL) {\n this.resizeEventScrollType.north = true;\n this.resizeEventScrollType.east = true;\n this.directionFunction = this.handleNorthEast;\n }\n else {\n this.resizeEventScrollType.north = true;\n this.resizeEventScrollType.west = true;\n this.directionFunction = this.handleNorthWest;\n }\n }\n else if (classList.contains('handle-ne')) {\n if (this.gridster.$options.dirType === DirTypes.RTL) {\n this.resizeEventScrollType.north = true;\n this.resizeEventScrollType.west = true;\n this.directionFunction = this.handleNorthWest;\n }\n else {\n this.resizeEventScrollType.north = true;\n this.resizeEventScrollType.east = true;\n this.directionFunction = this.handleNorthEast;\n }\n }\n else if (classList.contains('handle-sw')) {\n if (this.gridster.$options.dirType === DirTypes.RTL) {\n this.resizeEventScrollType.south = true;\n this.resizeEventScrollType.east = true;\n this.directionFunction = this.handleSouthEast;\n }\n else {\n this.resizeEventScrollType.south = true;\n this.resizeEventScrollType.west = true;\n this.directionFunction = this.handleSouthWest;\n }\n }\n else if (classList.contains('handle-se')) {\n if (this.gridster.$options.dirType === DirTypes.RTL) {\n this.resizeEventScrollType.south = true;\n this.resizeEventScrollType.west = true;\n this.directionFunction = this.handleSouthWest;\n }\n else {\n this.resizeEventScrollType.south = true;\n this.resizeEventScrollType.east = true;\n this.directionFunction = this.handleSouthEast;\n }\n }\n }\n toggle() {\n this.resizeEnabled = this.gridsterItem.canBeResized();\n this.resizableHandles = this.gridsterItem.getResizableHandles();\n }\n dragStartDelay(e) {\n GridsterUtils.checkTouchEvent(e);\n if (!this.gridster.$options.resizable.delayStart) {\n this.dragStart(e);\n return;\n }\n const timeout = setTimeout(() => {\n this.dragStart(e);\n cancelDrag();\n }, this.gridster.$options.resizable.delayStart);\n const { cancelMouse, cancelMouseLeave, cancelOnBlur, cancelTouchMove, cancelTouchEnd, cancelTouchCancel } = this.zone.runOutsideAngular(() => {\n // Note: all of these events are being added within the `<root>` zone since they all\n // don't do any view updates and don't require Angular running change detection.\n // All event listeners call `cancelDrag` once the event is dispatched, the `cancelDrag`\n // is responsible only for removing event listeners.\n const cancelMouse = this.gridsterItem.renderer.listen('document', 'mouseup', cancelDrag);\n const cancelMouseLeave = this.gridsterItem.renderer.listen('document', 'mouseleave', cancelDrag);\n const cancelOnBlur = this.gridsterItem.renderer.listen('window', 'blur', cancelDrag);\n const cancelTouchMove = this.gridsterItem.renderer.listen('document', 'touchmove', cancelMove);\n const cancelTouchEnd = this.gridsterItem.renderer.listen('document', 'touchend', cancelDrag);\n const cancelTouchCancel = this.gridsterItem.renderer.listen('document', 'touchcancel', cancelDrag);\n return {\n cancelMouse,\n cancelMouseLeave,\n cancelOnBlur,\n cancelTouchMove,\n cancelTouchEnd,\n cancelTouchCancel\n };\n });\n function cancelMove(eventMove) {\n GridsterUtils.checkTouchEvent(eventMove);\n if (Math.abs(eventMove.clientX - e.clientX) > 9 ||\n Math.abs(eventMove.clientY - e.clientY) > 9) {\n cancelDrag();\n }\n }\n function cancelDrag() {\n clearTimeout(timeout);\n cancelOnBlur();\n cancelMouse();\n cancelMouseLeave();\n cancelTouchMove();\n cancelTouchEnd();\n cancelTouchCancel();\n }\n }\n setItemTop(top) {\n this.gridster.gridRenderer.setCellPosition(this.gridsterItem.renderer, this.gridsterItem.el, this.left, top);\n }\n setItemLeft(left) {\n this.gridster.gridRenderer.setCellPosition(this.gridsterItem.renderer, this.gridsterItem.el, left, this.top);\n }\n setItemHeight(height) {\n this.gridsterItem.renderer.setStyle(this.gridsterItem.el, 'height', height + 'px');\n }\n setItemWidth(width) {\n this.gridsterItem.renderer.setStyle(this.gridsterItem.el, 'width', width + 'px');\n }\n}\n\nclass GridsterItemComponent {\n get zIndex() {\n return this.getLayerIndex() + this.gridster.$options.baseLayerIndex;\n }\n constructor(el, gridster, renderer, zone) {\n this.renderer = renderer;\n this.zone = zone;\n this.itemInit = new EventEmitter();\n this.itemChange = new EventEmitter();\n this.itemResize = new EventEmitter();\n this.el = el.nativeElement;\n this.$item = {\n cols: -1,\n rows: -1,\n x: -1,\n y: -1\n };\n this.gridster = gridster;\n this.drag = new GridsterDraggable(this, gridster, this.zone);\n this.resize = new GridsterResizable(this, gridster, this.zone);\n }\n ngOnInit() {\n this.gridster.addItem(this);\n }\n ngOnChanges(changes) {\n if (changes.item) {\n this.updateOptions();\n if (!this.init) {\n this.gridster.calculateLayout$.next();\n }\n }\n if (changes.item && changes.item.previousValue) {\n this.setSize();\n }\n }\n updateOptions() {\n this.$item = GridsterUtils.merge(this.$item, this.item, {\n cols: undefined,\n rows: undefined,\n x: undefined,\n y: undefined,\n layerIndex: undefined,\n dragEnabled: undefined,\n resizeEnabled: undefined,\n compactEnabled: undefined,\n maxItemRows: undefined,\n minItemRows: undefined,\n maxItemCols: undefined,\n minItemCols: undefined,\n maxItemArea: undefined,\n minItemArea: undefined,\n resizableHandles: {\n s: undefined,\n e: undefined,\n n: undefined,\n w: undefined,\n se: undefined,\n ne: undefined,\n sw: undefined,\n nw: undefined\n }\n });\n }\n ngOnDestroy() {\n this.gridster.removeItem(this);\n this.drag.destroy();\n this.resize.destroy();\n this.gridster = this.drag = this.resize = null;\n }\n setSize() {\n this.renderer.setStyle(this.el, 'display', this.notPlaced ? '' : 'block');\n this.gridster.gridRenderer.updateItem(this.el, this.$item, this.renderer);\n this.updateItemSize();\n }\n updateItemSize() {\n const top = this.$item.y * this.gridster.curRowHeight;\n const left = this.$item.x * this.gridster.curColWidth;\n const width = this.$item.cols * this.gridster.curColWidth -\n this.gridster.$options.margin;\n const height = this.$item.rows * this.gridster.curRowHeight -\n this.gridster.$options.margin;\n this.top = top;\n this.left = left;\n if (!this.init && width > 0 && height > 0) {\n this.init = true;\n if (this.item.initCallback) {\n this.item.initCallback(this.item, this);\n }\n if (this.gridster.options.itemInitCallback) {\n this.gridster.options.itemInitCallback(this.item, this);\n }\n this.itemInit.next({ item: this.item, itemComponent: this });\n if (this.gridster.$options.scrollToNewItems) {\n this.el.scrollIntoView(false);\n }\n }\n if (width !== this.width || height !== this.height) {\n this.width = width;\n this.height = height;\n if (this.gridster.options.itemResizeCallback) {\n this.gridster.options.itemResizeCallback(this.item, this);\n }\n this.itemResize.next({ item: this.item, itemComponent: this });\n }\n }\n itemChanged() {\n if (this.gridster.options.itemChangeCallback) {\n this.gridster.options.itemChangeCallback(this.item, this);\n }\n this.itemChange.next({ item: this.item, itemComponent: this });\n }\n checkItemChanges(newValue, oldValue) {\n if (newValue.rows === oldValue.rows &&\n newValue.cols === oldValue.cols &&\n newValue.x === oldValue.x &&\n newValue.y === oldValue.y) {\n return;\n }\n if (this.gridster.checkCollision(this.$item)) {\n this.$item.x = oldValue.x || 0;\n this.$item.y = oldValue.y || 0;\n this.$item.cols = oldValue.cols || 1;\n this.$item.rows = oldValue.rows || 1;\n this.setSize();\n }\n else {\n this.item.cols = this.$item.cols;\n this.item.rows = this.$item.rows;\n this.item.x = this.$item.x;\n this.item.y = this.$item.y;\n this.gridster.calculateLayout$.next();\n this.itemChanged();\n }\n }\n canBeDragged() {\n const gridDragEnabled = this.gridster.$options.draggable.enabled;\n const itemDragEnabled = this.$item.dragEnabled === undefined\n ? gridDragEnabled\n : this.$item.dragEnabled;\n return !this.gridster.mobile && gridDragEnabled && itemDragEnabled;\n }\n canBeResized() {\n const gridResizable = this.gridster.$options.resizable.enabled;\n const itemResizable = this.$item.resizeEnabled === undefined\n ? gridResizable\n : this.$item.resizeEnabled;\n return !this.gridster.mobile && gridResizable && itemResizable;\n }\n getResizableHandles() {\n const gridResizableHandles = this.gridster.$options.resizable.handles;\n const itemResizableHandles = this.$item.resizableHandles;\n // use grid settings if no settings are provided for the item.\n if (itemResizableHandles === undefined) {\n return gridResizableHandles;\n }\n // else merge the settings\n return {\n ...gridResizableHandles,\n ...itemResizableHandles\n };\n }\n bringToFront(offset) {\n if (offset && offset <= 0) {\n return;\n }\n const layerIndex = this.getLayerIndex();\n const topIndex = this.gridster.$options.maxLayerIndex;\n if (layerIndex < topIndex) {\n const targetIndex = offset ? layerIndex + offset : topIndex;\n this.item.layerIndex = this.$item.layerIndex =\n targetIndex > topIndex ? topIndex : targetIndex;\n }\n }\n sendToBack(offset) {\n if (offset && offset <= 0) {\n return;\n }\n const layerIndex = this.getLayerIndex();\n if (layerIndex > 0) {\n const targetIndex = offset ? layerIndex - offset : 0;\n this.item.layerIndex = this.$item.layerIndex =\n targetIndex < 0 ? 0 : targetIndex;\n }\n }\n getLayerIndex() {\n if (this.item.layerIndex !== undefined) {\n return this.item.layerIndex;\n }\n if (this.gridster.$options.defaultLayerIndex !== undefined) {\n return this.gridster.$options.defaultLayerIndex;\n }\n return 0;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: GridsterItemComponent, deps: [{ token: ElementRef }, { token: GridsterComponent }, { token: Renderer2 }, { token: NgZone }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: GridsterItemComponent, isStandalone: true, selector: \"gridster-item\", inputs: { item: \"item\" }, outputs: { itemInit: \"itemInit\", itemChange: \"itemChange\", itemResize: \"itemResize\" }, host: { properties: { \"style.z-index\": \"this.zIndex\" } }, usesOnChanges: true, ngImport: i0, template: \"<ng-content></ng-content>\\n<div\\n (mousedown)=\\\"resize.dragStartDelay($event)\\\"\\n (touchstart)=\\\"resize.dragStartDelay($event)\\\"\\n *ngIf=\\\"resize.resizableHandles?.s && resize.resizeEnabled\\\"\\n class=\\\"gridster-item-resizable-handler handle-s\\\"\\n></div>\\n<div\\n (mousedown)=\\\"resize.dragStartDelay($event)\\\"\\n (touchstart)=\\\"resize.dragStartDelay($event)\\\"\\n *ngIf=\\\"resize.resizableHandles?.e && resize.resizeEnabled\\\"\\n class=\\\"gridster-item-resizable-handler handle-e\\\"\\n></div>\\n<div\\n (mousedown)=\\\"resize.dragStartDelay($event)\\\"\\n (touchstart)=\\\"resize.dragStartDelay($event)\\\"\\n *ngIf=\\\"resize.resizableHandles?.n && resize.resizeEnabled\\\"\\n class=\\\"gridster-item-resizable-handler handle-n\\\"\\n></div>\\n<div\\n (mousedown)=\\\"resize.dragStartDelay($event)\\\"\\n (touchstart)=\\\"resize.dragStartDelay($event)\\\"\\n *ngIf=\\\"resize.resizableHandles?.w && resize.resizeEnabled\\\"\\n class=\\\"gridster-item-resizable-handler handle-w\\\"\\n></div>\\n<div\\n (mousedown)=\\\"resize.dragStartDelay($event)\\\"\\n (touchstart)=\\\"resize.dragStartDelay($event)\\\"\\n *ngIf=\\\"resize.resizableHandles?.se && resize.resizeEnabled\\\"\\n class=\\\"gridster-item-resizable-handler handle-se\\\"\\n></div>\\n<div\\n (mousedown)=\\\"resize.dragStartDelay($event)\\\"\\n (touchstart)=\\\"resize.dragStartDelay($event)\\\"\\n *ngIf=\\\"resize.resizableHandles?.ne && resize.resizeEnabled\\\"\\n class=\\\"gridster-item-resizable-handler handle-ne\\\"\\n></div>\\n<div\\n (mousedown)=\\\"resize.dragStartDelay($event)\\\"\\n (touchstart)=\\\"resize.dragStartDelay($event)\\\"\\n *ngIf=\\\"resize.resizableHandles?.sw && resize.resizeEnabled\\\"\\n class=\\\"gridster-item-resizable-handler handle-sw\\\"\\n></div>\\n<div\\n (mousedown)=\\\"resize.dragStartDelay($event)\\\"\\n (touchstart)=\\\"resize.dragStartDelay($event)\\\"\\n *ngIf=\\\"resize.resizableHandles?.nw && resize.resizeEnabled\\\"\\n class=\\\"gridster-item-resizable-handler handle-nw\\\"\\n></div>\\n\", styles: [\"gridster-item{box-sizing:border-box;z-index:1;position:absolute;overflow:hidden;transition:.3s;display:none;background:white;-webkit-user-select:text;user-select:text}gridster-item.gridster-item-moving{cursor:move}gridster-item.gridster-item-resizing,gridster-item.gridster-item-moving{transition:0s;z-index:2;box-shadow:0 0 5px 5px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.gridster-item-resizable-handler{position:absolute;z-index:2}.gridster-item-resizable-handler.handle-n{cursor:ns-resize;height:10px;right:0;top:0;left:0}.gridster-item-resizable-handler.handle-e{cursor:ew-resize;width:10px;bottom:0;right:0;top:0}.gridster-item-resizable-handler.handle-s{cursor:ns-resize;height:10px;right:0;bottom:0;left:0}.gridster-item-resizable-handler.handle-w{cursor:ew-resize;width:10px;left:0;top:0;bottom:0}.gridster-item-resizable-handler.handle-ne{cursor:ne-resize;width:10px;height:10px;right:0;top:0}.gridster-item-resizable-handler.handle-nw{cursor:nw-resize;width:10px;height:10px;left:0;top:0}.gridster-item-resizable-handler.handle-se{cursor:se-resize;width:0;height:0;right:0;bottom:0;border-style:solid;border-width:0 0 10px 10px;border-color:transparent}.gridster-item-resizable-handler.handle-sw{cursor:sw-resize;width:10px;height:10px;left:0;bottom:0}gridster-item:hover .gridster-item-resizable-handler.handle-se{border-color:transparent transparent #ccc}\\n\"], dependencies: [{ kind: \"directive\", type: NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }], encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: GridsterItemComponent, decorators: [{\n type: Component,\n args: [{ selector: 'gridster-item', encapsulation: ViewEncapsulation.None, standalone: true, imports: [NgIf], template: \"<ng-content></ng-content>\\n<div\\n (mousedown)=\\\"resize.dragStartDelay($event)\\\"\\n (touchstart)=\\\"resize.dragStartDelay($event)\\\"\\n *ngIf=\\\"resize.resizableHandles?.s && resize.resizeEnabled\\\"\\n class=\\\"gridster-item-resizable-handler handle-s\\\"\\n></div>\\n<div\\n (mousedown)=\\\"resize.dragStartDelay($event)\\\"\\n (touchstart)=\\\"resize.dragStartDelay($event)\\\"\\n *ngIf=\\\"resize.resizableHandles?.e && resize.resizeEnabled\\\"\\n class=\\\"gridster-item-resizable-handler handle-e\\\"\\n></div>\\n<div\\n (mousedown)=\\\"resize.dragStartDelay($event)\\\"\\n (touchstart)=\\\"resize.dragStartDelay($event)\\\"\\n *ngIf=\\\"resize.resizableHandles?.n && resize.resizeEnabled\\\"\\n class=\\\"gridster-item-resizable-handler handle-n\\\"\\n></div>\\n<div\\n (mousedown)=\\\"resize.dragStartDelay($event)\\\"\\n (touchstart)=\\\"resize.dragStartDelay($event)\\\"\\n *ngIf=\\\"resize.resizableHandles?.w && resize.resizeEnabled\\\"\\n class=\\\"gridster-item-resizable-handler handle-w\\\"\\n></div>\\n<div\\n (mousedown)=\\\"resize.dragStartDelay($event)\\\"\\n (touchstart)=\\\"resize.dragStartDelay($event)\\\"\\n *ngIf=\\\"resize.resizableHandles?.se && resize.resizeEnabled\\\"\\n class=\\\"gridster-item-resizable-handler handle-se\\\"\\n></div>\\n<div\\n (mousedown)=\\\"resize.dragStartDelay($event)\\\"\\n (touchstart)=\\\"resize.dragStartDelay($event)\\\"\\n *ngIf=\\\"resize.resizableHandles?.ne && resize.resizeEnabled\\\"\\n class=\\\"gridster-item-resizable-handler handle-ne\\\"\\n></div>\\n<div\\n (mousedown)=\\\"resize.dragStartDelay($event)\\\"\\n (touchstart)=\\\"resize.dragStartDelay($event)\\\"\\n *ngIf=\\\"resize.resizableHandles?.sw && resize.resizeEnabled\\\"\\n class=\\\"gridster-item-resizable-handler handle-sw\\\"\\n></div>\\n<div\\n (mousedown)=\\\"resize.dragStartDelay($event)\\\"\\n (touchstart)=\\\"resize.dragStartDelay($event)\\\"\\n *ngIf=\\\"resize.resizableHandles?.nw && resize.resizeEnabled\\\"\\n class=\\\"gridster-item-resizable-handler handle-nw\\\"\\n></div>\\n\", styles: [\"gridster-item{box-sizing:border-box;z-index:1;position:absolute;overflow:hidden;transition:.3s;display:none;background:white;-webkit-user-select:text;user-select:text}gridster-item.gridster-item-moving{cursor:move}gridster-item.gridster-item-resizing,gridster-item.gridster-item-moving{transition:0s;z-index:2;box-shadow:0 0 5px 5px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.gridster-item-resizable-handler{position:absolute;z-index:2}.gridster-item-resizable-handler.handle-n{cursor:ns-resize;height:10px;right:0;top:0;left:0}.gridster-item-resizable-handler.handle-e{cursor:ew-resize;width:10px;bottom:0;right:0;top:0}.gridster-item-resizable-handler.handle-s{cursor:ns-resize;height:10px;right:0;bottom:0;left:0}.gridster-item-resizable-handler.handle-w{cursor:ew-resize;width:10px;left:0;top:0;bottom:0}.gridster-item-resizable-handler.handle-ne{cursor:ne-resize;width:10px;height:10px;right:0;top:0}.gridster-item-resizable-handler.handle-nw{cursor:nw-resize;width:10px;height:10px;left:0;top:0}.gridster-item-resizable-handler.handle-se{cursor:se-resize;width:0;height:0;right:0;bottom:0;border-style:solid;border-width:0 0 10px 10px;border-color:transparent}.gridster-item-resizable-handler.handle-sw{cursor:sw-resize;width:10px;height:10px;left:0;bottom:0}gridster-item:hover .gridster-item-resizable-handler.handle-se{border-color:transparent transparent #ccc}\\n\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef, decorators: [{\n type: Inject,\n args: [ElementRef]\n }] }, { type: GridsterComponent }, { type: i0.Renderer2, decorators: [{\n type: Inject,\n args: [Renderer2]\n }] }, { type: i0.NgZone, decorators: [{\n type: Inject,\n args: [NgZone]\n }] }]; }, propDecorators: { item: [{\n type: Input\n }], itemInit: [{\n type: Output\n }], itemChange: [{\n type: Output\n }], itemResize: [{\n type: Output\n }], zIndex: [{\n type: HostBinding,\n args: ['style.z-index']\n }] } });\n\nclass GridsterItemComponentInterface {\n}\n\nclass GridsterComponentInterface {\n}\n\nclass GridsterModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: GridsterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: GridsterModule, imports: [GridsterComponent, GridsterItemComponent], exports: [GridsterComponent, GridsterItemComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: GridsterModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: GridsterModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [GridsterComponent, GridsterItemComponent],\n exports: [GridsterComponent, GridsterItemComponent]\n }]\n }] });\n\n/*\n * Public API Surface of gridster\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { CompactType, DirTypes, DisplayGrid, GridType, GridsterComponent, GridsterComponentInterface, GridsterConfigService, GridsterItemComponent, GridsterItemComponentInterface, GridsterModule, GridsterPush, GridsterPushResize, GridsterSwap };\n","import * as i0 from '@angular/core';\nimport { Component, Input, ContentChild, EventEmitter, Output, ViewChild, ViewChildren, forwardRef, Inject, Injectable, Optional, NgModule } from '@angular/core';\nimport * as i2$1 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport { FlexLayoutModule } from '@angular/flex-layout';\nimport * as i1 from '@angular/forms';\nimport { NG_VALUE_ACCESSOR, NG_VALIDATORS, FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport * as i8$1 from 'angular-split';\nimport { SplitAreaDirective, AngularSplitModule } from 'angular-split';\nimport { MaterialModule } from '@rollthecloudinc/material';\nimport * as i3 from 'angular-gridster2';\nimport { GridsterComponent, GridType, DisplayGrid, GridsterModule } from 'angular-gridster2';\nimport * as i2 from '@rollthecloudinc/attributes';\nimport { AttributeValue, Attribute, AttributeTypes, AttributesModule } from '@rollthecloudinc/attributes';\nimport { TokenModule } from '@rollthecloudinc/token';\nimport * as i2$3 from '@rollthecloudinc/utils';\nimport { SITE_NAME, UtilsModule } from '@rollthecloudinc/utils';\nimport * as i13 from 'ngx-dropzone';\nimport { NgxDropzoneModule } from 'ngx-dropzone';\nimport { LayoutSetting, LayoutEditorBaseComponent, LayoutRendererBaseComponent } from '@rollthecloudinc/panels';\nimport * as i2$2 from '@angular/flex-layout/flex';\nimport * as i4 from '@angular/flex-layout/extended';\nimport { switchMap, filter } from 'rxjs/operators';\nimport * as i1$1 from '@angular/material/legacy-dialog';\nimport { MAT_LEGACY_DIALOG_DATA } from '@angular/material/legacy-dialog';\nimport * as i4$1 from '@angular/material/legacy-button';\nimport { of, map } from 'rxjs';\nimport * as i1$2 from '@rollthecloudinc/plugin';\nimport { BasePluginManager, PluginDef, Plugin } from '@rollthecloudinc/plugin';\nimport * as i8 from '@angular/material/icon';\nimport * as i6 from '@angular/material/legacy-menu';\nimport * as i1$3 from '@rollthecloudinc/auth';\nimport * as i3$1 from '@ngrx/data';\nimport * as i3$2 from '@angular/cdk/drag-drop';\nimport * as i4$2 from '@angular/material/legacy-core';\nimport * as i9$1 from '@angular/material/legacy-form-field';\nimport * as i11 from '@angular/material/legacy-select';\nimport * as i12 from '@angular/material/sidenav';\nimport * as i5 from '@angular/router';\nimport { RouterModule } from '@angular/router';\nimport * as i7 from '@angular/material/divider';\nimport * as i9 from '@angular/cdk/scrolling';\n\nclass FlexLayoutComponent {\n get totalRows() {\n return this.dashboard.length == 0 ? 0 : this.dashboard.reduce((p, c) => c.y > p ? c.y : p, 0) + 1;\n }\n get direction() {\n const d = this.attributeMatcher.getComputedValue('direction', this.layoutSetting ? this.layoutSetting.settings : []);\n return d && (d.trim() === 'column' || d.trim() === 'row') ? d : 'column';\n }\n constructor(attributeMatcher) {\n this.attributeMatcher = attributeMatcher;\n this.dashboard = [];\n this.layoutSetting = new LayoutSetting();\n this.rowSettings = [];\n this.columnSettings = [];\n }\n ngOnInit() {\n console.log(this.dashboard);\n }\n itemIndex(rIndex, cIndex) {\n return this.dashboard.findIndex(c => c.y === rIndex && c.x === cIndex);\n }\n totalColumns(rowIndex) {\n return this.dashboard.reduce((p, c) => c.y === rowIndex ? p + 1 : p, 0);\n }\n rowDirection(index) {\n const d = this.attributeMatcher.getComputedValue('direction', this.rowSettings && this.rowSettings[index] ? this.rowSettings[index].settings : []);\n return d && (d.trim() === 'column' || d.trim() === 'row') ? d : 'row';\n }\n rowFlex(index) {\n const attributes = ['flexGrow', 'flexShrink', 'flexBasis'];\n const values = attributes.map(n => this.attributeMatcher.getComputedValue(n, this.rowSettings && this.rowSettings[index] ? this.rowSettings[index].settings : []));\n const values2 = values.map(v => v !== undefined && v !== null && v !== '' && v.trim() !== '' ? `${v.trim()}` : '');\n return values2.join(' ');\n }\n gridItemInnerStyles(row, column) {\n const index = this.itemIndex(row, column);\n const settings = this.columnSettings && this.columnSettings[index] ? this.columnSettings[index].settings : [];\n return { height: this.calculateHeight(this.attributeMatcher.getComputedValue('height', settings)) };\n }\n calculateHeight(v) {\n const trimmed = v !== undefined && v !== null ? v.trim() : 'auto';\n return trimmed;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FlexLayoutComponent, deps: [{ token: i2.AttributeMatcherService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: FlexLayoutComponent, selector: \"classifieds-ui-flex-layout\", inputs: { dashboard: \"dashboard\", layoutSetting: \"layoutSetting\", rowSettings: \"rowSettings\", columnSettings: \"columnSettings\" }, queries: [{ propertyName: \"innerGridItemTmpl\", first: true, predicate: [\"innerGridItem\"], descendants: true }], ngImport: i0, template: \"<div fxFill [fxLayout]=\\\"direction\\\">\\n <div *for=\\\"totalRows; let i = index\\\" [fxFlex]=\\\"rowFlex(i)\\\">\\n <div [fxLayout]=\\\"rowDirection(i)\\\" [ngStyle]=\\\"{ height: '100%' }\\\">\\n <div *for=\\\"totalColumns(i); let j = index\\\" [fxFlex]=\\\"dashboard[itemIndex(i, j)].cols\\\">\\n <p hidden>row: {{ i }} | column: {{ j }} | size: {{ dashboard[itemIndex(i, j)].cols }}</p>\\n <div class=\\\"grid-item-inner\\\" [ngStyle]=\\\"gridItemInnerStyles(i, j)\\\">\\n <ng-container *ngTemplateOutlet=\\\"innerGridItemTmpl,context: { i: itemIndex(i, j) }\\\"></ng-container>\\n </div>\\n </div>\\n </div>\\n </div>\\n</div>\\n\\n<!-- Here is the flex layout. -->\\n\\n<!--\\nflex on row indirectly - could be \\\"expand\\\"?\\nheight of row -- when expand the height is automatically set to 100% - using fill...\\n-> indrectly set the item inner to the height of --\\n-->\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i2$1.NgTemplateOutlet, selector: \"[ngTemplateOutlet]\", inputs: [\"ngTemplateOutletContext\", \"ngTemplateOutlet\", \"ngTemplateOutletInjector\"] }, { kind: \"directive\", type: i2$1.NgStyle, selector: \"[ngStyle]\", inputs: [\"ngStyle\"] }, { kind: \"directive\", type: i2$2.DefaultLayoutDirective, selector: \" [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]\", inputs: [\"fxLayout\", \"fxLayout.xs\", \"fxLayout.sm\", \"fxLayout.md\", \"fxLayout.lg\", \"fxLayout.xl\", \"fxLayout.lt-sm\", \"fxLayout.lt-md\", \"fxLayout.lt-lg\", \"fxLayout.lt-xl\", \"fxLayout.gt-xs\", \"fxLayout.gt-sm\", \"fxLayout.gt-md\", \"fxLayout.gt-lg\"] }, { kind: \"directive\", type: i2$2.FlexFillDirective, selector: \"[fxFill], [fxFlexFill]\" }, { kind: \"directive\", type: i2$2.DefaultFlexDirective, selector: \" [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]\", inputs: [\"fxFlex\", \"fxFlex.xs\", \"fxFlex.sm\", \"fxFlex.md\", \"fxFlex.lg\", \"fxFlex.xl\", \"fxFlex.lt-sm\", \"fxFlex.lt-md\", \"fxFlex.lt-lg\", \"fxFlex.lt-xl\", \"fxFlex.gt-xs\", \"fxFlex.gt-sm\", \"fxFlex.gt-md\", \"fxFlex.gt-lg\"] }, { kind: \"directive\", type: i4.DefaultStyleDirective, selector: \" [ngStyle], [ngStyle.xs], [ngStyle.sm], [ngStyle.md], [ngStyle.lg], [ngStyle.xl], [ngStyle.lt-sm], [ngStyle.lt-md], [ngStyle.lt-lg], [ngStyle.lt-xl], [ngStyle.gt-xs], [ngStyle.gt-sm], [ngStyle.gt-md], [ngStyle.gt-lg]\", inputs: [\"ngStyle\", \"ngStyle.xs\", \"ngStyle.sm\", \"ngStyle.md\", \"ngStyle.lg\", \"ngStyle.xl\", \"ngStyle.lt-sm\", \"ngStyle.lt-md\", \"ngStyle.lt-lg\", \"ngStyle.lt-xl\", \"ngStyle.gt-xs\", \"ngStyle.gt-sm\", \"ngStyle.gt-md\", \"ngStyle.gt-lg\"] }, { kind: \"directive\", type: i2$3.ForDirective, selector: \"[for]:not(label)\", inputs: [\"for\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FlexLayoutComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-flex-layout', template: \"<div fxFill [fxLayout]=\\\"direction\\\">\\n <div *for=\\\"totalRows; let i = index\\\" [fxFlex]=\\\"rowFlex(i)\\\">\\n <div [fxLayout]=\\\"rowDirection(i)\\\" [ngStyle]=\\\"{ height: '100%' }\\\">\\n <div *for=\\\"totalColumns(i); let j = index\\\" [fxFlex]=\\\"dashboard[itemIndex(i, j)].cols\\\">\\n <p hidden>row: {{ i }} | column: {{ j }} | size: {{ dashboard[itemIndex(i, j)].cols }}</p>\\n <div class=\\\"grid-item-inner\\\" [ngStyle]=\\\"gridItemInnerStyles(i, j)\\\">\\n <ng-container *ngTemplateOutlet=\\\"innerGridItemTmpl,context: { i: itemIndex(i, j) }\\\"></ng-container>\\n </div>\\n </div>\\n </div>\\n </div>\\n</div>\\n\\n<!-- Here is the flex layout. -->\\n\\n<!--\\nflex on row indirectly - could be \\\"expand\\\"?\\nheight of row -- when expand the height is automatically set to 100% - using fill...\\n-> indrectly set the item inner to the height of --\\n-->\\n\" }]\n }], ctorParameters: function () { return [{ type: i2.AttributeMatcherService }]; }, propDecorators: { dashboard: [{\n type: Input\n }], layoutSetting: [{\n type: Input\n }], rowSettings: [{\n type: Input\n }], columnSettings: [{\n type: Input\n }], innerGridItemTmpl: [{\n type: ContentChild,\n args: ['innerGridItem']\n }] } });\n\nclass GridLayoutComponent {\n get grid() {\n return this.dashboard;\n }\n get cumulativeHeight() {\n const rows = [];\n this.heightsMatrix.forEach(m => {\n rows.push(this.itemHeights.reduce((p, c) => c > p ? c : p));\n });\n return rows.reduce((p, c) => p + c);\n }\n get heightsMatrix() {\n return this.dashboard.reduce((p, c, i) => {\n p[c.y] = p[c.y] !== undefined ? [...p[c.y], this.itemHeights[i]] : [this.itemHeights[i]];\n return p;\n }, []);\n }\n constructor() {\n this.itemAdded = new EventEmitter();\n this.itemRemoved = new EventEmitter();\n this.dashboard = [];\n this.displayMainControls = true;\n this.displayItemHeader = true;\n this.itemHeights = [];\n this.rows = 0;\n }\n ngOnInit() { }\n removeItem(index) {\n this.dashboard.splice(index, 1);\n this.itemHeights.splice(index, 1);\n this.itemRemoved.emit(index);\n }\n addColumn() {\n console.log('add column grid');\n this.dashboard.push({ cols: 1, rows: 1, y: 0, x: this.dashboard.length });\n // this.itemHeights.push(undefined);\n this.itemAdded.emit();\n }\n addRow() {\n this.dashboard.push({ cols: 1, rows: 1, y: this.rows++, x: 0 });\n // this.itemHeights.push(undefined);\n this.itemAdded.emit();\n }\n setItemContentHeight(index, height) {\n this.itemHeights[index] = height + (this.displayItemHeader ? this.itemHeaderHeight(index) : 0);\n // console.log(`item height item: ${height} | header: ${this.itemHeaderHeight(index)}`);\n this.refreshGridHeight();\n }\n refreshGridHeight() {\n //this.gridster.calculateLayout();\n // console.log(`main controls: ${this.mainControls.nativeElement.offsetHeight} | cumulative height: ${this.cumulativeHeight}`);\n this.gridHeight = this.cumulativeHeight /* + ( this.displayMainControls ? this.mainControls.nativeElement.offsetHeight : 0 )*/ + (this.gridster.rows * 16);\n // console.log(`adjust height: ${this.gridHeight}`);\n }\n itemHeaderHeight(index) {\n return this.itemHeaders.find((i, i2) => i2 === index).nativeElement.offsetHeight;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: GridLayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: GridLayoutComponent, selector: \"classifieds-ui-grid-layout\", inputs: { dashboard: \"dashboard\", displayMainControls: \"displayMainControls\", displayItemHeader: \"displayItemHeader\", options: \"options\" }, outputs: { itemAdded: \"itemAdded\", itemRemoved: \"itemRemoved\" }, queries: [{ propertyName: \"gridItemActionsTmpl\", first: true, predicate: [\"gridItemActions\"], descendants: true }, { propertyName: \"innerGridItemTmpl\", first: true, predicate: [\"innerGridItem\"], descendants: true }, { propertyName: \"extraActionsTmpl\", first: true, predicate: [\"extraActions\"], descendants: true }], viewQueries: [{ propertyName: \"gridster\", first: true, predicate: GridsterComponent, descendants: true }, { propertyName: \"mainControls\", first: true, predicate: [\"mainControls\"], descendants: true }, { propertyName: \"itemHeaders\", predicate: [\"itemHeader\"], descendants: true }], ngImport: i0, template: \"<div class=\\\"layout-wrapper\\\">\\n <div #mainControls [hidden]=\\\"!displayMainControls\\\" class=\\\"main-controls\\\">\\n <button type=\\\"button\\\" (mousedown)=\\\"addColumn()\\\">Add Column</button>\\n <button type=\\\"button\\\" (mousedown)=\\\"addRow()\\\">Add Row</button>\\n <ng-container *ngTemplateOutlet=\\\"extraActionsTmpl\\\"></ng-container>\\n </div>\\n <div class=\\\"layout-inner\\\" [style.height.px]=\\\"gridHeight\\\">\\n <gridster [options]=\\\"options\\\">\\n <gridster-item [item]=\\\"item\\\" *ngFor=\\\"let item of dashboard; let i = index\\\">\\n <div fxLayout=\\\"column\\\" fxFill>\\n <div #itemHeader fxFlex=\\\"0 1 auto\\\" [hidden]=\\\"!displayItemHeader\\\" class=\\\"grid-item-header\\\">\\n <ng-container *ngTemplateOutlet=\\\"gridItemActionsTmpl,context: { i: i }\\\"></ng-container>\\n <button type=\\\"button\\\" class=\\\"delete\\\" (mousedown)=\\\"removeItem(i)\\\" (touchstart)=\\\"removeItem(i)\\\">Delete</button>\\n </div>\\n <div fxFlex class=\\\"grid-item-inner\\\">\\n <ng-container *ngTemplateOutlet=\\\"innerGridItemTmpl,context: { i: i }\\\"></ng-container>\\n </div>\\n </div>\\n </gridster-item>\\n </gridster>\\n </div>\\n</div>\\n\\n\", styles: [\".layout-wrapper,.layout-inner{height:100%}.grid-item-header{background-color:#ccc;padding:.5em}button.delete{float:right}.main-controls{background-color:#fff;padding:.5em}\\n\"], dependencies: [{ kind: \"directive\", type: i2$1.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i2$1.NgTemplateOutlet, selector: \"[ngTemplateOutlet]\", inputs: [\"ngTemplateOutletContext\", \"ngTemplateOutlet\", \"ngTemplateOutletInjector\"] }, { kind: \"directive\", type: i2$2.DefaultLayoutDirective, selector: \" [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]\", inputs: [\"fxLayout\", \"fxLayout.xs\", \"fxLayout.sm\", \"fxLayout.md\", \"fxLayout.lg\", \"fxLayout.xl\", \"fxLayout.lt-sm\", \"fxLayout.lt-md\", \"fxLayout.lt-lg\", \"fxLayout.lt-xl\", \"fxLayout.gt-xs\", \"fxLayout.gt-sm\", \"fxLayout.gt-md\", \"fxLayout.gt-lg\"] }, { kind: \"directive\", type: i2$2.FlexFillDirective, selector: \"[fxFill], [fxFlexFill]\" }, { kind: \"directive\", type: i2$2.DefaultFlexDirective, selector: \" [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]\", inputs: [\"fxFlex\", \"fxFlex.xs\", \"fxFlex.sm\", \"fxFlex.md\", \"fxFlex.lg\", \"fxFlex.xl\", \"fxFlex.lt-sm\", \"fxFlex.lt-md\", \"fxFlex.lt-lg\", \"fxFlex.lt-xl\", \"fxFlex.gt-xs\", \"fxFlex.gt-sm\", \"fxFlex.gt-md\", \"fxFlex.gt-lg\"] }, { kind: \"component\", type: i3.GridsterComponent, selector: \"gridster\", inputs: [\"options\"] }, { kind: \"component\", type: i3.GridsterItemComponent, selector: \"gridster-item\", inputs: [\"item\"], outputs: [\"itemInit\", \"itemChange\", \"itemResize\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: GridLayoutComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-grid-layout', template: \"<div class=\\\"layout-wrapper\\\">\\n <div #mainControls [hidden]=\\\"!displayMainControls\\\" class=\\\"main-controls\\\">\\n <button type=\\\"button\\\" (mousedown)=\\\"addColumn()\\\">Add Column</button>\\n <button type=\\\"button\\\" (mousedown)=\\\"addRow()\\\">Add Row</button>\\n <ng-container *ngTemplateOutlet=\\\"extraActionsTmpl\\\"></ng-container>\\n </div>\\n <div class=\\\"layout-inner\\\" [style.height.px]=\\\"gridHeight\\\">\\n <gridster [options]=\\\"options\\\">\\n <gridster-item [item]=\\\"item\\\" *ngFor=\\\"let item of dashboard; let i = index\\\">\\n <div fxLayout=\\\"column\\\" fxFill>\\n <div #itemHeader fxFlex=\\\"0 1 auto\\\" [hidden]=\\\"!displayItemHeader\\\" class=\\\"grid-item-header\\\">\\n <ng-container *ngTemplateOutlet=\\\"gridItemActionsTmpl,context: { i: i }\\\"></ng-container>\\n <button type=\\\"button\\\" class=\\\"delete\\\" (mousedown)=\\\"removeItem(i)\\\" (touchstart)=\\\"removeItem(i)\\\">Delete</button>\\n </div>\\n <div fxFlex class=\\\"grid-item-inner\\\">\\n <ng-container *ngTemplateOutlet=\\\"innerGridItemTmpl,context: { i: i }\\\"></ng-container>\\n </div>\\n </div>\\n </gridster-item>\\n </gridster>\\n </div>\\n</div>\\n\\n\", styles: [\".layout-wrapper,.layout-inner{height:100%}.grid-item-header{background-color:#ccc;padding:.5em}button.delete{float:right}.main-controls{background-color:#fff;padding:.5em}\\n\"] }]\n }], ctorParameters: function () { return []; }, propDecorators: { itemAdded: [{\n type: Output\n }], itemRemoved: [{\n type: Output\n }], dashboard: [{\n type: Input\n }], displayMainControls: [{\n type: Input\n }], displayItemHeader: [{\n type: Input\n }], options: [{\n type: Input\n }], gridItemActionsTmpl: [{\n type: ContentChild,\n args: ['gridItemActions']\n }], innerGridItemTmpl: [{\n type: ContentChild,\n args: ['innerGridItem']\n }], extraActionsTmpl: [{\n type: ContentChild,\n args: ['extraActions']\n }], gridster: [{\n type: ViewChild,\n args: [GridsterComponent]\n }], mainControls: [{\n type: ViewChild,\n args: ['mainControls']\n }], itemHeaders: [{\n type: ViewChildren,\n args: ['itemHeader']\n }] } });\n\nclass GridlessLayoutComponent {\n constructor() {\n this.displayMainControls = true;\n this.displayItemHeader = true;\n this.nested = false;\n }\n ngOnInit() {\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: GridlessLayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: GridlessLayoutComponent, selector: \"classifieds-ui-gridless-layout\", inputs: { displayMainControls: \"displayMainControls\", displayItemHeader: \"displayItemHeader\", nested: \"nested\" }, host: { properties: { \"class.is-nested\": \"nested\" } }, queries: [{ propertyName: \"gridItemActionsTmpl\", first: true, predicate: [\"gridItemActions\"], descendants: true }, { propertyName: \"innerGridItemTmpl\", first: true, predicate: [\"innerGridItem\"], descendants: true }, { propertyName: \"extraActionsTmpl\", first: true, predicate: [\"extraActions\"], descendants: true }], ngImport: i0, template: \"<div class=\\\"layout-wrapper\\\">\\n <div #mainControls [hidden]=\\\"!displayMainControls\\\" class=\\\"main-controls\\\">\\n <ng-container *ngTemplateOutlet=\\\"extraActionsTmpl\\\"></ng-container>\\n </div>\\n <div class=\\\"layout-inner\\\">\\n <div fxLayout=\\\"column\\\" fxFill>\\n <div #itemHeader fxFlex=\\\"0 1 auto\\\" [hidden]=\\\"!displayItemHeader\\\" class=\\\"grid-item-header\\\">\\n <ng-container *ngTemplateOutlet=\\\"gridItemActionsTmpl,context: { i: 0 }\\\"></ng-container>\\n </div>\\n <div fxFlex class=\\\"grid-item-inner\\\">\\n <ng-container *ngTemplateOutlet=\\\"innerGridItemTmpl,context: { i: 0 }\\\"></ng-container>\\n </div>\\n </div>\\n </div>\\n</div>\\n\\n\", styles: [\".layout-wrapper,.layout-inner{height:100%}:host.is-nested .layout-wrapper{padding:0 .25em;border:1px solid #ccc}.main-controls{display:flex;padding:0;align-items:baseline;border-bottom:1px solid #ccc;margin-bottom:.25em}.grid-item-header{padding:0;display:flex;align-items:baseline}\\n\"], dependencies: [{ kind: \"directive\", type: i2$1.NgTemplateOutlet, selector: \"[ngTemplateOutlet]\", inputs: [\"ngTemplateOutletContext\", \"ngTemplateOutlet\", \"ngTemplateOutletInjector\"] }, { kind: \"directive\", type: i2$2.DefaultLayoutDirective, selector: \" [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]\", inputs: [\"fxLayout\", \"fxLayout.xs\", \"fxLayout.sm\", \"fxLayout.md\", \"fxLayout.lg\", \"fxLayout.xl\", \"fxLayout.lt-sm\", \"fxLayout.lt-md\", \"fxLayout.lt-lg\", \"fxLayout.lt-xl\", \"fxLayout.gt-xs\", \"fxLayout.gt-sm\", \"fxLayout.gt-md\", \"fxLayout.gt-lg\"] }, { kind: \"directive\", type: i2$2.FlexFillDirective, selector: \"[fxFill], [fxFlexFill]\" }, { kind: \"directive\", type: i2$2.DefaultFlexDirective, selector: \" [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]\", inputs: [\"fxFlex\", \"fxFlex.xs\", \"fxFlex.sm\", \"fxFlex.md\", \"fxFlex.lg\", \"fxFlex.xl\", \"fxFlex.lt-sm\", \"fxFlex.lt-md\", \"fxFlex.lt-lg\", \"fxFlex.lt-xl\", \"fxFlex.gt-xs\", \"fxFlex.gt-sm\", \"fxFlex.gt-md\", \"fxFlex.gt-lg\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: GridlessLayoutComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-gridless-layout', host: {\n \"[class.is-nested]\": \"nested\"\n }, template: \"<div class=\\\"layout-wrapper\\\">\\n <div #mainControls [hidden]=\\\"!displayMainControls\\\" class=\\\"main-controls\\\">\\n <ng-container *ngTemplateOutlet=\\\"extraActionsTmpl\\\"></ng-container>\\n </div>\\n <div class=\\\"layout-inner\\\">\\n <div fxLayout=\\\"column\\\" fxFill>\\n <div #itemHeader fxFlex=\\\"0 1 auto\\\" [hidden]=\\\"!displayItemHeader\\\" class=\\\"grid-item-header\\\">\\n <ng-container *ngTemplateOutlet=\\\"gridItemActionsTmpl,context: { i: 0 }\\\"></ng-container>\\n </div>\\n <div fxFlex class=\\\"grid-item-inner\\\">\\n <ng-container *ngTemplateOutlet=\\\"innerGridItemTmpl,context: { i: 0 }\\\"></ng-container>\\n </div>\\n </div>\\n </div>\\n</div>\\n\\n\", styles: [\".layout-wrapper,.layout-inner{height:100%}:host.is-nested .layout-wrapper{padding:0 .25em;border:1px solid #ccc}.main-controls{display:flex;padding:0;align-items:baseline;border-bottom:1px solid #ccc;margin-bottom:.25em}.grid-item-header{padding:0;display:flex;align-items:baseline}\\n\"] }]\n }], ctorParameters: function () { return []; }, propDecorators: { displayMainControls: [{\n type: Input\n }], displayItemHeader: [{\n type: Input\n }], nested: [{\n type: Input\n }], gridItemActionsTmpl: [{\n type: ContentChild,\n args: ['gridItemActions']\n }], innerGridItemTmpl: [{\n type: ContentChild,\n args: ['innerGridItem']\n }], extraActionsTmpl: [{\n type: ContentChild,\n args: ['extraActions']\n }] } });\n\nclass LayoutFormComponent {\n get attributes() {\n return this.layout.settings.has(this.type) ? this.layout.settings.get(this.type) : [];\n }\n constructor(fb) {\n this.fb = fb;\n this.settingValues = [];\n this.layoutForm = this.fb.group({\n settings: this.fb.control('')\n });\n this.onTouched = () => { };\n }\n ngOnInit() {\n }\n writeValue(val) {\n if (val) {\n this.layoutForm.setValue(val, { emitEvent: false });\n }\n }\n registerOnChange(fn) {\n this.layoutForm.valueChanges.subscribe(fn);\n }\n registerOnTouched(fn) {\n this.onTouched = fn;\n }\n setDisabledState(isDisabled) {\n if (isDisabled) {\n this.layoutForm.disable();\n }\n else {\n this.layoutForm.enable();\n }\n }\n validate(c) {\n return this.layoutForm.valid ? null : { invalidForm: { valid: false, message: \"layout is invalid\" } };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: LayoutFormComponent, deps: [{ token: i1.UntypedFormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: LayoutFormComponent, selector: \"druid-layout-form\", inputs: { layout: \"layout\", type: \"type\", settingValues: \"settingValues\" }, providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => LayoutFormComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => LayoutFormComponent),\n multi: true\n },\n ], ngImport: i0, template: \"<div [formGroup]=\\\"layoutForm\\\">\\n <classifieds-ui-attributes-builder formControlName=\\\"settings\\\" [attributes]=\\\"attributes\\\" [attributeValues]=\\\"settingValues\\\"></classifieds-ui-attributes-builder>\\n</div>\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: i2.AttributesBuilderComponent, selector: \"classifieds-ui-attributes-builder\", inputs: [\"attributes\", \"appearance\", \"attributeValues\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: LayoutFormComponent, decorators: [{\n type: Component,\n args: [{ selector: 'druid-layout-form', providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => LayoutFormComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => LayoutFormComponent),\n multi: true\n },\n ], template: \"<div [formGroup]=\\\"layoutForm\\\">\\n <classifieds-ui-attributes-builder formControlName=\\\"settings\\\" [attributes]=\\\"attributes\\\" [attributeValues]=\\\"settingValues\\\"></classifieds-ui-attributes-builder>\\n</div>\\n\" }]\n }], ctorParameters: function () { return [{ type: i1.UntypedFormBuilder }]; }, propDecorators: { layout: [{\n type: Input\n }], type: [{\n type: Input\n }], settingValues: [{\n type: Input\n }] } });\n\nclass LayoutDialogComponent {\n get attrValues() {\n return this.dialogForm.get('layout').value === '' ? this.settingValues : this.dialogForm.get('layout').value.settings.map(a => new AttributeValue(a));\n }\n constructor(data, dialogRef, valueComputerService, fb) {\n this.data = data;\n this.dialogRef = dialogRef;\n this.valueComputerService = valueComputerService;\n this.fb = fb;\n this.settingValues = [];\n this.dialogForm = this.fb.group({\n layout: this.fb.control('')\n });\n }\n ngOnInit() {\n this.layout = this.data.layout;\n this.type = this.data.type;\n this.settingValues = this.data.settingValues;\n }\n submit() {\n console.log(this.attrValues);\n const values = this.valueComputerService.compute(this.attrValues);\n this.dialogRef.close(values);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: LayoutDialogComponent, deps: [{ token: MAT_LEGACY_DIALOG_DATA }, { token: i1$1.MatLegacyDialogRef }, { token: i2.ValueComputerService }, { token: i1.UntypedFormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: LayoutDialogComponent, selector: \"druid-layout-dialog\", ngImport: i0, template: \"<form class=\\\"layout-form\\\" [formGroup]=\\\"dialogForm\\\" (ngSubmit)=\\\"submit()\\\">\\n <mat-dialog-content>\\n <druid-layout-form formControlName=\\\"layout\\\" [layout]=\\\"layout\\\" [type]=\\\"type\\\" [settingValues]=\\\"settingValues\\\"></druid-layout-form>\\n </mat-dialog-content>\\n <mat-dialog-actions>\\n <button type=\\\"submit\\\" mat-raised-button color=\\\"primary\\\" mat-dialog-close [disabled]=\\\"!dialogForm.valid\\\">Save</button>\\n </mat-dialog-actions>\\n</form>\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i1.ɵNgNoValidate, selector: \"form:not([ngNoForm]):not([ngNativeValidate])\" }, { kind: \"directive\", type: i1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: i4$1.MatLegacyButton, selector: \"button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]\", inputs: [\"disabled\", \"disableRipple\", \"color\"], exportAs: [\"matButton\"] }, { kind: \"directive\", type: i1$1.MatLegacyDialogClose, selector: \"[mat-dialog-close], [matDialogClose]\", inputs: [\"aria-label\", \"type\", \"mat-dialog-close\", \"matDialogClose\"], exportAs: [\"matDialogClose\"] }, { kind: \"directive\", type: i1$1.MatLegacyDialogContent, selector: \"[mat-dialog-content], mat-dialog-content, [matDialogContent]\" }, { kind: \"directive\", type: i1$1.MatLegacyDialogActions, selector: \"[mat-dialog-actions], mat-dialog-actions, [matDialogActions]\", inputs: [\"align\"] }, { kind: \"component\", type: LayoutFormComponent, selector: \"druid-layout-form\", inputs: [\"layout\", \"type\", \"settingValues\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: LayoutDialogComponent, decorators: [{\n type: Component,\n args: [{ selector: 'druid-layout-dialog', template: \"<form class=\\\"layout-form\\\" [formGroup]=\\\"dialogForm\\\" (ngSubmit)=\\\"submit()\\\">\\n <mat-dialog-content>\\n <druid-layout-form formControlName=\\\"layout\\\" [layout]=\\\"layout\\\" [type]=\\\"type\\\" [settingValues]=\\\"settingValues\\\"></druid-layout-form>\\n </mat-dialog-content>\\n <mat-dialog-actions>\\n <button type=\\\"submit\\\" mat-raised-button color=\\\"primary\\\" mat-dialog-close [disabled]=\\\"!dialogForm.valid\\\">Save</button>\\n </mat-dialog-actions>\\n</form>\\n\" }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [MAT_LEGACY_DIALOG_DATA]\n }] }, { type: i1$1.MatLegacyDialogRef }, { type: i2.ValueComputerService }, { type: i1.UntypedFormBuilder }]; } });\n\nclass LayoutPluginManager extends BasePluginManager {\n constructor(pcm, moduleLoader) {\n super(pcm, moduleLoader);\n }\n pluginDef() {\n return of(new PluginDef({ name: 'layout' }));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: LayoutPluginManager, deps: [{ token: i1$2.PluginConfigurationManager }, { token: i2$3.ModuleLoaderService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: LayoutPluginManager, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: LayoutPluginManager, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: i1$2.PluginConfigurationManager }, { type: i2$3.ModuleLoaderService }]; } });\n\nclass SplitLayoutComponent {\n get totalRows() {\n return this.dashboard.length == 0 ? 0 : this.dashboard.reduce((p, c) => c.y > p ? c.y : p, 0) + 1;\n }\n constructor(el, dialog, lpm) {\n this.el = el;\n this.dialog = dialog;\n this.lpm = lpm;\n this.itemAdded = new EventEmitter();\n this.itemRemoved = new EventEmitter();\n this.dashboard = [];\n this.displayMainControls = true;\n this.displayItemHeader = true;\n this.nested = false;\n this.layoutSettingChange = new EventEmitter();\n this.rowSettingsChange = new EventEmitter();\n this.columnSettingsChange = new EventEmitter();\n this.rows = 0;\n this.sizes = [];\n }\n ngOnInit() {\n if (this.dashboard.length === 0) {\n this.addRow();\n }\n else {\n for (let i = 0; i < this.totalRows; i++) {\n const totalColumns = this.totalColumns(i);\n this.sizes.push([]);\n for (let j = 0; j < totalColumns; j++) {\n const index = this.itemIndex(i, j);\n this.sizes[i].push(this.dashboard[index].cols);\n }\n }\n if (this.totalRows !== this.rowSettings.length && this.rowSettings.length === 0) {\n const settings = [];\n for (let i = 0; i < this.totalRows; i++) {\n settings.push(new LayoutSetting());\n }\n this.rowSettings = settings;\n this.rowSettingsChange.emit(this.rowSettings);\n }\n let totalCols = 0;\n for (let i = 0; i < this.totalRows; i++) {\n totalCols += this.totalColumns(i);\n }\n if (totalCols !== this.columnSettings.length && this.columnSettings.length === 0) {\n const settings = [];\n for (let i = 0; i < this.totalRows; i++) {\n for (let j = 0; j < this.totalColumns(i); j++) {\n settings.push(new LayoutSetting());\n }\n }\n this.columnSettings = settings;\n this.columnSettingsChange.emit(this.columnSettings);\n }\n }\n }\n removeRow(rIndex) {\n const idx = this.dashboard.reduce((p, c, i) => [...p, ...(c.y === rIndex ? [i] : [])], []);\n let len = idx.length;\n let offset = 0;\n for (let i = 0; i < len; i++) {\n this.dashboard.splice(idx[i] - offset, 1);\n this.rowSettings.splice(rIndex, 1);\n offset++;\n this.itemRemoved.emit(idx[i]);\n this.rowSettingsChange.emit(this.rowSettings);\n }\n len = this.dashboard.length;\n for (let i = 0; i < len; i++) {\n if (this.dashboard[i].y > rIndex) {\n this.dashboard[i].y = this.dashboard[i].y - 1;\n }\n }\n }\n removeColumn(rIndex, cIndex) {\n const index = this.itemIndex(rIndex, cIndex);\n this.dashboard.splice(index, 1);\n this.itemRemoved.emit(index);\n }\n removeColumn2(index) {\n this.dashboard.splice(index, 1);\n this.itemRemoved.emit(index);\n }\n addRow() {\n this.sizes.push([]);\n this.rowSettings = [...this.rowSettings.map(s => new LayoutSetting(s)), new LayoutSetting()];\n this.addColumn(this.totalRows === 0 ? 0 : this.totalRows);\n this.rowSettingsChange.emit(this.rowSettings);\n // @todo: Given various tests this results in duplicate columns in this layout.\n // this.itemAdded.emit();\n }\n addColumn(rowIndex) {\n const totalColumns = this.totalColumns(rowIndex);\n const size = totalColumns === 0 ? 100 : 100 / (totalColumns + 1);\n this.sizes[rowIndex][totalColumns] = size;\n this.dashboard.push({ cols: size, rows: 1, y: rowIndex, x: totalColumns });\n this.itemAdded.emit();\n setTimeout(() => this.resetGutter());\n }\n dragEnd(rowIndex, { sizes }) {\n const len = this.dashboard.length;\n let counter = 0;\n this.sizes[rowIndex] = [...sizes];\n const newDash = this.dashboard.map(o => ({ ...o }));\n for (let i = 0; i < len; i++) {\n if (this.dashboard[i].y === rowIndex) {\n newDash[i].cols = sizes[counter];\n counter += 1;\n }\n }\n this.dashboard = newDash;\n }\n itemIndex(rIndex, cIndex) {\n return this.dashboard.findIndex(c => c.y === rIndex && c.x === cIndex);\n }\n itemSize(rIndex, cIndex) {\n return this.dashboard[this.itemIndex(rIndex, cIndex)].cols;\n }\n totalColumns(rowIndex) {\n return this.dashboard.reduce((p, c) => c.y === rowIndex ? p + 1 : p, 0);\n }\n resetGutter() {\n this.el.nativeElement.querySelectorAll('.as-split-gutter').forEach(e => {\n e.style.height = 'auto';\n });\n }\n settingValues(type, index) {\n switch (type) {\n case 'column':\n return this.columnSettings[index].settings;\n case 'row':\n return this.rowSettings[index].settings;\n case 'global':\n return this.layoutSetting.settings;\n default:\n return [];\n }\n }\n layoutSettings(type, index) {\n this.lpm.getPlugin('split').pipe(switchMap(layout => this.dialog.open(LayoutDialogComponent, { data: { layout, type, settingValues: this.settingValues(type, index) } }).afterClosed()), filter(settings => !!settings)).subscribe(settings => {\n switch (type) {\n case 'column':\n this.columnSettings = this.columnSettings.map((v, i) => i === index ? new LayoutSetting({ settings: settings.map(s => new AttributeValue(s)) }) : new LayoutSetting(v));\n console.log(this.columnSettings);\n this.columnSettingsChange.emit(this.columnSettings);\n break;\n case 'row':\n this.rowSettings = this.rowSettings.map((v, i) => i === index ? new LayoutSetting({ settings: settings.map(s => new AttributeValue(s)) }) : new LayoutSetting(v));\n console.log(this.rowSettings);\n this.rowSettingsChange.emit(this.rowSettings);\n break;\n case 'global':\n this.layoutSetting = new LayoutSetting({ settings: settings.map(s => new AttributeValue(s)) });\n this.layoutSettingChange.emit(this.layoutSetting);\n break;\n default:\n }\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: SplitLayoutComponent, deps: [{ token: i0.ElementRef }, { token: i1$1.MatLegacyDialog }, { token: LayoutPluginManager }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: SplitLayoutComponent, selector: \"classifieds-ui-split-layout\", inputs: { dashboard: \"dashboard\", displayMainControls: \"displayMainControls\", displayItemHeader: \"displayItemHeader\", nested: \"nested\", layoutSetting: \"layoutSetting\", rowSettings: \"rowSettings\", columnSettings: \"columnSettings\" }, outputs: { itemAdded: \"itemAdded\", itemRemoved: \"itemRemoved\", layoutSettingChange: \"layoutSettingChange\", rowSettingsChange: \"rowSettingsChange\", columnSettingsChange: \"columnSettingsChange\" }, host: { properties: { \"class.is-nested\": \"nested\" } }, queries: [{ propertyName: \"gridItemActionsTmpl\", first: true, predicate: [\"gridItemActions\"], descendants: true }, { propertyName: \"innerGridItemTmpl\", first: true, predicate: [\"innerGridItem\"], descendants: true }, { propertyName: \"extraActionsTmpl\", first: true, predicate: [\"extraActions\"], descendants: true }], viewQueries: [{ propertyName: \"mainControls\", first: true, predicate: [\"mainControls\"], descendants: true }, { propertyName: \"itemHeaders\", predicate: [\"itemHeader\"], descendants: true }, { propertyName: \"splitAreas\", predicate: SplitAreaDirective, descendants: true }], ngImport: i0, template: \"<div class=\\\"layout-wrapper\\\">\\n <div #mainControls [hidden]=\\\"!displayMainControls\\\" class=\\\"main-controls\\\">\\n <!-- <button type=\\\"button\\\" (mousedown)=\\\"layoutSettings('global')\\\">Layout Settings</button>\\n <button type=\\\"button\\\" (mousedown)=\\\"addRow()\\\">Add Row</button> -->\\n <ng-container *ngTemplateOutlet=\\\"extraActionsTmpl\\\"></ng-container>\\n </div>\\n <div class=\\\"layout-inner\\\">\\n <div *for=\\\"totalRows; let i = index\\\" class=\\\"rows-wrapper\\\">\\n <div class=\\\"row-controls\\\">\\n\\n <button mat-button type=\\\"button\\\" [matMenuTriggerFor]=\\\"rowActions\\\">\\n <mat-icon>menu</mat-icon>\\n </button>\\n <mat-menu #rowActions=\\\"matMenu\\\">\\n <button type=\\\"button\\\" mat-menu-item (mousedown)=\\\"addColumn(i)\\\">Add Column</button>\\n <button type=\\\"button\\\" mat-menu-item (mousedown)=\\\"layoutSettings('row', i)\\\">Layout Settings</button>\\n <button type=\\\"button\\\" mat-menu-item (mousedown)=\\\"removeRow(i)\\\" class=\\\"remove-row\\\">Delete</button>\\n </mat-menu>\\n\\n <!-- <button type=\\\"button\\\" (mousedown)=\\\"addColumn(i)\\\">Add Column</button>\\n <button type=\\\"button\\\" (mousedown)=\\\"layoutSettings('row', i)\\\">Layout Settings</button>\\n <button type=\\\"button\\\" (mousedown)=\\\"removeRow(i)\\\" class=\\\"remove-row\\\">Delete</button> -->\\n </div>\\n <div class=\\\"rows-inner\\\">\\n <as-split unit=\\\"percent\\\" direction=\\\"horizontal\\\" (dragEnd)=\\\"dragEnd(i, $event)\\\">\\n <as-split-area *for=\\\"totalColumns(i); let j = index\\\" [size]=\\\"itemSize(i, j)\\\">\\n <div fxLayout=\\\"column\\\" fxFill>\\n <div #itemHeader [hidden]=\\\"!displayItemHeader\\\" class=\\\"grid-item-header\\\">\\n <!-- <button type=\\\"button\\\" (mousedown)=\\\"layoutSettings('column', itemIndex(i, j))\\\">Layout Settings</button> -->\\n <ng-container *ngTemplateOutlet=\\\"gridItemActionsTmpl,context: { i: itemIndex(i, j) }\\\"></ng-container>\\n <!-- <span>percent: {{ sizes[i][j] }}</span> figure out what to do with percent -->\\n <!-- <button type=\\\"button\\\" class=\\\"delete\\\" (mousedown)=\\\"removeColumn(i, j)\\\" (touchstart)=\\\"removeColumn(i, j)\\\">Delete</button> -->\\n </div>\\n <div fxFlex class=\\\"grid-item-inner\\\">\\n <ng-container *ngTemplateOutlet=\\\"innerGridItemTmpl,context: { i: itemIndex(i, j) }\\\"></ng-container>\\n </div>\\n </div>\\n </as-split-area>\\n </as-split>\\n </div>\\n </div>\\n </div>\\n</div>\\n\", styles: [\".layout-wrapper,.layout-inner{height:100%}.grid-item-header{padding:0;display:flex;align-items:baseline}button.delete{float:right}.main-controls{display:flex;padding:0;align-items:baseline}.rows-inner{height:auto;background-color:#fff}.row-controls{background-color:gray;padding:0}.remove-row{float:right}:host.is-nested .layout-wrapper{padding:0 .25em;border:1px solid #ccc}.mat-menu-trigger{min-width:0;padding:0;margin:0;color:#fff}.mat-menu-trigger .mat-icon{transform:rotate(-90deg)}\\n\"], dependencies: [{ kind: \"directive\", type: i2$1.NgTemplateOutlet, selector: \"[ngTemplateOutlet]\", inputs: [\"ngTemplateOutletContext\", \"ngTemplateOutlet\", \"ngTemplateOutletInjector\"] }, { kind: \"component\", type: i4$1.MatLegacyButton, selector: \"button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]\", inputs: [\"disabled\", \"disableRipple\", \"color\"], exportAs: [\"matButton\"] }, { kind: \"component\", type: i8.MatIcon, selector: \"mat-icon\", inputs: [\"color\", \"inline\", \"svgIcon\", \"fontSet\", \"fontIcon\"], exportAs: [\"matIcon\"] }, { kind: \"component\", type: i6.MatLegacyMenu, selector: \"mat-menu\", exportAs: [\"matMenu\"] }, { kind: \"component\", type: i6.MatLegacyMenuItem, selector: \"[mat-menu-item]\", inputs: [\"disabled\", \"disableRipple\"], exportAs: [\"matMenuItem\"] }, { kind: \"directive\", type: i6.MatLegacyMenuTrigger, selector: \"[mat-menu-trigger-for], [matMenuTriggerFor]\", exportAs: [\"matMenuTrigger\"] }, { kind: \"directive\", type: i2$2.DefaultLayoutDirective, selector: \" [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]\", inputs: [\"fxLayout\", \"fxLayout.xs\", \"fxLayout.sm\", \"fxLayout.md\", \"fxLayout.lg\", \"fxLayout.xl\", \"fxLayout.lt-sm\", \"fxLayout.lt-md\", \"fxLayout.lt-lg\", \"fxLayout.lt-xl\", \"fxLayout.gt-xs\", \"fxLayout.gt-sm\", \"fxLayout.gt-md\", \"fxLayout.gt-lg\"] }, { kind: \"directive\", type: i2$2.FlexFillDirective, selector: \"[fxFill], [fxFlexFill]\" }, { kind: \"directive\", type: i2$2.DefaultFlexDirective, selector: \" [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]\", inputs: [\"fxFlex\", \"fxFlex.xs\", \"fxFlex.sm\", \"fxFlex.md\", \"fxFlex.lg\", \"fxFlex.xl\", \"fxFlex.lt-sm\", \"fxFlex.lt-md\", \"fxFlex.lt-lg\", \"fxFlex.lt-xl\", \"fxFlex.gt-xs\", \"fxFlex.gt-sm\", \"fxFlex.gt-md\", \"fxFlex.gt-lg\"] }, { kind: \"component\", type: i8$1.SplitComponent, selector: \"as-split\", inputs: [\"direction\", \"unit\", \"gutterSize\", \"gutterStep\", \"restrictMove\", \"useTransition\", \"disabled\", \"dir\", \"gutterDblClickDuration\", \"gutterClickDeltaPx\", \"gutterAriaLabel\"], outputs: [\"transitionEnd\", \"dragStart\", \"dragEnd\", \"gutterClick\", \"gutterDblClick\"], exportAs: [\"asSplit\"] }, { kind: \"directive\", type: i8$1.SplitAreaDirective, selector: \"as-split-area, [as-split-area]\", inputs: [\"order\", \"size\", \"minSize\", \"maxSize\", \"lockSize\", \"visible\"], exportAs: [\"asSplitArea\"] }, { kind: \"directive\", type: i2$3.ForDirective, selector: \"[for]:not(label)\", inputs: [\"for\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: SplitLayoutComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-split-layout', host: {\n \"[class.is-nested]\": \"nested\"\n }, template: \"<div class=\\\"layout-wrapper\\\">\\n <div #mainControls [hidden]=\\\"!displayMainControls\\\" class=\\\"main-controls\\\">\\n <!-- <button type=\\\"button\\\" (mousedown)=\\\"layoutSettings('global')\\\">Layout Settings</button>\\n <button type=\\\"button\\\" (mousedown)=\\\"addRow()\\\">Add Row</button> -->\\n <ng-container *ngTemplateOutlet=\\\"extraActionsTmpl\\\"></ng-container>\\n </div>\\n <div class=\\\"layout-inner\\\">\\n <div *for=\\\"totalRows; let i = index\\\" class=\\\"rows-wrapper\\\">\\n <div class=\\\"row-controls\\\">\\n\\n <button mat-button type=\\\"button\\\" [matMenuTriggerFor]=\\\"rowActions\\\">\\n <mat-icon>menu</mat-icon>\\n </button>\\n <mat-menu #rowActions=\\\"matMenu\\\">\\n <button type=\\\"button\\\" mat-menu-item (mousedown)=\\\"addColumn(i)\\\">Add Column</button>\\n <button type=\\\"button\\\" mat-menu-item (mousedown)=\\\"layoutSettings('row', i)\\\">Layout Settings</button>\\n <button type=\\\"button\\\" mat-menu-item (mousedown)=\\\"removeRow(i)\\\" class=\\\"remove-row\\\">Delete</button>\\n </mat-menu>\\n\\n <!-- <button type=\\\"button\\\" (mousedown)=\\\"addColumn(i)\\\">Add Column</button>\\n <button type=\\\"button\\\" (mousedown)=\\\"layoutSettings('row', i)\\\">Layout Settings</button>\\n <button type=\\\"button\\\" (mousedown)=\\\"removeRow(i)\\\" class=\\\"remove-row\\\">Delete</button> -->\\n </div>\\n <div class=\\\"rows-inner\\\">\\n <as-split unit=\\\"percent\\\" direction=\\\"horizontal\\\" (dragEnd)=\\\"dragEnd(i, $event)\\\">\\n <as-split-area *for=\\\"totalColumns(i); let j = index\\\" [size]=\\\"itemSize(i, j)\\\">\\n <div fxLayout=\\\"column\\\" fxFill>\\n <div #itemHeader [hidden]=\\\"!displayItemHeader\\\" class=\\\"grid-item-header\\\">\\n <!-- <button type=\\\"button\\\" (mousedown)=\\\"layoutSettings('column', itemIndex(i, j))\\\">Layout Settings</button> -->\\n <ng-container *ngTemplateOutlet=\\\"gridItemActionsTmpl,context: { i: itemIndex(i, j) }\\\"></ng-container>\\n <!-- <span>percent: {{ sizes[i][j] }}</span> figure out what to do with percent -->\\n <!-- <button type=\\\"button\\\" class=\\\"delete\\\" (mousedown)=\\\"removeColumn(i, j)\\\" (touchstart)=\\\"removeColumn(i, j)\\\">Delete</button> -->\\n </div>\\n <div fxFlex class=\\\"grid-item-inner\\\">\\n <ng-container *ngTemplateOutlet=\\\"innerGridItemTmpl,context: { i: itemIndex(i, j) }\\\"></ng-container>\\n </div>\\n </div>\\n </as-split-area>\\n </as-split>\\n </div>\\n </div>\\n </div>\\n</div>\\n\", styles: [\".layout-wrapper,.layout-inner{height:100%}.grid-item-header{padding:0;display:flex;align-items:baseline}button.delete{float:right}.main-controls{display:flex;padding:0;align-items:baseline}.rows-inner{height:auto;background-color:#fff}.row-controls{background-color:gray;padding:0}.remove-row{float:right}:host.is-nested .layout-wrapper{padding:0 .25em;border:1px solid #ccc}.mat-menu-trigger{min-width:0;padding:0;margin:0;color:#fff}.mat-menu-trigger .mat-icon{transform:rotate(-90deg)}\\n\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$1.MatLegacyDialog }, { type: LayoutPluginManager }]; }, propDecorators: { itemAdded: [{\n type: Output\n }], itemRemoved: [{\n type: Output\n }], dashboard: [{\n type: Input\n }], displayMainControls: [{\n type: Input\n }], displayItemHeader: [{\n type: Input\n }], nested: [{\n type: Input\n }], layoutSetting: [{\n type: Input\n }], layoutSettingChange: [{\n type: Output\n }], rowSettings: [{\n type: Input\n }], rowSettingsChange: [{\n type: Output\n }], columnSettings: [{\n type: Input\n }], columnSettingsChange: [{\n type: Output\n }], gridItemActionsTmpl: [{\n type: ContentChild,\n args: ['gridItemActions']\n }], innerGridItemTmpl: [{\n type: ContentChild,\n args: ['innerGridItem']\n }], extraActionsTmpl: [{\n type: ContentChild,\n args: ['extraActions']\n }], mainControls: [{\n type: ViewChild,\n args: ['mainControls']\n }], itemHeaders: [{\n type: ViewChildren,\n args: ['itemHeader']\n }], splitAreas: [{\n type: ViewChildren,\n args: [SplitAreaDirective]\n }] } });\n\nclass LayoutPlugin extends Plugin {\n constructor(data) {\n super(data);\n this.settings = new Map();\n if (data.settings) {\n const attributes = [];\n this.renderer = data.renderer;\n this.editor = data.editor;\n data.settings.forEach((v, k) => {\n attributes.push([k, v.map(a => new Attribute(a))]);\n });\n this.settings = new Map(attributes);\n }\n }\n}\n\nclass LayoutSidenavComponent {\n constructor(siteName, authFacade, controlContainer, es) {\n this.siteName = siteName;\n this.authFacade = authFacade;\n this.controlContainer = controlContainer;\n this.close = new EventEmitter();\n this.panelPageListItemsService = es.getEntityCollectionService('PanelPageListItem');\n }\n ngOnInit() {\n this.panelPageListItems$ = this.panelPageListItemsService.getWithQuery(`site=${encodeURIComponent(`{\"term\":{\"site.keyword\":{\"value\":\"${this.siteName}\"}}}`)}`);\n this.isAuthenticated$ = this.authFacade.getUser$.pipe(map(u => !!u));\n }\n login() {\n this.authFacade.login();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: LayoutSidenavComponent, deps: [{ token: SITE_NAME }, { token: i1$3.AuthFacade }, { token: i1.ControlContainer }, { token: i3$1.EntityServices }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: LayoutSidenavComponent, selector: \"druid-layout-sidenav\", outputs: { close: \"close\" }, ngImport: i0, template: \"<div class=\\\"close-wrapper\\\">\\n <mat-icon (click)=\\\"close.emit()\\\">close</mat-icon>\\n <button type=\\\"button\\\" class=\\\"login\\\" *ngIf=\\\"!(isAuthenticated$ | async)\\\" mat-button (click)=\\\"login()\\\">login</button>\\n</div>\\n<mat-divider></mat-divider>\\n<ng-content></ng-content>\\n<mat-divider></mat-divider>\\n<div class=\\\"viewport-container\\\">\\n <cdk-virtual-scroll-viewport class=\\\"viewport\\\" appendOnly itemSize=\\\"48\\\">\\n <div *cdkVirtualFor=\\\"let pp of (panelPageListItems$ | async)\\\" class=\\\"pp-item\\\">\\n <a [routerLink]=\\\"[pp.path, 'manage']\\\">{{ pp.path }}</a>\\n </div>\\n </cdk-virtual-scroll-viewport>\\n</div>\", styles: [\":host{height:100%;display:flex;flex-direction:column}.close-wrapper{padding:16px 16px 0;position:relative}.login{position:absolute;top:7px;right:5px}.pp-item{line-height:48px}.viewport{height:100%;width:300px}.viewport-container{flex:1;padding:0 0 0 16px;box-sizing:border-box}\\n\"], dependencies: [{ kind: \"directive\", type: i2$1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i5.RouterLink, selector: \"[routerLink]\", inputs: [\"target\", \"queryParams\", \"fragment\", \"queryParamsHandling\", \"state\", \"relativeTo\", \"preserveFragment\", \"skipLocationChange\", \"replaceUrl\", \"routerLink\"] }, { kind: \"component\", type: i4$1.MatLegacyButton, selector: \"button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]\", inputs: [\"disabled\", \"disableRipple\", \"color\"], exportAs: [\"matButton\"] }, { kind: \"component\", type: i7.MatDivider, selector: \"mat-divider\", inputs: [\"vertical\", \"inset\"] }, { kind: \"component\", type: i8.MatIcon, selector: \"mat-icon\", inputs: [\"color\", \"inline\", \"svgIcon\", \"fontSet\", \"fontIcon\"], exportAs: [\"matIcon\"] }, { kind: \"directive\", type: i9.CdkFixedSizeVirtualScroll, selector: \"cdk-virtual-scroll-viewport[itemSize]\", inputs: [\"itemSize\", \"minBufferPx\", \"maxBufferPx\"] }, { kind: \"directive\", type: i9.CdkVirtualForOf, selector: \"[cdkVirtualFor][cdkVirtualForOf]\", inputs: [\"cdkVirtualForOf\", \"cdkVirtualForTrackBy\", \"cdkVirtualForTemplate\", \"cdkVirtualForTemplateCacheSize\"] }, { kind: \"component\", type: i9.CdkVirtualScrollViewport, selector: \"cdk-virtual-scroll-viewport\", inputs: [\"orientation\", \"appendOnly\"], outputs: [\"scrolledIndexChange\"] }, { kind: \"pipe\", type: i2$1.AsyncPipe, name: \"async\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: LayoutSidenavComponent, decorators: [{\n type: Component,\n args: [{ selector: 'druid-layout-sidenav', template: \"<div class=\\\"close-wrapper\\\">\\n <mat-icon (click)=\\\"close.emit()\\\">close</mat-icon>\\n <button type=\\\"button\\\" class=\\\"login\\\" *ngIf=\\\"!(isAuthenticated$ | async)\\\" mat-button (click)=\\\"login()\\\">login</button>\\n</div>\\n<mat-divider></mat-divider>\\n<ng-content></ng-content>\\n<mat-divider></mat-divider>\\n<div class=\\\"viewport-container\\\">\\n <cdk-virtual-scroll-viewport class=\\\"viewport\\\" appendOnly itemSize=\\\"48\\\">\\n <div *cdkVirtualFor=\\\"let pp of (panelPageListItems$ | async)\\\" class=\\\"pp-item\\\">\\n <a [routerLink]=\\\"[pp.path, 'manage']\\\">{{ pp.path }}</a>\\n </div>\\n </cdk-virtual-scroll-viewport>\\n</div>\", styles: [\":host{height:100%;display:flex;flex-direction:column}.close-wrapper{padding:16px 16px 0;position:relative}.login{position:absolute;top:7px;right:5px}.pp-item{line-height:48px}.viewport{height:100%;width:300px}.viewport-container{flex:1;padding:0 0 0 16px;box-sizing:border-box}\\n\"] }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [SITE_NAME]\n }] }, { type: i1$3.AuthFacade }, { type: i1.ControlContainer }, { type: i3$1.EntityServices }]; }, propDecorators: { close: [{\n type: Output\n }] } });\n\nclass GridlessLayoutEditorComponent extends LayoutEditorBaseComponent {\n constructor(siteName, authFacade, controlContainer, es) {\n super(controlContainer);\n this.siteName = siteName;\n this.authFacade = authFacade;\n this.controlContainer = controlContainer;\n this.panelPageListItemsService = es.getEntityCollectionService('PanelPageListItem');\n }\n ngOnInit() {\n this.panelPageListItems$ = this.panelPageListItemsService.getWithQuery(`site=${encodeURIComponent(`{\"term\":{\"site.keyword\":{\"value\":\"${this.siteName}\"}}}`)}`);\n this.isAuthenticated$ = this.authFacade.getUser$.pipe(map(u => !!u));\n }\n login() {\n this.authFacade.login();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: GridlessLayoutEditorComponent, deps: [{ token: SITE_NAME }, { token: i1$3.AuthFacade }, { token: i1.ControlContainer }, { token: i3$1.EntityServices }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: GridlessLayoutEditorComponent, selector: \"classifieds-ui-gridless-layout-editor\", usesInheritance: true, ngImport: i0, template: \"<mat-sidenav-container autosize [hasBackdrop]=\\\"false\\\">\\n\\n <mat-sidenav #drawer fixedInViewport mode=\\\"over\\\">\\n <druid-layout-sidenav (close)=\\\"drawer.toggle()\\\">\\n <nav>\\n <ul>\\n <li *ngIf=\\\"savable\\\"><button mat-menu-item type=\\\"submit\\\" (click)=\\\"editor.submit()\\\">Save</button></li>\\n <li *ngIf=\\\"savable || nested\\\"><button type=\\\"button\\\" mat-menu-item (click)=\\\"editor.onPropertiesClick()\\\">Properties</button></li>\\n <li *ngIf=\\\"nested\\\"><button type=\\\"button\\\" mat-menu-item (click)=\\\"editor.onDeleteClick()\\\">Delete</button></li>\\n <li *ngIf=\\\"nested\\\"><button type=\\\"button\\\" mat-menu-item (click)=\\\"editor.onRulesClick()\\\">Rules</button></li>\\n <li *ngIf=\\\"savable\\\"><button type=\\\"button\\\" mat-menu-item (mousedown)=\\\"editor.onPersistenceClick()\\\">Persistence</button></li>\\n <li *ngIf=\\\"savable\\\"><button type=\\\"button\\\" mat-menu-item (mousedown)=\\\"editor.onInteractionsClick()\\\">Interactions</button></li>\\n <li><button type=\\\"button\\\" mat-menu-item (mousedown)=\\\"editor.addContent(0)\\\" (touchstart)=\\\"editor.addContent(0)\\\">Add Content</button></li>\\n <li><button type=\\\"button\\\" mat-menu-item (mousedown)=\\\"editor.editPanelProps(0)\\\" (touchstart)=\\\"editor.editPanelProps(0)\\\" >Props</button></li>\\n <li *ngIf=\\\"!editor.hasPanelStyle(0)\\\"><button mat-menu-item type=\\\"button\\\" (mousedown)=\\\"editor.applyStyle(0)\\\" (touchstart)=\\\"editor.applyStyle(0)\\\">Apply Style</button></li>\\n <li *ngIf=\\\"editor.hasPanelStyle(0)\\\"><button mat-menu-item type=\\\"button\\\" (mousedown)=\\\"editor.removeStyle(0)\\\" (touchstart)=\\\"editor.removeStyle(0)\\\" >Remove Style</button></li>\\n </ul>\\n </nav>\\n </druid-layout-sidenav>\\n </mat-sidenav>\\n\\n <mat-sidenav-content>\\n\\n <classifieds-ui-gridless-layout [formGroup]=\\\"controlContainer.control\\\" [nested]=\\\"nested\\\" cdkDropListGroup>\\n <ng-template #extraActions>\\n\\n <button *ngIf=\\\"!nested\\\" mat-button type=\\\"button\\\" class=\\\"drawer-trigger\\\" (click)=\\\"drawer.toggle()\\\">\\n <mat-icon>menu</mat-icon>\\n </button>\\n\\n <button *ngIf=\\\"nested\\\" mat-button type=\\\"button\\\" [matMenuTriggerFor]=\\\"topActions\\\">\\n <mat-icon *ngIf=\\\"nested\\\">arrow_drop_down</mat-icon>\\n </button>\\n\\n <div>\\n <ng-container *ngIf=\\\"savable\\\"><ng-container *ngTemplateOutlet=\\\"contextsMenuTpl\\\"></ng-container></ng-container>\\n </div>\\n\\n <!-- this looks a little wonky breaking with tradition in the top menu -->\\n <div *ngIf=\\\"editor.hasPanelStyle(0) && nested\\\" class=\\\"style-title\\\">{{ editor.panelStyleTitle(0) }}</div>\\n\\n <span *ngIf=\\\"nested\\\" class=\\\"spacer\\\"></span>\\n <ng-container *ngTemplateOutlet=\\\"extraActionsAreaTmpl\\\"></ng-container>\\n\\n <div class=\\\"display-type\\\">\\n <mat-form-field>\\n <mat-select required formControlName=\\\"displayType\\\">\\n <mat-option value=\\\"page\\\">page</mat-option>\\n <mat-option value=\\\"form\\\">form</mat-option>\\n <mat-option value=\\\"json\\\">json</mat-option>\\n </mat-select>\\n </mat-form-field>\\n </div>\\n <div class=\\\"layout-type\\\">\\n <mat-form-field>\\n <mat-select required formControlName=\\\"layoutType\\\">\\n <mat-option value=\\\"grid\\\">grid</mat-option>\\n <mat-option value=\\\"gridless\\\">gridless</mat-option>\\n <mat-option value=\\\"split\\\">split</mat-option>\\n </mat-select>\\n </mat-form-field>\\n </div>\\n\\n <div *ngIf=\\\"!nested\\\" class=\\\"brand\\\">Quell</div>\\n\\n </ng-template>\\n <ng-template #gridItemActions let-i=\\\"i\\\">\\n <!-- for the root level display in item container -->\\n <div *ngIf=\\\"editor.hasPanelStyle(0) && !nested\\\" class=\\\"style-title\\\">{{ editor.panelStyleTitle(0) }}</div>\\n </ng-template>\\n <ng-template #innerGridItem let-i=\\\"i\\\">\\n <ngx-dropzone [cdkDropListData]=\\\"i\\\" class=\\\"panel-dropzone\\\" [multiple]=\\\"true\\\" [disableClick]=\\\"true\\\" (change)=\\\"editor.onFileChange($event, i)\\\" cdkDropList (cdkDropListDropped)=\\\"editor.onDrop($event)\\\">\\n <div #panes>\\n <div *ngFor=\\\"let pane of editor.panelPanes(i).controls; let j = index\\\" cdkDrag>\\n <ng-container *ngTemplateOutlet=\\\"editablePaneTpl;context:{ i: i, j: j }\\\"></ng-container>\\n </div>\\n </div>\\n </ngx-dropzone>\\n </ng-template>\\n\\n </classifieds-ui-gridless-layout>\\n\\n </mat-sidenav-content>\\n\\n</mat-sidenav-container>\\n\\n<mat-menu #topActions=\\\"matMenu\\\">\\n <button *ngIf=\\\"savable\\\" mat-menu-item type=\\\"submit\\\" (click)=\\\"editor.submit()\\\">Save</button>\\n <button *ngIf=\\\"savable || nested\\\" type=\\\"button\\\" mat-menu-item (click)=\\\"editor.onPropertiesClick()\\\">Properties</button>\\n <button *ngIf=\\\"nested\\\" type=\\\"button\\\" mat-menu-item (click)=\\\"editor.onDeleteClick()\\\">Delete</button>\\n <button *ngIf=\\\"nested\\\" type=\\\"button\\\" mat-menu-item (click)=\\\"editor.onRulesClick()\\\">Rules</button>\\n <button *ngIf=\\\"savable\\\" type=\\\"button\\\" mat-menu-item (mousedown)=\\\"editor.onPersistenceClick()\\\">Persistence</button>\\n <button *ngIf=\\\"savable\\\" type=\\\"button\\\" mat-menu-item (mousedown)=\\\"editor.onInteractionsClick()\\\">Interactions</button>\\n <button type=\\\"button\\\" mat-menu-item (mousedown)=\\\"editor.addContent(0)\\\" (touchstart)=\\\"editor.addContent(0)\\\">Add Content</button>\\n <button type=\\\"button\\\" mat-menu-item (mousedown)=\\\"editor.editPanelProps(0)\\\" (touchstart)=\\\"editor.editPanelProps(0)\\\" >Props</button>\\n <button *ngIf=\\\"!editor.hasPanelStyle(0)\\\" mat-menu-item type=\\\"button\\\" (mousedown)=\\\"editor.applyStyle(0)\\\" (touchstart)=\\\"editor.applyStyle(0)\\\">Apply Style</button>\\n <button *ngIf=\\\"editor.hasPanelStyle(0)\\\" mat-menu-item type=\\\"button\\\" (mousedown)=\\\"editor.removeStyle(0)\\\" (touchstart)=\\\"editor.removeStyle(0)\\\" >Remove Style</button>\\n</mat-menu>\", styles: [\".layout-type ::ng-deep .mat-form-field-wrapper,.display-type ::ng-deep .mat-form-field-wrapper{padding-bottom:0}.layout-type ::ng-deep .mat-form-field-label-wrapper,.display-type ::ng-deep .mat-form-field-label-wrapper{display:none}.layout-type ::ng-deep .mat-form-field-infix,.display-type ::ng-deep .mat-form-field-infix{border-top:none;padding:0;margin:0}.layout-type ::ng-deep .mat-form-field,.display-type ::ng-deep .mat-form-field{width:70px}.layout-type ::ng-deep .mat-select-value,.display-type ::ng-deep .mat-select-value{text-align:right}.layout-type ::ng-deep .mat-form-field-underline,.display-type ::ng-deep .mat-form-field-underline{display:none}.mat-menu-trigger{min-width:0;padding:0;margin:0}.cdk-drag{padding:.25em}.brand{font-family:sans-serif;text-align:right;flex:1;letter-spacing:.2em;font-weight:lighter;color:#c82913}.spacer{flex:1}.style-title{font-family:sans-serif;font-weight:500;text-transform:lowercase;color:#000}.mat-icon{color:#000}.drawer-trigger{min-width:0;padding:0;margin:0}\\n\"], dependencies: [{ kind: \"directive\", type: i2$1.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i2$1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i2$1.NgTemplateOutlet, selector: \"[ngTemplateOutlet]\", inputs: [\"ngTemplateOutletContext\", \"ngTemplateOutlet\", \"ngTemplateOutletInjector\"] }, { kind: \"directive\", type: i1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1.RequiredValidator, selector: \":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]\", inputs: [\"required\"] }, { kind: \"directive\", type: i1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"directive\", type: i3$2.CdkDropList, selector: \"[cdkDropList], cdk-drop-list\", inputs: [\"cdkDropListConnectedTo\", \"cdkDropListData\", \"cdkDropListOrientation\", \"id\", \"cdkDropListLockAxis\", \"cdkDropListDisabled\", \"cdkDropListSortingDisabled\", \"cdkDropListEnterPredicate\", \"cdkDropListSortPredicate\", \"cdkDropListAutoScrollDisabled\", \"cdkDropListAutoScrollStep\"], outputs: [\"cdkDropListDropped\", \"cdkDropListEntered\", \"cdkDropListExited\", \"cdkDropListSorted\"], exportAs: [\"cdkDropList\"] }, { kind: \"directive\", type: i3$2.CdkDropListGroup, selector: \"[cdkDropListGroup]\", inputs: [\"cdkDropListGroupDisabled\"], exportAs: [\"cdkDropListGroup\"] }, { kind: \"directive\", type: i3$2.CdkDrag, selector: \"[cdkDrag]\", inputs: [\"cdkDragData\", \"cdkDragLockAxis\", \"cdkDragRootElement\", \"cdkDragBoundary\", \"cdkDragStartDelay\", \"cdkDragFreeDragPosition\", \"cdkDragDisabled\", \"cdkDragConstrainPosition\", \"cdkDragPreviewClass\", \"cdkDragPreviewContainer\"], outputs: [\"cdkDragStarted\", \"cdkDragReleased\", \"cdkDragEnded\", \"cdkDragEntered\", \"cdkDragExited\", \"cdkDragDropped\", \"cdkDragMoved\"], exportAs: [\"cdkDrag\"] }, { kind: \"component\", type: i4$2.MatLegacyOption, selector: \"mat-option\", exportAs: [\"matOption\"] }, { kind: \"component\", type: i4$1.MatLegacyButton, selector: \"button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]\", inputs: [\"disabled\", \"disableRipple\", \"color\"], exportAs: [\"matButton\"] }, { kind: \"component\", type: i8.MatIcon, selector: \"mat-icon\", inputs: [\"color\", \"inline\", \"svgIcon\", \"fontSet\", \"fontIcon\"], exportAs: [\"matIcon\"] }, { kind: \"component\", type: i9$1.MatLegacyFormField, selector: \"mat-form-field\", inputs: [\"color\", \"appearance\", \"hideRequiredMarker\", \"hintLabel\", \"floatLabel\"], exportAs: [\"matFormField\"] }, { kind: \"component\", type: i6.MatLegacyMenu, selector: \"mat-menu\", exportAs: [\"matMenu\"] }, { kind: \"component\", type: i6.MatLegacyMenuItem, selector: \"[mat-menu-item]\", inputs: [\"disabled\", \"disableRipple\"], exportAs: [\"matMenuItem\"] }, { kind: \"directive\", type: i6.MatLegacyMenuTrigger, selector: \"[mat-menu-trigger-for], [matMenuTriggerFor]\", exportAs: [\"matMenuTrigger\"] }, { kind: \"component\", type: i11.MatLegacySelect, selector: \"mat-select\", inputs: [\"disabled\", \"disableRipple\", \"tabIndex\"], exportAs: [\"matSelect\"] }, { kind: \"component\", type: i12.MatSidenav, selector: \"mat-sidenav\", inputs: [\"fixedInViewport\", \"fixedTopGap\", \"fixedBottomGap\"], exportAs: [\"matSidenav\"] }, { kind: \"component\", type: i12.MatSidenavContainer, selector: \"mat-sidenav-container\", exportAs: [\"matSidenavContainer\"] }, { kind: \"component\", type: i12.MatSidenavContent, selector: \"mat-sidenav-content\" }, { kind: \"component\", type: i13.NgxDropzoneComponent, selector: \"ngx-dropzone, [ngx-dropzone]\", inputs: [\"accept\", \"disabled\", \"multiple\", \"maxFileSize\", \"expandable\", \"disableClick\", \"processDirectoryDrop\", \"id\", \"aria-label\", \"aria-labelledby\", \"aria-describedby\"], outputs: [\"change\"] }, { kind: \"component\", type: GridlessLayoutComponent, selector: \"classifieds-ui-gridless-layout\", inputs: [\"displayMainControls\", \"displayItemHeader\", \"nested\"] }, { kind: \"component\", type: LayoutSidenavComponent, selector: \"druid-layout-sidenav\", outputs: [\"close\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: GridlessLayoutEditorComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-gridless-layout-editor', template: \"<mat-sidenav-container autosize [hasBackdrop]=\\\"false\\\">\\n\\n <mat-sidenav #drawer fixedInViewport mode=\\\"over\\\">\\n <druid-layout-sidenav (close)=\\\"drawer.toggle()\\\">\\n <nav>\\n <ul>\\n <li *ngIf=\\\"savable\\\"><button mat-menu-item type=\\\"submit\\\" (click)=\\\"editor.submit()\\\">Save</button></li>\\n <li *ngIf=\\\"savable || nested\\\"><button type=\\\"button\\\" mat-menu-item (click)=\\\"editor.onPropertiesClick()\\\">Properties</button></li>\\n <li *ngIf=\\\"nested\\\"><button type=\\\"button\\\" mat-menu-item (click)=\\\"editor.onDeleteClick()\\\">Delete</button></li>\\n <li *ngIf=\\\"nested\\\"><button type=\\\"button\\\" mat-menu-item (click)=\\\"editor.onRulesClick()\\\">Rules</button></li>\\n <li *ngIf=\\\"savable\\\"><button type=\\\"button\\\" mat-menu-item (mousedown)=\\\"editor.onPersistenceClick()\\\">Persistence</button></li>\\n <li *ngIf=\\\"savable\\\"><button type=\\\"button\\\" mat-menu-item (mousedown)=\\\"editor.onInteractionsClick()\\\">Interactions</button></li>\\n <li><button type=\\\"button\\\" mat-menu-item (mousedown)=\\\"editor.addContent(0)\\\" (touchstart)=\\\"editor.addContent(0)\\\">Add Content</button></li>\\n <li><button type=\\\"button\\\" mat-menu-item (mousedown)=\\\"editor.editPanelProps(0)\\\" (touchstart)=\\\"editor.editPanelProps(0)\\\" >Props</button></li>\\n <li *ngIf=\\\"!editor.hasPanelStyle(0)\\\"><button mat-menu-item type=\\\"button\\\" (mousedown)=\\\"editor.applyStyle(0)\\\" (touchstart)=\\\"editor.applyStyle(0)\\\">Apply Style</button></li>\\n <li *ngIf=\\\"editor.hasPanelStyle(0)\\\"><button mat-menu-item type=\\\"button\\\" (mousedown)=\\\"editor.removeStyle(0)\\\" (touchstart)=\\\"editor.removeStyle(0)\\\" >Remove Style</button></li>\\n </ul>\\n </nav>\\n </druid-layout-sidenav>\\n </mat-sidenav>\\n\\n <mat-sidenav-content>\\n\\n <classifieds-ui-gridless-layout [formGroup]=\\\"controlContainer.control\\\" [nested]=\\\"nested\\\" cdkDropListGroup>\\n <ng-template #extraActions>\\n\\n <button *ngIf=\\\"!nested\\\" mat-button type=\\\"button\\\" class=\\\"drawer-trigger\\\" (click)=\\\"drawer.toggle()\\\">\\n <mat-icon>menu</mat-icon>\\n </button>\\n\\n <button *ngIf=\\\"nested\\\" mat-button type=\\\"button\\\" [matMenuTriggerFor]=\\\"topActions\\\">\\n <mat-icon *ngIf=\\\"nested\\\">arrow_drop_down</mat-icon>\\n </button>\\n\\n <div>\\n <ng-container *ngIf=\\\"savable\\\"><ng-container *ngTemplateOutlet=\\\"contextsMenuTpl\\\"></ng-container></ng-container>\\n </div>\\n\\n <!-- this looks a little wonky breaking with tradition in the top menu -->\\n <div *ngIf=\\\"editor.hasPanelStyle(0) && nested\\\" class=\\\"style-title\\\">{{ editor.panelStyleTitle(0) }}</div>\\n\\n <span *ngIf=\\\"nested\\\" class=\\\"spacer\\\"></span>\\n <ng-container *ngTemplateOutlet=\\\"extraActionsAreaTmpl\\\"></ng-container>\\n\\n <div class=\\\"display-type\\\">\\n <mat-form-field>\\n <mat-select required formControlName=\\\"displayType\\\">\\n <mat-option value=\\\"page\\\">page</mat-option>\\n <mat-option value=\\\"form\\\">form</mat-option>\\n <mat-option value=\\\"json\\\">json</mat-option>\\n </mat-select>\\n </mat-form-field>\\n </div>\\n <div class=\\\"layout-type\\\">\\n <mat-form-field>\\n <mat-select required formControlName=\\\"layoutType\\\">\\n <mat-option value=\\\"grid\\\">grid</mat-option>\\n <mat-option value=\\\"gridless\\\">gridless</mat-option>\\n <mat-option value=\\\"split\\\">split</mat-option>\\n </mat-select>\\n </mat-form-field>\\n </div>\\n\\n <div *ngIf=\\\"!nested\\\" class=\\\"brand\\\">Quell</div>\\n\\n </ng-template>\\n <ng-template #gridItemActions let-i=\\\"i\\\">\\n <!-- for the root level display in item container -->\\n <div *ngIf=\\\"editor.hasPanelStyle(0) && !nested\\\" class=\\\"style-title\\\">{{ editor.panelStyleTitle(0) }}</div>\\n </ng-template>\\n <ng-template #innerGridItem let-i=\\\"i\\\">\\n <ngx-dropzone [cdkDropListData]=\\\"i\\\" class=\\\"panel-dropzone\\\" [multiple]=\\\"true\\\" [disableClick]=\\\"true\\\" (change)=\\\"editor.onFileChange($event, i)\\\" cdkDropList (cdkDropListDropped)=\\\"editor.onDrop($event)\\\">\\n <div #panes>\\n <div *ngFor=\\\"let pane of editor.panelPanes(i).controls; let j = index\\\" cdkDrag>\\n <ng-container *ngTemplateOutlet=\\\"editablePaneTpl;context:{ i: i, j: j }\\\"></ng-container>\\n </div>\\n </div>\\n </ngx-dropzone>\\n </ng-template>\\n\\n </classifieds-ui-gridless-layout>\\n\\n </mat-sidenav-content>\\n\\n</mat-sidenav-container>\\n\\n<mat-menu #topActions=\\\"matMenu\\\">\\n <button *ngIf=\\\"savable\\\" mat-menu-item type=\\\"submit\\\" (click)=\\\"editor.submit()\\\">Save</button>\\n <button *ngIf=\\\"savable || nested\\\" type=\\\"button\\\" mat-menu-item (click)=\\\"editor.onPropertiesClick()\\\">Properties</button>\\n <button *ngIf=\\\"nested\\\" type=\\\"button\\\" mat-menu-item (click)=\\\"editor.onDeleteClick()\\\">Delete</button>\\n <button *ngIf=\\\"nested\\\" type=\\\"button\\\" mat-menu-item (click)=\\\"editor.onRulesClick()\\\">Rules</button>\\n <button *ngIf=\\\"savable\\\" type=\\\"button\\\" mat-menu-item (mousedown)=\\\"editor.onPersistenceClick()\\\">Persistence</button>\\n <button *ngIf=\\\"savable\\\" type=\\\"button\\\" mat-menu-item (mousedown)=\\\"editor.onInteractionsClick()\\\">Interactions</button>\\n <button type=\\\"button\\\" mat-menu-item (mousedown)=\\\"editor.addContent(0)\\\" (touchstart)=\\\"editor.addContent(0)\\\">Add Content</button>\\n <button type=\\\"button\\\" mat-menu-item (mousedown)=\\\"editor.editPanelProps(0)\\\" (touchstart)=\\\"editor.editPanelProps(0)\\\" >Props</button>\\n <button *ngIf=\\\"!editor.hasPanelStyle(0)\\\" mat-menu-item type=\\\"button\\\" (mousedown)=\\\"editor.applyStyle(0)\\\" (touchstart)=\\\"editor.applyStyle(0)\\\">Apply Style</button>\\n <button *ngIf=\\\"editor.hasPanelStyle(0)\\\" mat-menu-item type=\\\"button\\\" (mousedown)=\\\"editor.removeStyle(0)\\\" (touchstart)=\\\"editor.removeStyle(0)\\\" >Remove Style</button>\\n</mat-menu>\", styles: [\".layout-type ::ng-deep .mat-form-field-wrapper,.display-type ::ng-deep .mat-form-field-wrapper{padding-bottom:0}.layout-type ::ng-deep .mat-form-field-label-wrapper,.display-type ::ng-deep .mat-form-field-label-wrapper{display:none}.layout-type ::ng-deep .mat-form-field-infix,.display-type ::ng-deep .mat-form-field-infix{border-top:none;padding:0;margin:0}.layout-type ::ng-deep .mat-form-field,.display-type ::ng-deep .mat-form-field{width:70px}.layout-type ::ng-deep .mat-select-value,.display-type ::ng-deep .mat-select-value{text-align:right}.layout-type ::ng-deep .mat-form-field-underline,.display-type ::ng-deep .mat-form-field-underline{display:none}.mat-menu-trigger{min-width:0;padding:0;margin:0}.cdk-drag{padding:.25em}.brand{font-family:sans-serif;text-align:right;flex:1;letter-spacing:.2em;font-weight:lighter;color:#c82913}.spacer{flex:1}.style-title{font-family:sans-serif;font-weight:500;text-transform:lowercase;color:#000}.mat-icon{color:#000}.drawer-trigger{min-width:0;padding:0;margin:0}\\n\"] }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [SITE_NAME]\n }] }, { type: i1$3.AuthFacade }, { type: i1.ControlContainer }, { type: i3$1.EntityServices }]; } });\n\nclass GridlessLayoutRendererComponent extends LayoutRendererBaseComponent {\n constructor(controlContainer) {\n super(controlContainer);\n this.controlContainer = controlContainer;\n }\n ngOnInit() {\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: GridlessLayoutRendererComponent, deps: [{ token: i1.ControlContainer, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: GridlessLayoutRendererComponent, selector: \"classifieds-ui-gridless-layout-renderer\", usesInheritance: true, ngImport: i0, template: \"<classifieds-ui-gridless-layout [displayMainControls]=\\\"displayMainControls\\\" [displayItemHeader]=\\\"displayItemHeader\\\">\\n <ng-template #innerGridItem let-i=\\\"i\\\">\\n <ng-container *ngTemplateOutlet=\\\"renderPanelTpl;context:{ i: i }\\\"></ng-container>\\n </ng-template>\\n</classifieds-ui-gridless-layout>\", styles: [\":host{height:100%}\\n\"], dependencies: [{ kind: \"directive\", type: i2$1.NgTemplateOutlet, selector: \"[ngTemplateOutlet]\", inputs: [\"ngTemplateOutletContext\", \"ngTemplateOutlet\", \"ngTemplateOutletInjector\"] }, { kind: \"component\", type: GridlessLayoutComponent, selector: \"classifieds-ui-gridless-layout\", inputs: [\"displayMainControls\", \"displayItemHeader\", \"nested\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: GridlessLayoutRendererComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-gridless-layout-renderer', template: \"<classifieds-ui-gridless-layout [displayMainControls]=\\\"displayMainControls\\\" [displayItemHeader]=\\\"displayItemHeader\\\">\\n <ng-template #innerGridItem let-i=\\\"i\\\">\\n <ng-container *ngTemplateOutlet=\\\"renderPanelTpl;context:{ i: i }\\\"></ng-container>\\n </ng-template>\\n</classifieds-ui-gridless-layout>\", styles: [\":host{height:100%}\\n\"] }]\n }], ctorParameters: function () { return [{ type: i1.ControlContainer, decorators: [{\n type: Optional\n }] }]; } });\n\nclass SplitLayoutEditorComponent extends LayoutEditorBaseComponent {\n get gridItems() {\n return this.dashboard.map((gi, i) => ({ ...gi, cols: Math.floor(gi.cols), weight: i }));\n }\n constructor(controlContainer) {\n super(controlContainer);\n this.controlContainer = controlContainer;\n }\n ngOnInit() {\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: SplitLayoutEditorComponent, deps: [{ token: i1.ControlContainer }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: SplitLayoutEditorComponent, selector: \"classifieds-ui-split-layout-editor\", usesInheritance: true, ngImport: i0, template: \"<mat-sidenav-container autosize [hasBackdrop]=\\\"false\\\">\\n\\n <mat-sidenav #drawer fixedInViewport mode=\\\"over\\\">\\n <druid-layout-sidenav (close)=\\\"drawer.toggle()\\\">\\n <nav>\\n <ul>\\n <li *ngIf=\\\"savable\\\"><button mat-menu-item type=\\\"submit\\\" (click)=\\\"editor.submit()\\\">Save</button></li>\\n <li><button type=\\\"button\\\" mat-menu-item (mousedown)=\\\"splitLayout.addRow()\\\">Add Row</button></li>\\n <li><button type=\\\"button\\\" mat-menu-item (click)=\\\"editor.onPropertiesClick()\\\">Props</button></li>\\n <li><button type=\\\"button\\\" mat-menu-item (mousedown)=\\\"splitLayout.layoutSettings('global')\\\">Layout Settings</button></li>\\n <li *ngIf=\\\"nested\\\"><button mat-menu-item type=\\\"button\\\" (click)=\\\"editor.onRulesClick()\\\">Rules</button></li>\\n <li *ngIf=\\\"savable\\\"><button type=\\\"button\\\" mat-menu-item (mousedown)=\\\"editor.onPersistenceClick()\\\">Persistence</button></li>\\n <li *ngIf=\\\"savable\\\"><button type=\\\"button\\\" mat-menu-item (mousedown)=\\\"editor.onInteractionsClick()\\\">Interactions</button></li>\\n <li *ngIf=\\\"nested\\\"><button mat-menu-item type=\\\"button\\\" (click)=\\\"editor.onDeleteClick()\\\">Delete</button></li>\\n </ul>\\n </nav>\\n </druid-layout-sidenav>\\n </mat-sidenav>\\n\\n <mat-sidenav-content>\\n\\n <classifieds-ui-split-layout #splitLayout [nested]=\\\"nested\\\" [formGroup]=\\\"controlContainer.control\\\" cdkDropListGroup (itemAdded)=\\\"editor.onItemAdded()\\\" (itemRemoved)=\\\"editor.onItemRemoved($event)\\\" [dashboard]=\\\"dashboard\\\" [layoutSetting]=\\\"layoutSetting\\\" [rowSettings]=\\\"rowSettings\\\" [columnSettings]=\\\"columnSettings\\\" (layoutSettingChange)=\\\"editor.onLayoutSettingChange($event)\\\" (rowSettingsChange)=\\\"editor.onRowSettingsChange($event)\\\" (columnSettingsChange)=\\\"editor.onColumnSettingsChange($event)\\\">\\n <ng-template #extraActions>\\n\\n <button *ngIf=\\\"!nested\\\" mat-button type=\\\"button\\\" class=\\\"drawer-trigger\\\" (click)=\\\"drawer.toggle()\\\">\\n <mat-icon>menu</mat-icon>\\n </button>\\n \\n <button *ngIf=\\\"nested\\\" mat-button type=\\\"button\\\" [matMenuTriggerFor]=\\\"topActions\\\">\\n <mat-icon>menu</mat-icon>\\n </button>\\n \\n <!-- <button *ngIf=\\\"savable\\\" type=\\\"submit\\\">Save</button>\\n <button type=\\\"button\\\" (click)=\\\"editor.onPropertiesClick()\\\">Props</button>\\n <button *ngIf=\\\"nested\\\" type=\\\"button\\\" (click)=\\\"editor.onRulesClick()\\\">Rules</button>\\n <button *ngIf=\\\"nested\\\" type=\\\"button\\\" (click)=\\\"editor.onDeleteClick()\\\">Delete</button> -->\\n <span *ngIf=\\\"nested\\\" class=\\\"spacer\\\"></span>\\n \\n <div>\\n <ng-container *ngIf=\\\"savable\\\"><ng-container *ngTemplateOutlet=\\\"contextsMenuTpl\\\"></ng-container></ng-container>\\n </div>\\n \\n <div class=\\\"display-type\\\">\\n <mat-form-field>\\n <mat-select required formControlName=\\\"displayType\\\">\\n <mat-option value=\\\"page\\\">page</mat-option>\\n <mat-option value=\\\"form\\\">form</mat-option>\\n <mat-option value=\\\"json\\\">json</mat-option>\\n </mat-select>\\n </mat-form-field>\\n </div>\\n <div class=\\\"layout-type\\\">\\n <mat-form-field>\\n <mat-select required formControlName=\\\"layoutType\\\">\\n <!-- <mat-option value=\\\"grid\\\">grid</mat-option> -->\\n <mat-option value=\\\"gridless\\\">gridless</mat-option>\\n <mat-option value=\\\"split\\\">split</mat-option>\\n </mat-select>\\n </mat-form-field>\\n </div>\\n \\n <ng-container *ngTemplateOutlet=\\\"extraActionsAreaTmpl\\\"></ng-container>\\n \\n <div *ngIf=\\\"!nested\\\" class=\\\"brand\\\">Quell</div>\\n </ng-template>\\n <ng-template #gridItemActions let-i=\\\"i\\\">\\n \\n <button class=\\\"panel-actions-btn\\\" mat-button type=\\\"button\\\" [matMenuTriggerFor]=\\\"panelActions\\\">\\n <mat-icon>arrow_drop_down</mat-icon>\\n </button>\\n <mat-menu #panelActions=\\\"matMenu\\\">\\n <button type=\\\"button\\\" mat-menu-item (mousedown)=\\\"splitLayout.layoutSettings('column', i)\\\">Layout Settings</button>\\n <button type=\\\"button\\\" mat-menu-item (mousedown)=\\\"editor.addContent(i)\\\" (touchstart)=\\\"editor.addContent(i)\\\">Add Content</button>\\n <button type=\\\"button\\\" mat-menu-item (mousedown)=\\\"editor.editPanelProps(i)\\\" (touchstart)=\\\"editor.editPanelProps(i)\\\" >Props</button>\\n <button *ngIf=\\\"!editor.hasPanelStyle(i)\\\" mat-menu-item type=\\\"button\\\" (mousedown)=\\\"editor.applyStyle(i)\\\" (touchstart)=\\\"editor.applyStyle(i)\\\" >Apply Style</button>\\n <button *ngIf=\\\"editor.hasPanelStyle(i)\\\" mat-menu-item type=\\\"button\\\" (mousedown)=\\\"editor.removeStyle(i)\\\" (touchstart)=\\\"editor.removeStyle(i)\\\" >Remove Style</button>\\n <button type=\\\"button\\\" class=\\\"delete\\\" mat-menu-item (mousedown)=\\\"splitLayout.removeColumn2(i)\\\" (touchstart)=\\\"splitLayout.removeColumn2(i)\\\">Delete</button>\\n </mat-menu>\\n \\n <div *ngIf=\\\"editor.hasPanelStyle(i)\\\" class=\\\"style-title\\\">{{ editor.panelStyleTitle(i) }}</div>\\n \\n <!-- <button type=\\\"button\\\" (mousedown)=\\\"editor.addContent(i)\\\" (touchstart)=\\\"editor.addContent(i)\\\">Add Content</button>\\n <button type=\\\"button\\\" (mousedown)=\\\"editor.editPanelProps(i)\\\" (touchstart)=\\\"editor.editPanelProps(i)\\\" >Props</button>\\n <button *ngIf=\\\"!editor.hasPanelStyle(i)\\\" type=\\\"button\\\" (mousedown)=\\\"editor.applyStyle(i)\\\" (touchstart)=\\\"editor.applyStyle(i)\\\" >Apply Style</button> -->\\n <!-- <span *ngIf=\\\"editor.hasPanelStyle(i)\\\">Style: {{ editor.panelStyleTitle(i) }}</span> -->\\n </ng-template>\\n <ng-template #innerGridItem let-i=\\\"i\\\">\\n <ngx-dropzone [cdkDropListData]=\\\"i\\\" class=\\\"panel-dropzone\\\" [multiple]=\\\"true\\\" [disableClick]=\\\"true\\\" (change)=\\\"editor.onFileChange($event, i)\\\" cdkDropList (cdkDropListDropped)=\\\"editor.onDrop($event)\\\">\\n <div #panes>\\n <div *ngFor=\\\"let pane of editor.panelPanes(i).controls; let j = index\\\" cdkDrag>\\n <ng-container *ngTemplateOutlet=\\\"editablePaneTpl;context:{ i: i, j: j }\\\"></ng-container>\\n </div>\\n </div>\\n </ngx-dropzone>\\n </ng-template>\\n </classifieds-ui-split-layout>\\n\\n </mat-sidenav-content>\\n\\n</mat-sidenav-container>\\n\\n<mat-menu #topActions=\\\"matMenu\\\">\\n <button *ngIf=\\\"savable\\\" mat-menu-item type=\\\"submit\\\" (click)=\\\"editor.submit()\\\">Save</button>\\n <button type=\\\"button\\\" mat-menu-item (mousedown)=\\\"splitLayout.addRow()\\\">Add Row</button>\\n <button type=\\\"button\\\" mat-menu-item (click)=\\\"editor.onPropertiesClick()\\\">Props</button>\\n <button type=\\\"button\\\" mat-menu-item (mousedown)=\\\"splitLayout.layoutSettings('global')\\\">Layout Settings</button>\\n <button *ngIf=\\\"nested\\\" mat-menu-item type=\\\"button\\\" (click)=\\\"editor.onRulesClick()\\\">Rules</button>\\n <button *ngIf=\\\"savable\\\" type=\\\"button\\\" mat-menu-item (mousedown)=\\\"editor.onPersistenceClick()\\\">Persistence</button>\\n <button *ngIf=\\\"savable\\\" type=\\\"button\\\" mat-menu-item (mousedown)=\\\"editor.onInteractionsClick()\\\">Interactions</button>\\n <button *ngIf=\\\"nested\\\" mat-menu-item type=\\\"button\\\" (click)=\\\"editor.onDeleteClick()\\\">Delete</button>\\n</mat-menu>\", styles: [\".layout-type ::ng-deep .mat-form-field-wrapper,.display-type ::ng-deep .mat-form-field-wrapper{padding-bottom:0}.layout-type ::ng-deep .mat-form-field-label-wrapper,.display-type ::ng-deep .mat-form-field-label-wrapper{display:none}.layout-type ::ng-deep .mat-form-field-infix,.display-type ::ng-deep .mat-form-field-infix{border-top:none;padding:0;margin:0}.layout-type ::ng-deep .mat-form-field,.display-type ::ng-deep .mat-form-field{width:70px}.layout-type ::ng-deep .mat-select-value,.display-type ::ng-deep .mat-select-value{text-align:right}.layout-type ::ng-deep .mat-form-field-underline,.display-type ::ng-deep .mat-form-field-underline{display:none}.mat-menu-trigger{min-width:0;padding:0;margin:0}.cdk-drag{padding:.25em}.panel-actions-btn .mat-icon{transform:rotate(-90deg)}.brand{font-family:sans-serif;text-align:right;flex:1;letter-spacing:.2em;font-weight:lighter;color:#c82913}.spacer{flex:1}.style-title{font-family:sans-serif;font-weight:500;text-transform:lowercase;color:#000}.drawer-trigger{min-width:0;padding:0;margin:0}\\n\"], dependencies: [{ kind: \"directive\", type: i2$1.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i2$1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i2$1.NgTemplateOutlet, selector: \"[ngTemplateOutlet]\", inputs: [\"ngTemplateOutletContext\", \"ngTemplateOutlet\", \"ngTemplateOutletInjector\"] }, { kind: \"directive\", type: i1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1.RequiredValidator, selector: \":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]\", inputs: [\"required\"] }, { kind: \"directive\", type: i1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"directive\", type: i3$2.CdkDropList, selector: \"[cdkDropList], cdk-drop-list\", inputs: [\"cdkDropListConnectedTo\", \"cdkDropListData\", \"cdkDropListOrientation\", \"id\", \"cdkDropListLockAxis\", \"cdkDropListDisabled\", \"cdkDropListSortingDisabled\", \"cdkDropListEnterPredicate\", \"cdkDropListSortPredicate\", \"cdkDropListAutoScrollDisabled\", \"cdkDropListAutoScrollStep\"], outputs: [\"cdkDropListDropped\", \"cdkDropListEntered\", \"cdkDropListExited\", \"cdkDropListSorted\"], exportAs: [\"cdkDropList\"] }, { kind: \"directive\", type: i3$2.CdkDropListGroup, selector: \"[cdkDropListGroup]\", inputs: [\"cdkDropListGroupDisabled\"], exportAs: [\"cdkDropListGroup\"] }, { kind: \"directive\", type: i3$2.CdkDrag, selector: \"[cdkDrag]\", inputs: [\"cdkDragData\", \"cdkDragLockAxis\", \"cdkDragRootElement\", \"cdkDragBoundary\", \"cdkDragStartDelay\", \"cdkDragFreeDragPosition\", \"cdkDragDisabled\", \"cdkDragConstrainPosition\", \"cdkDragPreviewClass\", \"cdkDragPreviewContainer\"], outputs: [\"cdkDragStarted\", \"cdkDragReleased\", \"cdkDragEnded\", \"cdkDragEntered\", \"cdkDragExited\", \"cdkDragDropped\", \"cdkDragMoved\"], exportAs: [\"cdkDrag\"] }, { kind: \"component\", type: i4$2.MatLegacyOption, selector: \"mat-option\", exportAs: [\"matOption\"] }, { kind: \"component\", type: i4$1.MatLegacyButton, selector: \"button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]\", inputs: [\"disabled\", \"disableRipple\", \"color\"], exportAs: [\"matButton\"] }, { kind: \"component\", type: i8.MatIcon, selector: \"mat-icon\", inputs: [\"color\", \"inline\", \"svgIcon\", \"fontSet\", \"fontIcon\"], exportAs: [\"matIcon\"] }, { kind: \"component\", type: i9$1.MatLegacyFormField, selector: \"mat-form-field\", inputs: [\"color\", \"appearance\", \"hideRequiredMarker\", \"hintLabel\", \"floatLabel\"], exportAs: [\"matFormField\"] }, { kind: \"component\", type: i6.MatLegacyMenu, selector: \"mat-menu\", exportAs: [\"matMenu\"] }, { kind: \"component\", type: i6.MatLegacyMenuItem, selector: \"[mat-menu-item]\", inputs: [\"disabled\", \"disableRipple\"], exportAs: [\"matMenuItem\"] }, { kind: \"directive\", type: i6.MatLegacyMenuTrigger, selector: \"[mat-menu-trigger-for], [matMenuTriggerFor]\", exportAs: [\"matMenuTrigger\"] }, { kind: \"component\", type: i11.MatLegacySelect, selector: \"mat-select\", inputs: [\"disabled\", \"disableRipple\", \"tabIndex\"], exportAs: [\"matSelect\"] }, { kind: \"component\", type: i12.MatSidenav, selector: \"mat-sidenav\", inputs: [\"fixedInViewport\", \"fixedTopGap\", \"fixedBottomGap\"], exportAs: [\"matSidenav\"] }, { kind: \"component\", type: i12.MatSidenavContainer, selector: \"mat-sidenav-container\", exportAs: [\"matSidenavContainer\"] }, { kind: \"component\", type: i12.MatSidenavContent, selector: \"mat-sidenav-content\" }, { kind: \"component\", type: i13.NgxDropzoneComponent, selector: \"ngx-dropzone, [ngx-dropzone]\", inputs: [\"accept\", \"disabled\", \"multiple\", \"maxFileSize\", \"expandable\", \"disableClick\", \"processDirectoryDrop\", \"id\", \"aria-label\", \"aria-labelledby\", \"aria-describedby\"], outputs: [\"change\"] }, { kind: \"component\", type: SplitLayoutComponent, selector: \"classifieds-ui-split-layout\", inputs: [\"dashboard\", \"displayMainControls\", \"displayItemHeader\", \"nested\", \"layoutSetting\", \"rowSettings\", \"columnSettings\"], outputs: [\"itemAdded\", \"itemRemoved\", \"layoutSettingChange\", \"rowSettingsChange\", \"columnSettingsChange\"] }, { kind: \"component\", type: LayoutSidenavComponent, selector: \"druid-layout-sidenav\", outputs: [\"close\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: SplitLayoutEditorComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-split-layout-editor', template: \"<mat-sidenav-container autosize [hasBackdrop]=\\\"false\\\">\\n\\n <mat-sidenav #drawer fixedInViewport mode=\\\"over\\\">\\n <druid-layout-sidenav (close)=\\\"drawer.toggle()\\\">\\n <nav>\\n <ul>\\n <li *ngIf=\\\"savable\\\"><button mat-menu-item type=\\\"submit\\\" (click)=\\\"editor.submit()\\\">Save</button></li>\\n <li><button type=\\\"button\\\" mat-menu-item (mousedown)=\\\"splitLayout.addRow()\\\">Add Row</button></li>\\n <li><button type=\\\"button\\\" mat-menu-item (click)=\\\"editor.onPropertiesClick()\\\">Props</button></li>\\n <li><button type=\\\"button\\\" mat-menu-item (mousedown)=\\\"splitLayout.layoutSettings('global')\\\">Layout Settings</button></li>\\n <li *ngIf=\\\"nested\\\"><button mat-menu-item type=\\\"button\\\" (click)=\\\"editor.onRulesClick()\\\">Rules</button></li>\\n <li *ngIf=\\\"savable\\\"><button type=\\\"button\\\" mat-menu-item (mousedown)=\\\"editor.onPersistenceClick()\\\">Persistence</button></li>\\n <li *ngIf=\\\"savable\\\"><button type=\\\"button\\\" mat-menu-item (mousedown)=\\\"editor.onInteractionsClick()\\\">Interactions</button></li>\\n <li *ngIf=\\\"nested\\\"><button mat-menu-item type=\\\"button\\\" (click)=\\\"editor.onDeleteClick()\\\">Delete</button></li>\\n </ul>\\n </nav>\\n </druid-layout-sidenav>\\n </mat-sidenav>\\n\\n <mat-sidenav-content>\\n\\n <classifieds-ui-split-layout #splitLayout [nested]=\\\"nested\\\" [formGroup]=\\\"controlContainer.control\\\" cdkDropListGroup (itemAdded)=\\\"editor.onItemAdded()\\\" (itemRemoved)=\\\"editor.onItemRemoved($event)\\\" [dashboard]=\\\"dashboard\\\" [layoutSetting]=\\\"layoutSetting\\\" [rowSettings]=\\\"rowSettings\\\" [columnSettings]=\\\"columnSettings\\\" (layoutSettingChange)=\\\"editor.onLayoutSettingChange($event)\\\" (rowSettingsChange)=\\\"editor.onRowSettingsChange($event)\\\" (columnSettingsChange)=\\\"editor.onColumnSettingsChange($event)\\\">\\n <ng-template #extraActions>\\n\\n <button *ngIf=\\\"!nested\\\" mat-button type=\\\"button\\\" class=\\\"drawer-trigger\\\" (click)=\\\"drawer.toggle()\\\">\\n <mat-icon>menu</mat-icon>\\n </button>\\n \\n <button *ngIf=\\\"nested\\\" mat-button type=\\\"button\\\" [matMenuTriggerFor]=\\\"topActions\\\">\\n <mat-icon>menu</mat-icon>\\n </button>\\n \\n <!-- <button *ngIf=\\\"savable\\\" type=\\\"submit\\\">Save</button>\\n <button type=\\\"button\\\" (click)=\\\"editor.onPropertiesClick()\\\">Props</button>\\n <button *ngIf=\\\"nested\\\" type=\\\"button\\\" (click)=\\\"editor.onRulesClick()\\\">Rules</button>\\n <button *ngIf=\\\"nested\\\" type=\\\"button\\\" (click)=\\\"editor.onDeleteClick()\\\">Delete</button> -->\\n <span *ngIf=\\\"nested\\\" class=\\\"spacer\\\"></span>\\n \\n <div>\\n <ng-container *ngIf=\\\"savable\\\"><ng-container *ngTemplateOutlet=\\\"contextsMenuTpl\\\"></ng-container></ng-container>\\n </div>\\n \\n <div class=\\\"display-type\\\">\\n <mat-form-field>\\n <mat-select required formControlName=\\\"displayType\\\">\\n <mat-option value=\\\"page\\\">page</mat-option>\\n <mat-option value=\\\"form\\\">form</mat-option>\\n <mat-option value=\\\"json\\\">json</mat-option>\\n </mat-select>\\n </mat-form-field>\\n </div>\\n <div class=\\\"layout-type\\\">\\n <mat-form-field>\\n <mat-select required formControlName=\\\"layoutType\\\">\\n <!-- <mat-option value=\\\"grid\\\">grid</mat-option> -->\\n <mat-option value=\\\"gridless\\\">gridless</mat-option>\\n <mat-option value=\\\"split\\\">split</mat-option>\\n </mat-select>\\n </mat-form-field>\\n </div>\\n \\n <ng-container *ngTemplateOutlet=\\\"extraActionsAreaTmpl\\\"></ng-container>\\n \\n <div *ngIf=\\\"!nested\\\" class=\\\"brand\\\">Quell</div>\\n </ng-template>\\n <ng-template #gridItemActions let-i=\\\"i\\\">\\n \\n <button class=\\\"panel-actions-btn\\\" mat-button type=\\\"button\\\" [matMenuTriggerFor]=\\\"panelActions\\\">\\n <mat-icon>arrow_drop_down</mat-icon>\\n </button>\\n <mat-menu #panelActions=\\\"matMenu\\\">\\n <button type=\\\"button\\\" mat-menu-item (mousedown)=\\\"splitLayout.layoutSettings('column', i)\\\">Layout Settings</button>\\n <button type=\\\"button\\\" mat-menu-item (mousedown)=\\\"editor.addContent(i)\\\" (touchstart)=\\\"editor.addContent(i)\\\">Add Content</button>\\n <button type=\\\"button\\\" mat-menu-item (mousedown)=\\\"editor.editPanelProps(i)\\\" (touchstart)=\\\"editor.editPanelProps(i)\\\" >Props</button>\\n <button *ngIf=\\\"!editor.hasPanelStyle(i)\\\" mat-menu-item type=\\\"button\\\" (mousedown)=\\\"editor.applyStyle(i)\\\" (touchstart)=\\\"editor.applyStyle(i)\\\" >Apply Style</button>\\n <button *ngIf=\\\"editor.hasPanelStyle(i)\\\" mat-menu-item type=\\\"button\\\" (mousedown)=\\\"editor.removeStyle(i)\\\" (touchstart)=\\\"editor.removeStyle(i)\\\" >Remove Style</button>\\n <button type=\\\"button\\\" class=\\\"delete\\\" mat-menu-item (mousedown)=\\\"splitLayout.removeColumn2(i)\\\" (touchstart)=\\\"splitLayout.removeColumn2(i)\\\">Delete</button>\\n </mat-menu>\\n \\n <div *ngIf=\\\"editor.hasPanelStyle(i)\\\" class=\\\"style-title\\\">{{ editor.panelStyleTitle(i) }}</div>\\n \\n <!-- <button type=\\\"button\\\" (mousedown)=\\\"editor.addContent(i)\\\" (touchstart)=\\\"editor.addContent(i)\\\">Add Content</button>\\n <button type=\\\"button\\\" (mousedown)=\\\"editor.editPanelProps(i)\\\" (touchstart)=\\\"editor.editPanelProps(i)\\\" >Props</button>\\n <button *ngIf=\\\"!editor.hasPanelStyle(i)\\\" type=\\\"button\\\" (mousedown)=\\\"editor.applyStyle(i)\\\" (touchstart)=\\\"editor.applyStyle(i)\\\" >Apply Style</button> -->\\n <!-- <span *ngIf=\\\"editor.hasPanelStyle(i)\\\">Style: {{ editor.panelStyleTitle(i) }}</span> -->\\n </ng-template>\\n <ng-template #innerGridItem let-i=\\\"i\\\">\\n <ngx-dropzone [cdkDropListData]=\\\"i\\\" class=\\\"panel-dropzone\\\" [multiple]=\\\"true\\\" [disableClick]=\\\"true\\\" (change)=\\\"editor.onFileChange($event, i)\\\" cdkDropList (cdkDropListDropped)=\\\"editor.onDrop($event)\\\">\\n <div #panes>\\n <div *ngFor=\\\"let pane of editor.panelPanes(i).controls; let j = index\\\" cdkDrag>\\n <ng-container *ngTemplateOutlet=\\\"editablePaneTpl;context:{ i: i, j: j }\\\"></ng-container>\\n </div>\\n </div>\\n </ngx-dropzone>\\n </ng-template>\\n </classifieds-ui-split-layout>\\n\\n </mat-sidenav-content>\\n\\n</mat-sidenav-container>\\n\\n<mat-menu #topActions=\\\"matMenu\\\">\\n <button *ngIf=\\\"savable\\\" mat-menu-item type=\\\"submit\\\" (click)=\\\"editor.submit()\\\">Save</button>\\n <button type=\\\"button\\\" mat-menu-item (mousedown)=\\\"splitLayout.addRow()\\\">Add Row</button>\\n <button type=\\\"button\\\" mat-menu-item (click)=\\\"editor.onPropertiesClick()\\\">Props</button>\\n <button type=\\\"button\\\" mat-menu-item (mousedown)=\\\"splitLayout.layoutSettings('global')\\\">Layout Settings</button>\\n <button *ngIf=\\\"nested\\\" mat-menu-item type=\\\"button\\\" (click)=\\\"editor.onRulesClick()\\\">Rules</button>\\n <button *ngIf=\\\"savable\\\" type=\\\"button\\\" mat-menu-item (mousedown)=\\\"editor.onPersistenceClick()\\\">Persistence</button>\\n <button *ngIf=\\\"savable\\\" type=\\\"button\\\" mat-menu-item (mousedown)=\\\"editor.onInteractionsClick()\\\">Interactions</button>\\n <button *ngIf=\\\"nested\\\" mat-menu-item type=\\\"button\\\" (click)=\\\"editor.onDeleteClick()\\\">Delete</button>\\n</mat-menu>\", styles: [\".layout-type ::ng-deep .mat-form-field-wrapper,.display-type ::ng-deep .mat-form-field-wrapper{padding-bottom:0}.layout-type ::ng-deep .mat-form-field-label-wrapper,.display-type ::ng-deep .mat-form-field-label-wrapper{display:none}.layout-type ::ng-deep .mat-form-field-infix,.display-type ::ng-deep .mat-form-field-infix{border-top:none;padding:0;margin:0}.layout-type ::ng-deep .mat-form-field,.display-type ::ng-deep .mat-form-field{width:70px}.layout-type ::ng-deep .mat-select-value,.display-type ::ng-deep .mat-select-value{text-align:right}.layout-type ::ng-deep .mat-form-field-underline,.display-type ::ng-deep .mat-form-field-underline{display:none}.mat-menu-trigger{min-width:0;padding:0;margin:0}.cdk-drag{padding:.25em}.panel-actions-btn .mat-icon{transform:rotate(-90deg)}.brand{font-family:sans-serif;text-align:right;flex:1;letter-spacing:.2em;font-weight:lighter;color:#c82913}.spacer{flex:1}.style-title{font-family:sans-serif;font-weight:500;text-transform:lowercase;color:#000}.drawer-trigger{min-width:0;padding:0;margin:0}\\n\"] }]\n }], ctorParameters: function () { return [{ type: i1.ControlContainer }]; } });\n\nclass FlexLayoutRendererComponent extends LayoutRendererBaseComponent {\n constructor(controlContainer) {\n super(controlContainer);\n this.controlContainer = controlContainer;\n }\n ngOnInit() {\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FlexLayoutRendererComponent, deps: [{ token: i1.ControlContainer, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: FlexLayoutRendererComponent, selector: \"classifieds-ui-flex-layout-renderer\", usesInheritance: true, ngImport: i0, template: \"<classifieds-ui-flex-layout [dashboard]=\\\"panelPage?.gridItems\\\" [layoutSetting]=\\\"panelPage.layoutSetting\\\" [rowSettings]=\\\"panelPage.rowSettings\\\" [columnSettings]=\\\"columnSettings\\\">\\n <ng-template #innerGridItem let-i=\\\"i\\\">\\n <ng-container *ngTemplateOutlet=\\\"renderPanelTpl;context:{ i: i }\\\"></ng-container>\\n </ng-template>\\n</classifieds-ui-flex-layout>\", dependencies: [{ kind: \"directive\", type: i2$1.NgTemplateOutlet, selector: \"[ngTemplateOutlet]\", inputs: [\"ngTemplateOutletContext\", \"ngTemplateOutlet\", \"ngTemplateOutletInjector\"] }, { kind: \"component\", type: FlexLayoutComponent, selector: \"classifieds-ui-flex-layout\", inputs: [\"dashboard\", \"layoutSetting\", \"rowSettings\", \"columnSettings\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FlexLayoutRendererComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-flex-layout-renderer', template: \"<classifieds-ui-flex-layout [dashboard]=\\\"panelPage?.gridItems\\\" [layoutSetting]=\\\"panelPage.layoutSetting\\\" [rowSettings]=\\\"panelPage.rowSettings\\\" [columnSettings]=\\\"columnSettings\\\">\\n <ng-template #innerGridItem let-i=\\\"i\\\">\\n <ng-container *ngTemplateOutlet=\\\"renderPanelTpl;context:{ i: i }\\\"></ng-container>\\n </ng-template>\\n</classifieds-ui-flex-layout>\" }]\n }], ctorParameters: function () { return [{ type: i1.ControlContainer, decorators: [{\n type: Optional\n }] }]; } });\n\nconst splitLayoutFactory = () => {\n const settings = new Map([\n [\n 'row',\n [\n new Attribute({\n name: 'flexGrow',\n type: AttributeTypes.Text,\n label: 'Flex Grow',\n required: false,\n widget: 'text',\n options: {},\n attributes: []\n }),\n new Attribute({\n name: 'flexShrink',\n type: AttributeTypes.Text,\n label: 'Flex Shrink',\n required: false,\n widget: 'text',\n options: {},\n attributes: []\n }),\n new Attribute({\n name: 'flexBasis',\n type: AttributeTypes.Text,\n label: 'Flex Basis',\n required: false,\n widget: 'text',\n options: {},\n attributes: []\n }),\n new Attribute({\n name: 'height',\n type: AttributeTypes.Text,\n label: 'Height',\n required: false,\n widget: 'text',\n options: {},\n attributes: []\n }),\n new Attribute({\n name: 'direction',\n type: AttributeTypes.Text,\n label: 'Direction',\n required: false,\n widget: 'text',\n options: {},\n attributes: []\n })\n ]\n ],\n [\n 'column',\n [\n new Attribute({\n name: 'height',\n type: AttributeTypes.Text,\n label: 'Height',\n required: false,\n widget: 'text',\n options: {},\n attributes: []\n }),\n ]\n ],\n [\n 'global',\n [new Attribute({\n name: 'direction',\n type: AttributeTypes.Text,\n label: 'Direction',\n required: false,\n widget: 'text',\n options: {},\n attributes: []\n })]\n ]\n ]);\n return new LayoutPlugin({ id: 'split', title: 'Split', editor: SplitLayoutEditorComponent, renderer: FlexLayoutRendererComponent, settings });\n};\n// obsolete\n/*export const gridLayoutFactory = (): LayoutPlugin<string> => {\n return new LayoutPlugin<string>({ id: 'grid', title: 'Grid', editor: GridLayoutEditorComponent, renderer: undefined, settings: new Map<string, Array<Attribute>>() });\n};*/\nconst gridlessLayoutFactory = () => {\n return new LayoutPlugin({ id: 'gridless', title: 'Gridless', editor: GridlessLayoutEditorComponent, renderer: GridlessLayoutRendererComponent, settings: new Map() });\n};\n\nclass GridLayoutEditorComponent extends LayoutEditorBaseComponent {\n get gridItems() {\n return this.gridLayout.grid.map((gi, i) => ({ ...gi, weight: i }));\n }\n constructor(controlContainer) {\n super(controlContainer);\n this.controlContainer = controlContainer;\n this.options = {\n gridType: GridType.Fit,\n displayGrid: DisplayGrid.Always,\n pushItems: true,\n draggable: {\n enabled: true\n },\n resizable: {\n enabled: true\n },\n mobileBreakpoint: 0,\n itemChangeCallback: (item, itemComponent) => {\n // console.log(item);\n },\n itemInitCallback: (item, itemComponent) => {\n if (this.nested && item.y !== 0) {\n const matchIndex = this.gridLayout.grid.findIndex(g => g.x === item.x && g.y === item.y && g.cols === item.cols && g.rows === item.rows);\n if (this.editor.panelPanes(matchIndex).length === 0) {\n this.gridLayout.setItemContentHeight(matchIndex, 200);\n }\n else {\n }\n }\n },\n };\n }\n ngOnInit() {\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: GridLayoutEditorComponent, deps: [{ token: i1.ControlContainer }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: GridLayoutEditorComponent, selector: \"classifieds-ui-grid-layout-editor\", viewQueries: [{ propertyName: \"gridLayout\", first: true, predicate: GridLayoutComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: \"<classifieds-ui-grid-layout [formGroup]=\\\"controlContainer.control\\\" cdkDropListGroup (itemAdded)=\\\"editor.onItemAdded()\\\" (itemRemoved)=\\\"editor.onItemRemoved($event)\\\" [options]=\\\"options\\\" [dashboard]=\\\"dashboard\\\">\\n <ng-template #extraActions>\\n <button *ngIf=\\\"savable\\\" type=\\\"submit\\\">Save</button>\\n <button *ngIf=\\\"savable\\\" type=\\\"button\\\" (click)=\\\"editor.onPropertiesClick()\\\">Properties</button>\\n <ng-container *ngIf=\\\"savable\\\"><ng-container *ngTemplateOutlet=\\\"contextsMenuTpl\\\"></ng-container></ng-container>\\n <button *ngIf=\\\"nested\\\" type=\\\"button\\\" (click)=\\\"editor.onRulesClick()\\\">Rules</button>\\n <button *ngIf=\\\"nested\\\" type=\\\"button\\\" (click)=\\\"editor.onDeleteClick()\\\">Delete</button>\\n <div class=\\\"layout-type\\\">\\n <mat-form-field>\\n <mat-select required formControlName=\\\"layoutType\\\">\\n <mat-option value=\\\"grid\\\">Grid</mat-option>\\n <mat-option value=\\\"gridless\\\">Gridless</mat-option>\\n <mat-option value=\\\"split\\\">Split</mat-option>\\n </mat-select>\\n </mat-form-field>\\n </div>\\n <div *ngIf=\\\"!nested\\\" class=\\\"display-type\\\">\\n <mat-form-field>\\n <mat-select required formControlName=\\\"displayType\\\">\\n <mat-option value=\\\"page\\\">Page</mat-option>\\n <mat-option value=\\\"form\\\">Form</mat-option>\\n </mat-select>\\n </mat-form-field>\\n </div>\\n <ng-container *ngTemplateOutlet=\\\"extraActionsAreaTmpl\\\"></ng-container>\\n </ng-template>\\n <ng-template #gridItemActions let-i=\\\"i\\\">\\n <button type=\\\"button\\\" (mousedown)=\\\"editor.addContent(i)\\\" (touchstart)=\\\"editor.addContent(i)\\\">Add Content</button>\\n <button type=\\\"button\\\" (mousedown)=\\\"editor.editPanelProps(i)\\\" (touchstart)=\\\"editor.editPanelProps(i)\\\" >Props</button>\\n <button *ngIf=\\\"!editor.hasPanelStyle(i)\\\" type=\\\"button\\\" (mousedown)=\\\"editor.applyStyle(i)\\\" (touchstart)=\\\"editor.applyStyle(i)\\\" >Apply Style</button>\\n <span *ngIf=\\\"editor.hasPanelStyle(i)\\\">Style: {{ editor.panelStyleTitle(i) }}</span>\\n <button *ngIf=\\\"editor.hasPanelStyle(i)\\\" type=\\\"button\\\" (mousedown)=\\\"editor.removeStyle(i)\\\" (touchstart)=\\\"editor.removeStyle(i)\\\" >Remove Style</button>\\n </ng-template>\\n <ng-template #innerGridItem let-i=\\\"i\\\">\\n <ngx-dropzone [cdkDropListData]=\\\"i\\\" class=\\\"panel-dropzone\\\" [multiple]=\\\"true\\\" [disableClick]=\\\"true\\\" (change)=\\\"editor.onFileChange($event, i)\\\" cdkDropList (cdkDropListDropped)=\\\"editor.onDrop($event)\\\">\\n <div #panes>\\n <div *ngFor=\\\"let pane of editor.panelPanes(i).controls; let j = index\\\" cdkDrag>\\n <ng-container *ngTemplateOutlet=\\\"editablePaneTpl;context:{ i: i, j: j }\\\"></ng-container>\\n </div>\\n </div>\\n </ngx-dropzone>\\n </ng-template>\\n</classifieds-ui-grid-layout>\", styles: [\".layout-type,.display-type{float:right}:host ::ng-deep .main-controls{background-color:#ccc}:host ::ng-deep .layout-inner{background-color:#ccc;padding:.75em}:host ::ng-deep .editable-pane-wrapper{border:none;margin-bottom:0}:host ::ng-deep .pane-header{background-color:#fff}:host ::ng-deep .nested-panel-wrapper{padding:.75em;margin-bottom:0}\\n\"], dependencies: [{ kind: \"directive\", type: i2$1.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i2$1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i2$1.NgTemplateOutlet, selector: \"[ngTemplateOutlet]\", inputs: [\"ngTemplateOutletContext\", \"ngTemplateOutlet\", \"ngTemplateOutletInjector\"] }, { kind: \"directive\", type: i1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1.RequiredValidator, selector: \":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]\", inputs: [\"required\"] }, { kind: \"directive\", type: i1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"directive\", type: i3$2.CdkDropList, selector: \"[cdkDropList], cdk-drop-list\", inputs: [\"cdkDropListConnectedTo\", \"cdkDropListData\", \"cdkDropListOrientation\", \"id\", \"cdkDropListLockAxis\", \"cdkDropListDisabled\", \"cdkDropListSortingDisabled\", \"cdkDropListEnterPredicate\", \"cdkDropListSortPredicate\", \"cdkDropListAutoScrollDisabled\", \"cdkDropListAutoScrollStep\"], outputs: [\"cdkDropListDropped\", \"cdkDropListEntered\", \"cdkDropListExited\", \"cdkDropListSorted\"], exportAs: [\"cdkDropList\"] }, { kind: \"directive\", type: i3$2.CdkDropListGroup, selector: \"[cdkDropListGroup]\", inputs: [\"cdkDropListGroupDisabled\"], exportAs: [\"cdkDropListGroup\"] }, { kind: \"directive\", type: i3$2.CdkDrag, selector: \"[cdkDrag]\", inputs: [\"cdkDragData\", \"cdkDragLockAxis\", \"cdkDragRootElement\", \"cdkDragBoundary\", \"cdkDragStartDelay\", \"cdkDragFreeDragPosition\", \"cdkDragDisabled\", \"cdkDragConstrainPosition\", \"cdkDragPreviewClass\", \"cdkDragPreviewContainer\"], outputs: [\"cdkDragStarted\", \"cdkDragReleased\", \"cdkDragEnded\", \"cdkDragEntered\", \"cdkDragExited\", \"cdkDragDropped\", \"cdkDragMoved\"], exportAs: [\"cdkDrag\"] }, { kind: \"component\", type: i4$2.MatLegacyOption, selector: \"mat-option\", exportAs: [\"matOption\"] }, { kind: \"component\", type: i9$1.MatLegacyFormField, selector: \"mat-form-field\", inputs: [\"color\", \"appearance\", \"hideRequiredMarker\", \"hintLabel\", \"floatLabel\"], exportAs: [\"matFormField\"] }, { kind: \"component\", type: i11.MatLegacySelect, selector: \"mat-select\", inputs: [\"disabled\", \"disableRipple\", \"tabIndex\"], exportAs: [\"matSelect\"] }, { kind: \"component\", type: i13.NgxDropzoneComponent, selector: \"ngx-dropzone, [ngx-dropzone]\", inputs: [\"accept\", \"disabled\", \"multiple\", \"maxFileSize\", \"expandable\", \"disableClick\", \"processDirectoryDrop\", \"id\", \"aria-label\", \"aria-labelledby\", \"aria-describedby\"], outputs: [\"change\"] }, { kind: \"component\", type: GridLayoutComponent, selector: \"classifieds-ui-grid-layout\", inputs: [\"dashboard\", \"displayMainControls\", \"displayItemHeader\", \"options\"], outputs: [\"itemAdded\", \"itemRemoved\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: GridLayoutEditorComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-grid-layout-editor', template: \"<classifieds-ui-grid-layout [formGroup]=\\\"controlContainer.control\\\" cdkDropListGroup (itemAdded)=\\\"editor.onItemAdded()\\\" (itemRemoved)=\\\"editor.onItemRemoved($event)\\\" [options]=\\\"options\\\" [dashboard]=\\\"dashboard\\\">\\n <ng-template #extraActions>\\n <button *ngIf=\\\"savable\\\" type=\\\"submit\\\">Save</button>\\n <button *ngIf=\\\"savable\\\" type=\\\"button\\\" (click)=\\\"editor.onPropertiesClick()\\\">Properties</button>\\n <ng-container *ngIf=\\\"savable\\\"><ng-container *ngTemplateOutlet=\\\"contextsMenuTpl\\\"></ng-container></ng-container>\\n <button *ngIf=\\\"nested\\\" type=\\\"button\\\" (click)=\\\"editor.onRulesClick()\\\">Rules</button>\\n <button *ngIf=\\\"nested\\\" type=\\\"button\\\" (click)=\\\"editor.onDeleteClick()\\\">Delete</button>\\n <div class=\\\"layout-type\\\">\\n <mat-form-field>\\n <mat-select required formControlName=\\\"layoutType\\\">\\n <mat-option value=\\\"grid\\\">Grid</mat-option>\\n <mat-option value=\\\"gridless\\\">Gridless</mat-option>\\n <mat-option value=\\\"split\\\">Split</mat-option>\\n </mat-select>\\n </mat-form-field>\\n </div>\\n <div *ngIf=\\\"!nested\\\" class=\\\"display-type\\\">\\n <mat-form-field>\\n <mat-select required formControlName=\\\"displayType\\\">\\n <mat-option value=\\\"page\\\">Page</mat-option>\\n <mat-option value=\\\"form\\\">Form</mat-option>\\n </mat-select>\\n </mat-form-field>\\n </div>\\n <ng-container *ngTemplateOutlet=\\\"extraActionsAreaTmpl\\\"></ng-container>\\n </ng-template>\\n <ng-template #gridItemActions let-i=\\\"i\\\">\\n <button type=\\\"button\\\" (mousedown)=\\\"editor.addContent(i)\\\" (touchstart)=\\\"editor.addContent(i)\\\">Add Content</button>\\n <button type=\\\"button\\\" (mousedown)=\\\"editor.editPanelProps(i)\\\" (touchstart)=\\\"editor.editPanelProps(i)\\\" >Props</button>\\n <button *ngIf=\\\"!editor.hasPanelStyle(i)\\\" type=\\\"button\\\" (mousedown)=\\\"editor.applyStyle(i)\\\" (touchstart)=\\\"editor.applyStyle(i)\\\" >Apply Style</button>\\n <span *ngIf=\\\"editor.hasPanelStyle(i)\\\">Style: {{ editor.panelStyleTitle(i) }}</span>\\n <button *ngIf=\\\"editor.hasPanelStyle(i)\\\" type=\\\"button\\\" (mousedown)=\\\"editor.removeStyle(i)\\\" (touchstart)=\\\"editor.removeStyle(i)\\\" >Remove Style</button>\\n </ng-template>\\n <ng-template #innerGridItem let-i=\\\"i\\\">\\n <ngx-dropzone [cdkDropListData]=\\\"i\\\" class=\\\"panel-dropzone\\\" [multiple]=\\\"true\\\" [disableClick]=\\\"true\\\" (change)=\\\"editor.onFileChange($event, i)\\\" cdkDropList (cdkDropListDropped)=\\\"editor.onDrop($event)\\\">\\n <div #panes>\\n <div *ngFor=\\\"let pane of editor.panelPanes(i).controls; let j = index\\\" cdkDrag>\\n <ng-container *ngTemplateOutlet=\\\"editablePaneTpl;context:{ i: i, j: j }\\\"></ng-container>\\n </div>\\n </div>\\n </ngx-dropzone>\\n </ng-template>\\n</classifieds-ui-grid-layout>\", styles: [\".layout-type,.display-type{float:right}:host ::ng-deep .main-controls{background-color:#ccc}:host ::ng-deep .layout-inner{background-color:#ccc;padding:.75em}:host ::ng-deep .editable-pane-wrapper{border:none;margin-bottom:0}:host ::ng-deep .pane-header{background-color:#fff}:host ::ng-deep .nested-panel-wrapper{padding:.75em;margin-bottom:0}\\n\"] }]\n }], ctorParameters: function () { return [{ type: i1.ControlContainer }]; }, propDecorators: { gridLayout: [{\n type: ViewChild,\n args: [GridLayoutComponent, { static: false }]\n }] } });\n\n// import { FlexLayoutServerModule } from '@angular/flex-layout/server';\nclass LayoutModule {\n constructor(lpm) {\n [splitLayoutFactory(), gridlessLayoutFactory()].forEach(p => {\n lpm.register(p);\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: LayoutModule, deps: [{ token: LayoutPluginManager }], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: LayoutModule, declarations: [FlexLayoutComponent,\n GridLayoutComponent,\n GridlessLayoutComponent,\n SplitLayoutComponent,\n LayoutFormComponent,\n LayoutDialogComponent,\n GridlessLayoutEditorComponent,\n GridlessLayoutRendererComponent,\n SplitLayoutEditorComponent,\n FlexLayoutRendererComponent,\n GridLayoutEditorComponent,\n LayoutSidenavComponent], imports: [CommonModule,\n FormsModule,\n RouterModule,\n ReactiveFormsModule,\n MaterialModule,\n FlexLayoutModule,\n // FlexLayoutServerModule,\n AngularSplitModule,\n GridsterModule,\n NgxDropzoneModule,\n UtilsModule,\n TokenModule,\n AttributesModule], exports: [FlexLayoutComponent,\n GridLayoutComponent,\n GridlessLayoutComponent,\n SplitLayoutComponent,\n LayoutFormComponent,\n LayoutDialogComponent,\n GridlessLayoutEditorComponent,\n GridlessLayoutRendererComponent,\n SplitLayoutEditorComponent,\n FlexLayoutRendererComponent,\n GridLayoutEditorComponent,\n LayoutSidenavComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: LayoutModule, imports: [CommonModule,\n FormsModule,\n RouterModule,\n ReactiveFormsModule,\n MaterialModule,\n FlexLayoutModule,\n // FlexLayoutServerModule,\n AngularSplitModule,\n GridsterModule,\n NgxDropzoneModule,\n UtilsModule,\n TokenModule,\n AttributesModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: LayoutModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [\n FlexLayoutComponent,\n GridLayoutComponent,\n GridlessLayoutComponent,\n SplitLayoutComponent,\n LayoutFormComponent,\n LayoutDialogComponent,\n GridlessLayoutEditorComponent,\n GridlessLayoutRendererComponent,\n SplitLayoutEditorComponent,\n FlexLayoutRendererComponent,\n GridLayoutEditorComponent,\n LayoutSidenavComponent\n ],\n imports: [\n CommonModule,\n FormsModule,\n RouterModule,\n ReactiveFormsModule,\n MaterialModule,\n FlexLayoutModule,\n // FlexLayoutServerModule,\n AngularSplitModule,\n GridsterModule,\n NgxDropzoneModule,\n UtilsModule,\n TokenModule,\n AttributesModule,\n ],\n exports: [\n FlexLayoutComponent,\n GridLayoutComponent,\n GridlessLayoutComponent,\n SplitLayoutComponent,\n LayoutFormComponent,\n LayoutDialogComponent,\n GridlessLayoutEditorComponent,\n GridlessLayoutRendererComponent,\n SplitLayoutEditorComponent,\n FlexLayoutRendererComponent,\n GridLayoutEditorComponent,\n LayoutSidenavComponent\n ]\n }]\n }], ctorParameters: function () { return [{ type: LayoutPluginManager }]; } });\n\n/*\n * Public API Surface of layout\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { FlexLayoutComponent, FlexLayoutRendererComponent, GridLayoutComponent, GridLayoutEditorComponent, GridlessLayoutComponent, GridlessLayoutEditorComponent, GridlessLayoutRendererComponent, LayoutDialogComponent, LayoutFormComponent, LayoutModule, LayoutPlugin, LayoutPluginManager, LayoutSidenavComponent, SplitLayoutComponent, SplitLayoutEditorComponent };\n","import * as i4 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i1 from '@angular/forms';\nimport { Validators, NG_VALUE_ACCESSOR, NG_VALIDATORS, FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport * as i0 from '@angular/core';\nimport { EventEmitter, forwardRef, Component, Output, Input, Injectable, NgModule } from '@angular/core';\nimport { MaterialModule } from '@rollthecloudinc/material';\nimport * as i2 from '@rollthecloudinc/datasource';\nimport { Renderer, DatasourcePlugin, DatasourceEditorOptions, Rest as Rest$1, Dataset, DatasourceModule } from '@rollthecloudinc/datasource';\nimport * as i9 from 'angular-split';\nimport { AngularSplitModule } from 'angular-split';\nimport * as i10 from 'ngx-json-viewer';\nimport { NgxJsonViewerModule } from 'ngx-json-viewer';\nimport * as i3$1 from '@rollthecloudinc/snippet';\nimport { Snippet, SnippetModule } from '@rollthecloudinc/snippet';\nimport * as i3 from '@rollthecloudinc/token';\nimport { TokenModule } from '@rollthecloudinc/token';\nimport { BehaviorSubject, Subject, of, Observable, iif, throwError } from 'rxjs';\nimport { map, tap, filter, switchMap, catchError, takeUntil, debounceTime, delay, timeout } from 'rxjs/operators';\nimport * as qs from 'qs';\nimport * as i6$1 from '@rollthecloudinc/dparam';\nimport { Param, DparamModule } from '@rollthecloudinc/dparam';\nimport * as i5 from '@angular/material/legacy-core';\nimport * as i6 from '@angular/material/legacy-form-field';\nimport * as i7 from '@angular/material/legacy-input';\nimport * as i8 from '@angular/material/legacy-select';\nimport * as i1$1 from '@rollthecloudinc/attributes';\nimport { ContentBinding } from '@rollthecloudinc/content';\nimport * as i5$1 from '@rollthecloudinc/crud';\nimport { CrudAdaptorPlugin, CrudModule } from '@rollthecloudinc/crud';\nimport * as i2$1 from '@angular/common/http';\nimport { HttpParams } from '@angular/common/http';\nimport * as i4$1 from '@rollthecloudinc/durl';\nimport * as i1$2 from '@ngrx/data';\nimport { DefaultHttpUrlGenerator, normalizeRoot } from '@ngrx/data';\nimport * as i3$2 from '@rollthecloudinc/context';\n\nclass Rest {\n constructor(data) {\n this.params = [];\n if (data) {\n this.url = data.url;\n this.method = data.method ? data.method : undefined;\n if (data.renderer !== undefined) {\n this.renderer = new Renderer(data.renderer);\n }\n // For now leave these on rest even though they should probably be one level above inside datasource... maybe not :/\n if (data.params !== undefined) {\n this.params = data.params.map(p => new Param(p));\n }\n if (data.body) {\n this.body = new Snippet(data.body);\n }\n }\n }\n}\n\nclass RestSourceFormComponent {\n set restSource(restSource) {\n this.restSource$.next(restSource);\n }\n ;\n constructor(fb, datasourceApi, tokenizerService) {\n this.fb = fb;\n this.datasourceApi = datasourceApi;\n this.tokenizerService = tokenizerService;\n this.dataChange = new EventEmitter();\n this.contexts = [];\n this.sourceForm = this.fb.group({\n url: this.fb.control('', Validators.required),\n params: this.fb.control([]),\n body: this.fb.control(''),\n method: this.fb.control('get', [Validators.required])\n });\n this.restSource$ = new BehaviorSubject(new Rest());\n this.componentDestroyed = new Subject();\n this.refreshData$ = new Subject();\n this.refreshSubscription = this.refreshData$.pipe(map(() => this.generateUrl()), tap(url => console.log(url)), filter(url => url && url.trim() !== ''), switchMap((url) => this.datasourceApi.getData(url).pipe(catchError((e) => {\n console.log(e);\n return of([]);\n }))), takeUntil(this.componentDestroyed)).subscribe(data => {\n this.jsonData = data;\n this.dataChange.emit(data);\n });\n this.urlChangeSub = this.sourceForm.get('url').valueChanges.pipe(debounceTime(500), filter(url => url && url.trim() !== ''), map(url => [url, url.indexOf('?')]), map(([url, index]) => [(index > -1 ? url.substring(0, index) : url), (index > -1 ? url.substring(index + 1) : '')])).subscribe(([path, queryString]) => {\n const pathParsed = path.split('/').reduce((p, c, i) => (c.indexOf(':') === 0 ? { ...p, [c.substr(1)]: c } : p), {});\n const parsed = { ...pathParsed, ...qs.parse(queryString) };\n this.paramsParsed = parsed;\n });\n this.restSourceSub = this.restSource$.pipe(tap(r => {\n if (r) {\n this.sourceForm.get('url').setValue(r.url);\n this.sourceForm.get('method').setValue(r.method ? r.method : '');\n this.sourceForm.get('body').setValue(r.body ? { ...r.body, jsScript: '' } : '');\n }\n else {\n this.sourceForm.get('url').setValue('');\n this.sourceForm.get('method').setValue('');\n this.sourceForm.get('body').setValue('');\n }\n })).subscribe();\n this.onTouched = () => { };\n }\n ngOnInit() {\n this.sourceForm.valueChanges.pipe(debounceTime(1000)).subscribe(() => {\n console.log('refresh data');\n this.refreshData$.next(undefined);\n });\n }\n ngOnDestroy() {\n this.componentDestroyed.next(undefined);\n this.componentDestroyed.complete();\n }\n writeValue(val) {\n if (val) {\n this.sourceForm.setValue(val, { emitEvent: false });\n }\n }\n registerOnChange(fn) {\n this.sourceForm.valueChanges.subscribe(fn);\n }\n registerOnTouched(fn) {\n this.onTouched = fn;\n }\n setDisabledState(isDisabled) {\n if (isDisabled) {\n this.sourceForm.disable();\n }\n else {\n this.sourceForm.enable();\n }\n }\n validate(c) {\n return this.sourceForm.valid ? null : { invalidForm: { valid: false, message: \"source is invalid\" } };\n }\n /*refreshData() {\n \n }*/\n generateUrl() {\n console.log('generate url');\n const url = this.sourceForm.get('url').value;\n const [path, queryString] = url ? url.split('?', 2) : ['', ''];\n const qsParsed = qs.parse(queryString);\n const qsOverrides = {};\n const pathPieces = path.split('/');\n const len = pathPieces.length;\n const rebuildUrl = [];\n let pathParams = 0;\n for (let i = 0; i < len; i++) {\n if (pathPieces[i].indexOf(':') === 0) {\n if (!this.sourceForm.get('params').value[pathParams]) {\n return '';\n }\n const mapping = this.sourceForm.get('params').value[pathParams].mapping;\n rebuildUrl.push(mapping.value.type === 'static' ? mapping.value.value : mapping.value.testValue);\n pathParams++;\n }\n else {\n rebuildUrl.push(pathPieces[i]);\n }\n }\n for (const prop in qsParsed) {\n if (typeof (qsParsed[prop]) === 'string' && qsParsed[prop].indexOf(':') > -1) {\n if (!this.sourceForm.get('params').value[pathParams]) {\n return '';\n }\n const mapping = this.sourceForm.get('params').value[pathParams].mapping;\n qsOverrides[prop] = mapping.type === 'static' ? mapping.value : mapping.testValue;\n pathParams++;\n }\n }\n const apiUrl = rebuildUrl.join('/') + (queryString !== '' ? '?' + qs.stringify({ ...qsParsed, ...qsOverrides }) : '');\n console.log(apiUrl);\n return apiUrl;\n }\n onDataChange(data) {\n this.tokens = this.tokenizerService.generateGenericTokens(data[0]);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RestSourceFormComponent, deps: [{ token: i1.UntypedFormBuilder }, { token: i2.DatasourceApiService }, { token: i3.TokenizerService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: RestSourceFormComponent, selector: \"classifieds-ui-rest-source-form\", inputs: { restSource: \"restSource\", contexts: \"contexts\" }, outputs: { dataChange: \"dataChange\" }, providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => RestSourceFormComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => RestSourceFormComponent),\n multi: true\n },\n ], ngImport: i0, template: \"\\n<as-split [formGroup]=\\\"sourceForm\\\" direction=\\\"horizontal\\\">\\n <div as-split-area size=\\\"50\\\">\\n <div>\\n <mat-form-field>\\n <mat-select required formControlName=\\\"method\\\">\\n <mat-option value=\\\"get\\\">GET</mat-option>\\n <mat-option value=\\\"post\\\">POST</mat-option>\\n <mat-option value=\\\"put\\\">PUT</mat-option>\\n <mat-option value=\\\"delete\\\">DELETE</mat-option>\\n </mat-select>\\n </mat-form-field>\\n <mat-form-field>\\n <input matInput placeholder=\\\"Url\\\" formControlName=\\\"url\\\" required>\\n </mat-form-field>\\n </div>\\n <classifieds-ui-snippet-form formControlName=\\\"body\\\" [rootForm]=\\\"false\\\" rows=\\\"10\\\" cols=\\\"40\\\" [tokens]=\\\"tokens\\\"></classifieds-ui-snippet-form>\\n <classifieds-ui-params-form formControlName=\\\"params\\\" [params]=\\\"paramsParsed\\\" [paramValues]=\\\"restSource$.value.params\\\" [contexts]=\\\"contexts\\\"></classifieds-ui-params-form>\\n </div>\\n <as-split-area size=\\\"50\\\">\\n <ngx-json-viewer *ngIf=\\\"jsonData\\\" [json]=\\\"jsonData\\\" [expanded]=\\\"false\\\"></ngx-json-viewer>\\n </as-split-area>\\n</as-split>\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i4.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i1.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1.RequiredValidator, selector: \":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]\", inputs: [\"required\"] }, { kind: \"directive\", type: i1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: i5.MatLegacyOption, selector: \"mat-option\", exportAs: [\"matOption\"] }, { kind: \"component\", type: i6.MatLegacyFormField, selector: \"mat-form-field\", inputs: [\"color\", \"appearance\", \"hideRequiredMarker\", \"hintLabel\", \"floatLabel\"], exportAs: [\"matFormField\"] }, { kind: \"directive\", type: i7.MatLegacyInput, selector: \"input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]\", exportAs: [\"matInput\"] }, { kind: \"component\", type: i8.MatLegacySelect, selector: \"mat-select\", inputs: [\"disabled\", \"disableRipple\", \"tabIndex\"], exportAs: [\"matSelect\"] }, { kind: \"component\", type: i9.SplitComponent, selector: \"as-split\", inputs: [\"direction\", \"unit\", \"gutterSize\", \"gutterStep\", \"restrictMove\", \"useTransition\", \"disabled\", \"dir\", \"gutterDblClickDuration\", \"gutterClickDeltaPx\", \"gutterAriaLabel\"], outputs: [\"transitionEnd\", \"dragStart\", \"dragEnd\", \"gutterClick\", \"gutterDblClick\"], exportAs: [\"asSplit\"] }, { kind: \"directive\", type: i9.SplitAreaDirective, selector: \"as-split-area, [as-split-area]\", inputs: [\"order\", \"size\", \"minSize\", \"maxSize\", \"lockSize\", \"visible\"], exportAs: [\"asSplitArea\"] }, { kind: \"component\", type: i10.NgxJsonViewerComponent, selector: \"ngx-json-viewer\", inputs: [\"json\", \"expanded\", \"depth\", \"_currentDepth\"] }, { kind: \"component\", type: i3$1.SnippetFormComponent, selector: \"classifieds-ui-snippet-form\", inputs: [\"tokens\", \"splitDirection\", \"rows\", \"cols\", \"rootForm\", \"snippet\"], outputs: [\"submitted\"] }, { kind: \"component\", type: i6$1.ParamsFormComponent, selector: \"classifieds-ui-params-form\", inputs: [\"contexts\", \"params\", \"paramValues\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RestSourceFormComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-rest-source-form', providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => RestSourceFormComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => RestSourceFormComponent),\n multi: true\n },\n ], template: \"\\n<as-split [formGroup]=\\\"sourceForm\\\" direction=\\\"horizontal\\\">\\n <div as-split-area size=\\\"50\\\">\\n <div>\\n <mat-form-field>\\n <mat-select required formControlName=\\\"method\\\">\\n <mat-option value=\\\"get\\\">GET</mat-option>\\n <mat-option value=\\\"post\\\">POST</mat-option>\\n <mat-option value=\\\"put\\\">PUT</mat-option>\\n <mat-option value=\\\"delete\\\">DELETE</mat-option>\\n </mat-select>\\n </mat-form-field>\\n <mat-form-field>\\n <input matInput placeholder=\\\"Url\\\" formControlName=\\\"url\\\" required>\\n </mat-form-field>\\n </div>\\n <classifieds-ui-snippet-form formControlName=\\\"body\\\" [rootForm]=\\\"false\\\" rows=\\\"10\\\" cols=\\\"40\\\" [tokens]=\\\"tokens\\\"></classifieds-ui-snippet-form>\\n <classifieds-ui-params-form formControlName=\\\"params\\\" [params]=\\\"paramsParsed\\\" [paramValues]=\\\"restSource$.value.params\\\" [contexts]=\\\"contexts\\\"></classifieds-ui-params-form>\\n </div>\\n <as-split-area size=\\\"50\\\">\\n <ngx-json-viewer *ngIf=\\\"jsonData\\\" [json]=\\\"jsonData\\\" [expanded]=\\\"false\\\"></ngx-json-viewer>\\n </as-split-area>\\n</as-split>\\n\" }]\n }], ctorParameters: function () { return [{ type: i1.UntypedFormBuilder }, { type: i2.DatasourceApiService }, { type: i3.TokenizerService }]; }, propDecorators: { dataChange: [{\n type: Output\n }], restSource: [{\n type: Input\n }], contexts: [{\n type: Input\n }] } });\n\nclass RestDatasourceComponent {\n set settings(settings) {\n this.restSource = settings ? new Rest(this.attributeSerializer.deserializeAsObject(settings)) : undefined;\n }\n constructor(attributeSerializer, controlContainer) {\n this.attributeSerializer = attributeSerializer;\n this.controlContainer = controlContainer;\n this.contexts = [];\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RestDatasourceComponent, deps: [{ token: i1$1.AttributeSerializerService }, { token: i1.ControlContainer }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: RestDatasourceComponent, selector: \"classifieds-ui-rest-datasource\", inputs: { settings: \"settings\", contexts: \"contexts\" }, ngImport: i0, template: `<ng-container [formGroup]=\"controlContainer.control\"><classifieds-ui-rest-source-form formControlName=\"settings\" [restSource]=\"restSource\" [contexts]=\"contexts\"></classifieds-ui-rest-source-form></ng-container>`, isInline: true, dependencies: [{ kind: \"directive\", type: i1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: RestSourceFormComponent, selector: \"classifieds-ui-rest-source-form\", inputs: [\"restSource\", \"contexts\"], outputs: [\"dataChange\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RestDatasourceComponent, decorators: [{\n type: Component,\n args: [{\n selector: 'classifieds-ui-rest-datasource',\n template: `<ng-container [formGroup]=\"controlContainer.control\"><classifieds-ui-rest-source-form formControlName=\"settings\" [restSource]=\"restSource\" [contexts]=\"contexts\"></classifieds-ui-rest-source-form></ng-container>`,\n // template: `<ng-container [formGroup]=\"controlContainer.control\"><classifieds-ui-rest-source-form formControlName=\"settings\" [settings]=\"settings\" [contexts]=\"contexts\"></classifieds-ui-rest-source-form></ng-container>`,\n }]\n }], ctorParameters: function () { return [{ type: i1$1.AttributeSerializerService }, { type: i1.ControlContainer }]; }, propDecorators: { settings: [{\n type: Input\n }], contexts: [{\n type: Input\n }] } });\n\nconst restDatasourcePluginFactory = (fetchhelper, paramContextExtractor, attributeSerializer) => {\n return new DatasourcePlugin({\n id: 'rest',\n title: 'Rest',\n editor: RestDatasourceComponent,\n fetch: ({ settings, metadata }) => fetchhelper.fetchDataset({ settings, metadata }),\n editorOptions: () => of(new DatasourceEditorOptions({ fullscreen: true })),\n getBindings: ({ settings, metadata }) => of([]).pipe(map(() => attributeSerializer.deserializeAsObject(settings)), map(s => new Rest$1(s)), switchMap(ds => paramContextExtractor.extractContexts(ds.params)), map(contexts => contexts.map(id => new ContentBinding({ id, type: 'context' }))))\n });\n};\nconst restEntityCrudAdaptorPluginFactory = (paramsEvaluatorService, http, httpUrlGenerator, config) => {\n return new CrudAdaptorPlugin({\n id: 'rest',\n title: 'Rest',\n create: ({ object, params }) => of({ success: false }).pipe(switchMap(() => paramsEvaluatorService.paramValues(new Map(Object.keys(params).map(name => [name, params[name]])))), switchMap(options => restfulRequest({ method: 'POST', url: httpUrlGenerator.entityResource(options.get('entityName'), options.has('root') ? options.get('root') : config.root ? config.root : 'api', true), data: object || new Error(`No entity to add`), params: options, http })), map(() => ({ success: true, entity: object }))),\n read: ({}) => of({ success: false }),\n update: ({ object, identity, params, parentObject }) => of({ success: false }).pipe(switchMap(() => identity({ object, parentObject })), switchMap(({ identity }) => paramsEvaluatorService.paramValues(new Map(Object.keys(params).map(name => [name, params[name]]))).pipe(map(options => ({ identity, options })))), switchMap(({ identity, options }) => restfulRequest({ method: 'PUT', url: httpUrlGenerator.entityResource(options.get('entityName'), options.has('root') ? options.get('root') : config.root ? config.root : 'api', true) + `${identity}`, data: object || new Error(`No entity to add`), params: options, http })), map(() => ({ success: true, entity: object }))),\n delete: ({}) => of({ success: false }),\n query: ({ params, rule }) => of({ success: false }).pipe(switchMap(() => paramsEvaluatorService.paramValues(new Map(Object.keys(params).map(name => [name, params[name]])))), switchMap(options => new Observable(obs => {\n const query = rule ? rule.conditions.all.reduce((p, c) => [...p, ...c.any.filter(c2 => c2.fact !== 'identity').map(c2 => `${c2.path.substr(2)}=${c2.value}`)], []) : [];\n const identityFact = rule ? rule.conditions.all.reduce((p, c) => !p ? c.any.find(c2 => c2.fact === 'identity') : p, undefined) : undefined;\n obs.next({ identityFact, options, query: query.length > 0 ? new HttpParams({ fromString: query.join('&') }) : undefined, path: identityFact ? identityFact.value : '' });\n obs.complete();\n })), switchMap(({ options, query, path, identityFact }) => iif(() => !!identityFact, restfulRequest({ method: 'GET', url: httpUrlGenerator.entityResource(options.get('entityName'), options.has('root') ? options.get('root') : config.root ? config.root : 'api', true) + path, options: { params: query }, params: options, http }).pipe(map(objects => ({ success: true, entities: Array.isArray(objects) ? objects : [objects] }))), restfulRequest({ method: 'GET', url: httpUrlGenerator.collectionResource(options.get('entityName'), options.has('root') ? options.get('root') : config.root ? config.root : 'api') + path, options: { params: query }, params: options, http }).pipe(map(objects => ({ success: true, entities: objects })))))),\n });\n};\nconst restfulRequest = ({ method, url, data, options, params, http }) => {\n const req = { method, url, data, options };\n if (data instanceof Error) {\n // return handleRestfulError(req)(data);\n return of([]);\n }\n let result$;\n switch (method) {\n case 'DELETE': {\n result$ = http.delete(url, options);\n if (params.has('saveDelay')) {\n result$ = result$.pipe(delay(+params.get('saveDelay')));\n }\n break;\n }\n case 'GET': {\n const newUrl = params.has('suffix') ? url + params.get('suffix') : url;\n result$ = http.get(newUrl, options);\n if (params.has('getDelay')) {\n result$ = result$.pipe(delay(+params.get('getDelay')));\n }\n break;\n }\n case 'POST': {\n result$ = http.post(url, data, options);\n if (params.has('saveDelay')) {\n result$ = result$.pipe(delay(+params.get('saveDelay')));\n }\n break;\n }\n // N.B.: It must return an Update<T>\n case 'PUT': {\n result$ = http.put(url, data, options);\n if (params.has('saveDelay')) {\n result$ = result$.pipe(delay(+params.get('saveDelay')));\n }\n break;\n }\n default: {\n const error = new Error('Unimplemented HTTP method, ' + method);\n result$ = throwError(error);\n }\n }\n if (params.has('timeout')) {\n result$ = result$.pipe(timeout(+params.get('timeout') + +params.get('saveDelay')));\n }\n return result$.pipe(catchError(() => of([])));\n};\n\nclass RestFetchHelperService {\n constructor(attrbuteSerializer, \n // private datasourceApi: DatasourceApiService,\n http, snippetParserService, urlGenerator) {\n this.attrbuteSerializer = attrbuteSerializer;\n this.http = http;\n this.snippetParserService = snippetParserService;\n this.urlGenerator = urlGenerator;\n }\n fetchDataset({ settings, metadata }) {\n return of(new Dataset()).pipe(tap(() => console.log('START rest fetch')), map(() => this.attrbuteSerializer.deserializeAsObject(settings)), map(s => new Rest(s)), switchMap(r => this.urlGenerator.getUrl(r.url, r.params, metadata).pipe(map(url => new Rest({ ...r, url })))), filter(r => r.url && r.url.trim() !== '' && r.url.indexOf('http') > -1), switchMap(r => restfulRequest({ url: r.url, method: r.method.toUpperCase() === 'POST' ? 'POST' : 'GET', http: this.http, params: new Map() }).pipe(catchError(() => of([])), map(data => Array.isArray(data) ? data : [data]), \n // tap(data => this.cache.set(url, data))\n map(results => new Dataset({ results })))), tap(() => console.log('END rest fetch'))\n // phase out\n /*switchMap<Rest, Observable<Dataset>>(r => {\n const method = r.method ? r.method : 'get';\n switch(method) {\n case 'post':\n case 'POST':\n return of([]).pipe(\n switchMap(() => this.snippetParserService.parseSnippet({ snippet: r.body })),\n switchMap(body => this.datasourceApi.postData({ url: r.url, body })),\n map(results => new Dataset({ results }))\n );\n \n default:\n return this.datasourceApi.getData(r.url).pipe(\n map(results => new Dataset({ results }))\n );\n }\n \n })*/\n );\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RestFetchHelperService, deps: [{ token: i1$1.AttributeSerializerService }, { token: i2$1.HttpClient }, { token: i3$1.SnippetParserService }, { token: i4$1.UrlGeneratorService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RestFetchHelperService }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RestFetchHelperService, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: i1$1.AttributeSerializerService }, { type: i2$1.HttpClient }, { type: i3$1.SnippetParserService }, { type: i4$1.UrlGeneratorService }]; } });\n\nclass RestHttpGenerator extends DefaultHttpUrlGenerator {\n constructor(pluralizer2) {\n super(pluralizer2);\n this.pluralizer2 = pluralizer2;\n }\n /**\n * Get or generate the entity and collection resource URLs for the given entity type name\n * @param entityName {string} Name of the entity type, e.g, 'Hero'\n * @param root {string} Root path to the resource, e.g., 'some-api`\n */\n getResourceUrls(entityName, root, trailingSlashEndpoints = false) {\n const nRoot = trailingSlashEndpoints ? root : normalizeRoot(root);\n const resourceUrls = {\n entityResourceUrl: `${nRoot}/${entityName}/`.toLowerCase(),\n collectionResourceUrl: `${nRoot}/${this.pluralizer2.pluralize(entityName)}/`.toLowerCase(),\n };\n return resourceUrls;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RestHttpGenerator, deps: [{ token: i1$2.Pluralizer }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RestHttpGenerator }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RestHttpGenerator, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: i1$2.Pluralizer }]; } });\n\nclass RestModule {\n constructor(dspm, fetchHelper, paramContextExtractor, attributeSerializer, cpm, paramsEvaluatorService, http, restUrlGenerator, config) {\n dspm.register(restDatasourcePluginFactory(fetchHelper, paramContextExtractor, attributeSerializer));\n cpm.register(restEntityCrudAdaptorPluginFactory(paramsEvaluatorService, http, restUrlGenerator, config));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RestModule, deps: [{ token: i2.DatasourcePluginManager }, { token: RestFetchHelperService }, { token: i3$2.ParamContextExtractorService }, { token: i1$1.AttributeSerializerService }, { token: i5$1.CrudAdaptorPluginManager }, { token: i6$1.ParamEvaluatorService }, { token: i2$1.HttpClient }, { token: RestHttpGenerator }, { token: i1$2.DefaultDataServiceConfig }], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: RestModule, declarations: [RestSourceFormComponent, RestDatasourceComponent], imports: [CommonModule,\n // HttpClientModule,\n FormsModule,\n ReactiveFormsModule,\n MaterialModule,\n AngularSplitModule,\n NgxJsonViewerModule,\n SnippetModule,\n DatasourceModule,\n TokenModule,\n CrudModule,\n DparamModule], exports: [RestSourceFormComponent, RestDatasourceComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RestModule, providers: [\n RestFetchHelperService,\n RestHttpGenerator\n // Crud adaptor requires this is defined here... hmmm... that doesn't seem right. Should inherit from parent.\n // { provide: HTTP_INTERCEPTORS, useClass: TokenInterceptor, multi: true },\n ], imports: [CommonModule,\n // HttpClientModule,\n FormsModule,\n ReactiveFormsModule,\n MaterialModule,\n AngularSplitModule,\n NgxJsonViewerModule,\n SnippetModule,\n DatasourceModule,\n TokenModule,\n CrudModule,\n DparamModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RestModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [RestSourceFormComponent, RestDatasourceComponent],\n imports: [\n CommonModule,\n // HttpClientModule,\n FormsModule,\n ReactiveFormsModule,\n MaterialModule,\n AngularSplitModule,\n NgxJsonViewerModule,\n SnippetModule,\n DatasourceModule,\n TokenModule,\n CrudModule,\n DparamModule\n ],\n exports: [RestSourceFormComponent, RestDatasourceComponent],\n providers: [\n RestFetchHelperService,\n RestHttpGenerator\n // Crud adaptor requires this is defined here... hmmm... that doesn't seem right. Should inherit from parent.\n // { provide: HTTP_INTERCEPTORS, useClass: TokenInterceptor, multi: true },\n ]\n }]\n }], ctorParameters: function () { return [{ type: i2.DatasourcePluginManager }, { type: RestFetchHelperService }, { type: i3$2.ParamContextExtractorService }, { type: i1$1.AttributeSerializerService }, { type: i5$1.CrudAdaptorPluginManager }, { type: i6$1.ParamEvaluatorService }, { type: i2$1.HttpClient }, { type: RestHttpGenerator }, { type: i1$2.DefaultDataServiceConfig }]; } });\n\n/*\n * Public API Surface of rest\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { Rest, RestDatasourceComponent, RestModule, RestSourceFormComponent };\n","import * as i0 from '@angular/core';\nimport { NgModule, Injectable, Inject } from '@angular/core';\nimport { DOCUMENT } from '@angular/common';\nimport domElementPath from 'dom-element-path';\nimport { camelize, dasherize, underscore } from 'inflected';\nimport merge from 'deepmerge-json';\nimport { Subject, filter, debounceTime, switchMap, tap, Observable, catchError, of } from 'rxjs';\n\nclass SheathModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: SheathModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: SheathModule }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: SheathModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: SheathModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [],\n imports: [],\n exports: []\n }]\n }] });\n\nconst isSelectorValid = ({ selector, document }) => {\n const dummyElement = document.createDocumentFragment();\n if (!selector || selector.indexOf('undefined') !== -1) {\n return false;\n }\n try {\n dummyElement.querySelector(selector);\n }\n catch {\n return false;\n }\n return true;\n};\n\nconst selX = /([^\\s\\;\\{\\}][^\\;\\{\\}]*)\\{/g;\nconst endX = /\\}/g;\nconst lineX = /([^\\;\\{\\}]*)\\;/g;\nconst commentX = /\\/\\*[\\s\\S]*?\\*\\//g;\nconst lineAttrX = /([^\\:]+):([^\\;]*);/;\n// This is used, a concatenation of all above. We use alternation to\n// capture.\nconst altX = /(\\/\\*[\\s\\S]*?\\*\\/)|([^\\s\\;\\{\\}][^\\;\\{\\}]*(?=\\{))|(\\})|([^\\;\\{\\}]+\\;(?!\\s*\\*\\/))/gim;\nconst isEmpty = function (x) {\n return typeof x == 'undefined' || x.length == 0 || x == null;\n};\nconst defaultToJsonArgs = {\n ordered: false,\n comments: false,\n stripComments: false,\n split: false,\n};\nclass StylizerService {\n constructor(document) {\n this.document = document;\n this.mutate$ = new Subject();\n this.mutated$ = new Subject();\n this.mutateSub = this.mutate$.pipe(filter(({ record }) => record.type === 'attributes' && record.attributeName === 'style' && !!record.target), debounceTime(2000), switchMap(({ record, overlay }) => this.mapRecord({ record, overlay })), tap(({ stylesheet }) => this.mutated$.next({ stylesheet }))).subscribe();\n }\n stylize({ targetNode }) {\n const overlay = new Map();\n const observer = new MutationObserver((records) => {\n records.forEach(record => {\n this.mutate$.next({ record, overlay });\n });\n });\n const observerOptions = { childList: true, attributes: true, subtree: true, attributeFilter: ['style'], attributeOldValue: true };\n observer.observe(targetNode, observerOptions);\n }\n mapRecord({ record, overlay }) {\n return new Observable(obs => {\n const path = domElementPath.default(record.target);\n const oldCssAsJson = this.toJSON(`${path} { ${record.oldValue} }`);\n // console.log('oldCssAsJson', oldCssAsJson);\n const oldCssAsObject = oldCssAsJson.children[path] ? Object.keys(oldCssAsJson.children[path].attributes).reduce((p, c) => ({ ...p, [camelize(c.replace('-', '_'), false)]: oldCssAsJson.children[path].attributes[c] }), {}) : undefined;\n // console.log('oldCssAsObject', oldCssAsObject);\n const newCssAsObject = Object.keys(record.target.style).reduce((p, c) => !Number.isNaN(parseInt(c)) && record.target.style.hasOwnProperty(camelize(record.target.style[c].replace('-', '_'), false)) ? { ...p, [camelize(record.target.style[c].replace('-', '_'), false)]: record.target.style[camelize(record.target.style[c].replace('-', '_'), false)] } : p, {});\n // console.log('newCssAsObject', newCssAsObject);\n const merged = merge(oldCssAsObject, newCssAsObject);\n // console.log('merged', merged);\n overlay.set(path, merged);\n // console.log('overlay changed', overlay);\n const rules = [];\n overlay.forEach((v, k) => {\n const pieces = k.split(' ');\n const optimizedSelector = pieces.reduce((p, c, i) => c.indexOf('.pane-') !== -1 || c.indexOf('.panel-') !== -1 ? { selector: [...p.selector, c.replace(/^(.*?)(\\.pane-|\\.panel-page|\\.panel-)([0-9]*)(.*?)$/, '$2$3')], chars: p.chars + c.length, lastIndex: p.chars + i + c.length } : { ...p, chars: p.chars + c.length }, { selector: [], chars: 0, lastIndex: 0 });\n if (optimizedSelector.selector.length !== 0) {\n // console.log('after selector', k.slice(optimizedSelector.lastIndex))\n let rebuiltSelector = (optimizedSelector.selector.join(' ') + ' ' + k.slice(optimizedSelector.lastIndex).split('>').join('')).replace(/(\\.ng\\-[a-zA-Z0-9_-]*)/gm, '').trim();\n if (rebuiltSelector.indexOf('.panel-page') === 0) {\n rebuiltSelector = rebuiltSelector.substr(12).trim();\n }\n const selectorValid = isSelectorValid({ selector: rebuiltSelector, document: this.document });\n if (selectorValid) {\n rules.push(rebuiltSelector + ' { ' + Object.keys(v).reduce((p, c) => c.match(/^[a-zA-Z-]*$/gm) ? `${p}${dasherize(underscore(c))}: ${v[c]};` : p, ``) + ' }');\n }\n else {\n //console.warn('Selector invalid \"' + rebuiltSelector + '\"');\n }\n }\n });\n // rules.forEach(r => console.log('rule', r));\n // const mergedCssAsJson = this.toJSON(rules.join(''));\n // console.log('mergedCssAsJson', mergedCssAsJson);\n const stylesheet = rules.join(\"\\n\");\n obs.next({ stylesheet });\n obs.complete();\n });\n }\n /**\n * The library has an error in it. Considering the size of the function its much easier\n * to just copy it here and fix than to do anything else. Should probably move it\n * to a more appropriate module / service though.\n */\n toJSON(cssString, args = defaultToJsonArgs) {\n const capComment = 1;\n const capSelector = 2;\n const capEnd = 3;\n const capAttr = 4;\n const node = {\n children: {},\n attributes: {},\n };\n let match = null;\n let count = 0;\n if (args.stripComments) {\n args.comments = false;\n cssString = cssString.replace(commentX, '');\n }\n while ((match = altX.exec(cssString)) != null) {\n if (!isEmpty(match[capComment]) && args.comments) {\n // Comment\n node[count++] = match[capComment].trim();\n }\n else if (!isEmpty(match[capSelector])) {\n // New node, we recurse\n const name = match[capSelector].trim();\n // This will return when we encounter a closing brace\n const newNode = this.toJSON(cssString, args);\n if (args.ordered) {\n // Since we must use key as index to keep order and not\n // name, this will differentiate between a Rule Node and an\n // Attribute, since both contain a name and value pair.\n node[count++] = { name, value: newNode, type: 'rule' };\n }\n else {\n const bits = args.split ? name.split(',') : [name];\n for (const i in bits) {\n const sel = bits[i].trim();\n if (sel in node.children) {\n for (const att in newNode.attributes) {\n node.children[sel].attributes[att] = newNode.attributes[att];\n }\n }\n else {\n node.children[sel] = newNode;\n }\n }\n }\n }\n else if (!isEmpty(match[capEnd])) {\n // Node has finished\n return node;\n }\n else if (!isEmpty(match[capAttr])) {\n const line = match[capAttr].trim();\n const attr = lineAttrX.exec(line);\n if (attr) {\n // Attribute\n const name = attr[1].trim();\n const value = attr[2].trim();\n if (args.ordered) {\n node[count++] = { name, value, type: 'attr' };\n }\n else {\n if (name in node.attributes) {\n const currVal = node.attributes[name];\n if (!(currVal instanceof Array)) {\n node.attributes[name] = [currVal];\n }\n node.attributes[name].push(value);\n }\n else {\n node.attributes[name] = value;\n }\n }\n }\n else {\n // Semicolon terminated line\n node[count++] = line;\n }\n }\n }\n return node;\n }\n ;\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: StylizerService, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: StylizerService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: StylizerService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: Document, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }]; } });\n\nvar ClassClassification;\n(function (ClassClassification) {\n ClassClassification[ClassClassification[\"KEEP\"] = 0] = \"KEEP\";\n ClassClassification[ClassClassification[\"ADD\"] = 1] = \"ADD\";\n ClassClassification[ClassClassification[\"REMOVE\"] = 2] = \"REMOVE\";\n})(ClassClassification || (ClassClassification = {}));\n\nclass ClassifyService {\n constructor(document) {\n this.document = document;\n this.mutate = new Subject();\n this.mutated$ = new Subject();\n this.mutateub = this.mutate.pipe(filter(({ record }) => record.type === 'attributes' && record.attributeName === 'class' && !!record.target), debounceTime(2000), switchMap(({ record, overlay, originals }) => this.mapRecord({ record, overlay, originals }).pipe(catchError(e => {\n //console.warn(e);\n return of({ classes: overlay });\n }))), tap(({ classes }) => this.mutated$.next({ classes }))).subscribe();\n }\n classify({ targetNode }) {\n const overlay = new Map();\n const originals = new Map();\n const observer = new MutationObserver((records) => {\n records.forEach(record => {\n this.mutate.next({ record, overlay, originals });\n });\n });\n const observerOptions = { childList: true, attributes: true, subtree: true, attributeFilter: ['class'], attributeOldValue: true };\n observer.observe(targetNode, observerOptions);\n }\n mapRecord({ record, overlay, originals }) {\n return new Observable(obs => {\n const path = domElementPath.default(record.target);\n let rebuiltSelector = '';\n const oldClasses = record.oldValue.split(' ').map(c => c.trim());\n const pieces = path.split(' ');\n const optimizedSelector = pieces.reduce((p, c, i) => c.indexOf('.pane-') !== -1 || c.indexOf('.panel-') !== -1 ? { selector: [...p.selector, c.replace(/^(.*?)(\\.pane-|\\.panel-page|\\.panel-)([0-9]*)(.*?)$/, '$2$3')], chars: p.chars + c.length, lastIndex: p.chars + i + c.length } : { ...p, chars: p.chars + c.length }, { selector: [], chars: 0, lastIndex: 0 });\n if (optimizedSelector.selector.length !== 0) {\n // console.log('after selector', k.slice(optimizedSelector.lastIndex))\n const suffix = path.substring(optimizedSelector.lastIndex).split('>').map(s => s.trim()).filter(s => s !== '').map((s, i) => {\n const dotIndex = s.indexOf('.');\n const element = dotIndex === -1 ? suffix : s.substring(0, dotIndex);\n const classes = dotIndex === -1 ? [] : s.substring(dotIndex + 1).split('.');\n const keep = classes.filter(c => oldClasses.find(oc => c === oc) !== undefined);\n return (i === 0 ? ' > ' : '') + element + (keep.length === 0 ? '' : '.' + keep.join('.'));\n });\n rebuiltSelector = (optimizedSelector.selector.join(' ') + /*' ' +*/ suffix.join(' > ') /*path.slice(optimizedSelector.lastIndex)*/ /*.split('>').join('')*/).replace(/(\\.ng\\-[a-zA-Z0-9_-]*)/gm, '');\n if (rebuiltSelector.indexOf('.panel-page') === 0) {\n rebuiltSelector = rebuiltSelector.substr(12).trim();\n }\n }\n // This is throwing away nested panel pages but still needs to be thought through\n // const rebuiltPieces = rebuiltSelector.split(' ');\n // const [ lastSelector ] = rebuiltPieces[rebuiltPieces.length - 1].split('.', 1);\n // rebuiltSelector = (rebuiltPieces.splice(0, rebuiltPieces.length - 2).join(' ') + ' ' + lastSelector).trim();\n const selectorValid = isSelectorValid({ selector: rebuiltSelector, document: this.document });\n if (selectorValid) {\n if (!originals.has(rebuiltSelector)) {\n originals.set(rebuiltSelector, new Set(oldClasses));\n }\n const classList = record.target.classList;\n // Adding prefix ng - and mat- to exclusion although should probably be more configurable / customizable.\n const classMap = new Map(Array.from(classList.values()).map(c => [`${c}`, !originals.has(rebuiltSelector) || (!originals.get(rebuiltSelector).has(`${c}`) && `${c}`.indexOf('ng-') !== 0 && `${c}`.indexOf('mat-') !== 0) ? ClassClassification.ADD : ClassClassification.KEEP]));\n const removed = Array.from(originals.get(rebuiltSelector)).reduce((p, c) => [Array.from(classList.values()).findIndex(c2 => c2 === c) === -1 ? c : undefined], []).filter(c => c !== undefined);\n if (removed.length !== 0) {\n removed.forEach(c => classMap.set(c, ClassClassification.REMOVE));\n }\n if (classMap.size === 0 && overlay.has(rebuiltSelector)) {\n overlay.delete(rebuiltSelector);\n }\n else if (classMap.size !== 0) {\n overlay.set(rebuiltSelector, classMap);\n }\n obs.next({ classes: overlay });\n obs.complete();\n }\n else {\n obs.error(new Error('Selector invalid \"' + rebuiltSelector + '\"'));\n obs.complete();\n }\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ClassifyService, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ClassifyService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ClassifyService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: Document, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }]; } });\n\n/*\n * Public API Surface of sheath\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { ClassClassification, ClassifyService, SheathModule, StylizerService, isEmpty, isSelectorValid };\n","import * as i16 from '@angular/common';\nimport { isPlatformServer, isPlatformBrowser, DOCUMENT, CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { Directive, PLATFORM_ID, forwardRef, Component, Inject, Input, ViewChild, HostBinding, EventEmitter, Output, ViewChildren, NgModule } from '@angular/core';\nimport * as i2 from '@angular/forms';\nimport { NG_VALUE_ACCESSOR, NG_ASYNC_VALIDATORS, Validators, FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport * as i7 from '@rollthecloudinc/utils';\nimport { UtilsModule } from '@rollthecloudinc/utils';\nimport * as i6 from '@rollthecloudinc/layout';\nimport { GridLayoutComponent, LayoutModule } from '@rollthecloudinc/layout';\nimport * as i14 from '@rollthecloudinc/media';\nimport { MEDIA_SETTINGS } from '@rollthecloudinc/media';\nimport * as i3 from '@rollthecloudinc/context';\nimport { InlineContext } from '@rollthecloudinc/context';\nimport * as i4 from '@rollthecloudinc/panels';\nimport { PanelPageForm, PanelPage, PanelsModule } from '@rollthecloudinc/panels';\nimport { Subject, BehaviorSubject, combineLatest, iif, of, Observable, forkJoin } from 'rxjs';\nimport { tap, filter, debounceTime, distinctUntilChanged, map, switchMap, take, skip, bufferTime, takeUntil, delay, concatMap, catchError, defaultIfEmpty, startWith } from 'rxjs/operators';\nimport * as uuid from 'uuid';\nimport * as i13 from '@rollthecloudinc/sheath';\nimport { ClassClassification, isSelectorValid } from '@rollthecloudinc/sheath';\nimport { camelize } from 'inflected';\nimport merge from 'deepmerge-json';\nimport * as i1 from '@ngrx/store';\nimport * as i5 from '@rollthecloudinc/content';\nimport * as i8 from '@angular/common/http';\nimport * as i9 from '@rollthecloudinc/attributes';\nimport * as i10 from '@rollthecloudinc/crud';\nimport * as i11 from '@ngrx/data';\nimport * as i12 from '@rollthecloudinc/refinery';\nimport * as i15 from '@rollthecloudinc/auth';\nimport * as i1$1 from '@rollthecloudinc/detour';\nimport { InteractionHandlerPlugin } from '@rollthecloudinc/detour';\n\nclass PaneContentHostDirective {\n constructor(viewContainerRef) {\n this.viewContainerRef = viewContainerRef;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PaneContentHostDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: PaneContentHostDirective, selector: \"[classifiedsUiPaneContentHost]\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PaneContentHostDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[classifiedsUiPaneContentHost]'\n }]\n }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });\n\nclass LayoutRendererHostDirective {\n constructor(viewContainerRef) {\n this.viewContainerRef = viewContainerRef;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: LayoutRendererHostDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: LayoutRendererHostDirective, selector: \"[classifiedsUiLayoutRendererHost]\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: LayoutRendererHostDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[classifiedsUiLayoutRendererHost]'\n }]\n }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });\n\nclass PanelPageComponent {\n static { this.registredContextListeners = new Set(); }\n set id(id) {\n this.id$.next(id);\n }\n set panelPage(panelPage) {\n this.panelPage$.next(panelPage);\n }\n set nested(nested) {\n this.nested$.next(nested);\n }\n set contexts(contexts) {\n this.contexts$.next(contexts);\n }\n set ancestory(ancestory) {\n this.ancestory$.next(ancestory);\n }\n set css(css) {\n this.css$.next(css);\n }\n set listeners(listeners) {\n this.listeners$.next(listeners);\n }\n get panelsArray() {\n return this.pageForm.get('panels');\n }\n constructor(platformId, mediaSettings, routerStore, fb, el, inlineContextResolver, \n // private contextManager: ContextManagerService,\n pageBuilderFacade, cpm, cxm, lpm, componentFactoryResolver, styleLoader, \n // I don't feel good about this but f**k it for now til I figure this out\n http, cssHelper, attributeSerializer, formService, panelsContextService, asyncApiCallHelperSvc, crudDataHelperService, entityDefinitionService, ngZone, persistService, stylizerService, classifyService, fileService, authFacade, es) {\n this.platformId = platformId;\n this.mediaSettings = mediaSettings;\n this.routerStore = routerStore;\n this.fb = fb;\n this.el = el;\n this.inlineContextResolver = inlineContextResolver;\n this.pageBuilderFacade = pageBuilderFacade;\n this.cpm = cpm;\n this.cxm = cxm;\n this.lpm = lpm;\n this.componentFactoryResolver = componentFactoryResolver;\n this.styleLoader = styleLoader;\n this.http = http;\n this.cssHelper = cssHelper;\n this.attributeSerializer = attributeSerializer;\n this.formService = formService;\n this.panelsContextService = panelsContextService;\n this.asyncApiCallHelperSvc = asyncApiCallHelperSvc;\n this.crudDataHelperService = crudDataHelperService;\n this.entityDefinitionService = entityDefinitionService;\n this.ngZone = ngZone;\n this.persistService = persistService;\n this.stylizerService = stylizerService;\n this.classifyService = classifyService;\n this.fileService = fileService;\n this.authFacade = authFacade;\n this.resolvedContext = {};\n this.contextsChanged = [];\n this.persistenceEnabled = false;\n this.onInit$ = new Subject();\n this.afterViewInit$ = new Subject();\n this.afterContentInit$ = new Subject();\n this.renderLayout$ = new Subject();\n this.id$ = new BehaviorSubject(undefined);\n this.panelPage$ = new BehaviorSubject(undefined);\n this.nested$ = new BehaviorSubject(false);\n this.ancestory$ = new BehaviorSubject([]);\n this.contexts$ = new BehaviorSubject([]);\n this.instanceUniqueIdentity = uuid.v4();\n this.isStable = false;\n this.managedCssCache = '';\n this.managedClassesCache = {};\n this.filteredListeners = [];\n this.css$ = new BehaviorSubject({ css: this.cssHelper.makeJsonNode(), classes: {} });\n this.cssSub = this.css$.subscribe(css => {\n if (this.nested$.value) {\n console.log('filtered css nested', css);\n }\n this.filteredCss = css;\n });\n this.listeners$ = new BehaviorSubject([]);\n this.listenersSub = this.listeners$.pipe(tap(listeners => {\n this.filteredListeners = listeners;\n })).subscribe();\n this.settingsFormArray = this.fb.array([]);\n this.pageForm = this.fb.group({\n /*name: this.fb.control(''),\n title: this.fb.control(''),\n derivativeId: this.fb.control(''),*/\n panels: this.fb.array([])\n });\n this.bridgeSub = this.pageForm.valueChanges.pipe(filter(() => this.nested$.value), debounceTime(500)).subscribe(v => {\n console.log('write page');\n console.log(v);\n this.settingsFormArray.clear();\n const newGroup = this.attributeSerializer.convertToGroup(this.attributeSerializer.serialize(v, 'value').attributes[0]);\n this.settingsFormArray.push(newGroup);\n console.log(newGroup.value);\n });\n this.idOrPanelPageSub = combineLatest([\n this.id$,\n this.panelPage$\n ]).pipe(distinctUntilChanged(), map(([id, panelPage]) => ({ id, panelPage })), filter(({ id, panelPage }) => !!id || !!panelPage), switchMap(({ id, panelPage }) => iif(() => !id, of({ panelPage }), new Observable(obs => {\n const metadata = this.entityDefinitionService.getDefinition('PanelPage').metadata;\n return this.crudDataHelperService.evaluateCollectionPlugins({ query: `identity=${id}`, plugins: metadata.crud, op: 'query' }).pipe(map(objects => objects && objects.length !== 0 ? objects[0] : undefined), tap(p => {\n obs.next({ panelPage: p });\n obs.complete();\n })).subscribe();\n }))), switchMap(({ panelPage }) => this.cpm.getPlugins(panelPage.panels.reduce((contentPlugins, c) => {\n c.panes.forEach(pane => {\n if (!contentPlugins.includes(pane.contentPlugin)) {\n contentPlugins.push(pane.contentPlugin);\n }\n });\n return contentPlugins;\n }, [])).pipe(map(() => ({ panelPage })))), switchMap(({ panelPage }) => iif(() => !this.nested$.value, \n /*!this.nested ? this.panelsContextService.allActivePageContexts({ panelPage: p }).pipe(\n map(paneContexts => [p, isDynamic, paneContexts])\n ): of([p, isDynamic, []]),*/\n this.panelsContextService.allActivePageContexts({ panelPage }).pipe(map(paneContexts => ({ panelPage, contexts: Array.from(paneContexts) }))), of({ panelPage, contexts: [] }))), \n /*switchMap(({ panelPage, isDynamic }) => this.panelsContextService.allActivePageContexts({ panelPage }).pipe(\n map(paneContexts => ({ panelPage, isDynamic, contexts: Array.from(paneContexts) }))\n )),*/\n tap(({ panelPage, contexts }) => {\n this.hookupFormChange({ panelPage });\n this.populatePanelsFormArray({ panelPage });\n this.panelPageCached = panelPage;\n this.persistenceEnabled = panelPage.persistence && panelPage.persistence.dataduct && panelPage.persistence.dataduct.plugin && panelPage.persistence.dataduct.plugin !== '';\n this.filteredListeners = panelPage.interactions && panelPage.interactions.interactions && panelPage.interactions.interactions.listeners ? panelPage.interactions.interactions.listeners : [];\n this.renderLayout$.next(panelPage);\n // this.panelPage$.next(panelPage);\n this.contexts$.next([...(panelPage.contexts ? panelPage.contexts.map(c => new InlineContext(c)) : []), ...contexts]);\n /*if(!this.nested$.value || isDynamic ) {\n this.hookupContextChange();\n }*/\n this.hookupCss({ file: panelPage.cssFile ? panelPage.cssFile.trim() : undefined });\n console.log(`cached panel page: ${panelPage.id}`);\n })).subscribe();\n this.hookupContextSub = combineLatest(this.contexts$, \n // this.nested$,\n this.afterContentInit$).pipe(\n // filter(([ _, nested ]) => !nested),\n map(([contexts]) => contexts), switchMap(contexts => this.inlineContextResolver.resolveMerged(contexts, `panelpage:${uuid.v4()}`).pipe(switchMap(resolvedContext => this.cxm.getPlugins().pipe(map(plugins => ({ contexts, resolvedContext, globalPlugins: Array.from(plugins.values()).filter(p => p.global === true) })))), take(1))), tap(() => {\n if (this.resolveSub) {\n this.resolveSub.unsubscribe();\n }\n }), tap(({ contexts, resolvedContext, globalPlugins }) => {\n this.resolvedContext = resolvedContext;\n const short$ = new Subject();\n if (isPlatformServer(this.platformId)) {\n const interval = setInterval(() => {\n if (PanelPageComponent.registredContextListeners.size === 0) {\n short$.next();\n short$.complete();\n clearInterval(interval);\n }\n }, 1000);\n }\n this.resolveSub = this.inlineContextResolver.resolveMergedSingle(contexts).pipe(skip(globalPlugins.length + (contexts ? contexts.length : 0)), tap(() => PanelPageComponent.registredContextListeners.add(this.instanceUniqueIdentity)), tap(v => console.log('buffer', v)), bufferTime(1), tap(buffered => {\n if (buffered.length === 0) {\n PanelPageComponent.registredContextListeners.delete(this.instanceUniqueIdentity);\n }\n }), filter(buffered => buffered.length !== 0), tap(buffered => {\n this.contextsChanged = buffered.reduce((p, [cName, _]) => [...p, ...(p.includes(cName) ? [] : [cName])], []);\n this.resolvedContext = buffered.reduce((p, [cName, cValue]) => ({ ...p, [cName]: cValue }), this.resolvedContext);\n }), tap(() => PanelPageComponent.registredContextListeners.delete(this.instanceUniqueIdentity)), isPlatformServer(this.platformId) ? takeUntil(short$) : tap(() => { })).subscribe();\n })).subscribe();\n this.renderLayoutSub = combineLatest([\n this.renderLayout$,\n this.afterViewInit$\n ]).pipe(delay(1), map(([panelPage]) => ({ panelPage })), switchMap(({ panelPage }) => this.lpm.getPlugin(panelPage.layoutType).pipe(map(plugin => ({ panelPage, plugin })))), tap(() => console.log('start render layout')), map(({ plugin, panelPage }) => ({ panelPage, plugin, viewContainerRef: this.layoutRendererHost.viewContainerRef })), tap(({ viewContainerRef }) => viewContainerRef.clear()), map(({ plugin, viewContainerRef, panelPage }) => ({ panelPage, layoutRendererRef: viewContainerRef.createComponent(plugin.renderer) })), tap(({ layoutRendererRef }) => this.layoutRendererRef = layoutRendererRef), tap(({ layoutRendererRef, panelPage }) => {\n layoutRendererRef.instance.renderPanelTpl = this.renderPanelTpl;\n layoutRendererRef.instance.panelPage = panelPage;\n }), tap(() => console.log('end render layout'))).subscribe();\n this.stylizerSub = this.afterViewInit$.pipe(\n //filter(() => false), // @tofo: Note ready for prime time just yet.\n filter(() => isPlatformBrowser(this.platformId)), tap(() => {\n this.stylizerService.stylize({ targetNode: this.el.nativeElement });\n })).subscribe();\n this.classifySub = this.afterViewInit$.pipe(\n //filter(() => false), // @tofo: Note ready for prime time just yet.\n filter(() => isPlatformBrowser(this.platformId)), tap(() => {\n this.classifyService.classify({ targetNode: this.el.nativeElement });\n })).subscribe();\n this.stylizerMutatedSub = !isPlatformBrowser(this.platformId) ? undefined : this.stylizerService.mutated$.pipe(debounceTime(2000), skip(1), switchMap(({ stylesheet }) => this.authFacade.getUser$.pipe(map(u => ({ stylesheet, isAuthenticated: !!u })) // No sheath asset uploads are attempted unless user is at least authenticated.\n )), filter(({ isAuthenticated }) => isAuthenticated), tap(({ stylesheet }) => {\n console.log('merged css', stylesheet);\n }), filter(() => !!this.panelPageCached && !!this.panelPageCached.id), \n // filter(() => false), // @tofo: Note ready for prime time just yet.\n switchMap(({ stylesheet }) => this.isStable ? of({ stylesheet }) : this.ngZone.onStable.asObservable().pipe(map(() => ({ stylesheet })), take(1))), map(({ stylesheet }) => ({ stylesheet: (this.managedCssCache && this.managedCssCache.trim() !== '' ? this.managedCssCache + \"\\n\" : '') + stylesheet })), concatMap(({ stylesheet }) => this.fileService.bulkUpload({ nocache: true, files: [new File([stylesheet], `panelpage__${this.panelPageCached.id}.css`)], fileNameOverride: `panelpage__${this.panelPageCached.id}.css` })), tap(() => {\n console.log('stylesheet saved.');\n })).subscribe();\n this.classifyMutatedSub = !isPlatformBrowser(this.platformId) ? undefined : this.classifyService.mutated$.pipe(debounceTime(2000), skip(1), switchMap(({ classes }) => this.authFacade.getUser$.pipe(// No sheath asset uploads are attempted unless user is at least authenticated.\n map(u => ({ classes, isAuthenticated: !!u })))), filter(({ isAuthenticated }) => isAuthenticated), tap(({ classes }) => {\n console.log('merged classes', classes);\n }), filter(() => !!this.panelPageCached && !!this.panelPageCached.id), \n // filter(() => false), // @tofo: Note ready for prime time just yet.\n switchMap(({ classes }) => this.isStable ? of({ classes }) : this.ngZone.onStable.asObservable().pipe(map(() => ({ classes })), take(1))), map(({ classes }) => ({ classes: Array.from(classes.keys()).reduce((p, k) => ({ ...p, [k]: Array.from(classes.get(k).keys()).filter(k2 => classes.get(k).get(k2) !== ClassClassification.KEEP).reduce((p2, k2) => ({ ...p2, [k2]: classes.get(k).get(k2) }), {}) }), {}) })), map(({ classes }) => ({ classes: merge(this.managedClassesCache, classes) })), map(({ classes }) => ({ json: JSON.stringify(classes) })), concatMap(({ json }) => this.fileService.bulkUpload({ nocache: true, files: [new File([json], `panelpage__${this.panelPageCached.id}__classes.json`)], fileNameOverride: `panelpage__${this.panelPageCached.id}__classes.json` })), tap(() => {\n console.log('classes saved.');\n })).subscribe();\n this.onStableSub = this.ngZone.onStable.asObservable().pipe(tap(() => this.isStable = true)).subscribe();\n this.onUnstableSub = this.ngZone.onUnstable.asObservable().pipe(tap(() => this.isStable = false)).subscribe();\n this.onTouched = () => { };\n this.panelPageService = es.getEntityCollectionService('PanelPage');\n this.panelPageFormService = es.getEntityCollectionService('PanelPageForm');\n this.panelPageStateService = es.getEntityCollectionService('PanelPageState');\n }\n ngOnInit() {\n this.onInit$.next(undefined);\n }\n ngAfterViewInit() {\n this.afterViewInit$.next(undefined);\n }\n ngAfterContentInit() {\n this.afterContentInit$.next(undefined);\n }\n ngOnDestroy() {\n PanelPageComponent.registredContextListeners.delete(this.instanceUniqueIdentity);\n }\n populatePanelsFormArray({ panelPage }) {\n this.panelsArray.clear();\n panelPage.panels.forEach(() => {\n this.panelsArray.push(this.fb.control(''));\n });\n }\n hookupFormChange({ panelPage }) {\n this.pageForm.valueChanges.pipe(debounceTime(100), filter(() => panelPage !== undefined && panelPage.displayType === 'form')).subscribe(v => {\n const form = new PanelPageForm({ ...v, name: panelPage.name, title: panelPage.title, derivativeId: panelPage.id });\n this.pageBuilderFacade.setForm(panelPage.name, form);\n });\n }\n hookupCss({ file }) {\n forkJoin([\n /*this.http.get<JSONNode>(file).pipe(\n catchError(() => of(undefined)),\n defaultIfEmpty(undefined)\n ),*/\n of(undefined),\n // Disable this for now since 400s have negative impact on page scoring\n /*this.panelPageCached.id ? this.http.get<JSONNode>(`${this.mediaSettings.imageUrl}/media/panelpage__${this.panelPageCached.id}.css.json`).pipe(\n catchError(() => of(undefined)),\n defaultIfEmpty(undefined)\n ) : of(undefined),*/\n of(undefined),\n // Disable this for now since 400s have negative impact on page scoring\n /*\n this.panelPageCached.id ? this.http.get<JSONNode>(`${this.mediaSettings.imageUrl}/media/panelpage__${this.panelPageCached.id}.css`).pipe(\n catchError(() => of(undefined)),\n defaultIfEmpty(undefined)\n ) : of(undefined),*/\n of(undefined),\n this.panelPageCached.id ? this.http.get(`${this.mediaSettings.imageUrl}/media/panelpage__${this.panelPageCached.id}__classes.json`).pipe(catchError(() => of(undefined)), defaultIfEmpty(undefined)) : of(undefined),\n ]).pipe(tap(([cssFile, managedCss, managedCssRaw, classes]) => {\n console.log('fetched managed panelpage css and class files');\n let css = {};\n this.managedCssCache = '';\n this.managedClassesCache = classes;\n if (cssFile) {\n css = merge(css, cssFile);\n }\n if (managedCss) {\n this.managedCssCache = managedCssRaw;\n css = merge(css, managedCss);\n }\n this.filteredCss = { css, classes };\n })).subscribe();\n /*\n this.http.get<JSONNode>(file).subscribe(css => {\n this.filteredCss = css; //css.styles; - only for sheath\n });*/\n }\n submit() {\n if (this.pageForm.valid) {\n const panelPageForm = new PanelPageForm({ ...this.pageForm.value });\n const data = this.formService.serializeForm(panelPageForm);\n console.log(panelPageForm);\n console.log(this.formService.serializeForm(panelPageForm));\n /*this.panelPageFormService.add(panelPageForm).subscribe(() => {\n alert('panel page form added!');\n });*/\n console.log('form data', data);\n this.persistService.persist({ data, persistence: this.panelPageCached.persistence }).subscribe(() => {\n console.log('persisted data');\n });\n ;\n }\n else {\n console.log('detected form invalid');\n }\n // Currently PanelPageState ONLY uses the cache because noop data service is used. That has to change...\n // Experimental only - state forms\n /*const selectEntities = (entities: EntityCollection<PanelPageState>) => entities.entities;\n const selectById = ({ id }: { id: string }) => createSelector(\n selectEntities,\n entities => entities[id] ? entities[id] : undefined\n );\n this.pageBuilderFacade.getPageInfo$.pipe(\n tap(p => {\n console.log('page info', p);\n // console.log('panel page as form', new PanelPageForm({ panels: this.panelPage.panels.map() }));\n }),\n switchMap(p => this.panelPageStateService.collection$.pipe(\n select(selectById({ id: p.id }))\n )),\n tap(s => {\n console.log('panel page state', s);\n })\n ).subscribe();*/\n }\n writeValue(val) {\n if (val) {\n this.settingsFormArray.setValue(val, { emitEvent: false });\n }\n }\n registerOnChange(fn) {\n this.settingsFormArray.valueChanges.subscribe(fn);\n }\n registerOnTouched(fn) {\n this.onTouched = fn;\n }\n setDisabledState(isDisabled) {\n if (isDisabled) {\n this.settingsFormArray.disable();\n }\n else {\n this.settingsFormArray.enable();\n }\n }\n validate(c) {\n /*return this.settingsFormArray.statusChanges.pipe(\n startWith(this.settingsFormArray.status), // start with the current form status\n filter((status) => status === 'VALID'),\n map(() => null),\n timeout(1000),\n catchError(() => of({ invalidForm: {valid: false, message: \"content is invalid\"}})),\n first()\n );*/\n return this.settingsFormArray.statusChanges.pipe(startWith(this.settingsFormArray.status), // start with the current form status\n filter((status) => status !== 'PENDING'), debounceTime(1), take(1), // We only want one emit after status changes from PENDING\n map((status) => {\n return this.settingsFormArray.valid ? null : { invalidForm: { valid: false, message: \"content is invalid\" } }; // I actually loop through the form and collect the errors, but for validity just return this works fine\n }));\n // return of(this.settingsFormArray.valid ? null : { invalidForm: {valid: false, message: \"content is invalid\"}});\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelPageComponent, deps: [{ token: PLATFORM_ID }, { token: MEDIA_SETTINGS }, { token: i1.Store }, { token: i2.UntypedFormBuilder }, { token: i0.ElementRef }, { token: i3.InlineContextResolverService }, { token: i4.PageBuilderFacade }, { token: i5.ContentPluginManager }, { token: i3.ContextPluginManager }, { token: i6.LayoutPluginManager }, { token: i0.ComponentFactoryResolver }, { token: i7.StyleLoaderService }, { token: i8.HttpClient }, { token: i4.CssHelperService }, { token: i9.AttributeSerializerService }, { token: i4.FormService }, { token: i4.PanelsContextService }, { token: i7.AsyncApiCallHelperService }, { token: i10.CrudDataHelperService }, { token: i11.EntityDefinitionService }, { token: i0.NgZone }, { token: i12.PersistService }, { token: i13.StylizerService }, { token: i13.ClassifyService }, { token: i14.FilesService }, { token: i15.AuthFacade }, { token: i11.EntityServices }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: PanelPageComponent, selector: \"classifieds-ui-panel-page\", inputs: { id: \"id\", panelPage: \"panelPage\", nested: \"nested\", contexts: \"contexts\", ancestory: \"ancestory\", css: \"css\", listeners: \"listeners\", resolvedContext: \"resolvedContext\" }, host: { properties: { \"class.panel-page\": \"true\" } }, providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => PanelPageComponent),\n multi: true\n },\n /*{\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => PanelPageComponent),\n multi: true\n },*/\n {\n provide: NG_ASYNC_VALIDATORS,\n useExisting: forwardRef(() => PanelPageComponent),\n multi: true\n }\n ], viewQueries: [{ propertyName: \"gridLayout\", first: true, predicate: GridLayoutComponent, descendants: true }, { propertyName: \"renderPanelTpl\", first: true, predicate: [\"renderPanelTpl\"], descendants: true, static: true }, { propertyName: \"layoutRendererHost\", first: true, predicate: LayoutRendererHostDirective, descendants: true }], ngImport: i0, template: \"\\n<div [formGroup]=\\\"pageForm\\\">\\n <ng-container><ng-template classifiedsUiLayoutRendererHost></ng-template></ng-container>\\n</div>\\n\\n<button *ngIf=\\\"persistenceEnabled\\\" type=\\\"button\\\" (click)=\\\"submit()\\\">Submit</button>\\n\\n<ng-template #renderPanelTpl let-i=\\\"i\\\">\\n <ng-container [formGroup]=\\\"pageForm\\\">\\n <ng-container formArrayName=\\\"panels\\\">\\n <classifieds-ui-render-panel [formControlName]=\\\"i\\\" [panel]=\\\"panelPageCached.panels[i]\\\" [nested]=\\\"nested$.value\\\" [contexts]=\\\"contexts$.value\\\" [resolvedContext]=\\\"resolvedContext\\\" [contextsChanged]=\\\"contextsChanged\\\" [displayType]=\\\"panelPageCached.displayType\\\" [indexPosition]=\\\"i\\\" [css]=\\\"filteredCss\\\" [listeners]=\\\"filteredListeners\\\" [ancestory]=\\\"ancestory$.value\\\"></classifieds-ui-render-panel>\\n </ng-container>\\n </ng-container>\\n</ng-template>\\n\", styles: [\":host ::ng-deep gridster{background-color:#fff}:host ::ng-deep gridster-item{background-color:#fff}\\n\"], dependencies: [{ kind: \"directive\", type: i0.forwardRef(function () { return i16.NgIf; }), selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i0.forwardRef(function () { return i2.NgControlStatus; }), selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i0.forwardRef(function () { return i2.NgControlStatusGroup; }), selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i0.forwardRef(function () { return i2.FormGroupDirective; }), selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i0.forwardRef(function () { return i2.FormControlName; }), selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"directive\", type: i0.forwardRef(function () { return i2.FormArrayName; }), selector: \"[formArrayName]\", inputs: [\"formArrayName\"] }, { kind: \"component\", type: i0.forwardRef(function () { return RenderPanelComponent; }), selector: \"classifieds-ui-render-panel\", inputs: [\"panel\", \"contexts\", \"nested\", \"displayType\", \"resolvedContext\", \"contextChanged\", \"contextsChanged\", \"indexPosition\", \"ancestory\", \"css\", \"listeners\"], outputs: [\"heightChange\"] }, { kind: \"directive\", type: i0.forwardRef(function () { return LayoutRendererHostDirective; }), selector: \"[classifiedsUiLayoutRendererHost]\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelPageComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-panel-page', host: {\n '[class.panel-page]': 'true'\n }, providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => PanelPageComponent),\n multi: true\n },\n /*{\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => PanelPageComponent),\n multi: true\n },*/\n {\n provide: NG_ASYNC_VALIDATORS,\n useExisting: forwardRef(() => PanelPageComponent),\n multi: true\n }\n ], template: \"\\n<div [formGroup]=\\\"pageForm\\\">\\n <ng-container><ng-template classifiedsUiLayoutRendererHost></ng-template></ng-container>\\n</div>\\n\\n<button *ngIf=\\\"persistenceEnabled\\\" type=\\\"button\\\" (click)=\\\"submit()\\\">Submit</button>\\n\\n<ng-template #renderPanelTpl let-i=\\\"i\\\">\\n <ng-container [formGroup]=\\\"pageForm\\\">\\n <ng-container formArrayName=\\\"panels\\\">\\n <classifieds-ui-render-panel [formControlName]=\\\"i\\\" [panel]=\\\"panelPageCached.panels[i]\\\" [nested]=\\\"nested$.value\\\" [contexts]=\\\"contexts$.value\\\" [resolvedContext]=\\\"resolvedContext\\\" [contextsChanged]=\\\"contextsChanged\\\" [displayType]=\\\"panelPageCached.displayType\\\" [indexPosition]=\\\"i\\\" [css]=\\\"filteredCss\\\" [listeners]=\\\"filteredListeners\\\" [ancestory]=\\\"ancestory$.value\\\"></classifieds-ui-render-panel>\\n </ng-container>\\n </ng-container>\\n</ng-template>\\n\", styles: [\":host ::ng-deep gridster{background-color:#fff}:host ::ng-deep gridster-item{background-color:#fff}\\n\"] }]\n }], ctorParameters: function () { return [{ type: Object, decorators: [{\n type: Inject,\n args: [PLATFORM_ID]\n }] }, { type: i14.MediaSettings, decorators: [{\n type: Inject,\n args: [MEDIA_SETTINGS]\n }] }, { type: i1.Store }, { type: i2.UntypedFormBuilder }, { type: i0.ElementRef }, { type: i3.InlineContextResolverService }, { type: i4.PageBuilderFacade }, { type: i5.ContentPluginManager }, { type: i3.ContextPluginManager }, { type: i6.LayoutPluginManager }, { type: i0.ComponentFactoryResolver }, { type: i7.StyleLoaderService }, { type: i8.HttpClient }, { type: i4.CssHelperService }, { type: i9.AttributeSerializerService }, { type: i4.FormService }, { type: i4.PanelsContextService }, { type: i7.AsyncApiCallHelperService }, { type: i10.CrudDataHelperService }, { type: i11.EntityDefinitionService }, { type: i0.NgZone }, { type: i12.PersistService }, { type: i13.StylizerService }, { type: i13.ClassifyService }, { type: i14.FilesService }, { type: i15.AuthFacade }, { type: i11.EntityServices }]; }, propDecorators: { id: [{\n type: Input\n }], panelPage: [{\n type: Input\n }], nested: [{\n type: Input\n }], contexts: [{\n type: Input\n }], ancestory: [{\n type: Input\n }], css: [{\n type: Input\n }], listeners: [{\n type: Input\n }], resolvedContext: [{\n type: Input\n }], gridLayout: [{\n type: ViewChild,\n args: [GridLayoutComponent, { static: false }]\n }], renderPanelTpl: [{\n type: ViewChild,\n args: ['renderPanelTpl', { static: true }]\n }], layoutRendererHost: [{\n type: ViewChild,\n args: [LayoutRendererHostDirective, { static: false }]\n }] } });\n/**\n * Putting render pane inside the same file is a documented work around for the\n * below angular partial compilation issue.\n *\n * https://angular.io/errors/NG3003\n */\nclass RenderPaneComponent {\n set resolvedContext(resolvedContext) {\n this.resolvedContext$.next(resolvedContext);\n }\n set css(css) {\n this.css$.next(css);\n }\n set listeners(listeners) {\n this.listeners$.next(listeners);\n }\n get indexPositionClass() {\n return `pane-${this.indexPosition}`;\n }\n get dynamicPanel() {\n return new PanelPage(this.resolvedContext._root);\n }\n constructor(document, platformId, el, renderer2, componentFactoryResolver, panelHandler, fb, cpm, cssHelper, paneStateService, es) {\n this.document = document;\n this.platformId = platformId;\n this.el = el;\n this.renderer2 = renderer2;\n this.componentFactoryResolver = componentFactoryResolver;\n this.panelHandler = panelHandler;\n this.fb = fb;\n this.cpm = cpm;\n this.cssHelper = cssHelper;\n this.paneStateService = paneStateService;\n this.settings = [];\n this.ancestory = [];\n this.panes = [];\n this.originPanes = [];\n this.afterContentInit$ = new Subject();\n this.resolvedContext$ = new BehaviorSubject({});\n this.schedulePluginChange = new Subject();\n this.ancestoryWithSelf = [];\n this.filteredListeners = [];\n this.css$ = new BehaviorSubject({\n css: this.cssHelper.makeJsonNode(),\n classes: {}\n });\n this.cssSub = combineLatest([\n this.css$,\n this.afterContentInit$,\n this.schedulePluginChange\n ]).pipe(map(([s]) => s), map(s => ({ css: this.cssHelper.reduceCss(s.css, `.pane-${this.indexPosition}`), classes: this.cssHelper.reduceSelector(s.classes, `.pane-${this.indexPosition}`) })), map(({ css, classes }) => [\n this.cssHelper.reduceCss(css, '.panel-page', false),\n this.cssHelper.reduceCss(css, '.panel-page'),\n this.cssHelper.reduceSelector(classes, '.panel-page', false),\n this.cssHelper.reduceSelector(classes, '.panel-page')\n ]), tap(([_, nestedCss, __, nestedClasses]) => this.filteredCss = { css: nestedCss, classes: nestedClasses }), map(([css, _, classes, __]) => ({ css, classes })), map(({ css, classes }) => {\n const rebuiltCss = Object.keys(css.children).reduce((p, c) => ({ ...p, ...(c.indexOf('>') === 0 ? { [this.ancestoryWithSelf.map((v, k) => (k + 1) % 2 === 0 ? `.pane-${v}` : `.panel-${v}`).join(' ') + ' ' + c]: classes[c] } : { [c]: classes[c] }) }), {});\n const rebuiltClasses = Object.keys(classes).reduce((p, c) => ({ ...p, ...(c.indexOf('>') === 0 ? { [this.ancestoryWithSelf.map((v, k) => (k + 1) % 2 === 0 ? `.pane-${v}` : `.panel-${v}`).join(' ') + ' ' + c]: classes[c] } : { [c]: classes[c] }) }), {});\n return { css: { children: rebuiltCss }, classes: rebuiltClasses };\n }), delay(500)).subscribe(({ css, classes }) => {\n console.log('reduced classes', classes);\n const keys = Object.keys(css.children).filter(k => k === '' || isSelectorValid({ selector: k, document: this.document }));\n const classKeys = Object.keys(classes).filter(k => k === '' || isSelectorValid({ selector: k, document: this.document }));\n classKeys.forEach((k, keyIndex) => {\n const matchedNodes = k === '' ? [this.el.nativeElement] : k.indexOf('>') !== -1 ? this.document.querySelectorAll(k) : this.el.nativeElement.querySelectorAll(k);\n const len = matchedNodes.length;\n for (let i = 0; i < len; i++) {\n const c = classes[classKeys[keyIndex]];\n const cKeys = Object.keys(c);\n const cLen = cKeys.length;\n for (let j = 0; j < cLen; j++) {\n if (matchedNodes[i]) {\n if (c[cKeys[j]] === ClassClassification.REMOVE) {\n console.log(`remove class ${cKeys[j]}`);\n this.renderer2.removeClass(matchedNodes[i], cKeys[j]);\n }\n else {\n console.log(`add class ${cKeys[j]}`);\n this.renderer2.addClass(matchedNodes[i], cKeys[j]);\n }\n }\n }\n }\n });\n keys.forEach(k => {\n console.log(`search: ${k}`);\n const matchedNodes = k === '' ? [this.el.nativeElement] : k.indexOf('>') !== -1 ? this.document.querySelectorAll(k) : this.el.nativeElement.querySelectorAll(k);\n const len = matchedNodes.length;\n const rules = Object.keys(css.children[k].attributes);\n for (let i = 0; i < len; i++) {\n if (matchedNodes[i]) {\n rules.forEach(p => {\n console.log(`${k} { ${p}: ${css.children[k].attributes[p]}; }`);\n const prop = camelize(p.replace('-', '_'), false); // @todo: Not working for custom sheet \n this.renderer2.setStyle(matchedNodes[i], /*p*/ prop, css.children[k].attributes[p]);\n });\n }\n }\n });\n });\n this.listeners$ = new BehaviorSubject([]);\n this.listenersSub = combineLatest([\n this.listeners$,\n this.schedulePluginChange\n ]).pipe(map(([l]) => l), tap(listeners => {\n console.log('pane listeners', listeners);\n })).subscribe();\n this.paneForm = this.fb.group({\n contentPlugin: this.fb.control('', Validators.required),\n name: this.fb.control(''),\n label: this.fb.control(''),\n settings: this.fb.control('')\n });\n this.paneFormSub = this.paneForm.valueChanges.subscribe(v => {\n console.log(`pane form value plugin: ${this.pluginName}`);\n console.log(v);\n });\n this.scheduleStateChange$ = new Subject();\n this.scheduleStateChangeSub = this.scheduleStateChange$.pipe(switchMap(({ state }) => this.paneStateService.mergeState({ state, ancestory: [...this.ancestoryWithSelf], settings: this.settings, plugin: this.contentPlugin }))).subscribe(({ pageState }) => {\n this.panelPageStateService.upsert(pageState);\n });\n this.onTouched = () => { };\n // private contentPlugins: Array<ContentPlugin> = [];\n this.pluginChangeSub = this.schedulePluginChange.pipe(filter(() => this.pluginName && this.pluginName !== null && this.pluginName !== ''), switchMap(() => this.cpm.getPlugin(this.pluginName))).subscribe(p => {\n this.contentPlugin = p;\n this.paneForm.get('contentPlugin').setValue(p.name);\n this.paneForm.get('name').setValue(this.name);\n this.paneForm.get('label').setValue(this.label);\n if (this.pluginName === 'panel') {\n //console.log('resolve nested panel page');\n this.resolveNestedPanelPage();\n }\n else {\n this.renderPaneContent();\n }\n });\n this.embedPanelSub = this.resolvedContext$.pipe(map((rc) => {\n if (rc && rc._root && !this.linkedPageId && this.settings.length === 0) {\n this.embedPanel = new PanelPage(rc._root);\n }\n })).subscribe();\n this.panelPageStateService = es.getEntityCollectionService('PanelPageState');\n // this.contentPlugins = contentPlugins;\n }\n ngOnInit() {\n this.ancestoryWithSelf = [...(this.ancestory ? this.ancestory : []), ...(this.indexPosition !== undefined && this.indexPosition !== null ? [this.indexPosition] : [])];\n this.schedulePluginChange.next(undefined);\n /*this.contentPlugin = this.contentPlugins.find(p => p.name === this.pluginName);\n this.paneForm.get('contentPlugin').setValue(this.contentPlugin.name);\n this.paneForm.get('name').setValue(this.name);\n this.paneForm.get('label').setValue(this.label);\n if(this.pluginName === 'panel') {\n //console.log('resolve nested panel page');\n this.resolveNestedPanelPage();\n } else {\n this.renderPaneContent();\n }*/\n }\n ngOnChanges(changes) {\n if (changes.ancestory || changes.indexPosition) {\n const ancestoryWithSelf = [...(changes.ancestory.currentValue ? changes.ancestory.currentValue : this.ancestory ? this.ancestory : []), ...(changes.indexPosition.currentValue !== undefined && changes.indexPosition.currentValue !== null ? [changes.indexPosition.currentValue] : this.indexPosition ? [this.indexPosition] : [])];\n if (ancestoryWithSelf.length !== this.ancestoryWithSelf.length || this.ancestoryWithSelf.filter((n, index) => ancestoryWithSelf[index] !== n).length !== 0) {\n this.ancestoryWithSelf = ancestoryWithSelf;\n }\n }\n this.schedulePluginChange.next(undefined);\n /*this.contentPlugin = this.contentPlugins.find(p => p.name === this.pluginName);\n this.paneForm.get('contentPlugin').setValue(this.contentPlugin.name);\n this.paneForm.get('name').setValue(this.name);\n this.paneForm.get('label').setValue(this.label);\n if(this.pluginName === 'panel') {\n //console.log('resolve nested panel page');\n this.resolveNestedPanelPage();\n } else {\n this.renderPaneContent();\n }*/\n }\n ngAfterContentInit() {\n this.afterContentInit$.next(undefined);\n }\n writeValue(val) {\n if (val) {\n this.paneForm.setValue(val, { emitEvent: false });\n }\n }\n registerOnChange(fn) {\n this.paneForm.valueChanges.subscribe(fn);\n }\n registerOnTouched(fn) {\n this.onTouched = fn;\n }\n setDisabledState(isDisabled) {\n if (isDisabled) {\n this.paneForm.disable();\n }\n else {\n this.paneForm.enable();\n }\n }\n validate(c) {\n /*return this.paneForm.statusChanges.pipe(\n startWith(this.paneForm.status), // start with the current form status\n filter((status) => status === 'VALID'),\n map(() => null),\n timeout(1000),\n catchError(() => of({ invalidForm: { invalidForm: {valid: false, message: \"pane is invalid\"}}})),\n first()\n );*/\n return this.paneForm.statusChanges.pipe(startWith(this.paneForm.status), // start with the current form status\n filter((status) => status !== 'PENDING'), debounceTime(1), take(1), // We only want one emit after status changes from PENDING\n map((status) => {\n return this.paneForm.valid ? null : { invalidForm: { invalidForm: { valid: false, message: \"pane is invalid\" } } }; // I actually loop through the form and collect the errors, but for validity just return this works fine\n }));\n }\n resolveNestedPanelPage() {\n this.panelHandler.toObject(this.settings).subscribe(p => {\n this.panelPage = new PanelPage({ ...p, contexts: this.contexts });\n });\n }\n renderPaneContent() {\n const componentFactory = this.componentFactoryResolver.resolveComponentFactory(this.contentPlugin.renderComponent);\n const viewContainerRef = this.contentPaneHost.viewContainerRef;\n viewContainerRef.clear();\n this.componentRef = viewContainerRef.createComponent(componentFactory);\n this.componentRef.instance.settings = this.settings;\n this.componentRef.instance.name = this.name;\n this.componentRef.instance.label = this.label;\n this.componentRef.instance.panes = this.panes;\n this.componentRef.instance.originPanes = this.originPanes;\n this.componentRef.instance.contexts = this.contexts.map(c => new InlineContext(c));\n this.componentRef.instance.displayType = this.displayType;\n this.componentRef.instance.resolvedContext = this.resolvedContext$.value;\n this.componentRef.instance.ancestory = this.ancestoryWithSelf;\n if (this.componentRef.instance.state && this.contentPlugin.handler) {\n this.contentPlugin.handler.stateDefinition(this.settings).pipe(take(1)).subscribe(s => {\n this.componentRef.instance.state = s ? s : {};\n });\n }\n if (this.componentRef.instance.stateChange) {\n this.componentRef.instance.stateChange.subscribe(state => {\n this.scheduleStateChange$.next({ state });\n });\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RenderPaneComponent, deps: [{ token: DOCUMENT }, { token: PLATFORM_ID }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ComponentFactoryResolver }, { token: i4.PanelContentHandler }, { token: i2.UntypedFormBuilder }, { token: i5.ContentPluginManager }, { token: i4.CssHelperService }, { token: i4.PaneStateService }, { token: i11.EntityServices }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: RenderPaneComponent, selector: \"classifieds-ui-render-pane\", inputs: { pluginName: \"pluginName\", settings: \"settings\", linkedPageId: \"linkedPageId\", contexts: \"contexts\", originPane: \"originPane\", displayType: \"displayType\", name: \"name\", label: \"label\", indexPosition: \"indexPosition\", ancestory: \"ancestory\", panes: \"panes\", originPanes: \"originPanes\", resolvedContext: \"resolvedContext\", css: \"css\", listeners: \"listeners\" }, host: { properties: { \"class.pane\": \"true\", \"attr.data-index\": \"indexPosition\", \"class\": \"this.indexPositionClass\" } }, providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => RenderPaneComponent),\n multi: true\n },\n /*{\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => RenderPaneComponent),\n multi: true\n },*/\n {\n provide: NG_ASYNC_VALIDATORS,\n useExisting: forwardRef(() => RenderPaneComponent),\n multi: true\n }\n ], viewQueries: [{ propertyName: \"contentPaneHost\", first: true, predicate: PaneContentHostDirective, descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: \"<div fxFlex [formGroup]=\\\"paneForm\\\">\\n <ng-container><ng-template classifiedsUiPaneContentHost></ng-template></ng-container>\\n <classifieds-ui-panel-page fxFlex *ngIf=\\\"pluginName == 'panel' && !linkedPageId && settings.length !== 0\\\" [panelPage]=\\\"panelPage\\\" [nested]=\\\"true\\\" [contexts]=\\\"contexts\\\" [css]=\\\"filteredCss\\\" [listeners]=\\\"filteredListeners\\\" formControlName=\\\"settings\\\" [ancestory]=\\\"ancestoryWithSelf\\\"></classifieds-ui-panel-page>\\n <classifieds-ui-panel-page fxFlex *ngIf=\\\"pluginName == 'panel' && linkedPageId\\\" [id]=\\\"linkedPageId\\\" [nested]=\\\"true\\\" [contexts]=\\\"contexts\\\" formControlName=\\\"settings\\\" [ancestory]=\\\"ancestoryWithSelf\\\"></classifieds-ui-panel-page>\\n <classifieds-ui-panel-page fxFlex *ngIf=\\\"pluginName == 'panel' && !linkedPageId && settings.length === 0\\\" [panelPage]=\\\"embedPanel\\\" [nested]=\\\"true\\\" [contexts]=\\\"contexts\\\" formControlName=\\\"settings\\\" [css]=\\\"filteredCss\\\" [listeners]=\\\"filteredListeners\\\" [ancestory]=\\\"ancestoryWithSelf\\\"></classifieds-ui-panel-page>\\n</div>\\n\", styles: [\":host{height:100%}\\n\"], dependencies: [{ kind: \"directive\", type: i16.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i2.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i2.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i2.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i2.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"directive\", type: PaneContentHostDirective, selector: \"[classifiedsUiPaneContentHost]\" }, { kind: \"component\", type: PanelPageComponent, selector: \"classifieds-ui-panel-page\", inputs: [\"id\", \"panelPage\", \"nested\", \"contexts\", \"ancestory\", \"css\", \"listeners\", \"resolvedContext\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RenderPaneComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-render-pane', providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => RenderPaneComponent),\n multi: true\n },\n /*{\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => RenderPaneComponent),\n multi: true\n },*/\n {\n provide: NG_ASYNC_VALIDATORS,\n useExisting: forwardRef(() => RenderPaneComponent),\n multi: true\n }\n ], host: {\n '[class.pane]': 'true',\n '[attr.data-index]': 'indexPosition'\n }, template: \"<div fxFlex [formGroup]=\\\"paneForm\\\">\\n <ng-container><ng-template classifiedsUiPaneContentHost></ng-template></ng-container>\\n <classifieds-ui-panel-page fxFlex *ngIf=\\\"pluginName == 'panel' && !linkedPageId && settings.length !== 0\\\" [panelPage]=\\\"panelPage\\\" [nested]=\\\"true\\\" [contexts]=\\\"contexts\\\" [css]=\\\"filteredCss\\\" [listeners]=\\\"filteredListeners\\\" formControlName=\\\"settings\\\" [ancestory]=\\\"ancestoryWithSelf\\\"></classifieds-ui-panel-page>\\n <classifieds-ui-panel-page fxFlex *ngIf=\\\"pluginName == 'panel' && linkedPageId\\\" [id]=\\\"linkedPageId\\\" [nested]=\\\"true\\\" [contexts]=\\\"contexts\\\" formControlName=\\\"settings\\\" [ancestory]=\\\"ancestoryWithSelf\\\"></classifieds-ui-panel-page>\\n <classifieds-ui-panel-page fxFlex *ngIf=\\\"pluginName == 'panel' && !linkedPageId && settings.length === 0\\\" [panelPage]=\\\"embedPanel\\\" [nested]=\\\"true\\\" [contexts]=\\\"contexts\\\" formControlName=\\\"settings\\\" [css]=\\\"filteredCss\\\" [listeners]=\\\"filteredListeners\\\" [ancestory]=\\\"ancestoryWithSelf\\\"></classifieds-ui-panel-page>\\n</div>\\n\", styles: [\":host{height:100%}\\n\"] }]\n }], ctorParameters: function () { return [{ type: Document, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: Object, decorators: [{\n type: Inject,\n args: [PLATFORM_ID]\n }] }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ComponentFactoryResolver }, { type: i4.PanelContentHandler }, { type: i2.UntypedFormBuilder }, { type: i5.ContentPluginManager }, { type: i4.CssHelperService }, { type: i4.PaneStateService }, { type: i11.EntityServices }]; }, propDecorators: { pluginName: [{\n type: Input\n }], settings: [{\n type: Input\n }], linkedPageId: [{\n type: Input\n }], contexts: [{\n type: Input\n }], originPane: [{\n type: Input\n }], displayType: [{\n type: Input\n }], name: [{\n type: Input\n }], label: [{\n type: Input\n }], indexPosition: [{\n type: Input\n }], ancestory: [{\n type: Input\n }], panes: [{\n type: Input\n }], originPanes: [{\n type: Input\n }], resolvedContext: [{\n type: Input\n }], css: [{\n type: Input\n }], listeners: [{\n type: Input\n }], indexPositionClass: [{\n type: HostBinding,\n args: ['class']\n }], contentPaneHost: [{\n type: ViewChild,\n args: [PaneContentHostDirective, { static: true }]\n }] } });\n/**\n * Putting render pane inside the same file is a documented work around for the\n * below angular partial compilation issue.\n *\n * https://angular.io/errors/NG3003\n */\nclass RenderPanelComponent {\n static { this.COUNTER = 0; }\n set contextChanged(contextChanged) {\n // this.schduleContextChange.next(contextChanged.name);\n }\n set contextsChanged(contextsChanged) {\n contextsChanged.map(c => this.schduleContextChange.next(c));\n }\n set indexPosition(indexPosition) {\n this.indexPosition$.next(indexPosition);\n }\n set ancestory(ancestory) {\n this.ancestory$.next(ancestory);\n }\n set css(css) {\n this.css$.next(css);\n }\n set listeners(listeners) {\n this.listeners$.next(listeners);\n }\n get indexPositionClass() {\n return `panel-${this.indexPosition$.value}`;\n }\n get panesArray() {\n return this.panelForm.get('panes');\n }\n constructor(\n // @Inject(STYLE_PLUGIN) stylePlugins: Array<StylePlugin>,\n // @Inject(CONTENT_PLUGIN) contentPlugins: Array<ContentPlugin>,\n platformId, document, hostEl, renderer2, componentFactoryResolver, fb, panelResolverService, spm, cssHelper, styleResolverService) {\n this.platformId = platformId;\n this.document = document;\n this.hostEl = hostEl;\n this.renderer2 = renderer2;\n this.componentFactoryResolver = componentFactoryResolver;\n this.fb = fb;\n this.panelResolverService = panelResolverService;\n this.spm = spm;\n this.cssHelper = cssHelper;\n this.styleResolverService = styleResolverService;\n this.nested = false;\n this.resolvedContext = {};\n this.heightChange = new EventEmitter();\n this.panelForm = this.fb.group({\n name: this.fb.control(''),\n label: this.fb.control(''),\n panes: this.fb.array([])\n });\n this.panelFormSub = this.panelForm.valueChanges.subscribe(v => {\n console.log('paneL form value');\n console.log(v);\n });\n this.filteredListeners = [];\n /*initialRenderComplete = setInterval(() => {\n console.log(`check pane initial render [${this.panel.name}]`);\n console.log(`expected: ${this.resolvedPanes !== undefined ? this.resolvedPanes.length : 'null'} | actual ${this.renderedPanes.length}`);\n if (this.resolvedPanes !== undefined && this.renderedPanes.length === this.resolvedPanes.length) {\n console.log(`COMPLETE: check pane initial render [${this.panel.name}]`);\n clearInterval(this.initialRenderComplete);\n }\n }, 250);*/\n this.afterContentInit$ = new Subject();\n this.schedulePanelRender = new Subject();\n this.rendered$ = new Subject();\n this.css$ = new BehaviorSubject({ css: this.cssHelper.makeJsonNode(), classes: {} });\n this.cssSub = combineLatest([\n this.css$,\n this.afterContentInit$,\n this.rendered$\n ]).pipe(tap(([s]) => console.log('css node', s.css)), map(([s]) => s), map(s => ({ css: this.cssHelper.reduceCss(s.css, `.panel-${this.indexPosition$.value}`), classes: this.cssHelper.reduceSelector(s.classes, `.panel-${this.indexPosition$.value}`) })), map(({ css, classes }) => [\n this.cssHelper.reduceCss(css, '.pane-', false),\n css,\n this.cssHelper.reduceSelector(classes, '.pane-', false),\n classes\n ]), tap(([_, nestedCss, __, nestedClasses]) => this.filteredCss = { css: nestedCss, classes: nestedClasses }), map(([css, _, classes]) => ({ css, classes })), map(({ css, classes }) => {\n const rebuiltCss = Object.keys(css.children).reduce((p, c) => ({ ...p, ...(c.indexOf('>') === 0 ? { [this.ancestoryWithSelf$.value.map((v, k) => (k + 1) % 2 === 0 ? `.pane-${v}` : `.panel-${v}`).join(' ') + ' ' + c]: classes[c] } : { [c]: classes[c] }) }), {});\n const rebuiltClasses = Object.keys(classes).reduce((p, c) => ({ ...p, ...(c.indexOf('>') === 0 ? { [this.ancestoryWithSelf$.value.map((v, k) => (k + 1) % 2 === 0 ? `.pane-${v}` : `.panel-${v}`).join(' ') + ' ' + c]: classes[c] } : { [c]: classes[c] }) }), {});\n return { css: { children: rebuiltCss }, classes: rebuiltClasses };\n }), delay(1)).subscribe(({ css, classes }) => {\n /*console.log(`matched css inside panel renderer: ${this.indexPosition}`);\n console.log(css);\n this.filteredCss = css;*/\n console.log('classes', classes);\n const keys = Object.keys(css.children).filter(k => k === '' || isSelectorValid({ selector: k, document: this.document }));\n const classKeys = Object.keys(classes).filter(k => k === '' || isSelectorValid({ selector: k, document: this.document }));\n classKeys.forEach((k, keyIndex) => {\n const matchedNodes = k === '' ? [this.hostEl.nativeElement] : k.indexOf('>') !== -1 ? this.document.querySelectorAll(k) : this.hostEl.nativeElement.querySelectorAll(k);\n const len = matchedNodes.length;\n for (let i = 0; i < len; i++) {\n const c = classes[classKeys[keyIndex]];\n const cKeys = Object.keys(c);\n const cLen = cKeys.length;\n for (let j = 0; j < cLen; j++) {\n if (matchedNodes[i]) {\n if (c[cKeys[j]] === ClassClassification.REMOVE) {\n console.log(`remove class ${cKeys[j]}`);\n this.renderer2.removeClass(matchedNodes[i], cKeys[j]);\n }\n else {\n console.log(`add class ${cKeys[j]}`);\n this.renderer2.addClass(matchedNodes[i], cKeys[j]);\n }\n }\n }\n }\n });\n keys.forEach(k => {\n console.log(`search: ${k}`);\n const matchedNodes = k === '' ? [this.hostEl.nativeElement] : k.indexOf('>') !== -1 ? this.document.querySelectorAll(k) : this.hostEl.nativeElement.querySelectorAll(k);\n const len = matchedNodes.length;\n const rules = Object.keys(css.children[k].attributes);\n for (let i = 0; i < len; i++) {\n if (matchedNodes[i]) {\n rules.forEach(p => {\n console.log(`${k} { ${p}: ${css.children[k].attributes[p]}; }`);\n const prop = camelize(p.replace('-', '_'), false); // @todo: Not working for custom sheet \n this.renderer2.setStyle(matchedNodes[i], /*p*/ prop, css.children[k].attributes[p]);\n });\n }\n }\n });\n });\n this.listeners$ = new BehaviorSubject([]);\n this.listenersSub = this.listeners$.pipe(tap(listeners => {\n console.log('panel listeners', listeners);\n this.filteredListeners = listeners;\n })).subscribe();\n this.scheduleRender = new Subject();\n this.scheduleRenderSub = this.scheduleRender.pipe(tap(() => console.log(`schdule renderer before [${this.panel.name}]`)), switchMap(([panes, contexts, resolvedContext]) => this.panelResolverService.resolvePanes({ panes, contexts, resolvedContext }).pipe(map(({ resolvedPanes, originMappings /*, resolvedContexts */ }) => ({ resolvedPanes, originMappings, panes })))), switchMap(({ panes, resolvedPanes, originMappings /*, resolvedContexts */ }) => this.styleResolverService.alterResolvedPanes({ panel: this.panel, resolvedPanes, originMappings /*, resolvedContexts */ }).pipe(map(({ resolvedPanes, originMappings /*, resolvedContexts */ }) => ({ panes, resolvedPanes, originMappings })))), tap(() => console.log(`schdule renderer after [${this.panel.name}]`))).subscribe(({ panes, resolvedPanes, originMappings /*, resolvedContexts*/ }) => {\n console.log(`render panel: ${this.panel.name}`);\n this.resolvedPanes = resolvedPanes;\n this.originPanes = panes;\n this.originMappings = originMappings;\n // this.resolvedContexts = resolvedContexts;\n if (this.paneContainer && this.stylePlugin === undefined) {\n // setTimeout(() => this.heightChange.emit(this.paneContainer.nativeElement.offsetHeight));\n }\n this.populatePanesFormArray();\n if (this.stylePlugin !== undefined) {\n this.renderPanelContent();\n }\n else {\n this.rendered$.next(undefined);\n }\n // clearInterval(this.initialRenderComplete);\n });\n this.schduleContextChange = new Subject();\n this.schedulePanelRenderSub = this.schedulePanelRender.pipe(switchMap(p => this.spm.getPlugin(p))).subscribe((stylePlugin) => {\n const componentFactory = this.componentFactoryResolver.resolveComponentFactory(stylePlugin.renderComponent);\n const viewContainerRef = this.panelHost.viewContainerRef;\n viewContainerRef.clear();\n const componentRef = viewContainerRef.createComponent(componentFactory);\n this.componentRef = componentRef;\n componentRef.instance.settings = this.panel.settings;\n /**\n * I think this is an oversight. The current code is passing ALL the panes\n * as the panes array. I believe that change was recently made to facilitate\n * new behavior. I just don't think this was ever updated... Updating now\n * and we will see how it goes.\n */\n componentRef.instance.panes = this.resolvedPanes;\n // This breaks pages because none visible panes will attempt to be rendered.\n //(componentRef.instance as any).panes = this.panel.panes;\n componentRef.instance.originPanes = this.panel.panes;\n componentRef.instance.originMappings = this.originMappings;\n componentRef.instance.contexts = this.contexts.map(c => new InlineContext(c));\n componentRef.instance.displayType = this.displayType;\n componentRef.instance.ancestory = this.ancestoryWithSelf$.value;\n // (componentRef.instance as any).resolvedContexts = this.resolvedContexts;\n componentRef.instance.resolvedContext = this.resolvedContext;\n componentRef.instance.panel = this.panel;\n componentRef.instance.indexPosition = this.indexPosition$.value;\n this.rendered$.next(undefined);\n });\n this.originMappings = [];\n this.resolvedContexts = [];\n // ancestoryWithSelf: Array<number> = [];\n this.ancestoryWithSelf$ = new BehaviorSubject([]);\n this.ancestory$ = new BehaviorSubject([]);\n this.indexPosition$ = new BehaviorSubject(undefined);\n // contentPlugins: Array<ContentPlugin> = [];\n this.onTouched = () => { };\n this.ancestorySub = combineLatest([\n this.ancestory$,\n this.indexPosition$\n ]).pipe(tap(([ancestory, indexPosition]) => {\n this.ancestoryWithSelf$.next([...ancestory, indexPosition]);\n })).subscribe();\n this.counter = RenderPanelComponent.COUNTER++;\n // this.stylePlugins = stylePlugins;\n // this.contentPlugins = contentPlugins;\n }\n ngOnInit() {\n this.stylePlugin = this.panel.stylePlugin !== undefined && this.panel.stylePlugin !== '' ? this.panel.stylePlugin : undefined; // this.stylePlugins.find(p => p.name === this.panel.stylePlugin) : undefined;\n if (this.panel !== undefined && this.panelHost !== undefined) {\n console.log(`panel render init [${this.panel.name}`);\n this.panelResolverService.usedContexts(this.panel.panes).pipe(map(ctx => ctx.filter(c => c !== '_page' && c !== '_root' && c !== '.' && c.indexOf('panestate-' + this.ancestoryWithSelf$.value.join('-')) !== 0)), tap(ctx => console.log(`contexts [${this.panel.name}]: ${ctx.join(',')}`)), switchMap(ctx => this.schduleContextChange.pipe(tap(contextChanged => console.log(`detected change [${this.panel.name}]: ${contextChanged}`)), map(contextChanged => [ctx, contextChanged])\n // @todo: Replacing the line above with the one below causes an infinite context change loop on the ad browser use case. no good.\n // I think this line was being used for the pane state detection since there was an issue with it. However, that is not being use anymore.\n // map(contextChanged => [ctx.includes(contextChanged) ? ctx : [ ...ctx, contextChanged ], contextChanged]) // This might be a breaking change but I do know some of this was never very well tested... :/\n )), tap(([ctx, contextChanged]) => console.log(`detected change [${this.panel.name}]: ${contextChanged} : ctx: ${ctx.join(',')}`)), filter(([ctx, contextChanged]) => Array.isArray(ctx) && ctx.findIndex(c => c === contextChanged) !== -1), debounceTime(100)).subscribe(([ctx, contextChanged]) => {\n console.log(`Context changed [${this.panel.name}]: ${contextChanged}`);\n console.log(`contexts detected [${this.panel.name}]: ${ctx.join(',')}`);\n this.scheduleRender.next([this.panel.panes, this.contexts, this.resolvedContext]);\n });\n }\n // this.ancestoryWithSelf = [ ...(this.ancestory ? this.ancestory: []), ...( this.indexPosition !== undefined && this.indexPosition !== null? [ this.indexPosition ] : [] ) ];\n }\n ngOnChanges(changes) {\n //console.log(`ngOnChanges render panel [${this.panel.name}]`);\n //console.log(changes);\n this.stylePlugin = this.panel.stylePlugin !== undefined && this.panel.stylePlugin !== '' ? this.panel.stylePlugin : undefined; // this.stylePlugins.find(p => p.name === this.panel.stylePlugin) : undefined;\n if (changes.resolvedContext && changes.resolvedContext.previousValue === undefined) {\n this.scheduleRender.next([this.panel.panes, this.contexts, this.resolvedContext]);\n }\n /*if(changes.contextChanged && changes.contextChanged.currentValue !== undefined) {\n this.schduleContextChange.next(changes.contextChanged.currentValue.name);\n }*/\n /*if (changes.ancestory || changes.indexPosition) {\n const ancestoryWithSelf = [ ...(changes.ancestory.currentValue ? changes.ancestory.currentValue : this.ancestory ? this.ancestory : []), ...( changes.indexPosition.currentValue !== undefined && changes.indexPosition.currentValue !== null? [ changes.indexPosition.currentValue ] : this.indexPosition ? [ this.indexPosition ] : [] ) ];\n if (ancestoryWithSelf.length !== this.ancestoryWithSelf.length || this.ancestoryWithSelf.filter((n, index) => ancestoryWithSelf[index] !== n).length !== 0) {\n this.ancestoryWithSelf = ancestoryWithSelf;\n }\n }*/\n }\n ngAfterViewInit() {\n }\n ngAfterContentInit() {\n this.afterContentInit$.next(undefined);\n }\n writeValue(val) {\n if (val) {\n this.panelForm.setValue(val, { emitEvent: false });\n }\n }\n registerOnChange(fn) {\n this.panelForm.valueChanges.subscribe(fn);\n }\n registerOnTouched(fn) {\n this.onTouched = fn;\n }\n setDisabledState(isDisabled) {\n if (isDisabled) {\n this.panelForm.disable();\n }\n else {\n this.panelForm.enable();\n }\n }\n validate(c) {\n /*return this.panelForm.statusChanges.pipe(\n startWith(this.panelForm.status), // start with the current form status\n filter((status) => status === 'VALID'),\n map(() => null),\n timeout(1000),\n catchError(() => of({ invalidForm: {valid: false, message: \"panel are invalid\"}})),\n first()\n );*/\n return this.panelForm.statusChanges.pipe(startWith(this.panelForm.status), // start with the current form status\n filter((status) => status !== 'PENDING'), debounceTime(1), take(1), // We only want one emit after status changes from PENDING\n map((status) => {\n return this.panelForm.valid ? null : { invalidForm: { valid: false, message: \"panel are invalid\" } }; // I actually loop through the form and collect the errors, but for validity just return this works fine\n }));\n }\n populatePanesFormArray() {\n this.panesArray.clear();\n this.resolvedPanes.forEach((p, i) => {\n this.panesArray.push(this.fb.control(''));\n });\n }\n renderPanelContent() {\n this.schedulePanelRender.next(this.stylePlugin);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RenderPanelComponent, deps: [{ token: PLATFORM_ID }, { token: DOCUMENT }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ComponentFactoryResolver }, { token: i2.UntypedFormBuilder }, { token: i4.PanelResolverService }, { token: i4.StylePluginManager }, { token: i4.CssHelperService }, { token: i4.StyleResolverService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: RenderPanelComponent, selector: \"classifieds-ui-render-panel\", inputs: { panel: \"panel\", contexts: \"contexts\", nested: \"nested\", displayType: \"displayType\", resolvedContext: \"resolvedContext\", contextChanged: \"contextChanged\", contextsChanged: \"contextsChanged\", indexPosition: \"indexPosition\", ancestory: \"ancestory\", css: \"css\", listeners: \"listeners\" }, outputs: { heightChange: \"heightChange\" }, host: { properties: { \"class.panel\": \"true\", \"attr.data-index\": \"indexPosition$.value\", \"class\": \"this.indexPositionClass\" } }, providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => RenderPanelComponent),\n multi: true\n },\n /*{\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => RenderPanelComponent),\n multi: true\n },*/\n {\n provide: NG_ASYNC_VALIDATORS,\n useExisting: forwardRef(() => RenderPanelComponent),\n multi: true\n },\n ], viewQueries: [{ propertyName: \"panelHost\", first: true, predicate: PaneContentHostDirective, descendants: true, static: true }, { propertyName: \"paneContainer\", first: true, predicate: [\"panes\"], descendants: true, static: true }, { propertyName: \"renderedPanes\", predicate: RenderPaneComponent, descendants: true }], usesOnChanges: true, ngImport: i0, template: \"<div [formGroup]=\\\"panelForm\\\" class=\\\"render-panel\\\" #panes>\\n <ng-container><ng-template classifiedsUiPaneContentHost></ng-template></ng-container>\\n <!-- <ng-container [ngSwitch]=\\\"displayType\\\">\\n <ng-container *ngSwitchCase=\\\"'form'\\\">\\n <ng-container [formGroup]=\\\"panelForm\\\">\\n <ng-template classifiedsUiPaneContentHost></ng-template>\\n </ng-container>\\n </ng-container>\\n <ng-container *ngSwitchCase=\\\"'page'\\\">\\n <ng-container><ng-template classifiedsUiPaneContentHost></ng-template></ng-container>\\n </ng-container>\\n </ng-container> -->\\n <!-- is fxFlex needed here? - verify other pages -->\\n <!-- removing fxFlex breaks design of adbrowserv9 -->\\n <ng-container *ngIf=\\\"!stylePlugin && resolvedPanes\\\">\\n <ng-container [ngSwitch]=\\\"displayType\\\">\\n <ng-container *ngSwitchCase=\\\"'form'\\\">\\n <ng-container>\\n <ng-container formArrayName=\\\"panes\\\">\\n <classifieds-ui-render-pane *ngFor=\\\"let pane of resolvedPanes; let j = index\\\" [formControlName]=\\\"j\\\" [pluginName]=\\\"pane.contentPlugin\\\" [settings]=\\\"pane.settings\\\" [name]=\\\"pane.name\\\" [label]=\\\"pane.label\\\" [originPane]=\\\"panel.panes[originMappings[j]]\\\" [contexts]=\\\"pane.contexts\\\" [displayType]=\\\"displayType\\\" [resolvedContext]=\\\"pane.resolvedContext\\\" [indexPosition]=\\\"j\\\" [css]=\\\"filteredCss\\\" [listeners]=\\\"filteredListeners\\\" [ancestory]=\\\"ancestoryWithSelf$.value\\\" [panes]=\\\"panes\\\" [originPanes]=\\\"originPanes\\\"></classifieds-ui-render-pane>\\n </ng-container>\\n </ng-container>\\n </ng-container>\\n <ng-container *ngSwitchCase=\\\"'page'\\\">\\n <!-- is fxFlex needed here? - verify other pages -->\\n <!-- removing fxFlex breaks design of adbrowserv9 -->\\n <classifieds-ui-render-pane *ngFor=\\\"let pane of resolvedPanes; let j = index\\\" [pluginName]=\\\"pane.contentPlugin\\\" [settings]=\\\"pane.settings\\\" [name]=\\\"pane.name\\\" [label]=\\\"pane.label\\\" [originPane]=\\\"panel.panes[originMappings[j]]\\\" [contexts]=\\\"pane.contexts\\\" [linkedPageId]=\\\"pane.linkedPageId\\\" [displayType]=\\\"displayType\\\" [resolvedContext]=\\\"pane.resolvedContext\\\" [indexPosition]=\\\"j\\\" [css]=\\\"filteredCss\\\" [listeners]=\\\"filteredListeners\\\" [ancestory]=\\\"ancestoryWithSelf$.value\\\" [panes]=\\\"panes\\\" [originPanes]=\\\"originPanes\\\"></classifieds-ui-render-pane>\\n </ng-container>\\n </ng-container>\\n </ng-container>\\n</div>\\n\", styles: [\":host{height:100%}.render-panel{height:100%}\\n\"], dependencies: [{ kind: \"directive\", type: i16.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i16.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i16.NgSwitch, selector: \"[ngSwitch]\", inputs: [\"ngSwitch\"] }, { kind: \"directive\", type: i16.NgSwitchCase, selector: \"[ngSwitchCase]\", inputs: [\"ngSwitchCase\"] }, { kind: \"directive\", type: i2.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i2.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i2.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i2.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"directive\", type: i2.FormArrayName, selector: \"[formArrayName]\", inputs: [\"formArrayName\"] }, { kind: \"directive\", type: PaneContentHostDirective, selector: \"[classifiedsUiPaneContentHost]\" }, { kind: \"component\", type: RenderPaneComponent, selector: \"classifieds-ui-render-pane\", inputs: [\"pluginName\", \"settings\", \"linkedPageId\", \"contexts\", \"originPane\", \"displayType\", \"name\", \"label\", \"indexPosition\", \"ancestory\", \"panes\", \"originPanes\", \"resolvedContext\", \"css\", \"listeners\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RenderPanelComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-render-panel', providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => RenderPanelComponent),\n multi: true\n },\n /*{\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => RenderPanelComponent),\n multi: true\n },*/\n {\n provide: NG_ASYNC_VALIDATORS,\n useExisting: forwardRef(() => RenderPanelComponent),\n multi: true\n },\n ], host: {\n '[class.panel]': 'true',\n '[attr.data-index]': 'indexPosition$.value'\n }, template: \"<div [formGroup]=\\\"panelForm\\\" class=\\\"render-panel\\\" #panes>\\n <ng-container><ng-template classifiedsUiPaneContentHost></ng-template></ng-container>\\n <!-- <ng-container [ngSwitch]=\\\"displayType\\\">\\n <ng-container *ngSwitchCase=\\\"'form'\\\">\\n <ng-container [formGroup]=\\\"panelForm\\\">\\n <ng-template classifiedsUiPaneContentHost></ng-template>\\n </ng-container>\\n </ng-container>\\n <ng-container *ngSwitchCase=\\\"'page'\\\">\\n <ng-container><ng-template classifiedsUiPaneContentHost></ng-template></ng-container>\\n </ng-container>\\n </ng-container> -->\\n <!-- is fxFlex needed here? - verify other pages -->\\n <!-- removing fxFlex breaks design of adbrowserv9 -->\\n <ng-container *ngIf=\\\"!stylePlugin && resolvedPanes\\\">\\n <ng-container [ngSwitch]=\\\"displayType\\\">\\n <ng-container *ngSwitchCase=\\\"'form'\\\">\\n <ng-container>\\n <ng-container formArrayName=\\\"panes\\\">\\n <classifieds-ui-render-pane *ngFor=\\\"let pane of resolvedPanes; let j = index\\\" [formControlName]=\\\"j\\\" [pluginName]=\\\"pane.contentPlugin\\\" [settings]=\\\"pane.settings\\\" [name]=\\\"pane.name\\\" [label]=\\\"pane.label\\\" [originPane]=\\\"panel.panes[originMappings[j]]\\\" [contexts]=\\\"pane.contexts\\\" [displayType]=\\\"displayType\\\" [resolvedContext]=\\\"pane.resolvedContext\\\" [indexPosition]=\\\"j\\\" [css]=\\\"filteredCss\\\" [listeners]=\\\"filteredListeners\\\" [ancestory]=\\\"ancestoryWithSelf$.value\\\" [panes]=\\\"panes\\\" [originPanes]=\\\"originPanes\\\"></classifieds-ui-render-pane>\\n </ng-container>\\n </ng-container>\\n </ng-container>\\n <ng-container *ngSwitchCase=\\\"'page'\\\">\\n <!-- is fxFlex needed here? - verify other pages -->\\n <!-- removing fxFlex breaks design of adbrowserv9 -->\\n <classifieds-ui-render-pane *ngFor=\\\"let pane of resolvedPanes; let j = index\\\" [pluginName]=\\\"pane.contentPlugin\\\" [settings]=\\\"pane.settings\\\" [name]=\\\"pane.name\\\" [label]=\\\"pane.label\\\" [originPane]=\\\"panel.panes[originMappings[j]]\\\" [contexts]=\\\"pane.contexts\\\" [linkedPageId]=\\\"pane.linkedPageId\\\" [displayType]=\\\"displayType\\\" [resolvedContext]=\\\"pane.resolvedContext\\\" [indexPosition]=\\\"j\\\" [css]=\\\"filteredCss\\\" [listeners]=\\\"filteredListeners\\\" [ancestory]=\\\"ancestoryWithSelf$.value\\\" [panes]=\\\"panes\\\" [originPanes]=\\\"originPanes\\\"></classifieds-ui-render-pane>\\n </ng-container>\\n </ng-container>\\n </ng-container>\\n</div>\\n\", styles: [\":host{height:100%}.render-panel{height:100%}\\n\"] }]\n }], ctorParameters: function () { return [{ type: Object, decorators: [{\n type: Inject,\n args: [PLATFORM_ID]\n }] }, { type: Document, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ComponentFactoryResolver }, { type: i2.UntypedFormBuilder }, { type: i4.PanelResolverService }, { type: i4.StylePluginManager }, { type: i4.CssHelperService }, { type: i4.StyleResolverService }]; }, propDecorators: { panel: [{\n type: Input\n }], contexts: [{\n type: Input\n }], nested: [{\n type: Input\n }], displayType: [{\n type: Input\n }], resolvedContext: [{\n type: Input\n }], contextChanged: [{\n type: Input\n }], contextsChanged: [{\n type: Input\n }], indexPosition: [{\n type: Input\n }], ancestory: [{\n type: Input\n }], css: [{\n type: Input\n }], listeners: [{\n type: Input\n }], heightChange: [{\n type: Output\n }], indexPositionClass: [{\n type: HostBinding,\n args: ['class']\n }], renderedPanes: [{\n type: ViewChildren,\n args: [RenderPaneComponent]\n }], panelHost: [{\n type: ViewChild,\n args: [PaneContentHostDirective, { static: true }]\n }], paneContainer: [{\n type: ViewChild,\n args: ['panes', { static: true }]\n }] } });\n\nclass EmptyLayoutComponent {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: EmptyLayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: EmptyLayoutComponent, selector: \"classifieds-ui-empty-layout\", ngImport: i0, template: `empty layout content`, isInline: true }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: EmptyLayoutComponent, decorators: [{\n type: Component,\n args: [{\n selector: 'classifieds-ui-empty-layout',\n template: `empty layout content`\n }]\n }] });\n\nconst interationHandlerFormSubmit = () => {\n return new InteractionHandlerPlugin({ id: 'panels_form_submit', title: 'Submit Panels Form' });\n};\nconst interationHandlerDialog = () => {\n return new InteractionHandlerPlugin({ id: 'panels_dialog', title: 'Open Panels Dialog' });\n};\n\n// import { PanelpageModule } from 'panelpage';\nclass RenderModule {\n constructor(ihpm) {\n ihpm.register(interationHandlerFormSubmit());\n ihpm.register(interationHandlerDialog());\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RenderModule, deps: [{ token: i1$1.InteractionHandlerPluginManager }], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: RenderModule, declarations: [PaneContentHostDirective, EmptyLayoutComponent, RenderPanelComponent, RenderPaneComponent, LayoutRendererHostDirective, PanelPageComponent], imports: [CommonModule,\n // HttpClientModule,\n FormsModule,\n UtilsModule,\n ReactiveFormsModule,\n PanelsModule,\n LayoutModule\n // PanelpageModule\n ], exports: [RenderPanelComponent,\n RenderPaneComponent,\n PanelPageComponent,\n EmptyLayoutComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RenderModule, imports: [CommonModule,\n // HttpClientModule,\n FormsModule,\n UtilsModule,\n ReactiveFormsModule,\n PanelsModule,\n LayoutModule\n // PanelpageModule\n ] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RenderModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [PaneContentHostDirective, EmptyLayoutComponent, RenderPanelComponent, RenderPaneComponent, LayoutRendererHostDirective, PanelPageComponent],\n imports: [\n CommonModule,\n // HttpClientModule,\n FormsModule,\n UtilsModule,\n ReactiveFormsModule,\n PanelsModule,\n LayoutModule\n // PanelpageModule\n ],\n exports: [\n RenderPanelComponent,\n RenderPaneComponent,\n PanelPageComponent,\n EmptyLayoutComponent\n ]\n }]\n }], ctorParameters: function () { return [{ type: i1$1.InteractionHandlerPluginManager }]; } });\n\n/*\n * Public API Surface of render\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { EmptyLayoutComponent, PanelPageComponent, RenderModule, RenderPaneComponent, RenderPanelComponent };\n","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 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 const emit = (record) => {\n const { buffer, subs } = record;\n subs.unsubscribe();\n arrRemove(bufferRecords, record);\n subscriber.next(buffer);\n restartOnEmit && startBuffer();\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 if (bufferCreationInterval !== null && bufferCreationInterval >= 0) {\n executeSchedule(subscriber, scheduler, startBuffer, bufferCreationInterval, true);\n }\n else {\n restartOnEmit = true;\n }\n startBuffer();\n const bufferTimeSubscriber = createOperatorSubscriber(subscriber, (value) => {\n const recordsCopy = bufferRecords.slice();\n for (const record of recordsCopy) {\n const { buffer } = 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 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}\n","let config = {};\r\nconst containerMap = {};\r\nconst remoteMap = {};\r\nlet isDefaultScopeInitialized = false;\r\nasync function lookupExposedModule(key, exposedModule) {\r\n const container = containerMap[key];\r\n const factory = await container.get(exposedModule);\r\n const Module = factory();\r\n return Module;\r\n}\r\nasync function initRemote(container, key) {\r\n // const container = window[key] as Container;\r\n // Do we still need to initialize the remote?\r\n if (remoteMap[key]) {\r\n return container;\r\n }\r\n // Do we still need to initialize the share scope?\r\n if (!isDefaultScopeInitialized) {\r\n await __webpack_init_sharing__('default');\r\n isDefaultScopeInitialized = true;\r\n }\r\n await container.init(__webpack_share_scopes__.default);\r\n remoteMap[key] = true;\r\n return container;\r\n}\r\nasync function loadRemoteEntry(remoteEntryOrOptions, remoteName) {\r\n if (typeof remoteEntryOrOptions === 'string') {\r\n const remoteEntry = remoteEntryOrOptions;\r\n return await loadRemoteScriptEntry(remoteEntry, remoteName);\r\n }\r\n else if (remoteEntryOrOptions.type === 'script') {\r\n const options = remoteEntryOrOptions;\r\n return await loadRemoteScriptEntry(options.remoteEntry, options.remoteName);\r\n }\r\n else if (remoteEntryOrOptions.type === 'module') {\r\n const options = remoteEntryOrOptions;\r\n await loadRemoteModuleEntry(options.remoteEntry);\r\n }\r\n}\r\nasync function loadRemoteModuleEntry(remoteEntry) {\r\n if (containerMap[remoteEntry]) {\r\n return Promise.resolve();\r\n }\r\n return await import(/* webpackIgnore:true */ remoteEntry).then((container) => {\r\n initRemote(container, remoteEntry);\r\n containerMap[remoteEntry] = container;\r\n });\r\n}\r\nasync function loadRemoteScriptEntry(remoteEntry, remoteName) {\r\n return new Promise((resolve, reject) => {\r\n // Is remoteEntry already loaded?\r\n if (containerMap[remoteName]) {\r\n resolve();\r\n return;\r\n }\r\n const script = document.createElement('script');\r\n script.src = remoteEntry;\r\n script.onerror = reject;\r\n script.onload = () => {\r\n const container = window[remoteName];\r\n initRemote(container, remoteName);\r\n containerMap[remoteName] = container;\r\n resolve();\r\n };\r\n document.body.appendChild(script);\r\n });\r\n}\r\nasync function loadRemoteModule(optionsOrRemoteName, exposedModule) {\r\n let loadRemoteEntryOptions;\r\n let key;\r\n let remoteEntry;\r\n let options;\r\n if (typeof optionsOrRemoteName === 'string') {\r\n options = {\r\n type: 'manifest',\r\n remoteName: optionsOrRemoteName,\r\n exposedModule: exposedModule\r\n };\r\n }\r\n else {\r\n options = optionsOrRemoteName;\r\n }\r\n // To support legacy API (< ng 13)\r\n if (!options.type) {\r\n const hasManifest = Object.keys(config).length > 0;\r\n options.type = hasManifest ? 'manifest' : 'script';\r\n }\r\n if (options.type === 'manifest') {\r\n const manifestEntry = config[options.remoteName];\r\n if (!manifestEntry) {\r\n throw new Error('Manifest does not contain ' + options.remoteName);\r\n }\r\n options = {\r\n type: manifestEntry.type,\r\n exposedModule: options.exposedModule,\r\n remoteEntry: manifestEntry.remoteEntry,\r\n remoteName: manifestEntry.type === 'script' ? options.remoteName : undefined,\r\n };\r\n remoteEntry = manifestEntry.remoteEntry;\r\n }\r\n else {\r\n remoteEntry = options.remoteEntry;\r\n }\r\n if (options.type === 'script') {\r\n loadRemoteEntryOptions = {\r\n type: 'script',\r\n remoteEntry: options.remoteEntry,\r\n remoteName: options.remoteName,\r\n };\r\n key = options.remoteName;\r\n }\r\n else if (options.type === 'module') {\r\n loadRemoteEntryOptions = {\r\n type: 'module',\r\n remoteEntry: options.remoteEntry,\r\n };\r\n key = options.remoteEntry;\r\n }\r\n if (remoteEntry) {\r\n await loadRemoteEntry(loadRemoteEntryOptions);\r\n }\r\n return await lookupExposedModule(key, options.exposedModule);\r\n}\r\nasync function setManifest(manifest, skipRemoteEntries = false) {\r\n config = parseConfig(manifest);\r\n if (!skipRemoteEntries) {\r\n await loadRemoteEntries();\r\n }\r\n}\r\nfunction getManifest() {\r\n return config;\r\n}\r\nasync function initFederation(manifest, skipRemoteEntries = false) {\r\n if (typeof manifest === 'string') {\r\n return loadManifest(manifest, skipRemoteEntries);\r\n }\r\n else {\r\n return setManifest(manifest, skipRemoteEntries);\r\n }\r\n}\r\nasync function loadManifest(configFile, skipRemoteEntries = false) {\r\n const result = await fetch(configFile);\r\n if (!result.ok) {\r\n throw Error('could not load configFile: ' + configFile);\r\n }\r\n config = parseConfig(await result.json());\r\n if (!skipRemoteEntries) {\r\n await loadRemoteEntries();\r\n }\r\n}\r\nfunction parseConfig(config) {\r\n const result = {};\r\n for (const key in config) {\r\n const value = config[key];\r\n let entry;\r\n if (typeof value === 'string') {\r\n entry = {\r\n remoteEntry: value,\r\n type: 'module',\r\n };\r\n }\r\n else {\r\n entry = {\r\n ...value,\r\n type: value.type || 'module',\r\n };\r\n }\r\n result[key] = entry;\r\n }\r\n return result;\r\n}\r\nasync function loadRemoteEntries() {\r\n const promises = [];\r\n for (const key in config) {\r\n const entry = config[key];\r\n if (entry.type === 'module') {\r\n promises.push(loadRemoteEntry({ type: 'module', remoteEntry: entry.remoteEntry }));\r\n }\r\n else {\r\n promises.push(loadRemoteEntry({\r\n type: 'script',\r\n remoteEntry: entry.remoteEntry,\r\n remoteName: key,\r\n }));\r\n }\r\n }\r\n await Promise.all(promises);\r\n}\n\n/**\r\n * Generated bundle index. Do not edit.\r\n */\n\nexport { getManifest, initFederation, loadManifest, loadRemoteEntry, loadRemoteModule, setManifest };\n","import * as i0 from '@angular/core';\nimport { Directive, Component, Inject, ViewChild, Injectable, Input, EventEmitter, Output, forwardRef, ViewChildren, ContentChild, Optional, InjectionToken, NgModule } from '@angular/core';\nimport * as i3 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i1$3 from '@angular/router';\nimport { UrlSegment, RouterModule } from '@angular/router';\nimport * as i1$2 from '@angular/forms';\nimport { UntypedFormControl, Validators, UntypedFormArray, NG_VALUE_ACCESSOR, NG_VALIDATORS, FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport * as i3$1 from 'ngx-markdown';\nimport { MarkdownComponent, MarkdownModule } from 'ngx-markdown';\nimport { FlexLayoutModule } from '@angular/flex-layout';\nimport * as i11 from 'angular-split';\nimport { AngularSplitModule } from 'angular-split';\nimport * as i6$4 from 'ngx-dropzone';\nimport { NgxDropzoneModule } from 'ngx-dropzone';\nimport { MaterialModule } from '@rollthecloudinc/material';\nimport { NgxJsonViewerModule } from 'ngx-json-viewer';\nimport * as i6$1 from '@rollthecloudinc/ngx-angular-query-builder';\nimport { NgxAngularQueryBuilderModule } from '@rollthecloudinc/ngx-angular-query-builder';\nimport * as i1$4 from '@rollthecloudinc/media';\nimport { MEDIA_SETTINGS, MediaFile, MediaModule } from '@rollthecloudinc/media';\nimport * as i4 from '@rollthecloudinc/utils';\nimport { SITE_NAME, UtilsModule, EMBEDDABLE_COMPONENT } from '@rollthecloudinc/utils';\nimport * as i2$2 from '@rollthecloudinc/token';\nimport { TokenModule } from '@rollthecloudinc/token';\nimport * as i2$1 from '@rollthecloudinc/attributes';\nimport { AttributeValue, AttributeTypes, Attribute, ATTRIBUTE_WIDGET, AttributesModule } from '@rollthecloudinc/attributes';\nimport * as i12 from '@rollthecloudinc/layout';\nimport { GridLayoutComponent, SplitLayoutComponent, LayoutModule } from '@rollthecloudinc/layout';\nimport * as i12$1 from '@rollthecloudinc/rest';\nimport { RestSourceFormComponent, RestModule } from '@rollthecloudinc/rest';\nimport * as i5 from '@rollthecloudinc/snippet';\nimport { Snippet, SnippetModule } from '@rollthecloudinc/snippet';\nimport * as i2 from '@rollthecloudinc/content';\nimport { ContentBinding, ContentPluginEditorOptions, ContentPlugin, CONTENT_PLUGIN } from '@rollthecloudinc/content';\nimport * as i2$4 from '@rollthecloudinc/context';\nimport { InlineContext, ContextFormComponent, ContextPlugin, ResolvedContextPlugin, ContextModule } from '@rollthecloudinc/context';\nimport { GridType, DisplayGrid, GridsterModule } from 'angular-gridster2';\nimport * as i1 from '@angular/material/bottom-sheet';\nimport { MAT_BOTTOM_SHEET_DATA } from '@angular/material/bottom-sheet';\nimport * as i1$1 from '@angular/material/legacy-dialog';\nimport { MAT_LEGACY_DIALOG_DATA } from '@angular/material/legacy-dialog';\nimport * as i6 from '@angular/material/core';\nimport * as i7 from '@angular/material/legacy-list';\nimport * as i8 from '@angular/material/legacy-tabs';\nimport { Observable, of, Subject, BehaviorSubject, combineLatest, forkJoin, iif, from, merge } from 'rxjs';\nimport { map, switchMap, tap, filter, debounceTime, delay, take, withLatestFrom, distinctUntilChanged, defaultIfEmpty, skip, catchError } from 'rxjs/operators';\nimport * as i16 from '@rollthecloudinc/datasource';\nimport { Dataset, Rest, SelectMapping, SelectOption, DatasourcePlugin, DatasourceModule } from '@rollthecloudinc/datasource';\nimport * as uuid from 'uuid';\nimport * as i2$3 from '@rollthecloudinc/panels';\nimport { PropertiesFormPayload, PanelPropsFormPayload, PanePropsFormPayload, PaneState, LayoutSetting, Pane, PanelPage, PanelPageStateSlice, selectDataset, Panel, FormDatasource, StylePlugin, PanelPageForm, PaneDatasourceService, PanelStyleRendererBaseComponent, PanelPageSelector, PanelPageState, PanelState, STYLE_PLUGIN, PanelsModule } from '@rollthecloudinc/panels';\nimport { PersistenceFormPayload, PersistenceDialogComponent } from '@rollthecloudinc/refinery';\nimport * as i4$1 from '@rollthecloudinc/rules';\nimport * as i3$2 from '@angular/material/legacy-button';\nimport * as i8$1 from '@angular/material/legacy-form-field';\nimport * as i5$1 from '@angular/material/legacy-input';\nimport * as i6$2 from '@angular/flex-layout/flex';\nimport { InteractionsFormPayload, InteractionsDialogComponent } from '@rollthecloudinc/detour';\nimport * as i5$2 from '@angular/material/expansion';\nimport * as i6$3 from '@angular/material/icon';\nimport * as i7$1 from '@angular/material/legacy-menu';\nimport * as i9 from '@angular/flex-layout/extended';\nimport { JSONPath } from 'jsonpath-plus';\nimport * as i3$3 from '@ngrx/store';\nimport { createSelector, select } from '@ngrx/store';\nimport * as i4$2 from '@ngrx/data';\nimport * as i19 from '@angular/cdk/drag-drop';\nimport { getRouterSelectors } from '@ngrx/router-store';\nimport * as i15 from '@rollthecloudinc/crud';\nimport { CrudAdaptorPlugin } from '@rollthecloudinc/crud';\nimport * as i7$2 from '@rollthecloudinc/render';\nimport { RenderModule } from '@rollthecloudinc/render';\nimport { loadRemoteModule } from '@angular-architects/module-federation';\nimport * as i5$3 from '@rollthecloudinc/durl';\nimport * as i4$3 from '@angular/material/legacy-core';\nimport * as i6$5 from '@angular/material/legacy-checkbox';\nimport * as i10 from '@angular/material/legacy-select';\nimport * as i5$4 from '@angular/material/legacy-autocomplete';\nimport * as i10$1 from '@angular/material/legacy-radio';\nimport * as i5$6 from '@rollthecloudinc/dparam';\nimport { ParamPlugin, Param, DparamModule } from '@rollthecloudinc/dparam';\nimport * as i13 from '@rollthecloudinc/bridge';\nimport { BridgeBuilderPlugin, PublicApiBridgeService, BridgeModule } from '@rollthecloudinc/bridge';\nimport * as i3$4 from '@angular/cdk/scrolling';\nimport * as qs from 'qs';\nimport * as i4$4 from '@angular/material/sort';\nimport * as i5$5 from '@angular/material/legacy-table';\nimport * as i6$6 from '@rollthecloudinc/plugin';\nimport * as i14 from '@angular/common/http';\n\nconst entityMetadata = {\n GridLayout: {\n entityName: 'GridLayout'\n },\n /*PanelPage: {\n entityName: 'PanelPage'\n },\n PanelPageListItem: {\n entityName: 'PanelPageListItem'\n }*/\n PanelPageForm: {\n crud: {\n /*serializer: {\n before: 'idb_keyval',\n params: {\n name: 'form'\n }\n },*/\n panelpageform_serialize: {\n /*params: {\n name: 'form'\n },*/\n // params: {},\n plugins: {\n idb_keyval: {\n params: {\n prefix: \"panelpageform__\"\n }\n }\n }\n }\n /*idb_keyval: {\n params: {\n prefix: 'panelpageform__'\n }\n }*/\n }\n }\n};\n\nclass ContentSelectionHostDirective {\n constructor(viewContainerRef) {\n this.viewContainerRef = viewContainerRef;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ContentSelectionHostDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: ContentSelectionHostDirective, selector: \"[classifiedsUiContentSelectionHost]\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ContentSelectionHostDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[classifiedsUiContentSelectionHost]'\n }]\n }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });\n\nclass ContentSelectorComponent {\n constructor(\n // @Inject(CONTENT_PLUGIN) contentPlugins: Array<ContentPlugin>,\n data, bottomSheetRef, dialog, componentFactoryResolver, fb, contentPluginManager) {\n this.data = data;\n this.bottomSheetRef = bottomSheetRef;\n this.dialog = dialog;\n this.componentFactoryResolver = componentFactoryResolver;\n this.fb = fb;\n this.contentPluginManager = contentPluginManager;\n this.selectedIndex = 0;\n // this.contentPlugins = contentPlugins;\n }\n ngOnInit() {\n this.contentPlugins = this.contentPluginManager.getPlugins();\n }\n onEntitySelected(plugin) {\n this.plugin = plugin;\n if (this.plugin.selectionComponent !== undefined) {\n this.selectedIndex = 1;\n this.renderSelectionComponent();\n }\n else if (this.plugin.editorComponent !== undefined) {\n this.bottomSheetRef.dismiss();\n if (plugin.handler) {\n this.plugin.handler.editorOptions([]).subscribe(o => {\n const dialogRef = this.dialog.open(this.plugin.editorComponent, { data: { panelFormGroup: this.data.panelForm, panelIndex: this.data.panelIndex, pane: undefined, paneIndex: undefined, contexts: this.data.contexts, contentAdded: this.data.contentAdded, plugin },\n ...(o.fullscreen ? { maxWidth: '100vw', maxHeight: '100vh', height: '100%', width: '100%' } : {})\n });\n });\n }\n else {\n const dialogRef = this.dialog.open(this.plugin.editorComponent, { data: { panelFormGroup: this.data.panelForm, panelIndex: this.data.panelIndex, pane: undefined, paneIndex: undefined, contexts: this.data.contexts, contentAdded: this.data.contentAdded } });\n }\n }\n else {\n this.data.panelForm.get('panes').push(this.fb.group({\n contentPlugin: this.fb.control(this.plugin.id),\n name: this.fb.control(''),\n label: this.fb.control(''),\n settings: this.fb.array([])\n }));\n }\n }\n renderSelectionComponent() {\n const componentFactory = this.componentFactoryResolver.resolveComponentFactory(this.plugin.selectionComponent);\n const viewContainerRef = this.selectionHost.viewContainerRef;\n viewContainerRef.clear();\n const componentRef = viewContainerRef.createComponent(componentFactory);\n componentRef.instance.panelFormGroup = this.data.panelForm;\n componentRef.instance.contexts = this.data.contexts;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ContentSelectorComponent, deps: [{ token: MAT_BOTTOM_SHEET_DATA }, { token: i1.MatBottomSheetRef }, { token: i1$1.MatLegacyDialog }, { token: i0.ComponentFactoryResolver }, { token: i1$2.UntypedFormBuilder }, { token: i2.ContentPluginManager }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: ContentSelectorComponent, selector: \"classifieds-ui-content-selector\", viewQueries: [{ propertyName: \"selectionHost\", first: true, predicate: ContentSelectionHostDirective, descendants: true, static: true }], ngImport: i0, template: \"<div class=\\\"content-selector-wrapper\\\">\\n <mat-tab-group [selectedIndex]=\\\"selectedIndex\\\">\\n <mat-tab>\\n <mat-nav-list>\\n <a *ngFor=\\\"let p of (contentPlugins | async) | keyvalue\\\" mat-list-item mat-list-item (click)=\\\"onEntitySelected(p.value)\\\">\\n <span mat-line>{{ p.value.title }}</span>\\n </a>\\n </mat-nav-list>\\n </mat-tab>\\n <mat-tab>\\n <ng-container><ng-template classifiedsUiContentSelectionHost></ng-template></ng-container>\\n </mat-tab>\\n </mat-tab-group>\\n</div>\\n\", styles: [\".content-selector-wrapper ::ng-deep .mat-tab-header{display:none}\\n\"], dependencies: [{ kind: \"directive\", type: i3.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i6.MatLine, selector: \"[mat-line], [matLine]\" }, { kind: \"component\", type: i7.MatLegacyNavList, selector: \"mat-nav-list\", inputs: [\"disableRipple\", \"disabled\"], exportAs: [\"matNavList\"] }, { kind: \"component\", type: i7.MatLegacyListItem, selector: \"mat-list-item, a[mat-list-item], button[mat-list-item]\", inputs: [\"disableRipple\", \"disabled\"], exportAs: [\"matListItem\"] }, { kind: \"component\", type: i8.MatLegacyTabGroup, selector: \"mat-tab-group\", inputs: [\"color\", \"disableRipple\"], exportAs: [\"matTabGroup\"] }, { kind: \"component\", type: i8.MatLegacyTab, selector: \"mat-tab\", inputs: [\"disabled\"], exportAs: [\"matTab\"] }, { kind: \"directive\", type: ContentSelectionHostDirective, selector: \"[classifiedsUiContentSelectionHost]\" }, { kind: \"pipe\", type: i3.AsyncPipe, name: \"async\" }, { kind: \"pipe\", type: i3.KeyValuePipe, name: \"keyvalue\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ContentSelectorComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-content-selector', template: \"<div class=\\\"content-selector-wrapper\\\">\\n <mat-tab-group [selectedIndex]=\\\"selectedIndex\\\">\\n <mat-tab>\\n <mat-nav-list>\\n <a *ngFor=\\\"let p of (contentPlugins | async) | keyvalue\\\" mat-list-item mat-list-item (click)=\\\"onEntitySelected(p.value)\\\">\\n <span mat-line>{{ p.value.title }}</span>\\n </a>\\n </mat-nav-list>\\n </mat-tab>\\n <mat-tab>\\n <ng-container><ng-template classifiedsUiContentSelectionHost></ng-template></ng-container>\\n </mat-tab>\\n </mat-tab-group>\\n</div>\\n\", styles: [\".content-selector-wrapper ::ng-deep .mat-tab-header{display:none}\\n\"] }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [MAT_BOTTOM_SHEET_DATA]\n }] }, { type: i1.MatBottomSheetRef }, { type: i1$1.MatLegacyDialog }, { type: i0.ComponentFactoryResolver }, { type: i1$2.UntypedFormBuilder }, { type: i2.ContentPluginManager }]; }, propDecorators: { selectionHost: [{\n type: ViewChild,\n args: [ContentSelectionHostDirective, { static: true }]\n }] } });\n\nclass SnippetContentHandler {\n constructor(attributeSerializer, tokenizrService) {\n this.attributeSerializer = attributeSerializer;\n this.tokenizrService = tokenizrService;\n this.types = ['text/markdown', 'text/html'];\n }\n handleFile(file) {\n return new Observable(obs => {\n const reader = new FileReader();\n reader.onload = () => {\n obs.next(this.buildSettings(new Snippet({ contentType: file.type, content: `${reader.result}` })));\n obs.complete();\n };\n reader.readAsText(file);\n });\n }\n handlesType(type) {\n return this.types.find(t => t === type) !== undefined;\n }\n implementsRendererOverride() {\n return false;\n }\n hasRendererOverride(settings) {\n return of(false);\n }\n isDynamic(settings) {\n return false;\n }\n isData(settings) {\n return false;\n }\n getBindings(settings, type, metadata) {\n if (type === 'context') {\n return this.toObject(settings).pipe(map(snippet => {\n const tokens = this.tokenizrService.discoverTokens(snippet.content);\n return tokens.map(t => new ContentBinding({ id: t, type: 'context' }));\n }));\n }\n else {\n return of([]);\n }\n }\n fetchDynamicData(settings, metadata) {\n return of(new Dataset());\n }\n buildDynamicItems(settings, metadata) {\n return of([]);\n }\n toObject(settings) {\n return of(new Snippet(this.attributeSerializer.deserializeAsObject(settings)));\n }\n buildSettings(snippet) {\n return this.attributeSerializer.serialize(snippet, 'root').attributes;\n }\n stateDefinition(settings) {\n return of({});\n }\n editorOptions(settings) {\n return of(new ContentPluginEditorOptions({ fullscreen: true }));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: SnippetContentHandler, deps: [{ token: i2$1.AttributeSerializerService }, { token: i2$2.TokenizerService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: SnippetContentHandler }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: SnippetContentHandler, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: i2$1.AttributeSerializerService }, { type: i2$2.TokenizerService }]; } });\n\nclass SnippetPaneRendererComponent {\n set settings(settings) {\n this.settings$.next(settings);\n }\n set resolvedContext(resolvedContext) {\n this.resolvedContext$.next(resolvedContext);\n }\n constructor(hostEl, handler, tokenizerService, markdownService) {\n this.hostEl = hostEl;\n this.handler = handler;\n this.tokenizerService = tokenizerService;\n this.markdownService = markdownService;\n this.contexts = [];\n this.afterContentInit$ = new Subject();\n this.content = '';\n this.content$ = new BehaviorSubject('');\n this.settings$ = new BehaviorSubject([]);\n this.snippet$ = new BehaviorSubject(undefined);\n this.resolvedContext$ = new BehaviorSubject(undefined);\n this.docRendered$ = new Subject();\n this.contentSub = combineLatest([\n this.afterContentInit$,\n this.content$,\n this.snippet$,\n this.docRendered$\n ]).subscribe(([_, content, snippet]) => {\n if (snippet && snippet.jsScript && snippet.jsScript !== '') {\n setTimeout(() => this.appendScript(snippet.jsScript));\n }\n });\n this.renderContentSub = combineLatest([\n this.settings$,\n this.resolvedContext$\n ]).pipe(switchMap(([settings, _]) => this.handler.toObject(settings)), switchMap(snippet => this.resolveContexts().pipe(map(tokens => [snippet, tokens])))).subscribe(([snippet, tokens]) => {\n if (tokens !== undefined) {\n this.tokens = tokens;\n }\n this.contentType = snippet.contentType;\n this.snippet$.next(snippet);\n const replacedTokens = this.replaceTokens(snippet.content);\n const compiledContent = snippet.contentType && snippet.contentType.indexOf('markdown') !== -1 ? this.markdownService.parse(replacedTokens) : replacedTokens;\n this.content$.next(compiledContent);\n });\n }\n ngOnInit() {\n }\n ngOnChanges() {\n console.log('pane changed');\n }\n ngAfterContentInit() {\n this.afterContentInit$.next();\n this.afterContentInit$.complete();\n }\n replaceTokens(v) {\n if (this.tokens !== undefined) {\n this.tokens.forEach((value, key) => {\n v = v.split(`[${key}]`).join(`${value}`);\n });\n }\n return v;\n }\n resolveContexts() {\n return new Observable(obs => {\n let tokens = new Map();\n if (this.resolvedContext$.value) {\n for (const name in this.resolvedContext$.value) {\n tokens = new Map([...tokens, ...this.tokenizerService.generateGenericTokens(this.resolvedContext$.value[name], name === '_root' ? '' : name)]);\n }\n }\n obs.next(tokens);\n obs.complete();\n });\n }\n appendScript(js) {\n let script = document.createElement('script');\n script.type = 'text/javascript';\n script.appendChild(document.createTextNode(js));\n this.hostEl.nativeElement.appendChild(script);\n console.log('add script');\n }\n onDocRendered() {\n this.docRendered$.next(undefined);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: SnippetPaneRendererComponent, deps: [{ token: i0.ElementRef }, { token: SnippetContentHandler }, { token: i2$2.TokenizerService }, { token: i3$1.MarkdownService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: SnippetPaneRendererComponent, selector: \"classifieds-ui-snippet-pane-renderer\", inputs: { settings: \"settings\", contexts: \"contexts\", tokens: \"tokens\", resolvedContext: \"resolvedContext\" }, usesOnChanges: true, ngImport: i0, template: \"<classifieds-ui-dynamic-content-viewer *ngIf=\\\"contentType == 'text/markdown'\\\" [content]=\\\"content$ | async\\\" (docRendered)=\\\"onDocRendered()\\\"></classifieds-ui-dynamic-content-viewer>\\n<classifieds-ui-dynamic-content-viewer *ngIf=\\\"contentType == 'text/html'\\\" [content]=\\\"content$ | async\\\" (docRendered)=\\\"onDocRendered()\\\"></classifieds-ui-dynamic-content-viewer>\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i3.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"component\", type: i4.DynamicContentViewer, selector: \"classifieds-ui-dynamic-content-viewer\", inputs: [\"data\", \"content\"], outputs: [\"docRendered\"] }, { kind: \"pipe\", type: i3.AsyncPipe, name: \"async\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: SnippetPaneRendererComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-snippet-pane-renderer', template: \"<classifieds-ui-dynamic-content-viewer *ngIf=\\\"contentType == 'text/markdown'\\\" [content]=\\\"content$ | async\\\" (docRendered)=\\\"onDocRendered()\\\"></classifieds-ui-dynamic-content-viewer>\\n<classifieds-ui-dynamic-content-viewer *ngIf=\\\"contentType == 'text/html'\\\" [content]=\\\"content$ | async\\\" (docRendered)=\\\"onDocRendered()\\\"></classifieds-ui-dynamic-content-viewer>\\n\" }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: SnippetContentHandler }, { type: i2$2.TokenizerService }, { type: i3$1.MarkdownService }]; }, propDecorators: { settings: [{\n type: Input\n }], contexts: [{\n type: Input\n }], tokens: [{\n type: Input\n }], resolvedContext: [{\n type: Input\n }] } });\n\nclass AttributeContentHandler {\n constructor(snippetHandler) {\n this.snippetHandler = snippetHandler;\n }\n handleFile(file) {\n return of([]);\n }\n handlesType(type) {\n return false;\n }\n implementsRendererOverride() {\n return true;\n }\n hasRendererOverride(settings) {\n return this.rendererSnippet(settings).pipe(map(snippet => snippet !== undefined));\n }\n isDynamic(settings) {\n return false;\n }\n isData(settings) {\n return false;\n }\n fetchDynamicData(settings, metadata) {\n return of(new Dataset());\n }\n buildDynamicItems(settings, metadata) {\n return of([]);\n }\n getBindings(settings, type, metadata) {\n return of([]);\n }\n valueSettings(attributeValues) {\n const settings = [];\n attributeValues.forEach(attributeValue => {\n if (attributeValue.name === 'value') {\n settings.push(attributeValue);\n }\n });\n return settings;\n }\n rendererSnippet(settings) {\n let snippet$;\n settings.forEach(s => {\n if (s.name === '_renderer') {\n snippet$ = this.snippetHandler.toObject(s.attributes);\n }\n });\n return snippet$ !== undefined ? snippet$ : of(undefined);\n }\n rendererOverrideSettings(snippet) {\n return [new AttributeValue({\n name: '_renderer',\n type: AttributeTypes.Complex,\n displayName: 'Renderer Override',\n value: undefined,\n computedValue: undefined,\n intValue: 0,\n attributes: this.snippetHandler.buildSettings(snippet)\n })];\n }\n widgetSettings(widget) {\n return [new AttributeValue({\n name: 'widget',\n type: widget.schema.type,\n displayName: 'Widget',\n value: widget.name,\n computedValue: widget.name,\n intValue: 0,\n attributes: []\n })];\n }\n stateDefinition(settings) {\n return of({});\n }\n editorOptions(settings) {\n return of(new ContentPluginEditorOptions());\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AttributeContentHandler, deps: [{ token: SnippetContentHandler }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AttributeContentHandler }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AttributeContentHandler, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: SnippetContentHandler }]; } });\n\nclass RenderingEditorComponent {\n constructor(data, dialogRef, tokenizerService, handler, fb) {\n this.data = data;\n this.dialogRef = dialogRef;\n this.tokenizerService = tokenizerService;\n this.handler = handler;\n this.fb = fb;\n }\n ngOnInit() {\n this.tokens = this.tokenizerService.generateTokens(this.data.pane.settings);\n }\n submitted(snippet) {\n this.replaceRenderer(snippet);\n this.dialogRef.close();\n }\n replaceRenderer(snippet) {\n let rendererIndex;\n const setting = this.handler.rendererOverrideSettings(snippet)[0];\n const renderer = this.convertToGroup(setting);\n const formArray = this.data.panelFormGroup.get('panes').at(this.data.paneIndex).get('settings');\n formArray.controls.forEach((c, index) => {\n if (c.get('name').value === '_renderer') {\n rendererIndex = index;\n }\n });\n if (rendererIndex !== undefined) {\n formArray.insert(rendererIndex, renderer);\n formArray.removeAt(rendererIndex + 1);\n }\n else {\n formArray.push(renderer);\n }\n }\n convertToGroup(setting) {\n const fg = this.fb.group({\n name: new UntypedFormControl(setting.name, Validators.required),\n type: new UntypedFormControl(setting.type, Validators.required),\n displayName: new UntypedFormControl(setting.displayName, Validators.required),\n value: new UntypedFormControl(setting.value, Validators.required),\n computedValue: new UntypedFormControl(setting.value, Validators.required),\n attributes: new UntypedFormArray([])\n });\n if (setting.attributes && setting.attributes.length > 0) {\n setting.attributes.forEach(s => {\n fg.get('attributes').push(this.convertToGroup(s));\n });\n }\n return fg;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RenderingEditorComponent, deps: [{ token: MAT_LEGACY_DIALOG_DATA }, { token: i1$1.MatLegacyDialogRef }, { token: i2$2.TokenizerService }, { token: AttributeContentHandler }, { token: i1$2.UntypedFormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: RenderingEditorComponent, selector: \"classifieds-ui-rendering-editor\", ngImport: i0, template: \"<classifieds-ui-snippet-form [tokens]=\\\"tokens\\\" (submitted)=\\\"submitted($event)\\\"><classifieds-ui-snippet-form>\\n\", styles: [\"\"], dependencies: [{ kind: \"component\", type: i5.SnippetFormComponent, selector: \"classifieds-ui-snippet-form\", inputs: [\"tokens\", \"splitDirection\", \"rows\", \"cols\", \"rootForm\", \"snippet\"], outputs: [\"submitted\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RenderingEditorComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-rendering-editor', template: \"<classifieds-ui-snippet-form [tokens]=\\\"tokens\\\" (submitted)=\\\"submitted($event)\\\"><classifieds-ui-snippet-form>\\n\" }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [MAT_LEGACY_DIALOG_DATA]\n }] }, { type: i1$1.MatLegacyDialogRef }, { type: i2$2.TokenizerService }, { type: AttributeContentHandler }, { type: i1$2.UntypedFormBuilder }]; } });\n\nclass StyleSelectorComponent {\n constructor(\n // @Inject(STYLE_PLUGIN) stylePlugins: Array<StylePlugin>,\n data, spm, bottomSheetRef, dialog, componentFactoryResolver, fb) {\n this.data = data;\n this.spm = spm;\n this.bottomSheetRef = bottomSheetRef;\n this.dialog = dialog;\n this.componentFactoryResolver = componentFactoryResolver;\n this.fb = fb;\n this.selectedIndex = 0;\n // this.stylePlugins = stylePlugins;\n }\n ngOnInit() {\n this.stylePlugins = this.spm.getPlugins();\n }\n onStyleSelected(plugin) {\n this.plugin = plugin;\n if (this.plugin.editorComponent !== undefined) {\n this.bottomSheetRef.dismiss();\n this.data.panelForm.get('stylePlugin').setValue(this.plugin.name);\n this.data.panelForm.get('styleTitle').setValue(this.plugin.title);\n this.data.panelForm.get('settings').clear();\n const dialogRef = this.dialog.open(this.plugin.editorComponent, { data: { panelFormGroup: this.data.panelForm, panelIndex: this.data.panelIndex, contexts: this.data.contexts } });\n }\n else {\n this.data.panelForm.get('stylePlugin').setValue(this.plugin.name);\n this.data.panelForm.get('styleTitle').setValue(this.plugin.title);\n this.data.panelForm.get('settings').clear();\n this.bottomSheetRef.dismiss();\n }\n /*if(this.plugin.selectionComponent !== undefined) {\n this.selectedIndex = 1;\n this.renderSelectionComponent();\n } else if(this.plugin.editorComponent !== undefined) {\n this.bottomSheetRef.dismiss();\n const dialogRef = this.dialog.open(this.plugin.editorComponent, { data: { panelFormGroup: this.panelFormGroup, pane: undefined, paneIndex: undefined } });\n } else {\n (this.panelFormGroup.get('panes') as FormArray).push(this.fb.group({\n contentProvider: this.plugin.name,\n settings: this.fb.array([])\n }));\n }*/\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: StyleSelectorComponent, deps: [{ token: MAT_BOTTOM_SHEET_DATA }, { token: i2$3.StylePluginManager }, { token: i1.MatBottomSheetRef }, { token: i1$1.MatLegacyDialog }, { token: i0.ComponentFactoryResolver }, { token: i1$2.UntypedFormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: StyleSelectorComponent, selector: \"classifieds-ui-style-selector\", viewQueries: [{ propertyName: \"selectionHost\", first: true, predicate: ContentSelectionHostDirective, descendants: true, static: true }], ngImport: i0, template: \"<div class=\\\"style-selector-wrapper\\\">\\n <mat-tab-group [selectedIndex]=\\\"selectedIndex\\\">\\n <mat-tab>\\n <mat-nav-list>\\n <a *ngFor=\\\"let s of ((stylePlugins | async) | keyvalue)\\\" mat-list-item mat-list-item (click)=\\\"onStyleSelected(s.value)\\\">\\n <span mat-line>{{ s.value.title }}</span>\\n </a>\\n </mat-nav-list>\\n </mat-tab>\\n <mat-tab>\\n <ng-container><ng-template classifiedsUiContentSelectionHost></ng-template></ng-container>\\n </mat-tab>\\n </mat-tab-group>\\n</div>\\n\", styles: [\".style-selector-wrapper ::ng-deep .mat-tab-header{display:none}\\n\"], dependencies: [{ kind: \"directive\", type: i3.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i6.MatLine, selector: \"[mat-line], [matLine]\" }, { kind: \"component\", type: i7.MatLegacyNavList, selector: \"mat-nav-list\", inputs: [\"disableRipple\", \"disabled\"], exportAs: [\"matNavList\"] }, { kind: \"component\", type: i7.MatLegacyListItem, selector: \"mat-list-item, a[mat-list-item], button[mat-list-item]\", inputs: [\"disableRipple\", \"disabled\"], exportAs: [\"matListItem\"] }, { kind: \"component\", type: i8.MatLegacyTabGroup, selector: \"mat-tab-group\", inputs: [\"color\", \"disableRipple\"], exportAs: [\"matTabGroup\"] }, { kind: \"component\", type: i8.MatLegacyTab, selector: \"mat-tab\", inputs: [\"disabled\"], exportAs: [\"matTab\"] }, { kind: \"directive\", type: ContentSelectionHostDirective, selector: \"[classifiedsUiContentSelectionHost]\" }, { kind: \"pipe\", type: i3.AsyncPipe, name: \"async\" }, { kind: \"pipe\", type: i3.KeyValuePipe, name: \"keyvalue\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: StyleSelectorComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-style-selector', template: \"<div class=\\\"style-selector-wrapper\\\">\\n <mat-tab-group [selectedIndex]=\\\"selectedIndex\\\">\\n <mat-tab>\\n <mat-nav-list>\\n <a *ngFor=\\\"let s of ((stylePlugins | async) | keyvalue)\\\" mat-list-item mat-list-item (click)=\\\"onStyleSelected(s.value)\\\">\\n <span mat-line>{{ s.value.title }}</span>\\n </a>\\n </mat-nav-list>\\n </mat-tab>\\n <mat-tab>\\n <ng-container><ng-template classifiedsUiContentSelectionHost></ng-template></ng-container>\\n </mat-tab>\\n </mat-tab-group>\\n</div>\\n\", styles: [\".style-selector-wrapper ::ng-deep .mat-tab-header{display:none}\\n\"] }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [MAT_BOTTOM_SHEET_DATA]\n }] }, { type: i2$3.StylePluginManager }, { type: i1.MatBottomSheetRef }, { type: i1$1.MatLegacyDialog }, { type: i0.ComponentFactoryResolver }, { type: i1$2.UntypedFormBuilder }]; }, propDecorators: { selectionHost: [{\n type: ViewChild,\n args: [ContentSelectionHostDirective, { static: true }]\n }] } });\n\nclass RulesDialogComponent {\n constructor(data, dialogRef, fb, inlineContextResolver, rulesParser) {\n this.data = data;\n this.dialogRef = dialogRef;\n this.fb = fb;\n this.inlineContextResolver = inlineContextResolver;\n this.rulesParser = rulesParser;\n this.rulesForm = this.fb.group({\n rules: this.fb.control('')\n });\n this.config = {\n fields: {\n /*age: {name: 'Age', type: 'number'},\n gender: {\n name: 'Gender',\n type: 'category',\n options: [\n {name: 'Male', value: 'm'},\n {name: 'Female', value: 'f'}\n ]\n }*/\n }\n };\n }\n ngOnInit() {\n this.inlineContextResolver.resolveMerged(this.data.contexts).subscribe(res => {\n const fieldMap = {};\n for (const name in res) {\n this.rulesParser.buildFields(res[name], name).forEach((f, k) => {\n fieldMap[k] = f;\n });\n }\n this.config = { ...this.config, fields: fieldMap };\n if (this.data.rule !== undefined) {\n this.rulesForm.get('rules').setValue(this.data.rule);\n }\n });\n }\n submit() {\n console.log('the rules');\n console.log(this.rulesForm.get('rules').value);\n this.dialogRef.close(this.rulesForm.get('rules').value);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RulesDialogComponent, deps: [{ token: MAT_LEGACY_DIALOG_DATA }, { token: i1$1.MatLegacyDialogRef }, { token: i1$2.UntypedFormBuilder }, { token: i2$4.InlineContextResolverService }, { token: i4$1.RulesParserService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: RulesDialogComponent, selector: \"classifieds-ui-rules-dialog\", ngImport: i0, template: \"<form class=\\\"rest-form\\\" [formGroup]=\\\"rulesForm\\\" (ngSubmit)=\\\"submit()\\\">\\n <mat-dialog-content>\\n <query-builder formControlName=\\\"rules\\\" [config]='config'></query-builder>\\n </mat-dialog-content>\\n <mat-dialog-actions>\\n <button type=\\\"submit\\\" mat-raised-button color=\\\"primary\\\" mat-dialog-close [disabled]=\\\"!rulesForm.valid\\\">Save</button>\\n </mat-dialog-actions>\\n</form>\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i1$2.ɵNgNoValidate, selector: \"form:not([ngNoForm]):not([ngNativeValidate])\" }, { kind: \"directive\", type: i1$2.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1$2.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1$2.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1$2.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: i3$2.MatLegacyButton, selector: \"button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]\", inputs: [\"disabled\", \"disableRipple\", \"color\"], exportAs: [\"matButton\"] }, { kind: \"directive\", type: i1$1.MatLegacyDialogClose, selector: \"[mat-dialog-close], [matDialogClose]\", inputs: [\"aria-label\", \"type\", \"mat-dialog-close\", \"matDialogClose\"], exportAs: [\"matDialogClose\"] }, { kind: \"directive\", type: i1$1.MatLegacyDialogContent, selector: \"[mat-dialog-content], mat-dialog-content, [matDialogContent]\" }, { kind: \"directive\", type: i1$1.MatLegacyDialogActions, selector: \"[mat-dialog-actions], mat-dialog-actions, [matDialogActions]\", inputs: [\"align\"] }, { kind: \"component\", type: i6$1.QueryBuilderComponent, selector: \"query-builder\", inputs: [\"disabled\", \"data\", \"allowRuleset\", \"allowCollapse\", \"emptyMessage\", \"classNames\", \"operatorMap\", \"parentValue\", \"config\", \"parentArrowIconTemplate\", \"parentInputTemplates\", \"parentOperatorTemplate\", \"parentFieldTemplate\", \"parentEntityTemplate\", \"parentSwitchGroupTemplate\", \"parentButtonGroupTemplate\", \"parentRemoveButtonTemplate\", \"parentEmptyWarningTemplate\", \"parentChangeCallback\", \"parentTouchedCallback\", \"persistValueOnFieldChange\", \"value\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RulesDialogComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-rules-dialog', template: \"<form class=\\\"rest-form\\\" [formGroup]=\\\"rulesForm\\\" (ngSubmit)=\\\"submit()\\\">\\n <mat-dialog-content>\\n <query-builder formControlName=\\\"rules\\\" [config]='config'></query-builder>\\n </mat-dialog-content>\\n <mat-dialog-actions>\\n <button type=\\\"submit\\\" mat-raised-button color=\\\"primary\\\" mat-dialog-close [disabled]=\\\"!rulesForm.valid\\\">Save</button>\\n </mat-dialog-actions>\\n</form>\\n\" }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [MAT_LEGACY_DIALOG_DATA]\n }] }, { type: i1$1.MatLegacyDialogRef }, { type: i1$2.UntypedFormBuilder }, { type: i2$4.InlineContextResolverService }, { type: i4$1.RulesParserService }]; } });\n\nclass PropertiesDialogComponent {\n constructor(data, dialogRef, fb) {\n this.data = data;\n this.dialogRef = dialogRef;\n this.fb = fb;\n this.propertiesForm = this.fb.group({\n name: this.fb.control(this.data.props.name),\n title: this.fb.control(this.data.props.title),\n path: this.fb.control(this.data.props.path),\n cssFile: this.fb.control(this.data.props.cssFile),\n readUserIds: this.fb.array([\n this.fb.group({\n userId: this.fb.control(this.data.props.readUserIds && this.data.props.readUserIds.length > 0 ? this.data.props.readUserIds[0] : '')\n })\n ])\n });\n }\n ngOnInit() {\n }\n submit() {\n this.dialogRef.close(new PropertiesFormPayload({ ...this.propertiesForm.value, readUserIds: this.propertiesForm.value.readUserIds.map(id => id.userId) }));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PropertiesDialogComponent, deps: [{ token: MAT_LEGACY_DIALOG_DATA }, { token: i1$1.MatLegacyDialogRef }, { token: i1$2.UntypedFormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: PropertiesDialogComponent, selector: \"classifieds-ui-properties-dialog\", ngImport: i0, template: \"<form class=\\\"properties-form\\\" [formGroup]=\\\"propertiesForm\\\" (ngSubmit)=\\\"submit()\\\">\\n <mat-dialog-content>\\n <div class=\\\"content-inner\\\">\\n <div fxLayout=\\\"column\\\">\\n <mat-form-field>\\n <input matInput formControlName=\\\"name\\\" placeholder=\\\"Name\\\">\\n </mat-form-field>\\n <mat-form-field>\\n <input matInput formControlName=\\\"title\\\" placeholder=\\\"Title\\\">\\n </mat-form-field>\\n <mat-form-field>\\n <input matInput formControlName=\\\"path\\\" placeholder=\\\"Path\\\">\\n </mat-form-field>\\n <mat-form-field>\\n <input matInput formControlName=\\\"cssFile\\\" placeholder=\\\"Css File\\\">\\n </mat-form-field>\\n <mat-form-field formArrayName=\\\"readUserIds\\\">\\n <div formGroupName=\\\"0\\\">\\n <input matInput formControlName=\\\"userId\\\" placeholder=\\\"Read User Id\\\">\\n </div>\\n </mat-form-field>\\n </div>\\n </div>\\n </mat-dialog-content>\\n <mat-dialog-actions>\\n <button type=\\\"submit\\\" mat-raised-button color=\\\"primary\\\" mat-dialog-close [disabled]=\\\"!propertiesForm.valid\\\">Save</button>\\n </mat-dialog-actions>\\n</form>\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i1$2.ɵNgNoValidate, selector: \"form:not([ngNoForm]):not([ngNativeValidate])\" }, { kind: \"directive\", type: i1$2.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i1$2.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1$2.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1$2.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1$2.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"directive\", type: i1$2.FormGroupName, selector: \"[formGroupName]\", inputs: [\"formGroupName\"] }, { kind: \"directive\", type: i1$2.FormArrayName, selector: \"[formArrayName]\", inputs: [\"formArrayName\"] }, { kind: \"component\", type: i3$2.MatLegacyButton, selector: \"button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]\", inputs: [\"disabled\", \"disableRipple\", \"color\"], exportAs: [\"matButton\"] }, { kind: \"directive\", type: i1$1.MatLegacyDialogClose, selector: \"[mat-dialog-close], [matDialogClose]\", inputs: [\"aria-label\", \"type\", \"mat-dialog-close\", \"matDialogClose\"], exportAs: [\"matDialogClose\"] }, { kind: \"directive\", type: i1$1.MatLegacyDialogContent, selector: \"[mat-dialog-content], mat-dialog-content, [matDialogContent]\" }, { kind: \"directive\", type: i1$1.MatLegacyDialogActions, selector: \"[mat-dialog-actions], mat-dialog-actions, [matDialogActions]\", inputs: [\"align\"] }, { kind: \"component\", type: i8$1.MatLegacyFormField, selector: \"mat-form-field\", inputs: [\"color\", \"appearance\", \"hideRequiredMarker\", \"hintLabel\", \"floatLabel\"], exportAs: [\"matFormField\"] }, { kind: \"directive\", type: i5$1.MatLegacyInput, selector: \"input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]\", exportAs: [\"matInput\"] }, { kind: \"directive\", type: i6$2.DefaultLayoutDirective, selector: \" [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]\", inputs: [\"fxLayout\", \"fxLayout.xs\", \"fxLayout.sm\", \"fxLayout.md\", \"fxLayout.lg\", \"fxLayout.xl\", \"fxLayout.lt-sm\", \"fxLayout.lt-md\", \"fxLayout.lt-lg\", \"fxLayout.lt-xl\", \"fxLayout.gt-xs\", \"fxLayout.gt-sm\", \"fxLayout.gt-md\", \"fxLayout.gt-lg\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PropertiesDialogComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-properties-dialog', template: \"<form class=\\\"properties-form\\\" [formGroup]=\\\"propertiesForm\\\" (ngSubmit)=\\\"submit()\\\">\\n <mat-dialog-content>\\n <div class=\\\"content-inner\\\">\\n <div fxLayout=\\\"column\\\">\\n <mat-form-field>\\n <input matInput formControlName=\\\"name\\\" placeholder=\\\"Name\\\">\\n </mat-form-field>\\n <mat-form-field>\\n <input matInput formControlName=\\\"title\\\" placeholder=\\\"Title\\\">\\n </mat-form-field>\\n <mat-form-field>\\n <input matInput formControlName=\\\"path\\\" placeholder=\\\"Path\\\">\\n </mat-form-field>\\n <mat-form-field>\\n <input matInput formControlName=\\\"cssFile\\\" placeholder=\\\"Css File\\\">\\n </mat-form-field>\\n <mat-form-field formArrayName=\\\"readUserIds\\\">\\n <div formGroupName=\\\"0\\\">\\n <input matInput formControlName=\\\"userId\\\" placeholder=\\\"Read User Id\\\">\\n </div>\\n </mat-form-field>\\n </div>\\n </div>\\n </mat-dialog-content>\\n <mat-dialog-actions>\\n <button type=\\\"submit\\\" mat-raised-button color=\\\"primary\\\" mat-dialog-close [disabled]=\\\"!propertiesForm.valid\\\">Save</button>\\n </mat-dialog-actions>\\n</form>\\n\" }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [MAT_LEGACY_DIALOG_DATA]\n }] }, { type: i1$1.MatLegacyDialogRef }, { type: i1$2.UntypedFormBuilder }]; } });\n\nclass ContextDialogComponent {\n constructor(data, dialogRef, fb) {\n this.data = data;\n this.dialogRef = dialogRef;\n this.fb = fb;\n this.contextForm = this.fb.group({\n context: this.fb.control('')\n });\n this.context = data.context;\n }\n ngOnInit() {\n }\n ngAfterViewInit() {\n if (this.data.context) {\n setTimeout(() => {\n this.contextFormComp.contextForm.setValue({ name: this.data.context.name, plugin: this.data.context.plugin });\n if (this.data.context.plugin === 'rest') {\n setTimeout(() => {\n this.contextFormComp.componentRef.instance.restSourceFormComp.restSource = { url: this.data.context.rest.url, params: this.data.context.rest.params };\n });\n }\n else if (this.data.context.plugin === 'datasource') {\n setTimeout(() => {\n this.contextFormComp.componentRef.instance.datasourceFormComp.datasource = this.data.context.datasource;\n });\n }\n });\n }\n }\n submit() {\n if (this.contextForm.get('context').value.name !== '') {\n this.dialogRef.close(new InlineContext(this.contextForm.get('context').value));\n }\n else {\n this.dialogRef.close();\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ContextDialogComponent, deps: [{ token: MAT_LEGACY_DIALOG_DATA }, { token: i1$1.MatLegacyDialogRef }, { token: i1$2.UntypedFormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: ContextDialogComponent, selector: \"classifieds-ui-context-dialog\", viewQueries: [{ propertyName: \"contextFormComp\", first: true, predicate: ContextFormComponent, descendants: true }], ngImport: i0, template: \"<form class=\\\"context-form\\\" [formGroup]=\\\"contextForm\\\" (ngSubmit)=\\\"submit()\\\">\\n <mat-dialog-content>\\n <classifieds-ui-context-form formControlName=\\\"context\\\" [context]=\\\"context\\\"></classifieds-ui-context-form>\\n </mat-dialog-content>\\n <mat-dialog-actions>\\n <button type=\\\"submit\\\" mat-raised-button color=\\\"primary\\\" mat-dialog-close [disabled]=\\\"!contextForm.valid\\\">Save</button>\\n </mat-dialog-actions>\\n</form>\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i1$2.ɵNgNoValidate, selector: \"form:not([ngNoForm]):not([ngNativeValidate])\" }, { kind: \"directive\", type: i1$2.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1$2.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1$2.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1$2.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: i3$2.MatLegacyButton, selector: \"button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]\", inputs: [\"disabled\", \"disableRipple\", \"color\"], exportAs: [\"matButton\"] }, { kind: \"directive\", type: i1$1.MatLegacyDialogClose, selector: \"[mat-dialog-close], [matDialogClose]\", inputs: [\"aria-label\", \"type\", \"mat-dialog-close\", \"matDialogClose\"], exportAs: [\"matDialogClose\"] }, { kind: \"directive\", type: i1$1.MatLegacyDialogContent, selector: \"[mat-dialog-content], mat-dialog-content, [matDialogContent]\" }, { kind: \"directive\", type: i1$1.MatLegacyDialogActions, selector: \"[mat-dialog-actions], mat-dialog-actions, [matDialogActions]\", inputs: [\"align\"] }, { kind: \"component\", type: i2$4.ContextFormComponent, selector: \"classifieds-ui-context-form\", inputs: [\"context\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ContextDialogComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-context-dialog', template: \"<form class=\\\"context-form\\\" [formGroup]=\\\"contextForm\\\" (ngSubmit)=\\\"submit()\\\">\\n <mat-dialog-content>\\n <classifieds-ui-context-form formControlName=\\\"context\\\" [context]=\\\"context\\\"></classifieds-ui-context-form>\\n </mat-dialog-content>\\n <mat-dialog-actions>\\n <button type=\\\"submit\\\" mat-raised-button color=\\\"primary\\\" mat-dialog-close [disabled]=\\\"!contextForm.valid\\\">Save</button>\\n </mat-dialog-actions>\\n</form>\\n\" }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [MAT_LEGACY_DIALOG_DATA]\n }] }, { type: i1$1.MatLegacyDialogRef }, { type: i1$2.UntypedFormBuilder }]; }, propDecorators: { contextFormComp: [{\n type: ViewChild,\n args: [ContextFormComponent]\n }] } });\n\nclass PanelPropsDialogComponent {\n constructor(data, dialogRef, fb) {\n this.data = data;\n this.dialogRef = dialogRef;\n this.fb = fb;\n this.propsForm = this.fb.group({\n name: this.fb.control(this.data.props.name),\n label: this.fb.control(this.data.props.label),\n });\n }\n ngOnInit() {\n }\n submit() {\n this.dialogRef.close(new PanelPropsFormPayload(this.propsForm.value));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelPropsDialogComponent, deps: [{ token: MAT_LEGACY_DIALOG_DATA }, { token: i1$1.MatLegacyDialogRef }, { token: i1$2.UntypedFormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: PanelPropsDialogComponent, selector: \"classifieds-ui-panel-props-dialog\", ngImport: i0, template: \"<form class=\\\"props-form\\\" [formGroup]=\\\"propsForm\\\" (ngSubmit)=\\\"submit()\\\">\\n <mat-dialog-content>\\n <div class=\\\"content-inner\\\">\\n <div fxLayout=\\\"column\\\">\\n <mat-form-field>\\n <input matInput formControlName=\\\"name\\\" placeholder=\\\"Name\\\">\\n </mat-form-field>\\n <mat-form-field>\\n <input matInput formControlName=\\\"label\\\" placeholder=\\\"Label\\\">\\n </mat-form-field>\\n </div>\\n </div>\\n </mat-dialog-content>\\n <mat-dialog-actions>\\n <button type=\\\"submit\\\" mat-raised-button color=\\\"primary\\\" mat-dialog-close [disabled]=\\\"!propsForm.valid\\\">Save</button>\\n </mat-dialog-actions>\\n</form>\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i1$2.ɵNgNoValidate, selector: \"form:not([ngNoForm]):not([ngNativeValidate])\" }, { kind: \"directive\", type: i1$2.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i1$2.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1$2.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1$2.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1$2.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: i3$2.MatLegacyButton, selector: \"button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]\", inputs: [\"disabled\", \"disableRipple\", \"color\"], exportAs: [\"matButton\"] }, { kind: \"directive\", type: i1$1.MatLegacyDialogClose, selector: \"[mat-dialog-close], [matDialogClose]\", inputs: [\"aria-label\", \"type\", \"mat-dialog-close\", \"matDialogClose\"], exportAs: [\"matDialogClose\"] }, { kind: \"directive\", type: i1$1.MatLegacyDialogContent, selector: \"[mat-dialog-content], mat-dialog-content, [matDialogContent]\" }, { kind: \"directive\", type: i1$1.MatLegacyDialogActions, selector: \"[mat-dialog-actions], mat-dialog-actions, [matDialogActions]\", inputs: [\"align\"] }, { kind: \"component\", type: i8$1.MatLegacyFormField, selector: \"mat-form-field\", inputs: [\"color\", \"appearance\", \"hideRequiredMarker\", \"hintLabel\", \"floatLabel\"], exportAs: [\"matFormField\"] }, { kind: \"directive\", type: i5$1.MatLegacyInput, selector: \"input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]\", exportAs: [\"matInput\"] }, { kind: \"directive\", type: i6$2.DefaultLayoutDirective, selector: \" [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]\", inputs: [\"fxLayout\", \"fxLayout.xs\", \"fxLayout.sm\", \"fxLayout.md\", \"fxLayout.lg\", \"fxLayout.xl\", \"fxLayout.lt-sm\", \"fxLayout.lt-md\", \"fxLayout.lt-lg\", \"fxLayout.lt-xl\", \"fxLayout.gt-xs\", \"fxLayout.gt-sm\", \"fxLayout.gt-md\", \"fxLayout.gt-lg\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelPropsDialogComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-panel-props-dialog', template: \"<form class=\\\"props-form\\\" [formGroup]=\\\"propsForm\\\" (ngSubmit)=\\\"submit()\\\">\\n <mat-dialog-content>\\n <div class=\\\"content-inner\\\">\\n <div fxLayout=\\\"column\\\">\\n <mat-form-field>\\n <input matInput formControlName=\\\"name\\\" placeholder=\\\"Name\\\">\\n </mat-form-field>\\n <mat-form-field>\\n <input matInput formControlName=\\\"label\\\" placeholder=\\\"Label\\\">\\n </mat-form-field>\\n </div>\\n </div>\\n </mat-dialog-content>\\n <mat-dialog-actions>\\n <button type=\\\"submit\\\" mat-raised-button color=\\\"primary\\\" mat-dialog-close [disabled]=\\\"!propsForm.valid\\\">Save</button>\\n </mat-dialog-actions>\\n</form>\\n\" }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [MAT_LEGACY_DIALOG_DATA]\n }] }, { type: i1$1.MatLegacyDialogRef }, { type: i1$2.UntypedFormBuilder }]; } });\n\nclass PanePropsDialogComponent {\n constructor(data, dialogRef, fb) {\n this.data = data;\n this.dialogRef = dialogRef;\n this.fb = fb;\n this.propsForm = this.fb.group({\n name: this.fb.control(this.data.props.name),\n label: this.fb.control(this.data.props.label),\n });\n }\n ngOnInit() {\n }\n submit() {\n this.dialogRef.close(new PanePropsFormPayload(this.propsForm.value));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanePropsDialogComponent, deps: [{ token: MAT_LEGACY_DIALOG_DATA }, { token: i1$1.MatLegacyDialogRef }, { token: i1$2.UntypedFormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: PanePropsDialogComponent, selector: \"classifieds-ui-pane-props-dialog\", ngImport: i0, template: \"<form class=\\\"props-form\\\" [formGroup]=\\\"propsForm\\\" (ngSubmit)=\\\"submit()\\\">\\n <mat-dialog-content>\\n <div class=\\\"content-inner\\\">\\n <div fxLayout=\\\"column\\\">\\n <mat-form-field>\\n <input matInput formControlName=\\\"name\\\" placeholder=\\\"Name\\\">\\n </mat-form-field>\\n <mat-form-field>\\n <input matInput formControlName=\\\"label\\\" placeholder=\\\"Label\\\">\\n </mat-form-field>\\n </div>\\n </div>\\n </mat-dialog-content>\\n <mat-dialog-actions>\\n <button type=\\\"submit\\\" mat-raised-button color=\\\"primary\\\" mat-dialog-close [disabled]=\\\"!propsForm.valid\\\">Save</button>\\n </mat-dialog-actions>\\n</form>\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i1$2.ɵNgNoValidate, selector: \"form:not([ngNoForm]):not([ngNativeValidate])\" }, { kind: \"directive\", type: i1$2.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i1$2.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1$2.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1$2.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1$2.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: i3$2.MatLegacyButton, selector: \"button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]\", inputs: [\"disabled\", \"disableRipple\", \"color\"], exportAs: [\"matButton\"] }, { kind: \"directive\", type: i1$1.MatLegacyDialogClose, selector: \"[mat-dialog-close], [matDialogClose]\", inputs: [\"aria-label\", \"type\", \"mat-dialog-close\", \"matDialogClose\"], exportAs: [\"matDialogClose\"] }, { kind: \"directive\", type: i1$1.MatLegacyDialogContent, selector: \"[mat-dialog-content], mat-dialog-content, [matDialogContent]\" }, { kind: \"directive\", type: i1$1.MatLegacyDialogActions, selector: \"[mat-dialog-actions], mat-dialog-actions, [matDialogActions]\", inputs: [\"align\"] }, { kind: \"component\", type: i8$1.MatLegacyFormField, selector: \"mat-form-field\", inputs: [\"color\", \"appearance\", \"hideRequiredMarker\", \"hintLabel\", \"floatLabel\"], exportAs: [\"matFormField\"] }, { kind: \"directive\", type: i5$1.MatLegacyInput, selector: \"input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]\", exportAs: [\"matInput\"] }, { kind: \"directive\", type: i6$2.DefaultLayoutDirective, selector: \" [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]\", inputs: [\"fxLayout\", \"fxLayout.xs\", \"fxLayout.sm\", \"fxLayout.md\", \"fxLayout.lg\", \"fxLayout.xl\", \"fxLayout.lt-sm\", \"fxLayout.lt-md\", \"fxLayout.lt-lg\", \"fxLayout.lt-xl\", \"fxLayout.gt-xs\", \"fxLayout.gt-sm\", \"fxLayout.gt-md\", \"fxLayout.gt-lg\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanePropsDialogComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-pane-props-dialog', template: \"<form class=\\\"props-form\\\" [formGroup]=\\\"propsForm\\\" (ngSubmit)=\\\"submit()\\\">\\n <mat-dialog-content>\\n <div class=\\\"content-inner\\\">\\n <div fxLayout=\\\"column\\\">\\n <mat-form-field>\\n <input matInput formControlName=\\\"name\\\" placeholder=\\\"Name\\\">\\n </mat-form-field>\\n <mat-form-field>\\n <input matInput formControlName=\\\"label\\\" placeholder=\\\"Label\\\">\\n </mat-form-field>\\n </div>\\n </div>\\n </mat-dialog-content>\\n <mat-dialog-actions>\\n <button type=\\\"submit\\\" mat-raised-button color=\\\"primary\\\" mat-dialog-close [disabled]=\\\"!propsForm.valid\\\">Save</button>\\n </mat-dialog-actions>\\n</form>\\n\" }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [MAT_LEGACY_DIALOG_DATA]\n }] }, { type: i1$1.MatLegacyDialogRef }, { type: i1$2.UntypedFormBuilder }]; } });\n\nclass LayoutEditorHostDirective {\n constructor(viewContainerRef) {\n this.viewContainerRef = viewContainerRef;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: LayoutEditorHostDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: LayoutEditorHostDirective, selector: \"[classifiedsUiLayoutEditorHost]\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: LayoutEditorHostDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[classifiedsUiLayoutEditorHost]'\n }]\n }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });\n\nclass PaneContentHostDirective {\n constructor(viewContainerRef) {\n this.viewContainerRef = viewContainerRef;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PaneContentHostDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: PaneContentHostDirective, selector: \"[classifiedsUiPaneContentHost]\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PaneContentHostDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[classifiedsUiPaneContentHost]'\n }]\n }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });\n\nclass PaneStateContextResolver {\n /*resolverCache$ = new Map<string, Observable<any>>();\n \n get entities$(): Observable<Array<PanelPageState>> {\n return this.entityServices.getEntityCollectionService('PanelPageState').entities$.pipe(\n tap(e => {\n console.log('entities in store');\n console.log(e);\n })\n );\n }\n \n get panelPage$(): Observable<PanelPage> {\n return combineLatest([this.pageBuilderFacade.getPageInfo$, this.entityServices.getEntityCollectionService('PanelPage').entities$]).pipe(\n // map(([p, entities]) => [this.fakePageInfo , entities]),\n map<[PanelPageStateSlice, Array<PanelPage>], PanelPage>(([p, entities]) => p && p.id !== undefined && p.id !== '' && p.id !== null ? entities.findIndex(e => e.id === p.id) !== -1 ? entities.find(e => e.id === p.id) : undefined : undefined)\n );\n }\n \n get fakePageInfo(): PanelPageStateSlice {\n return new PanelPageStateSlice({ id: '948d6e7b-12ab-11ec-8ecd-661fdd19e6df', path: '', realPath: '', args: new Map<string, string>()});\n }*/\n get entityCollectionService() {\n return this.entityServices.getEntityCollectionService('PanelPageState');\n }\n constructor(entityServices, \n // private pageBuilderFacade: PageBuilderFacade,\n // private panelStateConverterService: PanelStateConverterService,\n attributeSerializer) {\n this.entityServices = entityServices;\n this.attributeSerializer = attributeSerializer;\n }\n resolve(ctx, data) {\n const selectEntities = (entities) => entities.entities;\n const selectById = ({ id }) => createSelector(selectEntities, entities => entities[id] ? entities[id] : undefined);\n const selectByPath = ({ id, path }) => createSelector(selectById({ id }), json => JSONPath({ path, json }));\n const path = '$.' + data.selectionPath.map((index, i) => `${(i + 1) % 2 === 0 ? 'panes' : (i === 0 ? '' : 'nestedPage.') + 'panels'}[${index}]`).join('.');\n return this.entityCollectionService.collection$.pipe(select(selectByPath({ id: data.id, path })), map(m => m && Array.isArray(m) && m.length !== 0 ? m[0] : this.defaultPaneState(data.value ? data.value : {})), map(ps => this.attributeSerializer.deserialize(ps.state)), map(value => value ? value.root ? value.root : value : {}), tap(v => {\n console.log(`resolved panestate[id=${data.id}]${path}`);\n console.log(v);\n }));\n /*(const cacheKey = data && data.selectionPath && data.selectionPath.length !== 0 && data.id && data.id !== null && data.id !== '' ? `ps[id=${data.id}]${data.selectionPath.map(i => `${i}`).join('')}` : undefined;\n if (cacheKey && this.resolverCache$.has(cacheKey)) {\n return this.resolverCache$.get(cacheKey);\n } else {\n const resolver = this.resolve$(ctx, data);\n if (cacheKey) {\n this.resolverCache$.set(cacheKey, resolver);\n }\n return resolver;\n }*/\n }\n /*resolve$(ctx: ContextPlugin, data?: any): Observable<any> {\n return combineLatest([this.panelPage$, this.entities$]).pipe(\n map<[PanelPage, Array<PanelPageState>], [PanelPage, PanelPageState]>(([pp, entities]) => [pp, pp && entities.findIndex(e => e.id === pp.id) !== -1 ? entities.find(e => e.id === pp.id) : new PanelPageState()]),\n switchMap(([pp, ps]) => this.pageBuilderFacade.getSelectionPath$.pipe(\n map(selectionPath => data && data.selectionPath ? data.selectionPath : selectionPath), // temp hard code to see if context change is triggered\n tap(selectionPath => selectionPath.join(',')),\n map(s => s.map((index, i) => `${(i + 1) % 2 === 0 ? 'panes' : (i === 0 ? '' : 'nestedPage.') + 'panels'}[${index}]`)),\n map(s => s.length === 0 ? undefined : '$.' + s.join('.')),\n map<string, [PanelPage, PanelPageState, string]>(s => [pp, ps, s])\n )),\n tap(([pp, ps, query]) => {\n console.log('page state context resolver');\n console.log(pp);\n console.log('query: ' + query);\n }),\n switchMap(([pp, ps, query]) => iif<[PanelPageState, string], [PanelPageState, string]>(\n () => !!pp && !ps,\n this.panelStateConverterService.convertPageToState(pp).pipe(\n map(state => new PanelPageState({ ...state, panels: state.panels.map(p => new PanelState({ ...p, panes: p.panes.map(p2 => new PaneState({ ...p2, state: this.attributeSerializer.serialize(data.value ? data.value : {}, 'root') })) })) })),\n map<PanelPageState, [PanelPageState, string]>(state => [state, query])\n ),\n of([ps ? ps : this.defaultPaneState(data.value ? data.value : {}), query])\n )),\n tap(([state, _]) => {\n console.log('rebuilt state from realtime page');\n console.log(state);\n }),\n map(([json, path]) => path ? JSONPath({ path, json }) : this.defaultPaneState(data.value ? data.value : {})),\n map(m => m && Array.isArray(m) && m.length !== 0 ? m[0] : this.defaultPaneState(data.value ? data.value : {})),\n tap(m => {\n console.log('json path match');\n console.log(m);\n }),\n map(ps => this.attributeSerializer.deserializeAsObject(ps.state)),*/\n /*map(m => new PaneState({ ...m[0], state: this.attributeSerializer.serialize({ displayAppJs: false }, 'root') })),*/\n /*tap(s => {\n console.log('final state');\n console.log(s);\n }),\n map(s => s.root ? s.root : s.root === undefined && Object.keys(s).length === 1 ? {} : s)\n );\n}*/\n defaultPaneState(v) {\n return new PaneState({ state: this.attributeSerializer.serialize(v, 'root') });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PaneStateContextResolver, deps: [{ token: i4$2.EntityServices }, { token: i2$1.AttributeSerializerService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PaneStateContextResolver }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PaneStateContextResolver, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: i4$2.EntityServices }, { type: i2$1.AttributeSerializerService }]; } });\n\n/**\n * Putting render pane inside the same file is a documented work around for the\n * below angular partial compilation issue.\n *\n * https://angular.io/errors/NG3003\n */\nclass EditablePaneComponent {\n set panelIndex(panelIndex) {\n this.panelIndex$.next(panelIndex);\n }\n set paneIndex(paneIndex) {\n this.paneIndex$.next(paneIndex);\n }\n set ancestory(ancestory) {\n this.ancestory$.next(ancestory);\n }\n constructor(\n // @Inject(CONTENT_PLUGIN) contentPlugins: Array<ContentPlugin>,\n componentFactoryResolver, panelHandler, cpm) {\n this.componentFactoryResolver = componentFactoryResolver;\n this.panelHandler = panelHandler;\n this.cpm = cpm;\n this.settings = [];\n this.locked = false;\n this.contexts = [];\n this.edit = new EventEmitter();\n this.props = new EventEmitter();\n this.delete = new EventEmitter();\n this.rules = new EventEmitter();\n this.rendererOverride = new EventEmitter();\n this.removeRendererOverride = new EventEmitter();\n this.nestedUpdate = new EventEmitter();\n this.heightChange = new EventEmitter();\n this.displayOverride = false;\n this.hasOverride = false;\n this.preview = false;\n // private contentPlugins: Array<ContentPlugin> = [];\n this.schedulePluginChange = new Subject();\n this.pluginChangeSub = this.schedulePluginChange.pipe(switchMap(init => this.cpm.getPlugin(this.pluginName).pipe(switchMap(p => p.handler.hasRendererOverride(this.settings).pipe(map(r => [init, p, r])))))).subscribe(([init, p, r]) => {\n this.contentPlugin = p;\n this.displayOverride = p.handler.implementsRendererOverride();\n this.hasOverride = !!r;\n if (init && this.pluginName === 'panel') {\n this.panelHandler.toObject(this.settings).subscribe(p => {\n this.panelPage = p;\n });\n }\n });\n this.ancestory$ = new Subject();\n this.panelIndex$ = new Subject();\n this.paneIndex$ = new Subject();\n this.paneAncestoryWithSelf = [];\n this.paneAncestoryWithSelfSub = combineLatest([\n this.ancestory$,\n this.panelIndex$,\n this.paneIndex$\n ]).pipe(map(([ancestory, panelIndex, paneIndex]) => [...ancestory, panelIndex, paneIndex])).subscribe(a => {\n this.paneAncestoryWithSelf = a;\n });\n // this.contentPlugins = contentPlugins;\n }\n ngOnInit() {\n this.schedulePluginChange.next(true);\n console.log('here 1');\n /*this.contentPlugin = this.contentPlugins.find(p => p.name === this.pluginName);\n this.displayOverride = this.contentPlugin.handler.implementsRendererOverride();\n this.contentPlugin.handler.hasRendererOverride(this.settings).subscribe(r => this.hasOverride = !!r);\n if(this.pluginName === 'panel') {\n this.panelHandler.toObject(this.settings).subscribe(p => {\n this.panelPage = p;\n });\n }*/\n }\n ngOnChanges(changes) {\n this.schedulePluginChange.next(false);\n console.log('here 2');\n console.log(changes);\n /*this.contentPlugin = this.contentPlugins.find(p => p.name === this.pluginName);\n this.displayOverride = this.contentPlugin.handler.implementsRendererOverride();\n this.contentPlugin.handler.hasRendererOverride(this.settings).subscribe(r => this.hasOverride = !!r);*/\n }\n onEditClick() {\n this.edit.emit();\n }\n onPropsClick() {\n this.props.emit();\n }\n onRulesClick() {\n this.rules.emit();\n }\n onDeleteClick() {\n this.delete.emit();\n }\n onPreviewClick() {\n this.preview = true;\n if (this.contentPaneHost !== undefined) {\n this.renderPaneContent();\n }\n setTimeout(() => this.heightChange.emit());\n }\n onOverrideClick() {\n this.rendererOverride.emit();\n }\n onRemoveOverrideClick() {\n this.removeRendererOverride.emit();\n }\n onNestedUpdate(panelPage) {\n this.nestedUpdate.emit(panelPage);\n }\n onDisablePreviewClick() {\n this.preview = false;\n if (this.contentPaneHost !== undefined) {\n const viewContainerRef = this.contentPaneHost.viewContainerRef;\n viewContainerRef.clear();\n }\n setTimeout(() => this.heightChange.emit());\n }\n onAfterCollapse() {\n this.heightChange.emit();\n }\n onAfterExpand() {\n this.heightChange.emit();\n }\n renderPaneContent() {\n const componentFactory = this.componentFactoryResolver.resolveComponentFactory(this.contentPlugin.renderComponent);\n const viewContainerRef = this.contentPaneHost.viewContainerRef;\n viewContainerRef.clear();\n const componentRef = viewContainerRef.createComponent(componentFactory);\n componentRef.instance.settings = this.settings;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: EditablePaneComponent, deps: [{ token: i0.ComponentFactoryResolver }, { token: i2$3.PanelContentHandler }, { token: i2.ContentPluginManager }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: EditablePaneComponent, selector: \"classifieds-ui-editable-pane\", inputs: { pluginName: \"pluginName\", settings: \"settings\", name: \"name\", label: \"label\", panelIndex: \"panelIndex\", paneIndex: \"paneIndex\", locked: \"locked\", rootContext: \"rootContext\", contexts: \"contexts\", ancestory: \"ancestory\" }, outputs: { edit: \"edit\", props: \"props\", delete: \"delete\", rules: \"rules\", rendererOverride: \"rendererOverride\", removeRendererOverride: \"removeRendererOverride\", nestedUpdate: \"nestedUpdate\", heightChange: \"heightChange\" }, viewQueries: [{ propertyName: \"contentPaneHost\", first: true, predicate: PaneContentHostDirective, descendants: true }, { propertyName: \"contentEditor\", first: true, predicate: [\"contentEditor\"], descendants: true }], usesOnChanges: true, ngImport: i0, template: \"<div *ngIf=\\\"pluginName != 'panel' || locked; else nestedPanelTpl\\\" class=\\\"editable-pane-wrapper\\\">\\n <!-- <div class=\\\"pane-header\\\">\\n <button type=\\\"button\\\" (click)=\\\"onEditClick()\\\" [disabled]=\\\"locked\\\">Edit</button>\\n <button type=\\\"button\\\" (click)=\\\"onPropsClick()\\\" [disabled]=\\\"locked\\\">Props</button>\\n <button type=\\\"button\\\" (click)=\\\"onRulesClick()\\\">Rules</button>\\n <button *ngIf=\\\"!preview\\\" type=\\\"button\\\" (click)=\\\"onPreviewClick()\\\" [disabled]=\\\"locked\\\">Preview</button>\\n <button *ngIf=\\\"preview\\\" type=\\\"button\\\" (click)=\\\"onDisablePreviewClick()\\\">Disable Preview</button>\\n <button type=\\\"button\\\" class=\\\"delete\\\" (click)=\\\"onDeleteClick()\\\">Delete</button>\\n </div> -->\\n <!-- <div class=\\\"pane-header\\\">\\n <button mat-button type=\\\"button\\\" [matMenuTriggerFor]=\\\"headerMenu\\\">\\n <mat-icon>more_vert</mat-icon>\\n </button>\\n <mat-menu #headerMenu=\\\"matMenu\\\">\\n <button type=\\\"button\\\" mat-menu-item (click)=\\\"onEditClick()\\\" [disabled]=\\\"locked\\\">Edit</button>\\n <button type=\\\"button\\\" mat-menu-item (click)=\\\"onPropsClick()\\\" [disabled]=\\\"locked\\\">Props</button>\\n <button type=\\\"button\\\" mat-menu-item (click)=\\\"onRulesClick()\\\">Rules</button>\\n <button *ngIf=\\\"!preview\\\" mat-menu-item type=\\\"button\\\" (click)=\\\"onPreviewClick()\\\" [disabled]=\\\"locked\\\">Preview</button>\\n <button *ngIf=\\\"preview\\\" mat-menu-item type=\\\"button\\\" (click)=\\\"onDisablePreviewClick()\\\">Disable Preview</button>\\n <button type=\\\"button\\\" mat-menu-item class=\\\"delete\\\" (click)=\\\"onDeleteClick()\\\">Delete</button>\\n </mat-menu>\\n </div> -->\\n <div class=\\\"inner-pane-wrapper\\\" fxLayout=\\\"row\\\">\\n <div class=\\\"pane-menu-trigger-wrapper\\\">\\n <button mat-button type=\\\"button\\\" [matMenuTriggerFor]=\\\"paneMenu\\\">\\n <mat-icon>more_vert</mat-icon>\\n </button>\\n </div>\\n <mat-expansion-panel fxFlex (afterCollapse)=\\\"onAfterCollapse()\\\" (afterExpand)=\\\"onAfterExpand()\\\">\\n <mat-expansion-panel-header>\\n <mat-panel-title>{{ contentPlugin.title }} : {{ name }}</mat-panel-title>\\n </mat-expansion-panel-header>\\n <div [hidden]=\\\"preview\\\">\\n <ul>\\n <ng-container *ngTemplateOutlet=\\\"settingsTmpl; context:{ settings: settings }\\\"></ng-container>\\n </ul>\\n </div>\\n <div class=\\\"preview-area\\\" [ngClass]=\\\"{'visible': preview }\\\">\\n <button *ngIf=\\\"displayOverride && !hasOverride\\\" class=\\\"override\\\" type=\\\"button\\\" (click)=\\\"onOverrideClick()\\\">Override</button>\\n <button *ngIf=\\\"displayOverride && hasOverride\\\" class=\\\"override\\\" type=\\\"button\\\" (click)=\\\"onRemoveOverrideClick()\\\">Remove Override</button>\\n <ng-container><ng-template classifiedsUiPaneContentHost></ng-template></ng-container>\\n </div>\\n </mat-expansion-panel>\\n </div>\\n</div>\\n\\n<ng-template #settingsTmpl let-settings=\\\"settings\\\">\\n <li *ngFor=\\\"let setting of settings\\\">\\n {{ setting.displayName }}:\\n <span *ngIf=\\\"!setting.attributes || setting.attributes.length == 0\\\">{{ settings | attribute: setting.name }}</span>\\n <ul *ngIf=\\\"settings.attributes && setting.attributes.length > 0\\\">\\n <ng-container *ngTemplateOutlet=\\\"settingsTmpl; context:{ settings: setting.attributes }\\\"></ng-container>\\n </ul>\\n </li>\\n</ng-template>\\n\\n<ng-template #nestedPanelTpl>\\n <div class=\\\"nested-panel-wrapper\\\">\\n <classifieds-ui-content-editor #contentEditor [panelPage]=\\\"panelPage\\\" [savable]=\\\"false\\\" [nested]=\\\"true\\\" [locked]=\\\"locked\\\" [contexts]=\\\"contexts\\\" [rootContext]=\\\"rootContext\\\" [ancestory]=\\\"paneAncestoryWithSelf\\\" (nestedUpdate)=\\\"onNestedUpdate($event)\\\" (delete)=\\\"onDeleteClick()\\\" (rules)=\\\"onRulesClick()\\\" (props)=\\\"onPropsClick()\\\">\\n <ng-template #extraActionsArea>\\n <!-- <div class=\\\"panel-name\\\">{{ name }}</div> I don't think this is necessary anymore -->\\n </ng-template>\\n </classifieds-ui-content-editor>\\n </div>\\n</ng-template>\\n\\n<mat-menu #paneMenu=\\\"matMenu\\\">\\n <button type=\\\"button\\\" mat-menu-item (click)=\\\"onEditClick()\\\" [disabled]=\\\"locked\\\">Edit</button>\\n <button type=\\\"button\\\" mat-menu-item (click)=\\\"onPropsClick()\\\" [disabled]=\\\"locked && settings.length !== 0\\\">Props</button>\\n <button type=\\\"button\\\" mat-menu-item (click)=\\\"onRulesClick()\\\">Rules</button>\\n <button *ngIf=\\\"!preview\\\" mat-menu-item type=\\\"button\\\" (click)=\\\"onPreviewClick()\\\" [disabled]=\\\"locked\\\">Preview</button>\\n <button *ngIf=\\\"preview\\\" mat-menu-item type=\\\"button\\\" (click)=\\\"onDisablePreviewClick()\\\">Disable Preview</button>\\n <button type=\\\"button\\\" mat-menu-item class=\\\"delete\\\" (click)=\\\"onDeleteClick()\\\">Delete</button>\\n</mat-menu>\", styles: [\".editable-pane-wrapper{margin-bottom:.25em;border-radius:4px;padding-left:.25em;box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.nested-panel-wrapper{margin-bottom:.25em}.inner-pane-wrapper{padding:0}.pane-header{background-color:#ccc;padding:0}.mat-menu-trigger{min-width:0;padding:0;margin:0}button.delete{float:right}.preview-area{display:none;position:relative}.preview-area.visible{display:block;height:300px;overflow-y:scroll;border:1px solid black;padding:.5em}.panel-name{float:right;padding-right:.5em}.pane-menu-trigger-wrapper{display:flex}.mat-expansion-panel{box-shadow:none}.mat-expansion-panel-header{padding:0 1em 0 .25em}\\n\"], dependencies: [{ kind: \"directive\", type: i0.forwardRef(function () { return i3.NgClass; }), selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i0.forwardRef(function () { return i3.NgForOf; }), selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i0.forwardRef(function () { return i3.NgIf; }), selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i0.forwardRef(function () { return i3.NgTemplateOutlet; }), selector: \"[ngTemplateOutlet]\", inputs: [\"ngTemplateOutletContext\", \"ngTemplateOutlet\", \"ngTemplateOutletInjector\"] }, { kind: \"component\", type: i0.forwardRef(function () { return i3$2.MatLegacyButton; }), selector: \"button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]\", inputs: [\"disabled\", \"disableRipple\", \"color\"], exportAs: [\"matButton\"] }, { kind: \"component\", type: i0.forwardRef(function () { return i5$2.MatExpansionPanel; }), selector: \"mat-expansion-panel\", inputs: [\"disabled\", \"expanded\", \"hideToggle\", \"togglePosition\"], outputs: [\"opened\", \"closed\", \"expandedChange\", \"afterExpand\", \"afterCollapse\"], exportAs: [\"matExpansionPanel\"] }, { kind: \"component\", type: i0.forwardRef(function () { return i5$2.MatExpansionPanelHeader; }), selector: \"mat-expansion-panel-header\", inputs: [\"tabIndex\", \"expandedHeight\", \"collapsedHeight\"] }, { kind: \"directive\", type: i0.forwardRef(function () { return i5$2.MatExpansionPanelTitle; }), selector: \"mat-panel-title\" }, { kind: \"component\", type: i0.forwardRef(function () { return i6$3.MatIcon; }), selector: \"mat-icon\", inputs: [\"color\", \"inline\", \"svgIcon\", \"fontSet\", \"fontIcon\"], exportAs: [\"matIcon\"] }, { kind: \"component\", type: i0.forwardRef(function () { return i7$1.MatLegacyMenu; }), selector: \"mat-menu\", exportAs: [\"matMenu\"] }, { kind: \"component\", type: i0.forwardRef(function () { return i7$1.MatLegacyMenuItem; }), selector: \"[mat-menu-item]\", inputs: [\"disabled\", \"disableRipple\"], exportAs: [\"matMenuItem\"] }, { kind: \"directive\", type: i0.forwardRef(function () { return i7$1.MatLegacyMenuTrigger; }), selector: \"[mat-menu-trigger-for], [matMenuTriggerFor]\", exportAs: [\"matMenuTrigger\"] }, { kind: \"directive\", type: i0.forwardRef(function () { return i6$2.DefaultLayoutDirective; }), selector: \" [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]\", inputs: [\"fxLayout\", \"fxLayout.xs\", \"fxLayout.sm\", \"fxLayout.md\", \"fxLayout.lg\", \"fxLayout.xl\", \"fxLayout.lt-sm\", \"fxLayout.lt-md\", \"fxLayout.lt-lg\", \"fxLayout.lt-xl\", \"fxLayout.gt-xs\", \"fxLayout.gt-sm\", \"fxLayout.gt-md\", \"fxLayout.gt-lg\"] }, { kind: \"directive\", type: i0.forwardRef(function () { return i6$2.DefaultFlexDirective; }), selector: \" [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]\", inputs: [\"fxFlex\", \"fxFlex.xs\", \"fxFlex.sm\", \"fxFlex.md\", \"fxFlex.lg\", \"fxFlex.xl\", \"fxFlex.lt-sm\", \"fxFlex.lt-md\", \"fxFlex.lt-lg\", \"fxFlex.lt-xl\", \"fxFlex.gt-xs\", \"fxFlex.gt-sm\", \"fxFlex.gt-md\", \"fxFlex.gt-lg\"] }, { kind: \"directive\", type: i0.forwardRef(function () { return i9.DefaultClassDirective; }), selector: \" [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]\", inputs: [\"ngClass\", \"ngClass.xs\", \"ngClass.sm\", \"ngClass.md\", \"ngClass.lg\", \"ngClass.xl\", \"ngClass.lt-sm\", \"ngClass.lt-md\", \"ngClass.lt-lg\", \"ngClass.lt-xl\", \"ngClass.gt-xs\", \"ngClass.gt-sm\", \"ngClass.gt-md\", \"ngClass.gt-lg\"] }, { kind: \"component\", type: i0.forwardRef(function () { return ContentEditorComponent; }), selector: \"classifieds-ui-content-editor\", inputs: [\"panelPage\", \"savable\", \"nested\", \"locked\", \"pageBuilder\", \"contexts\", \"rootContext\", \"ancestory\"], outputs: [\"submitted\", \"nestedUpdate\", \"delete\", \"rules\", \"props\"] }, { kind: \"directive\", type: i0.forwardRef(function () { return PaneContentHostDirective; }), selector: \"[classifiedsUiPaneContentHost]\" }, { kind: \"pipe\", type: i0.forwardRef(function () { return i2$1.AttributePipe; }), name: \"attribute\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: EditablePaneComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-editable-pane', template: \"<div *ngIf=\\\"pluginName != 'panel' || locked; else nestedPanelTpl\\\" class=\\\"editable-pane-wrapper\\\">\\n <!-- <div class=\\\"pane-header\\\">\\n <button type=\\\"button\\\" (click)=\\\"onEditClick()\\\" [disabled]=\\\"locked\\\">Edit</button>\\n <button type=\\\"button\\\" (click)=\\\"onPropsClick()\\\" [disabled]=\\\"locked\\\">Props</button>\\n <button type=\\\"button\\\" (click)=\\\"onRulesClick()\\\">Rules</button>\\n <button *ngIf=\\\"!preview\\\" type=\\\"button\\\" (click)=\\\"onPreviewClick()\\\" [disabled]=\\\"locked\\\">Preview</button>\\n <button *ngIf=\\\"preview\\\" type=\\\"button\\\" (click)=\\\"onDisablePreviewClick()\\\">Disable Preview</button>\\n <button type=\\\"button\\\" class=\\\"delete\\\" (click)=\\\"onDeleteClick()\\\">Delete</button>\\n </div> -->\\n <!-- <div class=\\\"pane-header\\\">\\n <button mat-button type=\\\"button\\\" [matMenuTriggerFor]=\\\"headerMenu\\\">\\n <mat-icon>more_vert</mat-icon>\\n </button>\\n <mat-menu #headerMenu=\\\"matMenu\\\">\\n <button type=\\\"button\\\" mat-menu-item (click)=\\\"onEditClick()\\\" [disabled]=\\\"locked\\\">Edit</button>\\n <button type=\\\"button\\\" mat-menu-item (click)=\\\"onPropsClick()\\\" [disabled]=\\\"locked\\\">Props</button>\\n <button type=\\\"button\\\" mat-menu-item (click)=\\\"onRulesClick()\\\">Rules</button>\\n <button *ngIf=\\\"!preview\\\" mat-menu-item type=\\\"button\\\" (click)=\\\"onPreviewClick()\\\" [disabled]=\\\"locked\\\">Preview</button>\\n <button *ngIf=\\\"preview\\\" mat-menu-item type=\\\"button\\\" (click)=\\\"onDisablePreviewClick()\\\">Disable Preview</button>\\n <button type=\\\"button\\\" mat-menu-item class=\\\"delete\\\" (click)=\\\"onDeleteClick()\\\">Delete</button>\\n </mat-menu>\\n </div> -->\\n <div class=\\\"inner-pane-wrapper\\\" fxLayout=\\\"row\\\">\\n <div class=\\\"pane-menu-trigger-wrapper\\\">\\n <button mat-button type=\\\"button\\\" [matMenuTriggerFor]=\\\"paneMenu\\\">\\n <mat-icon>more_vert</mat-icon>\\n </button>\\n </div>\\n <mat-expansion-panel fxFlex (afterCollapse)=\\\"onAfterCollapse()\\\" (afterExpand)=\\\"onAfterExpand()\\\">\\n <mat-expansion-panel-header>\\n <mat-panel-title>{{ contentPlugin.title }} : {{ name }}</mat-panel-title>\\n </mat-expansion-panel-header>\\n <div [hidden]=\\\"preview\\\">\\n <ul>\\n <ng-container *ngTemplateOutlet=\\\"settingsTmpl; context:{ settings: settings }\\\"></ng-container>\\n </ul>\\n </div>\\n <div class=\\\"preview-area\\\" [ngClass]=\\\"{'visible': preview }\\\">\\n <button *ngIf=\\\"displayOverride && !hasOverride\\\" class=\\\"override\\\" type=\\\"button\\\" (click)=\\\"onOverrideClick()\\\">Override</button>\\n <button *ngIf=\\\"displayOverride && hasOverride\\\" class=\\\"override\\\" type=\\\"button\\\" (click)=\\\"onRemoveOverrideClick()\\\">Remove Override</button>\\n <ng-container><ng-template classifiedsUiPaneContentHost></ng-template></ng-container>\\n </div>\\n </mat-expansion-panel>\\n </div>\\n</div>\\n\\n<ng-template #settingsTmpl let-settings=\\\"settings\\\">\\n <li *ngFor=\\\"let setting of settings\\\">\\n {{ setting.displayName }}:\\n <span *ngIf=\\\"!setting.attributes || setting.attributes.length == 0\\\">{{ settings | attribute: setting.name }}</span>\\n <ul *ngIf=\\\"settings.attributes && setting.attributes.length > 0\\\">\\n <ng-container *ngTemplateOutlet=\\\"settingsTmpl; context:{ settings: setting.attributes }\\\"></ng-container>\\n </ul>\\n </li>\\n</ng-template>\\n\\n<ng-template #nestedPanelTpl>\\n <div class=\\\"nested-panel-wrapper\\\">\\n <classifieds-ui-content-editor #contentEditor [panelPage]=\\\"panelPage\\\" [savable]=\\\"false\\\" [nested]=\\\"true\\\" [locked]=\\\"locked\\\" [contexts]=\\\"contexts\\\" [rootContext]=\\\"rootContext\\\" [ancestory]=\\\"paneAncestoryWithSelf\\\" (nestedUpdate)=\\\"onNestedUpdate($event)\\\" (delete)=\\\"onDeleteClick()\\\" (rules)=\\\"onRulesClick()\\\" (props)=\\\"onPropsClick()\\\">\\n <ng-template #extraActionsArea>\\n <!-- <div class=\\\"panel-name\\\">{{ name }}</div> I don't think this is necessary anymore -->\\n </ng-template>\\n </classifieds-ui-content-editor>\\n </div>\\n</ng-template>\\n\\n<mat-menu #paneMenu=\\\"matMenu\\\">\\n <button type=\\\"button\\\" mat-menu-item (click)=\\\"onEditClick()\\\" [disabled]=\\\"locked\\\">Edit</button>\\n <button type=\\\"button\\\" mat-menu-item (click)=\\\"onPropsClick()\\\" [disabled]=\\\"locked && settings.length !== 0\\\">Props</button>\\n <button type=\\\"button\\\" mat-menu-item (click)=\\\"onRulesClick()\\\">Rules</button>\\n <button *ngIf=\\\"!preview\\\" mat-menu-item type=\\\"button\\\" (click)=\\\"onPreviewClick()\\\" [disabled]=\\\"locked\\\">Preview</button>\\n <button *ngIf=\\\"preview\\\" mat-menu-item type=\\\"button\\\" (click)=\\\"onDisablePreviewClick()\\\">Disable Preview</button>\\n <button type=\\\"button\\\" mat-menu-item class=\\\"delete\\\" (click)=\\\"onDeleteClick()\\\">Delete</button>\\n</mat-menu>\", styles: [\".editable-pane-wrapper{margin-bottom:.25em;border-radius:4px;padding-left:.25em;box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.nested-panel-wrapper{margin-bottom:.25em}.inner-pane-wrapper{padding:0}.pane-header{background-color:#ccc;padding:0}.mat-menu-trigger{min-width:0;padding:0;margin:0}button.delete{float:right}.preview-area{display:none;position:relative}.preview-area.visible{display:block;height:300px;overflow-y:scroll;border:1px solid black;padding:.5em}.panel-name{float:right;padding-right:.5em}.pane-menu-trigger-wrapper{display:flex}.mat-expansion-panel{box-shadow:none}.mat-expansion-panel-header{padding:0 1em 0 .25em}\\n\"] }]\n }], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i2$3.PanelContentHandler }, { type: i2.ContentPluginManager }]; }, propDecorators: { pluginName: [{\n type: Input\n }], settings: [{\n type: Input\n }], name: [{\n type: Input\n }], label: [{\n type: Input\n }], panelIndex: [{\n type: Input\n }], paneIndex: [{\n type: Input\n }], locked: [{\n type: Input\n }], rootContext: [{\n type: Input\n }], contexts: [{\n type: Input\n }], ancestory: [{\n type: Input\n }], edit: [{\n type: Output\n }], props: [{\n type: Output\n }], delete: [{\n type: Output\n }], rules: [{\n type: Output\n }], rendererOverride: [{\n type: Output\n }], removeRendererOverride: [{\n type: Output\n }], nestedUpdate: [{\n type: Output\n }], heightChange: [{\n type: Output\n }], contentPaneHost: [{\n type: ViewChild,\n args: [PaneContentHostDirective, { static: false }]\n }], contentEditor: [{\n type: ViewChild,\n args: ['contentEditor', { static: false }]\n }] } });\nclass ContentEditorComponent {\n set ancestory(ancestory) {\n this.ancestory$.next(ancestory);\n }\n get ancestory() {\n return this.ancestory$.value;\n }\n get panels() {\n return this.contentForm.get('panels');\n }\n get layoutType() {\n return this.contentForm.get('layoutType');\n }\n get displayType() {\n return this.contentForm.get('displayType');\n }\n get columnSettings() {\n const panelLen = this.panels.length;\n let settings = [];\n for (let i = 0; i < panelLen; i++) {\n settings = [...settings, new LayoutSetting(this.panels.at(i).get('columnSetting').value)];\n }\n return settings;\n }\n constructor(\n //@Inject(CONTENT_PLUGIN) contentPlugins: Array<ContentPlugin>,\n // @Inject(STYLE_PLUGIN) stylePlugins: Array<StylePlugin>,\n siteName, cpm, spm, lpm, cxtm, fb, bs, dialog, panelHandler, tokenizerService, componentFactoryResolver, pageBuilderFacade, paneStateContextResolver, panelsContextService\n // private contextManager: ContextManagerService\n ) {\n this.siteName = siteName;\n this.cpm = cpm;\n this.spm = spm;\n this.lpm = lpm;\n this.cxtm = cxtm;\n this.fb = fb;\n this.bs = bs;\n this.dialog = dialog;\n this.panelHandler = panelHandler;\n this.tokenizerService = tokenizerService;\n this.componentFactoryResolver = componentFactoryResolver;\n this.pageBuilderFacade = pageBuilderFacade;\n this.paneStateContextResolver = paneStateContextResolver;\n this.panelsContextService = panelsContextService;\n this.submitted = new EventEmitter();\n this.nestedUpdate = new EventEmitter();\n this.delete = new EventEmitter();\n this.rules = new EventEmitter();\n this.props = new EventEmitter();\n /*set panelPage(panelPage: PanelPage) {\n if(panelPage !== undefined) {\n this.panelPageId = panelPage.id;\n this.dashboard = [ ...panelPage.gridItems ];\n panelPage.panels.forEach((p, i) => {\n this.panels.push(this.fb.group({\n panes: this.fb.array([])\n }));\n p.panes.forEach((pp, i2) => {\n (this.panels.at(i).get('panes') as FormArray).push(this.fb.group({\n contentPlugin: pp.contentPlugin,\n name: new FormControl(pp.name),\n label: new FormControl(pp.label),\n settings: new FormArray(pp.settings.map(s => this.convertToGroup(s)))\n }));\n });\n \n });\n } else {\n this.panelPageId = undefined;\n (this.contentForm.get('panels') as FormArray).clear();\n }\n }*/\n this.savable = true;\n this.nested = false;\n this.locked = false;\n this.pageBuilder = false;\n this.contexts = [];\n this.contentAdded = new Subject();\n this.contentAdddedSub = this.contentAdded.subscribe(([panelIndex, paneIndex]) => {\n this.resolvePaneContexts(panelIndex, paneIndex);\n });\n this.dashboard = [];\n this.pageProperties = new PropertiesFormPayload();\n this.persistence = new PersistenceFormPayload();\n this.interactions = new InteractionsFormPayload();\n this.layoutSetting = new LayoutSetting();\n this.rowSettings = [];\n this.ancestory$ = new BehaviorSubject([]);\n this.onTouched = () => { };\n this.contentForm = this.fb.group({\n name: this.fb.control(''),\n title: this.fb.control(''),\n layoutType: this.fb.control('split', Validators.required),\n displayType: this.fb.control('page', Validators.required),\n panels: this.fb.array([])\n });\n this.options = {\n gridType: GridType.Fit,\n displayGrid: DisplayGrid.Always,\n pushItems: true,\n draggable: {\n enabled: true\n },\n resizable: {\n enabled: true\n },\n mobileBreakpoint: 0,\n itemChangeCallback: (item, itemComponent) => {\n // console.log(item);\n },\n itemInitCallback: (item, itemComponent) => {\n if (this.nested && item.y !== 0) {\n const matchIndex = this.gridLayout.grid.findIndex(g => g.x === item.x && g.y === item.y && g.cols === item.cols && g.rows === item.rows);\n if (this.panelPanes(matchIndex).length === 0) {\n this.gridLayout.setItemContentHeight(matchIndex, 200);\n }\n else {\n }\n }\n },\n };\n this.ancestorySub = this.ancestory$.pipe(filter(() => !!this.layoutEditorRef)).subscribe(ancestory => {\n this.layoutEditorRef.instance.ancestory = ancestory;\n });\n //this.contentPlugins = contentPlugins;\n // this.stylePlugins = stylePlugins;\n }\n ngOnInit() {\n this.contentForm.valueChanges.pipe(filter(() => this.nested), debounceTime(500)).subscribe(() => {\n //console.log('nested update');\n this.nestedUpdate.emit(this.packageFormData());\n });\n this.contentForm.get('layoutType').valueChanges.pipe(filter(v => v === 'gridless'), delay(1)).subscribe(v => {\n if (this.panels.length === 0) {\n this.panels.push(this.fb.group({\n name: new UntypedFormControl(''),\n label: new UntypedFormControl(''),\n stylePlugin: new UntypedFormControl(''),\n styleTitle: new UntypedFormControl(''),\n settings: new UntypedFormArray([]),\n panes: this.fb.array([]),\n columnSetting: this.fb.group({\n settings: this.fb.array([])\n })\n }));\n }\n });\n this.contentForm.valueChanges.pipe(filter(() => !this.nested), debounceTime(500)).subscribe(() => {\n const pp = this.packageFormData();\n this.pageBuilderFacade.setPage(pp);\n });\n }\n ngAfterViewInit() {\n this.layoutType.valueChanges.pipe(filter(() => !!this.layoutEditorHost)).subscribe(v => {\n this.renderEditorLayout(v);\n });\n if (this.layoutType.value) {\n this.renderEditorLayout(this.layoutType.value);\n }\n }\n ngAfterContentInit() {\n setTimeout(() => {\n if (!this.panelPage) {\n this.contentForm.get('layoutType').setValue('split');\n }\n }, 1000);\n }\n ngOnChanges(changes) {\n if (changes.panelPage && changes.panelPage.previousValue !== changes.panelPage.currentValue) {\n this.panels.clear();\n this.panelPageId = changes.panelPage.currentValue.panelPageId;\n this.dashboard = changes.panelPage.currentValue.gridItems.map(o => Object.assign({}, o));\n this.layoutType.setValue(changes.panelPage.currentValue.layoutType);\n this.layoutSetting = new LayoutSetting(changes.panelPage.currentValue.layoutSetting);\n this.rowSettings = changes.panelPage.currentValue.rowSettings ? changes.panelPage.currentValue.rowSettings.map(rs => new LayoutSetting(rs)) : [];\n this.persistence = changes.panelPage.currentValue.persistence ? new PersistenceFormPayload(changes.panelPage.currentValue.persistence) : new PersistenceFormPayload();\n this.interactions = changes.panelPage.currentValue.interactions ? new InteractionsFormPayload(changes.panelPage.currentValue.interactions) : new InteractionsFormPayload();\n if (!this.nested) {\n this.pageProperties = new PropertiesFormPayload({ name: changes.panelPage.currentValue.name, title: changes.panelPage.currentValue.title, path: changes.panelPage.currentValue.path, readUserIds: changes.panelPage.currentValue.entityPermissions.readUserIds, cssFile: changes.panelPage.currentValue.cssFile });\n this.contexts = changes.panelPage.currentValue.contexts;\n }\n else {\n this.pageProperties = new PropertiesFormPayload({ name: changes.panelPage.currentValue.name, title: changes.panelPage.currentValue.title, path: '', readUserIds: [], cssFile: '' });\n this.contentForm.get('name').setValue(changes.panelPage.currentValue.name);\n this.contentForm.get('title').setValue(changes.panelPage.currentValue.title);\n }\n changes.panelPage.currentValue.panels.forEach((p, i) => {\n this.panels.push(this.fb.group({\n name: new UntypedFormControl(p.name),\n label: new UntypedFormControl(p.label),\n stylePlugin: new UntypedFormControl(p.stylePlugin),\n styleTitle: new UntypedFormControl(''),\n settings: this.fb.array(p.settings !== undefined ? p.settings.map(s => this.convertToGroup(s)) : []),\n panes: this.fb.array([]),\n columnSetting: this.fb.group({\n settings: this.fb.array(p.columnSetting ? p.columnSetting.settings.map(s => this.convertToGroup(s)) : [])\n })\n }));\n if (p.stylePlugin && p.stylePlugin !== '') {\n this.spm.getPlugin(p.stylePlugin).subscribe(p => {\n this.panels.at(i).get('styleTitle').setValue(p.title);\n });\n }\n if (this.nested) {\n this.panelPanes(this.panels.length - 1).valueChanges.pipe(debounceTime(5), delay(1)).subscribe(((panelIndex) => {\n return () => {\n if (this.gridLayout !== undefined) {\n const container = this.paneContainers.find((i, index) => index === panelIndex);\n this.gridLayout.setItemContentHeight(panelIndex, container.nativeElement.offsetHeight);\n }\n };\n })(this.panels.length - 1));\n }\n p.panes.forEach((pp, i2) => {\n this.panels.at(i).get('panes').push(this.fb.group({\n contentPlugin: pp.contentPlugin,\n name: new UntypedFormControl(pp.name),\n label: new UntypedFormControl(pp.label),\n locked: new UntypedFormControl(pp.locked),\n linkedPageId: new UntypedFormControl(pp.linkedPageId),\n rule: new UntypedFormControl(pp.rule && pp.rule !== null ? { ...pp.rule, rules: pp.rule.rules && Array.isArray(pp.rule.rules) ? pp.rule.rules : [] } : { condition: '', rules: [] }),\n // rule: new FormControl({ condition: '', rules: [] }),\n settings: new UntypedFormArray(pp.settings.map(s => this.convertToGroup(s)))\n }));\n setTimeout(() => this.resolvePaneContexts(i, i2));\n });\n });\n if (this.layoutEditorRef) {\n this.layoutEditorRef.instance.layoutSetting = this.layoutSetting;\n this.layoutEditorRef.instance.rowSettings = this.rowSettings;\n this.layoutEditorRef.instance.columnSettings = this.columnSettings;\n }\n }\n }\n addContent(index) {\n console.log(this.panels.at(index));\n this.pageBuilderFacade.getPage$.pipe(switchMap(pp => this.panelsContextService.allActivePageContexts({ panelPage: pp })), take(1)).subscribe(paneContexts => {\n this.bs.open(ContentSelectorComponent, { data: { panelForm: this.panels.at(index), panelIndex: index, contexts: [...(this.rootContext ? [this.rootContext] : []), ...this.contexts, ...paneContexts] } });\n });\n }\n editPanelProps(panelIndex) {\n const name = this.panels.at(panelIndex).get('name');\n const label = this.panels.at(panelIndex).get('label');\n this.dialog\n .open(PanelPropsDialogComponent, { data: { props: new PanelPropsFormPayload({ name: name.value, label: label.value }) } })\n .afterClosed()\n .subscribe((props) => {\n if (props) {\n name.setValue(props.name);\n label.setValue(props.label);\n }\n });\n }\n editPaneProps(panelIndex, paneIndex) {\n const name = this.panelPane(panelIndex, paneIndex).get('name');\n const label = this.panelPane(panelIndex, paneIndex).get('label');\n this.dialog\n .open(PanePropsDialogComponent, { data: { props: new PanePropsFormPayload({ name: name.value, label: label.value }) } })\n .afterClosed()\n .subscribe((props) => {\n if (props) {\n name.setValue(props.name);\n label.setValue(props.label);\n }\n });\n }\n applyStyle(index) {\n this.bs.open(StyleSelectorComponent, { data: { panelForm: this.panels.controls[index], panelIndex: index, contexts: this.contexts } });\n }\n removeStyle(index) {\n this.panels.controls[index].get('stylePlugin').setValue('');\n this.panels.controls[index].get('styleTitle').setValue('');\n }\n onItemAdded() {\n console.log('item added');\n this.panels.push(this.fb.group({\n name: new UntypedFormControl(''),\n label: new UntypedFormControl(''),\n stylePlugin: new UntypedFormControl(''),\n styleTitle: new UntypedFormControl(''),\n settings: new UntypedFormArray([]),\n panes: this.fb.array([]),\n columnSetting: this.fb.group({\n settings: this.fb.array([])\n })\n }));\n if (this.nested && this.gridLayout !== undefined) {\n setTimeout(() => {\n this.paneContainers.forEach((p, i) => {\n this.gridLayout.setItemContentHeight(i, p.nativeElement.offsetHeight);\n });\n });\n }\n this.panelPanes(this.panels.length - 1).valueChanges.pipe(filter(() => this.nested && this.gridLayout !== undefined), debounceTime(5), delay(1)).subscribe(((panelIndex) => {\n return () => {\n const container = this.paneContainers.find((i, index) => index === panelIndex);\n this.gridLayout.setItemContentHeight(panelIndex, container.nativeElement.offsetHeight);\n };\n })(this.panels.length - 1));\n if (this.layoutEditorRef) {\n this.layoutEditorRef.instance.columnSettings = this.columnSettings;\n }\n }\n onItemRemoved(index) {\n this.panels.removeAt(index);\n if (this.nested && this.gridLayout !== undefined) {\n setTimeout(() => {\n this.paneContainers.forEach((p, i) => {\n this.gridLayout.setItemContentHeight(i, p.nativeElement.offsetHeight);\n });\n });\n }\n if (this.layoutEditorRef) {\n this.layoutEditorRef.instance.columnSettings = this.columnSettings;\n }\n }\n onDrop(evt) {\n console.log(evt);\n const newPanelIndex = +evt.container.data;\n const oldPanelIndex = +evt.previousContainer.data;\n if (newPanelIndex === oldPanelIndex) {\n const dir = evt.currentIndex > evt.previousIndex ? 1 : -1;\n const from = evt.previousIndex;\n const to = evt.currentIndex;\n const temp = this.panelPanes(newPanelIndex).at(from);\n for (let i = from; i * dir < to * dir; i = i + dir) {\n const current = this.panelPanes(newPanelIndex).at(i + dir);\n this.panelPanes(newPanelIndex).setControl(i, current);\n }\n this.panelPanes(newPanelIndex).setControl(to, temp);\n }\n else {\n const temp = this.panelPanes(oldPanelIndex).at(evt.previousIndex);\n this.panelPanes(oldPanelIndex).removeAt(evt.previousIndex);\n this.panelPanes(newPanelIndex).insert(evt.currentIndex, temp);\n }\n }\n onOverrideRenderer(index, index2) {\n const pane = new Pane(this.panelPane(index, index2).value);\n this.dialog.open(RenderingEditorComponent, { data: { panelFormGroup: this.panels.at(index), paneIndex: index2, pane } });\n }\n onRemoveOverrideRenderer(index, index2) {\n const formArray = this.panelPane(index, index2).get('settings');\n let rendererIndex;\n formArray.controls.forEach((c, i) => {\n if (c.get('name').value === '_renderer') {\n rendererIndex = i;\n }\n });\n if (rendererIndex !== undefined) {\n formArray.removeAt(rendererIndex);\n }\n }\n onNestedUpdate(panelPage, index, index2) {\n const settings = this.panelHandler.buildSettings(panelPage);\n const formArray = this.panelPane(index, index2).get('settings');\n formArray.clear();\n settings.forEach(s => formArray.push(this.convertToGroup(s)));\n }\n onPaneHeightChange(panelIndex) {\n if (this.nested && this.gridLayout) {\n const container = this.paneContainers.find((i, index) => index === panelIndex);\n this.gridLayout.setItemContentHeight(panelIndex, container.nativeElement.offsetHeight);\n }\n }\n onDeleteClick() {\n this.delete.emit();\n }\n onRulesClick() {\n this.rules.emit();\n }\n /*onPropsClick() {\n this.props.emit();\n }*/\n onPropertiesClick() {\n this.props.emit();\n this.dialog\n .open(PropertiesDialogComponent, { data: { props: this.pageProperties } })\n .afterClosed()\n .subscribe((props) => {\n if (props) {\n this.pageProperties = new PropertiesFormPayload({ ...props });\n this.contentForm.get('name').setValue(props.name);\n this.contentForm.get('title').setValue(props.title);\n }\n });\n }\n /*onRulesPane(index: number, index2: number) {\n const pane = new Pane(this.panelPane(index, index2).value);\n const rule = this.panelPane(index, index2).get('rule').value !== '' ? this.panelPane(index, index2).get('rule').value as NgRule : undefined;\n \n const bindings$: Array<Observable<[number, Array<ContentBinding>]>> = [];\n this.panelPanes(index).controls.forEach((c, i) => {\n if(i !== index2) {\n const pane = new Pane({ ...c.value });\n const plugin = this.contentPlugins.find(p => p.name === pane.contentPlugin);\n if(plugin.handler !== undefined && plugin.handler.isDynamic(pane.settings)) {\n bindings$.push(plugin.handler.getBindings(pane.settings, 'pane').pipe(\n map(bindings => [i, bindings])\n ));\n }\n }\n });\n \n if(bindings$.length !== 0) {\n forkJoin(bindings$).pipe(\n map(pb => pb.reduce<Array<number>>((p, [i, b]) => [ ...p, ...(b.findIndex(cb => cb.type === 'pane' && cb.id === pane.name) > -1 ? [ i ] : []) ], [])),\n map(indexes => indexes.length === 0 ? undefined : indexes[0]),\n switchMap(i => iif(\n () => i !== undefined,\n this.contentPlugins.find(c => c.name === new Pane({ ...this.panelPane(index, i).value }).contentPlugin).handler.fetchDynamicData(new Pane({ ...this.panelPane(index, i).value }).settings, new Map<string, any>([ ['tag', uuid.v4()], ['contexts', [ ...this.contexts ]] ])),\n of(new Dataset())\n ))\n ).subscribe(dataset => {\n const contexts = [ ...(dataset.results.length > 0 ? [ ...this.contexts, new InlineContext({ name: '_root', adaptor: 'data', data: dataset.results[0] })] : this.contexts) ];\n this.dialog\n .open(RulesDialogComponent, { data: { rule, contexts } })\n .afterClosed()\n .subscribe(r => {\n this.panelPane(index, index2).get('rule').setValue(r ? r : rule ? rule : undefined);\n });\n });\n } else {\n console.log(this.contexts);\n this.dialog\n .open(RulesDialogComponent, { data: { rule, contexts: [ ...(this.rootContext ? [ this.rootContext ] : [] ), ...this.contexts ] } })\n .afterClosed()\n .subscribe(r => {\n this.panelPane(index, index2).get('rule').setValue(r ? r : rule ? rule : undefined);\n });\n }\n \n }*/\n onRulesPane(index, index2) {\n const pane = new Pane(this.panelPane(index, index2).value);\n const rule = this.panelPane(index, index2).get('rule').value !== '' ? this.panelPane(index, index2).get('rule').value : undefined;\n const [editablePane] = this.editablePanes.filter((ep, i) => ep.name === pane.name);\n this.pageBuilderFacade.getPage$.pipe(tap(() => {\n this.pageBuilderFacade.setSelectionPath([...this.ancestory, index, index2]);\n }), switchMap(pp => this.panelsContextService.allActivePageContexts({ panelPage: pp })), switchMap(paneContexts => this.dialog\n .open(RulesDialogComponent, { data: { rule, contexts: [...(editablePane.rootContext ? [editablePane.rootContext] : this.rootContext ? [this.rootContext] : []), ...this.contexts, ...paneContexts] } })\n .afterClosed()), take(1)).subscribe(r => {\n this.panelPane(index, index2).get('rule').setValue(r ? r : rule ? rule : undefined);\n });\n }\n onDeletePane(index, index2) {\n console.log(`delete nested pane: ${index} | ${index2}`);\n }\n onAddContextClick() {\n const pp = this.packageFormData();\n this.pageBuilderFacade.setPage(pp);\n this.dialog.open(ContextDialogComponent, { data: {} })\n .afterClosed()\n .subscribe((context) => {\n if (context) {\n this.contexts = [...this.contexts, context];\n }\n });\n }\n onEditContext(name) {\n const editContext = this.contexts.find(c => c.name === name);\n console.log(editContext);\n if (editContext) {\n const pp = this.packageFormData();\n this.pageBuilderFacade.setPage(pp);\n this.dialog.open(ContextDialogComponent, { data: { context: editContext } })\n .afterClosed()\n .subscribe((context) => {\n if (context) {\n this.contexts = this.contexts.map(c => c.name === name ? new InlineContext(context) : c);\n }\n });\n }\n }\n onLayoutSettingChange(evt) {\n this.layoutSetting = new LayoutSetting(evt);\n if (this.nested) {\n this.nestedUpdate.emit(this.packageFormData());\n }\n if (this.layoutEditorRef) {\n this.layoutEditorRef.instance.layoutSetting = this.layoutSetting;\n }\n }\n onRowSettingsChange(evt) {\n this.rowSettings = evt.map(s => new LayoutSetting(s));\n if (this.nested) {\n this.nestedUpdate.emit(this.packageFormData());\n }\n if (this.layoutEditorRef) {\n this.layoutEditorRef.instance.rowSettings = this.rowSettings;\n }\n }\n onColumnSettingsChange(evt) {\n const len = this.panels.length;\n for (let i = 0; i < len; i++) {\n this.panels.at(i).get('columnSetting').get('settings').clear();\n for (let j = 0; j < evt[i].settings.length; j++) {\n this.panels.at(i).get('columnSetting').get('settings').push(this.convertToGroup(evt[i].settings[j]));\n }\n }\n if (this.nested) {\n this.nestedUpdate.emit(this.packageFormData());\n }\n if (this.layoutEditorRef) {\n this.layoutEditorRef.instance.columnSettings = this.columnSettings;\n }\n }\n submit() {\n this.submitted.emit(this.packageFormData());\n }\n packageFormData() {\n //this.syncNestedPanelPages();\n const gridItems = this.layoutEditorRef.instance.gridItems;\n /*switch(this.layoutType.value) {\n case 'grid':\n gridItems = this.gridLayout.grid.map((gi, i) => ({ ...gi, weight: i }));\n break;\n case 'split':\n // gridItems = this.splitLayout.dashboard.map((gi, i) => ({ ...gi, cols: Math.floor(gi.cols), weight: i }));\n gridItems = this.layoutEditorRef.instance.gridItems;\n break;\n default:\n }*/\n const panelPage = new PanelPage({\n id: this.panelPageId,\n title: this.pageProperties.title,\n name: this.pageProperties.name,\n site: this.siteName,\n path: this.pageProperties.path,\n cssFile: this.pageProperties.cssFile,\n displayType: this.displayType.value,\n layoutType: this.layoutType.value,\n gridItems,\n contexts: this.contexts,\n panels: this.panels.value,\n layoutSetting: new LayoutSetting(this.layoutSetting),\n rowSettings: this.rowSettings.map(rs => new LayoutSetting(rs)),\n persistence: this.persistence,\n interactions: this.interactions,\n entityPermissions: {\n readUserIds: this.pageProperties.readUserIds,\n writeUserIds: [],\n deleteUserIds: []\n }\n });\n console.log(panelPage);\n return panelPage;\n }\n syncNestedPanelPages() {\n console.log('sync nested');\n this.editablePanes.forEach(p => {\n if (p.contentEditor !== undefined) {\n const settings = this.panelHandler.buildSettings(p.contentEditor.packageFormData());\n const formArray = this.panelPane(p.panelIndex, p.paneIndex).get('settings');\n formArray.clear();\n settings.forEach(s => formArray.push(this.convertToGroup(s)));\n }\n });\n }\n resolvePaneContexts(panelIndex, paneIndex) {\n const pane = new Pane(this.panelPane(panelIndex, paneIndex).value);\n const controls = this.panelPanes(panelIndex).controls;\n // const plugin = this.contentPlugins.find(p => p.id === pane.contentPlugin);\n this.cpm.getPlugin(pane.contentPlugin).pipe(filter(p => p.handler !== undefined && p.handler.isDynamic(pane.settings)), switchMap((p) => p.handler.fetchDynamicData(pane.settings, new Map([['tag', uuid.v4()], ['contexts', [...this.contexts]]])).pipe(map(dataset => new InlineContext({ name: '_root', adaptor: 'data', data: dataset.length !== 0 ? dataset.results[0] : {} })), switchMap(context => p.handler.getBindings(pane.settings, 'pane').pipe(map(bindings => [context, bindings.map(b => controls.findIndex(p => new Pane(p.value).name === b.id))])))))).subscribe(([context, paneIndexes]) => {\n this.editablePanes.forEach((p, i) => {\n if (paneIndexes.findIndex(pi => pi === i) > -1) {\n p.rootContext = context;\n }\n });\n });\n /*if(plugin.handler !== undefined && plugin.handler.isDynamic(pane.settings)) {\n plugin.handler.fetchDynamicData(pane.settings, new Map<string, any>([ ['tag', uuid.v4()], ['contexts', [ ...this.contexts ]] ])).pipe(\n map(dataset => new InlineContext({ name: '_root', adaptor: 'data', data: dataset.results[0] })),\n switchMap(context => plugin.handler.getBindings(pane.settings, 'pane').pipe(\n map<Array<ContentBinding>, [InlineContext, Array<number>]>(bindings => [context, bindings.map(b => controls.findIndex(p => new Pane(p.value).name === b.id))])\n ))\n ).subscribe(([context, paneIndexes]) => {\n this.editablePanes.forEach((p, i) => {\n if(paneIndexes.findIndex(pi => pi === i) > -1) {\n p.rootContext = context;\n }\n });\n })\n }*/\n }\n onPersistenceClick() {\n this.dialog.open(PersistenceDialogComponent, { data: { persistence: this.persistence, contexts: this.contexts } })\n .afterClosed()\n .subscribe((payload) => {\n console.log('persistence closed', payload);\n this.persistence = payload ? payload : this.persistence;\n });\n }\n onInteractionsClick() {\n this.dialog.open(InteractionsDialogComponent, {\n data: { interactions: this.interactions, contexts: this.contexts },\n ...{ maxWidth: '100vw', maxHeight: '100vh', height: '100%', width: '100%' }\n })\n .afterClosed()\n .subscribe((payload) => {\n console.log('interactions closed', payload);\n this.interactions = payload ? payload : this.interactions;\n });\n }\n panelPanes(index) {\n return this.panels.at(index).get('panes');\n }\n panelPane(index, index2) {\n return this.panelPanes(index).at(index2);\n }\n panelPanePlugin(index, index2) {\n return this.panelPane(index, index2).get('contentPlugin').value;\n }\n panelPaneSettings(index, index2) {\n // return this.panelPane(index, index2).get('settings').value.map(s => new AttributeValue(s));\n // console.log(this.panelPane(index, index2).get('settings').value);\n // NOTE: No that we no longer cast to a new value its possible settings can be missing props which can cause a proplem if code expewcts the actual data model.\n return this.panelPane(index, index2).get('settings').value;\n }\n panelPaneName(index, index2) {\n return this.panelPane(index, index2).get('name').value;\n }\n panelPaneLabel(index, index2) {\n return this.panelPane(index, index2).get('label').value;\n }\n panelPaneLocked(index, index2) {\n if (this.locked) {\n return this.locked;\n }\n const locked = this.panelPane(index, index2).get('locked');\n return locked !== null ? locked.value : false;\n }\n panelPaneIsNested(index, index2) {\n return this.panelPanePlugin(index, index2) === 'panel';\n }\n panelPanePanelPage(index, index2) {\n let panelPage;\n this.panelHandler.toObject(this.panelPaneSettings(index, index2)).subscribe(p => {\n panelPage = p;\n });\n return panelPage;\n }\n hasPanelStyle(index) {\n return this.panels.at(index).get('stylePlugin').value !== undefined && this.panels.at(index).get('stylePlugin').value !== '';\n }\n panelStyleTitle(index) {\n return this.panels.at(index).get('styleTitle').value;\n }\n onPaneEdit(index, index2) {\n const pane = new Pane(this.panelPane(index, index2).value);\n const plugin = this.panelPanePlugin(index, index2);\n const [editablePane] = this.editablePanes.filter((ep, i) => ep.name === pane.name);\n /*const contentPlugin = this.contentPlugins.find(p => p.name === plugin);\n if(contentPlugin.editorComponent !== undefined) {\n const dialogRef = this.dialog.open(contentPlugin.editorComponent, { data: { panelFormGroup: this.panels.at(index), panelIndex: index, paneIndex: index2, contexts: this.contexts, contentAdded: this.contentAdded, pane } })\n .afterClosed()\n .subscribe(() => {\n this.resolvePaneContexts(index, index2);\n })\n }*/\n /*maxWidth: '100vw',\n maxHeight: '100vh',\n height: '100%',\n width: '100%'*/\n this.cpm.getPlugin(plugin).pipe(filter(p => p.editorComponent !== undefined), switchMap(p => this.pageBuilderFacade.getPage$.pipe(switchMap(pp => this.panelsContextService.allActivePageContexts({ panelPage: pp }).pipe(map(paneContexts => [p, paneContexts]), take(1))), take(1))), switchMap(([p, paneContexts]) => p.handler ?\n p.handler.editorOptions(pane.settings).pipe(map(editorOptions => [p, paneContexts, editorOptions])) :\n of([p, paneContexts, new ContentPluginEditorOptions()]))).subscribe(([p, paneContexts, editorOptions]) => {\n this.dialog.open(p.editorComponent, { data: {\n panelFormGroup: this.panels.at(index),\n panelIndex: index,\n paneIndex: index2,\n contexts: [...(editablePane.rootContext ? [editablePane.rootContext] : this.rootContext ? [this.rootContext] : []), ...this.contexts, ...paneContexts],\n contentAdded: this.contentAdded, pane\n },\n ...(editorOptions.fullscreen ? { maxWidth: '100vw', maxHeight: '100vh', height: '100%', width: '100%' } : {})\n })\n .afterClosed()\n .subscribe(() => {\n this.resolvePaneContexts(index, index2);\n });\n });\n }\n onPaneDelete(index, index2) {\n this.panelPanes(index).removeAt(index2);\n }\n onFileChange(event, index) {\n const file = event.addedFiles[0];\n // const plugin = this.contentPlugins.filter(p => p.handler !== undefined).find(p => p.handler.handlesType(file.type));\n this.cpm.getPlugins().pipe(map((plugins) => Array.from(plugins.values()).filter(p => p.handler !== undefined).find(p => p.handler.handlesType(file.type))), filter(p => p !== undefined)).subscribe(p => {\n p.handler.handleFile(file).subscribe(settings => {\n this.panelPanes(index).push(this.fb.group({\n contentPlugin: p.id,\n name: new UntypedFormControl(''),\n label: new UntypedFormControl(''),\n settings: this.fb.array(settings.map(s => this.fb.group({\n name: new UntypedFormControl(s.name, Validators.required),\n type: new UntypedFormControl(s.type, Validators.required),\n displayName: new UntypedFormControl(s.displayName, Validators.required),\n value: new UntypedFormControl(s.value, Validators.required),\n computedValue: new UntypedFormControl(s.value, Validators.required),\n })))\n }));\n });\n });\n /*if(plugin !== undefined) {\n plugin.handler.handleFile(file).subscribe(settings => {\n this.panelPanes(index).push(this.fb.group({\n contentPlugin: plugin.id,\n name: new FormControl(''),\n label: new FormControl(''),\n settings: this.fb.array(settings.map(s => this.fb.group({\n name: new FormControl(s.name, Validators.required),\n type: new FormControl(s.type, Validators.required),\n displayName: new FormControl(s.displayName, Validators.required),\n value: new FormControl(s.value, Validators.required),\n computedValue: new FormControl(s.value, Validators.required),\n })))\n }));\n });\n }*/\n }\n writeValue(val) {\n if (val) {\n this.contentForm.setValue(val, { emitEvent: false });\n }\n }\n registerOnChange(fn) {\n this.contentForm.valueChanges.subscribe(fn);\n }\n registerOnTouched(fn) {\n this.onTouched = fn;\n }\n setDisabledState(isDisabled) {\n if (isDisabled) {\n this.contentForm.disable();\n }\n else {\n this.contentForm.enable();\n }\n }\n validate(c) {\n return this.contentForm.valid ? null : { invalidForm: { valid: false, message: \"content is invalid\" } };\n }\n convertToGroup(setting) {\n const fg = this.fb.group({\n name: new UntypedFormControl(setting.name, Validators.required),\n type: new UntypedFormControl(setting.type, Validators.required),\n displayName: new UntypedFormControl(setting.displayName, Validators.required),\n value: new UntypedFormControl(setting.value, Validators.required),\n computedValue: new UntypedFormControl(setting.value, Validators.required),\n attributes: new UntypedFormArray([])\n });\n if (setting.attributes && setting.attributes.length > 0) {\n setting.attributes.forEach(s => {\n fg.get('attributes').push(this.convertToGroup(s));\n });\n }\n return fg;\n }\n renderEditorLayout(layout) {\n console.log(`render editor layout ${layout}`);\n this.lpm.getPlugin(layout).subscribe(p => {\n const componentFactory = this.componentFactoryResolver.resolveComponentFactory(p.editor);\n const viewContainerRef = this.layoutEditorHost.viewContainerRef;\n viewContainerRef.clear();\n this.layoutEditorRef = viewContainerRef.createComponent(componentFactory);\n this.layoutEditorRef.instance.savable = this.savable;\n this.layoutEditorRef.instance.nested = this.nested;\n this.layoutEditorRef.instance.ancestory = this.ancestory;\n this.layoutEditorRef.instance.editor = this;\n this.layoutEditorRef.instance.extraActionsAreaTmpl = this.extraActionsAreaTmpl;\n this.layoutEditorRef.instance.contextsMenuTpl = this.contextsMenuTpl;\n this.layoutEditorRef.instance.editablePaneTpl = this.editablePaneTpl;\n this.layoutEditorRef.instance.dashboard = this.dashboard;\n this.layoutEditorRef.instance.layoutSetting = this.layoutSetting;\n this.layoutEditorRef.instance.rowSettings = this.rowSettings;\n this.layoutEditorRef.instance.columnSettings = this.columnSettings;\n });\n }\n updateEditorLayoutVars() {\n this.layoutEditorRef.instance.savable = this.savable;\n this.layoutEditorRef.instance.nested = this.nested;\n this.layoutEditorRef.instance.ancestory = this.ancestory;\n this.layoutEditorRef.instance.editor = this;\n this.layoutEditorRef.instance.extraActionsAreaTmpl = this.extraActionsAreaTmpl;\n this.layoutEditorRef.instance.contextsMenuTpl = this.contextsMenuTpl;\n this.layoutEditorRef.instance.editablePaneTpl = this.editablePaneTpl;\n this.layoutEditorRef.instance.dashboard = this.dashboard;\n this.layoutEditorRef.instance.layoutSetting = this.layoutSetting;\n this.layoutEditorRef.instance.rowSettings = this.rowSettings;\n this.layoutEditorRef.instance.columnSettings = this.columnSettings;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ContentEditorComponent, deps: [{ token: SITE_NAME }, { token: i2.ContentPluginManager }, { token: i2$3.StylePluginManager }, { token: i12.LayoutPluginManager }, { token: i2$4.ContextPluginManager }, { token: i1$2.UntypedFormBuilder }, { token: i1.MatBottomSheet }, { token: i1$1.MatLegacyDialog }, { token: i2$3.PanelContentHandler }, { token: i2$2.TokenizerService }, { token: i0.ComponentFactoryResolver }, { token: i2$3.PageBuilderFacade }, { token: PaneStateContextResolver }, { token: i2$3.PanelsContextService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: ContentEditorComponent, selector: \"classifieds-ui-content-editor\", inputs: { panelPage: \"panelPage\", savable: \"savable\", nested: \"nested\", locked: \"locked\", pageBuilder: \"pageBuilder\", contexts: \"contexts\", rootContext: \"rootContext\", ancestory: \"ancestory\" }, outputs: { submitted: \"submitted\", nestedUpdate: \"nestedUpdate\", delete: \"delete\", rules: \"rules\", props: \"props\" }, providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => ContentEditorComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => ContentEditorComponent),\n multi: true\n },\n ], queries: [{ propertyName: \"extraActionsAreaTmpl\", first: true, predicate: [\"extraActionsArea\"], descendants: true }], viewQueries: [{ propertyName: \"gridLayout\", first: true, predicate: GridLayoutComponent, descendants: true }, { propertyName: \"splitLayout\", first: true, predicate: SplitLayoutComponent, descendants: true }, { propertyName: \"layoutEditorHost\", first: true, predicate: LayoutEditorHostDirective, descendants: true }, { propertyName: \"contextsMenuTpl\", first: true, predicate: [\"contextsMenuTpl\"], descendants: true, static: true }, { propertyName: \"editablePaneTpl\", first: true, predicate: [\"editablePaneTpl\"], descendants: true, static: true }, { propertyName: \"paneContainers\", predicate: [\"panes\"], descendants: true }, { propertyName: \"editablePanes\", predicate: EditablePaneComponent, descendants: true }], usesOnChanges: true, ngImport: i0, template: \"<form *ngIf=\\\"!nested && !pageBuilder; else nestedTpl\\\" [formGroup]=\\\"contentForm\\\" (ngSubmit)=\\\"submit()\\\" class=\\\"content-editor-wrapper\\\" [ngClass]=\\\"{'nested': nested}\\\">\\n <ng-container><ng-template classifiedsUiLayoutEditorHost></ng-template></ng-container>\\n</form>\\n\\n<ng-template #nestedTpl>\\n <div [formGroup]=\\\"contentForm\\\" class=\\\"content-editor-wrapper\\\" [ngClass]=\\\"{'nested': nested}\\\">\\n <ng-container><ng-template classifiedsUiLayoutEditorHost></ng-template></ng-container>\\n </div>\\n</ng-template>\\n\\n<ng-template #editablePaneTpl let-i=\\\"i\\\" let-j=\\\"j\\\">\\n <classifieds-ui-editable-pane class=\\\"editable-pane\\\" (delete)=\\\"onDeletePane(i, j)\\\" (rules)=\\\"onRulesPane(i, j)\\\" (nestedUpdate)=\\\"onNestedUpdate($event, i, j)\\\" (rendererOverride)=\\\"onOverrideRenderer(i, j)\\\" (removeRendererOverride)=\\\"onRemoveOverrideRenderer(i, j)\\\" (edit)=\\\"onPaneEdit(i, j)\\\" (props)=\\\"editPaneProps(i, j)\\\" (delete)=\\\"onPaneDelete(i, j)\\\" [panelIndex]=\\\"i\\\" [paneIndex]=\\\"j\\\" [name]=\\\"panelPaneName(i, j)\\\" [label]=\\\"panelPaneLabel(i, j)\\\" [locked]=\\\"panelPaneLocked(i, j)\\\" [contexts]=\\\"contexts\\\" [pluginName]=\\\"panelPanePlugin(i, j)\\\" [settings]=\\\"panelPaneSettings(i, j)\\\" [ancestory]=\\\"ancestory\\\">\\n <div class=\\\"custom-placeholder\\\" *cdkDragPlaceholder></div>\\n </classifieds-ui-editable-pane>\\n</ng-template>\\n\\n<ng-template #contextsMenuTpl>\\n <button type=\\\"button\\\" mat-menu-item [matMenuTriggerFor]=\\\"contextMenu\\\" class=\\\"context-button\\\">( x )</button>\\n</ng-template>\\n\\n<mat-menu #contextMenu=\\\"matMenu\\\">\\n <button type=\\\"button\\\" mat-menu-item (click)=\\\"onAddContextClick()\\\">define variable</button>\\n <!-- <mat-divider></mat-divider> -->\\n <button *ngFor=\\\"let c of contexts\\\" type=\\\"button\\\" mat-menu-item (click)=\\\"onEditContext(c.name)\\\">{{ c.name }}</button>\\n</mat-menu>\", styles: [\".content-editor-wrapper{height:100%}.panel-inner{padding:1em}.content-editor-wrapper ::ng-deep ngx-dropzone{height:100%;display:block;padding:0;border:none}.content-editor-wrapper.nested ::ng-deep .grid-item-header{border-bottom:1px solid white}.layout-type,.display-type{float:right}.layout-type ::ng-deep .mat-form-field-wrapper,.display-type ::ng-deep .mat-form-field-wrapper{padding-bottom:1.5em}.layout-type ::ng-deep .mat-form-field-label-wrapper,.display-type ::ng-deep .mat-form-field-label-wrapper{display:none}.layout-type ::ng-deep .mat-form-field-infix,.display-type ::ng-deep .mat-form-field-infix{border-top:none;padding:0;margin:0}.layout-type ::ng-deep .mat-form-field,.display-type ::ng-deep .mat-form-field{width:85px}.layout-type ::ng-deep .mat-select-value,.display-type ::ng-deep .mat-select-value{text-align:right}.layout-type ::ng-deep .mat-form-field-underline,.display-type ::ng-deep .mat-form-field-underline{display:none}classifieds-ui-gridless-layout ::ng-deep .main-controls{background-color:#ccc}classifieds-ui-gridless-layout ::ng-deep .layout-inner{background-color:#ccc;padding:.75em}classifieds-ui-gridless-layout ::ng-deep .editable-pane-wrapper{border:none;margin-bottom:0}classifieds-ui-gridless-layout ::ng-deep .pane-header{background-color:#fff}classifieds-ui-gridless-layout ::ng-deep .nested-panel-wrapper{padding:.75em;margin-bottom:0}.custom-placeholder{background:#ccc;border:dotted 3px #999;transition:transform .25s cubic-bezier(0,0,.2,1)}.context-button{font-style:italic;font-family:serif;font-weight:bolder;font-size:medium}\\n\"], dependencies: [{ kind: \"directive\", type: i3.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i3.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i3.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i1$2.ɵNgNoValidate, selector: \"form:not([ngNoForm]):not([ngNativeValidate])\" }, { kind: \"directive\", type: i1$2.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1$2.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i19.CdkDragPlaceholder, selector: \"ng-template[cdkDragPlaceholder]\", inputs: [\"data\"] }, { kind: \"component\", type: i7$1.MatLegacyMenu, selector: \"mat-menu\", exportAs: [\"matMenu\"] }, { kind: \"component\", type: i7$1.MatLegacyMenuItem, selector: \"[mat-menu-item]\", inputs: [\"disabled\", \"disableRipple\"], exportAs: [\"matMenuItem\"] }, { kind: \"directive\", type: i7$1.MatLegacyMenuTrigger, selector: \"[mat-menu-trigger-for], [matMenuTriggerFor]\", exportAs: [\"matMenuTrigger\"] }, { kind: \"directive\", type: i9.DefaultClassDirective, selector: \" [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]\", inputs: [\"ngClass\", \"ngClass.xs\", \"ngClass.sm\", \"ngClass.md\", \"ngClass.lg\", \"ngClass.xl\", \"ngClass.lt-sm\", \"ngClass.lt-md\", \"ngClass.lt-lg\", \"ngClass.lt-xl\", \"ngClass.gt-xs\", \"ngClass.gt-sm\", \"ngClass.gt-md\", \"ngClass.gt-lg\"] }, { kind: \"directive\", type: LayoutEditorHostDirective, selector: \"[classifiedsUiLayoutEditorHost]\" }, { kind: \"component\", type: EditablePaneComponent, selector: \"classifieds-ui-editable-pane\", inputs: [\"pluginName\", \"settings\", \"name\", \"label\", \"panelIndex\", \"paneIndex\", \"locked\", \"rootContext\", \"contexts\", \"ancestory\"], outputs: [\"edit\", \"props\", \"delete\", \"rules\", \"rendererOverride\", \"removeRendererOverride\", \"nestedUpdate\", \"heightChange\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ContentEditorComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-content-editor', providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => ContentEditorComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => ContentEditorComponent),\n multi: true\n },\n ], template: \"<form *ngIf=\\\"!nested && !pageBuilder; else nestedTpl\\\" [formGroup]=\\\"contentForm\\\" (ngSubmit)=\\\"submit()\\\" class=\\\"content-editor-wrapper\\\" [ngClass]=\\\"{'nested': nested}\\\">\\n <ng-container><ng-template classifiedsUiLayoutEditorHost></ng-template></ng-container>\\n</form>\\n\\n<ng-template #nestedTpl>\\n <div [formGroup]=\\\"contentForm\\\" class=\\\"content-editor-wrapper\\\" [ngClass]=\\\"{'nested': nested}\\\">\\n <ng-container><ng-template classifiedsUiLayoutEditorHost></ng-template></ng-container>\\n </div>\\n</ng-template>\\n\\n<ng-template #editablePaneTpl let-i=\\\"i\\\" let-j=\\\"j\\\">\\n <classifieds-ui-editable-pane class=\\\"editable-pane\\\" (delete)=\\\"onDeletePane(i, j)\\\" (rules)=\\\"onRulesPane(i, j)\\\" (nestedUpdate)=\\\"onNestedUpdate($event, i, j)\\\" (rendererOverride)=\\\"onOverrideRenderer(i, j)\\\" (removeRendererOverride)=\\\"onRemoveOverrideRenderer(i, j)\\\" (edit)=\\\"onPaneEdit(i, j)\\\" (props)=\\\"editPaneProps(i, j)\\\" (delete)=\\\"onPaneDelete(i, j)\\\" [panelIndex]=\\\"i\\\" [paneIndex]=\\\"j\\\" [name]=\\\"panelPaneName(i, j)\\\" [label]=\\\"panelPaneLabel(i, j)\\\" [locked]=\\\"panelPaneLocked(i, j)\\\" [contexts]=\\\"contexts\\\" [pluginName]=\\\"panelPanePlugin(i, j)\\\" [settings]=\\\"panelPaneSettings(i, j)\\\" [ancestory]=\\\"ancestory\\\">\\n <div class=\\\"custom-placeholder\\\" *cdkDragPlaceholder></div>\\n </classifieds-ui-editable-pane>\\n</ng-template>\\n\\n<ng-template #contextsMenuTpl>\\n <button type=\\\"button\\\" mat-menu-item [matMenuTriggerFor]=\\\"contextMenu\\\" class=\\\"context-button\\\">( x )</button>\\n</ng-template>\\n\\n<mat-menu #contextMenu=\\\"matMenu\\\">\\n <button type=\\\"button\\\" mat-menu-item (click)=\\\"onAddContextClick()\\\">define variable</button>\\n <!-- <mat-divider></mat-divider> -->\\n <button *ngFor=\\\"let c of contexts\\\" type=\\\"button\\\" mat-menu-item (click)=\\\"onEditContext(c.name)\\\">{{ c.name }}</button>\\n</mat-menu>\", styles: [\".content-editor-wrapper{height:100%}.panel-inner{padding:1em}.content-editor-wrapper ::ng-deep ngx-dropzone{height:100%;display:block;padding:0;border:none}.content-editor-wrapper.nested ::ng-deep .grid-item-header{border-bottom:1px solid white}.layout-type,.display-type{float:right}.layout-type ::ng-deep .mat-form-field-wrapper,.display-type ::ng-deep .mat-form-field-wrapper{padding-bottom:1.5em}.layout-type ::ng-deep .mat-form-field-label-wrapper,.display-type ::ng-deep .mat-form-field-label-wrapper{display:none}.layout-type ::ng-deep .mat-form-field-infix,.display-type ::ng-deep .mat-form-field-infix{border-top:none;padding:0;margin:0}.layout-type ::ng-deep .mat-form-field,.display-type ::ng-deep .mat-form-field{width:85px}.layout-type ::ng-deep .mat-select-value,.display-type ::ng-deep .mat-select-value{text-align:right}.layout-type ::ng-deep .mat-form-field-underline,.display-type ::ng-deep .mat-form-field-underline{display:none}classifieds-ui-gridless-layout ::ng-deep .main-controls{background-color:#ccc}classifieds-ui-gridless-layout ::ng-deep .layout-inner{background-color:#ccc;padding:.75em}classifieds-ui-gridless-layout ::ng-deep .editable-pane-wrapper{border:none;margin-bottom:0}classifieds-ui-gridless-layout ::ng-deep .pane-header{background-color:#fff}classifieds-ui-gridless-layout ::ng-deep .nested-panel-wrapper{padding:.75em;margin-bottom:0}.custom-placeholder{background:#ccc;border:dotted 3px #999;transition:transform .25s cubic-bezier(0,0,.2,1)}.context-button{font-style:italic;font-family:serif;font-weight:bolder;font-size:medium}\\n\"] }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [SITE_NAME]\n }] }, { type: i2.ContentPluginManager }, { type: i2$3.StylePluginManager }, { type: i12.LayoutPluginManager }, { type: i2$4.ContextPluginManager }, { type: i1$2.UntypedFormBuilder }, { type: i1.MatBottomSheet }, { type: i1$1.MatLegacyDialog }, { type: i2$3.PanelContentHandler }, { type: i2$2.TokenizerService }, { type: i0.ComponentFactoryResolver }, { type: i2$3.PageBuilderFacade }, { type: PaneStateContextResolver }, { type: i2$3.PanelsContextService }]; }, propDecorators: { submitted: [{\n type: Output\n }], nestedUpdate: [{\n type: Output\n }], delete: [{\n type: Output\n }], rules: [{\n type: Output\n }], props: [{\n type: Output\n }], panelPage: [{\n type: Input\n }], savable: [{\n type: Input\n }], nested: [{\n type: Input\n }], locked: [{\n type: Input\n }], pageBuilder: [{\n type: Input\n }], contexts: [{\n type: Input\n }], rootContext: [{\n type: Input\n }], ancestory: [{\n type: Input\n }], gridLayout: [{\n type: ViewChild,\n args: [GridLayoutComponent, { static: false }]\n }], splitLayout: [{\n type: ViewChild,\n args: [SplitLayoutComponent, { static: false }]\n }], paneContainers: [{\n type: ViewChildren,\n args: ['panes']\n }], editablePanes: [{\n type: ViewChildren,\n args: [EditablePaneComponent]\n }], layoutEditorHost: [{\n type: ViewChild,\n args: [LayoutEditorHostDirective, { static: false }]\n }], contextsMenuTpl: [{\n type: ViewChild,\n args: ['contextsMenuTpl', { static: true }]\n }], editablePaneTpl: [{\n type: ViewChild,\n args: ['editablePaneTpl', { static: true }]\n }], extraActionsAreaTmpl: [{\n type: ContentChild,\n args: ['extraActionsArea']\n }] } });\n\nclass SnippetEditorComponent {\n constructor(data, fb, handler) {\n this.data = data;\n this.fb = fb;\n this.handler = handler;\n }\n ngOnInit() {\n if (this.data.pane !== undefined) {\n this.handler.toObject(this.data.pane.settings).subscribe((snippet) => {\n this.snippet = snippet;\n });\n }\n }\n onSubmit(snippet) {\n if (this.data.paneIndex === undefined) {\n this.data.panelFormGroup.get('panes').push(this.fb.group({\n contentPlugin: 'snippet',\n name: new UntypedFormControl(''),\n label: new UntypedFormControl(''),\n rule: new UntypedFormControl(''),\n settings: new UntypedFormArray(this.buildSettings(snippet))\n }));\n }\n else {\n const paneForm = this.data.panelFormGroup.get('panes').at(this.data.paneIndex);\n paneForm.get('settings').clear();\n this.buildSettings(snippet).forEach(s => {\n paneForm.get('settings').push(s);\n });\n }\n }\n buildSettings(snippet) {\n return [\n this.fb.group({\n name: new UntypedFormControl('contentType', Validators.required),\n type: new UntypedFormControl(AttributeTypes.Text, Validators.required),\n displayName: new UntypedFormControl('Content Type', Validators.required),\n value: new UntypedFormControl(snippet.contentType, Validators.required),\n computedValue: new UntypedFormControl(snippet.contentType, Validators.required),\n }),\n this.fb.group({\n name: new UntypedFormControl('content', Validators.required),\n type: new UntypedFormControl(AttributeTypes.Text, Validators.required),\n displayName: new UntypedFormControl('Content', Validators.required),\n value: new UntypedFormControl(snippet.content, Validators.required),\n computedValue: new UntypedFormControl(snippet.content, Validators.required),\n }),\n this.fb.group({\n name: new UntypedFormControl('jsScript', Validators.required),\n type: new UntypedFormControl(AttributeTypes.Text, Validators.required),\n displayName: new UntypedFormControl('jsScript', Validators.required),\n value: new UntypedFormControl(snippet.jsScript),\n computedValue: new UntypedFormControl(snippet.jsScript),\n })\n ];\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: SnippetEditorComponent, deps: [{ token: MAT_LEGACY_DIALOG_DATA }, { token: i1$2.UntypedFormBuilder }, { token: SnippetContentHandler }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: SnippetEditorComponent, selector: \"classifieds-ui-snippet-editor2\", ngImport: i0, template: \"<classifieds-ui-snippet-form (submitted)=\\\"onSubmit($event)\\\" [snippet]=\\\"snippet\\\"></classifieds-ui-snippet-form>\\n\", styles: [\"\"], dependencies: [{ kind: \"component\", type: i5.SnippetFormComponent, selector: \"classifieds-ui-snippet-form\", inputs: [\"tokens\", \"splitDirection\", \"rows\", \"cols\", \"rootForm\", \"snippet\"], outputs: [\"submitted\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: SnippetEditorComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-snippet-editor2', template: \"<classifieds-ui-snippet-form (submitted)=\\\"onSubmit($event)\\\" [snippet]=\\\"snippet\\\"></classifieds-ui-snippet-form>\\n\" }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [MAT_LEGACY_DIALOG_DATA]\n }] }, { type: i1$2.UntypedFormBuilder }, { type: SnippetContentHandler }]; } });\n\nclass PanelPageRouterComponent {\n constructor(route, pageBuilderFacade, routerStore, asyncApiCallHelperSvc, crudDataHelperService, entityDefinitionService, es) {\n this.route = route;\n this.pageBuilderFacade = pageBuilderFacade;\n this.routerStore = routerStore;\n this.asyncApiCallHelperSvc = asyncApiCallHelperSvc;\n this.crudDataHelperService = crudDataHelperService;\n this.entityDefinitionService = entityDefinitionService;\n this.paramMapSub = this.route.paramMap.pipe(tap(() => console.log('param map panelPageId')), map(p => p.get('panelPageId')), filter(id => id !== undefined), switchMap(() => this.route.data), withLatestFrom(this.routerStore.pipe(select(getRouterSelectors((state) => state.router).selectCurrentRoute), map(route => route.params), take(1))), tap(([data, args]) => {\n console.log('route page');\n const realPath = '/pages/panelpage/' + data.panelPageListItem.id;\n this.pageBuilderFacade.setPageInfo(new PanelPageStateSlice({ id: data.panelPageListItem.id, realPath, path: data.panelPageListItem.path, args }));\n this.panelPageId = data.panelPageListItem.id;\n })).subscribe();\n this.panelPageService = es.getEntityCollectionService('PanelPage');\n }\n ngOnInit() {\n const { selectCurrentRoute } = getRouterSelectors((state) => state.router);\n this.route.paramMap.pipe(tap(() => console.log('param map page builder facade info')), withLatestFrom(this.pageBuilderFacade.getPageInfo$), filter(([p, pageInfo]) => pageInfo !== undefined && p.get('panelPageId') !== undefined && p.get('panelPageId') === pageInfo.id), switchMap(([p, pageInfo]) => this.routerStore.pipe(select(selectCurrentRoute), map(route => [pageInfo, route.params]), take(1)))).subscribe(([pageInfo, args]) => {\n //console.log('update page info');\n this.pageBuilderFacade.setPageInfo(new PanelPageStateSlice({ ...pageInfo, args }));\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelPageRouterComponent, deps: [{ token: i1$3.ActivatedRoute }, { token: i2$3.PageBuilderFacade }, { token: i3$3.Store }, { token: i4.AsyncApiCallHelperService }, { token: i15.CrudDataHelperService }, { token: i4$2.EntityDefinitionService }, { token: i4$2.EntityServices }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: PanelPageRouterComponent, selector: \"classifieds-ui-panel-page-router\", ngImport: i0, template: \"<classifieds-ui-panel-page [id]=\\\"panelPageId\\\"></classifieds-ui-panel-page>\\n\", styles: [\"\"], dependencies: [{ kind: \"component\", type: i7$2.PanelPageComponent, selector: \"classifieds-ui-panel-page\", inputs: [\"id\", \"panelPage\", \"nested\", \"contexts\", \"ancestory\", \"css\", \"listeners\", \"resolvedContext\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelPageRouterComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-panel-page-router', template: \"<classifieds-ui-panel-page [id]=\\\"panelPageId\\\"></classifieds-ui-panel-page>\\n\" }]\n }], ctorParameters: function () { return [{ type: i1$3.ActivatedRoute }, { type: i2$3.PageBuilderFacade }, { type: i3$3.Store }, { type: i4.AsyncApiCallHelperService }, { type: i15.CrudDataHelperService }, { type: i4$2.EntityDefinitionService }, { type: i4$2.EntityServices }]; } });\n\nclass CreatePanelPageComponent {\n constructor(es) {\n this.panelPageService = es.getEntityCollectionService('PanelPage');\n this.panelPageListItemService = es.getEntityCollectionService('PanelPageListItem');\n }\n ngOnInit() {\n console.log('here');\n }\n onSubmit(panelPage) {\n console.log('create panel page', panelPage);\n panelPage.id = uuid.v4(); // For now just do this here.\n this.panelPageService.add(panelPage).subscribe(() => {\n console.log('panel page created');\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: CreatePanelPageComponent, deps: [{ token: i4$2.EntityServices }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: CreatePanelPageComponent, selector: \"classifieds-ui-create-panel-page\", ngImport: i0, template: \"<classifieds-ui-content-editor (submitted)=\\\"onSubmit($event)\\\"></classifieds-ui-content-editor>\\n\", styles: [\"\"], dependencies: [{ kind: \"component\", type: ContentEditorComponent, selector: \"classifieds-ui-content-editor\", inputs: [\"panelPage\", \"savable\", \"nested\", \"locked\", \"pageBuilder\", \"contexts\", \"rootContext\", \"ancestory\"], outputs: [\"submitted\", \"nestedUpdate\", \"delete\", \"rules\", \"props\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: CreatePanelPageComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-create-panel-page', template: \"<classifieds-ui-content-editor (submitted)=\\\"onSubmit($event)\\\"></classifieds-ui-content-editor>\\n\" }]\n }], ctorParameters: function () { return [{ type: i4$2.EntityServices }]; } });\n\nclass EditPanelPageComponent {\n constructor(route, pageBuilderFacade, routerStore, moduleLoader, es) {\n this.route = route;\n this.pageBuilderFacade = pageBuilderFacade;\n this.routerStore = routerStore;\n this.moduleLoader = moduleLoader;\n this.panelPageService = es.getEntityCollectionService('PanelPage');\n this.panelPageListItemService = es.getEntityCollectionService('PanelPageListItem');\n }\n ngOnInit() {\n this.route.paramMap.pipe(map(p => p.get('panelPageId')), filter(id => id !== undefined), distinctUntilChanged(), switchMap(id => this.panelPageService.getByKey(id)), switchMap(pp => pp ? forkJoin(pp.contexts.filter(c => c.plugin === 'module').map(c => this.moduleLoader.loadModule(() => loadRemoteModule({\n type: 'module',\n remoteEntry: c.data.remoteEntry,\n exposedModule: c.data.exposedModule\n }).then(m => m[c.data.moduleName])))).pipe(delay(1), map(() => pp), defaultIfEmpty(pp))\n : of(pp)), switchMap(pp => this.routerStore.pipe(select(getRouterSelectors((state) => state.router).selectCurrentRoute), map(route => [pp, route.params]), take(1))), tap(([pp, args]) => this.pageBuilderFacade.setPageInfo(new PanelPageStateSlice({ id: pp.id, realPath: `/pages/panelpage/${pp.id}`, path: pp.path, args })))).subscribe(([panelPage]) => {\n console.log(panelPage);\n this.panelPage = panelPage;\n });\n }\n onSubmit(panelPage) {\n console.log('submitted');\n // console.log(panelPage);\n this.panelPageService.update(new PanelPage({ ...panelPage, id: this.panelPage.id })).subscribe(() => {\n alert('panel page updated');\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: EditPanelPageComponent, deps: [{ token: i1$3.ActivatedRoute }, { token: i2$3.PageBuilderFacade }, { token: i3$3.Store }, { token: i4.ModuleLoaderService }, { token: i4$2.EntityServices }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: EditPanelPageComponent, selector: \"classifieds-ui-edit-panel-page\", ngImport: i0, template: \"<classifieds-ui-content-editor [panelPage]=\\\"panelPage\\\" (submitted)=\\\"onSubmit($event)\\\"></classifieds-ui-content-editor>\\n\", styles: [\"\"], dependencies: [{ kind: \"component\", type: ContentEditorComponent, selector: \"classifieds-ui-content-editor\", inputs: [\"panelPage\", \"savable\", \"nested\", \"locked\", \"pageBuilder\", \"contexts\", \"rootContext\", \"ancestory\"], outputs: [\"submitted\", \"nestedUpdate\", \"delete\", \"rules\", \"props\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: EditPanelPageComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-edit-panel-page', template: \"<classifieds-ui-content-editor [panelPage]=\\\"panelPage\\\" (submitted)=\\\"onSubmit($event)\\\"></classifieds-ui-content-editor>\\n\" }]\n }], ctorParameters: function () { return [{ type: i1$3.ActivatedRoute }, { type: i2$3.PageBuilderFacade }, { type: i3$3.Store }, { type: i4.ModuleLoaderService }, { type: i4$2.EntityServices }]; } });\n\nclass AttributeSelectorComponent {\n // private contentPlugin: ContentPlugin;\n constructor(\n // @Inject(ATTRIBUTE_WIDGET) attributeWidgets: Array<AttributeWidget>,\n // @Inject(CONTENT_PLUGIN) contentPlugins: Array<ContentPlugin>,\n bottomSheetRef, handler, fb, dialog, cpm, wpm) {\n this.bottomSheetRef = bottomSheetRef;\n this.handler = handler;\n this.fb = fb;\n this.dialog = dialog;\n this.cpm = cpm;\n this.wpm = wpm;\n // this.attributeWidgets = attributeWidgets;\n // this.contentPlugin = contentPlugins.find(p => p.name === 'attribute');\n }\n ngOnInit() {\n this.attributeWidgets = this.wpm.getPlugins();\n }\n onItemSelect(widget) {\n console.log(widget);\n this.panelFormGroup.get('panes').push(this.fb.group({\n contentPlugin: 'attribute',\n name: new UntypedFormControl(''),\n label: new UntypedFormControl(''),\n rule: new UntypedFormControl(''),\n settings: this.fb.array(this.handler.widgetSettings(widget).map(s => this.fb.group({\n name: new UntypedFormControl(s.name, Validators.required),\n type: new UntypedFormControl(s.type, Validators.required),\n displayName: new UntypedFormControl(s.displayName, Validators.required),\n value: new UntypedFormControl(s.value, Validators.required),\n computedValue: new UntypedFormControl(s.computedValue, Validators.required),\n })))\n }));\n const formArray = this.panelFormGroup.get('panes');\n const paneIndex = formArray.length - 1;\n const pane = new Pane(formArray.at(paneIndex).value);\n this.cpm.getPlugin('attribute').subscribe(plugin => {\n this.dialog.open(plugin.editorComponent, { data: { panelFormGroup: this.panelFormGroup, pane, paneIndex } });\n });\n this.bottomSheetRef.dismiss();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AttributeSelectorComponent, deps: [{ token: i1.MatBottomSheetRef }, { token: AttributeContentHandler }, { token: i1$2.UntypedFormBuilder }, { token: i1$1.MatLegacyDialog }, { token: i2.ContentPluginManager }, { token: i2$1.WidgetPluginManager }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: AttributeSelectorComponent, selector: \"classifieds-ui-attribute-selector\", inputs: { panelFormGroup: \"panelFormGroup\" }, ngImport: i0, template: \"<mat-nav-list>\\n <a *ngFor=\\\"let widget of ((attributeWidgets | async) | keyvalue)\\\" mat-list-item mat-list-item (click)=\\\"onItemSelect(widget.value)\\\">\\n <span mat-line>{{ widget.value.name }}</span>\\n </a>\\n</mat-nav-list>\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i3.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i6.MatLine, selector: \"[mat-line], [matLine]\" }, { kind: \"component\", type: i7.MatLegacyNavList, selector: \"mat-nav-list\", inputs: [\"disableRipple\", \"disabled\"], exportAs: [\"matNavList\"] }, { kind: \"component\", type: i7.MatLegacyListItem, selector: \"mat-list-item, a[mat-list-item], button[mat-list-item]\", inputs: [\"disableRipple\", \"disabled\"], exportAs: [\"matListItem\"] }, { kind: \"pipe\", type: i3.AsyncPipe, name: \"async\" }, { kind: \"pipe\", type: i3.KeyValuePipe, name: \"keyvalue\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AttributeSelectorComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-attribute-selector', template: \"<mat-nav-list>\\n <a *ngFor=\\\"let widget of ((attributeWidgets | async) | keyvalue)\\\" mat-list-item mat-list-item (click)=\\\"onItemSelect(widget.value)\\\">\\n <span mat-line>{{ widget.value.name }}</span>\\n </a>\\n</mat-nav-list>\\n\" }]\n }], ctorParameters: function () { return [{ type: i1.MatBottomSheetRef }, { type: AttributeContentHandler }, { type: i1$2.UntypedFormBuilder }, { type: i1$1.MatLegacyDialog }, { type: i2.ContentPluginManager }, { type: i2$1.WidgetPluginManager }]; }, propDecorators: { panelFormGroup: [{\n type: Input\n }] } });\n\nclass AttributeEditorComponent {\n get name() {\n return this.attributesFormGroup.get('name');\n }\n get label() {\n return this.attributesFormGroup.get('label');\n }\n constructor(data, attributeWidgets, dialogRef, fb, handler) {\n this.data = data;\n this.dialogRef = dialogRef;\n this.fb = fb;\n this.handler = handler;\n this.attributes = [];\n this.attributeValues = [];\n this.attributesFormGroup = this.fb.group({\n name: new UntypedFormControl(''),\n label: new UntypedFormControl(''),\n attributes: new UntypedFormControl('')\n });\n const widgetSetting = this.data.pane.settings.find(s => s.name === 'widget');\n this.widget = attributeWidgets.find(w => w.name === widgetSetting.value);\n }\n ngOnInit() {\n const value = this.data.pane.settings.find(s => s.name === 'value');\n this.attributes = [new Attribute({ ...this.widget.schema, widget: this.widget.name, label: 'Value', name: 'value' })];\n const name = this.data.panelFormGroup.get('panes').at(this.data.paneIndex).get('name').value;\n const label = this.data.panelFormGroup.get('panes').at(this.data.paneIndex).get('label').value;\n this.attributesFormGroup.get('name').setValue(name);\n this.attributesFormGroup.get('label').setValue(label);\n if (value !== undefined) {\n this.attributeValues = this.handler.valueSettings(this.data.pane.settings);\n console.log(this.attributeValues);\n }\n else {\n this.attributeValues = [new AttributeValue({\n name: 'value',\n type: this.widget.schema.type,\n displayName: 'Value',\n value: '',\n computedValue: '',\n intValue: 0,\n attributes: []\n })];\n }\n }\n submit() {\n const name = this.name.value;\n const label = this.label.value;\n this.data.panelFormGroup.get('panes').at(this.data.paneIndex).get('name').setValue(name);\n this.data.panelFormGroup.get('panes').at(this.data.paneIndex).get('label').setValue(label);\n const pane = new Pane({ name, label, contentPlugin: 'attribute', settings: this.attributesFormGroup.get('attributes').value === '' ? [] : this.attributesFormGroup.get('attributes').value });\n if (pane.settings.length !== 0) {\n this.handler.rendererSnippet(this.data.pane.settings).subscribe(r => {\n const renderer = r !== undefined ? this.handler.rendererOverrideSettings(r) : [];\n const formArray = this.data.panelFormGroup.get('panes').at(this.data.paneIndex).get('settings');\n formArray.clear();\n [...this.handler.widgetSettings(this.widget), ...pane.settings, ...renderer].forEach(s => formArray.push(this.convertToGroup(s)));\n this.dialogRef.close();\n });\n }\n else {\n this.dialogRef.close();\n }\n }\n convertToGroup(setting) {\n const fg = this.fb.group({\n name: new UntypedFormControl(setting.name, Validators.required),\n type: new UntypedFormControl(setting.type, Validators.required),\n displayName: new UntypedFormControl(setting.displayName, Validators.required),\n value: new UntypedFormControl(setting.value, Validators.required),\n computedValue: new UntypedFormControl(setting.value, Validators.required),\n attributes: new UntypedFormArray([])\n });\n if (setting.attributes && setting.attributes.length > 0) {\n setting.attributes.forEach(s => {\n fg.get('attributes').push(this.convertToGroup(s));\n });\n }\n return fg;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AttributeEditorComponent, deps: [{ token: MAT_LEGACY_DIALOG_DATA }, { token: ATTRIBUTE_WIDGET }, { token: i1$1.MatLegacyDialogRef }, { token: i1$2.UntypedFormBuilder }, { token: AttributeContentHandler }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: AttributeEditorComponent, selector: \"classifieds-ui-attribute-editor\", ngImport: i0, template: \"<form [formGroup]=\\\"attributesFormGroup\\\" (ngSubmit)=\\\"submit()\\\">\\n <mat-dialog-content fxLayout=\\\"column\\\">\\n <mat-form-field>\\n <input matInput placeholder=\\\"Name\\\" formControlName=\\\"name\\\">\\n </mat-form-field>\\n <mat-form-field>\\n <input matInput placeholder=\\\"Label\\\" formControlName=\\\"label\\\">\\n </mat-form-field>\\n <classifieds-ui-attributes-builder formControlName=\\\"attributes\\\" [attributes]=\\\"attributes\\\" [attributeValues]=\\\"attributeValues\\\"></classifieds-ui-attributes-builder>\\n </mat-dialog-content>\\n <mat-dialog-actions>\\n <button type=\\\"submit\\\" mat-raised-button color=\\\"primary\\\" mat-dialog-close>Save</button>\\n </mat-dialog-actions>\\n</form>\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i1$2.ɵNgNoValidate, selector: \"form:not([ngNoForm]):not([ngNativeValidate])\" }, { kind: \"directive\", type: i1$2.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i1$2.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1$2.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1$2.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1$2.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: i3$2.MatLegacyButton, selector: \"button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]\", inputs: [\"disabled\", \"disableRipple\", \"color\"], exportAs: [\"matButton\"] }, { kind: \"directive\", type: i1$1.MatLegacyDialogClose, selector: \"[mat-dialog-close], [matDialogClose]\", inputs: [\"aria-label\", \"type\", \"mat-dialog-close\", \"matDialogClose\"], exportAs: [\"matDialogClose\"] }, { kind: \"directive\", type: i1$1.MatLegacyDialogContent, selector: \"[mat-dialog-content], mat-dialog-content, [matDialogContent]\" }, { kind: \"directive\", type: i1$1.MatLegacyDialogActions, selector: \"[mat-dialog-actions], mat-dialog-actions, [matDialogActions]\", inputs: [\"align\"] }, { kind: \"component\", type: i8$1.MatLegacyFormField, selector: \"mat-form-field\", inputs: [\"color\", \"appearance\", \"hideRequiredMarker\", \"hintLabel\", \"floatLabel\"], exportAs: [\"matFormField\"] }, { kind: \"directive\", type: i5$1.MatLegacyInput, selector: \"input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]\", exportAs: [\"matInput\"] }, { kind: \"directive\", type: i6$2.DefaultLayoutDirective, selector: \" [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]\", inputs: [\"fxLayout\", \"fxLayout.xs\", \"fxLayout.sm\", \"fxLayout.md\", \"fxLayout.lg\", \"fxLayout.xl\", \"fxLayout.lt-sm\", \"fxLayout.lt-md\", \"fxLayout.lt-lg\", \"fxLayout.lt-xl\", \"fxLayout.gt-xs\", \"fxLayout.gt-sm\", \"fxLayout.gt-md\", \"fxLayout.gt-lg\"] }, { kind: \"component\", type: i2$1.AttributesBuilderComponent, selector: \"classifieds-ui-attributes-builder\", inputs: [\"attributes\", \"appearance\", \"attributeValues\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AttributeEditorComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-attribute-editor', template: \"<form [formGroup]=\\\"attributesFormGroup\\\" (ngSubmit)=\\\"submit()\\\">\\n <mat-dialog-content fxLayout=\\\"column\\\">\\n <mat-form-field>\\n <input matInput placeholder=\\\"Name\\\" formControlName=\\\"name\\\">\\n </mat-form-field>\\n <mat-form-field>\\n <input matInput placeholder=\\\"Label\\\" formControlName=\\\"label\\\">\\n </mat-form-field>\\n <classifieds-ui-attributes-builder formControlName=\\\"attributes\\\" [attributes]=\\\"attributes\\\" [attributeValues]=\\\"attributeValues\\\"></classifieds-ui-attributes-builder>\\n </mat-dialog-content>\\n <mat-dialog-actions>\\n <button type=\\\"submit\\\" mat-raised-button color=\\\"primary\\\" mat-dialog-close>Save</button>\\n </mat-dialog-actions>\\n</form>\\n\" }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [MAT_LEGACY_DIALOG_DATA]\n }] }, { type: Array, decorators: [{\n type: Inject,\n args: [ATTRIBUTE_WIDGET]\n }] }, { type: i1$1.MatLegacyDialogRef }, { type: i1$2.UntypedFormBuilder }, { type: AttributeContentHandler }]; } });\n\nclass AttributePaneRendererComponent {\n /*passThruForm = this.fb.group({\n name: this.fb.control('value', Validators.required),\n type: this.fb.control(AttributeTypes.Complex, Validators.required),\n displayName: this.fb.control('Value', Validators.required),\n value: this.fb.control(''),\n attributes: this.fb.control('')\n });*/\n constructor(widgets, handler, tokenizerService, fb, controlContainer) {\n this.widgets = widgets;\n this.handler = handler;\n this.tokenizerService = tokenizerService;\n this.fb = fb;\n this.controlContainer = controlContainer;\n this.settings = [];\n this.appearance = 'legacy';\n this.attributes = [];\n }\n ngOnInit() {\n this.attributes = [new Attribute({ ...this.widgets.find(w => w.name === this.settings.find(s => s.name === 'widget').value).schema, name: 'value', label: 'Value' })];\n this.attributeValues = this.handler.valueSettings(this.settings);\n this.tokens = this.tokenizerService.generateTokens(this.attributeValues);\n this.handler.rendererSnippet(this.settings).subscribe(snippet => {\n this.rendererOverride = snippet;\n if (snippet !== undefined) {\n this.rendererSettings = this.handler.rendererOverrideSettings(snippet)[0].attributes;\n }\n });\n /*this.passThruForm.valueChanges.subscribe(v => {\n console.log(v);\n this.controlContainer.control.setValue({\n ...this.controlContainer.control.value,\n settings: [v]\n });\n });*/\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AttributePaneRendererComponent, deps: [{ token: ATTRIBUTE_WIDGET }, { token: AttributeContentHandler }, { token: i2$2.TokenizerService }, { token: i1$2.UntypedFormBuilder }, { token: i1$2.ControlContainer, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: AttributePaneRendererComponent, selector: \"classifieds-ui-attribute-pane-renderer\", inputs: { settings: \"settings\", appearance: \"appearance\", name: \"name\", label: \"label\", displayType: \"displayType\" }, ngImport: i0, template: \"<div *ngIf=\\\"!rendererOverride; else overrideTpl\\\">\\n\\n <div *ngIf=\\\"displayType == 'page'\\\">\\n <ng-container *ngTemplateOutlet=\\\"settingsTmpl; context:{ settings: attributeValues }\\\"></ng-container>\\n <ng-template #settingsTmpl let-settings=\\\"settings\\\">\\n <div *ngFor=\\\"let setting of settings\\\">\\n <span *ngIf=\\\"setting.attributes.length == 0\\\">{{ setting.displayName }}: </span>\\n <span *ngIf=\\\"setting.attributes.length == 0\\\">{{ settings | attribute: setting.name }}</span>\\n <div *ngIf=\\\"setting.attributes.length > 0\\\">\\n <ng-container *ngTemplateOutlet=\\\"settingsTmpl; context:{ settings: setting.attributes }\\\"></ng-container>\\n </div>\\n </div>\\n </ng-template>\\n </div>\\n\\n <div *ngIf=\\\"displayType == 'form'\\\" [formGroup]=\\\"controlContainer.control\\\">\\n <classifieds-ui-attributes-builder formControlName=\\\"settings\\\" [attributes]=\\\"attributes\\\" [attributeValues]=\\\"attributeValues\\\"></classifieds-ui-attributes-builder>\\n <!-- <classifieds-ui-attribute-widget [attribute]=\\\"widget.schema\\\" [widget]=\\\"widget\\\" [appearance]=\\\"appearance\\\"></classifieds-ui-attribute-widget> -->\\n <!-- <div>Form Field Area</div> -->\\n </div>\\n\\n</div>\\n\\n<ng-template #overrideTpl>\\n <classifieds-ui-snippet-pane-renderer [settings]=\\\"rendererSettings\\\" [tokens]=\\\"tokens\\\"></classifieds-ui-snippet-pane-renderer>\\n</ng-template>\\n\", styles: [\".override{position:absolute;top:.5em;right:.5em}\\n\"], dependencies: [{ kind: \"directive\", type: i3.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i3.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i3.NgTemplateOutlet, selector: \"[ngTemplateOutlet]\", inputs: [\"ngTemplateOutletContext\", \"ngTemplateOutlet\", \"ngTemplateOutletInjector\"] }, { kind: \"directive\", type: i1$2.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1$2.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1$2.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1$2.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: i2$1.AttributesBuilderComponent, selector: \"classifieds-ui-attributes-builder\", inputs: [\"attributes\", \"appearance\", \"attributeValues\"] }, { kind: \"component\", type: SnippetPaneRendererComponent, selector: \"classifieds-ui-snippet-pane-renderer\", inputs: [\"settings\", \"contexts\", \"tokens\", \"resolvedContext\"] }, { kind: \"pipe\", type: i2$1.AttributePipe, name: \"attribute\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AttributePaneRendererComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-attribute-pane-renderer', template: \"<div *ngIf=\\\"!rendererOverride; else overrideTpl\\\">\\n\\n <div *ngIf=\\\"displayType == 'page'\\\">\\n <ng-container *ngTemplateOutlet=\\\"settingsTmpl; context:{ settings: attributeValues }\\\"></ng-container>\\n <ng-template #settingsTmpl let-settings=\\\"settings\\\">\\n <div *ngFor=\\\"let setting of settings\\\">\\n <span *ngIf=\\\"setting.attributes.length == 0\\\">{{ setting.displayName }}: </span>\\n <span *ngIf=\\\"setting.attributes.length == 0\\\">{{ settings | attribute: setting.name }}</span>\\n <div *ngIf=\\\"setting.attributes.length > 0\\\">\\n <ng-container *ngTemplateOutlet=\\\"settingsTmpl; context:{ settings: setting.attributes }\\\"></ng-container>\\n </div>\\n </div>\\n </ng-template>\\n </div>\\n\\n <div *ngIf=\\\"displayType == 'form'\\\" [formGroup]=\\\"controlContainer.control\\\">\\n <classifieds-ui-attributes-builder formControlName=\\\"settings\\\" [attributes]=\\\"attributes\\\" [attributeValues]=\\\"attributeValues\\\"></classifieds-ui-attributes-builder>\\n <!-- <classifieds-ui-attribute-widget [attribute]=\\\"widget.schema\\\" [widget]=\\\"widget\\\" [appearance]=\\\"appearance\\\"></classifieds-ui-attribute-widget> -->\\n <!-- <div>Form Field Area</div> -->\\n </div>\\n\\n</div>\\n\\n<ng-template #overrideTpl>\\n <classifieds-ui-snippet-pane-renderer [settings]=\\\"rendererSettings\\\" [tokens]=\\\"tokens\\\"></classifieds-ui-snippet-pane-renderer>\\n</ng-template>\\n\", styles: [\".override{position:absolute;top:.5em;right:.5em}\\n\"] }]\n }], ctorParameters: function () { return [{ type: Array, decorators: [{\n type: Inject,\n args: [ATTRIBUTE_WIDGET]\n }] }, { type: AttributeContentHandler }, { type: i2$2.TokenizerService }, { type: i1$2.UntypedFormBuilder }, { type: i1$2.ControlContainer, decorators: [{\n type: Optional\n }] }]; }, propDecorators: { settings: [{\n type: Input\n }], appearance: [{\n type: Input\n }], name: [{\n type: Input\n }], label: [{\n type: Input\n }], displayType: [{\n type: Input\n }] } });\n\nclass MediaContentHandler {\n constructor(filesService, attributeSerializer) {\n this.filesService = filesService;\n this.attributeSerializer = attributeSerializer;\n this.types = ['image/png', 'image/jpg', 'image/jpeg', 'image/gif'];\n }\n handleFile(file) {\n return this.filesService.bulkUpload({ files: [file] }).pipe(map(files => this.buildSettings(files[0])));\n }\n handlesType(type) {\n return this.types.find(t => t === type) !== undefined;\n }\n implementsRendererOverride() {\n return false;\n }\n hasRendererOverride(settings) {\n return of(false);\n }\n isDynamic(settings) {\n return false;\n }\n isData(settings) {\n return false;\n }\n buildDynamicItems(settings, metadata) {\n return of([]);\n }\n fetchDynamicData(settings, metadata) {\n return of(new Dataset());\n }\n getBindings(settings, type, metadata) {\n return of([]);\n }\n toObject(settings) {\n return of(this.attributeSerializer.deserializeAsObject(settings));\n }\n buildSettings(mediaFile) {\n mediaFile.fileName = 'placeholdername';\n return this.attributeSerializer.serialize(mediaFile, 'root').attributes;\n }\n stateDefinition(settings) {\n return of({\n mediaLoading: 'y',\n mediaLoaded: 'n',\n loadError: 'n',\n loadDuration: 'y'\n });\n }\n editorOptions(settings) {\n return of(new ContentPluginEditorOptions());\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: MediaContentHandler, deps: [{ token: i1$4.FilesService }, { token: i2$1.AttributeSerializerService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: MediaContentHandler }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: MediaContentHandler, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: i1$4.FilesService }, { type: i2$1.AttributeSerializerService }]; } });\n\nclass MediaEditorComponent {\n constructor(data, dialogRef, fb, filesService, handler) {\n this.data = data;\n this.dialogRef = dialogRef;\n this.fb = fb;\n this.filesService = filesService;\n this.handler = handler;\n this.mediaTypes = '.png,.jpg,.jpeg,.gif,.svg';\n }\n ngOnInit() {\n if (this.data.pane !== undefined) {\n this.handler.toObject(this.data.pane.settings).pipe(switchMap((mediaFile) => this.filesService.convertToFiles([mediaFile]))).subscribe(files => {\n this.media = files[0];\n });\n }\n }\n onSelectMedia(event) {\n this.media = event.addedFiles[0];\n this.handler.handleFile(this.media).subscribe(settings => {\n if (this.data.paneIndex === undefined) {\n this.data.panelFormGroup.get('panes').push(this.fb.group({\n contentPlugin: 'media',\n name: new UntypedFormControl(''),\n label: new UntypedFormControl(''),\n rule: new UntypedFormControl(''),\n settings: new UntypedFormArray(settings.map(s => this.fb.group({\n name: new UntypedFormControl(s.name, Validators.required),\n type: new UntypedFormControl(s.type, Validators.required),\n displayName: new UntypedFormControl(s.displayName, Validators.required),\n value: new UntypedFormControl(s.value, Validators.required),\n computedValue: new UntypedFormControl(s.value, Validators.required),\n })))\n }));\n }\n this.dialogRef.close();\n });\n }\n onRemoveMedia(event) {\n this.media = undefined;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: MediaEditorComponent, deps: [{ token: MAT_LEGACY_DIALOG_DATA }, { token: i1$1.MatLegacyDialogRef }, { token: i1$2.UntypedFormBuilder }, { token: i1$4.FilesService }, { token: MediaContentHandler }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: MediaEditorComponent, selector: \"classifieds-ui-media-editor\", ngImport: i0, template: \"<ngx-dropzone [multiple]=\\\"false\\\" [accept]=\\\"mediaTypes\\\" (change)=\\\"onSelectMedia($event)\\\">\\n <ngx-dropzone-label>Drag and Drop Media Here</ngx-dropzone-label>\\n <ngx-dropzone-image-preview *ngIf=\\\"media\\\" [removable]=\\\"true\\\" [file]=\\\"media\\\" (removed)=\\\"onRemoveMedia($event)\\\">\\n <ngx-dropzone-label>{{ media.name }} ({{ media.type }})</ngx-dropzone-label>\\n </ngx-dropzone-image-preview>\\n</ngx-dropzone>\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i3.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"component\", type: i6$4.NgxDropzoneComponent, selector: \"ngx-dropzone, [ngx-dropzone]\", inputs: [\"accept\", \"disabled\", \"multiple\", \"maxFileSize\", \"expandable\", \"disableClick\", \"processDirectoryDrop\", \"id\", \"aria-label\", \"aria-labelledby\", \"aria-describedby\"], outputs: [\"change\"] }, { kind: \"directive\", type: i6$4.NgxDropzoneLabelDirective, selector: \"ngx-dropzone-label\" }, { kind: \"component\", type: i6$4.NgxDropzoneImagePreviewComponent, selector: \"ngx-dropzone-image-preview\", inputs: [\"file\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: MediaEditorComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-media-editor', template: \"<ngx-dropzone [multiple]=\\\"false\\\" [accept]=\\\"mediaTypes\\\" (change)=\\\"onSelectMedia($event)\\\">\\n <ngx-dropzone-label>Drag and Drop Media Here</ngx-dropzone-label>\\n <ngx-dropzone-image-preview *ngIf=\\\"media\\\" [removable]=\\\"true\\\" [file]=\\\"media\\\" (removed)=\\\"onRemoveMedia($event)\\\">\\n <ngx-dropzone-label>{{ media.name }} ({{ media.type }})</ngx-dropzone-label>\\n </ngx-dropzone-image-preview>\\n</ngx-dropzone>\\n\" }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [MAT_LEGACY_DIALOG_DATA]\n }] }, { type: i1$1.MatLegacyDialogRef }, { type: i1$2.UntypedFormBuilder }, { type: i1$4.FilesService }, { type: MediaContentHandler }]; } });\n\nclass MediaPaneRendererComponent {\n constructor(mediaSettings, handler, attributeSerializer, es) {\n this.mediaSettings = mediaSettings;\n this.handler = handler;\n this.attributeSerializer = attributeSerializer;\n this.settings = [];\n this.ancestory = [];\n this.state = {};\n this.stateChange = new EventEmitter();\n this.panelPageStateService = es.getEntityCollectionService('PanelPageState');\n }\n ngOnInit() {\n console.log('media ancestory is');\n console.log(this.ancestory);\n console.log('my state is:');\n console.log(this.state);\n this.mediaBaseUrl = this.mediaSettings.imageUrl;\n this.handler.toObject(this.settings).subscribe((mediaFile) => {\n this.mediaFile = mediaFile;\n });\n }\n ngAfterViewInit() {\n this.image.nativeElement.onload = () => {\n console.log('image loaded');\n this.stateChange.emit({ mediaLoading: 'n' });\n // hard coded test.\n // @todo: need a way for any content to easily update its state without knowing page id or ancestory or context used could be used outside pages.\n /*this.panelPageStateService.upsert(new PanelPageState({\n // id: '0e5f4638-20d6-11ec-b5a7-de55e72cff0f',\n id: '0e5f4638-20d6-11ec-b5a7-de55e72cff0f',\n panels: [\n {\n panes: [\n {\n state: this.attributeSerializer.serialize({ mediaLoading: 'n' }, 'root')\n }\n ]\n },\n {\n panes: [\n ]\n }\n ]\n })).subscribe();*/\n };\n }\n ngOnChanges() {\n this.mediaBaseUrl = this.mediaSettings.imageUrl;\n this.handler.toObject(this.settings).subscribe((mediaFile) => {\n this.mediaFile = mediaFile;\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: MediaPaneRendererComponent, deps: [{ token: MEDIA_SETTINGS }, { token: MediaContentHandler }, { token: i2$1.AttributeSerializerService }, { token: i4$2.EntityServices }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: MediaPaneRendererComponent, selector: \"classifieds-ui-media-pane-renderer\", inputs: { settings: \"settings\", ancestory: \"ancestory\", state: \"state\" }, outputs: { stateChange: \"stateChange\" }, viewQueries: [{ propertyName: \"image\", first: true, predicate: [\"img\"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: \"<img #img src=\\\"{{mediaBaseUrl}}/{{mediaFile.path}}\\\">\\n\", styles: [\"img{max-width:100%}\\n\"] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: MediaPaneRendererComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-media-pane-renderer', template: \"<img #img src=\\\"{{mediaBaseUrl}}/{{mediaFile.path}}\\\">\\n\", styles: [\"img{max-width:100%}\\n\"] }]\n }], ctorParameters: function () { return [{ type: i1$4.MediaSettings, decorators: [{\n type: Inject,\n args: [MEDIA_SETTINGS]\n }] }, { type: MediaContentHandler }, { type: i2$1.AttributeSerializerService }, { type: i4$2.EntityServices }]; }, propDecorators: { settings: [{\n type: Input\n }], ancestory: [{\n type: Input\n }], state: [{\n type: Input\n }], stateChange: [{\n type: Output\n }], image: [{\n type: ViewChild,\n args: ['img', { static: true }]\n }] } });\n\nclass RestContentHandler {\n constructor(siteName, snippetHandler, pageBuilderFacade, store, tokenizerService, panelHandler, urlGeneratorService, attributeSerializer, rulesResolver) {\n this.siteName = siteName;\n this.snippetHandler = snippetHandler;\n this.pageBuilderFacade = pageBuilderFacade;\n this.store = store;\n this.tokenizerService = tokenizerService;\n this.panelHandler = panelHandler;\n this.urlGeneratorService = urlGeneratorService;\n this.attributeSerializer = attributeSerializer;\n this.rulesResolver = rulesResolver;\n }\n handleFile(file) {\n return of([]);\n }\n handlesType(type) {\n return false;\n }\n implementsRendererOverride() {\n return true;\n }\n hasRendererOverride(settings) {\n return of(false);\n }\n isDynamic(settings) {\n return ['snippet', 'pane'].indexOf(this.getRenderType(settings)) > -1;\n }\n isData(settings) {\n return false;\n }\n fetchDynamicData(settings, metadata) {\n const subject = new Subject();\n this.toObject(settings).pipe(switchMap(r => this.urlGeneratorService.getUrl(r.url, r.params, metadata).pipe(map(url => [r, url])))).subscribe(([r, url]) => {\n this.pageBuilderFacade.loadRestData(`${metadata.get('tag')}`, new Rest({ ...r, url }));\n this.store.pipe(select(selectDataset(`${metadata.get('tag')}`)), filter(dataset => dataset !== undefined)).subscribe(dataset => {\n subject.next(dataset);\n subject.complete();\n });\n });\n return subject;\n }\n buildDynamicItems(settings, metadata) {\n const subject = new Subject();\n console.log('build dynamic items rest');\n this.toObject(settings).pipe(switchMap(r => this.urlGeneratorService.getUrl(r.url, r.params, metadata).pipe(map(url => [r, url])))).subscribe(([r, url]) => {\n console.log('Load in rest data');\n this.pageBuilderFacade.loadRestData(`${metadata.get('tag')}`, new Rest({ ...r, url }));\n this.store.pipe(select(selectDataset(`${metadata.get('tag')}`)), filter(dataset => dataset !== undefined), \n // apply query here to dataset.\n switchMap(dataset => this.getBindings(settings, 'pane').pipe(map(bindings => [dataset, bindings]))), switchMap(([dataset, bindings]) => iif(() => dataset.results.length !== 0 && bindings.length > 0, new Observable(obs => {\n forkJoin(dataset.results.map(row => from(bindings).pipe(map(binding => metadata.get('panes').find(p => p.name === binding.id)), switchMap(pane => iif(() => pane.rule && pane.rule !== null && pane.rule.condition !== '', this.rulesResolver.evaluate(pane.rule, [...metadata.get('contexts'), ...(pane.contexts !== undefined ? pane.contexts : []), new InlineContext({ name: \"_root\", adaptor: 'data', data: row })]).pipe(map(res => [pane, res])), of(false).pipe(map(b => [pane, b])))), filter(([pane, res]) => res), map(([pane, res]) => pane.name), defaultIfEmpty(bindings[0].id), take(1)))).pipe(map(groups => [dataset, groups])).subscribe(d => {\n obs.next(d);\n obs.complete();\n });\n }), new Observable(obs => {\n obs.next([dataset]);\n obs.complete();\n }))), map(([dataset, paneMappings]) => {\n if (r.renderer.type === 'pane') {\n return dataset.results.map((row, rowIndex) => {\n const attachedPane = metadata.get('panes').find(p => p.name === paneMappings[rowIndex]);\n const name = uuid.v4();\n return new Pane({ ...attachedPane, rule: undefined, label: name, contexts: [...metadata.get('contexts'), new InlineContext({ name: \"_root\", adaptor: 'data', data: row })] });\n });\n }\n else {\n return dataset.results.map(row => new Pane({ contentPlugin: 'snippet', name: uuid.v4(), label: undefined, contexts: [...metadata.get('contexts'), new InlineContext({ name: \"_root\", adaptor: 'data', data: row })], settings: this.snippetHandler.buildSettings({ ...r.renderer.data, content: r.renderer.data.content }) }));\n }\n }), map(panes => new Panel({ stylePlugin: undefined, settings: [], panes, columnSetting: new LayoutSetting() })), map(panel => this.panelHandler.buildSettings(new PanelPage({ id: undefined, layoutType: 'grid', displayType: 'page', site: this.siteName, gridItems: [], layoutSetting: new LayoutSetting(), rowSettings: [], panels: [panel] })))).subscribe(panelSettings => {\n subject.next(panelSettings.find(s => s.name === 'panels').attributes[0].attributes.find(s => s.name === 'panes').attributes);\n subject.complete();\n });\n });\n return subject;\n }\n buildSelectOptionItems(settings, metadata) {\n this.toObject(settings).pipe(switchMap(r => this.urlGeneratorService.getUrl(r.url, r.params, metadata).pipe(map(url => [r, url]))), map(([r, url]) => new Rest({ ...r, url }))).subscribe(r => {\n this.pageBuilderFacade.loadRestData(`${metadata.get('tag')}`, r);\n });\n return this.store.pipe(select(selectDataset(`${metadata.get('tag')}`)), filter(d => d !== undefined), map(d => [d, d.results.map(r => this.tokenizerService.generateGenericTokens(r))]), map(([d, tokens]) => [d, tokens, (new SelectMapping(JSON.parse(metadata.get('snippet').content)))]), map(([d, tokens, mapping]) => tokens.map((t, i) => new SelectOption({ dataItem: d.results[i], value: mapping.value === '[.]' ? this.attributeSerializer.serialize(d.results[i], 'value') : this.attributeSerializer.serialize(this.tokenizerService.replaceTokens(mapping.value, t), 'value'), label: this.tokenizerService.replaceTokens(mapping.label, t) }))));\n }\n getBindings(settings, type, metadata) {\n if (type === 'context') {\n return this.toObject(settings).pipe(map(rest => rest.params.reduce((p, c) => ([...p, ...(c.mapping.type === 'form' ? [new ContentBinding({ id: `form__${c.mapping.value.split('.', 2)[0].trim()}`, type: 'context' })] : [])]), [])));\n }\n else {\n return this.toObject(settings).pipe(switchMap(rest => iif(() => rest.renderer.type === type, of(rest.renderer.bindings), of([]))));\n }\n }\n toObject(settings) {\n return of(this.attributeSerializer.deserializeAsObject(settings));\n }\n buildSettings(rest) {\n return this.attributeSerializer.serialize(rest, 'root').attributes;\n }\n getRenderType(settings) {\n const renderType = [settings.find(s => s.name === 'renderer')].map(r => r.attributes.find(s => s.name === 'type'));\n return renderType.length > 0 ? renderType[0].value : undefined;\n }\n stateDefinition(settings) {\n return of({ autocomplete: { input: '' } });\n }\n editorOptions(settings) {\n return of(new ContentPluginEditorOptions());\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RestContentHandler, deps: [{ token: SITE_NAME }, { token: SnippetContentHandler }, { token: i2$3.PageBuilderFacade }, { token: i3$3.Store }, { token: i2$2.TokenizerService }, { token: i2$3.PanelContentHandler }, { token: i5$3.UrlGeneratorService }, { token: i2$1.AttributeSerializerService }, { token: i4$1.RulesResolverService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RestContentHandler }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RestContentHandler, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [SITE_NAME]\n }] }, { type: SnippetContentHandler }, { type: i2$3.PageBuilderFacade }, { type: i3$3.Store }, { type: i2$2.TokenizerService }, { type: i2$3.PanelContentHandler }, { type: i5$3.UrlGeneratorService }, { type: i2$1.AttributeSerializerService }, { type: i4$1.RulesResolverService }]; } });\n\nclass RestFormComponent {\n set rest(rest) {\n if (rest !== undefined) {\n this._rest = rest;\n const defaultSelect = { value: '', label: '', id: '', multiple: '', limit: '' };\n this.restForm.setValue({\n renderer: {\n trackBy: '',\n query: '',\n ...rest.renderer,\n data: rest.renderer.data ? { ...rest.renderer.data, jsScript: (rest.renderer.data.jsScript ? rest.renderer.data.jsScript : '') } : { content: '', contentType: '', jsScript: '' },\n select: ['pane', 'snippet'].findIndex(t => t === rest.renderer.type) > -1 ? defaultSelect : JSON.parse(rest.renderer.data.content),\n bindings: []\n },\n source: {\n url: '',\n params: [],\n method: '',\n body: ''\n }\n });\n if (rest.renderer.type === 'pane') {\n this.bindings.clear();\n rest.renderer.bindings.forEach(b => {\n if (b.type === 'pane') {\n this.bindings.push(this.fb.group({\n id: this.fb.control(b.id, Validators.required),\n type: this.fb.control(b.type, Validators.required)\n }));\n }\n });\n }\n if (rest.renderer.type === 'pane') {\n this.restForm.get('renderer').get('data').disable();\n }\n else {\n this.restForm.get('renderer').get('data').enable();\n }\n setTimeout(() => {\n this.restSource = { url: rest.url, params: rest.params, method: rest.method ? rest.method : '', body: rest.body ? { ...rest.body, jsScript: '' } : '' };\n this.sourceForm.refreshData$.next(undefined);\n });\n }\n }\n get rendererType() {\n return this.restForm.get('renderer').get('type');\n }\n get isSelectable() {\n return this.restForm.get('renderer').get('type').value && this.restForm.get('renderer').get('type').value !== 'snippet' && this.restForm.get('renderer').get('type').value !== 'pane';\n }\n get bindings() {\n return this.restForm.get('renderer').get('bindings');\n }\n get valid() {\n return this.restForm.valid;\n }\n constructor(fb, tokenizerService) {\n this.fb = fb;\n this.tokenizerService = tokenizerService;\n this.panes = [];\n this.submitted = new EventEmitter();\n this.contexts = [];\n this.forms = [];\n this.snippetValidation = true;\n this.restForm = this.fb.group({\n source: this.fb.control(''),\n renderer: this.fb.group({\n type: 'snippet',\n query: this.fb.control(''),\n trackBy: this.fb.control(''),\n data: this.fb.control(''),\n bindings: this.fb.array([]),\n select: this.fb.group({\n value: this.fb.control(''),\n label: this.fb.control(''),\n id: this.fb.control(''),\n multiple: this.fb.control(''),\n limit: this.fb.control('')\n })\n })\n });\n }\n ngOnInit() {\n console.log(this.contexts);\n this.restForm.get('renderer').get('type').valueChanges.subscribe(v => {\n if (this.rendererType.value === 'pane') {\n this.restForm.get('renderer').get('data').disable();\n }\n else {\n this.restForm.get('renderer').get('data').enable();\n }\n this.restForm.get('renderer').get('data').setValue({\n contentType: '',\n content: '',\n jsScript: ''\n });\n });\n this.restForm.get('renderer').get('select').valueChanges.subscribe(v => {\n this.restForm.get('renderer').get('data').setValue({\n contentType: 'application/json',\n content: JSON.stringify({ value: v.value, label: v.label, id: v.id, multiple: v.multiple, limit: v.limit }),\n jsScript: ''\n });\n });\n }\n ngAfterViewInit() {\n /*if(this.rest !== undefined) {\n console.log('rest next');\n this.sourceForm.refreshData$.next();\n }*/\n }\n onDataChange(data) {\n this.tokens = this.tokenizerService.generateGenericTokens(data[0]);\n }\n addPane() {\n this.bindings.push(this.fb.group({\n type: this.fb.control('pane', Validators.required),\n id: this.fb.control('', Validators.required)\n }));\n }\n submit() {\n const rest = new Rest({\n ...this.restForm.value,\n url: this.restForm.value.source.url,\n params: this.restForm.value.source.params,\n method: this.restForm.value.source.method,\n body: this.restForm.value.source.body\n });\n this.submitted.emit(rest);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RestFormComponent, deps: [{ token: i1$2.UntypedFormBuilder }, { token: i2$2.TokenizerService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: RestFormComponent, selector: \"classifieds-ui-rest-form\", inputs: { panes: \"panes\", contexts: \"contexts\", rest: \"rest\" }, outputs: { submitted: \"submitted\" }, viewQueries: [{ propertyName: \"sourceForm\", first: true, predicate: RestSourceFormComponent, descendants: true, static: true }], ngImport: i0, template: \"<form class=\\\"rest-form\\\" [formGroup]=\\\"restForm\\\" (ngSubmit)=\\\"submit()\\\">\\n <mat-dialog-content>\\n <as-split direction=\\\"vertical\\\" class=\\\"content-inner\\\">\\n <div as-split-area size=\\\"50\\\">\\n <classifieds-ui-rest-source-form formControlName=\\\"source\\\" (dataChange)=\\\"onDataChange($event)\\\" [contexts]=\\\"contexts\\\" [restSource]=\\\"restSource\\\"></classifieds-ui-rest-source-form>\\n </div>\\n <as-split-area size=\\\"50\\\" formGroupName=\\\"renderer\\\">\\n <mat-form-field>\\n <input matInput formControlName=\\\"query\\\" placeholder=\\\"Query\\\">\\n </mat-form-field>\\n <mat-form-field>\\n <input matInput formControlName=\\\"trackBy\\\" placeholder=\\\"Track By\\\">\\n </mat-form-field>\\n <mat-form-field>\\n <mat-label>Type</mat-label>\\n <mat-select required formControlName=\\\"type\\\">\\n <mat-optgroup label=\\\"Output\\\">\\n <mat-option value=\\\"snippet\\\">Snippet</mat-option>\\n <mat-option value=\\\"pane\\\">Pane</mat-option>\\n </mat-optgroup>\\n <mat-optgroup label=\\\"Input\\\">\\n <mat-option value=\\\"select\\\">Select</mat-option>\\n <mat-option value=\\\"radiogroup\\\">Radio Group</mat-option>\\n <mat-option value=\\\"checkboxgroup\\\">Checkbox Group</mat-option>\\n <mat-option value=\\\"autocomplete\\\">Autocomplete</mat-option>\\n </mat-optgroup>\\n </mat-select>\\n </mat-form-field>\\n <classifieds-ui-snippet-form [hidden]=\\\"rendererType.value != 'snippet'\\\" formControlName=\\\"data\\\" [rootForm]=\\\"false\\\" splitDirection=\\\"horizontal\\\" rows=\\\"10\\\" cols=\\\"40\\\" [tokens]=\\\"tokens\\\"></classifieds-ui-snippet-form>\\n <div *ngIf=\\\"rendererType.value == 'pane'\\\" formArrayName=\\\"bindings\\\">\\n <button type=\\\"button\\\" (click)=\\\"addPane()\\\">Add Pane</button>\\n <div>\\n <div *ngFor=\\\"let binding of bindings.controls; let i = index\\\">\\n <mat-form-field [formGroupName]=\\\"i\\\">\\n <mat-label>Pane</mat-label>\\n <mat-select required formControlName=\\\"id\\\">\\n <mat-option *ngFor=\\\"let pane of panes\\\" [value]=\\\"pane\\\">{{ pane }}</mat-option>\\n </mat-select>\\n </mat-form-field>\\n </div>\\n </div>\\n </div>\\n <div *ngIf=\\\"isSelectable\\\" formGroupName=\\\"select\\\">\\n <mat-form-field>\\n <input matInput formControlName=\\\"id\\\" placeholder=\\\"Id\\\">\\n </mat-form-field>\\n <mat-form-field>\\n <input matInput formControlName=\\\"value\\\" placeholder=\\\"Value\\\">\\n </mat-form-field>\\n <mat-form-field>\\n <input matInput formControlName=\\\"label\\\" placeholder=\\\"Label\\\">\\n </mat-form-field>\\n <div>\\n <mat-checkbox formControlName=\\\"multiple\\\">Multiple</mat-checkbox>\\n </div>\\n <mat-form-field>\\n <input matInput formControlName=\\\"limit\\\" placeholder=\\\"Limit\\\">\\n </mat-form-field>\\n </div>\\n </as-split-area>\\n </as-split>\\n </mat-dialog-content>\\n <mat-dialog-actions>\\n <button type=\\\"submit\\\" mat-raised-button color=\\\"primary\\\" mat-dialog-close [disabled]=\\\"!valid\\\">Save</button>\\n </mat-dialog-actions>\\n</form>\\n\", styles: [\".rest-form ::ng-deep .content-inner{height:auto}\\n\"], dependencies: [{ kind: \"directive\", type: i3.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i3.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i1$2.ɵNgNoValidate, selector: \"form:not([ngNoForm]):not([ngNativeValidate])\" }, { kind: \"directive\", type: i1$2.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i1$2.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1$2.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1$2.RequiredValidator, selector: \":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]\", inputs: [\"required\"] }, { kind: \"directive\", type: i1$2.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1$2.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"directive\", type: i1$2.FormGroupName, selector: \"[formGroupName]\", inputs: [\"formGroupName\"] }, { kind: \"directive\", type: i1$2.FormArrayName, selector: \"[formArrayName]\", inputs: [\"formArrayName\"] }, { kind: \"component\", type: i4$3.MatLegacyOption, selector: \"mat-option\", exportAs: [\"matOption\"] }, { kind: \"component\", type: i4$3.MatLegacyOptgroup, selector: \"mat-optgroup\", inputs: [\"disabled\"], exportAs: [\"matOptgroup\"] }, { kind: \"component\", type: i3$2.MatLegacyButton, selector: \"button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]\", inputs: [\"disabled\", \"disableRipple\", \"color\"], exportAs: [\"matButton\"] }, { kind: \"component\", type: i6$5.MatLegacyCheckbox, selector: \"mat-checkbox\", inputs: [\"disableRipple\", \"color\", \"tabIndex\"], exportAs: [\"matCheckbox\"] }, { kind: \"directive\", type: i1$1.MatLegacyDialogClose, selector: \"[mat-dialog-close], [matDialogClose]\", inputs: [\"aria-label\", \"type\", \"mat-dialog-close\", \"matDialogClose\"], exportAs: [\"matDialogClose\"] }, { kind: \"directive\", type: i1$1.MatLegacyDialogContent, selector: \"[mat-dialog-content], mat-dialog-content, [matDialogContent]\" }, { kind: \"directive\", type: i1$1.MatLegacyDialogActions, selector: \"[mat-dialog-actions], mat-dialog-actions, [matDialogActions]\", inputs: [\"align\"] }, { kind: \"component\", type: i8$1.MatLegacyFormField, selector: \"mat-form-field\", inputs: [\"color\", \"appearance\", \"hideRequiredMarker\", \"hintLabel\", \"floatLabel\"], exportAs: [\"matFormField\"] }, { kind: \"directive\", type: i8$1.MatLegacyLabel, selector: \"mat-label\" }, { kind: \"directive\", type: i5$1.MatLegacyInput, selector: \"input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]\", exportAs: [\"matInput\"] }, { kind: \"component\", type: i10.MatLegacySelect, selector: \"mat-select\", inputs: [\"disabled\", \"disableRipple\", \"tabIndex\"], exportAs: [\"matSelect\"] }, { kind: \"component\", type: i11.SplitComponent, selector: \"as-split\", inputs: [\"direction\", \"unit\", \"gutterSize\", \"gutterStep\", \"restrictMove\", \"useTransition\", \"disabled\", \"dir\", \"gutterDblClickDuration\", \"gutterClickDeltaPx\", \"gutterAriaLabel\"], outputs: [\"transitionEnd\", \"dragStart\", \"dragEnd\", \"gutterClick\", \"gutterDblClick\"], exportAs: [\"asSplit\"] }, { kind: \"directive\", type: i11.SplitAreaDirective, selector: \"as-split-area, [as-split-area]\", inputs: [\"order\", \"size\", \"minSize\", \"maxSize\", \"lockSize\", \"visible\"], exportAs: [\"asSplitArea\"] }, { kind: \"component\", type: i12$1.RestSourceFormComponent, selector: \"classifieds-ui-rest-source-form\", inputs: [\"restSource\", \"contexts\"], outputs: [\"dataChange\"] }, { kind: \"component\", type: i5.SnippetFormComponent, selector: \"classifieds-ui-snippet-form\", inputs: [\"tokens\", \"splitDirection\", \"rows\", \"cols\", \"rootForm\", \"snippet\"], outputs: [\"submitted\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RestFormComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-rest-form', template: \"<form class=\\\"rest-form\\\" [formGroup]=\\\"restForm\\\" (ngSubmit)=\\\"submit()\\\">\\n <mat-dialog-content>\\n <as-split direction=\\\"vertical\\\" class=\\\"content-inner\\\">\\n <div as-split-area size=\\\"50\\\">\\n <classifieds-ui-rest-source-form formControlName=\\\"source\\\" (dataChange)=\\\"onDataChange($event)\\\" [contexts]=\\\"contexts\\\" [restSource]=\\\"restSource\\\"></classifieds-ui-rest-source-form>\\n </div>\\n <as-split-area size=\\\"50\\\" formGroupName=\\\"renderer\\\">\\n <mat-form-field>\\n <input matInput formControlName=\\\"query\\\" placeholder=\\\"Query\\\">\\n </mat-form-field>\\n <mat-form-field>\\n <input matInput formControlName=\\\"trackBy\\\" placeholder=\\\"Track By\\\">\\n </mat-form-field>\\n <mat-form-field>\\n <mat-label>Type</mat-label>\\n <mat-select required formControlName=\\\"type\\\">\\n <mat-optgroup label=\\\"Output\\\">\\n <mat-option value=\\\"snippet\\\">Snippet</mat-option>\\n <mat-option value=\\\"pane\\\">Pane</mat-option>\\n </mat-optgroup>\\n <mat-optgroup label=\\\"Input\\\">\\n <mat-option value=\\\"select\\\">Select</mat-option>\\n <mat-option value=\\\"radiogroup\\\">Radio Group</mat-option>\\n <mat-option value=\\\"checkboxgroup\\\">Checkbox Group</mat-option>\\n <mat-option value=\\\"autocomplete\\\">Autocomplete</mat-option>\\n </mat-optgroup>\\n </mat-select>\\n </mat-form-field>\\n <classifieds-ui-snippet-form [hidden]=\\\"rendererType.value != 'snippet'\\\" formControlName=\\\"data\\\" [rootForm]=\\\"false\\\" splitDirection=\\\"horizontal\\\" rows=\\\"10\\\" cols=\\\"40\\\" [tokens]=\\\"tokens\\\"></classifieds-ui-snippet-form>\\n <div *ngIf=\\\"rendererType.value == 'pane'\\\" formArrayName=\\\"bindings\\\">\\n <button type=\\\"button\\\" (click)=\\\"addPane()\\\">Add Pane</button>\\n <div>\\n <div *ngFor=\\\"let binding of bindings.controls; let i = index\\\">\\n <mat-form-field [formGroupName]=\\\"i\\\">\\n <mat-label>Pane</mat-label>\\n <mat-select required formControlName=\\\"id\\\">\\n <mat-option *ngFor=\\\"let pane of panes\\\" [value]=\\\"pane\\\">{{ pane }}</mat-option>\\n </mat-select>\\n </mat-form-field>\\n </div>\\n </div>\\n </div>\\n <div *ngIf=\\\"isSelectable\\\" formGroupName=\\\"select\\\">\\n <mat-form-field>\\n <input matInput formControlName=\\\"id\\\" placeholder=\\\"Id\\\">\\n </mat-form-field>\\n <mat-form-field>\\n <input matInput formControlName=\\\"value\\\" placeholder=\\\"Value\\\">\\n </mat-form-field>\\n <mat-form-field>\\n <input matInput formControlName=\\\"label\\\" placeholder=\\\"Label\\\">\\n </mat-form-field>\\n <div>\\n <mat-checkbox formControlName=\\\"multiple\\\">Multiple</mat-checkbox>\\n </div>\\n <mat-form-field>\\n <input matInput formControlName=\\\"limit\\\" placeholder=\\\"Limit\\\">\\n </mat-form-field>\\n </div>\\n </as-split-area>\\n </as-split>\\n </mat-dialog-content>\\n <mat-dialog-actions>\\n <button type=\\\"submit\\\" mat-raised-button color=\\\"primary\\\" mat-dialog-close [disabled]=\\\"!valid\\\">Save</button>\\n </mat-dialog-actions>\\n</form>\\n\", styles: [\".rest-form ::ng-deep .content-inner{height:auto}\\n\"] }]\n }], ctorParameters: function () { return [{ type: i1$2.UntypedFormBuilder }, { type: i2$2.TokenizerService }]; }, propDecorators: { panes: [{\n type: Input\n }], submitted: [{\n type: Output\n }], contexts: [{\n type: Input\n }], rest: [{\n type: Input\n }], sourceForm: [{\n type: ViewChild,\n args: [RestSourceFormComponent, { static: true }]\n }] } });\n\nclass RestEditorComponent {\n constructor(data, dialogRef, fb, handler) {\n this.data = data;\n this.dialogRef = dialogRef;\n this.fb = fb;\n this.handler = handler;\n this.panes = [];\n this.contexts = [];\n this.contexts = this.data.contexts;\n }\n ngOnInit() {\n this.panes = this.data.panelFormGroup.get('panes').controls.reduce((p, c) => (c.get('name').value ? [...p, c.get('name').value] : [...p]), []);\n if (this.data.pane !== undefined) {\n this.handler.toObject(this.data.pane.settings).subscribe((rest) => {\n this.rest = rest;\n });\n }\n }\n submitted(rest) {\n const panes = this.data.panelFormGroup.get('panes');\n if (this.data.paneIndex === undefined) {\n panes.push(this.fb.group({\n contentPlugin: 'rest',\n name: new UntypedFormControl(''),\n label: new UntypedFormControl(''),\n rule: new UntypedFormControl(''),\n settings: this.fb.array(this.handler.buildSettings(rest).map(s => this.convertToGroup(s)))\n }));\n this.data.contentAdded.next([this.data.panelIndex, panes.length - 1]);\n }\n else {\n const paneForm = panes.at(this.data.paneIndex);\n paneForm.get('settings').clear();\n this.handler.buildSettings(rest).forEach(s => {\n paneForm.get('settings').push(this.convertToGroup(s));\n });\n }\n this.dialogRef.close();\n }\n convertToGroup(setting) {\n const fg = this.fb.group({\n name: new UntypedFormControl(setting.name, Validators.required),\n type: new UntypedFormControl(setting.type, Validators.required),\n displayName: new UntypedFormControl(setting.displayName, Validators.required),\n value: new UntypedFormControl(setting.value, Validators.required),\n computedValue: new UntypedFormControl(setting.value, Validators.required),\n attributes: new UntypedFormArray([])\n });\n if (setting.attributes && setting.attributes.length > 0) {\n setting.attributes.forEach(s => {\n fg.get('attributes').push(this.convertToGroup(s));\n });\n }\n return fg;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RestEditorComponent, deps: [{ token: MAT_LEGACY_DIALOG_DATA }, { token: i1$1.MatLegacyDialogRef }, { token: i1$2.UntypedFormBuilder }, { token: RestContentHandler }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: RestEditorComponent, selector: \"classifieds-ui-rest-editor\", ngImport: i0, template: \"<classifieds-ui-rest-form (submitted)=\\\"submitted($event)\\\" [panes]=\\\"panes\\\" [rest]=\\\"rest\\\" [contexts]=\\\"contexts\\\"></classifieds-ui-rest-form>\\n\", styles: [\"\"], dependencies: [{ kind: \"component\", type: RestFormComponent, selector: \"classifieds-ui-rest-form\", inputs: [\"panes\", \"contexts\", \"rest\"], outputs: [\"submitted\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RestEditorComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-rest-editor', template: \"<classifieds-ui-rest-form (submitted)=\\\"submitted($event)\\\" [panes]=\\\"panes\\\" [rest]=\\\"rest\\\" [contexts]=\\\"contexts\\\"></classifieds-ui-rest-form>\\n\" }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [MAT_LEGACY_DIALOG_DATA]\n }] }, { type: i1$1.MatLegacyDialogRef }, { type: i1$2.UntypedFormBuilder }, { type: RestContentHandler }]; } });\n\nclass SelectionComponent {\n set values(values) {\n this.options = values;\n this.buildOptions();\n }\n get attributesArray() {\n return this.selectionForm.get('attributes');\n }\n constructor(fb, attributeSerializer, tokenizerService) {\n this.fb = fb;\n this.attributeSerializer = attributeSerializer;\n this.tokenizerService = tokenizerService;\n this.searchChange = new EventEmitter();\n this.selectionForm = this.fb.group({\n attributes: this.fb.array([])\n });\n this.onTouched = () => { };\n this.displayAuto = (opt) => {\n return tokenizerService.replaceTokens(this.selectMapping.label, this.tokenizerService.generateGenericTokens(opt.dataItem));\n };\n }\n ngOnInit() {\n this.attributesArray.push(this.fb.group({\n name: new UntypedFormControl('value', Validators.required),\n type: new UntypedFormControl(AttributeTypes.Array, Validators.required),\n displayName: new UntypedFormControl('Value', Validators.required),\n value: new UntypedFormControl(''),\n attributes: ['checkboxgroup'].findIndex(r => r === this.renderType) > -1 ? this.fb.array([]) : new UntypedFormControl('')\n }));\n if (this.renderType === 'autocomplete') {\n this.attributesArray.at(0).addControl('_proxy', this.fb.control(''));\n this.attributesArray.at(0).get('_proxy').valueChanges.pipe(distinctUntilChanged(), debounceTime(500)).subscribe(v => {\n this.searchChange.emit(v);\n });\n }\n }\n onOptionSelected(evt) {\n this.attributesArray.at(0).get('attributes').setValue(evt.option.value.value);\n this.attributesArray.at(0).get('attributes').updateValueAndValidity();\n }\n writeValue(val) {\n if (val) {\n this.attributesArray.setValue(val, { emitEvent: false });\n }\n }\n registerOnChange(fn) {\n this.attributesArray.valueChanges.subscribe(fn);\n }\n registerOnTouched(fn) {\n this.onTouched = fn;\n }\n setDisabledState(isDisabled) {\n if (isDisabled) {\n this.attributesArray.disable();\n }\n else {\n this.attributesArray.enable();\n }\n }\n validate(c) {\n return this.selectionForm.valid ? null : { invalidForm: { valid: false, message: \"selection is invalid\" } };\n }\n buildOptions() {\n if (this.renderType === 'checkboxgroup' && this.options !== undefined) {\n const formArray = this.attributesArray.controls[0].get('attributes');\n formArray.clear();\n this.options.forEach(option => {\n const group = this.attributeSerializer.convertToGroup(option.value);\n group.addControl('_store', new UntypedFormControl(false));\n formArray.push(group);\n });\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: SelectionComponent, deps: [{ token: i1$2.UntypedFormBuilder }, { token: i2$1.AttributeSerializerService }, { token: i2$2.TokenizerService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: SelectionComponent, selector: \"classifieds-ui-selection\", inputs: { name: \"name\", label: \"label\", values: \"values\", renderType: \"renderType\", selectMapping: \"selectMapping\" }, outputs: { searchChange: \"searchChange\" }, providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => SelectionComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => SelectionComponent),\n multi: true\n },\n ], ngImport: i0, template: \"<div [formGroup]=\\\"selectionForm\\\">\\n <div formArrayName=\\\"attributes\\\">\\n <div formGroupName=\\\"0\\\">\\n <div>\\n <ng-container [ngSwitch]=\\\"renderType\\\">\\n <ng-container *ngSwitchCase=\\\"'select'\\\">\\n <mat-form-field>\\n <mat-label>{{ label }}</mat-label>\\n <mat-select formControlName=\\\"attributes\\\">\\n <mat-option *ngFor=\\\"let opt of options; let i = index\\\" [value]=\\\"opt.value\\\">{{ opt.label }}</mat-option>\\n </mat-select>\\n </mat-form-field>\\n </ng-container>\\n <ng-container *ngSwitchCase=\\\"'radiogroup'\\\">\\n <div>\\n <label>{{ label }}</label>\\n <mat-radio-group formControlName=\\\"attributes\\\">\\n <mat-radio-button *ngFor=\\\"let opt of options; let i = index\\\" [value]=\\\"opt.value\\\">{{ opt.label }}</mat-radio-button>\\n </mat-radio-group>\\n </div>\\n </ng-container>\\n <ng-container *ngSwitchCase=\\\"'checkboxgroup'\\\">\\n <div>\\n <div formArrayName=\\\"attributes\\\">\\n <div *ngFor=\\\"let opt of options; let i = index\\\">\\n <div [formGroupName]=\\\"i\\\">\\n <mat-checkbox formControlName=\\\"_store\\\">{{ opt.label }}</mat-checkbox>\\n </div>\\n </div>\\n </div>\\n </div>\\n </ng-container>\\n <ng-container *ngSwitchCase=\\\"'autocomplete'\\\">\\n <mat-form-field>\\n <input matInput [placeholder]=\\\"label\\\" [matAutocomplete]=\\\"autocomplete\\\" formControlName=\\\"_proxy\\\">\\n <!-- <mat-icon matSuffix>location_city</mat-icon> -->\\n <mat-autocomplete #autocomplete=\\\"matAutocomplete\\\" [displayWith]=\\\"displayAuto\\\" (optionSelected)=\\\"onOptionSelected($event)\\\">\\n <mat-option *ngFor=\\\"let opt of options; let i = index\\\" [value]=\\\"opt\\\">{{ opt.label }}</mat-option>\\n </mat-autocomplete>\\n </mat-form-field>\\n </ng-container>\\n </ng-container>\\n </div>\\n </div>\\n </div>\\n</div>\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i3.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i3.NgSwitch, selector: \"[ngSwitch]\", inputs: [\"ngSwitch\"] }, { kind: \"directive\", type: i3.NgSwitchCase, selector: \"[ngSwitchCase]\", inputs: [\"ngSwitchCase\"] }, { kind: \"directive\", type: i1$2.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i1$2.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1$2.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1$2.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1$2.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"directive\", type: i1$2.FormGroupName, selector: \"[formGroupName]\", inputs: [\"formGroupName\"] }, { kind: \"directive\", type: i1$2.FormArrayName, selector: \"[formArrayName]\", inputs: [\"formArrayName\"] }, { kind: \"component\", type: i5$4.MatLegacyAutocomplete, selector: \"mat-autocomplete\", inputs: [\"disableRipple\"], exportAs: [\"matAutocomplete\"] }, { kind: \"directive\", type: i5$4.MatLegacyAutocompleteTrigger, selector: \"input[matAutocomplete], textarea[matAutocomplete]\", exportAs: [\"matAutocompleteTrigger\"] }, { kind: \"component\", type: i4$3.MatLegacyOption, selector: \"mat-option\", exportAs: [\"matOption\"] }, { kind: \"component\", type: i6$5.MatLegacyCheckbox, selector: \"mat-checkbox\", inputs: [\"disableRipple\", \"color\", \"tabIndex\"], exportAs: [\"matCheckbox\"] }, { kind: \"component\", type: i8$1.MatLegacyFormField, selector: \"mat-form-field\", inputs: [\"color\", \"appearance\", \"hideRequiredMarker\", \"hintLabel\", \"floatLabel\"], exportAs: [\"matFormField\"] }, { kind: \"directive\", type: i8$1.MatLegacyLabel, selector: \"mat-label\" }, { kind: \"directive\", type: i5$1.MatLegacyInput, selector: \"input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]\", exportAs: [\"matInput\"] }, { kind: \"directive\", type: i10$1.MatLegacyRadioGroup, selector: \"mat-radio-group\", exportAs: [\"matRadioGroup\"] }, { kind: \"component\", type: i10$1.MatLegacyRadioButton, selector: \"mat-radio-button\", inputs: [\"disableRipple\", \"tabIndex\"], exportAs: [\"matRadioButton\"] }, { kind: \"component\", type: i10.MatLegacySelect, selector: \"mat-select\", inputs: [\"disabled\", \"disableRipple\", \"tabIndex\"], exportAs: [\"matSelect\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: SelectionComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-selection', providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => SelectionComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => SelectionComponent),\n multi: true\n },\n ], template: \"<div [formGroup]=\\\"selectionForm\\\">\\n <div formArrayName=\\\"attributes\\\">\\n <div formGroupName=\\\"0\\\">\\n <div>\\n <ng-container [ngSwitch]=\\\"renderType\\\">\\n <ng-container *ngSwitchCase=\\\"'select'\\\">\\n <mat-form-field>\\n <mat-label>{{ label }}</mat-label>\\n <mat-select formControlName=\\\"attributes\\\">\\n <mat-option *ngFor=\\\"let opt of options; let i = index\\\" [value]=\\\"opt.value\\\">{{ opt.label }}</mat-option>\\n </mat-select>\\n </mat-form-field>\\n </ng-container>\\n <ng-container *ngSwitchCase=\\\"'radiogroup'\\\">\\n <div>\\n <label>{{ label }}</label>\\n <mat-radio-group formControlName=\\\"attributes\\\">\\n <mat-radio-button *ngFor=\\\"let opt of options; let i = index\\\" [value]=\\\"opt.value\\\">{{ opt.label }}</mat-radio-button>\\n </mat-radio-group>\\n </div>\\n </ng-container>\\n <ng-container *ngSwitchCase=\\\"'checkboxgroup'\\\">\\n <div>\\n <div formArrayName=\\\"attributes\\\">\\n <div *ngFor=\\\"let opt of options; let i = index\\\">\\n <div [formGroupName]=\\\"i\\\">\\n <mat-checkbox formControlName=\\\"_store\\\">{{ opt.label }}</mat-checkbox>\\n </div>\\n </div>\\n </div>\\n </div>\\n </ng-container>\\n <ng-container *ngSwitchCase=\\\"'autocomplete'\\\">\\n <mat-form-field>\\n <input matInput [placeholder]=\\\"label\\\" [matAutocomplete]=\\\"autocomplete\\\" formControlName=\\\"_proxy\\\">\\n <!-- <mat-icon matSuffix>location_city</mat-icon> -->\\n <mat-autocomplete #autocomplete=\\\"matAutocomplete\\\" [displayWith]=\\\"displayAuto\\\" (optionSelected)=\\\"onOptionSelected($event)\\\">\\n <mat-option *ngFor=\\\"let opt of options; let i = index\\\" [value]=\\\"opt\\\">{{ opt.label }}</mat-option>\\n </mat-autocomplete>\\n </mat-form-field>\\n </ng-container>\\n </ng-container>\\n </div>\\n </div>\\n </div>\\n</div>\\n\" }]\n }], ctorParameters: function () { return [{ type: i1$2.UntypedFormBuilder }, { type: i2$1.AttributeSerializerService }, { type: i2$2.TokenizerService }]; }, propDecorators: { searchChange: [{\n type: Output\n }], name: [{\n type: Input\n }], label: [{\n type: Input\n }], values: [{\n type: Input\n }], renderType: [{\n type: Input\n }], selectMapping: [{\n type: Input\n }] } });\n\nclass RestPaneRendererComponent {\n get renderType() {\n return this.restHandler.getRenderType(this.settings);\n }\n constructor(restHandler, controlContainer) {\n this.restHandler = restHandler;\n this.controlContainer = controlContainer;\n this.settings = [];\n this.contexts = [];\n this.state = {};\n this.stateChange = new EventEmitter();\n this.tag = uuid.v4();\n this.searchChange$ = new Subject();\n }\n ngOnInit() {\n this.restHandler.toObject(this.settings).pipe(tap(r => {\n this.snippet = r.renderer.data;\n this.selectMapping = new SelectMapping(JSON.parse(this.snippet.content));\n }), filter(() => this.renderType !== 'autocomplete'), switchMap(r => this.restHandler.buildSelectOptionItems(this.settings, new Map([['tag', this.tag], ['snippet', r.renderer.data], ['contexts', this.contexts]])))).subscribe(options => {\n this.options = options;\n });\n this.searchChange$.pipe(tap(input => {\n this.stateChange.emit({ autocomplete: { input } });\n }), switchMap(r => this.restHandler.buildSelectOptionItems(this.settings, new Map([['tag', uuid.v4()], ['snippet', this.snippet], ['contexts', this.contexts]])))).subscribe(options => {\n this.options = options;\n });\n }\n onSearchChange(searchString) {\n this.searchChange$.next(searchString);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RestPaneRendererComponent, deps: [{ token: RestContentHandler }, { token: i1$2.ControlContainer }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: RestPaneRendererComponent, selector: \"classifieds-ui-rest-pane-renderer\", inputs: { settings: \"settings\", name: \"name\", label: \"label\", displayType: \"displayType\", contexts: \"contexts\", state: \"state\" }, outputs: { stateChange: \"stateChange\" }, ngImport: i0, template: \"<div [formGroup]=\\\"controlContainer.control\\\">\\n <classifieds-ui-selection formControlName=\\\"settings\\\" [name]=\\\"name\\\" [label]=\\\"label\\\" [renderType]=\\\"renderType\\\" [values]=\\\"options\\\" [selectMapping]=\\\"selectMapping\\\" (searchChange)=\\\"onSearchChange($event)\\\"></classifieds-ui-selection>\\n</div>\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i1$2.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1$2.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1$2.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1$2.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: SelectionComponent, selector: \"classifieds-ui-selection\", inputs: [\"name\", \"label\", \"values\", \"renderType\", \"selectMapping\"], outputs: [\"searchChange\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RestPaneRendererComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-rest-pane-renderer', template: \"<div [formGroup]=\\\"controlContainer.control\\\">\\n <classifieds-ui-selection formControlName=\\\"settings\\\" [name]=\\\"name\\\" [label]=\\\"label\\\" [renderType]=\\\"renderType\\\" [values]=\\\"options\\\" [selectMapping]=\\\"selectMapping\\\" (searchChange)=\\\"onSearchChange($event)\\\"></classifieds-ui-selection>\\n</div>\\n\" }]\n }], ctorParameters: function () { return [{ type: RestContentHandler }, { type: i1$2.ControlContainer }]; }, propDecorators: { settings: [{\n type: Input\n }], name: [{\n type: Input\n }], label: [{\n type: Input\n }], displayType: [{\n type: Input\n }], contexts: [{\n type: Input\n }], state: [{\n type: Input\n }], stateChange: [{\n type: Output\n }] } });\n\nclass SliceContentHandler {\n constructor(siteName, tokenizerService, panelHandler, mediaHandler, attributeSerializer, inlineContextResolver) {\n this.siteName = siteName;\n this.tokenizerService = tokenizerService;\n this.panelHandler = panelHandler;\n this.mediaHandler = mediaHandler;\n this.attributeSerializer = attributeSerializer;\n this.inlineContextResolver = inlineContextResolver;\n }\n handleFile(file) {\n return of();\n }\n handlesType(type) {\n return false;\n }\n implementsRendererOverride() {\n return false;\n }\n hasRendererOverride(settings) {\n return of(false);\n }\n isDynamic(settings) {\n return true;\n }\n isData(settings) {\n return false;\n }\n fetchDynamicData(settings, metadata) {\n return of(new Dataset());\n }\n buildDynamicItems(settings, metadata) {\n return this.toObject(settings).pipe(map(slice => [slice, metadata.get('contexts').find((c) => c.name === slice.context)]), switchMap(([slice, context]) => this.extractDataArray(context, slice.query).pipe(map(data => [slice, context, data]))), switchMap(([slice, context, dataArray]) => this.transformDataArray(dataArray, slice.plugin)), map(panes => new Panel({ stylePlugin: undefined, settings: [], panes, columnSetting: new LayoutSetting() })), map(panel => this.panelHandler.buildSettings(new PanelPage({ id: undefined, layoutType: 'grid', displayType: 'page', site: this.siteName, gridItems: [], layoutSetting: new LayoutSetting(), rowSettings: [], panels: [panel] }))), map(panelSettings => panelSettings.find(s => s.name === 'panels').attributes[0].attributes.find(s => s.name === 'panes').attributes));\n }\n getBindings(settings, type, metadata) {\n if (type === 'context') {\n return this.toObject(settings).pipe(map(slice => [new ContentBinding({ id: slice.context, type: 'context' })]));\n }\n else {\n return of([]);\n }\n }\n toObject(settings) {\n return of(this.attributeSerializer.deserializeAsObject(settings));\n }\n buildSettings(dataSlice) {\n return this.attributeSerializer.serialize(dataSlice, 'root').attributes;\n }\n extractDataArray(context, query) {\n return this.inlineContextResolver.resolve(context).pipe(map(data => {\n const pieces = query.split('.');\n const len = pieces.length;\n if (context === undefined) {\n return of([]);\n }\n let current = Array.isArray(data) ? data[0] : data;\n for (let i = 0; i < len; i++) {\n if (pieces[i] === '') {\n continue;\n }\n current = current[pieces[i]];\n }\n return current;\n }));\n }\n transformDataArray(dataArray, plugin) {\n if (plugin === 'media') {\n return of(dataArray.map(d => new MediaFile(d)).map(m => new Pane({ contentPlugin: 'media', name: undefined, label: undefined, settings: this.mediaHandler.buildSettings(m) })));\n }\n else {\n return of();\n }\n }\n stateDefinition(settings) {\n return of({});\n }\n editorOptions(settings) {\n return of(new ContentPluginEditorOptions());\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: SliceContentHandler, deps: [{ token: SITE_NAME }, { token: i2$2.TokenizerService }, { token: i2$3.PanelContentHandler }, { token: MediaContentHandler }, { token: i2$1.AttributeSerializerService }, { token: i2$4.InlineContextResolverService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: SliceContentHandler }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: SliceContentHandler, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [SITE_NAME]\n }] }, { type: i2$2.TokenizerService }, { type: i2$3.PanelContentHandler }, { type: MediaContentHandler }, { type: i2$1.AttributeSerializerService }, { type: i2$4.InlineContextResolverService }]; } });\n\nclass DataSlice {\n constructor(data) {\n if (data) {\n this.context = data.context;\n this.query = data.query;\n this.plugin = data.plugin;\n }\n }\n}\n/*export class SelectOption {\n value: AttributeValue;\n label: string;\n dataItem: any;\n constructor(data?: SelectOption) {\n if(data) {\n this.label = data.label;\n this.dataItem = data.dataItem;\n if(data.value !== undefined) {\n this.value = new AttributeValue(data.value);\n }\n }\n }\n}*/\n/*export class SelectMapping {\n value: string;\n label: string;\n id: string;\n multiple: boolean;\n limit: number;\n constructor(data?: SelectMapping) {\n if(data) {\n this.value = data.value;\n this.label = data.label;\n this.id = data.id;\n this.multiple = data.multiple;\n this.limit = data.limit;\n }\n }\n}*/\n\nclass SliceFormComponent {\n constructor(fb) {\n this.fb = fb;\n this.contexts = [];\n this.submitted = new EventEmitter();\n this.sliceForm = this.fb.group({\n context: this.fb.control('', Validators.required),\n query: this.fb.control('', Validators.required),\n plugin: this.fb.control('', Validators.required)\n });\n }\n ngOnInit() {\n }\n submit() {\n const dataSlice = new DataSlice(this.sliceForm.value);\n this.submitted.emit(dataSlice);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: SliceFormComponent, deps: [{ token: i1$2.UntypedFormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: SliceFormComponent, selector: \"classifieds-ui-slice-form\", inputs: { contexts: \"contexts\" }, outputs: { submitted: \"submitted\" }, ngImport: i0, template: \"<form class=\\\"slice-form\\\" [formGroup]=\\\"sliceForm\\\" (ngSubmit)=\\\"submit()\\\">\\n <mat-dialog-content>\\n <mat-form-field>\\n <mat-label>Type</mat-label>\\n <mat-select required formControlName=\\\"context\\\">\\n <mat-option value=\\\"_root\\\">_root</mat-option>\\n <mat-option *ngFor=\\\"let c of contexts\\\" [value]=\\\"c.name\\\">{{ c.name }}</mat-option>\\n </mat-select>\\n </mat-form-field>\\n <mat-form-field>\\n <input matInput placeholder=\\\"Query\\\" formControlName=\\\"query\\\" required>\\n </mat-form-field>\\n <mat-form-field>\\n <mat-label>Plugin</mat-label>\\n <mat-select required formControlName=\\\"plugin\\\">\\n <mat-option value=\\\"media\\\">Media</mat-option>\\n </mat-select>\\n </mat-form-field>\\n </mat-dialog-content>\\n <mat-dialog-actions>\\n <button type=\\\"submit\\\" mat-raised-button color=\\\"primary\\\" mat-dialog-close [disabled]=\\\"!sliceForm.valid\\\">Save</button>\\n </mat-dialog-actions>\\n</form>\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i3.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i1$2.ɵNgNoValidate, selector: \"form:not([ngNoForm]):not([ngNativeValidate])\" }, { kind: \"directive\", type: i1$2.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i1$2.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1$2.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1$2.RequiredValidator, selector: \":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]\", inputs: [\"required\"] }, { kind: \"directive\", type: i1$2.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1$2.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: i4$3.MatLegacyOption, selector: \"mat-option\", exportAs: [\"matOption\"] }, { kind: \"component\", type: i3$2.MatLegacyButton, selector: \"button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]\", inputs: [\"disabled\", \"disableRipple\", \"color\"], exportAs: [\"matButton\"] }, { kind: \"directive\", type: i1$1.MatLegacyDialogClose, selector: \"[mat-dialog-close], [matDialogClose]\", inputs: [\"aria-label\", \"type\", \"mat-dialog-close\", \"matDialogClose\"], exportAs: [\"matDialogClose\"] }, { kind: \"directive\", type: i1$1.MatLegacyDialogContent, selector: \"[mat-dialog-content], mat-dialog-content, [matDialogContent]\" }, { kind: \"directive\", type: i1$1.MatLegacyDialogActions, selector: \"[mat-dialog-actions], mat-dialog-actions, [matDialogActions]\", inputs: [\"align\"] }, { kind: \"component\", type: i8$1.MatLegacyFormField, selector: \"mat-form-field\", inputs: [\"color\", \"appearance\", \"hideRequiredMarker\", \"hintLabel\", \"floatLabel\"], exportAs: [\"matFormField\"] }, { kind: \"directive\", type: i8$1.MatLegacyLabel, selector: \"mat-label\" }, { kind: \"directive\", type: i5$1.MatLegacyInput, selector: \"input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]\", exportAs: [\"matInput\"] }, { kind: \"component\", type: i10.MatLegacySelect, selector: \"mat-select\", inputs: [\"disabled\", \"disableRipple\", \"tabIndex\"], exportAs: [\"matSelect\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: SliceFormComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-slice-form', template: \"<form class=\\\"slice-form\\\" [formGroup]=\\\"sliceForm\\\" (ngSubmit)=\\\"submit()\\\">\\n <mat-dialog-content>\\n <mat-form-field>\\n <mat-label>Type</mat-label>\\n <mat-select required formControlName=\\\"context\\\">\\n <mat-option value=\\\"_root\\\">_root</mat-option>\\n <mat-option *ngFor=\\\"let c of contexts\\\" [value]=\\\"c.name\\\">{{ c.name }}</mat-option>\\n </mat-select>\\n </mat-form-field>\\n <mat-form-field>\\n <input matInput placeholder=\\\"Query\\\" formControlName=\\\"query\\\" required>\\n </mat-form-field>\\n <mat-form-field>\\n <mat-label>Plugin</mat-label>\\n <mat-select required formControlName=\\\"plugin\\\">\\n <mat-option value=\\\"media\\\">Media</mat-option>\\n </mat-select>\\n </mat-form-field>\\n </mat-dialog-content>\\n <mat-dialog-actions>\\n <button type=\\\"submit\\\" mat-raised-button color=\\\"primary\\\" mat-dialog-close [disabled]=\\\"!sliceForm.valid\\\">Save</button>\\n </mat-dialog-actions>\\n</form>\\n\" }]\n }], ctorParameters: function () { return [{ type: i1$2.UntypedFormBuilder }]; }, propDecorators: { contexts: [{\n type: Input\n }], submitted: [{\n type: Output\n }] } });\n\nclass SliceEditorComponent {\n constructor(data, dialogRef, fb, handler) {\n this.data = data;\n this.dialogRef = dialogRef;\n this.fb = fb;\n this.handler = handler;\n this.contexts = [];\n this.contexts = this.data.contexts;\n }\n ngOnInit() {\n }\n submitted(dataSlice) {\n this.data.panelFormGroup.get('panes').push(this.fb.group({\n contentPlugin: 'slice',\n name: new UntypedFormControl(''),\n label: new UntypedFormControl(''),\n rule: new UntypedFormControl(''),\n settings: this.fb.array(this.handler.buildSettings(dataSlice).map(s => this.convertToGroup(s)))\n }));\n this.dialogRef.close();\n }\n convertToGroup(setting) {\n const fg = this.fb.group({\n name: new UntypedFormControl(setting.name, Validators.required),\n type: new UntypedFormControl(setting.type, Validators.required),\n displayName: new UntypedFormControl(setting.displayName, Validators.required),\n value: new UntypedFormControl(setting.value, Validators.required),\n computedValue: new UntypedFormControl(setting.value, Validators.required),\n attributes: new UntypedFormArray([])\n });\n if (setting.attributes && setting.attributes.length > 0) {\n setting.attributes.forEach(s => {\n fg.get('attributes').push(this.convertToGroup(s));\n });\n }\n return fg;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: SliceEditorComponent, deps: [{ token: MAT_LEGACY_DIALOG_DATA }, { token: i1$1.MatLegacyDialogRef }, { token: i1$2.UntypedFormBuilder }, { token: SliceContentHandler }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: SliceEditorComponent, selector: \"classifieds-ui-slice-editor\", ngImport: i0, template: \"<classifieds-ui-slice-form (submitted)=\\\"submitted($event)\\\" [contexts]=\\\"contexts\\\"></classifieds-ui-slice-form>\\n\", styles: [\"\"], dependencies: [{ kind: \"component\", type: SliceFormComponent, selector: \"classifieds-ui-slice-form\", inputs: [\"contexts\"], outputs: [\"submitted\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: SliceEditorComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-slice-editor', template: \"<classifieds-ui-slice-form (submitted)=\\\"submitted($event)\\\" [contexts]=\\\"contexts\\\"></classifieds-ui-slice-form>\\n\" }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [MAT_LEGACY_DIALOG_DATA]\n }] }, { type: i1$1.MatLegacyDialogRef }, { type: i1$2.UntypedFormBuilder }, { type: SliceContentHandler }]; } });\n\nclass ContextEditorComponent {\n constructor(fb, controlContainer) {\n this.fb = fb;\n this.controlContainer = controlContainer;\n }\n ngOnInit() {\n this.controlContainer.control.addControl('adaptor', this.fb.control('rest', Validators.required));\n this.controlContainer.control.addControl('rest', this.fb.control(''));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ContextEditorComponent, deps: [{ token: i1$2.UntypedFormBuilder }, { token: i1$2.ControlContainer }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: ContextEditorComponent, selector: \"classifieds-ui-context-editor\", viewQueries: [{ propertyName: \"restSourceFormComp\", first: true, predicate: RestSourceFormComponent, descendants: true, static: true }], ngImport: i0, template: `<ng-container [formGroup]=\"controlContainer.control\"><classifieds-ui-rest-source-form formControlName=\"rest\"></classifieds-ui-rest-source-form></ng-container>`, isInline: true, styles: [\"\"], dependencies: [{ kind: \"directive\", type: i1$2.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1$2.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1$2.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1$2.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: i12$1.RestSourceFormComponent, selector: \"classifieds-ui-rest-source-form\", inputs: [\"restSource\", \"contexts\"], outputs: [\"dataChange\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ContextEditorComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-context-editor', template: `<ng-container [formGroup]=\"controlContainer.control\"><classifieds-ui-rest-source-form formControlName=\"rest\"></classifieds-ui-rest-source-form></ng-container>` }]\n }], ctorParameters: function () { return [{ type: i1$2.UntypedFormBuilder }, { type: i1$2.ControlContainer }]; }, propDecorators: { restSourceFormComp: [{\n type: ViewChild,\n args: [RestSourceFormComponent, { static: true }]\n }] } });\n\nclass TabsPanelEditorComponent {\n get labels() {\n return this.formGroup.get('labels');\n }\n constructor(data, dialogRef, fb, attributeSerializer) {\n this.data = data;\n this.dialogRef = dialogRef;\n this.fb = fb;\n this.attributeSerializer = attributeSerializer;\n this.contexts = [];\n this.panes = [];\n this.formGroup = this.fb.group({\n labels: this.fb.array([\n this.buildLabelGroup()\n ])\n });\n this.contexts = this.data.contexts;\n }\n ngOnInit() {\n this.panes = new Panel(this.data.panelFormGroup.value).panes;\n }\n submit() {\n this.data.panelFormGroup.get('settings').clear();\n this.attributeSerializer.serialize(this.formGroup.value, 'root').attributes.forEach(a => {\n console.log('label mappings');\n console.log(this.attributeSerializer.convertToGroup(a));\n this.data.panelFormGroup.get('settings').push(this.attributeSerializer.convertToGroup(a));\n });\n }\n onRemoveMapping(index) {\n this.labels.removeAt(index);\n }\n onAddMapping() {\n this.labels.push(this.buildLabelGroup());\n }\n buildLabelGroup() {\n return this.fb.group({\n mapping: this.fb.control('')\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: TabsPanelEditorComponent, deps: [{ token: MAT_LEGACY_DIALOG_DATA }, { token: i1$1.MatLegacyDialogRef }, { token: i1$2.UntypedFormBuilder }, { token: i2$1.AttributeSerializerService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: TabsPanelEditorComponent, selector: \"druid-tabs-panel-editor\", ngImport: i0, template: \"<form [formGroup]=\\\"formGroup\\\" (ngSubmit)=\\\"submit()\\\">\\n <div formArrayName=\\\"labels\\\">\\n <div *ngFor=\\\"let label of labels.controls; let i = index\\\" [formGroupName]=\\\"i\\\">\\n <druid-panels-panelpage-linkedlist formControlName=\\\"mapping\\\" [panes]=\\\"panes\\\"></druid-panels-panelpage-linkedlist>\\n <button type=\\\"button\\\" mat-raised-button color=\\\"primary\\\" (click)=\\\"onRemoveMapping(i)\\\">Remove</button>\\n </div>\\n <button type=\\\"button\\\" mat-raised-button color=\\\"primary\\\" (click)=\\\"onAddMapping()\\\">Add</button>\\n </div>\\n <button type=\\\"submit\\\" mat-raised-button color=\\\"primary\\\" mat-dialog-close [disabled]=\\\"!formGroup.valid\\\">Save</button>\\n</form>\", dependencies: [{ kind: \"directive\", type: i3.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i1$2.ɵNgNoValidate, selector: \"form:not([ngNoForm]):not([ngNativeValidate])\" }, { kind: \"directive\", type: i1$2.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1$2.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1$2.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1$2.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"directive\", type: i1$2.FormGroupName, selector: \"[formGroupName]\", inputs: [\"formGroupName\"] }, { kind: \"directive\", type: i1$2.FormArrayName, selector: \"[formArrayName]\", inputs: [\"formArrayName\"] }, { kind: \"component\", type: i3$2.MatLegacyButton, selector: \"button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]\", inputs: [\"disabled\", \"disableRipple\", \"color\"], exportAs: [\"matButton\"] }, { kind: \"directive\", type: i1$1.MatLegacyDialogClose, selector: \"[mat-dialog-close], [matDialogClose]\", inputs: [\"aria-label\", \"type\", \"mat-dialog-close\", \"matDialogClose\"], exportAs: [\"matDialogClose\"] }, { kind: \"component\", type: i2$3.PanelPageLinkedlistComponent, selector: \"druid-panels-panelpage-linkedlist\", inputs: [\"panelPages\", \"panels\", \"panes\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: TabsPanelEditorComponent, decorators: [{\n type: Component,\n args: [{ selector: 'druid-tabs-panel-editor', template: \"<form [formGroup]=\\\"formGroup\\\" (ngSubmit)=\\\"submit()\\\">\\n <div formArrayName=\\\"labels\\\">\\n <div *ngFor=\\\"let label of labels.controls; let i = index\\\" [formGroupName]=\\\"i\\\">\\n <druid-panels-panelpage-linkedlist formControlName=\\\"mapping\\\" [panes]=\\\"panes\\\"></druid-panels-panelpage-linkedlist>\\n <button type=\\\"button\\\" mat-raised-button color=\\\"primary\\\" (click)=\\\"onRemoveMapping(i)\\\">Remove</button>\\n </div>\\n <button type=\\\"button\\\" mat-raised-button color=\\\"primary\\\" (click)=\\\"onAddMapping()\\\">Add</button>\\n </div>\\n <button type=\\\"submit\\\" mat-raised-button color=\\\"primary\\\" mat-dialog-close [disabled]=\\\"!formGroup.valid\\\">Save</button>\\n</form>\" }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [MAT_LEGACY_DIALOG_DATA]\n }] }, { type: i1$1.MatLegacyDialogRef }, { type: i1$2.UntypedFormBuilder }, { type: i2$1.AttributeSerializerService }]; } });\n\nclass TabsPanelRendererComponent {\n constructor(attributeSerializer) {\n this.attributeSerializer = attributeSerializer;\n this.settings = [];\n this.panes = [];\n this.originMappings = [];\n this.labelMappingsEnabled = false;\n }\n ngOnInit() {\n console.log('tabs panels contexts');\n console.log(this.panes);\n const obj = this.attributeSerializer.deserialize(new AttributeValue({ name: '', displayName: '', computedValue: '', type: AttributeTypes.Complex, value: '', intValue: 0, attributes: this.settings }));\n this.labelMappingsEnabled = obj && obj.labels !== undefined && Array.isArray(obj.labels) && obj.labels.length > 0 ? true : false;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: TabsPanelRendererComponent, deps: [{ token: i2$1.AttributeSerializerService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: TabsPanelRendererComponent, selector: \"classifieds-ui-tabs-panel-renderer\", inputs: { settings: \"settings\", panes: \"panes\", originPanes: \"originPanes\", originMappings: \"originMappings\" }, ngImport: i0, template: \"<!-- with label mappings -->\\n<mat-tab-group *ngIf=\\\"labelMappingsEnabled\\\" mat-align-tabs=\\\"start\\\">\\n <mat-tab *for=\\\"panes.length / 2; let i = index\\\">\\n <ng-template mat-tab-label>\\n <classifieds-ui-render-pane [pluginName]=\\\"panes[i * 2].contentPlugin\\\" [settings]=\\\"panes[i * 2].settings\\\" [contexts]=\\\"panes[i * 2].contexts\\\"></classifieds-ui-render-pane>\\n </ng-template>\\n <classifieds-ui-render-pane [pluginName]=\\\"panes[i * 2 + 1].contentPlugin\\\" [settings]=\\\"panes[i * 2 + 1].settings\\\" [contexts]=\\\"panes[i * 2 + 1].contexts\\\"></classifieds-ui-render-pane>\\n </mat-tab>\\n</mat-tab-group>\\n\\n<!-- without label mappings -->\\n<mat-tab-group *ngIf=\\\"!labelMappingsEnabled\\\" mat-align-tabs=\\\"start\\\">\\n <mat-tab *ngFor=\\\"let pane of panes\\\" label=\\\"The Label\\\">\\n <classifieds-ui-render-pane [pluginName]=\\\"pane.contentPlugin\\\" [settings]=\\\"pane.settings\\\" [contexts]=\\\"pane.contexts\\\"></classifieds-ui-render-pane>\\n </mat-tab>\\n</mat-tab-group>\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i3.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i3.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"component\", type: i8.MatLegacyTabGroup, selector: \"mat-tab-group\", inputs: [\"color\", \"disableRipple\"], exportAs: [\"matTabGroup\"] }, { kind: \"directive\", type: i8.MatLegacyTabLabel, selector: \"[mat-tab-label], [matTabLabel]\" }, { kind: \"component\", type: i8.MatLegacyTab, selector: \"mat-tab\", inputs: [\"disabled\"], exportAs: [\"matTab\"] }, { kind: \"directive\", type: i4.ForDirective, selector: \"[for]:not(label)\", inputs: [\"for\"] }, { kind: \"component\", type: i7$2.RenderPaneComponent, selector: \"classifieds-ui-render-pane\", inputs: [\"pluginName\", \"settings\", \"linkedPageId\", \"contexts\", \"originPane\", \"displayType\", \"name\", \"label\", \"indexPosition\", \"ancestory\", \"panes\", \"originPanes\", \"resolvedContext\", \"css\", \"listeners\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: TabsPanelRendererComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-tabs-panel-renderer', template: \"<!-- with label mappings -->\\n<mat-tab-group *ngIf=\\\"labelMappingsEnabled\\\" mat-align-tabs=\\\"start\\\">\\n <mat-tab *for=\\\"panes.length / 2; let i = index\\\">\\n <ng-template mat-tab-label>\\n <classifieds-ui-render-pane [pluginName]=\\\"panes[i * 2].contentPlugin\\\" [settings]=\\\"panes[i * 2].settings\\\" [contexts]=\\\"panes[i * 2].contexts\\\"></classifieds-ui-render-pane>\\n </ng-template>\\n <classifieds-ui-render-pane [pluginName]=\\\"panes[i * 2 + 1].contentPlugin\\\" [settings]=\\\"panes[i * 2 + 1].settings\\\" [contexts]=\\\"panes[i * 2 + 1].contexts\\\"></classifieds-ui-render-pane>\\n </mat-tab>\\n</mat-tab-group>\\n\\n<!-- without label mappings -->\\n<mat-tab-group *ngIf=\\\"!labelMappingsEnabled\\\" mat-align-tabs=\\\"start\\\">\\n <mat-tab *ngFor=\\\"let pane of panes\\\" label=\\\"The Label\\\">\\n <classifieds-ui-render-pane [pluginName]=\\\"pane.contentPlugin\\\" [settings]=\\\"pane.settings\\\" [contexts]=\\\"pane.contexts\\\"></classifieds-ui-render-pane>\\n </mat-tab>\\n</mat-tab-group>\\n\" }]\n }], ctorParameters: function () { return [{ type: i2$1.AttributeSerializerService }]; }, propDecorators: { settings: [{\n type: Input\n }], panes: [{\n type: Input\n }], originPanes: [{\n type: Input\n }], originMappings: [{\n type: Input\n }] } });\n\nclass PageStateFormComponent {\n set panelPage(pp) {\n this.panelPage$.next(pp);\n }\n set context(context) {\n this.context$.next(context);\n }\n constructor(fb, controlContainer) {\n this.fb = fb;\n this.controlContainer = controlContainer;\n this.panelPages = [];\n this.panelPage$ = new BehaviorSubject(new PanelPage());\n this.context$ = new BehaviorSubject(undefined);\n this.formGroup = this.fb.group({\n // selectionPath: this.fb.control([]),\n state: this.fb.control('', [Validators.required]),\n /*type: this.fb.control('', [ ]),\n defaultValue: this.fb.control(''),*/\n });\n this.stateCtrl = this.fb.control('');\n /*selectionPathCtrl = this.fb.control('');\n \n selectionPathCtrlSub = this.selectionPathCtrl.valueChanges.pipe(\n map(v => v && v !== '' ? this.flattenSelector(v) : [])\n ).subscribe(v => {\n this.formGroup.get('selectionPath').setValue(v);\n });*/\n this.stateCtrlSub = this.stateCtrl.valueChanges.pipe(debounceTime(250), distinctUntilChanged(), filter(v => {\n try {\n JSON.parse(v);\n return true;\n }\n catch (e) {\n return false;\n }\n }), map(v => JSON.parse(v))).subscribe(v => {\n console.log('write state');\n console.log(v);\n this.formGroup.get('state').setValue(v);\n });\n this.onTouched = () => { };\n }\n ngOnInit() {\n this.panelPage$.subscribe(pp => {\n this.panelPages = [pp];\n });\n this.context$.subscribe(c => {\n if (c) {\n this.stateCtrl.setValue(JSON.stringify(c.data.state));\n // this.formGroup.get('selectionPath').setValue(c.data.selectionPath);\n // @todo: reselect path\n }\n else {\n this.stateCtrl.setValue('');\n // this.formGroup.get('selectionPath').setValue([]);\n }\n });\n }\n writeValue(val) {\n if (val) {\n this.formGroup.setValue(val, { emitEvent: false });\n }\n }\n registerOnChange(fn) {\n this.formGroup.valueChanges.subscribe(fn);\n }\n registerOnTouched(fn) {\n this.onTouched = fn;\n }\n setDisabledState(isDisabled) {\n if (isDisabled) {\n this.formGroup.disable();\n }\n else {\n this.formGroup.enable();\n }\n }\n validate(c) {\n return this.formGroup.valid ? null : { invalidForm: { valid: false, message: \"source is invalid\" } };\n }\n flattenSelector(selector) {\n const flat = [];\n if (selector.panel !== undefined && selector.panel !== null) {\n flat.push(selector.panel);\n }\n if (selector.pane !== undefined && selector.pane !== null) {\n flat.push(selector.pane);\n }\n if (selector.nested !== undefined && selector.nested !== null && typeof (selector.nested) === 'object') {\n this.flattenSelector(selector.nested).forEach(i => flat.push(i));\n }\n return flat;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PageStateFormComponent, deps: [{ token: i1$2.UntypedFormBuilder }, { token: i1$2.ControlContainer }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: PageStateFormComponent, selector: \"classifieds-ui-page-state-form\", inputs: { panelPage: \"panelPage\", context: \"context\" }, providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => PageStateFormComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => PageStateFormComponent),\n multi: true\n },\n ], ngImport: i0, template: \"<div [formGroup]=\\\"formGroup\\\">\\n <<!-- druid-panels-panelpage-linkedlist [formControl]=\\\"selectionPathCtrl\\\" [panelPages]=\\\"panelPages\\\"></druid-panels-panelpage-linkedlist> -->\\n <textarea [formControl]=\\\"stateCtrl\\\" cols=\\\"40\\\" rows=\\\"20\\\" required></textarea>\\n</div>\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i1$2.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i1$2.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1$2.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1$2.RequiredValidator, selector: \":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]\", inputs: [\"required\"] }, { kind: \"directive\", type: i1$2.FormControlDirective, selector: \"[formControl]\", inputs: [\"formControl\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1$2.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PageStateFormComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-page-state-form', providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => PageStateFormComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => PageStateFormComponent),\n multi: true\n },\n ], template: \"<div [formGroup]=\\\"formGroup\\\">\\n <<!-- druid-panels-panelpage-linkedlist [formControl]=\\\"selectionPathCtrl\\\" [panelPages]=\\\"panelPages\\\"></druid-panels-panelpage-linkedlist> -->\\n <textarea [formControl]=\\\"stateCtrl\\\" cols=\\\"40\\\" rows=\\\"20\\\" required></textarea>\\n</div>\" }]\n }], ctorParameters: function () { return [{ type: i1$2.UntypedFormBuilder }, { type: i1$2.ControlContainer }]; }, propDecorators: { panelPage: [{\n type: Input\n }], context: [{\n type: Input\n }] } });\n\nclass PageStateEditorComponent {\n constructor(fb, pageBuilderFacade, controlContainer) {\n this.fb = fb;\n this.pageBuilderFacade = pageBuilderFacade;\n this.controlContainer = controlContainer;\n }\n ngOnInit() {\n this.controlContainer.control.addControl('adaptor', this.fb.control('data', Validators.required));\n this.controlContainer.control.addControl('data', this.fb.control(''));\n this.pageBuilderFacade.getPage$.pipe(take(1)).subscribe(pp => {\n this.panelPage = pp;\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PageStateEditorComponent, deps: [{ token: i1$2.UntypedFormBuilder }, { token: i2$3.PageBuilderFacade }, { token: i1$2.ControlContainer }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: PageStateEditorComponent, selector: \"classifieds-ui-page-state-editor\", inputs: { context: \"context\" }, viewQueries: [{ propertyName: \"restSourceFormComp\", first: true, predicate: PageStateFormComponent, descendants: true, static: true }], ngImport: i0, template: `<ng-container [formGroup]=\"controlContainer.control\"><classifieds-ui-page-state-form formControlName=\"data\" [panelPage]=\"panelPage\" [context]=\"context\"></classifieds-ui-page-state-form></ng-container>`, isInline: true, styles: [\"\"], dependencies: [{ kind: \"directive\", type: i1$2.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1$2.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1$2.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1$2.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: PageStateFormComponent, selector: \"classifieds-ui-page-state-form\", inputs: [\"panelPage\", \"context\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PageStateEditorComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-page-state-editor', template: `<ng-container [formGroup]=\"controlContainer.control\"><classifieds-ui-page-state-form formControlName=\"data\" [panelPage]=\"panelPage\" [context]=\"context\"></classifieds-ui-page-state-form></ng-container>` }]\n }], ctorParameters: function () { return [{ type: i1$2.UntypedFormBuilder }, { type: i2$3.PageBuilderFacade }, { type: i1$2.ControlContainer }]; }, propDecorators: { context: [{\n type: Input\n }], restSourceFormComp: [{\n type: ViewChild,\n args: [PageStateFormComponent, { static: true }]\n }] } });\n\nclass FormDatasourceFormComponent {\n set settings(settings) {\n this.settings$.next(settings);\n }\n constructor(fb, attributeSerializer) {\n this.fb = fb;\n this.attributeSerializer = attributeSerializer;\n this.settings$ = new BehaviorSubject(undefined);\n this.formGroup = this.fb.group({\n name: this.fb.control('', [Validators.required]),\n field: this.fb.control('', [Validators.required])\n });\n this.settingsSub = this.settings$.pipe(map(s => s ? new FormDatasource(this.attributeSerializer.deserializeAsObject(s)) : undefined)).subscribe(ds => {\n if (ds) {\n this.formGroup.get('name').setValue(ds.name);\n this.formGroup.get('field').setValue(ds.field);\n }\n else {\n this.formGroup.get('name').setValue('');\n this.formGroup.get('field').setValue('');\n }\n });\n this.onTouched = () => { };\n }\n ngOnInit() {\n }\n writeValue(val) {\n if (val) {\n this.formGroup.setValue(val, { emitEvent: false });\n }\n }\n registerOnChange(fn) {\n this.formGroup.valueChanges.subscribe(fn);\n }\n registerOnTouched(fn) {\n this.onTouched = fn;\n }\n setDisabledState(isDisabled) {\n if (isDisabled) {\n this.formGroup.disable();\n }\n else {\n this.formGroup.enable();\n }\n }\n validate(c) {\n return this.formGroup.valid ? null : { invalidForm: { valid: false, message: \"content is invalid\" } };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormDatasourceFormComponent, deps: [{ token: i1$2.UntypedFormBuilder }, { token: i2$1.AttributeSerializerService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: FormDatasourceFormComponent, selector: \"classifieds-ui-form-datasource-form\", inputs: { settings: \"settings\" }, providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => FormDatasourceFormComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => FormDatasourceFormComponent),\n multi: true\n },\n ], ngImport: i0, template: \"<div [formGroup]=\\\"formGroup\\\">\\n\\n <div>\\n <mat-form-field>\\n <mat-label>Name</mat-label>\\n <input matInput formControlName=\\\"name\\\" required>\\n </mat-form-field>\\n </div>\\n\\n <div>\\n <mat-form-field>\\n <mat-label>Field</mat-label>\\n <input matInput formControlName=\\\"field\\\" required>\\n </mat-form-field>\\n </div>\\n\\n</div>\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i1$2.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i1$2.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1$2.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1$2.RequiredValidator, selector: \":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]\", inputs: [\"required\"] }, { kind: \"directive\", type: i1$2.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1$2.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: i8$1.MatLegacyFormField, selector: \"mat-form-field\", inputs: [\"color\", \"appearance\", \"hideRequiredMarker\", \"hintLabel\", \"floatLabel\"], exportAs: [\"matFormField\"] }, { kind: \"directive\", type: i8$1.MatLegacyLabel, selector: \"mat-label\" }, { kind: \"directive\", type: i5$1.MatLegacyInput, selector: \"input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]\", exportAs: [\"matInput\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormDatasourceFormComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-form-datasource-form', providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => FormDatasourceFormComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => FormDatasourceFormComponent),\n multi: true\n },\n ], template: \"<div [formGroup]=\\\"formGroup\\\">\\n\\n <div>\\n <mat-form-field>\\n <mat-label>Name</mat-label>\\n <input matInput formControlName=\\\"name\\\" required>\\n </mat-form-field>\\n </div>\\n\\n <div>\\n <mat-form-field>\\n <mat-label>Field</mat-label>\\n <input matInput formControlName=\\\"field\\\" required>\\n </mat-form-field>\\n </div>\\n\\n</div>\" }]\n }], ctorParameters: function () { return [{ type: i1$2.UntypedFormBuilder }, { type: i2$1.AttributeSerializerService }]; }, propDecorators: { settings: [{\n type: Input\n }] } });\n\nclass FormDatasourceComponent {\n constructor(controlContainer) {\n this.controlContainer = controlContainer;\n this.settings = [];\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormDatasourceComponent, deps: [{ token: i1$2.ControlContainer }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: FormDatasourceComponent, selector: \"classifieds-ui-form-datasource\", inputs: { settings: \"settings\" }, ngImport: i0, template: `<ng-container [formGroup]=\"controlContainer.control\"><classifieds-ui-form-datasource-form formControlName=\"settings\" [settings]=\"settings\"></classifieds-ui-form-datasource-form></ng-container>`, isInline: true, dependencies: [{ kind: \"directive\", type: i1$2.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1$2.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1$2.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1$2.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: FormDatasourceFormComponent, selector: \"classifieds-ui-form-datasource-form\", inputs: [\"settings\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormDatasourceComponent, decorators: [{\n type: Component,\n args: [{\n selector: 'classifieds-ui-form-datasource',\n template: `<ng-container [formGroup]=\"controlContainer.control\"><classifieds-ui-form-datasource-form formControlName=\"settings\" [settings]=\"settings\"></classifieds-ui-form-datasource-form></ng-container>`,\n }]\n }], ctorParameters: function () { return [{ type: i1$2.ControlContainer }]; }, propDecorators: { settings: [{\n type: Input\n }] } });\n\n// import { PanelContentHandler } from './handlers/panel-content.handler';\nconst snippetContentPluginFactory = (handler) => {\n return new ContentPlugin({\n id: 'snippet',\n title: 'Snippet',\n selectionComponent: undefined,\n editorComponent: SnippetEditorComponent,\n renderComponent: SnippetPaneRendererComponent,\n handler\n });\n};\nconst attributeContentPluginFactory = (handler) => {\n return new ContentPlugin({\n id: 'attribute',\n title: 'Attribute',\n selectionComponent: AttributeSelectorComponent,\n editorComponent: AttributeEditorComponent,\n renderComponent: AttributePaneRendererComponent,\n handler\n });\n};\nconst mediaContentPluginFactory = (handler) => {\n return new ContentPlugin({\n id: 'media',\n title: 'Media',\n selectionComponent: undefined,\n editorComponent: MediaEditorComponent,\n renderComponent: MediaPaneRendererComponent,\n handler\n });\n};\n/*export const panelContentPluginFactory = (handler: PanelContentHandler) => {\n return new ContentPlugin<string>({\n id: 'panel',\n title: 'Panel',\n selectionComponent: PanelSelectorComponent,\n editorComponent: PanelEditorComponent,\n renderComponent: undefined,\n handler\n })\n}*/\nconst restContentPluginFactory = (handler) => {\n return new ContentPlugin({\n id: 'rest',\n title: 'REST',\n selectionComponent: undefined,\n editorComponent: RestEditorComponent,\n renderComponent: RestPaneRendererComponent,\n handler\n });\n};\nconst sliceContentPluginFactory = (handler) => {\n return new ContentPlugin({\n id: 'slice',\n title: 'Slice',\n selectionComponent: undefined,\n editorComponent: SliceEditorComponent,\n renderComponent: undefined,\n handler\n });\n};\nconst pageContextFactory = (resolver) => {\n const baseObject = {\n path: '',\n };\n return new ContextPlugin({ id: \"page\", name: 'page', title: 'Page', global: true, group: 'pages', baseObject, resolver });\n};\nconst restContextFactory = (resolver) => {\n const baseObject = {\n dataset: new Dataset(),\n };\n return new ContextPlugin({ id: \"rest\", name: 'rest', title: 'Rest', baseObject, resolver, editorComponent: ContextEditorComponent });\n};\nconst formContextFactory = (resolver) => {\n const baseObject = {\n dataset: new Dataset(),\n };\n return new ContextPlugin({ id: \"form\", name: 'form', title: 'Form', baseObject, resolver });\n};\nconst paneStateContextFactory = (resolver) => {\n const baseObject = new PaneState({ state: new AttributeValue() });\n return new ContextPlugin({ id: 'panestate', name: 'panestate', title: 'Pane State', internal: true, baseObject, resolver });\n};\nconst pageStateContextFactory = (resolver) => {\n const baseObject = new PaneState({ state: new AttributeValue() });\n return new ContextPlugin({ id: 'pagestate', name: 'pagestate', title: 'Page State', internal: true, baseObject, resolver, editorComponent: PageStateEditorComponent });\n};\nconst tabsStylePluginFactory = (handler) => {\n return new StylePlugin({ id: 'tabs', name: 'tabs', title: 'Tabs', handler, editorComponent: TabsPanelEditorComponent, renderComponent: TabsPanelRendererComponent });\n};\nconst formParamPluginFactory = (tokenizerService, formService, pageBuilderFacade) => {\n return new ParamPlugin({\n id: 'form',\n title: 'Form',\n usedContexts: ({ param, metadata }) => of([`form__${param.mapping.value.substr(0, param.mapping.value.indexOf('.'))}`]),\n evalParam: ({ param, metadata }) => {\n const name = param.mapping.value.substr(0, param.mapping.value.indexOf('.'));\n const value = param.mapping.value.substr(param.mapping.value.indexOf('.') + 1);\n console.log(`form: ${name} || ${value}`);\n return pageBuilderFacade.getForm$(name).pipe(take(1), map(form => form ? form : new PanelPageForm()), map(form => formService.serializeForm(form)), map(obj => tokenizerService.generateGenericTokens(obj)), tap(tokens => console.log(tokens)), map(tokens => {\n if (!tokens.has(`.${value}`)) {\n return '';\n }\n else {\n return tokenizerService.replaceTokens(`[.${value}]` /*`[.${value}.value]`*/, tokens);\n }\n }), tap(value => {\n console.log('form value');\n console.log(value);\n }));\n }\n });\n};\nconst formResolvedContextPluginFactory = (pageBuilderFacade) => {\n return new ResolvedContextPlugin({\n id: 'form',\n title: 'Form',\n resolve: () => pageBuilderFacade.getFormNames$.pipe(switchMap(names => names.length === 0 ? of([]) : combineLatest(names.map(n => pageBuilderFacade.getForm$(n).pipe(map(f => [n, f]))))), map(v => v.reduce((p, [n, f]) => ({ ...p, [`form__${n}`]: f }), {}))),\n resolveSingle: () => pageBuilderFacade.getFormNames$.pipe(switchMap(names => merge(...names.map(n => pageBuilderFacade.getForm$(n).pipe(map(f => [`form__${n}`, f]))))))\n });\n};\nconst pagesFormBridgeFactory = (formService) => {\n return new BridgeBuilderPlugin({\n id: 'pages_form',\n title: 'Pages Form',\n build: () => {\n PublicApiBridgeService.prototype['serializePageForm'] = (form) => {\n return new Promise(res => {\n res(formService.serializeForm(form));\n });\n };\n }\n });\n};\nconst formSerializationEntityCrudAdaptorPluginFactory = (paramsEvaluatorService, formService) => {\n return new CrudAdaptorPlugin({\n id: 'panelpageform_serialize',\n title: 'Panelpageform Serialize',\n create: ({ object }) => of({ success: false, entity: formService.serializeForm(new PanelPageForm(object)) }),\n read: ({}) => of({ success: false }),\n update: ({}) => of({ success: false }),\n delete: ({}) => of({ success: false })\n });\n};\nconst formDatasourcePluginFactory = (attributeSerializer, pageBuilderFacade, formService) => {\n return new DatasourcePlugin({\n id: 'form',\n title: 'Form',\n editor: FormDatasourceComponent,\n fetch: ({ settings }) => of(new Dataset()).pipe(map(() => new FormDatasource(attributeSerializer.deserializeAsObject(settings))), switchMap(ds => pageBuilderFacade.getForm$(ds.name).pipe(map(form => [ds, form ? form : new PanelPageForm()]), defaultIfEmpty([ds, new PanelPageForm()]), take(1))), map(([ds, form]) => [ds, formService.serializeForm(form)]), map(([ds, json]) => new Dataset({ results: JSONPath({ path: `$.${ds.field}.*`, json }) }))),\n getBindings: ({ settings, metadata }) => of([]).pipe(map(() => new FormDatasource(attributeSerializer.deserializeAsObject(settings))), map(ds => [new ContentBinding({ id: `form__${ds.name}`, type: 'context' })]))\n });\n};\nconst createMatcher = (panelPage) => {\n return (url) => {\n if (('/' + url.map(u => u.path).join('/')).indexOf(panelPage.path) === 0) {\n const pathLen = panelPage.path.substr(1).split('/').length;\n return {\n consumed: url,\n posParams: url.reduce((p, c, index) => {\n if (index === 0) {\n return { ...p, panelPageId: new UrlSegment(panelPage.id, {}) };\n }\n else if (index > pathLen - 1) {\n return { ...p, [`arg${index - pathLen}`]: new UrlSegment(c.path, {}) };\n }\n else {\n return { ...p };\n }\n }, {})\n };\n }\n else {\n return null;\n }\n };\n};\nconst createEditMatcher = (panelPage) => {\n return (url) => {\n if (('/' + url.map(u => u.path).join('/')).indexOf(panelPage.path) === 0 && url.map(u => u.path).join('/').indexOf('/manage') > -1) {\n const pathLen = panelPage.path.substr(1).split('/').length;\n return {\n consumed: url,\n posParams: url.reduce((p, c, index) => {\n if (index === 0) {\n return { ...p, panelPageId: new UrlSegment(panelPage.id, {}) };\n }\n else {\n return { ...p };\n }\n }, {})\n };\n }\n else {\n return null;\n }\n };\n};\n\nclass GalleryEditorComponent {\n constructor() { }\n ngOnInit() {\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: GalleryEditorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: GalleryEditorComponent, selector: \"classifieds-ui-gallery-editor\", ngImport: i0, template: \"<p>gallery-editor works!</p>\\n\", styles: [\"\"] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: GalleryEditorComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-gallery-editor', template: \"<p>gallery-editor works!</p>\\n\" }]\n }], ctorParameters: function () { return []; } });\n\nclass DatasourceSelectorComponent {\n // private contentPlugin: ContentPlugin;\n constructor(\n // @Inject(CONTENT_PLUGIN) contentPlugins: Array<ContentPlugin>,\n bottomSheetRef, fb, dialog) {\n this.bottomSheetRef = bottomSheetRef;\n this.fb = fb;\n this.dialog = dialog;\n // this.contentPlugin = contentPlugins.find(p => p.name === 'datasource');\n }\n ngOnInit() {\n }\n onItemSelect(datasource) {\n /*(this.panelFormGroup.get('panes') as FormArray).push(this.fb.group({\n contentPlugin: 'attribute',\n name: new FormControl(''),\n label: new FormControl(''),\n settings: this.fb.array(this.handler.widgetSettings(widget).map(s => this.fb.group({\n name: new FormControl(s.name, Validators.required),\n type: new FormControl(s.type, Validators.required),\n displayName: new FormControl(s.displayName, Validators.required),\n value: new FormControl(s.value, Validators.required),\n computedValue: new FormControl(s.computedValue, Validators.required),\n })))\n }));\n const formArray = (this.panelFormGroup.get('panes') as FormArray);\n const paneIndex = formArray.length - 1;\n const pane = new Pane(formArray.at(paneIndex).value);\n this.dialog.open(this.contentPlugin.editorComponent, { data: { panelFormGroup: this.panelFormGroup, pane, paneIndex } });\n this.bottomSheetRef.dismiss();*/\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DatasourceSelectorComponent, deps: [{ token: i1.MatBottomSheetRef }, { token: i1$2.UntypedFormBuilder }, { token: i1$1.MatLegacyDialog }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: DatasourceSelectorComponent, selector: \"classifieds-ui-datasource-selector\", inputs: { panelFormGroup: \"panelFormGroup\" }, ngImport: i0, template: \"<mat-nav-list>\\n <a mat-list-item mat-list-item (click)=\\\"onItemSelect('rest')\\\">\\n <span mat-line>REST API</span>\\n </a>\\n</mat-nav-list>\\n\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i6.MatLine, selector: \"[mat-line], [matLine]\" }, { kind: \"component\", type: i7.MatLegacyNavList, selector: \"mat-nav-list\", inputs: [\"disableRipple\", \"disabled\"], exportAs: [\"matNavList\"] }, { kind: \"component\", type: i7.MatLegacyListItem, selector: \"mat-list-item, a[mat-list-item], button[mat-list-item]\", inputs: [\"disableRipple\", \"disabled\"], exportAs: [\"matListItem\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DatasourceSelectorComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-datasource-selector', template: \"<mat-nav-list>\\n <a mat-list-item mat-list-item (click)=\\\"onItemSelect('rest')\\\">\\n <span mat-line>REST API</span>\\n </a>\\n</mat-nav-list>\\n\" }]\n }], ctorParameters: function () { return [{ type: i1.MatBottomSheetRef }, { type: i1$2.UntypedFormBuilder }, { type: i1$1.MatLegacyDialog }]; }, propDecorators: { panelFormGroup: [{\n type: Input\n }] } });\n\nclass VirtualListPanelRendererComponent {\n constructor(tokenizerService, panelResolverService, styleResolverService, paneDatasource) {\n this.tokenizerService = tokenizerService;\n this.panelResolverService = panelResolverService;\n this.styleResolverService = styleResolverService;\n this.paneDatasource = paneDatasource;\n this.settings = [];\n this.panes = [];\n this.originMappings = [];\n this.resolvedContext = {};\n /*this.trackByMapping = (index: number, pane: Pane): string => {\n // Changing this to root lookup for now...\n // return this.tokenizerService.replaceTokens(this.trackByTpl, this.tokenizerService.generateGenericTokens(pane.contexts[0].data));\n console.log(`track by item: ${this.tokenizerService.replaceTokens(this.trackByTpl, this.tokenizerService.generateGenericTokens(pane.resolvedContext))}`);\n const tokens = this.tokenizerService.generateGenericTokens(pane.resolvedContext);\n const mapping = this.tokenizerService.replaceTokens(this.trackByTpl, tokens);\n console.log(`track by: ${mapping} | name: ${tokens.get('._root.name')}`);\n return mapping;\n };*/\n }\n ngOnInit() {\n this.paneDatasource.pageChange$.pipe(skip(1), switchMap(page => this.panelResolverService.resolvePanes({ panes: this.originPanes.map(p => new Pane({ ...p, metadata: new Map([...(p.metadata ? p.metadata : []), ['page', page], ['limit', this.paneDatasource.pageSize]]) })), contexts: this.contexts, resolvedContext: this.resolvedContext })), switchMap(({ resolvedPanes, originMappings }) => this.styleResolverService.alterResolvedPanes({ panel: this.panel, resolvedPanes, originMappings }))).subscribe(({ resolvedPanes, originMappings }) => {\n this.originMappings = originMappings;\n this.paneDatasource.panes = resolvedPanes;\n });\n this.paneDatasource.panes = this.panes;\n this.trackByTpl = '[._root.id]';\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: VirtualListPanelRendererComponent, deps: [{ token: i2$2.TokenizerService }, { token: i2$3.PanelResolverService }, { token: i2$3.StyleResolverService }, { token: i2$3.PaneDatasourceService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: VirtualListPanelRendererComponent, selector: \"classifieds-ui-virtual-list-panel-renderer\", inputs: { settings: \"settings\", panes: \"panes\", originPanes: \"originPanes\", originMappings: \"originMappings\", contexts: \"contexts\", resolvedContext: \"resolvedContext\", panel: \"panel\" }, providers: [PaneDatasourceService], ngImport: i0, template: \"<cdk-virtual-scroll-viewport [itemSize]=\\\"75\\\" class=\\\"panes-viewport\\\">\\n <div *cdkVirtualFor=\\\"let pane of paneDatasource; let i = index\\\" class=\\\"pane-item\\\">\\n <classifieds-ui-render-pane [pluginName]=\\\"pane.contentPlugin\\\" [settings]=\\\"pane.settings\\\" [contexts]=\\\"pane.contexts\\\" [resolvedContext]=\\\"pane.resolvedContext\\\"></classifieds-ui-render-pane>\\n </div>\\n <!-- <div class=\\\"spinner\\\" *ngIf=\\\"loading$ | async\\\"><mat-spinner diameter=\\\"30\\\" mode=\\\"indeterminate\\\"></mat-spinner></div> -->\\n</cdk-virtual-scroll-viewport>\\n\\n\", styles: [\":host{position:relative}.panes-viewport{height:100%;width:100%}\\n\"], dependencies: [{ kind: \"directive\", type: i3$4.CdkFixedSizeVirtualScroll, selector: \"cdk-virtual-scroll-viewport[itemSize]\", inputs: [\"itemSize\", \"minBufferPx\", \"maxBufferPx\"] }, { kind: \"directive\", type: i3$4.CdkVirtualForOf, selector: \"[cdkVirtualFor][cdkVirtualForOf]\", inputs: [\"cdkVirtualForOf\", \"cdkVirtualForTrackBy\", \"cdkVirtualForTemplate\", \"cdkVirtualForTemplateCacheSize\"] }, { kind: \"component\", type: i3$4.CdkVirtualScrollViewport, selector: \"cdk-virtual-scroll-viewport\", inputs: [\"orientation\", \"appendOnly\"], outputs: [\"scrolledIndexChange\"] }, { kind: \"component\", type: i7$2.RenderPaneComponent, selector: \"classifieds-ui-render-pane\", inputs: [\"pluginName\", \"settings\", \"linkedPageId\", \"contexts\", \"originPane\", \"displayType\", \"name\", \"label\", \"indexPosition\", \"ancestory\", \"panes\", \"originPanes\", \"resolvedContext\", \"css\", \"listeners\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: VirtualListPanelRendererComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-virtual-list-panel-renderer', providers: [PaneDatasourceService], template: \"<cdk-virtual-scroll-viewport [itemSize]=\\\"75\\\" class=\\\"panes-viewport\\\">\\n <div *cdkVirtualFor=\\\"let pane of paneDatasource; let i = index\\\" class=\\\"pane-item\\\">\\n <classifieds-ui-render-pane [pluginName]=\\\"pane.contentPlugin\\\" [settings]=\\\"pane.settings\\\" [contexts]=\\\"pane.contexts\\\" [resolvedContext]=\\\"pane.resolvedContext\\\"></classifieds-ui-render-pane>\\n </div>\\n <!-- <div class=\\\"spinner\\\" *ngIf=\\\"loading$ | async\\\"><mat-spinner diameter=\\\"30\\\" mode=\\\"indeterminate\\\"></mat-spinner></div> -->\\n</cdk-virtual-scroll-viewport>\\n\\n\", styles: [\":host{position:relative}.panes-viewport{height:100%;width:100%}\\n\"] }]\n }], ctorParameters: function () { return [{ type: i2$2.TokenizerService }, { type: i2$3.PanelResolverService }, { type: i2$3.StyleResolverService }, { type: i2$3.PaneDatasourceService }]; }, propDecorators: { settings: [{\n type: Input\n }], panes: [{\n type: Input\n }], originPanes: [{\n type: Input\n }], originMappings: [{\n type: Input\n }], contexts: [{\n type: Input\n }], resolvedContext: [{\n type: Input\n }], panel: [{\n type: Input\n }] } });\n\nclass PageRouterLinkComponent {\n constructor(router) {\n this.router = router;\n }\n ngOnInit() {\n //console.log(\"Here\");\n }\n onClick() {\n this.router.navigateByUrl(this.href);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PageRouterLinkComponent, deps: [{ token: i1$3.Router }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: PageRouterLinkComponent, selector: \"classifieds-ui-page-router-link\", inputs: { href: \"href\", text: \"text\" }, ngImport: i0, template: \"<a (click)=\\\"onClick()\\\">{{text}}</a>\\n\", styles: [\":host:hover{cursor:pointer}\\n\"] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PageRouterLinkComponent, decorators: [{\n type: Component,\n args: [{ selector: \"classifieds-ui-page-router-link\", template: \"<a (click)=\\\"onClick()\\\">{{text}}</a>\\n\", styles: [\":host:hover{cursor:pointer}\\n\"] }]\n }], ctorParameters: function () { return [{ type: i1$3.Router }]; }, propDecorators: { href: [{\n type: Input\n }], text: [{\n type: Input\n }] } });\n\nclass CatchAllRouterComponent {\n constructor(routerStore, router, es) {\n this.routerStore = routerStore;\n this.router = router;\n this.panelPageListItemsService = es.getEntityCollectionService('PanelPageListItem');\n }\n ngOnInit() {\n /*const { selectCurrentRoute } = getSelectors((state: any) => state.router);\n console.log('routing page...');\n this.routerStore.pipe(\n select(selectCurrentRoute),\n map(route => [(route as ActivatedRouteSnapshot).url.reduce<Array<string>>((p, c, i) => [ ...p, i === 0 ? `/${c.path}` : `${p[i - 1]}/${c.path}` ], []), route]),\n map(([paths, route]) => ['path=' + paths.join('&path='), route]),\n switchMap(([qs, route]) => this.panelPageListItemsService.getWithQuery(qs).pipe(\n catchError(e => of<Array<PanelPageListItem>>([])),\n tap(pages => console.log(pages)),\n map(pages => [pages.reduce<PanelPageListItem>((p, c) => p === undefined ? c : p.path.split('/').length < c.path.split('/').length ? c : p , undefined), route])\n )),\n take(1)\n ).subscribe(([panelPage, route]) => {\n if(panelPage) {\n const argPath = (route as ActivatedRouteSnapshot).url.map(s => s.path).slice(panelPage.path.split('/').length - 1).join('/');\n this.router.navigateByUrl(`/pages/panelpage/${panelPage.id}/${argPath}?${qs.stringify(route.queryParams)}`, {skipLocationChange: true, queryParams: { ...((route as ActivatedRouteSnapshot).queryParams) }, fragment: (route as ActivatedRouteSnapshot).fragment });\n }\n });*/\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: CatchAllRouterComponent, deps: [{ token: i3$3.Store }, { token: i1$3.Router }, { token: i4$2.EntityServices }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: CatchAllRouterComponent, selector: \"classifieds-ui-catch-all-router\", ngImport: i0, template: \"<p>Page Not Found</p>\\n\", styles: [\"\"] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: CatchAllRouterComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-catch-all-router', template: \"<p>Page Not Found</p>\\n\" }]\n }], ctorParameters: function () { return [{ type: i3$3.Store }, { type: i1$3.Router }, { type: i4$2.EntityServices }]; } });\n\nconst PAGES_SETTINGS = new InjectionToken('PagesSettings');\n\nclass PagesSettings {\n constructor(data) {\n this.disableRouting = false;\n if (data) {\n this.disableRouting = data.disableRouting;\n }\n }\n}\n\nclass CatchAllGuard {\n constructor(siteName, pagesSettings, router, es) {\n this.siteName = siteName;\n this.pagesSettings = pagesSettings;\n this.router = router;\n this.routesLoaded = false;\n this.panelPageListItemsService = es.getEntityCollectionService('PanelPageListItem');\n }\n canActivate(route, state) {\n if (this.pagesSettings.disableRouting) {\n return new Promise(res => res(true));\n }\n else {\n return new Promise(res => {\n let url = state.url;\n if (url.indexOf('?') !== -1) {\n url = state.url.substr(0, url.indexOf('?'));\n }\n const matchPathQuery = 'path=' + url.substr(1).split('/').reduce((p, c, i) => [...p, i === 0 ? `/${c}` : `${p[i - 1]}/${c}`], []).map(p => this.encodePathComponent(p)).join('&path=') + `&site=${encodeURIComponent(`{\"term\":{\"site.keyword\":{\"value\":\"${this.siteName}\"}}}`)}`;\n setTimeout(() => {\n });\n forkJoin([\n iif(() => !this.routesLoaded, this.panelPageListItemsService.getWithQuery(`site=${encodeURIComponent(`{\"term\":{\"site.keyword\":{\"value\":\"${this.siteName}\"}}}`)}&path={\"wildcard\":{\"path.keyword\":{\"value\":\"*\"}}}`).pipe(tap(() => console.log('loaded page list items')), map(pp => pp.filter(p => p.path !== undefined && p.path !== '')), map(pp => pp.map(o => new PanelPage(o)).sort((a, b) => {\n if (a.path.split('/').length === b.path.split('/').length) {\n return a.path.split('/')[a.path.split('/').length - 1] > b.path.split('/')[b.path.split('/').length - 1] ? -1 : 1;\n }\n return a.path.split('/').length > b.path.split('/').length ? -1 : 1;\n })), tap(pp => pp.sort((a, b) => a.path.length > b.path.length ? 1 : -1)), tap(pp => {\n // const target = (this.router.config[0] as any)._loadedConfig.routes;\n const target = this.router.config;\n pp.forEach(p => {\n target.unshift({ matcher: createEditMatcher(p), component: EditPanelPageComponent });\n target.unshift({ matcher: createMatcher(p), component: PanelPageRouterComponent, data: { panelPageListItem: p } });\n console.log(`panels matcher: ${p.path}`);\n });\n this.routesLoaded = true;\n }), map(() => [])), of([])),\n this.panelPageListItemsService.getWithQuery(matchPathQuery).pipe(catchError(e => {\n return of([]);\n }), tap(() => console.log('loaded specific matched')), map(pages => pages.reduce((p, c) => p === undefined ? c : p.path.split('/').length < c.path.split('/').length ? c : p, undefined)), map(panelPage => {\n const argPath = state.url.substr(1).split('/').slice(panelPage.path.split('/').length - 1).join('/');\n return [panelPage, argPath];\n }))\n ]).pipe(map(([pp, [panelPage, argPath]]) => [panelPage, argPath])).subscribe(([panelPage, argPath]) => {\n const targetUrl = `${panelPage.path}${argPath === '' ? '' : `/${argPath}`}?${qs.stringify(route.queryParams)}`;\n const urlTree = this.router.parseUrl(targetUrl);\n console.log(`panels garud navigate: ${panelPage.path}${argPath === '' ? '' : `/${argPath}`}?${qs.stringify(route.queryParams)}`);\n // this.router.navigateByUrl(`${panelPage.path}${argPath === '' ? '' : `/${argPath}`}?${qs.stringify(route.queryParams)}`, /* Removed unsupported properties by Angular migration: queryParams, fragment. */ {});\n // res(true);\n res(urlTree);\n });\n });\n }\n }\n encodePathComponent(v) {\n return `{\"term\":{\"path.keyword\":{\"value\":\"${v}\"}}}`;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: CatchAllGuard, deps: [{ token: SITE_NAME }, { token: PAGES_SETTINGS }, { token: i1$3.Router }, { token: i4$2.EntityServices }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: CatchAllGuard }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: CatchAllGuard, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [SITE_NAME]\n }] }, { type: PagesSettings, decorators: [{\n type: Inject,\n args: [PAGES_SETTINGS]\n }] }, { type: i1$3.Router }, { type: i4$2.EntityServices }]; } });\n\nclass PageContextResolver {\n constructor(pageBuilderFacade) {\n this.pageBuilderFacade = pageBuilderFacade;\n }\n resolve(ctx, data) {\n return this.pageBuilderFacade.getPageInfo$;\n /*return this.pageBuilderFacade.getPageInfo$.pipe(\n take(1)\n );*/\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PageContextResolver, deps: [{ token: i2$3.PageBuilderFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PageContextResolver }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PageContextResolver, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: i2$3.PageBuilderFacade }]; } });\n\nclass RestContextResolver {\n constructor(pageBuilderFacade, store, urlGeneratorService, routerStore) {\n this.pageBuilderFacade = pageBuilderFacade;\n this.store = store;\n this.urlGeneratorService = urlGeneratorService;\n this.routerStore = routerStore;\n }\n resolve(context, data) {\n const rest = new Rest(data);\n return (rest.params && Array.isArray(rest.params) && rest.params.length > 0 ? this.changePipeline(rest.params) : of([])).pipe(switchMap(() => rest.params && Array.isArray(rest.params) && rest.params.length > 0 ? this.rebuildParams(rest.params) : of([])), map(params => [params, new Map([['tag', uuid.v4()]])]), switchMap(([params, metadata]) => this.urlGeneratorService.getUrl(rest.url, params, metadata).pipe(map(url => [url, metadata]))), switchMap(([url, metadata]) => {\n this.pageBuilderFacade.loadRestData(`${metadata.get('tag')}`, new Rest({ ...rest, url }));\n return this.store.pipe(select(selectDataset(`${metadata.get('tag')}`)), filter(dataset => dataset !== undefined), map(dataset => dataset.results), take(1));\n }));\n /*this.urlGeneratorService.generateUrl(rest.url, rest.params, metadata).subscribe(url => {\n this.store.pipe(\n select(selectDataset(`${metadata.get('tag')}`)),\n filter(dataset => dataset !== undefined),\n take(1)\n ).subscribe(dataset => {\n subject.next(dataset.results);\n subject.complete();\n });\n this.pageBuilderFacade.loadRestData(`${metadata.get('tag')}`, new Rest({ ...rest, url }));\n });*/\n //return subject;\n }\n changePipeline(params) {\n const pipeline = params.reduce((p, c) => {\n switch (c.mapping.type) {\n case 'route':\n return [...p, this.routeArgChange(c.mapping.value)];\n case 'querystring':\n return [...p, this.queryStringChange(c.mapping.value)];\n case 'form':\n return [...p, this.formChange(c.mapping.value)];\n default:\n return [...p];\n }\n }, []);\n return merge(...pipeline);\n }\n routeArgChange(arg) {\n //const sub = new Subject<undefined>();\n //return sub;\n return this.pageBuilderFacade.getPageInfo$.pipe(map(() => undefined));\n /*const { selectCurrentRoute } = getSelectors((state: any) => state.router);\n return this.routerStore.pipe(\n select(selectCurrentRoute),\n map(() => undefined)\n );*/\n }\n queryStringChange(name) {\n const sub = new Subject();\n return sub;\n }\n formChange(query) {\n const [name, value] = query.split('.', 2);\n return this.pageBuilderFacade.getForm$(name).pipe(tap(() => console.log('form change')), map(() => undefined));\n }\n rebuildParams(params) {\n return this.pageBuilderFacade.getPageInfo$.pipe(map(pageInfo => pageInfo ? params : this.testParams(params)));\n }\n testParams(params) {\n const newParams = [];\n const len = params.length;\n for (let i = 0; i < len; i++) {\n if (params[i].mapping.type === 'route') {\n newParams.push(new Param({ ...params[i], mapping: { type: 'static', value: params[i].mapping.testValue, context: undefined, testValue: undefined } }));\n }\n else {\n newParams.push(new Param(params[i]));\n }\n }\n return newParams;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RestContextResolver, deps: [{ token: i2$3.PageBuilderFacade }, { token: i3$3.Store }, { token: i5$3.UrlGeneratorService }, { token: i3$3.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RestContextResolver }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RestContextResolver, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: i2$3.PageBuilderFacade }, { type: i3$3.Store }, { type: i5$3.UrlGeneratorService }, { type: i3$3.Store }]; } });\n\nclass FormContextResolver {\n constructor(pageBuilderFacade) {\n this.pageBuilderFacade = pageBuilderFacade;\n }\n resolve(ctx, data) {\n return this.pageBuilderFacade.getForm$(data);\n /*return this.pageBuilderFacade.getPageInfo$.pipe(\n take(1)\n );*/\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormContextResolver, deps: [{ token: i2$3.PageBuilderFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormContextResolver }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormContextResolver, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: i2$3.PageBuilderFacade }]; } });\n\nclass TablePanelRendererComponent extends PanelStyleRendererBaseComponent {\n get displayedColumns() {\n const targetIndex = this.panes.findIndex(p => p.contexts.findIndex(c => c.name === '_root') > -1);\n return targetIndex > -1 ? Object.keys(this.panes[targetIndex].contexts.find(c => c.name === '_root').data) : [];\n }\n constructor(tokenizerService, paneDatasource) {\n super();\n this.tokenizerService = tokenizerService;\n this.paneDatasource = paneDatasource;\n this.trackByMapping = (index, pane) => {\n return this.tokenizerService.replaceTokens(this.trackByTpl, this.tokenizerService.generateGenericTokens(pane.contexts[0].data));\n };\n }\n ngOnInit() {\n console.log(this.panes);\n this.paneDatasource.panes = this.panes;\n }\n rowData(name, pane) {\n console.log(`name: ${name}`);\n return `${pane.contexts.find(c => c.name === '_root').data[name]}`;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: TablePanelRendererComponent, deps: [{ token: i2$2.TokenizerService }, { token: i2$3.PaneDatasourceService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: TablePanelRendererComponent, selector: \"lib-table-panel-renderer\", providers: [PaneDatasourceService], usesInheritance: true, ngImport: i0, template: \"<table mat-table [dataSource]=\\\"paneDatasource\\\" matSort>\\n\\n <!-- ID Column -->\\n <ng-container *ngFor=\\\"let n of displayedColumns\\\" [matColumnDef]=\\\"n\\\">\\n <th mat-header-cell *matHeaderCellDef mat-sort-header>{{ n }}</th>\\n <td mat-cell *matCellDef=\\\"let row\\\">{{ rowData(n, row) }}</td>\\n </ng-container>\\n\\n <tr mat-header-row *matHeaderRowDef=\\\"displayedColumns\\\"></tr>\\n <tr mat-row *matRowDef=\\\"let row; columns: displayedColumns;\\\"></tr>\\n\\n <!-- Row shown when there is no matching data. -->\\n <!-- <tr class=\\\"mat-row\\\" *matNoDataRow>\\n <td class=\\\"mat-cell\\\" colspan=\\\"4\\\">No data matching the filter \\\"{{input.value}}\\\"</td>\\n </tr> -->\\n</table>\\n\\n <!-- <mat-paginator [pageSizeOptions]=\\\"[5, 10, 25, 100]\\\"></mat-paginator> -->\\n\\n\\n\\n<!-- Copyright 2021 Google LLC. All Rights Reserved.\\n Use of this source code is governed by an MIT-style license that\\n can be found in the LICENSE file at http://angular.io/license -->\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i3.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i4$4.MatSort, selector: \"[matSort]\", inputs: [\"matSortDisabled\", \"matSortActive\", \"matSortStart\", \"matSortDirection\", \"matSortDisableClear\"], outputs: [\"matSortChange\"], exportAs: [\"matSort\"] }, { kind: \"component\", type: i4$4.MatSortHeader, selector: \"[mat-sort-header]\", inputs: [\"disabled\", \"mat-sort-header\", \"arrowPosition\", \"start\", \"sortActionDescription\", \"disableClear\"], exportAs: [\"matSortHeader\"] }, { kind: \"component\", type: i5$5.MatLegacyTable, selector: \"mat-table, table[mat-table]\", exportAs: [\"matTable\"] }, { kind: \"directive\", type: i5$5.MatLegacyHeaderCellDef, selector: \"[matHeaderCellDef]\" }, { kind: \"directive\", type: i5$5.MatLegacyHeaderRowDef, selector: \"[matHeaderRowDef]\", inputs: [\"matHeaderRowDef\", \"matHeaderRowDefSticky\"] }, { kind: \"directive\", type: i5$5.MatLegacyColumnDef, selector: \"[matColumnDef]\", inputs: [\"sticky\", \"matColumnDef\"] }, { kind: \"directive\", type: i5$5.MatLegacyCellDef, selector: \"[matCellDef]\" }, { kind: \"directive\", type: i5$5.MatLegacyRowDef, selector: \"[matRowDef]\", inputs: [\"matRowDefColumns\", \"matRowDefWhen\"] }, { kind: \"directive\", type: i5$5.MatLegacyHeaderCell, selector: \"mat-header-cell, th[mat-header-cell]\" }, { kind: \"directive\", type: i5$5.MatLegacyCell, selector: \"mat-cell, td[mat-cell]\" }, { kind: \"component\", type: i5$5.MatLegacyHeaderRow, selector: \"mat-header-row, tr[mat-header-row]\", exportAs: [\"matHeaderRow\"] }, { kind: \"component\", type: i5$5.MatLegacyRow, selector: \"mat-row, tr[mat-row]\", exportAs: [\"matRow\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: TablePanelRendererComponent, decorators: [{\n type: Component,\n args: [{ selector: 'lib-table-panel-renderer', providers: [PaneDatasourceService], template: \"<table mat-table [dataSource]=\\\"paneDatasource\\\" matSort>\\n\\n <!-- ID Column -->\\n <ng-container *ngFor=\\\"let n of displayedColumns\\\" [matColumnDef]=\\\"n\\\">\\n <th mat-header-cell *matHeaderCellDef mat-sort-header>{{ n }}</th>\\n <td mat-cell *matCellDef=\\\"let row\\\">{{ rowData(n, row) }}</td>\\n </ng-container>\\n\\n <tr mat-header-row *matHeaderRowDef=\\\"displayedColumns\\\"></tr>\\n <tr mat-row *matRowDef=\\\"let row; columns: displayedColumns;\\\"></tr>\\n\\n <!-- Row shown when there is no matching data. -->\\n <!-- <tr class=\\\"mat-row\\\" *matNoDataRow>\\n <td class=\\\"mat-cell\\\" colspan=\\\"4\\\">No data matching the filter \\\"{{input.value}}\\\"</td>\\n </tr> -->\\n</table>\\n\\n <!-- <mat-paginator [pageSizeOptions]=\\\"[5, 10, 25, 100]\\\"></mat-paginator> -->\\n\\n\\n\\n<!-- Copyright 2021 Google LLC. All Rights Reserved.\\n Use of this source code is governed by an MIT-style license that\\n can be found in the LICENSE file at http://angular.io/license -->\" }]\n }], ctorParameters: function () { return [{ type: i2$2.TokenizerService }, { type: i2$3.PaneDatasourceService }]; } });\n\nclass PanelContentHandler {\n constructor(attributeSerializer) {\n this.attributeSerializer = attributeSerializer;\n }\n handleFile(file) {\n return of();\n }\n handlesType(type) {\n return false;\n }\n implementsRendererOverride() {\n return false;\n }\n hasRendererOverride(settings) {\n return of(false);\n }\n isDynamic(settings) {\n return false;\n }\n isData(settings) {\n return false;\n }\n buildDynamicItems(settings, metadata) {\n return of([]);\n }\n fetchDynamicData(settings, metadata) {\n return of(new Dataset());\n }\n getBindings(settings, type) {\n return of([]);\n }\n toObject(settings) {\n return of(this.attributeSerializer.deserializeAsObject(settings));\n }\n buildSettings(panelPage) {\n return this.attributeSerializer.serialize(panelPage, 'root').attributes;\n }\n fromPanes(panesAsSettings) {\n return panesAsSettings.map(p => new Pane(this.attributeSerializer.deserialize(p)));\n }\n wrapPanel(panes) {\n return new Panel({\n stylePlugin: undefined,\n settings: [],\n panes: panes,\n columnSetting: new LayoutSetting()\n });\n }\n stateDefinition(settings) {\n return of({});\n }\n editorOptions(settings) {\n return of(new ContentPluginEditorOptions());\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelContentHandler, deps: [{ token: i2$1.AttributeSerializerService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelContentHandler, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PanelContentHandler, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: i2$1.AttributeSerializerService }]; } });\n\nclass TabsStyleHandler {\n constructor(panelHandler, attributeSerializer, panelsLoaderService, panelsSelectorService) {\n this.panelHandler = panelHandler;\n this.attributeSerializer = attributeSerializer;\n this.panelsLoaderService = panelsLoaderService;\n this.panelsSelectorService = panelsSelectorService;\n }\n alterResolvedPanes({ settings, resolvedPanes, originMappings /*, resolvedContexts */ }) {\n // this.panelHandler.toObject();\n const obj = this.attributeSerializer.deserialize(new AttributeValue({ name: '', displayName: '', computedValue: '', type: AttributeTypes.Complex, value: '', intValue: 0, attributes: settings }));\n // console.log('Deserialized settings:');\n const selectors = obj && obj.labels !== undefined && Array.isArray(obj.labels) ? obj.labels.map(l => new PanelPageSelector(l.mapping)) : [];\n // console.log(selectors);\n let flatSelectors = [];\n if (selectors.length === 0) {\n // Short circuit - no need to manipulate at this point - path of least resistence? :/\n // We could try to dynamically create the titles but I think that is more trouble than its worth.\n return of({ resolvedPanes, originMappings /*, resolvedContexts */ });\n }\n else {\n // attempt rebuild to support dynamic panes automatically like those generated from rest.\n if (resolvedPanes.length !== selectors.length) {\n flatSelectors = resolvedPanes.map((_, i) => new PanelPageSelector({ ...(i < selectors.length ? selectors[i] : selectors[selectors.length - 1]), pane: i })).map(s => {\n // console.log(`flat selector for ${index}`);\n //console.log(this.flattenSelector(s));\n return this.flattenSelector(s);\n // We don't have access to page. So this needs to be a type of partial reduction.\n // partial, selection - reducetion?\n // this.panelsLoaderService.reducePage(new PanelPage({ panels: }));\n });\n }\n else {\n flatSelectors = selectors.map(s => {\n // console.log(`flat selector for ${index}`);\n //console.log(this.flattenSelector(s));\n return this.flattenSelector(s);\n // We don't have access to page. So this needs to be a type of partial reduction.\n // partial, selection - reducetion?\n // this.panelsLoaderService.reducePage(new PanelPage({ panels: }));\n });\n }\n }\n /*forkJoin(resolvedPanes.map((p, index) => forkJoin(this.panelsLoaderService.reducePanes([], p, index)))).subscribe(v => {\n console.log('reduced panes');\n console.log(v);\n });*/\n // is - 0 right?\n return forkJoin(resolvedPanes.map((c2, i2) => {\n // console.log('Inside reduce: ' + i2);\n // console.log(c2);\n const reduced = this.panelsLoaderService.reducePanes([], c2, 0);\n // console.log(reduced);\n // console.log('reduced length ' + reduced.length);\n return reduced[0]; // Need to handle none nested content since reducePanes only fills in nested pages otherwise empty array\n })).pipe(map(v => v.reduce((p2, [_, pp]) => [...p2, pp], [])), map(v => {\n // const flatSelectorsMock = [ [0, 0, 1, 1], [0, 1, 1, 1] ]; // this is right... creates page with only title pane.\n // const flatSelectorsMock2 = [ [0, 0, 0, -1], [0, 1, 0, -1] ]; // this is right... creates page without selected target cinluding tab content only. \n const withTarget = flatSelectors.map(s => this.selectWithTarget(s));\n const withoutTarget = flatSelectors.map(s => this.selectWithoutTarget(s));\n const rebuilt = withTarget.map((s, i) => this.panelsSelectorService.rebuildPage(v[flatSelectors[i][0]], s.slice(1)));\n const rebuilt2 = withoutTarget.map((s, i) => this.panelsSelectorService.rebuildPage(v[flatSelectors[i][0]], s.slice(1)));\n const rebuildResolvedPanes = [];\n const len = resolvedPanes.length;\n for (let i = 0; i < len; i++) {\n rebuildResolvedPanes.push(new Pane({ ...resolvedPanes[i], settings: this.panelHandler.buildSettings(rebuilt[i]) }));\n rebuildResolvedPanes.push(new Pane({ ...resolvedPanes[i], settings: this.panelHandler.buildSettings(rebuilt2[i]) }));\n }\n return { resolvedPanes: rebuildResolvedPanes, originMappings /*, resolvedContexts */ };\n })); /*.subscribe(v => {\n console.log(`reduced panes 2`);\n console.log(flatSelectors);\n // console.log(v);\n // Something is needed to convert the flat selectors to the selectors combatible with the panels selector service.\n // Right now just hard coding for proof of concept instead of implmenting that right now.\n const flatSelectorsMock = [ [0, 0, 1, 1], [0, 1, 1, 1] ]; // this is right... creates page with only title pane.\n const flatSelectorsMock2 = [ [0, 0, 0, -1], [0, 1, 0, -1] ]; // this is right... creates page without selected target cinluding tab content only.\n // The selector settings need to be stored relative to the panel not root page.\n // The original plan was to allow any pane to selected. However, that comes with way to issues.\n // Instead all we really need to do is allow any pane within the panel to be selected. Forget about selecting outside panes. Not worth it.\n // In this case I know that the first two selectors can be tossed out since we are already inside there with the exception of matching the pane index 1.\n const rebuilt = flatSelectorsMock.map((s, i) => this.panelsSelectorService.rebuildPage(v[s[1]], s.slice(2)));\n const rebuilt2 = flatSelectorsMock2.map((s, i) => this.panelsSelectorService.rebuildPage(v[s[1]], s.slice(2)));\n console.log(rebuilt);\n console.log(rebuilt2);\n \n const rebuildResolvedPanes: Array<Pane> = [];\n const len = resolvedPanes.length;\n for(let i = 0; i < len; i++) {\n rebuildResolvedPanes.push(new Pane({ ...resolvedPanes[i], settings: this.panelHandler.buildSettings(rebuilt[i]) }));\n rebuildResolvedPanes.push(new Pane({ ...resolvedPanes[i], settings: this.panelHandler.buildSettings(rebuilt2[i]) }));\n }\n // I think now we just need to serialize the nested pages back into the origin pane, right?\n // We should end up with 2 catgories containing 2 panes in an array.\n // cat = title & cat = content\n // This is a mass deviation from how this works. Before we were working with arrays. Now we are\n // changing the interface to a map with separate categories?\n // or do we keep the existing interface and use a map for \"extra\", categories panes instead?\n // This is a type of extract and categorize.\n // Perhaps adding a map but keeping the existing interface is the way to go... hmm\n // or we could just leave it as a array and skip out categoizations for now.... hmmm\n // Where the renderer component would be responsible for knowing that evens [0,2,4] are titles. odds [1,3,5] as content\n // I'm starting to lean towards keeping the signature the same as an array.\n // Relying on the renderer component to know about how to handle this.\n // which makes sense since the handler is directly coupled to the renderer.\n // In that case we return 4 panes in the array instead of 2. It would ALWAYS be doubled to include title selections.\n });*/\n // For now use the first pane inside a nested panel as the label. -- this is just a proof of concept at the moment\n console.log('TabsStyleHandler::alterResolvedPanes');\n console.log(resolvedPanes);\n console.log(originMappings);\n //console.log(resolvedContexts);\n // @todo: support linked pages\n /*const nestedPages$: Array<Observable<[Pane, PanelPage]>> = resolvedPanes.map(p => p.contentPlugin === 'panel' ? this.panelHandler.toObject(p.settings).pipe(map<PanelPage, [Pane, PanelPage]>(page => [p, page])) : undefined).filter(p => p !== undefined);\n return forkJoin(nestedPages$).pipe(\n map(pages => pages.reduce((p, [cp, c]) => [\n ...p,\n new Pane({ ...cp, settings: this.panelHandler.buildSettings(new PanelPage({ ...c, panels: [ new Panel({ ...c.panels[0], panes: [ new Pane({ ...c.panels[0].panes[0] }) ] }) ] })) }),\n new Pane({ ...cp, settings: this.panelHandler.buildSettings(new PanelPage({ ...c, panels: [ ...c.panels.map((p2, i) => i !== 0 ? p2 : new Panel({ ...p2, panes: p2.panes.map(p3 => new Pane(p3)).filter((_, i2) => i2 !== 0) })) ] })) })\n ], [])),\n tap(rebuiltPanes => {\n console.log('Rebuilt Panes');\n console.log(rebuiltPanes);\n }),\n map(rebuiltPanes => [ rebuiltPanes, originMappings, resolvedContexts])\n );*/\n return of({ resolvedPanes, originMappings /*, resolvedContexts */ });\n }\n stateDefinition(settings) {\n return of({});\n }\n flattenSelector(selector) {\n const flat = [];\n if (selector.panel !== undefined && selector.panel !== null) {\n flat.push(selector.panel);\n }\n if (selector.pane !== undefined && selector.pane !== null) {\n flat.push(selector.pane);\n }\n if (selector.nested !== undefined && selector.nested !== null && typeof (selector.nested) === 'object') {\n this.flattenSelector(selector.nested).forEach(i => flat.push(i));\n }\n return flat;\n }\n selectWithTarget(s) {\n return s.map(v => v + 1);\n }\n selectWithoutTarget(s) {\n return s.map((v, i) => i === (s.length - 1) ? (v + 1) * -1 : 0);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: TabsStyleHandler, deps: [{ token: PanelContentHandler }, { token: i2$1.AttributeSerializerService }, { token: i2$3.PanelsLoaderService }, { token: i2$3.PanelsSelectorService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: TabsStyleHandler }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: TabsStyleHandler, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: PanelContentHandler }, { type: i2$1.AttributeSerializerService }, { type: i2$3.PanelsLoaderService }, { type: i2$3.PanelsSelectorService }]; } });\n\nclass PageStateContextResolver {\n get emptyPaneState() {\n return new PaneState({ state: this.attributeSerializer.serialize({ displayAssociatedPane: '' }, 'root') });\n }\n get entities$() {\n return this.entityServices.getEntityCollectionService('PanelPageState').entities$.pipe(tap(e => {\n console.log('entities in store');\n console.log(e);\n }));\n }\n get panelPage$() {\n return combineLatest([this.pageBuilderFacade.getPageInfo$, this.entityServices.getEntityCollectionService('PanelPage').entities$]).pipe(\n // map(([p, entities]) => [this.fakePageInfo , entities]),\n map(([p, entities]) => p && p.id !== undefined && p.id !== '' && p.id !== null ? entities.findIndex(e => e.id === p.id) !== -1 ? entities.find(e => e.id === p.id) : undefined : undefined));\n }\n get fakePageInfo() {\n return new PanelPageStateSlice({ id: '948d6e7b-12ab-11ec-8ecd-661fdd19e6df', path: '', realPath: '', args: new Map() });\n }\n constructor(entityServices, pageBuilderFacade, panelStateConverterService, attributeSerializer) {\n this.entityServices = entityServices;\n this.pageBuilderFacade = pageBuilderFacade;\n this.panelStateConverterService = panelStateConverterService;\n this.attributeSerializer = attributeSerializer;\n this.resolverCache$ = new Map();\n }\n resolve(ctx, data) {\n const cacheKey = data && data.selectionMethod && data.selectionMethod.length !== 0 && data.id && data.id !== null && data.id !== '' ? `ps[id=${data.id}]${data.selectionMethod.map(i => `${i}`).join('')}` : undefined;\n if (cacheKey && this.resolverCache$.has(cacheKey)) {\n return this.resolverCache$.get(cacheKey);\n }\n else {\n const resolver = this.resolve$(ctx, data);\n if (cacheKey) {\n this.resolverCache$.set(cacheKey, resolver);\n }\n return resolver;\n }\n }\n resolve$(ctx, data) {\n return combineLatest([this.panelPage$, this.entities$]).pipe(map(([pp, entities]) => [pp, pp && entities.findIndex(e => e.id === pp.id) !== -1 ? entities.find(e => e.id === pp.id) : new PanelPageState()]), switchMap(([pp, ps]) => this.pageBuilderFacade.getSelectionPath$.pipe(map(selectionPath => data && data.selectionPath ? data.selectionPath : selectionPath), // temp hard code to see if context change is triggered\n tap(selectionPath => selectionPath.join(',')), map(s => s.map((index, i) => `${(i + 1) % 2 === 0 ? 'panes' : (i === 0 ? '' : 'nestedPage.') + 'panels'}[${index}]`)), map(s => s.length === 0 ? undefined : '$.' + s.join('.')), map(s => [pp, ps, s]))), tap(([pp, ps, query]) => {\n console.log('page state context resolver');\n console.log(pp);\n console.log('query: ' + query);\n }), switchMap(([pp, ps, query]) => iif(() => !!pp && !ps, this.panelStateConverterService.convertPageToState(pp).pipe(map(state => new PanelPageState({ ...state, panels: state.panels.map(p => new PanelState({ ...p, panes: p.panes.map(p2 => new PaneState({ ...p2, state: this.attributeSerializer.serialize({ displayAssociatedPane: 'y' }, 'root') })) })) })), map(state => [state, query])), of([ps /*? ps : this.emptyPaneState*/, query]))), tap(([state, _]) => {\n console.log('rebuilt state from realtime page');\n console.log(state);\n }), map(([json, path]) => path ? JSONPath({ path, json }) : this.emptyPaneState), map(m => m && Array.isArray(m) && m.length !== 0 ? m[0] : this.emptyPaneState), tap(m => {\n console.log('json path match');\n console.log(m);\n }), map(ps => this.attributeSerializer.deserializeAsObject(ps.state)), \n /*map(m => new PaneState({ ...m[0], state: this.attributeSerializer.serialize({ displayAppJs: false }, 'root') })),*/\n tap(s => {\n console.log('final state');\n console.log(s);\n }));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PageStateContextResolver, deps: [{ token: i4$2.EntityServices }, { token: i2$3.PageBuilderFacade }, { token: i2$3.PanelStateConverterService }, { token: i2$1.AttributeSerializerService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PageStateContextResolver }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PageStateContextResolver, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: i4$2.EntityServices }, { type: i2$3.PageBuilderFacade }, { type: i2$3.PanelStateConverterService }, { type: i2$1.AttributeSerializerService }]; } });\n\n// import { PanelpageModule } from 'panelpage';\n// import { EditablepaneModule } from 'editablepane';\n// import { FlexLayoutServerModule } from '@angular/flex-layout/server';\nconst panePageMatcher = (url) => {\n if (url[0] !== undefined && url[0].path === 'panelpage') {\n return {\n consumed: url,\n posParams: url.reduce((p, c, index) => {\n if (index === 1) {\n return { ...p, panelPageId: new UrlSegment(c.path, {}) };\n }\n else if (index > 1) {\n return { ...p, [`arg${index - 2}`]: new UrlSegment(c.path, {}) };\n }\n else {\n return { ...p };\n }\n }, {})\n };\n }\n else {\n return null;\n }\n};\nconst routes = [\n { path: 'pages', children: [\n { path: 'create-panel-page', component: CreatePanelPageComponent },\n { path: 'panelpage/:panelPageId/manage', component: EditPanelPageComponent },\n //{ matcher: panePageMatcher, component: PanelPageRouterComponent },\n ] },\n //{ path: '**', component: CatchAllRouterComponent, canActivate: [ CatchAllGuard ] }\n];\nclass PagesModule {\n constructor(contentPlugins, stylePlugins, cpm, cxm, spm, eds, ppm, rcm, pluginConfigurationManager, contextManager, tokenizerService, formService, pageBuilderFacade, pageContextResolver, restContextResolver, formContextResolver, paneStateContextResolver, pageStateContextResolver, bpm, http, pluralizer, dataServiceConfig, crud, entityDefinitionService, entityDataService, paramEvaluatorService, dpm, attributeSerializer, crudDataHelper) {\n eds.registerMetadataMap(entityMetadata);\n const contextPlugins = [pageContextFactory(pageContextResolver), restContextFactory(restContextResolver), formContextFactory(formContextResolver), paneStateContextFactory(paneStateContextResolver), pageStateContextFactory(pageStateContextResolver)];\n /*contextManager.register(pageContextFactory(pageContextResolver));\n contextManager.register(restContextFactory(restContextResolver));\n contextManager.register(formContextFactory(formContextResolver));*/\n contextPlugins.forEach(p => {\n // contextManager.register(p); // This will eventually go away once code uses plugin manager instead.\n cxm.register(p);\n });\n // Remove this since much easier just to leave as is for now.\n // Proof of concept - snippet is not really worth decoupling.\n /*pluginConfigurationManager.addConfig(new PluginConfig({\n modules: [\n { module: () => import('./plugins/snippet/snippet.module').then(m => m.SnippetModule), plugins: new Map<string, Array<string>>([ ['content', [ 'snippet' ]] ]) }\n ]\n }));*/\n contentPlugins.forEach(p => cpm.register(p));\n stylePlugins.forEach(p => spm.register(p));\n ppm.register(formParamPluginFactory(tokenizerService, formService, pageBuilderFacade));\n rcm.register(formResolvedContextPluginFactory(pageBuilderFacade));\n bpm.register(pagesFormBridgeFactory(formService));\n // build because this is after the built phase since module is lazy loaded.\n // There is probably a better solution but for now this will work.\n // Probably is better to schedule builds using a queue to automatically add.\n // It doesn't really do any harm calling build though since prototype will just overriden and shouldn't have state anyway.\n bpm.getPlugin('pages_form').subscribe(p => p.build());\n // Experimental - form testing\n //entityDataService.registerService('PanelPageForm', new CrudDataService<PanelPageForm>('PanelPageForm', crud, entityDefinitionService, crudDataHelper));\n crud.register(formSerializationEntityCrudAdaptorPluginFactory(paramEvaluatorService, formService));\n dpm.register(formDatasourcePluginFactory(attributeSerializer, pageBuilderFacade, formService));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PagesModule, deps: [{ token: CONTENT_PLUGIN }, { token: STYLE_PLUGIN }, { token: i2.ContentPluginManager }, { token: i2$4.ContextPluginManager }, { token: i2$3.StylePluginManager }, { token: i4$2.EntityDefinitionService }, { token: i5$6.ParamPluginManager }, { token: i2$4.ResolvedContextPluginManager }, { token: i6$6.PluginConfigurationManager }, { token: i2$4.ContextManagerService }, { token: i2$2.TokenizerService }, { token: i2$3.FormService }, { token: i2$3.PageBuilderFacade }, { token: PageContextResolver }, { token: RestContextResolver }, { token: FormContextResolver }, { token: PaneStateContextResolver }, { token: PageStateContextResolver }, { token: i13.BridgeBuilderPluginManager }, { token: i14.HttpClient }, { token: i4$2.Pluralizer }, { token: i4$2.DefaultDataServiceConfig }, { token: i15.CrudAdaptorPluginManager }, { token: i4$2.EntityDefinitionService }, { token: i4$2.EntityDataService }, { token: i5$6.ParamEvaluatorService }, { token: i16.DatasourcePluginManager }, { token: i2$1.AttributeSerializerService }, { token: i15.CrudDataHelperService }], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: PagesModule, declarations: [ContentSelectorComponent, ContentSelectionHostDirective, SnippetPaneRendererComponent, ContentEditorComponent, SnippetEditorComponent, PanelPageRouterComponent, CreatePanelPageComponent, EditPanelPageComponent, AttributeSelectorComponent, AttributeEditorComponent, AttributePaneRendererComponent, MediaEditorComponent, MediaPaneRendererComponent, RenderingEditorComponent, /*PanelSelectorComponent,*/ /*PanelEditorComponent,*/ StyleSelectorComponent, GalleryEditorComponent, /*GalleryPanelRendererComponent,*/ DatasourceSelectorComponent, RestEditorComponent, RestFormComponent, RestPaneRendererComponent, VirtualListPanelRendererComponent, SliceEditorComponent, SliceFormComponent, SelectionComponent, RulesDialogComponent, TabsPanelRendererComponent, PropertiesDialogComponent, CatchAllRouterComponent, ContextDialogComponent, ContextEditorComponent, PanelPropsDialogComponent, PanePropsDialogComponent, LayoutEditorHostDirective, TablePanelRendererComponent, TabsPanelEditorComponent, PageStateEditorComponent, PageStateFormComponent, FormDatasourceFormComponent, FormDatasourceComponent, PaneContentHostDirective, EditablePaneComponent], imports: [CommonModule,\n // HttpClientModule,\n FormsModule,\n ReactiveFormsModule,\n MaterialModule,\n FlexLayoutModule,\n // FlexLayoutServerModule,\n AngularSplitModule, i1$3.RouterModule, NgxJsonViewerModule, i3$1.MarkdownModule, NgxDropzoneModule,\n GridsterModule,\n UtilsModule,\n TokenModule,\n ContextModule,\n AttributesModule,\n MediaModule,\n LayoutModule,\n // NgxGalleryModule,\n NgxAngularQueryBuilderModule,\n // TaxonomyModule,\n // StoreModule.forFeature(fromPageBuilder.pageBuilderFeatureKey, fromPageBuilder.reducer),\n // EffectsModule.forFeature([PageBuilderEffects]),\n PanelsModule,\n RestModule,\n SnippetModule,\n DparamModule,\n BridgeModule,\n DatasourceModule,\n RenderModule], exports: [PanelPageRouterComponent,\n CatchAllRouterComponent,\n EditPanelPageComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PagesModule, providers: [\n CatchAllGuard,\n PageContextResolver,\n RestContextResolver,\n FormContextResolver,\n PaneStateContextResolver,\n PageStateContextResolver,\n { provide: EMBEDDABLE_COMPONENT, useValue: PageRouterLinkComponent, multi: true },\n { provide: EMBEDDABLE_COMPONENT, useValue: MarkdownComponent, multi: true },\n { provide: EMBEDDABLE_COMPONENT, useValue: PanelPageRouterComponent, multi: true },\n { provide: SnippetContentHandler, useClass: SnippetContentHandler },\n { provide: AttributeContentHandler, useClass: AttributeContentHandler },\n { provide: MediaContentHandler, useClass: MediaContentHandler },\n /*{ provide: PanelContentHandler, useClass: PanelContentHandler },*/\n { provide: RestContentHandler, useClass: RestContentHandler },\n { provide: SliceContentHandler, useClass: SliceContentHandler },\n { provide: TabsStyleHandler, useClass: TabsStyleHandler },\n //{ provide: CONTEXT_PLUGIN, useFactory: pageContextFactory, multi: true, deps: [ PageContextResolver ] },\n { provide: CONTENT_PLUGIN, useFactory: snippetContentPluginFactory, multi: true, deps: [SnippetContentHandler] },\n { provide: CONTENT_PLUGIN, useFactory: attributeContentPluginFactory, multi: true, deps: [AttributeContentHandler] },\n { provide: CONTENT_PLUGIN, useFactory: mediaContentPluginFactory, multi: true, deps: [MediaContentHandler] },\n // { provide: CONTENT_PLUGIN, useFactory: panelContentPluginFactory, multi: true, deps: [ PanelContentHandler ] }, -> moved to panels module\n { provide: CONTENT_PLUGIN, useFactory: restContentPluginFactory, multi: true, deps: [RestContentHandler] },\n { provide: CONTENT_PLUGIN, useFactory: sliceContentPluginFactory, multi: true, deps: [SliceContentHandler] },\n // { provide: STYLE_PLUGIN, useValue: new StylePlugin<string>({ id: 'gallery', name: 'gallery', title: 'Gallery', editorComponent: undefined, renderComponent: GalleryPanelRendererComponent }), multi: true },\n { provide: STYLE_PLUGIN, useValue: new StylePlugin({ id: 'virtuallist', name: 'virtuallist', title: 'Virtual List', editorComponent: undefined, renderComponent: VirtualListPanelRendererComponent }), multi: true },\n { provide: STYLE_PLUGIN, useFactory: tabsStylePluginFactory, multi: true, deps: [TabsStyleHandler] },\n { provide: STYLE_PLUGIN, useValue: new StylePlugin({ id: 'table', name: 'table', title: 'Table', editorComponent: undefined, renderComponent: TablePanelRendererComponent }), multi: true }\n ], imports: [CommonModule,\n // HttpClientModule,\n FormsModule,\n ReactiveFormsModule,\n MaterialModule,\n FlexLayoutModule,\n // FlexLayoutServerModule,\n AngularSplitModule,\n RouterModule.forChild(routes),\n NgxJsonViewerModule,\n MarkdownModule.forChild(),\n NgxDropzoneModule,\n GridsterModule,\n UtilsModule,\n TokenModule,\n ContextModule,\n AttributesModule,\n MediaModule,\n LayoutModule,\n // NgxGalleryModule,\n NgxAngularQueryBuilderModule,\n // TaxonomyModule,\n // StoreModule.forFeature(fromPageBuilder.pageBuilderFeatureKey, fromPageBuilder.reducer),\n // EffectsModule.forFeature([PageBuilderEffects]),\n PanelsModule,\n RestModule,\n SnippetModule,\n DparamModule,\n BridgeModule,\n DatasourceModule,\n RenderModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PagesModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule,\n // HttpClientModule,\n FormsModule,\n ReactiveFormsModule,\n MaterialModule,\n FlexLayoutModule,\n // FlexLayoutServerModule,\n AngularSplitModule,\n RouterModule.forChild(routes),\n NgxJsonViewerModule,\n MarkdownModule.forChild(),\n NgxDropzoneModule,\n GridsterModule,\n UtilsModule,\n TokenModule,\n ContextModule,\n AttributesModule,\n MediaModule,\n LayoutModule,\n // NgxGalleryModule,\n NgxAngularQueryBuilderModule,\n // TaxonomyModule,\n // StoreModule.forFeature(fromPageBuilder.pageBuilderFeatureKey, fromPageBuilder.reducer),\n // EffectsModule.forFeature([PageBuilderEffects]),\n PanelsModule,\n RestModule,\n SnippetModule,\n DparamModule,\n BridgeModule,\n DatasourceModule,\n RenderModule,\n // PanelpageModule,\n // EditablepaneModule\n ],\n declarations: [ContentSelectorComponent, ContentSelectionHostDirective, SnippetPaneRendererComponent, ContentEditorComponent, SnippetEditorComponent, PanelPageRouterComponent, CreatePanelPageComponent, EditPanelPageComponent, AttributeSelectorComponent, AttributeEditorComponent, AttributePaneRendererComponent, MediaEditorComponent, MediaPaneRendererComponent, RenderingEditorComponent, /*PanelSelectorComponent,*/ /*PanelEditorComponent,*/ StyleSelectorComponent, GalleryEditorComponent, /*GalleryPanelRendererComponent,*/ DatasourceSelectorComponent, RestEditorComponent, RestFormComponent, RestPaneRendererComponent, VirtualListPanelRendererComponent, SliceEditorComponent, SliceFormComponent, SelectionComponent, RulesDialogComponent, TabsPanelRendererComponent, PropertiesDialogComponent, CatchAllRouterComponent, ContextDialogComponent, ContextEditorComponent, PanelPropsDialogComponent, PanePropsDialogComponent, LayoutEditorHostDirective, TablePanelRendererComponent, TabsPanelEditorComponent, PageStateEditorComponent, PageStateFormComponent, FormDatasourceFormComponent, FormDatasourceComponent, PaneContentHostDirective, EditablePaneComponent],\n providers: [\n CatchAllGuard,\n PageContextResolver,\n RestContextResolver,\n FormContextResolver,\n PaneStateContextResolver,\n PageStateContextResolver,\n { provide: EMBEDDABLE_COMPONENT, useValue: PageRouterLinkComponent, multi: true },\n { provide: EMBEDDABLE_COMPONENT, useValue: MarkdownComponent, multi: true },\n { provide: EMBEDDABLE_COMPONENT, useValue: PanelPageRouterComponent, multi: true },\n { provide: SnippetContentHandler, useClass: SnippetContentHandler },\n { provide: AttributeContentHandler, useClass: AttributeContentHandler },\n { provide: MediaContentHandler, useClass: MediaContentHandler },\n /*{ provide: PanelContentHandler, useClass: PanelContentHandler },*/\n { provide: RestContentHandler, useClass: RestContentHandler },\n { provide: SliceContentHandler, useClass: SliceContentHandler },\n { provide: TabsStyleHandler, useClass: TabsStyleHandler },\n //{ provide: CONTEXT_PLUGIN, useFactory: pageContextFactory, multi: true, deps: [ PageContextResolver ] },\n { provide: CONTENT_PLUGIN, useFactory: snippetContentPluginFactory, multi: true, deps: [SnippetContentHandler] },\n { provide: CONTENT_PLUGIN, useFactory: attributeContentPluginFactory, multi: true, deps: [AttributeContentHandler] },\n { provide: CONTENT_PLUGIN, useFactory: mediaContentPluginFactory, multi: true, deps: [MediaContentHandler] },\n // { provide: CONTENT_PLUGIN, useFactory: panelContentPluginFactory, multi: true, deps: [ PanelContentHandler ] }, -> moved to panels module\n { provide: CONTENT_PLUGIN, useFactory: restContentPluginFactory, multi: true, deps: [RestContentHandler] },\n { provide: CONTENT_PLUGIN, useFactory: sliceContentPluginFactory, multi: true, deps: [SliceContentHandler] },\n // { provide: STYLE_PLUGIN, useValue: new StylePlugin<string>({ id: 'gallery', name: 'gallery', title: 'Gallery', editorComponent: undefined, renderComponent: GalleryPanelRendererComponent }), multi: true },\n { provide: STYLE_PLUGIN, useValue: new StylePlugin({ id: 'virtuallist', name: 'virtuallist', title: 'Virtual List', editorComponent: undefined, renderComponent: VirtualListPanelRendererComponent }), multi: true },\n { provide: STYLE_PLUGIN, useFactory: tabsStylePluginFactory, multi: true, deps: [TabsStyleHandler] },\n { provide: STYLE_PLUGIN, useValue: new StylePlugin({ id: 'table', name: 'table', title: 'Table', editorComponent: undefined, renderComponent: TablePanelRendererComponent }), multi: true }\n ],\n exports: [\n PanelPageRouterComponent,\n CatchAllRouterComponent,\n EditPanelPageComponent\n ]\n }]\n }], ctorParameters: function () { return [{ type: Array, decorators: [{\n type: Inject,\n args: [CONTENT_PLUGIN]\n }] }, { type: Array, decorators: [{\n type: Inject,\n args: [STYLE_PLUGIN]\n }] }, { type: i2.ContentPluginManager }, { type: i2$4.ContextPluginManager }, { type: i2$3.StylePluginManager }, { type: i4$2.EntityDefinitionService }, { type: i5$6.ParamPluginManager }, { type: i2$4.ResolvedContextPluginManager }, { type: i6$6.PluginConfigurationManager }, { type: i2$4.ContextManagerService }, { type: i2$2.TokenizerService }, { type: i2$3.FormService }, { type: i2$3.PageBuilderFacade }, { type: PageContextResolver }, { type: RestContextResolver }, { type: FormContextResolver }, { type: PaneStateContextResolver }, { type: PageStateContextResolver }, { type: i13.BridgeBuilderPluginManager }, { type: i14.HttpClient }, { type: i4$2.Pluralizer }, { type: i4$2.DefaultDataServiceConfig }, { type: i15.CrudAdaptorPluginManager }, { type: i4$2.EntityDefinitionService }, { type: i4$2.EntityDataService }, { type: i5$6.ParamEvaluatorService }, { type: i16.DatasourcePluginManager }, { type: i2$1.AttributeSerializerService }, { type: i15.CrudDataHelperService }]; } });\n\n// export * from './lib/models/page.models';\n// export * from './lib/plugins/snippet/snippet.module';\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { CatchAllGuard, CatchAllRouterComponent, EditPanelPageComponent, PAGES_SETTINGS, PagesModule, PagesSettings, PanelPageRouterComponent, attributeContentPluginFactory, createEditMatcher, createMatcher, formContextFactory, formDatasourcePluginFactory, formParamPluginFactory, formResolvedContextPluginFactory, formSerializationEntityCrudAdaptorPluginFactory, mediaContentPluginFactory, pageContextFactory, pageStateContextFactory, pagesFormBridgeFactory, paneStateContextFactory, restContentPluginFactory, restContextFactory, sliceContentPluginFactory, snippetContentPluginFactory, tabsStylePluginFactory };\n","function promisifyRequest(request) {\n return new Promise((resolve, reject) => {\n // @ts-ignore - file size hacks\n request.oncomplete = request.onsuccess = () => resolve(request.result);\n // @ts-ignore - file size hacks\n request.onabort = request.onerror = () => reject(request.error);\n });\n}\nfunction createStore(dbName, storeName) {\n const request = indexedDB.open(dbName);\n request.onupgradeneeded = () => request.result.createObjectStore(storeName);\n const dbp = promisifyRequest(request);\n return (txMode, callback) => dbp.then((db) => callback(db.transaction(storeName, txMode).objectStore(storeName)));\n}\nlet defaultGetStoreFunc;\nfunction defaultGetStore() {\n if (!defaultGetStoreFunc) {\n defaultGetStoreFunc = createStore('keyval-store', 'keyval');\n }\n return defaultGetStoreFunc;\n}\n/**\n * Get a value by its key.\n *\n * @param key\n * @param customStore Method to get a custom store. Use with caution (see the docs).\n */\nfunction get(key, customStore = defaultGetStore()) {\n return customStore('readonly', (store) => promisifyRequest(store.get(key)));\n}\n/**\n * Set a value with a key.\n *\n * @param key\n * @param value\n * @param customStore Method to get a custom store. Use with caution (see the docs).\n */\nfunction set(key, value, customStore = defaultGetStore()) {\n return customStore('readwrite', (store) => {\n store.put(value, key);\n return promisifyRequest(store.transaction);\n });\n}\n/**\n * Set multiple values at once. This is faster than calling set() multiple times.\n * It's also atomic – if one of the pairs can't be added, none will be added.\n *\n * @param entries Array of entries, where each entry is an array of `[key, value]`.\n * @param customStore Method to get a custom store. Use with caution (see the docs).\n */\nfunction setMany(entries, customStore = defaultGetStore()) {\n return customStore('readwrite', (store) => {\n entries.forEach((entry) => store.put(entry[1], entry[0]));\n return promisifyRequest(store.transaction);\n });\n}\n/**\n * Get multiple values by their keys\n *\n * @param keys\n * @param customStore Method to get a custom store. Use with caution (see the docs).\n */\nfunction getMany(keys, customStore = defaultGetStore()) {\n return customStore('readonly', (store) => Promise.all(keys.map((key) => promisifyRequest(store.get(key)))));\n}\n/**\n * Update a value. This lets you see the old value and update it as an atomic operation.\n *\n * @param key\n * @param updater A callback that takes the old value and returns a new value.\n * @param customStore Method to get a custom store. Use with caution (see the docs).\n */\nfunction update(key, updater, customStore = defaultGetStore()) {\n return customStore('readwrite', (store) => \n // Need to create the promise manually.\n // If I try to chain promises, the transaction closes in browsers\n // that use a promise polyfill (IE10/11).\n new Promise((resolve, reject) => {\n store.get(key).onsuccess = function () {\n try {\n store.put(updater(this.result), key);\n resolve(promisifyRequest(store.transaction));\n }\n catch (err) {\n reject(err);\n }\n };\n }));\n}\n/**\n * Delete a particular key from the store.\n *\n * @param key\n * @param customStore Method to get a custom store. Use with caution (see the docs).\n */\nfunction del(key, customStore = defaultGetStore()) {\n return customStore('readwrite', (store) => {\n store.delete(key);\n return promisifyRequest(store.transaction);\n });\n}\n/**\n * Delete multiple keys at once.\n *\n * @param keys List of keys to delete.\n * @param customStore Method to get a custom store. Use with caution (see the docs).\n */\nfunction delMany(keys, customStore = defaultGetStore()) {\n return customStore('readwrite', (store) => {\n keys.forEach((key) => store.delete(key));\n return promisifyRequest(store.transaction);\n });\n}\n/**\n * Clear all values in the store.\n *\n * @param customStore Method to get a custom store. Use with caution (see the docs).\n */\nfunction clear(customStore = defaultGetStore()) {\n return customStore('readwrite', (store) => {\n store.clear();\n return promisifyRequest(store.transaction);\n });\n}\nfunction eachCursor(store, callback) {\n store.openCursor().onsuccess = function () {\n if (!this.result)\n return;\n callback(this.result);\n this.result.continue();\n };\n return promisifyRequest(store.transaction);\n}\n/**\n * Get all keys in the store.\n *\n * @param customStore Method to get a custom store. Use with caution (see the docs).\n */\nfunction keys(customStore = defaultGetStore()) {\n return customStore('readonly', (store) => {\n // Fast path for modern browsers\n if (store.getAllKeys) {\n return promisifyRequest(store.getAllKeys());\n }\n const items = [];\n return eachCursor(store, (cursor) => items.push(cursor.key)).then(() => items);\n });\n}\n/**\n * Get all values in the store.\n *\n * @param customStore Method to get a custom store. Use with caution (see the docs).\n */\nfunction values(customStore = defaultGetStore()) {\n return customStore('readonly', (store) => {\n // Fast path for modern browsers\n if (store.getAll) {\n return promisifyRequest(store.getAll());\n }\n const items = [];\n return eachCursor(store, (cursor) => items.push(cursor.value)).then(() => items);\n });\n}\n/**\n * Get all entries in the store. Each entry is an array of `[key, value]`.\n *\n * @param customStore Method to get a custom store. Use with caution (see the docs).\n */\nfunction entries(customStore = defaultGetStore()) {\n return customStore('readonly', (store) => {\n // Fast path for modern browsers\n // (although, hopefully we'll get a simpler path some day)\n if (store.getAll && store.getAllKeys) {\n return Promise.all([\n promisifyRequest(store.getAllKeys()),\n promisifyRequest(store.getAll()),\n ]).then(([keys, values]) => keys.map((key, i) => [key, values[i]]));\n }\n const items = [];\n return customStore('readonly', (store) => eachCursor(store, (cursor) => items.push([cursor.key, cursor.value])).then(() => items));\n });\n}\n\nexport { clear, createStore, del, delMany, entries, get, getMany, keys, promisifyRequest, set, setMany, update, values };\n","import { CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { Component, NgModule, Inject } from '@angular/core';\nimport { SITE_NAME } from '@rollthecloudinc/utils';\nimport * as i1 from '@rollthecloudinc/alias';\nimport { AliasPlugin } from '@rollthecloudinc/alias';\nimport { map, tap, catchError } from 'rxjs/operators';\nimport { PanelPage } from '@rollthecloudinc/panels';\nimport { createMatcher, PanelPageRouterComponent, createEditMatcher, EditPanelPageComponent } from '@rollthecloudinc/pages';\nimport { of } from 'rxjs';\nimport * as i2 from '@angular/router';\nimport * as i3 from '@ngrx/data';\n\nclass PagealiasRouterComponent {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PagealiasRouterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: PagealiasRouterComponent, selector: \"classifieds-pagealias-router\", ngImport: i0, template: `<p>Hello</p>`, isInline: true }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PagealiasRouterComponent, decorators: [{\n type: Component,\n args: [{\n selector: 'classifieds-pagealias-router',\n template: `<p>Hello</p>`\n }]\n }] });\n\nclass PagealiasPlugin extends AliasPlugin {\n}\n\nclass PagealiasLoadingStrategy {\n get panelPageListItemsService() {\n return this.es.getEntityCollectionService('PanelPageListItem');\n }\n constructor(siteName, es, router) {\n this.siteName = siteName;\n this.es = es;\n this.router = router;\n this.routesLoaded = false;\n }\n isLoaded() {\n return this.routesLoaded;\n }\n load() {\n return this.panelPageListItemsService.getWithQuery(`site=${encodeURIComponent(`{\"term\":{\"site.keyword\":{\"value\":\"${this.siteName}\"}}}`)}&path=${encodeURIComponent(`{\"wildcard\":{\"path.keyword\":{\"value\":\"*\"}}}`)}`).pipe(map(pp => pp.filter(p => p.path !== undefined && p.path !== '')), map(pp => pp.map(o => new PanelPage(o)).sort((a, b) => {\n if (a.path.split('/').length === b.path.split('/').length) {\n return a.path.split('/')[a.path.split('/').length - 1] > b.path.split('/')[b.path.split('/').length - 1] ? -1 : 1;\n }\n return a.path.split('/').length > b.path.split('/').length ? -1 : 1;\n })), tap(pp => pp.sort((a, b) => a.path.length > b.path.length ? 1 : -1)), tap(pp => {\n pp.forEach(p => {\n this.router.config.unshift({ matcher: createMatcher(p), component: PanelPageRouterComponent, data: { panelPageListItem: p } });\n this.router.config.unshift({ matcher: createEditMatcher(p), component: EditPanelPageComponent, data: { panelPageListItem: p } });\n });\n this.routesLoaded = true;\n }), tap(() => console.log('panels routes loaded')), map(() => true));\n }\n}\n\nclass PagealiasMatchingStrategy {\n get panelPageListItemsService() {\n return this.es.getEntityCollectionService('PanelPageListItem');\n }\n constructor(siteName, es, router) {\n this.siteName = siteName;\n this.es = es;\n this.router = router;\n }\n match(state) {\n let url = state.url;\n if (url.indexOf('?') !== -1) {\n url = state.url.substr(0, url.indexOf('?'));\n }\n const matchPathQuery = 'path=' + url.substr(1).split('/').reduce((p, c, i) => [...p, i === 0 ? `/${c}` : `${p[i - 1]}/${c}`], []).map(p => this.encodePathComponent(p)).join('&path=') + `&site=${encodeURIComponent(`{\"term\":{\"site.keyword\":{\"value\":\"${this.siteName}\"}}}`)}`;\n return this.panelPageListItemsService.getWithQuery(matchPathQuery).pipe(catchError(e => {\n return of([]);\n }), map(pages => pages.reduce((p, c) => p === undefined ? c : p.path.split('/').length < c.path.split('/').length ? c : p, undefined)), map(m => !!m || state.url.indexOf('pages') > -1));\n }\n encodePathComponent(v) {\n return `{\"term\":{\"path.keyword\":{\"value\":\"${v}\"}}}`;\n }\n}\n\nclass PagealiasRedirectHandler {\n get panelPageListItemsService() {\n return this.es.getEntityCollectionService('PanelPageListItem');\n }\n constructor(siteName, es, router) {\n this.siteName = siteName;\n this.es = es;\n this.router = router;\n }\n redirect(route, state) {\n if (state.url.indexOf('pages') > -1) {\n console.log(`redirect: ${state.url}`);\n this.router.navigateByUrl(state.url);\n }\n else {\n let url = state.url;\n if (url.indexOf('?') !== -1) {\n url = state.url.substr(0, url.indexOf('?'));\n }\n const matchPathQuery = 'path=' + url.substr(1).split('/').reduce((p, c, i) => [...p, i === 0 ? `/${c}` : `${p[i - 1]}/${c}`], []).map(p => this.encodePathComponent(p)).join('&path=') + `&site=${encodeURIComponent(`{\"term\":{\"site.keyword\":{\"value\":\"${this.siteName}\"}}}`)}`;\n this.panelPageListItemsService.getWithQuery(matchPathQuery).pipe(map(pages => pages.reduce((p, c) => p === undefined ? c : p.path.split('/').length < c.path.split('/').length ? c : p, undefined)), map(panelPage => {\n const argPath = state.url.substr(1).split('/').slice(panelPage.path.split('/').length - 1).join('/');\n return [panelPage, argPath];\n })).subscribe(([panelPage, argPath]) => {\n // this.router.onSameUrlNavigation;\n this.router.navigate(['reload']);\n // console.log(`nagigvate to: ${panelPage.path}${argPath === '' ? '' : `/${argPath}`}?${qs.stringify(route.queryParams)}`);\n // this.router.navigateByUrl(`${panelPage.path}${argPath === '' ? '' : `/${argPath}`}?${qs.stringify(route.queryParams)}`, /* Removed unsupported properties by Angular migration: queryParams, fragment. */ {})\n // this.router.navigateByUrl(`/pages/panelpage/${panelPage.id}${argPath === '' ? '' : `/${argPath}`}?${qs.stringify(route.queryParams)}`, {queryParams: { ...((route as ActivatedRouteSnapshot).queryParams) }, fragment: (route as ActivatedRouteSnapshot).fragment })\n });\n }\n }\n encodePathComponent(v) {\n return `{\"term\":{\"path.keyword\":{\"value\":\"${v}\"}}}`;\n }\n}\n\nconst pagealiasFactory = (siteName, es, router) => {\n const loadingStrategy = new PagealiasLoadingStrategy(siteName, es, router);\n const matchingStrategy = new PagealiasMatchingStrategy(siteName, es, router);\n const redirectHandler = new PagealiasRedirectHandler(siteName, es, router);\n return new PagealiasPlugin({ id: 'panels', title: 'Panels', loadingStrategy, matchingStrategy, redirectHandler });\n};\n\nclass PagealiasModule {\n constructor(apm, router, siteName, \n // eds: EntityDefinitionService,\n es) {\n // eds.registerMetadataMap(entityMetadata);\n apm.register(pagealiasFactory(siteName, es, router));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PagealiasModule, deps: [{ token: i1.AliasPluginManager }, { token: i2.Router }, { token: SITE_NAME }, { token: i3.EntityServices }], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: PagealiasModule, declarations: [PagealiasRouterComponent], imports: [CommonModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PagealiasModule, imports: [CommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PagealiasModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [\n PagealiasRouterComponent\n ],\n imports: [\n CommonModule\n ],\n exports: []\n }]\n }], ctorParameters: function () { return [{ type: i1.AliasPluginManager }, { type: i2.Router }, { type: undefined, decorators: [{\n type: Inject,\n args: [SITE_NAME]\n }] }, { type: i3.EntityServices }]; } });\n\n/*\n * Public API Surface of pagealias\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { PagealiasModule };\n","import * as i0 from '@angular/core';\nimport { forwardRef, Component, Input, ViewChild, Injectable, NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport * as i1 from '@angular/forms';\nimport { Validators, NG_VALUE_ACCESSOR, NG_VALIDATORS, FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { BehaviorSubject, of } from 'rxjs';\nimport { debounceTime, distinctUntilChanged, filter, map, tap } from 'rxjs/operators';\nimport { createSelector, select } from '@ngrx/store';\nimport * as i1$1 from '@rollthecloudinc/attributes';\nimport { AttributeValue } from '@rollthecloudinc/attributes';\nimport * as i1$2 from '@ngrx/data';\nimport * as i4 from '@rollthecloudinc/bridge';\nimport { BridgeBuilderPlugin, PublicApiBridgeService } from '@rollthecloudinc/bridge';\nimport * as i2 from '@rollthecloudinc/context';\nimport { ContextPlugin } from '@rollthecloudinc/context';\nimport { NoopDataService } from '@rollthecloudinc/utils';\n\nclass ContextStateFormComponent {\n set context(context) {\n this.context$.next(context);\n }\n constructor(fb, controlContainer) {\n this.fb = fb;\n this.controlContainer = controlContainer;\n this.context$ = new BehaviorSubject(undefined);\n this.formGroup = this.fb.group({\n // selectionPath: this.fb.control([]),\n value: this.fb.control('', [Validators.required])\n /*type: this.fb.control('', [ ]),\n defaultValue: this.fb.control(''),*/\n });\n this.stateCtrl = this.fb.control('');\n /*selectionPathCtrl = this.fb.control('');\n \n selectionPathCtrlSub = this.selectionPathCtrl.valueChanges.pipe(\n map(v => v && v !== '' ? this.flattenSelector(v) : [])\n ).subscribe(v => {\n this.formGroup.get('selectionPath').setValue(v);\n });*/\n this.stateCtrlSub = this.stateCtrl.valueChanges.pipe(debounceTime(250), distinctUntilChanged(), filter(v => {\n try {\n JSON.parse(v);\n return true;\n }\n catch (e) {\n return false;\n }\n }), map(v => JSON.parse(v))).subscribe(v => {\n console.log('write state');\n console.log(v);\n this.formGroup.get('value').setValue(v);\n });\n this.onTouched = () => { };\n }\n ngOnInit() {\n this.context$.subscribe(c => {\n if (c) {\n this.stateCtrl.setValue(JSON.stringify(c.data.value));\n }\n else {\n this.stateCtrl.setValue('');\n }\n });\n }\n writeValue(val) {\n if (val) {\n this.formGroup.setValue(val, { emitEvent: false });\n }\n }\n registerOnChange(fn) {\n this.formGroup.valueChanges.subscribe(fn);\n }\n registerOnTouched(fn) {\n this.onTouched = fn;\n }\n setDisabledState(isDisabled) {\n if (isDisabled) {\n this.formGroup.disable();\n }\n else {\n this.formGroup.enable();\n }\n }\n validate(c) {\n return this.formGroup.valid ? null : { invalidForm: { valid: false, message: \"source is invalid\" } };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ContextStateFormComponent, deps: [{ token: i1.UntypedFormBuilder }, { token: i1.ControlContainer }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: ContextStateFormComponent, selector: \"classifieds-ui-context-state-form\", inputs: { context: \"context\" }, providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => ContextStateFormComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => ContextStateFormComponent),\n multi: true\n },\n ], ngImport: i0, template: \"<div [formGroup]=\\\"formGroup\\\">\\n <textarea [formControl]=\\\"stateCtrl\\\" cols=\\\"40\\\" rows=\\\"20\\\" required></textarea>\\n</div>\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i1.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1.RequiredValidator, selector: \":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]\", inputs: [\"required\"] }, { kind: \"directive\", type: i1.FormControlDirective, selector: \"[formControl]\", inputs: [\"formControl\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ContextStateFormComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-context-state-form', providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => ContextStateFormComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => ContextStateFormComponent),\n multi: true\n },\n ], template: \"<div [formGroup]=\\\"formGroup\\\">\\n <textarea [formControl]=\\\"stateCtrl\\\" cols=\\\"40\\\" rows=\\\"20\\\" required></textarea>\\n</div>\" }]\n }], ctorParameters: function () { return [{ type: i1.UntypedFormBuilder }, { type: i1.ControlContainer }]; }, propDecorators: { context: [{\n type: Input\n }] } });\n\nclass ContextStateEditorComponent {\n constructor(fb, controlContainer) {\n this.fb = fb;\n this.controlContainer = controlContainer;\n }\n ngOnInit() {\n this.controlContainer.control.addControl('adaptor', this.fb.control('data', Validators.required));\n this.controlContainer.control.addControl('data', this.fb.control(''));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ContextStateEditorComponent, deps: [{ token: i1.UntypedFormBuilder }, { token: i1.ControlContainer }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: ContextStateEditorComponent, selector: \"classifieds-ui-context-state-editor\", inputs: { context: \"context\" }, viewQueries: [{ propertyName: \"contextStateFormComp\", first: true, predicate: ContextStateFormComponent, descendants: true, static: true }], ngImport: i0, template: `<ng-container [formGroup]=\"controlContainer.control\"><classifieds-ui-context-state-form formControlName=\"data\" [context]=\"context\"></classifieds-ui-context-state-form></ng-container>`, isInline: true, styles: [\"\"], dependencies: [{ kind: \"directive\", type: i1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: ContextStateFormComponent, selector: \"classifieds-ui-context-state-form\", inputs: [\"context\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ContextStateEditorComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-context-state-editor', template: `<ng-container [formGroup]=\"controlContainer.control\"><classifieds-ui-context-state-form formControlName=\"data\" [context]=\"context\"></classifieds-ui-context-state-form></ng-container>` }]\n }], ctorParameters: function () { return [{ type: i1.UntypedFormBuilder }, { type: i1.ControlContainer }]; }, propDecorators: { context: [{\n type: Input\n }], contextStateFormComp: [{\n type: ViewChild,\n args: [ContextStateFormComponent, { static: true }]\n }] } });\n\nclass StateContextResolver {\n get entityCollectionService() {\n return this.es.getEntityCollectionService('GlobalState');\n }\n constructor(attributeSerializer, es) {\n this.attributeSerializer = attributeSerializer;\n this.es = es;\n }\n resolve(ctx, data, meta) {\n // return of({});\n const selectEntities = (entities) => entities.entities;\n const selectById = (id) => createSelector(selectEntities, entities => entities[id] ? entities[id] : undefined);\n console.log('hookup globalstate');\n console.log(data);\n const name = meta && meta.has('name') && meta.get('name') && meta.get('name') !== null && meta.get('name') !== '' ? meta.get('name') : undefined;\n return name ? this.entityCollectionService.collection$.pipe(select(selectById(name)), map(gs => gs ? this.attributeSerializer.deserialize(gs.value) : data.value ? data.value : {}), map(value => value.root ? value.root : value), tap(v => {\n console.log('resolve globalstate');\n console.log(v);\n })) : of(data.value ? data.value : {}).pipe(tap(v => {\n console.log('resolve default globalstate');\n console.log(v);\n }));\n //return of(data.state);\n /*return this.entityServices.getEntityCollectionService('GlobalState').entities$.pipe(\n this.entityServices.getEntityCollectionService('GlobalState').selectors;\n );*/\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: StateContextResolver, deps: [{ token: i1$1.AttributeSerializerService }, { token: i1$2.EntityServices }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: StateContextResolver }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: StateContextResolver, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: i1$1.AttributeSerializerService }, { type: i1$2.EntityServices }]; } });\n\nclass GlobalState {\n constructor(data) {\n if (data) {\n this.id = data.id;\n this.value = new AttributeValue(data.value);\n }\n }\n}\n\nconst stateContextFactory = (resolver) => {\n const baseObject = new AttributeValue();\n return new ContextPlugin({ id: 'state', name: 'state', title: 'State', baseObject, resolver, editorComponent: ContextStateEditorComponent });\n};\nconst stateBridgeFactory = (es, attributeSerializer) => {\n return new BridgeBuilderPlugin({\n id: 'state',\n title: 'State',\n build: () => {\n PublicApiBridgeService.prototype['writeState'] = (gs) => {\n return new Promise(res => {\n const svc = es.getEntityCollectionService('GlobalState');\n /*svc.getByKey(f.id).pipe(\n // catchError(() => of(new GlobalState({ id: f.id, value: attributeSerializer.serialize(f.state, 'root') }))),\n switchMap(state => svc.upsert(new GlobalState({ id: f.id, value: attributeSerializer.serialize(f.state, 'root') })))\n ).subscribe(state => {\n res(state);\n });*/\n svc.upsert(new GlobalState({ id: gs.id, value: attributeSerializer.serialize(gs.value, 'root') })).pipe(tap(state => res(state))).subscribe();\n });\n };\n }\n });\n};\n\nconst entityMetadata = {\n GlobalState: {\n entityName: 'GlobalState'\n },\n};\n\nclass StateModule {\n constructor(eds, entityDataService, cpm, es, attributeSerializer, bpm, stateContextResolver) {\n eds.registerMetadataMap(entityMetadata);\n entityDataService.registerService('GlobalState', new NoopDataService('GlobalState'));\n cpm.register(stateContextFactory(stateContextResolver));\n bpm.register(stateBridgeFactory(es, attributeSerializer));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: StateModule, deps: [{ token: i1$2.EntityDefinitionService }, { token: i1$2.EntityDataService }, { token: i2.ContextPluginManager }, { token: i1$2.EntityServices }, { token: i1$1.AttributeSerializerService }, { token: i4.BridgeBuilderPluginManager }, { token: StateContextResolver }], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: StateModule, declarations: [ContextStateEditorComponent,\n ContextStateFormComponent], imports: [CommonModule,\n FormsModule,\n ReactiveFormsModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: StateModule, providers: [\n StateContextResolver\n ], imports: [CommonModule,\n FormsModule,\n ReactiveFormsModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: StateModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [\n ContextStateEditorComponent,\n ContextStateFormComponent\n ],\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule\n ],\n exports: [],\n providers: [\n StateContextResolver\n ]\n }]\n }], ctorParameters: function () { return [{ type: i1$2.EntityDefinitionService }, { type: i1$2.EntityDataService }, { type: i2.ContextPluginManager }, { type: i1$2.EntityServices }, { type: i1$1.AttributeSerializerService }, { type: i4.BridgeBuilderPluginManager }, { type: StateContextResolver }]; } });\n\n/*\n * Public API Surface of state\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { StateModule };\n","import * as i0 from '@angular/core';\nimport { NgModule } from '@angular/core';\nimport * as i1 from '@rollthecloudinc/crud';\nimport { CrudAdaptorPlugin, CrudModule } from '@rollthecloudinc/crud';\nimport { of, forkJoin, Observable } from 'rxjs';\nimport { switchMap, map, concatMap, filter, reduce, defaultIfEmpty } from 'rxjs/operators';\nimport { set, keys, getMany, setMany } from 'idb-keyval';\nimport { Engine } from 'json-rules-engine';\nimport { JSONPath } from 'jsonpath-plus';\nimport { isPlatformBrowser } from '@angular/common';\nimport * as i2 from '@rollthecloudinc/dparam';\n\nconst idbEntityCrudAdaptorPluginFactory = (paramsEvaluatorService) => {\n return new CrudAdaptorPlugin({\n id: 'idb_keyval',\n title: 'Idb Keyval',\n create: ({ object, identity, params, parentObject }) => of({ success: false }).pipe(switchMap(() => identity({ object, parentObject }).pipe(map(({ identity }) => ({ identity })))), switchMap(({ identity }) => params && Object.keys(params).length !== 0 ? forkJoin(Object.keys(params).map(name => paramsEvaluatorService.paramValue(params[name], new Map()).pipe(map(v => ({ [name]: v }))))).pipe(map(groups => groups.reduce((p, c) => ({ ...p, ...c }), {})), // default options go here instead of empty object.\n map(options => ({ identity, options }))) : of({ identity, options: {} })), map(({ identity, options }) => ({ name: options.prefix + identity })), switchMap(({ name }) => new Observable(obs => {\n set(name, object).then(res => {\n console.log('idb write suceeded');\n console.log(res);\n obs.next({ success: true });\n obs.complete();\n }).catch(e => {\n console.log('idb write failed');\n console.log(e);\n obs.next({ success: false });\n obs.complete();\n });\n }))),\n read: ({}) => of({ success: false }),\n update: ({ object, identity, params, parentObject }) => of({ success: false }).pipe(switchMap(() => identity({ object, parentObject }).pipe(map(({ identity }) => ({ identity })))), switchMap(({ identity }) => params && Object.keys(params).length !== 0 ? forkJoin(Object.keys(params).map(name => paramsEvaluatorService.paramValue(params[name], new Map()).pipe(map(v => ({ [name]: v }))))).pipe(map(groups => groups.reduce((p, c) => ({ ...p, ...c }), {})), // default options go here instead of empty object.\n map(options => ({ identity, options }))) : of({ identity, options: {} })), map(({ identity, options }) => ({ name: options.prefix + identity })), switchMap(({ name }) => new Observable(obs => {\n set(name, object).then(res => {\n console.log('idb write suceeded');\n console.log(res);\n obs.next({ success: true });\n obs.complete();\n }).catch(e => {\n console.log('idb write failed');\n console.log(e);\n obs.next({ success: false });\n obs.complete();\n });\n }))),\n delete: ({}) => of({ success: false }),\n // query: ({}: CrudCollectionOperationInput) => of<CrudCollectionOperationResponse>({ success: false, entities: [] })\n query: ({ params, rule, identity }) => paramsEvaluatorService.paramValues(new Map(Object.keys(params).map(name => [name, params[name]]))).pipe(switchMap(options => new Observable(obs => {\n keys()\n .then(keys => keys.filter(k => `${k}`.indexOf(options.get('prefix')) === 0))\n .then(keys => getMany(keys))\n .then(entities => {\n obs.next({ entities, success: true });\n obs.complete();\n });\n })), switchMap(out => !rule ? of(out) : new Observable(obs => {\n const engine = new Engine();\n // This should not be here should be setup for default engine but for now whatever.\n engine.addOperator('startsWith', (fv, jv) => typeof (jv) === 'string' && typeof (fv) === 'string' && jv.indexOf(fv) === 0);\n engine.addOperator('term||wildcard', (fv, jv) => {\n const jsonValue = JSON.parse(decodeURIComponent(jv));\n const terms = JSONPath({ path: `$.term.*.value.@string()`, json: jsonValue, flatten: true });\n return jsonValue.wildcard !== undefined || (jsonValue.term && terms.lengh !== 0 && terms[0] === fv);\n });\n engine.addRule(rule);\n engine.addFact('identity', (_, almanac) => new Observable(obs2 => {\n almanac.factValue('entity')\n .then(object => identity({ object }).pipe(map(({ identity }) => identity)).toPromise())\n .then(id => {\n obs2.next(id);\n obs2.complete();\n });\n }).toPromise(), { cache: false });\n of(...out.entities).pipe(concatMap(entity => new Observable(obs2 => {\n engine.removeFact('entity');\n engine.addFact('entity', entity, { cache: false });\n engine.run().then(res => {\n obs2.next([entity, res.events.findIndex(e => e.type === 'visible') > -1]);\n obs2.complete();\n });\n })), filter(([_, matched]) => matched), map(([entity]) => entity), reduce((acc, v) => [...acc, v], []), defaultIfEmpty([])).subscribe(entities => {\n obs.next({ ...out, entities });\n obs.complete();\n });\n })))\n });\n};\nconst initializeIdbDataFactory = ({ data, key }) => (platformId) => {\n return () => new Observable(obs => {\n if (isPlatformBrowser(platformId)) {\n const items = data.map(d => [key({ data: d }), d]);\n setMany(items).then(() => {\n console.log('data loaded into idb');\n obs.next();\n obs.complete();\n }).catch(() => {\n console.log('data load into idb failure');\n obs.next();\n obs.complete();\n });\n }\n else {\n obs.next();\n obs.complete();\n }\n });\n};\n\nclass KeyvalModule {\n constructor(cpm, paramsEvaluatorService) {\n cpm.register(idbEntityCrudAdaptorPluginFactory(paramsEvaluatorService));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: KeyvalModule, deps: [{ token: i1.CrudAdaptorPluginManager }, { token: i2.ParamEvaluatorService }], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: KeyvalModule, imports: [CrudModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: KeyvalModule, imports: [CrudModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: KeyvalModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [],\n imports: [\n CrudModule\n ],\n exports: []\n }]\n }], ctorParameters: function () { return [{ type: i1.CrudAdaptorPluginManager }, { type: i2.ParamEvaluatorService }]; } });\n\n/*\n * Public API Surface of keyval\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { KeyvalModule, idbEntityCrudAdaptorPluginFactory, initializeIdbDataFactory };\n","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}\n","import { Component, OnInit, EventEmitter, Output, PLATFORM_ID, Inject } from '@angular/core';\nimport { isPlatformBrowser } from '@angular/common';\nimport { AuthFacade } from '@rollthecloudinc/auth';\nimport { Router } from '@angular/router';\nimport { PublicApiBridgeService } from '@rollthecloudinc/bridge';\n\ndeclare var bridge: PublicApiBridgeService;\n\n@Component({\n selector: 'app-root',\n templateUrl: './app.component.html',\n styleUrls: ['./app.component.scss']\n})\nexport class AppComponent implements OnInit {\n title = 'ipe';\n // user$: Observable<User>;\n isAuthenticated: boolean;\n @Output()\n menuClicked = new EventEmitter();\n constructor(\n @Inject(PLATFORM_ID) platformId: Object,\n private authFacade: AuthFacade, \n private router: Router,\n publicApiBridge: PublicApiBridgeService\n ) {\n if (isPlatformBrowser(platformId)) {\n bridge = publicApiBridge;\n }\n /*this.oktaAuth.$authenticationState.subscribe(\n (isAuthenticated: boolean) => this.isAuthenticated = isAuthenticated\n );*/\n }\n ngOnInit() {\n this.authFacade.getUser$.subscribe(u => {\n this.isAuthenticated = !!u;\n });\n /*this.oktaAuth.isAuthenticated().then((value) => {\n this.isAuthenticated = value;\n });*/\n }\n login() {\n this.authFacade.login();\n // this.oktaAuth.loginRedirect();\n }\n\n menuClick() {\n this.menuClicked.emit();\n }\n}\n","<div fxLayout=\"column\" fxFill>\n <div class=\"outlet-wrapper\">\n <router-outlet></router-outlet>\n </div>\n</div>\n","// This file can be replaced during build by using the `fileReplacements` array.\n// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.\n// The list of file replacements can be found in `angular.json`.\n// import { GlobalErrorHandler } from '@classifieds-ui/logging';\n\n// https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-using-tokens-verifying-a-jwt.html\nconst signingKeys = {\n \"keys\": [\n {\n \"alg\": \"RS256\",\n \"e\": \"AQAB\",\n \"kid\": \"LFfHKQ51C81E+ByYd/wucwrvfiEnYJQtJvb4GHbalFQ=\",\n \"kty\": \"RSA\",\n \"n\": \"gijyjUXIzkAPofeaM7JCAsuLHLc_GP3of-NT8ARjSTTMif-wqJeNww4MJkvRYzfL6mL_owVZgD37O4Dd81jBLY6iEyi6hxHYTUuXR7mYkQ2008Fp3m45wztUKWeeNgzsvuR01STkkwmuf7afkQXJUlHts8eT47Dqc4mrKA3vcHYG4vJXmvtjQT-IirkA-yU36TXyd1TPOetdwlmFOcSYfL4CW7ZZfVg1dCvT1T50mO1AaQDMcA8S3fVfROGW36hjiB8r9q5zQrrfBLTMPSVpn85LscVLbYUxJL9yLygiD4UTCXw7Y1hiE2tDL2nmy6PHumylNf8yj5I7N56Kz4cwtQ\",\n \"use\": \"sig\"\n },\n {\n \"alg\": \"RS256\",\n \"e\": \"AQAB\",\n \"kid\": \"UNTk4hVhUrq0k8uAGvDYs/w0g/iW+b9PweObMbM6S/w=\",\n \"kty\": \"RSA\",\n \"n\": \"g7Z-JKiovH7ZnwK1o8hsiLf4GfxA9w11RsQK3yQWG3xR__qKbkvxKxhn3Xt5QsUSo8nhiwWtsjUTyVxRO7WJlCjSHGztvYhoYIlwSL8Mqtf3Plg6CrJoDhq7CZDe_TNeQczfBI8k1w5U6n4h5G-e4Fa41nH-qXrDh2L7onTFKSzZDJRCELmh64ur5RmU6kuhwrejwS4YXuz4gKQRcTuDu9AXH7A7cNO5EF_sVRy8hkFtKCPO-mgwJ5S_e5_Y5gleJRpMZnzWmBv_-GpwO5V9XzxBr5s1O9HqyBMXR1pKU_YykeP7PvukEDpyr8UXu-2drzq-oHzXHDInNHjYPLx3BQ\",\n \"use\": \"sig\"\n }\n ]\n};\n\nexport const environment = {\n production: false,\n site: 'spearhead',\n apiGatewaySettings: {\n // endpointUrl: 'https://localhost:44340',\n endpointUrl: \"https://vertigo.druidcloud.dev/rollthecloudinc/spearhead-objects/shapeshifter\"\n },\n mediaSettings: {\n endpointUrl: 'https://vertigo.druidcloud.dev/spearhead/media',\n cloudinaryUrl: 'https://api.cloudinary.com/v1_1/dj4vvkgzw',\n uploadPreset: 'i0hm4opm',\n imageUrl: 'https://vertigo.druidcloud.dev/spearhead',\n bucket: 'classifieds-ui-dev',\n prefix: 'media/'\n },\n adSettings: {\n adUrl: 'https://d2o66qxp1qwfb9.cloudfront.net/ads'\n },\n taxonomySettings: {\n vocabularyUrl: 'https://d2o66qxp1qwfb9.cloudfront.net/vocabularies'\n },\n profileSettings: {\n profileUrl: 'https://d2o66qxp1qwfb9.cloudfront.net/profiles'\n },\n loggingSettings: {\n endpointUrl: \"https://localhost:44340/logging\"\n },\n chatSettings: {\n // endpointUrl: \"https://localhost:44340/chat\"\n // endpointUrl: \"http://classifieds-chat-dev-2064029101.us-east-1.elb.amazonaws.com\"\n endpointUrl: \"wss://61rdyvvayj.execute-api.us-east-1.amazonaws.com/dev\"\n },\n oktaSettings: {\n redirectUri: 'http://localhost:4000/implicit/callback',\n clientId: '0oa33yn39XtrnvY774x6',\n },\n cognitoSettings: {\n identityPoolId: 'us-east-1:6f5cdc41-35b0-41ca-9f6b-7eca11320942',\n region: 'us-east-1',\n userPoolId: 'us-east-1_z8PhK3D8V'\n },\n panelsSettings: {\n openSearchDomain: 'search-classifieds-ui-dev-eldczuhq3vesgpjnr3vie6cagq',\n s3Bucket: 'classifieds-ui-dev',\n objectsRootUrl: 'https://rollthecloudinc.github.io/spearhead-objects'\n },\n alienaliasSettings: {\n openSearchDomain: 'search-classifieds-ui-dev-eldczuhq3vesgpjnr3vie6cagq'\n },\n /*clientSettings: {\n authority: 'https://localhost:44392',\n client_id: 'classifieds_spa',\n redirect_uri: 'http://localhost:4200/auth-callback',\n silent_redirect_uri: 'http://localhost:4200/silent-refresh.html',\n response_type: \"code\",\n scope:\"openid profile ads_api media_api chat IdentityServerApi taxonomy_api api_gateway\",\n filterProtocolClaims: true,\n loadUserInfo: true,\n automaticSilentRenew: true\n }*/\n rumSettings: {\n appId: '',\n guestRoleArn: '',\n identityPoolId: '',\n region: ''\n },\n clientSettings: {\n authority: 'https://sso.druidcloud.dev',\n client_id: '3lkidn79q4jq8nahkecsguleij',\n redirect_uri: 'https://spearhead.druidcloud.dev/auth-callback',\n silent_redirect_uri: 'https://spearhead.druidcloud.dev/silent-refresh.html',\n response_type: \"code\",\n scope:\"openid profile aws.cognito.signin.user.admin ads_api/ads_api taxonomy_api/taxonomy_api chat/chat media_api/media_api profiles_api/profiles_api\", /*'ads_api media_api chat IdentityServerApi taxonomy_api api_gateway\",*/\n filterProtocolClaims: true,\n loadUserInfo: true,\n automaticSilentRenew: true,\n stateStore: undefined,\n userStore: undefined,\n metadata: {\n issuer: \"https://cognito-idp.us-east-1.amazonaws.com/us-east-1_z8PhK3D8V\",\n authorization_endpoint: \"https://sso.druidcloud.dev/oauth2/authorize\",\n userinfo_endpoint: \"https://sso.druidcloud.dev/oauth2/userInfo\",\n end_session_endpoint: \"https://sso.druidcloud.dev/logout\",\n token_endpoint: \"https://sso.druidcloud.dev/oauth2/token\",\n jwks_uri: \"https://sso.druidcloud.dev/us-east-1_z8PhK3D8V\"\n },\n signingKeys: signingKeys.keys\n }\n};\n\nconst x = 'xxxxxxxxxxxxxxxxxxxxxxxsxxxx';\n\n/*\n * For easier debugging in development mode, you can import the following file\n * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.\n *\n * This import should be commented out in production mode because it will have a negative impact\n * on performance if an error is thrown.\n */\n// import 'zone.js/plugins/zone-error'; // Included with Angular CLI. ","import {\n ActionReducer,\n ActionReducerMap,\n MetaReducer\n} from '@ngrx/store';\nimport * as fromRouter from '@ngrx/router-store';\n// import { localStorageSync } from 'ngrx-store-localstorage';\n// import { environment } from '../../environments/environment';\n\nexport interface AppState {\n router: fromRouter.RouterReducerState;\n}\n\nexport const reducers: ActionReducerMap<AppState> = {\n router: fromRouter.routerReducer\n};\n\n// @todo: I would like to put this inside auth.\n/*export function localStorageSyncReducer(reducer: ActionReducer<any>): ActionReducer<any> {\n return localStorageSync({keys: ['auth'], rehydrate: true })(reducer);\n}*/\n\n// export const metaReducers: MetaReducer<AppState>[] = !environment.production ? [localStorageSyncReducer] : [localStorageSyncReducer];\nexport const metaReducers: MetaReducer<AppState>[] = [];\n","import * as i0 from '@angular/core';\nimport { forwardRef, Component, Input, NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport * as i1 from '@angular/forms';\nimport { Validators, NG_VALUE_ACCESSOR, NG_VALIDATORS, FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { MaterialModule } from '@rollthecloudinc/material';\nimport * as i1$1 from '@rollthecloudinc/datasource';\nimport { DatasourcePlugin, Dataset, DatasourceModule } from '@rollthecloudinc/datasource';\nimport { BehaviorSubject, iif, of } from 'rxjs';\nimport { map } from 'rxjs/operators';\nimport * as i2 from '@rollthecloudinc/attributes';\nimport * as i3 from '@angular/material/legacy-form-field';\nimport * as i4 from '@angular/material/legacy-input';\nimport { JSONPath } from 'jsonpath-plus';\n\nclass SelectTransform {\n constructor(data) {\n if (data) {\n this.query = data.query;\n }\n }\n}\n\nclass SelectSourceFormComponent {\n set settings(settings) {\n this.settings$.next(settings);\n }\n constructor(fb, attributeSerializer) {\n this.fb = fb;\n this.attributeSerializer = attributeSerializer;\n this.settings$ = new BehaviorSubject(undefined);\n this.formGroup = this.fb.group({\n query: this.fb.control('', [Validators.required])\n });\n this.settingsSub = this.settings$.pipe(map(s => s ? new SelectTransform(this.attributeSerializer.deserializeAsObject(s)) : undefined)).subscribe(ds => {\n if (ds) {\n this.formGroup.get('query').setValue(ds.query);\n }\n else {\n this.formGroup.get('query').setValue('');\n }\n });\n this.onTouched = () => { };\n }\n ngOnInit() {\n }\n writeValue(val) {\n if (val) {\n this.formGroup.setValue(val, { emitEvent: false });\n }\n }\n registerOnChange(fn) {\n this.formGroup.valueChanges.subscribe(fn);\n }\n registerOnTouched(fn) {\n this.onTouched = fn;\n }\n setDisabledState(isDisabled) {\n if (isDisabled) {\n this.formGroup.disable();\n }\n else {\n this.formGroup.enable();\n }\n }\n validate(c) {\n return this.formGroup.valid ? null : { invalidForm: { valid: false, message: \"content is invalid\" } };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: SelectSourceFormComponent, deps: [{ token: i1.UntypedFormBuilder }, { token: i2.AttributeSerializerService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: SelectSourceFormComponent, selector: \"classifieds-ui-select-source-form\", inputs: { settings: \"settings\" }, providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => SelectSourceFormComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => SelectSourceFormComponent),\n multi: true\n },\n ], ngImport: i0, template: \"<div [formGroup]=\\\"formGroup\\\">\\n\\n <mat-form-field>\\n <mat-label>Query</mat-label>\\n <input matInput formControlName=\\\"query\\\" required>\\n </mat-form-field>\\n\\n</div>\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i1.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1.RequiredValidator, selector: \":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]\", inputs: [\"required\"] }, { kind: \"directive\", type: i1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: i3.MatLegacyFormField, selector: \"mat-form-field\", inputs: [\"color\", \"appearance\", \"hideRequiredMarker\", \"hintLabel\", \"floatLabel\"], exportAs: [\"matFormField\"] }, { kind: \"directive\", type: i3.MatLegacyLabel, selector: \"mat-label\" }, { kind: \"directive\", type: i4.MatLegacyInput, selector: \"input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]\", exportAs: [\"matInput\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: SelectSourceFormComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-select-source-form', providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => SelectSourceFormComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => SelectSourceFormComponent),\n multi: true\n },\n ], template: \"<div [formGroup]=\\\"formGroup\\\">\\n\\n <mat-form-field>\\n <mat-label>Query</mat-label>\\n <input matInput formControlName=\\\"query\\\" required>\\n </mat-form-field>\\n\\n</div>\" }]\n }], ctorParameters: function () { return [{ type: i1.UntypedFormBuilder }, { type: i2.AttributeSerializerService }]; }, propDecorators: { settings: [{\n type: Input\n }] } });\n\nclass TransformSelectComponent {\n constructor(controlContainer) {\n this.controlContainer = controlContainer;\n this.settings = [];\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: TransformSelectComponent, deps: [{ token: i1.ControlContainer }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: TransformSelectComponent, selector: \"classifieds-ui-transform-select\", inputs: { settings: \"settings\" }, ngImport: i0, template: `<ng-container [formGroup]=\"controlContainer.control\"><classifieds-ui-select-source-form formControlName=\"settings\" [settings]=\"settings\"></classifieds-ui-select-source-form></ng-container>`, isInline: true, dependencies: [{ kind: \"directive\", type: i1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: SelectSourceFormComponent, selector: \"classifieds-ui-select-source-form\", inputs: [\"settings\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: TransformSelectComponent, decorators: [{\n type: Component,\n args: [{\n selector: 'classifieds-ui-transform-select',\n template: `<ng-container [formGroup]=\"controlContainer.control\"><classifieds-ui-select-source-form formControlName=\"settings\" [settings]=\"settings\"></classifieds-ui-select-source-form></ng-container>`,\n }]\n }], ctorParameters: function () { return [{ type: i1.ControlContainer }]; }, propDecorators: { settings: [{\n type: Input\n }] } });\n\nclass TransformMergeComponent {\n constructor() { }\n ngOnInit() {\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: TransformMergeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: TransformMergeComponent, selector: \"classifieds-ui-transform-merge\", ngImport: i0, template: \"<p>transform merge</p>\", styles: [\"\"] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: TransformMergeComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-transform-merge', template: \"<p>transform merge</p>\" }]\n }], ctorParameters: function () { return []; } });\n\nconst selectDatasourcePluginFactory = (attributeSerializer) => {\n return new DatasourcePlugin({\n id: 'select',\n title: 'Select',\n editor: TransformSelectComponent,\n fetch: ({ settings, dataset }) => iif(() => !!dataset, of(dataset).pipe(map(() => new SelectTransform(attributeSerializer.deserializeAsObject(settings))), map(ds => new Dataset({ results: JSONPath({ path: ds.query, json: dataset.results }) }))), of(new Dataset()))\n });\n};\nconst mergeDatasourcePluginFactory = () => {\n return new DatasourcePlugin({\n id: 'merge',\n title: 'Merge',\n editor: TransformMergeComponent,\n fetch: ({ settings }) => of(new Dataset())\n });\n};\n\nclass TransformModule {\n constructor(dpm, attributeSerializer) {\n [\n selectDatasourcePluginFactory(attributeSerializer),\n mergeDatasourcePluginFactory()\n ].forEach(p => dpm.register(p));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: TransformModule, deps: [{ token: i1$1.DatasourcePluginManager }, { token: i2.AttributeSerializerService }], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: TransformModule, declarations: [TransformSelectComponent,\n TransformMergeComponent,\n SelectSourceFormComponent], imports: [CommonModule,\n FormsModule,\n ReactiveFormsModule,\n MaterialModule,\n DatasourceModule], exports: [TransformSelectComponent,\n TransformMergeComponent,\n SelectSourceFormComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: TransformModule, imports: [CommonModule,\n FormsModule,\n ReactiveFormsModule,\n MaterialModule,\n DatasourceModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: TransformModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [\n TransformSelectComponent,\n TransformMergeComponent,\n SelectSourceFormComponent\n ],\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n MaterialModule,\n DatasourceModule\n ],\n exports: [\n TransformSelectComponent,\n TransformMergeComponent,\n SelectSourceFormComponent\n ]\n }]\n }], ctorParameters: function () { return [{ type: i1$1.DatasourcePluginManager }, { type: i2.AttributeSerializerService }]; } });\n\n/*\n * Public API Surface of transform\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { SelectSourceFormComponent, SelectTransform, TransformMergeComponent, TransformModule, TransformSelectComponent };\n","import * as i0 from '@angular/core';\nimport { forwardRef, Component, Input, NgModule } from '@angular/core';\nimport * as i1 from '@angular/forms';\nimport { NG_VALUE_ACCESSOR, NG_VALIDATORS, ReactiveFormsModule, FormsModule } from '@angular/forms';\nimport { BehaviorSubject, of } from 'rxjs';\nimport { map, debounceTime, switchMap } from 'rxjs/operators';\nimport * as qs from 'qs';\nimport * as i2 from '@rollthecloudinc/attributes';\nimport * as i3 from '@angular/material/legacy-form-field';\nimport * as i4 from '@angular/material/legacy-input';\nimport * as i5 from '@rollthecloudinc/dparam';\nimport { Param, DparamModule } from '@rollthecloudinc/dparam';\nimport { CommonModule } from '@angular/common';\nimport { MaterialModule } from '@rollthecloudinc/material';\nimport * as i3$1 from '@rollthecloudinc/context';\nimport { ContextModule } from '@rollthecloudinc/context';\nimport * as i1$1 from '@rollthecloudinc/datasource';\nimport { DatasourcePlugin, Dataset, DatasourceEditorOptions } from '@rollthecloudinc/datasource';\nimport * as i2$1 from '@rollthecloudinc/refinery';\nimport { DataductPlugin, DuctdataOutput } from '@rollthecloudinc/refinery';\nimport { ContentBinding } from '@rollthecloudinc/content';\nimport * as i5$1 from '@rollthecloudinc/durl';\nimport * as i6 from '@ngrx/data';\n\nclass EntityDataSourceFormComponent {\n set settings(settings) {\n this.settings$.next(settings);\n }\n constructor(fb, attributeSerializer) {\n this.fb = fb;\n this.attributeSerializer = attributeSerializer;\n this.contexts = [];\n this.settings$ = new BehaviorSubject(undefined);\n this.paramValues$ = new BehaviorSubject([]);\n this.formGroup = this.fb.group({\n entityName: this.fb.control(''),\n queryString: this.fb.control(''),\n params: this.fb.control([])\n });\n this.settingsSub = this.settings$.pipe(map(s => s ? this.attributeSerializer.deserializeAsObject(s) : undefined)).subscribe(ds => {\n if (ds) {\n this.formGroup.get('entityName').setValue(ds.entityName);\n this.formGroup.get('queryString').setValue(ds.queryString);\n }\n else {\n this.formGroup.get('entityName').setValue('');\n this.formGroup.get('queryString').setValue('');\n }\n });\n this.queryStringChangeSub = this.formGroup.get('queryString').valueChanges.pipe(debounceTime(500)).subscribe(queryString => {\n const parsed = qs.parse('?' + queryString);\n this.paramsParsed = parsed;\n });\n this.onTouched = () => { };\n }\n ngOnInit() {\n }\n writeValue(val) {\n if (val) {\n this.formGroup.setValue(val, { emitEvent: false });\n }\n }\n registerOnChange(fn) {\n this.formGroup.valueChanges.subscribe(fn);\n }\n registerOnTouched(fn) {\n this.onTouched = fn;\n }\n setDisabledState(isDisabled) {\n if (isDisabled) {\n this.formGroup.disable();\n }\n else {\n this.formGroup.enable();\n }\n }\n validate(c) {\n return this.formGroup.valid ? null : this.formGroup.errors;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: EntityDataSourceFormComponent, deps: [{ token: i1.UntypedFormBuilder }, { token: i2.AttributeSerializerService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: EntityDataSourceFormComponent, selector: \"classifieds-ui-entity-datasource-form\", inputs: { contexts: \"contexts\", settings: \"settings\" }, providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => EntityDataSourceFormComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => EntityDataSourceFormComponent),\n multi: true\n },\n ], ngImport: i0, template: \"<div [formGroup]=\\\"formGroup\\\">\\n <div>\\n <mat-form-field>\\n <input matInput placeholder=\\\"Name\\\" formControlName=\\\"entityName\\\" required>\\n </mat-form-field>\\n </div>\\n <div>\\n <mat-form-field>\\n <input matInput placeholder=\\\"Query String\\\" formControlName=\\\"queryString\\\">\\n </mat-form-field>\\n </div>\\n <classifieds-ui-params-form formControlName=\\\"params\\\" [params]=\\\"paramsParsed\\\" [paramValues]=\\\"paramValues$.value\\\" [contexts]=\\\"contexts\\\"></classifieds-ui-params-form>\\n</div>\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i1.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1.RequiredValidator, selector: \":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]\", inputs: [\"required\"] }, { kind: \"directive\", type: i1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: i3.MatLegacyFormField, selector: \"mat-form-field\", inputs: [\"color\", \"appearance\", \"hideRequiredMarker\", \"hintLabel\", \"floatLabel\"], exportAs: [\"matFormField\"] }, { kind: \"directive\", type: i4.MatLegacyInput, selector: \"input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]\", exportAs: [\"matInput\"] }, { kind: \"component\", type: i5.ParamsFormComponent, selector: \"classifieds-ui-params-form\", inputs: [\"contexts\", \"params\", \"paramValues\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: EntityDataSourceFormComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-entity-datasource-form', providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => EntityDataSourceFormComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => EntityDataSourceFormComponent),\n multi: true\n },\n ], template: \"<div [formGroup]=\\\"formGroup\\\">\\n <div>\\n <mat-form-field>\\n <input matInput placeholder=\\\"Name\\\" formControlName=\\\"entityName\\\" required>\\n </mat-form-field>\\n </div>\\n <div>\\n <mat-form-field>\\n <input matInput placeholder=\\\"Query String\\\" formControlName=\\\"queryString\\\">\\n </mat-form-field>\\n </div>\\n <classifieds-ui-params-form formControlName=\\\"params\\\" [params]=\\\"paramsParsed\\\" [paramValues]=\\\"paramValues$.value\\\" [contexts]=\\\"contexts\\\"></classifieds-ui-params-form>\\n</div>\" }]\n }], ctorParameters: function () { return [{ type: i1.UntypedFormBuilder }, { type: i2.AttributeSerializerService }]; }, propDecorators: { contexts: [{\n type: Input\n }], settings: [{\n type: Input\n }] } });\n\nclass EntityDatasourceComponent {\n constructor(controlContainer) {\n this.controlContainer = controlContainer;\n this.settings = [];\n this.contexts = [];\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: EntityDatasourceComponent, deps: [{ token: i1.ControlContainer }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: EntityDatasourceComponent, selector: \"classifieds-ui-entity-datasource\", inputs: { settings: \"settings\", contexts: \"contexts\" }, ngImport: i0, template: `<ng-container [formGroup]=\"controlContainer.control\"><classifieds-ui-entity-datasource-form formControlName=\"settings\" [settings]=\"settings\" [contexts]=\"contexts\"></classifieds-ui-entity-datasource-form></ng-container>`, isInline: true, dependencies: [{ kind: \"directive\", type: i1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: EntityDataSourceFormComponent, selector: \"classifieds-ui-entity-datasource-form\", inputs: [\"contexts\", \"settings\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: EntityDatasourceComponent, decorators: [{\n type: Component,\n args: [{\n selector: 'classifieds-ui-entity-datasource',\n template: `<ng-container [formGroup]=\"controlContainer.control\"><classifieds-ui-entity-datasource-form formControlName=\"settings\" [settings]=\"settings\" [contexts]=\"contexts\"></classifieds-ui-entity-datasource-form></ng-container>`,\n }]\n }], ctorParameters: function () { return [{ type: i1.ControlContainer }]; }, propDecorators: { settings: [{\n type: Input\n }], contexts: [{\n type: Input\n }] } });\n\nclass EntityDatasource {\n constructor(data) {\n this.params = [];\n if (data) {\n this.entityName = data.entityName;\n this.queryString = data.queryString ? data.queryString : '';\n if (data.params && Array.isArray(data.params)) {\n this.params = data.params.map(p => new Param(p));\n }\n }\n }\n}\n\n// import { ParamContextExtractorService } from '@rollthecloudinc/context';\nconst entityDatasourcePluginFactory = (paramContextExtractor, attributeSerializer, urlGenerator, es) => {\n return new DatasourcePlugin({\n id: 'entity',\n title: 'Entity',\n editor: EntityDatasourceComponent,\n fetch: ({ settings, metadata }) => of(new Dataset()).pipe(map(() => attributeSerializer.deserializeAsObject(settings)), map(s => new EntityDatasource(s)), switchMap(e => urlGenerator.getUrl('?' + e.queryString, e.params, metadata).pipe(map(queryString => ({ e, queryString })))), map(({ e, queryString }) => ({ e, queryString: queryString.substr(1) })), switchMap(({ e, queryString }) => queryString && queryString !== '' ? es.getEntityCollectionService(e.entityName).getWithQuery(queryString) : es.getEntityCollectionService(e.entityName).getAll()), map(results => new Dataset({ results }))),\n editorOptions: () => of(new DatasourceEditorOptions({ fullscreen: true })),\n getBindings: ({ settings, metadata }) => of([]).pipe(map(() => attributeSerializer.deserializeAsObject(settings)), map(s => new EntityDatasource(s)), switchMap(ds => paramContextExtractor.extractContexts(ds.params)), map(contexts => contexts.map(id => new ContentBinding({ id, type: 'context' }))))\n });\n};\nconst entityDataductPluginFactory = () => new DataductPlugin({\n id: 'entity',\n title: 'Entity',\n editor: EntityDatasourceComponent,\n send: (input) => of(new DuctdataOutput({}))\n});\n\nclass DeityModule {\n constructor(dpm, ddpm, paramContextExtractor, attributeSerializer, urlGenerator, es) {\n dpm.register(entityDatasourcePluginFactory(paramContextExtractor, attributeSerializer, urlGenerator, es));\n ddpm.register(entityDataductPluginFactory());\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DeityModule, deps: [{ token: i1$1.DatasourcePluginManager }, { token: i2$1.DataductPluginManager }, { token: i3$1.ParamContextExtractorService }, { token: i2.AttributeSerializerService }, { token: i5$1.UrlGeneratorService }, { token: i6.EntityServices }], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: DeityModule, declarations: [EntityDatasourceComponent,\n EntityDataSourceFormComponent], imports: [CommonModule,\n ReactiveFormsModule,\n FormsModule,\n MaterialModule,\n ContextModule,\n DparamModule], exports: [EntityDatasourceComponent,\n EntityDataSourceFormComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DeityModule, imports: [CommonModule,\n ReactiveFormsModule,\n FormsModule,\n MaterialModule,\n ContextModule,\n DparamModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DeityModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [\n EntityDatasourceComponent,\n EntityDataSourceFormComponent\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n FormsModule,\n MaterialModule,\n ContextModule,\n DparamModule\n ],\n exports: [\n EntityDatasourceComponent,\n EntityDataSourceFormComponent\n ]\n }]\n }], ctorParameters: function () { return [{ type: i1$1.DatasourcePluginManager }, { type: i2$1.DataductPluginManager }, { type: i3$1.ParamContextExtractorService }, { type: i2.AttributeSerializerService }, { type: i5$1.UrlGeneratorService }, { type: i6.EntityServices }]; } });\n\n/*\n * Public API Surface of deity\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { DeityModule, EntityDataSourceFormComponent, EntityDatasource, EntityDatasourceComponent };\n","import { CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { forwardRef, Component, Input, NgModule } from '@angular/core';\nimport * as i1 from '@angular/forms';\nimport { NG_VALUE_ACCESSOR, NG_VALIDATORS, ReactiveFormsModule } from '@angular/forms';\nimport { MaterialModule } from '@rollthecloudinc/material';\nimport { InlineContext, ContextModule } from '@rollthecloudinc/context';\nimport * as i1$1 from '@rollthecloudinc/datasource';\nimport { DatasourcePlugin, Dataset, Datasource, DatasourceModule } from '@rollthecloudinc/datasource';\nimport { BehaviorSubject, of, forkJoin } from 'rxjs';\nimport { map, switchMap, take, defaultIfEmpty } from 'rxjs/operators';\nimport * as i2 from '@rollthecloudinc/attributes';\n\nclass LoopDatasourceFormComponent {\n set settings(settings) {\n this.settings$.next(settings);\n }\n constructor(fb) {\n this.fb = fb;\n this.contexts = [];\n this.settings$ = new BehaviorSubject(undefined);\n this.datasource$ = new BehaviorSubject(undefined);\n this.formGroup = this.fb.group({});\n /*settingsSub = this.settings$.pipe(\n map(s => s ? new CrudAdaptorDatasource (this.attributeSerializer.deserializeAsObject(s)) : undefined),\n tap(ds => setTimeout(() => this.datasource$.next(ds)))\n ).subscribe(ds => {\n if (ds) {\n this.formGroup.get('adaptorName').setValue(ds.adaptorName);\n this.formGroup.get('optionsString').setValue(ds.optionsString ? ds.optionsString : '');\n this.formGroup.get('paramsString').setValue(ds.paramsString ? ds.paramsString : '');\n } else {\n this.formGroup.get('adaptorName').setValue('');\n this.formGroup.get('optionsString').setValue('');\n this.formGroup.get('paramsString').setValue('');\n setTimeout(() => this.optionValues$.next([]), 2);\n setTimeout(() => this.optionValues$.next([]), 2);\n }\n });*/\n this.onTouched = () => { };\n }\n ngOnInit() {\n }\n writeValue(val) {\n if (val) {\n this.formGroup.setValue(val, { emitEvent: false });\n }\n }\n registerOnChange(fn) {\n this.formGroup.valueChanges.subscribe(fn);\n }\n registerOnTouched(fn) {\n this.onTouched = fn;\n }\n setDisabledState(isDisabled) {\n if (isDisabled) {\n this.formGroup.disable();\n }\n else {\n this.formGroup.enable();\n }\n }\n validate(c) {\n return this.formGroup.valid ? null : this.formGroup.errors;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: LoopDatasourceFormComponent, deps: [{ token: i1.UntypedFormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: LoopDatasourceFormComponent, selector: \"classifieds-ui-loop-datasource-form\", inputs: { contexts: \"contexts\", settings: \"settings\" }, providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => LoopDatasourceFormComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => LoopDatasourceFormComponent),\n multi: true\n },\n ], ngImport: i0, template: \"<div [formGroup]=\\\"formGroup\\\"></div>\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: LoopDatasourceFormComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-loop-datasource-form', providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => LoopDatasourceFormComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => LoopDatasourceFormComponent),\n multi: true\n },\n ], template: \"<div [formGroup]=\\\"formGroup\\\"></div>\" }]\n }], ctorParameters: function () { return [{ type: i1.UntypedFormBuilder }]; }, propDecorators: { contexts: [{\n type: Input\n }], settings: [{\n type: Input\n }] } });\n\nclass LoopDatasourceComponent {\n constructor(controlContainer) {\n this.controlContainer = controlContainer;\n this.settings = [];\n this.contexts = [];\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: LoopDatasourceComponent, deps: [{ token: i1.ControlContainer }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: LoopDatasourceComponent, selector: \"classifieds-ui-loop-datasource\", inputs: { settings: \"settings\", contexts: \"contexts\" }, ngImport: i0, template: `<ng-container [formGroup]=\"controlContainer.control\"><classifieds-ui-loop-datasource-form formControlName=\"settings\" [settings]=\"settings\" [contexts]=\"contexts\"></classifieds-ui-loop-datasource-form></ng-container>`, isInline: true, dependencies: [{ kind: \"directive\", type: i1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: LoopDatasourceFormComponent, selector: \"classifieds-ui-loop-datasource-form\", inputs: [\"contexts\", \"settings\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: LoopDatasourceComponent, decorators: [{\n type: Component,\n args: [{\n selector: 'classifieds-ui-loop-datasource',\n template: `<ng-container [formGroup]=\"controlContainer.control\"><classifieds-ui-loop-datasource-form formControlName=\"settings\" [settings]=\"settings\" [contexts]=\"contexts\"></classifieds-ui-loop-datasource-form></ng-container>`,\n }]\n }], ctorParameters: function () { return [{ type: i1.ControlContainer }]; }, propDecorators: { settings: [{\n type: Input\n }], contexts: [{\n type: Input\n }] } });\n\nclass LoopDatasource {\n constructor(data) {\n if (data) {\n }\n }\n}\n\nconst loopDatasourcePluginFactory = (attrbuteSerializer, datasourceEvaluator) => {\n return new DatasourcePlugin({\n id: 'loop',\n title: 'loop',\n editor: LoopDatasourceComponent,\n fetch: ({ settings, dataset, datasource, metadata, datasources }) => of(new Dataset()).pipe(map(() => attrbuteSerializer.deserializeAsObject(settings)), map(s => s ? new LoopDatasource(s) : undefined), switchMap(s => forkJoin(dataset ? dataset.results.map(row => datasourceEvaluator.evalDatasource({ datasource: new Datasource({ plugin: 'data', renderer: datasource.renderer, settings: attrbuteSerializer.serialize({ data: JSON.stringify(dataset.results) }, 'root').attributes }), datasources, metadata: new Map([...(metadata ? Array.from(metadata).filter(([k]) => k !== 'contexts') : []), ['contexts', [...(metadata.has('contexts') && Array.isArray(metadata.get('contexts')) ? metadata.get('contexts').filter(ctx => ctx.name !== '_root') : []), new InlineContext({ name: \"_root\", adaptor: 'data', data: row })]]]) }).pipe(take(1))) : []).pipe(map(sets => new Dataset({ results: sets.reduce((p, c) => [...p, ...c.results], []) })), defaultIfEmpty(new Dataset({ results: [] })))))\n });\n};\n\nclass LoopModule {\n constructor(dpm, attributeSerializer, datasourceEvaluator) {\n [\n loopDatasourcePluginFactory(attributeSerializer, datasourceEvaluator)\n ].forEach(p => dpm.register(p));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: LoopModule, deps: [{ token: i1$1.DatasourcePluginManager }, { token: i2.AttributeSerializerService }, { token: i1$1.DatasourceEvaluator }], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: LoopModule, declarations: [LoopDatasourceFormComponent,\n LoopDatasourceComponent], imports: [CommonModule,\n ReactiveFormsModule,\n MaterialModule,\n ContextModule,\n DatasourceModule], exports: [LoopDatasourceFormComponent,\n LoopDatasourceComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: LoopModule, imports: [CommonModule,\n ReactiveFormsModule,\n MaterialModule,\n ContextModule,\n DatasourceModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: LoopModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [\n LoopDatasourceFormComponent,\n LoopDatasourceComponent\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n MaterialModule,\n ContextModule,\n DatasourceModule\n ],\n exports: [\n LoopDatasourceFormComponent,\n LoopDatasourceComponent\n ]\n }]\n }], ctorParameters: function () { return [{ type: i1$1.DatasourcePluginManager }, { type: i2.AttributeSerializerService }, { type: i1$1.DatasourceEvaluator }]; } });\n\n/*\n * Public API Surface of loop\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { LoopDatasource, LoopDatasourceComponent, LoopDatasourceFormComponent, LoopModule };\n","import * as i3$2 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { Directive, forwardRef, Component, Input, Injectable, ViewChild, NgModule } from '@angular/core';\nimport * as i1 from '@angular/forms';\nimport { NG_VALUE_ACCESSOR, NG_VALIDATORS, Validators, UntypedFormControl, FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { MaterialModule } from '@rollthecloudinc/material';\nimport * as i1$1 from '@rollthecloudinc/dparam';\nimport { Param, DparamModule } from '@rollthecloudinc/dparam';\nimport { BehaviorSubject, Subject, combineLatest, of, map as map$1, switchMap, Observable } from 'rxjs';\nimport * as i2$1 from '@rollthecloudinc/plugin';\nimport { Plugin, BasePluginManager, PluginDef } from '@rollthecloudinc/plugin';\nimport { debounceTime, tap, filter, delay, map, switchMap as switchMap$1 } from 'rxjs/operators';\nimport * as qs from 'qs';\nimport * as i5 from '@angular/material/legacy-form-field';\nimport * as i3 from '@angular/material/legacy-input';\nimport * as i2 from '@rollthecloudinc/attributes';\nimport * as i3$1 from '@rollthecloudinc/utils';\nimport * as i4 from '@angular/material/legacy-core';\nimport * as i7 from '@angular/material/legacy-select';\nimport * as i2$2 from '@rollthecloudinc/token';\n\nclass ValidationPlugin extends Plugin {\n constructor(data) {\n super(data);\n if (data) {\n this.editor = data.editor;\n this.errorMessage = data.errorMessage;\n this.builder = data.builder;\n }\n }\n}\nclass ValidationValidator {\n constructor(data) {\n if (data) {\n this.name = data.name;\n this.validator = data.validator;\n this.overrideErrorMessage = data.overrideErrorMessage;\n if (data.paramSettings && typeof (data.paramSettings) !== 'string') {\n this.paramSettings = new ValidationValidatorSettings(data.paramSettings);\n }\n }\n }\n}\nclass ValidationValidatorSettings {\n constructor(data) {\n this.params = [];\n if (data) {\n this.paramsString = data.paramsString;\n if (data.params && Array.isArray(data.params)) {\n this.params = data.params.map(p => new Param(p));\n }\n }\n }\n}\nclass FormValidation {\n constructor(data) {\n if (data && Array.isArray(data.validators)) {\n this.validators = data.validators.map(v => new ValidationValidator(v));\n }\n }\n}\n\nclass ValidationRendererHostDirective {\n constructor(viewContainerRef) {\n this.viewContainerRef = viewContainerRef;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ValidationRendererHostDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: ValidationRendererHostDirective, selector: \"[druidValidationRendererHost]\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ValidationRendererHostDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[druidValidationRendererHost]'\n }]\n }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });\n\nclass ValidationParamsEditorFormComponent {\n set settings(settings) {\n this.settings$.next(settings);\n }\n constructor(fb) {\n this.fb = fb;\n this.contexts = [];\n this.settings$ = new BehaviorSubject(undefined);\n this.afterViewInit$ = new Subject();\n this.paramValues$ = new BehaviorSubject([]);\n this.formGroup = this.fb.group({\n paramsString: this.fb.control(''),\n params: this.fb.control([])\n });\n this.paramsStringChangeSub = this.formGroup.get('paramsString').valueChanges.pipe(debounceTime(500)).subscribe(paramsString => {\n const parsed = qs.parse('?' + paramsString);\n this.paramsParsed = parsed;\n });\n this.settingsSub = this.settings$.pipe(tap(s => {\n if (s) {\n this.formGroup.get('paramsString').setValue(s.paramsString ? s.paramsString : '');\n }\n })).subscribe();\n this.settingsParamsSub = combineLatest([\n this.settings$,\n this.formGroup.get('paramsString').valueChanges\n ]).pipe(filter(([s]) => s !== undefined), delay(1), tap(([s]) => this.paramValues$.next(s.params))).subscribe();\n this.onTouched = () => { };\n }\n writeValue(val) {\n if (val) {\n this.formGroup.setValue(val, { emitEvent: false });\n }\n }\n registerOnChange(fn) {\n this.formGroup.valueChanges.subscribe(fn);\n }\n registerOnTouched(fn) {\n this.onTouched = fn;\n }\n setDisabledState(isDisabled) {\n if (isDisabled) {\n this.formGroup.disable();\n }\n else {\n this.formGroup.enable();\n }\n }\n validate(c) {\n return this.formGroup.valid ? null : this.formGroup.errors;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ValidationParamsEditorFormComponent, deps: [{ token: i1.UntypedFormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: ValidationParamsEditorFormComponent, selector: \"druid-ordain-validation-params-editor-form\", inputs: { contexts: \"contexts\", settings: \"settings\" }, providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => ValidationParamsEditorFormComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => ValidationParamsEditorFormComponent),\n multi: true\n },\n ], ngImport: i0, template: \"<div [formGroup]=\\\"formGroup\\\">\\n <div class=\\\"params-container\\\">\\n <div>\\n <mat-form-field>\\n <input matInput placeholder=\\\"Params\\\" formControlName=\\\"paramsString\\\">\\n </mat-form-field>\\n </div>\\n <classifieds-ui-params-form formControlName=\\\"params\\\" [params]=\\\"paramsParsed\\\" [paramValues]=\\\"paramValues$.value\\\" [contexts]=\\\"contexts\\\"></classifieds-ui-params-form>\\n </div>\\n</div>\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i1.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: i5.MatLegacyFormField, selector: \"mat-form-field\", inputs: [\"color\", \"appearance\", \"hideRequiredMarker\", \"hintLabel\", \"floatLabel\"], exportAs: [\"matFormField\"] }, { kind: \"directive\", type: i3.MatLegacyInput, selector: \"input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]\", exportAs: [\"matInput\"] }, { kind: \"component\", type: i1$1.ParamsFormComponent, selector: \"classifieds-ui-params-form\", inputs: [\"contexts\", \"params\", \"paramValues\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ValidationParamsEditorFormComponent, decorators: [{\n type: Component,\n args: [{ selector: 'druid-ordain-validation-params-editor-form', providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => ValidationParamsEditorFormComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => ValidationParamsEditorFormComponent),\n multi: true\n },\n ], template: \"<div [formGroup]=\\\"formGroup\\\">\\n <div class=\\\"params-container\\\">\\n <div>\\n <mat-form-field>\\n <input matInput placeholder=\\\"Params\\\" formControlName=\\\"paramsString\\\">\\n </mat-form-field>\\n </div>\\n <classifieds-ui-params-form formControlName=\\\"params\\\" [params]=\\\"paramsParsed\\\" [paramValues]=\\\"paramValues$.value\\\" [contexts]=\\\"contexts\\\"></classifieds-ui-params-form>\\n </div>\\n</div>\" }]\n }], ctorParameters: function () { return [{ type: i1.UntypedFormBuilder }]; }, propDecorators: { contexts: [{\n type: Input\n }], settings: [{\n type: Input\n }] } });\n\nclass ValidationParamsEditorComponent {\n constructor(controlContainer) {\n this.controlContainer = controlContainer;\n this.settings = [];\n this.contexts = [];\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ValidationParamsEditorComponent, deps: [{ token: i1.ControlContainer }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: ValidationParamsEditorComponent, selector: \"druid-ordain-validation-params-editor\", inputs: { settings: \"settings\", contexts: \"contexts\" }, ngImport: i0, template: `<ng-container [formGroup]=\"controlContainer.control\"><druid-ordain-validation-params-editor-form formControlName=\"paramSettings\" [settings]=\"settings\" [contexts]=\"contexts\"></druid-ordain-validation-params-editor-form></ng-container>`, isInline: true, dependencies: [{ kind: \"directive\", type: i1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: ValidationParamsEditorFormComponent, selector: \"druid-ordain-validation-params-editor-form\", inputs: [\"contexts\", \"settings\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ValidationParamsEditorComponent, decorators: [{\n type: Component,\n args: [{\n selector: 'druid-ordain-validation-params-editor',\n template: `<ng-container [formGroup]=\"controlContainer.control\"><druid-ordain-validation-params-editor-form formControlName=\"paramSettings\" [settings]=\"settings\" [contexts]=\"contexts\"></druid-ordain-validation-params-editor-form></ng-container>`,\n }]\n }], ctorParameters: function () { return [{ type: i1.ControlContainer }]; }, propDecorators: { settings: [{\n type: Input\n }], contexts: [{\n type: Input\n }] } });\n\nclass CoreValidationDiscovery {\n constructor(pluginManager, formsValidationUtils) {\n this.pluginManager = pluginManager;\n this.formsValidationUtils = formsValidationUtils;\n }\n loadPlugins(pluginDef, ids = []) {\n return of(false).pipe(tap(() => this.pluginManager.register(this.makeRequired())), tap(() => this.pluginManager.register(this.makeRequiredTrue())), tap(() => {\n this.pluginManager.register(this.makeMin());\n this.pluginManager.register(this.makeMax());\n this.pluginManager.register(this.makeMinLength());\n this.pluginManager.register(this.makeMaxLength());\n }), map(() => this.pluginManager.register(this.makeEmail())), map(() => this.pluginManager.register(this.makePattern())), map(() => this.pluginManager.register(this.nullValidator())), map(() => true));\n }\n makeRequired() {\n return new ValidationPlugin({ id: 'required', title: 'Required', errorMessage: 'Field is required', editor: ValidationParamsEditorComponent, builder: ({ serialized }) => of((c) => of(Validators.required(this.formsValidationUtils.rebuildControl({ c, serialized })))) });\n }\n makeRequiredTrue() {\n return new ValidationPlugin({ id: 'required_true', title: 'Required True', errorMessage: 'Field is required', editor: ValidationParamsEditorComponent, builder: ({ serialized }) => of((c) => of(Validators.requiredTrue(this.formsValidationUtils.rebuildControl({ c, serialized })))) });\n }\n makeEmail() {\n return new ValidationPlugin({ id: 'email', title: 'Email', errorMessage: 'Invalid email', editor: ValidationParamsEditorComponent, builder: ({ serialized }) => of((c) => of(Validators.email(this.formsValidationUtils.rebuildControl({ c, serialized })))) });\n }\n nullValidator() {\n return new ValidationPlugin({ id: 'null', title: 'Null', errorMessage: 'nota', editor: ValidationParamsEditorComponent, builder: ({ serialized }) => of((c) => of(Validators.nullValidator(this.formsValidationUtils.rebuildControl({ c, serialized })))) });\n }\n makeMin() {\n return new ValidationPlugin({\n id: 'min',\n title: 'Min',\n errorMessage: 'Field min [.min]',\n editor: ValidationParamsEditorComponent,\n builder: ({ v, serialized }) => of((c) => this.formsValidationUtils.resolveParams({ v }).pipe(map(p => Validators.min(+(p.min))(this.formsValidationUtils.rebuildControl({ c, serialized })))))\n });\n }\n makeMax() {\n return new ValidationPlugin({\n id: 'max',\n title: 'Max',\n errorMessage: 'Field max [.max]',\n editor: ValidationParamsEditorComponent,\n builder: ({ v, serialized }) => of((c) => this.formsValidationUtils.resolveParams({ v }).pipe(map(p => Validators.max(+(p.max))(this.formsValidationUtils.rebuildControl({ c, serialized })))))\n });\n }\n makeMinLength() {\n return new ValidationPlugin({\n id: 'min_length',\n title: 'Min Length',\n errorMessage: 'minimum of [.min] characters',\n editor: ValidationParamsEditorComponent,\n builder: ({ v, serialized }) => of((c) => this.formsValidationUtils.resolveParams({ v }).pipe(map(p => Validators.minLength(+(p.minLength))(this.formsValidationUtils.rebuildControl({ c, serialized })))))\n });\n }\n makeMaxLength() {\n return new ValidationPlugin({\n id: 'max_length',\n title: 'Max Length',\n errorMessage: 'Maximum of [.max] characters',\n editor: ValidationParamsEditorComponent,\n builder: ({ v, serialized }) => of((c) => this.formsValidationUtils.resolveParams({ v }).pipe(map(p => Validators.maxLength(+(p.maxLength))(this.formsValidationUtils.rebuildControl({ c, serialized })))))\n });\n }\n makePattern() {\n return new ValidationPlugin({\n id: 'pattern',\n title: 'Pattern',\n errorMessage: 'Must match pattern',\n editor: ValidationParamsEditorComponent,\n builder: ({ v, serialized }) => of((c) => this.formsValidationUtils.resolveParams({ v }).pipe(map(p => Validators.pattern((new RegExp(p.pattern)))(this.formsValidationUtils.rebuildControl({ c, serialized })))))\n });\n }\n}\n\nclass FormsValidationUtils {\n constructor(paramEvaluatorService, attributesSerializerService) {\n this.paramEvaluatorService = paramEvaluatorService;\n this.attributesSerializerService = attributesSerializerService;\n }\n resolveParams({ v }) {\n return of({}).pipe(map$1(() => ({ paramNames: v.paramSettings.paramsString ? v.paramSettings.paramsString.split('&').filter(v => v.indexOf('=:') !== -1).map(v => v.split('=', 2)[1].substr(1)) : [] })), switchMap(({ paramNames }) => this.paramEvaluatorService.paramValues(v.paramSettings.params.reduce((p, c, i) => new Map([...p, [paramNames[i], c]]), new Map())).pipe(map$1(params => Array.from(params).reduce((p, [k, v]) => ({ ...p, [k]: v }), {})))));\n }\n rebuildControl({ c, serialized }) {\n return serialized ? new UntypedFormControl(this.attributesSerializerService.deserializeAsObject(c.value).value) : c;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormsValidationUtils, deps: [{ token: i1$1.ParamEvaluatorService }, { token: i2.AttributeSerializerService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormsValidationUtils, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormsValidationUtils, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: i1$1.ParamEvaluatorService }, { type: i2.AttributeSerializerService }]; } });\n\nclass ValidationPluginManager extends BasePluginManager {\n constructor(formsValidationUtils, pcm, moduleLoader) {\n super(pcm, moduleLoader);\n this.addDiscovery(new CoreValidationDiscovery(this, formsValidationUtils));\n }\n pluginDef() {\n return of(new PluginDef({ name: 'validation' }));\n }\n discovery() {\n super.discovery();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ValidationPluginManager, deps: [{ token: FormsValidationUtils }, { token: i2$1.PluginConfigurationManager }, { token: i3$1.ModuleLoaderService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ValidationPluginManager, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ValidationPluginManager, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: FormsValidationUtils }, { type: i2$1.PluginConfigurationManager }, { type: i3$1.ModuleLoaderService }]; } });\n\nclass ValidationValidatorComponent {\n set validation(v) {\n this.validation$.next(v);\n }\n constructor(fb, vpm, componentFactoryResolver) {\n this.fb = fb;\n this.vpm = vpm;\n this.componentFactoryResolver = componentFactoryResolver;\n this.contexts = [];\n this.settings$ = new BehaviorSubject(undefined);\n this.formGroup = this.fb.group({\n name: this.fb.control('', [Validators.required]),\n validator: this.fb.control('', [Validators.required]),\n overrideErrorMessage: this.fb.control(''),\n paramSettings: this.fb.control('')\n });\n this.validationPlugins$ = this.vpm.getPlugins();\n this.componentRef$ = new BehaviorSubject(undefined);\n this.afterViewInit$ = new Subject();\n this.onInit$ = new Subject();\n this.validation$ = new BehaviorSubject(undefined);\n this.validatorChangeSub = this.formGroup.get('validator').valueChanges.pipe(tap(v => {\n console.log('validator change', v);\n })).subscribe();\n this.validatorSub = combineLatest([\n this.formGroup.get('validator').valueChanges,\n this.afterViewInit$\n ]).pipe(map(([v]) => v), switchMap$1(v => v && v !== '' ? this.vpm.getPlugin(v) : of(undefined)), tap(v => {\n if (v) {\n this.renderValidation(v);\n }\n })).subscribe();\n this.validationSub = this.validation$.pipe(tap(v => {\n if (v) {\n this.formGroup.get('name').setValue(v.name);\n this.formGroup.get('validator').setValue(v.validator);\n this.formGroup.get('overrideErrorMessage').setValue(v.overrideErrorMessage);\n setTimeout(() => this.formGroup.get('paramSettings').setValue(v.paramSettings));\n }\n else {\n this.formGroup.get('name').setValue('');\n this.formGroup.get('overrideErrorMessage').setValue('');\n this.formGroup.get('validator').setValue('');\n }\n })).subscribe();\n /*validationSub = this.validation$.pipe(\n tap(v => {\n setTimeout(() => this.settings$.next(v && v.settings ? v.settings : undefined));\n })\n ).subscribe(v => {\n if (v) {\n this.formGroup.get('name').setValue(v.name);\n this.formGroup.get('validator').setValue(v.validator);\n } else {\n this.formGroup.get('name').setValue('');\n this.formGroup.get('validator').setValue('');\n }\n });*/\n this.contextForwardingSub = this.componentRef$.pipe(filter(componentRef => !!componentRef)).subscribe(componentRef => {\n componentRef.instance.contexts = this.contexts;\n componentRef.instance.settings = this.validation$.value ? this.validation$.value.paramSettings : undefined;\n });\n this.onTouched = () => { };\n }\n ngOnInit() {\n this.onInit$.next(undefined);\n this.onInit$.complete();\n }\n ngAfterViewInit() {\n this.afterViewInit$.next(undefined);\n this.afterViewInit$.complete();\n }\n writeValue(val) {\n if (val) {\n this.formGroup.setValue({ ...val, settings: val.settings ? val.settings : '' }, { emitEvent: false });\n }\n }\n registerOnChange(fn) {\n this.formGroup.valueChanges.subscribe(fn);\n }\n registerOnTouched(fn) {\n this.onTouched = fn;\n }\n setDisabledState(isDisabled) {\n if (isDisabled) {\n this.formGroup.disable();\n }\n else {\n this.formGroup.enable();\n }\n }\n validate(c) {\n return this.formGroup.valid ? null : { invalidForm: { valid: false, message: \"content is invalid\" } };\n }\n renderValidation(plugin) {\n const componentFactory = this.componentFactoryResolver.resolveComponentFactory(plugin.editor);\n const viewContainerRef = this.validationHost.viewContainerRef;\n viewContainerRef.clear();\n this.componentRef$.next(viewContainerRef.createComponent(componentFactory));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ValidationValidatorComponent, deps: [{ token: i1.UntypedFormBuilder }, { token: ValidationPluginManager }, { token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: ValidationValidatorComponent, selector: \"druid-ordain-validation-validator\", inputs: { contexts: \"contexts\", validation: \"validation\" }, providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => ValidationValidatorComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => ValidationValidatorComponent),\n multi: true\n },\n ], viewQueries: [{ propertyName: \"validationHost\", first: true, predicate: ValidationRendererHostDirective, descendants: true, static: true }], ngImport: i0, template: \"<div [formGroup]=\\\"formGroup\\\">\\n <div>\\n <mat-form-field>\\n <mat-label>Name</mat-label>\\n <input matInput type=\\\"text\\\" formControlName=\\\"name\\\">\\n </mat-form-field>\\n <mat-form-field>\\n <mat-label>Validator</mat-label>\\n <mat-select required formControlName=\\\"validator\\\">\\n <mat-option *ngFor=\\\"let vp of ((validationPlugins$ | async) | keyvalue); let i = index\\\" [value]=\\\"vp.value.id\\\">{{ vp.value.title }}</mat-option>\\n </mat-select>\\n </mat-form-field>\\n <mat-form-field>\\n <mat-label>Error Message</mat-label>\\n <input matInput type=\\\"text\\\" formControlName=\\\"overrideErrorMessage\\\">\\n </mat-form-field>\\n </div>\\n <ng-container><ng-template druidValidationRendererHost></ng-template></ng-container>\\n</div>\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i3$2.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i1.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1.RequiredValidator, selector: \":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]\", inputs: [\"required\"] }, { kind: \"directive\", type: i1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: i4.MatLegacyOption, selector: \"mat-option\", exportAs: [\"matOption\"] }, { kind: \"component\", type: i5.MatLegacyFormField, selector: \"mat-form-field\", inputs: [\"color\", \"appearance\", \"hideRequiredMarker\", \"hintLabel\", \"floatLabel\"], exportAs: [\"matFormField\"] }, { kind: \"directive\", type: i5.MatLegacyLabel, selector: \"mat-label\" }, { kind: \"directive\", type: i3.MatLegacyInput, selector: \"input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]\", exportAs: [\"matInput\"] }, { kind: \"component\", type: i7.MatLegacySelect, selector: \"mat-select\", inputs: [\"disabled\", \"disableRipple\", \"tabIndex\"], exportAs: [\"matSelect\"] }, { kind: \"directive\", type: ValidationRendererHostDirective, selector: \"[druidValidationRendererHost]\" }, { kind: \"pipe\", type: i3$2.AsyncPipe, name: \"async\" }, { kind: \"pipe\", type: i3$2.KeyValuePipe, name: \"keyvalue\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ValidationValidatorComponent, decorators: [{\n type: Component,\n args: [{ selector: 'druid-ordain-validation-validator', providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => ValidationValidatorComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => ValidationValidatorComponent),\n multi: true\n },\n ], template: \"<div [formGroup]=\\\"formGroup\\\">\\n <div>\\n <mat-form-field>\\n <mat-label>Name</mat-label>\\n <input matInput type=\\\"text\\\" formControlName=\\\"name\\\">\\n </mat-form-field>\\n <mat-form-field>\\n <mat-label>Validator</mat-label>\\n <mat-select required formControlName=\\\"validator\\\">\\n <mat-option *ngFor=\\\"let vp of ((validationPlugins$ | async) | keyvalue); let i = index\\\" [value]=\\\"vp.value.id\\\">{{ vp.value.title }}</mat-option>\\n </mat-select>\\n </mat-form-field>\\n <mat-form-field>\\n <mat-label>Error Message</mat-label>\\n <input matInput type=\\\"text\\\" formControlName=\\\"overrideErrorMessage\\\">\\n </mat-form-field>\\n </div>\\n <ng-container><ng-template druidValidationRendererHost></ng-template></ng-container>\\n</div>\" }]\n }], ctorParameters: function () { return [{ type: i1.UntypedFormBuilder }, { type: ValidationPluginManager }, { type: i0.ComponentFactoryResolver }]; }, propDecorators: { validationHost: [{\n type: ViewChild,\n args: [ValidationRendererHostDirective, { static: true }]\n }], contexts: [{\n type: Input\n }], validation: [{\n type: Input\n }] } });\n\nclass ValidationEditorComponent {\n set validation(v) {\n this.validation$.next(v);\n }\n get validators() {\n return this.formGroup.get('validators');\n }\n constructor(fb) {\n this.fb = fb;\n this.formGroup = this.fb.group({\n validators: this.fb.array([])\n });\n this.addValidator$ = new Subject();\n this.deleteValidator$ = new Subject();\n this.afterViewInit$ = new Subject();\n this.validation$ = new BehaviorSubject(new FormValidation({ validators: [] }));\n this.addValidatorSub = this.addValidator$.pipe(tap(() => {\n this.validators.push(this.fb.control(''));\n })).subscribe();\n this.deleteValidatorSub = this.deleteValidator$.pipe(tap(index => {\n this.validation$.value.validators.splice(index, 1);\n this.validators.removeAt(index);\n })).subscribe();\n this.validationSub = combineLatest([\n this.validation$,\n this.afterViewInit$\n ]).pipe(map(([v]) => v), filter(validation => validation.validators.length !== 0), tap(validation => {\n this.validators.clear();\n validation.validators.forEach((v, i) => {\n this.validators.push(this.fb.control(''));\n });\n })).subscribe();\n this.onTouched = () => { };\n }\n ngAfterViewInit() {\n this.afterViewInit$.next(undefined);\n this.afterViewInit$.complete();\n }\n writeValue(val) {\n if (val) {\n this.formGroup.setValue(val, { emitEvent: false });\n }\n }\n registerOnChange(fn) {\n this.formGroup.valueChanges.subscribe(fn);\n }\n registerOnTouched(fn) {\n this.onTouched = fn;\n }\n setDisabledState(isDisabled) {\n if (isDisabled) {\n this.formGroup.disable();\n }\n else {\n this.formGroup.enable();\n }\n }\n validate(c) {\n return this.formGroup.valid ? null : { invalidForm: { valid: false, message: \"content is invalid\" } };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ValidationEditorComponent, deps: [{ token: i1.UntypedFormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: ValidationEditorComponent, selector: \"druid-ordain-validation-editor\", inputs: { validation: \"validation\" }, providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => ValidationEditorComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => ValidationEditorComponent),\n multi: true\n },\n ], ngImport: i0, template: \"<div [formGroup]=\\\"formGroup\\\">\\n <div formArrayName=\\\"validators\\\">\\n <div *ngFor=\\\"let _ of validators.controls; let i = index\\\">\\n <druid-ordain-validation-validator [formControlName]=\\\"i\\\" [validation]=\\\"validation$.value.validators[i]\\\"></druid-ordain-validation-validator>\\n <button type=\\\"button\\\" (click)=\\\"deleteValidator$.next(i)\\\">Delete</button>\\n </div>\\n </div>\\n</div>\\n<button type=\\\"button\\\" (click)=\\\"addValidator$.next(undefined)\\\">Add Validator</button>\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i3$2.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"directive\", type: i1.FormArrayName, selector: \"[formArrayName]\", inputs: [\"formArrayName\"] }, { kind: \"component\", type: ValidationValidatorComponent, selector: \"druid-ordain-validation-validator\", inputs: [\"contexts\", \"validation\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ValidationEditorComponent, decorators: [{\n type: Component,\n args: [{ selector: 'druid-ordain-validation-editor', providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => ValidationEditorComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => ValidationEditorComponent),\n multi: true\n },\n ], template: \"<div [formGroup]=\\\"formGroup\\\">\\n <div formArrayName=\\\"validators\\\">\\n <div *ngFor=\\\"let _ of validators.controls; let i = index\\\">\\n <druid-ordain-validation-validator [formControlName]=\\\"i\\\" [validation]=\\\"validation$.value.validators[i]\\\"></druid-ordain-validation-validator>\\n <button type=\\\"button\\\" (click)=\\\"deleteValidator$.next(i)\\\">Delete</button>\\n </div>\\n </div>\\n</div>\\n<button type=\\\"button\\\" (click)=\\\"addValidator$.next(undefined)\\\">Add Validator</button>\" }]\n }], ctorParameters: function () { return [{ type: i1.UntypedFormBuilder }]; }, propDecorators: { validation: [{\n type: Input\n }] } });\n\nclass DefaultValidationError {\n set validators(validators) {\n this.validators$.next(validators);\n }\n set errors(errors) {\n this.errors$.next(errors);\n }\n set resolvedContext(resolvedContext) {\n this.resolvedContext$.next(resolvedContext);\n }\n constructor(vpm, tokenizerService) {\n this.vpm = vpm;\n this.tokenizerService = tokenizerService;\n this.validators$ = new BehaviorSubject([]);\n this.errors$ = new BehaviorSubject(null);\n this.message$ = new BehaviorSubject('Field is invalid');\n this.resolvedContext$ = new BehaviorSubject(undefined);\n this.messageSub = combineLatest([\n this.validators$,\n this.errors$,\n this.resolvedContext$\n ]).pipe(filter(([_, errors]) => errors !== null && Object.keys(errors).length !== 0), map(([validators, errors]) => {\n const [k] = Object.keys(errors);\n const v = validators.find(v => v.validator === k);\n return { k, v, e: errors[k] };\n }), switchMap$1(({ k, v, e }) => this.vpm.getPlugin(v.validator).pipe(map(p => ({ k, v, p, e })))), switchMap$1(({ k, v, p, e }) => this.resolveContexts({ errors: e }).pipe(map(t => ({ k, v, p, t })))), tap(({ p, t, v }) => {\n const replacedTokens = this.replaceTokens({ message: v.overrideErrorMessage && v.overrideErrorMessage !== '' ? v.overrideErrorMessage : p.errorMessage, tokens: t });\n this.message$.next(replacedTokens);\n })).subscribe();\n }\n replaceTokens({ message, tokens }) {\n if (tokens !== undefined) {\n tokens.forEach((value, key) => {\n message = message.split(`[${key}]`).join(`${value}`);\n });\n }\n return message;\n }\n resolveContexts({ errors }) {\n return new Observable(obs => {\n let tokens = new Map(this.tokenizerService.generateGenericTokens(errors, ''));\n if (this.resolvedContext$.value) {\n for (const name in this.resolvedContext$.value) {\n tokens = new Map([...tokens, ...this.tokenizerService.generateGenericTokens(this.resolvedContext$.value[name], name === '_root' ? '' : name)]);\n }\n }\n obs.next(tokens);\n obs.complete();\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DefaultValidationError, deps: [{ token: ValidationPluginManager }, { token: i2$2.TokenizerService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: DefaultValidationError, selector: \"druid-ordain-default-validation-error\", inputs: { validators: \"validators\", errors: \"errors\", resolvedContext: \"resolvedContext\" }, ngImport: i0, template: \"{{ message$.value }}\", styles: [\"\"] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DefaultValidationError, decorators: [{\n type: Component,\n args: [{ selector: 'druid-ordain-default-validation-error', template: \"{{ message$.value }}\" }]\n }], ctorParameters: function () { return [{ type: ValidationPluginManager }, { type: i2$2.TokenizerService }]; }, propDecorators: { validators: [{\n type: Input\n }], errors: [{\n type: Input\n }], resolvedContext: [{\n type: Input\n }] } });\n\nclass OrdainModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: OrdainModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: OrdainModule, declarations: [ValidationEditorComponent,\n ValidationValidatorComponent,\n ValidationRendererHostDirective,\n ValidationParamsEditorComponent,\n ValidationParamsEditorFormComponent,\n DefaultValidationError], imports: [CommonModule,\n FormsModule,\n ReactiveFormsModule,\n MaterialModule,\n DparamModule], exports: [ValidationEditorComponent,\n ValidationParamsEditorComponent,\n DefaultValidationError] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: OrdainModule, imports: [CommonModule,\n FormsModule,\n ReactiveFormsModule,\n MaterialModule,\n DparamModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: OrdainModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [\n ValidationEditorComponent,\n ValidationValidatorComponent,\n ValidationRendererHostDirective,\n ValidationParamsEditorComponent,\n ValidationParamsEditorFormComponent,\n DefaultValidationError\n ],\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n MaterialModule,\n DparamModule\n ],\n exports: [\n ValidationEditorComponent,\n ValidationParamsEditorComponent,\n DefaultValidationError\n ]\n }]\n }] });\n\n/*\n * Public API Surface of ordain\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { DefaultValidationError, FormValidation, OrdainModule, ValidationEditorComponent, ValidationParamsEditorComponent, ValidationPlugin, ValidationPluginManager, ValidationValidator, ValidationValidatorSettings };\n","import * as i7 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { Injectable, Directive, Input, Component, Inject, NgModule } from '@angular/core';\nimport * as i6 from '@angular/forms';\nimport { UntypedFormControl, FormsModule as FormsModule$1, ReactiveFormsModule } from '@angular/forms';\nimport { MaterialModule } from '@rollthecloudinc/material';\nimport * as i1$2 from '@rollthecloudinc/content';\nimport { ContentBinding, ContentPluginEditorOptions, ContentPlugin } from '@rollthecloudinc/content';\nimport * as i11 from '@rollthecloudinc/datasource';\nimport { DatasourceOptions, SelectOption, Dataset, mockDatasourceOptions, DatasourceModule } from '@rollthecloudinc/datasource';\nimport * as i5 from '@rollthecloudinc/ordain';\nimport { FormValidation, OrdainModule } from '@rollthecloudinc/ordain';\nimport { of, Subject, tap, ReplaySubject, take, BehaviorSubject, combineLatest, forkJoin, iif, mergeMap, map as map$1, filter, switchMap as switchMap$1 } from 'rxjs';\nimport { switchMap, map, tap as tap$1, defaultIfEmpty, take as take$1, debounceTime, distinctUntilChanged, withLatestFrom } from 'rxjs/operators';\nimport * as uuid from 'uuid';\nimport * as i1 from '@rollthecloudinc/attributes';\nimport { JSONPath } from 'jsonpath-plus';\nimport * as i3 from '@rollthecloudinc/token';\nimport * as i2 from '@rollthecloudinc/panels';\nimport { PanelPageForm, Pane, StylePlugin } from '@rollthecloudinc/panels';\nimport { getDiff } from 'recursive-diff';\nimport * as i8 from '@angular/material/legacy-form-field';\nimport * as i9 from '@angular/material/legacy-input';\nimport * as i8$1 from '@angular/material/legacy-core';\nimport * as i10 from '@angular/material/legacy-select';\nimport * as i4 from '@rollthecloudinc/render';\nimport { RenderModule } from '@rollthecloudinc/render';\nimport * as i1$1 from '@angular/material/legacy-dialog';\nimport { MAT_LEGACY_DIALOG_DATA } from '@angular/material/legacy-dialog';\nimport * as i7$1 from '@angular/material/legacy-button';\nimport * as i8$2 from '@angular/material/legacy-radio';\nimport * as i7$2 from '@angular/material/legacy-slider';\nimport * as i7$3 from '@angular/material/legacy-slide-toggle';\nimport * as i7$4 from '@angular/material/legacy-checkbox';\nimport * as i7$5 from '@angular/material/datepicker';\nimport { Param, Mapping } from '@rollthecloudinc/dparam';\nimport * as i8$3 from '@angular/material/legacy-autocomplete';\nimport * as i3$1 from '@rollthecloudinc/media';\nimport { MediaFile } from '@rollthecloudinc/media';\nimport * as i9$1 from 'ngx-dropzone';\nimport { NgxDropzoneModule } from 'ngx-dropzone';\n\nclass FormSettings {\n constructor(data) {\n if (data) {\n this.value = data.value ? data.value : '';\n if (data.datasourceBinding && typeof (data.datasourceBinding) === 'object') {\n this.datasourceBinding = new ContentBinding(data.datasourceBinding);\n }\n if (data.datasourceOptions && typeof (data.datasourceOptions) === 'object') {\n this.datasourceOptions = new DatasourceOptions(data.datasourceOptions);\n }\n if (data.validation) {\n this.validation = new FormValidation(data.validation);\n }\n }\n }\n}\nclass FormSectionForm {\n constructor(data) {\n if (data) {\n this.valuesMapping = data.valuesMapping;\n }\n }\n}\n\nclass OptionsResolverService {\n constructor(tokenizerService, datasourceContentHandler, panelResolver, attributeSerializer) {\n this.tokenizerService = tokenizerService;\n this.datasourceContentHandler = datasourceContentHandler;\n this.panelResolver = panelResolver;\n this.attributeSerializer = attributeSerializer;\n }\n resolveElementOptions(instance, metadata) {\n return of(instance).pipe(switchMap(i => {\n if (i.datasourceBinding && i.datasourceBinding.id && i.datasourceBinding.id !== '' /*&& i.type !== 'autocomplete'*/) {\n const dataPane = metadata.has('panes') ? metadata.get('panes').find(p => p.name === i.datasourceBinding.id) : undefined;\n return this.panelResolver.dataPanes(metadata.get('panes')).pipe(switchMap(dataPanes => dataPane ? this.datasourceContentHandler.fetchDynamicData(dataPane.settings, new Map([...metadata, ['dataPanes', dataPanes]])) : of([])), map(d => [i, d.results]));\n }\n else {\n return of([i, []]);\n }\n }), map(([i, d]) => [i, i.datasourceOptions && i.datasourceOptions.query !== '' ? JSONPath({ path: i.datasourceOptions.query, json: d }) : d]), switchMap(([i, d]) => this.mapDataOptions(i, d)));\n }\n mapDataOptions(instance, data) {\n return of([instance, data]).pipe(map(([i, d]) => [i, d, d ? d.map(r => this.tokenizerService.generateGenericTokens(r)) : []]), map(([i, d, tokens]) => tokens.map(t => this.mapDataItem(i, t))));\n }\n mapDataItem(instance, tokens) {\n return new SelectOption({\n value: this.tokenizerService.replaceTokens(`${instance.datasourceOptions.valueMapping}`, tokens),\n label: this.tokenizerService.replaceTokens(`${instance.datasourceOptions.labelMapping}`, tokens),\n dataItem: undefined\n // display: this.tokenizerService.replaceTokens(`${instance.datasourceOptions.labelMapping}`, tokens)\n });\n }\n hasDataOptions(instance) {\n return instance.datasourceBinding && instance.datasourceBinding.id && instance.datasourceBinding.id !== '';\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: OptionsResolverService, deps: [{ token: i3.TokenizerService }, { token: i2.DatasourceContentHandler }, { token: i2.PanelResolverService }, { token: i1.AttributeSerializerService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: OptionsResolverService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: OptionsResolverService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: i3.TokenizerService }, { type: i2.DatasourceContentHandler }, { type: i2.PanelResolverService }, { type: i1.AttributeSerializerService }]; } });\n\nclass FormsContextHelperService {\n constructor(tokenizerService) {\n this.tokenizerService = tokenizerService;\n this.cachedResolvedContexts = [];\n this.scheduleResolution$ = new Subject();\n this.scheduleResolutionSub = this.scheduleResolution$.pipe(tap(({ resolvedContext, index }) => {\n let tokens = new Map();\n if (resolvedContext) {\n for (const name in resolvedContext) {\n // PanelPageForm results in infinite recursion.\n // This could ne analyzed but reallu the panel page form isn't needed anyway here.\n if (!(resolvedContext[name] instanceof PanelPageForm)) {\n tokens = new Map([...tokens, ...this.tokenizerService.generateGenericTokens(resolvedContext[name], name === '_root' ? '' : name)]);\n }\n }\n }\n this.cachedResolvedContexts[index].resolution$.next(tokens);\n })).subscribe();\n }\n resolveContexts({ resolvedContext }) {\n let cachedIndex = this.cachedResolvedContexts.findIndex(({ rContext }) => {\n const diff = getDiff(rContext, resolvedContext);\n return diff.length === 0;\n });\n if (cachedIndex === -1) {\n console.log('resolved context no cache', resolvedContext);\n cachedIndex = this.cachedResolvedContexts.length;\n this.cachedResolvedContexts.push({ rContext: resolvedContext, resolution$: new ReplaySubject() });\n this.scheduleResolution$.next({ resolvedContext, index: cachedIndex });\n }\n else {\n console.log('resolved context cache hit', resolvedContext);\n }\n return this.cachedResolvedContexts[cachedIndex].resolution$.pipe(take(1));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormsContextHelperService, deps: [{ token: i3.TokenizerService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormsContextHelperService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormsContextHelperService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: i3.TokenizerService }]; } });\n\nclass FormElementBase {\n set settings(settings) {\n this.settings$.next(settings);\n }\n set panes(panes) {\n this.panes$.next(panes);\n }\n set originPanes(originPanes) {\n this.originPanes$.next(originPanes);\n }\n set contexts(contexts) {\n this.contexts$.next(contexts);\n }\n set resolvedContext(resolvedContext) {\n this.resolvedContext$.next(resolvedContext);\n }\n constructor(attributeSerializer, optionsResolver, tokenizerService, formsContextHelper, vpm, controlContainer) {\n this.attributeSerializer = attributeSerializer;\n this.optionsResolver = optionsResolver;\n this.tokenizerService = tokenizerService;\n this.formsContextHelper = formsContextHelper;\n this.vpm = vpm;\n this.controlContainer = controlContainer;\n this.formControl = new UntypedFormControl('');\n this.formControlValueChangesSub = this.formControl.valueChanges.pipe(tap$1(value => console.log('serialized form value', this.attributeSerializer.serialize(value, 'value'))), tap$1(value => this.controlContainer.control.get('settings').setValue([this.attributeSerializer.serialize(value, 'value')]))).subscribe();\n /*private readonly formControlStatusChangesSub = this.formControl.statusChanges.pipe(\n //distinctUntilChanged(),\n //tap(() => this.controlContainer.control.get('settings').setErrors(this.formControl.errors)),\n ).subscribe();*/\n this.formSettings$ = new BehaviorSubject(undefined);\n this.settings$ = new BehaviorSubject([]);\n this.options$ = new BehaviorSubject([]);\n this.init$ = new Subject();\n this.afterViewInit$ = new Subject();\n this.panes$ = new BehaviorSubject([]);\n this.originPanes$ = new BehaviorSubject([]);\n this.contexts$ = new BehaviorSubject([]);\n this.resolvedContext$ = new BehaviorSubject(undefined);\n this.value$ = new Subject();\n this.settingsSub = this.settings$.pipe(map(settings => settings ? this.settingsToObject(this.attributeSerializer.deserializeAsObject(settings)) : undefined), tap$1(s => this.formSettings$.next(s))).subscribe();\n this.loadOptionsSub = combineLatest([\n this.formSettings$,\n this.panes$,\n this.originPanes$,\n this.contexts$,\n this.init$\n ]).pipe(map(([settings, panes, originPanes, contexts]) => ({ settings, metadata: new Map([['panes', [...(panes && Array.isArray(panes) ? panes : []), ...(originPanes && Array.isArray(originPanes) ? originPanes : [])]], ['contexts', contexts]]) })), switchMap(({ settings, metadata }) => this.optionsResolver.resolveElementOptions(settings, metadata)), tap$1(options => this.options$.next(options))).subscribe();\n this.renderContentSub = combineLatest([\n this.formSettings$,\n this.resolvedContext$,\n this.afterViewInit$\n ]).pipe(map(([settings, resolvedContext]) => ({ settings, resolvedContext })), switchMap(({ settings, resolvedContext }) => this.formsContextHelper.resolveContexts({ resolvedContext }).pipe(map(tokens => ({ settings, tokens })))), switchMap(({ settings, tokens }) => forkJoin(settings.validation && settings.validation.validators ? settings.validation.validators.map(v => this.vpm.getPlugin(v.validator).pipe(switchMap(p => p.builder({ v, serialized: false }).pipe(map(vf => ({ v, vf })))))) : []).pipe(map(validators => ({ settings, tokens, validators })), defaultIfEmpty({ settings, tokens, validators: [] }))), switchMap(({ settings, tokens, validators }) => forkJoin(settings.validation && settings.validation.validators ? settings.validation.validators.map(v => this.vpm.getPlugin(v.validator).pipe(switchMap(p => p.builder({ v, serialized: true }).pipe(map(vf => ({ v, vf })))))) : []).pipe(map(validatorsSerialized => ({ settings, tokens, validators, validatorsSerialized })), defaultIfEmpty({ settings, tokens, validators, validatorsSerialized: [] }))), tap$1(({ settings, tokens, validators, validatorsSerialized }) => {\n this.formControl.setAsyncValidators(validators.map(({ vf }) => vf));\n this.controlContainer.control.get('settings').setAsyncValidators(validatorsSerialized.map(({ vf }) => vf));\n this.formControl.updateValueAndValidity();\n this.controlContainer.control.updateValueAndValidity();\n if (tokens !== undefined) {\n this.tokens = tokens;\n }\n if (settings.value && settings.value !== null && settings.value !== '') {\n if (settings.value.indexOf('.$i.') !== -1 || settings.value.indexOf('.$j.') !== -1 || settings.value.indexOf('.$k.') !== -1) {\n console.log(settings.value, this.ancestory);\n }\n const pieces = settings.value.split('$i');\n const replacements = pieces.map((_, i) => this.ancestory[(i * 1) + (3 + (i === 0 ? 0 : 3))]);\n // const path = s.valuesMapping.replace('[$i]', `[${this.ancestory[this.ancestory.length - 4]}]`);\n const path = pieces.reduce((prev, c, i) => [...prev, (i === 0 ? '' : (i - 1) < replacements.length ? `${replacements[(i - 1)]}` : ''), c], []).join('');\n console.log('path', path);\n // const value = this.replaceTokens(settings.value.replace('.$i.', `.${this.ancestory[this.ancestory.length - 3]}.`));\n const value = this.replaceTokens(path);\n this.formControl.setValue(value);\n const extraTokens = this.tokenizerService.discoverTokens(value, true);\n if (extraTokens.length !== 0) {\n if (extraTokens[0].trim().lastIndexOf('.id') === extraTokens[0].trim().length - 3) {\n const id = uuid.v4();\n this.formControl.setValue(id);\n this.value$.next(id);\n } /*else if (extraTokens[0].trim().lastIndexOf('.user') === extraTokens[0].trim().length - 5) {\n this.formControl.setValue('{{ _user.username }}');\n }*/\n else {\n const properties = Array.from(tokens).filter(([k]) => k.indexOf(path.substr(1, path.length - 2)) === 0);\n if (properties.length !== 0) {\n // Only suppports single depth at the moment.\n // This is a simple solution to supporting media files.\n const object = properties.reduce((p, [k, v]) => ({ ...p, [k.substr(k.lastIndexOf('.') + 1)]: v }), {});\n this.formControl.setValue(object);\n this.value$.next(object);\n }\n else {\n const v = this.tokenizerService.replaceTokens(settings.value, new Map(Array.from(extraTokens).map(k => [k, ''])));\n this.formControl.setValue(v);\n this.value$.next(v);\n }\n }\n }\n else {\n this.value$.next(value);\n }\n }\n else {\n this.formControl.setValue('');\n }\n }), take$1(1)).subscribe();\n }\n ngOnInit() {\n this.init$.next(undefined);\n }\n ngAfterViewInit() {\n this.afterViewInit$.next(undefined);\n }\n settingsToObject(s) {\n return new FormSettings(s);\n }\n replaceTokens(v) {\n if (this.tokens !== undefined) {\n this.tokens.forEach((value, key) => {\n v = v.split(`[${key}]`).join(`${value}`);\n });\n }\n return v;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormElementBase, deps: [{ token: i1.AttributeSerializerService }, { token: OptionsResolverService }, { token: i3.TokenizerService }, { token: FormsContextHelperService }, { token: i5.ValidationPluginManager }, { token: i6.ControlContainer }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: FormElementBase, selector: \"[druid-forms-form-element-base]\", inputs: { tokens: \"tokens\", settings: \"settings\", panes: \"panes\", originPanes: \"originPanes\", contexts: \"contexts\", resolvedContext: \"resolvedContext\", ancestory: \"ancestory\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormElementBase, decorators: [{\n type: Directive,\n args: [{\n selector: '[druid-forms-form-element-base]'\n }]\n }], ctorParameters: function () { return [{ type: i1.AttributeSerializerService }, { type: OptionsResolverService }, { type: i3.TokenizerService }, { type: FormsContextHelperService }, { type: i5.ValidationPluginManager }, { type: i6.ControlContainer }]; }, propDecorators: { tokens: [{\n type: Input\n }], settings: [{\n type: Input\n }], panes: [{\n type: Input\n }], originPanes: [{\n type: Input\n }], contexts: [{\n type: Input\n }], resolvedContext: [{\n type: Input\n }], ancestory: [{\n type: Input\n }] } });\n\nclass FormInputComponent extends FormElementBase {\n constructor(attributeSerializer, optionsResolverService, tokenizerService, formsContextHelper, vpm, controlContainer) {\n super(attributeSerializer, optionsResolverService, tokenizerService, formsContextHelper, vpm, controlContainer);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormInputComponent, deps: [{ token: i1.AttributeSerializerService }, { token: OptionsResolverService }, { token: i3.TokenizerService }, { token: FormsContextHelperService }, { token: i5.ValidationPluginManager }, { token: i6.ControlContainer }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: FormInputComponent, selector: \"druid-forms-form-input\", usesInheritance: true, ngImport: i0, template: \"<mat-form-field>\\n <input matInput [formControl]=\\\"formControl\\\">\\n <mat-error *ngIf=\\\"formControl.invalid\\\">\\n <druid-ordain-default-validation-error [validators]=\\\"formSettings$.value?.validation?.validators\\\" [errors]=\\\"formControl.errors\\\" [resolvedContext]=\\\"resolvedContext$.value\\\"></druid-ordain-default-validation-error>\\n </mat-error>\\n</mat-form-field>\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i7.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i6.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i6.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i6.FormControlDirective, selector: \"[formControl]\", inputs: [\"formControl\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i8.MatLegacyError, selector: \"mat-error\", inputs: [\"id\"] }, { kind: \"component\", type: i8.MatLegacyFormField, selector: \"mat-form-field\", inputs: [\"color\", \"appearance\", \"hideRequiredMarker\", \"hintLabel\", \"floatLabel\"], exportAs: [\"matFormField\"] }, { kind: \"directive\", type: i9.MatLegacyInput, selector: \"input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]\", exportAs: [\"matInput\"] }, { kind: \"component\", type: i5.DefaultValidationError, selector: \"druid-ordain-default-validation-error\", inputs: [\"validators\", \"errors\", \"resolvedContext\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormInputComponent, decorators: [{\n type: Component,\n args: [{ selector: 'druid-forms-form-input', template: \"<mat-form-field>\\n <input matInput [formControl]=\\\"formControl\\\">\\n <mat-error *ngIf=\\\"formControl.invalid\\\">\\n <druid-ordain-default-validation-error [validators]=\\\"formSettings$.value?.validation?.validators\\\" [errors]=\\\"formControl.errors\\\" [resolvedContext]=\\\"resolvedContext$.value\\\"></druid-ordain-default-validation-error>\\n </mat-error>\\n</mat-form-field>\" }]\n }], ctorParameters: function () { return [{ type: i1.AttributeSerializerService }, { type: OptionsResolverService }, { type: i3.TokenizerService }, { type: FormsContextHelperService }, { type: i5.ValidationPluginManager }, { type: i6.ControlContainer }]; } });\n\nclass FormSelectComponent extends FormElementBase {\n constructor(attributeSerializer, optionsResolverService, tokenizerService, formsContextHelper, vpm, controlContainer) {\n super(attributeSerializer, optionsResolverService, tokenizerService, formsContextHelper, vpm, controlContainer);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormSelectComponent, deps: [{ token: i1.AttributeSerializerService }, { token: OptionsResolverService }, { token: i3.TokenizerService }, { token: FormsContextHelperService }, { token: i5.ValidationPluginManager }, { token: i6.ControlContainer }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: FormSelectComponent, selector: \"druid-forms-form-select\", usesInheritance: true, ngImport: i0, template: \"<mat-form-field>\\n <mat-select [formControl]=\\\"formControl\\\">\\n <mat-option *ngFor=\\\"let opt of (options$ | async); let i = index\\\" [value]=\\\"opt.value\\\">{{ opt.label }}</mat-option>\\n </mat-select>\\n</mat-form-field>\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i7.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i6.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i6.FormControlDirective, selector: \"[formControl]\", inputs: [\"formControl\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"], exportAs: [\"ngForm\"] }, { kind: \"component\", type: i8$1.MatLegacyOption, selector: \"mat-option\", exportAs: [\"matOption\"] }, { kind: \"component\", type: i8.MatLegacyFormField, selector: \"mat-form-field\", inputs: [\"color\", \"appearance\", \"hideRequiredMarker\", \"hintLabel\", \"floatLabel\"], exportAs: [\"matFormField\"] }, { kind: \"component\", type: i10.MatLegacySelect, selector: \"mat-select\", inputs: [\"disabled\", \"disableRipple\", \"tabIndex\"], exportAs: [\"matSelect\"] }, { kind: \"pipe\", type: i7.AsyncPipe, name: \"async\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormSelectComponent, decorators: [{\n type: Component,\n args: [{ selector: 'druid-forms-form-select', template: \"<mat-form-field>\\n <mat-select [formControl]=\\\"formControl\\\">\\n <mat-option *ngFor=\\\"let opt of (options$ | async); let i = index\\\" [value]=\\\"opt.value\\\">{{ opt.label }}</mat-option>\\n </mat-select>\\n</mat-form-field>\" }]\n }], ctorParameters: function () { return [{ type: i1.AttributeSerializerService }, { type: OptionsResolverService }, { type: i3.TokenizerService }, { type: FormsContextHelperService }, { type: i5.ValidationPluginManager }, { type: i6.ControlContainer }]; } });\n\nclass FormSectionComponent {\n set settings(settings) {\n this.settings$.next(settings);\n }\n set resolvedContext(resolvedContext) {\n this.resolvedContext$.next(resolvedContext);\n }\n set panel(panel) {\n this.panel$.next(panel);\n }\n get panesFormArray() {\n return this.controlContainer.control.get('panes');\n }\n constructor(attributeSerializer, fb, controlContainer) {\n this.attributeSerializer = attributeSerializer;\n this.fb = fb;\n this.controlContainer = controlContainer;\n this.panes = [];\n this.originMappings = [];\n this.ancestory = [];\n this.add$ = new Subject();\n this.remove$ = new Subject();\n this.panes$ = new BehaviorSubject([]);\n this.settings$ = new Subject();\n this.resolvedContext$ = new Subject();\n this.panel$ = new Subject();\n this.afterViewInit$ = new Subject();\n this.addSub = this.add$.pipe(map(() => new Pane(this.panes[0])), tap$1(() => this.panesFormArray.push(this.fb.control(''))), tap$1(paneCopy => this.panes.push(paneCopy))).subscribe();\n this.removeSub = this.remove$.pipe(tap$1(index => this.panesFormArray.removeAt(index)), tap$1(index => this.panes.splice(index, 1))).subscribe();\n this.populateDefaultValues = combineLatest([\n this.settings$.pipe(map(s => s ? new FormSectionForm(this.attributeSerializer.deserializeAsObject(s)) : undefined)),\n this.resolvedContext$,\n this.panel$,\n this.afterViewInit$\n ]).pipe(map(([s, rc, p]) => ({ s, rc, p })), tap$1(({ s }) => console.log(s.valuesMapping, this.ancestory)), map(({ s, rc, p }) => {\n if (rc && s && s.valuesMapping && s.valuesMapping.trim() !== '') {\n const pieces = s.valuesMapping.split('[$i]');\n const replacements = pieces.map((_, i) => this.ancestory[(i * 1) + 3]);\n // const path = s.valuesMapping.replace('[$i]', `[${this.ancestory[this.ancestory.length - 4]}]`);\n const path = pieces.reduce((prev, c, i) => [...prev, (i === 0 ? '' : (i - 1) < replacements.length ? `[${replacements[(i - 1)]}]` : ''), c], []).join('');\n console.log('path', path);\n const items = JSONPath({ path: `$.${path}.*`, json: rc });\n return { items, s, p };\n }\n else {\n return { items: [], p };\n }\n }), tap$1(({ items }) => {\n const len = items.length - this.panesFormArray.length;\n for (let i = 0; i < len; i++) {\n this.add$.next(undefined);\n }\n })).subscribe();\n }\n ngOnInit() {\n }\n ngAfterViewInit() {\n this.afterViewInit$.next(undefined);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormSectionComponent, deps: [{ token: i1.AttributeSerializerService }, { token: i6.UntypedFormBuilder }, { token: i6.ControlContainer }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: FormSectionComponent, selector: \"classifieds-ui-form-section\", inputs: { panes: \"panes\", originPanes: \"originPanes\", originMappings: \"originMappings\", ancestory: \"ancestory\", settings: \"settings\", resolvedContext: \"resolvedContext\", panel: \"panel\" }, ngImport: i0, template: \"<ng-container [formGroup]=\\\"controlContainer.control\\\">\\n <ng-container formArrayName=\\\"panes\\\">\\n <div *ngFor=\\\"let pane of panes; let i = index\\\">\\n <classifieds-ui-render-pane [formControlName]=\\\"i\\\" [pluginName]=\\\"pane.contentPlugin\\\" [settings]=\\\"pane.settings\\\" [name]=\\\"pane.name\\\" [label]=\\\"pane.label\\\" [contexts]=\\\"pane.contexts\\\" [panes]=\\\"panes\\\" [resolvedContext]=\\\"pane.resolvedContext\\\" [indexPosition]=\\\"i\\\" [ancestory]=\\\"ancestory\\\"></classifieds-ui-render-pane>\\n <button type=\\\"button\\\" (click)=\\\"remove$.next(i)\\\">Remove</button>\\n </div>\\n </ng-container>\\n</ng-container>\\n<button type=\\\"button\\\" (click)=\\\"add$.next(undefined)\\\">Add Item</button>\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i7.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i6.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i6.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i6.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i6.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"directive\", type: i6.FormArrayName, selector: \"[formArrayName]\", inputs: [\"formArrayName\"] }, { kind: \"component\", type: i4.RenderPaneComponent, selector: \"classifieds-ui-render-pane\", inputs: [\"pluginName\", \"settings\", \"linkedPageId\", \"contexts\", \"originPane\", \"displayType\", \"name\", \"label\", \"indexPosition\", \"ancestory\", \"panes\", \"originPanes\", \"resolvedContext\", \"css\", \"listeners\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormSectionComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-form-section', template: \"<ng-container [formGroup]=\\\"controlContainer.control\\\">\\n <ng-container formArrayName=\\\"panes\\\">\\n <div *ngFor=\\\"let pane of panes; let i = index\\\">\\n <classifieds-ui-render-pane [formControlName]=\\\"i\\\" [pluginName]=\\\"pane.contentPlugin\\\" [settings]=\\\"pane.settings\\\" [name]=\\\"pane.name\\\" [label]=\\\"pane.label\\\" [contexts]=\\\"pane.contexts\\\" [panes]=\\\"panes\\\" [resolvedContext]=\\\"pane.resolvedContext\\\" [indexPosition]=\\\"i\\\" [ancestory]=\\\"ancestory\\\"></classifieds-ui-render-pane>\\n <button type=\\\"button\\\" (click)=\\\"remove$.next(i)\\\">Remove</button>\\n </div>\\n </ng-container>\\n</ng-container>\\n<button type=\\\"button\\\" (click)=\\\"add$.next(undefined)\\\">Add Item</button>\" }]\n }], ctorParameters: function () { return [{ type: i1.AttributeSerializerService }, { type: i6.UntypedFormBuilder }, { type: i6.ControlContainer }]; }, propDecorators: { panes: [{\n type: Input\n }], originPanes: [{\n type: Input\n }], originMappings: [{\n type: Input\n }], ancestory: [{\n type: Input\n }], settings: [{\n type: Input\n }], resolvedContext: [{\n type: Input\n }], panel: [{\n type: Input\n }] } });\n\nclass FormTextareaComponent extends FormElementBase {\n constructor(attributeSerializer, optionsResolverService, tokenizerService, formsContextHelper, vpm, controlContainer) {\n super(attributeSerializer, optionsResolverService, tokenizerService, formsContextHelper, vpm, controlContainer);\n this.cols = 20;\n this.rows = 20;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormTextareaComponent, deps: [{ token: i1.AttributeSerializerService }, { token: OptionsResolverService }, { token: i3.TokenizerService }, { token: FormsContextHelperService }, { token: i5.ValidationPluginManager }, { token: i6.ControlContainer }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: FormTextareaComponent, selector: \"druid-forms-form-textarea\", usesInheritance: true, ngImport: i0, template: \"<textarea [formControl]=\\\"formControl\\\" [cols]=\\\"cols\\\" [rows]=\\\"rows\\\"></textarea>\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i6.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i6.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i6.FormControlDirective, selector: \"[formControl]\", inputs: [\"formControl\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"], exportAs: [\"ngForm\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormTextareaComponent, decorators: [{\n type: Component,\n args: [{ selector: 'druid-forms-form-textarea', template: \"<textarea [formControl]=\\\"formControl\\\" [cols]=\\\"cols\\\" [rows]=\\\"rows\\\"></textarea>\" }]\n }], ctorParameters: function () { return [{ type: i1.AttributeSerializerService }, { type: OptionsResolverService }, { type: i3.TokenizerService }, { type: FormsContextHelperService }, { type: i5.ValidationPluginManager }, { type: i6.ControlContainer }]; } });\n\nclass AbstractFormContentHandler {\n constructor(attributeSerializer) {\n this.attributeSerializer = attributeSerializer;\n }\n handleFile(file) {\n return of([]);\n }\n handlesType(type) {\n return false;\n }\n implementsRendererOverride() {\n return false;\n }\n hasRendererOverride(settings) {\n return of(false);\n }\n isDynamic(settings) {\n return false;\n }\n isData(settings) {\n return false;\n }\n getBindings(settings, type, metadata) {\n // return of([ new ContentBinding({ id: 'ad', type: 'context' }) ]);\n // return of([]);\n if (type === 'pane') {\n return this.toObject(settings).pipe(switchMap(i => iif(() => i.datasourceBinding && i.datasourceBinding.id && i.datasourceBinding.id !== null, of([i.datasourceBinding]), of([]))));\n }\n else if (type === 'context') {\n // Needs to include datasource panes bindings as well.\n /*return this.toObject(settings).pipe(\n map(i => ({ i, dsPane: metadata && i.datasourceBinding && i.datasourceBinding.id && i.datasourceBinding.id !== null ? (metadata.get('dataPanes') as Array<Pane>).find(p => p.name === i.datasourceBinding.id) : undefined })),\n switchMap(({ dsPane }) => iif(\n () => !!dsPane,\n this.datasourceHandler.toObject(dsPane.settings).pipe(\n switchMap(bindedDatasource => iif(\n // Params from rest need to be hoisted into the datasource - this is a legacy work-around new datasources will have params in datasource object not nested.\n () => bindedDatasource.plugin === 'rest',\n of(this.attributeSerializer.deserializeAsObject(bindedDatasource.settings)).pipe(\n map(bSettings => ({ bindedDatasource: new Datasource({ ...bindedDatasource, params: bSettings.params }) }))\n ),\n of({ bindedDatasource })\n )),\n map(({ bindedDatasource }) => ({ dsPane: new Pane({ ...dsPane, settings: this.attributeSerializer.serialize(bindedDatasource, 'root').attributes }) })),\n ),\n of({ dsPane })\n )),\n switchMap(({ dsPane }) => iif(\n () => !!dsPane,\n dsPane ? this.datasourceHandler.getBindings(dsPane.settings, type, metadata) : of([]),\n of([])\n )),\n tap(bindings => console.log('formly field context bindings', bindings))\n );*/\n return of([]);\n }\n else {\n return of([]);\n }\n }\n fetchDynamicData(settings, metadata) {\n return of(new Dataset());\n }\n buildDynamicItems(settings, metadata) {\n return of([]);\n }\n toObject(settings) {\n return of(new FormSettings(this.attributeSerializer.deserializeAsObject(settings)));\n }\n buildSettings(instance) {\n return this.attributeSerializer.serialize(instance, 'root').attributes;\n }\n stateDefinition(settings) {\n return of({ autocomplete: { input: '' }, value: undefined });\n }\n editorOptions(settings) {\n return of(new ContentPluginEditorOptions());\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AbstractFormContentHandler, deps: [{ token: i1.AttributeSerializerService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AbstractFormContentHandler }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AbstractFormContentHandler, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: i1.AttributeSerializerService }]; } });\n\nclass FormElementHandler extends AbstractFormContentHandler {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormElementHandler, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormElementHandler, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormElementHandler, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }] });\n\nclass FormElementEditorComponent {\n get paneGroup() {\n return this.data.panelFormGroup.get('panes').at(this.paneIndex);\n }\n constructor(data, dialogRef, fb, handler, attributeSerializer) {\n this.data = data;\n this.dialogRef = dialogRef;\n this.fb = fb;\n this.handler = handler;\n this.attributeSerializer = attributeSerializer;\n // contexts: Array<InlineContext>;\n // rest = mockRest;\n this.datasourceOptions = mockDatasourceOptions;\n this.validation = new FormValidation({ validators: [] });\n this.bindableOptions = [];\n this.formGroup = this.fb.group({\n // type: this.fb.control('', [ Validators.required ]),\n // key: this.fb.control('', [ Validators.required ]),\n value: this.fb.control(''),\n /*options: this.fb.group({\n label: this.fb.control('')\n }),*/\n // rest: this.fb.control(''),\n datasourceOptions: this.fb.control(''),\n validation: this.fb.control(''),\n datasourceBinding: this.fb.group({\n id: this.fb.control(''),\n type: this.fb.control('pane')\n })\n });\n // this.contexts = data.contexts;\n this.paneIndex = data.paneIndex;\n this.pane = data.pane;\n }\n ngOnInit() {\n if (this.data.pane) {\n this.handler.toObject(this.data.pane.settings).subscribe(i => {\n // this.formGroup.get('type').setValue(i.type);\n // this.formGroup.get('key').setValue(i.key);\n this.formGroup.get('value').setValue(i.value);\n // this.formGroup.get('options').setValue(i.options ? i.options : { label: '' });\n // this.rest = i.rest ? new Rest({ ...i.rest, params: [] }) : mockRest;\n this.datasourceOptions = i.datasourceOptions ? i.datasourceOptions : mockDatasourceOptions;\n this.validation = i.validation ? new FormValidation(i.validation) : new FormValidation({ validators: [] });\n // this.formGroup.get('datasourceOptions').setValue(i.datasourceOptions ? i.datasourceOptions : mockDatasourceOptions);\n this.formGroup.get('datasourceBinding').get('id').setValue(i.datasourceBinding && i.datasourceBinding.id && i.datasourceBinding.id !== null ? i.datasourceBinding.id : '');\n // setTimeout(() => this.rest = i.rest ? i.rest : mockRest);\n });\n }\n else {\n this.data.panelFormGroup.get('panes').push(this.fb.group({\n contentPlugin: this.data.plugin.id,\n name: new UntypedFormControl(''),\n label: new UntypedFormControl(''),\n rule: new UntypedFormControl(''),\n settings: this.fb.array([])\n }));\n this.paneIndex = this.data.panelFormGroup.get('panes').length - 1;\n this.pane = new Pane(this.data.panelFormGroup.get('panes').at(this.paneIndex).value);\n }\n this.bindableOptions = this.data.panelFormGroup.get('panes').controls.reduce((p, c) => (c.get('name').value ? [...p, c.get('name').value] : [...p]), []);\n // this.contexts = this.data.contexts.map(c => c.name);\n /*if (this.data.panelIndex !== undefined) {\n const settings = (this.data.panelFormGroup.get('panes') as FormArray).at(this.data.paneIndex).get('settings').value.map(s => new AttributeValue(s));\n this.datasourceHandler.toObject(settings).subscribe(ds => {\n this.datasource = ds;\n });\n }*/\n }\n submit() {\n console.log(this.formGroup.value);\n const instance = new FormSettings(this.formGroup.value);\n console.log(instance);\n // this.paneGroup.get('name').setValue(instance.key);\n // this.paneGroup.get('label').setValue(instance.key);\n this.paneGroup.get('settings').clear();\n const controls = this.handler.buildSettings(instance).map(s => this.attributeSerializer.convertToGroup(s));\n controls.forEach(c => this.paneGroup.get('settings').push(c));\n this.dialogRef.close();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormElementEditorComponent, deps: [{ token: MAT_LEGACY_DIALOG_DATA }, { token: i1$1.MatLegacyDialogRef }, { token: i6.UntypedFormBuilder }, { token: FormElementHandler }, { token: i1.AttributeSerializerService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: FormElementEditorComponent, selector: \"druid-forms-form-element-editor\", inputs: { bindableOptions: \"bindableOptions\" }, ngImport: i0, template: \"<form [formGroup]=\\\"formGroup\\\" (ngSubmit)=\\\"submit()\\\">\\n <mat-dialog-content fxLayout=\\\"column\\\">\\n <!-- <div>\\n <mat-form-field>\\n <input matInput placeholder=\\\"Key\\\" formControlName=\\\"key\\\" required>\\n </mat-form-field>\\n <mat-form-field formGroupName=\\\"options\\\">\\n <input matInput placeholder=\\\"label\\\" formControlName=\\\"label\\\">\\n </mat-form-field>\\n </div> -->\\n\\n <div>\\n <mat-form-field>\\n <mat-label>Value</mat-label>\\n <input matInput formControlName=\\\"value\\\">\\n </mat-form-field>\\n </div>\\n\\n <!-- <classifieds-ui-rest-source-form formControlName=\\\"rest\\\" [restSource]=\\\"rest\\\" [contexts]=\\\"contexts\\\"></classifieds-ui-rest-source-form> -->\\n\\n <mat-form-field formGroupName=\\\"datasourceBinding\\\">\\n <mat-label>Datasource</mat-label>\\n <mat-select required formControlName=\\\"id\\\">\\n <mat-option *ngFor=\\\"let bo of bindableOptions\\\" [value]=\\\"bo\\\">{{ bo }}</mat-option>\\n </mat-select>\\n </mat-form-field>\\n\\n <classifieds-ui-datasource-options formControlName=\\\"datasourceOptions\\\" [datasourceOptions]=\\\"datasourceOptions\\\"></classifieds-ui-datasource-options>\\n\\n <druid-ordain-validation-editor formControlName=\\\"validation\\\" [validation]=\\\"validation\\\"></druid-ordain-validation-editor>\\n\\n </mat-dialog-content>\\n <mat-dialog-actions>\\n <button type=\\\"submit\\\" mat-raised-button color=\\\"primary\\\" mat-dialog-close>Save</button>\\n </mat-dialog-actions>\\n</form>\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i7.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i6.ɵNgNoValidate, selector: \"form:not([ngNoForm]):not([ngNativeValidate])\" }, { kind: \"directive\", type: i6.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i6.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i6.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i6.RequiredValidator, selector: \":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]\", inputs: [\"required\"] }, { kind: \"directive\", type: i6.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i6.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"directive\", type: i6.FormGroupName, selector: \"[formGroupName]\", inputs: [\"formGroupName\"] }, { kind: \"component\", type: i8$1.MatLegacyOption, selector: \"mat-option\", exportAs: [\"matOption\"] }, { kind: \"component\", type: i7$1.MatLegacyButton, selector: \"button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]\", inputs: [\"disabled\", \"disableRipple\", \"color\"], exportAs: [\"matButton\"] }, { kind: \"directive\", type: i1$1.MatLegacyDialogClose, selector: \"[mat-dialog-close], [matDialogClose]\", inputs: [\"aria-label\", \"type\", \"mat-dialog-close\", \"matDialogClose\"], exportAs: [\"matDialogClose\"] }, { kind: \"directive\", type: i1$1.MatLegacyDialogContent, selector: \"[mat-dialog-content], mat-dialog-content, [matDialogContent]\" }, { kind: \"directive\", type: i1$1.MatLegacyDialogActions, selector: \"[mat-dialog-actions], mat-dialog-actions, [matDialogActions]\", inputs: [\"align\"] }, { kind: \"component\", type: i8.MatLegacyFormField, selector: \"mat-form-field\", inputs: [\"color\", \"appearance\", \"hideRequiredMarker\", \"hintLabel\", \"floatLabel\"], exportAs: [\"matFormField\"] }, { kind: \"directive\", type: i8.MatLegacyLabel, selector: \"mat-label\" }, { kind: \"directive\", type: i9.MatLegacyInput, selector: \"input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]\", exportAs: [\"matInput\"] }, { kind: \"component\", type: i10.MatLegacySelect, selector: \"mat-select\", inputs: [\"disabled\", \"disableRipple\", \"tabIndex\"], exportAs: [\"matSelect\"] }, { kind: \"component\", type: i11.DatasourceOptionsComponent, selector: \"classifieds-ui-datasource-options\", inputs: [\"datasourceOptions\"] }, { kind: \"component\", type: i5.ValidationEditorComponent, selector: \"druid-ordain-validation-editor\", inputs: [\"validation\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormElementEditorComponent, decorators: [{\n type: Component,\n args: [{ selector: 'druid-forms-form-element-editor', template: \"<form [formGroup]=\\\"formGroup\\\" (ngSubmit)=\\\"submit()\\\">\\n <mat-dialog-content fxLayout=\\\"column\\\">\\n <!-- <div>\\n <mat-form-field>\\n <input matInput placeholder=\\\"Key\\\" formControlName=\\\"key\\\" required>\\n </mat-form-field>\\n <mat-form-field formGroupName=\\\"options\\\">\\n <input matInput placeholder=\\\"label\\\" formControlName=\\\"label\\\">\\n </mat-form-field>\\n </div> -->\\n\\n <div>\\n <mat-form-field>\\n <mat-label>Value</mat-label>\\n <input matInput formControlName=\\\"value\\\">\\n </mat-form-field>\\n </div>\\n\\n <!-- <classifieds-ui-rest-source-form formControlName=\\\"rest\\\" [restSource]=\\\"rest\\\" [contexts]=\\\"contexts\\\"></classifieds-ui-rest-source-form> -->\\n\\n <mat-form-field formGroupName=\\\"datasourceBinding\\\">\\n <mat-label>Datasource</mat-label>\\n <mat-select required formControlName=\\\"id\\\">\\n <mat-option *ngFor=\\\"let bo of bindableOptions\\\" [value]=\\\"bo\\\">{{ bo }}</mat-option>\\n </mat-select>\\n </mat-form-field>\\n\\n <classifieds-ui-datasource-options formControlName=\\\"datasourceOptions\\\" [datasourceOptions]=\\\"datasourceOptions\\\"></classifieds-ui-datasource-options>\\n\\n <druid-ordain-validation-editor formControlName=\\\"validation\\\" [validation]=\\\"validation\\\"></druid-ordain-validation-editor>\\n\\n </mat-dialog-content>\\n <mat-dialog-actions>\\n <button type=\\\"submit\\\" mat-raised-button color=\\\"primary\\\" mat-dialog-close>Save</button>\\n </mat-dialog-actions>\\n</form>\" }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [MAT_LEGACY_DIALOG_DATA]\n }] }, { type: i1$1.MatLegacyDialogRef }, { type: i6.UntypedFormBuilder }, { type: FormElementHandler }, { type: i1.AttributeSerializerService }]; }, propDecorators: { bindableOptions: [{\n type: Input\n }] } });\n\nclass FormRadiogroupComponent extends FormElementBase {\n constructor(attributeSerializer, optionsResolverService, tokenizerService, formsContextHelper, vpm, controlContainer) {\n super(attributeSerializer, optionsResolverService, tokenizerService, formsContextHelper, vpm, controlContainer);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormRadiogroupComponent, deps: [{ token: i1.AttributeSerializerService }, { token: OptionsResolverService }, { token: i3.TokenizerService }, { token: FormsContextHelperService }, { token: i5.ValidationPluginManager }, { token: i6.ControlContainer }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: FormRadiogroupComponent, selector: \"druid-forms-form-radiogroup\", usesInheritance: true, ngImport: i0, template: \"<mat-radio-group [formControl]=\\\"formControl\\\">\\n <mat-radio-button *ngFor=\\\"let opt of (options$ | async); let i = index\\\" [value]=\\\"opt.value\\\">{{ opt.label }}</mat-radio-button>\\n</mat-radio-group>\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i7.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i6.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i6.FormControlDirective, selector: \"[formControl]\", inputs: [\"formControl\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i8$2.MatLegacyRadioGroup, selector: \"mat-radio-group\", exportAs: [\"matRadioGroup\"] }, { kind: \"component\", type: i8$2.MatLegacyRadioButton, selector: \"mat-radio-button\", inputs: [\"disableRipple\", \"tabIndex\"], exportAs: [\"matRadioButton\"] }, { kind: \"pipe\", type: i7.AsyncPipe, name: \"async\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormRadiogroupComponent, decorators: [{\n type: Component,\n args: [{ selector: 'druid-forms-form-radiogroup', template: \"<mat-radio-group [formControl]=\\\"formControl\\\">\\n <mat-radio-button *ngFor=\\\"let opt of (options$ | async); let i = index\\\" [value]=\\\"opt.value\\\">{{ opt.label }}</mat-radio-button>\\n</mat-radio-group>\" }]\n }], ctorParameters: function () { return [{ type: i1.AttributeSerializerService }, { type: OptionsResolverService }, { type: i3.TokenizerService }, { type: FormsContextHelperService }, { type: i5.ValidationPluginManager }, { type: i6.ControlContainer }]; } });\n\nclass FormSliderComponent extends FormElementBase {\n constructor(attributeSerializer, optionsResolverService, tokenizerService, formsContextHelper, vpm, controlContainer) {\n super(attributeSerializer, optionsResolverService, tokenizerService, formsContextHelper, vpm, controlContainer);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormSliderComponent, deps: [{ token: i1.AttributeSerializerService }, { token: OptionsResolverService }, { token: i3.TokenizerService }, { token: FormsContextHelperService }, { token: i5.ValidationPluginManager }, { token: i6.ControlContainer }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: FormSliderComponent, selector: \"druid-forms-form-slider\", usesInheritance: true, ngImport: i0, template: \"<mat-slider [formControl]=\\\"formControl\\\"></mat-slider>\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i6.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i6.FormControlDirective, selector: \"[formControl]\", inputs: [\"formControl\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"], exportAs: [\"ngForm\"] }, { kind: \"component\", type: i7$2.MatLegacySlider, selector: \"mat-slider\", inputs: [\"disabled\", \"color\", \"tabIndex\", \"invert\", \"max\", \"min\", \"step\", \"thumbLabel\", \"tickInterval\", \"value\", \"displayWith\", \"valueText\", \"vertical\"], outputs: [\"change\", \"input\", \"valueChange\"], exportAs: [\"matSlider\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormSliderComponent, decorators: [{\n type: Component,\n args: [{ selector: 'druid-forms-form-slider', template: \"<mat-slider [formControl]=\\\"formControl\\\"></mat-slider>\" }]\n }], ctorParameters: function () { return [{ type: i1.AttributeSerializerService }, { type: OptionsResolverService }, { type: i3.TokenizerService }, { type: FormsContextHelperService }, { type: i5.ValidationPluginManager }, { type: i6.ControlContainer }]; } });\n\nclass FormToggleComponent extends FormElementBase {\n constructor(attributeSerializer, optionsResolverService, tokenizerService, formsContextHelper, vpm, controlContainer) {\n super(attributeSerializer, optionsResolverService, tokenizerService, formsContextHelper, vpm, controlContainer);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormToggleComponent, deps: [{ token: i1.AttributeSerializerService }, { token: OptionsResolverService }, { token: i3.TokenizerService }, { token: FormsContextHelperService }, { token: i5.ValidationPluginManager }, { token: i6.ControlContainer }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: FormToggleComponent, selector: \"druid-forms-form-toggle\", usesInheritance: true, ngImport: i0, template: \"<mat-slide-toggle [formControl]=\\\"formControl\\\">Toggle Label</mat-slide-toggle>\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i6.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i6.FormControlDirective, selector: \"[formControl]\", inputs: [\"formControl\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"], exportAs: [\"ngForm\"] }, { kind: \"component\", type: i7$3.MatLegacySlideToggle, selector: \"mat-slide-toggle\", inputs: [\"disabled\", \"disableRipple\", \"color\", \"tabIndex\"], exportAs: [\"matSlideToggle\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormToggleComponent, decorators: [{\n type: Component,\n args: [{ selector: 'druid-forms-form-toggle', template: \"<mat-slide-toggle [formControl]=\\\"formControl\\\">Toggle Label</mat-slide-toggle>\" }]\n }], ctorParameters: function () { return [{ type: i1.AttributeSerializerService }, { type: OptionsResolverService }, { type: i3.TokenizerService }, { type: FormsContextHelperService }, { type: i5.ValidationPluginManager }, { type: i6.ControlContainer }]; } });\n\nclass FormCheckboxComponent extends FormElementBase {\n constructor(attributeSerializer, optionsResolverService, tokenizerService, formsContextHelper, vpm, controlContainer) {\n super(attributeSerializer, optionsResolverService, tokenizerService, formsContextHelper, vpm, controlContainer);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormCheckboxComponent, deps: [{ token: i1.AttributeSerializerService }, { token: OptionsResolverService }, { token: i3.TokenizerService }, { token: FormsContextHelperService }, { token: i5.ValidationPluginManager }, { token: i6.ControlContainer }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: FormCheckboxComponent, selector: \"druid-forms-form-checkbox\", usesInheritance: true, ngImport: i0, template: \"<mat-checkbox [formControl]=\\\"formControl\\\"></mat-checkbox>\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i6.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i6.FormControlDirective, selector: \"[formControl]\", inputs: [\"formControl\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"], exportAs: [\"ngForm\"] }, { kind: \"component\", type: i7$4.MatLegacyCheckbox, selector: \"mat-checkbox\", inputs: [\"disableRipple\", \"color\", \"tabIndex\"], exportAs: [\"matCheckbox\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormCheckboxComponent, decorators: [{\n type: Component,\n args: [{ selector: 'druid-forms-form-checkbox', template: \"<mat-checkbox [formControl]=\\\"formControl\\\"></mat-checkbox>\" }]\n }], ctorParameters: function () { return [{ type: i1.AttributeSerializerService }, { type: OptionsResolverService }, { type: i3.TokenizerService }, { type: FormsContextHelperService }, { type: i5.ValidationPluginManager }, { type: i6.ControlContainer }]; } });\n\nclass FormDatepickerComponent extends FormElementBase {\n constructor(attributeSerializer, optionsResolverService, tokenizerService, formsContextHelper, vpm, controlContainer) {\n super(attributeSerializer, optionsResolverService, tokenizerService, formsContextHelper, vpm, controlContainer);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormDatepickerComponent, deps: [{ token: i1.AttributeSerializerService }, { token: OptionsResolverService }, { token: i3.TokenizerService }, { token: FormsContextHelperService }, { token: i5.ValidationPluginManager }, { token: i6.ControlContainer }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: FormDatepickerComponent, selector: \"druid-forms-form-datepicker\", usesInheritance: true, ngImport: i0, template: \"<mat-form-field appearance=\\\"fill\\\">\\n <mat-label>Choose a date</mat-label>\\n<!-- #docregion toggle -->\\n <input matInput [matDatepicker]=\\\"picker\\\" [formControl]=\\\"formControl\\\">\\n <mat-datepicker-toggle matSuffix [for]=\\\"picker\\\"></mat-datepicker-toggle>\\n <mat-datepicker #picker></mat-datepicker>\\n<!-- #enddocregion toggle -->\\n</mat-form-field>\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i6.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i6.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i6.FormControlDirective, selector: \"[formControl]\", inputs: [\"formControl\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"], exportAs: [\"ngForm\"] }, { kind: \"component\", type: i7$5.MatDatepicker, selector: \"mat-datepicker\", exportAs: [\"matDatepicker\"] }, { kind: \"directive\", type: i7$5.MatDatepickerInput, selector: \"input[matDatepicker]\", inputs: [\"matDatepicker\", \"min\", \"max\", \"matDatepickerFilter\"], exportAs: [\"matDatepickerInput\"] }, { kind: \"component\", type: i7$5.MatDatepickerToggle, selector: \"mat-datepicker-toggle\", inputs: [\"for\", \"tabIndex\", \"aria-label\", \"disabled\", \"disableRipple\"], exportAs: [\"matDatepickerToggle\"] }, { kind: \"component\", type: i8.MatLegacyFormField, selector: \"mat-form-field\", inputs: [\"color\", \"appearance\", \"hideRequiredMarker\", \"hintLabel\", \"floatLabel\"], exportAs: [\"matFormField\"] }, { kind: \"directive\", type: i8.MatLegacyLabel, selector: \"mat-label\" }, { kind: \"directive\", type: i8.MatLegacySuffix, selector: \"[matSuffix]\" }, { kind: \"directive\", type: i9.MatLegacyInput, selector: \"input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]\", exportAs: [\"matInput\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormDatepickerComponent, decorators: [{\n type: Component,\n args: [{ selector: 'druid-forms-form-datepicker', template: \"<mat-form-field appearance=\\\"fill\\\">\\n <mat-label>Choose a date</mat-label>\\n<!-- #docregion toggle -->\\n <input matInput [matDatepicker]=\\\"picker\\\" [formControl]=\\\"formControl\\\">\\n <mat-datepicker-toggle matSuffix [for]=\\\"picker\\\"></mat-datepicker-toggle>\\n <mat-datepicker #picker></mat-datepicker>\\n<!-- #enddocregion toggle -->\\n</mat-form-field>\" }]\n }], ctorParameters: function () { return [{ type: i1.AttributeSerializerService }, { type: OptionsResolverService }, { type: i3.TokenizerService }, { type: FormsContextHelperService }, { type: i5.ValidationPluginManager }, { type: i6.ControlContainer }]; } });\n\nclass FormAutocompleteComponent extends FormElementBase {\n constructor(attributeSerializer, optionsResolverService, tokenizerService, formsContextHelper, vpm, controlContainer) {\n super(attributeSerializer, optionsResolverService, tokenizerService, formsContextHelper, vpm, controlContainer);\n this.proxyControl = new UntypedFormControl('');\n this.optionSelected$ = new Subject();\n this.proxyControlValueChangesSub = this.proxyControl.valueChanges.pipe(debounceTime(1000), distinctUntilChanged(), withLatestFrom(combineLatest([\n this.formSettings$,\n this.panes$,\n this.originPanes$,\n this.contexts$\n ]).pipe(map(([settings, panes, originPanes, contexts]) => ({ settings, panes, originPanes, contexts })))), map(([term, { settings, panes, originPanes, contexts }]) => ({ term, settings, metadata: new Map([['panes', [...(panes && Array.isArray(panes) ? panes : []), ...(originPanes && Array.isArray(originPanes) ? originPanes : [])]], ['contexts', contexts], ['inputparams', new Map([['term', new Param({ flags: [], mapping: new Mapping({ value: term, testValue: term, type: 'static', context: undefined, }) })]])]]) })), switchMap(({ settings, metadata }) => this.optionsResolver.resolveElementOptions(settings, metadata)), tap$1(options => this.options$.next(options))).subscribe();\n this.optionSelectedSub = this.optionSelected$.pipe(tap$1(e => this.formControl.setValue(e.option && e.option.value ? e.option.value.value : ''))).subscribe();\n this.displayAuto = (opt) => {\n return opt.label;\n // return tokenizerService.replaceTokens(this.selectMapping.label, this.tokenizerService.generateGenericTokens(opt.dataItem));\n };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormAutocompleteComponent, deps: [{ token: i1.AttributeSerializerService }, { token: OptionsResolverService }, { token: i3.TokenizerService }, { token: FormsContextHelperService }, { token: i5.ValidationPluginManager }, { token: i6.ControlContainer }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: FormAutocompleteComponent, selector: \"druid-forms-form-autocomplete\", usesInheritance: true, ngImport: i0, template: \"<mat-form-field>\\n <mat-label>Autocomplete</mat-label>\\n <input matInput [matAutocomplete]=\\\"autocomplete\\\" [formControl]=\\\"proxyControl\\\">\\n <mat-autocomplete #autocomplete=\\\"matAutocomplete\\\" [displayWith]=\\\"displayAuto\\\" (optionSelected)=\\\"optionSelected$.next($event)\\\">\\n <mat-option *ngFor=\\\"let opt of (options$ | async); let i = index\\\" [value]=\\\"opt\\\">{{ opt.label }}</mat-option>\\n </mat-autocomplete>\\n</mat-form-field>\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i7.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i6.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i6.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i6.FormControlDirective, selector: \"[formControl]\", inputs: [\"formControl\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"], exportAs: [\"ngForm\"] }, { kind: \"component\", type: i8$3.MatLegacyAutocomplete, selector: \"mat-autocomplete\", inputs: [\"disableRipple\"], exportAs: [\"matAutocomplete\"] }, { kind: \"directive\", type: i8$3.MatLegacyAutocompleteTrigger, selector: \"input[matAutocomplete], textarea[matAutocomplete]\", exportAs: [\"matAutocompleteTrigger\"] }, { kind: \"component\", type: i8$1.MatLegacyOption, selector: \"mat-option\", exportAs: [\"matOption\"] }, { kind: \"component\", type: i8.MatLegacyFormField, selector: \"mat-form-field\", inputs: [\"color\", \"appearance\", \"hideRequiredMarker\", \"hintLabel\", \"floatLabel\"], exportAs: [\"matFormField\"] }, { kind: \"directive\", type: i8.MatLegacyLabel, selector: \"mat-label\" }, { kind: \"directive\", type: i9.MatLegacyInput, selector: \"input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]\", exportAs: [\"matInput\"] }, { kind: \"pipe\", type: i7.AsyncPipe, name: \"async\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormAutocompleteComponent, decorators: [{\n type: Component,\n args: [{ selector: 'druid-forms-form-autocomplete', template: \"<mat-form-field>\\n <mat-label>Autocomplete</mat-label>\\n <input matInput [matAutocomplete]=\\\"autocomplete\\\" [formControl]=\\\"proxyControl\\\">\\n <mat-autocomplete #autocomplete=\\\"matAutocomplete\\\" [displayWith]=\\\"displayAuto\\\" (optionSelected)=\\\"optionSelected$.next($event)\\\">\\n <mat-option *ngFor=\\\"let opt of (options$ | async); let i = index\\\" [value]=\\\"opt\\\">{{ opt.label }}</mat-option>\\n </mat-autocomplete>\\n</mat-form-field>\" }]\n }], ctorParameters: function () { return [{ type: i1.AttributeSerializerService }, { type: OptionsResolverService }, { type: i3.TokenizerService }, { type: FormsContextHelperService }, { type: i5.ValidationPluginManager }, { type: i6.ControlContainer }]; } });\n\nclass FormMediaComponent extends FormElementBase {\n constructor(attributeSerializer, optionsResolverService, filesService, tokenizerService, formsContextHelper, vpm, controlContainer) {\n super(attributeSerializer, optionsResolverService, tokenizerService, formsContextHelper, vpm, controlContainer);\n this.files = [];\n this.select$ = new Subject();\n this.selectSub = this.select$.pipe(tap(e => console.log(e)), mergeMap(e => this.filesService.bulkUpload({ files: [e.addedFiles[0]] }).pipe(map$1(mfs => ({ mfs, e })))), tap(({ mfs }) => this.formControl.setValue(mfs[0])), tap(({ e }) => this.files.push(...e.addedFiles))).subscribe();\n this.valueSub = this.value$.pipe(filter(v => typeof (v) === 'object'), map$1(v => new MediaFile(v)), tap(v => {\n console.log('populate value', v);\n }), switchMap$1(v => this.filesService.convertToFiles([v])), tap(f => {\n console.log('populate as file', f);\n this.files = f;\n })).subscribe();\n this.filesService = filesService;\n }\n onSelect(event) {\n this.select$.next(event);\n }\n onRemove(event) {\n console.log(event);\n this.formControl.setValue('');\n this.files.splice(this.files.indexOf(event), 1);\n }\n isType(f, type) {\n switch (type) {\n case 'image':\n return this.filesService.isImage({ file: f });\n case 'video':\n return this.filesService.isVideo({ file: f });\n default:\n return false;\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormMediaComponent, deps: [{ token: i1.AttributeSerializerService }, { token: OptionsResolverService }, { token: i3$1.FilesService }, { token: i3.TokenizerService }, { token: FormsContextHelperService }, { token: i5.ValidationPluginManager }, { token: i6.ControlContainer }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: FormMediaComponent, selector: \"druid-forms-form-media\", usesInheritance: true, ngImport: i0, template: \"<ngx-dropzone (change)=\\\"onSelect($event)\\\">\\n\\t<ngx-dropzone-label>Drop it, baby!</ngx-dropzone-label>\\n\\t<ng-container *ngFor=\\\"let f of files\\\">\\n\\t\\t<ngx-dropzone-image-preview *ngIf=\\\"isType(f, 'image')\\\" ngProjectAs=\\\"ngx-dropzone-preview\\\" [file]=\\\"f\\\" [removable]=\\\"true\\\" (removed)=\\\"onRemove(f)\\\">\\n\\t\\t\\t<ngx-dropzone-label>{{ f.name }} ({{ f.type }})</ngx-dropzone-label>\\n\\t\\t</ngx-dropzone-image-preview>\\n\\t\\t<ngx-dropzone-video-preview *ngIf=\\\"isType(f, 'video')\\\" ngProjectAs=\\\"ngx-dropzone-preview\\\" [file]=\\\"f\\\" [removable]=\\\"true\\\" (removed)=\\\"onRemove(f)\\\">\\n\\t\\t\\t<ngx-dropzone-label>{{ f.name }} ({{ f.type }})</ngx-dropzone-label>\\n\\t\\t</ngx-dropzone-video-preview>\\n\\t\\t<ngx-dropzone-preview *ngIf=\\\"!isType(f, 'image') && !isType(f, 'video')\\\" [removable]=\\\"true\\\" (removed)=\\\"onRemove(f)\\\">\\n\\t\\t\\t<ngx-dropzone-label>{{ f.name }} ({{ f.type }})</ngx-dropzone-label>\\n\\t\\t</ngx-dropzone-preview>\\n\\t</ng-container> \\n</ngx-dropzone>\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i7.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i7.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"component\", type: i9$1.NgxDropzoneComponent, selector: \"ngx-dropzone, [ngx-dropzone]\", inputs: [\"accept\", \"disabled\", \"multiple\", \"maxFileSize\", \"expandable\", \"disableClick\", \"processDirectoryDrop\", \"id\", \"aria-label\", \"aria-labelledby\", \"aria-describedby\"], outputs: [\"change\"] }, { kind: \"directive\", type: i9$1.NgxDropzoneLabelDirective, selector: \"ngx-dropzone-label\" }, { kind: \"component\", type: i9$1.NgxDropzonePreviewComponent, selector: \"ngx-dropzone-preview\", inputs: [\"file\", \"removable\"], outputs: [\"removed\"] }, { kind: \"component\", type: i9$1.NgxDropzoneImagePreviewComponent, selector: \"ngx-dropzone-image-preview\", inputs: [\"file\"] }, { kind: \"component\", type: i9$1.NgxDropzoneVideoPreviewComponent, selector: \"ngx-dropzone-video-preview\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormMediaComponent, decorators: [{\n type: Component,\n args: [{ selector: 'druid-forms-form-media', template: \"<ngx-dropzone (change)=\\\"onSelect($event)\\\">\\n\\t<ngx-dropzone-label>Drop it, baby!</ngx-dropzone-label>\\n\\t<ng-container *ngFor=\\\"let f of files\\\">\\n\\t\\t<ngx-dropzone-image-preview *ngIf=\\\"isType(f, 'image')\\\" ngProjectAs=\\\"ngx-dropzone-preview\\\" [file]=\\\"f\\\" [removable]=\\\"true\\\" (removed)=\\\"onRemove(f)\\\">\\n\\t\\t\\t<ngx-dropzone-label>{{ f.name }} ({{ f.type }})</ngx-dropzone-label>\\n\\t\\t</ngx-dropzone-image-preview>\\n\\t\\t<ngx-dropzone-video-preview *ngIf=\\\"isType(f, 'video')\\\" ngProjectAs=\\\"ngx-dropzone-preview\\\" [file]=\\\"f\\\" [removable]=\\\"true\\\" (removed)=\\\"onRemove(f)\\\">\\n\\t\\t\\t<ngx-dropzone-label>{{ f.name }} ({{ f.type }})</ngx-dropzone-label>\\n\\t\\t</ngx-dropzone-video-preview>\\n\\t\\t<ngx-dropzone-preview *ngIf=\\\"!isType(f, 'image') && !isType(f, 'video')\\\" [removable]=\\\"true\\\" (removed)=\\\"onRemove(f)\\\">\\n\\t\\t\\t<ngx-dropzone-label>{{ f.name }} ({{ f.type }})</ngx-dropzone-label>\\n\\t\\t</ngx-dropzone-preview>\\n\\t</ng-container> \\n</ngx-dropzone>\" }]\n }], ctorParameters: function () { return [{ type: i1.AttributeSerializerService }, { type: OptionsResolverService }, { type: i3$1.FilesService }, { type: i3.TokenizerService }, { type: FormsContextHelperService }, { type: i5.ValidationPluginManager }, { type: i6.ControlContainer }]; } });\n\nclass FormHiddenComponent extends FormElementBase {\n constructor(attributeSerializer, optionsResolverService, tokenizerService, formsContextHelper, vpm, controlContainer) {\n super(attributeSerializer, optionsResolverService, tokenizerService, formsContextHelper, vpm, controlContainer);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormHiddenComponent, deps: [{ token: i1.AttributeSerializerService }, { token: OptionsResolverService }, { token: i3.TokenizerService }, { token: FormsContextHelperService }, { token: i5.ValidationPluginManager }, { token: i6.ControlContainer }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: FormHiddenComponent, selector: \"druid-forms-form-hidden\", usesInheritance: true, ngImport: i0, template: '', isInline: true }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormHiddenComponent, decorators: [{\n type: Component,\n args: [{\n selector: 'druid-forms-form-hidden',\n template: ''\n }]\n }], ctorParameters: function () { return [{ type: i1.AttributeSerializerService }, { type: OptionsResolverService }, { type: i3.TokenizerService }, { type: FormsContextHelperService }, { type: i5.ValidationPluginManager }, { type: i6.ControlContainer }]; } });\n\nclass FormSectionEditorComponent {\n constructor(data, dialogRef, fb, attributeSerializer) {\n this.data = data;\n this.dialogRef = dialogRef;\n this.fb = fb;\n this.attributeSerializer = attributeSerializer;\n this.contexts = [];\n this.formGroup = this.fb.group({\n valuesMapping: this.fb.control('')\n });\n }\n ngOnInit() {\n }\n submit() {\n this.data.panelFormGroup.get('settings').clear();\n this.attributeSerializer.serialize(this.formGroup.value, 'root').attributes.forEach(a => {\n console.log('formly repeating editor form');\n console.log(this.attributeSerializer.convertToGroup(a));\n this.data.panelFormGroup.get('settings').push(this.attributeSerializer.convertToGroup(a));\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormSectionEditorComponent, deps: [{ token: MAT_LEGACY_DIALOG_DATA }, { token: i1$1.MatLegacyDialogRef }, { token: i6.UntypedFormBuilder }, { token: i1.AttributeSerializerService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: FormSectionEditorComponent, selector: \"classifieds-form-section-editor\", ngImport: i0, template: \"<form [formGroup]=\\\"formGroup\\\" (ngSubmit)=\\\"submit()\\\">\\n <div>\\n <mat-form-field>\\n <mat-label>Values Mapping</mat-label>\\n <input matInput formControlName=\\\"valuesMapping\\\">\\n </mat-form-field>\\n </div>\\n <button type=\\\"submit\\\" mat-raised-button color=\\\"primary\\\" mat-dialog-close [disabled]=\\\"!formGroup.valid\\\">Save</button>\\n</form>\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i6.ɵNgNoValidate, selector: \"form:not([ngNoForm]):not([ngNativeValidate])\" }, { kind: \"directive\", type: i6.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i6.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i6.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i6.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i6.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: i7$1.MatLegacyButton, selector: \"button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]\", inputs: [\"disabled\", \"disableRipple\", \"color\"], exportAs: [\"matButton\"] }, { kind: \"directive\", type: i1$1.MatLegacyDialogClose, selector: \"[mat-dialog-close], [matDialogClose]\", inputs: [\"aria-label\", \"type\", \"mat-dialog-close\", \"matDialogClose\"], exportAs: [\"matDialogClose\"] }, { kind: \"component\", type: i8.MatLegacyFormField, selector: \"mat-form-field\", inputs: [\"color\", \"appearance\", \"hideRequiredMarker\", \"hintLabel\", \"floatLabel\"], exportAs: [\"matFormField\"] }, { kind: \"directive\", type: i8.MatLegacyLabel, selector: \"mat-label\" }, { kind: \"directive\", type: i9.MatLegacyInput, selector: \"input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]\", exportAs: [\"matInput\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormSectionEditorComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-form-section-editor', template: \"<form [formGroup]=\\\"formGroup\\\" (ngSubmit)=\\\"submit()\\\">\\n <div>\\n <mat-form-field>\\n <mat-label>Values Mapping</mat-label>\\n <input matInput formControlName=\\\"valuesMapping\\\">\\n </mat-form-field>\\n </div>\\n <button type=\\\"submit\\\" mat-raised-button color=\\\"primary\\\" mat-dialog-close [disabled]=\\\"!formGroup.valid\\\">Save</button>\\n</form>\" }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [MAT_LEGACY_DIALOG_DATA]\n }] }, { type: i1$1.MatLegacyDialogRef }, { type: i6.UntypedFormBuilder }, { type: i1.AttributeSerializerService }]; } });\n\nconst formInputPluginFactory = ({ handler }) => {\n return new ContentPlugin({\n id: 'form_input',\n title: 'Form Input',\n selectionComponent: undefined,\n editorComponent: FormElementEditorComponent,\n renderComponent: FormInputComponent,\n handler\n });\n};\nconst formSelectPluginFactory = ({ handler }) => {\n return new ContentPlugin({\n id: 'form_select',\n title: 'Form Select',\n selectionComponent: undefined,\n editorComponent: FormElementEditorComponent,\n renderComponent: FormSelectComponent,\n handler\n });\n};\nconst formRadiogroupPluginFactory = ({ handler }) => {\n return new ContentPlugin({\n id: 'form_radiogroup',\n title: 'Form Radiogroup',\n selectionComponent: undefined,\n editorComponent: FormElementEditorComponent,\n renderComponent: FormRadiogroupComponent,\n handler\n });\n};\nconst formTextareaPluginFactory = ({ handler }) => {\n return new ContentPlugin({\n id: 'form_textarea',\n title: 'Form Textarea',\n selectionComponent: undefined,\n editorComponent: FormElementEditorComponent,\n renderComponent: FormTextareaComponent,\n handler\n });\n};\nconst formSliderPluginFactory = ({ handler }) => {\n return new ContentPlugin({\n id: 'form_slider',\n title: 'Form Slider',\n selectionComponent: undefined,\n editorComponent: FormElementEditorComponent,\n renderComponent: FormSliderComponent,\n handler\n });\n};\nconst formTogglePluginFactory = ({ handler }) => {\n return new ContentPlugin({\n id: 'form_toggle',\n title: 'Form Toggle',\n selectionComponent: undefined,\n editorComponent: FormElementEditorComponent,\n renderComponent: FormToggleComponent,\n handler\n });\n};\nconst formCheckboxPluginFactory = ({ handler }) => {\n return new ContentPlugin({\n id: 'form_checkbox',\n title: 'Form Checkbox',\n selectionComponent: undefined,\n editorComponent: FormElementEditorComponent,\n renderComponent: FormCheckboxComponent,\n handler\n });\n};\nconst formDatepickerPluginFactory = ({ handler }) => {\n return new ContentPlugin({\n id: 'form_datepicker',\n title: 'Form Datepicker',\n selectionComponent: undefined,\n editorComponent: FormElementEditorComponent,\n renderComponent: FormDatepickerComponent,\n handler\n });\n};\nconst formAutocompletePluginFactory = ({ handler }) => {\n return new ContentPlugin({\n id: 'form_autocomplete',\n title: 'Form Autocomplete',\n selectionComponent: undefined,\n editorComponent: FormElementEditorComponent,\n renderComponent: FormAutocompleteComponent,\n handler\n });\n};\nconst formMediaPluginFactory = ({ handler }) => {\n return new ContentPlugin({\n id: 'form_media',\n title: 'Form Media',\n selectionComponent: undefined,\n editorComponent: FormElementEditorComponent,\n renderComponent: FormMediaComponent,\n handler\n });\n};\nconst formHiddenPluginFactory = ({ handler }) => {\n return new ContentPlugin({\n id: 'form_hidden',\n title: 'Form Hidden',\n selectionComponent: undefined,\n editorComponent: FormElementEditorComponent,\n renderComponent: FormHiddenComponent,\n handler\n });\n};\nconst formSectionStylePluginFactory = () => {\n return new StylePlugin({ id: 'form_section', name: 'form_section', title: 'Form Section', editorComponent: FormSectionEditorComponent, renderComponent: FormSectionComponent });\n};\n\nclass FormsModule {\n constructor(cpm, spm, handler) {\n [\n formInputPluginFactory({ handler }),\n formSelectPluginFactory({ handler }),\n formTextareaPluginFactory({ handler }),\n formRadiogroupPluginFactory({ handler }),\n formSliderPluginFactory({ handler }),\n formTogglePluginFactory({ handler }),\n formCheckboxPluginFactory({ handler }),\n formDatepickerPluginFactory({ handler }),\n formAutocompletePluginFactory({ handler }),\n formMediaPluginFactory({ handler }),\n formHiddenPluginFactory({ handler })\n ].forEach(p => cpm.register(p));\n [\n formSectionStylePluginFactory()\n ].forEach(p => spm.register(p));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormsModule, deps: [{ token: i1$2.ContentPluginManager }, { token: i2.StylePluginManager }, { token: FormElementHandler }], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: FormsModule, declarations: [FormInputComponent,\n FormSelectComponent,\n FormSectionComponent,\n FormTextareaComponent,\n FormElementEditorComponent,\n FormRadiogroupComponent,\n FormSliderComponent,\n FormToggleComponent,\n FormCheckboxComponent,\n FormDatepickerComponent,\n FormAutocompleteComponent,\n FormMediaComponent,\n FormHiddenComponent,\n FormSectionEditorComponent], imports: [CommonModule,\n FormsModule$1,\n ReactiveFormsModule,\n MaterialModule,\n RenderModule,\n DatasourceModule,\n NgxDropzoneModule,\n OrdainModule], exports: [FormInputComponent,\n FormSelectComponent,\n FormSectionComponent,\n FormElementEditorComponent,\n FormRadiogroupComponent,\n FormSliderComponent,\n FormToggleComponent,\n FormCheckboxComponent,\n FormDatepickerComponent,\n FormAutocompleteComponent,\n FormMediaComponent,\n FormHiddenComponent,\n FormSectionEditorComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormsModule, imports: [CommonModule,\n FormsModule$1,\n ReactiveFormsModule,\n MaterialModule,\n RenderModule,\n DatasourceModule,\n NgxDropzoneModule,\n OrdainModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormsModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [\n FormInputComponent,\n FormSelectComponent,\n FormSectionComponent,\n FormTextareaComponent,\n FormElementEditorComponent,\n FormRadiogroupComponent,\n FormSliderComponent,\n FormToggleComponent,\n FormCheckboxComponent,\n FormDatepickerComponent,\n FormAutocompleteComponent,\n FormMediaComponent,\n FormHiddenComponent,\n FormSectionEditorComponent\n ],\n imports: [\n CommonModule,\n FormsModule$1,\n ReactiveFormsModule,\n MaterialModule,\n RenderModule,\n DatasourceModule,\n NgxDropzoneModule,\n OrdainModule\n ],\n exports: [\n FormInputComponent,\n FormSelectComponent,\n FormSectionComponent,\n FormElementEditorComponent,\n FormRadiogroupComponent,\n FormSliderComponent,\n FormToggleComponent,\n FormCheckboxComponent,\n FormDatepickerComponent,\n FormAutocompleteComponent,\n FormMediaComponent,\n FormHiddenComponent,\n FormSectionEditorComponent\n ]\n }]\n }], ctorParameters: function () { return [{ type: i1$2.ContentPluginManager }, { type: i2.StylePluginManager }, { type: FormElementHandler }]; } });\n\n/*\n * Public API Surface of forms\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { AbstractFormContentHandler, FormAutocompleteComponent, FormCheckboxComponent, FormDatepickerComponent, FormElementBase, FormElementEditorComponent, FormElementHandler, FormHiddenComponent, FormInputComponent, FormMediaComponent, FormRadiogroupComponent, FormSectionComponent, FormSectionEditorComponent, FormSelectComponent, FormSliderComponent, FormTextareaComponent, FormToggleComponent, FormsModule, OptionsResolverService };\n","import { HttpResponse, HttpHeaders, HTTP_INTERCEPTORS } from '@angular/common/http';\nimport * as i0 from '@angular/core';\nimport { makeStateKey, Injectable, ApplicationRef, TransferState, NgModule, APP_INITIALIZER } from '@angular/core';\nimport { of } from 'rxjs';\nimport { first, defaultIfEmpty, tap } from 'rxjs/operators';\nimport { DOCUMENT } from '@angular/common';\n\nfunction getHeadersMap(headers) {\n const headersMap = {};\n for (const key of headers.keys()) {\n const values = headers.getAll(key);\n if (values !== null) {\n headersMap[key] = values;\n }\n }\n return headersMap;\n}\nclass TransferHttpCacheInterceptor {\n makeCacheKey(method, url, params, responseType) {\n // make the params encoded same as a url so it's easy to identify\n const encodedParams = params\n .keys()\n .sort()\n .map((k) => `${k}=${params.getAll(k)}`)\n .join('&');\n const key = (method === 'GET' ? 'G.' : 'H.') + responseType + '.' + url + '?' + encodedParams;\n return makeStateKey(key);\n }\n constructor(appRef, transferState) {\n this.transferState = transferState;\n this.isCacheActive = true;\n // Stop using the cache if the application has stabilized, indicating initial rendering is\n // complete.\n appRef.isStable\n .pipe(first((isStable) => isStable), defaultIfEmpty(false))\n .subscribe(() => {\n this.isCacheActive = false;\n });\n }\n intercept(req, next) {\n if (!this.isCacheActive || (req.method !== 'GET' && req.method !== 'HEAD')) {\n // Cache is no longer active or method is not HEAD or GET.\n // Pass the request through.\n return next.handle(req);\n }\n const storeKey = this.makeCacheKey(req.method, req.url, req.params, req.responseType);\n if (this.transferState.hasKey(storeKey)) {\n // Request found in cache. Respond using it.\n const response = this.transferState.get(storeKey, null);\n let body = response?.body;\n switch (response?.responseType) {\n case 'arraybuffer':\n body = new TextEncoder().encode(response.body).buffer;\n break;\n case 'blob':\n body = new Blob([response.body]);\n break;\n }\n return of(new HttpResponse({\n body,\n headers: new HttpHeaders(response?.headers),\n status: response?.status,\n statusText: response?.statusText,\n url: response?.url,\n }));\n }\n else {\n // Request not found in cache. Make the request and cache it.\n const httpEvent = next.handle(req);\n return httpEvent.pipe(tap((event) => {\n if (event instanceof HttpResponse) {\n this.transferState.set(storeKey, {\n body: event.body,\n headers: getHeadersMap(event.headers),\n status: event.status,\n statusText: event.statusText,\n url: event.url || '',\n responseType: req.responseType,\n });\n }\n }));\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0-rc.2\", ngImport: i0, type: TransferHttpCacheInterceptor, deps: [{ token: i0.ApplicationRef }, { token: i0.TransferState }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0-rc.2\", ngImport: i0, type: TransferHttpCacheInterceptor }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0-rc.2\", ngImport: i0, type: TransferHttpCacheInterceptor, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: i0.ApplicationRef }, { type: i0.TransferState }]; } });\n/**\n * An NgModule used in conjunction with `ServerTransferHttpCacheModule` to transfer cached HTTP\n * calls from the server to the client application.\n */\nclass TransferHttpCacheModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0-rc.2\", ngImport: i0, type: TransferHttpCacheModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0-rc.2\", ngImport: i0, type: TransferHttpCacheModule }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0-rc.2\", ngImport: i0, type: TransferHttpCacheModule, providers: [\n ApplicationRef,\n TransferState,\n TransferHttpCacheInterceptor,\n { provide: HTTP_INTERCEPTORS, useExisting: TransferHttpCacheInterceptor, multi: true },\n ] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0-rc.2\", ngImport: i0, type: TransferHttpCacheModule, decorators: [{\n type: NgModule,\n args: [{\n providers: [\n ApplicationRef,\n TransferState,\n TransferHttpCacheInterceptor,\n { provide: HTTP_INTERCEPTORS, useExisting: TransferHttpCacheInterceptor, multi: true },\n ],\n }]\n }] });\n\nfunction domContentLoadedFactory(doc) {\n return () => new Promise((resolve, _reject) => {\n if (doc.readyState === 'complete' || doc.readyState === 'interactive') {\n resolve();\n return;\n }\n const contentLoaded = () => {\n doc.removeEventListener('DOMContentLoaded', contentLoaded);\n resolve();\n };\n doc.addEventListener('DOMContentLoaded', contentLoaded);\n });\n}\nclass StateTransferInitializerModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0-rc.2\", ngImport: i0, type: StateTransferInitializerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0-rc.2\", ngImport: i0, type: StateTransferInitializerModule }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0-rc.2\", ngImport: i0, type: StateTransferInitializerModule, providers: [\n {\n provide: APP_INITIALIZER,\n multi: true,\n useFactory: domContentLoadedFactory,\n deps: [DOCUMENT],\n },\n ] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0-rc.2\", ngImport: i0, type: StateTransferInitializerModule, decorators: [{\n type: NgModule,\n args: [{\n providers: [\n {\n provide: APP_INITIALIZER,\n multi: true,\n useFactory: domContentLoadedFactory,\n deps: [DOCUMENT],\n },\n ],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { StateTransferInitializerModule, TransferHttpCacheModule, TransferHttpCacheInterceptor as ɵTransferHttpCacheInterceptor };\n","import * as i0 from '@angular/core';\nimport { InjectionToken, PLATFORM_ID, NgModule, Inject } from '@angular/core';\nimport * as i4 from '@rollthecloudinc/crud';\nimport { CrudDataService } from '@rollthecloudinc/crud';\nimport { SITE_NAME } from '@rollthecloudinc/utils';\nimport * as i1 from '@rollthecloudinc/alias';\nimport { AliasPlugin } from '@rollthecloudinc/alias';\nimport { map, tap, defaultIfEmpty, catchError } from 'rxjs/operators';\nimport { loadRemoteModule } from '@angular-architects/module-federation';\nimport { of } from 'rxjs';\nimport * as qs from 'qs';\nimport { isPlatformServer } from '@angular/common';\nimport * as i2 from '@angular/router';\nimport * as i3 from '@ngrx/data';\n\nconst ALIENALIAS_SETTINGS = new InjectionToken('AlienaliasSettings');\n\nclass AlienaliasPlugin extends AliasPlugin {\n}\nclass AlienAlias {\n constructor(data) {\n if (data) {\n this.id = data.id;\n this.site = data.site;\n this.path = data.path;\n // this.type = data.type;\n this.remoteEntry = data.remoteEntry;\n // this.exposedModule = data.exposedModule;\n this.moduleName = data.moduleName;\n }\n }\n}\nclass AlienaliasSettings {\n constructor(data) {\n if (data) {\n this.openSearchDomain = data.openSearchDomain;\n }\n }\n}\n\nclass AlienaliasLoadingStrategy {\n get alienAliasService() {\n return this.es.getEntityCollectionService('AlienAlias');\n }\n constructor(siteName, es, router) {\n this.siteName = siteName;\n this.es = es;\n this.router = router;\n this.routesLoaded = false;\n }\n isLoaded() {\n return this.routesLoaded;\n }\n load() {\n return this.alienAliasService.getWithQuery(`site=${encodeURIComponent(`{\"term\":{\"site.keyword\":{\"value\":\"${this.siteName}\"}}}`)}&path=${encodeURIComponent(`{\"wildcard\":{\"path.keyword\":{\"value\":\"*\"}}}`)}`).pipe(map(aa => aa.filter(a => a.path !== undefined && a.path !== '')), map(aa => aa.map(a => new AlienAlias(a)).sort((a, b) => {\n if (a.path.split('/').length === b.path.split('/').length) {\n return a.path.split('/')[a.path.split('/').length - 1] > b.path.split('/')[b.path.split('/').length - 1] ? -1 : 1;\n }\n return a.path.split('/').length > b.path.split('/').length ? -1 : 1;\n })), tap(aa => {\n // const target = this.router.config.find(r => r.path === '');\n // const matchers = pp.map(p => [ this.createEditMatcher(p), this.createMatcher(p) ]).reduce<Array<UrlMatcher>>((p, c) => [ ...p, ...c ], []);\n // const paths = aa.map(a => a.path);\n /*this.router.config.unshift({ matcher: this.createPageMatcher(paths), loadChildren: () => {\n return loadRemoteModule({\n type: aa.type,\n remoteEntry: 'http://localhost:3000/remoteEntry.js',\n exposedModule: './Module'\n }).then(m => m.FlightsModule);\n } });*/\n aa.forEach(a => {\n //console.log(`register alias ${p.path}`);\n // target.children.push({ matcher: this.createEditMatcher(p), component: PagealiasRouterComponent /*EditPanelPageComponent*/ });\n this.router.config.unshift({\n matcher: this.createMatcher(a),\n // path: a.path,\n loadChildren: () => {\n console.log(`loading remote module remote entry ${a.remoteEntry} module ${a.moduleName}`);\n return loadRemoteModule({\n type: 'module',\n // remoteEntry: 'http://localhost:3000/remoteEntry.js',\n remoteEntry: a.remoteEntry,\n exposedModule: './Module'\n }).then(m => /*m.FlightsModule*/ m[a.moduleName]);\n }\n });\n });\n this.routesLoaded = true;\n }), tap(() => console.log('alien alias routes loaded')), map(() => true), defaultIfEmpty(true));\n // return of(true);\n }\n createMatcher(a) {\n return (url) => {\n if (('/' + url.map(u => u.path).join('/')).indexOf(a.path) === 0) {\n console.log(`matcher matched: ${a.path}`);\n const pathLen = a.path.substr(1).split('/').length;\n return {\n consumed: [url[0] /* @todo: consume number of pieces in a.path */],\n /*posParams: url.reduce<{}>((p, c, index) => {\n if(index === 0) {\n return { ...p, alienAliasId: new UrlSegment(a.id , {}) }\n } else if(index > pathLen - 1) {\n return { ...p, [`arg${index - pathLen}`]: new UrlSegment(c.path, {}) };\n } else {\n return { ...p };\n }\n }, {})*/\n };\n }\n else {\n return null;\n }\n };\n }\n}\n\nclass AlienaliasMatchingStrategy {\n get alienAliasService() {\n return this.es.getEntityCollectionService('AlienAlias');\n }\n constructor(siteName, es, router) {\n this.siteName = siteName;\n this.es = es;\n this.router = router;\n }\n match(state) {\n const matchPathQuery = 'path=' + state.url.substr(1).split('/').reduce((p, c, i) => [...p, i === 0 ? `/${c}` : `${p[i - 1]}/${c}`], []).map(p => this.encodePathComponent(p)).join('&path=') + `&site=${encodeURIComponent(`{\"term\":{\"site.keyword\":{\"value\":\"${this.siteName}\"}}}`)}`;\n return this.alienAliasService.getWithQuery(matchPathQuery).pipe(catchError(e => {\n return of([]);\n }), map(aa => aa.reduce((p, c) => p === undefined ? c : p.path.split('/').length < c.path.split('/').length ? c : p, undefined)), map(m => !!m), defaultIfEmpty(false));\n }\n encodePathComponent(v) {\n return `{\"term\":{\"path.keyword\":{\"value\":\"${v}\"}}}`;\n }\n}\n\nclass AlienaliasRedirectHandler {\n get alienAliasService() {\n return this.es.getEntityCollectionService('AlienAlias');\n }\n constructor(siteName, es, router) {\n this.siteName = siteName;\n this.es = es;\n this.router = router;\n }\n redirect(route, state) {\n if (state.url.indexOf('pages') > -1) {\n console.log(`redirect: ${state.url}`);\n this.router.navigateByUrl(state.url);\n }\n else {\n const matchPathQuery = 'path=' + state.url.substr(1).split('/').reduce((p, c, i) => [...p, i === 0 ? `/${c}` : `${p[i - 1]}/${c}`], []).map(p => this.encodePathComponent(p)).join('&path=') + `&site=${encodeURIComponent(`{\"term\":{\"site.keyword\":{\"value\":\"${this.siteName}\"}}}`)}`;\n this.alienAliasService.getWithQuery(matchPathQuery).pipe(map(aa => aa.reduce((p, c) => p === undefined ? c : p.path.split('/').length < c.path.split('/').length ? c : p, undefined)), map(a => {\n const argPath = state.url.substr(1).split('/').slice(a.path.split('/').length - 1).join('/');\n return [a, argPath];\n })).subscribe(([a, argPath]) => {\n // this.router.onSameUrlNavigation.reload;\n // this.router.navigate(['reload']);\n console.log(`nagigvate to: ${a.path}${argPath === '' ? '' : `/${argPath}`}?${qs.stringify(route.queryParams)}`);\n this.router.navigateByUrl(`${a.path}${argPath === '' ? '' : `/${argPath}`}?${qs.stringify(route.queryParams)}`, /* Removed unsupported properties by Angular migration: queryParams, fragment. */ {});\n // this.router.navigateByUrl(`/pages/panelpage/${panelPage.id}${argPath === '' ? '' : `/${argPath}`}?${qs.stringify(route.queryParams)}`, {queryParams: { ...((route as ActivatedRouteSnapshot).queryParams) }, fragment: (route as ActivatedRouteSnapshot).fragment })\n });\n }\n }\n encodePathComponent(v) {\n return `{\"term\":{\"path.keyword\":{\"value\":\"${v}\"}}}`;\n }\n}\n\nconst alienaliasFactory = (siteName, es, router) => {\n const loadingStrategy = new AlienaliasLoadingStrategy(siteName, es, router);\n const matchingStrategy = new AlienaliasMatchingStrategy(siteName, es, router);\n const redirectHandler = new AlienaliasRedirectHandler(siteName, es, router);\n return new AlienaliasPlugin({ id: 'module', title: 'module', loadingStrategy, matchingStrategy, redirectHandler });\n};\n\n//import { EntityMetadataMap } from '@ngrx/data';\nconst entityMetadataFactory = (platformId, alienaliasSettings) => {\n return {\n AlienAlias: {\n entityName: 'AlienAlias',\n crud: {\n ...(isPlatformServer(platformId) ?\n {} :\n {\n aws_opensearch_template: {\n ops: ['query'],\n params: {\n id: 'panelpagelistitems',\n index: 'classified_alienalias',\n hits: true,\n source: true,\n domain: alienaliasSettings.openSearchDomain,\n region: 'us-east-1'\n }\n },\n }),\n ...(isPlatformServer(platformId) ?\n {} :\n {\n idb_keyval: {\n params: {\n prefix: 'alienalias__'\n },\n queryMappings: new Map([\n // ['path', { defaultOperator: 'startsWith' }]\n ['site', { defaultOperator: 'term||wildcard' }],\n ['path', { defaultOperator: 'term||wildcard' }]\n ])\n }\n })\n }\n }\n };\n};\n\nclass AlienaliasModule {\n constructor(siteName, platformId, alienalisSettings, apm, router, eds, es, entityDataService, crud, crudDataHelper) {\n const entityMetadata = entityMetadataFactory(platformId, alienalisSettings);\n eds.registerMetadataMap(entityMetadata);\n apm.register(alienaliasFactory(siteName, es, router));\n entityDataService.registerService('AlienAlias', new CrudDataService('AlienAlias', crud, eds, crudDataHelper));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AlienaliasModule, deps: [{ token: SITE_NAME }, { token: PLATFORM_ID }, { token: ALIENALIAS_SETTINGS }, { token: i1.AliasPluginManager }, { token: i2.Router }, { token: i3.EntityDefinitionService }, { token: i3.EntityServices }, { token: i3.EntityDataService }, { token: i4.CrudAdaptorPluginManager }, { token: i4.CrudDataHelperService }], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: AlienaliasModule }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AlienaliasModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AlienaliasModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [],\n imports: [],\n exports: []\n }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [SITE_NAME]\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [PLATFORM_ID]\n }] }, { type: AlienaliasSettings, decorators: [{\n type: Inject,\n args: [ALIENALIAS_SETTINGS]\n }] }, { type: i1.AliasPluginManager }, { type: i2.Router }, { type: i3.EntityDefinitionService }, { type: i3.EntityServices }, { type: i3.EntityDataService }, { type: i4.CrudAdaptorPluginManager }, { type: i4.CrudDataHelperService }]; } });\n\n/*\n * Public API Surface of alienalias\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { ALIENALIAS_SETTINGS, AlienAlias, AlienaliasModule, AlienaliasPlugin, AlienaliasSettings };\n","import * as i0 from '@angular/core';\nimport { Component, ViewEncapsulation, ViewChild, Input, NgModule } from '@angular/core';\nimport * as ReactDOM from 'react-dom';\n\nconst containerElementName = 'mfeReactComponent';\nclass MfeReactComponent {\n constructor() {\n }\n ngOnChanges(changes) {\n this.render();\n }\n ngAfterViewInit() {\n this.render();\n }\n ngOnDestroy() {\n ReactDOM.unmountComponentAtNode(this.containerRef.nativeElement);\n }\n render() {\n const c = this.component();\n ReactDOM.render(c, this.containerRef.nativeElement);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: MfeReactComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: MfeReactComponent, selector: \"druid-mfe-react\", inputs: { component: \"component\" }, viewQueries: [{ propertyName: \"containerRef\", first: true, predicate: [\"mfeReactComponent\"], descendants: true }], usesOnChanges: true, ngImport: i0, template: \"<span #mfeReactComponent></span>\", isInline: true, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: MfeReactComponent, decorators: [{\n type: Component,\n args: [{\n selector: 'druid-mfe-react',\n template: `<span #${containerElementName}></span>`,\n encapsulation: ViewEncapsulation.None,\n }]\n }], ctorParameters: function () { return []; }, propDecorators: { containerRef: [{\n type: ViewChild,\n args: [containerElementName, { static: false }]\n }], component: [{\n type: Input\n }] } });\n\nclass ReactModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ReactModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: ReactModule, declarations: [MfeReactComponent], exports: [MfeReactComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ReactModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ReactModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [\n MfeReactComponent\n ],\n imports: [],\n exports: [\n MfeReactComponent\n ]\n }]\n }] });\n\n/*\n * Public API Surface of react\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MfeReactComponent, ReactModule };\n","import { CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { Injectable, Component, Inject, Input, ViewContainerRef, ViewChild, NgModule } from '@angular/core';\nimport * as i2 from '@angular/forms';\nimport { Validators, UntypedFormControl, ReactiveFormsModule } from '@angular/forms';\nimport { MaterialModule } from '@rollthecloudinc/material';\nimport * as i1$1 from '@angular/material/legacy-dialog';\nimport { MAT_LEGACY_DIALOG_DATA } from '@angular/material/legacy-dialog';\nimport { Pane } from '@rollthecloudinc/panels';\nimport * as i1$2 from '@rollthecloudinc/content';\nimport { ContentPluginEditorOptions, ContentPlugin } from '@rollthecloudinc/content';\nimport { Dataset } from '@rollthecloudinc/datasource';\nimport { of, BehaviorSubject, map, tap, skip, switchMap, Observable } from 'rxjs';\nimport * as i1 from '@rollthecloudinc/attributes';\nimport * as i5 from '@angular/material/legacy-core';\nimport * as i6 from '@angular/material/legacy-button';\nimport * as i7 from '@angular/material/legacy-form-field';\nimport * as i8 from '@angular/material/legacy-input';\nimport * as i9 from '@angular/material/legacy-select';\nimport { loadRemoteModule } from '@angular-architects/module-federation';\nimport { MfeReactComponent } from '@rollthecloudinc/react';\n\nclass OutsideAppSettings {\n constructor(data) {\n if (data) {\n this.type = data.type && data.type !== '' ? data.type : 'module';\n this.remoteEntry = data.remoteEntry;\n this.componentName = data.componentName;\n this.exposedModule = data.exposedModule;\n this.remoteName = data.remoteName && data.remoteName !== '' ? data.remoteName : undefined;\n }\n }\n}\n\nclass OutsideAppContentHandler {\n constructor(attributeSerializer) {\n this.attributeSerializer = attributeSerializer;\n }\n handleFile(file) {\n return of([]);\n }\n handlesType(type) {\n return false;\n }\n implementsRendererOverride() {\n return false;\n }\n hasRendererOverride(settings) {\n return of(false);\n }\n isDynamic(settings) {\n return false;\n }\n isData(settings) {\n return false;\n }\n getBindings(settings, type, metadata) {\n // return of([ new ContentBinding({ id: 'ad', type: 'context' }) ]);\n // return of([]);\n if (type === 'pane') {\n /*return this.toObject(settings).pipe(\n switchMap(i => iif(\n () => i.datasourceBinding && i.datasourceBinding.id && i.datasourceBinding.id !== null,\n of([ i.datasourceBinding ]),\n of([])\n ))\n );*/\n return of([]);\n }\n else if (type === 'context') {\n // Needs to include datasource panes bindings as well.\n /*return this.toObject(settings).pipe(\n map(i => ({ i, dsPane: metadata && i.datasourceBinding && i.datasourceBinding.id && i.datasourceBinding.id !== null ? (metadata.get('dataPanes') as Array<Pane>).find(p => p.name === i.datasourceBinding.id) : undefined })),\n switchMap(({ dsPane }) => iif(\n () => !!dsPane,\n this.datasourceHandler.toObject(dsPane.settings).pipe(\n switchMap(bindedDatasource => iif(\n // Params from rest need to be hoisted into the datasource - this is a legacy work-around new datasources will have params in datasource object not nested.\n () => bindedDatasource.plugin === 'rest',\n of(this.attributeSerializer.deserializeAsObject(bindedDatasource.settings)).pipe(\n map(bSettings => ({ bindedDatasource: new Datasource({ ...bindedDatasource, params: bSettings.params }) }))\n ),\n of({ bindedDatasource })\n )),\n map(({ bindedDatasource }) => ({ dsPane: new Pane({ ...dsPane, settings: this.attributeSerializer.serialize(bindedDatasource, 'root').attributes }) })),\n ),\n of({ dsPane })\n )),\n switchMap(({ dsPane }) => iif(\n () => !!dsPane,\n dsPane ? this.datasourceHandler.getBindings(dsPane.settings, type, metadata) : of([]),\n of([])\n )),\n tap(bindings => console.log('formly field context bindings', bindings))\n );*/\n return of([]);\n }\n else {\n return of([]);\n }\n }\n fetchDynamicData(settings, metadata) {\n return of(new Dataset());\n }\n buildDynamicItems(settings, metadata) {\n return of([]);\n }\n toObject(settings) {\n return of(new OutsideAppSettings(this.attributeSerializer.deserializeAsObject(settings)));\n }\n buildSettings(instance) {\n return this.attributeSerializer.serialize(instance, 'root').attributes;\n }\n stateDefinition(settings) {\n return of({ autocomplete: { input: '' }, value: undefined });\n }\n editorOptions(settings) {\n return of(new ContentPluginEditorOptions());\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: OutsideAppContentHandler, deps: [{ token: i1.AttributeSerializerService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: OutsideAppContentHandler, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: OutsideAppContentHandler, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: i1.AttributeSerializerService }]; } });\n\nclass OutsideAppEditorComponent {\n get paneGroup() {\n return this.data.panelFormGroup.get('panes').at(this.paneIndex);\n }\n constructor(data, dialogRef, fb, handler, attributeSerializer) {\n this.data = data;\n this.dialogRef = dialogRef;\n this.fb = fb;\n this.handler = handler;\n this.attributeSerializer = attributeSerializer;\n this.bindableOptions = [];\n this.formGroup = this.fb.group({\n type: this.fb.control('module', [Validators.required]),\n remoteEntry: this.fb.control('', [Validators.required]),\n exposedModule: this.fb.control('', [Validators.required]),\n componentName: this.fb.control('', [Validators.required]),\n remoteName: this.fb.control('')\n });\n this.paneIndex = data.paneIndex;\n this.pane = data.pane;\n }\n ngOnInit() {\n if (this.data.pane) {\n this.handler.toObject(this.data.pane.settings).subscribe(o => {\n this.formGroup.get('type').setValue(o.type && o.type !== '' ? o.type : 'module');\n this.formGroup.get('remoteEntry').setValue(o.remoteEntry);\n this.formGroup.get('exposedModule').setValue(o.exposedModule);\n this.formGroup.get('componentName').setValue(o.componentName);\n this.formGroup.get('remoteName').setValue(o.remoteName);\n });\n }\n else {\n this.data.panelFormGroup.get('panes').push(this.fb.group({\n contentPlugin: this.data.plugin.id,\n name: new UntypedFormControl(''),\n label: new UntypedFormControl(''),\n rule: new UntypedFormControl(''),\n settings: this.fb.array([])\n }));\n this.paneIndex = this.data.panelFormGroup.get('panes').length - 1;\n this.pane = new Pane(this.data.panelFormGroup.get('panes').at(this.paneIndex).value);\n }\n this.bindableOptions = this.data.panelFormGroup.get('panes').controls.reduce((p, c) => (c.get('name').value ? [...p, c.get('name').value] : [...p]), []);\n }\n submit() {\n console.log(this.formGroup.value);\n const instance = new OutsideAppSettings(this.formGroup.value);\n console.log(instance);\n this.paneGroup.get('settings').clear();\n const controls = this.handler.buildSettings(instance).map(s => this.attributeSerializer.convertToGroup(s));\n controls.forEach(c => this.paneGroup.get('settings').push(c));\n this.dialogRef.close();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: OutsideAppEditorComponent, deps: [{ token: MAT_LEGACY_DIALOG_DATA }, { token: i1$1.MatLegacyDialogRef }, { token: i2.UntypedFormBuilder }, { token: OutsideAppContentHandler }, { token: i1.AttributeSerializerService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: OutsideAppEditorComponent, selector: \"druid-outsider-outside-app-editor\", inputs: { bindableOptions: \"bindableOptions\" }, ngImport: i0, template: \"<form [formGroup]=\\\"formGroup\\\" (ngSubmit)=\\\"submit()\\\">\\n\\n <div>\\n <mat-form-field>\\n <mat-label>Remote Entry</mat-label>\\n <mat-select formControlName=\\\"type\\\" required>\\n <mat-option value=\\\"module\\\">Module</mat-option>\\n <mat-option value=\\\"script\\\">Script</mat-option>\\n </mat-select>\\n </mat-form-field>\\n </div>\\n\\n <div>\\n <mat-form-field>\\n <mat-label>Remote Entry</mat-label>\\n <input matInput formControlName=\\\"remoteEntry\\\" required>\\n </mat-form-field>\\n </div>\\n\\n <div>\\n <mat-form-field>\\n <mat-label>Exposed Module</mat-label>\\n <input matInput formControlName=\\\"exposedModule\\\" required>\\n </mat-form-field>\\n </div>\\n\\n <div>\\n <mat-form-field>\\n <mat-label>Component Name</mat-label>\\n <input matInput formControlName=\\\"componentName\\\" required>\\n </mat-form-field>\\n </div>\\n\\n <div>\\n <mat-form-field>\\n <mat-label>Remote Name</mat-label>\\n <input matInput formControlName=\\\"remoteName\\\">\\n </mat-form-field>\\n </div>\\n\\n <button type=\\\"submit\\\" mat-raised-button color=\\\"primary\\\" mat-dialog-close>Save</button>\\n\\n</form>\", styles: [\"\"], dependencies: [{ kind: \"component\", type: i5.MatLegacyOption, selector: \"mat-option\", exportAs: [\"matOption\"] }, { kind: \"component\", type: i6.MatLegacyButton, selector: \"button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]\", inputs: [\"disabled\", \"disableRipple\", \"color\"], exportAs: [\"matButton\"] }, { kind: \"directive\", type: i1$1.MatLegacyDialogClose, selector: \"[mat-dialog-close], [matDialogClose]\", inputs: [\"aria-label\", \"type\", \"mat-dialog-close\", \"matDialogClose\"], exportAs: [\"matDialogClose\"] }, { kind: \"component\", type: i7.MatLegacyFormField, selector: \"mat-form-field\", inputs: [\"color\", \"appearance\", \"hideRequiredMarker\", \"hintLabel\", \"floatLabel\"], exportAs: [\"matFormField\"] }, { kind: \"directive\", type: i7.MatLegacyLabel, selector: \"mat-label\" }, { kind: \"directive\", type: i8.MatLegacyInput, selector: \"input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]\", exportAs: [\"matInput\"] }, { kind: \"component\", type: i9.MatLegacySelect, selector: \"mat-select\", inputs: [\"disabled\", \"disableRipple\", \"tabIndex\"], exportAs: [\"matSelect\"] }, { kind: \"directive\", type: i2.ɵNgNoValidate, selector: \"form:not([ngNoForm]):not([ngNativeValidate])\" }, { kind: \"directive\", type: i2.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i2.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i2.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i2.RequiredValidator, selector: \":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]\", inputs: [\"required\"] }, { kind: \"directive\", type: i2.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i2.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: OutsideAppEditorComponent, decorators: [{\n type: Component,\n args: [{ selector: 'druid-outsider-outside-app-editor', template: \"<form [formGroup]=\\\"formGroup\\\" (ngSubmit)=\\\"submit()\\\">\\n\\n <div>\\n <mat-form-field>\\n <mat-label>Remote Entry</mat-label>\\n <mat-select formControlName=\\\"type\\\" required>\\n <mat-option value=\\\"module\\\">Module</mat-option>\\n <mat-option value=\\\"script\\\">Script</mat-option>\\n </mat-select>\\n </mat-form-field>\\n </div>\\n\\n <div>\\n <mat-form-field>\\n <mat-label>Remote Entry</mat-label>\\n <input matInput formControlName=\\\"remoteEntry\\\" required>\\n </mat-form-field>\\n </div>\\n\\n <div>\\n <mat-form-field>\\n <mat-label>Exposed Module</mat-label>\\n <input matInput formControlName=\\\"exposedModule\\\" required>\\n </mat-form-field>\\n </div>\\n\\n <div>\\n <mat-form-field>\\n <mat-label>Component Name</mat-label>\\n <input matInput formControlName=\\\"componentName\\\" required>\\n </mat-form-field>\\n </div>\\n\\n <div>\\n <mat-form-field>\\n <mat-label>Remote Name</mat-label>\\n <input matInput formControlName=\\\"remoteName\\\">\\n </mat-form-field>\\n </div>\\n\\n <button type=\\\"submit\\\" mat-raised-button color=\\\"primary\\\" mat-dialog-close>Save</button>\\n\\n</form>\" }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [MAT_LEGACY_DIALOG_DATA]\n }] }, { type: i1$1.MatLegacyDialogRef }, { type: i2.UntypedFormBuilder }, { type: OutsideAppContentHandler }, { type: i1.AttributeSerializerService }]; }, propDecorators: { bindableOptions: [{\n type: Input\n }] } });\n\nclass OutsideAppRendererComponent {\n set settings(settings) {\n this.settings$.next(settings);\n }\n set contexts(contexts) {\n this.contexts$.next(contexts);\n }\n constructor(attributeSerializer) {\n this.attributeSerializer = attributeSerializer;\n this.objectSettings$ = new BehaviorSubject(undefined);\n this.contexts$ = new BehaviorSubject([]);\n this.settings$ = new BehaviorSubject([]);\n this.settingsSub = this.settings$.pipe(map(settings => settings ? new OutsideAppSettings(this.attributeSerializer.deserializeAsObject(settings)) : undefined), tap(s => this.objectSettings$.next(s))).subscribe();\n this.renderAppSub = this.objectSettings$.pipe(skip(1), switchMap(s => new Observable(obs => {\n loadRemoteModule(!s.type || s.type === 'script' ?\n {\n type: 'script',\n remoteEntry: s.remoteEntry,\n exposedModule: s.exposedModule,\n remoteName: s.remoteName // 'mfe_react_spear'\n } :\n {\n type: 'module',\n remoteEntry: s.remoteEntry,\n exposedModule: s.exposedModule\n }).then(m => {\n obs.next(m[s.componentName && s.componentName !== '' ? s.componentName : 'default']);\n obs.complete();\n });\n }).pipe(map(c => ({ s, c })))), tap(({ s, c }) => {\n this.viewContainer.clear();\n // Just assume scripts are react apps for now. KISS\n if (!s.type || s.type === 'script') {\n const comp = this.viewContainer.createComponent(MfeReactComponent);\n comp.instance.component = c;\n }\n else {\n this.viewContainer.createComponent(c);\n }\n })).subscribe();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: OutsideAppRendererComponent, deps: [{ token: i1.AttributeSerializerService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: OutsideAppRendererComponent, selector: \"druid-outsider-outside-app-renderer\", inputs: { settings: \"settings\", contexts: \"contexts\" }, viewQueries: [{ propertyName: \"viewContainer\", first: true, predicate: [\"appContainer\"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0, template: \"<ng-container #appContainer></ng-container>\", styles: [\"\"] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: OutsideAppRendererComponent, decorators: [{\n type: Component,\n args: [{ selector: 'druid-outsider-outside-app-renderer', template: \"<ng-container #appContainer></ng-container>\" }]\n }], ctorParameters: function () { return [{ type: i1.AttributeSerializerService }]; }, propDecorators: { settings: [{\n type: Input\n }], contexts: [{\n type: Input\n }], viewContainer: [{\n type: ViewChild,\n args: ['appContainer', { read: ViewContainerRef, static: true }]\n }] } });\n\nconst outsideAppPluginFactory = ({ handler }) => {\n return new ContentPlugin({\n id: 'outside_app',\n title: 'Outside App',\n selectionComponent: undefined,\n editorComponent: OutsideAppEditorComponent,\n renderComponent: OutsideAppRendererComponent,\n handler\n });\n};\n\nclass OutsiderModule {\n constructor(cpm, handler) {\n cpm.register(outsideAppPluginFactory({ handler }));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: OutsiderModule, deps: [{ token: i1$2.ContentPluginManager }, { token: OutsideAppContentHandler }], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: OutsiderModule, declarations: [OutsideAppEditorComponent,\n OutsideAppRendererComponent], imports: [CommonModule,\n MaterialModule,\n ReactiveFormsModule], exports: [OutsideAppEditorComponent,\n OutsideAppRendererComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: OutsiderModule, imports: [CommonModule,\n MaterialModule,\n ReactiveFormsModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: OutsiderModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [\n OutsideAppEditorComponent,\n OutsideAppRendererComponent\n ],\n imports: [\n CommonModule,\n MaterialModule,\n ReactiveFormsModule\n ],\n exports: [\n OutsideAppEditorComponent,\n OutsideAppRendererComponent\n ]\n }]\n }], ctorParameters: function () { return [{ type: i1$2.ContentPluginManager }, { type: OutsideAppContentHandler }]; } });\n\n/*\n * Public API Surface of outsider\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { OutsideAppContentHandler, OutsideAppEditorComponent, OutsideAppRendererComponent, OutsideAppSettings, OutsiderModule };\n","import { CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { forwardRef, Component, Input, ViewChild, Injectable, NgModule } from '@angular/core';\nimport * as i1 from '@angular/forms';\nimport { Validators, NG_VALUE_ACCESSOR, NG_VALIDATORS, FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport * as i1$1 from '@ngrx/effects';\nimport { createEffect, ofType, EffectsModule } from '@ngrx/effects';\nimport * as i1$3 from '@rollthecloudinc/context';\nimport { ContextPlugin, ContextModule } from '@rollthecloudinc/context';\nimport { MaterialModule } from '@rollthecloudinc/material';\nimport { BehaviorSubject, tap, switchMap, of, forkJoin } from 'rxjs';\nimport * as i2 from '@angular/material/legacy-form-field';\nimport * as i3 from '@angular/material/legacy-input';\nimport { loadRemoteModule } from '@angular-architects/module-federation';\nimport * as i2$1 from '@rollthecloudinc/panels';\nimport { setPage, setPageInfo } from '@rollthecloudinc/panels';\nimport * as i1$2 from '@rollthecloudinc/utils';\nimport * as i3$1 from '@ngrx/data';\nimport * as i2$2 from '@rollthecloudinc/content';\nimport { tap as tap$1, switchMap as switchMap$1, defaultIfEmpty, delay, map, take } from 'rxjs/operators';\n\nclass ContextModuleFormComponent {\n set context(context) {\n this.context$.next(context);\n }\n constructor(fb, controlContainer) {\n this.fb = fb;\n this.controlContainer = controlContainer;\n this.context$ = new BehaviorSubject(undefined);\n this.formGroup = this.fb.group({\n remoteEntry: this.fb.control('', [Validators.required]),\n exposedModule: this.fb.control('', [Validators.required]),\n moduleName: this.fb.control('', [Validators.required])\n });\n this.onTouched = () => { };\n }\n ngOnInit() {\n this.context$.subscribe(c => {\n if (c) {\n this.formGroup.setValue({\n remoteEntry: c.data.remoteEntry,\n exposedModule: c.data.exposedModule,\n moduleName: c.data.moduleName\n });\n }\n else {\n this.formGroup.setValue({\n remoteEntry: '',\n exposedModule: '',\n moduleName: ''\n });\n }\n });\n }\n writeValue(val) {\n if (val) {\n this.formGroup.setValue(val, { emitEvent: false });\n }\n }\n registerOnChange(fn) {\n this.formGroup.valueChanges.subscribe(fn);\n }\n registerOnTouched(fn) {\n this.onTouched = fn;\n }\n setDisabledState(isDisabled) {\n if (isDisabled) {\n this.formGroup.disable();\n }\n else {\n this.formGroup.enable();\n }\n }\n validate(c) {\n return this.formGroup.valid ? null : { invalidForm: { valid: false, message: \"source is invalid\" } };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ContextModuleFormComponent, deps: [{ token: i1.UntypedFormBuilder }, { token: i1.ControlContainer }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: ContextModuleFormComponent, selector: \"classifieds-ui-context-module-form\", inputs: { context: \"context\" }, providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => ContextModuleFormComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => ContextModuleFormComponent),\n multi: true\n },\n ], ngImport: i0, template: \"<div [formGroup]=\\\"formGroup\\\">\\n\\n <div>\\n <mat-form-field>\\n <mat-label>Remote Entry</mat-label>\\n <input matInput formControlName=\\\"remoteEntry\\\" required>\\n </mat-form-field>\\n </div>\\n\\n <div>\\n <mat-form-field>\\n <mat-label>Exposed Module</mat-label>\\n <input matInput formControlName=\\\"exposedModule\\\" required>\\n </mat-form-field>\\n </div>\\n\\n <div>\\n <mat-form-field>\\n <mat-label>Module Name</mat-label>\\n <input matInput formControlName=\\\"moduleName\\\" required>\\n </mat-form-field>\\n </div>\\n\\n</div>\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i1.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1.RequiredValidator, selector: \":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]\", inputs: [\"required\"] }, { kind: \"directive\", type: i1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: i2.MatLegacyFormField, selector: \"mat-form-field\", inputs: [\"color\", \"appearance\", \"hideRequiredMarker\", \"hintLabel\", \"floatLabel\"], exportAs: [\"matFormField\"] }, { kind: \"directive\", type: i2.MatLegacyLabel, selector: \"mat-label\" }, { kind: \"directive\", type: i3.MatLegacyInput, selector: \"input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]\", exportAs: [\"matInput\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ContextModuleFormComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-context-module-form', providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => ContextModuleFormComponent),\n multi: true\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => ContextModuleFormComponent),\n multi: true\n },\n ], template: \"<div [formGroup]=\\\"formGroup\\\">\\n\\n <div>\\n <mat-form-field>\\n <mat-label>Remote Entry</mat-label>\\n <input matInput formControlName=\\\"remoteEntry\\\" required>\\n </mat-form-field>\\n </div>\\n\\n <div>\\n <mat-form-field>\\n <mat-label>Exposed Module</mat-label>\\n <input matInput formControlName=\\\"exposedModule\\\" required>\\n </mat-form-field>\\n </div>\\n\\n <div>\\n <mat-form-field>\\n <mat-label>Module Name</mat-label>\\n <input matInput formControlName=\\\"moduleName\\\" required>\\n </mat-form-field>\\n </div>\\n\\n</div>\" }]\n }], ctorParameters: function () { return [{ type: i1.UntypedFormBuilder }, { type: i1.ControlContainer }]; }, propDecorators: { context: [{\n type: Input\n }] } });\n\nclass ContextModuleEditorComponent {\n constructor(fb, controlContainer) {\n this.fb = fb;\n this.controlContainer = controlContainer;\n }\n ngOnInit() {\n this.controlContainer.control.addControl('adaptor', this.fb.control('data', Validators.required));\n this.controlContainer.control.addControl('data', this.fb.control(''));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ContextModuleEditorComponent, deps: [{ token: i1.UntypedFormBuilder }, { token: i1.ControlContainer }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.5\", type: ContextModuleEditorComponent, selector: \"classifieds-ui-context-module-editor\", inputs: { context: \"context\" }, viewQueries: [{ propertyName: \"contextModuleFormComp\", first: true, predicate: ContextModuleFormComponent, descendants: true, static: true }], ngImport: i0, template: `<ng-container [formGroup]=\"controlContainer.control\"><classifieds-ui-context-module-form formControlName=\"data\" [context]=\"context\"></classifieds-ui-context-module-form></ng-container>`, isInline: true, styles: [\"\"], dependencies: [{ kind: \"directive\", type: i1.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i1.NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\" }, { kind: \"directive\", type: i1.FormGroupDirective, selector: \"[formGroup]\", inputs: [\"formGroup\"], outputs: [\"ngSubmit\"], exportAs: [\"ngForm\"] }, { kind: \"directive\", type: i1.FormControlName, selector: \"[formControlName]\", inputs: [\"formControlName\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"] }, { kind: \"component\", type: ContextModuleFormComponent, selector: \"classifieds-ui-context-module-form\", inputs: [\"context\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ContextModuleEditorComponent, decorators: [{\n type: Component,\n args: [{ selector: 'classifieds-ui-context-module-editor', template: `<ng-container [formGroup]=\"controlContainer.control\"><classifieds-ui-context-module-form formControlName=\"data\" [context]=\"context\"></classifieds-ui-context-module-form></ng-container>` }]\n }], ctorParameters: function () { return [{ type: i1.UntypedFormBuilder }, { type: i1.ControlContainer }]; }, propDecorators: { context: [{\n type: Input\n }], contextModuleFormComp: [{\n type: ViewChild,\n args: [ContextModuleFormComponent, { static: true }]\n }] } });\n\nclass PageBuilderBeamEffects {\n constructor(actions$, moduleLoaderService, es) {\n this.actions$ = actions$;\n this.moduleLoaderService = moduleLoaderService;\n this.es = es;\n this.setPage$ = createEffect(() => this.actions$.pipe(ofType(setPage), tap(({ page }) => {\n console.log('tractor beam capture page', page);\n if (page.contexts && Array.isArray(page.contexts)) {\n page.contexts.forEach(c => {\n if (c.plugin === 'module') {\n return this.moduleLoaderService.loadModule(() => loadRemoteModule({\n type: 'module',\n remoteEntry: c.data.remoteEntry,\n exposedModule: c.data.exposedModule\n }).then(m => m[c.data.moduleName])).subscribe();\n }\n });\n }\n })), { dispatch: false });\n this.setPageInfo$ = createEffect(() => this.actions$.pipe(ofType(setPageInfo), tap(({ info }) => {\n console.log('tractor beam info', info);\n }), switchMap(({ info }) => this.es.getEntityCollectionService('PanelPage').getByKey(info.id)), tap(pp => {\n if (pp.contexts && Array.isArray(pp.contexts)) {\n pp.contexts.forEach(c => {\n if (c.plugin === 'module') {\n return this.moduleLoaderService.loadModule(() => loadRemoteModule({\n type: 'module',\n remoteEntry: c.data.remoteEntry,\n exposedModule: c.data.exposedModule\n }).then(m => m[c.data.moduleName])).subscribe();\n }\n });\n }\n })), { dispatch: false });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PageBuilderBeamEffects, deps: [{ token: i1$1.Actions }, { token: i1$2.ModuleLoaderService }, { token: i3$1.EntityServices }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PageBuilderBeamEffects }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PageBuilderBeamEffects, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: i1$1.Actions }, { type: i1$2.ModuleLoaderService }, { type: i3$1.EntityServices }]; } });\n\nclass ModuleResolver {\n constructor(moduleLoaderService) {\n this.moduleLoaderService = moduleLoaderService;\n }\n resolve(ctx, data, metadata) {\n console.log('module resolver context', ctx, data, metadata);\n return this.moduleLoaderService.loadModule(() => loadRemoteModule({\n type: 'module',\n remoteEntry: data.remoteEntry,\n exposedModule: data.exposedModule\n }).then(m => m[data.moduleName]));\n /*return new Observable<undefined>(obs => {\n loadRemoteModule({\n type: 'module',\n remoteEntry: data.remoteEntry,\n exposedModule: data.exposedModule\n }).then(() => {\n console.log('module resolver loaded', ctx.name);\n obs.next();\n obs.complete();\n });\n });*/\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ModuleResolver, deps: [{ token: i1$2.ModuleLoaderService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ModuleResolver }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ModuleResolver, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: i1$2.ModuleLoaderService }]; } });\n\nconst moduleContextFactory = ({ moduleResolver }) => {\n return new ContextPlugin({\n id: 'module',\n name: 'module',\n title: 'Module',\n baseObject: {},\n resolver: moduleResolver,\n editorComponent: ContextModuleEditorComponent\n });\n};\n\nclass ExternalDiscovery {\n constructor(moduleLoader, pageBuilderFacade, es) {\n this.moduleLoader = moduleLoader;\n this.pageBuilderFacade = pageBuilderFacade;\n this.es = es;\n }\n loadPlugins() {\n return this.pageBuilderFacade.getPageInfo$.pipe(tap$1(() => console.log('started loading external modules')), switchMap$1(info => (info && info.id ? this.es.getEntityCollectionService('PanelPage').getByKey(info.id) : of(undefined)).pipe(defaultIfEmpty(undefined))), switchMap$1(pp => pp ? forkJoin(pp.contexts.filter(c => c.plugin === 'module').map(c => this.moduleLoader.loadModule(() => loadRemoteModule({\n type: 'module',\n remoteEntry: c.data.remoteEntry,\n exposedModule: c.data.exposedModule\n }).then(m => m[c.data.moduleName])))).pipe(delay(1), defaultIfEmpty([]))\n : of([])), tap$1(() => console.log('completed loading external modules')), map(() => true), take(1));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ExternalDiscovery, deps: [{ token: i1$2.ModuleLoaderService }, { token: i2$1.PageBuilderFacade }, { token: i3$1.EntityServices }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ExternalDiscovery, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ExternalDiscovery, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: i1$2.ModuleLoaderService }, { type: i2$1.PageBuilderFacade }, { type: i3$1.EntityServices }]; } });\n\nclass TractorbeamModule {\n constructor(cpm, ccpm, moduleResolver, externalDiscovey) {\n ccpm.addDiscovery(externalDiscovey);\n cpm.register(moduleContextFactory({ moduleResolver }));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: TractorbeamModule, deps: [{ token: i1$3.ContextPluginManager }, { token: i2$2.ContentPluginManager }, { token: ModuleResolver }, { token: ExternalDiscovery }], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: TractorbeamModule, declarations: [ContextModuleFormComponent,\n ContextModuleEditorComponent], imports: [CommonModule,\n FormsModule,\n ReactiveFormsModule,\n ContextModule,\n MaterialModule, i1$1.EffectsFeatureModule], exports: [ContextModuleFormComponent,\n ContextModuleEditorComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: TractorbeamModule, providers: [\n ModuleResolver\n ], imports: [CommonModule,\n FormsModule,\n ReactiveFormsModule,\n ContextModule,\n MaterialModule,\n EffectsModule.forFeature([PageBuilderBeamEffects])] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: TractorbeamModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [\n ContextModuleFormComponent,\n ContextModuleEditorComponent\n ],\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n ContextModule,\n MaterialModule,\n EffectsModule.forFeature([PageBuilderBeamEffects])\n ],\n exports: [\n ContextModuleFormComponent,\n ContextModuleEditorComponent\n ],\n providers: [\n ModuleResolver\n ]\n }]\n }], ctorParameters: function () { return [{ type: i1$3.ContextPluginManager }, { type: i2$2.ContentPluginManager }, { type: ModuleResolver }, { type: ExternalDiscovery }]; } });\n\n/*\n * Public API Surface of tractorbeam\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { ContextModuleEditorComponent, ContextModuleFormComponent, TractorbeamModule };\n","import * as i0 from '@angular/core';\nimport { NgModule, InjectionToken } from '@angular/core';\nimport { AwsRum } from 'aws-rum-web';\nimport { Observable } from 'rxjs';\n\nclass AwrumModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AwrumModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: AwrumModule }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AwrumModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AwrumModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [],\n imports: [],\n exports: []\n }]\n }] });\n\nconst initializeRumMonitorFactory = (rumSettings, zone) => {\n return () => new Observable(obs => {\n zone.runOutsideAngular(async () => {\n try {\n const config = {\n sessionSampleRate: 1,\n identityPoolId: rumSettings.identityPoolId,\n guestRoleArn: rumSettings.guestRoleArn,\n endpoint: \"https://dataplane.rum.\" + rumSettings.region + \".amazonaws.com\",\n telemetries: [\"performance\", \"errors\", \"http\"],\n allowCookies: true,\n enableXRay: true\n };\n const APPLICATION_ID = rumSettings.appId;\n const APPLICATION_VERSION = '1.0.0';\n const APPLICATION_REGION = rumSettings.region;\n const awsRum = new AwsRum(APPLICATION_ID, APPLICATION_VERSION, APPLICATION_REGION, config);\n }\n catch (error) {\n // Ignore errors thrown during CloudWatch RUM web client initialization\n }\n });\n obs.next();\n obs.complete();\n });\n};\n\nclass CloudwatchRumSettings {\n constructor(data) {\n if (data) {\n this.appId = data.appId;\n this.guestRoleArn = data.guestRoleArn;\n this.region = data.region;\n this.identityPoolId = data.identityPoolId;\n }\n }\n}\n\nconst CLOUDWATCH_RUM_SETTINGS = new InjectionToken('RumSettings');\n\n/*\n * Public API Surface of awrum\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { AwrumModule, CLOUDWATCH_RUM_SETTINGS, CloudwatchRumSettings, initializeRumMonitorFactory };\n","// Take note args used in demo paths can not be included here.\nexport const panelpages = [\n ['bb66aa62-8635-4015-86c9-ba4f208b0856', '/native_forms_rebuild_v1'],\n];","export const panelpages = [\n{\n\t\"contexts\": [],\n\t\"displayType\": \"page\",\n\t\"entityPermissions\": {\n\t\t\"deleteUserIds\": [],\n\t\t\"readUserIds\": [\n\t\t\t\"*\"\n\t\t],\n\t\t\"writeUserIds\": []\n\t},\n\t\"gridItems\": [],\n\t\"id\": \"200e4ab8-922c-4a9c-a760-77bce3facf92\",\n\t\"interactions\": {\n\t\t\"interactions\": {\n\t\t\t\"listeners\": []\n\t\t}\n\t},\n\t\"layoutSetting\": {\n\t\t\"settings\": []\n\t},\n\t\"layoutType\": \"gridless\",\n\t\"name\": \"hedge-test\",\n\t\"panels\": [\n\t\t{\n\t\t\t\"columnSetting\": {\n\t\t\t\t\"settings\": []\n\t\t\t},\n\t\t\t\"panes\": [\n\t\t\t\t{\n\t\t\t\t\t\"contentPlugin\": \"snippet\",\n\t\t\t\t\t\"contexts\": [],\n\t\t\t\t\t\"label\": \"\",\n\t\t\t\t\t\"locked\": false,\n\t\t\t\t\t\"name\": \"\",\n\t\t\t\t\t\"rule\": {\n\t\t\t\t\t\t\"condition\": \"\",\n\t\t\t\t\t\t\"rules\": []\n\t\t\t\t\t},\n\t\t\t\t\t\"settings\": [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"attributes\": [],\n\t\t\t\t\t\t\t\"computedValue\": \"text/html\",\n\t\t\t\t\t\t\t\"displayName\": \"Content Type\",\n\t\t\t\t\t\t\t\"name\": \"contentType\",\n\t\t\t\t\t\t\t\"type\": 1,\n\t\t\t\t\t\t\t\"value\": \"text/html\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"attributes\": [],\n\t\t\t\t\t\t\t\"computedValue\": \"This is a hedge compatibility test. Modified.\",\n\t\t\t\t\t\t\t\"displayName\": \"Content\",\n\t\t\t\t\t\t\t\"name\": \"content\",\n\t\t\t\t\t\t\t\"type\": 1,\n\t\t\t\t\t\t\t\"value\": \"This is a hedge compatibility test. Modified.\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"attributes\": [],\n\t\t\t\t\t\t\t\"computedValue\": null,\n\t\t\t\t\t\t\t\"displayName\": \"jsScript\",\n\t\t\t\t\t\t\t\"name\": \"jsScript\",\n\t\t\t\t\t\t\t\"type\": 1,\n\t\t\t\t\t\t\t\"value\": null\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"settings\": [],\n\t\t\t\"stylePlugin\": \"\"\n\t\t}\n\t],\n\t\"path\": \"/hedge-test\",\n\t\"persistence\": {\n\t\t\"dataduct\": {\n\t\t\t\"settings\": []\n\t\t}\n\t},\n\t\"rowSettings\": [\n\t\t{\n\t\t\t\"settings\": []\n\t\t}\n\t],\n\t\"site\": \"spearhead\",\n\t\"title\": \"Hedge Test\",\n\t\"userId\": \"b7a9bac5-5fef-4aa6-bf12-d536c156e453\"\n}\n,\n{\n\t\"contexts\": [\n\t\t{\n\t\t\t\"adaptor\": \"data\",\n\t\t\t\"data\": {\n\t\t\t\t\"exposedModule\": \"./JsonChartModule\",\n\t\t\t\t\"moduleName\": \"JsonChartModule\",\n\t\t\t\t\"remoteEntry\": \"http://localhost:3000/remoteEntry.js\"\n\t\t\t},\n\t\t\t\"name\": \"chart_module\",\n\t\t\t\"plugin\": \"module\"\n\t\t}\n\t],\n\t\"displayType\": \"page\",\n\t\"entityPermissions\": {\n\t\t\"deleteUserIds\": [],\n\t\t\"readUserIds\": [\n\t\t\t\"*\"\n\t\t],\n\t\t\"writeUserIds\": []\n\t},\n\t\"gridItems\": [],\n\t\"id\": \"286f9a5e-196d-4812-bd8a-235a164a1a97\",\n\t\"interactions\": {\n\t\t\"interactions\": {\n\t\t\t\"listeners\": []\n\t\t}\n\t},\n\t\"layoutSetting\": {\n\t\t\"settings\": []\n\t},\n\t\"layoutType\": \"gridless\",\n\t\"name\": \"am_charts_visual_editor_bar_chart_test\",\n\t\"panels\": [\n\t\t{\n\t\t\t\"columnSetting\": {\n\t\t\t\t\"settings\": []\n\t\t\t},\n\t\t\t\"panes\": [\n\t\t\t\t{\n\t\t\t\t\t\"contentPlugin\": \"amcharts5_json_chart\",\n\t\t\t\t\t\"contexts\": [],\n\t\t\t\t\t\"label\": \"\",\n\t\t\t\t\t\"locked\": false,\n\t\t\t\t\t\"name\": \"\",\n\t\t\t\t\t\"rule\": {\n\t\t\t\t\t\t\"condition\": \"\",\n\t\t\t\t\t\t\"rules\": []\n\t\t\t\t\t},\n\t\t\t\t\t\"settings\": [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"attributes\": [],\n\t\t\t\t\t\t\t\"computedValue\": \"{\\n \\\"type\\\": \\\"XYChart\\\",\\n \\\"data\\\": [{\\n \\\"category\\\": \\\"Category #1\\\",\\n \\\"value\\\": 3336\\n }, {\\n \\\"category\\\": \\\"Category #2\\\",\\n \\\"value\\\": 2517\\n }, {\\n \\\"category\\\": \\\"Category #3\\\",\\n \\\"value\\\": 784\\n }, {\\n \\\"category\\\": \\\"Category #4\\\",\\n \\\"value\\\": 2388\\n }, {\\n \\\"category\\\": \\\"Category #5\\\",\\n \\\"value\\\": 3581\\n }, {\\n \\\"category\\\": \\\"Category #6\\\",\\n \\\"value\\\": 690\\n }, {\\n \\\"category\\\": \\\"Category #7\\\",\\n \\\"value\\\": 4292\\n }, {\\n \\\"category\\\": \\\"Category #8\\\",\\n \\\"value\\\": 2254\\n }],\\n \\\"xAxes\\\": [{\\n \\\"type\\\": \\\"ValueAxis\\\"\\n }],\\n \\\"yAxes\\\": [{\\n \\\"type\\\": \\\"CategoryAxis\\\",\\n \\\"dataFields\\\": {\\n \\\"category\\\": \\\"category\\\"\\n }\\n }],\\n \\\"series\\\": [{\\n \\\"type\\\": \\\"ColumnSeries\\\",\\n \\\"columns\\\": {\\n \\\"template\\\": {\\n \\\"type\\\": \\\"Column\\\",\\n \\\"strokeOpacity\\\": 0,\\n \\\"tooltipText\\\": \\\"{categoryY}\\\\n{valueX}\\\",\\n \\\"tooltipPosition\\\": \\\"pointer\\\"\\n }\\n },\\n \\\"dataFields\\\": {\\n \\\"valueX\\\": \\\"value\\\",\\n \\\"categoryY\\\": \\\"category\\\"\\n },\\n \\\"sequencedInterpolation\\\": true,\\n \\\"sequencedInterpolationDelay\\\": 100\\n }]\\n}\",\n\t\t\t\t\t\t\t\"displayName\": \"JSON\",\n\t\t\t\t\t\t\t\"name\": \"json\",\n\t\t\t\t\t\t\t\"type\": 1,\n\t\t\t\t\t\t\t\"value\": \"{\\n \\\"type\\\": \\\"XYChart\\\",\\n \\\"data\\\": [{\\n \\\"category\\\": \\\"Category #1\\\",\\n \\\"value\\\": 3336\\n }, {\\n \\\"category\\\": \\\"Category #2\\\",\\n \\\"value\\\": 2517\\n }, {\\n \\\"category\\\": \\\"Category #3\\\",\\n \\\"value\\\": 784\\n }, {\\n \\\"category\\\": \\\"Category #4\\\",\\n \\\"value\\\": 2388\\n }, {\\n \\\"category\\\": \\\"Category #5\\\",\\n \\\"value\\\": 3581\\n }, {\\n \\\"category\\\": \\\"Category #6\\\",\\n \\\"value\\\": 690\\n }, {\\n \\\"category\\\": \\\"Category #7\\\",\\n \\\"value\\\": 4292\\n }, {\\n \\\"category\\\": \\\"Category #8\\\",\\n \\\"value\\\": 2254\\n }],\\n \\\"xAxes\\\": [{\\n \\\"type\\\": \\\"ValueAxis\\\"\\n }],\\n \\\"yAxes\\\": [{\\n \\\"type\\\": \\\"CategoryAxis\\\",\\n \\\"dataFields\\\": {\\n \\\"category\\\": \\\"category\\\"\\n }\\n }],\\n \\\"series\\\": [{\\n \\\"type\\\": \\\"ColumnSeries\\\",\\n \\\"columns\\\": {\\n \\\"template\\\": {\\n \\\"type\\\": \\\"Column\\\",\\n \\\"strokeOpacity\\\": 0,\\n \\\"tooltipText\\\": \\\"{categoryY}\\\\n{valueX}\\\",\\n \\\"tooltipPosition\\\": \\\"pointer\\\"\\n }\\n },\\n \\\"dataFields\\\": {\\n \\\"valueX\\\": \\\"value\\\",\\n \\\"categoryY\\\": \\\"category\\\"\\n },\\n \\\"sequencedInterpolation\\\": true,\\n \\\"sequencedInterpolationDelay\\\": 100\\n }]\\n}\"\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"settings\": [],\n\t\t\t\"stylePlugin\": \"\"\n\t\t}\n\t],\n\t\"path\": \"/am-charts-visual-editor-bar-chart-test\",\n\t\"persistence\": {\n\t\t\"dataduct\": {\n\t\t\t\"settings\": []\n\t\t}\n\t},\n\t\"rowSettings\": [\n\t\t{\n\t\t\t\"settings\": []\n\t\t}\n\t],\n\t\"site\": \"spearhead\",\n\t\"title\": \"Visual Editor Bar Chart\",\n\t\"userId\": \"b7a9bac5-5fef-4aa6-bf12-d536c156e453\"\n}\n,\n{\n\t\"contexts\": [\n\t\t{\n\t\t\t\"adaptor\": \"data\",\n\t\t\t\"data\": {\n\t\t\t\t\"exposedModule\": \"./JsonChartModule\",\n\t\t\t\t\"moduleName\": \"JsonChartModule\",\n\t\t\t\t\"remoteEntry\": \"https://rollthecloudinc.github.io/plugin-amcharts5-build/remoteEntry.js\"\n\t\t\t},\n\t\t\t\"name\": \"chart_module\",\n\t\t\t\"plugin\": \"module\"\n\t\t}\n\t],\n\t\"displayType\": \"page\",\n\t\"entityPermissions\": {\n\t\t\"deleteUserIds\": [],\n\t\t\"readUserIds\": [\n\t\t\t\"*\"\n\t\t],\n\t\t\"writeUserIds\": []\n\t},\n\t\"gridItems\": [],\n\t\"id\": \"479f66de-7468-47fa-a649-9fd476b754ab\",\n\t\"interactions\": {\n\t\t\"interactions\": {\n\t\t\t\"listeners\": []\n\t\t}\n\t},\n\t\"layoutSetting\": {\n\t\t\"settings\": []\n\t},\n\t\"layoutType\": \"gridless\",\n\t\"name\": \"test_amcharts5_plugin_v1\",\n\t\"panels\": [\n\t\t{\n\t\t\t\"columnSetting\": {\n\t\t\t\t\"settings\": [ ]\n\t\t\t},\n\t\t\t\"label\": \"\",\n\t\t\t\"name\": \"\",\n\t\t\t\"panes\": [\n\t\t\t\t{\n\t\t\t\t\t\"contentPlugin\": \"amcharts5_json_chart\",\n\t\t\t\t\t\"label\": \"\",\n\t\t\t\t\t\"linkedPageId\": \"\",\n\t\t\t\t\t\"locked\": false,\n\t\t\t\t\t\"name\": \"\",\n\t\t\t\t\t\"rule\": {\n\t\t\t\t\t\t\"condition\": \"\",\n\t\t\t\t\t\t\"field\": \"\",\n\t\t\t\t\t\t\"operator\": \"\",\n\t\t\t\t\t\t\"rules\": [ ],\n\t\t\t\t\t\t\"value\": \"\"\n\t\t\t\t\t},\n\t\t\t\t\t\"settings\": [ ]\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"settings\": [ ],\n\t\t\t\"stylePlugin\": \"\"\n\t\t}\n\t],\n\t\"path\": \"/test-amcharts5-plugin-v1\",\n\t\"persistence\": {\n\t\t\"dataduct\": {\n\t\t\t\"settings\": []\n\t\t}\n\t},\n\t\"rowSettings\": [\n\t\t{\n\t\t\t\"settings\": []\n\t\t}\n\t],\n\t\"site\": \"spearhead\",\n\t\"title\": \"Test AmCharts5 Plugin v1\",\n\t\"userId\": \"b7a9bac5-5fef-4aa6-bf12-d536c156e453\"\n}\n,\n{\n\t\"contexts\": [\n\t\t{\n\t\t\t\"adaptor\": \"data\",\n\t\t\t\"data\": {\n\t\t\t\t\"exposedModule\": \"./JsonChartModule\",\n\t\t\t\t\"moduleName\": \"JsonChartModule\",\n\t\t\t\t\"remoteEntry\": \"http://localhost:3000/remoteEntry.js\"\n\t\t\t},\n\t\t\t\"name\": \"chart_module\",\n\t\t\t\"plugin\": \"module\"\n\t\t}\n\t],\n\t\"displayType\": \"page\",\n\t\"entityPermissions\": {\n\t\t\"deleteUserIds\": [],\n\t\t\"readUserIds\": [\n\t\t\t\"*\"\n\t\t],\n\t\t\"writeUserIds\": []\n\t},\n\t\"gridItems\": [],\n\t\"id\": \"5494f47d-473c-49b4-bbef-f563be722131\",\n\t\"interactions\": {\n\t\t\"interactions\": {\n\t\t\t\"listeners\": []\n\t\t}\n\t},\n\t\"layoutSetting\": {\n\t\t\"settings\": [\n\t\t\t{\n\t\t\t\t\"attributes\": [],\n\t\t\t\t\"computedValue\": \"column\",\n\t\t\t\t\"displayName\": \"Direction\",\n\t\t\t\t\"name\": \"direction\",\n\t\t\t\t\"type\": 1,\n\t\t\t\t\"value\": \"column\"\n\t\t\t}\n\t\t]\n\t},\n\t\"layoutType\": \"gridless\",\n\t\"name\": \"plugin-amcharts-refs-test-1\",\n\t\"panels\": [\n\t\t{\n\t\t\t\"columnSetting\": {\n\t\t\t\t\"settings\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"attributes\": [],\n\t\t\t\t\t\t\"computedValue\": \"100%\",\n\t\t\t\t\t\t\"displayName\": \"Height\",\n\t\t\t\t\t\t\"name\": \"height\",\n\t\t\t\t\t\t\"type\": 1,\n\t\t\t\t\t\t\"value\": \"100%\"\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t},\n\t\t\t\"panes\": [\n\t\t\t\t{\n\t\t\t\t\t\"contentPlugin\": \"amcharts5_json_chart\",\n\t\t\t\t\t\"contexts\": [],\n\t\t\t\t\t\"label\": \"\",\n\t\t\t\t\t\"locked\": false,\n\t\t\t\t\t\"name\": \"\",\n\t\t\t\t\t\"rule\": {\n\t\t\t\t\t\t\"condition\": \"\",\n\t\t\t\t\t\t\"rules\": []\n\t\t\t\t\t},\n\t\t\t\t\t\"settings\": [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"attributes\": [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\"attributes\": [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\"attributes\": [],\n\t\t\t\t\t\t\t\t\t\t\t\"computedValue\": \"data\",\n\t\t\t\t\t\t\t\t\t\t\t\"displayName\": \"name\",\n\t\t\t\t\t\t\t\t\t\t\t\"name\": \"name\",\n\t\t\t\t\t\t\t\t\t\t\t\"type\": 1,\n\t\t\t\t\t\t\t\t\t\t\t\"value\": \"data\"\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\"attributes\": [],\n\t\t\t\t\t\t\t\t\t\t\t\"computedValue\": \"data\",\n\t\t\t\t\t\t\t\t\t\t\t\"displayName\": \"id\",\n\t\t\t\t\t\t\t\t\t\t\t\"name\": \"id\",\n\t\t\t\t\t\t\t\t\t\t\t\"type\": 1,\n\t\t\t\t\t\t\t\t\t\t\t\"value\": \"data\"\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\"attributes\": [],\n\t\t\t\t\t\t\t\t\t\t\t\"computedValue\": \"undefined\",\n\t\t\t\t\t\t\t\t\t\t\t\"displayName\": \"type\",\n\t\t\t\t\t\t\t\t\t\t\t\"name\": \"type\",\n\t\t\t\t\t\t\t\t\t\t\t\"type\": 0,\n\t\t\t\t\t\t\t\t\t\t\t\"value\": \"undefined\"\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\t\"computedValue\": null,\n\t\t\t\t\t\t\t\t\t\"displayName\": \"0\",\n\t\t\t\t\t\t\t\t\t\"name\": \"0\",\n\t\t\t\t\t\t\t\t\t\"type\": 2,\n\t\t\t\t\t\t\t\t\t\"value\": null\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\"computedValue\": null,\n\t\t\t\t\t\t\t\"displayName\": \"refs\",\n\t\t\t\t\t\t\t\"name\": \"refs\",\n\t\t\t\t\t\t\t\"type\": 4,\n\t\t\t\t\t\t\t\"value\": null\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"attributes\": [],\n\t\t\t\t\t\t\t\"computedValue\": \"{\\n \\\"type\\\": \\\"XYChart\\\",\\n \\\"refs\\\": {\\n \\\"data\\\": [],\\n \\\"xAxis\\\": {\\n \\\"type\\\": \\\"DateAxis\\\",\\n \\\"settings\\\": {\\n \\\"maxDeviation\\\": 0.5,\\n \\\"baseInterval\\\": {\\n \\\"timeUnit\\\": \\\"day\\\",\\n \\\"count\\\": 1\\n },\\n \\\"renderer\\\": {\\n \\\"type\\\": \\\"AxisRendererX\\\"\\n }\\n }\\n },\\n \\\"yAxis\\\": {\\n \\\"type\\\": \\\"ValueAxis\\\",\\n \\\"settings\\\": {\\n \\\"maxDeviation\\\": 1,\\n \\\"renderer\\\": {\\n \\\"type\\\": \\\"AxisRendererY\\\"\\n }\\n }\\n }\\n },\\n \\\"settings\\\": {\\n \\\"panX\\\": false,\\n \\\"panY\\\": false,\\n \\\"wheelX\\\": \\\"panX\\\",\\n \\\"wheelY\\\": \\\"zoomX\\\",\\n \\\"scrollbarX\\\": {\\n \\\"type\\\": \\\"Scrollbar\\\",\\n \\\"settings\\\": {\\n \\\"orientation\\\": \\\"horizontal\\\"\\n }\\n }\\n },\\n \\\"properties\\\": {\\n \\\"xAxes\\\": [\\n \\\"#xAxis\\\"\\n ],\\n \\\"yAxes\\\": [\\n \\\"#yAxis\\\"\\n ],\\n \\\"series\\\": [\\n {\\n \\\"type\\\": \\\"LineSeries\\\",\\n \\\"settings\\\": {\\n \\\"name\\\": \\\"Series\\\",\\n \\\"xAxis\\\": \\\"#xAxis\\\",\\n \\\"yAxis\\\": \\\"#yAxis\\\",\\n \\\"valueYField\\\": \\\"value\\\",\\n \\\"valueXField\\\": \\\"date\\\",\\n \\\"tooltip\\\": {\\n \\\"type\\\": \\\"Tooltip\\\",\\n \\\"settings\\\": {\\n \\\"labelText\\\": \\\"{valueX}: {valueY}\\\"\\n }\\n }\\n },\\n \\\"properties\\\": {\\n \\\"data\\\": \\\"#data\\\"\\n }\\n }\\n ]\\n }\\n}\",\n\t\t\t\t\t\t\t\"displayName\": \"json\",\n\t\t\t\t\t\t\t\"name\": \"json\",\n\t\t\t\t\t\t\t\"type\": 1,\n\t\t\t\t\t\t\t\"value\": \"{\\n \\\"type\\\": \\\"XYChart\\\",\\n \\\"refs\\\": {\\n \\\"data\\\": [],\\n \\\"xAxis\\\": {\\n \\\"type\\\": \\\"DateAxis\\\",\\n \\\"settings\\\": {\\n \\\"maxDeviation\\\": 0.5,\\n \\\"baseInterval\\\": {\\n \\\"timeUnit\\\": \\\"day\\\",\\n \\\"count\\\": 1\\n },\\n \\\"renderer\\\": {\\n \\\"type\\\": \\\"AxisRendererX\\\"\\n }\\n }\\n },\\n \\\"yAxis\\\": {\\n \\\"type\\\": \\\"ValueAxis\\\",\\n \\\"settings\\\": {\\n \\\"maxDeviation\\\": 1,\\n \\\"renderer\\\": {\\n \\\"type\\\": \\\"AxisRendererY\\\"\\n }\\n }\\n }\\n },\\n \\\"settings\\\": {\\n \\\"panX\\\": false,\\n \\\"panY\\\": false,\\n \\\"wheelX\\\": \\\"panX\\\",\\n \\\"wheelY\\\": \\\"zoomX\\\",\\n \\\"scrollbarX\\\": {\\n \\\"type\\\": \\\"Scrollbar\\\",\\n \\\"settings\\\": {\\n \\\"orientation\\\": \\\"horizontal\\\"\\n }\\n }\\n },\\n \\\"properties\\\": {\\n \\\"xAxes\\\": [\\n \\\"#xAxis\\\"\\n ],\\n \\\"yAxes\\\": [\\n \\\"#yAxis\\\"\\n ],\\n \\\"series\\\": [\\n {\\n \\\"type\\\": \\\"LineSeries\\\",\\n \\\"settings\\\": {\\n \\\"name\\\": \\\"Series\\\",\\n \\\"xAxis\\\": \\\"#xAxis\\\",\\n \\\"yAxis\\\": \\\"#yAxis\\\",\\n \\\"valueYField\\\": \\\"value\\\",\\n \\\"valueXField\\\": \\\"date\\\",\\n \\\"tooltip\\\": {\\n \\\"type\\\": \\\"Tooltip\\\",\\n \\\"settings\\\": {\\n \\\"labelText\\\": \\\"{valueX}: {valueY}\\\"\\n }\\n }\\n },\\n \\\"properties\\\": {\\n \\\"data\\\": \\\"#data\\\"\\n }\\n }\\n ]\\n }\\n}\"\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"contentPlugin\": \"datasource\",\n\t\t\t\t\t\"contexts\": [],\n\t\t\t\t\t\"label\": \"data\",\n\t\t\t\t\t\"locked\": false,\n\t\t\t\t\t\"name\": \"data\",\n\t\t\t\t\t\"rule\": {\n\t\t\t\t\t\t\"condition\": \"\",\n\t\t\t\t\t\t\"rules\": []\n\t\t\t\t\t},\n\t\t\t\t\t\"settings\": [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"attributes\": [],\n\t\t\t\t\t\t\t\"computedValue\": \"data\",\n\t\t\t\t\t\t\t\"displayName\": \"plugin\",\n\t\t\t\t\t\t\t\"name\": \"plugin\",\n\t\t\t\t\t\t\t\"type\": 1,\n\t\t\t\t\t\t\t\"value\": \"data\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"attributes\": [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\"attributes\": [],\n\t\t\t\t\t\t\t\t\t\"computedValue\": \"[\\n { \\\"date\\\": 1652425200000, \\\"value\\\": 92 },\\n { \\\"date\\\": 1652511600000, \\\"value\\\": 95 },\\n { \\\"date\\\": 1652598000000, \\\"value\\\": 100 },\\n { \\\"date\\\": 1652684400000, \\\"value\\\": 100 },\\n { \\\"date\\\": 1652770800000, \\\"value\\\": 96 },\\n { \\\"date\\\": 1652857200000, \\\"value\\\": 97 },\\n { \\\"date\\\": 1652943600000, \\\"value\\\": 94 },\\n { \\\"date\\\": 1653030000000, \\\"value\\\": 89 },\\n { \\\"date\\\": 1653116400000, \\\"value\\\": 89 },\\n { \\\"date\\\": 1653202800000, \\\"value\\\": 87 },\\n { \\\"date\\\": 1653289200000, \\\"value\\\": 84 },\\n { \\\"date\\\": 1653375600000, \\\"value\\\": 81 },\\n { \\\"date\\\": 1653462000000, \\\"value\\\": 85 },\\n { \\\"date\\\": 1653548400000, \\\"value\\\": 89 },\\n { \\\"date\\\": 1653634800000, \\\"value\\\": 86 },\\n { \\\"date\\\": 1653721200000, \\\"value\\\": 90 },\\n { \\\"date\\\": 1653807600000, \\\"value\\\": 93 },\\n { \\\"date\\\": 1653894000000, \\\"value\\\": 94 },\\n { \\\"date\\\": 1653980400000, \\\"value\\\": 94 },\\n { \\\"date\\\": 1654066800000, \\\"value\\\": 96 }\\n]\",\n\t\t\t\t\t\t\t\t\t\"displayName\": \"data\",\n\t\t\t\t\t\t\t\t\t\"name\": \"data\",\n\t\t\t\t\t\t\t\t\t\"type\": 1,\n\t\t\t\t\t\t\t\t\t\"value\": \"[\\n { \\\"date\\\": 1652425200000, \\\"value\\\": 92 },\\n { \\\"date\\\": 1652511600000, \\\"value\\\": 95 },\\n { \\\"date\\\": 1652598000000, \\\"value\\\": 100 },\\n { \\\"date\\\": 1652684400000, \\\"value\\\": 100 },\\n { \\\"date\\\": 1652770800000, \\\"value\\\": 96 },\\n { \\\"date\\\": 1652857200000, \\\"value\\\": 97 },\\n { \\\"date\\\": 1652943600000, \\\"value\\\": 94 },\\n { \\\"date\\\": 1653030000000, \\\"value\\\": 89 },\\n { \\\"date\\\": 1653116400000, \\\"value\\\": 89 },\\n { \\\"date\\\": 1653202800000, \\\"value\\\": 87 },\\n { \\\"date\\\": 1653289200000, \\\"value\\\": 84 },\\n { \\\"date\\\": 1653375600000, \\\"value\\\": 81 },\\n { \\\"date\\\": 1653462000000, \\\"value\\\": 85 },\\n { \\\"date\\\": 1653548400000, \\\"value\\\": 89 },\\n { \\\"date\\\": 1653634800000, \\\"value\\\": 86 },\\n { \\\"date\\\": 1653721200000, \\\"value\\\": 90 },\\n { \\\"date\\\": 1653807600000, \\\"value\\\": 93 },\\n { \\\"date\\\": 1653894000000, \\\"value\\\": 94 },\\n { \\\"date\\\": 1653980400000, \\\"value\\\": 94 },\\n { \\\"date\\\": 1654066800000, \\\"value\\\": 96 }\\n]\"\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\"computedValue\": null,\n\t\t\t\t\t\t\t\"displayName\": \"settings\",\n\t\t\t\t\t\t\t\"name\": \"settings\",\n\t\t\t\t\t\t\t\"type\": 2,\n\t\t\t\t\t\t\t\"value\": null\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"attributes\": [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\"attributes\": [],\n\t\t\t\t\t\t\t\t\t\"computedValue\": \"pane\",\n\t\t\t\t\t\t\t\t\t\"displayName\": \"type\",\n\t\t\t\t\t\t\t\t\t\"name\": \"type\",\n\t\t\t\t\t\t\t\t\t\"type\": 1,\n\t\t\t\t\t\t\t\t\t\"value\": \"pane\"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\"attributes\": [],\n\t\t\t\t\t\t\t\t\t\"computedValue\": null,\n\t\t\t\t\t\t\t\t\t\"displayName\": \"bindings\",\n\t\t\t\t\t\t\t\t\t\"name\": \"bindings\",\n\t\t\t\t\t\t\t\t\t\"type\": 4,\n\t\t\t\t\t\t\t\t\t\"value\": null\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\"computedValue\": null,\n\t\t\t\t\t\t\t\"displayName\": \"renderer\",\n\t\t\t\t\t\t\t\"name\": \"renderer\",\n\t\t\t\t\t\t\t\"type\": 2,\n\t\t\t\t\t\t\t\"value\": null\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"settings\": [],\n\t\t\t\"stylePlugin\": \"\"\n\t\t},\n\t\t{\n\t\t\t\"columnSetting\": {\n\t\t\t\t\"settings\": []\n\t\t\t},\n\t\t\t\"panes\": [],\n\t\t\t\"settings\": [],\n\t\t\t\"stylePlugin\": \"\"\n\t\t}\n\t],\n\t\"path\": \"/plugin-amcharts-refs-test-1\",\n\t\"persistence\": {\n\t\t\"dataduct\": {\n\t\t\t\"settings\": []\n\t\t}\n\t},\n\t\"rowSettings\": [\n\t\t{\n\t\t\t\"settings\": [\n\t\t\t\t{\n\t\t\t\t\t\"attributes\": [],\n\t\t\t\t\t\"computedValue\": \"1\",\n\t\t\t\t\t\"displayName\": \"Flex Grow\",\n\t\t\t\t\t\"name\": \"flexGrow\",\n\t\t\t\t\t\"type\": 1,\n\t\t\t\t\t\"value\": \"1\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"attributes\": [],\n\t\t\t\t\t\"computedValue\": \"1\",\n\t\t\t\t\t\"displayName\": \"Flex Shrink\",\n\t\t\t\t\t\"name\": \"flexShrink\",\n\t\t\t\t\t\"type\": 1,\n\t\t\t\t\t\"value\": \"1\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"attributes\": [],\n\t\t\t\t\t\"computedValue\": \"1\",\n\t\t\t\t\t\"displayName\": \"Flex Basis\",\n\t\t\t\t\t\"name\": \"flexBasis\",\n\t\t\t\t\t\"type\": 1,\n\t\t\t\t\t\"value\": \"1\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"attributes\": [],\n\t\t\t\t\t\"computedValue\": \"100%\",\n\t\t\t\t\t\"displayName\": \"Height\",\n\t\t\t\t\t\"name\": \"height\",\n\t\t\t\t\t\"type\": 1,\n\t\t\t\t\t\"value\": \"100%\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"attributes\": [],\n\t\t\t\t\t\"computedValue\": \"row\",\n\t\t\t\t\t\"displayName\": \"Direction\",\n\t\t\t\t\t\"name\": \"direction\",\n\t\t\t\t\t\"type\": 1,\n\t\t\t\t\t\"value\": \"row\"\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t{\n\t\t\t\"settings\": []\n\t\t}\n\t],\n\t\"site\": \"spearhead\",\n\t\"title\": \"plugin-amcharts-refs-test-1\",\n\t\"userId\": \"b7a9bac5-5fef-4aa6-bf12-d536c156e453\"\n}\n,\n{\n\t\"contexts\": [\n\t\t{\n\t\t\t\"adaptor\": \"data\",\n\t\t\t\"data\": {\n\t\t\t\t\"exposedModule\": \"./JsonChartModule\",\n\t\t\t\t\"moduleName\": \"JsonChartModule\",\n\t\t\t\t\"remoteEntry\": \"http://localhost:3000/remoteEntry.js\"\n\t\t\t},\n\t\t\t\"name\": \"chart_module\",\n\t\t\t\"plugin\": \"module\"\n\t\t}\n\t],\n\t\"displayType\": \"page\",\n\t\"entityPermissions\": {\n\t\t\"deleteUserIds\": [],\n\t\t\"readUserIds\": [\n\t\t\t\"*\"\n\t\t],\n\t\t\"writeUserIds\": []\n\t},\n\t\"gridItems\": [],\n\t\"id\": \"8ebbcdb3-300f-4739-8cb3-6c5d4c402638\",\n\t\"interactions\": {\n\t\t\"interactions\": {\n\t\t\t\"listeners\": []\n\t\t}\n\t},\n\t\"layoutSetting\": {\n\t\t\"settings\": []\n\t},\n\t\"layoutType\": \"gridless\",\n\t\"name\": \"am_charts_visual_editor_bar_chart_test\",\n\t\"panels\": [\n\t\t{\n\t\t\t\"columnSetting\": {\n\t\t\t\t\"settings\": []\n\t\t\t},\n\t\t\t\"panes\": [\n\t\t\t\t{\n\t\t\t\t\t\"contentPlugin\": \"amcharts5_json_chart\",\n\t\t\t\t\t\"contexts\": [],\n\t\t\t\t\t\"label\": \"\",\n\t\t\t\t\t\"locked\": false,\n\t\t\t\t\t\"name\": \"\",\n\t\t\t\t\t\"settings\": [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"attributes\": [],\n\t\t\t\t\t\t\t\"computedValue\": \"{\\n \\\"type\\\": \\\"XYChart\\\",\\n \\\"data\\\": [{\\n \\\"category\\\": \\\"Category #1\\\",\\n \\\"value\\\": 3336\\n }, {\\n \\\"category\\\": \\\"Category #2\\\",\\n \\\"value\\\": 2517\\n }, {\\n \\\"category\\\": \\\"Category #3\\\",\\n \\\"value\\\": 784\\n }, {\\n \\\"category\\\": \\\"Category #4\\\",\\n \\\"value\\\": 2388\\n }, {\\n \\\"category\\\": \\\"Category #5\\\",\\n \\\"value\\\": 3581\\n }, {\\n \\\"category\\\": \\\"Category #6\\\",\\n \\\"value\\\": 690\\n }, {\\n \\\"category\\\": \\\"Category #7\\\",\\n \\\"value\\\": 4292\\n }, {\\n \\\"category\\\": \\\"Category #8\\\",\\n \\\"value\\\": 2254\\n }],\\n \\\"xAxes\\\": [{\\n \\\"type\\\": \\\"ValueAxis\\\",\\n \\\"renderer\\\": {\\n \\\"maxLabelPosition\\\": 0.98\\n }\\n }],\\n \\\"yAxes\\\": [{\\n \\\"type\\\": \\\"CategoryAxis\\\",\\n \\\"dataFields\\\": {\\n \\\"category\\\": \\\"category\\\"\\n },\\n \\\"renderer\\\": {\\n \\\"grid\\\": {\\n \\\"template\\\": {\\n \\\"type\\\": \\\"Grid\\\",\\n \\\"location\\\": 0\\n }\\n },\\n \\\"minGridDistance\\\": 20\\n }\\n }],\\n \\\"series\\\": [{\\n \\\"type\\\": \\\"ColumnSeries\\\",\\n \\\"columns\\\": {\\n \\\"template\\\": {\\n \\\"type\\\": \\\"Column\\\",\\n \\\"strokeOpacity\\\": 0,\\n \\\"tooltipText\\\": \\\"{categoryY}\\\\n{valueX}\\\",\\n \\\"tooltipPosition\\\": \\\"pointer\\\"\\n }\\n },\\n \\\"dataFields\\\": {\\n \\\"valueX\\\": \\\"value\\\",\\n \\\"categoryY\\\": \\\"category\\\"\\n },\\n \\\"sequencedInterpolation\\\": true,\\n \\\"sequencedInterpolationDelay\\\": 100\\n }]\\n}\",\n\t\t\t\t\t\t\t\"displayName\": \"JSON\",\n\t\t\t\t\t\t\t\"name\": \"json\",\n\t\t\t\t\t\t\t\"type\": 1,\n\t\t\t\t\t\t\t\"value\": \"{\\n \\\"type\\\": \\\"XYChart\\\",\\n \\\"data\\\": [{\\n \\\"category\\\": \\\"Category #1\\\",\\n \\\"value\\\": 3336\\n }, {\\n \\\"category\\\": \\\"Category #2\\\",\\n \\\"value\\\": 2517\\n }, {\\n \\\"category\\\": \\\"Category #3\\\",\\n \\\"value\\\": 784\\n }, {\\n \\\"category\\\": \\\"Category #4\\\",\\n \\\"value\\\": 2388\\n }, {\\n \\\"category\\\": \\\"Category #5\\\",\\n \\\"value\\\": 3581\\n }, {\\n \\\"category\\\": \\\"Category #6\\\",\\n \\\"value\\\": 690\\n }, {\\n \\\"category\\\": \\\"Category #7\\\",\\n \\\"value\\\": 4292\\n }, {\\n \\\"category\\\": \\\"Category #8\\\",\\n \\\"value\\\": 2254\\n }],\\n \\\"xAxes\\\": [{\\n \\\"type\\\": \\\"ValueAxis\\\",\\n \\\"renderer\\\": {\\n \\\"maxLabelPosition\\\": 0.98\\n }\\n }],\\n \\\"yAxes\\\": [{\\n \\\"type\\\": \\\"CategoryAxis\\\",\\n \\\"dataFields\\\": {\\n \\\"category\\\": \\\"category\\\"\\n },\\n \\\"renderer\\\": {\\n \\\"grid\\\": {\\n \\\"template\\\": {\\n \\\"type\\\": \\\"Grid\\\",\\n \\\"location\\\": 0\\n }\\n },\\n \\\"minGridDistance\\\": 20\\n }\\n }],\\n \\\"series\\\": [{\\n \\\"type\\\": \\\"ColumnSeries\\\",\\n \\\"columns\\\": {\\n \\\"template\\\": {\\n \\\"type\\\": \\\"Column\\\",\\n \\\"strokeOpacity\\\": 0,\\n \\\"tooltipText\\\": \\\"{categoryY}\\\\n{valueX}\\\",\\n \\\"tooltipPosition\\\": \\\"pointer\\\"\\n }\\n },\\n \\\"dataFields\\\": {\\n \\\"valueX\\\": \\\"value\\\",\\n \\\"categoryY\\\": \\\"category\\\"\\n },\\n \\\"sequencedInterpolation\\\": true,\\n \\\"sequencedInterpolationDelay\\\": 100\\n }]\\n}\"\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"settings\": [],\n\t\t\t\"stylePlugin\": \"\"\n\t\t}\n\t],\n\t\"path\": \"/am-charts-visual-editor-bar-chart-test\",\n\t\"persistence\": {\n\t\t\"dataduct\": {\n\t\t\t\"settings\": []\n\t\t}\n\t},\n\t\"rowSettings\": [\n\t\t{\n\t\t\t\"settings\": []\n\t\t}\n\t],\n\t\"site\": \"spearhead\",\n\t\"title\": \"Visual Editor Bar Chart\",\n\t\"userId\": \"b7a9bac5-5fef-4aa6-bf12-d536c156e453\"\n}\n,\n{\"contexts\":[{\"adaptor\":\"data\",\"data\":{\"value\":[{},{},{}]},\"datasource\":null,\"name\":\"terms\",\"plugin\":\"state\",\"rest\":null,\"snippet\":null,\"tokens\":null},{\"adaptor\":\"datasource\",\"data\":null,\"datasource\":{\"params\":[],\"plugin\":\"data\",\"renderer\":{\"bindings\":[],\"data\":{\"content\":\"\",\"contentType\":\"\"},\"query\":\"\",\"trackBy\":\"\",\"type\":\"pane\"},\"settings\":[{\"attributes\":[],\"computedValue\":\"[{\\\"id\\\":1,\\\"name\\\":\\\"batman\\\"},{\\\"id\\\":2,\\\"name\\\":\\\"superman\\\"}]\",\"displayName\":\"data\",\"floatValue\":0,\"intValue\":0,\"name\":\"data\",\"type\":1,\"value\":\"[{\\\"id\\\":1,\\\"name\\\":\\\"batman\\\"},{\\\"id\\\":2,\\\"name\\\":\\\"superman\\\"}]\"}]},\"name\":\"characters\",\"plugin\":\"datasource\",\"rest\":null,\"snippet\":null,\"tokens\":null},{\"adaptor\":\"datasource\",\"data\":null,\"datasource\":{\"params\":[],\"plugin\":\"crud_adaptor\",\"renderer\":{\"bindings\":[],\"data\":{\"content\":\"\",\"contentType\":\"\"},\"query\":\"\",\"trackBy\":\"\",\"type\":\"pane\"},\"settings\":[{\"attributes\":[],\"computedValue\":\"aws_s3_entity\",\"displayName\":\"adaptorName\",\"floatValue\":0,\"intValue\":0,\"name\":\"adaptorName\",\"type\":1,\"value\":\"aws_s3_entity\"},{\"attributes\":[],\"computedValue\":\"bucket=:bucket\\u0026prefix=:prefix\",\"displayName\":\"optionsString\",\"floatValue\":0,\"intValue\":0,\"name\":\"optionsString\",\"type\":1,\"value\":\"bucket=:bucket\\u0026prefix=:prefix\"},{\"attributes\":[],\"computedValue\":\"identity=:identity\",\"displayName\":\"paramsString\",\"floatValue\":0,\"intValue\":0,\"name\":\"paramsString\",\"type\":1,\"value\":\"identity=:identity\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"static\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"static\"},{\"attributes\":[],\"computedValue\":\"classifieds-ui-prod\",\"displayName\":\"value\",\"floatValue\":0,\"intValue\":0,\"name\":\"value\",\"type\":1,\"value\":\"classifieds-ui-prod\"},{\"attributes\":[],\"computedValue\":\"classifieds-ui-prod\",\"displayName\":\"testValue\",\"floatValue\":0,\"intValue\":0,\"name\":\"testValue\",\"type\":1,\"value\":\"classifieds-ui-prod\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"context\",\"floatValue\":0,\"intValue\":0,\"name\":\"context\",\"type\":1,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"mapping\",\"floatValue\":0,\"intValue\":0,\"name\":\"mapping\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"page\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"page\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"limit\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"limit\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"1\",\"floatValue\":0,\"intValue\":0,\"name\":\"1\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"offset\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"offset\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"2\",\"floatValue\":0,\"intValue\":0,\"name\":\"2\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"searchString\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"searchString\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"3\",\"floatValue\":0,\"intValue\":0,\"name\":\"3\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"flags\",\"floatValue\":0,\"intValue\":0,\"name\":\"flags\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"static\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"static\"},{\"attributes\":[],\"computedValue\":\"ads/\",\"displayName\":\"value\",\"floatValue\":0,\"intValue\":0,\"name\":\"value\",\"type\":1,\"value\":\"ads/\"},{\"attributes\":[],\"computedValue\":\"ads/\",\"displayName\":\"testValue\",\"floatValue\":0,\"intValue\":0,\"name\":\"testValue\",\"type\":1,\"value\":\"ads/\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"context\",\"floatValue\":0,\"intValue\":0,\"name\":\"context\",\"type\":1,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"mapping\",\"floatValue\":0,\"intValue\":0,\"name\":\"mapping\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"page\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"page\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"limit\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"limit\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"1\",\"floatValue\":0,\"intValue\":0,\"name\":\"1\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"offset\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"offset\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"2\",\"floatValue\":0,\"intValue\":0,\"name\":\"2\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"searchString\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"searchString\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"3\",\"floatValue\":0,\"intValue\":0,\"name\":\"3\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"flags\",\"floatValue\":0,\"intValue\":0,\"name\":\"flags\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"1\",\"floatValue\":0,\"intValue\":0,\"name\":\"1\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"options\",\"floatValue\":0,\"intValue\":0,\"name\":\"options\",\"type\":4,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"route\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"route\"},{\"attributes\":[],\"computedValue\":\"arg0\",\"displayName\":\"value\",\"floatValue\":0,\"intValue\":0,\"name\":\"value\",\"type\":1,\"value\":\"arg0\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"testValue\",\"floatValue\":0,\"intValue\":0,\"name\":\"testValue\",\"type\":1,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"context\",\"floatValue\":0,\"intValue\":0,\"name\":\"context\",\"type\":1,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"mapping\",\"floatValue\":0,\"intValue\":0,\"name\":\"mapping\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"page\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"page\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"limit\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"limit\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"1\",\"floatValue\":0,\"intValue\":0,\"name\":\"1\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"offset\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"offset\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"2\",\"floatValue\":0,\"intValue\":0,\"name\":\"2\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"searchString\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"searchString\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"3\",\"floatValue\":0,\"intValue\":0,\"name\":\"3\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"flags\",\"floatValue\":0,\"intValue\":0,\"name\":\"flags\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"params\",\"floatValue\":0,\"intValue\":0,\"name\":\"params\",\"type\":4,\"value\":\"\"}]},\"name\":\"ad\",\"plugin\":\"datasource\",\"rest\":null,\"snippet\":null,\"tokens\":null}],\"cssFile\":\"\",\"derivativeId\":\"\",\"displayType\":\"page\",\"entityPermissions\":{\"deleteUserIds\":[\"b7a9bac5-5fef-4aa6-bf12-d536c156e453\"],\"readUserIds\":[\"*\"],\"writeUserIds\":[\"b7a9bac5-5fef-4aa6-bf12-d536c156e453\"]},\"gridItems\":[{\"cols\":100,\"rows\":1,\"weight\":0,\"x\":0,\"y\":0}],\"id\":\"bb66aa62-8635-4015-86c9-ba4f208b0856\",\"layoutSetting\":{\"settings\":[]},\"layoutType\":\"split\",\"name\":\"native_forms_rebuild_v1\",\"panels\":[{\"columnSetting\":{\"settings\":[]},\"label\":\"\",\"name\":\"\",\"panes\":[{\"contentPlugin\":\"datasource\",\"label\":\"characters_context_ref\",\"linkedPageId\":\"\",\"locked\":false,\"name\":\"characters_context_ref\",\"rule\":{\"condition\":\"\",\"field\":\"\",\"operator\":\"\",\"rules\":[],\"value\":\"\"},\"settings\":[{\"attributes\":[],\"computedValue\":\"context\",\"displayName\":\"plugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"plugin\",\"type\":1,\"value\":\"context\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"characters\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"characters\"}],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"pane\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"pane\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"pane\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"pane\"},{\"attributes\":[],\"computedValue\":\"select_characters\",\"displayName\":\"id\",\"floatValue\":0,\"intValue\":0,\"name\":\"id\",\"type\":1,\"value\":\"select_characters\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"bindings\",\"floatValue\":0,\"intValue\":0,\"name\":\"bindings\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"renderer\",\"floatValue\":0,\"intValue\":0,\"name\":\"renderer\",\"type\":2,\"value\":\"\"}]},{\"contentPlugin\":\"datasource\",\"label\":\"creators\",\"linkedPageId\":\"\",\"locked\":false,\"name\":\"creators\",\"rule\":{\"condition\":\"\",\"field\":\"\",\"operator\":\"\",\"rules\":[],\"value\":\"\"},\"settings\":[{\"attributes\":[],\"computedValue\":\"rest\",\"displayName\":\"plugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"plugin\",\"type\":1,\"value\":\"rest\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"https://gateway.marvel.com:443/v1/public/creators?apikey=12097554cc585301fc38efd51b21fb06\\u0026nameStartsWith=:nameStartsWith\",\"displayName\":\"url\",\"floatValue\":0,\"intValue\":0,\"name\":\"url\",\"type\":1,\"value\":\"https://gateway.marvel.com:443/v1/public/creators?apikey=12097554cc585301fc38efd51b21fb06\\u0026nameStartsWith=:nameStartsWith\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"inputparam\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"inputparam\"},{\"attributes\":[],\"computedValue\":\"term\",\"displayName\":\"value\",\"floatValue\":0,\"intValue\":0,\"name\":\"value\",\"type\":1,\"value\":\"term\"},{\"attributes\":[],\"computedValue\":\"john\",\"displayName\":\"testValue\",\"floatValue\":0,\"intValue\":0,\"name\":\"testValue\",\"type\":1,\"value\":\"john\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"context\",\"floatValue\":0,\"intValue\":0,\"name\":\"context\",\"type\":1,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"mapping\",\"floatValue\":0,\"intValue\":0,\"name\":\"mapping\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"page\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"page\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"limit\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"limit\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"1\",\"floatValue\":0,\"intValue\":0,\"name\":\"1\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"offset\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"offset\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"2\",\"floatValue\":0,\"intValue\":0,\"name\":\"2\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"searchString\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"searchString\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"3\",\"floatValue\":0,\"intValue\":0,\"name\":\"3\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"flags\",\"floatValue\":0,\"intValue\":0,\"name\":\"flags\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"params\",\"floatValue\":0,\"intValue\":0,\"name\":\"params\",\"type\":4,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"content\",\"floatValue\":0,\"intValue\":0,\"name\":\"content\",\"type\":1,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"application/json\",\"displayName\":\"contentType\",\"floatValue\":0,\"intValue\":0,\"name\":\"contentType\",\"type\":1,\"value\":\"application/json\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"jsScript\",\"floatValue\":0,\"intValue\":0,\"name\":\"jsScript\",\"type\":1,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"body\",\"floatValue\":0,\"intValue\":0,\"name\":\"body\",\"type\":2,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"get\",\"displayName\":\"method\",\"floatValue\":0,\"intValue\":0,\"name\":\"method\",\"type\":1,\"value\":\"get\"}],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"pane\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"pane\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"pane\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"pane\"},{\"attributes\":[],\"computedValue\":\"select_creators\",\"displayName\":\"id\",\"floatValue\":0,\"intValue\":0,\"name\":\"id\",\"type\":1,\"value\":\"select_creators\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"bindings\",\"floatValue\":0,\"intValue\":0,\"name\":\"bindings\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"renderer\",\"floatValue\":0,\"intValue\":0,\"name\":\"renderer\",\"type\":2,\"value\":\"\"}]},{\"contentPlugin\":\"datasource\",\"label\":\"select_creators\",\"linkedPageId\":\"\",\"locked\":false,\"name\":\"select_creators\",\"rule\":{\"condition\":\"\",\"field\":\"\",\"operator\":\"\",\"rules\":[],\"value\":\"\"},\"settings\":[{\"attributes\":[],\"computedValue\":\"select\",\"displayName\":\"plugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"plugin\",\"type\":1,\"value\":\"select\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"$..data.results.*\",\"displayName\":\"query\",\"floatValue\":0,\"intValue\":0,\"name\":\"query\",\"type\":1,\"value\":\"$..data.results.*\"}],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"pane\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"pane\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"bindings\",\"floatValue\":0,\"intValue\":0,\"name\":\"bindings\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"renderer\",\"floatValue\":0,\"intValue\":0,\"name\":\"renderer\",\"type\":2,\"value\":\"\"}]},{\"contentPlugin\":\"form_input\",\"label\":\"text\",\"linkedPageId\":\"\",\"locked\":false,\"name\":\"text\",\"rule\":{\"condition\":\"\",\"field\":\"\",\"operator\":\"\",\"rules\":[],\"value\":\"\"},\"settings\":[{\"attributes\":[],\"computedValue\":\"[ad.results.0.text]\",\"displayName\":\"value\",\"floatValue\":0,\"intValue\":0,\"name\":\"value\",\"type\":1,\"value\":\"[ad.results.0.text]\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"pane\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"pane\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"id\",\"floatValue\":0,\"intValue\":0,\"name\":\"id\",\"type\":1,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"datasourceBinding\",\"floatValue\":0,\"intValue\":0,\"name\":\"datasourceBinding\",\"type\":2,\"value\":\"\"}]},{\"contentPlugin\":\"form_select\",\"label\":\"select\",\"linkedPageId\":\"\",\"locked\":false,\"name\":\"select\",\"rule\":{\"condition\":\"\",\"field\":\"\",\"operator\":\"\",\"rules\":[],\"value\":\"\"},\"settings\":[{\"attributes\":[],\"computedValue\":\"[ad.results.0.select]\",\"displayName\":\"value\",\"floatValue\":0,\"intValue\":0,\"name\":\"value\",\"type\":1,\"value\":\"[ad.results.0.select]\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"pane\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"pane\"},{\"attributes\":[],\"computedValue\":\"characters_context_ref\",\"displayName\":\"id\",\"floatValue\":0,\"intValue\":0,\"name\":\"id\",\"type\":1,\"value\":\"characters_context_ref\"}],\"computedValue\":\"\",\"displayName\":\"datasourceBinding\",\"floatValue\":0,\"intValue\":0,\"name\":\"datasourceBinding\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"query\",\"floatValue\":0,\"intValue\":0,\"name\":\"query\",\"type\":1,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"trackBy\",\"floatValue\":0,\"intValue\":0,\"name\":\"trackBy\",\"type\":1,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"[.id]\",\"displayName\":\"idMapping\",\"floatValue\":0,\"intValue\":0,\"name\":\"idMapping\",\"type\":1,\"value\":\"[.id]\"},{\"attributes\":[],\"computedValue\":\"[.name]\",\"displayName\":\"labelMapping\",\"floatValue\":0,\"intValue\":0,\"name\":\"labelMapping\",\"type\":1,\"value\":\"[.name]\"},{\"attributes\":[],\"computedValue\":\"[.id]\",\"displayName\":\"valueMapping\",\"floatValue\":0,\"intValue\":0,\"name\":\"valueMapping\",\"type\":1,\"value\":\"[.id]\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"multiple\",\"floatValue\":0,\"intValue\":0,\"name\":\"multiple\",\"type\":5,\"value\":\"false\"},{\"attributes\":[],\"computedValue\":\"0\",\"displayName\":\"limit\",\"floatValue\":0,\"intValue\":0,\"name\":\"limit\",\"type\":0,\"value\":\"0\"}],\"computedValue\":\"\",\"displayName\":\"datasourceOptions\",\"floatValue\":0,\"intValue\":0,\"name\":\"datasourceOptions\",\"type\":2,\"value\":\"\"}]},{\"contentPlugin\":\"form_textarea\",\"label\":\"textarea\",\"linkedPageId\":\"\",\"locked\":false,\"name\":\"textarea\",\"rule\":{\"condition\":\"\",\"field\":\"\",\"operator\":\"\",\"rules\":[],\"value\":\"\"},\"settings\":[{\"attributes\":[],\"computedValue\":\"[ad.results.0.textarea]\",\"displayName\":\"value\",\"floatValue\":0,\"intValue\":0,\"name\":\"value\",\"type\":1,\"value\":\"[ad.results.0.textarea]\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"pane\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"pane\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"id\",\"floatValue\":0,\"intValue\":0,\"name\":\"id\",\"type\":1,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"datasourceBinding\",\"floatValue\":0,\"intValue\":0,\"name\":\"datasourceBinding\",\"type\":2,\"value\":\"\"}]},{\"contentPlugin\":\"form_radiogroup\",\"label\":\"radiogroup\",\"linkedPageId\":\"\",\"locked\":false,\"name\":\"radiogroup\",\"rule\":{\"condition\":\"\",\"field\":\"\",\"operator\":\"\",\"rules\":[],\"value\":\"\"},\"settings\":[{\"attributes\":[],\"computedValue\":\"[ad.results.0.radiogroup]\",\"displayName\":\"value\",\"floatValue\":0,\"intValue\":0,\"name\":\"value\",\"type\":1,\"value\":\"[ad.results.0.radiogroup]\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"pane\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"pane\"},{\"attributes\":[],\"computedValue\":\"characters_context_ref\",\"displayName\":\"id\",\"floatValue\":0,\"intValue\":0,\"name\":\"id\",\"type\":1,\"value\":\"characters_context_ref\"}],\"computedValue\":\"\",\"displayName\":\"datasourceBinding\",\"floatValue\":0,\"intValue\":0,\"name\":\"datasourceBinding\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"query\",\"floatValue\":0,\"intValue\":0,\"name\":\"query\",\"type\":1,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"trackBy\",\"floatValue\":0,\"intValue\":0,\"name\":\"trackBy\",\"type\":1,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"[.id]\",\"displayName\":\"idMapping\",\"floatValue\":0,\"intValue\":0,\"name\":\"idMapping\",\"type\":1,\"value\":\"[.id]\"},{\"attributes\":[],\"computedValue\":\"[.name]\",\"displayName\":\"labelMapping\",\"floatValue\":0,\"intValue\":0,\"name\":\"labelMapping\",\"type\":1,\"value\":\"[.name]\"},{\"attributes\":[],\"computedValue\":\"[.id]\",\"displayName\":\"valueMapping\",\"floatValue\":0,\"intValue\":0,\"name\":\"valueMapping\",\"type\":1,\"value\":\"[.id]\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"multiple\",\"floatValue\":0,\"intValue\":0,\"name\":\"multiple\",\"type\":5,\"value\":\"false\"},{\"attributes\":[],\"computedValue\":\"0\",\"displayName\":\"limit\",\"floatValue\":0,\"intValue\":0,\"name\":\"limit\",\"type\":0,\"value\":\"0\"}],\"computedValue\":\"\",\"displayName\":\"datasourceOptions\",\"floatValue\":0,\"intValue\":0,\"name\":\"datasourceOptions\",\"type\":2,\"value\":\"\"}]},{\"contentPlugin\":\"form_slider\",\"label\":\"slider\",\"linkedPageId\":\"\",\"locked\":false,\"name\":\"slider\",\"rule\":{\"condition\":\"\",\"field\":\"\",\"operator\":\"\",\"rules\":[],\"value\":\"\"},\"settings\":[{\"attributes\":[],\"computedValue\":\"[ad.results.0.slider]\",\"displayName\":\"value\",\"floatValue\":0,\"intValue\":0,\"name\":\"value\",\"type\":1,\"value\":\"[ad.results.0.slider]\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"pane\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"pane\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"id\",\"floatValue\":0,\"intValue\":0,\"name\":\"id\",\"type\":1,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"datasourceBinding\",\"floatValue\":0,\"intValue\":0,\"name\":\"datasourceBinding\",\"type\":2,\"value\":\"\"}]},{\"contentPlugin\":\"form_toggle\",\"label\":\"toggle\",\"linkedPageId\":\"\",\"locked\":false,\"name\":\"toggle\",\"rule\":{\"condition\":\"\",\"field\":\"\",\"operator\":\"\",\"rules\":[],\"value\":\"\"},\"settings\":[{\"attributes\":[],\"computedValue\":\"[ad.results.0.toggle]\",\"displayName\":\"value\",\"floatValue\":0,\"intValue\":0,\"name\":\"value\",\"type\":1,\"value\":\"[ad.results.0.toggle]\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"pane\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"pane\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"id\",\"floatValue\":0,\"intValue\":0,\"name\":\"id\",\"type\":1,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"datasourceBinding\",\"floatValue\":0,\"intValue\":0,\"name\":\"datasourceBinding\",\"type\":2,\"value\":\"\"}]},{\"contentPlugin\":\"form_checkbox\",\"label\":\"checkbox\",\"linkedPageId\":\"\",\"locked\":false,\"name\":\"checkbox\",\"rule\":{\"condition\":\"\",\"field\":\"\",\"operator\":\"\",\"rules\":[],\"value\":\"\"},\"settings\":[{\"attributes\":[],\"computedValue\":\"[ad.results.0.checkbox]\",\"displayName\":\"value\",\"floatValue\":0,\"intValue\":0,\"name\":\"value\",\"type\":1,\"value\":\"[ad.results.0.checkbox]\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"pane\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"pane\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"id\",\"floatValue\":0,\"intValue\":0,\"name\":\"id\",\"type\":1,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"datasourceBinding\",\"floatValue\":0,\"intValue\":0,\"name\":\"datasourceBinding\",\"type\":2,\"value\":\"\"}]},{\"contentPlugin\":\"form_datepicker\",\"label\":\"datepicker\",\"linkedPageId\":\"\",\"locked\":false,\"name\":\"datepicker\",\"rule\":{\"condition\":\"\",\"field\":\"\",\"operator\":\"\",\"rules\":[],\"value\":\"\"},\"settings\":[{\"attributes\":[],\"computedValue\":\"[ad.results.0.datepicker]\",\"displayName\":\"value\",\"floatValue\":0,\"intValue\":0,\"name\":\"value\",\"type\":1,\"value\":\"[ad.results.0.datepicker]\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"pane\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"pane\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"id\",\"floatValue\":0,\"intValue\":0,\"name\":\"id\",\"type\":1,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"datasourceBinding\",\"floatValue\":0,\"intValue\":0,\"name\":\"datasourceBinding\",\"type\":2,\"value\":\"\"}]},{\"contentPlugin\":\"form_autocomplete\",\"label\":\"autocomplete\",\"linkedPageId\":\"\",\"locked\":false,\"name\":\"autocomplete\",\"rule\":{\"condition\":\"\",\"field\":\"\",\"operator\":\"\",\"rules\":[],\"value\":\"\"},\"settings\":[{\"attributes\":[],\"computedValue\":\"[ad.results.0.autocomplete]\",\"displayName\":\"value\",\"floatValue\":0,\"intValue\":0,\"name\":\"value\",\"type\":1,\"value\":\"[ad.results.0.autocomplete]\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"pane\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"pane\"},{\"attributes\":[],\"computedValue\":\"creators\",\"displayName\":\"id\",\"floatValue\":0,\"intValue\":0,\"name\":\"id\",\"type\":1,\"value\":\"creators\"}],\"computedValue\":\"\",\"displayName\":\"datasourceBinding\",\"floatValue\":0,\"intValue\":0,\"name\":\"datasourceBinding\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"query\",\"floatValue\":0,\"intValue\":0,\"name\":\"query\",\"type\":1,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"trackBy\",\"floatValue\":0,\"intValue\":0,\"name\":\"trackBy\",\"type\":1,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"[.id]\",\"displayName\":\"idMapping\",\"floatValue\":0,\"intValue\":0,\"name\":\"idMapping\",\"type\":1,\"value\":\"[.id]\"},{\"attributes\":[],\"computedValue\":\"[.fullName]\",\"displayName\":\"labelMapping\",\"floatValue\":0,\"intValue\":0,\"name\":\"labelMapping\",\"type\":1,\"value\":\"[.fullName]\"},{\"attributes\":[],\"computedValue\":\"[.id]\",\"displayName\":\"valueMapping\",\"floatValue\":0,\"intValue\":0,\"name\":\"valueMapping\",\"type\":1,\"value\":\"[.id]\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"multiple\",\"floatValue\":0,\"intValue\":0,\"name\":\"multiple\",\"type\":5,\"value\":\"false\"},{\"attributes\":[],\"computedValue\":\"0\",\"displayName\":\"limit\",\"floatValue\":0,\"intValue\":0,\"name\":\"limit\",\"type\":0,\"value\":\"0\"}],\"computedValue\":\"\",\"displayName\":\"datasourceOptions\",\"floatValue\":0,\"intValue\":0,\"name\":\"datasourceOptions\",\"type\":2,\"value\":\"\"}]},{\"contentPlugin\":\"panel\",\"label\":\"nested\",\"linkedPageId\":\"\",\"locked\":false,\"name\":\"nested\",\"rule\":{\"condition\":\"\",\"field\":\"\",\"operator\":\"\",\"rules\":[],\"value\":\"\"},\"settings\":[{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"100\",\"displayName\":\"cols\",\"floatValue\":0,\"intValue\":0,\"name\":\"cols\",\"type\":0,\"value\":\"100\"},{\"attributes\":[],\"computedValue\":\"1\",\"displayName\":\"rows\",\"floatValue\":0,\"intValue\":0,\"name\":\"rows\",\"type\":0,\"value\":\"1\"},{\"attributes\":[],\"computedValue\":\"0\",\"displayName\":\"x\",\"floatValue\":0,\"intValue\":0,\"name\":\"x\",\"type\":0,\"value\":\"0\"},{\"attributes\":[],\"computedValue\":\"0\",\"displayName\":\"y\",\"floatValue\":0,\"intValue\":0,\"name\":\"y\",\"type\":0,\"value\":\"0\"},{\"attributes\":[],\"computedValue\":\"0\",\"displayName\":\"weight\",\"floatValue\":0,\"intValue\":0,\"name\":\"weight\",\"type\":0,\"value\":\"0\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"gridItems\",\"floatValue\":0,\"intValue\":0,\"name\":\"gridItems\",\"type\":4,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"[ad.results.0.nested.nestedValue]\",\"displayName\":\"value\",\"floatValue\":0,\"intValue\":0,\"name\":\"value\",\"type\":1,\"value\":\"[ad.results.0.nested.nestedValue]\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"pane\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"pane\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"id\",\"floatValue\":0,\"intValue\":0,\"name\":\"id\",\"type\":1,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"datasourceBinding\",\"floatValue\":0,\"intValue\":0,\"name\":\"datasourceBinding\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"locked\",\"floatValue\":0,\"intValue\":0,\"name\":\"locked\",\"type\":5,\"value\":\"false\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"contexts\",\"floatValue\":0,\"intValue\":0,\"name\":\"contexts\",\"type\":4,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"nestedValue\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"nestedValue\"},{\"attributes\":[],\"computedValue\":\"nestedValue\",\"displayName\":\"label\",\"floatValue\":0,\"intValue\":0,\"name\":\"label\",\"type\":1,\"value\":\"nestedValue\"},{\"attributes\":[],\"computedValue\":\"form_input\",\"displayName\":\"contentPlugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"contentPlugin\",\"type\":1,\"value\":\"form_input\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"condition\",\"floatValue\":0,\"intValue\":0,\"name\":\"condition\",\"type\":1,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"rules\",\"floatValue\":0,\"intValue\":0,\"name\":\"rules\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"rule\",\"floatValue\":0,\"intValue\":0,\"name\":\"rule\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"panes\",\"floatValue\":0,\"intValue\":0,\"name\":\"panes\",\"type\":4,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"label\",\"floatValue\":0,\"intValue\":0,\"name\":\"label\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"stylePlugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"stylePlugin\",\"type\":1,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"columnSetting\",\"floatValue\":0,\"intValue\":0,\"name\":\"columnSetting\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"panels\",\"floatValue\":0,\"intValue\":0,\"name\":\"panels\",\"type\":4,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"terms\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"terms\"},{\"attributes\":[],\"computedValue\":\"data\",\"displayName\":\"adaptor\",\"floatValue\":0,\"intValue\":0,\"name\":\"adaptor\",\"type\":1,\"value\":\"data\"},{\"attributes\":[],\"computedValue\":\"state\",\"displayName\":\"plugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"plugin\",\"type\":1,\"value\":\"state\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"1\",\"floatValue\":0,\"intValue\":0,\"name\":\"1\",\"type\":2,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"2\",\"floatValue\":0,\"intValue\":0,\"name\":\"2\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"value\",\"floatValue\":0,\"intValue\":0,\"name\":\"value\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"data\",\"floatValue\":0,\"intValue\":0,\"name\":\"data\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"characters\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"characters\"},{\"attributes\":[],\"computedValue\":\"datasource\",\"displayName\":\"adaptor\",\"floatValue\":0,\"intValue\":0,\"name\":\"adaptor\",\"type\":1,\"value\":\"datasource\"},{\"attributes\":[],\"computedValue\":\"datasource\",\"displayName\":\"plugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"plugin\",\"type\":1,\"value\":\"datasource\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"[{\\\"id\\\":1,\\\"name\\\":\\\"batman\\\"},{\\\"id\\\":2,\\\"name\\\":\\\"superman\\\"}]\",\"displayName\":\"data\",\"floatValue\":0,\"intValue\":0,\"name\":\"data\",\"type\":1,\"value\":\"[{\\\"id\\\":1,\\\"name\\\":\\\"batman\\\"},{\\\"id\\\":2,\\\"name\\\":\\\"superman\\\"}]\"}],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"params\",\"floatValue\":0,\"intValue\":0,\"name\":\"params\",\"type\":4,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"data\",\"displayName\":\"plugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"plugin\",\"type\":1,\"value\":\"data\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"pane\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"pane\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"query\",\"floatValue\":0,\"intValue\":0,\"name\":\"query\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"trackBy\",\"floatValue\":0,\"intValue\":0,\"name\":\"trackBy\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"bindings\",\"floatValue\":0,\"intValue\":0,\"name\":\"bindings\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"renderer\",\"floatValue\":0,\"intValue\":0,\"name\":\"renderer\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"datasource\",\"floatValue\":0,\"intValue\":0,\"name\":\"datasource\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"1\",\"floatValue\":0,\"intValue\":0,\"name\":\"1\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"ad\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"ad\"},{\"attributes\":[],\"computedValue\":\"datasource\",\"displayName\":\"adaptor\",\"floatValue\":0,\"intValue\":0,\"name\":\"adaptor\",\"type\":1,\"value\":\"datasource\"},{\"attributes\":[],\"computedValue\":\"datasource\",\"displayName\":\"plugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"plugin\",\"type\":1,\"value\":\"datasource\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"aws_s3_entity\",\"displayName\":\"adaptorName\",\"floatValue\":0,\"intValue\":0,\"name\":\"adaptorName\",\"type\":1,\"value\":\"aws_s3_entity\"},{\"attributes\":[],\"computedValue\":\"bucket=:bucket\\u0026prefix=:prefix\",\"displayName\":\"optionsString\",\"floatValue\":0,\"intValue\":0,\"name\":\"optionsString\",\"type\":1,\"value\":\"bucket=:bucket\\u0026prefix=:prefix\"},{\"attributes\":[],\"computedValue\":\"identity=:identity\",\"displayName\":\"paramsString\",\"floatValue\":0,\"intValue\":0,\"name\":\"paramsString\",\"type\":1,\"value\":\"identity=:identity\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"static\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"static\"},{\"attributes\":[],\"computedValue\":\"classifieds-ui-prod\",\"displayName\":\"value\",\"floatValue\":0,\"intValue\":0,\"name\":\"value\",\"type\":1,\"value\":\"classifieds-ui-prod\"},{\"attributes\":[],\"computedValue\":\"classifieds-ui-prod\",\"displayName\":\"testValue\",\"floatValue\":0,\"intValue\":0,\"name\":\"testValue\",\"type\":1,\"value\":\"classifieds-ui-prod\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"context\",\"floatValue\":0,\"intValue\":0,\"name\":\"context\",\"type\":1,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"mapping\",\"floatValue\":0,\"intValue\":0,\"name\":\"mapping\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"page\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"page\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"limit\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"limit\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"1\",\"floatValue\":0,\"intValue\":0,\"name\":\"1\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"offset\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"offset\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"2\",\"floatValue\":0,\"intValue\":0,\"name\":\"2\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"searchString\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"searchString\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"3\",\"floatValue\":0,\"intValue\":0,\"name\":\"3\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"flags\",\"floatValue\":0,\"intValue\":0,\"name\":\"flags\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"static\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"static\"},{\"attributes\":[],\"computedValue\":\"ads/\",\"displayName\":\"value\",\"floatValue\":0,\"intValue\":0,\"name\":\"value\",\"type\":1,\"value\":\"ads/\"},{\"attributes\":[],\"computedValue\":\"ads/\",\"displayName\":\"testValue\",\"floatValue\":0,\"intValue\":0,\"name\":\"testValue\",\"type\":1,\"value\":\"ads/\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"context\",\"floatValue\":0,\"intValue\":0,\"name\":\"context\",\"type\":1,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"mapping\",\"floatValue\":0,\"intValue\":0,\"name\":\"mapping\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"page\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"page\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"limit\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"limit\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"1\",\"floatValue\":0,\"intValue\":0,\"name\":\"1\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"offset\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"offset\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"2\",\"floatValue\":0,\"intValue\":0,\"name\":\"2\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"searchString\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"searchString\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"3\",\"floatValue\":0,\"intValue\":0,\"name\":\"3\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"flags\",\"floatValue\":0,\"intValue\":0,\"name\":\"flags\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"1\",\"floatValue\":0,\"intValue\":0,\"name\":\"1\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"options\",\"floatValue\":0,\"intValue\":0,\"name\":\"options\",\"type\":4,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"route\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"route\"},{\"attributes\":[],\"computedValue\":\"arg0\",\"displayName\":\"value\",\"floatValue\":0,\"intValue\":0,\"name\":\"value\",\"type\":1,\"value\":\"arg0\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"testValue\",\"floatValue\":0,\"intValue\":0,\"name\":\"testValue\",\"type\":1,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"context\",\"floatValue\":0,\"intValue\":0,\"name\":\"context\",\"type\":1,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"mapping\",\"floatValue\":0,\"intValue\":0,\"name\":\"mapping\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"page\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"page\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"limit\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"limit\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"1\",\"floatValue\":0,\"intValue\":0,\"name\":\"1\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"offset\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"offset\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"2\",\"floatValue\":0,\"intValue\":0,\"name\":\"2\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"searchString\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"searchString\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"3\",\"floatValue\":0,\"intValue\":0,\"name\":\"3\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"flags\",\"floatValue\":0,\"intValue\":0,\"name\":\"flags\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"params\",\"floatValue\":0,\"intValue\":0,\"name\":\"params\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"params\",\"floatValue\":0,\"intValue\":0,\"name\":\"params\",\"type\":4,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"crud_adaptor\",\"displayName\":\"plugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"plugin\",\"type\":1,\"value\":\"crud_adaptor\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"pane\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"pane\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"query\",\"floatValue\":0,\"intValue\":0,\"name\":\"query\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"trackBy\",\"floatValue\":0,\"intValue\":0,\"name\":\"trackBy\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"bindings\",\"floatValue\":0,\"intValue\":0,\"name\":\"bindings\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"renderer\",\"floatValue\":0,\"intValue\":0,\"name\":\"renderer\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"datasource\",\"floatValue\":0,\"intValue\":0,\"name\":\"datasource\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"2\",\"floatValue\":0,\"intValue\":0,\"name\":\"2\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"contexts\",\"floatValue\":0,\"intValue\":0,\"name\":\"contexts\",\"type\":4,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"rowSettings\",\"floatValue\":0,\"intValue\":0,\"name\":\"rowSettings\",\"type\":4,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"readUserIds\",\"floatValue\":0,\"intValue\":0,\"name\":\"readUserIds\",\"type\":4,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"writeUserIds\",\"floatValue\":0,\"intValue\":0,\"name\":\"writeUserIds\",\"type\":4,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"deleteUserIds\",\"floatValue\":0,\"intValue\":0,\"name\":\"deleteUserIds\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"entityPermissions\",\"floatValue\":0,\"intValue\":0,\"name\":\"entityPermissions\",\"type\":2,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"id\",\"floatValue\":0,\"intValue\":0,\"name\":\"id\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"split\",\"displayName\":\"layoutType\",\"floatValue\":0,\"intValue\":0,\"name\":\"layoutType\",\"type\":1,\"value\":\"split\"},{\"attributes\":[],\"computedValue\":\"form\",\"displayName\":\"displayType\",\"floatValue\":0,\"intValue\":0,\"name\":\"displayType\",\"type\":1,\"value\":\"form\"},{\"attributes\":[],\"computedValue\":\"nested_form\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"nested_form\"},{\"attributes\":[],\"computedValue\":\"nested_form\",\"displayName\":\"title\",\"floatValue\":0,\"intValue\":0,\"name\":\"title\",\"type\":1,\"value\":\"nested_form\"},{\"attributes\":[],\"computedValue\":\"spearhead\",\"displayName\":\"site\",\"floatValue\":0,\"intValue\":0,\"name\":\"site\",\"type\":1,\"value\":\"spearhead\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"userId\",\"floatValue\":0,\"intValue\":0,\"name\":\"userId\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"path\",\"floatValue\":0,\"intValue\":0,\"name\":\"path\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"plugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"plugin\",\"type\":0,\"value\":\"undefined\"}],\"computedValue\":\"\",\"displayName\":\"dataduct\",\"floatValue\":0,\"intValue\":0,\"name\":\"dataduct\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"persistence\",\"floatValue\":0,\"intValue\":0,\"name\":\"persistence\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"layoutSetting\",\"floatValue\":0,\"intValue\":0,\"name\":\"layoutSetting\",\"type\":2,\"value\":\"\"}]},{\"contentPlugin\":\"panel\",\"label\":\"\",\"linkedPageId\":\"\",\"locked\":false,\"name\":\"\",\"rule\":{\"condition\":\"\",\"field\":\"\",\"operator\":\"\",\"rules\":[],\"value\":\"\"},\"settings\":[{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"100\",\"displayName\":\"cols\",\"floatValue\":0,\"intValue\":0,\"name\":\"cols\",\"type\":0,\"value\":\"100\"},{\"attributes\":[],\"computedValue\":\"1\",\"displayName\":\"rows\",\"floatValue\":0,\"intValue\":0,\"name\":\"rows\",\"type\":0,\"value\":\"1\"},{\"attributes\":[],\"computedValue\":\"0\",\"displayName\":\"x\",\"floatValue\":0,\"intValue\":0,\"name\":\"x\",\"type\":0,\"value\":\"0\"},{\"attributes\":[],\"computedValue\":\"0\",\"displayName\":\"y\",\"floatValue\":0,\"intValue\":0,\"name\":\"y\",\"type\":0,\"value\":\"0\"},{\"attributes\":[],\"computedValue\":\"0\",\"displayName\":\"weight\",\"floatValue\":0,\"intValue\":0,\"name\":\"weight\",\"type\":0,\"value\":\"0\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"gridItems\",\"floatValue\":0,\"intValue\":0,\"name\":\"gridItems\",\"type\":4,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"$.ad.results[0].terms\",\"displayName\":\"valuesMapping\",\"floatValue\":0,\"intValue\":0,\"name\":\"valuesMapping\",\"type\":1,\"value\":\"$.ad.results[0].terms\"}],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"100\",\"displayName\":\"cols\",\"floatValue\":0,\"intValue\":0,\"name\":\"cols\",\"type\":0,\"value\":\"100\"},{\"attributes\":[],\"computedValue\":\"1\",\"displayName\":\"rows\",\"floatValue\":0,\"intValue\":0,\"name\":\"rows\",\"type\":0,\"value\":\"1\"},{\"attributes\":[],\"computedValue\":\"0\",\"displayName\":\"x\",\"floatValue\":0,\"intValue\":0,\"name\":\"x\",\"type\":0,\"value\":\"0\"},{\"attributes\":[],\"computedValue\":\"0\",\"displayName\":\"y\",\"floatValue\":0,\"intValue\":0,\"name\":\"y\",\"type\":0,\"value\":\"0\"},{\"attributes\":[],\"computedValue\":\"0\",\"displayName\":\"weight\",\"floatValue\":0,\"intValue\":0,\"name\":\"weight\",\"type\":0,\"value\":\"0\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"gridItems\",\"floatValue\":0,\"intValue\":0,\"name\":\"gridItems\",\"type\":4,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"[ad.results.0.terms.$i.humanName]\",\"displayName\":\"value\",\"floatValue\":0,\"intValue\":0,\"name\":\"value\",\"type\":1,\"value\":\"[ad.results.0.terms.$i.humanName]\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"pane\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"pane\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"id\",\"floatValue\":0,\"intValue\":0,\"name\":\"id\",\"type\":1,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"datasourceBinding\",\"floatValue\":0,\"intValue\":0,\"name\":\"datasourceBinding\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"locked\",\"floatValue\":0,\"intValue\":0,\"name\":\"locked\",\"type\":5,\"value\":\"false\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"contexts\",\"floatValue\":0,\"intValue\":0,\"name\":\"contexts\",\"type\":4,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"humanName\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"humanName\"},{\"attributes\":[],\"computedValue\":\"humanName\",\"displayName\":\"label\",\"floatValue\":0,\"intValue\":0,\"name\":\"label\",\"type\":1,\"value\":\"humanName\"},{\"attributes\":[],\"computedValue\":\"form_input\",\"displayName\":\"contentPlugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"contentPlugin\",\"type\":1,\"value\":\"form_input\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"condition\",\"floatValue\":0,\"intValue\":0,\"name\":\"condition\",\"type\":1,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"rules\",\"floatValue\":0,\"intValue\":0,\"name\":\"rules\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"rule\",\"floatValue\":0,\"intValue\":0,\"name\":\"rule\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"100\",\"displayName\":\"cols\",\"floatValue\":0,\"intValue\":0,\"name\":\"cols\",\"type\":0,\"value\":\"100\"},{\"attributes\":[],\"computedValue\":\"1\",\"displayName\":\"rows\",\"floatValue\":0,\"intValue\":0,\"name\":\"rows\",\"type\":0,\"value\":\"1\"},{\"attributes\":[],\"computedValue\":\"0\",\"displayName\":\"x\",\"floatValue\":0,\"intValue\":0,\"name\":\"x\",\"type\":0,\"value\":\"0\"},{\"attributes\":[],\"computedValue\":\"0\",\"displayName\":\"y\",\"floatValue\":0,\"intValue\":0,\"name\":\"y\",\"type\":0,\"value\":\"0\"},{\"attributes\":[],\"computedValue\":\"0\",\"displayName\":\"weight\",\"floatValue\":0,\"intValue\":0,\"name\":\"weight\",\"type\":0,\"value\":\"0\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"gridItems\",\"floatValue\":0,\"intValue\":0,\"name\":\"gridItems\",\"type\":4,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"$.ad.results[0].terms[$i].terms\",\"displayName\":\"valuesMapping\",\"floatValue\":0,\"intValue\":0,\"name\":\"valuesMapping\",\"type\":1,\"value\":\"$.ad.results[0].terms[$i].terms\"}],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"100\",\"displayName\":\"cols\",\"floatValue\":0,\"intValue\":0,\"name\":\"cols\",\"type\":0,\"value\":\"100\"},{\"attributes\":[],\"computedValue\":\"1\",\"displayName\":\"rows\",\"floatValue\":0,\"intValue\":0,\"name\":\"rows\",\"type\":0,\"value\":\"1\"},{\"attributes\":[],\"computedValue\":\"0\",\"displayName\":\"x\",\"floatValue\":0,\"intValue\":0,\"name\":\"x\",\"type\":0,\"value\":\"0\"},{\"attributes\":[],\"computedValue\":\"0\",\"displayName\":\"y\",\"floatValue\":0,\"intValue\":0,\"name\":\"y\",\"type\":0,\"value\":\"0\"},{\"attributes\":[],\"computedValue\":\"0\",\"displayName\":\"weight\",\"floatValue\":0,\"intValue\":0,\"name\":\"weight\",\"type\":0,\"value\":\"0\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"gridItems\",\"floatValue\":0,\"intValue\":0,\"name\":\"gridItems\",\"type\":4,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"[ad.results.0.terms.$i.terms.$i.humanName]\",\"displayName\":\"value\",\"floatValue\":0,\"intValue\":0,\"name\":\"value\",\"type\":1,\"value\":\"[ad.results.0.terms.$i.terms.$i.humanName]\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"pane\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"pane\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"id\",\"floatValue\":0,\"intValue\":0,\"name\":\"id\",\"type\":1,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"datasourceBinding\",\"floatValue\":0,\"intValue\":0,\"name\":\"datasourceBinding\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"locked\",\"floatValue\":0,\"intValue\":0,\"name\":\"locked\",\"type\":5,\"value\":\"false\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"contexts\",\"floatValue\":0,\"intValue\":0,\"name\":\"contexts\",\"type\":4,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"humanName\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"humanName\"},{\"attributes\":[],\"computedValue\":\"humanName\",\"displayName\":\"label\",\"floatValue\":0,\"intValue\":0,\"name\":\"label\",\"type\":1,\"value\":\"humanName\"},{\"attributes\":[],\"computedValue\":\"form_input\",\"displayName\":\"contentPlugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"contentPlugin\",\"type\":1,\"value\":\"form_input\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"condition\",\"floatValue\":0,\"intValue\":0,\"name\":\"condition\",\"type\":1,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"rules\",\"floatValue\":0,\"intValue\":0,\"name\":\"rules\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"rule\",\"floatValue\":0,\"intValue\":0,\"name\":\"rule\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"panes\",\"floatValue\":0,\"intValue\":0,\"name\":\"panes\",\"type\":4,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"label\",\"floatValue\":0,\"intValue\":0,\"name\":\"label\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"stylePlugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"stylePlugin\",\"type\":1,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"columnSetting\",\"floatValue\":0,\"intValue\":0,\"name\":\"columnSetting\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"panels\",\"floatValue\":0,\"intValue\":0,\"name\":\"panels\",\"type\":4,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"terms\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"terms\"},{\"attributes\":[],\"computedValue\":\"data\",\"displayName\":\"adaptor\",\"floatValue\":0,\"intValue\":0,\"name\":\"adaptor\",\"type\":1,\"value\":\"data\"},{\"attributes\":[],\"computedValue\":\"state\",\"displayName\":\"plugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"plugin\",\"type\":1,\"value\":\"state\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"1\",\"floatValue\":0,\"intValue\":0,\"name\":\"1\",\"type\":2,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"2\",\"floatValue\":0,\"intValue\":0,\"name\":\"2\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"value\",\"floatValue\":0,\"intValue\":0,\"name\":\"value\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"data\",\"floatValue\":0,\"intValue\":0,\"name\":\"data\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"characters\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"characters\"},{\"attributes\":[],\"computedValue\":\"datasource\",\"displayName\":\"adaptor\",\"floatValue\":0,\"intValue\":0,\"name\":\"adaptor\",\"type\":1,\"value\":\"datasource\"},{\"attributes\":[],\"computedValue\":\"datasource\",\"displayName\":\"plugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"plugin\",\"type\":1,\"value\":\"datasource\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"[{\\\"id\\\":1,\\\"name\\\":\\\"batman\\\"},{\\\"id\\\":2,\\\"name\\\":\\\"superman\\\"}]\",\"displayName\":\"data\",\"floatValue\":0,\"intValue\":0,\"name\":\"data\",\"type\":1,\"value\":\"[{\\\"id\\\":1,\\\"name\\\":\\\"batman\\\"},{\\\"id\\\":2,\\\"name\\\":\\\"superman\\\"}]\"}],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"params\",\"floatValue\":0,\"intValue\":0,\"name\":\"params\",\"type\":4,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"data\",\"displayName\":\"plugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"plugin\",\"type\":1,\"value\":\"data\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"pane\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"pane\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"query\",\"floatValue\":0,\"intValue\":0,\"name\":\"query\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"trackBy\",\"floatValue\":0,\"intValue\":0,\"name\":\"trackBy\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"bindings\",\"floatValue\":0,\"intValue\":0,\"name\":\"bindings\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"renderer\",\"floatValue\":0,\"intValue\":0,\"name\":\"renderer\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"datasource\",\"floatValue\":0,\"intValue\":0,\"name\":\"datasource\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"1\",\"floatValue\":0,\"intValue\":0,\"name\":\"1\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"ad\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"ad\"},{\"attributes\":[],\"computedValue\":\"datasource\",\"displayName\":\"adaptor\",\"floatValue\":0,\"intValue\":0,\"name\":\"adaptor\",\"type\":1,\"value\":\"datasource\"},{\"attributes\":[],\"computedValue\":\"datasource\",\"displayName\":\"plugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"plugin\",\"type\":1,\"value\":\"datasource\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"aws_s3_entity\",\"displayName\":\"adaptorName\",\"floatValue\":0,\"intValue\":0,\"name\":\"adaptorName\",\"type\":1,\"value\":\"aws_s3_entity\"},{\"attributes\":[],\"computedValue\":\"bucket=:bucket\\u0026prefix=:prefix\",\"displayName\":\"optionsString\",\"floatValue\":0,\"intValue\":0,\"name\":\"optionsString\",\"type\":1,\"value\":\"bucket=:bucket\\u0026prefix=:prefix\"},{\"attributes\":[],\"computedValue\":\"identity=:identity\",\"displayName\":\"paramsString\",\"floatValue\":0,\"intValue\":0,\"name\":\"paramsString\",\"type\":1,\"value\":\"identity=:identity\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"static\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"static\"},{\"attributes\":[],\"computedValue\":\"classifieds-ui-prod\",\"displayName\":\"value\",\"floatValue\":0,\"intValue\":0,\"name\":\"value\",\"type\":1,\"value\":\"classifieds-ui-prod\"},{\"attributes\":[],\"computedValue\":\"classifieds-ui-prod\",\"displayName\":\"testValue\",\"floatValue\":0,\"intValue\":0,\"name\":\"testValue\",\"type\":1,\"value\":\"classifieds-ui-prod\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"context\",\"floatValue\":0,\"intValue\":0,\"name\":\"context\",\"type\":1,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"mapping\",\"floatValue\":0,\"intValue\":0,\"name\":\"mapping\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"page\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"page\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"limit\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"limit\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"1\",\"floatValue\":0,\"intValue\":0,\"name\":\"1\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"offset\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"offset\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"2\",\"floatValue\":0,\"intValue\":0,\"name\":\"2\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"searchString\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"searchString\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"3\",\"floatValue\":0,\"intValue\":0,\"name\":\"3\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"flags\",\"floatValue\":0,\"intValue\":0,\"name\":\"flags\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"static\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"static\"},{\"attributes\":[],\"computedValue\":\"ads/\",\"displayName\":\"value\",\"floatValue\":0,\"intValue\":0,\"name\":\"value\",\"type\":1,\"value\":\"ads/\"},{\"attributes\":[],\"computedValue\":\"ads/\",\"displayName\":\"testValue\",\"floatValue\":0,\"intValue\":0,\"name\":\"testValue\",\"type\":1,\"value\":\"ads/\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"context\",\"floatValue\":0,\"intValue\":0,\"name\":\"context\",\"type\":1,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"mapping\",\"floatValue\":0,\"intValue\":0,\"name\":\"mapping\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"page\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"page\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"limit\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"limit\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"1\",\"floatValue\":0,\"intValue\":0,\"name\":\"1\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"offset\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"offset\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"2\",\"floatValue\":0,\"intValue\":0,\"name\":\"2\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"searchString\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"searchString\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"3\",\"floatValue\":0,\"intValue\":0,\"name\":\"3\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"flags\",\"floatValue\":0,\"intValue\":0,\"name\":\"flags\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"1\",\"floatValue\":0,\"intValue\":0,\"name\":\"1\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"options\",\"floatValue\":0,\"intValue\":0,\"name\":\"options\",\"type\":4,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"route\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"route\"},{\"attributes\":[],\"computedValue\":\"arg0\",\"displayName\":\"value\",\"floatValue\":0,\"intValue\":0,\"name\":\"value\",\"type\":1,\"value\":\"arg0\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"testValue\",\"floatValue\":0,\"intValue\":0,\"name\":\"testValue\",\"type\":1,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"context\",\"floatValue\":0,\"intValue\":0,\"name\":\"context\",\"type\":1,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"mapping\",\"floatValue\":0,\"intValue\":0,\"name\":\"mapping\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"page\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"page\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"limit\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"limit\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"1\",\"floatValue\":0,\"intValue\":0,\"name\":\"1\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"offset\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"offset\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"2\",\"floatValue\":0,\"intValue\":0,\"name\":\"2\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"searchString\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"searchString\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"3\",\"floatValue\":0,\"intValue\":0,\"name\":\"3\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"flags\",\"floatValue\":0,\"intValue\":0,\"name\":\"flags\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"params\",\"floatValue\":0,\"intValue\":0,\"name\":\"params\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"params\",\"floatValue\":0,\"intValue\":0,\"name\":\"params\",\"type\":4,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"crud_adaptor\",\"displayName\":\"plugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"plugin\",\"type\":1,\"value\":\"crud_adaptor\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"pane\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"pane\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"query\",\"floatValue\":0,\"intValue\":0,\"name\":\"query\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"trackBy\",\"floatValue\":0,\"intValue\":0,\"name\":\"trackBy\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"bindings\",\"floatValue\":0,\"intValue\":0,\"name\":\"bindings\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"renderer\",\"floatValue\":0,\"intValue\":0,\"name\":\"renderer\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"datasource\",\"floatValue\":0,\"intValue\":0,\"name\":\"datasource\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"2\",\"floatValue\":0,\"intValue\":0,\"name\":\"2\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"contexts\",\"floatValue\":0,\"intValue\":0,\"name\":\"contexts\",\"type\":4,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"rowSettings\",\"floatValue\":0,\"intValue\":0,\"name\":\"rowSettings\",\"type\":4,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"readUserIds\",\"floatValue\":0,\"intValue\":0,\"name\":\"readUserIds\",\"type\":4,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"writeUserIds\",\"floatValue\":0,\"intValue\":0,\"name\":\"writeUserIds\",\"type\":4,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"deleteUserIds\",\"floatValue\":0,\"intValue\":0,\"name\":\"deleteUserIds\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"entityPermissions\",\"floatValue\":0,\"intValue\":0,\"name\":\"entityPermissions\",\"type\":2,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"id\",\"floatValue\":0,\"intValue\":0,\"name\":\"id\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"split\",\"displayName\":\"layoutType\",\"floatValue\":0,\"intValue\":0,\"name\":\"layoutType\",\"type\":1,\"value\":\"split\"},{\"attributes\":[],\"computedValue\":\"form\",\"displayName\":\"displayType\",\"floatValue\":0,\"intValue\":0,\"name\":\"displayType\",\"type\":1,\"value\":\"form\"},{\"attributes\":[],\"computedValue\":\"terms_form2\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"terms_form2\"},{\"attributes\":[],\"computedValue\":\"terms_form2\",\"displayName\":\"title\",\"floatValue\":0,\"intValue\":0,\"name\":\"title\",\"type\":1,\"value\":\"terms_form2\"},{\"attributes\":[],\"computedValue\":\"spearhead\",\"displayName\":\"site\",\"floatValue\":0,\"intValue\":0,\"name\":\"site\",\"type\":1,\"value\":\"spearhead\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"userId\",\"floatValue\":0,\"intValue\":0,\"name\":\"userId\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"path\",\"floatValue\":0,\"intValue\":0,\"name\":\"path\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"plugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"plugin\",\"type\":0,\"value\":\"undefined\"}],\"computedValue\":\"\",\"displayName\":\"dataduct\",\"floatValue\":0,\"intValue\":0,\"name\":\"dataduct\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"persistence\",\"floatValue\":0,\"intValue\":0,\"name\":\"persistence\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"layoutSetting\",\"floatValue\":0,\"intValue\":0,\"name\":\"layoutSetting\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"locked\",\"floatValue\":0,\"intValue\":0,\"name\":\"locked\",\"type\":5,\"value\":\"false\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"contexts\",\"floatValue\":0,\"intValue\":0,\"name\":\"contexts\",\"type\":4,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"terms\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"terms\"},{\"attributes\":[],\"computedValue\":\"terms\",\"displayName\":\"label\",\"floatValue\":0,\"intValue\":0,\"name\":\"label\",\"type\":1,\"value\":\"terms\"},{\"attributes\":[],\"computedValue\":\"panel\",\"displayName\":\"contentPlugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"contentPlugin\",\"type\":1,\"value\":\"panel\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"condition\",\"floatValue\":0,\"intValue\":0,\"name\":\"condition\",\"type\":1,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"rules\",\"floatValue\":0,\"intValue\":0,\"name\":\"rules\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"rule\",\"floatValue\":0,\"intValue\":0,\"name\":\"rule\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"panes\",\"floatValue\":0,\"intValue\":0,\"name\":\"panes\",\"type\":4,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"label\",\"floatValue\":0,\"intValue\":0,\"name\":\"label\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"form_section\",\"displayName\":\"stylePlugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"stylePlugin\",\"type\":1,\"value\":\"form_section\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"columnSetting\",\"floatValue\":0,\"intValue\":0,\"name\":\"columnSetting\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"panels\",\"floatValue\":0,\"intValue\":0,\"name\":\"panels\",\"type\":4,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"terms\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"terms\"},{\"attributes\":[],\"computedValue\":\"data\",\"displayName\":\"adaptor\",\"floatValue\":0,\"intValue\":0,\"name\":\"adaptor\",\"type\":1,\"value\":\"data\"},{\"attributes\":[],\"computedValue\":\"state\",\"displayName\":\"plugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"plugin\",\"type\":1,\"value\":\"state\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"1\",\"floatValue\":0,\"intValue\":0,\"name\":\"1\",\"type\":2,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"2\",\"floatValue\":0,\"intValue\":0,\"name\":\"2\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"value\",\"floatValue\":0,\"intValue\":0,\"name\":\"value\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"data\",\"floatValue\":0,\"intValue\":0,\"name\":\"data\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"characters\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"characters\"},{\"attributes\":[],\"computedValue\":\"datasource\",\"displayName\":\"adaptor\",\"floatValue\":0,\"intValue\":0,\"name\":\"adaptor\",\"type\":1,\"value\":\"datasource\"},{\"attributes\":[],\"computedValue\":\"datasource\",\"displayName\":\"plugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"plugin\",\"type\":1,\"value\":\"datasource\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"[{\\\"id\\\":1,\\\"name\\\":\\\"batman\\\"},{\\\"id\\\":2,\\\"name\\\":\\\"superman\\\"}]\",\"displayName\":\"data\",\"floatValue\":0,\"intValue\":0,\"name\":\"data\",\"type\":1,\"value\":\"[{\\\"id\\\":1,\\\"name\\\":\\\"batman\\\"},{\\\"id\\\":2,\\\"name\\\":\\\"superman\\\"}]\"}],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"params\",\"floatValue\":0,\"intValue\":0,\"name\":\"params\",\"type\":4,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"data\",\"displayName\":\"plugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"plugin\",\"type\":1,\"value\":\"data\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"pane\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"pane\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"query\",\"floatValue\":0,\"intValue\":0,\"name\":\"query\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"trackBy\",\"floatValue\":0,\"intValue\":0,\"name\":\"trackBy\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"bindings\",\"floatValue\":0,\"intValue\":0,\"name\":\"bindings\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"renderer\",\"floatValue\":0,\"intValue\":0,\"name\":\"renderer\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"datasource\",\"floatValue\":0,\"intValue\":0,\"name\":\"datasource\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"1\",\"floatValue\":0,\"intValue\":0,\"name\":\"1\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"ad\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"ad\"},{\"attributes\":[],\"computedValue\":\"datasource\",\"displayName\":\"adaptor\",\"floatValue\":0,\"intValue\":0,\"name\":\"adaptor\",\"type\":1,\"value\":\"datasource\"},{\"attributes\":[],\"computedValue\":\"datasource\",\"displayName\":\"plugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"plugin\",\"type\":1,\"value\":\"datasource\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"aws_s3_entity\",\"displayName\":\"adaptorName\",\"floatValue\":0,\"intValue\":0,\"name\":\"adaptorName\",\"type\":1,\"value\":\"aws_s3_entity\"},{\"attributes\":[],\"computedValue\":\"bucket=:bucket\\u0026prefix=:prefix\",\"displayName\":\"optionsString\",\"floatValue\":0,\"intValue\":0,\"name\":\"optionsString\",\"type\":1,\"value\":\"bucket=:bucket\\u0026prefix=:prefix\"},{\"attributes\":[],\"computedValue\":\"identity=:identity\",\"displayName\":\"paramsString\",\"floatValue\":0,\"intValue\":0,\"name\":\"paramsString\",\"type\":1,\"value\":\"identity=:identity\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"static\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"static\"},{\"attributes\":[],\"computedValue\":\"classifieds-ui-prod\",\"displayName\":\"value\",\"floatValue\":0,\"intValue\":0,\"name\":\"value\",\"type\":1,\"value\":\"classifieds-ui-prod\"},{\"attributes\":[],\"computedValue\":\"classifieds-ui-prod\",\"displayName\":\"testValue\",\"floatValue\":0,\"intValue\":0,\"name\":\"testValue\",\"type\":1,\"value\":\"classifieds-ui-prod\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"context\",\"floatValue\":0,\"intValue\":0,\"name\":\"context\",\"type\":1,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"mapping\",\"floatValue\":0,\"intValue\":0,\"name\":\"mapping\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"page\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"page\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"limit\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"limit\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"1\",\"floatValue\":0,\"intValue\":0,\"name\":\"1\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"offset\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"offset\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"2\",\"floatValue\":0,\"intValue\":0,\"name\":\"2\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"searchString\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"searchString\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"3\",\"floatValue\":0,\"intValue\":0,\"name\":\"3\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"flags\",\"floatValue\":0,\"intValue\":0,\"name\":\"flags\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"static\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"static\"},{\"attributes\":[],\"computedValue\":\"ads/\",\"displayName\":\"value\",\"floatValue\":0,\"intValue\":0,\"name\":\"value\",\"type\":1,\"value\":\"ads/\"},{\"attributes\":[],\"computedValue\":\"ads/\",\"displayName\":\"testValue\",\"floatValue\":0,\"intValue\":0,\"name\":\"testValue\",\"type\":1,\"value\":\"ads/\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"context\",\"floatValue\":0,\"intValue\":0,\"name\":\"context\",\"type\":1,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"mapping\",\"floatValue\":0,\"intValue\":0,\"name\":\"mapping\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"page\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"page\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"limit\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"limit\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"1\",\"floatValue\":0,\"intValue\":0,\"name\":\"1\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"offset\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"offset\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"2\",\"floatValue\":0,\"intValue\":0,\"name\":\"2\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"searchString\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"searchString\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"3\",\"floatValue\":0,\"intValue\":0,\"name\":\"3\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"flags\",\"floatValue\":0,\"intValue\":0,\"name\":\"flags\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"1\",\"floatValue\":0,\"intValue\":0,\"name\":\"1\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"options\",\"floatValue\":0,\"intValue\":0,\"name\":\"options\",\"type\":4,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"route\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"route\"},{\"attributes\":[],\"computedValue\":\"arg0\",\"displayName\":\"value\",\"floatValue\":0,\"intValue\":0,\"name\":\"value\",\"type\":1,\"value\":\"arg0\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"testValue\",\"floatValue\":0,\"intValue\":0,\"name\":\"testValue\",\"type\":1,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"context\",\"floatValue\":0,\"intValue\":0,\"name\":\"context\",\"type\":1,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"mapping\",\"floatValue\":0,\"intValue\":0,\"name\":\"mapping\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"page\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"page\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"limit\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"limit\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"1\",\"floatValue\":0,\"intValue\":0,\"name\":\"1\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"offset\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"offset\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"2\",\"floatValue\":0,\"intValue\":0,\"name\":\"2\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"searchString\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"searchString\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"3\",\"floatValue\":0,\"intValue\":0,\"name\":\"3\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"flags\",\"floatValue\":0,\"intValue\":0,\"name\":\"flags\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"params\",\"floatValue\":0,\"intValue\":0,\"name\":\"params\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"params\",\"floatValue\":0,\"intValue\":0,\"name\":\"params\",\"type\":4,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"crud_adaptor\",\"displayName\":\"plugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"plugin\",\"type\":1,\"value\":\"crud_adaptor\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"pane\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"pane\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"query\",\"floatValue\":0,\"intValue\":0,\"name\":\"query\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"trackBy\",\"floatValue\":0,\"intValue\":0,\"name\":\"trackBy\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"bindings\",\"floatValue\":0,\"intValue\":0,\"name\":\"bindings\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"renderer\",\"floatValue\":0,\"intValue\":0,\"name\":\"renderer\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"datasource\",\"floatValue\":0,\"intValue\":0,\"name\":\"datasource\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"2\",\"floatValue\":0,\"intValue\":0,\"name\":\"2\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"contexts\",\"floatValue\":0,\"intValue\":0,\"name\":\"contexts\",\"type\":4,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"rowSettings\",\"floatValue\":0,\"intValue\":0,\"name\":\"rowSettings\",\"type\":4,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"readUserIds\",\"floatValue\":0,\"intValue\":0,\"name\":\"readUserIds\",\"type\":4,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"writeUserIds\",\"floatValue\":0,\"intValue\":0,\"name\":\"writeUserIds\",\"type\":4,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"deleteUserIds\",\"floatValue\":0,\"intValue\":0,\"name\":\"deleteUserIds\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"entityPermissions\",\"floatValue\":0,\"intValue\":0,\"name\":\"entityPermissions\",\"type\":2,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"id\",\"floatValue\":0,\"intValue\":0,\"name\":\"id\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"split\",\"displayName\":\"layoutType\",\"floatValue\":0,\"intValue\":0,\"name\":\"layoutType\",\"type\":1,\"value\":\"split\"},{\"attributes\":[],\"computedValue\":\"form\",\"displayName\":\"displayType\",\"floatValue\":0,\"intValue\":0,\"name\":\"displayType\",\"type\":1,\"value\":\"form\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"title\",\"floatValue\":0,\"intValue\":0,\"name\":\"title\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"spearhead\",\"displayName\":\"site\",\"floatValue\":0,\"intValue\":0,\"name\":\"site\",\"type\":1,\"value\":\"spearhead\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"userId\",\"floatValue\":0,\"intValue\":0,\"name\":\"userId\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"path\",\"floatValue\":0,\"intValue\":0,\"name\":\"path\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"plugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"plugin\",\"type\":0,\"value\":\"undefined\"}],\"computedValue\":\"\",\"displayName\":\"dataduct\",\"floatValue\":0,\"intValue\":0,\"name\":\"dataduct\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"persistence\",\"floatValue\":0,\"intValue\":0,\"name\":\"persistence\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"layoutSetting\",\"floatValue\":0,\"intValue\":0,\"name\":\"layoutSetting\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"locked\",\"floatValue\":0,\"intValue\":0,\"name\":\"locked\",\"type\":5,\"value\":\"false\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"contexts\",\"floatValue\":0,\"intValue\":0,\"name\":\"contexts\",\"type\":4,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"label\",\"floatValue\":0,\"intValue\":0,\"name\":\"label\",\"type\":1,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"panel\",\"displayName\":\"contentPlugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"contentPlugin\",\"type\":1,\"value\":\"panel\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"condition\",\"floatValue\":0,\"intValue\":0,\"name\":\"condition\",\"type\":1,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"rules\",\"floatValue\":0,\"intValue\":0,\"name\":\"rules\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"rule\",\"floatValue\":0,\"intValue\":0,\"name\":\"rule\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"1\",\"floatValue\":0,\"intValue\":0,\"name\":\"1\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"panes\",\"floatValue\":0,\"intValue\":0,\"name\":\"panes\",\"type\":4,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"label\",\"floatValue\":0,\"intValue\":0,\"name\":\"label\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"stylePlugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"stylePlugin\",\"type\":1,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"columnSetting\",\"floatValue\":0,\"intValue\":0,\"name\":\"columnSetting\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"panels\",\"floatValue\":0,\"intValue\":0,\"name\":\"panels\",\"type\":4,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"terms\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"terms\"},{\"attributes\":[],\"computedValue\":\"data\",\"displayName\":\"adaptor\",\"floatValue\":0,\"intValue\":0,\"name\":\"adaptor\",\"type\":1,\"value\":\"data\"},{\"attributes\":[],\"computedValue\":\"state\",\"displayName\":\"plugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"plugin\",\"type\":1,\"value\":\"state\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"1\",\"floatValue\":0,\"intValue\":0,\"name\":\"1\",\"type\":2,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"2\",\"floatValue\":0,\"intValue\":0,\"name\":\"2\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"value\",\"floatValue\":0,\"intValue\":0,\"name\":\"value\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"data\",\"floatValue\":0,\"intValue\":0,\"name\":\"data\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"characters\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"characters\"},{\"attributes\":[],\"computedValue\":\"datasource\",\"displayName\":\"adaptor\",\"floatValue\":0,\"intValue\":0,\"name\":\"adaptor\",\"type\":1,\"value\":\"datasource\"},{\"attributes\":[],\"computedValue\":\"datasource\",\"displayName\":\"plugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"plugin\",\"type\":1,\"value\":\"datasource\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"[{\\\"id\\\":1,\\\"name\\\":\\\"batman\\\"},{\\\"id\\\":2,\\\"name\\\":\\\"superman\\\"}]\",\"displayName\":\"data\",\"floatValue\":0,\"intValue\":0,\"name\":\"data\",\"type\":1,\"value\":\"[{\\\"id\\\":1,\\\"name\\\":\\\"batman\\\"},{\\\"id\\\":2,\\\"name\\\":\\\"superman\\\"}]\"}],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"params\",\"floatValue\":0,\"intValue\":0,\"name\":\"params\",\"type\":4,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"data\",\"displayName\":\"plugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"plugin\",\"type\":1,\"value\":\"data\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"pane\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"pane\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"query\",\"floatValue\":0,\"intValue\":0,\"name\":\"query\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"trackBy\",\"floatValue\":0,\"intValue\":0,\"name\":\"trackBy\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"bindings\",\"floatValue\":0,\"intValue\":0,\"name\":\"bindings\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"renderer\",\"floatValue\":0,\"intValue\":0,\"name\":\"renderer\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"datasource\",\"floatValue\":0,\"intValue\":0,\"name\":\"datasource\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"1\",\"floatValue\":0,\"intValue\":0,\"name\":\"1\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"ad\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"ad\"},{\"attributes\":[],\"computedValue\":\"datasource\",\"displayName\":\"adaptor\",\"floatValue\":0,\"intValue\":0,\"name\":\"adaptor\",\"type\":1,\"value\":\"datasource\"},{\"attributes\":[],\"computedValue\":\"datasource\",\"displayName\":\"plugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"plugin\",\"type\":1,\"value\":\"datasource\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"aws_s3_entity\",\"displayName\":\"adaptorName\",\"floatValue\":0,\"intValue\":0,\"name\":\"adaptorName\",\"type\":1,\"value\":\"aws_s3_entity\"},{\"attributes\":[],\"computedValue\":\"bucket=:bucket\\u0026prefix=:prefix\",\"displayName\":\"optionsString\",\"floatValue\":0,\"intValue\":0,\"name\":\"optionsString\",\"type\":1,\"value\":\"bucket=:bucket\\u0026prefix=:prefix\"},{\"attributes\":[],\"computedValue\":\"identity=:identity\",\"displayName\":\"paramsString\",\"floatValue\":0,\"intValue\":0,\"name\":\"paramsString\",\"type\":1,\"value\":\"identity=:identity\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"static\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"static\"},{\"attributes\":[],\"computedValue\":\"classifieds-ui-prod\",\"displayName\":\"value\",\"floatValue\":0,\"intValue\":0,\"name\":\"value\",\"type\":1,\"value\":\"classifieds-ui-prod\"},{\"attributes\":[],\"computedValue\":\"classifieds-ui-prod\",\"displayName\":\"testValue\",\"floatValue\":0,\"intValue\":0,\"name\":\"testValue\",\"type\":1,\"value\":\"classifieds-ui-prod\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"context\",\"floatValue\":0,\"intValue\":0,\"name\":\"context\",\"type\":1,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"mapping\",\"floatValue\":0,\"intValue\":0,\"name\":\"mapping\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"page\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"page\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"limit\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"limit\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"1\",\"floatValue\":0,\"intValue\":0,\"name\":\"1\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"offset\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"offset\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"2\",\"floatValue\":0,\"intValue\":0,\"name\":\"2\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"searchString\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"searchString\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"3\",\"floatValue\":0,\"intValue\":0,\"name\":\"3\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"flags\",\"floatValue\":0,\"intValue\":0,\"name\":\"flags\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"static\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"static\"},{\"attributes\":[],\"computedValue\":\"ads/\",\"displayName\":\"value\",\"floatValue\":0,\"intValue\":0,\"name\":\"value\",\"type\":1,\"value\":\"ads/\"},{\"attributes\":[],\"computedValue\":\"ads/\",\"displayName\":\"testValue\",\"floatValue\":0,\"intValue\":0,\"name\":\"testValue\",\"type\":1,\"value\":\"ads/\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"context\",\"floatValue\":0,\"intValue\":0,\"name\":\"context\",\"type\":1,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"mapping\",\"floatValue\":0,\"intValue\":0,\"name\":\"mapping\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"page\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"page\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"limit\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"limit\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"1\",\"floatValue\":0,\"intValue\":0,\"name\":\"1\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"offset\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"offset\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"2\",\"floatValue\":0,\"intValue\":0,\"name\":\"2\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"searchString\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"searchString\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"3\",\"floatValue\":0,\"intValue\":0,\"name\":\"3\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"flags\",\"floatValue\":0,\"intValue\":0,\"name\":\"flags\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"1\",\"floatValue\":0,\"intValue\":0,\"name\":\"1\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"options\",\"floatValue\":0,\"intValue\":0,\"name\":\"options\",\"type\":4,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"route\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"route\"},{\"attributes\":[],\"computedValue\":\"arg0\",\"displayName\":\"value\",\"floatValue\":0,\"intValue\":0,\"name\":\"value\",\"type\":1,\"value\":\"arg0\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"testValue\",\"floatValue\":0,\"intValue\":0,\"name\":\"testValue\",\"type\":1,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"context\",\"floatValue\":0,\"intValue\":0,\"name\":\"context\",\"type\":1,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"mapping\",\"floatValue\":0,\"intValue\":0,\"name\":\"mapping\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"page\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"page\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"limit\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"limit\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"1\",\"floatValue\":0,\"intValue\":0,\"name\":\"1\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"offset\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"offset\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"2\",\"floatValue\":0,\"intValue\":0,\"name\":\"2\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"searchString\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"searchString\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"3\",\"floatValue\":0,\"intValue\":0,\"name\":\"3\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"flags\",\"floatValue\":0,\"intValue\":0,\"name\":\"flags\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"params\",\"floatValue\":0,\"intValue\":0,\"name\":\"params\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"params\",\"floatValue\":0,\"intValue\":0,\"name\":\"params\",\"type\":4,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"crud_adaptor\",\"displayName\":\"plugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"plugin\",\"type\":1,\"value\":\"crud_adaptor\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"pane\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"pane\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"query\",\"floatValue\":0,\"intValue\":0,\"name\":\"query\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"trackBy\",\"floatValue\":0,\"intValue\":0,\"name\":\"trackBy\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"bindings\",\"floatValue\":0,\"intValue\":0,\"name\":\"bindings\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"renderer\",\"floatValue\":0,\"intValue\":0,\"name\":\"renderer\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"datasource\",\"floatValue\":0,\"intValue\":0,\"name\":\"datasource\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"2\",\"floatValue\":0,\"intValue\":0,\"name\":\"2\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"contexts\",\"floatValue\":0,\"intValue\":0,\"name\":\"contexts\",\"type\":4,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"rowSettings\",\"floatValue\":0,\"intValue\":0,\"name\":\"rowSettings\",\"type\":4,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"readUserIds\",\"floatValue\":0,\"intValue\":0,\"name\":\"readUserIds\",\"type\":4,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"writeUserIds\",\"floatValue\":0,\"intValue\":0,\"name\":\"writeUserIds\",\"type\":4,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"deleteUserIds\",\"floatValue\":0,\"intValue\":0,\"name\":\"deleteUserIds\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"entityPermissions\",\"floatValue\":0,\"intValue\":0,\"name\":\"entityPermissions\",\"type\":2,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"id\",\"floatValue\":0,\"intValue\":0,\"name\":\"id\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"split\",\"displayName\":\"layoutType\",\"floatValue\":0,\"intValue\":0,\"name\":\"layoutType\",\"type\":1,\"value\":\"split\"},{\"attributes\":[],\"computedValue\":\"form\",\"displayName\":\"displayType\",\"floatValue\":0,\"intValue\":0,\"name\":\"displayType\",\"type\":1,\"value\":\"form\"},{\"attributes\":[],\"computedValue\":\"terms_form\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"terms_form\"},{\"attributes\":[],\"computedValue\":\"terms_form\",\"displayName\":\"title\",\"floatValue\":0,\"intValue\":0,\"name\":\"title\",\"type\":1,\"value\":\"terms_form\"},{\"attributes\":[],\"computedValue\":\"spearhead\",\"displayName\":\"site\",\"floatValue\":0,\"intValue\":0,\"name\":\"site\",\"type\":1,\"value\":\"spearhead\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"userId\",\"floatValue\":0,\"intValue\":0,\"name\":\"userId\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"path\",\"floatValue\":0,\"intValue\":0,\"name\":\"path\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"plugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"plugin\",\"type\":0,\"value\":\"undefined\"}],\"computedValue\":\"\",\"displayName\":\"dataduct\",\"floatValue\":0,\"intValue\":0,\"name\":\"dataduct\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"persistence\",\"floatValue\":0,\"intValue\":0,\"name\":\"persistence\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"layoutSetting\",\"floatValue\":0,\"intValue\":0,\"name\":\"layoutSetting\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"locked\",\"floatValue\":0,\"intValue\":0,\"name\":\"locked\",\"type\":5,\"value\":\"false\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"contexts\",\"floatValue\":0,\"intValue\":0,\"name\":\"contexts\",\"type\":4,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"terms\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"terms\"},{\"attributes\":[],\"computedValue\":\"terms\",\"displayName\":\"label\",\"floatValue\":0,\"intValue\":0,\"name\":\"label\",\"type\":1,\"value\":\"terms\"},{\"attributes\":[],\"computedValue\":\"panel\",\"displayName\":\"contentPlugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"contentPlugin\",\"type\":1,\"value\":\"panel\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"condition\",\"floatValue\":0,\"intValue\":0,\"name\":\"condition\",\"type\":1,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"rules\",\"floatValue\":0,\"intValue\":0,\"name\":\"rules\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"rule\",\"floatValue\":0,\"intValue\":0,\"name\":\"rule\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"panes\",\"floatValue\":0,\"intValue\":0,\"name\":\"panes\",\"type\":4,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"label\",\"floatValue\":0,\"intValue\":0,\"name\":\"label\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"form_section\",\"displayName\":\"stylePlugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"stylePlugin\",\"type\":1,\"value\":\"form_section\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"columnSetting\",\"floatValue\":0,\"intValue\":0,\"name\":\"columnSetting\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"panels\",\"floatValue\":0,\"intValue\":0,\"name\":\"panels\",\"type\":4,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"terms\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"terms\"},{\"attributes\":[],\"computedValue\":\"data\",\"displayName\":\"adaptor\",\"floatValue\":0,\"intValue\":0,\"name\":\"adaptor\",\"type\":1,\"value\":\"data\"},{\"attributes\":[],\"computedValue\":\"state\",\"displayName\":\"plugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"plugin\",\"type\":1,\"value\":\"state\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"1\",\"floatValue\":0,\"intValue\":0,\"name\":\"1\",\"type\":2,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"2\",\"floatValue\":0,\"intValue\":0,\"name\":\"2\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"value\",\"floatValue\":0,\"intValue\":0,\"name\":\"value\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"data\",\"floatValue\":0,\"intValue\":0,\"name\":\"data\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"characters\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"characters\"},{\"attributes\":[],\"computedValue\":\"datasource\",\"displayName\":\"adaptor\",\"floatValue\":0,\"intValue\":0,\"name\":\"adaptor\",\"type\":1,\"value\":\"datasource\"},{\"attributes\":[],\"computedValue\":\"datasource\",\"displayName\":\"plugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"plugin\",\"type\":1,\"value\":\"datasource\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"[{\\\"id\\\":1,\\\"name\\\":\\\"batman\\\"},{\\\"id\\\":2,\\\"name\\\":\\\"superman\\\"}]\",\"displayName\":\"data\",\"floatValue\":0,\"intValue\":0,\"name\":\"data\",\"type\":1,\"value\":\"[{\\\"id\\\":1,\\\"name\\\":\\\"batman\\\"},{\\\"id\\\":2,\\\"name\\\":\\\"superman\\\"}]\"}],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"params\",\"floatValue\":0,\"intValue\":0,\"name\":\"params\",\"type\":4,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"data\",\"displayName\":\"plugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"plugin\",\"type\":1,\"value\":\"data\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"pane\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"pane\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"query\",\"floatValue\":0,\"intValue\":0,\"name\":\"query\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"trackBy\",\"floatValue\":0,\"intValue\":0,\"name\":\"trackBy\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"bindings\",\"floatValue\":0,\"intValue\":0,\"name\":\"bindings\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"renderer\",\"floatValue\":0,\"intValue\":0,\"name\":\"renderer\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"datasource\",\"floatValue\":0,\"intValue\":0,\"name\":\"datasource\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"1\",\"floatValue\":0,\"intValue\":0,\"name\":\"1\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"ad\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"ad\"},{\"attributes\":[],\"computedValue\":\"datasource\",\"displayName\":\"adaptor\",\"floatValue\":0,\"intValue\":0,\"name\":\"adaptor\",\"type\":1,\"value\":\"datasource\"},{\"attributes\":[],\"computedValue\":\"datasource\",\"displayName\":\"plugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"plugin\",\"type\":1,\"value\":\"datasource\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"aws_s3_entity\",\"displayName\":\"adaptorName\",\"floatValue\":0,\"intValue\":0,\"name\":\"adaptorName\",\"type\":1,\"value\":\"aws_s3_entity\"},{\"attributes\":[],\"computedValue\":\"bucket=:bucket\\u0026prefix=:prefix\",\"displayName\":\"optionsString\",\"floatValue\":0,\"intValue\":0,\"name\":\"optionsString\",\"type\":1,\"value\":\"bucket=:bucket\\u0026prefix=:prefix\"},{\"attributes\":[],\"computedValue\":\"identity=:identity\",\"displayName\":\"paramsString\",\"floatValue\":0,\"intValue\":0,\"name\":\"paramsString\",\"type\":1,\"value\":\"identity=:identity\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"static\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"static\"},{\"attributes\":[],\"computedValue\":\"classifieds-ui-prod\",\"displayName\":\"value\",\"floatValue\":0,\"intValue\":0,\"name\":\"value\",\"type\":1,\"value\":\"classifieds-ui-prod\"},{\"attributes\":[],\"computedValue\":\"classifieds-ui-prod\",\"displayName\":\"testValue\",\"floatValue\":0,\"intValue\":0,\"name\":\"testValue\",\"type\":1,\"value\":\"classifieds-ui-prod\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"context\",\"floatValue\":0,\"intValue\":0,\"name\":\"context\",\"type\":1,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"mapping\",\"floatValue\":0,\"intValue\":0,\"name\":\"mapping\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"page\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"page\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"limit\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"limit\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"1\",\"floatValue\":0,\"intValue\":0,\"name\":\"1\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"offset\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"offset\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"2\",\"floatValue\":0,\"intValue\":0,\"name\":\"2\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"searchString\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"searchString\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"3\",\"floatValue\":0,\"intValue\":0,\"name\":\"3\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"flags\",\"floatValue\":0,\"intValue\":0,\"name\":\"flags\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"static\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"static\"},{\"attributes\":[],\"computedValue\":\"ads/\",\"displayName\":\"value\",\"floatValue\":0,\"intValue\":0,\"name\":\"value\",\"type\":1,\"value\":\"ads/\"},{\"attributes\":[],\"computedValue\":\"ads/\",\"displayName\":\"testValue\",\"floatValue\":0,\"intValue\":0,\"name\":\"testValue\",\"type\":1,\"value\":\"ads/\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"context\",\"floatValue\":0,\"intValue\":0,\"name\":\"context\",\"type\":1,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"mapping\",\"floatValue\":0,\"intValue\":0,\"name\":\"mapping\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"page\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"page\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"limit\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"limit\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"1\",\"floatValue\":0,\"intValue\":0,\"name\":\"1\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"offset\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"offset\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"2\",\"floatValue\":0,\"intValue\":0,\"name\":\"2\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"searchString\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"searchString\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"3\",\"floatValue\":0,\"intValue\":0,\"name\":\"3\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"flags\",\"floatValue\":0,\"intValue\":0,\"name\":\"flags\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"1\",\"floatValue\":0,\"intValue\":0,\"name\":\"1\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"options\",\"floatValue\":0,\"intValue\":0,\"name\":\"options\",\"type\":4,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"route\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"route\"},{\"attributes\":[],\"computedValue\":\"arg0\",\"displayName\":\"value\",\"floatValue\":0,\"intValue\":0,\"name\":\"value\",\"type\":1,\"value\":\"arg0\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"testValue\",\"floatValue\":0,\"intValue\":0,\"name\":\"testValue\",\"type\":1,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"context\",\"floatValue\":0,\"intValue\":0,\"name\":\"context\",\"type\":1,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"mapping\",\"floatValue\":0,\"intValue\":0,\"name\":\"mapping\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"page\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"page\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"limit\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"limit\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"1\",\"floatValue\":0,\"intValue\":0,\"name\":\"1\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"offset\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"offset\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"2\",\"floatValue\":0,\"intValue\":0,\"name\":\"2\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"searchString\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"searchString\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"3\",\"floatValue\":0,\"intValue\":0,\"name\":\"3\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"flags\",\"floatValue\":0,\"intValue\":0,\"name\":\"flags\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"params\",\"floatValue\":0,\"intValue\":0,\"name\":\"params\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"params\",\"floatValue\":0,\"intValue\":0,\"name\":\"params\",\"type\":4,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"crud_adaptor\",\"displayName\":\"plugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"plugin\",\"type\":1,\"value\":\"crud_adaptor\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"pane\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"pane\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"query\",\"floatValue\":0,\"intValue\":0,\"name\":\"query\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"trackBy\",\"floatValue\":0,\"intValue\":0,\"name\":\"trackBy\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"bindings\",\"floatValue\":0,\"intValue\":0,\"name\":\"bindings\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"renderer\",\"floatValue\":0,\"intValue\":0,\"name\":\"renderer\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"datasource\",\"floatValue\":0,\"intValue\":0,\"name\":\"datasource\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"2\",\"floatValue\":0,\"intValue\":0,\"name\":\"2\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"contexts\",\"floatValue\":0,\"intValue\":0,\"name\":\"contexts\",\"type\":4,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"rowSettings\",\"floatValue\":0,\"intValue\":0,\"name\":\"rowSettings\",\"type\":4,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"readUserIds\",\"floatValue\":0,\"intValue\":0,\"name\":\"readUserIds\",\"type\":4,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"writeUserIds\",\"floatValue\":0,\"intValue\":0,\"name\":\"writeUserIds\",\"type\":4,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"deleteUserIds\",\"floatValue\":0,\"intValue\":0,\"name\":\"deleteUserIds\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"entityPermissions\",\"floatValue\":0,\"intValue\":0,\"name\":\"entityPermissions\",\"type\":2,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"id\",\"floatValue\":0,\"intValue\":0,\"name\":\"id\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"split\",\"displayName\":\"layoutType\",\"floatValue\":0,\"intValue\":0,\"name\":\"layoutType\",\"type\":1,\"value\":\"split\"},{\"attributes\":[],\"computedValue\":\"form\",\"displayName\":\"displayType\",\"floatValue\":0,\"intValue\":0,\"name\":\"displayType\",\"type\":1,\"value\":\"form\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"title\",\"floatValue\":0,\"intValue\":0,\"name\":\"title\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"spearhead\",\"displayName\":\"site\",\"floatValue\":0,\"intValue\":0,\"name\":\"site\",\"type\":1,\"value\":\"spearhead\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"userId\",\"floatValue\":0,\"intValue\":0,\"name\":\"userId\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"path\",\"floatValue\":0,\"intValue\":0,\"name\":\"path\",\"type\":0,\"value\":\"undefined\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"undefined\",\"displayName\":\"plugin\",\"floatValue\":0,\"intValue\":0,\"name\":\"plugin\",\"type\":0,\"value\":\"undefined\"}],\"computedValue\":\"\",\"displayName\":\"dataduct\",\"floatValue\":0,\"intValue\":0,\"name\":\"dataduct\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"persistence\",\"floatValue\":0,\"intValue\":0,\"name\":\"persistence\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"settings\",\"floatValue\":0,\"intValue\":0,\"name\":\"settings\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"layoutSetting\",\"floatValue\":0,\"intValue\":0,\"name\":\"layoutSetting\",\"type\":2,\"value\":\"\"}]},{\"contentPlugin\":\"form_hidden\",\"label\":\"id\",\"linkedPageId\":\"\",\"locked\":false,\"name\":\"id\",\"rule\":{\"condition\":\"\",\"field\":\"\",\"operator\":\"\",\"rules\":[],\"value\":\"\"},\"settings\":[{\"attributes\":[],\"computedValue\":\"[ad.results.0.id]\",\"displayName\":\"value\",\"floatValue\":0,\"intValue\":0,\"name\":\"value\",\"type\":1,\"value\":\"[ad.results.0.id]\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"pane\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"pane\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"id\",\"floatValue\":0,\"intValue\":0,\"name\":\"id\",\"type\":1,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"datasourceBinding\",\"floatValue\":0,\"intValue\":0,\"name\":\"datasourceBinding\",\"type\":2,\"value\":\"\"}]}],\"settings\":[],\"stylePlugin\":\"\"}],\"path\":\"/native_forms_rebuild_v1\",\"persistence\":{\"dataduct\":{\"plugin\":\"crud\",\"settings\":[{\"attributes\":[],\"computedValue\":\"aws_s3_entity\",\"displayName\":\"adaptorName\",\"floatValue\":0,\"intValue\":0,\"name\":\"adaptorName\",\"type\":1,\"value\":\"aws_s3_entity\"},{\"attributes\":[],\"computedValue\":\"bucket=:bucket\\u0026prefix=:prefix\",\"displayName\":\"optionsString\",\"floatValue\":0,\"intValue\":0,\"name\":\"optionsString\",\"type\":1,\"value\":\"bucket=:bucket\\u0026prefix=:prefix\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"paramsString\",\"floatValue\":0,\"intValue\":0,\"name\":\"paramsString\",\"type\":1,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"static\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"static\"},{\"attributes\":[],\"computedValue\":\"classifieds-ui-prod\",\"displayName\":\"value\",\"floatValue\":0,\"intValue\":0,\"name\":\"value\",\"type\":1,\"value\":\"classifieds-ui-prod\"},{\"attributes\":[],\"computedValue\":\"classifieds-ui-prod\",\"displayName\":\"testValue\",\"floatValue\":0,\"intValue\":0,\"name\":\"testValue\",\"type\":1,\"value\":\"classifieds-ui-prod\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"context\",\"floatValue\":0,\"intValue\":0,\"name\":\"context\",\"type\":1,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"mapping\",\"floatValue\":0,\"intValue\":0,\"name\":\"mapping\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"page\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"page\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"limit\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"limit\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"1\",\"floatValue\":0,\"intValue\":0,\"name\":\"1\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"offset\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"offset\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"2\",\"floatValue\":0,\"intValue\":0,\"name\":\"2\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"searchString\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"searchString\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"3\",\"floatValue\":0,\"intValue\":0,\"name\":\"3\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"flags\",\"floatValue\":0,\"intValue\":0,\"name\":\"flags\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"static\",\"displayName\":\"type\",\"floatValue\":0,\"intValue\":0,\"name\":\"type\",\"type\":1,\"value\":\"static\"},{\"attributes\":[],\"computedValue\":\"ads/\",\"displayName\":\"value\",\"floatValue\":0,\"intValue\":0,\"name\":\"value\",\"type\":1,\"value\":\"ads/\"},{\"attributes\":[],\"computedValue\":\"ads/\",\"displayName\":\"testValue\",\"floatValue\":0,\"intValue\":0,\"name\":\"testValue\",\"type\":1,\"value\":\"ads/\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"context\",\"floatValue\":0,\"intValue\":0,\"name\":\"context\",\"type\":1,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"mapping\",\"floatValue\":0,\"intValue\":0,\"name\":\"mapping\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[{\"attributes\":[],\"computedValue\":\"page\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"page\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"0\",\"floatValue\":0,\"intValue\":0,\"name\":\"0\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"limit\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"limit\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"1\",\"floatValue\":0,\"intValue\":0,\"name\":\"1\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"offset\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"offset\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"2\",\"floatValue\":0,\"intValue\":0,\"name\":\"2\",\"type\":2,\"value\":\"\"},{\"attributes\":[{\"attributes\":[],\"computedValue\":\"searchString\",\"displayName\":\"name\",\"floatValue\":0,\"intValue\":0,\"name\":\"name\",\"type\":1,\"value\":\"searchString\"},{\"attributes\":[],\"computedValue\":\"false\",\"displayName\":\"enabled\",\"floatValue\":0,\"intValue\":0,\"name\":\"enabled\",\"type\":5,\"value\":\"false\"}],\"computedValue\":\"\",\"displayName\":\"3\",\"floatValue\":0,\"intValue\":0,\"name\":\"3\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"flags\",\"floatValue\":0,\"intValue\":0,\"name\":\"flags\",\"type\":4,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"1\",\"floatValue\":0,\"intValue\":0,\"name\":\"1\",\"type\":2,\"value\":\"\"}],\"computedValue\":\"\",\"displayName\":\"options\",\"floatValue\":0,\"intValue\":0,\"name\":\"options\",\"type\":4,\"value\":\"\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"params\",\"floatValue\":0,\"intValue\":0,\"name\":\"params\",\"type\":4,\"value\":\"\"}]}},\"rowSettings\":[{\"settings\":[]}],\"site\":\"spearhead\",\"title\":\"native_forms_rebuild_v1\",\"userId\":\"b7a9bac5-5fef-4aa6-bf12-d536c156e453\"}\n,\n{\"contexts\":[],\"cssFile\":\"\",\"derivativeId\":\"\",\"displayType\":\"page\",\"entityPermissions\":{\"deleteUserIds\":[\"e36b42fe-b09c-4514-a519-e178bb52957e\"],\"readUserIds\":[\"*\"],\"writeUserIds\":[\"e36b42fe-b09c-4514-a519-e178bb52957e\"]},\"gridItems\":[{\"cols\":100,\"rows\":1,\"weight\":0,\"x\":0,\"y\":0}],\"id\":\"bd29f806-3b4b-4b79-9dac-7a5ae221f432\",\"layoutSetting\":{\"settings\":[]},\"layoutType\":\"split\",\"name\":\"hello_world\",\"panels\":[{\"columnSetting\":{\"settings\":[]},\"label\":\"\",\"name\":\"\",\"panes\":[{\"contentPlugin\":\"snippet\",\"label\":\"\",\"linkedPageId\":\"\",\"locked\":false,\"name\":\"\",\"rule\":{\"condition\":\"\",\"field\":\"\",\"operator\":\"\",\"rules\":null,\"value\":\"\"},\"settings\":[{\"attributes\":[],\"computedValue\":\"text/html\",\"displayName\":\"Content Type\",\"floatValue\":0,\"intValue\":0,\"name\":\"contentType\",\"type\":1,\"value\":\"text/html\"},{\"attributes\":[],\"computedValue\":\"Hello World\",\"displayName\":\"Content\",\"floatValue\":0,\"intValue\":0,\"name\":\"content\",\"type\":1,\"value\":\"Hello World\"},{\"attributes\":[],\"computedValue\":\"\",\"displayName\":\"jsScript\",\"floatValue\":0,\"intValue\":0,\"name\":\"jsScript\",\"type\":1,\"value\":\"\"}]}],\"settings\":[],\"stylePlugin\":\"\"}],\"path\":\"/hello-world\",\"persistence\":{\"dataduct\":{\"plugin\":\"\",\"settings\":[]}},\"rowSettings\":[{\"settings\":[]}],\"site\":\"spearhead\",\"title\":\"Hello World\",\"userId\":\"e36b42fe-b09c-4514-a519-e178bb52957e\"}\n,\n{\n\t\"contexts\": [\n\t\t{\n\t\t\t\"adaptor\": \"data\",\n\t\t\t\"data\": {\n\t\t\t\t\"exposedModule\": \"./JsonChartModule\",\n\t\t\t\t\"moduleName\": \"JsonChartModule\",\n\t\t\t\t\"remoteEntry\": \"http://localhost:3000/remoteEntry.js\"\n\t\t\t},\n\t\t\t\"name\": \"chart_module\",\n\t\t\t\"plugin\": \"module\"\n\t\t}\n\t],\n\t\"displayType\": \"page\",\n\t\"entityPermissions\": {\n\t\t\"deleteUserIds\": [],\n\t\t\"readUserIds\": [\n\t\t\t\"*\"\n\t\t],\n\t\t\"writeUserIds\": []\n\t},\n\t\"gridItems\": [],\n\t\"id\": \"c91aa514-0ad8-4797-a516-cce997c877d9\",\n\t\"interactions\": {\n\t\t\"interactions\": {\n\t\t\t\"listeners\": []\n\t\t}\n\t},\n\t\"layoutSetting\": {\n\t\t\"settings\": []\n\t},\n\t\"layoutType\": \"gridless\",\n\t\"name\": \"json_chart_example_1\",\n\t\"panels\": [\n\t\t{\n\t\t\t\"columnSetting\": {\n\t\t\t\t\"settings\": []\n\t\t\t},\n\t\t\t\"panes\": [\n\t\t\t\t{\n\t\t\t\t\t\"contentPlugin\": \"amcharts5_json_chart\",\n\t\t\t\t\t\"contexts\": [],\n\t\t\t\t\t\"label\": \"\",\n\t\t\t\t\t\"locked\": false,\n\t\t\t\t\t\"name\": \"\",\n\t\t\t\t\t\"rule\": {\n\t\t\t\t\t\t\"condition\": \"\",\n\t\t\t\t\t\t\"rules\": []\n\t\t\t\t\t},\n\t\t\t\t\t\"settings\": [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"attributes\": [],\n\t\t\t\t\t\t\t\"computedValue\": \"{\\n \\\"refs\\\": {\\n \\\"data\\\": [\\n {\\n \\\"date\\\": 1652425200000,\\n \\\"value\\\": 92\\n },\\n {\\n \\\"date\\\": 1652511600000,\\n \\\"value\\\": 95\\n },\\n {\\n \\\"date\\\": 1652598000000,\\n \\\"value\\\": 100\\n },\\n {\\n \\\"date\\\": 1652684400000,\\n \\\"value\\\": 100\\n },\\n {\\n \\\"date\\\": 1652770800000,\\n \\\"value\\\": 96\\n },\\n {\\n \\\"date\\\": 1652857200000,\\n \\\"value\\\": 97\\n },\\n {\\n \\\"date\\\": 1652943600000,\\n \\\"value\\\": 94\\n },\\n {\\n \\\"date\\\": 1653030000000,\\n \\\"value\\\": 89\\n },\\n {\\n \\\"date\\\": 1653116400000,\\n \\\"value\\\": 89\\n },\\n {\\n \\\"date\\\": 1653202800000,\\n \\\"value\\\": 87\\n },\\n {\\n \\\"date\\\": 1653289200000,\\n \\\"value\\\": 84\\n },\\n {\\n \\\"date\\\": 1653375600000,\\n \\\"value\\\": 81\\n },\\n {\\n \\\"date\\\": 1653462000000,\\n \\\"value\\\": 85\\n },\\n {\\n \\\"date\\\": 1653548400000,\\n \\\"value\\\": 89\\n },\\n {\\n \\\"date\\\": 1653634800000,\\n \\\"value\\\": 86\\n },\\n {\\n \\\"date\\\": 1653721200000,\\n \\\"value\\\": 90\\n },\\n {\\n \\\"date\\\": 1653807600000,\\n \\\"value\\\": 93\\n },\\n {\\n \\\"date\\\": 1653894000000,\\n \\\"value\\\": 94\\n },\\n {\\n \\\"date\\\": 1653980400000,\\n \\\"value\\\": 94\\n },\\n {\\n \\\"date\\\": 1654066800000,\\n \\\"value\\\": 96\\n }\\n ],\\n \\\"xAxis\\\": {\\n \\\"type\\\": \\\"DateAxis\\\",\\n \\\"settings\\\": {\\n \\\"maxDeviation\\\": 0.5,\\n \\\"baseInterval\\\": {\\n \\\"timeUnit\\\": \\\"day\\\",\\n \\\"count\\\": 1\\n },\\n \\\"renderer\\\": {\\n \\\"type\\\": \\\"AxisRendererX\\\",\\n \\\"settings\\\": {\\n \\\"pan\\\": \\\"zoom\\\"\\n }\\n },\\n \\\"tooltip\\\": {\\n \\\"type\\\": \\\"Tooltip\\\"\\n }\\n }\\n },\\n \\\"yAxis\\\": {\\n \\\"type\\\": \\\"ValueAxis\\\",\\n \\\"settings\\\": {\\n \\\"maxDeviation\\\": 1,\\n \\\"renderer\\\": {\\n \\\"type\\\": \\\"AxisRendererY\\\",\\n \\\"settings\\\": {\\n \\\"pan\\\": \\\"zoom\\\"\\n }\\n }\\n }\\n }\\n },\\n \\\"type\\\": \\\"XYChart\\\",\\n \\\"settings\\\": {\\n \\\"panX\\\": false,\\n \\\"panY\\\": false,\\n \\\"wheelX\\\": \\\"panX\\\",\\n \\\"wheelY\\\": \\\"zoomX\\\",\\n \\\"cursor\\\": {\\n \\\"type\\\": \\\"XYCursor\\\",\\n \\\"settings\\\": {\\n \\\"behavior\\\": \\\"zoomX\\\"\\n },\\n \\\"properties\\\": {\\n \\\"lineY\\\": {\\n \\\"settings\\\": {\\n \\\"visible\\\": false\\n }\\n }\\n }\\n },\\n \\\"scrollbarX\\\": {\\n \\\"type\\\": \\\"Scrollbar\\\",\\n \\\"settings\\\": {\\n \\\"orientation\\\": \\\"horizontal\\\"\\n }\\n }\\n },\\n \\\"properties\\\": {\\n \\\"xAxes\\\": [\\n \\\"#xAxis\\\"\\n ],\\n \\\"yAxes\\\": [\\n \\\"#yAxis\\\"\\n ],\\n \\\"series\\\": [\\n {\\n \\\"type\\\": \\\"LineSeries\\\",\\n \\\"settings\\\": {\\n \\\"name\\\": \\\"Series\\\",\\n \\\"xAxis\\\": \\\"#xAxis\\\",\\n \\\"yAxis\\\": \\\"#yAxis\\\",\\n \\\"valueYField\\\": \\\"value\\\",\\n \\\"valueXField\\\": \\\"date\\\",\\n \\\"tooltip\\\": {\\n \\\"type\\\": \\\"Tooltip\\\",\\n \\\"settings\\\": {\\n \\\"labelText\\\": \\\"{valueX}: {valueY}\\\"\\n }\\n }\\n },\\n \\\"properties\\\": {\\n \\\"data\\\": \\\"#data\\\"\\n }\\n }\\n ]\\n }\\n}\",\n\t\t\t\t\t\t\t\"displayName\": \"JSON\",\n\t\t\t\t\t\t\t\"name\": \"json\",\n\t\t\t\t\t\t\t\"type\": 1,\n\t\t\t\t\t\t\t\"value\": \"{\\n \\\"refs\\\": {\\n \\\"data\\\": [\\n {\\n \\\"date\\\": 1652425200000,\\n \\\"value\\\": 92\\n },\\n {\\n \\\"date\\\": 1652511600000,\\n \\\"value\\\": 95\\n },\\n {\\n \\\"date\\\": 1652598000000,\\n \\\"value\\\": 100\\n },\\n {\\n \\\"date\\\": 1652684400000,\\n \\\"value\\\": 100\\n },\\n {\\n \\\"date\\\": 1652770800000,\\n \\\"value\\\": 96\\n },\\n {\\n \\\"date\\\": 1652857200000,\\n \\\"value\\\": 97\\n },\\n {\\n \\\"date\\\": 1652943600000,\\n \\\"value\\\": 94\\n },\\n {\\n \\\"date\\\": 1653030000000,\\n \\\"value\\\": 89\\n },\\n {\\n \\\"date\\\": 1653116400000,\\n \\\"value\\\": 89\\n },\\n {\\n \\\"date\\\": 1653202800000,\\n \\\"value\\\": 87\\n },\\n {\\n \\\"date\\\": 1653289200000,\\n \\\"value\\\": 84\\n },\\n {\\n \\\"date\\\": 1653375600000,\\n \\\"value\\\": 81\\n },\\n {\\n \\\"date\\\": 1653462000000,\\n \\\"value\\\": 85\\n },\\n {\\n \\\"date\\\": 1653548400000,\\n \\\"value\\\": 89\\n },\\n {\\n \\\"date\\\": 1653634800000,\\n \\\"value\\\": 86\\n },\\n {\\n \\\"date\\\": 1653721200000,\\n \\\"value\\\": 90\\n },\\n {\\n \\\"date\\\": 1653807600000,\\n \\\"value\\\": 93\\n },\\n {\\n \\\"date\\\": 1653894000000,\\n \\\"value\\\": 94\\n },\\n {\\n \\\"date\\\": 1653980400000,\\n \\\"value\\\": 94\\n },\\n {\\n \\\"date\\\": 1654066800000,\\n \\\"value\\\": 96\\n }\\n ],\\n \\\"xAxis\\\": {\\n \\\"type\\\": \\\"DateAxis\\\",\\n \\\"settings\\\": {\\n \\\"maxDeviation\\\": 0.5,\\n \\\"baseInterval\\\": {\\n \\\"timeUnit\\\": \\\"day\\\",\\n \\\"count\\\": 1\\n },\\n \\\"renderer\\\": {\\n \\\"type\\\": \\\"AxisRendererX\\\",\\n \\\"settings\\\": {\\n \\\"pan\\\": \\\"zoom\\\"\\n }\\n },\\n \\\"tooltip\\\": {\\n \\\"type\\\": \\\"Tooltip\\\"\\n }\\n }\\n },\\n \\\"yAxis\\\": {\\n \\\"type\\\": \\\"ValueAxis\\\",\\n \\\"settings\\\": {\\n \\\"maxDeviation\\\": 1,\\n \\\"renderer\\\": {\\n \\\"type\\\": \\\"AxisRendererY\\\",\\n \\\"settings\\\": {\\n \\\"pan\\\": \\\"zoom\\\"\\n }\\n }\\n }\\n }\\n },\\n \\\"type\\\": \\\"XYChart\\\",\\n \\\"settings\\\": {\\n \\\"panX\\\": false,\\n \\\"panY\\\": false,\\n \\\"wheelX\\\": \\\"panX\\\",\\n \\\"wheelY\\\": \\\"zoomX\\\",\\n \\\"cursor\\\": {\\n \\\"type\\\": \\\"XYCursor\\\",\\n \\\"settings\\\": {\\n \\\"behavior\\\": \\\"zoomX\\\"\\n },\\n \\\"properties\\\": {\\n \\\"lineY\\\": {\\n \\\"settings\\\": {\\n \\\"visible\\\": false\\n }\\n }\\n }\\n },\\n \\\"scrollbarX\\\": {\\n \\\"type\\\": \\\"Scrollbar\\\",\\n \\\"settings\\\": {\\n \\\"orientation\\\": \\\"horizontal\\\"\\n }\\n }\\n },\\n \\\"properties\\\": {\\n \\\"xAxes\\\": [\\n \\\"#xAxis\\\"\\n ],\\n \\\"yAxes\\\": [\\n \\\"#yAxis\\\"\\n ],\\n \\\"series\\\": [\\n {\\n \\\"type\\\": \\\"LineSeries\\\",\\n \\\"settings\\\": {\\n \\\"name\\\": \\\"Series\\\",\\n \\\"xAxis\\\": \\\"#xAxis\\\",\\n \\\"yAxis\\\": \\\"#yAxis\\\",\\n \\\"valueYField\\\": \\\"value\\\",\\n \\\"valueXField\\\": \\\"date\\\",\\n \\\"tooltip\\\": {\\n \\\"type\\\": \\\"Tooltip\\\",\\n \\\"settings\\\": {\\n \\\"labelText\\\": \\\"{valueX}: {valueY}\\\"\\n }\\n }\\n },\\n \\\"properties\\\": {\\n \\\"data\\\": \\\"#data\\\"\\n }\\n }\\n ]\\n }\\n}\"\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"settings\": [],\n\t\t\t\"stylePlugin\": \"\"\n\t\t}\n\t],\n\t\"path\": \"/json-chart-example-1\",\n\t\"persistence\": {\n\t\t\"dataduct\": {\n\t\t\t\"settings\": []\n\t\t}\n\t},\n\t\"rowSettings\": [\n\t\t{\n\t\t\t\"settings\": []\n\t\t}\n\t],\n\t\"site\": \"spearhead\",\n\t\"title\": \"Json Chart Example 1\",\n\t\"userId\": \"b7a9bac5-5fef-4aa6-bf12-d536c156e453\"\n}\n,\n{\n\t\"contexts\": [\n\t\t{\n\t\t\t\"adaptor\": \"data\",\n\t\t\t\"data\": {\n\t\t\t\t\"exposedModule\": \"./JsonChartModule\",\n\t\t\t\t\"moduleName\": \"JsonChartModule\",\n\t\t\t\t\"remoteEntry\": \"http://localhost:3000/remoteEntry.js\"\n\t\t\t},\n\t\t\t\"name\": \"chart_module\",\n\t\t\t\"plugin\": \"module\"\n\t\t}\n\t],\n\t\"displayType\": \"page\",\n\t\"entityPermissions\": {\n\t\t\"deleteUserIds\": [],\n\t\t\"readUserIds\": [\n\t\t\t\"*\"\n\t\t],\n\t\t\"writeUserIds\": []\n\t},\n\t\"gridItems\": [],\n\t\"id\": \"d75c2267-0eb1-4238-ad0e-7d4b0d1d4801\",\n\t\"interactions\": {\n\t\t\"interactions\": {\n\t\t\t\"listeners\": []\n\t\t}\n\t},\n\t\"layoutSetting\": {\n\t\t\"settings\": []\n\t},\n\t\"layoutType\": \"gridless\",\n\t\"name\": \"plugin-amcharts-refs-test-1\",\n\t\"panels\": [\n\t\t{\n\t\t\t\"columnSetting\": {\n\t\t\t\t\"settings\": []\n\t\t\t},\n\t\t\t\"panes\": [\n\t\t\t\t{\n\t\t\t\t\t\"contentPlugin\": \"amcharts5_json_chart\",\n\t\t\t\t\t\"contexts\": [],\n\t\t\t\t\t\"label\": \"\",\n\t\t\t\t\t\"locked\": false,\n\t\t\t\t\t\"name\": \"\",\n\t\t\t\t\t\"settings\": [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"attributes\": [],\n\t\t\t\t\t\t\t\"computedValue\": \"{\\n \\\"type\\\": \\\"XYChart\\\",\\n \\\"refs\\\": {\\n \\\"data\\\": [\\n { \\\"date\\\": 1652425200000, \\\"value\\\": 92 },\\n { \\\"date\\\": 1652511600000, \\\"value\\\": 95 },\\n { \\\"date\\\": 1652598000000, \\\"value\\\": 100 },\\n { \\\"date\\\": 1652684400000, \\\"value\\\": 100 },\\n { \\\"date\\\": 1652770800000, \\\"value\\\": 96 },\\n { \\\"date\\\": 1652857200000, \\\"value\\\": 97 },\\n { \\\"date\\\": 1652943600000, \\\"value\\\": 94 },\\n { \\\"date\\\": 1653030000000, \\\"value\\\": 89 },\\n { \\\"date\\\": 1653116400000, \\\"value\\\": 89 },\\n { \\\"date\\\": 1653202800000, \\\"value\\\": 87 },\\n { \\\"date\\\": 1653289200000, \\\"value\\\": 84 },\\n { \\\"date\\\": 1653375600000, \\\"value\\\": 81 },\\n { \\\"date\\\": 1653462000000, \\\"value\\\": 85 },\\n { \\\"date\\\": 1653548400000, \\\"value\\\": 89 },\\n { \\\"date\\\": 1653634800000, \\\"value\\\": 86 },\\n { \\\"date\\\": 1653721200000, \\\"value\\\": 90 },\\n { \\\"date\\\": 1653807600000, \\\"value\\\": 93 },\\n { \\\"date\\\": 1653894000000, \\\"value\\\": 94 },\\n { \\\"date\\\": 1653980400000, \\\"value\\\": 94 },\\n { \\\"date\\\": 1654066800000, \\\"value\\\": 96 }\\n ],\\n \\\"xAxis\\\": {\\n \\\"type\\\": \\\"DateAxis\\\",\\n \\\"settings\\\": {\\n \\\"baseInterval\\\": {\\n \\\"timeUnit\\\": \\\"day\\\",\\n \\\"count\\\": 1\\n },\\n \\\"renderer\\\": {\\n \\\"type\\\": \\\"AxisRendererX\\\"\\n }\\n }\\n },\\n \\\"yAxis\\\": {\\n \\\"type\\\": \\\"ValueAxis\\\",\\n \\\"settings\\\": {\\n \\\"renderer\\\": {\\n \\\"type\\\": \\\"AxisRendererY\\\"\\n }\\n }\\n },\\n },\\n \\\"settings\\\": {\\n \\\"panX\\\": false,\\n \\\"panY\\\": false,\\n \\\"wheelX\\\": \\\"panX\\\",\\n \\\"wheelY\\\": \\\"zoomX\\\",\\n \\\"scrollbarX\\\": {\\n \\\"type\\\": \\\"Scrollbar\\\",\\n \\\"settings\\\": {\\n \\\"orientation\\\": \\\"horizontal\\\"\\n }\\n }\\n },\\n \\\"properties\\\": {\\n \\\"xAxes\\\": [\\n \\\"#xAxis\\\"\\n ],\\n \\\"yAxes\\\": [\\n \\\"#yAxis\\\"\\n ],\\n \\\"series\\\": [\\n {\\n \\\"type\\\": \\\"LineSeries\\\",\\n \\\"settings\\\": {\\n \\\"name\\\": \\\"Series\\\",\\n \\\"xAxis\\\": \\\"#xAxis\\\",\\n \\\"yAxis\\\": \\\"#yAxis\\\",\\n \\\"valueYField\\\": \\\"value\\\",\\n \\\"valueXField\\\": \\\"date\\\",\\n \\\"tooltip\\\": {\\n \\\"type\\\": \\\"Tooltip\\\",\\n \\\"settings\\\": {\\n \\\"labelText\\\": \\\"{valueX}: {valueY}\\\"\\n }\\n },\\n },\\n \\\"properties\\\": {\\n \\\"data\\\": \\\"#data\\\"\\n }\\n }\\n ]\\n }\\n}\",\n\t\t\t\t\t\t\t\"displayName\": \"JSON\",\n\t\t\t\t\t\t\t\"name\": \"json\",\n\t\t\t\t\t\t\t\"type\": 1,\n\t\t\t\t\t\t\t\"value\": \"{\\n \\\"type\\\": \\\"XYChart\\\",\\n \\\"refs\\\": {\\n \\\"data\\\": [\\n { \\\"date\\\": 1652425200000, \\\"value\\\": 92 },\\n { \\\"date\\\": 1652511600000, \\\"value\\\": 95 },\\n { \\\"date\\\": 1652598000000, \\\"value\\\": 100 },\\n { \\\"date\\\": 1652684400000, \\\"value\\\": 100 },\\n { \\\"date\\\": 1652770800000, \\\"value\\\": 96 },\\n { \\\"date\\\": 1652857200000, \\\"value\\\": 97 },\\n { \\\"date\\\": 1652943600000, \\\"value\\\": 94 },\\n { \\\"date\\\": 1653030000000, \\\"value\\\": 89 },\\n { \\\"date\\\": 1653116400000, \\\"value\\\": 89 },\\n { \\\"date\\\": 1653202800000, \\\"value\\\": 87 },\\n { \\\"date\\\": 1653289200000, \\\"value\\\": 84 },\\n { \\\"date\\\": 1653375600000, \\\"value\\\": 81 },\\n { \\\"date\\\": 1653462000000, \\\"value\\\": 85 },\\n { \\\"date\\\": 1653548400000, \\\"value\\\": 89 },\\n { \\\"date\\\": 1653634800000, \\\"value\\\": 86 },\\n { \\\"date\\\": 1653721200000, \\\"value\\\": 90 },\\n { \\\"date\\\": 1653807600000, \\\"value\\\": 93 },\\n { \\\"date\\\": 1653894000000, \\\"value\\\": 94 },\\n { \\\"date\\\": 1653980400000, \\\"value\\\": 94 },\\n { \\\"date\\\": 1654066800000, \\\"value\\\": 96 }\\n ],\\n \\\"xAxis\\\": {\\n \\\"type\\\": \\\"DateAxis\\\",\\n \\\"settings\\\": {\\n \\\"baseInterval\\\": {\\n \\\"timeUnit\\\": \\\"day\\\",\\n \\\"count\\\": 1\\n },\\n \\\"renderer\\\": {\\n \\\"type\\\": \\\"AxisRendererX\\\"\\n }\\n }\\n },\\n \\\"yAxis\\\": {\\n \\\"type\\\": \\\"ValueAxis\\\",\\n \\\"settings\\\": {\\n \\\"renderer\\\": {\\n \\\"type\\\": \\\"AxisRendererY\\\"\\n }\\n }\\n },\\n },\\n \\\"settings\\\": {\\n \\\"panX\\\": false,\\n \\\"panY\\\": false,\\n \\\"wheelX\\\": \\\"panX\\\",\\n \\\"wheelY\\\": \\\"zoomX\\\",\\n \\\"scrollbarX\\\": {\\n \\\"type\\\": \\\"Scrollbar\\\",\\n \\\"settings\\\": {\\n \\\"orientation\\\": \\\"horizontal\\\"\\n }\\n }\\n },\\n \\\"properties\\\": {\\n \\\"xAxes\\\": [\\n \\\"#xAxis\\\"\\n ],\\n \\\"yAxes\\\": [\\n \\\"#yAxis\\\"\\n ],\\n \\\"series\\\": [\\n {\\n \\\"type\\\": \\\"LineSeries\\\",\\n \\\"settings\\\": {\\n \\\"name\\\": \\\"Series\\\",\\n \\\"xAxis\\\": \\\"#xAxis\\\",\\n \\\"yAxis\\\": \\\"#yAxis\\\",\\n \\\"valueYField\\\": \\\"value\\\",\\n \\\"valueXField\\\": \\\"date\\\",\\n \\\"tooltip\\\": {\\n \\\"type\\\": \\\"Tooltip\\\",\\n \\\"settings\\\": {\\n \\\"labelText\\\": \\\"{valueX}: {valueY}\\\"\\n }\\n },\\n },\\n \\\"properties\\\": {\\n \\\"data\\\": \\\"#data\\\"\\n }\\n }\\n ]\\n }\\n}\"\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"settings\": [],\n\t\t\t\"stylePlugin\": \"\"\n\t\t}\n\t],\n\t\"path\": \"/plugin-amcharts-refs-test-1\",\n\t\"persistence\": {\n\t\t\"dataduct\": {\n\t\t\t\"settings\": []\n\t\t}\n\t},\n\t\"rowSettings\": [\n\t\t{\n\t\t\t\"settings\": []\n\t\t}\n\t],\n\t\"site\": \"spearhead\",\n\t\"title\": \"plugin-amcharts-refs-test-1\",\n\t\"userId\": \"b7a9bac5-5fef-4aa6-bf12-d536c156e453\"\n}\n,\n{\n\t\"contexts\": [\n\t\t{\n\t\t\t\"adaptor\": \"data\",\n\t\t\t\"data\": {\n\t\t\t\t\"exposedModule\": \"./JsonChartModule\",\n\t\t\t\t\"moduleName\": \"JsonChartModule\",\n\t\t\t\t\"remoteEntry\": \"http://localhost:3000/remoteEntry.js\"\n\t\t\t},\n\t\t\t\"name\": \"chart_module\",\n\t\t\t\"plugin\": \"module\"\n\t\t}\n\t],\n\t\"displayType\": \"page\",\n\t\"entityPermissions\": {\n\t\t\"deleteUserIds\": [],\n\t\t\"readUserIds\": [\n\t\t\t\"*\"\n\t\t],\n\t\t\"writeUserIds\": []\n\t},\n\t\"gridItems\": [],\n\t\"id\": \"e39fa739-b354-45cb-8a35-5c9e54d28d6f\",\n\t\"interactions\": {\n\t\t\"interactions\": {\n\t\t\t\"listeners\": []\n\t\t}\n\t},\n\t\"layoutSetting\": {\n\t\t\"settings\": []\n\t},\n\t\"layoutType\": \"gridless\",\n\t\"name\": \"json_chart_example_1\",\n\t\"panels\": [\n\t\t{\n\t\t\t\"columnSetting\": {\n\t\t\t\t\"settings\": []\n\t\t\t},\n\t\t\t\"panes\": [\n\t\t\t\t{\n\t\t\t\t\t\"contentPlugin\": \"amcharts5_json_chart\",\n\t\t\t\t\t\"contexts\": [],\n\t\t\t\t\t\"label\": \"\",\n\t\t\t\t\t\"locked\": false,\n\t\t\t\t\t\"name\": \"\",\n\t\t\t\t\t\"settings\": [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"attributes\": [],\n\t\t\t\t\t\t\t\"computedValue\": \"{\\n refs: {\\n data: [\\n { date: 1652425200000, value: 92 },\\n { date: 1652511600000, value: 95 },\\n { date: 1652598000000, value: 100 },\\n { date: 1652684400000, value: 100 },\\n { date: 1652770800000, value: 96 },\\n { date: 1652857200000, value: 97 },\\n { date: 1652943600000, value: 94 },\\n { date: 1653030000000, value: 89 },\\n { date: 1653116400000, value: 89 },\\n { date: 1653202800000, value: 87 },\\n { date: 1653289200000, value: 84 },\\n { date: 1653375600000, value: 81 },\\n { date: 1653462000000, value: 85 },\\n { date: 1653548400000, value: 89 },\\n { date: 1653634800000, value: 86 },\\n { date: 1653721200000, value: 90 },\\n { date: 1653807600000, value: 93 },\\n { date: 1653894000000, value: 94 },\\n { date: 1653980400000, value: 94 },\\n { date: 1654066800000, value: 96 }\\n ],\\n xAxis: {\\n type: \\\"DateAxis\\\",\\n settings: {\\n maxDeviation: 0.5,\\n baseInterval: {\\n timeUnit: \\\"day\\\",\\n count: 1\\n },\\n renderer: {\\n type: \\\"AxisRendererX\\\",\\n settings: {\\n pan: \\\"zoom\\\"\\n }\\n },\\n tooltip: {\\n type: \\\"Tooltip\\\",\\n },\\n }\\n },\\n yAxis: {\\n type: \\\"ValueAxis\\\",\\n settings: {\\n maxDeviation: 1,\\n renderer: {\\n type: \\\"AxisRendererY\\\",\\n settings: {\\n pan: \\\"zoom\\\"\\n },\\n },\\n }\\n },\\n },\\n type: \\\"XYChart\\\",\\n settings: {\\n panX: false,\\n panY: false,\\n wheelX: \\\"panX\\\",\\n wheelY: \\\"zoomX\\\",\\n cursor: {\\n type: \\\"XYCursor\\\",\\n settings: {\\n behavior: \\\"zoomX\\\"\\n },\\n properties: {\\n lineY: {\\n settings: {\\n visible: false\\n },\\n },\\n },\\n },\\n scrollbarX: {\\n type: \\\"Scrollbar\\\",\\n settings: {\\n orientation: \\\"horizontal\\\"\\n }\\n },\\n },\\n properties: {\\n xAxes: [\\n \\\"#xAxis\\\",\\n ],\\n yAxes: [\\n \\\"#yAxis\\\",\\n ],\\n series: [{\\n type: \\\"LineSeries\\\",\\n settings: {\\n name: \\\"Series\\\",\\n xAxis: \\\"#xAxis\\\",\\n yAxis: \\\"#yAxis\\\",\\n valueYField: \\\"value\\\",\\n valueXField: \\\"date\\\",\\n tooltip: {\\n type: \\\"Tooltip\\\",\\n settings: {\\n labelText: \\\"{valueX}: {valueY}\\\"\\n }\\n },\\n },\\n properties: {\\n data: \\\"#data\\\"\\n }\\n }]\\n }\\n}\",\n\t\t\t\t\t\t\t\"displayName\": \"JSON\",\n\t\t\t\t\t\t\t\"name\": \"json\",\n\t\t\t\t\t\t\t\"type\": 1,\n\t\t\t\t\t\t\t\"value\": \"{\\n refs: {\\n data: [\\n { date: 1652425200000, value: 92 },\\n { date: 1652511600000, value: 95 },\\n { date: 1652598000000, value: 100 },\\n { date: 1652684400000, value: 100 },\\n { date: 1652770800000, value: 96 },\\n { date: 1652857200000, value: 97 },\\n { date: 1652943600000, value: 94 },\\n { date: 1653030000000, value: 89 },\\n { date: 1653116400000, value: 89 },\\n { date: 1653202800000, value: 87 },\\n { date: 1653289200000, value: 84 },\\n { date: 1653375600000, value: 81 },\\n { date: 1653462000000, value: 85 },\\n { date: 1653548400000, value: 89 },\\n { date: 1653634800000, value: 86 },\\n { date: 1653721200000, value: 90 },\\n { date: 1653807600000, value: 93 },\\n { date: 1653894000000, value: 94 },\\n { date: 1653980400000, value: 94 },\\n { date: 1654066800000, value: 96 }\\n ],\\n xAxis: {\\n type: \\\"DateAxis\\\",\\n settings: {\\n maxDeviation: 0.5,\\n baseInterval: {\\n timeUnit: \\\"day\\\",\\n count: 1\\n },\\n renderer: {\\n type: \\\"AxisRendererX\\\",\\n settings: {\\n pan: \\\"zoom\\\"\\n }\\n },\\n tooltip: {\\n type: \\\"Tooltip\\\",\\n },\\n }\\n },\\n yAxis: {\\n type: \\\"ValueAxis\\\",\\n settings: {\\n maxDeviation: 1,\\n renderer: {\\n type: \\\"AxisRendererY\\\",\\n settings: {\\n pan: \\\"zoom\\\"\\n },\\n },\\n }\\n },\\n },\\n type: \\\"XYChart\\\",\\n settings: {\\n panX: false,\\n panY: false,\\n wheelX: \\\"panX\\\",\\n wheelY: \\\"zoomX\\\",\\n cursor: {\\n type: \\\"XYCursor\\\",\\n settings: {\\n behavior: \\\"zoomX\\\"\\n },\\n properties: {\\n lineY: {\\n settings: {\\n visible: false\\n },\\n },\\n },\\n },\\n scrollbarX: {\\n type: \\\"Scrollbar\\\",\\n settings: {\\n orientation: \\\"horizontal\\\"\\n }\\n },\\n },\\n properties: {\\n xAxes: [\\n \\\"#xAxis\\\",\\n ],\\n yAxes: [\\n \\\"#yAxis\\\",\\n ],\\n series: [{\\n type: \\\"LineSeries\\\",\\n settings: {\\n name: \\\"Series\\\",\\n xAxis: \\\"#xAxis\\\",\\n yAxis: \\\"#yAxis\\\",\\n valueYField: \\\"value\\\",\\n valueXField: \\\"date\\\",\\n tooltip: {\\n type: \\\"Tooltip\\\",\\n settings: {\\n labelText: \\\"{valueX}: {valueY}\\\"\\n }\\n },\\n },\\n properties: {\\n data: \\\"#data\\\"\\n }\\n }]\\n }\\n}\"\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"settings\": [],\n\t\t\t\"stylePlugin\": \"\"\n\t\t}\n\t],\n\t\"path\": \"/json-chart-example-1\",\n\t\"persistence\": {\n\t\t\"dataduct\": {\n\t\t\t\"settings\": []\n\t\t}\n\t},\n\t\"rowSettings\": [\n\t\t{\n\t\t\t\"settings\": []\n\t\t}\n\t],\n\t\"site\": \"spearhead\",\n\t\"title\": \"Json Chart Example 1\",\n\t\"userId\": \"b7a9bac5-5fef-4aa6-bf12-d536c156e453\"\n}\n];\n","import { BrowserModule, provideClientHydration /*, BrowserTransferStateModule */ } from '@angular/platform-browser';\nimport { NgModule, APP_INITIALIZER, SecurityContext, PLATFORM_ID } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { HttpClientModule, HTTP_INTERCEPTORS, HttpClientJsonpModule } from '@angular/common/http';\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\n// import { NxModule } from '@nrwl/angular';\nimport { FlexLayoutModule } from '@angular/flex-layout';\nimport { NgxJsonViewerModule } from 'ngx-json-viewer';\n// Base auth\nimport { AuthModule, LogoutInterceptor} from '@rollthecloudinc/auth';\n// Auth implementation - open connect/oauth\nimport { OidcModule, TokenInterceptor, CLIENT_SETTINGS, ClientSettings } from '@rollthecloudinc/oidc';\nimport { MediaModule, MediaSettings, MEDIA_SETTINGS } from '@rollthecloudinc/media';\nimport { UtilsModule /*, CorrelationInterceptor */, SITE_NAME, HOST_NAME, PROTOCOL } from '@rollthecloudinc/utils';\n//import { MaterialModule } from '@rollthecloudinc/material';\n// import { LOGGING_SETTINGS, LoggingSettings, LoggingModule, HttpErrorInterceptor, GlobalErrorHandler } from '@classifieds-ui/logging';\nimport { TokenModule } from '@rollthecloudinc/token';\nimport { ContextModule } from '@rollthecloudinc/context';\nimport { ContentModule } from '@rollthecloudinc/content';\nimport { AliasModule, CatchAllGuard, CatchAllRouterComponent } from '@rollthecloudinc/alias';\nimport { PagealiasModule } from '@rollthecloudinc/pagealias';\nimport { PanelPage, PanelsModule, PanelsSettings, PANELS_SETTINGS } from '@rollthecloudinc/panels';\n//import { FormlyModule } from '@rollthecloudinc/formly';\nimport { BridgeModule } from '@rollthecloudinc/bridge';\nimport { StateModule } from '@rollthecloudinc/state';\nimport { AwcogModule, CognitoSettings, COGNITO_SETTINGS } from '@rollthecloudinc/awcog';\nimport { initializeIdbDataFactory, KeyvalModule } from '@rollthecloudinc/keyval';\nimport { MarkdownModule, MarkedOptions, MarkedRenderer } from 'ngx-markdown';\nimport { AppComponent } from './app.component';\nimport { RouterModule } from '@angular/router';\nimport { StoreDevtoolsModule } from '@ngrx/store-devtools';\nimport { environment } from '../environments/environment';\nimport { StoreRouterConnectingModule, MinimalRouterStateSerializer } from '@ngrx/router-store';\nimport { StoreModule } from '@ngrx/store';\nimport { EffectsModule } from '@ngrx/effects';\nimport { EntityDataModule, DefaultDataServiceConfig } from '@ngrx/data';\nimport { reducers, metaReducers } from './reducers';\nimport { AuthCallbackComponent } from '@rollthecloudinc/auth';\nimport { TransformModule } from '@rollthecloudinc/transform';\nimport { DeityModule } from '@rollthecloudinc/deity';\nimport { LoopModule } from '@rollthecloudinc/loop';\nimport { RenderModule } from '@rollthecloudinc/render';\nimport { FormsModule as DruidFormsModule } from '@rollthecloudinc/forms';\nimport { TransferHttpCacheModule } from '@nguniversal/common';\nimport { AlienaliasModule, AlienaliasSettings, ALIENALIAS_SETTINGS } from '@rollthecloudinc/alienalias';\nimport { OutsiderModule } from '@rollthecloudinc/outsider';\nimport { TractorbeamModule } from '@rollthecloudinc/tractorbeam';\nimport { NgxDropzoneModule } from 'ngx-dropzone';\nimport { RefineryModule } from '@rollthecloudinc/refinery';\nimport { SheathModule } from '@rollthecloudinc/sheath';\n// import { ReactModule } from '@rollthecloudinc/react';\nimport { CloudwatchRumSettings, CLOUDWATCH_RUM_SETTINGS } from '@rollthecloudinc/awrum';\nimport { panelpages } from '../environments/panelpages';\nimport { createEditMatcher, createMatcher, EditPanelPageComponent, PagesModule, PanelPageRouterComponent, PAGES_SETTINGS, PagesSettings } from '@rollthecloudinc/pages';\nimport { panelpages as panelpages2 } from '../data/panelpages';\nimport { OrdainModule } from '@rollthecloudinc/ordain';\nimport { DparamModule } from '@rollthecloudinc/dparam';\nimport { DetourModule } from '@rollthecloudinc/detour';\n\n// import { FlexLayoutServerModule } from '@angular/flex-layout/server';\n// import { MonacoEditorModule } from 'ngx-monaco-editor';\n\nconst routes = [\n { path: 'auth-callback', component: AuthCallbackComponent },\n ...panelpages.map(([id, path]) => ({ matcher: createEditMatcher(new PanelPage({ id, layoutType: '', displayType: '', gridItems: [], panels: [], layoutSetting: undefined, rowSettings: [], path })), component: EditPanelPageComponent, data: { panelPageListItem: new PanelPage({ id, layoutType: '', displayType: '', gridItems: [], panels: [], layoutSetting: undefined, rowSettings: [], path }) } })),\n ...panelpages.map(([id, path]) => ({ matcher: createMatcher(new PanelPage({ id, layoutType: '', displayType: '', gridItems: [], panels: [], layoutSetting: undefined, rowSettings: [], path })), component: PanelPageRouterComponent, data: { panelPageListItem: new PanelPage({ id, layoutType: '', displayType: '', gridItems: [], panels: [], layoutSetting: undefined, rowSettings: [], path }) } })),\n { path: '**', component: CatchAllRouterComponent, canActivate: [ CatchAllGuard ] }\n];\n\n// @todo: just get this to work for now deal with actual endpoints later.\nconst defaultDataServiceConfig: DefaultDataServiceConfig = {\n root: environment.apiGatewaySettings.endpointUrl,\n timeout: 20000, // request timeout\n}\n\nexport function markedOptionsFactory(): MarkedOptions {\n const renderer = new MarkedRenderer();\n renderer.link = (href: string, title: string, text: string) => {\n if(text === 'page') {\n return `<classifieds-ui-panel-page id=\"${href}\"></classifieds-ui-panel-page>`;\n } else {\n return `<classifieds-ui-page-router-link href=\"${href}\" text=\"${text}\"></classifieds-ui-page-router-link>`;\n }\n };\n return {\n renderer,\n };\n}\n\n@NgModule({\n declarations: [AppComponent ],\n imports: [\n BrowserModule.withServerTransition({ appId: 'serverApp' }),\n CommonModule,\n HttpClientModule,\n HttpClientJsonpModule,\n // BrowserTransferStateModule ,\n FormsModule,\n ReactiveFormsModule,\n BrowserAnimationsModule,\n FlexLayoutModule,\n NgxJsonViewerModule,\n TransferHttpCacheModule,\n MarkdownModule.forRoot({\n sanitize: SecurityContext.NONE,\n markedOptions: {\n provide: MarkedOptions,\n useFactory: markedOptionsFactory,\n },\n }),\n // NbA11yModule.forRoot(),\n RouterModule.forRoot(routes, { initialNavigation: 'enabledBlocking' /*, relativeLinkResolution: 'legacy' */ }),\n !environment.production ? StoreDevtoolsModule.instrument({\n maxAge: 25,\n logOnly: environment.production\n }) : [],\n StoreRouterConnectingModule.forRoot({\n serializer: MinimalRouterStateSerializer\n }),\n StoreModule.forRoot(\n reducers,\n {\n metaReducers,\n runtimeChecks: {\n strictActionImmutability: true,\n strictStateImmutability: true\n }\n }\n ),\n EffectsModule.forRoot([]),\n BridgeModule,\n StateModule,\n // MaterialModule,\n UtilsModule,\n // LoggingModule,\n TokenModule,\n ContentModule,\n ContextModule,\n AuthModule.forRoot(),\n OidcModule.forRoot(),\n // MonacoEditorModule.forRoot(),\n MediaModule,\n // NxModule.forRoot(),\n EntityDataModule.forRoot({}),\n AliasModule,\n PanelsModule,\n RenderModule,\n PagealiasModule,\n // FormlyModule,\n TransformModule,\n AwcogModule,\n KeyvalModule,\n DeityModule,\n LoopModule,\n DruidFormsModule,\n // AlienaliasModule, // @todo: for now to avoid routing errors while working on ssr issues.\n OutsiderModule,\n TractorbeamModule,\n RefineryModule,\n SheathModule,\n NgxDropzoneModule,\n // ReactModule,\n PagesModule,\n OrdainModule,\n DparamModule,\n DetourModule\n ],\n providers: [\n provideClientHydration(),\n CatchAllGuard,\n { provide: SITE_NAME, useValue: environment.site },\n { provide: CLIENT_SETTINGS, useValue: new ClientSettings(environment.clientSettings) },\n { provide: MEDIA_SETTINGS, useValue: new MediaSettings(environment.mediaSettings) },\n { provide: PANELS_SETTINGS, useValue: new PanelsSettings(environment.panelsSettings) },\n { provide: ALIENALIAS_SETTINGS, useValue: new AlienaliasSettings(environment.alienaliasSettings) },\n { provide: PAGES_SETTINGS, useValue: new PagesSettings({ disableRouting: false }) },\n { provide: COGNITO_SETTINGS, useValue: new CognitoSettings(environment.cognitoSettings) },\n { provide: CLOUDWATCH_RUM_SETTINGS, useValue: new CloudwatchRumSettings(environment.rumSettings) },\n { provide: HTTP_INTERCEPTORS, useClass: TokenInterceptor, multi: true },\n { provide: HTTP_INTERCEPTORS, useClass: LogoutInterceptor, multi: true },\n { provide: DefaultDataServiceConfig, useValue: defaultDataServiceConfig },\n { provide: APP_INITIALIZER, useFactory: initializeIdbDataFactory({ key: ({ data }) => 'panelpage__' + data.id, data: panelpages2.map(p => new PanelPage(p as any)) }), multi: true, deps: [ PLATFORM_ID ] },\n ],\n bootstrap: [AppComponent]\n})\nexport class AppModule {}\n\n","import { enableProdMode } from '@angular/core';\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n\nimport { AppModule } from './app/app.module';\nimport { environment } from './environments/environment';\n\nconsole.log('bootstrap');\n\nif (environment.production) {\n enableProdMode();\n}\n\n/*platformBrowserDynamic().bootstrapModule(AppModule)\n .catch(err => console.error(err));*/\n\n // this no longer works with module federation changes... hm\n // I think this was added to ssr... need to figure out if its needed or what the purpose of it is.\n /*document.addEventListener(\"DOMContentLoaded\", () => {\n console.log('dom content loaded');\n platformBrowserDynamic()\n .bootstrapModule(AppModule)\n .catch(err => console.log(err));\n });*/\n\n platformBrowserDynamic()\n .bootstrapModule(AppModule)\n .catch(err => console.log(err));\n","\"use strict\";\n// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AwsCrc32c = void 0;\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@aws-crypto/util\");\nvar index_1 = require(\"./index\");\nvar AwsCrc32c = /** @class */ (function () {\n function AwsCrc32c() {\n this.crc32c = new index_1.Crc32c();\n }\n AwsCrc32c.prototype.update = function (toHash) {\n if ((0, util_1.isEmptyData)(toHash))\n return;\n this.crc32c.update((0, util_1.convertToBuffer)(toHash));\n };\n AwsCrc32c.prototype.digest = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n return tslib_1.__generator(this, function (_a) {\n return [2 /*return*/, (0, util_1.numToUint8)(this.crc32c.digest())];\n });\n });\n };\n AwsCrc32c.prototype.reset = function () {\n this.crc32c = new index_1.Crc32c();\n };\n return AwsCrc32c;\n}());\nexports.AwsCrc32c = AwsCrc32c;\n","\"use strict\";\n// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AwsCrc32c = exports.Crc32c = exports.crc32c = void 0;\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@aws-crypto/util\");\nfunction crc32c(data) {\n return new Crc32c().update(data).digest();\n}\nexports.crc32c = crc32c;\nvar Crc32c = /** @class */ (function () {\n function Crc32c() {\n this.checksum = 0xffffffff;\n }\n Crc32c.prototype.update = function (data) {\n var e_1, _a;\n try {\n for (var data_1 = tslib_1.__values(data), data_1_1 = data_1.next(); !data_1_1.done; data_1_1 = data_1.next()) {\n var byte = data_1_1.value;\n this.checksum =\n (this.checksum >>> 8) ^ lookupTable[(this.checksum ^ byte) & 0xff];\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (data_1_1 && !data_1_1.done && (_a = data_1.return)) _a.call(data_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n return this;\n };\n Crc32c.prototype.digest = function () {\n return (this.checksum ^ 0xffffffff) >>> 0;\n };\n return Crc32c;\n}());\nexports.Crc32c = Crc32c;\n// prettier-ignore\nvar a_lookupTable = [\n 0x00000000, 0xF26B8303, 0xE13B70F7, 0x1350F3F4, 0xC79A971F, 0x35F1141C, 0x26A1E7E8, 0xD4CA64EB,\n 0x8AD958CF, 0x78B2DBCC, 0x6BE22838, 0x9989AB3B, 0x4D43CFD0, 0xBF284CD3, 0xAC78BF27, 0x5E133C24,\n 0x105EC76F, 0xE235446C, 0xF165B798, 0x030E349B, 0xD7C45070, 0x25AFD373, 0x36FF2087, 0xC494A384,\n 0x9A879FA0, 0x68EC1CA3, 0x7BBCEF57, 0x89D76C54, 0x5D1D08BF, 0xAF768BBC, 0xBC267848, 0x4E4DFB4B,\n 0x20BD8EDE, 0xD2D60DDD, 0xC186FE29, 0x33ED7D2A, 0xE72719C1, 0x154C9AC2, 0x061C6936, 0xF477EA35,\n 0xAA64D611, 0x580F5512, 0x4B5FA6E6, 0xB93425E5, 0x6DFE410E, 0x9F95C20D, 0x8CC531F9, 0x7EAEB2FA,\n 0x30E349B1, 0xC288CAB2, 0xD1D83946, 0x23B3BA45, 0xF779DEAE, 0x05125DAD, 0x1642AE59, 0xE4292D5A,\n 0xBA3A117E, 0x4851927D, 0x5B016189, 0xA96AE28A, 0x7DA08661, 0x8FCB0562, 0x9C9BF696, 0x6EF07595,\n 0x417B1DBC, 0xB3109EBF, 0xA0406D4B, 0x522BEE48, 0x86E18AA3, 0x748A09A0, 0x67DAFA54, 0x95B17957,\n 0xCBA24573, 0x39C9C670, 0x2A993584, 0xD8F2B687, 0x0C38D26C, 0xFE53516F, 0xED03A29B, 0x1F682198,\n 0x5125DAD3, 0xA34E59D0, 0xB01EAA24, 0x42752927, 0x96BF4DCC, 0x64D4CECF, 0x77843D3B, 0x85EFBE38,\n 0xDBFC821C, 0x2997011F, 0x3AC7F2EB, 0xC8AC71E8, 0x1C661503, 0xEE0D9600, 0xFD5D65F4, 0x0F36E6F7,\n 0x61C69362, 0x93AD1061, 0x80FDE395, 0x72966096, 0xA65C047D, 0x5437877E, 0x4767748A, 0xB50CF789,\n 0xEB1FCBAD, 0x197448AE, 0x0A24BB5A, 0xF84F3859, 0x2C855CB2, 0xDEEEDFB1, 0xCDBE2C45, 0x3FD5AF46,\n 0x7198540D, 0x83F3D70E, 0x90A324FA, 0x62C8A7F9, 0xB602C312, 0x44694011, 0x5739B3E5, 0xA55230E6,\n 0xFB410CC2, 0x092A8FC1, 0x1A7A7C35, 0xE811FF36, 0x3CDB9BDD, 0xCEB018DE, 0xDDE0EB2A, 0x2F8B6829,\n 0x82F63B78, 0x709DB87B, 0x63CD4B8F, 0x91A6C88C, 0x456CAC67, 0xB7072F64, 0xA457DC90, 0x563C5F93,\n 0x082F63B7, 0xFA44E0B4, 0xE9141340, 0x1B7F9043, 0xCFB5F4A8, 0x3DDE77AB, 0x2E8E845F, 0xDCE5075C,\n 0x92A8FC17, 0x60C37F14, 0x73938CE0, 0x81F80FE3, 0x55326B08, 0xA759E80B, 0xB4091BFF, 0x466298FC,\n 0x1871A4D8, 0xEA1A27DB, 0xF94AD42F, 0x0B21572C, 0xDFEB33C7, 0x2D80B0C4, 0x3ED04330, 0xCCBBC033,\n 0xA24BB5A6, 0x502036A5, 0x4370C551, 0xB11B4652, 0x65D122B9, 0x97BAA1BA, 0x84EA524E, 0x7681D14D,\n 0x2892ED69, 0xDAF96E6A, 0xC9A99D9E, 0x3BC21E9D, 0xEF087A76, 0x1D63F975, 0x0E330A81, 0xFC588982,\n 0xB21572C9, 0x407EF1CA, 0x532E023E, 0xA145813D, 0x758FE5D6, 0x87E466D5, 0x94B49521, 0x66DF1622,\n 0x38CC2A06, 0xCAA7A905, 0xD9F75AF1, 0x2B9CD9F2, 0xFF56BD19, 0x0D3D3E1A, 0x1E6DCDEE, 0xEC064EED,\n 0xC38D26C4, 0x31E6A5C7, 0x22B65633, 0xD0DDD530, 0x0417B1DB, 0xF67C32D8, 0xE52CC12C, 0x1747422F,\n 0x49547E0B, 0xBB3FFD08, 0xA86F0EFC, 0x5A048DFF, 0x8ECEE914, 0x7CA56A17, 0x6FF599E3, 0x9D9E1AE0,\n 0xD3D3E1AB, 0x21B862A8, 0x32E8915C, 0xC083125F, 0x144976B4, 0xE622F5B7, 0xF5720643, 0x07198540,\n 0x590AB964, 0xAB613A67, 0xB831C993, 0x4A5A4A90, 0x9E902E7B, 0x6CFBAD78, 0x7FAB5E8C, 0x8DC0DD8F,\n 0xE330A81A, 0x115B2B19, 0x020BD8ED, 0xF0605BEE, 0x24AA3F05, 0xD6C1BC06, 0xC5914FF2, 0x37FACCF1,\n 0x69E9F0D5, 0x9B8273D6, 0x88D28022, 0x7AB90321, 0xAE7367CA, 0x5C18E4C9, 0x4F48173D, 0xBD23943E,\n 0xF36E6F75, 0x0105EC76, 0x12551F82, 0xE03E9C81, 0x34F4F86A, 0xC69F7B69, 0xD5CF889D, 0x27A40B9E,\n 0x79B737BA, 0x8BDCB4B9, 0x988C474D, 0x6AE7C44E, 0xBE2DA0A5, 0x4C4623A6, 0x5F16D052, 0xAD7D5351,\n];\nvar lookupTable = (0, util_1.uint32ArrayFrom)(a_lookupTable);\nvar aws_crc32c_1 = require(\"./aws_crc32c\");\nObject.defineProperty(exports, \"AwsCrc32c\", { enumerable: true, get: function () { return aws_crc32c_1.AwsCrc32c; } });\n","\"use strict\";\n// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.convertToBuffer = void 0;\nvar util_utf8_browser_1 = require(\"@aws-sdk/util-utf8-browser\");\n// Quick polyfill\nvar fromUtf8 = typeof Buffer !== \"undefined\" && Buffer.from\n ? function (input) { return Buffer.from(input, \"utf8\"); }\n : util_utf8_browser_1.fromUtf8;\nfunction convertToBuffer(data) {\n // Already a Uint8, do nothing\n if (data instanceof Uint8Array)\n return data;\n if (typeof data === \"string\") {\n return fromUtf8(data);\n }\n if (ArrayBuffer.isView(data)) {\n return new Uint8Array(data.buffer, data.byteOffset, data.byteLength / Uint8Array.BYTES_PER_ELEMENT);\n }\n return new Uint8Array(data);\n}\nexports.convertToBuffer = convertToBuffer;\n","\"use strict\";\n// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.uint32ArrayFrom = exports.numToUint8 = exports.isEmptyData = exports.convertToBuffer = void 0;\nvar convertToBuffer_1 = require(\"./convertToBuffer\");\nObject.defineProperty(exports, \"convertToBuffer\", { enumerable: true, get: function () { return convertToBuffer_1.convertToBuffer; } });\nvar isEmptyData_1 = require(\"./isEmptyData\");\nObject.defineProperty(exports, \"isEmptyData\", { enumerable: true, get: function () { return isEmptyData_1.isEmptyData; } });\nvar numToUint8_1 = require(\"./numToUint8\");\nObject.defineProperty(exports, \"numToUint8\", { enumerable: true, get: function () { return numToUint8_1.numToUint8; } });\nvar uint32ArrayFrom_1 = require(\"./uint32ArrayFrom\");\nObject.defineProperty(exports, \"uint32ArrayFrom\", { enumerable: true, get: function () { return uint32ArrayFrom_1.uint32ArrayFrom; } });\n","\"use strict\";\n// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isEmptyData = void 0;\nfunction isEmptyData(data) {\n if (typeof data === \"string\") {\n return data.length === 0;\n }\n return data.byteLength === 0;\n}\nexports.isEmptyData = isEmptyData;\n","\"use strict\";\n// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.numToUint8 = void 0;\nfunction numToUint8(num) {\n return new Uint8Array([\n (num & 0xff000000) >> 24,\n (num & 0x00ff0000) >> 16,\n (num & 0x0000ff00) >> 8,\n num & 0x000000ff,\n ]);\n}\nexports.numToUint8 = numToUint8;\n","\"use strict\";\n// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.uint32ArrayFrom = void 0;\n// IE 11 does not support Array.from, so we do it manually\nfunction uint32ArrayFrom(a_lookUpTable) {\n if (!Uint32Array.from) {\n var return_array = new Uint32Array(a_lookUpTable.length);\n var a_index = 0;\n while (a_index < a_lookUpTable.length) {\n return_array[a_index] = a_lookUpTable[a_index];\n a_index += 1;\n }\n return return_array;\n }\n return Uint32Array.from(a_lookUpTable);\n}\nexports.uint32ArrayFrom = uint32ArrayFrom;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.EMPTY_DATA_SHA_1 = exports.SHA_1_HMAC_ALGO = exports.SHA_1_HASH = void 0;\nexports.SHA_1_HASH = { name: \"SHA-1\" };\nexports.SHA_1_HMAC_ALGO = {\n name: \"HMAC\",\n hash: exports.SHA_1_HASH,\n};\nexports.EMPTY_DATA_SHA_1 = new Uint8Array([\n 218,\n 57,\n 163,\n 238,\n 94,\n 107,\n 75,\n 13,\n 50,\n 85,\n 191,\n 239,\n 149,\n 96,\n 24,\n 144,\n 175,\n 216,\n 7,\n 9,\n]);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Sha1 = void 0;\nvar ie11Sha1_1 = require(\"./ie11Sha1\");\nvar webCryptoSha1_1 = require(\"./webCryptoSha1\");\nvar supports_web_crypto_1 = require(\"@aws-crypto/supports-web-crypto\");\nvar ie11_detection_1 = require(\"@aws-crypto/ie11-detection\");\nvar util_locate_window_1 = require(\"@aws-sdk/util-locate-window\");\nvar util_1 = require(\"@aws-crypto/util\");\nvar Sha1 = /** @class */ (function () {\n function Sha1(secret) {\n if ((0, supports_web_crypto_1.supportsWebCrypto)((0, util_locate_window_1.locateWindow)())) {\n this.hash = new webCryptoSha1_1.Sha1(secret);\n }\n else if ((0, ie11_detection_1.isMsWindow)((0, util_locate_window_1.locateWindow)())) {\n this.hash = new ie11Sha1_1.Sha1(secret);\n }\n else {\n throw new Error(\"SHA1 not supported\");\n }\n }\n Sha1.prototype.update = function (data, encoding) {\n this.hash.update((0, util_1.convertToBuffer)(data));\n };\n Sha1.prototype.digest = function () {\n return this.hash.digest();\n };\n Sha1.prototype.reset = function () {\n this.hash.reset();\n };\n return Sha1;\n}());\nexports.Sha1 = Sha1;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Sha1 = void 0;\nvar isEmptyData_1 = require(\"./isEmptyData\");\nvar constants_1 = require(\"./constants\");\nvar util_utf8_browser_1 = require(\"@aws-sdk/util-utf8-browser\");\nvar util_locate_window_1 = require(\"@aws-sdk/util-locate-window\");\nvar Sha1 = /** @class */ (function () {\n function Sha1(secret) {\n this.secret = secret;\n this.reset();\n }\n Sha1.prototype.update = function (toHash) {\n var _this = this;\n if ((0, isEmptyData_1.isEmptyData)(toHash)) {\n return;\n }\n this.operation = this.operation.then(function (operation) {\n operation.onerror = function () {\n _this.operation = Promise.reject(new Error(\"Error encountered updating hash\"));\n };\n operation.process(toArrayBufferView(toHash));\n return operation;\n });\n this.operation.catch(function () { });\n };\n Sha1.prototype.digest = function () {\n return this.operation.then(function (operation) {\n return new Promise(function (resolve, reject) {\n operation.onerror = function () {\n reject(new Error(\"Error encountered finalizing hash\"));\n };\n operation.oncomplete = function () {\n if (operation.result) {\n resolve(new Uint8Array(operation.result));\n }\n reject(new Error(\"Error encountered finalizing hash\"));\n };\n operation.finish();\n });\n });\n };\n Sha1.prototype.reset = function () {\n if (this.secret) {\n this.operation = getKeyPromise(this.secret).then(function (keyData) {\n return (0, util_locate_window_1.locateWindow)().msCrypto.subtle.sign(constants_1.SHA_1_HMAC_ALGO, keyData);\n });\n this.operation.catch(function () { });\n }\n else {\n this.operation = Promise.resolve((0, util_locate_window_1.locateWindow)().msCrypto.subtle.digest(\"SHA-1\"));\n }\n };\n return Sha1;\n}());\nexports.Sha1 = Sha1;\nfunction getKeyPromise(secret) {\n return new Promise(function (resolve, reject) {\n var keyOperation = (0, util_locate_window_1.locateWindow)().msCrypto.subtle.importKey(\"raw\", toArrayBufferView(secret), constants_1.SHA_1_HMAC_ALGO, false, [\"sign\"]);\n keyOperation.oncomplete = function () {\n if (keyOperation.result) {\n resolve(keyOperation.result);\n }\n reject(new Error(\"ImportKey completed without importing key.\"));\n };\n keyOperation.onerror = function () {\n reject(new Error(\"ImportKey failed to import key.\"));\n };\n });\n}\nfunction toArrayBufferView(data) {\n if (typeof data === \"string\") {\n return (0, util_utf8_browser_1.fromUtf8)(data);\n }\n if (ArrayBuffer.isView(data)) {\n return new Uint8Array(data.buffer, data.byteOffset, data.byteLength / Uint8Array.BYTES_PER_ELEMENT);\n }\n return new Uint8Array(data);\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.WebCryptoSha1 = exports.Ie11Sha1 = void 0;\nvar tslib_1 = require(\"tslib\");\ntslib_1.__exportStar(require(\"./crossPlatformSha1\"), exports);\nvar ie11Sha1_1 = require(\"./ie11Sha1\");\nObject.defineProperty(exports, \"Ie11Sha1\", { enumerable: true, get: function () { return ie11Sha1_1.Sha1; } });\nvar webCryptoSha1_1 = require(\"./webCryptoSha1\");\nObject.defineProperty(exports, \"WebCryptoSha1\", { enumerable: true, get: function () { return webCryptoSha1_1.Sha1; } });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isEmptyData = void 0;\nfunction isEmptyData(data) {\n if (typeof data === \"string\") {\n return data.length === 0;\n }\n return data.byteLength === 0;\n}\nexports.isEmptyData = isEmptyData;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Sha1 = void 0;\nvar util_utf8_browser_1 = require(\"@aws-sdk/util-utf8-browser\");\nvar isEmptyData_1 = require(\"./isEmptyData\");\nvar constants_1 = require(\"./constants\");\nvar util_locate_window_1 = require(\"@aws-sdk/util-locate-window\");\nvar Sha1 = /** @class */ (function () {\n function Sha1(secret) {\n this.toHash = new Uint8Array(0);\n if (secret !== void 0) {\n this.key = new Promise(function (resolve, reject) {\n (0, util_locate_window_1.locateWindow)()\n .crypto.subtle.importKey(\"raw\", convertToBuffer(secret), constants_1.SHA_1_HMAC_ALGO, false, [\"sign\"])\n .then(resolve, reject);\n });\n this.key.catch(function () { });\n }\n }\n Sha1.prototype.update = function (data) {\n if ((0, isEmptyData_1.isEmptyData)(data)) {\n return;\n }\n var update = convertToBuffer(data);\n var typedArray = new Uint8Array(this.toHash.byteLength + update.byteLength);\n typedArray.set(this.toHash, 0);\n typedArray.set(update, this.toHash.byteLength);\n this.toHash = typedArray;\n };\n Sha1.prototype.digest = function () {\n var _this = this;\n if (this.key) {\n return this.key.then(function (key) {\n return (0, util_locate_window_1.locateWindow)()\n .crypto.subtle.sign(constants_1.SHA_1_HMAC_ALGO, key, _this.toHash)\n .then(function (data) { return new Uint8Array(data); });\n });\n }\n if ((0, isEmptyData_1.isEmptyData)(this.toHash)) {\n return Promise.resolve(constants_1.EMPTY_DATA_SHA_1);\n }\n return Promise.resolve()\n .then(function () { return (0, util_locate_window_1.locateWindow)().crypto.subtle.digest(constants_1.SHA_1_HASH, _this.toHash); })\n .then(function (data) { return Promise.resolve(new Uint8Array(data)); });\n };\n Sha1.prototype.reset = function () {\n this.toHash = new Uint8Array(0);\n };\n return Sha1;\n}());\nexports.Sha1 = Sha1;\nfunction convertToBuffer(data) {\n if (typeof data === \"string\") {\n return (0, util_utf8_browser_1.fromUtf8)(data);\n }\n if (ArrayBuffer.isView(data)) {\n return new Uint8Array(data.buffer, data.byteOffset, data.byteLength / Uint8Array.BYTES_PER_ELEMENT);\n }\n return new Uint8Array(data);\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isMsWindow = void 0;\nvar msSubtleCryptoMethods = [\n \"decrypt\",\n \"digest\",\n \"encrypt\",\n \"exportKey\",\n \"generateKey\",\n \"importKey\",\n \"sign\",\n \"verify\"\n];\nfunction quacksLikeAnMsWindow(window) {\n return \"MSInputMethodContext\" in window && \"msCrypto\" in window;\n}\n/**\n * Determines if the provided window is (or is like) the window object one would\n * expect to encounter in Internet Explorer 11.\n */\nfunction isMsWindow(window) {\n if (quacksLikeAnMsWindow(window) && window.msCrypto.subtle !== undefined) {\n var _a = window.msCrypto, getRandomValues = _a.getRandomValues, subtle_1 = _a.subtle;\n return msSubtleCryptoMethods\n .map(function (methodName) { return subtle_1[methodName]; })\n .concat(getRandomValues)\n .every(function (method) { return typeof method === \"function\"; });\n }\n return false;\n}\nexports.isMsWindow = isMsWindow;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\ntslib_1.__exportStar(require(\"./CryptoOperation\"), exports);\ntslib_1.__exportStar(require(\"./Key\"), exports);\ntslib_1.__exportStar(require(\"./KeyOperation\"), exports);\ntslib_1.__exportStar(require(\"./MsSubtleCrypto\"), exports);\ntslib_1.__exportStar(require(\"./MsWindow\"), exports);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\ntslib_1.__exportStar(require(\"./supportsWebCrypto\"), exports);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.supportsZeroByteGCM = exports.supportsSubtleCrypto = exports.supportsSecureRandom = exports.supportsWebCrypto = void 0;\nvar tslib_1 = require(\"tslib\");\nvar subtleCryptoMethods = [\n \"decrypt\",\n \"digest\",\n \"encrypt\",\n \"exportKey\",\n \"generateKey\",\n \"importKey\",\n \"sign\",\n \"verify\"\n];\nfunction supportsWebCrypto(window) {\n if (supportsSecureRandom(window) &&\n typeof window.crypto.subtle === \"object\") {\n var subtle = window.crypto.subtle;\n return supportsSubtleCrypto(subtle);\n }\n return false;\n}\nexports.supportsWebCrypto = supportsWebCrypto;\nfunction supportsSecureRandom(window) {\n if (typeof window === \"object\" && typeof window.crypto === \"object\") {\n var getRandomValues = window.crypto.getRandomValues;\n return typeof getRandomValues === \"function\";\n }\n return false;\n}\nexports.supportsSecureRandom = supportsSecureRandom;\nfunction supportsSubtleCrypto(subtle) {\n return (subtle &&\n subtleCryptoMethods.every(function (methodName) { return typeof subtle[methodName] === \"function\"; }));\n}\nexports.supportsSubtleCrypto = supportsSubtleCrypto;\nfunction supportsZeroByteGCM(subtle) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var key, zeroByteAuthTag, _a;\n return tslib_1.__generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n if (!supportsSubtleCrypto(subtle))\n return [2 /*return*/, false];\n _b.label = 1;\n case 1:\n _b.trys.push([1, 4, , 5]);\n return [4 /*yield*/, subtle.generateKey({ name: \"AES-GCM\", length: 128 }, false, [\"encrypt\"])];\n case 2:\n key = _b.sent();\n return [4 /*yield*/, subtle.encrypt({\n name: \"AES-GCM\",\n iv: new Uint8Array(Array(12)),\n additionalData: new Uint8Array(Array(16)),\n tagLength: 128\n }, key, new Uint8Array(0))];\n case 3:\n zeroByteAuthTag = _b.sent();\n return [2 /*return*/, zeroByteAuthTag.byteLength === 16];\n case 4:\n _a = _b.sent();\n return [2 /*return*/, false];\n case 5: return [2 /*return*/];\n }\n });\n });\n}\nexports.supportsZeroByteGCM = supportsZeroByteGCM;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RawSha256 = void 0;\nvar constants_1 = require(\"./constants\");\n/**\n * @internal\n */\nvar RawSha256 = /** @class */ (function () {\n function RawSha256() {\n this.state = Int32Array.from(constants_1.INIT);\n this.temp = new Int32Array(64);\n this.buffer = new Uint8Array(64);\n this.bufferLength = 0;\n this.bytesHashed = 0;\n /**\n * @internal\n */\n this.finished = false;\n }\n RawSha256.prototype.update = function (data) {\n if (this.finished) {\n throw new Error(\"Attempted to update an already finished hash.\");\n }\n var position = 0;\n var byteLength = data.byteLength;\n this.bytesHashed += byteLength;\n if (this.bytesHashed * 8 > constants_1.MAX_HASHABLE_LENGTH) {\n throw new Error(\"Cannot hash more than 2^53 - 1 bits\");\n }\n while (byteLength > 0) {\n this.buffer[this.bufferLength++] = data[position++];\n byteLength--;\n if (this.bufferLength === constants_1.BLOCK_SIZE) {\n this.hashBuffer();\n this.bufferLength = 0;\n }\n }\n };\n RawSha256.prototype.digest = function () {\n if (!this.finished) {\n var bitsHashed = this.bytesHashed * 8;\n var bufferView = new DataView(this.buffer.buffer, this.buffer.byteOffset, this.buffer.byteLength);\n var undecoratedLength = this.bufferLength;\n bufferView.setUint8(this.bufferLength++, 0x80);\n // Ensure the final block has enough room for the hashed length\n if (undecoratedLength % constants_1.BLOCK_SIZE >= constants_1.BLOCK_SIZE - 8) {\n for (var i = this.bufferLength; i < constants_1.BLOCK_SIZE; i++) {\n bufferView.setUint8(i, 0);\n }\n this.hashBuffer();\n this.bufferLength = 0;\n }\n for (var i = this.bufferLength; i < constants_1.BLOCK_SIZE - 8; i++) {\n bufferView.setUint8(i, 0);\n }\n bufferView.setUint32(constants_1.BLOCK_SIZE - 8, Math.floor(bitsHashed / 0x100000000), true);\n bufferView.setUint32(constants_1.BLOCK_SIZE - 4, bitsHashed);\n this.hashBuffer();\n this.finished = true;\n }\n // The value in state is little-endian rather than big-endian, so flip\n // each word into a new Uint8Array\n var out = new Uint8Array(constants_1.DIGEST_LENGTH);\n for (var i = 0; i < 8; i++) {\n out[i * 4] = (this.state[i] >>> 24) & 0xff;\n out[i * 4 + 1] = (this.state[i] >>> 16) & 0xff;\n out[i * 4 + 2] = (this.state[i] >>> 8) & 0xff;\n out[i * 4 + 3] = (this.state[i] >>> 0) & 0xff;\n }\n return out;\n };\n RawSha256.prototype.hashBuffer = function () {\n var _a = this, buffer = _a.buffer, state = _a.state;\n var state0 = state[0], state1 = state[1], state2 = state[2], state3 = state[3], state4 = state[4], state5 = state[5], state6 = state[6], state7 = state[7];\n for (var i = 0; i < constants_1.BLOCK_SIZE; i++) {\n if (i < 16) {\n this.temp[i] =\n ((buffer[i * 4] & 0xff) << 24) |\n ((buffer[i * 4 + 1] & 0xff) << 16) |\n ((buffer[i * 4 + 2] & 0xff) << 8) |\n (buffer[i * 4 + 3] & 0xff);\n }\n else {\n var u = this.temp[i - 2];\n var t1_1 = ((u >>> 17) | (u << 15)) ^ ((u >>> 19) | (u << 13)) ^ (u >>> 10);\n u = this.temp[i - 15];\n var t2_1 = ((u >>> 7) | (u << 25)) ^ ((u >>> 18) | (u << 14)) ^ (u >>> 3);\n this.temp[i] =\n ((t1_1 + this.temp[i - 7]) | 0) + ((t2_1 + this.temp[i - 16]) | 0);\n }\n var t1 = ((((((state4 >>> 6) | (state4 << 26)) ^\n ((state4 >>> 11) | (state4 << 21)) ^\n ((state4 >>> 25) | (state4 << 7))) +\n ((state4 & state5) ^ (~state4 & state6))) |\n 0) +\n ((state7 + ((constants_1.KEY[i] + this.temp[i]) | 0)) | 0)) |\n 0;\n var t2 = ((((state0 >>> 2) | (state0 << 30)) ^\n ((state0 >>> 13) | (state0 << 19)) ^\n ((state0 >>> 22) | (state0 << 10))) +\n ((state0 & state1) ^ (state0 & state2) ^ (state1 & state2))) |\n 0;\n state7 = state6;\n state6 = state5;\n state5 = state4;\n state4 = (state3 + t1) | 0;\n state3 = state2;\n state2 = state1;\n state1 = state0;\n state0 = (t1 + t2) | 0;\n }\n state[0] += state0;\n state[1] += state1;\n state[2] += state2;\n state[3] += state3;\n state[4] += state4;\n state[5] += state5;\n state[6] += state6;\n state[7] += state7;\n };\n return RawSha256;\n}());\nexports.RawSha256 = RawSha256;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MAX_HASHABLE_LENGTH = exports.INIT = exports.KEY = exports.DIGEST_LENGTH = exports.BLOCK_SIZE = void 0;\n/**\n * @internal\n */\nexports.BLOCK_SIZE = 64;\n/**\n * @internal\n */\nexports.DIGEST_LENGTH = 32;\n/**\n * @internal\n */\nexports.KEY = new Uint32Array([\n 0x428a2f98,\n 0x71374491,\n 0xb5c0fbcf,\n 0xe9b5dba5,\n 0x3956c25b,\n 0x59f111f1,\n 0x923f82a4,\n 0xab1c5ed5,\n 0xd807aa98,\n 0x12835b01,\n 0x243185be,\n 0x550c7dc3,\n 0x72be5d74,\n 0x80deb1fe,\n 0x9bdc06a7,\n 0xc19bf174,\n 0xe49b69c1,\n 0xefbe4786,\n 0x0fc19dc6,\n 0x240ca1cc,\n 0x2de92c6f,\n 0x4a7484aa,\n 0x5cb0a9dc,\n 0x76f988da,\n 0x983e5152,\n 0xa831c66d,\n 0xb00327c8,\n 0xbf597fc7,\n 0xc6e00bf3,\n 0xd5a79147,\n 0x06ca6351,\n 0x14292967,\n 0x27b70a85,\n 0x2e1b2138,\n 0x4d2c6dfc,\n 0x53380d13,\n 0x650a7354,\n 0x766a0abb,\n 0x81c2c92e,\n 0x92722c85,\n 0xa2bfe8a1,\n 0xa81a664b,\n 0xc24b8b70,\n 0xc76c51a3,\n 0xd192e819,\n 0xd6990624,\n 0xf40e3585,\n 0x106aa070,\n 0x19a4c116,\n 0x1e376c08,\n 0x2748774c,\n 0x34b0bcb5,\n 0x391c0cb3,\n 0x4ed8aa4a,\n 0x5b9cca4f,\n 0x682e6ff3,\n 0x748f82ee,\n 0x78a5636f,\n 0x84c87814,\n 0x8cc70208,\n 0x90befffa,\n 0xa4506ceb,\n 0xbef9a3f7,\n 0xc67178f2\n]);\n/**\n * @internal\n */\nexports.INIT = [\n 0x6a09e667,\n 0xbb67ae85,\n 0x3c6ef372,\n 0xa54ff53a,\n 0x510e527f,\n 0x9b05688c,\n 0x1f83d9ab,\n 0x5be0cd19\n];\n/**\n * @internal\n */\nexports.MAX_HASHABLE_LENGTH = Math.pow(2, 53) - 1;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\n(0, tslib_1.__exportStar)(require(\"./jsSha256\"), exports);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Sha256 = void 0;\nvar tslib_1 = require(\"tslib\");\nvar constants_1 = require(\"./constants\");\nvar RawSha256_1 = require(\"./RawSha256\");\nvar util_1 = require(\"@aws-crypto/util\");\nvar Sha256 = /** @class */ (function () {\n function Sha256(secret) {\n this.hash = new RawSha256_1.RawSha256();\n if (secret) {\n this.outer = new RawSha256_1.RawSha256();\n var inner = bufferFromSecret(secret);\n var outer = new Uint8Array(constants_1.BLOCK_SIZE);\n outer.set(inner);\n for (var i = 0; i < constants_1.BLOCK_SIZE; i++) {\n inner[i] ^= 0x36;\n outer[i] ^= 0x5c;\n }\n this.hash.update(inner);\n this.outer.update(outer);\n // overwrite the copied key in memory\n for (var i = 0; i < inner.byteLength; i++) {\n inner[i] = 0;\n }\n }\n }\n Sha256.prototype.update = function (toHash) {\n if ((0, util_1.isEmptyData)(toHash) || this.error) {\n return;\n }\n try {\n this.hash.update((0, util_1.convertToBuffer)(toHash));\n }\n catch (e) {\n this.error = e;\n }\n };\n /* This synchronous method keeps compatibility\n * with the v2 aws-sdk.\n */\n Sha256.prototype.digestSync = function () {\n if (this.error) {\n throw this.error;\n }\n if (this.outer) {\n if (!this.outer.finished) {\n this.outer.update(this.hash.digest());\n }\n return this.outer.digest();\n }\n return this.hash.digest();\n };\n /* The underlying digest method here is synchronous.\n * To keep the same interface with the other hash functions\n * the default is to expose this as an async method.\n * However, it can sometimes be useful to have a sync method.\n */\n Sha256.prototype.digest = function () {\n return (0, tslib_1.__awaiter)(this, void 0, void 0, function () {\n return (0, tslib_1.__generator)(this, function (_a) {\n return [2 /*return*/, this.digestSync()];\n });\n });\n };\n return Sha256;\n}());\nexports.Sha256 = Sha256;\nfunction bufferFromSecret(secret) {\n var input = (0, util_1.convertToBuffer)(secret);\n if (input.byteLength > constants_1.BLOCK_SIZE) {\n var bufferHash = new RawSha256_1.RawSha256();\n bufferHash.update(input);\n input = bufferHash.digest();\n }\n var buffer = new Uint8Array(constants_1.BLOCK_SIZE);\n buffer.set(input);\n return buffer;\n}\n","\"use strict\";\n// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.convertToBuffer = void 0;\nvar util_utf8_browser_1 = require(\"@aws-sdk/util-utf8-browser\");\n// Quick polyfill\nvar fromUtf8 = typeof Buffer !== \"undefined\" && Buffer.from\n ? function (input) { return Buffer.from(input, \"utf8\"); }\n : util_utf8_browser_1.fromUtf8;\nfunction convertToBuffer(data) {\n // Already a Uint8, do nothing\n if (data instanceof Uint8Array)\n return data;\n if (typeof data === \"string\") {\n return fromUtf8(data);\n }\n if (ArrayBuffer.isView(data)) {\n return new Uint8Array(data.buffer, data.byteOffset, data.byteLength / Uint8Array.BYTES_PER_ELEMENT);\n }\n return new Uint8Array(data);\n}\nexports.convertToBuffer = convertToBuffer;\n","\"use strict\";\n// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.uint32ArrayFrom = exports.numToUint8 = exports.isEmptyData = exports.convertToBuffer = void 0;\nvar convertToBuffer_1 = require(\"./convertToBuffer\");\nObject.defineProperty(exports, \"convertToBuffer\", { enumerable: true, get: function () { return convertToBuffer_1.convertToBuffer; } });\nvar isEmptyData_1 = require(\"./isEmptyData\");\nObject.defineProperty(exports, \"isEmptyData\", { enumerable: true, get: function () { return isEmptyData_1.isEmptyData; } });\nvar numToUint8_1 = require(\"./numToUint8\");\nObject.defineProperty(exports, \"numToUint8\", { enumerable: true, get: function () { return numToUint8_1.numToUint8; } });\nvar uint32ArrayFrom_1 = require(\"./uint32ArrayFrom\");\nObject.defineProperty(exports, \"uint32ArrayFrom\", { enumerable: true, get: function () { return uint32ArrayFrom_1.uint32ArrayFrom; } });\n","\"use strict\";\n// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isEmptyData = void 0;\nfunction isEmptyData(data) {\n if (typeof data === \"string\") {\n return data.length === 0;\n }\n return data.byteLength === 0;\n}\nexports.isEmptyData = isEmptyData;\n","\"use strict\";\n// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.numToUint8 = void 0;\nfunction numToUint8(num) {\n return new Uint8Array([\n (num & 0xff000000) >> 24,\n (num & 0x00ff0000) >> 16,\n (num & 0x0000ff00) >> 8,\n num & 0x000000ff,\n ]);\n}\nexports.numToUint8 = numToUint8;\n","\"use strict\";\n// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.uint32ArrayFrom = void 0;\n// IE 11 does not support Array.from, so we do it manually\nfunction uint32ArrayFrom(a_lookUpTable) {\n if (!Array.from) {\n var return_array = new Uint32Array(a_lookUpTable.length);\n var a_index = 0;\n while (a_index < a_lookUpTable.length) {\n return_array[a_index] = a_lookUpTable[a_index];\n }\n return return_array;\n }\n return Uint32Array.from(a_lookUpTable);\n}\nexports.uint32ArrayFrom = uint32ArrayFrom;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.EMPTY_DATA_SHA_256 = exports.SHA_256_HMAC_ALGO = exports.SHA_256_HASH = void 0;\nexports.SHA_256_HASH = { name: \"SHA-256\" };\nexports.SHA_256_HMAC_ALGO = {\n name: \"HMAC\",\n hash: exports.SHA_256_HASH\n};\nexports.EMPTY_DATA_SHA_256 = new Uint8Array([\n 227,\n 176,\n 196,\n 66,\n 152,\n 252,\n 28,\n 20,\n 154,\n 251,\n 244,\n 200,\n 153,\n 111,\n 185,\n 36,\n 39,\n 174,\n 65,\n 228,\n 100,\n 155,\n 147,\n 76,\n 164,\n 149,\n 153,\n 27,\n 120,\n 82,\n 184,\n 85\n]);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Sha256 = void 0;\nvar ie11Sha256_1 = require(\"./ie11Sha256\");\nvar webCryptoSha256_1 = require(\"./webCryptoSha256\");\nvar sha256_js_1 = require(\"@aws-crypto/sha256-js\");\nvar supports_web_crypto_1 = require(\"@aws-crypto/supports-web-crypto\");\nvar ie11_detection_1 = require(\"@aws-crypto/ie11-detection\");\nvar util_locate_window_1 = require(\"@aws-sdk/util-locate-window\");\nvar util_1 = require(\"@aws-crypto/util\");\nvar Sha256 = /** @class */ (function () {\n function Sha256(secret) {\n if ((0, supports_web_crypto_1.supportsWebCrypto)((0, util_locate_window_1.locateWindow)())) {\n this.hash = new webCryptoSha256_1.Sha256(secret);\n }\n else if ((0, ie11_detection_1.isMsWindow)((0, util_locate_window_1.locateWindow)())) {\n this.hash = new ie11Sha256_1.Sha256(secret);\n }\n else {\n this.hash = new sha256_js_1.Sha256(secret);\n }\n }\n Sha256.prototype.update = function (data, encoding) {\n this.hash.update((0, util_1.convertToBuffer)(data));\n };\n Sha256.prototype.digest = function () {\n return this.hash.digest();\n };\n Sha256.prototype.reset = function () {\n this.hash.reset();\n };\n return Sha256;\n}());\nexports.Sha256 = Sha256;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Sha256 = void 0;\nvar isEmptyData_1 = require(\"./isEmptyData\");\nvar constants_1 = require(\"./constants\");\nvar util_utf8_browser_1 = require(\"@aws-sdk/util-utf8-browser\");\nvar util_locate_window_1 = require(\"@aws-sdk/util-locate-window\");\nvar Sha256 = /** @class */ (function () {\n function Sha256(secret) {\n this.secret = secret;\n this.reset();\n }\n Sha256.prototype.update = function (toHash) {\n var _this = this;\n if ((0, isEmptyData_1.isEmptyData)(toHash)) {\n return;\n }\n this.operation = this.operation.then(function (operation) {\n operation.onerror = function () {\n _this.operation = Promise.reject(new Error(\"Error encountered updating hash\"));\n };\n operation.process(toArrayBufferView(toHash));\n return operation;\n });\n this.operation.catch(function () { });\n };\n Sha256.prototype.digest = function () {\n return this.operation.then(function (operation) {\n return new Promise(function (resolve, reject) {\n operation.onerror = function () {\n reject(new Error(\"Error encountered finalizing hash\"));\n };\n operation.oncomplete = function () {\n if (operation.result) {\n resolve(new Uint8Array(operation.result));\n }\n reject(new Error(\"Error encountered finalizing hash\"));\n };\n operation.finish();\n });\n });\n };\n Sha256.prototype.reset = function () {\n if (this.secret) {\n this.operation = getKeyPromise(this.secret).then(function (keyData) {\n return (0, util_locate_window_1.locateWindow)().msCrypto.subtle.sign(constants_1.SHA_256_HMAC_ALGO, keyData);\n });\n this.operation.catch(function () { });\n }\n else {\n this.operation = Promise.resolve((0, util_locate_window_1.locateWindow)().msCrypto.subtle.digest(\"SHA-256\"));\n }\n };\n return Sha256;\n}());\nexports.Sha256 = Sha256;\nfunction getKeyPromise(secret) {\n return new Promise(function (resolve, reject) {\n var keyOperation = (0, util_locate_window_1.locateWindow)().msCrypto.subtle.importKey(\"raw\", toArrayBufferView(secret), constants_1.SHA_256_HMAC_ALGO, false, [\"sign\"]);\n keyOperation.oncomplete = function () {\n if (keyOperation.result) {\n resolve(keyOperation.result);\n }\n reject(new Error(\"ImportKey completed without importing key.\"));\n };\n keyOperation.onerror = function () {\n reject(new Error(\"ImportKey failed to import key.\"));\n };\n });\n}\nfunction toArrayBufferView(data) {\n if (typeof data === \"string\") {\n return (0, util_utf8_browser_1.fromUtf8)(data);\n }\n if (ArrayBuffer.isView(data)) {\n return new Uint8Array(data.buffer, data.byteOffset, data.byteLength / Uint8Array.BYTES_PER_ELEMENT);\n }\n return new Uint8Array(data);\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.WebCryptoSha256 = exports.Ie11Sha256 = void 0;\nvar tslib_1 = require(\"tslib\");\ntslib_1.__exportStar(require(\"./crossPlatformSha256\"), exports);\nvar ie11Sha256_1 = require(\"./ie11Sha256\");\nObject.defineProperty(exports, \"Ie11Sha256\", { enumerable: true, get: function () { return ie11Sha256_1.Sha256; } });\nvar webCryptoSha256_1 = require(\"./webCryptoSha256\");\nObject.defineProperty(exports, \"WebCryptoSha256\", { enumerable: true, get: function () { return webCryptoSha256_1.Sha256; } });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isEmptyData = void 0;\nfunction isEmptyData(data) {\n if (typeof data === \"string\") {\n return data.length === 0;\n }\n return data.byteLength === 0;\n}\nexports.isEmptyData = isEmptyData;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Sha256 = void 0;\nvar util_1 = require(\"@aws-crypto/util\");\nvar constants_1 = require(\"./constants\");\nvar util_locate_window_1 = require(\"@aws-sdk/util-locate-window\");\nvar Sha256 = /** @class */ (function () {\n function Sha256(secret) {\n this.toHash = new Uint8Array(0);\n this.secret = secret;\n this.reset();\n }\n Sha256.prototype.update = function (data) {\n if ((0, util_1.isEmptyData)(data)) {\n return;\n }\n var update = (0, util_1.convertToBuffer)(data);\n var typedArray = new Uint8Array(this.toHash.byteLength + update.byteLength);\n typedArray.set(this.toHash, 0);\n typedArray.set(update, this.toHash.byteLength);\n this.toHash = typedArray;\n };\n Sha256.prototype.digest = function () {\n var _this = this;\n if (this.key) {\n return this.key.then(function (key) {\n return (0, util_locate_window_1.locateWindow)()\n .crypto.subtle.sign(constants_1.SHA_256_HMAC_ALGO, key, _this.toHash)\n .then(function (data) { return new Uint8Array(data); });\n });\n }\n if ((0, util_1.isEmptyData)(this.toHash)) {\n return Promise.resolve(constants_1.EMPTY_DATA_SHA_256);\n }\n return Promise.resolve()\n .then(function () {\n return (0, util_locate_window_1.locateWindow)().crypto.subtle.digest(constants_1.SHA_256_HASH, _this.toHash);\n })\n .then(function (data) { return Promise.resolve(new Uint8Array(data)); });\n };\n Sha256.prototype.reset = function () {\n var _this = this;\n this.toHash = new Uint8Array(0);\n if (this.secret && this.secret !== void 0) {\n this.key = new Promise(function (resolve, reject) {\n (0, util_locate_window_1.locateWindow)()\n .crypto.subtle.importKey(\"raw\", (0, util_1.convertToBuffer)(_this.secret), constants_1.SHA_256_HMAC_ALGO, false, [\"sign\"])\n .then(resolve, reject);\n });\n this.key.catch(function () { });\n }\n };\n return Sha256;\n}());\nexports.Sha256 = Sha256;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RawSha256 = void 0;\nvar constants_1 = require(\"./constants\");\n/**\n * @internal\n */\nvar RawSha256 = /** @class */ (function () {\n function RawSha256() {\n this.state = Int32Array.from(constants_1.INIT);\n this.temp = new Int32Array(64);\n this.buffer = new Uint8Array(64);\n this.bufferLength = 0;\n this.bytesHashed = 0;\n /**\n * @internal\n */\n this.finished = false;\n }\n RawSha256.prototype.update = function (data) {\n if (this.finished) {\n throw new Error(\"Attempted to update an already finished hash.\");\n }\n var position = 0;\n var byteLength = data.byteLength;\n this.bytesHashed += byteLength;\n if (this.bytesHashed * 8 > constants_1.MAX_HASHABLE_LENGTH) {\n throw new Error(\"Cannot hash more than 2^53 - 1 bits\");\n }\n while (byteLength > 0) {\n this.buffer[this.bufferLength++] = data[position++];\n byteLength--;\n if (this.bufferLength === constants_1.BLOCK_SIZE) {\n this.hashBuffer();\n this.bufferLength = 0;\n }\n }\n };\n RawSha256.prototype.digest = function () {\n if (!this.finished) {\n var bitsHashed = this.bytesHashed * 8;\n var bufferView = new DataView(this.buffer.buffer, this.buffer.byteOffset, this.buffer.byteLength);\n var undecoratedLength = this.bufferLength;\n bufferView.setUint8(this.bufferLength++, 0x80);\n // Ensure the final block has enough room for the hashed length\n if (undecoratedLength % constants_1.BLOCK_SIZE >= constants_1.BLOCK_SIZE - 8) {\n for (var i = this.bufferLength; i < constants_1.BLOCK_SIZE; i++) {\n bufferView.setUint8(i, 0);\n }\n this.hashBuffer();\n this.bufferLength = 0;\n }\n for (var i = this.bufferLength; i < constants_1.BLOCK_SIZE - 8; i++) {\n bufferView.setUint8(i, 0);\n }\n bufferView.setUint32(constants_1.BLOCK_SIZE - 8, Math.floor(bitsHashed / 0x100000000), true);\n bufferView.setUint32(constants_1.BLOCK_SIZE - 4, bitsHashed);\n this.hashBuffer();\n this.finished = true;\n }\n // The value in state is little-endian rather than big-endian, so flip\n // each word into a new Uint8Array\n var out = new Uint8Array(constants_1.DIGEST_LENGTH);\n for (var i = 0; i < 8; i++) {\n out[i * 4] = (this.state[i] >>> 24) & 0xff;\n out[i * 4 + 1] = (this.state[i] >>> 16) & 0xff;\n out[i * 4 + 2] = (this.state[i] >>> 8) & 0xff;\n out[i * 4 + 3] = (this.state[i] >>> 0) & 0xff;\n }\n return out;\n };\n RawSha256.prototype.hashBuffer = function () {\n var _a = this, buffer = _a.buffer, state = _a.state;\n var state0 = state[0], state1 = state[1], state2 = state[2], state3 = state[3], state4 = state[4], state5 = state[5], state6 = state[6], state7 = state[7];\n for (var i = 0; i < constants_1.BLOCK_SIZE; i++) {\n if (i < 16) {\n this.temp[i] =\n ((buffer[i * 4] & 0xff) << 24) |\n ((buffer[i * 4 + 1] & 0xff) << 16) |\n ((buffer[i * 4 + 2] & 0xff) << 8) |\n (buffer[i * 4 + 3] & 0xff);\n }\n else {\n var u = this.temp[i - 2];\n var t1_1 = ((u >>> 17) | (u << 15)) ^ ((u >>> 19) | (u << 13)) ^ (u >>> 10);\n u = this.temp[i - 15];\n var t2_1 = ((u >>> 7) | (u << 25)) ^ ((u >>> 18) | (u << 14)) ^ (u >>> 3);\n this.temp[i] =\n ((t1_1 + this.temp[i - 7]) | 0) + ((t2_1 + this.temp[i - 16]) | 0);\n }\n var t1 = ((((((state4 >>> 6) | (state4 << 26)) ^\n ((state4 >>> 11) | (state4 << 21)) ^\n ((state4 >>> 25) | (state4 << 7))) +\n ((state4 & state5) ^ (~state4 & state6))) |\n 0) +\n ((state7 + ((constants_1.KEY[i] + this.temp[i]) | 0)) | 0)) |\n 0;\n var t2 = ((((state0 >>> 2) | (state0 << 30)) ^\n ((state0 >>> 13) | (state0 << 19)) ^\n ((state0 >>> 22) | (state0 << 10))) +\n ((state0 & state1) ^ (state0 & state2) ^ (state1 & state2))) |\n 0;\n state7 = state6;\n state6 = state5;\n state5 = state4;\n state4 = (state3 + t1) | 0;\n state3 = state2;\n state2 = state1;\n state1 = state0;\n state0 = (t1 + t2) | 0;\n }\n state[0] += state0;\n state[1] += state1;\n state[2] += state2;\n state[3] += state3;\n state[4] += state4;\n state[5] += state5;\n state[6] += state6;\n state[7] += state7;\n };\n return RawSha256;\n}());\nexports.RawSha256 = RawSha256;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MAX_HASHABLE_LENGTH = exports.INIT = exports.KEY = exports.DIGEST_LENGTH = exports.BLOCK_SIZE = void 0;\n/**\n * @internal\n */\nexports.BLOCK_SIZE = 64;\n/**\n * @internal\n */\nexports.DIGEST_LENGTH = 32;\n/**\n * @internal\n */\nexports.KEY = new Uint32Array([\n 0x428a2f98,\n 0x71374491,\n 0xb5c0fbcf,\n 0xe9b5dba5,\n 0x3956c25b,\n 0x59f111f1,\n 0x923f82a4,\n 0xab1c5ed5,\n 0xd807aa98,\n 0x12835b01,\n 0x243185be,\n 0x550c7dc3,\n 0x72be5d74,\n 0x80deb1fe,\n 0x9bdc06a7,\n 0xc19bf174,\n 0xe49b69c1,\n 0xefbe4786,\n 0x0fc19dc6,\n 0x240ca1cc,\n 0x2de92c6f,\n 0x4a7484aa,\n 0x5cb0a9dc,\n 0x76f988da,\n 0x983e5152,\n 0xa831c66d,\n 0xb00327c8,\n 0xbf597fc7,\n 0xc6e00bf3,\n 0xd5a79147,\n 0x06ca6351,\n 0x14292967,\n 0x27b70a85,\n 0x2e1b2138,\n 0x4d2c6dfc,\n 0x53380d13,\n 0x650a7354,\n 0x766a0abb,\n 0x81c2c92e,\n 0x92722c85,\n 0xa2bfe8a1,\n 0xa81a664b,\n 0xc24b8b70,\n 0xc76c51a3,\n 0xd192e819,\n 0xd6990624,\n 0xf40e3585,\n 0x106aa070,\n 0x19a4c116,\n 0x1e376c08,\n 0x2748774c,\n 0x34b0bcb5,\n 0x391c0cb3,\n 0x4ed8aa4a,\n 0x5b9cca4f,\n 0x682e6ff3,\n 0x748f82ee,\n 0x78a5636f,\n 0x84c87814,\n 0x8cc70208,\n 0x90befffa,\n 0xa4506ceb,\n 0xbef9a3f7,\n 0xc67178f2\n]);\n/**\n * @internal\n */\nexports.INIT = [\n 0x6a09e667,\n 0xbb67ae85,\n 0x3c6ef372,\n 0xa54ff53a,\n 0x510e527f,\n 0x9b05688c,\n 0x1f83d9ab,\n 0x5be0cd19\n];\n/**\n * @internal\n */\nexports.MAX_HASHABLE_LENGTH = Math.pow(2, 53) - 1;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\ntslib_1.__exportStar(require(\"./jsSha256\"), exports);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Sha256 = void 0;\nvar tslib_1 = require(\"tslib\");\nvar constants_1 = require(\"./constants\");\nvar RawSha256_1 = require(\"./RawSha256\");\nvar util_1 = require(\"@aws-crypto/util\");\nvar Sha256 = /** @class */ (function () {\n function Sha256(secret) {\n this.secret = secret;\n this.hash = new RawSha256_1.RawSha256();\n this.reset();\n }\n Sha256.prototype.update = function (toHash) {\n if ((0, util_1.isEmptyData)(toHash) || this.error) {\n return;\n }\n try {\n this.hash.update((0, util_1.convertToBuffer)(toHash));\n }\n catch (e) {\n this.error = e;\n }\n };\n /* This synchronous method keeps compatibility\n * with the v2 aws-sdk.\n */\n Sha256.prototype.digestSync = function () {\n if (this.error) {\n throw this.error;\n }\n if (this.outer) {\n if (!this.outer.finished) {\n this.outer.update(this.hash.digest());\n }\n return this.outer.digest();\n }\n return this.hash.digest();\n };\n /* The underlying digest method here is synchronous.\n * To keep the same interface with the other hash functions\n * the default is to expose this as an async method.\n * However, it can sometimes be useful to have a sync method.\n */\n Sha256.prototype.digest = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n return tslib_1.__generator(this, function (_a) {\n return [2 /*return*/, this.digestSync()];\n });\n });\n };\n Sha256.prototype.reset = function () {\n this.hash = new RawSha256_1.RawSha256();\n if (this.secret) {\n this.outer = new RawSha256_1.RawSha256();\n var inner = bufferFromSecret(this.secret);\n var outer = new Uint8Array(constants_1.BLOCK_SIZE);\n outer.set(inner);\n for (var i = 0; i < constants_1.BLOCK_SIZE; i++) {\n inner[i] ^= 0x36;\n outer[i] ^= 0x5c;\n }\n this.hash.update(inner);\n this.outer.update(outer);\n // overwrite the copied key in memory\n for (var i = 0; i < inner.byteLength; i++) {\n inner[i] = 0;\n }\n }\n };\n return Sha256;\n}());\nexports.Sha256 = Sha256;\nfunction bufferFromSecret(secret) {\n var input = (0, util_1.convertToBuffer)(secret);\n if (input.byteLength > constants_1.BLOCK_SIZE) {\n var bufferHash = new RawSha256_1.RawSha256();\n bufferHash.update(input);\n input = bufferHash.digest();\n }\n var buffer = new Uint8Array(constants_1.BLOCK_SIZE);\n buffer.set(input);\n return buffer;\n}\n","'use strict';\n\nconst validator = require('./validator');\nconst XMLParser = require('./xmlparser/XMLParser');\nconst XMLBuilder = require('./xmlbuilder/json2xml');\n\nmodule.exports = {\n XMLParser: XMLParser,\n XMLValidator: validator,\n XMLBuilder: XMLBuilder\n}","'use strict';\n\nconst nameStartChar = ':A-Za-z_\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD';\nconst nameChar = nameStartChar + '\\\\-.\\\\d\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040';\nconst nameRegexp = '[' + nameStartChar + '][' + nameChar + ']*'\nconst regexName = new RegExp('^' + nameRegexp + '$');\n\nconst getAllMatches = function(string, regex) {\n const matches = [];\n let match = regex.exec(string);\n while (match) {\n const allmatches = [];\n allmatches.startIndex = regex.lastIndex - match[0].length;\n const len = match.length;\n for (let index = 0; index < len; index++) {\n allmatches.push(match[index]);\n }\n matches.push(allmatches);\n match = regex.exec(string);\n }\n return matches;\n};\n\nconst isName = function(string) {\n const match = regexName.exec(string);\n return !(match === null || typeof match === 'undefined');\n};\n\nexports.isExist = function(v) {\n return typeof v !== 'undefined';\n};\n\nexports.isEmptyObject = function(obj) {\n return Object.keys(obj).length === 0;\n};\n\n/**\n * Copy all the properties of a into b.\n * @param {*} target\n * @param {*} a\n */\nexports.merge = function(target, a, arrayMode) {\n if (a) {\n const keys = Object.keys(a); // will return an array of own properties\n const len = keys.length; //don't make it inline\n for (let i = 0; i < len; i++) {\n if (arrayMode === 'strict') {\n target[keys[i]] = [ a[keys[i]] ];\n } else {\n target[keys[i]] = a[keys[i]];\n }\n }\n }\n};\n/* exports.merge =function (b,a){\n return Object.assign(b,a);\n} */\n\nexports.getValue = function(v) {\n if (exports.isExist(v)) {\n return v;\n } else {\n return '';\n }\n};\n\n// const fakeCall = function(a) {return a;};\n// const fakeCallNoReturn = function() {};\n\nexports.isName = isName;\nexports.getAllMatches = getAllMatches;\nexports.nameRegexp = nameRegexp;\n","'use strict';\n\nconst util = require('./util');\n\nconst defaultOptions = {\n allowBooleanAttributes: false, //A tag can have attributes without any value\n unpairedTags: []\n};\n\n//const tagsPattern = new RegExp(\"<\\\\/?([\\\\w:\\\\-_\\.]+)\\\\s*\\/?>\",\"g\");\nexports.validate = function (xmlData, options) {\n options = Object.assign({}, defaultOptions, options);\n\n //xmlData = xmlData.replace(/(\\r\\n|\\n|\\r)/gm,\"\");//make it single line\n //xmlData = xmlData.replace(/(^\\s*<\\?xml.*?\\?>)/g,\"\");//Remove XML starting tag\n //xmlData = xmlData.replace(/(<!DOCTYPE[\\s\\w\\\"\\.\\/\\-\\:]+(\\[.*\\])*\\s*>)/g,\"\");//Remove DOCTYPE\n const tags = [];\n let tagFound = false;\n\n //indicates that the root tag has been closed (aka. depth 0 has been reached)\n let reachedRoot = false;\n\n if (xmlData[0] === '\\ufeff') {\n // check for byte order mark (BOM)\n xmlData = xmlData.substr(1);\n }\n \n for (let i = 0; i < xmlData.length; i++) {\n\n if (xmlData[i] === '<' && xmlData[i+1] === '?') {\n i+=2;\n i = readPI(xmlData,i);\n if (i.err) return i;\n }else if (xmlData[i] === '<') {\n //starting of tag\n //read until you reach to '>' avoiding any '>' in attribute value\n let tagStartPos = i;\n i++;\n \n if (xmlData[i] === '!') {\n i = readCommentAndCDATA(xmlData, i);\n continue;\n } else {\n let closingTag = false;\n if (xmlData[i] === '/') {\n //closing tag\n closingTag = true;\n i++;\n }\n //read tagname\n let tagName = '';\n for (; i < xmlData.length &&\n xmlData[i] !== '>' &&\n xmlData[i] !== ' ' &&\n xmlData[i] !== '\\t' &&\n xmlData[i] !== '\\n' &&\n xmlData[i] !== '\\r'; i++\n ) {\n tagName += xmlData[i];\n }\n tagName = tagName.trim();\n //console.log(tagName);\n\n if (tagName[tagName.length - 1] === '/') {\n //self closing tag without attributes\n tagName = tagName.substring(0, tagName.length - 1);\n //continue;\n i--;\n }\n if (!validateTagName(tagName)) {\n let msg;\n if (tagName.trim().length === 0) {\n msg = \"Invalid space after '<'.\";\n } else {\n msg = \"Tag '\"+tagName+\"' is an invalid name.\";\n }\n return getErrorObject('InvalidTag', msg, getLineNumberForPosition(xmlData, i));\n }\n\n const result = readAttributeStr(xmlData, i);\n if (result === false) {\n return getErrorObject('InvalidAttr', \"Attributes for '\"+tagName+\"' have open quote.\", getLineNumberForPosition(xmlData, i));\n }\n let attrStr = result.value;\n i = result.index;\n\n if (attrStr[attrStr.length - 1] === '/') {\n //self closing tag\n const attrStrStart = i - attrStr.length;\n attrStr = attrStr.substring(0, attrStr.length - 1);\n const isValid = validateAttributeString(attrStr, options);\n if (isValid === true) {\n tagFound = true;\n //continue; //text may presents after self closing tag\n } else {\n //the result from the nested function returns the position of the error within the attribute\n //in order to get the 'true' error line, we need to calculate the position where the attribute begins (i - attrStr.length) and then add the position within the attribute\n //this gives us the absolute index in the entire xml, which we can use to find the line at last\n return getErrorObject(isValid.err.code, isValid.err.msg, getLineNumberForPosition(xmlData, attrStrStart + isValid.err.line));\n }\n } else if (closingTag) {\n if (!result.tagClosed) {\n return getErrorObject('InvalidTag', \"Closing tag '\"+tagName+\"' doesn't have proper closing.\", getLineNumberForPosition(xmlData, i));\n } else if (attrStr.trim().length > 0) {\n return getErrorObject('InvalidTag', \"Closing tag '\"+tagName+\"' can't have attributes or invalid starting.\", getLineNumberForPosition(xmlData, tagStartPos));\n } else {\n const otg = tags.pop();\n if (tagName !== otg.tagName) {\n let openPos = getLineNumberForPosition(xmlData, otg.tagStartPos);\n return getErrorObject('InvalidTag',\n \"Expected closing tag '\"+otg.tagName+\"' (opened in line \"+openPos.line+\", col \"+openPos.col+\") instead of closing tag '\"+tagName+\"'.\",\n getLineNumberForPosition(xmlData, tagStartPos));\n }\n\n //when there are no more tags, we reached the root level.\n if (tags.length == 0) {\n reachedRoot = true;\n }\n }\n } else {\n const isValid = validateAttributeString(attrStr, options);\n if (isValid !== true) {\n //the result from the nested function returns the position of the error within the attribute\n //in order to get the 'true' error line, we need to calculate the position where the attribute begins (i - attrStr.length) and then add the position within the attribute\n //this gives us the absolute index in the entire xml, which we can use to find the line at last\n return getErrorObject(isValid.err.code, isValid.err.msg, getLineNumberForPosition(xmlData, i - attrStr.length + isValid.err.line));\n }\n\n //if the root level has been reached before ...\n if (reachedRoot === true) {\n return getErrorObject('InvalidXml', 'Multiple possible root nodes found.', getLineNumberForPosition(xmlData, i));\n } else if(options.unpairedTags.indexOf(tagName) !== -1){\n //don't push into stack\n } else {\n tags.push({tagName, tagStartPos});\n }\n tagFound = true;\n }\n\n //skip tag text value\n //It may include comments and CDATA value\n for (i++; i < xmlData.length; i++) {\n if (xmlData[i] === '<') {\n if (xmlData[i + 1] === '!') {\n //comment or CADATA\n i++;\n i = readCommentAndCDATA(xmlData, i);\n continue;\n } else if (xmlData[i+1] === '?') {\n i = readPI(xmlData, ++i);\n if (i.err) return i;\n } else{\n break;\n }\n } else if (xmlData[i] === '&') {\n const afterAmp = validateAmpersand(xmlData, i);\n if (afterAmp == -1)\n return getErrorObject('InvalidChar', \"char '&' is not expected.\", getLineNumberForPosition(xmlData, i));\n i = afterAmp;\n }else{\n if (reachedRoot === true && !isWhiteSpace(xmlData[i])) {\n return getErrorObject('InvalidXml', \"Extra text at the end\", getLineNumberForPosition(xmlData, i));\n }\n }\n } //end of reading tag text value\n if (xmlData[i] === '<') {\n i--;\n }\n }\n } else {\n if ( isWhiteSpace(xmlData[i])) {\n continue;\n }\n return getErrorObject('InvalidChar', \"char '\"+xmlData[i]+\"' is not expected.\", getLineNumberForPosition(xmlData, i));\n }\n }\n\n if (!tagFound) {\n return getErrorObject('InvalidXml', 'Start tag expected.', 1);\n }else if (tags.length == 1) {\n return getErrorObject('InvalidTag', \"Unclosed tag '\"+tags[0].tagName+\"'.\", getLineNumberForPosition(xmlData, tags[0].tagStartPos));\n }else if (tags.length > 0) {\n return getErrorObject('InvalidXml', \"Invalid '\"+\n JSON.stringify(tags.map(t => t.tagName), null, 4).replace(/\\r?\\n/g, '')+\n \"' found.\", {line: 1, col: 1});\n }\n\n return true;\n};\n\nfunction isWhiteSpace(char){\n return char === ' ' || char === '\\t' || char === '\\n' || char === '\\r';\n}\n/**\n * Read Processing insstructions and skip\n * @param {*} xmlData\n * @param {*} i\n */\nfunction readPI(xmlData, i) {\n const start = i;\n for (; i < xmlData.length; i++) {\n if (xmlData[i] == '?' || xmlData[i] == ' ') {\n //tagname\n const tagname = xmlData.substr(start, i - start);\n if (i > 5 && tagname === 'xml') {\n return getErrorObject('InvalidXml', 'XML declaration allowed only at the start of the document.', getLineNumberForPosition(xmlData, i));\n } else if (xmlData[i] == '?' && xmlData[i + 1] == '>') {\n //check if valid attribut string\n i++;\n break;\n } else {\n continue;\n }\n }\n }\n return i;\n}\n\nfunction readCommentAndCDATA(xmlData, i) {\n if (xmlData.length > i + 5 && xmlData[i + 1] === '-' && xmlData[i + 2] === '-') {\n //comment\n for (i += 3; i < xmlData.length; i++) {\n if (xmlData[i] === '-' && xmlData[i + 1] === '-' && xmlData[i + 2] === '>') {\n i += 2;\n break;\n }\n }\n } else if (\n xmlData.length > i + 8 &&\n xmlData[i + 1] === 'D' &&\n xmlData[i + 2] === 'O' &&\n xmlData[i + 3] === 'C' &&\n xmlData[i + 4] === 'T' &&\n xmlData[i + 5] === 'Y' &&\n xmlData[i + 6] === 'P' &&\n xmlData[i + 7] === 'E'\n ) {\n let angleBracketsCount = 1;\n for (i += 8; i < xmlData.length; i++) {\n if (xmlData[i] === '<') {\n angleBracketsCount++;\n } else if (xmlData[i] === '>') {\n angleBracketsCount--;\n if (angleBracketsCount === 0) {\n break;\n }\n }\n }\n } else if (\n xmlData.length > i + 9 &&\n xmlData[i + 1] === '[' &&\n xmlData[i + 2] === 'C' &&\n xmlData[i + 3] === 'D' &&\n xmlData[i + 4] === 'A' &&\n xmlData[i + 5] === 'T' &&\n xmlData[i + 6] === 'A' &&\n xmlData[i + 7] === '['\n ) {\n for (i += 8; i < xmlData.length; i++) {\n if (xmlData[i] === ']' && xmlData[i + 1] === ']' && xmlData[i + 2] === '>') {\n i += 2;\n break;\n }\n }\n }\n\n return i;\n}\n\nconst doubleQuote = '\"';\nconst singleQuote = \"'\";\n\n/**\n * Keep reading xmlData until '<' is found outside the attribute value.\n * @param {string} xmlData\n * @param {number} i\n */\nfunction readAttributeStr(xmlData, i) {\n let attrStr = '';\n let startChar = '';\n let tagClosed = false;\n for (; i < xmlData.length; i++) {\n if (xmlData[i] === doubleQuote || xmlData[i] === singleQuote) {\n if (startChar === '') {\n startChar = xmlData[i];\n } else if (startChar !== xmlData[i]) {\n //if vaue is enclosed with double quote then single quotes are allowed inside the value and vice versa\n } else {\n startChar = '';\n }\n } else if (xmlData[i] === '>') {\n if (startChar === '') {\n tagClosed = true;\n break;\n }\n }\n attrStr += xmlData[i];\n }\n if (startChar !== '') {\n return false;\n }\n\n return {\n value: attrStr,\n index: i,\n tagClosed: tagClosed\n };\n}\n\n/**\n * Select all the attributes whether valid or invalid.\n */\nconst validAttrStrRegxp = new RegExp('(\\\\s*)([^\\\\s=]+)(\\\\s*=)?(\\\\s*([\\'\"])(([\\\\s\\\\S])*?)\\\\5)?', 'g');\n\n//attr, =\"sd\", a=\"amit's\", a=\"sd\"b=\"saf\", ab cd=\"\"\n\nfunction validateAttributeString(attrStr, options) {\n //console.log(\"start:\"+attrStr+\":end\");\n\n //if(attrStr.trim().length === 0) return true; //empty string\n\n const matches = util.getAllMatches(attrStr, validAttrStrRegxp);\n const attrNames = {};\n\n for (let i = 0; i < matches.length; i++) {\n if (matches[i][1].length === 0) {\n //nospace before attribute name: a=\"sd\"b=\"saf\"\n return getErrorObject('InvalidAttr', \"Attribute '\"+matches[i][2]+\"' has no space in starting.\", getPositionFromMatch(matches[i]))\n } else if (matches[i][3] !== undefined && matches[i][4] === undefined) {\n return getErrorObject('InvalidAttr', \"Attribute '\"+matches[i][2]+\"' is without value.\", getPositionFromMatch(matches[i]));\n } else if (matches[i][3] === undefined && !options.allowBooleanAttributes) {\n //independent attribute: ab\n return getErrorObject('InvalidAttr', \"boolean attribute '\"+matches[i][2]+\"' is not allowed.\", getPositionFromMatch(matches[i]));\n }\n /* else if(matches[i][6] === undefined){//attribute without value: ab=\n return { err: { code:\"InvalidAttr\",msg:\"attribute \" + matches[i][2] + \" has no value assigned.\"}};\n } */\n const attrName = matches[i][2];\n if (!validateAttrName(attrName)) {\n return getErrorObject('InvalidAttr', \"Attribute '\"+attrName+\"' is an invalid name.\", getPositionFromMatch(matches[i]));\n }\n if (!attrNames.hasOwnProperty(attrName)) {\n //check for duplicate attribute.\n attrNames[attrName] = 1;\n } else {\n return getErrorObject('InvalidAttr', \"Attribute '\"+attrName+\"' is repeated.\", getPositionFromMatch(matches[i]));\n }\n }\n\n return true;\n}\n\nfunction validateNumberAmpersand(xmlData, i) {\n let re = /\\d/;\n if (xmlData[i] === 'x') {\n i++;\n re = /[\\da-fA-F]/;\n }\n for (; i < xmlData.length; i++) {\n if (xmlData[i] === ';')\n return i;\n if (!xmlData[i].match(re))\n break;\n }\n return -1;\n}\n\nfunction validateAmpersand(xmlData, i) {\n // https://www.w3.org/TR/xml/#dt-charref\n i++;\n if (xmlData[i] === ';')\n return -1;\n if (xmlData[i] === '#') {\n i++;\n return validateNumberAmpersand(xmlData, i);\n }\n let count = 0;\n for (; i < xmlData.length; i++, count++) {\n if (xmlData[i].match(/\\w/) && count < 20)\n continue;\n if (xmlData[i] === ';')\n break;\n return -1;\n }\n return i;\n}\n\nfunction getErrorObject(code, message, lineNumber) {\n return {\n err: {\n code: code,\n msg: message,\n line: lineNumber.line || lineNumber,\n col: lineNumber.col,\n },\n };\n}\n\nfunction validateAttrName(attrName) {\n return util.isName(attrName);\n}\n\n// const startsWithXML = /^xml/i;\n\nfunction validateTagName(tagname) {\n return util.isName(tagname) /* && !tagname.match(startsWithXML) */;\n}\n\n//this function returns the line number for the character at the given index\nfunction getLineNumberForPosition(xmlData, index) {\n const lines = xmlData.substring(0, index).split(/\\r?\\n/);\n return {\n line: lines.length,\n\n // column number is last line's length + 1, because column numbering starts at 1:\n col: lines[lines.length - 1].length + 1\n };\n}\n\n//this function returns the position of the first character of match within attrStr\nfunction getPositionFromMatch(match) {\n return match.startIndex + match[1].length;\n}\n","'use strict';\n//parse Empty Node as self closing node\nconst buildFromOrderedJs = require('./orderedJs2Xml');\n\nconst defaultOptions = {\n attributeNamePrefix: '@_',\n attributesGroupName: false,\n textNodeName: '#text',\n ignoreAttributes: true,\n cdataPropName: false,\n format: false,\n indentBy: ' ',\n suppressEmptyNode: false,\n suppressUnpairedNode: true,\n suppressBooleanAttributes: true,\n tagValueProcessor: function(key, a) {\n return a;\n },\n attributeValueProcessor: function(attrName, a) {\n return a;\n },\n preserveOrder: false,\n commentPropName: false,\n unpairedTags: [],\n entities: [\n { regex: new RegExp(\"&\", \"g\"), val: \"&\" },//it must be on top\n { regex: new RegExp(\">\", \"g\"), val: \">\" },\n { regex: new RegExp(\"<\", \"g\"), val: \"<\" },\n { regex: new RegExp(\"\\'\", \"g\"), val: \"'\" },\n { regex: new RegExp(\"\\\"\", \"g\"), val: \""\" }\n ],\n processEntities: true,\n stopNodes: [],\n // transformTagName: false,\n // transformAttributeName: false,\n oneListGroup: false\n};\n\nfunction Builder(options) {\n this.options = Object.assign({}, defaultOptions, options);\n if (this.options.ignoreAttributes || this.options.attributesGroupName) {\n this.isAttribute = function(/*a*/) {\n return false;\n };\n } else {\n this.attrPrefixLen = this.options.attributeNamePrefix.length;\n this.isAttribute = isAttribute;\n }\n\n this.processTextOrObjNode = processTextOrObjNode\n\n if (this.options.format) {\n this.indentate = indentate;\n this.tagEndChar = '>\\n';\n this.newLine = '\\n';\n } else {\n this.indentate = function() {\n return '';\n };\n this.tagEndChar = '>';\n this.newLine = '';\n }\n}\n\nBuilder.prototype.build = function(jObj) {\n if(this.options.preserveOrder){\n return buildFromOrderedJs(jObj, this.options);\n }else {\n if(Array.isArray(jObj) && this.options.arrayNodeName && this.options.arrayNodeName.length > 1){\n jObj = {\n [this.options.arrayNodeName] : jObj\n }\n }\n return this.j2x(jObj, 0).val;\n }\n};\n\nBuilder.prototype.j2x = function(jObj, level) {\n let attrStr = '';\n let val = '';\n for (let key in jObj) {\n if (typeof jObj[key] === 'undefined') {\n // supress undefined node\n } else if (jObj[key] === null) {\n if(key[0] === \"?\") val += this.indentate(level) + '<' + key + '?' + this.tagEndChar;\n else val += this.indentate(level) + '<' + key + '/' + this.tagEndChar;\n // val += this.indentate(level) + '<' + key + '/' + this.tagEndChar;\n } else if (jObj[key] instanceof Date) {\n val += this.buildTextValNode(jObj[key], key, '', level);\n } else if (typeof jObj[key] !== 'object') {\n //premitive type\n const attr = this.isAttribute(key);\n if (attr) {\n attrStr += this.buildAttrPairStr(attr, '' + jObj[key]);\n }else {\n //tag value\n if (key === this.options.textNodeName) {\n let newval = this.options.tagValueProcessor(key, '' + jObj[key]);\n val += this.replaceEntitiesValue(newval);\n } else {\n val += this.buildTextValNode(jObj[key], key, '', level);\n }\n }\n } else if (Array.isArray(jObj[key])) {\n //repeated nodes\n const arrLen = jObj[key].length;\n let listTagVal = \"\";\n for (let j = 0; j < arrLen; j++) {\n const item = jObj[key][j];\n if (typeof item === 'undefined') {\n // supress undefined node\n } else if (item === null) {\n if(key[0] === \"?\") val += this.indentate(level) + '<' + key + '?' + this.tagEndChar;\n else val += this.indentate(level) + '<' + key + '/' + this.tagEndChar;\n // val += this.indentate(level) + '<' + key + '/' + this.tagEndChar;\n } else if (typeof item === 'object') {\n if(this.options.oneListGroup ){\n listTagVal += this.j2x(item, level + 1).val;\n }else{\n listTagVal += this.processTextOrObjNode(item, key, level)\n }\n } else {\n listTagVal += this.buildTextValNode(item, key, '', level);\n }\n }\n if(this.options.oneListGroup){\n listTagVal = this.buildObjectNode(listTagVal, key, '', level);\n }\n val += listTagVal;\n } else {\n //nested node\n if (this.options.attributesGroupName && key === this.options.attributesGroupName) {\n const Ks = Object.keys(jObj[key]);\n const L = Ks.length;\n for (let j = 0; j < L; j++) {\n attrStr += this.buildAttrPairStr(Ks[j], '' + jObj[key][Ks[j]]);\n }\n } else {\n val += this.processTextOrObjNode(jObj[key], key, level)\n }\n }\n }\n return {attrStr: attrStr, val: val};\n};\n\nBuilder.prototype.buildAttrPairStr = function(attrName, val){\n val = this.options.attributeValueProcessor(attrName, '' + val);\n val = this.replaceEntitiesValue(val);\n if (this.options.suppressBooleanAttributes && val === \"true\") {\n return ' ' + attrName;\n } else return ' ' + attrName + '=\"' + val + '\"';\n}\n\nfunction processTextOrObjNode (object, key, level) {\n const result = this.j2x(object, level + 1);\n if (object[this.options.textNodeName] !== undefined && Object.keys(object).length === 1) {\n return this.buildTextValNode(object[this.options.textNodeName], key, result.attrStr, level);\n } else {\n return this.buildObjectNode(result.val, key, result.attrStr, level);\n }\n}\n\nBuilder.prototype.buildObjectNode = function(val, key, attrStr, level) {\n if(val === \"\"){\n if(key[0] === \"?\") return this.indentate(level) + '<' + key + attrStr+ '?' + this.tagEndChar;\n else {\n return this.indentate(level) + '<' + key + attrStr + this.closeTag(key) + this.tagEndChar;\n }\n }else{\n\n let tagEndExp = '</' + key + this.tagEndChar;\n let piClosingChar = \"\";\n \n if(key[0] === \"?\") {\n piClosingChar = \"?\";\n tagEndExp = \"\";\n }\n \n if (attrStr && val.indexOf('<') === -1) {\n return ( this.indentate(level) + '<' + key + attrStr + piClosingChar + '>' + val + tagEndExp );\n } else if (this.options.commentPropName !== false && key === this.options.commentPropName && piClosingChar.length === 0) {\n return this.indentate(level) + `<!--${val}-->` + this.newLine;\n }else {\n return (\n this.indentate(level) + '<' + key + attrStr + piClosingChar + this.tagEndChar +\n val +\n this.indentate(level) + tagEndExp );\n }\n }\n}\n\nBuilder.prototype.closeTag = function(key){\n let closeTag = \"\";\n if(this.options.unpairedTags.indexOf(key) !== -1){ //unpaired\n if(!this.options.suppressUnpairedNode) closeTag = \"/\"\n }else if(this.options.suppressEmptyNode){ //empty\n closeTag = \"/\";\n }else{\n closeTag = `></${key}`\n }\n return closeTag;\n}\n\nfunction buildEmptyObjNode(val, key, attrStr, level) {\n if (val !== '') {\n return this.buildObjectNode(val, key, attrStr, level);\n } else {\n if(key[0] === \"?\") return this.indentate(level) + '<' + key + attrStr+ '?' + this.tagEndChar;\n else {\n return this.indentate(level) + '<' + key + attrStr + '/' + this.tagEndChar;\n // return this.buildTagStr(level,key, attrStr);\n }\n }\n}\n\nBuilder.prototype.buildTextValNode = function(val, key, attrStr, level) {\n if (this.options.cdataPropName !== false && key === this.options.cdataPropName) {\n return this.indentate(level) + `<![CDATA[${val}]]>` + this.newLine;\n }else if (this.options.commentPropName !== false && key === this.options.commentPropName) {\n return this.indentate(level) + `<!--${val}-->` + this.newLine;\n }else if(key[0] === \"?\") {//PI tag\n return this.indentate(level) + '<' + key + attrStr+ '?' + this.tagEndChar; \n }else{\n let textValue = this.options.tagValueProcessor(key, val);\n textValue = this.replaceEntitiesValue(textValue);\n \n if( textValue === ''){\n return this.indentate(level) + '<' + key + attrStr + this.closeTag(key) + this.tagEndChar;\n }else{\n return this.indentate(level) + '<' + key + attrStr + '>' +\n textValue +\n '</' + key + this.tagEndChar;\n }\n }\n}\n\nBuilder.prototype.replaceEntitiesValue = function(textValue){\n if(textValue && textValue.length > 0 && this.options.processEntities){\n for (let i=0; i<this.options.entities.length; i++) {\n const entity = this.options.entities[i];\n textValue = textValue.replace(entity.regex, entity.val);\n }\n }\n return textValue;\n}\n\nfunction indentate(level) {\n return this.options.indentBy.repeat(level);\n}\n\nfunction isAttribute(name /*, options*/) {\n if (name.startsWith(this.options.attributeNamePrefix)) {\n return name.substr(this.attrPrefixLen);\n } else {\n return false;\n }\n}\n\nmodule.exports = Builder;\n","const EOL = \"\\n\";\n\n/**\n * \n * @param {array} jArray \n * @param {any} options \n * @returns \n */\nfunction toXml(jArray, options) {\n let indentation = \"\";\n if (options.format && options.indentBy.length > 0) {\n indentation = EOL;\n }\n return arrToStr(jArray, options, \"\", indentation);\n}\n\nfunction arrToStr(arr, options, jPath, indentation) {\n let xmlStr = \"\";\n let isPreviousElementTag = false;\n\n for (let i = 0; i < arr.length; i++) {\n const tagObj = arr[i];\n const tagName = propName(tagObj);\n let newJPath = \"\";\n if (jPath.length === 0) newJPath = tagName\n else newJPath = `${jPath}.${tagName}`;\n\n if (tagName === options.textNodeName) {\n let tagText = tagObj[tagName];\n if (!isStopNode(newJPath, options)) {\n tagText = options.tagValueProcessor(tagName, tagText);\n tagText = replaceEntitiesValue(tagText, options);\n }\n if (isPreviousElementTag) {\n xmlStr += indentation;\n }\n xmlStr += tagText;\n isPreviousElementTag = false;\n continue;\n } else if (tagName === options.cdataPropName) {\n if (isPreviousElementTag) {\n xmlStr += indentation;\n }\n xmlStr += `<![CDATA[${tagObj[tagName][0][options.textNodeName]}]]>`;\n isPreviousElementTag = false;\n continue;\n } else if (tagName === options.commentPropName) {\n xmlStr += indentation + `<!--${tagObj[tagName][0][options.textNodeName]}-->`;\n isPreviousElementTag = true;\n continue;\n } else if (tagName[0] === \"?\") {\n const attStr = attr_to_str(tagObj[\":@\"], options);\n const tempInd = tagName === \"?xml\" ? \"\" : indentation;\n let piTextNodeName = tagObj[tagName][0][options.textNodeName];\n piTextNodeName = piTextNodeName.length !== 0 ? \" \" + piTextNodeName : \"\"; //remove extra spacing\n xmlStr += tempInd + `<${tagName}${piTextNodeName}${attStr}?>`;\n isPreviousElementTag = true;\n continue;\n }\n let newIdentation = indentation;\n if (newIdentation !== \"\") {\n newIdentation += options.indentBy;\n }\n const attStr = attr_to_str(tagObj[\":@\"], options);\n const tagStart = indentation + `<${tagName}${attStr}`;\n const tagValue = arrToStr(tagObj[tagName], options, newJPath, newIdentation);\n if (options.unpairedTags.indexOf(tagName) !== -1) {\n if (options.suppressUnpairedNode) xmlStr += tagStart + \">\";\n else xmlStr += tagStart + \"/>\";\n } else if ((!tagValue || tagValue.length === 0) && options.suppressEmptyNode) {\n xmlStr += tagStart + \"/>\";\n } else if (tagValue && tagValue.endsWith(\">\")) {\n xmlStr += tagStart + `>${tagValue}${indentation}</${tagName}>`;\n } else {\n xmlStr += tagStart + \">\";\n if (tagValue && indentation !== \"\" && (tagValue.includes(\"/>\") || tagValue.includes(\"</\"))) {\n xmlStr += indentation + options.indentBy + tagValue + indentation;\n } else {\n xmlStr += tagValue;\n }\n xmlStr += `</${tagName}>`;\n }\n isPreviousElementTag = true;\n }\n\n return xmlStr;\n}\n\nfunction propName(obj) {\n const keys = Object.keys(obj);\n for (let i = 0; i < keys.length; i++) {\n const key = keys[i];\n if (key !== \":@\") return key;\n }\n}\n\nfunction attr_to_str(attrMap, options) {\n let attrStr = \"\";\n if (attrMap && !options.ignoreAttributes) {\n for (let attr in attrMap) {\n let attrVal = options.attributeValueProcessor(attr, attrMap[attr]);\n attrVal = replaceEntitiesValue(attrVal, options);\n if (attrVal === true && options.suppressBooleanAttributes) {\n attrStr += ` ${attr.substr(options.attributeNamePrefix.length)}`;\n } else {\n attrStr += ` ${attr.substr(options.attributeNamePrefix.length)}=\"${attrVal}\"`;\n }\n }\n }\n return attrStr;\n}\n\nfunction isStopNode(jPath, options) {\n jPath = jPath.substr(0, jPath.length - options.textNodeName.length - 1);\n let tagName = jPath.substr(jPath.lastIndexOf(\".\") + 1);\n for (let index in options.stopNodes) {\n if (options.stopNodes[index] === jPath || options.stopNodes[index] === \"*.\" + tagName) return true;\n }\n return false;\n}\n\nfunction replaceEntitiesValue(textValue, options) {\n if (textValue && textValue.length > 0 && options.processEntities) {\n for (let i = 0; i < options.entities.length; i++) {\n const entity = options.entities[i];\n textValue = textValue.replace(entity.regex, entity.val);\n }\n }\n return textValue;\n}\nmodule.exports = toXml;\n","//TODO: handle comments\nfunction readDocType(xmlData, i){\n \n const entities = {};\n if( xmlData[i + 3] === 'O' &&\n xmlData[i + 4] === 'C' &&\n xmlData[i + 5] === 'T' &&\n xmlData[i + 6] === 'Y' &&\n xmlData[i + 7] === 'P' &&\n xmlData[i + 8] === 'E')\n { \n i = i+9;\n let angleBracketsCount = 1;\n let hasBody = false, comment = false;\n let exp = \"\";\n for(;i<xmlData.length;i++){\n if (xmlData[i] === '<' && !comment) { //Determine the tag type\n if( hasBody && isEntity(xmlData, i)){\n i += 7; \n [entityName, val,i] = readEntityExp(xmlData,i+1);\n if(val.indexOf(\"&\") === -1) //Parameter entities are not supported\n entities[ validateEntityName(entityName) ] = {\n regx : RegExp( `&${entityName};`,\"g\"),\n val: val\n };\n }\n else if( hasBody && isElement(xmlData, i)) i += 8;//Not supported\n else if( hasBody && isAttlist(xmlData, i)) i += 8;//Not supported\n else if( hasBody && isNotation(xmlData, i)) i += 9;//Not supported\n else if( isComment) comment = true;\n else throw new Error(\"Invalid DOCTYPE\");\n\n angleBracketsCount++;\n exp = \"\";\n } else if (xmlData[i] === '>') { //Read tag content\n if(comment){\n if( xmlData[i - 1] === \"-\" && xmlData[i - 2] === \"-\"){\n comment = false;\n angleBracketsCount--;\n }\n }else{\n angleBracketsCount--;\n }\n if (angleBracketsCount === 0) {\n break;\n }\n }else if( xmlData[i] === '['){\n hasBody = true;\n }else{\n exp += xmlData[i];\n }\n }\n if(angleBracketsCount !== 0){\n throw new Error(`Unclosed DOCTYPE`);\n }\n }else{\n throw new Error(`Invalid Tag instead of DOCTYPE`);\n }\n return {entities, i};\n}\n\nfunction readEntityExp(xmlData,i){\n //External entities are not supported\n // <!ENTITY ext SYSTEM \"http://normal-website.com\" >\n\n //Parameter entities are not supported\n // <!ENTITY entityname \"&anotherElement;\">\n\n //Internal entities are supported\n // <!ENTITY entityname \"replacement text\">\n \n //read EntityName\n let entityName = \"\";\n for (; i < xmlData.length && (xmlData[i] !== \"'\" && xmlData[i] !== '\"' ); i++) {\n // if(xmlData[i] === \" \") continue;\n // else \n entityName += xmlData[i];\n }\n entityName = entityName.trim();\n if(entityName.indexOf(\" \") !== -1) throw new Error(\"External entites are not supported\");\n\n //read Entity Value\n const startChar = xmlData[i++];\n let val = \"\"\n for (; i < xmlData.length && xmlData[i] !== startChar ; i++) {\n val += xmlData[i];\n }\n return [entityName, val, i];\n}\n\nfunction isComment(xmlData, i){\n if(xmlData[i+1] === '!' &&\n xmlData[i+2] === '-' &&\n xmlData[i+3] === '-') return true\n return false\n}\nfunction isEntity(xmlData, i){\n if(xmlData[i+1] === '!' &&\n xmlData[i+2] === 'E' &&\n xmlData[i+3] === 'N' &&\n xmlData[i+4] === 'T' &&\n xmlData[i+5] === 'I' &&\n xmlData[i+6] === 'T' &&\n xmlData[i+7] === 'Y') return true\n return false\n}\nfunction isElement(xmlData, i){\n if(xmlData[i+1] === '!' &&\n xmlData[i+2] === 'E' &&\n xmlData[i+3] === 'L' &&\n xmlData[i+4] === 'E' &&\n xmlData[i+5] === 'M' &&\n xmlData[i+6] === 'E' &&\n xmlData[i+7] === 'N' &&\n xmlData[i+8] === 'T') return true\n return false\n}\n\nfunction isAttlist(xmlData, i){\n if(xmlData[i+1] === '!' &&\n xmlData[i+2] === 'A' &&\n xmlData[i+3] === 'T' &&\n xmlData[i+4] === 'T' &&\n xmlData[i+5] === 'L' &&\n xmlData[i+6] === 'I' &&\n xmlData[i+7] === 'S' &&\n xmlData[i+8] === 'T') return true\n return false\n}\nfunction isNotation(xmlData, i){\n if(xmlData[i+1] === '!' &&\n xmlData[i+2] === 'N' &&\n xmlData[i+3] === 'O' &&\n xmlData[i+4] === 'T' &&\n xmlData[i+5] === 'A' &&\n xmlData[i+6] === 'T' &&\n xmlData[i+7] === 'I' &&\n xmlData[i+8] === 'O' &&\n xmlData[i+9] === 'N') return true\n return false\n}\n\n//an entity name should not contains special characters that may be used in regex\n//Eg !?\\\\\\/[]$%{}^&*()<>\nconst specialChar = \"!?\\\\\\/[]$%{}^&*()<>|+\";\n\nfunction validateEntityName(name){\n for (let i = 0; i < specialChar.length; i++) {\n const ch = specialChar[i];\n if(name.indexOf(ch) !== -1) throw new Error(`Invalid character ${ch} in entity name`);\n }\n return name;\n}\n\nmodule.exports = readDocType;","\nconst defaultOptions = {\n preserveOrder: false,\n attributeNamePrefix: '@_',\n attributesGroupName: false,\n textNodeName: '#text',\n ignoreAttributes: true,\n removeNSPrefix: false, // remove NS from tag name or attribute name if true\n allowBooleanAttributes: false, //a tag can have attributes without any value\n //ignoreRootElement : false,\n parseTagValue: true,\n parseAttributeValue: false,\n trimValues: true, //Trim string values of tag and attributes\n cdataPropName: false,\n numberParseOptions: {\n hex: true,\n leadingZeros: true,\n eNotation: true\n },\n tagValueProcessor: function(tagName, val) {\n return val;\n },\n attributeValueProcessor: function(attrName, val) {\n return val;\n },\n stopNodes: [], //nested tags will not be parsed even for errors\n alwaysCreateTextNode: false,\n isArray: () => false,\n commentPropName: false,\n unpairedTags: [],\n processEntities: true,\n htmlEntities: false,\n ignoreDeclaration: false,\n ignorePiTags: false,\n transformTagName: false,\n transformAttributeName: false,\n updateTag: function(tagName, jPath, attrs){\n return tagName\n },\n // skipEmptyListItem: false\n};\n \nconst buildOptions = function(options) {\n return Object.assign({}, defaultOptions, options);\n};\n\nexports.buildOptions = buildOptions;\nexports.defaultOptions = defaultOptions;","'use strict';\n///@ts-check\n\nconst util = require('../util');\nconst xmlNode = require('./xmlNode');\nconst readDocType = require(\"./DocTypeReader\");\nconst toNumber = require(\"strnum\");\n\nconst regx =\n '<((!\\\\[CDATA\\\\[([\\\\s\\\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\\\/)(NAME)\\\\s*>))([^<]*)'\n .replace(/NAME/g, util.nameRegexp);\n\n//const tagsRegx = new RegExp(\"<(\\\\/?[\\\\w:\\\\-\\._]+)([^>]*)>(\\\\s*\"+cdataRegx+\")*([^<]+)?\",\"g\");\n//const tagsRegx = new RegExp(\"<(\\\\/?)((\\\\w*:)?([\\\\w:\\\\-\\._]+))([^>]*)>([^<]*)(\"+cdataRegx+\"([^<]*))*([^<]+)?\",\"g\");\n\nclass OrderedObjParser{\n constructor(options){\n this.options = options;\n this.currentNode = null;\n this.tagsNodeStack = [];\n this.docTypeEntities = {};\n this.lastEntities = {\n \"apos\" : { regex: /&(apos|#39|#x27);/g, val : \"'\"},\n \"gt\" : { regex: /&(gt|#62|#x3E);/g, val : \">\"},\n \"lt\" : { regex: /&(lt|#60|#x3C);/g, val : \"<\"},\n \"quot\" : { regex: /&(quot|#34|#x22);/g, val : \"\\\"\"},\n };\n this.ampEntity = { regex: /&(amp|#38|#x26);/g, val : \"&\"};\n this.htmlEntities = {\n \"space\": { regex: /&(nbsp|#160);/g, val: \" \" },\n // \"lt\" : { regex: /&(lt|#60);/g, val: \"<\" },\n // \"gt\" : { regex: /&(gt|#62);/g, val: \">\" },\n // \"amp\" : { regex: /&(amp|#38);/g, val: \"&\" },\n // \"quot\" : { regex: /&(quot|#34);/g, val: \"\\\"\" },\n // \"apos\" : { regex: /&(apos|#39);/g, val: \"'\" },\n \"cent\" : { regex: /&(cent|#162);/g, val: \"¢\" },\n \"pound\" : { regex: /&(pound|#163);/g, val: \"£\" },\n \"yen\" : { regex: /&(yen|#165);/g, val: \"¥\" },\n \"euro\" : { regex: /&(euro|#8364);/g, val: \"€\" },\n \"copyright\" : { regex: /&(copy|#169);/g, val: \"©\" },\n \"reg\" : { regex: /&(reg|#174);/g, val: \"®\" },\n \"inr\" : { regex: /&(inr|#8377);/g, val: \"₹\" },\n };\n this.addExternalEntities = addExternalEntities;\n this.parseXml = parseXml;\n this.parseTextData = parseTextData;\n this.resolveNameSpace = resolveNameSpace;\n this.buildAttributesMap = buildAttributesMap;\n this.isItStopNode = isItStopNode;\n this.replaceEntitiesValue = replaceEntitiesValue;\n this.readStopNodeData = readStopNodeData;\n this.saveTextToParentTag = saveTextToParentTag;\n this.addChild = addChild;\n }\n\n}\n\nfunction addExternalEntities(externalEntities){\n const entKeys = Object.keys(externalEntities);\n for (let i = 0; i < entKeys.length; i++) {\n const ent = entKeys[i];\n this.lastEntities[ent] = {\n regex: new RegExp(\"&\"+ent+\";\",\"g\"),\n val : externalEntities[ent]\n }\n }\n}\n\n/**\n * @param {string} val\n * @param {string} tagName\n * @param {string} jPath\n * @param {boolean} dontTrim\n * @param {boolean} hasAttributes\n * @param {boolean} isLeafNode\n * @param {boolean} escapeEntities\n */\nfunction parseTextData(val, tagName, jPath, dontTrim, hasAttributes, isLeafNode, escapeEntities) {\n if (val !== undefined) {\n if (this.options.trimValues && !dontTrim) {\n val = val.trim();\n }\n if(val.length > 0){\n if(!escapeEntities) val = this.replaceEntitiesValue(val);\n \n const newval = this.options.tagValueProcessor(tagName, val, jPath, hasAttributes, isLeafNode);\n if(newval === null || newval === undefined){\n //don't parse\n return val;\n }else if(typeof newval !== typeof val || newval !== val){\n //overwrite\n return newval;\n }else if(this.options.trimValues){\n return parseValue(val, this.options.parseTagValue, this.options.numberParseOptions);\n }else{\n const trimmedVal = val.trim();\n if(trimmedVal === val){\n return parseValue(val, this.options.parseTagValue, this.options.numberParseOptions);\n }else{\n return val;\n }\n }\n }\n }\n}\n\nfunction resolveNameSpace(tagname) {\n if (this.options.removeNSPrefix) {\n const tags = tagname.split(':');\n const prefix = tagname.charAt(0) === '/' ? '/' : '';\n if (tags[0] === 'xmlns') {\n return '';\n }\n if (tags.length === 2) {\n tagname = prefix + tags[1];\n }\n }\n return tagname;\n}\n\n//TODO: change regex to capture NS\n//const attrsRegx = new RegExp(\"([\\\\w\\\\-\\\\.\\\\:]+)\\\\s*=\\\\s*(['\\\"])((.|\\n)*?)\\\\2\",\"gm\");\nconst attrsRegx = new RegExp('([^\\\\s=]+)\\\\s*(=\\\\s*([\\'\"])([\\\\s\\\\S]*?)\\\\3)?', 'gm');\n\nfunction buildAttributesMap(attrStr, jPath, tagName) {\n if (!this.options.ignoreAttributes && typeof attrStr === 'string') {\n // attrStr = attrStr.replace(/\\r?\\n/g, ' ');\n //attrStr = attrStr || attrStr.trim();\n\n const matches = util.getAllMatches(attrStr, attrsRegx);\n const len = matches.length; //don't make it inline\n const attrs = {};\n for (let i = 0; i < len; i++) {\n const attrName = this.resolveNameSpace(matches[i][1]);\n let oldVal = matches[i][4];\n let aName = this.options.attributeNamePrefix + attrName;\n if (attrName.length) {\n if (this.options.transformAttributeName) {\n aName = this.options.transformAttributeName(aName);\n }\n if(aName === \"__proto__\") aName = \"#__proto__\";\n if (oldVal !== undefined) {\n if (this.options.trimValues) {\n oldVal = oldVal.trim();\n }\n oldVal = this.replaceEntitiesValue(oldVal);\n const newVal = this.options.attributeValueProcessor(attrName, oldVal, jPath);\n if(newVal === null || newVal === undefined){\n //don't parse\n attrs[aName] = oldVal;\n }else if(typeof newVal !== typeof oldVal || newVal !== oldVal){\n //overwrite\n attrs[aName] = newVal;\n }else{\n //parse\n attrs[aName] = parseValue(\n oldVal,\n this.options.parseAttributeValue,\n this.options.numberParseOptions\n );\n }\n } else if (this.options.allowBooleanAttributes) {\n attrs[aName] = true;\n }\n }\n }\n if (!Object.keys(attrs).length) {\n return;\n }\n if (this.options.attributesGroupName) {\n const attrCollection = {};\n attrCollection[this.options.attributesGroupName] = attrs;\n return attrCollection;\n }\n return attrs\n }\n}\n\nconst parseXml = function(xmlData) {\n xmlData = xmlData.replace(/\\r\\n?/g, \"\\n\"); //TODO: remove this line\n const xmlObj = new xmlNode('!xml');\n let currentNode = xmlObj;\n let textData = \"\";\n let jPath = \"\";\n for(let i=0; i< xmlData.length; i++){//for each char in XML data\n const ch = xmlData[i];\n if(ch === '<'){\n // const nextIndex = i+1;\n // const _2ndChar = xmlData[nextIndex];\n if( xmlData[i+1] === '/') {//Closing Tag\n const closeIndex = findClosingIndex(xmlData, \">\", i, \"Closing Tag is not closed.\")\n let tagName = xmlData.substring(i+2,closeIndex).trim();\n\n if(this.options.removeNSPrefix){\n const colonIndex = tagName.indexOf(\":\");\n if(colonIndex !== -1){\n tagName = tagName.substr(colonIndex+1);\n }\n }\n\n if(this.options.transformTagName) {\n tagName = this.options.transformTagName(tagName);\n }\n\n if(currentNode){\n textData = this.saveTextToParentTag(textData, currentNode, jPath);\n }\n\n //check if last tag of nested tag was unpaired tag\n const lastTagName = jPath.substring(jPath.lastIndexOf(\".\")+1);\n if(tagName && this.options.unpairedTags.indexOf(tagName) !== -1 ){\n throw new Error(`Unpaired tag can not be used as closing tag: </${tagName}>`);\n }\n let propIndex = 0\n if(lastTagName && this.options.unpairedTags.indexOf(lastTagName) !== -1 ){\n propIndex = jPath.lastIndexOf('.', jPath.lastIndexOf('.')-1)\n this.tagsNodeStack.pop();\n }else{\n propIndex = jPath.lastIndexOf(\".\");\n }\n jPath = jPath.substring(0, propIndex);\n\n currentNode = this.tagsNodeStack.pop();//avoid recursion, set the parent tag scope\n textData = \"\";\n i = closeIndex;\n } else if( xmlData[i+1] === '?') {\n\n let tagData = readTagExp(xmlData,i, false, \"?>\");\n if(!tagData) throw new Error(\"Pi Tag is not closed.\");\n\n textData = this.saveTextToParentTag(textData, currentNode, jPath);\n if( (this.options.ignoreDeclaration && tagData.tagName === \"?xml\") || this.options.ignorePiTags){\n\n }else{\n \n const childNode = new xmlNode(tagData.tagName);\n childNode.add(this.options.textNodeName, \"\");\n \n if(tagData.tagName !== tagData.tagExp && tagData.attrExpPresent){\n childNode[\":@\"] = this.buildAttributesMap(tagData.tagExp, jPath, tagData.tagName);\n }\n this.addChild(currentNode, childNode, jPath)\n\n }\n\n\n i = tagData.closeIndex + 1;\n } else if(xmlData.substr(i + 1, 3) === '!--') {\n const endIndex = findClosingIndex(xmlData, \"-->\", i+4, \"Comment is not closed.\")\n if(this.options.commentPropName){\n const comment = xmlData.substring(i + 4, endIndex - 2);\n\n textData = this.saveTextToParentTag(textData, currentNode, jPath);\n\n currentNode.add(this.options.commentPropName, [ { [this.options.textNodeName] : comment } ]);\n }\n i = endIndex;\n } else if( xmlData.substr(i + 1, 2) === '!D') {\n const result = readDocType(xmlData, i);\n this.docTypeEntities = result.entities;\n i = result.i;\n }else if(xmlData.substr(i + 1, 2) === '![') {\n const closeIndex = findClosingIndex(xmlData, \"]]>\", i, \"CDATA is not closed.\") - 2;\n const tagExp = xmlData.substring(i + 9,closeIndex);\n\n textData = this.saveTextToParentTag(textData, currentNode, jPath);\n\n //cdata should be set even if it is 0 length string\n if(this.options.cdataPropName){\n // let val = this.parseTextData(tagExp, this.options.cdataPropName, jPath + \".\" + this.options.cdataPropName, true, false, true);\n // if(!val) val = \"\";\n currentNode.add(this.options.cdataPropName, [ { [this.options.textNodeName] : tagExp } ]);\n }else{\n let val = this.parseTextData(tagExp, currentNode.tagname, jPath, true, false, true);\n if(val == undefined) val = \"\";\n currentNode.add(this.options.textNodeName, val);\n }\n \n i = closeIndex + 2;\n }else {//Opening tag\n let result = readTagExp(xmlData,i, this.options.removeNSPrefix);\n let tagName= result.tagName;\n let tagExp = result.tagExp;\n let attrExpPresent = result.attrExpPresent;\n let closeIndex = result.closeIndex;\n\n if (this.options.transformTagName) {\n tagName = this.options.transformTagName(tagName);\n }\n \n //save text as child node\n if (currentNode && textData) {\n if(currentNode.tagname !== '!xml'){\n //when nested tag is found\n textData = this.saveTextToParentTag(textData, currentNode, jPath, false);\n }\n }\n\n //check if last tag was unpaired tag\n const lastTag = currentNode;\n if(lastTag && this.options.unpairedTags.indexOf(lastTag.tagname) !== -1 ){\n currentNode = this.tagsNodeStack.pop();\n jPath = jPath.substring(0, jPath.lastIndexOf(\".\"));\n }\n if(tagName !== xmlObj.tagname){\n jPath += jPath ? \".\" + tagName : tagName;\n }\n if (this.isItStopNode(this.options.stopNodes, jPath, tagName)) { //TODO: namespace\n let tagContent = \"\";\n //self-closing tag\n if(tagExp.length > 0 && tagExp.lastIndexOf(\"/\") === tagExp.length - 1){\n i = result.closeIndex;\n }\n //unpaired tag\n else if(this.options.unpairedTags.indexOf(tagName) !== -1){\n i = result.closeIndex;\n }\n //normal tag\n else{\n //read until closing tag is found\n const result = this.readStopNodeData(xmlData, tagName, closeIndex + 1);\n if(!result) throw new Error(`Unexpected end of ${tagName}`);\n i = result.i;\n tagContent = result.tagContent;\n }\n\n const childNode = new xmlNode(tagName);\n if(tagName !== tagExp && attrExpPresent){\n childNode[\":@\"] = this.buildAttributesMap(tagExp, jPath, tagName);\n }\n if(tagContent) {\n tagContent = this.parseTextData(tagContent, tagName, jPath, true, attrExpPresent, true, true);\n }\n \n jPath = jPath.substr(0, jPath.lastIndexOf(\".\"));\n childNode.add(this.options.textNodeName, tagContent);\n \n this.addChild(currentNode, childNode, jPath)\n }else{\n //selfClosing tag\n if(tagExp.length > 0 && tagExp.lastIndexOf(\"/\") === tagExp.length - 1){\n if(tagName[tagName.length - 1] === \"/\"){ //remove trailing '/'\n tagName = tagName.substr(0, tagName.length - 1);\n tagExp = tagName;\n }else{\n tagExp = tagExp.substr(0, tagExp.length - 1);\n }\n \n if(this.options.transformTagName) {\n tagName = this.options.transformTagName(tagName);\n }\n\n const childNode = new xmlNode(tagName);\n if(tagName !== tagExp && attrExpPresent){\n childNode[\":@\"] = this.buildAttributesMap(tagExp, jPath, tagName);\n }\n this.addChild(currentNode, childNode, jPath)\n jPath = jPath.substr(0, jPath.lastIndexOf(\".\"));\n }\n //opening tag\n else{\n const childNode = new xmlNode( tagName);\n this.tagsNodeStack.push(currentNode);\n \n if(tagName !== tagExp && attrExpPresent){\n childNode[\":@\"] = this.buildAttributesMap(tagExp, jPath, tagName);\n }\n this.addChild(currentNode, childNode, jPath)\n currentNode = childNode;\n }\n textData = \"\";\n i = closeIndex;\n }\n }\n }else{\n textData += xmlData[i];\n }\n }\n return xmlObj.child;\n}\n\nfunction addChild(currentNode, childNode, jPath){\n const result = this.options.updateTag(childNode.tagname, jPath, childNode[\":@\"])\n if(result === false){\n }else if(typeof result === \"string\"){\n childNode.tagname = result\n currentNode.addChild(childNode);\n }else{\n currentNode.addChild(childNode);\n }\n}\n\nconst replaceEntitiesValue = function(val){\n\n if(this.options.processEntities){\n for(let entityName in this.docTypeEntities){\n const entity = this.docTypeEntities[entityName];\n val = val.replace( entity.regx, entity.val);\n }\n for(let entityName in this.lastEntities){\n const entity = this.lastEntities[entityName];\n val = val.replace( entity.regex, entity.val);\n }\n if(this.options.htmlEntities){\n for(let entityName in this.htmlEntities){\n const entity = this.htmlEntities[entityName];\n val = val.replace( entity.regex, entity.val);\n }\n }\n val = val.replace( this.ampEntity.regex, this.ampEntity.val);\n }\n return val;\n}\nfunction saveTextToParentTag(textData, currentNode, jPath, isLeafNode) {\n if (textData) { //store previously collected data as textNode\n if(isLeafNode === undefined) isLeafNode = Object.keys(currentNode.child).length === 0\n \n textData = this.parseTextData(textData,\n currentNode.tagname,\n jPath,\n false,\n currentNode[\":@\"] ? Object.keys(currentNode[\":@\"]).length !== 0 : false,\n isLeafNode);\n\n if (textData !== undefined && textData !== \"\")\n currentNode.add(this.options.textNodeName, textData);\n textData = \"\";\n }\n return textData;\n}\n\n//TODO: use jPath to simplify the logic\n/**\n * \n * @param {string[]} stopNodes \n * @param {string} jPath\n * @param {string} currentTagName \n */\nfunction isItStopNode(stopNodes, jPath, currentTagName){\n const allNodesExp = \"*.\" + currentTagName;\n for (const stopNodePath in stopNodes) {\n const stopNodeExp = stopNodes[stopNodePath];\n if( allNodesExp === stopNodeExp || jPath === stopNodeExp ) return true;\n }\n return false;\n}\n\n/**\n * Returns the tag Expression and where it is ending handling single-double quotes situation\n * @param {string} xmlData \n * @param {number} i starting index\n * @returns \n */\nfunction tagExpWithClosingIndex(xmlData, i, closingChar = \">\"){\n let attrBoundary;\n let tagExp = \"\";\n for (let index = i; index < xmlData.length; index++) {\n let ch = xmlData[index];\n if (attrBoundary) {\n if (ch === attrBoundary) attrBoundary = \"\";//reset\n } else if (ch === '\"' || ch === \"'\") {\n attrBoundary = ch;\n } else if (ch === closingChar[0]) {\n if(closingChar[1]){\n if(xmlData[index + 1] === closingChar[1]){\n return {\n data: tagExp,\n index: index\n }\n }\n }else{\n return {\n data: tagExp,\n index: index\n }\n }\n } else if (ch === '\\t') {\n ch = \" \"\n }\n tagExp += ch;\n }\n}\n\nfunction findClosingIndex(xmlData, str, i, errMsg){\n const closingIndex = xmlData.indexOf(str, i);\n if(closingIndex === -1){\n throw new Error(errMsg)\n }else{\n return closingIndex + str.length - 1;\n }\n}\n\nfunction readTagExp(xmlData,i, removeNSPrefix, closingChar = \">\"){\n const result = tagExpWithClosingIndex(xmlData, i+1, closingChar);\n if(!result) return;\n let tagExp = result.data;\n const closeIndex = result.index;\n const separatorIndex = tagExp.search(/\\s/);\n let tagName = tagExp;\n let attrExpPresent = true;\n if(separatorIndex !== -1){//separate tag name and attributes expression\n tagName = tagExp.substr(0, separatorIndex).replace(/\\s\\s*$/, '');\n tagExp = tagExp.substr(separatorIndex + 1);\n }\n\n if(removeNSPrefix){\n const colonIndex = tagName.indexOf(\":\");\n if(colonIndex !== -1){\n tagName = tagName.substr(colonIndex+1);\n attrExpPresent = tagName !== result.data.substr(colonIndex + 1);\n }\n }\n\n return {\n tagName: tagName,\n tagExp: tagExp,\n closeIndex: closeIndex,\n attrExpPresent: attrExpPresent,\n }\n}\n/**\n * find paired tag for a stop node\n * @param {string} xmlData \n * @param {string} tagName \n * @param {number} i \n */\nfunction readStopNodeData(xmlData, tagName, i){\n const startIndex = i;\n // Starting at 1 since we already have an open tag\n let openTagCount = 1;\n\n for (; i < xmlData.length; i++) {\n if( xmlData[i] === \"<\"){ \n if (xmlData[i+1] === \"/\") {//close tag\n const closeIndex = findClosingIndex(xmlData, \">\", i, `${tagName} is not closed`);\n let closeTagName = xmlData.substring(i+2,closeIndex).trim();\n if(closeTagName === tagName){\n openTagCount--;\n if (openTagCount === 0) {\n return {\n tagContent: xmlData.substring(startIndex, i),\n i : closeIndex\n }\n }\n }\n i=closeIndex;\n } else if(xmlData[i+1] === '?') { \n const closeIndex = findClosingIndex(xmlData, \"?>\", i+1, \"StopNode is not closed.\")\n i=closeIndex;\n } else if(xmlData.substr(i + 1, 3) === '!--') { \n const closeIndex = findClosingIndex(xmlData, \"-->\", i+3, \"StopNode is not closed.\")\n i=closeIndex;\n } else if(xmlData.substr(i + 1, 2) === '![') { \n const closeIndex = findClosingIndex(xmlData, \"]]>\", i, \"StopNode is not closed.\") - 2;\n i=closeIndex;\n } else {\n const tagData = readTagExp(xmlData, i, '>')\n\n if (tagData) {\n const openTagName = tagData && tagData.tagName;\n if (openTagName === tagName && tagData.tagExp[tagData.tagExp.length-1] !== \"/\") {\n openTagCount++;\n }\n i=tagData.closeIndex;\n }\n }\n }\n }//end for loop\n}\n\nfunction parseValue(val, shouldParse, options) {\n if (shouldParse && typeof val === 'string') {\n //console.log(options)\n const newval = val.trim();\n if(newval === 'true' ) return true;\n else if(newval === 'false' ) return false;\n else return toNumber(val, options);\n } else {\n if (util.isExist(val)) {\n return val;\n } else {\n return '';\n }\n }\n}\n\n\nmodule.exports = OrderedObjParser;\n","const { buildOptions} = require(\"./OptionsBuilder\");\nconst OrderedObjParser = require(\"./OrderedObjParser\");\nconst { prettify} = require(\"./node2json\");\nconst validator = require('../validator');\n\nclass XMLParser{\n \n constructor(options){\n this.externalEntities = {};\n this.options = buildOptions(options);\n \n }\n /**\n * Parse XML dats to JS object \n * @param {string|Buffer} xmlData \n * @param {boolean|Object} validationOption \n */\n parse(xmlData,validationOption){\n if(typeof xmlData === \"string\"){\n }else if( xmlData.toString){\n xmlData = xmlData.toString();\n }else{\n throw new Error(\"XML data is accepted in String or Bytes[] form.\")\n }\n if( validationOption){\n if(validationOption === true) validationOption = {}; //validate with default options\n \n const result = validator.validate(xmlData, validationOption);\n if (result !== true) {\n throw Error( `${result.err.msg}:${result.err.line}:${result.err.col}` )\n }\n }\n const orderedObjParser = new OrderedObjParser(this.options);\n orderedObjParser.addExternalEntities(this.externalEntities);\n const orderedResult = orderedObjParser.parseXml(xmlData);\n if(this.options.preserveOrder || orderedResult === undefined) return orderedResult;\n else return prettify(orderedResult, this.options);\n }\n\n /**\n * Add Entity which is not by default supported by this library\n * @param {string} key \n * @param {string} value \n */\n addEntity(key, value){\n if(value.indexOf(\"&\") !== -1){\n throw new Error(\"Entity value can't have '&'\")\n }else if(key.indexOf(\"&\") !== -1 || key.indexOf(\";\") !== -1){\n throw new Error(\"An entity must be set without '&' and ';'. Eg. use '#xD' for ' '\")\n }else if(value === \"&\"){\n throw new Error(\"An entity with value '&' is not permitted\");\n }else{\n this.externalEntities[key] = value;\n }\n }\n}\n\nmodule.exports = XMLParser;","'use strict';\n\n/**\n * \n * @param {array} node \n * @param {any} options \n * @returns \n */\nfunction prettify(node, options){\n return compress( node, options);\n}\n\n/**\n * \n * @param {array} arr \n * @param {object} options \n * @param {string} jPath \n * @returns object\n */\nfunction compress(arr, options, jPath){\n let text;\n const compressedObj = {};\n for (let i = 0; i < arr.length; i++) {\n const tagObj = arr[i];\n const property = propName(tagObj);\n let newJpath = \"\";\n if(jPath === undefined) newJpath = property;\n else newJpath = jPath + \".\" + property;\n\n if(property === options.textNodeName){\n if(text === undefined) text = tagObj[property];\n else text += \"\" + tagObj[property];\n }else if(property === undefined){\n continue;\n }else if(tagObj[property]){\n \n let val = compress(tagObj[property], options, newJpath);\n const isLeaf = isLeafTag(val, options);\n\n if(tagObj[\":@\"]){\n assignAttributes( val, tagObj[\":@\"], newJpath, options);\n }else if(Object.keys(val).length === 1 && val[options.textNodeName] !== undefined && !options.alwaysCreateTextNode){\n val = val[options.textNodeName];\n }else if(Object.keys(val).length === 0){\n if(options.alwaysCreateTextNode) val[options.textNodeName] = \"\";\n else val = \"\";\n }\n\n if(compressedObj[property] !== undefined && compressedObj.hasOwnProperty(property)) {\n if(!Array.isArray(compressedObj[property])) {\n compressedObj[property] = [ compressedObj[property] ];\n }\n compressedObj[property].push(val);\n }else{\n //TODO: if a node is not an array, then check if it should be an array\n //also determine if it is a leaf node\n if (options.isArray(property, newJpath, isLeaf )) {\n compressedObj[property] = [val];\n }else{\n compressedObj[property] = val;\n }\n }\n }\n \n }\n // if(text && text.length > 0) compressedObj[options.textNodeName] = text;\n if(typeof text === \"string\"){\n if(text.length > 0) compressedObj[options.textNodeName] = text;\n }else if(text !== undefined) compressedObj[options.textNodeName] = text;\n return compressedObj;\n}\n\nfunction propName(obj){\n const keys = Object.keys(obj);\n for (let i = 0; i < keys.length; i++) {\n const key = keys[i];\n if(key !== \":@\") return key;\n }\n}\n\nfunction assignAttributes(obj, attrMap, jpath, options){\n if (attrMap) {\n const keys = Object.keys(attrMap);\n const len = keys.length; //don't make it inline\n for (let i = 0; i < len; i++) {\n const atrrName = keys[i];\n if (options.isArray(atrrName, jpath + \".\" + atrrName, true, true)) {\n obj[atrrName] = [ attrMap[atrrName] ];\n } else {\n obj[atrrName] = attrMap[atrrName];\n }\n }\n }\n}\n\nfunction isLeafTag(obj, options){\n const { textNodeName } = options;\n const propCount = Object.keys(obj).length;\n \n if (propCount === 0) {\n return true;\n }\n\n if (\n propCount === 1 &&\n (obj[textNodeName] || typeof obj[textNodeName] === \"boolean\" || obj[textNodeName] === 0)\n ) {\n return true;\n }\n\n return false;\n}\nexports.prettify = prettify;\n","'use strict';\n\nclass XmlNode{\n constructor(tagname) {\n this.tagname = tagname;\n this.child = []; //nested tags, text, cdata, comments in order\n this[\":@\"] = {}; //attributes map\n }\n add(key,val){\n // this.child.push( {name : key, val: val, isCdata: isCdata });\n if(key === \"__proto__\") key = \"#__proto__\";\n this.child.push( {[key]: val });\n }\n addChild(node) {\n if(node.tagname === \"__proto__\") node.tagname = \"#__proto__\";\n if(node[\":@\"] && Object.keys(node[\":@\"]).length > 0){\n this.child.push( { [node.tagname]: node.child, [\":@\"]: node[\":@\"] });\n }else{\n this.child.push( { [node.tagname]: node.child });\n }\n };\n};\n\n\nmodule.exports = XmlNode;","\"use strict\";\n// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AwsCrc32 = void 0;\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@aws-crypto/util\");\nvar index_1 = require(\"./index\");\nvar AwsCrc32 = /** @class */ (function () {\n function AwsCrc32() {\n this.crc32 = new index_1.Crc32();\n }\n AwsCrc32.prototype.update = function (toHash) {\n if ((0, util_1.isEmptyData)(toHash))\n return;\n this.crc32.update((0, util_1.convertToBuffer)(toHash));\n };\n AwsCrc32.prototype.digest = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n return tslib_1.__generator(this, function (_a) {\n return [2 /*return*/, (0, util_1.numToUint8)(this.crc32.digest())];\n });\n });\n };\n AwsCrc32.prototype.reset = function () {\n this.crc32 = new index_1.Crc32();\n };\n return AwsCrc32;\n}());\nexports.AwsCrc32 = AwsCrc32;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AwsCrc32 = exports.Crc32 = exports.crc32 = void 0;\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@aws-crypto/util\");\nfunction crc32(data) {\n return new Crc32().update(data).digest();\n}\nexports.crc32 = crc32;\nvar Crc32 = /** @class */ (function () {\n function Crc32() {\n this.checksum = 0xffffffff;\n }\n Crc32.prototype.update = function (data) {\n var e_1, _a;\n try {\n for (var data_1 = tslib_1.__values(data), data_1_1 = data_1.next(); !data_1_1.done; data_1_1 = data_1.next()) {\n var byte = data_1_1.value;\n this.checksum =\n (this.checksum >>> 8) ^ lookupTable[(this.checksum ^ byte) & 0xff];\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (data_1_1 && !data_1_1.done && (_a = data_1.return)) _a.call(data_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n return this;\n };\n Crc32.prototype.digest = function () {\n return (this.checksum ^ 0xffffffff) >>> 0;\n };\n return Crc32;\n}());\nexports.Crc32 = Crc32;\n// prettier-ignore\nvar a_lookUpTable = [\n 0x00000000, 0x77073096, 0xEE0E612C, 0x990951BA,\n 0x076DC419, 0x706AF48F, 0xE963A535, 0x9E6495A3,\n 0x0EDB8832, 0x79DCB8A4, 0xE0D5E91E, 0x97D2D988,\n 0x09B64C2B, 0x7EB17CBD, 0xE7B82D07, 0x90BF1D91,\n 0x1DB71064, 0x6AB020F2, 0xF3B97148, 0x84BE41DE,\n 0x1ADAD47D, 0x6DDDE4EB, 0xF4D4B551, 0x83D385C7,\n 0x136C9856, 0x646BA8C0, 0xFD62F97A, 0x8A65C9EC,\n 0x14015C4F, 0x63066CD9, 0xFA0F3D63, 0x8D080DF5,\n 0x3B6E20C8, 0x4C69105E, 0xD56041E4, 0xA2677172,\n 0x3C03E4D1, 0x4B04D447, 0xD20D85FD, 0xA50AB56B,\n 0x35B5A8FA, 0x42B2986C, 0xDBBBC9D6, 0xACBCF940,\n 0x32D86CE3, 0x45DF5C75, 0xDCD60DCF, 0xABD13D59,\n 0x26D930AC, 0x51DE003A, 0xC8D75180, 0xBFD06116,\n 0x21B4F4B5, 0x56B3C423, 0xCFBA9599, 0xB8BDA50F,\n 0x2802B89E, 0x5F058808, 0xC60CD9B2, 0xB10BE924,\n 0x2F6F7C87, 0x58684C11, 0xC1611DAB, 0xB6662D3D,\n 0x76DC4190, 0x01DB7106, 0x98D220BC, 0xEFD5102A,\n 0x71B18589, 0x06B6B51F, 0x9FBFE4A5, 0xE8B8D433,\n 0x7807C9A2, 0x0F00F934, 0x9609A88E, 0xE10E9818,\n 0x7F6A0DBB, 0x086D3D2D, 0x91646C97, 0xE6635C01,\n 0x6B6B51F4, 0x1C6C6162, 0x856530D8, 0xF262004E,\n 0x6C0695ED, 0x1B01A57B, 0x8208F4C1, 0xF50FC457,\n 0x65B0D9C6, 0x12B7E950, 0x8BBEB8EA, 0xFCB9887C,\n 0x62DD1DDF, 0x15DA2D49, 0x8CD37CF3, 0xFBD44C65,\n 0x4DB26158, 0x3AB551CE, 0xA3BC0074, 0xD4BB30E2,\n 0x4ADFA541, 0x3DD895D7, 0xA4D1C46D, 0xD3D6F4FB,\n 0x4369E96A, 0x346ED9FC, 0xAD678846, 0xDA60B8D0,\n 0x44042D73, 0x33031DE5, 0xAA0A4C5F, 0xDD0D7CC9,\n 0x5005713C, 0x270241AA, 0xBE0B1010, 0xC90C2086,\n 0x5768B525, 0x206F85B3, 0xB966D409, 0xCE61E49F,\n 0x5EDEF90E, 0x29D9C998, 0xB0D09822, 0xC7D7A8B4,\n 0x59B33D17, 0x2EB40D81, 0xB7BD5C3B, 0xC0BA6CAD,\n 0xEDB88320, 0x9ABFB3B6, 0x03B6E20C, 0x74B1D29A,\n 0xEAD54739, 0x9DD277AF, 0x04DB2615, 0x73DC1683,\n 0xE3630B12, 0x94643B84, 0x0D6D6A3E, 0x7A6A5AA8,\n 0xE40ECF0B, 0x9309FF9D, 0x0A00AE27, 0x7D079EB1,\n 0xF00F9344, 0x8708A3D2, 0x1E01F268, 0x6906C2FE,\n 0xF762575D, 0x806567CB, 0x196C3671, 0x6E6B06E7,\n 0xFED41B76, 0x89D32BE0, 0x10DA7A5A, 0x67DD4ACC,\n 0xF9B9DF6F, 0x8EBEEFF9, 0x17B7BE43, 0x60B08ED5,\n 0xD6D6A3E8, 0xA1D1937E, 0x38D8C2C4, 0x4FDFF252,\n 0xD1BB67F1, 0xA6BC5767, 0x3FB506DD, 0x48B2364B,\n 0xD80D2BDA, 0xAF0A1B4C, 0x36034AF6, 0x41047A60,\n 0xDF60EFC3, 0xA867DF55, 0x316E8EEF, 0x4669BE79,\n 0xCB61B38C, 0xBC66831A, 0x256FD2A0, 0x5268E236,\n 0xCC0C7795, 0xBB0B4703, 0x220216B9, 0x5505262F,\n 0xC5BA3BBE, 0xB2BD0B28, 0x2BB45A92, 0x5CB36A04,\n 0xC2D7FFA7, 0xB5D0CF31, 0x2CD99E8B, 0x5BDEAE1D,\n 0x9B64C2B0, 0xEC63F226, 0x756AA39C, 0x026D930A,\n 0x9C0906A9, 0xEB0E363F, 0x72076785, 0x05005713,\n 0x95BF4A82, 0xE2B87A14, 0x7BB12BAE, 0x0CB61B38,\n 0x92D28E9B, 0xE5D5BE0D, 0x7CDCEFB7, 0x0BDBDF21,\n 0x86D3D2D4, 0xF1D4E242, 0x68DDB3F8, 0x1FDA836E,\n 0x81BE16CD, 0xF6B9265B, 0x6FB077E1, 0x18B74777,\n 0x88085AE6, 0xFF0F6A70, 0x66063BCA, 0x11010B5C,\n 0x8F659EFF, 0xF862AE69, 0x616BFFD3, 0x166CCF45,\n 0xA00AE278, 0xD70DD2EE, 0x4E048354, 0x3903B3C2,\n 0xA7672661, 0xD06016F7, 0x4969474D, 0x3E6E77DB,\n 0xAED16A4A, 0xD9D65ADC, 0x40DF0B66, 0x37D83BF0,\n 0xA9BCAE53, 0xDEBB9EC5, 0x47B2CF7F, 0x30B5FFE9,\n 0xBDBDF21C, 0xCABAC28A, 0x53B39330, 0x24B4A3A6,\n 0xBAD03605, 0xCDD70693, 0x54DE5729, 0x23D967BF,\n 0xB3667A2E, 0xC4614AB8, 0x5D681B02, 0x2A6F2B94,\n 0xB40BBE37, 0xC30C8EA1, 0x5A05DF1B, 0x2D02EF8D,\n];\nvar lookupTable = (0, util_1.uint32ArrayFrom)(a_lookUpTable);\nvar aws_crc32_1 = require(\"./aws_crc32\");\nObject.defineProperty(exports, \"AwsCrc32\", { enumerable: true, get: function () { return aws_crc32_1.AwsCrc32; } });\n","const fallbackWindow = {};\nexport function locateWindow() {\n if (typeof window !== \"undefined\") {\n return window;\n }\n else if (typeof self !== \"undefined\") {\n return self;\n }\n return fallbackWindow;\n}\n","import { fromUtf8 as jsFromUtf8, toUtf8 as jsToUtf8 } from \"./pureJs\";\nimport { fromUtf8 as textEncoderFromUtf8, toUtf8 as textEncoderToUtf8 } from \"./whatwgEncodingApi\";\nexport const fromUtf8 = (input) => typeof TextEncoder === \"function\" ? textEncoderFromUtf8(input) : jsFromUtf8(input);\nexport const toUtf8 = (input) => typeof TextDecoder === \"function\" ? textEncoderToUtf8(input) : jsToUtf8(input);\n","export function fromUtf8(input) {\n return new TextEncoder().encode(input);\n}\nexport function toUtf8(input) {\n return new TextDecoder(\"utf-8\").decode(input);\n}\n","export const fromUtf8 = (input) => {\n const bytes = [];\n for (let i = 0, len = input.length; i < len; i++) {\n const value = input.charCodeAt(i);\n if (value < 0x80) {\n bytes.push(value);\n }\n else if (value < 0x800) {\n bytes.push((value >> 6) | 0b11000000, (value & 0b111111) | 0b10000000);\n }\n else if (i + 1 < input.length && (value & 0xfc00) === 0xd800 && (input.charCodeAt(i + 1) & 0xfc00) === 0xdc00) {\n const surrogatePair = 0x10000 + ((value & 0b1111111111) << 10) + (input.charCodeAt(++i) & 0b1111111111);\n bytes.push((surrogatePair >> 18) | 0b11110000, ((surrogatePair >> 12) & 0b111111) | 0b10000000, ((surrogatePair >> 6) & 0b111111) | 0b10000000, (surrogatePair & 0b111111) | 0b10000000);\n }\n else {\n bytes.push((value >> 12) | 0b11100000, ((value >> 6) & 0b111111) | 0b10000000, (value & 0b111111) | 0b10000000);\n }\n }\n return Uint8Array.from(bytes);\n};\nexport const toUtf8 = (input) => {\n let decoded = \"\";\n for (let i = 0, len = input.length; i < len; i++) {\n const byte = input[i];\n if (byte < 0x80) {\n decoded += String.fromCharCode(byte);\n }\n else if (0b11000000 <= byte && byte < 0b11100000) {\n const nextByte = input[++i];\n decoded += String.fromCharCode(((byte & 0b11111) << 6) | (nextByte & 0b111111));\n }\n else if (0b11110000 <= byte && byte < 0b101101101) {\n const surrogatePair = [byte, input[++i], input[++i], input[++i]];\n const encoded = \"%\" + surrogatePair.map((byteValue) => byteValue.toString(16)).join(\"%\");\n decoded += decodeURIComponent(encoded);\n }\n else {\n decoded += String.fromCharCode(((byte & 0b1111) << 12) | ((input[++i] & 0b111111) << 6) | (input[++i] & 0b111111));\n }\n }\n return decoded;\n};\n","'use strict'\n\nexports.byteLength = byteLength\nexports.toByteArray = toByteArray\nexports.fromByteArray = fromByteArray\n\nvar lookup = []\nvar revLookup = []\nvar Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array\n\nvar code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'\nfor (var i = 0, len = code.length; i < len; ++i) {\n lookup[i] = code[i]\n revLookup[code.charCodeAt(i)] = i\n}\n\n// Support decoding URL-safe base64 strings, as Node.js does.\n// See: https://en.wikipedia.org/wiki/Base64#URL_applications\nrevLookup['-'.charCodeAt(0)] = 62\nrevLookup['_'.charCodeAt(0)] = 63\n\nfunction getLens (b64) {\n var len = b64.length\n\n if (len % 4 > 0) {\n throw new Error('Invalid string. Length must be a multiple of 4')\n }\n\n // Trim off extra bytes after placeholder bytes are found\n // See: https://github.com/beatgammit/base64-js/issues/42\n var validLen = b64.indexOf('=')\n if (validLen === -1) validLen = len\n\n var placeHoldersLen = validLen === len\n ? 0\n : 4 - (validLen % 4)\n\n return [validLen, placeHoldersLen]\n}\n\n// base64 is 4/3 + up to two characters of the original data\nfunction byteLength (b64) {\n var lens = getLens(b64)\n var validLen = lens[0]\n var placeHoldersLen = lens[1]\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\n}\n\nfunction _byteLength (b64, validLen, placeHoldersLen) {\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\n}\n\nfunction toByteArray (b64) {\n var tmp\n var lens = getLens(b64)\n var validLen = lens[0]\n var placeHoldersLen = lens[1]\n\n var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen))\n\n var curByte = 0\n\n // if there are placeholders, only get up to the last complete 4 chars\n var len = placeHoldersLen > 0\n ? validLen - 4\n : validLen\n\n var i\n for (i = 0; i < len; i += 4) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 18) |\n (revLookup[b64.charCodeAt(i + 1)] << 12) |\n (revLookup[b64.charCodeAt(i + 2)] << 6) |\n revLookup[b64.charCodeAt(i + 3)]\n arr[curByte++] = (tmp >> 16) & 0xFF\n arr[curByte++] = (tmp >> 8) & 0xFF\n arr[curByte++] = tmp & 0xFF\n }\n\n if (placeHoldersLen === 2) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 2) |\n (revLookup[b64.charCodeAt(i + 1)] >> 4)\n arr[curByte++] = tmp & 0xFF\n }\n\n if (placeHoldersLen === 1) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 10) |\n (revLookup[b64.charCodeAt(i + 1)] << 4) |\n (revLookup[b64.charCodeAt(i + 2)] >> 2)\n arr[curByte++] = (tmp >> 8) & 0xFF\n arr[curByte++] = tmp & 0xFF\n }\n\n return arr\n}\n\nfunction tripletToBase64 (num) {\n return lookup[num >> 18 & 0x3F] +\n lookup[num >> 12 & 0x3F] +\n lookup[num >> 6 & 0x3F] +\n lookup[num & 0x3F]\n}\n\nfunction encodeChunk (uint8, start, end) {\n var tmp\n var output = []\n for (var i = start; i < end; i += 3) {\n tmp =\n ((uint8[i] << 16) & 0xFF0000) +\n ((uint8[i + 1] << 8) & 0xFF00) +\n (uint8[i + 2] & 0xFF)\n output.push(tripletToBase64(tmp))\n }\n return output.join('')\n}\n\nfunction fromByteArray (uint8) {\n var tmp\n var len = uint8.length\n var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes\n var parts = []\n var maxChunkLength = 16383 // must be multiple of 3\n\n // go through the array every three bytes, we'll deal with trailing stuff later\n for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {\n parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)))\n }\n\n // pad the end with zeros, but make sure to not forget the extra bytes\n if (extraBytes === 1) {\n tmp = uint8[len - 1]\n parts.push(\n lookup[tmp >> 2] +\n lookup[(tmp << 4) & 0x3F] +\n '=='\n )\n } else if (extraBytes === 2) {\n tmp = (uint8[len - 2] << 8) + uint8[len - 1]\n parts.push(\n lookup[tmp >> 10] +\n lookup[(tmp >> 4) & 0x3F] +\n lookup[(tmp << 2) & 0x3F] +\n '='\n )\n }\n\n return parts.join('')\n}\n","!function(e,t){\"object\"==typeof exports&&\"object\"==typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define([],t):\"object\"==typeof exports?exports.bowser=t():e.bowser=t()}(this,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(e,\"__esModule\",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&\"object\"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,\"default\",{enumerable:!0,value:e}),2&t&&\"string\"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,\"a\",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p=\"\",r(r.s=90)}({17:function(e,t,r){\"use strict\";t.__esModule=!0,t.default=void 0;var n=r(18),i=function(){function e(){}return e.getFirstMatch=function(e,t){var r=t.match(e);return r&&r.length>0&&r[1]||\"\"},e.getSecondMatch=function(e,t){var r=t.match(e);return r&&r.length>1&&r[2]||\"\"},e.matchAndReturnConst=function(e,t,r){if(e.test(t))return r},e.getWindowsVersionName=function(e){switch(e){case\"NT\":return\"NT\";case\"XP\":return\"XP\";case\"NT 5.0\":return\"2000\";case\"NT 5.1\":return\"XP\";case\"NT 5.2\":return\"2003\";case\"NT 6.0\":return\"Vista\";case\"NT 6.1\":return\"7\";case\"NT 6.2\":return\"8\";case\"NT 6.3\":return\"8.1\";case\"NT 10.0\":return\"10\";default:return}},e.getMacOSVersionName=function(e){var t=e.split(\".\").splice(0,2).map((function(e){return parseInt(e,10)||0}));if(t.push(0),10===t[0])switch(t[1]){case 5:return\"Leopard\";case 6:return\"Snow Leopard\";case 7:return\"Lion\";case 8:return\"Mountain Lion\";case 9:return\"Mavericks\";case 10:return\"Yosemite\";case 11:return\"El Capitan\";case 12:return\"Sierra\";case 13:return\"High Sierra\";case 14:return\"Mojave\";case 15:return\"Catalina\";default:return}},e.getAndroidVersionName=function(e){var t=e.split(\".\").splice(0,2).map((function(e){return parseInt(e,10)||0}));if(t.push(0),!(1===t[0]&&t[1]<5))return 1===t[0]&&t[1]<6?\"Cupcake\":1===t[0]&&t[1]>=6?\"Donut\":2===t[0]&&t[1]<2?\"Eclair\":2===t[0]&&2===t[1]?\"Froyo\":2===t[0]&&t[1]>2?\"Gingerbread\":3===t[0]?\"Honeycomb\":4===t[0]&&t[1]<1?\"Ice Cream Sandwich\":4===t[0]&&t[1]<4?\"Jelly Bean\":4===t[0]&&t[1]>=4?\"KitKat\":5===t[0]?\"Lollipop\":6===t[0]?\"Marshmallow\":7===t[0]?\"Nougat\":8===t[0]?\"Oreo\":9===t[0]?\"Pie\":void 0},e.getVersionPrecision=function(e){return e.split(\".\").length},e.compareVersions=function(t,r,n){void 0===n&&(n=!1);var i=e.getVersionPrecision(t),s=e.getVersionPrecision(r),a=Math.max(i,s),o=0,u=e.map([t,r],(function(t){var r=a-e.getVersionPrecision(t),n=t+new Array(r+1).join(\".0\");return e.map(n.split(\".\"),(function(e){return new Array(20-e.length).join(\"0\")+e})).reverse()}));for(n&&(o=a-Math.min(i,s)),a-=1;a>=o;){if(u[0][a]>u[1][a])return 1;if(u[0][a]===u[1][a]){if(a===o)return 0;a-=1}else if(u[0][a]<u[1][a])return-1}},e.map=function(e,t){var r,n=[];if(Array.prototype.map)return Array.prototype.map.call(e,t);for(r=0;r<e.length;r+=1)n.push(t(e[r]));return n},e.find=function(e,t){var r,n;if(Array.prototype.find)return Array.prototype.find.call(e,t);for(r=0,n=e.length;r<n;r+=1){var i=e[r];if(t(i,r))return i}},e.assign=function(e){for(var t,r,n=e,i=arguments.length,s=new Array(i>1?i-1:0),a=1;a<i;a++)s[a-1]=arguments[a];if(Object.assign)return Object.assign.apply(Object,[e].concat(s));var o=function(){var e=s[t];\"object\"==typeof e&&null!==e&&Object.keys(e).forEach((function(t){n[t]=e[t]}))};for(t=0,r=s.length;t<r;t+=1)o();return e},e.getBrowserAlias=function(e){return n.BROWSER_ALIASES_MAP[e]},e.getBrowserTypeByAlias=function(e){return n.BROWSER_MAP[e]||\"\"},e}();t.default=i,e.exports=t.default},18:function(e,t,r){\"use strict\";t.__esModule=!0,t.ENGINE_MAP=t.OS_MAP=t.PLATFORMS_MAP=t.BROWSER_MAP=t.BROWSER_ALIASES_MAP=void 0;t.BROWSER_ALIASES_MAP={\"Amazon Silk\":\"amazon_silk\",\"Android Browser\":\"android\",Bada:\"bada\",BlackBerry:\"blackberry\",Chrome:\"chrome\",Chromium:\"chromium\",Electron:\"electron\",Epiphany:\"epiphany\",Firefox:\"firefox\",Focus:\"focus\",Generic:\"generic\",\"Google Search\":\"google_search\",Googlebot:\"googlebot\",\"Internet Explorer\":\"ie\",\"K-Meleon\":\"k_meleon\",Maxthon:\"maxthon\",\"Microsoft Edge\":\"edge\",\"MZ Browser\":\"mz\",\"NAVER Whale Browser\":\"naver\",Opera:\"opera\",\"Opera Coast\":\"opera_coast\",PhantomJS:\"phantomjs\",Puffin:\"puffin\",QupZilla:\"qupzilla\",QQ:\"qq\",QQLite:\"qqlite\",Safari:\"safari\",Sailfish:\"sailfish\",\"Samsung Internet for Android\":\"samsung_internet\",SeaMonkey:\"seamonkey\",Sleipnir:\"sleipnir\",Swing:\"swing\",Tizen:\"tizen\",\"UC Browser\":\"uc\",Vivaldi:\"vivaldi\",\"WebOS Browser\":\"webos\",WeChat:\"wechat\",\"Yandex Browser\":\"yandex\",Roku:\"roku\"};t.BROWSER_MAP={amazon_silk:\"Amazon Silk\",android:\"Android Browser\",bada:\"Bada\",blackberry:\"BlackBerry\",chrome:\"Chrome\",chromium:\"Chromium\",electron:\"Electron\",epiphany:\"Epiphany\",firefox:\"Firefox\",focus:\"Focus\",generic:\"Generic\",googlebot:\"Googlebot\",google_search:\"Google Search\",ie:\"Internet Explorer\",k_meleon:\"K-Meleon\",maxthon:\"Maxthon\",edge:\"Microsoft Edge\",mz:\"MZ Browser\",naver:\"NAVER Whale Browser\",opera:\"Opera\",opera_coast:\"Opera Coast\",phantomjs:\"PhantomJS\",puffin:\"Puffin\",qupzilla:\"QupZilla\",qq:\"QQ Browser\",qqlite:\"QQ Browser Lite\",safari:\"Safari\",sailfish:\"Sailfish\",samsung_internet:\"Samsung Internet for Android\",seamonkey:\"SeaMonkey\",sleipnir:\"Sleipnir\",swing:\"Swing\",tizen:\"Tizen\",uc:\"UC Browser\",vivaldi:\"Vivaldi\",webos:\"WebOS Browser\",wechat:\"WeChat\",yandex:\"Yandex Browser\"};t.PLATFORMS_MAP={tablet:\"tablet\",mobile:\"mobile\",desktop:\"desktop\",tv:\"tv\"};t.OS_MAP={WindowsPhone:\"Windows Phone\",Windows:\"Windows\",MacOS:\"macOS\",iOS:\"iOS\",Android:\"Android\",WebOS:\"WebOS\",BlackBerry:\"BlackBerry\",Bada:\"Bada\",Tizen:\"Tizen\",Linux:\"Linux\",ChromeOS:\"Chrome OS\",PlayStation4:\"PlayStation 4\",Roku:\"Roku\"};t.ENGINE_MAP={EdgeHTML:\"EdgeHTML\",Blink:\"Blink\",Trident:\"Trident\",Presto:\"Presto\",Gecko:\"Gecko\",WebKit:\"WebKit\"}},90:function(e,t,r){\"use strict\";t.__esModule=!0,t.default=void 0;var n,i=(n=r(91))&&n.__esModule?n:{default:n},s=r(18);function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,\"value\"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var o=function(){function e(){}var t,r,n;return e.getParser=function(e,t){if(void 0===t&&(t=!1),\"string\"!=typeof e)throw new Error(\"UserAgent should be a string\");return new i.default(e,t)},e.parse=function(e){return new i.default(e).getResult()},t=e,n=[{key:\"BROWSER_MAP\",get:function(){return s.BROWSER_MAP}},{key:\"ENGINE_MAP\",get:function(){return s.ENGINE_MAP}},{key:\"OS_MAP\",get:function(){return s.OS_MAP}},{key:\"PLATFORMS_MAP\",get:function(){return s.PLATFORMS_MAP}}],(r=null)&&a(t.prototype,r),n&&a(t,n),e}();t.default=o,e.exports=t.default},91:function(e,t,r){\"use strict\";t.__esModule=!0,t.default=void 0;var n=u(r(92)),i=u(r(93)),s=u(r(94)),a=u(r(95)),o=u(r(17));function u(e){return e&&e.__esModule?e:{default:e}}var d=function(){function e(e,t){if(void 0===t&&(t=!1),null==e||\"\"===e)throw new Error(\"UserAgent parameter can't be empty\");this._ua=e,this.parsedResult={},!0!==t&&this.parse()}var t=e.prototype;return t.getUA=function(){return this._ua},t.test=function(e){return e.test(this._ua)},t.parseBrowser=function(){var e=this;this.parsedResult.browser={};var t=o.default.find(n.default,(function(t){if(\"function\"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some((function(t){return e.test(t)}));throw new Error(\"Browser's test function is not valid\")}));return t&&(this.parsedResult.browser=t.describe(this.getUA())),this.parsedResult.browser},t.getBrowser=function(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()},t.getBrowserName=function(e){return e?String(this.getBrowser().name).toLowerCase()||\"\":this.getBrowser().name||\"\"},t.getBrowserVersion=function(){return this.getBrowser().version},t.getOS=function(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()},t.parseOS=function(){var e=this;this.parsedResult.os={};var t=o.default.find(i.default,(function(t){if(\"function\"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some((function(t){return e.test(t)}));throw new Error(\"Browser's test function is not valid\")}));return t&&(this.parsedResult.os=t.describe(this.getUA())),this.parsedResult.os},t.getOSName=function(e){var t=this.getOS().name;return e?String(t).toLowerCase()||\"\":t||\"\"},t.getOSVersion=function(){return this.getOS().version},t.getPlatform=function(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()},t.getPlatformType=function(e){void 0===e&&(e=!1);var t=this.getPlatform().type;return e?String(t).toLowerCase()||\"\":t||\"\"},t.parsePlatform=function(){var e=this;this.parsedResult.platform={};var t=o.default.find(s.default,(function(t){if(\"function\"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some((function(t){return e.test(t)}));throw new Error(\"Browser's test function is not valid\")}));return t&&(this.parsedResult.platform=t.describe(this.getUA())),this.parsedResult.platform},t.getEngine=function(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()},t.getEngineName=function(e){return e?String(this.getEngine().name).toLowerCase()||\"\":this.getEngine().name||\"\"},t.parseEngine=function(){var e=this;this.parsedResult.engine={};var t=o.default.find(a.default,(function(t){if(\"function\"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some((function(t){return e.test(t)}));throw new Error(\"Browser's test function is not valid\")}));return t&&(this.parsedResult.engine=t.describe(this.getUA())),this.parsedResult.engine},t.parse=function(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this},t.getResult=function(){return o.default.assign({},this.parsedResult)},t.satisfies=function(e){var t=this,r={},n=0,i={},s=0;if(Object.keys(e).forEach((function(t){var a=e[t];\"string\"==typeof a?(i[t]=a,s+=1):\"object\"==typeof a&&(r[t]=a,n+=1)})),n>0){var a=Object.keys(r),u=o.default.find(a,(function(e){return t.isOS(e)}));if(u){var d=this.satisfies(r[u]);if(void 0!==d)return d}var c=o.default.find(a,(function(e){return t.isPlatform(e)}));if(c){var f=this.satisfies(r[c]);if(void 0!==f)return f}}if(s>0){var l=Object.keys(i),h=o.default.find(l,(function(e){return t.isBrowser(e,!0)}));if(void 0!==h)return this.compareVersion(i[h])}},t.isBrowser=function(e,t){void 0===t&&(t=!1);var r=this.getBrowserName().toLowerCase(),n=e.toLowerCase(),i=o.default.getBrowserTypeByAlias(n);return t&&i&&(n=i.toLowerCase()),n===r},t.compareVersion=function(e){var t=[0],r=e,n=!1,i=this.getBrowserVersion();if(\"string\"==typeof i)return\">\"===e[0]||\"<\"===e[0]?(r=e.substr(1),\"=\"===e[1]?(n=!0,r=e.substr(2)):t=[],\">\"===e[0]?t.push(1):t.push(-1)):\"=\"===e[0]?r=e.substr(1):\"~\"===e[0]&&(n=!0,r=e.substr(1)),t.indexOf(o.default.compareVersions(i,r,n))>-1},t.isOS=function(e){return this.getOSName(!0)===String(e).toLowerCase()},t.isPlatform=function(e){return this.getPlatformType(!0)===String(e).toLowerCase()},t.isEngine=function(e){return this.getEngineName(!0)===String(e).toLowerCase()},t.is=function(e,t){return void 0===t&&(t=!1),this.isBrowser(e,t)||this.isOS(e)||this.isPlatform(e)},t.some=function(e){var t=this;return void 0===e&&(e=[]),e.some((function(e){return t.is(e)}))},e}();t.default=d,e.exports=t.default},92:function(e,t,r){\"use strict\";t.__esModule=!0,t.default=void 0;var n,i=(n=r(17))&&n.__esModule?n:{default:n};var s=/version\\/(\\d+(\\.?_?\\d+)+)/i,a=[{test:[/googlebot/i],describe:function(e){var t={name:\"Googlebot\"},r=i.default.getFirstMatch(/googlebot\\/(\\d+(\\.\\d+))/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/opera/i],describe:function(e){var t={name:\"Opera\"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:opera)[\\s/](\\d+(\\.?_?\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/opr\\/|opios/i],describe:function(e){var t={name:\"Opera\"},r=i.default.getFirstMatch(/(?:opr|opios)[\\s/](\\S+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/SamsungBrowser/i],describe:function(e){var t={name:\"Samsung Internet for Android\"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:SamsungBrowser)[\\s/](\\d+(\\.?_?\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/Whale/i],describe:function(e){var t={name:\"NAVER Whale Browser\"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:whale)[\\s/](\\d+(?:\\.\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/MZBrowser/i],describe:function(e){var t={name:\"MZ Browser\"},r=i.default.getFirstMatch(/(?:MZBrowser)[\\s/](\\d+(?:\\.\\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/focus/i],describe:function(e){var t={name:\"Focus\"},r=i.default.getFirstMatch(/(?:focus)[\\s/](\\d+(?:\\.\\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/swing/i],describe:function(e){var t={name:\"Swing\"},r=i.default.getFirstMatch(/(?:swing)[\\s/](\\d+(?:\\.\\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/coast/i],describe:function(e){var t={name:\"Opera Coast\"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:coast)[\\s/](\\d+(\\.?_?\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/opt\\/\\d+(?:.?_?\\d+)+/i],describe:function(e){var t={name:\"Opera Touch\"},r=i.default.getFirstMatch(/(?:opt)[\\s/](\\d+(\\.?_?\\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/yabrowser/i],describe:function(e){var t={name:\"Yandex Browser\"},r=i.default.getFirstMatch(/(?:yabrowser)[\\s/](\\d+(\\.?_?\\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/ucbrowser/i],describe:function(e){var t={name:\"UC Browser\"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:ucbrowser)[\\s/](\\d+(\\.?_?\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/Maxthon|mxios/i],describe:function(e){var t={name:\"Maxthon\"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:Maxthon|mxios)[\\s/](\\d+(\\.?_?\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/epiphany/i],describe:function(e){var t={name:\"Epiphany\"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:epiphany)[\\s/](\\d+(\\.?_?\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/puffin/i],describe:function(e){var t={name:\"Puffin\"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:puffin)[\\s/](\\d+(\\.?_?\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/sleipnir/i],describe:function(e){var t={name:\"Sleipnir\"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:sleipnir)[\\s/](\\d+(\\.?_?\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/k-meleon/i],describe:function(e){var t={name:\"K-Meleon\"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:k-meleon)[\\s/](\\d+(\\.?_?\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/micromessenger/i],describe:function(e){var t={name:\"WeChat\"},r=i.default.getFirstMatch(/(?:micromessenger)[\\s/](\\d+(\\.?_?\\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/qqbrowser/i],describe:function(e){var t={name:/qqbrowserlite/i.test(e)?\"QQ Browser Lite\":\"QQ Browser\"},r=i.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\\d+(\\.?_?\\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/msie|trident/i],describe:function(e){var t={name:\"Internet Explorer\"},r=i.default.getFirstMatch(/(?:msie |rv:)(\\d+(\\.?_?\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/\\sedg\\//i],describe:function(e){var t={name:\"Microsoft Edge\"},r=i.default.getFirstMatch(/\\sedg\\/(\\d+(\\.?_?\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/edg([ea]|ios)/i],describe:function(e){var t={name:\"Microsoft Edge\"},r=i.default.getSecondMatch(/edg([ea]|ios)\\/(\\d+(\\.?_?\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/vivaldi/i],describe:function(e){var t={name:\"Vivaldi\"},r=i.default.getFirstMatch(/vivaldi\\/(\\d+(\\.?_?\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/seamonkey/i],describe:function(e){var t={name:\"SeaMonkey\"},r=i.default.getFirstMatch(/seamonkey\\/(\\d+(\\.?_?\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/sailfish/i],describe:function(e){var t={name:\"Sailfish\"},r=i.default.getFirstMatch(/sailfish\\s?browser\\/(\\d+(\\.\\d+)?)/i,e);return r&&(t.version=r),t}},{test:[/silk/i],describe:function(e){var t={name:\"Amazon Silk\"},r=i.default.getFirstMatch(/silk\\/(\\d+(\\.?_?\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/phantom/i],describe:function(e){var t={name:\"PhantomJS\"},r=i.default.getFirstMatch(/phantomjs\\/(\\d+(\\.?_?\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/slimerjs/i],describe:function(e){var t={name:\"SlimerJS\"},r=i.default.getFirstMatch(/slimerjs\\/(\\d+(\\.?_?\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/blackberry|\\bbb\\d+/i,/rim\\stablet/i],describe:function(e){var t={name:\"BlackBerry\"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/blackberry[\\d]+\\/(\\d+(\\.?_?\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t={name:\"WebOS Browser\"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\\/(\\d+(\\.?_?\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/bada/i],describe:function(e){var t={name:\"Bada\"},r=i.default.getFirstMatch(/dolfin\\/(\\d+(\\.?_?\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/tizen/i],describe:function(e){var t={name:\"Tizen\"},r=i.default.getFirstMatch(/(?:tizen\\s?)?browser\\/(\\d+(\\.?_?\\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/qupzilla/i],describe:function(e){var t={name:\"QupZilla\"},r=i.default.getFirstMatch(/(?:qupzilla)[\\s/](\\d+(\\.?_?\\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/firefox|iceweasel|fxios/i],describe:function(e){var t={name:\"Firefox\"},r=i.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\\s/](\\d+(\\.?_?\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/electron/i],describe:function(e){var t={name:\"Electron\"},r=i.default.getFirstMatch(/(?:electron)\\/(\\d+(\\.?_?\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/MiuiBrowser/i],describe:function(e){var t={name:\"Miui\"},r=i.default.getFirstMatch(/(?:MiuiBrowser)[\\s/](\\d+(\\.?_?\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/chromium/i],describe:function(e){var t={name:\"Chromium\"},r=i.default.getFirstMatch(/(?:chromium)[\\s/](\\d+(\\.?_?\\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/chrome|crios|crmo/i],describe:function(e){var t={name:\"Chrome\"},r=i.default.getFirstMatch(/(?:chrome|crios|crmo)\\/(\\d+(\\.?_?\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/GSA/i],describe:function(e){var t={name:\"Google Search\"},r=i.default.getFirstMatch(/(?:GSA)\\/(\\d+(\\.?_?\\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){var t=!e.test(/like android/i),r=e.test(/android/i);return t&&r},describe:function(e){var t={name:\"Android Browser\"},r=i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/playstation 4/i],describe:function(e){var t={name:\"PlayStation 4\"},r=i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/safari|applewebkit/i],describe:function(e){var t={name:\"Safari\"},r=i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/.*/i],describe:function(e){var t=-1!==e.search(\"\\\\(\")?/^(.*)\\/(.*)[ \\t]\\((.*)/:/^(.*)\\/(.*) /;return{name:i.default.getFirstMatch(t,e),version:i.default.getSecondMatch(t,e)}}}];t.default=a,e.exports=t.default},93:function(e,t,r){\"use strict\";t.__esModule=!0,t.default=void 0;var n,i=(n=r(17))&&n.__esModule?n:{default:n},s=r(18);var a=[{test:[/Roku\\/DVP/],describe:function(e){var t=i.default.getFirstMatch(/Roku\\/DVP-(\\d+\\.\\d+)/i,e);return{name:s.OS_MAP.Roku,version:t}}},{test:[/windows phone/i],describe:function(e){var t=i.default.getFirstMatch(/windows phone (?:os)?\\s?(\\d+(\\.\\d+)*)/i,e);return{name:s.OS_MAP.WindowsPhone,version:t}}},{test:[/windows /i],describe:function(e){var t=i.default.getFirstMatch(/Windows ((NT|XP)( \\d\\d?.\\d)?)/i,e),r=i.default.getWindowsVersionName(t);return{name:s.OS_MAP.Windows,version:t,versionName:r}}},{test:[/Macintosh(.*?) FxiOS(.*?)\\//],describe:function(e){var t={name:s.OS_MAP.iOS},r=i.default.getSecondMatch(/(Version\\/)(\\d[\\d.]+)/,e);return r&&(t.version=r),t}},{test:[/macintosh/i],describe:function(e){var t=i.default.getFirstMatch(/mac os x (\\d+(\\.?_?\\d+)+)/i,e).replace(/[_\\s]/g,\".\"),r=i.default.getMacOSVersionName(t),n={name:s.OS_MAP.MacOS,version:t};return r&&(n.versionName=r),n}},{test:[/(ipod|iphone|ipad)/i],describe:function(e){var t=i.default.getFirstMatch(/os (\\d+([_\\s]\\d+)*) like mac os x/i,e).replace(/[_\\s]/g,\".\");return{name:s.OS_MAP.iOS,version:t}}},{test:function(e){var t=!e.test(/like android/i),r=e.test(/android/i);return t&&r},describe:function(e){var t=i.default.getFirstMatch(/android[\\s/-](\\d+(\\.\\d+)*)/i,e),r=i.default.getAndroidVersionName(t),n={name:s.OS_MAP.Android,version:t};return r&&(n.versionName=r),n}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t=i.default.getFirstMatch(/(?:web|hpw)[o0]s\\/(\\d+(\\.\\d+)*)/i,e),r={name:s.OS_MAP.WebOS};return t&&t.length&&(r.version=t),r}},{test:[/blackberry|\\bbb\\d+/i,/rim\\stablet/i],describe:function(e){var t=i.default.getFirstMatch(/rim\\stablet\\sos\\s(\\d+(\\.\\d+)*)/i,e)||i.default.getFirstMatch(/blackberry\\d+\\/(\\d+([_\\s]\\d+)*)/i,e)||i.default.getFirstMatch(/\\bbb(\\d+)/i,e);return{name:s.OS_MAP.BlackBerry,version:t}}},{test:[/bada/i],describe:function(e){var t=i.default.getFirstMatch(/bada\\/(\\d+(\\.\\d+)*)/i,e);return{name:s.OS_MAP.Bada,version:t}}},{test:[/tizen/i],describe:function(e){var t=i.default.getFirstMatch(/tizen[/\\s](\\d+(\\.\\d+)*)/i,e);return{name:s.OS_MAP.Tizen,version:t}}},{test:[/linux/i],describe:function(){return{name:s.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:s.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(e){var t=i.default.getFirstMatch(/PlayStation 4[/\\s](\\d+(\\.\\d+)*)/i,e);return{name:s.OS_MAP.PlayStation4,version:t}}}];t.default=a,e.exports=t.default},94:function(e,t,r){\"use strict\";t.__esModule=!0,t.default=void 0;var n,i=(n=r(17))&&n.__esModule?n:{default:n},s=r(18);var a=[{test:[/googlebot/i],describe:function(){return{type:\"bot\",vendor:\"Google\"}}},{test:[/huawei/i],describe:function(e){var t=i.default.getFirstMatch(/(can-l01)/i,e)&&\"Nova\",r={type:s.PLATFORMS_MAP.mobile,vendor:\"Huawei\"};return t&&(r.model=t),r}},{test:[/nexus\\s*(?:7|8|9|10).*/i],describe:function(){return{type:s.PLATFORMS_MAP.tablet,vendor:\"Nexus\"}}},{test:[/ipad/i],describe:function(){return{type:s.PLATFORMS_MAP.tablet,vendor:\"Apple\",model:\"iPad\"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\\//],describe:function(){return{type:s.PLATFORMS_MAP.tablet,vendor:\"Apple\",model:\"iPad\"}}},{test:[/kftt build/i],describe:function(){return{type:s.PLATFORMS_MAP.tablet,vendor:\"Amazon\",model:\"Kindle Fire HD 7\"}}},{test:[/silk/i],describe:function(){return{type:s.PLATFORMS_MAP.tablet,vendor:\"Amazon\"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:s.PLATFORMS_MAP.tablet}}},{test:function(e){var t=e.test(/ipod|iphone/i),r=e.test(/like (ipod|iphone)/i);return t&&!r},describe:function(e){var t=i.default.getFirstMatch(/(ipod|iphone)/i,e);return{type:s.PLATFORMS_MAP.mobile,vendor:\"Apple\",model:t}}},{test:[/nexus\\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:s.PLATFORMS_MAP.mobile,vendor:\"Nexus\"}}},{test:[/[^-]mobi/i],describe:function(){return{type:s.PLATFORMS_MAP.mobile}}},{test:function(e){return\"blackberry\"===e.getBrowserName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.mobile,vendor:\"BlackBerry\"}}},{test:function(e){return\"bada\"===e.getBrowserName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.mobile}}},{test:function(e){return\"windows phone\"===e.getBrowserName()},describe:function(){return{type:s.PLATFORMS_MAP.mobile,vendor:\"Microsoft\"}}},{test:function(e){var t=Number(String(e.getOSVersion()).split(\".\")[0]);return\"android\"===e.getOSName(!0)&&t>=3},describe:function(){return{type:s.PLATFORMS_MAP.tablet}}},{test:function(e){return\"android\"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.mobile}}},{test:function(e){return\"macos\"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.desktop,vendor:\"Apple\"}}},{test:function(e){return\"windows\"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.desktop}}},{test:function(e){return\"linux\"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.desktop}}},{test:function(e){return\"playstation 4\"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.tv}}},{test:function(e){return\"roku\"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.tv}}}];t.default=a,e.exports=t.default},95:function(e,t,r){\"use strict\";t.__esModule=!0,t.default=void 0;var n,i=(n=r(17))&&n.__esModule?n:{default:n},s=r(18);var a=[{test:function(e){return\"microsoft edge\"===e.getBrowserName(!0)},describe:function(e){if(/\\sedg\\//i.test(e))return{name:s.ENGINE_MAP.Blink};var t=i.default.getFirstMatch(/edge\\/(\\d+(\\.?_?\\d+)+)/i,e);return{name:s.ENGINE_MAP.EdgeHTML,version:t}}},{test:[/trident/i],describe:function(e){var t={name:s.ENGINE_MAP.Trident},r=i.default.getFirstMatch(/trident\\/(\\d+(\\.?_?\\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){return e.test(/presto/i)},describe:function(e){var t={name:s.ENGINE_MAP.Presto},r=i.default.getFirstMatch(/presto\\/(\\d+(\\.?_?\\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){var t=e.test(/gecko/i),r=e.test(/like gecko/i);return t&&!r},describe:function(e){var t={name:s.ENGINE_MAP.Gecko},r=i.default.getFirstMatch(/gecko\\/(\\d+(\\.?_?\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/(apple)?webkit\\/537\\.36/i],describe:function(){return{name:s.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(e){var t={name:s.ENGINE_MAP.WebKit},r=i.default.getFirstMatch(/webkit\\/(\\d+(\\.?_?\\d+)+)/i,e);return r&&(t.version=r),t}}];t.default=a,e.exports=t.default}})}));","'use strict';\n\n/*!\n * exports.\n */\n\nmodule.exports = brackets2dots;\n\n/*!\n * regexp patterns.\n */\n\nvar REPLACE_BRACKETS = /\\[([^\\[\\]]+)\\]/g;\nvar LFT_RT_TRIM_DOTS = /^[.]*|[.]*$/g;\n\n/**\n * Convert string with bracket notation to dot property notation.\n *\n * ### Examples:\n *\n * brackets2dots('group[0].section.a.seat[3]')\n * //=> 'group.0.section.a.seat.3'\n *\n * brackets2dots('[0].section.a.seat[3]')\n * //=> '0.section.a.seat.3'\n *\n * brackets2dots('people[*].age')\n * //=> 'people.*.age'\n *\n * @param {String} string\n * original string\n *\n * @return {String}\n * dot/bracket-notation string\n */\n\nfunction brackets2dots(string) {\n return ({}).toString.call(string) == '[object String]'\n ? string.replace(REPLACE_BRACKETS, '.$1').replace(LFT_RT_TRIM_DOTS, '')\n : ''\n}\n","/*!\n * The buffer module from node.js, for the browser.\n *\n * @author Feross Aboukhadijeh <https://feross.org>\n * @license MIT\n */\n/* eslint-disable no-proto */\n\n'use strict'\n\nvar base64 = require('base64-js')\nvar ieee754 = require('ieee754')\nvar customInspectSymbol =\n (typeof Symbol === 'function' && typeof Symbol.for === 'function')\n ? Symbol.for('nodejs.util.inspect.custom')\n : null\n\nexports.Buffer = Buffer\nexports.SlowBuffer = SlowBuffer\nexports.INSPECT_MAX_BYTES = 50\n\nvar K_MAX_LENGTH = 0x7fffffff\nexports.kMaxLength = K_MAX_LENGTH\n\n/**\n * If `Buffer.TYPED_ARRAY_SUPPORT`:\n * === true Use Uint8Array implementation (fastest)\n * === false Print warning and recommend using `buffer` v4.x which has an Object\n * implementation (most compatible, even IE6)\n *\n * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,\n * Opera 11.6+, iOS 4.2+.\n *\n * We report that the browser does not support typed arrays if the are not subclassable\n * using __proto__. Firefox 4-29 lacks support for adding new properties to `Uint8Array`\n * (See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438). IE 10 lacks support\n * for __proto__ and has a buggy typed array implementation.\n */\nBuffer.TYPED_ARRAY_SUPPORT = typedArraySupport()\n\nif (!Buffer.TYPED_ARRAY_SUPPORT && typeof console !== 'undefined' &&\n typeof console.error === 'function') {\n console.error(\n 'This browser lacks typed array (Uint8Array) support which is required by ' +\n '`buffer` v5.x. Use `buffer` v4.x if you require old browser support.'\n )\n}\n\nfunction typedArraySupport () {\n // Can typed array instances can be augmented?\n try {\n var arr = new Uint8Array(1)\n var proto = { foo: function () { return 42 } }\n Object.setPrototypeOf(proto, Uint8Array.prototype)\n Object.setPrototypeOf(arr, proto)\n return arr.foo() === 42\n } catch (e) {\n return false\n }\n}\n\nObject.defineProperty(Buffer.prototype, 'parent', {\n enumerable: true,\n get: function () {\n if (!Buffer.isBuffer(this)) return undefined\n return this.buffer\n }\n})\n\nObject.defineProperty(Buffer.prototype, 'offset', {\n enumerable: true,\n get: function () {\n if (!Buffer.isBuffer(this)) return undefined\n return this.byteOffset\n }\n})\n\nfunction createBuffer (length) {\n if (length > K_MAX_LENGTH) {\n throw new RangeError('The value \"' + length + '\" is invalid for option \"size\"')\n }\n // Return an augmented `Uint8Array` instance\n var buf = new Uint8Array(length)\n Object.setPrototypeOf(buf, Buffer.prototype)\n return buf\n}\n\n/**\n * The Buffer constructor returns instances of `Uint8Array` that have their\n * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of\n * `Uint8Array`, so the returned instances will have all the node `Buffer` methods\n * and the `Uint8Array` methods. Square bracket notation works as expected -- it\n * returns a single octet.\n *\n * The `Uint8Array` prototype remains unmodified.\n */\n\nfunction Buffer (arg, encodingOrOffset, length) {\n // Common case.\n if (typeof arg === 'number') {\n if (typeof encodingOrOffset === 'string') {\n throw new TypeError(\n 'The \"string\" argument must be of type string. Received type number'\n )\n }\n return allocUnsafe(arg)\n }\n return from(arg, encodingOrOffset, length)\n}\n\nBuffer.poolSize = 8192 // not used by this implementation\n\nfunction from (value, encodingOrOffset, length) {\n if (typeof value === 'string') {\n return fromString(value, encodingOrOffset)\n }\n\n if (ArrayBuffer.isView(value)) {\n return fromArrayLike(value)\n }\n\n if (value == null) {\n throw new TypeError(\n 'The first argument must be one of type string, Buffer, ArrayBuffer, Array, ' +\n 'or Array-like Object. Received type ' + (typeof value)\n )\n }\n\n if (isInstance(value, ArrayBuffer) ||\n (value && isInstance(value.buffer, ArrayBuffer))) {\n return fromArrayBuffer(value, encodingOrOffset, length)\n }\n\n if (typeof SharedArrayBuffer !== 'undefined' &&\n (isInstance(value, SharedArrayBuffer) ||\n (value && isInstance(value.buffer, SharedArrayBuffer)))) {\n return fromArrayBuffer(value, encodingOrOffset, length)\n }\n\n if (typeof value === 'number') {\n throw new TypeError(\n 'The \"value\" argument must not be of type number. Received type number'\n )\n }\n\n var valueOf = value.valueOf && value.valueOf()\n if (valueOf != null && valueOf !== value) {\n return Buffer.from(valueOf, encodingOrOffset, length)\n }\n\n var b = fromObject(value)\n if (b) return b\n\n if (typeof Symbol !== 'undefined' && Symbol.toPrimitive != null &&\n typeof value[Symbol.toPrimitive] === 'function') {\n return Buffer.from(\n value[Symbol.toPrimitive]('string'), encodingOrOffset, length\n )\n }\n\n throw new TypeError(\n 'The first argument must be one of type string, Buffer, ArrayBuffer, Array, ' +\n 'or Array-like Object. Received type ' + (typeof value)\n )\n}\n\n/**\n * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError\n * if value is a number.\n * Buffer.from(str[, encoding])\n * Buffer.from(array)\n * Buffer.from(buffer)\n * Buffer.from(arrayBuffer[, byteOffset[, length]])\n **/\nBuffer.from = function (value, encodingOrOffset, length) {\n return from(value, encodingOrOffset, length)\n}\n\n// Note: Change prototype *after* Buffer.from is defined to workaround Chrome bug:\n// https://github.com/feross/buffer/pull/148\nObject.setPrototypeOf(Buffer.prototype, Uint8Array.prototype)\nObject.setPrototypeOf(Buffer, Uint8Array)\n\nfunction assertSize (size) {\n if (typeof size !== 'number') {\n throw new TypeError('\"size\" argument must be of type number')\n } else if (size < 0) {\n throw new RangeError('The value \"' + size + '\" is invalid for option \"size\"')\n }\n}\n\nfunction alloc (size, fill, encoding) {\n assertSize(size)\n if (size <= 0) {\n return createBuffer(size)\n }\n if (fill !== undefined) {\n // Only pay attention to encoding if it's a string. This\n // prevents accidentally sending in a number that would\n // be interpretted as a start offset.\n return typeof encoding === 'string'\n ? createBuffer(size).fill(fill, encoding)\n : createBuffer(size).fill(fill)\n }\n return createBuffer(size)\n}\n\n/**\n * Creates a new filled Buffer instance.\n * alloc(size[, fill[, encoding]])\n **/\nBuffer.alloc = function (size, fill, encoding) {\n return alloc(size, fill, encoding)\n}\n\nfunction allocUnsafe (size) {\n assertSize(size)\n return createBuffer(size < 0 ? 0 : checked(size) | 0)\n}\n\n/**\n * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.\n * */\nBuffer.allocUnsafe = function (size) {\n return allocUnsafe(size)\n}\n/**\n * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.\n */\nBuffer.allocUnsafeSlow = function (size) {\n return allocUnsafe(size)\n}\n\nfunction fromString (string, encoding) {\n if (typeof encoding !== 'string' || encoding === '') {\n encoding = 'utf8'\n }\n\n if (!Buffer.isEncoding(encoding)) {\n throw new TypeError('Unknown encoding: ' + encoding)\n }\n\n var length = byteLength(string, encoding) | 0\n var buf = createBuffer(length)\n\n var actual = buf.write(string, encoding)\n\n if (actual !== length) {\n // Writing a hex string, for example, that contains invalid characters will\n // cause everything after the first invalid character to be ignored. (e.g.\n // 'abxxcd' will be treated as 'ab')\n buf = buf.slice(0, actual)\n }\n\n return buf\n}\n\nfunction fromArrayLike (array) {\n var length = array.length < 0 ? 0 : checked(array.length) | 0\n var buf = createBuffer(length)\n for (var i = 0; i < length; i += 1) {\n buf[i] = array[i] & 255\n }\n return buf\n}\n\nfunction fromArrayBuffer (array, byteOffset, length) {\n if (byteOffset < 0 || array.byteLength < byteOffset) {\n throw new RangeError('\"offset\" is outside of buffer bounds')\n }\n\n if (array.byteLength < byteOffset + (length || 0)) {\n throw new RangeError('\"length\" is outside of buffer bounds')\n }\n\n var buf\n if (byteOffset === undefined && length === undefined) {\n buf = new Uint8Array(array)\n } else if (length === undefined) {\n buf = new Uint8Array(array, byteOffset)\n } else {\n buf = new Uint8Array(array, byteOffset, length)\n }\n\n // Return an augmented `Uint8Array` instance\n Object.setPrototypeOf(buf, Buffer.prototype)\n\n return buf\n}\n\nfunction fromObject (obj) {\n if (Buffer.isBuffer(obj)) {\n var len = checked(obj.length) | 0\n var buf = createBuffer(len)\n\n if (buf.length === 0) {\n return buf\n }\n\n obj.copy(buf, 0, 0, len)\n return buf\n }\n\n if (obj.length !== undefined) {\n if (typeof obj.length !== 'number' || numberIsNaN(obj.length)) {\n return createBuffer(0)\n }\n return fromArrayLike(obj)\n }\n\n if (obj.type === 'Buffer' && Array.isArray(obj.data)) {\n return fromArrayLike(obj.data)\n }\n}\n\nfunction checked (length) {\n // Note: cannot use `length < K_MAX_LENGTH` here because that fails when\n // length is NaN (which is otherwise coerced to zero.)\n if (length >= K_MAX_LENGTH) {\n throw new RangeError('Attempt to allocate Buffer larger than maximum ' +\n 'size: 0x' + K_MAX_LENGTH.toString(16) + ' bytes')\n }\n return length | 0\n}\n\nfunction SlowBuffer (length) {\n if (+length != length) { // eslint-disable-line eqeqeq\n length = 0\n }\n return Buffer.alloc(+length)\n}\n\nBuffer.isBuffer = function isBuffer (b) {\n return b != null && b._isBuffer === true &&\n b !== Buffer.prototype // so Buffer.isBuffer(Buffer.prototype) will be false\n}\n\nBuffer.compare = function compare (a, b) {\n if (isInstance(a, Uint8Array)) a = Buffer.from(a, a.offset, a.byteLength)\n if (isInstance(b, Uint8Array)) b = Buffer.from(b, b.offset, b.byteLength)\n if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {\n throw new TypeError(\n 'The \"buf1\", \"buf2\" arguments must be one of type Buffer or Uint8Array'\n )\n }\n\n if (a === b) return 0\n\n var x = a.length\n var y = b.length\n\n for (var i = 0, len = Math.min(x, y); i < len; ++i) {\n if (a[i] !== b[i]) {\n x = a[i]\n y = b[i]\n break\n }\n }\n\n if (x < y) return -1\n if (y < x) return 1\n return 0\n}\n\nBuffer.isEncoding = function isEncoding (encoding) {\n switch (String(encoding).toLowerCase()) {\n case 'hex':\n case 'utf8':\n case 'utf-8':\n case 'ascii':\n case 'latin1':\n case 'binary':\n case 'base64':\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return true\n default:\n return false\n }\n}\n\nBuffer.concat = function concat (list, length) {\n if (!Array.isArray(list)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers')\n }\n\n if (list.length === 0) {\n return Buffer.alloc(0)\n }\n\n var i\n if (length === undefined) {\n length = 0\n for (i = 0; i < list.length; ++i) {\n length += list[i].length\n }\n }\n\n var buffer = Buffer.allocUnsafe(length)\n var pos = 0\n for (i = 0; i < list.length; ++i) {\n var buf = list[i]\n if (isInstance(buf, Uint8Array)) {\n buf = Buffer.from(buf)\n }\n if (!Buffer.isBuffer(buf)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers')\n }\n buf.copy(buffer, pos)\n pos += buf.length\n }\n return buffer\n}\n\nfunction byteLength (string, encoding) {\n if (Buffer.isBuffer(string)) {\n return string.length\n }\n if (ArrayBuffer.isView(string) || isInstance(string, ArrayBuffer)) {\n return string.byteLength\n }\n if (typeof string !== 'string') {\n throw new TypeError(\n 'The \"string\" argument must be one of type string, Buffer, or ArrayBuffer. ' +\n 'Received type ' + typeof string\n )\n }\n\n var len = string.length\n var mustMatch = (arguments.length > 2 && arguments[2] === true)\n if (!mustMatch && len === 0) return 0\n\n // Use a for loop to avoid recursion\n var loweredCase = false\n for (;;) {\n switch (encoding) {\n case 'ascii':\n case 'latin1':\n case 'binary':\n return len\n case 'utf8':\n case 'utf-8':\n return utf8ToBytes(string).length\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return len * 2\n case 'hex':\n return len >>> 1\n case 'base64':\n return base64ToBytes(string).length\n default:\n if (loweredCase) {\n return mustMatch ? -1 : utf8ToBytes(string).length // assume utf8\n }\n encoding = ('' + encoding).toLowerCase()\n loweredCase = true\n }\n }\n}\nBuffer.byteLength = byteLength\n\nfunction slowToString (encoding, start, end) {\n var loweredCase = false\n\n // No need to verify that \"this.length <= MAX_UINT32\" since it's a read-only\n // property of a typed array.\n\n // This behaves neither like String nor Uint8Array in that we set start/end\n // to their upper/lower bounds if the value passed is out of range.\n // undefined is handled specially as per ECMA-262 6th Edition,\n // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.\n if (start === undefined || start < 0) {\n start = 0\n }\n // Return early if start > this.length. Done here to prevent potential uint32\n // coercion fail below.\n if (start > this.length) {\n return ''\n }\n\n if (end === undefined || end > this.length) {\n end = this.length\n }\n\n if (end <= 0) {\n return ''\n }\n\n // Force coersion to uint32. This will also coerce falsey/NaN values to 0.\n end >>>= 0\n start >>>= 0\n\n if (end <= start) {\n return ''\n }\n\n if (!encoding) encoding = 'utf8'\n\n while (true) {\n switch (encoding) {\n case 'hex':\n return hexSlice(this, start, end)\n\n case 'utf8':\n case 'utf-8':\n return utf8Slice(this, start, end)\n\n case 'ascii':\n return asciiSlice(this, start, end)\n\n case 'latin1':\n case 'binary':\n return latin1Slice(this, start, end)\n\n case 'base64':\n return base64Slice(this, start, end)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return utf16leSlice(this, start, end)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = (encoding + '').toLowerCase()\n loweredCase = true\n }\n }\n}\n\n// This property is used by `Buffer.isBuffer` (and the `is-buffer` npm package)\n// to detect a Buffer instance. It's not possible to use `instanceof Buffer`\n// reliably in a browserify context because there could be multiple different\n// copies of the 'buffer' package in use. This method works even for Buffer\n// instances that were created from another copy of the `buffer` package.\n// See: https://github.com/feross/buffer/issues/154\nBuffer.prototype._isBuffer = true\n\nfunction swap (b, n, m) {\n var i = b[n]\n b[n] = b[m]\n b[m] = i\n}\n\nBuffer.prototype.swap16 = function swap16 () {\n var len = this.length\n if (len % 2 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 16-bits')\n }\n for (var i = 0; i < len; i += 2) {\n swap(this, i, i + 1)\n }\n return this\n}\n\nBuffer.prototype.swap32 = function swap32 () {\n var len = this.length\n if (len % 4 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 32-bits')\n }\n for (var i = 0; i < len; i += 4) {\n swap(this, i, i + 3)\n swap(this, i + 1, i + 2)\n }\n return this\n}\n\nBuffer.prototype.swap64 = function swap64 () {\n var len = this.length\n if (len % 8 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 64-bits')\n }\n for (var i = 0; i < len; i += 8) {\n swap(this, i, i + 7)\n swap(this, i + 1, i + 6)\n swap(this, i + 2, i + 5)\n swap(this, i + 3, i + 4)\n }\n return this\n}\n\nBuffer.prototype.toString = function toString () {\n var length = this.length\n if (length === 0) return ''\n if (arguments.length === 0) return utf8Slice(this, 0, length)\n return slowToString.apply(this, arguments)\n}\n\nBuffer.prototype.toLocaleString = Buffer.prototype.toString\n\nBuffer.prototype.equals = function equals (b) {\n if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')\n if (this === b) return true\n return Buffer.compare(this, b) === 0\n}\n\nBuffer.prototype.inspect = function inspect () {\n var str = ''\n var max = exports.INSPECT_MAX_BYTES\n str = this.toString('hex', 0, max).replace(/(.{2})/g, '$1 ').trim()\n if (this.length > max) str += ' ... '\n return '<Buffer ' + str + '>'\n}\nif (customInspectSymbol) {\n Buffer.prototype[customInspectSymbol] = Buffer.prototype.inspect\n}\n\nBuffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) {\n if (isInstance(target, Uint8Array)) {\n target = Buffer.from(target, target.offset, target.byteLength)\n }\n if (!Buffer.isBuffer(target)) {\n throw new TypeError(\n 'The \"target\" argument must be one of type Buffer or Uint8Array. ' +\n 'Received type ' + (typeof target)\n )\n }\n\n if (start === undefined) {\n start = 0\n }\n if (end === undefined) {\n end = target ? target.length : 0\n }\n if (thisStart === undefined) {\n thisStart = 0\n }\n if (thisEnd === undefined) {\n thisEnd = this.length\n }\n\n if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) {\n throw new RangeError('out of range index')\n }\n\n if (thisStart >= thisEnd && start >= end) {\n return 0\n }\n if (thisStart >= thisEnd) {\n return -1\n }\n if (start >= end) {\n return 1\n }\n\n start >>>= 0\n end >>>= 0\n thisStart >>>= 0\n thisEnd >>>= 0\n\n if (this === target) return 0\n\n var x = thisEnd - thisStart\n var y = end - start\n var len = Math.min(x, y)\n\n var thisCopy = this.slice(thisStart, thisEnd)\n var targetCopy = target.slice(start, end)\n\n for (var i = 0; i < len; ++i) {\n if (thisCopy[i] !== targetCopy[i]) {\n x = thisCopy[i]\n y = targetCopy[i]\n break\n }\n }\n\n if (x < y) return -1\n if (y < x) return 1\n return 0\n}\n\n// Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,\n// OR the last index of `val` in `buffer` at offset <= `byteOffset`.\n//\n// Arguments:\n// - buffer - a Buffer to search\n// - val - a string, Buffer, or number\n// - byteOffset - an index into `buffer`; will be clamped to an int32\n// - encoding - an optional encoding, relevant is val is a string\n// - dir - true for indexOf, false for lastIndexOf\nfunction bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) {\n // Empty buffer means no match\n if (buffer.length === 0) return -1\n\n // Normalize byteOffset\n if (typeof byteOffset === 'string') {\n encoding = byteOffset\n byteOffset = 0\n } else if (byteOffset > 0x7fffffff) {\n byteOffset = 0x7fffffff\n } else if (byteOffset < -0x80000000) {\n byteOffset = -0x80000000\n }\n byteOffset = +byteOffset // Coerce to Number.\n if (numberIsNaN(byteOffset)) {\n // byteOffset: it it's undefined, null, NaN, \"foo\", etc, search whole buffer\n byteOffset = dir ? 0 : (buffer.length - 1)\n }\n\n // Normalize byteOffset: negative offsets start from the end of the buffer\n if (byteOffset < 0) byteOffset = buffer.length + byteOffset\n if (byteOffset >= buffer.length) {\n if (dir) return -1\n else byteOffset = buffer.length - 1\n } else if (byteOffset < 0) {\n if (dir) byteOffset = 0\n else return -1\n }\n\n // Normalize val\n if (typeof val === 'string') {\n val = Buffer.from(val, encoding)\n }\n\n // Finally, search either indexOf (if dir is true) or lastIndexOf\n if (Buffer.isBuffer(val)) {\n // Special case: looking for empty string/buffer always fails\n if (val.length === 0) {\n return -1\n }\n return arrayIndexOf(buffer, val, byteOffset, encoding, dir)\n } else if (typeof val === 'number') {\n val = val & 0xFF // Search for a byte value [0-255]\n if (typeof Uint8Array.prototype.indexOf === 'function') {\n if (dir) {\n return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset)\n } else {\n return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset)\n }\n }\n return arrayIndexOf(buffer, [val], byteOffset, encoding, dir)\n }\n\n throw new TypeError('val must be string, number or Buffer')\n}\n\nfunction arrayIndexOf (arr, val, byteOffset, encoding, dir) {\n var indexSize = 1\n var arrLength = arr.length\n var valLength = val.length\n\n if (encoding !== undefined) {\n encoding = String(encoding).toLowerCase()\n if (encoding === 'ucs2' || encoding === 'ucs-2' ||\n encoding === 'utf16le' || encoding === 'utf-16le') {\n if (arr.length < 2 || val.length < 2) {\n return -1\n }\n indexSize = 2\n arrLength /= 2\n valLength /= 2\n byteOffset /= 2\n }\n }\n\n function read (buf, i) {\n if (indexSize === 1) {\n return buf[i]\n } else {\n return buf.readUInt16BE(i * indexSize)\n }\n }\n\n var i\n if (dir) {\n var foundIndex = -1\n for (i = byteOffset; i < arrLength; i++) {\n if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {\n if (foundIndex === -1) foundIndex = i\n if (i - foundIndex + 1 === valLength) return foundIndex * indexSize\n } else {\n if (foundIndex !== -1) i -= i - foundIndex\n foundIndex = -1\n }\n }\n } else {\n if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength\n for (i = byteOffset; i >= 0; i--) {\n var found = true\n for (var j = 0; j < valLength; j++) {\n if (read(arr, i + j) !== read(val, j)) {\n found = false\n break\n }\n }\n if (found) return i\n }\n }\n\n return -1\n}\n\nBuffer.prototype.includes = function includes (val, byteOffset, encoding) {\n return this.indexOf(val, byteOffset, encoding) !== -1\n}\n\nBuffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, true)\n}\n\nBuffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, false)\n}\n\nfunction hexWrite (buf, string, offset, length) {\n offset = Number(offset) || 0\n var remaining = buf.length - offset\n if (!length) {\n length = remaining\n } else {\n length = Number(length)\n if (length > remaining) {\n length = remaining\n }\n }\n\n var strLen = string.length\n\n if (length > strLen / 2) {\n length = strLen / 2\n }\n for (var i = 0; i < length; ++i) {\n var parsed = parseInt(string.substr(i * 2, 2), 16)\n if (numberIsNaN(parsed)) return i\n buf[offset + i] = parsed\n }\n return i\n}\n\nfunction utf8Write (buf, string, offset, length) {\n return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nfunction asciiWrite (buf, string, offset, length) {\n return blitBuffer(asciiToBytes(string), buf, offset, length)\n}\n\nfunction latin1Write (buf, string, offset, length) {\n return asciiWrite(buf, string, offset, length)\n}\n\nfunction base64Write (buf, string, offset, length) {\n return blitBuffer(base64ToBytes(string), buf, offset, length)\n}\n\nfunction ucs2Write (buf, string, offset, length) {\n return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nBuffer.prototype.write = function write (string, offset, length, encoding) {\n // Buffer#write(string)\n if (offset === undefined) {\n encoding = 'utf8'\n length = this.length\n offset = 0\n // Buffer#write(string, encoding)\n } else if (length === undefined && typeof offset === 'string') {\n encoding = offset\n length = this.length\n offset = 0\n // Buffer#write(string, offset[, length][, encoding])\n } else if (isFinite(offset)) {\n offset = offset >>> 0\n if (isFinite(length)) {\n length = length >>> 0\n if (encoding === undefined) encoding = 'utf8'\n } else {\n encoding = length\n length = undefined\n }\n } else {\n throw new Error(\n 'Buffer.write(string, encoding, offset[, length]) is no longer supported'\n )\n }\n\n var remaining = this.length - offset\n if (length === undefined || length > remaining) length = remaining\n\n if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) {\n throw new RangeError('Attempt to write outside buffer bounds')\n }\n\n if (!encoding) encoding = 'utf8'\n\n var loweredCase = false\n for (;;) {\n switch (encoding) {\n case 'hex':\n return hexWrite(this, string, offset, length)\n\n case 'utf8':\n case 'utf-8':\n return utf8Write(this, string, offset, length)\n\n case 'ascii':\n return asciiWrite(this, string, offset, length)\n\n case 'latin1':\n case 'binary':\n return latin1Write(this, string, offset, length)\n\n case 'base64':\n // Warning: maxLength not taken into account in base64Write\n return base64Write(this, string, offset, length)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return ucs2Write(this, string, offset, length)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = ('' + encoding).toLowerCase()\n loweredCase = true\n }\n }\n}\n\nBuffer.prototype.toJSON = function toJSON () {\n return {\n type: 'Buffer',\n data: Array.prototype.slice.call(this._arr || this, 0)\n }\n}\n\nfunction base64Slice (buf, start, end) {\n if (start === 0 && end === buf.length) {\n return base64.fromByteArray(buf)\n } else {\n return base64.fromByteArray(buf.slice(start, end))\n }\n}\n\nfunction utf8Slice (buf, start, end) {\n end = Math.min(buf.length, end)\n var res = []\n\n var i = start\n while (i < end) {\n var firstByte = buf[i]\n var codePoint = null\n var bytesPerSequence = (firstByte > 0xEF) ? 4\n : (firstByte > 0xDF) ? 3\n : (firstByte > 0xBF) ? 2\n : 1\n\n if (i + bytesPerSequence <= end) {\n var secondByte, thirdByte, fourthByte, tempCodePoint\n\n switch (bytesPerSequence) {\n case 1:\n if (firstByte < 0x80) {\n codePoint = firstByte\n }\n break\n case 2:\n secondByte = buf[i + 1]\n if ((secondByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F)\n if (tempCodePoint > 0x7F) {\n codePoint = tempCodePoint\n }\n }\n break\n case 3:\n secondByte = buf[i + 1]\n thirdByte = buf[i + 2]\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F)\n if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {\n codePoint = tempCodePoint\n }\n }\n break\n case 4:\n secondByte = buf[i + 1]\n thirdByte = buf[i + 2]\n fourthByte = buf[i + 3]\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F)\n if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {\n codePoint = tempCodePoint\n }\n }\n }\n }\n\n if (codePoint === null) {\n // we did not generate a valid codePoint so insert a\n // replacement char (U+FFFD) and advance only 1 byte\n codePoint = 0xFFFD\n bytesPerSequence = 1\n } else if (codePoint > 0xFFFF) {\n // encode to utf16 (surrogate pair dance)\n codePoint -= 0x10000\n res.push(codePoint >>> 10 & 0x3FF | 0xD800)\n codePoint = 0xDC00 | codePoint & 0x3FF\n }\n\n res.push(codePoint)\n i += bytesPerSequence\n }\n\n return decodeCodePointsArray(res)\n}\n\n// Based on http://stackoverflow.com/a/22747272/680742, the browser with\n// the lowest limit is Chrome, with 0x10000 args.\n// We go 1 magnitude less, for safety\nvar MAX_ARGUMENTS_LENGTH = 0x1000\n\nfunction decodeCodePointsArray (codePoints) {\n var len = codePoints.length\n if (len <= MAX_ARGUMENTS_LENGTH) {\n return String.fromCharCode.apply(String, codePoints) // avoid extra slice()\n }\n\n // Decode in chunks to avoid \"call stack size exceeded\".\n var res = ''\n var i = 0\n while (i < len) {\n res += String.fromCharCode.apply(\n String,\n codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)\n )\n }\n return res\n}\n\nfunction asciiSlice (buf, start, end) {\n var ret = ''\n end = Math.min(buf.length, end)\n\n for (var i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i] & 0x7F)\n }\n return ret\n}\n\nfunction latin1Slice (buf, start, end) {\n var ret = ''\n end = Math.min(buf.length, end)\n\n for (var i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i])\n }\n return ret\n}\n\nfunction hexSlice (buf, start, end) {\n var len = buf.length\n\n if (!start || start < 0) start = 0\n if (!end || end < 0 || end > len) end = len\n\n var out = ''\n for (var i = start; i < end; ++i) {\n out += hexSliceLookupTable[buf[i]]\n }\n return out\n}\n\nfunction utf16leSlice (buf, start, end) {\n var bytes = buf.slice(start, end)\n var res = ''\n for (var i = 0; i < bytes.length; i += 2) {\n res += String.fromCharCode(bytes[i] + (bytes[i + 1] * 256))\n }\n return res\n}\n\nBuffer.prototype.slice = function slice (start, end) {\n var len = this.length\n start = ~~start\n end = end === undefined ? len : ~~end\n\n if (start < 0) {\n start += len\n if (start < 0) start = 0\n } else if (start > len) {\n start = len\n }\n\n if (end < 0) {\n end += len\n if (end < 0) end = 0\n } else if (end > len) {\n end = len\n }\n\n if (end < start) end = start\n\n var newBuf = this.subarray(start, end)\n // Return an augmented `Uint8Array` instance\n Object.setPrototypeOf(newBuf, Buffer.prototype)\n\n return newBuf\n}\n\n/*\n * Need to make sure that buffer isn't trying to write out of bounds.\n */\nfunction checkOffset (offset, ext, length) {\n if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')\n if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')\n}\n\nBuffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {\n offset = offset >>> 0\n byteLength = byteLength >>> 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var val = this[offset]\n var mul = 1\n var i = 0\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul\n }\n\n return val\n}\n\nBuffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {\n offset = offset >>> 0\n byteLength = byteLength >>> 0\n if (!noAssert) {\n checkOffset(offset, byteLength, this.length)\n }\n\n var val = this[offset + --byteLength]\n var mul = 1\n while (byteLength > 0 && (mul *= 0x100)) {\n val += this[offset + --byteLength] * mul\n }\n\n return val\n}\n\nBuffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 1, this.length)\n return this[offset]\n}\n\nBuffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 2, this.length)\n return this[offset] | (this[offset + 1] << 8)\n}\n\nBuffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 2, this.length)\n return (this[offset] << 8) | this[offset + 1]\n}\n\nBuffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return ((this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16)) +\n (this[offset + 3] * 0x1000000)\n}\n\nBuffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset] * 0x1000000) +\n ((this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n this[offset + 3])\n}\n\nBuffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {\n offset = offset >>> 0\n byteLength = byteLength >>> 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var val = this[offset]\n var mul = 1\n var i = 0\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul\n }\n mul *= 0x80\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\n\n return val\n}\n\nBuffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {\n offset = offset >>> 0\n byteLength = byteLength >>> 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var i = byteLength\n var mul = 1\n var val = this[offset + --i]\n while (i > 0 && (mul *= 0x100)) {\n val += this[offset + --i] * mul\n }\n mul *= 0x80\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\n\n return val\n}\n\nBuffer.prototype.readInt8 = function readInt8 (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 1, this.length)\n if (!(this[offset] & 0x80)) return (this[offset])\n return ((0xff - this[offset] + 1) * -1)\n}\n\nBuffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 2, this.length)\n var val = this[offset] | (this[offset + 1] << 8)\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n}\n\nBuffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 2, this.length)\n var val = this[offset + 1] | (this[offset] << 8)\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n}\n\nBuffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16) |\n (this[offset + 3] << 24)\n}\n\nBuffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset] << 24) |\n (this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n (this[offset + 3])\n}\n\nBuffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 4, this.length)\n return ieee754.read(this, offset, true, 23, 4)\n}\n\nBuffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 4, this.length)\n return ieee754.read(this, offset, false, 23, 4)\n}\n\nBuffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 8, this.length)\n return ieee754.read(this, offset, true, 52, 8)\n}\n\nBuffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 8, this.length)\n return ieee754.read(this, offset, false, 52, 8)\n}\n\nfunction checkInt (buf, value, offset, ext, max, min) {\n if (!Buffer.isBuffer(buf)) throw new TypeError('\"buffer\" argument must be a Buffer instance')\n if (value > max || value < min) throw new RangeError('\"value\" argument is out of bounds')\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\n}\n\nBuffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset >>> 0\n byteLength = byteLength >>> 0\n if (!noAssert) {\n var maxBytes = Math.pow(2, 8 * byteLength) - 1\n checkInt(this, value, offset, byteLength, maxBytes, 0)\n }\n\n var mul = 1\n var i = 0\n this[offset] = value & 0xFF\n while (++i < byteLength && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset >>> 0\n byteLength = byteLength >>> 0\n if (!noAssert) {\n var maxBytes = Math.pow(2, 8 * byteLength) - 1\n checkInt(this, value, offset, byteLength, maxBytes, 0)\n }\n\n var i = byteLength - 1\n var mul = 1\n this[offset + i] = value & 0xFF\n while (--i >= 0 && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0)\n this[offset] = (value & 0xff)\n return offset + 1\n}\n\nBuffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n return offset + 2\n}\n\nBuffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\n this[offset] = (value >>> 8)\n this[offset + 1] = (value & 0xff)\n return offset + 2\n}\n\nBuffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\n this[offset + 3] = (value >>> 24)\n this[offset + 2] = (value >>> 16)\n this[offset + 1] = (value >>> 8)\n this[offset] = (value & 0xff)\n return offset + 4\n}\n\nBuffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\n this[offset] = (value >>> 24)\n this[offset + 1] = (value >>> 16)\n this[offset + 2] = (value >>> 8)\n this[offset + 3] = (value & 0xff)\n return offset + 4\n}\n\nBuffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) {\n var limit = Math.pow(2, (8 * byteLength) - 1)\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\n }\n\n var i = 0\n var mul = 1\n var sub = 0\n this[offset] = value & 0xFF\n while (++i < byteLength && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {\n sub = 1\n }\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) {\n var limit = Math.pow(2, (8 * byteLength) - 1)\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\n }\n\n var i = byteLength - 1\n var mul = 1\n var sub = 0\n this[offset + i] = value & 0xFF\n while (--i >= 0 && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {\n sub = 1\n }\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80)\n if (value < 0) value = 0xff + value + 1\n this[offset] = (value & 0xff)\n return offset + 1\n}\n\nBuffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n return offset + 2\n}\n\nBuffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\n this[offset] = (value >>> 8)\n this[offset + 1] = (value & 0xff)\n return offset + 2\n}\n\nBuffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n this[offset + 2] = (value >>> 16)\n this[offset + 3] = (value >>> 24)\n return offset + 4\n}\n\nBuffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\n if (value < 0) value = 0xffffffff + value + 1\n this[offset] = (value >>> 24)\n this[offset + 1] = (value >>> 16)\n this[offset + 2] = (value >>> 8)\n this[offset + 3] = (value & 0xff)\n return offset + 4\n}\n\nfunction checkIEEE754 (buf, value, offset, ext, max, min) {\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\n if (offset < 0) throw new RangeError('Index out of range')\n}\n\nfunction writeFloat (buf, value, offset, littleEndian, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38)\n }\n ieee754.write(buf, value, offset, littleEndian, 23, 4)\n return offset + 4\n}\n\nBuffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {\n return writeFloat(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {\n return writeFloat(this, value, offset, false, noAssert)\n}\n\nfunction writeDouble (buf, value, offset, littleEndian, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308)\n }\n ieee754.write(buf, value, offset, littleEndian, 52, 8)\n return offset + 8\n}\n\nBuffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {\n return writeDouble(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {\n return writeDouble(this, value, offset, false, noAssert)\n}\n\n// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)\nBuffer.prototype.copy = function copy (target, targetStart, start, end) {\n if (!Buffer.isBuffer(target)) throw new TypeError('argument should be a Buffer')\n if (!start) start = 0\n if (!end && end !== 0) end = this.length\n if (targetStart >= target.length) targetStart = target.length\n if (!targetStart) targetStart = 0\n if (end > 0 && end < start) end = start\n\n // Copy 0 bytes; we're done\n if (end === start) return 0\n if (target.length === 0 || this.length === 0) return 0\n\n // Fatal error conditions\n if (targetStart < 0) {\n throw new RangeError('targetStart out of bounds')\n }\n if (start < 0 || start >= this.length) throw new RangeError('Index out of range')\n if (end < 0) throw new RangeError('sourceEnd out of bounds')\n\n // Are we oob?\n if (end > this.length) end = this.length\n if (target.length - targetStart < end - start) {\n end = target.length - targetStart + start\n }\n\n var len = end - start\n\n if (this === target && typeof Uint8Array.prototype.copyWithin === 'function') {\n // Use built-in when available, missing from IE11\n this.copyWithin(targetStart, start, end)\n } else if (this === target && start < targetStart && targetStart < end) {\n // descending copy from end\n for (var i = len - 1; i >= 0; --i) {\n target[i + targetStart] = this[i + start]\n }\n } else {\n Uint8Array.prototype.set.call(\n target,\n this.subarray(start, end),\n targetStart\n )\n }\n\n return len\n}\n\n// Usage:\n// buffer.fill(number[, offset[, end]])\n// buffer.fill(buffer[, offset[, end]])\n// buffer.fill(string[, offset[, end]][, encoding])\nBuffer.prototype.fill = function fill (val, start, end, encoding) {\n // Handle string cases:\n if (typeof val === 'string') {\n if (typeof start === 'string') {\n encoding = start\n start = 0\n end = this.length\n } else if (typeof end === 'string') {\n encoding = end\n end = this.length\n }\n if (encoding !== undefined && typeof encoding !== 'string') {\n throw new TypeError('encoding must be a string')\n }\n if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) {\n throw new TypeError('Unknown encoding: ' + encoding)\n }\n if (val.length === 1) {\n var code = val.charCodeAt(0)\n if ((encoding === 'utf8' && code < 128) ||\n encoding === 'latin1') {\n // Fast path: If `val` fits into a single byte, use that numeric value.\n val = code\n }\n }\n } else if (typeof val === 'number') {\n val = val & 255\n } else if (typeof val === 'boolean') {\n val = Number(val)\n }\n\n // Invalid ranges are not set to a default, so can range check early.\n if (start < 0 || this.length < start || this.length < end) {\n throw new RangeError('Out of range index')\n }\n\n if (end <= start) {\n return this\n }\n\n start = start >>> 0\n end = end === undefined ? this.length : end >>> 0\n\n if (!val) val = 0\n\n var i\n if (typeof val === 'number') {\n for (i = start; i < end; ++i) {\n this[i] = val\n }\n } else {\n var bytes = Buffer.isBuffer(val)\n ? val\n : Buffer.from(val, encoding)\n var len = bytes.length\n if (len === 0) {\n throw new TypeError('The value \"' + val +\n '\" is invalid for argument \"value\"')\n }\n for (i = 0; i < end - start; ++i) {\n this[i + start] = bytes[i % len]\n }\n }\n\n return this\n}\n\n// HELPER FUNCTIONS\n// ================\n\nvar INVALID_BASE64_RE = /[^+/0-9A-Za-z-_]/g\n\nfunction base64clean (str) {\n // Node takes equal signs as end of the Base64 encoding\n str = str.split('=')[0]\n // Node strips out invalid characters like \\n and \\t from the string, base64-js does not\n str = str.trim().replace(INVALID_BASE64_RE, '')\n // Node converts strings with length < 2 to ''\n if (str.length < 2) return ''\n // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not\n while (str.length % 4 !== 0) {\n str = str + '='\n }\n return str\n}\n\nfunction utf8ToBytes (string, units) {\n units = units || Infinity\n var codePoint\n var length = string.length\n var leadSurrogate = null\n var bytes = []\n\n for (var i = 0; i < length; ++i) {\n codePoint = string.charCodeAt(i)\n\n // is surrogate component\n if (codePoint > 0xD7FF && codePoint < 0xE000) {\n // last char was a lead\n if (!leadSurrogate) {\n // no lead yet\n if (codePoint > 0xDBFF) {\n // unexpected trail\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n continue\n } else if (i + 1 === length) {\n // unpaired lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n continue\n }\n\n // valid lead\n leadSurrogate = codePoint\n\n continue\n }\n\n // 2 leads in a row\n if (codePoint < 0xDC00) {\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n leadSurrogate = codePoint\n continue\n }\n\n // valid surrogate pair\n codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000\n } else if (leadSurrogate) {\n // valid bmp char, but last char was a lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n }\n\n leadSurrogate = null\n\n // encode utf8\n if (codePoint < 0x80) {\n if ((units -= 1) < 0) break\n bytes.push(codePoint)\n } else if (codePoint < 0x800) {\n if ((units -= 2) < 0) break\n bytes.push(\n codePoint >> 0x6 | 0xC0,\n codePoint & 0x3F | 0x80\n )\n } else if (codePoint < 0x10000) {\n if ((units -= 3) < 0) break\n bytes.push(\n codePoint >> 0xC | 0xE0,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n )\n } else if (codePoint < 0x110000) {\n if ((units -= 4) < 0) break\n bytes.push(\n codePoint >> 0x12 | 0xF0,\n codePoint >> 0xC & 0x3F | 0x80,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n )\n } else {\n throw new Error('Invalid code point')\n }\n }\n\n return bytes\n}\n\nfunction asciiToBytes (str) {\n var byteArray = []\n for (var i = 0; i < str.length; ++i) {\n // Node's code seems to be doing this and not & 0x7F..\n byteArray.push(str.charCodeAt(i) & 0xFF)\n }\n return byteArray\n}\n\nfunction utf16leToBytes (str, units) {\n var c, hi, lo\n var byteArray = []\n for (var i = 0; i < str.length; ++i) {\n if ((units -= 2) < 0) break\n\n c = str.charCodeAt(i)\n hi = c >> 8\n lo = c % 256\n byteArray.push(lo)\n byteArray.push(hi)\n }\n\n return byteArray\n}\n\nfunction base64ToBytes (str) {\n return base64.toByteArray(base64clean(str))\n}\n\nfunction blitBuffer (src, dst, offset, length) {\n for (var i = 0; i < length; ++i) {\n if ((i + offset >= dst.length) || (i >= src.length)) break\n dst[i + offset] = src[i]\n }\n return i\n}\n\n// ArrayBuffer or Uint8Array objects from other contexts (i.e. iframes) do not pass\n// the `instanceof` check but they should be treated as of that type.\n// See: https://github.com/feross/buffer/issues/166\nfunction isInstance (obj, type) {\n return obj instanceof type ||\n (obj != null && obj.constructor != null && obj.constructor.name != null &&\n obj.constructor.name === type.name)\n}\nfunction numberIsNaN (obj) {\n // For IE11 support\n return obj !== obj // eslint-disable-line no-self-compare\n}\n\n// Create lookup table for `toString('hex')`\n// See: https://github.com/feross/buffer/issues/219\nvar hexSliceLookupTable = (function () {\n var alphabet = '0123456789abcdef'\n var table = new Array(256)\n for (var i = 0; i < 16; ++i) {\n var i16 = i * 16\n for (var j = 0; j < 16; ++j) {\n table[i16 + j] = alphabet[i] + alphabet[j]\n }\n }\n return table\n})()\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar callBind = require('./');\n\nvar $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));\n\nmodule.exports = function callBoundIntrinsic(name, allowMissing) {\n\tvar intrinsic = GetIntrinsic(name, !!allowMissing);\n\tif (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {\n\t\treturn callBind(intrinsic);\n\t}\n\treturn intrinsic;\n};\n","'use strict';\n\nvar bind = require('function-bind');\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $apply = GetIntrinsic('%Function.prototype.apply%');\nvar $call = GetIntrinsic('%Function.prototype.call%');\nvar $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);\n\nvar $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);\nvar $defineProperty = GetIntrinsic('%Object.defineProperty%', true);\nvar $max = GetIntrinsic('%Math.max%');\n\nif ($defineProperty) {\n\ttry {\n\t\t$defineProperty({}, 'a', { value: 1 });\n\t} catch (e) {\n\t\t// IE 8 has a broken defineProperty\n\t\t$defineProperty = null;\n\t}\n}\n\nmodule.exports = function callBind(originalFunction) {\n\tvar func = $reflectApply(bind, $call, arguments);\n\tif ($gOPD && $defineProperty) {\n\t\tvar desc = $gOPD(func, 'length');\n\t\tif (desc.configurable) {\n\t\t\t// original length, plus the receiver, minus any additional arguments (after the receiver)\n\t\t\t$defineProperty(\n\t\t\t\tfunc,\n\t\t\t\t'length',\n\t\t\t\t{ value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }\n\t\t\t);\n\t\t}\n\t}\n\treturn func;\n};\n\nvar applyBind = function applyBind() {\n\treturn $reflectApply(bind, $apply, arguments);\n};\n\nif ($defineProperty) {\n\t$defineProperty(module.exports, 'apply', { value: applyBind });\n} else {\n\tmodule.exports.apply = applyBind;\n}\n","var clone = (function() {\n'use strict';\n\nfunction _instanceof(obj, type) {\n return type != null && obj instanceof type;\n}\n\nvar nativeMap;\ntry {\n nativeMap = Map;\n} catch(_) {\n // maybe a reference error because no `Map`. Give it a dummy value that no\n // value will ever be an instanceof.\n nativeMap = function() {};\n}\n\nvar nativeSet;\ntry {\n nativeSet = Set;\n} catch(_) {\n nativeSet = function() {};\n}\n\nvar nativePromise;\ntry {\n nativePromise = Promise;\n} catch(_) {\n nativePromise = function() {};\n}\n\n/**\n * Clones (copies) an Object using deep copying.\n *\n * This function supports circular references by default, but if you are certain\n * there are no circular references in your object, you can save some CPU time\n * by calling clone(obj, false).\n *\n * Caution: if `circular` is false and `parent` contains circular references,\n * your program may enter an infinite loop and crash.\n *\n * @param `parent` - the object to be cloned\n * @param `circular` - set to true if the object to be cloned may contain\n * circular references. (optional - true by default)\n * @param `depth` - set to a number if the object is only to be cloned to\n * a particular depth. (optional - defaults to Infinity)\n * @param `prototype` - sets the prototype to be used when cloning an object.\n * (optional - defaults to parent prototype).\n * @param `includeNonEnumerable` - set to true if the non-enumerable properties\n * should be cloned as well. Non-enumerable properties on the prototype\n * chain will be ignored. (optional - false by default)\n*/\nfunction clone(parent, circular, depth, prototype, includeNonEnumerable) {\n if (typeof circular === 'object') {\n depth = circular.depth;\n prototype = circular.prototype;\n includeNonEnumerable = circular.includeNonEnumerable;\n circular = circular.circular;\n }\n // maintain two arrays for circular references, where corresponding parents\n // and children have the same index\n var allParents = [];\n var allChildren = [];\n\n var useBuffer = typeof Buffer != 'undefined';\n\n if (typeof circular == 'undefined')\n circular = true;\n\n if (typeof depth == 'undefined')\n depth = Infinity;\n\n // recurse this function so we don't reset allParents and allChildren\n function _clone(parent, depth) {\n // cloning null always returns null\n if (parent === null)\n return null;\n\n if (depth === 0)\n return parent;\n\n var child;\n var proto;\n if (typeof parent != 'object') {\n return parent;\n }\n\n if (_instanceof(parent, nativeMap)) {\n child = new nativeMap();\n } else if (_instanceof(parent, nativeSet)) {\n child = new nativeSet();\n } else if (_instanceof(parent, nativePromise)) {\n child = new nativePromise(function (resolve, reject) {\n parent.then(function(value) {\n resolve(_clone(value, depth - 1));\n }, function(err) {\n reject(_clone(err, depth - 1));\n });\n });\n } else if (clone.__isArray(parent)) {\n child = [];\n } else if (clone.__isRegExp(parent)) {\n child = new RegExp(parent.source, __getRegExpFlags(parent));\n if (parent.lastIndex) child.lastIndex = parent.lastIndex;\n } else if (clone.__isDate(parent)) {\n child = new Date(parent.getTime());\n } else if (useBuffer && Buffer.isBuffer(parent)) {\n if (Buffer.allocUnsafe) {\n // Node.js >= 4.5.0\n child = Buffer.allocUnsafe(parent.length);\n } else {\n // Older Node.js versions\n child = new Buffer(parent.length);\n }\n parent.copy(child);\n return child;\n } else if (_instanceof(parent, Error)) {\n child = Object.create(parent);\n } else {\n if (typeof prototype == 'undefined') {\n proto = Object.getPrototypeOf(parent);\n child = Object.create(proto);\n }\n else {\n child = Object.create(prototype);\n proto = prototype;\n }\n }\n\n if (circular) {\n var index = allParents.indexOf(parent);\n\n if (index != -1) {\n return allChildren[index];\n }\n allParents.push(parent);\n allChildren.push(child);\n }\n\n if (_instanceof(parent, nativeMap)) {\n parent.forEach(function(value, key) {\n var keyChild = _clone(key, depth - 1);\n var valueChild = _clone(value, depth - 1);\n child.set(keyChild, valueChild);\n });\n }\n if (_instanceof(parent, nativeSet)) {\n parent.forEach(function(value) {\n var entryChild = _clone(value, depth - 1);\n child.add(entryChild);\n });\n }\n\n for (var i in parent) {\n var attrs;\n if (proto) {\n attrs = Object.getOwnPropertyDescriptor(proto, i);\n }\n\n if (attrs && attrs.set == null) {\n continue;\n }\n child[i] = _clone(parent[i], depth - 1);\n }\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(parent);\n for (var i = 0; i < symbols.length; i++) {\n // Don't need to worry about cloning a symbol because it is a primitive,\n // like a number or string.\n var symbol = symbols[i];\n var descriptor = Object.getOwnPropertyDescriptor(parent, symbol);\n if (descriptor && !descriptor.enumerable && !includeNonEnumerable) {\n continue;\n }\n child[symbol] = _clone(parent[symbol], depth - 1);\n if (!descriptor.enumerable) {\n Object.defineProperty(child, symbol, {\n enumerable: false\n });\n }\n }\n }\n\n if (includeNonEnumerable) {\n var allPropertyNames = Object.getOwnPropertyNames(parent);\n for (var i = 0; i < allPropertyNames.length; i++) {\n var propertyName = allPropertyNames[i];\n var descriptor = Object.getOwnPropertyDescriptor(parent, propertyName);\n if (descriptor && descriptor.enumerable) {\n continue;\n }\n child[propertyName] = _clone(parent[propertyName], depth - 1);\n Object.defineProperty(child, propertyName, {\n enumerable: false\n });\n }\n }\n\n return child;\n }\n\n return _clone(parent, depth);\n}\n\n/**\n * Simple flat clone using prototype, accepts only objects, usefull for property\n * override on FLAT configuration object (no nested props).\n *\n * USE WITH CAUTION! This may not behave as you wish if you do not know how this\n * works.\n */\nclone.clonePrototype = function clonePrototype(parent) {\n if (parent === null)\n return null;\n\n var c = function () {};\n c.prototype = parent;\n return new c();\n};\n\n// private utility functions\n\nfunction __objToStr(o) {\n return Object.prototype.toString.call(o);\n}\nclone.__objToStr = __objToStr;\n\nfunction __isDate(o) {\n return typeof o === 'object' && __objToStr(o) === '[object Date]';\n}\nclone.__isDate = __isDate;\n\nfunction __isArray(o) {\n return typeof o === 'object' && __objToStr(o) === '[object Array]';\n}\nclone.__isArray = __isArray;\n\nfunction __isRegExp(o) {\n return typeof o === 'object' && __objToStr(o) === '[object RegExp]';\n}\nclone.__isRegExp = __isRegExp;\n\nfunction __getRegExpFlags(re) {\n var flags = '';\n if (re.global) flags += 'g';\n if (re.ignoreCase) flags += 'i';\n if (re.multiline) flags += 'm';\n return flags;\n}\nclone.__getRegExpFlags = __getRegExpFlags;\n\nreturn clone;\n})();\n\nif (typeof module === 'object' && module.exports) {\n module.exports = clone;\n}\n","/**\r\n * CSS-JSON Converter for JavaScript\r\n * Converts CSS to JSON and back.\r\n * Version 2.1\r\n *\r\n * Released under the MIT license.\r\n *\r\n * Copyright (c) 2013 Aram Kocharyan, http://aramk.com/\r\n\r\n Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated\r\n documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation\r\n the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and\r\n to permit persons to whom the Software is furnished to do so, subject to the following conditions:\r\n\r\n The above copyright notice and this permission notice shall be included in all copies or substantial portions\r\n of the Software.\r\n\r\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO\r\n THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\r\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\r\n TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\r\n THE SOFTWARE.\r\n */\r\n\r\n\r\n/*******************************************************************************\r\n * UMD pattern for exporting module\r\n */\r\n(function (root, factory) {\r\n if (typeof define === 'function' && define.amd) {\r\n // AMD. Register as an anonymous module.\r\n define([], factory);\r\n } else if (typeof exports === 'object') {\r\n // Node. Does not work with strict CommonJS, but\r\n // only CommonJS-like environments that support module.exports,\r\n // like Node.\r\n module.exports = factory();\r\n } else {\r\n // Browser globals (root is window)\r\n root.CSSJSON = factory();\r\n }\r\n}(this, function () {\r\n\r\n var CSSJSON = new function () {\r\n\r\n var base = this;\r\n\r\n base.init = function () {\r\n // String functions\r\n String.prototype.trim = function () {\r\n return this.replace(/^\\s+|\\s+$/g, '');\r\n };\r\n\r\n String.prototype.repeat = function (n) {\r\n return new Array(1 + n).join(this);\r\n };\r\n };\r\n base.init();\r\n\r\n var selX = /([^\\s\\;\\{\\}][^\\;\\{\\}]*)\\{/g;\r\n var endX = /\\}/g;\r\n var lineX = /([^\\;\\{\\}]*)\\;/g;\r\n var commentX = /\\/\\*[\\s\\S]*?\\*\\//g;\r\n var lineAttrX = /([^\\:]+):([^\\;]*);/;\r\n\r\n // This is used, a concatenation of all above. We use alternation to\r\n // capture.\r\n var altX = /(\\/\\*[\\s\\S]*?\\*\\/)|([^\\s\\;\\{\\}][^\\;\\{\\}]*(?=\\{))|(\\})|([^\\;\\{\\}]+\\;(?!\\s*\\*\\/))/gmi;\r\n\r\n // Capture groups\r\n var capComment = 1;\r\n var capSelector = 2;\r\n var capEnd = 3;\r\n var capAttr = 4;\r\n\r\n var isEmpty = function (x) {\r\n return typeof x == 'undefined' || x.length == 0 || x == null;\r\n };\r\n\r\n /**\r\n * Input is css string and current pos, returns JSON object\r\n *\r\n * @param cssString\r\n * The CSS string.\r\n * @param args\r\n * An optional argument object. ordered: Whether order of\r\n * comments and other nodes should be kept in the output. This\r\n * will return an object where all the keys are numbers and the\r\n * values are objects containing \"name\" and \"value\" keys for each\r\n * node. comments: Whether to capture comments. split: Whether to\r\n * split each comma separated list of selectors.\r\n */\r\n base.toJSON = function (cssString, args) {\r\n var node = {\r\n children: {},\r\n attributes: {}\r\n };\r\n var match = null;\r\n var count = 0;\r\n\r\n if (typeof args == 'undefined') {\r\n var args = {\r\n ordered: false,\r\n comments: false,\r\n stripComments: false,\r\n split: false\r\n };\r\n }\r\n if (args.stripComments) {\r\n args.comments = false;\r\n cssString = cssString.replace(commentX, '');\r\n }\r\n\r\n while ((match = altX.exec(cssString)) != null) {\r\n if (!isEmpty(match[capComment]) && args.comments) {\r\n // Comment\r\n var add = match[capComment].trim();\r\n node[count++] = add;\r\n } else if (!isEmpty(match[capSelector])) {\r\n // New node, we recurse\r\n var name = match[capSelector].trim();\r\n // This will return when we encounter a closing brace\r\n var newNode = base.toJSON(cssString, args);\r\n if (args.ordered) {\r\n var obj = {};\r\n obj['name'] = name;\r\n obj['value'] = newNode;\r\n // Since we must use key as index to keep order and not\r\n // name, this will differentiate between a Rule Node and an\r\n // Attribute, since both contain a name and value pair.\r\n obj['type'] = 'rule';\r\n node[count++] = obj;\r\n } else {\r\n if (args.split) {\r\n var bits = name.split(',');\r\n } else {\r\n var bits = [name];\r\n }\r\n for (i in bits) {\r\n var sel = bits[i].trim();\r\n if (sel in node.children) {\r\n for (var att in newNode.attributes) {\r\n node.children[sel].attributes[att] = newNode.attributes[att];\r\n }\r\n } else {\r\n node.children[sel] = newNode;\r\n }\r\n }\r\n }\r\n } else if (!isEmpty(match[capEnd])) {\r\n // Node has finished\r\n return node;\r\n } else if (!isEmpty(match[capAttr])) {\r\n var line = match[capAttr].trim();\r\n var attr = lineAttrX.exec(line);\r\n if (attr) {\r\n // Attribute\r\n var name = attr[1].trim();\r\n var value = attr[2].trim();\r\n if (args.ordered) {\r\n var obj = {};\r\n obj['name'] = name;\r\n obj['value'] = value;\r\n obj['type'] = 'attr';\r\n node[count++] = obj;\r\n } else {\r\n if (name in node.attributes) {\r\n var currVal = node.attributes[name];\r\n if (!(currVal instanceof Array)) {\r\n node.attributes[name] = [currVal];\r\n }\r\n node.attributes[name].push(value);\r\n } else {\r\n node.attributes[name] = value;\r\n }\r\n }\r\n } else {\r\n // Semicolon terminated line\r\n node[count++] = line;\r\n }\r\n }\r\n }\r\n\r\n return node;\r\n };\r\n\r\n /**\r\n * @param node\r\n * A JSON node.\r\n * @param depth\r\n * The depth of the current node; used for indentation and\r\n * optional.\r\n * @param breaks\r\n * Whether to add line breaks in the output.\r\n */\r\n base.toCSS = function (node, depth, breaks) {\r\n var cssString = '';\r\n if (typeof depth == 'undefined') {\r\n depth = 0;\r\n }\r\n if (typeof breaks == 'undefined') {\r\n breaks = false;\r\n }\r\n if (node.attributes) {\r\n for (i in node.attributes) {\r\n var att = node.attributes[i];\r\n if (att instanceof Array) {\r\n for (var j = 0; j < att.length; j++) {\r\n cssString += strAttr(i, att[j], depth);\r\n }\r\n } else {\r\n cssString += strAttr(i, att, depth);\r\n }\r\n }\r\n }\r\n if (node.children) {\r\n var first = true;\r\n for (i in node.children) {\r\n if (breaks && !first) {\r\n cssString += '\\n';\r\n } else {\r\n first = false;\r\n }\r\n cssString += strNode(i, node.children[i], depth);\r\n }\r\n }\r\n return cssString;\r\n };\r\n\r\n // Helpers\r\n\r\n var strAttr = function (name, value, depth) {\r\n return '\\t'.repeat(depth) + name + ': ' + value + ';\\n';\r\n };\r\n\r\n var strNode = function (name, value, depth) {\r\n var cssString = '\\t'.repeat(depth) + name + ' {\\n';\r\n cssString += base.toCSS(value, depth + 1);\r\n cssString += '\\t'.repeat(depth) + '}\\n';\r\n return cssString;\r\n };\r\n\r\n };\r\n\r\n return CSSJSON;\r\n}));\r\n","(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n typeof define === 'function' && define.amd ? define(['exports'], factory) :\n (global = global || self, factory(global.curriable = {}));\n}(this, function (exports) { 'use strict';\n\n /**\r\n * @constant __ placeholder used when parameters are skipped\r\n */\r\n var __ = typeof Symbol === 'function' ? Symbol('curriable placeholder') : 0xedd1;\r\n /**\r\n * @function recursiveCurry\r\n *\r\n * @description\r\n * recursively curry over the arguments until all have been resolved\r\n *\r\n * @param fn the function to curry\r\n * @param arity the length of the function to curry until\r\n * @param args the existing arguments\r\n * @returns the result of the function call\r\n */\r\n function getCurried(fn, arity) {\r\n function _curried(args) {\r\n return function () {\r\n var length = args.length;\r\n var newArgs = arguments;\r\n var newArgsLength = newArgs.length;\r\n var combined = [];\r\n var newArgsIndex = 0;\r\n var remaining = arity;\r\n var value;\r\n if (length) {\r\n var index = -1;\r\n while (++index < length) {\r\n combined[index] = value =\r\n args[index] === __ && newArgsIndex < newArgsLength\r\n ? newArgs[newArgsIndex++]\r\n : args[index];\r\n if (value !== __) {\r\n --remaining;\r\n }\r\n }\r\n }\r\n if (newArgsIndex < newArgsLength) {\r\n while (newArgsIndex < newArgsLength) {\r\n combined[combined.length] = value = newArgs[newArgsIndex];\r\n if (value !== __ && newArgsIndex < arity) {\r\n --remaining;\r\n }\r\n ++newArgsIndex;\r\n }\r\n }\r\n return remaining > 0 ? _curried(combined) : fn.apply(this, combined);\r\n };\r\n }\r\n return _curried([]);\r\n }\n\n // utils\r\n function curry(fn, arityOverride) {\r\n var arity = typeof arityOverride === 'number' ? arityOverride : fn.length;\r\n var curried = getCurried(fn, arity);\r\n curried.arity = arity;\r\n curried.fn = fn;\r\n return curried;\r\n }\r\n curry.__ = __;\r\n /**\r\n * @function isPlaceholder\r\n *\r\n * @description\r\n * is the value passed a placeholder\r\n *\r\n * @param value the value to test\r\n * @returns whether the value is a placeholder\r\n */\r\n function isPlaceholder(value) {\r\n return value === __;\r\n }\r\n curry.isPlaceholder = isPlaceholder;\r\n /**\r\n * @function uncurry\r\n *\r\n * @description\r\n * return a function that is the non-curried version of the fn passed\r\n *\r\n * @param curried the curried function to uncurry\r\n * @returns the original fn\r\n */\r\n function uncurry(curried) {\r\n return curried.fn;\r\n }\r\n curry.uncurry = uncurry;\n\n exports.__ = __;\n exports.curry = curry;\n exports.default = curry;\n exports.isPlaceholder = isPlaceholder;\n exports.uncurry = uncurry;\n\n Object.defineProperty(exports, '__esModule', { value: true });\n\n}));\n","'use strict'\n\n/*!\n * imports.\n */\n\nvar bind = Function.prototype.bind || require('fast-bind')\n\n/*!\n * exports.\n */\n\nmodule.exports = curry2\n\n/**\n * Curry a binary function.\n *\n * @param {Function} fn\n * Binary function to curry.\n *\n * @param {Object} [self]\n * Function `this` context.\n *\n * @return {Function|*}\n * If partially applied, return unary function, otherwise, return result of full application.\n */\n\nfunction curry2 (fn, self) {\n var out = function () {\n if (arguments.length === 0) return out\n\n return arguments.length > 1\n ? fn.apply(self, arguments)\n : bind.call(fn, self, arguments[0])\n }\n\n out.uncurry = function uncurry () {\n return fn\n }\n\n return out\n}\n","(function (global, factory) {\n\ttypeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :\n\ttypeof define === 'function' && define.amd ? define(factory) :\n\t(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.merge = factory());\n})(this, (function () { 'use strict';\n\n\tconst FK = '__proto__';\n\tconst directReplace = (_, pos) => pos;\n\tconst shallowCopyArray = (_, pos) => pos.map(e => merge(e));\n\tconst shallowCopyObj = (_, pos) => {\n\t\tif (pos && pos.hasOwnProperty('__proto__')) {\n\t\t\tconst res = {};\n\t\t\tfor (let e in pos) {\n\t\t\t\tif (e !== FK) res[e] = pos[e];\n\t\t\t}\n\t\t\treturn res;\n\t\t}\n\t\treturn Object.assign({}, pos);\n\t};\n\n\t// const _clone = (_, pos) => merge(pos);\n\n\n\tconst mergeObjects = function (pre, pos) {\n\t\tpre = shallowCopyObj(undefined, pre);\n\t\tObject.keys(pos).forEach(k => { if (k !== FK) pre[k] = merge(pre[k], pos[k]); });\n\t\treturn pre;\n\t};\n\n\tconst mergeArrays = function (pre, pos) {\n\t\tpre = shallowCopyArray(undefined, pre);\n\t\tpos.forEach((v, i) => (pre[i] = merge(pre[i], v)));\n\t\treturn pre;\n\t};\n\n\tconst mergeArrayWithParams = function (pre, pos) {\n\t\tpre = shallowCopyArray(undefined, pre);\n\t\tObject.keys(pos).forEach(key => {\n\t\t\tif (key !== FK) {\n\t\t\t\tpre = key in arrayMergeFn ? arrayMergeFn[key](pre, pos[key]) : pos;\n\t\t\t}\n\t\t});\n\n\t\treturn pre;\n\t};\n\n\tconst indexedReplace = function (pre, pos) {\n\t\tpre = shallowCopyArray(undefined, pre);\n\t\tlet kn;\n\t\tObject.keys(pos).forEach(k => {\n\t\t\tkn = Number.parseInt(k);\n\t\t\tif (kn < 0 || Number.isNaN(kn)) throw Error(`Invalid index for $replace: ${k}`);\n\t\t\tpre[kn] = merge.clone(pos[k]);\n\t\t});\n\t\treturn pre;\n\t};\n\n\tconst indexedMerge = function (pre, pos) {\n\t\tpre = pre.slice();\n\t\tlet kn;\n\t\tObject.keys(pos).forEach(k => {\n\t\t\tkn = Number.parseInt(k);\n\t\t\tif (kn < 0 || Number.isNaN(kn)) throw Error(`Invalid index for $merge: ${k}`);\n\t\t\tpre[kn] = merge(pre[kn], pos[k]);\n\t\t});\n\t\treturn pre;\n\t};\n\n\tconst insert = function (pre, pos) {\n\t\tpre = shallowCopyArray(undefined, pre);\n\t\tlet kn;\n\t\tObject.keys(pos).forEach(k => {\n\t\t\tkn = Number.parseInt(k);\n\t\t\tif (Number.isNaN(kn)) throw Error(`Invalid index for $insert: ${k}`);\n\t\t\tpre.splice(kn, 0, pos[k]);\n\t\t});\n\t\treturn pre;\n\t};\n\n\tconst arrayMergeFn = {\n\t\t$push: (pre, pos) => pre.concat(pos),\n\t\t$append: (pre, pos) => pre.concat(pos),\n\t\t$prepend: (pre, pos) => pos.concat(pre),\n\t\t$replace: indexedReplace,\n\t\t$merge: indexedMerge,\n\t\t$insert: insert,\n\t\t$set: shallowCopyArray,\t// TODO clone\n\t};\n\n\tconst fn = {\n\t\too: mergeObjects,\n\t\toa: shallowCopyObj,\t\t// TODO clone\n\t\tob: directReplace,\n\n\t\taa: mergeArrays,\n\t\tao: mergeArrayWithParams,\n\t\tab: directReplace,\n\n\t\tbb: directReplace,\n\t\tbo: shallowCopyObj,\t\t// TODO clone\n\t\tba: shallowCopyArray,\t// TODO clone\n\t};\n\n\t/**\n\t * Deeply merge objects. Properties from the second parameter overrides the ones with the same path\n\t * in the first object.\n\t * \n\t * Arrays can be merged or changed with `$push`, `$prepend`, `$set`, `$replace` or `$insert`\n\t * operations. Multiple operations can be passed.\n\t * \n\t * @see {@link https://github.com/kleber-swf/deepmerge-json#readme}\n\t * @param {any} pre Base object\n\t * @param {any} pos Object that will overrite base properties. If none is given, the first object is\n\t * \t\t\t deeply cloned\n\t * @returns {any} A deep clone object containing a combination of all\n\t * \t\t\tproperties from pre and pos arguments.\n\t */\n\tfunction merge(pre, pos) {\n\t\tif (pos === undefined) {\n\t\t\tif (pre == null) return pre;\n\t\t\tif (Array.isArray(pre)) pos = [];\n\t\t\telse if (typeof pre === 'object') pos = {};\n\t\t\telse pos = pre;\n\t\t} else if (pos === null) {\n\t\t\treturn null;\n\t\t}\n\t\tconst tt = Array.isArray(pre) ? 'a' : typeof pre === 'object' ? 'o' : 'b';\n\t\tconst st = Array.isArray(pos) ? 'a' : typeof pos === 'object' ? 'o' : 'b';\n\t\treturn fn[tt + st](pre, pos);\n\t}\n\n\t/**\n\t * Deeply clones an object. This method is an alias to {@linkcode merge} with a single parameter.\n\t * \n\t * @template T\n\t * @param {T} obj The object to be cloned\n\t * @returns {T} The object passed as parameter deeply cloned.\n\t */\n\tmerge.clone = obj => merge(obj);\n\n\t/**\n\t * Merges multiple objects. It respects the order of the parameters and the operations just like\n\t * expected if you call {@linkcode merge} multiple times passing the last result as the first\n\t * parameter to the next call.\n\t * \n\t * @param {any} pre The required first object\n\t * @param {...any} args Subsequential objects. Keep in mind that their order matters.\n\t * @returns {any} A deeply merged object containing all of the parameters\n\t */\n\tmerge.multi = (pre, ...args) => {\n\t\tif (!args) return merge(pre);\n\t\tfor (let i = 0; i < args.length; i++) {\n\t\t\tpre = merge(pre, args[i]);\n\t\t}\n\t\treturn pre;\n\t};\n\n\t// TODO Test the following approach: clone both objects at the start so we won't need to\n\t// keep cloning the objects individually during the process.\n\t// 1. we can clone with JSON.parse(JSON.stringify) and check the __proto__ during the merge\n\t// 2. we can clone manually and check for __proto__ during this phase\n\n\treturn merge;\n\n}));\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = exports.nthElement = exports.parentElements = void 0;\n\nvar parentElements = function parentElements(element) {\n var parents = [];\n\n while (element) {\n var tagName = element.nodeName.toLowerCase();\n var cssId = element.id ? \"#\".concat(element.id) : '';\n var cssClass = '';\n\n if (element.className && typeof element.className === 'string') {\n // escape class names\n cssClass = \".\".concat(element.className.replace(/\\s+/g, '.').replace(/[:*+?^${}()|[\\]\\\\]/gi, '\\\\$&'));\n }\n\n parents.unshift({\n element: element,\n selector: tagName + cssId + cssClass\n });\n element = element.parentNode !== document ? element.parentNode : false;\n }\n\n return parents;\n};\n\nexports.parentElements = parentElements;\n\nvar nthElement = function nthElement(element) {\n var sameType = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n var c = element;\n var nth = 1;\n\n while (c.previousElementSibling !== null) {\n if (!sameType || c.previousElementSibling.nodeName === element.nodeName) {\n nth++;\n }\n\n c = c.previousElementSibling;\n }\n\n return nth;\n};\n\nexports.nthElement = nthElement;\n\nvar nthSelectorNeeded = function nthSelectorNeeded(selector, path) {\n var querySelector = path === '' ? selector : \"\".concat(path, \" > \").concat(selector);\n return document.querySelectorAll(querySelector).length > 1;\n};\n\nvar buildPathString = function buildPathString(parents) {\n var pathArr = [];\n parents.forEach(function (parent) {\n if (nthSelectorNeeded(parent.selector, pathArr.join(' > '))) {\n parent.selector += \":nth-of-type(\".concat(nthElement(parent.element), \")\");\n }\n\n pathArr.push(parent.selector);\n });\n return pathArr.join(' > ');\n};\n\nvar domElementPath = function domElementPath(element) {\n if (!(element instanceof HTMLElement)) {\n throw new Error('element must be of type `HTMLElement`.');\n }\n\n return buildPathString(parentElements(element));\n};\n\nvar _default = domElementPath;\nexports[\"default\"] = _default;","'use strict'\n\nvar toString = Object.prototype.toString\n\n/**\n * Transform dot-delimited strings to array of strings.\n *\n * @param {String} string\n * Dot-delimited string.\n *\n * @return {Array}\n * Array of strings.\n */\n\nfunction dotsplit (string) {\n var idx = -1\n var str = compact(normalize(string).split('.'))\n var end = str.length\n var out = []\n\n while (++idx < end) {\n out.push(todots(str[idx]))\n }\n\n return out\n}\n\n/**\n * Replace escapes with a placeholder.\n *\n * @param {String} string\n * Dot-delimited string.\n *\n * @return {String}\n * Dot-delimited string with placeholders in place of escapes.\n */\n\nfunction normalize (string) {\n return (toString.call(string) === '[object String]' ? string : '').replace(/\\\\\\./g, '\\uffff')\n}\n\n/**\n * Drop empty values from array.\n *\n * @param {Array} array\n * Array of strings.\n *\n * @return {Array}\n * Array of strings (empty values dropped).\n */\n\nfunction compact (arr) {\n var idx = -1\n var end = arr.length\n var out = []\n\n while (++idx < end) {\n if (arr[idx]) out.push(arr[idx])\n }\n\n return out\n}\n\n/**\n * Change placeholder to dots.\n *\n * @param {String} string\n * Dot-delimited string with placeholders.\n *\n * @return {String}\n * Dot-delimited string without placeholders.\n */\n\nfunction todots (string) {\n return string.replace(/\\uffff/g, '.')\n}\n\n/*!\n * exports.\n */\n\nmodule.exports = dotsplit\n","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n'use strict';\n\nvar R = typeof Reflect === 'object' ? Reflect : null\nvar ReflectApply = R && typeof R.apply === 'function'\n ? R.apply\n : function ReflectApply(target, receiver, args) {\n return Function.prototype.apply.call(target, receiver, args);\n }\n\nvar ReflectOwnKeys\nif (R && typeof R.ownKeys === 'function') {\n ReflectOwnKeys = R.ownKeys\n} else if (Object.getOwnPropertySymbols) {\n ReflectOwnKeys = function ReflectOwnKeys(target) {\n return Object.getOwnPropertyNames(target)\n .concat(Object.getOwnPropertySymbols(target));\n };\n} else {\n ReflectOwnKeys = function ReflectOwnKeys(target) {\n return Object.getOwnPropertyNames(target);\n };\n}\n\nfunction ProcessEmitWarning(warning) {\n if (console && console.warn) console.warn(warning);\n}\n\nvar NumberIsNaN = Number.isNaN || function NumberIsNaN(value) {\n return value !== value;\n}\n\nfunction EventEmitter() {\n EventEmitter.init.call(this);\n}\nmodule.exports = EventEmitter;\nmodule.exports.once = once;\n\n// Backwards-compat with node 0.10.x\nEventEmitter.EventEmitter = EventEmitter;\n\nEventEmitter.prototype._events = undefined;\nEventEmitter.prototype._eventsCount = 0;\nEventEmitter.prototype._maxListeners = undefined;\n\n// By default EventEmitters will print a warning if more than 10 listeners are\n// added to it. This is a useful default which helps finding memory leaks.\nvar defaultMaxListeners = 10;\n\nfunction checkListener(listener) {\n if (typeof listener !== 'function') {\n throw new TypeError('The \"listener\" argument must be of type Function. Received type ' + typeof listener);\n }\n}\n\nObject.defineProperty(EventEmitter, 'defaultMaxListeners', {\n enumerable: true,\n get: function() {\n return defaultMaxListeners;\n },\n set: function(arg) {\n if (typeof arg !== 'number' || arg < 0 || NumberIsNaN(arg)) {\n throw new RangeError('The value of \"defaultMaxListeners\" is out of range. It must be a non-negative number. Received ' + arg + '.');\n }\n defaultMaxListeners = arg;\n }\n});\n\nEventEmitter.init = function() {\n\n if (this._events === undefined ||\n this._events === Object.getPrototypeOf(this)._events) {\n this._events = Object.create(null);\n this._eventsCount = 0;\n }\n\n this._maxListeners = this._maxListeners || undefined;\n};\n\n// Obviously not all Emitters should be limited to 10. This function allows\n// that to be increased. Set to zero for unlimited.\nEventEmitter.prototype.setMaxListeners = function setMaxListeners(n) {\n if (typeof n !== 'number' || n < 0 || NumberIsNaN(n)) {\n throw new RangeError('The value of \"n\" is out of range. It must be a non-negative number. Received ' + n + '.');\n }\n this._maxListeners = n;\n return this;\n};\n\nfunction _getMaxListeners(that) {\n if (that._maxListeners === undefined)\n return EventEmitter.defaultMaxListeners;\n return that._maxListeners;\n}\n\nEventEmitter.prototype.getMaxListeners = function getMaxListeners() {\n return _getMaxListeners(this);\n};\n\nEventEmitter.prototype.emit = function emit(type) {\n var args = [];\n for (var i = 1; i < arguments.length; i++) args.push(arguments[i]);\n var doError = (type === 'error');\n\n var events = this._events;\n if (events !== undefined)\n doError = (doError && events.error === undefined);\n else if (!doError)\n return false;\n\n // If there is no 'error' event listener then throw.\n if (doError) {\n var er;\n if (args.length > 0)\n er = args[0];\n if (er instanceof Error) {\n // Note: The comments on the `throw` lines are intentional, they show\n // up in Node's output if this results in an unhandled exception.\n throw er; // Unhandled 'error' event\n }\n // At least give some kind of context to the user\n var err = new Error('Unhandled error.' + (er ? ' (' + er.message + ')' : ''));\n err.context = er;\n throw err; // Unhandled 'error' event\n }\n\n var handler = events[type];\n\n if (handler === undefined)\n return false;\n\n if (typeof handler === 'function') {\n ReflectApply(handler, this, args);\n } else {\n var len = handler.length;\n var listeners = arrayClone(handler, len);\n for (var i = 0; i < len; ++i)\n ReflectApply(listeners[i], this, args);\n }\n\n return true;\n};\n\nfunction _addListener(target, type, listener, prepend) {\n var m;\n var events;\n var existing;\n\n checkListener(listener);\n\n events = target._events;\n if (events === undefined) {\n events = target._events = Object.create(null);\n target._eventsCount = 0;\n } else {\n // To avoid recursion in the case that type === \"newListener\"! Before\n // adding it to the listeners, first emit \"newListener\".\n if (events.newListener !== undefined) {\n target.emit('newListener', type,\n listener.listener ? listener.listener : listener);\n\n // Re-assign `events` because a newListener handler could have caused the\n // this._events to be assigned to a new object\n events = target._events;\n }\n existing = events[type];\n }\n\n if (existing === undefined) {\n // Optimize the case of one listener. Don't need the extra array object.\n existing = events[type] = listener;\n ++target._eventsCount;\n } else {\n if (typeof existing === 'function') {\n // Adding the second element, need to change to array.\n existing = events[type] =\n prepend ? [listener, existing] : [existing, listener];\n // If we've already got an array, just append.\n } else if (prepend) {\n existing.unshift(listener);\n } else {\n existing.push(listener);\n }\n\n // Check for listener leak\n m = _getMaxListeners(target);\n if (m > 0 && existing.length > m && !existing.warned) {\n existing.warned = true;\n // No error code for this since it is a Warning\n // eslint-disable-next-line no-restricted-syntax\n var w = new Error('Possible EventEmitter memory leak detected. ' +\n existing.length + ' ' + String(type) + ' listeners ' +\n 'added. Use emitter.setMaxListeners() to ' +\n 'increase limit');\n w.name = 'MaxListenersExceededWarning';\n w.emitter = target;\n w.type = type;\n w.count = existing.length;\n ProcessEmitWarning(w);\n }\n }\n\n return target;\n}\n\nEventEmitter.prototype.addListener = function addListener(type, listener) {\n return _addListener(this, type, listener, false);\n};\n\nEventEmitter.prototype.on = EventEmitter.prototype.addListener;\n\nEventEmitter.prototype.prependListener =\n function prependListener(type, listener) {\n return _addListener(this, type, listener, true);\n };\n\nfunction onceWrapper() {\n if (!this.fired) {\n this.target.removeListener(this.type, this.wrapFn);\n this.fired = true;\n if (arguments.length === 0)\n return this.listener.call(this.target);\n return this.listener.apply(this.target, arguments);\n }\n}\n\nfunction _onceWrap(target, type, listener) {\n var state = { fired: false, wrapFn: undefined, target: target, type: type, listener: listener };\n var wrapped = onceWrapper.bind(state);\n wrapped.listener = listener;\n state.wrapFn = wrapped;\n return wrapped;\n}\n\nEventEmitter.prototype.once = function once(type, listener) {\n checkListener(listener);\n this.on(type, _onceWrap(this, type, listener));\n return this;\n};\n\nEventEmitter.prototype.prependOnceListener =\n function prependOnceListener(type, listener) {\n checkListener(listener);\n this.prependListener(type, _onceWrap(this, type, listener));\n return this;\n };\n\n// Emits a 'removeListener' event if and only if the listener was removed.\nEventEmitter.prototype.removeListener =\n function removeListener(type, listener) {\n var list, events, position, i, originalListener;\n\n checkListener(listener);\n\n events = this._events;\n if (events === undefined)\n return this;\n\n list = events[type];\n if (list === undefined)\n return this;\n\n if (list === listener || list.listener === listener) {\n if (--this._eventsCount === 0)\n this._events = Object.create(null);\n else {\n delete events[type];\n if (events.removeListener)\n this.emit('removeListener', type, list.listener || listener);\n }\n } else if (typeof list !== 'function') {\n position = -1;\n\n for (i = list.length - 1; i >= 0; i--) {\n if (list[i] === listener || list[i].listener === listener) {\n originalListener = list[i].listener;\n position = i;\n break;\n }\n }\n\n if (position < 0)\n return this;\n\n if (position === 0)\n list.shift();\n else {\n spliceOne(list, position);\n }\n\n if (list.length === 1)\n events[type] = list[0];\n\n if (events.removeListener !== undefined)\n this.emit('removeListener', type, originalListener || listener);\n }\n\n return this;\n };\n\nEventEmitter.prototype.off = EventEmitter.prototype.removeListener;\n\nEventEmitter.prototype.removeAllListeners =\n function removeAllListeners(type) {\n var listeners, events, i;\n\n events = this._events;\n if (events === undefined)\n return this;\n\n // not listening for removeListener, no need to emit\n if (events.removeListener === undefined) {\n if (arguments.length === 0) {\n this._events = Object.create(null);\n this._eventsCount = 0;\n } else if (events[type] !== undefined) {\n if (--this._eventsCount === 0)\n this._events = Object.create(null);\n else\n delete events[type];\n }\n return this;\n }\n\n // emit removeListener for all listeners on all events\n if (arguments.length === 0) {\n var keys = Object.keys(events);\n var key;\n for (i = 0; i < keys.length; ++i) {\n key = keys[i];\n if (key === 'removeListener') continue;\n this.removeAllListeners(key);\n }\n this.removeAllListeners('removeListener');\n this._events = Object.create(null);\n this._eventsCount = 0;\n return this;\n }\n\n listeners = events[type];\n\n if (typeof listeners === 'function') {\n this.removeListener(type, listeners);\n } else if (listeners !== undefined) {\n // LIFO order\n for (i = listeners.length - 1; i >= 0; i--) {\n this.removeListener(type, listeners[i]);\n }\n }\n\n return this;\n };\n\nfunction _listeners(target, type, unwrap) {\n var events = target._events;\n\n if (events === undefined)\n return [];\n\n var evlistener = events[type];\n if (evlistener === undefined)\n return [];\n\n if (typeof evlistener === 'function')\n return unwrap ? [evlistener.listener || evlistener] : [evlistener];\n\n return unwrap ?\n unwrapListeners(evlistener) : arrayClone(evlistener, evlistener.length);\n}\n\nEventEmitter.prototype.listeners = function listeners(type) {\n return _listeners(this, type, true);\n};\n\nEventEmitter.prototype.rawListeners = function rawListeners(type) {\n return _listeners(this, type, false);\n};\n\nEventEmitter.listenerCount = function(emitter, type) {\n if (typeof emitter.listenerCount === 'function') {\n return emitter.listenerCount(type);\n } else {\n return listenerCount.call(emitter, type);\n }\n};\n\nEventEmitter.prototype.listenerCount = listenerCount;\nfunction listenerCount(type) {\n var events = this._events;\n\n if (events !== undefined) {\n var evlistener = events[type];\n\n if (typeof evlistener === 'function') {\n return 1;\n } else if (evlistener !== undefined) {\n return evlistener.length;\n }\n }\n\n return 0;\n}\n\nEventEmitter.prototype.eventNames = function eventNames() {\n return this._eventsCount > 0 ? ReflectOwnKeys(this._events) : [];\n};\n\nfunction arrayClone(arr, n) {\n var copy = new Array(n);\n for (var i = 0; i < n; ++i)\n copy[i] = arr[i];\n return copy;\n}\n\nfunction spliceOne(list, index) {\n for (; index + 1 < list.length; index++)\n list[index] = list[index + 1];\n list.pop();\n}\n\nfunction unwrapListeners(arr) {\n var ret = new Array(arr.length);\n for (var i = 0; i < ret.length; ++i) {\n ret[i] = arr[i].listener || arr[i];\n }\n return ret;\n}\n\nfunction once(emitter, name) {\n return new Promise(function (resolve, reject) {\n function errorListener(err) {\n emitter.removeListener(name, resolver);\n reject(err);\n }\n\n function resolver() {\n if (typeof emitter.removeListener === 'function') {\n emitter.removeListener('error', errorListener);\n }\n resolve([].slice.call(arguments));\n };\n\n eventTargetAgnosticAddListener(emitter, name, resolver, { once: true });\n if (name !== 'error') {\n addErrorHandlerIfEventEmitter(emitter, errorListener, { once: true });\n }\n });\n}\n\nfunction addErrorHandlerIfEventEmitter(emitter, handler, flags) {\n if (typeof emitter.on === 'function') {\n eventTargetAgnosticAddListener(emitter, 'error', handler, flags);\n }\n}\n\nfunction eventTargetAgnosticAddListener(emitter, name, listener, flags) {\n if (typeof emitter.on === 'function') {\n if (flags.once) {\n emitter.once(name, listener);\n } else {\n emitter.on(name, listener);\n }\n } else if (typeof emitter.addEventListener === 'function') {\n // EventTarget does not have `error` event semantics like Node\n // EventEmitters, we do not listen for `error` events here.\n emitter.addEventListener(name, function wrapListener(arg) {\n // IE does not have builtin `{ once: true }` support so we\n // have to do it manually.\n if (flags.once) {\n emitter.removeEventListener(name, wrapListener);\n }\n listener(arg);\n });\n } else {\n throw new TypeError('The \"emitter\" argument must be of type EventEmitter. Received type ' + typeof emitter);\n }\n}\n","'use strict';\nmodule.exports = function(boundThis) {\n var f = this\n , ret\n\n if (arguments.length < 2)\n ret = function() {\n if (this instanceof ret) {\n var ret_ = f.apply(this, arguments)\n return Object(ret_) === ret_\n ? ret_\n : this\n }\n else\n return f.apply(boundThis, arguments)\n }\n else {\n var boundArgs = new Array(arguments.length - 1)\n for (var i = 1; i < arguments.length; i++)\n boundArgs[i - 1] = arguments[i]\n\n ret = function() {\n var boundLen = boundArgs.length\n , args = new Array(boundLen + arguments.length)\n , i\n for (i = 0; i < boundLen; i++)\n args[i] = boundArgs[i]\n for (i = 0; i < arguments.length; i++)\n args[boundLen + i] = arguments[i]\n\n if (this instanceof ret) {\n var ret_ = f.apply(this, args)\n return Object(ret_) === ret_\n ? ret_\n : this\n }\n else\n return f.apply(boundThis, args)\n }\n }\n\n ret.prototype = f.prototype\n return ret\n}\n","'use strict';\n\n/* eslint no-invalid-this: 1 */\n\nvar ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';\nvar slice = Array.prototype.slice;\nvar toStr = Object.prototype.toString;\nvar funcType = '[object Function]';\n\nmodule.exports = function bind(that) {\n var target = this;\n if (typeof target !== 'function' || toStr.call(target) !== funcType) {\n throw new TypeError(ERROR_MESSAGE + target);\n }\n var args = slice.call(arguments, 1);\n\n var bound;\n var binder = function () {\n if (this instanceof bound) {\n var result = target.apply(\n this,\n args.concat(slice.call(arguments))\n );\n if (Object(result) === result) {\n return result;\n }\n return this;\n } else {\n return target.apply(\n that,\n args.concat(slice.call(arguments))\n );\n }\n };\n\n var boundLength = Math.max(0, target.length - args.length);\n var boundArgs = [];\n for (var i = 0; i < boundLength; i++) {\n boundArgs.push('$' + i);\n }\n\n bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);\n\n if (target.prototype) {\n var Empty = function Empty() {};\n Empty.prototype = target.prototype;\n bound.prototype = new Empty();\n Empty.prototype = null;\n }\n\n return bound;\n};\n","'use strict';\n\nvar implementation = require('./implementation');\n\nmodule.exports = Function.prototype.bind || implementation;\n","'use strict';\n\nvar undefined;\n\nvar $SyntaxError = SyntaxError;\nvar $Function = Function;\nvar $TypeError = TypeError;\n\n// eslint-disable-next-line consistent-return\nvar getEvalledConstructor = function (expressionSyntax) {\n\ttry {\n\t\treturn $Function('\"use strict\"; return (' + expressionSyntax + ').constructor;')();\n\t} catch (e) {}\n};\n\nvar $gOPD = Object.getOwnPropertyDescriptor;\nif ($gOPD) {\n\ttry {\n\t\t$gOPD({}, '');\n\t} catch (e) {\n\t\t$gOPD = null; // this is IE 8, which has a broken gOPD\n\t}\n}\n\nvar throwTypeError = function () {\n\tthrow new $TypeError();\n};\nvar ThrowTypeError = $gOPD\n\t? (function () {\n\t\ttry {\n\t\t\t// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties\n\t\t\targuments.callee; // IE 8 does not throw here\n\t\t\treturn throwTypeError;\n\t\t} catch (calleeThrows) {\n\t\t\ttry {\n\t\t\t\t// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')\n\t\t\t\treturn $gOPD(arguments, 'callee').get;\n\t\t\t} catch (gOPDthrows) {\n\t\t\t\treturn throwTypeError;\n\t\t\t}\n\t\t}\n\t}())\n\t: throwTypeError;\n\nvar hasSymbols = require('has-symbols')();\nvar hasProto = require('has-proto')();\n\nvar getProto = Object.getPrototypeOf || (\n\thasProto\n\t\t? function (x) { return x.__proto__; } // eslint-disable-line no-proto\n\t\t: null\n);\n\nvar needsEval = {};\n\nvar TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array);\n\nvar INTRINSICS = {\n\t'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,\n\t'%Array%': Array,\n\t'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,\n\t'%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined,\n\t'%AsyncFromSyncIteratorPrototype%': undefined,\n\t'%AsyncFunction%': needsEval,\n\t'%AsyncGenerator%': needsEval,\n\t'%AsyncGeneratorFunction%': needsEval,\n\t'%AsyncIteratorPrototype%': needsEval,\n\t'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,\n\t'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,\n\t'%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array,\n\t'%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array,\n\t'%Boolean%': Boolean,\n\t'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,\n\t'%Date%': Date,\n\t'%decodeURI%': decodeURI,\n\t'%decodeURIComponent%': decodeURIComponent,\n\t'%encodeURI%': encodeURI,\n\t'%encodeURIComponent%': encodeURIComponent,\n\t'%Error%': Error,\n\t'%eval%': eval, // eslint-disable-line no-eval\n\t'%EvalError%': EvalError,\n\t'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,\n\t'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,\n\t'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,\n\t'%Function%': $Function,\n\t'%GeneratorFunction%': needsEval,\n\t'%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,\n\t'%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,\n\t'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,\n\t'%isFinite%': isFinite,\n\t'%isNaN%': isNaN,\n\t'%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined,\n\t'%JSON%': typeof JSON === 'object' ? JSON : undefined,\n\t'%Map%': typeof Map === 'undefined' ? undefined : Map,\n\t'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()),\n\t'%Math%': Math,\n\t'%Number%': Number,\n\t'%Object%': Object,\n\t'%parseFloat%': parseFloat,\n\t'%parseInt%': parseInt,\n\t'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,\n\t'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,\n\t'%RangeError%': RangeError,\n\t'%ReferenceError%': ReferenceError,\n\t'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,\n\t'%RegExp%': RegExp,\n\t'%Set%': typeof Set === 'undefined' ? undefined : Set,\n\t'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Set()[Symbol.iterator]()),\n\t'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,\n\t'%String%': String,\n\t'%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined,\n\t'%Symbol%': hasSymbols ? Symbol : undefined,\n\t'%SyntaxError%': $SyntaxError,\n\t'%ThrowTypeError%': ThrowTypeError,\n\t'%TypedArray%': TypedArray,\n\t'%TypeError%': $TypeError,\n\t'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,\n\t'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,\n\t'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,\n\t'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,\n\t'%URIError%': URIError,\n\t'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,\n\t'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,\n\t'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet\n};\n\nif (getProto) {\n\ttry {\n\t\tnull.error; // eslint-disable-line no-unused-expressions\n\t} catch (e) {\n\t\t// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229\n\t\tvar errorProto = getProto(getProto(e));\n\t\tINTRINSICS['%Error.prototype%'] = errorProto;\n\t}\n}\n\nvar doEval = function doEval(name) {\n\tvar value;\n\tif (name === '%AsyncFunction%') {\n\t\tvalue = getEvalledConstructor('async function () {}');\n\t} else if (name === '%GeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('function* () {}');\n\t} else if (name === '%AsyncGeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('async function* () {}');\n\t} else if (name === '%AsyncGenerator%') {\n\t\tvar fn = doEval('%AsyncGeneratorFunction%');\n\t\tif (fn) {\n\t\t\tvalue = fn.prototype;\n\t\t}\n\t} else if (name === '%AsyncIteratorPrototype%') {\n\t\tvar gen = doEval('%AsyncGenerator%');\n\t\tif (gen && getProto) {\n\t\t\tvalue = getProto(gen.prototype);\n\t\t}\n\t}\n\n\tINTRINSICS[name] = value;\n\n\treturn value;\n};\n\nvar LEGACY_ALIASES = {\n\t'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],\n\t'%ArrayPrototype%': ['Array', 'prototype'],\n\t'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],\n\t'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],\n\t'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],\n\t'%ArrayProto_values%': ['Array', 'prototype', 'values'],\n\t'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],\n\t'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],\n\t'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],\n\t'%BooleanPrototype%': ['Boolean', 'prototype'],\n\t'%DataViewPrototype%': ['DataView', 'prototype'],\n\t'%DatePrototype%': ['Date', 'prototype'],\n\t'%ErrorPrototype%': ['Error', 'prototype'],\n\t'%EvalErrorPrototype%': ['EvalError', 'prototype'],\n\t'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],\n\t'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],\n\t'%FunctionPrototype%': ['Function', 'prototype'],\n\t'%Generator%': ['GeneratorFunction', 'prototype'],\n\t'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],\n\t'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],\n\t'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],\n\t'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],\n\t'%JSONParse%': ['JSON', 'parse'],\n\t'%JSONStringify%': ['JSON', 'stringify'],\n\t'%MapPrototype%': ['Map', 'prototype'],\n\t'%NumberPrototype%': ['Number', 'prototype'],\n\t'%ObjectPrototype%': ['Object', 'prototype'],\n\t'%ObjProto_toString%': ['Object', 'prototype', 'toString'],\n\t'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],\n\t'%PromisePrototype%': ['Promise', 'prototype'],\n\t'%PromiseProto_then%': ['Promise', 'prototype', 'then'],\n\t'%Promise_all%': ['Promise', 'all'],\n\t'%Promise_reject%': ['Promise', 'reject'],\n\t'%Promise_resolve%': ['Promise', 'resolve'],\n\t'%RangeErrorPrototype%': ['RangeError', 'prototype'],\n\t'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],\n\t'%RegExpPrototype%': ['RegExp', 'prototype'],\n\t'%SetPrototype%': ['Set', 'prototype'],\n\t'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],\n\t'%StringPrototype%': ['String', 'prototype'],\n\t'%SymbolPrototype%': ['Symbol', 'prototype'],\n\t'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],\n\t'%TypedArrayPrototype%': ['TypedArray', 'prototype'],\n\t'%TypeErrorPrototype%': ['TypeError', 'prototype'],\n\t'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],\n\t'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],\n\t'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],\n\t'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],\n\t'%URIErrorPrototype%': ['URIError', 'prototype'],\n\t'%WeakMapPrototype%': ['WeakMap', 'prototype'],\n\t'%WeakSetPrototype%': ['WeakSet', 'prototype']\n};\n\nvar bind = require('function-bind');\nvar hasOwn = require('has');\nvar $concat = bind.call(Function.call, Array.prototype.concat);\nvar $spliceApply = bind.call(Function.apply, Array.prototype.splice);\nvar $replace = bind.call(Function.call, String.prototype.replace);\nvar $strSlice = bind.call(Function.call, String.prototype.slice);\nvar $exec = bind.call(Function.call, RegExp.prototype.exec);\n\n/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */\nvar rePropName = /[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g;\nvar reEscapeChar = /\\\\(\\\\)?/g; /** Used to match backslashes in property paths. */\nvar stringToPath = function stringToPath(string) {\n\tvar first = $strSlice(string, 0, 1);\n\tvar last = $strSlice(string, -1);\n\tif (first === '%' && last !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected closing `%`');\n\t} else if (last === '%' && first !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected opening `%`');\n\t}\n\tvar result = [];\n\t$replace(string, rePropName, function (match, number, quote, subString) {\n\t\tresult[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;\n\t});\n\treturn result;\n};\n/* end adaptation */\n\nvar getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {\n\tvar intrinsicName = name;\n\tvar alias;\n\tif (hasOwn(LEGACY_ALIASES, intrinsicName)) {\n\t\talias = LEGACY_ALIASES[intrinsicName];\n\t\tintrinsicName = '%' + alias[0] + '%';\n\t}\n\n\tif (hasOwn(INTRINSICS, intrinsicName)) {\n\t\tvar value = INTRINSICS[intrinsicName];\n\t\tif (value === needsEval) {\n\t\t\tvalue = doEval(intrinsicName);\n\t\t}\n\t\tif (typeof value === 'undefined' && !allowMissing) {\n\t\t\tthrow new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');\n\t\t}\n\n\t\treturn {\n\t\t\talias: alias,\n\t\t\tname: intrinsicName,\n\t\t\tvalue: value\n\t\t};\n\t}\n\n\tthrow new $SyntaxError('intrinsic ' + name + ' does not exist!');\n};\n\nmodule.exports = function GetIntrinsic(name, allowMissing) {\n\tif (typeof name !== 'string' || name.length === 0) {\n\t\tthrow new $TypeError('intrinsic name must be a non-empty string');\n\t}\n\tif (arguments.length > 1 && typeof allowMissing !== 'boolean') {\n\t\tthrow new $TypeError('\"allowMissing\" argument must be a boolean');\n\t}\n\n\tif ($exec(/^%?[^%]*%?$/, name) === null) {\n\t\tthrow new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');\n\t}\n\tvar parts = stringToPath(name);\n\tvar intrinsicBaseName = parts.length > 0 ? parts[0] : '';\n\n\tvar intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);\n\tvar intrinsicRealName = intrinsic.name;\n\tvar value = intrinsic.value;\n\tvar skipFurtherCaching = false;\n\n\tvar alias = intrinsic.alias;\n\tif (alias) {\n\t\tintrinsicBaseName = alias[0];\n\t\t$spliceApply(parts, $concat([0, 1], alias));\n\t}\n\n\tfor (var i = 1, isOwn = true; i < parts.length; i += 1) {\n\t\tvar part = parts[i];\n\t\tvar first = $strSlice(part, 0, 1);\n\t\tvar last = $strSlice(part, -1);\n\t\tif (\n\t\t\t(\n\t\t\t\t(first === '\"' || first === \"'\" || first === '`')\n\t\t\t\t|| (last === '\"' || last === \"'\" || last === '`')\n\t\t\t)\n\t\t\t&& first !== last\n\t\t) {\n\t\t\tthrow new $SyntaxError('property names with quotes must have matching quotes');\n\t\t}\n\t\tif (part === 'constructor' || !isOwn) {\n\t\t\tskipFurtherCaching = true;\n\t\t}\n\n\t\tintrinsicBaseName += '.' + part;\n\t\tintrinsicRealName = '%' + intrinsicBaseName + '%';\n\n\t\tif (hasOwn(INTRINSICS, intrinsicRealName)) {\n\t\t\tvalue = INTRINSICS[intrinsicRealName];\n\t\t} else if (value != null) {\n\t\t\tif (!(part in value)) {\n\t\t\t\tif (!allowMissing) {\n\t\t\t\t\tthrow new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');\n\t\t\t\t}\n\t\t\t\treturn void undefined;\n\t\t\t}\n\t\t\tif ($gOPD && (i + 1) >= parts.length) {\n\t\t\t\tvar desc = $gOPD(value, part);\n\t\t\t\tisOwn = !!desc;\n\n\t\t\t\t// By convention, when a data property is converted to an accessor\n\t\t\t\t// property to emulate a data property that does not suffer from\n\t\t\t\t// the override mistake, that accessor's getter is marked with\n\t\t\t\t// an `originalValue` property. Here, when we detect this, we\n\t\t\t\t// uphold the illusion by pretending to see that original data\n\t\t\t\t// property, i.e., returning the value rather than the getter\n\t\t\t\t// itself.\n\t\t\t\tif (isOwn && 'get' in desc && !('originalValue' in desc.get)) {\n\t\t\t\t\tvalue = desc.get;\n\t\t\t\t} else {\n\t\t\t\t\tvalue = value[part];\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tisOwn = hasOwn(value, part);\n\t\t\t\tvalue = value[part];\n\t\t\t}\n\n\t\t\tif (isOwn && !skipFurtherCaching) {\n\t\t\t\tINTRINSICS[intrinsicRealName] = value;\n\t\t\t}\n\t\t}\n\t}\n\treturn value;\n};\n","'use strict';\n\nvar test = {\n\tfoo: {}\n};\n\nvar $Object = Object;\n\nmodule.exports = function hasProto() {\n\treturn { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);\n};\n","'use strict';\n\nvar origSymbol = typeof Symbol !== 'undefined' && Symbol;\nvar hasSymbolSham = require('./shams');\n\nmodule.exports = function hasNativeSymbols() {\n\tif (typeof origSymbol !== 'function') { return false; }\n\tif (typeof Symbol !== 'function') { return false; }\n\tif (typeof origSymbol('foo') !== 'symbol') { return false; }\n\tif (typeof Symbol('bar') !== 'symbol') { return false; }\n\n\treturn hasSymbolSham();\n};\n","'use strict';\n\n/* eslint complexity: [2, 18], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\tvar descriptor = Object.getOwnPropertyDescriptor(obj, sym);\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n","'use strict';\n\nvar bind = require('function-bind');\n\nmodule.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);\n","var _SELF_TAGS, _TOSTRING_TAGS, _TYPEDARRAY_TAGS, _UNPARSEABLE_TAGS;\n\n/**\n * @constant {boolean} HAS_BUFFER_FROM_SUPPORT\n */\nexport var HAS_BUFFER_FROM_SUPPORT = typeof Buffer !== 'undefined' && typeof Buffer.from === 'function';\n/**\n * @constant {boolean} HAS_UINT16ARRAY_SUPPORT\n */\n\nexport var HAS_UINT16ARRAY_SUPPORT = typeof Uint16Array === 'function';\n/**\n * @constant {RegExp} HTML_ELEMENT_REGEXP\n */\n\nexport var HTML_ELEMENT_REGEXP = /\\[object (HTML(.*)Element)\\]/;\n/**\n * @constant {RegExp} SVG_ELEMENT_REGEXP\n */\n\nexport var SVG_ELEMENT_REGEXP = /\\[object (SVG(.*)Element)\\]/;\n/**\n * @constant {Array<string>} OBJECT_CLASSES\n */\n\nvar OBJECT_CLASSES = ['Arguments', 'Array', 'ArrayBuffer', 'Boolean', 'DataView', 'Date', 'DocumentFragment', 'Error', 'Event', 'Float32Array', 'Float64Array', 'Function', 'Generator', 'GeneratorFunction', 'HTMLElement', 'Int8Array', 'Int16Array', 'Int32Array', 'Map', 'Null', 'Number', 'Object', 'Promise', 'RegExp', 'Set', 'String', 'Symbol', 'Uint8Array', 'Uint8ClampedArray', 'Uint16Array', 'Uint32Array', 'Undefined', 'WeakMap', 'WeakSet', 'Window'];\n/**\n * @constant {Object} OBJECT_CLASS_MAP\n */\n\nexport var OBJECT_CLASS_MAP = OBJECT_CLASSES.reduce(function (objectClasses, type) {\n objectClasses[\"[object \" + type + \"]\"] = type;\n return objectClasses;\n}, {});\n/**\n * @constant {Object} OBJECT_CLASS_TYPE_MAP\n */\n\nexport var OBJECT_CLASS_TYPE_MAP = Object.keys(OBJECT_CLASS_MAP).reduce(function (objectClassTypes, objectClass) {\n objectClassTypes[OBJECT_CLASS_MAP[objectClass].toUpperCase()] = objectClass;\n return objectClassTypes;\n}, {});\nexport var ITERABLE_TAGS = {\n '[object Map]': true,\n '[object Set]': true\n};\nexport var PRIMITIVE_TAGS = {\n boolean: true,\n function: true,\n number: true,\n string: true,\n undefined: true\n};\nexport var SELF_TAGS = (_SELF_TAGS = {}, _SELF_TAGS[OBJECT_CLASS_TYPE_MAP.ARGUMENTS] = true, _SELF_TAGS[OBJECT_CLASS_TYPE_MAP.ARRAY] = true, _SELF_TAGS);\nexport var TOSTRING_TAGS = (_TOSTRING_TAGS = {}, _TOSTRING_TAGS[OBJECT_CLASS_TYPE_MAP.REGEXP] = true, _TOSTRING_TAGS[OBJECT_CLASS_TYPE_MAP.SYMBOL] = true, _TOSTRING_TAGS);\nexport var TYPEDARRAY_TAGS = (_TYPEDARRAY_TAGS = {}, _TYPEDARRAY_TAGS[OBJECT_CLASS_TYPE_MAP.FLOAT32ARRAY] = true, _TYPEDARRAY_TAGS[OBJECT_CLASS_TYPE_MAP.FLOAT64ARRAY] = true, _TYPEDARRAY_TAGS[OBJECT_CLASS_TYPE_MAP.INT8ARRAY] = true, _TYPEDARRAY_TAGS[OBJECT_CLASS_TYPE_MAP.INT16ARRAY] = true, _TYPEDARRAY_TAGS[OBJECT_CLASS_TYPE_MAP.INT32ARRAY] = true, _TYPEDARRAY_TAGS[OBJECT_CLASS_TYPE_MAP.UINT8ARRAY] = true, _TYPEDARRAY_TAGS[OBJECT_CLASS_TYPE_MAP.UINT8CLAMPEDARRAY] = true, _TYPEDARRAY_TAGS[OBJECT_CLASS_TYPE_MAP.UINT16ARRAY] = true, _TYPEDARRAY_TAGS[OBJECT_CLASS_TYPE_MAP.UINT32ARRAY] = true, _TYPEDARRAY_TAGS);\nexport var UNPARSEABLE_TAGS = (_UNPARSEABLE_TAGS = {}, _UNPARSEABLE_TAGS[OBJECT_CLASS_TYPE_MAP.GENERATOR] = true, _UNPARSEABLE_TAGS[OBJECT_CLASS_TYPE_MAP.PROMISE] = true, _UNPARSEABLE_TAGS[OBJECT_CLASS_TYPE_MAP.WEAKMAP] = true, _UNPARSEABLE_TAGS[OBJECT_CLASS_TYPE_MAP.WEAKSET] = true, _UNPARSEABLE_TAGS);","import { HAS_BUFFER_FROM_SUPPORT, HAS_UINT16ARRAY_SUPPORT, HTML_ELEMENT_REGEXP, ITERABLE_TAGS, OBJECT_CLASS_MAP, OBJECT_CLASS_TYPE_MAP, PRIMITIVE_TAGS, SELF_TAGS, SVG_ELEMENT_REGEXP, TOSTRING_TAGS, TYPEDARRAY_TAGS, UNPARSEABLE_TAGS } from './constants';\nvar FUNCTION_NAME_REGEX = /^\\s*function\\s*([^(]*)/i;\nvar toString = Object.prototype.toString;\nvar keys = Object.keys;\n/**\n * @function getFunctionName\n *\n * @description\n * get the name of the function based on a series of fallback attempts\n *\n * @param {function} fn the function to test\n * @returns {string} the function name\n */\n\nexport function getFunctionName(fn) {\n return fn.name || (fn.toString().match(FUNCTION_NAME_REGEX) || [])[1] || 'anonymous';\n}\n/**\n * @function getIntegerHashValue\n *\n * @description\n * based on string passed, get the integer hash value\n * through bitwise operation (based on spinoff of dbj2\n * with enhancements for reduced collisions)\n *\n * @param {string} string the string to get the hash value for\n * @returns {number} the hash value\n */\n\nexport function getIntegerHashValue(string) {\n var index = string.length,\n hashA = 5381,\n hashB = 52711,\n charCode;\n\n while (index--) {\n charCode = string.charCodeAt(index);\n hashA = hashA * 33 ^ charCode;\n hashB = hashB * 33 ^ charCode;\n }\n\n return (hashA >>> 0) * 4096 + (hashB >>> 0);\n}\n/**\n * @function getSortedEvent\n *\n * @description\n * get the event object sorted by its properties\n *\n * @param {boolean} bubbles does the event bubble up through the DOM\n * @param {function} alias to stopPropagation\n * @param {boolean} cancelable is the event cancelable\n * @param {boolean} composed can the event bubble across the boundary to shadow DOM\n * @param {HTMLElement} [currentTarget] registered target for the event\n * @param {boolean} defaultPrevented has preventDefault been called on the event\n * @param {string} eventPhase the phase of the event flow being processed\n * @param {boolean} isTrusted was the event initiated by the browser\n * @param {HTMLElement} [target] the target with which the event was dispatched\n * @param {number} timeStamp the time at which the event was created\n * @param {string} type the name of the event\n * @returns {Object} the event object with all properties sorted\n */\n\nexport function getSortedEvent(event) {\n return {\n bubbles: event.bubbles,\n cancelBubble: event.cancelBubble,\n cancelable: event.cancelable,\n composed: event.composed,\n currentTarget: event.currentTarget,\n defaultPrevented: event.defaultPrevented,\n eventPhase: event.eventPhase,\n isTrusted: event.isTrusted,\n returnValue: event.returnValue,\n target: event.target,\n type: event.type\n };\n}\n/**\n * @function shouldSort\n *\n * @description\n * get the sort result based on the two values to compare\n *\n * @param {string} valueA the first value to compare\n * @param {string} valueB the second value to compare\n * @returns {boolean} should the value be sorted\n */\n\nexport function shouldSort(valueA, valueB) {\n return valueA > valueB;\n}\n/**\n * @function shouldSortPair\n *\n * @description\n * get the sort result based on the two pairs to compare\n *\n * @param {Object} pairA the first pair to compare\n * @param {Object} pairB the second pair to compare\n * @returns {boolean} should the value be sorted\n */\n\nexport function shouldSortPair(pairA, pairB) {\n return pairA[0] > pairB[0];\n}\n/**\n * @function sort\n *\n * @description\n * sort the array based on the fn passed\n *\n * @param {Array<any>} array the array to sort\n * @param {function} fn the sorting function\n * @returns {Array<any>} the sorted array\n */\n\nexport function sort(array, fn) {\n var subIndex, value;\n\n for (var index = 0; index < array.length; ++index) {\n value = array[index];\n\n for (subIndex = index - 1; ~subIndex && fn(array[subIndex], value); --subIndex) {\n array[subIndex + 1] = array[subIndex];\n }\n\n array[subIndex + 1] = value;\n }\n\n return array;\n}\n/**\n * @function getIterablePairs\n *\n * @description\n * get the pairs in the iterable for stringification\n *\n * @param {Map|Set} iterable the iterable to get the pairs for\n * @returns {Array<{key: string, value: any}>} the pairs\n */\n\nexport function getSortedIterable(iterable, cache, keys) {\n var isMap = typeof iterable.get === 'function';\n var entries = [];\n\n if (isMap) {\n iterable.forEach(function (value, key) {\n entries.push([// eslint-disable-next-line no-use-before-define\n stringify(key, cache, keys), // eslint-disable-next-line no-use-before-define\n stringify(value, cache, keys)]);\n });\n sort(entries, shouldSortPair);\n } else {\n iterable.forEach(function (value) {\n // eslint-disable-next-line no-use-before-define\n entries.push(stringify(value, cache, keys));\n });\n sort(entries, shouldSort);\n }\n\n var _final = getFunctionName(iterable.constructor) + \"|[\";\n\n for (var index = 0, length = entries.length, entry; index < length; ++index) {\n entry = entries[index];\n _final += \"\" + (index ? ',' : '') + (isMap ? \"[\" + entry[0] + \",\" + entry[1] + \"]\" : entry);\n }\n\n return _final + \"]\";\n}\n/**\n * @function getSortedObject\n *\n * @description\n * get the object with the keys sorted\n *\n * @param {Object} object the object to sort\n * @returns {Object} the sorted object\n */\n\nexport function getSortedObject(object) {\n var objectKeys = sort(keys(object), shouldSort);\n var newObject = {};\n var key;\n\n for (var index = 0; index < objectKeys.length; ++index) {\n key = objectKeys[index];\n newObject[key] = object[key];\n }\n\n return newObject;\n}\n/**\n * @function getStringifiedArrayBufferFallback\n *\n * @description\n * get the string value of the buffer passed based on a Buffer\n *\n * @param {ArrayBuffer} buffer the array buffer to convert\n * @returns {string} the stringified buffer\n */\n\nexport function getStringifiedArrayBufferFallback(buffer) {\n return String.fromCharCode.apply(null, new Uint16Array(buffer));\n}\n/**\n * @function getStringifiedArrayBufferModern\n *\n * @description\n * get the string value of the buffer passed based on a Uint16Array\n *\n * @param {ArrayBuffer} buffer the array buffer to convert\n * @returns {string} the stringified buffer\n */\n\nexport function getStringifiedArrayBufferModern(buffer) {\n return Buffer.from(buffer).toString('utf8');\n}\n/**\n * @function getStringifiedArrayBufferNoSupport\n *\n * @description\n * return a placeholder when no arraybuffer support exists\n *\n * @returns {string} the placeholder\n */\n\nexport function getStringifiedArrayBufferNoSupport() {\n return '';\n}\n/**\n * @function getStringifiedArrayBuffer\n *\n * @description\n * get the string value of the buffer passed\n *\n * @param {ArrayBuffer} buffer the array buffer to convert\n * @returns {string} the stringified buffer\n */\n\nexport var getStringifiedArrayBuffer = function () {\n if (HAS_BUFFER_FROM_SUPPORT) {\n return getStringifiedArrayBufferModern;\n }\n\n if (HAS_UINT16ARRAY_SUPPORT) {\n return getStringifiedArrayBufferFallback;\n }\n\n return getStringifiedArrayBufferNoSupport;\n}();\n/**\n * @function getStringifiedDocumentFragment\n *\n * @description\n * build a string based on all the fragment's children\n *\n * @param {DocumentFragment} fragment the fragment to stringify\n * @returns {string} the stringified fragment\n */\n\nexport function getStringifiedDocumentFragment(fragment) {\n var children = fragment.children;\n var innerHTML = '';\n\n for (var index = 0; index < children.length; ++index) {\n innerHTML += children[index].outerHTML;\n }\n\n return innerHTML;\n}\n/**\n * @function getCutoffIndex\n *\n * @description\n * get the index after that of the value match in the array (faster than\n * native indexOf) to determine the cutoff index for the `splice()` call.\n *\n * @param {Array<any>} array the array to get the index of the value at\n * @param {any} value the value to match\n * @returns {number} the index after the value match in the array\n */\n\nexport function getCutoffIndex(array, value) {\n for (var index = 0; index < array.length; ++index) {\n if (array[index] === value) {\n return index + 1;\n }\n }\n\n return 0;\n}\n/**\n * @function getNormalizedValue\n *\n * @description\n * get the value normalized for stringification\n *\n * @param {any} value the value to normalize\n * @param {WeakMap|Object} sortedCache the cache of sorted objects\n * @param {string} [passedTag] the previously-calculated tag\n * @returns {any} the normalized value\n */\n\nexport function getNormalizedValue(value, cache, keys, passedTag) {\n if (passedTag === void 0) {\n var type = typeof value;\n\n if (type === 'string' || PRIMITIVE_TAGS[type]) {\n return type + \"|\" + value;\n }\n\n if (value === null) {\n return \"null|\" + value;\n }\n }\n\n var tag = passedTag || toString.call(value);\n\n if (SELF_TAGS[tag]) {\n return value;\n }\n\n if (tag === OBJECT_CLASS_TYPE_MAP.OBJECT) {\n return getSortedObject(value);\n }\n\n if (TOSTRING_TAGS[tag]) {\n return OBJECT_CLASS_MAP[tag] + \"|\" + value.toString();\n }\n\n if (ITERABLE_TAGS[tag]) {\n return getSortedIterable(value, cache, keys);\n }\n\n if (tag === OBJECT_CLASS_TYPE_MAP.DATE) {\n return OBJECT_CLASS_MAP[tag] + \"|\" + value.getTime();\n }\n\n if (tag === OBJECT_CLASS_TYPE_MAP.ERROR) {\n return OBJECT_CLASS_MAP[tag] + \"|\" + value.stack;\n }\n\n if (tag === OBJECT_CLASS_TYPE_MAP.EVENT) {\n return getSortedEvent(value);\n }\n\n if (UNPARSEABLE_TAGS[tag]) {\n return OBJECT_CLASS_MAP[tag] + \"|NOT_ENUMERABLE\";\n }\n\n if (HTML_ELEMENT_REGEXP.test(tag) || SVG_ELEMENT_REGEXP.test(tag)) {\n return tag.slice(8, -1) + \"|\" + value.outerHTML;\n }\n\n if (tag === OBJECT_CLASS_TYPE_MAP.DOCUMENTFRAGMENT) {\n return OBJECT_CLASS_MAP[tag] + \"|\" + getStringifiedDocumentFragment(value);\n }\n\n if (TYPEDARRAY_TAGS[tag]) {\n return OBJECT_CLASS_MAP[tag] + \"|\" + value.join(',');\n }\n\n if (tag === OBJECT_CLASS_TYPE_MAP.ARRAYBUFFER) {\n return OBJECT_CLASS_MAP[tag] + \"|\" + getStringifiedArrayBuffer(value);\n }\n\n if (tag === OBJECT_CLASS_TYPE_MAP.DATAVIEW) {\n return OBJECT_CLASS_MAP[tag] + \"|\" + getStringifiedArrayBuffer(value.buffer);\n }\n\n return value;\n}\n/**\n * @function replacer\n *\n * @description\n * create the replacer function used for stringification\n *\n * @param {WeakSet|Object} sortedCache the cache to use for sorting objects\n * @returns {function(key: string, value: any)} function getting the normalized value\n */\n\nexport function createReplacer(cache, keys) {\n if (cache === void 0) {\n cache = [];\n }\n\n if (keys === void 0) {\n keys = [];\n }\n\n return function (key, value) {\n if (typeof value === 'object') {\n if (cache.length) {\n var thisCutoff = getCutoffIndex(cache, this);\n\n if (thisCutoff === 0) {\n cache.push(this);\n } else {\n cache.splice(thisCutoff);\n keys.splice(thisCutoff);\n }\n\n keys.push(key);\n var valueCutoff = getCutoffIndex(cache, value);\n\n if (valueCutoff !== 0) {\n return \"[~\" + (keys.slice(0, valueCutoff).join('.') || '.') + \"]\";\n }\n\n cache.push(value);\n } else {\n cache[0] = value;\n keys[0] = key;\n }\n }\n\n if (key && this[key] instanceof Date) {\n return getNormalizedValue(this[key], cache, keys, OBJECT_CLASS_TYPE_MAP.DATE, cache, keys);\n }\n\n return getNormalizedValue(value, cache, keys);\n };\n}\n/**\n * @function stringify\n *\n * @description\n * stringify the value based on the options passed\n *\n * @param {any} value the value to stringify\n * @returns {string} the stringified value\n */\n\nexport function stringify(value, cache, keys) {\n if (!value || typeof value !== 'object') {\n return getNormalizedValue(value, cache, keys);\n }\n\n var tag = toString.call(value);\n\n if (tag === OBJECT_CLASS_TYPE_MAP.DATE || tag === OBJECT_CLASS_TYPE_MAP.REGEXP) {\n return getNormalizedValue(value, cache, keys, tag);\n }\n\n return JSON.stringify(value, createReplacer(cache, keys));\n}","// external dependencies\nimport { curry } from 'curriable'; // utils\n\nimport { getIntegerHashValue, stringify } from './utils';\n/**\n * @function hash\n *\n * @description\n * hash the value passed to a unique, consistent hash value\n *\n * @param {any} value the value to hash\n * @returns {number} the object hash\n */\n\nexport function hash(value) {\n return getIntegerHashValue(stringify(value));\n}\n/**\n * @function hash.is\n *\n * @description\n * create a comparator for the first object passed to determine if the second is equal\n *\n * @param {any} object the object to test against\n * @returns {function(any): boolean} the method to test against the object\n */\n\nhash.is = curry(function (object, otherObject) {\n return hash(object) === hash(otherObject);\n});\n/**\n * @function hash.is.all\n *\n * @description\n * determine if all of the objects passed are equal in value to the first\n *\n * @param {...Array<any>} objects the objects to test for equality\n * @returns {boolean} are the objects equal\n */\n\nhash.is.all = curry(function (objectBasis) {\n var isEqual = hash.is(objectBasis);\n\n for (var index = 1; index < arguments.length; ++index) {\n if (!isEqual(arguments[index])) {\n return false;\n }\n }\n\n return true;\n}, 2);\n/**\n * @function hash.is.any\n *\n * @description\n * determine if any of the objects passed are equal in value to the first\n *\n * @param {...Array<any>} objects the objects to test for equality\n * @returns {boolean} are the objects equal\n */\n\nhash.is.any = curry(function (objectBasis) {\n var isEqual = hash.is(objectBasis);\n\n for (var index = 1; index < arguments.length; index++) {\n if (isEqual(arguments[index])) {\n return true;\n }\n }\n\n return false;\n}, 2);\n/**\n * @function hash.is.not\n *\n * @description\n * create a comparator for the first object passed to determine if the second is not equal\n *\n * @param {any} object the object to test against\n * @returns {function(any): boolean} the method to test against the object\n */\n\nhash.is.not = curry(function (object, otherObject) {\n return hash(object) !== hash(otherObject);\n});\nexport default hash;","/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */\nexports.read = function (buffer, offset, isLE, mLen, nBytes) {\n var e, m\n var eLen = (nBytes * 8) - mLen - 1\n var eMax = (1 << eLen) - 1\n var eBias = eMax >> 1\n var nBits = -7\n var i = isLE ? (nBytes - 1) : 0\n var d = isLE ? -1 : 1\n var s = buffer[offset + i]\n\n i += d\n\n e = s & ((1 << (-nBits)) - 1)\n s >>= (-nBits)\n nBits += eLen\n for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {}\n\n m = e & ((1 << (-nBits)) - 1)\n e >>= (-nBits)\n nBits += mLen\n for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {}\n\n if (e === 0) {\n e = 1 - eBias\n } else if (e === eMax) {\n return m ? NaN : ((s ? -1 : 1) * Infinity)\n } else {\n m = m + Math.pow(2, mLen)\n e = e - eBias\n }\n return (s ? -1 : 1) * m * Math.pow(2, e - mLen)\n}\n\nexports.write = function (buffer, value, offset, isLE, mLen, nBytes) {\n var e, m, c\n var eLen = (nBytes * 8) - mLen - 1\n var eMax = (1 << eLen) - 1\n var eBias = eMax >> 1\n var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0)\n var i = isLE ? 0 : (nBytes - 1)\n var d = isLE ? 1 : -1\n var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0\n\n value = Math.abs(value)\n\n if (isNaN(value) || value === Infinity) {\n m = isNaN(value) ? 1 : 0\n e = eMax\n } else {\n e = Math.floor(Math.log(value) / Math.LN2)\n if (value * (c = Math.pow(2, -e)) < 1) {\n e--\n c *= 2\n }\n if (e + eBias >= 1) {\n value += rt / c\n } else {\n value += rt * Math.pow(2, 1 - eBias)\n }\n if (value * c >= 2) {\n e++\n c /= 2\n }\n\n if (e + eBias >= eMax) {\n m = 0\n e = eMax\n } else if (e + eBias >= 1) {\n m = ((value * c) - 1) * Math.pow(2, mLen)\n e = e + eBias\n } else {\n m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)\n e = 0\n }\n }\n\n for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}\n\n e = (e << mLen) | m\n eLen += mLen\n for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}\n\n buffer[offset + i - d] |= s * 128\n}\n","if (typeof Object.create === 'function') {\n // implementation from standard node.js 'util' module\n module.exports = function inherits(ctor, superCtor) {\n if (superCtor) {\n ctor.super_ = superCtor\n ctor.prototype = Object.create(superCtor.prototype, {\n constructor: {\n value: ctor,\n enumerable: false,\n writable: true,\n configurable: true\n }\n })\n }\n };\n} else {\n // old school shim for old browsers\n module.exports = function inherits(ctor, superCtor) {\n if (superCtor) {\n ctor.super_ = superCtor\n var TempCtor = function () {}\n TempCtor.prototype = superCtor.prototype\n ctor.prototype = new TempCtor()\n ctor.prototype.constructor = ctor\n }\n }\n}\n","/*!\n * JavaScript Cookie v2.2.1\n * https://github.com/js-cookie/js-cookie\n *\n * Copyright 2006, 2015 Klaus Hartl & Fagner Brack\n * Released under the MIT license\n */\n;(function (factory) {\n\tvar registeredInModuleLoader;\n\tif (typeof define === 'function' && define.amd) {\n\t\tdefine(factory);\n\t\tregisteredInModuleLoader = true;\n\t}\n\tif (typeof exports === 'object') {\n\t\tmodule.exports = factory();\n\t\tregisteredInModuleLoader = true;\n\t}\n\tif (!registeredInModuleLoader) {\n\t\tvar OldCookies = window.Cookies;\n\t\tvar api = window.Cookies = factory();\n\t\tapi.noConflict = function () {\n\t\t\twindow.Cookies = OldCookies;\n\t\t\treturn api;\n\t\t};\n\t}\n}(function () {\n\tfunction extend () {\n\t\tvar i = 0;\n\t\tvar result = {};\n\t\tfor (; i < arguments.length; i++) {\n\t\t\tvar attributes = arguments[ i ];\n\t\t\tfor (var key in attributes) {\n\t\t\t\tresult[key] = attributes[key];\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}\n\n\tfunction decode (s) {\n\t\treturn s.replace(/(%[0-9A-Z]{2})+/g, decodeURIComponent);\n\t}\n\n\tfunction init (converter) {\n\t\tfunction api() {}\n\n\t\tfunction set (key, value, attributes) {\n\t\t\tif (typeof document === 'undefined') {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tattributes = extend({\n\t\t\t\tpath: '/'\n\t\t\t}, api.defaults, attributes);\n\n\t\t\tif (typeof attributes.expires === 'number') {\n\t\t\t\tattributes.expires = new Date(new Date() * 1 + attributes.expires * 864e+5);\n\t\t\t}\n\n\t\t\t// We're using \"expires\" because \"max-age\" is not supported by IE\n\t\t\tattributes.expires = attributes.expires ? attributes.expires.toUTCString() : '';\n\n\t\t\ttry {\n\t\t\t\tvar result = JSON.stringify(value);\n\t\t\t\tif (/^[\\{\\[]/.test(result)) {\n\t\t\t\t\tvalue = result;\n\t\t\t\t}\n\t\t\t} catch (e) {}\n\n\t\t\tvalue = converter.write ?\n\t\t\t\tconverter.write(value, key) :\n\t\t\t\tencodeURIComponent(String(value))\n\t\t\t\t\t.replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent);\n\n\t\t\tkey = encodeURIComponent(String(key))\n\t\t\t\t.replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent)\n\t\t\t\t.replace(/[\\(\\)]/g, escape);\n\n\t\t\tvar stringifiedAttributes = '';\n\t\t\tfor (var attributeName in attributes) {\n\t\t\t\tif (!attributes[attributeName]) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tstringifiedAttributes += '; ' + attributeName;\n\t\t\t\tif (attributes[attributeName] === true) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\t// Considers RFC 6265 section 5.2:\n\t\t\t\t// ...\n\t\t\t\t// 3. If the remaining unparsed-attributes contains a %x3B (\";\")\n\t\t\t\t// character:\n\t\t\t\t// Consume the characters of the unparsed-attributes up to,\n\t\t\t\t// not including, the first %x3B (\";\") character.\n\t\t\t\t// ...\n\t\t\t\tstringifiedAttributes += '=' + attributes[attributeName].split(';')[0];\n\t\t\t}\n\n\t\t\treturn (document.cookie = key + '=' + value + stringifiedAttributes);\n\t\t}\n\n\t\tfunction get (key, json) {\n\t\t\tif (typeof document === 'undefined') {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar jar = {};\n\t\t\t// To prevent the for loop in the first place assign an empty array\n\t\t\t// in case there are no cookies at all.\n\t\t\tvar cookies = document.cookie ? document.cookie.split('; ') : [];\n\t\t\tvar i = 0;\n\n\t\t\tfor (; i < cookies.length; i++) {\n\t\t\t\tvar parts = cookies[i].split('=');\n\t\t\t\tvar cookie = parts.slice(1).join('=');\n\n\t\t\t\tif (!json && cookie.charAt(0) === '\"') {\n\t\t\t\t\tcookie = cookie.slice(1, -1);\n\t\t\t\t}\n\n\t\t\t\ttry {\n\t\t\t\t\tvar name = decode(parts[0]);\n\t\t\t\t\tcookie = (converter.read || converter)(cookie, name) ||\n\t\t\t\t\t\tdecode(cookie);\n\n\t\t\t\t\tif (json) {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tcookie = JSON.parse(cookie);\n\t\t\t\t\t\t} catch (e) {}\n\t\t\t\t\t}\n\n\t\t\t\t\tjar[name] = cookie;\n\n\t\t\t\t\tif (key === name) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t} catch (e) {}\n\t\t\t}\n\n\t\t\treturn key ? jar[key] : jar;\n\t\t}\n\n\t\tapi.set = set;\n\t\tapi.get = function (key) {\n\t\t\treturn get(key, false /* read as raw */);\n\t\t};\n\t\tapi.getJSON = function (key) {\n\t\t\treturn get(key, true /* read as json */);\n\t\t};\n\t\tapi.remove = function (key, attributes) {\n\t\t\tset(key, '', extend(attributes, {\n\t\t\t\texpires: -1\n\t\t\t}));\n\t\t};\n\n\t\tapi.defaults = {};\n\n\t\tapi.withConverter = init;\n\n\t\treturn api;\n\t}\n\n\treturn init(function () {});\n}));\n","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _fact = require('./fact');\n\nvar _fact2 = _interopRequireDefault(_fact);\n\nvar _errors = require('./errors');\n\nvar _debug = require('./debug');\n\nvar _debug2 = _interopRequireDefault(_debug);\n\nvar _jsonpathPlus = require('jsonpath-plus');\n\nvar _lodash = require('lodash.isobjectlike');\n\nvar _lodash2 = _interopRequireDefault(_lodash);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\n/**\n * Fact results lookup\n * Triggers fact computations and saves the results\n * A new almanac is used for every engine run()\n */\nvar Almanac = function () {\n function Almanac(factMap) {\n var runtimeFacts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n _classCallCheck(this, Almanac);\n\n this.factMap = new Map(factMap);\n this.factResultsCache = new Map(); // { cacheKey: Promise<factValu> }\n this.allowUndefinedFacts = Boolean(options.allowUndefinedFacts);\n\n for (var factId in runtimeFacts) {\n var fact = void 0;\n if (runtimeFacts[factId] instanceof _fact2.default) {\n fact = runtimeFacts[factId];\n } else {\n fact = new _fact2.default(factId, runtimeFacts[factId]);\n }\n\n this._addConstantFact(fact);\n (0, _debug2.default)('almanac::constructor initialized runtime fact:' + fact.id + ' with ' + fact.value + '<' + _typeof(fact.value) + '>');\n }\n }\n\n /**\n * Retrieve fact by id, raising an exception if it DNE\n * @param {String} factId\n * @return {Fact}\n */\n\n\n _createClass(Almanac, [{\n key: '_getFact',\n value: function _getFact(factId) {\n return this.factMap.get(factId);\n }\n\n /**\n * Registers fact with the almanac\n * @param {[type]} fact [description]\n */\n\n }, {\n key: '_addConstantFact',\n value: function _addConstantFact(fact) {\n this.factMap.set(fact.id, fact);\n this._setFactValue(fact, {}, fact.value);\n }\n\n /**\n * Sets the computed value of a fact\n * @param {Fact} fact\n * @param {Object} params - values for differentiating this fact value from others, used for cache key\n * @param {Mixed} value - computed value\n */\n\n }, {\n key: '_setFactValue',\n value: function _setFactValue(fact, params, value) {\n var cacheKey = fact.getCacheKey(params);\n var factValue = Promise.resolve(value);\n if (cacheKey) {\n this.factResultsCache.set(cacheKey, factValue);\n }\n return factValue;\n }\n\n /**\n * Adds a constant fact during runtime. Can be used mid-run() to add additional information\n * @param {String} fact - fact identifier\n * @param {Mixed} value - constant value of the fact\n */\n\n }, {\n key: 'addRuntimeFact',\n value: function addRuntimeFact(factId, value) {\n (0, _debug2.default)('almanac::addRuntimeFact id:' + factId);\n var fact = new _fact2.default(factId, value);\n return this._addConstantFact(fact);\n }\n\n /**\n * Returns the value of a fact, based on the given parameters. Utilizes the 'almanac' maintained\n * by the engine, which cache's fact computations based on parameters provided\n * @param {string} factId - fact identifier\n * @param {Object} params - parameters to feed into the fact. By default, these will also be used to compute the cache key\n * @param {String} path - object\n * @return {Promise} a promise which will resolve with the fact computation.\n */\n\n }, {\n key: 'factValue',\n value: function factValue(factId) {\n var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var path = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';\n\n var factValuePromise = void 0;\n var fact = this._getFact(factId);\n if (fact === undefined) {\n if (this.allowUndefinedFacts) {\n return Promise.resolve(undefined);\n } else {\n return Promise.reject(new _errors.UndefinedFactError('Undefined fact: ' + factId));\n }\n }\n if (fact.isConstant()) {\n factValuePromise = Promise.resolve(fact.calculate(params, this));\n } else {\n var cacheKey = fact.getCacheKey(params);\n var cacheVal = cacheKey && this.factResultsCache.get(cacheKey);\n if (cacheVal) {\n factValuePromise = Promise.resolve(cacheVal);\n (0, _debug2.default)('almanac::factValue cache hit for fact:' + factId);\n } else {\n (0, _debug2.default)('almanac::factValue cache miss for fact:' + factId + '; calculating');\n factValuePromise = this._setFactValue(fact, params, fact.calculate(params, this));\n }\n }\n if (path) {\n // selectn supports arrays and strings as a 'path'\n // strings starting with '$' denotes json path. otherwise fall back to deprecated 'selectn' syntax\n if (typeof path === 'string' && path.startsWith('$')) {\n (0, _debug2.default)('condition::evaluate extracting object property ' + path);\n return factValuePromise.then(function (factValue) {\n if ((0, _lodash2.default)(factValue)) {\n var pathValue = (0, _jsonpathPlus.JSONPath)({ path: path, json: factValue, wrap: false });\n (0, _debug2.default)('condition::evaluate extracting object property ' + path + ', received: ' + pathValue);\n return pathValue;\n } else {\n (0, _debug2.default)('condition::evaluate could not compute object path(' + path + ') of non-object: ' + factValue + ' <' + (typeof factValue === 'undefined' ? 'undefined' : _typeof(factValue)) + '>; continuing with ' + factValue);\n return factValue;\n }\n });\n } else {\n var selectn = void 0;\n try {\n selectn = require('selectn');\n } catch (err) {\n console.error('Oops! Looks like you\\'re trying to use the deprecated syntax for the \".path\" property.');\n console.error('Please convert your \"path\" properties to JsonPath syntax (ensure your path starts with \"$\")');\n console.error('Alternatively, if you wish to continue using old syntax (provided by selectn), you may \"npm install selectn\" as a direct dependency.');\n console.error('See https://github.com/CacheControl/json-rules-engine/blob/master/CHANGELOG.md#500--2019-10-27 for more information.');\n throw new Error('json-rules-engine: Unmet peer dependency \"selectn\" required for use of deprecated \".path\" syntax. please \"npm install selectn\" or convert to json-path syntax');\n }\n return factValuePromise.then(function (factValue) {\n if ((0, _lodash2.default)(factValue)) {\n var pathValue = selectn(path)(factValue);\n (0, _debug2.default)('condition::evaluate extracting object property ' + path + ', received: ' + pathValue);\n return pathValue;\n } else {\n (0, _debug2.default)('condition::evaluate could not compute object path(' + path + ') of non-object: ' + factValue + ' <' + (typeof factValue === 'undefined' ? 'undefined' : _typeof(factValue)) + '>; continuing with ' + factValue);\n return factValue;\n }\n });\n }\n }\n\n return factValuePromise;\n }\n }]);\n\n return Almanac;\n}();\n\nexports.default = Almanac;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _debug = require('./debug');\n\nvar _debug2 = _interopRequireDefault(_debug);\n\nvar _lodash = require('lodash.isobjectlike');\n\nvar _lodash2 = _interopRequireDefault(_lodash);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar Condition = function () {\n function Condition(properties) {\n _classCallCheck(this, Condition);\n\n if (!properties) throw new Error('Condition: constructor options required');\n var booleanOperator = Condition.booleanOperator(properties);\n Object.assign(this, properties);\n if (booleanOperator) {\n var subConditions = properties[booleanOperator];\n if (!Array.isArray(subConditions)) {\n throw new Error('\"' + booleanOperator + '\" must be an array');\n }\n this.operator = booleanOperator;\n // boolean conditions always have a priority; default 1\n this.priority = parseInt(properties.priority, 10) || 1;\n this[booleanOperator] = subConditions.map(function (c) {\n return new Condition(c);\n });\n } else {\n if (!Object.prototype.hasOwnProperty.call(properties, 'fact')) throw new Error('Condition: constructor \"fact\" property required');\n if (!Object.prototype.hasOwnProperty.call(properties, 'operator')) throw new Error('Condition: constructor \"operator\" property required');\n if (!Object.prototype.hasOwnProperty.call(properties, 'value')) throw new Error('Condition: constructor \"value\" property required');\n\n // a non-boolean condition does not have a priority by default. this allows\n // priority to be dictated by the fact definition\n if (Object.prototype.hasOwnProperty.call(properties, 'priority')) {\n properties.priority = parseInt(properties.priority, 10);\n }\n }\n }\n\n /**\n * Converts the condition into a json-friendly structure\n * @param {Boolean} stringify - whether to return as a json string\n * @returns {string,object} json string or json-friendly object\n */\n\n\n _createClass(Condition, [{\n key: 'toJSON',\n value: function toJSON() {\n var stringify = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;\n\n var props = {};\n if (this.priority) {\n props.priority = this.priority;\n }\n var oper = Condition.booleanOperator(this);\n if (oper) {\n props[oper] = this[oper].map(function (c) {\n return c.toJSON(stringify);\n });\n } else {\n props.operator = this.operator;\n props.value = this.value;\n props.fact = this.fact;\n if (this.factResult !== undefined) {\n props.factResult = this.factResult;\n }\n if (this.result !== undefined) {\n props.result = this.result;\n }\n if (this.params) {\n props.params = this.params;\n }\n if (this.path) {\n props.path = this.path;\n }\n }\n if (stringify) {\n return JSON.stringify(props);\n }\n return props;\n }\n\n /**\n * Interprets .value as either a primitive, or if a fact, retrieves the fact value\n */\n\n }, {\n key: '_getValue',\n value: function _getValue(almanac) {\n var value = this.value;\n if ((0, _lodash2.default)(value) && Object.prototype.hasOwnProperty.call(value, 'fact')) {\n // value: { fact: 'xyz' }\n return almanac.factValue(value.fact, value.params, value.path);\n }\n return Promise.resolve(value);\n }\n\n /**\n * Takes the fact result and compares it to the condition 'value', using the operator\n * LHS OPER RHS\n * <fact + params + path> <operator> <value>\n *\n * @param {Almanac} almanac\n * @param {Map} operatorMap - map of available operators, keyed by operator name\n * @returns {Boolean} - evaluation result\n */\n\n }, {\n key: 'evaluate',\n value: function evaluate(almanac, operatorMap) {\n var _this = this;\n\n if (!almanac) return Promise.reject(new Error('almanac required'));\n if (!operatorMap) return Promise.reject(new Error('operatorMap required'));\n if (this.isBooleanOperator()) return Promise.reject(new Error('Cannot evaluate() a boolean condition'));\n\n var op = operatorMap.get(this.operator);\n if (!op) return Promise.reject(new Error('Unknown operator: ' + this.operator));\n\n return this._getValue(almanac) // todo - parallelize\n .then(function (rightHandSideValue) {\n return almanac.factValue(_this.fact, _this.params, _this.path).then(function (leftHandSideValue) {\n var result = op.evaluate(leftHandSideValue, rightHandSideValue);\n (0, _debug2.default)('condition::evaluate <' + leftHandSideValue + ' ' + _this.operator + ' ' + rightHandSideValue + '?> (' + result + ')');\n return { result: result, leftHandSideValue: leftHandSideValue, rightHandSideValue: rightHandSideValue, operator: _this.operator };\n });\n });\n }\n\n /**\n * Returns the boolean operator for the condition\n * If the condition is not a boolean condition, the result will be 'undefined'\n * @return {string 'all' or 'any'}\n */\n\n }, {\n key: 'booleanOperator',\n\n\n /**\n * Returns the condition's boolean operator\n * Instance version of Condition.isBooleanOperator\n * @returns {string,undefined} - 'any', 'all', or undefined (if not a boolean condition)\n */\n value: function booleanOperator() {\n return Condition.booleanOperator(this);\n }\n\n /**\n * Whether the operator is boolean ('all', 'any')\n * @returns {Boolean}\n */\n\n }, {\n key: 'isBooleanOperator',\n value: function isBooleanOperator() {\n return Condition.booleanOperator(this) !== undefined;\n }\n }], [{\n key: 'booleanOperator',\n value: function booleanOperator(condition) {\n if (Object.prototype.hasOwnProperty.call(condition, 'any')) {\n return 'any';\n } else if (Object.prototype.hasOwnProperty.call(condition, 'all')) {\n return 'all';\n }\n }\n }]);\n\n return Condition;\n}();\n\nexports.default = Condition;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = debug;\nfunction debug(message) {\n try {\n if (typeof process !== 'undefined' && process.env && process.env.DEBUG && process.env.DEBUG.match(/json-rules-engine/) || typeof window !== 'undefined' && window.localStorage && window.localStorage.debug && window.localStorage.debug.match(/json-rules-engine/)) {\n console.log(message);\n }\n } catch (ex) {\n // Do nothing\n }\n}","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _operator = require('./operator');\n\nvar _operator2 = _interopRequireDefault(_operator);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar Operators = [];\nOperators.push(new _operator2.default('equal', function (a, b) {\n return a === b;\n}));\nOperators.push(new _operator2.default('notEqual', function (a, b) {\n return a !== b;\n}));\nOperators.push(new _operator2.default('in', function (a, b) {\n return b.indexOf(a) > -1;\n}));\nOperators.push(new _operator2.default('notIn', function (a, b) {\n return b.indexOf(a) === -1;\n}));\n\nOperators.push(new _operator2.default('contains', function (a, b) {\n return a.indexOf(b) > -1;\n}, Array.isArray));\nOperators.push(new _operator2.default('doesNotContain', function (a, b) {\n return a.indexOf(b) === -1;\n}, Array.isArray));\n\nfunction numberValidator(factValue) {\n return Number.parseFloat(factValue).toString() !== 'NaN';\n}\nOperators.push(new _operator2.default('lessThan', function (a, b) {\n return a < b;\n}, numberValidator));\nOperators.push(new _operator2.default('lessThanInclusive', function (a, b) {\n return a <= b;\n}, numberValidator));\nOperators.push(new _operator2.default('greaterThan', function (a, b) {\n return a > b;\n}, numberValidator));\nOperators.push(new _operator2.default('greaterThanInclusive', function (a, b) {\n return a >= b;\n}, numberValidator));\n\nexports.default = Operators;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar SuccessEventFact = function SuccessEventFact() {\n var successTriggers = [];\n return function () {\n var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n if (params.event) {\n successTriggers.push(params.event);\n }\n return successTriggers;\n };\n};\n\nexports.SuccessEventFact = SuccessEventFact;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.FINISHED = exports.RUNNING = exports.READY = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _fact = require('./fact');\n\nvar _fact2 = _interopRequireDefault(_fact);\n\nvar _rule = require('./rule');\n\nvar _rule2 = _interopRequireDefault(_rule);\n\nvar _operator = require('./operator');\n\nvar _operator2 = _interopRequireDefault(_operator);\n\nvar _almanac = require('./almanac');\n\nvar _almanac2 = _interopRequireDefault(_almanac);\n\nvar _events = require('events');\n\nvar _engineFacts = require('./engine-facts');\n\nvar _engineDefaultOperators = require('./engine-default-operators');\n\nvar _engineDefaultOperators2 = _interopRequireDefault(_engineDefaultOperators);\n\nvar _debug = require('./debug');\n\nvar _debug2 = _interopRequireDefault(_debug);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar READY = exports.READY = 'READY';\nvar RUNNING = exports.RUNNING = 'RUNNING';\nvar FINISHED = exports.FINISHED = 'FINISHED';\n\nvar Engine = function (_EventEmitter) {\n _inherits(Engine, _EventEmitter);\n\n /**\n * Returns a new Engine instance\n * @param {Rule[]} rules - array of rules to initialize with\n */\n function Engine() {\n var rules = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n _classCallCheck(this, Engine);\n\n var _this = _possibleConstructorReturn(this, (Engine.__proto__ || Object.getPrototypeOf(Engine)).call(this));\n\n _this.rules = [];\n _this.allowUndefinedFacts = options.allowUndefinedFacts || false;\n _this.operators = new Map();\n _this.facts = new Map();\n _this.status = READY;\n rules.map(function (r) {\n return _this.addRule(r);\n });\n _engineDefaultOperators2.default.map(function (o) {\n return _this.addOperator(o);\n });\n return _this;\n }\n\n /**\n * Add a rule definition to the engine\n * @param {object|Rule} properties - rule definition. can be JSON representation, or instance of Rule\n * @param {integer} properties.priority (>1) - higher runs sooner.\n * @param {Object} properties.event - event to fire when rule evaluates as successful\n * @param {string} properties.event.type - name of event to emit\n * @param {string} properties.event.params - parameters to pass to the event listener\n * @param {Object} properties.conditions - conditions to evaluate when processing this rule\n */\n\n\n _createClass(Engine, [{\n key: 'addRule',\n value: function addRule(properties) {\n if (!properties) throw new Error('Engine: addRule() requires options');\n if (!Object.prototype.hasOwnProperty.call(properties, 'conditions')) throw new Error('Engine: addRule() argument requires \"conditions\" property');\n if (!Object.prototype.hasOwnProperty.call(properties, 'event')) throw new Error('Engine: addRule() argument requires \"event\" property');\n\n var rule = void 0;\n if (properties instanceof _rule2.default) {\n rule = properties;\n } else {\n rule = new _rule2.default(properties);\n }\n rule.setEngine(this);\n\n this.rules.push(rule);\n this.prioritizedRules = null;\n return this;\n }\n\n /**\n * Remove a rule from the engine\n * @param {object|Rule} rule - rule definition. Must be a instance of Rule\n */\n\n }, {\n key: 'removeRule',\n value: function removeRule(rule) {\n if (rule instanceof _rule2.default === false) throw new Error('Engine: removeRule() rule must be a instance of Rule');\n\n var index = this.rules.indexOf(rule);\n if (index === -1) return false;\n this.prioritizedRules = null;\n return Boolean(this.rules.splice(index, 1).length);\n }\n\n /**\n * Add a custom operator definition\n * @param {string} operatorOrName - operator identifier within the condition; i.e. instead of 'equals', 'greaterThan', etc\n * @param {function(factValue, jsonValue)} callback - the method to execute when the operator is encountered.\n */\n\n }, {\n key: 'addOperator',\n value: function addOperator(operatorOrName, cb) {\n var operator = void 0;\n if (operatorOrName instanceof _operator2.default) {\n operator = operatorOrName;\n } else {\n operator = new _operator2.default(operatorOrName, cb);\n }\n (0, _debug2.default)('engine::addOperator name:' + operator.name);\n this.operators.set(operator.name, operator);\n }\n\n /**\n * Remove a custom operator definition\n * @param {string} operatorOrName - operator identifier within the condition; i.e. instead of 'equals', 'greaterThan', etc\n * @param {function(factValue, jsonValue)} callback - the method to execute when the operator is encountered.\n */\n\n }, {\n key: 'removeOperator',\n value: function removeOperator(operatorOrName) {\n var operatorName = void 0;\n if (operatorOrName instanceof _operator2.default) {\n operatorName = operatorOrName.name;\n } else {\n operatorName = operatorOrName;\n }\n\n return this.operators.delete(operatorName);\n }\n\n /**\n * Add a fact definition to the engine. Facts are called by rules as they are evaluated.\n * @param {object|Fact} id - fact identifier or instance of Fact\n * @param {function} definitionFunc - function to be called when computing the fact value for a given rule\n * @param {Object} options - options to initialize the fact with. used when \"id\" is not a Fact instance\n */\n\n }, {\n key: 'addFact',\n value: function addFact(id, valueOrMethod, options) {\n var factId = id;\n var fact = void 0;\n if (id instanceof _fact2.default) {\n factId = id.id;\n fact = id;\n } else {\n fact = new _fact2.default(id, valueOrMethod, options);\n }\n (0, _debug2.default)('engine::addFact id:' + factId);\n this.facts.set(factId, fact);\n return this;\n }\n\n /**\n * Remove a fact definition to the engine. Facts are called by rules as they are evaluated.\n * @param {object|Fact} id - fact identifier or instance of Fact\n */\n\n }, {\n key: 'removeFact',\n value: function removeFact(factOrId) {\n var factId = void 0;\n if (!(factOrId instanceof _fact2.default)) {\n factId = factOrId;\n } else {\n factId = factOrId.id;\n }\n\n return this.facts.delete(factId);\n }\n\n /**\n * Iterates over the engine rules, organizing them by highest -> lowest priority\n * @return {Rule[][]} two dimensional array of Rules.\n * Each outer array element represents a single priority(integer). Inner array is\n * all rules with that priority.\n */\n\n }, {\n key: 'prioritizeRules',\n value: function prioritizeRules() {\n if (!this.prioritizedRules) {\n var ruleSets = this.rules.reduce(function (sets, rule) {\n var priority = rule.priority;\n if (!sets[priority]) sets[priority] = [];\n sets[priority].push(rule);\n return sets;\n }, {});\n this.prioritizedRules = Object.keys(ruleSets).sort(function (a, b) {\n return Number(a) > Number(b) ? -1 : 1; // order highest priority -> lowest\n }).map(function (priority) {\n return ruleSets[priority];\n });\n }\n return this.prioritizedRules;\n }\n\n /**\n * Stops the rules engine from running the next priority set of Rules. All remaining rules will be resolved as undefined,\n * and no further events emitted. Since rules of the same priority are evaluated in parallel(not series), other rules of\n * the same priority may still emit events, even though the engine is in a \"finished\" state.\n * @return {Engine}\n */\n\n }, {\n key: 'stop',\n value: function stop() {\n this.status = FINISHED;\n return this;\n }\n\n /**\n * Returns a fact by fact-id\n * @param {string} factId - fact identifier\n * @return {Fact} fact instance, or undefined if no such fact exists\n */\n\n }, {\n key: 'getFact',\n value: function getFact(factId) {\n return this.facts.get(factId);\n }\n\n /**\n * Runs an array of rules\n * @param {Rule[]} array of rules to be evaluated\n * @return {Promise} resolves when all rules in the array have been evaluated\n */\n\n }, {\n key: 'evaluateRules',\n value: function evaluateRules(ruleArray, almanac) {\n var _this2 = this;\n\n return Promise.all(ruleArray.map(function (rule) {\n if (_this2.status !== RUNNING) {\n (0, _debug2.default)('engine::run status:' + _this2.status + '; skipping remaining rules');\n return;\n }\n return rule.evaluate(almanac).then(function (ruleResult) {\n (0, _debug2.default)('engine::run ruleResult:' + ruleResult.result);\n if (ruleResult.result) {\n _this2.emit('success', rule.event, almanac, ruleResult);\n _this2.emit(rule.event.type, rule.event.params, almanac, ruleResult);\n almanac.factValue('success-events', { event: rule.event });\n } else {\n _this2.emit('failure', rule.event, almanac, ruleResult);\n }\n });\n }));\n }\n\n /**\n * Runs the rules engine\n * @param {Object} runtimeFacts - fact values known at runtime\n * @param {Object} runOptions - run options\n * @return {Promise} resolves when the engine has completed running\n */\n\n }, {\n key: 'run',\n value: function run() {\n var _this3 = this;\n\n var runtimeFacts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n (0, _debug2.default)('engine::run started');\n (0, _debug2.default)('engine::run runtimeFacts:', runtimeFacts);\n runtimeFacts['success-events'] = new _fact2.default('success-events', (0, _engineFacts.SuccessEventFact)(), { cache: false });\n this.status = RUNNING;\n var almanac = new _almanac2.default(this.facts, runtimeFacts, { allowUndefinedFacts: this.allowUndefinedFacts });\n var orderedSets = this.prioritizeRules();\n var cursor = Promise.resolve();\n // for each rule set, evaluate in parallel,\n // before proceeding to the next priority set.\n return new Promise(function (resolve, reject) {\n orderedSets.map(function (set) {\n cursor = cursor.then(function () {\n return _this3.evaluateRules(set, almanac);\n }).catch(reject);\n return cursor;\n });\n cursor.then(function () {\n _this3.status = FINISHED;\n (0, _debug2.default)('engine::run completed');\n return almanac.factValue('success-events');\n }).then(function (events) {\n resolve({\n events: events,\n almanac: almanac\n });\n }).catch(reject);\n });\n }\n }]);\n\n return Engine;\n}(_events.EventEmitter);\n\nexports.default = Engine;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar UndefinedFactError = exports.UndefinedFactError = function (_Error) {\n _inherits(UndefinedFactError, _Error);\n\n function UndefinedFactError() {\n var _ref;\n\n _classCallCheck(this, UndefinedFactError);\n\n for (var _len = arguments.length, props = Array(_len), _key = 0; _key < _len; _key++) {\n props[_key] = arguments[_key];\n }\n\n var _this = _possibleConstructorReturn(this, (_ref = UndefinedFactError.__proto__ || Object.getPrototypeOf(UndefinedFactError)).call.apply(_ref, [this].concat(props)));\n\n _this.code = 'UNDEFINED_FACT';\n return _this;\n }\n\n return UndefinedFactError;\n}(Error);","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _hashIt = require('hash-it');\n\nvar _hashIt2 = _interopRequireDefault(_hashIt);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar Fact = function () {\n /**\n * Returns a new fact instance\n * @param {string} id - fact unique identifer\n * @param {object} options\n * @param {boolean} options.cache - whether to cache the fact's value for future rules\n * @param {primitive|function} valueOrMethod - constant primitive, or method to call when computing the fact's value\n * @return {Fact}\n */\n function Fact(id, valueOrMethod, options) {\n _classCallCheck(this, Fact);\n\n this.id = id;\n var defaultOptions = { cache: true };\n if (typeof options === 'undefined') {\n options = defaultOptions;\n }\n if (typeof valueOrMethod !== 'function') {\n this.value = valueOrMethod;\n this.type = this.constructor.CONSTANT;\n } else {\n this.calculationMethod = valueOrMethod;\n this.type = this.constructor.DYNAMIC;\n }\n\n if (!this.id) throw new Error('factId required');\n\n this.priority = parseInt(options.priority || 1, 10);\n this.options = Object.assign({}, defaultOptions, options);\n this.cacheKeyMethod = this.defaultCacheKeys;\n return this;\n }\n\n _createClass(Fact, [{\n key: 'isConstant',\n value: function isConstant() {\n return this.type === this.constructor.CONSTANT;\n }\n }, {\n key: 'isDynamic',\n value: function isDynamic() {\n return this.type === this.constructor.DYNAMIC;\n }\n\n /**\n * Return the fact value, based on provided parameters\n * @param {object} params\n * @param {Almanac} almanac\n * @return {any} calculation method results\n */\n\n }, {\n key: 'calculate',\n value: function calculate(params, almanac) {\n // if constant fact w/set value, return immediately\n if (Object.prototype.hasOwnProperty.call(this, 'value')) {\n return this.value;\n }\n return this.calculationMethod(params, almanac);\n }\n\n /**\n * Return a cache key (MD5 string) based on parameters\n * @param {object} obj - properties to generate a hash key from\n * @return {string} MD5 string based on the hash'd object\n */\n\n }, {\n key: 'defaultCacheKeys',\n\n\n /**\n * Default properties to use when caching a fact\n * Assumes every fact is a pure function, whose computed value will only\n * change when input params are modified\n * @param {string} id - fact unique identifer\n * @param {object} params - parameters passed to fact calcution method\n * @return {object} id + params\n */\n value: function defaultCacheKeys(id, params) {\n return { params: params, id: id };\n }\n\n /**\n * Generates the fact's cache key(MD5 string)\n * Returns nothing if the fact's caching has been disabled\n * @param {object} params - parameters that would be passed to the computation method\n * @return {string} cache key\n */\n\n }, {\n key: 'getCacheKey',\n value: function getCacheKey(params) {\n if (this.options.cache === true) {\n var cacheProperties = this.cacheKeyMethod(this.id, params);\n var _hash = Fact.hashFromObject(cacheProperties);\n return _hash;\n }\n }\n }], [{\n key: 'hashFromObject',\n value: function hashFromObject(obj) {\n return (0, _hashIt2.default)(obj);\n }\n }]);\n\n return Fact;\n}();\n\nFact.CONSTANT = 'CONSTANT';\nFact.DYNAMIC = 'DYNAMIC';\n\nexports.default = Fact;","'use strict';\n\nmodule.exports = require('./json-rules-engine');","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Engine = exports.Operator = exports.Rule = exports.Fact = undefined;\n\nexports.default = function (rules, options) {\n return new _engine2.default(rules, options);\n};\n\nvar _engine = require('./engine');\n\nvar _engine2 = _interopRequireDefault(_engine);\n\nvar _fact = require('./fact');\n\nvar _fact2 = _interopRequireDefault(_fact);\n\nvar _rule = require('./rule');\n\nvar _rule2 = _interopRequireDefault(_rule);\n\nvar _operator = require('./operator');\n\nvar _operator2 = _interopRequireDefault(_operator);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.Fact = _fact2.default;\nexports.Rule = _rule2.default;\nexports.Operator = _operator2.default;\nexports.Engine = _engine2.default;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar Operator = function () {\n /**\n * Constructor\n * @param {string} name - operator identifier\n * @param {function(factValue, jsonValue)} callback - operator evaluation method\n * @param {function} [factValueValidator] - optional validator for asserting the data type of the fact\n * @returns {Operator} - instance\n */\n function Operator(name, cb, factValueValidator) {\n _classCallCheck(this, Operator);\n\n this.name = String(name);\n if (!name) throw new Error('Missing operator name');\n if (typeof cb !== 'function') throw new Error('Missing operator callback');\n this.cb = cb;\n this.factValueValidator = factValueValidator;\n if (!this.factValueValidator) this.factValueValidator = function () {\n return true;\n };\n }\n\n /**\n * Takes the fact result and compares it to the condition 'value', using the callback\n * @param {mixed} factValue - fact result\n * @param {mixed} jsonValue - \"value\" property of the condition\n * @returns {Boolean} - whether the values pass the operator test\n */\n\n\n _createClass(Operator, [{\n key: 'evaluate',\n value: function evaluate(factValue, jsonValue) {\n return this.factValueValidator(factValue) && this.cb(factValue, jsonValue);\n }\n }]);\n\n return Operator;\n}();\n\nexports.default = Operator;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _clone = require('clone');\n\nvar _clone2 = _interopRequireDefault(_clone);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar RuleResult = function () {\n function RuleResult(conditions, event, priority, name) {\n _classCallCheck(this, RuleResult);\n\n this.conditions = (0, _clone2.default)(conditions);\n this.event = (0, _clone2.default)(event);\n this.priority = (0, _clone2.default)(priority);\n this.name = (0, _clone2.default)(name);\n this.result = null;\n }\n\n _createClass(RuleResult, [{\n key: 'setResult',\n value: function setResult(result) {\n this.result = result;\n }\n }, {\n key: 'toJSON',\n value: function toJSON() {\n var stringify = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;\n\n var props = {\n conditions: this.conditions.toJSON(false),\n event: this.event,\n priority: this.priority,\n name: this.name,\n result: this.result\n };\n if (stringify) {\n return JSON.stringify(props);\n }\n return props;\n }\n }]);\n\n return RuleResult;\n}();\n\nexports.default = RuleResult;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _condition = require('./condition');\n\nvar _condition2 = _interopRequireDefault(_condition);\n\nvar _ruleResult = require('./rule-result');\n\nvar _ruleResult2 = _interopRequireDefault(_ruleResult);\n\nvar _events = require('events');\n\nvar _debug = require('./debug');\n\nvar _debug2 = _interopRequireDefault(_debug);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar Rule = function (_EventEmitter) {\n _inherits(Rule, _EventEmitter);\n\n /**\n * returns a new Rule instance\n * @param {object,string} options, or json string that can be parsed into options\n * @param {integer} options.priority (>1) - higher runs sooner.\n * @param {Object} options.event - event to fire when rule evaluates as successful\n * @param {string} options.event.type - name of event to emit\n * @param {string} options.event.params - parameters to pass to the event listener\n * @param {Object} options.conditions - conditions to evaluate when processing this rule\n * @param {any} options.name - identifier for a particular rule, particularly valuable in RuleResult output\n * @return {Rule} instance\n */\n function Rule(options) {\n _classCallCheck(this, Rule);\n\n var _this = _possibleConstructorReturn(this, (Rule.__proto__ || Object.getPrototypeOf(Rule)).call(this));\n\n if (typeof options === 'string') {\n options = JSON.parse(options);\n }\n if (options && options.conditions) {\n _this.setConditions(options.conditions);\n }\n if (options && options.onSuccess) {\n _this.on('success', options.onSuccess);\n }\n if (options && options.onFailure) {\n _this.on('failure', options.onFailure);\n }\n if (options && (options.name || options.name === 0)) {\n _this.setName(options.name);\n }\n\n var priority = options && options.priority || 1;\n _this.setPriority(priority);\n\n var event = options && options.event || { type: 'unknown' };\n _this.setEvent(event);\n return _this;\n }\n\n /**\n * Sets the priority of the rule\n * @param {integer} priority (>=1) - increasing the priority causes the rule to be run prior to other rules\n */\n\n\n _createClass(Rule, [{\n key: 'setPriority',\n value: function setPriority(priority) {\n priority = parseInt(priority, 10);\n if (priority <= 0) throw new Error('Priority must be greater than zero');\n this.priority = priority;\n return this;\n }\n\n /**\n * Sets the name of the rule\n * @param {any} name - any truthy input and zero is allowed\n */\n\n }, {\n key: 'setName',\n value: function setName(name) {\n if (!name && name !== 0) {\n throw new Error('Rule \"name\" must be defined');\n }\n this.name = name;\n return this;\n }\n\n /**\n * Sets the conditions to run when evaluating the rule.\n * @param {object} conditions - conditions, root element must be a boolean operator\n */\n\n }, {\n key: 'setConditions',\n value: function setConditions(conditions) {\n if (!Object.prototype.hasOwnProperty.call(conditions, 'all') && !Object.prototype.hasOwnProperty.call(conditions, 'any')) {\n throw new Error('\"conditions\" root must contain a single instance of \"all\" or \"any\"');\n }\n this.conditions = new _condition2.default(conditions);\n return this;\n }\n\n /**\n * Sets the event to emit when the conditions evaluate truthy\n * @param {object} event - event to emit\n * @param {string} event.type - event name to emit on\n * @param {string} event.params - parameters to emit as the argument of the event emission\n */\n\n }, {\n key: 'setEvent',\n value: function setEvent(event) {\n if (!event) throw new Error('Rule: setEvent() requires event object');\n if (!Object.prototype.hasOwnProperty.call(event, 'type')) throw new Error('Rule: setEvent() requires event object with \"type\" property');\n this.event = {\n type: event.type\n };\n if (event.params) this.event.params = event.params;\n return this;\n }\n\n /**\n * Sets the engine to run the rules under\n * @param {object} engine\n * @returns {Rule}\n */\n\n }, {\n key: 'setEngine',\n value: function setEngine(engine) {\n this.engine = engine;\n return this;\n }\n }, {\n key: 'toJSON',\n value: function toJSON() {\n var stringify = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;\n\n var props = {\n conditions: this.conditions.toJSON(false),\n priority: this.priority,\n event: this.event,\n name: this.name\n };\n if (stringify) {\n return JSON.stringify(props);\n }\n return props;\n }\n\n /**\n * Priorizes an array of conditions based on \"priority\"\n * When no explicit priority is provided on the condition itself, the condition's priority is determine by its fact\n * @param {Condition[]} conditions\n * @return {Condition[][]} prioritized two-dimensional array of conditions\n * Each outer array element represents a single priority(integer). Inner array is\n * all conditions with that priority.\n */\n\n }, {\n key: 'prioritizeConditions',\n value: function prioritizeConditions(conditions) {\n var _this2 = this;\n\n var factSets = conditions.reduce(function (sets, condition) {\n // if a priority has been set on this specific condition, honor that first\n // otherwise, use the fact's priority\n var priority = condition.priority;\n if (!priority) {\n var fact = _this2.engine.getFact(condition.fact);\n priority = fact && fact.priority || 1;\n }\n if (!sets[priority]) sets[priority] = [];\n sets[priority].push(condition);\n return sets;\n }, {});\n return Object.keys(factSets).sort(function (a, b) {\n return Number(a) > Number(b) ? -1 : 1; // order highest priority -> lowest\n }).map(function (priority) {\n return factSets[priority];\n });\n }\n\n /**\n * Evaluates the rule, starting with the root boolean operator and recursing down\n * All evaluation is done within the context of an almanac\n * @return {Promise(RuleResult)} rule evaluation result\n */\n\n }, {\n key: 'evaluate',\n value: function evaluate(almanac) {\n var _this3 = this;\n\n var ruleResult = new _ruleResult2.default(this.conditions, this.event, this.priority, this.name);\n\n /**\n * Evaluates the rule conditions\n * @param {Condition} condition - condition to evaluate\n * @return {Promise(true|false)} - resolves with the result of the condition evaluation\n */\n var evaluateCondition = function evaluateCondition(condition) {\n if (condition.isBooleanOperator()) {\n var subConditions = condition[condition.operator];\n var comparisonPromise = void 0;\n if (condition.operator === 'all') {\n comparisonPromise = all(subConditions);\n } else {\n comparisonPromise = any(subConditions);\n }\n // for booleans, rule passing is determined by the all/any result\n return comparisonPromise.then(function (comparisonValue) {\n var passes = comparisonValue === true;\n condition.result = passes;\n return passes;\n });\n } else {\n return condition.evaluate(almanac, _this3.engine.operators).then(function (evaluationResult) {\n var passes = evaluationResult.result;\n condition.factResult = evaluationResult.leftHandSideValue;\n condition.result = passes;\n return passes;\n });\n }\n };\n\n /**\n * Evalutes an array of conditions, using an 'every' or 'some' array operation\n * @param {Condition[]} conditions\n * @param {string(every|some)} array method to call for determining result\n * @return {Promise(boolean)} whether conditions evaluated truthy or falsey based on condition evaluation + method\n */\n var evaluateConditions = function evaluateConditions(conditions, method) {\n if (!Array.isArray(conditions)) conditions = [conditions];\n\n return Promise.all(conditions.map(function (condition) {\n return evaluateCondition(condition);\n })).then(function (conditionResults) {\n (0, _debug2.default)('rule::evaluateConditions results', conditionResults);\n return method.call(conditionResults, function (result) {\n return result === true;\n });\n });\n };\n\n /**\n * Evaluates a set of conditions based on an 'all' or 'any' operator.\n * First, orders the top level conditions based on priority\n * Iterates over each priority set, evaluating each condition\n * If any condition results in the rule to be guaranteed truthy or falsey,\n * it will short-circuit and not bother evaluating any additional rules\n * @param {Condition[]} conditions - conditions to be evaluated\n * @param {string('all'|'any')} operator\n * @return {Promise(boolean)} rule evaluation result\n */\n var prioritizeAndRun = function prioritizeAndRun(conditions, operator) {\n if (conditions.length === 0) {\n return Promise.resolve(true);\n }\n var method = Array.prototype.some;\n if (operator === 'all') {\n method = Array.prototype.every;\n }\n var orderedSets = _this3.prioritizeConditions(conditions);\n var cursor = Promise.resolve();\n // use for() loop over Array.forEach to support IE8 without polyfill\n\n var _loop = function _loop(i) {\n var set = orderedSets[i];\n var stop = false;\n cursor = cursor.then(function (setResult) {\n // after the first set succeeds, don't fire off the remaining promises\n if (operator === 'any' && setResult === true || stop) {\n (0, _debug2.default)('prioritizeAndRun::detected truthy result; skipping remaining conditions');\n stop = true;\n return true;\n }\n\n // after the first set fails, don't fire off the remaining promises\n if (operator === 'all' && setResult === false || stop) {\n (0, _debug2.default)('prioritizeAndRun::detected falsey result; skipping remaining conditions');\n stop = true;\n return false;\n }\n // all conditions passed; proceed with running next set in parallel\n return evaluateConditions(set, method);\n });\n };\n\n for (var i = 0; i < orderedSets.length; i++) {\n _loop(i);\n }\n return cursor;\n };\n\n /**\n * Runs an 'any' boolean operator on an array of conditions\n * @param {Condition[]} conditions to be evaluated\n * @return {Promise(boolean)} condition evaluation result\n */\n var any = function any(conditions) {\n return prioritizeAndRun(conditions, 'any');\n };\n\n /**\n * Runs an 'all' boolean operator on an array of conditions\n * @param {Condition[]} conditions to be evaluated\n * @return {Promise(boolean)} condition evaluation result\n */\n var all = function all(conditions) {\n return prioritizeAndRun(conditions, 'all');\n };\n\n /**\n * Emits based on rule evaluation result, and decorates ruleResult with 'result' property\n * @param {Boolean} result\n */\n var processResult = function processResult(result) {\n ruleResult.setResult(result);\n\n if (result) _this3.emit('success', ruleResult.event, almanac, ruleResult);else _this3.emit('failure', ruleResult.event, almanac, ruleResult);\n return ruleResult;\n };\n\n if (ruleResult.conditions.any) {\n return any(ruleResult.conditions.any).then(function (result) {\n return processResult(result);\n });\n } else {\n return all(ruleResult.conditions.all).then(function (result) {\n return processResult(result);\n });\n }\n }\n }]);\n\n return Rule;\n}(_events.EventEmitter);\n\nexports.default = Rule;","function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function (obj) {\n return typeof obj;\n };\n } else {\n _typeof = function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n\n return _typeof(obj);\n}\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n if (superClass) _setPrototypeOf(subClass, superClass);\n}\n\nfunction _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}\n\nfunction _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n return _setPrototypeOf(o, p);\n}\n\nfunction _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n\n try {\n Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}\n\nfunction _construct(Parent, args, Class) {\n if (_isNativeReflectConstruct()) {\n _construct = Reflect.construct;\n } else {\n _construct = function _construct(Parent, args, Class) {\n var a = [null];\n a.push.apply(a, args);\n var Constructor = Function.bind.apply(Parent, a);\n var instance = new Constructor();\n if (Class) _setPrototypeOf(instance, Class.prototype);\n return instance;\n };\n }\n\n return _construct.apply(null, arguments);\n}\n\nfunction _isNativeFunction(fn) {\n return Function.toString.call(fn).indexOf(\"[native code]\") !== -1;\n}\n\nfunction _wrapNativeSuper(Class) {\n var _cache = typeof Map === \"function\" ? new Map() : undefined;\n\n _wrapNativeSuper = function _wrapNativeSuper(Class) {\n if (Class === null || !_isNativeFunction(Class)) return Class;\n\n if (typeof Class !== \"function\") {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n if (typeof _cache !== \"undefined\") {\n if (_cache.has(Class)) return _cache.get(Class);\n\n _cache.set(Class, Wrapper);\n }\n\n function Wrapper() {\n return _construct(Class, arguments, _getPrototypeOf(this).constructor);\n }\n\n Wrapper.prototype = Object.create(Class.prototype, {\n constructor: {\n value: Wrapper,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n return _setPrototypeOf(Wrapper, Class);\n };\n\n return _wrapNativeSuper(Class);\n}\n\nfunction _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}\n\nfunction _possibleConstructorReturn(self, call) {\n if (call && (typeof call === \"object\" || typeof call === \"function\")) {\n return call;\n }\n\n return _assertThisInitialized(self);\n}\n\nfunction _createSuper(Derived) {\n return function () {\n var Super = _getPrototypeOf(Derived),\n result;\n\n if (_isNativeReflectConstruct()) {\n var NewTarget = _getPrototypeOf(this).constructor;\n\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n\n return _possibleConstructorReturn(this, result);\n };\n}\n\nfunction _toConsumableArray(arr) {\n return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();\n}\n\nfunction _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return _arrayLikeToArray(arr);\n}\n\nfunction _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && Symbol.iterator in Object(iter)) return Array.from(iter);\n}\n\nfunction _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(n);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n}\n\nfunction _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++) arr2[i] = arr[i];\n\n return arr2;\n}\n\nfunction _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\nfunction _createForOfIteratorHelper(o) {\n if (typeof Symbol === \"undefined\" || o[Symbol.iterator] == null) {\n if (Array.isArray(o) || (o = _unsupportedIterableToArray(o))) {\n var i = 0;\n\n var F = function () {};\n\n return {\n s: F,\n n: function () {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function (e) {\n throw e;\n },\n f: F\n };\n }\n\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n\n var it,\n normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function () {\n it = o[Symbol.iterator]();\n },\n n: function () {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function (e) {\n didErr = true;\n err = e;\n },\n f: function () {\n try {\n if (!normalCompletion && it.return != null) it.return();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}\n\n/* eslint-disable prefer-named-capture-group */\n// Disabled `prefer-named-capture-group` due to https://github.com/babel/babel/issues/8951#issuecomment-508045524\n// Only Node.JS has a process variable that is of [[Class]] process\nvar supportsNodeVM = function supportsNodeVM() {\n try {\n return Object.prototype.toString.call(global.process) === '[object process]';\n } catch (e) {\n return false;\n }\n};\n\nvar hasOwnProp = Object.prototype.hasOwnProperty;\n/**\n* @typedef {null|boolean|number|string|PlainObject|GenericArray} JSONObject\n*/\n\n/**\n* @callback ConditionCallback\n* @param {any} item\n* @returns {boolean}\n*/\n\n/**\n * Copy items out of one array into another.\n * @param {GenericArray} source Array with items to copy\n * @param {GenericArray} target Array to which to copy\n * @param {ConditionCallback} conditionCb Callback passed the current item;\n * will move item if evaluates to `true`\n * @returns {void}\n */\n\nvar moveToAnotherArray = function moveToAnotherArray(source, target, conditionCb) {\n var il = source.length;\n\n for (var i = 0; i < il; i++) {\n var item = source[i];\n\n if (conditionCb(item)) {\n target.push(source.splice(i--, 1)[0]);\n }\n }\n};\n\nJSONPath.nodeVMSupported = supportsNodeVM();\nvar vm = JSONPath.nodeVMSupported ? require('vm') : {\n /**\n * @param {string} expr Expression to evaluate\n * @param {PlainObject} context Object whose items will be added\n * to evaluation\n * @returns {any} Result of evaluated code\n */\n runInNewContext: function runInNewContext(expr, context) {\n var keys = Object.keys(context);\n var funcs = [];\n moveToAnotherArray(keys, funcs, function (key) {\n return typeof context[key] === 'function';\n });\n var values = keys.map(function (vr, i) {\n return context[vr];\n });\n var funcString = funcs.reduce(function (s, func) {\n var fString = context[func].toString();\n\n if (!/function/.test(fString)) {\n fString = 'function ' + fString;\n }\n\n return 'var ' + func + '=' + fString + ';' + s;\n }, '');\n expr = funcString + expr; // Mitigate http://perfectionkills.com/global-eval-what-are-the-options/#new_function\n\n if (!expr.match(/([\"'])use strict\\1/) && !keys.includes('arguments')) {\n expr = 'var arguments = undefined;' + expr;\n } // Remove last semi so `return` will be inserted before\n // the previous one instead, allowing for the return\n // of a bare ending expression\n\n\n expr = expr.replace(/;[\\t-\\r \\xA0\\u1680\\u2000-\\u200A\\u2028\\u2029\\u202F\\u205F\\u3000\\uFEFF]*$/, ''); // Insert `return`\n\n var lastStatementEnd = expr.lastIndexOf(';');\n var code = lastStatementEnd > -1 ? expr.slice(0, lastStatementEnd + 1) + ' return ' + expr.slice(lastStatementEnd + 1) : ' return ' + expr; // eslint-disable-next-line no-new-func\n\n return _construct(Function, _toConsumableArray(keys).concat([code])).apply(void 0, _toConsumableArray(values));\n }\n};\n/**\n * Copies array and then pushes item into it.\n * @param {GenericArray} arr Array to copy and into which to push\n * @param {any} item Array item to add (to end)\n * @returns {GenericArray} Copy of the original array\n */\n\nfunction push(arr, item) {\n arr = arr.slice();\n arr.push(item);\n return arr;\n}\n/**\n * Copies array and then unshifts item into it.\n * @param {any} item Array item to add (to beginning)\n * @param {GenericArray} arr Array to copy and into which to unshift\n * @returns {GenericArray} Copy of the original array\n */\n\n\nfunction unshift(item, arr) {\n arr = arr.slice();\n arr.unshift(item);\n return arr;\n}\n/**\n * Caught when JSONPath is used without `new` but rethrown if with `new`\n * @extends Error\n */\n\n\nvar NewError = /*#__PURE__*/function (_Error) {\n _inherits(NewError, _Error);\n\n var _super = _createSuper(NewError);\n\n /**\n * @param {any} value The evaluated scalar value\n */\n function NewError(value) {\n var _this;\n\n _classCallCheck(this, NewError);\n\n _this = _super.call(this, 'JSONPath should not be called with \"new\" (it prevents return ' + 'of (unwrapped) scalar values)');\n _this.avoidNew = true;\n _this.value = value;\n _this.name = 'NewError';\n return _this;\n }\n\n return NewError;\n}( /*#__PURE__*/_wrapNativeSuper(Error));\n/**\n* @typedef {PlainObject} ReturnObject\n* @property {string} path\n* @property {JSONObject} value\n* @property {PlainObject|GenericArray} parent\n* @property {string} parentProperty\n*/\n\n/**\n* @callback JSONPathCallback\n* @param {string|PlainObject} preferredOutput\n* @param {\"value\"|\"property\"} type\n* @param {ReturnObject} fullRetObj\n* @returns {void}\n*/\n\n/**\n* @callback OtherTypeCallback\n* @param {JSONObject} val\n* @param {string} path\n* @param {PlainObject|GenericArray} parent\n* @param {string} parentPropName\n* @returns {boolean}\n*/\n\n/**\n * @typedef {PlainObject} JSONPathOptions\n * @property {JSON} json\n * @property {string|string[]} path\n * @property {\"value\"|\"path\"|\"pointer\"|\"parent\"|\"parentProperty\"|\"all\"}\n * [resultType=\"value\"]\n * @property {boolean} [flatten=false]\n * @property {boolean} [wrap=true]\n * @property {PlainObject} [sandbox={}]\n * @property {boolean} [preventEval=false]\n * @property {PlainObject|GenericArray|null} [parent=null]\n * @property {string|null} [parentProperty=null]\n * @property {JSONPathCallback} [callback]\n * @property {OtherTypeCallback} [otherTypeCallback] Defaults to\n * function which throws on encountering `@other`\n * @property {boolean} [autostart=true]\n */\n\n/**\n * @param {string|JSONPathOptions} opts If a string, will be treated as `expr`\n * @param {string} [expr] JSON path to evaluate\n * @param {JSON} [obj] JSON object to evaluate against\n * @param {JSONPathCallback} [callback] Passed 3 arguments: 1) desired payload\n * per `resultType`, 2) `\"value\"|\"property\"`, 3) Full returned object with\n * all payloads\n * @param {OtherTypeCallback} [otherTypeCallback] If `@other()` is at the end\n * of one's query, this will be invoked with the value of the item, its\n * path, its parent, and its parent's property name, and it should return\n * a boolean indicating whether the supplied value belongs to the \"other\"\n * type or not (or it may handle transformations and return `false`).\n * @returns {JSONPath}\n * @class\n */\n\n\nfunction JSONPath(opts, expr, obj, callback, otherTypeCallback) {\n // eslint-disable-next-line no-restricted-syntax\n if (!(this instanceof JSONPath)) {\n try {\n return new JSONPath(opts, expr, obj, callback, otherTypeCallback);\n } catch (e) {\n if (!e.avoidNew) {\n throw e;\n }\n\n return e.value;\n }\n }\n\n if (typeof opts === 'string') {\n otherTypeCallback = callback;\n callback = obj;\n obj = expr;\n expr = opts;\n opts = null;\n }\n\n var optObj = opts && _typeof(opts) === 'object';\n opts = opts || {};\n this.json = opts.json || obj;\n this.path = opts.path || expr;\n this.resultType = opts.resultType || 'value';\n this.flatten = opts.flatten || false;\n this.wrap = hasOwnProp.call(opts, 'wrap') ? opts.wrap : true;\n this.sandbox = opts.sandbox || {};\n this.preventEval = opts.preventEval || false;\n this.parent = opts.parent || null;\n this.parentProperty = opts.parentProperty || null;\n this.callback = opts.callback || callback || null;\n\n this.otherTypeCallback = opts.otherTypeCallback || otherTypeCallback || function () {\n throw new TypeError('You must supply an otherTypeCallback callback option ' + 'with the @other() operator.');\n };\n\n if (opts.autostart !== false) {\n var args = {\n path: optObj ? opts.path : expr\n };\n\n if (!optObj) {\n args.json = obj;\n } else if ('json' in opts) {\n args.json = opts.json;\n }\n\n var ret = this.evaluate(args);\n\n if (!ret || _typeof(ret) !== 'object') {\n throw new NewError(ret);\n }\n\n return ret;\n }\n} // PUBLIC METHODS\n\n\nJSONPath.prototype.evaluate = function (expr, json, callback, otherTypeCallback) {\n var that = this;\n var currParent = this.parent,\n currParentProperty = this.parentProperty;\n var flatten = this.flatten,\n wrap = this.wrap;\n this.currResultType = this.resultType;\n this.currPreventEval = this.preventEval;\n this.currSandbox = this.sandbox;\n callback = callback || this.callback;\n this.currOtherTypeCallback = otherTypeCallback || this.otherTypeCallback;\n json = json || this.json;\n expr = expr || this.path;\n\n if (expr && _typeof(expr) === 'object' && !Array.isArray(expr)) {\n if (!expr.path && expr.path !== '') {\n throw new TypeError('You must supply a \"path\" property when providing an object ' + 'argument to JSONPath.evaluate().');\n }\n\n if (!hasOwnProp.call(expr, 'json')) {\n throw new TypeError('You must supply a \"json\" property when providing an object ' + 'argument to JSONPath.evaluate().');\n }\n\n var _expr = expr;\n json = _expr.json;\n flatten = hasOwnProp.call(expr, 'flatten') ? expr.flatten : flatten;\n this.currResultType = hasOwnProp.call(expr, 'resultType') ? expr.resultType : this.currResultType;\n this.currSandbox = hasOwnProp.call(expr, 'sandbox') ? expr.sandbox : this.currSandbox;\n wrap = hasOwnProp.call(expr, 'wrap') ? expr.wrap : wrap;\n this.currPreventEval = hasOwnProp.call(expr, 'preventEval') ? expr.preventEval : this.currPreventEval;\n callback = hasOwnProp.call(expr, 'callback') ? expr.callback : callback;\n this.currOtherTypeCallback = hasOwnProp.call(expr, 'otherTypeCallback') ? expr.otherTypeCallback : this.currOtherTypeCallback;\n currParent = hasOwnProp.call(expr, 'parent') ? expr.parent : currParent;\n currParentProperty = hasOwnProp.call(expr, 'parentProperty') ? expr.parentProperty : currParentProperty;\n expr = expr.path;\n }\n\n currParent = currParent || null;\n currParentProperty = currParentProperty || null;\n\n if (Array.isArray(expr)) {\n expr = JSONPath.toPathString(expr);\n }\n\n if (!expr && expr !== '' || !json) {\n return undefined;\n }\n\n this._obj = json;\n var exprList = JSONPath.toPathArray(expr);\n\n if (exprList[0] === '$' && exprList.length > 1) {\n exprList.shift();\n }\n\n this._hasParentSelector = null;\n\n var result = this._trace(exprList, json, ['$'], currParent, currParentProperty, callback).filter(function (ea) {\n return ea && !ea.isParentSelector;\n });\n\n if (!result.length) {\n return wrap ? [] : undefined;\n }\n\n if (!wrap && result.length === 1 && !result[0].hasArrExpr) {\n return this._getPreferredOutput(result[0]);\n }\n\n return result.reduce(function (rslt, ea) {\n var valOrPath = that._getPreferredOutput(ea);\n\n if (flatten && Array.isArray(valOrPath)) {\n rslt = rslt.concat(valOrPath);\n } else {\n rslt.push(valOrPath);\n }\n\n return rslt;\n }, []);\n}; // PRIVATE METHODS\n\n\nJSONPath.prototype._getPreferredOutput = function (ea) {\n var resultType = this.currResultType;\n\n switch (resultType) {\n default:\n throw new TypeError('Unknown result type');\n\n case 'all':\n {\n var path = Array.isArray(ea.path) ? ea.path : JSONPath.toPathArray(ea.path);\n ea.pointer = JSONPath.toPointer(path);\n ea.path = typeof ea.path === 'string' ? ea.path : JSONPath.toPathString(ea.path);\n return ea;\n }\n\n case 'value':\n case 'parent':\n case 'parentProperty':\n return ea[resultType];\n\n case 'path':\n return JSONPath.toPathString(ea[resultType]);\n\n case 'pointer':\n return JSONPath.toPointer(ea.path);\n }\n};\n\nJSONPath.prototype._handleCallback = function (fullRetObj, callback, type) {\n if (callback) {\n var preferredOutput = this._getPreferredOutput(fullRetObj);\n\n fullRetObj.path = typeof fullRetObj.path === 'string' ? fullRetObj.path : JSONPath.toPathString(fullRetObj.path); // eslint-disable-next-line callback-return\n\n callback(preferredOutput, type, fullRetObj);\n }\n};\n/**\n *\n * @param {string} expr\n * @param {JSONObject} val\n * @param {string} path\n * @param {PlainObject|GenericArray} parent\n * @param {string} parentPropName\n * @param {JSONPathCallback} callback\n * @param {boolean} hasArrExpr\n * @param {boolean} literalPriority\n * @returns {ReturnObject|ReturnObject[]}\n */\n\n\nJSONPath.prototype._trace = function (expr, val, path, parent, parentPropName, callback, hasArrExpr, literalPriority) {\n // No expr to follow? return path and value as the result of\n // this trace branch\n var retObj;\n var that = this;\n\n if (!expr.length) {\n retObj = {\n path: path,\n value: val,\n parent: parent,\n parentProperty: parentPropName,\n hasArrExpr: hasArrExpr\n };\n\n this._handleCallback(retObj, callback, 'value');\n\n return retObj;\n }\n\n var loc = expr[0],\n x = expr.slice(1); // We need to gather the return value of recursive trace calls in order to\n // do the parent sel computation.\n\n var ret = [];\n /**\n *\n * @param {ReturnObject|ReturnObject[]} elems\n * @returns {void}\n */\n\n function addRet(elems) {\n if (Array.isArray(elems)) {\n // This was causing excessive stack size in Node (with or\n // without Babel) against our performance test:\n // `ret.push(...elems);`\n elems.forEach(function (t) {\n ret.push(t);\n });\n } else {\n ret.push(elems);\n }\n }\n\n if ((typeof loc !== 'string' || literalPriority) && val && hasOwnProp.call(val, loc)) {\n // simple case--directly follow property\n addRet(this._trace(x, val[loc], push(path, loc), val, loc, callback, hasArrExpr));\n } else if (loc === '*') {\n // all child properties\n this._walk(loc, x, val, path, parent, parentPropName, callback, function (m, l, _x, v, p, par, pr, cb) {\n addRet(that._trace(unshift(m, _x), v, p, par, pr, cb, true, true));\n });\n } else if (loc === '..') {\n // all descendent parent properties\n // Check remaining expression with val's immediate children\n addRet(this._trace(x, val, path, parent, parentPropName, callback, hasArrExpr));\n\n this._walk(loc, x, val, path, parent, parentPropName, callback, function (m, l, _x, v, p, par, pr, cb) {\n // We don't join m and x here because we only want parents,\n // not scalar values\n if (_typeof(v[m]) === 'object') {\n // Keep going with recursive descent on val's\n // object children\n addRet(that._trace(unshift(l, _x), v[m], push(p, m), v, m, cb, true));\n }\n }); // The parent sel computation is handled in the frame above using the\n // ancestor object of val\n\n } else if (loc === '^') {\n // This is not a final endpoint, so we do not invoke the callback here\n this._hasParentSelector = true;\n return {\n path: path.slice(0, -1),\n expr: x,\n isParentSelector: true\n };\n } else if (loc === '~') {\n // property name\n retObj = {\n path: push(path, loc),\n value: parentPropName,\n parent: parent,\n parentProperty: null\n };\n\n this._handleCallback(retObj, callback, 'property');\n\n return retObj;\n } else if (loc === '$') {\n // root only\n addRet(this._trace(x, val, path, null, null, callback, hasArrExpr));\n } else if (/^(\\x2D?[0-9]*):(\\x2D?[0-9]*):?([0-9]*)$/.test(loc)) {\n // [start:end:step] Python slice syntax\n addRet(this._slice(loc, x, val, path, parent, parentPropName, callback));\n } else if (loc.indexOf('?(') === 0) {\n // [?(expr)] (filtering)\n if (this.currPreventEval) {\n throw new Error('Eval [?(expr)] prevented in JSONPath expression.');\n }\n\n this._walk(loc, x, val, path, parent, parentPropName, callback, function (m, l, _x, v, p, par, pr, cb) {\n if (that._eval(l.replace(/^\\?\\(((?:[\\0-\\t\\x0B\\f\\x0E-\\u2027\\u202A-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF])*?)\\)$/, '$1'), v[m], m, p, par, pr)) {\n addRet(that._trace(unshift(m, _x), v, p, par, pr, cb, true));\n }\n });\n } else if (loc[0] === '(') {\n // [(expr)] (dynamic property/index)\n if (this.currPreventEval) {\n throw new Error('Eval [(expr)] prevented in JSONPath expression.');\n } // As this will resolve to a property name (but we don't know it\n // yet), property and parent information is relative to the\n // parent of the property to which this expression will resolve\n\n\n addRet(this._trace(unshift(this._eval(loc, val, path[path.length - 1], path.slice(0, -1), parent, parentPropName), x), val, path, parent, parentPropName, callback, hasArrExpr));\n } else if (loc[0] === '@') {\n // value type: @boolean(), etc.\n var addType = false;\n var valueType = loc.slice(1, -2);\n\n switch (valueType) {\n /* istanbul ignore next */\n default:\n throw new TypeError('Unknown value type ' + valueType);\n\n case 'scalar':\n if (!val || !['object', 'function'].includes(_typeof(val))) {\n addType = true;\n }\n\n break;\n\n case 'boolean':\n case 'string':\n case 'undefined':\n case 'function':\n // eslint-disable-next-line valid-typeof\n if (_typeof(val) === valueType) {\n addType = true;\n }\n\n break;\n\n case 'integer':\n if (Number.isFinite(val) && !(val % 1)) {\n addType = true;\n }\n\n break;\n\n case 'number':\n if (Number.isFinite(val)) {\n addType = true;\n }\n\n break;\n\n case 'nonFinite':\n if (typeof val === 'number' && !Number.isFinite(val)) {\n addType = true;\n }\n\n break;\n\n case 'object':\n // eslint-disable-next-line valid-typeof\n if (val && _typeof(val) === valueType) {\n addType = true;\n }\n\n break;\n\n case 'array':\n if (Array.isArray(val)) {\n addType = true;\n }\n\n break;\n\n case 'other':\n addType = this.currOtherTypeCallback(val, path, parent, parentPropName);\n break;\n\n case 'null':\n if (val === null) {\n addType = true;\n }\n\n break;\n }\n\n if (addType) {\n retObj = {\n path: path,\n value: val,\n parent: parent,\n parentProperty: parentPropName\n };\n\n this._handleCallback(retObj, callback, 'value');\n\n return retObj;\n } // `-escaped property\n\n } else if (loc[0] === '`' && val && hasOwnProp.call(val, loc.slice(1))) {\n var locProp = loc.slice(1);\n addRet(this._trace(x, val[locProp], push(path, locProp), val, locProp, callback, hasArrExpr, true));\n } else if (loc.includes(',')) {\n // [name1,name2,...]\n var parts = loc.split(',');\n\n var _iterator = _createForOfIteratorHelper(parts),\n _step;\n\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var part = _step.value;\n addRet(this._trace(unshift(part, x), val, path, parent, parentPropName, callback, true));\n } // simple case--directly follow property\n\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n } else if (!literalPriority && val && hasOwnProp.call(val, loc)) {\n addRet(this._trace(x, val[loc], push(path, loc), val, loc, callback, hasArrExpr, true));\n } // We check the resulting values for parent selections. For parent\n // selections we discard the value object and continue the trace with the\n // current val object\n\n\n if (this._hasParentSelector) {\n for (var t = 0; t < ret.length; t++) {\n var rett = ret[t];\n\n if (rett && rett.isParentSelector) {\n var tmp = that._trace(rett.expr, val, rett.path, parent, parentPropName, callback, hasArrExpr);\n\n if (Array.isArray(tmp)) {\n ret[t] = tmp[0];\n var tl = tmp.length;\n\n for (var tt = 1; tt < tl; tt++) {\n t++;\n ret.splice(t, 0, tmp[tt]);\n }\n } else {\n ret[t] = tmp;\n }\n }\n }\n }\n\n return ret;\n};\n\nJSONPath.prototype._walk = function (loc, expr, val, path, parent, parentPropName, callback, f) {\n if (Array.isArray(val)) {\n var n = val.length;\n\n for (var i = 0; i < n; i++) {\n f(i, loc, expr, val, path, parent, parentPropName, callback);\n }\n } else if (val && _typeof(val) === 'object') {\n Object.keys(val).forEach(function (m) {\n f(m, loc, expr, val, path, parent, parentPropName, callback);\n });\n }\n};\n\nJSONPath.prototype._slice = function (loc, expr, val, path, parent, parentPropName, callback) {\n if (!Array.isArray(val)) {\n return undefined;\n }\n\n var len = val.length,\n parts = loc.split(':'),\n step = parts[2] && Number.parseInt(parts[2]) || 1;\n var start = parts[0] && Number.parseInt(parts[0]) || 0,\n end = parts[1] && Number.parseInt(parts[1]) || len;\n start = start < 0 ? Math.max(0, start + len) : Math.min(len, start);\n end = end < 0 ? Math.max(0, end + len) : Math.min(len, end);\n var ret = [];\n\n for (var i = start; i < end; i += step) {\n var tmp = this._trace(unshift(i, expr), val, path, parent, parentPropName, callback, true); // Should only be possible to be an array here since first part of\n // ``unshift(i, expr)` passed in above would not be empty, nor `~`,\n // nor begin with `@` (as could return objects)\n // This was causing excessive stack size in Node (with or\n // without Babel) against our performance test: `ret.push(...tmp);`\n\n\n tmp.forEach(function (t) {\n ret.push(t);\n });\n }\n\n return ret;\n};\n\nJSONPath.prototype._eval = function (code, _v, _vname, path, parent, parentPropName) {\n if (!this._obj || !_v) {\n return false;\n }\n\n if (code.includes('@parentProperty')) {\n this.currSandbox._$_parentProperty = parentPropName;\n code = code.replace(/@parentProperty/g, '_$_parentProperty');\n }\n\n if (code.includes('@parent')) {\n this.currSandbox._$_parent = parent;\n code = code.replace(/@parent/g, '_$_parent');\n }\n\n if (code.includes('@property')) {\n this.currSandbox._$_property = _vname;\n code = code.replace(/@property/g, '_$_property');\n }\n\n if (code.includes('@path')) {\n this.currSandbox._$_path = JSONPath.toPathString(path.concat([_vname]));\n code = code.replace(/@path/g, '_$_path');\n }\n\n if (code.includes('@root')) {\n this.currSandbox._$_root = this.json;\n code = code.replace(/@root/g, '_$_root');\n }\n\n if (code.match(/@([\\t-\\r \\)\\.\\[\\xA0\\u1680\\u2000-\\u200A\\u2028\\u2029\\u202F\\u205F\\u3000\\uFEFF])/)) {\n this.currSandbox._$_v = _v;\n code = code.replace(/@([\\t-\\r \\)\\.\\[\\xA0\\u1680\\u2000-\\u200A\\u2028\\u2029\\u202F\\u205F\\u3000\\uFEFF])/g, '_$_v$1');\n }\n\n try {\n return vm.runInNewContext(code, this.currSandbox);\n } catch (e) {\n // eslint-disable-next-line no-console\n console.log(e);\n throw new Error('jsonPath: ' + e.message + ': ' + code);\n }\n}; // PUBLIC CLASS PROPERTIES AND METHODS\n// Could store the cache object itself\n\n\nJSONPath.cache = {};\n/**\n * @param {string[]} pathArr Array to convert\n * @returns {string} The path string\n */\n\nJSONPath.toPathString = function (pathArr) {\n var x = pathArr,\n n = x.length;\n var p = '$';\n\n for (var i = 1; i < n; i++) {\n if (!/^(~|\\^|@(?:[\\0-\\t\\x0B\\f\\x0E-\\u2027\\u202A-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF])*?\\(\\))$/.test(x[i])) {\n p += /^[\\*0-9]+$/.test(x[i]) ? '[' + x[i] + ']' : \"['\" + x[i] + \"']\";\n }\n }\n\n return p;\n};\n/**\n * @param {string} pointer JSON Path\n * @returns {string} JSON Pointer\n */\n\n\nJSONPath.toPointer = function (pointer) {\n var x = pointer,\n n = x.length;\n var p = '';\n\n for (var i = 1; i < n; i++) {\n if (!/^(~|\\^|@(?:[\\0-\\t\\x0B\\f\\x0E-\\u2027\\u202A-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF])*?\\(\\))$/.test(x[i])) {\n p += '/' + x[i].toString().replace(/~/g, '~0').replace(/\\//g, '~1');\n }\n }\n\n return p;\n};\n/**\n * @param {string} expr Expression to convert\n * @returns {string[]}\n */\n\n\nJSONPath.toPathArray = function (expr) {\n var cache = JSONPath.cache;\n\n if (cache[expr]) {\n return cache[expr].concat();\n }\n\n var subx = [];\n var normalized = expr // Properties\n .replace(/@(?:null|boolean|number|string|integer|undefined|nonFinite|scalar|array|object|function|other)\\(\\)/g, ';$&;') // Parenthetical evaluations (filtering and otherwise), directly\n // within brackets or single quotes\n .replace(/['\\[](\\??\\((?:[\\0-\\t\\x0B\\f\\x0E-\\u2027\\u202A-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF])*?\\))['\\]]/g, function ($0, $1) {\n return '[#' + (subx.push($1) - 1) + ']';\n }) // Escape periods and tildes within properties\n .replace(/\\['((?:[\\0-&\\(-\\\\\\^-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF])*)'\\]/g, function ($0, prop) {\n return \"['\" + prop.replace(/\\./g, '%@%').replace(/~/g, '%%@@%%') + \"']\";\n }) // Properties operator\n .replace(/~/g, ';~;') // Split by property boundaries\n .replace(/'?\\.'?(?!(?:[\\0-Z\\\\-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF])*\\])|\\['?/g, ';') // Reinsert periods within properties\n .replace(/%@%/g, '.') // Reinsert tildes within properties\n .replace(/%%@@%%/g, '~') // Parent\n .replace(/(?:;)?(\\^+)(?:;)?/g, function ($0, ups) {\n return ';' + ups.split('').join(';') + ';';\n }) // Descendents\n .replace(/;;;|;;/g, ';..;') // Remove trailing\n .replace(/;$|'?\\]|'$/g, '');\n var exprList = normalized.split(';').map(function (exp) {\n var match = exp.match(/#([0-9]+)/);\n return !match || !match[1] ? exp : subx[match[1]];\n });\n cache[expr] = exprList;\n return cache[expr];\n};\n\nexport { JSONPath };\n","/**\n * lodash 4.0.0 (Custom Build) <https://lodash.com/>\n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright 2009-2016 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n * Available under MIT license <https://lodash.com/license>\n */\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","\"use strict\";\nexports.__esModule = true;\nexports.toClosest = exports.toMoney = exports.toClean = exports.toNumber = exports.toNumberString = void 0;\n/**\n * Escape special RegExp characters in string\n */\nfunction regexpEscape(s) {\n return s.replace(/[-[\\]/{}()*+?.\\\\^$]/g, \"\\\\$&\");\n}\n/**\n * Convert value to number string\n */\nfunction toNumberString(value, _a) {\n var _b = _a === void 0 ? {} : _a, _c = _b.decimalMark, decimalMark = _c === void 0 ? \".\" : _c;\n if (typeof value === \"number\") {\n return value.toString();\n }\n if (typeof value !== \"string\") {\n return \"NaN\";\n }\n var regexpDecimalMark = regexpEscape(decimalMark);\n var n = value.trim();\n var negative = n.match(/^\\(.*\\)$|^-/); //negative if matches '(...)' or '-...'\n var getNumberRegexp = new RegExp(\"[^\\\\d\" + regexpDecimalMark + \"]|\" + regexpDecimalMark + \"(?=.*\" + regexpDecimalMark + \")|^\\\\D*\" + regexpDecimalMark + \"\\\\D*$\", \"g\");\n n = n.replace(getNumberRegexp, \"\").replace(decimalMark, \".\"); //remove all except digits and last dot\n if (n === \"\") {\n n = \"NaN\";\n }\n else if (negative) {\n n = \"-\" + n;\n }\n return n;\n}\nexports.toNumberString = toNumberString;\n/**\n * Convert value to number\n */\nfunction toNumber(value, _a) {\n var _b = _a === void 0 ? {} : _a, _c = _b.decimalMark, decimalMark = _c === void 0 ? \".\" : _c;\n var s = toNumberString(value, { decimalMark: decimalMark });\n if (s === \"NaN\") {\n return NaN;\n }\n return Number(s);\n}\nexports.toNumber = toNumber;\n/**\n * Like `toFixed` but removes trailing zeros\n */\nfunction toClean(value, _a) {\n var _b = _a === void 0 ? {} : _a, _c = _b.decimalMark, decimalMark = _c === void 0 ? \".\" : _c, _d = _b.thousandSeperator, thousandSeperator = _d === void 0 ? null : _d, _e = _b.thousandSeparator, thousandSeparator = _e === void 0 ? \",\" : _e, _f = _b.maxPrecision, maxPrecision = _f === void 0 ? 100 : _f, _g = _b.minPrecision, minPrecision = _g === void 0 ? 0 : _g;\n if (thousandSeperator) {\n thousandSeparator = thousandSeperator;\n console.error(\"`thousandSeperator` is deprecated use `thousandSeparator` instead.\");\n }\n value = toNumberString(value);\n if (value === \"NaN\") {\n return \"NaN\";\n }\n if (maxPrecision < 0) {\n throw new Error(\"maxPrecision must be >= 0\");\n }\n if (minPrecision < 0) {\n throw new Error(\"minPrecision must be >= 0\");\n }\n if (maxPrecision > 100) {\n throw new Error(\"maxPrecision must be <= 100\");\n }\n if (minPrecision > 100) {\n throw new Error(\"minPrecision must be <= 100\");\n }\n if (minPrecision > maxPrecision) {\n throw new Error(\"minPrecision must be <= maxPrecision\");\n }\n var s = value;\n // limit to maxPrecision\n var dotIndex = s.lastIndexOf(\".\");\n if (dotIndex > -1) {\n var integer = (dotIndex === 0 ? \"0\" : s.slice(0, dotIndex));\n var fraction = s.slice(dotIndex + 1, dotIndex + 1 + maxPrecision);\n var remainder = s.slice(dotIndex + 1 + maxPrecision);\n if (remainder.length > 0 && +remainder[0] > 4) {\n // round up\n var i = (BigInt(integer + fraction) + BigInt(1)).toString(10);\n integer = i.slice(0, i.length - fraction.length);\n fraction = i.slice(i.length - fraction.length);\n }\n s = integer + decimalMark + fraction;\n }\n else {\n s += decimalMark;\n }\n // remove trailing 0s\n var rmLen = 0;\n for (var i = s.length - 1; i >= 0; i--) {\n if (s[i] !== \"0\") {\n break;\n }\n rmLen++;\n }\n s = s.slice(0, s.length - rmLen);\n // limit to minPrecision\n if (minPrecision > 0) {\n var numZeros = void 0;\n if (dotIndex > -1) {\n numZeros = minPrecision - (s.length - dotIndex - 1);\n }\n else {\n numZeros = minPrecision;\n }\n for (var i = 0; i < numZeros; i++) {\n s += \"0\";\n }\n }\n var regexpDecimalMark = regexpEscape(decimalMark);\n var thousandSeparatorRegexp = new RegExp(\"\\\\d(?=(\\\\d{3})+\" + regexpDecimalMark + \")\", \"g\");\n var trimRegexp = new RegExp(regexpDecimalMark + \"$\");\n s = s.replace(thousandSeparatorRegexp, \"$&\" + thousandSeparator).replace(trimRegexp, \"\");\n return s;\n}\nexports.toClean = toClean;\n/**\n * Convert string or number to currency string\n * modified from http://stackoverflow.com/a/149099/806777\\\n */\nfunction toMoney(value, _a) {\n var _b = _a === void 0 ? {} : _a, _c = _b.decimalMark, decimalMark = _c === void 0 ? \".\" : _c, _d = _b.thousandSeperator, thousandSeperator = _d === void 0 ? null : _d, _e = _b.thousandSeparator, thousandSeparator = _e === void 0 ? \",\" : _e, _f = _b.maxPrecision, maxPrecision = _f === void 0 ? 2 : _f, _g = _b.minPrecision, minPrecision = _g === void 0 ? 2 : _g, _h = _b.symbol, symbol = _h === void 0 ? \"$\" : _h, _j = _b.symbolBehind, symbolBehind = _j === void 0 ? false : _j, _k = _b.useParens, useParens = _k === void 0 ? true : _k;\n if (thousandSeperator) {\n thousandSeparator = thousandSeperator;\n console.error(\"`thousandSeperator` is deprecated use `thousandSeparator` instead.\");\n }\n var n = (typeof value === \"number\"\n ? value\n : toNumber(value, {\n decimalMark: decimalMark\n }));\n var s = toNumberString(value, {\n decimalMark: decimalMark\n });\n if (isNaN(n)) {\n return \"NaN\";\n }\n if (n === Infinity) {\n return \"Infinity\";\n }\n if (n === -Infinity) {\n return (useParens ? \"(Infinity)\" : \"-Infinity\");\n }\n if (maxPrecision < 2 && typeof arguments[1].minPrecision === \"undefined\") {\n minPrecision = maxPrecision;\n }\n if (minPrecision > 2 && typeof arguments[1].maxPrecision === \"undefined\") {\n maxPrecision = minPrecision;\n }\n var negative = n < 0;\n s = toClean(negative ? s.slice(1) : s, {\n decimalMark: decimalMark,\n thousandSeparator: thousandSeparator,\n maxPrecision: maxPrecision,\n minPrecision: minPrecision\n });\n s = (symbolBehind ? s + \" \" + symbol : symbol + s);\n if (negative) {\n s = (useParens ? \"(\" + s + \")\" : \"-\" + s);\n }\n return s;\n}\nexports.toMoney = toMoney;\n/**\n * Round number to closest multiple of number\n */\nfunction toClosest(value, roundTo) {\n if (roundTo === void 0) { roundTo = 1; }\n if (typeof value !== \"number\") {\n value = toNumber(value);\n }\n if (isNaN(value)) {\n return NaN;\n }\n if (value === Infinity || value === -Infinity) {\n return value;\n }\n if (typeof roundTo !== \"number\") {\n roundTo = toNumber(roundTo);\n }\n if (isNaN(roundTo)) {\n throw Error(\"roundTo must be a number\");\n }\n if (roundTo === Infinity || roundTo === -Infinity) {\n return roundTo;\n }\n var n = Math.round(value / roundTo) * roundTo;\n var maxPrecision = 0;\n while (!Number.isInteger(roundTo)) {\n roundTo *= 10;\n maxPrecision++;\n }\n n = +n.toFixed(maxPrecision);\n return n;\n}\nexports.toClosest = toClosest;\n","/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n","var hasMap = typeof Map === 'function' && Map.prototype;\nvar mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;\nvar mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;\nvar mapForEach = hasMap && Map.prototype.forEach;\nvar hasSet = typeof Set === 'function' && Set.prototype;\nvar setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null;\nvar setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null;\nvar setForEach = hasSet && Set.prototype.forEach;\nvar hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype;\nvar weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;\nvar hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype;\nvar weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;\nvar hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype;\nvar weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;\nvar booleanValueOf = Boolean.prototype.valueOf;\nvar objectToString = Object.prototype.toString;\nvar functionToString = Function.prototype.toString;\nvar $match = String.prototype.match;\nvar $slice = String.prototype.slice;\nvar $replace = String.prototype.replace;\nvar $toUpperCase = String.prototype.toUpperCase;\nvar $toLowerCase = String.prototype.toLowerCase;\nvar $test = RegExp.prototype.test;\nvar $concat = Array.prototype.concat;\nvar $join = Array.prototype.join;\nvar $arrSlice = Array.prototype.slice;\nvar $floor = Math.floor;\nvar bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;\nvar gOPS = Object.getOwnPropertySymbols;\nvar symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null;\nvar hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object';\n// ie, `has-tostringtag/shams\nvar toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol')\n ? Symbol.toStringTag\n : null;\nvar isEnumerable = Object.prototype.propertyIsEnumerable;\n\nvar gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || (\n [].__proto__ === Array.prototype // eslint-disable-line no-proto\n ? function (O) {\n return O.__proto__; // eslint-disable-line no-proto\n }\n : null\n);\n\nfunction addNumericSeparator(num, str) {\n if (\n num === Infinity\n || num === -Infinity\n || num !== num\n || (num && num > -1000 && num < 1000)\n || $test.call(/e/, str)\n ) {\n return str;\n }\n var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;\n if (typeof num === 'number') {\n var int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num)\n if (int !== num) {\n var intStr = String(int);\n var dec = $slice.call(str, intStr.length + 1);\n return $replace.call(intStr, sepRegex, '$&_') + '.' + $replace.call($replace.call(dec, /([0-9]{3})/g, '$&_'), /_$/, '');\n }\n }\n return $replace.call(str, sepRegex, '$&_');\n}\n\nvar utilInspect = require('./util.inspect');\nvar inspectCustom = utilInspect.custom;\nvar inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null;\n\nmodule.exports = function inspect_(obj, options, depth, seen) {\n var opts = options || {};\n\n if (has(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) {\n throw new TypeError('option \"quoteStyle\" must be \"single\" or \"double\"');\n }\n if (\n has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number'\n ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity\n : opts.maxStringLength !== null\n )\n ) {\n throw new TypeError('option \"maxStringLength\", if provided, must be a positive integer, Infinity, or `null`');\n }\n var customInspect = has(opts, 'customInspect') ? opts.customInspect : true;\n if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') {\n throw new TypeError('option \"customInspect\", if provided, must be `true`, `false`, or `\\'symbol\\'`');\n }\n\n if (\n has(opts, 'indent')\n && opts.indent !== null\n && opts.indent !== '\\t'\n && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)\n ) {\n throw new TypeError('option \"indent\" must be \"\\\\t\", an integer > 0, or `null`');\n }\n if (has(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') {\n throw new TypeError('option \"numericSeparator\", if provided, must be `true` or `false`');\n }\n var numericSeparator = opts.numericSeparator;\n\n if (typeof obj === 'undefined') {\n return 'undefined';\n }\n if (obj === null) {\n return 'null';\n }\n if (typeof obj === 'boolean') {\n return obj ? 'true' : 'false';\n }\n\n if (typeof obj === 'string') {\n return inspectString(obj, opts);\n }\n if (typeof obj === 'number') {\n if (obj === 0) {\n return Infinity / obj > 0 ? '0' : '-0';\n }\n var str = String(obj);\n return numericSeparator ? addNumericSeparator(obj, str) : str;\n }\n if (typeof obj === 'bigint') {\n var bigIntStr = String(obj) + 'n';\n return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr;\n }\n\n var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;\n if (typeof depth === 'undefined') { depth = 0; }\n if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') {\n return isArray(obj) ? '[Array]' : '[Object]';\n }\n\n var indent = getIndent(opts, depth);\n\n if (typeof seen === 'undefined') {\n seen = [];\n } else if (indexOf(seen, obj) >= 0) {\n return '[Circular]';\n }\n\n function inspect(value, from, noIndent) {\n if (from) {\n seen = $arrSlice.call(seen);\n seen.push(from);\n }\n if (noIndent) {\n var newOpts = {\n depth: opts.depth\n };\n if (has(opts, 'quoteStyle')) {\n newOpts.quoteStyle = opts.quoteStyle;\n }\n return inspect_(value, newOpts, depth + 1, seen);\n }\n return inspect_(value, opts, depth + 1, seen);\n }\n\n if (typeof obj === 'function' && !isRegExp(obj)) { // in older engines, regexes are callable\n var name = nameOf(obj);\n var keys = arrObjKeys(obj, inspect);\n return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : '');\n }\n if (isSymbol(obj)) {\n var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\\(.*\\))_[^)]*$/, '$1') : symToString.call(obj);\n return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString;\n }\n if (isElement(obj)) {\n var s = '<' + $toLowerCase.call(String(obj.nodeName));\n var attrs = obj.attributes || [];\n for (var i = 0; i < attrs.length; i++) {\n s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts);\n }\n s += '>';\n if (obj.childNodes && obj.childNodes.length) { s += '...'; }\n s += '</' + $toLowerCase.call(String(obj.nodeName)) + '>';\n return s;\n }\n if (isArray(obj)) {\n if (obj.length === 0) { return '[]'; }\n var xs = arrObjKeys(obj, inspect);\n if (indent && !singleLineValues(xs)) {\n return '[' + indentedJoin(xs, indent) + ']';\n }\n return '[ ' + $join.call(xs, ', ') + ' ]';\n }\n if (isError(obj)) {\n var parts = arrObjKeys(obj, inspect);\n if (!('cause' in Error.prototype) && 'cause' in obj && !isEnumerable.call(obj, 'cause')) {\n return '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }';\n }\n if (parts.length === 0) { return '[' + String(obj) + ']'; }\n return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }';\n }\n if (typeof obj === 'object' && customInspect) {\n if (inspectSymbol && typeof obj[inspectSymbol] === 'function' && utilInspect) {\n return utilInspect(obj, { depth: maxDepth - depth });\n } else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') {\n return obj.inspect();\n }\n }\n if (isMap(obj)) {\n var mapParts = [];\n if (mapForEach) {\n mapForEach.call(obj, function (value, key) {\n mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj));\n });\n }\n return collectionOf('Map', mapSize.call(obj), mapParts, indent);\n }\n if (isSet(obj)) {\n var setParts = [];\n if (setForEach) {\n setForEach.call(obj, function (value) {\n setParts.push(inspect(value, obj));\n });\n }\n return collectionOf('Set', setSize.call(obj), setParts, indent);\n }\n if (isWeakMap(obj)) {\n return weakCollectionOf('WeakMap');\n }\n if (isWeakSet(obj)) {\n return weakCollectionOf('WeakSet');\n }\n if (isWeakRef(obj)) {\n return weakCollectionOf('WeakRef');\n }\n if (isNumber(obj)) {\n return markBoxed(inspect(Number(obj)));\n }\n if (isBigInt(obj)) {\n return markBoxed(inspect(bigIntValueOf.call(obj)));\n }\n if (isBoolean(obj)) {\n return markBoxed(booleanValueOf.call(obj));\n }\n if (isString(obj)) {\n return markBoxed(inspect(String(obj)));\n }\n if (!isDate(obj) && !isRegExp(obj)) {\n var ys = arrObjKeys(obj, inspect);\n var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;\n var protoTag = obj instanceof Object ? '' : 'null prototype';\n var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? 'Object' : '';\n var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : '';\n var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : '');\n if (ys.length === 0) { return tag + '{}'; }\n if (indent) {\n return tag + '{' + indentedJoin(ys, indent) + '}';\n }\n return tag + '{ ' + $join.call(ys, ', ') + ' }';\n }\n return String(obj);\n};\n\nfunction wrapQuotes(s, defaultStyle, opts) {\n var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '\"' : \"'\";\n return quoteChar + s + quoteChar;\n}\n\nfunction quote(s) {\n return $replace.call(String(s), /\"/g, '"');\n}\n\nfunction isArray(obj) { return toStr(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isDate(obj) { return toStr(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isRegExp(obj) { return toStr(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isError(obj) { return toStr(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isString(obj) { return toStr(obj) === '[object String]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isNumber(obj) { return toStr(obj) === '[object Number]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isBoolean(obj) { return toStr(obj) === '[object Boolean]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\n\n// Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives\nfunction isSymbol(obj) {\n if (hasShammedSymbols) {\n return obj && typeof obj === 'object' && obj instanceof Symbol;\n }\n if (typeof obj === 'symbol') {\n return true;\n }\n if (!obj || typeof obj !== 'object' || !symToString) {\n return false;\n }\n try {\n symToString.call(obj);\n return true;\n } catch (e) {}\n return false;\n}\n\nfunction isBigInt(obj) {\n if (!obj || typeof obj !== 'object' || !bigIntValueOf) {\n return false;\n }\n try {\n bigIntValueOf.call(obj);\n return true;\n } catch (e) {}\n return false;\n}\n\nvar hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; };\nfunction has(obj, key) {\n return hasOwn.call(obj, key);\n}\n\nfunction toStr(obj) {\n return objectToString.call(obj);\n}\n\nfunction nameOf(f) {\n if (f.name) { return f.name; }\n var m = $match.call(functionToString.call(f), /^function\\s*([\\w$]+)/);\n if (m) { return m[1]; }\n return null;\n}\n\nfunction indexOf(xs, x) {\n if (xs.indexOf) { return xs.indexOf(x); }\n for (var i = 0, l = xs.length; i < l; i++) {\n if (xs[i] === x) { return i; }\n }\n return -1;\n}\n\nfunction isMap(x) {\n if (!mapSize || !x || typeof x !== 'object') {\n return false;\n }\n try {\n mapSize.call(x);\n try {\n setSize.call(x);\n } catch (s) {\n return true;\n }\n return x instanceof Map; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakMap(x) {\n if (!weakMapHas || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakMapHas.call(x, weakMapHas);\n try {\n weakSetHas.call(x, weakSetHas);\n } catch (s) {\n return true;\n }\n return x instanceof WeakMap; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakRef(x) {\n if (!weakRefDeref || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakRefDeref.call(x);\n return true;\n } catch (e) {}\n return false;\n}\n\nfunction isSet(x) {\n if (!setSize || !x || typeof x !== 'object') {\n return false;\n }\n try {\n setSize.call(x);\n try {\n mapSize.call(x);\n } catch (m) {\n return true;\n }\n return x instanceof Set; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakSet(x) {\n if (!weakSetHas || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakSetHas.call(x, weakSetHas);\n try {\n weakMapHas.call(x, weakMapHas);\n } catch (s) {\n return true;\n }\n return x instanceof WeakSet; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isElement(x) {\n if (!x || typeof x !== 'object') { return false; }\n if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) {\n return true;\n }\n return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function';\n}\n\nfunction inspectString(str, opts) {\n if (str.length > opts.maxStringLength) {\n var remaining = str.length - opts.maxStringLength;\n var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : '');\n return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer;\n }\n // eslint-disable-next-line no-control-regex\n var s = $replace.call($replace.call(str, /(['\\\\])/g, '\\\\$1'), /[\\x00-\\x1f]/g, lowbyte);\n return wrapQuotes(s, 'single', opts);\n}\n\nfunction lowbyte(c) {\n var n = c.charCodeAt(0);\n var x = {\n 8: 'b',\n 9: 't',\n 10: 'n',\n 12: 'f',\n 13: 'r'\n }[n];\n if (x) { return '\\\\' + x; }\n return '\\\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16));\n}\n\nfunction markBoxed(str) {\n return 'Object(' + str + ')';\n}\n\nfunction weakCollectionOf(type) {\n return type + ' { ? }';\n}\n\nfunction collectionOf(type, size, entries, indent) {\n var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', ');\n return type + ' (' + size + ') {' + joinedEntries + '}';\n}\n\nfunction singleLineValues(xs) {\n for (var i = 0; i < xs.length; i++) {\n if (indexOf(xs[i], '\\n') >= 0) {\n return false;\n }\n }\n return true;\n}\n\nfunction getIndent(opts, depth) {\n var baseIndent;\n if (opts.indent === '\\t') {\n baseIndent = '\\t';\n } else if (typeof opts.indent === 'number' && opts.indent > 0) {\n baseIndent = $join.call(Array(opts.indent + 1), ' ');\n } else {\n return null;\n }\n return {\n base: baseIndent,\n prev: $join.call(Array(depth + 1), baseIndent)\n };\n}\n\nfunction indentedJoin(xs, indent) {\n if (xs.length === 0) { return ''; }\n var lineJoiner = '\\n' + indent.prev + indent.base;\n return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\\n' + indent.prev;\n}\n\nfunction arrObjKeys(obj, inspect) {\n var isArr = isArray(obj);\n var xs = [];\n if (isArr) {\n xs.length = obj.length;\n for (var i = 0; i < obj.length; i++) {\n xs[i] = has(obj, i) ? inspect(obj[i], obj) : '';\n }\n }\n var syms = typeof gOPS === 'function' ? gOPS(obj) : [];\n var symMap;\n if (hasShammedSymbols) {\n symMap = {};\n for (var k = 0; k < syms.length; k++) {\n symMap['$' + syms[k]] = syms[k];\n }\n }\n\n for (var key in obj) { // eslint-disable-line no-restricted-syntax\n if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue\n if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue\n if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) {\n // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section\n continue; // eslint-disable-line no-restricted-syntax, no-continue\n } else if ($test.call(/[^\\w$]/, key)) {\n xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj));\n } else {\n xs.push(key + ': ' + inspect(obj[key], obj));\n }\n }\n if (typeof gOPS === 'function') {\n for (var j = 0; j < syms.length; j++) {\n if (isEnumerable.call(obj, syms[j])) {\n xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj));\n }\n }\n }\n return xs;\n}\n","!function t(e,r){if(\"object\"==typeof exports&&\"object\"==typeof module)module.exports=r();else if(\"function\"==typeof define&&define.amd)define([],r);else{var n=r();for(var i in n)(\"object\"==typeof exports?exports:e)[i]=n[i]}}(this,(function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(t,\"__esModule\",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&\"object\"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,\"default\",{enumerable:!0,value:t}),2&e&&\"string\"!=typeof t)for(var i in t)r.d(n,i,function(e){return t[e]}.bind(null,i));return n},r.n=function(t){var e=t&&t.__esModule?function e(){return t.default}:function e(){return t};return r.d(e,\"a\",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p=\"\",r(r.s=22)}([function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,\"value\"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();var i={debug:function t(){},info:function t(){},warn:function t(){},error:function t(){}},o=void 0,s=void 0;(e.Log=function(){function t(){!function e(t,r){if(!(t instanceof r))throw new TypeError(\"Cannot call a class as a function\")}(this,t)}return t.reset=function t(){s=3,o=i},t.debug=function t(){if(s>=4){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];o.debug.apply(o,Array.from(r))}},t.info=function t(){if(s>=3){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];o.info.apply(o,Array.from(r))}},t.warn=function t(){if(s>=2){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];o.warn.apply(o,Array.from(r))}},t.error=function t(){if(s>=1){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];o.error.apply(o,Array.from(r))}},n(t,null,[{key:\"NONE\",get:function t(){return 0}},{key:\"ERROR\",get:function t(){return 1}},{key:\"WARN\",get:function t(){return 2}},{key:\"INFO\",get:function t(){return 3}},{key:\"DEBUG\",get:function t(){return 4}},{key:\"level\",get:function t(){return s},set:function t(e){if(!(0<=e&&e<=4))throw new Error(\"Invalid log level\");s=e}},{key:\"logger\",get:function t(){return o},set:function t(e){if(!e.debug&&e.info&&(e.debug=e.info),!(e.debug&&e.info&&e.warn&&e.error))throw new Error(\"Invalid logger\");o=e}}]),t}()).reset()},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,\"value\"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();var i={setInterval:function(t){function e(e,r){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(t,e){return setInterval(t,e)})),clearInterval:function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(t){return clearInterval(t)}))},o=!1,s=null;e.Global=function(){function t(){!function e(t,r){if(!(t instanceof r))throw new TypeError(\"Cannot call a class as a function\")}(this,t)}return t._testing=function t(){o=!0},t.setXMLHttpRequest=function t(e){s=e},n(t,null,[{key:\"location\",get:function t(){if(!o)return location}},{key:\"localStorage\",get:function t(){if(!o&&\"undefined\"!=typeof window)return localStorage}},{key:\"sessionStorage\",get:function t(){if(!o&&\"undefined\"!=typeof window)return sessionStorage}},{key:\"XMLHttpRequest\",get:function t(){if(!o&&\"undefined\"!=typeof window)return s||XMLHttpRequest}},{key:\"timer\",get:function t(){if(!o)return i}}]),t}()},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.MetadataService=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,\"value\"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),i=r(0),o=r(7);function s(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}var a=\".well-known/openid-configuration\";e.MetadataService=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.JsonService;if(s(this,t),!e)throw i.Log.error(\"MetadataService: No settings passed to MetadataService\"),new Error(\"settings\");this._settings=e,this._jsonService=new r([\"application/jwk-set+json\"])}return t.prototype.resetSigningKeys=function t(){this._settings=this._settings||{},this._settings.signingKeys=void 0},t.prototype.getMetadata=function t(){var e=this;return this._settings.metadata?(i.Log.debug(\"MetadataService.getMetadata: Returning metadata from settings\"),Promise.resolve(this._settings.metadata)):this.metadataUrl?(i.Log.debug(\"MetadataService.getMetadata: getting metadata from\",this.metadataUrl),this._jsonService.getJson(this.metadataUrl).then((function(t){i.Log.debug(\"MetadataService.getMetadata: json received\");var r=e._settings.metadataSeed||{};return e._settings.metadata=Object.assign({},r,t),e._settings.metadata}))):(i.Log.error(\"MetadataService.getMetadata: No authority or metadataUrl configured on settings\"),Promise.reject(new Error(\"No authority or metadataUrl configured on settings\")))},t.prototype.getIssuer=function t(){return this._getMetadataProperty(\"issuer\")},t.prototype.getAuthorizationEndpoint=function t(){return this._getMetadataProperty(\"authorization_endpoint\")},t.prototype.getUserInfoEndpoint=function t(){return this._getMetadataProperty(\"userinfo_endpoint\")},t.prototype.getTokenEndpoint=function t(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._getMetadataProperty(\"token_endpoint\",e)},t.prototype.getCheckSessionIframe=function t(){return this._getMetadataProperty(\"check_session_iframe\",!0)},t.prototype.getEndSessionEndpoint=function t(){return this._getMetadataProperty(\"end_session_endpoint\",!0)},t.prototype.getRevocationEndpoint=function t(){return this._getMetadataProperty(\"revocation_endpoint\",!0)},t.prototype.getKeysEndpoint=function t(){return this._getMetadataProperty(\"jwks_uri\",!0)},t.prototype._getMetadataProperty=function t(e){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return i.Log.debug(\"MetadataService.getMetadataProperty for: \"+e),this.getMetadata().then((function(t){if(i.Log.debug(\"MetadataService.getMetadataProperty: metadata recieved\"),void 0===t[e]){if(!0===r)return void i.Log.warn(\"MetadataService.getMetadataProperty: Metadata does not contain optional property \"+e);throw i.Log.error(\"MetadataService.getMetadataProperty: Metadata does not contain property \"+e),new Error(\"Metadata does not contain property \"+e)}return t[e]}))},t.prototype.getSigningKeys=function t(){var e=this;return this._settings.signingKeys?(i.Log.debug(\"MetadataService.getSigningKeys: Returning signingKeys from settings\"),Promise.resolve(this._settings.signingKeys)):this._getMetadataProperty(\"jwks_uri\").then((function(t){return i.Log.debug(\"MetadataService.getSigningKeys: jwks_uri received\",t),e._jsonService.getJson(t).then((function(t){if(i.Log.debug(\"MetadataService.getSigningKeys: key set received\",t),!t.keys)throw i.Log.error(\"MetadataService.getSigningKeys: Missing keys on keyset\"),new Error(\"Missing keys on keyset\");return e._settings.signingKeys=t.keys,e._settings.signingKeys}))}))},n(t,[{key:\"metadataUrl\",get:function t(){return this._metadataUrl||(this._settings.metadataUrl?this._metadataUrl=this._settings.metadataUrl:(this._metadataUrl=this._settings.authority,this._metadataUrl&&this._metadataUrl.indexOf(a)<0&&(\"/\"!==this._metadataUrl[this._metadataUrl.length-1]&&(this._metadataUrl+=\"/\"),this._metadataUrl+=a))),this._metadataUrl}}]),t}()},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.UrlUtility=void 0;var n=r(0),i=r(1);e.UrlUtility=function(){function t(){!function e(t,r){if(!(t instanceof r))throw new TypeError(\"Cannot call a class as a function\")}(this,t)}return t.addQueryParam=function t(e,r,n){return e.indexOf(\"?\")<0&&(e+=\"?\"),\"?\"!==e[e.length-1]&&(e+=\"&\"),e+=encodeURIComponent(r),e+=\"=\",e+=encodeURIComponent(n)},t.parseUrlFragment=function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:\"#\",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.Global;\"string\"!=typeof e&&(e=o.location.href);var s=e.lastIndexOf(r);s>=0&&(e=e.substr(s+1)),\"?\"===r&&(s=e.indexOf(\"#\"))>=0&&(e=e.substr(0,s));for(var a,u={},c=/([^&=]+)=([^&]*)/g,h=0;a=c.exec(e);)if(u[decodeURIComponent(a[1])]=decodeURIComponent(a[2].replace(/\\+/g,\" \")),h++>50)return n.Log.error(\"UrlUtility.parseUrlFragment: response exceeded expected number of parameters\",e),{error:\"Response exceeded expected number of parameters\"};for(var l in u)return u;return{}},t}()},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.JoseUtil=void 0;var n=r(26),i=function o(t){return t&&t.__esModule?t:{default:t}}(r(33));e.JoseUtil=(0,i.default)({jws:n.jws,KeyUtil:n.KeyUtil,X509:n.X509,crypto:n.crypto,hextob64u:n.hextob64u,b64tohex:n.b64tohex,AllowedSigningAlgs:n.AllowedSigningAlgs})},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.OidcClientSettings=void 0;var n=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\"function\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\"symbol\":typeof t},i=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,\"value\"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=r(0),s=r(23),a=r(6),u=r(24),c=r(2);function h(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}var l=\".well-known/openid-configuration\",f=\"id_token\",g=\"openid\",d=\"client_secret_post\";e.OidcClientSettings=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.authority,i=e.metadataUrl,o=e.metadata,l=e.signingKeys,p=e.metadataSeed,v=e.client_id,y=e.client_secret,m=e.response_type,_=void 0===m?f:m,S=e.scope,b=void 0===S?g:S,w=e.redirect_uri,F=e.post_logout_redirect_uri,E=e.client_authentication,x=void 0===E?d:E,A=e.prompt,k=e.display,P=e.max_age,C=e.ui_locales,T=e.acr_values,R=e.resource,I=e.response_mode,D=e.filterProtocolClaims,L=void 0===D||D,N=e.loadUserInfo,U=void 0===N||N,B=e.staleStateAge,O=void 0===B?900:B,j=e.clockSkew,M=void 0===j?300:j,H=e.clockService,V=void 0===H?new s.ClockService:H,K=e.userInfoJwtIssuer,q=void 0===K?\"OP\":K,J=e.mergeClaims,W=void 0!==J&&J,z=e.stateStore,Y=void 0===z?new a.WebStorageStateStore:z,G=e.ResponseValidatorCtor,X=void 0===G?u.ResponseValidator:G,$=e.MetadataServiceCtor,Q=void 0===$?c.MetadataService:$,Z=e.extraQueryParams,tt=void 0===Z?{}:Z,et=e.extraTokenParams,rt=void 0===et?{}:et;h(this,t),this._authority=r,this._metadataUrl=i,this._metadata=o,this._metadataSeed=p,this._signingKeys=l,this._client_id=v,this._client_secret=y,this._response_type=_,this._scope=b,this._redirect_uri=w,this._post_logout_redirect_uri=F,this._client_authentication=x,this._prompt=A,this._display=k,this._max_age=P,this._ui_locales=C,this._acr_values=T,this._resource=R,this._response_mode=I,this._filterProtocolClaims=!!L,this._loadUserInfo=!!U,this._staleStateAge=O,this._clockSkew=M,this._clockService=V,this._userInfoJwtIssuer=q,this._mergeClaims=!!W,this._stateStore=Y,this._validator=new X(this),this._metadataService=new Q(this),this._extraQueryParams=\"object\"===(void 0===tt?\"undefined\":n(tt))?tt:{},this._extraTokenParams=\"object\"===(void 0===rt?\"undefined\":n(rt))?rt:{}}return t.prototype.getEpochTime=function t(){return this._clockService.getEpochTime()},i(t,[{key:\"client_id\",get:function t(){return this._client_id},set:function t(e){if(this._client_id)throw o.Log.error(\"OidcClientSettings.set_client_id: client_id has already been assigned.\"),new Error(\"client_id has already been assigned.\");this._client_id=e}},{key:\"client_secret\",get:function t(){return this._client_secret}},{key:\"response_type\",get:function t(){return this._response_type}},{key:\"scope\",get:function t(){return this._scope}},{key:\"redirect_uri\",get:function t(){return this._redirect_uri}},{key:\"post_logout_redirect_uri\",get:function t(){return this._post_logout_redirect_uri}},{key:\"client_authentication\",get:function t(){return this._client_authentication}},{key:\"prompt\",get:function t(){return this._prompt}},{key:\"display\",get:function t(){return this._display}},{key:\"max_age\",get:function t(){return this._max_age}},{key:\"ui_locales\",get:function t(){return this._ui_locales}},{key:\"acr_values\",get:function t(){return this._acr_values}},{key:\"resource\",get:function t(){return this._resource}},{key:\"response_mode\",get:function t(){return this._response_mode}},{key:\"authority\",get:function t(){return this._authority},set:function t(e){if(this._authority)throw o.Log.error(\"OidcClientSettings.set_authority: authority has already been assigned.\"),new Error(\"authority has already been assigned.\");this._authority=e}},{key:\"metadataUrl\",get:function t(){return this._metadataUrl||(this._metadataUrl=this.authority,this._metadataUrl&&this._metadataUrl.indexOf(l)<0&&(\"/\"!==this._metadataUrl[this._metadataUrl.length-1]&&(this._metadataUrl+=\"/\"),this._metadataUrl+=l)),this._metadataUrl}},{key:\"metadata\",get:function t(){return this._metadata},set:function t(e){this._metadata=e}},{key:\"metadataSeed\",get:function t(){return this._metadataSeed},set:function t(e){this._metadataSeed=e}},{key:\"signingKeys\",get:function t(){return this._signingKeys},set:function t(e){this._signingKeys=e}},{key:\"filterProtocolClaims\",get:function t(){return this._filterProtocolClaims}},{key:\"loadUserInfo\",get:function t(){return this._loadUserInfo}},{key:\"staleStateAge\",get:function t(){return this._staleStateAge}},{key:\"clockSkew\",get:function t(){return this._clockSkew}},{key:\"userInfoJwtIssuer\",get:function t(){return this._userInfoJwtIssuer}},{key:\"mergeClaims\",get:function t(){return this._mergeClaims}},{key:\"stateStore\",get:function t(){return this._stateStore}},{key:\"validator\",get:function t(){return this._validator}},{key:\"metadataService\",get:function t(){return this._metadataService}},{key:\"extraQueryParams\",get:function t(){return this._extraQueryParams},set:function t(e){\"object\"===(void 0===e?\"undefined\":n(e))?this._extraQueryParams=e:this._extraQueryParams={}}},{key:\"extraTokenParams\",get:function t(){return this._extraTokenParams},set:function t(e){\"object\"===(void 0===e?\"undefined\":n(e))?this._extraTokenParams=e:this._extraTokenParams={}}}]),t}()},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.WebStorageStateStore=void 0;var n=r(0),i=r(1);function o(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}e.WebStorageStateStore=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.prefix,n=void 0===r?\"oidc.\":r,s=e.store,a=void 0===s?i.Global.localStorage:s;o(this,t),this._store=a,this._prefix=n}return t.prototype.set=function t(e,r){return n.Log.debug(\"WebStorageStateStore.set\",e),e=this._prefix+e,this._store.setItem(e,r),Promise.resolve()},t.prototype.get=function t(e){n.Log.debug(\"WebStorageStateStore.get\",e),e=this._prefix+e;var r=this._store.getItem(e);return Promise.resolve(r)},t.prototype.remove=function t(e){n.Log.debug(\"WebStorageStateStore.remove\",e),e=this._prefix+e;var r=this._store.getItem(e);return this._store.removeItem(e),Promise.resolve(r)},t.prototype.getAllKeys=function t(){n.Log.debug(\"WebStorageStateStore.getAllKeys\");for(var e=[],r=0;r<this._store.length;r++){var i=this._store.key(r);0===i.indexOf(this._prefix)&&e.push(i.substr(this._prefix.length))}return Promise.resolve(e)},t}()},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.JsonService=void 0;var n=r(0),i=r(1);function o(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}e.JsonService=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.Global.XMLHttpRequest,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;o(this,t),e&&Array.isArray(e)?this._contentTypes=e.slice():this._contentTypes=[],this._contentTypes.push(\"application/json\"),n&&this._contentTypes.push(\"application/jwt\"),this._XMLHttpRequest=r,this._jwtHandler=n}return t.prototype.getJson=function t(e,r){var i=this;if(!e)throw n.Log.error(\"JsonService.getJson: No url passed\"),new Error(\"url\");return n.Log.debug(\"JsonService.getJson, url: \",e),new Promise((function(t,o){var s=new i._XMLHttpRequest;s.open(\"GET\",e);var a=i._contentTypes,u=i._jwtHandler;s.onload=function(){if(n.Log.debug(\"JsonService.getJson: HTTP response received, status\",s.status),200===s.status){var r=s.getResponseHeader(\"Content-Type\");if(r){var i=a.find((function(t){if(r.startsWith(t))return!0}));if(\"application/jwt\"==i)return void u(s).then(t,o);if(i)try{return void t(JSON.parse(s.responseText))}catch(t){return n.Log.error(\"JsonService.getJson: Error parsing JSON response\",t.message),void o(t)}}o(Error(\"Invalid response Content-Type: \"+r+\", from URL: \"+e))}else o(Error(s.statusText+\" (\"+s.status+\")\"))},s.onerror=function(){n.Log.error(\"JsonService.getJson: network error\"),o(Error(\"Network Error\"))},r&&(n.Log.debug(\"JsonService.getJson: token passed, setting Authorization header\"),s.setRequestHeader(\"Authorization\",\"Bearer \"+r)),s.send()}))},t.prototype.postForm=function t(e,r,i){var o=this;if(!e)throw n.Log.error(\"JsonService.postForm: No url passed\"),new Error(\"url\");return n.Log.debug(\"JsonService.postForm, url: \",e),new Promise((function(t,s){var a=new o._XMLHttpRequest;a.open(\"POST\",e);var u=o._contentTypes;a.onload=function(){if(n.Log.debug(\"JsonService.postForm: HTTP response received, status\",a.status),200!==a.status){if(400===a.status)if(i=a.getResponseHeader(\"Content-Type\"))if(u.find((function(t){if(i.startsWith(t))return!0})))try{var r=JSON.parse(a.responseText);if(r&&r.error)return n.Log.error(\"JsonService.postForm: Error from server: \",r.error),void s(new Error(r.error))}catch(t){return n.Log.error(\"JsonService.postForm: Error parsing JSON response\",t.message),void s(t)}s(Error(a.statusText+\" (\"+a.status+\")\"))}else{var i;if((i=a.getResponseHeader(\"Content-Type\"))&&u.find((function(t){if(i.startsWith(t))return!0})))try{return void t(JSON.parse(a.responseText))}catch(t){return n.Log.error(\"JsonService.postForm: Error parsing JSON response\",t.message),void s(t)}s(Error(\"Invalid response Content-Type: \"+i+\", from URL: \"+e))}},a.onerror=function(){n.Log.error(\"JsonService.postForm: network error\"),s(Error(\"Network Error\"))};var c=\"\";for(var h in r){var l=r[h];l&&(c.length>0&&(c+=\"&\"),c+=encodeURIComponent(h),c+=\"=\",c+=encodeURIComponent(l))}a.setRequestHeader(\"Content-Type\",\"application/x-www-form-urlencoded\"),void 0!==i&&a.setRequestHeader(\"Authorization\",\"Basic \"+btoa(i)),a.send(c)}))},t}()},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.SigninRequest=void 0;var n=r(0),i=r(3),o=r(13);e.SigninRequest=function(){function t(e){var r=e.url,s=e.client_id,a=e.redirect_uri,u=e.response_type,c=e.scope,h=e.authority,l=e.data,f=e.prompt,g=e.display,d=e.max_age,p=e.ui_locales,v=e.id_token_hint,y=e.login_hint,m=e.acr_values,_=e.resource,S=e.response_mode,b=e.request,w=e.request_uri,F=e.extraQueryParams,E=e.request_type,x=e.client_secret,A=e.extraTokenParams,k=e.skipUserInfo;if(function P(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this,t),!r)throw n.Log.error(\"SigninRequest.ctor: No url passed\"),new Error(\"url\");if(!s)throw n.Log.error(\"SigninRequest.ctor: No client_id passed\"),new Error(\"client_id\");if(!a)throw n.Log.error(\"SigninRequest.ctor: No redirect_uri passed\"),new Error(\"redirect_uri\");if(!u)throw n.Log.error(\"SigninRequest.ctor: No response_type passed\"),new Error(\"response_type\");if(!c)throw n.Log.error(\"SigninRequest.ctor: No scope passed\"),new Error(\"scope\");if(!h)throw n.Log.error(\"SigninRequest.ctor: No authority passed\"),new Error(\"authority\");var C=t.isOidc(u),T=t.isCode(u);S||(S=t.isCode(u)?\"query\":null),this.state=new o.SigninState({nonce:C,data:l,client_id:s,authority:h,redirect_uri:a,code_verifier:T,request_type:E,response_mode:S,client_secret:x,scope:c,extraTokenParams:A,skipUserInfo:k}),r=i.UrlUtility.addQueryParam(r,\"client_id\",s),r=i.UrlUtility.addQueryParam(r,\"redirect_uri\",a),r=i.UrlUtility.addQueryParam(r,\"response_type\",u),r=i.UrlUtility.addQueryParam(r,\"scope\",c),r=i.UrlUtility.addQueryParam(r,\"state\",this.state.id),C&&(r=i.UrlUtility.addQueryParam(r,\"nonce\",this.state.nonce)),T&&(r=i.UrlUtility.addQueryParam(r,\"code_challenge\",this.state.code_challenge),r=i.UrlUtility.addQueryParam(r,\"code_challenge_method\",\"S256\"));var R={prompt:f,display:g,max_age:d,ui_locales:p,id_token_hint:v,login_hint:y,acr_values:m,resource:_,request:b,request_uri:w,response_mode:S};for(var I in R)R[I]&&(r=i.UrlUtility.addQueryParam(r,I,R[I]));for(var D in F)r=i.UrlUtility.addQueryParam(r,D,F[D]);this.url=r}return t.isOidc=function t(e){return!!e.split(/\\s+/g).filter((function(t){return\"id_token\"===t}))[0]},t.isOAuth=function t(e){return!!e.split(/\\s+/g).filter((function(t){return\"token\"===t}))[0]},t.isCode=function t(e){return!!e.split(/\\s+/g).filter((function(t){return\"code\"===t}))[0]},t}()},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.State=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,\"value\"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),i=r(0),o=function s(t){return t&&t.__esModule?t:{default:t}}(r(14));function a(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}e.State=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.id,n=e.data,i=e.created,s=e.request_type;a(this,t),this._id=r||(0,o.default)(),this._data=n,this._created=\"number\"==typeof i&&i>0?i:parseInt(Date.now()/1e3),this._request_type=s}return t.prototype.toStorageString=function t(){return i.Log.debug(\"State.toStorageString\"),JSON.stringify({id:this.id,data:this.data,created:this.created,request_type:this.request_type})},t.fromStorageString=function e(r){return i.Log.debug(\"State.fromStorageString\"),new t(JSON.parse(r))},t.clearStaleState=function e(r,n){var o=Date.now()/1e3-n;return r.getAllKeys().then((function(e){i.Log.debug(\"State.clearStaleState: got keys\",e);for(var n=[],s=function s(a){var c=e[a];u=r.get(c).then((function(e){var n=!1;if(e)try{var s=t.fromStorageString(e);i.Log.debug(\"State.clearStaleState: got item from key: \",c,s.created),s.created<=o&&(n=!0)}catch(t){i.Log.error(\"State.clearStaleState: Error parsing state for key\",c,t.message),n=!0}else i.Log.debug(\"State.clearStaleState: no item in storage for key: \",c),n=!0;if(n)return i.Log.debug(\"State.clearStaleState: removed item for key: \",c),r.remove(c)})),n.push(u)},a=0;a<e.length;a++){var u;s(a)}return i.Log.debug(\"State.clearStaleState: waiting on promise count:\",n.length),Promise.all(n)}))},n(t,[{key:\"id\",get:function t(){return this._id}},{key:\"data\",get:function t(){return this._data}},{key:\"created\",get:function t(){return this._created}},{key:\"request_type\",get:function t(){return this._request_type}}]),t}()},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.OidcClient=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,\"value\"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),i=r(0),o=r(5),s=r(12),a=r(8),u=r(34),c=r(35),h=r(36),l=r(13),f=r(9);function g(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}e.OidcClient=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};g(this,t),e instanceof o.OidcClientSettings?this._settings=e:this._settings=new o.OidcClientSettings(e)}return t.prototype.createSigninRequest=function t(){var e=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=r.response_type,o=r.scope,s=r.redirect_uri,u=r.data,c=r.state,h=r.prompt,l=r.display,f=r.max_age,g=r.ui_locales,d=r.id_token_hint,p=r.login_hint,v=r.acr_values,y=r.resource,m=r.request,_=r.request_uri,S=r.response_mode,b=r.extraQueryParams,w=r.extraTokenParams,F=r.request_type,E=r.skipUserInfo,x=arguments[1];i.Log.debug(\"OidcClient.createSigninRequest\");var A=this._settings.client_id;n=n||this._settings.response_type,o=o||this._settings.scope,s=s||this._settings.redirect_uri,h=h||this._settings.prompt,l=l||this._settings.display,f=f||this._settings.max_age,g=g||this._settings.ui_locales,v=v||this._settings.acr_values,y=y||this._settings.resource,S=S||this._settings.response_mode,b=b||this._settings.extraQueryParams,w=w||this._settings.extraTokenParams;var k=this._settings.authority;return a.SigninRequest.isCode(n)&&\"code\"!==n?Promise.reject(new Error(\"OpenID Connect hybrid flow is not supported\")):this._metadataService.getAuthorizationEndpoint().then((function(t){i.Log.debug(\"OidcClient.createSigninRequest: Received authorization endpoint\",t);var r=new a.SigninRequest({url:t,client_id:A,redirect_uri:s,response_type:n,scope:o,data:u||c,authority:k,prompt:h,display:l,max_age:f,ui_locales:g,id_token_hint:d,login_hint:p,acr_values:v,resource:y,request:m,request_uri:_,extraQueryParams:b,extraTokenParams:w,request_type:F,response_mode:S,client_secret:e._settings.client_secret,skipUserInfo:E}),P=r.state;return(x=x||e._stateStore).set(P.id,P.toStorageString()).then((function(){return r}))}))},t.prototype.readSigninResponseState=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];i.Log.debug(\"OidcClient.readSigninResponseState\");var o=\"query\"===this._settings.response_mode||!this._settings.response_mode&&a.SigninRequest.isCode(this._settings.response_type),s=o?\"?\":\"#\",c=new u.SigninResponse(e,s);if(!c.state)return i.Log.error(\"OidcClient.readSigninResponseState: No state in response\"),Promise.reject(new Error(\"No state in response\"));r=r||this._stateStore;var h=n?r.remove.bind(r):r.get.bind(r);return h(c.state).then((function(t){if(!t)throw i.Log.error(\"OidcClient.readSigninResponseState: No matching state found in storage\"),new Error(\"No matching state found in storage\");return{state:l.SigninState.fromStorageString(t),response:c}}))},t.prototype.processSigninResponse=function t(e,r){var n=this;return i.Log.debug(\"OidcClient.processSigninResponse\"),this.readSigninResponseState(e,r,!0).then((function(t){var e=t.state,r=t.response;return i.Log.debug(\"OidcClient.processSigninResponse: Received state from storage; validating response\"),n._validator.validateSigninResponse(e,r)}))},t.prototype.createSignoutRequest=function t(){var e=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=r.id_token_hint,o=r.data,s=r.state,a=r.post_logout_redirect_uri,u=r.extraQueryParams,h=r.request_type,l=arguments[1];return i.Log.debug(\"OidcClient.createSignoutRequest\"),a=a||this._settings.post_logout_redirect_uri,u=u||this._settings.extraQueryParams,this._metadataService.getEndSessionEndpoint().then((function(t){if(!t)throw i.Log.error(\"OidcClient.createSignoutRequest: No end session endpoint url returned\"),new Error(\"no end session endpoint\");i.Log.debug(\"OidcClient.createSignoutRequest: Received end session endpoint\",t);var r=new c.SignoutRequest({url:t,id_token_hint:n,post_logout_redirect_uri:a,data:o||s,extraQueryParams:u,request_type:h}),f=r.state;return f&&(i.Log.debug(\"OidcClient.createSignoutRequest: Signout request has state to persist\"),(l=l||e._stateStore).set(f.id,f.toStorageString())),r}))},t.prototype.readSignoutResponseState=function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];i.Log.debug(\"OidcClient.readSignoutResponseState\");var o=new h.SignoutResponse(e);if(!o.state)return i.Log.debug(\"OidcClient.readSignoutResponseState: No state in response\"),o.error?(i.Log.warn(\"OidcClient.readSignoutResponseState: Response was error: \",o.error),Promise.reject(new s.ErrorResponse(o))):Promise.resolve({state:void 0,response:o});var a=o.state;r=r||this._stateStore;var u=n?r.remove.bind(r):r.get.bind(r);return u(a).then((function(t){if(!t)throw i.Log.error(\"OidcClient.readSignoutResponseState: No matching state found in storage\"),new Error(\"No matching state found in storage\");return{state:f.State.fromStorageString(t),response:o}}))},t.prototype.processSignoutResponse=function t(e,r){var n=this;return i.Log.debug(\"OidcClient.processSignoutResponse\"),this.readSignoutResponseState(e,r,!0).then((function(t){var e=t.state,r=t.response;return e?(i.Log.debug(\"OidcClient.processSignoutResponse: Received state from storage; validating response\"),n._validator.validateSignoutResponse(e,r)):(i.Log.debug(\"OidcClient.processSignoutResponse: No state from storage; skipping validating response\"),r)}))},t.prototype.clearStaleState=function t(e){return i.Log.debug(\"OidcClient.clearStaleState\"),e=e||this._stateStore,f.State.clearStaleState(e,this.settings.staleStateAge)},n(t,[{key:\"_stateStore\",get:function t(){return this.settings.stateStore}},{key:\"_validator\",get:function t(){return this.settings.validator}},{key:\"_metadataService\",get:function t(){return this.settings.metadataService}},{key:\"settings\",get:function t(){return this._settings}},{key:\"metadataService\",get:function t(){return this._metadataService}}]),t}()},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.TokenClient=void 0;var n=r(7),i=r(2),o=r(0);function s(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}e.TokenClient=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.JsonService,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.MetadataService;if(s(this,t),!e)throw o.Log.error(\"TokenClient.ctor: No settings passed\"),new Error(\"settings\");this._settings=e,this._jsonService=new r,this._metadataService=new a(this._settings)}return t.prototype.exchangeCode=function t(){var e=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(r=Object.assign({},r)).grant_type=r.grant_type||\"authorization_code\",r.client_id=r.client_id||this._settings.client_id,r.client_secret=r.client_secret||this._settings.client_secret,r.redirect_uri=r.redirect_uri||this._settings.redirect_uri;var n=void 0,i=r._client_authentication||this._settings._client_authentication;return delete r._client_authentication,r.code?r.redirect_uri?r.code_verifier?r.client_id?r.client_secret||\"client_secret_basic\"!=i?(\"client_secret_basic\"==i&&(n=r.client_id+\":\"+r.client_secret,delete r.client_id,delete r.client_secret),this._metadataService.getTokenEndpoint(!1).then((function(t){return o.Log.debug(\"TokenClient.exchangeCode: Received token endpoint\"),e._jsonService.postForm(t,r,n).then((function(t){return o.Log.debug(\"TokenClient.exchangeCode: response received\"),t}))}))):(o.Log.error(\"TokenClient.exchangeCode: No client_secret passed\"),Promise.reject(new Error(\"A client_secret is required\"))):(o.Log.error(\"TokenClient.exchangeCode: No client_id passed\"),Promise.reject(new Error(\"A client_id is required\"))):(o.Log.error(\"TokenClient.exchangeCode: No code_verifier passed\"),Promise.reject(new Error(\"A code_verifier is required\"))):(o.Log.error(\"TokenClient.exchangeCode: No redirect_uri passed\"),Promise.reject(new Error(\"A redirect_uri is required\"))):(o.Log.error(\"TokenClient.exchangeCode: No code passed\"),Promise.reject(new Error(\"A code is required\")))},t.prototype.exchangeRefreshToken=function t(){var e=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(r=Object.assign({},r)).grant_type=r.grant_type||\"refresh_token\",r.client_id=r.client_id||this._settings.client_id,r.client_secret=r.client_secret||this._settings.client_secret;var n=void 0,i=r._client_authentication||this._settings._client_authentication;return delete r._client_authentication,r.refresh_token?r.client_id?(\"client_secret_basic\"==i&&(n=r.client_id+\":\"+r.client_secret,delete r.client_id,delete r.client_secret),this._metadataService.getTokenEndpoint(!1).then((function(t){return o.Log.debug(\"TokenClient.exchangeRefreshToken: Received token endpoint\"),e._jsonService.postForm(t,r,n).then((function(t){return o.Log.debug(\"TokenClient.exchangeRefreshToken: response received\"),t}))}))):(o.Log.error(\"TokenClient.exchangeRefreshToken: No client_id passed\"),Promise.reject(new Error(\"A client_id is required\"))):(o.Log.error(\"TokenClient.exchangeRefreshToken: No refresh_token passed\"),Promise.reject(new Error(\"A refresh_token is required\")))},t}()},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.ErrorResponse=void 0;var n=r(0);function i(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}function o(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}e.ErrorResponse=function(t){function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=r.error,a=r.error_description,u=r.error_uri,c=r.state,h=r.session_state;if(i(this,e),!s)throw n.Log.error(\"No error passed to ErrorResponse\"),new Error(\"error\");var l=o(this,t.call(this,a||s));return l.name=\"ErrorResponse\",l.error=s,l.error_description=a,l.error_uri=u,l.state=c,l.session_state=h,l}return function r(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(Error)},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.SigninState=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,\"value\"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),i=r(0),o=r(9),s=r(4),a=function u(t){return t&&t.__esModule?t:{default:t}}(r(14));function c(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}function h(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}e.SigninState=function(t){function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=r.nonce,i=r.authority,o=r.client_id,u=r.redirect_uri,l=r.code_verifier,f=r.response_mode,g=r.client_secret,d=r.scope,p=r.extraTokenParams,v=r.skipUserInfo;c(this,e);var y=h(this,t.call(this,arguments[0]));if(!0===n?y._nonce=(0,a.default)():n&&(y._nonce=n),!0===l?y._code_verifier=(0,a.default)()+(0,a.default)()+(0,a.default)():l&&(y._code_verifier=l),y.code_verifier){var m=s.JoseUtil.hashString(y.code_verifier,\"SHA256\");y._code_challenge=s.JoseUtil.hexToBase64Url(m)}return y._redirect_uri=u,y._authority=i,y._client_id=o,y._response_mode=f,y._client_secret=g,y._scope=d,y._extraTokenParams=p,y._skipUserInfo=v,y}return function r(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.toStorageString=function t(){return i.Log.debug(\"SigninState.toStorageString\"),JSON.stringify({id:this.id,data:this.data,created:this.created,request_type:this.request_type,nonce:this.nonce,code_verifier:this.code_verifier,redirect_uri:this.redirect_uri,authority:this.authority,client_id:this.client_id,response_mode:this.response_mode,client_secret:this.client_secret,scope:this.scope,extraTokenParams:this.extraTokenParams,skipUserInfo:this.skipUserInfo})},e.fromStorageString=function t(r){return i.Log.debug(\"SigninState.fromStorageString\"),new e(JSON.parse(r))},n(e,[{key:\"nonce\",get:function t(){return this._nonce}},{key:\"authority\",get:function t(){return this._authority}},{key:\"client_id\",get:function t(){return this._client_id}},{key:\"redirect_uri\",get:function t(){return this._redirect_uri}},{key:\"code_verifier\",get:function t(){return this._code_verifier}},{key:\"code_challenge\",get:function t(){return this._code_challenge}},{key:\"response_mode\",get:function t(){return this._response_mode}},{key:\"client_secret\",get:function t(){return this._client_secret}},{key:\"scope\",get:function t(){return this._scope}},{key:\"extraTokenParams\",get:function t(){return this._extraTokenParams}},{key:\"skipUserInfo\",get:function t(){return this._skipUserInfo}}]),e}(o.State)},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=function n(){return(\"undefined\"!=i&&null!==i&&void 0!==i.getRandomValues?o:s)().replace(/-/g,\"\")};var i=\"undefined\"!=typeof window?window.crypto||window.msCrypto:null;function o(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(function(t){return(t^i.getRandomValues(new Uint8Array(1))[0]&15>>t/4).toString(16)}))}function s(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(function(t){return(t^16*Math.random()>>t/4).toString(16)}))}t.exports=e.default},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.User=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,\"value\"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),i=r(0);e.User=function(){function t(e){var r=e.id_token,n=e.session_state,i=e.access_token,o=e.refresh_token,s=e.token_type,a=e.scope,u=e.profile,c=e.expires_at,h=e.state;!function l(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this,t),this.id_token=r,this.session_state=n,this.access_token=i,this.refresh_token=o,this.token_type=s,this.scope=a,this.profile=u,this.expires_at=c,this.state=h}return t.prototype.toStorageString=function t(){return i.Log.debug(\"User.toStorageString\"),JSON.stringify({id_token:this.id_token,session_state:this.session_state,access_token:this.access_token,refresh_token:this.refresh_token,token_type:this.token_type,scope:this.scope,profile:this.profile,expires_at:this.expires_at})},t.fromStorageString=function e(r){return i.Log.debug(\"User.fromStorageString\"),new t(JSON.parse(r))},n(t,[{key:\"expires_in\",get:function t(){if(this.expires_at){var e=parseInt(Date.now()/1e3);return this.expires_at-e}},set:function t(e){var r=parseInt(e);if(\"number\"==typeof r&&r>0){var n=parseInt(Date.now()/1e3);this.expires_at=n+r}}},{key:\"expired\",get:function t(){var e=this.expires_in;if(void 0!==e)return e<=0}},{key:\"scopes\",get:function t(){return(this.scope||\"\").split(\" \")}}]),t}()},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.AccessTokenEvents=void 0;var n=r(0),i=r(46);function o(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}e.AccessTokenEvents=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.accessTokenExpiringNotificationTime,n=void 0===r?60:r,s=e.accessTokenExpiringTimer,a=void 0===s?new i.Timer(\"Access token expiring\"):s,u=e.accessTokenExpiredTimer,c=void 0===u?new i.Timer(\"Access token expired\"):u;o(this,t),this._accessTokenExpiringNotificationTime=n,this._accessTokenExpiring=a,this._accessTokenExpired=c}return t.prototype.load=function t(e){if(e.access_token&&void 0!==e.expires_in){var r=e.expires_in;if(n.Log.debug(\"AccessTokenEvents.load: access token present, remaining duration:\",r),r>0){var i=r-this._accessTokenExpiringNotificationTime;i<=0&&(i=1),n.Log.debug(\"AccessTokenEvents.load: registering expiring timer in:\",i),this._accessTokenExpiring.init(i)}else n.Log.debug(\"AccessTokenEvents.load: canceling existing expiring timer becase we're past expiration.\"),this._accessTokenExpiring.cancel();var o=r+1;n.Log.debug(\"AccessTokenEvents.load: registering expired timer in:\",o),this._accessTokenExpired.init(o)}else this._accessTokenExpiring.cancel(),this._accessTokenExpired.cancel()},t.prototype.unload=function t(){n.Log.debug(\"AccessTokenEvents.unload: canceling existing access token timers\"),this._accessTokenExpiring.cancel(),this._accessTokenExpired.cancel()},t.prototype.addAccessTokenExpiring=function t(e){this._accessTokenExpiring.addHandler(e)},t.prototype.removeAccessTokenExpiring=function t(e){this._accessTokenExpiring.removeHandler(e)},t.prototype.addAccessTokenExpired=function t(e){this._accessTokenExpired.addHandler(e)},t.prototype.removeAccessTokenExpired=function t(e){this._accessTokenExpired.removeHandler(e)},t}()},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.Event=void 0;var n=r(0);e.Event=function(){function t(e){!function r(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this,t),this._name=e,this._callbacks=[]}return t.prototype.addHandler=function t(e){this._callbacks.push(e)},t.prototype.removeHandler=function t(e){var r=this._callbacks.findIndex((function(t){return t===e}));r>=0&&this._callbacks.splice(r,1)},t.prototype.raise=function t(){n.Log.debug(\"Event: Raising event: \"+this._name);for(var e=0;e<this._callbacks.length;e++){var r;(r=this._callbacks)[e].apply(r,arguments)}},t}()},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.SessionMonitor=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,\"value\"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),i=r(0),o=r(19),s=r(1);function a(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}e.SessionMonitor=function(){function t(e){var r=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.CheckSessionIFrame,u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.Global.timer;if(a(this,t),!e)throw i.Log.error(\"SessionMonitor.ctor: No user manager passed to SessionMonitor\"),new Error(\"userManager\");this._userManager=e,this._CheckSessionIFrameCtor=n,this._timer=u,this._userManager.events.addUserLoaded(this._start.bind(this)),this._userManager.events.addUserUnloaded(this._stop.bind(this)),Promise.resolve(this._userManager.getUser().then((function(t){t?r._start(t):r._settings.monitorAnonymousSession&&r._userManager.querySessionStatus().then((function(t){var e={session_state:t.session_state};t.sub&&t.sid&&(e.profile={sub:t.sub,sid:t.sid}),r._start(e)})).catch((function(t){i.Log.error(\"SessionMonitor ctor: error from querySessionStatus:\",t.message)}))})).catch((function(t){i.Log.error(\"SessionMonitor ctor: error from getUser:\",t.message)})))}return t.prototype._start=function t(e){var r=this,n=e.session_state;n&&(e.profile?(this._sub=e.profile.sub,this._sid=e.profile.sid,i.Log.debug(\"SessionMonitor._start: session_state:\",n,\", sub:\",this._sub)):(this._sub=void 0,this._sid=void 0,i.Log.debug(\"SessionMonitor._start: session_state:\",n,\", anonymous user\")),this._checkSessionIFrame?this._checkSessionIFrame.start(n):this._metadataService.getCheckSessionIframe().then((function(t){if(t){i.Log.debug(\"SessionMonitor._start: Initializing check session iframe\");var e=r._client_id,o=r._checkSessionInterval,s=r._stopCheckSessionOnError;r._checkSessionIFrame=new r._CheckSessionIFrameCtor(r._callback.bind(r),e,t,o,s),r._checkSessionIFrame.load().then((function(){r._checkSessionIFrame.start(n)}))}else i.Log.warn(\"SessionMonitor._start: No check session iframe found in the metadata\")})).catch((function(t){i.Log.error(\"SessionMonitor._start: Error from getCheckSessionIframe:\",t.message)})))},t.prototype._stop=function t(){var e=this;if(this._sub=void 0,this._sid=void 0,this._checkSessionIFrame&&(i.Log.debug(\"SessionMonitor._stop\"),this._checkSessionIFrame.stop()),this._settings.monitorAnonymousSession)var r=this._timer.setInterval((function(){e._timer.clearInterval(r),e._userManager.querySessionStatus().then((function(t){var r={session_state:t.session_state};t.sub&&t.sid&&(r.profile={sub:t.sub,sid:t.sid}),e._start(r)})).catch((function(t){i.Log.error(\"SessionMonitor: error from querySessionStatus:\",t.message)}))}),1e3)},t.prototype._callback=function t(){var e=this;this._userManager.querySessionStatus().then((function(t){var r=!0;t?t.sub===e._sub?(r=!1,e._checkSessionIFrame.start(t.session_state),t.sid===e._sid?i.Log.debug(\"SessionMonitor._callback: Same sub still logged in at OP, restarting check session iframe; session_state:\",t.session_state):(i.Log.debug(\"SessionMonitor._callback: Same sub still logged in at OP, session state has changed, restarting check session iframe; session_state:\",t.session_state),e._userManager.events._raiseUserSessionChanged())):i.Log.debug(\"SessionMonitor._callback: Different subject signed into OP:\",t.sub):i.Log.debug(\"SessionMonitor._callback: Subject no longer signed into OP\"),r&&(e._sub?(i.Log.debug(\"SessionMonitor._callback: SessionMonitor._callback; raising signed out event\"),e._userManager.events._raiseUserSignedOut()):(i.Log.debug(\"SessionMonitor._callback: SessionMonitor._callback; raising signed in event\"),e._userManager.events._raiseUserSignedIn()))})).catch((function(t){e._sub&&(i.Log.debug(\"SessionMonitor._callback: Error calling queryCurrentSigninSession; raising signed out event\",t.message),e._userManager.events._raiseUserSignedOut())}))},n(t,[{key:\"_settings\",get:function t(){return this._userManager.settings}},{key:\"_metadataService\",get:function t(){return this._userManager.metadataService}},{key:\"_client_id\",get:function t(){return this._settings.client_id}},{key:\"_checkSessionInterval\",get:function t(){return this._settings.checkSessionInterval}},{key:\"_stopCheckSessionOnError\",get:function t(){return this._settings.stopCheckSessionOnError}}]),t}()},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.CheckSessionIFrame=void 0;var n=r(0);function i(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}e.CheckSessionIFrame=function(){function t(e,r,n,o){var s=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];i(this,t),this._callback=e,this._client_id=r,this._url=n,this._interval=o||2e3,this._stopOnError=s;var a=n.indexOf(\"/\",n.indexOf(\"//\")+2);this._frame_origin=n.substr(0,a),this._frame=window.document.createElement(\"iframe\"),this._frame.style.visibility=\"hidden\",this._frame.style.position=\"absolute\",this._frame.style.display=\"none\",this._frame.width=0,this._frame.height=0,this._frame.src=n}return t.prototype.load=function t(){var e=this;return new Promise((function(t){e._frame.onload=function(){t()},window.document.body.appendChild(e._frame),e._boundMessageEvent=e._message.bind(e),window.addEventListener(\"message\",e._boundMessageEvent,!1)}))},t.prototype._message=function t(e){e.origin===this._frame_origin&&e.source===this._frame.contentWindow&&(\"error\"===e.data?(n.Log.error(\"CheckSessionIFrame: error message from check session op iframe\"),this._stopOnError&&this.stop()):\"changed\"===e.data?(n.Log.debug(\"CheckSessionIFrame: changed message from check session op iframe\"),this.stop(),this._callback()):n.Log.debug(\"CheckSessionIFrame: \"+e.data+\" message from check session op iframe\"))},t.prototype.start=function t(e){var r=this;if(this._session_state!==e){n.Log.debug(\"CheckSessionIFrame.start\"),this.stop(),this._session_state=e;var i=function t(){r._frame.contentWindow.postMessage(r._client_id+\" \"+r._session_state,r._frame_origin)};i(),this._timer=window.setInterval(i,this._interval)}},t.prototype.stop=function t(){this._session_state=null,this._timer&&(n.Log.debug(\"CheckSessionIFrame.stop\"),window.clearInterval(this._timer),this._timer=null)},t}()},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.TokenRevocationClient=void 0;var n=r(0),i=r(2),o=r(1);function s(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}var a=\"access_token\",u=\"refresh_token\";e.TokenRevocationClient=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.Global.XMLHttpRequest,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.MetadataService;if(s(this,t),!e)throw n.Log.error(\"TokenRevocationClient.ctor: No settings provided\"),new Error(\"No settings provided.\");this._settings=e,this._XMLHttpRequestCtor=r,this._metadataService=new a(this._settings)}return t.prototype.revoke=function t(e,r){var i=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:\"access_token\";if(!e)throw n.Log.error(\"TokenRevocationClient.revoke: No token provided\"),new Error(\"No token provided.\");if(o!==a&&o!=u)throw n.Log.error(\"TokenRevocationClient.revoke: Invalid token type\"),new Error(\"Invalid token type.\");return this._metadataService.getRevocationEndpoint().then((function(t){if(t){n.Log.debug(\"TokenRevocationClient.revoke: Revoking \"+o);var s=i._settings.client_id,a=i._settings.client_secret;return i._revoke(t,s,a,e,o)}if(r)throw n.Log.error(\"TokenRevocationClient.revoke: Revocation not supported\"),new Error(\"Revocation not supported\")}))},t.prototype._revoke=function t(e,r,i,o,s){var a=this;return new Promise((function(t,u){var c=new a._XMLHttpRequestCtor;c.open(\"POST\",e),c.onload=function(){n.Log.debug(\"TokenRevocationClient.revoke: HTTP response received, status\",c.status),200===c.status?t():u(Error(c.statusText+\" (\"+c.status+\")\"))},c.onerror=function(){n.Log.debug(\"TokenRevocationClient.revoke: Network Error.\"),u(\"Network Error\")};var h=\"client_id=\"+encodeURIComponent(r);i&&(h+=\"&client_secret=\"+encodeURIComponent(i)),h+=\"&token_type_hint=\"+encodeURIComponent(s),h+=\"&token=\"+encodeURIComponent(o),c.setRequestHeader(\"Content-Type\",\"application/x-www-form-urlencoded\"),c.send(h)}))},t}()},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.CordovaPopupWindow=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,\"value\"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),i=r(0);e.CordovaPopupWindow=function(){function t(e){var r=this;!function n(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this,t),this._promise=new Promise((function(t,e){r._resolve=t,r._reject=e})),this.features=e.popupWindowFeatures||\"location=no,toolbar=no,zoom=no\",this.target=e.popupWindowTarget||\"_blank\",this.redirect_uri=e.startUrl,i.Log.debug(\"CordovaPopupWindow.ctor: redirect_uri: \"+this.redirect_uri)}return t.prototype._isInAppBrowserInstalled=function t(e){return[\"cordova-plugin-inappbrowser\",\"cordova-plugin-inappbrowser.inappbrowser\",\"org.apache.cordova.inappbrowser\"].some((function(t){return e.hasOwnProperty(t)}))},t.prototype.navigate=function t(e){if(e&&e.url){if(!window.cordova)return this._error(\"cordova is undefined\");var r=window.cordova.require(\"cordova/plugin_list\").metadata;if(!1===this._isInAppBrowserInstalled(r))return this._error(\"InAppBrowser plugin not found\");this._popup=cordova.InAppBrowser.open(e.url,this.target,this.features),this._popup?(i.Log.debug(\"CordovaPopupWindow.navigate: popup successfully created\"),this._exitCallbackEvent=this._exitCallback.bind(this),this._loadStartCallbackEvent=this._loadStartCallback.bind(this),this._popup.addEventListener(\"exit\",this._exitCallbackEvent,!1),this._popup.addEventListener(\"loadstart\",this._loadStartCallbackEvent,!1)):this._error(\"Error opening popup window\")}else this._error(\"No url provided\");return this.promise},t.prototype._loadStartCallback=function t(e){0===e.url.indexOf(this.redirect_uri)&&this._success({url:e.url})},t.prototype._exitCallback=function t(e){this._error(e)},t.prototype._success=function t(e){this._cleanup(),i.Log.debug(\"CordovaPopupWindow: Successful response from cordova popup window\"),this._resolve(e)},t.prototype._error=function t(e){this._cleanup(),i.Log.error(e),this._reject(new Error(e))},t.prototype.close=function t(){this._cleanup()},t.prototype._cleanup=function t(){this._popup&&(i.Log.debug(\"CordovaPopupWindow: cleaning up popup\"),this._popup.removeEventListener(\"exit\",this._exitCallbackEvent,!1),this._popup.removeEventListener(\"loadstart\",this._loadStartCallbackEvent,!1),this._popup.close()),this._popup=null},n(t,[{key:\"promise\",get:function t(){return this._promise}}]),t}()},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var n=r(0),i=r(10),o=r(5),s=r(6),a=r(37),u=r(38),c=r(16),h=r(2),l=r(48),f=r(49),g=r(19),d=r(20),p=r(18),v=r(1),y=r(15),m=r(50);e.default={Version:m.Version,Log:n.Log,OidcClient:i.OidcClient,OidcClientSettings:o.OidcClientSettings,WebStorageStateStore:s.WebStorageStateStore,InMemoryWebStorage:a.InMemoryWebStorage,UserManager:u.UserManager,AccessTokenEvents:c.AccessTokenEvents,MetadataService:h.MetadataService,CordovaPopupNavigator:l.CordovaPopupNavigator,CordovaIFrameNavigator:f.CordovaIFrameNavigator,CheckSessionIFrame:g.CheckSessionIFrame,TokenRevocationClient:d.TokenRevocationClient,SessionMonitor:p.SessionMonitor,Global:v.Global,User:y.User},t.exports=e.default},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});e.ClockService=function(){function t(){!function e(t,r){if(!(t instanceof r))throw new TypeError(\"Cannot call a class as a function\")}(this,t)}return t.prototype.getEpochTime=function t(){return Promise.resolve(Date.now()/1e3|0)},t}()},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.ResponseValidator=void 0;var n=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\"function\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\"symbol\":typeof t},i=r(0),o=r(2),s=r(25),a=r(11),u=r(12),c=r(4);function h(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}var l=[\"nonce\",\"at_hash\",\"iat\",\"nbf\",\"exp\",\"aud\",\"iss\",\"c_hash\"];e.ResponseValidator=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.MetadataService,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.UserInfoService,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:c.JoseUtil,l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:a.TokenClient;if(h(this,t),!e)throw i.Log.error(\"ResponseValidator.ctor: No settings passed to ResponseValidator\"),new Error(\"settings\");this._settings=e,this._metadataService=new r(this._settings),this._userInfoService=new n(this._settings),this._joseUtil=u,this._tokenClient=new l(this._settings)}return t.prototype.validateSigninResponse=function t(e,r){var n=this;return i.Log.debug(\"ResponseValidator.validateSigninResponse\"),this._processSigninParams(e,r).then((function(t){return i.Log.debug(\"ResponseValidator.validateSigninResponse: state processed\"),n._validateTokens(e,t).then((function(t){return i.Log.debug(\"ResponseValidator.validateSigninResponse: tokens validated\"),n._processClaims(e,t).then((function(t){return i.Log.debug(\"ResponseValidator.validateSigninResponse: claims processed\"),t}))}))}))},t.prototype.validateSignoutResponse=function t(e,r){return e.id!==r.state?(i.Log.error(\"ResponseValidator.validateSignoutResponse: State does not match\"),Promise.reject(new Error(\"State does not match\"))):(i.Log.debug(\"ResponseValidator.validateSignoutResponse: state validated\"),r.state=e.data,r.error?(i.Log.warn(\"ResponseValidator.validateSignoutResponse: Response was error\",r.error),Promise.reject(new u.ErrorResponse(r))):Promise.resolve(r))},t.prototype._processSigninParams=function t(e,r){if(e.id!==r.state)return i.Log.error(\"ResponseValidator._processSigninParams: State does not match\"),Promise.reject(new Error(\"State does not match\"));if(!e.client_id)return i.Log.error(\"ResponseValidator._processSigninParams: No client_id on state\"),Promise.reject(new Error(\"No client_id on state\"));if(!e.authority)return i.Log.error(\"ResponseValidator._processSigninParams: No authority on state\"),Promise.reject(new Error(\"No authority on state\"));if(this._settings.authority){if(this._settings.authority&&this._settings.authority!==e.authority)return i.Log.error(\"ResponseValidator._processSigninParams: authority mismatch on settings vs. signin state\"),Promise.reject(new Error(\"authority mismatch on settings vs. signin state\"))}else this._settings.authority=e.authority;if(this._settings.client_id){if(this._settings.client_id&&this._settings.client_id!==e.client_id)return i.Log.error(\"ResponseValidator._processSigninParams: client_id mismatch on settings vs. signin state\"),Promise.reject(new Error(\"client_id mismatch on settings vs. signin state\"))}else this._settings.client_id=e.client_id;return i.Log.debug(\"ResponseValidator._processSigninParams: state validated\"),r.state=e.data,r.error?(i.Log.warn(\"ResponseValidator._processSigninParams: Response was error\",r.error),Promise.reject(new u.ErrorResponse(r))):e.nonce&&!r.id_token?(i.Log.error(\"ResponseValidator._processSigninParams: Expecting id_token in response\"),Promise.reject(new Error(\"No id_token in response\"))):!e.nonce&&r.id_token?(i.Log.error(\"ResponseValidator._processSigninParams: Not expecting id_token in response\"),Promise.reject(new Error(\"Unexpected id_token in response\"))):e.code_verifier&&!r.code?(i.Log.error(\"ResponseValidator._processSigninParams: Expecting code in response\"),Promise.reject(new Error(\"No code in response\"))):!e.code_verifier&&r.code?(i.Log.error(\"ResponseValidator._processSigninParams: Not expecting code in response\"),Promise.reject(new Error(\"Unexpected code in response\"))):(r.scope||(r.scope=e.scope),Promise.resolve(r))},t.prototype._processClaims=function t(e,r){var n=this;if(r.isOpenIdConnect){if(i.Log.debug(\"ResponseValidator._processClaims: response is OIDC, processing claims\"),r.profile=this._filterProtocolClaims(r.profile),!0!==e.skipUserInfo&&this._settings.loadUserInfo&&r.access_token)return i.Log.debug(\"ResponseValidator._processClaims: loading user info\"),this._userInfoService.getClaims(r.access_token).then((function(t){return i.Log.debug(\"ResponseValidator._processClaims: user info claims received from user info endpoint\"),t.sub!==r.profile.sub?(i.Log.error(\"ResponseValidator._processClaims: sub from user info endpoint does not match sub in id_token\"),Promise.reject(new Error(\"sub from user info endpoint does not match sub in id_token\"))):(r.profile=n._mergeClaims(r.profile,t),i.Log.debug(\"ResponseValidator._processClaims: user info claims received, updated profile:\",r.profile),r)}));i.Log.debug(\"ResponseValidator._processClaims: not loading user info\")}else i.Log.debug(\"ResponseValidator._processClaims: response is not OIDC, not processing claims\");return Promise.resolve(r)},t.prototype._mergeClaims=function t(e,r){var i=Object.assign({},e);for(var o in r){var s=r[o];Array.isArray(s)||(s=[s]);for(var a=0;a<s.length;a++){var u=s[a];i[o]?Array.isArray(i[o])?i[o].indexOf(u)<0&&i[o].push(u):i[o]!==u&&(\"object\"===(void 0===u?\"undefined\":n(u))&&this._settings.mergeClaims?i[o]=this._mergeClaims(i[o],u):i[o]=[i[o],u]):i[o]=u}}return i},t.prototype._filterProtocolClaims=function t(e){i.Log.debug(\"ResponseValidator._filterProtocolClaims, incoming claims:\",e);var r=Object.assign({},e);return this._settings._filterProtocolClaims?(l.forEach((function(t){delete r[t]})),i.Log.debug(\"ResponseValidator._filterProtocolClaims: protocol claims filtered\",r)):i.Log.debug(\"ResponseValidator._filterProtocolClaims: protocol claims not filtered\"),r},t.prototype._validateTokens=function t(e,r){return r.code?(i.Log.debug(\"ResponseValidator._validateTokens: Validating code\"),this._processCode(e,r)):r.id_token?r.access_token?(i.Log.debug(\"ResponseValidator._validateTokens: Validating id_token and access_token\"),this._validateIdTokenAndAccessToken(e,r)):(i.Log.debug(\"ResponseValidator._validateTokens: Validating id_token\"),this._validateIdToken(e,r)):(i.Log.debug(\"ResponseValidator._validateTokens: No code to process or id_token to validate\"),Promise.resolve(r))},t.prototype._processCode=function t(e,r){var o=this,s={client_id:e.client_id,client_secret:e.client_secret,code:r.code,redirect_uri:e.redirect_uri,code_verifier:e.code_verifier};return e.extraTokenParams&&\"object\"===n(e.extraTokenParams)&&Object.assign(s,e.extraTokenParams),this._tokenClient.exchangeCode(s).then((function(t){for(var n in t)r[n]=t[n];return r.id_token?(i.Log.debug(\"ResponseValidator._processCode: token response successful, processing id_token\"),o._validateIdTokenAttributes(e,r)):(i.Log.debug(\"ResponseValidator._processCode: token response successful, returning response\"),r)}))},t.prototype._validateIdTokenAttributes=function t(e,r){var n=this;return this._metadataService.getIssuer().then((function(t){var o=e.client_id,s=n._settings.clockSkew;return i.Log.debug(\"ResponseValidator._validateIdTokenAttributes: Validaing JWT attributes; using clock skew (in seconds) of: \",s),n._settings.getEpochTime().then((function(a){return n._joseUtil.validateJwtAttributes(r.id_token,t,o,s,a).then((function(t){return e.nonce&&e.nonce!==t.nonce?(i.Log.error(\"ResponseValidator._validateIdTokenAttributes: Invalid nonce in id_token\"),Promise.reject(new Error(\"Invalid nonce in id_token\"))):t.sub?(r.profile=t,r):(i.Log.error(\"ResponseValidator._validateIdTokenAttributes: No sub present in id_token\"),Promise.reject(new Error(\"No sub present in id_token\")))}))}))}))},t.prototype._validateIdTokenAndAccessToken=function t(e,r){var n=this;return this._validateIdToken(e,r).then((function(t){return n._validateAccessToken(t)}))},t.prototype._getSigningKeyForJwt=function t(e){var r=this;return this._metadataService.getSigningKeys().then((function(t){var n=e.header.kid;if(!t)return i.Log.error(\"ResponseValidator._validateIdToken: No signing keys from metadata\"),Promise.reject(new Error(\"No signing keys from metadata\"));i.Log.debug(\"ResponseValidator._validateIdToken: Received signing keys\");var o=void 0;if(n)o=t.filter((function(t){return t.kid===n}))[0];else{if((t=r._filterByAlg(t,e.header.alg)).length>1)return i.Log.error(\"ResponseValidator._validateIdToken: No kid found in id_token and more than one key found in metadata\"),Promise.reject(new Error(\"No kid found in id_token and more than one key found in metadata\"));o=t[0]}return Promise.resolve(o)}))},t.prototype._getSigningKeyForJwtWithSingleRetry=function t(e){var r=this;return this._getSigningKeyForJwt(e).then((function(t){return t?Promise.resolve(t):(r._metadataService.resetSigningKeys(),r._getSigningKeyForJwt(e))}))},t.prototype._validateIdToken=function t(e,r){var n=this;if(!e.nonce)return i.Log.error(\"ResponseValidator._validateIdToken: No nonce on state\"),Promise.reject(new Error(\"No nonce on state\"));var o=this._joseUtil.parseJwt(r.id_token);return o&&o.header&&o.payload?e.nonce!==o.payload.nonce?(i.Log.error(\"ResponseValidator._validateIdToken: Invalid nonce in id_token\"),Promise.reject(new Error(\"Invalid nonce in id_token\"))):this._metadataService.getIssuer().then((function(t){return i.Log.debug(\"ResponseValidator._validateIdToken: Received issuer\"),n._getSigningKeyForJwtWithSingleRetry(o).then((function(s){if(!s)return i.Log.error(\"ResponseValidator._validateIdToken: No key matching kid or alg found in signing keys\"),Promise.reject(new Error(\"No key matching kid or alg found in signing keys\"));var a=e.client_id,u=n._settings.clockSkew;return i.Log.debug(\"ResponseValidator._validateIdToken: Validaing JWT; using clock skew (in seconds) of: \",u),n._joseUtil.validateJwt(r.id_token,s,t,a,u).then((function(){return i.Log.debug(\"ResponseValidator._validateIdToken: JWT validation successful\"),o.payload.sub?(r.profile=o.payload,r):(i.Log.error(\"ResponseValidator._validateIdToken: No sub present in id_token\"),Promise.reject(new Error(\"No sub present in id_token\")))}))}))})):(i.Log.error(\"ResponseValidator._validateIdToken: Failed to parse id_token\",o),Promise.reject(new Error(\"Failed to parse id_token\")))},t.prototype._filterByAlg=function t(e,r){var n=null;if(r.startsWith(\"RS\"))n=\"RSA\";else if(r.startsWith(\"PS\"))n=\"PS\";else{if(!r.startsWith(\"ES\"))return i.Log.debug(\"ResponseValidator._filterByAlg: alg not supported: \",r),[];n=\"EC\"}return i.Log.debug(\"ResponseValidator._filterByAlg: Looking for keys that match kty: \",n),e=e.filter((function(t){return t.kty===n})),i.Log.debug(\"ResponseValidator._filterByAlg: Number of keys that match kty: \",n,e.length),e},t.prototype._validateAccessToken=function t(e){if(!e.profile)return i.Log.error(\"ResponseValidator._validateAccessToken: No profile loaded from id_token\"),Promise.reject(new Error(\"No profile loaded from id_token\"));if(!e.profile.at_hash)return i.Log.error(\"ResponseValidator._validateAccessToken: No at_hash in id_token\"),Promise.reject(new Error(\"No at_hash in id_token\"));if(!e.id_token)return i.Log.error(\"ResponseValidator._validateAccessToken: No id_token\"),Promise.reject(new Error(\"No id_token\"));var r=this._joseUtil.parseJwt(e.id_token);if(!r||!r.header)return i.Log.error(\"ResponseValidator._validateAccessToken: Failed to parse id_token\",r),Promise.reject(new Error(\"Failed to parse id_token\"));var n=r.header.alg;if(!n||5!==n.length)return i.Log.error(\"ResponseValidator._validateAccessToken: Unsupported alg:\",n),Promise.reject(new Error(\"Unsupported alg: \"+n));var o=n.substr(2,3);if(!o)return i.Log.error(\"ResponseValidator._validateAccessToken: Unsupported alg:\",n,o),Promise.reject(new Error(\"Unsupported alg: \"+n));if(256!==(o=parseInt(o))&&384!==o&&512!==o)return i.Log.error(\"ResponseValidator._validateAccessToken: Unsupported alg:\",n,o),Promise.reject(new Error(\"Unsupported alg: \"+n));var s=\"sha\"+o,a=this._joseUtil.hashString(e.access_token,s);if(!a)return i.Log.error(\"ResponseValidator._validateAccessToken: access_token hash failed:\",s),Promise.reject(new Error(\"Failed to validate at_hash\"));var u=a.substr(0,a.length/2),c=this._joseUtil.hexToBase64Url(u);return c!==e.profile.at_hash?(i.Log.error(\"ResponseValidator._validateAccessToken: Failed to validate at_hash\",c,e.profile.at_hash),Promise.reject(new Error(\"Failed to validate at_hash\"))):(i.Log.debug(\"ResponseValidator._validateAccessToken: success\"),Promise.resolve(e))},t}()},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.UserInfoService=void 0;var n=r(7),i=r(2),o=r(0),s=r(4);function a(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}e.UserInfoService=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.JsonService,u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.MetadataService,c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:s.JoseUtil;if(a(this,t),!e)throw o.Log.error(\"UserInfoService.ctor: No settings passed\"),new Error(\"settings\");this._settings=e,this._jsonService=new r(void 0,void 0,this._getClaimsFromJwt.bind(this)),this._metadataService=new u(this._settings),this._joseUtil=c}return t.prototype.getClaims=function t(e){var r=this;return e?this._metadataService.getUserInfoEndpoint().then((function(t){return o.Log.debug(\"UserInfoService.getClaims: received userinfo url\",t),r._jsonService.getJson(t,e).then((function(t){return o.Log.debug(\"UserInfoService.getClaims: claims received\",t),t}))})):(o.Log.error(\"UserInfoService.getClaims: No token passed\"),Promise.reject(new Error(\"A token is required\")))},t.prototype._getClaimsFromJwt=function t(e){var r=this;try{var n=this._joseUtil.parseJwt(e.responseText);if(!n||!n.header||!n.payload)return o.Log.error(\"UserInfoService._getClaimsFromJwt: Failed to parse JWT\",n),Promise.reject(new Error(\"Failed to parse id_token\"));var i=n.header.kid,s=void 0;switch(this._settings.userInfoJwtIssuer){case\"OP\":s=this._metadataService.getIssuer();break;case\"ANY\":s=Promise.resolve(n.payload.iss);break;default:s=Promise.resolve(this._settings.userInfoJwtIssuer)}return s.then((function(t){return o.Log.debug(\"UserInfoService._getClaimsFromJwt: Received issuer:\"+t),r._metadataService.getSigningKeys().then((function(s){if(!s)return o.Log.error(\"UserInfoService._getClaimsFromJwt: No signing keys from metadata\"),Promise.reject(new Error(\"No signing keys from metadata\"));o.Log.debug(\"UserInfoService._getClaimsFromJwt: Received signing keys\");var a=void 0;if(i)a=s.filter((function(t){return t.kid===i}))[0];else{if((s=r._filterByAlg(s,n.header.alg)).length>1)return o.Log.error(\"UserInfoService._getClaimsFromJwt: No kid found in id_token and more than one key found in metadata\"),Promise.reject(new Error(\"No kid found in id_token and more than one key found in metadata\"));a=s[0]}if(!a)return o.Log.error(\"UserInfoService._getClaimsFromJwt: No key matching kid or alg found in signing keys\"),Promise.reject(new Error(\"No key matching kid or alg found in signing keys\"));var u=r._settings.client_id,c=r._settings.clockSkew;return o.Log.debug(\"UserInfoService._getClaimsFromJwt: Validaing JWT; using clock skew (in seconds) of: \",c),r._joseUtil.validateJwt(e.responseText,a,t,u,c,void 0,!0).then((function(){return o.Log.debug(\"UserInfoService._getClaimsFromJwt: JWT validation successful\"),n.payload}))}))}))}catch(t){return o.Log.error(\"UserInfoService._getClaimsFromJwt: Error parsing JWT response\",t.message),void reject(t)}},t.prototype._filterByAlg=function t(e,r){var n=null;if(r.startsWith(\"RS\"))n=\"RSA\";else if(r.startsWith(\"PS\"))n=\"PS\";else{if(!r.startsWith(\"ES\"))return o.Log.debug(\"UserInfoService._filterByAlg: alg not supported: \",r),[];n=\"EC\"}return o.Log.debug(\"UserInfoService._filterByAlg: Looking for keys that match kty: \",n),e=e.filter((function(t){return t.kty===n})),o.Log.debug(\"UserInfoService._filterByAlg: Number of keys that match kty: \",n,e.length),e},t}()},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.AllowedSigningAlgs=e.b64tohex=e.hextob64u=e.crypto=e.X509=e.KeyUtil=e.jws=void 0;var n=r(27);e.jws=n.jws,e.KeyUtil=n.KEYUTIL,e.X509=n.X509,e.crypto=n.crypto,e.hextob64u=n.hextob64u,e.b64tohex=n.b64tohex,e.AllowedSigningAlgs=[\"RS256\",\"RS384\",\"RS512\",\"PS256\",\"PS384\",\"PS512\",\"ES256\",\"ES384\",\"ES512\"]},function(t,e,r){\"use strict\";(function(t){Object.defineProperty(e,\"__esModule\",{value:!0});var r=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\"function\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\"symbol\":typeof t},n={userAgent:!1},i={};\n/*!\nCopyright (c) 2011, Yahoo! Inc. All rights reserved.\nCode licensed under the BSD License:\nhttp://developer.yahoo.com/yui/license.html\nversion: 2.9.0\n*/\nif(void 0===o)var o={};o.lang={extend:function t(e,r,i){if(!r||!e)throw new Error(\"YAHOO.lang.extend failed, please check that all dependencies are included.\");var o=function t(){};if(o.prototype=r.prototype,e.prototype=new o,e.prototype.constructor=e,e.superclass=r.prototype,r.prototype.constructor==Object.prototype.constructor&&(r.prototype.constructor=r),i){var s;for(s in i)e.prototype[s]=i[s];var a=function t(){},u=[\"toString\",\"valueOf\"];try{/MSIE/.test(n.userAgent)&&(a=function t(e,r){for(s=0;s<u.length;s+=1){var n=u[s],i=r[n];\"function\"==typeof i&&i!=Object.prototype[n]&&(e[n]=i)}})}catch(t){}a(e.prototype,i)}}};\n/*! CryptoJS v3.1.2 core-fix.js\n * code.google.com/p/crypto-js\n * (c) 2009-2013 by Jeff Mott. All rights reserved.\n * code.google.com/p/crypto-js/wiki/License\n * THIS IS FIX of 'core.js' to fix Hmac issue.\n * https://code.google.com/p/crypto-js/issues/detail?id=84\n * https://crypto-js.googlecode.com/svn-history/r667/branches/3.x/src/core.js\n */\nvar s,a,u,c,h,l,f,g,d,p,v,y=y||(s=Math,u=(a={}).lib={},c=u.Base=function(){function t(){}return{extend:function e(r){t.prototype=this;var n=new t;return r&&n.mixIn(r),n.hasOwnProperty(\"init\")||(n.init=function(){n.$super.init.apply(this,arguments)}),n.init.prototype=n,n.$super=this,n},create:function t(){var e=this.extend();return e.init.apply(e,arguments),e},init:function t(){},mixIn:function t(e){for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r]);e.hasOwnProperty(\"toString\")&&(this.toString=e.toString)},clone:function t(){return this.init.prototype.extend(this)}}}(),h=u.WordArray=c.extend({init:function t(e,r){e=this.words=e||[],this.sigBytes=null!=r?r:4*e.length},toString:function t(e){return(e||f).stringify(this)},concat:function t(e){var r=this.words,n=e.words,i=this.sigBytes,o=e.sigBytes;if(this.clamp(),i%4)for(var s=0;s<o;s++){var a=n[s>>>2]>>>24-s%4*8&255;r[i+s>>>2]|=a<<24-(i+s)%4*8}else for(s=0;s<o;s+=4)r[i+s>>>2]=n[s>>>2];return this.sigBytes+=o,this},clamp:function t(){var e=this.words,r=this.sigBytes;e[r>>>2]&=4294967295<<32-r%4*8,e.length=s.ceil(r/4)},clone:function t(){var e=c.clone.call(this);return e.words=this.words.slice(0),e},random:function t(e){for(var r=[],n=0;n<e;n+=4)r.push(4294967296*s.random()|0);return new h.init(r,e)}}),l=a.enc={},f=l.Hex={stringify:function t(e){for(var r=e.words,n=e.sigBytes,i=[],o=0;o<n;o++){var s=r[o>>>2]>>>24-o%4*8&255;i.push((s>>>4).toString(16)),i.push((15&s).toString(16))}return i.join(\"\")},parse:function t(e){for(var r=e.length,n=[],i=0;i<r;i+=2)n[i>>>3]|=parseInt(e.substr(i,2),16)<<24-i%8*4;return new h.init(n,r/2)}},g=l.Latin1={stringify:function t(e){for(var r=e.words,n=e.sigBytes,i=[],o=0;o<n;o++){var s=r[o>>>2]>>>24-o%4*8&255;i.push(String.fromCharCode(s))}return i.join(\"\")},parse:function t(e){for(var r=e.length,n=[],i=0;i<r;i++)n[i>>>2]|=(255&e.charCodeAt(i))<<24-i%4*8;return new h.init(n,r)}},d=l.Utf8={stringify:function t(e){try{return decodeURIComponent(escape(g.stringify(e)))}catch(t){throw new Error(\"Malformed UTF-8 data\")}},parse:function t(e){return g.parse(unescape(encodeURIComponent(e)))}},p=u.BufferedBlockAlgorithm=c.extend({reset:function t(){this._data=new h.init,this._nDataBytes=0},_append:function t(e){\"string\"==typeof e&&(e=d.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function t(e){var r=this._data,n=r.words,i=r.sigBytes,o=this.blockSize,a=i/(4*o),u=(a=e?s.ceil(a):s.max((0|a)-this._minBufferSize,0))*o,c=s.min(4*u,i);if(u){for(var l=0;l<u;l+=o)this._doProcessBlock(n,l);var f=n.splice(0,u);r.sigBytes-=c}return new h.init(f,c)},clone:function t(){var e=c.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),u.Hasher=p.extend({cfg:c.extend(),init:function t(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function t(){p.reset.call(this),this._doReset()},update:function t(e){return this._append(e),this._process(),this},finalize:function t(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function t(e){return function(t,r){return new e.init(r).finalize(t)}},_createHmacHelper:function t(e){return function(t,r){return new v.HMAC.init(e,r).finalize(t)}}}),v=a.algo={},a);!function(t){var e,r=(e=y).lib,n=r.Base,i=r.WordArray;(e=e.x64={}).Word=n.extend({init:function t(e,r){this.high=e,this.low=r}}),e.WordArray=n.extend({init:function t(e,r){e=this.words=e||[],this.sigBytes=null!=r?r:8*e.length},toX32:function t(){for(var e=this.words,r=e.length,n=[],o=0;o<r;o++){var s=e[o];n.push(s.high),n.push(s.low)}return i.create(n,this.sigBytes)},clone:function t(){for(var e=n.clone.call(this),r=e.words=this.words.slice(0),i=r.length,o=0;o<i;o++)r[o]=r[o].clone();return e}})}(),function(){var t=y,e=t.lib.WordArray;t.enc.Base64={stringify:function t(e){var r=e.words,n=e.sigBytes,i=this._map;e.clamp(),e=[];for(var o=0;o<n;o+=3)for(var s=(r[o>>>2]>>>24-o%4*8&255)<<16|(r[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|r[o+2>>>2]>>>24-(o+2)%4*8&255,a=0;4>a&&o+.75*a<n;a++)e.push(i.charAt(s>>>6*(3-a)&63));if(r=i.charAt(64))for(;e.length%4;)e.push(r);return e.join(\"\")},parse:function t(r){var n=r.length,i=this._map;(o=i.charAt(64))&&(-1!=(o=r.indexOf(o))&&(n=o));for(var o=[],s=0,a=0;a<n;a++)if(a%4){var u=i.indexOf(r.charAt(a-1))<<a%4*2,c=i.indexOf(r.charAt(a))>>>6-a%4*2;o[s>>>2]|=(u|c)<<24-s%4*8,s++}return e.create(o,s)},_map:\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\"}}(),function(t){for(var e=y,r=(i=e.lib).WordArray,n=i.Hasher,i=e.algo,o=[],s=[],a=function t(e){return 4294967296*(e-(0|e))|0},u=2,c=0;64>c;){var h;t:{h=u;for(var l=t.sqrt(h),f=2;f<=l;f++)if(!(h%f)){h=!1;break t}h=!0}h&&(8>c&&(o[c]=a(t.pow(u,.5))),s[c]=a(t.pow(u,1/3)),c++),u++}var g=[];i=i.SHA256=n.extend({_doReset:function t(){this._hash=new r.init(o.slice(0))},_doProcessBlock:function t(e,r){for(var n=this._hash.words,i=n[0],o=n[1],a=n[2],u=n[3],c=n[4],h=n[5],l=n[6],f=n[7],d=0;64>d;d++){if(16>d)g[d]=0|e[r+d];else{var p=g[d-15],v=g[d-2];g[d]=((p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3)+g[d-7]+((v<<15|v>>>17)^(v<<13|v>>>19)^v>>>10)+g[d-16]}p=f+((c<<26|c>>>6)^(c<<21|c>>>11)^(c<<7|c>>>25))+(c&h^~c&l)+s[d]+g[d],v=((i<<30|i>>>2)^(i<<19|i>>>13)^(i<<10|i>>>22))+(i&o^i&a^o&a),f=l,l=h,h=c,c=u+p|0,u=a,a=o,o=i,i=p+v|0}n[0]=n[0]+i|0,n[1]=n[1]+o|0,n[2]=n[2]+a|0,n[3]=n[3]+u|0,n[4]=n[4]+c|0,n[5]=n[5]+h|0,n[6]=n[6]+l|0,n[7]=n[7]+f|0},_doFinalize:function e(){var r=this._data,n=r.words,i=8*this._nDataBytes,o=8*r.sigBytes;return n[o>>>5]|=128<<24-o%32,n[14+(o+64>>>9<<4)]=t.floor(i/4294967296),n[15+(o+64>>>9<<4)]=i,r.sigBytes=4*n.length,this._process(),this._hash},clone:function t(){var e=n.clone.call(this);return e._hash=this._hash.clone(),e}});e.SHA256=n._createHelper(i),e.HmacSHA256=n._createHmacHelper(i)}(Math),function(){function t(){return n.create.apply(n,arguments)}for(var e=y,r=e.lib.Hasher,n=(o=e.x64).Word,i=o.WordArray,o=e.algo,s=[t(1116352408,3609767458),t(1899447441,602891725),t(3049323471,3964484399),t(3921009573,2173295548),t(961987163,4081628472),t(1508970993,3053834265),t(2453635748,2937671579),t(2870763221,3664609560),t(3624381080,2734883394),t(310598401,1164996542),t(607225278,1323610764),t(1426881987,3590304994),t(1925078388,4068182383),t(2162078206,991336113),t(2614888103,633803317),t(3248222580,3479774868),t(3835390401,2666613458),t(4022224774,944711139),t(264347078,2341262773),t(604807628,2007800933),t(770255983,1495990901),t(1249150122,1856431235),t(1555081692,3175218132),t(1996064986,2198950837),t(2554220882,3999719339),t(2821834349,766784016),t(2952996808,2566594879),t(3210313671,3203337956),t(3336571891,1034457026),t(3584528711,2466948901),t(113926993,3758326383),t(338241895,168717936),t(666307205,1188179964),t(773529912,1546045734),t(1294757372,1522805485),t(1396182291,2643833823),t(1695183700,2343527390),t(1986661051,1014477480),t(2177026350,1206759142),t(2456956037,344077627),t(2730485921,1290863460),t(2820302411,3158454273),t(3259730800,3505952657),t(3345764771,106217008),t(3516065817,3606008344),t(3600352804,1432725776),t(4094571909,1467031594),t(275423344,851169720),t(430227734,3100823752),t(506948616,1363258195),t(659060556,3750685593),t(883997877,3785050280),t(958139571,3318307427),t(1322822218,3812723403),t(1537002063,2003034995),t(1747873779,3602036899),t(1955562222,1575990012),t(2024104815,1125592928),t(2227730452,2716904306),t(2361852424,442776044),t(2428436474,593698344),t(2756734187,3733110249),t(3204031479,2999351573),t(3329325298,3815920427),t(3391569614,3928383900),t(3515267271,566280711),t(3940187606,3454069534),t(4118630271,4000239992),t(116418474,1914138554),t(174292421,2731055270),t(289380356,3203993006),t(460393269,320620315),t(685471733,587496836),t(852142971,1086792851),t(1017036298,365543100),t(1126000580,2618297676),t(1288033470,3409855158),t(1501505948,4234509866),t(1607167915,987167468),t(1816402316,1246189591)],a=[],u=0;80>u;u++)a[u]=t();o=o.SHA512=r.extend({_doReset:function t(){this._hash=new i.init([new n.init(1779033703,4089235720),new n.init(3144134277,2227873595),new n.init(1013904242,4271175723),new n.init(2773480762,1595750129),new n.init(1359893119,2917565137),new n.init(2600822924,725511199),new n.init(528734635,4215389547),new n.init(1541459225,327033209)])},_doProcessBlock:function t(e,r){for(var n=(f=this._hash.words)[0],i=f[1],o=f[2],u=f[3],c=f[4],h=f[5],l=f[6],f=f[7],g=n.high,d=n.low,p=i.high,v=i.low,y=o.high,m=o.low,_=u.high,S=u.low,b=c.high,w=c.low,F=h.high,E=h.low,x=l.high,A=l.low,k=f.high,P=f.low,C=g,T=d,R=p,I=v,D=y,L=m,N=_,U=S,B=b,O=w,j=F,M=E,H=x,V=A,K=k,q=P,J=0;80>J;J++){var W=a[J];if(16>J)var z=W.high=0|e[r+2*J],Y=W.low=0|e[r+2*J+1];else{z=((Y=(z=a[J-15]).high)>>>1|(G=z.low)<<31)^(Y>>>8|G<<24)^Y>>>7;var G=(G>>>1|Y<<31)^(G>>>8|Y<<24)^(G>>>7|Y<<25),X=((Y=(X=a[J-2]).high)>>>19|($=X.low)<<13)^(Y<<3|$>>>29)^Y>>>6,$=($>>>19|Y<<13)^($<<3|Y>>>29)^($>>>6|Y<<26),Q=(Y=a[J-7]).high,Z=(tt=a[J-16]).high,tt=tt.low;z=(z=(z=z+Q+((Y=G+Y.low)>>>0<G>>>0?1:0))+X+((Y=Y+$)>>>0<$>>>0?1:0))+Z+((Y=Y+tt)>>>0<tt>>>0?1:0);W.high=z,W.low=Y}Q=B&j^~B&H,tt=O&M^~O&V,W=C&R^C&D^R&D;var et=T&I^T&L^I&L,rt=(G=(C>>>28|T<<4)^(C<<30|T>>>2)^(C<<25|T>>>7),X=(T>>>28|C<<4)^(T<<30|C>>>2)^(T<<25|C>>>7),($=s[J]).high),nt=$.low;Z=K+((B>>>14|O<<18)^(B>>>18|O<<14)^(B<<23|O>>>9))+(($=q+((O>>>14|B<<18)^(O>>>18|B<<14)^(O<<23|B>>>9)))>>>0<q>>>0?1:0),K=H,q=V,H=j,V=M,j=B,M=O,B=N+(Z=(Z=(Z=Z+Q+(($=$+tt)>>>0<tt>>>0?1:0))+rt+(($=$+nt)>>>0<nt>>>0?1:0))+z+(($=$+Y)>>>0<Y>>>0?1:0))+((O=U+$|0)>>>0<U>>>0?1:0)|0,N=D,U=L,D=R,L=I,R=C,I=T,C=Z+(W=G+W+((Y=X+et)>>>0<X>>>0?1:0))+((T=$+Y|0)>>>0<$>>>0?1:0)|0}d=n.low=d+T,n.high=g+C+(d>>>0<T>>>0?1:0),v=i.low=v+I,i.high=p+R+(v>>>0<I>>>0?1:0),m=o.low=m+L,o.high=y+D+(m>>>0<L>>>0?1:0),S=u.low=S+U,u.high=_+N+(S>>>0<U>>>0?1:0),w=c.low=w+O,c.high=b+B+(w>>>0<O>>>0?1:0),E=h.low=E+M,h.high=F+j+(E>>>0<M>>>0?1:0),A=l.low=A+V,l.high=x+H+(A>>>0<V>>>0?1:0),P=f.low=P+q,f.high=k+K+(P>>>0<q>>>0?1:0)},_doFinalize:function t(){var e=this._data,r=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;return r[i>>>5]|=128<<24-i%32,r[30+(i+128>>>10<<5)]=Math.floor(n/4294967296),r[31+(i+128>>>10<<5)]=n,e.sigBytes=4*r.length,this._process(),this._hash.toX32()},clone:function t(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32}),e.SHA512=r._createHelper(o),e.HmacSHA512=r._createHmacHelper(o)}(),function(){var t=y,e=(i=t.x64).Word,r=i.WordArray,n=(i=t.algo).SHA512,i=i.SHA384=n.extend({_doReset:function t(){this._hash=new r.init([new e.init(3418070365,3238371032),new e.init(1654270250,914150663),new e.init(2438529370,812702999),new e.init(355462360,4144912697),new e.init(1731405415,4290775857),new e.init(2394180231,1750603025),new e.init(3675008525,1694076839),new e.init(1203062813,3204075428)])},_doFinalize:function t(){var e=n._doFinalize.call(this);return e.sigBytes-=16,e}});t.SHA384=n._createHelper(i),t.HmacSHA384=n._createHmacHelper(i)}();\n/*! (c) Tom Wu | http://www-cs-students.stanford.edu/~tjw/jsbn/\n */\nvar m,_=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\";function S(t){var e,r,n=\"\";for(e=0;e+3<=t.length;e+=3)r=parseInt(t.substring(e,e+3),16),n+=_.charAt(r>>6)+_.charAt(63&r);for(e+1==t.length?(r=parseInt(t.substring(e,e+1),16),n+=_.charAt(r<<2)):e+2==t.length&&(r=parseInt(t.substring(e,e+2),16),n+=_.charAt(r>>2)+_.charAt((3&r)<<4)),\"=\";(3&n.length)>0;)n+=\"=\";return n}function b(t){var e,r,n,i=\"\",o=0;for(e=0;e<t.length&&\"=\"!=t.charAt(e);++e)(n=_.indexOf(t.charAt(e)))<0||(0==o?(i+=R(n>>2),r=3&n,o=1):1==o?(i+=R(r<<2|n>>4),r=15&n,o=2):2==o?(i+=R(r),i+=R(n>>2),r=3&n,o=3):(i+=R(r<<2|n>>4),i+=R(15&n),o=0));return 1==o&&(i+=R(r<<2)),i}function w(t){var e,r=b(t),n=new Array;for(e=0;2*e<r.length;++e)n[e]=parseInt(r.substring(2*e,2*e+2),16);return n}function F(t,e,r){null!=t&&(\"number\"==typeof t?this.fromNumber(t,e,r):null==e&&\"string\"!=typeof t?this.fromString(t,256):this.fromString(t,e))}function E(){return new F(null)}\"Microsoft Internet Explorer\"==n.appName?(F.prototype.am=function x(t,e,r,n,i,o){for(var s=32767&e,a=e>>15;--o>=0;){var u=32767&this[t],c=this[t++]>>15,h=a*u+c*s;i=((u=s*u+((32767&h)<<15)+r[n]+(1073741823&i))>>>30)+(h>>>15)+a*c+(i>>>30),r[n++]=1073741823&u}return i},m=30):\"Netscape\"!=n.appName?(F.prototype.am=function A(t,e,r,n,i,o){for(;--o>=0;){var s=e*this[t++]+r[n]+i;i=Math.floor(s/67108864),r[n++]=67108863&s}return i},m=26):(F.prototype.am=function k(t,e,r,n,i,o){for(var s=16383&e,a=e>>14;--o>=0;){var u=16383&this[t],c=this[t++]>>14,h=a*u+c*s;i=((u=s*u+((16383&h)<<14)+r[n]+i)>>28)+(h>>14)+a*c,r[n++]=268435455&u}return i},m=28),F.prototype.DB=m,F.prototype.DM=(1<<m)-1,F.prototype.DV=1<<m;F.prototype.FV=Math.pow(2,52),F.prototype.F1=52-m,F.prototype.F2=2*m-52;var P,C,T=new Array;for(P=\"0\".charCodeAt(0),C=0;C<=9;++C)T[P++]=C;for(P=\"a\".charCodeAt(0),C=10;C<36;++C)T[P++]=C;for(P=\"A\".charCodeAt(0),C=10;C<36;++C)T[P++]=C;function R(t){return\"0123456789abcdefghijklmnopqrstuvwxyz\".charAt(t)}function I(t,e){var r=T[t.charCodeAt(e)];return null==r?-1:r}function D(t){var e=E();return e.fromInt(t),e}function L(t){var e,r=1;return 0!=(e=t>>>16)&&(t=e,r+=16),0!=(e=t>>8)&&(t=e,r+=8),0!=(e=t>>4)&&(t=e,r+=4),0!=(e=t>>2)&&(t=e,r+=2),0!=(e=t>>1)&&(t=e,r+=1),r}function N(t){this.m=t}function U(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<t.DB-15)-1,this.mt2=2*t.t}function B(t,e){return t&e}function O(t,e){return t|e}function j(t,e){return t^e}function M(t,e){return t&~e}function H(t){if(0==t)return-1;var e=0;return 0==(65535&t)&&(t>>=16,e+=16),0==(255&t)&&(t>>=8,e+=8),0==(15&t)&&(t>>=4,e+=4),0==(3&t)&&(t>>=2,e+=2),0==(1&t)&&++e,e}function V(t){for(var e=0;0!=t;)t&=t-1,++e;return e}function K(){}function q(t){return t}function J(t){this.r2=E(),this.q3=E(),F.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t),this.m=t}N.prototype.convert=function W(t){return t.s<0||t.compareTo(this.m)>=0?t.mod(this.m):t},N.prototype.revert=function z(t){return t},N.prototype.reduce=function Y(t){t.divRemTo(this.m,null,t)},N.prototype.mulTo=function G(t,e,r){t.multiplyTo(e,r),this.reduce(r)},N.prototype.sqrTo=function X(t,e){t.squareTo(e),this.reduce(e)},U.prototype.convert=function $(t){var e=E();return t.abs().dlShiftTo(this.m.t,e),e.divRemTo(this.m,null,e),t.s<0&&e.compareTo(F.ZERO)>0&&this.m.subTo(e,e),e},U.prototype.revert=function Q(t){var e=E();return t.copyTo(e),this.reduce(e),e},U.prototype.reduce=function Z(t){for(;t.t<=this.mt2;)t[t.t++]=0;for(var e=0;e<this.m.t;++e){var r=32767&t[e],n=r*this.mpl+((r*this.mph+(t[e]>>15)*this.mpl&this.um)<<15)&t.DM;for(t[r=e+this.m.t]+=this.m.am(0,n,t,e,0,this.m.t);t[r]>=t.DV;)t[r]-=t.DV,t[++r]++}t.clamp(),t.drShiftTo(this.m.t,t),t.compareTo(this.m)>=0&&t.subTo(this.m,t)},U.prototype.mulTo=function tt(t,e,r){t.multiplyTo(e,r),this.reduce(r)},U.prototype.sqrTo=function et(t,e){t.squareTo(e),this.reduce(e)},F.prototype.copyTo=function rt(t){for(var e=this.t-1;e>=0;--e)t[e]=this[e];t.t=this.t,t.s=this.s},F.prototype.fromInt=function nt(t){this.t=1,this.s=t<0?-1:0,t>0?this[0]=t:t<-1?this[0]=t+this.DV:this.t=0},F.prototype.fromString=function it(t,e){var r;if(16==e)r=4;else if(8==e)r=3;else if(256==e)r=8;else if(2==e)r=1;else if(32==e)r=5;else{if(4!=e)return void this.fromRadix(t,e);r=2}this.t=0,this.s=0;for(var n=t.length,i=!1,o=0;--n>=0;){var s=8==r?255&t[n]:I(t,n);s<0?\"-\"==t.charAt(n)&&(i=!0):(i=!1,0==o?this[this.t++]=s:o+r>this.DB?(this[this.t-1]|=(s&(1<<this.DB-o)-1)<<o,this[this.t++]=s>>this.DB-o):this[this.t-1]|=s<<o,(o+=r)>=this.DB&&(o-=this.DB))}8==r&&0!=(128&t[0])&&(this.s=-1,o>0&&(this[this.t-1]|=(1<<this.DB-o)-1<<o)),this.clamp(),i&&F.ZERO.subTo(this,this)},F.prototype.clamp=function ot(){for(var t=this.s&this.DM;this.t>0&&this[this.t-1]==t;)--this.t},F.prototype.dlShiftTo=function st(t,e){var r;for(r=this.t-1;r>=0;--r)e[r+t]=this[r];for(r=t-1;r>=0;--r)e[r]=0;e.t=this.t+t,e.s=this.s},F.prototype.drShiftTo=function at(t,e){for(var r=t;r<this.t;++r)e[r-t]=this[r];e.t=Math.max(this.t-t,0),e.s=this.s},F.prototype.lShiftTo=function ut(t,e){var r,n=t%this.DB,i=this.DB-n,o=(1<<i)-1,s=Math.floor(t/this.DB),a=this.s<<n&this.DM;for(r=this.t-1;r>=0;--r)e[r+s+1]=this[r]>>i|a,a=(this[r]&o)<<n;for(r=s-1;r>=0;--r)e[r]=0;e[s]=a,e.t=this.t+s+1,e.s=this.s,e.clamp()},F.prototype.rShiftTo=function ct(t,e){e.s=this.s;var r=Math.floor(t/this.DB);if(r>=this.t)e.t=0;else{var n=t%this.DB,i=this.DB-n,o=(1<<n)-1;e[0]=this[r]>>n;for(var s=r+1;s<this.t;++s)e[s-r-1]|=(this[s]&o)<<i,e[s-r]=this[s]>>n;n>0&&(e[this.t-r-1]|=(this.s&o)<<i),e.t=this.t-r,e.clamp()}},F.prototype.subTo=function ht(t,e){for(var r=0,n=0,i=Math.min(t.t,this.t);r<i;)n+=this[r]-t[r],e[r++]=n&this.DM,n>>=this.DB;if(t.t<this.t){for(n-=t.s;r<this.t;)n+=this[r],e[r++]=n&this.DM,n>>=this.DB;n+=this.s}else{for(n+=this.s;r<t.t;)n-=t[r],e[r++]=n&this.DM,n>>=this.DB;n-=t.s}e.s=n<0?-1:0,n<-1?e[r++]=this.DV+n:n>0&&(e[r++]=n),e.t=r,e.clamp()},F.prototype.multiplyTo=function lt(t,e){var r=this.abs(),n=t.abs(),i=r.t;for(e.t=i+n.t;--i>=0;)e[i]=0;for(i=0;i<n.t;++i)e[i+r.t]=r.am(0,n[i],e,i,0,r.t);e.s=0,e.clamp(),this.s!=t.s&&F.ZERO.subTo(e,e)},F.prototype.squareTo=function ft(t){for(var e=this.abs(),r=t.t=2*e.t;--r>=0;)t[r]=0;for(r=0;r<e.t-1;++r){var n=e.am(r,e[r],t,2*r,0,1);(t[r+e.t]+=e.am(r+1,2*e[r],t,2*r+1,n,e.t-r-1))>=e.DV&&(t[r+e.t]-=e.DV,t[r+e.t+1]=1)}t.t>0&&(t[t.t-1]+=e.am(r,e[r],t,2*r,0,1)),t.s=0,t.clamp()},F.prototype.divRemTo=function gt(t,e,r){var n=t.abs();if(!(n.t<=0)){var i=this.abs();if(i.t<n.t)return null!=e&&e.fromInt(0),void(null!=r&&this.copyTo(r));null==r&&(r=E());var o=E(),s=this.s,a=t.s,u=this.DB-L(n[n.t-1]);u>0?(n.lShiftTo(u,o),i.lShiftTo(u,r)):(n.copyTo(o),i.copyTo(r));var c=o.t,h=o[c-1];if(0!=h){var l=h*(1<<this.F1)+(c>1?o[c-2]>>this.F2:0),f=this.FV/l,g=(1<<this.F1)/l,d=1<<this.F2,p=r.t,v=p-c,y=null==e?E():e;for(o.dlShiftTo(v,y),r.compareTo(y)>=0&&(r[r.t++]=1,r.subTo(y,r)),F.ONE.dlShiftTo(c,y),y.subTo(o,o);o.t<c;)o[o.t++]=0;for(;--v>=0;){var m=r[--p]==h?this.DM:Math.floor(r[p]*f+(r[p-1]+d)*g);if((r[p]+=o.am(0,m,r,v,0,c))<m)for(o.dlShiftTo(v,y),r.subTo(y,r);r[p]<--m;)r.subTo(y,r)}null!=e&&(r.drShiftTo(c,e),s!=a&&F.ZERO.subTo(e,e)),r.t=c,r.clamp(),u>0&&r.rShiftTo(u,r),s<0&&F.ZERO.subTo(r,r)}}},F.prototype.invDigit=function dt(){if(this.t<1)return 0;var t=this[0];if(0==(1&t))return 0;var e=3&t;return(e=(e=(e=(e=e*(2-(15&t)*e)&15)*(2-(255&t)*e)&255)*(2-((65535&t)*e&65535))&65535)*(2-t*e%this.DV)%this.DV)>0?this.DV-e:-e},F.prototype.isEven=function pt(){return 0==(this.t>0?1&this[0]:this.s)},F.prototype.exp=function vt(t,e){if(t>4294967295||t<1)return F.ONE;var r=E(),n=E(),i=e.convert(this),o=L(t)-1;for(i.copyTo(r);--o>=0;)if(e.sqrTo(r,n),(t&1<<o)>0)e.mulTo(n,i,r);else{var s=r;r=n,n=s}return e.revert(r)},F.prototype.toString=function yt(t){if(this.s<0)return\"-\"+this.negate().toString(t);var e;if(16==t)e=4;else if(8==t)e=3;else if(2==t)e=1;else if(32==t)e=5;else{if(4!=t)return this.toRadix(t);e=2}var r,n=(1<<e)-1,i=!1,o=\"\",s=this.t,a=this.DB-s*this.DB%e;if(s-- >0)for(a<this.DB&&(r=this[s]>>a)>0&&(i=!0,o=R(r));s>=0;)a<e?(r=(this[s]&(1<<a)-1)<<e-a,r|=this[--s]>>(a+=this.DB-e)):(r=this[s]>>(a-=e)&n,a<=0&&(a+=this.DB,--s)),r>0&&(i=!0),i&&(o+=R(r));return i?o:\"0\"},F.prototype.negate=function mt(){var t=E();return F.ZERO.subTo(this,t),t},F.prototype.abs=function _t(){return this.s<0?this.negate():this},F.prototype.compareTo=function St(t){var e=this.s-t.s;if(0!=e)return e;var r=this.t;if(0!=(e=r-t.t))return this.s<0?-e:e;for(;--r>=0;)if(0!=(e=this[r]-t[r]))return e;return 0},F.prototype.bitLength=function bt(){return this.t<=0?0:this.DB*(this.t-1)+L(this[this.t-1]^this.s&this.DM)},F.prototype.mod=function wt(t){var e=E();return this.abs().divRemTo(t,null,e),this.s<0&&e.compareTo(F.ZERO)>0&&t.subTo(e,e),e},F.prototype.modPowInt=function Ft(t,e){var r;return r=t<256||e.isEven()?new N(e):new U(e),this.exp(t,r)},F.ZERO=D(0),F.ONE=D(1),K.prototype.convert=q,K.prototype.revert=q,K.prototype.mulTo=function Et(t,e,r){t.multiplyTo(e,r)},K.prototype.sqrTo=function xt(t,e){t.squareTo(e)},J.prototype.convert=function At(t){if(t.s<0||t.t>2*this.m.t)return t.mod(this.m);if(t.compareTo(this.m)<0)return t;var e=E();return t.copyTo(e),this.reduce(e),e},J.prototype.revert=function kt(t){return t},J.prototype.reduce=function Pt(t){for(t.drShiftTo(this.m.t-1,this.r2),t.t>this.m.t+1&&(t.t=this.m.t+1,t.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);t.compareTo(this.r2)<0;)t.dAddOffset(1,this.m.t+1);for(t.subTo(this.r2,t);t.compareTo(this.m)>=0;)t.subTo(this.m,t)},J.prototype.mulTo=function Ct(t,e,r){t.multiplyTo(e,r),this.reduce(r)},J.prototype.sqrTo=function Tt(t,e){t.squareTo(e),this.reduce(e)};var Rt=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],It=(1<<26)/Rt[Rt.length-1];\n/*! (c) Tom Wu | http://www-cs-students.stanford.edu/~tjw/jsbn/\n */\nfunction Dt(){this.i=0,this.j=0,this.S=new Array}F.prototype.chunkSize=function Lt(t){return Math.floor(Math.LN2*this.DB/Math.log(t))},F.prototype.toRadix=function Nt(t){if(null==t&&(t=10),0==this.signum()||t<2||t>36)return\"0\";var e=this.chunkSize(t),r=Math.pow(t,e),n=D(r),i=E(),o=E(),s=\"\";for(this.divRemTo(n,i,o);i.signum()>0;)s=(r+o.intValue()).toString(t).substr(1)+s,i.divRemTo(n,i,o);return o.intValue().toString(t)+s},F.prototype.fromRadix=function Ut(t,e){this.fromInt(0),null==e&&(e=10);for(var r=this.chunkSize(e),n=Math.pow(e,r),i=!1,o=0,s=0,a=0;a<t.length;++a){var u=I(t,a);u<0?\"-\"==t.charAt(a)&&0==this.signum()&&(i=!0):(s=e*s+u,++o>=r&&(this.dMultiply(n),this.dAddOffset(s,0),o=0,s=0))}o>0&&(this.dMultiply(Math.pow(e,o)),this.dAddOffset(s,0)),i&&F.ZERO.subTo(this,this)},F.prototype.fromNumber=function Bt(t,e,r){if(\"number\"==typeof e)if(t<2)this.fromInt(1);else for(this.fromNumber(t,r),this.testBit(t-1)||this.bitwiseTo(F.ONE.shiftLeft(t-1),O,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(e);)this.dAddOffset(2,0),this.bitLength()>t&&this.subTo(F.ONE.shiftLeft(t-1),this);else{var n=new Array,i=7&t;n.length=1+(t>>3),e.nextBytes(n),i>0?n[0]&=(1<<i)-1:n[0]=0,this.fromString(n,256)}},F.prototype.bitwiseTo=function Ot(t,e,r){var n,i,o=Math.min(t.t,this.t);for(n=0;n<o;++n)r[n]=e(this[n],t[n]);if(t.t<this.t){for(i=t.s&this.DM,n=o;n<this.t;++n)r[n]=e(this[n],i);r.t=this.t}else{for(i=this.s&this.DM,n=o;n<t.t;++n)r[n]=e(i,t[n]);r.t=t.t}r.s=e(this.s,t.s),r.clamp()},F.prototype.changeBit=function jt(t,e){var r=F.ONE.shiftLeft(t);return this.bitwiseTo(r,e,r),r},F.prototype.addTo=function Mt(t,e){for(var r=0,n=0,i=Math.min(t.t,this.t);r<i;)n+=this[r]+t[r],e[r++]=n&this.DM,n>>=this.DB;if(t.t<this.t){for(n+=t.s;r<this.t;)n+=this[r],e[r++]=n&this.DM,n>>=this.DB;n+=this.s}else{for(n+=this.s;r<t.t;)n+=t[r],e[r++]=n&this.DM,n>>=this.DB;n+=t.s}e.s=n<0?-1:0,n>0?e[r++]=n:n<-1&&(e[r++]=this.DV+n),e.t=r,e.clamp()},F.prototype.dMultiply=function Ht(t){this[this.t]=this.am(0,t-1,this,0,0,this.t),++this.t,this.clamp()},F.prototype.dAddOffset=function Vt(t,e){if(0!=t){for(;this.t<=e;)this[this.t++]=0;for(this[e]+=t;this[e]>=this.DV;)this[e]-=this.DV,++e>=this.t&&(this[this.t++]=0),++this[e]}},F.prototype.multiplyLowerTo=function Kt(t,e,r){var n,i=Math.min(this.t+t.t,e);for(r.s=0,r.t=i;i>0;)r[--i]=0;for(n=r.t-this.t;i<n;++i)r[i+this.t]=this.am(0,t[i],r,i,0,this.t);for(n=Math.min(t.t,e);i<n;++i)this.am(0,t[i],r,i,0,e-i);r.clamp()},F.prototype.multiplyUpperTo=function qt(t,e,r){--e;var n=r.t=this.t+t.t-e;for(r.s=0;--n>=0;)r[n]=0;for(n=Math.max(e-this.t,0);n<t.t;++n)r[this.t+n-e]=this.am(e-n,t[n],r,0,0,this.t+n-e);r.clamp(),r.drShiftTo(1,r)},F.prototype.modInt=function Jt(t){if(t<=0)return 0;var e=this.DV%t,r=this.s<0?t-1:0;if(this.t>0)if(0==e)r=this[0]%t;else for(var n=this.t-1;n>=0;--n)r=(e*r+this[n])%t;return r},F.prototype.millerRabin=function Wt(t){var e=this.subtract(F.ONE),r=e.getLowestSetBit();if(r<=0)return!1;var n=e.shiftRight(r);(t=t+1>>1)>Rt.length&&(t=Rt.length);for(var i=E(),o=0;o<t;++o){i.fromInt(Rt[Math.floor(Math.random()*Rt.length)]);var s=i.modPow(n,this);if(0!=s.compareTo(F.ONE)&&0!=s.compareTo(e)){for(var a=1;a++<r&&0!=s.compareTo(e);)if(0==(s=s.modPowInt(2,this)).compareTo(F.ONE))return!1;if(0!=s.compareTo(e))return!1}}return!0},F.prototype.clone=\n/*! (c) Tom Wu | http://www-cs-students.stanford.edu/~tjw/jsbn/\n */\nfunction zt(){var t=E();return this.copyTo(t),t},F.prototype.intValue=function Yt(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]},F.prototype.byteValue=function Gt(){return 0==this.t?this.s:this[0]<<24>>24},F.prototype.shortValue=function Xt(){return 0==this.t?this.s:this[0]<<16>>16},F.prototype.signum=function $t(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},F.prototype.toByteArray=function Qt(){var t=this.t,e=new Array;e[0]=this.s;var r,n=this.DB-t*this.DB%8,i=0;if(t-- >0)for(n<this.DB&&(r=this[t]>>n)!=(this.s&this.DM)>>n&&(e[i++]=r|this.s<<this.DB-n);t>=0;)n<8?(r=(this[t]&(1<<n)-1)<<8-n,r|=this[--t]>>(n+=this.DB-8)):(r=this[t]>>(n-=8)&255,n<=0&&(n+=this.DB,--t)),0!=(128&r)&&(r|=-256),0==i&&(128&this.s)!=(128&r)&&++i,(i>0||r!=this.s)&&(e[i++]=r);return e},F.prototype.equals=function Zt(t){return 0==this.compareTo(t)},F.prototype.min=function te(t){return this.compareTo(t)<0?this:t},F.prototype.max=function ee(t){return this.compareTo(t)>0?this:t},F.prototype.and=function re(t){var e=E();return this.bitwiseTo(t,B,e),e},F.prototype.or=function ne(t){var e=E();return this.bitwiseTo(t,O,e),e},F.prototype.xor=function ie(t){var e=E();return this.bitwiseTo(t,j,e),e},F.prototype.andNot=function oe(t){var e=E();return this.bitwiseTo(t,M,e),e},F.prototype.not=function se(){for(var t=E(),e=0;e<this.t;++e)t[e]=this.DM&~this[e];return t.t=this.t,t.s=~this.s,t},F.prototype.shiftLeft=function ae(t){var e=E();return t<0?this.rShiftTo(-t,e):this.lShiftTo(t,e),e},F.prototype.shiftRight=function ue(t){var e=E();return t<0?this.lShiftTo(-t,e):this.rShiftTo(t,e),e},F.prototype.getLowestSetBit=function ce(){for(var t=0;t<this.t;++t)if(0!=this[t])return t*this.DB+H(this[t]);return this.s<0?this.t*this.DB:-1},F.prototype.bitCount=function he(){for(var t=0,e=this.s&this.DM,r=0;r<this.t;++r)t+=V(this[r]^e);return t},F.prototype.testBit=function le(t){var e=Math.floor(t/this.DB);return e>=this.t?0!=this.s:0!=(this[e]&1<<t%this.DB)},F.prototype.setBit=function fe(t){return this.changeBit(t,O)},F.prototype.clearBit=function ge(t){return this.changeBit(t,M)},F.prototype.flipBit=function de(t){return this.changeBit(t,j)},F.prototype.add=function pe(t){var e=E();return this.addTo(t,e),e},F.prototype.subtract=function ve(t){var e=E();return this.subTo(t,e),e},F.prototype.multiply=function ye(t){var e=E();return this.multiplyTo(t,e),e},F.prototype.divide=function me(t){var e=E();return this.divRemTo(t,e,null),e},F.prototype.remainder=function _e(t){var e=E();return this.divRemTo(t,null,e),e},F.prototype.divideAndRemainder=function Se(t){var e=E(),r=E();return this.divRemTo(t,e,r),new Array(e,r)},F.prototype.modPow=function be(t,e){var r,n,i=t.bitLength(),o=D(1);if(i<=0)return o;r=i<18?1:i<48?3:i<144?4:i<768?5:6,n=i<8?new N(e):e.isEven()?new J(e):new U(e);var s=new Array,a=3,u=r-1,c=(1<<r)-1;if(s[1]=n.convert(this),r>1){var h=E();for(n.sqrTo(s[1],h);a<=c;)s[a]=E(),n.mulTo(h,s[a-2],s[a]),a+=2}var l,f,g=t.t-1,d=!0,p=E();for(i=L(t[g])-1;g>=0;){for(i>=u?l=t[g]>>i-u&c:(l=(t[g]&(1<<i+1)-1)<<u-i,g>0&&(l|=t[g-1]>>this.DB+i-u)),a=r;0==(1&l);)l>>=1,--a;if((i-=a)<0&&(i+=this.DB,--g),d)s[l].copyTo(o),d=!1;else{for(;a>1;)n.sqrTo(o,p),n.sqrTo(p,o),a-=2;a>0?n.sqrTo(o,p):(f=o,o=p,p=f),n.mulTo(p,s[l],o)}for(;g>=0&&0==(t[g]&1<<i);)n.sqrTo(o,p),f=o,o=p,p=f,--i<0&&(i=this.DB-1,--g)}return n.revert(o)},F.prototype.modInverse=function we(t){var e=t.isEven();if(this.isEven()&&e||0==t.signum())return F.ZERO;for(var r=t.clone(),n=this.clone(),i=D(1),o=D(0),s=D(0),a=D(1);0!=r.signum();){for(;r.isEven();)r.rShiftTo(1,r),e?(i.isEven()&&o.isEven()||(i.addTo(this,i),o.subTo(t,o)),i.rShiftTo(1,i)):o.isEven()||o.subTo(t,o),o.rShiftTo(1,o);for(;n.isEven();)n.rShiftTo(1,n),e?(s.isEven()&&a.isEven()||(s.addTo(this,s),a.subTo(t,a)),s.rShiftTo(1,s)):a.isEven()||a.subTo(t,a),a.rShiftTo(1,a);r.compareTo(n)>=0?(r.subTo(n,r),e&&i.subTo(s,i),o.subTo(a,o)):(n.subTo(r,n),e&&s.subTo(i,s),a.subTo(o,a))}return 0!=n.compareTo(F.ONE)?F.ZERO:a.compareTo(t)>=0?a.subtract(t):a.signum()<0?(a.addTo(t,a),a.signum()<0?a.add(t):a):a},F.prototype.pow=function Fe(t){return this.exp(t,new K)},F.prototype.gcd=function Ee(t){var e=this.s<0?this.negate():this.clone(),r=t.s<0?t.negate():t.clone();if(e.compareTo(r)<0){var n=e;e=r,r=n}var i=e.getLowestSetBit(),o=r.getLowestSetBit();if(o<0)return e;for(i<o&&(o=i),o>0&&(e.rShiftTo(o,e),r.rShiftTo(o,r));e.signum()>0;)(i=e.getLowestSetBit())>0&&e.rShiftTo(i,e),(i=r.getLowestSetBit())>0&&r.rShiftTo(i,r),e.compareTo(r)>=0?(e.subTo(r,e),e.rShiftTo(1,e)):(r.subTo(e,r),r.rShiftTo(1,r));return o>0&&r.lShiftTo(o,r),r},F.prototype.isProbablePrime=function xe(t){var e,r=this.abs();if(1==r.t&&r[0]<=Rt[Rt.length-1]){for(e=0;e<Rt.length;++e)if(r[0]==Rt[e])return!0;return!1}if(r.isEven())return!1;for(e=1;e<Rt.length;){for(var n=Rt[e],i=e+1;i<Rt.length&&n<It;)n*=Rt[i++];for(n=r.modInt(n);e<i;)if(n%Rt[e++]==0)return!1}return r.millerRabin(t)},F.prototype.square=function Ae(){var t=E();return this.squareTo(t),t},Dt.prototype.init=function ke(t){var e,r,n;for(e=0;e<256;++e)this.S[e]=e;for(r=0,e=0;e<256;++e)r=r+this.S[e]+t[e%t.length]&255,n=this.S[e],this.S[e]=this.S[r],this.S[r]=n;this.i=0,this.j=0},Dt.prototype.next=function Pe(){var t;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,t=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=t,this.S[t+this.S[this.i]&255]};var Ce,Te,Re;\n/*! (c) Tom Wu | http://www-cs-students.stanford.edu/~tjw/jsbn/\n */function Ie(){!function t(e){Te[Re++]^=255&e,Te[Re++]^=e>>8&255,Te[Re++]^=e>>16&255,Te[Re++]^=e>>24&255,Re>=256&&(Re-=256)}((new Date).getTime())}if(null==Te){var De;if(Te=new Array,Re=0,void 0!==i&&(void 0!==i.crypto||void 0!==i.msCrypto)){var Le=i.crypto||i.msCrypto;if(Le.getRandomValues){var Ne=new Uint8Array(32);for(Le.getRandomValues(Ne),De=0;De<32;++De)Te[Re++]=Ne[De]}else if(\"Netscape\"==n.appName&&n.appVersion<\"5\"){var Ue=i.crypto.random(32);for(De=0;De<Ue.length;++De)Te[Re++]=255&Ue.charCodeAt(De)}}for(;Re<256;)De=Math.floor(65536*Math.random()),Te[Re++]=De>>>8,Te[Re++]=255&De;Re=0,Ie()}function Be(){if(null==Ce){for(Ie(),(Ce=function t(){return new Dt}()).init(Te),Re=0;Re<Te.length;++Re)Te[Re]=0;Re=0}return Ce.next()}function Oe(){}\n/*! (c) Tom Wu | http://www-cs-students.stanford.edu/~tjw/jsbn/\n */\nfunction je(t,e){return new F(t,e)}function Me(t,e,r){for(var n=\"\",i=0;n.length<e;)n+=r(String.fromCharCode.apply(String,t.concat([(4278190080&i)>>24,(16711680&i)>>16,(65280&i)>>8,255&i]))),i+=1;return n}function He(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}\n/*! (c) Tom Wu | http://www-cs-students.stanford.edu/~tjw/jsbn/\n */\nfunction Ve(t,e){this.x=e,this.q=t}function Ke(t,e,r,n){this.curve=t,this.x=e,this.y=r,this.z=null==n?F.ONE:n,this.zinv=null}function qe(t,e,r){this.q=t,this.a=this.fromBigInteger(e),this.b=this.fromBigInteger(r),this.infinity=new Ke(this,null,null)}Oe.prototype.nextBytes=function Je(t){var e;for(e=0;e<t.length;++e)t[e]=Be()},He.prototype.doPublic=function We(t){return t.modPowInt(this.e,this.n)},He.prototype.setPublic=function ze(t,e){if(this.isPublic=!0,this.isPrivate=!1,\"string\"!=typeof t)this.n=t,this.e=e;else{if(!(null!=t&&null!=e&&t.length>0&&e.length>0))throw\"Invalid RSA public key\";this.n=je(t,16),this.e=parseInt(e,16)}},He.prototype.encrypt=function Ye(t){var e=function r(t,e){if(e<t.length+11)throw\"Message too long for RSA\";for(var r=new Array,n=t.length-1;n>=0&&e>0;){var i=t.charCodeAt(n--);i<128?r[--e]=i:i>127&&i<2048?(r[--e]=63&i|128,r[--e]=i>>6|192):(r[--e]=63&i|128,r[--e]=i>>6&63|128,r[--e]=i>>12|224)}r[--e]=0;for(var o=new Oe,s=new Array;e>2;){for(s[0]=0;0==s[0];)o.nextBytes(s);r[--e]=s[0]}return r[--e]=2,r[--e]=0,new F(r)}(t,this.n.bitLength()+7>>3);if(null==e)return null;var n=this.doPublic(e);if(null==n)return null;var i=n.toString(16);return 0==(1&i.length)?i:\"0\"+i},He.prototype.encryptOAEP=function Ge(t,e,r){var n=function i(t,e,r,n){var i=br.crypto.MessageDigest,o=br.crypto.Util,s=null;if(r||(r=\"sha1\"),\"string\"==typeof r&&(s=i.getCanonicalAlgName(r),n=i.getHashLength(s),r=function t(e){return Nr(o.hashHex(Ur(e),s))}),t.length+2*n+2>e)throw\"Message too long for RSA\";var a,u=\"\";for(a=0;a<e-t.length-2*n-2;a+=1)u+=\"\\0\";var c=r(\"\")+u+\"\u0001\"+t,h=new Array(n);(new Oe).nextBytes(h);var l=Me(h,c.length,r),f=[];for(a=0;a<c.length;a+=1)f[a]=c.charCodeAt(a)^l.charCodeAt(a);var g=Me(f,h.length,r),d=[0];for(a=0;a<h.length;a+=1)d[a+1]=h[a]^g.charCodeAt(a);return new F(d.concat(f))}(t,this.n.bitLength()+7>>3,e,r);if(null==n)return null;var o=this.doPublic(n);if(null==o)return null;var s=o.toString(16);return 0==(1&s.length)?s:\"0\"+s},He.prototype.type=\"RSA\",Ve.prototype.equals=function Xe(t){return t==this||this.q.equals(t.q)&&this.x.equals(t.x)},Ve.prototype.toBigInteger=function $e(){return this.x},Ve.prototype.negate=function Qe(){return new Ve(this.q,this.x.negate().mod(this.q))},Ve.prototype.add=function Ze(t){return new Ve(this.q,this.x.add(t.toBigInteger()).mod(this.q))},Ve.prototype.subtract=function tr(t){return new Ve(this.q,this.x.subtract(t.toBigInteger()).mod(this.q))},Ve.prototype.multiply=function er(t){return new Ve(this.q,this.x.multiply(t.toBigInteger()).mod(this.q))},Ve.prototype.square=function rr(){return new Ve(this.q,this.x.square().mod(this.q))},Ve.prototype.divide=function nr(t){return new Ve(this.q,this.x.multiply(t.toBigInteger().modInverse(this.q)).mod(this.q))},Ke.prototype.getX=function ir(){return null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q)),this.curve.fromBigInteger(this.x.toBigInteger().multiply(this.zinv).mod(this.curve.q))},Ke.prototype.getY=function or(){return null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q)),this.curve.fromBigInteger(this.y.toBigInteger().multiply(this.zinv).mod(this.curve.q))},Ke.prototype.equals=function sr(t){return t==this||(this.isInfinity()?t.isInfinity():t.isInfinity()?this.isInfinity():!!t.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(t.z)).mod(this.curve.q).equals(F.ZERO)&&t.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(t.z)).mod(this.curve.q).equals(F.ZERO))},Ke.prototype.isInfinity=function ar(){return null==this.x&&null==this.y||this.z.equals(F.ZERO)&&!this.y.toBigInteger().equals(F.ZERO)},Ke.prototype.negate=function ur(){return new Ke(this.curve,this.x,this.y.negate(),this.z)},Ke.prototype.add=function cr(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var e=t.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(t.z)).mod(this.curve.q),r=t.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(t.z)).mod(this.curve.q);if(F.ZERO.equals(r))return F.ZERO.equals(e)?this.twice():this.curve.getInfinity();var n=new F(\"3\"),i=this.x.toBigInteger(),o=this.y.toBigInteger(),s=(t.x.toBigInteger(),t.y.toBigInteger(),r.square()),a=s.multiply(r),u=i.multiply(s),c=e.square().multiply(this.z),h=c.subtract(u.shiftLeft(1)).multiply(t.z).subtract(a).multiply(r).mod(this.curve.q),l=u.multiply(n).multiply(e).subtract(o.multiply(a)).subtract(c.multiply(e)).multiply(t.z).add(e.multiply(a)).mod(this.curve.q),f=a.multiply(this.z).multiply(t.z).mod(this.curve.q);return new Ke(this.curve,this.curve.fromBigInteger(h),this.curve.fromBigInteger(l),f)},Ke.prototype.twice=function hr(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var t=new F(\"3\"),e=this.x.toBigInteger(),r=this.y.toBigInteger(),n=r.multiply(this.z),i=n.multiply(r).mod(this.curve.q),o=this.curve.a.toBigInteger(),s=e.square().multiply(t);F.ZERO.equals(o)||(s=s.add(this.z.square().multiply(o)));var a=(s=s.mod(this.curve.q)).square().subtract(e.shiftLeft(3).multiply(i)).shiftLeft(1).multiply(n).mod(this.curve.q),u=s.multiply(t).multiply(e).subtract(i.shiftLeft(1)).shiftLeft(2).multiply(i).subtract(s.square().multiply(s)).mod(this.curve.q),c=n.square().multiply(n).shiftLeft(3).mod(this.curve.q);return new Ke(this.curve,this.curve.fromBigInteger(a),this.curve.fromBigInteger(u),c)},Ke.prototype.multiply=function lr(t){if(this.isInfinity())return this;if(0==t.signum())return this.curve.getInfinity();var e,r=t,n=r.multiply(new F(\"3\")),i=this.negate(),o=this,s=this.curve.q.subtract(t),a=s.multiply(new F(\"3\")),u=new Ke(this.curve,this.x,this.y),c=u.negate();for(e=n.bitLength()-2;e>0;--e){o=o.twice();var h=n.testBit(e);h!=r.testBit(e)&&(o=o.add(h?this:i))}for(e=a.bitLength()-2;e>0;--e){u=u.twice();var l=a.testBit(e);l!=s.testBit(e)&&(u=u.add(l?u:c))}return o},Ke.prototype.multiplyTwo=function fr(t,e,r){var n;n=t.bitLength()>r.bitLength()?t.bitLength()-1:r.bitLength()-1;for(var i=this.curve.getInfinity(),o=this.add(e);n>=0;)i=i.twice(),t.testBit(n)?i=r.testBit(n)?i.add(o):i.add(this):r.testBit(n)&&(i=i.add(e)),--n;return i},qe.prototype.getQ=function gr(){return this.q},qe.prototype.getA=function dr(){return this.a},qe.prototype.getB=function pr(){return this.b},qe.prototype.equals=function vr(t){return t==this||this.q.equals(t.q)&&this.a.equals(t.a)&&this.b.equals(t.b)},qe.prototype.getInfinity=function yr(){return this.infinity},qe.prototype.fromBigInteger=function mr(t){return new Ve(this.q,t)},qe.prototype.decodePointHex=function _r(t){switch(parseInt(t.substr(0,2),16)){case 0:return this.infinity;case 2:case 3:return null;case 4:case 6:case 7:var e=(t.length-2)/2,r=t.substr(2,e),n=t.substr(e+2,e);return new Ke(this,this.fromBigInteger(new F(r,16)),this.fromBigInteger(new F(n,16)));default:return null}},\n/*! (c) Stefan Thomas | https://github.com/bitcoinjs/bitcoinjs-lib\n */\nVe.prototype.getByteLength=function(){return Math.floor((this.toBigInteger().bitLength()+7)/8)},Ke.prototype.getEncoded=function(t){var e=function t(e,r){var n=e.toByteArrayUnsigned();if(r<n.length)n=n.slice(n.length-r);else for(;r>n.length;)n.unshift(0);return n},r=this.getX().toBigInteger(),n=this.getY().toBigInteger(),i=e(r,32);return t?n.isEven()?i.unshift(2):i.unshift(3):(i.unshift(4),i=i.concat(e(n,32))),i},Ke.decodeFrom=function(t,e){e[0];var r=e.length-1,n=e.slice(1,1+r/2),i=e.slice(1+r/2,1+r);n.unshift(0),i.unshift(0);var o=new F(n),s=new F(i);return new Ke(t,t.fromBigInteger(o),t.fromBigInteger(s))},Ke.decodeFromHex=function(t,e){e.substr(0,2);var r=e.length-2,n=e.substr(2,r/2),i=e.substr(2+r/2,r/2),o=new F(n,16),s=new F(i,16);return new Ke(t,t.fromBigInteger(o),t.fromBigInteger(s))},Ke.prototype.add2D=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;if(this.x.equals(t.x))return this.y.equals(t.y)?this.twice():this.curve.getInfinity();var e=t.x.subtract(this.x),r=t.y.subtract(this.y).divide(e),n=r.square().subtract(this.x).subtract(t.x),i=r.multiply(this.x.subtract(n)).subtract(this.y);return new Ke(this.curve,n,i)},Ke.prototype.twice2D=function(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var t=this.curve.fromBigInteger(F.valueOf(2)),e=this.curve.fromBigInteger(F.valueOf(3)),r=this.x.square().multiply(e).add(this.curve.a).divide(this.y.multiply(t)),n=r.square().subtract(this.x.multiply(t)),i=r.multiply(this.x.subtract(n)).subtract(this.y);return new Ke(this.curve,n,i)},Ke.prototype.multiply2D=function(t){if(this.isInfinity())return this;if(0==t.signum())return this.curve.getInfinity();var e,r=t,n=r.multiply(new F(\"3\")),i=this.negate(),o=this;for(e=n.bitLength()-2;e>0;--e){o=o.twice();var s=n.testBit(e);s!=r.testBit(e)&&(o=o.add2D(s?this:i))}return o},Ke.prototype.isOnCurve=function(){var t=this.getX().toBigInteger(),e=this.getY().toBigInteger(),r=this.curve.getA().toBigInteger(),n=this.curve.getB().toBigInteger(),i=this.curve.getQ(),o=e.multiply(e).mod(i),s=t.multiply(t).multiply(t).add(r.multiply(t)).add(n).mod(i);return o.equals(s)},Ke.prototype.toString=function(){return\"(\"+this.getX().toBigInteger().toString()+\",\"+this.getY().toBigInteger().toString()+\")\"},Ke.prototype.validate=function(){var t=this.curve.getQ();if(this.isInfinity())throw new Error(\"Point is at infinity.\");var e=this.getX().toBigInteger(),r=this.getY().toBigInteger();if(e.compareTo(F.ONE)<0||e.compareTo(t.subtract(F.ONE))>0)throw new Error(\"x coordinate out of bounds\");if(r.compareTo(F.ONE)<0||r.compareTo(t.subtract(F.ONE))>0)throw new Error(\"y coordinate out of bounds\");if(!this.isOnCurve())throw new Error(\"Point is not on the curve.\");if(this.multiply(t).isInfinity())throw new Error(\"Point is not a scalar multiple of G.\");return!0};\n/*! Mike Samuel (c) 2009 | code.google.com/p/json-sans-eval\n */\nvar Sr=function(){var t=new RegExp('(?:false|true|null|[\\\\{\\\\}\\\\[\\\\]]|(?:-?\\\\b(?:0|[1-9][0-9]*)(?:\\\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?\\\\b)|(?:\"(?:[^\\\\0-\\\\x08\\\\x0a-\\\\x1f\"\\\\\\\\]|\\\\\\\\(?:[\"/\\\\\\\\bfnrt]|u[0-9A-Fa-f]{4}))*\"))',\"g\"),e=new RegExp(\"\\\\\\\\(?:([^u])|u(.{4}))\",\"g\"),n={'\"':'\"',\"/\":\"/\",\"\\\\\":\"\\\\\",b:\"\\b\",f:\"\\f\",n:\"\\n\",r:\"\\r\",t:\"\\t\"};function i(t,e,r){return e?n[e]:String.fromCharCode(parseInt(r,16))}var o=new String(\"\"),s=Object.hasOwnProperty;return function(n,a){var u,c,h=n.match(t),l=h[0],f=!1;\"{\"===l?u={}:\"[\"===l?u=[]:(u=[],f=!0);for(var g=[u],d=1-f,p=h.length;d<p;++d){var v;switch((l=h[d]).charCodeAt(0)){default:(v=g[0])[c||v.length]=+l,c=void 0;break;case 34:if(-1!==(l=l.substring(1,l.length-1)).indexOf(\"\\\\\")&&(l=l.replace(e,i)),v=g[0],!c){if(!(v instanceof Array)){c=l||o;break}c=v.length}v[c]=l,c=void 0;break;case 91:v=g[0],g.unshift(v[c||v.length]=[]),c=void 0;break;case 93:g.shift();break;case 102:(v=g[0])[c||v.length]=!1,c=void 0;break;case 110:(v=g[0])[c||v.length]=null,c=void 0;break;case 116:(v=g[0])[c||v.length]=!0,c=void 0;break;case 123:v=g[0],g.unshift(v[c||v.length]={}),c=void 0;break;case 125:g.shift()}}if(f){if(1!==g.length)throw new Error;u=u[0]}else if(g.length)throw new Error;if(a){u=function t(e,n){var i=e[n];if(i&&\"object\"===(void 0===i?\"undefined\":r(i))){var o=null;for(var u in i)if(s.call(i,u)&&i!==e){var c=t(i,u);void 0!==c?i[u]=c:(o||(o=[]),o.push(u))}if(o)for(var h=o.length;--h>=0;)delete i[o[h]]}return a.call(e,n,i)}({\"\":u},\"\")}return u}}();void 0!==br&&br||(e.KJUR=br={}),void 0!==br.asn1&&br.asn1||(br.asn1={}),br.asn1.ASN1Util=new function(){this.integerToByteHex=function(t){var e=t.toString(16);return e.length%2==1&&(e=\"0\"+e),e},this.bigIntToMinTwosComplementsHex=function(t){var e=t.toString(16);if(\"-\"!=e.substr(0,1))e.length%2==1?e=\"0\"+e:e.match(/^[0-7]/)||(e=\"00\"+e);else{var r=e.substr(1).length;r%2==1?r+=1:e.match(/^[0-7]/)||(r+=2);for(var n=\"\",i=0;i<r;i++)n+=\"f\";e=new F(n,16).xor(t).add(F.ONE).toString(16).replace(/^-/,\"\")}return e},this.getPEMStringFromHex=function(t,e){return Mr(t,e)},this.newObject=function(t){var e=br.asn1,r=e.ASN1Object,n=e.DERBoolean,i=e.DERInteger,o=e.DERBitString,s=e.DEROctetString,a=e.DERNull,u=e.DERObjectIdentifier,c=e.DEREnumerated,h=e.DERUTF8String,l=e.DERNumericString,f=e.DERPrintableString,g=e.DERTeletexString,d=e.DERIA5String,p=e.DERUTCTime,v=e.DERGeneralizedTime,y=e.DERVisibleString,m=e.DERBMPString,_=e.DERSequence,S=e.DERSet,b=e.DERTaggedObject,w=e.ASN1Util.newObject;if(t instanceof e.ASN1Object)return t;var F=Object.keys(t);if(1!=F.length)throw new Error(\"key of param shall be only one.\");var E=F[0];if(-1==\":asn1:bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:visstr:bmpstr:seq:set:tag:\".indexOf(\":\"+E+\":\"))throw new Error(\"undefined key: \"+E);if(\"bool\"==E)return new n(t[E]);if(\"int\"==E)return new i(t[E]);if(\"bitstr\"==E)return new o(t[E]);if(\"octstr\"==E)return new s(t[E]);if(\"null\"==E)return new a(t[E]);if(\"oid\"==E)return new u(t[E]);if(\"enum\"==E)return new c(t[E]);if(\"utf8str\"==E)return new h(t[E]);if(\"numstr\"==E)return new l(t[E]);if(\"prnstr\"==E)return new f(t[E]);if(\"telstr\"==E)return new g(t[E]);if(\"ia5str\"==E)return new d(t[E]);if(\"utctime\"==E)return new p(t[E]);if(\"gentime\"==E)return new v(t[E]);if(\"visstr\"==E)return new y(t[E]);if(\"bmpstr\"==E)return new m(t[E]);if(\"asn1\"==E)return new r(t[E]);if(\"seq\"==E){for(var x=t[E],A=[],k=0;k<x.length;k++){var P=w(x[k]);A.push(P)}return new _({array:A})}if(\"set\"==E){for(x=t[E],A=[],k=0;k<x.length;k++){P=w(x[k]);A.push(P)}return new S({array:A})}if(\"tag\"==E){var C=t[E];if(\"[object Array]\"===Object.prototype.toString.call(C)&&3==C.length){var T=w(C[2]);return new b({tag:C[0],explicit:C[1],obj:T})}return new b(C)}},this.jsonToASN1HEX=function(t){return this.newObject(t).getEncodedHex()}},br.asn1.ASN1Util.oidHexToInt=function(t){for(var e=\"\",r=parseInt(t.substr(0,2),16),n=(e=Math.floor(r/40)+\".\"+r%40,\"\"),i=2;i<t.length;i+=2){var o=(\"00000000\"+parseInt(t.substr(i,2),16).toString(2)).slice(-8);if(n+=o.substr(1,7),\"0\"==o.substr(0,1))e=e+\".\"+new F(n,2).toString(10),n=\"\"}return e},br.asn1.ASN1Util.oidIntToHex=function(t){var e=function t(e){var r=e.toString(16);return 1==r.length&&(r=\"0\"+r),r},r=function t(r){var n=\"\",i=new F(r,10).toString(2),o=7-i.length%7;7==o&&(o=0);for(var s=\"\",a=0;a<o;a++)s+=\"0\";i=s+i;for(a=0;a<i.length-1;a+=7){var u=i.substr(a,7);a!=i.length-7&&(u=\"1\"+u),n+=e(parseInt(u,2))}return n};if(!t.match(/^[0-9.]+$/))throw\"malformed oid string: \"+t;var n=\"\",i=t.split(\".\"),o=40*parseInt(i[0])+parseInt(i[1]);n+=e(o),i.splice(0,2);for(var s=0;s<i.length;s++)n+=r(i[s]);return n},br.asn1.ASN1Object=function(t){this.params=null,this.getLengthHexFromValue=function(){if(void 0===this.hV||null==this.hV)throw new Error(\"this.hV is null or undefined\");if(this.hV.length%2==1)throw new Error(\"value hex must be even length: n=\"+\"\".length+\",v=\"+this.hV);var t=this.hV.length/2,e=t.toString(16);if(e.length%2==1&&(e=\"0\"+e),t<128)return e;var r=e.length/2;if(r>15)throw\"ASN.1 length too long to represent by 8x: n = \"+t.toString(16);return(128+r).toString(16)+e},this.getEncodedHex=function(){return(null==this.hTLV||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return\"\"},this.setByParam=function(t){this.params=t},null!=t&&null!=t.tlv&&(this.hTLV=t.tlv,this.isModified=!1)},br.asn1.DERAbstractString=function(t){br.asn1.DERAbstractString.superclass.constructor.call(this);this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=Dr(this.s).toLowerCase()},this.setStringHex=function(t){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&(\"string\"==typeof t?this.setString(t):void 0!==t.str?this.setString(t.str):void 0!==t.hex&&this.setStringHex(t.hex))},o.lang.extend(br.asn1.DERAbstractString,br.asn1.ASN1Object),br.asn1.DERAbstractTime=function(t){br.asn1.DERAbstractTime.superclass.constructor.call(this);this.localDateToUTC=function(t){var e=t.getTime()+6e4*t.getTimezoneOffset();return new Date(e)},this.formatDate=function(t,e,r){var n=this.zeroPadding,i=this.localDateToUTC(t),o=String(i.getFullYear());\"utc\"==e&&(o=o.substr(2,2));var s=o+n(String(i.getMonth()+1),2)+n(String(i.getDate()),2)+n(String(i.getHours()),2)+n(String(i.getMinutes()),2)+n(String(i.getSeconds()),2);if(!0===r){var a=i.getMilliseconds();if(0!=a){var u=n(String(a),3);s=s+\".\"+(u=u.replace(/[0]+$/,\"\"))}}return s+\"Z\"},this.zeroPadding=function(t,e){return t.length>=e?t:new Array(e-t.length+1).join(\"0\")+t},this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=Pr(t)},this.setByDateValue=function(t,e,r,n,i,o){var s=new Date(Date.UTC(t,e-1,r,n,i,o,0));this.setByDate(s)},this.getFreshValueHex=function(){return this.hV}},o.lang.extend(br.asn1.DERAbstractTime,br.asn1.ASN1Object),br.asn1.DERAbstractStructured=function(t){br.asn1.DERAbstractString.superclass.constructor.call(this);this.setByASN1ObjectArray=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array=t},this.appendASN1Object=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array.push(t)},this.asn1Array=new Array,void 0!==t&&void 0!==t.array&&(this.asn1Array=t.array)},o.lang.extend(br.asn1.DERAbstractStructured,br.asn1.ASN1Object),br.asn1.DERBoolean=function(t){br.asn1.DERBoolean.superclass.constructor.call(this),this.hT=\"01\",this.hTLV=0==t?\"010100\":\"0101ff\"},o.lang.extend(br.asn1.DERBoolean,br.asn1.ASN1Object),br.asn1.DERInteger=function(t){br.asn1.DERInteger.superclass.constructor.call(this),this.hT=\"02\",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=br.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){var e=new F(String(t),10);this.setByBigInteger(e)},this.setValueHex=function(t){this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&(void 0!==t.bigint?this.setByBigInteger(t.bigint):void 0!==t.int?this.setByInteger(t.int):\"number\"==typeof t?this.setByInteger(t):void 0!==t.hex&&this.setValueHex(t.hex))},o.lang.extend(br.asn1.DERInteger,br.asn1.ASN1Object),br.asn1.DERBitString=function(t){if(void 0!==t&&void 0!==t.obj){var e=br.asn1.ASN1Util.newObject(t.obj);t.hex=\"00\"+e.getEncodedHex()}br.asn1.DERBitString.superclass.constructor.call(this),this.hT=\"03\",this.setHexValueIncludingUnusedBits=function(t){this.hTLV=null,this.isModified=!0,this.hV=t},this.setUnusedBitsAndHexValue=function(t,e){if(t<0||7<t)throw\"unused bits shall be from 0 to 7: u = \"+t;var r=\"0\"+t;this.hTLV=null,this.isModified=!0,this.hV=r+e},this.setByBinaryString=function(t){var e=8-(t=t.replace(/0+$/,\"\")).length%8;8==e&&(e=0);for(var r=0;r<=e;r++)t+=\"0\";var n=\"\";for(r=0;r<t.length-1;r+=8){var i=t.substr(r,8),o=parseInt(i,2).toString(16);1==o.length&&(o=\"0\"+o),n+=o}this.hTLV=null,this.isModified=!0,this.hV=\"0\"+e+n},this.setByBooleanArray=function(t){for(var e=\"\",r=0;r<t.length;r++)1==t[r]?e+=\"1\":e+=\"0\";this.setByBinaryString(e)},this.newFalseArray=function(t){for(var e=new Array(t),r=0;r<t;r++)e[r]=!1;return e},this.getFreshValueHex=function(){return this.hV},void 0!==t&&(\"string\"==typeof t&&t.toLowerCase().match(/^[0-9a-f]+$/)?this.setHexValueIncludingUnusedBits(t):void 0!==t.hex?this.setHexValueIncludingUnusedBits(t.hex):void 0!==t.bin?this.setByBinaryString(t.bin):void 0!==t.array&&this.setByBooleanArray(t.array))},o.lang.extend(br.asn1.DERBitString,br.asn1.ASN1Object),br.asn1.DEROctetString=function(t){if(void 0!==t&&void 0!==t.obj){var e=br.asn1.ASN1Util.newObject(t.obj);t.hex=e.getEncodedHex()}br.asn1.DEROctetString.superclass.constructor.call(this,t),this.hT=\"04\"},o.lang.extend(br.asn1.DEROctetString,br.asn1.DERAbstractString),br.asn1.DERNull=function(){br.asn1.DERNull.superclass.constructor.call(this),this.hT=\"05\",this.hTLV=\"0500\"},o.lang.extend(br.asn1.DERNull,br.asn1.ASN1Object),br.asn1.DERObjectIdentifier=function(t){br.asn1.DERObjectIdentifier.superclass.constructor.call(this),this.hT=\"06\",this.setValueHex=function(t){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=t},this.setValueOidString=function(t){var e=function r(t){var e=function t(e){var r=e.toString(16);return 1==r.length&&(r=\"0\"+r),r},r=function t(r){var n=\"\",i=parseInt(r,10).toString(2),o=7-i.length%7;7==o&&(o=0);for(var s=\"\",a=0;a<o;a++)s+=\"0\";i=s+i;for(a=0;a<i.length-1;a+=7){var u=i.substr(a,7);a!=i.length-7&&(u=\"1\"+u),n+=e(parseInt(u,2))}return n};try{if(!t.match(/^[0-9.]+$/))return null;var n=\"\",i=t.split(\".\"),o=40*parseInt(i[0],10)+parseInt(i[1],10);n+=e(o),i.splice(0,2);for(var s=0;s<i.length;s++)n+=r(i[s]);return n}catch(t){return null}}(t);if(null==e)throw new Error(\"malformed oid string: \"+t);this.hTLV=null,this.isModified=!0,this.s=null,this.hV=e},this.setValueName=function(t){var e=br.asn1.x509.OID.name2oid(t);if(\"\"===e)throw new Error(\"DERObjectIdentifier oidName undefined: \"+t);this.setValueOidString(e)},this.setValueNameOrOid=function(t){t.match(/^[0-2].[0-9.]+$/)?this.setValueOidString(t):this.setValueName(t)},this.getFreshValueHex=function(){return this.hV},this.setByParam=function(t){\"string\"==typeof t?this.setValueNameOrOid(t):void 0!==t.oid?this.setValueNameOrOid(t.oid):void 0!==t.name?this.setValueNameOrOid(t.name):void 0!==t.hex&&this.setValueHex(t.hex)},void 0!==t&&this.setByParam(t)},o.lang.extend(br.asn1.DERObjectIdentifier,br.asn1.ASN1Object),br.asn1.DEREnumerated=function(t){br.asn1.DEREnumerated.superclass.constructor.call(this),this.hT=\"0a\",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=br.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){var e=new F(String(t),10);this.setByBigInteger(e)},this.setValueHex=function(t){this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&(void 0!==t.int?this.setByInteger(t.int):\"number\"==typeof t?this.setByInteger(t):void 0!==t.hex&&this.setValueHex(t.hex))},o.lang.extend(br.asn1.DEREnumerated,br.asn1.ASN1Object),br.asn1.DERUTF8String=function(t){br.asn1.DERUTF8String.superclass.constructor.call(this,t),this.hT=\"0c\"},o.lang.extend(br.asn1.DERUTF8String,br.asn1.DERAbstractString),br.asn1.DERNumericString=function(t){br.asn1.DERNumericString.superclass.constructor.call(this,t),this.hT=\"12\"},o.lang.extend(br.asn1.DERNumericString,br.asn1.DERAbstractString),br.asn1.DERPrintableString=function(t){br.asn1.DERPrintableString.superclass.constructor.call(this,t),this.hT=\"13\"},o.lang.extend(br.asn1.DERPrintableString,br.asn1.DERAbstractString),br.asn1.DERTeletexString=function(t){br.asn1.DERTeletexString.superclass.constructor.call(this,t),this.hT=\"14\"},o.lang.extend(br.asn1.DERTeletexString,br.asn1.DERAbstractString),br.asn1.DERIA5String=function(t){br.asn1.DERIA5String.superclass.constructor.call(this,t),this.hT=\"16\"},o.lang.extend(br.asn1.DERIA5String,br.asn1.DERAbstractString),br.asn1.DERVisibleString=function(t){br.asn1.DERIA5String.superclass.constructor.call(this,t),this.hT=\"1a\"},o.lang.extend(br.asn1.DERVisibleString,br.asn1.DERAbstractString),br.asn1.DERBMPString=function(t){br.asn1.DERBMPString.superclass.constructor.call(this,t),this.hT=\"1e\"},o.lang.extend(br.asn1.DERBMPString,br.asn1.DERAbstractString),br.asn1.DERUTCTime=function(t){br.asn1.DERUTCTime.superclass.constructor.call(this,t),this.hT=\"17\",this.setByDate=function(t){this.hTLV=null,this.isModified=!0,this.date=t,this.s=this.formatDate(this.date,\"utc\"),this.hV=Pr(this.s)},this.getFreshValueHex=function(){return void 0===this.date&&void 0===this.s&&(this.date=new Date,this.s=this.formatDate(this.date,\"utc\"),this.hV=Pr(this.s)),this.hV},void 0!==t&&(void 0!==t.str?this.setString(t.str):\"string\"==typeof t&&t.match(/^[0-9]{12}Z$/)?this.setString(t):void 0!==t.hex?this.setStringHex(t.hex):void 0!==t.date&&this.setByDate(t.date))},o.lang.extend(br.asn1.DERUTCTime,br.asn1.DERAbstractTime),br.asn1.DERGeneralizedTime=function(t){br.asn1.DERGeneralizedTime.superclass.constructor.call(this,t),this.hT=\"18\",this.withMillis=!1,this.setByDate=function(t){this.hTLV=null,this.isModified=!0,this.date=t,this.s=this.formatDate(this.date,\"gen\",this.withMillis),this.hV=Pr(this.s)},this.getFreshValueHex=function(){return void 0===this.date&&void 0===this.s&&(this.date=new Date,this.s=this.formatDate(this.date,\"gen\",this.withMillis),this.hV=Pr(this.s)),this.hV},void 0!==t&&(void 0!==t.str?this.setString(t.str):\"string\"==typeof t&&t.match(/^[0-9]{14}Z$/)?this.setString(t):void 0!==t.hex?this.setStringHex(t.hex):void 0!==t.date&&this.setByDate(t.date),!0===t.millis&&(this.withMillis=!0))},o.lang.extend(br.asn1.DERGeneralizedTime,br.asn1.DERAbstractTime),br.asn1.DERSequence=function(t){br.asn1.DERSequence.superclass.constructor.call(this,t),this.hT=\"30\",this.getFreshValueHex=function(){for(var t=\"\",e=0;e<this.asn1Array.length;e++){t+=this.asn1Array[e].getEncodedHex()}return this.hV=t,this.hV}},o.lang.extend(br.asn1.DERSequence,br.asn1.DERAbstractStructured),br.asn1.DERSet=function(t){br.asn1.DERSet.superclass.constructor.call(this,t),this.hT=\"31\",this.sortFlag=!0,this.getFreshValueHex=function(){for(var t=new Array,e=0;e<this.asn1Array.length;e++){var r=this.asn1Array[e];t.push(r.getEncodedHex())}return 1==this.sortFlag&&t.sort(),this.hV=t.join(\"\"),this.hV},void 0!==t&&void 0!==t.sortflag&&0==t.sortflag&&(this.sortFlag=!1)},o.lang.extend(br.asn1.DERSet,br.asn1.DERAbstractStructured),br.asn1.DERTaggedObject=function(t){br.asn1.DERTaggedObject.superclass.constructor.call(this);var e=br.asn1;this.hT=\"a0\",this.hV=\"\",this.isExplicit=!0,this.asn1Object=null,this.setASN1Object=function(t,e,r){this.hT=e,this.isExplicit=t,this.asn1Object=r,this.isExplicit?(this.hV=this.asn1Object.getEncodedHex(),this.hTLV=null,this.isModified=!0):(this.hV=null,this.hTLV=r.getEncodedHex(),this.hTLV=this.hTLV.replace(/^../,e),this.isModified=!1)},this.getFreshValueHex=function(){return this.hV},this.setByParam=function(t){null!=t.tag&&(this.hT=t.tag),null!=t.explicit&&(this.isExplicit=t.explicit),null!=t.tage&&(this.hT=t.tage,this.isExplicit=!0),null!=t.tagi&&(this.hT=t.tagi,this.isExplicit=!1),null!=t.obj&&(t.obj instanceof e.ASN1Object?(this.asn1Object=t.obj,this.setASN1Object(this.isExplicit,this.hT,this.asn1Object)):\"object\"==r(t.obj)&&(this.asn1Object=e.ASN1Util.newObject(t.obj),this.setASN1Object(this.isExplicit,this.hT,this.asn1Object)))},null!=t&&this.setByParam(t)},o.lang.extend(br.asn1.DERTaggedObject,br.asn1.ASN1Object);var br,wr,Fr,Er=new function(){};function xr(t){for(var e=new Array,r=0;r<t.length;r++)e[r]=t.charCodeAt(r);return e}function Ar(t){for(var e=\"\",r=0;r<t.length;r++)e+=String.fromCharCode(t[r]);return e}function kr(t){for(var e=\"\",r=0;r<t.length;r++){var n=t[r].toString(16);1==n.length&&(n=\"0\"+n),e+=n}return e}function Pr(t){return kr(xr(t))}function Cr(t){return t=(t=(t=t.replace(/\\=/g,\"\")).replace(/\\+/g,\"-\")).replace(/\\//g,\"_\")}function Tr(t){return t.length%4==2?t+=\"==\":t.length%4==3&&(t+=\"=\"),t=(t=t.replace(/-/g,\"+\")).replace(/_/g,\"/\")}function Rr(t){return t.length%2==1&&(t=\"0\"+t),Cr(S(t))}function Ir(t){return b(Tr(t))}function Dr(t){return qr(Gr(t))}function Lr(t){return decodeURIComponent(Jr(t))}function Nr(t){for(var e=\"\",r=0;r<t.length-1;r+=2)e+=String.fromCharCode(parseInt(t.substr(r,2),16));return e}function Ur(t){for(var e=\"\",r=0;r<t.length;r++)e+=(\"0\"+t.charCodeAt(r).toString(16)).slice(-2);return e}function Br(t){return S(t)}function Or(t){var e=Br(t).replace(/(.{64})/g,\"$1\\r\\n\");return e=e.replace(/\\r\\n$/,\"\")}function jr(t){return b(t.replace(/[^0-9A-Za-z\\/+=]*/g,\"\"))}function Mr(t,e){return\"-----BEGIN \"+e+\"-----\\r\\n\"+Or(t)+\"\\r\\n-----END \"+e+\"-----\\r\\n\"}function Hr(t,e){if(-1==t.indexOf(\"-----BEGIN \"))throw\"can't find PEM header: \"+e;return jr(t=void 0!==e?(t=t.replace(new RegExp(\"^[^]*-----BEGIN \"+e+\"-----\"),\"\")).replace(new RegExp(\"-----END \"+e+\"-----[^]*$\"),\"\"):(t=t.replace(/^[^]*-----BEGIN [^-]+-----/,\"\")).replace(/-----END [^-]+-----[^]*$/,\"\"))}function Vr(t){var e,r,n,i,o,s,a,u,c,h,l;if(l=t.match(/^(\\d{2}|\\d{4})(\\d\\d)(\\d\\d)(\\d\\d)(\\d\\d)(\\d\\d)(|\\.\\d+)Z$/))return u=l[1],e=parseInt(u),2===u.length&&(50<=e&&e<100?e=1900+e:0<=e&&e<50&&(e=2e3+e)),r=parseInt(l[2])-1,n=parseInt(l[3]),i=parseInt(l[4]),o=parseInt(l[5]),s=parseInt(l[6]),a=0,\"\"!==(c=l[7])&&(h=(c.substr(1)+\"00\").substr(0,3),a=parseInt(h)),Date.UTC(e,r,n,i,o,s,a);throw\"unsupported zulu format: \"+t}function Kr(t){return~~(Vr(t)/1e3)}function qr(t){return t.replace(/%/g,\"\")}function Jr(t){return t.replace(/(..)/g,\"%$1\")}function Wr(t){var e=\"malformed IPv6 address\";if(!t.match(/^[0-9A-Fa-f:]+$/))throw e;var r=(t=t.toLowerCase()).split(\":\").length-1;if(r<2)throw e;var n=\":\".repeat(7-r+2),i=(t=t.replace(\"::\",n)).split(\":\");if(8!=i.length)throw e;for(var o=0;o<8;o++)i[o]=(\"0000\"+i[o]).slice(-4);return i.join(\"\")}function zr(t){if(!t.match(/^[0-9A-Fa-f]{32}$/))throw\"malformed IPv6 address octet\";for(var e=(t=t.toLowerCase()).match(/.{1,4}/g),r=0;r<8;r++)e[r]=e[r].replace(/^0+/,\"\"),\"\"==e[r]&&(e[r]=\"0\");var n=(t=\":\"+e.join(\":\")+\":\").match(/:(0:){2,}/g);if(null===n)return t.slice(1,-1);var i=\"\";for(r=0;r<n.length;r++)n[r].length>i.length&&(i=n[r]);return(t=t.replace(i,\"::\")).slice(1,-1)}function Yr(t){var e=\"malformed hex value\";if(!t.match(/^([0-9A-Fa-f][0-9A-Fa-f]){1,}$/))throw e;if(8!=t.length)return 32==t.length?zr(t):t;try{return parseInt(t.substr(0,2),16)+\".\"+parseInt(t.substr(2,2),16)+\".\"+parseInt(t.substr(4,2),16)+\".\"+parseInt(t.substr(6,2),16)}catch(t){throw e}}function Gr(t){for(var e=encodeURIComponent(t),r=\"\",n=0;n<e.length;n++)\"%\"==e[n]?(r+=e.substr(n,3),n+=2):r=r+\"%\"+Pr(e[n]);return r}function Xr(t){return!(t.length%2!=0||!t.match(/^[0-9a-f]+$/)&&!t.match(/^[0-9A-F]+$/))}function $r(t){return t.length%2==1?\"0\"+t:t.substr(0,1)>\"7\"?\"00\"+t:t}Er.getLblen=function(t,e){if(\"8\"!=t.substr(e+2,1))return 1;var r=parseInt(t.substr(e+3,1));return 0==r?-1:0<r&&r<10?r+1:-2},Er.getL=function(t,e){var r=Er.getLblen(t,e);return r<1?\"\":t.substr(e+2,2*r)},Er.getVblen=function(t,e){var r;return\"\"==(r=Er.getL(t,e))?-1:(\"8\"===r.substr(0,1)?new F(r.substr(2),16):new F(r,16)).intValue()},Er.getVidx=function(t,e){var r=Er.getLblen(t,e);return r<0?r:e+2*(r+1)},Er.getV=function(t,e){var r=Er.getVidx(t,e),n=Er.getVblen(t,e);return t.substr(r,2*n)},Er.getTLV=function(t,e){return t.substr(e,2)+Er.getL(t,e)+Er.getV(t,e)},Er.getTLVblen=function(t,e){return 2+2*Er.getLblen(t,e)+2*Er.getVblen(t,e)},Er.getNextSiblingIdx=function(t,e){return Er.getVidx(t,e)+2*Er.getVblen(t,e)},Er.getChildIdx=function(t,e){var r,n,i,o=Er,s=[];r=o.getVidx(t,e),n=2*o.getVblen(t,e),\"03\"==t.substr(e,2)&&(r+=2,n-=2),i=0;for(var a=r;i<=n;){var u=o.getTLVblen(t,a);if((i+=u)<=n&&s.push(a),a+=u,i>=n)break}return s},Er.getNthChildIdx=function(t,e,r){return Er.getChildIdx(t,e)[r]},Er.getIdxbyList=function(t,e,r,n){var i,o,s=Er;return 0==r.length?void 0!==n&&t.substr(e,2)!==n?-1:e:(i=r.shift())>=(o=s.getChildIdx(t,e)).length?-1:s.getIdxbyList(t,o[i],r,n)},Er.getIdxbyListEx=function(t,e,r,n){var i,o,s=Er;if(0==r.length)return void 0!==n&&t.substr(e,2)!==n?-1:e;i=r.shift(),o=s.getChildIdx(t,e);for(var a=0,u=0;u<o.length;u++){var c=t.substr(o[u],2);if(\"number\"==typeof i&&!s.isContextTag(c)&&a==i||\"string\"==typeof i&&s.isContextTag(c,i))return s.getIdxbyListEx(t,o[u],r,n);s.isContextTag(c)||a++}return-1},Er.getTLVbyList=function(t,e,r,n){var i=Er,o=i.getIdxbyList(t,e,r,n);return-1==o||o>=t.length?null:i.getTLV(t,o)},Er.getTLVbyListEx=function(t,e,r,n){var i=Er,o=i.getIdxbyListEx(t,e,r,n);return-1==o?null:i.getTLV(t,o)},Er.getVbyList=function(t,e,r,n,i){var o,s,a=Er;return-1==(o=a.getIdxbyList(t,e,r,n))||o>=t.length?null:(s=a.getV(t,o),!0===i&&(s=s.substr(2)),s)},Er.getVbyListEx=function(t,e,r,n,i){var o,s,a=Er;return-1==(o=a.getIdxbyListEx(t,e,r,n))?null:(s=a.getV(t,o),\"03\"==t.substr(o,2)&&!1!==i&&(s=s.substr(2)),s)},Er.getInt=function(t,e,r){null==r&&(r=-1);try{var n=t.substr(e,2);if(\"02\"!=n&&\"03\"!=n)return r;var i=Er.getV(t,e);return\"02\"==n?parseInt(i,16):function o(t){try{var e=t.substr(0,2);if(\"00\"==e)return parseInt(t.substr(2),16);var r=parseInt(e,16),n=t.substr(2),i=parseInt(n,16).toString(2);return\"0\"==i&&(i=\"00000000\"),i=i.slice(0,0-r),parseInt(i,2)}catch(t){return-1}}(i)}catch(t){return r}},Er.getOID=function(t,e,r){null==r&&(r=null);try{return\"06\"!=t.substr(e,2)?r:function n(t){if(!Xr(t))return null;try{var e=[],r=t.substr(0,2),n=parseInt(r,16);e[0]=new String(Math.floor(n/40)),e[1]=new String(n%40);for(var i=t.substr(2),o=[],s=0;s<i.length/2;s++)o.push(parseInt(i.substr(2*s,2),16));var a=[],u=\"\";for(s=0;s<o.length;s++)128&o[s]?u+=Qr((127&o[s]).toString(2),7):(u+=Qr((127&o[s]).toString(2),7),a.push(new String(parseInt(u,2))),u=\"\");var c=e.join(\".\");return a.length>0&&(c=c+\".\"+a.join(\".\")),c}catch(t){return null}}(Er.getV(t,e))}catch(t){return r}},Er.getOIDName=function(t,e,r){null==r&&(r=null);try{var n=Er.getOID(t,e,r);if(n==r)return r;var i=br.asn1.x509.OID.oid2name(n);return\"\"==i?n:i}catch(t){return r}},Er.getString=function(t,e,r){null==r&&(r=null);try{return Nr(Er.getV(t,e))}catch(t){return r}},Er.hextooidstr=function(t){var e=function t(e,r){return e.length>=r?e:new Array(r-e.length+1).join(\"0\")+e},r=[],n=t.substr(0,2),i=parseInt(n,16);r[0]=new String(Math.floor(i/40)),r[1]=new String(i%40);for(var o=t.substr(2),s=[],a=0;a<o.length/2;a++)s.push(parseInt(o.substr(2*a,2),16));var u=[],c=\"\";for(a=0;a<s.length;a++)128&s[a]?c+=e((127&s[a]).toString(2),7):(c+=e((127&s[a]).toString(2),7),u.push(new String(parseInt(c,2))),c=\"\");var h=r.join(\".\");return u.length>0&&(h=h+\".\"+u.join(\".\")),h},Er.dump=function(t,e,r,n){var i=Er,o=i.getV,s=i.dump,a=i.getChildIdx,u=t;t instanceof br.asn1.ASN1Object&&(u=t.getEncodedHex());var c=function t(e,r){return e.length<=2*r?e:e.substr(0,r)+\"..(total \"+e.length/2+\"bytes)..\"+e.substr(e.length-r,r)};void 0===e&&(e={ommit_long_octet:32}),void 0===r&&(r=0),void 0===n&&(n=\"\");var h,l=e.ommit_long_octet;if(\"01\"==(h=u.substr(r,2)))return\"00\"==(f=o(u,r))?n+\"BOOLEAN FALSE\\n\":n+\"BOOLEAN TRUE\\n\";if(\"02\"==h)return n+\"INTEGER \"+c(f=o(u,r),l)+\"\\n\";if(\"03\"==h){var f=o(u,r);if(i.isASN1HEX(f.substr(2))){var g=n+\"BITSTRING, encapsulates\\n\";return g+=s(f.substr(2),e,0,n+\" \")}return n+\"BITSTRING \"+c(f,l)+\"\\n\"}if(\"04\"==h){f=o(u,r);if(i.isASN1HEX(f)){g=n+\"OCTETSTRING, encapsulates\\n\";return g+=s(f,e,0,n+\" \")}return n+\"OCTETSTRING \"+c(f,l)+\"\\n\"}if(\"05\"==h)return n+\"NULL\\n\";if(\"06\"==h){var d=o(u,r),p=br.asn1.ASN1Util.oidHexToInt(d),v=br.asn1.x509.OID.oid2name(p),y=p.replace(/\\./g,\" \");return\"\"!=v?n+\"ObjectIdentifier \"+v+\" (\"+y+\")\\n\":n+\"ObjectIdentifier (\"+y+\")\\n\"}if(\"0a\"==h)return n+\"ENUMERATED \"+parseInt(o(u,r))+\"\\n\";if(\"0c\"==h)return n+\"UTF8String '\"+Lr(o(u,r))+\"'\\n\";if(\"13\"==h)return n+\"PrintableString '\"+Lr(o(u,r))+\"'\\n\";if(\"14\"==h)return n+\"TeletexString '\"+Lr(o(u,r))+\"'\\n\";if(\"16\"==h)return n+\"IA5String '\"+Lr(o(u,r))+\"'\\n\";if(\"17\"==h)return n+\"UTCTime \"+Lr(o(u,r))+\"\\n\";if(\"18\"==h)return n+\"GeneralizedTime \"+Lr(o(u,r))+\"\\n\";if(\"1a\"==h)return n+\"VisualString '\"+Lr(o(u,r))+\"'\\n\";if(\"1e\"==h)return n+\"BMPString '\"+Lr(o(u,r))+\"'\\n\";if(\"30\"==h){if(\"3000\"==u.substr(r,4))return n+\"SEQUENCE {}\\n\";g=n+\"SEQUENCE\\n\";var m=e;if((2==(b=a(u,r)).length||3==b.length)&&\"06\"==u.substr(b[0],2)&&\"04\"==u.substr(b[b.length-1],2)){v=i.oidname(o(u,b[0]));var _=JSON.parse(JSON.stringify(e));_.x509ExtName=v,m=_}for(var S=0;S<b.length;S++)g+=s(u,m,b[S],n+\" \");return g}if(\"31\"==h){g=n+\"SET\\n\";var b=a(u,r);for(S=0;S<b.length;S++)g+=s(u,e,b[S],n+\" \");return g}if(0!=(128&(h=parseInt(h,16)))){var w=31&h;if(0!=(32&h)){for(g=n+\"[\"+w+\"]\\n\",b=a(u,r),S=0;S<b.length;S++)g+=s(u,e,b[S],n+\" \");return g}f=o(u,r);if(Er.isASN1HEX(f)){var g=n+\"[\"+w+\"]\\n\";return g+=s(f,e,0,n+\" \")}return(\"68747470\"==f.substr(0,8)||\"subjectAltName\"===e.x509ExtName&&2==w)&&(f=Lr(f)),g=n+\"[\"+w+\"] \"+f+\"\\n\"}return n+\"UNKNOWN(\"+h+\") \"+o(u,r)+\"\\n\"},Er.isContextTag=function(t,e){var r,n;t=t.toLowerCase();try{r=parseInt(t,16)}catch(t){return-1}if(void 0===e)return 128==(192&r);try{return null!=e.match(/^\\[[0-9]+\\]$/)&&(!((n=parseInt(e.substr(1,e.length-1),10))>31)&&(128==(192&r)&&(31&r)==n))}catch(t){return!1}},Er.isASN1HEX=function(t){var e=Er;if(t.length%2==1)return!1;var r=e.getVblen(t,0),n=t.substr(0,2),i=e.getL(t,0);return t.length-n.length-i.length==2*r},Er.checkStrictDER=function(t,e,r,n,i){var o=Er;if(void 0===r){if(\"string\"!=typeof t)throw new Error(\"not hex string\");if(t=t.toLowerCase(),!br.lang.String.isHex(t))throw new Error(\"not hex string\");r=t.length,i=(n=t.length/2)<128?1:Math.ceil(n.toString(16))+1}if(o.getL(t,e).length>2*i)throw new Error(\"L of TLV too long: idx=\"+e);var s=o.getVblen(t,e);if(s>n)throw new Error(\"value of L too long than hex: idx=\"+e);var a=o.getTLV(t,e),u=a.length-2-o.getL(t,e).length;if(u!==2*s)throw new Error(\"V string length and L's value not the same:\"+u+\"/\"+2*s);if(0===e&&t.length!=a.length)throw new Error(\"total length and TLV length unmatch:\"+t.length+\"!=\"+a.length);var c=t.substr(e,2);if(\"02\"===c){var h=o.getVidx(t,e);if(\"00\"==t.substr(h,2)&&t.charCodeAt(h+2)<56)throw new Error(\"not least zeros for DER INTEGER\")}if(32&parseInt(c,16)){for(var l=o.getVblen(t,e),f=0,g=o.getChildIdx(t,e),d=0;d<g.length;d++){f+=o.getTLV(t,g[d]).length,o.checkStrictDER(t,g[d],r,n,i)}if(2*l!=f)throw new Error(\"sum of children's TLV length and L unmatch: \"+2*l+\"!=\"+f)}},Er.oidname=function(t){var e=br.asn1;br.lang.String.isHex(t)&&(t=e.ASN1Util.oidHexToInt(t));var r=e.x509.OID.oid2name(t);return\"\"===r&&(r=t),r},void 0!==br&&br||(e.KJUR=br={}),void 0!==br.lang&&br.lang||(br.lang={}),br.lang.String=function(){},\"function\"==typeof t?(e.utf8tob64u=wr=function e(r){return Cr(t.from(r,\"utf8\").toString(\"base64\"))},e.b64utoutf8=Fr=function e(r){return t.from(Tr(r),\"base64\").toString(\"utf8\")}):(e.utf8tob64u=wr=function t(e){return Rr(qr(Gr(e)))},e.b64utoutf8=Fr=function t(e){return decodeURIComponent(Jr(Ir(e)))}),br.lang.String.isInteger=function(t){return!!t.match(/^[0-9]+$/)||!!t.match(/^-[0-9]+$/)},br.lang.String.isHex=function(t){return Xr(t)},br.lang.String.isBase64=function(t){return!(!(t=t.replace(/\\s+/g,\"\")).match(/^[0-9A-Za-z+\\/]+={0,3}$/)||t.length%4!=0)},br.lang.String.isBase64URL=function(t){return!t.match(/[+/=]/)&&(t=Tr(t),br.lang.String.isBase64(t))},br.lang.String.isIntegerArray=function(t){return!!(t=t.replace(/\\s+/g,\"\")).match(/^\\[[0-9,]+\\]$/)},br.lang.String.isPrintable=function(t){return null!==t.match(/^[0-9A-Za-z '()+,-./:=?]*$/)},br.lang.String.isIA5=function(t){return null!==t.match(/^[\\x20-\\x21\\x23-\\x7f]*$/)},br.lang.String.isMail=function(t){return null!==t.match(/^[A-Za-z0-9]{1}[A-Za-z0-9_.-]*@{1}[A-Za-z0-9_.-]{1,}\\.[A-Za-z0-9]{1,}$/)};var Qr=function t(e,r,n){return null==n&&(n=\"0\"),e.length>=r?e:new Array(r-e.length+1).join(n)+e};void 0!==br&&br||(e.KJUR=br={}),void 0!==br.crypto&&br.crypto||(br.crypto={}),br.crypto.Util=new function(){this.DIGESTINFOHEAD={sha1:\"3021300906052b0e03021a05000414\",sha224:\"302d300d06096086480165030402040500041c\",sha256:\"3031300d060960864801650304020105000420\",sha384:\"3041300d060960864801650304020205000430\",sha512:\"3051300d060960864801650304020305000440\",md2:\"3020300c06082a864886f70d020205000410\",md5:\"3020300c06082a864886f70d020505000410\",ripemd160:\"3021300906052b2403020105000414\"},this.DEFAULTPROVIDER={md5:\"cryptojs\",sha1:\"cryptojs\",sha224:\"cryptojs\",sha256:\"cryptojs\",sha384:\"cryptojs\",sha512:\"cryptojs\",ripemd160:\"cryptojs\",hmacmd5:\"cryptojs\",hmacsha1:\"cryptojs\",hmacsha224:\"cryptojs\",hmacsha256:\"cryptojs\",hmacsha384:\"cryptojs\",hmacsha512:\"cryptojs\",hmacripemd160:\"cryptojs\",MD5withRSA:\"cryptojs/jsrsa\",SHA1withRSA:\"cryptojs/jsrsa\",SHA224withRSA:\"cryptojs/jsrsa\",SHA256withRSA:\"cryptojs/jsrsa\",SHA384withRSA:\"cryptojs/jsrsa\",SHA512withRSA:\"cryptojs/jsrsa\",RIPEMD160withRSA:\"cryptojs/jsrsa\",MD5withECDSA:\"cryptojs/jsrsa\",SHA1withECDSA:\"cryptojs/jsrsa\",SHA224withECDSA:\"cryptojs/jsrsa\",SHA256withECDSA:\"cryptojs/jsrsa\",SHA384withECDSA:\"cryptojs/jsrsa\",SHA512withECDSA:\"cryptojs/jsrsa\",RIPEMD160withECDSA:\"cryptojs/jsrsa\",SHA1withDSA:\"cryptojs/jsrsa\",SHA224withDSA:\"cryptojs/jsrsa\",SHA256withDSA:\"cryptojs/jsrsa\",MD5withRSAandMGF1:\"cryptojs/jsrsa\",SHAwithRSAandMGF1:\"cryptojs/jsrsa\",SHA1withRSAandMGF1:\"cryptojs/jsrsa\",SHA224withRSAandMGF1:\"cryptojs/jsrsa\",SHA256withRSAandMGF1:\"cryptojs/jsrsa\",SHA384withRSAandMGF1:\"cryptojs/jsrsa\",SHA512withRSAandMGF1:\"cryptojs/jsrsa\",RIPEMD160withRSAandMGF1:\"cryptojs/jsrsa\"},this.CRYPTOJSMESSAGEDIGESTNAME={md5:y.algo.MD5,sha1:y.algo.SHA1,sha224:y.algo.SHA224,sha256:y.algo.SHA256,sha384:y.algo.SHA384,sha512:y.algo.SHA512,ripemd160:y.algo.RIPEMD160},this.getDigestInfoHex=function(t,e){if(void 0===this.DIGESTINFOHEAD[e])throw\"alg not supported in Util.DIGESTINFOHEAD: \"+e;return this.DIGESTINFOHEAD[e]+t},this.getPaddedDigestInfoHex=function(t,e,r){var n=this.getDigestInfoHex(t,e),i=r/4;if(n.length+22>i)throw\"key is too short for SigAlg: keylen=\"+r+\",\"+e;for(var o=\"0001\",s=\"00\"+n,a=\"\",u=i-o.length-s.length,c=0;c<u;c+=2)a+=\"ff\";return o+a+s},this.hashString=function(t,e){return new br.crypto.MessageDigest({alg:e}).digestString(t)},this.hashHex=function(t,e){return new br.crypto.MessageDigest({alg:e}).digestHex(t)},this.sha1=function(t){return this.hashString(t,\"sha1\")},this.sha256=function(t){return this.hashString(t,\"sha256\")},this.sha256Hex=function(t){return this.hashHex(t,\"sha256\")},this.sha512=function(t){return this.hashString(t,\"sha512\")},this.sha512Hex=function(t){return this.hashHex(t,\"sha512\")},this.isKey=function(t){return t instanceof He||t instanceof br.crypto.DSA||t instanceof br.crypto.ECDSA}},br.crypto.Util.md5=function(t){return new br.crypto.MessageDigest({alg:\"md5\",prov:\"cryptojs\"}).digestString(t)},br.crypto.Util.ripemd160=function(t){return new br.crypto.MessageDigest({alg:\"ripemd160\",prov:\"cryptojs\"}).digestString(t)},br.crypto.Util.SECURERANDOMGEN=new Oe,br.crypto.Util.getRandomHexOfNbytes=function(t){var e=new Array(t);return br.crypto.Util.SECURERANDOMGEN.nextBytes(e),kr(e)},br.crypto.Util.getRandomBigIntegerOfNbytes=function(t){return new F(br.crypto.Util.getRandomHexOfNbytes(t),16)},br.crypto.Util.getRandomHexOfNbits=function(t){var e=t%8,r=new Array((t-e)/8+1);return br.crypto.Util.SECURERANDOMGEN.nextBytes(r),r[0]=(255<<e&255^255)&r[0],kr(r)},br.crypto.Util.getRandomBigIntegerOfNbits=function(t){return new F(br.crypto.Util.getRandomHexOfNbits(t),16)},br.crypto.Util.getRandomBigIntegerZeroToMax=function(t){for(var e=t.bitLength();;){var r=br.crypto.Util.getRandomBigIntegerOfNbits(e);if(-1!=t.compareTo(r))return r}},br.crypto.Util.getRandomBigIntegerMinToMax=function(t,e){var r=t.compareTo(e);if(1==r)throw\"biMin is greater than biMax\";if(0==r)return t;var n=e.subtract(t);return br.crypto.Util.getRandomBigIntegerZeroToMax(n).add(t)},br.crypto.MessageDigest=function(t){this.setAlgAndProvider=function(t,e){if(null!==(t=br.crypto.MessageDigest.getCanonicalAlgName(t))&&void 0===e&&(e=br.crypto.Util.DEFAULTPROVIDER[t]),-1!=\":md5:sha1:sha224:sha256:sha384:sha512:ripemd160:\".indexOf(t)&&\"cryptojs\"==e){try{this.md=br.crypto.Util.CRYPTOJSMESSAGEDIGESTNAME[t].create()}catch(e){throw\"setAlgAndProvider hash alg set fail alg=\"+t+\"/\"+e}this.updateString=function(t){this.md.update(t)},this.updateHex=function(t){var e=y.enc.Hex.parse(t);this.md.update(e)},this.digest=function(){return this.md.finalize().toString(y.enc.Hex)},this.digestString=function(t){return this.updateString(t),this.digest()},this.digestHex=function(t){return this.updateHex(t),this.digest()}}if(-1!=\":sha256:\".indexOf(t)&&\"sjcl\"==e){try{this.md=new sjcl.hash.sha256}catch(e){throw\"setAlgAndProvider hash alg set fail alg=\"+t+\"/\"+e}this.updateString=function(t){this.md.update(t)},this.updateHex=function(t){var e=sjcl.codec.hex.toBits(t);this.md.update(e)},this.digest=function(){var t=this.md.finalize();return sjcl.codec.hex.fromBits(t)},this.digestString=function(t){return this.updateString(t),this.digest()},this.digestHex=function(t){return this.updateHex(t),this.digest()}}},this.updateString=function(t){throw\"updateString(str) not supported for this alg/prov: \"+this.algName+\"/\"+this.provName},this.updateHex=function(t){throw\"updateHex(hex) not supported for this alg/prov: \"+this.algName+\"/\"+this.provName},this.digest=function(){throw\"digest() not supported for this alg/prov: \"+this.algName+\"/\"+this.provName},this.digestString=function(t){throw\"digestString(str) not supported for this alg/prov: \"+this.algName+\"/\"+this.provName},this.digestHex=function(t){throw\"digestHex(hex) not supported for this alg/prov: \"+this.algName+\"/\"+this.provName},void 0!==t&&void 0!==t.alg&&(this.algName=t.alg,void 0===t.prov&&(this.provName=br.crypto.Util.DEFAULTPROVIDER[this.algName]),this.setAlgAndProvider(this.algName,this.provName))},br.crypto.MessageDigest.getCanonicalAlgName=function(t){return\"string\"==typeof t&&(t=(t=t.toLowerCase()).replace(/-/,\"\")),t},br.crypto.MessageDigest.getHashLength=function(t){var e=br.crypto.MessageDigest,r=e.getCanonicalAlgName(t);if(void 0===e.HASHLENGTH[r])throw\"not supported algorithm: \"+t;return e.HASHLENGTH[r]},br.crypto.MessageDigest.HASHLENGTH={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,ripemd160:20},br.crypto.Mac=function(t){this.setAlgAndProvider=function(t,e){if(null==(t=t.toLowerCase())&&(t=\"hmacsha1\"),\"hmac\"!=(t=t.toLowerCase()).substr(0,4))throw\"setAlgAndProvider unsupported HMAC alg: \"+t;void 0===e&&(e=br.crypto.Util.DEFAULTPROVIDER[t]),this.algProv=t+\"/\"+e;var r=t.substr(4);if(-1!=\":md5:sha1:sha224:sha256:sha384:sha512:ripemd160:\".indexOf(r)&&\"cryptojs\"==e){try{var n=br.crypto.Util.CRYPTOJSMESSAGEDIGESTNAME[r];this.mac=y.algo.HMAC.create(n,this.pass)}catch(t){throw\"setAlgAndProvider hash alg set fail hashAlg=\"+r+\"/\"+t}this.updateString=function(t){this.mac.update(t)},this.updateHex=function(t){var e=y.enc.Hex.parse(t);this.mac.update(e)},this.doFinal=function(){return this.mac.finalize().toString(y.enc.Hex)},this.doFinalString=function(t){return this.updateString(t),this.doFinal()},this.doFinalHex=function(t){return this.updateHex(t),this.doFinal()}}},this.updateString=function(t){throw\"updateString(str) not supported for this alg/prov: \"+this.algProv},this.updateHex=function(t){throw\"updateHex(hex) not supported for this alg/prov: \"+this.algProv},this.doFinal=function(){throw\"digest() not supported for this alg/prov: \"+this.algProv},this.doFinalString=function(t){throw\"digestString(str) not supported for this alg/prov: \"+this.algProv},this.doFinalHex=function(t){throw\"digestHex(hex) not supported for this alg/prov: \"+this.algProv},this.setPassword=function(t){if(\"string\"==typeof t){var e=t;return t.length%2!=1&&t.match(/^[0-9A-Fa-f]+$/)||(e=Ur(t)),void(this.pass=y.enc.Hex.parse(e))}if(\"object\"!=(void 0===t?\"undefined\":r(t)))throw\"KJUR.crypto.Mac unsupported password type: \"+t;e=null;if(void 0!==t.hex){if(t.hex.length%2!=0||!t.hex.match(/^[0-9A-Fa-f]+$/))throw\"Mac: wrong hex password: \"+t.hex;e=t.hex}if(void 0!==t.utf8&&(e=Dr(t.utf8)),void 0!==t.rstr&&(e=Ur(t.rstr)),void 0!==t.b64&&(e=b(t.b64)),void 0!==t.b64u&&(e=Ir(t.b64u)),null==e)throw\"KJUR.crypto.Mac unsupported password type: \"+t;this.pass=y.enc.Hex.parse(e)},void 0!==t&&(void 0!==t.pass&&this.setPassword(t.pass),void 0!==t.alg&&(this.algName=t.alg,void 0===t.prov&&(this.provName=br.crypto.Util.DEFAULTPROVIDER[this.algName]),this.setAlgAndProvider(this.algName,this.provName)))},br.crypto.Signature=function(t){var e=null;if(this._setAlgNames=function(){var t=this.algName.match(/^(.+)with(.+)$/);t&&(this.mdAlgName=t[1].toLowerCase(),this.pubkeyAlgName=t[2].toLowerCase(),\"rsaandmgf1\"==this.pubkeyAlgName&&\"sha\"==this.mdAlgName&&(this.mdAlgName=\"sha1\"))},this._zeroPaddingOfSignature=function(t,e){for(var r=\"\",n=e/4-t.length,i=0;i<n;i++)r+=\"0\";return r+t},this.setAlgAndProvider=function(t,e){if(this._setAlgNames(),\"cryptojs/jsrsa\"!=e)throw new Error(\"provider not supported: \"+e);if(-1!=\":md5:sha1:sha224:sha256:sha384:sha512:ripemd160:\".indexOf(this.mdAlgName)){try{this.md=new br.crypto.MessageDigest({alg:this.mdAlgName})}catch(t){throw new Error(\"setAlgAndProvider hash alg set fail alg=\"+this.mdAlgName+\"/\"+t)}this.init=function(t,e){var r=null;try{r=void 0===e?Zr.getKey(t):Zr.getKey(t,e)}catch(t){throw\"init failed:\"+t}if(!0===r.isPrivate)this.prvKey=r,this.state=\"SIGN\";else{if(!0!==r.isPublic)throw\"init failed.:\"+r;this.pubKey=r,this.state=\"VERIFY\"}},this.updateString=function(t){this.md.updateString(t)},this.updateHex=function(t){this.md.updateHex(t)},this.sign=function(){if(this.sHashHex=this.md.digest(),void 0===this.prvKey&&void 0!==this.ecprvhex&&void 0!==this.eccurvename&&void 0!==br.crypto.ECDSA&&(this.prvKey=new br.crypto.ECDSA({curve:this.eccurvename,prv:this.ecprvhex})),this.prvKey instanceof He&&\"rsaandmgf1\"===this.pubkeyAlgName)this.hSign=this.prvKey.signWithMessageHashPSS(this.sHashHex,this.mdAlgName,this.pssSaltLen);else if(this.prvKey instanceof He&&\"rsa\"===this.pubkeyAlgName)this.hSign=this.prvKey.signWithMessageHash(this.sHashHex,this.mdAlgName);else if(this.prvKey instanceof br.crypto.ECDSA)this.hSign=this.prvKey.signWithMessageHash(this.sHashHex);else{if(!(this.prvKey instanceof br.crypto.DSA))throw\"Signature: unsupported private key alg: \"+this.pubkeyAlgName;this.hSign=this.prvKey.signWithMessageHash(this.sHashHex)}return this.hSign},this.signString=function(t){return this.updateString(t),this.sign()},this.signHex=function(t){return this.updateHex(t),this.sign()},this.verify=function(t){if(this.sHashHex=this.md.digest(),void 0===this.pubKey&&void 0!==this.ecpubhex&&void 0!==this.eccurvename&&void 0!==br.crypto.ECDSA&&(this.pubKey=new br.crypto.ECDSA({curve:this.eccurvename,pub:this.ecpubhex})),this.pubKey instanceof He&&\"rsaandmgf1\"===this.pubkeyAlgName)return this.pubKey.verifyWithMessageHashPSS(this.sHashHex,t,this.mdAlgName,this.pssSaltLen);if(this.pubKey instanceof He&&\"rsa\"===this.pubkeyAlgName)return this.pubKey.verifyWithMessageHash(this.sHashHex,t);if(void 0!==br.crypto.ECDSA&&this.pubKey instanceof br.crypto.ECDSA)return this.pubKey.verifyWithMessageHash(this.sHashHex,t);if(void 0!==br.crypto.DSA&&this.pubKey instanceof br.crypto.DSA)return this.pubKey.verifyWithMessageHash(this.sHashHex,t);throw\"Signature: unsupported public key alg: \"+this.pubkeyAlgName}}},this.init=function(t,e){throw\"init(key, pass) not supported for this alg:prov=\"+this.algProvName},this.updateString=function(t){throw\"updateString(str) not supported for this alg:prov=\"+this.algProvName},this.updateHex=function(t){throw\"updateHex(hex) not supported for this alg:prov=\"+this.algProvName},this.sign=function(){throw\"sign() not supported for this alg:prov=\"+this.algProvName},this.signString=function(t){throw\"digestString(str) not supported for this alg:prov=\"+this.algProvName},this.signHex=function(t){throw\"digestHex(hex) not supported for this alg:prov=\"+this.algProvName},this.verify=function(t){throw\"verify(hSigVal) not supported for this alg:prov=\"+this.algProvName},this.initParams=t,void 0!==t&&(void 0!==t.alg&&(this.algName=t.alg,void 0===t.prov?this.provName=br.crypto.Util.DEFAULTPROVIDER[this.algName]:this.provName=t.prov,this.algProvName=this.algName+\":\"+this.provName,this.setAlgAndProvider(this.algName,this.provName),this._setAlgNames()),void 0!==t.psssaltlen&&(this.pssSaltLen=t.psssaltlen),void 0!==t.prvkeypem)){if(void 0!==t.prvkeypas)throw\"both prvkeypem and prvkeypas parameters not supported\";try{e=Zr.getKey(t.prvkeypem);this.init(e)}catch(t){throw\"fatal error to load pem private key: \"+t}}},br.crypto.Cipher=function(t){},br.crypto.Cipher.encrypt=function(t,e,r){if(e instanceof He&&e.isPublic){var n=br.crypto.Cipher.getAlgByKeyAndName(e,r);if(\"RSA\"===n)return e.encrypt(t);if(\"RSAOAEP\"===n)return e.encryptOAEP(t,\"sha1\");var i=n.match(/^RSAOAEP(\\d+)$/);if(null!==i)return e.encryptOAEP(t,\"sha\"+i[1]);throw\"Cipher.encrypt: unsupported algorithm for RSAKey: \"+r}throw\"Cipher.encrypt: unsupported key or algorithm\"},br.crypto.Cipher.decrypt=function(t,e,r){if(e instanceof He&&e.isPrivate){var n=br.crypto.Cipher.getAlgByKeyAndName(e,r);if(\"RSA\"===n)return e.decrypt(t);if(\"RSAOAEP\"===n)return e.decryptOAEP(t,\"sha1\");var i=n.match(/^RSAOAEP(\\d+)$/);if(null!==i)return e.decryptOAEP(t,\"sha\"+i[1]);throw\"Cipher.decrypt: unsupported algorithm for RSAKey: \"+r}throw\"Cipher.decrypt: unsupported key or algorithm\"},br.crypto.Cipher.getAlgByKeyAndName=function(t,e){if(t instanceof He){if(-1!=\":RSA:RSAOAEP:RSAOAEP224:RSAOAEP256:RSAOAEP384:RSAOAEP512:\".indexOf(e))return e;if(null==e)return\"RSA\";throw\"getAlgByKeyAndName: not supported algorithm name for RSAKey: \"+e}throw\"getAlgByKeyAndName: not supported algorithm name: \"+e},br.crypto.OID=new function(){this.oidhex2name={\"2a864886f70d010101\":\"rsaEncryption\",\"2a8648ce3d0201\":\"ecPublicKey\",\"2a8648ce380401\":\"dsa\",\"2a8648ce3d030107\":\"secp256r1\",\"2b8104001f\":\"secp192k1\",\"2b81040021\":\"secp224r1\",\"2b8104000a\":\"secp256k1\",\"2b81040023\":\"secp521r1\",\"2b81040022\":\"secp384r1\",\"2a8648ce380403\":\"SHA1withDSA\",\"608648016503040301\":\"SHA224withDSA\",\"608648016503040302\":\"SHA256withDSA\"}},void 0!==br&&br||(e.KJUR=br={}),void 0!==br.crypto&&br.crypto||(br.crypto={}),br.crypto.ECDSA=function(t){var e=Error,n=F,i=Ke,o=br.crypto.ECDSA,s=br.crypto.ECParameterDB,a=o.getName,u=Er,c=u.getVbyListEx,h=u.isASN1HEX,l=new Oe;this.type=\"EC\",this.isPrivate=!1,this.isPublic=!1,this.getBigRandom=function(t){return new n(t.bitLength(),l).mod(t.subtract(n.ONE)).add(n.ONE)},this.setNamedCurve=function(t){this.ecparams=s.getByName(t),this.prvKeyHex=null,this.pubKeyHex=null,this.curveName=t},this.setPrivateKeyHex=function(t){this.isPrivate=!0,this.prvKeyHex=t},this.setPublicKeyHex=function(t){this.isPublic=!0,this.pubKeyHex=t},this.getPublicKeyXYHex=function(){var t=this.pubKeyHex;if(\"04\"!==t.substr(0,2))throw\"this method supports uncompressed format(04) only\";var e=this.ecparams.keylen/4;if(t.length!==2+2*e)throw\"malformed public key hex length\";var r={};return r.x=t.substr(2,e),r.y=t.substr(2+e),r},this.getShortNISTPCurveName=function(){var t=this.curveName;return\"secp256r1\"===t||\"NIST P-256\"===t||\"P-256\"===t||\"prime256v1\"===t?\"P-256\":\"secp384r1\"===t||\"NIST P-384\"===t||\"P-384\"===t?\"P-384\":null},this.generateKeyPairHex=function(){var t=this.ecparams.n,e=this.getBigRandom(t),r=this.ecparams.G.multiply(e),n=r.getX().toBigInteger(),i=r.getY().toBigInteger(),o=this.ecparams.keylen/4,s=(\"0000000000\"+e.toString(16)).slice(-o),a=\"04\"+(\"0000000000\"+n.toString(16)).slice(-o)+(\"0000000000\"+i.toString(16)).slice(-o);return this.setPrivateKeyHex(s),this.setPublicKeyHex(a),{ecprvhex:s,ecpubhex:a}},this.signWithMessageHash=function(t){return this.signHex(t,this.prvKeyHex)},this.signHex=function(t,e){var r=new n(e,16),i=this.ecparams.n,s=new n(t.substring(0,this.ecparams.keylen/4),16);do{var a=this.getBigRandom(i),u=this.ecparams.G.multiply(a).getX().toBigInteger().mod(i)}while(u.compareTo(n.ZERO)<=0);var c=a.modInverse(i).multiply(s.add(r.multiply(u))).mod(i);return o.biRSSigToASN1Sig(u,c)},this.sign=function(t,e){var r=e,i=this.ecparams.n,o=n.fromByteArrayUnsigned(t);do{var s=this.getBigRandom(i),a=this.ecparams.G.multiply(s).getX().toBigInteger().mod(i)}while(a.compareTo(F.ZERO)<=0);var u=s.modInverse(i).multiply(o.add(r.multiply(a))).mod(i);return this.serializeSig(a,u)},this.verifyWithMessageHash=function(t,e){return this.verifyHex(t,e,this.pubKeyHex)},this.verifyHex=function(t,e,r){try{var s,a,u=o.parseSigHex(e);s=u.r,a=u.s;var c=i.decodeFromHex(this.ecparams.curve,r),h=new n(t.substring(0,this.ecparams.keylen/4),16);return this.verifyRaw(h,s,a,c)}catch(t){return!1}},this.verify=function(t,e,o){var s,a,u;if(Bitcoin.Util.isArray(e)){var c=this.parseSig(e);s=c.r,a=c.s}else{if(\"object\"!==(void 0===e?\"undefined\":r(e))||!e.r||!e.s)throw\"Invalid value for signature\";s=e.r,a=e.s}if(o instanceof Ke)u=o;else{if(!Bitcoin.Util.isArray(o))throw\"Invalid format for pubkey value, must be byte array or ECPointFp\";u=i.decodeFrom(this.ecparams.curve,o)}var h=n.fromByteArrayUnsigned(t);return this.verifyRaw(h,s,a,u)},this.verifyRaw=function(t,e,r,i){var o=this.ecparams.n,s=this.ecparams.G;if(e.compareTo(n.ONE)<0||e.compareTo(o)>=0)return!1;if(r.compareTo(n.ONE)<0||r.compareTo(o)>=0)return!1;var a=r.modInverse(o),u=t.multiply(a).mod(o),c=e.multiply(a).mod(o);return s.multiply(u).add(i.multiply(c)).getX().toBigInteger().mod(o).equals(e)},this.serializeSig=function(t,e){var r=t.toByteArraySigned(),n=e.toByteArraySigned(),i=[];return i.push(2),i.push(r.length),(i=i.concat(r)).push(2),i.push(n.length),(i=i.concat(n)).unshift(i.length),i.unshift(48),i},this.parseSig=function(t){var e;if(48!=t[0])throw new Error(\"Signature not a valid DERSequence\");if(2!=t[e=2])throw new Error(\"First element in signature must be a DERInteger\");var r=t.slice(e+2,e+2+t[e+1]);if(2!=t[e+=2+t[e+1]])throw new Error(\"Second element in signature must be a DERInteger\");var i=t.slice(e+2,e+2+t[e+1]);return e+=2+t[e+1],{r:n.fromByteArrayUnsigned(r),s:n.fromByteArrayUnsigned(i)}},this.parseSigCompact=function(t){if(65!==t.length)throw\"Signature has the wrong length\";var e=t[0]-27;if(e<0||e>7)throw\"Invalid signature type\";var r=this.ecparams.n;return{r:n.fromByteArrayUnsigned(t.slice(1,33)).mod(r),s:n.fromByteArrayUnsigned(t.slice(33,65)).mod(r),i:e}},this.readPKCS5PrvKeyHex=function(t){if(!1===h(t))throw new Error(\"not ASN.1 hex string\");var e,r,n;try{e=c(t,0,[\"[0]\",0],\"06\"),r=c(t,0,[1],\"04\");try{n=c(t,0,[\"[1]\",0],\"03\")}catch(t){}}catch(t){throw new Error(\"malformed PKCS#1/5 plain ECC private key\")}if(this.curveName=a(e),void 0===this.curveName)throw\"unsupported curve name\";this.setNamedCurve(this.curveName),this.setPublicKeyHex(n),this.setPrivateKeyHex(r),this.isPublic=!1},this.readPKCS8PrvKeyHex=function(t){if(!1===h(t))throw new e(\"not ASN.1 hex string\");var r,n,i;try{c(t,0,[1,0],\"06\"),r=c(t,0,[1,1],\"06\"),n=c(t,0,[2,0,1],\"04\");try{i=c(t,0,[2,0,\"[1]\",0],\"03\")}catch(t){}}catch(t){throw new e(\"malformed PKCS#8 plain ECC private key\")}if(this.curveName=a(r),void 0===this.curveName)throw new e(\"unsupported curve name\");this.setNamedCurve(this.curveName),this.setPublicKeyHex(i),this.setPrivateKeyHex(n),this.isPublic=!1},this.readPKCS8PubKeyHex=function(t){if(!1===h(t))throw new e(\"not ASN.1 hex string\");var r,n;try{c(t,0,[0,0],\"06\"),r=c(t,0,[0,1],\"06\"),n=c(t,0,[1],\"03\")}catch(t){throw new e(\"malformed PKCS#8 ECC public key\")}if(this.curveName=a(r),null===this.curveName)throw new e(\"unsupported curve name\");this.setNamedCurve(this.curveName),this.setPublicKeyHex(n)},this.readCertPubKeyHex=function(t,r){if(!1===h(t))throw new e(\"not ASN.1 hex string\");var n,i;try{n=c(t,0,[0,5,0,1],\"06\"),i=c(t,0,[0,5,1],\"03\")}catch(t){throw new e(\"malformed X.509 certificate ECC public key\")}if(this.curveName=a(n),null===this.curveName)throw new e(\"unsupported curve name\");this.setNamedCurve(this.curveName),this.setPublicKeyHex(i)},void 0!==t&&void 0!==t.curve&&(this.curveName=t.curve),void 0===this.curveName&&(this.curveName=\"secp256r1\"),this.setNamedCurve(this.curveName),void 0!==t&&(void 0!==t.prv&&this.setPrivateKeyHex(t.prv),void 0!==t.pub&&this.setPublicKeyHex(t.pub))},br.crypto.ECDSA.parseSigHex=function(t){var e=br.crypto.ECDSA.parseSigHexInHexRS(t);return{r:new F(e.r,16),s:new F(e.s,16)}},br.crypto.ECDSA.parseSigHexInHexRS=function(t){var e=Er,r=e.getChildIdx,n=e.getV;if(e.checkStrictDER(t,0),\"30\"!=t.substr(0,2))throw new Error(\"signature is not a ASN.1 sequence\");var i=r(t,0);if(2!=i.length)throw new Error(\"signature shall have two elements\");var o=i[0],s=i[1];if(\"02\"!=t.substr(o,2))throw new Error(\"1st item not ASN.1 integer\");if(\"02\"!=t.substr(s,2))throw new Error(\"2nd item not ASN.1 integer\");return{r:n(t,o),s:n(t,s)}},br.crypto.ECDSA.asn1SigToConcatSig=function(t){var e=br.crypto.ECDSA.parseSigHexInHexRS(t),r=e.r,n=e.s;if(\"00\"==r.substr(0,2)&&r.length%32==2&&(r=r.substr(2)),\"00\"==n.substr(0,2)&&n.length%32==2&&(n=n.substr(2)),r.length%32==30&&(r=\"00\"+r),n.length%32==30&&(n=\"00\"+n),r.length%32!=0)throw\"unknown ECDSA sig r length error\";if(n.length%32!=0)throw\"unknown ECDSA sig s length error\";return r+n},br.crypto.ECDSA.concatSigToASN1Sig=function(t){if(t.length/2*8%128!=0)throw\"unknown ECDSA concatinated r-s sig length error\";var e=t.substr(0,t.length/2),r=t.substr(t.length/2);return br.crypto.ECDSA.hexRSSigToASN1Sig(e,r)},br.crypto.ECDSA.hexRSSigToASN1Sig=function(t,e){var r=new F(t,16),n=new F(e,16);return br.crypto.ECDSA.biRSSigToASN1Sig(r,n)},br.crypto.ECDSA.biRSSigToASN1Sig=function(t,e){var r=br.asn1,n=new r.DERInteger({bigint:t}),i=new r.DERInteger({bigint:e});return new r.DERSequence({array:[n,i]}).getEncodedHex()},br.crypto.ECDSA.getName=function(t){return\"2b8104001f\"===t?\"secp192k1\":\"2a8648ce3d030107\"===t?\"secp256r1\":\"2b8104000a\"===t?\"secp256k1\":\"2b81040021\"===t?\"secp224r1\":\"2b81040022\"===t?\"secp384r1\":-1!==\"|secp256r1|NIST P-256|P-256|prime256v1|\".indexOf(t)?\"secp256r1\":-1!==\"|secp256k1|\".indexOf(t)?\"secp256k1\":-1!==\"|secp224r1|NIST P-224|P-224|\".indexOf(t)?\"secp224r1\":-1!==\"|secp384r1|NIST P-384|P-384|\".indexOf(t)?\"secp384r1\":null},void 0!==br&&br||(e.KJUR=br={}),void 0!==br.crypto&&br.crypto||(br.crypto={}),br.crypto.ECParameterDB=new function(){var t={},e={};function r(t){return new F(t,16)}this.getByName=function(r){var n=r;if(void 0!==e[n]&&(n=e[r]),void 0!==t[n])return t[n];throw\"unregistered EC curve name: \"+n},this.regist=function(n,i,o,s,a,u,c,h,l,f,g,d){t[n]={};var p=r(o),v=r(s),y=r(a),m=r(u),_=r(c),S=new qe(p,v,y),b=S.decodePointHex(\"04\"+h+l);t[n].name=n,t[n].keylen=i,t[n].curve=S,t[n].G=b,t[n].n=m,t[n].h=_,t[n].oid=g,t[n].info=d;for(var w=0;w<f.length;w++)e[f[w]]=n}},br.crypto.ECParameterDB.regist(\"secp128r1\",128,\"FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF\",\"FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFC\",\"E87579C11079F43DD824993C2CEE5ED3\",\"FFFFFFFE0000000075A30D1B9038A115\",\"1\",\"161FF7528B899B2D0C28607CA52C5B86\",\"CF5AC8395BAFEB13C02DA292DDED7A83\",[],\"\",\"secp128r1 : SECG curve over a 128 bit prime field\"),br.crypto.ECParameterDB.regist(\"secp160k1\",160,\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFAC73\",\"0\",\"7\",\"0100000000000000000001B8FA16DFAB9ACA16B6B3\",\"1\",\"3B4C382CE37AA192A4019E763036F4F5DD4D7EBB\",\"938CF935318FDCED6BC28286531733C3F03C4FEE\",[],\"\",\"secp160k1 : SECG curve over a 160 bit prime field\"),br.crypto.ECParameterDB.regist(\"secp160r1\",160,\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFF\",\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFC\",\"1C97BEFC54BD7A8B65ACF89F81D4D4ADC565FA45\",\"0100000000000000000001F4C8F927AED3CA752257\",\"1\",\"4A96B5688EF573284664698968C38BB913CBFC82\",\"23A628553168947D59DCC912042351377AC5FB32\",[],\"\",\"secp160r1 : SECG curve over a 160 bit prime field\"),br.crypto.ECParameterDB.regist(\"secp192k1\",192,\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFEE37\",\"0\",\"3\",\"FFFFFFFFFFFFFFFFFFFFFFFE26F2FC170F69466A74DEFD8D\",\"1\",\"DB4FF10EC057E9AE26B07D0280B7F4341DA5D1B1EAE06C7D\",\"9B2F2F6D9C5628A7844163D015BE86344082AA88D95E2F9D\",[]),br.crypto.ECParameterDB.regist(\"secp192r1\",192,\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF\",\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFC\",\"64210519E59C80E70FA7E9AB72243049FEB8DEECC146B9B1\",\"FFFFFFFFFFFFFFFFFFFFFFFF99DEF836146BC9B1B4D22831\",\"1\",\"188DA80EB03090F67CBF20EB43A18800F4FF0AFD82FF1012\",\"07192B95FFC8DA78631011ED6B24CDD573F977A11E794811\",[]),br.crypto.ECParameterDB.regist(\"secp224r1\",224,\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000001\",\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFE\",\"B4050A850C04B3ABF54132565044B0B7D7BFD8BA270B39432355FFB4\",\"FFFFFFFFFFFFFFFFFFFFFFFFFFFF16A2E0B8F03E13DD29455C5C2A3D\",\"1\",\"B70E0CBD6BB4BF7F321390B94A03C1D356C21122343280D6115C1D21\",\"BD376388B5F723FB4C22DFE6CD4375A05A07476444D5819985007E34\",[]),br.crypto.ECParameterDB.regist(\"secp256k1\",256,\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFC2F\",\"0\",\"7\",\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141\",\"1\",\"79BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798\",\"483ADA7726A3C4655DA4FBFC0E1108A8FD17B448A68554199C47D08FFB10D4B8\",[]),br.crypto.ECParameterDB.regist(\"secp256r1\",256,\"FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFF\",\"FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFC\",\"5AC635D8AA3A93E7B3EBBD55769886BC651D06B0CC53B0F63BCE3C3E27D2604B\",\"FFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551\",\"1\",\"6B17D1F2E12C4247F8BCE6E563A440F277037D812DEB33A0F4A13945D898C296\",\"4FE342E2FE1A7F9B8EE7EB4A7C0F9E162BCE33576B315ECECBB6406837BF51F5\",[\"NIST P-256\",\"P-256\",\"prime256v1\"]),br.crypto.ECParameterDB.regist(\"secp384r1\",384,\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFF0000000000000000FFFFFFFF\",\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFF0000000000000000FFFFFFFC\",\"B3312FA7E23EE7E4988E056BE3F82D19181D9C6EFE8141120314088F5013875AC656398D8A2ED19D2A85C8EDD3EC2AEF\",\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC7634D81F4372DDF581A0DB248B0A77AECEC196ACCC52973\",\"1\",\"AA87CA22BE8B05378EB1C71EF320AD746E1D3B628BA79B9859F741E082542A385502F25DBF55296C3A545E3872760AB7\",\"3617de4a96262c6f5d9e98bf9292dc29f8f41dbd289a147ce9da3113b5f0b8c00a60b1ce1d7e819d7a431d7c90ea0e5f\",[\"NIST P-384\",\"P-384\"]),br.crypto.ECParameterDB.regist(\"secp521r1\",521,\"1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF\",\"1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC\",\"051953EB9618E1C9A1F929A21A0B68540EEA2DA725B99B315F3B8B489918EF109E156193951EC7E937B1652C0BD3BB1BF073573DF883D2C34F1EF451FD46B503F00\",\"1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA51868783BF2F966B7FCC0148F709A5D03BB5C9B8899C47AEBB6FB71E91386409\",\"1\",\"C6858E06B70404E9CD9E3ECB662395B4429C648139053FB521F828AF606B4D3DBAA14B5E77EFE75928FE1DC127A2FFA8DE3348B3C1856A429BF97E7E31C2E5BD66\",\"011839296a789a3bc0045c8a5fb42c7d1bd998f54449579b446817afbd17273e662c97ee72995ef42640c550b9013fad0761353c7086a272c24088be94769fd16650\",[\"NIST P-521\",\"P-521\"]);var Zr=function(){var t=function t(r,n,i){return e(y.AES,r,n,i)},e=function t(e,r,n,i){var o=y.enc.Hex.parse(r),s=y.enc.Hex.parse(n),a=y.enc.Hex.parse(i),u={};u.key=s,u.iv=a,u.ciphertext=o;var c=e.decrypt(u,s,{iv:a});return y.enc.Hex.stringify(c)},r=function t(e,r,i){return n(y.AES,e,r,i)},n=function t(e,r,n,i){var o=y.enc.Hex.parse(r),s=y.enc.Hex.parse(n),a=y.enc.Hex.parse(i),u=e.encrypt(o,s,{iv:a}),c=y.enc.Hex.parse(u.toString());return y.enc.Base64.stringify(c)},i={\"AES-256-CBC\":{proc:t,eproc:r,keylen:32,ivlen:16},\"AES-192-CBC\":{proc:t,eproc:r,keylen:24,ivlen:16},\"AES-128-CBC\":{proc:t,eproc:r,keylen:16,ivlen:16},\"DES-EDE3-CBC\":{proc:function t(r,n,i){return e(y.TripleDES,r,n,i)},eproc:function t(e,r,i){return n(y.TripleDES,e,r,i)},keylen:24,ivlen:8},\"DES-CBC\":{proc:function t(r,n,i){return e(y.DES,r,n,i)},eproc:function t(e,r,i){return n(y.DES,e,r,i)},keylen:8,ivlen:8}},o=function t(e){var r={},n=e.match(new RegExp(\"DEK-Info: ([^,]+),([0-9A-Fa-f]+)\",\"m\"));n&&(r.cipher=n[1],r.ivsalt=n[2]);var i=e.match(new RegExp(\"-----BEGIN ([A-Z]+) PRIVATE KEY-----\"));i&&(r.type=i[1]);var o=-1,s=0;-1!=e.indexOf(\"\\r\\n\\r\\n\")&&(o=e.indexOf(\"\\r\\n\\r\\n\"),s=2),-1!=e.indexOf(\"\\n\\n\")&&(o=e.indexOf(\"\\n\\n\"),s=1);var a=e.indexOf(\"-----END\");if(-1!=o&&-1!=a){var u=e.substring(o+2*s,a-s);u=u.replace(/\\s+/g,\"\"),r.data=u}return r},s=function t(e,r,n){for(var o=n.substring(0,16),s=y.enc.Hex.parse(o),a=y.enc.Utf8.parse(r),u=i[e].keylen+i[e].ivlen,c=\"\",h=null;;){var l=y.algo.MD5.create();if(null!=h&&l.update(h),l.update(a),l.update(s),h=l.finalize(),(c+=y.enc.Hex.stringify(h)).length>=2*u)break}var f={};return f.keyhex=c.substr(0,2*i[e].keylen),f.ivhex=c.substr(2*i[e].keylen,2*i[e].ivlen),f},a=function t(e,r,n,o){var s=y.enc.Base64.parse(e),a=y.enc.Hex.stringify(s);return(0,i[r].proc)(a,n,o)};return{version:\"1.0.0\",parsePKCS5PEM:function t(e){return o(e)},getKeyAndUnusedIvByPasscodeAndIvsalt:function t(e,r,n){return s(e,r,n)},decryptKeyB64:function t(e,r,n,i){return a(e,r,n,i)},getDecryptedKeyHex:function t(e,r){var n=o(e),i=(n.type,n.cipher),u=n.ivsalt,c=n.data,h=s(i,r,u).keyhex;return a(c,i,h,u)},getEncryptedPKCS5PEMFromPrvKeyHex:function t(e,r,n,o,a){var u=\"\";if(void 0!==o&&null!=o||(o=\"AES-256-CBC\"),void 0===i[o])throw\"KEYUTIL unsupported algorithm: \"+o;void 0!==a&&null!=a||(a=function t(e){var r=y.lib.WordArray.random(e);return y.enc.Hex.stringify(r)}(i[o].ivlen).toUpperCase());var c=function t(e,r,n,o){return(0,i[r].eproc)(e,n,o)}(r,o,s(o,n,a).keyhex,a);u=\"-----BEGIN \"+e+\" PRIVATE KEY-----\\r\\n\";return u+=\"Proc-Type: 4,ENCRYPTED\\r\\n\",u+=\"DEK-Info: \"+o+\",\"+a+\"\\r\\n\",u+=\"\\r\\n\",u+=c.replace(/(.{64})/g,\"$1\\r\\n\"),u+=\"\\r\\n-----END \"+e+\" PRIVATE KEY-----\\r\\n\"},parseHexOfEncryptedPKCS8:function t(e){var r=Er,n=r.getChildIdx,i=r.getV,o={},s=n(e,0);if(2!=s.length)throw\"malformed format: SEQUENCE(0).items != 2: \"+s.length;o.ciphertext=i(e,s[1]);var a=n(e,s[0]);if(2!=a.length)throw\"malformed format: SEQUENCE(0.0).items != 2: \"+a.length;if(\"2a864886f70d01050d\"!=i(e,a[0]))throw\"this only supports pkcs5PBES2\";var u=n(e,a[1]);if(2!=a.length)throw\"malformed format: SEQUENCE(0.0.1).items != 2: \"+u.length;var c=n(e,u[1]);if(2!=c.length)throw\"malformed format: SEQUENCE(0.0.1.1).items != 2: \"+c.length;if(\"2a864886f70d0307\"!=i(e,c[0]))throw\"this only supports TripleDES\";o.encryptionSchemeAlg=\"TripleDES\",o.encryptionSchemeIV=i(e,c[1]);var h=n(e,u[0]);if(2!=h.length)throw\"malformed format: SEQUENCE(0.0.1.0).items != 2: \"+h.length;if(\"2a864886f70d01050c\"!=i(e,h[0]))throw\"this only supports pkcs5PBKDF2\";var l=n(e,h[1]);if(l.length<2)throw\"malformed format: SEQUENCE(0.0.1.0.1).items < 2: \"+l.length;o.pbkdf2Salt=i(e,l[0]);var f=i(e,l[1]);try{o.pbkdf2Iter=parseInt(f,16)}catch(t){throw\"malformed format pbkdf2Iter: \"+f}return o},getPBKDF2KeyHexFromParam:function t(e,r){var n=y.enc.Hex.parse(e.pbkdf2Salt),i=e.pbkdf2Iter,o=y.PBKDF2(r,n,{keySize:6,iterations:i});return y.enc.Hex.stringify(o)},_getPlainPKCS8HexFromEncryptedPKCS8PEM:function t(e,r){var n=Hr(e,\"ENCRYPTED PRIVATE KEY\"),i=this.parseHexOfEncryptedPKCS8(n),o=Zr.getPBKDF2KeyHexFromParam(i,r),s={};s.ciphertext=y.enc.Hex.parse(i.ciphertext);var a=y.enc.Hex.parse(o),u=y.enc.Hex.parse(i.encryptionSchemeIV),c=y.TripleDES.decrypt(s,a,{iv:u});return y.enc.Hex.stringify(c)},getKeyFromEncryptedPKCS8PEM:function t(e,r){var n=this._getPlainPKCS8HexFromEncryptedPKCS8PEM(e,r);return this.getKeyFromPlainPrivatePKCS8Hex(n)},parsePlainPrivatePKCS8Hex:function t(e){var r=Er,n=r.getChildIdx,i=r.getV,o={algparam:null};if(\"30\"!=e.substr(0,2))throw\"malformed plain PKCS8 private key(code:001)\";var s=n(e,0);if(3!=s.length)throw\"malformed plain PKCS8 private key(code:002)\";if(\"30\"!=e.substr(s[1],2))throw\"malformed PKCS8 private key(code:003)\";var a=n(e,s[1]);if(2!=a.length)throw\"malformed PKCS8 private key(code:004)\";if(\"06\"!=e.substr(a[0],2))throw\"malformed PKCS8 private key(code:005)\";if(o.algoid=i(e,a[0]),\"06\"==e.substr(a[1],2)&&(o.algparam=i(e,a[1])),\"04\"!=e.substr(s[2],2))throw\"malformed PKCS8 private key(code:006)\";return o.keyidx=r.getVidx(e,s[2]),o},getKeyFromPlainPrivatePKCS8PEM:function t(e){var r=Hr(e,\"PRIVATE KEY\");return this.getKeyFromPlainPrivatePKCS8Hex(r)},getKeyFromPlainPrivatePKCS8Hex:function t(e){var r,n=this.parsePlainPrivatePKCS8Hex(e);if(\"2a864886f70d010101\"==n.algoid)r=new He;else if(\"2a8648ce380401\"==n.algoid)r=new br.crypto.DSA;else{if(\"2a8648ce3d0201\"!=n.algoid)throw\"unsupported private key algorithm\";r=new br.crypto.ECDSA}return r.readPKCS8PrvKeyHex(e),r},_getKeyFromPublicPKCS8Hex:function t(e){var r,n=Er.getVbyList(e,0,[0,0],\"06\");if(\"2a864886f70d010101\"===n)r=new He;else if(\"2a8648ce380401\"===n)r=new br.crypto.DSA;else{if(\"2a8648ce3d0201\"!==n)throw\"unsupported PKCS#8 public key hex\";r=new br.crypto.ECDSA}return r.readPKCS8PubKeyHex(e),r},parsePublicRawRSAKeyHex:function t(e){var r=Er,n=r.getChildIdx,i=r.getV,o={};if(\"30\"!=e.substr(0,2))throw\"malformed RSA key(code:001)\";var s=n(e,0);if(2!=s.length)throw\"malformed RSA key(code:002)\";if(\"02\"!=e.substr(s[0],2))throw\"malformed RSA key(code:003)\";if(o.n=i(e,s[0]),\"02\"!=e.substr(s[1],2))throw\"malformed RSA key(code:004)\";return o.e=i(e,s[1]),o},parsePublicPKCS8Hex:function t(e){var r=Er,n=r.getChildIdx,i=r.getV,o={algparam:null},s=n(e,0);if(2!=s.length)throw\"outer DERSequence shall have 2 elements: \"+s.length;var a=s[0];if(\"30\"!=e.substr(a,2))throw\"malformed PKCS8 public key(code:001)\";var u=n(e,a);if(2!=u.length)throw\"malformed PKCS8 public key(code:002)\";if(\"06\"!=e.substr(u[0],2))throw\"malformed PKCS8 public key(code:003)\";if(o.algoid=i(e,u[0]),\"06\"==e.substr(u[1],2)?o.algparam=i(e,u[1]):\"30\"==e.substr(u[1],2)&&(o.algparam={},o.algparam.p=r.getVbyList(e,u[1],[0],\"02\"),o.algparam.q=r.getVbyList(e,u[1],[1],\"02\"),o.algparam.g=r.getVbyList(e,u[1],[2],\"02\")),\"03\"!=e.substr(s[1],2))throw\"malformed PKCS8 public key(code:004)\";return o.key=i(e,s[1]).substr(2),o}}}();Zr.getKey=function(t,e,r){var n=(v=Er).getChildIdx,i=(v.getV,v.getVbyList),o=br.crypto,s=o.ECDSA,a=o.DSA,u=He,c=Hr,h=Zr;if(void 0!==u&&t instanceof u)return t;if(void 0!==s&&t instanceof s)return t;if(void 0!==a&&t instanceof a)return t;if(void 0!==t.curve&&void 0!==t.xy&&void 0===t.d)return new s({pub:t.xy,curve:t.curve});if(void 0!==t.curve&&void 0!==t.d)return new s({prv:t.d,curve:t.curve});if(void 0===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0===t.d)return(P=new u).setPublic(t.n,t.e),P;if(void 0===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0!==t.d&&void 0!==t.p&&void 0!==t.q&&void 0!==t.dp&&void 0!==t.dq&&void 0!==t.co&&void 0===t.qi)return(P=new u).setPrivateEx(t.n,t.e,t.d,t.p,t.q,t.dp,t.dq,t.co),P;if(void 0===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0!==t.d&&void 0===t.p)return(P=new u).setPrivate(t.n,t.e,t.d),P;if(void 0!==t.p&&void 0!==t.q&&void 0!==t.g&&void 0!==t.y&&void 0===t.x)return(P=new a).setPublic(t.p,t.q,t.g,t.y),P;if(void 0!==t.p&&void 0!==t.q&&void 0!==t.g&&void 0!==t.y&&void 0!==t.x)return(P=new a).setPrivate(t.p,t.q,t.g,t.y,t.x),P;if(\"RSA\"===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0===t.d)return(P=new u).setPublic(Ir(t.n),Ir(t.e)),P;if(\"RSA\"===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0!==t.d&&void 0!==t.p&&void 0!==t.q&&void 0!==t.dp&&void 0!==t.dq&&void 0!==t.qi)return(P=new u).setPrivateEx(Ir(t.n),Ir(t.e),Ir(t.d),Ir(t.p),Ir(t.q),Ir(t.dp),Ir(t.dq),Ir(t.qi)),P;if(\"RSA\"===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0!==t.d)return(P=new u).setPrivate(Ir(t.n),Ir(t.e),Ir(t.d)),P;if(\"EC\"===t.kty&&void 0!==t.crv&&void 0!==t.x&&void 0!==t.y&&void 0===t.d){var l=(k=new s({curve:t.crv})).ecparams.keylen/4,f=\"04\"+(\"0000000000\"+Ir(t.x)).slice(-l)+(\"0000000000\"+Ir(t.y)).slice(-l);return k.setPublicKeyHex(f),k}if(\"EC\"===t.kty&&void 0!==t.crv&&void 0!==t.x&&void 0!==t.y&&void 0!==t.d){l=(k=new s({curve:t.crv})).ecparams.keylen/4,f=\"04\"+(\"0000000000\"+Ir(t.x)).slice(-l)+(\"0000000000\"+Ir(t.y)).slice(-l);var g=(\"0000000000\"+Ir(t.d)).slice(-l);return k.setPublicKeyHex(f),k.setPrivateKeyHex(g),k}if(\"pkcs5prv\"===r){var d,p=t,v=Er;if(9===(d=n(p,0)).length)(P=new u).readPKCS5PrvKeyHex(p);else if(6===d.length)(P=new a).readPKCS5PrvKeyHex(p);else{if(!(d.length>2&&\"04\"===p.substr(d[1],2)))throw\"unsupported PKCS#1/5 hexadecimal key\";(P=new s).readPKCS5PrvKeyHex(p)}return P}if(\"pkcs8prv\"===r)return P=h.getKeyFromPlainPrivatePKCS8Hex(t);if(\"pkcs8pub\"===r)return h._getKeyFromPublicPKCS8Hex(t);if(\"x509pub\"===r)return on.getPublicKeyFromCertHex(t);if(-1!=t.indexOf(\"-END CERTIFICATE-\",0)||-1!=t.indexOf(\"-END X509 CERTIFICATE-\",0)||-1!=t.indexOf(\"-END TRUSTED CERTIFICATE-\",0))return on.getPublicKeyFromCertPEM(t);if(-1!=t.indexOf(\"-END PUBLIC KEY-\")){var y=Hr(t,\"PUBLIC KEY\");return h._getKeyFromPublicPKCS8Hex(y)}if(-1!=t.indexOf(\"-END RSA PRIVATE KEY-\")&&-1==t.indexOf(\"4,ENCRYPTED\")){var m=c(t,\"RSA PRIVATE KEY\");return h.getKey(m,null,\"pkcs5prv\")}if(-1!=t.indexOf(\"-END DSA PRIVATE KEY-\")&&-1==t.indexOf(\"4,ENCRYPTED\")){var _=i(R=c(t,\"DSA PRIVATE KEY\"),0,[1],\"02\"),S=i(R,0,[2],\"02\"),b=i(R,0,[3],\"02\"),w=i(R,0,[4],\"02\"),E=i(R,0,[5],\"02\");return(P=new a).setPrivate(new F(_,16),new F(S,16),new F(b,16),new F(w,16),new F(E,16)),P}if(-1!=t.indexOf(\"-END EC PRIVATE KEY-\")&&-1==t.indexOf(\"4,ENCRYPTED\")){m=c(t,\"EC PRIVATE KEY\");return h.getKey(m,null,\"pkcs5prv\")}if(-1!=t.indexOf(\"-END PRIVATE KEY-\"))return h.getKeyFromPlainPrivatePKCS8PEM(t);if(-1!=t.indexOf(\"-END RSA PRIVATE KEY-\")&&-1!=t.indexOf(\"4,ENCRYPTED\")){var x=h.getDecryptedKeyHex(t,e),A=new He;return A.readPKCS5PrvKeyHex(x),A}if(-1!=t.indexOf(\"-END EC PRIVATE KEY-\")&&-1!=t.indexOf(\"4,ENCRYPTED\")){var k,P=i(R=h.getDecryptedKeyHex(t,e),0,[1],\"04\"),C=i(R,0,[2,0],\"06\"),T=i(R,0,[3,0],\"03\").substr(2);if(void 0===br.crypto.OID.oidhex2name[C])throw\"undefined OID(hex) in KJUR.crypto.OID: \"+C;return(k=new s({curve:br.crypto.OID.oidhex2name[C]})).setPublicKeyHex(T),k.setPrivateKeyHex(P),k.isPublic=!1,k}if(-1!=t.indexOf(\"-END DSA PRIVATE KEY-\")&&-1!=t.indexOf(\"4,ENCRYPTED\")){var R;_=i(R=h.getDecryptedKeyHex(t,e),0,[1],\"02\"),S=i(R,0,[2],\"02\"),b=i(R,0,[3],\"02\"),w=i(R,0,[4],\"02\"),E=i(R,0,[5],\"02\");return(P=new a).setPrivate(new F(_,16),new F(S,16),new F(b,16),new F(w,16),new F(E,16)),P}if(-1!=t.indexOf(\"-END ENCRYPTED PRIVATE KEY-\"))return h.getKeyFromEncryptedPKCS8PEM(t,e);throw new Error(\"not supported argument\")},Zr.generateKeypair=function(t,e){if(\"RSA\"==t){var r=e;(s=new He).generate(r,\"10001\"),s.isPrivate=!0,s.isPublic=!0;var n=new He,i=s.n.toString(16),o=s.e.toString(16);return n.setPublic(i,o),n.isPrivate=!1,n.isPublic=!0,(a={}).prvKeyObj=s,a.pubKeyObj=n,a}if(\"EC\"==t){var s,a,u=e,c=new br.crypto.ECDSA({curve:u}).generateKeyPairHex();return(s=new br.crypto.ECDSA({curve:u})).setPublicKeyHex(c.ecpubhex),s.setPrivateKeyHex(c.ecprvhex),s.isPrivate=!0,s.isPublic=!1,(n=new br.crypto.ECDSA({curve:u})).setPublicKeyHex(c.ecpubhex),n.isPrivate=!1,n.isPublic=!0,(a={}).prvKeyObj=s,a.pubKeyObj=n,a}throw\"unknown algorithm: \"+t},Zr.getPEM=function(t,e,r,n,i,o){var s=br,a=s.asn1,u=a.DERObjectIdentifier,c=a.DERInteger,h=a.ASN1Util.newObject,l=a.x509.SubjectPublicKeyInfo,f=s.crypto,g=f.DSA,d=f.ECDSA,p=He;function v(t){return h({seq:[{int:0},{int:{bigint:t.n}},{int:t.e},{int:{bigint:t.d}},{int:{bigint:t.p}},{int:{bigint:t.q}},{int:{bigint:t.dmp1}},{int:{bigint:t.dmq1}},{int:{bigint:t.coeff}}]})}function m(t){return h({seq:[{int:1},{octstr:{hex:t.prvKeyHex}},{tag:[\"a0\",!0,{oid:{name:t.curveName}}]},{tag:[\"a1\",!0,{bitstr:{hex:\"00\"+t.pubKeyHex}}]}]})}function _(t){return h({seq:[{int:0},{int:{bigint:t.p}},{int:{bigint:t.q}},{int:{bigint:t.g}},{int:{bigint:t.y}},{int:{bigint:t.x}}]})}if((void 0!==p&&t instanceof p||void 0!==g&&t instanceof g||void 0!==d&&t instanceof d)&&1==t.isPublic&&(void 0===e||\"PKCS8PUB\"==e))return Mr(F=new l(t).getEncodedHex(),\"PUBLIC KEY\");if(\"PKCS1PRV\"==e&&void 0!==p&&t instanceof p&&(void 0===r||null==r)&&1==t.isPrivate)return Mr(F=v(t).getEncodedHex(),\"RSA PRIVATE KEY\");if(\"PKCS1PRV\"==e&&void 0!==d&&t instanceof d&&(void 0===r||null==r)&&1==t.isPrivate){var S=new u({name:t.curveName}).getEncodedHex(),b=m(t).getEncodedHex(),w=\"\";return w+=Mr(S,\"EC PARAMETERS\"),w+=Mr(b,\"EC PRIVATE KEY\")}if(\"PKCS1PRV\"==e&&void 0!==g&&t instanceof g&&(void 0===r||null==r)&&1==t.isPrivate)return Mr(F=_(t).getEncodedHex(),\"DSA PRIVATE KEY\");if(\"PKCS5PRV\"==e&&void 0!==p&&t instanceof p&&void 0!==r&&null!=r&&1==t.isPrivate){var F=v(t).getEncodedHex();return void 0===n&&(n=\"DES-EDE3-CBC\"),this.getEncryptedPKCS5PEMFromPrvKeyHex(\"RSA\",F,r,n,o)}if(\"PKCS5PRV\"==e&&void 0!==d&&t instanceof d&&void 0!==r&&null!=r&&1==t.isPrivate){F=m(t).getEncodedHex();return void 0===n&&(n=\"DES-EDE3-CBC\"),this.getEncryptedPKCS5PEMFromPrvKeyHex(\"EC\",F,r,n,o)}if(\"PKCS5PRV\"==e&&void 0!==g&&t instanceof g&&void 0!==r&&null!=r&&1==t.isPrivate){F=_(t).getEncodedHex();return void 0===n&&(n=\"DES-EDE3-CBC\"),this.getEncryptedPKCS5PEMFromPrvKeyHex(\"DSA\",F,r,n,o)}var E=function t(e,r){var n=x(e,r);return new h({seq:[{seq:[{oid:{name:\"pkcs5PBES2\"}},{seq:[{seq:[{oid:{name:\"pkcs5PBKDF2\"}},{seq:[{octstr:{hex:n.pbkdf2Salt}},{int:n.pbkdf2Iter}]}]},{seq:[{oid:{name:\"des-EDE3-CBC\"}},{octstr:{hex:n.encryptionSchemeIV}}]}]}]},{octstr:{hex:n.ciphertext}}]}).getEncodedHex()},x=function t(e,r){var n=y.lib.WordArray.random(8),i=y.lib.WordArray.random(8),o=y.PBKDF2(r,n,{keySize:6,iterations:100}),s=y.enc.Hex.parse(e),a=y.TripleDES.encrypt(s,o,{iv:i})+\"\",u={};return u.ciphertext=a,u.pbkdf2Salt=y.enc.Hex.stringify(n),u.pbkdf2Iter=100,u.encryptionSchemeAlg=\"DES-EDE3-CBC\",u.encryptionSchemeIV=y.enc.Hex.stringify(i),u};if(\"PKCS8PRV\"==e&&null!=p&&t instanceof p&&1==t.isPrivate){var A=v(t).getEncodedHex();F=h({seq:[{int:0},{seq:[{oid:{name:\"rsaEncryption\"}},{null:!0}]},{octstr:{hex:A}}]}).getEncodedHex();return void 0===r||null==r?Mr(F,\"PRIVATE KEY\"):Mr(b=E(F,r),\"ENCRYPTED PRIVATE KEY\")}if(\"PKCS8PRV\"==e&&void 0!==d&&t instanceof d&&1==t.isPrivate){A=new h({seq:[{int:1},{octstr:{hex:t.prvKeyHex}},{tag:[\"a1\",!0,{bitstr:{hex:\"00\"+t.pubKeyHex}}]}]}).getEncodedHex(),F=h({seq:[{int:0},{seq:[{oid:{name:\"ecPublicKey\"}},{oid:{name:t.curveName}}]},{octstr:{hex:A}}]}).getEncodedHex();return void 0===r||null==r?Mr(F,\"PRIVATE KEY\"):Mr(b=E(F,r),\"ENCRYPTED PRIVATE KEY\")}if(\"PKCS8PRV\"==e&&void 0!==g&&t instanceof g&&1==t.isPrivate){A=new c({bigint:t.x}).getEncodedHex(),F=h({seq:[{int:0},{seq:[{oid:{name:\"dsa\"}},{seq:[{int:{bigint:t.p}},{int:{bigint:t.q}},{int:{bigint:t.g}}]}]},{octstr:{hex:A}}]}).getEncodedHex();return void 0===r||null==r?Mr(F,\"PRIVATE KEY\"):Mr(b=E(F,r),\"ENCRYPTED PRIVATE KEY\")}throw new Error(\"unsupported object nor format\")},Zr.getKeyFromCSRPEM=function(t){var e=Hr(t,\"CERTIFICATE REQUEST\");return Zr.getKeyFromCSRHex(e)},Zr.getKeyFromCSRHex=function(t){var e=Zr.parseCSRHex(t);return Zr.getKey(e.p8pubkeyhex,null,\"pkcs8pub\")},Zr.parseCSRHex=function(t){var e=Er,r=e.getChildIdx,n=e.getTLV,i={},o=t;if(\"30\"!=o.substr(0,2))throw\"malformed CSR(code:001)\";var s=r(o,0);if(s.length<1)throw\"malformed CSR(code:002)\";if(\"30\"!=o.substr(s[0],2))throw\"malformed CSR(code:003)\";var a=r(o,s[0]);if(a.length<3)throw\"malformed CSR(code:004)\";return i.p8pubkeyhex=n(o,a[2]),i},Zr.getKeyID=function(t){var e=Zr,r=Er;\"string\"==typeof t&&-1!=t.indexOf(\"BEGIN \")&&(t=e.getKey(t));var n=Hr(e.getPEM(t)),i=r.getIdxbyList(n,0,[1]),o=r.getV(n,i).substring(2);return br.crypto.Util.hashHex(o,\"sha1\")},Zr.getJWKFromKey=function(t){var e={};if(t instanceof He&&t.isPrivate)return e.kty=\"RSA\",e.n=Rr(t.n.toString(16)),e.e=Rr(t.e.toString(16)),e.d=Rr(t.d.toString(16)),e.p=Rr(t.p.toString(16)),e.q=Rr(t.q.toString(16)),e.dp=Rr(t.dmp1.toString(16)),e.dq=Rr(t.dmq1.toString(16)),e.qi=Rr(t.coeff.toString(16)),e;if(t instanceof He&&t.isPublic)return e.kty=\"RSA\",e.n=Rr(t.n.toString(16)),e.e=Rr(t.e.toString(16)),e;if(t instanceof br.crypto.ECDSA&&t.isPrivate){if(\"P-256\"!==(n=t.getShortNISTPCurveName())&&\"P-384\"!==n)throw\"unsupported curve name for JWT: \"+n;var r=t.getPublicKeyXYHex();return e.kty=\"EC\",e.crv=n,e.x=Rr(r.x),e.y=Rr(r.y),e.d=Rr(t.prvKeyHex),e}if(t instanceof br.crypto.ECDSA&&t.isPublic){var n;if(\"P-256\"!==(n=t.getShortNISTPCurveName())&&\"P-384\"!==n)throw\"unsupported curve name for JWT: \"+n;r=t.getPublicKeyXYHex();return e.kty=\"EC\",e.crv=n,e.x=Rr(r.x),e.y=Rr(r.y),e}throw\"not supported key object\"},He.getPosArrayOfChildrenFromHex=function(t){return Er.getChildIdx(t,0)},He.getHexValueArrayOfChildrenFromHex=function(t){var e,r=Er.getV,n=r(t,(e=He.getPosArrayOfChildrenFromHex(t))[0]),i=r(t,e[1]),o=r(t,e[2]),s=r(t,e[3]),a=r(t,e[4]),u=r(t,e[5]),c=r(t,e[6]),h=r(t,e[7]),l=r(t,e[8]);return(e=new Array).push(n,i,o,s,a,u,c,h,l),e},He.prototype.readPrivateKeyFromPEMString=function(t){var e=Hr(t),r=He.getHexValueArrayOfChildrenFromHex(e);this.setPrivateEx(r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8])},He.prototype.readPKCS5PrvKeyHex=function(t){var e=He.getHexValueArrayOfChildrenFromHex(t);this.setPrivateEx(e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8])},He.prototype.readPKCS8PrvKeyHex=function(t){var e,r,n,i,o,s,a,u,c=Er,h=c.getVbyListEx;if(!1===c.isASN1HEX(t))throw new Error(\"not ASN.1 hex string\");try{e=h(t,0,[2,0,1],\"02\"),r=h(t,0,[2,0,2],\"02\"),n=h(t,0,[2,0,3],\"02\"),i=h(t,0,[2,0,4],\"02\"),o=h(t,0,[2,0,5],\"02\"),s=h(t,0,[2,0,6],\"02\"),a=h(t,0,[2,0,7],\"02\"),u=h(t,0,[2,0,8],\"02\")}catch(t){throw new Error(\"malformed PKCS#8 plain RSA private key\")}this.setPrivateEx(e,r,n,i,o,s,a,u)},He.prototype.readPKCS5PubKeyHex=function(t){var e=Er,r=e.getV;if(!1===e.isASN1HEX(t))throw new Error(\"keyHex is not ASN.1 hex string\");var n=e.getChildIdx(t,0);if(2!==n.length||\"02\"!==t.substr(n[0],2)||\"02\"!==t.substr(n[1],2))throw new Error(\"wrong hex for PKCS#5 public key\");var i=r(t,n[0]),o=r(t,n[1]);this.setPublic(i,o)},He.prototype.readPKCS8PubKeyHex=function(t){var e=Er;if(!1===e.isASN1HEX(t))throw new Error(\"not ASN.1 hex string\");if(\"06092a864886f70d010101\"!==e.getTLVbyListEx(t,0,[0,0]))throw new Error(\"not PKCS8 RSA public key\");var r=e.getTLVbyListEx(t,0,[1,0]);this.readPKCS5PubKeyHex(r)},He.prototype.readCertPubKeyHex=function(t,e){var r,n;(r=new on).readCertHex(t),n=r.getPublicKeyHex(),this.readPKCS8PubKeyHex(n)};var tn=new RegExp(\"[^0-9a-f]\",\"gi\");function en(t,e){for(var r=\"\",n=e/4-t.length,i=0;i<n;i++)r+=\"0\";return r+t}function rn(t,e,r){for(var n=\"\",i=0;n.length<e;)n+=Nr(r(Ur(t+String.fromCharCode.apply(String,[(4278190080&i)>>24,(16711680&i)>>16,(65280&i)>>8,255&i])))),i+=1;return n}function nn(t){for(var e in br.crypto.Util.DIGESTINFOHEAD){var r=br.crypto.Util.DIGESTINFOHEAD[e],n=r.length;if(t.substring(0,n)==r)return[e,t.substring(n)]}return[]}function on(t){var e,r=Er,n=r.getChildIdx,i=r.getV,o=r.getTLV,s=r.getVbyList,a=r.getVbyListEx,u=r.getTLVbyList,c=r.getTLVbyListEx,h=r.getIdxbyList,l=r.getIdxbyListEx,f=r.getVidx,g=r.oidname,d=r.hextooidstr,p=on,v=Hr;try{e=br.asn1.x509.AlgorithmIdentifier.PSSNAME2ASN1TLV}catch(t){}this.HEX2STAG={\"0c\":\"utf8\",13:\"prn\",16:\"ia5\",\"1a\":\"vis\",\"1e\":\"bmp\"},this.hex=null,this.version=0,this.foffset=0,this.aExtInfo=null,this.getVersion=function(){return null===this.hex||0!==this.version?this.version:\"a003020102\"!==u(this.hex,0,[0,0])?(this.version=1,this.foffset=-1,1):(this.version=3,3)},this.getSerialNumberHex=function(){return a(this.hex,0,[0,0],\"02\")},this.getSignatureAlgorithmField=function(){var t=c(this.hex,0,[0,1]);return this.getAlgorithmIdentifierName(t)},this.getAlgorithmIdentifierName=function(t){for(var r in e)if(t===e[r])return r;return g(a(t,0,[0],\"06\"))},this.getIssuer=function(){return this.getX500Name(this.getIssuerHex())},this.getIssuerHex=function(){return u(this.hex,0,[0,3+this.foffset],\"30\")},this.getIssuerString=function(){return p.hex2dn(this.getIssuerHex())},this.getSubject=function(){return this.getX500Name(this.getSubjectHex())},this.getSubjectHex=function(){return u(this.hex,0,[0,5+this.foffset],\"30\")},this.getSubjectString=function(){return p.hex2dn(this.getSubjectHex())},this.getNotBefore=function(){var t=s(this.hex,0,[0,4+this.foffset,0]);return t=t.replace(/(..)/g,\"%$1\"),t=decodeURIComponent(t)},this.getNotAfter=function(){var t=s(this.hex,0,[0,4+this.foffset,1]);return t=t.replace(/(..)/g,\"%$1\"),t=decodeURIComponent(t)},this.getPublicKeyHex=function(){return r.getTLVbyList(this.hex,0,[0,6+this.foffset],\"30\")},this.getPublicKeyIdx=function(){return h(this.hex,0,[0,6+this.foffset],\"30\")},this.getPublicKeyContentIdx=function(){var t=this.getPublicKeyIdx();return h(this.hex,t,[1,0],\"30\")},this.getPublicKey=function(){return Zr.getKey(this.getPublicKeyHex(),null,\"pkcs8pub\")},this.getSignatureAlgorithmName=function(){var t=u(this.hex,0,[1],\"30\");return this.getAlgorithmIdentifierName(t)},this.getSignatureValueHex=function(){return s(this.hex,0,[2],\"03\",!0)},this.verifySignature=function(t){var e=this.getSignatureAlgorithmField(),r=this.getSignatureValueHex(),n=u(this.hex,0,[0],\"30\"),i=new br.crypto.Signature({alg:e});return i.init(t),i.updateHex(n),i.verify(r)},this.parseExt=function(t){var e,o,a;if(void 0===t){if(a=this.hex,3!==this.version)return-1;e=h(a,0,[0,7,0],\"30\"),o=n(a,e)}else{a=Hr(t);var u=h(a,0,[0,3,0,0],\"06\");if(\"2a864886f70d01090e\"!=i(a,u))return void(this.aExtInfo=new Array);e=h(a,0,[0,3,0,1,0],\"30\"),o=n(a,e),this.hex=a}this.aExtInfo=new Array;for(var c=0;c<o.length;c++){var l={critical:!1},g=0;3===n(a,o[c]).length&&(l.critical=!0,g=1),l.oid=r.hextooidstr(s(a,o[c],[0],\"06\"));var d=h(a,o[c],[1+g]);l.vidx=f(a,d),this.aExtInfo.push(l)}},this.getExtInfo=function(t){var e=this.aExtInfo,r=t;if(t.match(/^[0-9.]+$/)||(r=br.asn1.x509.OID.name2oid(t)),\"\"!==r)for(var n=0;n<e.length;n++)if(e[n].oid===r)return e[n]},this.getExtBasicConstraints=function(t,e){if(void 0===t&&void 0===e){var r=this.getExtInfo(\"basicConstraints\");if(void 0===r)return;t=o(this.hex,r.vidx),e=r.critical}var n={extname:\"basicConstraints\"};if(e&&(n.critical=!0),\"3000\"===t)return n;if(\"30030101ff\"===t)return n.cA=!0,n;if(\"30060101ff02\"===t.substr(0,12)){var s=i(t,10),a=parseInt(s,16);return n.cA=!0,n.pathLen=a,n}throw new Error(\"hExtV parse error: \"+t)},this.getExtKeyUsage=function(t,e){if(void 0===t&&void 0===e){var r=this.getExtInfo(\"keyUsage\");if(void 0===r)return;t=o(this.hex,r.vidx),e=r.critical}var n={extname:\"keyUsage\"};return e&&(n.critical=!0),n.names=this.getExtKeyUsageString(t).split(\",\"),n},this.getExtKeyUsageBin=function(t){if(void 0===t){var e=this.getExtInfo(\"keyUsage\");if(void 0===e)return\"\";t=o(this.hex,e.vidx)}if(8!=t.length&&10!=t.length)throw new Error(\"malformed key usage value: \"+t);var r=\"000000000000000\"+parseInt(t.substr(6),16).toString(2);return 8==t.length&&(r=r.slice(-8)),10==t.length&&(r=r.slice(-16)),\"\"==(r=r.replace(/0+$/,\"\"))&&(r=\"0\"),r},this.getExtKeyUsageString=function(t){for(var e=this.getExtKeyUsageBin(t),r=new Array,n=0;n<e.length;n++)\"1\"==e.substr(n,1)&&r.push(on.KEYUSAGE_NAME[n]);return r.join(\",\")},this.getExtSubjectKeyIdentifier=function(t,e){if(void 0===t&&void 0===e){var r=this.getExtInfo(\"subjectKeyIdentifier\");if(void 0===r)return;t=o(this.hex,r.vidx),e=r.critical}var n={extname:\"subjectKeyIdentifier\"};e&&(n.critical=!0);var s=i(t,0);return n.kid={hex:s},n},this.getExtAuthorityKeyIdentifier=function(t,e){if(void 0===t&&void 0===e){var r=this.getExtInfo(\"authorityKeyIdentifier\");if(void 0===r)return;t=o(this.hex,r.vidx),e=r.critical}var s={extname:\"authorityKeyIdentifier\"};e&&(s.critical=!0);for(var a=n(t,0),u=0;u<a.length;u++){var c=t.substr(a[u],2);if(\"80\"===c&&(s.kid={hex:i(t,a[u])}),\"a1\"===c){var h=o(t,a[u]),l=this.getGeneralNames(h);s.issuer=l[0].dn}\"82\"===c&&(s.sn={hex:i(t,a[u])})}return s},this.getExtExtKeyUsage=function(t,e){if(void 0===t&&void 0===e){var r=this.getExtInfo(\"extKeyUsage\");if(void 0===r)return;t=o(this.hex,r.vidx),e=r.critical}var s={extname:\"extKeyUsage\",array:[]};e&&(s.critical=!0);for(var a=n(t,0),u=0;u<a.length;u++)s.array.push(g(i(t,a[u])));return s},this.getExtExtKeyUsageName=function(){var t=this.getExtInfo(\"extKeyUsage\");if(void 0===t)return t;var e=new Array,r=o(this.hex,t.vidx);if(\"\"===r)return e;for(var s=n(r,0),a=0;a<s.length;a++)e.push(g(i(r,s[a])));return e},this.getExtSubjectAltName=function(t,e){if(void 0===t&&void 0===e){var r=this.getExtInfo(\"subjectAltName\");if(void 0===r)return;t=o(this.hex,r.vidx),e=r.critical}var n={extname:\"subjectAltName\",array:[]};return e&&(n.critical=!0),n.array=this.getGeneralNames(t),n},this.getExtIssuerAltName=function(t,e){if(void 0===t&&void 0===e){var r=this.getExtInfo(\"issuerAltName\");if(void 0===r)return;t=o(this.hex,r.vidx),e=r.critical}var n={extname:\"issuerAltName\",array:[]};return e&&(n.critical=!0),n.array=this.getGeneralNames(t),n},this.getGeneralNames=function(t){for(var e=n(t,0),r=[],i=0;i<e.length;i++){var s=this.getGeneralName(o(t,e[i]));void 0!==s&&r.push(s)}return r},this.getGeneralName=function(t){var e=t.substr(0,2),r=i(t,0),n=Nr(r);return\"81\"==e?{rfc822:n}:\"82\"==e?{dns:n}:\"86\"==e?{uri:n}:\"87\"==e?{ip:Yr(r)}:\"a4\"==e?{dn:this.getX500Name(r)}:void 0},this.getExtSubjectAltName2=function(){var t,e,r,s=this.getExtInfo(\"subjectAltName\");if(void 0===s)return s;for(var a=new Array,u=o(this.hex,s.vidx),c=n(u,0),h=0;h<c.length;h++)r=u.substr(c[h],2),t=i(u,c[h]),\"81\"===r&&(e=Lr(t),a.push([\"MAIL\",e])),\"82\"===r&&(e=Lr(t),a.push([\"DNS\",e])),\"84\"===r&&(e=on.hex2dn(t,0),a.push([\"DN\",e])),\"86\"===r&&(e=Lr(t),a.push([\"URI\",e])),\"87\"===r&&(e=Yr(t),a.push([\"IP\",e]));return a},this.getExtCRLDistributionPoints=function(t,e){if(void 0===t&&void 0===e){var r=this.getExtInfo(\"cRLDistributionPoints\");if(void 0===r)return;t=o(this.hex,r.vidx),e=r.critical}var i={extname:\"cRLDistributionPoints\",array:[]};e&&(i.critical=!0);for(var s=n(t,0),a=0;a<s.length;a++){var u=o(t,s[a]);i.array.push(this.getDistributionPoint(u))}return i},this.getDistributionPoint=function(t){for(var e={},r=n(t,0),i=0;i<r.length;i++){var s=t.substr(r[i],2),a=o(t,r[i]);\"a0\"==s&&(e.dpname=this.getDistributionPointName(a))}return e},this.getDistributionPointName=function(t){for(var e={},r=n(t,0),i=0;i<r.length;i++){var s=t.substr(r[i],2),a=o(t,r[i]);\"a0\"==s&&(e.full=this.getGeneralNames(a))}return e},this.getExtCRLDistributionPointsURI=function(){var t=this.getExtInfo(\"cRLDistributionPoints\");if(void 0===t)return t;for(var e=new Array,r=n(this.hex,t.vidx),i=0;i<r.length;i++)try{var o=Lr(s(this.hex,r[i],[0,0,0],\"86\"));e.push(o)}catch(t){}return e},this.getExtAIAInfo=function(){var t=this.getExtInfo(\"authorityInfoAccess\");if(void 0===t)return t;for(var e={ocsp:[],caissuer:[]},r=n(this.hex,t.vidx),i=0;i<r.length;i++){var o=s(this.hex,r[i],[0],\"06\"),a=s(this.hex,r[i],[1],\"86\");\"2b06010505073001\"===o&&e.ocsp.push(Lr(a)),\"2b06010505073002\"===o&&e.caissuer.push(Lr(a))}return e},this.getExtAuthorityInfoAccess=function(t,e){if(void 0===t&&void 0===e){var r=this.getExtInfo(\"authorityInfoAccess\");if(void 0===r)return;t=o(this.hex,r.vidx),e=r.critical}var i={extname:\"authorityInfoAccess\",array:[]};e&&(i.critical=!0);for(var u=n(t,0),c=0;c<u.length;c++){var h=a(t,u[c],[0],\"06\"),l=Lr(s(t,u[c],[1],\"86\"));if(\"2b06010505073001\"==h)i.array.push({ocsp:l});else{if(\"2b06010505073002\"!=h)throw new Error(\"unknown method: \"+h);i.array.push({caissuer:l})}}return i},this.getExtCertificatePolicies=function(t,e){if(void 0===t&&void 0===e){var r=this.getExtInfo(\"certificatePolicies\");if(void 0===r)return;t=o(this.hex,r.vidx),e=r.critical}var i={extname:\"certificatePolicies\",array:[]};e&&(i.critical=!0);for(var s=n(t,0),a=0;a<s.length;a++){var u=o(t,s[a]),c=this.getPolicyInformation(u);i.array.push(c)}return i},this.getPolicyInformation=function(t){var e={},r=s(t,0,[0],\"06\");e.policyoid=g(r);var i=l(t,0,[1],\"30\");if(-1!=i){e.array=[];for(var a=n(t,i),u=0;u<a.length;u++){var c=o(t,a[u]),h=this.getPolicyQualifierInfo(c);e.array.push(h)}}return e},this.getPolicyQualifierInfo=function(t){var e={},r=s(t,0,[0],\"06\");if(\"2b06010505070201\"===r){var n=a(t,0,[1],\"16\");e.cps=Nr(n)}else if(\"2b06010505070202\"===r){var i=u(t,0,[1],\"30\");e.unotice=this.getUserNotice(i)}return e},this.getUserNotice=function(t){for(var e={},r=n(t,0),i=0;i<r.length;i++){var s=o(t,r[i]);\"30\"!=s.substr(0,2)&&(e.exptext=this.getDisplayText(s))}return e},this.getDisplayText=function(t){var e={};return e.type={\"0c\":\"utf8\",16:\"ia5\",\"1a\":\"vis\",\"1e\":\"bmp\"}[t.substr(0,2)],e.str=Nr(i(t,0)),e},this.getExtCRLNumber=function(t,e){var r={extname:\"cRLNumber\"};if(e&&(r.critical=!0),\"02\"==t.substr(0,2))return r.num={hex:i(t,0)},r;throw new Error(\"hExtV parse error: \"+t)},this.getExtCRLReason=function(t,e){var r={extname:\"cRLReason\"};if(e&&(r.critical=!0),\"0a\"==t.substr(0,2))return r.code=parseInt(i(t,0),16),r;throw new Error(\"hExtV parse error: \"+t)},this.getExtOcspNonce=function(t,e){var r={extname:\"ocspNonce\"};e&&(r.critical=!0);var n=i(t,0);return r.hex=n,r},this.getExtOcspNoCheck=function(t,e){var r={extname:\"ocspNoCheck\"};return e&&(r.critical=!0),r},this.getExtAdobeTimeStamp=function(t,e){if(void 0===t&&void 0===e){var r=this.getExtInfo(\"adobeTimeStamp\");if(void 0===r)return;t=o(this.hex,r.vidx),e=r.critical}var i={extname:\"adobeTimeStamp\"};e&&(i.critical=!0);var s=n(t,0);if(s.length>1){var a=o(t,s[1]),u=this.getGeneralName(a);null!=u.uri&&(i.uri=u.uri)}if(s.length>2){var c=o(t,s[2]);\"0101ff\"==c&&(i.reqauth=!0),\"010100\"==c&&(i.reqauth=!1)}return i},this.getX500NameRule=function(t){for(var e=null,r=[],n=0;n<t.length;n++)for(var i=t[n],o=0;o<i.length;o++)r.push(i[o]);for(n=0;n<r.length;n++){var s=r[n],a=s.ds,u=s.value,c=s.type;if(\":\"+a,\"prn\"!=a&&\"utf8\"!=a&&\"ia5\"!=a)return\"mixed\";if(\"ia5\"==a){if(\"CN\"!=c)return\"mixed\";if(br.lang.String.isMail(u))continue;return\"mixed\"}if(\"C\"==c){if(\"prn\"==a)continue;return\"mixed\"}if(\":\"+a,null==e)e=a;else if(e!==a)return\"mixed\"}return null==e?\"prn\":e},this.getX500Name=function(t){var e=this.getX500NameArray(t);return{array:e,str:this.dnarraytostr(e)}},this.getX500NameArray=function(t){for(var e=[],r=n(t,0),i=0;i<r.length;i++)e.push(this.getRDN(o(t,r[i])));return e},this.getRDN=function(t){for(var e=[],r=n(t,0),i=0;i<r.length;i++)e.push(this.getAttrTypeAndValue(o(t,r[i])));return e},this.getAttrTypeAndValue=function(t){var e={type:null,value:null,ds:null},r=n(t,0),i=s(t,r[0],[],\"06\"),o=s(t,r[1],[]),a=br.asn1.ASN1Util.oidHexToInt(i);return e.type=br.asn1.x509.OID.oid2atype(a),e.value=Nr(o),e.ds=this.HEX2STAG[t.substr(r[1],2)],e},this.readCertPEM=function(t){this.readCertHex(v(t))},this.readCertHex=function(t){this.hex=t,this.getVersion();try{h(this.hex,0,[0,7],\"a3\"),this.parseExt()}catch(t){}},this.getParam=function(){var t={};return t.version=this.getVersion(),t.serial={hex:this.getSerialNumberHex()},t.sigalg=this.getSignatureAlgorithmField(),t.issuer=this.getIssuer(),t.notbefore=this.getNotBefore(),t.notafter=this.getNotAfter(),t.subject=this.getSubject(),t.sbjpubkey=Mr(this.getPublicKeyHex(),\"PUBLIC KEY\"),this.aExtInfo.length>0&&(t.ext=this.getExtParamArray()),t.sighex=this.getSignatureValueHex(),t},this.getExtParamArray=function(t){null==t&&(-1!=l(this.hex,0,[0,\"[3]\"])&&(t=c(this.hex,0,[0,\"[3]\",0],\"30\")));for(var e=[],r=n(t,0),i=0;i<r.length;i++){var s=o(t,r[i]),a=this.getExtParam(s);null!=a&&e.push(a)}return e},this.getExtParam=function(t){var e=n(t,0).length;if(2!=e&&3!=e)throw new Error(\"wrong number elements in Extension: \"+e+\" \"+t);var r=d(s(t,0,[0],\"06\")),i=!1;3==e&&\"0101ff\"==u(t,0,[1])&&(i=!0);var o=u(t,0,[e-1,0]),a=void 0;if(\"2.5.29.14\"==r?a=this.getExtSubjectKeyIdentifier(o,i):\"2.5.29.15\"==r?a=this.getExtKeyUsage(o,i):\"2.5.29.17\"==r?a=this.getExtSubjectAltName(o,i):\"2.5.29.18\"==r?a=this.getExtIssuerAltName(o,i):\"2.5.29.19\"==r?a=this.getExtBasicConstraints(o,i):\"2.5.29.31\"==r?a=this.getExtCRLDistributionPoints(o,i):\"2.5.29.32\"==r?a=this.getExtCertificatePolicies(o,i):\"2.5.29.35\"==r?a=this.getExtAuthorityKeyIdentifier(o,i):\"2.5.29.37\"==r?a=this.getExtExtKeyUsage(o,i):\"1.3.6.1.5.5.7.1.1\"==r?a=this.getExtAuthorityInfoAccess(o,i):\"2.5.29.20\"==r?a=this.getExtCRLNumber(o,i):\"2.5.29.21\"==r?a=this.getExtCRLReason(o,i):\"1.3.6.1.5.5.7.48.1.2\"==r?a=this.getExtOcspNonce(o,i):\"1.3.6.1.5.5.7.48.1.5\"==r?a=this.getExtOcspNoCheck(o,i):\"1.2.840.113583.1.1.9.1\"==r&&(a=this.getExtAdobeTimeStamp(o,i)),null!=a)return a;var c={extname:r,extn:o};return i&&(c.critical=!0),c},this.findExt=function(t,e){for(var r=0;r<t.length;r++)if(t[r].extname==e)return t[r];return null},this.updateExtCDPFullURI=function(t,e){var r=this.findExt(t,\"cRLDistributionPoints\");if(null!=r&&null!=r.array)for(var n=r.array,i=0;i<n.length;i++)if(null!=n[i].dpname&&null!=n[i].dpname.full)for(var o=n[i].dpname.full,s=0;s<o.length;s++){var a=o[i];null!=a.uri&&(a.uri=e)}},this.updateExtAIAOCSP=function(t,e){var r=this.findExt(t,\"authorityInfoAccess\");if(null!=r&&null!=r.array)for(var n=r.array,i=0;i<n.length;i++)null!=n[i].ocsp&&(n[i].ocsp=e)},this.updateExtAIACAIssuer=function(t,e){var r=this.findExt(t,\"authorityInfoAccess\");if(null!=r&&null!=r.array)for(var n=r.array,i=0;i<n.length;i++)null!=n[i].caissuer&&(n[i].caissuer=e)},this.dnarraytostr=function(t){return\"/\"+t.map((function(t){return function e(t){return t.map((function(t){return function e(t){return t.type+\"=\"+t.value}(t)})).join(\"+\")}(t)})).join(\"/\")},this.getInfo=function(){var t,e,r,n=function t(e){return JSON.stringify(e.array).replace(/[\\[\\]\\{\\}\\\"]/g,\"\")},i=function t(e){for(var r=\"\",n=e.array,i=0;i<n.length;i++){var o=n[i];if(r+=\" policy oid: \"+o.policyoid+\"\\n\",void 0!==o.array)for(var s=0;s<o.array.length;s++){var a=o.array[s];void 0!==a.cps&&(r+=\" cps: \"+a.cps+\"\\n\")}}return r},o=function t(e){for(var r=\"\",n=e.array,i=0;i<n.length;i++){var o=n[i];try{void 0!==o.dpname.full[0].uri&&(r+=\" \"+o.dpname.full[0].uri+\"\\n\")}catch(t){}try{void 0!==o.dname.full[0].dn.hex&&(r+=\" \"+on.hex2dn(o.dpname.full[0].dn.hex)+\"\\n\")}catch(t){}}return r},s=function t(e){for(var r=\"\",n=e.array,i=0;i<n.length;i++){var o=n[i];void 0!==o.caissuer&&(r+=\" caissuer: \"+o.caissuer+\"\\n\"),void 0!==o.ocsp&&(r+=\" ocsp: \"+o.ocsp+\"\\n\")}return r};if(t=\"Basic Fields\\n\",t+=\" serial number: \"+this.getSerialNumberHex()+\"\\n\",t+=\" signature algorithm: \"+this.getSignatureAlgorithmField()+\"\\n\",t+=\" issuer: \"+this.getIssuerString()+\"\\n\",t+=\" notBefore: \"+this.getNotBefore()+\"\\n\",t+=\" notAfter: \"+this.getNotAfter()+\"\\n\",t+=\" subject: \"+this.getSubjectString()+\"\\n\",t+=\" subject public key info: \\n\",t+=\" key algorithm: \"+(e=this.getPublicKey()).type+\"\\n\",\"RSA\"===e.type&&(t+=\" n=\"+$r(e.n.toString(16)).substr(0,16)+\"...\\n\",t+=\" e=\"+$r(e.e.toString(16))+\"\\n\"),null!=(r=this.aExtInfo)){t+=\"X509v3 Extensions:\\n\";for(var a=0;a<r.length;a++){var u=r[a],c=br.asn1.x509.OID.oid2name(u.oid);\"\"===c&&(c=u.oid);var h=\"\";if(!0===u.critical&&(h=\"CRITICAL\"),t+=\" \"+c+\" \"+h+\":\\n\",\"basicConstraints\"===c){var l=this.getExtBasicConstraints();void 0===l.cA?t+=\" {}\\n\":(t+=\" cA=true\",void 0!==l.pathLen&&(t+=\", pathLen=\"+l.pathLen),t+=\"\\n\")}else if(\"keyUsage\"===c)t+=\" \"+this.getExtKeyUsageString()+\"\\n\";else if(\"subjectKeyIdentifier\"===c)t+=\" \"+this.getExtSubjectKeyIdentifier().kid.hex+\"\\n\";else if(\"authorityKeyIdentifier\"===c){var f=this.getExtAuthorityKeyIdentifier();void 0!==f.kid&&(t+=\" kid=\"+f.kid.hex+\"\\n\")}else{if(\"extKeyUsage\"===c)t+=\" \"+this.getExtExtKeyUsage().array.join(\", \")+\"\\n\";else if(\"subjectAltName\"===c)t+=\" \"+n(this.getExtSubjectAltName())+\"\\n\";else if(\"cRLDistributionPoints\"===c)t+=o(this.getExtCRLDistributionPoints());else if(\"authorityInfoAccess\"===c)t+=s(this.getExtAuthorityInfoAccess());else\"certificatePolicies\"===c&&(t+=i(this.getExtCertificatePolicies()))}}}return t+=\"signature algorithm: \"+this.getSignatureAlgorithmName()+\"\\n\",t+=\"signature: \"+this.getSignatureValueHex().substr(0,16)+\"...\\n\"},\"string\"==typeof t&&(-1!=t.indexOf(\"-----BEGIN\")?this.readCertPEM(t):br.lang.String.isHex(t)&&this.readCertHex(t))}He.prototype.sign=function(t,e){var r=function t(r){return br.crypto.Util.hashString(r,e)}(t);return this.signWithMessageHash(r,e)},He.prototype.signWithMessageHash=function(t,e){var r=je(br.crypto.Util.getPaddedDigestInfoHex(t,e,this.n.bitLength()),16);return en(this.doPrivate(r).toString(16),this.n.bitLength())},He.prototype.signPSS=function(t,e,r){var n=function t(r){return br.crypto.Util.hashHex(r,e)}(Ur(t));return void 0===r&&(r=-1),this.signWithMessageHashPSS(n,e,r)},He.prototype.signWithMessageHashPSS=function(t,e,r){var n,i=Nr(t),o=i.length,s=this.n.bitLength()-1,a=Math.ceil(s/8),u=function t(r){return br.crypto.Util.hashHex(r,e)};if(-1===r||void 0===r)r=o;else if(-2===r)r=a-o-2;else if(r<-2)throw new Error(\"invalid salt length\");if(a<o+r+2)throw new Error(\"data too long\");var c=\"\";r>0&&(c=new Array(r),(new Oe).nextBytes(c),c=String.fromCharCode.apply(String,c));var h=Nr(u(Ur(\"\\0\\0\\0\\0\\0\\0\\0\\0\"+i+c))),l=[];for(n=0;n<a-r-o-2;n+=1)l[n]=0;var f=String.fromCharCode.apply(String,l)+\"\u0001\"+c,g=rn(h,f.length,u),d=[];for(n=0;n<f.length;n+=1)d[n]=f.charCodeAt(n)^g.charCodeAt(n);var p=65280>>8*a-s&255;for(d[0]&=~p,n=0;n<o;n++)d.push(h.charCodeAt(n));return d.push(188),en(this.doPrivate(new F(d)).toString(16),this.n.bitLength())},He.prototype.verify=function(t,e){var r=je(e=(e=e.replace(tn,\"\")).replace(/[ \\n]+/g,\"\"),16);if(r.bitLength()>this.n.bitLength())return 0;var n=nn(this.doPublic(r).toString(16).replace(/^1f+00/,\"\"));if(0==n.length)return!1;var i=n[0];return n[1]==function t(e){return br.crypto.Util.hashString(e,i)}(t)},He.prototype.verifyWithMessageHash=function(t,e){if(e.length!=Math.ceil(this.n.bitLength()/4))return!1;var r=je(e,16);if(r.bitLength()>this.n.bitLength())return 0;var n=nn(this.doPublic(r).toString(16).replace(/^1f+00/,\"\"));if(0==n.length)return!1;n[0];return n[1]==t},He.prototype.verifyPSS=function(t,e,r,n){var i=function t(e){return br.crypto.Util.hashHex(e,r)}(Ur(t));return void 0===n&&(n=-1),this.verifyWithMessageHashPSS(i,e,r,n)},He.prototype.verifyWithMessageHashPSS=function(t,e,r,n){if(e.length!=Math.ceil(this.n.bitLength()/4))return!1;var i,o=new F(e,16),s=function t(e){return br.crypto.Util.hashHex(e,r)},a=Nr(t),u=a.length,c=this.n.bitLength()-1,h=Math.ceil(c/8);if(-1===n||void 0===n)n=u;else if(-2===n)n=h-u-2;else if(n<-2)throw new Error(\"invalid salt length\");if(h<u+n+2)throw new Error(\"data too long\");var l=this.doPublic(o).toByteArray();for(i=0;i<l.length;i+=1)l[i]&=255;for(;l.length<h;)l.unshift(0);if(188!==l[h-1])throw new Error(\"encoded message does not end in 0xbc\");var f=(l=String.fromCharCode.apply(String,l)).substr(0,h-u-1),g=l.substr(f.length,u),d=65280>>8*h-c&255;if(0!=(f.charCodeAt(0)&d))throw new Error(\"bits beyond keysize not zero\");var p=rn(g,f.length,s),v=[];for(i=0;i<f.length;i+=1)v[i]=f.charCodeAt(i)^p.charCodeAt(i);v[0]&=~d;var y=h-u-n-2;for(i=0;i<y;i+=1)if(0!==v[i])throw new Error(\"leftmost octets not zero\");if(1!==v[y])throw new Error(\"0x01 marker not found\");return g===Nr(s(Ur(\"\\0\\0\\0\\0\\0\\0\\0\\0\"+a+String.fromCharCode.apply(String,v.slice(-n)))))},He.SALT_LEN_HLEN=-1,He.SALT_LEN_MAX=-2,He.SALT_LEN_RECOVER=-2,on.hex2dn=function(t,e){if(void 0===e&&(e=0),\"30\"!==t.substr(e,2))throw new Error(\"malformed DN\");for(var r=new Array,n=Er.getChildIdx(t,e),i=0;i<n.length;i++)r.push(on.hex2rdn(t,n[i]));return\"/\"+(r=r.map((function(t){return t.replace(\"/\",\"\\\\/\")}))).join(\"/\")},on.hex2rdn=function(t,e){if(void 0===e&&(e=0),\"31\"!==t.substr(e,2))throw new Error(\"malformed RDN\");for(var r=new Array,n=Er.getChildIdx(t,e),i=0;i<n.length;i++)r.push(on.hex2attrTypeValue(t,n[i]));return(r=r.map((function(t){return t.replace(\"+\",\"\\\\+\")}))).join(\"+\")},on.hex2attrTypeValue=function(t,e){var r=Er,n=r.getV;if(void 0===e&&(e=0),\"30\"!==t.substr(e,2))throw new Error(\"malformed attribute type and value\");var i=r.getChildIdx(t,e);2!==i.length||t.substr(i[0],2);var o=n(t,i[0]),s=br.asn1.ASN1Util.oidHexToInt(o);return br.asn1.x509.OID.oid2atype(s)+\"=\"+Nr(n(t,i[1]))},on.getPublicKeyFromCertHex=function(t){var e=new on;return e.readCertHex(t),e.getPublicKey()},on.getPublicKeyFromCertPEM=function(t){var e=new on;return e.readCertPEM(t),e.getPublicKey()},on.getPublicKeyInfoPropOfCertPEM=function(t){var e,r,n=Er.getVbyList,i={};return i.algparam=null,(e=new on).readCertPEM(t),r=e.getPublicKeyHex(),i.keyhex=n(r,0,[1],\"03\").substr(2),i.algoid=n(r,0,[0,0],\"06\"),\"2a8648ce3d0201\"===i.algoid&&(i.algparam=n(r,0,[0,1],\"06\")),i},on.KEYUSAGE_NAME=[\"digitalSignature\",\"nonRepudiation\",\"keyEncipherment\",\"dataEncipherment\",\"keyAgreement\",\"keyCertSign\",\"cRLSign\",\"encipherOnly\",\"decipherOnly\"],void 0!==br&&br||(e.KJUR=br={}),void 0!==br.jws&&br.jws||(br.jws={}),br.jws.JWS=function(){var t=br.jws.JWS.isSafeJSONString;this.parseJWS=function(e,r){if(void 0===this.parsedJWS||!r&&void 0===this.parsedJWS.sigvalH){var n=e.match(/^([^.]+)\\.([^.]+)\\.([^.]+)$/);if(null==n)throw\"JWS signature is not a form of 'Head.Payload.SigValue'.\";var i=n[1],o=n[2],s=n[3],a=i+\".\"+o;if(this.parsedJWS={},this.parsedJWS.headB64U=i,this.parsedJWS.payloadB64U=o,this.parsedJWS.sigvalB64U=s,this.parsedJWS.si=a,!r){var u=Ir(s),c=je(u,16);this.parsedJWS.sigvalH=u,this.parsedJWS.sigvalBI=c}var h=Fr(i),l=Fr(o);if(this.parsedJWS.headS=h,this.parsedJWS.payloadS=l,!t(h,this.parsedJWS,\"headP\"))throw\"malformed JSON string for JWS Head: \"+h}}},br.jws.JWS.sign=function(t,e,n,i,o){var s,a,u,c=br,h=c.jws.JWS,l=h.readSafeJSONString,f=h.isSafeJSONString,g=c.crypto,d=(g.ECDSA,g.Mac),p=g.Signature,v=JSON;if(\"string\"!=typeof e&&\"object\"!=(void 0===e?\"undefined\":r(e)))throw\"spHeader must be JSON string or object: \"+e;if(\"object\"==(void 0===e?\"undefined\":r(e))&&(a=e,s=v.stringify(a)),\"string\"==typeof e){if(!f(s=e))throw\"JWS Head is not safe JSON string: \"+s;a=l(s)}if(u=n,\"object\"==(void 0===n?\"undefined\":r(n))&&(u=v.stringify(n)),\"\"!=t&&null!=t||void 0===a.alg||(t=a.alg),\"\"!=t&&null!=t&&void 0===a.alg&&(a.alg=t,s=v.stringify(a)),t!==a.alg)throw\"alg and sHeader.alg doesn't match: \"+t+\"!=\"+a.alg;var y=null;if(void 0===h.jwsalg2sigalg[t])throw\"unsupported alg name: \"+t;y=h.jwsalg2sigalg[t];var m=wr(s)+\".\"+wr(u),_=\"\";if(\"Hmac\"==y.substr(0,4)){if(void 0===i)throw\"mac key shall be specified for HS* alg\";var S=new d({alg:y,prov:\"cryptojs\",pass:i});S.updateString(m),_=S.doFinal()}else if(-1!=y.indexOf(\"withECDSA\")){(w=new p({alg:y})).init(i,o),w.updateString(m);var b=w.sign();_=br.crypto.ECDSA.asn1SigToConcatSig(b)}else{var w;if(\"none\"!=y)(w=new p({alg:y})).init(i,o),w.updateString(m),_=w.sign()}return m+\".\"+Rr(_)},br.jws.JWS.verify=function(t,e,n){var i,o=br,s=o.jws.JWS,a=s.readSafeJSONString,u=o.crypto,c=u.ECDSA,h=u.Mac,l=u.Signature;void 0!==r(He)&&(i=He);var f=t.split(\".\");if(3!==f.length)return!1;var g=f[0]+\".\"+f[1],d=Ir(f[2]),p=a(Fr(f[0])),v=null,y=null;if(void 0===p.alg)throw\"algorithm not specified in header\";if((y=(v=p.alg).substr(0,2),null!=n&&\"[object Array]\"===Object.prototype.toString.call(n)&&n.length>0)&&-1==(\":\"+n.join(\":\")+\":\").indexOf(\":\"+v+\":\"))throw\"algorithm '\"+v+\"' not accepted in the list\";if(\"none\"!=v&&null===e)throw\"key shall be specified to verify.\";if(\"string\"==typeof e&&-1!=e.indexOf(\"-----BEGIN \")&&(e=Zr.getKey(e)),!(\"RS\"!=y&&\"PS\"!=y||e instanceof i))throw\"key shall be a RSAKey obj for RS* and PS* algs\";if(\"ES\"==y&&!(e instanceof c))throw\"key shall be a ECDSA obj for ES* algs\";var m=null;if(void 0===s.jwsalg2sigalg[p.alg])throw\"unsupported alg name: \"+v;if(\"none\"==(m=s.jwsalg2sigalg[v]))throw\"not supported\";if(\"Hmac\"==m.substr(0,4)){if(void 0===e)throw\"hexadecimal key shall be specified for HMAC\";var _=new h({alg:m,pass:e});return _.updateString(g),d==_.doFinal()}if(-1!=m.indexOf(\"withECDSA\")){var S,b=null;try{b=c.concatSigToASN1Sig(d)}catch(t){return!1}return(S=new l({alg:m})).init(e),S.updateString(g),S.verify(b)}return(S=new l({alg:m})).init(e),S.updateString(g),S.verify(d)},br.jws.JWS.parse=function(t){var e,r,n,i=t.split(\".\"),o={};if(2!=i.length&&3!=i.length)throw\"malformed sJWS: wrong number of '.' splitted elements\";return e=i[0],r=i[1],3==i.length&&(n=i[2]),o.headerObj=br.jws.JWS.readSafeJSONString(Fr(e)),o.payloadObj=br.jws.JWS.readSafeJSONString(Fr(r)),o.headerPP=JSON.stringify(o.headerObj,null,\" \"),null==o.payloadObj?o.payloadPP=Fr(r):o.payloadPP=JSON.stringify(o.payloadObj,null,\" \"),void 0!==n&&(o.sigHex=Ir(n)),o},br.jws.JWS.verifyJWT=function(t,e,n){var i=br.jws,o=i.JWS,s=o.readSafeJSONString,a=o.inArray,u=o.includedArray,c=t.split(\".\"),h=c[0],l=c[1],f=(Ir(c[2]),s(Fr(h))),g=s(Fr(l));if(void 0===f.alg)return!1;if(void 0===n.alg)throw\"acceptField.alg shall be specified\";if(!a(f.alg,n.alg))return!1;if(void 0!==g.iss&&\"object\"===r(n.iss)&&!a(g.iss,n.iss))return!1;if(void 0!==g.sub&&\"object\"===r(n.sub)&&!a(g.sub,n.sub))return!1;if(void 0!==g.aud&&\"object\"===r(n.aud))if(\"string\"==typeof g.aud){if(!a(g.aud,n.aud))return!1}else if(\"object\"==r(g.aud)&&!u(g.aud,n.aud))return!1;var d=i.IntDate.getNow();return void 0!==n.verifyAt&&\"number\"==typeof n.verifyAt&&(d=n.verifyAt),void 0!==n.gracePeriod&&\"number\"==typeof n.gracePeriod||(n.gracePeriod=0),!(void 0!==g.exp&&\"number\"==typeof g.exp&&g.exp+n.gracePeriod<d)&&(!(void 0!==g.nbf&&\"number\"==typeof g.nbf&&d<g.nbf-n.gracePeriod)&&(!(void 0!==g.iat&&\"number\"==typeof g.iat&&d<g.iat-n.gracePeriod)&&((void 0===g.jti||void 0===n.jti||g.jti===n.jti)&&!!o.verify(t,e,n.alg))))},br.jws.JWS.includedArray=function(t,e){var n=br.jws.JWS.inArray;if(null===t)return!1;if(\"object\"!==(void 0===t?\"undefined\":r(t)))return!1;if(\"number\"!=typeof t.length)return!1;for(var i=0;i<t.length;i++)if(!n(t[i],e))return!1;return!0},br.jws.JWS.inArray=function(t,e){if(null===e)return!1;if(\"object\"!==(void 0===e?\"undefined\":r(e)))return!1;if(\"number\"!=typeof e.length)return!1;for(var n=0;n<e.length;n++)if(e[n]==t)return!0;return!1},br.jws.JWS.jwsalg2sigalg={HS256:\"HmacSHA256\",HS384:\"HmacSHA384\",HS512:\"HmacSHA512\",RS256:\"SHA256withRSA\",RS384:\"SHA384withRSA\",RS512:\"SHA512withRSA\",ES256:\"SHA256withECDSA\",ES384:\"SHA384withECDSA\",PS256:\"SHA256withRSAandMGF1\",PS384:\"SHA384withRSAandMGF1\",PS512:\"SHA512withRSAandMGF1\",none:\"none\"},br.jws.JWS.isSafeJSONString=function(t,e,n){var i=null;try{return\"object\"!=(void 0===(i=Sr(t))?\"undefined\":r(i))||i.constructor===Array?0:(e&&(e[n]=i),1)}catch(t){return 0}},br.jws.JWS.readSafeJSONString=function(t){var e=null;try{return\"object\"!=(void 0===(e=Sr(t))?\"undefined\":r(e))||e.constructor===Array?null:e}catch(t){return null}},br.jws.JWS.getEncodedSignatureValueFromJWS=function(t){var e=t.match(/^[^.]+\\.[^.]+\\.([^.]+)$/);if(null==e)throw\"JWS signature is not a form of 'Head.Payload.SigValue'.\";return e[1]},br.jws.JWS.getJWKthumbprint=function(t){if(\"RSA\"!==t.kty&&\"EC\"!==t.kty&&\"oct\"!==t.kty)throw\"unsupported algorithm for JWK Thumprint\";var e=\"{\";if(\"RSA\"===t.kty){if(\"string\"!=typeof t.n||\"string\"!=typeof t.e)throw\"wrong n and e value for RSA key\";e+='\"e\":\"'+t.e+'\",',e+='\"kty\":\"'+t.kty+'\",',e+='\"n\":\"'+t.n+'\"}'}else if(\"EC\"===t.kty){if(\"string\"!=typeof t.crv||\"string\"!=typeof t.x||\"string\"!=typeof t.y)throw\"wrong crv, x and y value for EC key\";e+='\"crv\":\"'+t.crv+'\",',e+='\"kty\":\"'+t.kty+'\",',e+='\"x\":\"'+t.x+'\",',e+='\"y\":\"'+t.y+'\"}'}else if(\"oct\"===t.kty){if(\"string\"!=typeof t.k)throw\"wrong k value for oct(symmetric) key\";e+='\"kty\":\"'+t.kty+'\",',e+='\"k\":\"'+t.k+'\"}'}var r=Ur(e);return Rr(br.crypto.Util.hashHex(r,\"sha256\"))},br.jws.IntDate={},br.jws.IntDate.get=function(t){var e=br.jws.IntDate,r=e.getNow,n=e.getZulu;if(\"now\"==t)return r();if(\"now + 1hour\"==t)return r()+3600;if(\"now + 1day\"==t)return r()+86400;if(\"now + 1month\"==t)return r()+2592e3;if(\"now + 1year\"==t)return r()+31536e3;if(t.match(/Z$/))return n(t);if(t.match(/^[0-9]+$/))return parseInt(t);throw\"unsupported format: \"+t},br.jws.IntDate.getZulu=function(t){return Kr(t)},br.jws.IntDate.getNow=function(){return~~(new Date/1e3)},br.jws.IntDate.intDate2UTCString=function(t){return new Date(1e3*t).toUTCString()},br.jws.IntDate.intDate2Zulu=function(t){var e=new Date(1e3*t);return(\"0000\"+e.getUTCFullYear()).slice(-4)+(\"00\"+(e.getUTCMonth()+1)).slice(-2)+(\"00\"+e.getUTCDate()).slice(-2)+(\"00\"+e.getUTCHours()).slice(-2)+(\"00\"+e.getUTCMinutes()).slice(-2)+(\"00\"+e.getUTCSeconds()).slice(-2)+\"Z\"},e.SecureRandom=Oe,e.rng_seed_time=Ie,e.BigInteger=F,e.RSAKey=He;var sn=br.crypto.EDSA;e.EDSA=sn;var an=br.crypto.DSA;e.DSA=an;var un=br.crypto.Signature;e.Signature=un;var cn=br.crypto.MessageDigest;e.MessageDigest=cn;var hn=br.crypto.Mac;e.Mac=hn;var ln=br.crypto.Cipher;e.Cipher=ln,e.KEYUTIL=Zr,e.ASN1HEX=Er,e.X509=on,e.CryptoJS=y,e.b64tohex=b,e.b64toBA=w,e.stoBA=xr,e.BAtos=Ar,e.BAtohex=kr,e.stohex=Pr,e.stob64=function fn(t){return S(Pr(t))},e.stob64u=function gn(t){return Cr(S(Pr(t)))},e.b64utos=function dn(t){return Ar(w(Tr(t)))},e.b64tob64u=Cr,e.b64utob64=Tr,e.hex2b64=S,e.hextob64u=Rr,e.b64utohex=Ir,e.utf8tob64u=wr,e.b64utoutf8=Fr,e.utf8tob64=function pn(t){return S(qr(Gr(t)))},e.b64toutf8=function vn(t){return decodeURIComponent(Jr(b(t)))},e.utf8tohex=Dr,e.hextoutf8=Lr,e.hextorstr=Nr,e.rstrtohex=Ur,e.hextob64=Br,e.hextob64nl=Or,e.b64nltohex=jr,e.hextopem=Mr,e.pemtohex=Hr,e.hextoArrayBuffer=function yn(t){if(t.length%2!=0)throw\"input is not even length\";if(null==t.match(/^[0-9A-Fa-f]+$/))throw\"input is not hexadecimal\";for(var e=new ArrayBuffer(t.length/2),r=new DataView(e),n=0;n<t.length/2;n++)r.setUint8(n,parseInt(t.substr(2*n,2),16));return e},e.ArrayBuffertohex=function mn(t){for(var e=\"\",r=new DataView(t),n=0;n<t.byteLength;n++)e+=(\"00\"+r.getUint8(n).toString(16)).slice(-2);return e},e.zulutomsec=Vr,e.zulutosec=Kr,e.zulutodate=function _n(t){return new Date(Vr(t))},e.datetozulu=function Sn(t,e,r){var n,i=t.getUTCFullYear();if(e){if(i<1950||2049<i)throw\"not proper year for UTCTime: \"+i;n=(\"\"+i).slice(-2)}else n=(\"000\"+i).slice(-4);if(n+=(\"0\"+(t.getUTCMonth()+1)).slice(-2),n+=(\"0\"+t.getUTCDate()).slice(-2),n+=(\"0\"+t.getUTCHours()).slice(-2),n+=(\"0\"+t.getUTCMinutes()).slice(-2),n+=(\"0\"+t.getUTCSeconds()).slice(-2),r){var o=t.getUTCMilliseconds();0!==o&&(n+=\".\"+(o=(o=(\"00\"+o).slice(-3)).replace(/0+$/g,\"\")))}return n+=\"Z\"},e.uricmptohex=qr,e.hextouricmp=Jr,e.ipv6tohex=Wr,e.hextoipv6=zr,e.hextoip=Yr,e.iptohex=function bn(t){var e=\"malformed IP address\";if(!(t=t.toLowerCase(t)).match(/^[0-9.]+$/)){if(t.match(/^[0-9a-f:]+$/)&&-1!==t.indexOf(\":\"))return Wr(t);throw e}var r=t.split(\".\");if(4!==r.length)throw e;var n=\"\";try{for(var i=0;i<4;i++){n+=(\"0\"+parseInt(r[i]).toString(16)).slice(-2)}return n}catch(t){throw e}},e.encodeURIComponentAll=Gr,e.newline_toUnix=function wn(t){return t=t.replace(/\\r\\n/gm,\"\\n\")},e.newline_toDos=function Fn(t){return t=(t=t.replace(/\\r\\n/gm,\"\\n\")).replace(/\\n/gm,\"\\r\\n\")},e.hextoposhex=$r,e.intarystrtohex=function En(t){t=(t=(t=t.replace(/^\\s*\\[\\s*/,\"\")).replace(/\\s*\\]\\s*$/,\"\")).replace(/\\s*/g,\"\");try{return t.split(/,/).map((function(t,e,r){var n=parseInt(t);if(n<0||255<n)throw\"integer not in range 0-255\";return(\"00\"+n.toString(16)).slice(-2)})).join(\"\")}catch(t){throw\"malformed integer array string: \"+t}},e.strdiffidx=function t(e,r){var n=e.length;e.length>r.length&&(n=r.length);for(var i=0;i<n;i++)if(e.charCodeAt(i)!=r.charCodeAt(i))return i;return e.length!=r.length?n:-1},e.KJUR=br;var xn=br.crypto;e.crypto=xn;var An=br.asn1;e.asn1=An;var kn=br.jws;e.jws=kn;var Pn=br.lang;e.lang=Pn}).call(this,r(28).Buffer)},function(t,e,r){\"use strict\";(function(t){\n/*!\n * The buffer module from node.js, for the browser.\n *\n * @author Feross Aboukhadijeh <http://feross.org>\n * @license MIT\n */\nvar n=r(30),i=r(31),o=r(32);function s(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(t,e){if(s()<e)throw new RangeError(\"Invalid typed array length\");return u.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=u.prototype:(null===t&&(t=new u(e)),t.length=e),t}function u(t,e,r){if(!(u.TYPED_ARRAY_SUPPORT||this instanceof u))return new u(t,e,r);if(\"number\"==typeof t){if(\"string\"==typeof e)throw new Error(\"If encoding is specified then the first argument must be a string\");return l(this,t)}return c(this,t,e,r)}function c(t,e,r,n){if(\"number\"==typeof e)throw new TypeError('\"value\" argument must not be a number');return\"undefined\"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function i(t,e,r,n){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError(\"'offset' is out of bounds\");if(e.byteLength<r+(n||0))throw new RangeError(\"'length' is out of bounds\");e=void 0===r&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,r):new Uint8Array(e,r,n);u.TYPED_ARRAY_SUPPORT?(t=e).__proto__=u.prototype:t=f(t,e);return t}(t,e,r,n):\"string\"==typeof e?function s(t,e,r){\"string\"==typeof r&&\"\"!==r||(r=\"utf8\");if(!u.isEncoding(r))throw new TypeError('\"encoding\" must be a valid string encoding');var n=0|d(e,r),i=(t=a(t,n)).write(e,r);i!==n&&(t=t.slice(0,i));return t}(t,e,r):function c(t,e){if(u.isBuffer(e)){var r=0|g(e.length);return 0===(t=a(t,r)).length||e.copy(t,0,0,r),t}if(e){if(\"undefined\"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||\"length\"in e)return\"number\"!=typeof e.length||function n(t){return t!=t}(e.length)?a(t,0):f(t,e);if(\"Buffer\"===e.type&&o(e.data))return f(t,e.data)}throw new TypeError(\"First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.\")}(t,e)}function h(t){if(\"number\"!=typeof t)throw new TypeError('\"size\" argument must be a number');if(t<0)throw new RangeError('\"size\" argument must not be negative')}function l(t,e){if(h(e),t=a(t,e<0?0:0|g(e)),!u.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function f(t,e){var r=e.length<0?0:0|g(e.length);t=a(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function g(t){if(t>=s())throw new RangeError(\"Attempt to allocate Buffer larger than maximum size: 0x\"+s().toString(16)+\" bytes\");return 0|t}function d(t,e){if(u.isBuffer(t))return t.length;if(\"undefined\"!=typeof ArrayBuffer&&\"function\"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;\"string\"!=typeof t&&(t=\"\"+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case\"ascii\":case\"latin1\":case\"binary\":return r;case\"utf8\":case\"utf-8\":case void 0:return K(t).length;case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return 2*r;case\"hex\":return r>>>1;case\"base64\":return q(t).length;default:if(n)return K(t).length;e=(\"\"+e).toLowerCase(),n=!0}}function p(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return\"\";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return\"\";if((r>>>=0)<=(e>>>=0))return\"\";for(t||(t=\"utf8\");;)switch(t){case\"hex\":return I(this,e,r);case\"utf8\":case\"utf-8\":return A(this,e,r);case\"ascii\":return T(this,e,r);case\"latin1\":case\"binary\":return R(this,e,r);case\"base64\":return x(this,e,r);case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return D(this,e,r);default:if(n)throw new TypeError(\"Unknown encoding: \"+t);t=(t+\"\").toLowerCase(),n=!0}}function v(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function y(t,e,r,n,i){if(0===t.length)return-1;if(\"string\"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0){if(!i)return-1;r=0}if(\"string\"==typeof e&&(e=u.from(e,n)),u.isBuffer(e))return 0===e.length?-1:m(t,e,r,n,i);if(\"number\"==typeof e)return e&=255,u.TYPED_ARRAY_SUPPORT&&\"function\"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):m(t,[e],r,n,i);throw new TypeError(\"val must be string, number or Buffer\")}function m(t,e,r,n,i){var o,s=1,a=t.length,u=e.length;if(void 0!==n&&(\"ucs2\"===(n=String(n).toLowerCase())||\"ucs-2\"===n||\"utf16le\"===n||\"utf-16le\"===n)){if(t.length<2||e.length<2)return-1;s=2,a/=2,u/=2,r/=2}function c(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(i){var h=-1;for(o=r;o<a;o++)if(c(t,o)===c(e,-1===h?0:o-h)){if(-1===h&&(h=o),o-h+1===u)return h*s}else-1!==h&&(o-=o-h),h=-1}else for(r+u>a&&(r=a-u),o=r;o>=0;o--){for(var l=!0,f=0;f<u;f++)if(c(t,o+f)!==c(e,f)){l=!1;break}if(l)return o}return-1}function _(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=e.length;if(o%2!=0)throw new TypeError(\"Invalid hex string\");n>o/2&&(n=o/2);for(var s=0;s<n;++s){var a=parseInt(e.substr(2*s,2),16);if(isNaN(a))return s;t[r+s]=a}return s}function S(t,e,r,n){return J(K(e,t.length-r),t,r,n)}function b(t,e,r,n){return J(function i(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function w(t,e,r,n){return b(t,e,r,n)}function F(t,e,r,n){return J(q(e),t,r,n)}function E(t,e,r,n){return J(function i(t,e){for(var r,n,i,o=[],s=0;s<t.length&&!((e-=2)<0);++s)n=(r=t.charCodeAt(s))>>8,i=r%256,o.push(i),o.push(n);return o}(e,t.length-r),t,r,n)}function x(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function A(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o,s,a,u,c=t[i],h=null,l=c>239?4:c>223?3:c>191?2:1;if(i+l<=r)switch(l){case 1:c<128&&(h=c);break;case 2:128==(192&(o=t[i+1]))&&(u=(31&c)<<6|63&o)>127&&(h=u);break;case 3:o=t[i+1],s=t[i+2],128==(192&o)&&128==(192&s)&&(u=(15&c)<<12|(63&o)<<6|63&s)>2047&&(u<55296||u>57343)&&(h=u);break;case 4:o=t[i+1],s=t[i+2],a=t[i+3],128==(192&o)&&128==(192&s)&&128==(192&a)&&(u=(15&c)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&u<1114112&&(h=u)}null===h?(h=65533,l=1):h>65535&&(h-=65536,n.push(h>>>10&1023|55296),h=56320|1023&h),n.push(h),i+=l}return function f(t){var e=t.length;if(e<=C)return String.fromCharCode.apply(String,t);var r=\"\",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=C));return r}(n)}e.Buffer=u,e.SlowBuffer=function k(t){+t!=t&&(t=0);return u.alloc(+t)},e.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function P(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&\"function\"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=s(),u.poolSize=8192,u._augment=function(t){return t.__proto__=u.prototype,t},u.from=function(t,e,r){return c(null,t,e,r)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,\"undefined\"!=typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(t,e,r){return function n(t,e,r,i){return h(e),e<=0?a(t,e):void 0!==r?\"string\"==typeof i?a(t,e).fill(r,i):a(t,e).fill(r):a(t,e)}(null,t,e,r)},u.allocUnsafe=function(t){return l(null,t)},u.allocUnsafeSlow=function(t){return l(null,t)},u.isBuffer=function t(e){return!(null==e||!e._isBuffer)},u.compare=function t(e,r){if(!u.isBuffer(e)||!u.isBuffer(r))throw new TypeError(\"Arguments must be Buffers\");if(e===r)return 0;for(var n=e.length,i=r.length,o=0,s=Math.min(n,i);o<s;++o)if(e[o]!==r[o]){n=e[o],i=r[o];break}return n<i?-1:i<n?1:0},u.isEncoding=function t(e){switch(String(e).toLowerCase()){case\"hex\":case\"utf8\":case\"utf-8\":case\"ascii\":case\"latin1\":case\"binary\":case\"base64\":case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return!0;default:return!1}},u.concat=function t(e,r){if(!o(e))throw new TypeError('\"list\" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);var n;if(void 0===r)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=u.allocUnsafe(r),s=0;for(n=0;n<e.length;++n){var a=e[n];if(!u.isBuffer(a))throw new TypeError('\"list\" argument must be an Array of Buffers');a.copy(i,s),s+=a.length}return i},u.byteLength=d,u.prototype._isBuffer=!0,u.prototype.swap16=function t(){var e=this.length;if(e%2!=0)throw new RangeError(\"Buffer size must be a multiple of 16-bits\");for(var r=0;r<e;r+=2)v(this,r,r+1);return this},u.prototype.swap32=function t(){var e=this.length;if(e%4!=0)throw new RangeError(\"Buffer size must be a multiple of 32-bits\");for(var r=0;r<e;r+=4)v(this,r,r+3),v(this,r+1,r+2);return this},u.prototype.swap64=function t(){var e=this.length;if(e%8!=0)throw new RangeError(\"Buffer size must be a multiple of 64-bits\");for(var r=0;r<e;r+=8)v(this,r,r+7),v(this,r+1,r+6),v(this,r+2,r+5),v(this,r+3,r+4);return this},u.prototype.toString=function t(){var e=0|this.length;return 0===e?\"\":0===arguments.length?A(this,0,e):p.apply(this,arguments)},u.prototype.equals=function t(e){if(!u.isBuffer(e))throw new TypeError(\"Argument must be a Buffer\");return this===e||0===u.compare(this,e)},u.prototype.inspect=function t(){var r=\"\",n=e.INSPECT_MAX_BYTES;return this.length>0&&(r=this.toString(\"hex\",0,n).match(/.{2}/g).join(\" \"),this.length>n&&(r+=\" ... \")),\"<Buffer \"+r+\">\"},u.prototype.compare=function t(e,r,n,i,o){if(!u.isBuffer(e))throw new TypeError(\"Argument must be a Buffer\");if(void 0===r&&(r=0),void 0===n&&(n=e?e.length:0),void 0===i&&(i=0),void 0===o&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError(\"out of range index\");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(this===e)return 0;for(var s=(o>>>=0)-(i>>>=0),a=(n>>>=0)-(r>>>=0),c=Math.min(s,a),h=this.slice(i,o),l=e.slice(r,n),f=0;f<c;++f)if(h[f]!==l[f]){s=h[f],a=l[f];break}return s<a?-1:a<s?1:0},u.prototype.includes=function t(e,r,n){return-1!==this.indexOf(e,r,n)},u.prototype.indexOf=function t(e,r,n){return y(this,e,r,n,!0)},u.prototype.lastIndexOf=function t(e,r,n){return y(this,e,r,n,!1)},u.prototype.write=function t(e,r,n,i){if(void 0===r)i=\"utf8\",n=this.length,r=0;else if(void 0===n&&\"string\"==typeof r)i=r,n=this.length,r=0;else{if(!isFinite(r))throw new Error(\"Buffer.write(string, encoding, offset[, length]) is no longer supported\");r|=0,isFinite(n)?(n|=0,void 0===i&&(i=\"utf8\")):(i=n,n=void 0)}var o=this.length-r;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError(\"Attempt to write outside buffer bounds\");i||(i=\"utf8\");for(var s=!1;;)switch(i){case\"hex\":return _(this,e,r,n);case\"utf8\":case\"utf-8\":return S(this,e,r,n);case\"ascii\":return b(this,e,r,n);case\"latin1\":case\"binary\":return w(this,e,r,n);case\"base64\":return F(this,e,r,n);case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return E(this,e,r,n);default:if(s)throw new TypeError(\"Unknown encoding: \"+i);i=(\"\"+i).toLowerCase(),s=!0}},u.prototype.toJSON=function t(){return{type:\"Buffer\",data:Array.prototype.slice.call(this._arr||this,0)}};var C=4096;function T(t,e,r){var n=\"\";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(127&t[i]);return n}function R(t,e,r){var n=\"\";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function I(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i=\"\",o=e;o<r;++o)i+=V(t[o]);return i}function D(t,e,r){for(var n=t.slice(e,r),i=\"\",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function L(t,e,r){if(t%1!=0||t<0)throw new RangeError(\"offset is not uint\");if(t+e>r)throw new RangeError(\"Trying to access beyond buffer length\")}function N(t,e,r,n,i,o){if(!u.isBuffer(t))throw new TypeError('\"buffer\" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('\"value\" argument is out of bounds');if(r+n>t.length)throw new RangeError(\"Index out of range\")}function U(t,e,r,n){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-r,2);i<o;++i)t[r+i]=(e&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function B(t,e,r,n){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-r,4);i<o;++i)t[r+i]=e>>>8*(n?i:3-i)&255}function O(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError(\"Index out of range\");if(r<0)throw new RangeError(\"Index out of range\")}function j(t,e,r,n,o){return o||O(t,0,r,4),i.write(t,e,r,n,23,4),r+4}function M(t,e,r,n,o){return o||O(t,0,r,8),i.write(t,e,r,n,52,8),r+8}u.prototype.slice=function t(e,r){var n,i=this.length;if((e=~~e)<0?(e+=i)<0&&(e=0):e>i&&(e=i),(r=void 0===r?i:~~r)<0?(r+=i)<0&&(r=0):r>i&&(r=i),r<e&&(r=e),u.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,r)).__proto__=u.prototype;else{var o=r-e;n=new u(o,void 0);for(var s=0;s<o;++s)n[s]=this[s+e]}return n},u.prototype.readUIntLE=function t(e,r,n){e|=0,r|=0,n||L(e,r,this.length);for(var i=this[e],o=1,s=0;++s<r&&(o*=256);)i+=this[e+s]*o;return i},u.prototype.readUIntBE=function t(e,r,n){e|=0,r|=0,n||L(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i},u.prototype.readUInt8=function t(e,r){return r||L(e,1,this.length),this[e]},u.prototype.readUInt16LE=function t(e,r){return r||L(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function t(e,r){return r||L(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function t(e,r){return r||L(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function t(e,r){return r||L(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function t(e,r,n){e|=0,r|=0,n||L(e,r,this.length);for(var i=this[e],o=1,s=0;++s<r&&(o*=256);)i+=this[e+s]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*r)),i},u.prototype.readIntBE=function t(e,r,n){e|=0,r|=0,n||L(e,r,this.length);for(var i=r,o=1,s=this[e+--i];i>0&&(o*=256);)s+=this[e+--i]*o;return s>=(o*=128)&&(s-=Math.pow(2,8*r)),s},u.prototype.readInt8=function t(e,r){return r||L(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function t(e,r){r||L(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function t(e,r){r||L(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function t(e,r){return r||L(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function t(e,r){return r||L(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function t(e,r){return r||L(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function t(e,r){return r||L(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function t(e,r){return r||L(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function t(e,r){return r||L(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function t(e,r,n,i){(e=+e,r|=0,n|=0,i)||N(this,e,r,n,Math.pow(2,8*n)-1,0);var o=1,s=0;for(this[r]=255&e;++s<n&&(o*=256);)this[r+s]=e/o&255;return r+n},u.prototype.writeUIntBE=function t(e,r,n,i){(e=+e,r|=0,n|=0,i)||N(this,e,r,n,Math.pow(2,8*n)-1,0);var o=n-1,s=1;for(this[r+o]=255&e;--o>=0&&(s*=256);)this[r+o]=e/s&255;return r+n},u.prototype.writeUInt8=function t(e,r,n){return e=+e,r|=0,n||N(this,e,r,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[r]=255&e,r+1},u.prototype.writeUInt16LE=function t(e,r,n){return e=+e,r|=0,n||N(this,e,r,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[r]=255&e,this[r+1]=e>>>8):U(this,e,r,!0),r+2},u.prototype.writeUInt16BE=function t(e,r,n){return e=+e,r|=0,n||N(this,e,r,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[r]=e>>>8,this[r+1]=255&e):U(this,e,r,!1),r+2},u.prototype.writeUInt32LE=function t(e,r,n){return e=+e,r|=0,n||N(this,e,r,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=255&e):B(this,e,r,!0),r+4},u.prototype.writeUInt32BE=function t(e,r,n){return e=+e,r|=0,n||N(this,e,r,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=255&e):B(this,e,r,!1),r+4},u.prototype.writeIntLE=function t(e,r,n,i){if(e=+e,r|=0,!i){var o=Math.pow(2,8*n-1);N(this,e,r,n,o-1,-o)}var s=0,a=1,u=0;for(this[r]=255&e;++s<n&&(a*=256);)e<0&&0===u&&0!==this[r+s-1]&&(u=1),this[r+s]=(e/a>>0)-u&255;return r+n},u.prototype.writeIntBE=function t(e,r,n,i){if(e=+e,r|=0,!i){var o=Math.pow(2,8*n-1);N(this,e,r,n,o-1,-o)}var s=n-1,a=1,u=0;for(this[r+s]=255&e;--s>=0&&(a*=256);)e<0&&0===u&&0!==this[r+s+1]&&(u=1),this[r+s]=(e/a>>0)-u&255;return r+n},u.prototype.writeInt8=function t(e,r,n){return e=+e,r|=0,n||N(this,e,r,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[r]=255&e,r+1},u.prototype.writeInt16LE=function t(e,r,n){return e=+e,r|=0,n||N(this,e,r,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[r]=255&e,this[r+1]=e>>>8):U(this,e,r,!0),r+2},u.prototype.writeInt16BE=function t(e,r,n){return e=+e,r|=0,n||N(this,e,r,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[r]=e>>>8,this[r+1]=255&e):U(this,e,r,!1),r+2},u.prototype.writeInt32LE=function t(e,r,n){return e=+e,r|=0,n||N(this,e,r,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[r]=255&e,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24):B(this,e,r,!0),r+4},u.prototype.writeInt32BE=function t(e,r,n){return e=+e,r|=0,n||N(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=255&e):B(this,e,r,!1),r+4},u.prototype.writeFloatLE=function t(e,r,n){return j(this,e,r,!0,n)},u.prototype.writeFloatBE=function t(e,r,n){return j(this,e,r,!1,n)},u.prototype.writeDoubleLE=function t(e,r,n){return M(this,e,r,!0,n)},u.prototype.writeDoubleBE=function t(e,r,n){return M(this,e,r,!1,n)},u.prototype.copy=function t(e,r,n,i){if(n||(n=0),i||0===i||(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n)return 0;if(0===e.length||0===this.length)return 0;if(r<0)throw new RangeError(\"targetStart out of bounds\");if(n<0||n>=this.length)throw new RangeError(\"sourceStart out of bounds\");if(i<0)throw new RangeError(\"sourceEnd out of bounds\");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var o,s=i-n;if(this===e&&n<r&&r<i)for(o=s-1;o>=0;--o)e[o+r]=this[o+n];else if(s<1e3||!u.TYPED_ARRAY_SUPPORT)for(o=0;o<s;++o)e[o+r]=this[o+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+s),r);return s},u.prototype.fill=function t(e,r,n,i){if(\"string\"==typeof e){if(\"string\"==typeof r?(i=r,r=0,n=this.length):\"string\"==typeof n&&(i=n,n=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==i&&\"string\"!=typeof i)throw new TypeError(\"encoding must be a string\");if(\"string\"==typeof i&&!u.isEncoding(i))throw new TypeError(\"Unknown encoding: \"+i)}else\"number\"==typeof e&&(e&=255);if(r<0||this.length<r||this.length<n)throw new RangeError(\"Out of range index\");if(n<=r)return this;var s;if(r>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),\"number\"==typeof e)for(s=r;s<n;++s)this[s]=e;else{var a=u.isBuffer(e)?e:K(new u(e,i).toString()),c=a.length;for(s=0;s<n-r;++s)this[s+r]=a[s%c]}return this};var H=/[^+\\/0-9A-Za-z-_]/g;function V(t){return t<16?\"0\"+t.toString(16):t.toString(16)}function K(t,e){var r;e=e||1/0;for(var n=t.length,i=null,o=[],s=0;s<n;++s){if((r=t.charCodeAt(s))>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(s+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error(\"Invalid code point\");if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function q(t){return n.toByteArray(function e(t){if((t=function e(t){return t.trim?t.trim():t.replace(/^\\s+|\\s+$/g,\"\")}(t).replace(H,\"\")).length<2)return\"\";for(;t.length%4!=0;)t+=\"=\";return t}(t))}function J(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}}).call(this,r(29))},function(t,e){var r;r=function(){return this}();try{r=r||new Function(\"return this\")()}catch(t){\"object\"==typeof window&&(r=window)}t.exports=r},function(t,e,r){\"use strict\";e.byteLength=function n(t){var e=f(t),r=e[0],n=e[1];return 3*(r+n)/4-n},e.toByteArray=function i(t){var e,r,n=f(t),i=n[0],o=n[1],s=new u(function c(t,e,r){return 3*(e+r)/4-r}(0,i,o)),h=0,l=o>0?i-4:i;for(r=0;r<l;r+=4)e=a[t.charCodeAt(r)]<<18|a[t.charCodeAt(r+1)]<<12|a[t.charCodeAt(r+2)]<<6|a[t.charCodeAt(r+3)],s[h++]=e>>16&255,s[h++]=e>>8&255,s[h++]=255&e;2===o&&(e=a[t.charCodeAt(r)]<<2|a[t.charCodeAt(r+1)]>>4,s[h++]=255&e);1===o&&(e=a[t.charCodeAt(r)]<<10|a[t.charCodeAt(r+1)]<<4|a[t.charCodeAt(r+2)]>>2,s[h++]=e>>8&255,s[h++]=255&e);return s},e.fromByteArray=function o(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,u=r-n;a<u;a+=o)i.push(g(t,a,a+o>u?u:a+o));1===n?(e=t[r-1],i.push(s[e>>2]+s[e<<4&63]+\"==\")):2===n&&(e=(t[r-2]<<8)+t[r-1],i.push(s[e>>10]+s[e>>4&63]+s[e<<2&63]+\"=\"));return i.join(\"\")};for(var s=[],a=[],u=\"undefined\"!=typeof Uint8Array?Uint8Array:Array,c=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\",h=0,l=c.length;h<l;++h)s[h]=c[h],a[c.charCodeAt(h)]=h;function f(t){var e=t.length;if(e%4>0)throw new Error(\"Invalid string. Length must be a multiple of 4\");var r=t.indexOf(\"=\");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function g(t,e,r){for(var n,i,o=[],a=e;a<r;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(255&t[a+2]),o.push(s[(i=n)>>18&63]+s[i>>12&63]+s[i>>6&63]+s[63&i]);return o.join(\"\")}a[\"-\".charCodeAt(0)]=62,a[\"_\".charCodeAt(0)]=63},function(t,e){\n/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */\ne.read=function(t,e,r,n,i){var o,s,a=8*i-n-1,u=(1<<a)-1,c=u>>1,h=-7,l=r?i-1:0,f=r?-1:1,g=t[e+l];for(l+=f,o=g&(1<<-h)-1,g>>=-h,h+=a;h>0;o=256*o+t[e+l],l+=f,h-=8);for(s=o&(1<<-h)-1,o>>=-h,h+=n;h>0;s=256*s+t[e+l],l+=f,h-=8);if(0===o)o=1-c;else{if(o===u)return s?NaN:1/0*(g?-1:1);s+=Math.pow(2,n),o-=c}return(g?-1:1)*s*Math.pow(2,o-n)},e.write=function(t,e,r,n,i,o){var s,a,u,c=8*o-i-1,h=(1<<c)-1,l=h>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,g=n?0:o-1,d=n?1:-1,p=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=h):(s=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-s))<1&&(s--,u*=2),(e+=s+l>=1?f/u:f*Math.pow(2,1-l))*u>=2&&(s++,u/=2),s+l>=h?(a=0,s=h):s+l>=1?(a=(e*u-1)*Math.pow(2,i),s+=l):(a=e*Math.pow(2,l-1)*Math.pow(2,i),s=0));i>=8;t[r+g]=255&a,g+=d,a/=256,i-=8);for(s=s<<i|a,c+=i;c>0;t[r+g]=255&s,g+=d,s/=256,c-=8);t[r+g-d]|=128*p}},function(t,e){var r={}.toString;t.exports=Array.isArray||function(t){return\"[object Array]\"==r.call(t)}},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=function n(t){var e=t.jws,r=t.KeyUtil,n=t.X509,o=t.crypto,s=t.hextob64u,a=t.b64tohex,u=t.AllowedSigningAlgs;return function(){function t(){!function e(t,r){if(!(t instanceof r))throw new TypeError(\"Cannot call a class as a function\")}(this,t)}return t.parseJwt=function t(r){i.Log.debug(\"JoseUtil.parseJwt\");try{var n=e.JWS.parse(r);return{header:n.headerObj,payload:n.payloadObj}}catch(t){i.Log.error(t)}},t.validateJwt=function e(o,s,u,c,h,l,f){i.Log.debug(\"JoseUtil.validateJwt\");try{if(\"RSA\"===s.kty)if(s.e&&s.n)s=r.getKey(s);else{if(!s.x5c||!s.x5c.length)return i.Log.error(\"JoseUtil.validateJwt: RSA key missing key material\",s),Promise.reject(new Error(\"RSA key missing key material\"));var g=a(s.x5c[0]);s=n.getPublicKeyFromCertHex(g)}else{if(\"EC\"!==s.kty)return i.Log.error(\"JoseUtil.validateJwt: Unsupported key type\",s&&s.kty),Promise.reject(new Error(s.kty));if(!(s.crv&&s.x&&s.y))return i.Log.error(\"JoseUtil.validateJwt: EC key missing key material\",s),Promise.reject(new Error(\"EC key missing key material\"));s=r.getKey(s)}return t._validateJwt(o,s,u,c,h,l,f)}catch(t){return i.Log.error(t&&t.message||t),Promise.reject(\"JWT validation failed\")}},t.validateJwtAttributes=function e(r,n,o,s,a,u){s||(s=0),a||(a=parseInt(Date.now()/1e3));var c=t.parseJwt(r).payload;if(!c.iss)return i.Log.error(\"JoseUtil._validateJwt: issuer was not provided\"),Promise.reject(new Error(\"issuer was not provided\"));if(c.iss!==n)return i.Log.error(\"JoseUtil._validateJwt: Invalid issuer in token\",c.iss),Promise.reject(new Error(\"Invalid issuer in token: \"+c.iss));if(!c.aud)return i.Log.error(\"JoseUtil._validateJwt: aud was not provided\"),Promise.reject(new Error(\"aud was not provided\"));if(!(c.aud===o||Array.isArray(c.aud)&&c.aud.indexOf(o)>=0))return i.Log.error(\"JoseUtil._validateJwt: Invalid audience in token\",c.aud),Promise.reject(new Error(\"Invalid audience in token: \"+c.aud));if(c.azp&&c.azp!==o)return i.Log.error(\"JoseUtil._validateJwt: Invalid azp in token\",c.azp),Promise.reject(new Error(\"Invalid azp in token: \"+c.azp));if(!u){var h=a+s,l=a-s;if(!c.iat)return i.Log.error(\"JoseUtil._validateJwt: iat was not provided\"),Promise.reject(new Error(\"iat was not provided\"));if(h<c.iat)return i.Log.error(\"JoseUtil._validateJwt: iat is in the future\",c.iat),Promise.reject(new Error(\"iat is in the future: \"+c.iat));if(c.nbf&&h<c.nbf)return i.Log.error(\"JoseUtil._validateJwt: nbf is in the future\",c.nbf),Promise.reject(new Error(\"nbf is in the future: \"+c.nbf));if(!c.exp)return i.Log.error(\"JoseUtil._validateJwt: exp was not provided\"),Promise.reject(new Error(\"exp was not provided\"));if(c.exp<l)return i.Log.error(\"JoseUtil._validateJwt: exp is in the past\",c.exp),Promise.reject(new Error(\"exp is in the past:\"+c.exp))}return Promise.resolve(c)},t._validateJwt=function r(n,o,s,a,c,h,l){return t.validateJwtAttributes(n,s,a,c,h,l).then((function(t){try{return e.JWS.verify(n,o,u)?t:(i.Log.error(\"JoseUtil._validateJwt: signature validation failed\"),Promise.reject(new Error(\"signature validation failed\")))}catch(t){return i.Log.error(t&&t.message||t),Promise.reject(new Error(\"signature validation failed\"))}}))},t.hashString=function t(e,r){try{return o.Util.hashString(e,r)}catch(t){i.Log.error(t)}},t.hexToBase64Url=function t(e){try{return s(e)}catch(t){i.Log.error(t)}},t}()};var i=r(0);t.exports=e.default},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.SigninResponse=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,\"value\"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),i=r(3);function o(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}e.SigninResponse=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:\"#\";o(this,t);var n=i.UrlUtility.parseUrlFragment(e,r);this.error=n.error,this.error_description=n.error_description,this.error_uri=n.error_uri,this.code=n.code,this.state=n.state,this.id_token=n.id_token,this.session_state=n.session_state,this.access_token=n.access_token,this.token_type=n.token_type,this.scope=n.scope,this.profile=void 0,this.expires_in=n.expires_in}return n(t,[{key:\"expires_in\",get:function t(){if(this.expires_at){var e=parseInt(Date.now()/1e3);return this.expires_at-e}},set:function t(e){var r=parseInt(e);if(\"number\"==typeof r&&r>0){var n=parseInt(Date.now()/1e3);this.expires_at=n+r}}},{key:\"expired\",get:function t(){var e=this.expires_in;if(void 0!==e)return e<=0}},{key:\"scopes\",get:function t(){return(this.scope||\"\").split(\" \")}},{key:\"isOpenIdConnect\",get:function t(){return this.scopes.indexOf(\"openid\")>=0||!!this.id_token}}]),t}()},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.SignoutRequest=void 0;var n=r(0),i=r(3),o=r(9);e.SignoutRequest=function t(e){var r=e.url,s=e.id_token_hint,a=e.post_logout_redirect_uri,u=e.data,c=e.extraQueryParams,h=e.request_type;if(function l(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this,t),!r)throw n.Log.error(\"SignoutRequest.ctor: No url passed\"),new Error(\"url\");for(var f in s&&(r=i.UrlUtility.addQueryParam(r,\"id_token_hint\",s)),a&&(r=i.UrlUtility.addQueryParam(r,\"post_logout_redirect_uri\",a),u&&(this.state=new o.State({data:u,request_type:h}),r=i.UrlUtility.addQueryParam(r,\"state\",this.state.id))),c)r=i.UrlUtility.addQueryParam(r,f,c[f]);this.url=r}},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.SignoutResponse=void 0;var n=r(3);e.SignoutResponse=function t(e){!function r(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this,t);var i=n.UrlUtility.parseUrlFragment(e,\"?\");this.error=i.error,this.error_description=i.error_description,this.error_uri=i.error_uri,this.state=i.state}},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.InMemoryWebStorage=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,\"value\"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),i=r(0);e.InMemoryWebStorage=function(){function t(){!function e(t,r){if(!(t instanceof r))throw new TypeError(\"Cannot call a class as a function\")}(this,t),this._data={}}return t.prototype.getItem=function t(e){return i.Log.debug(\"InMemoryWebStorage.getItem\",e),this._data[e]},t.prototype.setItem=function t(e,r){i.Log.debug(\"InMemoryWebStorage.setItem\",e),this._data[e]=r},t.prototype.removeItem=function t(e){i.Log.debug(\"InMemoryWebStorage.removeItem\",e),delete this._data[e]},t.prototype.key=function t(e){return Object.getOwnPropertyNames(this._data)[e]},n(t,[{key:\"length\",get:function t(){return Object.getOwnPropertyNames(this._data).length}}]),t}()},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.UserManager=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,\"value\"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),i=r(0),o=r(10),s=r(39),a=r(15),u=r(45),c=r(47),h=r(18),l=r(8),f=r(20),g=r(11),d=r(4);function p(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}function v(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}e.UserManager=function(t){function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.SilentRenewService,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:h.SessionMonitor,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:f.TokenRevocationClient,l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:g.TokenClient,y=arguments.length>5&&void 0!==arguments[5]?arguments[5]:d.JoseUtil;p(this,e),r instanceof s.UserManagerSettings||(r=new s.UserManagerSettings(r));var m=v(this,t.call(this,r));return m._events=new u.UserManagerEvents(r),m._silentRenewService=new n(m),m.settings.automaticSilentRenew&&(i.Log.debug(\"UserManager.ctor: automaticSilentRenew is configured, setting up silent renew\"),m.startSilentRenew()),m.settings.monitorSession&&(i.Log.debug(\"UserManager.ctor: monitorSession is configured, setting up session monitor\"),m._sessionMonitor=new o(m)),m._tokenRevocationClient=new a(m._settings),m._tokenClient=new l(m._settings),m._joseUtil=y,m}return function r(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.getUser=function t(){var e=this;return this._loadUser().then((function(t){return t?(i.Log.info(\"UserManager.getUser: user loaded\"),e._events.load(t,!1),t):(i.Log.info(\"UserManager.getUser: user not found in storage\"),null)}))},e.prototype.removeUser=function t(){var e=this;return this.storeUser(null).then((function(){i.Log.info(\"UserManager.removeUser: user removed from storage\"),e._events.unload()}))},e.prototype.signinRedirect=function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(e=Object.assign({},e)).request_type=\"si:r\";var r={useReplaceToNavigate:e.useReplaceToNavigate};return this._signinStart(e,this._redirectNavigator,r).then((function(){i.Log.info(\"UserManager.signinRedirect: successful\")}))},e.prototype.signinRedirectCallback=function t(e){return this._signinEnd(e||this._redirectNavigator.url).then((function(t){return t.profile&&t.profile.sub?i.Log.info(\"UserManager.signinRedirectCallback: successful, signed in sub: \",t.profile.sub):i.Log.info(\"UserManager.signinRedirectCallback: no sub\"),t}))},e.prototype.signinPopup=function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(e=Object.assign({},e)).request_type=\"si:p\";var r=e.redirect_uri||this.settings.popup_redirect_uri||this.settings.redirect_uri;return r?(e.redirect_uri=r,e.display=\"popup\",this._signin(e,this._popupNavigator,{startUrl:r,popupWindowFeatures:e.popupWindowFeatures||this.settings.popupWindowFeatures,popupWindowTarget:e.popupWindowTarget||this.settings.popupWindowTarget}).then((function(t){return t&&(t.profile&&t.profile.sub?i.Log.info(\"UserManager.signinPopup: signinPopup successful, signed in sub: \",t.profile.sub):i.Log.info(\"UserManager.signinPopup: no sub\")),t}))):(i.Log.error(\"UserManager.signinPopup: No popup_redirect_uri or redirect_uri configured\"),Promise.reject(new Error(\"No popup_redirect_uri or redirect_uri configured\")))},e.prototype.signinPopupCallback=function t(e){return this._signinCallback(e,this._popupNavigator).then((function(t){return t&&(t.profile&&t.profile.sub?i.Log.info(\"UserManager.signinPopupCallback: successful, signed in sub: \",t.profile.sub):i.Log.info(\"UserManager.signinPopupCallback: no sub\")),t})).catch((function(t){i.Log.error(t.message)}))},e.prototype.signinSilent=function t(){var e=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return r=Object.assign({},r),this._loadUser().then((function(t){return t&&t.refresh_token?(r.refresh_token=t.refresh_token,e._useRefreshToken(r)):(r.request_type=\"si:s\",r.id_token_hint=r.id_token_hint||e.settings.includeIdTokenInSilentRenew&&t&&t.id_token,t&&e._settings.validateSubOnSilentRenew&&(i.Log.debug(\"UserManager.signinSilent, subject prior to silent renew: \",t.profile.sub),r.current_sub=t.profile.sub),e._signinSilentIframe(r))}))},e.prototype._useRefreshToken=function t(){var e=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this._tokenClient.exchangeRefreshToken(r).then((function(t){return t?t.access_token?e._loadUser().then((function(r){if(r){var n=Promise.resolve();return t.id_token&&(n=e._validateIdTokenFromTokenRefreshToken(r.profile,t.id_token)),n.then((function(){return i.Log.debug(\"UserManager._useRefreshToken: refresh token response success\"),r.id_token=t.id_token||r.id_token,r.access_token=t.access_token,r.refresh_token=t.refresh_token||r.refresh_token,r.expires_in=t.expires_in,e.storeUser(r).then((function(){return e._events.load(r),r}))}))}return null})):(i.Log.error(\"UserManager._useRefreshToken: No access token returned from token endpoint\"),Promise.reject(\"No access token returned from token endpoint\")):(i.Log.error(\"UserManager._useRefreshToken: No response returned from token endpoint\"),Promise.reject(\"No response returned from token endpoint\"))}))},e.prototype._validateIdTokenFromTokenRefreshToken=function t(e,r){var n=this;return this._metadataService.getIssuer().then((function(t){return n.settings.getEpochTime().then((function(o){return n._joseUtil.validateJwtAttributes(r,t,n._settings.client_id,n._settings.clockSkew,o).then((function(t){return t?t.sub!==e.sub?(i.Log.error(\"UserManager._validateIdTokenFromTokenRefreshToken: sub in id_token does not match current sub\"),Promise.reject(new Error(\"sub in id_token does not match current sub\"))):t.auth_time&&t.auth_time!==e.auth_time?(i.Log.error(\"UserManager._validateIdTokenFromTokenRefreshToken: auth_time in id_token does not match original auth_time\"),Promise.reject(new Error(\"auth_time in id_token does not match original auth_time\"))):t.azp&&t.azp!==e.azp?(i.Log.error(\"UserManager._validateIdTokenFromTokenRefreshToken: azp in id_token does not match original azp\"),Promise.reject(new Error(\"azp in id_token does not match original azp\"))):!t.azp&&e.azp?(i.Log.error(\"UserManager._validateIdTokenFromTokenRefreshToken: azp not in id_token, but present in original id_token\"),Promise.reject(new Error(\"azp not in id_token, but present in original id_token\"))):void 0:(i.Log.error(\"UserManager._validateIdTokenFromTokenRefreshToken: Failed to validate id_token\"),Promise.reject(new Error(\"Failed to validate id_token\")))}))}))}))},e.prototype._signinSilentIframe=function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.redirect_uri||this.settings.silent_redirect_uri||this.settings.redirect_uri;return r?(e.redirect_uri=r,e.prompt=e.prompt||\"none\",this._signin(e,this._iframeNavigator,{startUrl:r,silentRequestTimeout:e.silentRequestTimeout||this.settings.silentRequestTimeout}).then((function(t){return t&&(t.profile&&t.profile.sub?i.Log.info(\"UserManager.signinSilent: successful, signed in sub: \",t.profile.sub):i.Log.info(\"UserManager.signinSilent: no sub\")),t}))):(i.Log.error(\"UserManager.signinSilent: No silent_redirect_uri configured\"),Promise.reject(new Error(\"No silent_redirect_uri configured\")))},e.prototype.signinSilentCallback=function t(e){return this._signinCallback(e,this._iframeNavigator).then((function(t){return t&&(t.profile&&t.profile.sub?i.Log.info(\"UserManager.signinSilentCallback: successful, signed in sub: \",t.profile.sub):i.Log.info(\"UserManager.signinSilentCallback: no sub\")),t}))},e.prototype.signinCallback=function t(e){var r=this;return this.readSigninResponseState(e).then((function(t){var n=t.state;t.response;return\"si:r\"===n.request_type?r.signinRedirectCallback(e):\"si:p\"===n.request_type?r.signinPopupCallback(e):\"si:s\"===n.request_type?r.signinSilentCallback(e):Promise.reject(new Error(\"invalid response_type in state\"))}))},e.prototype.signoutCallback=function t(e,r){var n=this;return this.readSignoutResponseState(e).then((function(t){var i=t.state,o=t.response;return i?\"so:r\"===i.request_type?n.signoutRedirectCallback(e):\"so:p\"===i.request_type?n.signoutPopupCallback(e,r):Promise.reject(new Error(\"invalid response_type in state\")):o}))},e.prototype.querySessionStatus=function t(){var e=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(r=Object.assign({},r)).request_type=\"si:s\";var n=r.redirect_uri||this.settings.silent_redirect_uri||this.settings.redirect_uri;return n?(r.redirect_uri=n,r.prompt=\"none\",r.response_type=r.response_type||this.settings.query_status_response_type,r.scope=r.scope||\"openid\",r.skipUserInfo=!0,this._signinStart(r,this._iframeNavigator,{startUrl:n,silentRequestTimeout:r.silentRequestTimeout||this.settings.silentRequestTimeout}).then((function(t){return e.processSigninResponse(t.url).then((function(t){if(i.Log.debug(\"UserManager.querySessionStatus: got signin response\"),t.session_state&&t.profile.sub)return i.Log.info(\"UserManager.querySessionStatus: querySessionStatus success for sub: \",t.profile.sub),{session_state:t.session_state,sub:t.profile.sub,sid:t.profile.sid};i.Log.info(\"querySessionStatus successful, user not authenticated\")})).catch((function(t){if(t.session_state&&e.settings.monitorAnonymousSession&&(\"login_required\"==t.message||\"consent_required\"==t.message||\"interaction_required\"==t.message||\"account_selection_required\"==t.message))return i.Log.info(\"UserManager.querySessionStatus: querySessionStatus success for anonymous user\"),{session_state:t.session_state};throw t}))}))):(i.Log.error(\"UserManager.querySessionStatus: No silent_redirect_uri configured\"),Promise.reject(new Error(\"No silent_redirect_uri configured\")))},e.prototype._signin=function t(e,r){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this._signinStart(e,r,i).then((function(t){return n._signinEnd(t.url,e)}))},e.prototype._signinStart=function t(e,r){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return r.prepare(o).then((function(t){return i.Log.debug(\"UserManager._signinStart: got navigator window handle\"),n.createSigninRequest(e).then((function(e){return i.Log.debug(\"UserManager._signinStart: got signin request\"),o.url=e.url,o.id=e.state.id,t.navigate(o)})).catch((function(e){throw t.close&&(i.Log.debug(\"UserManager._signinStart: Error after preparing navigator, closing navigator window\"),t.close()),e}))}))},e.prototype._signinEnd=function t(e){var r=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.processSigninResponse(e).then((function(t){i.Log.debug(\"UserManager._signinEnd: got signin response\");var e=new a.User(t);if(n.current_sub){if(n.current_sub!==e.profile.sub)return i.Log.debug(\"UserManager._signinEnd: current user does not match user returned from signin. sub from signin: \",e.profile.sub),Promise.reject(new Error(\"login_required\"));i.Log.debug(\"UserManager._signinEnd: current user matches user returned from signin\")}return r.storeUser(e).then((function(){return i.Log.debug(\"UserManager._signinEnd: user stored\"),r._events.load(e),e}))}))},e.prototype._signinCallback=function t(e,r){i.Log.debug(\"UserManager._signinCallback\");var n=\"query\"===this._settings.response_mode||!this._settings.response_mode&&l.SigninRequest.isCode(this._settings.response_type)?\"?\":\"#\";return r.callback(e,void 0,n)},e.prototype.signoutRedirect=function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(e=Object.assign({},e)).request_type=\"so:r\";var r=e.post_logout_redirect_uri||this.settings.post_logout_redirect_uri;r&&(e.post_logout_redirect_uri=r);var n={useReplaceToNavigate:e.useReplaceToNavigate};return this._signoutStart(e,this._redirectNavigator,n).then((function(){i.Log.info(\"UserManager.signoutRedirect: successful\")}))},e.prototype.signoutRedirectCallback=function t(e){return this._signoutEnd(e||this._redirectNavigator.url).then((function(t){return i.Log.info(\"UserManager.signoutRedirectCallback: successful\"),t}))},e.prototype.signoutPopup=function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(e=Object.assign({},e)).request_type=\"so:p\";var r=e.post_logout_redirect_uri||this.settings.popup_post_logout_redirect_uri||this.settings.post_logout_redirect_uri;return e.post_logout_redirect_uri=r,e.display=\"popup\",e.post_logout_redirect_uri&&(e.state=e.state||{}),this._signout(e,this._popupNavigator,{startUrl:r,popupWindowFeatures:e.popupWindowFeatures||this.settings.popupWindowFeatures,popupWindowTarget:e.popupWindowTarget||this.settings.popupWindowTarget}).then((function(){i.Log.info(\"UserManager.signoutPopup: successful\")}))},e.prototype.signoutPopupCallback=function t(e,r){void 0===r&&\"boolean\"==typeof e&&(r=e,e=null);return this._popupNavigator.callback(e,r,\"?\").then((function(){i.Log.info(\"UserManager.signoutPopupCallback: successful\")}))},e.prototype._signout=function t(e,r){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this._signoutStart(e,r,i).then((function(t){return n._signoutEnd(t.url)}))},e.prototype._signoutStart=function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=this,n=arguments[1],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.prepare(o).then((function(t){return i.Log.debug(\"UserManager._signoutStart: got navigator window handle\"),r._loadUser().then((function(n){return i.Log.debug(\"UserManager._signoutStart: loaded current user from storage\"),(r._settings.revokeAccessTokenOnSignout?r._revokeInternal(n):Promise.resolve()).then((function(){var s=e.id_token_hint||n&&n.id_token;return s&&(i.Log.debug(\"UserManager._signoutStart: Setting id_token into signout request\"),e.id_token_hint=s),r.removeUser().then((function(){return i.Log.debug(\"UserManager._signoutStart: user removed, creating signout request\"),r.createSignoutRequest(e).then((function(e){return i.Log.debug(\"UserManager._signoutStart: got signout request\"),o.url=e.url,e.state&&(o.id=e.state.id),t.navigate(o)}))}))}))})).catch((function(e){throw t.close&&(i.Log.debug(\"UserManager._signoutStart: Error after preparing navigator, closing navigator window\"),t.close()),e}))}))},e.prototype._signoutEnd=function t(e){return this.processSignoutResponse(e).then((function(t){return i.Log.debug(\"UserManager._signoutEnd: got signout response\"),t}))},e.prototype.revokeAccessToken=function t(){var e=this;return this._loadUser().then((function(t){return e._revokeInternal(t,!0).then((function(r){if(r)return i.Log.debug(\"UserManager.revokeAccessToken: removing token properties from user and re-storing\"),t.access_token=null,t.refresh_token=null,t.expires_at=null,t.token_type=null,e.storeUser(t).then((function(){i.Log.debug(\"UserManager.revokeAccessToken: user stored\"),e._events.load(t)}))}))})).then((function(){i.Log.info(\"UserManager.revokeAccessToken: access token revoked successfully\")}))},e.prototype._revokeInternal=function t(e,r){var n=this;if(e){var o=e.access_token,s=e.refresh_token;return this._revokeAccessTokenInternal(o,r).then((function(t){return n._revokeRefreshTokenInternal(s,r).then((function(e){return t||e||i.Log.debug(\"UserManager.revokeAccessToken: no need to revoke due to no token(s), or JWT format\"),t||e}))}))}return Promise.resolve(!1)},e.prototype._revokeAccessTokenInternal=function t(e,r){return!e||e.indexOf(\".\")>=0?Promise.resolve(!1):this._tokenRevocationClient.revoke(e,r).then((function(){return!0}))},e.prototype._revokeRefreshTokenInternal=function t(e,r){return e?this._tokenRevocationClient.revoke(e,r,\"refresh_token\").then((function(){return!0})):Promise.resolve(!1)},e.prototype.startSilentRenew=function t(){this._silentRenewService.start()},e.prototype.stopSilentRenew=function t(){this._silentRenewService.stop()},e.prototype._loadUser=function t(){return this._userStore.get(this._userStoreKey).then((function(t){return t?(i.Log.debug(\"UserManager._loadUser: user storageString loaded\"),a.User.fromStorageString(t)):(i.Log.debug(\"UserManager._loadUser: no user storageString\"),null)}))},e.prototype.storeUser=function t(e){if(e){i.Log.debug(\"UserManager.storeUser: storing user\");var r=e.toStorageString();return this._userStore.set(this._userStoreKey,r)}return i.Log.debug(\"storeUser.storeUser: removing user\"),this._userStore.remove(this._userStoreKey)},n(e,[{key:\"_redirectNavigator\",get:function t(){return this.settings.redirectNavigator}},{key:\"_popupNavigator\",get:function t(){return this.settings.popupNavigator}},{key:\"_iframeNavigator\",get:function t(){return this.settings.iframeNavigator}},{key:\"_userStore\",get:function t(){return this.settings.userStore}},{key:\"events\",get:function t(){return this._events}},{key:\"_userStoreKey\",get:function t(){return\"user:\"+this.settings.authority+\":\"+this.settings.client_id}}]),e}(o.OidcClient)},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.UserManagerSettings=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,\"value\"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),i=(r(0),r(5)),o=r(40),s=r(41),a=r(43),u=r(6),c=r(1),h=r(8);function l(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}function f(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}e.UserManagerSettings=function(t){function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=r.popup_redirect_uri,i=r.popup_post_logout_redirect_uri,g=r.popupWindowFeatures,d=r.popupWindowTarget,p=r.silent_redirect_uri,v=r.silentRequestTimeout,y=r.automaticSilentRenew,m=void 0!==y&&y,_=r.validateSubOnSilentRenew,S=void 0!==_&&_,b=r.includeIdTokenInSilentRenew,w=void 0===b||b,F=r.monitorSession,E=void 0===F||F,x=r.monitorAnonymousSession,A=void 0!==x&&x,k=r.checkSessionInterval,P=void 0===k?2e3:k,C=r.stopCheckSessionOnError,T=void 0===C||C,R=r.query_status_response_type,I=r.revokeAccessTokenOnSignout,D=void 0!==I&&I,L=r.accessTokenExpiringNotificationTime,N=void 0===L?60:L,U=r.redirectNavigator,B=void 0===U?new o.RedirectNavigator:U,O=r.popupNavigator,j=void 0===O?new s.PopupNavigator:O,M=r.iframeNavigator,H=void 0===M?new a.IFrameNavigator:M,V=r.userStore,K=void 0===V?new u.WebStorageStateStore({store:c.Global.sessionStorage}):V;l(this,e);var q=f(this,t.call(this,arguments[0]));return q._popup_redirect_uri=n,q._popup_post_logout_redirect_uri=i,q._popupWindowFeatures=g,q._popupWindowTarget=d,q._silent_redirect_uri=p,q._silentRequestTimeout=v,q._automaticSilentRenew=m,q._validateSubOnSilentRenew=S,q._includeIdTokenInSilentRenew=w,q._accessTokenExpiringNotificationTime=N,q._monitorSession=E,q._monitorAnonymousSession=A,q._checkSessionInterval=P,q._stopCheckSessionOnError=T,R?q._query_status_response_type=R:arguments[0]&&arguments[0].response_type?q._query_status_response_type=h.SigninRequest.isOidc(arguments[0].response_type)?\"id_token\":\"code\":q._query_status_response_type=\"id_token\",q._revokeAccessTokenOnSignout=D,q._redirectNavigator=B,q._popupNavigator=j,q._iframeNavigator=H,q._userStore=K,q}return function r(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),n(e,[{key:\"popup_redirect_uri\",get:function t(){return this._popup_redirect_uri}},{key:\"popup_post_logout_redirect_uri\",get:function t(){return this._popup_post_logout_redirect_uri}},{key:\"popupWindowFeatures\",get:function t(){return this._popupWindowFeatures}},{key:\"popupWindowTarget\",get:function t(){return this._popupWindowTarget}},{key:\"silent_redirect_uri\",get:function t(){return this._silent_redirect_uri}},{key:\"silentRequestTimeout\",get:function t(){return this._silentRequestTimeout}},{key:\"automaticSilentRenew\",get:function t(){return this._automaticSilentRenew}},{key:\"validateSubOnSilentRenew\",get:function t(){return this._validateSubOnSilentRenew}},{key:\"includeIdTokenInSilentRenew\",get:function t(){return this._includeIdTokenInSilentRenew}},{key:\"accessTokenExpiringNotificationTime\",get:function t(){return this._accessTokenExpiringNotificationTime}},{key:\"monitorSession\",get:function t(){return this._monitorSession}},{key:\"monitorAnonymousSession\",get:function t(){return this._monitorAnonymousSession}},{key:\"checkSessionInterval\",get:function t(){return this._checkSessionInterval}},{key:\"stopCheckSessionOnError\",get:function t(){return this._stopCheckSessionOnError}},{key:\"query_status_response_type\",get:function t(){return this._query_status_response_type}},{key:\"revokeAccessTokenOnSignout\",get:function t(){return this._revokeAccessTokenOnSignout}},{key:\"redirectNavigator\",get:function t(){return this._redirectNavigator}},{key:\"popupNavigator\",get:function t(){return this._popupNavigator}},{key:\"iframeNavigator\",get:function t(){return this._iframeNavigator}},{key:\"userStore\",get:function t(){return this._userStore}}]),e}(i.OidcClientSettings)},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.RedirectNavigator=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,\"value\"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),i=r(0);e.RedirectNavigator=function(){function t(){!function e(t,r){if(!(t instanceof r))throw new TypeError(\"Cannot call a class as a function\")}(this,t)}return t.prototype.prepare=function t(){return Promise.resolve(this)},t.prototype.navigate=function t(e){return e&&e.url?(e.useReplaceToNavigate?window.location.replace(e.url):window.location=e.url,Promise.resolve()):(i.Log.error(\"RedirectNavigator.navigate: No url provided\"),Promise.reject(new Error(\"No url provided\")))},n(t,[{key:\"url\",get:function t(){return window.location.href}}]),t}()},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.PopupNavigator=void 0;var n=r(0),i=r(42);e.PopupNavigator=function(){function t(){!function e(t,r){if(!(t instanceof r))throw new TypeError(\"Cannot call a class as a function\")}(this,t)}return t.prototype.prepare=function t(e){var r=new i.PopupWindow(e);return Promise.resolve(r)},t.prototype.callback=function t(e,r,o){n.Log.debug(\"PopupNavigator.callback\");try{return i.PopupWindow.notifyOpener(e,r,o),Promise.resolve()}catch(t){return Promise.reject(t)}},t}()},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.PopupWindow=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,\"value\"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),i=r(0),o=r(3);e.PopupWindow=function(){function t(e){var r=this;!function n(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this,t),this._promise=new Promise((function(t,e){r._resolve=t,r._reject=e}));var o=e.popupWindowTarget||\"_blank\",s=e.popupWindowFeatures||\"location=no,toolbar=no,width=500,height=500,left=100,top=100;\";this._popup=window.open(\"\",o,s),this._popup&&(i.Log.debug(\"PopupWindow.ctor: popup successfully created\"),this._checkForPopupClosedTimer=window.setInterval(this._checkForPopupClosed.bind(this),500))}return t.prototype.navigate=function t(e){return this._popup?e&&e.url?(i.Log.debug(\"PopupWindow.navigate: Setting URL in popup\"),this._id=e.id,this._id&&(window[\"popupCallback_\"+e.id]=this._callback.bind(this)),this._popup.focus(),this._popup.window.location=e.url):(this._error(\"PopupWindow.navigate: no url provided\"),this._error(\"No url provided\")):this._error(\"PopupWindow.navigate: Error opening popup window\"),this.promise},t.prototype._success=function t(e){i.Log.debug(\"PopupWindow.callback: Successful response from popup window\"),this._cleanup(),this._resolve(e)},t.prototype._error=function t(e){i.Log.error(\"PopupWindow.error: \",e),this._cleanup(),this._reject(new Error(e))},t.prototype.close=function t(){this._cleanup(!1)},t.prototype._cleanup=function t(e){i.Log.debug(\"PopupWindow.cleanup\"),window.clearInterval(this._checkForPopupClosedTimer),this._checkForPopupClosedTimer=null,delete window[\"popupCallback_\"+this._id],this._popup&&!e&&this._popup.close(),this._popup=null},t.prototype._checkForPopupClosed=function t(){this._popup&&!this._popup.closed||this._error(\"Popup window closed\")},t.prototype._callback=function t(e,r){this._cleanup(r),e?(i.Log.debug(\"PopupWindow.callback success\"),this._success({url:e})):(i.Log.debug(\"PopupWindow.callback: Invalid response from popup\"),this._error(\"Invalid response from popup\"))},t.notifyOpener=function t(e,r,n){if(window.opener){if(e=e||window.location.href){var s=o.UrlUtility.parseUrlFragment(e,n);if(s.state){var a=\"popupCallback_\"+s.state,u=window.opener[a];u?(i.Log.debug(\"PopupWindow.notifyOpener: passing url message to opener\"),u(e,r)):i.Log.warn(\"PopupWindow.notifyOpener: no matching callback found on opener\")}else i.Log.warn(\"PopupWindow.notifyOpener: no state found in response url\")}}else i.Log.warn(\"PopupWindow.notifyOpener: no window.opener. Can't complete notification.\")},n(t,[{key:\"promise\",get:function t(){return this._promise}}]),t}()},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.IFrameNavigator=void 0;var n=r(0),i=r(44);e.IFrameNavigator=function(){function t(){!function e(t,r){if(!(t instanceof r))throw new TypeError(\"Cannot call a class as a function\")}(this,t)}return t.prototype.prepare=function t(e){var r=new i.IFrameWindow(e);return Promise.resolve(r)},t.prototype.callback=function t(e){n.Log.debug(\"IFrameNavigator.callback\");try{return i.IFrameWindow.notifyParent(e),Promise.resolve()}catch(t){return Promise.reject(t)}},t}()},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.IFrameWindow=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,\"value\"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),i=r(0);e.IFrameWindow=function(){function t(e){var r=this;!function n(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this,t),this._promise=new Promise((function(t,e){r._resolve=t,r._reject=e})),this._boundMessageEvent=this._message.bind(this),window.addEventListener(\"message\",this._boundMessageEvent,!1),this._frame=window.document.createElement(\"iframe\"),this._frame.style.visibility=\"hidden\",this._frame.style.position=\"absolute\",this._frame.width=0,this._frame.height=0,window.document.body.appendChild(this._frame)}return t.prototype.navigate=function t(e){if(e&&e.url){var r=e.silentRequestTimeout||1e4;i.Log.debug(\"IFrameWindow.navigate: Using timeout of:\",r),this._timer=window.setTimeout(this._timeout.bind(this),r),this._frame.src=e.url}else this._error(\"No url provided\");return this.promise},t.prototype._success=function t(e){this._cleanup(),i.Log.debug(\"IFrameWindow: Successful response from frame window\"),this._resolve(e)},t.prototype._error=function t(e){this._cleanup(),i.Log.error(e),this._reject(new Error(e))},t.prototype.close=function t(){this._cleanup()},t.prototype._cleanup=function t(){this._frame&&(i.Log.debug(\"IFrameWindow: cleanup\"),window.removeEventListener(\"message\",this._boundMessageEvent,!1),window.clearTimeout(this._timer),window.document.body.removeChild(this._frame),this._timer=null,this._frame=null,this._boundMessageEvent=null)},t.prototype._timeout=function t(){i.Log.debug(\"IFrameWindow.timeout\"),this._error(\"Frame window timed out\")},t.prototype._message=function t(e){if(i.Log.debug(\"IFrameWindow.message\"),this._timer&&e.origin===this._origin&&e.source===this._frame.contentWindow&&\"string\"==typeof e.data&&(e.data.startsWith(\"http://\")||e.data.startsWith(\"https://\"))){var r=e.data;r?this._success({url:r}):this._error(\"Invalid response from frame\")}},t.notifyParent=function t(e){i.Log.debug(\"IFrameWindow.notifyParent\"),(e=e||window.location.href)&&(i.Log.debug(\"IFrameWindow.notifyParent: posting url message to parent\"),window.parent.postMessage(e,location.protocol+\"//\"+location.host))},n(t,[{key:\"promise\",get:function t(){return this._promise}},{key:\"_origin\",get:function t(){return location.protocol+\"//\"+location.host}}]),t}()},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.UserManagerEvents=void 0;var n=r(0),i=r(16),o=r(17);e.UserManagerEvents=function(t){function e(r){!function n(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this,e);var i=function s(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,t.call(this,r));return i._userLoaded=new o.Event(\"User loaded\"),i._userUnloaded=new o.Event(\"User unloaded\"),i._silentRenewError=new o.Event(\"Silent renew error\"),i._userSignedIn=new o.Event(\"User signed in\"),i._userSignedOut=new o.Event(\"User signed out\"),i._userSessionChanged=new o.Event(\"User session changed\"),i}return function r(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.load=function e(r){var i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];n.Log.debug(\"UserManagerEvents.load\"),t.prototype.load.call(this,r),i&&this._userLoaded.raise(r)},e.prototype.unload=function e(){n.Log.debug(\"UserManagerEvents.unload\"),t.prototype.unload.call(this),this._userUnloaded.raise()},e.prototype.addUserLoaded=function t(e){this._userLoaded.addHandler(e)},e.prototype.removeUserLoaded=function t(e){this._userLoaded.removeHandler(e)},e.prototype.addUserUnloaded=function t(e){this._userUnloaded.addHandler(e)},e.prototype.removeUserUnloaded=function t(e){this._userUnloaded.removeHandler(e)},e.prototype.addSilentRenewError=function t(e){this._silentRenewError.addHandler(e)},e.prototype.removeSilentRenewError=function t(e){this._silentRenewError.removeHandler(e)},e.prototype._raiseSilentRenewError=function t(e){n.Log.debug(\"UserManagerEvents._raiseSilentRenewError\",e.message),this._silentRenewError.raise(e)},e.prototype.addUserSignedIn=function t(e){this._userSignedIn.addHandler(e)},e.prototype.removeUserSignedIn=function t(e){this._userSignedIn.removeHandler(e)},e.prototype._raiseUserSignedIn=function t(){n.Log.debug(\"UserManagerEvents._raiseUserSignedIn\"),this._userSignedIn.raise()},e.prototype.addUserSignedOut=function t(e){this._userSignedOut.addHandler(e)},e.prototype.removeUserSignedOut=function t(e){this._userSignedOut.removeHandler(e)},e.prototype._raiseUserSignedOut=function t(){n.Log.debug(\"UserManagerEvents._raiseUserSignedOut\"),this._userSignedOut.raise()},e.prototype.addUserSessionChanged=function t(e){this._userSessionChanged.addHandler(e)},e.prototype.removeUserSessionChanged=function t(e){this._userSessionChanged.removeHandler(e)},e.prototype._raiseUserSessionChanged=function t(){n.Log.debug(\"UserManagerEvents._raiseUserSessionChanged\"),this._userSessionChanged.raise()},e}(i.AccessTokenEvents)},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.Timer=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,\"value\"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),i=r(0),o=r(1),s=r(17);function a(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}function u(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}e.Timer=function(t){function e(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.Global.timer,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;a(this,e);var s=u(this,t.call(this,r));return s._timer=n,s._nowFunc=i||function(){return Date.now()/1e3},s}return function r(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.init=function t(e){e<=0&&(e=1),e=parseInt(e);var r=this.now+e;if(this.expiration===r&&this._timerHandle)i.Log.debug(\"Timer.init timer \"+this._name+\" skipping initialization since already initialized for expiration:\",this.expiration);else{this.cancel(),i.Log.debug(\"Timer.init timer \"+this._name+\" for duration:\",e),this._expiration=r;var n=5;e<n&&(n=e),this._timerHandle=this._timer.setInterval(this._callback.bind(this),1e3*n)}},e.prototype.cancel=function t(){this._timerHandle&&(i.Log.debug(\"Timer.cancel: \",this._name),this._timer.clearInterval(this._timerHandle),this._timerHandle=null)},e.prototype._callback=function e(){var r=this._expiration-this.now;i.Log.debug(\"Timer.callback; \"+this._name+\" timer expires in:\",r),this._expiration<=this.now&&(this.cancel(),t.prototype.raise.call(this))},n(e,[{key:\"now\",get:function t(){return parseInt(this._nowFunc())}},{key:\"expiration\",get:function t(){return this._expiration}}]),e}(s.Event)},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.SilentRenewService=void 0;var n=r(0);e.SilentRenewService=function(){function t(e){!function r(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this,t),this._userManager=e}return t.prototype.start=function t(){this._callback||(this._callback=this._tokenExpiring.bind(this),this._userManager.events.addAccessTokenExpiring(this._callback),this._userManager.getUser().then((function(t){})).catch((function(t){n.Log.error(\"SilentRenewService.start: Error from getUser:\",t.message)})))},t.prototype.stop=function t(){this._callback&&(this._userManager.events.removeAccessTokenExpiring(this._callback),delete this._callback)},t.prototype._tokenExpiring=function t(){var e=this;this._userManager.signinSilent().then((function(t){n.Log.debug(\"SilentRenewService._tokenExpiring: Silent token renewal successful\")}),(function(t){n.Log.error(\"SilentRenewService._tokenExpiring: Error from signinSilent:\",t.message),e._userManager.events._raiseSilentRenewError(t)}))},t}()},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.CordovaPopupNavigator=void 0;var n=r(21);e.CordovaPopupNavigator=function(){function t(){!function e(t,r){if(!(t instanceof r))throw new TypeError(\"Cannot call a class as a function\")}(this,t)}return t.prototype.prepare=function t(e){var r=new n.CordovaPopupWindow(e);return Promise.resolve(r)},t}()},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.CordovaIFrameNavigator=void 0;var n=r(21);e.CordovaIFrameNavigator=function(){function t(){!function e(t,r){if(!(t instanceof r))throw new TypeError(\"Cannot call a class as a function\")}(this,t)}return t.prototype.prepare=function t(e){e.popupWindowFeatures=\"hidden=yes\";var r=new n.CordovaPopupWindow(e);return Promise.resolve(r)},t}()},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});e.Version=\"1.11.5\"}])}));","'use strict';\n\nvar replace = String.prototype.replace;\nvar percentTwenties = /%20/g;\n\nvar Format = {\n RFC1738: 'RFC1738',\n RFC3986: 'RFC3986'\n};\n\nmodule.exports = {\n 'default': Format.RFC3986,\n formatters: {\n RFC1738: function (value) {\n return replace.call(value, percentTwenties, '+');\n },\n RFC3986: function (value) {\n return String(value);\n }\n },\n RFC1738: Format.RFC1738,\n RFC3986: Format.RFC3986\n};\n","'use strict';\n\nvar stringify = require('./stringify');\nvar parse = require('./parse');\nvar formats = require('./formats');\n\nmodule.exports = {\n formats: formats,\n parse: parse,\n stringify: stringify\n};\n","'use strict';\n\nvar utils = require('./utils');\n\nvar has = Object.prototype.hasOwnProperty;\nvar isArray = Array.isArray;\n\nvar defaults = {\n allowDots: false,\n allowPrototypes: false,\n allowSparse: false,\n arrayLimit: 20,\n charset: 'utf-8',\n charsetSentinel: false,\n comma: false,\n decoder: utils.decode,\n delimiter: '&',\n depth: 5,\n ignoreQueryPrefix: false,\n interpretNumericEntities: false,\n parameterLimit: 1000,\n parseArrays: true,\n plainObjects: false,\n strictNullHandling: false\n};\n\nvar interpretNumericEntities = function (str) {\n return str.replace(/&#(\\d+);/g, function ($0, numberStr) {\n return String.fromCharCode(parseInt(numberStr, 10));\n });\n};\n\nvar parseArrayValue = function (val, options) {\n if (val && typeof val === 'string' && options.comma && val.indexOf(',') > -1) {\n return val.split(',');\n }\n\n return val;\n};\n\n// This is what browsers will submit when the ✓ character occurs in an\n// application/x-www-form-urlencoded body and the encoding of the page containing\n// the form is iso-8859-1, or when the submitted form has an accept-charset\n// attribute of iso-8859-1. Presumably also with other charsets that do not contain\n// the ✓ character, such as us-ascii.\nvar isoSentinel = 'utf8=%26%2310003%3B'; // encodeURIComponent('✓')\n\n// These are the percent-encoded utf-8 octets representing a checkmark, indicating that the request actually is utf-8 encoded.\nvar charsetSentinel = 'utf8=%E2%9C%93'; // encodeURIComponent('✓')\n\nvar parseValues = function parseQueryStringValues(str, options) {\n var obj = { __proto__: null };\n\n var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\\?/, '') : str;\n var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit;\n var parts = cleanStr.split(options.delimiter, limit);\n var skipIndex = -1; // Keep track of where the utf8 sentinel was found\n var i;\n\n var charset = options.charset;\n if (options.charsetSentinel) {\n for (i = 0; i < parts.length; ++i) {\n if (parts[i].indexOf('utf8=') === 0) {\n if (parts[i] === charsetSentinel) {\n charset = 'utf-8';\n } else if (parts[i] === isoSentinel) {\n charset = 'iso-8859-1';\n }\n skipIndex = i;\n i = parts.length; // The eslint settings do not allow break;\n }\n }\n }\n\n for (i = 0; i < parts.length; ++i) {\n if (i === skipIndex) {\n continue;\n }\n var part = parts[i];\n\n var bracketEqualsPos = part.indexOf(']=');\n var pos = bracketEqualsPos === -1 ? part.indexOf('=') : bracketEqualsPos + 1;\n\n var key, val;\n if (pos === -1) {\n key = options.decoder(part, defaults.decoder, charset, 'key');\n val = options.strictNullHandling ? null : '';\n } else {\n key = options.decoder(part.slice(0, pos), defaults.decoder, charset, 'key');\n val = utils.maybeMap(\n parseArrayValue(part.slice(pos + 1), options),\n function (encodedVal) {\n return options.decoder(encodedVal, defaults.decoder, charset, 'value');\n }\n );\n }\n\n if (val && options.interpretNumericEntities && charset === 'iso-8859-1') {\n val = interpretNumericEntities(val);\n }\n\n if (part.indexOf('[]=') > -1) {\n val = isArray(val) ? [val] : val;\n }\n\n if (has.call(obj, key)) {\n obj[key] = utils.combine(obj[key], val);\n } else {\n obj[key] = val;\n }\n }\n\n return obj;\n};\n\nvar parseObject = function (chain, val, options, valuesParsed) {\n var leaf = valuesParsed ? val : parseArrayValue(val, options);\n\n for (var i = chain.length - 1; i >= 0; --i) {\n var obj;\n var root = chain[i];\n\n if (root === '[]' && options.parseArrays) {\n obj = [].concat(leaf);\n } else {\n obj = options.plainObjects ? Object.create(null) : {};\n var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root;\n var index = parseInt(cleanRoot, 10);\n if (!options.parseArrays && cleanRoot === '') {\n obj = { 0: leaf };\n } else if (\n !isNaN(index)\n && root !== cleanRoot\n && String(index) === cleanRoot\n && index >= 0\n && (options.parseArrays && index <= options.arrayLimit)\n ) {\n obj = [];\n obj[index] = leaf;\n } else if (cleanRoot !== '__proto__') {\n obj[cleanRoot] = leaf;\n }\n }\n\n leaf = obj;\n }\n\n return leaf;\n};\n\nvar parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesParsed) {\n if (!givenKey) {\n return;\n }\n\n // Transform dot notation to bracket notation\n var key = options.allowDots ? givenKey.replace(/\\.([^.[]+)/g, '[$1]') : givenKey;\n\n // The regex chunks\n\n var brackets = /(\\[[^[\\]]*])/;\n var child = /(\\[[^[\\]]*])/g;\n\n // Get the parent\n\n var segment = options.depth > 0 && brackets.exec(key);\n var parent = segment ? key.slice(0, segment.index) : key;\n\n // Stash the parent if it exists\n\n var keys = [];\n if (parent) {\n // If we aren't using plain objects, optionally prefix keys that would overwrite object prototype properties\n if (!options.plainObjects && has.call(Object.prototype, parent)) {\n if (!options.allowPrototypes) {\n return;\n }\n }\n\n keys.push(parent);\n }\n\n // Loop through children appending to the array until we hit depth\n\n var i = 0;\n while (options.depth > 0 && (segment = child.exec(key)) !== null && i < options.depth) {\n i += 1;\n if (!options.plainObjects && has.call(Object.prototype, segment[1].slice(1, -1))) {\n if (!options.allowPrototypes) {\n return;\n }\n }\n keys.push(segment[1]);\n }\n\n // If there's a remainder, just add whatever is left\n\n if (segment) {\n keys.push('[' + key.slice(segment.index) + ']');\n }\n\n return parseObject(keys, val, options, valuesParsed);\n};\n\nvar normalizeParseOptions = function normalizeParseOptions(opts) {\n if (!opts) {\n return defaults;\n }\n\n if (opts.decoder !== null && opts.decoder !== undefined && typeof opts.decoder !== 'function') {\n throw new TypeError('Decoder has to be a function.');\n }\n\n if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {\n throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');\n }\n var charset = typeof opts.charset === 'undefined' ? defaults.charset : opts.charset;\n\n return {\n allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots,\n allowPrototypes: typeof opts.allowPrototypes === 'boolean' ? opts.allowPrototypes : defaults.allowPrototypes,\n allowSparse: typeof opts.allowSparse === 'boolean' ? opts.allowSparse : defaults.allowSparse,\n arrayLimit: typeof opts.arrayLimit === 'number' ? opts.arrayLimit : defaults.arrayLimit,\n charset: charset,\n charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,\n comma: typeof opts.comma === 'boolean' ? opts.comma : defaults.comma,\n decoder: typeof opts.decoder === 'function' ? opts.decoder : defaults.decoder,\n delimiter: typeof opts.delimiter === 'string' || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults.delimiter,\n // eslint-disable-next-line no-implicit-coercion, no-extra-parens\n depth: (typeof opts.depth === 'number' || opts.depth === false) ? +opts.depth : defaults.depth,\n ignoreQueryPrefix: opts.ignoreQueryPrefix === true,\n interpretNumericEntities: typeof opts.interpretNumericEntities === 'boolean' ? opts.interpretNumericEntities : defaults.interpretNumericEntities,\n parameterLimit: typeof opts.parameterLimit === 'number' ? opts.parameterLimit : defaults.parameterLimit,\n parseArrays: opts.parseArrays !== false,\n plainObjects: typeof opts.plainObjects === 'boolean' ? opts.plainObjects : defaults.plainObjects,\n strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling\n };\n};\n\nmodule.exports = function (str, opts) {\n var options = normalizeParseOptions(opts);\n\n if (str === '' || str === null || typeof str === 'undefined') {\n return options.plainObjects ? Object.create(null) : {};\n }\n\n var tempObj = typeof str === 'string' ? parseValues(str, options) : str;\n var obj = options.plainObjects ? Object.create(null) : {};\n\n // Iterate over the keys and setup the new object\n\n var keys = Object.keys(tempObj);\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n var newObj = parseKeys(key, tempObj[key], options, typeof str === 'string');\n obj = utils.merge(obj, newObj, options);\n }\n\n if (options.allowSparse === true) {\n return obj;\n }\n\n return utils.compact(obj);\n};\n","'use strict';\n\nvar getSideChannel = require('side-channel');\nvar utils = require('./utils');\nvar formats = require('./formats');\nvar has = Object.prototype.hasOwnProperty;\n\nvar arrayPrefixGenerators = {\n brackets: function brackets(prefix) {\n return prefix + '[]';\n },\n comma: 'comma',\n indices: function indices(prefix, key) {\n return prefix + '[' + key + ']';\n },\n repeat: function repeat(prefix) {\n return prefix;\n }\n};\n\nvar isArray = Array.isArray;\nvar push = Array.prototype.push;\nvar pushToArray = function (arr, valueOrArray) {\n push.apply(arr, isArray(valueOrArray) ? valueOrArray : [valueOrArray]);\n};\n\nvar toISO = Date.prototype.toISOString;\n\nvar defaultFormat = formats['default'];\nvar defaults = {\n addQueryPrefix: false,\n allowDots: false,\n charset: 'utf-8',\n charsetSentinel: false,\n delimiter: '&',\n encode: true,\n encoder: utils.encode,\n encodeValuesOnly: false,\n format: defaultFormat,\n formatter: formats.formatters[defaultFormat],\n // deprecated\n indices: false,\n serializeDate: function serializeDate(date) {\n return toISO.call(date);\n },\n skipNulls: false,\n strictNullHandling: false\n};\n\nvar isNonNullishPrimitive = function isNonNullishPrimitive(v) {\n return typeof v === 'string'\n || typeof v === 'number'\n || typeof v === 'boolean'\n || typeof v === 'symbol'\n || typeof v === 'bigint';\n};\n\nvar sentinel = {};\n\nvar stringify = function stringify(\n object,\n prefix,\n generateArrayPrefix,\n commaRoundTrip,\n strictNullHandling,\n skipNulls,\n encoder,\n filter,\n sort,\n allowDots,\n serializeDate,\n format,\n formatter,\n encodeValuesOnly,\n charset,\n sideChannel\n) {\n var obj = object;\n\n var tmpSc = sideChannel;\n var step = 0;\n var findFlag = false;\n while ((tmpSc = tmpSc.get(sentinel)) !== void undefined && !findFlag) {\n // Where object last appeared in the ref tree\n var pos = tmpSc.get(object);\n step += 1;\n if (typeof pos !== 'undefined') {\n if (pos === step) {\n throw new RangeError('Cyclic object value');\n } else {\n findFlag = true; // Break while\n }\n }\n if (typeof tmpSc.get(sentinel) === 'undefined') {\n step = 0;\n }\n }\n\n if (typeof filter === 'function') {\n obj = filter(prefix, obj);\n } else if (obj instanceof Date) {\n obj = serializeDate(obj);\n } else if (generateArrayPrefix === 'comma' && isArray(obj)) {\n obj = utils.maybeMap(obj, function (value) {\n if (value instanceof Date) {\n return serializeDate(value);\n }\n return value;\n });\n }\n\n if (obj === null) {\n if (strictNullHandling) {\n return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset, 'key', format) : prefix;\n }\n\n obj = '';\n }\n\n if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) {\n if (encoder) {\n var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, 'key', format);\n return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder, charset, 'value', format))];\n }\n return [formatter(prefix) + '=' + formatter(String(obj))];\n }\n\n var values = [];\n\n if (typeof obj === 'undefined') {\n return values;\n }\n\n var objKeys;\n if (generateArrayPrefix === 'comma' && isArray(obj)) {\n // we need to join elements in\n if (encodeValuesOnly && encoder) {\n obj = utils.maybeMap(obj, encoder);\n }\n objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : void undefined }];\n } else if (isArray(filter)) {\n objKeys = filter;\n } else {\n var keys = Object.keys(obj);\n objKeys = sort ? keys.sort(sort) : keys;\n }\n\n var adjustedPrefix = commaRoundTrip && isArray(obj) && obj.length === 1 ? prefix + '[]' : prefix;\n\n for (var j = 0; j < objKeys.length; ++j) {\n var key = objKeys[j];\n var value = typeof key === 'object' && typeof key.value !== 'undefined' ? key.value : obj[key];\n\n if (skipNulls && value === null) {\n continue;\n }\n\n var keyPrefix = isArray(obj)\n ? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(adjustedPrefix, key) : adjustedPrefix\n : adjustedPrefix + (allowDots ? '.' + key : '[' + key + ']');\n\n sideChannel.set(object, step);\n var valueSideChannel = getSideChannel();\n valueSideChannel.set(sentinel, sideChannel);\n pushToArray(values, stringify(\n value,\n keyPrefix,\n generateArrayPrefix,\n commaRoundTrip,\n strictNullHandling,\n skipNulls,\n generateArrayPrefix === 'comma' && encodeValuesOnly && isArray(obj) ? null : encoder,\n filter,\n sort,\n allowDots,\n serializeDate,\n format,\n formatter,\n encodeValuesOnly,\n charset,\n valueSideChannel\n ));\n }\n\n return values;\n};\n\nvar normalizeStringifyOptions = function normalizeStringifyOptions(opts) {\n if (!opts) {\n return defaults;\n }\n\n if (opts.encoder !== null && typeof opts.encoder !== 'undefined' && typeof opts.encoder !== 'function') {\n throw new TypeError('Encoder has to be a function.');\n }\n\n var charset = opts.charset || defaults.charset;\n if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {\n throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');\n }\n\n var format = formats['default'];\n if (typeof opts.format !== 'undefined') {\n if (!has.call(formats.formatters, opts.format)) {\n throw new TypeError('Unknown format option provided.');\n }\n format = opts.format;\n }\n var formatter = formats.formatters[format];\n\n var filter = defaults.filter;\n if (typeof opts.filter === 'function' || isArray(opts.filter)) {\n filter = opts.filter;\n }\n\n return {\n addQueryPrefix: typeof opts.addQueryPrefix === 'boolean' ? opts.addQueryPrefix : defaults.addQueryPrefix,\n allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots,\n charset: charset,\n charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,\n delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter,\n encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode,\n encoder: typeof opts.encoder === 'function' ? opts.encoder : defaults.encoder,\n encodeValuesOnly: typeof opts.encodeValuesOnly === 'boolean' ? opts.encodeValuesOnly : defaults.encodeValuesOnly,\n filter: filter,\n format: format,\n formatter: formatter,\n serializeDate: typeof opts.serializeDate === 'function' ? opts.serializeDate : defaults.serializeDate,\n skipNulls: typeof opts.skipNulls === 'boolean' ? opts.skipNulls : defaults.skipNulls,\n sort: typeof opts.sort === 'function' ? opts.sort : null,\n strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling\n };\n};\n\nmodule.exports = function (object, opts) {\n var obj = object;\n var options = normalizeStringifyOptions(opts);\n\n var objKeys;\n var filter;\n\n if (typeof options.filter === 'function') {\n filter = options.filter;\n obj = filter('', obj);\n } else if (isArray(options.filter)) {\n filter = options.filter;\n objKeys = filter;\n }\n\n var keys = [];\n\n if (typeof obj !== 'object' || obj === null) {\n return '';\n }\n\n var arrayFormat;\n if (opts && opts.arrayFormat in arrayPrefixGenerators) {\n arrayFormat = opts.arrayFormat;\n } else if (opts && 'indices' in opts) {\n arrayFormat = opts.indices ? 'indices' : 'repeat';\n } else {\n arrayFormat = 'indices';\n }\n\n var generateArrayPrefix = arrayPrefixGenerators[arrayFormat];\n if (opts && 'commaRoundTrip' in opts && typeof opts.commaRoundTrip !== 'boolean') {\n throw new TypeError('`commaRoundTrip` must be a boolean, or absent');\n }\n var commaRoundTrip = generateArrayPrefix === 'comma' && opts && opts.commaRoundTrip;\n\n if (!objKeys) {\n objKeys = Object.keys(obj);\n }\n\n if (options.sort) {\n objKeys.sort(options.sort);\n }\n\n var sideChannel = getSideChannel();\n for (var i = 0; i < objKeys.length; ++i) {\n var key = objKeys[i];\n\n if (options.skipNulls && obj[key] === null) {\n continue;\n }\n pushToArray(keys, stringify(\n obj[key],\n key,\n generateArrayPrefix,\n commaRoundTrip,\n options.strictNullHandling,\n options.skipNulls,\n options.encode ? options.encoder : null,\n options.filter,\n options.sort,\n options.allowDots,\n options.serializeDate,\n options.format,\n options.formatter,\n options.encodeValuesOnly,\n options.charset,\n sideChannel\n ));\n }\n\n var joined = keys.join(options.delimiter);\n var prefix = options.addQueryPrefix === true ? '?' : '';\n\n if (options.charsetSentinel) {\n if (options.charset === 'iso-8859-1') {\n // encodeURIComponent('✓'), the \"numeric entity\" representation of a checkmark\n prefix += 'utf8=%26%2310003%3B&';\n } else {\n // encodeURIComponent('✓')\n prefix += 'utf8=%E2%9C%93&';\n }\n }\n\n return joined.length > 0 ? prefix + joined : '';\n};\n","'use strict';\n\nvar formats = require('./formats');\n\nvar has = Object.prototype.hasOwnProperty;\nvar isArray = Array.isArray;\n\nvar hexTable = (function () {\n var array = [];\n for (var i = 0; i < 256; ++i) {\n array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase());\n }\n\n return array;\n}());\n\nvar compactQueue = function compactQueue(queue) {\n while (queue.length > 1) {\n var item = queue.pop();\n var obj = item.obj[item.prop];\n\n if (isArray(obj)) {\n var compacted = [];\n\n for (var j = 0; j < obj.length; ++j) {\n if (typeof obj[j] !== 'undefined') {\n compacted.push(obj[j]);\n }\n }\n\n item.obj[item.prop] = compacted;\n }\n }\n};\n\nvar arrayToObject = function arrayToObject(source, options) {\n var obj = options && options.plainObjects ? Object.create(null) : {};\n for (var i = 0; i < source.length; ++i) {\n if (typeof source[i] !== 'undefined') {\n obj[i] = source[i];\n }\n }\n\n return obj;\n};\n\nvar merge = function merge(target, source, options) {\n /* eslint no-param-reassign: 0 */\n if (!source) {\n return target;\n }\n\n if (typeof source !== 'object') {\n if (isArray(target)) {\n target.push(source);\n } else if (target && typeof target === 'object') {\n if ((options && (options.plainObjects || options.allowPrototypes)) || !has.call(Object.prototype, source)) {\n target[source] = true;\n }\n } else {\n return [target, source];\n }\n\n return target;\n }\n\n if (!target || typeof target !== 'object') {\n return [target].concat(source);\n }\n\n var mergeTarget = target;\n if (isArray(target) && !isArray(source)) {\n mergeTarget = arrayToObject(target, options);\n }\n\n if (isArray(target) && isArray(source)) {\n source.forEach(function (item, i) {\n if (has.call(target, i)) {\n var targetItem = target[i];\n if (targetItem && typeof targetItem === 'object' && item && typeof item === 'object') {\n target[i] = merge(targetItem, item, options);\n } else {\n target.push(item);\n }\n } else {\n target[i] = item;\n }\n });\n return target;\n }\n\n return Object.keys(source).reduce(function (acc, key) {\n var value = source[key];\n\n if (has.call(acc, key)) {\n acc[key] = merge(acc[key], value, options);\n } else {\n acc[key] = value;\n }\n return acc;\n }, mergeTarget);\n};\n\nvar assign = function assignSingleSource(target, source) {\n return Object.keys(source).reduce(function (acc, key) {\n acc[key] = source[key];\n return acc;\n }, target);\n};\n\nvar decode = function (str, decoder, charset) {\n var strWithoutPlus = str.replace(/\\+/g, ' ');\n if (charset === 'iso-8859-1') {\n // unescape never throws, no try...catch needed:\n return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape);\n }\n // utf-8\n try {\n return decodeURIComponent(strWithoutPlus);\n } catch (e) {\n return strWithoutPlus;\n }\n};\n\nvar encode = function encode(str, defaultEncoder, charset, kind, format) {\n // This code was originally written by Brian White (mscdex) for the io.js core querystring library.\n // It has been adapted here for stricter adherence to RFC 3986\n if (str.length === 0) {\n return str;\n }\n\n var string = str;\n if (typeof str === 'symbol') {\n string = Symbol.prototype.toString.call(str);\n } else if (typeof str !== 'string') {\n string = String(str);\n }\n\n if (charset === 'iso-8859-1') {\n return escape(string).replace(/%u[0-9a-f]{4}/gi, function ($0) {\n return '%26%23' + parseInt($0.slice(2), 16) + '%3B';\n });\n }\n\n var out = '';\n for (var i = 0; i < string.length; ++i) {\n var c = string.charCodeAt(i);\n\n if (\n c === 0x2D // -\n || c === 0x2E // .\n || c === 0x5F // _\n || c === 0x7E // ~\n || (c >= 0x30 && c <= 0x39) // 0-9\n || (c >= 0x41 && c <= 0x5A) // a-z\n || (c >= 0x61 && c <= 0x7A) // A-Z\n || (format === formats.RFC1738 && (c === 0x28 || c === 0x29)) // ( )\n ) {\n out += string.charAt(i);\n continue;\n }\n\n if (c < 0x80) {\n out = out + hexTable[c];\n continue;\n }\n\n if (c < 0x800) {\n out = out + (hexTable[0xC0 | (c >> 6)] + hexTable[0x80 | (c & 0x3F)]);\n continue;\n }\n\n if (c < 0xD800 || c >= 0xE000) {\n out = out + (hexTable[0xE0 | (c >> 12)] + hexTable[0x80 | ((c >> 6) & 0x3F)] + hexTable[0x80 | (c & 0x3F)]);\n continue;\n }\n\n i += 1;\n c = 0x10000 + (((c & 0x3FF) << 10) | (string.charCodeAt(i) & 0x3FF));\n /* eslint operator-linebreak: [2, \"before\"] */\n out += hexTable[0xF0 | (c >> 18)]\n + hexTable[0x80 | ((c >> 12) & 0x3F)]\n + hexTable[0x80 | ((c >> 6) & 0x3F)]\n + hexTable[0x80 | (c & 0x3F)];\n }\n\n return out;\n};\n\nvar compact = function compact(value) {\n var queue = [{ obj: { o: value }, prop: 'o' }];\n var refs = [];\n\n for (var i = 0; i < queue.length; ++i) {\n var item = queue[i];\n var obj = item.obj[item.prop];\n\n var keys = Object.keys(obj);\n for (var j = 0; j < keys.length; ++j) {\n var key = keys[j];\n var val = obj[key];\n if (typeof val === 'object' && val !== null && refs.indexOf(val) === -1) {\n queue.push({ obj: obj, prop: key });\n refs.push(val);\n }\n }\n }\n\n compactQueue(queue);\n\n return value;\n};\n\nvar isRegExp = function isRegExp(obj) {\n return Object.prototype.toString.call(obj) === '[object RegExp]';\n};\n\nvar isBuffer = function isBuffer(obj) {\n if (!obj || typeof obj !== 'object') {\n return false;\n }\n\n return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));\n};\n\nvar combine = function combine(a, b) {\n return [].concat(a, b);\n};\n\nvar maybeMap = function maybeMap(val, fn) {\n if (isArray(val)) {\n var mapped = [];\n for (var i = 0; i < val.length; i += 1) {\n mapped.push(fn(val[i]));\n }\n return mapped;\n }\n return fn(val);\n};\n\nmodule.exports = {\n arrayToObject: arrayToObject,\n assign: assign,\n combine: combine,\n compact: compact,\n decode: decode,\n encode: encode,\n isBuffer: isBuffer,\n isRegExp: isRegExp,\n maybeMap: maybeMap,\n merge: merge\n};\n","/** @license React v16.14.0\n * react-dom.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n/*\n Modernizr 3.0.0pre (Custom Build) | MIT\n*/\n'use strict';var aa=require(\"react\"),n=require(\"object-assign\"),r=require(\"scheduler\");function u(a){for(var b=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+a,c=1;c<arguments.length;c++)b+=\"&args[]=\"+encodeURIComponent(arguments[c]);return\"Minified React error #\"+a+\"; visit \"+b+\" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.\"}if(!aa)throw Error(u(227));\nfunction ba(a,b,c,d,e,f,g,h,k){var l=Array.prototype.slice.call(arguments,3);try{b.apply(c,l)}catch(m){this.onError(m)}}var da=!1,ea=null,fa=!1,ha=null,ia={onError:function(a){da=!0;ea=a}};function ja(a,b,c,d,e,f,g,h,k){da=!1;ea=null;ba.apply(ia,arguments)}function ka(a,b,c,d,e,f,g,h,k){ja.apply(this,arguments);if(da){if(da){var l=ea;da=!1;ea=null}else throw Error(u(198));fa||(fa=!0,ha=l)}}var la=null,ma=null,na=null;\nfunction oa(a,b,c){var d=a.type||\"unknown-event\";a.currentTarget=na(c);ka(d,b,void 0,a);a.currentTarget=null}var pa=null,qa={};\nfunction ra(){if(pa)for(var a in qa){var b=qa[a],c=pa.indexOf(a);if(!(-1<c))throw Error(u(96,a));if(!sa[c]){if(!b.extractEvents)throw Error(u(97,a));sa[c]=b;c=b.eventTypes;for(var d in c){var e=void 0;var f=c[d],g=b,h=d;if(ta.hasOwnProperty(h))throw Error(u(99,h));ta[h]=f;var k=f.phasedRegistrationNames;if(k){for(e in k)k.hasOwnProperty(e)&&ua(k[e],g,h);e=!0}else f.registrationName?(ua(f.registrationName,g,h),e=!0):e=!1;if(!e)throw Error(u(98,d,a));}}}}\nfunction ua(a,b,c){if(va[a])throw Error(u(100,a));va[a]=b;wa[a]=b.eventTypes[c].dependencies}var sa=[],ta={},va={},wa={};function xa(a){var b=!1,c;for(c in a)if(a.hasOwnProperty(c)){var d=a[c];if(!qa.hasOwnProperty(c)||qa[c]!==d){if(qa[c])throw Error(u(102,c));qa[c]=d;b=!0}}b&&ra()}var ya=!(\"undefined\"===typeof window||\"undefined\"===typeof window.document||\"undefined\"===typeof window.document.createElement),za=null,Aa=null,Ba=null;\nfunction Ca(a){if(a=ma(a)){if(\"function\"!==typeof za)throw Error(u(280));var b=a.stateNode;b&&(b=la(b),za(a.stateNode,a.type,b))}}function Da(a){Aa?Ba?Ba.push(a):Ba=[a]:Aa=a}function Ea(){if(Aa){var a=Aa,b=Ba;Ba=Aa=null;Ca(a);if(b)for(a=0;a<b.length;a++)Ca(b[a])}}function Fa(a,b){return a(b)}function Ga(a,b,c,d,e){return a(b,c,d,e)}function Ha(){}var Ia=Fa,Ja=!1,Ka=!1;function La(){if(null!==Aa||null!==Ba)Ha(),Ea()}\nfunction Ma(a,b,c){if(Ka)return a(b,c);Ka=!0;try{return Ia(a,b,c)}finally{Ka=!1,La()}}var Na=/^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$/,Oa=Object.prototype.hasOwnProperty,Pa={},Qa={};\nfunction Ra(a){if(Oa.call(Qa,a))return!0;if(Oa.call(Pa,a))return!1;if(Na.test(a))return Qa[a]=!0;Pa[a]=!0;return!1}function Sa(a,b,c,d){if(null!==c&&0===c.type)return!1;switch(typeof b){case \"function\":case \"symbol\":return!0;case \"boolean\":if(d)return!1;if(null!==c)return!c.acceptsBooleans;a=a.toLowerCase().slice(0,5);return\"data-\"!==a&&\"aria-\"!==a;default:return!1}}\nfunction Ta(a,b,c,d){if(null===b||\"undefined\"===typeof b||Sa(a,b,c,d))return!0;if(d)return!1;if(null!==c)switch(c.type){case 3:return!b;case 4:return!1===b;case 5:return isNaN(b);case 6:return isNaN(b)||1>b}return!1}function v(a,b,c,d,e,f){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=e;this.mustUseProperty=c;this.propertyName=a;this.type=b;this.sanitizeURL=f}var C={};\n\"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style\".split(\" \").forEach(function(a){C[a]=new v(a,0,!1,a,null,!1)});[[\"acceptCharset\",\"accept-charset\"],[\"className\",\"class\"],[\"htmlFor\",\"for\"],[\"httpEquiv\",\"http-equiv\"]].forEach(function(a){var b=a[0];C[b]=new v(b,1,!1,a[1],null,!1)});[\"contentEditable\",\"draggable\",\"spellCheck\",\"value\"].forEach(function(a){C[a]=new v(a,2,!1,a.toLowerCase(),null,!1)});\n[\"autoReverse\",\"externalResourcesRequired\",\"focusable\",\"preserveAlpha\"].forEach(function(a){C[a]=new v(a,2,!1,a,null,!1)});\"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope\".split(\" \").forEach(function(a){C[a]=new v(a,3,!1,a.toLowerCase(),null,!1)});\n[\"checked\",\"multiple\",\"muted\",\"selected\"].forEach(function(a){C[a]=new v(a,3,!0,a,null,!1)});[\"capture\",\"download\"].forEach(function(a){C[a]=new v(a,4,!1,a,null,!1)});[\"cols\",\"rows\",\"size\",\"span\"].forEach(function(a){C[a]=new v(a,6,!1,a,null,!1)});[\"rowSpan\",\"start\"].forEach(function(a){C[a]=new v(a,5,!1,a.toLowerCase(),null,!1)});var Ua=/[\\-:]([a-z])/g;function Va(a){return a[1].toUpperCase()}\n\"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height\".split(\" \").forEach(function(a){var b=a.replace(Ua,\nVa);C[b]=new v(b,1,!1,a,null,!1)});\"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type\".split(\" \").forEach(function(a){var b=a.replace(Ua,Va);C[b]=new v(b,1,!1,a,\"http://www.w3.org/1999/xlink\",!1)});[\"xml:base\",\"xml:lang\",\"xml:space\"].forEach(function(a){var b=a.replace(Ua,Va);C[b]=new v(b,1,!1,a,\"http://www.w3.org/XML/1998/namespace\",!1)});[\"tabIndex\",\"crossOrigin\"].forEach(function(a){C[a]=new v(a,1,!1,a.toLowerCase(),null,!1)});\nC.xlinkHref=new v(\"xlinkHref\",1,!1,\"xlink:href\",\"http://www.w3.org/1999/xlink\",!0);[\"src\",\"href\",\"action\",\"formAction\"].forEach(function(a){C[a]=new v(a,1,!1,a.toLowerCase(),null,!0)});var Wa=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;Wa.hasOwnProperty(\"ReactCurrentDispatcher\")||(Wa.ReactCurrentDispatcher={current:null});Wa.hasOwnProperty(\"ReactCurrentBatchConfig\")||(Wa.ReactCurrentBatchConfig={suspense:null});\nfunction Xa(a,b,c,d){var e=C.hasOwnProperty(b)?C[b]:null;var f=null!==e?0===e.type:d?!1:!(2<b.length)||\"o\"!==b[0]&&\"O\"!==b[0]||\"n\"!==b[1]&&\"N\"!==b[1]?!1:!0;f||(Ta(b,c,e,d)&&(c=null),d||null===e?Ra(b)&&(null===c?a.removeAttribute(b):a.setAttribute(b,\"\"+c)):e.mustUseProperty?a[e.propertyName]=null===c?3===e.type?!1:\"\":c:(b=e.attributeName,d=e.attributeNamespace,null===c?a.removeAttribute(b):(e=e.type,c=3===e||4===e&&!0===c?\"\":\"\"+c,d?a.setAttributeNS(d,b,c):a.setAttribute(b,c))))}\nvar Ya=/^(.*)[\\\\\\/]/,E=\"function\"===typeof Symbol&&Symbol.for,Za=E?Symbol.for(\"react.element\"):60103,$a=E?Symbol.for(\"react.portal\"):60106,ab=E?Symbol.for(\"react.fragment\"):60107,bb=E?Symbol.for(\"react.strict_mode\"):60108,cb=E?Symbol.for(\"react.profiler\"):60114,db=E?Symbol.for(\"react.provider\"):60109,eb=E?Symbol.for(\"react.context\"):60110,fb=E?Symbol.for(\"react.concurrent_mode\"):60111,gb=E?Symbol.for(\"react.forward_ref\"):60112,hb=E?Symbol.for(\"react.suspense\"):60113,ib=E?Symbol.for(\"react.suspense_list\"):\n60120,jb=E?Symbol.for(\"react.memo\"):60115,kb=E?Symbol.for(\"react.lazy\"):60116,lb=E?Symbol.for(\"react.block\"):60121,mb=\"function\"===typeof Symbol&&Symbol.iterator;function nb(a){if(null===a||\"object\"!==typeof a)return null;a=mb&&a[mb]||a[\"@@iterator\"];return\"function\"===typeof a?a:null}function ob(a){if(-1===a._status){a._status=0;var b=a._ctor;b=b();a._result=b;b.then(function(b){0===a._status&&(b=b.default,a._status=1,a._result=b)},function(b){0===a._status&&(a._status=2,a._result=b)})}}\nfunction pb(a){if(null==a)return null;if(\"function\"===typeof a)return a.displayName||a.name||null;if(\"string\"===typeof a)return a;switch(a){case ab:return\"Fragment\";case $a:return\"Portal\";case cb:return\"Profiler\";case bb:return\"StrictMode\";case hb:return\"Suspense\";case ib:return\"SuspenseList\"}if(\"object\"===typeof a)switch(a.$$typeof){case eb:return\"Context.Consumer\";case db:return\"Context.Provider\";case gb:var b=a.render;b=b.displayName||b.name||\"\";return a.displayName||(\"\"!==b?\"ForwardRef(\"+b+\")\":\n\"ForwardRef\");case jb:return pb(a.type);case lb:return pb(a.render);case kb:if(a=1===a._status?a._result:null)return pb(a)}return null}function qb(a){var b=\"\";do{a:switch(a.tag){case 3:case 4:case 6:case 7:case 10:case 9:var c=\"\";break a;default:var d=a._debugOwner,e=a._debugSource,f=pb(a.type);c=null;d&&(c=pb(d.type));d=f;f=\"\";e?f=\" (at \"+e.fileName.replace(Ya,\"\")+\":\"+e.lineNumber+\")\":c&&(f=\" (created by \"+c+\")\");c=\"\\n in \"+(d||\"Unknown\")+f}b+=c;a=a.return}while(a);return b}\nfunction rb(a){switch(typeof a){case \"boolean\":case \"number\":case \"object\":case \"string\":case \"undefined\":return a;default:return\"\"}}function sb(a){var b=a.type;return(a=a.nodeName)&&\"input\"===a.toLowerCase()&&(\"checkbox\"===b||\"radio\"===b)}\nfunction tb(a){var b=sb(a)?\"checked\":\"value\",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=\"\"+a[b];if(!a.hasOwnProperty(b)&&\"undefined\"!==typeof c&&\"function\"===typeof c.get&&\"function\"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(a){d=\"\"+a;f.call(this,a)}});Object.defineProperty(a,b,{enumerable:c.enumerable});return{getValue:function(){return d},setValue:function(a){d=\"\"+a},stopTracking:function(){a._valueTracker=\nnull;delete a[b]}}}}function xb(a){a._valueTracker||(a._valueTracker=tb(a))}function yb(a){if(!a)return!1;var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d=\"\";a&&(d=sb(a)?a.checked?\"true\":\"false\":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function zb(a,b){var c=b.checked;return n({},b,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=c?c:a._wrapperState.initialChecked})}\nfunction Ab(a,b){var c=null==b.defaultValue?\"\":b.defaultValue,d=null!=b.checked?b.checked:b.defaultChecked;c=rb(null!=b.value?b.value:c);a._wrapperState={initialChecked:d,initialValue:c,controlled:\"checkbox\"===b.type||\"radio\"===b.type?null!=b.checked:null!=b.value}}function Bb(a,b){b=b.checked;null!=b&&Xa(a,\"checked\",b,!1)}\nfunction Cb(a,b){Bb(a,b);var c=rb(b.value),d=b.type;if(null!=c)if(\"number\"===d){if(0===c&&\"\"===a.value||a.value!=c)a.value=\"\"+c}else a.value!==\"\"+c&&(a.value=\"\"+c);else if(\"submit\"===d||\"reset\"===d){a.removeAttribute(\"value\");return}b.hasOwnProperty(\"value\")?Db(a,b.type,c):b.hasOwnProperty(\"defaultValue\")&&Db(a,b.type,rb(b.defaultValue));null==b.checked&&null!=b.defaultChecked&&(a.defaultChecked=!!b.defaultChecked)}\nfunction Eb(a,b,c){if(b.hasOwnProperty(\"value\")||b.hasOwnProperty(\"defaultValue\")){var d=b.type;if(!(\"submit\"!==d&&\"reset\"!==d||void 0!==b.value&&null!==b.value))return;b=\"\"+a._wrapperState.initialValue;c||b===a.value||(a.value=b);a.defaultValue=b}c=a.name;\"\"!==c&&(a.name=\"\");a.defaultChecked=!!a._wrapperState.initialChecked;\"\"!==c&&(a.name=c)}\nfunction Db(a,b,c){if(\"number\"!==b||a.ownerDocument.activeElement!==a)null==c?a.defaultValue=\"\"+a._wrapperState.initialValue:a.defaultValue!==\"\"+c&&(a.defaultValue=\"\"+c)}function Fb(a){var b=\"\";aa.Children.forEach(a,function(a){null!=a&&(b+=a)});return b}function Gb(a,b){a=n({children:void 0},b);if(b=Fb(b.children))a.children=b;return a}\nfunction Hb(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e<c.length;e++)b[\"$\"+c[e]]=!0;for(c=0;c<a.length;c++)e=b.hasOwnProperty(\"$\"+a[c].value),a[c].selected!==e&&(a[c].selected=e),e&&d&&(a[c].defaultSelected=!0)}else{c=\"\"+rb(c);b=null;for(e=0;e<a.length;e++){if(a[e].value===c){a[e].selected=!0;d&&(a[e].defaultSelected=!0);return}null!==b||a[e].disabled||(b=a[e])}null!==b&&(b.selected=!0)}}\nfunction Ib(a,b){if(null!=b.dangerouslySetInnerHTML)throw Error(u(91));return n({},b,{value:void 0,defaultValue:void 0,children:\"\"+a._wrapperState.initialValue})}function Jb(a,b){var c=b.value;if(null==c){c=b.children;b=b.defaultValue;if(null!=c){if(null!=b)throw Error(u(92));if(Array.isArray(c)){if(!(1>=c.length))throw Error(u(93));c=c[0]}b=c}null==b&&(b=\"\");c=b}a._wrapperState={initialValue:rb(c)}}\nfunction Kb(a,b){var c=rb(b.value),d=rb(b.defaultValue);null!=c&&(c=\"\"+c,c!==a.value&&(a.value=c),null==b.defaultValue&&a.defaultValue!==c&&(a.defaultValue=c));null!=d&&(a.defaultValue=\"\"+d)}function Lb(a){var b=a.textContent;b===a._wrapperState.initialValue&&\"\"!==b&&null!==b&&(a.value=b)}var Mb={html:\"http://www.w3.org/1999/xhtml\",mathml:\"http://www.w3.org/1998/Math/MathML\",svg:\"http://www.w3.org/2000/svg\"};\nfunction Nb(a){switch(a){case \"svg\":return\"http://www.w3.org/2000/svg\";case \"math\":return\"http://www.w3.org/1998/Math/MathML\";default:return\"http://www.w3.org/1999/xhtml\"}}function Ob(a,b){return null==a||\"http://www.w3.org/1999/xhtml\"===a?Nb(b):\"http://www.w3.org/2000/svg\"===a&&\"foreignObject\"===b?\"http://www.w3.org/1999/xhtml\":a}\nvar Pb,Qb=function(a){return\"undefined\"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(b,c,d,e){MSApp.execUnsafeLocalFunction(function(){return a(b,c,d,e)})}:a}(function(a,b){if(a.namespaceURI!==Mb.svg||\"innerHTML\"in a)a.innerHTML=b;else{Pb=Pb||document.createElement(\"div\");Pb.innerHTML=\"<svg>\"+b.valueOf().toString()+\"</svg>\";for(b=Pb.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;b.firstChild;)a.appendChild(b.firstChild)}});\nfunction Rb(a,b){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType){c.nodeValue=b;return}}a.textContent=b}function Sb(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c[\"Webkit\"+a]=\"webkit\"+b;c[\"Moz\"+a]=\"moz\"+b;return c}var Tb={animationend:Sb(\"Animation\",\"AnimationEnd\"),animationiteration:Sb(\"Animation\",\"AnimationIteration\"),animationstart:Sb(\"Animation\",\"AnimationStart\"),transitionend:Sb(\"Transition\",\"TransitionEnd\")},Ub={},Vb={};\nya&&(Vb=document.createElement(\"div\").style,\"AnimationEvent\"in window||(delete Tb.animationend.animation,delete Tb.animationiteration.animation,delete Tb.animationstart.animation),\"TransitionEvent\"in window||delete Tb.transitionend.transition);function Wb(a){if(Ub[a])return Ub[a];if(!Tb[a])return a;var b=Tb[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in Vb)return Ub[a]=b[c];return a}\nvar Xb=Wb(\"animationend\"),Yb=Wb(\"animationiteration\"),Zb=Wb(\"animationstart\"),$b=Wb(\"transitionend\"),ac=\"abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting\".split(\" \"),bc=new (\"function\"===typeof WeakMap?WeakMap:Map);function cc(a){var b=bc.get(a);void 0===b&&(b=new Map,bc.set(a,b));return b}\nfunction dc(a){var b=a,c=a;if(a.alternate)for(;b.return;)b=b.return;else{a=b;do b=a,0!==(b.effectTag&1026)&&(c=b.return),a=b.return;while(a)}return 3===b.tag?c:null}function ec(a){if(13===a.tag){var b=a.memoizedState;null===b&&(a=a.alternate,null!==a&&(b=a.memoizedState));if(null!==b)return b.dehydrated}return null}function fc(a){if(dc(a)!==a)throw Error(u(188));}\nfunction gc(a){var b=a.alternate;if(!b){b=dc(a);if(null===b)throw Error(u(188));return b!==a?null:a}for(var c=a,d=b;;){var e=c.return;if(null===e)break;var f=e.alternate;if(null===f){d=e.return;if(null!==d){c=d;continue}break}if(e.child===f.child){for(f=e.child;f;){if(f===c)return fc(e),a;if(f===d)return fc(e),b;f=f.sibling}throw Error(u(188));}if(c.return!==d.return)c=e,d=f;else{for(var g=!1,h=e.child;h;){if(h===c){g=!0;c=e;d=f;break}if(h===d){g=!0;d=e;c=f;break}h=h.sibling}if(!g){for(h=f.child;h;){if(h===\nc){g=!0;c=f;d=e;break}if(h===d){g=!0;d=f;c=e;break}h=h.sibling}if(!g)throw Error(u(189));}}if(c.alternate!==d)throw Error(u(190));}if(3!==c.tag)throw Error(u(188));return c.stateNode.current===c?a:b}function hc(a){a=gc(a);if(!a)return null;for(var b=a;;){if(5===b.tag||6===b.tag)return b;if(b.child)b.child.return=b,b=b.child;else{if(b===a)break;for(;!b.sibling;){if(!b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}}return null}\nfunction ic(a,b){if(null==b)throw Error(u(30));if(null==a)return b;if(Array.isArray(a)){if(Array.isArray(b))return a.push.apply(a,b),a;a.push(b);return a}return Array.isArray(b)?[a].concat(b):[a,b]}function jc(a,b,c){Array.isArray(a)?a.forEach(b,c):a&&b.call(c,a)}var kc=null;\nfunction lc(a){if(a){var b=a._dispatchListeners,c=a._dispatchInstances;if(Array.isArray(b))for(var d=0;d<b.length&&!a.isPropagationStopped();d++)oa(a,b[d],c[d]);else b&&oa(a,b,c);a._dispatchListeners=null;a._dispatchInstances=null;a.isPersistent()||a.constructor.release(a)}}function mc(a){null!==a&&(kc=ic(kc,a));a=kc;kc=null;if(a){jc(a,lc);if(kc)throw Error(u(95));if(fa)throw a=ha,fa=!1,ha=null,a;}}\nfunction nc(a){a=a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode:a}function oc(a){if(!ya)return!1;a=\"on\"+a;var b=a in document;b||(b=document.createElement(\"div\"),b.setAttribute(a,\"return;\"),b=\"function\"===typeof b[a]);return b}var pc=[];function qc(a){a.topLevelType=null;a.nativeEvent=null;a.targetInst=null;a.ancestors.length=0;10>pc.length&&pc.push(a)}\nfunction rc(a,b,c,d){if(pc.length){var e=pc.pop();e.topLevelType=a;e.eventSystemFlags=d;e.nativeEvent=b;e.targetInst=c;return e}return{topLevelType:a,eventSystemFlags:d,nativeEvent:b,targetInst:c,ancestors:[]}}\nfunction sc(a){var b=a.targetInst,c=b;do{if(!c){a.ancestors.push(c);break}var d=c;if(3===d.tag)d=d.stateNode.containerInfo;else{for(;d.return;)d=d.return;d=3!==d.tag?null:d.stateNode.containerInfo}if(!d)break;b=c.tag;5!==b&&6!==b||a.ancestors.push(c);c=tc(d)}while(c);for(c=0;c<a.ancestors.length;c++){b=a.ancestors[c];var e=nc(a.nativeEvent);d=a.topLevelType;var f=a.nativeEvent,g=a.eventSystemFlags;0===c&&(g|=64);for(var h=null,k=0;k<sa.length;k++){var l=sa[k];l&&(l=l.extractEvents(d,b,f,e,g))&&(h=\nic(h,l))}mc(h)}}function uc(a,b,c){if(!c.has(a)){switch(a){case \"scroll\":vc(b,\"scroll\",!0);break;case \"focus\":case \"blur\":vc(b,\"focus\",!0);vc(b,\"blur\",!0);c.set(\"blur\",null);c.set(\"focus\",null);break;case \"cancel\":case \"close\":oc(a)&&vc(b,a,!0);break;case \"invalid\":case \"submit\":case \"reset\":break;default:-1===ac.indexOf(a)&&F(a,b)}c.set(a,null)}}\nvar wc,xc,yc,zc=!1,Ac=[],Bc=null,Cc=null,Dc=null,Ec=new Map,Fc=new Map,Gc=[],Hc=\"mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit\".split(\" \"),Ic=\"focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture\".split(\" \");\nfunction Jc(a,b){var c=cc(b);Hc.forEach(function(a){uc(a,b,c)});Ic.forEach(function(a){uc(a,b,c)})}function Kc(a,b,c,d,e){return{blockedOn:a,topLevelType:b,eventSystemFlags:c|32,nativeEvent:e,container:d}}\nfunction Lc(a,b){switch(a){case \"focus\":case \"blur\":Bc=null;break;case \"dragenter\":case \"dragleave\":Cc=null;break;case \"mouseover\":case \"mouseout\":Dc=null;break;case \"pointerover\":case \"pointerout\":Ec.delete(b.pointerId);break;case \"gotpointercapture\":case \"lostpointercapture\":Fc.delete(b.pointerId)}}function Mc(a,b,c,d,e,f){if(null===a||a.nativeEvent!==f)return a=Kc(b,c,d,e,f),null!==b&&(b=Nc(b),null!==b&&xc(b)),a;a.eventSystemFlags|=d;return a}\nfunction Oc(a,b,c,d,e){switch(b){case \"focus\":return Bc=Mc(Bc,a,b,c,d,e),!0;case \"dragenter\":return Cc=Mc(Cc,a,b,c,d,e),!0;case \"mouseover\":return Dc=Mc(Dc,a,b,c,d,e),!0;case \"pointerover\":var f=e.pointerId;Ec.set(f,Mc(Ec.get(f)||null,a,b,c,d,e));return!0;case \"gotpointercapture\":return f=e.pointerId,Fc.set(f,Mc(Fc.get(f)||null,a,b,c,d,e)),!0}return!1}\nfunction Pc(a){var b=tc(a.target);if(null!==b){var c=dc(b);if(null!==c)if(b=c.tag,13===b){if(b=ec(c),null!==b){a.blockedOn=b;r.unstable_runWithPriority(a.priority,function(){yc(c)});return}}else if(3===b&&c.stateNode.hydrate){a.blockedOn=3===c.tag?c.stateNode.containerInfo:null;return}}a.blockedOn=null}function Qc(a){if(null!==a.blockedOn)return!1;var b=Rc(a.topLevelType,a.eventSystemFlags,a.container,a.nativeEvent);if(null!==b){var c=Nc(b);null!==c&&xc(c);a.blockedOn=b;return!1}return!0}\nfunction Sc(a,b,c){Qc(a)&&c.delete(b)}function Tc(){for(zc=!1;0<Ac.length;){var a=Ac[0];if(null!==a.blockedOn){a=Nc(a.blockedOn);null!==a&&wc(a);break}var b=Rc(a.topLevelType,a.eventSystemFlags,a.container,a.nativeEvent);null!==b?a.blockedOn=b:Ac.shift()}null!==Bc&&Qc(Bc)&&(Bc=null);null!==Cc&&Qc(Cc)&&(Cc=null);null!==Dc&&Qc(Dc)&&(Dc=null);Ec.forEach(Sc);Fc.forEach(Sc)}function Uc(a,b){a.blockedOn===b&&(a.blockedOn=null,zc||(zc=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,Tc)))}\nfunction Vc(a){function b(b){return Uc(b,a)}if(0<Ac.length){Uc(Ac[0],a);for(var c=1;c<Ac.length;c++){var d=Ac[c];d.blockedOn===a&&(d.blockedOn=null)}}null!==Bc&&Uc(Bc,a);null!==Cc&&Uc(Cc,a);null!==Dc&&Uc(Dc,a);Ec.forEach(b);Fc.forEach(b);for(c=0;c<Gc.length;c++)d=Gc[c],d.blockedOn===a&&(d.blockedOn=null);for(;0<Gc.length&&(c=Gc[0],null===c.blockedOn);)Pc(c),null===c.blockedOn&&Gc.shift()}\nvar Wc={},Yc=new Map,Zc=new Map,$c=[\"abort\",\"abort\",Xb,\"animationEnd\",Yb,\"animationIteration\",Zb,\"animationStart\",\"canplay\",\"canPlay\",\"canplaythrough\",\"canPlayThrough\",\"durationchange\",\"durationChange\",\"emptied\",\"emptied\",\"encrypted\",\"encrypted\",\"ended\",\"ended\",\"error\",\"error\",\"gotpointercapture\",\"gotPointerCapture\",\"load\",\"load\",\"loadeddata\",\"loadedData\",\"loadedmetadata\",\"loadedMetadata\",\"loadstart\",\"loadStart\",\"lostpointercapture\",\"lostPointerCapture\",\"playing\",\"playing\",\"progress\",\"progress\",\"seeking\",\n\"seeking\",\"stalled\",\"stalled\",\"suspend\",\"suspend\",\"timeupdate\",\"timeUpdate\",$b,\"transitionEnd\",\"waiting\",\"waiting\"];function ad(a,b){for(var c=0;c<a.length;c+=2){var d=a[c],e=a[c+1],f=\"on\"+(e[0].toUpperCase()+e.slice(1));f={phasedRegistrationNames:{bubbled:f,captured:f+\"Capture\"},dependencies:[d],eventPriority:b};Zc.set(d,b);Yc.set(d,f);Wc[e]=f}}\nad(\"blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange\".split(\" \"),0);\nad(\"drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel\".split(\" \"),1);ad($c,2);for(var bd=\"change selectionchange textInput compositionstart compositionend compositionupdate\".split(\" \"),cd=0;cd<bd.length;cd++)Zc.set(bd[cd],0);\nvar dd=r.unstable_UserBlockingPriority,ed=r.unstable_runWithPriority,fd=!0;function F(a,b){vc(b,a,!1)}function vc(a,b,c){var d=Zc.get(b);switch(void 0===d?2:d){case 0:d=gd.bind(null,b,1,a);break;case 1:d=hd.bind(null,b,1,a);break;default:d=id.bind(null,b,1,a)}c?a.addEventListener(b,d,!0):a.addEventListener(b,d,!1)}function gd(a,b,c,d){Ja||Ha();var e=id,f=Ja;Ja=!0;try{Ga(e,a,b,c,d)}finally{(Ja=f)||La()}}function hd(a,b,c,d){ed(dd,id.bind(null,a,b,c,d))}\nfunction id(a,b,c,d){if(fd)if(0<Ac.length&&-1<Hc.indexOf(a))a=Kc(null,a,b,c,d),Ac.push(a);else{var e=Rc(a,b,c,d);if(null===e)Lc(a,d);else if(-1<Hc.indexOf(a))a=Kc(e,a,b,c,d),Ac.push(a);else if(!Oc(e,a,b,c,d)){Lc(a,d);a=rc(a,d,null,b);try{Ma(sc,a)}finally{qc(a)}}}}\nfunction Rc(a,b,c,d){c=nc(d);c=tc(c);if(null!==c){var e=dc(c);if(null===e)c=null;else{var f=e.tag;if(13===f){c=ec(e);if(null!==c)return c;c=null}else if(3===f){if(e.stateNode.hydrate)return 3===e.tag?e.stateNode.containerInfo:null;c=null}else e!==c&&(c=null)}}a=rc(a,d,c,b);try{Ma(sc,a)}finally{qc(a)}return null}\nvar jd={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,\nfloodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},kd=[\"Webkit\",\"ms\",\"Moz\",\"O\"];Object.keys(jd).forEach(function(a){kd.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);jd[b]=jd[a]})});function ld(a,b,c){return null==b||\"boolean\"===typeof b||\"\"===b?\"\":c||\"number\"!==typeof b||0===b||jd.hasOwnProperty(a)&&jd[a]?(\"\"+b).trim():b+\"px\"}\nfunction md(a,b){a=a.style;for(var c in b)if(b.hasOwnProperty(c)){var d=0===c.indexOf(\"--\"),e=ld(c,b[c],d);\"float\"===c&&(c=\"cssFloat\");d?a.setProperty(c,e):a[c]=e}}var nd=n({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});\nfunction od(a,b){if(b){if(nd[a]&&(null!=b.children||null!=b.dangerouslySetInnerHTML))throw Error(u(137,a,\"\"));if(null!=b.dangerouslySetInnerHTML){if(null!=b.children)throw Error(u(60));if(!(\"object\"===typeof b.dangerouslySetInnerHTML&&\"__html\"in b.dangerouslySetInnerHTML))throw Error(u(61));}if(null!=b.style&&\"object\"!==typeof b.style)throw Error(u(62,\"\"));}}\nfunction pd(a,b){if(-1===a.indexOf(\"-\"))return\"string\"===typeof b.is;switch(a){case \"annotation-xml\":case \"color-profile\":case \"font-face\":case \"font-face-src\":case \"font-face-uri\":case \"font-face-format\":case \"font-face-name\":case \"missing-glyph\":return!1;default:return!0}}var qd=Mb.html;function rd(a,b){a=9===a.nodeType||11===a.nodeType?a:a.ownerDocument;var c=cc(a);b=wa[b];for(var d=0;d<b.length;d++)uc(b[d],a,c)}function sd(){}\nfunction td(a){a=a||(\"undefined\"!==typeof document?document:void 0);if(\"undefined\"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}function ud(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function vd(a,b){var c=ud(a);a=0;for(var d;c;){if(3===c.nodeType){d=a+c.textContent.length;if(a<=b&&d>=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=ud(c)}}\nfunction wd(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?wd(a,b.parentNode):\"contains\"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1}function xd(){for(var a=window,b=td();b instanceof a.HTMLIFrameElement;){try{var c=\"string\"===typeof b.contentWindow.location.href}catch(d){c=!1}if(c)a=b.contentWindow;else break;b=td(a.document)}return b}\nfunction yd(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&(\"input\"===b&&(\"text\"===a.type||\"search\"===a.type||\"tel\"===a.type||\"url\"===a.type||\"password\"===a.type)||\"textarea\"===b||\"true\"===a.contentEditable)}var zd=\"$\",Ad=\"/$\",Bd=\"$?\",Cd=\"$!\",Dd=null,Ed=null;function Fd(a,b){switch(a){case \"button\":case \"input\":case \"select\":case \"textarea\":return!!b.autoFocus}return!1}\nfunction Gd(a,b){return\"textarea\"===a||\"option\"===a||\"noscript\"===a||\"string\"===typeof b.children||\"number\"===typeof b.children||\"object\"===typeof b.dangerouslySetInnerHTML&&null!==b.dangerouslySetInnerHTML&&null!=b.dangerouslySetInnerHTML.__html}var Hd=\"function\"===typeof setTimeout?setTimeout:void 0,Id=\"function\"===typeof clearTimeout?clearTimeout:void 0;function Jd(a){for(;null!=a;a=a.nextSibling){var b=a.nodeType;if(1===b||3===b)break}return a}\nfunction Kd(a){a=a.previousSibling;for(var b=0;a;){if(8===a.nodeType){var c=a.data;if(c===zd||c===Cd||c===Bd){if(0===b)return a;b--}else c===Ad&&b++}a=a.previousSibling}return null}var Ld=Math.random().toString(36).slice(2),Md=\"__reactInternalInstance$\"+Ld,Nd=\"__reactEventHandlers$\"+Ld,Od=\"__reactContainere$\"+Ld;\nfunction tc(a){var b=a[Md];if(b)return b;for(var c=a.parentNode;c;){if(b=c[Od]||c[Md]){c=b.alternate;if(null!==b.child||null!==c&&null!==c.child)for(a=Kd(a);null!==a;){if(c=a[Md])return c;a=Kd(a)}return b}a=c;c=a.parentNode}return null}function Nc(a){a=a[Md]||a[Od];return!a||5!==a.tag&&6!==a.tag&&13!==a.tag&&3!==a.tag?null:a}function Pd(a){if(5===a.tag||6===a.tag)return a.stateNode;throw Error(u(33));}function Qd(a){return a[Nd]||null}\nfunction Rd(a){do a=a.return;while(a&&5!==a.tag);return a?a:null}\nfunction Sd(a,b){var c=a.stateNode;if(!c)return null;var d=la(c);if(!d)return null;c=d[b];a:switch(b){case \"onClick\":case \"onClickCapture\":case \"onDoubleClick\":case \"onDoubleClickCapture\":case \"onMouseDown\":case \"onMouseDownCapture\":case \"onMouseMove\":case \"onMouseMoveCapture\":case \"onMouseUp\":case \"onMouseUpCapture\":case \"onMouseEnter\":(d=!d.disabled)||(a=a.type,d=!(\"button\"===a||\"input\"===a||\"select\"===a||\"textarea\"===a));a=!d;break a;default:a=!1}if(a)return null;if(c&&\"function\"!==typeof c)throw Error(u(231,\nb,typeof c));return c}function Td(a,b,c){if(b=Sd(a,c.dispatchConfig.phasedRegistrationNames[b]))c._dispatchListeners=ic(c._dispatchListeners,b),c._dispatchInstances=ic(c._dispatchInstances,a)}function Ud(a){if(a&&a.dispatchConfig.phasedRegistrationNames){for(var b=a._targetInst,c=[];b;)c.push(b),b=Rd(b);for(b=c.length;0<b--;)Td(c[b],\"captured\",a);for(b=0;b<c.length;b++)Td(c[b],\"bubbled\",a)}}\nfunction Vd(a,b,c){a&&c&&c.dispatchConfig.registrationName&&(b=Sd(a,c.dispatchConfig.registrationName))&&(c._dispatchListeners=ic(c._dispatchListeners,b),c._dispatchInstances=ic(c._dispatchInstances,a))}function Wd(a){a&&a.dispatchConfig.registrationName&&Vd(a._targetInst,null,a)}function Xd(a){jc(a,Ud)}var Yd=null,Zd=null,$d=null;\nfunction ae(){if($d)return $d;var a,b=Zd,c=b.length,d,e=\"value\"in Yd?Yd.value:Yd.textContent,f=e.length;for(a=0;a<c&&b[a]===e[a];a++);var g=c-a;for(d=1;d<=g&&b[c-d]===e[f-d];d++);return $d=e.slice(a,1<d?1-d:void 0)}function be(){return!0}function ce(){return!1}\nfunction G(a,b,c,d){this.dispatchConfig=a;this._targetInst=b;this.nativeEvent=c;a=this.constructor.Interface;for(var e in a)a.hasOwnProperty(e)&&((b=a[e])?this[e]=b(c):\"target\"===e?this.target=d:this[e]=c[e]);this.isDefaultPrevented=(null!=c.defaultPrevented?c.defaultPrevented:!1===c.returnValue)?be:ce;this.isPropagationStopped=ce;return this}\nn(G.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():\"unknown\"!==typeof a.returnValue&&(a.returnValue=!1),this.isDefaultPrevented=be)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():\"unknown\"!==typeof a.cancelBubble&&(a.cancelBubble=!0),this.isPropagationStopped=be)},persist:function(){this.isPersistent=be},isPersistent:ce,destructor:function(){var a=this.constructor.Interface,\nb;for(b in a)this[b]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null;this.isPropagationStopped=this.isDefaultPrevented=ce;this._dispatchInstances=this._dispatchListeners=null}});G.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};\nG.extend=function(a){function b(){}function c(){return d.apply(this,arguments)}var d=this;b.prototype=d.prototype;var e=new b;n(e,c.prototype);c.prototype=e;c.prototype.constructor=c;c.Interface=n({},d.Interface,a);c.extend=d.extend;de(c);return c};de(G);function ee(a,b,c,d){if(this.eventPool.length){var e=this.eventPool.pop();this.call(e,a,b,c,d);return e}return new this(a,b,c,d)}\nfunction fe(a){if(!(a instanceof this))throw Error(u(279));a.destructor();10>this.eventPool.length&&this.eventPool.push(a)}function de(a){a.eventPool=[];a.getPooled=ee;a.release=fe}var ge=G.extend({data:null}),he=G.extend({data:null}),ie=[9,13,27,32],je=ya&&\"CompositionEvent\"in window,ke=null;ya&&\"documentMode\"in document&&(ke=document.documentMode);\nvar le=ya&&\"TextEvent\"in window&&!ke,me=ya&&(!je||ke&&8<ke&&11>=ke),ne=String.fromCharCode(32),oe={beforeInput:{phasedRegistrationNames:{bubbled:\"onBeforeInput\",captured:\"onBeforeInputCapture\"},dependencies:[\"compositionend\",\"keypress\",\"textInput\",\"paste\"]},compositionEnd:{phasedRegistrationNames:{bubbled:\"onCompositionEnd\",captured:\"onCompositionEndCapture\"},dependencies:\"blur compositionend keydown keypress keyup mousedown\".split(\" \")},compositionStart:{phasedRegistrationNames:{bubbled:\"onCompositionStart\",\ncaptured:\"onCompositionStartCapture\"},dependencies:\"blur compositionstart keydown keypress keyup mousedown\".split(\" \")},compositionUpdate:{phasedRegistrationNames:{bubbled:\"onCompositionUpdate\",captured:\"onCompositionUpdateCapture\"},dependencies:\"blur compositionupdate keydown keypress keyup mousedown\".split(\" \")}},pe=!1;\nfunction qe(a,b){switch(a){case \"keyup\":return-1!==ie.indexOf(b.keyCode);case \"keydown\":return 229!==b.keyCode;case \"keypress\":case \"mousedown\":case \"blur\":return!0;default:return!1}}function re(a){a=a.detail;return\"object\"===typeof a&&\"data\"in a?a.data:null}var se=!1;function te(a,b){switch(a){case \"compositionend\":return re(b);case \"keypress\":if(32!==b.which)return null;pe=!0;return ne;case \"textInput\":return a=b.data,a===ne&&pe?null:a;default:return null}}\nfunction ue(a,b){if(se)return\"compositionend\"===a||!je&&qe(a,b)?(a=ae(),$d=Zd=Yd=null,se=!1,a):null;switch(a){case \"paste\":return null;case \"keypress\":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1<b.char.length)return b.char;if(b.which)return String.fromCharCode(b.which)}return null;case \"compositionend\":return me&&\"ko\"!==b.locale?null:b.data;default:return null}}\nvar ve={eventTypes:oe,extractEvents:function(a,b,c,d){var e;if(je)b:{switch(a){case \"compositionstart\":var f=oe.compositionStart;break b;case \"compositionend\":f=oe.compositionEnd;break b;case \"compositionupdate\":f=oe.compositionUpdate;break b}f=void 0}else se?qe(a,c)&&(f=oe.compositionEnd):\"keydown\"===a&&229===c.keyCode&&(f=oe.compositionStart);f?(me&&\"ko\"!==c.locale&&(se||f!==oe.compositionStart?f===oe.compositionEnd&&se&&(e=ae()):(Yd=d,Zd=\"value\"in Yd?Yd.value:Yd.textContent,se=!0)),f=ge.getPooled(f,\nb,c,d),e?f.data=e:(e=re(c),null!==e&&(f.data=e)),Xd(f),e=f):e=null;(a=le?te(a,c):ue(a,c))?(b=he.getPooled(oe.beforeInput,b,c,d),b.data=a,Xd(b)):b=null;return null===e?b:null===b?e:[e,b]}},we={color:!0,date:!0,datetime:!0,\"datetime-local\":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function xe(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return\"input\"===b?!!we[a.type]:\"textarea\"===b?!0:!1}\nvar ye={change:{phasedRegistrationNames:{bubbled:\"onChange\",captured:\"onChangeCapture\"},dependencies:\"blur change click focus input keydown keyup selectionchange\".split(\" \")}};function ze(a,b,c){a=G.getPooled(ye.change,a,b,c);a.type=\"change\";Da(c);Xd(a);return a}var Ae=null,Be=null;function Ce(a){mc(a)}function De(a){var b=Pd(a);if(yb(b))return a}function Ee(a,b){if(\"change\"===a)return b}var Fe=!1;ya&&(Fe=oc(\"input\")&&(!document.documentMode||9<document.documentMode));\nfunction Ge(){Ae&&(Ae.detachEvent(\"onpropertychange\",He),Be=Ae=null)}function He(a){if(\"value\"===a.propertyName&&De(Be))if(a=ze(Be,a,nc(a)),Ja)mc(a);else{Ja=!0;try{Fa(Ce,a)}finally{Ja=!1,La()}}}function Ie(a,b,c){\"focus\"===a?(Ge(),Ae=b,Be=c,Ae.attachEvent(\"onpropertychange\",He)):\"blur\"===a&&Ge()}function Je(a){if(\"selectionchange\"===a||\"keyup\"===a||\"keydown\"===a)return De(Be)}function Ke(a,b){if(\"click\"===a)return De(b)}function Le(a,b){if(\"input\"===a||\"change\"===a)return De(b)}\nvar Me={eventTypes:ye,_isInputEventSupported:Fe,extractEvents:function(a,b,c,d){var e=b?Pd(b):window,f=e.nodeName&&e.nodeName.toLowerCase();if(\"select\"===f||\"input\"===f&&\"file\"===e.type)var g=Ee;else if(xe(e))if(Fe)g=Le;else{g=Je;var h=Ie}else(f=e.nodeName)&&\"input\"===f.toLowerCase()&&(\"checkbox\"===e.type||\"radio\"===e.type)&&(g=Ke);if(g&&(g=g(a,b)))return ze(g,c,d);h&&h(a,e,b);\"blur\"===a&&(a=e._wrapperState)&&a.controlled&&\"number\"===e.type&&Db(e,\"number\",e.value)}},Ne=G.extend({view:null,detail:null}),\nOe={Alt:\"altKey\",Control:\"ctrlKey\",Meta:\"metaKey\",Shift:\"shiftKey\"};function Pe(a){var b=this.nativeEvent;return b.getModifierState?b.getModifierState(a):(a=Oe[a])?!!b[a]:!1}function Qe(){return Pe}\nvar Re=0,Se=0,Te=!1,Ue=!1,Ve=Ne.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Qe,button:null,buttons:null,relatedTarget:function(a){return a.relatedTarget||(a.fromElement===a.srcElement?a.toElement:a.fromElement)},movementX:function(a){if(\"movementX\"in a)return a.movementX;var b=Re;Re=a.screenX;return Te?\"mousemove\"===a.type?a.screenX-b:0:(Te=!0,0)},movementY:function(a){if(\"movementY\"in a)return a.movementY;\nvar b=Se;Se=a.screenY;return Ue?\"mousemove\"===a.type?a.screenY-b:0:(Ue=!0,0)}}),We=Ve.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Xe={mouseEnter:{registrationName:\"onMouseEnter\",dependencies:[\"mouseout\",\"mouseover\"]},mouseLeave:{registrationName:\"onMouseLeave\",dependencies:[\"mouseout\",\"mouseover\"]},pointerEnter:{registrationName:\"onPointerEnter\",dependencies:[\"pointerout\",\"pointerover\"]},pointerLeave:{registrationName:\"onPointerLeave\",\ndependencies:[\"pointerout\",\"pointerover\"]}},Ye={eventTypes:Xe,extractEvents:function(a,b,c,d,e){var f=\"mouseover\"===a||\"pointerover\"===a,g=\"mouseout\"===a||\"pointerout\"===a;if(f&&0===(e&32)&&(c.relatedTarget||c.fromElement)||!g&&!f)return null;f=d.window===d?d:(f=d.ownerDocument)?f.defaultView||f.parentWindow:window;if(g){if(g=b,b=(b=c.relatedTarget||c.toElement)?tc(b):null,null!==b){var h=dc(b);if(b!==h||5!==b.tag&&6!==b.tag)b=null}}else g=null;if(g===b)return null;if(\"mouseout\"===a||\"mouseover\"===\na){var k=Ve;var l=Xe.mouseLeave;var m=Xe.mouseEnter;var p=\"mouse\"}else if(\"pointerout\"===a||\"pointerover\"===a)k=We,l=Xe.pointerLeave,m=Xe.pointerEnter,p=\"pointer\";a=null==g?f:Pd(g);f=null==b?f:Pd(b);l=k.getPooled(l,g,c,d);l.type=p+\"leave\";l.target=a;l.relatedTarget=f;c=k.getPooled(m,b,c,d);c.type=p+\"enter\";c.target=f;c.relatedTarget=a;d=g;p=b;if(d&&p)a:{k=d;m=p;g=0;for(a=k;a;a=Rd(a))g++;a=0;for(b=m;b;b=Rd(b))a++;for(;0<g-a;)k=Rd(k),g--;for(;0<a-g;)m=Rd(m),a--;for(;g--;){if(k===m||k===m.alternate)break a;\nk=Rd(k);m=Rd(m)}k=null}else k=null;m=k;for(k=[];d&&d!==m;){g=d.alternate;if(null!==g&&g===m)break;k.push(d);d=Rd(d)}for(d=[];p&&p!==m;){g=p.alternate;if(null!==g&&g===m)break;d.push(p);p=Rd(p)}for(p=0;p<k.length;p++)Vd(k[p],\"bubbled\",l);for(p=d.length;0<p--;)Vd(d[p],\"captured\",c);return 0===(e&64)?[l]:[l,c]}};function Ze(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var $e=\"function\"===typeof Object.is?Object.is:Ze,af=Object.prototype.hasOwnProperty;\nfunction bf(a,b){if($e(a,b))return!0;if(\"object\"!==typeof a||null===a||\"object\"!==typeof b||null===b)return!1;var c=Object.keys(a),d=Object.keys(b);if(c.length!==d.length)return!1;for(d=0;d<c.length;d++)if(!af.call(b,c[d])||!$e(a[c[d]],b[c[d]]))return!1;return!0}\nvar cf=ya&&\"documentMode\"in document&&11>=document.documentMode,df={select:{phasedRegistrationNames:{bubbled:\"onSelect\",captured:\"onSelectCapture\"},dependencies:\"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange\".split(\" \")}},ef=null,ff=null,gf=null,hf=!1;\nfunction jf(a,b){var c=b.window===b?b.document:9===b.nodeType?b:b.ownerDocument;if(hf||null==ef||ef!==td(c))return null;c=ef;\"selectionStart\"in c&&yd(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset});return gf&&bf(gf,c)?null:(gf=c,a=G.getPooled(df.select,ff,a,b),a.type=\"select\",a.target=ef,Xd(a),a)}\nvar kf={eventTypes:df,extractEvents:function(a,b,c,d,e,f){e=f||(d.window===d?d.document:9===d.nodeType?d:d.ownerDocument);if(!(f=!e)){a:{e=cc(e);f=wa.onSelect;for(var g=0;g<f.length;g++)if(!e.has(f[g])){e=!1;break a}e=!0}f=!e}if(f)return null;e=b?Pd(b):window;switch(a){case \"focus\":if(xe(e)||\"true\"===e.contentEditable)ef=e,ff=b,gf=null;break;case \"blur\":gf=ff=ef=null;break;case \"mousedown\":hf=!0;break;case \"contextmenu\":case \"mouseup\":case \"dragend\":return hf=!1,jf(c,d);case \"selectionchange\":if(cf)break;\ncase \"keydown\":case \"keyup\":return jf(c,d)}return null}},lf=G.extend({animationName:null,elapsedTime:null,pseudoElement:null}),mf=G.extend({clipboardData:function(a){return\"clipboardData\"in a?a.clipboardData:window.clipboardData}}),nf=Ne.extend({relatedTarget:null});function of(a){var b=a.keyCode;\"charCode\"in a?(a=a.charCode,0===a&&13===b&&(a=13)):a=b;10===a&&(a=13);return 32<=a||13===a?a:0}\nvar pf={Esc:\"Escape\",Spacebar:\" \",Left:\"ArrowLeft\",Up:\"ArrowUp\",Right:\"ArrowRight\",Down:\"ArrowDown\",Del:\"Delete\",Win:\"OS\",Menu:\"ContextMenu\",Apps:\"ContextMenu\",Scroll:\"ScrollLock\",MozPrintableKey:\"Unidentified\"},qf={8:\"Backspace\",9:\"Tab\",12:\"Clear\",13:\"Enter\",16:\"Shift\",17:\"Control\",18:\"Alt\",19:\"Pause\",20:\"CapsLock\",27:\"Escape\",32:\" \",33:\"PageUp\",34:\"PageDown\",35:\"End\",36:\"Home\",37:\"ArrowLeft\",38:\"ArrowUp\",39:\"ArrowRight\",40:\"ArrowDown\",45:\"Insert\",46:\"Delete\",112:\"F1\",113:\"F2\",114:\"F3\",115:\"F4\",\n116:\"F5\",117:\"F6\",118:\"F7\",119:\"F8\",120:\"F9\",121:\"F10\",122:\"F11\",123:\"F12\",144:\"NumLock\",145:\"ScrollLock\",224:\"Meta\"},rf=Ne.extend({key:function(a){if(a.key){var b=pf[a.key]||a.key;if(\"Unidentified\"!==b)return b}return\"keypress\"===a.type?(a=of(a),13===a?\"Enter\":String.fromCharCode(a)):\"keydown\"===a.type||\"keyup\"===a.type?qf[a.keyCode]||\"Unidentified\":\"\"},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Qe,charCode:function(a){return\"keypress\"===\na.type?of(a):0},keyCode:function(a){return\"keydown\"===a.type||\"keyup\"===a.type?a.keyCode:0},which:function(a){return\"keypress\"===a.type?of(a):\"keydown\"===a.type||\"keyup\"===a.type?a.keyCode:0}}),sf=Ve.extend({dataTransfer:null}),tf=Ne.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Qe}),uf=G.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),vf=Ve.extend({deltaX:function(a){return\"deltaX\"in a?a.deltaX:\"wheelDeltaX\"in\na?-a.wheelDeltaX:0},deltaY:function(a){return\"deltaY\"in a?a.deltaY:\"wheelDeltaY\"in a?-a.wheelDeltaY:\"wheelDelta\"in a?-a.wheelDelta:0},deltaZ:null,deltaMode:null}),wf={eventTypes:Wc,extractEvents:function(a,b,c,d){var e=Yc.get(a);if(!e)return null;switch(a){case \"keypress\":if(0===of(c))return null;case \"keydown\":case \"keyup\":a=rf;break;case \"blur\":case \"focus\":a=nf;break;case \"click\":if(2===c.button)return null;case \"auxclick\":case \"dblclick\":case \"mousedown\":case \"mousemove\":case \"mouseup\":case \"mouseout\":case \"mouseover\":case \"contextmenu\":a=\nVe;break;case \"drag\":case \"dragend\":case \"dragenter\":case \"dragexit\":case \"dragleave\":case \"dragover\":case \"dragstart\":case \"drop\":a=sf;break;case \"touchcancel\":case \"touchend\":case \"touchmove\":case \"touchstart\":a=tf;break;case Xb:case Yb:case Zb:a=lf;break;case $b:a=uf;break;case \"scroll\":a=Ne;break;case \"wheel\":a=vf;break;case \"copy\":case \"cut\":case \"paste\":a=mf;break;case \"gotpointercapture\":case \"lostpointercapture\":case \"pointercancel\":case \"pointerdown\":case \"pointermove\":case \"pointerout\":case \"pointerover\":case \"pointerup\":a=\nWe;break;default:a=G}b=a.getPooled(e,b,c,d);Xd(b);return b}};if(pa)throw Error(u(101));pa=Array.prototype.slice.call(\"ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin\".split(\" \"));ra();var xf=Nc;la=Qd;ma=xf;na=Pd;xa({SimpleEventPlugin:wf,EnterLeaveEventPlugin:Ye,ChangeEventPlugin:Me,SelectEventPlugin:kf,BeforeInputEventPlugin:ve});var yf=[],zf=-1;function H(a){0>zf||(a.current=yf[zf],yf[zf]=null,zf--)}\nfunction I(a,b){zf++;yf[zf]=a.current;a.current=b}var Af={},J={current:Af},K={current:!1},Bf=Af;function Cf(a,b){var c=a.type.contextTypes;if(!c)return Af;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}function L(a){a=a.childContextTypes;return null!==a&&void 0!==a}\nfunction Df(){H(K);H(J)}function Ef(a,b,c){if(J.current!==Af)throw Error(u(168));I(J,b);I(K,c)}function Ff(a,b,c){var d=a.stateNode;a=b.childContextTypes;if(\"function\"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in a))throw Error(u(108,pb(b)||\"Unknown\",e));return n({},c,{},d)}function Gf(a){a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||Af;Bf=J.current;I(J,a);I(K,K.current);return!0}\nfunction Hf(a,b,c){var d=a.stateNode;if(!d)throw Error(u(169));c?(a=Ff(a,b,Bf),d.__reactInternalMemoizedMergedChildContext=a,H(K),H(J),I(J,a)):H(K);I(K,c)}\nvar If=r.unstable_runWithPriority,Jf=r.unstable_scheduleCallback,Kf=r.unstable_cancelCallback,Lf=r.unstable_requestPaint,Mf=r.unstable_now,Nf=r.unstable_getCurrentPriorityLevel,Of=r.unstable_ImmediatePriority,Pf=r.unstable_UserBlockingPriority,Qf=r.unstable_NormalPriority,Rf=r.unstable_LowPriority,Sf=r.unstable_IdlePriority,Tf={},Uf=r.unstable_shouldYield,Vf=void 0!==Lf?Lf:function(){},Wf=null,Xf=null,Yf=!1,Zf=Mf(),$f=1E4>Zf?Mf:function(){return Mf()-Zf};\nfunction ag(){switch(Nf()){case Of:return 99;case Pf:return 98;case Qf:return 97;case Rf:return 96;case Sf:return 95;default:throw Error(u(332));}}function bg(a){switch(a){case 99:return Of;case 98:return Pf;case 97:return Qf;case 96:return Rf;case 95:return Sf;default:throw Error(u(332));}}function cg(a,b){a=bg(a);return If(a,b)}function dg(a,b,c){a=bg(a);return Jf(a,b,c)}function eg(a){null===Wf?(Wf=[a],Xf=Jf(Of,fg)):Wf.push(a);return Tf}function gg(){if(null!==Xf){var a=Xf;Xf=null;Kf(a)}fg()}\nfunction fg(){if(!Yf&&null!==Wf){Yf=!0;var a=0;try{var b=Wf;cg(99,function(){for(;a<b.length;a++){var c=b[a];do c=c(!0);while(null!==c)}});Wf=null}catch(c){throw null!==Wf&&(Wf=Wf.slice(a+1)),Jf(Of,gg),c;}finally{Yf=!1}}}function hg(a,b,c){c/=10;return 1073741821-(((1073741821-a+b/10)/c|0)+1)*c}function ig(a,b){if(a&&a.defaultProps){b=n({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c])}return b}var jg={current:null},kg=null,lg=null,mg=null;function ng(){mg=lg=kg=null}\nfunction og(a){var b=jg.current;H(jg);a.type._context._currentValue=b}function pg(a,b){for(;null!==a;){var c=a.alternate;if(a.childExpirationTime<b)a.childExpirationTime=b,null!==c&&c.childExpirationTime<b&&(c.childExpirationTime=b);else if(null!==c&&c.childExpirationTime<b)c.childExpirationTime=b;else break;a=a.return}}function qg(a,b){kg=a;mg=lg=null;a=a.dependencies;null!==a&&null!==a.firstContext&&(a.expirationTime>=b&&(rg=!0),a.firstContext=null)}\nfunction sg(a,b){if(mg!==a&&!1!==b&&0!==b){if(\"number\"!==typeof b||1073741823===b)mg=a,b=1073741823;b={context:a,observedBits:b,next:null};if(null===lg){if(null===kg)throw Error(u(308));lg=b;kg.dependencies={expirationTime:0,firstContext:b,responders:null}}else lg=lg.next=b}return a._currentValue}var tg=!1;function ug(a){a.updateQueue={baseState:a.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}\nfunction vg(a,b){a=a.updateQueue;b.updateQueue===a&&(b.updateQueue={baseState:a.baseState,baseQueue:a.baseQueue,shared:a.shared,effects:a.effects})}function wg(a,b){a={expirationTime:a,suspenseConfig:b,tag:0,payload:null,callback:null,next:null};return a.next=a}function xg(a,b){a=a.updateQueue;if(null!==a){a=a.shared;var c=a.pending;null===c?b.next=b:(b.next=c.next,c.next=b);a.pending=b}}\nfunction yg(a,b){var c=a.alternate;null!==c&&vg(c,a);a=a.updateQueue;c=a.baseQueue;null===c?(a.baseQueue=b.next=b,b.next=b):(b.next=c.next,c.next=b)}\nfunction zg(a,b,c,d){var e=a.updateQueue;tg=!1;var f=e.baseQueue,g=e.shared.pending;if(null!==g){if(null!==f){var h=f.next;f.next=g.next;g.next=h}f=g;e.shared.pending=null;h=a.alternate;null!==h&&(h=h.updateQueue,null!==h&&(h.baseQueue=g))}if(null!==f){h=f.next;var k=e.baseState,l=0,m=null,p=null,x=null;if(null!==h){var z=h;do{g=z.expirationTime;if(g<d){var ca={expirationTime:z.expirationTime,suspenseConfig:z.suspenseConfig,tag:z.tag,payload:z.payload,callback:z.callback,next:null};null===x?(p=x=\nca,m=k):x=x.next=ca;g>l&&(l=g)}else{null!==x&&(x=x.next={expirationTime:1073741823,suspenseConfig:z.suspenseConfig,tag:z.tag,payload:z.payload,callback:z.callback,next:null});Ag(g,z.suspenseConfig);a:{var D=a,t=z;g=b;ca=c;switch(t.tag){case 1:D=t.payload;if(\"function\"===typeof D){k=D.call(ca,k,g);break a}k=D;break a;case 3:D.effectTag=D.effectTag&-4097|64;case 0:D=t.payload;g=\"function\"===typeof D?D.call(ca,k,g):D;if(null===g||void 0===g)break a;k=n({},k,g);break a;case 2:tg=!0}}null!==z.callback&&\n(a.effectTag|=32,g=e.effects,null===g?e.effects=[z]:g.push(z))}z=z.next;if(null===z||z===h)if(g=e.shared.pending,null===g)break;else z=f.next=g.next,g.next=h,e.baseQueue=f=g,e.shared.pending=null}while(1)}null===x?m=k:x.next=p;e.baseState=m;e.baseQueue=x;Bg(l);a.expirationTime=l;a.memoizedState=k}}\nfunction Cg(a,b,c){a=b.effects;b.effects=null;if(null!==a)for(b=0;b<a.length;b++){var d=a[b],e=d.callback;if(null!==e){d.callback=null;d=e;e=c;if(\"function\"!==typeof d)throw Error(u(191,d));d.call(e)}}}var Dg=Wa.ReactCurrentBatchConfig,Eg=(new aa.Component).refs;function Fg(a,b,c,d){b=a.memoizedState;c=c(d,b);c=null===c||void 0===c?b:n({},b,c);a.memoizedState=c;0===a.expirationTime&&(a.updateQueue.baseState=c)}\nvar Jg={isMounted:function(a){return(a=a._reactInternalFiber)?dc(a)===a:!1},enqueueSetState:function(a,b,c){a=a._reactInternalFiber;var d=Gg(),e=Dg.suspense;d=Hg(d,a,e);e=wg(d,e);e.payload=b;void 0!==c&&null!==c&&(e.callback=c);xg(a,e);Ig(a,d)},enqueueReplaceState:function(a,b,c){a=a._reactInternalFiber;var d=Gg(),e=Dg.suspense;d=Hg(d,a,e);e=wg(d,e);e.tag=1;e.payload=b;void 0!==c&&null!==c&&(e.callback=c);xg(a,e);Ig(a,d)},enqueueForceUpdate:function(a,b){a=a._reactInternalFiber;var c=Gg(),d=Dg.suspense;\nc=Hg(c,a,d);d=wg(c,d);d.tag=2;void 0!==b&&null!==b&&(d.callback=b);xg(a,d);Ig(a,c)}};function Kg(a,b,c,d,e,f,g){a=a.stateNode;return\"function\"===typeof a.shouldComponentUpdate?a.shouldComponentUpdate(d,f,g):b.prototype&&b.prototype.isPureReactComponent?!bf(c,d)||!bf(e,f):!0}\nfunction Lg(a,b,c){var d=!1,e=Af;var f=b.contextType;\"object\"===typeof f&&null!==f?f=sg(f):(e=L(b)?Bf:J.current,d=b.contextTypes,f=(d=null!==d&&void 0!==d)?Cf(a,e):Af);b=new b(c,f);a.memoizedState=null!==b.state&&void 0!==b.state?b.state:null;b.updater=Jg;a.stateNode=b;b._reactInternalFiber=a;d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=e,a.__reactInternalMemoizedMaskedChildContext=f);return b}\nfunction Mg(a,b,c,d){a=b.state;\"function\"===typeof b.componentWillReceiveProps&&b.componentWillReceiveProps(c,d);\"function\"===typeof b.UNSAFE_componentWillReceiveProps&&b.UNSAFE_componentWillReceiveProps(c,d);b.state!==a&&Jg.enqueueReplaceState(b,b.state,null)}\nfunction Ng(a,b,c,d){var e=a.stateNode;e.props=c;e.state=a.memoizedState;e.refs=Eg;ug(a);var f=b.contextType;\"object\"===typeof f&&null!==f?e.context=sg(f):(f=L(b)?Bf:J.current,e.context=Cf(a,f));zg(a,c,e,d);e.state=a.memoizedState;f=b.getDerivedStateFromProps;\"function\"===typeof f&&(Fg(a,b,f,c),e.state=a.memoizedState);\"function\"===typeof b.getDerivedStateFromProps||\"function\"===typeof e.getSnapshotBeforeUpdate||\"function\"!==typeof e.UNSAFE_componentWillMount&&\"function\"!==typeof e.componentWillMount||\n(b=e.state,\"function\"===typeof e.componentWillMount&&e.componentWillMount(),\"function\"===typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),b!==e.state&&Jg.enqueueReplaceState(e,e.state,null),zg(a,c,e,d),e.state=a.memoizedState);\"function\"===typeof e.componentDidMount&&(a.effectTag|=4)}var Og=Array.isArray;\nfunction Pg(a,b,c){a=c.ref;if(null!==a&&\"function\"!==typeof a&&\"object\"!==typeof a){if(c._owner){c=c._owner;if(c){if(1!==c.tag)throw Error(u(309));var d=c.stateNode}if(!d)throw Error(u(147,a));var e=\"\"+a;if(null!==b&&null!==b.ref&&\"function\"===typeof b.ref&&b.ref._stringRef===e)return b.ref;b=function(a){var b=d.refs;b===Eg&&(b=d.refs={});null===a?delete b[e]:b[e]=a};b._stringRef=e;return b}if(\"string\"!==typeof a)throw Error(u(284));if(!c._owner)throw Error(u(290,a));}return a}\nfunction Qg(a,b){if(\"textarea\"!==a.type)throw Error(u(31,\"[object Object]\"===Object.prototype.toString.call(b)?\"object with keys {\"+Object.keys(b).join(\", \")+\"}\":b,\"\"));}\nfunction Rg(a){function b(b,c){if(a){var d=b.lastEffect;null!==d?(d.nextEffect=c,b.lastEffect=c):b.firstEffect=b.lastEffect=c;c.nextEffect=null;c.effectTag=8}}function c(c,d){if(!a)return null;for(;null!==d;)b(c,d),d=d.sibling;return null}function d(a,b){for(a=new Map;null!==b;)null!==b.key?a.set(b.key,b):a.set(b.index,b),b=b.sibling;return a}function e(a,b){a=Sg(a,b);a.index=0;a.sibling=null;return a}function f(b,c,d){b.index=d;if(!a)return c;d=b.alternate;if(null!==d)return d=d.index,d<c?(b.effectTag=\n2,c):d;b.effectTag=2;return c}function g(b){a&&null===b.alternate&&(b.effectTag=2);return b}function h(a,b,c,d){if(null===b||6!==b.tag)return b=Tg(c,a.mode,d),b.return=a,b;b=e(b,c);b.return=a;return b}function k(a,b,c,d){if(null!==b&&b.elementType===c.type)return d=e(b,c.props),d.ref=Pg(a,b,c),d.return=a,d;d=Ug(c.type,c.key,c.props,null,a.mode,d);d.ref=Pg(a,b,c);d.return=a;return d}function l(a,b,c,d){if(null===b||4!==b.tag||b.stateNode.containerInfo!==c.containerInfo||b.stateNode.implementation!==\nc.implementation)return b=Vg(c,a.mode,d),b.return=a,b;b=e(b,c.children||[]);b.return=a;return b}function m(a,b,c,d,f){if(null===b||7!==b.tag)return b=Wg(c,a.mode,d,f),b.return=a,b;b=e(b,c);b.return=a;return b}function p(a,b,c){if(\"string\"===typeof b||\"number\"===typeof b)return b=Tg(\"\"+b,a.mode,c),b.return=a,b;if(\"object\"===typeof b&&null!==b){switch(b.$$typeof){case Za:return c=Ug(b.type,b.key,b.props,null,a.mode,c),c.ref=Pg(a,null,b),c.return=a,c;case $a:return b=Vg(b,a.mode,c),b.return=a,b}if(Og(b)||\nnb(b))return b=Wg(b,a.mode,c,null),b.return=a,b;Qg(a,b)}return null}function x(a,b,c,d){var e=null!==b?b.key:null;if(\"string\"===typeof c||\"number\"===typeof c)return null!==e?null:h(a,b,\"\"+c,d);if(\"object\"===typeof c&&null!==c){switch(c.$$typeof){case Za:return c.key===e?c.type===ab?m(a,b,c.props.children,d,e):k(a,b,c,d):null;case $a:return c.key===e?l(a,b,c,d):null}if(Og(c)||nb(c))return null!==e?null:m(a,b,c,d,null);Qg(a,c)}return null}function z(a,b,c,d,e){if(\"string\"===typeof d||\"number\"===typeof d)return a=\na.get(c)||null,h(b,a,\"\"+d,e);if(\"object\"===typeof d&&null!==d){switch(d.$$typeof){case Za:return a=a.get(null===d.key?c:d.key)||null,d.type===ab?m(b,a,d.props.children,e,d.key):k(b,a,d,e);case $a:return a=a.get(null===d.key?c:d.key)||null,l(b,a,d,e)}if(Og(d)||nb(d))return a=a.get(c)||null,m(b,a,d,e,null);Qg(b,d)}return null}function ca(e,g,h,k){for(var l=null,t=null,m=g,y=g=0,A=null;null!==m&&y<h.length;y++){m.index>y?(A=m,m=null):A=m.sibling;var q=x(e,m,h[y],k);if(null===q){null===m&&(m=A);break}a&&\nm&&null===q.alternate&&b(e,m);g=f(q,g,y);null===t?l=q:t.sibling=q;t=q;m=A}if(y===h.length)return c(e,m),l;if(null===m){for(;y<h.length;y++)m=p(e,h[y],k),null!==m&&(g=f(m,g,y),null===t?l=m:t.sibling=m,t=m);return l}for(m=d(e,m);y<h.length;y++)A=z(m,e,y,h[y],k),null!==A&&(a&&null!==A.alternate&&m.delete(null===A.key?y:A.key),g=f(A,g,y),null===t?l=A:t.sibling=A,t=A);a&&m.forEach(function(a){return b(e,a)});return l}function D(e,g,h,l){var k=nb(h);if(\"function\"!==typeof k)throw Error(u(150));h=k.call(h);\nif(null==h)throw Error(u(151));for(var m=k=null,t=g,y=g=0,A=null,q=h.next();null!==t&&!q.done;y++,q=h.next()){t.index>y?(A=t,t=null):A=t.sibling;var D=x(e,t,q.value,l);if(null===D){null===t&&(t=A);break}a&&t&&null===D.alternate&&b(e,t);g=f(D,g,y);null===m?k=D:m.sibling=D;m=D;t=A}if(q.done)return c(e,t),k;if(null===t){for(;!q.done;y++,q=h.next())q=p(e,q.value,l),null!==q&&(g=f(q,g,y),null===m?k=q:m.sibling=q,m=q);return k}for(t=d(e,t);!q.done;y++,q=h.next())q=z(t,e,y,q.value,l),null!==q&&(a&&null!==\nq.alternate&&t.delete(null===q.key?y:q.key),g=f(q,g,y),null===m?k=q:m.sibling=q,m=q);a&&t.forEach(function(a){return b(e,a)});return k}return function(a,d,f,h){var k=\"object\"===typeof f&&null!==f&&f.type===ab&&null===f.key;k&&(f=f.props.children);var l=\"object\"===typeof f&&null!==f;if(l)switch(f.$$typeof){case Za:a:{l=f.key;for(k=d;null!==k;){if(k.key===l){switch(k.tag){case 7:if(f.type===ab){c(a,k.sibling);d=e(k,f.props.children);d.return=a;a=d;break a}break;default:if(k.elementType===f.type){c(a,\nk.sibling);d=e(k,f.props);d.ref=Pg(a,k,f);d.return=a;a=d;break a}}c(a,k);break}else b(a,k);k=k.sibling}f.type===ab?(d=Wg(f.props.children,a.mode,h,f.key),d.return=a,a=d):(h=Ug(f.type,f.key,f.props,null,a.mode,h),h.ref=Pg(a,d,f),h.return=a,a=h)}return g(a);case $a:a:{for(k=f.key;null!==d;){if(d.key===k)if(4===d.tag&&d.stateNode.containerInfo===f.containerInfo&&d.stateNode.implementation===f.implementation){c(a,d.sibling);d=e(d,f.children||[]);d.return=a;a=d;break a}else{c(a,d);break}else b(a,d);d=\nd.sibling}d=Vg(f,a.mode,h);d.return=a;a=d}return g(a)}if(\"string\"===typeof f||\"number\"===typeof f)return f=\"\"+f,null!==d&&6===d.tag?(c(a,d.sibling),d=e(d,f),d.return=a,a=d):(c(a,d),d=Tg(f,a.mode,h),d.return=a,a=d),g(a);if(Og(f))return ca(a,d,f,h);if(nb(f))return D(a,d,f,h);l&&Qg(a,f);if(\"undefined\"===typeof f&&!k)switch(a.tag){case 1:case 0:throw a=a.type,Error(u(152,a.displayName||a.name||\"Component\"));}return c(a,d)}}var Xg=Rg(!0),Yg=Rg(!1),Zg={},$g={current:Zg},ah={current:Zg},bh={current:Zg};\nfunction ch(a){if(a===Zg)throw Error(u(174));return a}function dh(a,b){I(bh,b);I(ah,a);I($g,Zg);a=b.nodeType;switch(a){case 9:case 11:b=(b=b.documentElement)?b.namespaceURI:Ob(null,\"\");break;default:a=8===a?b.parentNode:b,b=a.namespaceURI||null,a=a.tagName,b=Ob(b,a)}H($g);I($g,b)}function eh(){H($g);H(ah);H(bh)}function fh(a){ch(bh.current);var b=ch($g.current);var c=Ob(b,a.type);b!==c&&(I(ah,a),I($g,c))}function gh(a){ah.current===a&&(H($g),H(ah))}var M={current:0};\nfunction hh(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||c.data===Bd||c.data===Cd))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.effectTag&64))return b}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}return null}function ih(a,b){return{responder:a,props:b}}\nvar jh=Wa.ReactCurrentDispatcher,kh=Wa.ReactCurrentBatchConfig,lh=0,N=null,O=null,P=null,mh=!1;function Q(){throw Error(u(321));}function nh(a,b){if(null===b)return!1;for(var c=0;c<b.length&&c<a.length;c++)if(!$e(a[c],b[c]))return!1;return!0}\nfunction oh(a,b,c,d,e,f){lh=f;N=b;b.memoizedState=null;b.updateQueue=null;b.expirationTime=0;jh.current=null===a||null===a.memoizedState?ph:qh;a=c(d,e);if(b.expirationTime===lh){f=0;do{b.expirationTime=0;if(!(25>f))throw Error(u(301));f+=1;P=O=null;b.updateQueue=null;jh.current=rh;a=c(d,e)}while(b.expirationTime===lh)}jh.current=sh;b=null!==O&&null!==O.next;lh=0;P=O=N=null;mh=!1;if(b)throw Error(u(300));return a}\nfunction th(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};null===P?N.memoizedState=P=a:P=P.next=a;return P}function uh(){if(null===O){var a=N.alternate;a=null!==a?a.memoizedState:null}else a=O.next;var b=null===P?N.memoizedState:P.next;if(null!==b)P=b,O=a;else{if(null===a)throw Error(u(310));O=a;a={memoizedState:O.memoizedState,baseState:O.baseState,baseQueue:O.baseQueue,queue:O.queue,next:null};null===P?N.memoizedState=P=a:P=P.next=a}return P}\nfunction vh(a,b){return\"function\"===typeof b?b(a):b}\nfunction wh(a){var b=uh(),c=b.queue;if(null===c)throw Error(u(311));c.lastRenderedReducer=a;var d=O,e=d.baseQueue,f=c.pending;if(null!==f){if(null!==e){var g=e.next;e.next=f.next;f.next=g}d.baseQueue=e=f;c.pending=null}if(null!==e){e=e.next;d=d.baseState;var h=g=f=null,k=e;do{var l=k.expirationTime;if(l<lh){var m={expirationTime:k.expirationTime,suspenseConfig:k.suspenseConfig,action:k.action,eagerReducer:k.eagerReducer,eagerState:k.eagerState,next:null};null===h?(g=h=m,f=d):h=h.next=m;l>N.expirationTime&&\n(N.expirationTime=l,Bg(l))}else null!==h&&(h=h.next={expirationTime:1073741823,suspenseConfig:k.suspenseConfig,action:k.action,eagerReducer:k.eagerReducer,eagerState:k.eagerState,next:null}),Ag(l,k.suspenseConfig),d=k.eagerReducer===a?k.eagerState:a(d,k.action);k=k.next}while(null!==k&&k!==e);null===h?f=d:h.next=g;$e(d,b.memoizedState)||(rg=!0);b.memoizedState=d;b.baseState=f;b.baseQueue=h;c.lastRenderedState=d}return[b.memoizedState,c.dispatch]}\nfunction xh(a){var b=uh(),c=b.queue;if(null===c)throw Error(u(311));c.lastRenderedReducer=a;var d=c.dispatch,e=c.pending,f=b.memoizedState;if(null!==e){c.pending=null;var g=e=e.next;do f=a(f,g.action),g=g.next;while(g!==e);$e(f,b.memoizedState)||(rg=!0);b.memoizedState=f;null===b.baseQueue&&(b.baseState=f);c.lastRenderedState=f}return[f,d]}\nfunction yh(a){var b=th();\"function\"===typeof a&&(a=a());b.memoizedState=b.baseState=a;a=b.queue={pending:null,dispatch:null,lastRenderedReducer:vh,lastRenderedState:a};a=a.dispatch=zh.bind(null,N,a);return[b.memoizedState,a]}function Ah(a,b,c,d){a={tag:a,create:b,destroy:c,deps:d,next:null};b=N.updateQueue;null===b?(b={lastEffect:null},N.updateQueue=b,b.lastEffect=a.next=a):(c=b.lastEffect,null===c?b.lastEffect=a.next=a:(d=c.next,c.next=a,a.next=d,b.lastEffect=a));return a}\nfunction Bh(){return uh().memoizedState}function Ch(a,b,c,d){var e=th();N.effectTag|=a;e.memoizedState=Ah(1|b,c,void 0,void 0===d?null:d)}function Dh(a,b,c,d){var e=uh();d=void 0===d?null:d;var f=void 0;if(null!==O){var g=O.memoizedState;f=g.destroy;if(null!==d&&nh(d,g.deps)){Ah(b,c,f,d);return}}N.effectTag|=a;e.memoizedState=Ah(1|b,c,f,d)}function Eh(a,b){return Ch(516,4,a,b)}function Fh(a,b){return Dh(516,4,a,b)}function Gh(a,b){return Dh(4,2,a,b)}\nfunction Hh(a,b){if(\"function\"===typeof b)return a=a(),b(a),function(){b(null)};if(null!==b&&void 0!==b)return a=a(),b.current=a,function(){b.current=null}}function Ih(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;return Dh(4,2,Hh.bind(null,b,a),c)}function Jh(){}function Kh(a,b){th().memoizedState=[a,void 0===b?null:b];return a}function Lh(a,b){var c=uh();b=void 0===b?null:b;var d=c.memoizedState;if(null!==d&&null!==b&&nh(b,d[1]))return d[0];c.memoizedState=[a,b];return a}\nfunction Mh(a,b){var c=uh();b=void 0===b?null:b;var d=c.memoizedState;if(null!==d&&null!==b&&nh(b,d[1]))return d[0];a=a();c.memoizedState=[a,b];return a}function Nh(a,b,c){var d=ag();cg(98>d?98:d,function(){a(!0)});cg(97<d?97:d,function(){var d=kh.suspense;kh.suspense=void 0===b?null:b;try{a(!1),c()}finally{kh.suspense=d}})}\nfunction zh(a,b,c){var d=Gg(),e=Dg.suspense;d=Hg(d,a,e);e={expirationTime:d,suspenseConfig:e,action:c,eagerReducer:null,eagerState:null,next:null};var f=b.pending;null===f?e.next=e:(e.next=f.next,f.next=e);b.pending=e;f=a.alternate;if(a===N||null!==f&&f===N)mh=!0,e.expirationTime=lh,N.expirationTime=lh;else{if(0===a.expirationTime&&(null===f||0===f.expirationTime)&&(f=b.lastRenderedReducer,null!==f))try{var g=b.lastRenderedState,h=f(g,c);e.eagerReducer=f;e.eagerState=h;if($e(h,g))return}catch(k){}finally{}Ig(a,\nd)}}\nvar sh={readContext:sg,useCallback:Q,useContext:Q,useEffect:Q,useImperativeHandle:Q,useLayoutEffect:Q,useMemo:Q,useReducer:Q,useRef:Q,useState:Q,useDebugValue:Q,useResponder:Q,useDeferredValue:Q,useTransition:Q},ph={readContext:sg,useCallback:Kh,useContext:sg,useEffect:Eh,useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;return Ch(4,2,Hh.bind(null,b,a),c)},useLayoutEffect:function(a,b){return Ch(4,2,a,b)},useMemo:function(a,b){var c=th();b=void 0===b?null:b;a=a();c.memoizedState=[a,\nb];return a},useReducer:function(a,b,c){var d=th();b=void 0!==c?c(b):b;d.memoizedState=d.baseState=b;a=d.queue={pending:null,dispatch:null,lastRenderedReducer:a,lastRenderedState:b};a=a.dispatch=zh.bind(null,N,a);return[d.memoizedState,a]},useRef:function(a){var b=th();a={current:a};return b.memoizedState=a},useState:yh,useDebugValue:Jh,useResponder:ih,useDeferredValue:function(a,b){var c=yh(a),d=c[0],e=c[1];Eh(function(){var c=kh.suspense;kh.suspense=void 0===b?null:b;try{e(a)}finally{kh.suspense=\nc}},[a,b]);return d},useTransition:function(a){var b=yh(!1),c=b[0];b=b[1];return[Kh(Nh.bind(null,b,a),[b,a]),c]}},qh={readContext:sg,useCallback:Lh,useContext:sg,useEffect:Fh,useImperativeHandle:Ih,useLayoutEffect:Gh,useMemo:Mh,useReducer:wh,useRef:Bh,useState:function(){return wh(vh)},useDebugValue:Jh,useResponder:ih,useDeferredValue:function(a,b){var c=wh(vh),d=c[0],e=c[1];Fh(function(){var c=kh.suspense;kh.suspense=void 0===b?null:b;try{e(a)}finally{kh.suspense=c}},[a,b]);return d},useTransition:function(a){var b=\nwh(vh),c=b[0];b=b[1];return[Lh(Nh.bind(null,b,a),[b,a]),c]}},rh={readContext:sg,useCallback:Lh,useContext:sg,useEffect:Fh,useImperativeHandle:Ih,useLayoutEffect:Gh,useMemo:Mh,useReducer:xh,useRef:Bh,useState:function(){return xh(vh)},useDebugValue:Jh,useResponder:ih,useDeferredValue:function(a,b){var c=xh(vh),d=c[0],e=c[1];Fh(function(){var c=kh.suspense;kh.suspense=void 0===b?null:b;try{e(a)}finally{kh.suspense=c}},[a,b]);return d},useTransition:function(a){var b=xh(vh),c=b[0];b=b[1];return[Lh(Nh.bind(null,\nb,a),[b,a]),c]}},Oh=null,Ph=null,Qh=!1;function Rh(a,b){var c=Sh(5,null,null,0);c.elementType=\"DELETED\";c.type=\"DELETED\";c.stateNode=b;c.return=a;c.effectTag=8;null!==a.lastEffect?(a.lastEffect.nextEffect=c,a.lastEffect=c):a.firstEffect=a.lastEffect=c}\nfunction Th(a,b){switch(a.tag){case 5:var c=a.type;b=1!==b.nodeType||c.toLowerCase()!==b.nodeName.toLowerCase()?null:b;return null!==b?(a.stateNode=b,!0):!1;case 6:return b=\"\"===a.pendingProps||3!==b.nodeType?null:b,null!==b?(a.stateNode=b,!0):!1;case 13:return!1;default:return!1}}\nfunction Uh(a){if(Qh){var b=Ph;if(b){var c=b;if(!Th(a,b)){b=Jd(c.nextSibling);if(!b||!Th(a,b)){a.effectTag=a.effectTag&-1025|2;Qh=!1;Oh=a;return}Rh(Oh,c)}Oh=a;Ph=Jd(b.firstChild)}else a.effectTag=a.effectTag&-1025|2,Qh=!1,Oh=a}}function Vh(a){for(a=a.return;null!==a&&5!==a.tag&&3!==a.tag&&13!==a.tag;)a=a.return;Oh=a}\nfunction Wh(a){if(a!==Oh)return!1;if(!Qh)return Vh(a),Qh=!0,!1;var b=a.type;if(5!==a.tag||\"head\"!==b&&\"body\"!==b&&!Gd(b,a.memoizedProps))for(b=Ph;b;)Rh(a,b),b=Jd(b.nextSibling);Vh(a);if(13===a.tag){a=a.memoizedState;a=null!==a?a.dehydrated:null;if(!a)throw Error(u(317));a:{a=a.nextSibling;for(b=0;a;){if(8===a.nodeType){var c=a.data;if(c===Ad){if(0===b){Ph=Jd(a.nextSibling);break a}b--}else c!==zd&&c!==Cd&&c!==Bd||b++}a=a.nextSibling}Ph=null}}else Ph=Oh?Jd(a.stateNode.nextSibling):null;return!0}\nfunction Xh(){Ph=Oh=null;Qh=!1}var Yh=Wa.ReactCurrentOwner,rg=!1;function R(a,b,c,d){b.child=null===a?Yg(b,null,c,d):Xg(b,a.child,c,d)}function Zh(a,b,c,d,e){c=c.render;var f=b.ref;qg(b,e);d=oh(a,b,c,d,f,e);if(null!==a&&!rg)return b.updateQueue=a.updateQueue,b.effectTag&=-517,a.expirationTime<=e&&(a.expirationTime=0),$h(a,b,e);b.effectTag|=1;R(a,b,d,e);return b.child}\nfunction ai(a,b,c,d,e,f){if(null===a){var g=c.type;if(\"function\"===typeof g&&!bi(g)&&void 0===g.defaultProps&&null===c.compare&&void 0===c.defaultProps)return b.tag=15,b.type=g,ci(a,b,g,d,e,f);a=Ug(c.type,null,d,null,b.mode,f);a.ref=b.ref;a.return=b;return b.child=a}g=a.child;if(e<f&&(e=g.memoizedProps,c=c.compare,c=null!==c?c:bf,c(e,d)&&a.ref===b.ref))return $h(a,b,f);b.effectTag|=1;a=Sg(g,d);a.ref=b.ref;a.return=b;return b.child=a}\nfunction ci(a,b,c,d,e,f){return null!==a&&bf(a.memoizedProps,d)&&a.ref===b.ref&&(rg=!1,e<f)?(b.expirationTime=a.expirationTime,$h(a,b,f)):di(a,b,c,d,f)}function ei(a,b){var c=b.ref;if(null===a&&null!==c||null!==a&&a.ref!==c)b.effectTag|=128}function di(a,b,c,d,e){var f=L(c)?Bf:J.current;f=Cf(b,f);qg(b,e);c=oh(a,b,c,d,f,e);if(null!==a&&!rg)return b.updateQueue=a.updateQueue,b.effectTag&=-517,a.expirationTime<=e&&(a.expirationTime=0),$h(a,b,e);b.effectTag|=1;R(a,b,c,e);return b.child}\nfunction fi(a,b,c,d,e){if(L(c)){var f=!0;Gf(b)}else f=!1;qg(b,e);if(null===b.stateNode)null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2),Lg(b,c,d),Ng(b,c,d,e),d=!0;else if(null===a){var g=b.stateNode,h=b.memoizedProps;g.props=h;var k=g.context,l=c.contextType;\"object\"===typeof l&&null!==l?l=sg(l):(l=L(c)?Bf:J.current,l=Cf(b,l));var m=c.getDerivedStateFromProps,p=\"function\"===typeof m||\"function\"===typeof g.getSnapshotBeforeUpdate;p||\"function\"!==typeof g.UNSAFE_componentWillReceiveProps&&\n\"function\"!==typeof g.componentWillReceiveProps||(h!==d||k!==l)&&Mg(b,g,d,l);tg=!1;var x=b.memoizedState;g.state=x;zg(b,d,g,e);k=b.memoizedState;h!==d||x!==k||K.current||tg?(\"function\"===typeof m&&(Fg(b,c,m,d),k=b.memoizedState),(h=tg||Kg(b,c,h,d,x,k,l))?(p||\"function\"!==typeof g.UNSAFE_componentWillMount&&\"function\"!==typeof g.componentWillMount||(\"function\"===typeof g.componentWillMount&&g.componentWillMount(),\"function\"===typeof g.UNSAFE_componentWillMount&&g.UNSAFE_componentWillMount()),\"function\"===\ntypeof g.componentDidMount&&(b.effectTag|=4)):(\"function\"===typeof g.componentDidMount&&(b.effectTag|=4),b.memoizedProps=d,b.memoizedState=k),g.props=d,g.state=k,g.context=l,d=h):(\"function\"===typeof g.componentDidMount&&(b.effectTag|=4),d=!1)}else g=b.stateNode,vg(a,b),h=b.memoizedProps,g.props=b.type===b.elementType?h:ig(b.type,h),k=g.context,l=c.contextType,\"object\"===typeof l&&null!==l?l=sg(l):(l=L(c)?Bf:J.current,l=Cf(b,l)),m=c.getDerivedStateFromProps,(p=\"function\"===typeof m||\"function\"===\ntypeof g.getSnapshotBeforeUpdate)||\"function\"!==typeof g.UNSAFE_componentWillReceiveProps&&\"function\"!==typeof g.componentWillReceiveProps||(h!==d||k!==l)&&Mg(b,g,d,l),tg=!1,k=b.memoizedState,g.state=k,zg(b,d,g,e),x=b.memoizedState,h!==d||k!==x||K.current||tg?(\"function\"===typeof m&&(Fg(b,c,m,d),x=b.memoizedState),(m=tg||Kg(b,c,h,d,k,x,l))?(p||\"function\"!==typeof g.UNSAFE_componentWillUpdate&&\"function\"!==typeof g.componentWillUpdate||(\"function\"===typeof g.componentWillUpdate&&g.componentWillUpdate(d,\nx,l),\"function\"===typeof g.UNSAFE_componentWillUpdate&&g.UNSAFE_componentWillUpdate(d,x,l)),\"function\"===typeof g.componentDidUpdate&&(b.effectTag|=4),\"function\"===typeof g.getSnapshotBeforeUpdate&&(b.effectTag|=256)):(\"function\"!==typeof g.componentDidUpdate||h===a.memoizedProps&&k===a.memoizedState||(b.effectTag|=4),\"function\"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&k===a.memoizedState||(b.effectTag|=256),b.memoizedProps=d,b.memoizedState=x),g.props=d,g.state=x,g.context=l,d=m):\n(\"function\"!==typeof g.componentDidUpdate||h===a.memoizedProps&&k===a.memoizedState||(b.effectTag|=4),\"function\"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&k===a.memoizedState||(b.effectTag|=256),d=!1);return gi(a,b,c,d,f,e)}\nfunction gi(a,b,c,d,e,f){ei(a,b);var g=0!==(b.effectTag&64);if(!d&&!g)return e&&Hf(b,c,!1),$h(a,b,f);d=b.stateNode;Yh.current=b;var h=g&&\"function\"!==typeof c.getDerivedStateFromError?null:d.render();b.effectTag|=1;null!==a&&g?(b.child=Xg(b,a.child,null,f),b.child=Xg(b,null,h,f)):R(a,b,h,f);b.memoizedState=d.state;e&&Hf(b,c,!0);return b.child}function hi(a){var b=a.stateNode;b.pendingContext?Ef(a,b.pendingContext,b.pendingContext!==b.context):b.context&&Ef(a,b.context,!1);dh(a,b.containerInfo)}\nvar ii={dehydrated:null,retryTime:0};\nfunction ji(a,b,c){var d=b.mode,e=b.pendingProps,f=M.current,g=!1,h;(h=0!==(b.effectTag&64))||(h=0!==(f&2)&&(null===a||null!==a.memoizedState));h?(g=!0,b.effectTag&=-65):null!==a&&null===a.memoizedState||void 0===e.fallback||!0===e.unstable_avoidThisFallback||(f|=1);I(M,f&1);if(null===a){void 0!==e.fallback&&Uh(b);if(g){g=e.fallback;e=Wg(null,d,0,null);e.return=b;if(0===(b.mode&2))for(a=null!==b.memoizedState?b.child.child:b.child,e.child=a;null!==a;)a.return=e,a=a.sibling;c=Wg(g,d,c,null);c.return=\nb;e.sibling=c;b.memoizedState=ii;b.child=e;return c}d=e.children;b.memoizedState=null;return b.child=Yg(b,null,d,c)}if(null!==a.memoizedState){a=a.child;d=a.sibling;if(g){e=e.fallback;c=Sg(a,a.pendingProps);c.return=b;if(0===(b.mode&2)&&(g=null!==b.memoizedState?b.child.child:b.child,g!==a.child))for(c.child=g;null!==g;)g.return=c,g=g.sibling;d=Sg(d,e);d.return=b;c.sibling=d;c.childExpirationTime=0;b.memoizedState=ii;b.child=c;return d}c=Xg(b,a.child,e.children,c);b.memoizedState=null;return b.child=\nc}a=a.child;if(g){g=e.fallback;e=Wg(null,d,0,null);e.return=b;e.child=a;null!==a&&(a.return=e);if(0===(b.mode&2))for(a=null!==b.memoizedState?b.child.child:b.child,e.child=a;null!==a;)a.return=e,a=a.sibling;c=Wg(g,d,c,null);c.return=b;e.sibling=c;c.effectTag|=2;e.childExpirationTime=0;b.memoizedState=ii;b.child=e;return c}b.memoizedState=null;return b.child=Xg(b,a,e.children,c)}\nfunction ki(a,b){a.expirationTime<b&&(a.expirationTime=b);var c=a.alternate;null!==c&&c.expirationTime<b&&(c.expirationTime=b);pg(a.return,b)}function li(a,b,c,d,e,f){var g=a.memoizedState;null===g?a.memoizedState={isBackwards:b,rendering:null,renderingStartTime:0,last:d,tail:c,tailExpiration:0,tailMode:e,lastEffect:f}:(g.isBackwards=b,g.rendering=null,g.renderingStartTime=0,g.last=d,g.tail=c,g.tailExpiration=0,g.tailMode=e,g.lastEffect=f)}\nfunction mi(a,b,c){var d=b.pendingProps,e=d.revealOrder,f=d.tail;R(a,b,d.children,c);d=M.current;if(0!==(d&2))d=d&1|2,b.effectTag|=64;else{if(null!==a&&0!==(a.effectTag&64))a:for(a=b.child;null!==a;){if(13===a.tag)null!==a.memoizedState&&ki(a,c);else if(19===a.tag)ki(a,c);else if(null!==a.child){a.child.return=a;a=a.child;continue}if(a===b)break a;for(;null===a.sibling;){if(null===a.return||a.return===b)break a;a=a.return}a.sibling.return=a.return;a=a.sibling}d&=1}I(M,d);if(0===(b.mode&2))b.memoizedState=\nnull;else switch(e){case \"forwards\":c=b.child;for(e=null;null!==c;)a=c.alternate,null!==a&&null===hh(a)&&(e=c),c=c.sibling;c=e;null===c?(e=b.child,b.child=null):(e=c.sibling,c.sibling=null);li(b,!1,e,c,f,b.lastEffect);break;case \"backwards\":c=null;e=b.child;for(b.child=null;null!==e;){a=e.alternate;if(null!==a&&null===hh(a)){b.child=e;break}a=e.sibling;e.sibling=c;c=e;e=a}li(b,!0,c,null,f,b.lastEffect);break;case \"together\":li(b,!1,null,null,void 0,b.lastEffect);break;default:b.memoizedState=null}return b.child}\nfunction $h(a,b,c){null!==a&&(b.dependencies=a.dependencies);var d=b.expirationTime;0!==d&&Bg(d);if(b.childExpirationTime<c)return null;if(null!==a&&b.child!==a.child)throw Error(u(153));if(null!==b.child){a=b.child;c=Sg(a,a.pendingProps);b.child=c;for(c.return=b;null!==a.sibling;)a=a.sibling,c=c.sibling=Sg(a,a.pendingProps),c.return=b;c.sibling=null}return b.child}var ni,oi,pi,qi;\nni=function(a,b){for(var c=b.child;null!==c;){if(5===c.tag||6===c.tag)a.appendChild(c.stateNode);else if(4!==c.tag&&null!==c.child){c.child.return=c;c=c.child;continue}if(c===b)break;for(;null===c.sibling;){if(null===c.return||c.return===b)return;c=c.return}c.sibling.return=c.return;c=c.sibling}};oi=function(){};\npi=function(a,b,c,d,e){var f=a.memoizedProps;if(f!==d){var g=b.stateNode;ch($g.current);a=null;switch(c){case \"input\":f=zb(g,f);d=zb(g,d);a=[];break;case \"option\":f=Gb(g,f);d=Gb(g,d);a=[];break;case \"select\":f=n({},f,{value:void 0});d=n({},d,{value:void 0});a=[];break;case \"textarea\":f=Ib(g,f);d=Ib(g,d);a=[];break;default:\"function\"!==typeof f.onClick&&\"function\"===typeof d.onClick&&(g.onclick=sd)}od(c,d);var h,k;c=null;for(h in f)if(!d.hasOwnProperty(h)&&f.hasOwnProperty(h)&&null!=f[h])if(\"style\"===\nh)for(k in g=f[h],g)g.hasOwnProperty(k)&&(c||(c={}),c[k]=\"\");else\"dangerouslySetInnerHTML\"!==h&&\"children\"!==h&&\"suppressContentEditableWarning\"!==h&&\"suppressHydrationWarning\"!==h&&\"autoFocus\"!==h&&(va.hasOwnProperty(h)?a||(a=[]):(a=a||[]).push(h,null));for(h in d){var l=d[h];g=null!=f?f[h]:void 0;if(d.hasOwnProperty(h)&&l!==g&&(null!=l||null!=g))if(\"style\"===h)if(g){for(k in g)!g.hasOwnProperty(k)||l&&l.hasOwnProperty(k)||(c||(c={}),c[k]=\"\");for(k in l)l.hasOwnProperty(k)&&g[k]!==l[k]&&(c||(c={}),\nc[k]=l[k])}else c||(a||(a=[]),a.push(h,c)),c=l;else\"dangerouslySetInnerHTML\"===h?(l=l?l.__html:void 0,g=g?g.__html:void 0,null!=l&&g!==l&&(a=a||[]).push(h,l)):\"children\"===h?g===l||\"string\"!==typeof l&&\"number\"!==typeof l||(a=a||[]).push(h,\"\"+l):\"suppressContentEditableWarning\"!==h&&\"suppressHydrationWarning\"!==h&&(va.hasOwnProperty(h)?(null!=l&&rd(e,h),a||g===l||(a=[])):(a=a||[]).push(h,l))}c&&(a=a||[]).push(\"style\",c);e=a;if(b.updateQueue=e)b.effectTag|=4}};\nqi=function(a,b,c,d){c!==d&&(b.effectTag|=4)};function ri(a,b){switch(a.tailMode){case \"hidden\":b=a.tail;for(var c=null;null!==b;)null!==b.alternate&&(c=b),b=b.sibling;null===c?a.tail=null:c.sibling=null;break;case \"collapsed\":c=a.tail;for(var d=null;null!==c;)null!==c.alternate&&(d=c),c=c.sibling;null===d?b||null===a.tail?a.tail=null:a.tail.sibling=null:d.sibling=null}}\nfunction si(a,b,c){var d=b.pendingProps;switch(b.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return L(b.type)&&Df(),null;case 3:return eh(),H(K),H(J),c=b.stateNode,c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null),null!==a&&null!==a.child||!Wh(b)||(b.effectTag|=4),oi(b),null;case 5:gh(b);c=ch(bh.current);var e=b.type;if(null!==a&&null!=b.stateNode)pi(a,b,e,d,c),a.ref!==b.ref&&(b.effectTag|=128);else{if(!d){if(null===b.stateNode)throw Error(u(166));\nreturn null}a=ch($g.current);if(Wh(b)){d=b.stateNode;e=b.type;var f=b.memoizedProps;d[Md]=b;d[Nd]=f;switch(e){case \"iframe\":case \"object\":case \"embed\":F(\"load\",d);break;case \"video\":case \"audio\":for(a=0;a<ac.length;a++)F(ac[a],d);break;case \"source\":F(\"error\",d);break;case \"img\":case \"image\":case \"link\":F(\"error\",d);F(\"load\",d);break;case \"form\":F(\"reset\",d);F(\"submit\",d);break;case \"details\":F(\"toggle\",d);break;case \"input\":Ab(d,f);F(\"invalid\",d);rd(c,\"onChange\");break;case \"select\":d._wrapperState=\n{wasMultiple:!!f.multiple};F(\"invalid\",d);rd(c,\"onChange\");break;case \"textarea\":Jb(d,f),F(\"invalid\",d),rd(c,\"onChange\")}od(e,f);a=null;for(var g in f)if(f.hasOwnProperty(g)){var h=f[g];\"children\"===g?\"string\"===typeof h?d.textContent!==h&&(a=[\"children\",h]):\"number\"===typeof h&&d.textContent!==\"\"+h&&(a=[\"children\",\"\"+h]):va.hasOwnProperty(g)&&null!=h&&rd(c,g)}switch(e){case \"input\":xb(d);Eb(d,f,!0);break;case \"textarea\":xb(d);Lb(d);break;case \"select\":case \"option\":break;default:\"function\"===typeof f.onClick&&\n(d.onclick=sd)}c=a;b.updateQueue=c;null!==c&&(b.effectTag|=4)}else{g=9===c.nodeType?c:c.ownerDocument;a===qd&&(a=Nb(e));a===qd?\"script\"===e?(a=g.createElement(\"div\"),a.innerHTML=\"<script>\\x3c/script>\",a=a.removeChild(a.firstChild)):\"string\"===typeof d.is?a=g.createElement(e,{is:d.is}):(a=g.createElement(e),\"select\"===e&&(g=a,d.multiple?g.multiple=!0:d.size&&(g.size=d.size))):a=g.createElementNS(a,e);a[Md]=b;a[Nd]=d;ni(a,b,!1,!1);b.stateNode=a;g=pd(e,d);switch(e){case \"iframe\":case \"object\":case \"embed\":F(\"load\",\na);h=d;break;case \"video\":case \"audio\":for(h=0;h<ac.length;h++)F(ac[h],a);h=d;break;case \"source\":F(\"error\",a);h=d;break;case \"img\":case \"image\":case \"link\":F(\"error\",a);F(\"load\",a);h=d;break;case \"form\":F(\"reset\",a);F(\"submit\",a);h=d;break;case \"details\":F(\"toggle\",a);h=d;break;case \"input\":Ab(a,d);h=zb(a,d);F(\"invalid\",a);rd(c,\"onChange\");break;case \"option\":h=Gb(a,d);break;case \"select\":a._wrapperState={wasMultiple:!!d.multiple};h=n({},d,{value:void 0});F(\"invalid\",a);rd(c,\"onChange\");break;case \"textarea\":Jb(a,\nd);h=Ib(a,d);F(\"invalid\",a);rd(c,\"onChange\");break;default:h=d}od(e,h);var k=h;for(f in k)if(k.hasOwnProperty(f)){var l=k[f];\"style\"===f?md(a,l):\"dangerouslySetInnerHTML\"===f?(l=l?l.__html:void 0,null!=l&&Qb(a,l)):\"children\"===f?\"string\"===typeof l?(\"textarea\"!==e||\"\"!==l)&&Rb(a,l):\"number\"===typeof l&&Rb(a,\"\"+l):\"suppressContentEditableWarning\"!==f&&\"suppressHydrationWarning\"!==f&&\"autoFocus\"!==f&&(va.hasOwnProperty(f)?null!=l&&rd(c,f):null!=l&&Xa(a,f,l,g))}switch(e){case \"input\":xb(a);Eb(a,d,!1);\nbreak;case \"textarea\":xb(a);Lb(a);break;case \"option\":null!=d.value&&a.setAttribute(\"value\",\"\"+rb(d.value));break;case \"select\":a.multiple=!!d.multiple;c=d.value;null!=c?Hb(a,!!d.multiple,c,!1):null!=d.defaultValue&&Hb(a,!!d.multiple,d.defaultValue,!0);break;default:\"function\"===typeof h.onClick&&(a.onclick=sd)}Fd(e,d)&&(b.effectTag|=4)}null!==b.ref&&(b.effectTag|=128)}return null;case 6:if(a&&null!=b.stateNode)qi(a,b,a.memoizedProps,d);else{if(\"string\"!==typeof d&&null===b.stateNode)throw Error(u(166));\nc=ch(bh.current);ch($g.current);Wh(b)?(c=b.stateNode,d=b.memoizedProps,c[Md]=b,c.nodeValue!==d&&(b.effectTag|=4)):(c=(9===c.nodeType?c:c.ownerDocument).createTextNode(d),c[Md]=b,b.stateNode=c)}return null;case 13:H(M);d=b.memoizedState;if(0!==(b.effectTag&64))return b.expirationTime=c,b;c=null!==d;d=!1;null===a?void 0!==b.memoizedProps.fallback&&Wh(b):(e=a.memoizedState,d=null!==e,c||null===e||(e=a.child.sibling,null!==e&&(f=b.firstEffect,null!==f?(b.firstEffect=e,e.nextEffect=f):(b.firstEffect=b.lastEffect=\ne,e.nextEffect=null),e.effectTag=8)));if(c&&!d&&0!==(b.mode&2))if(null===a&&!0!==b.memoizedProps.unstable_avoidThisFallback||0!==(M.current&1))S===ti&&(S=ui);else{if(S===ti||S===ui)S=vi;0!==wi&&null!==T&&(xi(T,U),yi(T,wi))}if(c||d)b.effectTag|=4;return null;case 4:return eh(),oi(b),null;case 10:return og(b),null;case 17:return L(b.type)&&Df(),null;case 19:H(M);d=b.memoizedState;if(null===d)return null;e=0!==(b.effectTag&64);f=d.rendering;if(null===f)if(e)ri(d,!1);else{if(S!==ti||null!==a&&0!==(a.effectTag&\n64))for(f=b.child;null!==f;){a=hh(f);if(null!==a){b.effectTag|=64;ri(d,!1);e=a.updateQueue;null!==e&&(b.updateQueue=e,b.effectTag|=4);null===d.lastEffect&&(b.firstEffect=null);b.lastEffect=d.lastEffect;for(d=b.child;null!==d;)e=d,f=c,e.effectTag&=2,e.nextEffect=null,e.firstEffect=null,e.lastEffect=null,a=e.alternate,null===a?(e.childExpirationTime=0,e.expirationTime=f,e.child=null,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null):(e.childExpirationTime=a.childExpirationTime,\ne.expirationTime=a.expirationTime,e.child=a.child,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,f=a.dependencies,e.dependencies=null===f?null:{expirationTime:f.expirationTime,firstContext:f.firstContext,responders:f.responders}),d=d.sibling;I(M,M.current&1|2);return b.child}f=f.sibling}}else{if(!e)if(a=hh(f),null!==a){if(b.effectTag|=64,e=!0,c=a.updateQueue,null!==c&&(b.updateQueue=c,b.effectTag|=4),ri(d,!0),null===d.tail&&\"hidden\"===d.tailMode&&!f.alternate)return b=\nb.lastEffect=d.lastEffect,null!==b&&(b.nextEffect=null),null}else 2*$f()-d.renderingStartTime>d.tailExpiration&&1<c&&(b.effectTag|=64,e=!0,ri(d,!1),b.expirationTime=b.childExpirationTime=c-1);d.isBackwards?(f.sibling=b.child,b.child=f):(c=d.last,null!==c?c.sibling=f:b.child=f,d.last=f)}return null!==d.tail?(0===d.tailExpiration&&(d.tailExpiration=$f()+500),c=d.tail,d.rendering=c,d.tail=c.sibling,d.lastEffect=b.lastEffect,d.renderingStartTime=$f(),c.sibling=null,b=M.current,I(M,e?b&1|2:b&1),c):null}throw Error(u(156,\nb.tag));}function zi(a){switch(a.tag){case 1:L(a.type)&&Df();var b=a.effectTag;return b&4096?(a.effectTag=b&-4097|64,a):null;case 3:eh();H(K);H(J);b=a.effectTag;if(0!==(b&64))throw Error(u(285));a.effectTag=b&-4097|64;return a;case 5:return gh(a),null;case 13:return H(M),b=a.effectTag,b&4096?(a.effectTag=b&-4097|64,a):null;case 19:return H(M),null;case 4:return eh(),null;case 10:return og(a),null;default:return null}}function Ai(a,b){return{value:a,source:b,stack:qb(b)}}\nvar Bi=\"function\"===typeof WeakSet?WeakSet:Set;function Ci(a,b){var c=b.source,d=b.stack;null===d&&null!==c&&(d=qb(c));null!==c&&pb(c.type);b=b.value;null!==a&&1===a.tag&&pb(a.type);try{console.error(b)}catch(e){setTimeout(function(){throw e;})}}function Di(a,b){try{b.props=a.memoizedProps,b.state=a.memoizedState,b.componentWillUnmount()}catch(c){Ei(a,c)}}function Fi(a){var b=a.ref;if(null!==b)if(\"function\"===typeof b)try{b(null)}catch(c){Ei(a,c)}else b.current=null}\nfunction Gi(a,b){switch(b.tag){case 0:case 11:case 15:case 22:return;case 1:if(b.effectTag&256&&null!==a){var c=a.memoizedProps,d=a.memoizedState;a=b.stateNode;b=a.getSnapshotBeforeUpdate(b.elementType===b.type?c:ig(b.type,c),d);a.__reactInternalSnapshotBeforeUpdate=b}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(u(163));}\nfunction Hi(a,b){b=b.updateQueue;b=null!==b?b.lastEffect:null;if(null!==b){var c=b=b.next;do{if((c.tag&a)===a){var d=c.destroy;c.destroy=void 0;void 0!==d&&d()}c=c.next}while(c!==b)}}function Ii(a,b){b=b.updateQueue;b=null!==b?b.lastEffect:null;if(null!==b){var c=b=b.next;do{if((c.tag&a)===a){var d=c.create;c.destroy=d()}c=c.next}while(c!==b)}}\nfunction Ji(a,b,c){switch(c.tag){case 0:case 11:case 15:case 22:Ii(3,c);return;case 1:a=c.stateNode;if(c.effectTag&4)if(null===b)a.componentDidMount();else{var d=c.elementType===c.type?b.memoizedProps:ig(c.type,b.memoizedProps);a.componentDidUpdate(d,b.memoizedState,a.__reactInternalSnapshotBeforeUpdate)}b=c.updateQueue;null!==b&&Cg(c,b,a);return;case 3:b=c.updateQueue;if(null!==b){a=null;if(null!==c.child)switch(c.child.tag){case 5:a=c.child.stateNode;break;case 1:a=c.child.stateNode}Cg(c,b,a)}return;\ncase 5:a=c.stateNode;null===b&&c.effectTag&4&&Fd(c.type,c.memoizedProps)&&a.focus();return;case 6:return;case 4:return;case 12:return;case 13:null===c.memoizedState&&(c=c.alternate,null!==c&&(c=c.memoizedState,null!==c&&(c=c.dehydrated,null!==c&&Vc(c))));return;case 19:case 17:case 20:case 21:return}throw Error(u(163));}\nfunction Ki(a,b,c){\"function\"===typeof Li&&Li(b);switch(b.tag){case 0:case 11:case 14:case 15:case 22:a=b.updateQueue;if(null!==a&&(a=a.lastEffect,null!==a)){var d=a.next;cg(97<c?97:c,function(){var a=d;do{var c=a.destroy;if(void 0!==c){var g=b;try{c()}catch(h){Ei(g,h)}}a=a.next}while(a!==d)})}break;case 1:Fi(b);c=b.stateNode;\"function\"===typeof c.componentWillUnmount&&Di(b,c);break;case 5:Fi(b);break;case 4:Mi(a,b,c)}}\nfunction Ni(a){var b=a.alternate;a.return=null;a.child=null;a.memoizedState=null;a.updateQueue=null;a.dependencies=null;a.alternate=null;a.firstEffect=null;a.lastEffect=null;a.pendingProps=null;a.memoizedProps=null;a.stateNode=null;null!==b&&Ni(b)}function Oi(a){return 5===a.tag||3===a.tag||4===a.tag}\nfunction Pi(a){a:{for(var b=a.return;null!==b;){if(Oi(b)){var c=b;break a}b=b.return}throw Error(u(160));}b=c.stateNode;switch(c.tag){case 5:var d=!1;break;case 3:b=b.containerInfo;d=!0;break;case 4:b=b.containerInfo;d=!0;break;default:throw Error(u(161));}c.effectTag&16&&(Rb(b,\"\"),c.effectTag&=-17);a:b:for(c=a;;){for(;null===c.sibling;){if(null===c.return||Oi(c.return)){c=null;break a}c=c.return}c.sibling.return=c.return;for(c=c.sibling;5!==c.tag&&6!==c.tag&&18!==c.tag;){if(c.effectTag&2)continue b;\nif(null===c.child||4===c.tag)continue b;else c.child.return=c,c=c.child}if(!(c.effectTag&2)){c=c.stateNode;break a}}d?Qi(a,c,b):Ri(a,c,b)}\nfunction Qi(a,b,c){var d=a.tag,e=5===d||6===d;if(e)a=e?a.stateNode:a.stateNode.instance,b?8===c.nodeType?c.parentNode.insertBefore(a,b):c.insertBefore(a,b):(8===c.nodeType?(b=c.parentNode,b.insertBefore(a,c)):(b=c,b.appendChild(a)),c=c._reactRootContainer,null!==c&&void 0!==c||null!==b.onclick||(b.onclick=sd));else if(4!==d&&(a=a.child,null!==a))for(Qi(a,b,c),a=a.sibling;null!==a;)Qi(a,b,c),a=a.sibling}\nfunction Ri(a,b,c){var d=a.tag,e=5===d||6===d;if(e)a=e?a.stateNode:a.stateNode.instance,b?c.insertBefore(a,b):c.appendChild(a);else if(4!==d&&(a=a.child,null!==a))for(Ri(a,b,c),a=a.sibling;null!==a;)Ri(a,b,c),a=a.sibling}\nfunction Mi(a,b,c){for(var d=b,e=!1,f,g;;){if(!e){e=d.return;a:for(;;){if(null===e)throw Error(u(160));f=e.stateNode;switch(e.tag){case 5:g=!1;break a;case 3:f=f.containerInfo;g=!0;break a;case 4:f=f.containerInfo;g=!0;break a}e=e.return}e=!0}if(5===d.tag||6===d.tag){a:for(var h=a,k=d,l=c,m=k;;)if(Ki(h,m,l),null!==m.child&&4!==m.tag)m.child.return=m,m=m.child;else{if(m===k)break a;for(;null===m.sibling;){if(null===m.return||m.return===k)break a;m=m.return}m.sibling.return=m.return;m=m.sibling}g?(h=\nf,k=d.stateNode,8===h.nodeType?h.parentNode.removeChild(k):h.removeChild(k)):f.removeChild(d.stateNode)}else if(4===d.tag){if(null!==d.child){f=d.stateNode.containerInfo;g=!0;d.child.return=d;d=d.child;continue}}else if(Ki(a,d,c),null!==d.child){d.child.return=d;d=d.child;continue}if(d===b)break;for(;null===d.sibling;){if(null===d.return||d.return===b)return;d=d.return;4===d.tag&&(e=!1)}d.sibling.return=d.return;d=d.sibling}}\nfunction Si(a,b){switch(b.tag){case 0:case 11:case 14:case 15:case 22:Hi(3,b);return;case 1:return;case 5:var c=b.stateNode;if(null!=c){var d=b.memoizedProps,e=null!==a?a.memoizedProps:d;a=b.type;var f=b.updateQueue;b.updateQueue=null;if(null!==f){c[Nd]=d;\"input\"===a&&\"radio\"===d.type&&null!=d.name&&Bb(c,d);pd(a,e);b=pd(a,d);for(e=0;e<f.length;e+=2){var g=f[e],h=f[e+1];\"style\"===g?md(c,h):\"dangerouslySetInnerHTML\"===g?Qb(c,h):\"children\"===g?Rb(c,h):Xa(c,g,h,b)}switch(a){case \"input\":Cb(c,d);break;\ncase \"textarea\":Kb(c,d);break;case \"select\":b=c._wrapperState.wasMultiple,c._wrapperState.wasMultiple=!!d.multiple,a=d.value,null!=a?Hb(c,!!d.multiple,a,!1):b!==!!d.multiple&&(null!=d.defaultValue?Hb(c,!!d.multiple,d.defaultValue,!0):Hb(c,!!d.multiple,d.multiple?[]:\"\",!1))}}}return;case 6:if(null===b.stateNode)throw Error(u(162));b.stateNode.nodeValue=b.memoizedProps;return;case 3:b=b.stateNode;b.hydrate&&(b.hydrate=!1,Vc(b.containerInfo));return;case 12:return;case 13:c=b;null===b.memoizedState?\nd=!1:(d=!0,c=b.child,Ti=$f());if(null!==c)a:for(a=c;;){if(5===a.tag)f=a.stateNode,d?(f=f.style,\"function\"===typeof f.setProperty?f.setProperty(\"display\",\"none\",\"important\"):f.display=\"none\"):(f=a.stateNode,e=a.memoizedProps.style,e=void 0!==e&&null!==e&&e.hasOwnProperty(\"display\")?e.display:null,f.style.display=ld(\"display\",e));else if(6===a.tag)a.stateNode.nodeValue=d?\"\":a.memoizedProps;else if(13===a.tag&&null!==a.memoizedState&&null===a.memoizedState.dehydrated){f=a.child.sibling;f.return=a;a=\nf;continue}else if(null!==a.child){a.child.return=a;a=a.child;continue}if(a===c)break;for(;null===a.sibling;){if(null===a.return||a.return===c)break a;a=a.return}a.sibling.return=a.return;a=a.sibling}Ui(b);return;case 19:Ui(b);return;case 17:return}throw Error(u(163));}function Ui(a){var b=a.updateQueue;if(null!==b){a.updateQueue=null;var c=a.stateNode;null===c&&(c=a.stateNode=new Bi);b.forEach(function(b){var d=Vi.bind(null,a,b);c.has(b)||(c.add(b),b.then(d,d))})}}\nvar Wi=\"function\"===typeof WeakMap?WeakMap:Map;function Xi(a,b,c){c=wg(c,null);c.tag=3;c.payload={element:null};var d=b.value;c.callback=function(){Yi||(Yi=!0,Zi=d);Ci(a,b)};return c}\nfunction $i(a,b,c){c=wg(c,null);c.tag=3;var d=a.type.getDerivedStateFromError;if(\"function\"===typeof d){var e=b.value;c.payload=function(){Ci(a,b);return d(e)}}var f=a.stateNode;null!==f&&\"function\"===typeof f.componentDidCatch&&(c.callback=function(){\"function\"!==typeof d&&(null===aj?aj=new Set([this]):aj.add(this),Ci(a,b));var c=b.stack;this.componentDidCatch(b.value,{componentStack:null!==c?c:\"\"})});return c}\nvar bj=Math.ceil,cj=Wa.ReactCurrentDispatcher,dj=Wa.ReactCurrentOwner,V=0,ej=8,fj=16,gj=32,ti=0,hj=1,ij=2,ui=3,vi=4,jj=5,W=V,T=null,X=null,U=0,S=ti,kj=null,lj=1073741823,mj=1073741823,nj=null,wi=0,oj=!1,Ti=0,pj=500,Y=null,Yi=!1,Zi=null,aj=null,qj=!1,rj=null,sj=90,tj=null,uj=0,vj=null,wj=0;function Gg(){return(W&(fj|gj))!==V?1073741821-($f()/10|0):0!==wj?wj:wj=1073741821-($f()/10|0)}\nfunction Hg(a,b,c){b=b.mode;if(0===(b&2))return 1073741823;var d=ag();if(0===(b&4))return 99===d?1073741823:1073741822;if((W&fj)!==V)return U;if(null!==c)a=hg(a,c.timeoutMs|0||5E3,250);else switch(d){case 99:a=1073741823;break;case 98:a=hg(a,150,100);break;case 97:case 96:a=hg(a,5E3,250);break;case 95:a=2;break;default:throw Error(u(326));}null!==T&&a===U&&--a;return a}\nfunction Ig(a,b){if(50<uj)throw uj=0,vj=null,Error(u(185));a=xj(a,b);if(null!==a){var c=ag();1073741823===b?(W&ej)!==V&&(W&(fj|gj))===V?yj(a):(Z(a),W===V&&gg()):Z(a);(W&4)===V||98!==c&&99!==c||(null===tj?tj=new Map([[a,b]]):(c=tj.get(a),(void 0===c||c>b)&&tj.set(a,b)))}}\nfunction xj(a,b){a.expirationTime<b&&(a.expirationTime=b);var c=a.alternate;null!==c&&c.expirationTime<b&&(c.expirationTime=b);var d=a.return,e=null;if(null===d&&3===a.tag)e=a.stateNode;else for(;null!==d;){c=d.alternate;d.childExpirationTime<b&&(d.childExpirationTime=b);null!==c&&c.childExpirationTime<b&&(c.childExpirationTime=b);if(null===d.return&&3===d.tag){e=d.stateNode;break}d=d.return}null!==e&&(T===e&&(Bg(b),S===vi&&xi(e,U)),yi(e,b));return e}\nfunction zj(a){var b=a.lastExpiredTime;if(0!==b)return b;b=a.firstPendingTime;if(!Aj(a,b))return b;var c=a.lastPingedTime;a=a.nextKnownPendingLevel;a=c>a?c:a;return 2>=a&&b!==a?0:a}\nfunction Z(a){if(0!==a.lastExpiredTime)a.callbackExpirationTime=1073741823,a.callbackPriority=99,a.callbackNode=eg(yj.bind(null,a));else{var b=zj(a),c=a.callbackNode;if(0===b)null!==c&&(a.callbackNode=null,a.callbackExpirationTime=0,a.callbackPriority=90);else{var d=Gg();1073741823===b?d=99:1===b||2===b?d=95:(d=10*(1073741821-b)-10*(1073741821-d),d=0>=d?99:250>=d?98:5250>=d?97:95);if(null!==c){var e=a.callbackPriority;if(a.callbackExpirationTime===b&&e>=d)return;c!==Tf&&Kf(c)}a.callbackExpirationTime=\nb;a.callbackPriority=d;b=1073741823===b?eg(yj.bind(null,a)):dg(d,Bj.bind(null,a),{timeout:10*(1073741821-b)-$f()});a.callbackNode=b}}}\nfunction Bj(a,b){wj=0;if(b)return b=Gg(),Cj(a,b),Z(a),null;var c=zj(a);if(0!==c){b=a.callbackNode;if((W&(fj|gj))!==V)throw Error(u(327));Dj();a===T&&c===U||Ej(a,c);if(null!==X){var d=W;W|=fj;var e=Fj();do try{Gj();break}catch(h){Hj(a,h)}while(1);ng();W=d;cj.current=e;if(S===hj)throw b=kj,Ej(a,c),xi(a,c),Z(a),b;if(null===X)switch(e=a.finishedWork=a.current.alternate,a.finishedExpirationTime=c,d=S,T=null,d){case ti:case hj:throw Error(u(345));case ij:Cj(a,2<c?2:c);break;case ui:xi(a,c);d=a.lastSuspendedTime;\nc===d&&(a.nextKnownPendingLevel=Ij(e));if(1073741823===lj&&(e=Ti+pj-$f(),10<e)){if(oj){var f=a.lastPingedTime;if(0===f||f>=c){a.lastPingedTime=c;Ej(a,c);break}}f=zj(a);if(0!==f&&f!==c)break;if(0!==d&&d!==c){a.lastPingedTime=d;break}a.timeoutHandle=Hd(Jj.bind(null,a),e);break}Jj(a);break;case vi:xi(a,c);d=a.lastSuspendedTime;c===d&&(a.nextKnownPendingLevel=Ij(e));if(oj&&(e=a.lastPingedTime,0===e||e>=c)){a.lastPingedTime=c;Ej(a,c);break}e=zj(a);if(0!==e&&e!==c)break;if(0!==d&&d!==c){a.lastPingedTime=\nd;break}1073741823!==mj?d=10*(1073741821-mj)-$f():1073741823===lj?d=0:(d=10*(1073741821-lj)-5E3,e=$f(),c=10*(1073741821-c)-e,d=e-d,0>d&&(d=0),d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3E3>d?3E3:4320>d?4320:1960*bj(d/1960))-d,c<d&&(d=c));if(10<d){a.timeoutHandle=Hd(Jj.bind(null,a),d);break}Jj(a);break;case jj:if(1073741823!==lj&&null!==nj){f=lj;var g=nj;d=g.busyMinDurationMs|0;0>=d?d=0:(e=g.busyDelayMs|0,f=$f()-(10*(1073741821-f)-(g.timeoutMs|0||5E3)),d=f<=e?0:e+d-f);if(10<d){xi(a,c);a.timeoutHandle=\nHd(Jj.bind(null,a),d);break}}Jj(a);break;default:throw Error(u(329));}Z(a);if(a.callbackNode===b)return Bj.bind(null,a)}}return null}\nfunction yj(a){var b=a.lastExpiredTime;b=0!==b?b:1073741823;if((W&(fj|gj))!==V)throw Error(u(327));Dj();a===T&&b===U||Ej(a,b);if(null!==X){var c=W;W|=fj;var d=Fj();do try{Kj();break}catch(e){Hj(a,e)}while(1);ng();W=c;cj.current=d;if(S===hj)throw c=kj,Ej(a,b),xi(a,b),Z(a),c;if(null!==X)throw Error(u(261));a.finishedWork=a.current.alternate;a.finishedExpirationTime=b;T=null;Jj(a);Z(a)}return null}function Lj(){if(null!==tj){var a=tj;tj=null;a.forEach(function(a,c){Cj(c,a);Z(c)});gg()}}\nfunction Mj(a,b){var c=W;W|=1;try{return a(b)}finally{W=c,W===V&&gg()}}function Nj(a,b){var c=W;W&=-2;W|=ej;try{return a(b)}finally{W=c,W===V&&gg()}}\nfunction Ej(a,b){a.finishedWork=null;a.finishedExpirationTime=0;var c=a.timeoutHandle;-1!==c&&(a.timeoutHandle=-1,Id(c));if(null!==X)for(c=X.return;null!==c;){var d=c;switch(d.tag){case 1:d=d.type.childContextTypes;null!==d&&void 0!==d&&Df();break;case 3:eh();H(K);H(J);break;case 5:gh(d);break;case 4:eh();break;case 13:H(M);break;case 19:H(M);break;case 10:og(d)}c=c.return}T=a;X=Sg(a.current,null);U=b;S=ti;kj=null;mj=lj=1073741823;nj=null;wi=0;oj=!1}\nfunction Hj(a,b){do{try{ng();jh.current=sh;if(mh)for(var c=N.memoizedState;null!==c;){var d=c.queue;null!==d&&(d.pending=null);c=c.next}lh=0;P=O=N=null;mh=!1;if(null===X||null===X.return)return S=hj,kj=b,X=null;a:{var e=a,f=X.return,g=X,h=b;b=U;g.effectTag|=2048;g.firstEffect=g.lastEffect=null;if(null!==h&&\"object\"===typeof h&&\"function\"===typeof h.then){var k=h;if(0===(g.mode&2)){var l=g.alternate;l?(g.updateQueue=l.updateQueue,g.memoizedState=l.memoizedState,g.expirationTime=l.expirationTime):(g.updateQueue=\nnull,g.memoizedState=null)}var m=0!==(M.current&1),p=f;do{var x;if(x=13===p.tag){var z=p.memoizedState;if(null!==z)x=null!==z.dehydrated?!0:!1;else{var ca=p.memoizedProps;x=void 0===ca.fallback?!1:!0!==ca.unstable_avoidThisFallback?!0:m?!1:!0}}if(x){var D=p.updateQueue;if(null===D){var t=new Set;t.add(k);p.updateQueue=t}else D.add(k);if(0===(p.mode&2)){p.effectTag|=64;g.effectTag&=-2981;if(1===g.tag)if(null===g.alternate)g.tag=17;else{var y=wg(1073741823,null);y.tag=2;xg(g,y)}g.expirationTime=1073741823;\nbreak a}h=void 0;g=b;var A=e.pingCache;null===A?(A=e.pingCache=new Wi,h=new Set,A.set(k,h)):(h=A.get(k),void 0===h&&(h=new Set,A.set(k,h)));if(!h.has(g)){h.add(g);var q=Oj.bind(null,e,k,g);k.then(q,q)}p.effectTag|=4096;p.expirationTime=b;break a}p=p.return}while(null!==p);h=Error((pb(g.type)||\"A React component\")+\" suspended while rendering, but no fallback UI was specified.\\n\\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.\"+qb(g))}S!==\njj&&(S=ij);h=Ai(h,g);p=f;do{switch(p.tag){case 3:k=h;p.effectTag|=4096;p.expirationTime=b;var B=Xi(p,k,b);yg(p,B);break a;case 1:k=h;var w=p.type,ub=p.stateNode;if(0===(p.effectTag&64)&&(\"function\"===typeof w.getDerivedStateFromError||null!==ub&&\"function\"===typeof ub.componentDidCatch&&(null===aj||!aj.has(ub)))){p.effectTag|=4096;p.expirationTime=b;var vb=$i(p,k,b);yg(p,vb);break a}}p=p.return}while(null!==p)}X=Pj(X)}catch(Xc){b=Xc;continue}break}while(1)}\nfunction Fj(){var a=cj.current;cj.current=sh;return null===a?sh:a}function Ag(a,b){a<lj&&2<a&&(lj=a);null!==b&&a<mj&&2<a&&(mj=a,nj=b)}function Bg(a){a>wi&&(wi=a)}function Kj(){for(;null!==X;)X=Qj(X)}function Gj(){for(;null!==X&&!Uf();)X=Qj(X)}function Qj(a){var b=Rj(a.alternate,a,U);a.memoizedProps=a.pendingProps;null===b&&(b=Pj(a));dj.current=null;return b}\nfunction Pj(a){X=a;do{var b=X.alternate;a=X.return;if(0===(X.effectTag&2048)){b=si(b,X,U);if(1===U||1!==X.childExpirationTime){for(var c=0,d=X.child;null!==d;){var e=d.expirationTime,f=d.childExpirationTime;e>c&&(c=e);f>c&&(c=f);d=d.sibling}X.childExpirationTime=c}if(null!==b)return b;null!==a&&0===(a.effectTag&2048)&&(null===a.firstEffect&&(a.firstEffect=X.firstEffect),null!==X.lastEffect&&(null!==a.lastEffect&&(a.lastEffect.nextEffect=X.firstEffect),a.lastEffect=X.lastEffect),1<X.effectTag&&(null!==\na.lastEffect?a.lastEffect.nextEffect=X:a.firstEffect=X,a.lastEffect=X))}else{b=zi(X);if(null!==b)return b.effectTag&=2047,b;null!==a&&(a.firstEffect=a.lastEffect=null,a.effectTag|=2048)}b=X.sibling;if(null!==b)return b;X=a}while(null!==X);S===ti&&(S=jj);return null}function Ij(a){var b=a.expirationTime;a=a.childExpirationTime;return b>a?b:a}function Jj(a){var b=ag();cg(99,Sj.bind(null,a,b));return null}\nfunction Sj(a,b){do Dj();while(null!==rj);if((W&(fj|gj))!==V)throw Error(u(327));var c=a.finishedWork,d=a.finishedExpirationTime;if(null===c)return null;a.finishedWork=null;a.finishedExpirationTime=0;if(c===a.current)throw Error(u(177));a.callbackNode=null;a.callbackExpirationTime=0;a.callbackPriority=90;a.nextKnownPendingLevel=0;var e=Ij(c);a.firstPendingTime=e;d<=a.lastSuspendedTime?a.firstSuspendedTime=a.lastSuspendedTime=a.nextKnownPendingLevel=0:d<=a.firstSuspendedTime&&(a.firstSuspendedTime=\nd-1);d<=a.lastPingedTime&&(a.lastPingedTime=0);d<=a.lastExpiredTime&&(a.lastExpiredTime=0);a===T&&(X=T=null,U=0);1<c.effectTag?null!==c.lastEffect?(c.lastEffect.nextEffect=c,e=c.firstEffect):e=c:e=c.firstEffect;if(null!==e){var f=W;W|=gj;dj.current=null;Dd=fd;var g=xd();if(yd(g)){if(\"selectionStart\"in g)var h={start:g.selectionStart,end:g.selectionEnd};else a:{h=(h=g.ownerDocument)&&h.defaultView||window;var k=h.getSelection&&h.getSelection();if(k&&0!==k.rangeCount){h=k.anchorNode;var l=k.anchorOffset,\nm=k.focusNode;k=k.focusOffset;try{h.nodeType,m.nodeType}catch(wb){h=null;break a}var p=0,x=-1,z=-1,ca=0,D=0,t=g,y=null;b:for(;;){for(var A;;){t!==h||0!==l&&3!==t.nodeType||(x=p+l);t!==m||0!==k&&3!==t.nodeType||(z=p+k);3===t.nodeType&&(p+=t.nodeValue.length);if(null===(A=t.firstChild))break;y=t;t=A}for(;;){if(t===g)break b;y===h&&++ca===l&&(x=p);y===m&&++D===k&&(z=p);if(null!==(A=t.nextSibling))break;t=y;y=t.parentNode}t=A}h=-1===x||-1===z?null:{start:x,end:z}}else h=null}h=h||{start:0,end:0}}else h=\nnull;Ed={activeElementDetached:null,focusedElem:g,selectionRange:h};fd=!1;Y=e;do try{Tj()}catch(wb){if(null===Y)throw Error(u(330));Ei(Y,wb);Y=Y.nextEffect}while(null!==Y);Y=e;do try{for(g=a,h=b;null!==Y;){var q=Y.effectTag;q&16&&Rb(Y.stateNode,\"\");if(q&128){var B=Y.alternate;if(null!==B){var w=B.ref;null!==w&&(\"function\"===typeof w?w(null):w.current=null)}}switch(q&1038){case 2:Pi(Y);Y.effectTag&=-3;break;case 6:Pi(Y);Y.effectTag&=-3;Si(Y.alternate,Y);break;case 1024:Y.effectTag&=-1025;break;case 1028:Y.effectTag&=\n-1025;Si(Y.alternate,Y);break;case 4:Si(Y.alternate,Y);break;case 8:l=Y,Mi(g,l,h),Ni(l)}Y=Y.nextEffect}}catch(wb){if(null===Y)throw Error(u(330));Ei(Y,wb);Y=Y.nextEffect}while(null!==Y);w=Ed;B=xd();q=w.focusedElem;h=w.selectionRange;if(B!==q&&q&&q.ownerDocument&&wd(q.ownerDocument.documentElement,q)){null!==h&&yd(q)&&(B=h.start,w=h.end,void 0===w&&(w=B),\"selectionStart\"in q?(q.selectionStart=B,q.selectionEnd=Math.min(w,q.value.length)):(w=(B=q.ownerDocument||document)&&B.defaultView||window,w.getSelection&&\n(w=w.getSelection(),l=q.textContent.length,g=Math.min(h.start,l),h=void 0===h.end?g:Math.min(h.end,l),!w.extend&&g>h&&(l=h,h=g,g=l),l=vd(q,g),m=vd(q,h),l&&m&&(1!==w.rangeCount||w.anchorNode!==l.node||w.anchorOffset!==l.offset||w.focusNode!==m.node||w.focusOffset!==m.offset)&&(B=B.createRange(),B.setStart(l.node,l.offset),w.removeAllRanges(),g>h?(w.addRange(B),w.extend(m.node,m.offset)):(B.setEnd(m.node,m.offset),w.addRange(B))))));B=[];for(w=q;w=w.parentNode;)1===w.nodeType&&B.push({element:w,left:w.scrollLeft,\ntop:w.scrollTop});\"function\"===typeof q.focus&&q.focus();for(q=0;q<B.length;q++)w=B[q],w.element.scrollLeft=w.left,w.element.scrollTop=w.top}fd=!!Dd;Ed=Dd=null;a.current=c;Y=e;do try{for(q=a;null!==Y;){var ub=Y.effectTag;ub&36&&Ji(q,Y.alternate,Y);if(ub&128){B=void 0;var vb=Y.ref;if(null!==vb){var Xc=Y.stateNode;switch(Y.tag){case 5:B=Xc;break;default:B=Xc}\"function\"===typeof vb?vb(B):vb.current=B}}Y=Y.nextEffect}}catch(wb){if(null===Y)throw Error(u(330));Ei(Y,wb);Y=Y.nextEffect}while(null!==Y);Y=\nnull;Vf();W=f}else a.current=c;if(qj)qj=!1,rj=a,sj=b;else for(Y=e;null!==Y;)b=Y.nextEffect,Y.nextEffect=null,Y=b;b=a.firstPendingTime;0===b&&(aj=null);1073741823===b?a===vj?uj++:(uj=0,vj=a):uj=0;\"function\"===typeof Uj&&Uj(c.stateNode,d);Z(a);if(Yi)throw Yi=!1,a=Zi,Zi=null,a;if((W&ej)!==V)return null;gg();return null}function Tj(){for(;null!==Y;){var a=Y.effectTag;0!==(a&256)&&Gi(Y.alternate,Y);0===(a&512)||qj||(qj=!0,dg(97,function(){Dj();return null}));Y=Y.nextEffect}}\nfunction Dj(){if(90!==sj){var a=97<sj?97:sj;sj=90;return cg(a,Vj)}}function Vj(){if(null===rj)return!1;var a=rj;rj=null;if((W&(fj|gj))!==V)throw Error(u(331));var b=W;W|=gj;for(a=a.current.firstEffect;null!==a;){try{var c=a;if(0!==(c.effectTag&512))switch(c.tag){case 0:case 11:case 15:case 22:Hi(5,c),Ii(5,c)}}catch(d){if(null===a)throw Error(u(330));Ei(a,d)}c=a.nextEffect;a.nextEffect=null;a=c}W=b;gg();return!0}\nfunction Wj(a,b,c){b=Ai(c,b);b=Xi(a,b,1073741823);xg(a,b);a=xj(a,1073741823);null!==a&&Z(a)}function Ei(a,b){if(3===a.tag)Wj(a,a,b);else for(var c=a.return;null!==c;){if(3===c.tag){Wj(c,a,b);break}else if(1===c.tag){var d=c.stateNode;if(\"function\"===typeof c.type.getDerivedStateFromError||\"function\"===typeof d.componentDidCatch&&(null===aj||!aj.has(d))){a=Ai(b,a);a=$i(c,a,1073741823);xg(c,a);c=xj(c,1073741823);null!==c&&Z(c);break}}c=c.return}}\nfunction Oj(a,b,c){var d=a.pingCache;null!==d&&d.delete(b);T===a&&U===c?S===vi||S===ui&&1073741823===lj&&$f()-Ti<pj?Ej(a,U):oj=!0:Aj(a,c)&&(b=a.lastPingedTime,0!==b&&b<c||(a.lastPingedTime=c,Z(a)))}function Vi(a,b){var c=a.stateNode;null!==c&&c.delete(b);b=0;0===b&&(b=Gg(),b=Hg(b,a,null));a=xj(a,b);null!==a&&Z(a)}var Rj;\nRj=function(a,b,c){var d=b.expirationTime;if(null!==a){var e=b.pendingProps;if(a.memoizedProps!==e||K.current)rg=!0;else{if(d<c){rg=!1;switch(b.tag){case 3:hi(b);Xh();break;case 5:fh(b);if(b.mode&4&&1!==c&&e.hidden)return b.expirationTime=b.childExpirationTime=1,null;break;case 1:L(b.type)&&Gf(b);break;case 4:dh(b,b.stateNode.containerInfo);break;case 10:d=b.memoizedProps.value;e=b.type._context;I(jg,e._currentValue);e._currentValue=d;break;case 13:if(null!==b.memoizedState){d=b.child.childExpirationTime;\nif(0!==d&&d>=c)return ji(a,b,c);I(M,M.current&1);b=$h(a,b,c);return null!==b?b.sibling:null}I(M,M.current&1);break;case 19:d=b.childExpirationTime>=c;if(0!==(a.effectTag&64)){if(d)return mi(a,b,c);b.effectTag|=64}e=b.memoizedState;null!==e&&(e.rendering=null,e.tail=null);I(M,M.current);if(!d)return null}return $h(a,b,c)}rg=!1}}else rg=!1;b.expirationTime=0;switch(b.tag){case 2:d=b.type;null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2);a=b.pendingProps;e=Cf(b,J.current);qg(b,c);e=oh(null,\nb,d,a,e,c);b.effectTag|=1;if(\"object\"===typeof e&&null!==e&&\"function\"===typeof e.render&&void 0===e.$$typeof){b.tag=1;b.memoizedState=null;b.updateQueue=null;if(L(d)){var f=!0;Gf(b)}else f=!1;b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null;ug(b);var g=d.getDerivedStateFromProps;\"function\"===typeof g&&Fg(b,d,g,a);e.updater=Jg;b.stateNode=e;e._reactInternalFiber=b;Ng(b,d,a,c);b=gi(null,b,d,!0,f,c)}else b.tag=0,R(null,b,e,c),b=b.child;return b;case 16:a:{e=b.elementType;null!==a&&(a.alternate=\nnull,b.alternate=null,b.effectTag|=2);a=b.pendingProps;ob(e);if(1!==e._status)throw e._result;e=e._result;b.type=e;f=b.tag=Xj(e);a=ig(e,a);switch(f){case 0:b=di(null,b,e,a,c);break a;case 1:b=fi(null,b,e,a,c);break a;case 11:b=Zh(null,b,e,a,c);break a;case 14:b=ai(null,b,e,ig(e.type,a),d,c);break a}throw Error(u(306,e,\"\"));}return b;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:ig(d,e),di(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:ig(d,e),fi(a,b,d,e,c);\ncase 3:hi(b);d=b.updateQueue;if(null===a||null===d)throw Error(u(282));d=b.pendingProps;e=b.memoizedState;e=null!==e?e.element:null;vg(a,b);zg(b,d,null,c);d=b.memoizedState.element;if(d===e)Xh(),b=$h(a,b,c);else{if(e=b.stateNode.hydrate)Ph=Jd(b.stateNode.containerInfo.firstChild),Oh=b,e=Qh=!0;if(e)for(c=Yg(b,null,d,c),b.child=c;c;)c.effectTag=c.effectTag&-3|1024,c=c.sibling;else R(a,b,d,c),Xh();b=b.child}return b;case 5:return fh(b),null===a&&Uh(b),d=b.type,e=b.pendingProps,f=null!==a?a.memoizedProps:\nnull,g=e.children,Gd(d,e)?g=null:null!==f&&Gd(d,f)&&(b.effectTag|=16),ei(a,b),b.mode&4&&1!==c&&e.hidden?(b.expirationTime=b.childExpirationTime=1,b=null):(R(a,b,g,c),b=b.child),b;case 6:return null===a&&Uh(b),null;case 13:return ji(a,b,c);case 4:return dh(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=Xg(b,null,d,c):R(a,b,d,c),b.child;case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:ig(d,e),Zh(a,b,d,e,c);case 7:return R(a,b,b.pendingProps,c),b.child;case 8:return R(a,\nb,b.pendingProps.children,c),b.child;case 12:return R(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;g=b.memoizedProps;f=e.value;var h=b.type._context;I(jg,h._currentValue);h._currentValue=f;if(null!==g)if(h=g.value,f=$e(h,f)?0:(\"function\"===typeof d._calculateChangedBits?d._calculateChangedBits(h,f):1073741823)|0,0===f){if(g.children===e.children&&!K.current){b=$h(a,b,c);break a}}else for(h=b.child,null!==h&&(h.return=b);null!==h;){var k=h.dependencies;if(null!==\nk){g=h.child;for(var l=k.firstContext;null!==l;){if(l.context===d&&0!==(l.observedBits&f)){1===h.tag&&(l=wg(c,null),l.tag=2,xg(h,l));h.expirationTime<c&&(h.expirationTime=c);l=h.alternate;null!==l&&l.expirationTime<c&&(l.expirationTime=c);pg(h.return,c);k.expirationTime<c&&(k.expirationTime=c);break}l=l.next}}else g=10===h.tag?h.type===b.type?null:h.child:h.child;if(null!==g)g.return=h;else for(g=h;null!==g;){if(g===b){g=null;break}h=g.sibling;if(null!==h){h.return=g.return;g=h;break}g=g.return}h=\ng}R(a,b,e.children,c);b=b.child}return b;case 9:return e=b.type,f=b.pendingProps,d=f.children,qg(b,c),e=sg(e,f.unstable_observedBits),d=d(e),b.effectTag|=1,R(a,b,d,c),b.child;case 14:return e=b.type,f=ig(e,b.pendingProps),f=ig(e.type,f),ai(a,b,e,f,d,c);case 15:return ci(a,b,b.type,b.pendingProps,d,c);case 17:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:ig(d,e),null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2),b.tag=1,L(d)?(a=!0,Gf(b)):a=!1,qg(b,c),Lg(b,d,e),Ng(b,d,e,c),gi(null,\nb,d,!0,a,c);case 19:return mi(a,b,c)}throw Error(u(156,b.tag));};var Uj=null,Li=null;function Yj(a){if(\"undefined\"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var b=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(b.isDisabled||!b.supportsFiber)return!0;try{var c=b.inject(a);Uj=function(a){try{b.onCommitFiberRoot(c,a,void 0,64===(a.current.effectTag&64))}catch(e){}};Li=function(a){try{b.onCommitFiberUnmount(c,a)}catch(e){}}}catch(d){}return!0}\nfunction Zj(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.ref=null;this.pendingProps=b;this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.effectTag=0;this.lastEffect=this.firstEffect=this.nextEffect=null;this.childExpirationTime=this.expirationTime=0;this.alternate=null}function Sh(a,b,c,d){return new Zj(a,b,c,d)}\nfunction bi(a){a=a.prototype;return!(!a||!a.isReactComponent)}function Xj(a){if(\"function\"===typeof a)return bi(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===gb)return 11;if(a===jb)return 14}return 2}\nfunction Sg(a,b){var c=a.alternate;null===c?(c=Sh(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.effectTag=0,c.nextEffect=null,c.firstEffect=null,c.lastEffect=null);c.childExpirationTime=a.childExpirationTime;c.expirationTime=a.expirationTime;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;b=a.dependencies;c.dependencies=null===b?null:{expirationTime:b.expirationTime,\nfirstContext:b.firstContext,responders:b.responders};c.sibling=a.sibling;c.index=a.index;c.ref=a.ref;return c}\nfunction Ug(a,b,c,d,e,f){var g=2;d=a;if(\"function\"===typeof a)bi(a)&&(g=1);else if(\"string\"===typeof a)g=5;else a:switch(a){case ab:return Wg(c.children,e,f,b);case fb:g=8;e|=7;break;case bb:g=8;e|=1;break;case cb:return a=Sh(12,c,b,e|8),a.elementType=cb,a.type=cb,a.expirationTime=f,a;case hb:return a=Sh(13,c,b,e),a.type=hb,a.elementType=hb,a.expirationTime=f,a;case ib:return a=Sh(19,c,b,e),a.elementType=ib,a.expirationTime=f,a;default:if(\"object\"===typeof a&&null!==a)switch(a.$$typeof){case db:g=\n10;break a;case eb:g=9;break a;case gb:g=11;break a;case jb:g=14;break a;case kb:g=16;d=null;break a;case lb:g=22;break a}throw Error(u(130,null==a?a:typeof a,\"\"));}b=Sh(g,c,b,e);b.elementType=a;b.type=d;b.expirationTime=f;return b}function Wg(a,b,c,d){a=Sh(7,a,d,b);a.expirationTime=c;return a}function Tg(a,b,c){a=Sh(6,a,null,b);a.expirationTime=c;return a}\nfunction Vg(a,b,c){b=Sh(4,null!==a.children?a.children:[],a.key,b);b.expirationTime=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b}\nfunction ak(a,b,c){this.tag=b;this.current=null;this.containerInfo=a;this.pingCache=this.pendingChildren=null;this.finishedExpirationTime=0;this.finishedWork=null;this.timeoutHandle=-1;this.pendingContext=this.context=null;this.hydrate=c;this.callbackNode=null;this.callbackPriority=90;this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}\nfunction Aj(a,b){var c=a.firstSuspendedTime;a=a.lastSuspendedTime;return 0!==c&&c>=b&&a<=b}function xi(a,b){var c=a.firstSuspendedTime,d=a.lastSuspendedTime;c<b&&(a.firstSuspendedTime=b);if(d>b||0===c)a.lastSuspendedTime=b;b<=a.lastPingedTime&&(a.lastPingedTime=0);b<=a.lastExpiredTime&&(a.lastExpiredTime=0)}\nfunction yi(a,b){b>a.firstPendingTime&&(a.firstPendingTime=b);var c=a.firstSuspendedTime;0!==c&&(b>=c?a.firstSuspendedTime=a.lastSuspendedTime=a.nextKnownPendingLevel=0:b>=a.lastSuspendedTime&&(a.lastSuspendedTime=b+1),b>a.nextKnownPendingLevel&&(a.nextKnownPendingLevel=b))}function Cj(a,b){var c=a.lastExpiredTime;if(0===c||c>b)a.lastExpiredTime=b}\nfunction bk(a,b,c,d){var e=b.current,f=Gg(),g=Dg.suspense;f=Hg(f,e,g);a:if(c){c=c._reactInternalFiber;b:{if(dc(c)!==c||1!==c.tag)throw Error(u(170));var h=c;do{switch(h.tag){case 3:h=h.stateNode.context;break b;case 1:if(L(h.type)){h=h.stateNode.__reactInternalMemoizedMergedChildContext;break b}}h=h.return}while(null!==h);throw Error(u(171));}if(1===c.tag){var k=c.type;if(L(k)){c=Ff(c,k,h);break a}}c=h}else c=Af;null===b.context?b.context=c:b.pendingContext=c;b=wg(f,g);b.payload={element:a};d=void 0===\nd?null:d;null!==d&&(b.callback=d);xg(e,b);Ig(e,f);return f}function ck(a){a=a.current;if(!a.child)return null;switch(a.child.tag){case 5:return a.child.stateNode;default:return a.child.stateNode}}function dk(a,b){a=a.memoizedState;null!==a&&null!==a.dehydrated&&a.retryTime<b&&(a.retryTime=b)}function ek(a,b){dk(a,b);(a=a.alternate)&&dk(a,b)}\nfunction fk(a,b,c){c=null!=c&&!0===c.hydrate;var d=new ak(a,b,c),e=Sh(3,null,null,2===b?7:1===b?3:0);d.current=e;e.stateNode=d;ug(e);a[Od]=d.current;c&&0!==b&&Jc(a,9===a.nodeType?a:a.ownerDocument);this._internalRoot=d}fk.prototype.render=function(a){bk(a,this._internalRoot,null,null)};fk.prototype.unmount=function(){var a=this._internalRoot,b=a.containerInfo;bk(null,a,null,function(){b[Od]=null})};\nfunction gk(a){return!(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType&&(8!==a.nodeType||\" react-mount-point-unstable \"!==a.nodeValue))}function hk(a,b){b||(b=a?9===a.nodeType?a.documentElement:a.firstChild:null,b=!(!b||1!==b.nodeType||!b.hasAttribute(\"data-reactroot\")));if(!b)for(var c;c=a.lastChild;)a.removeChild(c);return new fk(a,0,b?{hydrate:!0}:void 0)}\nfunction ik(a,b,c,d,e){var f=c._reactRootContainer;if(f){var g=f._internalRoot;if(\"function\"===typeof e){var h=e;e=function(){var a=ck(g);h.call(a)}}bk(b,g,a,e)}else{f=c._reactRootContainer=hk(c,d);g=f._internalRoot;if(\"function\"===typeof e){var k=e;e=function(){var a=ck(g);k.call(a)}}Nj(function(){bk(b,g,a,e)})}return ck(g)}function jk(a,b,c){var d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:$a,key:null==d?null:\"\"+d,children:a,containerInfo:b,implementation:c}}\nwc=function(a){if(13===a.tag){var b=hg(Gg(),150,100);Ig(a,b);ek(a,b)}};xc=function(a){13===a.tag&&(Ig(a,3),ek(a,3))};yc=function(a){if(13===a.tag){var b=Gg();b=Hg(b,a,null);Ig(a,b);ek(a,b)}};\nza=function(a,b,c){switch(b){case \"input\":Cb(a,c);b=c.name;if(\"radio\"===c.type&&null!=b){for(c=a;c.parentNode;)c=c.parentNode;c=c.querySelectorAll(\"input[name=\"+JSON.stringify(\"\"+b)+'][type=\"radio\"]');for(b=0;b<c.length;b++){var d=c[b];if(d!==a&&d.form===a.form){var e=Qd(d);if(!e)throw Error(u(90));yb(d);Cb(d,e)}}}break;case \"textarea\":Kb(a,c);break;case \"select\":b=c.value,null!=b&&Hb(a,!!c.multiple,b,!1)}};Fa=Mj;\nGa=function(a,b,c,d,e){var f=W;W|=4;try{return cg(98,a.bind(null,b,c,d,e))}finally{W=f,W===V&&gg()}};Ha=function(){(W&(1|fj|gj))===V&&(Lj(),Dj())};Ia=function(a,b){var c=W;W|=2;try{return a(b)}finally{W=c,W===V&&gg()}};function kk(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!gk(b))throw Error(u(200));return jk(a,b,null,c)}var lk={Events:[Nc,Pd,Qd,xa,ta,Xd,function(a){jc(a,Wd)},Da,Ea,id,mc,Dj,{current:!1}]};\n(function(a){var b=a.findFiberByHostInstance;return Yj(n({},a,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Wa.ReactCurrentDispatcher,findHostInstanceByFiber:function(a){a=hc(a);return null===a?null:a.stateNode},findFiberByHostInstance:function(a){return b?b(a):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))})({findFiberByHostInstance:tc,bundleType:0,version:\"16.14.0\",\nrendererPackageName:\"react-dom\"});exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=lk;exports.createPortal=kk;exports.findDOMNode=function(a){if(null==a)return null;if(1===a.nodeType)return a;var b=a._reactInternalFiber;if(void 0===b){if(\"function\"===typeof a.render)throw Error(u(188));throw Error(u(268,Object.keys(a)));}a=hc(b);a=null===a?null:a.stateNode;return a};\nexports.flushSync=function(a,b){if((W&(fj|gj))!==V)throw Error(u(187));var c=W;W|=1;try{return cg(99,a.bind(null,b))}finally{W=c,gg()}};exports.hydrate=function(a,b,c){if(!gk(b))throw Error(u(200));return ik(null,a,b,!0,c)};exports.render=function(a,b,c){if(!gk(b))throw Error(u(200));return ik(null,a,b,!1,c)};\nexports.unmountComponentAtNode=function(a){if(!gk(a))throw Error(u(40));return a._reactRootContainer?(Nj(function(){ik(null,null,a,!1,function(){a._reactRootContainer=null;a[Od]=null})}),!0):!1};exports.unstable_batchedUpdates=Mj;exports.unstable_createPortal=function(a,b){return kk(a,b,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)};\nexports.unstable_renderSubtreeIntoContainer=function(a,b,c,d){if(!gk(c))throw Error(u(200));if(null==a||void 0===a._reactInternalFiber)throw Error(u(38));return ik(a,b,c,!1,d)};exports.version=\"16.14.0\";\n","'use strict';\n\nfunction checkDCE() {\n /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */\n if (\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' ||\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function'\n ) {\n return;\n }\n if (process.env.NODE_ENV !== 'production') {\n // This branch is unreachable because this function is only called\n // in production, but the condition is true only in development.\n // Therefore if the branch is still here, dead code elimination wasn't\n // properly applied.\n // Don't change the message. React DevTools relies on it. Also make sure\n // this message doesn't occur elsewhere in this function, or it will cause\n // a false positive.\n throw new Error('^_^');\n }\n try {\n // Verify that the code above has been dead code eliminated (DCE'd).\n __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);\n } catch (err) {\n // DevTools shouldn't crash React, no matter what.\n // We should still report in case we break this code.\n console.error(err);\n }\n}\n\nif (process.env.NODE_ENV === 'production') {\n // DCE check should happen before ReactDOM bundle executes so that\n // DevTools can report bad minification during injection.\n checkDCE();\n module.exports = require('./cjs/react-dom.production.min.js');\n} else {\n module.exports = require('./cjs/react-dom.development.js');\n}\n","/** @license React v16.14.0\n * react.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var l=require(\"object-assign\"),n=\"function\"===typeof Symbol&&Symbol.for,p=n?Symbol.for(\"react.element\"):60103,q=n?Symbol.for(\"react.portal\"):60106,r=n?Symbol.for(\"react.fragment\"):60107,t=n?Symbol.for(\"react.strict_mode\"):60108,u=n?Symbol.for(\"react.profiler\"):60114,v=n?Symbol.for(\"react.provider\"):60109,w=n?Symbol.for(\"react.context\"):60110,x=n?Symbol.for(\"react.forward_ref\"):60112,y=n?Symbol.for(\"react.suspense\"):60113,z=n?Symbol.for(\"react.memo\"):60115,A=n?Symbol.for(\"react.lazy\"):\n60116,B=\"function\"===typeof Symbol&&Symbol.iterator;function C(a){for(var b=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+a,c=1;c<arguments.length;c++)b+=\"&args[]=\"+encodeURIComponent(arguments[c]);return\"Minified React error #\"+a+\"; visit \"+b+\" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.\"}\nvar D={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E={};function F(a,b,c){this.props=a;this.context=b;this.refs=E;this.updater=c||D}F.prototype.isReactComponent={};F.prototype.setState=function(a,b){if(\"object\"!==typeof a&&\"function\"!==typeof a&&null!=a)throw Error(C(85));this.updater.enqueueSetState(this,a,b,\"setState\")};F.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,\"forceUpdate\")};\nfunction G(){}G.prototype=F.prototype;function H(a,b,c){this.props=a;this.context=b;this.refs=E;this.updater=c||D}var I=H.prototype=new G;I.constructor=H;l(I,F.prototype);I.isPureReactComponent=!0;var J={current:null},K=Object.prototype.hasOwnProperty,L={key:!0,ref:!0,__self:!0,__source:!0};\nfunction M(a,b,c){var e,d={},g=null,k=null;if(null!=b)for(e in void 0!==b.ref&&(k=b.ref),void 0!==b.key&&(g=\"\"+b.key),b)K.call(b,e)&&!L.hasOwnProperty(e)&&(d[e]=b[e]);var f=arguments.length-2;if(1===f)d.children=c;else if(1<f){for(var h=Array(f),m=0;m<f;m++)h[m]=arguments[m+2];d.children=h}if(a&&a.defaultProps)for(e in f=a.defaultProps,f)void 0===d[e]&&(d[e]=f[e]);return{$$typeof:p,type:a,key:g,ref:k,props:d,_owner:J.current}}\nfunction N(a,b){return{$$typeof:p,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function O(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===p}function escape(a){var b={\"=\":\"=0\",\":\":\"=2\"};return\"$\"+(\"\"+a).replace(/[=:]/g,function(a){return b[a]})}var P=/\\/+/g,Q=[];function R(a,b,c,e){if(Q.length){var d=Q.pop();d.result=a;d.keyPrefix=b;d.func=c;d.context=e;d.count=0;return d}return{result:a,keyPrefix:b,func:c,context:e,count:0}}\nfunction S(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>Q.length&&Q.push(a)}\nfunction T(a,b,c,e){var d=typeof a;if(\"undefined\"===d||\"boolean\"===d)a=null;var g=!1;if(null===a)g=!0;else switch(d){case \"string\":case \"number\":g=!0;break;case \"object\":switch(a.$$typeof){case p:case q:g=!0}}if(g)return c(e,a,\"\"===b?\".\"+U(a,0):b),1;g=0;b=\"\"===b?\".\":b+\":\";if(Array.isArray(a))for(var k=0;k<a.length;k++){d=a[k];var f=b+U(d,k);g+=T(d,f,c,e)}else if(null===a||\"object\"!==typeof a?f=null:(f=B&&a[B]||a[\"@@iterator\"],f=\"function\"===typeof f?f:null),\"function\"===typeof f)for(a=f.call(a),k=\n0;!(d=a.next()).done;)d=d.value,f=b+U(d,k++),g+=T(d,f,c,e);else if(\"object\"===d)throw c=\"\"+a,Error(C(31,\"[object Object]\"===c?\"object with keys {\"+Object.keys(a).join(\", \")+\"}\":c,\"\"));return g}function V(a,b,c){return null==a?0:T(a,\"\",b,c)}function U(a,b){return\"object\"===typeof a&&null!==a&&null!=a.key?escape(a.key):b.toString(36)}function W(a,b){a.func.call(a.context,b,a.count++)}\nfunction aa(a,b,c){var e=a.result,d=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?X(a,e,c,function(a){return a}):null!=a&&(O(a)&&(a=N(a,d+(!a.key||b&&b.key===a.key?\"\":(\"\"+a.key).replace(P,\"$&/\")+\"/\")+c)),e.push(a))}function X(a,b,c,e,d){var g=\"\";null!=c&&(g=(\"\"+c).replace(P,\"$&/\")+\"/\");b=R(b,g,e,d);V(a,aa,b);S(b)}var Y={current:null};function Z(){var a=Y.current;if(null===a)throw Error(C(321));return a}\nvar ba={ReactCurrentDispatcher:Y,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:J,IsSomeRendererActing:{current:!1},assign:l};exports.Children={map:function(a,b,c){if(null==a)return a;var e=[];X(a,e,null,b,c);return e},forEach:function(a,b,c){if(null==a)return a;b=R(null,null,b,c);V(a,W,b);S(b)},count:function(a){return V(a,function(){return null},null)},toArray:function(a){var b=[];X(a,b,null,function(a){return a});return b},only:function(a){if(!O(a))throw Error(C(143));return a}};\nexports.Component=F;exports.Fragment=r;exports.Profiler=u;exports.PureComponent=H;exports.StrictMode=t;exports.Suspense=y;exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ba;\nexports.cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error(C(267,a));var e=l({},a.props),d=a.key,g=a.ref,k=a._owner;if(null!=b){void 0!==b.ref&&(g=b.ref,k=J.current);void 0!==b.key&&(d=\"\"+b.key);if(a.type&&a.type.defaultProps)var f=a.type.defaultProps;for(h in b)K.call(b,h)&&!L.hasOwnProperty(h)&&(e[h]=void 0===b[h]&&void 0!==f?f[h]:b[h])}var h=arguments.length-2;if(1===h)e.children=c;else if(1<h){f=Array(h);for(var m=0;m<h;m++)f[m]=arguments[m+2];e.children=f}return{$$typeof:p,type:a.type,\nkey:d,ref:g,props:e,_owner:k}};exports.createContext=function(a,b){void 0===b&&(b=null);a={$$typeof:w,_calculateChangedBits:b,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:v,_context:a};return a.Consumer=a};exports.createElement=M;exports.createFactory=function(a){var b=M.bind(null,a);b.type=a;return b};exports.createRef=function(){return{current:null}};exports.forwardRef=function(a){return{$$typeof:x,render:a}};exports.isValidElement=O;\nexports.lazy=function(a){return{$$typeof:A,_ctor:a,_status:-1,_result:null}};exports.memo=function(a,b){return{$$typeof:z,type:a,compare:void 0===b?null:b}};exports.useCallback=function(a,b){return Z().useCallback(a,b)};exports.useContext=function(a,b){return Z().useContext(a,b)};exports.useDebugValue=function(){};exports.useEffect=function(a,b){return Z().useEffect(a,b)};exports.useImperativeHandle=function(a,b,c){return Z().useImperativeHandle(a,b,c)};\nexports.useLayoutEffect=function(a,b){return Z().useLayoutEffect(a,b)};exports.useMemo=function(a,b){return Z().useMemo(a,b)};exports.useReducer=function(a,b,c){return Z().useReducer(a,b,c)};exports.useRef=function(a){return Z().useRef(a)};exports.useState=function(a){return Z().useState(a)};exports.version=\"16.14.0\";\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react.production.min.js');\n} else {\n module.exports = require('./cjs/react.development.js');\n}\n","!function(e,t){\"object\"==typeof exports&&\"object\"==typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define([],t):\"object\"==typeof exports?exports.recursiveDiff=t():e.recursiveDiff=t()}(\"undefined\"!=typeof self?self:this,(()=>{return e={182:e=>{const t={NUMBER:\"NUMBER\",BOOLEAN:\"BOOLEAN\",STRING:\"STRING\",NULL:\"NULL\",UNDEFINED:\"UNDEFINED\",DATE:\"DATE\",ARRAY:\"ARRAY\",MAP:\"MAP\",SET:\"SET\",ITERABLE_OBJECT:\"ITERABLE_OBJECT\",DEFAULT:\"OBJECT\"};e.exports={types:t,iterableTypes:[t.ITERABLE_OBJECT,t.MAP,t.ARRAY,t.SET],errors:{EMPTY_DIFF:\"No diff object is provided, Nothing to apply\",INVALID_DIFF_FORMAT:\"Invalid diff format\",INVALID_DIFF_OP:\"Unsupported operation provided into diff object\"}}},688:(e,t,n)=>{const{types:r,iterableTypes:o,errors:i}=n(182),s=n(555),a={[r.NUMBER]:s.isNumber,[r.BOOLEAN]:s.isBoolean,[r.STRING]:s.isString,[r.DATE]:s.isDate,[r.UNDEFINED]:s.isUndefined,[r.NULL]:s.isNull,[r.ARRAY]:s.isArray,[r.MAP]:s.isMap,[r.SET]:s.isSet,[r.ITERABLE_OBJECT]:s.isIterableObject},l={[r.DATE]:s.areDatesEqual};function f(e){const t=Object.keys(a);let n=r.DEFAULT;for(let r=0;r<t.length;r+=1)if(a[t[r]](e)){n=t[r];break}return n}function c(e,t,n,r,o){const i={op:n,path:r};return\"add\"!==n&&\"update\"!==n||(i.val=t),o&&\"add\"!==n&&(i.oldVal=e),i}function p(e,t,n,i,a){const u=f(e),E=f(t),d=i||[],A=a||[];if(function(e,t){return e===t&&o.indexOf(e)>=0}(u,E)){const o=function(e,t,n){if(n===r.ARRAY){const n=e.length>t.length?new Array(e.length):new Array(t.length);return n.fill(0),new Set(n.map(((e,t)=>t)))}return new Set(Object.keys(e).concat(Object.keys(t)))}(e,t,u).values();let{value:i,done:s}=o.next();for(;!s;){Object.prototype.hasOwnProperty.call(e,i)?Object.prototype.hasOwnProperty.call(t,i)?p(e[i],t[i],n,d.concat(i),A):A.push(c(e[i],t[i],\"delete\",d.concat(i),n)):A.push(c(e[i],t[i],\"add\",d.concat(i),n));const r=o.next();i=r.value,s=r.done}}else{const o=function(e,t,n,o){let i;return n===r.UNDEFINED&&o!==r.UNDEFINED?i=\"add\":n!==r.UNDEFINED&&o===r.UNDEFINED?i=\"delete\":function(e,t,n,r){return n===r&&(l[n]?l[n](e,t):e===t)}(e,t,n,o)?s.noop():i=\"update\",i}(e,t,u,E);null!=o&&A.push(c(e,t,o,i,n))}return A}const u={add:s.setValueByPath,update:s.setValueByPath,delete:s.deleteValueByPath};e.exports={getDiff:(e,t,n=!1)=>p(e,t,n),applyDiff:(e,t,n)=>function(e,t,n){if(!(t instanceof Array))throw new Error(i.INVALID_DIFF_FORMAT);let r=e;return t.forEach((e=>{const{op:t,val:o,path:s}=e;if(!u[t])throw new Error(i.INVALID_DIFF_OP);r=u[t](r,s,o,n)})),r}(e,t,n)}},555:e=>{const t=e=>t=>t instanceof e,n=t(Date),r=t(Array),o=t(Map),i=t(Set),s=e=>\"[object Object]\"===Object.prototype.toString.call(e);e.exports={isNumber:e=>\"number\"==typeof e,isBoolean:e=>\"boolean\"==typeof e,isString:e=>\"string\"==typeof e,isDate:n,isUndefined:e=>void 0===e,isNull:e=>null===e,isArray:r,isMap:o,isSet:i,isIterableObject:s,noop:()=>{},areDatesEqual:(e,t)=>e.getTime()===t.getTime(),setValueByPath:function(e,t=[],n,o){if(!r(t))throw new Error(`Diff path: \"${t}\" is not valid`);const{length:i}=t;if(0===i)return n;let s=e;for(let r=0;r<i;r+=1){const a=t[r];if(!s)throw new Error(`Invalid path: \"${t}\" for object: ${JSON.stringify(e,null,2)}`);if(null==a)throw new Error(`Invalid path: \"${t}\" for object: ${JSON.stringify(e,null,2)}`);r!==i-1?(s=s[a],o&&o(s)):s[a]=n}return e},deleteValueByPath:function(e,t){const n=t||[];if(0===n.length)return;let r=e;const{length:o}=n;for(let i=0;i<o;i+=1)if(i!==o-1){if(!r[n[i]])throw new Error(`Invalid path: \"${t}\" for object: ${JSON.stringify(e,null,2)}`);r=r[n[i]]}else if(s(r))delete r[n[i]];else{const e=parseInt(n[i],10);for(;r.length>e;)r.pop()}return e}}}},t={},function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}(688);var e,t}));","import { Subject } from './Subject';\nexport class BehaviorSubject extends Subject {\n constructor(_value) {\n super();\n this._value = _value;\n }\n get value() {\n return this.getValue();\n }\n _subscribe(subscriber) {\n const subscription = super._subscribe(subscriber);\n !subscription.closed && subscriber.next(this._value);\n return subscription;\n }\n getValue() {\n const { hasError, thrownError, _value } = this;\n if (hasError) {\n throw thrownError;\n }\n this._throwIfClosed();\n return _value;\n }\n next(value) {\n super.next((this._value = value));\n }\n}\n","import { Subject } from './Subject';\nimport { dateTimestampProvider } from './scheduler/dateTimestampProvider';\nexport class ReplaySubject extends Subject {\n constructor(_bufferSize = Infinity, _windowTime = Infinity, _timestampProvider = dateTimestampProvider) {\n super();\n this._bufferSize = _bufferSize;\n this._windowTime = _windowTime;\n this._timestampProvider = _timestampProvider;\n this._buffer = [];\n this._infiniteTimeWindow = true;\n this._infiniteTimeWindow = _windowTime === Infinity;\n this._bufferSize = Math.max(1, _bufferSize);\n this._windowTime = Math.max(1, _windowTime);\n }\n next(value) {\n const { isStopped, _buffer, _infiniteTimeWindow, _timestampProvider, _windowTime } = this;\n if (!isStopped) {\n _buffer.push(value);\n !_infiniteTimeWindow && _buffer.push(_timestampProvider.now() + _windowTime);\n }\n this._trimBuffer();\n super.next(value);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._trimBuffer();\n const subscription = this._innerSubscribe(subscriber);\n const { _infiniteTimeWindow, _buffer } = this;\n const copy = _buffer.slice();\n for (let i = 0; i < copy.length && !subscriber.closed; i += _infiniteTimeWindow ? 1 : 2) {\n subscriber.next(copy[i]);\n }\n this._checkFinalizedStatuses(subscriber);\n return subscription;\n }\n _trimBuffer() {\n const { _bufferSize, _timestampProvider, _buffer, _infiniteTimeWindow } = this;\n const adjustedBufferSize = (_infiniteTimeWindow ? 1 : 2) * _bufferSize;\n _bufferSize < Infinity && adjustedBufferSize < _buffer.length && _buffer.splice(0, _buffer.length - adjustedBufferSize);\n if (!_infiniteTimeWindow) {\n const now = _timestampProvider.now();\n let last = 0;\n for (let i = 1; i < _buffer.length && _buffer[i] <= now; i += 2) {\n last = i;\n }\n last && _buffer.splice(0, last + 1);\n }\n }\n}\n","import { Observable } from '../Observable';\nimport { argsArgArrayOrObject } from '../util/argsArgArrayOrObject';\nimport { from } from './from';\nimport { identity } from '../util/identity';\nimport { mapOneOrManyArgs } from '../util/mapOneOrManyArgs';\nimport { popResultSelector, popScheduler } from '../util/args';\nimport { createObject } from '../util/createObject';\nimport { createOperatorSubscriber } from '../operators/OperatorSubscriber';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function combineLatest(...args) {\n const scheduler = popScheduler(args);\n const resultSelector = popResultSelector(args);\n const { args: observables, keys } = argsArgArrayOrObject(args);\n if (observables.length === 0) {\n return from([], scheduler);\n }\n const result = new Observable(combineLatestInit(observables, scheduler, keys\n ?\n (values) => createObject(keys, values)\n :\n identity));\n return resultSelector ? result.pipe(mapOneOrManyArgs(resultSelector)) : result;\n}\nexport function combineLatestInit(observables, scheduler, valueTransform = identity) {\n return (subscriber) => {\n maybeSchedule(scheduler, () => {\n const { length } = observables;\n const values = new Array(length);\n let active = length;\n let remainingFirstValues = length;\n for (let i = 0; i < length; i++) {\n maybeSchedule(scheduler, () => {\n const source = from(observables[i], scheduler);\n let hasFirstValue = false;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n values[i] = value;\n if (!hasFirstValue) {\n hasFirstValue = true;\n remainingFirstValues--;\n }\n if (!remainingFirstValues) {\n subscriber.next(valueTransform(values.slice()));\n }\n }, () => {\n if (!--active) {\n subscriber.complete();\n }\n }));\n }, subscriber);\n }\n }, subscriber);\n };\n}\nfunction maybeSchedule(scheduler, execute, subscription) {\n if (scheduler) {\n executeSchedule(subscription, scheduler, execute);\n }\n else {\n execute();\n }\n}\n","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}\n","import { mergeAll } from './mergeAll';\nexport function concatAll() {\n return mergeAll(1);\n}\n","import { Observable } from '../Observable';\nimport { innerFrom } from './innerFrom';\nexport function defer(observableFactory) {\n return new Observable((subscriber) => {\n innerFrom(observableFactory()).subscribe(subscriber);\n });\n}\n","import { Observable } from '../Observable';\nimport { argsArgArrayOrObject } from '../util/argsArgArrayOrObject';\nimport { innerFrom } from './innerFrom';\nimport { popResultSelector } from '../util/args';\nimport { createOperatorSubscriber } from '../operators/OperatorSubscriber';\nimport { mapOneOrManyArgs } from '../util/mapOneOrManyArgs';\nimport { createObject } from '../util/createObject';\nexport function forkJoin(...args) {\n const resultSelector = popResultSelector(args);\n const { args: sources, keys } = argsArgArrayOrObject(args);\n const result = new Observable((subscriber) => {\n const { length } = sources;\n if (!length) {\n subscriber.complete();\n return;\n }\n const values = new Array(length);\n let remainingCompletions = length;\n let remainingEmissions = length;\n for (let sourceIndex = 0; sourceIndex < length; sourceIndex++) {\n let hasValue = false;\n innerFrom(sources[sourceIndex]).subscribe(createOperatorSubscriber(subscriber, (value) => {\n if (!hasValue) {\n hasValue = true;\n remainingEmissions--;\n }\n values[sourceIndex] = value;\n }, () => remainingCompletions--, undefined, () => {\n if (!remainingCompletions || !hasValue) {\n if (!remainingEmissions) {\n subscriber.next(keys ? createObject(keys, values) : values);\n }\n subscriber.complete();\n }\n }));\n }\n });\n return resultSelector ? result.pipe(mapOneOrManyArgs(resultSelector)) : result;\n}\n","import { mergeAll } from '../operators/mergeAll';\nimport { innerFrom } from './innerFrom';\nimport { EMPTY } from './empty';\nimport { popNumber, popScheduler } from '../util/args';\nimport { from } from './from';\nexport function merge(...args) {\n const scheduler = popScheduler(args);\n const concurrent = popNumber(args, Infinity);\n const sources = args;\n return !sources.length\n ?\n EMPTY\n : sources.length === 1\n ?\n innerFrom(sources[0])\n :\n mergeAll(concurrent)(from(sources, scheduler));\n}\n","import { mergeMap } from './mergeMap';\nimport { isFunction } from '../util/isFunction';\nexport function concatMap(project, resultSelector) {\n return isFunction(resultSelector) ? mergeMap(project, resultSelector, 1) : mergeMap(project, 1);\n}\n","import { asyncScheduler } from '../scheduler/async';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function debounceTime(dueTime, scheduler = asyncScheduler) {\n return operate((source, subscriber) => {\n let activeTask = null;\n let lastValue = null;\n let lastTime = null;\n const emit = () => {\n if (activeTask) {\n activeTask.unsubscribe();\n activeTask = null;\n const value = lastValue;\n lastValue = null;\n subscriber.next(value);\n }\n };\n function emitWhenIdle() {\n const targetTime = lastTime + dueTime;\n const now = scheduler.now();\n if (now < targetTime) {\n activeTask = this.schedule(undefined, targetTime - now);\n subscriber.add(activeTask);\n return;\n }\n emit();\n }\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n lastValue = value;\n lastTime = scheduler.now();\n if (!activeTask) {\n activeTask = scheduler.schedule(emitWhenIdle, dueTime);\n subscriber.add(activeTask);\n }\n }, () => {\n emit();\n subscriber.complete();\n }, undefined, () => {\n lastValue = activeTask = null;\n }));\n });\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function defaultIfEmpty(defaultValue) {\n return operate((source, subscriber) => {\n let hasValue = false;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n hasValue = true;\n subscriber.next(value);\n }, () => {\n if (!hasValue) {\n subscriber.next(defaultValue);\n }\n subscriber.complete();\n }));\n });\n}\n","import { concat } from '../observable/concat';\nimport { take } from './take';\nimport { ignoreElements } from './ignoreElements';\nimport { mapTo } from './mapTo';\nimport { mergeMap } from './mergeMap';\nexport function delayWhen(delayDurationSelector, subscriptionDelay) {\n if (subscriptionDelay) {\n return (source) => concat(subscriptionDelay.pipe(take(1), ignoreElements()), source.pipe(delayWhen(delayDurationSelector)));\n }\n return mergeMap((value, index) => delayDurationSelector(value, index).pipe(take(1), mapTo(value)));\n}\n","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}\n","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 if (first || !comparator(previousKey, currentKey)) {\n first = false;\n previousKey = currentKey;\n subscriber.next(value);\n }\n }));\n });\n}\nfunction defaultCompare(a, b) {\n return a === b;\n}\n","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}\n","import { EmptyError } from '../util/EmptyError';\nimport { filter } from './filter';\nimport { take } from './take';\nimport { defaultIfEmpty } from './defaultIfEmpty';\nimport { throwIfEmpty } from './throwIfEmpty';\nimport { identity } from '../util/identity';\nexport function first(predicate, defaultValue) {\n const hasDefaultValue = arguments.length >= 2;\n return (source) => source.pipe(predicate ? filter((v, i) => predicate(v, i, source)) : identity, take(1), hasDefaultValue ? defaultIfEmpty(defaultValue) : throwIfEmpty(() => new EmptyError()));\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { noop } from '../util/noop';\nexport function ignoreElements() {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, noop));\n });\n}\n","import { map } from './map';\nexport function mapTo(value) {\n return map(() => value);\n}\n","import { mergeMap } from './mergeMap';\nimport { identity } from '../util/identity';\nexport function mergeAll(concurrent = Infinity) {\n return mergeMap(identity, concurrent);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { Subject } from '../Subject';\nimport { SafeSubscriber } from '../Subscriber';\nimport { operate } from '../util/lift';\nexport function share(options = {}) {\n const { connector = () => new Subject(), resetOnError = true, resetOnComplete = true, resetOnRefCountZero = true } = 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 const cancelReset = () => {\n resetConnection === null || resetConnection === void 0 ? void 0 : resetConnection.unsubscribe();\n resetConnection = undefined;\n };\n const reset = () => {\n cancelReset();\n connection = subject = undefined;\n hasCompleted = hasErrored = false;\n };\n const resetAndUnsubscribe = () => {\n const conn = connection;\n reset();\n conn === null || conn === void 0 ? void 0 : conn.unsubscribe();\n };\n return operate((source, subscriber) => {\n refCount++;\n if (!hasErrored && !hasCompleted) {\n cancelReset();\n }\n const dest = (subject = subject !== null && subject !== void 0 ? subject : connector());\n subscriber.add(() => {\n refCount--;\n if (refCount === 0 && !hasErrored && !hasCompleted) {\n resetConnection = handleReset(resetAndUnsubscribe, resetOnRefCountZero);\n }\n });\n dest.subscribe(subscriber);\n if (!connection &&\n 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}\nfunction handleReset(reset, on, ...args) {\n if (on === true) {\n reset();\n return;\n }\n if (on === false) {\n return;\n }\n const onSubscriber = new SafeSubscriber({\n next: () => {\n onSubscriber.unsubscribe();\n reset();\n },\n });\n return on(...args).subscribe(onSubscriber);\n}\n","import { ReplaySubject } from '../ReplaySubject';\nimport { share } from './share';\nexport function shareReplay(configOrBufferSize, windowTime, scheduler) {\n let bufferSize;\n let refCount = false;\n if (configOrBufferSize && typeof configOrBufferSize === 'object') {\n ({ bufferSize = Infinity, windowTime = Infinity, refCount = false, scheduler } = configOrBufferSize);\n }\n else {\n bufferSize = (configOrBufferSize !== null && configOrBufferSize !== void 0 ? configOrBufferSize : Infinity);\n }\n return share({\n connector: () => new ReplaySubject(bufferSize, windowTime, scheduler),\n resetOnError: true,\n resetOnComplete: false,\n resetOnRefCountZero: refCount,\n });\n}\n","import { filter } from './filter';\nexport function skip(count) {\n return filter((_, index) => count <= index);\n}\n","import { concat } from '../observable/concat';\nimport { popScheduler } from '../util/args';\nimport { operate } from '../util/lift';\nexport function startWith(...values) {\n const scheduler = popScheduler(values);\n return operate((source, subscriber) => {\n (scheduler ? concat(values, source, scheduler) : concat(values, source)).subscribe(subscriber);\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function switchMap(project, resultSelector) {\n return operate((source, subscriber) => {\n let innerSubscriber = null;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => isComplete && !innerSubscriber && subscriber.complete();\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n innerSubscriber === null || innerSubscriber === void 0 ? void 0 : innerSubscriber.unsubscribe();\n let innerIndex = 0;\n const outerIndex = index++;\n innerFrom(project(value, outerIndex)).subscribe((innerSubscriber = createOperatorSubscriber(subscriber, (innerValue) => subscriber.next(resultSelector ? resultSelector(value, innerValue, outerIndex, innerIndex++) : innerValue), () => {\n innerSubscriber = null;\n checkComplete();\n })));\n }, () => {\n isComplete = true;\n checkComplete();\n }));\n });\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { innerFrom } from '../observable/innerFrom';\nimport { noop } from '../util/noop';\nexport function takeUntil(notifier) {\n return operate((source, subscriber) => {\n innerFrom(notifier).subscribe(createOperatorSubscriber(subscriber, () => subscriber.complete(), noop));\n !subscriber.closed && source.subscribe(subscriber);\n });\n}\n","import { EmptyError } from '../util/EmptyError';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function throwIfEmpty(errorFactory = defaultErrorFactory) {\n return operate((source, subscriber) => {\n let hasValue = false;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n hasValue = true;\n subscriber.next(value);\n }, () => (hasValue ? subscriber.complete() : subscriber.error(errorFactory()))));\n });\n}\nfunction defaultErrorFactory() {\n return new EmptyError();\n}\n","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 this.message = 'Timeout has occurred';\n this.name = 'TimeoutError';\n this.info = info;\n});\nexport function timeout(config, schedulerArg) {\n const { first, each, with: _with = timeoutErrorFactory, scheduler = schedulerArg !== null && schedulerArg !== void 0 ? schedulerArg : asyncScheduler, meta = null, } = (isValidDate(config) ? { first: config } : typeof config === 'number' ? { each: config } : config);\n if (first == null && each == null) {\n throw new TypeError('No timeout provided.');\n }\n return operate((source, subscriber) => {\n let originalSourceSubscription;\n let timerSubscription;\n let lastValue = null;\n let seen = 0;\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 }\n catch (err) {\n subscriber.error(err);\n }\n }, delay);\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 lastValue = null;\n }));\n !seen && startTimer(first != null ? (typeof first === 'number' ? first : +first - scheduler.now()) : each);\n });\n}\nfunction timeoutErrorFactory(info) {\n throw new TimeoutError(info);\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { innerFrom } from '../observable/innerFrom';\nimport { identity } from '../util/identity';\nimport { noop } from '../util/noop';\nimport { popResultSelector } from '../util/args';\nexport function withLatestFrom(...inputs) {\n const project = popResultSelector(inputs);\n return operate((source, subscriber) => {\n const len = inputs.length;\n const otherValues = new Array(len);\n let hasValue = inputs.map(() => false);\n let ready = false;\n for (let i = 0; i < len; i++) {\n innerFrom(inputs[i]).subscribe(createOperatorSubscriber(subscriber, (value) => {\n otherValues[i] = value;\n if (!ready && !hasValue[i]) {\n hasValue[i] = true;\n (ready = hasValue.every(identity)) && (hasValue = null);\n }\n }, noop));\n }\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n if (ready) {\n const values = [value, ...otherValues];\n subscriber.next(project ? project(...values) : values);\n }\n }));\n });\n}\n","import { AsyncAction } from './AsyncAction';\nexport class QueueAction extends AsyncAction {\n constructor(scheduler, work) {\n super(scheduler, work);\n this.scheduler = scheduler;\n this.work = work;\n }\n schedule(state, delay = 0) {\n if (delay > 0) {\n return super.schedule(state, delay);\n }\n this.delay = delay;\n this.state = state;\n this.scheduler.flush(this);\n return this;\n }\n execute(state, delay) {\n return delay > 0 || this.closed ? super.execute(state, delay) : this._execute(state, delay);\n }\n requestAsyncId(scheduler, id, delay = 0) {\n if ((delay != null && delay > 0) || (delay == null && this.delay > 0)) {\n return super.requestAsyncId(scheduler, id, delay);\n }\n scheduler.flush(this);\n return 0;\n }\n}\n","import { QueueAction } from './QueueAction';\nimport { QueueScheduler } from './QueueScheduler';\nexport const queueScheduler = new QueueScheduler(QueueAction);\nexport const queue = queueScheduler;\n","import { AsyncScheduler } from './AsyncScheduler';\nexport class QueueScheduler extends AsyncScheduler {\n}\n","import { createErrorClass } from './createErrorClass';\nexport const EmptyError = createErrorClass((_super) => function EmptyErrorImpl() {\n _super(this);\n this.name = 'EmptyError';\n this.message = 'no elements in sequence';\n});\n","/** @license React v0.19.1\n * scheduler.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var f,g,h,k,l;\nif(\"undefined\"===typeof window||\"function\"!==typeof MessageChannel){var p=null,q=null,t=function(){if(null!==p)try{var a=exports.unstable_now();p(!0,a);p=null}catch(b){throw setTimeout(t,0),b;}},u=Date.now();exports.unstable_now=function(){return Date.now()-u};f=function(a){null!==p?setTimeout(f,0,a):(p=a,setTimeout(t,0))};g=function(a,b){q=setTimeout(a,b)};h=function(){clearTimeout(q)};k=function(){return!1};l=exports.unstable_forceFrameRate=function(){}}else{var w=window.performance,x=window.Date,\ny=window.setTimeout,z=window.clearTimeout;if(\"undefined\"!==typeof console){var A=window.cancelAnimationFrame;\"function\"!==typeof window.requestAnimationFrame&&console.error(\"This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills\");\"function\"!==typeof A&&console.error(\"This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills\")}if(\"object\"===\ntypeof w&&\"function\"===typeof w.now)exports.unstable_now=function(){return w.now()};else{var B=x.now();exports.unstable_now=function(){return x.now()-B}}var C=!1,D=null,E=-1,F=5,G=0;k=function(){return exports.unstable_now()>=G};l=function(){};exports.unstable_forceFrameRate=function(a){0>a||125<a?console.error(\"forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported\"):F=0<a?Math.floor(1E3/a):5};var H=new MessageChannel,I=H.port2;H.port1.onmessage=\nfunction(){if(null!==D){var a=exports.unstable_now();G=a+F;try{D(!0,a)?I.postMessage(null):(C=!1,D=null)}catch(b){throw I.postMessage(null),b;}}else C=!1};f=function(a){D=a;C||(C=!0,I.postMessage(null))};g=function(a,b){E=y(function(){a(exports.unstable_now())},b)};h=function(){z(E);E=-1}}function J(a,b){var c=a.length;a.push(b);a:for(;;){var d=c-1>>>1,e=a[d];if(void 0!==e&&0<K(e,b))a[d]=b,a[c]=e,c=d;else break a}}function L(a){a=a[0];return void 0===a?null:a}\nfunction M(a){var b=a[0];if(void 0!==b){var c=a.pop();if(c!==b){a[0]=c;a:for(var d=0,e=a.length;d<e;){var m=2*(d+1)-1,n=a[m],v=m+1,r=a[v];if(void 0!==n&&0>K(n,c))void 0!==r&&0>K(r,n)?(a[d]=r,a[v]=c,d=v):(a[d]=n,a[m]=c,d=m);else if(void 0!==r&&0>K(r,c))a[d]=r,a[v]=c,d=v;else break a}}return b}return null}function K(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}var N=[],O=[],P=1,Q=null,R=3,S=!1,T=!1,U=!1;\nfunction V(a){for(var b=L(O);null!==b;){if(null===b.callback)M(O);else if(b.startTime<=a)M(O),b.sortIndex=b.expirationTime,J(N,b);else break;b=L(O)}}function W(a){U=!1;V(a);if(!T)if(null!==L(N))T=!0,f(X);else{var b=L(O);null!==b&&g(W,b.startTime-a)}}\nfunction X(a,b){T=!1;U&&(U=!1,h());S=!0;var c=R;try{V(b);for(Q=L(N);null!==Q&&(!(Q.expirationTime>b)||a&&!k());){var d=Q.callback;if(null!==d){Q.callback=null;R=Q.priorityLevel;var e=d(Q.expirationTime<=b);b=exports.unstable_now();\"function\"===typeof e?Q.callback=e:Q===L(N)&&M(N);V(b)}else M(N);Q=L(N)}if(null!==Q)var m=!0;else{var n=L(O);null!==n&&g(W,n.startTime-b);m=!1}return m}finally{Q=null,R=c,S=!1}}\nfunction Y(a){switch(a){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1E4;default:return 5E3}}var Z=l;exports.unstable_IdlePriority=5;exports.unstable_ImmediatePriority=1;exports.unstable_LowPriority=4;exports.unstable_NormalPriority=3;exports.unstable_Profiling=null;exports.unstable_UserBlockingPriority=2;exports.unstable_cancelCallback=function(a){a.callback=null};exports.unstable_continueExecution=function(){T||S||(T=!0,f(X))};\nexports.unstable_getCurrentPriorityLevel=function(){return R};exports.unstable_getFirstCallbackNode=function(){return L(N)};exports.unstable_next=function(a){switch(R){case 1:case 2:case 3:var b=3;break;default:b=R}var c=R;R=b;try{return a()}finally{R=c}};exports.unstable_pauseExecution=function(){};exports.unstable_requestPaint=Z;exports.unstable_runWithPriority=function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var c=R;R=a;try{return b()}finally{R=c}};\nexports.unstable_scheduleCallback=function(a,b,c){var d=exports.unstable_now();if(\"object\"===typeof c&&null!==c){var e=c.delay;e=\"number\"===typeof e&&0<e?d+e:d;c=\"number\"===typeof c.timeout?c.timeout:Y(a)}else c=Y(a),e=d;c=e+c;a={id:P++,callback:b,priorityLevel:a,startTime:e,expirationTime:c,sortIndex:-1};e>d?(a.sortIndex=e,J(O,a),null===L(N)&&a===L(O)&&(U?h():U=!0,g(W,e-d))):(a.sortIndex=c,J(N,a),T||S||(T=!0,f(X)));return a};\nexports.unstable_shouldYield=function(){var a=exports.unstable_now();V(a);var b=L(N);return b!==Q&&null!==Q&&null!==b&&null!==b.callback&&b.startTime<=a&&b.expirationTime<Q.expirationTime||k()};exports.unstable_wrapCallback=function(a){var b=R;return function(){var c=R;R=b;try{return a.apply(this,arguments)}finally{R=c}}};\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/scheduler.production.min.js');\n} else {\n module.exports = require('./cjs/scheduler.development.js');\n}\n","'use strict'\n\nvar curry2 = require('curry2')\nvar debug = require('debug')('selectn')\nvar dotted = require('brackets2dots')\nvar splits = require('dotsplit.js')\nvar string = Object.prototype.toString\n\nmodule.exports = curry2(selectn)\n\n/**\n * Curried property accessor function that resolves deeply-nested object properties via dot/bracket-notation\n * string path while mitigating `TypeErrors` via friendly and composable API.\n *\n * @param {String|Array} path\n * Dot/bracket-notation string path or array.\n *\n * @param {Object} object\n * Object to access.\n *\n * @return {Function|*|undefined}\n * (1) returns `selectn/1` when partially applied.\n * (2) returns value at path if path exists.\n * (3) returns undefined if path does not exist.\n */\nfunction selectn (path, object) {\n debug('arguments:', {\n path: path,\n object: object\n })\n\n var idx = -1\n var seg = string.call(path) === '[object Array]' ? path : splits(dotted(path))\n var end = seg.length\n var ref = end ? object : void 0\n\n while (++idx < end) {\n if (Object(ref) !== ref) return void 0\n ref = ref[seg[idx]]\n }\n\n debug('ref:', ref)\n return typeof ref === 'function' ? ref() : ref\n}\n","/**\n * This is the web browser implementation of `debug()`.\n *\n * Expose `debug()` as the module.\n */\n\nexports = module.exports = require('./debug');\nexports.log = log;\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\nexports.storage = 'undefined' != typeof chrome\n && 'undefined' != typeof chrome.storage\n ? chrome.storage.local\n : localstorage();\n\n/**\n * Colors.\n */\n\nexports.colors = [\n 'lightseagreen',\n 'forestgreen',\n 'goldenrod',\n 'dodgerblue',\n 'darkorchid',\n 'crimson'\n];\n\n/**\n * Currently only WebKit-based Web Inspectors, Firefox >= v31,\n * and the Firebug extension (any Firefox version) are known\n * to support \"%c\" CSS customizations.\n *\n * TODO: add a `localStorage` variable to explicitly enable/disable colors\n */\n\nfunction useColors() {\n // NB: In an Electron preload script, document will be defined but not fully\n // initialized. Since we know we're in Chrome, we'll just detect this case\n // explicitly\n if (typeof window !== 'undefined' && window.process && window.process.type === 'renderer') {\n return true;\n }\n\n // is webkit? http://stackoverflow.com/a/16459606/376773\n // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632\n return (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||\n // is firebug? http://stackoverflow.com/a/398120/376773\n (typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||\n // is firefox >= v31?\n // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages\n (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/) && parseInt(RegExp.$1, 10) >= 31) ||\n // double check webkit in userAgent just in case we are in a worker\n (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/));\n}\n\n/**\n * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.\n */\n\nexports.formatters.j = function(v) {\n try {\n return JSON.stringify(v);\n } catch (err) {\n return '[UnexpectedJSONParseError]: ' + err.message;\n }\n};\n\n\n/**\n * Colorize log arguments if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n var useColors = this.useColors;\n\n args[0] = (useColors ? '%c' : '')\n + this.namespace\n + (useColors ? ' %c' : ' ')\n + args[0]\n + (useColors ? '%c ' : ' ')\n + '+' + exports.humanize(this.diff);\n\n if (!useColors) return;\n\n var c = 'color: ' + this.color;\n args.splice(1, 0, c, 'color: inherit')\n\n // the final \"%c\" is somewhat tricky, because there could be other\n // arguments passed either before or after the %c, so we need to\n // figure out the correct index to insert the CSS into\n var index = 0;\n var lastC = 0;\n args[0].replace(/%[a-zA-Z%]/g, function(match) {\n if ('%%' === match) return;\n index++;\n if ('%c' === match) {\n // we only are interested in the *last* %c\n // (the user may have provided their own)\n lastC = index;\n }\n });\n\n args.splice(lastC, 0, c);\n}\n\n/**\n * Invokes `console.log()` when available.\n * No-op when `console.log` is not a \"function\".\n *\n * @api public\n */\n\nfunction log() {\n // this hackery is required for IE8/9, where\n // the `console.log` function doesn't have 'apply'\n return 'object' === typeof console\n && console.log\n && Function.prototype.apply.call(console.log, console, arguments);\n}\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\n\nfunction save(namespaces) {\n try {\n if (null == namespaces) {\n exports.storage.removeItem('debug');\n } else {\n exports.storage.debug = namespaces;\n }\n } catch(e) {}\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\n\nfunction load() {\n var r;\n try {\n r = exports.storage.debug;\n } catch(e) {}\n\n // If debug isn't set in LS, and we're in Electron, try to load $DEBUG\n if (!r && typeof process !== 'undefined' && 'env' in process) {\n r = process.env.DEBUG;\n }\n\n return r;\n}\n\n/**\n * Enable namespaces listed in `localStorage.debug` initially.\n */\n\nexports.enable(load());\n\n/**\n * Localstorage attempts to return the localstorage.\n *\n * This is necessary because safari throws\n * when a user disables cookies/localstorage\n * and you attempt to access it.\n *\n * @return {LocalStorage}\n * @api private\n */\n\nfunction localstorage() {\n try {\n return window.localStorage;\n } catch (e) {}\n}\n","\n/**\n * This is the common logic for both the Node.js and web browser\n * implementations of `debug()`.\n *\n * Expose `debug()` as the module.\n */\n\nexports = module.exports = createDebug.debug = createDebug['default'] = createDebug;\nexports.coerce = coerce;\nexports.disable = disable;\nexports.enable = enable;\nexports.enabled = enabled;\nexports.humanize = require('ms');\n\n/**\n * The currently active debug mode names, and names to skip.\n */\n\nexports.names = [];\nexports.skips = [];\n\n/**\n * Map of special \"%n\" handling functions, for the debug \"format\" argument.\n *\n * Valid key names are a single, lower or upper-case letter, i.e. \"n\" and \"N\".\n */\n\nexports.formatters = {};\n\n/**\n * Previous log timestamp.\n */\n\nvar prevTime;\n\n/**\n * Select a color.\n * @param {String} namespace\n * @return {Number}\n * @api private\n */\n\nfunction selectColor(namespace) {\n var hash = 0, i;\n\n for (i in namespace) {\n hash = ((hash << 5) - hash) + namespace.charCodeAt(i);\n hash |= 0; // Convert to 32bit integer\n }\n\n return exports.colors[Math.abs(hash) % exports.colors.length];\n}\n\n/**\n * Create a debugger with the given `namespace`.\n *\n * @param {String} namespace\n * @return {Function}\n * @api public\n */\n\nfunction createDebug(namespace) {\n\n function debug() {\n // disabled?\n if (!debug.enabled) return;\n\n var self = debug;\n\n // set `diff` timestamp\n var curr = +new Date();\n var ms = curr - (prevTime || curr);\n self.diff = ms;\n self.prev = prevTime;\n self.curr = curr;\n prevTime = curr;\n\n // turn the `arguments` into a proper Array\n var args = new Array(arguments.length);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i];\n }\n\n args[0] = exports.coerce(args[0]);\n\n if ('string' !== typeof args[0]) {\n // anything else let's inspect with %O\n args.unshift('%O');\n }\n\n // apply any `formatters` transformations\n var index = 0;\n args[0] = args[0].replace(/%([a-zA-Z%])/g, function(match, format) {\n // if we encounter an escaped % then don't increase the array index\n if (match === '%%') return match;\n index++;\n var formatter = exports.formatters[format];\n if ('function' === typeof formatter) {\n var val = args[index];\n match = formatter.call(self, val);\n\n // now we need to remove `args[index]` since it's inlined in the `format`\n args.splice(index, 1);\n index--;\n }\n return match;\n });\n\n // apply env-specific formatting (colors, etc.)\n exports.formatArgs.call(self, args);\n\n var logFn = debug.log || exports.log || console.log.bind(console);\n logFn.apply(self, args);\n }\n\n debug.namespace = namespace;\n debug.enabled = exports.enabled(namespace);\n debug.useColors = exports.useColors();\n debug.color = selectColor(namespace);\n\n // env-specific initialization logic for debug instances\n if ('function' === typeof exports.init) {\n exports.init(debug);\n }\n\n return debug;\n}\n\n/**\n * Enables a debug mode by namespaces. This can include modes\n * separated by a colon and wildcards.\n *\n * @param {String} namespaces\n * @api public\n */\n\nfunction enable(namespaces) {\n exports.save(namespaces);\n\n exports.names = [];\n exports.skips = [];\n\n var split = (typeof namespaces === 'string' ? namespaces : '').split(/[\\s,]+/);\n var len = split.length;\n\n for (var i = 0; i < len; i++) {\n if (!split[i]) continue; // ignore empty strings\n namespaces = split[i].replace(/\\*/g, '.*?');\n if (namespaces[0] === '-') {\n exports.skips.push(new RegExp('^' + namespaces.substr(1) + '$'));\n } else {\n exports.names.push(new RegExp('^' + namespaces + '$'));\n }\n }\n}\n\n/**\n * Disable debug output.\n *\n * @api public\n */\n\nfunction disable() {\n exports.enable('');\n}\n\n/**\n * Returns true if the given mode name is enabled, false otherwise.\n *\n * @param {String} name\n * @return {Boolean}\n * @api public\n */\n\nfunction enabled(name) {\n var i, len;\n for (i = 0, len = exports.skips.length; i < len; i++) {\n if (exports.skips[i].test(name)) {\n return false;\n }\n }\n for (i = 0, len = exports.names.length; i < len; i++) {\n if (exports.names[i].test(name)) {\n return true;\n }\n }\n return false;\n}\n\n/**\n * Coerce `val`.\n *\n * @param {Mixed} val\n * @return {Mixed}\n * @api private\n */\n\nfunction coerce(val) {\n if (val instanceof Error) return val.stack || val.message;\n return val;\n}\n","/**\n * Helpers.\n */\n\nvar s = 1000;\nvar m = s * 60;\nvar h = m * 60;\nvar d = h * 24;\nvar y = d * 365.25;\n\n/**\n * Parse or format the given `val`.\n *\n * Options:\n *\n * - `long` verbose formatting [false]\n *\n * @param {String|Number} val\n * @param {Object} [options]\n * @throws {Error} throw an error if val is not a non-empty string or a number\n * @return {String|Number}\n * @api public\n */\n\nmodule.exports = function(val, options) {\n options = options || {};\n var type = typeof val;\n if (type === 'string' && val.length > 0) {\n return parse(val);\n } else if (type === 'number' && isNaN(val) === false) {\n return options.long ? fmtLong(val) : fmtShort(val);\n }\n throw new Error(\n 'val is not a non-empty string or a valid number. val=' +\n JSON.stringify(val)\n );\n};\n\n/**\n * Parse the given `str` and return milliseconds.\n *\n * @param {String} str\n * @return {Number}\n * @api private\n */\n\nfunction parse(str) {\n str = String(str);\n if (str.length > 100) {\n return;\n }\n var match = /^((?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(\n str\n );\n if (!match) {\n return;\n }\n var n = parseFloat(match[1]);\n var type = (match[2] || 'ms').toLowerCase();\n switch (type) {\n case 'years':\n case 'year':\n case 'yrs':\n case 'yr':\n case 'y':\n return n * y;\n case 'days':\n case 'day':\n case 'd':\n return n * d;\n case 'hours':\n case 'hour':\n case 'hrs':\n case 'hr':\n case 'h':\n return n * h;\n case 'minutes':\n case 'minute':\n case 'mins':\n case 'min':\n case 'm':\n return n * m;\n case 'seconds':\n case 'second':\n case 'secs':\n case 'sec':\n case 's':\n return n * s;\n case 'milliseconds':\n case 'millisecond':\n case 'msecs':\n case 'msec':\n case 'ms':\n return n;\n default:\n return undefined;\n }\n}\n\n/**\n * Short format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtShort(ms) {\n if (ms >= d) {\n return Math.round(ms / d) + 'd';\n }\n if (ms >= h) {\n return Math.round(ms / h) + 'h';\n }\n if (ms >= m) {\n return Math.round(ms / m) + 'm';\n }\n if (ms >= s) {\n return Math.round(ms / s) + 's';\n }\n return ms + 'ms';\n}\n\n/**\n * Long format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtLong(ms) {\n return plural(ms, d, 'day') ||\n plural(ms, h, 'hour') ||\n plural(ms, m, 'minute') ||\n plural(ms, s, 'second') ||\n ms + ' ms';\n}\n\n/**\n * Pluralization helper.\n */\n\nfunction plural(ms, n, name) {\n if (ms < n) {\n return;\n }\n if (ms < n * 1.5) {\n return Math.floor(ms / n) + ' ' + name;\n }\n return Math.ceil(ms / n) + ' ' + name + 's';\n}\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\nvar callBound = require('call-bind/callBound');\nvar inspect = require('object-inspect');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\nvar $WeakMap = GetIntrinsic('%WeakMap%', true);\nvar $Map = GetIntrinsic('%Map%', true);\n\nvar $weakMapGet = callBound('WeakMap.prototype.get', true);\nvar $weakMapSet = callBound('WeakMap.prototype.set', true);\nvar $weakMapHas = callBound('WeakMap.prototype.has', true);\nvar $mapGet = callBound('Map.prototype.get', true);\nvar $mapSet = callBound('Map.prototype.set', true);\nvar $mapHas = callBound('Map.prototype.has', true);\n\n/*\n * This function traverses the list returning the node corresponding to the\n * given key.\n *\n * That node is also moved to the head of the list, so that if it's accessed\n * again we don't need to traverse the whole list. By doing so, all the recently\n * used nodes can be accessed relatively quickly.\n */\nvar listGetNode = function (list, key) { // eslint-disable-line consistent-return\n\tfor (var prev = list, curr; (curr = prev.next) !== null; prev = curr) {\n\t\tif (curr.key === key) {\n\t\t\tprev.next = curr.next;\n\t\t\tcurr.next = list.next;\n\t\t\tlist.next = curr; // eslint-disable-line no-param-reassign\n\t\t\treturn curr;\n\t\t}\n\t}\n};\n\nvar listGet = function (objects, key) {\n\tvar node = listGetNode(objects, key);\n\treturn node && node.value;\n};\nvar listSet = function (objects, key, value) {\n\tvar node = listGetNode(objects, key);\n\tif (node) {\n\t\tnode.value = value;\n\t} else {\n\t\t// Prepend the new node to the beginning of the list\n\t\tobjects.next = { // eslint-disable-line no-param-reassign\n\t\t\tkey: key,\n\t\t\tnext: objects.next,\n\t\t\tvalue: value\n\t\t};\n\t}\n};\nvar listHas = function (objects, key) {\n\treturn !!listGetNode(objects, key);\n};\n\nmodule.exports = function getSideChannel() {\n\tvar $wm;\n\tvar $m;\n\tvar $o;\n\tvar channel = {\n\t\tassert: function (key) {\n\t\t\tif (!channel.has(key)) {\n\t\t\t\tthrow new $TypeError('Side channel does not contain ' + inspect(key));\n\t\t\t}\n\t\t},\n\t\tget: function (key) { // eslint-disable-line consistent-return\n\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\tif ($wm) {\n\t\t\t\t\treturn $weakMapGet($wm, key);\n\t\t\t\t}\n\t\t\t} else if ($Map) {\n\t\t\t\tif ($m) {\n\t\t\t\t\treturn $mapGet($m, key);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif ($o) { // eslint-disable-line no-lonely-if\n\t\t\t\t\treturn listGet($o, key);\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\thas: function (key) {\n\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\tif ($wm) {\n\t\t\t\t\treturn $weakMapHas($wm, key);\n\t\t\t\t}\n\t\t\t} else if ($Map) {\n\t\t\t\tif ($m) {\n\t\t\t\t\treturn $mapHas($m, key);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif ($o) { // eslint-disable-line no-lonely-if\n\t\t\t\t\treturn listHas($o, key);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t},\n\t\tset: function (key, value) {\n\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\tif (!$wm) {\n\t\t\t\t\t$wm = new $WeakMap();\n\t\t\t\t}\n\t\t\t\t$weakMapSet($wm, key, value);\n\t\t\t} else if ($Map) {\n\t\t\t\tif (!$m) {\n\t\t\t\t\t$m = new $Map();\n\t\t\t\t}\n\t\t\t\t$mapSet($m, key, value);\n\t\t\t} else {\n\t\t\t\tif (!$o) {\n\t\t\t\t\t/*\n\t\t\t\t\t * Initialize the linked list as an empty node, so that we don't have\n\t\t\t\t\t * to special-case handling of the first node: we can always refer to\n\t\t\t\t\t * it as (previous node).next, instead of something like (list).head\n\t\t\t\t\t */\n\t\t\t\t\t$o = { key: {}, next: null };\n\t\t\t\t}\n\t\t\t\tlistSet($o, key, value);\n\t\t\t}\n\t\t}\n\t};\n\treturn channel;\n};\n","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nmodule.exports = Stream;\n\nvar EE = require('events').EventEmitter;\nvar inherits = require('inherits');\n\ninherits(Stream, EE);\nStream.Readable = require('readable-stream/lib/_stream_readable.js');\nStream.Writable = require('readable-stream/lib/_stream_writable.js');\nStream.Duplex = require('readable-stream/lib/_stream_duplex.js');\nStream.Transform = require('readable-stream/lib/_stream_transform.js');\nStream.PassThrough = require('readable-stream/lib/_stream_passthrough.js');\nStream.finished = require('readable-stream/lib/internal/streams/end-of-stream.js')\nStream.pipeline = require('readable-stream/lib/internal/streams/pipeline.js')\n\n// Backwards-compat with node 0.4.x\nStream.Stream = Stream;\n\n\n\n// old-style streams. Note that the pipe method (the only relevant\n// part of this class) is overridden in the Readable class.\n\nfunction Stream() {\n EE.call(this);\n}\n\nStream.prototype.pipe = function(dest, options) {\n var source = this;\n\n function ondata(chunk) {\n if (dest.writable) {\n if (false === dest.write(chunk) && source.pause) {\n source.pause();\n }\n }\n }\n\n source.on('data', ondata);\n\n function ondrain() {\n if (source.readable && source.resume) {\n source.resume();\n }\n }\n\n dest.on('drain', ondrain);\n\n // If the 'end' option is not supplied, dest.end() will be called when\n // source gets the 'end' or 'close' events. Only dest.end() once.\n if (!dest._isStdio && (!options || options.end !== false)) {\n source.on('end', onend);\n source.on('close', onclose);\n }\n\n var didOnEnd = false;\n function onend() {\n if (didOnEnd) return;\n didOnEnd = true;\n\n dest.end();\n }\n\n\n function onclose() {\n if (didOnEnd) return;\n didOnEnd = true;\n\n if (typeof dest.destroy === 'function') dest.destroy();\n }\n\n // don't leave dangling pipes when there are errors.\n function onerror(er) {\n cleanup();\n if (EE.listenerCount(this, 'error') === 0) {\n throw er; // Unhandled stream error in pipe.\n }\n }\n\n source.on('error', onerror);\n dest.on('error', onerror);\n\n // remove all the event listeners that were added.\n function cleanup() {\n source.removeListener('data', ondata);\n dest.removeListener('drain', ondrain);\n\n source.removeListener('end', onend);\n source.removeListener('close', onclose);\n\n source.removeListener('error', onerror);\n dest.removeListener('error', onerror);\n\n source.removeListener('end', cleanup);\n source.removeListener('close', cleanup);\n\n dest.removeListener('close', cleanup);\n }\n\n source.on('end', cleanup);\n source.on('close', cleanup);\n\n dest.on('close', cleanup);\n\n dest.emit('pipe', source);\n\n // Allow for unix-like usage: A.pipe(B).pipe(C)\n return dest;\n};\n","'use strict';\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nvar codes = {};\n\nfunction createErrorType(code, message, Base) {\n if (!Base) {\n Base = Error;\n }\n\n function getMessage(arg1, arg2, arg3) {\n if (typeof message === 'string') {\n return message;\n } else {\n return message(arg1, arg2, arg3);\n }\n }\n\n var NodeError =\n /*#__PURE__*/\n function (_Base) {\n _inheritsLoose(NodeError, _Base);\n\n function NodeError(arg1, arg2, arg3) {\n return _Base.call(this, getMessage(arg1, arg2, arg3)) || this;\n }\n\n return NodeError;\n }(Base);\n\n NodeError.prototype.name = Base.name;\n NodeError.prototype.code = code;\n codes[code] = NodeError;\n} // https://github.com/nodejs/node/blob/v10.8.0/lib/internal/errors.js\n\n\nfunction oneOf(expected, thing) {\n if (Array.isArray(expected)) {\n var len = expected.length;\n expected = expected.map(function (i) {\n return String(i);\n });\n\n if (len > 2) {\n return \"one of \".concat(thing, \" \").concat(expected.slice(0, len - 1).join(', '), \", or \") + expected[len - 1];\n } else if (len === 2) {\n return \"one of \".concat(thing, \" \").concat(expected[0], \" or \").concat(expected[1]);\n } else {\n return \"of \".concat(thing, \" \").concat(expected[0]);\n }\n } else {\n return \"of \".concat(thing, \" \").concat(String(expected));\n }\n} // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/startsWith\n\n\nfunction startsWith(str, search, pos) {\n return str.substr(!pos || pos < 0 ? 0 : +pos, search.length) === search;\n} // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/endsWith\n\n\nfunction endsWith(str, search, this_len) {\n if (this_len === undefined || this_len > str.length) {\n this_len = str.length;\n }\n\n return str.substring(this_len - search.length, this_len) === search;\n} // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/includes\n\n\nfunction includes(str, search, start) {\n if (typeof start !== 'number') {\n start = 0;\n }\n\n if (start + search.length > str.length) {\n return false;\n } else {\n return str.indexOf(search, start) !== -1;\n }\n}\n\ncreateErrorType('ERR_INVALID_OPT_VALUE', function (name, value) {\n return 'The value \"' + value + '\" is invalid for option \"' + name + '\"';\n}, TypeError);\ncreateErrorType('ERR_INVALID_ARG_TYPE', function (name, expected, actual) {\n // determiner: 'must be' or 'must not be'\n var determiner;\n\n if (typeof expected === 'string' && startsWith(expected, 'not ')) {\n determiner = 'must not be';\n expected = expected.replace(/^not /, '');\n } else {\n determiner = 'must be';\n }\n\n var msg;\n\n if (endsWith(name, ' argument')) {\n // For cases like 'first argument'\n msg = \"The \".concat(name, \" \").concat(determiner, \" \").concat(oneOf(expected, 'type'));\n } else {\n var type = includes(name, '.') ? 'property' : 'argument';\n msg = \"The \\\"\".concat(name, \"\\\" \").concat(type, \" \").concat(determiner, \" \").concat(oneOf(expected, 'type'));\n }\n\n msg += \". Received type \".concat(typeof actual);\n return msg;\n}, TypeError);\ncreateErrorType('ERR_STREAM_PUSH_AFTER_EOF', 'stream.push() after EOF');\ncreateErrorType('ERR_METHOD_NOT_IMPLEMENTED', function (name) {\n return 'The ' + name + ' method is not implemented';\n});\ncreateErrorType('ERR_STREAM_PREMATURE_CLOSE', 'Premature close');\ncreateErrorType('ERR_STREAM_DESTROYED', function (name) {\n return 'Cannot call ' + name + ' after a stream was destroyed';\n});\ncreateErrorType('ERR_MULTIPLE_CALLBACK', 'Callback called multiple times');\ncreateErrorType('ERR_STREAM_CANNOT_PIPE', 'Cannot pipe, not readable');\ncreateErrorType('ERR_STREAM_WRITE_AFTER_END', 'write after end');\ncreateErrorType('ERR_STREAM_NULL_VALUES', 'May not write null values to stream', TypeError);\ncreateErrorType('ERR_UNKNOWN_ENCODING', function (arg) {\n return 'Unknown encoding: ' + arg;\n}, TypeError);\ncreateErrorType('ERR_STREAM_UNSHIFT_AFTER_END_EVENT', 'stream.unshift() after end event');\nmodule.exports.codes = codes;\n","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n// a duplex stream is just a stream that is both readable and writable.\n// Since JS doesn't have multiple prototypal inheritance, this class\n// prototypally inherits from Readable, and then parasitically from\n// Writable.\n\n'use strict';\n\n/*<replacement>*/\nvar objectKeys = Object.keys || function (obj) {\n var keys = [];\n for (var key in obj) keys.push(key);\n return keys;\n};\n/*</replacement>*/\n\nmodule.exports = Duplex;\nvar Readable = require('./_stream_readable');\nvar Writable = require('./_stream_writable');\nrequire('inherits')(Duplex, Readable);\n{\n // Allow the keys array to be GC'ed.\n var keys = objectKeys(Writable.prototype);\n for (var v = 0; v < keys.length; v++) {\n var method = keys[v];\n if (!Duplex.prototype[method]) Duplex.prototype[method] = Writable.prototype[method];\n }\n}\nfunction Duplex(options) {\n if (!(this instanceof Duplex)) return new Duplex(options);\n Readable.call(this, options);\n Writable.call(this, options);\n this.allowHalfOpen = true;\n if (options) {\n if (options.readable === false) this.readable = false;\n if (options.writable === false) this.writable = false;\n if (options.allowHalfOpen === false) {\n this.allowHalfOpen = false;\n this.once('end', onend);\n }\n }\n}\nObject.defineProperty(Duplex.prototype, 'writableHighWaterMark', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._writableState.highWaterMark;\n }\n});\nObject.defineProperty(Duplex.prototype, 'writableBuffer', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._writableState && this._writableState.getBuffer();\n }\n});\nObject.defineProperty(Duplex.prototype, 'writableLength', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._writableState.length;\n }\n});\n\n// the no-half-open enforcer\nfunction onend() {\n // If the writable side ended, then we're ok.\n if (this._writableState.ended) return;\n\n // no more data can be written.\n // But allow more writes to happen in this tick.\n process.nextTick(onEndNT, this);\n}\nfunction onEndNT(self) {\n self.end();\n}\nObject.defineProperty(Duplex.prototype, 'destroyed', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n if (this._readableState === undefined || this._writableState === undefined) {\n return false;\n }\n return this._readableState.destroyed && this._writableState.destroyed;\n },\n set: function set(value) {\n // we ignore the value if the stream\n // has not been initialized yet\n if (this._readableState === undefined || this._writableState === undefined) {\n return;\n }\n\n // backward compatibility, the user is explicitly\n // managing destroyed\n this._readableState.destroyed = value;\n this._writableState.destroyed = value;\n }\n});","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n// a passthrough stream.\n// basically just the most minimal sort of Transform stream.\n// Every written chunk gets output as-is.\n\n'use strict';\n\nmodule.exports = PassThrough;\nvar Transform = require('./_stream_transform');\nrequire('inherits')(PassThrough, Transform);\nfunction PassThrough(options) {\n if (!(this instanceof PassThrough)) return new PassThrough(options);\n Transform.call(this, options);\n}\nPassThrough.prototype._transform = function (chunk, encoding, cb) {\n cb(null, chunk);\n};","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n'use strict';\n\nmodule.exports = Readable;\n\n/*<replacement>*/\nvar Duplex;\n/*</replacement>*/\n\nReadable.ReadableState = ReadableState;\n\n/*<replacement>*/\nvar EE = require('events').EventEmitter;\nvar EElistenerCount = function EElistenerCount(emitter, type) {\n return emitter.listeners(type).length;\n};\n/*</replacement>*/\n\n/*<replacement>*/\nvar Stream = require('./internal/streams/stream');\n/*</replacement>*/\n\nvar Buffer = require('buffer').Buffer;\nvar OurUint8Array = (typeof global !== 'undefined' ? global : typeof window !== 'undefined' ? window : typeof self !== 'undefined' ? self : {}).Uint8Array || function () {};\nfunction _uint8ArrayToBuffer(chunk) {\n return Buffer.from(chunk);\n}\nfunction _isUint8Array(obj) {\n return Buffer.isBuffer(obj) || obj instanceof OurUint8Array;\n}\n\n/*<replacement>*/\nvar debugUtil = require('util');\nvar debug;\nif (debugUtil && debugUtil.debuglog) {\n debug = debugUtil.debuglog('stream');\n} else {\n debug = function debug() {};\n}\n/*</replacement>*/\n\nvar BufferList = require('./internal/streams/buffer_list');\nvar destroyImpl = require('./internal/streams/destroy');\nvar _require = require('./internal/streams/state'),\n getHighWaterMark = _require.getHighWaterMark;\nvar _require$codes = require('../errors').codes,\n ERR_INVALID_ARG_TYPE = _require$codes.ERR_INVALID_ARG_TYPE,\n ERR_STREAM_PUSH_AFTER_EOF = _require$codes.ERR_STREAM_PUSH_AFTER_EOF,\n ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED,\n ERR_STREAM_UNSHIFT_AFTER_END_EVENT = _require$codes.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;\n\n// Lazy loaded to improve the startup performance.\nvar StringDecoder;\nvar createReadableStreamAsyncIterator;\nvar from;\nrequire('inherits')(Readable, Stream);\nvar errorOrDestroy = destroyImpl.errorOrDestroy;\nvar kProxyEvents = ['error', 'close', 'destroy', 'pause', 'resume'];\nfunction prependListener(emitter, event, fn) {\n // Sadly this is not cacheable as some libraries bundle their own\n // event emitter implementation with them.\n if (typeof emitter.prependListener === 'function') return emitter.prependListener(event, fn);\n\n // This is a hack to make sure that our error handler is attached before any\n // userland ones. NEVER DO THIS. This is here only because this code needs\n // to continue to work with older versions of Node.js that do not include\n // the prependListener() method. The goal is to eventually remove this hack.\n if (!emitter._events || !emitter._events[event]) emitter.on(event, fn);else if (Array.isArray(emitter._events[event])) emitter._events[event].unshift(fn);else emitter._events[event] = [fn, emitter._events[event]];\n}\nfunction ReadableState(options, stream, isDuplex) {\n Duplex = Duplex || require('./_stream_duplex');\n options = options || {};\n\n // Duplex streams are both readable and writable, but share\n // the same options object.\n // However, some cases require setting options to different\n // values for the readable and the writable sides of the duplex stream.\n // These options can be provided separately as readableXXX and writableXXX.\n if (typeof isDuplex !== 'boolean') isDuplex = stream instanceof Duplex;\n\n // object stream flag. Used to make read(n) ignore n and to\n // make all the buffer merging and length checks go away\n this.objectMode = !!options.objectMode;\n if (isDuplex) this.objectMode = this.objectMode || !!options.readableObjectMode;\n\n // the point at which it stops calling _read() to fill the buffer\n // Note: 0 is a valid value, means \"don't call _read preemptively ever\"\n this.highWaterMark = getHighWaterMark(this, options, 'readableHighWaterMark', isDuplex);\n\n // A linked list is used to store data chunks instead of an array because the\n // linked list can remove elements from the beginning faster than\n // array.shift()\n this.buffer = new BufferList();\n this.length = 0;\n this.pipes = null;\n this.pipesCount = 0;\n this.flowing = null;\n this.ended = false;\n this.endEmitted = false;\n this.reading = false;\n\n // a flag to be able to tell if the event 'readable'/'data' is emitted\n // immediately, or on a later tick. We set this to true at first, because\n // any actions that shouldn't happen until \"later\" should generally also\n // not happen before the first read call.\n this.sync = true;\n\n // whenever we return null, then we set a flag to say\n // that we're awaiting a 'readable' event emission.\n this.needReadable = false;\n this.emittedReadable = false;\n this.readableListening = false;\n this.resumeScheduled = false;\n this.paused = true;\n\n // Should close be emitted on destroy. Defaults to true.\n this.emitClose = options.emitClose !== false;\n\n // Should .destroy() be called after 'end' (and potentially 'finish')\n this.autoDestroy = !!options.autoDestroy;\n\n // has it been destroyed\n this.destroyed = false;\n\n // Crypto is kind of old and crusty. Historically, its default string\n // encoding is 'binary' so we have to make this configurable.\n // Everything else in the universe uses 'utf8', though.\n this.defaultEncoding = options.defaultEncoding || 'utf8';\n\n // the number of writers that are awaiting a drain event in .pipe()s\n this.awaitDrain = 0;\n\n // if true, a maybeReadMore has been scheduled\n this.readingMore = false;\n this.decoder = null;\n this.encoding = null;\n if (options.encoding) {\n if (!StringDecoder) StringDecoder = require('string_decoder/').StringDecoder;\n this.decoder = new StringDecoder(options.encoding);\n this.encoding = options.encoding;\n }\n}\nfunction Readable(options) {\n Duplex = Duplex || require('./_stream_duplex');\n if (!(this instanceof Readable)) return new Readable(options);\n\n // Checking for a Stream.Duplex instance is faster here instead of inside\n // the ReadableState constructor, at least with V8 6.5\n var isDuplex = this instanceof Duplex;\n this._readableState = new ReadableState(options, this, isDuplex);\n\n // legacy\n this.readable = true;\n if (options) {\n if (typeof options.read === 'function') this._read = options.read;\n if (typeof options.destroy === 'function') this._destroy = options.destroy;\n }\n Stream.call(this);\n}\nObject.defineProperty(Readable.prototype, 'destroyed', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n if (this._readableState === undefined) {\n return false;\n }\n return this._readableState.destroyed;\n },\n set: function set(value) {\n // we ignore the value if the stream\n // has not been initialized yet\n if (!this._readableState) {\n return;\n }\n\n // backward compatibility, the user is explicitly\n // managing destroyed\n this._readableState.destroyed = value;\n }\n});\nReadable.prototype.destroy = destroyImpl.destroy;\nReadable.prototype._undestroy = destroyImpl.undestroy;\nReadable.prototype._destroy = function (err, cb) {\n cb(err);\n};\n\n// Manually shove something into the read() buffer.\n// This returns true if the highWaterMark has not been hit yet,\n// similar to how Writable.write() returns true if you should\n// write() some more.\nReadable.prototype.push = function (chunk, encoding) {\n var state = this._readableState;\n var skipChunkCheck;\n if (!state.objectMode) {\n if (typeof chunk === 'string') {\n encoding = encoding || state.defaultEncoding;\n if (encoding !== state.encoding) {\n chunk = Buffer.from(chunk, encoding);\n encoding = '';\n }\n skipChunkCheck = true;\n }\n } else {\n skipChunkCheck = true;\n }\n return readableAddChunk(this, chunk, encoding, false, skipChunkCheck);\n};\n\n// Unshift should *always* be something directly out of read()\nReadable.prototype.unshift = function (chunk) {\n return readableAddChunk(this, chunk, null, true, false);\n};\nfunction readableAddChunk(stream, chunk, encoding, addToFront, skipChunkCheck) {\n debug('readableAddChunk', chunk);\n var state = stream._readableState;\n if (chunk === null) {\n state.reading = false;\n onEofChunk(stream, state);\n } else {\n var er;\n if (!skipChunkCheck) er = chunkInvalid(state, chunk);\n if (er) {\n errorOrDestroy(stream, er);\n } else if (state.objectMode || chunk && chunk.length > 0) {\n if (typeof chunk !== 'string' && !state.objectMode && Object.getPrototypeOf(chunk) !== Buffer.prototype) {\n chunk = _uint8ArrayToBuffer(chunk);\n }\n if (addToFront) {\n if (state.endEmitted) errorOrDestroy(stream, new ERR_STREAM_UNSHIFT_AFTER_END_EVENT());else addChunk(stream, state, chunk, true);\n } else if (state.ended) {\n errorOrDestroy(stream, new ERR_STREAM_PUSH_AFTER_EOF());\n } else if (state.destroyed) {\n return false;\n } else {\n state.reading = false;\n if (state.decoder && !encoding) {\n chunk = state.decoder.write(chunk);\n if (state.objectMode || chunk.length !== 0) addChunk(stream, state, chunk, false);else maybeReadMore(stream, state);\n } else {\n addChunk(stream, state, chunk, false);\n }\n }\n } else if (!addToFront) {\n state.reading = false;\n maybeReadMore(stream, state);\n }\n }\n\n // We can push more data if we are below the highWaterMark.\n // Also, if we have no data yet, we can stand some more bytes.\n // This is to work around cases where hwm=0, such as the repl.\n return !state.ended && (state.length < state.highWaterMark || state.length === 0);\n}\nfunction addChunk(stream, state, chunk, addToFront) {\n if (state.flowing && state.length === 0 && !state.sync) {\n state.awaitDrain = 0;\n stream.emit('data', chunk);\n } else {\n // update the buffer info.\n state.length += state.objectMode ? 1 : chunk.length;\n if (addToFront) state.buffer.unshift(chunk);else state.buffer.push(chunk);\n if (state.needReadable) emitReadable(stream);\n }\n maybeReadMore(stream, state);\n}\nfunction chunkInvalid(state, chunk) {\n var er;\n if (!_isUint8Array(chunk) && typeof chunk !== 'string' && chunk !== undefined && !state.objectMode) {\n er = new ERR_INVALID_ARG_TYPE('chunk', ['string', 'Buffer', 'Uint8Array'], chunk);\n }\n return er;\n}\nReadable.prototype.isPaused = function () {\n return this._readableState.flowing === false;\n};\n\n// backwards compatibility.\nReadable.prototype.setEncoding = function (enc) {\n if (!StringDecoder) StringDecoder = require('string_decoder/').StringDecoder;\n var decoder = new StringDecoder(enc);\n this._readableState.decoder = decoder;\n // If setEncoding(null), decoder.encoding equals utf8\n this._readableState.encoding = this._readableState.decoder.encoding;\n\n // Iterate over current buffer to convert already stored Buffers:\n var p = this._readableState.buffer.head;\n var content = '';\n while (p !== null) {\n content += decoder.write(p.data);\n p = p.next;\n }\n this._readableState.buffer.clear();\n if (content !== '') this._readableState.buffer.push(content);\n this._readableState.length = content.length;\n return this;\n};\n\n// Don't raise the hwm > 1GB\nvar MAX_HWM = 0x40000000;\nfunction computeNewHighWaterMark(n) {\n if (n >= MAX_HWM) {\n // TODO(ronag): Throw ERR_VALUE_OUT_OF_RANGE.\n n = MAX_HWM;\n } else {\n // Get the next highest power of 2 to prevent increasing hwm excessively in\n // tiny amounts\n n--;\n n |= n >>> 1;\n n |= n >>> 2;\n n |= n >>> 4;\n n |= n >>> 8;\n n |= n >>> 16;\n n++;\n }\n return n;\n}\n\n// This function is designed to be inlinable, so please take care when making\n// changes to the function body.\nfunction howMuchToRead(n, state) {\n if (n <= 0 || state.length === 0 && state.ended) return 0;\n if (state.objectMode) return 1;\n if (n !== n) {\n // Only flow one buffer at a time\n if (state.flowing && state.length) return state.buffer.head.data.length;else return state.length;\n }\n // If we're asking for more than the current hwm, then raise the hwm.\n if (n > state.highWaterMark) state.highWaterMark = computeNewHighWaterMark(n);\n if (n <= state.length) return n;\n // Don't have enough\n if (!state.ended) {\n state.needReadable = true;\n return 0;\n }\n return state.length;\n}\n\n// you can override either this method, or the async _read(n) below.\nReadable.prototype.read = function (n) {\n debug('read', n);\n n = parseInt(n, 10);\n var state = this._readableState;\n var nOrig = n;\n if (n !== 0) state.emittedReadable = false;\n\n // if we're doing read(0) to trigger a readable event, but we\n // already have a bunch of data in the buffer, then just trigger\n // the 'readable' event and move on.\n if (n === 0 && state.needReadable && ((state.highWaterMark !== 0 ? state.length >= state.highWaterMark : state.length > 0) || state.ended)) {\n debug('read: emitReadable', state.length, state.ended);\n if (state.length === 0 && state.ended) endReadable(this);else emitReadable(this);\n return null;\n }\n n = howMuchToRead(n, state);\n\n // if we've ended, and we're now clear, then finish it up.\n if (n === 0 && state.ended) {\n if (state.length === 0) endReadable(this);\n return null;\n }\n\n // All the actual chunk generation logic needs to be\n // *below* the call to _read. The reason is that in certain\n // synthetic stream cases, such as passthrough streams, _read\n // may be a completely synchronous operation which may change\n // the state of the read buffer, providing enough data when\n // before there was *not* enough.\n //\n // So, the steps are:\n // 1. Figure out what the state of things will be after we do\n // a read from the buffer.\n //\n // 2. If that resulting state will trigger a _read, then call _read.\n // Note that this may be asynchronous, or synchronous. Yes, it is\n // deeply ugly to write APIs this way, but that still doesn't mean\n // that the Readable class should behave improperly, as streams are\n // designed to be sync/async agnostic.\n // Take note if the _read call is sync or async (ie, if the read call\n // has returned yet), so that we know whether or not it's safe to emit\n // 'readable' etc.\n //\n // 3. Actually pull the requested chunks out of the buffer and return.\n\n // if we need a readable event, then we need to do some reading.\n var doRead = state.needReadable;\n debug('need readable', doRead);\n\n // if we currently have less than the highWaterMark, then also read some\n if (state.length === 0 || state.length - n < state.highWaterMark) {\n doRead = true;\n debug('length less than watermark', doRead);\n }\n\n // however, if we've ended, then there's no point, and if we're already\n // reading, then it's unnecessary.\n if (state.ended || state.reading) {\n doRead = false;\n debug('reading or ended', doRead);\n } else if (doRead) {\n debug('do read');\n state.reading = true;\n state.sync = true;\n // if the length is currently zero, then we *need* a readable event.\n if (state.length === 0) state.needReadable = true;\n // call internal read method\n this._read(state.highWaterMark);\n state.sync = false;\n // If _read pushed data synchronously, then `reading` will be false,\n // and we need to re-evaluate how much data we can return to the user.\n if (!state.reading) n = howMuchToRead(nOrig, state);\n }\n var ret;\n if (n > 0) ret = fromList(n, state);else ret = null;\n if (ret === null) {\n state.needReadable = state.length <= state.highWaterMark;\n n = 0;\n } else {\n state.length -= n;\n state.awaitDrain = 0;\n }\n if (state.length === 0) {\n // If we have nothing in the buffer, then we want to know\n // as soon as we *do* get something into the buffer.\n if (!state.ended) state.needReadable = true;\n\n // If we tried to read() past the EOF, then emit end on the next tick.\n if (nOrig !== n && state.ended) endReadable(this);\n }\n if (ret !== null) this.emit('data', ret);\n return ret;\n};\nfunction onEofChunk(stream, state) {\n debug('onEofChunk');\n if (state.ended) return;\n if (state.decoder) {\n var chunk = state.decoder.end();\n if (chunk && chunk.length) {\n state.buffer.push(chunk);\n state.length += state.objectMode ? 1 : chunk.length;\n }\n }\n state.ended = true;\n if (state.sync) {\n // if we are sync, wait until next tick to emit the data.\n // Otherwise we risk emitting data in the flow()\n // the readable code triggers during a read() call\n emitReadable(stream);\n } else {\n // emit 'readable' now to make sure it gets picked up.\n state.needReadable = false;\n if (!state.emittedReadable) {\n state.emittedReadable = true;\n emitReadable_(stream);\n }\n }\n}\n\n// Don't emit readable right away in sync mode, because this can trigger\n// another read() call => stack overflow. This way, it might trigger\n// a nextTick recursion warning, but that's not so bad.\nfunction emitReadable(stream) {\n var state = stream._readableState;\n debug('emitReadable', state.needReadable, state.emittedReadable);\n state.needReadable = false;\n if (!state.emittedReadable) {\n debug('emitReadable', state.flowing);\n state.emittedReadable = true;\n process.nextTick(emitReadable_, stream);\n }\n}\nfunction emitReadable_(stream) {\n var state = stream._readableState;\n debug('emitReadable_', state.destroyed, state.length, state.ended);\n if (!state.destroyed && (state.length || state.ended)) {\n stream.emit('readable');\n state.emittedReadable = false;\n }\n\n // The stream needs another readable event if\n // 1. It is not flowing, as the flow mechanism will take\n // care of it.\n // 2. It is not ended.\n // 3. It is below the highWaterMark, so we can schedule\n // another readable later.\n state.needReadable = !state.flowing && !state.ended && state.length <= state.highWaterMark;\n flow(stream);\n}\n\n// at this point, the user has presumably seen the 'readable' event,\n// and called read() to consume some data. that may have triggered\n// in turn another _read(n) call, in which case reading = true if\n// it's in progress.\n// However, if we're not ended, or reading, and the length < hwm,\n// then go ahead and try to read some more preemptively.\nfunction maybeReadMore(stream, state) {\n if (!state.readingMore) {\n state.readingMore = true;\n process.nextTick(maybeReadMore_, stream, state);\n }\n}\nfunction maybeReadMore_(stream, state) {\n // Attempt to read more data if we should.\n //\n // The conditions for reading more data are (one of):\n // - Not enough data buffered (state.length < state.highWaterMark). The loop\n // is responsible for filling the buffer with enough data if such data\n // is available. If highWaterMark is 0 and we are not in the flowing mode\n // we should _not_ attempt to buffer any extra data. We'll get more data\n // when the stream consumer calls read() instead.\n // - No data in the buffer, and the stream is in flowing mode. In this mode\n // the loop below is responsible for ensuring read() is called. Failing to\n // call read here would abort the flow and there's no other mechanism for\n // continuing the flow if the stream consumer has just subscribed to the\n // 'data' event.\n //\n // In addition to the above conditions to keep reading data, the following\n // conditions prevent the data from being read:\n // - The stream has ended (state.ended).\n // - There is already a pending 'read' operation (state.reading). This is a\n // case where the the stream has called the implementation defined _read()\n // method, but they are processing the call asynchronously and have _not_\n // called push() with new data. In this case we skip performing more\n // read()s. The execution ends in this method again after the _read() ends\n // up calling push() with more data.\n while (!state.reading && !state.ended && (state.length < state.highWaterMark || state.flowing && state.length === 0)) {\n var len = state.length;\n debug('maybeReadMore read 0');\n stream.read(0);\n if (len === state.length)\n // didn't get any data, stop spinning.\n break;\n }\n state.readingMore = false;\n}\n\n// abstract method. to be overridden in specific implementation classes.\n// call cb(er, data) where data is <= n in length.\n// for virtual (non-string, non-buffer) streams, \"length\" is somewhat\n// arbitrary, and perhaps not very meaningful.\nReadable.prototype._read = function (n) {\n errorOrDestroy(this, new ERR_METHOD_NOT_IMPLEMENTED('_read()'));\n};\nReadable.prototype.pipe = function (dest, pipeOpts) {\n var src = this;\n var state = this._readableState;\n switch (state.pipesCount) {\n case 0:\n state.pipes = dest;\n break;\n case 1:\n state.pipes = [state.pipes, dest];\n break;\n default:\n state.pipes.push(dest);\n break;\n }\n state.pipesCount += 1;\n debug('pipe count=%d opts=%j', state.pipesCount, pipeOpts);\n var doEnd = (!pipeOpts || pipeOpts.end !== false) && dest !== process.stdout && dest !== process.stderr;\n var endFn = doEnd ? onend : unpipe;\n if (state.endEmitted) process.nextTick(endFn);else src.once('end', endFn);\n dest.on('unpipe', onunpipe);\n function onunpipe(readable, unpipeInfo) {\n debug('onunpipe');\n if (readable === src) {\n if (unpipeInfo && unpipeInfo.hasUnpiped === false) {\n unpipeInfo.hasUnpiped = true;\n cleanup();\n }\n }\n }\n function onend() {\n debug('onend');\n dest.end();\n }\n\n // when the dest drains, it reduces the awaitDrain counter\n // on the source. This would be more elegant with a .once()\n // handler in flow(), but adding and removing repeatedly is\n // too slow.\n var ondrain = pipeOnDrain(src);\n dest.on('drain', ondrain);\n var cleanedUp = false;\n function cleanup() {\n debug('cleanup');\n // cleanup event handlers once the pipe is broken\n dest.removeListener('close', onclose);\n dest.removeListener('finish', onfinish);\n dest.removeListener('drain', ondrain);\n dest.removeListener('error', onerror);\n dest.removeListener('unpipe', onunpipe);\n src.removeListener('end', onend);\n src.removeListener('end', unpipe);\n src.removeListener('data', ondata);\n cleanedUp = true;\n\n // if the reader is waiting for a drain event from this\n // specific writer, then it would cause it to never start\n // flowing again.\n // So, if this is awaiting a drain, then we just call it now.\n // If we don't know, then assume that we are waiting for one.\n if (state.awaitDrain && (!dest._writableState || dest._writableState.needDrain)) ondrain();\n }\n src.on('data', ondata);\n function ondata(chunk) {\n debug('ondata');\n var ret = dest.write(chunk);\n debug('dest.write', ret);\n if (ret === false) {\n // If the user unpiped during `dest.write()`, it is possible\n // to get stuck in a permanently paused state if that write\n // also returned false.\n // => Check whether `dest` is still a piping destination.\n if ((state.pipesCount === 1 && state.pipes === dest || state.pipesCount > 1 && indexOf(state.pipes, dest) !== -1) && !cleanedUp) {\n debug('false write response, pause', state.awaitDrain);\n state.awaitDrain++;\n }\n src.pause();\n }\n }\n\n // if the dest has an error, then stop piping into it.\n // however, don't suppress the throwing behavior for this.\n function onerror(er) {\n debug('onerror', er);\n unpipe();\n dest.removeListener('error', onerror);\n if (EElistenerCount(dest, 'error') === 0) errorOrDestroy(dest, er);\n }\n\n // Make sure our error handler is attached before userland ones.\n prependListener(dest, 'error', onerror);\n\n // Both close and finish should trigger unpipe, but only once.\n function onclose() {\n dest.removeListener('finish', onfinish);\n unpipe();\n }\n dest.once('close', onclose);\n function onfinish() {\n debug('onfinish');\n dest.removeListener('close', onclose);\n unpipe();\n }\n dest.once('finish', onfinish);\n function unpipe() {\n debug('unpipe');\n src.unpipe(dest);\n }\n\n // tell the dest that it's being piped to\n dest.emit('pipe', src);\n\n // start the flow if it hasn't been started already.\n if (!state.flowing) {\n debug('pipe resume');\n src.resume();\n }\n return dest;\n};\nfunction pipeOnDrain(src) {\n return function pipeOnDrainFunctionResult() {\n var state = src._readableState;\n debug('pipeOnDrain', state.awaitDrain);\n if (state.awaitDrain) state.awaitDrain--;\n if (state.awaitDrain === 0 && EElistenerCount(src, 'data')) {\n state.flowing = true;\n flow(src);\n }\n };\n}\nReadable.prototype.unpipe = function (dest) {\n var state = this._readableState;\n var unpipeInfo = {\n hasUnpiped: false\n };\n\n // if we're not piping anywhere, then do nothing.\n if (state.pipesCount === 0) return this;\n\n // just one destination. most common case.\n if (state.pipesCount === 1) {\n // passed in one, but it's not the right one.\n if (dest && dest !== state.pipes) return this;\n if (!dest) dest = state.pipes;\n\n // got a match.\n state.pipes = null;\n state.pipesCount = 0;\n state.flowing = false;\n if (dest) dest.emit('unpipe', this, unpipeInfo);\n return this;\n }\n\n // slow case. multiple pipe destinations.\n\n if (!dest) {\n // remove all.\n var dests = state.pipes;\n var len = state.pipesCount;\n state.pipes = null;\n state.pipesCount = 0;\n state.flowing = false;\n for (var i = 0; i < len; i++) dests[i].emit('unpipe', this, {\n hasUnpiped: false\n });\n return this;\n }\n\n // try to find the right one.\n var index = indexOf(state.pipes, dest);\n if (index === -1) return this;\n state.pipes.splice(index, 1);\n state.pipesCount -= 1;\n if (state.pipesCount === 1) state.pipes = state.pipes[0];\n dest.emit('unpipe', this, unpipeInfo);\n return this;\n};\n\n// set up data events if they are asked for\n// Ensure readable listeners eventually get something\nReadable.prototype.on = function (ev, fn) {\n var res = Stream.prototype.on.call(this, ev, fn);\n var state = this._readableState;\n if (ev === 'data') {\n // update readableListening so that resume() may be a no-op\n // a few lines down. This is needed to support once('readable').\n state.readableListening = this.listenerCount('readable') > 0;\n\n // Try start flowing on next tick if stream isn't explicitly paused\n if (state.flowing !== false) this.resume();\n } else if (ev === 'readable') {\n if (!state.endEmitted && !state.readableListening) {\n state.readableListening = state.needReadable = true;\n state.flowing = false;\n state.emittedReadable = false;\n debug('on readable', state.length, state.reading);\n if (state.length) {\n emitReadable(this);\n } else if (!state.reading) {\n process.nextTick(nReadingNextTick, this);\n }\n }\n }\n return res;\n};\nReadable.prototype.addListener = Readable.prototype.on;\nReadable.prototype.removeListener = function (ev, fn) {\n var res = Stream.prototype.removeListener.call(this, ev, fn);\n if (ev === 'readable') {\n // We need to check if there is someone still listening to\n // readable and reset the state. However this needs to happen\n // after readable has been emitted but before I/O (nextTick) to\n // support once('readable', fn) cycles. This means that calling\n // resume within the same tick will have no\n // effect.\n process.nextTick(updateReadableListening, this);\n }\n return res;\n};\nReadable.prototype.removeAllListeners = function (ev) {\n var res = Stream.prototype.removeAllListeners.apply(this, arguments);\n if (ev === 'readable' || ev === undefined) {\n // We need to check if there is someone still listening to\n // readable and reset the state. However this needs to happen\n // after readable has been emitted but before I/O (nextTick) to\n // support once('readable', fn) cycles. This means that calling\n // resume within the same tick will have no\n // effect.\n process.nextTick(updateReadableListening, this);\n }\n return res;\n};\nfunction updateReadableListening(self) {\n var state = self._readableState;\n state.readableListening = self.listenerCount('readable') > 0;\n if (state.resumeScheduled && !state.paused) {\n // flowing needs to be set to true now, otherwise\n // the upcoming resume will not flow.\n state.flowing = true;\n\n // crude way to check if we should resume\n } else if (self.listenerCount('data') > 0) {\n self.resume();\n }\n}\nfunction nReadingNextTick(self) {\n debug('readable nexttick read 0');\n self.read(0);\n}\n\n// pause() and resume() are remnants of the legacy readable stream API\n// If the user uses them, then switch into old mode.\nReadable.prototype.resume = function () {\n var state = this._readableState;\n if (!state.flowing) {\n debug('resume');\n // we flow only if there is no one listening\n // for readable, but we still have to call\n // resume()\n state.flowing = !state.readableListening;\n resume(this, state);\n }\n state.paused = false;\n return this;\n};\nfunction resume(stream, state) {\n if (!state.resumeScheduled) {\n state.resumeScheduled = true;\n process.nextTick(resume_, stream, state);\n }\n}\nfunction resume_(stream, state) {\n debug('resume', state.reading);\n if (!state.reading) {\n stream.read(0);\n }\n state.resumeScheduled = false;\n stream.emit('resume');\n flow(stream);\n if (state.flowing && !state.reading) stream.read(0);\n}\nReadable.prototype.pause = function () {\n debug('call pause flowing=%j', this._readableState.flowing);\n if (this._readableState.flowing !== false) {\n debug('pause');\n this._readableState.flowing = false;\n this.emit('pause');\n }\n this._readableState.paused = true;\n return this;\n};\nfunction flow(stream) {\n var state = stream._readableState;\n debug('flow', state.flowing);\n while (state.flowing && stream.read() !== null);\n}\n\n// wrap an old-style stream as the async data source.\n// This is *not* part of the readable stream interface.\n// It is an ugly unfortunate mess of history.\nReadable.prototype.wrap = function (stream) {\n var _this = this;\n var state = this._readableState;\n var paused = false;\n stream.on('end', function () {\n debug('wrapped end');\n if (state.decoder && !state.ended) {\n var chunk = state.decoder.end();\n if (chunk && chunk.length) _this.push(chunk);\n }\n _this.push(null);\n });\n stream.on('data', function (chunk) {\n debug('wrapped data');\n if (state.decoder) chunk = state.decoder.write(chunk);\n\n // don't skip over falsy values in objectMode\n if (state.objectMode && (chunk === null || chunk === undefined)) return;else if (!state.objectMode && (!chunk || !chunk.length)) return;\n var ret = _this.push(chunk);\n if (!ret) {\n paused = true;\n stream.pause();\n }\n });\n\n // proxy all the other methods.\n // important when wrapping filters and duplexes.\n for (var i in stream) {\n if (this[i] === undefined && typeof stream[i] === 'function') {\n this[i] = function methodWrap(method) {\n return function methodWrapReturnFunction() {\n return stream[method].apply(stream, arguments);\n };\n }(i);\n }\n }\n\n // proxy certain important events.\n for (var n = 0; n < kProxyEvents.length; n++) {\n stream.on(kProxyEvents[n], this.emit.bind(this, kProxyEvents[n]));\n }\n\n // when we try to consume some more bytes, simply unpause the\n // underlying stream.\n this._read = function (n) {\n debug('wrapped _read', n);\n if (paused) {\n paused = false;\n stream.resume();\n }\n };\n return this;\n};\nif (typeof Symbol === 'function') {\n Readable.prototype[Symbol.asyncIterator] = function () {\n if (createReadableStreamAsyncIterator === undefined) {\n createReadableStreamAsyncIterator = require('./internal/streams/async_iterator');\n }\n return createReadableStreamAsyncIterator(this);\n };\n}\nObject.defineProperty(Readable.prototype, 'readableHighWaterMark', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._readableState.highWaterMark;\n }\n});\nObject.defineProperty(Readable.prototype, 'readableBuffer', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._readableState && this._readableState.buffer;\n }\n});\nObject.defineProperty(Readable.prototype, 'readableFlowing', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._readableState.flowing;\n },\n set: function set(state) {\n if (this._readableState) {\n this._readableState.flowing = state;\n }\n }\n});\n\n// exposed for testing purposes only.\nReadable._fromList = fromList;\nObject.defineProperty(Readable.prototype, 'readableLength', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._readableState.length;\n }\n});\n\n// Pluck off n bytes from an array of buffers.\n// Length is the combined lengths of all the buffers in the list.\n// This function is designed to be inlinable, so please take care when making\n// changes to the function body.\nfunction fromList(n, state) {\n // nothing buffered\n if (state.length === 0) return null;\n var ret;\n if (state.objectMode) ret = state.buffer.shift();else if (!n || n >= state.length) {\n // read it all, truncate the list\n if (state.decoder) ret = state.buffer.join('');else if (state.buffer.length === 1) ret = state.buffer.first();else ret = state.buffer.concat(state.length);\n state.buffer.clear();\n } else {\n // read part of list\n ret = state.buffer.consume(n, state.decoder);\n }\n return ret;\n}\nfunction endReadable(stream) {\n var state = stream._readableState;\n debug('endReadable', state.endEmitted);\n if (!state.endEmitted) {\n state.ended = true;\n process.nextTick(endReadableNT, state, stream);\n }\n}\nfunction endReadableNT(state, stream) {\n debug('endReadableNT', state.endEmitted, state.length);\n\n // Check that we didn't get one last unshift.\n if (!state.endEmitted && state.length === 0) {\n state.endEmitted = true;\n stream.readable = false;\n stream.emit('end');\n if (state.autoDestroy) {\n // In case of duplex streams we need a way to detect\n // if the writable side is ready for autoDestroy as well\n var wState = stream._writableState;\n if (!wState || wState.autoDestroy && wState.finished) {\n stream.destroy();\n }\n }\n }\n}\nif (typeof Symbol === 'function') {\n Readable.from = function (iterable, opts) {\n if (from === undefined) {\n from = require('./internal/streams/from');\n }\n return from(Readable, iterable, opts);\n };\n}\nfunction indexOf(xs, x) {\n for (var i = 0, l = xs.length; i < l; i++) {\n if (xs[i] === x) return i;\n }\n return -1;\n}","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n// a transform stream is a readable/writable stream where you do\n// something with the data. Sometimes it's called a \"filter\",\n// but that's not a great name for it, since that implies a thing where\n// some bits pass through, and others are simply ignored. (That would\n// be a valid example of a transform, of course.)\n//\n// While the output is causally related to the input, it's not a\n// necessarily symmetric or synchronous transformation. For example,\n// a zlib stream might take multiple plain-text writes(), and then\n// emit a single compressed chunk some time in the future.\n//\n// Here's how this works:\n//\n// The Transform stream has all the aspects of the readable and writable\n// stream classes. When you write(chunk), that calls _write(chunk,cb)\n// internally, and returns false if there's a lot of pending writes\n// buffered up. When you call read(), that calls _read(n) until\n// there's enough pending readable data buffered up.\n//\n// In a transform stream, the written data is placed in a buffer. When\n// _read(n) is called, it transforms the queued up data, calling the\n// buffered _write cb's as it consumes chunks. If consuming a single\n// written chunk would result in multiple output chunks, then the first\n// outputted bit calls the readcb, and subsequent chunks just go into\n// the read buffer, and will cause it to emit 'readable' if necessary.\n//\n// This way, back-pressure is actually determined by the reading side,\n// since _read has to be called to start processing a new chunk. However,\n// a pathological inflate type of transform can cause excessive buffering\n// here. For example, imagine a stream where every byte of input is\n// interpreted as an integer from 0-255, and then results in that many\n// bytes of output. Writing the 4 bytes {ff,ff,ff,ff} would result in\n// 1kb of data being output. In this case, you could write a very small\n// amount of input, and end up with a very large amount of output. In\n// such a pathological inflating mechanism, there'd be no way to tell\n// the system to stop doing the transform. A single 4MB write could\n// cause the system to run out of memory.\n//\n// However, even in such a pathological case, only a single written chunk\n// would be consumed, and then the rest would wait (un-transformed) until\n// the results of the previous transformed chunk were consumed.\n\n'use strict';\n\nmodule.exports = Transform;\nvar _require$codes = require('../errors').codes,\n ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED,\n ERR_MULTIPLE_CALLBACK = _require$codes.ERR_MULTIPLE_CALLBACK,\n ERR_TRANSFORM_ALREADY_TRANSFORMING = _require$codes.ERR_TRANSFORM_ALREADY_TRANSFORMING,\n ERR_TRANSFORM_WITH_LENGTH_0 = _require$codes.ERR_TRANSFORM_WITH_LENGTH_0;\nvar Duplex = require('./_stream_duplex');\nrequire('inherits')(Transform, Duplex);\nfunction afterTransform(er, data) {\n var ts = this._transformState;\n ts.transforming = false;\n var cb = ts.writecb;\n if (cb === null) {\n return this.emit('error', new ERR_MULTIPLE_CALLBACK());\n }\n ts.writechunk = null;\n ts.writecb = null;\n if (data != null)\n // single equals check for both `null` and `undefined`\n this.push(data);\n cb(er);\n var rs = this._readableState;\n rs.reading = false;\n if (rs.needReadable || rs.length < rs.highWaterMark) {\n this._read(rs.highWaterMark);\n }\n}\nfunction Transform(options) {\n if (!(this instanceof Transform)) return new Transform(options);\n Duplex.call(this, options);\n this._transformState = {\n afterTransform: afterTransform.bind(this),\n needTransform: false,\n transforming: false,\n writecb: null,\n writechunk: null,\n writeencoding: null\n };\n\n // start out asking for a readable event once data is transformed.\n this._readableState.needReadable = true;\n\n // we have implemented the _read method, and done the other things\n // that Readable wants before the first _read call, so unset the\n // sync guard flag.\n this._readableState.sync = false;\n if (options) {\n if (typeof options.transform === 'function') this._transform = options.transform;\n if (typeof options.flush === 'function') this._flush = options.flush;\n }\n\n // When the writable side finishes, then flush out anything remaining.\n this.on('prefinish', prefinish);\n}\nfunction prefinish() {\n var _this = this;\n if (typeof this._flush === 'function' && !this._readableState.destroyed) {\n this._flush(function (er, data) {\n done(_this, er, data);\n });\n } else {\n done(this, null, null);\n }\n}\nTransform.prototype.push = function (chunk, encoding) {\n this._transformState.needTransform = false;\n return Duplex.prototype.push.call(this, chunk, encoding);\n};\n\n// This is the part where you do stuff!\n// override this function in implementation classes.\n// 'chunk' is an input chunk.\n//\n// Call `push(newChunk)` to pass along transformed output\n// to the readable side. You may call 'push' zero or more times.\n//\n// Call `cb(err)` when you are done with this chunk. If you pass\n// an error, then that'll put the hurt on the whole operation. If you\n// never call cb(), then you'll never get another chunk.\nTransform.prototype._transform = function (chunk, encoding, cb) {\n cb(new ERR_METHOD_NOT_IMPLEMENTED('_transform()'));\n};\nTransform.prototype._write = function (chunk, encoding, cb) {\n var ts = this._transformState;\n ts.writecb = cb;\n ts.writechunk = chunk;\n ts.writeencoding = encoding;\n if (!ts.transforming) {\n var rs = this._readableState;\n if (ts.needTransform || rs.needReadable || rs.length < rs.highWaterMark) this._read(rs.highWaterMark);\n }\n};\n\n// Doesn't matter what the args are here.\n// _transform does all the work.\n// That we got here means that the readable side wants more data.\nTransform.prototype._read = function (n) {\n var ts = this._transformState;\n if (ts.writechunk !== null && !ts.transforming) {\n ts.transforming = true;\n this._transform(ts.writechunk, ts.writeencoding, ts.afterTransform);\n } else {\n // mark that we need a transform, so that any data that comes in\n // will get processed, now that we've asked for it.\n ts.needTransform = true;\n }\n};\nTransform.prototype._destroy = function (err, cb) {\n Duplex.prototype._destroy.call(this, err, function (err2) {\n cb(err2);\n });\n};\nfunction done(stream, er, data) {\n if (er) return stream.emit('error', er);\n if (data != null)\n // single equals check for both `null` and `undefined`\n stream.push(data);\n\n // TODO(BridgeAR): Write a test for these two error cases\n // if there's nothing in the write buffer, then that means\n // that nothing more will ever be provided\n if (stream._writableState.length) throw new ERR_TRANSFORM_WITH_LENGTH_0();\n if (stream._transformState.transforming) throw new ERR_TRANSFORM_ALREADY_TRANSFORMING();\n return stream.push(null);\n}","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n// A bit simpler than readable streams.\n// Implement an async ._write(chunk, encoding, cb), and it'll handle all\n// the drain event emission and buffering.\n\n'use strict';\n\nmodule.exports = Writable;\n\n/* <replacement> */\nfunction WriteReq(chunk, encoding, cb) {\n this.chunk = chunk;\n this.encoding = encoding;\n this.callback = cb;\n this.next = null;\n}\n\n// It seems a linked list but it is not\n// there will be only 2 of these for each stream\nfunction CorkedRequest(state) {\n var _this = this;\n this.next = null;\n this.entry = null;\n this.finish = function () {\n onCorkedFinish(_this, state);\n };\n}\n/* </replacement> */\n\n/*<replacement>*/\nvar Duplex;\n/*</replacement>*/\n\nWritable.WritableState = WritableState;\n\n/*<replacement>*/\nvar internalUtil = {\n deprecate: require('util-deprecate')\n};\n/*</replacement>*/\n\n/*<replacement>*/\nvar Stream = require('./internal/streams/stream');\n/*</replacement>*/\n\nvar Buffer = require('buffer').Buffer;\nvar OurUint8Array = (typeof global !== 'undefined' ? global : typeof window !== 'undefined' ? window : typeof self !== 'undefined' ? self : {}).Uint8Array || function () {};\nfunction _uint8ArrayToBuffer(chunk) {\n return Buffer.from(chunk);\n}\nfunction _isUint8Array(obj) {\n return Buffer.isBuffer(obj) || obj instanceof OurUint8Array;\n}\nvar destroyImpl = require('./internal/streams/destroy');\nvar _require = require('./internal/streams/state'),\n getHighWaterMark = _require.getHighWaterMark;\nvar _require$codes = require('../errors').codes,\n ERR_INVALID_ARG_TYPE = _require$codes.ERR_INVALID_ARG_TYPE,\n ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED,\n ERR_MULTIPLE_CALLBACK = _require$codes.ERR_MULTIPLE_CALLBACK,\n ERR_STREAM_CANNOT_PIPE = _require$codes.ERR_STREAM_CANNOT_PIPE,\n ERR_STREAM_DESTROYED = _require$codes.ERR_STREAM_DESTROYED,\n ERR_STREAM_NULL_VALUES = _require$codes.ERR_STREAM_NULL_VALUES,\n ERR_STREAM_WRITE_AFTER_END = _require$codes.ERR_STREAM_WRITE_AFTER_END,\n ERR_UNKNOWN_ENCODING = _require$codes.ERR_UNKNOWN_ENCODING;\nvar errorOrDestroy = destroyImpl.errorOrDestroy;\nrequire('inherits')(Writable, Stream);\nfunction nop() {}\nfunction WritableState(options, stream, isDuplex) {\n Duplex = Duplex || require('./_stream_duplex');\n options = options || {};\n\n // Duplex streams are both readable and writable, but share\n // the same options object.\n // However, some cases require setting options to different\n // values for the readable and the writable sides of the duplex stream,\n // e.g. options.readableObjectMode vs. options.writableObjectMode, etc.\n if (typeof isDuplex !== 'boolean') isDuplex = stream instanceof Duplex;\n\n // object stream flag to indicate whether or not this stream\n // contains buffers or objects.\n this.objectMode = !!options.objectMode;\n if (isDuplex) this.objectMode = this.objectMode || !!options.writableObjectMode;\n\n // the point at which write() starts returning false\n // Note: 0 is a valid value, means that we always return false if\n // the entire buffer is not flushed immediately on write()\n this.highWaterMark = getHighWaterMark(this, options, 'writableHighWaterMark', isDuplex);\n\n // if _final has been called\n this.finalCalled = false;\n\n // drain event flag.\n this.needDrain = false;\n // at the start of calling end()\n this.ending = false;\n // when end() has been called, and returned\n this.ended = false;\n // when 'finish' is emitted\n this.finished = false;\n\n // has it been destroyed\n this.destroyed = false;\n\n // should we decode strings into buffers before passing to _write?\n // this is here so that some node-core streams can optimize string\n // handling at a lower level.\n var noDecode = options.decodeStrings === false;\n this.decodeStrings = !noDecode;\n\n // Crypto is kind of old and crusty. Historically, its default string\n // encoding is 'binary' so we have to make this configurable.\n // Everything else in the universe uses 'utf8', though.\n this.defaultEncoding = options.defaultEncoding || 'utf8';\n\n // not an actual buffer we keep track of, but a measurement\n // of how much we're waiting to get pushed to some underlying\n // socket or file.\n this.length = 0;\n\n // a flag to see when we're in the middle of a write.\n this.writing = false;\n\n // when true all writes will be buffered until .uncork() call\n this.corked = 0;\n\n // a flag to be able to tell if the onwrite cb is called immediately,\n // or on a later tick. We set this to true at first, because any\n // actions that shouldn't happen until \"later\" should generally also\n // not happen before the first write call.\n this.sync = true;\n\n // a flag to know if we're processing previously buffered items, which\n // may call the _write() callback in the same tick, so that we don't\n // end up in an overlapped onwrite situation.\n this.bufferProcessing = false;\n\n // the callback that's passed to _write(chunk,cb)\n this.onwrite = function (er) {\n onwrite(stream, er);\n };\n\n // the callback that the user supplies to write(chunk,encoding,cb)\n this.writecb = null;\n\n // the amount that is being written when _write is called.\n this.writelen = 0;\n this.bufferedRequest = null;\n this.lastBufferedRequest = null;\n\n // number of pending user-supplied write callbacks\n // this must be 0 before 'finish' can be emitted\n this.pendingcb = 0;\n\n // emit prefinish if the only thing we're waiting for is _write cbs\n // This is relevant for synchronous Transform streams\n this.prefinished = false;\n\n // True if the error was already emitted and should not be thrown again\n this.errorEmitted = false;\n\n // Should close be emitted on destroy. Defaults to true.\n this.emitClose = options.emitClose !== false;\n\n // Should .destroy() be called after 'finish' (and potentially 'end')\n this.autoDestroy = !!options.autoDestroy;\n\n // count buffered requests\n this.bufferedRequestCount = 0;\n\n // allocate the first CorkedRequest, there is always\n // one allocated and free to use, and we maintain at most two\n this.corkedRequestsFree = new CorkedRequest(this);\n}\nWritableState.prototype.getBuffer = function getBuffer() {\n var current = this.bufferedRequest;\n var out = [];\n while (current) {\n out.push(current);\n current = current.next;\n }\n return out;\n};\n(function () {\n try {\n Object.defineProperty(WritableState.prototype, 'buffer', {\n get: internalUtil.deprecate(function writableStateBufferGetter() {\n return this.getBuffer();\n }, '_writableState.buffer is deprecated. Use _writableState.getBuffer ' + 'instead.', 'DEP0003')\n });\n } catch (_) {}\n})();\n\n// Test _writableState for inheritance to account for Duplex streams,\n// whose prototype chain only points to Readable.\nvar realHasInstance;\nif (typeof Symbol === 'function' && Symbol.hasInstance && typeof Function.prototype[Symbol.hasInstance] === 'function') {\n realHasInstance = Function.prototype[Symbol.hasInstance];\n Object.defineProperty(Writable, Symbol.hasInstance, {\n value: function value(object) {\n if (realHasInstance.call(this, object)) return true;\n if (this !== Writable) return false;\n return object && object._writableState instanceof WritableState;\n }\n });\n} else {\n realHasInstance = function realHasInstance(object) {\n return object instanceof this;\n };\n}\nfunction Writable(options) {\n Duplex = Duplex || require('./_stream_duplex');\n\n // Writable ctor is applied to Duplexes, too.\n // `realHasInstance` is necessary because using plain `instanceof`\n // would return false, as no `_writableState` property is attached.\n\n // Trying to use the custom `instanceof` for Writable here will also break the\n // Node.js LazyTransform implementation, which has a non-trivial getter for\n // `_writableState` that would lead to infinite recursion.\n\n // Checking for a Stream.Duplex instance is faster here instead of inside\n // the WritableState constructor, at least with V8 6.5\n var isDuplex = this instanceof Duplex;\n if (!isDuplex && !realHasInstance.call(Writable, this)) return new Writable(options);\n this._writableState = new WritableState(options, this, isDuplex);\n\n // legacy.\n this.writable = true;\n if (options) {\n if (typeof options.write === 'function') this._write = options.write;\n if (typeof options.writev === 'function') this._writev = options.writev;\n if (typeof options.destroy === 'function') this._destroy = options.destroy;\n if (typeof options.final === 'function') this._final = options.final;\n }\n Stream.call(this);\n}\n\n// Otherwise people can pipe Writable streams, which is just wrong.\nWritable.prototype.pipe = function () {\n errorOrDestroy(this, new ERR_STREAM_CANNOT_PIPE());\n};\nfunction writeAfterEnd(stream, cb) {\n var er = new ERR_STREAM_WRITE_AFTER_END();\n // TODO: defer error events consistently everywhere, not just the cb\n errorOrDestroy(stream, er);\n process.nextTick(cb, er);\n}\n\n// Checks that a user-supplied chunk is valid, especially for the particular\n// mode the stream is in. Currently this means that `null` is never accepted\n// and undefined/non-string values are only allowed in object mode.\nfunction validChunk(stream, state, chunk, cb) {\n var er;\n if (chunk === null) {\n er = new ERR_STREAM_NULL_VALUES();\n } else if (typeof chunk !== 'string' && !state.objectMode) {\n er = new ERR_INVALID_ARG_TYPE('chunk', ['string', 'Buffer'], chunk);\n }\n if (er) {\n errorOrDestroy(stream, er);\n process.nextTick(cb, er);\n return false;\n }\n return true;\n}\nWritable.prototype.write = function (chunk, encoding, cb) {\n var state = this._writableState;\n var ret = false;\n var isBuf = !state.objectMode && _isUint8Array(chunk);\n if (isBuf && !Buffer.isBuffer(chunk)) {\n chunk = _uint8ArrayToBuffer(chunk);\n }\n if (typeof encoding === 'function') {\n cb = encoding;\n encoding = null;\n }\n if (isBuf) encoding = 'buffer';else if (!encoding) encoding = state.defaultEncoding;\n if (typeof cb !== 'function') cb = nop;\n if (state.ending) writeAfterEnd(this, cb);else if (isBuf || validChunk(this, state, chunk, cb)) {\n state.pendingcb++;\n ret = writeOrBuffer(this, state, isBuf, chunk, encoding, cb);\n }\n return ret;\n};\nWritable.prototype.cork = function () {\n this._writableState.corked++;\n};\nWritable.prototype.uncork = function () {\n var state = this._writableState;\n if (state.corked) {\n state.corked--;\n if (!state.writing && !state.corked && !state.bufferProcessing && state.bufferedRequest) clearBuffer(this, state);\n }\n};\nWritable.prototype.setDefaultEncoding = function setDefaultEncoding(encoding) {\n // node::ParseEncoding() requires lower case.\n if (typeof encoding === 'string') encoding = encoding.toLowerCase();\n if (!(['hex', 'utf8', 'utf-8', 'ascii', 'binary', 'base64', 'ucs2', 'ucs-2', 'utf16le', 'utf-16le', 'raw'].indexOf((encoding + '').toLowerCase()) > -1)) throw new ERR_UNKNOWN_ENCODING(encoding);\n this._writableState.defaultEncoding = encoding;\n return this;\n};\nObject.defineProperty(Writable.prototype, 'writableBuffer', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._writableState && this._writableState.getBuffer();\n }\n});\nfunction decodeChunk(state, chunk, encoding) {\n if (!state.objectMode && state.decodeStrings !== false && typeof chunk === 'string') {\n chunk = Buffer.from(chunk, encoding);\n }\n return chunk;\n}\nObject.defineProperty(Writable.prototype, 'writableHighWaterMark', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._writableState.highWaterMark;\n }\n});\n\n// if we're already writing something, then just put this\n// in the queue, and wait our turn. Otherwise, call _write\n// If we return false, then we need a drain event, so set that flag.\nfunction writeOrBuffer(stream, state, isBuf, chunk, encoding, cb) {\n if (!isBuf) {\n var newChunk = decodeChunk(state, chunk, encoding);\n if (chunk !== newChunk) {\n isBuf = true;\n encoding = 'buffer';\n chunk = newChunk;\n }\n }\n var len = state.objectMode ? 1 : chunk.length;\n state.length += len;\n var ret = state.length < state.highWaterMark;\n // we must ensure that previous needDrain will not be reset to false.\n if (!ret) state.needDrain = true;\n if (state.writing || state.corked) {\n var last = state.lastBufferedRequest;\n state.lastBufferedRequest = {\n chunk: chunk,\n encoding: encoding,\n isBuf: isBuf,\n callback: cb,\n next: null\n };\n if (last) {\n last.next = state.lastBufferedRequest;\n } else {\n state.bufferedRequest = state.lastBufferedRequest;\n }\n state.bufferedRequestCount += 1;\n } else {\n doWrite(stream, state, false, len, chunk, encoding, cb);\n }\n return ret;\n}\nfunction doWrite(stream, state, writev, len, chunk, encoding, cb) {\n state.writelen = len;\n state.writecb = cb;\n state.writing = true;\n state.sync = true;\n if (state.destroyed) state.onwrite(new ERR_STREAM_DESTROYED('write'));else if (writev) stream._writev(chunk, state.onwrite);else stream._write(chunk, encoding, state.onwrite);\n state.sync = false;\n}\nfunction onwriteError(stream, state, sync, er, cb) {\n --state.pendingcb;\n if (sync) {\n // defer the callback if we are being called synchronously\n // to avoid piling up things on the stack\n process.nextTick(cb, er);\n // this can emit finish, and it will always happen\n // after error\n process.nextTick(finishMaybe, stream, state);\n stream._writableState.errorEmitted = true;\n errorOrDestroy(stream, er);\n } else {\n // the caller expect this to happen before if\n // it is async\n cb(er);\n stream._writableState.errorEmitted = true;\n errorOrDestroy(stream, er);\n // this can emit finish, but finish must\n // always follow error\n finishMaybe(stream, state);\n }\n}\nfunction onwriteStateUpdate(state) {\n state.writing = false;\n state.writecb = null;\n state.length -= state.writelen;\n state.writelen = 0;\n}\nfunction onwrite(stream, er) {\n var state = stream._writableState;\n var sync = state.sync;\n var cb = state.writecb;\n if (typeof cb !== 'function') throw new ERR_MULTIPLE_CALLBACK();\n onwriteStateUpdate(state);\n if (er) onwriteError(stream, state, sync, er, cb);else {\n // Check if we're actually ready to finish, but don't emit yet\n var finished = needFinish(state) || stream.destroyed;\n if (!finished && !state.corked && !state.bufferProcessing && state.bufferedRequest) {\n clearBuffer(stream, state);\n }\n if (sync) {\n process.nextTick(afterWrite, stream, state, finished, cb);\n } else {\n afterWrite(stream, state, finished, cb);\n }\n }\n}\nfunction afterWrite(stream, state, finished, cb) {\n if (!finished) onwriteDrain(stream, state);\n state.pendingcb--;\n cb();\n finishMaybe(stream, state);\n}\n\n// Must force callback to be called on nextTick, so that we don't\n// emit 'drain' before the write() consumer gets the 'false' return\n// value, and has a chance to attach a 'drain' listener.\nfunction onwriteDrain(stream, state) {\n if (state.length === 0 && state.needDrain) {\n state.needDrain = false;\n stream.emit('drain');\n }\n}\n\n// if there's something in the buffer waiting, then process it\nfunction clearBuffer(stream, state) {\n state.bufferProcessing = true;\n var entry = state.bufferedRequest;\n if (stream._writev && entry && entry.next) {\n // Fast case, write everything using _writev()\n var l = state.bufferedRequestCount;\n var buffer = new Array(l);\n var holder = state.corkedRequestsFree;\n holder.entry = entry;\n var count = 0;\n var allBuffers = true;\n while (entry) {\n buffer[count] = entry;\n if (!entry.isBuf) allBuffers = false;\n entry = entry.next;\n count += 1;\n }\n buffer.allBuffers = allBuffers;\n doWrite(stream, state, true, state.length, buffer, '', holder.finish);\n\n // doWrite is almost always async, defer these to save a bit of time\n // as the hot path ends with doWrite\n state.pendingcb++;\n state.lastBufferedRequest = null;\n if (holder.next) {\n state.corkedRequestsFree = holder.next;\n holder.next = null;\n } else {\n state.corkedRequestsFree = new CorkedRequest(state);\n }\n state.bufferedRequestCount = 0;\n } else {\n // Slow case, write chunks one-by-one\n while (entry) {\n var chunk = entry.chunk;\n var encoding = entry.encoding;\n var cb = entry.callback;\n var len = state.objectMode ? 1 : chunk.length;\n doWrite(stream, state, false, len, chunk, encoding, cb);\n entry = entry.next;\n state.bufferedRequestCount--;\n // if we didn't call the onwrite immediately, then\n // it means that we need to wait until it does.\n // also, that means that the chunk and cb are currently\n // being processed, so move the buffer counter past them.\n if (state.writing) {\n break;\n }\n }\n if (entry === null) state.lastBufferedRequest = null;\n }\n state.bufferedRequest = entry;\n state.bufferProcessing = false;\n}\nWritable.prototype._write = function (chunk, encoding, cb) {\n cb(new ERR_METHOD_NOT_IMPLEMENTED('_write()'));\n};\nWritable.prototype._writev = null;\nWritable.prototype.end = function (chunk, encoding, cb) {\n var state = this._writableState;\n if (typeof chunk === 'function') {\n cb = chunk;\n chunk = null;\n encoding = null;\n } else if (typeof encoding === 'function') {\n cb = encoding;\n encoding = null;\n }\n if (chunk !== null && chunk !== undefined) this.write(chunk, encoding);\n\n // .end() fully uncorks\n if (state.corked) {\n state.corked = 1;\n this.uncork();\n }\n\n // ignore unnecessary end() calls.\n if (!state.ending) endWritable(this, state, cb);\n return this;\n};\nObject.defineProperty(Writable.prototype, 'writableLength', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._writableState.length;\n }\n});\nfunction needFinish(state) {\n return state.ending && state.length === 0 && state.bufferedRequest === null && !state.finished && !state.writing;\n}\nfunction callFinal(stream, state) {\n stream._final(function (err) {\n state.pendingcb--;\n if (err) {\n errorOrDestroy(stream, err);\n }\n state.prefinished = true;\n stream.emit('prefinish');\n finishMaybe(stream, state);\n });\n}\nfunction prefinish(stream, state) {\n if (!state.prefinished && !state.finalCalled) {\n if (typeof stream._final === 'function' && !state.destroyed) {\n state.pendingcb++;\n state.finalCalled = true;\n process.nextTick(callFinal, stream, state);\n } else {\n state.prefinished = true;\n stream.emit('prefinish');\n }\n }\n}\nfunction finishMaybe(stream, state) {\n var need = needFinish(state);\n if (need) {\n prefinish(stream, state);\n if (state.pendingcb === 0) {\n state.finished = true;\n stream.emit('finish');\n if (state.autoDestroy) {\n // In case of duplex streams we need a way to detect\n // if the readable side is ready for autoDestroy as well\n var rState = stream._readableState;\n if (!rState || rState.autoDestroy && rState.endEmitted) {\n stream.destroy();\n }\n }\n }\n }\n return need;\n}\nfunction endWritable(stream, state, cb) {\n state.ending = true;\n finishMaybe(stream, state);\n if (cb) {\n if (state.finished) process.nextTick(cb);else stream.once('finish', cb);\n }\n state.ended = true;\n stream.writable = false;\n}\nfunction onCorkedFinish(corkReq, state, err) {\n var entry = corkReq.entry;\n corkReq.entry = null;\n while (entry) {\n var cb = entry.callback;\n state.pendingcb--;\n cb(err);\n entry = entry.next;\n }\n\n // reuse the free corkReq.\n state.corkedRequestsFree.next = corkReq;\n}\nObject.defineProperty(Writable.prototype, 'destroyed', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n if (this._writableState === undefined) {\n return false;\n }\n return this._writableState.destroyed;\n },\n set: function set(value) {\n // we ignore the value if the stream\n // has not been initialized yet\n if (!this._writableState) {\n return;\n }\n\n // backward compatibility, the user is explicitly\n // managing destroyed\n this._writableState.destroyed = value;\n }\n});\nWritable.prototype.destroy = destroyImpl.destroy;\nWritable.prototype._undestroy = destroyImpl.undestroy;\nWritable.prototype._destroy = function (err, cb) {\n cb(err);\n};","'use strict';\n\nvar _Object$setPrototypeO;\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return typeof key === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (typeof input !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (typeof res !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nvar finished = require('./end-of-stream');\nvar kLastResolve = Symbol('lastResolve');\nvar kLastReject = Symbol('lastReject');\nvar kError = Symbol('error');\nvar kEnded = Symbol('ended');\nvar kLastPromise = Symbol('lastPromise');\nvar kHandlePromise = Symbol('handlePromise');\nvar kStream = Symbol('stream');\nfunction createIterResult(value, done) {\n return {\n value: value,\n done: done\n };\n}\nfunction readAndResolve(iter) {\n var resolve = iter[kLastResolve];\n if (resolve !== null) {\n var data = iter[kStream].read();\n // we defer if data is null\n // we can be expecting either 'end' or\n // 'error'\n if (data !== null) {\n iter[kLastPromise] = null;\n iter[kLastResolve] = null;\n iter[kLastReject] = null;\n resolve(createIterResult(data, false));\n }\n }\n}\nfunction onReadable(iter) {\n // we wait for the next tick, because it might\n // emit an error with process.nextTick\n process.nextTick(readAndResolve, iter);\n}\nfunction wrapForNext(lastPromise, iter) {\n return function (resolve, reject) {\n lastPromise.then(function () {\n if (iter[kEnded]) {\n resolve(createIterResult(undefined, true));\n return;\n }\n iter[kHandlePromise](resolve, reject);\n }, reject);\n };\n}\nvar AsyncIteratorPrototype = Object.getPrototypeOf(function () {});\nvar ReadableStreamAsyncIteratorPrototype = Object.setPrototypeOf((_Object$setPrototypeO = {\n get stream() {\n return this[kStream];\n },\n next: function next() {\n var _this = this;\n // if we have detected an error in the meanwhile\n // reject straight away\n var error = this[kError];\n if (error !== null) {\n return Promise.reject(error);\n }\n if (this[kEnded]) {\n return Promise.resolve(createIterResult(undefined, true));\n }\n if (this[kStream].destroyed) {\n // We need to defer via nextTick because if .destroy(err) is\n // called, the error will be emitted via nextTick, and\n // we cannot guarantee that there is no error lingering around\n // waiting to be emitted.\n return new Promise(function (resolve, reject) {\n process.nextTick(function () {\n if (_this[kError]) {\n reject(_this[kError]);\n } else {\n resolve(createIterResult(undefined, true));\n }\n });\n });\n }\n\n // if we have multiple next() calls\n // we will wait for the previous Promise to finish\n // this logic is optimized to support for await loops,\n // where next() is only called once at a time\n var lastPromise = this[kLastPromise];\n var promise;\n if (lastPromise) {\n promise = new Promise(wrapForNext(lastPromise, this));\n } else {\n // fast path needed to support multiple this.push()\n // without triggering the next() queue\n var data = this[kStream].read();\n if (data !== null) {\n return Promise.resolve(createIterResult(data, false));\n }\n promise = new Promise(this[kHandlePromise]);\n }\n this[kLastPromise] = promise;\n return promise;\n }\n}, _defineProperty(_Object$setPrototypeO, Symbol.asyncIterator, function () {\n return this;\n}), _defineProperty(_Object$setPrototypeO, \"return\", function _return() {\n var _this2 = this;\n // destroy(err, cb) is a private API\n // we can guarantee we have that here, because we control the\n // Readable class this is attached to\n return new Promise(function (resolve, reject) {\n _this2[kStream].destroy(null, function (err) {\n if (err) {\n reject(err);\n return;\n }\n resolve(createIterResult(undefined, true));\n });\n });\n}), _Object$setPrototypeO), AsyncIteratorPrototype);\nvar createReadableStreamAsyncIterator = function createReadableStreamAsyncIterator(stream) {\n var _Object$create;\n var iterator = Object.create(ReadableStreamAsyncIteratorPrototype, (_Object$create = {}, _defineProperty(_Object$create, kStream, {\n value: stream,\n writable: true\n }), _defineProperty(_Object$create, kLastResolve, {\n value: null,\n writable: true\n }), _defineProperty(_Object$create, kLastReject, {\n value: null,\n writable: true\n }), _defineProperty(_Object$create, kError, {\n value: null,\n writable: true\n }), _defineProperty(_Object$create, kEnded, {\n value: stream._readableState.endEmitted,\n writable: true\n }), _defineProperty(_Object$create, kHandlePromise, {\n value: function value(resolve, reject) {\n var data = iterator[kStream].read();\n if (data) {\n iterator[kLastPromise] = null;\n iterator[kLastResolve] = null;\n iterator[kLastReject] = null;\n resolve(createIterResult(data, false));\n } else {\n iterator[kLastResolve] = resolve;\n iterator[kLastReject] = reject;\n }\n },\n writable: true\n }), _Object$create));\n iterator[kLastPromise] = null;\n finished(stream, function (err) {\n if (err && err.code !== 'ERR_STREAM_PREMATURE_CLOSE') {\n var reject = iterator[kLastReject];\n // reject if we are waiting for data in the Promise\n // returned by next() and store the error\n if (reject !== null) {\n iterator[kLastPromise] = null;\n iterator[kLastResolve] = null;\n iterator[kLastReject] = null;\n reject(err);\n }\n iterator[kError] = err;\n return;\n }\n var resolve = iterator[kLastResolve];\n if (resolve !== null) {\n iterator[kLastPromise] = null;\n iterator[kLastResolve] = null;\n iterator[kLastReject] = null;\n resolve(createIterResult(undefined, true));\n }\n iterator[kEnded] = true;\n });\n stream.on('readable', onReadable.bind(null, iterator));\n return iterator;\n};\nmodule.exports = createReadableStreamAsyncIterator;","'use strict';\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return typeof key === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (typeof input !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (typeof res !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nvar _require = require('buffer'),\n Buffer = _require.Buffer;\nvar _require2 = require('util'),\n inspect = _require2.inspect;\nvar custom = inspect && inspect.custom || 'inspect';\nfunction copyBuffer(src, target, offset) {\n Buffer.prototype.copy.call(src, target, offset);\n}\nmodule.exports = /*#__PURE__*/function () {\n function BufferList() {\n _classCallCheck(this, BufferList);\n this.head = null;\n this.tail = null;\n this.length = 0;\n }\n _createClass(BufferList, [{\n key: \"push\",\n value: function push(v) {\n var entry = {\n data: v,\n next: null\n };\n if (this.length > 0) this.tail.next = entry;else this.head = entry;\n this.tail = entry;\n ++this.length;\n }\n }, {\n key: \"unshift\",\n value: function unshift(v) {\n var entry = {\n data: v,\n next: this.head\n };\n if (this.length === 0) this.tail = entry;\n this.head = entry;\n ++this.length;\n }\n }, {\n key: \"shift\",\n value: function shift() {\n if (this.length === 0) return;\n var ret = this.head.data;\n if (this.length === 1) this.head = this.tail = null;else this.head = this.head.next;\n --this.length;\n return ret;\n }\n }, {\n key: \"clear\",\n value: function clear() {\n this.head = this.tail = null;\n this.length = 0;\n }\n }, {\n key: \"join\",\n value: function join(s) {\n if (this.length === 0) return '';\n var p = this.head;\n var ret = '' + p.data;\n while (p = p.next) ret += s + p.data;\n return ret;\n }\n }, {\n key: \"concat\",\n value: function concat(n) {\n if (this.length === 0) return Buffer.alloc(0);\n var ret = Buffer.allocUnsafe(n >>> 0);\n var p = this.head;\n var i = 0;\n while (p) {\n copyBuffer(p.data, ret, i);\n i += p.data.length;\n p = p.next;\n }\n return ret;\n }\n\n // Consumes a specified amount of bytes or characters from the buffered data.\n }, {\n key: \"consume\",\n value: function consume(n, hasStrings) {\n var ret;\n if (n < this.head.data.length) {\n // `slice` is the same for buffers and strings.\n ret = this.head.data.slice(0, n);\n this.head.data = this.head.data.slice(n);\n } else if (n === this.head.data.length) {\n // First chunk is a perfect match.\n ret = this.shift();\n } else {\n // Result spans more than one buffer.\n ret = hasStrings ? this._getString(n) : this._getBuffer(n);\n }\n return ret;\n }\n }, {\n key: \"first\",\n value: function first() {\n return this.head.data;\n }\n\n // Consumes a specified amount of characters from the buffered data.\n }, {\n key: \"_getString\",\n value: function _getString(n) {\n var p = this.head;\n var c = 1;\n var ret = p.data;\n n -= ret.length;\n while (p = p.next) {\n var str = p.data;\n var nb = n > str.length ? str.length : n;\n if (nb === str.length) ret += str;else ret += str.slice(0, n);\n n -= nb;\n if (n === 0) {\n if (nb === str.length) {\n ++c;\n if (p.next) this.head = p.next;else this.head = this.tail = null;\n } else {\n this.head = p;\n p.data = str.slice(nb);\n }\n break;\n }\n ++c;\n }\n this.length -= c;\n return ret;\n }\n\n // Consumes a specified amount of bytes from the buffered data.\n }, {\n key: \"_getBuffer\",\n value: function _getBuffer(n) {\n var ret = Buffer.allocUnsafe(n);\n var p = this.head;\n var c = 1;\n p.data.copy(ret);\n n -= p.data.length;\n while (p = p.next) {\n var buf = p.data;\n var nb = n > buf.length ? buf.length : n;\n buf.copy(ret, ret.length - n, 0, nb);\n n -= nb;\n if (n === 0) {\n if (nb === buf.length) {\n ++c;\n if (p.next) this.head = p.next;else this.head = this.tail = null;\n } else {\n this.head = p;\n p.data = buf.slice(nb);\n }\n break;\n }\n ++c;\n }\n this.length -= c;\n return ret;\n }\n\n // Make sure the linked list only shows the minimal necessary information.\n }, {\n key: custom,\n value: function value(_, options) {\n return inspect(this, _objectSpread(_objectSpread({}, options), {}, {\n // Only inspect one level.\n depth: 0,\n // It should not recurse.\n customInspect: false\n }));\n }\n }]);\n return BufferList;\n}();","'use strict';\n\n// undocumented cb() API, needed for core, not for public API\nfunction destroy(err, cb) {\n var _this = this;\n var readableDestroyed = this._readableState && this._readableState.destroyed;\n var writableDestroyed = this._writableState && this._writableState.destroyed;\n if (readableDestroyed || writableDestroyed) {\n if (cb) {\n cb(err);\n } else if (err) {\n if (!this._writableState) {\n process.nextTick(emitErrorNT, this, err);\n } else if (!this._writableState.errorEmitted) {\n this._writableState.errorEmitted = true;\n process.nextTick(emitErrorNT, this, err);\n }\n }\n return this;\n }\n\n // we set destroyed to true before firing error callbacks in order\n // to make it re-entrance safe in case destroy() is called within callbacks\n\n if (this._readableState) {\n this._readableState.destroyed = true;\n }\n\n // if this is a duplex stream mark the writable part as destroyed as well\n if (this._writableState) {\n this._writableState.destroyed = true;\n }\n this._destroy(err || null, function (err) {\n if (!cb && err) {\n if (!_this._writableState) {\n process.nextTick(emitErrorAndCloseNT, _this, err);\n } else if (!_this._writableState.errorEmitted) {\n _this._writableState.errorEmitted = true;\n process.nextTick(emitErrorAndCloseNT, _this, err);\n } else {\n process.nextTick(emitCloseNT, _this);\n }\n } else if (cb) {\n process.nextTick(emitCloseNT, _this);\n cb(err);\n } else {\n process.nextTick(emitCloseNT, _this);\n }\n });\n return this;\n}\nfunction emitErrorAndCloseNT(self, err) {\n emitErrorNT(self, err);\n emitCloseNT(self);\n}\nfunction emitCloseNT(self) {\n if (self._writableState && !self._writableState.emitClose) return;\n if (self._readableState && !self._readableState.emitClose) return;\n self.emit('close');\n}\nfunction undestroy() {\n if (this._readableState) {\n this._readableState.destroyed = false;\n this._readableState.reading = false;\n this._readableState.ended = false;\n this._readableState.endEmitted = false;\n }\n if (this._writableState) {\n this._writableState.destroyed = false;\n this._writableState.ended = false;\n this._writableState.ending = false;\n this._writableState.finalCalled = false;\n this._writableState.prefinished = false;\n this._writableState.finished = false;\n this._writableState.errorEmitted = false;\n }\n}\nfunction emitErrorNT(self, err) {\n self.emit('error', err);\n}\nfunction errorOrDestroy(stream, err) {\n // We have tests that rely on errors being emitted\n // in the same tick, so changing this is semver major.\n // For now when you opt-in to autoDestroy we allow\n // the error to be emitted nextTick. In a future\n // semver major update we should change the default to this.\n\n var rState = stream._readableState;\n var wState = stream._writableState;\n if (rState && rState.autoDestroy || wState && wState.autoDestroy) stream.destroy(err);else stream.emit('error', err);\n}\nmodule.exports = {\n destroy: destroy,\n undestroy: undestroy,\n errorOrDestroy: errorOrDestroy\n};","// Ported from https://github.com/mafintosh/end-of-stream with\n// permission from the author, Mathias Buus (@mafintosh).\n\n'use strict';\n\nvar ERR_STREAM_PREMATURE_CLOSE = require('../../../errors').codes.ERR_STREAM_PREMATURE_CLOSE;\nfunction once(callback) {\n var called = false;\n return function () {\n if (called) return;\n called = true;\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n callback.apply(this, args);\n };\n}\nfunction noop() {}\nfunction isRequest(stream) {\n return stream.setHeader && typeof stream.abort === 'function';\n}\nfunction eos(stream, opts, callback) {\n if (typeof opts === 'function') return eos(stream, null, opts);\n if (!opts) opts = {};\n callback = once(callback || noop);\n var readable = opts.readable || opts.readable !== false && stream.readable;\n var writable = opts.writable || opts.writable !== false && stream.writable;\n var onlegacyfinish = function onlegacyfinish() {\n if (!stream.writable) onfinish();\n };\n var writableEnded = stream._writableState && stream._writableState.finished;\n var onfinish = function onfinish() {\n writable = false;\n writableEnded = true;\n if (!readable) callback.call(stream);\n };\n var readableEnded = stream._readableState && stream._readableState.endEmitted;\n var onend = function onend() {\n readable = false;\n readableEnded = true;\n if (!writable) callback.call(stream);\n };\n var onerror = function onerror(err) {\n callback.call(stream, err);\n };\n var onclose = function onclose() {\n var err;\n if (readable && !readableEnded) {\n if (!stream._readableState || !stream._readableState.ended) err = new ERR_STREAM_PREMATURE_CLOSE();\n return callback.call(stream, err);\n }\n if (writable && !writableEnded) {\n if (!stream._writableState || !stream._writableState.ended) err = new ERR_STREAM_PREMATURE_CLOSE();\n return callback.call(stream, err);\n }\n };\n var onrequest = function onrequest() {\n stream.req.on('finish', onfinish);\n };\n if (isRequest(stream)) {\n stream.on('complete', onfinish);\n stream.on('abort', onclose);\n if (stream.req) onrequest();else stream.on('request', onrequest);\n } else if (writable && !stream._writableState) {\n // legacy streams\n stream.on('end', onlegacyfinish);\n stream.on('close', onlegacyfinish);\n }\n stream.on('end', onend);\n stream.on('finish', onfinish);\n if (opts.error !== false) stream.on('error', onerror);\n stream.on('close', onclose);\n return function () {\n stream.removeListener('complete', onfinish);\n stream.removeListener('abort', onclose);\n stream.removeListener('request', onrequest);\n if (stream.req) stream.req.removeListener('finish', onfinish);\n stream.removeListener('end', onlegacyfinish);\n stream.removeListener('close', onlegacyfinish);\n stream.removeListener('finish', onfinish);\n stream.removeListener('end', onend);\n stream.removeListener('error', onerror);\n stream.removeListener('close', onclose);\n };\n}\nmodule.exports = eos;","module.exports = function () {\n throw new Error('Readable.from is not available in the browser')\n};\n","// Ported from https://github.com/mafintosh/pump with\n// permission from the author, Mathias Buus (@mafintosh).\n\n'use strict';\n\nvar eos;\nfunction once(callback) {\n var called = false;\n return function () {\n if (called) return;\n called = true;\n callback.apply(void 0, arguments);\n };\n}\nvar _require$codes = require('../../../errors').codes,\n ERR_MISSING_ARGS = _require$codes.ERR_MISSING_ARGS,\n ERR_STREAM_DESTROYED = _require$codes.ERR_STREAM_DESTROYED;\nfunction noop(err) {\n // Rethrow the error if it exists to avoid swallowing it\n if (err) throw err;\n}\nfunction isRequest(stream) {\n return stream.setHeader && typeof stream.abort === 'function';\n}\nfunction destroyer(stream, reading, writing, callback) {\n callback = once(callback);\n var closed = false;\n stream.on('close', function () {\n closed = true;\n });\n if (eos === undefined) eos = require('./end-of-stream');\n eos(stream, {\n readable: reading,\n writable: writing\n }, function (err) {\n if (err) return callback(err);\n closed = true;\n callback();\n });\n var destroyed = false;\n return function (err) {\n if (closed) return;\n if (destroyed) return;\n destroyed = true;\n\n // request.destroy just do .end - .abort is what we want\n if (isRequest(stream)) return stream.abort();\n if (typeof stream.destroy === 'function') return stream.destroy();\n callback(err || new ERR_STREAM_DESTROYED('pipe'));\n };\n}\nfunction call(fn) {\n fn();\n}\nfunction pipe(from, to) {\n return from.pipe(to);\n}\nfunction popCallback(streams) {\n if (!streams.length) return noop;\n if (typeof streams[streams.length - 1] !== 'function') return noop;\n return streams.pop();\n}\nfunction pipeline() {\n for (var _len = arguments.length, streams = new Array(_len), _key = 0; _key < _len; _key++) {\n streams[_key] = arguments[_key];\n }\n var callback = popCallback(streams);\n if (Array.isArray(streams[0])) streams = streams[0];\n if (streams.length < 2) {\n throw new ERR_MISSING_ARGS('streams');\n }\n var error;\n var destroys = streams.map(function (stream, i) {\n var reading = i < streams.length - 1;\n var writing = i > 0;\n return destroyer(stream, reading, writing, function (err) {\n if (!error) error = err;\n if (err) destroys.forEach(call);\n if (reading) return;\n destroys.forEach(call);\n callback(error);\n });\n });\n return streams.reduce(pipe);\n}\nmodule.exports = pipeline;","'use strict';\n\nvar ERR_INVALID_OPT_VALUE = require('../../../errors').codes.ERR_INVALID_OPT_VALUE;\nfunction highWaterMarkFrom(options, isDuplex, duplexKey) {\n return options.highWaterMark != null ? options.highWaterMark : isDuplex ? options[duplexKey] : null;\n}\nfunction getHighWaterMark(state, options, duplexKey, isDuplex) {\n var hwm = highWaterMarkFrom(options, isDuplex, duplexKey);\n if (hwm != null) {\n if (!(isFinite(hwm) && Math.floor(hwm) === hwm) || hwm < 0) {\n var name = isDuplex ? duplexKey : 'highWaterMark';\n throw new ERR_INVALID_OPT_VALUE(name, hwm);\n }\n return Math.floor(hwm);\n }\n\n // Default value\n return state.objectMode ? 16 : 16 * 1024;\n}\nmodule.exports = {\n getHighWaterMark: getHighWaterMark\n};","module.exports = require('events').EventEmitter;\n","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n'use strict';\n\n/*<replacement>*/\n\nvar Buffer = require('safe-buffer').Buffer;\n/*</replacement>*/\n\nvar isEncoding = Buffer.isEncoding || function (encoding) {\n encoding = '' + encoding;\n switch (encoding && encoding.toLowerCase()) {\n case 'hex':case 'utf8':case 'utf-8':case 'ascii':case 'binary':case 'base64':case 'ucs2':case 'ucs-2':case 'utf16le':case 'utf-16le':case 'raw':\n return true;\n default:\n return false;\n }\n};\n\nfunction _normalizeEncoding(enc) {\n if (!enc) return 'utf8';\n var retried;\n while (true) {\n switch (enc) {\n case 'utf8':\n case 'utf-8':\n return 'utf8';\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return 'utf16le';\n case 'latin1':\n case 'binary':\n return 'latin1';\n case 'base64':\n case 'ascii':\n case 'hex':\n return enc;\n default:\n if (retried) return; // undefined\n enc = ('' + enc).toLowerCase();\n retried = true;\n }\n }\n};\n\n// Do not cache `Buffer.isEncoding` when checking encoding names as some\n// modules monkey-patch it to support additional encodings\nfunction normalizeEncoding(enc) {\n var nenc = _normalizeEncoding(enc);\n if (typeof nenc !== 'string' && (Buffer.isEncoding === isEncoding || !isEncoding(enc))) throw new Error('Unknown encoding: ' + enc);\n return nenc || enc;\n}\n\n// StringDecoder provides an interface for efficiently splitting a series of\n// buffers into a series of JS strings without breaking apart multi-byte\n// characters.\nexports.StringDecoder = StringDecoder;\nfunction StringDecoder(encoding) {\n this.encoding = normalizeEncoding(encoding);\n var nb;\n switch (this.encoding) {\n case 'utf16le':\n this.text = utf16Text;\n this.end = utf16End;\n nb = 4;\n break;\n case 'utf8':\n this.fillLast = utf8FillLast;\n nb = 4;\n break;\n case 'base64':\n this.text = base64Text;\n this.end = base64End;\n nb = 3;\n break;\n default:\n this.write = simpleWrite;\n this.end = simpleEnd;\n return;\n }\n this.lastNeed = 0;\n this.lastTotal = 0;\n this.lastChar = Buffer.allocUnsafe(nb);\n}\n\nStringDecoder.prototype.write = function (buf) {\n if (buf.length === 0) return '';\n var r;\n var i;\n if (this.lastNeed) {\n r = this.fillLast(buf);\n if (r === undefined) return '';\n i = this.lastNeed;\n this.lastNeed = 0;\n } else {\n i = 0;\n }\n if (i < buf.length) return r ? r + this.text(buf, i) : this.text(buf, i);\n return r || '';\n};\n\nStringDecoder.prototype.end = utf8End;\n\n// Returns only complete characters in a Buffer\nStringDecoder.prototype.text = utf8Text;\n\n// Attempts to complete a partial non-UTF-8 character using bytes from a Buffer\nStringDecoder.prototype.fillLast = function (buf) {\n if (this.lastNeed <= buf.length) {\n buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed);\n return this.lastChar.toString(this.encoding, 0, this.lastTotal);\n }\n buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, buf.length);\n this.lastNeed -= buf.length;\n};\n\n// Checks the type of a UTF-8 byte, whether it's ASCII, a leading byte, or a\n// continuation byte. If an invalid byte is detected, -2 is returned.\nfunction utf8CheckByte(byte) {\n if (byte <= 0x7F) return 0;else if (byte >> 5 === 0x06) return 2;else if (byte >> 4 === 0x0E) return 3;else if (byte >> 3 === 0x1E) return 4;\n return byte >> 6 === 0x02 ? -1 : -2;\n}\n\n// Checks at most 3 bytes at the end of a Buffer in order to detect an\n// incomplete multi-byte UTF-8 character. The total number of bytes (2, 3, or 4)\n// needed to complete the UTF-8 character (if applicable) are returned.\nfunction utf8CheckIncomplete(self, buf, i) {\n var j = buf.length - 1;\n if (j < i) return 0;\n var nb = utf8CheckByte(buf[j]);\n if (nb >= 0) {\n if (nb > 0) self.lastNeed = nb - 1;\n return nb;\n }\n if (--j < i || nb === -2) return 0;\n nb = utf8CheckByte(buf[j]);\n if (nb >= 0) {\n if (nb > 0) self.lastNeed = nb - 2;\n return nb;\n }\n if (--j < i || nb === -2) return 0;\n nb = utf8CheckByte(buf[j]);\n if (nb >= 0) {\n if (nb > 0) {\n if (nb === 2) nb = 0;else self.lastNeed = nb - 3;\n }\n return nb;\n }\n return 0;\n}\n\n// Validates as many continuation bytes for a multi-byte UTF-8 character as\n// needed or are available. If we see a non-continuation byte where we expect\n// one, we \"replace\" the validated continuation bytes we've seen so far with\n// a single UTF-8 replacement character ('\\ufffd'), to match v8's UTF-8 decoding\n// behavior. The continuation byte check is included three times in the case\n// where all of the continuation bytes for a character exist in the same buffer.\n// It is also done this way as a slight performance increase instead of using a\n// loop.\nfunction utf8CheckExtraBytes(self, buf, p) {\n if ((buf[0] & 0xC0) !== 0x80) {\n self.lastNeed = 0;\n return '\\ufffd';\n }\n if (self.lastNeed > 1 && buf.length > 1) {\n if ((buf[1] & 0xC0) !== 0x80) {\n self.lastNeed = 1;\n return '\\ufffd';\n }\n if (self.lastNeed > 2 && buf.length > 2) {\n if ((buf[2] & 0xC0) !== 0x80) {\n self.lastNeed = 2;\n return '\\ufffd';\n }\n }\n }\n}\n\n// Attempts to complete a multi-byte UTF-8 character using bytes from a Buffer.\nfunction utf8FillLast(buf) {\n var p = this.lastTotal - this.lastNeed;\n var r = utf8CheckExtraBytes(this, buf, p);\n if (r !== undefined) return r;\n if (this.lastNeed <= buf.length) {\n buf.copy(this.lastChar, p, 0, this.lastNeed);\n return this.lastChar.toString(this.encoding, 0, this.lastTotal);\n }\n buf.copy(this.lastChar, p, 0, buf.length);\n this.lastNeed -= buf.length;\n}\n\n// Returns all complete UTF-8 characters in a Buffer. If the Buffer ended on a\n// partial character, the character's bytes are buffered until the required\n// number of bytes are available.\nfunction utf8Text(buf, i) {\n var total = utf8CheckIncomplete(this, buf, i);\n if (!this.lastNeed) return buf.toString('utf8', i);\n this.lastTotal = total;\n var end = buf.length - (total - this.lastNeed);\n buf.copy(this.lastChar, 0, end);\n return buf.toString('utf8', i, end);\n}\n\n// For UTF-8, a replacement character is added when ending on a partial\n// character.\nfunction utf8End(buf) {\n var r = buf && buf.length ? this.write(buf) : '';\n if (this.lastNeed) return r + '\\ufffd';\n return r;\n}\n\n// UTF-16LE typically needs two bytes per character, but even if we have an even\n// number of bytes available, we need to check if we end on a leading/high\n// surrogate. In that case, we need to wait for the next two bytes in order to\n// decode the last character properly.\nfunction utf16Text(buf, i) {\n if ((buf.length - i) % 2 === 0) {\n var r = buf.toString('utf16le', i);\n if (r) {\n var c = r.charCodeAt(r.length - 1);\n if (c >= 0xD800 && c <= 0xDBFF) {\n this.lastNeed = 2;\n this.lastTotal = 4;\n this.lastChar[0] = buf[buf.length - 2];\n this.lastChar[1] = buf[buf.length - 1];\n return r.slice(0, -1);\n }\n }\n return r;\n }\n this.lastNeed = 1;\n this.lastTotal = 2;\n this.lastChar[0] = buf[buf.length - 1];\n return buf.toString('utf16le', i, buf.length - 1);\n}\n\n// For UTF-16LE we do not explicitly append special replacement characters if we\n// end on a partial character, we simply let v8 handle that.\nfunction utf16End(buf) {\n var r = buf && buf.length ? this.write(buf) : '';\n if (this.lastNeed) {\n var end = this.lastTotal - this.lastNeed;\n return r + this.lastChar.toString('utf16le', 0, end);\n }\n return r;\n}\n\nfunction base64Text(buf, i) {\n var n = (buf.length - i) % 3;\n if (n === 0) return buf.toString('base64', i);\n this.lastNeed = 3 - n;\n this.lastTotal = 3;\n if (n === 1) {\n this.lastChar[0] = buf[buf.length - 1];\n } else {\n this.lastChar[0] = buf[buf.length - 2];\n this.lastChar[1] = buf[buf.length - 1];\n }\n return buf.toString('base64', i, buf.length - n);\n}\n\nfunction base64End(buf) {\n var r = buf && buf.length ? this.write(buf) : '';\n if (this.lastNeed) return r + this.lastChar.toString('base64', 0, 3 - this.lastNeed);\n return r;\n}\n\n// Pass bytes on through for single-byte encodings (e.g. ascii, latin1, hex)\nfunction simpleWrite(buf) {\n return buf.toString(this.encoding);\n}\n\nfunction simpleEnd(buf) {\n return buf && buf.length ? this.write(buf) : '';\n}","/* eslint-disable node/no-deprecated-api */\nvar buffer = require('buffer')\nvar Buffer = buffer.Buffer\n\n// alternative to using Object.keys for old browsers\nfunction copyProps (src, dst) {\n for (var key in src) {\n dst[key] = src[key]\n }\n}\nif (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) {\n module.exports = buffer\n} else {\n // Copy properties from require('buffer')\n copyProps(buffer, exports)\n exports.Buffer = SafeBuffer\n}\n\nfunction SafeBuffer (arg, encodingOrOffset, length) {\n return Buffer(arg, encodingOrOffset, length)\n}\n\n// Copy static methods from Buffer\ncopyProps(Buffer, SafeBuffer)\n\nSafeBuffer.from = function (arg, encodingOrOffset, length) {\n if (typeof arg === 'number') {\n throw new TypeError('Argument must not be a number')\n }\n return Buffer(arg, encodingOrOffset, length)\n}\n\nSafeBuffer.alloc = function (size, fill, encoding) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n var buf = Buffer(size)\n if (fill !== undefined) {\n if (typeof encoding === 'string') {\n buf.fill(fill, encoding)\n } else {\n buf.fill(fill)\n }\n } else {\n buf.fill(0)\n }\n return buf\n}\n\nSafeBuffer.allocUnsafe = function (size) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n return Buffer(size)\n}\n\nSafeBuffer.allocUnsafeSlow = function (size) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n return buffer.SlowBuffer(size)\n}\n","const hexRegex = /^[-+]?0x[a-fA-F0-9]+$/;\nconst numRegex = /^([\\-\\+])?(0*)(\\.[0-9]+([eE]\\-?[0-9]+)?|[0-9]+(\\.[0-9]+([eE]\\-?[0-9]+)?)?)$/;\n// const octRegex = /0x[a-z0-9]+/;\n// const binRegex = /0x[a-z0-9]+/;\n\n\n//polyfill\nif (!Number.parseInt && window.parseInt) {\n Number.parseInt = window.parseInt;\n}\nif (!Number.parseFloat && window.parseFloat) {\n Number.parseFloat = window.parseFloat;\n}\n\n \nconst consider = {\n hex : true,\n leadingZeros: true,\n decimalPoint: \"\\.\",\n eNotation: true\n //skipLike: /regex/\n};\n\nfunction toNumber(str, options = {}){\n // const options = Object.assign({}, consider);\n // if(opt.leadingZeros === false){\n // options.leadingZeros = false;\n // }else if(opt.hex === false){\n // options.hex = false;\n // }\n\n options = Object.assign({}, consider, options );\n if(!str || typeof str !== \"string\" ) return str;\n \n let trimmedStr = str.trim();\n // if(trimmedStr === \"0.0\") return 0;\n // else if(trimmedStr === \"+0.0\") return 0;\n // else if(trimmedStr === \"-0.0\") return -0;\n\n if(options.skipLike !== undefined && options.skipLike.test(trimmedStr)) return str;\n else if (options.hex && hexRegex.test(trimmedStr)) {\n return Number.parseInt(trimmedStr, 16);\n // } else if (options.parseOct && octRegex.test(str)) {\n // return Number.parseInt(val, 8);\n // }else if (options.parseBin && binRegex.test(str)) {\n // return Number.parseInt(val, 2);\n }else{\n //separate negative sign, leading zeros, and rest number\n const match = numRegex.exec(trimmedStr);\n if(match){\n const sign = match[1];\n const leadingZeros = match[2];\n let numTrimmedByZeros = trimZeros(match[3]); //complete num without leading zeros\n //trim ending zeros for floating number\n \n const eNotation = match[4] || match[6];\n if(!options.leadingZeros && leadingZeros.length > 0 && sign && trimmedStr[2] !== \".\") return str; //-0123\n else if(!options.leadingZeros && leadingZeros.length > 0 && !sign && trimmedStr[1] !== \".\") return str; //0123\n else{//no leading zeros or leading zeros are allowed\n const num = Number(trimmedStr);\n const numStr = \"\" + num;\n if(numStr.search(/[eE]/) !== -1){ //given number is long and parsed to eNotation\n if(options.eNotation) return num;\n else return str;\n }else if(eNotation){ //given number has enotation\n if(options.eNotation) return num;\n else return str;\n }else if(trimmedStr.indexOf(\".\") !== -1){ //floating number\n // const decimalPart = match[5].substr(1);\n // const intPart = trimmedStr.substr(0,trimmedStr.indexOf(\".\"));\n\n \n // const p = numStr.indexOf(\".\");\n // const givenIntPart = numStr.substr(0,p);\n // const givenDecPart = numStr.substr(p+1);\n if(numStr === \"0\" && (numTrimmedByZeros === \"\") ) return num; //0.0\n else if(numStr === numTrimmedByZeros) return num; //0.456. 0.79000\n else if( sign && numStr === \"-\"+numTrimmedByZeros) return num;\n else return str;\n }\n \n if(leadingZeros){\n // if(numTrimmedByZeros === numStr){\n // if(options.leadingZeros) return num;\n // else return str;\n // }else return str;\n if(numTrimmedByZeros === numStr) return num;\n else if(sign+numTrimmedByZeros === numStr) return num;\n else return str;\n }\n\n if(trimmedStr === numStr) return num;\n else if(trimmedStr === sign+numStr) return num;\n // else{\n // //number with +/- sign\n // trimmedStr.test(/[-+][0-9]);\n\n // }\n return str;\n }\n // else if(!eNotation && trimmedStr && trimmedStr !== Number(trimmedStr) ) return str;\n \n }else{ //non-numeric string\n return str;\n }\n }\n}\n\n/**\n * \n * @param {string} numStr without leading zeros\n * @returns \n */\nfunction trimZeros(numStr){\n if(numStr && numStr.indexOf(\".\") !== -1){//float\n numStr = numStr.replace(/0+$/, \"\"); //remove ending zeros\n if(numStr === \".\") numStr = \"0\";\n else if(numStr[0] === \".\") numStr = \"0\"+numStr;\n else if(numStr[numStr.length-1] === \".\") numStr = numStr.substr(0,numStr.length-1);\n return numStr;\n }\n return numStr;\n}\nmodule.exports = toNumber\n","\n/**\n * Module exports.\n */\n\nmodule.exports = deprecate;\n\n/**\n * Mark that a method should not be used.\n * Returns a modified function which warns once by default.\n *\n * If `localStorage.noDeprecation = true` is set, then it is a no-op.\n *\n * If `localStorage.throwDeprecation = true` is set, then deprecated functions\n * will throw an Error when invoked.\n *\n * If `localStorage.traceDeprecation = true` is set, then deprecated functions\n * will invoke `console.trace()` instead of `console.error()`.\n *\n * @param {Function} fn - the function to deprecate\n * @param {String} msg - the string to print to the console when `fn` is invoked\n * @returns {Function} a new \"deprecated\" version of `fn`\n * @api public\n */\n\nfunction deprecate (fn, msg) {\n if (config('noDeprecation')) {\n return fn;\n }\n\n var warned = false;\n function deprecated() {\n if (!warned) {\n if (config('throwDeprecation')) {\n throw new Error(msg);\n } else if (config('traceDeprecation')) {\n console.trace(msg);\n } else {\n console.warn(msg);\n }\n warned = true;\n }\n return fn.apply(this, arguments);\n }\n\n return deprecated;\n}\n\n/**\n * Checks `localStorage` for boolean values for the given `name`.\n *\n * @param {String} name\n * @returns {Boolean}\n * @api private\n */\n\nfunction config (name) {\n // accessing global.localStorage can trigger a DOMException in sandboxed iframes\n try {\n if (!global.localStorage) return false;\n } catch (_) {\n return false;\n }\n var val = global.localStorage[name];\n if (null == val) return false;\n return String(val).toLowerCase() === 'true';\n}\n","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to get private field on non-instance\");\r\n }\r\n return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to set private field on non-instance\");\r\n }\r\n privateMap.set(receiver, value);\r\n return value;\r\n}\r\n","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to get private field on non-instance\");\r\n }\r\n return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to set private field on non-instance\");\r\n }\r\n privateMap.set(receiver, value);\r\n return value;\r\n}\r\n","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to get private field on non-instance\");\r\n }\r\n return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to set private field on non-instance\");\r\n }\r\n privateMap.set(receiver, value);\r\n return value;\r\n}\r\n","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to get private field on non-instance\");\r\n }\r\n return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to set private field on non-instance\");\r\n }\r\n privateMap.set(receiver, value);\r\n return value;\r\n}\r\n","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to get private field on non-instance\");\r\n }\r\n return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to set private field on non-instance\");\r\n }\r\n privateMap.set(receiver, value);\r\n return value;\r\n}\r\n","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to get private field on non-instance\");\r\n }\r\n return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to set private field on non-instance\");\r\n }\r\n privateMap.set(receiver, value);\r\n return value;\r\n}\r\n","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to get private field on non-instance\");\r\n }\r\n return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to set private field on non-instance\");\r\n }\r\n privateMap.set(receiver, value);\r\n return value;\r\n}\r\n","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to get private field on non-instance\");\r\n }\r\n return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to set private field on non-instance\");\r\n }\r\n privateMap.set(receiver, value);\r\n return value;\r\n}\r\n","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to get private field on non-instance\");\r\n }\r\n return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to set private field on non-instance\");\r\n }\r\n privateMap.set(receiver, value);\r\n return value;\r\n}\r\n","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to get private field on non-instance\");\r\n }\r\n return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to set private field on non-instance\");\r\n }\r\n privateMap.set(receiver, value);\r\n return value;\r\n}\r\n","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to get private field on non-instance\");\r\n }\r\n return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to set private field on non-instance\");\r\n }\r\n privateMap.set(receiver, value);\r\n return value;\r\n}\r\n","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to get private field on non-instance\");\r\n }\r\n return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to set private field on non-instance\");\r\n }\r\n privateMap.set(receiver, value);\r\n return value;\r\n}\r\n","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to get private field on non-instance\");\r\n }\r\n return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to set private field on non-instance\");\r\n }\r\n privateMap.set(receiver, value);\r\n return value;\r\n}\r\n","function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}\nmodule.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}\nmodule.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\nmodule.exports = _classCallCheck, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var toPropertyKey = require(\"./toPropertyKey.js\");\nfunction _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, toPropertyKey(descriptor.key), descriptor);\n }\n}\nfunction _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}\nmodule.exports = _createClass, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var toPropertyKey = require(\"./toPropertyKey.js\");\nfunction _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nmodule.exports = _defineProperty, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _iterableToArrayLimit(arr, i) {\n var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"];\n if (null != _i) {\n var _s,\n _e,\n _x,\n _r,\n _arr = [],\n _n = !0,\n _d = !1;\n try {\n if (_x = (_i = _i.call(arr)).next, 0 === i) {\n if (Object(_i) !== _i) return;\n _n = !1;\n } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);\n } catch (err) {\n _d = !0, _e = err;\n } finally {\n try {\n if (!_n && null != _i[\"return\"] && (_r = _i[\"return\"](), Object(_r) !== _r)) return;\n } finally {\n if (_d) throw _e;\n }\n }\n return _arr;\n }\n}\nmodule.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nmodule.exports = _nonIterableRest, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var arrayWithHoles = require(\"./arrayWithHoles.js\");\nvar iterableToArrayLimit = require(\"./iterableToArrayLimit.js\");\nvar unsupportedIterableToArray = require(\"./unsupportedIterableToArray.js\");\nvar nonIterableRest = require(\"./nonIterableRest.js\");\nfunction _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}\nmodule.exports = _slicedToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nfunction _toPrimitive(input, hint) {\n if (_typeof(input) !== \"object\" || input === null) return input;\n var prim = input[Symbol.toPrimitive];\n if (prim !== undefined) {\n var res = prim.call(input, hint || \"default\");\n if (_typeof(res) !== \"object\") return res;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (hint === \"string\" ? String : Number)(input);\n}\nmodule.exports = _toPrimitive, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nvar toPrimitive = require(\"./toPrimitive.js\");\nfunction _toPropertyKey(arg) {\n var key = toPrimitive(arg, \"string\");\n return _typeof(key) === \"symbol\" ? key : String(key);\n}\nmodule.exports = _toPropertyKey, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return (module.exports = _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports), _typeof(obj);\n}\nmodule.exports = _typeof, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var arrayLikeToArray = require(\"./arrayLikeToArray.js\");\nfunction _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}\nmodule.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","import * as i0 from '@angular/core';\nimport { InjectionToken, Injectable, Inject, makeEnvironmentProviders, NgModule } from '@angular/core';\nimport * as i2 from '@ngrx/store';\nimport { ActionsSubject, UPDATE, INIT, INITIAL_STATE, StateObservable, ReducerManagerDispatcher } from '@ngrx/store';\nimport { EMPTY, Observable, of, merge, queueScheduler, ReplaySubject } from 'rxjs';\nimport { share, filter, map, concatMap, timeout, debounceTime, catchError, take, takeUntil, switchMap, skip, observeOn, withLatestFrom, scan } from 'rxjs/operators';\nimport { toSignal } from '@angular/core/rxjs-interop';\n\nconst PERFORM_ACTION = 'PERFORM_ACTION';\nconst REFRESH = 'REFRESH';\nconst RESET = 'RESET';\nconst ROLLBACK = 'ROLLBACK';\nconst COMMIT = 'COMMIT';\nconst SWEEP = 'SWEEP';\nconst TOGGLE_ACTION = 'TOGGLE_ACTION';\nconst SET_ACTIONS_ACTIVE = 'SET_ACTIONS_ACTIVE';\nconst JUMP_TO_STATE = 'JUMP_TO_STATE';\nconst JUMP_TO_ACTION = 'JUMP_TO_ACTION';\nconst IMPORT_STATE = 'IMPORT_STATE';\nconst LOCK_CHANGES = 'LOCK_CHANGES';\nconst PAUSE_RECORDING = 'PAUSE_RECORDING';\nclass PerformAction {\n constructor(action, timestamp) {\n this.action = action;\n this.timestamp = timestamp;\n this.type = PERFORM_ACTION;\n if (typeof action.type === 'undefined') {\n throw new Error('Actions may not have an undefined \"type\" property. ' +\n 'Have you misspelled a constant?');\n }\n }\n}\nclass Refresh {\n constructor() {\n this.type = REFRESH;\n }\n}\nclass Reset {\n constructor(timestamp) {\n this.timestamp = timestamp;\n this.type = RESET;\n }\n}\nclass Rollback {\n constructor(timestamp) {\n this.timestamp = timestamp;\n this.type = ROLLBACK;\n }\n}\nclass Commit {\n constructor(timestamp) {\n this.timestamp = timestamp;\n this.type = COMMIT;\n }\n}\nclass Sweep {\n constructor() {\n this.type = SWEEP;\n }\n}\nclass ToggleAction {\n constructor(id) {\n this.id = id;\n this.type = TOGGLE_ACTION;\n }\n}\nclass SetActionsActive {\n constructor(start, end, active = true) {\n this.start = start;\n this.end = end;\n this.active = active;\n this.type = SET_ACTIONS_ACTIVE;\n }\n}\nclass JumpToState {\n constructor(index) {\n this.index = index;\n this.type = JUMP_TO_STATE;\n }\n}\nclass JumpToAction {\n constructor(actionId) {\n this.actionId = actionId;\n this.type = JUMP_TO_ACTION;\n }\n}\nclass ImportState {\n constructor(nextLiftedState) {\n this.nextLiftedState = nextLiftedState;\n this.type = IMPORT_STATE;\n }\n}\nclass LockChanges {\n constructor(status) {\n this.status = status;\n this.type = LOCK_CHANGES;\n }\n}\nclass PauseRecording {\n constructor(status) {\n this.status = status;\n this.type = PAUSE_RECORDING;\n }\n}\n\n/**\n * Chrome extension documentation\n * @see https://github.com/reduxjs/redux-devtools/blob/main/extension/docs/API/Arguments.md\n * Firefox extension documentation\n * @see https://github.com/zalmoxisus/redux-devtools-extension/blob/master/docs/API/Arguments.md\n */\nclass StoreDevtoolsConfig {\n constructor() {\n /**\n * Maximum allowed actions to be stored in the history tree (default: `false`)\n */\n this.maxAge = false;\n }\n}\nconst STORE_DEVTOOLS_CONFIG = new InjectionToken('@ngrx/store-devtools Options');\n/**\n * Used to provide a `StoreDevtoolsConfig` for the store-devtools.\n */\nconst INITIAL_OPTIONS = new InjectionToken('@ngrx/store-devtools Initial Config');\nfunction noMonitor() {\n return null;\n}\nconst DEFAULT_NAME = 'NgRx Store DevTools';\nfunction createConfig(optionsInput) {\n const DEFAULT_OPTIONS = {\n maxAge: false,\n monitor: noMonitor,\n actionSanitizer: undefined,\n stateSanitizer: undefined,\n name: DEFAULT_NAME,\n serialize: false,\n logOnly: false,\n autoPause: false,\n trace: false,\n traceLimit: 75,\n // Add all features explicitly. This prevent buggy behavior for\n // options like \"lock\" which might otherwise not show up.\n features: {\n pause: true,\n lock: true,\n persist: true,\n export: true,\n import: 'custom',\n jump: true,\n skip: true,\n reorder: true,\n dispatch: true,\n test: true, // Generate tests for the selected actions\n },\n };\n const options = typeof optionsInput === 'function' ? optionsInput() : optionsInput;\n const logOnly = options.logOnly\n ? { pause: true, export: true, test: true }\n : false;\n const features = options.features ||\n logOnly ||\n DEFAULT_OPTIONS.features;\n if (features.import === true) {\n features.import = 'custom';\n }\n const config = Object.assign({}, DEFAULT_OPTIONS, { features }, options);\n if (config.maxAge && config.maxAge < 2) {\n throw new Error(`Devtools 'maxAge' cannot be less than 2, got ${config.maxAge}`);\n }\n return config;\n}\n\nfunction difference(first, second) {\n return first.filter((item) => second.indexOf(item) < 0);\n}\n/**\n * Provides an app's view into the state of the lifted store.\n */\nfunction unliftState(liftedState) {\n const { computedStates, currentStateIndex } = liftedState;\n // At start up NgRx dispatches init actions,\n // When these init actions are being filtered out by the predicate or safe/block list options\n // we don't have a complete computed states yet.\n // At this point it could happen that we're out of bounds, when this happens we fall back to the last known state\n if (currentStateIndex >= computedStates.length) {\n const { state } = computedStates[computedStates.length - 1];\n return state;\n }\n const { state } = computedStates[currentStateIndex];\n return state;\n}\nfunction unliftAction(liftedState) {\n return liftedState.actionsById[liftedState.nextActionId - 1];\n}\n/**\n * Lifts an app's action into an action on the lifted store.\n */\nfunction liftAction(action) {\n return new PerformAction(action, +Date.now());\n}\n/**\n * Sanitizes given actions with given function.\n */\nfunction sanitizeActions(actionSanitizer, actions) {\n return Object.keys(actions).reduce((sanitizedActions, actionIdx) => {\n const idx = Number(actionIdx);\n sanitizedActions[idx] = sanitizeAction(actionSanitizer, actions[idx], idx);\n return sanitizedActions;\n }, {});\n}\n/**\n * Sanitizes given action with given function.\n */\nfunction sanitizeAction(actionSanitizer, action, actionIdx) {\n return {\n ...action,\n action: actionSanitizer(action.action, actionIdx),\n };\n}\n/**\n * Sanitizes given states with given function.\n */\nfunction sanitizeStates(stateSanitizer, states) {\n return states.map((computedState, idx) => ({\n state: sanitizeState(stateSanitizer, computedState.state, idx),\n error: computedState.error,\n }));\n}\n/**\n * Sanitizes given state with given function.\n */\nfunction sanitizeState(stateSanitizer, state, stateIdx) {\n return stateSanitizer(state, stateIdx);\n}\n/**\n * Read the config and tell if actions should be filtered\n */\nfunction shouldFilterActions(config) {\n return config.predicate || config.actionsSafelist || config.actionsBlocklist;\n}\n/**\n * Return a full filtered lifted state\n */\nfunction filterLiftedState(liftedState, predicate, safelist, blocklist) {\n const filteredStagedActionIds = [];\n const filteredActionsById = {};\n const filteredComputedStates = [];\n liftedState.stagedActionIds.forEach((id, idx) => {\n const liftedAction = liftedState.actionsById[id];\n if (!liftedAction)\n return;\n if (idx &&\n isActionFiltered(liftedState.computedStates[idx], liftedAction, predicate, safelist, blocklist)) {\n return;\n }\n filteredActionsById[id] = liftedAction;\n filteredStagedActionIds.push(id);\n filteredComputedStates.push(liftedState.computedStates[idx]);\n });\n return {\n ...liftedState,\n stagedActionIds: filteredStagedActionIds,\n actionsById: filteredActionsById,\n computedStates: filteredComputedStates,\n };\n}\n/**\n * Return true is the action should be ignored\n */\nfunction isActionFiltered(state, action, predicate, safelist, blockedlist) {\n const predicateMatch = predicate && !predicate(state, action.action);\n const safelistMatch = safelist &&\n !action.action.type.match(safelist.map((s) => escapeRegExp(s)).join('|'));\n const blocklistMatch = blockedlist &&\n action.action.type.match(blockedlist.map((s) => escapeRegExp(s)).join('|'));\n return predicateMatch || safelistMatch || blocklistMatch;\n}\n/**\n * Return string with escaped RegExp special characters\n * https://stackoverflow.com/a/6969486/1337347\n */\nfunction escapeRegExp(s) {\n return s.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&');\n}\n\nclass DevtoolsDispatcher extends ActionsSubject {\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: DevtoolsDispatcher, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }\n /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: DevtoolsDispatcher }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: DevtoolsDispatcher, decorators: [{\n type: Injectable\n }] });\n\nconst ExtensionActionTypes = {\n START: 'START',\n DISPATCH: 'DISPATCH',\n STOP: 'STOP',\n ACTION: 'ACTION',\n};\nconst REDUX_DEVTOOLS_EXTENSION = new InjectionToken('@ngrx/store-devtools Redux Devtools Extension');\nclass DevtoolsExtension {\n constructor(devtoolsExtension, config, dispatcher) {\n this.config = config;\n this.dispatcher = dispatcher;\n this.devtoolsExtension = devtoolsExtension;\n this.createActionStreams();\n }\n notify(action, state) {\n if (!this.devtoolsExtension) {\n return;\n }\n // Check to see if the action requires a full update of the liftedState.\n // If it is a simple action generated by the user's app and the recording\n // is not locked/paused, only send the action and the current state (fast).\n //\n // A full liftedState update (slow: serializes the entire liftedState) is\n // only required when:\n // a) redux-devtools-extension fires the @@Init action (ignored by\n // @ngrx/store-devtools)\n // b) an action is generated by an @ngrx module (e.g. @ngrx/effects/init\n // or @ngrx/store/update-reducers)\n // c) the state has been recomputed due to time-traveling\n // d) any action that is not a PerformAction to err on the side of\n // caution.\n if (action.type === PERFORM_ACTION) {\n if (state.isLocked || state.isPaused) {\n return;\n }\n const currentState = unliftState(state);\n if (shouldFilterActions(this.config) &&\n isActionFiltered(currentState, action, this.config.predicate, this.config.actionsSafelist, this.config.actionsBlocklist)) {\n return;\n }\n const sanitizedState = this.config.stateSanitizer\n ? sanitizeState(this.config.stateSanitizer, currentState, state.currentStateIndex)\n : currentState;\n const sanitizedAction = this.config.actionSanitizer\n ? sanitizeAction(this.config.actionSanitizer, action, state.nextActionId)\n : action;\n this.sendToReduxDevtools(() => this.extensionConnection.send(sanitizedAction, sanitizedState));\n }\n else {\n // Requires full state update\n const sanitizedLiftedState = {\n ...state,\n stagedActionIds: state.stagedActionIds,\n actionsById: this.config.actionSanitizer\n ? sanitizeActions(this.config.actionSanitizer, state.actionsById)\n : state.actionsById,\n computedStates: this.config.stateSanitizer\n ? sanitizeStates(this.config.stateSanitizer, state.computedStates)\n : state.computedStates,\n };\n this.sendToReduxDevtools(() => this.devtoolsExtension.send(null, sanitizedLiftedState, this.getExtensionConfig(this.config)));\n }\n }\n createChangesObservable() {\n if (!this.devtoolsExtension) {\n return EMPTY;\n }\n return new Observable((subscriber) => {\n const connection = this.devtoolsExtension.connect(this.getExtensionConfig(this.config));\n this.extensionConnection = connection;\n connection.init();\n connection.subscribe((change) => subscriber.next(change));\n return connection.unsubscribe;\n });\n }\n createActionStreams() {\n // Listens to all changes\n const changes$ = this.createChangesObservable().pipe(share());\n // Listen for the start action\n const start$ = changes$.pipe(filter((change) => change.type === ExtensionActionTypes.START));\n // Listen for the stop action\n const stop$ = changes$.pipe(filter((change) => change.type === ExtensionActionTypes.STOP));\n // Listen for lifted actions\n const liftedActions$ = changes$.pipe(filter((change) => change.type === ExtensionActionTypes.DISPATCH), map((change) => this.unwrapAction(change.payload)), concatMap((action) => {\n if (action.type === IMPORT_STATE) {\n // State imports may happen in two situations:\n // 1. Explicitly by user\n // 2. User activated the \"persist state accross reloads\" option\n // and now the state is imported during reload.\n // Because of option 2, we need to give possible\n // lazy loaded reducers time to instantiate.\n // As soon as there is no UPDATE action within 1 second,\n // it is assumed that all reducers are loaded.\n return this.dispatcher.pipe(filter((action) => action.type === UPDATE), timeout(1000), debounceTime(1000), map(() => action), catchError(() => of(action)), take(1));\n }\n else {\n return of(action);\n }\n }));\n // Listen for unlifted actions\n const actions$ = changes$.pipe(filter((change) => change.type === ExtensionActionTypes.ACTION), map((change) => this.unwrapAction(change.payload)));\n const actionsUntilStop$ = actions$.pipe(takeUntil(stop$));\n const liftedUntilStop$ = liftedActions$.pipe(takeUntil(stop$));\n this.start$ = start$.pipe(takeUntil(stop$));\n // Only take the action sources between the start/stop events\n this.actions$ = this.start$.pipe(switchMap(() => actionsUntilStop$));\n this.liftedActions$ = this.start$.pipe(switchMap(() => liftedUntilStop$));\n }\n unwrapAction(action) {\n return typeof action === 'string' ? eval(`(${action})`) : action;\n }\n getExtensionConfig(config) {\n const extensionOptions = {\n name: config.name,\n features: config.features,\n serialize: config.serialize,\n autoPause: config.autoPause ?? false,\n trace: config.trace ?? false,\n traceLimit: config.traceLimit ?? 75,\n // The action/state sanitizers are not added to the config\n // because sanitation is done in this class already.\n // It is done before sending it to the devtools extension for consistency:\n // - If we call extensionConnection.send(...),\n // the extension would call the sanitizers.\n // - If we call devtoolsExtension.send(...) (aka full state update),\n // the extension would NOT call the sanitizers, so we have to do it ourselves.\n };\n if (config.maxAge !== false /* support === 0 */) {\n extensionOptions.maxAge = config.maxAge;\n }\n return extensionOptions;\n }\n sendToReduxDevtools(send) {\n try {\n send();\n }\n catch (err) {\n console.warn('@ngrx/store-devtools: something went wrong inside the redux devtools', err);\n }\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: DevtoolsExtension, deps: [{ token: REDUX_DEVTOOLS_EXTENSION }, { token: STORE_DEVTOOLS_CONFIG }, { token: DevtoolsDispatcher }], target: i0.ɵɵFactoryTarget.Injectable }); }\n /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: DevtoolsExtension }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: DevtoolsExtension, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [REDUX_DEVTOOLS_EXTENSION]\n }] }, { type: StoreDevtoolsConfig, decorators: [{\n type: Inject,\n args: [STORE_DEVTOOLS_CONFIG]\n }] }, { type: DevtoolsDispatcher }]; } });\n\nconst INIT_ACTION = { type: INIT };\nconst RECOMPUTE = '@ngrx/store-devtools/recompute';\nconst RECOMPUTE_ACTION = { type: RECOMPUTE };\n/**\n * Computes the next entry in the log by applying an action.\n */\nfunction computeNextEntry(reducer, action, state, error, errorHandler) {\n if (error) {\n return {\n state,\n error: 'Interrupted by an error up the chain',\n };\n }\n let nextState = state;\n let nextError;\n try {\n nextState = reducer(state, action);\n }\n catch (err) {\n nextError = err.toString();\n errorHandler.handleError(err);\n }\n return {\n state: nextState,\n error: nextError,\n };\n}\n/**\n * Runs the reducer on invalidated actions to get a fresh computation log.\n */\nfunction recomputeStates(computedStates, minInvalidatedStateIndex, reducer, committedState, actionsById, stagedActionIds, skippedActionIds, errorHandler, isPaused) {\n // Optimization: exit early and return the same reference\n // if we know nothing could have changed.\n if (minInvalidatedStateIndex >= computedStates.length &&\n computedStates.length === stagedActionIds.length) {\n return computedStates;\n }\n const nextComputedStates = computedStates.slice(0, minInvalidatedStateIndex);\n // If the recording is paused, recompute all states up until the pause state,\n // else recompute all states.\n const lastIncludedActionId = stagedActionIds.length - (isPaused ? 1 : 0);\n for (let i = minInvalidatedStateIndex; i < lastIncludedActionId; i++) {\n const actionId = stagedActionIds[i];\n const action = actionsById[actionId].action;\n const previousEntry = nextComputedStates[i - 1];\n const previousState = previousEntry ? previousEntry.state : committedState;\n const previousError = previousEntry ? previousEntry.error : undefined;\n const shouldSkip = skippedActionIds.indexOf(actionId) > -1;\n const entry = shouldSkip\n ? previousEntry\n : computeNextEntry(reducer, action, previousState, previousError, errorHandler);\n nextComputedStates.push(entry);\n }\n // If the recording is paused, the last state will not be recomputed,\n // because it's essentially not part of the state history.\n if (isPaused) {\n nextComputedStates.push(computedStates[computedStates.length - 1]);\n }\n return nextComputedStates;\n}\nfunction liftInitialState(initialCommittedState, monitorReducer) {\n return {\n monitorState: monitorReducer(undefined, {}),\n nextActionId: 1,\n actionsById: { 0: liftAction(INIT_ACTION) },\n stagedActionIds: [0],\n skippedActionIds: [],\n committedState: initialCommittedState,\n currentStateIndex: 0,\n computedStates: [],\n isLocked: false,\n isPaused: false,\n };\n}\n/**\n * Creates a history state reducer from an app's reducer.\n */\nfunction liftReducerWith(initialCommittedState, initialLiftedState, errorHandler, monitorReducer, options = {}) {\n /**\n * Manages how the history actions modify the history state.\n */\n return (reducer) => (liftedState, liftedAction) => {\n let { monitorState, actionsById, nextActionId, stagedActionIds, skippedActionIds, committedState, currentStateIndex, computedStates, isLocked, isPaused, } = liftedState || initialLiftedState;\n if (!liftedState) {\n // Prevent mutating initialLiftedState\n actionsById = Object.create(actionsById);\n }\n function commitExcessActions(n) {\n // Auto-commits n-number of excess actions.\n let excess = n;\n let idsToDelete = stagedActionIds.slice(1, excess + 1);\n for (let i = 0; i < idsToDelete.length; i++) {\n if (computedStates[i + 1].error) {\n // Stop if error is found. Commit actions up to error.\n excess = i;\n idsToDelete = stagedActionIds.slice(1, excess + 1);\n break;\n }\n else {\n delete actionsById[idsToDelete[i]];\n }\n }\n skippedActionIds = skippedActionIds.filter((id) => idsToDelete.indexOf(id) === -1);\n stagedActionIds = [0, ...stagedActionIds.slice(excess + 1)];\n committedState = computedStates[excess].state;\n computedStates = computedStates.slice(excess);\n currentStateIndex =\n currentStateIndex > excess ? currentStateIndex - excess : 0;\n }\n function commitChanges() {\n // Consider the last committed state the new starting point.\n // Squash any staged actions into a single committed state.\n actionsById = { 0: liftAction(INIT_ACTION) };\n nextActionId = 1;\n stagedActionIds = [0];\n skippedActionIds = [];\n committedState = computedStates[currentStateIndex].state;\n currentStateIndex = 0;\n computedStates = [];\n }\n // By default, aggressively recompute every state whatever happens.\n // This has O(n) performance, so we'll override this to a sensible\n // value whenever we feel like we don't have to recompute the states.\n let minInvalidatedStateIndex = 0;\n switch (liftedAction.type) {\n case LOCK_CHANGES: {\n isLocked = liftedAction.status;\n minInvalidatedStateIndex = Infinity;\n break;\n }\n case PAUSE_RECORDING: {\n isPaused = liftedAction.status;\n if (isPaused) {\n // Add a pause action to signal the devtools-user the recording is paused.\n // The corresponding state will be overwritten on each update to always contain\n // the latest state (see Actions.PERFORM_ACTION).\n stagedActionIds = [...stagedActionIds, nextActionId];\n actionsById[nextActionId] = new PerformAction({\n type: '@ngrx/devtools/pause',\n }, +Date.now());\n nextActionId++;\n minInvalidatedStateIndex = stagedActionIds.length - 1;\n computedStates = computedStates.concat(computedStates[computedStates.length - 1]);\n if (currentStateIndex === stagedActionIds.length - 2) {\n currentStateIndex++;\n }\n minInvalidatedStateIndex = Infinity;\n }\n else {\n commitChanges();\n }\n break;\n }\n case RESET: {\n // Get back to the state the store was created with.\n actionsById = { 0: liftAction(INIT_ACTION) };\n nextActionId = 1;\n stagedActionIds = [0];\n skippedActionIds = [];\n committedState = initialCommittedState;\n currentStateIndex = 0;\n computedStates = [];\n break;\n }\n case COMMIT: {\n commitChanges();\n break;\n }\n case ROLLBACK: {\n // Forget about any staged actions.\n // Start again from the last committed state.\n actionsById = { 0: liftAction(INIT_ACTION) };\n nextActionId = 1;\n stagedActionIds = [0];\n skippedActionIds = [];\n currentStateIndex = 0;\n computedStates = [];\n break;\n }\n case TOGGLE_ACTION: {\n // Toggle whether an action with given ID is skipped.\n // Being skipped means it is a no-op during the computation.\n const { id: actionId } = liftedAction;\n const index = skippedActionIds.indexOf(actionId);\n if (index === -1) {\n skippedActionIds = [actionId, ...skippedActionIds];\n }\n else {\n skippedActionIds = skippedActionIds.filter((id) => id !== actionId);\n }\n // Optimization: we know history before this action hasn't changed\n minInvalidatedStateIndex = stagedActionIds.indexOf(actionId);\n break;\n }\n case SET_ACTIONS_ACTIVE: {\n // Toggle whether an action with given ID is skipped.\n // Being skipped means it is a no-op during the computation.\n const { start, end, active } = liftedAction;\n const actionIds = [];\n for (let i = start; i < end; i++)\n actionIds.push(i);\n if (active) {\n skippedActionIds = difference(skippedActionIds, actionIds);\n }\n else {\n skippedActionIds = [...skippedActionIds, ...actionIds];\n }\n // Optimization: we know history before this action hasn't changed\n minInvalidatedStateIndex = stagedActionIds.indexOf(start);\n break;\n }\n case JUMP_TO_STATE: {\n // Without recomputing anything, move the pointer that tell us\n // which state is considered the current one. Useful for sliders.\n currentStateIndex = liftedAction.index;\n // Optimization: we know the history has not changed.\n minInvalidatedStateIndex = Infinity;\n break;\n }\n case JUMP_TO_ACTION: {\n // Jumps to a corresponding state to a specific action.\n // Useful when filtering actions.\n const index = stagedActionIds.indexOf(liftedAction.actionId);\n if (index !== -1)\n currentStateIndex = index;\n minInvalidatedStateIndex = Infinity;\n break;\n }\n case SWEEP: {\n // Forget any actions that are currently being skipped.\n stagedActionIds = difference(stagedActionIds, skippedActionIds);\n skippedActionIds = [];\n currentStateIndex = Math.min(currentStateIndex, stagedActionIds.length - 1);\n break;\n }\n case PERFORM_ACTION: {\n // Ignore action and return state as is if recording is locked\n if (isLocked) {\n return liftedState || initialLiftedState;\n }\n if (isPaused ||\n (liftedState &&\n isActionFiltered(liftedState.computedStates[currentStateIndex], liftedAction, options.predicate, options.actionsSafelist, options.actionsBlocklist))) {\n // If recording is paused or if the action should be ignored, overwrite the last state\n // (corresponds to the pause action) and keep everything else as is.\n // This way, the app gets the new current state while the devtools\n // do not record another action.\n const lastState = computedStates[computedStates.length - 1];\n computedStates = [\n ...computedStates.slice(0, -1),\n computeNextEntry(reducer, liftedAction.action, lastState.state, lastState.error, errorHandler),\n ];\n minInvalidatedStateIndex = Infinity;\n break;\n }\n // Auto-commit as new actions come in.\n if (options.maxAge && stagedActionIds.length === options.maxAge) {\n commitExcessActions(1);\n }\n if (currentStateIndex === stagedActionIds.length - 1) {\n currentStateIndex++;\n }\n const actionId = nextActionId++;\n // Mutation! This is the hottest path, and we optimize on purpose.\n // It is safe because we set a new key in a cache dictionary.\n actionsById[actionId] = liftedAction;\n stagedActionIds = [...stagedActionIds, actionId];\n // Optimization: we know that only the new action needs computing.\n minInvalidatedStateIndex = stagedActionIds.length - 1;\n break;\n }\n case IMPORT_STATE: {\n // Completely replace everything.\n ({\n monitorState,\n actionsById,\n nextActionId,\n stagedActionIds,\n skippedActionIds,\n committedState,\n currentStateIndex,\n computedStates,\n isLocked,\n isPaused,\n } = liftedAction.nextLiftedState);\n break;\n }\n case INIT: {\n // Always recompute states on hot reload and init.\n minInvalidatedStateIndex = 0;\n if (options.maxAge && stagedActionIds.length > options.maxAge) {\n // States must be recomputed before committing excess.\n computedStates = recomputeStates(computedStates, minInvalidatedStateIndex, reducer, committedState, actionsById, stagedActionIds, skippedActionIds, errorHandler, isPaused);\n commitExcessActions(stagedActionIds.length - options.maxAge);\n // Avoid double computation.\n minInvalidatedStateIndex = Infinity;\n }\n break;\n }\n case UPDATE: {\n const stateHasErrors = computedStates.filter((state) => state.error).length > 0;\n if (stateHasErrors) {\n // Recompute all states\n minInvalidatedStateIndex = 0;\n if (options.maxAge && stagedActionIds.length > options.maxAge) {\n // States must be recomputed before committing excess.\n computedStates = recomputeStates(computedStates, minInvalidatedStateIndex, reducer, committedState, actionsById, stagedActionIds, skippedActionIds, errorHandler, isPaused);\n commitExcessActions(stagedActionIds.length - options.maxAge);\n // Avoid double computation.\n minInvalidatedStateIndex = Infinity;\n }\n }\n else {\n // If not paused/locked, add a new action to signal devtools-user\n // that there was a reducer update.\n if (!isPaused && !isLocked) {\n if (currentStateIndex === stagedActionIds.length - 1) {\n currentStateIndex++;\n }\n // Add a new action to only recompute state\n const actionId = nextActionId++;\n actionsById[actionId] = new PerformAction(liftedAction, +Date.now());\n stagedActionIds = [...stagedActionIds, actionId];\n minInvalidatedStateIndex = stagedActionIds.length - 1;\n computedStates = recomputeStates(computedStates, minInvalidatedStateIndex, reducer, committedState, actionsById, stagedActionIds, skippedActionIds, errorHandler, isPaused);\n }\n // Recompute state history with latest reducer and update action\n computedStates = computedStates.map((cmp) => ({\n ...cmp,\n state: reducer(cmp.state, RECOMPUTE_ACTION),\n }));\n currentStateIndex = stagedActionIds.length - 1;\n if (options.maxAge && stagedActionIds.length > options.maxAge) {\n commitExcessActions(stagedActionIds.length - options.maxAge);\n }\n // Avoid double computation.\n minInvalidatedStateIndex = Infinity;\n }\n break;\n }\n default: {\n // If the action is not recognized, it's a monitor action.\n // Optimization: a monitor action can't change history.\n minInvalidatedStateIndex = Infinity;\n break;\n }\n }\n computedStates = recomputeStates(computedStates, minInvalidatedStateIndex, reducer, committedState, actionsById, stagedActionIds, skippedActionIds, errorHandler, isPaused);\n monitorState = monitorReducer(monitorState, liftedAction);\n return {\n monitorState,\n actionsById,\n nextActionId,\n stagedActionIds,\n skippedActionIds,\n committedState,\n currentStateIndex,\n computedStates,\n isLocked,\n isPaused,\n };\n };\n}\n\nclass StoreDevtools {\n constructor(dispatcher, actions$, reducers$, extension, scannedActions, errorHandler, initialState, config) {\n const liftedInitialState = liftInitialState(initialState, config.monitor);\n const liftReducer = liftReducerWith(initialState, liftedInitialState, errorHandler, config.monitor, config);\n const liftedAction$ = merge(merge(actions$.asObservable().pipe(skip(1)), extension.actions$).pipe(map(liftAction)), dispatcher, extension.liftedActions$).pipe(observeOn(queueScheduler));\n const liftedReducer$ = reducers$.pipe(map(liftReducer));\n const liftedStateSubject = new ReplaySubject(1);\n const liftedStateSubscription = liftedAction$\n .pipe(withLatestFrom(liftedReducer$), scan(({ state: liftedState }, [action, reducer]) => {\n let reducedLiftedState = reducer(liftedState, action);\n // On full state update\n // If we have actions filters, we must filter completely our lifted state to be sync with the extension\n if (action.type !== PERFORM_ACTION && shouldFilterActions(config)) {\n reducedLiftedState = filterLiftedState(reducedLiftedState, config.predicate, config.actionsSafelist, config.actionsBlocklist);\n }\n // Extension should be sent the sanitized lifted state\n extension.notify(action, reducedLiftedState);\n return { state: reducedLiftedState, action };\n }, { state: liftedInitialState, action: null }))\n .subscribe(({ state, action }) => {\n liftedStateSubject.next(state);\n if (action.type === PERFORM_ACTION) {\n const unliftedAction = action.action;\n scannedActions.next(unliftedAction);\n }\n });\n const extensionStartSubscription = extension.start$.subscribe(() => {\n this.refresh();\n });\n const liftedState$ = liftedStateSubject.asObservable();\n const state$ = liftedState$.pipe(map(unliftState));\n Object.defineProperty(state$, 'state', {\n value: toSignal(state$, { manualCleanup: true, requireSync: true }),\n });\n this.extensionStartSubscription = extensionStartSubscription;\n this.stateSubscription = liftedStateSubscription;\n this.dispatcher = dispatcher;\n this.liftedState = liftedState$;\n this.state = state$;\n }\n dispatch(action) {\n this.dispatcher.next(action);\n }\n next(action) {\n this.dispatcher.next(action);\n }\n error(error) { }\n complete() { }\n performAction(action) {\n this.dispatch(new PerformAction(action, +Date.now()));\n }\n refresh() {\n this.dispatch(new Refresh());\n }\n reset() {\n this.dispatch(new Reset(+Date.now()));\n }\n rollback() {\n this.dispatch(new Rollback(+Date.now()));\n }\n commit() {\n this.dispatch(new Commit(+Date.now()));\n }\n sweep() {\n this.dispatch(new Sweep());\n }\n toggleAction(id) {\n this.dispatch(new ToggleAction(id));\n }\n jumpToAction(actionId) {\n this.dispatch(new JumpToAction(actionId));\n }\n jumpToState(index) {\n this.dispatch(new JumpToState(index));\n }\n importState(nextLiftedState) {\n this.dispatch(new ImportState(nextLiftedState));\n }\n lockChanges(status) {\n this.dispatch(new LockChanges(status));\n }\n pauseRecording(status) {\n this.dispatch(new PauseRecording(status));\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: StoreDevtools, deps: [{ token: DevtoolsDispatcher }, { token: i2.ActionsSubject }, { token: i2.ReducerObservable }, { token: DevtoolsExtension }, { token: i2.ScannedActionsSubject }, { token: i0.ErrorHandler }, { token: INITIAL_STATE }, { token: STORE_DEVTOOLS_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable }); }\n /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: StoreDevtools }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: StoreDevtools, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: DevtoolsDispatcher }, { type: i2.ActionsSubject }, { type: i2.ReducerObservable }, { type: DevtoolsExtension }, { type: i2.ScannedActionsSubject }, { type: i0.ErrorHandler }, { type: undefined, decorators: [{\n type: Inject,\n args: [INITIAL_STATE]\n }] }, { type: StoreDevtoolsConfig, decorators: [{\n type: Inject,\n args: [STORE_DEVTOOLS_CONFIG]\n }] }]; } });\n\nconst IS_EXTENSION_OR_MONITOR_PRESENT = new InjectionToken('@ngrx/store-devtools Is Devtools Extension or Monitor Present');\nfunction createIsExtensionOrMonitorPresent(extension, config) {\n return Boolean(extension) || config.monitor !== noMonitor;\n}\nfunction createReduxDevtoolsExtension() {\n const extensionKey = '__REDUX_DEVTOOLS_EXTENSION__';\n if (typeof window === 'object' &&\n typeof window[extensionKey] !== 'undefined') {\n return window[extensionKey];\n }\n else {\n return null;\n }\n}\n/**\n * Provides developer tools and instrumentation for `Store`.\n *\n * @usageNotes\n *\n * ```ts\n * bootstrapApplication(AppComponent, {\n * providers: [\n * provideStoreDevtools({\n * maxAge: 25,\n * logOnly: !isDevMode(),\n * }),\n * ],\n * });\n * ```\n */\nfunction provideStoreDevtools(options = {}) {\n return makeEnvironmentProviders([\n DevtoolsExtension,\n DevtoolsDispatcher,\n StoreDevtools,\n {\n provide: INITIAL_OPTIONS,\n useValue: options,\n },\n {\n provide: IS_EXTENSION_OR_MONITOR_PRESENT,\n deps: [REDUX_DEVTOOLS_EXTENSION, STORE_DEVTOOLS_CONFIG],\n useFactory: createIsExtensionOrMonitorPresent,\n },\n {\n provide: REDUX_DEVTOOLS_EXTENSION,\n useFactory: createReduxDevtoolsExtension,\n },\n {\n provide: STORE_DEVTOOLS_CONFIG,\n deps: [INITIAL_OPTIONS],\n useFactory: createConfig,\n },\n {\n provide: StateObservable,\n deps: [StoreDevtools],\n useFactory: createStateObservable,\n },\n {\n provide: ReducerManagerDispatcher,\n useExisting: DevtoolsDispatcher,\n },\n ]);\n}\n\nfunction createStateObservable(devtools) {\n return devtools.state;\n}\nclass StoreDevtoolsModule {\n static instrument(options = {}) {\n return {\n ngModule: StoreDevtoolsModule,\n providers: [provideStoreDevtools(options)],\n };\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: StoreDevtoolsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: StoreDevtoolsModule }); }\n /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: StoreDevtoolsModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: StoreDevtoolsModule, decorators: [{\n type: NgModule,\n args: [{}]\n }] });\n\n/**\n * DO NOT EDIT\n *\n * This file is automatically generated at build\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { INITIAL_OPTIONS, RECOMPUTE, REDUX_DEVTOOLS_EXTENSION, StoreDevtools, StoreDevtoolsConfig, StoreDevtoolsModule, provideStoreDevtools };\n","import { map } from './map';\nexport function pluck(...properties) {\n const length = properties.length;\n if (length === 0) {\n throw new Error('list of properties cannot be empty.');\n }\n return map((x) => {\n let currentProp = x;\n for (let i = 0; i < length; i++) {\n const p = currentProp === null || currentProp === void 0 ? void 0 : currentProp[properties[i]];\n if (typeof p !== 'undefined') {\n currentProp = p;\n }\n else {\n return undefined;\n }\n }\n return currentProp;\n });\n}\n","import * as i0 from '@angular/core';\nimport { Injectable, InjectionToken, Inject, computed, isDevMode, inject, makeEnvironmentProviders, ENVIRONMENT_INITIALIZER, NgModule, Optional } from '@angular/core';\nimport { BehaviorSubject, Observable, Subject, queueScheduler } from 'rxjs';\nimport { observeOn, withLatestFrom, scan, pluck, map, distinctUntilChanged } from 'rxjs/operators';\nimport { toSignal } from '@angular/core/rxjs-interop';\n\nconst REGISTERED_ACTION_TYPES = {};\nfunction resetRegisteredActionTypes() {\n for (const key of Object.keys(REGISTERED_ACTION_TYPES)) {\n delete REGISTERED_ACTION_TYPES[key];\n }\n}\n\n/**\n * @description\n * Creates a configured `Creator` function that, when called, returns an object in the shape of the `Action` interface.\n *\n * Action creators reduce the explicitness of class-based action creators.\n *\n * @param type Describes the action that will be dispatched\n * @param config Additional metadata needed for the handling of the action. See {@link createAction#usage-notes Usage Notes}.\n *\n * @usageNotes\n *\n * **Declaring an action creator**\n *\n * Without additional metadata:\n * ```ts\n * export const increment = createAction('[Counter] Increment');\n * ```\n * With additional metadata:\n * ```ts\n * export const loginSuccess = createAction(\n * '[Auth/API] Login Success',\n * props<{ user: User }>()\n * );\n * ```\n * With a function:\n * ```ts\n * export const loginSuccess = createAction(\n * '[Auth/API] Login Success',\n * (response: Response) => response.user\n * );\n * ```\n *\n * **Dispatching an action**\n *\n * Without additional metadata:\n * ```ts\n * store.dispatch(increment());\n * ```\n * With additional metadata:\n * ```ts\n * store.dispatch(loginSuccess({ user: newUser }));\n * ```\n *\n * **Referencing an action in a reducer**\n *\n * Using a switch statement:\n * ```ts\n * switch (action.type) {\n * // ...\n * case AuthApiActions.loginSuccess.type: {\n * return {\n * ...state,\n * user: action.user\n * };\n * }\n * }\n * ```\n * Using a reducer creator:\n * ```ts\n * on(AuthApiActions.loginSuccess, (state, { user }) => ({ ...state, user }))\n * ```\n *\n * **Referencing an action in an effect**\n * ```ts\n * effectName$ = createEffect(\n * () => this.actions$.pipe(\n * ofType(AuthApiActions.loginSuccess),\n * // ...\n * )\n * );\n * ```\n */\nfunction createAction(type, config) {\n REGISTERED_ACTION_TYPES[type] = (REGISTERED_ACTION_TYPES[type] || 0) + 1;\n if (typeof config === 'function') {\n return defineType(type, (...args) => ({\n ...config(...args),\n type,\n }));\n }\n const as = config ? config._as : 'empty';\n switch (as) {\n case 'empty':\n return defineType(type, () => ({ type }));\n case 'props':\n return defineType(type, (props) => ({\n ...props,\n type,\n }));\n default:\n throw new Error('Unexpected config.');\n }\n}\nfunction props() {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n return { _as: 'props', _p: undefined };\n}\nfunction union(creators) {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n return undefined;\n}\nfunction defineType(type, creator) {\n return Object.defineProperty(creator, 'type', {\n value: type,\n writable: false,\n });\n}\n\nfunction capitalize(text) {\n return (text.charAt(0).toUpperCase() + text.substring(1));\n}\nfunction uncapitalize(text) {\n return (text.charAt(0).toLowerCase() + text.substring(1));\n}\n\n/**\n * @description\n * A function that creates a group of action creators with the same source.\n *\n * @param config An object that contains a source and dictionary of events.\n * An event is a key-value pair of an event name and event props.\n * @returns A dictionary of action creators.\n * The name of each action creator is created by camel casing the event name.\n * The type of each action is created using the \"[Source] Event Name\" pattern.\n *\n * @usageNotes\n *\n * ```ts\n * const authApiActions = createActionGroup({\n * source: 'Auth API',\n * events: {\n * // defining events with payload using the `props` function\n * 'Login Success': props<{ userId: number; token: string }>(),\n * 'Login Failure': props<{ error: string }>(),\n *\n * // defining an event without payload using the `emptyProps` function\n * 'Logout Success': emptyProps(),\n *\n * // defining an event with payload using the props factory\n * 'Logout Failure': (error: Error) => ({ error }),\n * },\n * });\n *\n * // action type: \"[Auth API] Login Success\"\n * authApiActions.loginSuccess({ userId: 10, token: 'ngrx' });\n *\n * // action type: \"[Auth API] Login Failure\"\n * authApiActions.loginFailure({ error: 'Login Failure!' });\n *\n * // action type: \"[Auth API] Logout Success\"\n * authApiActions.logoutSuccess();\n *\n * // action type: \"[Auth API] Logout Failure\";\n * authApiActions.logoutFailure(new Error('Logout Failure!'));\n * ```\n */\nfunction createActionGroup(config) {\n const { source, events } = config;\n return Object.keys(events).reduce((actionGroup, eventName) => ({\n ...actionGroup,\n [toActionName(eventName)]: createAction(toActionType(source, eventName), events[eventName]),\n }), {});\n}\nfunction emptyProps() {\n return props();\n}\nfunction toActionName(eventName) {\n return eventName\n .trim()\n .split(' ')\n .map((word, i) => (i === 0 ? uncapitalize(word) : capitalize(word)))\n .join('');\n}\nfunction toActionType(source, eventName) {\n return `[${source}] ${eventName}`;\n}\n\nconst INIT = '@ngrx/store/init';\nclass ActionsSubject extends BehaviorSubject {\n constructor() {\n super({ type: INIT });\n }\n next(action) {\n if (typeof action === 'function') {\n throw new TypeError(`\n Dispatch expected an object, instead it received a function.\n If you're using the createAction function, make sure to invoke the function\n before dispatching the action. For example, someAction should be someAction().`);\n }\n else if (typeof action === 'undefined') {\n throw new TypeError(`Actions must be objects`);\n }\n else if (typeof action.type === 'undefined') {\n throw new TypeError(`Actions must have a type property`);\n }\n super.next(action);\n }\n complete() {\n /* noop */\n }\n ngOnDestroy() {\n super.complete();\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: ActionsSubject, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: ActionsSubject }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: ActionsSubject, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return []; } });\nconst ACTIONS_SUBJECT_PROVIDERS = [ActionsSubject];\n\nconst _ROOT_STORE_GUARD = new InjectionToken('@ngrx/store Internal Root Guard');\nconst _INITIAL_STATE = new InjectionToken('@ngrx/store Internal Initial State');\nconst INITIAL_STATE = new InjectionToken('@ngrx/store Initial State');\nconst REDUCER_FACTORY = new InjectionToken('@ngrx/store Reducer Factory');\nconst _REDUCER_FACTORY = new InjectionToken('@ngrx/store Internal Reducer Factory Provider');\nconst INITIAL_REDUCERS = new InjectionToken('@ngrx/store Initial Reducers');\nconst _INITIAL_REDUCERS = new InjectionToken('@ngrx/store Internal Initial Reducers');\nconst STORE_FEATURES = new InjectionToken('@ngrx/store Store Features');\nconst _STORE_REDUCERS = new InjectionToken('@ngrx/store Internal Store Reducers');\nconst _FEATURE_REDUCERS = new InjectionToken('@ngrx/store Internal Feature Reducers');\nconst _FEATURE_CONFIGS = new InjectionToken('@ngrx/store Internal Feature Configs');\nconst _STORE_FEATURES = new InjectionToken('@ngrx/store Internal Store Features');\nconst _FEATURE_REDUCERS_TOKEN = new InjectionToken('@ngrx/store Internal Feature Reducers Token');\nconst FEATURE_REDUCERS = new InjectionToken('@ngrx/store Feature Reducers');\n/**\n * User-defined meta reducers from StoreModule.forRoot()\n */\nconst USER_PROVIDED_META_REDUCERS = new InjectionToken('@ngrx/store User Provided Meta Reducers');\n/**\n * Meta reducers defined either internally by @ngrx/store or by library authors\n */\nconst META_REDUCERS = new InjectionToken('@ngrx/store Meta Reducers');\n/**\n * Concats the user provided meta reducers and the meta reducers provided on the multi\n * injection token\n */\nconst _RESOLVED_META_REDUCERS = new InjectionToken('@ngrx/store Internal Resolved Meta Reducers');\n/**\n * Runtime checks defined by the user via an InjectionToken\n * Defaults to `_USER_RUNTIME_CHECKS`\n */\nconst USER_RUNTIME_CHECKS = new InjectionToken('@ngrx/store User Runtime Checks Config');\n/**\n * Runtime checks defined by the user via forRoot()\n */\nconst _USER_RUNTIME_CHECKS = new InjectionToken('@ngrx/store Internal User Runtime Checks Config');\n/**\n * Runtime checks currently in use\n */\nconst ACTIVE_RUNTIME_CHECKS = new InjectionToken('@ngrx/store Internal Runtime Checks');\nconst _ACTION_TYPE_UNIQUENESS_CHECK = new InjectionToken('@ngrx/store Check if Action types are unique');\n/**\n * InjectionToken that registers the global Store.\n * Mainly used to provide a hook that can be injected\n * to ensure the root state is loaded before something\n * that depends on it.\n */\nconst ROOT_STORE_PROVIDER = new InjectionToken('@ngrx/store Root Store Provider');\n/**\n * InjectionToken that registers feature states.\n * Mainly used to provide a hook that can be injected\n * to ensure feature state is loaded before something\n * that depends on it.\n */\nconst FEATURE_STATE_PROVIDER = new InjectionToken('@ngrx/store Feature State Provider');\n\n/**\n * @description\n * Combines reducers for individual features into a single reducer.\n *\n * You can use this function to delegate handling of state transitions to multiple reducers, each acting on their\n * own sub-state within the root state.\n *\n * @param reducers An object mapping keys of the root state to their corresponding feature reducer.\n * @param initialState Provides a state value if the current state is `undefined`, as it is initially.\n * @returns A reducer function.\n *\n * @usageNotes\n *\n * **Example combining two feature reducers into one \"root\" reducer**\n *\n * ```ts\n * export const reducer = combineReducers({\n * featureA: featureAReducer,\n * featureB: featureBReducer\n * });\n * ```\n *\n * You can also override the initial states of the sub-features:\n * ```ts\n * export const reducer = combineReducers({\n * featureA: featureAReducer,\n * featureB: featureBReducer\n * }, {\n * featureA: { counterA: 13 },\n * featureB: { counterB: 37 }\n * });\n * ```\n */\nfunction combineReducers(reducers, initialState = {}) {\n const reducerKeys = Object.keys(reducers);\n const finalReducers = {};\n for (let i = 0; i < reducerKeys.length; i++) {\n const key = reducerKeys[i];\n if (typeof reducers[key] === 'function') {\n finalReducers[key] = reducers[key];\n }\n }\n const finalReducerKeys = Object.keys(finalReducers);\n return function combination(state, action) {\n state = state === undefined ? initialState : state;\n let hasChanged = false;\n const nextState = {};\n for (let i = 0; i < finalReducerKeys.length; i++) {\n const key = finalReducerKeys[i];\n const reducer = finalReducers[key];\n const previousStateForKey = state[key];\n const nextStateForKey = reducer(previousStateForKey, action);\n nextState[key] = nextStateForKey;\n hasChanged = hasChanged || nextStateForKey !== previousStateForKey;\n }\n return hasChanged ? nextState : state;\n };\n}\nfunction omit(object, keyToRemove) {\n return Object.keys(object)\n .filter((key) => key !== keyToRemove)\n .reduce((result, key) => Object.assign(result, { [key]: object[key] }), {});\n}\nfunction compose(...functions) {\n return function (arg) {\n if (functions.length === 0) {\n return arg;\n }\n const last = functions[functions.length - 1];\n const rest = functions.slice(0, -1);\n return rest.reduceRight((composed, fn) => fn(composed), last(arg));\n };\n}\nfunction createReducerFactory(reducerFactory, metaReducers) {\n if (Array.isArray(metaReducers) && metaReducers.length > 0) {\n reducerFactory = compose.apply(null, [\n ...metaReducers,\n reducerFactory,\n ]);\n }\n return (reducers, initialState) => {\n const reducer = reducerFactory(reducers);\n return (state, action) => {\n state = state === undefined ? initialState : state;\n return reducer(state, action);\n };\n };\n}\nfunction createFeatureReducerFactory(metaReducers) {\n const reducerFactory = Array.isArray(metaReducers) && metaReducers.length > 0\n ? compose(...metaReducers)\n : (r) => r;\n return (reducer, initialState) => {\n reducer = reducerFactory(reducer);\n return (state, action) => {\n state = state === undefined ? initialState : state;\n return reducer(state, action);\n };\n };\n}\n\nclass ReducerObservable extends Observable {\n}\nclass ReducerManagerDispatcher extends ActionsSubject {\n}\nconst UPDATE = '@ngrx/store/update-reducers';\nclass ReducerManager extends BehaviorSubject {\n get currentReducers() {\n return this.reducers;\n }\n constructor(dispatcher, initialState, reducers, reducerFactory) {\n super(reducerFactory(reducers, initialState));\n this.dispatcher = dispatcher;\n this.initialState = initialState;\n this.reducers = reducers;\n this.reducerFactory = reducerFactory;\n }\n addFeature(feature) {\n this.addFeatures([feature]);\n }\n addFeatures(features) {\n const reducers = features.reduce((reducerDict, { reducers, reducerFactory, metaReducers, initialState, key }) => {\n const reducer = typeof reducers === 'function'\n ? createFeatureReducerFactory(metaReducers)(reducers, initialState)\n : createReducerFactory(reducerFactory, metaReducers)(reducers, initialState);\n reducerDict[key] = reducer;\n return reducerDict;\n }, {});\n this.addReducers(reducers);\n }\n removeFeature(feature) {\n this.removeFeatures([feature]);\n }\n removeFeatures(features) {\n this.removeReducers(features.map((p) => p.key));\n }\n addReducer(key, reducer) {\n this.addReducers({ [key]: reducer });\n }\n addReducers(reducers) {\n this.reducers = { ...this.reducers, ...reducers };\n this.updateReducers(Object.keys(reducers));\n }\n removeReducer(featureKey) {\n this.removeReducers([featureKey]);\n }\n removeReducers(featureKeys) {\n featureKeys.forEach((key) => {\n this.reducers = omit(this.reducers, key) /*TODO(#823)*/;\n });\n this.updateReducers(featureKeys);\n }\n updateReducers(featureKeys) {\n this.next(this.reducerFactory(this.reducers, this.initialState));\n this.dispatcher.next({\n type: UPDATE,\n features: featureKeys,\n });\n }\n ngOnDestroy() {\n this.complete();\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: ReducerManager, deps: [{ token: ReducerManagerDispatcher }, { token: INITIAL_STATE }, { token: INITIAL_REDUCERS }, { token: REDUCER_FACTORY }], target: i0.ɵɵFactoryTarget.Injectable }); }\n /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: ReducerManager }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: ReducerManager, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: ReducerManagerDispatcher }, { type: undefined, decorators: [{\n type: Inject,\n args: [INITIAL_STATE]\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [INITIAL_REDUCERS]\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [REDUCER_FACTORY]\n }] }]; } });\nconst REDUCER_MANAGER_PROVIDERS = [\n ReducerManager,\n { provide: ReducerObservable, useExisting: ReducerManager },\n { provide: ReducerManagerDispatcher, useExisting: ActionsSubject },\n];\n\nclass ScannedActionsSubject extends Subject {\n ngOnDestroy() {\n this.complete();\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: ScannedActionsSubject, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }\n /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: ScannedActionsSubject }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: ScannedActionsSubject, decorators: [{\n type: Injectable\n }] });\nconst SCANNED_ACTIONS_SUBJECT_PROVIDERS = [\n ScannedActionsSubject,\n];\n\nclass StateObservable extends Observable {\n}\nclass State extends BehaviorSubject {\n static { this.INIT = INIT; }\n constructor(actions$, reducer$, scannedActions, initialState) {\n super(initialState);\n const actionsOnQueue$ = actions$.pipe(observeOn(queueScheduler));\n const withLatestReducer$ = actionsOnQueue$.pipe(withLatestFrom(reducer$));\n const seed = { state: initialState };\n const stateAndAction$ = withLatestReducer$.pipe(scan(reduceState, seed));\n this.stateSubscription = stateAndAction$.subscribe(({ state, action }) => {\n this.next(state);\n scannedActions.next(action);\n });\n this.state = toSignal(this, { manualCleanup: true, requireSync: true });\n }\n ngOnDestroy() {\n this.stateSubscription.unsubscribe();\n this.complete();\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: State, deps: [{ token: ActionsSubject }, { token: ReducerObservable }, { token: ScannedActionsSubject }, { token: INITIAL_STATE }], target: i0.ɵɵFactoryTarget.Injectable }); }\n /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: State }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: State, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: ActionsSubject }, { type: ReducerObservable }, { type: ScannedActionsSubject }, { type: undefined, decorators: [{\n type: Inject,\n args: [INITIAL_STATE]\n }] }]; } });\nfunction reduceState(stateActionPair = { state: undefined }, [action, reducer]) {\n const { state } = stateActionPair;\n return { state: reducer(state, action), action };\n}\nconst STATE_PROVIDERS = [\n State,\n { provide: StateObservable, useExisting: State },\n];\n\n// disabled because we have lowercase generics for `select`\nclass Store extends Observable {\n constructor(state$, actionsObserver, reducerManager) {\n super();\n this.actionsObserver = actionsObserver;\n this.reducerManager = reducerManager;\n this.source = state$;\n this.state = state$.state;\n }\n select(pathOrMapFn, ...paths) {\n return select.call(null, pathOrMapFn, ...paths)(this);\n }\n /**\n * Returns a signal of the provided selector.\n *\n * @param selector selector function\n * @param options select signal options\n */\n selectSignal(selector, options) {\n return computed(() => selector(this.state()), {\n equal: options?.equal || ((previous, current) => previous === current),\n });\n }\n lift(operator) {\n const store = new Store(this, this.actionsObserver, this.reducerManager);\n store.operator = operator;\n return store;\n }\n dispatch(action) {\n this.actionsObserver.next(action);\n }\n next(action) {\n this.actionsObserver.next(action);\n }\n error(err) {\n this.actionsObserver.error(err);\n }\n complete() {\n this.actionsObserver.complete();\n }\n addReducer(key, reducer) {\n this.reducerManager.addReducer(key, reducer);\n }\n removeReducer(key) {\n this.reducerManager.removeReducer(key);\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: Store, deps: [{ token: StateObservable }, { token: ActionsSubject }, { token: ReducerManager }], target: i0.ɵɵFactoryTarget.Injectable }); }\n /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: Store }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: Store, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: StateObservable }, { type: ActionsSubject }, { type: ReducerManager }]; } });\nconst STORE_PROVIDERS = [Store];\nfunction select(pathOrMapFn, propsOrPath, ...paths) {\n return function selectOperator(source$) {\n let mapped$;\n if (typeof pathOrMapFn === 'string') {\n const pathSlices = [propsOrPath, ...paths].filter(Boolean);\n mapped$ = source$.pipe(pluck(pathOrMapFn, ...pathSlices));\n }\n else if (typeof pathOrMapFn === 'function') {\n mapped$ = source$.pipe(map((source) => pathOrMapFn(source, propsOrPath)));\n }\n else {\n throw new TypeError(`Unexpected type '${typeof pathOrMapFn}' in select operator,` +\n ` expected 'string' or 'function'`);\n }\n return mapped$.pipe(distinctUntilChanged());\n };\n}\n\nconst RUNTIME_CHECK_URL = 'https://ngrx.io/guide/store/configuration/runtime-checks';\nfunction isUndefined(target) {\n return target === undefined;\n}\nfunction isNull(target) {\n return target === null;\n}\nfunction isArray(target) {\n return Array.isArray(target);\n}\nfunction isString(target) {\n return typeof target === 'string';\n}\nfunction isBoolean(target) {\n return typeof target === 'boolean';\n}\nfunction isNumber(target) {\n return typeof target === 'number';\n}\nfunction isObjectLike(target) {\n return typeof target === 'object' && target !== null;\n}\nfunction isObject(target) {\n return isObjectLike(target) && !isArray(target);\n}\nfunction isPlainObject(target) {\n if (!isObject(target)) {\n return false;\n }\n const targetPrototype = Object.getPrototypeOf(target);\n return targetPrototype === Object.prototype || targetPrototype === null;\n}\nfunction isFunction(target) {\n return typeof target === 'function';\n}\nfunction isComponent(target) {\n return isFunction(target) && target.hasOwnProperty('ɵcmp');\n}\nfunction hasOwnProperty(target, propertyName) {\n return Object.prototype.hasOwnProperty.call(target, propertyName);\n}\n\nlet _ngrxMockEnvironment = false;\nfunction setNgrxMockEnvironment(value) {\n _ngrxMockEnvironment = value;\n}\nfunction isNgrxMockEnvironment() {\n return _ngrxMockEnvironment;\n}\n\nfunction isEqualCheck(a, b) {\n return a === b;\n}\nfunction isArgumentsChanged(args, lastArguments, comparator) {\n for (let i = 0; i < args.length; i++) {\n if (!comparator(args[i], lastArguments[i])) {\n return true;\n }\n }\n return false;\n}\nfunction resultMemoize(projectionFn, isResultEqual) {\n return defaultMemoize(projectionFn, isEqualCheck, isResultEqual);\n}\nfunction defaultMemoize(projectionFn, isArgumentsEqual = isEqualCheck, isResultEqual = isEqualCheck) {\n let lastArguments = null;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, , , , ,\n let lastResult = null;\n let overrideResult;\n function reset() {\n lastArguments = null;\n lastResult = null;\n }\n function setResult(result = undefined) {\n overrideResult = { result };\n }\n function clearResult() {\n overrideResult = undefined;\n }\n /* eslint-disable prefer-rest-params, prefer-spread */\n // disabled because of the use of `arguments`\n function memoized() {\n if (overrideResult !== undefined) {\n return overrideResult.result;\n }\n if (!lastArguments) {\n lastResult = projectionFn.apply(null, arguments);\n lastArguments = arguments;\n return lastResult;\n }\n if (!isArgumentsChanged(arguments, lastArguments, isArgumentsEqual)) {\n return lastResult;\n }\n const newResult = projectionFn.apply(null, arguments);\n lastArguments = arguments;\n if (isResultEqual(lastResult, newResult)) {\n return lastResult;\n }\n lastResult = newResult;\n return newResult;\n }\n return { memoized, reset, setResult, clearResult };\n}\nfunction createSelector(...input) {\n return createSelectorFactory(defaultMemoize)(...input);\n}\nfunction defaultStateFn(state, selectors, props, memoizedProjector) {\n if (props === undefined) {\n const args = selectors.map((fn) => fn(state));\n return memoizedProjector.memoized.apply(null, args);\n }\n const args = selectors.map((fn) => fn(state, props));\n return memoizedProjector.memoized.apply(null, [...args, props]);\n}\n/**\n *\n * @param memoize The function used to memoize selectors\n * @param options Config Object that may include a `stateFn` function defining how to return the selector's value, given the entire `Store`'s state, parent `Selector`s, `Props`, and a `MemoizedProjection`\n *\n * @usageNotes\n *\n * **Creating a Selector Factory Where Array Order Does Not Matter**\n *\n * ```ts\n * function removeMatch(arr: string[], target: string): string[] {\n * const matchIndex = arr.indexOf(target);\n * return [...arr.slice(0, matchIndex), ...arr.slice(matchIndex + 1)];\n * }\n *\n * function orderDoesNotMatterComparer(a: any, b: any): boolean {\n * if (!Array.isArray(a) || !Array.isArray(b)) {\n * return a === b;\n * }\n * if (a.length !== b.length) {\n * return false;\n * }\n * let tempB = [...b];\n * function reduceToDetermineIfArraysContainSameContents(\n * previousCallResult: boolean,\n * arrayMember: any\n * ): boolean {\n * if (previousCallResult === false) {\n * return false;\n * }\n * if (tempB.includes(arrayMember)) {\n * tempB = removeMatch(tempB, arrayMember);\n * return true;\n * }\n * return false;\n * }\n * return a.reduce(reduceToDetermineIfArraysContainSameContents, true);\n * }\n *\n * export const createOrderDoesNotMatterSelector = createSelectorFactory(\n * (projectionFun) => defaultMemoize(\n * projectionFun,\n * orderDoesNotMatterComparer,\n * orderDoesNotMatterComparer\n * )\n * );\n * ```\n *\n * **Creating an Alternative Memoization Strategy**\n *\n * ```ts\n * function serialize(x: any): string {\n * return JSON.stringify(x);\n * }\n *\n * export const createFullHistorySelector = createSelectorFactory(\n * (projectionFunction) => {\n * const cache = {};\n *\n * function memoized() {\n * const serializedArguments = serialize(...arguments);\n * if (cache[serializedArguments] != null) {\n * cache[serializedArguments] = projectionFunction.apply(null, arguments);\n * }\n * return cache[serializedArguments];\n * }\n * return {\n * memoized,\n * reset: () => {},\n * setResult: () => {},\n * clearResult: () => {},\n * };\n * }\n * );\n * ```\n */\nfunction createSelectorFactory(memoize, options = {\n stateFn: defaultStateFn,\n}) {\n return function (...input) {\n let args = input;\n if (Array.isArray(args[0])) {\n const [head, ...tail] = args;\n args = [...head, ...tail];\n }\n else if (args.length === 1 && isSelectorsDictionary(args[0])) {\n args = extractArgsFromSelectorsDictionary(args[0]);\n }\n const selectors = args.slice(0, args.length - 1);\n const projector = args[args.length - 1];\n const memoizedSelectors = selectors.filter((selector) => selector.release && typeof selector.release === 'function');\n const memoizedProjector = memoize(function (...selectors) {\n return projector.apply(null, selectors);\n });\n const memoizedState = defaultMemoize(function (state, props) {\n return options.stateFn.apply(null, [\n state,\n selectors,\n props,\n memoizedProjector,\n ]);\n });\n function release() {\n memoizedState.reset();\n memoizedProjector.reset();\n memoizedSelectors.forEach((selector) => selector.release());\n }\n return Object.assign(memoizedState.memoized, {\n release,\n projector: memoizedProjector.memoized,\n setResult: memoizedState.setResult,\n clearResult: memoizedState.clearResult,\n });\n };\n}\nfunction createFeatureSelector(featureName) {\n return createSelector((state) => {\n const featureState = state[featureName];\n if (!isNgrxMockEnvironment() && isDevMode() && !(featureName in state)) {\n console.warn(`@ngrx/store: The feature name \"${featureName}\" does ` +\n 'not exist in the state, therefore createFeatureSelector ' +\n 'cannot access it. Be sure it is imported in a loaded module ' +\n `using StoreModule.forRoot('${featureName}', ...) or ` +\n `StoreModule.forFeature('${featureName}', ...). If the default ` +\n 'state is intended to be undefined, as is the case with router ' +\n 'state, this development-only warning message can be ignored.');\n }\n return featureState;\n }, (featureState) => featureState);\n}\nfunction isSelectorsDictionary(selectors) {\n return (!!selectors &&\n typeof selectors === 'object' &&\n Object.values(selectors).every((selector) => typeof selector === 'function'));\n}\nfunction extractArgsFromSelectorsDictionary(selectorsDictionary) {\n const selectors = Object.values(selectorsDictionary);\n const resultKeys = Object.keys(selectorsDictionary);\n const projector = (...selectorResults) => resultKeys.reduce((result, key, index) => ({\n ...result,\n [key]: selectorResults[index],\n }), {});\n return [...selectors, projector];\n}\n\n/**\n * @description\n * A function that accepts a feature name and a feature reducer, and creates\n * a feature selector and a selector for each feature state property.\n * This function also provides the ability to add extra selectors to\n * the feature object.\n *\n * @param featureConfig An object that contains a feature name and a feature\n * reducer as required, and extra selectors factory as an optional argument.\n * @returns An object that contains a feature name, a feature reducer,\n * a feature selector, a selector for each feature state property, and extra\n * selectors.\n *\n * @usageNotes\n *\n * ```ts\n * interface ProductsState {\n * products: Product[];\n * selectedId: string | null;\n * }\n *\n * const initialState: ProductsState = {\n * products: [],\n * selectedId: null,\n * };\n *\n * const productsFeature = createFeature({\n * name: 'products',\n * reducer: createReducer(\n * initialState,\n * on(ProductsApiActions.loadSuccess(state, { products }) => ({\n * ...state,\n * products,\n * }),\n * ),\n * });\n *\n * const {\n * name,\n * reducer,\n * // feature selector\n * selectProductsState, // type: MemoizedSelector<Record<string, any>, ProductsState>\n * // feature state properties selectors\n * selectProducts, // type: MemoizedSelector<Record<string, any>, Product[]>\n * selectSelectedId, // type: MemoizedSelector<Record<string, any>, string | null>\n * } = productsFeature;\n * ```\n *\n * **Creating Feature with Extra Selectors**\n *\n * ```ts\n * type CallState = 'init' | 'loading' | 'loaded' | { error: string };\n *\n * interface State extends EntityState<Product> {\n * callState: CallState;\n * }\n *\n * const adapter = createEntityAdapter<Product>();\n * const initialState: State = adapter.getInitialState({\n * callState: 'init',\n * });\n *\n * export const productsFeature = createFeature({\n * name: 'products',\n * reducer: createReducer(initialState),\n * extraSelectors: ({ selectProductsState, selectCallState }) => ({\n * ...adapter.getSelectors(selectProductsState),\n * ...getCallStateSelectors(selectCallState)\n * }),\n * });\n *\n * const {\n * name,\n * reducer,\n * // feature selector\n * selectProductsState,\n * // feature state properties selectors\n * selectIds,\n * selectEntities,\n * selectCallState,\n * // selectors returned by `adapter.getSelectors`\n * selectAll,\n * selectTotal,\n * // selectors returned by `getCallStateSelectors`\n * selectIsLoading,\n * selectIsLoaded,\n * selectError,\n * } = productsFeature;\n * ```\n */\nfunction createFeature(featureConfig) {\n const { name, reducer, extraSelectors: extraSelectorsFactory, } = featureConfig;\n const featureSelector = createFeatureSelector(name);\n const nestedSelectors = createNestedSelectors(featureSelector, reducer);\n const baseSelectors = {\n [`select${capitalize(name)}State`]: featureSelector,\n ...nestedSelectors,\n };\n const extraSelectors = extraSelectorsFactory\n ? extraSelectorsFactory(baseSelectors)\n : {};\n return {\n name,\n reducer,\n ...baseSelectors,\n ...extraSelectors,\n };\n}\nfunction createNestedSelectors(featureSelector, reducer) {\n const initialState = getInitialState(reducer);\n const nestedKeys = (isPlainObject(initialState) ? Object.keys(initialState) : []);\n return nestedKeys.reduce((nestedSelectors, nestedKey) => ({\n ...nestedSelectors,\n [`select${capitalize(nestedKey)}`]: createSelector(featureSelector, (parentState) => parentState?.[nestedKey]),\n }), {});\n}\nfunction getInitialState(reducer) {\n return reducer(undefined, { type: '@ngrx/feature/init' });\n}\n\nfunction _createStoreReducers(reducers) {\n return reducers instanceof InjectionToken ? inject(reducers) : reducers;\n}\nfunction _createFeatureStore(configs, featureStores) {\n return featureStores.map((feat, index) => {\n if (configs[index] instanceof InjectionToken) {\n const conf = inject(configs[index]);\n return {\n key: feat.key,\n reducerFactory: conf.reducerFactory\n ? conf.reducerFactory\n : combineReducers,\n metaReducers: conf.metaReducers ? conf.metaReducers : [],\n initialState: conf.initialState,\n };\n }\n return feat;\n });\n}\nfunction _createFeatureReducers(reducerCollection) {\n return reducerCollection.map((reducer) => {\n return reducer instanceof InjectionToken ? inject(reducer) : reducer;\n });\n}\nfunction _initialStateFactory(initialState) {\n if (typeof initialState === 'function') {\n return initialState();\n }\n return initialState;\n}\nfunction _concatMetaReducers(metaReducers, userProvidedMetaReducers) {\n return metaReducers.concat(userProvidedMetaReducers);\n}\nfunction _provideForRootGuard() {\n const store = inject(Store, { optional: true, skipSelf: true });\n if (store) {\n throw new TypeError(`The root Store has been provided more than once. Feature modules should provide feature states instead.`);\n }\n return 'guarded';\n}\n\nfunction immutabilityCheckMetaReducer(reducer, checks) {\n return function (state, action) {\n const act = checks.action(action) ? freeze(action) : action;\n const nextState = reducer(state, act);\n return checks.state() ? freeze(nextState) : nextState;\n };\n}\nfunction freeze(target) {\n Object.freeze(target);\n const targetIsFunction = isFunction(target);\n Object.getOwnPropertyNames(target).forEach((prop) => {\n // Ignore Ivy properties, ref: https://github.com/ngrx/platform/issues/2109#issuecomment-582689060\n if (prop.startsWith('ɵ')) {\n return;\n }\n if (hasOwnProperty(target, prop) &&\n (targetIsFunction\n ? prop !== 'caller' && prop !== 'callee' && prop !== 'arguments'\n : true)) {\n const propValue = target[prop];\n if ((isObjectLike(propValue) || isFunction(propValue)) &&\n !Object.isFrozen(propValue)) {\n freeze(propValue);\n }\n }\n });\n return target;\n}\n\nfunction serializationCheckMetaReducer(reducer, checks) {\n return function (state, action) {\n if (checks.action(action)) {\n const unserializableAction = getUnserializable(action);\n throwIfUnserializable(unserializableAction, 'action');\n }\n const nextState = reducer(state, action);\n if (checks.state()) {\n const unserializableState = getUnserializable(nextState);\n throwIfUnserializable(unserializableState, 'state');\n }\n return nextState;\n };\n}\nfunction getUnserializable(target, path = []) {\n // Guard against undefined and null, e.g. a reducer that returns undefined\n if ((isUndefined(target) || isNull(target)) && path.length === 0) {\n return {\n path: ['root'],\n value: target,\n };\n }\n const keys = Object.keys(target);\n return keys.reduce((result, key) => {\n if (result) {\n return result;\n }\n const value = target[key];\n // Ignore Ivy components\n if (isComponent(value)) {\n return result;\n }\n if (isUndefined(value) ||\n isNull(value) ||\n isNumber(value) ||\n isBoolean(value) ||\n isString(value) ||\n isArray(value)) {\n return false;\n }\n if (isPlainObject(value)) {\n return getUnserializable(value, [...path, key]);\n }\n return {\n path: [...path, key],\n value,\n };\n }, false);\n}\nfunction throwIfUnserializable(unserializable, context) {\n if (unserializable === false) {\n return;\n }\n const unserializablePath = unserializable.path.join('.');\n const error = new Error(`Detected unserializable ${context} at \"${unserializablePath}\". ${RUNTIME_CHECK_URL}#strict${context}serializability`);\n error.value = unserializable.value;\n error.unserializablePath = unserializablePath;\n throw error;\n}\n\nfunction inNgZoneAssertMetaReducer(reducer, checks) {\n return function (state, action) {\n if (checks.action(action) && !i0.NgZone.isInAngularZone()) {\n throw new Error(`Action '${action.type}' running outside NgZone. ${RUNTIME_CHECK_URL}#strictactionwithinngzone`);\n }\n return reducer(state, action);\n };\n}\n\nfunction createActiveRuntimeChecks(runtimeChecks) {\n if (isDevMode()) {\n return {\n strictStateSerializability: false,\n strictActionSerializability: false,\n strictStateImmutability: true,\n strictActionImmutability: true,\n strictActionWithinNgZone: false,\n strictActionTypeUniqueness: false,\n ...runtimeChecks,\n };\n }\n return {\n strictStateSerializability: false,\n strictActionSerializability: false,\n strictStateImmutability: false,\n strictActionImmutability: false,\n strictActionWithinNgZone: false,\n strictActionTypeUniqueness: false,\n };\n}\nfunction createSerializationCheckMetaReducer({ strictActionSerializability, strictStateSerializability, }) {\n return (reducer) => strictActionSerializability || strictStateSerializability\n ? serializationCheckMetaReducer(reducer, {\n action: (action) => strictActionSerializability && !ignoreNgrxAction(action),\n state: () => strictStateSerializability,\n })\n : reducer;\n}\nfunction createImmutabilityCheckMetaReducer({ strictActionImmutability, strictStateImmutability, }) {\n return (reducer) => strictActionImmutability || strictStateImmutability\n ? immutabilityCheckMetaReducer(reducer, {\n action: (action) => strictActionImmutability && !ignoreNgrxAction(action),\n state: () => strictStateImmutability,\n })\n : reducer;\n}\nfunction ignoreNgrxAction(action) {\n return action.type.startsWith('@ngrx');\n}\nfunction createInNgZoneCheckMetaReducer({ strictActionWithinNgZone, }) {\n return (reducer) => strictActionWithinNgZone\n ? inNgZoneAssertMetaReducer(reducer, {\n action: (action) => strictActionWithinNgZone && !ignoreNgrxAction(action),\n })\n : reducer;\n}\nfunction provideRuntimeChecks(runtimeChecks) {\n return [\n {\n provide: _USER_RUNTIME_CHECKS,\n useValue: runtimeChecks,\n },\n {\n provide: USER_RUNTIME_CHECKS,\n useFactory: _runtimeChecksFactory,\n deps: [_USER_RUNTIME_CHECKS],\n },\n {\n provide: ACTIVE_RUNTIME_CHECKS,\n deps: [USER_RUNTIME_CHECKS],\n useFactory: createActiveRuntimeChecks,\n },\n {\n provide: META_REDUCERS,\n multi: true,\n deps: [ACTIVE_RUNTIME_CHECKS],\n useFactory: createImmutabilityCheckMetaReducer,\n },\n {\n provide: META_REDUCERS,\n multi: true,\n deps: [ACTIVE_RUNTIME_CHECKS],\n useFactory: createSerializationCheckMetaReducer,\n },\n {\n provide: META_REDUCERS,\n multi: true,\n deps: [ACTIVE_RUNTIME_CHECKS],\n useFactory: createInNgZoneCheckMetaReducer,\n },\n ];\n}\nfunction checkForActionTypeUniqueness() {\n return [\n {\n provide: _ACTION_TYPE_UNIQUENESS_CHECK,\n multi: true,\n deps: [ACTIVE_RUNTIME_CHECKS],\n useFactory: _actionTypeUniquenessCheck,\n },\n ];\n}\nfunction _runtimeChecksFactory(runtimeChecks) {\n return runtimeChecks;\n}\nfunction _actionTypeUniquenessCheck(config) {\n if (!config.strictActionTypeUniqueness) {\n return;\n }\n const duplicates = Object.entries(REGISTERED_ACTION_TYPES)\n .filter(([, registrations]) => registrations > 1)\n .map(([type]) => type);\n if (duplicates.length) {\n throw new Error(`Action types are registered more than once, ${duplicates\n .map((type) => `\"${type}\"`)\n .join(', ')}. ${RUNTIME_CHECK_URL}#strictactiontypeuniqueness`);\n }\n}\n\n/**\n * Provides additional slices of state in the Store.\n * These providers cannot be used at the component level.\n *\n * @usageNotes\n *\n * ### Providing Store Features\n *\n * ```ts\n * const booksRoutes: Route[] = [\n * {\n * path: '',\n * providers: [provideState('books', booksReducer)],\n * children: [\n * { path: '', component: BookListComponent },\n * { path: ':id', component: BookDetailsComponent },\n * ],\n * },\n * ];\n * ```\n */\nfunction provideState(featureNameOrSlice, reducers, config = {}) {\n return makeEnvironmentProviders([\n ..._provideState(featureNameOrSlice, reducers, config),\n ENVIRONMENT_STATE_PROVIDER,\n ]);\n}\nfunction _provideStore(reducers = {}, config = {}) {\n return [\n {\n provide: _ROOT_STORE_GUARD,\n useFactory: _provideForRootGuard,\n },\n { provide: _INITIAL_STATE, useValue: config.initialState },\n {\n provide: INITIAL_STATE,\n useFactory: _initialStateFactory,\n deps: [_INITIAL_STATE],\n },\n { provide: _INITIAL_REDUCERS, useValue: reducers },\n {\n provide: _STORE_REDUCERS,\n useExisting: reducers instanceof InjectionToken ? reducers : _INITIAL_REDUCERS,\n },\n {\n provide: INITIAL_REDUCERS,\n deps: [_INITIAL_REDUCERS, [new Inject(_STORE_REDUCERS)]],\n useFactory: _createStoreReducers,\n },\n {\n provide: USER_PROVIDED_META_REDUCERS,\n useValue: config.metaReducers ? config.metaReducers : [],\n },\n {\n provide: _RESOLVED_META_REDUCERS,\n deps: [META_REDUCERS, USER_PROVIDED_META_REDUCERS],\n useFactory: _concatMetaReducers,\n },\n {\n provide: _REDUCER_FACTORY,\n useValue: config.reducerFactory ? config.reducerFactory : combineReducers,\n },\n {\n provide: REDUCER_FACTORY,\n deps: [_REDUCER_FACTORY, _RESOLVED_META_REDUCERS],\n useFactory: createReducerFactory,\n },\n ACTIONS_SUBJECT_PROVIDERS,\n REDUCER_MANAGER_PROVIDERS,\n SCANNED_ACTIONS_SUBJECT_PROVIDERS,\n STATE_PROVIDERS,\n STORE_PROVIDERS,\n provideRuntimeChecks(config.runtimeChecks),\n checkForActionTypeUniqueness(),\n ];\n}\nfunction rootStoreProviderFactory() {\n inject(ActionsSubject);\n inject(ReducerObservable);\n inject(ScannedActionsSubject);\n inject(Store);\n inject(_ROOT_STORE_GUARD, { optional: true });\n inject(_ACTION_TYPE_UNIQUENESS_CHECK, { optional: true });\n}\n/**\n * Environment Initializer used in the root\n * providers to initialize the Store\n */\nconst ENVIRONMENT_STORE_PROVIDER = [\n { provide: ROOT_STORE_PROVIDER, useFactory: rootStoreProviderFactory },\n {\n provide: ENVIRONMENT_INITIALIZER,\n multi: true,\n useFactory() {\n return () => inject(ROOT_STORE_PROVIDER);\n },\n },\n];\n/**\n * Provides the global Store providers and initializes\n * the Store.\n * These providers cannot be used at the component level.\n *\n * @usageNotes\n *\n * ### Providing the Global Store\n *\n * ```ts\n * bootstrapApplication(AppComponent, {\n * providers: [provideStore()],\n * });\n * ```\n */\nfunction provideStore(reducers, config) {\n return makeEnvironmentProviders([\n ..._provideStore(reducers, config),\n ENVIRONMENT_STORE_PROVIDER,\n ]);\n}\nfunction featureStateProviderFactory() {\n inject(ROOT_STORE_PROVIDER);\n const features = inject(_STORE_FEATURES);\n const featureReducers = inject(FEATURE_REDUCERS);\n const reducerManager = inject(ReducerManager);\n inject(_ACTION_TYPE_UNIQUENESS_CHECK, { optional: true });\n const feats = features.map((feature, index) => {\n const featureReducerCollection = featureReducers.shift();\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n const reducers = featureReducerCollection /*TODO(#823)*/[index];\n return {\n ...feature,\n reducers,\n initialState: _initialStateFactory(feature.initialState),\n };\n });\n reducerManager.addFeatures(feats);\n}\n/**\n * Environment Initializer used in the feature\n * providers to register state features\n */\nconst ENVIRONMENT_STATE_PROVIDER = [\n {\n provide: FEATURE_STATE_PROVIDER,\n useFactory: featureStateProviderFactory,\n },\n {\n provide: ENVIRONMENT_INITIALIZER,\n multi: true,\n useFactory() {\n return () => inject(FEATURE_STATE_PROVIDER);\n },\n },\n];\nfunction _provideState(featureNameOrSlice, reducers, config = {}) {\n return [\n {\n provide: _FEATURE_CONFIGS,\n multi: true,\n useValue: featureNameOrSlice instanceof Object ? {} : config,\n },\n {\n provide: STORE_FEATURES,\n multi: true,\n useValue: {\n key: featureNameOrSlice instanceof Object\n ? featureNameOrSlice.name\n : featureNameOrSlice,\n reducerFactory: !(config instanceof InjectionToken) && config.reducerFactory\n ? config.reducerFactory\n : combineReducers,\n metaReducers: !(config instanceof InjectionToken) && config.metaReducers\n ? config.metaReducers\n : [],\n initialState: !(config instanceof InjectionToken) && config.initialState\n ? config.initialState\n : undefined,\n },\n },\n {\n provide: _STORE_FEATURES,\n deps: [_FEATURE_CONFIGS, STORE_FEATURES],\n useFactory: _createFeatureStore,\n },\n {\n provide: _FEATURE_REDUCERS,\n multi: true,\n useValue: featureNameOrSlice instanceof Object\n ? featureNameOrSlice.reducer\n : reducers,\n },\n {\n provide: _FEATURE_REDUCERS_TOKEN,\n multi: true,\n useExisting: reducers instanceof InjectionToken ? reducers : _FEATURE_REDUCERS,\n },\n {\n provide: FEATURE_REDUCERS,\n multi: true,\n deps: [_FEATURE_REDUCERS, [new Inject(_FEATURE_REDUCERS_TOKEN)]],\n useFactory: _createFeatureReducers,\n },\n checkForActionTypeUniqueness(),\n ];\n}\n\nclass StoreRootModule {\n constructor(actions$, reducer$, scannedActions$, store, guard, actionCheck) { }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: StoreRootModule, deps: [{ token: ActionsSubject }, { token: ReducerObservable }, { token: ScannedActionsSubject }, { token: Store }, { token: _ROOT_STORE_GUARD, optional: true }, { token: _ACTION_TYPE_UNIQUENESS_CHECK, optional: true }], target: i0.ɵɵFactoryTarget.NgModule }); }\n /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: StoreRootModule }); }\n /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: StoreRootModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: StoreRootModule, decorators: [{\n type: NgModule,\n args: [{}]\n }], ctorParameters: function () { return [{ type: ActionsSubject }, { type: ReducerObservable }, { type: ScannedActionsSubject }, { type: Store }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [_ROOT_STORE_GUARD]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [_ACTION_TYPE_UNIQUENESS_CHECK]\n }] }]; } });\nclass StoreFeatureModule {\n constructor(features, featureReducers, reducerManager, root, actionCheck) {\n this.features = features;\n this.featureReducers = featureReducers;\n this.reducerManager = reducerManager;\n const feats = features.map((feature, index) => {\n const featureReducerCollection = featureReducers.shift();\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n const reducers = featureReducerCollection /*TODO(#823)*/[index];\n return {\n ...feature,\n reducers,\n initialState: _initialStateFactory(feature.initialState),\n };\n });\n reducerManager.addFeatures(feats);\n }\n // eslint-disable-next-line @angular-eslint/contextual-lifecycle\n ngOnDestroy() {\n this.reducerManager.removeFeatures(this.features);\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: StoreFeatureModule, deps: [{ token: _STORE_FEATURES }, { token: FEATURE_REDUCERS }, { token: ReducerManager }, { token: StoreRootModule }, { token: _ACTION_TYPE_UNIQUENESS_CHECK, optional: true }], target: i0.ɵɵFactoryTarget.NgModule }); }\n /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: StoreFeatureModule }); }\n /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: StoreFeatureModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: StoreFeatureModule, decorators: [{\n type: NgModule,\n args: [{}]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [_STORE_FEATURES]\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [FEATURE_REDUCERS]\n }] }, { type: ReducerManager }, { type: StoreRootModule }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [_ACTION_TYPE_UNIQUENESS_CHECK]\n }] }]; } });\nclass StoreModule {\n static forRoot(reducers, config) {\n return {\n ngModule: StoreRootModule,\n providers: [..._provideStore(reducers, config)],\n };\n }\n static forFeature(featureNameOrSlice, reducers, config = {}) {\n return {\n ngModule: StoreFeatureModule,\n providers: [..._provideState(featureNameOrSlice, reducers, config)],\n };\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: StoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: StoreModule }); }\n /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: StoreModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: StoreModule, decorators: [{\n type: NgModule,\n args: [{}]\n }] });\n\n/**\n * @description\n * Associates actions with a given state change function.\n * A state change function must be provided as the last parameter.\n *\n * @param args `ActionCreator`'s followed by a state change function.\n *\n * @returns an association of action types with a state change function.\n *\n * @usageNotes\n * ```ts\n * on(AuthApiActions.loginSuccess, (state, { user }) => ({ ...state, user }))\n * ```\n */\nfunction on(...args) {\n const reducer = args.pop();\n const types = args.map((creator) => creator.type);\n return { reducer, types };\n}\n/**\n * @description\n * Creates a reducer function to handle state transitions.\n *\n * Reducer creators reduce the explicitness of reducer functions with switch statements.\n *\n * @param initialState Provides a state value if the current state is `undefined`, as it is initially.\n * @param ons Associations between actions and state changes.\n * @returns A reducer function.\n *\n * @usageNotes\n *\n * - Must be used with `ActionCreator`'s (returned by `createAction`). Cannot be used with class-based action creators.\n * - The returned `ActionReducer` does not require being wrapped with another function.\n *\n * **Declaring a reducer creator**\n *\n * ```ts\n * export const reducer = createReducer(\n * initialState,\n * on(\n * featureActions.actionOne,\n * featureActions.actionTwo,\n * (state, { updatedValue }) => ({ ...state, prop: updatedValue })\n * ),\n * on(featureActions.actionThree, () => initialState);\n * );\n * ```\n */\nfunction createReducer(initialState, ...ons) {\n const map = new Map();\n for (const on of ons) {\n for (const type of on.types) {\n const existingReducer = map.get(type);\n if (existingReducer) {\n const newReducer = (state, action) => on.reducer(existingReducer(state, action), action);\n map.set(type, newReducer);\n }\n else {\n map.set(type, on.reducer);\n }\n }\n }\n return function (state = initialState, action) {\n const reducer = map.get(action.type);\n return reducer ? reducer(state, action) : state;\n };\n}\n\n/**\n * DO NOT EDIT\n *\n * This file is automatically generated at build\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { ACTIVE_RUNTIME_CHECKS, ActionsSubject, FEATURE_REDUCERS, FEATURE_STATE_PROVIDER, INIT, INITIAL_REDUCERS, INITIAL_STATE, META_REDUCERS, REDUCER_FACTORY, ROOT_STORE_PROVIDER, ReducerManager, ReducerManagerDispatcher, ReducerObservable, STORE_FEATURES, ScannedActionsSubject, State, StateObservable, Store, StoreFeatureModule, StoreModule, StoreRootModule, UPDATE, USER_PROVIDED_META_REDUCERS, USER_RUNTIME_CHECKS, combineReducers, compose, createAction, createActionGroup, createFeature, createFeatureSelector, createReducer, createReducerFactory, createSelector, createSelectorFactory, defaultMemoize, defaultStateFn, emptyProps, isNgrxMockEnvironment, on, props, provideState, provideStore, reduceState, resultMemoize, select, setNgrxMockEnvironment, union };\n","import toPropertyKey from \"./toPropertyKey.js\";\nexport default function _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}","import defineProperty from \"./defineProperty.js\";\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n return keys;\n}\nexport default function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,293,294,295,296,297,298,299,300,301,302,303,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,482,493,494,495,496,497,498,499,500,501,502,503,504,505,506,507,508,509]} \ No newline at end of file diff --git a/8017.fee44725bd625d4f.js b/8017.fee44725bd625d4f.js new file mode 100644 index 0000000..5cc5657 --- /dev/null +++ b/8017.fee44725bd625d4f.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[8017,7376,5187,4091,1217,7208,4968,4155,1084,6896,5113,5749,4309,8024,8513,5555,4967,8116,5873,4680,2111,3326,8596,8352,5501,3098,8608,8443,5915,3278,5391,6748,6763,4151,5069,7432,6618],{35488:(f,n,e)=>{function t(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}e.d(n,{Z:()=>t})},28694:(f,n,e)=>{e.d(n,{Z:()=>i});var t=e(20265),o=e(98568),u=e(43445),r=e(35488);function i(p){var c=(0,o.Z)();return function(){var a,s=(0,t.Z)(p);if(c){var d=(0,t.Z)(this).constructor;a=Reflect.construct(s,arguments,d)}else a=s.apply(this,arguments);return function _(p,c){if(c&&("object"===(0,u.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(p)}(this,a)}}},20265:(f,n,e)=>{function t(o){return(t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)})(o)}e.d(n,{Z:()=>t})},24582:(f,n,e)=>{e.d(n,{Z:()=>o});var t=e(10006);function o(u,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(r&&r.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),r&&(0,t.Z)(u,r)}},98568:(f,n,e)=>{function t(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(n,{Z:()=>t})},10006:(f,n,e)=>{function t(o,u){return(t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_,i){return _.__proto__=i,_})(o,u)}e.d(n,{Z:()=>t})}}]); +//# sourceMappingURL=8017.fee44725bd625d4f.js.map \ No newline at end of file diff --git a/8017.fee44725bd625d4f.js.map b/8017.fee44725bd625d4f.js.map new file mode 100644 index 0000000..401e6c7 --- /dev/null +++ b/8017.fee44725bd625d4f.js.map @@ -0,0 +1 @@ +{"version":3,"file":"8017.fee44725bd625d4f.js","mappings":"sQAAe,SAAAA,EAAAC,GACf,YAAAA,EACA,UAAAC,eAAA,6DAEA,OAAAD,CACA,oGCFe,SAAAE,EAAAC,GACf,IAAAC,KAAkCC,EAAAC,KAClC,kBACA,IACAC,EADAC,KAAgBC,EAAAH,GAAcH,GAE9B,GAAAC,EAAA,CACA,IAAAM,KAAsBD,EAAAH,GAAcK,MAAAC,YACpCL,EAAAM,QAAAC,UAAAN,EAAAO,UAAAL,EAAA,MAEAH,EAAAC,EAAAQ,MAAAL,KAAAI,WAEA,OCZe,SAAAE,EAAAjB,EAAAkB,GACf,GAAAA,IAAsB,YAAtBA,EAAeC,EAAAb,GAAOY,IAAA,mBAAAA,GACtB,OAAAA,EACI,YAAAA,EACJ,UAAAE,UAAA,4DAEA,SAASC,EAAAf,GAAqBN,EAC9B,CDKWiB,CAAyBN,KAAAJ,EACpC,CACA,mBEhBe,SAAAe,EAAAC,GACf,OAAAD,EAAAE,OAAAC,eAAAD,OAAAf,eAAAiB,OAAA,SAAAH,GACA,OAAAA,EAAAI,WAAAH,OAAAf,eAAAc,EACA,GACAA,EACA,mECJe,SAAAK,EAAAC,EAAAC,GACf,sBAAAA,GAAA,OAAAA,EACA,UAAAV,UAAA,sDAEAS,EAAAE,UAAAP,OAAAQ,OAAAF,KAAAC,UAAA,CACAnB,YAAA,CACAqB,MAAAJ,EACAK,UAAA,EACAC,cAAA,KAGAX,OAAAY,eAAAP,EAAA,aACAK,UAAA,IAEAJ,MAAkBO,EAAA/B,GAAcuB,EAAAC,EAChC,mBChBe,SAAAQ,IAEf,UADAzB,QAAA,MAAAA,QAAAC,WACAD,QAAAC,UAAAyB,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAAV,UAAAW,QAAAxB,KAAAL,QAAAC,UAAA2B,QAAA,mBACA,CACA,OACA,QACA,CACA,mCCVe,SAAAE,EAAApB,EAAAqB,GACf,OAAAD,EAAAnB,OAAAC,eAAAD,OAAAC,eAAAC,OAAA,SAAAH,EAAAqB,GACA,OAAArB,EAAAI,UAAAiB,EACArB,CACA,GACAA,EAAAqB,EACA","names":["_assertThisInitialized","self","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","call","esm_typeof","TypeError","assertThisInitialized","_getPrototypeOf","o","Object","setPrototypeOf","bind","__proto__","_inherits","subClass","superClass","prototype","create","value","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6]} \ No newline at end of file diff --git a/8024.8f695f64b9d3a742.js b/8024.8f695f64b9d3a742.js new file mode 100644 index 0000000..8e125a1 --- /dev/null +++ b/8024.8f695f64b9d3a742.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[8024,7376,5187,4091,1217,7208,4968,4155,1084,6896,5113,5749,4309,8513,5555,4967,8017,8116,5873,4680,2111,3326,8596,8352,5501,3098,8608,8443,5915,3278,5391,6748,6763,4151,5069,7432,6618],{35488:(f,n,e)=>{function t(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}e.d(n,{Z:()=>t})},28694:(f,n,e)=>{e.d(n,{Z:()=>i});var t=e(20265),o=e(98568),u=e(43445),r=e(35488);function i(p){var c=(0,o.Z)();return function(){var a,s=(0,t.Z)(p);if(c){var d=(0,t.Z)(this).constructor;a=Reflect.construct(s,arguments,d)}else a=s.apply(this,arguments);return function _(p,c){if(c&&("object"===(0,u.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(p)}(this,a)}}},20265:(f,n,e)=>{function t(o){return(t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)})(o)}e.d(n,{Z:()=>t})},24582:(f,n,e)=>{e.d(n,{Z:()=>o});var t=e(10006);function o(u,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(r&&r.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),r&&(0,t.Z)(u,r)}},98568:(f,n,e)=>{function t(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(n,{Z:()=>t})},10006:(f,n,e)=>{function t(o,u){return(t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_,i){return _.__proto__=i,_})(o,u)}e.d(n,{Z:()=>t})}}]); +//# sourceMappingURL=8024.8f695f64b9d3a742.js.map \ No newline at end of file diff --git a/8024.8f695f64b9d3a742.js.map b/8024.8f695f64b9d3a742.js.map new file mode 100644 index 0000000..b1b5133 --- /dev/null +++ b/8024.8f695f64b9d3a742.js.map @@ -0,0 +1 @@ +{"version":3,"file":"8024.8f695f64b9d3a742.js","mappings":"sQAAe,SAAAA,EAAAC,GACf,YAAAA,EACA,UAAAC,eAAA,6DAEA,OAAAD,CACA,oGCFe,SAAAE,EAAAC,GACf,IAAAC,KAAkCC,EAAAC,KAClC,kBACA,IACAC,EADAC,KAAgBC,EAAAH,GAAcH,GAE9B,GAAAC,EAAA,CACA,IAAAM,KAAsBD,EAAAH,GAAcK,MAAAC,YACpCL,EAAAM,QAAAC,UAAAN,EAAAO,UAAAL,EAAA,MAEAH,EAAAC,EAAAQ,MAAAL,KAAAI,WAEA,OCZe,SAAAE,EAAAjB,EAAAkB,GACf,GAAAA,IAAsB,YAAtBA,EAAeC,EAAAb,GAAOY,IAAA,mBAAAA,GACtB,OAAAA,EACI,YAAAA,EACJ,UAAAE,UAAA,4DAEA,SAASC,EAAAf,GAAqBN,EAC9B,CDKWiB,CAAyBN,KAAAJ,EACpC,CACA,mBEhBe,SAAAe,EAAAC,GACf,OAAAD,EAAAE,OAAAC,eAAAD,OAAAf,eAAAiB,OAAA,SAAAH,GACA,OAAAA,EAAAI,WAAAH,OAAAf,eAAAc,EACA,GACAA,EACA,mECJe,SAAAK,EAAAC,EAAAC,GACf,sBAAAA,GAAA,OAAAA,EACA,UAAAV,UAAA,sDAEAS,EAAAE,UAAAP,OAAAQ,OAAAF,KAAAC,UAAA,CACAnB,YAAA,CACAqB,MAAAJ,EACAK,UAAA,EACAC,cAAA,KAGAX,OAAAY,eAAAP,EAAA,aACAK,UAAA,IAEAJ,MAAkBO,EAAA/B,GAAcuB,EAAAC,EAChC,mBChBe,SAAAQ,IAEf,UADAzB,QAAA,MAAAA,QAAAC,WACAD,QAAAC,UAAAyB,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAAV,UAAAW,QAAAxB,KAAAL,QAAAC,UAAA2B,QAAA,mBACA,CACA,OACA,QACA,CACA,mCCVe,SAAAE,EAAApB,EAAAqB,GACf,OAAAD,EAAAnB,OAAAC,eAAAD,OAAAC,eAAAC,OAAA,SAAAH,EAAAqB,GACA,OAAArB,EAAAI,UAAAiB,EACArB,CACA,GACAA,EAAAqB,EACA","names":["_assertThisInitialized","self","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","call","esm_typeof","TypeError","assertThisInitialized","_getPrototypeOf","o","Object","setPrototypeOf","bind","__proto__","_inherits","subClass","superClass","prototype","create","value","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6]} \ No newline at end of file diff --git a/8046.c6105b2ea1127aa5.js b/8046.c6105b2ea1127aa5.js new file mode 100644 index 0000000..fb22121 --- /dev/null +++ b/8046.c6105b2ea1127aa5.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[8046],{8046:(Z,M,l)=>{l.r(M),l.d(M,{MAT_RADIO_DEFAULT_OPTIONS:()=>C,MAT_RADIO_DEFAULT_OPTIONS_FACTORY:()=>E,MAT_RADIO_GROUP:()=>k,MAT_RADIO_GROUP_CONTROL_VALUE_ACCESSOR:()=>I,MatRadioButton:()=>A,MatRadioChange:()=>g,MatRadioGroup:()=>T,MatRadioModule:()=>j,_MatRadioButtonBase:()=>B,_MatRadioGroupBase:()=>O});var f=l(24582),v=l(28694),u=l(48047),m=l(78069),i=l(56718),_=l(6606),P=l(908),h=l(35333),x=l(81382),G=l(33401),F=l(47405),w=l(94055),z=["input"],S=["*"],D=0,g=(0,u.Z)(function a(c,o){(0,m.Z)(this,a),this.source=c,this.value=o}),I={provide:F.NG_VALUE_ACCESSOR,useExisting:(0,i.forwardRef)(function(){return T}),multi:!0},k=new i.InjectionToken("MatRadioGroup"),C=new i.InjectionToken("mat-radio-default-options",{providedIn:"root",factory:E});function E(){return{color:"accent"}}var O=function(){var a=function(){function c(o){(0,m.Z)(this,c),this._changeDetector=o,this._value=null,this._name="mat-radio-group-".concat(D++),this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=function(){},this.onTouched=function(){},this.change=new i.EventEmitter}return(0,u.Z)(c,[{key:"name",get:function(){return this._name},set:function(e){this._name=e,this._updateRadioButtonNames()}},{key:"labelPosition",get:function(){return this._labelPosition},set:function(e){this._labelPosition="before"===e?"before":"after",this._markRadiosForCheck()}},{key:"value",get:function(){return this._value},set:function(e){this._value!==e&&(this._value=e,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}},{key:"_checkSelectedRadioButton",value:function(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}},{key:"selected",get:function(){return this._selected},set:function(e){this._selected=e,this.value=e?e.value:null,this._checkSelectedRadioButton()}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=(0,h.coerceBooleanProperty)(e),this._markRadiosForCheck()}},{key:"required",get:function(){return this._required},set:function(e){this._required=(0,h.coerceBooleanProperty)(e),this._markRadiosForCheck()}},{key:"ngAfterContentInit",value:function(){this._isInitialized=!0}},{key:"_touch",value:function(){this.onTouched&&this.onTouched()}},{key:"_updateRadioButtonNames",value:function(){var e=this;this._radios&&this._radios.forEach(function(t){t.name=e.name,t._markForCheck()})}},{key:"_updateSelectedRadioFromValue",value:function(){var e=this;this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(function(r){r.checked=e.value===r.value,r.checked&&(e._selected=r)}))}},{key:"_emitChangeEvent",value:function(){this._isInitialized&&this.change.emit(new g(this._selected,this._value))}},{key:"_markRadiosForCheck",value:function(){this._radios&&this._radios.forEach(function(e){return e._markForCheck()})}},{key:"writeValue",value:function(e){this.value=e,this._changeDetector.markForCheck()}},{key:"registerOnChange",value:function(e){this._controlValueAccessorChangeFn=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e,this._changeDetector.markForCheck()}}]),c}();return a.\u0275fac=function(o){return new(o||a)(i.\u0275\u0275directiveInject(i.ChangeDetectorRef))},a.\u0275dir=i.\u0275\u0275defineDirective({type:a,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}}),a}(),U=(0,_.mixinDisableRipple)((0,_.mixinTabIndex)((0,u.Z)(function a(c){(0,m.Z)(this,a),this._elementRef=c}))),B=function(){var a=function(c){(0,f.Z)(e,c);var o=(0,v.Z)(e);function e(t,r,d,s,b,y,R,p){var n;return(0,m.Z)(this,e),(n=o.call(this,r))._changeDetector=d,n._focusMonitor=s,n._radioDispatcher=b,n._providerOverride=R,n._uniqueId="mat-radio-".concat(++D),n.id=n._uniqueId,n.change=new i.EventEmitter,n._checked=!1,n._value=null,n._removeUniqueSelectionListener=function(){},n.radioGroup=t,n._noopAnimations="NoopAnimations"===y,p&&(n.tabIndex=(0,h.coerceNumberProperty)(p,0)),n}return(0,u.Z)(e,[{key:"checked",get:function(){return this._checked},set:function(r){var d=(0,h.coerceBooleanProperty)(r);this._checked!==d&&(this._checked=d,d&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!d&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),d&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}},{key:"value",get:function(){return this._value},set:function(r){this._value!==r&&(this._value=r,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===r),this.checked&&(this.radioGroup.selected=this)))}},{key:"labelPosition",get:function(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"},set:function(r){this._labelPosition=r}},{key:"disabled",get:function(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled},set:function(r){this._setDisabled((0,h.coerceBooleanProperty)(r))}},{key:"required",get:function(){return this._required||this.radioGroup&&this.radioGroup.required},set:function(r){this._required=(0,h.coerceBooleanProperty)(r)}},{key:"color",get:function(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"},set:function(r){this._color=r}},{key:"inputId",get:function(){return"".concat(this.id||this._uniqueId,"-input")}},{key:"focus",value:function(r,d){d?this._focusMonitor.focusVia(this._inputElement,d,r):this._inputElement.nativeElement.focus(r)}},{key:"_markForCheck",value:function(){this._changeDetector.markForCheck()}},{key:"ngOnInit",value:function(){var r=this;this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name),this._removeUniqueSelectionListener=this._radioDispatcher.listen(function(d,s){d!==r.id&&s===r.name&&(r.checked=!1)})}},{key:"ngDoCheck",value:function(){this._updateTabIndex()}},{key:"ngAfterViewInit",value:function(){var r=this;this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(d){!d&&r.radioGroup&&r.radioGroup._touch()})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}},{key:"_emitChangeEvent",value:function(){this.change.emit(new g(this,this._value))}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_onInputClick",value:function(r){r.stopPropagation()}},{key:"_onInputInteraction",value:function(r){if(r.stopPropagation(),!this.checked&&!this.disabled){var d=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),d&&this.radioGroup._emitChangeEvent())}}},{key:"_onTouchTargetClick",value:function(r){this._onInputInteraction(r),this.disabled||this._inputElement.nativeElement.focus()}},{key:"_setDisabled",value:function(r){this._disabled!==r&&(this._disabled=r,this._changeDetector.markForCheck())}},{key:"_updateTabIndex",value:function(){var d,r=this.radioGroup;if((d=r&&r.selected&&!this.disabled?r.selected===this?this.tabIndex:-1:this.tabIndex)!==this._previousTabIndex){var s,b=null===(s=this._inputElement)||void 0===s?void 0:s.nativeElement;b&&(b.setAttribute("tabindex",d+""),this._previousTabIndex=d)}}}]),e}(U);return a.\u0275fac=function(o){i.\u0275\u0275invalidFactory()},a.\u0275dir=i.\u0275\u0275defineDirective({type:a,viewQuery:function(o,e){var t;1&o&&i.\u0275\u0275viewQuery(z,5),2&o&&i.\u0275\u0275queryRefresh(t=i.\u0275\u0275loadQuery())&&(e._inputElement=t.first)},inputs:{id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},features:[i.\u0275\u0275InheritDefinitionFeature]}),a}(),T=function(){var a=function(c){(0,f.Z)(e,c);var o=(0,v.Z)(e);function e(){return(0,m.Z)(this,e),o.apply(this,arguments)}return(0,u.Z)(e)}(O);return a.\u0275fac=function(){var c;return function(e){return(c||(c=i.\u0275\u0275getInheritedFactory(a)))(e||a)}}(),a.\u0275dir=i.\u0275\u0275defineDirective({type:a,selectors:[["mat-radio-group"]],contentQueries:function(o,e,t){var r;1&o&&i.\u0275\u0275contentQuery(t,A,5),2&o&&i.\u0275\u0275queryRefresh(r=i.\u0275\u0275loadQuery())&&(e._radios=r)},hostAttrs:["role","radiogroup",1,"mat-mdc-radio-group"],exportAs:["matRadioGroup"],features:[i.\u0275\u0275ProvidersFeature([I,{provide:k,useExisting:a}]),i.\u0275\u0275InheritDefinitionFeature]}),a}(),A=function(){var a=function(c){(0,f.Z)(e,c);var o=(0,v.Z)(e);function e(t,r,d,s,b,y,R,p){return(0,m.Z)(this,e),o.call(this,t,r,d,s,b,y,R,p)}return(0,u.Z)(e)}(B);return a.\u0275fac=function(o){return new(o||a)(i.\u0275\u0275directiveInject(k,8),i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(i.ChangeDetectorRef),i.\u0275\u0275directiveInject(P.FocusMonitor),i.\u0275\u0275directiveInject(x.UniqueSelectionDispatcher),i.\u0275\u0275directiveInject(G.ANIMATION_MODULE_TYPE,8),i.\u0275\u0275directiveInject(C,8),i.\u0275\u0275injectAttribute("tabindex"))},a.\u0275cmp=i.\u0275\u0275defineComponent({type:a,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-mdc-radio-button"],hostVars:15,hostBindings:function(o,e){1&o&&i.\u0275\u0275listener("focus",function(){return e._inputElement.nativeElement.focus()}),2&o&&(i.\u0275\u0275attribute("id",e.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),i.\u0275\u0275classProp("mat-primary","primary"===e.color)("mat-accent","accent"===e.color)("mat-warn","warn"===e.color)("mat-mdc-radio-checked",e.checked)("_mat-animation-noopable",e._noopAnimations))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[i.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:S,decls:13,vars:17,consts:[[1,"mdc-form-field"],["formField",""],[1,"mdc-radio"],[1,"mat-mdc-radio-touch-target",3,"click"],["type","radio",1,"mdc-radio__native-control",3,"id","checked","disabled","required","change"],["input",""],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"],["mat-ripple","",1,"mat-radio-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mdc-label",3,"for"]],template:function(o,e){if(1&o&&(i.\u0275\u0275projectionDef(),i.\u0275\u0275elementStart(0,"div",0,1)(2,"div",2)(3,"div",3),i.\u0275\u0275listener("click",function(d){return e._onTouchTargetClick(d)}),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(4,"input",4,5),i.\u0275\u0275listener("change",function(d){return e._onInputInteraction(d)}),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(6,"div",6),i.\u0275\u0275element(7,"div",7)(8,"div",8),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(9,"div",9),i.\u0275\u0275element(10,"div",10),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(11,"label",11),i.\u0275\u0275projection(12),i.\u0275\u0275elementEnd()()),2&o){var t=i.\u0275\u0275reference(1);i.\u0275\u0275classProp("mdc-form-field--align-end","before"==e.labelPosition),i.\u0275\u0275advance(2),i.\u0275\u0275classProp("mdc-radio--disabled",e.disabled),i.\u0275\u0275advance(2),i.\u0275\u0275property("id",e.inputId)("checked",e.checked)("disabled",e.disabled)("required",e.required),i.\u0275\u0275attribute("name",e.name)("value",e.value)("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledby)("aria-describedby",e.ariaDescribedby),i.\u0275\u0275advance(5),i.\u0275\u0275property("matRippleTrigger",t)("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",!0),i.\u0275\u0275advance(2),i.\u0275\u0275property("for",e.inputId)}},dependencies:[_.MatRipple],styles:['.mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color}.mdc-radio[hidden]{display:none}.mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%;transition:transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1}.mdc-radio--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-radio--touch .mdc-radio__native-control{top:calc((40px - 48px) / 2);right:calc((40px - 48px) / 2);left:calc((40px - 48px) / 2);width:48px;height:48px}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{border-color:CanvasText}}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{border-color:CanvasText}}.mdc-radio__native-control:checked+.mdc-radio__background,.mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio--disabled{cursor:default;pointer-events:none}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5);transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:disabled+.mdc-radio__background,[aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background{cursor:default}.mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12;transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mat-mdc-radio-button{--mdc-radio-disabled-selected-icon-opacity:0.38;--mdc-radio-disabled-unselected-icon-opacity:0.38;--mdc-radio-state-layer-size:40px;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-radio-button .mdc-radio{padding:calc((var(--mdc-radio-state-layer-size) - 20px) / 2)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-selected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-disabled-selected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-unselected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-unselected-icon-opacity)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-focus-icon-color)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-focus-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{top:calc(-1 * (var(--mdc-radio-state-layer-size) - 20px) / 2);left:calc(-1 * (var(--mdc-radio-state-layer-size) - 20px) / 2);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control{top:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);right:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);left:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:not([disabled]):not(:focus)~.mdc-radio__background::before{opacity:.04;transform:scale(1)}.mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__background::before{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button .mdc-radio--disabled+label{color:var(--mat-radio-disabled-label-color)}.mat-mdc-radio-button .mat-radio-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:50%}.mat-mdc-radio-button .mat-radio-ripple .mat-ripple-element{opacity:.14}.mat-mdc-radio-button .mat-radio-ripple::before{border-radius:50%}.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__background::before,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__outer-circle,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__inner-circle{transition:none !important}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:focus:enabled:not(:checked)~.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-focus-icon-color, black)}.mat-mdc-radio-button.cdk-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-radio-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}[dir=rtl] .mat-mdc-radio-touch-target{left:0;right:50%;transform:translate(50%, -50%)}'],encapsulation:2,changeDetection:0}),a}(),j=function(){var a=(0,u.Z)(function c(){(0,m.Z)(this,c)});return a.\u0275fac=function(o){return new(o||a)},a.\u0275mod=i.\u0275\u0275defineNgModule({type:a}),a.\u0275inj=i.\u0275\u0275defineInjector({imports:[_.MatCommonModule,w.CommonModule,_.MatRippleModule,_.MatCommonModule]}),a}()}}]); +//# sourceMappingURL=8046.c6105b2ea1127aa5.js.map \ No newline at end of file diff --git a/8046.c6105b2ea1127aa5.js.map b/8046.c6105b2ea1127aa5.js.map new file mode 100644 index 0000000..f284582 --- /dev/null +++ b/8046.c6105b2ea1127aa5.js.map @@ -0,0 +1 @@ +{"version":3,"file":"8046.c6105b2ea1127aa5.js","mappings":"ufAWAA,EAAA,UAAAC,EAAA,MACIC,EAAe,EAEbC,GAAcC,OAChB,SAAAD,EAEAE,EAEAC,IAAOC,OAAAC,KAAAL,GACHK,KAAKH,OAASA,EACdG,KAAKF,MAAQA,CACjB,GAOEG,EAAyC,CAC3CC,QAASC,oBACTC,aAAaC,gBAAW,kBAAMC,CAAa,GAC3CC,OAAO,GAOLC,EAAkB,IAAIC,iBAAe,iBACrCC,EAA4B,IAAID,iBAAe,4BAA6B,CAC9EE,WAAY,OACZC,QAASC,IAEb,SAASA,IACL,MAAO,CACHC,MAAO,SAEf,CACA,IAIMC,EAAkB,eAAlBA,EAAkB,WAmEpB,SAAAA,EAAYC,IAAiBjB,OAAAC,KAAAe,GACzBf,KAAKgB,gBAAkBA,EAEvBhB,KAAKiB,OAAS,KAEdjB,KAAKkB,MAAK,mBAAAC,OAAsBzB,KAEhCM,KAAKoB,UAAY,KAEjBpB,KAAKqB,gBAAiB,EAEtBrB,KAAKsB,eAAiB,QAEtBtB,KAAKuB,WAAY,EAEjBvB,KAAKwB,WAAY,EAEjBxB,KAAKyB,8BAAgC,WAAQ,EAK7CzB,KAAK0B,UAAY,WAAQ,EAMzB1B,KAAK2B,OAAS,IAAIC,cACtB,CACAhC,cAAAmB,EAAA,EAAAc,IAAA,OAAAC,eA9FI,OAAO9B,KAAKkB,KAChB,EAACa,IACD,SAASjC,GACLE,KAAKkB,MAAQpB,EACbE,KAAKgC,yBACT,GACA,CAAAH,IAAA,gBAAAC,IACA,WACI,OAAO9B,KAAKsB,cAChB,EAACS,IACD,SAAkBE,GACdjC,KAAKsB,eAAuB,WAANW,EAAiB,SAAW,QAClDjC,KAAKkC,qBACT,GACA,CAAAL,IAAA,QAAAC,IAMA,WACI,OAAO9B,KAA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AiG,EAAFjG,CAgV2uD,oBAAAgE,EAAAmC,oBAhV3uDnG,CAgV2uD,wBAhV3uDA,sBAAE,GAAFA,uBAAE,MAAAgE,EAAAkC,QAAA,CAgVy9D,EAAAE,aAAA,CAA6mXC,aAAYC,OAAA,2/WAAAC,cAAA,EAAAC,gBAAA,IALlrbzB,CAAc,IA+Cd0B,EAAc,eAAdA,GAAcpK,OAAA,SAAAoK,KAAAjK,OAAAC,KAAAgK,EAAA,GAAdA,SACY3G,UAAI,SAAAC,GAAA,WAAAA,GAAwF0G,EAAc,EADtHA,EAEYC,UA5XkF1G,6BAAE,CAAAE,KA4XSuG,IAFzGA,EAGYE,UA7XkF3G,6BAAE,CAAA4G,QAAA,CA6XmCC,kBAAiBC,eAAcC,kBAAiBF,qBAHnLJ,CAAc","names":["_c0","_c1","nextUniqueId","MatRadioChange","_createClass","source","value","_classCallCheck","this","MAT_RADIO_GROUP_CONTROL_VALUE_ACCESSOR","provide","NG_VALUE_ACCESSOR","useExisting","forwardRef","MatRadioGroup","multi","MAT_RADIO_GROUP","InjectionToken","MAT_RADIO_DEFAULT_OPTIONS","providedIn","factory","MAT_RADIO_DEFAULT_OPTIONS_FACTORY","color","_MatRadioGroupBase","_changeDetector","_value","_name","concat","_selected","_isInitialized","_labelPosition","_disabled","_required","_controlValueAccessorChangeFn","onTouched","change","EventEmitter","key","get","set","_updateRadioButtonNames","v","_markRadiosForCheck","newValue","_updateSelectedRadioFromValue","_checkSelectedRadioButton","checked","selected","coerceBooleanProperty","_this","_radios","forEach","radio","name","_markForCheck","_this2","emit","markForCheck","fn","isDisabled","disabled","ɵfac","t","i0","ɵdir","type","inputs","labelPosition","required","outputs","_MatRadioButtonMixinBase","mixinDisableRipple","mixinTabIndex","MatRadioButtonBase","_elementRef","_MatRadioButtonBase","_MatRadioButtonMixinB","_inherits","_super","_createSuper","radioGroup","elementRef","_focusMonitor","_radioDispatcher","animationMode","_providerOverride","tabIndex","_this3","call","_uniqueId","id","_checked","_removeUniqueSelectionListener","_noopAnimations","coerceNumberProperty","newCheckedState","notify","_setDisabled","_color","options","origin","focusVia","_inputElement","nativeElement","focus","_this4","listen","_updateTabIndex","_this5","monitor","subscribe","focusOrigin","_touch","stopMonitoring","disableRipple","event","stopPropagation","groupValueChanged","_emitChangeEvent","_onInputInteraction","group","_previousTabIndex","_this$_inputElement","input","setAttribute","viewQuery","rf","ctx","_t","first","ariaLabel","ariaLabelledby","ariaDescribedby","features","_MatRadioGroupBase2","_super2","apply","arguments","ɵMatRadioGroup_BaseFactory","selectors","contentQueries","dirIndex","MatRadioButton","hostAttrs","exportAs","_MatRadioButtonBase2","_super3","i1","i2","ANIMATION_MODULE_TYPE","ɵcmp","hostVars","hostBindings","ngContentSelectors","decls","vars","consts","template","$event","_onTouchTargetClick","_r0","inputId","_isRippleDisabled","dependencies","i3","styles","encapsulation","changeDetection","MatRadioModule","ɵmod","ɵinj","imports","MatCommonModule","CommonModule","MatRippleModule"],"sourceRoot":"webpack:///","sources":["./node_modules/@angular/material/fesm2022/radio.mjs"],"sourcesContent":["import * as i0 from '@angular/core';\nimport { forwardRef, InjectionToken, EventEmitter, Directive, Output, Input, ViewChild, ContentChildren, Component, ViewEncapsulation, ChangeDetectionStrategy, Optional, Inject, Attribute, NgModule } from '@angular/core';\nimport * as i3 from '@angular/material/core';\nimport { mixinDisableRipple, mixinTabIndex, MatCommonModule, MatRippleModule } from '@angular/material/core';\nimport * as i1 from '@angular/cdk/a11y';\nimport { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';\nimport * as i2 from '@angular/cdk/collections';\nimport { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { CommonModule } from '@angular/common';\n\n// Increasing integer for generating unique ids for radio components.\nlet nextUniqueId = 0;\n/** Change event object emitted by radio button and radio group. */\nclass MatRadioChange {\n constructor(\n /** The radio button that emits the change event. */\n source, \n /** The value of the radio button. */\n value) {\n this.source = source;\n this.value = value;\n }\n}\n/**\n * Provider Expression that allows mat-radio-group to register as a ControlValueAccessor. This\n * allows it to support [(ngModel)] and ngControl.\n * @docs-private\n */\nconst MAT_RADIO_GROUP_CONTROL_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => MatRadioGroup),\n multi: true,\n};\n/**\n * Injection token that can be used to inject instances of `MatRadioGroup`. It serves as\n * alternative token to the actual `MatRadioGroup` class which could cause unnecessary\n * retention of the class and its component metadata.\n */\nconst MAT_RADIO_GROUP = new InjectionToken('MatRadioGroup');\nconst MAT_RADIO_DEFAULT_OPTIONS = new InjectionToken('mat-radio-default-options', {\n providedIn: 'root',\n factory: MAT_RADIO_DEFAULT_OPTIONS_FACTORY,\n});\nfunction MAT_RADIO_DEFAULT_OPTIONS_FACTORY() {\n return {\n color: 'accent',\n };\n}\n/**\n * Base class with all of the `MatRadioGroup` functionality.\n * @docs-private\n */\nclass _MatRadioGroupBase {\n /** Name of the radio button group. All radio buttons inside this group will use this name. */\n get name() {\n return this._name;\n }\n set name(value) {\n this._name = value;\n this._updateRadioButtonNames();\n }\n /** Whether the labels should appear after or before the radio-buttons. Defaults to 'after' */\n get labelPosition() {\n return this._labelPosition;\n }\n set labelPosition(v) {\n this._labelPosition = v === 'before' ? 'before' : 'after';\n this._markRadiosForCheck();\n }\n /**\n * Value for the radio-group. Should equal the value of the selected radio button if there is\n * a corresponding radio button with a matching value. If there is not such a corresponding\n * radio button, this value persists to be applied in case a new radio button is added with a\n * matching value.\n */\n get value() {\n return this._value;\n }\n set value(newValue) {\n if (this._value !== newValue) {\n // Set this before proceeding to ensure no circular loop occurs with selection.\n this._value = newValue;\n this._updateSelectedRadioFromValue();\n this._checkSelectedRadioButton();\n }\n }\n _checkSelectedRadioButton() {\n if (this._selected && !this._selected.checked) {\n this._selected.checked = true;\n }\n }\n /**\n * The currently selected radio button. If set to a new radio button, the radio group value\n * will be updated to match the new selected button.\n */\n get selected() {\n return this._selected;\n }\n set selected(selected) {\n this._selected = selected;\n this.value = selected ? selected.value : null;\n this._checkSelectedRadioButton();\n }\n /** Whether the radio group is disabled */\n get disabled() {\n return this._disabled;\n }\n set disabled(value) {\n this._disabled = coerceBooleanProperty(value);\n this._markRadiosForCheck();\n }\n /** Whether the radio group is required */\n get required() {\n return this._required;\n }\n set required(value) {\n this._required = coerceBooleanProperty(value);\n this._markRadiosForCheck();\n }\n constructor(_changeDetector) {\n this._changeDetector = _changeDetector;\n /** Selected value for the radio group. */\n this._value = null;\n /** The HTML name attribute applied to radio buttons in this group. */\n this._name = `mat-radio-group-${nextUniqueId++}`;\n /** The currently selected radio button. Should match value. */\n this._selected = null;\n /** Whether the `value` has been set to its initial value. */\n this._isInitialized = false;\n /** Whether the labels should appear after or before the radio-buttons. Defaults to 'after' */\n this._labelPosition = 'after';\n /** Whether the radio group is disabled. */\n this._disabled = false;\n /** Whether the radio group is required. */\n this._required = false;\n /** The method to be called in order to update ngModel */\n this._controlValueAccessorChangeFn = () => { };\n /**\n * onTouch function registered via registerOnTouch (ControlValueAccessor).\n * @docs-private\n */\n this.onTouched = () => { };\n /**\n * Event emitted when the group value changes.\n * Change events are only emitted when the value changes due to user interaction with\n * a radio button (the same behavior as `<input type-\"radio\">`).\n */\n this.change = new EventEmitter();\n }\n /**\n * Initialize properties once content children are available.\n * This allows us to propagate relevant attributes to associated buttons.\n */\n ngAfterContentInit() {\n // Mark this component as initialized in AfterContentInit because the initial value can\n // possibly be set by NgModel on MatRadioGroup, and it is possible that the OnInit of the\n // NgModel occurs *after* the OnInit of the MatRadioGroup.\n this._isInitialized = true;\n }\n /**\n * Mark this group as being \"touched\" (for ngModel). Meant to be called by the contained\n * radio buttons upon their blur.\n */\n _touch() {\n if (this.onTouched) {\n this.onTouched();\n }\n }\n _updateRadioButtonNames() {\n if (this._radios) {\n this._radios.forEach(radio => {\n radio.name = this.name;\n radio._markForCheck();\n });\n }\n }\n /** Updates the `selected` radio button from the internal _value state. */\n _updateSelectedRadioFromValue() {\n // If the value already matches the selected radio, do nothing.\n const isAlreadySelected = this._selected !== null && this._selected.value === this._value;\n if (this._radios && !isAlreadySelected) {\n this._selected = null;\n this._radios.forEach(radio => {\n radio.checked = this.value === radio.value;\n if (radio.checked) {\n this._selected = radio;\n }\n });\n }\n }\n /** Dispatch change event with current selection and group value. */\n _emitChangeEvent() {\n if (this._isInitialized) {\n this.change.emit(new MatRadioChange(this._selected, this._value));\n }\n }\n _markRadiosForCheck() {\n if (this._radios) {\n this._radios.forEach(radio => radio._markForCheck());\n }\n }\n /**\n * Sets the model value. Implemented as part of ControlValueAccessor.\n * @param value\n */\n writeValue(value) {\n this.value = value;\n this._changeDetector.markForCheck();\n }\n /**\n * Registers a callback to be triggered when the model value changes.\n * Implemented as part of ControlValueAccessor.\n * @param fn Callback to be registered.\n */\n registerOnChange(fn) {\n this._controlValueAccessorChangeFn = fn;\n }\n /**\n * Registers a callback to be triggered when the control is touched.\n * Implemented as part of ControlValueAccessor.\n * @param fn Callback to be registered.\n */\n registerOnTouched(fn) {\n this.onTouched = fn;\n }\n /**\n * Sets the disabled state of the control. Implemented as a part of ControlValueAccessor.\n * @param isDisabled Whether the control should be disabled.\n */\n setDisabledState(isDisabled) {\n this.disabled = isDisabled;\n this._changeDetector.markForCheck();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatRadioGroupBase, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: _MatRadioGroupBase, inputs: { color: \"color\", name: \"name\", labelPosition: \"labelPosition\", value: \"value\", selected: \"selected\", disabled: \"disabled\", required: \"required\" }, outputs: { change: \"change\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatRadioGroupBase, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { change: [{\n type: Output\n }], color: [{\n type: Input\n }], name: [{\n type: Input\n }], labelPosition: [{\n type: Input\n }], value: [{\n type: Input\n }], selected: [{\n type: Input\n }], disabled: [{\n type: Input\n }], required: [{\n type: Input\n }] } });\n// Boilerplate for applying mixins to MatRadioButton.\n/** @docs-private */\nclass MatRadioButtonBase {\n constructor(_elementRef) {\n this._elementRef = _elementRef;\n }\n}\nconst _MatRadioButtonMixinBase = mixinDisableRipple(mixinTabIndex(MatRadioButtonBase));\n/**\n * Base class with all of the `MatRadioButton` functionality.\n * @docs-private\n */\nclass _MatRadioButtonBase extends _MatRadioButtonMixinBase {\n /** Whether this radio button is checked. */\n get checked() {\n return this._checked;\n }\n set checked(value) {\n const newCheckedState = coerceBooleanProperty(value);\n if (this._checked !== newCheckedState) {\n this._checked = newCheckedState;\n if (newCheckedState && this.radioGroup && this.radioGroup.value !== this.value) {\n this.radioGroup.selected = this;\n }\n else if (!newCheckedState && this.radioGroup && this.radioGroup.value === this.value) {\n // When unchecking the selected radio button, update the selected radio\n // property on the group.\n this.radioGroup.selected = null;\n }\n if (newCheckedState) {\n // Notify all radio buttons with the same name to un-check.\n this._radioDispatcher.notify(this.id, this.name);\n }\n this._changeDetector.markForCheck();\n }\n }\n /** The value of this radio button. */\n get value() {\n return this._value;\n }\n set value(value) {\n if (this._value !== value) {\n this._value = value;\n if (this.radioGroup !== null) {\n if (!this.checked) {\n // Update checked when the value changed to match the radio group's value\n this.checked = this.radioGroup.value === value;\n }\n if (this.checked) {\n this.radioGroup.selected = this;\n }\n }\n }\n }\n /** Whether the label should appear after or before the radio button. Defaults to 'after' */\n get labelPosition() {\n return this._labelPosition || (this.radioGroup && this.radioGroup.labelPosition) || 'after';\n }\n set labelPosition(value) {\n this._labelPosition = value;\n }\n /** Whether the radio button is disabled. */\n get disabled() {\n return this._disabled || (this.radioGroup !== null && this.radioGroup.disabled);\n }\n set disabled(value) {\n this._setDisabled(coerceBooleanProperty(value));\n }\n /** Whether the radio button is required. */\n get required() {\n return this._required || (this.radioGroup && this.radioGroup.required);\n }\n set required(value) {\n this._required = coerceBooleanProperty(value);\n }\n /** Theme color of the radio button. */\n get color() {\n // As per Material design specifications the selection control radio should use the accent color\n // palette by default. https://material.io/guidelines/components/selection-controls.html\n return (this._color ||\n (this.radioGroup && this.radioGroup.color) ||\n (this._providerOverride && this._providerOverride.color) ||\n 'accent');\n }\n set color(newValue) {\n this._color = newValue;\n }\n /** ID of the native input element inside `<mat-radio-button>` */\n get inputId() {\n return `${this.id || this._uniqueId}-input`;\n }\n constructor(radioGroup, elementRef, _changeDetector, _focusMonitor, _radioDispatcher, animationMode, _providerOverride, tabIndex) {\n super(elementRef);\n this._changeDetector = _changeDetector;\n this._focusMonitor = _focusMonitor;\n this._radioDispatcher = _radioDispatcher;\n this._providerOverride = _providerOverride;\n this._uniqueId = `mat-radio-${++nextUniqueId}`;\n /** The unique ID for the radio button. */\n this.id = this._uniqueId;\n /**\n * Event emitted when the checked state of this radio button changes.\n * Change events are only emitted when the value changes due to user interaction with\n * the radio button (the same behavior as `<input type-\"radio\">`).\n */\n this.change = new EventEmitter();\n /** Whether this radio is checked. */\n this._checked = false;\n /** Value assigned to this radio. */\n this._value = null;\n /** Unregister function for _radioDispatcher */\n this._removeUniqueSelectionListener = () => { };\n // Assertions. Ideally these should be stripped out by the compiler.\n // TODO(jelbourn): Assert that there's no name binding AND a parent radio group.\n this.radioGroup = radioGroup;\n this._noopAnimations = animationMode === 'NoopAnimations';\n if (tabIndex) {\n this.tabIndex = coerceNumberProperty(tabIndex, 0);\n }\n }\n /** Focuses the radio button. */\n focus(options, origin) {\n if (origin) {\n this._focusMonitor.focusVia(this._inputElement, origin, options);\n }\n else {\n this._inputElement.nativeElement.focus(options);\n }\n }\n /**\n * Marks the radio button as needing checking for change detection.\n * This method is exposed because the parent radio group will directly\n * update bound properties of the radio button.\n */\n _markForCheck() {\n // When group value changes, the button will not be notified. Use `markForCheck` to explicit\n // update radio button's status\n this._changeDetector.markForCheck();\n }\n ngOnInit() {\n if (this.radioGroup) {\n // If the radio is inside a radio group, determine if it should be checked\n this.checked = this.radioGroup.value === this._value;\n if (this.checked) {\n this.radioGroup.selected = this;\n }\n // Copy name from parent radio group\n this.name = this.radioGroup.name;\n }\n this._removeUniqueSelectionListener = this._radioDispatcher.listen((id, name) => {\n if (id !== this.id && name === this.name) {\n this.checked = false;\n }\n });\n }\n ngDoCheck() {\n this._updateTabIndex();\n }\n ngAfterViewInit() {\n this._updateTabIndex();\n this._focusMonitor.monitor(this._elementRef, true).subscribe(focusOrigin => {\n if (!focusOrigin && this.radioGroup) {\n this.radioGroup._touch();\n }\n });\n }\n ngOnDestroy() {\n this._focusMonitor.stopMonitoring(this._elementRef);\n this._removeUniqueSelectionListener();\n }\n /** Dispatch change event with current value. */\n _emitChangeEvent() {\n this.change.emit(new MatRadioChange(this, this._value));\n }\n _isRippleDisabled() {\n return this.disableRipple || this.disabled;\n }\n _onInputClick(event) {\n // We have to stop propagation for click events on the visual hidden input element.\n // By default, when a user clicks on a label element, a generated click event will be\n // dispatched on the associated input element. Since we are using a label element as our\n // root container, the click event on the `radio-button` will be executed twice.\n // The real click event will bubble up, and the generated click event also tries to bubble up.\n // This will lead to multiple click events.\n // Preventing bubbling for the second event will solve that issue.\n event.stopPropagation();\n }\n /** Triggered when the radio button receives an interaction from the user. */\n _onInputInteraction(event) {\n // We always have to stop propagation on the change event.\n // Otherwise the change event, from the input element, will bubble up and\n // emit its event object to the `change` output.\n event.stopPropagation();\n if (!this.checked && !this.disabled) {\n const groupValueChanged = this.radioGroup && this.value !== this.radioGroup.value;\n this.checked = true;\n this._emitChangeEvent();\n if (this.radioGroup) {\n this.radioGroup._controlValueAccessorChangeFn(this.value);\n if (groupValueChanged) {\n this.radioGroup._emitChangeEvent();\n }\n }\n }\n }\n /** Triggered when the user clicks on the touch target. */\n _onTouchTargetClick(event) {\n this._onInputInteraction(event);\n if (!this.disabled) {\n // Normally the input should be focused already, but if the click\n // comes from the touch target, then we might have to focus it ourselves.\n this._inputElement.nativeElement.focus();\n }\n }\n /** Sets the disabled state and marks for check if a change occurred. */\n _setDisabled(value) {\n if (this._disabled !== value) {\n this._disabled = value;\n this._changeDetector.markForCheck();\n }\n }\n /** Gets the tabindex for the underlying input element. */\n _updateTabIndex() {\n const group = this.radioGroup;\n let value;\n // Implement a roving tabindex if the button is inside a group. For most cases this isn't\n // necessary, because the browser handles the tab order for inputs inside a group automatically,\n // but we need an explicitly higher tabindex for the selected button in order for things like\n // the focus trap to pick it up correctly.\n if (!group || !group.selected || this.disabled) {\n value = this.tabIndex;\n }\n else {\n value = group.selected === this ? this.tabIndex : -1;\n }\n if (value !== this._previousTabIndex) {\n // We have to set the tabindex directly on the DOM node, because it depends on\n // the selected state which is prone to \"changed after checked errors\".\n const input = this._inputElement?.nativeElement;\n if (input) {\n input.setAttribute('tabindex', value + '');\n this._previousTabIndex = value;\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatRadioButtonBase, deps: \"invalid\", target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: _MatRadioButtonBase, inputs: { id: \"id\", name: \"name\", ariaLabel: [\"aria-label\", \"ariaLabel\"], ariaLabelledby: [\"aria-labelledby\", \"ariaLabelledby\"], ariaDescribedby: [\"aria-describedby\", \"ariaDescribedby\"], checked: \"checked\", value: \"value\", labelPosition: \"labelPosition\", disabled: \"disabled\", required: \"required\", color: \"color\" }, outputs: { change: \"change\" }, viewQueries: [{ propertyName: \"_inputElement\", first: true, predicate: [\"input\"], descendants: true }], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatRadioButtonBase, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: _MatRadioGroupBase }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.FocusMonitor }, { type: i2.UniqueSelectionDispatcher }, { type: undefined }, { type: undefined }, { type: undefined }]; }, propDecorators: { id: [{\n type: Input\n }], name: [{\n type: Input\n }], ariaLabel: [{\n type: Input,\n args: ['aria-label']\n }], ariaLabelledby: [{\n type: Input,\n args: ['aria-labelledby']\n }], ariaDescribedby: [{\n type: Input,\n args: ['aria-describedby']\n }], checked: [{\n type: Input\n }], value: [{\n type: Input\n }], labelPosition: [{\n type: Input\n }], disabled: [{\n type: Input\n }], required: [{\n type: Input\n }], color: [{\n type: Input\n }], change: [{\n type: Output\n }], _inputElement: [{\n type: ViewChild,\n args: ['input']\n }] } });\n/**\n * A group of radio buttons. May contain one or more `<mat-radio-button>` elements.\n */\nclass MatRadioGroup extends _MatRadioGroupBase {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatRadioGroup, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatRadioGroup, selector: \"mat-radio-group\", host: { attributes: { \"role\": \"radiogroup\" }, classAttribute: \"mat-mdc-radio-group\" }, providers: [\n MAT_RADIO_GROUP_CONTROL_VALUE_ACCESSOR,\n { provide: MAT_RADIO_GROUP, useExisting: MatRadioGroup },\n ], queries: [{ propertyName: \"_radios\", predicate: i0.forwardRef(function () { return MatRadioButton; }), descendants: true }], exportAs: [\"matRadioGroup\"], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatRadioGroup, decorators: [{\n type: Directive,\n args: [{\n selector: 'mat-radio-group',\n exportAs: 'matRadioGroup',\n providers: [\n MAT_RADIO_GROUP_CONTROL_VALUE_ACCESSOR,\n { provide: MAT_RADIO_GROUP, useExisting: MatRadioGroup },\n ],\n host: {\n 'role': 'radiogroup',\n 'class': 'mat-mdc-radio-group',\n },\n }]\n }], propDecorators: { _radios: [{\n type: ContentChildren,\n args: [forwardRef(() => MatRadioButton), { descendants: true }]\n }] } });\nclass MatRadioButton extends _MatRadioButtonBase {\n constructor(radioGroup, elementRef, _changeDetector, _focusMonitor, _radioDispatcher, animationMode, _providerOverride, tabIndex) {\n super(radioGroup, elementRef, _changeDetector, _focusMonitor, _radioDispatcher, animationMode, _providerOverride, tabIndex);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatRadioButton, deps: [{ token: MAT_RADIO_GROUP, optional: true }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.FocusMonitor }, { token: i2.UniqueSelectionDispatcher }, { token: ANIMATION_MODULE_TYPE, optional: true }, { token: MAT_RADIO_DEFAULT_OPTIONS, optional: true }, { token: 'tabindex', attribute: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatRadioButton, selector: \"mat-radio-button\", inputs: { disableRipple: \"disableRipple\", tabIndex: \"tabIndex\" }, host: { listeners: { \"focus\": \"_inputElement.nativeElement.focus()\" }, properties: { \"attr.id\": \"id\", \"class.mat-primary\": \"color === \\\"primary\\\"\", \"class.mat-accent\": \"color === \\\"accent\\\"\", \"class.mat-warn\": \"color === \\\"warn\\\"\", \"class.mat-mdc-radio-checked\": \"checked\", \"class._mat-animation-noopable\": \"_noopAnimations\", \"attr.tabindex\": \"null\", \"attr.aria-label\": \"null\", \"attr.aria-labelledby\": \"null\", \"attr.aria-describedby\": \"null\" }, classAttribute: \"mat-mdc-radio-button\" }, exportAs: [\"matRadioButton\"], usesInheritance: true, ngImport: i0, template: \"<div class=\\\"mdc-form-field\\\" #formField\\n [class.mdc-form-field--align-end]=\\\"labelPosition == 'before'\\\">\\n <div class=\\\"mdc-radio\\\" [class.mdc-radio--disabled]=\\\"disabled\\\">\\n <!-- Render this element first so the input is on top. -->\\n <div class=\\\"mat-mdc-radio-touch-target\\\" (click)=\\\"_onTouchTargetClick($event)\\\"></div>\\n <input #input class=\\\"mdc-radio__native-control\\\" type=\\\"radio\\\"\\n [id]=\\\"inputId\\\"\\n [checked]=\\\"checked\\\"\\n [disabled]=\\\"disabled\\\"\\n [attr.name]=\\\"name\\\"\\n [attr.value]=\\\"value\\\"\\n [required]=\\\"required\\\"\\n [attr.aria-label]=\\\"ariaLabel\\\"\\n [attr.aria-labelledby]=\\\"ariaLabelledby\\\"\\n [attr.aria-describedby]=\\\"ariaDescribedby\\\"\\n (change)=\\\"_onInputInteraction($event)\\\">\\n <div class=\\\"mdc-radio__background\\\">\\n <div class=\\\"mdc-radio__outer-circle\\\"></div>\\n <div class=\\\"mdc-radio__inner-circle\\\"></div>\\n </div>\\n <div mat-ripple class=\\\"mat-radio-ripple mat-mdc-focus-indicator\\\"\\n [matRippleTrigger]=\\\"formField\\\"\\n [matRippleDisabled]=\\\"_isRippleDisabled()\\\"\\n [matRippleCentered]=\\\"true\\\">\\n <div class=\\\"mat-ripple-element mat-radio-persistent-ripple\\\"></div>\\n </div>\\n </div>\\n <label class=\\\"mdc-label\\\" [for]=\\\"inputId\\\">\\n <ng-content></ng-content>\\n </label>\\n</div>\\n\", styles: [\".mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color}.mdc-radio[hidden]{display:none}.mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:\\\"\\\";transition:opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%;transition:transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1}.mdc-radio--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-radio--touch .mdc-radio__native-control{top:calc((40px - 48px) / 2);right:calc((40px - 48px) / 2);left:calc((40px - 48px) / 2);width:48px;height:48px}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{border-color:CanvasText}}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{border-color:CanvasText}}.mdc-radio__native-control:checked+.mdc-radio__background,.mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio--disabled{cursor:default;pointer-events:none}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5);transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:disabled+.mdc-radio__background,[aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background{cursor:default}.mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12;transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mat-mdc-radio-button{--mdc-radio-disabled-selected-icon-opacity:0.38;--mdc-radio-disabled-unselected-icon-opacity:0.38;--mdc-radio-state-layer-size:40px;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-radio-button .mdc-radio{padding:calc((var(--mdc-radio-state-layer-size) - 20px) / 2)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-selected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-disabled-selected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-unselected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-unselected-icon-opacity)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-focus-icon-color)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-focus-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{top:calc(-1 * (var(--mdc-radio-state-layer-size) - 20px) / 2);left:calc(-1 * (var(--mdc-radio-state-layer-size) - 20px) / 2);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control{top:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);right:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);left:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:not([disabled]):not(:focus)~.mdc-radio__background::before{opacity:.04;transform:scale(1)}.mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__background::before{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button .mdc-radio--disabled+label{color:var(--mat-radio-disabled-label-color)}.mat-mdc-radio-button .mat-radio-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:50%}.mat-mdc-radio-button .mat-radio-ripple .mat-ripple-element{opacity:.14}.mat-mdc-radio-button .mat-radio-ripple::before{border-radius:50%}.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__background::before,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__outer-circle,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__inner-circle{transition:none !important}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:focus:enabled:not(:checked)~.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-focus-icon-color, black)}.mat-mdc-radio-button.cdk-focused .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-radio-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}[dir=rtl] .mat-mdc-radio-touch-target{left:0;right:50%;transform:translate(50%, -50%)}\"], dependencies: [{ kind: \"directive\", type: i3.MatRipple, selector: \"[mat-ripple], [matRipple]\", inputs: [\"matRippleColor\", \"matRippleUnbounded\", \"matRippleCentered\", \"matRippleRadius\", \"matRippleAnimation\", \"matRippleDisabled\", \"matRippleTrigger\"], exportAs: [\"matRipple\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatRadioButton, decorators: [{\n type: Component,\n args: [{ selector: 'mat-radio-button', host: {\n 'class': 'mat-mdc-radio-button',\n '[attr.id]': 'id',\n '[class.mat-primary]': 'color === \"primary\"',\n '[class.mat-accent]': 'color === \"accent\"',\n '[class.mat-warn]': 'color === \"warn\"',\n '[class.mat-mdc-radio-checked]': 'checked',\n '[class._mat-animation-noopable]': '_noopAnimations',\n // Needs to be removed since it causes some a11y issues (see #21266).\n '[attr.tabindex]': 'null',\n '[attr.aria-label]': 'null',\n '[attr.aria-labelledby]': 'null',\n '[attr.aria-describedby]': 'null',\n // Note: under normal conditions focus shouldn't land on this element, however it may be\n // programmatically set, for example inside of a focus trap, in this case we want to forward\n // the focus to the native element.\n '(focus)': '_inputElement.nativeElement.focus()',\n }, inputs: ['disableRipple', 'tabIndex'], exportAs: 'matRadioButton', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: \"<div class=\\\"mdc-form-field\\\" #formField\\n [class.mdc-form-field--align-end]=\\\"labelPosition == 'before'\\\">\\n <div class=\\\"mdc-radio\\\" [class.mdc-radio--disabled]=\\\"disabled\\\">\\n <!-- Render this element first so the input is on top. -->\\n <div class=\\\"mat-mdc-radio-touch-target\\\" (click)=\\\"_onTouchTargetClick($event)\\\"></div>\\n <input #input class=\\\"mdc-radio__native-control\\\" type=\\\"radio\\\"\\n [id]=\\\"inputId\\\"\\n [checked]=\\\"checked\\\"\\n [disabled]=\\\"disabled\\\"\\n [attr.name]=\\\"name\\\"\\n [attr.value]=\\\"value\\\"\\n [required]=\\\"required\\\"\\n [attr.aria-label]=\\\"ariaLabel\\\"\\n [attr.aria-labelledby]=\\\"ariaLabelledby\\\"\\n [attr.aria-describedby]=\\\"ariaDescribedby\\\"\\n (change)=\\\"_onInputInteraction($event)\\\">\\n <div class=\\\"mdc-radio__background\\\">\\n <div class=\\\"mdc-radio__outer-circle\\\"></div>\\n <div class=\\\"mdc-radio__inner-circle\\\"></div>\\n </div>\\n <div mat-ripple class=\\\"mat-radio-ripple mat-mdc-focus-indicator\\\"\\n [matRippleTrigger]=\\\"formField\\\"\\n [matRippleDisabled]=\\\"_isRippleDisabled()\\\"\\n [matRippleCentered]=\\\"true\\\">\\n <div class=\\\"mat-ripple-element mat-radio-persistent-ripple\\\"></div>\\n </div>\\n </div>\\n <label class=\\\"mdc-label\\\" [for]=\\\"inputId\\\">\\n <ng-content></ng-content>\\n </label>\\n</div>\\n\", styles: [\".mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color}.mdc-radio[hidden]{display:none}.mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:\\\"\\\";transition:opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%;transition:transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1}.mdc-radio--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-radio--touch .mdc-radio__native-control{top:calc((40px - 48px) / 2);right:calc((40px - 48px) / 2);left:calc((40px - 48px) / 2);width:48px;height:48px}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{border-color:CanvasText}}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{content:\\\"\\\";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{border-color:CanvasText}}.mdc-radio__native-control:checked+.mdc-radio__background,.mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio--disabled{cursor:default;pointer-events:none}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5);transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:disabled+.mdc-radio__background,[aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background{cursor:default}.mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12;transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mat-mdc-radio-button{--mdc-radio-disabled-selected-icon-opacity:0.38;--mdc-radio-disabled-unselected-icon-opacity:0.38;--mdc-radio-state-layer-size:40px;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-radio-button .mdc-radio{padding:calc((var(--mdc-radio-state-layer-size) - 20px) / 2)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-selected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-disabled-selected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-unselected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-unselected-icon-opacity)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-focus-icon-color)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-focus-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{top:calc(-1 * (var(--mdc-radio-state-layer-size) - 20px) / 2);left:calc(-1 * (var(--mdc-radio-state-layer-size) - 20px) / 2);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control{top:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);right:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);left:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:not([disabled]):not(:focus)~.mdc-radio__background::before{opacity:.04;transform:scale(1)}.mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__background::before{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button .mdc-radio--disabled+label{color:var(--mat-radio-disabled-label-color)}.mat-mdc-radio-button .mat-radio-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:50%}.mat-mdc-radio-button .mat-radio-ripple .mat-ripple-element{opacity:.14}.mat-mdc-radio-button .mat-radio-ripple::before{border-radius:50%}.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__background::before,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__outer-circle,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__inner-circle{transition:none !important}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:focus:enabled:not(:checked)~.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-focus-icon-color, black)}.mat-mdc-radio-button.cdk-focused .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-radio-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}[dir=rtl] .mat-mdc-radio-touch-target{left:0;right:50%;transform:translate(50%, -50%)}\"] }]\n }], ctorParameters: function () { return [{ type: MatRadioGroup, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_RADIO_GROUP]\n }] }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.FocusMonitor }, { type: i2.UniqueSelectionDispatcher }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_RADIO_DEFAULT_OPTIONS]\n }] }, { type: undefined, decorators: [{\n type: Attribute,\n args: ['tabindex']\n }] }]; } });\n\nclass MatRadioModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatRadioModule, declarations: [MatRadioGroup, MatRadioButton], imports: [MatCommonModule, CommonModule, MatRippleModule], exports: [MatCommonModule, MatRadioGroup, MatRadioButton] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatRadioModule, imports: [MatCommonModule, CommonModule, MatRippleModule, MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatRadioModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [MatCommonModule, CommonModule, MatRippleModule],\n exports: [MatCommonModule, MatRadioGroup, MatRadioButton],\n declarations: [MatRadioGroup, MatRadioButton],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MAT_RADIO_DEFAULT_OPTIONS, MAT_RADIO_DEFAULT_OPTIONS_FACTORY, MAT_RADIO_GROUP, MAT_RADIO_GROUP_CONTROL_VALUE_ACCESSOR, MatRadioButton, MatRadioChange, MatRadioGroup, MatRadioModule, _MatRadioButtonBase, _MatRadioGroupBase };\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/8061.45943028350155ea.js b/8061.45943028350155ea.js new file mode 100644 index 0000000..0c271e7 --- /dev/null +++ b/8061.45943028350155ea.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[8061,7376,5187,4091,1217,7208,4968,4155,1084,6896,6980,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,4680,2111,3326,8596,8352,5501,3098,8467,6578,8608,8443,5915,3278,5391,6748,6763,4151,5069,7432,8071,6618],{35488:(i,o,e)=>{function r(u){if(void 0===u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}e.d(o,{Z:()=>r})},28694:(i,o,e)=>{e.d(o,{Z:()=>_});var r=e(20265),u=e(98568),n=e(43445),t=e(35488);function _(a){var c=(0,u.Z)();return function(){var s,l=(0,r.Z)(a);if(c){var d=(0,r.Z)(this).constructor;s=Reflect.construct(l,arguments,d)}else s=l.apply(this,arguments);return function f(a,c){if(c&&("object"===(0,n.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return(0,t.Z)(a)}(this,s)}}},4089:(i,o,e)=>{e.d(o,{Z:()=>n});var r=e(20265);function n(){return n=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(f,_,a){var c=function u(t,f){for(;!Object.prototype.hasOwnProperty.call(t,f)&&null!==(t=(0,r.Z)(t)););return t}(f,_);if(c){var p=Object.getOwnPropertyDescriptor(c,_);return p.get?p.get.call(arguments.length<3?f:a):p.value}},n.apply(this,arguments)}},20265:(i,o,e)=>{function r(u){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(u)}e.d(o,{Z:()=>r})},24582:(i,o,e)=>{e.d(o,{Z:()=>u});var r=e(10006);function u(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&(0,r.Z)(n,t)}},98568:(i,o,e)=>{function r(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(o,{Z:()=>r})},10006:(i,o,e)=>{function r(u,n){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(f,_){return f.__proto__=_,f})(u,n)}e.d(o,{Z:()=>r})}}]); +//# sourceMappingURL=8061.45943028350155ea.js.map \ No newline at end of file diff --git a/8061.45943028350155ea.js.map b/8061.45943028350155ea.js.map new file mode 100644 index 0000000..a8c66c2 --- /dev/null +++ b/8061.45943028350155ea.js.map @@ -0,0 +1 @@ +{"version":3,"file":"8061.45943028350155ea.js","mappings":"+RAAe,SAAAA,EAAAC,GACf,YAAAA,EACA,UAAAC,eAAA,6DAEA,OAAAD,CACA,oGCFe,SAAAE,EAAAC,GACf,IAAAC,KAAkCC,EAAAC,KAClC,kBACA,IACAC,EADAC,KAAgBC,EAAAH,GAAcH,GAE9B,GAAAC,EAAA,CACA,IAAAM,KAAsBD,EAAAH,GAAcK,MAAAC,YACpCL,EAAAM,QAAAC,UAAAN,EAAAO,UAAAL,EAAA,MAEAH,EAAAC,EAAAQ,MAAAL,KAAAI,WAEA,OCZe,SAAAE,EAAAjB,EAAAkB,GACf,GAAAA,IAAsB,YAAtBA,EAAeC,EAAAb,GAAOY,IAAA,mBAAAA,GACtB,OAAAA,EACI,YAAAA,EACJ,UAAAE,UAAA,4DAEA,SAASC,EAAAf,GAAqBN,EAC9B,CDKWiB,CAAyBN,KAAAJ,EACpC,CACA,kDEfe,SAAAe,IACf,OACAA,SADAT,QAAA,KAAAA,QAAAU,IACAV,QAAAU,IAAAC,OAEA,SAAAC,EAAAC,EAAAC,GACA,IAAAC,ECLe,SAAAC,EAAAC,EAAAJ,GACf,MAAAK,OAAAC,UAAAC,eAAAf,KAAAY,EAAAJ,IAEA,QADAI,KAAarB,EAAAH,GAAcwB,MAG3B,OAAAA,CACA,CDDiBD,CAAaJ,EAAAC,GAC9B,GAAAE,EACA,KAAAM,EAAAH,OAAAI,yBAAAP,EAAAF,GACA,OAAAQ,EAAAX,IACAW,EAAAX,IAAAL,KAAAH,UAAAqB,OAAA,EAAAX,EAAAE,GAEAO,EAAAG,KAAA,CACA,EAEAf,EAAAN,MAAAL,KAAAI,UACA,mBEhBe,SAAAuB,EAAAC,GACf,OAAAD,EAAAP,OAAAS,eAAAT,OAAAtB,eAAAe,OAAA,SAAAe,GACA,OAAAA,EAAAE,WAAAV,OAAAtB,eAAA8B,EACA,GACAA,EACA,mECJe,SAAAG,EAAAC,EAAAC,GACf,sBAAAA,GAAA,OAAAA,EACA,UAAAxB,UAAA,sDAEAuB,EAAAX,UAAAD,OAAAc,OAAAD,KAAAZ,UAAA,CACApB,YAAA,CACAyB,MAAAM,EACAG,UAAA,EACAC,cAAA,KAGAhB,OAAAiB,eAAAL,EAAA,aACAG,UAAA,IAEAF,MAAkBK,EAAA3C,GAAcqC,EAAAC,EAChC,mBChBe,SAAAM,IAEf,UADArC,QAAA,MAAAA,QAAAC,WACAD,QAAAC,UAAAqC,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAArB,UAAAsB,QAAApC,KAAAL,QAAAC,UAAAuC,QAAA,mBACA,CACA,OACA,QACA,CACA,mCCVe,SAAAE,EAAAhB,EAAAiB,GACf,OAAAD,EAAAxB,OAAAS,eAAAT,OAAAS,eAAAhB,OAAA,SAAAe,EAAAiB,GACA,OAAAjB,EAAAE,UAAAe,EACAjB,CACA,GACAA,EAAAiB,EACA","names":["_assertThisInitialized","self","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","call","esm_typeof","TypeError","assertThisInitialized","_get","get","bind","target","property","receiver","base","_superPropBase","object","Object","prototype","hasOwnProperty","desc","getOwnPropertyDescriptor","length","value","_getPrototypeOf","o","setPrototypeOf","__proto__","_inherits","subClass","superClass","create","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8]} \ No newline at end of file diff --git a/8071.a88180266995b878.js b/8071.a88180266995b878.js new file mode 100644 index 0000000..c89b63d --- /dev/null +++ b/8071.a88180266995b878.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[8071,7376,5187,4091,1217,7208,4968,4155,1084,6896,6980,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,8061,4680,2111,3326,8596,8352,5501,3098,8467,6578,8608,8443,5915,3278,5391,6748,6763,4151,5069,7432,6618],{35488:(i,o,e)=>{function r(u){if(void 0===u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}e.d(o,{Z:()=>r})},28694:(i,o,e)=>{e.d(o,{Z:()=>_});var r=e(20265),u=e(98568),n=e(43445),t=e(35488);function _(a){var c=(0,u.Z)();return function(){var s,l=(0,r.Z)(a);if(c){var d=(0,r.Z)(this).constructor;s=Reflect.construct(l,arguments,d)}else s=l.apply(this,arguments);return function f(a,c){if(c&&("object"===(0,n.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return(0,t.Z)(a)}(this,s)}}},4089:(i,o,e)=>{e.d(o,{Z:()=>n});var r=e(20265);function n(){return n=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(f,_,a){var c=function u(t,f){for(;!Object.prototype.hasOwnProperty.call(t,f)&&null!==(t=(0,r.Z)(t)););return t}(f,_);if(c){var p=Object.getOwnPropertyDescriptor(c,_);return p.get?p.get.call(arguments.length<3?f:a):p.value}},n.apply(this,arguments)}},20265:(i,o,e)=>{function r(u){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(u)}e.d(o,{Z:()=>r})},24582:(i,o,e)=>{e.d(o,{Z:()=>u});var r=e(10006);function u(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&(0,r.Z)(n,t)}},98568:(i,o,e)=>{function r(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(o,{Z:()=>r})},10006:(i,o,e)=>{function r(u,n){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(f,_){return f.__proto__=_,f})(u,n)}e.d(o,{Z:()=>r})}}]); +//# sourceMappingURL=8071.a88180266995b878.js.map \ No newline at end of file diff --git a/8071.a88180266995b878.js.map b/8071.a88180266995b878.js.map new file mode 100644 index 0000000..a92a138 --- /dev/null +++ b/8071.a88180266995b878.js.map @@ -0,0 +1 @@ +{"version":3,"file":"8071.a88180266995b878.js","mappings":"+RAAe,SAAAA,EAAAC,GACf,YAAAA,EACA,UAAAC,eAAA,6DAEA,OAAAD,CACA,oGCFe,SAAAE,EAAAC,GACf,IAAAC,KAAkCC,EAAAC,KAClC,kBACA,IACAC,EADAC,KAAgBC,EAAAH,GAAcH,GAE9B,GAAAC,EAAA,CACA,IAAAM,KAAsBD,EAAAH,GAAcK,MAAAC,YACpCL,EAAAM,QAAAC,UAAAN,EAAAO,UAAAL,EAAA,MAEAH,EAAAC,EAAAQ,MAAAL,KAAAI,WAEA,OCZe,SAAAE,EAAAjB,EAAAkB,GACf,GAAAA,IAAsB,YAAtBA,EAAeC,EAAAb,GAAOY,IAAA,mBAAAA,GACtB,OAAAA,EACI,YAAAA,EACJ,UAAAE,UAAA,4DAEA,SAASC,EAAAf,GAAqBN,EAC9B,CDKWiB,CAAyBN,KAAAJ,EACpC,CACA,kDEfe,SAAAe,IACf,OACAA,SADAT,QAAA,KAAAA,QAAAU,IACAV,QAAAU,IAAAC,OAEA,SAAAC,EAAAC,EAAAC,GACA,IAAAC,ECLe,SAAAC,EAAAC,EAAAJ,GACf,MAAAK,OAAAC,UAAAC,eAAAf,KAAAY,EAAAJ,IAEA,QADAI,KAAarB,EAAAH,GAAcwB,MAG3B,OAAAA,CACA,CDDiBD,CAAaJ,EAAAC,GAC9B,GAAAE,EACA,KAAAM,EAAAH,OAAAI,yBAAAP,EAAAF,GACA,OAAAQ,EAAAX,IACAW,EAAAX,IAAAL,KAAAH,UAAAqB,OAAA,EAAAX,EAAAE,GAEAO,EAAAG,KAAA,CACA,EAEAf,EAAAN,MAAAL,KAAAI,UACA,mBEhBe,SAAAuB,EAAAC,GACf,OAAAD,EAAAP,OAAAS,eAAAT,OAAAtB,eAAAe,OAAA,SAAAe,GACA,OAAAA,EAAAE,WAAAV,OAAAtB,eAAA8B,EACA,GACAA,EACA,mECJe,SAAAG,EAAAC,EAAAC,GACf,sBAAAA,GAAA,OAAAA,EACA,UAAAxB,UAAA,sDAEAuB,EAAAX,UAAAD,OAAAc,OAAAD,KAAAZ,UAAA,CACApB,YAAA,CACAyB,MAAAM,EACAG,UAAA,EACAC,cAAA,KAGAhB,OAAAiB,eAAAL,EAAA,aACAG,UAAA,IAEAF,MAAkBK,EAAA3C,GAAcqC,EAAAC,EAChC,mBChBe,SAAAM,IAEf,UADArC,QAAA,MAAAA,QAAAC,WACAD,QAAAC,UAAAqC,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAArB,UAAAsB,QAAApC,KAAAL,QAAAC,UAAAuC,QAAA,mBACA,CACA,OACA,QACA,CACA,mCCVe,SAAAE,EAAAhB,EAAAiB,GACf,OAAAD,EAAAxB,OAAAS,eAAAT,OAAAS,eAAAhB,OAAA,SAAAe,EAAAiB,GACA,OAAAjB,EAAAE,UAAAe,EACAjB,CACA,GACAA,EAAAiB,EACA","names":["_assertThisInitialized","self","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","call","esm_typeof","TypeError","assertThisInitialized","_get","get","bind","target","property","receiver","base","_superPropBase","object","Object","prototype","hasOwnProperty","desc","getOwnPropertyDescriptor","length","value","_getPrototypeOf","o","setPrototypeOf","__proto__","_inherits","subClass","superClass","create","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8]} \ No newline at end of file diff --git a/8116.dc3b01ebb5427ede.js b/8116.dc3b01ebb5427ede.js new file mode 100644 index 0000000..ed0208e --- /dev/null +++ b/8116.dc3b01ebb5427ede.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[8116,7376,5187,4091,1217,7208,4968,4155,1084,6896,5113,5749,4309,8024,8513,5555,4967,8017,5873,4680,2111,3326,8596,8352,5501,3098,8608,8443,5915,3278,5391,6748,6763,4151,5069,7432,6618],{35488:(f,n,e)=>{function t(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}e.d(n,{Z:()=>t})},28694:(f,n,e)=>{e.d(n,{Z:()=>i});var t=e(20265),o=e(98568),u=e(43445),r=e(35488);function i(p){var c=(0,o.Z)();return function(){var a,s=(0,t.Z)(p);if(c){var d=(0,t.Z)(this).constructor;a=Reflect.construct(s,arguments,d)}else a=s.apply(this,arguments);return function _(p,c){if(c&&("object"===(0,u.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(p)}(this,a)}}},20265:(f,n,e)=>{function t(o){return(t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)})(o)}e.d(n,{Z:()=>t})},24582:(f,n,e)=>{e.d(n,{Z:()=>o});var t=e(10006);function o(u,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(r&&r.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),r&&(0,t.Z)(u,r)}},98568:(f,n,e)=>{function t(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(n,{Z:()=>t})},10006:(f,n,e)=>{function t(o,u){return(t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_,i){return _.__proto__=i,_})(o,u)}e.d(n,{Z:()=>t})}}]); +//# sourceMappingURL=8116.dc3b01ebb5427ede.js.map \ No newline at end of file diff --git a/8116.dc3b01ebb5427ede.js.map b/8116.dc3b01ebb5427ede.js.map new file mode 100644 index 0000000..3d4f8ab --- /dev/null +++ b/8116.dc3b01ebb5427ede.js.map @@ -0,0 +1 @@ +{"version":3,"file":"8116.dc3b01ebb5427ede.js","mappings":"sQAAe,SAAAA,EAAAC,GACf,YAAAA,EACA,UAAAC,eAAA,6DAEA,OAAAD,CACA,oGCFe,SAAAE,EAAAC,GACf,IAAAC,KAAkCC,EAAAC,KAClC,kBACA,IACAC,EADAC,KAAgBC,EAAAH,GAAcH,GAE9B,GAAAC,EAAA,CACA,IAAAM,KAAsBD,EAAAH,GAAcK,MAAAC,YACpCL,EAAAM,QAAAC,UAAAN,EAAAO,UAAAL,EAAA,MAEAH,EAAAC,EAAAQ,MAAAL,KAAAI,WAEA,OCZe,SAAAE,EAAAjB,EAAAkB,GACf,GAAAA,IAAsB,YAAtBA,EAAeC,EAAAb,GAAOY,IAAA,mBAAAA,GACtB,OAAAA,EACI,YAAAA,EACJ,UAAAE,UAAA,4DAEA,SAASC,EAAAf,GAAqBN,EAC9B,CDKWiB,CAAyBN,KAAAJ,EACpC,CACA,mBEhBe,SAAAe,EAAAC,GACf,OAAAD,EAAAE,OAAAC,eAAAD,OAAAf,eAAAiB,OAAA,SAAAH,GACA,OAAAA,EAAAI,WAAAH,OAAAf,eAAAc,EACA,GACAA,EACA,mECJe,SAAAK,EAAAC,EAAAC,GACf,sBAAAA,GAAA,OAAAA,EACA,UAAAV,UAAA,sDAEAS,EAAAE,UAAAP,OAAAQ,OAAAF,KAAAC,UAAA,CACAnB,YAAA,CACAqB,MAAAJ,EACAK,UAAA,EACAC,cAAA,KAGAX,OAAAY,eAAAP,EAAA,aACAK,UAAA,IAEAJ,MAAkBO,EAAA/B,GAAcuB,EAAAC,EAChC,mBChBe,SAAAQ,IAEf,UADAzB,QAAA,MAAAA,QAAAC,WACAD,QAAAC,UAAAyB,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAAV,UAAAW,QAAAxB,KAAAL,QAAAC,UAAA2B,QAAA,mBACA,CACA,OACA,QACA,CACA,mCCVe,SAAAE,EAAApB,EAAAqB,GACf,OAAAD,EAAAnB,OAAAC,eAAAD,OAAAC,eAAAC,OAAA,SAAAH,EAAAqB,GACA,OAAArB,EAAAI,UAAAiB,EACArB,CACA,GACAA,EAAAqB,EACA","names":["_assertThisInitialized","self","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","call","esm_typeof","TypeError","assertThisInitialized","_getPrototypeOf","o","Object","setPrototypeOf","bind","__proto__","_inherits","subClass","superClass","prototype","create","value","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6]} \ No newline at end of file diff --git a/8158.797e810298041051.js b/8158.797e810298041051.js new file mode 100644 index 0000000..9193443 --- /dev/null +++ b/8158.797e810298041051.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[8158],{20591:(N,T,u)=>{u.d(T,{E:()=>I});var I=new(u(90833).y)(function(c){return c.complete()})},36646:(N,T,u)=>{u.d(T,{T:()=>R});var O=u(1308),I=u(54987),m=u(20591),_=u(10420),c=u(37400);function R(){for(var C=arguments.length,D=new Array(C),v=0;v<C;v++)D[v]=arguments[v];var L=(0,_.yG)(D),f=(0,_._6)(D,1/0),b=D;return b.length?1===b.length?(0,I.Xf)(b[0]):(0,O.J)(f)((0,c.D)(b,L)):m.E}},59295:(N,T,u)=>{u.d(T,{q:()=>_});var O=u(20591),I=u(41944),m=u(93945);function _(c){return c<=0?function(){return O.E}:(0,I.e)(function(R,C){var D=0;R.subscribe((0,m.x)(C,function(v){++D<=c&&(C.next(v),c<=D&&C.complete())}))})}},19337:(N,T,u)=>{u.d(T,{b:()=>c});var O=u(92971),I=u(41944),m=u(93945),_=u(89173);function c(R,C,D){var v=(0,O.m)(R)||C||D?{next:R,error:C,complete:D}:R;return v?(0,I.e)(function(L,f){var b;null===(b=v.subscribe)||void 0===b||b.call(v);var A=!0;L.subscribe((0,m.x)(f,function(E){var k;null===(k=v.next)||void 0===k||k.call(v,E),f.next(E)},function(){var E;A=!1,null===(E=v.complete)||void 0===E||E.call(v),f.complete()},function(E){var k;A=!1,null===(k=v.error)||void 0===k||k.call(v,E),f.error(E)},function(){var E,k;A&&(null===(E=v.unsubscribe)||void 0===E||E.call(v)),null===(k=v.finalize)||void 0===k||k.call(v)}))}):_.y}},18158:(N,T,u)=>{u.r(T),u.d(T,{CDK_DRAG_CONFIG:()=>re,CDK_DRAG_HANDLE:()=>W,CDK_DRAG_PARENT:()=>K,CDK_DRAG_PLACEHOLDER:()=>ie,CDK_DRAG_PREVIEW:()=>ne,CDK_DROP_LIST:()=>oe,CDK_DROP_LIST_GROUP:()=>Q,CdkDrag:()=>Le,CdkDragHandle:()=>xe,CdkDragPlaceholder:()=>Te,CdkDragPreview:()=>Oe,CdkDropList:()=>Ae,CdkDropListGroup:()=>Me,DragDrop:()=>U,DragDropModule:()=>$e,DragDropRegistry:()=>Ie,DragRef:()=>De,DropListRef:()=>Re,copyArrayItem:()=>Ke,moveItemInArray:()=>Ee,transferArrayItem:()=>Ue});var O=u(32090),I=u(86170),m=u(78069),_=u(48047),c=u(56718),R=u(94055),C=u(93168),D=u(23675),v=u(35333),L=u(908),f=u(50253),b=u(17714),A=u(96936),E=u(78947),ze=u(14549),ae=u(90833),Y=u(36646),Z=u(68951),Ne=u(50635),le=u(59295),J=u(44874),Ze=u(19337),je=u(32673),ce=u(43068);function X(a,r,t){for(var e in r)if(r.hasOwnProperty(e)){var i=r[e];i?a.setProperty(e,i,null!=t&&t.has(e)?"important":""):a.removeProperty(e)}return a}function M(a,r){var t=r?"":"none";X(a.style,{"touch-action":r?"":"none","-webkit-user-drag":r?"":"none","-webkit-tap-highlight-color":r?"":"transparent","user-select":t,"-ms-user-select":t,"-webkit-user-select":t,"-moz-user-select":t})}function de(a,r,t){X(a.style,{position:r?"":"fixed",top:r?"":"0",opacity:r?"":"0",left:r?"":"-999em"},t)}function j(a,r){return r&&"none"!=r?a+" "+r:a}function he(a){var r=a.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(a)*r}function $(a,r){return a.getPropertyValue(r).split(",").map(function(e){return e.trim()})}function q(a){var r=a.getBoundingClientRect();return{top:r.top,right:r.right,bottom:r.bottom,left:r.left,width:r.width,height:r.height,x:r.x,y:r.y}}function ee(a,r,t){return t>=a.top&&t<=a.bottom&&r>=a.left&&r<=a.right}function F(a,r,t){a.top+=r,a.bottom=a.top+a.height,a.left+=t,a.right=a.left+a.width}function ue(a,r,t,e){var h=a.width*r,g=a.height*r;return e>a.top-g&&e<a.bottom+g&&t>a.left-h&&t<a.right+h}var ve=function(){function a(r){(0,m.Z)(this,a),this._document=r,this.positions=new Map}return(0,_.Z)(a,[{key:"clear",value:function(){this.positions.clear()}},{key:"cache",value:function(t){var e=this;this.clear(),this.positions.set(this._document,{scrollPosition:this.getViewportScrollPosition()}),t.forEach(function(i){e.positions.set(i,{scrollPosition:{top:i.scrollTop,left:i.scrollLeft},clientRect:q(i)})})}},{key:"handleScroll",value:function(t){var e=(0,D._getEventTarget)(t),i=this.positions.get(e);if(!i)return null;var s,o,n=i.scrollPosition;if(e===this._document){var l=this.getViewportScrollPosition();s=l.top,o=l.left}else s=e.scrollTop,o=e.scrollLeft;var d=n.top-s,h=n.left-o;return this.positions.forEach(function(g,p){g.clientRect&&e!==p&&e.contains(p)&&F(g.clientRect,d,h)}),n.top=s,n.left=o,{top:d,left:h}}},{key:"getViewportScrollPosition",value:function(){return{top:window.scrollY,left:window.scrollX}}}]),a}();function ge(a){var r=a.cloneNode(!0),t=r.querySelectorAll("[id]"),e=a.nodeName.toLowerCase();r.removeAttribute("id");for(var i=0;i<t.length;i++)t[i].removeAttribute("id");return"canvas"===e?pe(a,r):("input"===e||"select"===e||"textarea"===e)&&_e(a,r),fe("canvas",a,r,pe),fe("input, textarea, select",a,r,_e),r}function fe(a,r,t,e){var i=r.querySelectorAll(a);if(i.length)for(var n=t.querySelectorAll(a),s=0;s<i.length;s++)e(i[s],n[s])}var Ge=0;function _e(a,r){"file"!==r.type&&(r.value=a.value),"radio"===r.type&&r.name&&(r.name="mat-clone-".concat(r.name,"-").concat(Ge++))}function pe(a,r){var t=r.getContext("2d");if(t)try{t.drawImage(a,0,0)}catch{}}var me=(0,D.normalizePassiveListenerOptions)({passive:!0}),B=(0,D.normalizePassiveListenerOptions)({passive:!1}),te=new Set(["position"]),De=function(){function a(r,t,e,i,n,s){var o=this;(0,m.Z)(this,a),this._config=t,this._document=e,this._ngZone=i,this._viewportRuler=n,this._dragDropRegistry=s,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._hasStartedDragging=!1,this._moveEvents=new f.x,this._pointerMoveSubscription=b.w0.EMPTY,this._pointerUpSubscription=b.w0.EMPTY,this._scrollSubscription=b.w0.EMPTY,this._resizeSubscription=b.w0.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new f.x,this.started=new f.x,this.released=new f.x,this.ended=new f.x,this.entered=new f.x,this.exited=new f.x,this.dropped=new f.x,this.moved=this._moveEvents,this._pointerDown=function(l){if(o.beforeStarted.next(),o._handles.length){var d=o._getTargetHandle(l);d&&!o._disabledHandles.has(d)&&!o.disabled&&o._initializeDragSequence(d,l)}else o.disabled||o._initializeDragSequence(o._rootElement,l)},this._pointerMove=function(l){var d=o._getPointerPositionOnPage(l);if(o._hasStartedDragging){l.preventDefault();var S=o._getConstrainedPointerPosition(d);if(o._hasMoved=!0,o._lastKnownPointerPosition=d,o._updatePointerDirectionDelta(S),o._dropContainer)o._updateActiveDropContainer(S,d);else{var x=o.constrainPosition?o._initialClientRect:o._pickupPositionOnPage,y=o._activeTransform;y.x=S.x-x.x+o._passiveTransform.x,y.y=S.y-x.y+o._passiveTransform.y,o._applyRootElementTransform(y.x,y.y)}o._moveEvents.observers.length&&o._ngZone.run(function(){o._moveEvents.next({source:o,pointerPosition:S,event:l,distance:o._getDragDistance(S),delta:o._pointerDirectionDelta})})}else if(Math.abs(d.x-o._pickupPositionOnPage.x)+Math.abs(d.y-o._pickupPositionOnPage.y)>=o._config.dragStartThreshold){var P=Date.now()>=o._dragStartTime+o._getDragStartDelay(l),w=o._dropContainer;if(!P)return void o._endDragSequence(l);(!w||!w.isDragging()&&!w.isReceiving())&&(l.preventDefault(),o._hasStartedDragging=!0,o._ngZone.run(function(){return o._startDragSequence(l)}))}},this._pointerUp=function(l){o._endDragSequence(l)},this._nativeDragStart=function(l){if(o._handles.length){var d=o._getTargetHandle(l);d&&!o._disabledHandles.has(d)&&!o.disabled&&l.preventDefault()}else o.disabled||l.preventDefault()},this.withRootElement(r).withParent(t.parentDragRef||null),this._parentPositions=new ve(e),s.registerDragItem(this)}return(0,_.Z)(a,[{key:"disabled",get:function(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)},set:function(t){var e=(0,v.coerceBooleanProperty)(t);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(function(i){return M(i,e)}))}},{key:"getPlaceholderElement",value:function(){return this._placeholder}},{key:"getRootElement",value:function(){return this._rootElement}},{key:"getVisibleElement",value:function(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}},{key:"withHandles",value:function(t){var e=this;this._handles=t.map(function(n){return(0,v.coerceElement)(n)}),this._handles.forEach(function(n){return M(n,e.disabled)}),this._toggleNativeDragInteractions();var i=new Set;return this._disabledHandles.forEach(function(n){e._handles.indexOf(n)>-1&&i.add(n)}),this._disabledHandles=i,this}},{key:"withPreviewTemplate",value:function(t){return this._previewTemplate=t,this}},{key:"withPlaceholderTemplate",value:function(t){return this._placeholderTemplate=t,this}},{key:"withRootElement",value:function(t){var e=this,i=(0,v.coerceElement)(t);return i!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(function(){i.addEventListener("mousedown",e._pointerDown,B),i.addEventListener("touchstart",e._pointerDown,me),i.addEventListener("dragstart",e._nativeDragStart,B)}),this._initialTransform=void 0,this._rootElement=i),typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}},{key:"withBoundaryElement",value:function(t){var e=this;return this._boundaryElement=t?(0,v.coerceElement)(t):null,this._resizeSubscription.unsubscribe(),t&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(function(){return e._containInsideBoundaryOnResize()})),this}},{key:"withParent",value:function(t){return this._parentDragRef=t,this}},{key:"dispose",value:function(){var t,e;this._removeRootElementListeners(this._rootElement),this.isDragging()&&(null===(e=this._rootElement)||void 0===e||e.remove()),null===(t=this._anchor)||void 0===t||t.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}},{key:"isDragging",value:function(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}},{key:"reset",value:function(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}},{key:"disableHandle",value:function(t){!this._disabledHandles.has(t)&&this._handles.indexOf(t)>-1&&(this._disabledHandles.add(t),M(t,!0))}},{key:"enableHandle",value:function(t){this._disabledHandles.has(t)&&(this._disabledHandles.delete(t),M(t,this.disabled))}},{key:"withDirection",value:function(t){return this._direction=t,this}},{key:"_withDropContainer",value:function(t){this._dropContainer=t}},{key:"getFreeDragPosition",value:function(){var t=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:t.x,y:t.y}}},{key:"setFreeDragPosition",value:function(t){return this._activeTransform={x:0,y:0},this._passiveTransform.x=t.x,this._passiveTransform.y=t.y,this._dropContainer||this._applyRootElementTransform(t.x,t.y),this}},{key:"withPreviewContainer",value:function(t){return this._previewContainer=t,this}},{key:"_sortFromLastPointerPosition",value:function(){var t=this._lastKnownPointerPosition;t&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(t),t)}},{key:"_removeSubscriptions",value:function(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}},{key:"_destroyPreview",value:function(){var t,e;null===(t=this._preview)||void 0===t||t.remove(),null===(e=this._previewRef)||void 0===e||e.destroy(),this._preview=this._previewRef=null}},{key:"_destroyPlaceholder",value:function(){var t,e;null===(t=this._placeholder)||void 0===t||t.remove(),null===(e=this._placeholderRef)||void 0===e||e.destroy(),this._placeholder=this._placeholderRef=null}},{key:"_endDragSequence",value:function(t){var e=this;if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this,event:t}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(function(){e._cleanupDragArtifacts(t),e._cleanupCachedDimensions(),e._dragDropRegistry.stopDragging(e)});else{this._passiveTransform.x=this._activeTransform.x;var i=this._getPointerPositionOnPage(t);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(function(){e.ended.next({source:e,distance:e._getDragDistance(i),dropPoint:i,event:t})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}},{key:"_startDragSequence",value:function(t){H(t)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();var e=this._dropContainer;if(e){var i=this._rootElement,n=i.parentNode,s=this._placeholder=this._createPlaceholderElement(),o=this._anchor=this._anchor||this._document.createComment(""),l=this._getShadowRoot();n.insertBefore(o,i),this._initialTransform=i.style.transform||"",this._preview=this._createPreviewElement(),de(i,!1,te),this._document.body.appendChild(n.replaceChild(s,i)),this._getPreviewInsertionPoint(n,l).appendChild(this._preview),this.started.next({source:this,event:t}),e.start(),this._initialContainer=e,this._initialIndex=e.getItemIndex(this)}else this.started.next({source:this,event:t}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(e?e.getScrollableParents():[])}},{key:"_initializeDragSequence",value:function(t,e){var i=this;this._parentDragRef&&e.stopPropagation();var n=this.isDragging(),s=H(e),o=!s&&0!==e.button,l=this._rootElement,d=(0,D._getEventTarget)(e),h=!s&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),g=s?(0,L.isFakeTouchstartFromScreenReader)(e):(0,L.isFakeMousedownFromScreenReader)(e);if(d&&d.draggable&&"mousedown"===e.type&&e.preventDefault(),!(n||o||h||g)){if(this._handles.length){var p=l.style;this._rootElementTapHighlight=p.webkitTapHighlightColor||"",p.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._initialClientRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(function(S){return i._updateOnScroll(S)}),this._boundaryElement&&(this._boundaryRect=q(this._boundaryElement));var P=this._previewTemplate;this._pickupPositionInElement=P&&P.template&&!P.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialClientRect,t,e);var w=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:w.x,y:w.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}}},{key:"_cleanupDragArtifacts",value:function(t){var e=this;de(this._rootElement,!0,te),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._initialClientRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(function(){var i=e._dropContainer,n=i.getItemIndex(e),s=e._getPointerPositionOnPage(t),o=e._getDragDistance(s),l=i._isOverContainer(s.x,s.y);e.ended.next({source:e,distance:o,dropPoint:s,event:t}),e.dropped.next({item:e,currentIndex:n,previousIndex:e._initialIndex,container:i,previousContainer:e._initialContainer,isPointerOverContainer:l,distance:o,dropPoint:s,event:t}),i.drop(e,n,e._initialIndex,e._initialContainer,l,o,s,t),e._dropContainer=e._initialContainer})}},{key:"_updateActiveDropContainer",value:function(t,e){var i=this,n=t.x,s=t.y,o=e.x,l=e.y,d=this._initialContainer._getSiblingContainerFromPosition(this,n,s);!d&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(n,s)&&(d=this._initialContainer),d&&d!==this._dropContainer&&this._ngZone.run(function(){i.exited.next({item:i,container:i._dropContainer}),i._dropContainer.exit(i),i._dropContainer=d,i._dropContainer.enter(i,n,s,d===i._initialContainer&&d.sortingDisabled?i._initialIndex:void 0),i.entered.next({item:i,container:d,currentIndex:d.getItemIndex(i)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(o,l),this._dropContainer._sortItem(this,n,s,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(n,s):this._applyPreviewTransform(n-this._pickupPositionInElement.x,s-this._pickupPositionInElement.y))}},{key:"_createPreviewElement",value:function(){var n,t=this._previewTemplate,e=this.previewClass,i=t?t.template:null;if(i&&t){var s=t.matchSize?this._initialClientRect:null,o=t.viewContainer.createEmbeddedView(i,t.context);o.detectChanges(),n=Pe(o,this._document),this._previewRef=o,t.matchSize?Se(n,s):n.style.transform=G(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else Se(n=ge(this._rootElement),this._initialClientRect),this._initialTransform&&(n.style.transform=this._initialTransform);return X(n.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":"".concat(this._config.zIndex||1e3)},te),M(n,!1),n.classList.add("cdk-drag-preview"),n.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(function(l){return n.classList.add(l)}):n.classList.add(e)),n}},{key:"_animatePreviewToPlaceholder",value:function(){var t=this;if(!this._hasMoved)return Promise.resolve();var e=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(e.left,e.top);var i=function Be(a){var r=getComputedStyle(a),t=$(r,"transition-property"),e=t.find(function(o){return"transform"===o||"all"===o});if(!e)return 0;var i=t.indexOf(e),n=$(r,"transition-duration"),s=$(r,"transition-delay");return he(n[i])+he(s[i])}(this._preview);return 0===i?Promise.resolve():this._ngZone.runOutsideAngular(function(){return new Promise(function(n){var s=function l(d){var h;(!d||(0,D._getEventTarget)(d)===t._preview&&"transform"===d.propertyName)&&(null===(h=t._preview)||void 0===h||h.removeEventListener("transitionend",l),n(),clearTimeout(o))},o=setTimeout(s,1.5*i);t._preview.addEventListener("transitionend",s)})})}},{key:"_createPlaceholderElement",value:function(){var i,t=this._placeholderTemplate,e=t?t.template:null;return e?(this._placeholderRef=t.viewContainer.createEmbeddedView(e,t.context),this._placeholderRef.detectChanges(),i=Pe(this._placeholderRef,this._document)):i=ge(this._rootElement),i.style.pointerEvents="none",i.classList.add("cdk-drag-placeholder"),i}},{key:"_getPointerPositionInElement",value:function(t,e,i){var n=e===this._rootElement?null:e,s=n?n.getBoundingClientRect():t,o=H(i)?i.targetTouches[0]:i,l=this._getViewportScrollPosition();return{x:s.left-t.left+(o.pageX-s.left-l.left),y:s.top-t.top+(o.pageY-s.top-l.top)}}},{key:"_getPointerPositionOnPage",value:function(t){var e=this._getViewportScrollPosition(),i=H(t)?t.touches[0]||t.changedTouches[0]||{pageX:0,pageY:0}:t,n=i.pageX-e.left,s=i.pageY-e.top;if(this._ownerSVGElement){var o=this._ownerSVGElement.getScreenCTM();if(o){var l=this._ownerSVGElement.createSVGPoint();return l.x=n,l.y=s,l.matrixTransform(o.inverse())}}return{x:n,y:s}}},{key:"_getConstrainedPointerPosition",value:function(t){var e=this._dropContainer?this._dropContainer.lockAxis:null,i=this.constrainPosition?this.constrainPosition(t,this,this._initialClientRect,this._pickupPositionInElement):t,n=i.x,s=i.y;if("x"===this.lockAxis||"x"===e?s=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===e)&&(n=this._pickupPositionOnPage.x),this._boundaryRect){var o=this._pickupPositionInElement,l=o.x,d=o.y,h=this._boundaryRect,g=this._getPreviewRect(),w=h.top+d,S=h.bottom-(g.height-d);n=ye(n,h.left+l,h.right-(g.width-l)),s=ye(s,w,S)}return{x:n,y:s}}},{key:"_updatePointerDirectionDelta",value:function(t){var e=t.x,i=t.y,n=this._pointerDirectionDelta,s=this._pointerPositionAtLastDirectionChange,o=Math.abs(e-s.x),l=Math.abs(i-s.y);return o>this._config.pointerDirectionChangeThreshold&&(n.x=e>s.x?1:-1,s.x=e),l>this._config.pointerDirectionChangeThreshold&&(n.y=i>s.y?1:-1,s.y=i),n}},{key:"_toggleNativeDragInteractions",value:function(){if(this._rootElement&&this._handles){var t=this._handles.length>0||!this.isDragging();t!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=t,M(this._rootElement,t))}}},{key:"_removeRootElementListeners",value:function(t){t.removeEventListener("mousedown",this._pointerDown,B),t.removeEventListener("touchstart",this._pointerDown,me),t.removeEventListener("dragstart",this._nativeDragStart,B)}},{key:"_applyRootElementTransform",value:function(t,e){var i=G(t,e),n=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=n.transform&&"none"!=n.transform?n.transform:""),n.transform=j(i,this._initialTransform)}},{key:"_applyPreviewTransform",value:function(t,e){var i,n=null!==(i=this._previewTemplate)&&void 0!==i&&i.template?void 0:this._initialTransform,s=G(t,e);this._preview.style.transform=j(s,n)}},{key:"_getDragDistance",value:function(t){var e=this._pickupPositionOnPage;return e?{x:t.x-e.x,y:t.y-e.y}:{x:0,y:0}}},{key:"_cleanupCachedDimensions",value:function(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}},{key:"_containInsideBoundaryOnResize",value:function(){var t=this._passiveTransform,e=t.x,i=t.y;if(!(0===e&&0===i||this.isDragging())&&this._boundaryElement){var n=this._rootElement.getBoundingClientRect(),s=this._boundaryElement.getBoundingClientRect();if(!(0===s.width&&0===s.height||0===n.width&&0===n.height)){var o=s.left-n.left,l=n.right-s.right,d=s.top-n.top,h=n.bottom-s.bottom;s.width>n.width?(o>0&&(e+=o),l>0&&(e-=l)):e=0,s.height>n.height?(d>0&&(i+=d),h>0&&(i-=h)):i=0,(e!==this._passiveTransform.x||i!==this._passiveTransform.y)&&this.setFreeDragPosition({y:i,x:e})}}}},{key:"_getDragStartDelay",value:function(t){var e=this.dragStartDelay;return"number"==typeof e?e:H(t)?e.touch:e?e.mouse:0}},{key:"_updateOnScroll",value:function(t){var e=this._parentPositions.handleScroll(t);if(e){var i=(0,D._getEventTarget)(t);this._boundaryRect&&i!==this._boundaryElement&&i.contains(this._boundaryElement)&&F(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}},{key:"_getViewportScrollPosition",value:function(){var t;return(null===(t=this._parentPositions.positions.get(this._document))||void 0===t?void 0:t.scrollPosition)||this._parentPositions.getViewportScrollPosition()}},{key:"_getShadowRoot",value:function(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=(0,D._getShadowRoot)(this._rootElement)),this._cachedShadowRoot}},{key:"_getPreviewInsertionPoint",value:function(t,e){var i=this._previewContainer||"global";if("parent"===i)return t;if("global"===i){var n=this._document;return e||n.fullscreenElement||n.webkitFullscreenElement||n.mozFullScreenElement||n.msFullscreenElement||n.body}return(0,v.coerceElement)(i)}},{key:"_getPreviewRect",value:function(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialClientRect),this._previewRect}},{key:"_getTargetHandle",value:function(t){return this._handles.find(function(e){return t.target&&(t.target===e||e.contains(t.target))})}}]),a}();function G(a,r){return"translate3d(".concat(Math.round(a),"px, ").concat(Math.round(r),"px, 0)")}function ye(a,r,t){return Math.max(r,Math.min(t,a))}function H(a){return"t"===a.type[0]}function Pe(a,r){var t=a.rootNodes;if(1===t.length&&t[0].nodeType===r.ELEMENT_NODE)return t[0];var e=r.createElement("div");return t.forEach(function(i){return e.appendChild(i)}),e}function Se(a,r){a.style.width="".concat(r.width,"px"),a.style.height="".concat(r.height,"px"),a.style.transform=G(r.left,r.top)}function Ee(a,r,t){var e=z(r,a.length-1),i=z(t,a.length-1);if(e!==i){for(var n=a[e],s=i<e?-1:1,o=e;o!==i;o+=s)a[o]=a[o+s];a[i]=n}}function Ue(a,r,t,e){var i=z(t,a.length-1),n=z(e,r.length);a.length&&r.splice(n,0,a.splice(i,1)[0])}function Ke(a,r,t,e){var i=z(e,r.length);a.length&&r.splice(i,0,a[t])}function z(a,r){return Math.max(0,Math.min(r,a))}var We=function(){function a(r,t){(0,m.Z)(this,a),this._element=r,this._dragDropRegistry=t,this._itemPositions=[],this.orientation="vertical",this._previousSwap={drag:null,delta:0,overlaps:!1}}return(0,_.Z)(a,[{key:"start",value:function(t){this.withItems(t)}},{key:"sort",value:function(t,e,i,n){var s=this._itemPositions,o=this._getItemIndexFromPointerPosition(t,e,i,n);if(-1===o&&s.length>0)return null;var l="horizontal"===this.orientation,d=s.findIndex(function(y){return y.drag===t}),h=s[o],p=h.clientRect,P=d>o?1:-1,w=this._getItemOffsetPx(s[d].clientRect,p,P),S=this._getSiblingOffsetPx(d,s,P),x=s.slice();return Ee(s,d,o),s.forEach(function(y,qe){if(x[qe]!==y){var Fe=y.drag===t,se=Fe?w:S,He=Fe?t.getPlaceholderElement():y.drag.getRootElement();y.offset+=se,l?(He.style.transform=j("translate3d(".concat(Math.round(y.offset),"px, 0, 0)"),y.initialTransform),F(y.clientRect,0,se)):(He.style.transform=j("translate3d(0, ".concat(Math.round(y.offset),"px, 0)"),y.initialTransform),F(y.clientRect,se,0))}}),this._previousSwap.overlaps=ee(p,e,i),this._previousSwap.drag=h.drag,this._previousSwap.delta=l?n.x:n.y,{previousIndex:d,currentIndex:o}}},{key:"enter",value:function(t,e,i,n){var s=null==n||n<0?this._getItemIndexFromPointerPosition(t,e,i):n,o=this._activeDraggables,l=o.indexOf(t),d=t.getPlaceholderElement(),h=o[s];if(h===t&&(h=o[s+1]),!h&&(null==s||-1===s||s<o.length-1)&&this._shouldEnterAsFirstChild(e,i)&&(h=o[0]),l>-1&&o.splice(l,1),h&&!this._dragDropRegistry.isDragging(h)){var g=h.getRootElement();g.parentElement.insertBefore(d,g),o.splice(s,0,t)}else(0,v.coerceElement)(this._element).appendChild(d),o.push(t);d.style.transform="",this._cacheItemPositions()}},{key:"withItems",value:function(t){this._activeDraggables=t.slice(),this._cacheItemPositions()}},{key:"withSortPredicate",value:function(t){this._sortPredicate=t}},{key:"reset",value:function(){var t=this;this._activeDraggables.forEach(function(e){var i=e.getRootElement();if(i){var n,s=null===(n=t._itemPositions.find(function(o){return o.drag===e}))||void 0===n?void 0:n.initialTransform;i.style.transform=s||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}},{key:"getActiveItemsSnapshot",value:function(){return this._activeDraggables}},{key:"getItemIndex",value:function(t){return("horizontal"===this.orientation&&"rtl"===this.direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(function(i){return i.drag===t})}},{key:"updateOnScroll",value:function(t,e){var i=this;this._itemPositions.forEach(function(n){F(n.clientRect,t,e)}),this._itemPositions.forEach(function(n){var s=n.drag;i._dragDropRegistry.isDragging(s)&&s._sortFromLastPointerPosition()})}},{key:"_cacheItemPositions",value:function(){var t="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(function(e){var i=e.getVisibleElement();return{drag:e,offset:0,initialTransform:i.style.transform||"",clientRect:q(i)}}).sort(function(e,i){return t?e.clientRect.left-i.clientRect.left:e.clientRect.top-i.clientRect.top})}},{key:"_getItemOffsetPx",value:function(t,e,i){var n="horizontal"===this.orientation,s=n?e.left-t.left:e.top-t.top;return-1===i&&(s+=n?e.width-t.width:e.height-t.height),s}},{key:"_getSiblingOffsetPx",value:function(t,e,i){var n="horizontal"===this.orientation,s=e[t].clientRect,o=e[t+-1*i],l=s[n?"width":"height"]*i;if(o){var d=n?"left":"top",h=n?"right":"bottom";-1===i?l-=o.clientRect[d]-s[h]:l+=s[d]-o.clientRect[h]}return l}},{key:"_shouldEnterAsFirstChild",value:function(t,e){if(!this._activeDraggables.length)return!1;var i=this._itemPositions,n="horizontal"===this.orientation;if(i[0].drag!==this._activeDraggables[0]){var o=i[i.length-1].clientRect;return n?t>=o.right:e>=o.bottom}var l=i[0].clientRect;return n?t<=l.left:e<=l.top}},{key:"_getItemIndexFromPointerPosition",value:function(t,e,i,n){var s=this,o="horizontal"===this.orientation,l=this._itemPositions.findIndex(function(d){var h=d.drag,g=d.clientRect;return h!==t&&((!n||h!==s._previousSwap.drag||!s._previousSwap.overlaps||(o?n.x:n.y)!==s._previousSwap.delta)&&(o?e>=Math.floor(g.left)&&e<Math.floor(g.right):i>=Math.floor(g.top)&&i<Math.floor(g.bottom)))});return-1!==l&&this._sortPredicate(l,t)?l:-1}}]),a}(),we=.05,Re=function(){function a(r,t,e,i,n){var s=this;(0,m.Z)(this,a),this._dragDropRegistry=t,this._ngZone=i,this._viewportRuler=n,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=function(){return!0},this.sortPredicate=function(){return!0},this.beforeStarted=new f.x,this.entered=new f.x,this.exited=new f.x,this.dropped=new f.x,this.sorted=new f.x,this.receivingStarted=new f.x,this.receivingStopped=new f.x,this._isDragging=!1,this._draggables=[],this._siblings=[],this._activeSiblings=new Set,this._viewportScrollSubscription=b.w0.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new f.x,this._cachedShadowRoot=null,this._startScrollInterval=function(){s._stopScrolling(),function k(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return a<0&&(a=0),(0,E.H)(a,a,arguments.length>1&&void 0!==arguments[1]?arguments[1]:A.z)}(0,ze.Z).pipe((0,Z.R)(s._stopScrollTimers)).subscribe(function(){var o=s._scrollNode,l=s.autoScrollStep;1===s._verticalScrollDirection?o.scrollBy(0,-l):2===s._verticalScrollDirection&&o.scrollBy(0,l),1===s._horizontalScrollDirection?o.scrollBy(-l,0):2===s._horizontalScrollDirection&&o.scrollBy(l,0)})},this.element=(0,v.coerceElement)(r),this._document=e,this.withScrollableParents([this.element]),t.registerDropContainer(this),this._parentPositions=new ve(e),this._sortStrategy=new We(this.element,t),this._sortStrategy.withSortPredicate(function(o,l){return s.sortPredicate(o,l,s)})}return(0,_.Z)(a,[{key:"dispose",value:function(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this.receivingStarted.complete(),this.receivingStopped.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}},{key:"isDragging",value:function(){return this._isDragging}},{key:"start",value:function(){this._draggingStarted(),this._notifyReceivingSiblings()}},{key:"enter",value:function(t,e,i,n){this._draggingStarted(),null==n&&this.sortingDisabled&&(n=this._draggables.indexOf(t)),this._sortStrategy.enter(t,e,i,n),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:t,container:this,currentIndex:this.getItemIndex(t)})}},{key:"exit",value:function(t){this._reset(),this.exited.next({item:t,container:this})}},{key:"drop",value:function(t,e,i,n,s,o,l){var d=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{};this._reset(),this.dropped.next({item:t,currentIndex:e,previousIndex:i,container:this,previousContainer:n,isPointerOverContainer:s,distance:o,dropPoint:l,event:d})}},{key:"withItems",value:function(t){var e=this,i=this._draggables;return this._draggables=t,t.forEach(function(s){return s._withDropContainer(e)}),this.isDragging()&&(i.filter(function(s){return s.isDragging()}).every(function(s){return-1===t.indexOf(s)})?this._reset():this._sortStrategy.withItems(this._draggables)),this}},{key:"withDirection",value:function(t){return this._sortStrategy.direction=t,this}},{key:"connectedTo",value:function(t){return this._siblings=t.slice(),this}},{key:"withOrientation",value:function(t){return this._sortStrategy.orientation=t,this}},{key:"withScrollableParents",value:function(t){var e=(0,v.coerceElement)(this.element);return this._scrollableElements=-1===t.indexOf(e)?[e].concat((0,I.Z)(t)):t.slice(),this}},{key:"getScrollableParents",value:function(){return this._scrollableElements}},{key:"getItemIndex",value:function(t){return this._isDragging?this._sortStrategy.getItemIndex(t):this._draggables.indexOf(t)}},{key:"isReceiving",value:function(){return this._activeSiblings.size>0}},{key:"_sortItem",value:function(t,e,i,n){if(!this.sortingDisabled&&this._clientRect&&ue(this._clientRect,.05,e,i)){var s=this._sortStrategy.sort(t,e,i,n);s&&this.sorted.next({previousIndex:s.previousIndex,currentIndex:s.currentIndex,container:this,item:t})}}},{key:"_startScrollingIfNecessary",value:function(t,e){var i=this;if(!this.autoScrollDisabled){var n,s=0,o=0;if(this._parentPositions.positions.forEach(function(p,P){if(P!==i._document&&p.clientRect&&!n&&ue(p.clientRect,.05,t,e)){var w=function Qe(a,r,t,e){var i=Ce(r,e),n=ke(r,t),s=0,o=0;if(i){var l=a.scrollTop;1===i?l>0&&(s=1):a.scrollHeight-l>a.clientHeight&&(s=2)}if(n){var d=a.scrollLeft;1===n?d>0&&(o=1):a.scrollWidth-d>a.clientWidth&&(o=2)}return[s,o]}(P,p.clientRect,t,e),S=(0,O.Z)(w,2);o=S[1],((s=S[0])||o)&&(n=P)}}),!s&&!o){var l=this._viewportRuler.getViewportSize(),d=l.width,h=l.height,g={width:d,height:h,top:0,right:d,bottom:h,left:0};s=Ce(g,e),o=ke(g,t),n=window}n&&(s!==this._verticalScrollDirection||o!==this._horizontalScrollDirection||n!==this._scrollNode)&&(this._verticalScrollDirection=s,this._horizontalScrollDirection=o,this._scrollNode=n,(s||o)&&n?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}}},{key:"_stopScrolling",value:function(){this._stopScrollTimers.next()}},{key:"_draggingStarted",value:function(){var t=(0,v.coerceElement)(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=t.msScrollSnapType||t.scrollSnapType||"",t.scrollSnapType=t.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}},{key:"_cacheParentPositions",value:function(){var t=(0,v.coerceElement)(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(t).clientRect}},{key:"_reset",value:function(){var t=this;this._isDragging=!1;var e=(0,v.coerceElement)(this.element).style;e.scrollSnapType=e.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(function(i){return i._stopReceiving(t)}),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}},{key:"_isOverContainer",value:function(t,e){return null!=this._clientRect&&ee(this._clientRect,t,e)}},{key:"_getSiblingContainerFromPosition",value:function(t,e,i){return this._siblings.find(function(n){return n._canReceive(t,e,i)})}},{key:"_canReceive",value:function(t,e,i){if(!this._clientRect||!ee(this._clientRect,e,i)||!this.enterPredicate(t,this))return!1;var n=this._getShadowRoot().elementFromPoint(e,i);if(!n)return!1;var s=(0,v.coerceElement)(this.element);return n===s||s.contains(n)}},{key:"_startReceiving",value:function(t,e){var i=this,n=this._activeSiblings;!n.has(t)&&e.every(function(s){return i.enterPredicate(s,i)||i._draggables.indexOf(s)>-1})&&(n.add(t),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:t,receiver:this,items:e}))}},{key:"_stopReceiving",value:function(t){this._activeSiblings.delete(t),this._viewportScrollSubscription.unsubscribe(),this.receivingStopped.next({initiator:t,receiver:this})}},{key:"_listenToScrollEvents",value:function(){var t=this;this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(function(e){if(t.isDragging()){var i=t._parentPositions.handleScroll(e);i&&t._sortStrategy.updateOnScroll(i.top,i.left)}else t.isReceiving()&&t._cacheParentPositions()})}},{key:"_getShadowRoot",value:function(){if(!this._cachedShadowRoot){var t=(0,D._getShadowRoot)((0,v.coerceElement)(this.element));this._cachedShadowRoot=t||this._document}return this._cachedShadowRoot}},{key:"_notifyReceivingSiblings",value:function(){var t=this,e=this._sortStrategy.getActiveItemsSnapshot().filter(function(i){return i.isDragging()});this._siblings.forEach(function(i){return i._startReceiving(t,e)})}}]),a}();function Ce(a,r){var t=a.top,e=a.bottom,n=a.height*we;return r>=t-n&&r<=t+n?1:r>=e-n&&r<=e+n?2:0}function ke(a,r){var t=a.left,e=a.right,n=a.width*we;return r>=t-n&&r<=t+n?1:r>=e-n&&r<=e+n?2:0}var V=(0,D.normalizePassiveListenerOptions)({passive:!1,capture:!0}),Ie=function(){var a=function(){function r(t,e){var i=this;(0,m.Z)(this,r),this._ngZone=t,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=function(n){return n.isDragging()},this.pointerMove=new f.x,this.pointerUp=new f.x,this.scroll=new f.x,this._preventDefaultWhileDragging=function(n){i._activeDragInstances.length>0&&n.preventDefault()},this._persistentTouchmoveListener=function(n){i._activeDragInstances.length>0&&(i._activeDragInstances.some(i._draggingPredicate)&&n.preventDefault(),i.pointerMove.next(n))},this._document=e}return(0,_.Z)(r,[{key:"registerDropContainer",value:function(e){this._dropInstances.has(e)||this._dropInstances.add(e)}},{key:"registerDragItem",value:function(e){var i=this;this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(function(){i._document.addEventListener("touchmove",i._persistentTouchmoveListener,V)})}},{key:"removeDropContainer",value:function(e){this._dropInstances.delete(e)}},{key:"removeDragItem",value:function(e){this._dragInstances.delete(e),this.stopDragging(e),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,V)}},{key:"startDragging",value:function(e,i){var n=this;if(!(this._activeDragInstances.indexOf(e)>-1)&&(this._activeDragInstances.push(e),1===this._activeDragInstances.length)){var s=i.type.startsWith("touch");this._globalListeners.set(s?"touchend":"mouseup",{handler:function(l){return n.pointerUp.next(l)},options:!0}).set("scroll",{handler:function(l){return n.scroll.next(l)},options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:V}),s||this._globalListeners.set("mousemove",{handler:function(l){return n.pointerMove.next(l)},options:V}),this._ngZone.runOutsideAngular(function(){n._globalListeners.forEach(function(o,l){n._document.addEventListener(l,o.handler,o.options)})})}}},{key:"stopDragging",value:function(e){var i=this._activeDragInstances.indexOf(e);i>-1&&(this._activeDragInstances.splice(i,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}},{key:"isDragging",value:function(e){return this._activeDragInstances.indexOf(e)>-1}},{key:"scrolled",value:function(e){var i=this,n=[this.scroll];return e&&e!==this._document&&n.push(new ae.y(function(s){return i._ngZone.runOutsideAngular(function(){var l=function(h){i._activeDragInstances.length&&s.next(h)};return e.addEventListener("scroll",l,!0),function(){e.removeEventListener("scroll",l,!0)}})})),Y.T.apply(void 0,n)}},{key:"ngOnDestroy",value:function(){var e=this;this._dragInstances.forEach(function(i){return e.removeDragItem(i)}),this._dropInstances.forEach(function(i){return e.removeDropContainer(i)}),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}},{key:"_clearGlobalListeners",value:function(){var e=this;this._globalListeners.forEach(function(i,n){e._document.removeEventListener(n,i.handler,i.options)}),this._globalListeners.clear()}}]),r}();return a.\u0275fac=function(t){return new(t||a)(c.\u0275\u0275inject(c.NgZone),c.\u0275\u0275inject(R.DOCUMENT))},a.\u0275prov=c.\u0275\u0275defineInjectable({token:a,factory:a.\u0275fac,providedIn:"root"}),a}(),Ye={dragStartThreshold:5,pointerDirectionChangeThreshold:5},U=function(){var a=function(){function r(t,e,i,n){(0,m.Z)(this,r),this._document=t,this._ngZone=e,this._viewportRuler=i,this._dragDropRegistry=n}return(0,_.Z)(r,[{key:"createDrag",value:function(e){return new De(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ye,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}},{key:"createDropList",value:function(e){return new Re(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}]),r}();return a.\u0275fac=function(t){return new(t||a)(c.\u0275\u0275inject(R.DOCUMENT),c.\u0275\u0275inject(c.NgZone),c.\u0275\u0275inject(C.ViewportRuler),c.\u0275\u0275inject(Ie))},a.\u0275prov=c.\u0275\u0275defineInjectable({token:a,factory:a.\u0275fac,providedIn:"root"}),a}(),K=new c.InjectionToken("CDK_DRAG_PARENT"),W=new c.InjectionToken("CdkDragHandle"),xe=function(){var a=function(){function r(t,e){(0,m.Z)(this,r),this.element=t,this._stateChanges=new f.x,this._disabled=!1,this._parentDrag=e}return(0,_.Z)(r,[{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=(0,v.coerceBooleanProperty)(e),this._stateChanges.next(this)}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}}]),r}();return a.\u0275fac=function(t){return new(t||a)(c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(K,12))},a.\u0275dir=c.\u0275\u0275defineDirective({type:a,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:["cdkDragHandleDisabled","disabled"]},standalone:!0,features:[c.\u0275\u0275ProvidersFeature([{provide:W,useExisting:a}])]}),a}(),ie=new c.InjectionToken("CdkDragPlaceholder"),Te=function(){var a=(0,_.Z)(function r(t){(0,m.Z)(this,r),this.templateRef=t});return a.\u0275fac=function(t){return new(t||a)(c.\u0275\u0275directiveInject(c.TemplateRef))},a.\u0275dir=c.\u0275\u0275defineDirective({type:a,selectors:[["ng-template","cdkDragPlaceholder",""]],inputs:{data:"data"},standalone:!0,features:[c.\u0275\u0275ProvidersFeature([{provide:ie,useExisting:a}])]}),a}(),ne=new c.InjectionToken("CdkDragPreview"),Oe=function(){var a=function(){function r(t){(0,m.Z)(this,r),this.templateRef=t,this._matchSize=!1}return(0,_.Z)(r,[{key:"matchSize",get:function(){return this._matchSize},set:function(e){this._matchSize=(0,v.coerceBooleanProperty)(e)}}]),r}();return a.\u0275fac=function(t){return new(t||a)(c.\u0275\u0275directiveInject(c.TemplateRef))},a.\u0275dir=c.\u0275\u0275defineDirective({type:a,selectors:[["ng-template","cdkDragPreview",""]],inputs:{data:"data",matchSize:"matchSize"},standalone:!0,features:[c.\u0275\u0275ProvidersFeature([{provide:ne,useExisting:a}])]}),a}(),re=new c.InjectionToken("CDK_DRAG_CONFIG"),oe=new c.InjectionToken("CdkDropList"),Le=function(){var a=function(){function r(t,e,i,n,s,o,l,d,h,g,p){var P=this;(0,m.Z)(this,r),this.element=t,this.dropContainer=e,this._ngZone=n,this._viewContainerRef=s,this._dir=l,this._changeDetectorRef=h,this._selfHandle=g,this._parentDrag=p,this._destroyed=new f.x,this.started=new c.EventEmitter,this.released=new c.EventEmitter,this.ended=new c.EventEmitter,this.entered=new c.EventEmitter,this.exited=new c.EventEmitter,this.dropped=new c.EventEmitter,this.moved=new ae.y(function(w){var S=P._dragRef.moved.pipe((0,Ne.U)(function(x){return{source:P,pointerPosition:x.pointerPosition,event:x.event,delta:x.delta,distance:x.distance}})).subscribe(w);return function(){S.unsubscribe()}}),this._dragRef=d.createDrag(t,{dragStartThreshold:o&&null!=o.dragStartThreshold?o.dragStartThreshold:5,pointerDirectionChangeThreshold:o&&null!=o.pointerDirectionChangeThreshold?o.pointerDirectionChangeThreshold:5,zIndex:o?.zIndex}),this._dragRef.data=this,r._dragInstances.push(this),o&&this._assignDefaults(o),e&&(this._dragRef._withDropContainer(e._dropListRef),e.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}return(0,_.Z)(r,[{key:"disabled",get:function(){return this._disabled||this.dropContainer&&this.dropContainer.disabled},set:function(e){this._disabled=(0,v.coerceBooleanProperty)(e),this._dragRef.disabled=this._disabled}},{key:"getPlaceholderElement",value:function(){return this._dragRef.getPlaceholderElement()}},{key:"getRootElement",value:function(){return this._dragRef.getRootElement()}},{key:"reset",value:function(){this._dragRef.reset()}},{key:"getFreeDragPosition",value:function(){return this._dragRef.getFreeDragPosition()}},{key:"setFreeDragPosition",value:function(e){this._dragRef.setFreeDragPosition(e)}},{key:"ngAfterViewInit",value:function(){var e=this;this._ngZone.runOutsideAngular(function(){e._ngZone.onStable.pipe((0,le.q)(1),(0,Z.R)(e._destroyed)).subscribe(function(){e._updateRootElement(),e._setupHandlesListener(),e.freeDragPosition&&e._dragRef.setFreeDragPosition(e.freeDragPosition)})})}},{key:"ngOnChanges",value:function(e){var i=e.rootElementSelector,n=e.freeDragPosition;i&&!i.firstChange&&this._updateRootElement(),n&&!n.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}},{key:"ngOnDestroy",value:function(){var e=this;this.dropContainer&&this.dropContainer.removeItem(this);var i=r._dragInstances.indexOf(this);i>-1&&r._dragInstances.splice(i,1),this._ngZone.runOutsideAngular(function(){e._destroyed.next(),e._destroyed.complete(),e._dragRef.dispose()})}},{key:"_updateRootElement",value:function(){var n,e=this.element.nativeElement,i=e;this.rootElementSelector&&(i=void 0!==e.closest?e.closest(this.rootElementSelector):null===(n=e.parentElement)||void 0===n?void 0:n.closest(this.rootElementSelector)),this._dragRef.withRootElement(i||e)}},{key:"_getBoundaryElement",value:function(){var e=this.boundaryElement;return e?"string"==typeof e?this.element.nativeElement.closest(e):(0,v.coerceElement)(e):null}},{key:"_syncInputs",value:function(e){var i=this;e.beforeStarted.subscribe(function(){if(!e.isDragging()){var n=i._dir,s=i.dragStartDelay,o=i._placeholderTemplate?{template:i._placeholderTemplate.templateRef,context:i._placeholderTemplate.data,viewContainer:i._viewContainerRef}:null,l=i._previewTemplate?{template:i._previewTemplate.templateRef,context:i._previewTemplate.data,matchSize:i._previewTemplate.matchSize,viewContainer:i._viewContainerRef}:null;e.disabled=i.disabled,e.lockAxis=i.lockAxis,e.dragStartDelay="object"==typeof s&&s?s:(0,v.coerceNumberProperty)(s),e.constrainPosition=i.constrainPosition,e.previewClass=i.previewClass,e.withBoundaryElement(i._getBoundaryElement()).withPlaceholderTemplate(o).withPreviewTemplate(l).withPreviewContainer(i.previewContainer||"global"),n&&e.withDirection(n.value)}}),e.beforeStarted.pipe((0,le.q)(1)).subscribe(function(){if(i._parentDrag)e.withParent(i._parentDrag._dragRef);else for(var n=i.element.nativeElement.parentElement;n;){if(n.classList.contains("cdk-drag")){var s;e.withParent((null===(s=r._dragInstances.find(function(o){return o.element.nativeElement===n}))||void 0===s?void 0:s._dragRef)||null);break}n=n.parentElement}})}},{key:"_handleEvents",value:function(e){var i=this;e.started.subscribe(function(n){i.started.emit({source:i,event:n.event}),i._changeDetectorRef.markForCheck()}),e.released.subscribe(function(n){i.released.emit({source:i,event:n.event})}),e.ended.subscribe(function(n){i.ended.emit({source:i,distance:n.distance,dropPoint:n.dropPoint,event:n.event}),i._changeDetectorRef.markForCheck()}),e.entered.subscribe(function(n){i.entered.emit({container:n.container.data,item:i,currentIndex:n.currentIndex})}),e.exited.subscribe(function(n){i.exited.emit({container:n.container.data,item:i})}),e.dropped.subscribe(function(n){i.dropped.emit({previousIndex:n.previousIndex,currentIndex:n.currentIndex,previousContainer:n.previousContainer.data,container:n.container.data,isPointerOverContainer:n.isPointerOverContainer,item:i,distance:n.distance,dropPoint:n.dropPoint,event:n.event})})}},{key:"_assignDefaults",value:function(e){var i=e.lockAxis,n=e.dragStartDelay,s=e.constrainPosition,o=e.previewClass,l=e.boundaryElement,h=e.rootElementSelector,g=e.previewContainer;this.disabled=e.draggingDisabled??!1,this.dragStartDelay=n||0,i&&(this.lockAxis=i),s&&(this.constrainPosition=s),o&&(this.previewClass=o),l&&(this.boundaryElement=l),h&&(this.rootElementSelector=h),g&&(this.previewContainer=g)}},{key:"_setupHandlesListener",value:function(){var e=this;this._handles.changes.pipe((0,J.O)(this._handles),(0,Ze.b)(function(i){var n=i.filter(function(s){return s._parentDrag===e}).map(function(s){return s.element});e._selfHandle&&e.rootElementSelector&&n.push(e.element),e._dragRef.withHandles(n)}),(0,je.w)(function(i){return Y.T.apply(void 0,(0,I.Z)(i.map(function(n){return n._stateChanges.pipe((0,J.O)(n))})))}),(0,Z.R)(this._destroyed)).subscribe(function(i){var n=e._dragRef,s=i.element.nativeElement;i.disabled?n.disableHandle(s):n.enableHandle(s)})}}]),r}();return a._dragInstances=[],a.\u0275fac=function(t){return new(t||a)(c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(oe,12),c.\u0275\u0275directiveInject(R.DOCUMENT),c.\u0275\u0275directiveInject(c.NgZone),c.\u0275\u0275directiveInject(c.ViewContainerRef),c.\u0275\u0275directiveInject(re,8),c.\u0275\u0275directiveInject(ce.Directionality,8),c.\u0275\u0275directiveInject(U),c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(W,10),c.\u0275\u0275directiveInject(K,12))},a.\u0275dir=c.\u0275\u0275defineDirective({type:a,selectors:[["","cdkDrag",""]],contentQueries:function(t,e,i){var n;1&t&&(c.\u0275\u0275contentQuery(i,ne,5),c.\u0275\u0275contentQuery(i,ie,5),c.\u0275\u0275contentQuery(i,W,5)),2&t&&(c.\u0275\u0275queryRefresh(n=c.\u0275\u0275loadQuery())&&(e._previewTemplate=n.first),c.\u0275\u0275queryRefresh(n=c.\u0275\u0275loadQuery())&&(e._placeholderTemplate=n.first),c.\u0275\u0275queryRefresh(n=c.\u0275\u0275loadQuery())&&(e._handles=n))},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(t,e){2&t&&c.\u0275\u0275classProp("cdk-drag-disabled",e.disabled)("cdk-drag-dragging",e._dragRef.isDragging())},inputs:{data:["cdkDragData","data"],lockAxis:["cdkDragLockAxis","lockAxis"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],boundaryElement:["cdkDragBoundary","boundaryElement"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"],disabled:["cdkDragDisabled","disabled"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],previewContainer:["cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],standalone:!0,features:[c.\u0275\u0275ProvidersFeature([{provide:K,useExisting:a}]),c.\u0275\u0275NgOnChangesFeature]}),a}(),Q=new c.InjectionToken("CdkDropListGroup"),Me=function(){var a=function(){function r(){(0,m.Z)(this,r),this._items=new Set,this._disabled=!1}return(0,_.Z)(r,[{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=(0,v.coerceBooleanProperty)(e)}},{key:"ngOnDestroy",value:function(){this._items.clear()}}]),r}();return a.\u0275fac=function(t){return new(t||a)},a.\u0275dir=c.\u0275\u0275defineDirective({type:a,selectors:[["","cdkDropListGroup",""]],inputs:{disabled:["cdkDropListGroupDisabled","disabled"]},exportAs:["cdkDropListGroup"],standalone:!0,features:[c.\u0275\u0275ProvidersFeature([{provide:Q,useExisting:a}])]}),a}(),Xe=0,Ae=function(){var a=function(){function r(t,e,i,n,s,o,l){var d=this;(0,m.Z)(this,r),this.element=t,this._changeDetectorRef=i,this._scrollDispatcher=n,this._dir=s,this._group=o,this._destroyed=new f.x,this.connectedTo=[],this.id="cdk-drop-list-".concat(Xe++),this.enterPredicate=function(){return!0},this.sortPredicate=function(){return!0},this.dropped=new c.EventEmitter,this.entered=new c.EventEmitter,this.exited=new c.EventEmitter,this.sorted=new c.EventEmitter,this._unsortedItems=new Set,this._dropListRef=e.createDropList(t),this._dropListRef.data=this,l&&this._assignDefaults(l),this._dropListRef.enterPredicate=function(h,g){return d.enterPredicate(h.data,g.data)},this._dropListRef.sortPredicate=function(h,g,p){return d.sortPredicate(h,g.data,p.data)},this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),r._dropLists.push(this),o&&o._items.add(this)}return(0,_.Z)(r,[{key:"disabled",get:function(){return this._disabled||!!this._group&&this._group.disabled},set:function(e){this._dropListRef.disabled=this._disabled=(0,v.coerceBooleanProperty)(e)}},{key:"addItem",value:function(e){this._unsortedItems.add(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()}},{key:"removeItem",value:function(e){this._unsortedItems.delete(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()}},{key:"getSortedItems",value:function(){return Array.from(this._unsortedItems).sort(function(e,i){return e._dragRef.getVisibleElement().compareDocumentPosition(i._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1})}},{key:"ngOnDestroy",value:function(){var e=r._dropLists.indexOf(this);e>-1&&r._dropLists.splice(e,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}},{key:"_setupInputSyncSubscription",value:function(e){var i=this;this._dir&&this._dir.change.pipe((0,J.O)(this._dir.value),(0,Z.R)(this._destroyed)).subscribe(function(n){return e.withDirection(n)}),e.beforeStarted.subscribe(function(){var n=(0,v.coerceArray)(i.connectedTo).map(function(o){return"string"==typeof o?r._dropLists.find(function(d){return d.id===o}):o});if(i._group&&i._group._items.forEach(function(o){-1===n.indexOf(o)&&n.push(o)}),!i._scrollableParentsResolved){var s=i._scrollDispatcher.getAncestorScrollContainers(i.element).map(function(o){return o.getElementRef().nativeElement});i._dropListRef.withScrollableParents(s),i._scrollableParentsResolved=!0}e.disabled=i.disabled,e.lockAxis=i.lockAxis,e.sortingDisabled=(0,v.coerceBooleanProperty)(i.sortingDisabled),e.autoScrollDisabled=(0,v.coerceBooleanProperty)(i.autoScrollDisabled),e.autoScrollStep=(0,v.coerceNumberProperty)(i.autoScrollStep,2),e.connectedTo(n.filter(function(o){return o&&o!==i}).map(function(o){return o._dropListRef})).withOrientation(i.orientation)})}},{key:"_handleEvents",value:function(e){var i=this;e.beforeStarted.subscribe(function(){i._syncItemsWithRef(),i._changeDetectorRef.markForCheck()}),e.entered.subscribe(function(n){i.entered.emit({container:i,item:n.item.data,currentIndex:n.currentIndex})}),e.exited.subscribe(function(n){i.exited.emit({container:i,item:n.item.data}),i._changeDetectorRef.markForCheck()}),e.sorted.subscribe(function(n){i.sorted.emit({previousIndex:n.previousIndex,currentIndex:n.currentIndex,container:i,item:n.item.data})}),e.dropped.subscribe(function(n){i.dropped.emit({previousIndex:n.previousIndex,currentIndex:n.currentIndex,previousContainer:n.previousContainer.data,container:n.container.data,item:n.item.data,isPointerOverContainer:n.isPointerOverContainer,distance:n.distance,dropPoint:n.dropPoint,event:n.event}),i._changeDetectorRef.markForCheck()}),(0,Y.T)(e.receivingStarted,e.receivingStopped).subscribe(function(){return i._changeDetectorRef.markForCheck()})}},{key:"_assignDefaults",value:function(e){var i=e.lockAxis,s=e.sortingDisabled,o=e.listAutoScrollDisabled,l=e.listOrientation;this.disabled=e.draggingDisabled??!1,this.sortingDisabled=s??!1,this.autoScrollDisabled=o??!1,this.orientation=l||"vertical",i&&(this.lockAxis=i)}},{key:"_syncItemsWithRef",value:function(){this._dropListRef.withItems(this.getSortedItems().map(function(e){return e._dragRef}))}}]),r}();return a._dropLists=[],a.\u0275fac=function(t){return new(t||a)(c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(U),c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(C.ScrollDispatcher),c.\u0275\u0275directiveInject(ce.Directionality,8),c.\u0275\u0275directiveInject(Q,12),c.\u0275\u0275directiveInject(re,8))},a.\u0275dir=c.\u0275\u0275defineDirective({type:a,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(t,e){2&t&&(c.\u0275\u0275attribute("id",e.id),c.\u0275\u0275classProp("cdk-drop-list-disabled",e.disabled)("cdk-drop-list-dragging",e._dropListRef.isDragging())("cdk-drop-list-receiving",e._dropListRef.isReceiving()))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],data:["cdkDropListData","data"],orientation:["cdkDropListOrientation","orientation"],id:"id",lockAxis:["cdkDropListLockAxis","lockAxis"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],autoScrollStep:["cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],standalone:!0,features:[c.\u0275\u0275ProvidersFeature([{provide:Q,useValue:void 0},{provide:oe,useExisting:a}])]}),a}(),$e=function(){var a=(0,_.Z)(function r(){(0,m.Z)(this,r)});return a.\u0275fac=function(t){return new(t||a)},a.\u0275mod=c.\u0275\u0275defineNgModule({type:a}),a.\u0275inj=c.\u0275\u0275defineInjector({providers:[U],imports:[C.CdkScrollableModule]}),a}()}}]); +//# sourceMappingURL=8158.797e810298041051.js.map \ No newline at end of file diff --git a/8158.797e810298041051.js.map b/8158.797e810298041051.js.map new file mode 100644 index 0000000..89610bd --- /dev/null +++ b/8158.797e810298041051.js.map @@ -0,0 +1 @@ +{"version":3,"file":"8158.797e810298041051.js","mappings":"uGACaA,EAAQ,aAAIC,GAAW,SAACC,GAAU,OAAKA,EAAWC,UAAU,+FCIlE,SAASC,IAAe,QAAAC,EAAAC,UAAAC,OAANC,EAAI,IAAAC,MAAAJ,GAAAK,EAAA,EAAAA,EAAAL,EAAAK,IAAJF,EAAIE,GAAAJ,UAAAI,GACzB,IAAMC,KAAYC,MAAaJ,GACzBK,KAAaC,MAAUN,EAAMO,KAC7BC,EAAUR,EAChB,OAAQQ,EAAQT,OAGS,IAAnBS,EAAQT,QAAW,EAEbU,MAAUD,EAAQ,KAAE,EAEpBE,KAASL,EAFW,EAED,EAAEM,KAAKH,EAASL,IALvCX,GAMZ,yECdO,SAASoB,EAAKC,GACjB,OAAOA,GAAS,EAER,kBAAMrB,GAAK,KACbsB,KAAQ,SAACC,EAAQrB,GACf,IAAIsB,EAAO,EACXD,EAAOE,aAAUC,KAAyBxB,EAAY,SAACyB,KAC7CH,GAAQH,IACVnB,EAAW0B,KAAKD,GACZN,GAASG,GACTtB,EAAWC,WAGvB,GACJ,EACR,oFCdO,SAAS0B,EAAIC,EAAgBC,EAAO5B,GACvC,IAAM6B,KAAcC,KAAWH,IAAmBC,GAAS5B,EAEnD,CAAEyB,KAAME,EAAgBC,QAAO5B,YACjC2B,EACN,OAAOE,KACDV,KAAQ,SAACC,EAAQrB,GACf,IAAIgC,EAC6B,QAAhCA,EAAKF,EAAYP,iBAA8B,IAAPS,GAAyBA,EAAGC,KAAKH,GAC1E,IAAII,GAAU,EACdb,EAAOE,aAAUC,KAAyBxB,EAAY,SAACyB,GACnD,IAAIO,EACwB,QAA3BA,EAAKF,EAAYJ,YAAyB,IAAPM,GAAyBA,EAAGC,KAAKH,EAAaL,GACl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Ae,KAtOpXkF,EAuOYjG,UAh7BkFhB,8BAAE,CAAA/f,KAg7BJgnB,EAAWhG,UAAA,0CAAAC,UAAA,oBAAAuF,SAAA,EAAAC,aAAA,SAAAN,EAAAC,GAAA,EAAAD,IAh7BTpG,wBAAE,KAAAqG,EAAAgB,IAAFrH,wBAAE,yBAAAqG,EAAAvjB,SAAFkd,CAAE,yBAAAqG,EAAAtD,aAAA7d,aAAF8a,CAAE,0BAAAqG,EAAAtD,aAAA5d,eAAA,EAAAgc,OAAA,CAAA3F,YAAA,yCAAAmG,KAAA,2BAAArM,YAAA,yCAAA+R,GAAA,KAAA/V,SAAA,mCAAAxO,SAAA,mCAAA0K,gBAAA,iDAAA0L,eAAA,+CAAAC,cAAA,6CAAAH,mBAAA,uDAAAC,eAAA,gDAAA0N,QAAA,CAAAlkB,QAAA,qBAAAF,QAAA,qBAAAC,OAAA,oBAAA4W,OAAA,qBAAAwN,SAAA,gBAAAxF,YAAA,EAAAC,SAAA,CAAFrB,+BAg7BqiC,CAE7nC,CAAEsB,QAASuF,EAAqB8B,cAAU1hB,GAC1C,CAAEqa,QAASU,GAAeT,YAAa0F,QA1O7CA,CAAW,IAoUX2B,GAAc,eAAdA,GAAcprB,OAAA,SAAAorB,KAAAxrB,OAAAC,KAAAurB,EAAA,GAAdA,SACY9I,UAAI,SAAAC,GAAA,WAAAA,GAAwF6I,EAAc,EADtHA,EAEYC,UA/gCkF7I,6BAAE,CAAA/f,KA+gCS2oB,IAFzGA,EAaYE,UA1hCkF9I,6BAAE,CAAA+I,UA0hCoC,CAACxI,GAASyI,QAAA,CAAYC,yBAb1JL,CAAc","names":["EMPTY","Observable","subscriber","complete","merge","_len","arguments","length","args","Array","_key","scheduler","popScheduler","concurrent","popNumber","Infinity","sources","innerFrom","mergeAll","from","take","count","operate","source","seen","subscribe","createOperatorSubscriber","value","next","tap","observerOrNext","error","tapObserver","isFunction","_a","call","isUnsub","err","_b","unsubscribe","finalize","identity","extendStyles","dest","importantProperties","key","hasOwnProperty","setProperty","has","removeProperty","toggleNativeDragInteractions","element","enable","userSelect","style","toggleVisibility","position","top","opacity","left","combineTransforms","transform","initialTransform","parseCssTimeUnitsToMs","multiplier","toLowerCase","indexOf","parseFloat","parseCssPropertyValue","computedStyle","name","getPropertyValue","split","map","part","trim","getMutableClientRect","clientRect","getBoundingClientRect","right","bottom","width","height","x","y","isInsideClientRect","adjustClientRect","isPointerNearClientRect","rect","threshold","pointerX","pointerY","xThreshold","yThreshold","ParentPositionTracker","_document","_classCallCheck","this","positions","Map","_createClass","clear","elements","_this","set","scrollPosition","getViewportScrollPosition","forEach","scrollTop","scrollLeft","event","target","_getEventTarget","cachedPosition","get","newTop","newLeft","viewportScrollPosition","topDifference","leftDifference","node","contains","window","scrollY","scrollX","deepCloneNode","clone","cloneNode","descendantsWithId","querySelectorAll","nodeName","removeAttribute","i","transferCanvasData","transferInputData","transferData","selector","callback","descendantElements","cloneElements","cloneUniqueId","type","concat","context","getContext","drawImage","passiveEventListenerOptions","normalizePassiveListenerOptions","passive","activeEventListenerOptions","dragImportantProperties","Set","DragRef","_config","_ngZone","_viewportRuler","_dragDropRegistry","_this2","_passiveTransform","_activeTransform","_hasStartedDragging","_moveEvents","Subject","_pointerMoveSubscription","Subscription","_pointerUpSubscription","_scrollSubscription","_resizeSubscription","_boundaryElement","_nativeInteractionsEnabled","_handles","_disabledHandles","_direction","dragStartDelay","_disabled","beforeStarted","started","released","ended","entered","exited","dropped","moved","_pointerDown","targetHandle","_getTargetHandle","disabled","_initializeDragSequence","_rootElement","_pointerMove","pointerPosition","_getPointerPositionOnPage","preventDefault","constrainedPointerPosition","_getConstrainedPointerPosition","_hasMoved","_lastKnownPointerPosition","_updatePointerDirectionDelta","_dropContainer","_updateActiveDropContainer","offset","constrainPosition","_initialClientRect","_pickupPositionOnPage","activeTransform","_applyRootElementTransform","observers","run","distance","_getDragDistance","delta","_pointerDirectionDelta","Math","abs","dragStartThreshold","isDelayElapsed","Date","now","_dragStartTime","_getDragStartDelay","container","_endDragSequence","isDragging","isReceiving","_startDragSequence","_pointerUp","_nativeDragStart","withRootElement","withParent","parentDragRef","_parentPositions","registerDragItem","newValue","coerceBooleanProperty","_toggleNativeDragInteractions","handle","_placeholder","getPlaceholderElement","getRootElement","handles","_this3","coerceElement","disabledHandles","add","template","_previewTemplate","_placeholderTemplate","rootElement","_this4","_removeRootElementListeners","runOutsideAngular","addEventListener","_initialTransform","undefined","SVGElement","_ownerSVGElement","ownerSVGElement","boundaryElement","_this5","change","_containInsideBoundaryOnResize","parent","_parentDragRef","_this$_anchor","_this$_rootElement","remove","_anchor","_destroyPreview","_destroyPlaceholder","removeDragItem","_removeSubscriptions","delete","direction","_previewContainer","_this$_preview","_this$_previewRef","_preview","_previewRef","destroy","_this$_placeholder","_this$_placeholderRef","_placeholderRef","_this6","stopDragging","webkitTapHighlightColor","_rootElementTapHighlight","_stopScrolling","_animatePreviewToPlaceholder","then","_cleanupDragArtifacts","_cleanupCachedDimensions","dropPoint","isTouchEvent","_lastTouchEventTime","dropContainer","parentNode","placeholder","_createPlaceholderElement","anchor","createComment","shadowRoot","_getShadowRoot","insertBefore","_createPreviewElement","body","appendChild","replaceChild","_getPreviewInsertionPoint","start","_initialContainer","_initialIndex","getItemIndex","cache","getScrollableParents","referenceElement","_this7","stopPropagation","isTouchSequence","isAuxiliaryMouseButton","button","isSyntheticEvent","isFakeEvent","isFakeTouchstartFromScreenReader","isFakeMousedownFromScreenReader","draggable","rootStyles","pointerMove","pointerUp","scrolled","scrollEvent","_updateOnScroll","_boundaryRect","previewTemplate","_pickupPositionInElement","matchSize","_getPointerPositionInElement","_pointerPositionAtLastDirectionChange","startDragging","_this8","_previewRect","currentIndex","isPointerOverContainer","_isOverContainer","item","previousIndex","previousContainer","drop","_ref","_ref2","_this9","rawX","rawY","newContainer","_getSiblingContainerFromPosition","exit","enter","sortingDisabled","_startScrollingIfNecessary","_sortItem","_applyPreviewTransform","preview","previewConfig","previewClass","rootRect","viewRef","viewContainer","createEmbeddedView","detectChanges","getRootNode","matchElementSize","getTransform","margin","zIndex","classList","setAttribute","isArray","className","_this10","Promise","resolve","placeholderRect","duration","getTransformTransitionDurationInMs","getComputedStyle","transitionedProperties","property","find","prop","propertyIndex","rawDurations","rawDelays","handler","_this10$_preview","propertyName","removeEventListener","clearTimeout","timeout","setTimeout","placeholderConfig","placeholderTemplate","pointerEvents","elementRect","handleElement","referenceRect","point","targetTouches","_getViewportScrollPosition","pageX","pageY","touches","changedTouches","svgMatrix","getScreenCTM","svgPoint","createSVGPoint","matrixTransform","inverse","dropContainerLock","lockAxis","_ref3","_this$_pickupPosition","pickupX","pickupY","boundaryRect","_this$_getPreviewRect","_getPreviewRect","minY","maxY","clamp$1","pointerPositionOnPage","positionSinceLastChange","changeX","changeY","pointerDirectionChangeThreshold","shouldEnable","styles","_this$_previewTemplat","currentPosition","pickupPosition","_this$_passiveTransfo","leftOverflow","rightOverflow","topOverflow","bottomOverflow","setFreeDragPosition","touch","mouse","scrollDifference","handleScroll","_this$_parentPosition","_cachedShadowRoot","initialParent","previewContainer","documentRef","fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement","round","min","max","rootNodes","nodeType","ELEMENT_NODE","wrapper","createElement","sourceRect","moveItemInArray","array","fromIndex","toIndex","clamp","to","transferArrayItem","currentArray","targetArray","targetIndex","splice","copyArrayItem","SingleAxisSortStrategy","_element","_itemPositions","orientation","_previousSwap","drag","overlaps","items","withItems","pointerDelta","siblings","newIndex","_getItemIndexFromPointerPosition","isHorizontal","findIndex","currentItem","siblingAtNewPosition","newPosition","itemOffset","_getItemOffsetPx","siblingOffset","_getSiblingOffsetPx","oldOrder","slice","sibling","index","isDraggedItem","elementToOffset","activeDraggables","_activeDraggables","newPositionReference","_shouldEnterAsFirstChild","parentElement","push","_cacheItemPositions","predicate","_sortPredicate","_this11","_this11$_itemPosition","p","reverse","_this12","_ref4","_ref5","_sortFromLastPointerPosition","elementToMeasure","getVisibleElement","sort","a","b","immediateSibling","end","itemPositions","lastItemRect","firstItemRect","_this13","_ref6","floor","SCROLL_PROXIMITY_THRESHOLD","DropListRef","_this14","autoScrollDisabled","autoScrollStep","enterPredicate","sortPredicate","sorted","receivingStarted","receivingStopped","_isDragging","_draggables","_siblings","_activeSiblings","_viewportScrollSubscription","_verticalScrollDirection","_horizontalScrollDirection","_stopScrollTimers","_startScrollInterval","interval","period","timer","asyncScheduler","animationFrameScheduler","pipe","takeUntil","_scrollNode","scrollStep","scrollBy","withScrollableParents","registerDropContainer","_sortStrategy","withSortPredicate","removeDropContainer","_draggingStarted","_notifyReceivingSiblings","_cacheParentPositions","_reset","_this15","previousItems","_withDropContainer","filter","every","connectedTo","_scrollableElements","_toConsumableArray","size","_clientRect","result","_this16","scrollNode","verticalScrollDirection","horizontalScrollDirection","_getElementScrollDire","getElementScrollDirections","computedVertical","getVerticalScrollDirection","computedHorizontal","getHorizontalScrollDirection","scrollHeight","clientHeight","scrollWidth","clientWidth","_getElementScrollDire2","_slicedToArray","_this$_viewportRuler$","getViewportSize","_initialScrollSnap","msScrollSnapType","scrollSnapType","_listenToScrollEvents","_this17","_stopReceiving","reset","_canReceive","elementFromPoint","nativeElement","_this18","activeSiblings","initiator","receiver","_this19","updateOnScroll","_this20","draggedItems","getActiveItemsSnapshot","_startReceiving","activeCapturingEventOptions","capture","DragDropRegistry","_this21","_dropInstances","_dragInstances","_activeDragInstances","_globalListeners","_draggingPredicate","scroll","_preventDefaultWhileDragging","_persistentTouchmoveListener","some","_this22","_this23","startsWith","e","options","config","_clearGlobalListeners","_this24","streams","observer","_this25","instance","_this26","ɵfac","t","i0","DOCUMENT","ɵprov","token","factory","providedIn","DEFAULT_CONFIG","DragDrop","i1","CDK_DRAG_PARENT","InjectionToken","CDK_DRAG_HANDLE","CdkDragHandle","parentDrag","_stateChanges","_parentDrag","ɵdir","selectors","hostAttrs","inputs","standalone","features","provide","useExisting","CDK_DRAG_PLACEHOLDER","CdkDragPlaceholder","templateRef","data","CDK_DRAG_PREVIEW","CdkDragPreview","_matchSize","CDK_DRAG_CONFIG","CDK_DROP_LIST","CdkDrag","_viewContainerRef","_dir","dragDrop","_changeDetectorRef","_selfHandle","_this27","_destroyed","EventEmitter","subscription","_dragRef","movedEvent","createDrag","_assignDefaults","_dropListRef","addItem","_syncInputs","_handleEvents","getFreeDragPosition","_this28","onStable","_updateRootElement","_setupHandlesListener","freeDragPosition","changes","rootSelectorChange","rootElementSelector","positionChange","firstChange","_this29","removeItem","dispose","_element$parentElemen","closest","boundary","ref","_this30","dir","coerceNumberProperty","withBoundaryElement","_getBoundaryElement","withPlaceholderTemplate","withPreviewTemplate","withPreviewContainer","withDirection","_CdkDrag$_dragInstanc","_this31","startEvent","emit","markForCheck","releaseEvent","endEvent","enterEvent","exitEvent","dropEvent","draggingDisabled","_this32","startWith","childHandleElements","withHandles","switchMap","handleInstance","dragRef","disableHandle","enableHandle","i1$1","contentQueries","rf","ctx","dirIndex","_t","first","hostVars","hostBindings","outputs","exportAs","CDK_DROP_LIST_GROUP","CdkDropListGroup","_items","_uniqueIdCounter","CdkDropList","_scrollDispatcher","_group","_this33","id","_unsortedItems","createDropList","_setupInputSyncSubscription","_dropLists","_syncItemsWithRef","compareDocumentPosition","Node","DOCUMENT_POSITION_FOLLOWING","_this34","coerceArray","list","_scrollableParentsResolved","scrollableParents","getAncestorScrollContainers","scrollable","getElementRef","withOrientation","_this35","listAutoScrollDisabled","listOrientation","getSortedItems","useValue","DragDropModule","ɵmod","ɵinj","providers","imports","CdkScrollableModule"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/observable/empty.js","./node_modules/rxjs/dist/esm/internal/observable/merge.js","./node_modules/rxjs/dist/esm/internal/operators/take.js","./node_modules/rxjs/dist/esm/internal/operators/tap.js","./node_modules/@angular/cdk/fesm2022/drag-drop.mjs","./node_modules/rxjs/dist/esm/internal/observable/interval.js"],"sourcesContent":["import { Observable } from '../Observable';\nexport const EMPTY = new Observable((subscriber) => subscriber.complete());\nexport function empty(scheduler) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n return new Observable((subscriber) => scheduler.schedule(() => subscriber.complete()));\n}\n","import { mergeAll } from '../operators/mergeAll';\nimport { innerFrom } from './innerFrom';\nimport { EMPTY } from './empty';\nimport { popNumber, popScheduler } from '../util/args';\nimport { from } from './from';\nexport function merge(...args) {\n const scheduler = popScheduler(args);\n const concurrent = popNumber(args, Infinity);\n const sources = args;\n return !sources.length\n ?\n EMPTY\n : sources.length === 1\n ?\n innerFrom(sources[0])\n :\n mergeAll(concurrent)(from(sources, scheduler));\n}\n","import { EMPTY } from '../observable/empty';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function take(count) {\n return count <= 0\n ?\n () => EMPTY\n : operate((source, subscriber) => {\n let seen = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n if (++seen <= count) {\n subscriber.next(value);\n if (count <= seen) {\n subscriber.complete();\n }\n }\n }));\n });\n}\n","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 ?\n { next: observerOrNext, error, complete }\n : observerOrNext;\n return tapObserver\n ? operate((source, subscriber) => {\n var _a;\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 (_a = tapObserver.next) === null || _a === void 0 ? void 0 : _a.call(tapObserver, value);\n subscriber.next(value);\n }, () => {\n var _a;\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 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 if (isUnsub) {\n (_a = tapObserver.unsubscribe) === null || _a === void 0 ? void 0 : _a.call(tapObserver);\n }\n (_b = tapObserver.finalize) === null || _b === void 0 ? void 0 : _b.call(tapObserver);\n }));\n })\n :\n identity;\n}\n","import * as i0 from '@angular/core';\nimport { Injectable, Inject, InjectionToken, Directive, Optional, SkipSelf, Input, EventEmitter, Self, ContentChildren, ContentChild, Output, NgModule } from '@angular/core';\nimport { DOCUMENT } from '@angular/common';\nimport * as i1 from '@angular/cdk/scrolling';\nimport { CdkScrollableModule } from '@angular/cdk/scrolling';\nimport { _getEventTarget, normalizePassiveListenerOptions, _getShadowRoot } from '@angular/cdk/platform';\nimport { coerceBooleanProperty, coerceElement, coerceNumberProperty, coerceArray } from '@angular/cdk/coercion';\nimport { isFakeTouchstartFromScreenReader, isFakeMousedownFromScreenReader } from '@angular/cdk/a11y';\nimport { Subject, Subscription, interval, animationFrameScheduler, Observable, merge } from 'rxjs';\nimport { takeUntil, map, take, startWith, tap, switchMap } from 'rxjs/operators';\nimport * as i1$1 from '@angular/cdk/bidi';\n\n/**\n * Shallow-extends a stylesheet object with another stylesheet-like object.\n * Note that the keys in `source` have to be dash-cased.\n * @docs-private\n */\nfunction extendStyles(dest, source, importantProperties) {\n for (let key in source) {\n if (source.hasOwnProperty(key)) {\n const value = source[key];\n if (value) {\n dest.setProperty(key, value, importantProperties?.has(key) ? 'important' : '');\n }\n else {\n dest.removeProperty(key);\n }\n }\n }\n return dest;\n}\n/**\n * Toggles whether the native drag interactions should be enabled for an element.\n * @param element Element on which to toggle the drag interactions.\n * @param enable Whether the drag interactions should be enabled.\n * @docs-private\n */\nfunction toggleNativeDragInteractions(element, enable) {\n const userSelect = enable ? '' : 'none';\n extendStyles(element.style, {\n 'touch-action': enable ? '' : 'none',\n '-webkit-user-drag': enable ? '' : 'none',\n '-webkit-tap-highlight-color': enable ? '' : 'transparent',\n 'user-select': userSelect,\n '-ms-user-select': userSelect,\n '-webkit-user-select': userSelect,\n '-moz-user-select': userSelect,\n });\n}\n/**\n * Toggles whether an element is visible while preserving its dimensions.\n * @param element Element whose visibility to toggle\n * @param enable Whether the element should be visible.\n * @param importantProperties Properties to be set as `!important`.\n * @docs-private\n */\nfunction toggleVisibility(element, enable, importantProperties) {\n extendStyles(element.style, {\n position: enable ? '' : 'fixed',\n top: enable ? '' : '0',\n opacity: enable ? '' : '0',\n left: enable ? '' : '-999em',\n }, importantProperties);\n}\n/**\n * Combines a transform string with an optional other transform\n * that exited before the base transform was applied.\n */\nfunction combineTransforms(transform, initialTransform) {\n return initialTransform && initialTransform != 'none'\n ? transform + ' ' + initialTransform\n : transform;\n}\n\n/** Parses a CSS time value to milliseconds. */\nfunction parseCssTimeUnitsToMs(value) {\n // Some browsers will return it in seconds, whereas others will return milliseconds.\n const multiplier = value.toLowerCase().indexOf('ms') > -1 ? 1 : 1000;\n return parseFloat(value) * multiplier;\n}\n/** Gets the transform transition duration, including the delay, of an element in milliseconds. */\nfunction getTransformTransitionDurationInMs(element) {\n const computedStyle = getComputedStyle(element);\n const transitionedProperties = parseCssPropertyValue(computedStyle, 'transition-property');\n const property = transitionedProperties.find(prop => prop === 'transform' || prop === 'all');\n // If there's no transition for `all` or `transform`, we shouldn't do anything.\n if (!property) {\n return 0;\n }\n // Get the index of the property that we're interested in and match\n // it up to the same index in `transition-delay` and `transition-duration`.\n const propertyIndex = transitionedProperties.indexOf(property);\n const rawDurations = parseCssPropertyValue(computedStyle, 'transition-duration');\n const rawDelays = parseCssPropertyValue(computedStyle, 'transition-delay');\n return (parseCssTimeUnitsToMs(rawDurations[propertyIndex]) +\n parseCssTimeUnitsToMs(rawDelays[propertyIndex]));\n}\n/** Parses out multiple values from a computed style into an array. */\nfunction parseCssPropertyValue(computedStyle, name) {\n const value = computedStyle.getPropertyValue(name);\n return value.split(',').map(part => part.trim());\n}\n\n/** Gets a mutable version of an element's bounding `ClientRect`. */\nfunction getMutableClientRect(element) {\n const clientRect = element.getBoundingClientRect();\n // We need to clone the `clientRect` here, because all the values on it are readonly\n // and we need to be able to update them. Also we can't use a spread here, because\n // the values on a `ClientRect` aren't own properties. See:\n // https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect#Notes\n return {\n top: clientRect.top,\n right: clientRect.right,\n bottom: clientRect.bottom,\n left: clientRect.left,\n width: clientRect.width,\n height: clientRect.height,\n x: clientRect.x,\n y: clientRect.y,\n };\n}\n/**\n * Checks whether some coordinates are within a `ClientRect`.\n * @param clientRect ClientRect that is being checked.\n * @param x Coordinates along the X axis.\n * @param y Coordinates along the Y axis.\n */\nfunction isInsideClientRect(clientRect, x, y) {\n const { top, bottom, left, right } = clientRect;\n return y >= top && y <= bottom && x >= left && x <= right;\n}\n/**\n * Updates the top/left positions of a `ClientRect`, as well as their bottom/right counterparts.\n * @param clientRect `ClientRect` that should be updated.\n * @param top Amount to add to the `top` position.\n * @param left Amount to add to the `left` position.\n */\nfunction adjustClientRect(clientRect, top, left) {\n clientRect.top += top;\n clientRect.bottom = clientRect.top + clientRect.height;\n clientRect.left += left;\n clientRect.right = clientRect.left + clientRect.width;\n}\n/**\n * Checks whether the pointer coordinates are close to a ClientRect.\n * @param rect ClientRect to check against.\n * @param threshold Threshold around the ClientRect.\n * @param pointerX Coordinates along the X axis.\n * @param pointerY Coordinates along the Y axis.\n */\nfunction isPointerNearClientRect(rect, threshold, pointerX, pointerY) {\n const { top, right, bottom, left, width, height } = rect;\n const xThreshold = width * threshold;\n const yThreshold = height * threshold;\n return (pointerY > top - yThreshold &&\n pointerY < bottom + yThreshold &&\n pointerX > left - xThreshold &&\n pointerX < right + xThreshold);\n}\n\n/** Keeps track of the scroll position and dimensions of the parents of an element. */\nclass ParentPositionTracker {\n constructor(_document) {\n this._document = _document;\n /** Cached positions of the scrollable parent elements. */\n this.positions = new Map();\n }\n /** Clears the cached positions. */\n clear() {\n this.positions.clear();\n }\n /** Caches the positions. Should be called at the beginning of a drag sequence. */\n cache(elements) {\n this.clear();\n this.positions.set(this._document, {\n scrollPosition: this.getViewportScrollPosition(),\n });\n elements.forEach(element => {\n this.positions.set(element, {\n scrollPosition: { top: element.scrollTop, left: element.scrollLeft },\n clientRect: getMutableClientRect(element),\n });\n });\n }\n /** Handles scrolling while a drag is taking place. */\n handleScroll(event) {\n const target = _getEventTarget(event);\n const cachedPosition = this.positions.get(target);\n if (!cachedPosition) {\n return null;\n }\n const scrollPosition = cachedPosition.scrollPosition;\n let newTop;\n let newLeft;\n if (target === this._document) {\n const viewportScrollPosition = this.getViewportScrollPosition();\n newTop = viewportScrollPosition.top;\n newLeft = viewportScrollPosition.left;\n }\n else {\n newTop = target.scrollTop;\n newLeft = target.scrollLeft;\n }\n const topDifference = scrollPosition.top - newTop;\n const leftDifference = scrollPosition.left - newLeft;\n // Go through and update the cached positions of the scroll\n // parents that are inside the element that was scrolled.\n this.positions.forEach((position, node) => {\n if (position.clientRect && target !== node && target.contains(node)) {\n adjustClientRect(position.clientRect, topDifference, leftDifference);\n }\n });\n scrollPosition.top = newTop;\n scrollPosition.left = newLeft;\n return { top: topDifference, left: leftDifference };\n }\n /**\n * Gets the scroll position of the viewport. Note that we use the scrollX and scrollY directly,\n * instead of going through the `ViewportRuler`, because the first value the ruler looks at is\n * the top/left offset of the `document.documentElement` which works for most cases, but breaks\n * if the element is offset by something like the `BlockScrollStrategy`.\n */\n getViewportScrollPosition() {\n return { top: window.scrollY, left: window.scrollX };\n }\n}\n\n/** Creates a deep clone of an element. */\nfunction deepCloneNode(node) {\n const clone = node.cloneNode(true);\n const descendantsWithId = clone.querySelectorAll('[id]');\n const nodeName = node.nodeName.toLowerCase();\n // Remove the `id` to avoid having multiple elements with the same id on the page.\n clone.removeAttribute('id');\n for (let i = 0; i < descendantsWithId.length; i++) {\n descendantsWithId[i].removeAttribute('id');\n }\n if (nodeName === 'canvas') {\n transferCanvasData(node, clone);\n }\n else if (nodeName === 'input' || nodeName === 'select' || nodeName === 'textarea') {\n transferInputData(node, clone);\n }\n transferData('canvas', node, clone, transferCanvasData);\n transferData('input, textarea, select', node, clone, transferInputData);\n return clone;\n}\n/** Matches elements between an element and its clone and allows for their data to be cloned. */\nfunction transferData(selector, node, clone, callback) {\n const descendantElements = node.querySelectorAll(selector);\n if (descendantElements.length) {\n const cloneElements = clone.querySelectorAll(selector);\n for (let i = 0; i < descendantElements.length; i++) {\n callback(descendantElements[i], cloneElements[i]);\n }\n }\n}\n// Counter for unique cloned radio button names.\nlet cloneUniqueId = 0;\n/** Transfers the data of one input element to another. */\nfunction transferInputData(source, clone) {\n // Browsers throw an error when assigning the value of a file input programmatically.\n if (clone.type !== 'file') {\n clone.value = source.value;\n }\n // Radio button `name` attributes must be unique for radio button groups\n // otherwise original radio buttons can lose their checked state\n // once the clone is inserted in the DOM.\n if (clone.type === 'radio' && clone.name) {\n clone.name = `mat-clone-${clone.name}-${cloneUniqueId++}`;\n }\n}\n/** Transfers the data of one canvas element to another. */\nfunction transferCanvasData(source, clone) {\n const context = clone.getContext('2d');\n if (context) {\n // In some cases `drawImage` can throw (e.g. if the canvas size is 0x0).\n // We can't do much about it so just ignore the error.\n try {\n context.drawImage(source, 0, 0);\n }\n catch { }\n }\n}\n\n/** Options that can be used to bind a passive event listener. */\nconst passiveEventListenerOptions = normalizePassiveListenerOptions({ passive: true });\n/** Options that can be used to bind an active event listener. */\nconst activeEventListenerOptions = normalizePassiveListenerOptions({ passive: false });\n/**\n * Time in milliseconds for which to ignore mouse events, after\n * receiving a touch event. Used to avoid doing double work for\n * touch devices where the browser fires fake mouse events, in\n * addition to touch events.\n */\nconst MOUSE_EVENT_IGNORE_TIME = 800;\n/** Inline styles to be set as `!important` while dragging. */\nconst dragImportantProperties = new Set([\n // Needs to be important, because some `mat-table` sets `position: sticky !important`. See #22781.\n 'position',\n]);\n/**\n * Reference to a draggable item. Used to manipulate or dispose of the item.\n */\nclass DragRef {\n /** Whether starting to drag this element is disabled. */\n get disabled() {\n return this._disabled || !!(this._dropContainer && this._dropContainer.disabled);\n }\n set disabled(value) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this._disabled) {\n this._disabled = newValue;\n this._toggleNativeDragInteractions();\n this._handles.forEach(handle => toggleNativeDragInteractions(handle, newValue));\n }\n }\n constructor(element, _config, _document, _ngZone, _viewportRuler, _dragDropRegistry) {\n this._config = _config;\n this._document = _document;\n this._ngZone = _ngZone;\n this._viewportRuler = _viewportRuler;\n this._dragDropRegistry = _dragDropRegistry;\n /**\n * CSS `transform` applied to the element when it isn't being dragged. We need a\n * passive transform in order for the dragged element to retain its new position\n * after the user has stopped dragging and because we need to know the relative\n * position in case they start dragging again. This corresponds to `element.style.transform`.\n */\n this._passiveTransform = { x: 0, y: 0 };\n /** CSS `transform` that is applied to the element while it's being dragged. */\n this._activeTransform = { x: 0, y: 0 };\n /**\n * Whether the dragging sequence has been started. Doesn't\n * necessarily mean that the element has been moved.\n */\n this._hasStartedDragging = false;\n /** Emits when the item is being moved. */\n this._moveEvents = new Subject();\n /** Subscription to pointer movement events. */\n this._pointerMoveSubscription = Subscription.EMPTY;\n /** Subscription to the event that is dispatched when the user lifts their pointer. */\n this._pointerUpSubscription = Subscription.EMPTY;\n /** Subscription to the viewport being scrolled. */\n this._scrollSubscription = Subscription.EMPTY;\n /** Subscription to the viewport being resized. */\n this._resizeSubscription = Subscription.EMPTY;\n /** Cached reference to the boundary element. */\n this._boundaryElement = null;\n /** Whether the native dragging interactions have been enabled on the root element. */\n this._nativeInteractionsEnabled = true;\n /** Elements that can be used to drag the draggable item. */\n this._handles = [];\n /** Registered handles that are currently disabled. */\n this._disabledHandles = new Set();\n /** Layout direction of the item. */\n this._direction = 'ltr';\n /**\n * Amount of milliseconds to wait after the user has put their\n * pointer down before starting to drag the element.\n */\n this.dragStartDelay = 0;\n this._disabled = false;\n /** Emits as the drag sequence is being prepared. */\n this.beforeStarted = new Subject();\n /** Emits when the user starts dragging the item. */\n this.started = new Subject();\n /** Emits when the user has released a drag item, before any animations have started. */\n this.released = new Subject();\n /** Emits when the user stops dragging an item in the container. */\n this.ended = new Subject();\n /** Emits when the user has moved the item into a new container. */\n this.entered = new Subject();\n /** Emits when the user removes the item its container by dragging it into another container. */\n this.exited = new Subject();\n /** Emits when the user drops the item inside a container. */\n this.dropped = new Subject();\n /**\n * Emits as the user is dragging the item. Use with caution,\n * because this event will fire for every pixel that the user has dragged.\n */\n this.moved = this._moveEvents;\n /** Handler for the `mousedown`/`touchstart` events. */\n this._pointerDown = (event) => {\n this.beforeStarted.next();\n // Delegate the event based on whether it started from a handle or the element itself.\n if (this._handles.length) {\n const targetHandle = this._getTargetHandle(event);\n if (targetHandle && !this._disabledHandles.has(targetHandle) && !this.disabled) {\n this._initializeDragSequence(targetHandle, event);\n }\n }\n else if (!this.disabled) {\n this._initializeDragSequence(this._rootElement, event);\n }\n };\n /** Handler that is invoked when the user moves their pointer after they've initiated a drag. */\n this._pointerMove = (event) => {\n const pointerPosition = this._getPointerPositionOnPage(event);\n if (!this._hasStartedDragging) {\n const distanceX = Math.abs(pointerPosition.x - this._pickupPositionOnPage.x);\n const distanceY = Math.abs(pointerPosition.y - this._pickupPositionOnPage.y);\n const isOverThreshold = distanceX + distanceY >= this._config.dragStartThreshold;\n // Only start dragging after the user has moved more than the minimum distance in either\n // direction. Note that this is preferable over doing something like `skip(minimumDistance)`\n // in the `pointerMove` subscription, because we're not guaranteed to have one move event\n // per pixel of movement (e.g. if the user moves their pointer quickly).\n if (isOverThreshold) {\n const isDelayElapsed = Date.now() >= this._dragStartTime + this._getDragStartDelay(event);\n const container = this._dropContainer;\n if (!isDelayElapsed) {\n this._endDragSequence(event);\n return;\n }\n // Prevent other drag sequences from starting while something in the container is still\n // being dragged. This can happen while we're waiting for the drop animation to finish\n // and can cause errors, because some elements might still be moving around.\n if (!container || (!container.isDragging() && !container.isReceiving())) {\n // Prevent the default action as soon as the dragging sequence is considered as\n // \"started\" since waiting for the next event can allow the device to begin scrolling.\n event.preventDefault();\n this._hasStartedDragging = true;\n this._ngZone.run(() => this._startDragSequence(event));\n }\n }\n return;\n }\n // We prevent the default action down here so that we know that dragging has started. This is\n // important for touch devices where doing this too early can unnecessarily block scrolling,\n // if there's a dragging delay.\n event.preventDefault();\n const constrainedPointerPosition = this._getConstrainedPointerPosition(pointerPosition);\n this._hasMoved = true;\n this._lastKnownPointerPosition = pointerPosition;\n this._updatePointerDirectionDelta(constrainedPointerPosition);\n if (this._dropContainer) {\n this._updateActiveDropContainer(constrainedPointerPosition, pointerPosition);\n }\n else {\n // If there's a position constraint function, we want the element's top/left to be at the\n // specific position on the page. Use the initial position as a reference if that's the case.\n const offset = this.constrainPosition ? this._initialClientRect : this._pickupPositionOnPage;\n const activeTransform = this._activeTransform;\n activeTransform.x = constrainedPointerPosition.x - offset.x + this._passiveTransform.x;\n activeTransform.y = constrainedPointerPosition.y - offset.y + this._passiveTransform.y;\n this._applyRootElementTransform(activeTransform.x, activeTransform.y);\n }\n // Since this event gets fired for every pixel while dragging, we only\n // want to fire it if the consumer opted into it. Also we have to\n // re-enter the zone because we run all of the events on the outside.\n if (this._moveEvents.observers.length) {\n this._ngZone.run(() => {\n this._moveEvents.next({\n source: this,\n pointerPosition: constrainedPointerPosition,\n event,\n distance: this._getDragDistance(constrainedPointerPosition),\n delta: this._pointerDirectionDelta,\n });\n });\n }\n };\n /** Handler that is invoked when the user lifts their pointer up, after initiating a drag. */\n this._pointerUp = (event) => {\n this._endDragSequence(event);\n };\n /** Handles a native `dragstart` event. */\n this._nativeDragStart = (event) => {\n if (this._handles.length) {\n const targetHandle = this._getTargetHandle(event);\n if (targetHandle && !this._disabledHandles.has(targetHandle) && !this.disabled) {\n event.preventDefault();\n }\n }\n else if (!this.disabled) {\n // Usually this isn't necessary since the we prevent the default action in `pointerDown`,\n // but some cases like dragging of links can slip through (see #24403).\n event.preventDefault();\n }\n };\n this.withRootElement(element).withParent(_config.parentDragRef || null);\n this._parentPositions = new ParentPositionTracker(_document);\n _dragDropRegistry.registerDragItem(this);\n }\n /**\n * Returns the element that is being used as a placeholder\n * while the current element is being dragged.\n */\n getPlaceholderElement() {\n return this._placeholder;\n }\n /** Returns the root draggable element. */\n getRootElement() {\n return this._rootElement;\n }\n /**\n * Gets the currently-visible element that represents the drag item.\n * While dragging this is the placeholder, otherwise it's the root element.\n */\n getVisibleElement() {\n return this.isDragging() ? this.getPlaceholderElement() : this.getRootElement();\n }\n /** Registers the handles that can be used to drag the element. */\n withHandles(handles) {\n this._handles = handles.map(handle => coerceElement(handle));\n this._handles.forEach(handle => toggleNativeDragInteractions(handle, this.disabled));\n this._toggleNativeDragInteractions();\n // Delete any lingering disabled handles that may have been destroyed. Note that we re-create\n // the set, rather than iterate over it and filter out the destroyed handles, because while\n // the ES spec allows for sets to be modified while they're being iterated over, some polyfills\n // use an array internally which may throw an error.\n const disabledHandles = new Set();\n this._disabledHandles.forEach(handle => {\n if (this._handles.indexOf(handle) > -1) {\n disabledHandles.add(handle);\n }\n });\n this._disabledHandles = disabledHandles;\n return this;\n }\n /**\n * Registers the template that should be used for the drag preview.\n * @param template Template that from which to stamp out the preview.\n */\n withPreviewTemplate(template) {\n this._previewTemplate = template;\n return this;\n }\n /**\n * Registers the template that should be used for the drag placeholder.\n * @param template Template that from which to stamp out the placeholder.\n */\n withPlaceholderTemplate(template) {\n this._placeholderTemplate = template;\n return this;\n }\n /**\n * Sets an alternate drag root element. The root element is the element that will be moved as\n * the user is dragging. Passing an alternate root element is useful when trying to enable\n * dragging on an element that you might not have access to.\n */\n withRootElement(rootElement) {\n const element = coerceElement(rootElement);\n if (element !== this._rootElement) {\n if (this._rootElement) {\n this._removeRootElementListeners(this._rootElement);\n }\n this._ngZone.runOutsideAngular(() => {\n element.addEventListener('mousedown', this._pointerDown, activeEventListenerOptions);\n element.addEventListener('touchstart', this._pointerDown, passiveEventListenerOptions);\n element.addEventListener('dragstart', this._nativeDragStart, activeEventListenerOptions);\n });\n this._initialTransform = undefined;\n this._rootElement = element;\n }\n if (typeof SVGElement !== 'undefined' && this._rootElement instanceof SVGElement) {\n this._ownerSVGElement = this._rootElement.ownerSVGElement;\n }\n return this;\n }\n /**\n * Element to which the draggable's position will be constrained.\n */\n withBoundaryElement(boundaryElement) {\n this._boundaryElement = boundaryElement ? coerceElement(boundaryElement) : null;\n this._resizeSubscription.unsubscribe();\n if (boundaryElement) {\n this._resizeSubscription = this._viewportRuler\n .change(10)\n .subscribe(() => this._containInsideBoundaryOnResize());\n }\n return this;\n }\n /** Sets the parent ref that the ref is nested in. */\n withParent(parent) {\n this._parentDragRef = parent;\n return this;\n }\n /** Removes the dragging functionality from the DOM element. */\n dispose() {\n this._removeRootElementListeners(this._rootElement);\n // Do this check before removing from the registry since it'll\n // stop being considered as dragged once it is removed.\n if (this.isDragging()) {\n // Since we move out the element to the end of the body while it's being\n // dragged, we have to make sure that it's removed if it gets destroyed.\n this._rootElement?.remove();\n }\n this._anchor?.remove();\n this._destroyPreview();\n this._destroyPlaceholder();\n this._dragDropRegistry.removeDragItem(this);\n this._removeSubscriptions();\n this.beforeStarted.complete();\n this.started.complete();\n this.released.complete();\n this.ended.complete();\n this.entered.complete();\n this.exited.complete();\n this.dropped.complete();\n this._moveEvents.complete();\n this._handles = [];\n this._disabledHandles.clear();\n this._dropContainer = undefined;\n this._resizeSubscription.unsubscribe();\n this._parentPositions.clear();\n this._boundaryElement =\n this._rootElement =\n this._ownerSVGElement =\n this._placeholderTemplate =\n this._previewTemplate =\n this._anchor =\n this._parentDragRef =\n null;\n }\n /** Checks whether the element is currently being dragged. */\n isDragging() {\n return this._hasStartedDragging && this._dragDropRegistry.isDragging(this);\n }\n /** Resets a standalone drag item to its initial position. */\n reset() {\n this._rootElement.style.transform = this._initialTransform || '';\n this._activeTransform = { x: 0, y: 0 };\n this._passiveTransform = { x: 0, y: 0 };\n }\n /**\n * Sets a handle as disabled. While a handle is disabled, it'll capture and interrupt dragging.\n * @param handle Handle element that should be disabled.\n */\n disableHandle(handle) {\n if (!this._disabledHandles.has(handle) && this._handles.indexOf(handle) > -1) {\n this._disabledHandles.add(handle);\n toggleNativeDragInteractions(handle, true);\n }\n }\n /**\n * Enables a handle, if it has been disabled.\n * @param handle Handle element to be enabled.\n */\n enableHandle(handle) {\n if (this._disabledHandles.has(handle)) {\n this._disabledHandles.delete(handle);\n toggleNativeDragInteractions(handle, this.disabled);\n }\n }\n /** Sets the layout direction of the draggable item. */\n withDirection(direction) {\n this._direction = direction;\n return this;\n }\n /** Sets the container that the item is part of. */\n _withDropContainer(container) {\n this._dropContainer = container;\n }\n /**\n * Gets the current position in pixels the draggable outside of a drop container.\n */\n getFreeDragPosition() {\n const position = this.isDragging() ? this._activeTransform : this._passiveTransform;\n return { x: position.x, y: position.y };\n }\n /**\n * Sets the current position in pixels the draggable outside of a drop container.\n * @param value New position to be set.\n */\n setFreeDragPosition(value) {\n this._activeTransform = { x: 0, y: 0 };\n this._passiveTransform.x = value.x;\n this._passiveTransform.y = value.y;\n if (!this._dropContainer) {\n this._applyRootElementTransform(value.x, value.y);\n }\n return this;\n }\n /**\n * Sets the container into which to insert the preview element.\n * @param value Container into which to insert the preview.\n */\n withPreviewContainer(value) {\n this._previewContainer = value;\n return this;\n }\n /** Updates the item's sort order based on the last-known pointer position. */\n _sortFromLastPointerPosition() {\n const position = this._lastKnownPointerPosition;\n if (position && this._dropContainer) {\n this._updateActiveDropContainer(this._getConstrainedPointerPosition(position), position);\n }\n }\n /** Unsubscribes from the global subscriptions. */\n _removeSubscriptions() {\n this._pointerMoveSubscription.unsubscribe();\n this._pointerUpSubscription.unsubscribe();\n this._scrollSubscription.unsubscribe();\n }\n /** Destroys the preview element and its ViewRef. */\n _destroyPreview() {\n this._preview?.remove();\n this._previewRef?.destroy();\n this._preview = this._previewRef = null;\n }\n /** Destroys the placeholder element and its ViewRef. */\n _destroyPlaceholder() {\n this._placeholder?.remove();\n this._placeholderRef?.destroy();\n this._placeholder = this._placeholderRef = null;\n }\n /**\n * Clears subscriptions and stops the dragging sequence.\n * @param event Browser event object that ended the sequence.\n */\n _endDragSequence(event) {\n // Note that here we use `isDragging` from the service, rather than from `this`.\n // The difference is that the one from the service reflects whether a dragging sequence\n // has been initiated, whereas the one on `this` includes whether the user has passed\n // the minimum dragging threshold.\n if (!this._dragDropRegistry.isDragging(this)) {\n return;\n }\n this._removeSubscriptions();\n this._dragDropRegistry.stopDragging(this);\n this._toggleNativeDragInteractions();\n if (this._handles) {\n this._rootElement.style.webkitTapHighlightColor =\n this._rootElementTapHighlight;\n }\n if (!this._hasStartedDragging) {\n return;\n }\n this.released.next({ source: this, event });\n if (this._dropContainer) {\n // Stop scrolling immediately, instead of waiting for the animation to finish.\n this._dropContainer._stopScrolling();\n this._animatePreviewToPlaceholder().then(() => {\n this._cleanupDragArtifacts(event);\n this._cleanupCachedDimensions();\n this._dragDropRegistry.stopDragging(this);\n });\n }\n else {\n // Convert the active transform into a passive one. This means that next time\n // the user starts dragging the item, its position will be calculated relatively\n // to the new passive transform.\n this._passiveTransform.x = this._activeTransform.x;\n const pointerPosition = this._getPointerPositionOnPage(event);\n this._passiveTransform.y = this._activeTransform.y;\n this._ngZone.run(() => {\n this.ended.next({\n source: this,\n distance: this._getDragDistance(pointerPosition),\n dropPoint: pointerPosition,\n event,\n });\n });\n this._cleanupCachedDimensions();\n this._dragDropRegistry.stopDragging(this);\n }\n }\n /** Starts the dragging sequence. */\n _startDragSequence(event) {\n if (isTouchEvent(event)) {\n this._lastTouchEventTime = Date.now();\n }\n this._toggleNativeDragInteractions();\n const dropContainer = this._dropContainer;\n if (dropContainer) {\n const element = this._rootElement;\n const parent = element.parentNode;\n const placeholder = (this._placeholder = this._createPlaceholderElement());\n const anchor = (this._anchor = this._anchor || this._document.createComment(''));\n // Needs to happen before the root element is moved.\n const shadowRoot = this._getShadowRoot();\n // Insert an anchor node so that we can restore the element's position in the DOM.\n parent.insertBefore(anchor, element);\n // There's no risk of transforms stacking when inside a drop container so\n // we can keep the initial transform up to date any time dragging starts.\n this._initialTransform = element.style.transform || '';\n // Create the preview after the initial transform has\n // been cached, because it can be affected by the transform.\n this._preview = this._createPreviewElement();\n // We move the element out at the end of the body and we make it hidden, because keeping it in\n // place will throw off the consumer's `:last-child` selectors. We can't remove the element\n // from the DOM completely, because iOS will stop firing all subsequent events in the chain.\n toggleVisibility(element, false, dragImportantProperties);\n this._document.body.appendChild(parent.replaceChild(placeholder, element));\n this._getPreviewInsertionPoint(parent, shadowRoot).appendChild(this._preview);\n this.started.next({ source: this, event }); // Emit before notifying the container.\n dropContainer.start();\n this._initialContainer = dropContainer;\n this._initialIndex = dropContainer.getItemIndex(this);\n }\n else {\n this.started.next({ source: this, event });\n this._initialContainer = this._initialIndex = undefined;\n }\n // Important to run after we've called `start` on the parent container\n // so that it has had time to resolve its scrollable parents.\n this._parentPositions.cache(dropContainer ? dropContainer.getScrollableParents() : []);\n }\n /**\n * Sets up the different variables and subscriptions\n * that will be necessary for the dragging sequence.\n * @param referenceElement Element that started the drag sequence.\n * @param event Browser event object that started the sequence.\n */\n _initializeDragSequence(referenceElement, event) {\n // Stop propagation if the item is inside another\n // draggable so we don't start multiple drag sequences.\n if (this._parentDragRef) {\n event.stopPropagation();\n }\n const isDragging = this.isDragging();\n const isTouchSequence = isTouchEvent(event);\n const isAuxiliaryMouseButton = !isTouchSequence && event.button !== 0;\n const rootElement = this._rootElement;\n const target = _getEventTarget(event);\n const isSyntheticEvent = !isTouchSequence &&\n this._lastTouchEventTime &&\n this._lastTouchEventTime + MOUSE_EVENT_IGNORE_TIME > Date.now();\n const isFakeEvent = isTouchSequence\n ? isFakeTouchstartFromScreenReader(event)\n : isFakeMousedownFromScreenReader(event);\n // If the event started from an element with the native HTML drag&drop, it'll interfere\n // with our own dragging (e.g. `img` tags do it by default). Prevent the default action\n // to stop it from happening. Note that preventing on `dragstart` also seems to work, but\n // it's flaky and it fails if the user drags it away quickly. Also note that we only want\n // to do this for `mousedown` since doing the same for `touchstart` will stop any `click`\n // events from firing on touch devices.\n if (target && target.draggable && event.type === 'mousedown') {\n event.preventDefault();\n }\n // Abort if the user is already dragging or is using a mouse button other than the primary one.\n if (isDragging || isAuxiliaryMouseButton || isSyntheticEvent || isFakeEvent) {\n return;\n }\n // If we've got handles, we need to disable the tap highlight on the entire root element,\n // otherwise iOS will still add it, even though all the drag interactions on the handle\n // are disabled.\n if (this._handles.length) {\n const rootStyles = rootElement.style;\n this._rootElementTapHighlight = rootStyles.webkitTapHighlightColor || '';\n rootStyles.webkitTapHighlightColor = 'transparent';\n }\n this._hasStartedDragging = this._hasMoved = false;\n // Avoid multiple subscriptions and memory leaks when multi touch\n // (isDragging check above isn't enough because of possible temporal and/or dimensional delays)\n this._removeSubscriptions();\n this._initialClientRect = this._rootElement.getBoundingClientRect();\n this._pointerMoveSubscription = this._dragDropRegistry.pointerMove.subscribe(this._pointerMove);\n this._pointerUpSubscription = this._dragDropRegistry.pointerUp.subscribe(this._pointerUp);\n this._scrollSubscription = this._dragDropRegistry\n .scrolled(this._getShadowRoot())\n .subscribe(scrollEvent => this._updateOnScroll(scrollEvent));\n if (this._boundaryElement) {\n this._boundaryRect = getMutableClientRect(this._boundaryElement);\n }\n // If we have a custom preview we can't know ahead of time how large it'll be so we position\n // it next to the cursor. The exception is when the consumer has opted into making the preview\n // the same size as the root element, in which case we do know the size.\n const previewTemplate = this._previewTemplate;\n this._pickupPositionInElement =\n previewTemplate && previewTemplate.template && !previewTemplate.matchSize\n ? { x: 0, y: 0 }\n : this._getPointerPositionInElement(this._initialClientRect, referenceElement, event);\n const pointerPosition = (this._pickupPositionOnPage =\n this._lastKnownPointerPosition =\n this._getPointerPositionOnPage(event));\n this._pointerDirectionDelta = { x: 0, y: 0 };\n this._pointerPositionAtLastDirectionChange = { x: pointerPosition.x, y: pointerPosition.y };\n this._dragStartTime = Date.now();\n this._dragDropRegistry.startDragging(this, event);\n }\n /** Cleans up the DOM artifacts that were added to facilitate the element being dragged. */\n _cleanupDragArtifacts(event) {\n // Restore the element's visibility and insert it at its old position in the DOM.\n // It's important that we maintain the position, because moving the element around in the DOM\n // can throw off `NgFor` which does smart diffing and re-creates elements only when necessary,\n // while moving the existing elements in all other cases.\n toggleVisibility(this._rootElement, true, dragImportantProperties);\n this._anchor.parentNode.replaceChild(this._rootElement, this._anchor);\n this._destroyPreview();\n this._destroyPlaceholder();\n this._initialClientRect =\n this._boundaryRect =\n this._previewRect =\n this._initialTransform =\n undefined;\n // Re-enter the NgZone since we bound `document` events on the outside.\n this._ngZone.run(() => {\n const container = this._dropContainer;\n const currentIndex = container.getItemIndex(this);\n const pointerPosition = this._getPointerPositionOnPage(event);\n const distance = this._getDragDistance(pointerPosition);\n const isPointerOverContainer = container._isOverContainer(pointerPosition.x, pointerPosition.y);\n this.ended.next({ source: this, distance, dropPoint: pointerPosition, event });\n this.dropped.next({\n item: this,\n currentIndex,\n previousIndex: this._initialIndex,\n container: container,\n previousContainer: this._initialContainer,\n isPointerOverContainer,\n distance,\n dropPoint: pointerPosition,\n event,\n });\n container.drop(this, currentIndex, this._initialIndex, this._initialContainer, isPointerOverContainer, distance, pointerPosition, event);\n this._dropContainer = this._initialContainer;\n });\n }\n /**\n * Updates the item's position in its drop container, or moves it\n * into a new one, depending on its current drag position.\n */\n _updateActiveDropContainer({ x, y }, { x: rawX, y: rawY }) {\n // Drop container that draggable has been moved into.\n let newContainer = this._initialContainer._getSiblingContainerFromPosition(this, x, y);\n // If we couldn't find a new container to move the item into, and the item has left its\n // initial container, check whether the it's over the initial container. This handles the\n // case where two containers are connected one way and the user tries to undo dragging an\n // item into a new container.\n if (!newContainer &&\n this._dropContainer !== this._initialContainer &&\n this._initialContainer._isOverContainer(x, y)) {\n newContainer = this._initialContainer;\n }\n if (newContainer && newContainer !== this._dropContainer) {\n this._ngZone.run(() => {\n // Notify the old container that the item has left.\n this.exited.next({ item: this, container: this._dropContainer });\n this._dropContainer.exit(this);\n // Notify the new container that the item has entered.\n this._dropContainer = newContainer;\n this._dropContainer.enter(this, x, y, newContainer === this._initialContainer &&\n // If we're re-entering the initial container and sorting is disabled,\n // put item the into its starting index to begin with.\n newContainer.sortingDisabled\n ? this._initialIndex\n : undefined);\n this.entered.next({\n item: this,\n container: newContainer,\n currentIndex: newContainer.getItemIndex(this),\n });\n });\n }\n // Dragging may have been interrupted as a result of the events above.\n if (this.isDragging()) {\n this._dropContainer._startScrollingIfNecessary(rawX, rawY);\n this._dropContainer._sortItem(this, x, y, this._pointerDirectionDelta);\n if (this.constrainPosition) {\n this._applyPreviewTransform(x, y);\n }\n else {\n this._applyPreviewTransform(x - this._pickupPositionInElement.x, y - this._pickupPositionInElement.y);\n }\n }\n }\n /**\n * Creates the element that will be rendered next to the user's pointer\n * and will be used as a preview of the element that is being dragged.\n */\n _createPreviewElement() {\n const previewConfig = this._previewTemplate;\n const previewClass = this.previewClass;\n const previewTemplate = previewConfig ? previewConfig.template : null;\n let preview;\n if (previewTemplate && previewConfig) {\n // Measure the element before we've inserted the preview\n // since the insertion could throw off the measurement.\n const rootRect = previewConfig.matchSize ? this._initialClientRect : null;\n const viewRef = previewConfig.viewContainer.createEmbeddedView(previewTemplate, previewConfig.context);\n viewRef.detectChanges();\n preview = getRootNode(viewRef, this._document);\n this._previewRef = viewRef;\n if (previewConfig.matchSize) {\n matchElementSize(preview, rootRect);\n }\n else {\n preview.style.transform = getTransform(this._pickupPositionOnPage.x, this._pickupPositionOnPage.y);\n }\n }\n else {\n preview = deepCloneNode(this._rootElement);\n matchElementSize(preview, this._initialClientRect);\n if (this._initialTransform) {\n preview.style.transform = this._initialTransform;\n }\n }\n extendStyles(preview.style, {\n // It's important that we disable the pointer events on the preview, because\n // it can throw off the `document.elementFromPoint` calls in the `CdkDropList`.\n 'pointer-events': 'none',\n // We have to reset the margin, because it can throw off positioning relative to the viewport.\n 'margin': '0',\n 'position': 'fixed',\n 'top': '0',\n 'left': '0',\n 'z-index': `${this._config.zIndex || 1000}`,\n }, dragImportantProperties);\n toggleNativeDragInteractions(preview, false);\n preview.classList.add('cdk-drag-preview');\n preview.setAttribute('dir', this._direction);\n if (previewClass) {\n if (Array.isArray(previewClass)) {\n previewClass.forEach(className => preview.classList.add(className));\n }\n else {\n preview.classList.add(previewClass);\n }\n }\n return preview;\n }\n /**\n * Animates the preview element from its current position to the location of the drop placeholder.\n * @returns Promise that resolves when the animation completes.\n */\n _animatePreviewToPlaceholder() {\n // If the user hasn't moved yet, the transitionend event won't fire.\n if (!this._hasMoved) {\n return Promise.resolve();\n }\n const placeholderRect = this._placeholder.getBoundingClientRect();\n // Apply the class that adds a transition to the preview.\n this._preview.classList.add('cdk-drag-animating');\n // Move the preview to the placeholder position.\n this._applyPreviewTransform(placeholderRect.left, placeholderRect.top);\n // If the element doesn't have a `transition`, the `transitionend` event won't fire. Since\n // we need to trigger a style recalculation in order for the `cdk-drag-animating` class to\n // apply its style, we take advantage of the available info to figure out whether we need to\n // bind the event in the first place.\n const duration = getTransformTransitionDurationInMs(this._preview);\n if (duration === 0) {\n return Promise.resolve();\n }\n return this._ngZone.runOutsideAngular(() => {\n return new Promise(resolve => {\n const handler = ((event) => {\n if (!event ||\n (_getEventTarget(event) === this._preview && event.propertyName === 'transform')) {\n this._preview?.removeEventListener('transitionend', handler);\n resolve();\n clearTimeout(timeout);\n }\n });\n // If a transition is short enough, the browser might not fire the `transitionend` event.\n // Since we know how long it's supposed to take, add a timeout with a 50% buffer that'll\n // fire if the transition hasn't completed when it was supposed to.\n const timeout = setTimeout(handler, duration * 1.5);\n this._preview.addEventListener('transitionend', handler);\n });\n });\n }\n /** Creates an element that will be shown instead of the current element while dragging. */\n _createPlaceholderElement() {\n const placeholderConfig = this._placeholderTemplate;\n const placeholderTemplate = placeholderConfig ? placeholderConfig.template : null;\n let placeholder;\n if (placeholderTemplate) {\n this._placeholderRef = placeholderConfig.viewContainer.createEmbeddedView(placeholderTemplate, placeholderConfig.context);\n this._placeholderRef.detectChanges();\n placeholder = getRootNode(this._placeholderRef, this._document);\n }\n else {\n placeholder = deepCloneNode(this._rootElement);\n }\n // Stop pointer events on the preview so the user can't\n // interact with it while the preview is animating.\n placeholder.style.pointerEvents = 'none';\n placeholder.classList.add('cdk-drag-placeholder');\n return placeholder;\n }\n /**\n * Figures out the coordinates at which an element was picked up.\n * @param referenceElement Element that initiated the dragging.\n * @param event Event that initiated the dragging.\n */\n _getPointerPositionInElement(elementRect, referenceElement, event) {\n const handleElement = referenceElement === this._rootElement ? null : referenceElement;\n const referenceRect = handleElement ? handleElement.getBoundingClientRect() : elementRect;\n const point = isTouchEvent(event) ? event.targetTouches[0] : event;\n const scrollPosition = this._getViewportScrollPosition();\n const x = point.pageX - referenceRect.left - scrollPosition.left;\n const y = point.pageY - referenceRect.top - scrollPosition.top;\n return {\n x: referenceRect.left - elementRect.left + x,\n y: referenceRect.top - elementRect.top + y,\n };\n }\n /** Determines the point of the page that was touched by the user. */\n _getPointerPositionOnPage(event) {\n const scrollPosition = this._getViewportScrollPosition();\n const point = isTouchEvent(event)\n ? // `touches` will be empty for start/end events so we have to fall back to `changedTouches`.\n // Also note that on real devices we're guaranteed for either `touches` or `changedTouches`\n // to have a value, but Firefox in device emulation mode has a bug where both can be empty\n // for `touchstart` and `touchend` so we fall back to a dummy object in order to avoid\n // throwing an error. The value returned here will be incorrect, but since this only\n // breaks inside a developer tool and the value is only used for secondary information,\n // we can get away with it. See https://bugzilla.mozilla.org/show_bug.cgi?id=1615824.\n event.touches[0] || event.changedTouches[0] || { pageX: 0, pageY: 0 }\n : event;\n const x = point.pageX - scrollPosition.left;\n const y = point.pageY - scrollPosition.top;\n // if dragging SVG element, try to convert from the screen coordinate system to the SVG\n // coordinate system\n if (this._ownerSVGElement) {\n const svgMatrix = this._ownerSVGElement.getScreenCTM();\n if (svgMatrix) {\n const svgPoint = this._ownerSVGElement.createSVGPoint();\n svgPoint.x = x;\n svgPoint.y = y;\n return svgPoint.matrixTransform(svgMatrix.inverse());\n }\n }\n return { x, y };\n }\n /** Gets the pointer position on the page, accounting for any position constraints. */\n _getConstrainedPointerPosition(point) {\n const dropContainerLock = this._dropContainer ? this._dropContainer.lockAxis : null;\n let { x, y } = this.constrainPosition\n ? this.constrainPosition(point, this, this._initialClientRect, this._pickupPositionInElement)\n : point;\n if (this.lockAxis === 'x' || dropContainerLock === 'x') {\n y = this._pickupPositionOnPage.y;\n }\n else if (this.lockAxis === 'y' || dropContainerLock === 'y') {\n x = this._pickupPositionOnPage.x;\n }\n if (this._boundaryRect) {\n const { x: pickupX, y: pickupY } = this._pickupPositionInElement;\n const boundaryRect = this._boundaryRect;\n const { width: previewWidth, height: previewHeight } = this._getPreviewRect();\n const minY = boundaryRect.top + pickupY;\n const maxY = boundaryRect.bottom - (previewHeight - pickupY);\n const minX = boundaryRect.left + pickupX;\n const maxX = boundaryRect.right - (previewWidth - pickupX);\n x = clamp$1(x, minX, maxX);\n y = clamp$1(y, minY, maxY);\n }\n return { x, y };\n }\n /** Updates the current drag delta, based on the user's current pointer position on the page. */\n _updatePointerDirectionDelta(pointerPositionOnPage) {\n const { x, y } = pointerPositionOnPage;\n const delta = this._pointerDirectionDelta;\n const positionSinceLastChange = this._pointerPositionAtLastDirectionChange;\n // Amount of pixels the user has dragged since the last time the direction changed.\n const changeX = Math.abs(x - positionSinceLastChange.x);\n const changeY = Math.abs(y - positionSinceLastChange.y);\n // Because we handle pointer events on a per-pixel basis, we don't want the delta\n // to change for every pixel, otherwise anything that depends on it can look erratic.\n // To make the delta more consistent, we track how much the user has moved since the last\n // delta change and we only update it after it has reached a certain threshold.\n if (changeX > this._config.pointerDirectionChangeThreshold) {\n delta.x = x > positionSinceLastChange.x ? 1 : -1;\n positionSinceLastChange.x = x;\n }\n if (changeY > this._config.pointerDirectionChangeThreshold) {\n delta.y = y > positionSinceLastChange.y ? 1 : -1;\n positionSinceLastChange.y = y;\n }\n return delta;\n }\n /** Toggles the native drag interactions, based on how many handles are registered. */\n _toggleNativeDragInteractions() {\n if (!this._rootElement || !this._handles) {\n return;\n }\n const shouldEnable = this._handles.length > 0 || !this.isDragging();\n if (shouldEnable !== this._nativeInteractionsEnabled) {\n this._nativeInteractionsEnabled = shouldEnable;\n toggleNativeDragInteractions(this._rootElement, shouldEnable);\n }\n }\n /** Removes the manually-added event listeners from the root element. */\n _removeRootElementListeners(element) {\n element.removeEventListener('mousedown', this._pointerDown, activeEventListenerOptions);\n element.removeEventListener('touchstart', this._pointerDown, passiveEventListenerOptions);\n element.removeEventListener('dragstart', this._nativeDragStart, activeEventListenerOptions);\n }\n /**\n * Applies a `transform` to the root element, taking into account any existing transforms on it.\n * @param x New transform value along the X axis.\n * @param y New transform value along the Y axis.\n */\n _applyRootElementTransform(x, y) {\n const transform = getTransform(x, y);\n const styles = this._rootElement.style;\n // Cache the previous transform amount only after the first drag sequence, because\n // we don't want our own transforms to stack on top of each other.\n // Should be excluded none because none + translate3d(x, y, x) is invalid css\n if (this._initialTransform == null) {\n this._initialTransform =\n styles.transform && styles.transform != 'none' ? styles.transform : '';\n }\n // Preserve the previous `transform` value, if there was one. Note that we apply our own\n // transform before the user's, because things like rotation can affect which direction\n // the element will be translated towards.\n styles.transform = combineTransforms(transform, this._initialTransform);\n }\n /**\n * Applies a `transform` to the preview, taking into account any existing transforms on it.\n * @param x New transform value along the X axis.\n * @param y New transform value along the Y axis.\n */\n _applyPreviewTransform(x, y) {\n // Only apply the initial transform if the preview is a clone of the original element, otherwise\n // it could be completely different and the transform might not make sense anymore.\n const initialTransform = this._previewTemplate?.template ? undefined : this._initialTransform;\n const transform = getTransform(x, y);\n this._preview.style.transform = combineTransforms(transform, initialTransform);\n }\n /**\n * Gets the distance that the user has dragged during the current drag sequence.\n * @param currentPosition Current position of the user's pointer.\n */\n _getDragDistance(currentPosition) {\n const pickupPosition = this._pickupPositionOnPage;\n if (pickupPosition) {\n return { x: currentPosition.x - pickupPosition.x, y: currentPosition.y - pickupPosition.y };\n }\n return { x: 0, y: 0 };\n }\n /** Cleans up any cached element dimensions that we don't need after dragging has stopped. */\n _cleanupCachedDimensions() {\n this._boundaryRect = this._previewRect = undefined;\n this._parentPositions.clear();\n }\n /**\n * Checks whether the element is still inside its boundary after the viewport has been resized.\n * If not, the position is adjusted so that the element fits again.\n */\n _containInsideBoundaryOnResize() {\n let { x, y } = this._passiveTransform;\n if ((x === 0 && y === 0) || this.isDragging() || !this._boundaryElement) {\n return;\n }\n // Note: don't use `_clientRectAtStart` here, because we want the latest position.\n const elementRect = this._rootElement.getBoundingClientRect();\n const boundaryRect = this._boundaryElement.getBoundingClientRect();\n // It's possible that the element got hidden away after dragging (e.g. by switching to a\n // different tab). Don't do anything in this case so we don't clear the user's position.\n if ((boundaryRect.width === 0 && boundaryRect.height === 0) ||\n (elementRect.width === 0 && elementRect.height === 0)) {\n return;\n }\n const leftOverflow = boundaryRect.left - elementRect.left;\n const rightOverflow = elementRect.right - boundaryRect.right;\n const topOverflow = boundaryRect.top - elementRect.top;\n const bottomOverflow = elementRect.bottom - boundaryRect.bottom;\n // If the element has become wider than the boundary, we can't\n // do much to make it fit so we just anchor it to the left.\n if (boundaryRect.width > elementRect.width) {\n if (leftOverflow > 0) {\n x += leftOverflow;\n }\n if (rightOverflow > 0) {\n x -= rightOverflow;\n }\n }\n else {\n x = 0;\n }\n // If the element has become taller than the boundary, we can't\n // do much to make it fit so we just anchor it to the top.\n if (boundaryRect.height > elementRect.height) {\n if (topOverflow > 0) {\n y += topOverflow;\n }\n if (bottomOverflow > 0) {\n y -= bottomOverflow;\n }\n }\n else {\n y = 0;\n }\n if (x !== this._passiveTransform.x || y !== this._passiveTransform.y) {\n this.setFreeDragPosition({ y, x });\n }\n }\n /** Gets the drag start delay, based on the event type. */\n _getDragStartDelay(event) {\n const value = this.dragStartDelay;\n if (typeof value === 'number') {\n return value;\n }\n else if (isTouchEvent(event)) {\n return value.touch;\n }\n return value ? value.mouse : 0;\n }\n /** Updates the internal state of the draggable element when scrolling has occurred. */\n _updateOnScroll(event) {\n const scrollDifference = this._parentPositions.handleScroll(event);\n if (scrollDifference) {\n const target = _getEventTarget(event);\n // ClientRect dimensions are based on the scroll position of the page and its parent\n // node so we have to update the cached boundary ClientRect if the user has scrolled.\n if (this._boundaryRect &&\n target !== this._boundaryElement &&\n target.contains(this._boundaryElement)) {\n adjustClientRect(this._boundaryRect, scrollDifference.top, scrollDifference.left);\n }\n this._pickupPositionOnPage.x += scrollDifference.left;\n this._pickupPositionOnPage.y += scrollDifference.top;\n // If we're in free drag mode, we have to update the active transform, because\n // it isn't relative to the viewport like the preview inside a drop list.\n if (!this._dropContainer) {\n this._activeTransform.x -= scrollDifference.left;\n this._activeTransform.y -= scrollDifference.top;\n this._applyRootElementTransform(this._activeTransform.x, this._activeTransform.y);\n }\n }\n }\n /** Gets the scroll position of the viewport. */\n _getViewportScrollPosition() {\n return (this._parentPositions.positions.get(this._document)?.scrollPosition ||\n this._parentPositions.getViewportScrollPosition());\n }\n /**\n * Lazily resolves and returns the shadow root of the element. We do this in a function, rather\n * than saving it in property directly on init, because we want to resolve it as late as possible\n * in order to ensure that the element has been moved into the shadow DOM. Doing it inside the\n * constructor might be too early if the element is inside of something like `ngFor` or `ngIf`.\n */\n _getShadowRoot() {\n if (this._cachedShadowRoot === undefined) {\n this._cachedShadowRoot = _getShadowRoot(this._rootElement);\n }\n return this._cachedShadowRoot;\n }\n /** Gets the element into which the drag preview should be inserted. */\n _getPreviewInsertionPoint(initialParent, shadowRoot) {\n const previewContainer = this._previewContainer || 'global';\n if (previewContainer === 'parent') {\n return initialParent;\n }\n if (previewContainer === 'global') {\n const documentRef = this._document;\n // We can't use the body if the user is in fullscreen mode,\n // because the preview will render under the fullscreen element.\n // TODO(crisbeto): dedupe this with the `FullscreenOverlayContainer` eventually.\n return (shadowRoot ||\n documentRef.fullscreenElement ||\n documentRef.webkitFullscreenElement ||\n documentRef.mozFullScreenElement ||\n documentRef.msFullscreenElement ||\n documentRef.body);\n }\n return coerceElement(previewContainer);\n }\n /** Lazily resolves and returns the dimensions of the preview. */\n _getPreviewRect() {\n // Cache the preview element rect if we haven't cached it already or if\n // we cached it too early before the element dimensions were computed.\n if (!this._previewRect || (!this._previewRect.width && !this._previewRect.height)) {\n this._previewRect = this._preview\n ? this._preview.getBoundingClientRect()\n : this._initialClientRect;\n }\n return this._previewRect;\n }\n /** Gets a handle that is the target of an event. */\n _getTargetHandle(event) {\n return this._handles.find(handle => {\n return event.target && (event.target === handle || handle.contains(event.target));\n });\n }\n}\n/**\n * Gets a 3d `transform` that can be applied to an element.\n * @param x Desired position of the element along the X axis.\n * @param y Desired position of the element along the Y axis.\n */\nfunction getTransform(x, y) {\n // Round the transforms since some browsers will\n // blur the elements for sub-pixel transforms.\n return `translate3d(${Math.round(x)}px, ${Math.round(y)}px, 0)`;\n}\n/** Clamps a value between a minimum and a maximum. */\nfunction clamp$1(value, min, max) {\n return Math.max(min, Math.min(max, value));\n}\n/** Determines whether an event is a touch event. */\nfunction isTouchEvent(event) {\n // This function is called for every pixel that the user has dragged so we need it to be\n // as fast as possible. Since we only bind mouse events and touch events, we can assume\n // that if the event's name starts with `t`, it's a touch event.\n return event.type[0] === 't';\n}\n/**\n * Gets the root HTML element of an embedded view.\n * If the root is not an HTML element it gets wrapped in one.\n */\nfunction getRootNode(viewRef, _document) {\n const rootNodes = viewRef.rootNodes;\n if (rootNodes.length === 1 && rootNodes[0].nodeType === _document.ELEMENT_NODE) {\n return rootNodes[0];\n }\n const wrapper = _document.createElement('div');\n rootNodes.forEach(node => wrapper.appendChild(node));\n return wrapper;\n}\n/**\n * Matches the target element's size to the source's size.\n * @param target Element that needs to be resized.\n * @param sourceRect Dimensions of the source element.\n */\nfunction matchElementSize(target, sourceRect) {\n target.style.width = `${sourceRect.width}px`;\n target.style.height = `${sourceRect.height}px`;\n target.style.transform = getTransform(sourceRect.left, sourceRect.top);\n}\n\n/**\n * Moves an item one index in an array to another.\n * @param array Array in which to move the item.\n * @param fromIndex Starting index of the item.\n * @param toIndex Index to which the item should be moved.\n */\nfunction moveItemInArray(array, fromIndex, toIndex) {\n const from = clamp(fromIndex, array.length - 1);\n const to = clamp(toIndex, array.length - 1);\n if (from === to) {\n return;\n }\n const target = array[from];\n const delta = to < from ? -1 : 1;\n for (let i = from; i !== to; i += delta) {\n array[i] = array[i + delta];\n }\n array[to] = target;\n}\n/**\n * Moves an item from one array to another.\n * @param currentArray Array from which to transfer the item.\n * @param targetArray Array into which to put the item.\n * @param currentIndex Index of the item in its current array.\n * @param targetIndex Index at which to insert the item.\n */\nfunction transferArrayItem(currentArray, targetArray, currentIndex, targetIndex) {\n const from = clamp(currentIndex, currentArray.length - 1);\n const to = clamp(targetIndex, targetArray.length);\n if (currentArray.length) {\n targetArray.splice(to, 0, currentArray.splice(from, 1)[0]);\n }\n}\n/**\n * Copies an item from one array to another, leaving it in its\n * original position in current array.\n * @param currentArray Array from which to copy the item.\n * @param targetArray Array into which is copy the item.\n * @param currentIndex Index of the item in its current array.\n * @param targetIndex Index at which to insert the item.\n *\n */\nfunction copyArrayItem(currentArray, targetArray, currentIndex, targetIndex) {\n const to = clamp(targetIndex, targetArray.length);\n if (currentArray.length) {\n targetArray.splice(to, 0, currentArray[currentIndex]);\n }\n}\n/** Clamps a number between zero and a maximum. */\nfunction clamp(value, max) {\n return Math.max(0, Math.min(max, value));\n}\n\n/**\n * Strategy that only supports sorting along a single axis.\n * Items are reordered using CSS transforms which allows for sorting to be animated.\n * @docs-private\n */\nclass SingleAxisSortStrategy {\n constructor(_element, _dragDropRegistry) {\n this._element = _element;\n this._dragDropRegistry = _dragDropRegistry;\n /** Cache of the dimensions of all the items inside the container. */\n this._itemPositions = [];\n /** Direction in which the list is oriented. */\n this.orientation = 'vertical';\n /**\n * Keeps track of the item that was last swapped with the dragged item, as well as what direction\n * the pointer was moving in when the swap occurred and whether the user's pointer continued to\n * overlap with the swapped item after the swapping occurred.\n */\n this._previousSwap = {\n drag: null,\n delta: 0,\n overlaps: false,\n };\n }\n /**\n * To be called when the drag sequence starts.\n * @param items Items that are currently in the list.\n */\n start(items) {\n this.withItems(items);\n }\n /**\n * To be called when an item is being sorted.\n * @param item Item to be sorted.\n * @param pointerX Position of the item along the X axis.\n * @param pointerY Position of the item along the Y axis.\n * @param pointerDelta Direction in which the pointer is moving along each axis.\n */\n sort(item, pointerX, pointerY, pointerDelta) {\n const siblings = this._itemPositions;\n const newIndex = this._getItemIndexFromPointerPosition(item, pointerX, pointerY, pointerDelta);\n if (newIndex === -1 && siblings.length > 0) {\n return null;\n }\n const isHorizontal = this.orientation === 'horizontal';\n const currentIndex = siblings.findIndex(currentItem => currentItem.drag === item);\n const siblingAtNewPosition = siblings[newIndex];\n const currentPosition = siblings[currentIndex].clientRect;\n const newPosition = siblingAtNewPosition.clientRect;\n const delta = currentIndex > newIndex ? 1 : -1;\n // How many pixels the item's placeholder should be offset.\n const itemOffset = this._getItemOffsetPx(currentPosition, newPosition, delta);\n // How many pixels all the other items should be offset.\n const siblingOffset = this._getSiblingOffsetPx(currentIndex, siblings, delta);\n // Save the previous order of the items before moving the item to its new index.\n // We use this to check whether an item has been moved as a result of the sorting.\n const oldOrder = siblings.slice();\n // Shuffle the array in place.\n moveItemInArray(siblings, currentIndex, newIndex);\n siblings.forEach((sibling, index) => {\n // Don't do anything if the position hasn't changed.\n if (oldOrder[index] === sibling) {\n return;\n }\n const isDraggedItem = sibling.drag === item;\n const offset = isDraggedItem ? itemOffset : siblingOffset;\n const elementToOffset = isDraggedItem\n ? item.getPlaceholderElement()\n : sibling.drag.getRootElement();\n // Update the offset to reflect the new position.\n sibling.offset += offset;\n // Since we're moving the items with a `transform`, we need to adjust their cached\n // client rects to reflect their new position, as well as swap their positions in the cache.\n // Note that we shouldn't use `getBoundingClientRect` here to update the cache, because the\n // elements may be mid-animation which will give us a wrong result.\n if (isHorizontal) {\n // Round the transforms since some browsers will\n // blur the elements, for sub-pixel transforms.\n elementToOffset.style.transform = combineTransforms(`translate3d(${Math.round(sibling.offset)}px, 0, 0)`, sibling.initialTransform);\n adjustClientRect(sibling.clientRect, 0, offset);\n }\n else {\n elementToOffset.style.transform = combineTransforms(`translate3d(0, ${Math.round(sibling.offset)}px, 0)`, sibling.initialTransform);\n adjustClientRect(sibling.clientRect, offset, 0);\n }\n });\n // Note that it's important that we do this after the client rects have been adjusted.\n this._previousSwap.overlaps = isInsideClientRect(newPosition, pointerX, pointerY);\n this._previousSwap.drag = siblingAtNewPosition.drag;\n this._previousSwap.delta = isHorizontal ? pointerDelta.x : pointerDelta.y;\n return { previousIndex: currentIndex, currentIndex: newIndex };\n }\n /**\n * Called when an item is being moved into the container.\n * @param item Item that was moved into the container.\n * @param pointerX Position of the item along the X axis.\n * @param pointerY Position of the item along the Y axis.\n * @param index Index at which the item entered. If omitted, the container will try to figure it\n * out automatically.\n */\n enter(item, pointerX, pointerY, index) {\n const newIndex = index == null || index < 0\n ? // We use the coordinates of where the item entered the drop\n // zone to figure out at which index it should be inserted.\n this._getItemIndexFromPointerPosition(item, pointerX, pointerY)\n : index;\n const activeDraggables = this._activeDraggables;\n const currentIndex = activeDraggables.indexOf(item);\n const placeholder = item.getPlaceholderElement();\n let newPositionReference = activeDraggables[newIndex];\n // If the item at the new position is the same as the item that is being dragged,\n // it means that we're trying to restore the item to its initial position. In this\n // case we should use the next item from the list as the reference.\n if (newPositionReference === item) {\n newPositionReference = activeDraggables[newIndex + 1];\n }\n // If we didn't find a new position reference, it means that either the item didn't start off\n // in this container, or that the item requested to be inserted at the end of the list.\n if (!newPositionReference &&\n (newIndex == null || newIndex === -1 || newIndex < activeDraggables.length - 1) &&\n this._shouldEnterAsFirstChild(pointerX, pointerY)) {\n newPositionReference = activeDraggables[0];\n }\n // Since the item may be in the `activeDraggables` already (e.g. if the user dragged it\n // into another container and back again), we have to ensure that it isn't duplicated.\n if (currentIndex > -1) {\n activeDraggables.splice(currentIndex, 1);\n }\n // Don't use items that are being dragged as a reference, because\n // their element has been moved down to the bottom of the body.\n if (newPositionReference && !this._dragDropRegistry.isDragging(newPositionReference)) {\n const element = newPositionReference.getRootElement();\n element.parentElement.insertBefore(placeholder, element);\n activeDraggables.splice(newIndex, 0, item);\n }\n else {\n coerceElement(this._element).appendChild(placeholder);\n activeDraggables.push(item);\n }\n // The transform needs to be cleared so it doesn't throw off the measurements.\n placeholder.style.transform = '';\n // Note that usually `start` is called together with `enter` when an item goes into a new\n // container. This will cache item positions, but we need to refresh them since the amount\n // of items has changed.\n this._cacheItemPositions();\n }\n /** Sets the items that are currently part of the list. */\n withItems(items) {\n this._activeDraggables = items.slice();\n this._cacheItemPositions();\n }\n /** Assigns a sort predicate to the strategy. */\n withSortPredicate(predicate) {\n this._sortPredicate = predicate;\n }\n /** Resets the strategy to its initial state before dragging was started. */\n reset() {\n // TODO(crisbeto): may have to wait for the animations to finish.\n this._activeDraggables.forEach(item => {\n const rootElement = item.getRootElement();\n if (rootElement) {\n const initialTransform = this._itemPositions.find(p => p.drag === item)?.initialTransform;\n rootElement.style.transform = initialTransform || '';\n }\n });\n this._itemPositions = [];\n this._activeDraggables = [];\n this._previousSwap.drag = null;\n this._previousSwap.delta = 0;\n this._previousSwap.overlaps = false;\n }\n /**\n * Gets a snapshot of items currently in the list.\n * Can include items that we dragged in from another list.\n */\n getActiveItemsSnapshot() {\n return this._activeDraggables;\n }\n /** Gets the index of a specific item. */\n getItemIndex(item) {\n // Items are sorted always by top/left in the cache, however they flow differently in RTL.\n // The rest of the logic still stands no matter what orientation we're in, however\n // we need to invert the array when determining the index.\n const items = this.orientation === 'horizontal' && this.direction === 'rtl'\n ? this._itemPositions.slice().reverse()\n : this._itemPositions;\n return items.findIndex(currentItem => currentItem.drag === item);\n }\n /** Used to notify the strategy that the scroll position has changed. */\n updateOnScroll(topDifference, leftDifference) {\n // Since we know the amount that the user has scrolled we can shift all of the\n // client rectangles ourselves. This is cheaper than re-measuring everything and\n // we can avoid inconsistent behavior where we might be measuring the element before\n // its position has changed.\n this._itemPositions.forEach(({ clientRect }) => {\n adjustClientRect(clientRect, topDifference, leftDifference);\n });\n // We need two loops for this, because we want all of the cached\n // positions to be up-to-date before we re-sort the item.\n this._itemPositions.forEach(({ drag }) => {\n if (this._dragDropRegistry.isDragging(drag)) {\n // We need to re-sort the item manually, because the pointer move\n // events won't be dispatched while the user is scrolling.\n drag._sortFromLastPointerPosition();\n }\n });\n }\n /** Refreshes the position cache of the items and sibling containers. */\n _cacheItemPositions() {\n const isHorizontal = this.orientation === 'horizontal';\n this._itemPositions = this._activeDraggables\n .map(drag => {\n const elementToMeasure = drag.getVisibleElement();\n return {\n drag,\n offset: 0,\n initialTransform: elementToMeasure.style.transform || '',\n clientRect: getMutableClientRect(elementToMeasure),\n };\n })\n .sort((a, b) => {\n return isHorizontal\n ? a.clientRect.left - b.clientRect.left\n : a.clientRect.top - b.clientRect.top;\n });\n }\n /**\n * Gets the offset in pixels by which the item that is being dragged should be moved.\n * @param currentPosition Current position of the item.\n * @param newPosition Position of the item where the current item should be moved.\n * @param delta Direction in which the user is moving.\n */\n _getItemOffsetPx(currentPosition, newPosition, delta) {\n const isHorizontal = this.orientation === 'horizontal';\n let itemOffset = isHorizontal\n ? newPosition.left - currentPosition.left\n : newPosition.top - currentPosition.top;\n // Account for differences in the item width/height.\n if (delta === -1) {\n itemOffset += isHorizontal\n ? newPosition.width - currentPosition.width\n : newPosition.height - currentPosition.height;\n }\n return itemOffset;\n }\n /**\n * Gets the offset in pixels by which the items that aren't being dragged should be moved.\n * @param currentIndex Index of the item currently being dragged.\n * @param siblings All of the items in the list.\n * @param delta Direction in which the user is moving.\n */\n _getSiblingOffsetPx(currentIndex, siblings, delta) {\n const isHorizontal = this.orientation === 'horizontal';\n const currentPosition = siblings[currentIndex].clientRect;\n const immediateSibling = siblings[currentIndex + delta * -1];\n let siblingOffset = currentPosition[isHorizontal ? 'width' : 'height'] * delta;\n if (immediateSibling) {\n const start = isHorizontal ? 'left' : 'top';\n const end = isHorizontal ? 'right' : 'bottom';\n // Get the spacing between the start of the current item and the end of the one immediately\n // after it in the direction in which the user is dragging, or vice versa. We add it to the\n // offset in order to push the element to where it will be when it's inline and is influenced\n // by the `margin` of its siblings.\n if (delta === -1) {\n siblingOffset -= immediateSibling.clientRect[start] - currentPosition[end];\n }\n else {\n siblingOffset += currentPosition[start] - immediateSibling.clientRect[end];\n }\n }\n return siblingOffset;\n }\n /**\n * Checks if pointer is entering in the first position\n * @param pointerX Position of the user's pointer along the X axis.\n * @param pointerY Position of the user's pointer along the Y axis.\n */\n _shouldEnterAsFirstChild(pointerX, pointerY) {\n if (!this._activeDraggables.length) {\n return false;\n }\n const itemPositions = this._itemPositions;\n const isHorizontal = this.orientation === 'horizontal';\n // `itemPositions` are sorted by position while `activeDraggables` are sorted by child index\n // check if container is using some sort of \"reverse\" ordering (eg: flex-direction: row-reverse)\n const reversed = itemPositions[0].drag !== this._activeDraggables[0];\n if (reversed) {\n const lastItemRect = itemPositions[itemPositions.length - 1].clientRect;\n return isHorizontal ? pointerX >= lastItemRect.right : pointerY >= lastItemRect.bottom;\n }\n else {\n const firstItemRect = itemPositions[0].clientRect;\n return isHorizontal ? pointerX <= firstItemRect.left : pointerY <= firstItemRect.top;\n }\n }\n /**\n * Gets the index of an item in the drop container, based on the position of the user's pointer.\n * @param item Item that is being sorted.\n * @param pointerX Position of the user's pointer along the X axis.\n * @param pointerY Position of the user's pointer along the Y axis.\n * @param delta Direction in which the user is moving their pointer.\n */\n _getItemIndexFromPointerPosition(item, pointerX, pointerY, delta) {\n const isHorizontal = this.orientation === 'horizontal';\n const index = this._itemPositions.findIndex(({ drag, clientRect }) => {\n // Skip the item itself.\n if (drag === item) {\n return false;\n }\n if (delta) {\n const direction = isHorizontal ? delta.x : delta.y;\n // If the user is still hovering over the same item as last time, their cursor hasn't left\n // the item after we made the swap, and they didn't change the direction in which they're\n // dragging, we don't consider it a direction swap.\n if (drag === this._previousSwap.drag &&\n this._previousSwap.overlaps &&\n direction === this._previousSwap.delta) {\n return false;\n }\n }\n return isHorizontal\n ? // Round these down since most browsers report client rects with\n // sub-pixel precision, whereas the pointer coordinates are rounded to pixels.\n pointerX >= Math.floor(clientRect.left) && pointerX < Math.floor(clientRect.right)\n : pointerY >= Math.floor(clientRect.top) && pointerY < Math.floor(clientRect.bottom);\n });\n return index === -1 || !this._sortPredicate(index, item) ? -1 : index;\n }\n}\n\n/**\n * Proximity, as a ratio to width/height, at which a\n * dragged item will affect the drop container.\n */\nconst DROP_PROXIMITY_THRESHOLD = 0.05;\n/**\n * Proximity, as a ratio to width/height at which to start auto-scrolling the drop list or the\n * viewport. The value comes from trying it out manually until it feels right.\n */\nconst SCROLL_PROXIMITY_THRESHOLD = 0.05;\n/**\n * Reference to a drop list. Used to manipulate or dispose of the container.\n */\nclass DropListRef {\n constructor(element, _dragDropRegistry, _document, _ngZone, _viewportRuler) {\n this._dragDropRegistry = _dragDropRegistry;\n this._ngZone = _ngZone;\n this._viewportRuler = _viewportRuler;\n /** Whether starting a dragging sequence from this container is disabled. */\n this.disabled = false;\n /** Whether sorting items within the list is disabled. */\n this.sortingDisabled = false;\n /**\n * Whether auto-scrolling the view when the user\n * moves their pointer close to the edges is disabled.\n */\n this.autoScrollDisabled = false;\n /** Number of pixels to scroll for each frame when auto-scrolling an element. */\n this.autoScrollStep = 2;\n /**\n * Function that is used to determine whether an item\n * is allowed to be moved into a drop container.\n */\n this.enterPredicate = () => true;\n /** Function that is used to determine whether an item can be sorted into a particular index. */\n this.sortPredicate = () => true;\n /** Emits right before dragging has started. */\n this.beforeStarted = new Subject();\n /**\n * Emits when the user has moved a new drag item into this container.\n */\n this.entered = new Subject();\n /**\n * Emits when the user removes an item from the container\n * by dragging it into another container.\n */\n this.exited = new Subject();\n /** Emits when the user drops an item inside the container. */\n this.dropped = new Subject();\n /** Emits as the user is swapping items while actively dragging. */\n this.sorted = new Subject();\n /** Emits when a dragging sequence is started in a list connected to the current one. */\n this.receivingStarted = new Subject();\n /** Emits when a dragging sequence is stopped from a list connected to the current one. */\n this.receivingStopped = new Subject();\n /** Whether an item in the list is being dragged. */\n this._isDragging = false;\n /** Draggable items in the container. */\n this._draggables = [];\n /** Drop lists that are connected to the current one. */\n this._siblings = [];\n /** Connected siblings that currently have a dragged item. */\n this._activeSiblings = new Set();\n /** Subscription to the window being scrolled. */\n this._viewportScrollSubscription = Subscription.EMPTY;\n /** Vertical direction in which the list is currently scrolling. */\n this._verticalScrollDirection = 0 /* AutoScrollVerticalDirection.NONE */;\n /** Horizontal direction in which the list is currently scrolling. */\n this._horizontalScrollDirection = 0 /* AutoScrollHorizontalDirection.NONE */;\n /** Used to signal to the current auto-scroll sequence when to stop. */\n this._stopScrollTimers = new Subject();\n /** Shadow root of the current element. Necessary for `elementFromPoint` to resolve correctly. */\n this._cachedShadowRoot = null;\n /** Starts the interval that'll auto-scroll the element. */\n this._startScrollInterval = () => {\n this._stopScrolling();\n interval(0, animationFrameScheduler)\n .pipe(takeUntil(this._stopScrollTimers))\n .subscribe(() => {\n const node = this._scrollNode;\n const scrollStep = this.autoScrollStep;\n if (this._verticalScrollDirection === 1 /* AutoScrollVerticalDirection.UP */) {\n node.scrollBy(0, -scrollStep);\n }\n else if (this._verticalScrollDirection === 2 /* AutoScrollVerticalDirection.DOWN */) {\n node.scrollBy(0, scrollStep);\n }\n if (this._horizontalScrollDirection === 1 /* AutoScrollHorizontalDirection.LEFT */) {\n node.scrollBy(-scrollStep, 0);\n }\n else if (this._horizontalScrollDirection === 2 /* AutoScrollHorizontalDirection.RIGHT */) {\n node.scrollBy(scrollStep, 0);\n }\n });\n };\n this.element = coerceElement(element);\n this._document = _document;\n this.withScrollableParents([this.element]);\n _dragDropRegistry.registerDropContainer(this);\n this._parentPositions = new ParentPositionTracker(_document);\n this._sortStrategy = new SingleAxisSortStrategy(this.element, _dragDropRegistry);\n this._sortStrategy.withSortPredicate((index, item) => this.sortPredicate(index, item, this));\n }\n /** Removes the drop list functionality from the DOM element. */\n dispose() {\n this._stopScrolling();\n this._stopScrollTimers.complete();\n this._viewportScrollSubscription.unsubscribe();\n this.beforeStarted.complete();\n this.entered.complete();\n this.exited.complete();\n this.dropped.complete();\n this.sorted.complete();\n this.receivingStarted.complete();\n this.receivingStopped.complete();\n this._activeSiblings.clear();\n this._scrollNode = null;\n this._parentPositions.clear();\n this._dragDropRegistry.removeDropContainer(this);\n }\n /** Whether an item from this list is currently being dragged. */\n isDragging() {\n return this._isDragging;\n }\n /** Starts dragging an item. */\n start() {\n this._draggingStarted();\n this._notifyReceivingSiblings();\n }\n /**\n * Attempts to move an item into the container.\n * @param item Item that was moved into the container.\n * @param pointerX Position of the item along the X axis.\n * @param pointerY Position of the item along the Y axis.\n * @param index Index at which the item entered. If omitted, the container will try to figure it\n * out automatically.\n */\n enter(item, pointerX, pointerY, index) {\n this._draggingStarted();\n // If sorting is disabled, we want the item to return to its starting\n // position if the user is returning it to its initial container.\n if (index == null && this.sortingDisabled) {\n index = this._draggables.indexOf(item);\n }\n this._sortStrategy.enter(item, pointerX, pointerY, index);\n // Note that this usually happens inside `_draggingStarted` as well, but the dimensions\n // can change when the sort strategy moves the item around inside `enter`.\n this._cacheParentPositions();\n // Notify siblings at the end so that the item has been inserted into the `activeDraggables`.\n this._notifyReceivingSiblings();\n this.entered.next({ item, container: this, currentIndex: this.getItemIndex(item) });\n }\n /**\n * Removes an item from the container after it was dragged into another container by the user.\n * @param item Item that was dragged out.\n */\n exit(item) {\n this._reset();\n this.exited.next({ item, container: this });\n }\n /**\n * Drops an item into this container.\n * @param item Item being dropped into the container.\n * @param currentIndex Index at which the item should be inserted.\n * @param previousIndex Index of the item when dragging started.\n * @param previousContainer Container from which the item got dragged in.\n * @param isPointerOverContainer Whether the user's pointer was over the\n * container when the item was dropped.\n * @param distance Distance the user has dragged since the start of the dragging sequence.\n * @param event Event that triggered the dropping sequence.\n *\n * @breaking-change 15.0.0 `previousIndex` and `event` parameters to become required.\n */\n drop(item, currentIndex, previousIndex, previousContainer, isPointerOverContainer, distance, dropPoint, event = {}) {\n this._reset();\n this.dropped.next({\n item,\n currentIndex,\n previousIndex,\n container: this,\n previousContainer,\n isPointerOverContainer,\n distance,\n dropPoint,\n event,\n });\n }\n /**\n * Sets the draggable items that are a part of this list.\n * @param items Items that are a part of this list.\n */\n withItems(items) {\n const previousItems = this._draggables;\n this._draggables = items;\n items.forEach(item => item._withDropContainer(this));\n if (this.isDragging()) {\n const draggedItems = previousItems.filter(item => item.isDragging());\n // If all of the items being dragged were removed\n // from the list, abort the current drag sequence.\n if (draggedItems.every(item => items.indexOf(item) === -1)) {\n this._reset();\n }\n else {\n this._sortStrategy.withItems(this._draggables);\n }\n }\n return this;\n }\n /** Sets the layout direction of the drop list. */\n withDirection(direction) {\n this._sortStrategy.direction = direction;\n return this;\n }\n /**\n * Sets the containers that are connected to this one. When two or more containers are\n * connected, the user will be allowed to transfer items between them.\n * @param connectedTo Other containers that the current containers should be connected to.\n */\n connectedTo(connectedTo) {\n this._siblings = connectedTo.slice();\n return this;\n }\n /**\n * Sets the orientation of the container.\n * @param orientation New orientation for the container.\n */\n withOrientation(orientation) {\n // TODO(crisbeto): eventually we should be constructing the new sort strategy here based on\n // the new orientation. For now we can assume that it'll always be `SingleAxisSortStrategy`.\n this._sortStrategy.orientation = orientation;\n return this;\n }\n /**\n * Sets which parent elements are can be scrolled while the user is dragging.\n * @param elements Elements that can be scrolled.\n */\n withScrollableParents(elements) {\n const element = coerceElement(this.element);\n // We always allow the current element to be scrollable\n // so we need to ensure that it's in the array.\n this._scrollableElements =\n elements.indexOf(element) === -1 ? [element, ...elements] : elements.slice();\n return this;\n }\n /** Gets the scrollable parents that are registered with this drop container. */\n getScrollableParents() {\n return this._scrollableElements;\n }\n /**\n * Figures out the index of an item in the container.\n * @param item Item whose index should be determined.\n */\n getItemIndex(item) {\n return this._isDragging\n ? this._sortStrategy.getItemIndex(item)\n : this._draggables.indexOf(item);\n }\n /**\n * Whether the list is able to receive the item that\n * is currently being dragged inside a connected drop list.\n */\n isReceiving() {\n return this._activeSiblings.size > 0;\n }\n /**\n * Sorts an item inside the container based on its position.\n * @param item Item to be sorted.\n * @param pointerX Position of the item along the X axis.\n * @param pointerY Position of the item along the Y axis.\n * @param pointerDelta Direction in which the pointer is moving along each axis.\n */\n _sortItem(item, pointerX, pointerY, pointerDelta) {\n // Don't sort the item if sorting is disabled or it's out of range.\n if (this.sortingDisabled ||\n !this._clientRect ||\n !isPointerNearClientRect(this._clientRect, DROP_PROXIMITY_THRESHOLD, pointerX, pointerY)) {\n return;\n }\n const result = this._sortStrategy.sort(item, pointerX, pointerY, pointerDelta);\n if (result) {\n this.sorted.next({\n previousIndex: result.previousIndex,\n currentIndex: result.currentIndex,\n container: this,\n item,\n });\n }\n }\n /**\n * Checks whether the user's pointer is close to the edges of either the\n * viewport or the drop list and starts the auto-scroll sequence.\n * @param pointerX User's pointer position along the x axis.\n * @param pointerY User's pointer position along the y axis.\n */\n _startScrollingIfNecessary(pointerX, pointerY) {\n if (this.autoScrollDisabled) {\n return;\n }\n let scrollNode;\n let verticalScrollDirection = 0 /* AutoScrollVerticalDirection.NONE */;\n let horizontalScrollDirection = 0 /* AutoScrollHorizontalDirection.NONE */;\n // Check whether we should start scrolling any of the parent containers.\n this._parentPositions.positions.forEach((position, element) => {\n // We have special handling for the `document` below. Also this would be\n // nicer with a for...of loop, but it requires changing a compiler flag.\n if (element === this._document || !position.clientRect || scrollNode) {\n return;\n }\n if (isPointerNearClientRect(position.clientRect, DROP_PROXIMITY_THRESHOLD, pointerX, pointerY)) {\n [verticalScrollDirection, horizontalScrollDirection] = getElementScrollDirections(element, position.clientRect, pointerX, pointerY);\n if (verticalScrollDirection || horizontalScrollDirection) {\n scrollNode = element;\n }\n }\n });\n // Otherwise check if we can start scrolling the viewport.\n if (!verticalScrollDirection && !horizontalScrollDirection) {\n const { width, height } = this._viewportRuler.getViewportSize();\n const clientRect = {\n width,\n height,\n top: 0,\n right: width,\n bottom: height,\n left: 0,\n };\n verticalScrollDirection = getVerticalScrollDirection(clientRect, pointerY);\n horizontalScrollDirection = getHorizontalScrollDirection(clientRect, pointerX);\n scrollNode = window;\n }\n if (scrollNode &&\n (verticalScrollDirection !== this._verticalScrollDirection ||\n horizontalScrollDirection !== this._horizontalScrollDirection ||\n scrollNode !== this._scrollNode)) {\n this._verticalScrollDirection = verticalScrollDirection;\n this._horizontalScrollDirection = horizontalScrollDirection;\n this._scrollNode = scrollNode;\n if ((verticalScrollDirection || horizontalScrollDirection) && scrollNode) {\n this._ngZone.runOutsideAngular(this._startScrollInterval);\n }\n else {\n this._stopScrolling();\n }\n }\n }\n /** Stops any currently-running auto-scroll sequences. */\n _stopScrolling() {\n this._stopScrollTimers.next();\n }\n /** Starts the dragging sequence within the list. */\n _draggingStarted() {\n const styles = coerceElement(this.element).style;\n this.beforeStarted.next();\n this._isDragging = true;\n // We need to disable scroll snapping while the user is dragging, because it breaks automatic\n // scrolling. The browser seems to round the value based on the snapping points which means\n // that we can't increment/decrement the scroll position.\n this._initialScrollSnap = styles.msScrollSnapType || styles.scrollSnapType || '';\n styles.scrollSnapType = styles.msScrollSnapType = 'none';\n this._sortStrategy.start(this._draggables);\n this._cacheParentPositions();\n this._viewportScrollSubscription.unsubscribe();\n this._listenToScrollEvents();\n }\n /** Caches the positions of the configured scrollable parents. */\n _cacheParentPositions() {\n const element = coerceElement(this.element);\n this._parentPositions.cache(this._scrollableElements);\n // The list element is always in the `scrollableElements`\n // so we can take advantage of the cached `ClientRect`.\n this._clientRect = this._parentPositions.positions.get(element).clientRect;\n }\n /** Resets the container to its initial state. */\n _reset() {\n this._isDragging = false;\n const styles = coerceElement(this.element).style;\n styles.scrollSnapType = styles.msScrollSnapType = this._initialScrollSnap;\n this._siblings.forEach(sibling => sibling._stopReceiving(this));\n this._sortStrategy.reset();\n this._stopScrolling();\n this._viewportScrollSubscription.unsubscribe();\n this._parentPositions.clear();\n }\n /**\n * Checks whether the user's pointer is positioned over the container.\n * @param x Pointer position along the X axis.\n * @param y Pointer position along the Y axis.\n */\n _isOverContainer(x, y) {\n return this._clientRect != null && isInsideClientRect(this._clientRect, x, y);\n }\n /**\n * Figures out whether an item should be moved into a sibling\n * drop container, based on its current position.\n * @param item Drag item that is being moved.\n * @param x Position of the item along the X axis.\n * @param y Position of the item along the Y axis.\n */\n _getSiblingContainerFromPosition(item, x, y) {\n return this._siblings.find(sibling => sibling._canReceive(item, x, y));\n }\n /**\n * Checks whether the drop list can receive the passed-in item.\n * @param item Item that is being dragged into the list.\n * @param x Position of the item along the X axis.\n * @param y Position of the item along the Y axis.\n */\n _canReceive(item, x, y) {\n if (!this._clientRect ||\n !isInsideClientRect(this._clientRect, x, y) ||\n !this.enterPredicate(item, this)) {\n return false;\n }\n const elementFromPoint = this._getShadowRoot().elementFromPoint(x, y);\n // If there's no element at the pointer position, then\n // the client rect is probably scrolled out of the view.\n if (!elementFromPoint) {\n return false;\n }\n const nativeElement = coerceElement(this.element);\n // The `ClientRect`, that we're using to find the container over which the user is\n // hovering, doesn't give us any information on whether the element has been scrolled\n // out of the view or whether it's overlapping with other containers. This means that\n // we could end up transferring the item into a container that's invisible or is positioned\n // below another one. We use the result from `elementFromPoint` to get the top-most element\n // at the pointer position and to find whether it's one of the intersecting drop containers.\n return elementFromPoint === nativeElement || nativeElement.contains(elementFromPoint);\n }\n /**\n * Called by one of the connected drop lists when a dragging sequence has started.\n * @param sibling Sibling in which dragging has started.\n */\n _startReceiving(sibling, items) {\n const activeSiblings = this._activeSiblings;\n if (!activeSiblings.has(sibling) &&\n items.every(item => {\n // Note that we have to add an exception to the `enterPredicate` for items that started off\n // in this drop list. The drag ref has logic that allows an item to return to its initial\n // container, if it has left the initial container and none of the connected containers\n // allow it to enter. See `DragRef._updateActiveDropContainer` for more context.\n return this.enterPredicate(item, this) || this._draggables.indexOf(item) > -1;\n })) {\n activeSiblings.add(sibling);\n this._cacheParentPositions();\n this._listenToScrollEvents();\n this.receivingStarted.next({\n initiator: sibling,\n receiver: this,\n items,\n });\n }\n }\n /**\n * Called by a connected drop list when dragging has stopped.\n * @param sibling Sibling whose dragging has stopped.\n */\n _stopReceiving(sibling) {\n this._activeSiblings.delete(sibling);\n this._viewportScrollSubscription.unsubscribe();\n this.receivingStopped.next({ initiator: sibling, receiver: this });\n }\n /**\n * Starts listening to scroll events on the viewport.\n * Used for updating the internal state of the list.\n */\n _listenToScrollEvents() {\n this._viewportScrollSubscription = this._dragDropRegistry\n .scrolled(this._getShadowRoot())\n .subscribe(event => {\n if (this.isDragging()) {\n const scrollDifference = this._parentPositions.handleScroll(event);\n if (scrollDifference) {\n this._sortStrategy.updateOnScroll(scrollDifference.top, scrollDifference.left);\n }\n }\n else if (this.isReceiving()) {\n this._cacheParentPositions();\n }\n });\n }\n /**\n * Lazily resolves and returns the shadow root of the element. We do this in a function, rather\n * than saving it in property directly on init, because we want to resolve it as late as possible\n * in order to ensure that the element has been moved into the shadow DOM. Doing it inside the\n * constructor might be too early if the element is inside of something like `ngFor` or `ngIf`.\n */\n _getShadowRoot() {\n if (!this._cachedShadowRoot) {\n const shadowRoot = _getShadowRoot(coerceElement(this.element));\n this._cachedShadowRoot = (shadowRoot || this._document);\n }\n return this._cachedShadowRoot;\n }\n /** Notifies any siblings that may potentially receive the item. */\n _notifyReceivingSiblings() {\n const draggedItems = this._sortStrategy\n .getActiveItemsSnapshot()\n .filter(item => item.isDragging());\n this._siblings.forEach(sibling => sibling._startReceiving(this, draggedItems));\n }\n}\n/**\n * Gets whether the vertical auto-scroll direction of a node.\n * @param clientRect Dimensions of the node.\n * @param pointerY Position of the user's pointer along the y axis.\n */\nfunction getVerticalScrollDirection(clientRect, pointerY) {\n const { top, bottom, height } = clientRect;\n const yThreshold = height * SCROLL_PROXIMITY_THRESHOLD;\n if (pointerY >= top - yThreshold && pointerY <= top + yThreshold) {\n return 1 /* AutoScrollVerticalDirection.UP */;\n }\n else if (pointerY >= bottom - yThreshold && pointerY <= bottom + yThreshold) {\n return 2 /* AutoScrollVerticalDirection.DOWN */;\n }\n return 0 /* AutoScrollVerticalDirection.NONE */;\n}\n/**\n * Gets whether the horizontal auto-scroll direction of a node.\n * @param clientRect Dimensions of the node.\n * @param pointerX Position of the user's pointer along the x axis.\n */\nfunction getHorizontalScrollDirection(clientRect, pointerX) {\n const { left, right, width } = clientRect;\n const xThreshold = width * SCROLL_PROXIMITY_THRESHOLD;\n if (pointerX >= left - xThreshold && pointerX <= left + xThreshold) {\n return 1 /* AutoScrollHorizontalDirection.LEFT */;\n }\n else if (pointerX >= right - xThreshold && pointerX <= right + xThreshold) {\n return 2 /* AutoScrollHorizontalDirection.RIGHT */;\n }\n return 0 /* AutoScrollHorizontalDirection.NONE */;\n}\n/**\n * Gets the directions in which an element node should be scrolled,\n * assuming that the user's pointer is already within it scrollable region.\n * @param element Element for which we should calculate the scroll direction.\n * @param clientRect Bounding client rectangle of the element.\n * @param pointerX Position of the user's pointer along the x axis.\n * @param pointerY Position of the user's pointer along the y axis.\n */\nfunction getElementScrollDirections(element, clientRect, pointerX, pointerY) {\n const computedVertical = getVerticalScrollDirection(clientRect, pointerY);\n const computedHorizontal = getHorizontalScrollDirection(clientRect, pointerX);\n let verticalScrollDirection = 0 /* AutoScrollVerticalDirection.NONE */;\n let horizontalScrollDirection = 0 /* AutoScrollHorizontalDirection.NONE */;\n // Note that we here we do some extra checks for whether the element is actually scrollable in\n // a certain direction and we only assign the scroll direction if it is. We do this so that we\n // can allow other elements to be scrolled, if the current element can't be scrolled anymore.\n // This allows us to handle cases where the scroll regions of two scrollable elements overlap.\n if (computedVertical) {\n const scrollTop = element.scrollTop;\n if (computedVertical === 1 /* AutoScrollVerticalDirection.UP */) {\n if (scrollTop > 0) {\n verticalScrollDirection = 1 /* AutoScrollVerticalDirection.UP */;\n }\n }\n else if (element.scrollHeight - scrollTop > element.clientHeight) {\n verticalScrollDirection = 2 /* AutoScrollVerticalDirection.DOWN */;\n }\n }\n if (computedHorizontal) {\n const scrollLeft = element.scrollLeft;\n if (computedHorizontal === 1 /* AutoScrollHorizontalDirection.LEFT */) {\n if (scrollLeft > 0) {\n horizontalScrollDirection = 1 /* AutoScrollHorizontalDirection.LEFT */;\n }\n }\n else if (element.scrollWidth - scrollLeft > element.clientWidth) {\n horizontalScrollDirection = 2 /* AutoScrollHorizontalDirection.RIGHT */;\n }\n }\n return [verticalScrollDirection, horizontalScrollDirection];\n}\n\n/** Event options that can be used to bind an active, capturing event. */\nconst activeCapturingEventOptions = normalizePassiveListenerOptions({\n passive: false,\n capture: true,\n});\n/**\n * Service that keeps track of all the drag item and drop container\n * instances, and manages global event listeners on the `document`.\n * @docs-private\n */\n// Note: this class is generic, rather than referencing CdkDrag and CdkDropList directly, in order\n// to avoid circular imports. If we were to reference them here, importing the registry into the\n// classes that are registering themselves will introduce a circular import.\nclass DragDropRegistry {\n constructor(_ngZone, _document) {\n this._ngZone = _ngZone;\n /** Registered drop container instances. */\n this._dropInstances = new Set();\n /** Registered drag item instances. */\n this._dragInstances = new Set();\n /** Drag item instances that are currently being dragged. */\n this._activeDragInstances = [];\n /** Keeps track of the event listeners that we've bound to the `document`. */\n this._globalListeners = new Map();\n /**\n * Predicate function to check if an item is being dragged. Moved out into a property,\n * because it'll be called a lot and we don't want to create a new function every time.\n */\n this._draggingPredicate = (item) => item.isDragging();\n /**\n * Emits the `touchmove` or `mousemove` events that are dispatched\n * while the user is dragging a drag item instance.\n */\n this.pointerMove = new Subject();\n /**\n * Emits the `touchend` or `mouseup` events that are dispatched\n * while the user is dragging a drag item instance.\n */\n this.pointerUp = new Subject();\n /**\n * Emits when the viewport has been scrolled while the user is dragging an item.\n * @deprecated To be turned into a private member. Use the `scrolled` method instead.\n * @breaking-change 13.0.0\n */\n this.scroll = new Subject();\n /**\n * Event listener that will prevent the default browser action while the user is dragging.\n * @param event Event whose default action should be prevented.\n */\n this._preventDefaultWhileDragging = (event) => {\n if (this._activeDragInstances.length > 0) {\n event.preventDefault();\n }\n };\n /** Event listener for `touchmove` that is bound even if no dragging is happening. */\n this._persistentTouchmoveListener = (event) => {\n if (this._activeDragInstances.length > 0) {\n // Note that we only want to prevent the default action after dragging has actually started.\n // Usually this is the same time at which the item is added to the `_activeDragInstances`,\n // but it could be pushed back if the user has set up a drag delay or threshold.\n if (this._activeDragInstances.some(this._draggingPredicate)) {\n event.preventDefault();\n }\n this.pointerMove.next(event);\n }\n };\n this._document = _document;\n }\n /** Adds a drop container to the registry. */\n registerDropContainer(drop) {\n if (!this._dropInstances.has(drop)) {\n this._dropInstances.add(drop);\n }\n }\n /** Adds a drag item instance to the registry. */\n registerDragItem(drag) {\n this._dragInstances.add(drag);\n // The `touchmove` event gets bound once, ahead of time, because WebKit\n // won't preventDefault on a dynamically-added `touchmove` listener.\n // See https://bugs.webkit.org/show_bug.cgi?id=184250.\n if (this._dragInstances.size === 1) {\n this._ngZone.runOutsideAngular(() => {\n // The event handler has to be explicitly active,\n // because newer browsers make it passive by default.\n this._document.addEventListener('touchmove', this._persistentTouchmoveListener, activeCapturingEventOptions);\n });\n }\n }\n /** Removes a drop container from the registry. */\n removeDropContainer(drop) {\n this._dropInstances.delete(drop);\n }\n /** Removes a drag item instance from the registry. */\n removeDragItem(drag) {\n this._dragInstances.delete(drag);\n this.stopDragging(drag);\n if (this._dragInstances.size === 0) {\n this._document.removeEventListener('touchmove', this._persistentTouchmoveListener, activeCapturingEventOptions);\n }\n }\n /**\n * Starts the dragging sequence for a drag instance.\n * @param drag Drag instance which is being dragged.\n * @param event Event that initiated the dragging.\n */\n startDragging(drag, event) {\n // Do not process the same drag twice to avoid memory leaks and redundant listeners\n if (this._activeDragInstances.indexOf(drag) > -1) {\n return;\n }\n this._activeDragInstances.push(drag);\n if (this._activeDragInstances.length === 1) {\n const isTouchEvent = event.type.startsWith('touch');\n // We explicitly bind __active__ listeners here, because newer browsers will default to\n // passive ones for `mousemove` and `touchmove`. The events need to be active, because we\n // use `preventDefault` to prevent the page from scrolling while the user is dragging.\n this._globalListeners\n .set(isTouchEvent ? 'touchend' : 'mouseup', {\n handler: (e) => this.pointerUp.next(e),\n options: true,\n })\n .set('scroll', {\n handler: (e) => this.scroll.next(e),\n // Use capturing so that we pick up scroll changes in any scrollable nodes that aren't\n // the document. See https://github.com/angular/components/issues/17144.\n options: true,\n })\n // Preventing the default action on `mousemove` isn't enough to disable text selection\n // on Safari so we need to prevent the selection event as well. Alternatively this can\n // be done by setting `user-select: none` on the `body`, however it has causes a style\n // recalculation which can be expensive on pages with a lot of elements.\n .set('selectstart', {\n handler: this._preventDefaultWhileDragging,\n options: activeCapturingEventOptions,\n });\n // We don't have to bind a move event for touch drag sequences, because\n // we already have a persistent global one bound from `registerDragItem`.\n if (!isTouchEvent) {\n this._globalListeners.set('mousemove', {\n handler: (e) => this.pointerMove.next(e),\n options: activeCapturingEventOptions,\n });\n }\n this._ngZone.runOutsideAngular(() => {\n this._globalListeners.forEach((config, name) => {\n this._document.addEventListener(name, config.handler, config.options);\n });\n });\n }\n }\n /** Stops dragging a drag item instance. */\n stopDragging(drag) {\n const index = this._activeDragInstances.indexOf(drag);\n if (index > -1) {\n this._activeDragInstances.splice(index, 1);\n if (this._activeDragInstances.length === 0) {\n this._clearGlobalListeners();\n }\n }\n }\n /** Gets whether a drag item instance is currently being dragged. */\n isDragging(drag) {\n return this._activeDragInstances.indexOf(drag) > -1;\n }\n /**\n * Gets a stream that will emit when any element on the page is scrolled while an item is being\n * dragged.\n * @param shadowRoot Optional shadow root that the current dragging sequence started from.\n * Top-level listeners won't pick up events coming from the shadow DOM so this parameter can\n * be used to include an additional top-level listener at the shadow root level.\n */\n scrolled(shadowRoot) {\n const streams = [this.scroll];\n if (shadowRoot && shadowRoot !== this._document) {\n // Note that this is basically the same as `fromEvent` from rxjs, but we do it ourselves,\n // because we want to guarantee that the event is bound outside of the `NgZone`. With\n // `fromEvent` it'll only happen if the subscription is outside the `NgZone`.\n streams.push(new Observable((observer) => {\n return this._ngZone.runOutsideAngular(() => {\n const eventOptions = true;\n const callback = (event) => {\n if (this._activeDragInstances.length) {\n observer.next(event);\n }\n };\n shadowRoot.addEventListener('scroll', callback, eventOptions);\n return () => {\n shadowRoot.removeEventListener('scroll', callback, eventOptions);\n };\n });\n }));\n }\n return merge(...streams);\n }\n ngOnDestroy() {\n this._dragInstances.forEach(instance => this.removeDragItem(instance));\n this._dropInstances.forEach(instance => this.removeDropContainer(instance));\n this._clearGlobalListeners();\n this.pointerMove.complete();\n this.pointerUp.complete();\n }\n /** Clears out the global event listeners from the `document`. */\n _clearGlobalListeners() {\n this._globalListeners.forEach((config, name) => {\n this._document.removeEventListener(name, config.handler, config.options);\n });\n this._globalListeners.clear();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: DragDropRegistry, deps: [{ token: i0.NgZone }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: DragDropRegistry, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: DragDropRegistry, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: i0.NgZone }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }]; } });\n\n/** Default configuration to be used when creating a `DragRef`. */\nconst DEFAULT_CONFIG = {\n dragStartThreshold: 5,\n pointerDirectionChangeThreshold: 5,\n};\n/**\n * Service that allows for drag-and-drop functionality to be attached to DOM elements.\n */\nclass DragDrop {\n constructor(_document, _ngZone, _viewportRuler, _dragDropRegistry) {\n this._document = _document;\n this._ngZone = _ngZone;\n this._viewportRuler = _viewportRuler;\n this._dragDropRegistry = _dragDropRegistry;\n }\n /**\n * Turns an element into a draggable item.\n * @param element Element to which to attach the dragging functionality.\n * @param config Object used to configure the dragging behavior.\n */\n createDrag(element, config = DEFAULT_CONFIG) {\n return new DragRef(element, config, this._document, this._ngZone, this._viewportRuler, this._dragDropRegistry);\n }\n /**\n * Turns an element into a drop list.\n * @param element Element to which to attach the drop list functionality.\n */\n createDropList(element) {\n return new DropListRef(element, this._dragDropRegistry, this._document, this._ngZone, this._viewportRuler);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: DragDrop, deps: [{ token: DOCUMENT }, { token: i0.NgZone }, { token: i1.ViewportRuler }, { token: DragDropRegistry }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: DragDrop, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: DragDrop, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: i0.NgZone }, { type: i1.ViewportRuler }, { type: DragDropRegistry }]; } });\n\n/**\n * Injection token that can be used for a `CdkDrag` to provide itself as a parent to the\n * drag-specific child directive (`CdkDragHandle`, `CdkDragPreview` etc.). Used primarily\n * to avoid circular imports.\n * @docs-private\n */\nconst CDK_DRAG_PARENT = new InjectionToken('CDK_DRAG_PARENT');\n\n/**\n * Asserts that a particular node is an element.\n * @param node Node to be checked.\n * @param name Name to attach to the error message.\n */\nfunction assertElementNode(node, name) {\n if (node.nodeType !== 1) {\n throw Error(`${name} must be attached to an element node. ` + `Currently attached to \"${node.nodeName}\".`);\n }\n}\n\n/**\n * Injection token that can be used to reference instances of `CdkDragHandle`. It serves as\n * alternative token to the actual `CdkDragHandle` class which could cause unnecessary\n * retention of the class and its directive metadata.\n */\nconst CDK_DRAG_HANDLE = new InjectionToken('CdkDragHandle');\n/** Handle that can be used to drag a CdkDrag instance. */\nclass CdkDragHandle {\n /** Whether starting to drag through this handle is disabled. */\n get disabled() {\n return this._disabled;\n }\n set disabled(value) {\n this._disabled = coerceBooleanProperty(value);\n this._stateChanges.next(this);\n }\n constructor(element, parentDrag) {\n this.element = element;\n /** Emits when the state of the handle has changed. */\n this._stateChanges = new Subject();\n this._disabled = false;\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n assertElementNode(element.nativeElement, 'cdkDragHandle');\n }\n this._parentDrag = parentDrag;\n }\n ngOnDestroy() {\n this._stateChanges.complete();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkDragHandle, deps: [{ token: i0.ElementRef }, { token: CDK_DRAG_PARENT, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkDragHandle, isStandalone: true, selector: \"[cdkDragHandle]\", inputs: { disabled: [\"cdkDragHandleDisabled\", \"disabled\"] }, host: { classAttribute: \"cdk-drag-handle\" }, providers: [{ provide: CDK_DRAG_HANDLE, useExisting: CdkDragHandle }], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkDragHandle, decorators: [{\n type: Directive,\n args: [{\n selector: '[cdkDragHandle]',\n standalone: true,\n host: {\n 'class': 'cdk-drag-handle',\n },\n providers: [{ provide: CDK_DRAG_HANDLE, useExisting: CdkDragHandle }],\n }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: undefined, decorators: [{\n type: Inject,\n args: [CDK_DRAG_PARENT]\n }, {\n type: Optional\n }, {\n type: SkipSelf\n }] }]; }, propDecorators: { disabled: [{\n type: Input,\n args: ['cdkDragHandleDisabled']\n }] } });\n\n/**\n * Injection token that can be used to reference instances of `CdkDragPlaceholder`. It serves as\n * alternative token to the actual `CdkDragPlaceholder` class which could cause unnecessary\n * retention of the class and its directive metadata.\n */\nconst CDK_DRAG_PLACEHOLDER = new InjectionToken('CdkDragPlaceholder');\n/**\n * Element that will be used as a template for the placeholder of a CdkDrag when\n * it is being dragged. The placeholder is displayed in place of the element being dragged.\n */\nclass CdkDragPlaceholder {\n constructor(templateRef) {\n this.templateRef = templateRef;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkDragPlaceholder, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkDragPlaceholder, isStandalone: true, selector: \"ng-template[cdkDragPlaceholder]\", inputs: { data: \"data\" }, providers: [{ provide: CDK_DRAG_PLACEHOLDER, useExisting: CdkDragPlaceholder }], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkDragPlaceholder, decorators: [{\n type: Directive,\n args: [{\n selector: 'ng-template[cdkDragPlaceholder]',\n standalone: true,\n providers: [{ provide: CDK_DRAG_PLACEHOLDER, useExisting: CdkDragPlaceholder }],\n }]\n }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; }, propDecorators: { data: [{\n type: Input\n }] } });\n\n/**\n * Injection token that can be used to reference instances of `CdkDragPreview`. It serves as\n * alternative token to the actual `CdkDragPreview` class which could cause unnecessary\n * retention of the class and its directive metadata.\n */\nconst CDK_DRAG_PREVIEW = new InjectionToken('CdkDragPreview');\n/**\n * Element that will be used as a template for the preview\n * of a CdkDrag when it is being dragged.\n */\nclass CdkDragPreview {\n /** Whether the preview should preserve the same size as the item that is being dragged. */\n get matchSize() {\n return this._matchSize;\n }\n set matchSize(value) {\n this._matchSize = coerceBooleanProperty(value);\n }\n constructor(templateRef) {\n this.templateRef = templateRef;\n this._matchSize = false;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkDragPreview, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkDragPreview, isStandalone: true, selector: \"ng-template[cdkDragPreview]\", inputs: { data: \"data\", matchSize: \"matchSize\" }, providers: [{ provide: CDK_DRAG_PREVIEW, useExisting: CdkDragPreview }], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkDragPreview, decorators: [{\n type: Directive,\n args: [{\n selector: 'ng-template[cdkDragPreview]',\n standalone: true,\n providers: [{ provide: CDK_DRAG_PREVIEW, useExisting: CdkDragPreview }],\n }]\n }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; }, propDecorators: { data: [{\n type: Input\n }], matchSize: [{\n type: Input\n }] } });\n\n/**\n * Injection token that can be used to configure the\n * behavior of the drag&drop-related components.\n */\nconst CDK_DRAG_CONFIG = new InjectionToken('CDK_DRAG_CONFIG');\n\nconst DRAG_HOST_CLASS = 'cdk-drag';\n/**\n * Injection token that can be used to reference instances of `CdkDropList`. It serves as\n * alternative token to the actual `CdkDropList` class which could cause unnecessary\n * retention of the class and its directive metadata.\n */\nconst CDK_DROP_LIST = new InjectionToken('CdkDropList');\n/** Element that can be moved inside a CdkDropList container. */\nclass CdkDrag {\n static { this._dragInstances = []; }\n /** Whether starting to drag this element is disabled. */\n get disabled() {\n return this._disabled || (this.dropContainer && this.dropContainer.disabled);\n }\n set disabled(value) {\n this._disabled = coerceBooleanProperty(value);\n this._dragRef.disabled = this._disabled;\n }\n constructor(\n /** Element that the draggable is attached to. */\n element, \n /** Droppable container that the draggable is a part of. */\n dropContainer, \n /**\n * @deprecated `_document` parameter no longer being used and will be removed.\n * @breaking-change 12.0.0\n */\n _document, _ngZone, _viewContainerRef, config, _dir, dragDrop, _changeDetectorRef, _selfHandle, _parentDrag) {\n this.element = element;\n this.dropContainer = dropContainer;\n this._ngZone = _ngZone;\n this._viewContainerRef = _viewContainerRef;\n this._dir = _dir;\n this._changeDetectorRef = _changeDetectorRef;\n this._selfHandle = _selfHandle;\n this._parentDrag = _parentDrag;\n this._destroyed = new Subject();\n /** Emits when the user starts dragging the item. */\n this.started = new EventEmitter();\n /** Emits when the user has released a drag item, before any animations have started. */\n this.released = new EventEmitter();\n /** Emits when the user stops dragging an item in the container. */\n this.ended = new EventEmitter();\n /** Emits when the user has moved the item into a new container. */\n this.entered = new EventEmitter();\n /** Emits when the user removes the item its container by dragging it into another container. */\n this.exited = new EventEmitter();\n /** Emits when the user drops the item inside a container. */\n this.dropped = new EventEmitter();\n /**\n * Emits as the user is dragging the item. Use with caution,\n * because this event will fire for every pixel that the user has dragged.\n */\n this.moved = new Observable((observer) => {\n const subscription = this._dragRef.moved\n .pipe(map(movedEvent => ({\n source: this,\n pointerPosition: movedEvent.pointerPosition,\n event: movedEvent.event,\n delta: movedEvent.delta,\n distance: movedEvent.distance,\n })))\n .subscribe(observer);\n return () => {\n subscription.unsubscribe();\n };\n });\n this._dragRef = dragDrop.createDrag(element, {\n dragStartThreshold: config && config.dragStartThreshold != null ? config.dragStartThreshold : 5,\n pointerDirectionChangeThreshold: config && config.pointerDirectionChangeThreshold != null\n ? config.pointerDirectionChangeThreshold\n : 5,\n zIndex: config?.zIndex,\n });\n this._dragRef.data = this;\n // We have to keep track of the drag instances in order to be able to match an element to\n // a drag instance. We can't go through the global registry of `DragRef`, because the root\n // element could be different.\n CdkDrag._dragInstances.push(this);\n if (config) {\n this._assignDefaults(config);\n }\n // Note that usually the container is assigned when the drop list is picks up the item, but in\n // some cases (mainly transplanted views with OnPush, see #18341) we may end up in a situation\n // where there are no items on the first change detection pass, but the items get picked up as\n // soon as the user triggers another pass by dragging. This is a problem, because the item would\n // have to switch from standalone mode to drag mode in the middle of the dragging sequence which\n // is too late since the two modes save different kinds of information. We work around it by\n // assigning the drop container both from here and the list.\n if (dropContainer) {\n this._dragRef._withDropContainer(dropContainer._dropListRef);\n dropContainer.addItem(this);\n }\n this._syncInputs(this._dragRef);\n this._handleEvents(this._dragRef);\n }\n /**\n * Returns the element that is being used as a placeholder\n * while the current element is being dragged.\n */\n getPlaceholderElement() {\n return this._dragRef.getPlaceholderElement();\n }\n /** Returns the root draggable element. */\n getRootElement() {\n return this._dragRef.getRootElement();\n }\n /** Resets a standalone drag item to its initial position. */\n reset() {\n this._dragRef.reset();\n }\n /**\n * Gets the pixel coordinates of the draggable outside of a drop container.\n */\n getFreeDragPosition() {\n return this._dragRef.getFreeDragPosition();\n }\n /**\n * Sets the current position in pixels the draggable outside of a drop container.\n * @param value New position to be set.\n */\n setFreeDragPosition(value) {\n this._dragRef.setFreeDragPosition(value);\n }\n ngAfterViewInit() {\n // Normally this isn't in the zone, but it can cause major performance regressions for apps\n // using `zone-patch-rxjs` because it'll trigger a change detection when it unsubscribes.\n this._ngZone.runOutsideAngular(() => {\n // We need to wait for the zone to stabilize, in order for the reference\n // element to be in the proper place in the DOM. This is mostly relevant\n // for draggable elements inside portals since they get stamped out in\n // their original DOM position and then they get transferred to the portal.\n this._ngZone.onStable.pipe(take(1), takeUntil(this._destroyed)).subscribe(() => {\n this._updateRootElement();\n this._setupHandlesListener();\n if (this.freeDragPosition) {\n this._dragRef.setFreeDragPosition(this.freeDragPosition);\n }\n });\n });\n }\n ngOnChanges(changes) {\n const rootSelectorChange = changes['rootElementSelector'];\n const positionChange = changes['freeDragPosition'];\n // We don't have to react to the first change since it's being\n // handled in `ngAfterViewInit` where it needs to be deferred.\n if (rootSelectorChange && !rootSelectorChange.firstChange) {\n this._updateRootElement();\n }\n // Skip the first change since it's being handled in `ngAfterViewInit`.\n if (positionChange && !positionChange.firstChange && this.freeDragPosition) {\n this._dragRef.setFreeDragPosition(this.freeDragPosition);\n }\n }\n ngOnDestroy() {\n if (this.dropContainer) {\n this.dropContainer.removeItem(this);\n }\n const index = CdkDrag._dragInstances.indexOf(this);\n if (index > -1) {\n CdkDrag._dragInstances.splice(index, 1);\n }\n // Unnecessary in most cases, but used to avoid extra change detections with `zone-paths-rxjs`.\n this._ngZone.runOutsideAngular(() => {\n this._destroyed.next();\n this._destroyed.complete();\n this._dragRef.dispose();\n });\n }\n /** Syncs the root element with the `DragRef`. */\n _updateRootElement() {\n const element = this.element.nativeElement;\n let rootElement = element;\n if (this.rootElementSelector) {\n rootElement =\n element.closest !== undefined\n ? element.closest(this.rootElementSelector)\n : // Comment tag doesn't have closest method, so use parent's one.\n element.parentElement?.closest(this.rootElementSelector);\n }\n if (rootElement && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n assertElementNode(rootElement, 'cdkDrag');\n }\n this._dragRef.withRootElement(rootElement || element);\n }\n /** Gets the boundary element, based on the `boundaryElement` value. */\n _getBoundaryElement() {\n const boundary = this.boundaryElement;\n if (!boundary) {\n return null;\n }\n if (typeof boundary === 'string') {\n return this.element.nativeElement.closest(boundary);\n }\n return coerceElement(boundary);\n }\n /** Syncs the inputs of the CdkDrag with the options of the underlying DragRef. */\n _syncInputs(ref) {\n ref.beforeStarted.subscribe(() => {\n if (!ref.isDragging()) {\n const dir = this._dir;\n const dragStartDelay = this.dragStartDelay;\n const placeholder = this._placeholderTemplate\n ? {\n template: this._placeholderTemplate.templateRef,\n context: this._placeholderTemplate.data,\n viewContainer: this._viewContainerRef,\n }\n : null;\n const preview = this._previewTemplate\n ? {\n template: this._previewTemplate.templateRef,\n context: this._previewTemplate.data,\n matchSize: this._previewTemplate.matchSize,\n viewContainer: this._viewContainerRef,\n }\n : null;\n ref.disabled = this.disabled;\n ref.lockAxis = this.lockAxis;\n ref.dragStartDelay =\n typeof dragStartDelay === 'object' && dragStartDelay\n ? dragStartDelay\n : coerceNumberProperty(dragStartDelay);\n ref.constrainPosition = this.constrainPosition;\n ref.previewClass = this.previewClass;\n ref\n .withBoundaryElement(this._getBoundaryElement())\n .withPlaceholderTemplate(placeholder)\n .withPreviewTemplate(preview)\n .withPreviewContainer(this.previewContainer || 'global');\n if (dir) {\n ref.withDirection(dir.value);\n }\n }\n });\n // This only needs to be resolved once.\n ref.beforeStarted.pipe(take(1)).subscribe(() => {\n // If we managed to resolve a parent through DI, use it.\n if (this._parentDrag) {\n ref.withParent(this._parentDrag._dragRef);\n return;\n }\n // Otherwise fall back to resolving the parent by looking up the DOM. This can happen if\n // the item was projected into another item by something like `ngTemplateOutlet`.\n let parent = this.element.nativeElement.parentElement;\n while (parent) {\n if (parent.classList.contains(DRAG_HOST_CLASS)) {\n ref.withParent(CdkDrag._dragInstances.find(drag => {\n return drag.element.nativeElement === parent;\n })?._dragRef || null);\n break;\n }\n parent = parent.parentElement;\n }\n });\n }\n /** Handles the events from the underlying `DragRef`. */\n _handleEvents(ref) {\n ref.started.subscribe(startEvent => {\n this.started.emit({ source: this, event: startEvent.event });\n // Since all of these events run outside of change detection,\n // we need to ensure that everything is marked correctly.\n this._changeDetectorRef.markForCheck();\n });\n ref.released.subscribe(releaseEvent => {\n this.released.emit({ source: this, event: releaseEvent.event });\n });\n ref.ended.subscribe(endEvent => {\n this.ended.emit({\n source: this,\n distance: endEvent.distance,\n dropPoint: endEvent.dropPoint,\n event: endEvent.event,\n });\n // Since all of these events run outside of change detection,\n // we need to ensure that everything is marked correctly.\n this._changeDetectorRef.markForCheck();\n });\n ref.entered.subscribe(enterEvent => {\n this.entered.emit({\n container: enterEvent.container.data,\n item: this,\n currentIndex: enterEvent.currentIndex,\n });\n });\n ref.exited.subscribe(exitEvent => {\n this.exited.emit({\n container: exitEvent.container.data,\n item: this,\n });\n });\n ref.dropped.subscribe(dropEvent => {\n this.dropped.emit({\n previousIndex: dropEvent.previousIndex,\n currentIndex: dropEvent.currentIndex,\n previousContainer: dropEvent.previousContainer.data,\n container: dropEvent.container.data,\n isPointerOverContainer: dropEvent.isPointerOverContainer,\n item: this,\n distance: dropEvent.distance,\n dropPoint: dropEvent.dropPoint,\n event: dropEvent.event,\n });\n });\n }\n /** Assigns the default input values based on a provided config object. */\n _assignDefaults(config) {\n const { lockAxis, dragStartDelay, constrainPosition, previewClass, boundaryElement, draggingDisabled, rootElementSelector, previewContainer, } = config;\n this.disabled = draggingDisabled == null ? false : draggingDisabled;\n this.dragStartDelay = dragStartDelay || 0;\n if (lockAxis) {\n this.lockAxis = lockAxis;\n }\n if (constrainPosition) {\n this.constrainPosition = constrainPosition;\n }\n if (previewClass) {\n this.previewClass = previewClass;\n }\n if (boundaryElement) {\n this.boundaryElement = boundaryElement;\n }\n if (rootElementSelector) {\n this.rootElementSelector = rootElementSelector;\n }\n if (previewContainer) {\n this.previewContainer = previewContainer;\n }\n }\n /** Sets up the listener that syncs the handles with the drag ref. */\n _setupHandlesListener() {\n // Listen for any newly-added handles.\n this._handles.changes\n .pipe(startWith(this._handles), \n // Sync the new handles with the DragRef.\n tap((handles) => {\n const childHandleElements = handles\n .filter(handle => handle._parentDrag === this)\n .map(handle => handle.element);\n // Usually handles are only allowed to be a descendant of the drag element, but if\n // the consumer defined a different drag root, we should allow the drag element\n // itself to be a handle too.\n if (this._selfHandle && this.rootElementSelector) {\n childHandleElements.push(this.element);\n }\n this._dragRef.withHandles(childHandleElements);\n }), \n // Listen if the state of any of the handles changes.\n switchMap((handles) => {\n return merge(...handles.map(item => {\n return item._stateChanges.pipe(startWith(item));\n }));\n }), takeUntil(this._destroyed))\n .subscribe(handleInstance => {\n // Enabled/disable the handle that changed in the DragRef.\n const dragRef = this._dragRef;\n const handle = handleInstance.element.nativeElement;\n handleInstance.disabled ? dragRef.disableHandle(handle) : dragRef.enableHandle(handle);\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkDrag, deps: [{ token: i0.ElementRef }, { token: CDK_DROP_LIST, optional: true, skipSelf: true }, { token: DOCUMENT }, { token: i0.NgZone }, { token: i0.ViewContainerRef }, { token: CDK_DRAG_CONFIG, optional: true }, { token: i1$1.Directionality, optional: true }, { token: DragDrop }, { token: i0.ChangeDetectorRef }, { token: CDK_DRAG_HANDLE, optional: true, self: true }, { token: CDK_DRAG_PARENT, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkDrag, isStandalone: true, selector: \"[cdkDrag]\", inputs: { data: [\"cdkDragData\", \"data\"], lockAxis: [\"cdkDragLockAxis\", \"lockAxis\"], rootElementSelector: [\"cdkDragRootElement\", \"rootElementSelector\"], boundaryElement: [\"cdkDragBoundary\", \"boundaryElement\"], dragStartDelay: [\"cdkDragStartDelay\", \"dragStartDelay\"], freeDragPosition: [\"cdkDragFreeDragPosition\", \"freeDragPosition\"], disabled: [\"cdkDragDisabled\", \"disabled\"], constrainPosition: [\"cdkDragConstrainPosition\", \"constrainPosition\"], previewClass: [\"cdkDragPreviewClass\", \"previewClass\"], previewContainer: [\"cdkDragPreviewContainer\", \"previewContainer\"] }, outputs: { started: \"cdkDragStarted\", released: \"cdkDragReleased\", ended: \"cdkDragEnded\", entered: \"cdkDragEntered\", exited: \"cdkDragExited\", dropped: \"cdkDragDropped\", moved: \"cdkDragMoved\" }, host: { properties: { \"class.cdk-drag-disabled\": \"disabled\", \"class.cdk-drag-dragging\": \"_dragRef.isDragging()\" }, classAttribute: \"cdk-drag\" }, providers: [{ provide: CDK_DRAG_PARENT, useExisting: CdkDrag }], queries: [{ propertyName: \"_previewTemplate\", first: true, predicate: CDK_DRAG_PREVIEW, descendants: true }, { propertyName: \"_placeholderTemplate\", first: true, predicate: CDK_DRAG_PLACEHOLDER, descendants: true }, { propertyName: \"_handles\", predicate: CDK_DRAG_HANDLE, descendants: true }], exportAs: [\"cdkDrag\"], usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkDrag, decorators: [{\n type: Directive,\n args: [{\n selector: '[cdkDrag]',\n exportAs: 'cdkDrag',\n standalone: true,\n host: {\n 'class': DRAG_HOST_CLASS,\n '[class.cdk-drag-disabled]': 'disabled',\n '[class.cdk-drag-dragging]': '_dragRef.isDragging()',\n },\n providers: [{ provide: CDK_DRAG_PARENT, useExisting: CdkDrag }],\n }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: undefined, decorators: [{\n type: Inject,\n args: [CDK_DROP_LIST]\n }, {\n type: Optional\n }, {\n type: SkipSelf\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: i0.NgZone }, { type: i0.ViewContainerRef }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [CDK_DRAG_CONFIG]\n }] }, { type: i1$1.Directionality, decorators: [{\n type: Optional\n }] }, { type: DragDrop }, { type: i0.ChangeDetectorRef }, { type: CdkDragHandle, decorators: [{\n type: Optional\n }, {\n type: Self\n }, {\n type: Inject,\n args: [CDK_DRAG_HANDLE]\n }] }, { type: CdkDrag, decorators: [{\n type: Optional\n }, {\n type: SkipSelf\n }, {\n type: Inject,\n args: [CDK_DRAG_PARENT]\n }] }]; }, propDecorators: { _handles: [{\n type: ContentChildren,\n args: [CDK_DRAG_HANDLE, { descendants: true }]\n }], _previewTemplate: [{\n type: ContentChild,\n args: [CDK_DRAG_PREVIEW]\n }], _placeholderTemplate: [{\n type: ContentChild,\n args: [CDK_DRAG_PLACEHOLDER]\n }], data: [{\n type: Input,\n args: ['cdkDragData']\n }], lockAxis: [{\n type: Input,\n args: ['cdkDragLockAxis']\n }], rootElementSelector: [{\n type: Input,\n args: ['cdkDragRootElement']\n }], boundaryElement: [{\n type: Input,\n args: ['cdkDragBoundary']\n }], dragStartDelay: [{\n type: Input,\n args: ['cdkDragStartDelay']\n }], freeDragPosition: [{\n type: Input,\n args: ['cdkDragFreeDragPosition']\n }], disabled: [{\n type: Input,\n args: ['cdkDragDisabled']\n }], constrainPosition: [{\n type: Input,\n args: ['cdkDragConstrainPosition']\n }], previewClass: [{\n type: Input,\n args: ['cdkDragPreviewClass']\n }], previewContainer: [{\n type: Input,\n args: ['cdkDragPreviewContainer']\n }], started: [{\n type: Output,\n args: ['cdkDragStarted']\n }], released: [{\n type: Output,\n args: ['cdkDragReleased']\n }], ended: [{\n type: Output,\n args: ['cdkDragEnded']\n }], entered: [{\n type: Output,\n args: ['cdkDragEntered']\n }], exited: [{\n type: Output,\n args: ['cdkDragExited']\n }], dropped: [{\n type: Output,\n args: ['cdkDragDropped']\n }], moved: [{\n type: Output,\n args: ['cdkDragMoved']\n }] } });\n\n/**\n * Injection token that can be used to reference instances of `CdkDropListGroup`. It serves as\n * alternative token to the actual `CdkDropListGroup` class which could cause unnecessary\n * retention of the class and its directive metadata.\n */\nconst CDK_DROP_LIST_GROUP = new InjectionToken('CdkDropListGroup');\n/**\n * Declaratively connects sibling `cdkDropList` instances together. All of the `cdkDropList`\n * elements that are placed inside a `cdkDropListGroup` will be connected to each other\n * automatically. Can be used as an alternative to the `cdkDropListConnectedTo` input\n * from `cdkDropList`.\n */\nclass CdkDropListGroup {\n constructor() {\n /** Drop lists registered inside the group. */\n this._items = new Set();\n this._disabled = false;\n }\n /** Whether starting a dragging sequence from inside this group is disabled. */\n get disabled() {\n return this._disabled;\n }\n set disabled(value) {\n this._disabled = coerceBooleanProperty(value);\n }\n ngOnDestroy() {\n this._items.clear();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkDropListGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkDropListGroup, isStandalone: true, selector: \"[cdkDropListGroup]\", inputs: { disabled: [\"cdkDropListGroupDisabled\", \"disabled\"] }, providers: [{ provide: CDK_DROP_LIST_GROUP, useExisting: CdkDropListGroup }], exportAs: [\"cdkDropListGroup\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkDropListGroup, decorators: [{\n type: Directive,\n args: [{\n selector: '[cdkDropListGroup]',\n exportAs: 'cdkDropListGroup',\n standalone: true,\n providers: [{ provide: CDK_DROP_LIST_GROUP, useExisting: CdkDropListGroup }],\n }]\n }], propDecorators: { disabled: [{\n type: Input,\n args: ['cdkDropListGroupDisabled']\n }] } });\n\n/** Counter used to generate unique ids for drop zones. */\nlet _uniqueIdCounter = 0;\n/** Container that wraps a set of draggable items. */\nclass CdkDropList {\n /** Keeps track of the drop lists that are currently on the page. */\n static { this._dropLists = []; }\n /** Whether starting a dragging sequence from this container is disabled. */\n get disabled() {\n return this._disabled || (!!this._group && this._group.disabled);\n }\n set disabled(value) {\n // Usually we sync the directive and ref state right before dragging starts, in order to have\n // a single point of failure and to avoid having to use setters for everything. `disabled` is\n // a special case, because it can prevent the `beforeStarted` event from firing, which can lock\n // the user in a disabled state, so we also need to sync it as it's being set.\n this._dropListRef.disabled = this._disabled = coerceBooleanProperty(value);\n }\n constructor(\n /** Element that the drop list is attached to. */\n element, dragDrop, _changeDetectorRef, _scrollDispatcher, _dir, _group, config) {\n this.element = element;\n this._changeDetectorRef = _changeDetectorRef;\n this._scrollDispatcher = _scrollDispatcher;\n this._dir = _dir;\n this._group = _group;\n /** Emits when the list has been destroyed. */\n this._destroyed = new Subject();\n /**\n * Other draggable containers that this container is connected to and into which the\n * container's items can be transferred. Can either be references to other drop containers,\n * or their unique IDs.\n */\n this.connectedTo = [];\n /**\n * Unique ID for the drop zone. Can be used as a reference\n * in the `connectedTo` of another `CdkDropList`.\n */\n this.id = `cdk-drop-list-${_uniqueIdCounter++}`;\n /**\n * Function that is used to determine whether an item\n * is allowed to be moved into a drop container.\n */\n this.enterPredicate = () => true;\n /** Functions that is used to determine whether an item can be sorted into a particular index. */\n this.sortPredicate = () => true;\n /** Emits when the user drops an item inside the container. */\n this.dropped = new EventEmitter();\n /**\n * Emits when the user has moved a new drag item into this container.\n */\n this.entered = new EventEmitter();\n /**\n * Emits when the user removes an item from the container\n * by dragging it into another container.\n */\n this.exited = new EventEmitter();\n /** Emits as the user is swapping items while actively dragging. */\n this.sorted = new EventEmitter();\n /**\n * Keeps track of the items that are registered with this container. Historically we used to\n * do this with a `ContentChildren` query, however queries don't handle transplanted views very\n * well which means that we can't handle cases like dragging the headers of a `mat-table`\n * correctly. What we do instead is to have the items register themselves with the container\n * and then we sort them based on their position in the DOM.\n */\n this._unsortedItems = new Set();\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n assertElementNode(element.nativeElement, 'cdkDropList');\n }\n this._dropListRef = dragDrop.createDropList(element);\n this._dropListRef.data = this;\n if (config) {\n this._assignDefaults(config);\n }\n this._dropListRef.enterPredicate = (drag, drop) => {\n return this.enterPredicate(drag.data, drop.data);\n };\n this._dropListRef.sortPredicate = (index, drag, drop) => {\n return this.sortPredicate(index, drag.data, drop.data);\n };\n this._setupInputSyncSubscription(this._dropListRef);\n this._handleEvents(this._dropListRef);\n CdkDropList._dropLists.push(this);\n if (_group) {\n _group._items.add(this);\n }\n }\n /** Registers an items with the drop list. */\n addItem(item) {\n this._unsortedItems.add(item);\n if (this._dropListRef.isDragging()) {\n this._syncItemsWithRef();\n }\n }\n /** Removes an item from the drop list. */\n removeItem(item) {\n this._unsortedItems.delete(item);\n if (this._dropListRef.isDragging()) {\n this._syncItemsWithRef();\n }\n }\n /** Gets the registered items in the list, sorted by their position in the DOM. */\n getSortedItems() {\n return Array.from(this._unsortedItems).sort((a, b) => {\n const documentPosition = a._dragRef\n .getVisibleElement()\n .compareDocumentPosition(b._dragRef.getVisibleElement());\n // `compareDocumentPosition` returns a bitmask so we have to use a bitwise operator.\n // https://developer.mozilla.org/en-US/docs/Web/API/Node/compareDocumentPosition\n // tslint:disable-next-line:no-bitwise\n return documentPosition & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : 1;\n });\n }\n ngOnDestroy() {\n const index = CdkDropList._dropLists.indexOf(this);\n if (index > -1) {\n CdkDropList._dropLists.splice(index, 1);\n }\n if (this._group) {\n this._group._items.delete(this);\n }\n this._unsortedItems.clear();\n this._dropListRef.dispose();\n this._destroyed.next();\n this._destroyed.complete();\n }\n /** Syncs the inputs of the CdkDropList with the options of the underlying DropListRef. */\n _setupInputSyncSubscription(ref) {\n if (this._dir) {\n this._dir.change\n .pipe(startWith(this._dir.value), takeUntil(this._destroyed))\n .subscribe(value => ref.withDirection(value));\n }\n ref.beforeStarted.subscribe(() => {\n const siblings = coerceArray(this.connectedTo).map(drop => {\n if (typeof drop === 'string') {\n const correspondingDropList = CdkDropList._dropLists.find(list => list.id === drop);\n if (!correspondingDropList && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n console.warn(`CdkDropList could not find connected drop list with id \"${drop}\"`);\n }\n return correspondingDropList;\n }\n return drop;\n });\n if (this._group) {\n this._group._items.forEach(drop => {\n if (siblings.indexOf(drop) === -1) {\n siblings.push(drop);\n }\n });\n }\n // Note that we resolve the scrollable parents here so that we delay the resolution\n // as long as possible, ensuring that the element is in its final place in the DOM.\n if (!this._scrollableParentsResolved) {\n const scrollableParents = this._scrollDispatcher\n .getAncestorScrollContainers(this.element)\n .map(scrollable => scrollable.getElementRef().nativeElement);\n this._dropListRef.withScrollableParents(scrollableParents);\n // Only do this once since it involves traversing the DOM and the parents\n // shouldn't be able to change without the drop list being destroyed.\n this._scrollableParentsResolved = true;\n }\n ref.disabled = this.disabled;\n ref.lockAxis = this.lockAxis;\n ref.sortingDisabled = coerceBooleanProperty(this.sortingDisabled);\n ref.autoScrollDisabled = coerceBooleanProperty(this.autoScrollDisabled);\n ref.autoScrollStep = coerceNumberProperty(this.autoScrollStep, 2);\n ref\n .connectedTo(siblings.filter(drop => drop && drop !== this).map(list => list._dropListRef))\n .withOrientation(this.orientation);\n });\n }\n /** Handles events from the underlying DropListRef. */\n _handleEvents(ref) {\n ref.beforeStarted.subscribe(() => {\n this._syncItemsWithRef();\n this._changeDetectorRef.markForCheck();\n });\n ref.entered.subscribe(event => {\n this.entered.emit({\n container: this,\n item: event.item.data,\n currentIndex: event.currentIndex,\n });\n });\n ref.exited.subscribe(event => {\n this.exited.emit({\n container: this,\n item: event.item.data,\n });\n this._changeDetectorRef.markForCheck();\n });\n ref.sorted.subscribe(event => {\n this.sorted.emit({\n previousIndex: event.previousIndex,\n currentIndex: event.currentIndex,\n container: this,\n item: event.item.data,\n });\n });\n ref.dropped.subscribe(dropEvent => {\n this.dropped.emit({\n previousIndex: dropEvent.previousIndex,\n currentIndex: dropEvent.currentIndex,\n previousContainer: dropEvent.previousContainer.data,\n container: dropEvent.container.data,\n item: dropEvent.item.data,\n isPointerOverContainer: dropEvent.isPointerOverContainer,\n distance: dropEvent.distance,\n dropPoint: dropEvent.dropPoint,\n event: dropEvent.event,\n });\n // Mark for check since all of these events run outside of change\n // detection and we're not guaranteed for something else to have triggered it.\n this._changeDetectorRef.markForCheck();\n });\n merge(ref.receivingStarted, ref.receivingStopped).subscribe(() => this._changeDetectorRef.markForCheck());\n }\n /** Assigns the default input values based on a provided config object. */\n _assignDefaults(config) {\n const { lockAxis, draggingDisabled, sortingDisabled, listAutoScrollDisabled, listOrientation } = config;\n this.disabled = draggingDisabled == null ? false : draggingDisabled;\n this.sortingDisabled = sortingDisabled == null ? false : sortingDisabled;\n this.autoScrollDisabled = listAutoScrollDisabled == null ? false : listAutoScrollDisabled;\n this.orientation = listOrientation || 'vertical';\n if (lockAxis) {\n this.lockAxis = lockAxis;\n }\n }\n /** Syncs up the registered drag items with underlying drop list ref. */\n _syncItemsWithRef() {\n this._dropListRef.withItems(this.getSortedItems().map(item => item._dragRef));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkDropList, deps: [{ token: i0.ElementRef }, { token: DragDrop }, { token: i0.ChangeDetectorRef }, { token: i1.ScrollDispatcher }, { token: i1$1.Directionality, optional: true }, { token: CDK_DROP_LIST_GROUP, optional: true, skipSelf: true }, { token: CDK_DRAG_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkDropList, isStandalone: true, selector: \"[cdkDropList], cdk-drop-list\", inputs: { connectedTo: [\"cdkDropListConnectedTo\", \"connectedTo\"], data: [\"cdkDropListData\", \"data\"], orientation: [\"cdkDropListOrientation\", \"orientation\"], id: \"id\", lockAxis: [\"cdkDropListLockAxis\", \"lockAxis\"], disabled: [\"cdkDropListDisabled\", \"disabled\"], sortingDisabled: [\"cdkDropListSortingDisabled\", \"sortingDisabled\"], enterPredicate: [\"cdkDropListEnterPredicate\", \"enterPredicate\"], sortPredicate: [\"cdkDropListSortPredicate\", \"sortPredicate\"], autoScrollDisabled: [\"cdkDropListAutoScrollDisabled\", \"autoScrollDisabled\"], autoScrollStep: [\"cdkDropListAutoScrollStep\", \"autoScrollStep\"] }, outputs: { dropped: \"cdkDropListDropped\", entered: \"cdkDropListEntered\", exited: \"cdkDropListExited\", sorted: \"cdkDropListSorted\" }, host: { properties: { \"attr.id\": \"id\", \"class.cdk-drop-list-disabled\": \"disabled\", \"class.cdk-drop-list-dragging\": \"_dropListRef.isDragging()\", \"class.cdk-drop-list-receiving\": \"_dropListRef.isReceiving()\" }, classAttribute: \"cdk-drop-list\" }, providers: [\n // Prevent child drop lists from picking up the same group as their parent.\n { provide: CDK_DROP_LIST_GROUP, useValue: undefined },\n { provide: CDK_DROP_LIST, useExisting: CdkDropList },\n ], exportAs: [\"cdkDropList\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkDropList, decorators: [{\n type: Directive,\n args: [{\n selector: '[cdkDropList], cdk-drop-list',\n exportAs: 'cdkDropList',\n standalone: true,\n providers: [\n // Prevent child drop lists from picking up the same group as their parent.\n { provide: CDK_DROP_LIST_GROUP, useValue: undefined },\n { provide: CDK_DROP_LIST, useExisting: CdkDropList },\n ],\n host: {\n 'class': 'cdk-drop-list',\n '[attr.id]': 'id',\n '[class.cdk-drop-list-disabled]': 'disabled',\n '[class.cdk-drop-list-dragging]': '_dropListRef.isDragging()',\n '[class.cdk-drop-list-receiving]': '_dropListRef.isReceiving()',\n },\n }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: DragDrop }, { type: i0.ChangeDetectorRef }, { type: i1.ScrollDispatcher }, { type: i1$1.Directionality, decorators: [{\n type: Optional\n }] }, { type: CdkDropListGroup, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [CDK_DROP_LIST_GROUP]\n }, {\n type: SkipSelf\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [CDK_DRAG_CONFIG]\n }] }]; }, propDecorators: { connectedTo: [{\n type: Input,\n args: ['cdkDropListConnectedTo']\n }], data: [{\n type: Input,\n args: ['cdkDropListData']\n }], orientation: [{\n type: Input,\n args: ['cdkDropListOrientation']\n }], id: [{\n type: Input\n }], lockAxis: [{\n type: Input,\n args: ['cdkDropListLockAxis']\n }], disabled: [{\n type: Input,\n args: ['cdkDropListDisabled']\n }], sortingDisabled: [{\n type: Input,\n args: ['cdkDropListSortingDisabled']\n }], enterPredicate: [{\n type: Input,\n args: ['cdkDropListEnterPredicate']\n }], sortPredicate: [{\n type: Input,\n args: ['cdkDropListSortPredicate']\n }], autoScrollDisabled: [{\n type: Input,\n args: ['cdkDropListAutoScrollDisabled']\n }], autoScrollStep: [{\n type: Input,\n args: ['cdkDropListAutoScrollStep']\n }], dropped: [{\n type: Output,\n args: ['cdkDropListDropped']\n }], entered: [{\n type: Output,\n args: ['cdkDropListEntered']\n }], exited: [{\n type: Output,\n args: ['cdkDropListExited']\n }], sorted: [{\n type: Output,\n args: ['cdkDropListSorted']\n }] } });\n\nconst DRAG_DROP_DIRECTIVES = [\n CdkDropList,\n CdkDropListGroup,\n CdkDrag,\n CdkDragHandle,\n CdkDragPreview,\n CdkDragPlaceholder,\n];\nclass DragDropModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: DragDropModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: DragDropModule, imports: [CdkDropList,\n CdkDropListGroup,\n CdkDrag,\n CdkDragHandle,\n CdkDragPreview,\n CdkDragPlaceholder], exports: [CdkScrollableModule, CdkDropList,\n CdkDropListGroup,\n CdkDrag,\n CdkDragHandle,\n CdkDragPreview,\n CdkDragPlaceholder] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: DragDropModule, providers: [DragDrop], imports: [CdkScrollableModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: DragDropModule, decorators: [{\n type: NgModule,\n args: [{\n imports: DRAG_DROP_DIRECTIVES,\n exports: [CdkScrollableModule, ...DRAG_DROP_DIRECTIVES],\n providers: [DragDrop],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { CDK_DRAG_CONFIG, CDK_DRAG_HANDLE, CDK_DRAG_PARENT, CDK_DRAG_PLACEHOLDER, CDK_DRAG_PREVIEW, CDK_DROP_LIST, CDK_DROP_LIST_GROUP, CdkDrag, CdkDragHandle, CdkDragPlaceholder, CdkDragPreview, CdkDropList, CdkDropListGroup, DragDrop, DragDropModule, DragDropRegistry, DragRef, DropListRef, copyArrayItem, moveItemInArray, transferArrayItem };\n","import { asyncScheduler } from '../scheduler/async';\nimport { timer } from './timer';\nexport function interval(period = 0, scheduler = asyncScheduler) {\n if (period < 0) {\n period = 0;\n }\n return timer(period, period, scheduler);\n}\n"],"x_google_ignoreList":[0,1,2,3,4,5]} \ No newline at end of file diff --git a/8282.aaa9267c610b17ec.js b/8282.aaa9267c610b17ec.js new file mode 100644 index 0000000..d9d3bea --- /dev/null +++ b/8282.aaa9267c610b17ec.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[8282,5106,7376,5187,4091,1217,7208,4968,6785,4155,1084,6896,7920,6980,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,8061,4680,2111,3326,8596,8352,5501,882,3098,8467,6578,4093,8608,8443,7328,5915,3278,5391,6748,1551,6763,4151,5069,7432,8071,6618],{20591:(b,c,t)=>{t.d(c,{E:()=>s});var s=new(t(90833).y)(function(i){return i.complete()})},93945:(b,c,t)=>{t.d(c,{Q:()=>R,x:()=>e});var l=t(78069),s=t(48047),r=t(35488),o=t(24582),i=t(28694),d=t(4089),p=t(20265);function e(h,C,L,S,D){return new R(h,C,L,S,D)}var R=function(h){(0,o.Z)(L,h);var C=(0,i.Z)(L);function L(S,D,B,M,K,G){var U,j,Y,w;return(0,l.Z)(this,L),(w=C.call(this,S)).onFinalize=K,w.shouldUnsubscribe=G,w._next=D?function(A){try{D(A)}catch(I){S.error(I)}}:(0,d.Z)((U=(0,r.Z)(w),(0,p.Z)(L.prototype)),"_next",U),w._error=M?function(A){try{M(A)}catch(I){S.error(I)}finally{this.unsubscribe()}}:(0,d.Z)((j=(0,r.Z)(w),(0,p.Z)(L.prototype)),"_error",j),w._complete=B?function(){try{B()}catch(A){S.error(A)}finally{this.unsubscribe()}}:(0,d.Z)((Y=(0,r.Z)(w),(0,p.Z)(L.prototype)),"_complete",Y),w}return(0,s.Z)(L,[{key:"unsubscribe",value:function(){var D;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var B=this.closed;(0,d.Z)((0,p.Z)(L.prototype),"unsubscribe",this).call(this),!B&&(null===(D=this.onFinalize)||void 0===D||D.call(this))}}}]),L}(t(5463).Lv)},59295:(b,c,t)=>{t.d(c,{q:()=>o});var l=t(20591),s=t(41944),r=t(93945);function o(i){return i<=0?function(){return l.E}:(0,s.e)(function(d,p){var f=0;d.subscribe((0,r.x)(p,function(e){++f<=i&&(p.next(e),i<=f&&p.complete())}))})}},68951:(b,c,t)=>{t.d(c,{R:()=>i});var l=t(41944),s=t(93945),r=t(54987),o=t(99635);function i(d){return(0,l.e)(function(p,f){(0,r.Xf)(d).subscribe((0,s.x)(f,function(){return f.complete()},o.Z)),!f.closed&&p.subscribe(f)})}},41944:(b,c,t)=>{t.d(c,{A:()=>s,e:()=>r});var l=t(92971);function s(o){return(0,l.m)(o?.lift)}function r(o){return function(i){if(s(i))return i.lift(function(d){try{return o(d,this)}catch(p){this.error(p)}});throw new TypeError("Unable to lift unknown Observable type")}}},13115:(b,c,t)=>{t.r(c),t.d(c,{MAT_LEGACY_SELECT_CONFIG:()=>S.MAT_SELECT_CONFIG,MAT_LEGACY_SELECT_SCROLL_STRATEGY:()=>S.MAT_SELECT_SCROLL_STRATEGY,MAT_LEGACY_SELECT_SCROLL_STRATEGY_PROVIDER:()=>S.MAT_SELECT_SCROLL_STRATEGY_PROVIDER,MAT_LEGACY_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY:()=>S.MAT_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY,MAT_LEGACY_SELECT_TRIGGER:()=>S.MAT_SELECT_TRIGGER,MatLegacySelect:()=>X,MatLegacySelectChange:()=>F,MatLegacySelectModule:()=>Q,MatLegacySelectTrigger:()=>V,matLegacySelectAnimations:()=>I});var l=t(4089),s=t(20265),r=t(24582),o=t(28694),i=t(48047),d=t(78069),p=t(43662),f=t(94055),e=t(56718),R=t(6606),h=t(10233),C=t(30972),L=t(93168),S=t(25857),D=t(68951),B=t(59295),M=t(72223);function K(_,O){if(1&_&&(e.\u0275\u0275elementStart(0,"span",8),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&_){var m=e.\u0275\u0275nextContext();e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate(m.placeholder)}}function G(_,O){if(1&_&&(e.\u0275\u0275elementStart(0,"span",12),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&_){var m=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate(m.triggerValue)}}function U(_,O){1&_&&e.\u0275\u0275projection(0,0,["*ngSwitchCase","true"])}function j(_,O){if(1&_&&(e.\u0275\u0275elementStart(0,"span",9),e.\u0275\u0275template(1,G,2,1,"span",10),e.\u0275\u0275template(2,U,1,0,"ng-content",11),e.\u0275\u0275elementEnd()),2&_){var m=e.\u0275\u0275nextContext();e.\u0275\u0275property("ngSwitch",!!m.customTrigger),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngSwitchCase",!0)}}function Y(_,O){if(1&_){var m=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",13)(1,"div",14,15),e.\u0275\u0275listener("@transformPanel.done",function(n){e.\u0275\u0275restoreView(m);var v=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(v._panelDoneAnimatingStream.next(n.toState))})("keydown",function(n){e.\u0275\u0275restoreView(m);var v=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(v._handleKeydown(n))}),e.\u0275\u0275projection(3,1),e.\u0275\u0275elementEnd()()}if(2&_){var a=e.\u0275\u0275nextContext();e.\u0275\u0275property("@transformPanelWrap",void 0),e.\u0275\u0275advance(1),e.\u0275\u0275classMapInterpolate1("mat-select-panel ",a._getPanelTheme(),""),e.\u0275\u0275styleProp("transform-origin",a._transformOrigin)("font-size",a._triggerFontSize,"px"),e.\u0275\u0275property("ngClass",a.panelClass)("@transformPanel",a.multiple?"showing-multiple":"showing"),e.\u0275\u0275attribute("id",a.id+"-panel")("aria-multiselectable",a.multiple)("aria-label",a.ariaLabel||null)("aria-labelledby",a._getPanelAriaLabelledby())}}var w=[[["mat-select-trigger"]],"*"],A=["mat-select-trigger","*"],I={transformPanelWrap:(0,M.X$)("transformPanelWrap",[(0,M.eR)("* => void",(0,M.IO)("@transformPanel",[(0,M.pV)()],{optional:!0}))]),transformPanel:(0,M.X$)("transformPanel",[(0,M.SB)("void",(0,M.oB)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),(0,M.SB)("showing",(0,M.oB)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),(0,M.SB)("showing-multiple",(0,M.oB)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),(0,M.eR)("void => *",(0,M.jt)("120ms cubic-bezier(0, 0, 0.2, 1)")),(0,M.eR)("* => void",(0,M.jt)("100ms 25ms linear",(0,M.oB)({opacity:0})))])},W=256,F=(0,i.Z)(function _(O,m){(0,d.Z)(this,_),this.source=O,this.value=m}),V=function(){var _=(0,i.Z)(function O(){(0,d.Z)(this,O)});return _.\u0275fac=function(m){return new(m||_)},_.\u0275dir=e.\u0275\u0275defineDirective({type:_,selectors:[["mat-select-trigger"]],features:[e.\u0275\u0275ProvidersFeature([{provide:S.MAT_SELECT_TRIGGER,useExisting:_}])]}),_}(),X=function(){var _=function(O){(0,r.Z)(a,O);var m=(0,o.Z)(a);function a(){var u;return(0,d.Z)(this,a),(u=m.apply(this,arguments))._scrollTop=0,u._triggerFontSize=0,u._transformOrigin="top",u._offsetY=0,u._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],u}return(0,i.Z)(a,[{key:"_calculateOverlayScroll",value:function(n,v,g){var y=this._getItemHeight();return Math.min(Math.max(0,y*n-v+y/2),g)}},{key:"ngOnInit",value:function(){var n=this;(0,l.Z)((0,s.Z)(a.prototype),"ngOnInit",this).call(this),this._viewportRuler.change().pipe((0,D.R)(this._destroy)).subscribe(function(){n.panelOpen&&(n._triggerRect=n.trigger.nativeElement.getBoundingClientRect(),n._changeDetectorRef.markForCheck())})}},{key:"open",value:function(){var n=this;(0,l.Z)((0,s.Z)(a.prototype),"_canOpen",this).call(this)&&((0,l.Z)((0,s.Z)(a.prototype),"open",this).call(this),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe((0,B.q)(1)).subscribe(function(){n._triggerFontSize&&n._overlayDir.overlayRef&&n._overlayDir.overlayRef.overlayElement&&(n._overlayDir.overlayRef.overlayElement.style.fontSize="".concat(n._triggerFontSize,"px"))}))}},{key:"_scrollOptionIntoView",value:function(n){var v=(0,h._countGroupLabelsBeforeLegacyOption)(n,this.options,this.optionGroups),g=this._getItemHeight();this.panel.nativeElement.scrollTop=0===n&&1===v?0:(0,h._getLegacyOptionScrollPosition)((n+v)*g,g,this.panel.nativeElement.scrollTop,W)}},{key:"_positioningSettled",value:function(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}},{key:"_panelDoneAnimating",value:function(n){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),(0,l.Z)((0,s.Z)(a.prototype),"_panelDoneAnimating",this).call(this,n)}},{key:"_getChangeEvent",value:function(n){return new F(this,n)}},{key:"_getOverlayMinWidth",value:function(){var n;return null===(n=this._triggerRect)||void 0===n?void 0:n.width}},{key:"_calculateOverlayOffsetX",value:function(){var E,n=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),v=this._viewportRuler.getViewportSize(),g=this._isRtl(),y=this.multiple?56:32;if(this.multiple)E=40;else if(this.disableOptionCentering)E=16;else{var T=this._selectionModel.selected[0]||this.options.first;E=T&&T.group?32:16}g||(E*=-1);var P=0-(n.left+E-(g?y:0)),k=n.right+E-v.width+(g?0:y);P>0?E+=P+8:k>0&&(E-=k+8),this._overlayDir.offsetX=Math.round(E),this._overlayDir.overlayRef.updatePosition()}},{key:"_calculateOverlayOffsetY",value:function(n,v,g){var P,y=this._getItemHeight(),E=(y-this._triggerRect.height)/2,T=Math.floor(W/y);return this.disableOptionCentering?0:(P=0===this._scrollTop?n*y:this._scrollTop===g?(n-(this._getItemCount()-T))*y+(y-(this._getItemCount()*y-W)%y):v-y/2,Math.round(-1*P-E))}},{key:"_checkOverlayWithinViewport",value:function(n){var v=this._getItemHeight(),g=this._viewportRuler.getViewportSize(),y=this._triggerRect.top-8,E=g.height-this._triggerRect.bottom-8,T=Math.abs(this._offsetY),k=Math.min(this._getItemCount()*v,W)-T-this._triggerRect.height;k>E?this._adjustPanelUp(k,E):T>y?this._adjustPanelDown(T,y,n):this._transformOrigin=this._getOriginBasedOnOption()}},{key:"_adjustPanelUp",value:function(n,v){var g=Math.round(n-v);this._scrollTop-=g,this._offsetY-=g,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}},{key:"_adjustPanelDown",value:function(n,v,g){var y=Math.round(n-v);if(this._scrollTop+=y,this._offsetY+=y,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=g)return this._scrollTop=g,this._offsetY=0,void(this._transformOrigin="50% top 0px")}},{key:"_calculateOverlayPosition",value:function(){var T,n=this._getItemHeight(),v=this._getItemCount(),g=Math.min(v*n,W),E=v*n-g;T=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),T+=(0,h._countGroupLabelsBeforeLegacyOption)(T,this.options,this.optionGroups);var P=g/2;this._scrollTop=this._calculateOverlayScroll(T,P,E),this._offsetY=this._calculateOverlayOffsetY(T,P,E),this._checkOverlayWithinViewport(E)}},{key:"_getOriginBasedOnOption",value:function(){var n=this._getItemHeight(),v=(n-this._triggerRect.height)/2,g=Math.abs(this._offsetY)-v+n/2;return"50% ".concat(g,"px 0px")}},{key:"_getItemHeight",value:function(){return 3*this._triggerFontSize}},{key:"_getItemCount",value:function(){return this.options.length+this.optionGroups.length}}]),a}(S._MatSelectBase);return _.\u0275fac=function(){var O;return function(a){return(O||(O=e.\u0275\u0275getInheritedFactory(_)))(a||_)}}(),_.\u0275cmp=e.\u0275\u0275defineComponent({type:_,selectors:[["mat-select"]],contentQueries:function(m,a,u){var n;1&m&&(e.\u0275\u0275contentQuery(u,S.MAT_SELECT_TRIGGER,5),e.\u0275\u0275contentQuery(u,h.MatLegacyOption,5),e.\u0275\u0275contentQuery(u,h.MAT_LEGACY_OPTGROUP,5)),2&m&&(e.\u0275\u0275queryRefresh(n=e.\u0275\u0275loadQuery())&&(a.customTrigger=n.first),e.\u0275\u0275queryRefresh(n=e.\u0275\u0275loadQuery())&&(a.options=n),e.\u0275\u0275queryRefresh(n=e.\u0275\u0275loadQuery())&&(a.optionGroups=n))},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true","ngSkipHydration","",1,"mat-select"],hostVars:19,hostBindings:function(m,a){1&m&&e.\u0275\u0275listener("keydown",function(n){return a._handleKeydown(n)})("focus",function(){return a._onFocus()})("blur",function(){return a._onBlur()}),2&m&&(e.\u0275\u0275attribute("id",a.id)("tabindex",a.tabIndex)("aria-controls",a.panelOpen?a.id+"-panel":null)("aria-expanded",a.panelOpen)("aria-label",a.ariaLabel||null)("aria-required",a.required.toString())("aria-disabled",a.disabled.toString())("aria-invalid",a.errorState)("aria-activedescendant",a._getAriaActiveDescendant()),e.\u0275\u0275classProp("mat-select-disabled",a.disabled)("mat-select-invalid",a.errorState)("mat-select-required",a.required)("mat-select-empty",a.empty)("mat-select-multiple",a.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[e.\u0275\u0275ProvidersFeature([{provide:C.MatLegacyFormFieldControl,useExisting:_},{provide:h.MAT_LEGACY_OPTION_PARENT_COMPONENT,useExisting:_}]),e.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:A,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(m,a){if(1&m&&(e.\u0275\u0275projectionDef(w),e.\u0275\u0275elementStart(0,"div",0,1),e.\u0275\u0275listener("click",function(){return a.toggle()}),e.\u0275\u0275elementStart(3,"div",2),e.\u0275\u0275template(4,K,2,1,"span",3),e.\u0275\u0275template(5,j,3,2,"span",4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"div",5),e.\u0275\u0275element(7,"div",6),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(8,Y,4,14,"ng-template",7),e.\u0275\u0275listener("backdropClick",function(){return a.close()})("attach",function(){return a._onAttached()})("detach",function(){return a.close()})),2&m){var u=e.\u0275\u0275reference(1);e.\u0275\u0275attribute("aria-owns",a.panelOpen?a.id+"-panel":null),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngSwitch",a.empty),e.\u0275\u0275attribute("id",a._valueId),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngSwitchCase",!0),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngSwitchCase",!1),e.\u0275\u0275advance(3),e.\u0275\u0275property("cdkConnectedOverlayPanelClass",a._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",a._scrollStrategy)("cdkConnectedOverlayOrigin",u)("cdkConnectedOverlayOpen",a.panelOpen)("cdkConnectedOverlayPositions",a._positions)("cdkConnectedOverlayMinWidth",a._getOverlayMinWidth())("cdkConnectedOverlayOffsetY",a._offsetY)}},dependencies:[f.NgClass,f.NgSwitch,f.NgSwitchCase,f.NgSwitchDefault,p.CdkConnectedOverlay,p.CdkOverlayOrigin],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;margin:0 4px}.mat-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[I.transformPanelWrap,I.transformPanel]},changeDetection:0}),_}(),Q=function(){var _=(0,i.Z)(function O(){(0,d.Z)(this,O)});return _.\u0275fac=function(m){return new(m||_)},_.\u0275mod=e.\u0275\u0275defineNgModule({type:_}),_.\u0275inj=e.\u0275\u0275defineInjector({providers:[S.MAT_SELECT_SCROLL_STRATEGY_PROVIDER],imports:[f.CommonModule,p.OverlayModule,h.MatLegacyOptionModule,R.MatCommonModule,L.CdkScrollableModule,C.MatLegacyFormFieldModule,h.MatLegacyOptionModule,R.MatCommonModule]}),_}()},44841:(b,c,t)=>{function l(s,r){(null==r||r>s.length)&&(r=s.length);for(var o=0,i=new Array(r);o<r;o++)i[o]=s[o];return i}t.d(c,{Z:()=>l})},35488:(b,c,t)=>{function l(s){if(void 0===s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s}t.d(c,{Z:()=>l})},95106:(b,c,t)=>{t.d(c,{Z:()=>s});var l=t(44206);function s(r,o){var i=typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"];if(!i){if(Array.isArray(r)||(i=(0,l.Z)(r))||o&&r&&"number"==typeof r.length){i&&(r=i);var d=0,p=function(){};return{s:p,n:function(){return d>=r.length?{done:!0}:{done:!1,value:r[d++]}},e:function(C){throw C},f:p}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var R,f=!0,e=!1;return{s:function(){i=i.call(r)},n:function(){var C=i.next();return f=C.done,C},e:function(C){e=!0,R=C},f:function(){try{!f&&null!=i.return&&i.return()}finally{if(e)throw R}}}}},28694:(b,c,t)=>{t.d(c,{Z:()=>d});var l=t(20265),s=t(98568),r=t(43445),o=t(35488);function d(p){var f=(0,s.Z)();return function(){var h,R=(0,l.Z)(p);if(f){var C=(0,l.Z)(this).constructor;h=Reflect.construct(R,arguments,C)}else h=R.apply(this,arguments);return function i(p,f){if(f&&("object"===(0,r.Z)(f)||"function"==typeof f))return f;if(void 0!==f)throw new TypeError("Derived constructors may only return object or undefined");return(0,o.Z)(p)}(this,h)}}},4089:(b,c,t)=>{t.d(c,{Z:()=>r});var l=t(20265);function r(){return r=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(i,d,p){var f=function s(o,i){for(;!Object.prototype.hasOwnProperty.call(o,i)&&null!==(o=(0,l.Z)(o)););return o}(i,d);if(f){var e=Object.getOwnPropertyDescriptor(f,d);return e.get?e.get.call(arguments.length<3?i:p):e.value}},r.apply(this,arguments)}},20265:(b,c,t)=>{function l(s){return(l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(o){return o.__proto__||Object.getPrototypeOf(o)})(s)}t.d(c,{Z:()=>l})},24582:(b,c,t)=>{t.d(c,{Z:()=>s});var l=t(10006);function s(r,o){if("function"!=typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(o&&o.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),o&&(0,l.Z)(r,o)}},98568:(b,c,t)=>{function l(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}t.d(c,{Z:()=>l})},4826:(b,c,t)=>{function l(s){if(typeof Symbol<"u"&&null!=s[Symbol.iterator]||null!=s["@@iterator"])return Array.from(s)}t.d(c,{Z:()=>l})},10006:(b,c,t)=>{function l(s,r){return(l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,d){return i.__proto__=d,i})(s,r)}t.d(c,{Z:()=>l})},86170:(b,c,t)=>{t.d(c,{Z:()=>d});var l=t(44841),r=t(4826),o=t(44206);function d(p){return function s(p){if(Array.isArray(p))return(0,l.Z)(p)}(p)||(0,r.Z)(p)||(0,o.Z)(p)||function i(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(b,c,t)=>{t.d(c,{Z:()=>s});var l=t(44841);function s(r,o){if(r){if("string"==typeof r)return(0,l.Z)(r,o);var i=Object.prototype.toString.call(r).slice(8,-1);if("Object"===i&&r.constructor&&(i=r.constructor.name),"Map"===i||"Set"===i)return Array.from(r);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return(0,l.Z)(r,o)}}}}]); +//# sourceMappingURL=8282.aaa9267c610b17ec.js.map \ No newline at end of file diff --git a/8282.aaa9267c610b17ec.js.map b/8282.aaa9267c610b17ec.js.map new file mode 100644 index 0000000..8dd38f5 --- /dev/null +++ b/8282.aaa9267c610b17ec.js.map @@ -0,0 +1 @@ +{"version":3,"file":"8282.aaa9267c610b17ec.js","mappings":"2VACaA,EAAQ,aAAIC,GAAW,SAACC,GAAU,OAAKA,EAAWC,UAAU,6HCAlE,SAASC,EAAyBC,EAAaC,EAAQC,EAAYC,EAASC,GAC/E,OAAO,IAAIC,EAAmBL,EAAaC,EAAQC,EAAYC,EAASC,EAC5E,CACO,IAAMC,EAAkB,SAAAC,IAAAC,OAAAF,EAAAC,GAAA,IAAAE,KAAAC,KAAAJ,GAC3B,SAAAA,EAAYL,EAAaC,EAAQC,EAAYC,EAASC,EAAYM,GAAmB,IAAAC,EAAAC,EAAAC,EAAAC,EAAAC,cAAAC,KAAAX,IACjFS,EAAAN,EAAAS,KAAAD,KAAMhB,IACDI,WAAaA,EAClBU,EAAKJ,kBAAoBA,EACzBI,EAAKI,MAAQjB,EACP,SAAUkB,GACR,IACIlB,EAAOkB,EACX,OACOC,GACHpB,EAAYqB,MAAMD,EACtB,CACJ,KAACE,MAAAX,K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IAEf,UADA1B,QAAA,MAAAA,QAAAC,WACAD,QAAAC,UAAA0B,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAArT,UAAAsT,QAAA9T,KAAAgS,QAAAC,UAAA4B,QAAA,mBACA,CACA,OACA,QACA,CACA,kCCVe,SAAAE,EAAAC,GACf,UAAAzD,OAAA,WAAAyD,EAAAzD,OAAAC,WAAA,MAAAwD,EAAA,qBAAAhE,MAAAiE,KAAAD,EACA,mCCFe,SAAAE,EAAA9D,EAAA+D,GACf,OAAAD,EAAArB,OAAAI,eAAAJ,OAAAI,eAAAX,OAAA,SAAAlC,EAAA+D,GACA,OAAA/D,EAAA8C,UAAAiB,EACA/D,CACA,GACAA,EAAA+D,EACA,wFCFe,SAAAC,EAAAxE,GACf,OCJe,SAAAyE,EAAAzE,GACf,GAAAI,MAAAS,QAAAb,GAAA,SAAiC0E,EAAA3D,GAAgBf,EACjD,CDESyE,CAAiBzE,KAAA,EAAS2E,EAAA5D,GAAef,KAAA,EAAS4E,EAAA7D,GAA0Bf,IELtE,SAAA6E,IACf,UAAAxS,UAAA,uIACA,CFG8FwS,EAC9F,mDGLe,SAAAC,EAAAtE,EAAAuE,GACf,GAAAvE,EACA,qBAAAA,EAAA,SAAoCwE,EAAAjE,GAAgBP,EAAAuE,GACpD,IAAA7D,EAAA+B,OAAArS,UAAAyM,SAAAjN,KAAAoQ,GAAAyE,MAAA,MAEA,GADA,WAAA/D,GAAAV,EAAA2B,cAAAjB,EAAAV,EAAA2B,YAAA+C,MACA,QAAAhE,GAAA,QAAAA,EAAA,OAAAd,MAAAiE,KAAA7D,GACA,iBAAAU,GAAA,2CAAAiE,KAAAjE,GAAA,SAAsF8D,EAAAjE,GAAgBP,EAAAuE,EAAA,CACtG","names":["EMPTY","Observable","subscriber","complete","createOperatorSubscriber","destination","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","_inherits","_super","_createSuper","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_this","_classCallCheck","this","call","_next","value","err","error","_get","_assertThisInitialized","_getPrototypeOf","prototype","_error","unsubscribe","_complete","_createClass","key","_a","closed","Subscriber","take","count","operate","source","seen","subscribe","next","takeUntil","notifier","innerFrom","noop","hasLift","isFunction","lift","init","liftedSource","TypeError","MatLegacySelect_span_4_Template","rf","ctx","i0","ctx_r2","placeholder","MatLegacySelect_span_5_span_1_Template","ctx_r5","triggerValue","MatLegacySelect_span_5_ng_content_2_Template","MatLegacySelect_span_5_Template","ctx_r3","customTrigger","MatLegacySelect_ng_template_8_Template","_r9","$event","ctx_r8","_panelDoneAnimatingStream","toState","ctx_r10","_handleKeydown","ctx_r4","undefined","_getPanelTheme","_transformOrigin","_triggerFontSize","panelClass","multiple","id","ariaLabel","_getPanelAriaLabelledby","_c0","_c1","matLegacySelectAnimations","transformPanelWrap","trigger","transition","query","animateChild","optional","transformPanel","state","style","transform","minWidth","opacity","animate","SELECT_PANEL_MAX_HEIGHT","MatLegacySelectChange","MatLegacySelectTrigger","ɵfac","t","ɵdir","type","selectors","features","provide","MAT_SELECT_TRIGGER","useExisting","MatLegacySelect","_MatSelectBase2","apply","arguments","_scrollTop","_offsetY","_positions","originX","originY","overlayX","overlayY","selectedIndex","scrollBuffer","maxScroll","itemHeight","_getItemHeight","Math","min","max","_this2","_viewportRuler","change","pipe","_destroy","panelOpen","_triggerRect","nativeElement","getBoundingClientRect","_changeDetectorRef","markForCheck","_this3","parseInt","getComputedStyle","fontSize","_calculateOverlayPosition","_ngZone","onStable","_overlayDir","overlayRef","overlayElement","concat","index","labelCount","_countGroupLabelsBeforeLegacyOption","options","optionGroups","panel","scrollTop","_getLegacyOptionScrollPosition","_calculateOverlayOffsetX","isOpen","offsetX","_this$_triggerRect","width","overlayRect","viewportSize","getViewportSize","isRtl","_isRtl","paddingWidth","SELECT_MULTIPLE_PANEL_PADDING_X","SELECT_PANEL_PADDING_X","disableOptionCentering","selected","_selectionModel","first","group","leftOverflow","left","rightOverflow","right","round","updatePosition","optionOffsetFromPanelTop","optionHeightAdjustment","height","maxOptionsDisplayed","floor","_getItemCount","topSpaceAvailable","top","bottomSpaceAvailable","bottom","panelHeightTop","abs","panelHeightBottom","_adjustPanelUp","_adjustPanelDown","_getOriginBasedOnOption","distanceBelowViewport","distanceAboveViewport","selectedOptionOffset","items","panelHeight","empty","toArray","indexOf","_calculateOverlayScroll","_calculateOverlayOffsetY","_checkOverlayWithinViewport","length","_MatSelectBase","ɵMatLegacySelect_BaseFactory","ɵcmp","contentQueries","dirIndex","_t","MatLegacyOption","MAT_LEGACY_OPTGROUP","hostAttrs","hostVars","hostBindings","_onFocus","_onBlur","tabIndex","required","toString","disabled","errorState","_getAriaActiveDescendant","inputs","disableRipple","exportAs","MatLegacyFormFieldControl","MAT_LEGACY_OPTION_PARENT_COMPONENT","ngContentSelectors","decls","vars","consts","template","toggle","close","_onAttached","_r0","_valueId","_overlayPanelClass","_scrollStrategy","_getOverlayMinWidth","dependencies","i1","i2","styles","encapsulation","data","animation","changeDetection","MatLegacySelectModule","ɵmod","ɵinj","providers","MAT_SELECT_SCROLL_STRATEGY_PROVIDER","imports","CommonModule","OverlayModule","MatLegacyOptionModule","MatCommonModule","CdkScrollableModule","MatLegacyFormFieldModule","_arrayLikeToArray","arr","len","i","arr2","Array","self","ReferenceError","_createForOfIteratorHelper","o","allowArrayLike","it","Symbol","iterator","isArray","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","s","n","done","e","_e","f","normalCompletion","didErr","step","_e2","return","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","result","Super","getPrototypeOf","NewTarget","constructor","Reflect","construct","_possibleConstructorReturn","esm_typeof","assertThisInitialized","get","bind","target","property","receiver","base","_superPropBase","object","Object","hasOwnProperty","desc","getOwnPropertyDescriptor","setPrototypeOf","__proto__","subClass","superClass","create","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_iterableToArray","iter","from","_setPrototypeOf","p","_toConsumableArray","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","slice","name","test"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/observable/empty.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/take.js","./node_modules/rxjs/dist/esm/internal/operators/takeUntil.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/@angular/material/fesm2022/legacy-select.mjs","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { Observable } from '../Observable';\nexport const EMPTY = new Observable((subscriber) => subscriber.complete());\nexport function empty(scheduler) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n return new Observable((subscriber) => scheduler.schedule(() => subscriber.complete()));\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","import { EMPTY } from '../observable/empty';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function take(count) {\n return count <= 0\n ?\n () => EMPTY\n : operate((source, subscriber) => {\n let seen = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n if (++seen <= count) {\n subscriber.next(value);\n if (count <= seen) {\n subscriber.complete();\n }\n }\n }));\n });\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { innerFrom } from '../observable/innerFrom';\nimport { noop } from '../util/noop';\nexport function takeUntil(notifier) {\n return operate((source, subscriber) => {\n innerFrom(notifier).subscribe(createOperatorSubscriber(subscriber, () => subscriber.complete(), noop));\n !subscriber.closed && source.subscribe(subscriber);\n });\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","import * as i2 from '@angular/cdk/overlay';\nimport { OverlayModule } from '@angular/cdk/overlay';\nimport * as i1 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { Directive, Component, ViewEncapsulation, ChangeDetectionStrategy, ContentChildren, ContentChild, NgModule } from '@angular/core';\nimport { MatCommonModule } from '@angular/material/core';\nimport { _countGroupLabelsBeforeLegacyOption, _getLegacyOptionScrollPosition, MAT_LEGACY_OPTION_PARENT_COMPONENT, MatLegacyOption, MAT_LEGACY_OPTGROUP, MatLegacyOptionModule } from '@angular/material/legacy-core';\nimport { MatLegacyFormFieldControl, MatLegacyFormFieldModule } from '@angular/material/legacy-form-field';\nimport { CdkScrollableModule } from '@angular/cdk/scrolling';\nimport { MAT_SELECT_TRIGGER, _MatSelectBase, MAT_SELECT_SCROLL_STRATEGY_PROVIDER } from '@angular/material/select';\nexport { MAT_SELECT_CONFIG as MAT_LEGACY_SELECT_CONFIG, MAT_SELECT_SCROLL_STRATEGY as MAT_LEGACY_SELECT_SCROLL_STRATEGY, MAT_SELECT_SCROLL_STRATEGY_PROVIDER as MAT_LEGACY_SELECT_SCROLL_STRATEGY_PROVIDER, MAT_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY as MAT_LEGACY_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY, MAT_SELECT_TRIGGER as MAT_LEGACY_SELECT_TRIGGER } from '@angular/material/select';\nimport { takeUntil, take } from 'rxjs/operators';\nimport { trigger, transition, query, animateChild, state, style, animate } from '@angular/animations';\n\n/**\n * The following are all the animations for the mat-select component, with each\n * const containing the metadata for one animation.\n *\n * The values below match the implementation of the AngularJS Material mat-select animation.\n * @docs-private\n * @deprecated Use `matSelectAnimations` from `@angular/material/select` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nconst matLegacySelectAnimations = {\n /**\n * This animation ensures the select's overlay panel animation (transformPanel) is called when\n * closing the select.\n * This is needed due to https://github.com/angular/angular/issues/23302\n */\n transformPanelWrap: trigger('transformPanelWrap', [\n transition('* => void', query('@transformPanel', [animateChild()], { optional: true })),\n ]),\n /**\n * This animation transforms the select's overlay panel on and off the page.\n *\n * When the panel is attached to the DOM, it expands its width by the amount of padding, scales it\n * up to 100% on the Y axis, fades in its border, and translates slightly up and to the\n * side to ensure the option text correctly overlaps the trigger text.\n *\n * When the panel is removed from the DOM, it simply fades out linearly.\n */\n transformPanel: trigger('transformPanel', [\n state('void', style({\n transform: 'scaleY(0.8)',\n minWidth: '100%',\n opacity: 0,\n })),\n state('showing', style({\n opacity: 1,\n minWidth: 'calc(100% + 32px)',\n transform: 'scaleY(1)',\n })),\n state('showing-multiple', style({\n opacity: 1,\n minWidth: 'calc(100% + 64px)',\n transform: 'scaleY(1)',\n })),\n transition('void => *', animate('120ms cubic-bezier(0, 0, 0.2, 1)')),\n transition('* => void', animate('100ms 25ms linear', style({ opacity: 0 }))),\n ]),\n};\n\n/**\n * The following style constants are necessary to save here in order\n * to properly calculate the alignment of the selected option over\n * the trigger element.\n */\n/**\n * The max height of the select's overlay panel.\n * @deprecated Use `SELECT_PANEL_MAX_HEIGHT` from `@angular/material/select` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nconst SELECT_PANEL_MAX_HEIGHT = 256;\n/**\n * The panel's padding on the x-axis.\n * @deprecated Use `SELECT_PANEL_PADDING_X` from `@angular/material/select` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nconst SELECT_PANEL_PADDING_X = 16;\n/**\n * The panel's x axis padding if it is indented (e.g. there is an option group).\n * @deprecated Use `SELECT_PANEL_INDENT_PADDING_X` from `@angular/material/select` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nconst SELECT_PANEL_INDENT_PADDING_X = SELECT_PANEL_PADDING_X * 2;\n/**\n * The height of the select items in `em` units.\n * @deprecated Use `SELECT_ITEM_HEIGHT_EM` from `@angular/material/select` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nconst SELECT_ITEM_HEIGHT_EM = 3;\n// TODO(josephperrott): Revert to a constant after 2018 spec updates are fully merged.\n/**\n * Distance between the panel edge and the option text in\n * multi-selection mode.\n *\n * Calculated as:\n * (SELECT_PANEL_PADDING_X * 1.5) + 16 = 40\n * The padding is multiplied by 1.5 because the checkbox's margin is half the padding.\n * The checkbox width is 16px.\n *\n * @deprecated Use `SELECT_MULTIPLE_PANEL_PADDING_X` from `@angular/material/select` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nconst SELECT_MULTIPLE_PANEL_PADDING_X = SELECT_PANEL_PADDING_X * 1.5 + 16;\n/**\n * The select panel will only \"fit\" inside the viewport if it is positioned at\n * this value or more away from the viewport boundary.\n * @deprecated Use `SELECT_PANEL_VIEWPORT_PADDING` from `@angular/material/select` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nconst SELECT_PANEL_VIEWPORT_PADDING = 8;\n/**\n * Change event object that is emitted when the select value has changed.\n * @deprecated Use `MatSelectChange` from `@angular/material/select` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacySelectChange {\n constructor(\n /** Reference to the select that emitted the change event. */\n source, \n /** Current value of the select that emitted the event. */\n value) {\n this.source = source;\n this.value = value;\n }\n}\n/**\n * Allows the user to customize the trigger that is displayed when the select has a value.\n * @deprecated Use `MatSelectTrigger` from `@angular/material/select` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacySelectTrigger {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacySelectTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacySelectTrigger, selector: \"mat-select-trigger\", providers: [{ provide: MAT_SELECT_TRIGGER, useExisting: MatLegacySelectTrigger }], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacySelectTrigger, decorators: [{\n type: Directive,\n args: [{\n selector: 'mat-select-trigger',\n providers: [{ provide: MAT_SELECT_TRIGGER, useExisting: MatLegacySelectTrigger }],\n }]\n }] });\n/**\n * @deprecated Use `MatSelect` from `@angular/material/select` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacySelect extends _MatSelectBase {\n constructor() {\n super(...arguments);\n /** The scroll position of the overlay panel, calculated to center the selected option. */\n this._scrollTop = 0;\n /** The cached font-size of the trigger element. */\n this._triggerFontSize = 0;\n /** The value of the select panel's transform-origin property. */\n this._transformOrigin = 'top';\n /**\n * The y-offset of the overlay panel in relation to the trigger's top start corner.\n * This must be adjusted to align the selected option text over the trigger text.\n * when the panel opens. Will change based on the y-position of the selected option.\n */\n this._offsetY = 0;\n this._positions = [\n {\n originX: 'start',\n originY: 'top',\n overlayX: 'start',\n overlayY: 'top',\n },\n {\n originX: 'start',\n originY: 'bottom',\n overlayX: 'start',\n overlayY: 'bottom',\n },\n ];\n }\n /**\n * Calculates the scroll position of the select's overlay panel.\n *\n * Attempts to center the selected option in the panel. If the option is\n * too high or too low in the panel to be scrolled to the center, it clamps the\n * scroll position to the min or max scroll positions respectively.\n */\n _calculateOverlayScroll(selectedIndex, scrollBuffer, maxScroll) {\n const itemHeight = this._getItemHeight();\n const optionOffsetFromScrollTop = itemHeight * selectedIndex;\n const halfOptionHeight = itemHeight / 2;\n // Starts at the optionOffsetFromScrollTop, which scrolls the option to the top of the\n // scroll container, then subtracts the scroll buffer to scroll the option down to\n // the center of the overlay panel. Half the option height must be re-added to the\n // scrollTop so the option is centered based on its middle, not its top edge.\n const optimalScrollPosition = optionOffsetFromScrollTop - scrollBuffer + halfOptionHeight;\n return Math.min(Math.max(0, optimalScrollPosition), maxScroll);\n }\n ngOnInit() {\n super.ngOnInit();\n this._viewportRuler\n .change()\n .pipe(takeUntil(this._destroy))\n .subscribe(() => {\n if (this.panelOpen) {\n this._triggerRect = this.trigger.nativeElement.getBoundingClientRect();\n this._changeDetectorRef.markForCheck();\n }\n });\n }\n open() {\n if (super._canOpen()) {\n super.open();\n this._triggerRect = this.trigger.nativeElement.getBoundingClientRect();\n // Note: The computed font-size will be a string pixel value (e.g. \"16px\").\n // `parseInt` ignores the trailing 'px' and converts this to a number.\n this._triggerFontSize = parseInt(getComputedStyle(this.trigger.nativeElement).fontSize || '0');\n this._calculateOverlayPosition();\n // Set the font size on the panel element once it exists.\n this._ngZone.onStable.pipe(take(1)).subscribe(() => {\n if (this._triggerFontSize &&\n this._overlayDir.overlayRef &&\n this._overlayDir.overlayRef.overlayElement) {\n this._overlayDir.overlayRef.overlayElement.style.fontSize = `${this._triggerFontSize}px`;\n }\n });\n }\n }\n /** Scrolls the active option into view. */\n _scrollOptionIntoView(index) {\n const labelCount = _countGroupLabelsBeforeLegacyOption(index, this.options, this.optionGroups);\n const itemHeight = this._getItemHeight();\n if (index === 0 && labelCount === 1) {\n // If we've got one group label before the option and we're at the top option,\n // scroll the list to the top. This is better UX than scrolling the list to the\n // top of the option, because it allows the user to read the top group's label.\n this.panel.nativeElement.scrollTop = 0;\n }\n else {\n this.panel.nativeElement.scrollTop = _getLegacyOptionScrollPosition((index + labelCount) * itemHeight, itemHeight, this.panel.nativeElement.scrollTop, SELECT_PANEL_MAX_HEIGHT);\n }\n }\n _positioningSettled() {\n this._calculateOverlayOffsetX();\n this.panel.nativeElement.scrollTop = this._scrollTop;\n }\n _panelDoneAnimating(isOpen) {\n if (this.panelOpen) {\n this._scrollTop = 0;\n }\n else {\n this._overlayDir.offsetX = 0;\n this._changeDetectorRef.markForCheck();\n }\n super._panelDoneAnimating(isOpen);\n }\n _getChangeEvent(value) {\n return new MatLegacySelectChange(this, value);\n }\n _getOverlayMinWidth() {\n return this._triggerRect?.width;\n }\n /**\n * Sets the x-offset of the overlay panel in relation to the trigger's top start corner.\n * This must be adjusted to align the selected option text over the trigger text when\n * the panel opens. Will change based on LTR or RTL text direction. Note that the offset\n * can't be calculated until the panel has been attached, because we need to know the\n * content width in order to constrain the panel within the viewport.\n */\n _calculateOverlayOffsetX() {\n const overlayRect = this._overlayDir.overlayRef.overlayElement.getBoundingClientRect();\n const viewportSize = this._viewportRuler.getViewportSize();\n const isRtl = this._isRtl();\n const paddingWidth = this.multiple\n ? SELECT_MULTIPLE_PANEL_PADDING_X + SELECT_PANEL_PADDING_X\n : SELECT_PANEL_PADDING_X * 2;\n let offsetX;\n // Adjust the offset, depending on the option padding.\n if (this.multiple) {\n offsetX = SELECT_MULTIPLE_PANEL_PADDING_X;\n }\n else if (this.disableOptionCentering) {\n offsetX = SELECT_PANEL_PADDING_X;\n }\n else {\n let selected = this._selectionModel.selected[0] || this.options.first;\n offsetX = selected && selected.group ? SELECT_PANEL_INDENT_PADDING_X : SELECT_PANEL_PADDING_X;\n }\n // Invert the offset in LTR.\n if (!isRtl) {\n offsetX *= -1;\n }\n // Determine how much the select overflows on each side.\n const leftOverflow = 0 - (overlayRect.left + offsetX - (isRtl ? paddingWidth : 0));\n const rightOverflow = overlayRect.right + offsetX - viewportSize.width + (isRtl ? 0 : paddingWidth);\n // If the element overflows on either side, reduce the offset to allow it to fit.\n if (leftOverflow > 0) {\n offsetX += leftOverflow + SELECT_PANEL_VIEWPORT_PADDING;\n }\n else if (rightOverflow > 0) {\n offsetX -= rightOverflow + SELECT_PANEL_VIEWPORT_PADDING;\n }\n // Set the offset directly in order to avoid having to go through change detection and\n // potentially triggering \"changed after it was checked\" errors. Round the value to avoid\n // blurry content in some browsers.\n this._overlayDir.offsetX = Math.round(offsetX);\n this._overlayDir.overlayRef.updatePosition();\n }\n /**\n * Calculates the y-offset of the select's overlay panel in relation to the\n * top start corner of the trigger. It has to be adjusted in order for the\n * selected option to be aligned over the trigger when the panel opens.\n */\n _calculateOverlayOffsetY(selectedIndex, scrollBuffer, maxScroll) {\n const itemHeight = this._getItemHeight();\n const optionHeightAdjustment = (itemHeight - this._triggerRect.height) / 2;\n const maxOptionsDisplayed = Math.floor(SELECT_PANEL_MAX_HEIGHT / itemHeight);\n let optionOffsetFromPanelTop;\n // Disable offset if requested by user by returning 0 as value to offset\n if (this.disableOptionCentering) {\n return 0;\n }\n if (this._scrollTop === 0) {\n optionOffsetFromPanelTop = selectedIndex * itemHeight;\n }\n else if (this._scrollTop === maxScroll) {\n const firstDisplayedIndex = this._getItemCount() - maxOptionsDisplayed;\n const selectedDisplayIndex = selectedIndex - firstDisplayedIndex;\n // The first item is partially out of the viewport. Therefore we need to calculate what\n // portion of it is shown in the viewport and account for it in our offset.\n let partialItemHeight = itemHeight - ((this._getItemCount() * itemHeight - SELECT_PANEL_MAX_HEIGHT) % itemHeight);\n // Because the panel height is longer than the height of the options alone,\n // there is always extra padding at the top or bottom of the panel. When\n // scrolled to the very bottom, this padding is at the top of the panel and\n // must be added to the offset.\n optionOffsetFromPanelTop = selectedDisplayIndex * itemHeight + partialItemHeight;\n }\n else {\n // If the option was scrolled to the middle of the panel using a scroll buffer,\n // its offset will be the scroll buffer minus the half height that was added to\n // center it.\n optionOffsetFromPanelTop = scrollBuffer - itemHeight / 2;\n }\n // The final offset is the option's offset from the top, adjusted for the height difference,\n // multiplied by -1 to ensure that the overlay moves in the correct direction up the page.\n // The value is rounded to prevent some browsers from blurring the content.\n return Math.round(optionOffsetFromPanelTop * -1 - optionHeightAdjustment);\n }\n /**\n * Checks that the attempted overlay position will fit within the viewport.\n * If it will not fit, tries to adjust the scroll position and the associated\n * y-offset so the panel can open fully on-screen. If it still won't fit,\n * sets the offset back to 0 to allow the fallback position to take over.\n */\n _checkOverlayWithinViewport(maxScroll) {\n const itemHeight = this._getItemHeight();\n const viewportSize = this._viewportRuler.getViewportSize();\n const topSpaceAvailable = this._triggerRect.top - SELECT_PANEL_VIEWPORT_PADDING;\n const bottomSpaceAvailable = viewportSize.height - this._triggerRect.bottom - SELECT_PANEL_VIEWPORT_PADDING;\n const panelHeightTop = Math.abs(this._offsetY);\n const totalPanelHeight = Math.min(this._getItemCount() * itemHeight, SELECT_PANEL_MAX_HEIGHT);\n const panelHeightBottom = totalPanelHeight - panelHeightTop - this._triggerRect.height;\n if (panelHeightBottom > bottomSpaceAvailable) {\n this._adjustPanelUp(panelHeightBottom, bottomSpaceAvailable);\n }\n else if (panelHeightTop > topSpaceAvailable) {\n this._adjustPanelDown(panelHeightTop, topSpaceAvailable, maxScroll);\n }\n else {\n this._transformOrigin = this._getOriginBasedOnOption();\n }\n }\n /** Adjusts the overlay panel up to fit in the viewport. */\n _adjustPanelUp(panelHeightBottom, bottomSpaceAvailable) {\n // Browsers ignore fractional scroll offsets, so we need to round.\n const distanceBelowViewport = Math.round(panelHeightBottom - bottomSpaceAvailable);\n // Scrolls the panel up by the distance it was extending past the boundary, then\n // adjusts the offset by that amount to move the panel up into the viewport.\n this._scrollTop -= distanceBelowViewport;\n this._offsetY -= distanceBelowViewport;\n this._transformOrigin = this._getOriginBasedOnOption();\n // If the panel is scrolled to the very top, it won't be able to fit the panel\n // by scrolling, so set the offset to 0 to allow the fallback position to take\n // effect.\n if (this._scrollTop <= 0) {\n this._scrollTop = 0;\n this._offsetY = 0;\n this._transformOrigin = `50% bottom 0px`;\n }\n }\n /** Adjusts the overlay panel down to fit in the viewport. */\n _adjustPanelDown(panelHeightTop, topSpaceAvailable, maxScroll) {\n // Browsers ignore fractional scroll offsets, so we need to round.\n const distanceAboveViewport = Math.round(panelHeightTop - topSpaceAvailable);\n // Scrolls the panel down by the distance it was extending past the boundary, then\n // adjusts the offset by that amount to move the panel down into the viewport.\n this._scrollTop += distanceAboveViewport;\n this._offsetY += distanceAboveViewport;\n this._transformOrigin = this._getOriginBasedOnOption();\n // If the panel is scrolled to the very bottom, it won't be able to fit the\n // panel by scrolling, so set the offset to 0 to allow the fallback position\n // to take effect.\n if (this._scrollTop >= maxScroll) {\n this._scrollTop = maxScroll;\n this._offsetY = 0;\n this._transformOrigin = `50% top 0px`;\n return;\n }\n }\n /** Calculates the scroll position and x- and y-offsets of the overlay panel. */\n _calculateOverlayPosition() {\n const itemHeight = this._getItemHeight();\n const items = this._getItemCount();\n const panelHeight = Math.min(items * itemHeight, SELECT_PANEL_MAX_HEIGHT);\n const scrollContainerHeight = items * itemHeight;\n // The farthest the panel can be scrolled before it hits the bottom\n const maxScroll = scrollContainerHeight - panelHeight;\n // If no value is selected we open the popup to the first item.\n let selectedOptionOffset;\n if (this.empty) {\n selectedOptionOffset = 0;\n }\n else {\n selectedOptionOffset = Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]), 0);\n }\n selectedOptionOffset += _countGroupLabelsBeforeLegacyOption(selectedOptionOffset, this.options, this.optionGroups);\n // We must maintain a scroll buffer so the selected option will be scrolled to the\n // center of the overlay panel rather than the top.\n const scrollBuffer = panelHeight / 2;\n this._scrollTop = this._calculateOverlayScroll(selectedOptionOffset, scrollBuffer, maxScroll);\n this._offsetY = this._calculateOverlayOffsetY(selectedOptionOffset, scrollBuffer, maxScroll);\n this._checkOverlayWithinViewport(maxScroll);\n }\n /** Sets the transform origin point based on the selected option. */\n _getOriginBasedOnOption() {\n const itemHeight = this._getItemHeight();\n const optionHeightAdjustment = (itemHeight - this._triggerRect.height) / 2;\n const originY = Math.abs(this._offsetY) - optionHeightAdjustment + itemHeight / 2;\n return `50% ${originY}px 0px`;\n }\n /** Calculates the height of the select's options. */\n _getItemHeight() {\n return this._triggerFontSize * SELECT_ITEM_HEIGHT_EM;\n }\n /** Calculates the amount of items in the select. This includes options and group labels. */\n _getItemCount() {\n return this.options.length + this.optionGroups.length;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacySelect, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacySelect, selector: \"mat-select\", inputs: { disabled: \"disabled\", disableRipple: \"disableRipple\", tabIndex: \"tabIndex\" }, host: { attributes: { \"role\": \"combobox\", \"aria-autocomplete\": \"none\", \"aria-haspopup\": \"true\", \"ngSkipHydration\": \"\" }, listeners: { \"keydown\": \"_handleKeydown($event)\", \"focus\": \"_onFocus()\", \"blur\": \"_onBlur()\" }, properties: { \"attr.id\": \"id\", \"attr.tabindex\": \"tabIndex\", \"attr.aria-controls\": \"panelOpen ? id + \\\"-panel\\\" : null\", \"attr.aria-expanded\": \"panelOpen\", \"attr.aria-label\": \"ariaLabel || null\", \"attr.aria-required\": \"required.toString()\", \"attr.aria-disabled\": \"disabled.toString()\", \"attr.aria-invalid\": \"errorState\", \"attr.aria-activedescendant\": \"_getAriaActiveDescendant()\", \"class.mat-select-disabled\": \"disabled\", \"class.mat-select-invalid\": \"errorState\", \"class.mat-select-required\": \"required\", \"class.mat-select-empty\": \"empty\", \"class.mat-select-multiple\": \"multiple\" }, classAttribute: \"mat-select\" }, providers: [\n { provide: MatLegacyFormFieldControl, useExisting: MatLegacySelect },\n { provide: MAT_LEGACY_OPTION_PARENT_COMPONENT, useExisting: MatLegacySelect },\n ], queries: [{ propertyName: \"customTrigger\", first: true, predicate: MAT_SELECT_TRIGGER, descendants: true }, { propertyName: \"options\", predicate: MatLegacyOption, descendants: true }, { propertyName: \"optionGroups\", predicate: MAT_LEGACY_OPTGROUP, descendants: true }], exportAs: [\"matSelect\"], usesInheritance: true, ngImport: i0, template: \"<!--\\n Note that the select trigger element specifies `aria-owns` pointing to the listbox overlay.\\n While aria-owns is not required for the ARIA 1.2 `role=\\\"combobox\\\"` interaction pattern,\\n it fixes an issue with VoiceOver when the select appears inside of an `aria-model=\\\"true\\\"`\\n element (e.g. a dialog). Without this `aria-owns`, the `aria-modal` on a dialog prevents\\n VoiceOver from \\\"seeing\\\" the select's listbox overlay for aria-activedescendant.\\n Using `aria-owns` re-parents the select overlay so that it works again.\\n See https://github.com/angular/components/issues/20694\\n-->\\n<div cdk-overlay-origin\\n [attr.aria-owns]=\\\"panelOpen ? id + '-panel' : null\\\"\\n class=\\\"mat-select-trigger\\\"\\n (click)=\\\"toggle()\\\"\\n #origin=\\\"cdkOverlayOrigin\\\"\\n #trigger>\\n <div class=\\\"mat-select-value\\\" [ngSwitch]=\\\"empty\\\" [attr.id]=\\\"_valueId\\\">\\n <span class=\\\"mat-select-placeholder mat-select-min-line\\\" *ngSwitchCase=\\\"true\\\">{{placeholder}}</span>\\n <span class=\\\"mat-select-value-text\\\" *ngSwitchCase=\\\"false\\\" [ngSwitch]=\\\"!!customTrigger\\\">\\n <span class=\\\"mat-select-min-line\\\" *ngSwitchDefault>{{triggerValue}}</span>\\n <ng-content select=\\\"mat-select-trigger\\\" *ngSwitchCase=\\\"true\\\"></ng-content>\\n </span>\\n </div>\\n\\n <div class=\\\"mat-select-arrow-wrapper\\\"><div class=\\\"mat-select-arrow\\\"></div></div>\\n</div>\\n\\n<ng-template\\n cdk-connected-overlay\\n cdkConnectedOverlayLockPosition\\n cdkConnectedOverlayHasBackdrop\\n cdkConnectedOverlayBackdropClass=\\\"cdk-overlay-transparent-backdrop\\\"\\n [cdkConnectedOverlayPanelClass]=\\\"_overlayPanelClass\\\"\\n [cdkConnectedOverlayScrollStrategy]=\\\"_scrollStrategy\\\"\\n [cdkConnectedOverlayOrigin]=\\\"origin\\\"\\n [cdkConnectedOverlayOpen]=\\\"panelOpen\\\"\\n [cdkConnectedOverlayPositions]=\\\"_positions\\\"\\n [cdkConnectedOverlayMinWidth]=\\\"_getOverlayMinWidth()\\\"\\n [cdkConnectedOverlayOffsetY]=\\\"_offsetY\\\"\\n (backdropClick)=\\\"close()\\\"\\n (attach)=\\\"_onAttached()\\\"\\n (detach)=\\\"close()\\\">\\n <div class=\\\"mat-select-panel-wrap\\\" [@transformPanelWrap]>\\n <div\\n #panel\\n role=\\\"listbox\\\"\\n tabindex=\\\"-1\\\"\\n class=\\\"mat-select-panel {{ _getPanelTheme() }}\\\"\\n [attr.id]=\\\"id + '-panel'\\\"\\n [attr.aria-multiselectable]=\\\"multiple\\\"\\n [attr.aria-label]=\\\"ariaLabel || null\\\"\\n [attr.aria-labelledby]=\\\"_getPanelAriaLabelledby()\\\"\\n [ngClass]=\\\"panelClass\\\"\\n [@transformPanel]=\\\"multiple ? 'showing-multiple' : 'showing'\\\"\\n (@transformPanel.done)=\\\"_panelDoneAnimatingStream.next($event.toState)\\\"\\n [style.transformOrigin]=\\\"_transformOrigin\\\"\\n [style.font-size.px]=\\\"_triggerFontSize\\\"\\n (keydown)=\\\"_handleKeydown($event)\\\">\\n <ng-content></ng-content>\\n </div>\\n </div>\\n</ng-template>\\n\", styles: [\".mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;margin:0 4px}.mat-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-select-min-line:empty::before{content:\\\" \\\";white-space:pre;width:1px;display:inline-block;visibility:hidden}\"], dependencies: [{ kind: \"directive\", type: i1.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i1.NgSwitch, selector: \"[ngSwitch]\", inputs: [\"ngSwitch\"] }, { kind: \"directive\", type: i1.NgSwitchCase, selector: \"[ngSwitchCase]\", inputs: [\"ngSwitchCase\"] }, { kind: \"directive\", type: i1.NgSwitchDefault, selector: \"[ngSwitchDefault]\" }, { kind: \"directive\", type: i2.CdkConnectedOverlay, selector: \"[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]\", inputs: [\"cdkConnectedOverlayOrigin\", \"cdkConnectedOverlayPositions\", \"cdkConnectedOverlayPositionStrategy\", \"cdkConnectedOverlayOffsetX\", \"cdkConnectedOverlayOffsetY\", \"cdkConnectedOverlayWidth\", \"cdkConnectedOverlayHeight\", \"cdkConnectedOverlayMinWidth\", \"cdkConnectedOverlayMinHeight\", \"cdkConnectedOverlayBackdropClass\", \"cdkConnectedOverlayPanelClass\", \"cdkConnectedOverlayViewportMargin\", \"cdkConnectedOverlayScrollStrategy\", \"cdkConnectedOverlayOpen\", \"cdkConnectedOverlayDisableClose\", \"cdkConnectedOverlayTransformOriginOn\", \"cdkConnectedOverlayHasBackdrop\", \"cdkConnectedOverlayLockPosition\", \"cdkConnectedOverlayFlexibleDimensions\", \"cdkConnectedOverlayGrowAfterOpen\", \"cdkConnectedOverlayPush\"], outputs: [\"backdropClick\", \"positionChange\", \"attach\", \"detach\", \"overlayKeydown\", \"overlayOutsideClick\"], exportAs: [\"cdkConnectedOverlay\"] }, { kind: \"directive\", type: i2.CdkOverlayOrigin, selector: \"[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]\", exportAs: [\"cdkOverlayOrigin\"] }], animations: [\n matLegacySelectAnimations.transformPanelWrap,\n matLegacySelectAnimations.transformPanel,\n ], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacySelect, decorators: [{\n type: Component,\n args: [{ selector: 'mat-select', exportAs: 'matSelect', inputs: ['disabled', 'disableRipple', 'tabIndex'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {\n 'role': 'combobox',\n 'aria-autocomplete': 'none',\n // TODO(crisbeto): the value for aria-haspopup should be `listbox`, but currently it's difficult\n // to sync into Google, because of an outdated automated a11y check which flags it as an invalid\n // value. At some point we should try to switch it back to being `listbox`.\n 'aria-haspopup': 'true',\n 'class': 'mat-select',\n '[attr.id]': 'id',\n '[attr.tabindex]': 'tabIndex',\n '[attr.aria-controls]': 'panelOpen ? id + \"-panel\" : null',\n '[attr.aria-expanded]': 'panelOpen',\n '[attr.aria-label]': 'ariaLabel || null',\n '[attr.aria-required]': 'required.toString()',\n '[attr.aria-disabled]': 'disabled.toString()',\n '[attr.aria-invalid]': 'errorState',\n '[attr.aria-activedescendant]': '_getAriaActiveDescendant()',\n '[class.mat-select-disabled]': 'disabled',\n '[class.mat-select-invalid]': 'errorState',\n '[class.mat-select-required]': 'required',\n '[class.mat-select-empty]': 'empty',\n '[class.mat-select-multiple]': 'multiple',\n '(keydown)': '_handleKeydown($event)',\n '(focus)': '_onFocus()',\n '(blur)': '_onBlur()',\n 'ngSkipHydration': '',\n }, animations: [\n matLegacySelectAnimations.transformPanelWrap,\n matLegacySelectAnimations.transformPanel,\n ], providers: [\n { provide: MatLegacyFormFieldControl, useExisting: MatLegacySelect },\n { provide: MAT_LEGACY_OPTION_PARENT_COMPONENT, useExisting: MatLegacySelect },\n ], template: \"<!--\\n Note that the select trigger element specifies `aria-owns` pointing to the listbox overlay.\\n While aria-owns is not required for the ARIA 1.2 `role=\\\"combobox\\\"` interaction pattern,\\n it fixes an issue with VoiceOver when the select appears inside of an `aria-model=\\\"true\\\"`\\n element (e.g. a dialog). Without this `aria-owns`, the `aria-modal` on a dialog prevents\\n VoiceOver from \\\"seeing\\\" the select's listbox overlay for aria-activedescendant.\\n Using `aria-owns` re-parents the select overlay so that it works again.\\n See https://github.com/angular/components/issues/20694\\n-->\\n<div cdk-overlay-origin\\n [attr.aria-owns]=\\\"panelOpen ? id + '-panel' : null\\\"\\n class=\\\"mat-select-trigger\\\"\\n (click)=\\\"toggle()\\\"\\n #origin=\\\"cdkOverlayOrigin\\\"\\n #trigger>\\n <div class=\\\"mat-select-value\\\" [ngSwitch]=\\\"empty\\\" [attr.id]=\\\"_valueId\\\">\\n <span class=\\\"mat-select-placeholder mat-select-min-line\\\" *ngSwitchCase=\\\"true\\\">{{placeholder}}</span>\\n <span class=\\\"mat-select-value-text\\\" *ngSwitchCase=\\\"false\\\" [ngSwitch]=\\\"!!customTrigger\\\">\\n <span class=\\\"mat-select-min-line\\\" *ngSwitchDefault>{{triggerValue}}</span>\\n <ng-content select=\\\"mat-select-trigger\\\" *ngSwitchCase=\\\"true\\\"></ng-content>\\n </span>\\n </div>\\n\\n <div class=\\\"mat-select-arrow-wrapper\\\"><div class=\\\"mat-select-arrow\\\"></div></div>\\n</div>\\n\\n<ng-template\\n cdk-connected-overlay\\n cdkConnectedOverlayLockPosition\\n cdkConnectedOverlayHasBackdrop\\n cdkConnectedOverlayBackdropClass=\\\"cdk-overlay-transparent-backdrop\\\"\\n [cdkConnectedOverlayPanelClass]=\\\"_overlayPanelClass\\\"\\n [cdkConnectedOverlayScrollStrategy]=\\\"_scrollStrategy\\\"\\n [cdkConnectedOverlayOrigin]=\\\"origin\\\"\\n [cdkConnectedOverlayOpen]=\\\"panelOpen\\\"\\n [cdkConnectedOverlayPositions]=\\\"_positions\\\"\\n [cdkConnectedOverlayMinWidth]=\\\"_getOverlayMinWidth()\\\"\\n [cdkConnectedOverlayOffsetY]=\\\"_offsetY\\\"\\n (backdropClick)=\\\"close()\\\"\\n (attach)=\\\"_onAttached()\\\"\\n (detach)=\\\"close()\\\">\\n <div class=\\\"mat-select-panel-wrap\\\" [@transformPanelWrap]>\\n <div\\n #panel\\n role=\\\"listbox\\\"\\n tabindex=\\\"-1\\\"\\n class=\\\"mat-select-panel {{ _getPanelTheme() }}\\\"\\n [attr.id]=\\\"id + '-panel'\\\"\\n [attr.aria-multiselectable]=\\\"multiple\\\"\\n [attr.aria-label]=\\\"ariaLabel || null\\\"\\n [attr.aria-labelledby]=\\\"_getPanelAriaLabelledby()\\\"\\n [ngClass]=\\\"panelClass\\\"\\n [@transformPanel]=\\\"multiple ? 'showing-multiple' : 'showing'\\\"\\n (@transformPanel.done)=\\\"_panelDoneAnimatingStream.next($event.toState)\\\"\\n [style.transformOrigin]=\\\"_transformOrigin\\\"\\n [style.font-size.px]=\\\"_triggerFontSize\\\"\\n (keydown)=\\\"_handleKeydown($event)\\\">\\n <ng-content></ng-content>\\n </div>\\n </div>\\n</ng-template>\\n\", styles: [\".mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;margin:0 4px}.mat-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-select-min-line:empty::before{content:\\\" \\\";white-space:pre;width:1px;display:inline-block;visibility:hidden}\"] }]\n }], propDecorators: { options: [{\n type: ContentChildren,\n args: [MatLegacyOption, { descendants: true }]\n }], optionGroups: [{\n type: ContentChildren,\n args: [MAT_LEGACY_OPTGROUP, { descendants: true }]\n }], customTrigger: [{\n type: ContentChild,\n args: [MAT_SELECT_TRIGGER]\n }] } });\n\n/**\n * @deprecated Use `MatSelectModule` from `@angular/material/select` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacySelectModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacySelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacySelectModule, declarations: [MatLegacySelect, MatLegacySelectTrigger], imports: [CommonModule, OverlayModule, MatLegacyOptionModule, MatCommonModule], exports: [CdkScrollableModule,\n MatLegacyFormFieldModule,\n MatLegacySelect,\n MatLegacySelectTrigger,\n MatLegacyOptionModule,\n MatCommonModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacySelectModule, providers: [MAT_SELECT_SCROLL_STRATEGY_PROVIDER], imports: [CommonModule, OverlayModule, MatLegacyOptionModule, MatCommonModule, CdkScrollableModule,\n MatLegacyFormFieldModule,\n MatLegacyOptionModule,\n MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacySelectModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [CommonModule, OverlayModule, MatLegacyOptionModule, MatCommonModule],\n exports: [\n CdkScrollableModule,\n MatLegacyFormFieldModule,\n MatLegacySelect,\n MatLegacySelectTrigger,\n MatLegacyOptionModule,\n MatCommonModule,\n ],\n declarations: [MatLegacySelect, MatLegacySelectTrigger],\n providers: [MAT_SELECT_SCROLL_STRATEGY_PROVIDER],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MatLegacySelect, MatLegacySelectChange, MatLegacySelectModule, MatLegacySelectTrigger, matLegacySelectAnimations };\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21]} \ No newline at end of file diff --git a/8287.3f6959d00e46e8cd.js b/8287.3f6959d00e46e8cd.js new file mode 100644 index 0000000..fa56396 --- /dev/null +++ b/8287.3f6959d00e46e8cd.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[8287],{28287:(F,o,d)=>{d.r(o),d.d(o,{MatLegacyCard:()=>Z,MatLegacyCardActions:()=>h,MatLegacyCardAvatar:()=>I,MatLegacyCardContent:()=>y,MatLegacyCardFooter:()=>L,MatLegacyCardHeader:()=>w,MatLegacyCardImage:()=>_,MatLegacyCardLgImage:()=>D,MatLegacyCardMdImage:()=>x,MatLegacyCardModule:()=>S,MatLegacyCardSmImage:()=>b,MatLegacyCardSubtitle:()=>C,MatLegacyCardTitle:()=>v,MatLegacyCardTitleGroup:()=>T,MatLegacyCardXlImage:()=>A});var n=d(48047),i=d(78069),r=d(56718),g=d(33401),m=d(6606),s=["*",[["mat-card-footer"]]],l=["*","mat-card-footer"],u=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],f=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],p=[[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],[["img"]],"*"],M=["mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","img","*"],y=function(){var a=(0,n.Z)(function t(){(0,i.Z)(this,t)});return a.\u0275fac=function(e){return new(e||a)},a.\u0275dir=r.\u0275\u0275defineDirective({type:a,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),a}(),v=function(){var a=(0,n.Z)(function t(){(0,i.Z)(this,t)});return a.\u0275fac=function(e){return new(e||a)},a.\u0275dir=r.\u0275\u0275defineDirective({type:a,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),a}(),C=function(){var a=(0,n.Z)(function t(){(0,i.Z)(this,t)});return a.\u0275fac=function(e){return new(e||a)},a.\u0275dir=r.\u0275\u0275defineDirective({type:a,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-card-subtitle"]}),a}(),h=function(){var a=(0,n.Z)(function t(){(0,i.Z)(this,t),this.align="start"});return a.\u0275fac=function(e){return new(e||a)},a.\u0275dir=r.\u0275\u0275defineDirective({type:a,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-card-actions"],hostVars:2,hostBindings:function(e,c){2&e&&r.\u0275\u0275classProp("mat-card-actions-align-end","end"===c.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),a}(),L=function(){var a=(0,n.Z)(function t(){(0,i.Z)(this,t)});return a.\u0275fac=function(e){return new(e||a)},a.\u0275dir=r.\u0275\u0275defineDirective({type:a,selectors:[["mat-card-footer"]],hostAttrs:[1,"mat-card-footer"]}),a}(),_=function(){var a=(0,n.Z)(function t(){(0,i.Z)(this,t)});return a.\u0275fac=function(e){return new(e||a)},a.\u0275dir=r.\u0275\u0275defineDirective({type:a,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-card-image"]}),a}(),b=function(){var a=(0,n.Z)(function t(){(0,i.Z)(this,t)});return a.\u0275fac=function(e){return new(e||a)},a.\u0275dir=r.\u0275\u0275defineDirective({type:a,selectors:[["","mat-card-sm-image",""],["","matCardImageSmall",""]],hostAttrs:[1,"mat-card-sm-image"]}),a}(),x=function(){var a=(0,n.Z)(function t(){(0,i.Z)(this,t)});return a.\u0275fac=function(e){return new(e||a)},a.\u0275dir=r.\u0275\u0275defineDirective({type:a,selectors:[["","mat-card-md-image",""],["","matCardImageMedium",""]],hostAttrs:[1,"mat-card-md-image"]}),a}(),D=function(){var a=(0,n.Z)(function t(){(0,i.Z)(this,t)});return a.\u0275fac=function(e){return new(e||a)},a.\u0275dir=r.\u0275\u0275defineDirective({type:a,selectors:[["","mat-card-lg-image",""],["","matCardImageLarge",""]],hostAttrs:[1,"mat-card-lg-image"]}),a}(),A=function(){var a=(0,n.Z)(function t(){(0,i.Z)(this,t)});return a.\u0275fac=function(e){return new(e||a)},a.\u0275dir=r.\u0275\u0275defineDirective({type:a,selectors:[["","mat-card-xl-image",""],["","matCardImageXLarge",""]],hostAttrs:[1,"mat-card-xl-image"]}),a}(),I=function(){var a=(0,n.Z)(function t(){(0,i.Z)(this,t)});return a.\u0275fac=function(e){return new(e||a)},a.\u0275dir=r.\u0275\u0275defineDirective({type:a,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-card-avatar"]}),a}(),Z=function(){var a=(0,n.Z)(function t(e){(0,i.Z)(this,t),this._animationMode=e});return a.\u0275fac=function(e){return new(e||a)(r.\u0275\u0275directiveInject(g.ANIMATION_MODULE_TYPE,8))},a.\u0275cmp=r.\u0275\u0275defineComponent({type:a,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(e,c){2&e&&r.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===c._animationMode)},exportAs:["matCard"],ngContentSelectors:l,decls:2,vars:0,template:function(e,c){1&e&&(r.\u0275\u0275projectionDef(s),r.\u0275\u0275projection(0),r.\u0275\u0275projection(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}.mat-card._mat-animation-noopable{transition:none !important;animation:none !important}.mat-card>.mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card>.mat-divider-horizontal{left:auto;right:0}.mat-card>.mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card>.mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px;display:block;overflow:hidden}.mat-card-image img{width:100%}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}"],encapsulation:2,changeDetection:0}),a}(),w=function(){var a=(0,n.Z)(function t(){(0,i.Z)(this,t)});return a.\u0275fac=function(e){return new(e||a)},a.\u0275cmp=r.\u0275\u0275defineComponent({type:a,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:f,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(e,c){1&e&&(r.\u0275\u0275projectionDef(u),r.\u0275\u0275projection(0),r.\u0275\u0275elementStart(1,"div",0),r.\u0275\u0275projection(2,1),r.\u0275\u0275elementEnd(),r.\u0275\u0275projection(3,2))},encapsulation:2,changeDetection:0}),a}(),T=function(){var a=(0,n.Z)(function t(){(0,i.Z)(this,t)});return a.\u0275fac=function(e){return new(e||a)},a.\u0275cmp=r.\u0275\u0275defineComponent({type:a,selectors:[["mat-card-title-group"]],hostAttrs:[1,"mat-card-title-group"],ngContentSelectors:M,decls:4,vars:0,template:function(e,c){1&e&&(r.\u0275\u0275projectionDef(p),r.\u0275\u0275elementStart(0,"div"),r.\u0275\u0275projection(1),r.\u0275\u0275elementEnd(),r.\u0275\u0275projection(2,1),r.\u0275\u0275projection(3,2))},encapsulation:2,changeDetection:0}),a}(),S=function(){var a=(0,n.Z)(function t(){(0,i.Z)(this,t)});return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=r.\u0275\u0275defineNgModule({type:a}),a.\u0275inj=r.\u0275\u0275defineInjector({imports:[m.MatCommonModule,m.MatCommonModule]}),a}()}}]); +//# sourceMappingURL=8287.3f6959d00e46e8cd.js.map \ No newline at end of file diff --git a/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B,UAAA,sBAAAC,UAAA,sBAAAsB,mBAAAnC,EAAAoC,MAAA,EAAAC,KAAA,EAAAM,OAAA,6BAAAL,SAAA,SAAAlB,EAAAC,GAAA,EAAAD,IA7OjBV,4BAAEX,GAAFW,yBAAE,GAAFA,2BAAE,WAAFA,yBAAE,KAAFA,oDAAE,KA6O6a,EAAA8B,cAAA,EAAAC,gBAAA,IAF7gBC,CAAmB,IAenBE,EAAuB,eAAvBA,GAAuBxC,OAAA,SAAAwC,KAAAvC,OAAAC,KAAAsC,EAAA,GAAvBA,SACYrC,UAAI,SAAAC,GAAA,WAAAA,GAAwFoC,EAAuB,EAD/HA,EAEYV,UA5PkFxB,8BAAE,CAAAC,KA4PJiC,EAAuBhC,UAAA,2BAAAC,UAAA,2BAAAsB,mBAAAjC,EAAAkC,MAAA,EAAAC,KAAA,EAAAC,SAAA,SAAAlB,EAAAC,GAAA,EAAAD,IA5PrBV,4BAAET,GAAFS,2BAAE,SAAFA,yBAAE,GAAFA,oDAAE,KAAFA,yBAAE,KA4P6X,EAAA8B,cAAA,EAAAC,gBAAA,IAF7dG,CAAuB,IAavBC,EAAmB,eAAnBA,GAAmBzC,OAAA,SAAAyC,KAAAxC,OAAAC,KAAAuC,EAAA,GAAnBA,SACYtC,UAAI,SAAAC,GAAA,WAAAA,GAAwFqC,EAAmB,EAD3HA,EAEYC,UAzQkFpC,6BAAE,CAAAC,KAyQSkC,IAFzGA,EA8BYE,UArSkFrC,6BAAE,CAAAsC,QAAA,CAqSwCC,kBAAiBA,qBA9BzJJ,CAAmB","names":["_c0","_c1","_c2","_c3","_c4","_c5","MatLegacyCardContent","_createClass","_classCallCheck","this","ɵfac","t","ɵdir","i0","type","selectors","hostAttrs","MatLegacyCardTitle","MatLegacyCardSubtitle","MatLegacyCardActions","align","hostVars","hostBindings","rf","ctx","inputs","exportAs","MatLegacyCardFooter","MatLegacyCardImage","MatLegacyCardSmImage","MatLegacyCardMdImage","MatLegacyCardLgImage","MatLegacyCardXlImage","MatLegacyCardAvatar","MatLegacyCard","_animationMode","ANIMATION_MODULE_TYPE","ɵcmp","ngContentSelectors","decls","vars","template","styles","encapsulation","changeDetection","MatLegacyCardHeader","consts","MatLegacyCardTitleGroup","MatLegacyCardModule","ɵmod","ɵinj","imports","MatCommonModule"],"sourceRoot":"webpack:///","sources":["./node_modules/@angular/material/fesm2022/legacy-card.mjs"],"sourcesContent":["import * as i0 from '@angular/core';\nimport { Directive, Input, Component, ViewEncapsulation, ChangeDetectionStrategy, Optional, Inject, NgModule } from '@angular/core';\nimport { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';\nimport { MatCommonModule } from '@angular/material/core';\n\n/**\n * Content of a card, needed as it's used as a selector in the API.\n * @docs-private\n * @deprecated Use `MatCardContent` from `@angular/material/card` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyCardContent {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyCardContent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyCardContent, selector: \"mat-card-content, [mat-card-content], [matCardContent]\", host: { classAttribute: \"mat-card-content\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyCardContent, decorators: [{\n type: Directive,\n args: [{\n selector: 'mat-card-content, [mat-card-content], [matCardContent]',\n host: { 'class': 'mat-card-content' },\n }]\n }] });\n/**\n * Title of a card, needed as it's used as a selector in the API.\n * @docs-private\n * @deprecated Use `MatCardTitle` from `@angular/material/card` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyCardTitle {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyCardTitle, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyCardTitle, selector: \"mat-card-title, [mat-card-title], [matCardTitle]\", host: { classAttribute: \"mat-card-title\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyCardTitle, decorators: [{\n type: Directive,\n args: [{\n selector: `mat-card-title, [mat-card-title], [matCardTitle]`,\n host: {\n 'class': 'mat-card-title',\n },\n }]\n }] });\n/**\n * Sub-title of a card, needed as it's used as a selector in the API.\n * @docs-private\n * @deprecated Use `MatCardSubtitle` from `@angular/material/card` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyCardSubtitle {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyCardSubtitle, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyCardSubtitle, selector: \"mat-card-subtitle, [mat-card-subtitle], [matCardSubtitle]\", host: { classAttribute: \"mat-card-subtitle\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyCardSubtitle, decorators: [{\n type: Directive,\n args: [{\n selector: `mat-card-subtitle, [mat-card-subtitle], [matCardSubtitle]`,\n host: {\n 'class': 'mat-card-subtitle',\n },\n }]\n }] });\n/**\n * Action section of a card, needed as it's used as a selector in the API.\n * @docs-private\n * @deprecated Use `MatCardActions` from `@angular/material/card` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyCardActions {\n constructor() {\n /** Position of the actions inside the card. */\n this.align = 'start';\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyCardActions, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyCardActions, selector: \"mat-card-actions\", inputs: { align: \"align\" }, host: { properties: { \"class.mat-card-actions-align-end\": \"align === \\\"end\\\"\" }, classAttribute: \"mat-card-actions\" }, exportAs: [\"matCardActions\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyCardActions, decorators: [{\n type: Directive,\n args: [{\n selector: 'mat-card-actions',\n exportAs: 'matCardActions',\n host: {\n 'class': 'mat-card-actions',\n '[class.mat-card-actions-align-end]': 'align === \"end\"',\n },\n }]\n }], propDecorators: { align: [{\n type: Input\n }] } });\n/**\n * Footer of a card, needed as it's used as a selector in the API.\n * @docs-private\n * @deprecated Use `MatCardFooter` from `@angular/material/card` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyCardFooter {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyCardFooter, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyCardFooter, selector: \"mat-card-footer\", host: { classAttribute: \"mat-card-footer\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyCardFooter, decorators: [{\n type: Directive,\n args: [{\n selector: 'mat-card-footer',\n host: { 'class': 'mat-card-footer' },\n }]\n }] });\n/**\n * Image used in a card, needed to add the mat- CSS styling.\n * @docs-private\n * @deprecated Use `MatCardImage` from `@angular/material/card` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyCardImage {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyCardImage, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyCardImage, selector: \"[mat-card-image], [matCardImage]\", host: { classAttribute: \"mat-card-image\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyCardImage, decorators: [{\n type: Directive,\n args: [{\n selector: '[mat-card-image], [matCardImage]',\n host: { 'class': 'mat-card-image' },\n }]\n }] });\n/**\n * Image used in a card, needed to add the mat- CSS styling.\n * @docs-private\n * @deprecated Use `MatCardSmImage` from `@angular/material/card` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyCardSmImage {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyCardSmImage, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyCardSmImage, selector: \"[mat-card-sm-image], [matCardImageSmall]\", host: { classAttribute: \"mat-card-sm-image\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyCardSmImage, decorators: [{\n type: Directive,\n args: [{\n selector: '[mat-card-sm-image], [matCardImageSmall]',\n host: { 'class': 'mat-card-sm-image' },\n }]\n }] });\n/**\n * Image used in a card, needed to add the mat- CSS styling.\n * @docs-private\n * @deprecated Use `MatCardMdImage` from `@angular/material/card` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyCardMdImage {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyCardMdImage, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyCardMdImage, selector: \"[mat-card-md-image], [matCardImageMedium]\", host: { classAttribute: \"mat-card-md-image\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyCardMdImage, decorators: [{\n type: Directive,\n args: [{\n selector: '[mat-card-md-image], [matCardImageMedium]',\n host: { 'class': 'mat-card-md-image' },\n }]\n }] });\n/**\n * Image used in a card, needed to add the mat- CSS styling.\n * @docs-private\n * @deprecated Use `MatCardLgImage` from `@angular/material/card` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyCardLgImage {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyCardLgImage, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyCardLgImage, selector: \"[mat-card-lg-image], [matCardImageLarge]\", host: { classAttribute: \"mat-card-lg-image\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyCardLgImage, decorators: [{\n type: Directive,\n args: [{\n selector: '[mat-card-lg-image], [matCardImageLarge]',\n host: { 'class': 'mat-card-lg-image' },\n }]\n }] });\n/**\n * Large image used in a card, needed to add the mat- CSS styling.\n * @docs-private\n * @deprecated Use `MatCardXlImage` from `@angular/material/card` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyCardXlImage {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyCardXlImage, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyCardXlImage, selector: \"[mat-card-xl-image], [matCardImageXLarge]\", host: { classAttribute: \"mat-card-xl-image\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyCardXlImage, decorators: [{\n type: Directive,\n args: [{\n selector: '[mat-card-xl-image], [matCardImageXLarge]',\n host: { 'class': 'mat-card-xl-image' },\n }]\n }] });\n/**\n * Avatar image used in a card, needed to add the mat- CSS styling.\n * @docs-private\n * @deprecated Use `MatCardAvatar` from `@angular/material/card` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyCardAvatar {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyCardAvatar, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyCardAvatar, selector: \"[mat-card-avatar], [matCardAvatar]\", host: { classAttribute: \"mat-card-avatar\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyCardAvatar, decorators: [{\n type: Directive,\n args: [{\n selector: '[mat-card-avatar], [matCardAvatar]',\n host: { 'class': 'mat-card-avatar' },\n }]\n }] });\n/**\n * A basic content container component that adds the styles of a Material design card.\n *\n * While this component can be used alone, it also provides a number\n * of preset styles for common card sections, including:\n * - mat-card-title\n * - mat-card-subtitle\n * - mat-card-content\n * - mat-card-actions\n * - mat-card-footer\n *\n * @deprecated Use `MatCard` from `@angular/material/card` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyCard {\n // @breaking-change 9.0.0 `_animationMode` parameter to be made required.\n constructor(_animationMode) {\n this._animationMode = _animationMode;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyCard, deps: [{ token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyCard, selector: \"mat-card\", host: { properties: { \"class._mat-animation-noopable\": \"_animationMode === \\\"NoopAnimations\\\"\" }, classAttribute: \"mat-card mat-focus-indicator\" }, exportAs: [\"matCard\"], ngImport: i0, template: \"<ng-content></ng-content>\\n<ng-content select=\\\"mat-card-footer\\\"></ng-content>\\n\", styles: [\".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}.mat-card._mat-animation-noopable{transition:none !important;animation:none !important}.mat-card>.mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card>.mat-divider-horizontal{left:auto;right:0}.mat-card>.mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card>.mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px;display:block;overflow:hidden}.mat-card-image img{width:100%}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyCard, decorators: [{\n type: Component,\n args: [{ selector: 'mat-card', exportAs: 'matCard', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {\n 'class': 'mat-card mat-focus-indicator',\n '[class._mat-animation-noopable]': '_animationMode === \"NoopAnimations\"',\n }, template: \"<ng-content></ng-content>\\n<ng-content select=\\\"mat-card-footer\\\"></ng-content>\\n\", styles: [\".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}.mat-card._mat-animation-noopable{transition:none !important;animation:none !important}.mat-card>.mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card>.mat-divider-horizontal{left:auto;right:0}.mat-card>.mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card>.mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px;display:block;overflow:hidden}.mat-card-image img{width:100%}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\"] }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }]; } });\n/**\n * Component intended to be used within the `<mat-card>` component. It adds styles for a\n * preset header section (i.e. a title, subtitle, and avatar layout).\n * @docs-private\n * @deprecated Use `MatCardHeader` from `@angular/material/card` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyCardHeader {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyCardHeader, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyCardHeader, selector: \"mat-card-header\", host: { classAttribute: \"mat-card-header\" }, ngImport: i0, template: \"<ng-content select=\\\"[mat-card-avatar], [matCardAvatar]\\\"></ng-content>\\n<div class=\\\"mat-card-header-text\\\">\\n <ng-content\\n select=\\\"mat-card-title, mat-card-subtitle,\\n [mat-card-title], [mat-card-subtitle],\\n [matCardTitle], [matCardSubtitle]\\\"></ng-content>\\n</div>\\n<ng-content></ng-content>\\n\", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyCardHeader, decorators: [{\n type: Component,\n args: [{ selector: 'mat-card-header', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { 'class': 'mat-card-header' }, template: \"<ng-content select=\\\"[mat-card-avatar], [matCardAvatar]\\\"></ng-content>\\n<div class=\\\"mat-card-header-text\\\">\\n <ng-content\\n select=\\\"mat-card-title, mat-card-subtitle,\\n [mat-card-title], [mat-card-subtitle],\\n [matCardTitle], [matCardSubtitle]\\\"></ng-content>\\n</div>\\n<ng-content></ng-content>\\n\" }]\n }] });\n/**\n * Component intended to be used within the `<mat-card>` component. It adds styles for a preset\n * layout that groups an image with a title section.\n * @docs-private\n * @deprecated Use `MatCardTitleGroup` from `@angular/material/card` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyCardTitleGroup {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyCardTitleGroup, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyCardTitleGroup, selector: \"mat-card-title-group\", host: { classAttribute: \"mat-card-title-group\" }, ngImport: i0, template: \"<div>\\n <ng-content\\n select=\\\"mat-card-title, mat-card-subtitle,\\n [mat-card-title], [mat-card-subtitle],\\n [matCardTitle], [matCardSubtitle]\\\"></ng-content>\\n</div>\\n<ng-content select=\\\"img\\\"></ng-content>\\n<ng-content></ng-content>\\n\", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyCardTitleGroup, decorators: [{\n type: Component,\n args: [{ selector: 'mat-card-title-group', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { 'class': 'mat-card-title-group' }, template: \"<div>\\n <ng-content\\n select=\\\"mat-card-title, mat-card-subtitle,\\n [mat-card-title], [mat-card-subtitle],\\n [matCardTitle], [matCardSubtitle]\\\"></ng-content>\\n</div>\\n<ng-content select=\\\"img\\\"></ng-content>\\n<ng-content></ng-content>\\n\" }]\n }] });\n\n/**\n * @deprecated Use `MatCardModule` from `@angular/material/card` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyCardModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyCardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyCardModule, declarations: [MatLegacyCard,\n MatLegacyCardHeader,\n MatLegacyCardTitleGroup,\n MatLegacyCardContent,\n MatLegacyCardTitle,\n MatLegacyCardSubtitle,\n MatLegacyCardActions,\n MatLegacyCardFooter,\n MatLegacyCardSmImage,\n MatLegacyCardMdImage,\n MatLegacyCardLgImage,\n MatLegacyCardImage,\n MatLegacyCardXlImage,\n MatLegacyCardAvatar], imports: [MatCommonModule], exports: [MatLegacyCard,\n MatLegacyCardHeader,\n MatLegacyCardTitleGroup,\n MatLegacyCardContent,\n MatLegacyCardTitle,\n MatLegacyCardSubtitle,\n MatLegacyCardActions,\n MatLegacyCardFooter,\n MatLegacyCardSmImage,\n MatLegacyCardMdImage,\n MatLegacyCardLgImage,\n MatLegacyCardImage,\n MatLegacyCardXlImage,\n MatLegacyCardAvatar,\n MatCommonModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyCardModule, imports: [MatCommonModule, MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyCardModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [MatCommonModule],\n exports: [\n MatLegacyCard,\n MatLegacyCardHeader,\n MatLegacyCardTitleGroup,\n MatLegacyCardContent,\n MatLegacyCardTitle,\n MatLegacyCardSubtitle,\n MatLegacyCardActions,\n MatLegacyCardFooter,\n MatLegacyCardSmImage,\n MatLegacyCardMdImage,\n MatLegacyCardLgImage,\n MatLegacyCardImage,\n MatLegacyCardXlImage,\n MatLegacyCardAvatar,\n MatCommonModule,\n ],\n declarations: [\n MatLegacyCard,\n MatLegacyCardHeader,\n MatLegacyCardTitleGroup,\n MatLegacyCardContent,\n MatLegacyCardTitle,\n MatLegacyCardSubtitle,\n MatLegacyCardActions,\n MatLegacyCardFooter,\n MatLegacyCardSmImage,\n MatLegacyCardMdImage,\n MatLegacyCardLgImage,\n MatLegacyCardImage,\n MatLegacyCardXlImage,\n MatLegacyCardAvatar,\n ],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MatLegacyCard, MatLegacyCardActions, MatLegacyCardAvatar, MatLegacyCardContent, MatLegacyCardFooter, MatLegacyCardHeader, MatLegacyCardImage, MatLegacyCardLgImage, MatLegacyCardMdImage, MatLegacyCardModule, MatLegacyCardSmImage, MatLegacyCardSubtitle, MatLegacyCardTitle, MatLegacyCardTitleGroup, MatLegacyCardXlImage };\n"],"x_google_ignoreList":[0]} \ No newline at end of file diff --git a/833.c8215640c38aad70.js b/833.c8215640c38aad70.js new file mode 100644 index 0000000..40aced8 --- /dev/null +++ b/833.c8215640c38aad70.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[833],{90833:(O,l,r)=>{r.d(l,{y:()=>U});var u=r(78069),t=r(48047),s=r(5463),i=r(17714),f=r(24585),m=r(60629),y=r(99057),C=r(92971),D=r(12309),U=function(){var a=function(){function n(e){(0,u.Z)(this,n),e&&(this._subscribe=e)}return(0,t.Z)(n,[{key:"lift",value:function(c){var h=new n;return h.source=this,h.operator=c,h}},{key:"subscribe",value:function(c,h,P){var T=this,E=function v(a){return a&&a instanceof s.Lv||function Z(a){return a&&(0,C.m)(a.next)&&(0,C.m)(a.error)&&(0,C.m)(a.complete)}(a)&&(0,i.Nn)(a)}(c)?c:new s.Hp(c,h,P);return(0,D.x)(function(){var _=T.operator,M=T.source;E.add(_?_.call(E,M):M?T._subscribe(E):T._trySubscribe(E))}),E}},{key:"_trySubscribe",value:function(c){try{return this._subscribe(c)}catch(h){c.error(h)}}},{key:"forEach",value:function(c,h){var P=this;return new(h=L(h))(function(T,E){var _=new s.Hp({next:function(A){try{c(A)}catch(g){E(g),_.unsubscribe()}},error:E,complete:T});P.subscribe(_)})}},{key:"_subscribe",value:function(c){var h;return null===(h=this.source)||void 0===h?void 0:h.subscribe(c)}},{key:f.L,value:function(){return this}},{key:"pipe",value:function(){for(var c=arguments.length,h=new Array(c),P=0;P<c;P++)h[P]=arguments[P];return(0,m.U)(h)(this)}},{key:"toPromise",value:function(c){var h=this;return new(c=L(c))(function(P,T){var E;h.subscribe(function(_){return E=_},function(_){return T(_)},function(){return P(E)})})}}]),n}();return a.create=function(n){return new a(n)},a}();function L(a){var n;return null!==(n=a??y.v.Promise)&&void 0!==n?n:Promise}},5463:(O,l,r)=>{r.d(l,{Hp:()=>M,Lv:()=>P});var u=r(78069),t=r(48047),s=r(35488),i=r(4089),f=r(20265),m=r(24582),y=r(28694),C=r(92971),D=r(17714),U=r(99057),L=r(84709),Z=r(99635),v=e("C",void 0,void 0);function e(b,S,p){return{kind:b,value:S,error:p}}var c=r(93542),h=r(12309),P=function(b){(0,m.Z)(p,b);var S=(0,y.Z)(p);function p(o){var d;return(0,u.Z)(this,p),(d=S.call(this)).isStopped=!1,o?(d.destination=o,(0,D.Nn)(o)&&o.add((0,s.Z)(d))):d.destination=W,d}return(0,t.Z)(p,[{key:"next",value:function(d){this.isStopped?K(function n(b){return e("N",b,void 0)}(d),this):this._next(d)}},{key:"error",value:function(d){this.isStopped?K(function a(b){return e("E",void 0,b)}(d),this):(this.isStopped=!0,this._error(d))}},{key:"complete",value:function(){this.isStopped?K(v,this):(this.isStopped=!0,this._complete())}},{key:"unsubscribe",value:function(){this.closed||(this.isStopped=!0,(0,i.Z)((0,f.Z)(p.prototype),"unsubscribe",this).call(this),this.destination=null)}},{key:"_next",value:function(d){this.destination.next(d)}},{key:"_error",value:function(d){try{this.destination.error(d)}finally{this.unsubscribe()}}},{key:"_complete",value:function(){try{this.destination.complete()}finally{this.unsubscribe()}}}],[{key:"create",value:function(d,R,I){return new M(d,R,I)}}]),p}(D.w0),T=Function.prototype.bind;function E(b,S){return T.call(b,S)}var _=function(){function b(S){(0,u.Z)(this,b),this.partialObserver=S}return(0,t.Z)(b,[{key:"next",value:function(p){var o=this.partialObserver;if(o.next)try{o.next(p)}catch(d){A(d)}}},{key:"error",value:function(p){var o=this.partialObserver;if(o.error)try{o.error(p)}catch(d){A(d)}else A(p)}},{key:"complete",value:function(){var p=this.partialObserver;if(p.complete)try{p.complete()}catch(o){A(o)}}}]),b}(),M=function(b){(0,m.Z)(p,b);var S=(0,y.Z)(p);function p(o,d,R){var I,x,B;return(0,u.Z)(this,p),I=S.call(this),(0,C.m)(o)||!o?x={next:o??void 0,error:d??void 0,complete:R??void 0}:(0,s.Z)(I)&&U.v.useDeprecatedNextContext?((B=Object.create(o)).unsubscribe=function(){return I.unsubscribe()},x={next:o.next&&E(o.next,B),error:o.error&&E(o.error,B),complete:o.complete&&E(o.complete,B)}):x=o,I.destination=new _(x),I}return(0,t.Z)(p)}(P);function A(b){U.v.useDeprecatedSynchronousErrorHandling?(0,h.O)(b):(0,L.h)(b)}function K(b,S){var p=U.v.onStoppedNotification;p&&c.z.setTimeout(function(){return p(b,S)})}var W={closed:!0,next:Z.Z,error:function g(b){throw b},complete:Z.Z}},17714:(O,l,r)=>{r.d(l,{Lc:()=>U,w0:()=>D,Nn:()=>L});var v,u=r(86170),t=r(95106),s=r(78069),i=r(48047),f=r(92971),y=(0,r(27543).d)(function(v){return function(n){v(this),this.message=n?"".concat(n.length," errors occurred during unsubscription:\n").concat(n.map(function(e,c){return"".concat(c+1,") ").concat(e.toString())}).join("\n ")):"",this.name="UnsubscriptionError",this.errors=n}}),C=r(39663),D=function(){function v(a){(0,s.Z)(this,v),this.initialTeardown=a,this.closed=!1,this._parentage=null,this._finalizers=null}return(0,i.Z)(v,[{key:"unsubscribe",value:function(){var n;if(!this.closed){this.closed=!0;var e=this._parentage;if(e)if(this._parentage=null,Array.isArray(e)){var h,c=(0,t.Z)(e);try{for(c.s();!(h=c.n()).done;)h.value.remove(this)}catch(g){c.e(g)}finally{c.f()}}else e.remove(this);var T=this.initialTeardown;if((0,f.m)(T))try{T()}catch(g){n=g instanceof y?g.errors:[g]}var E=this._finalizers;if(E){this._finalizers=null;var M,_=(0,t.Z)(E);try{for(_.s();!(M=_.n()).done;){var A=M.value;try{Z(A)}catch(g){n=n??[],g instanceof y?n=[].concat((0,u.Z)(n),(0,u.Z)(g.errors)):n.push(g)}}}catch(g){_.e(g)}finally{_.f()}}if(n)throw new y(n)}}},{key:"add",value:function(n){var e;if(n&&n!==this)if(this.closed)Z(n);else{if(n instanceof v){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(n)}}},{key:"_hasParent",value:function(n){var e=this._parentage;return e===n||Array.isArray(e)&&e.includes(n)}},{key:"_addParent",value:function(n){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}},{key:"_removeParent",value:function(n){var e=this._parentage;e===n?this._parentage=null:Array.isArray(e)&&(0,C.P)(e,n)}},{key:"remove",value:function(n){var e=this._finalizers;e&&(0,C.P)(e,n),n instanceof v&&n._removeParent(this)}}]),v}();D.EMPTY=((v=new D).closed=!0,v);var U=D.EMPTY;function L(v){return v instanceof D||v&&"closed"in v&&(0,f.m)(v.remove)&&(0,f.m)(v.add)&&(0,f.m)(v.unsubscribe)}function Z(v){(0,f.m)(v)?v():v.unsubscribe()}},99057:(O,l,r)=>{r.d(l,{v:()=>u});var u={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},93542:(O,l,r)=>{r.d(l,{z:()=>u});var u={setTimeout:function(t){function s(i,f){return t.apply(this,arguments)}return s.toString=function(){return t.toString()},s}(function(t,s){for(var i=u.delegate,f=arguments.length,m=new Array(f>2?f-2:0),y=2;y<f;y++)m[y-2]=arguments[y];return i?.setTimeout?i.setTimeout.apply(i,[t,s].concat(m)):setTimeout.apply(void 0,[t,s].concat(m))}),clearTimeout:function(t){function s(i){return t.apply(this,arguments)}return s.toString=function(){return t.toString()},s}(function(t){var s=u.delegate;return(s?.clearTimeout||clearTimeout)(t)}),delegate:void 0}},24585:(O,l,r)=>{r.d(l,{L:()=>u});var u="function"==typeof Symbol&&Symbol.observable||"@@observable"},39663:(O,l,r)=>{function u(t,s){if(t){var i=t.indexOf(s);0<=i&&t.splice(i,1)}}r.d(l,{P:()=>u})},27543:(O,l,r)=>{function u(t){var i=t(function(m){Error.call(m),m.stack=(new Error).stack});return i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,i}r.d(l,{d:()=>u})},12309:(O,l,r)=>{r.d(l,{O:()=>i,x:()=>s});var u=r(99057),t=null;function s(f){if(u.v.useDeprecatedSynchronousErrorHandling){var m=!t;if(m&&(t={errorThrown:!1,error:null}),f(),m){var y=t;if(t=null,y.errorThrown)throw y.error}}else f()}function i(f){u.v.useDeprecatedSynchronousErrorHandling&&t&&(t.errorThrown=!0,t.error=f)}},89173:(O,l,r)=>{function u(t){return t}r.d(l,{y:()=>u})},92971:(O,l,r)=>{function u(t){return"function"==typeof t}r.d(l,{m:()=>u})},99635:(O,l,r)=>{function u(){}r.d(l,{Z:()=>u})},60629:(O,l,r)=>{r.d(l,{U:()=>s,z:()=>t});var u=r(89173);function t(){for(var i=arguments.length,f=new Array(i),m=0;m<i;m++)f[m]=arguments[m];return s(f)}function s(i){return 0===i.length?u.y:1===i.length?i[0]:function(m){return i.reduce(function(y,C){return C(y)},m)}}},84709:(O,l,r)=>{r.d(l,{h:()=>s});var u=r(99057),t=r(93542);function s(i){t.z.setTimeout(function(){var f=u.v.onUnhandledError;if(!f)throw i;f(i)})}}}]); +//# sourceMappingURL=833.c8215640c38aad70.js.map \ No newline at end of file diff --git a/833.c8215640c38aad70.js.map b/833.c8215640c38aad70.js.map new file mode 100644 index 0000000..6b30aa0 --- /dev/null +++ b/833.c8215640c38aad70.js.map @@ -0,0 +1 @@ +{"version":3,"file":"833.c8215640c38aad70.js","mappings":"wMAOaA,EAAU,eAAVA,EAAU,WACnB,SAAAA,EAAYC,IAAWC,OAAAC,KAAAH,GACfC,IACAE,KAAKC,WAAaH,EAE1B,CAACI,cAAAL,EAAA,EAAAM,IAAA,OAAAC,MACD,SAAKC,GACD,IAAMC,EAAa,IAAIT,EACvBS,SAAWC,OAASP,KACpBM,EAAWD,SAAWA,EACfC,CACX,GAAC,CAAAH,IAAA,YAAAC,MACD,SAAUI,EAAgBC,EAAOC,GAAU,IAAAC,EAAAX,KACjCY,EAqEd,SAASC,EAAaT,GAClB,OAAQA,GAASA,aAAiBU,MAJtC,S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AeC,GAClB,OAAOD,EAAIE,OAAO,SAACC,EAAM7F,GAAE,OAAKA,EAAG6F,EAAK,EAAEF,EAC9C,CACJ,8DCZO,SAASjF,EAAqBzD,GACjC4D,eAA2B,WACvB,IAAQ2C,EAAqBpF,qBAC7B,IAAIoF,EAIA,MAAMvG,EAHNuG,EAAiBvG,EAKzB,EACJ","names":["Observable","subscribe","_classCallCheck","this","_subscribe","_createClass","key","value","operator","observable","source","observerOrNext","error","complete","_this","subscriber","isSubscriber","Subscriber","isObserver","isFunction","next","isSubscription","SafeSubscriber","errorContext","add","call","_trySubscribe","sink","err","promiseCtor","_this2","getPromiseCtor","resolve","reject","unsubscribe","_a","Symbol_observable","_len","arguments","length","operations","Array","_key","pipeFromArray","_this3","x","create","config","Promise","COMPLETE_NOTIFICATION","createNotification","undefined","kind","_Subscription","_inherits","_super","_createSuper","destination","isStopped","_assertThisInitialized","EMPTY_OBSERVER","handleStoppedNotification","nextNotification","_next","errorNotification","_error","_complete","closed","_get","_getPrototypeOf","prototype","Subscription","_bind","Function","bind","fn","thisArg","ConsumerObserver","partialObserver","handleUnhandledError","_Subscriber","_super2","context","Object","captureError","reportUnhandledError","notification","onStoppedNotification","timeoutProvider","noop","defaultErrorHandler","empty","UnsubscriptionError","createErrorClass","errors","message","concat","map","i","toString","join","name","initialTeardown","_parentage","_finalizers","isArray","_step","_iterator","_createForOfIteratorHelper","s","n","done","remove","e","f","initialFinalizer","_step2","_iterator2","finalizer","execFinalizer","_toConsumableArray","push","teardown","_hasParent","_addParent","parent","includes","arrRemove","_removeParent","EMPTY","EMPTY_SUBSCRIPTION","onUnhandledError","useDeprecatedSynchronousErrorHandling","useDeprecatedNextContext","setTimeout","_setTimeout","_x","_x2","apply","handler","timeout","delegate","args","clearTimeout","_clearTimeout","_x3","handle","Symbol","arr","item","index","indexOf","splice","createImpl","ctorFunc","instance","Error","stack","constructor","cb","isRoot","errorThrown","_context","identity","pipe","fns","input","reduce","prev"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/Observable.js","./node_modules/rxjs/dist/esm/internal/NotificationFactories.js","./node_modules/rxjs/dist/esm/internal/Subscriber.js","./node_modules/rxjs/dist/esm/internal/Subscription.js","./node_modules/rxjs/dist/esm/internal/util/UnsubscriptionError.js","./node_modules/rxjs/dist/esm/internal/config.js","./node_modules/rxjs/dist/esm/internal/scheduler/timeoutProvider.js","./node_modules/rxjs/dist/esm/internal/symbol/observable.js","./node_modules/rxjs/dist/esm/internal/util/arrRemove.js","./node_modules/rxjs/dist/esm/internal/util/createErrorClass.js","./node_modules/rxjs/dist/esm/internal/util/errorContext.js","./node_modules/rxjs/dist/esm/internal/util/identity.js","./node_modules/rxjs/dist/esm/internal/util/isFunction.js","./node_modules/rxjs/dist/esm/internal/util/noop.js","./node_modules/rxjs/dist/esm/internal/util/pipe.js","./node_modules/rxjs/dist/esm/internal/util/reportUnhandledError.js"],"sourcesContent":["import { SafeSubscriber, Subscriber } from './Subscriber';\nimport { isSubscription } from './Subscription';\nimport { observable as Symbol_observable } from './symbol/observable';\nimport { pipeFromArray } from './util/pipe';\nimport { config } from './config';\nimport { isFunction } from './util/isFunction';\nimport { errorContext } from './util/errorContext';\nexport class Observable {\n constructor(subscribe) {\n if (subscribe) {\n this._subscribe = subscribe;\n }\n }\n lift(operator) {\n const observable = new Observable();\n observable.source = this;\n observable.operator = operator;\n return observable;\n }\n subscribe(observerOrNext, error, complete) {\n const subscriber = isSubscriber(observerOrNext) ? observerOrNext : new SafeSubscriber(observerOrNext, error, complete);\n errorContext(() => {\n const { operator, source } = this;\n subscriber.add(operator\n ?\n operator.call(subscriber, source)\n : source\n ?\n this._subscribe(subscriber)\n :\n this._trySubscribe(subscriber));\n });\n return subscriber;\n }\n _trySubscribe(sink) {\n try {\n return this._subscribe(sink);\n }\n catch (err) {\n sink.error(err);\n }\n }\n forEach(next, promiseCtor) {\n promiseCtor = getPromiseCtor(promiseCtor);\n return new promiseCtor((resolve, reject) => {\n const subscriber = new SafeSubscriber({\n next: (value) => {\n try {\n next(value);\n }\n catch (err) {\n reject(err);\n subscriber.unsubscribe();\n }\n },\n error: reject,\n complete: resolve,\n });\n this.subscribe(subscriber);\n });\n }\n _subscribe(subscriber) {\n var _a;\n return (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber);\n }\n [Symbol_observable]() {\n return this;\n }\n pipe(...operations) {\n return pipeFromArray(operations)(this);\n }\n toPromise(promiseCtor) {\n promiseCtor = getPromiseCtor(promiseCtor);\n return new promiseCtor((resolve, reject) => {\n let value;\n this.subscribe((x) => (value = x), (err) => reject(err), () => resolve(value));\n });\n }\n}\nObservable.create = (subscribe) => {\n return new Observable(subscribe);\n};\nfunction getPromiseCtor(promiseCtor) {\n var _a;\n return (_a = promiseCtor !== null && promiseCtor !== void 0 ? promiseCtor : config.Promise) !== null && _a !== void 0 ? _a : Promise;\n}\nfunction isObserver(value) {\n return value && isFunction(value.next) && isFunction(value.error) && isFunction(value.complete);\n}\nfunction isSubscriber(value) {\n return (value && value instanceof Subscriber) || (isObserver(value) && isSubscription(value));\n}\n","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}\n","import { isFunction } from './util/isFunction';\nimport { isSubscription, Subscription } from './Subscription';\nimport { config } from './config';\nimport { reportUnhandledError } from './util/reportUnhandledError';\nimport { noop } from './util/noop';\nimport { nextNotification, errorNotification, COMPLETE_NOTIFICATION } from './NotificationFactories';\nimport { timeoutProvider } from './scheduler/timeoutProvider';\nimport { captureError } from './util/errorContext';\nexport class Subscriber extends Subscription {\n constructor(destination) {\n super();\n this.isStopped = false;\n if (destination) {\n this.destination = destination;\n if (isSubscription(destination)) {\n destination.add(this);\n }\n }\n else {\n this.destination = EMPTY_OBSERVER;\n }\n }\n static create(next, error, complete) {\n return new SafeSubscriber(next, error, complete);\n }\n next(value) {\n if (this.isStopped) {\n handleStoppedNotification(nextNotification(value), this);\n }\n else {\n this._next(value);\n }\n }\n error(err) {\n if (this.isStopped) {\n handleStoppedNotification(errorNotification(err), this);\n }\n else {\n this.isStopped = true;\n this._error(err);\n }\n }\n complete() {\n if (this.isStopped) {\n handleStoppedNotification(COMPLETE_NOTIFICATION, this);\n }\n else {\n this.isStopped = true;\n this._complete();\n }\n }\n unsubscribe() {\n if (!this.closed) {\n this.isStopped = true;\n super.unsubscribe();\n this.destination = null;\n }\n }\n _next(value) {\n this.destination.next(value);\n }\n _error(err) {\n try {\n this.destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n _complete() {\n try {\n this.destination.complete();\n }\n finally {\n this.unsubscribe();\n }\n }\n}\nconst _bind = Function.prototype.bind;\nfunction bind(fn, thisArg) {\n return _bind.call(fn, thisArg);\n}\nclass ConsumerObserver {\n constructor(partialObserver) {\n this.partialObserver = partialObserver;\n }\n next(value) {\n const { partialObserver } = this;\n if (partialObserver.next) {\n try {\n partialObserver.next(value);\n }\n catch (error) {\n handleUnhandledError(error);\n }\n }\n }\n error(err) {\n const { partialObserver } = this;\n if (partialObserver.error) {\n try {\n partialObserver.error(err);\n }\n catch (error) {\n handleUnhandledError(error);\n }\n }\n else {\n handleUnhandledError(err);\n }\n }\n complete() {\n const { partialObserver } = this;\n if (partialObserver.complete) {\n try {\n partialObserver.complete();\n }\n catch (error) {\n handleUnhandledError(error);\n }\n }\n }\n}\nexport class SafeSubscriber extends Subscriber {\n constructor(observerOrNext, error, complete) {\n super();\n let partialObserver;\n if (isFunction(observerOrNext) || !observerOrNext) {\n partialObserver = {\n next: (observerOrNext !== null && observerOrNext !== void 0 ? observerOrNext : undefined),\n error: error !== null && error !== void 0 ? error : undefined,\n complete: complete !== null && complete !== void 0 ? complete : undefined,\n };\n }\n else {\n let context;\n if (this && config.useDeprecatedNextContext) {\n context = Object.create(observerOrNext);\n context.unsubscribe = () => this.unsubscribe();\n partialObserver = {\n next: observerOrNext.next && bind(observerOrNext.next, context),\n error: observerOrNext.error && bind(observerOrNext.error, context),\n complete: observerOrNext.complete && bind(observerOrNext.complete, context),\n };\n }\n else {\n partialObserver = observerOrNext;\n }\n }\n this.destination = new ConsumerObserver(partialObserver);\n }\n}\nfunction handleUnhandledError(error) {\n if (config.useDeprecatedSynchronousErrorHandling) {\n captureError(error);\n }\n else {\n reportUnhandledError(error);\n }\n}\nfunction defaultErrorHandler(err) {\n throw err;\n}\nfunction handleStoppedNotification(notification, subscriber) {\n const { onStoppedNotification } = config;\n onStoppedNotification && timeoutProvider.setTimeout(() => onStoppedNotification(notification, subscriber));\n}\nexport const EMPTY_OBSERVER = {\n closed: true,\n next: noop,\n error: defaultErrorHandler,\n complete: noop,\n};\n","import { isFunction } from './util/isFunction';\nimport { UnsubscriptionError } from './util/UnsubscriptionError';\nimport { arrRemove } from './util/arrRemove';\nexport class Subscription {\n constructor(initialTeardown) {\n this.initialTeardown = initialTeardown;\n this.closed = false;\n this._parentage = null;\n this._finalizers = null;\n }\n unsubscribe() {\n let errors;\n if (!this.closed) {\n this.closed = true;\n const { _parentage } = this;\n if (_parentage) {\n this._parentage = null;\n if (Array.isArray(_parentage)) {\n for (const parent of _parentage) {\n parent.remove(this);\n }\n }\n else {\n _parentage.remove(this);\n }\n }\n const { initialTeardown: initialFinalizer } = this;\n if (isFunction(initialFinalizer)) {\n try {\n initialFinalizer();\n }\n catch (e) {\n errors = e instanceof UnsubscriptionError ? e.errors : [e];\n }\n }\n const { _finalizers } = this;\n if (_finalizers) {\n this._finalizers = null;\n for (const finalizer of _finalizers) {\n try {\n execFinalizer(finalizer);\n }\n catch (err) {\n errors = errors !== null && errors !== void 0 ? errors : [];\n if (err instanceof UnsubscriptionError) {\n errors = [...errors, ...err.errors];\n }\n else {\n errors.push(err);\n }\n }\n }\n }\n if (errors) {\n throw new UnsubscriptionError(errors);\n }\n }\n }\n add(teardown) {\n var _a;\n if (teardown && teardown !== this) {\n if (this.closed) {\n execFinalizer(teardown);\n }\n else {\n if (teardown instanceof Subscription) {\n if (teardown.closed || teardown._hasParent(this)) {\n return;\n }\n teardown._addParent(this);\n }\n (this._finalizers = (_a = this._finalizers) !== null && _a !== void 0 ? _a : []).push(teardown);\n }\n }\n }\n _hasParent(parent) {\n const { _parentage } = this;\n return _parentage === parent || (Array.isArray(_parentage) && _parentage.includes(parent));\n }\n _addParent(parent) {\n const { _parentage } = this;\n this._parentage = Array.isArray(_parentage) ? (_parentage.push(parent), _parentage) : _parentage ? [_parentage, parent] : parent;\n }\n _removeParent(parent) {\n const { _parentage } = this;\n if (_parentage === parent) {\n this._parentage = null;\n }\n else if (Array.isArray(_parentage)) {\n arrRemove(_parentage, parent);\n }\n }\n remove(teardown) {\n const { _finalizers } = this;\n _finalizers && arrRemove(_finalizers, teardown);\n if (teardown instanceof Subscription) {\n teardown._removeParent(this);\n }\n }\n}\nSubscription.EMPTY = (() => {\n const empty = new Subscription();\n empty.closed = true;\n return empty;\n})();\nexport const EMPTY_SUBSCRIPTION = Subscription.EMPTY;\nexport function isSubscription(value) {\n return (value instanceof Subscription ||\n (value && 'closed' in value && isFunction(value.remove) && isFunction(value.add) && isFunction(value.unsubscribe)));\n}\nfunction execFinalizer(finalizer) {\n if (isFunction(finalizer)) {\n finalizer();\n }\n else {\n finalizer.unsubscribe();\n }\n}\n","import { createErrorClass } from './createErrorClass';\nexport const UnsubscriptionError = createErrorClass((_super) => function UnsubscriptionErrorImpl(errors) {\n _super(this);\n this.message = errors\n ? `${errors.length} errors occurred during unsubscription:\n${errors.map((err, i) => `${i + 1}) ${err.toString()}`).join('\\n ')}`\n : '';\n this.name = 'UnsubscriptionError';\n this.errors = errors;\n});\n","export const config = {\n onUnhandledError: null,\n onStoppedNotification: null,\n Promise: undefined,\n useDeprecatedSynchronousErrorHandling: false,\n useDeprecatedNextContext: false,\n};\n","export const timeoutProvider = {\n setTimeout(handler, timeout, ...args) {\n const { delegate } = timeoutProvider;\n if (delegate === null || delegate === void 0 ? void 0 : delegate.setTimeout) {\n return delegate.setTimeout(handler, timeout, ...args);\n }\n return setTimeout(handler, timeout, ...args);\n },\n clearTimeout(handle) {\n const { delegate } = timeoutProvider;\n return ((delegate === null || delegate === void 0 ? void 0 : delegate.clearTimeout) || clearTimeout)(handle);\n },\n delegate: undefined,\n};\n","export const observable = (() => (typeof Symbol === 'function' && Symbol.observable) || '@@observable')();\n","export function arrRemove(arr, item) {\n if (arr) {\n const index = arr.indexOf(item);\n 0 <= index && arr.splice(index, 1);\n }\n}\n","export function createErrorClass(createImpl) {\n const _super = (instance) => {\n Error.call(instance);\n instance.stack = new Error().stack;\n };\n const ctorFunc = createImpl(_super);\n ctorFunc.prototype = Object.create(Error.prototype);\n ctorFunc.prototype.constructor = ctorFunc;\n return ctorFunc;\n}\n","import { config } from '../config';\nlet context = null;\nexport function errorContext(cb) {\n if (config.useDeprecatedSynchronousErrorHandling) {\n const isRoot = !context;\n if (isRoot) {\n context = { errorThrown: false, error: null };\n }\n cb();\n if (isRoot) {\n const { errorThrown, error } = context;\n context = null;\n if (errorThrown) {\n throw error;\n }\n }\n }\n else {\n cb();\n }\n}\nexport function captureError(err) {\n if (config.useDeprecatedSynchronousErrorHandling && context) {\n context.errorThrown = true;\n context.error = err;\n }\n}\n","export function identity(x) {\n return x;\n}\n","export function isFunction(value) {\n return typeof value === 'function';\n}\n","export function noop() { }\n","import { identity } from './identity';\nexport function pipe(...fns) {\n return pipeFromArray(fns);\n}\nexport function pipeFromArray(fns) {\n if (fns.length === 0) {\n return identity;\n }\n if (fns.length === 1) {\n return fns[0];\n }\n return function piped(input) {\n return fns.reduce((prev, fn) => fn(prev), input);\n };\n}\n","import { config } from '../config';\nimport { timeoutProvider } from '../scheduler/timeoutProvider';\nexport function reportUnhandledError(err) {\n timeoutProvider.setTimeout(() => {\n const { onUnhandledError } = config;\n if (onUnhandledError) {\n onUnhandledError(err);\n }\n else {\n throw err;\n }\n });\n}\n"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]} \ No newline at end of file diff --git a/8352.cb8b08283660350a.js b/8352.cb8b08283660350a.js new file mode 100644 index 0000000..118602d --- /dev/null +++ b/8352.cb8b08283660350a.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[8352,7376,5187,4091,1217,7208,4968,4155,1084,6896,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,4680,2111,3326,8596,5501,3098,8608,8443,5915,3278,5391,6748,6763,4151,5069,7432,6618],{35488:(f,n,e)=>{function t(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}e.d(n,{Z:()=>t})},28694:(f,n,e)=>{e.d(n,{Z:()=>i});var t=e(20265),o=e(98568),u=e(43445),r=e(35488);function i(p){var c=(0,o.Z)();return function(){var a,s=(0,t.Z)(p);if(c){var d=(0,t.Z)(this).constructor;a=Reflect.construct(s,arguments,d)}else a=s.apply(this,arguments);return function _(p,c){if(c&&("object"===(0,u.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(p)}(this,a)}}},20265:(f,n,e)=>{function t(o){return(t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)})(o)}e.d(n,{Z:()=>t})},24582:(f,n,e)=>{e.d(n,{Z:()=>o});var t=e(10006);function o(u,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(r&&r.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),r&&(0,t.Z)(u,r)}},98568:(f,n,e)=>{function t(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(n,{Z:()=>t})},10006:(f,n,e)=>{function t(o,u){return(t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_,i){return _.__proto__=i,_})(o,u)}e.d(n,{Z:()=>t})}}]); +//# sourceMappingURL=8352.cb8b08283660350a.js.map \ No newline at end of file diff --git a/8352.cb8b08283660350a.js.map b/8352.cb8b08283660350a.js.map new file mode 100644 index 0000000..fd93183 --- /dev/null +++ b/8352.cb8b08283660350a.js.map @@ -0,0 +1 @@ +{"version":3,"file":"8352.cb8b08283660350a.js","mappings":"sQAAe,SAAAA,EAAAC,GACf,YAAAA,EACA,UAAAC,eAAA,6DAEA,OAAAD,CACA,oGCFe,SAAAE,EAAAC,GACf,IAAAC,KAAkCC,EAAAC,KAClC,kBACA,IACAC,EADAC,KAAgBC,EAAAH,GAAcH,GAE9B,GAAAC,EAAA,CACA,IAAAM,KAAsBD,EAAAH,GAAcK,MAAAC,YACpCL,EAAAM,QAAAC,UAAAN,EAAAO,UAAAL,EAAA,MAEAH,EAAAC,EAAAQ,MAAAL,KAAAI,WAEA,OCZe,SAAAE,EAAAjB,EAAAkB,GACf,GAAAA,IAAsB,YAAtBA,EAAeC,EAAAb,GAAOY,IAAA,mBAAAA,GACtB,OAAAA,EACI,YAAAA,EACJ,UAAAE,UAAA,4DAEA,SAASC,EAAAf,GAAqBN,EAC9B,CDKWiB,CAAyBN,KAAAJ,EACpC,CACA,mBEhBe,SAAAe,EAAAC,GACf,OAAAD,EAAAE,OAAAC,eAAAD,OAAAf,eAAAiB,OAAA,SAAAH,GACA,OAAAA,EAAAI,WAAAH,OAAAf,eAAAc,EACA,GACAA,EACA,mECJe,SAAAK,EAAAC,EAAAC,GACf,sBAAAA,GAAA,OAAAA,EACA,UAAAV,UAAA,sDAEAS,EAAAE,UAAAP,OAAAQ,OAAAF,KAAAC,UAAA,CACAnB,YAAA,CACAqB,MAAAJ,EACAK,UAAA,EACAC,cAAA,KAGAX,OAAAY,eAAAP,EAAA,aACAK,UAAA,IAEAJ,MAAkBO,EAAA/B,GAAcuB,EAAAC,EAChC,mBChBe,SAAAQ,IAEf,UADAzB,QAAA,MAAAA,QAAAC,WACAD,QAAAC,UAAAyB,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAAV,UAAAW,QAAAxB,KAAAL,QAAAC,UAAA2B,QAAA,mBACA,CACA,OACA,QACA,CACA,mCCVe,SAAAE,EAAApB,EAAAqB,GACf,OAAAD,EAAAnB,OAAAC,eAAAD,OAAAC,eAAAC,OAAA,SAAAH,EAAAqB,GACA,OAAArB,EAAAI,UAAAiB,EACArB,CACA,GACAA,EAAAqB,EACA","names":["_assertThisInitialized","self","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","call","esm_typeof","TypeError","assertThisInitialized","_getPrototypeOf","o","Object","setPrototypeOf","bind","__proto__","_inherits","subClass","superClass","prototype","create","value","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6]} \ No newline at end of file diff --git a/8376.4e03513f7c087c87.js b/8376.4e03513f7c087c87.js new file mode 100644 index 0000000..428313c --- /dev/null +++ b/8376.4e03513f7c087c87.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[8376,5106,7376,5187,4091,1217,7208,4968,4155,1084,6896,7920,6980,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,8061,4680,2111,3326,8596,8352,5501,3098,8467,6578,8608,8443,5915,3278,5391,6748,1551,6763,4151,5069,7432,8071,6618],{78376:(k,s,o)=>{o.r(s),o.d(s,{MatLegacyAnchor:()=>P,MatLegacyButton:()=>O,MatLegacyButtonModule:()=>B});var r=o(4089),u=o(20265),e=o(95106),a=o(24582),i=o(28694),_=o(48047),h=o(78069),t=o(56718),b=o(6606),w=o(908),g=o(33401),v=["mat-button",""],E=["*"],A=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],I=(0,b.mixinColor)((0,b.mixinDisabled)((0,b.mixinDisableRipple)(function(){return(0,_.Z)(function c(l){(0,h.Z)(this,c),this._elementRef=l})}()))),O=function(){var c=function(l){(0,a.Z)(n,l);var m=(0,i.Z)(n);function n(p,y,x){var d;(0,h.Z)(this,n),(d=m.call(this,p))._focusMonitor=y,d._animationMode=x,d.isRoundButton=d._hasHostAttributes("mat-fab","mat-mini-fab"),d.isIconButton=d._hasHostAttributes("mat-icon-button");var M,f=(0,e.Z)(A);try{for(f.s();!(M=f.n()).done;){var R=M.value;d._hasHostAttributes(R)&&d._getHostElement().classList.add(R)}}catch(L){f.e(L)}finally{f.f()}return p.nativeElement.classList.add("mat-button-base"),d.isRoundButton&&(d.color="accent"),d}return(0,_.Z)(n,[{key:"ngAfterViewInit",value:function(){this._focusMonitor.monitor(this._elementRef,!0)}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"focus",value:function(y,x){y?this._focusMonitor.focusVia(this._getHostElement(),y,x):this._getHostElement().focus(x)}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_hasHostAttributes",value:function(){for(var y=this,x=arguments.length,d=new Array(x),f=0;f<x;f++)d[f]=arguments[f];return d.some(function(M){return y._getHostElement().hasAttribute(M)})}}]),n}(I);return c.\u0275fac=function(m){return new(m||c)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(w.FocusMonitor),t.\u0275\u0275directiveInject(g.ANIMATION_MODULE_TYPE,8))},c.\u0275cmp=t.\u0275\u0275defineComponent({type:c,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(m,n){var p;1&m&&t.\u0275\u0275viewQuery(b.MatRipple,5),2&m&&t.\u0275\u0275queryRefresh(p=t.\u0275\u0275loadQuery())&&(n.ripple=p.first)},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(m,n){2&m&&(t.\u0275\u0275attribute("disabled",n.disabled||null),t.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===n._animationMode)("mat-button-disabled",n.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[t.\u0275\u0275InheritDefinitionFeature],attrs:v,ngContentSelectors:E,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(m,n){1&m&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275elementStart(0,"span",0),t.\u0275\u0275projection(1),t.\u0275\u0275elementEnd(),t.\u0275\u0275element(2,"span",1)(3,"span",2)),2&m&&(t.\u0275\u0275advance(2),t.\u0275\u0275classProp("mat-button-ripple-round",n.isRoundButton||n.isIconButton),t.\u0275\u0275property("matRippleDisabled",n._isRippleDisabled())("matRippleCentered",n.isIconButton)("matRippleTrigger",n._getHostElement()))},dependencies:[b.MatRipple],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0}),c}(),P=function(){var c=function(l){(0,a.Z)(n,l);var m=(0,i.Z)(n);function n(p,y,x,d){var f;return(0,h.Z)(this,n),(f=m.call(this,y,p,x))._ngZone=d,f._haltDisabledEvents=function(M){f.disabled&&(M.preventDefault(),M.stopImmediatePropagation())},f}return(0,_.Z)(n,[{key:"ngAfterViewInit",value:function(){var y=this;(0,r.Z)((0,u.Z)(n.prototype),"ngAfterViewInit",this).call(this),this._ngZone?this._ngZone.runOutsideAngular(function(){y._elementRef.nativeElement.addEventListener("click",y._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}},{key:"ngOnDestroy",value:function(){(0,r.Z)((0,u.Z)(n.prototype),"ngOnDestroy",this).call(this),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}]),n}(O);return c.\u0275fac=function(m){return new(m||c)(t.\u0275\u0275directiveInject(w.FocusMonitor),t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(g.ANIMATION_MODULE_TYPE,8),t.\u0275\u0275directiveInject(t.NgZone,8))},c.\u0275cmp=t.\u0275\u0275defineComponent({type:c,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(m,n){2&m&&(t.\u0275\u0275attribute("tabindex",n.disabled?-1:n.tabIndex)("disabled",n.disabled||null)("aria-disabled",n.disabled.toString()),t.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===n._animationMode)("mat-button-disabled",n.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[t.\u0275\u0275InheritDefinitionFeature],attrs:v,ngContentSelectors:E,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(m,n){1&m&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275elementStart(0,"span",0),t.\u0275\u0275projection(1),t.\u0275\u0275elementEnd(),t.\u0275\u0275element(2,"span",1)(3,"span",2)),2&m&&(t.\u0275\u0275advance(2),t.\u0275\u0275classProp("mat-button-ripple-round",n.isRoundButton||n.isIconButton),t.\u0275\u0275property("matRippleDisabled",n._isRippleDisabled())("matRippleCentered",n.isIconButton)("matRippleTrigger",n._getHostElement()))},dependencies:[b.MatRipple],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0}),c}(),B=function(){var c=(0,_.Z)(function l(){(0,h.Z)(this,l)});return c.\u0275fac=function(m){return new(m||c)},c.\u0275mod=t.\u0275\u0275defineNgModule({type:c}),c.\u0275inj=t.\u0275\u0275defineInjector({imports:[b.MatRippleModule,b.MatCommonModule,b.MatCommonModule]}),c}()},44841:(k,s,o)=>{function r(u,e){(null==e||e>u.length)&&(e=u.length);for(var a=0,i=new Array(e);a<e;a++)i[a]=u[a];return i}o.d(s,{Z:()=>r})},35488:(k,s,o)=>{function r(u){if(void 0===u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}o.d(s,{Z:()=>r})},95106:(k,s,o)=>{o.d(s,{Z:()=>u});var r=o(44206);function u(e,a){var i=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!i){if(Array.isArray(e)||(i=(0,r.Z)(e))||a&&e&&"number"==typeof e.length){i&&(e=i);var _=0,h=function(){};return{s:h,n:function(){return _>=e.length?{done:!0}:{done:!1,value:e[_++]}},e:function(v){throw v},f:h}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var w,t=!0,b=!1;return{s:function(){i=i.call(e)},n:function(){var v=i.next();return t=v.done,v},e:function(v){b=!0,w=v},f:function(){try{!t&&null!=i.return&&i.return()}finally{if(b)throw w}}}}},28694:(k,s,o)=>{o.d(s,{Z:()=>_});var r=o(20265),u=o(98568),e=o(43445),a=o(35488);function _(h){var t=(0,u.Z)();return function(){var g,w=(0,r.Z)(h);if(t){var v=(0,r.Z)(this).constructor;g=Reflect.construct(w,arguments,v)}else g=w.apply(this,arguments);return function i(h,t){if(t&&("object"===(0,e.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,a.Z)(h)}(this,g)}}},4089:(k,s,o)=>{o.d(s,{Z:()=>e});var r=o(20265);function e(){return e=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(i,_,h){var t=function u(a,i){for(;!Object.prototype.hasOwnProperty.call(a,i)&&null!==(a=(0,r.Z)(a)););return a}(i,_);if(t){var b=Object.getOwnPropertyDescriptor(t,_);return b.get?b.get.call(arguments.length<3?i:h):b.value}},e.apply(this,arguments)}},20265:(k,s,o)=>{function r(u){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(a){return a.__proto__||Object.getPrototypeOf(a)})(u)}o.d(s,{Z:()=>r})},24582:(k,s,o)=>{o.d(s,{Z:()=>u});var r=o(10006);function u(e,a){if("function"!=typeof a&&null!==a)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(a&&a.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),a&&(0,r.Z)(e,a)}},98568:(k,s,o)=>{function r(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}o.d(s,{Z:()=>r})},10006:(k,s,o)=>{function r(u,e){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,_){return i.__proto__=_,i})(u,e)}o.d(s,{Z:()=>r})},44206:(k,s,o)=>{o.d(s,{Z:()=>u});var r=o(44841);function u(e,a){if(e){if("string"==typeof e)return(0,r.Z)(e,a);var i=Object.prototype.toString.call(e).slice(8,-1);if("Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i)return Array.from(e);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return(0,r.Z)(e,a)}}}}]); +//# sourceMappingURL=8376.4e03513f7c087c87.js.map \ No newline at end of file diff --git a/8376.4e03513f7c087c87.js.map b/8376.4e03513f7c087c87.js.map new file mode 100644 index 0000000..a345276 --- /dev/null +++ b/8376.4e03513f7c087c87.js.map @@ -0,0 +1 @@ +{"version":3,"file":"8376.4e03513f7c087c87.js","mappings":"ogBAOAA,EAA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AC,MAAA,SACA,IACA,OAAAC,QAAA3E,UAAA4E,QAAAlK,KAAAmI,QAAAC,UAAA6B,QAAA,mBACA,CACA,OACA,QACA,CACA,mCCVe,SAAAE,EAAAzD,EAAA0D,GACf,OAAAD,EAAAlB,OAAAI,eAAAJ,OAAAI,eAAAX,OAAA,SAAAhC,EAAA0D,GACA,OAAA1D,EAAA4C,UAAAc,EACA1D,CACA,GACAA,EAAA0D,EACA,mECLe,SAAAC,EAAA3D,EAAA4D,GACf,GAAA5D,EACA,qBAAAA,EAAA,SAAoC6D,EAAAtD,GAAgBP,EAAA4D,GACpD,IAAA9J,EAAAyI,OAAA3D,UAAAK,SAAA3F,KAAA0G,GAAA8D,MAAA,MAEA,GADA,WAAAhK,GAAAkG,EAAAwB,cAAA1H,EAAAkG,EAAAwB,YAAAuC,MACA,QAAAjK,GAAA,QAAAA,EAAA,OAAA0B,MAAAwI,KAAAhE,GACA,iBAAAlG,GAAA,2CAAAmK,KAAAnK,GAAA,SAAsF+J,EAAAtD,GAAgBP,EAAA4D,EAAA,CACtG","names":["_c0","_c1","BUTTON_HOST_ATTRIBUTES","_MatButtonBase","mixinColor","mixinDisabled","mixinDisableRipple","_createClass","_class","_elementRef","_classCallCheck","this","MatLegacyButton","_MatButtonBase2","_inherits","_super","_createSuper","elementRef","_focusMonitor","_animationMode","_this","call","isRoundButton","_hasHostAttributes","isIconButton","_step","_iterator","_createForOfIteratorHelper","s","n","done","attr","value","_getHostElement","classList","add","err","e","f","nativeElement","color","key","monitor","stopMonitoring","origin","options","focusVia","focus","disableRipple","disabled","_this2","_len","arguments","length","attributes","Array","_key","some","attribute","hasAttribute","ɵfac","t","i0","i1","ANIMATION_MODULE_TYPE","ɵcmp","type","selectors","viewQuery","rf","ctx","_t","MatRipple","ripple","first","hostAttrs","hostVars","hostBindings","inputs","exportAs","features","attrs","ngContentSelectors","decls","vars","consts","template","_isRippleDisabled","dependencies","i2","styles","encapsulation","changeDetection","MatLegacyAnchor","_MatLegacyButton","_super2","focusMonitor","animationMode","_ngZone","_this3","_haltDisabledEvents","event","preventDefault","stopImmediatePropagation","_this4","_get","_getPrototypeOf","prototype","runOutsideAngular","addEventListener","removeEventListener","tabIndex","toString","MatLegacyButtonModule","ɵmod","ɵinj","imports","MatRippleModule","MatCommonModule","_arrayLikeToArray","arr","len","i","arr2","_assertThisInitialized","self","ReferenceError","o","allowArrayLike","it","Symbol","iterator","isArray","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","_e","TypeError","normalCompletion","didErr","step","next","_e2","return","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","result","Super","getPrototypeOf","NewTarget","constructor","Reflect","construct","apply","_possibleConstructorReturn","esm_typeof","assertThisInitialized","get","bind","target","property","receiver","base","_superPropBase","object","Object","hasOwnProperty","desc","getOwnPropertyDescriptor","setPrototypeOf","__proto__","subClass","superClass","create","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","slice","name","from","test"],"sourceRoot":"webpack:///","sources":["./node_modules/@angular/material/fesm2022/legacy-button.mjs","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import * as i0 from '@angular/core';\nimport { Component, ViewEncapsulation, ChangeDetectionStrategy, Optional, Inject, ViewChild, Input, NgModule } from '@angular/core';\nimport * as i2 from '@angular/material/core';\nimport { mixinColor, mixinDisabled, mixinDisableRipple, MatRipple, MatRippleModule, MatCommonModule } from '@angular/material/core';\nimport * as i1 from '@angular/cdk/a11y';\nimport { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';\n\n/** Default color palette for round buttons (mat-fab and mat-mini-fab) */\nconst DEFAULT_ROUND_BUTTON_COLOR = 'accent';\n/**\n * List of classes to add to button instances based on host attributes to\n * style as different variants.\n */\nconst BUTTON_HOST_ATTRIBUTES = [\n 'mat-button',\n 'mat-flat-button',\n 'mat-icon-button',\n 'mat-raised-button',\n 'mat-stroked-button',\n 'mat-mini-fab',\n 'mat-fab',\n];\n// Boilerplate for applying mixins to button.\nconst _MatButtonBase = mixinColor(mixinDisabled(mixinDisableRipple(class {\n constructor(_elementRef) {\n this._elementRef = _elementRef;\n }\n})));\n/**\n * Material design button.\n * @deprecated Use `MatButton` from `@angular/material/button` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyButton extends _MatButtonBase {\n constructor(elementRef, _focusMonitor, _animationMode) {\n super(elementRef);\n this._focusMonitor = _focusMonitor;\n this._animationMode = _animationMode;\n /** Whether the button is round. */\n this.isRoundButton = this._hasHostAttributes('mat-fab', 'mat-mini-fab');\n /** Whether the button is icon button. */\n this.isIconButton = this._hasHostAttributes('mat-icon-button');\n // For each of the variant selectors that is present in the button's host\n // attributes, add the correct corresponding class.\n for (const attr of BUTTON_HOST_ATTRIBUTES) {\n if (this._hasHostAttributes(attr)) {\n this._getHostElement().classList.add(attr);\n }\n }\n // Add a class that applies to all buttons. This makes it easier to target if somebody\n // wants to target all Material buttons. We do it here rather than `host` to ensure that\n // the class is applied to derived classes.\n elementRef.nativeElement.classList.add('mat-button-base');\n if (this.isRoundButton) {\n this.color = DEFAULT_ROUND_BUTTON_COLOR;\n }\n }\n ngAfterViewInit() {\n this._focusMonitor.monitor(this._elementRef, true);\n }\n ngOnDestroy() {\n this._focusMonitor.stopMonitoring(this._elementRef);\n }\n /** Focuses the button. */\n focus(origin, options) {\n if (origin) {\n this._focusMonitor.focusVia(this._getHostElement(), origin, options);\n }\n else {\n this._getHostElement().focus(options);\n }\n }\n _getHostElement() {\n return this._elementRef.nativeElement;\n }\n _isRippleDisabled() {\n return this.disableRipple || this.disabled;\n }\n /** Gets whether the button has one of the given attributes. */\n _hasHostAttributes(...attributes) {\n return attributes.some(attribute => this._getHostElement().hasAttribute(attribute));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyButton, deps: [{ token: i0.ElementRef }, { token: i1.FocusMonitor }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyButton, selector: \"button[mat-button], button[mat-raised-button], button[mat-icon-button],\\n button[mat-fab], button[mat-mini-fab], button[mat-stroked-button],\\n button[mat-flat-button]\", inputs: { disabled: \"disabled\", disableRipple: \"disableRipple\", color: \"color\" }, host: { properties: { \"attr.disabled\": \"disabled || null\", \"class._mat-animation-noopable\": \"_animationMode === \\\"NoopAnimations\\\"\", \"class.mat-button-disabled\": \"disabled\" }, classAttribute: \"mat-focus-indicator\" }, viewQueries: [{ propertyName: \"ripple\", first: true, predicate: MatRipple, descendants: true }], exportAs: [\"matButton\"], usesInheritance: true, ngImport: i0, template: \"<span class=\\\"mat-button-wrapper\\\"><ng-content></ng-content></span>\\n<span matRipple class=\\\"mat-button-ripple\\\"\\n [class.mat-button-ripple-round]=\\\"isRoundButton || isIconButton\\\"\\n [matRippleDisabled]=\\\"_isRippleDisabled()\\\"\\n [matRippleCentered]=\\\"isIconButton\\\"\\n [matRippleTrigger]=\\\"_getHostElement()\\\"></span>\\n<span class=\\\"mat-button-focus-overlay\\\"></span>\\n\", styles: [\".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}\"], dependencies: [{ kind: \"directive\", type: i2.MatRipple, selector: \"[mat-ripple], [matRipple]\", inputs: [\"matRippleColor\", \"matRippleUnbounded\", \"matRippleCentered\", \"matRippleRadius\", \"matRippleAnimation\", \"matRippleDisabled\", \"matRippleTrigger\"], exportAs: [\"matRipple\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyButton, decorators: [{\n type: Component,\n args: [{ selector: `button[mat-button], button[mat-raised-button], button[mat-icon-button],\n button[mat-fab], button[mat-mini-fab], button[mat-stroked-button],\n button[mat-flat-button]`, exportAs: 'matButton', host: {\n '[attr.disabled]': 'disabled || null',\n '[class._mat-animation-noopable]': '_animationMode === \"NoopAnimations\"',\n // Add a class for disabled button styling instead of the using attribute\n // selector or pseudo-selector. This allows users to create focusable\n // disabled buttons without recreating the styles.\n '[class.mat-button-disabled]': 'disabled',\n 'class': 'mat-focus-indicator',\n }, inputs: ['disabled', 'disableRipple', 'color'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: \"<span class=\\\"mat-button-wrapper\\\"><ng-content></ng-content></span>\\n<span matRipple class=\\\"mat-button-ripple\\\"\\n [class.mat-button-ripple-round]=\\\"isRoundButton || isIconButton\\\"\\n [matRippleDisabled]=\\\"_isRippleDisabled()\\\"\\n [matRippleCentered]=\\\"isIconButton\\\"\\n [matRippleTrigger]=\\\"_getHostElement()\\\"></span>\\n<span class=\\\"mat-button-focus-overlay\\\"></span>\\n\", styles: [\".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.FocusMonitor }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }]; }, propDecorators: { ripple: [{\n type: ViewChild,\n args: [MatRipple]\n }] } });\n/**\n * Material design anchor button.\n * @deprecated Use `MatAnchor` from `@angular/material/button` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyAnchor extends MatLegacyButton {\n constructor(focusMonitor, elementRef, animationMode, \n /** @breaking-change 14.0.0 _ngZone will be required. */\n _ngZone) {\n super(elementRef, focusMonitor, animationMode);\n this._ngZone = _ngZone;\n this._haltDisabledEvents = (event) => {\n // A disabled button shouldn't apply any actions\n if (this.disabled) {\n event.preventDefault();\n event.stopImmediatePropagation();\n }\n };\n }\n ngAfterViewInit() {\n super.ngAfterViewInit();\n /** @breaking-change 14.0.0 _ngZone will be required. */\n if (this._ngZone) {\n this._ngZone.runOutsideAngular(() => {\n this._elementRef.nativeElement.addEventListener('click', this._haltDisabledEvents);\n });\n }\n else {\n this._elementRef.nativeElement.addEventListener('click', this._haltDisabledEvents);\n }\n }\n ngOnDestroy() {\n super.ngOnDestroy();\n this._elementRef.nativeElement.removeEventListener('click', this._haltDisabledEvents);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyAnchor, deps: [{ token: i1.FocusMonitor }, { token: i0.ElementRef }, { token: ANIMATION_MODULE_TYPE, optional: true }, { token: i0.NgZone, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyAnchor, selector: \"a[mat-button], a[mat-raised-button], a[mat-icon-button], a[mat-fab],\\n a[mat-mini-fab], a[mat-stroked-button], a[mat-flat-button]\", inputs: { disabled: \"disabled\", disableRipple: \"disableRipple\", color: \"color\", tabIndex: \"tabIndex\" }, host: { properties: { \"attr.tabindex\": \"disabled ? -1 : tabIndex\", \"attr.disabled\": \"disabled || null\", \"attr.aria-disabled\": \"disabled.toString()\", \"class._mat-animation-noopable\": \"_animationMode === \\\"NoopAnimations\\\"\", \"class.mat-button-disabled\": \"disabled\" }, classAttribute: \"mat-focus-indicator\" }, exportAs: [\"matButton\", \"matAnchor\"], usesInheritance: true, ngImport: i0, template: \"<span class=\\\"mat-button-wrapper\\\"><ng-content></ng-content></span>\\n<span matRipple class=\\\"mat-button-ripple\\\"\\n [class.mat-button-ripple-round]=\\\"isRoundButton || isIconButton\\\"\\n [matRippleDisabled]=\\\"_isRippleDisabled()\\\"\\n [matRippleCentered]=\\\"isIconButton\\\"\\n [matRippleTrigger]=\\\"_getHostElement()\\\"></span>\\n<span class=\\\"mat-button-focus-overlay\\\"></span>\\n\", styles: [\".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}\"], dependencies: [{ kind: \"directive\", type: i2.MatRipple, selector: \"[mat-ripple], [matRipple]\", inputs: [\"matRippleColor\", \"matRippleUnbounded\", \"matRippleCentered\", \"matRippleRadius\", \"matRippleAnimation\", \"matRippleDisabled\", \"matRippleTrigger\"], exportAs: [\"matRipple\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyAnchor, decorators: [{\n type: Component,\n args: [{ selector: `a[mat-button], a[mat-raised-button], a[mat-icon-button], a[mat-fab],\n a[mat-mini-fab], a[mat-stroked-button], a[mat-flat-button]`, exportAs: 'matButton, matAnchor', host: {\n // Note that we ignore the user-specified tabindex when it's disabled for\n // consistency with the `mat-button` applied on native buttons where even\n // though they have an index, they're not tabbable.\n '[attr.tabindex]': 'disabled ? -1 : tabIndex',\n '[attr.disabled]': 'disabled || null',\n '[attr.aria-disabled]': 'disabled.toString()',\n '[class._mat-animation-noopable]': '_animationMode === \"NoopAnimations\"',\n '[class.mat-button-disabled]': 'disabled',\n 'class': 'mat-focus-indicator',\n }, inputs: ['disabled', 'disableRipple', 'color'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: \"<span class=\\\"mat-button-wrapper\\\"><ng-content></ng-content></span>\\n<span matRipple class=\\\"mat-button-ripple\\\"\\n [class.mat-button-ripple-round]=\\\"isRoundButton || isIconButton\\\"\\n [matRippleDisabled]=\\\"_isRippleDisabled()\\\"\\n [matRippleCentered]=\\\"isIconButton\\\"\\n [matRippleTrigger]=\\\"_getHostElement()\\\"></span>\\n<span class=\\\"mat-button-focus-overlay\\\"></span>\\n\", styles: [\".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}\"] }]\n }], ctorParameters: function () { return [{ type: i1.FocusMonitor }, { type: i0.ElementRef }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }, { type: i0.NgZone, decorators: [{\n type: Optional\n }] }]; }, propDecorators: { tabIndex: [{\n type: Input\n }] } });\n\n/**\n * @deprecated Use `MatButtonModule` from `@angular/material/button` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyButtonModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyButtonModule, declarations: [MatLegacyButton, MatLegacyAnchor], imports: [MatRippleModule, MatCommonModule], exports: [MatLegacyButton, MatLegacyAnchor, MatCommonModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyButtonModule, imports: [MatRippleModule, MatCommonModule, MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyButtonModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [MatRippleModule, MatCommonModule],\n exports: [MatLegacyButton, MatLegacyAnchor, MatCommonModule],\n declarations: [MatLegacyButton, MatLegacyAnchor],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MatLegacyAnchor, MatLegacyButton, MatLegacyButtonModule };\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12]} \ No newline at end of file diff --git a/8443.de65e2a75bd1193f.js b/8443.de65e2a75bd1193f.js new file mode 100644 index 0000000..252aca6 --- /dev/null +++ b/8443.de65e2a75bd1193f.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[8443,7376,5187,4091,1217,7208,4968,4155,1084,6896,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,4680,2111,3326,8596,8352,5501,3098,8608,5915,3278,5391,6748,6763,4151,5069,7432,6618],{35488:(f,n,e)=>{function t(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}e.d(n,{Z:()=>t})},28694:(f,n,e)=>{e.d(n,{Z:()=>i});var t=e(20265),o=e(98568),u=e(43445),r=e(35488);function i(p){var c=(0,o.Z)();return function(){var a,s=(0,t.Z)(p);if(c){var d=(0,t.Z)(this).constructor;a=Reflect.construct(s,arguments,d)}else a=s.apply(this,arguments);return function _(p,c){if(c&&("object"===(0,u.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(p)}(this,a)}}},20265:(f,n,e)=>{function t(o){return(t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)})(o)}e.d(n,{Z:()=>t})},24582:(f,n,e)=>{e.d(n,{Z:()=>o});var t=e(10006);function o(u,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(r&&r.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),r&&(0,t.Z)(u,r)}},98568:(f,n,e)=>{function t(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(n,{Z:()=>t})},10006:(f,n,e)=>{function t(o,u){return(t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_,i){return _.__proto__=i,_})(o,u)}e.d(n,{Z:()=>t})}}]); +//# sourceMappingURL=8443.de65e2a75bd1193f.js.map \ No newline at end of file diff --git a/8443.de65e2a75bd1193f.js.map b/8443.de65e2a75bd1193f.js.map new file mode 100644 index 0000000..39f3c9c --- /dev/null +++ b/8443.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,GACf,OAAAD,EAAAnB,OAAAC,eAAAD,OAAAC,eAAAC,OAAA,SAAAH,EAAAqB,GACA,OAAArB,EAAAI,UAAAiB,EACArB,CACA,GACAA,EAAAqB,EACA","names":["_assertThisInitialized","self","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","call","esm_typeof","TypeError","assertThisInitialized","_getPrototypeOf","o","Object","setPrototypeOf","bind","__proto__","_inherits","subClass","superClass","prototype","create","value","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6]} \ No newline at end of file diff --git a/8467.1cade2ad8c4fc9ea.js b/8467.1cade2ad8c4fc9ea.js new file mode 100644 index 0000000..94f5c8c --- /dev/null +++ b/8467.1cade2ad8c4fc9ea.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[8467,7376,5187,4091,1217,7208,4968,4155,1084,6896,6980,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,8061,4680,2111,3326,8596,8352,5501,3098,6578,8608,8443,5915,3278,5391,6748,6763,4151,5069,7432,8071,6618],{35488:(i,o,e)=>{function r(u){if(void 0===u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}e.d(o,{Z:()=>r})},28694:(i,o,e)=>{e.d(o,{Z:()=>_});var r=e(20265),u=e(98568),n=e(43445),t=e(35488);function _(a){var c=(0,u.Z)();return function(){var s,l=(0,r.Z)(a);if(c){var d=(0,r.Z)(this).constructor;s=Reflect.construct(l,arguments,d)}else s=l.apply(this,arguments);return function f(a,c){if(c&&("object"===(0,n.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return(0,t.Z)(a)}(this,s)}}},4089:(i,o,e)=>{e.d(o,{Z:()=>n});var r=e(20265);function n(){return n=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(f,_,a){var c=function u(t,f){for(;!Object.prototype.hasOwnProperty.call(t,f)&&null!==(t=(0,r.Z)(t)););return t}(f,_);if(c){var p=Object.getOwnPropertyDescriptor(c,_);return p.get?p.get.call(arguments.length<3?f:a):p.value}},n.apply(this,arguments)}},20265:(i,o,e)=>{function r(u){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(u)}e.d(o,{Z:()=>r})},24582:(i,o,e)=>{e.d(o,{Z:()=>u});var r=e(10006);function u(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&(0,r.Z)(n,t)}},98568:(i,o,e)=>{function r(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(o,{Z:()=>r})},10006:(i,o,e)=>{function r(u,n){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(f,_){return f.__proto__=_,f})(u,n)}e.d(o,{Z:()=>r})}}]); +//# sourceMappingURL=8467.1cade2ad8c4fc9ea.js.map \ No newline at end of file diff --git a/8467.1cade2ad8c4fc9ea.js.map b/8467.1cade2ad8c4fc9ea.js.map new file mode 100644 index 0000000..9b9db0b --- /dev/null +++ b/8467.1cade2ad8c4fc9ea.js.map @@ -0,0 +1 @@ +{"version":3,"file":"8467.1cade2ad8c4fc9ea.js","mappings":"+RAAe,SAAAA,EAAAC,GACf,YAAAA,EACA,UAAAC,eAAA,6DAEA,OAAAD,CACA,oGCFe,SAAAE,EAAAC,GACf,IAAAC,KAAkCC,EAAAC,KAClC,kBACA,IACAC,EADAC,KAAgBC,EAAAH,GAAcH,GAE9B,GAAAC,EAAA,CACA,IAAAM,KAAsBD,EAAAH,GAAcK,MAAAC,YACpCL,EAAAM,QAAAC,UAAAN,EAAAO,UAAAL,EAAA,MAEAH,EAAAC,EAAAQ,MAAAL,KAAAI,WAEA,OCZe,SAAAE,EAAAjB,EAAAkB,GACf,GAAAA,IAAsB,YAAtBA,EAAeC,EAAAb,GAAOY,IAAA,mBAAAA,GACtB,OAAAA,EACI,YAAAA,EACJ,UAAAE,UAAA,4DAEA,SAASC,EAAAf,GAAqBN,EAC9B,CDKWiB,CAAyBN,KAAAJ,EACpC,CACA,kDEfe,SAAAe,IACf,OACAA,SADAT,QAAA,KAAAA,QAAAU,IACAV,QAAAU,IAAAC,OAEA,SAAAC,EAAAC,EAAAC,GACA,IAAAC,ECLe,SAAAC,EAAAC,EAAAJ,GACf,MAAAK,OAAAC,UAAAC,eAAAf,KAAAY,EAAAJ,IAEA,QADAI,KAAarB,EAAAH,GAAcwB,MAG3B,OAAAA,CACA,CDDiBD,CAAaJ,EAAAC,GAC9B,GAAAE,EACA,KAAAM,EAAAH,OAAAI,yBAAAP,EAAAF,GACA,OAAAQ,EAAAX,IACAW,EAAAX,IAAAL,KAAAH,UAAAqB,OAAA,EAAAX,EAAAE,GAEAO,EAAAG,KAAA,CACA,EAEAf,EAAAN,MAAAL,KAAAI,UACA,mBEhBe,SAAAuB,EAAAC,GACf,OAAAD,EAAAP,OAAAS,eAAAT,OAAAtB,eAAAe,OAAA,SAAAe,GACA,OAAAA,EAAAE,WAAAV,OAAAtB,eAAA8B,EACA,GACAA,EACA,mECJe,SAAAG,EAAAC,EAAAC,GACf,sBAAAA,GAAA,OAAAA,EACA,UAAAxB,UAAA,sDAEAuB,EAAAX,UAAAD,OAAAc,OAAAD,KAAAZ,UAAA,CACApB,YAAA,CACAyB,MAAAM,EACAG,UAAA,EACAC,cAAA,KAGAhB,OAAAiB,eAAAL,EAAA,aACAG,UAAA,IAEAF,MAAkBK,EAAA3C,GAAcqC,EAAAC,EAChC,mBChBe,SAAAM,IAEf,UADArC,QAAA,MAAAA,QAAAC,WACAD,QAAAC,UAAAqC,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAArB,UAAAsB,QAAApC,KAAAL,QAAAC,UAAAuC,QAAA,mBACA,CACA,OACA,QACA,CACA,mCCVe,SAAAE,EAAAhB,EAAAiB,GACf,OAAAD,EAAAxB,OAAAS,eAAAT,OAAAS,eAAAhB,OAAA,SAAAe,EAAAiB,GACA,OAAAjB,EAAAE,UAAAe,EACAjB,CACA,GACAA,EAAAiB,EACA","names":["_assertThisInitialized","self","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","call","esm_typeof","TypeError","assertThisInitialized","_get","get","bind","target","property","receiver","base","_superPropBase","object","Object","prototype","hasOwnProperty","desc","getOwnPropertyDescriptor","length","value","_getPrototypeOf","o","setPrototypeOf","__proto__","_inherits","subClass","superClass","create","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8]} \ No newline at end of file diff --git a/8513.617bf359ae892014.js b/8513.617bf359ae892014.js new file mode 100644 index 0000000..142fbdd --- /dev/null +++ b/8513.617bf359ae892014.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[8513,7376,5187,4091,1217,7208,4968,4155,1084,6896,5113,5749,4309,8024,5555,4967,8017,8116,5873,4680,2111,3326,8596,8352,5501,3098,8608,8443,5915,3278,5391,6748,6763,4151,5069,7432,6618],{35488:(f,n,e)=>{function t(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}e.d(n,{Z:()=>t})},28694:(f,n,e)=>{e.d(n,{Z:()=>i});var t=e(20265),o=e(98568),u=e(43445),r=e(35488);function i(p){var c=(0,o.Z)();return function(){var a,s=(0,t.Z)(p);if(c){var d=(0,t.Z)(this).constructor;a=Reflect.construct(s,arguments,d)}else a=s.apply(this,arguments);return function _(p,c){if(c&&("object"===(0,u.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(p)}(this,a)}}},20265:(f,n,e)=>{function t(o){return(t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)})(o)}e.d(n,{Z:()=>t})},24582:(f,n,e)=>{e.d(n,{Z:()=>o});var t=e(10006);function o(u,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(r&&r.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),r&&(0,t.Z)(u,r)}},98568:(f,n,e)=>{function t(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(n,{Z:()=>t})},10006:(f,n,e)=>{function t(o,u){return(t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_,i){return _.__proto__=i,_})(o,u)}e.d(n,{Z:()=>t})}}]); +//# sourceMappingURL=8513.617bf359ae892014.js.map \ No newline at end of file diff --git a/8513.617bf359ae892014.js.map b/8513.617bf359ae892014.js.map new file mode 100644 index 0000000..56d77a2 --- /dev/null +++ b/8513.617bf359ae892014.js.map @@ -0,0 +1 @@ +{"version":3,"file":"8513.617bf359ae892014.js","mappings":"sQAAe,SAAAA,EAAAC,GACf,YAAAA,EACA,UAAAC,eAAA,6DAEA,OAAAD,CACA,oGCFe,SA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","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","call","esm_typeof","TypeError","assertThisInitialized","_getPrototypeOf","o","Object","setPrototypeOf","bind","__proto__","_inherits","subClass","superClass","prototype","create","value","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6]} \ No newline at end of file diff --git a/8538.708a79be94deb0d6.js b/8538.708a79be94deb0d6.js new file mode 100644 index 0000000..72b83d2 --- /dev/null +++ b/8538.708a79be94deb0d6.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[8538,5106,1551],{50253:(I,y,e)=>{e.d(y,{x:()=>n});var f=e(95106),v=e(78069),i=e(48047),a=e(4089),d=e(20265),m=e(24582),p=e(28694),g=e(90833),_=e(17714),E=(0,e(27543).d)(function(o){return function(){o(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),t=e(39663),s=e(12309),n=function(){var o=function(l){(0,m.Z)(C,l);var b=(0,p.Z)(C);function C(){var c;return(0,v.Z)(this,C),(c=b.call(this)).closed=!1,c.currentObservers=null,c.observers=[],c.isStopped=!1,c.hasError=!1,c.thrownError=null,c}return(0,i.Z)(C,[{key:"lift",value:function(u){var h=new r(this,this);return h.operator=u,h}},{key:"_throwIfClosed",value:function(){if(this.closed)throw new E}},{key:"next",value:function(u){var h=this;(0,s.x)(function(){if(h._throwIfClosed(),!h.isStopped){h.currentObservers||(h.currentObservers=Array.from(h.observers));var M,A=(0,f.Z)(h.currentObservers);try{for(A.s();!(M=A.n()).done;)M.value.next(u)}catch(S){A.e(S)}finally{A.f()}}})}},{key:"error",value:function(u){var h=this;(0,s.x)(function(){if(h._throwIfClosed(),!h.isStopped){h.hasError=h.isStopped=!0,h.thrownError=u;for(var A=h.observers;A.length;)A.shift().error(u)}})}},{key:"complete",value:function(){var u=this;(0,s.x)(function(){if(u._throwIfClosed(),!u.isStopped){u.isStopped=!0;for(var h=u.observers;h.length;)h.shift().complete()}})}},{key:"unsubscribe",value:function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}},{key:"observed",get:function(){var u;return(null===(u=this.observers)||void 0===u?void 0:u.length)>0}},{key:"_trySubscribe",value:function(u){return this._throwIfClosed(),(0,a.Z)((0,d.Z)(C.prototype),"_trySubscribe",this).call(this,u)}},{key:"_subscribe",value:function(u){return this._throwIfClosed(),this._checkFinalizedStatuses(u),this._innerSubscribe(u)}},{key:"_innerSubscribe",value:function(u){var h=this,Z=this.observers;return this.hasError||this.isStopped?_.Lc:(this.currentObservers=null,Z.push(u),new _.w0(function(){h.currentObservers=null,(0,t.P)(Z,u)}))}},{key:"_checkFinalizedStatuses",value:function(u){var M=this.isStopped;this.hasError?u.error(this.thrownError):M&&u.complete()}},{key:"asObservable",value:function(){var u=new g.y;return u.source=this,u}}]),C}(g.y);return o.create=function(l,b){return new r(l,b)},o}(),r=function(o){(0,m.Z)(b,o);var l=(0,p.Z)(b);function b(C,c){var u;return(0,v.Z)(this,b),(u=l.call(this)).destination=C,u.source=c,u}return(0,i.Z)(b,[{key:"next",value:function(c){var u,h;null===(h=null===(u=this.destination)||void 0===u?void 0:u.next)||void 0===h||h.call(u,c)}},{key:"error",value:function(c){var u,h;null===(h=null===(u=this.destination)||void 0===u?void 0:u.error)||void 0===h||h.call(u,c)}},{key:"complete",value:function(){var c,u;null===(u=null===(c=this.destination)||void 0===c?void 0:c.complete)||void 0===u||u.call(c)}},{key:"_subscribe",value:function(c){var u,h;return null!==(h=null===(u=this.source)||void 0===u?void 0:u.subscribe(c))&&void 0!==h?h:_.Lc}}]),b}(n)},93945:(I,y,e)=>{e.d(y,{Q:()=>O,x:()=>_});var f=e(78069),v=e(48047),i=e(35488),a=e(24582),d=e(28694),m=e(4089),p=e(20265);function _(E,t,s,n,r){return new O(E,t,s,n,r)}var O=function(E){(0,a.Z)(s,E);var t=(0,d.Z)(s);function s(n,r,o,l,b,C){var c,u,h,A;return(0,f.Z)(this,s),(A=t.call(this,n)).onFinalize=b,A.shouldUnsubscribe=C,A._next=r?function(M){try{r(M)}catch(Z){n.error(Z)}}:(0,m.Z)((c=(0,i.Z)(A),(0,p.Z)(s.prototype)),"_next",c),A._error=l?function(M){try{l(M)}catch(Z){n.error(Z)}finally{this.unsubscribe()}}:(0,m.Z)((u=(0,i.Z)(A),(0,p.Z)(s.prototype)),"_error",u),A._complete=o?function(){try{o()}catch(M){n.error(M)}finally{this.unsubscribe()}}:(0,m.Z)((h=(0,i.Z)(A),(0,p.Z)(s.prototype)),"_complete",h),A}return(0,v.Z)(s,[{key:"unsubscribe",value:function(){var r;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var o=this.closed;(0,m.Z)((0,p.Z)(s.prototype),"unsubscribe",this).call(this),!o&&(null===(r=this.onFinalize)||void 0===r||r.call(this))}}}]),s}(e(5463).Lv)},71989:(I,y,e)=>{e.d(y,{b:()=>a});var f=e(96936),v=e(41944),i=e(93945);function a(d){var m=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f.z;return(0,v.e)(function(p,g){var _=null,O=null,E=null,t=function(){if(_){_.unsubscribe(),_=null;var r=O;O=null,g.next(r)}};function s(){var n=E+d,r=m.now();if(r<n)return _=this.schedule(void 0,n-r),void g.add(_);t()}p.subscribe((0,i.x)(g,function(n){O=n,E=m.now(),_||(_=m.schedule(s,d),g.add(_))},function(){t(),g.complete()},void 0,function(){O=_=null}))})}},75417:(I,y,e)=>{e.d(y,{o:()=>E});var f=e(78069),v=e(48047),i=e(4089),a=e(20265),d=e(24582),m=e(28694),g=function(t){(0,d.Z)(n,t);var s=(0,m.Z)(n);function n(r,o){return(0,f.Z)(this,n),s.call(this)}return(0,v.Z)(n,[{key:"schedule",value:function(o){return this}}]),n}(e(17714).w0),_={setInterval:function(t){function s(n,r){return t.apply(this,arguments)}return s.toString=function(){return t.toString()},s}(function(t,s){for(var n=_.delegate,r=arguments.length,o=new Array(r>2?r-2:0),l=2;l<r;l++)o[l-2]=arguments[l];return n?.setInterval?n.setInterval.apply(n,[t,s].concat(o)):setInterval.apply(void 0,[t,s].concat(o))}),clearInterval:function(t){function s(n){return t.apply(this,arguments)}return s.toString=function(){return t.toString()},s}(function(t){var s=_.delegate;return(s?.clearInterval||clearInterval)(t)}),delegate:void 0},O=e(39663),E=function(t){(0,d.Z)(n,t);var s=(0,m.Z)(n);function n(r,o){var l;return(0,f.Z)(this,n),(l=s.call(this,r,o)).scheduler=r,l.work=o,l.pending=!1,l}return(0,v.Z)(n,[{key:"schedule",value:function(o){var b,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=o;var C=this.id,c=this.scheduler;return null!=C&&(this.id=this.recycleAsyncId(c,C,l)),this.pending=!0,this.delay=l,this.id=null!==(b=this.id)&&void 0!==b?b:this.requestAsyncId(c,this.id,l),this}},{key:"requestAsyncId",value:function(o,l){var b=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return _.setInterval(o.flush.bind(o,this),b)}},{key:"recycleAsyncId",value:function(o,l){var b=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!=b&&this.delay===b&&!1===this.pending)return l;null!=l&&_.clearInterval(l)}},{key:"execute",value:function(o,l){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var b=this._execute(o,l);if(b)return b;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(o,l){var C,b=!1;try{this.work(o)}catch(c){b=!0,C=c||new Error("Scheduled action threw falsy error")}if(b)return this.unsubscribe(),C}},{key:"unsubscribe",value:function(){if(!this.closed){var o=this.id,l=this.scheduler,b=l.actions;this.work=this.state=this.scheduler=null,this.pending=!1,(0,O.P)(b,this),null!=o&&(this.id=this.recycleAsyncId(l,o,null)),this.delay=null,(0,i.Z)((0,a.Z)(n.prototype),"unsubscribe",this).call(this)}}}]),n}(g)},41010:(I,y,e)=>{e.d(y,{v:()=>p});var f=e(78069),v=e(48047),i=e(24582),a=e(28694),d=e(67654),m=function(){function g(_){var O=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g.now;(0,f.Z)(this,g),this.schedulerActionCtor=_,this.now=O}return(0,v.Z)(g,[{key:"schedule",value:function(O){var E=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=arguments.length>2?arguments[2]:void 0;return new this.schedulerActionCtor(this,O).schedule(t,E)}}]),g}();m.now=d.l.now;var p=function(g){(0,i.Z)(O,g);var _=(0,a.Z)(O);function O(E){var t,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m.now;return(0,f.Z)(this,O),(t=_.call(this,E,s)).actions=[],t._active=!1,t}return(0,v.Z)(O,[{key:"flush",value:function(t){var s=this.actions;if(this._active)s.push(t);else{var n;this._active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=s.shift());if(this._active=!1,n){for(;t=s.shift();)t.unsubscribe();throw n}}}}]),O}(m)},96936:(I,y,e)=>{e.d(y,{P:()=>a,z:()=>i});var f=e(75417),i=new(e(41010).v)(f.o),a=i},67654:(I,y,e)=>{e.d(y,{l:()=>f});var f={now:function(){return(f.delegate||Date).now()},delegate:void 0}},41944:(I,y,e)=>{e.d(y,{A:()=>v,e:()=>i});var f=e(92971);function v(a){return(0,f.m)(a?.lift)}function i(a){return function(d){if(v(d))return d.lift(function(m){try{return a(m,this)}catch(p){this.error(p)}});throw new TypeError("Unable to lift unknown Observable type")}}},8577:(I,y,e)=>{e.r(y),e.d(y,{CdkObserveContent:()=>O,ContentObserver:()=>_,MutationObserverFactory:()=>g,ObserversModule:()=>E});var f=e(78069),v=e(48047),i=e(35333),a=e(56718),d=e(90833),m=e(50253),p=e(71989),g=function(){var t=function(){function s(){(0,f.Z)(this,s)}return(0,v.Z)(s,[{key:"create",value:function(r){return typeof MutationObserver>"u"?null:new MutationObserver(r)}}]),s}();return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=a.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),_=function(){var t=function(){function s(n){(0,f.Z)(this,s),this._mutationObserverFactory=n,this._observedElements=new Map}return(0,v.Z)(s,[{key:"ngOnDestroy",value:function(){var r=this;this._observedElements.forEach(function(o,l){return r._cleanupObserver(l)})}},{key:"observe",value:function(r){var o=this,l=(0,i.coerceElement)(r);return new d.y(function(b){var c=o._observeElement(l).subscribe(b);return function(){c.unsubscribe(),o._unobserveElement(l)}})}},{key:"_observeElement",value:function(r){if(this._observedElements.has(r))this._observedElements.get(r).count++;else{var o=new m.x,l=this._mutationObserverFactory.create(function(b){return o.next(b)});l&&l.observe(r,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(r,{observer:l,stream:o,count:1})}return this._observedElements.get(r).stream}},{key:"_unobserveElement",value:function(r){this._observedElements.has(r)&&(this._observedElements.get(r).count--,this._observedElements.get(r).count||this._cleanupObserver(r))}},{key:"_cleanupObserver",value:function(r){if(this._observedElements.has(r)){var o=this._observedElements.get(r),l=o.observer,b=o.stream;l&&l.disconnect(),b.complete(),this._observedElements.delete(r)}}}]),s}();return t.\u0275fac=function(n){return new(n||t)(a.\u0275\u0275inject(g))},t.\u0275prov=a.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),O=function(){var t=function(){function s(n,r,o){(0,f.Z)(this,s),this._contentObserver=n,this._elementRef=r,this._ngZone=o,this.event=new a.EventEmitter,this._disabled=!1,this._currentSubscription=null}return(0,v.Z)(s,[{key:"disabled",get:function(){return this._disabled},set:function(r){this._disabled=(0,i.coerceBooleanProperty)(r),this._disabled?this._unsubscribe():this._subscribe()}},{key:"debounce",get:function(){return this._debounce},set:function(r){this._debounce=(0,i.coerceNumberProperty)(r),this._subscribe()}},{key:"ngAfterContentInit",value:function(){!this._currentSubscription&&!this.disabled&&this._subscribe()}},{key:"ngOnDestroy",value:function(){this._unsubscribe()}},{key:"_subscribe",value:function(){var r=this;this._unsubscribe();var o=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(function(){r._currentSubscription=(r.debounce?o.pipe((0,p.b)(r.debounce)):o).subscribe(r.event)})}},{key:"_unsubscribe",value:function(){var r;null===(r=this._currentSubscription)||void 0===r||r.unsubscribe()}}]),s}();return t.\u0275fac=function(n){return new(n||t)(a.\u0275\u0275directiveInject(_),a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(a.NgZone))},t.\u0275dir=a.\u0275\u0275defineDirective({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t}(),E=function(){var t=(0,v.Z)(function s(){(0,f.Z)(this,s)});return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=a.\u0275\u0275defineNgModule({type:t}),t.\u0275inj=a.\u0275\u0275defineInjector({providers:[g]}),t}()},44841:(I,y,e)=>{function f(v,i){(null==i||i>v.length)&&(i=v.length);for(var a=0,d=new Array(i);a<i;a++)d[a]=v[a];return d}e.d(y,{Z:()=>f})},95106:(I,y,e)=>{e.d(y,{Z:()=>v});var f=e(44206);function v(i,a){var d=typeof Symbol<"u"&&i[Symbol.iterator]||i["@@iterator"];if(!d){if(Array.isArray(i)||(d=(0,f.Z)(i))||a&&i&&"number"==typeof i.length){d&&(i=d);var m=0,p=function(){};return{s:p,n:function(){return m>=i.length?{done:!0}:{done:!1,value:i[m++]}},e:function(t){throw t},f:p}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var O,g=!0,_=!1;return{s:function(){d=d.call(i)},n:function(){var t=d.next();return g=t.done,t},e:function(t){_=!0,O=t},f:function(){try{!g&&null!=d.return&&d.return()}finally{if(_)throw O}}}}},4089:(I,y,e)=>{e.d(y,{Z:()=>i});var f=e(20265);function i(){return i=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(d,m,p){var g=function v(a,d){for(;!Object.prototype.hasOwnProperty.call(a,d)&&null!==(a=(0,f.Z)(a)););return a}(d,m);if(g){var _=Object.getOwnPropertyDescriptor(g,m);return _.get?_.get.call(arguments.length<3?d:p):_.value}},i.apply(this,arguments)}},4826:(I,y,e)=>{function f(v){if(typeof Symbol<"u"&&null!=v[Symbol.iterator]||null!=v["@@iterator"])return Array.from(v)}e.d(y,{Z:()=>f})},86170:(I,y,e)=>{e.d(y,{Z:()=>m});var f=e(44841),i=e(4826),a=e(44206);function m(p){return function v(p){if(Array.isArray(p))return(0,f.Z)(p)}(p)||(0,i.Z)(p)||(0,a.Z)(p)||function d(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(I,y,e)=>{e.d(y,{Z:()=>v});var f=e(44841);function v(i,a){if(i){if("string"==typeof i)return(0,f.Z)(i,a);var d=Object.prototype.toString.call(i).slice(8,-1);if("Object"===d&&i.constructor&&(d=i.constructor.name),"Map"===d||"Set"===d)return Array.from(i);if("Arguments"===d||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d))return(0,f.Z)(i,a)}}}}]); +//# sourceMappingURL=8538.708a79be94deb0d6.js.map \ No newline at end of file diff --git a/8538.708a79be94deb0d6.js.map b/8538.708a79be94deb0d6.js.map new file mode 100644 index 0000000..bd0cc75 --- /dev/null +++ b/8538.708a79be94deb0d6.js.map @@ -0,0 +1 @@ +{"version":3,"file":"8538.708a79be94deb0d6.js","mappings":"mNACaA,cAA0BC,GAAiB,SAACC,GAAM,OAAK,WAChEA,EAAOC,MACPA,KAAKC,KAAO,0BACZD,KAAKE,QAAU,qBACnB,CAAC,yBCAYC,EAAO,eAAPA,EAAO,SAAAC,IAAAC,OAAAF,EAAAC,GAAA,IAAAL,KAAAO,KAAAH,GAChB,SAAAA,IAAc,IAAAI,EAAAC,cAAAR,KAAAG,IACVI,EAAAR,EAAAU,KAAAT,OACKU,QAAS,EACdH,EAAKI,iBAAmB,KACxBJ,EAAKK,UAAY,GACjBL,EAAKM,WAAY,EACjBN,EAAKO,UAAW,EAChBP,EAAKQ,YAAc,KAAKR,CAC5B,CAACS,cAAAb,EAAA,EAAAc,IAAA,OAAAC,MACD,SAAKC,GACD,IAAMC,EAAU,IAAIC,EAAiBrB,KAAMA,MAC3CoB,SAAQD,SAAWA,EACZC,CACX,GAAC,CAAAH,IAAA,iBAAAC,MACD,WACI,GAAIlB,KAAKU,OACL,MAAM,IAAIb,CAElB,GAAC,CAAAoB,IAAA,OAAAC,MACD,SAAKA,GAAO,IAAAI,EAAAtB,MACRuB,OAAa,WAET,GADAD,EAAKE,kBACAF,EAAKT,UAAW,CACZS,EAAKX,mBACNW,EAAKX,iBAAmBc,MAAMC,KAAKJ,EAAKV,YAC3C,IAC2Ce,EAD3CC,KAAAC,KACsBP,EAAKX,kBAAgB,IAA5C,IAAAiB,EAAAE,MAAAH,EAAAC,EAAAG,KAAAC,MAAmBL,EAAAT,MACNe,KAAKf,EACjB,OAAAgB,GAAAN,EAAAO,EAAAD,EAAA,SAAAN,EAAAQ,GAAA,EAET,EACJ,GAAC,CAAAnB,IAAA,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AAAzB,OAAA,WAAAyB,EAAAzB,OAAAC,WAAA,MAAAwB,EAAA,qBAAAnO,MAAAC,KAAAkO,EACA,wFCEe,SAAAC,EAAAjC,GACf,OCJe,SAAAkC,EAAAlC,GACf,GAAAnM,MAAA4M,QAAAT,GAAA,SAAiCmC,EAAAxB,GAAgBX,EACjD,CDESkC,CAAiBlC,KAAA,EAASoC,EAAAzB,GAAeX,KAAA,EAASqC,EAAA1B,GAA0BX,IELtE,SAAAsC,IACf,UAAAxG,UAAA,uIACA,CFG8FwG,EAC9F,mDGLe,SAAAC,EAAAnC,EAAAoC,GACf,GAAApC,EACA,qBAAAA,EAAA,SAAoCqC,EAAA9B,GAAgBP,EAAAoC,GACpD,IAAArO,EAAAuN,OAAAtM,UAAA6D,SAAApG,KAAAuN,GAAAsC,MAAA,MAEA,GADA,WAAAvO,GAAAiM,EAAAuC,cAAAxO,EAAAiM,EAAAuC,YAAAtQ,MACA,QAAA8B,GAAA,QAAAA,EAAA,OAAAN,MAAAC,KAAAsM,GACA,iBAAAjM,GAAA,2CAAAyO,KAAAzO,GAAA,SAAsFsO,EAAA9B,GAAgBP,EAAAoC,EAAA,CACtG","names":["ObjectUnsubscribedError","createErrorClass","_super","this","name","message","Subject","_Observable","_inherits","_createSuper","_this","_classCallCheck","call","closed","currentObservers","observers","isStopped","hasError","thrownError","_createClass","key","value","operator","subject","AnonymousSubject","_this2","errorContext","_throwIfClosed","Array","from","_step","_iterator","_createForOfIteratorHelper","s","n","done","next","err","e","f","_this3","length","shift","error","_this4","complete","get","_a","subscriber","_get","_getPrototypeOf","prototype","_checkFinalizedStatuses","_innerSubscribe","_this5","EMPTY_SUBSCRIPTION","push","Subscription","arrRemove","observable","Observable","source","create","destination","_Subject","_super2","_this6","_b","subscribe","createOperatorSubscriber","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_next","_assertThisInitialized","_error","unsubscribe","_complete","Subscriber","debounceTime","dueTime","scheduler","arguments","undefined","asyncScheduler","operate","activeTask","lastValue","lastTime","emit","emitWhenIdle","targetTime","now","schedule","add","Action","_Subscription","work","state","intervalProvider","setInterval","_setInterval","_x","_x2","apply","toString","handler","timeout","delegate","_len","args","_key","concat","clearInterval","_clearInterval","_x3","handle","AsyncAction","_Action","pending","delay","id","recycleAsyncId","requestAsyncId","_id","flush","bind","_scheduler","Error","_execute","_delay","errorValue","errored","actions","Scheduler","schedulerActionCtor","dateTimestampProvider","AsyncScheduler","_Scheduler","SchedulerAction","_active","action","execute","async","Date","hasLift","isFunction","lift","init","liftedSource","TypeError","MutationObserverFactory","callback","MutationObserver","ɵfac","t","ɵprov","i0","token","factory","providedIn","ContentObserver","_mutationObserverFactory","_observedElements","Map","forEach","_","element","_cleanupObserver","elementOrRef","coerceElement","observer","subscription","_observeElement","_unobserveElement","has","count","stream","mutations","observe","characterData","childList","subtree","set","_this$_observedElemen","disconnect","delete","CdkObserveContent","_contentObserver","_elementRef","_ngZone","event","EventEmitter","_disabled","_currentSubscription","coerceBooleanProperty","_unsubscribe","_subscribe","_debounce","coerceNumberProperty","disabled","runOutsideAngular","debounce","pipe","_this$_currentSubscri","ɵdir","type","selectors","inputs","outputs","exportAs","ObserversModule","ɵmod","ɵinj","providers","_arrayLikeToArray","arr","len","i","arr2","o","allowArrayLike","it","Symbol","iterator","isArray","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","_e","normalCompletion","didErr","step","_e2","return","Reflect","target","property","receiver","base","_superPropBase","object","Object","hasOwnProperty","getPrototypeOf","desc","getOwnPropertyDescriptor","_iterableToArray","iter","_toConsumableArray","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","slice","constructor","test"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/util/ObjectUnsubscribedError.js","./node_modules/rxjs/dist/esm/internal/Subject.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/debounceTime.js","./node_modules/rxjs/dist/esm/internal/scheduler/Action.js","./node_modules/rxjs/dist/esm/internal/scheduler/intervalProvider.js","./node_modules/rxjs/dist/esm/internal/scheduler/AsyncAction.js","./node_modules/rxjs/dist/esm/internal/Scheduler.js","./node_modules/rxjs/dist/esm/internal/scheduler/AsyncScheduler.js","./node_modules/rxjs/dist/esm/internal/scheduler/async.js","./node_modules/rxjs/dist/esm/internal/scheduler/dateTimestampProvider.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/@angular/cdk/fesm2022/observers.mjs","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { createErrorClass } from './createErrorClass';\nexport const ObjectUnsubscribedError = createErrorClass((_super) => function ObjectUnsubscribedErrorImpl() {\n _super(this);\n this.name = 'ObjectUnsubscribedError';\n this.message = 'object unsubscribed';\n});\n","import { Observable } from './Observable';\nimport { Subscription, EMPTY_SUBSCRIPTION } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { arrRemove } from './util/arrRemove';\nimport { errorContext } from './util/errorContext';\nexport class Subject extends Observable {\n constructor() {\n super();\n this.closed = false;\n this.currentObservers = null;\n this.observers = [];\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n lift(operator) {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n }\n _throwIfClosed() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n }\n next(value) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n if (!this.currentObservers) {\n this.currentObservers = Array.from(this.observers);\n }\n for (const observer of this.currentObservers) {\n observer.next(value);\n }\n }\n });\n }\n error(err) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.hasError = this.isStopped = true;\n this.thrownError = err;\n const { observers } = this;\n while (observers.length) {\n observers.shift().error(err);\n }\n }\n });\n }\n complete() {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.isStopped = true;\n const { observers } = this;\n while (observers.length) {\n observers.shift().complete();\n }\n }\n });\n }\n unsubscribe() {\n this.isStopped = this.closed = true;\n this.observers = this.currentObservers = null;\n }\n get observed() {\n var _a;\n return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;\n }\n _trySubscribe(subscriber) {\n this._throwIfClosed();\n return super._trySubscribe(subscriber);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._checkFinalizedStatuses(subscriber);\n return this._innerSubscribe(subscriber);\n }\n _innerSubscribe(subscriber) {\n const { hasError, isStopped, observers } = this;\n if (hasError || isStopped) {\n return EMPTY_SUBSCRIPTION;\n }\n this.currentObservers = null;\n observers.push(subscriber);\n return new Subscription(() => {\n this.currentObservers = null;\n arrRemove(observers, subscriber);\n });\n }\n _checkFinalizedStatuses(subscriber) {\n const { hasError, thrownError, isStopped } = this;\n if (hasError) {\n subscriber.error(thrownError);\n }\n else if (isStopped) {\n subscriber.complete();\n }\n }\n asObservable() {\n const observable = new Observable();\n observable.source = this;\n return observable;\n }\n}\nSubject.create = (destination, source) => {\n return new AnonymousSubject(destination, source);\n};\nexport class AnonymousSubject extends Subject {\n constructor(destination, source) {\n super();\n this.destination = destination;\n this.source = source;\n }\n next(value) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);\n }\n error(err) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);\n }\n complete() {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);\n }\n _subscribe(subscriber) {\n var _a, _b;\n return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;\n }\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","import { asyncScheduler } from '../scheduler/async';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function debounceTime(dueTime, scheduler = asyncScheduler) {\n return operate((source, subscriber) => {\n let activeTask = null;\n let lastValue = null;\n let lastTime = null;\n const emit = () => {\n if (activeTask) {\n activeTask.unsubscribe();\n activeTask = null;\n const value = lastValue;\n lastValue = null;\n subscriber.next(value);\n }\n };\n function emitWhenIdle() {\n const targetTime = lastTime + dueTime;\n const now = scheduler.now();\n if (now < targetTime) {\n activeTask = this.schedule(undefined, targetTime - now);\n subscriber.add(activeTask);\n return;\n }\n emit();\n }\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n lastValue = value;\n lastTime = scheduler.now();\n if (!activeTask) {\n activeTask = scheduler.schedule(emitWhenIdle, dueTime);\n subscriber.add(activeTask);\n }\n }, () => {\n emit();\n subscriber.complete();\n }, undefined, () => {\n lastValue = activeTask = null;\n }));\n });\n}\n","import { Subscription } from '../Subscription';\nexport class Action extends Subscription {\n constructor(scheduler, work) {\n super();\n }\n schedule(state, delay = 0) {\n return this;\n }\n}\n","export const intervalProvider = {\n setInterval(handler, timeout, ...args) {\n const { delegate } = intervalProvider;\n if (delegate === null || delegate === void 0 ? void 0 : delegate.setInterval) {\n return delegate.setInterval(handler, timeout, ...args);\n }\n return setInterval(handler, timeout, ...args);\n },\n clearInterval(handle) {\n const { delegate } = intervalProvider;\n return ((delegate === null || delegate === void 0 ? void 0 : delegate.clearInterval) || clearInterval)(handle);\n },\n delegate: undefined,\n};\n","import { Action } from './Action';\nimport { intervalProvider } from './intervalProvider';\nimport { arrRemove } from '../util/arrRemove';\nexport class AsyncAction extends Action {\n constructor(scheduler, work) {\n super(scheduler, work);\n this.scheduler = scheduler;\n this.work = work;\n this.pending = false;\n }\n schedule(state, delay = 0) {\n var _a;\n if (this.closed) {\n return this;\n }\n this.state = state;\n const id = this.id;\n const scheduler = this.scheduler;\n if (id != null) {\n this.id = this.recycleAsyncId(scheduler, id, delay);\n }\n this.pending = true;\n this.delay = delay;\n this.id = (_a = this.id) !== null && _a !== void 0 ? _a : this.requestAsyncId(scheduler, this.id, delay);\n return this;\n }\n requestAsyncId(scheduler, _id, delay = 0) {\n return intervalProvider.setInterval(scheduler.flush.bind(scheduler, this), delay);\n }\n recycleAsyncId(_scheduler, id, delay = 0) {\n if (delay != null && this.delay === delay && this.pending === false) {\n return id;\n }\n if (id != null) {\n intervalProvider.clearInterval(id);\n }\n return undefined;\n }\n execute(state, delay) {\n if (this.closed) {\n return new Error('executing a cancelled action');\n }\n this.pending = false;\n const error = this._execute(state, delay);\n if (error) {\n return error;\n }\n else if (this.pending === false && this.id != null) {\n this.id = this.recycleAsyncId(this.scheduler, this.id, null);\n }\n }\n _execute(state, _delay) {\n let errored = false;\n let errorValue;\n try {\n this.work(state);\n }\n catch (e) {\n errored = true;\n errorValue = e ? e : new Error('Scheduled action threw falsy error');\n }\n if (errored) {\n this.unsubscribe();\n return errorValue;\n }\n }\n unsubscribe() {\n if (!this.closed) {\n const { id, scheduler } = this;\n const { actions } = scheduler;\n this.work = this.state = this.scheduler = null;\n this.pending = false;\n arrRemove(actions, this);\n if (id != null) {\n this.id = this.recycleAsyncId(scheduler, id, null);\n }\n this.delay = null;\n super.unsubscribe();\n }\n }\n}\n","import { dateTimestampProvider } from './scheduler/dateTimestampProvider';\nexport class Scheduler {\n constructor(schedulerActionCtor, now = Scheduler.now) {\n this.schedulerActionCtor = schedulerActionCtor;\n this.now = now;\n }\n schedule(work, delay = 0, state) {\n return new this.schedulerActionCtor(this, work).schedule(state, delay);\n }\n}\nScheduler.now = dateTimestampProvider.now;\n","import { Scheduler } from '../Scheduler';\nexport class AsyncScheduler extends Scheduler {\n constructor(SchedulerAction, now = Scheduler.now) {\n super(SchedulerAction, now);\n this.actions = [];\n this._active = false;\n }\n flush(action) {\n const { actions } = this;\n if (this._active) {\n actions.push(action);\n return;\n }\n let error;\n this._active = true;\n do {\n if ((error = action.execute(action.state, action.delay))) {\n break;\n }\n } while ((action = actions.shift()));\n this._active = false;\n if (error) {\n while ((action = actions.shift())) {\n action.unsubscribe();\n }\n throw error;\n }\n }\n}\n","import { AsyncAction } from './AsyncAction';\nimport { AsyncScheduler } from './AsyncScheduler';\nexport const asyncScheduler = new AsyncScheduler(AsyncAction);\nexport const async = asyncScheduler;\n","export const dateTimestampProvider = {\n now() {\n return (dateTimestampProvider.delegate || Date).now();\n },\n delegate: undefined,\n};\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","import { coerceElement, coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';\nimport * as i0 from '@angular/core';\nimport { Injectable, EventEmitter, Directive, Output, Input, NgModule } from '@angular/core';\nimport { Observable, Subject } from 'rxjs';\nimport { debounceTime } from 'rxjs/operators';\n\n/**\n * Factory that creates a new MutationObserver and allows us to stub it out in unit tests.\n * @docs-private\n */\nclass MutationObserverFactory {\n create(callback) {\n return typeof MutationObserver === 'undefined' ? null : new MutationObserver(callback);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MutationObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MutationObserverFactory, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MutationObserverFactory, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }] });\n/** An injectable service that allows watching elements for changes to their content. */\nclass ContentObserver {\n constructor(_mutationObserverFactory) {\n this._mutationObserverFactory = _mutationObserverFactory;\n /** Keeps track of the existing MutationObservers so they can be reused. */\n this._observedElements = new Map();\n }\n ngOnDestroy() {\n this._observedElements.forEach((_, element) => this._cleanupObserver(element));\n }\n observe(elementOrRef) {\n const element = coerceElement(elementOrRef);\n return new Observable((observer) => {\n const stream = this._observeElement(element);\n const subscription = stream.subscribe(observer);\n return () => {\n subscription.unsubscribe();\n this._unobserveElement(element);\n };\n });\n }\n /**\n * Observes the given element by using the existing MutationObserver if available, or creating a\n * new one if not.\n */\n _observeElement(element) {\n if (!this._observedElements.has(element)) {\n const stream = new Subject();\n const observer = this._mutationObserverFactory.create(mutations => stream.next(mutations));\n if (observer) {\n observer.observe(element, {\n characterData: true,\n childList: true,\n subtree: true,\n });\n }\n this._observedElements.set(element, { observer, stream, count: 1 });\n }\n else {\n this._observedElements.get(element).count++;\n }\n return this._observedElements.get(element).stream;\n }\n /**\n * Un-observes the given element and cleans up the underlying MutationObserver if nobody else is\n * observing this element.\n */\n _unobserveElement(element) {\n if (this._observedElements.has(element)) {\n this._observedElements.get(element).count--;\n if (!this._observedElements.get(element).count) {\n this._cleanupObserver(element);\n }\n }\n }\n /** Clean up the underlying MutationObserver for the specified element. */\n _cleanupObserver(element) {\n if (this._observedElements.has(element)) {\n const { observer, stream } = this._observedElements.get(element);\n if (observer) {\n observer.disconnect();\n }\n stream.complete();\n this._observedElements.delete(element);\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: ContentObserver, deps: [{ token: MutationObserverFactory }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: ContentObserver, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: ContentObserver, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: MutationObserverFactory }]; } });\n/**\n * Directive that triggers a callback whenever the content of\n * its associated element has changed.\n */\nclass CdkObserveContent {\n /**\n * Whether observing content is disabled. This option can be used\n * to disconnect the underlying MutationObserver until it is needed.\n */\n get disabled() {\n return this._disabled;\n }\n set disabled(value) {\n this._disabled = coerceBooleanProperty(value);\n this._disabled ? this._unsubscribe() : this._subscribe();\n }\n /** Debounce interval for emitting the changes. */\n get debounce() {\n return this._debounce;\n }\n set debounce(value) {\n this._debounce = coerceNumberProperty(value);\n this._subscribe();\n }\n constructor(_contentObserver, _elementRef, _ngZone) {\n this._contentObserver = _contentObserver;\n this._elementRef = _elementRef;\n this._ngZone = _ngZone;\n /** Event emitted for each change in the element's content. */\n this.event = new EventEmitter();\n this._disabled = false;\n this._currentSubscription = null;\n }\n ngAfterContentInit() {\n if (!this._currentSubscription && !this.disabled) {\n this._subscribe();\n }\n }\n ngOnDestroy() {\n this._unsubscribe();\n }\n _subscribe() {\n this._unsubscribe();\n const stream = this._contentObserver.observe(this._elementRef);\n // TODO(mmalerba): We shouldn't be emitting on this @Output() outside the zone.\n // Consider brining it back inside the zone next time we're making breaking changes.\n // Bringing it back inside can cause things like infinite change detection loops and changed\n // after checked errors if people's code isn't handling it properly.\n this._ngZone.runOutsideAngular(() => {\n this._currentSubscription = (this.debounce ? stream.pipe(debounceTime(this.debounce)) : stream).subscribe(this.event);\n });\n }\n _unsubscribe() {\n this._currentSubscription?.unsubscribe();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkObserveContent, deps: [{ token: ContentObserver }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkObserveContent, selector: \"[cdkObserveContent]\", inputs: { disabled: [\"cdkObserveContentDisabled\", \"disabled\"], debounce: \"debounce\" }, outputs: { event: \"cdkObserveContent\" }, exportAs: [\"cdkObserveContent\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkObserveContent, decorators: [{\n type: Directive,\n args: [{\n selector: '[cdkObserveContent]',\n exportAs: 'cdkObserveContent',\n }]\n }], ctorParameters: function () { return [{ type: ContentObserver }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { event: [{\n type: Output,\n args: ['cdkObserveContent']\n }], disabled: [{\n type: Input,\n args: ['cdkObserveContentDisabled']\n }], debounce: [{\n type: Input\n }] } });\nclass ObserversModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: ObserversModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: ObserversModule, declarations: [CdkObserveContent], exports: [CdkObserveContent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: ObserversModule, providers: [MutationObserverFactory] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: ObserversModule, decorators: [{\n type: NgModule,\n args: [{\n exports: [CdkObserveContent],\n declarations: [CdkObserveContent],\n providers: [MutationObserverFactory],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { CdkObserveContent, ContentObserver, MutationObserverFactory, ObserversModule };\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21]} \ No newline at end of file diff --git a/8596.6646ca7640e1d7e1.js b/8596.6646ca7640e1d7e1.js new file mode 100644 index 0000000..3d3b6ef --- /dev/null +++ b/8596.6646ca7640e1d7e1.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[8596,7376,5187,4091,1217,7208,4968,4155,1084,6896,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,4680,2111,3326,8352,5501,3098,8608,8443,5915,3278,5391,6748,6763,4151,5069,7432,6618],{35488:(f,n,e)=>{function t(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}e.d(n,{Z:()=>t})},28694:(f,n,e)=>{e.d(n,{Z:()=>i});var t=e(20265),o=e(98568),u=e(43445),r=e(35488);function i(p){var c=(0,o.Z)();return function(){var a,s=(0,t.Z)(p);if(c){var d=(0,t.Z)(this).constructor;a=Reflect.construct(s,arguments,d)}else a=s.apply(this,arguments);return function _(p,c){if(c&&("object"===(0,u.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(p)}(this,a)}}},20265:(f,n,e)=>{function t(o){return(t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)})(o)}e.d(n,{Z:()=>t})},24582:(f,n,e)=>{e.d(n,{Z:()=>o});var t=e(10006);function o(u,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(r&&r.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),r&&(0,t.Z)(u,r)}},98568:(f,n,e)=>{function t(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(n,{Z:()=>t})},10006:(f,n,e)=>{function t(o,u){return(t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_,i){return _.__proto__=i,_})(o,u)}e.d(n,{Z:()=>t})}}]); +//# sourceMappingURL=8596.6646ca7640e1d7e1.js.map \ No newline at end of file diff --git a/8596.6646ca7640e1d7e1.js.map b/8596.6646ca7640e1d7e1.js.map new file mode 100644 index 0000000..188d990 --- /dev/null +++ b/8596.6646ca7640e1d7e1.js.map @@ -0,0 +1 @@ +{"version":3,"file":"8596.6646ca7640e1d7e1.js","mappings":"sQAAe,SAAAA,EAAAC,GACf,YAAAA,EACA,UAAAC,eAAA,6DAEA,OAAAD,CACA,oGCFe,SAAAE,EAAAC,GACf,IAAAC,KAAkCC,EAAAC,KAClC,kBACA,IACAC,EADAC,KAAgBC,EAAAH,GAAcH,GAE9B,GAAAC,EAAA,CACA,IAAAM,KAAsBD,EAAAH,GAAcK,MAAAC,YACpCL,EAAAM,QAAAC,UAAAN,EAAAO,UAAAL,EAAA,MAEAH,EAAAC,EAAAQ,MAAAL,KAAAI,WAEA,OCZe,SAAAE,EAAAjB,EAAAkB,GACf,GAAAA,IAAsB,YAAtBA,EAAeC,EAAAb,GAAOY,IAAA,mBAAAA,GACtB,OAAAA,EACI,YAAAA,EACJ,UAAAE,UAAA,4DAEA,SAASC,EAAAf,GAAqBN,EAC9B,CDKWiB,CAAyBN,KAAAJ,EACpC,CACA,mBEhBe,SAAAe,EAAAC,GACf,OAAAD,EAAAE,OAAAC,eAAAD,OAAAf,eAAAiB,OAAA,SAAAH,GACA,OAAAA,EAAAI,WAAAH,OAAAf,eAAAc,EACA,GACAA,EACA,mECJe,SAAAK,EAAAC,EAAAC,GACf,sBAAAA,GAAA,OAAAA,EACA,UAAAV,UAAA,sDAEAS,EAAAE,UAAAP,OAAAQ,OAAAF,KAAAC,UAAA,CACAnB,YAAA,CACAqB,MAAAJ,EACAK,UAAA,EACAC,cAAA,KAGAX,OAAAY,eAAAP,EAAA,aACAK,UAAA,IAEAJ,MAAkBO,EAAA/B,GAAcuB,EAAAC,EAChC,mBChBe,SAAAQ,IAEf,UADAzB,QAAA,MAAAA,QAAAC,WACAD,QAAAC,UAAAyB,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAAV,UAAAW,QAAAxB,KAAAL,QAAAC,UAAA2B,QAAA,mBACA,CACA,OACA,QACA,CACA,mCCVe,SAAAE,EAAApB,EAAAqB,GACf,OAAAD,EAAAnB,OAAAC,eAAAD,OAAAC,eAAAC,OAAA,SAAAH,EAAAqB,GACA,OAAArB,EAAAI,UAAAiB,EACArB,CACA,GACAA,EAAAqB,EACA","names":["_assertThisInitialized","self","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","call","esm_typeof","TypeError","assertThisInitialized","_getPrototypeOf","o","Object","setPrototypeOf","bind","__proto__","_inherits","subClass","superClass","prototype","create","value","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6]} \ No newline at end of file diff --git a/8608.b26895fdf516017a.js b/8608.b26895fdf516017a.js new file mode 100644 index 0000000..4d71798 --- /dev/null +++ b/8608.b26895fdf516017a.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[8608,7376,5187,4091,1217,7208,4968,4155,1084,6896,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,4680,2111,3326,8596,8352,5501,3098,8443,5915,3278,5391,6748,6763,4151,5069,7432,6618],{35488:(f,n,e)=>{function t(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}e.d(n,{Z:()=>t})},28694:(f,n,e)=>{e.d(n,{Z:()=>i});var t=e(20265),o=e(98568),u=e(43445),r=e(35488);function i(p){var c=(0,o.Z)();return function(){var a,s=(0,t.Z)(p);if(c){var d=(0,t.Z)(this).constructor;a=Reflect.construct(s,arguments,d)}else a=s.apply(this,arguments);return function _(p,c){if(c&&("object"===(0,u.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(p)}(this,a)}}},20265:(f,n,e)=>{function t(o){return(t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)})(o)}e.d(n,{Z:()=>t})},24582:(f,n,e)=>{e.d(n,{Z:()=>o});var t=e(10006);function o(u,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(r&&r.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),r&&(0,t.Z)(u,r)}},98568:(f,n,e)=>{function t(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(n,{Z:()=>t})},10006:(f,n,e)=>{function t(o,u){return(t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_,i){return _.__proto__=i,_})(o,u)}e.d(n,{Z:()=>t})}}]); +//# sourceMappingURL=8608.b26895fdf516017a.js.map \ No newline at end of file diff --git a/8608.b26895fdf516017a.js.map b/8608.b26895fdf516017a.js.map new file mode 100644 index 0000000..8ea9bc4 --- /dev/null +++ b/8608.b26895fdf516017a.js.map @@ -0,0 +1 @@ +{"version":3,"file":"8608.b26895fdf516017a.js","mappings":"sQAAe,SAAAA,EAAAC,GACf,YAAAA,EACA,UAAAC,eAAA,6DAEA,OAAAD,CACA,oGCFe,SAAAE,EAAAC,GACf,IAAAC,KAAkCC,EAAAC,KAClC,kBACA,IACAC,EADAC,KAAgBC,EAAAH,GAAcH,GAE9B,GAAAC,EAAA,CACA,IAAAM,KAAsBD,EAAAH,GAAcK,MAAAC,YACpCL,EAAAM,QAAAC,UAAAN,EAAAO,UAAAL,EAAA,MAEAH,EAAAC,EAAAQ,MAAAL,KAAAI,WAEA,OCZe,SAAAE,EAAAjB,EAAAkB,GACf,GAAAA,IAAsB,YAAtBA,EAAeC,EAAAb,GAAOY,IAAA,mBAAAA,GACtB,OAAAA,EACI,YAAAA,EACJ,UAAAE,UAAA,4DAEA,SAASC,EAAAf,GAAqBN,EAC9B,CDKWiB,CAAyBN,KAAAJ,EACpC,CACA,mBEhBe,SAAAe,EAAAC,GACf,OAAAD,EAAAE,OAAAC,eAAAD,OAAAf,eAAAiB,OAAA,SAAAH,GACA,OAAAA,EAAAI,WAAAH,OAAAf,eAAAc,EACA,GACAA,EACA,mECJe,SAAAK,EAAAC,EAAAC,GACf,sBAAAA,GAAA,OAAAA,EACA,UAAAV,UAAA,sDAEAS,EAAAE,UAAAP,OAAAQ,OAAAF,KAAAC,UAAA,CACAnB,YAAA,CACAqB,MAAAJ,EACAK,UAAA,EACAC,cAAA,KAGAX,OAAAY,eAAAP,EAAA,aACAK,UAAA,IAEAJ,MAAkBO,EAAA/B,GAAcuB,EAAAC,EAChC,mBChBe,SAAAQ,IAEf,UADAzB,QAAA,MAAAA,QAAAC,WACAD,QAAAC,UAAAyB,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAAV,UAAAW,QAAAxB,KAAAL,QAAAC,UAAA2B,QAAA,mBACA,CACA,OACA,QACA,CACA,mCCVe,SAAAE,EAAApB,EAAAqB,GACf,OAAAD,EAAAnB,OAAAC,eAAAD,OAAAC,eAAAC,OAAA,SAAAH,EAAAqB,GACA,OAAArB,EAAAI,UAAAiB,EACArB,CACA,GACAA,EAAAqB,EACA","names":["_assertThisInitialized","self","ReferenceError","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Z","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","call","esm_typeof","TypeError","assertThisInitialized","_getPrototypeOf","o","Object","setPrototypeOf","bind","__proto__","_inherits","subClass","superClass","prototype","create","value","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_setPrototypeOf","p"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6]} \ No newline at end of file diff --git a/8711.87826b664b7e25ce.js b/8711.87826b664b7e25ce.js new file mode 100644 index 0000000..0e7d15f --- /dev/null +++ b/8711.87826b664b7e25ce.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[8711,5106,7376,5187,4091,1217,7208,4968,4155,1084,6896,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,4680,2111,3326,8596,8352,5501,3098,8608,8443,7328,5915,3278,5391,6748,1551,6763,4151,5069,7432,6618],{17714:(k,f,e)=>{e.d(f,{Lc:()=>P,w0:()=>t,Nn:()=>S});var _,a=e(86170),i=e(95106),n=e(78069),s=e(48047),c=e(92971),p=(0,e(27543).d)(function(_){return function(o){_(this),this.message=o?"".concat(o.length," errors occurred during unsubscription:\n").concat(o.map(function(d,M){return"".concat(M+1,") ").concat(d.toString())}).join("\n ")):"",this.name="UnsubscriptionError",this.errors=o}}),h=e(39663),t=function(){function _(b){(0,n.Z)(this,_),this.initialTeardown=b,this.closed=!1,this._parentage=null,this._finalizers=null}return(0,s.Z)(_,[{key:"unsubscribe",value:function(){var o;if(!this.closed){this.closed=!0;var d=this._parentage;if(d)if(this._parentage=null,Array.isArray(d)){var I,M=(0,i.Z)(d);try{for(M.s();!(I=M.n()).done;)I.value.remove(this)}catch(r){M.e(r)}finally{M.f()}}else d.remove(this);var O=this.initialTeardown;if((0,c.m)(O))try{O()}catch(r){o=r instanceof p?r.errors:[r]}var D=this._finalizers;if(D){this._finalizers=null;var u,L=(0,i.Z)(D);try{for(L.s();!(u=L.n()).done;){var v=u.value;try{A(v)}catch(r){o=o??[],r instanceof p?o=[].concat((0,a.Z)(o),(0,a.Z)(r.errors)):o.push(r)}}}catch(r){L.e(r)}finally{L.f()}}if(o)throw new p(o)}}},{key:"add",value:function(o){var d;if(o&&o!==this)if(this.closed)A(o);else{if(o instanceof _){if(o.closed||o._hasParent(this))return;o._addParent(this)}(this._finalizers=null!==(d=this._finalizers)&&void 0!==d?d:[]).push(o)}}},{key:"_hasParent",value:function(o){var d=this._parentage;return d===o||Array.isArray(d)&&d.includes(o)}},{key:"_addParent",value:function(o){var d=this._parentage;this._parentage=Array.isArray(d)?(d.push(o),d):d?[d,o]:o}},{key:"_removeParent",value:function(o){var d=this._parentage;d===o?this._parentage=null:Array.isArray(d)&&(0,h.P)(d,o)}},{key:"remove",value:function(o){var d=this._finalizers;d&&(0,h.P)(d,o),o instanceof _&&o._removeParent(this)}}]),_}();t.EMPTY=((_=new t).closed=!0,_);var P=t.EMPTY;function S(_){return _ instanceof t||_&&"closed"in _&&(0,c.m)(_.remove)&&(0,c.m)(_.add)&&(0,c.m)(_.unsubscribe)}function A(_){(0,c.m)(_)?_():_.unsubscribe()}},39663:(k,f,e)=>{function a(i,n){if(i){var s=i.indexOf(n);0<=s&&i.splice(s,1)}}e.d(f,{P:()=>a})},27543:(k,f,e)=>{function a(i){var s=i(function(y){Error.call(y),y.stack=(new Error).stack});return s.prototype=Object.create(Error.prototype),s.prototype.constructor=s,s}e.d(f,{d:()=>a})},92971:(k,f,e)=>{function a(i){return"function"==typeof i}e.d(f,{m:()=>a})},18711:(k,f,e)=>{e.r(f),e.d(f,{MAT_LEGACY_PROGRESS_SPINNER_DEFAULT_OPTIONS:()=>A.MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS,MAT_LEGACY_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY:()=>A.MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY,MatLegacyProgressSpinner:()=>O,MatLegacyProgressSpinnerModule:()=>D,MatLegacySpinner:()=>L});var a=e(24582),i=e(28694),n=e(48047),s=e(78069),c=e(35333),y=e(23675),p=e(93168),h=e(94055),t=e(56718),P=e(6606),S=e(33401),A=e(98745),_=e(17714);function b(u,v){if(1&u&&(t.\u0275\u0275namespaceSVG(),t.\u0275\u0275element(0,"circle",4)),2&u){var r=t.\u0275\u0275nextContext(),l=t.\u0275\u0275reference(1);t.\u0275\u0275styleProp("animation-name","mat-progress-spinner-stroke-rotate-"+r._spinnerAnimationLabel)("stroke-dashoffset",r._getStrokeDashOffset(),"px")("stroke-dasharray",r._getStrokeCircumference(),"px")("stroke-width",r._getCircleStrokeWidth(),"%")("transform-origin",r._getCircleTransformOrigin(l)),t.\u0275\u0275attribute("r",r._getCircleRadius())}}function o(u,v){if(1&u&&(t.\u0275\u0275namespaceSVG(),t.\u0275\u0275element(0,"circle",4)),2&u){var r=t.\u0275\u0275nextContext(),l=t.\u0275\u0275reference(1);t.\u0275\u0275styleProp("stroke-dashoffset",r._getStrokeDashOffset(),"px")("stroke-dasharray",r._getStrokeCircumference(),"px")("stroke-width",r._getCircleStrokeWidth(),"%")("transform-origin",r._getCircleTransformOrigin(l)),t.\u0275\u0275attribute("r",r._getCircleRadius())}}var O=function(u){(0,a.Z)(r,u);var v=(0,i.Z)(r);function r(l,m,T,C,E,R,w,U,j){var g;(0,s.Z)(this,r),(g=v.call(this,l))._document=T,g._nonce=j,g._diameter=100,g._value=0,g._resizeSubscription=_.w0.EMPTY,g.mode="determinate";var Z=r._diameters;return g._spinnerAnimationLabel=g._getSpinnerAnimationLabel(),Z.has(T.head)||Z.set(T.head,new Set([100])),g._noopAnimations="NoopAnimations"===C&&!!E&&!E._forceAnimations,"mat-spinner"===l.nativeElement.nodeName.toLowerCase()&&(g.mode="indeterminate"),E&&(E.color&&(g.color=g.defaultColor=E.color),E.diameter&&(g.diameter=E.diameter),E.strokeWidth&&(g.strokeWidth=E.strokeWidth)),m.isBrowser&&m.SAFARI&&w&&R&&U&&(g._resizeSubscription=w.change(150).subscribe(function(){"indeterminate"===g.mode&&U.run(function(){return R.markForCheck()})})),g}return(0,n.Z)(r,[{key:"diameter",get:function(){return this._diameter},set:function(m){this._diameter=(0,c.coerceNumberProperty)(m),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}},{key:"strokeWidth",get:function(){return this._strokeWidth||this.diameter/10},set:function(m){this._strokeWidth=(0,c.coerceNumberProperty)(m)}},{key:"value",get:function(){return"determinate"===this.mode?this._value:0},set:function(m){this._value=Math.max(0,Math.min(100,(0,c.coerceNumberProperty)(m)))}},{key:"ngOnInit",value:function(){var m=this._elementRef.nativeElement;this._styleRoot=(0,y._getShadowRoot)(m)||this._document.head,this._attachStyleNode(),m.classList.add("mat-progress-spinner-indeterminate-animation")}},{key:"ngOnDestroy",value:function(){this._resizeSubscription.unsubscribe()}},{key:"_getCircleRadius",value:function(){return(this.diameter-10)/2}},{key:"_getViewBox",value:function(){var m=2*this._getCircleRadius()+this.strokeWidth;return"0 0 ".concat(m," ").concat(m)}},{key:"_getStrokeCircumference",value:function(){return 2*Math.PI*this._getCircleRadius()}},{key:"_getStrokeDashOffset",value:function(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}},{key:"_getCircleStrokeWidth",value:function(){return this.strokeWidth/this.diameter*100}},{key:"_getCircleTransformOrigin",value:function(m){var T,C=50*(null!==(T=m.currentScale)&&void 0!==T?T:1);return"".concat(C,"% ").concat(C,"%")}},{key:"_attachStyleNode",value:function(){var m=this._styleRoot,T=this._diameter,C=r._diameters,E=C.get(m);if(!E||!E.has(T)){var R=this._document.createElement("style");this._nonce&&(R.nonce=this._nonce),R.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),R.textContent=this._getAnimationText(),m.appendChild(R),E||C.set(m,E=new Set),E.add(T)}}},{key:"_getAnimationText",value:function(){var m=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,"".concat(.95*m)).replace(/END_VALUE/g,"".concat(.2*m)).replace(/DIAMETER/g,"".concat(this._spinnerAnimationLabel))}},{key:"_getSpinnerAnimationLabel",value:function(){return this.diameter.toString().replace(".","_")}}]),r}((0,P.mixinColor)(function(){return(0,n.Z)(function u(v){(0,s.Z)(this,u),this._elementRef=v})}(),"primary"));O._diameters=new WeakMap,O.\u0275fac=function(v){return new(v||O)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(y.Platform),t.\u0275\u0275directiveInject(h.DOCUMENT,8),t.\u0275\u0275directiveInject(S.ANIMATION_MODULE_TYPE,8),t.\u0275\u0275directiveInject(A.MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(p.ViewportRuler),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275directiveInject(t.CSP_NONCE,8))},O.\u0275cmp=t.\u0275\u0275defineComponent({type:O,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner","mat-spinner"],hostVars:10,hostBindings:function(v,r){2&v&&(t.\u0275\u0275attribute("aria-valuemin","determinate"===r.mode?0:null)("aria-valuemax","determinate"===r.mode?100:null)("aria-valuenow","determinate"===r.mode?r.value:null)("mode",r.mode),t.\u0275\u0275styleProp("width",r.diameter,"px")("height",r.diameter,"px"),t.\u0275\u0275classProp("_mat-animation-noopable",r._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[t.\u0275\u0275InheritDefinitionFeature],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(v,r){1&v&&(t.\u0275\u0275namespaceSVG(),t.\u0275\u0275elementStart(0,"svg",0,1),t.\u0275\u0275template(2,b,1,11,"circle",2),t.\u0275\u0275template(3,o,1,9,"circle",3),t.\u0275\u0275elementEnd()),2&v&&(t.\u0275\u0275styleProp("width",r.diameter,"px")("height",r.diameter,"px"),t.\u0275\u0275property("ngSwitch","indeterminate"===r.mode),t.\u0275\u0275attribute("viewBox",r._getViewBox()),t.\u0275\u0275advance(2),t.\u0275\u0275property("ngSwitchCase",!0),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngSwitchCase",!1))},dependencies:[h.NgSwitch,h.NgSwitchCase],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:rgba(0,0,0,0);transition:stroke-dashoffset 225ms linear}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}.mat-progress-spinner[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}.mat-progress-spinner._mat-animation-noopable svg,.mat-progress-spinner._mat-animation-noopable circle{animation:none;transition:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}"],encapsulation:2,changeDetection:0});var D=function(){var u=(0,n.Z)(function v(){(0,s.Z)(this,v)});return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=t.\u0275\u0275defineNgModule({type:u}),u.\u0275inj=t.\u0275\u0275defineInjector({imports:[P.MatCommonModule,h.CommonModule,P.MatCommonModule]}),u}(),L=O},44841:(k,f,e)=>{function a(i,n){(null==n||n>i.length)&&(n=i.length);for(var s=0,c=new Array(n);s<n;s++)c[s]=i[s];return c}e.d(f,{Z:()=>a})},35488:(k,f,e)=>{function a(i){if(void 0===i)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}e.d(f,{Z:()=>a})},95106:(k,f,e)=>{e.d(f,{Z:()=>i});var a=e(44206);function i(n,s){var c=typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(!c){if(Array.isArray(n)||(c=(0,a.Z)(n))||s&&n&&"number"==typeof n.length){c&&(n=c);var y=0,p=function(){};return{s:p,n:function(){return y>=n.length?{done:!0}:{done:!1,value:n[y++]}},e:function(A){throw A},f:p}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var P,h=!0,t=!1;return{s:function(){c=c.call(n)},n:function(){var A=c.next();return h=A.done,A},e:function(A){t=!0,P=A},f:function(){try{!h&&null!=c.return&&c.return()}finally{if(t)throw P}}}}},28694:(k,f,e)=>{e.d(f,{Z:()=>y});var a=e(20265),i=e(98568),n=e(43445),s=e(35488);function y(p){var h=(0,i.Z)();return function(){var S,P=(0,a.Z)(p);if(h){var A=(0,a.Z)(this).constructor;S=Reflect.construct(P,arguments,A)}else S=P.apply(this,arguments);return function c(p,h){if(h&&("object"===(0,n.Z)(h)||"function"==typeof h))return h;if(void 0!==h)throw new TypeError("Derived constructors may only return object or undefined");return(0,s.Z)(p)}(this,S)}}},20265:(k,f,e)=>{function a(i){return(a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)})(i)}e.d(f,{Z:()=>a})},24582:(k,f,e)=>{e.d(f,{Z:()=>i});var a=e(10006);function i(n,s){if("function"!=typeof s&&null!==s)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(s&&s.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),s&&(0,a.Z)(n,s)}},98568:(k,f,e)=>{function a(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e.d(f,{Z:()=>a})},4826:(k,f,e)=>{function a(i){if(typeof Symbol<"u"&&null!=i[Symbol.iterator]||null!=i["@@iterator"])return Array.from(i)}e.d(f,{Z:()=>a})},10006:(k,f,e)=>{function a(i,n){return(a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,y){return c.__proto__=y,c})(i,n)}e.d(f,{Z:()=>a})},86170:(k,f,e)=>{e.d(f,{Z:()=>y});var a=e(44841),n=e(4826),s=e(44206);function y(p){return function i(p){if(Array.isArray(p))return(0,a.Z)(p)}(p)||(0,n.Z)(p)||(0,s.Z)(p)||function c(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(k,f,e)=>{e.d(f,{Z:()=>i});var a=e(44841);function i(n,s){if(n){if("string"==typeof n)return(0,a.Z)(n,s);var c=Object.prototype.toString.call(n).slice(8,-1);if("Object"===c&&n.constructor&&(c=n.constructor.name),"Map"===c||"Set"===c)return Array.from(n);if("Arguments"===c||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return(0,a.Z)(n,s)}}}}]); +//# sourceMappingURL=8711.87826b664b7e25ce.js.map \ No newline at end of file diff --git a/8711.87826b664b7e25ce.js.map b/8711.87826b664b7e25ce.js.map new file mode 100644 index 0000000..327bf2c --- /dev/null +++ b/8711.87826b664b7e25ce.js.map @@ -0,0 +1 @@ +{"version":3,"file":"8711.87826b664b7e25ce.js","mappings":"kUAqGUA,yDCpGGC,cAAsBC,GAAiB,SAACC,GAAM,OAAK,SAAiCC,GAC7FD,EAAOE,MACPA,KAAKC,QAAUF,EAAM,GAAAG,OACZH,EAAOI,OAAM,6CAAAD,OACxBH,EAAOK,IAAI,SAACC,EAAKC,GAAC,SAAAJ,OAAQI,EAAI,EAAC,MAAAJ,OAAKG,EAAIE,WAAU,GAAIC,KAAK,SACnD,GACNR,KAAKS,KAAO,sBACZT,KAAKD,OAASA,CAClB,CAAC,cDNYW,EAAY,WACrB,SAAAA,EAAYC,IAAiBC,OAAAZ,KAAAU,GACzBV,KAAKW,gBAAkBA,EACvBX,KAAKa,QAAS,EACdb,KAAKc,WAAa,KAClBd,KAAKe,YAAc,IACvB,CAACC,cAAAN,EAAA,EAAAO,IAAA,cAAAC,MACD,WACI,IAAInB,EACJ,IAAKC,KAAKa,OAAQ,CACdb,KAAKa,QAAS,EACd,IAAQC,EAAed,KAAfc,WACR,GAAIA,EAEA,GADAd,KAAKc,WAAa,KACdK,MAAMC,QAAQN,GAAa,KACIO,EADJC,KAAAC,KACNT,GAAU,IAA/B,IAAAQ,EAAAE,MAAAH,EAAAC,EAAAG,KAAAC,MAAiBL,EAAAH,MACNS,OAAO3B,KACjB,OAAAK,GAAAiB,EAAAM,EAAAvB,EAAA,SAAAiB,EAAAO,GAAA,OAGDf,EAAWa,OAAO3B,MAG1B,IAAyB8B,EAAqB9B,KAAtCW,gBACR,MAAIoB,KAAWD,GACX,IACIA,GACJ,OACOF,GACH7B,EAAS6B,aAAahC,EAAsBgC,EAAE7B,OAAS,CAAC6B,EAC5D,CAEJ,IAAQb,EAAgBf,KAAhBe,YACR,GAAIA,EAAa,CACbf,KAAKe,YAAc,KAAK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C,mBChBe,SAAAK,IAEf,UADAjB,QAAA,MAAAA,QAAAC,WACAD,QAAAC,UAAAiB,KAAA,SACA,sBAAAC,MAAA,SACA,IACA,OAAAC,QAAAjL,UAAAkL,QAAApL,KAAA+J,QAAAC,UAAAmB,QAAA,mBACA,CACA,OACA,QACA,CACA,kCCVe,SAAAE,EAAAC,GACf,UAAA3C,OAAA,WAAA2C,EAAA3C,OAAAC,WAAA,MAAA0C,EAAA,qBAAA/N,MAAAgO,KAAAD,EACA,mCCFe,SAAAE,EAAAhD,EAAAiD,GACf,OAAAD,EAAArL,OAAAoK,eAAApK,OAAAoK,eAAAC,OAAA,SAAAhC,EAAAiD,GACA,OAAAjD,EAAAiC,UAAAgB,EACAjD,CACA,GACAA,EAAAiD,EACA,wFCFe,SAAAjN,EAAAe,GACf,OCJe,SAAAmM,EAAAnM,GACf,GAAAhC,MAAAC,QAAA+B,GAAA,SAAiCoM,EAAA7C,GAAgBvJ,EACjD,CDESmM,CAAiBnM,KAAA,EAASqM,EAAA9C,GAAevJ,KAAA,EAASsM,EAAA/C,GAA0BvJ,IELtE,SAAAuM,IACf,UAAA7C,UAAA,uIACA,CFG8F6C,EAC9F,mDGLe,SAAAC,EAAAvD,EAAAwD,GACf,GAAAxD,EACA,qBAAAA,EAAA,SAAoCyD,EAAAnD,GAAgBN,EAAAwD,GACpD,IAAAnO,EAAAsC,OAAAD,UAAAvD,SAAAqD,KAAAwI,GAAA0D,MAAA,MAEA,GADA,WAAArO,GAAA2K,EAAAnI,cAAAxC,EAAA2K,EAAAnI,YAAAxD,MACA,QAAAgB,GAAA,QAAAA,EAAA,OAAAN,MAAAgO,KAAA/C,GACA,iBAAA3K,GAAA,2CAAAsO,KAAAtO,GAAA,SAAsFoO,EAAAnD,GAAgBN,EAAAwD,EAAA,CACtG","names":["empty","UnsubscriptionError","createErrorClass","_super","errors","this","message","concat","length","map","err","i","toString","join","name","Subscription","initialTeardown","_classCallCheck","closed","_parentage","_finalizers","_createClass","key","value","Array","isArray","_step","_iterator","_createForOfIteratorHelper","s","n","done","remove","e","f","initialFinalizer","isFunction","_step2","_iterator2","finalizer","execFinalizer","_toConsumableArray","push","teardown","_a","_hasParent","_addParent","parent","includes","arrRemove","_removeParent","EMPTY","EMPTY_SUBSCRIPTION","isSubscription","add","unsubscribe","arr","item","index","indexOf","splice","createImpl","ctorFunc","instance","Error","call","stack","prototype","Object","create","constructor","MatLegacyProgressSpinner__svg_circle_2_Template","rf","ctx","i0","ctx_r1","_r0","_spinnerAnimationLabel","_getStrokeDashOffset","_getStrokeCircumference","_getCircleStrokeWidth","_getCircleTransformOrigin","_getCircleRadius","MatLegacyProgressSpinner__svg_circle_3_Template","ctx_r2","MatLegacyProgressSpinner","_MatProgressSpinnerBa","_inherits","_createSuper","elementRef","_platform","_document","animationMode","defaults","changeDetectorRef","viewportRuler","ngZone","_nonce","_this","_diameter","_value","_resizeSubscription","mode","trackedDiameters","_diameters","_getSpinnerAnimationLabel","has","head","set","Set","_noopAnimations","_forceAnimations","nativeElement","nodeName","toLowerCase","color","defaultColor","diameter","strokeWidth","isBrowser","SAFARI","change","subscribe","run","markForCheck","get","size","coerceNumberProperty","_styleRoot","_attachStyleNode","_strokeWidth","newValue","Math","max","min","element","_elementRef","_getShadowRoot","classList","viewBox","PI","svg","_svg$currentScale","scale","currentScale","styleRoot","currentDiameter","diameters","diametersForElement","styleTag","createElement","nonce","setAttribute","textContent","_getAnimationText","appendChild","strokeCircumference","replace","mixinColor","_class","WeakMap","ɵfac","t","i1","DOCUMENT","ANIMATION_MODULE_TYPE","MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS","i2","CSP_NONCE","ɵcmp","type","selectors","hostAttrs","hostVars","hostBindings","inputs","exportAs","features","decls","vars","consts","template","_getViewBox","dependencies","i3","styles","encapsulation","changeDetection","MatLegacyProgressSpinnerModule","ɵmod","ɵinj","imports","MatCommonModule","CommonModule","MatLegacySpinner","_arrayLikeToArray","len","arr2","_assertThisInitialized","self","ReferenceError","o","allowArrayLike","it","Symbol","iterator","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","_e","TypeError","normalCompletion","didErr","step","next","_e2","return","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","result","Super","getPrototypeOf","NewTarget","Reflect","construct","arguments","apply","_possibleConstructorReturn","esm_typeof","assertThisInitialized","_getPrototypeOf","setPrototypeOf","bind","__proto__","subClass","superClass","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_iterableToArray","iter","from","_setPrototypeOf","p","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","slice","test"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/Subscription.js","./node_modules/rxjs/dist/esm/internal/util/UnsubscriptionError.js","./node_modules/rxjs/dist/esm/internal/util/arrRemove.js","./node_modules/rxjs/dist/esm/internal/util/createErrorClass.js","./node_modules/rxjs/dist/esm/internal/util/isFunction.js","./node_modules/@angular/material/fesm2022/legacy-progress-spinner.mjs","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { isFunction } from './util/isFunction';\nimport { UnsubscriptionError } from './util/UnsubscriptionError';\nimport { arrRemove } from './util/arrRemove';\nexport class Subscription {\n constructor(initialTeardown) {\n this.initialTeardown = initialTeardown;\n this.closed = false;\n this._parentage = null;\n this._finalizers = null;\n }\n unsubscribe() {\n let errors;\n if (!this.closed) {\n this.closed = true;\n const { _parentage } = this;\n if (_parentage) {\n this._parentage = null;\n if (Array.isArray(_parentage)) {\n for (const parent of _parentage) {\n parent.remove(this);\n }\n }\n else {\n _parentage.remove(this);\n }\n }\n const { initialTeardown: initialFinalizer } = this;\n if (isFunction(initialFinalizer)) {\n try {\n initialFinalizer();\n }\n catch (e) {\n errors = e instanceof UnsubscriptionError ? e.errors : [e];\n }\n }\n const { _finalizers } = this;\n if (_finalizers) {\n this._finalizers = null;\n for (const finalizer of _finalizers) {\n try {\n execFinalizer(finalizer);\n }\n catch (err) {\n errors = errors !== null && errors !== void 0 ? errors : [];\n if (err instanceof UnsubscriptionError) {\n errors = [...errors, ...err.errors];\n }\n else {\n errors.push(err);\n }\n }\n }\n }\n if (errors) {\n throw new UnsubscriptionError(errors);\n }\n }\n }\n add(teardown) {\n var _a;\n if (teardown && teardown !== this) {\n if (this.closed) {\n execFinalizer(teardown);\n }\n else {\n if (teardown instanceof Subscription) {\n if (teardown.closed || teardown._hasParent(this)) {\n return;\n }\n teardown._addParent(this);\n }\n (this._finalizers = (_a = this._finalizers) !== null && _a !== void 0 ? _a : []).push(teardown);\n }\n }\n }\n _hasParent(parent) {\n const { _parentage } = this;\n return _parentage === parent || (Array.isArray(_parentage) && _parentage.includes(parent));\n }\n _addParent(parent) {\n const { _parentage } = this;\n this._parentage = Array.isArray(_parentage) ? (_parentage.push(parent), _parentage) : _parentage ? [_parentage, parent] : parent;\n }\n _removeParent(parent) {\n const { _parentage } = this;\n if (_parentage === parent) {\n this._parentage = null;\n }\n else if (Array.isArray(_parentage)) {\n arrRemove(_parentage, parent);\n }\n }\n remove(teardown) {\n const { _finalizers } = this;\n _finalizers && arrRemove(_finalizers, teardown);\n if (teardown instanceof Subscription) {\n teardown._removeParent(this);\n }\n }\n}\nSubscription.EMPTY = (() => {\n const empty = new Subscription();\n empty.closed = true;\n return empty;\n})();\nexport const EMPTY_SUBSCRIPTION = Subscription.EMPTY;\nexport function isSubscription(value) {\n return (value instanceof Subscription ||\n (value && 'closed' in value && isFunction(value.remove) && isFunction(value.add) && isFunction(value.unsubscribe)));\n}\nfunction execFinalizer(finalizer) {\n if (isFunction(finalizer)) {\n finalizer();\n }\n else {\n finalizer.unsubscribe();\n }\n}\n","import { createErrorClass } from './createErrorClass';\nexport const UnsubscriptionError = createErrorClass((_super) => function UnsubscriptionErrorImpl(errors) {\n _super(this);\n this.message = errors\n ? `${errors.length} errors occurred during unsubscription:\n${errors.map((err, i) => `${i + 1}) ${err.toString()}`).join('\\n ')}`\n : '';\n this.name = 'UnsubscriptionError';\n this.errors = errors;\n});\n","export function arrRemove(arr, item) {\n if (arr) {\n const index = arr.indexOf(item);\n 0 <= index && arr.splice(index, 1);\n }\n}\n","export function createErrorClass(createImpl) {\n const _super = (instance) => {\n Error.call(instance);\n instance.stack = new Error().stack;\n };\n const ctorFunc = createImpl(_super);\n ctorFunc.prototype = Object.create(Error.prototype);\n ctorFunc.prototype.constructor = ctorFunc;\n return ctorFunc;\n}\n","export function isFunction(value) {\n return typeof value === 'function';\n}\n","import { coerceNumberProperty } from '@angular/cdk/coercion';\nimport * as i1 from '@angular/cdk/platform';\nimport { _getShadowRoot } from '@angular/cdk/platform';\nimport * as i2 from '@angular/cdk/scrolling';\nimport * as i3 from '@angular/common';\nimport { DOCUMENT, CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { CSP_NONCE, Component, ChangeDetectionStrategy, ViewEncapsulation, Optional, Inject, Input, NgModule } from '@angular/core';\nimport { mixinColor, MatCommonModule } from '@angular/material/core';\nimport { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';\nimport { MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS } from '@angular/material/progress-spinner';\nexport { MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS as MAT_LEGACY_PROGRESS_SPINNER_DEFAULT_OPTIONS, MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY as MAT_LEGACY_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY } from '@angular/material/progress-spinner';\nimport { Subscription } from 'rxjs';\n\n/**\n * Base reference size of the spinner.\n * @docs-private\n */\nconst BASE_SIZE = 100;\n/**\n * Base reference stroke width of the spinner.\n * @docs-private\n */\nconst BASE_STROKE_WIDTH = 10;\n// Boilerplate for applying mixins to MatLegacyProgressSpinner.\n/** @docs-private */\nconst _MatProgressSpinnerBase = mixinColor(class {\n constructor(_elementRef) {\n this._elementRef = _elementRef;\n }\n}, 'primary');\n// .0001 percentage difference is necessary in order to avoid unwanted animation frames\n// for example because the animation duration is 4 seconds, .1% accounts to 4ms\n// which are enough to see the flicker described in\n// https://github.com/angular/components/issues/8984\nconst INDETERMINATE_ANIMATION_TEMPLATE = `\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n`;\n/**\n * `<mat-progress-spinner>` component.\n * @deprecated Use `MatProgressSpinner` from `@angular/material/progress-spinner` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyProgressSpinner extends _MatProgressSpinnerBase {\n /**\n * Tracks diameters of existing instances to de-dupe generated styles (default d = 100).\n * We need to keep track of which elements the diameters were attached to, because for\n * elements in the Shadow DOM the style tags are attached to the shadow root, rather\n * than the document head.\n */\n static { this._diameters = new WeakMap(); }\n /** The diameter of the progress spinner (will set width and height of svg). */\n get diameter() {\n return this._diameter;\n }\n set diameter(size) {\n this._diameter = coerceNumberProperty(size);\n this._spinnerAnimationLabel = this._getSpinnerAnimationLabel();\n // If this is set before `ngOnInit`, the style root may not have been resolved yet.\n if (this._styleRoot) {\n this._attachStyleNode();\n }\n }\n /** Stroke width of the progress spinner. */\n get strokeWidth() {\n return this._strokeWidth || this.diameter / 10;\n }\n set strokeWidth(value) {\n this._strokeWidth = coerceNumberProperty(value);\n }\n /** Value of the progress circle. */\n get value() {\n return this.mode === 'determinate' ? this._value : 0;\n }\n set value(newValue) {\n this._value = Math.max(0, Math.min(100, coerceNumberProperty(newValue)));\n }\n constructor(elementRef, _platform, _document, animationMode, defaults, \n /**\n * @deprecated `changeDetectorRef`, `viewportRuler` and `ngZone`\n * parameters to become required.\n * @breaking-change 14.0.0\n */\n changeDetectorRef, viewportRuler, ngZone, _nonce) {\n super(elementRef);\n this._document = _document;\n this._nonce = _nonce;\n this._diameter = BASE_SIZE;\n this._value = 0;\n this._resizeSubscription = Subscription.EMPTY;\n /** Mode of the progress circle */\n this.mode = 'determinate';\n const trackedDiameters = MatLegacyProgressSpinner._diameters;\n this._spinnerAnimationLabel = this._getSpinnerAnimationLabel();\n // The base size is already inserted via the component's structural styles. We still\n // need to track it so we don't end up adding the same styles again.\n if (!trackedDiameters.has(_document.head)) {\n trackedDiameters.set(_document.head, new Set([BASE_SIZE]));\n }\n this._noopAnimations =\n animationMode === 'NoopAnimations' && !!defaults && !defaults._forceAnimations;\n if (elementRef.nativeElement.nodeName.toLowerCase() === 'mat-spinner') {\n this.mode = 'indeterminate';\n }\n if (defaults) {\n if (defaults.color) {\n this.color = this.defaultColor = defaults.color;\n }\n if (defaults.diameter) {\n this.diameter = defaults.diameter;\n }\n if (defaults.strokeWidth) {\n this.strokeWidth = defaults.strokeWidth;\n }\n }\n // Safari has an issue where the circle isn't positioned correctly when the page has a\n // different zoom level from the default. This handler triggers a recalculation of the\n // `transform-origin` when the page zoom level changes.\n // See `_getCircleTransformOrigin` for more info.\n // @breaking-change 14.0.0 Remove null checks for `_changeDetectorRef`,\n // `viewportRuler` and `ngZone`.\n if (_platform.isBrowser && _platform.SAFARI && viewportRuler && changeDetectorRef && ngZone) {\n this._resizeSubscription = viewportRuler.change(150).subscribe(() => {\n // When the window is resize while the spinner is in `indeterminate` mode, we\n // have to mark for check so the transform origin of the circle can be recomputed.\n if (this.mode === 'indeterminate') {\n ngZone.run(() => changeDetectorRef.markForCheck());\n }\n });\n }\n }\n ngOnInit() {\n const element = this._elementRef.nativeElement;\n // Note that we need to look up the root node in ngOnInit, rather than the constructor, because\n // Angular seems to create the element outside the shadow root and then moves it inside, if the\n // node is inside an `ngIf` and a ShadowDom-encapsulated component.\n this._styleRoot = _getShadowRoot(element) || this._document.head;\n this._attachStyleNode();\n element.classList.add('mat-progress-spinner-indeterminate-animation');\n }\n ngOnDestroy() {\n this._resizeSubscription.unsubscribe();\n }\n /** The radius of the spinner, adjusted for stroke width. */\n _getCircleRadius() {\n return (this.diameter - BASE_STROKE_WIDTH) / 2;\n }\n /** The view box of the spinner's svg element. */\n _getViewBox() {\n const viewBox = this._getCircleRadius() * 2 + this.strokeWidth;\n return `0 0 ${viewBox} ${viewBox}`;\n }\n /** The stroke circumference of the svg circle. */\n _getStrokeCircumference() {\n return 2 * Math.PI * this._getCircleRadius();\n }\n /** The dash offset of the svg circle. */\n _getStrokeDashOffset() {\n if (this.mode === 'determinate') {\n return (this._getStrokeCircumference() * (100 - this._value)) / 100;\n }\n return null;\n }\n /** Stroke width of the circle in percent. */\n _getCircleStrokeWidth() {\n return (this.strokeWidth / this.diameter) * 100;\n }\n /** Gets the `transform-origin` for the inner circle element. */\n _getCircleTransformOrigin(svg) {\n // Safari has an issue where the `transform-origin` doesn't work as expected when the page\n // has a different zoom level from the default. The problem appears to be that a zoom\n // is applied on the `svg` node itself. We can work around it by calculating the origin\n // based on the zoom level. On all other browsers the `currentScale` appears to always be 1.\n const scale = (svg.currentScale ?? 1) * 50;\n return `${scale}% ${scale}%`;\n }\n /** Dynamically generates a style tag containing the correct animation for this diameter. */\n _attachStyleNode() {\n const styleRoot = this._styleRoot;\n const currentDiameter = this._diameter;\n const diameters = MatLegacyProgressSpinner._diameters;\n let diametersForElement = diameters.get(styleRoot);\n if (!diametersForElement || !diametersForElement.has(currentDiameter)) {\n const styleTag = this._document.createElement('style');\n if (this._nonce) {\n styleTag.nonce = this._nonce;\n }\n styleTag.setAttribute('mat-spinner-animation', this._spinnerAnimationLabel);\n styleTag.textContent = this._getAnimationText();\n styleRoot.appendChild(styleTag);\n if (!diametersForElement) {\n diametersForElement = new Set();\n diameters.set(styleRoot, diametersForElement);\n }\n diametersForElement.add(currentDiameter);\n }\n }\n /** Generates animation styles adjusted for the spinner's diameter. */\n _getAnimationText() {\n const strokeCircumference = this._getStrokeCircumference();\n return (INDETERMINATE_ANIMATION_TEMPLATE\n // Animation should begin at 5% and end at 80%\n .replace(/START_VALUE/g, `${0.95 * strokeCircumference}`)\n .replace(/END_VALUE/g, `${0.2 * strokeCircumference}`)\n .replace(/DIAMETER/g, `${this._spinnerAnimationLabel}`));\n }\n /** Returns the circle diameter formatted for use with the animation-name CSS property. */\n _getSpinnerAnimationLabel() {\n // The string of a float point number will include a period ‘.’ character,\n // which is not valid for a CSS animation-name.\n return this.diameter.toString().replace('.', '_');\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyProgressSpinner, deps: [{ token: i0.ElementRef }, { token: i1.Platform }, { token: DOCUMENT, optional: true }, { token: ANIMATION_MODULE_TYPE, optional: true }, { token: MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS }, { token: i0.ChangeDetectorRef }, { token: i2.ViewportRuler }, { token: i0.NgZone }, { token: CSP_NONCE, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyProgressSpinner, selector: \"mat-progress-spinner, mat-spinner\", inputs: { color: \"color\", diameter: \"diameter\", strokeWidth: \"strokeWidth\", mode: \"mode\", value: \"value\" }, host: { attributes: { \"role\": \"progressbar\", \"tabindex\": \"-1\" }, properties: { \"class._mat-animation-noopable\": \"_noopAnimations\", \"style.width.px\": \"diameter\", \"style.height.px\": \"diameter\", \"attr.aria-valuemin\": \"mode === \\\"determinate\\\" ? 0 : null\", \"attr.aria-valuemax\": \"mode === \\\"determinate\\\" ? 100 : null\", \"attr.aria-valuenow\": \"mode === \\\"determinate\\\" ? value : null\", \"attr.mode\": \"mode\" }, classAttribute: \"mat-progress-spinner mat-spinner\" }, exportAs: [\"matProgressSpinner\"], usesInheritance: true, ngImport: i0, template: \"<!--\\n preserveAspectRatio of xMidYMid meet as the center of the viewport is the circle's\\n center. The center of the circle will remain at the center of the mat-progress-spinner\\n element containing the SVG.\\n-->\\n<!--\\n All children need to be hidden for screen readers in order to support ChromeVox.\\n More context in the issue: https://github.com/angular/components/issues/22165.\\n-->\\n<svg\\n [style.width.px]=\\\"diameter\\\"\\n [style.height.px]=\\\"diameter\\\"\\n [attr.viewBox]=\\\"_getViewBox()\\\"\\n preserveAspectRatio=\\\"xMidYMid meet\\\"\\n focusable=\\\"false\\\"\\n [ngSwitch]=\\\"mode === 'indeterminate'\\\"\\n aria-hidden=\\\"true\\\"\\n #svg>\\n\\n <!--\\n Technically we can reuse the same `circle` element, however Safari has an issue that breaks\\n the SVG rendering in determinate mode, after switching between indeterminate and determinate.\\n Using a different element avoids the issue. An alternative to this is adding `display: none`\\n for a split second and then removing it when switching between modes, but it's hard to know\\n for how long to hide the element and it can cause the UI to blink.\\n -->\\n <circle\\n *ngSwitchCase=\\\"true\\\"\\n cx=\\\"50%\\\"\\n cy=\\\"50%\\\"\\n [attr.r]=\\\"_getCircleRadius()\\\"\\n [style.animation-name]=\\\"'mat-progress-spinner-stroke-rotate-' + _spinnerAnimationLabel\\\"\\n [style.stroke-dashoffset.px]=\\\"_getStrokeDashOffset()\\\"\\n [style.stroke-dasharray.px]=\\\"_getStrokeCircumference()\\\"\\n [style.stroke-width.%]=\\\"_getCircleStrokeWidth()\\\"\\n [style.transform-origin]=\\\"_getCircleTransformOrigin(svg)\\\"></circle>\\n\\n <circle\\n *ngSwitchCase=\\\"false\\\"\\n cx=\\\"50%\\\"\\n cy=\\\"50%\\\"\\n [attr.r]=\\\"_getCircleRadius()\\\"\\n [style.stroke-dashoffset.px]=\\\"_getStrokeDashOffset()\\\"\\n [style.stroke-dasharray.px]=\\\"_getStrokeCircumference()\\\"\\n [style.stroke-width.%]=\\\"_getCircleStrokeWidth()\\\"\\n [style.transform-origin]=\\\"_getCircleTransformOrigin(svg)\\\"></circle>\\n</svg>\\n\", styles: [\".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:rgba(0,0,0,0);transition:stroke-dashoffset 225ms linear}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}.mat-progress-spinner[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}.mat-progress-spinner._mat-animation-noopable svg,.mat-progress-spinner._mat-animation-noopable circle{animation:none;transition:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\"], dependencies: [{ kind: \"directive\", type: i3.NgSwitch, selector: \"[ngSwitch]\", inputs: [\"ngSwitch\"] }, { kind: \"directive\", type: i3.NgSwitchCase, selector: \"[ngSwitchCase]\", inputs: [\"ngSwitchCase\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyProgressSpinner, decorators: [{\n type: Component,\n args: [{ selector: 'mat-progress-spinner, mat-spinner', exportAs: 'matProgressSpinner', host: {\n 'role': 'progressbar',\n // `mat-spinner` is here for backward compatibility.\n 'class': 'mat-progress-spinner mat-spinner',\n // set tab index to -1 so screen readers will read the aria-label\n // Note: there is a known issue with JAWS that does not read progressbar aria labels on FireFox\n 'tabindex': '-1',\n '[class._mat-animation-noopable]': `_noopAnimations`,\n '[style.width.px]': 'diameter',\n '[style.height.px]': 'diameter',\n '[attr.aria-valuemin]': 'mode === \"determinate\" ? 0 : null',\n '[attr.aria-valuemax]': 'mode === \"determinate\" ? 100 : null',\n '[attr.aria-valuenow]': 'mode === \"determinate\" ? value : null',\n '[attr.mode]': 'mode',\n }, inputs: ['color'], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: \"<!--\\n preserveAspectRatio of xMidYMid meet as the center of the viewport is the circle's\\n center. The center of the circle will remain at the center of the mat-progress-spinner\\n element containing the SVG.\\n-->\\n<!--\\n All children need to be hidden for screen readers in order to support ChromeVox.\\n More context in the issue: https://github.com/angular/components/issues/22165.\\n-->\\n<svg\\n [style.width.px]=\\\"diameter\\\"\\n [style.height.px]=\\\"diameter\\\"\\n [attr.viewBox]=\\\"_getViewBox()\\\"\\n preserveAspectRatio=\\\"xMidYMid meet\\\"\\n focusable=\\\"false\\\"\\n [ngSwitch]=\\\"mode === 'indeterminate'\\\"\\n aria-hidden=\\\"true\\\"\\n #svg>\\n\\n <!--\\n Technically we can reuse the same `circle` element, however Safari has an issue that breaks\\n the SVG rendering in determinate mode, after switching between indeterminate and determinate.\\n Using a different element avoids the issue. An alternative to this is adding `display: none`\\n for a split second and then removing it when switching between modes, but it's hard to know\\n for how long to hide the element and it can cause the UI to blink.\\n -->\\n <circle\\n *ngSwitchCase=\\\"true\\\"\\n cx=\\\"50%\\\"\\n cy=\\\"50%\\\"\\n [attr.r]=\\\"_getCircleRadius()\\\"\\n [style.animation-name]=\\\"'mat-progress-spinner-stroke-rotate-' + _spinnerAnimationLabel\\\"\\n [style.stroke-dashoffset.px]=\\\"_getStrokeDashOffset()\\\"\\n [style.stroke-dasharray.px]=\\\"_getStrokeCircumference()\\\"\\n [style.stroke-width.%]=\\\"_getCircleStrokeWidth()\\\"\\n [style.transform-origin]=\\\"_getCircleTransformOrigin(svg)\\\"></circle>\\n\\n <circle\\n *ngSwitchCase=\\\"false\\\"\\n cx=\\\"50%\\\"\\n cy=\\\"50%\\\"\\n [attr.r]=\\\"_getCircleRadius()\\\"\\n [style.stroke-dashoffset.px]=\\\"_getStrokeDashOffset()\\\"\\n [style.stroke-dasharray.px]=\\\"_getStrokeCircumference()\\\"\\n [style.stroke-width.%]=\\\"_getCircleStrokeWidth()\\\"\\n [style.transform-origin]=\\\"_getCircleTransformOrigin(svg)\\\"></circle>\\n</svg>\\n\", styles: [\".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:rgba(0,0,0,0);transition:stroke-dashoffset 225ms linear}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}.mat-progress-spinner[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}.mat-progress-spinner._mat-animation-noopable svg,.mat-progress-spinner._mat-animation-noopable circle{animation:none;transition:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.Platform }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS]\n }] }, { type: i0.ChangeDetectorRef }, { type: i2.ViewportRuler }, { type: i0.NgZone }, { type: undefined, decorators: [{\n type: Inject,\n args: [CSP_NONCE]\n }, {\n type: Optional\n }] }]; }, propDecorators: { diameter: [{\n type: Input\n }], strokeWidth: [{\n type: Input\n }], mode: [{\n type: Input\n }], value: [{\n type: Input\n }] } });\n\n/**\n * @deprecated Use `MatProgressSpinnerModule` from `@angular/material/progress-spinner` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyProgressSpinnerModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyProgressSpinnerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyProgressSpinnerModule, declarations: [MatLegacyProgressSpinner], imports: [MatCommonModule, CommonModule], exports: [MatLegacyProgressSpinner, MatCommonModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyProgressSpinnerModule, imports: [MatCommonModule, CommonModule, MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyProgressSpinnerModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [MatCommonModule, CommonModule],\n exports: [MatLegacyProgressSpinner, MatCommonModule],\n declarations: [MatLegacyProgressSpinner],\n }]\n }] });\n\n/**\n * @deprecated Import Progress Spinner instead. Note that the\n * `mat-spinner` selector isn't deprecated.\n * @breaking-change 8.0.0\n */\n// tslint:disable-next-line:variable-name\nconst MatLegacySpinner = MatLegacyProgressSpinner;\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MatLegacyProgressSpinner, MatLegacyProgressSpinnerModule, MatLegacySpinner };\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]} \ No newline at end of file diff --git a/8746.3969f1073f5b9dd8.js b/8746.3969f1073f5b9dd8.js new file mode 100644 index 0000000..6eb3629 --- /dev/null +++ b/8746.3969f1073f5b9dd8.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[8746,5106,5603,9880,1551],{50253:(w,y,i)=>{i.d(y,{x:()=>C});var m=i(95106),f=i(78069),a=i(48047),_=i(4089),r=i(20265),u=i(24582),c=i(28694),b=i(90833),O=i(17714),s=(0,i(27543).d)(function(L){return function(){L(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),D=i(39663),P=i(12309),C=function(){var L=function(k){(0,u.Z)(R,k);var Z=(0,c.Z)(R);function R(){var d;return(0,f.Z)(this,R),(d=Z.call(this)).closed=!1,d.currentObservers=null,d.observers=[],d.isStopped=!1,d.hasError=!1,d.thrownError=null,d}return(0,a.Z)(R,[{key:"lift",value:function(l){var v=new A(this,this);return v.operator=l,v}},{key:"_throwIfClosed",value:function(){if(this.closed)throw new s}},{key:"next",value:function(l){var v=this;(0,P.x)(function(){if(v._throwIfClosed(),!v.isStopped){v.currentObservers||(v.currentObservers=Array.from(v.observers));var S,E=(0,m.Z)(v.currentObservers);try{for(E.s();!(S=E.n()).done;)S.value.next(l)}catch(U){E.e(U)}finally{E.f()}}})}},{key:"error",value:function(l){var v=this;(0,P.x)(function(){if(v._throwIfClosed(),!v.isStopped){v.hasError=v.isStopped=!0,v.thrownError=l;for(var E=v.observers;E.length;)E.shift().error(l)}})}},{key:"complete",value:function(){var l=this;(0,P.x)(function(){if(l._throwIfClosed(),!l.isStopped){l.isStopped=!0;for(var v=l.observers;v.length;)v.shift().complete()}})}},{key:"unsubscribe",value:function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}},{key:"observed",get:function(){var l;return(null===(l=this.observers)||void 0===l?void 0:l.length)>0}},{key:"_trySubscribe",value:function(l){return this._throwIfClosed(),(0,_.Z)((0,r.Z)(R.prototype),"_trySubscribe",this).call(this,l)}},{key:"_subscribe",value:function(l){return this._throwIfClosed(),this._checkFinalizedStatuses(l),this._innerSubscribe(l)}},{key:"_innerSubscribe",value:function(l){var v=this,j=this.observers;return this.hasError||this.isStopped?O.Lc:(this.currentObservers=null,j.push(l),new O.w0(function(){v.currentObservers=null,(0,D.P)(j,l)}))}},{key:"_checkFinalizedStatuses",value:function(l){var S=this.isStopped;this.hasError?l.error(this.thrownError):S&&l.complete()}},{key:"asObservable",value:function(){var l=new b.y;return l.source=this,l}}]),R}(b.y);return L.create=function(k,Z){return new A(k,Z)},L}(),A=function(L){(0,u.Z)(Z,L);var k=(0,c.Z)(Z);function Z(R,d){var l;return(0,f.Z)(this,Z),(l=k.call(this)).destination=R,l.source=d,l}return(0,a.Z)(Z,[{key:"next",value:function(d){var l,v;null===(v=null===(l=this.destination)||void 0===l?void 0:l.next)||void 0===v||v.call(l,d)}},{key:"error",value:function(d){var l,v;null===(v=null===(l=this.destination)||void 0===l?void 0:l.error)||void 0===v||v.call(l,d)}},{key:"complete",value:function(){var d,l;null===(l=null===(d=this.destination)||void 0===d?void 0:d.complete)||void 0===l||l.call(d)}},{key:"_subscribe",value:function(d){var l,v;return null!==(v=null===(l=this.source)||void 0===l?void 0:l.subscribe(d))&&void 0!==v?v:O.Lc}}]),Z}(C)},20591:(w,y,i)=>{i.d(y,{E:()=>f});var f=new(i(90833).y)(function(r){return r.complete()})},93945:(w,y,i)=>{i.d(y,{Q:()=>x,x:()=>O});var m=i(78069),f=i(48047),a=i(35488),_=i(24582),r=i(28694),u=i(4089),c=i(20265);function O(s,D,P,C,A){return new x(s,D,P,C,A)}var x=function(s){(0,_.Z)(P,s);var D=(0,r.Z)(P);function P(C,A,L,k,Z,R){var d,l,v,E;return(0,m.Z)(this,P),(E=D.call(this,C)).onFinalize=Z,E.shouldUnsubscribe=R,E._next=A?function(S){try{A(S)}catch(j){C.error(j)}}:(0,u.Z)((d=(0,a.Z)(E),(0,c.Z)(P.prototype)),"_next",d),E._error=k?function(S){try{k(S)}catch(j){C.error(j)}finally{this.unsubscribe()}}:(0,u.Z)((l=(0,a.Z)(E),(0,c.Z)(P.prototype)),"_error",l),E._complete=L?function(){try{L()}catch(S){C.error(S)}finally{this.unsubscribe()}}:(0,u.Z)((v=(0,a.Z)(E),(0,c.Z)(P.prototype)),"_complete",v),E}return(0,f.Z)(P,[{key:"unsubscribe",value:function(){var A;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var L=this.closed;(0,u.Z)((0,c.Z)(P.prototype),"unsubscribe",this).call(this),!L&&(null===(A=this.onFinalize)||void 0===A||A.call(this))}}}]),P}(i(5463).Lv)},59295:(w,y,i)=>{i.d(y,{q:()=>_});var m=i(20591),f=i(41944),a=i(93945);function _(r){return r<=0?function(){return m.E}:(0,f.e)(function(u,c){var b=0;u.subscribe((0,a.x)(c,function(O){++b<=r&&(c.next(O),r<=b&&c.complete())}))})}},68951:(w,y,i)=>{i.d(y,{R:()=>r});var m=i(41944),f=i(93945),a=i(54987),_=i(99635);function r(u){return(0,m.e)(function(c,b){(0,a.Xf)(u).subscribe((0,f.x)(b,function(){return b.complete()},_.Z)),!b.closed&&c.subscribe(b)})}},41944:(w,y,i)=>{i.d(y,{A:()=>f,e:()=>a});var m=i(92971);function f(_){return(0,m.m)(_?.lift)}function a(_){return function(r){if(f(r))return r.lift(function(u){try{return _(u,this)}catch(c){this.error(c)}});throw new TypeError("Unable to lift unknown Observable type")}}},52423:(w,y,i)=>{i.r(y),i.d(y,{MAT_TOOLTIP_DEFAULT_OPTIONS:()=>X,MAT_TOOLTIP_DEFAULT_OPTIONS_FACTORY:()=>V,MAT_TOOLTIP_SCROLL_STRATEGY:()=>U,MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY:()=>z,MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>H,MatTooltip:()=>se,MatTooltipModule:()=>le,SCROLL_THROTTLE_MS:()=>S,TOOLTIP_PANEL_CLASS:()=>ee,TooltipComponent:()=>q,_MatTooltipBase:()=>$,_TooltipComponentBase:()=>J,getMatTooltipInvalidPositionError:()=>j,matTooltipAnimations:()=>ae});var m=i(24582),f=i(28694),a=i(35603),_=i(32090),r=i(78069),u=i(48047),c=i(68951),b=i(59295),O=i(35333),x=i(52069),s=i(56718),D=i(94055),P=i(23675),C=i(33401),A=i(908),L=i(43068),k=i(43662),Z=i(18142),R=i(50253),d=i(72223),l=i(93168),v=i(6606),E=["tooltip"],S=20;function j(g){return Error('Tooltip position "'.concat(g,'" is invalid.'))}var U=new s.InjectionToken("mat-tooltip-scroll-strategy");function z(g){return function(){return g.scrollStrategies.reposition({scrollThrottle:S})}}var H={provide:U,deps:[k.Overlay],useFactory:z};function V(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var X=new s.InjectionToken("mat-tooltip-default-options",{providedIn:"root",factory:V}),ee="mat-mdc-tooltip-panel",G="tooltip-panel",Q=(0,P.normalizePassiveListenerOptions)({passive:!0}),$=function(){var g=function(){function I(n,e,t,o,h,p,T,M,Y,N,B,F){var W=this;(0,r.Z)(this,I),this._overlay=n,this._elementRef=e,this._scrollDispatcher=t,this._viewContainerRef=o,this._ngZone=h,this._platform=p,this._ariaDescriber=T,this._focusMonitor=M,this._dir=N,this._defaultOptions=B,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new R.x,this._scrollStrategy=Y,this._document=F,B&&(this._showDelay=B.showDelay,this._hideDelay=B.hideDelay,B.position&&(this.position=B.position),B.positionAtOrigin&&(this.positionAtOrigin=B.positionAtOrigin),B.touchGestures&&(this.touchGestures=B.touchGestures)),N.change.pipe((0,c.R)(this._destroyed)).subscribe(function(){W._overlayRef&&W._updatePosition(W._overlayRef)})}return(0,u.Z)(I,[{key:"position",get:function(){return this._position},set:function(e){var t;e!==this._position&&(this._position=e,this._overlayRef)&&(this._updatePosition(this._overlayRef),null===(t=this._tooltipInstance)||void 0===t||t.show(0),this._overlayRef.updatePosition())}},{key:"positionAtOrigin",get:function(){return this._positionAtOrigin},set:function(e){this._positionAtOrigin=(0,O.coerceBooleanProperty)(e),this._detach(),this._overlayRef=null}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=(0,O.coerceBooleanProperty)(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},{key:"showDelay",get:function(){return this._showDelay},set:function(e){this._showDelay=(0,O.coerceNumberProperty)(e)}},{key:"hideDelay",get:function(){return this._hideDelay},set:function(e){this._hideDelay=(0,O.coerceNumberProperty)(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}},{key:"message",get:function(){return this._message},set:function(e){var t=this;this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(function(){Promise.resolve().then(function(){t._ariaDescriber.describe(t._elementRef.nativeElement,t.message,"tooltip")})}))}},{key:"tooltipClass",get:function(){return this._tooltipClass},set:function(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}},{key:"ngAfterViewInit",value:function(){var e=this;this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,c.R)(this._destroyed)).subscribe(function(t){t?"keyboard"===t&&e._ngZone.run(function(){return e.show()}):e._ngZone.run(function(){return e.hide(0)})})}},{key:"ngOnDestroy",value:function(){var e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(function(t){var o=(0,_.Z)(t,2);e.removeEventListener(o[0],o[1],Q)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}},{key:"show",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.showDelay,o=arguments.length>1?arguments[1]:void 0;if(this.disabled||!this.message||this._isTooltipVisible()){var h;null===(h=this._tooltipInstance)||void 0===h||h._cancelPendingAnimations()}else{var p=this._createOverlay(o);this._detach(),this._portal=this._portal||new Z.ComponentPortal(this._tooltipComponent,this._viewContainerRef);var T=this._tooltipInstance=p.attach(this._portal).instance;T._triggerElement=this._elementRef.nativeElement,T._mouseLeaveHideDelay=this._hideDelay,T.afterHidden().pipe((0,c.R)(this._destroyed)).subscribe(function(){return e._detach()}),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),T.show(t)}}},{key:"hide",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.hideDelay,t=this._tooltipInstance;t&&(t.isVisible()?t.hide(e):(t._cancelPendingAnimations(),this._detach()))}},{key:"toggle",value:function(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}},{key:"_isTooltipVisible",value:function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}},{key:"_createOverlay",value:function(e){var o,t=this;if(this._overlayRef){var h=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&h._origin instanceof s.ElementRef)return this._overlayRef;this._detach()}var p=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),T=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&e||this._elementRef).withTransformOriginOn(".".concat(this._cssClassPrefix,"-tooltip")).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(p);return T.positionChanges.pipe((0,c.R)(this._destroyed)).subscribe(function(M){t._updateCurrentPositionClass(M.connectionPair),t._tooltipInstance&&M.scrollableViewProperties.isOverlayClipped&&t._tooltipInstance.isVisible()&&t._ngZone.run(function(){return t.hide(0)})}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:T,panelClass:"".concat(this._cssClassPrefix,"-").concat(G),scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,c.R)(this._destroyed)).subscribe(function(){return t._detach()}),this._overlayRef.outsidePointerEvents().pipe((0,c.R)(this._destroyed)).subscribe(function(){var M;return null===(M=t._tooltipInstance)||void 0===M?void 0:M._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe((0,c.R)(this._destroyed)).subscribe(function(M){t._isTooltipVisible()&&M.keyCode===x.ESCAPE&&!(0,x.hasModifierKey)(M)&&(M.preventDefault(),M.stopPropagation(),t._ngZone.run(function(){return t.hide(0)}))}),null!==(o=this._defaultOptions)&&void 0!==o&&o.disableTooltipInteractivity&&this._overlayRef.addPanelClass("".concat(this._cssClassPrefix,"-tooltip-panel-non-interactive")),this._overlayRef}},{key:"_detach",value:function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}},{key:"_updatePosition",value:function(e){var t=e.getConfig().positionStrategy,o=this._getOrigin(),h=this._getOverlayPosition();t.withPositions([this._addOffset((0,a.Z)((0,a.Z)({},o.main),h.main)),this._addOffset((0,a.Z)((0,a.Z)({},o.fallback),h.fallback))])}},{key:"_addOffset",value:function(e){return e}},{key:"_getOrigin",value:function(){var o,e=!this._dir||"ltr"==this._dir.value,t=this.position;"above"==t||"below"==t?o={originX:"center",originY:"above"==t?"top":"bottom"}:"before"==t||"left"==t&&e||"right"==t&&!e?o={originX:"start",originY:"center"}:("after"==t||"right"==t&&e||"left"==t&&!e)&&(o={originX:"end",originY:"center"});var h=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:h.x,originY:h.y}}}},{key:"_getOverlayPosition",value:function(){var o,e=!this._dir||"ltr"==this._dir.value,t=this.position;"above"==t?o={overlayX:"center",overlayY:"bottom"}:"below"==t?o={overlayX:"center",overlayY:"top"}:"before"==t||"left"==t&&e||"right"==t&&!e?o={overlayX:"end",overlayY:"center"}:("after"==t||"right"==t&&e||"left"==t&&!e)&&(o={overlayX:"start",overlayY:"center"});var h=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:h.x,overlayY:h.y}}}},{key:"_updateTooltipMessage",value:function(){var e=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,b.q)(1),(0,c.R)(this._destroyed)).subscribe(function(){e._tooltipInstance&&e._overlayRef.updatePosition()}))}},{key:"_setTooltipClass",value:function(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}},{key:"_invertPosition",value:function(e,t){return"above"===this.position||"below"===this.position?"top"===t?t="bottom":"bottom"===t&&(t="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:t}}},{key:"_updateCurrentPositionClass",value:function(e){var p,t=e.overlayY,o=e.originX;if((p="center"===t?this._dir&&"rtl"===this._dir.value?"end"===o?"left":"right":"start"===o?"left":"right":"bottom"===t&&"top"===e.originY?"above":"below")!==this._currentPosition){var T=this._overlayRef;if(T){var M="".concat(this._cssClassPrefix,"-").concat(G,"-");T.removePanelClass(M+this._currentPosition),T.addPanelClass(M+p)}this._currentPosition=p}}},{key:"_setupPointerEnterEventsIfNeeded",value:function(){var e=this;this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",function(t){e._setupPointerExitEventsIfNeeded();var o=void 0;void 0!==t.x&&void 0!==t.y&&(o=t),e.show(void 0,o)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",function(t){var o,h=null===(o=t.targetTouches)||void 0===o?void 0:o[0],p=h?{x:h.clientX,y:h.clientY}:void 0;e._setupPointerExitEventsIfNeeded(),clearTimeout(e._touchstartTimeout),e._touchstartTimeout=setTimeout(function(){return e.show(void 0,p)},500)}])),this._addListeners(this._passiveListeners))}},{key:"_setupPointerExitEventsIfNeeded",value:function(){var t,e=this;if(!this._pointerExitEventsInitialized){this._pointerExitEventsInitialized=!0;var o=[];if(this._platformSupportsMouseEvents())o.push(["mouseleave",function(p){var T,M=p.relatedTarget;(!M||null===(T=e._overlayRef)||void 0===T||!T.overlayElement.contains(M))&&e.hide()}],["wheel",function(p){return e._wheelListener(p)}]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();var h=function(){clearTimeout(e._touchstartTimeout),e.hide(e._defaultOptions.touchendHideDelay)};o.push(["touchend",h],["touchcancel",h])}this._addListeners(o),(t=this._passiveListeners).push.apply(t,o)}}},{key:"_addListeners",value:function(e){var t=this;e.forEach(function(o){var h=(0,_.Z)(o,2);t._elementRef.nativeElement.addEventListener(h[0],h[1],Q)})}},{key:"_platformSupportsMouseEvents",value:function(){return!this._platform.IOS&&!this._platform.ANDROID}},{key:"_wheelListener",value:function(e){if(this._isTooltipVisible()){var t=this._document.elementFromPoint(e.clientX,e.clientY),o=this._elementRef.nativeElement;t!==o&&!o.contains(t)&&this.hide()}}},{key:"_disableNativeGesturesIfNecessary",value:function(){var e=this.touchGestures;if("off"!==e){var t=this._elementRef.nativeElement,o=t.style;("on"===e||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName)&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),("on"===e||!t.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}}]),I}();return g.\u0275fac=function(n){s.\u0275\u0275invalidFactory()},g.\u0275dir=s.\u0275\u0275defineDirective({type:g,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),g}(),se=function(){var g=function(I){(0,m.Z)(e,I);var n=(0,f.Z)(e);function e(t,o,h,p,T,M,Y,N,B,F,W,_e){var K;return(0,r.Z)(this,e),(K=n.call(this,t,o,h,p,T,M,Y,N,B,F,W,_e))._tooltipComponent=q,K._cssClassPrefix="mat-mdc",K._viewportMargin=8,K}return(0,u.Z)(e,[{key:"_addOffset",value:function(o){var p=!this._dir||"ltr"==this._dir.value;return"top"===o.originY?o.offsetY=-8:"bottom"===o.originY?o.offsetY=8:"start"===o.originX?o.offsetX=p?-8:8:"end"===o.originX&&(o.offsetX=p?8:-8),o}}]),e}($);return g.\u0275fac=function(n){return new(n||g)(s.\u0275\u0275directiveInject(k.Overlay),s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(k.ScrollDispatcher),s.\u0275\u0275directiveInject(s.ViewContainerRef),s.\u0275\u0275directiveInject(s.NgZone),s.\u0275\u0275directiveInject(P.Platform),s.\u0275\u0275directiveInject(A.AriaDescriber),s.\u0275\u0275directiveInject(A.FocusMonitor),s.\u0275\u0275directiveInject(U),s.\u0275\u0275directiveInject(L.Directionality,8),s.\u0275\u0275directiveInject(X,8),s.\u0275\u0275directiveInject(D.DOCUMENT))},g.\u0275dir=s.\u0275\u0275defineDirective({type:g,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],exportAs:["matTooltip"],features:[s.\u0275\u0275InheritDefinitionFeature]}),g}(),J=function(){var g=function(){function I(n,e){(0,r.Z)(this,I),this._changeDetectorRef=n,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new R.x,this._animationsDisabled="NoopAnimations"===e}return(0,u.Z)(I,[{key:"show",value:function(e){var t=this;null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(function(){t._toggleVisibility(!0),t._showTimeoutId=void 0},e)}},{key:"hide",value:function(e){var t=this;null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(function(){t._toggleVisibility(!1),t._hideTimeoutId=void 0},e)}},{key:"afterHidden",value:function(){return this._onHide}},{key:"isVisible",value:function(){return this._isVisible}},{key:"ngOnDestroy",value:function(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}},{key:"_handleBodyInteraction",value:function(){this._closeOnInteraction&&this.hide(0)}},{key:"_markForCheck",value:function(){this._changeDetectorRef.markForCheck()}},{key:"_handleMouseLeave",value:function(e){var t=e.relatedTarget;(!t||!this._triggerElement.contains(t))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}},{key:"_onShow",value:function(){}},{key:"_handleAnimationEnd",value:function(e){var t=e.animationName;(t===this._showAnimation||t===this._hideAnimation)&&this._finalizeAnimation(t===this._showAnimation)}},{key:"_cancelPendingAnimations",value:function(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}},{key:"_finalizeAnimation",value:function(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}},{key:"_toggleVisibility",value:function(e){var t=this._tooltip.nativeElement,o=this._showAnimation,h=this._hideAnimation;if(t.classList.remove(e?h:o),t.classList.add(e?o:h),this._isVisible=e,e&&!this._animationsDisabled&&"function"==typeof getComputedStyle){var p=getComputedStyle(t);("0s"===p.getPropertyValue("animation-duration")||"none"===p.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(t.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}}]),I}();return g.\u0275fac=function(n){return new(n||g)(s.\u0275\u0275directiveInject(s.ChangeDetectorRef),s.\u0275\u0275directiveInject(C.ANIMATION_MODULE_TYPE,8))},g.\u0275dir=s.\u0275\u0275defineDirective({type:g}),g}(),q=function(){var g=function(I){(0,m.Z)(e,I);var n=(0,f.Z)(e);function e(t,o,h){var p;return(0,r.Z)(this,e),(p=n.call(this,t,h))._elementRef=o,p._isMultiline=!1,p._showAnimation="mat-mdc-tooltip-show",p._hideAnimation="mat-mdc-tooltip-hide",p}return(0,u.Z)(e,[{key:"_onShow",value:function(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}},{key:"_isTooltipMultiline",value:function(){var o=this._elementRef.nativeElement.getBoundingClientRect();return o.height>24&&o.width>=200}}]),e}(J);return g.\u0275fac=function(n){return new(n||g)(s.\u0275\u0275directiveInject(s.ChangeDetectorRef),s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(C.ANIMATION_MODULE_TYPE,8))},g.\u0275cmp=s.\u0275\u0275defineComponent({type:g,selectors:[["mat-tooltip-component"]],viewQuery:function(n,e){var t;1&n&&s.\u0275\u0275viewQuery(E,7),2&n&&s.\u0275\u0275queryRefresh(t=s.\u0275\u0275loadQuery())&&(e._tooltip=t.first)},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(n,e){1&n&&s.\u0275\u0275listener("mouseleave",function(o){return e._handleMouseLeave(o)}),2&n&&s.\u0275\u0275styleProp("zoom",e.isVisible()?1:null)},features:[s.\u0275\u0275InheritDefinitionFeature],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(n,e){1&n&&(s.\u0275\u0275elementStart(0,"div",0,1),s.\u0275\u0275listener("animationend",function(o){return e._handleAnimationEnd(o)}),s.\u0275\u0275elementStart(2,"div",2),s.\u0275\u0275text(3),s.\u0275\u0275elementEnd()()),2&n&&(s.\u0275\u0275classProp("mdc-tooltip--multiline",e._isMultiline),s.\u0275\u0275property("ngClass",e.tooltipClass),s.\u0275\u0275advance(3),s.\u0275\u0275textInterpolate(e.message))},dependencies:[D.NgClass],styles:['.mdc-tooltip__surface{word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - (2 * 8px));margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - (2 * 8px));align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color, #fff)}.mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color, #000)}.mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font, inherit);font-size:var(--mdc-plain-tooltip-supporting-text-size, inherit);font-weight:var(--mdc-plain-tooltip-supporting-text-weight, inherit);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, inherit)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0}),g}(),ae={tooltipState:(0,d.X$)("state",[(0,d.SB)("initial, void, hidden",(0,d.oB)({opacity:0,transform:"scale(0.8)"})),(0,d.SB)("visible",(0,d.oB)({transform:"scale(1)"})),(0,d.eR)("* => visible",(0,d.jt)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,d.eR)("* => hidden",(0,d.jt)("75ms cubic-bezier(0.4, 0, 1, 1)"))])},le=function(){var g=(0,u.Z)(function I(){(0,r.Z)(this,I)});return g.\u0275fac=function(n){return new(n||g)},g.\u0275mod=s.\u0275\u0275defineNgModule({type:g}),g.\u0275inj=s.\u0275\u0275defineInjector({providers:[H],imports:[A.A11yModule,D.CommonModule,k.OverlayModule,v.MatCommonModule,v.MatCommonModule,l.CdkScrollableModule]}),g}()},44841:(w,y,i)=>{function m(f,a){(null==a||a>f.length)&&(a=f.length);for(var _=0,r=new Array(a);_<a;_++)r[_]=f[_];return r}i.d(y,{Z:()=>m})},8091:(w,y,i)=>{function m(f){if(Array.isArray(f))return f}i.d(y,{Z:()=>m})},95106:(w,y,i)=>{i.d(y,{Z:()=>f});var m=i(44206);function f(a,_){var r=typeof Symbol<"u"&&a[Symbol.iterator]||a["@@iterator"];if(!r){if(Array.isArray(a)||(r=(0,m.Z)(a))||_&&a&&"number"==typeof a.length){r&&(a=r);var u=0,c=function(){};return{s:c,n:function(){return u>=a.length?{done:!0}:{done:!1,value:a[u++]}},e:function(D){throw D},f:c}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var x,b=!0,O=!1;return{s:function(){r=r.call(a)},n:function(){var D=r.next();return b=D.done,D},e:function(D){O=!0,x=D},f:function(){try{!b&&null!=r.return&&r.return()}finally{if(O)throw x}}}}},77797:(w,y,i)=>{i.d(y,{Z:()=>f});var m=i(51299);function f(a,_,r){return(_=(0,m.Z)(_))in a?Object.defineProperty(a,_,{value:r,enumerable:!0,configurable:!0,writable:!0}):a[_]=r,a}},4089:(w,y,i)=>{i.d(y,{Z:()=>a});var m=i(20265);function a(){return a=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(r,u,c){var b=function f(_,r){for(;!Object.prototype.hasOwnProperty.call(_,r)&&null!==(_=(0,m.Z)(_)););return _}(r,u);if(b){var O=Object.getOwnPropertyDescriptor(b,u);return O.get?O.get.call(arguments.length<3?r:c):O.value}},a.apply(this,arguments)}},4826:(w,y,i)=>{function m(f){if(typeof Symbol<"u"&&null!=f[Symbol.iterator]||null!=f["@@iterator"])return Array.from(f)}i.d(y,{Z:()=>m})},8217:(w,y,i)=>{function m(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}i.d(y,{Z:()=>m})},35603:(w,y,i)=>{i.d(y,{Z:()=>a});var m=i(77797);function f(_,r){var u=Object.keys(_);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(_);r&&(c=c.filter(function(b){return Object.getOwnPropertyDescriptor(_,b).enumerable})),u.push.apply(u,c)}return u}function a(_){for(var r=1;r<arguments.length;r++){var u=null!=arguments[r]?arguments[r]:{};r%2?f(Object(u),!0).forEach(function(c){(0,m.Z)(_,c,u[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(u)):f(Object(u)).forEach(function(c){Object.defineProperty(_,c,Object.getOwnPropertyDescriptor(u,c))})}return _}},32090:(w,y,i)=>{i.d(y,{Z:()=>r});var m=i(8091),a=i(44206),_=i(8217);function r(u,c){return(0,m.Z)(u)||function f(u,c){var b=null==u?null:typeof Symbol<"u"&&u[Symbol.iterator]||u["@@iterator"];if(null!=b){var O,x,s,D,P=[],C=!0,A=!1;try{if(s=(b=b.call(u)).next,0===c){if(Object(b)!==b)return;C=!1}else for(;!(C=(O=s.call(b)).done)&&(P.push(O.value),P.length!==c);C=!0);}catch(L){A=!0,x=L}finally{try{if(!C&&null!=b.return&&(D=b.return(),Object(D)!==D))return}finally{if(A)throw x}}return P}}(u,c)||(0,a.Z)(u,c)||(0,_.Z)()}},86170:(w,y,i)=>{i.d(y,{Z:()=>u});var m=i(44841),a=i(4826),_=i(44206);function u(c){return function f(c){if(Array.isArray(c))return(0,m.Z)(c)}(c)||(0,a.Z)(c)||(0,_.Z)(c)||function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(w,y,i)=>{i.d(y,{Z:()=>f});var m=i(44841);function f(a,_){if(a){if("string"==typeof a)return(0,m.Z)(a,_);var r=Object.prototype.toString.call(a).slice(8,-1);if("Object"===r&&a.constructor&&(r=a.constructor.name),"Map"===r||"Set"===r)return Array.from(a);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return(0,m.Z)(a,_)}}}}]); +//# sourceMappingURL=8746.3969f1073f5b9dd8.js.map \ No newline at end of file diff --git a/8746.3969f1073f5b9dd8.js.map b/8746.3969f1073f5b9dd8.js.map new file mode 100644 index 0000000..865da35 --- /d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AAgBN,EAAAiE,GACpD,IAAAnd,EAAAma,OAAAlZ,UAAAoc,SAAA3e,KAAAwa,GAAAoE,MAAA,MAEA,GADA,WAAAtd,GAAAkZ,EAAAqE,cAAAvd,EAAAkZ,EAAAqE,YAAArf,MACA,QAAA8B,GAAA,QAAAA,EAAA,OAAAN,MAAAC,KAAAuZ,GACA,iBAAAlZ,GAAA,2CAAAwd,KAAAxd,GAAA,SAAsFod,EAAA5D,GAAgBN,EAAAiE,EAAA,CACtG","names":["ObjectUnsubscribedError","createErrorClass","_super","this","name","message","Subject","_Observable","_inherits","_createSuper","_this","_classCallCheck","call","closed","currentObservers","observers","isStopped","hasError","thrownError","_createClass","key","value","operator","subject","AnonymousSubject","_this2","errorContext","_throwIfClosed","Array","from","_step","_iterator","_createForOfIteratorHelper","s","n","done","next","err","e","f","_this3","length","shift","error","_this4","complete","get","_a","subscriber","_get","_getPrototypeOf","prototype","_checkFinalizedStatuses","_innerSubscribe","_this5","EMPTY_SUBSCRIPTION","push","Subscription","arrRemove","observable","Observable","source","create","destination","_Subject","_super2","_this6","_b","subscribe","EMPTY","createOperatorSubscriber","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_next","_assertThisInitialized","_error","unsubscribe","_complete","Subscriber","take","count","operate","seen","takeUntil","notifier","innerFrom","noop","hasLift","isFunction","lift","init","liftedSource","TypeError","_c0","SCROLL_THROTTLE_MS","getMatTooltipInvalidPositionError","position","Error","concat","MAT_TOOLTIP_SCROLL_STRATEGY","InjectionToken","MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY","overlay","scrollStrategies","reposition","scrollThrottle","MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER","provide","deps","Overlay","useFactory","MAT_TOOLTIP_DEFAULT_OPTIONS_FACTORY","showDelay","hideDelay","touchendHideDelay","MAT_TOOLTIP_DEFAULT_OPTIONS","providedIn","factory","TOOLTIP_PANEL_CLASS","PANEL_CLASS","passiveListenerOptions","normalizePassiveListenerOptions","passive","_MatTooltipBase","_overlay","_elementRef","_scrollDispatcher","_viewContainerRef","_ngZone","_platform","_ariaDescriber","_focusMonitor","scrollStrategy","_dir","_defaultOptions","_document","_position","_positionAtOrigin","_disabled","_viewInitialized","_pointerExitEventsInitialized","_viewportMargin","_cssClassPrefix","touchGestures","_message","_passiveListeners","_destroyed","_scrollStrategy","_showDelay","_hideDelay","positionAtOrigin","change","pipe","_overlayRef","_updatePosition","set","_this$_tooltipInstanc","_tooltipInstance","show","updatePosition","coerceBooleanProperty","_detach","hide","_setupPointerEnterEventsIfNeeded","coerceNumberProperty","_mouseLeaveHideDelay","removeDescription","nativeElement","String","trim","_isTooltipVisible","_updateTooltipMessage","runOutsideAngular","Promise","resolve","then","describe","_tooltipClass","_setTooltipClass","monitor","origin","run","clearTimeout","_touchstartTimeout","dispose","forEach","_ref","_ref2","_slicedToArray","removeEventListener","stopMonitoring","delay","arguments","undefined","disabled","_this$_tooltipInstanc2","_cancelPendingAnimations","overlayRef","_createOverlay","_portal","ComponentPortal","_tooltipComponent","instance","attach","_triggerElement","afterHidden","isVisible","_this$_defaultOptions","existingStrategy","getConfig","positionStrategy","_origin","ElementRef","scrollableAncestors","getAncestorScrollContainers","strategy","flexibleConnectedTo","withTransformOriginOn","withFlexibleDimensions","withViewportMargin","withScrollableContainers","positionChanges","_updateCurrentPositionClass","connectionPair","scrollableViewProperties","isOverlayClipped","direction","panelClass","detachments","outsidePointerEvents","_this5$_tooltipInstan","_handleBodyInteraction","keydownEvents","event","keyCode","ESCAPE","hasModifierKey","preventDefault","stopPropagation","disableTooltipInteractivity","addPanelClass","hasAttached","detach","_getOrigin","_getOverlayPosition","withPositions","_addOffset","_objectSpread","main","fallback","originPosition","isLtr","originX","originY","_this$_invertPosition","_invertPosition","x","y","overlayPosition","overlayX","overlayY","_this$_invertPosition2","_markForCheck","onMicrotaskEmpty","tooltipClass","newPosition","_currentPosition","classPrefix","removePanelClass","_this7","_platformSupportsMouseEvents","_setupPointerExitEventsIfNeeded","point","_disableNativeGesturesIfNecessary","_event$targetTouches","touch","targetTouches","clientX","clientY","setTimeout","_addListeners","_this$_passiveListene","_this8","exitListeners","_this8$_overlayRef","newTarget","relatedTarget","overlayElement","contains","_wheelListener","touchendListener","apply","listeners","_this9","_ref3","_ref4","addEventListener","IOS","ANDROID","elementUnderPointer","elementFromPoint","element","gestures","style","nodeName","userSelect","msUserSelect","webkitUserSelect","MozUserSelect","draggable","webkitUserDrag","touchAction","webkitTapHighlightColor","ɵfac","t","i0","ɵdir","type","inputs","MatTooltip","_MatTooltipBase2","elementRef","scrollDispatcher","viewContainerRef","ngZone","platform","ariaDescriber","focusMonitor","dir","defaultOptions","_this10","TooltipComponent","offsetY","offsetX","i1","i2","i3","i4","DOCUMENT","selectors","hostAttrs","exportAs","features","_TooltipComponentBase","_changeDetectorRef","animationMode","_closeOnInteraction","_isVisible","_onHide","_animationsDisabled","_this11","_hideTimeoutId","_showTimeoutId","_toggleVisibility","_this12","markForCheck","_ref5","_finalizeAnimation","_ref6","animationName","_showAnimation","_hideAnimation","toVisible","tooltip","_tooltip","showClass","hideClass","classList","remove","add","getComputedStyle","styles","getPropertyValue","_onShow","ANIMATION_MODULE_TYPE","_TooltipComponentBase2","changeDetectorRef","_this13","_isMultiline","_isTooltipMultiline","rect","getBoundingClientRect","height","width","ɵcmp","viewQuery","rf","ctx","_t","first","hostVars","hostBindings","$event","_handleMouseLeave","decls","vars","consts","template","_handleAnimationEnd","dependencies","i5","encapsulation","changeDetection","matTooltipAnimations","tooltipState","trigger","state","opacity","transform","transition","animate","MatTooltipModule","ɵmod","ɵinj","providers","imports","A11yModule","CommonModule","OverlayModule","MatCommonModule","CdkScrollableModule","_arrayLikeToArray","arr","len","i","arr2","_arrayWithHoles","isArray","o","allowArrayLike","it","Symbol","iterator","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","_e","normalCompletion","didErr","step","_e2","return","_defineProperty","obj","_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__","Object","defineProperty","enumerable","configurable","writable","Reflect","bind","target","property","receiver","base","_superPropBase","object","hasOwnProperty","getPrototypeOf","desc","getOwnPropertyDescriptor","_iterableToArray","iter","_nonIterableRest","ownKeys","enumerableOnly","keys","getOwnPropertySymbols","symbols","filter","sym","_objectSpread2","_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__","getOwnPropertyDescriptors","defineProperties","arrayWithHoles","_iterableToArrayLimit","_i","_s","_x","_r","_arr","_n","_d","unsupportedIterableToArray","nonIterableRest","_toConsumableArray","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","toString","slice","constructor","test"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/util/ObjectUnsubscribedError.js","./node_modules/rxjs/dist/esm/internal/Subject.js","./node_modules/rxjs/dist/esm/internal/observable/empty.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/take.js","./node_modules/rxjs/dist/esm/internal/operators/takeUntil.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/@angular/material/fesm2022/tooltip.mjs","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/defineProperty.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","./node_modules/@babel/runtime/helpers/esm/objectSpread2.js","./node_modules/@babel/runtime/helpers/esm/slicedToArray.js","./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { createErrorClass } from './createErrorClass';\nexport const ObjectUnsubscribedError = createErrorClass((_super) => function ObjectUnsubscribedErrorImpl() {\n _super(this);\n this.name = 'ObjectUnsubscribedError';\n this.message = 'object unsubscribed';\n});\n","import { Observable } from './Observable';\nimport { Subscription, EMPTY_SUBSCRIPTION } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { arrRemove } from './util/arrRemove';\nimport { errorContext } from './util/errorContext';\nexport class Subject extends Observable {\n constructor() {\n super();\n this.closed = false;\n this.currentObservers = null;\n this.observers = [];\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n lift(operator) {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n }\n _throwIfClosed() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n }\n next(value) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n if (!this.currentObservers) {\n this.currentObservers = Array.from(this.observers);\n }\n for (const observer of this.currentObservers) {\n observer.next(value);\n }\n }\n });\n }\n error(err) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.hasError = this.isStopped = true;\n this.thrownError = err;\n const { observers } = this;\n while (observers.length) {\n observers.shift().error(err);\n }\n }\n });\n }\n complete() {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.isStopped = true;\n const { observers } = this;\n while (observers.length) {\n observers.shift().complete();\n }\n }\n });\n }\n unsubscribe() {\n this.isStopped = this.closed = true;\n this.observers = this.currentObservers = null;\n }\n get observed() {\n var _a;\n return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;\n }\n _trySubscribe(subscriber) {\n this._throwIfClosed();\n return super._trySubscribe(subscriber);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._checkFinalizedStatuses(subscriber);\n return this._innerSubscribe(subscriber);\n }\n _innerSubscribe(subscriber) {\n const { hasError, isStopped, observers } = this;\n if (hasError || isStopped) {\n return EMPTY_SUBSCRIPTION;\n }\n this.currentObservers = null;\n observers.push(subscriber);\n return new Subscription(() => {\n this.currentObservers = null;\n arrRemove(observers, subscriber);\n });\n }\n _checkFinalizedStatuses(subscriber) {\n const { hasError, thrownError, isStopped } = this;\n if (hasError) {\n subscriber.error(thrownError);\n }\n else if (isStopped) {\n subscriber.complete();\n }\n }\n asObservable() {\n const observable = new Observable();\n observable.source = this;\n return observable;\n }\n}\nSubject.create = (destination, source) => {\n return new AnonymousSubject(destination, source);\n};\nexport class AnonymousSubject extends Subject {\n constructor(destination, source) {\n super();\n this.destination = destination;\n this.source = source;\n }\n next(value) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);\n }\n error(err) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);\n }\n complete() {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);\n }\n _subscribe(subscriber) {\n var _a, _b;\n return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;\n }\n}\n","import { Observable } from '../Observable';\nexport const EMPTY = new Observable((subscriber) => subscriber.complete());\nexport function empty(scheduler) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n return new Observable((subscriber) => scheduler.schedule(() => subscriber.complete()));\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","import { EMPTY } from '../observable/empty';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function take(count) {\n return count <= 0\n ?\n () => EMPTY\n : operate((source, subscriber) => {\n let seen = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n if (++seen <= count) {\n subscriber.next(value);\n if (count <= seen) {\n subscriber.complete();\n }\n }\n }));\n });\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { innerFrom } from '../observable/innerFrom';\nimport { noop } from '../util/noop';\nexport function takeUntil(notifier) {\n return operate((source, subscriber) => {\n innerFrom(notifier).subscribe(createOperatorSubscriber(subscriber, () => subscriber.complete(), noop));\n !subscriber.closed && source.subscribe(subscriber);\n });\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","import { takeUntil, take } from 'rxjs/operators';\nimport { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';\nimport { ESCAPE, hasModifierKey } from '@angular/cdk/keycodes';\nimport * as i0 from '@angular/core';\nimport { InjectionToken, ElementRef, Directive, Inject, Input, Optional, Component, ViewEncapsulation, ChangeDetectionStrategy, ViewChild, NgModule } from '@angular/core';\nimport * as i5 from '@angular/common';\nimport { DOCUMENT, CommonModule } from '@angular/common';\nimport * as i2 from '@angular/cdk/platform';\nimport { normalizePassiveListenerOptions } from '@angular/cdk/platform';\nimport { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';\nimport * as i3 from '@angular/cdk/a11y';\nimport { A11yModule } from '@angular/cdk/a11y';\nimport * as i4 from '@angular/cdk/bidi';\nimport * as i1 from '@angular/cdk/overlay';\nimport { Overlay, OverlayModule } from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport { Subject } from 'rxjs';\nimport { trigger, state, style, transition, animate } from '@angular/animations';\nimport { CdkScrollableModule } from '@angular/cdk/scrolling';\nimport { MatCommonModule } from '@angular/material/core';\n\n/** Time in ms to throttle repositioning after scroll events. */\nconst SCROLL_THROTTLE_MS = 20;\n/**\n * Creates an error to be thrown if the user supplied an invalid tooltip position.\n * @docs-private\n */\nfunction getMatTooltipInvalidPositionError(position) {\n return Error(`Tooltip position \"${position}\" is invalid.`);\n}\n/** Injection token that determines the scroll handling while a tooltip is visible. */\nconst MAT_TOOLTIP_SCROLL_STRATEGY = new InjectionToken('mat-tooltip-scroll-strategy');\n/** @docs-private */\nfunction MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY(overlay) {\n return () => overlay.scrollStrategies.reposition({ scrollThrottle: SCROLL_THROTTLE_MS });\n}\n/** @docs-private */\nconst MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER = {\n provide: MAT_TOOLTIP_SCROLL_STRATEGY,\n deps: [Overlay],\n useFactory: MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY,\n};\n/** @docs-private */\nfunction MAT_TOOLTIP_DEFAULT_OPTIONS_FACTORY() {\n return {\n showDelay: 0,\n hideDelay: 0,\n touchendHideDelay: 1500,\n };\n}\n/** Injection token to be used to override the default options for `matTooltip`. */\nconst MAT_TOOLTIP_DEFAULT_OPTIONS = new InjectionToken('mat-tooltip-default-options', {\n providedIn: 'root',\n factory: MAT_TOOLTIP_DEFAULT_OPTIONS_FACTORY,\n});\n/**\n * CSS class that will be attached to the overlay panel.\n * @deprecated\n * @breaking-change 13.0.0 remove this variable\n */\nconst TOOLTIP_PANEL_CLASS = 'mat-mdc-tooltip-panel';\nconst PANEL_CLASS = 'tooltip-panel';\n/** Options used to bind passive event listeners. */\nconst passiveListenerOptions = normalizePassiveListenerOptions({ passive: true });\n/**\n * Time between the user putting the pointer on a tooltip\n * trigger and the long press event being fired.\n */\nconst LONGPRESS_DELAY = 500;\n// These constants were taken from MDC's `numbers` object. We can't import them from MDC,\n// because they have some top-level references to `window` which break during SSR.\nconst MIN_VIEWPORT_TOOLTIP_THRESHOLD = 8;\nconst UNBOUNDED_ANCHOR_GAP = 8;\nconst MIN_HEIGHT = 24;\nconst MAX_WIDTH = 200;\nclass _MatTooltipBase {\n /** Allows the user to define the position of the tooltip relative to the parent element */\n get position() {\n return this._position;\n }\n set position(value) {\n if (value !== this._position) {\n this._position = value;\n if (this._overlayRef) {\n this._updatePosition(this._overlayRef);\n this._tooltipInstance?.show(0);\n this._overlayRef.updatePosition();\n }\n }\n }\n /**\n * Whether tooltip should be relative to the click or touch origin\n * instead of outside the element bounding box.\n */\n get positionAtOrigin() {\n return this._positionAtOrigin;\n }\n set positionAtOrigin(value) {\n this._positionAtOrigin = coerceBooleanProperty(value);\n this._detach();\n this._overlayRef = null;\n }\n /** Disables the display of the tooltip. */\n get disabled() {\n return this._disabled;\n }\n set disabled(value) {\n this._disabled = coerceBooleanProperty(value);\n // If tooltip is disabled, hide immediately.\n if (this._disabled) {\n this.hide(0);\n }\n else {\n this._setupPointerEnterEventsIfNeeded();\n }\n }\n /** The default delay in ms before showing the tooltip after show is called */\n get showDelay() {\n return this._showDelay;\n }\n set showDelay(value) {\n this._showDelay = coerceNumberProperty(value);\n }\n /** The default delay in ms before hiding the tooltip after hide is called */\n get hideDelay() {\n return this._hideDelay;\n }\n set hideDelay(value) {\n this._hideDelay = coerceNumberProperty(value);\n if (this._tooltipInstance) {\n this._tooltipInstance._mouseLeaveHideDelay = this._hideDelay;\n }\n }\n /** The message to be displayed in the tooltip */\n get message() {\n return this._message;\n }\n set message(value) {\n this._ariaDescriber.removeDescription(this._elementRef.nativeElement, this._message, 'tooltip');\n // If the message is not a string (e.g. number), convert it to a string and trim it.\n // Must convert with `String(value)`, not `${value}`, otherwise Closure Compiler optimises\n // away the string-conversion: https://github.com/angular/components/issues/20684\n this._message = value != null ? String(value).trim() : '';\n if (!this._message && this._isTooltipVisible()) {\n this.hide(0);\n }\n else {\n this._setupPointerEnterEventsIfNeeded();\n this._updateTooltipMessage();\n this._ngZone.runOutsideAngular(() => {\n // The `AriaDescriber` has some functionality that avoids adding a description if it's the\n // same as the `aria-label` of an element, however we can't know whether the tooltip trigger\n // has a data-bound `aria-label` or when it'll be set for the first time. We can avoid the\n // issue by deferring the description by a tick so Angular has time to set the `aria-label`.\n Promise.resolve().then(() => {\n this._ariaDescriber.describe(this._elementRef.nativeElement, this.message, 'tooltip');\n });\n });\n }\n }\n /** Classes to be passed to the tooltip. Supports the same syntax as `ngClass`. */\n get tooltipClass() {\n return this._tooltipClass;\n }\n set tooltipClass(value) {\n this._tooltipClass = value;\n if (this._tooltipInstance) {\n this._setTooltipClass(this._tooltipClass);\n }\n }\n constructor(_overlay, _elementRef, _scrollDispatcher, _viewContainerRef, _ngZone, _platform, _ariaDescriber, _focusMonitor, scrollStrategy, _dir, _defaultOptions, _document) {\n this._overlay = _overlay;\n this._elementRef = _elementRef;\n this._scrollDispatcher = _scrollDispatcher;\n this._viewContainerRef = _viewContainerRef;\n this._ngZone = _ngZone;\n this._platform = _platform;\n this._ariaDescriber = _ariaDescriber;\n this._focusMonitor = _focusMonitor;\n this._dir = _dir;\n this._defaultOptions = _defaultOptions;\n this._position = 'below';\n this._positionAtOrigin = false;\n this._disabled = false;\n this._viewInitialized = false;\n this._pointerExitEventsInitialized = false;\n this._viewportMargin = 8;\n this._cssClassPrefix = 'mat';\n /**\n * How touch gestures should be handled by the tooltip. On touch devices the tooltip directive\n * uses a long press gesture to show and hide, however it can conflict with the native browser\n * gestures. To work around the conflict, Angular Material disables native gestures on the\n * trigger, but that might not be desirable on particular elements (e.g. inputs and draggable\n * elements). The different values for this option configure the touch event handling as follows:\n * - `auto` - Enables touch gestures for all elements, but tries to avoid conflicts with native\n * browser gestures on particular elements. In particular, it allows text selection on inputs\n * and textareas, and preserves the native browser dragging on elements marked as `draggable`.\n * - `on` - Enables touch gestures for all elements and disables native\n * browser gestures with no exceptions.\n * - `off` - Disables touch gestures. Note that this will prevent the tooltip from\n * showing on touch devices.\n */\n this.touchGestures = 'auto';\n this._message = '';\n /** Manually-bound passive event listeners. */\n this._passiveListeners = [];\n /** Emits when the component is destroyed. */\n this._destroyed = new Subject();\n this._scrollStrategy = scrollStrategy;\n this._document = _document;\n if (_defaultOptions) {\n this._showDelay = _defaultOptions.showDelay;\n this._hideDelay = _defaultOptions.hideDelay;\n if (_defaultOptions.position) {\n this.position = _defaultOptions.position;\n }\n if (_defaultOptions.positionAtOrigin) {\n this.positionAtOrigin = _defaultOptions.positionAtOrigin;\n }\n if (_defaultOptions.touchGestures) {\n this.touchGestures = _defaultOptions.touchGestures;\n }\n }\n _dir.change.pipe(takeUntil(this._destroyed)).subscribe(() => {\n if (this._overlayRef) {\n this._updatePosition(this._overlayRef);\n }\n });\n }\n ngAfterViewInit() {\n // This needs to happen after view init so the initial values for all inputs have been set.\n this._viewInitialized = true;\n this._setupPointerEnterEventsIfNeeded();\n this._focusMonitor\n .monitor(this._elementRef)\n .pipe(takeUntil(this._destroyed))\n .subscribe(origin => {\n // Note that the focus monitor runs outside the Angular zone.\n if (!origin) {\n this._ngZone.run(() => this.hide(0));\n }\n else if (origin === 'keyboard') {\n this._ngZone.run(() => this.show());\n }\n });\n }\n /**\n * Dispose the tooltip when destroyed.\n */\n ngOnDestroy() {\n const nativeElement = this._elementRef.nativeElement;\n clearTimeout(this._touchstartTimeout);\n if (this._overlayRef) {\n this._overlayRef.dispose();\n this._tooltipInstance = null;\n }\n // Clean up the event listeners set in the constructor\n this._passiveListeners.forEach(([event, listener]) => {\n nativeElement.removeEventListener(event, listener, passiveListenerOptions);\n });\n this._passiveListeners.length = 0;\n this._destroyed.next();\n this._destroyed.complete();\n this._ariaDescriber.removeDescription(nativeElement, this.message, 'tooltip');\n this._focusMonitor.stopMonitoring(nativeElement);\n }\n /** Shows the tooltip after the delay in ms, defaults to tooltip-delay-show or 0ms if no input */\n show(delay = this.showDelay, origin) {\n if (this.disabled || !this.message || this._isTooltipVisible()) {\n this._tooltipInstance?._cancelPendingAnimations();\n return;\n }\n const overlayRef = this._createOverlay(origin);\n this._detach();\n this._portal =\n this._portal || new ComponentPortal(this._tooltipComponent, this._viewContainerRef);\n const instance = (this._tooltipInstance = overlayRef.attach(this._portal).instance);\n instance._triggerElement = this._elementRef.nativeElement;\n instance._mouseLeaveHideDelay = this._hideDelay;\n instance\n .afterHidden()\n .pipe(takeUntil(this._destroyed))\n .subscribe(() => this._detach());\n this._setTooltipClass(this._tooltipClass);\n this._updateTooltipMessage();\n instance.show(delay);\n }\n /** Hides the tooltip after the delay in ms, defaults to tooltip-delay-hide or 0ms if no input */\n hide(delay = this.hideDelay) {\n const instance = this._tooltipInstance;\n if (instance) {\n if (instance.isVisible()) {\n instance.hide(delay);\n }\n else {\n instance._cancelPendingAnimations();\n this._detach();\n }\n }\n }\n /** Shows/hides the tooltip */\n toggle(origin) {\n this._isTooltipVisible() ? this.hide() : this.show(undefined, origin);\n }\n /** Returns true if the tooltip is currently visible to the user */\n _isTooltipVisible() {\n return !!this._tooltipInstance && this._tooltipInstance.isVisible();\n }\n /** Create the overlay config and position strategy */\n _createOverlay(origin) {\n if (this._overlayRef) {\n const existingStrategy = this._overlayRef.getConfig()\n .positionStrategy;\n if ((!this.positionAtOrigin || !origin) && existingStrategy._origin instanceof ElementRef) {\n return this._overlayRef;\n }\n this._detach();\n }\n const scrollableAncestors = this._scrollDispatcher.getAncestorScrollContainers(this._elementRef);\n // Create connected position strategy that listens for scroll events to reposition.\n const strategy = this._overlay\n .position()\n .flexibleConnectedTo(this.positionAtOrigin ? origin || this._elementRef : this._elementRef)\n .withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`)\n .withFlexibleDimensions(false)\n .withViewportMargin(this._viewportMargin)\n .withScrollableContainers(scrollableAncestors);\n strategy.positionChanges.pipe(takeUntil(this._destroyed)).subscribe(change => {\n this._updateCurrentPositionClass(change.connectionPair);\n if (this._tooltipInstance) {\n if (change.scrollableViewProperties.isOverlayClipped && this._tooltipInstance.isVisible()) {\n // After position changes occur and the overlay is clipped by\n // a parent scrollable then close the tooltip.\n this._ngZone.run(() => this.hide(0));\n }\n }\n });\n this._overlayRef = this._overlay.create({\n direction: this._dir,\n positionStrategy: strategy,\n panelClass: `${this._cssClassPrefix}-${PANEL_CLASS}`,\n scrollStrategy: this._scrollStrategy(),\n });\n this._updatePosition(this._overlayRef);\n this._overlayRef\n .detachments()\n .pipe(takeUntil(this._destroyed))\n .subscribe(() => this._detach());\n this._overlayRef\n .outsidePointerEvents()\n .pipe(takeUntil(this._destroyed))\n .subscribe(() => this._tooltipInstance?._handleBodyInteraction());\n this._overlayRef\n .keydownEvents()\n .pipe(takeUntil(this._destroyed))\n .subscribe(event => {\n if (this._isTooltipVisible() && event.keyCode === ESCAPE && !hasModifierKey(event)) {\n event.preventDefault();\n event.stopPropagation();\n this._ngZone.run(() => this.hide(0));\n }\n });\n if (this._defaultOptions?.disableTooltipInteractivity) {\n this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`);\n }\n return this._overlayRef;\n }\n /** Detaches the currently-attached tooltip. */\n _detach() {\n if (this._overlayRef && this._overlayRef.hasAttached()) {\n this._overlayRef.detach();\n }\n this._tooltipInstance = null;\n }\n /** Updates the position of the current tooltip. */\n _updatePosition(overlayRef) {\n const position = overlayRef.getConfig().positionStrategy;\n const origin = this._getOrigin();\n const overlay = this._getOverlayPosition();\n position.withPositions([\n this._addOffset({ ...origin.main, ...overlay.main }),\n this._addOffset({ ...origin.fallback, ...overlay.fallback }),\n ]);\n }\n /** Adds the configured offset to a position. Used as a hook for child classes. */\n _addOffset(position) {\n return position;\n }\n /**\n * Returns the origin position and a fallback position based on the user's position preference.\n * The fallback position is the inverse of the origin (e.g. `'below' -> 'above'`).\n */\n _getOrigin() {\n const isLtr = !this._dir || this._dir.value == 'ltr';\n const position = this.position;\n let originPosition;\n if (position == 'above' || position == 'below') {\n originPosition = { originX: 'center', originY: position == 'above' ? 'top' : 'bottom' };\n }\n else if (position == 'before' ||\n (position == 'left' && isLtr) ||\n (position == 'right' && !isLtr)) {\n originPosition = { originX: 'start', originY: 'center' };\n }\n else if (position == 'after' ||\n (position == 'right' && isLtr) ||\n (position == 'left' && !isLtr)) {\n originPosition = { originX: 'end', originY: 'center' };\n }\n else if (typeof ngDevMode === 'undefined' || ngDevMode) {\n throw getMatTooltipInvalidPositionError(position);\n }\n const { x, y } = this._invertPosition(originPosition.originX, originPosition.originY);\n return {\n main: originPosition,\n fallback: { originX: x, originY: y },\n };\n }\n /** Returns the overlay position and a fallback position based on the user's preference */\n _getOverlayPosition() {\n const isLtr = !this._dir || this._dir.value == 'ltr';\n const position = this.position;\n let overlayPosition;\n if (position == 'above') {\n overlayPosition = { overlayX: 'center', overlayY: 'bottom' };\n }\n else if (position == 'below') {\n overlayPosition = { overlayX: 'center', overlayY: 'top' };\n }\n else if (position == 'before' ||\n (position == 'left' && isLtr) ||\n (position == 'right' && !isLtr)) {\n overlayPosition = { overlayX: 'end', overlayY: 'center' };\n }\n else if (position == 'after' ||\n (position == 'right' && isLtr) ||\n (position == 'left' && !isLtr)) {\n overlayPosition = { overlayX: 'start', overlayY: 'center' };\n }\n else if (typeof ngDevMode === 'undefined' || ngDevMode) {\n throw getMatTooltipInvalidPositionError(position);\n }\n const { x, y } = this._invertPosition(overlayPosition.overlayX, overlayPosition.overlayY);\n return {\n main: overlayPosition,\n fallback: { overlayX: x, overlayY: y },\n };\n }\n /** Updates the tooltip message and repositions the overlay according to the new message length */\n _updateTooltipMessage() {\n // Must wait for the message to be painted to the tooltip so that the overlay can properly\n // calculate the correct positioning based on the size of the text.\n if (this._tooltipInstance) {\n this._tooltipInstance.message = this.message;\n this._tooltipInstance._markForCheck();\n this._ngZone.onMicrotaskEmpty.pipe(take(1), takeUntil(this._destroyed)).subscribe(() => {\n if (this._tooltipInstance) {\n this._overlayRef.updatePosition();\n }\n });\n }\n }\n /** Updates the tooltip class */\n _setTooltipClass(tooltipClass) {\n if (this._tooltipInstance) {\n this._tooltipInstance.tooltipClass = tooltipClass;\n this._tooltipInstance._markForCheck();\n }\n }\n /** Inverts an overlay position. */\n _invertPosition(x, y) {\n if (this.position === 'above' || this.position === 'below') {\n if (y === 'top') {\n y = 'bottom';\n }\n else if (y === 'bottom') {\n y = 'top';\n }\n }\n else {\n if (x === 'end') {\n x = 'start';\n }\n else if (x === 'start') {\n x = 'end';\n }\n }\n return { x, y };\n }\n /** Updates the class on the overlay panel based on the current position of the tooltip. */\n _updateCurrentPositionClass(connectionPair) {\n const { overlayY, originX, originY } = connectionPair;\n let newPosition;\n // If the overlay is in the middle along the Y axis,\n // it means that it's either before or after.\n if (overlayY === 'center') {\n // Note that since this information is used for styling, we want to\n // resolve `start` and `end` to their real values, otherwise consumers\n // would have to remember to do it themselves on each consumption.\n if (this._dir && this._dir.value === 'rtl') {\n newPosition = originX === 'end' ? 'left' : 'right';\n }\n else {\n newPosition = originX === 'start' ? 'left' : 'right';\n }\n }\n else {\n newPosition = overlayY === 'bottom' && originY === 'top' ? 'above' : 'below';\n }\n if (newPosition !== this._currentPosition) {\n const overlayRef = this._overlayRef;\n if (overlayRef) {\n const classPrefix = `${this._cssClassPrefix}-${PANEL_CLASS}-`;\n overlayRef.removePanelClass(classPrefix + this._currentPosition);\n overlayRef.addPanelClass(classPrefix + newPosition);\n }\n this._currentPosition = newPosition;\n }\n }\n /** Binds the pointer events to the tooltip trigger. */\n _setupPointerEnterEventsIfNeeded() {\n // Optimization: Defer hooking up events if there's no message or the tooltip is disabled.\n if (this._disabled ||\n !this.message ||\n !this._viewInitialized ||\n this._passiveListeners.length) {\n return;\n }\n // The mouse events shouldn't be bound on mobile devices, because they can prevent the\n // first tap from firing its click event or can cause the tooltip to open for clicks.\n if (this._platformSupportsMouseEvents()) {\n this._passiveListeners.push([\n 'mouseenter',\n event => {\n this._setupPointerExitEventsIfNeeded();\n let point = undefined;\n if (event.x !== undefined && event.y !== undefined) {\n point = event;\n }\n this.show(undefined, point);\n },\n ]);\n }\n else if (this.touchGestures !== 'off') {\n this._disableNativeGesturesIfNecessary();\n this._passiveListeners.push([\n 'touchstart',\n event => {\n const touch = event.targetTouches?.[0];\n const origin = touch ? { x: touch.clientX, y: touch.clientY } : undefined;\n // Note that it's important that we don't `preventDefault` here,\n // because it can prevent click events from firing on the element.\n this._setupPointerExitEventsIfNeeded();\n clearTimeout(this._touchstartTimeout);\n this._touchstartTimeout = setTimeout(() => this.show(undefined, origin), LONGPRESS_DELAY);\n },\n ]);\n }\n this._addListeners(this._passiveListeners);\n }\n _setupPointerExitEventsIfNeeded() {\n if (this._pointerExitEventsInitialized) {\n return;\n }\n this._pointerExitEventsInitialized = true;\n const exitListeners = [];\n if (this._platformSupportsMouseEvents()) {\n exitListeners.push([\n 'mouseleave',\n event => {\n const newTarget = event.relatedTarget;\n if (!newTarget || !this._overlayRef?.overlayElement.contains(newTarget)) {\n this.hide();\n }\n },\n ], ['wheel', event => this._wheelListener(event)]);\n }\n else if (this.touchGestures !== 'off') {\n this._disableNativeGesturesIfNecessary();\n const touchendListener = () => {\n clearTimeout(this._touchstartTimeout);\n this.hide(this._defaultOptions.touchendHideDelay);\n };\n exitListeners.push(['touchend', touchendListener], ['touchcancel', touchendListener]);\n }\n this._addListeners(exitListeners);\n this._passiveListeners.push(...exitListeners);\n }\n _addListeners(listeners) {\n listeners.forEach(([event, listener]) => {\n this._elementRef.nativeElement.addEventListener(event, listener, passiveListenerOptions);\n });\n }\n _platformSupportsMouseEvents() {\n return !this._platform.IOS && !this._platform.ANDROID;\n }\n /** Listener for the `wheel` event on the element. */\n _wheelListener(event) {\n if (this._isTooltipVisible()) {\n const elementUnderPointer = this._document.elementFromPoint(event.clientX, event.clientY);\n const element = this._elementRef.nativeElement;\n // On non-touch devices we depend on the `mouseleave` event to close the tooltip, but it\n // won't fire if the user scrolls away using the wheel without moving their cursor. We\n // work around it by finding the element under the user's cursor and closing the tooltip\n // if it's not the trigger.\n if (elementUnderPointer !== element && !element.contains(elementUnderPointer)) {\n this.hide();\n }\n }\n }\n /** Disables the native browser gestures, based on how the tooltip has been configured. */\n _disableNativeGesturesIfNecessary() {\n const gestures = this.touchGestures;\n if (gestures !== 'off') {\n const element = this._elementRef.nativeElement;\n const style = element.style;\n // If gestures are set to `auto`, we don't disable text selection on inputs and\n // textareas, because it prevents the user from typing into them on iOS Safari.\n if (gestures === 'on' || (element.nodeName !== 'INPUT' && element.nodeName !== 'TEXTAREA')) {\n style.userSelect =\n style.msUserSelect =\n style.webkitUserSelect =\n style.MozUserSelect =\n 'none';\n }\n // If we have `auto` gestures and the element uses native HTML dragging,\n // we don't set `-webkit-user-drag` because it prevents the native behavior.\n if (gestures === 'on' || !element.draggable) {\n style.webkitUserDrag = 'none';\n }\n style.touchAction = 'none';\n style.webkitTapHighlightColor = 'transparent';\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatTooltipBase, deps: \"invalid\", target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: _MatTooltipBase, inputs: { position: [\"matTooltipPosition\", \"position\"], positionAtOrigin: [\"matTooltipPositionAtOrigin\", \"positionAtOrigin\"], disabled: [\"matTooltipDisabled\", \"disabled\"], showDelay: [\"matTooltipShowDelay\", \"showDelay\"], hideDelay: [\"matTooltipHideDelay\", \"hideDelay\"], touchGestures: [\"matTooltipTouchGestures\", \"touchGestures\"], message: [\"matTooltip\", \"message\"], tooltipClass: [\"matTooltipClass\", \"tooltipClass\"] }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _MatTooltipBase, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i1.Overlay }, { type: i0.ElementRef }, { type: i1.ScrollDispatcher }, { type: i0.ViewContainerRef }, { type: i0.NgZone }, { type: i2.Platform }, { type: i3.AriaDescriber }, { type: i3.FocusMonitor }, { type: undefined }, { type: i4.Directionality }, { type: undefined }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }]; }, propDecorators: { position: [{\n type: Input,\n args: ['matTooltipPosition']\n }], positionAtOrigin: [{\n type: Input,\n args: ['matTooltipPositionAtOrigin']\n }], disabled: [{\n type: Input,\n args: ['matTooltipDisabled']\n }], showDelay: [{\n type: Input,\n args: ['matTooltipShowDelay']\n }], hideDelay: [{\n type: Input,\n args: ['matTooltipHideDelay']\n }], touchGestures: [{\n type: Input,\n args: ['matTooltipTouchGestures']\n }], message: [{\n type: Input,\n args: ['matTooltip']\n }], tooltipClass: [{\n type: Input,\n args: ['matTooltipClass']\n }] } });\n/**\n * Directive that attaches a material design tooltip to the host element. Animates the showing and\n * hiding of a tooltip provided position (defaults to below the element).\n *\n * https://material.io/design/components/tooltips.html\n */\nclass MatTooltip extends _MatTooltipBase {\n constructor(overlay, elementRef, scrollDispatcher, viewContainerRef, ngZone, platform, ariaDescriber, focusMonitor, scrollStrategy, dir, defaultOptions, _document) {\n super(overlay, elementRef, scrollDispatcher, viewContainerRef, ngZone, platform, ariaDescriber, focusMonitor, scrollStrategy, dir, defaultOptions, _document);\n this._tooltipComponent = TooltipComponent;\n this._cssClassPrefix = 'mat-mdc';\n this._viewportMargin = MIN_VIEWPORT_TOOLTIP_THRESHOLD;\n }\n _addOffset(position) {\n const offset = UNBOUNDED_ANCHOR_GAP;\n const isLtr = !this._dir || this._dir.value == 'ltr';\n if (position.originY === 'top') {\n position.offsetY = -offset;\n }\n else if (position.originY === 'bottom') {\n position.offsetY = offset;\n }\n else if (position.originX === 'start') {\n position.offsetX = isLtr ? -offset : offset;\n }\n else if (position.originX === 'end') {\n position.offsetX = isLtr ? offset : -offset;\n }\n return position;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTooltip, deps: [{ token: i1.Overlay }, { token: i0.ElementRef }, { token: i1.ScrollDispatcher }, { token: i0.ViewContainerRef }, { token: i0.NgZone }, { token: i2.Platform }, { token: i3.AriaDescriber }, { token: i3.FocusMonitor }, { token: MAT_TOOLTIP_SCROLL_STRATEGY }, { token: i4.Directionality, optional: true }, { token: MAT_TOOLTIP_DEFAULT_OPTIONS, optional: true }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatTooltip, selector: \"[matTooltip]\", host: { classAttribute: \"mat-mdc-tooltip-trigger\" }, exportAs: [\"matTooltip\"], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTooltip, decorators: [{\n type: Directive,\n args: [{\n selector: '[matTooltip]',\n exportAs: 'matTooltip',\n host: {\n 'class': 'mat-mdc-tooltip-trigger',\n },\n }]\n }], ctorParameters: function () { return [{ type: i1.Overlay }, { type: i0.ElementRef }, { type: i1.ScrollDispatcher }, { type: i0.ViewContainerRef }, { type: i0.NgZone }, { type: i2.Platform }, { type: i3.AriaDescriber }, { type: i3.FocusMonitor }, { type: undefined, decorators: [{\n type: Inject,\n args: [MAT_TOOLTIP_SCROLL_STRATEGY]\n }] }, { type: i4.Directionality, decorators: [{\n type: Optional\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_TOOLTIP_DEFAULT_OPTIONS]\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }]; } });\nclass _TooltipComponentBase {\n constructor(_changeDetectorRef, animationMode) {\n this._changeDetectorRef = _changeDetectorRef;\n /** Whether interactions on the page should close the tooltip */\n this._closeOnInteraction = false;\n /** Whether the tooltip is currently visible. */\n this._isVisible = false;\n /** Subject for notifying that the tooltip has been hidden from the view */\n this._onHide = new Subject();\n this._animationsDisabled = animationMode === 'NoopAnimations';\n }\n /**\n * Shows the tooltip with an animation originating from the provided origin\n * @param delay Amount of milliseconds to the delay showing the tooltip.\n */\n show(delay) {\n // Cancel the delayed hide if it is scheduled\n if (this._hideTimeoutId != null) {\n clearTimeout(this._hideTimeoutId);\n }\n this._showTimeoutId = setTimeout(() => {\n this._toggleVisibility(true);\n this._showTimeoutId = undefined;\n }, delay);\n }\n /**\n * Begins the animation to hide the tooltip after the provided delay in ms.\n * @param delay Amount of milliseconds to delay showing the tooltip.\n */\n hide(delay) {\n // Cancel the delayed show if it is scheduled\n if (this._showTimeoutId != null) {\n clearTimeout(this._showTimeoutId);\n }\n this._hideTimeoutId = setTimeout(() => {\n this._toggleVisibility(false);\n this._hideTimeoutId = undefined;\n }, delay);\n }\n /** Returns an observable that notifies when the tooltip has been hidden from view. */\n afterHidden() {\n return this._onHide;\n }\n /** Whether the tooltip is being displayed. */\n isVisible() {\n return this._isVisible;\n }\n ngOnDestroy() {\n this._cancelPendingAnimations();\n this._onHide.complete();\n this._triggerElement = null;\n }\n /**\n * Interactions on the HTML body should close the tooltip immediately as defined in the\n * material design spec.\n * https://material.io/design/components/tooltips.html#behavior\n */\n _handleBodyInteraction() {\n if (this._closeOnInteraction) {\n this.hide(0);\n }\n }\n /**\n * Marks that the tooltip needs to be checked in the next change detection run.\n * Mainly used for rendering the initial text before positioning a tooltip, which\n * can be problematic in components with OnPush change detection.\n */\n _markForCheck() {\n this._changeDetectorRef.markForCheck();\n }\n _handleMouseLeave({ relatedTarget }) {\n if (!relatedTarget || !this._triggerElement.contains(relatedTarget)) {\n if (this.isVisible()) {\n this.hide(this._mouseLeaveHideDelay);\n }\n else {\n this._finalizeAnimation(false);\n }\n }\n }\n /**\n * Callback for when the timeout in this.show() gets completed.\n * This method is only needed by the mdc-tooltip, and so it is only implemented\n * in the mdc-tooltip, not here.\n */\n _onShow() { }\n /** Event listener dispatched when an animation on the tooltip finishes. */\n _handleAnimationEnd({ animationName }) {\n if (animationName === this._showAnimation || animationName === this._hideAnimation) {\n this._finalizeAnimation(animationName === this._showAnimation);\n }\n }\n /** Cancels any pending animation sequences. */\n _cancelPendingAnimations() {\n if (this._showTimeoutId != null) {\n clearTimeout(this._showTimeoutId);\n }\n if (this._hideTimeoutId != null) {\n clearTimeout(this._hideTimeoutId);\n }\n this._showTimeoutId = this._hideTimeoutId = undefined;\n }\n /** Handles the cleanup after an animation has finished. */\n _finalizeAnimation(toVisible) {\n if (toVisible) {\n this._closeOnInteraction = true;\n }\n else if (!this.isVisible()) {\n this._onHide.next();\n }\n }\n /** Toggles the visibility of the tooltip element. */\n _toggleVisibility(isVisible) {\n // We set the classes directly here ourselves so that toggling the tooltip state\n // isn't bound by change detection. This allows us to hide it even if the\n // view ref has been detached from the CD tree.\n const tooltip = this._tooltip.nativeElement;\n const showClass = this._showAnimation;\n const hideClass = this._hideAnimation;\n tooltip.classList.remove(isVisible ? hideClass : showClass);\n tooltip.classList.add(isVisible ? showClass : hideClass);\n this._isVisible = isVisible;\n // It's common for internal apps to disable animations using `* { animation: none !important }`\n // which can break the opening sequence. Try to detect such cases and work around them.\n if (isVisible && !this._animationsDisabled && typeof getComputedStyle === 'function') {\n const styles = getComputedStyle(tooltip);\n // Use `getPropertyValue` to avoid issues with property renaming.\n if (styles.getPropertyValue('animation-duration') === '0s' ||\n styles.getPropertyValue('animation-name') === 'none') {\n this._animationsDisabled = true;\n }\n }\n if (isVisible) {\n this._onShow();\n }\n if (this._animationsDisabled) {\n tooltip.classList.add('_mat-animation-noopable');\n this._finalizeAnimation(isVisible);\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _TooltipComponentBase, deps: [{ token: i0.ChangeDetectorRef }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: _TooltipComponentBase, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: _TooltipComponentBase, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }]; } });\n/**\n * Internal component that wraps the tooltip's content.\n * @docs-private\n */\nclass TooltipComponent extends _TooltipComponentBase {\n constructor(changeDetectorRef, _elementRef, animationMode) {\n super(changeDetectorRef, animationMode);\n this._elementRef = _elementRef;\n /* Whether the tooltip text overflows to multiple lines */\n this._isMultiline = false;\n this._showAnimation = 'mat-mdc-tooltip-show';\n this._hideAnimation = 'mat-mdc-tooltip-hide';\n }\n _onShow() {\n this._isMultiline = this._isTooltipMultiline();\n this._markForCheck();\n }\n /** Whether the tooltip text has overflown to the next line */\n _isTooltipMultiline() {\n const rect = this._elementRef.nativeElement.getBoundingClientRect();\n return rect.height > MIN_HEIGHT && rect.width >= MAX_WIDTH;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: TooltipComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: TooltipComponent, selector: \"mat-tooltip-component\", host: { attributes: { \"aria-hidden\": \"true\" }, listeners: { \"mouseleave\": \"_handleMouseLeave($event)\" }, properties: { \"style.zoom\": \"isVisible() ? 1 : null\" } }, viewQueries: [{ propertyName: \"_tooltip\", first: true, predicate: [\"tooltip\"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: \"<div\\n #tooltip\\n class=\\\"mdc-tooltip mdc-tooltip--shown mat-mdc-tooltip\\\"\\n [ngClass]=\\\"tooltipClass\\\"\\n (animationend)=\\\"_handleAnimationEnd($event)\\\"\\n [class.mdc-tooltip--multiline]=\\\"_isMultiline\\\">\\n <div class=\\\"mdc-tooltip__surface mdc-tooltip__surface-animation\\\">{{message}}</div>\\n</div>\\n\", styles: [\".mdc-tooltip__surface{word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - (2 * 8px));margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - (2 * 8px));align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color, #fff)}.mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color, #000)}.mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font, inherit);font-size:var(--mdc-plain-tooltip-supporting-text-size, inherit);font-weight:var(--mdc-plain-tooltip-supporting-text-weight, inherit);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, inherit)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:\\\"\\\";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}\"], dependencies: [{ kind: \"directive\", type: i5.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: TooltipComponent, decorators: [{\n type: Component,\n args: [{ selector: 'mat-tooltip-component', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {\n // Forces the element to have a layout in IE and Edge. This fixes issues where the element\n // won't be rendered if the animations are disabled or there is no web animations polyfill.\n '[style.zoom]': 'isVisible() ? 1 : null',\n '(mouseleave)': '_handleMouseLeave($event)',\n 'aria-hidden': 'true',\n }, template: \"<div\\n #tooltip\\n class=\\\"mdc-tooltip mdc-tooltip--shown mat-mdc-tooltip\\\"\\n [ngClass]=\\\"tooltipClass\\\"\\n (animationend)=\\\"_handleAnimationEnd($event)\\\"\\n [class.mdc-tooltip--multiline]=\\\"_isMultiline\\\">\\n <div class=\\\"mdc-tooltip__surface mdc-tooltip__surface-animation\\\">{{message}}</div>\\n</div>\\n\", styles: [\".mdc-tooltip__surface{word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:\\\"\\\";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - (2 * 8px));margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - (2 * 8px));align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color, #fff)}.mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color, #000)}.mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font, inherit);font-size:var(--mdc-plain-tooltip-supporting-text-size, inherit);font-weight:var(--mdc-plain-tooltip-supporting-text-weight, inherit);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, inherit)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:\\\"\\\";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }]; }, propDecorators: { _tooltip: [{\n type: ViewChild,\n args: ['tooltip', {\n // Use a static query here since we interact directly with\n // the DOM which can happen before `ngAfterViewInit`.\n static: true,\n }]\n }] } });\n\n/**\n * Animations used by MatTooltip.\n * @docs-private\n */\nconst matTooltipAnimations = {\n /** Animation that transitions a tooltip in and out. */\n tooltipState: trigger('state', [\n // TODO(crisbeto): these values are based on MDC's CSS.\n // We should be able to use their styles directly once we land #19432.\n state('initial, void, hidden', style({ opacity: 0, transform: 'scale(0.8)' })),\n state('visible', style({ transform: 'scale(1)' })),\n transition('* => visible', animate('150ms cubic-bezier(0, 0, 0.2, 1)')),\n transition('* => hidden', animate('75ms cubic-bezier(0.4, 0, 1, 1)')),\n ]),\n};\n\nclass MatTooltipModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTooltipModule, declarations: [MatTooltip, TooltipComponent], imports: [A11yModule, CommonModule, OverlayModule, MatCommonModule], exports: [MatTooltip, TooltipComponent, MatCommonModule, CdkScrollableModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTooltipModule, providers: [MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER], imports: [A11yModule, CommonModule, OverlayModule, MatCommonModule, MatCommonModule, CdkScrollableModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatTooltipModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [A11yModule, CommonModule, OverlayModule, MatCommonModule],\n exports: [MatTooltip, TooltipComponent, MatCommonModule, CdkScrollableModule],\n declarations: [MatTooltip, TooltipComponent],\n providers: [MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MAT_TOOLTIP_DEFAULT_OPTIONS, MAT_TOOLTIP_DEFAULT_OPTIONS_FACTORY, MAT_TOOLTIP_SCROLL_STRATEGY, MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY, MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER, MatTooltip, MatTooltipModule, SCROLL_THROTTLE_MS, TOOLTIP_PANEL_CLASS, TooltipComponent, _MatTooltipBase, _TooltipComponentBase, getMatTooltipInvalidPositionError, matTooltipAnimations };\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import toPropertyKey from \"./toPropertyKey.js\";\nexport default function _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import defineProperty from \"./defineProperty.js\";\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n return keys;\n}\nexport default function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}","export default function _iterableToArrayLimit(arr, i) {\n var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"];\n if (null != _i) {\n var _s,\n _e,\n _x,\n _r,\n _arr = [],\n _n = !0,\n _d = !1;\n try {\n if (_x = (_i = _i.call(arr)).next, 0 === i) {\n if (Object(_i) !== _i) return;\n _n = !1;\n } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);\n } catch (err) {\n _d = !0, _e = err;\n } finally {\n try {\n if (!_n && null != _i[\"return\"] && (_r = _i[\"return\"](), Object(_r) !== _r)) return;\n } finally {\n if (_d) throw _e;\n }\n }\n return _arr;\n }\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22]} \ No newline at end of file diff --git a/8750.d27dfe1204dee74b.js b/8750.d27dfe1204dee74b.js new file mode 100644 index 0000000..21d990a --- /dev/null +++ b/8750.d27dfe1204dee74b.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[8750],{20591:(P,g,l)=>{l.d(g,{E:()=>o});var o=new(l(90833).y)(function(u){return u.complete()})},37400:(P,g,l)=>{l.d(g,{D:()=>C});var h=l(54987),o=l(8728),c=l(41944);function e(r){var s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,c.e)(function(M,y){y.add(r.schedule(function(){return M.subscribe(y)},s))})}var m=l(90833),F=l(67321),v=l(92971),b=l(1817);function x(r,s){if(!r)throw new Error("Iterable cannot be null");return new m.y(function(M){(0,b.f)(M,s,function(){var y=r[Symbol.asyncIterator]();(0,b.f)(M,s,function(){y.next().then(function(R){R.done?M.complete():M.next(R.value)})},0,!0)})})}var w=l(21331),O=l(79548),I=l(99806),T=l(23433),A=l(80470),W=l(27785),S=l(20181);function C(r,s){return s?function z(r,s){if(null!=r){if((0,w.c)(r))return function u(r,s){return(0,h.Xf)(r).pipe(e(s),(0,o.Q)(s))}(r,s);if((0,I.z)(r))return function p(r,s){return new m.y(function(M){var y=0;return s.schedule(function(){y===r.length?M.complete():(M.next(r[y++]),M.closed||this.schedule())})})}(r,s);if((0,O.t)(r))return function _(r,s){return(0,h.Xf)(r).pipe(e(s),(0,o.Q)(s))}(r,s);if((0,A.D)(r))return x(r,s);if((0,T.T)(r))return function E(r,s){return new m.y(function(M){var y;return(0,b.f)(M,s,function(){y=r[F.h](),(0,b.f)(M,s,function(){var R,B;try{var j=y.next();R=j.value,B=j.done}catch(K){return void M.error(K)}B?M.complete():M.next(R)},0,!0)}),function(){return(0,v.m)(y?.return)&&y.return()}})}(r,s);if((0,S.L)(r))return function k(r,s){return x((0,S.Q)(r),s)}(r,s)}throw(0,W.z)(r)}(r,s):(0,h.Xf)(r)}},36646:(P,g,l)=>{l.d(g,{T:()=>_});var h=l(1308),o=l(54987),c=l(20591),e=l(10420),u=l(37400);function _(){for(var m=arguments.length,p=new Array(m),F=0;F<m;F++)p[F]=arguments[F];var v=(0,e.yG)(p),b=(0,e._6)(p,1/0),E=p;return E.length?1===E.length?(0,o.Xf)(E[0]):(0,h.J)(b)((0,u.D)(E,v)):c.E}},93945:(P,g,l)=>{l.d(g,{Q:()=>v,x:()=>F});var h=l(78069),o=l(48047),c=l(35488),e=l(24582),u=l(28694),_=l(4089),m=l(20265);function F(b,E,x,w,O){return new v(b,E,x,w,O)}var v=function(b){(0,e.Z)(x,b);var E=(0,u.Z)(x);function x(w,O,I,T,A,W){var S,k,z,C;return(0,h.Z)(this,x),(C=E.call(this,w)).onFinalize=A,C.shouldUnsubscribe=W,C._next=O?function(r){try{O(r)}catch(s){w.error(s)}}:(0,_.Z)((S=(0,c.Z)(C),(0,m.Z)(x.prototype)),"_next",S),C._error=T?function(r){try{T(r)}catch(s){w.error(s)}finally{this.unsubscribe()}}:(0,_.Z)((k=(0,c.Z)(C),(0,m.Z)(x.prototype)),"_error",k),C._complete=I?function(){try{I()}catch(r){w.error(r)}finally{this.unsubscribe()}}:(0,_.Z)((z=(0,c.Z)(C),(0,m.Z)(x.prototype)),"_complete",z),C}return(0,o.Z)(x,[{key:"unsubscribe",value:function(){var O;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var I=this.closed;(0,_.Z)((0,m.Z)(x.prototype),"unsubscribe",this).call(this),!I&&(null===(O=this.onFinalize)||void 0===O||O.call(this))}}}]),x}(l(5463).Lv)},50635:(P,g,l)=>{l.d(g,{U:()=>c});var h=l(41944),o=l(93945);function c(e,u){return(0,h.e)(function(_,m){var p=0;_.subscribe((0,o.x)(m,function(F){m.next(e.call(u,F,p++))}))})}},1308:(P,g,l)=>{l.d(g,{J:()=>c});var h=l(49525),o=l(89173);function c(){return(0,h.z)(o.y,arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0)}},49525:(P,g,l)=>{l.d(g,{z:()=>p});var h=l(50635),o=l(54987),c=l(41944),e=l(1817),u=l(93945),m=l(92971);function p(F,v){var b=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;return(0,m.m)(v)?p(function(E,x){return(0,h.U)(function(w,O){return v(E,w,x,O)})((0,o.Xf)(F(E,x)))},b):("number"==typeof v&&(b=v),(0,c.e)(function(E,x){return function _(F,v,b,E,x,w,O,I){var T=[],A=0,W=0,S=!1,k=function(){S&&!T.length&&!A&&v.complete()},z=function(s){return A<E?C(s):T.push(s)},C=function r(s){w&&v.next(s),A++;var M=!1;(0,o.Xf)(b(s,W++)).subscribe((0,u.x)(v,function(y){x?.(y),w?z(y):v.next(y)},function(){M=!0},void 0,function(){if(M)try{A--;for(var y=function(){var B=T.shift();O?(0,e.f)(v,O,function(){return r(B)}):r(B)};T.length&&A<E;)y();k()}catch(R){v.error(R)}}))};return F.subscribe((0,u.x)(v,z,function(){S=!0,k()})),function(){I?.()}}(E,x,F,b)}))}},8728:(P,g,l)=>{l.d(g,{Q:()=>e});var h=l(1817),o=l(41944),c=l(93945);function e(u){var _=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,o.e)(function(m,p){m.subscribe((0,c.x)(p,function(F){return(0,h.f)(p,u,function(){return p.next(F)},_)},function(){return(0,h.f)(p,u,function(){return p.complete()},_)},function(F){return(0,h.f)(p,u,function(){return p.error(F)},_)}))})}},68951:(P,g,l)=>{l.d(g,{R:()=>u});var h=l(41944),o=l(93945),c=l(54987),e=l(99635);function u(_){return(0,h.e)(function(m,p){(0,c.Xf)(_).subscribe((0,o.x)(p,function(){return p.complete()},e.Z)),!p.closed&&m.subscribe(p)})}},10420:(P,g,l)=>{l.d(g,{_6:()=>_,jO:()=>e,yG:()=>u});var h=l(92971),o=l(59867);function c(m){return m[m.length-1]}function e(m){return(0,h.m)(c(m))?m.pop():void 0}function u(m){return(0,o.K)(c(m))?m.pop():void 0}function _(m,p){return"number"==typeof c(m)?m.pop():p}},1817:(P,g,l)=>{function h(o,c,e){var u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,_=arguments.length>4&&void 0!==arguments[4]&&arguments[4],m=c.schedule(function(){e(),_?o.add(this.schedule(null,u)):this.unsubscribe()},u);if(o.add(m),!_)return m}l.d(g,{f:()=>h})},59867:(P,g,l)=>{l.d(g,{K:()=>o});var h=l(92971);function o(c){return c&&(0,h.m)(c.schedule)}},41944:(P,g,l)=>{l.d(g,{A:()=>o,e:()=>c});var h=l(92971);function o(e){return(0,h.m)(e?.lift)}function c(e){return function(u){if(o(u))return u.lift(function(_){try{return e(_,this)}catch(m){this.error(m)}});throw new TypeError("Unable to lift unknown Observable type")}}},98750:(P,g,l)=>{l.r(g),l.d(g,{MAT_ERROR:()=>Y,MAT_FORM_FIELD:()=>ie,MAT_FORM_FIELD_DEFAULT_OPTIONS:()=>ne,MAT_PREFIX:()=>H,MAT_SUFFIX:()=>V,MatError:()=>xe,MatFormField:()=>we,MatFormFieldControl:()=>te,MatFormFieldModule:()=>De,MatHint:()=>Q,MatLabel:()=>X,MatPrefix:()=>ge,MatSuffix:()=>ve,getMatFormFieldDuplicatedHintError:()=>Fe,getMatFormFieldMissingControlError:()=>Me,getMatFormFieldPlaceholderConflictError:()=>ye,matFormFieldAnimations:()=>ee});var h=l(86170),o=l(48047),c=l(78069),e=l(56718),u=l(43068),_=l(23675),m=l(33401),p=l(50253),F=l(36646),v=l(68951),b=l(94055),E=l(35333),x=l(72223),w=l(75321),O=l(6606),I=["matFormFieldNotchedOutline",""],T=["*"],A=["textField"],W=["iconPrefixContainer"],S=["textPrefixContainer"];function k(n,a){1&n&&e.\u0275\u0275element(0,"span",19)}function z(n,a){if(1&n){var i=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"label",17),e.\u0275\u0275listener("cdkObserveContent",function(){e.\u0275\u0275restoreView(i);var f=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(f._refreshOutlineNotchWidth())}),e.\u0275\u0275projection(1,1),e.\u0275\u0275template(2,k,1,0,"span",18),e.\u0275\u0275elementEnd()}if(2&n){var t=e.\u0275\u0275nextContext(2);e.\u0275\u0275property("floating",t._shouldLabelFloat())("cdkObserveContentDisabled",!t._hasOutline())("id",t._labelId),e.\u0275\u0275attribute("for",t._control.id)("aria-owns",t._control.id),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",!t.hideRequiredMarker&&t._control.required)}}function C(n,a){if(1&n&&e.\u0275\u0275template(0,z,3,6,"label",16),2&n){var i=e.\u0275\u0275nextContext();e.\u0275\u0275property("ngIf",i._hasFloatingLabel())}}function r(n,a){1&n&&e.\u0275\u0275element(0,"div",20)}function s(n,a){}function M(n,a){if(1&n&&e.\u0275\u0275template(0,s,0,0,"ng-template",22),2&n){e.\u0275\u0275nextContext(2);var i=e.\u0275\u0275reference(1);e.\u0275\u0275property("ngTemplateOutlet",i)}}function y(n,a){if(1&n&&(e.\u0275\u0275elementStart(0,"div",21),e.\u0275\u0275template(1,M,1,1,"ng-template",9),e.\u0275\u0275elementEnd()),2&n){var i=e.\u0275\u0275nextContext();e.\u0275\u0275property("matFormFieldNotchedOutlineOpen",i._shouldLabelFloat())("matFormFieldNotchedOutlineLabelWidth",i._labelWidth),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",!i._forceDisplayInfixLabel())}}function R(n,a){1&n&&(e.\u0275\u0275elementStart(0,"div",23,24),e.\u0275\u0275projection(2,2),e.\u0275\u0275elementEnd())}function B(n,a){1&n&&(e.\u0275\u0275elementStart(0,"div",25,26),e.\u0275\u0275projection(2,3),e.\u0275\u0275elementEnd())}function j(n,a){}function K(n,a){if(1&n&&e.\u0275\u0275template(0,j,0,0,"ng-template",22),2&n){e.\u0275\u0275nextContext();var i=e.\u0275\u0275reference(1);e.\u0275\u0275property("ngTemplateOutlet",i)}}function re(n,a){1&n&&(e.\u0275\u0275elementStart(0,"div",27),e.\u0275\u0275projection(1,4),e.\u0275\u0275elementEnd())}function oe(n,a){1&n&&(e.\u0275\u0275elementStart(0,"div",28),e.\u0275\u0275projection(1,5),e.\u0275\u0275elementEnd())}function ce(n,a){1&n&&e.\u0275\u0275element(0,"div",29)}function fe(n,a){if(1&n&&(e.\u0275\u0275elementStart(0,"div",30),e.\u0275\u0275projection(1,6),e.\u0275\u0275elementEnd()),2&n){var i=e.\u0275\u0275nextContext();e.\u0275\u0275property("@transitionMessages",i._subscriptAnimationState)}}function me(n,a){if(1&n&&(e.\u0275\u0275elementStart(0,"mat-hint",34),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&n){var i=e.\u0275\u0275nextContext(2);e.\u0275\u0275property("id",i._hintLabelId),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate(i.hintLabel)}}function se(n,a){if(1&n&&(e.\u0275\u0275elementStart(0,"div",31),e.\u0275\u0275template(1,me,2,2,"mat-hint",32),e.\u0275\u0275projection(2,7),e.\u0275\u0275element(3,"div",33),e.\u0275\u0275projection(4,8),e.\u0275\u0275elementEnd()),2&n){var i=e.\u0275\u0275nextContext();e.\u0275\u0275property("@transitionMessages",i._subscriptAnimationState),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",i.hintLabel)}}var ue=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],he=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"],X=function(){var n=(0,o.Z)(function a(){(0,c.Z)(this,a)});return n.\u0275fac=function(i){return new(i||n)},n.\u0275dir=e.\u0275\u0275defineDirective({type:n,selectors:[["mat-label"]]}),n}(),pe=0,Y=new e.InjectionToken("MatError"),xe=function(){var n=(0,o.Z)(function a(i,t){(0,c.Z)(this,a),this.id="mat-mdc-error-".concat(pe++),i||t.nativeElement.setAttribute("aria-live","polite")});return n.\u0275fac=function(i){return new(i||n)(e.\u0275\u0275injectAttribute("aria-live"),e.\u0275\u0275directiveInject(e.ElementRef))},n.\u0275dir=e.\u0275\u0275defineDirective({type:n,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(i,t){2&i&&e.\u0275\u0275hostProperty("id",t.id)},inputs:{id:"id"},features:[e.\u0275\u0275ProvidersFeature([{provide:Y,useExisting:n}])]}),n}(),_e=0,Q=function(){var n=(0,o.Z)(function a(){(0,c.Z)(this,a),this.align="start",this.id="mat-mdc-hint-".concat(_e++)});return n.\u0275fac=function(i){return new(i||n)},n.\u0275dir=e.\u0275\u0275defineDirective({type:n,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,t){2&i&&(e.\u0275\u0275hostProperty("id",t.id),e.\u0275\u0275attribute("align",null),e.\u0275\u0275classProp("mat-mdc-form-field-hint-end","end"===t.align))},inputs:{align:"align",id:"id"}}),n}(),H=new e.InjectionToken("MatPrefix"),ge=function(){var n=function(){function a(){(0,c.Z)(this,a),this._isText=!1}return(0,o.Z)(a,[{key:"_isTextSelector",set:function(t){this._isText=!0}}]),a}();return n.\u0275fac=function(i){return new(i||n)},n.\u0275dir=e.\u0275\u0275defineDirective({type:n,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:["matTextPrefix","_isTextSelector"]},features:[e.\u0275\u0275ProvidersFeature([{provide:H,useExisting:n}])]}),n}(),V=new e.InjectionToken("MatSuffix"),ve=function(){var n=function(){function a(){(0,c.Z)(this,a),this._isText=!1}return(0,o.Z)(a,[{key:"_isTextSelector",set:function(t){this._isText=!0}}]),a}();return n.\u0275fac=function(i){return new(i||n)},n.\u0275dir=e.\u0275\u0275defineDirective({type:n,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[e.\u0275\u0275ProvidersFeature([{provide:V,useExisting:n}])]}),n}(),$=function(){var n=function(){function a(i){(0,c.Z)(this,a),this._elementRef=i,this.floating=!1}return(0,o.Z)(a,[{key:"getWidth",value:function(){return function be(n){if(null!==n.offsetParent)return n.scrollWidth;var i=n.cloneNode(!0);i.style.setProperty("position","absolute"),i.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(i);var t=i.scrollWidth;return i.remove(),t}(this._elementRef.nativeElement)}},{key:"element",get:function(){return this._elementRef.nativeElement}}]),a}();return n.\u0275fac=function(i){return new(i||n)(e.\u0275\u0275directiveInject(e.ElementRef))},n.\u0275dir=e.\u0275\u0275defineDirective({type:n,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,t){2&i&&e.\u0275\u0275classProp("mdc-floating-label--float-above",t.floating)},inputs:{floating:"floating"}}),n}(),G="mdc-line-ripple--active",Z="mdc-line-ripple--deactivating",J=function(){var n=function(){function a(i,t){var d=this;(0,c.Z)(this,a),this._elementRef=i,this._handleTransitionEnd=function(f){var D=d._elementRef.nativeElement.classList,L=D.contains(Z);"opacity"===f.propertyName&&L&&D.remove(G,Z)},t.runOutsideAngular(function(){i.nativeElement.addEventListener("transitionend",d._handleTransitionEnd)})}return(0,o.Z)(a,[{key:"activate",value:function(){var t=this._elementRef.nativeElement.classList;t.remove(Z),t.add(G)}},{key:"deactivate",value:function(){this._elementRef.nativeElement.classList.add(Z)}},{key:"ngOnDestroy",value:function(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}]),a}();return n.\u0275fac=function(i){return new(i||n)(e.\u0275\u0275directiveInject(e.ElementRef),e.\u0275\u0275directiveInject(e.NgZone))},n.\u0275dir=e.\u0275\u0275defineDirective({type:n,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}),n}(),q=function(){var n=function(){function a(i,t){(0,c.Z)(this,a),this._elementRef=i,this._ngZone=t,this.labelWidth=0,this.open=!1}return(0,o.Z)(a,[{key:"ngAfterViewInit",value:function(){var t=this._elementRef.nativeElement.querySelector(".mdc-floating-label");t?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(t.style.transitionDuration="0s",this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return t.style.transitionDuration=""})}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}},{key:"_getNotchWidth",value:function(){return this.open?this.labelWidth>0?"calc(".concat(this.labelWidth,"px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + ").concat(9,"px)"):"0px":null}}]),a}();return n.\u0275fac=function(i){return new(i||n)(e.\u0275\u0275directiveInject(e.ElementRef),e.\u0275\u0275directiveInject(e.NgZone))},n.\u0275cmp=e.\u0275\u0275defineComponent({type:n,selectors:[["div","matFormFieldNotchedOutline",""]],hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,t){2&i&&e.\u0275\u0275classProp("mdc-notched-outline--notched",t.open)},inputs:{labelWidth:["matFormFieldNotchedOutlineLabelWidth","labelWidth"],open:["matFormFieldNotchedOutlineOpen","open"]},attrs:I,ngContentSelectors:T,decls:4,vars:2,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(i,t){1&i&&(e.\u0275\u0275projectionDef(),e.\u0275\u0275element(0,"div",0),e.\u0275\u0275elementStart(1,"div",1),e.\u0275\u0275projection(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(3,"div",2)),2&i&&(e.\u0275\u0275advance(1),e.\u0275\u0275styleProp("width",t._getNotchWidth()))},encapsulation:2,changeDetection:0}),n}(),ee={transitionMessages:(0,x.X$)("transitionMessages",[(0,x.SB)("enter",(0,x.oB)({opacity:1,transform:"translateY(0%)"})),(0,x.eR)("void => enter",[(0,x.oB)({opacity:0,transform:"translateY(-5px)"}),(0,x.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},te=function(){var n=(0,o.Z)(function a(){(0,c.Z)(this,a)});return n.\u0275fac=function(i){return new(i||n)},n.\u0275dir=e.\u0275\u0275defineDirective({type:n}),n}();function ye(){return Error("Placeholder attribute and child element were both specified.")}function Fe(n){return Error("A hint was already declared for 'align=\"".concat(n,"\"'."))}function Me(){return Error("mat-form-field must contain a MatFormFieldControl.")}var ie=new e.InjectionToken("MatFormField"),ne=new e.InjectionToken("MAT_FORM_FIELD_DEFAULT_OPTIONS"),le=0,we=function(){var n=function(){function a(i,t,d,f,D,L,U,N){(0,c.Z)(this,a),this._elementRef=i,this._changeDetectorRef=t,this._ngZone=d,this._dir=f,this._platform=D,this._defaults=L,this._animationMode=U,this._document=N,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-".concat(le++),this._hintLabelId="mat-mdc-hint-".concat(le++),this._subscriptAnimationState="",this._labelWidth=0,this._destroyed=new p.x,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,L&&(L.appearance&&(this.appearance=L.appearance),this._hideRequiredMarker=!!L?.hideRequiredMarker,L.color&&(this.color=L.color))}return(0,o.Z)(a,[{key:"hideRequiredMarker",get:function(){return this._hideRequiredMarker},set:function(t){this._hideRequiredMarker=(0,E.coerceBooleanProperty)(t)}},{key:"floatLabel",get:function(){var t;return this._floatLabel||(null===(t=this._defaults)||void 0===t?void 0:t.floatLabel)||"auto"},set:function(t){t!==this._floatLabel&&(this._floatLabel=t,this._changeDetectorRef.markForCheck())}},{key:"appearance",get:function(){return this._appearance},set:function(t){var d,f=this._appearance,D=t||(null===(d=this._defaults)||void 0===d?void 0:d.appearance)||"fill";this._appearance=D,"outline"===this._appearance&&this._appearance!==f&&(this._refreshOutlineNotchWidth(),this._needsOutlineLabelOffsetUpdateOnStable=!0)}},{key:"subscriptSizing",get:function(){var t;return this._subscriptSizing||(null===(t=this._defaults)||void 0===t?void 0:t.subscriptSizing)||"fixed"},set:function(t){var d;this._subscriptSizing=t||(null===(d=this._defaults)||void 0===d?void 0:d.subscriptSizing)||"fixed"}},{key:"hintLabel",get:function(){return this._hintLabel},set:function(t){this._hintLabel=t,this._processHints()}},{key:"_control",get:function(){return this._explicitFormFieldControl||this._formFieldControl},set:function(t){this._explicitFormFieldControl=t}},{key:"ngAfterViewInit",value:function(){var t,d,f=this;this._updateFocusState(),this._refreshOutlineNotchWidth(),null!==(t=this._document)&&void 0!==t&&null!==(d=t.fonts)&&void 0!==d&&d.ready?this._document.fonts.ready.then(function(){f._refreshOutlineNotchWidth(),f._changeDetectorRef.markForCheck()}):setTimeout(function(){return f._refreshOutlineNotchWidth()},100),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}},{key:"ngAfterContentInit",value:function(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}},{key:"ngAfterContentChecked",value:function(){this._assertFormFieldControl()}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"getLabelId",value:function(){return this._hasFloatingLabel()?this._labelId:null}},{key:"getConnectedOverlayOrigin",value:function(){return this._textField||this._elementRef}},{key:"_animateAndLockLabel",value:function(){this._hasFloatingLabel()&&(this.floatLabel="always")}},{key:"_initializeControl",value:function(){var t=this,d=this._control;d.controlType&&this._elementRef.nativeElement.classList.add("mat-mdc-form-field-type-".concat(d.controlType)),d.stateChanges.subscribe(function(){t._updateFocusState(),t._syncDescribedByIds(),t._changeDetectorRef.markForCheck()}),d.ngControl&&d.ngControl.valueChanges&&d.ngControl.valueChanges.pipe((0,v.R)(this._destroyed)).subscribe(function(){return t._changeDetectorRef.markForCheck()})}},{key:"_checkPrefixAndSuffixTypes",value:function(){this._hasIconPrefix=!!this._prefixChildren.find(function(t){return!t._isText}),this._hasTextPrefix=!!this._prefixChildren.find(function(t){return t._isText}),this._hasIconSuffix=!!this._suffixChildren.find(function(t){return!t._isText}),this._hasTextSuffix=!!this._suffixChildren.find(function(t){return t._isText})}},{key:"_initializePrefixAndSuffix",value:function(){var t=this;this._checkPrefixAndSuffixTypes(),(0,F.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){t._checkPrefixAndSuffixTypes(),t._changeDetectorRef.markForCheck()})}},{key:"_initializeSubscript",value:function(){var t=this;this._hintChildren.changes.subscribe(function(){t._processHints(),t._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(function(){t._syncDescribedByIds(),t._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}},{key:"_assertFormFieldControl",value:function(){}},{key:"_updateFocusState",value:function(){var t,d;if(this._control.focused&&!this._isFocused)this._isFocused=!0,null===(d=this._lineRipple)||void 0===d||d.activate();else if(!this._control.focused&&(this._isFocused||null===this._isFocused)){var f;this._isFocused=!1,null===(f=this._lineRipple)||void 0===f||f.deactivate()}null===(t=this._textField)||void 0===t||t.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}},{key:"_initializeOutlineLabelOffsetSubscriptions",value:function(){var t=this;this._prefixChildren.changes.subscribe(function(){return t._needsOutlineLabelOffsetUpdateOnStable=!0}),this._ngZone.runOutsideAngular(function(){t._ngZone.onStable.pipe((0,v.R)(t._destroyed)).subscribe(function(){t._needsOutlineLabelOffsetUpdateOnStable&&(t._needsOutlineLabelOffsetUpdateOnStable=!1,t._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,v.R)(this._destroyed)).subscribe(function(){return t._needsOutlineLabelOffsetUpdateOnStable=!0})}},{key:"_shouldAlwaysFloat",value:function(){return"always"===this.floatLabel}},{key:"_hasOutline",value:function(){return"outline"===this.appearance}},{key:"_forceDisplayInfixLabel",value:function(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}},{key:"_hasFloatingLabel",value:function(){return!!this._labelChildNonStatic||!!this._labelChildStatic}},{key:"_shouldLabelFloat",value:function(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}},{key:"_shouldForward",value:function(t){var d=this._control?this._control.ngControl:null;return d&&d[t]}},{key:"_getDisplayedMessages",value:function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}},{key:"_refreshOutlineNotchWidth",value:function(){!this._hasOutline()||!this._floatingLabel||(this._labelWidth=this._floatingLabel.getWidth())}},{key:"_processHints",value:function(){this._validateHints(),this._syncDescribedByIds()}},{key:"_validateHints",value:function(){}},{key:"_syncDescribedByIds",value:function(){if(this._control){var t=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&t.push.apply(t,(0,h.Z)(this._control.userAriaDescribedBy.split(" "))),"hint"===this._getDisplayedMessages()){var d=this._hintChildren?this._hintChildren.find(function(D){return"start"===D.align}):null,f=this._hintChildren?this._hintChildren.find(function(D){return"end"===D.align}):null;d?t.push(d.id):this._hintLabel&&t.push(this._hintLabelId),f&&t.push(f.id)}else this._errorChildren&&t.push.apply(t,(0,h.Z)(this._errorChildren.map(function(D){return D.id})));this._control.setDescribedByIds(t)}}},{key:"_updateOutlineLabelOffset",value:function(){var t,d,f,D;if(this._platform.isBrowser&&this._hasOutline()&&this._floatingLabel){var L=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(L.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);var U=null===(t=this._iconPrefixContainer)||void 0===t?void 0:t.nativeElement,N=null===(d=this._textPrefixContainer)||void 0===d?void 0:d.nativeElement,Ce=null!==(f=U?.getBoundingClientRect().width)&&void 0!==f?f:0,Le=null!==(D=N?.getBoundingClientRect().width)&&void 0!==D?D:0,Pe="rtl"===this._dir.value?"-1":"1",Ie="".concat(Ce+Le,"px"),Ae="calc(".concat(Pe," * (").concat(Ie," + ").concat("var(--mat-mdc-form-field-label-offset-x, 0px)","))");L.style.transform="var(\n --mat-mdc-form-field-label-transform,\n ".concat("translateY(-50%)"," translateX(").concat(Ae,")\n )")}}},{key:"_isAttachedToDom",value:function(){var t=this._elementRef.nativeElement;if(t.getRootNode){var d=t.getRootNode();return d&&d!==t}return document.documentElement.contains(t)}}]),a}();return n.\u0275fac=function(i){return new(i||n)(e.\u0275\u0275directiveInject(e.ElementRef),e.\u0275\u0275directiveInject(e.ChangeDetectorRef),e.\u0275\u0275directiveInject(e.NgZone),e.\u0275\u0275directiveInject(u.Directionality),e.\u0275\u0275directiveInject(_.Platform),e.\u0275\u0275directiveInject(ne,8),e.\u0275\u0275directiveInject(m.ANIMATION_MODULE_TYPE,8),e.\u0275\u0275directiveInject(b.DOCUMENT))},n.\u0275cmp=e.\u0275\u0275defineComponent({type:n,selectors:[["mat-form-field"]],contentQueries:function(i,t,d){var f;1&i&&(e.\u0275\u0275contentQuery(d,X,5),e.\u0275\u0275contentQuery(d,X,7),e.\u0275\u0275contentQuery(d,te,5),e.\u0275\u0275contentQuery(d,H,5),e.\u0275\u0275contentQuery(d,V,5),e.\u0275\u0275contentQuery(d,Y,5),e.\u0275\u0275contentQuery(d,Q,5)),2&i&&(e.\u0275\u0275queryRefresh(f=e.\u0275\u0275loadQuery())&&(t._labelChildNonStatic=f.first),e.\u0275\u0275queryRefresh(f=e.\u0275\u0275loadQuery())&&(t._labelChildStatic=f.first),e.\u0275\u0275queryRefresh(f=e.\u0275\u0275loadQuery())&&(t._formFieldControl=f.first),e.\u0275\u0275queryRefresh(f=e.\u0275\u0275loadQuery())&&(t._prefixChildren=f),e.\u0275\u0275queryRefresh(f=e.\u0275\u0275loadQuery())&&(t._suffixChildren=f),e.\u0275\u0275queryRefresh(f=e.\u0275\u0275loadQuery())&&(t._errorChildren=f),e.\u0275\u0275queryRefresh(f=e.\u0275\u0275loadQuery())&&(t._hintChildren=f))},viewQuery:function(i,t){var d;1&i&&(e.\u0275\u0275viewQuery(A,5),e.\u0275\u0275viewQuery(W,5),e.\u0275\u0275viewQuery(S,5),e.\u0275\u0275viewQuery($,5),e.\u0275\u0275viewQuery(q,5),e.\u0275\u0275viewQuery(J,5)),2&i&&(e.\u0275\u0275queryRefresh(d=e.\u0275\u0275loadQuery())&&(t._textField=d.first),e.\u0275\u0275queryRefresh(d=e.\u0275\u0275loadQuery())&&(t._iconPrefixContainer=d.first),e.\u0275\u0275queryRefresh(d=e.\u0275\u0275loadQuery())&&(t._textPrefixContainer=d.first),e.\u0275\u0275queryRefresh(d=e.\u0275\u0275loadQuery())&&(t._floatingLabel=d.first),e.\u0275\u0275queryRefresh(d=e.\u0275\u0275loadQuery())&&(t._notchedOutline=d.first),e.\u0275\u0275queryRefresh(d=e.\u0275\u0275loadQuery())&&(t._lineRipple=d.first))},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(i,t){2&i&&e.\u0275\u0275classProp("mat-mdc-form-field-label-always-float",t._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",t._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",t._hasIconSuffix)("mat-form-field-invalid",t._control.errorState)("mat-form-field-disabled",t._control.disabled)("mat-form-field-autofilled",t._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===t._animationMode)("mat-form-field-appearance-fill","fill"==t.appearance)("mat-form-field-appearance-outline","outline"==t.appearance)("mat-form-field-hide-placeholder",t._hasFloatingLabel()&&!t._shouldLabelFloat())("mat-focused",t._control.focused)("mat-primary","accent"!==t.color&&"warn"!==t.color)("mat-accent","accent"===t.color)("mat-warn","warn"===t.color)("ng-untouched",t._shouldForward("untouched"))("ng-touched",t._shouldForward("touched"))("ng-pristine",t._shouldForward("pristine"))("ng-dirty",t._shouldForward("dirty"))("ng-valid",t._shouldForward("valid"))("ng-invalid",t._shouldForward("invalid"))("ng-pending",t._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[e.\u0275\u0275ProvidersFeature([{provide:ie,useExisting:n}])],ngContentSelectors:he,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(i,t){1&i&&(e.\u0275\u0275projectionDef(ue),e.\u0275\u0275template(0,C,1,1,"ng-template",null,0,e.\u0275\u0275templateRefExtractor),e.\u0275\u0275elementStart(2,"div",1,2),e.\u0275\u0275listener("click",function(f){return t._control.onContainerClick(f)}),e.\u0275\u0275template(4,r,1,0,"div",3),e.\u0275\u0275elementStart(5,"div",4),e.\u0275\u0275template(6,y,2,3,"div",5),e.\u0275\u0275template(7,R,3,0,"div",6),e.\u0275\u0275template(8,B,3,0,"div",7),e.\u0275\u0275elementStart(9,"div",8),e.\u0275\u0275template(10,K,1,1,"ng-template",9),e.\u0275\u0275projection(11),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(12,re,2,0,"div",10),e.\u0275\u0275template(13,oe,2,0,"div",11),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(14,ce,1,0,"div",12),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(15,"div",13),e.\u0275\u0275template(16,fe,2,1,"div",14),e.\u0275\u0275template(17,se,5,2,"div",15),e.\u0275\u0275elementEnd()),2&i&&(e.\u0275\u0275advance(2),e.\u0275\u0275classProp("mdc-text-field--filled",!t._hasOutline())("mdc-text-field--outlined",t._hasOutline())("mdc-text-field--no-label",!t._hasFloatingLabel())("mdc-text-field--disabled",t._control.disabled)("mdc-text-field--invalid",t._control.errorState),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",!t._hasOutline()&&!t._control.disabled),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",t._hasOutline()),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",t._hasIconPrefix),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",t._hasTextPrefix),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",!t._hasOutline()||t._forceDisplayInfixLabel()),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",t._hasTextSuffix),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",t._hasIconSuffix),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",!t._hasOutline()),e.\u0275\u0275advance(1),e.\u0275\u0275classProp("mat-mdc-form-field-subscript-dynamic-size","dynamic"===t.subscriptSizing),e.\u0275\u0275property("ngSwitch",t._getDisplayedMessages()),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngSwitchCase","error"),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngSwitchCase","hint"))},dependencies:[b.NgIf,b.NgTemplateOutlet,b.NgSwitch,b.NgSwitchCase,w.CdkObserveContent,Q,$,q,J],styles:['.mdc-text-field{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px * 2)}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{line-height:normal;pointer-events:all}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}'],encapsulation:2,data:{animation:[ee.transitionMessages]},changeDetection:0}),n}(),De=function(){var n=(0,o.Z)(function a(){(0,c.Z)(this,a)});return n.\u0275fac=function(i){return new(i||n)},n.\u0275mod=e.\u0275\u0275defineNgModule({type:n}),n.\u0275inj=e.\u0275\u0275defineInjector({imports:[O.MatCommonModule,b.CommonModule,w.ObserversModule,O.MatCommonModule]}),n}()}}]); +//# sourceMappingURL=8750.d27dfe1204dee74b.js.map \ No newline at end of file diff --git a/8750.d27dfe1204dee74b.js.map b/8750.d27dfe1204dee74b.js.map new file mode 100644 index 0000000..ab0ded4 --- /dev/null +++ b/8750.d27dfe1204dee74b.js.map @@ -0,0 +1 @@ +{"version":3,"file":"8750.d27dfe1204dee74b.js","mappings":"uGACaA,EAAQ,aAAIC,GAAW,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BAAE,WAAAD,EAAAwO,yBAAFvO,sBAAE,GAAFA,uBAAE,wBAAFA,sBAAE,GAAFA,uBAAE,uBAuzB8qO,EAAA+Q,aAAA,CAA86iCC,OAAoGA,mBAAuKA,WAAwFA,eAAoGC,oBAAwMhN,EAAqFS,EAA4H6B,EAA0LX,GAAsBsL,OAAA,wgiCAAA1J,cAAA,EAAA2J,KAAA,CAAAC,UAA0D,CAAC1J,GAAuBC,qBAAmBF,gBAAA,IAlcj1zCgB,CAAY,IAmiBZ4I,GAAkB,eAAlBA,GAAkB9U,OAAA,SAAA8U,KAAAxV,OAAA3C,KAAAmY,EAAA,GAAlBA,SACY1O,UAAI,SAAAC,GAAA,WAAAA,GAAwFyO,EAAkB,EAD1HA,EAEYC,UA15BkFtR,6BAAE,CAAA8C,KA05BSuO,IAFzGA,EAWYE,UAn6BkFvR,6BAAE,CAAAwR,QAAA,CAm6BuCC,kBAAiBC,eAAcC,kBAAiBF,qBAXvLJ,CAAkB","names":["EMPTY","Observable","subscriber","complete","subscribeOn","scheduler","delay","arguments","length","undefined","operate","source","add","schedule","subscribe","scheduleAsyncIterable","input","Error","executeSchedule","iterator","Symbol","asyncIterator","next","then","result","done","value","from","scheduled","isInteropObservable","scheduleObservable","innerFrom","pipe","observeOn","isArrayLike","scheduleArray","i","closed","this","isPromise","schedulePromise","isAsyncIterable","isIterable","scheduleIterable","Symbol_iterator","_iterator$next","err","error","isFunction","return","isReadableStreamLike","scheduleReadableStreamLike","readableStreamLikeToAsyncGenerator","createInvalidObservableTypeError","merge","_len","args","Array","_key","popScheduler","concurrent","popNumber","Infinity","sources","mergeAll","createOperatorSubscriber","destination","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","_inherits","_super","_createSuper","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_this","_classCallCheck","call","_next","_get","_assertThisInitialized","_getPrototypeOf","prototype","_error","unsubscribe","_complete","_createClass","key","_a","Subscriber","map","project","thisArg","index","mergeMap","identity","resultSelector","a","b","ii","mergeInternals","onBeforeNext","expand","innerSubScheduler","additionalFinalizer","buffer","active","isComplete","checkComplete","outerNext","doInnerSub","push","innerComplete","innerValue","_loop","bufferedValue","shift","takeUntil","notifier","noop","last","arr","popResultSelector","pop","isScheduler","defaultValue","parentSubscription","work","repeat","scheduleSubscription","hasLift","lift","init","liftedSource","TypeError","_c0","_c1","_c2","_c3","_c4","MatFormField_ng_template_0_label_0_span_2_Template","rf","ctx","i0","MatFormField_ng_template_0_label_0_Template","_r16","ctx_r15","_refreshOutlineNotchWidth","ctx_r13","_shouldLabelFloat","_hasOutline","_labelId","_control","id","hideRequiredMarker","required","MatFormField_ng_template_0_Template","ctx_r1","_hasFloatingLabel","MatFormField_div_4_Template","MatFormField_div_6_ng_template_1_ng_template_0_Template","MatFormField_div_6_ng_template_1_Template","_r0","MatFormField_div_6_Template","ctx_r4","_labelWidth","_forceDisplayInfixLabel","MatFormField_div_7_Template","MatFormField_div_8_Template","MatFormField_ng_template_10_ng_template_0_Template","MatFormField_ng_template_10_Template","MatFormField_div_12_Template","MatFormField_div_13_Template","MatFormField_div_14_Template","MatFormField_div_16_Template","ctx_r11","_subscriptAnimationState","MatFormField_div_17_mat_hint_1_Template","ctx_r22","_hintLabelId","hintLabel","MatFormField_div_17_Template","ctx_r12","_c5","_c6","MatLabel","ɵfac","t","ɵdir","type","selectors","nextUniqueId$2","MAT_ERROR","InjectionToken","MatError","ariaLive","elementRef","concat","nativeElement","setAttribute","hostAttrs","hostVars","hostBindings","inputs","features","provide","useExisting","nextUniqueId$1","MatHint","align","MAT_PREFIX","MatPrefix","_isText","set","_isTextSelector","MAT_SUFFIX","MatSuffix","MatFormFieldFloatingLabel","_elementRef","floating","estimateScrollWidth","element","offsetParent","scrollWidth","clone","cloneNode","style","setProperty","document","documentElement","appendChild","remove","get","ACTIVATE_CLASS","DEACTIVATING_CLASS","MatFormFieldLineRipple","ngZone","_handleTransitionEnd","event","classList","isDeactivating","contains","propertyName","runOutsideAngular","addEventListener","removeEventListener","MatFormFieldNotchedOutline","_ngZone","labelWidth","open","label","querySelector","requestAnimationFrame","transitionDuration","NOTCH_ELEMENT_PADDING","ɵcmp","attrs","ngContentSelectors","decls","vars","consts","template","_getNotchWidth","encapsulation","changeDetection","matFormFieldAnimations","transitionMessages","trigger","state","opacity","transform","transition","animate","MatFormFieldControl","getMatFormFieldPlaceholderConflictError","getMatFormFieldDuplicatedHintError","getMatFormFieldMissingControlError","MAT_FORM_FIELD","MAT_FORM_FIELD_DEFAULT_OPTIONS","nextUniqueId","MatFormField","_changeDetectorRef","_dir","_platform","_defaults","_animationMode","_document","_hideRequiredMarker","color","_appearance","_subscriptSizing","_hintLabel","_hasIconPrefix","_hasTextPrefix","_hasIconSuffix","_hasTextSuffix","_destroyed","Subject","_isFocused","_needsOutlineLabelOffsetUpdateOnStable","appearance","coerceBooleanProperty","_this$_defaults","_floatLabel","floatLabel","markForCheck","_this$_defaults2","oldValue","newAppearance","_this$_defaults3","subscriptSizing","_this$_defaults4","_processHints","_explicitFormFieldControl","_formFieldControl","_this$_document","_this$_document$fonts","_this2","_updateFocusState","fonts","ready","setTimeout","detectChanges","_assertFormFieldControl","_initializeControl","_initializeSubscript","_initializePrefixAndSuffix","_initializeOutlineLabelOffsetSubscriptions","_textField","_this3","control","controlType","stateChanges","_syncDescribedByIds","ngControl","valueChanges","_prefixChildren","find","p","_suffixChildren","s","_this4","_checkPrefixAndSuffixTypes","changes","_this5","_hintChildren","_errorChildren","_validateHints","_this$_textField","_this$_lineRipple","focused","_lineRipple","activate","_this$_lineRipple2","deactivate","toggle","_this6","onStable","_updateOutlineLabelOffset","change","isBrowser","_labelChildNonStatic","_labelChildStatic","shouldLabelFloat","_shouldAlwaysFloat","prop","errorState","_floatingLabel","getWidth","ids","userAriaDescribedBy","apply","_toConsumableArray","split","_getDisplayedMessages","startHint","hint","endHint","setDescribedByIds","_this$_iconPrefixCont","_this$_textPrefixCont","_iconPrefixContainer$","_textPrefixContainer$","floatingLabel","_iconPrefixContainer","_textPrefixContainer","_isAttachedToDom","iconPrefixContainer","textPrefixContainer","iconPrefixContainerWidth","getBoundingClientRect","width","textPrefixContainerWidth","negate","prefixWidth","labelHorizontalOffset","getRootNode","rootNode","i1","i2","ANIMATION_MODULE_TYPE","DOCUMENT","contentQueries","dirIndex","_t","first","viewQuery","_notchedOutline","disabled","autofilled","_shouldForward","exportAs","$event","onContainerClick","dependencies","i3","i4","styles","data","animation","MatFormFieldModule","ɵmod","ɵinj","imports","MatCommonModule","CommonModule","ObserversModule"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/observable/empty.js","./node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleAsyncIterable.js","./node_modules/rxjs/dist/esm/internal/observable/from.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduled.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleObservable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleArray.js","./node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleIterable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleReadableStreamLike.js","./node_modules/rxjs/dist/esm/internal/observable/merge.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/map.js","./node_modules/rxjs/dist/esm/internal/operators/mergeAll.js","./node_modules/rxjs/dist/esm/internal/operators/mergeMap.js","./node_modules/rxjs/dist/esm/internal/operators/mergeInternals.js","./node_modules/rxjs/dist/esm/internal/operators/observeOn.js","./node_modules/rxjs/dist/esm/internal/operators/takeUntil.js","./node_modules/rxjs/dist/esm/internal/util/args.js","./node_modules/rxjs/dist/esm/internal/util/executeSchedule.js","./node_modules/rxjs/dist/esm/internal/util/isScheduler.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/@angular/material/fesm2022/form-field.mjs"],"sourcesContent":["import { Observable } from '../Observable';\nexport const EMPTY = new Observable((subscriber) => subscriber.complete());\nexport function empty(scheduler) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n return new Observable((subscriber) => scheduler.schedule(() => subscriber.complete()));\n}\n","import { operate } from '../util/lift';\nexport function subscribeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay));\n });\n}\n","import { Observable } from '../Observable';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleAsyncIterable(input, scheduler) {\n if (!input) {\n throw new Error('Iterable cannot be null');\n }\n return new Observable((subscriber) => {\n executeSchedule(subscriber, scheduler, () => {\n const iterator = input[Symbol.asyncIterator]();\n executeSchedule(subscriber, scheduler, () => {\n iterator.next().then((result) => {\n if (result.done) {\n subscriber.complete();\n }\n else {\n subscriber.next(result.value);\n }\n });\n }, 0, true);\n });\n });\n}\n","import { scheduled } from '../scheduled/scheduled';\nimport { innerFrom } from './innerFrom';\nexport function from(input, scheduler) {\n return scheduler ? scheduled(input, scheduler) : innerFrom(input);\n}\n","import { scheduleObservable } from './scheduleObservable';\nimport { schedulePromise } from './schedulePromise';\nimport { scheduleArray } from './scheduleArray';\nimport { scheduleIterable } from './scheduleIterable';\nimport { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isPromise } from '../util/isPromise';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isIterable } from '../util/isIterable';\nimport { isAsyncIterable } from '../util/isAsyncIterable';\nimport { createInvalidObservableTypeError } from '../util/throwUnobservableError';\nimport { isReadableStreamLike } from '../util/isReadableStreamLike';\nimport { scheduleReadableStreamLike } from './scheduleReadableStreamLike';\nexport function scheduled(input, scheduler) {\n if (input != null) {\n if (isInteropObservable(input)) {\n return scheduleObservable(input, scheduler);\n }\n if (isArrayLike(input)) {\n return scheduleArray(input, scheduler);\n }\n if (isPromise(input)) {\n return schedulePromise(input, scheduler);\n }\n if (isAsyncIterable(input)) {\n return scheduleAsyncIterable(input, scheduler);\n }\n if (isIterable(input)) {\n return scheduleIterable(input, scheduler);\n }\n if (isReadableStreamLike(input)) {\n return scheduleReadableStreamLike(input, scheduler);\n }\n }\n throw createInvalidObservableTypeError(input);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function scheduleObservable(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nexport function scheduleArray(input, scheduler) {\n return new Observable((subscriber) => {\n let i = 0;\n return scheduler.schedule(function () {\n if (i === input.length) {\n subscriber.complete();\n }\n else {\n subscriber.next(input[i++]);\n if (!subscriber.closed) {\n this.schedule();\n }\n }\n });\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function schedulePromise(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from '../util/isFunction';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleIterable(input, scheduler) {\n return new Observable((subscriber) => {\n let iterator;\n executeSchedule(subscriber, scheduler, () => {\n iterator = input[Symbol_iterator]();\n executeSchedule(subscriber, scheduler, () => {\n let value;\n let done;\n try {\n ({ value, done } = iterator.next());\n }\n catch (err) {\n subscriber.error(err);\n return;\n }\n if (done) {\n subscriber.complete();\n }\n else {\n subscriber.next(value);\n }\n }, 0, true);\n });\n return () => isFunction(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return();\n });\n}\n","import { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { readableStreamLikeToAsyncGenerator } from '../util/isReadableStreamLike';\nexport function scheduleReadableStreamLike(input, scheduler) {\n return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);\n}\n","import { mergeAll } from '../operators/mergeAll';\nimport { innerFrom } from './innerFrom';\nimport { EMPTY } from './empty';\nimport { popNumber, popScheduler } from '../util/args';\nimport { from } from './from';\nexport function merge(...args) {\n const scheduler = popScheduler(args);\n const concurrent = popNumber(args, Infinity);\n const sources = args;\n return !sources.length\n ?\n EMPTY\n : sources.length === 1\n ?\n innerFrom(sources[0])\n :\n mergeAll(concurrent)(from(sources, scheduler));\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function map(project, thisArg) {\n return operate((source, subscriber) => {\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n subscriber.next(project.call(thisArg, value, index++));\n }));\n });\n}\n","import { mergeMap } from './mergeMap';\nimport { identity } from '../util/identity';\nexport function mergeAll(concurrent = Infinity) {\n return mergeMap(identity, concurrent);\n}\n","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 }\n else if (typeof resultSelector === 'number') {\n concurrent = resultSelector;\n }\n return operate((source, subscriber) => mergeInternals(source, subscriber, project, concurrent));\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { executeSchedule } from '../util/executeSchedule';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function mergeInternals(source, subscriber, project, concurrent, onBeforeNext, expand, innerSubScheduler, additionalFinalizer) {\n const buffer = [];\n let active = 0;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => {\n if (isComplete && !buffer.length && !active) {\n subscriber.complete();\n }\n };\n const outerNext = (value) => (active < concurrent ? doInnerSub(value) : buffer.push(value));\n const doInnerSub = (value) => {\n expand && subscriber.next(value);\n active++;\n let innerComplete = false;\n innerFrom(project(value, index++)).subscribe(createOperatorSubscriber(subscriber, (innerValue) => {\n onBeforeNext === null || onBeforeNext === void 0 ? void 0 : onBeforeNext(innerValue);\n if (expand) {\n outerNext(innerValue);\n }\n else {\n subscriber.next(innerValue);\n }\n }, () => {\n innerComplete = true;\n }, undefined, () => {\n if (innerComplete) {\n try {\n active--;\n while (buffer.length && active < concurrent) {\n const bufferedValue = buffer.shift();\n if (innerSubScheduler) {\n executeSchedule(subscriber, innerSubScheduler, () => doInnerSub(bufferedValue));\n }\n else {\n doInnerSub(bufferedValue);\n }\n }\n checkComplete();\n }\n catch (err) {\n subscriber.error(err);\n }\n }\n }));\n };\n source.subscribe(createOperatorSubscriber(subscriber, outerNext, () => {\n isComplete = true;\n checkComplete();\n }));\n return () => {\n additionalFinalizer === null || additionalFinalizer === void 0 ? void 0 : additionalFinalizer();\n };\n}\n","import { executeSchedule } from '../util/executeSchedule';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function observeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, (value) => executeSchedule(subscriber, scheduler, () => subscriber.next(value), delay), () => executeSchedule(subscriber, scheduler, () => subscriber.complete(), delay), (err) => executeSchedule(subscriber, scheduler, () => subscriber.error(err), delay)));\n });\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { innerFrom } from '../observable/innerFrom';\nimport { noop } from '../util/noop';\nexport function takeUntil(notifier) {\n return operate((source, subscriber) => {\n innerFrom(notifier).subscribe(createOperatorSubscriber(subscriber, () => subscriber.complete(), noop));\n !subscriber.closed && source.subscribe(subscriber);\n });\n}\n","import { isFunction } from './isFunction';\nimport { isScheduler } from './isScheduler';\nfunction last(arr) {\n return arr[arr.length - 1];\n}\nexport function popResultSelector(args) {\n return isFunction(last(args)) ? args.pop() : undefined;\n}\nexport function popScheduler(args) {\n return isScheduler(last(args)) ? args.pop() : undefined;\n}\nexport function popNumber(args, defaultValue) {\n return typeof last(args) === 'number' ? args.pop() : defaultValue;\n}\n","export function executeSchedule(parentSubscription, scheduler, work, delay = 0, repeat = false) {\n const scheduleSubscription = scheduler.schedule(function () {\n work();\n if (repeat) {\n parentSubscription.add(this.schedule(null, delay));\n }\n else {\n this.unsubscribe();\n }\n }, delay);\n parentSubscription.add(scheduleSubscription);\n if (!repeat) {\n return scheduleSubscription;\n }\n}\n","import { isFunction } from './isFunction';\nexport function isScheduler(value) {\n return value && isFunction(value.schedule);\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","import * as i0 from '@angular/core';\nimport { Directive, InjectionToken, Attribute, Input, Component, ChangeDetectionStrategy, ViewEncapsulation, Optional, Inject, ViewChild, ContentChild, ContentChildren, NgModule } from '@angular/core';\nimport * as i1 from '@angular/cdk/bidi';\nimport * as i2 from '@angular/cdk/platform';\nimport { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';\nimport { Subject, merge } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\nimport * as i3 from '@angular/common';\nimport { DOCUMENT, CommonModule } from '@angular/common';\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { trigger, state, style, transition, animate } from '@angular/animations';\nimport * as i4 from '@angular/cdk/observers';\nimport { ObserversModule } from '@angular/cdk/observers';\nimport { MatCommonModule } from '@angular/material/core';\n\n/** The floating label for a `mat-form-field`. */\nclass MatLabel {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLabel, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLabel, selector: \"mat-label\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLabel, decorators: [{\n type: Directive,\n args: [{\n selector: 'mat-label',\n }]\n }] });\n\nlet nextUniqueId$2 = 0;\n/**\n * Injection token that can be used to reference instances of `MatError`. It serves as\n * alternative token to the actual `MatError` class which could cause unnecessary\n * retention of the class and its directive metadata.\n */\nconst MAT_ERROR = new InjectionToken('MatError');\n/** Single error message to be shown underneath the form-field. */\nclass MatError {\n constructor(ariaLive, elementRef) {\n this.id = `mat-mdc-error-${nextUniqueId$2++}`;\n // If no aria-live value is set add 'polite' as a default. This is preferred over setting\n // role='alert' so that screen readers do not interrupt the current task to read this aloud.\n if (!ariaLive) {\n elementRef.nativeElement.setAttribute('aria-live', 'polite');\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatError, deps: [{ token: 'aria-live', attribute: true }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatError, selector: \"mat-error, [matError]\", inputs: { id: \"id\" }, host: { attributes: { \"aria-atomic\": \"true\" }, properties: { \"id\": \"id\" }, classAttribute: \"mat-mdc-form-field-error mat-mdc-form-field-bottom-align\" }, providers: [{ provide: MAT_ERROR, useExisting: MatError }], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatError, decorators: [{\n type: Directive,\n args: [{\n selector: 'mat-error, [matError]',\n host: {\n 'class': 'mat-mdc-form-field-error mat-mdc-form-field-bottom-align',\n 'aria-atomic': 'true',\n '[id]': 'id',\n },\n providers: [{ provide: MAT_ERROR, useExisting: MatError }],\n }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Attribute,\n args: ['aria-live']\n }] }, { type: i0.ElementRef }]; }, propDecorators: { id: [{\n type: Input\n }] } });\n\nlet nextUniqueId$1 = 0;\n/** Hint text to be shown underneath the form field control. */\nclass MatHint {\n constructor() {\n /** Whether to align the hint label at the start or end of the line. */\n this.align = 'start';\n /** Unique ID for the hint. Used for the aria-describedby on the form field control. */\n this.id = `mat-mdc-hint-${nextUniqueId$1++}`;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatHint, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatHint, selector: \"mat-hint\", inputs: { align: \"align\", id: \"id\" }, host: { properties: { \"class.mat-mdc-form-field-hint-end\": \"align === \\\"end\\\"\", \"id\": \"id\", \"attr.align\": \"null\" }, classAttribute: \"mat-mdc-form-field-hint mat-mdc-form-field-bottom-align\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatHint, decorators: [{\n type: Directive,\n args: [{\n selector: 'mat-hint',\n host: {\n 'class': 'mat-mdc-form-field-hint mat-mdc-form-field-bottom-align',\n '[class.mat-mdc-form-field-hint-end]': 'align === \"end\"',\n '[id]': 'id',\n // Remove align attribute to prevent it from interfering with layout.\n '[attr.align]': 'null',\n },\n }]\n }], propDecorators: { align: [{\n type: Input\n }], id: [{\n type: Input\n }] } });\n\n/**\n * Injection token that can be used to reference instances of `MatPrefix`. It serves as\n * alternative token to the actual `MatPrefix` class which could cause unnecessary\n * retention of the class and its directive metadata.\n */\nconst MAT_PREFIX = new InjectionToken('MatPrefix');\n/** Prefix to be placed in front of the form field. */\nclass MatPrefix {\n constructor() {\n this._isText = false;\n }\n set _isTextSelector(value) {\n this._isText = true;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatPrefix, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatPrefix, selector: \"[matPrefix], [matIconPrefix], [matTextPrefix]\", inputs: { _isTextSelector: [\"matTextPrefix\", \"_isTextSelector\"] }, providers: [{ provide: MAT_PREFIX, useExisting: MatPrefix }], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatPrefix, decorators: [{\n type: Directive,\n args: [{\n selector: '[matPrefix], [matIconPrefix], [matTextPrefix]',\n providers: [{ provide: MAT_PREFIX, useExisting: MatPrefix }],\n }]\n }], propDecorators: { _isTextSelector: [{\n type: Input,\n args: ['matTextPrefix']\n }] } });\n\n/**\n * Injection token that can be used to reference instances of `MatSuffix`. It serves as\n * alternative token to the actual `MatSuffix` class which could cause unnecessary\n * retention of the class and its directive metadata.\n */\nconst MAT_SUFFIX = new InjectionToken('MatSuffix');\n/** Suffix to be placed at the end of the form field. */\nclass MatSuffix {\n constructor() {\n this._isText = false;\n }\n set _isTextSelector(value) {\n this._isText = true;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSuffix, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatSuffix, selector: \"[matSuffix], [matIconSuffix], [matTextSuffix]\", inputs: { _isTextSelector: [\"matTextSuffix\", \"_isTextSelector\"] }, providers: [{ provide: MAT_SUFFIX, useExisting: MatSuffix }], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSuffix, decorators: [{\n type: Directive,\n args: [{\n selector: '[matSuffix], [matIconSuffix], [matTextSuffix]',\n providers: [{ provide: MAT_SUFFIX, useExisting: MatSuffix }],\n }]\n }], propDecorators: { _isTextSelector: [{\n type: Input,\n args: ['matTextSuffix']\n }] } });\n\n/**\n * Internal directive that maintains a MDC floating label. This directive does not\n * use the `MDCFloatingLabelFoundation` class, as it is not worth the size cost of\n * including it just to measure the label width and toggle some classes.\n *\n * The use of a directive allows us to conditionally render a floating label in the\n * template without having to manually manage instantiation and destruction of the\n * floating label component based on.\n *\n * The component is responsible for setting up the floating label styles, measuring label\n * width for the outline notch, and providing inputs that can be used to toggle the\n * label's floating or required state.\n */\nclass MatFormFieldFloatingLabel {\n constructor(_elementRef) {\n this._elementRef = _elementRef;\n /** Whether the label is floating. */\n this.floating = false;\n }\n /** Gets the width of the label. Used for the outline notch. */\n getWidth() {\n return estimateScrollWidth(this._elementRef.nativeElement);\n }\n /** Gets the HTML element for the floating label. */\n get element() {\n return this._elementRef.nativeElement;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatFormFieldFloatingLabel, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatFormFieldFloatingLabel, selector: \"label[matFormFieldFloatingLabel]\", inputs: { floating: \"floating\" }, host: { properties: { \"class.mdc-floating-label--float-above\": \"floating\" }, classAttribute: \"mdc-floating-label mat-mdc-floating-label\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatFormFieldFloatingLabel, decorators: [{\n type: Directive,\n args: [{\n selector: 'label[matFormFieldFloatingLabel]',\n host: {\n 'class': 'mdc-floating-label mat-mdc-floating-label',\n '[class.mdc-floating-label--float-above]': 'floating',\n },\n }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { floating: [{\n type: Input\n }] } });\n/**\n * Estimates the scroll width of an element.\n * via https://github.com/material-components/material-components-web/blob/c0a11ef0d000a098fd0c372be8f12d6a99302855/packages/mdc-dom/ponyfill.ts\n */\nfunction estimateScrollWidth(element) {\n // Check the offsetParent. If the element inherits display: none from any\n // parent, the offsetParent property will be null (see\n // https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetParent).\n // This check ensures we only clone the node when necessary.\n const htmlEl = element;\n if (htmlEl.offsetParent !== null) {\n return htmlEl.scrollWidth;\n }\n const clone = htmlEl.cloneNode(true);\n clone.style.setProperty('position', 'absolute');\n clone.style.setProperty('transform', 'translate(-9999px, -9999px)');\n document.documentElement.appendChild(clone);\n const scrollWidth = clone.scrollWidth;\n clone.remove();\n return scrollWidth;\n}\n\n/** Class added when the line ripple is active. */\nconst ACTIVATE_CLASS = 'mdc-line-ripple--active';\n/** Class added when the line ripple is being deactivated. */\nconst DEACTIVATING_CLASS = 'mdc-line-ripple--deactivating';\n/**\n * Internal directive that creates an instance of the MDC line-ripple component. Using a\n * directive allows us to conditionally render a line-ripple in the template without having\n * to manually create and destroy the `MDCLineRipple` component whenever the condition changes.\n *\n * The directive sets up the styles for the line-ripple and provides an API for activating\n * and deactivating the line-ripple.\n */\nclass MatFormFieldLineRipple {\n constructor(_elementRef, ngZone) {\n this._elementRef = _elementRef;\n this._handleTransitionEnd = (event) => {\n const classList = this._elementRef.nativeElement.classList;\n const isDeactivating = classList.contains(DEACTIVATING_CLASS);\n if (event.propertyName === 'opacity' && isDeactivating) {\n classList.remove(ACTIVATE_CLASS, DEACTIVATING_CLASS);\n }\n };\n ngZone.runOutsideAngular(() => {\n _elementRef.nativeElement.addEventListener('transitionend', this._handleTransitionEnd);\n });\n }\n activate() {\n const classList = this._elementRef.nativeElement.classList;\n classList.remove(DEACTIVATING_CLASS);\n classList.add(ACTIVATE_CLASS);\n }\n deactivate() {\n this._elementRef.nativeElement.classList.add(DEACTIVATING_CLASS);\n }\n ngOnDestroy() {\n this._elementRef.nativeElement.removeEventListener('transitionend', this._handleTransitionEnd);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatFormFieldLineRipple, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatFormFieldLineRipple, selector: \"div[matFormFieldLineRipple]\", host: { classAttribute: \"mdc-line-ripple\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatFormFieldLineRipple, decorators: [{\n type: Directive,\n args: [{\n selector: 'div[matFormFieldLineRipple]',\n host: {\n 'class': 'mdc-line-ripple',\n },\n }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; } });\n\n/**\n * Internal component that creates an instance of the MDC notched-outline component.\n *\n * The component sets up the HTML structure and styles for the notched-outline. It provides\n * inputs to toggle the notch state and width.\n */\nclass MatFormFieldNotchedOutline {\n constructor(_elementRef, _ngZone) {\n this._elementRef = _elementRef;\n this._ngZone = _ngZone;\n /** Width of the label (original scale) */\n this.labelWidth = 0;\n /** Whether the notch should be opened. */\n this.open = false;\n }\n ngAfterViewInit() {\n const label = this._elementRef.nativeElement.querySelector('.mdc-floating-label');\n if (label) {\n this._elementRef.nativeElement.classList.add('mdc-notched-outline--upgraded');\n if (typeof requestAnimationFrame === 'function') {\n label.style.transitionDuration = '0s';\n this._ngZone.runOutsideAngular(() => {\n requestAnimationFrame(() => (label.style.transitionDuration = ''));\n });\n }\n }\n else {\n this._elementRef.nativeElement.classList.add('mdc-notched-outline--no-label');\n }\n }\n _getNotchWidth() {\n if (this.open) {\n const NOTCH_ELEMENT_PADDING = 8;\n const NOTCH_ELEMENT_BORDER = 1;\n return this.labelWidth > 0\n ? `calc(${this.labelWidth}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + ${NOTCH_ELEMENT_PADDING + NOTCH_ELEMENT_BORDER}px)`\n : '0px';\n }\n return null;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatFormFieldNotchedOutline, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatFormFieldNotchedOutline, selector: \"div[matFormFieldNotchedOutline]\", inputs: { labelWidth: [\"matFormFieldNotchedOutlineLabelWidth\", \"labelWidth\"], open: [\"matFormFieldNotchedOutlineOpen\", \"open\"] }, host: { properties: { \"class.mdc-notched-outline--notched\": \"open\" }, classAttribute: \"mdc-notched-outline\" }, ngImport: i0, template: \"<div class=\\\"mdc-notched-outline__leading\\\"></div>\\n<div class=\\\"mdc-notched-outline__notch\\\" [style.width]=\\\"_getNotchWidth()\\\">\\n <ng-content></ng-content>\\n</div>\\n<div class=\\\"mdc-notched-outline__trailing\\\"></div>\\n\", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatFormFieldNotchedOutline, decorators: [{\n type: Component,\n args: [{ selector: 'div[matFormFieldNotchedOutline]', host: {\n 'class': 'mdc-notched-outline',\n // Besides updating the notch state through the MDC component, we toggle this class through\n // a host binding in order to ensure that the notched-outline renders correctly on the server.\n '[class.mdc-notched-outline--notched]': 'open',\n }, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: \"<div class=\\\"mdc-notched-outline__leading\\\"></div>\\n<div class=\\\"mdc-notched-outline__notch\\\" [style.width]=\\\"_getNotchWidth()\\\">\\n <ng-content></ng-content>\\n</div>\\n<div class=\\\"mdc-notched-outline__trailing\\\"></div>\\n\" }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { labelWidth: [{\n type: Input,\n args: ['matFormFieldNotchedOutlineLabelWidth']\n }], open: [{\n type: Input,\n args: ['matFormFieldNotchedOutlineOpen']\n }] } });\n\n/**\n * Animations used by the MatFormField.\n * @docs-private\n */\nconst matFormFieldAnimations = {\n /** Animation that transitions the form field's error and hint messages. */\n transitionMessages: trigger('transitionMessages', [\n // TODO(mmalerba): Use angular animations for label animation as well.\n state('enter', style({ opacity: 1, transform: 'translateY(0%)' })),\n transition('void => enter', [\n style({ opacity: 0, transform: 'translateY(-5px)' }),\n animate('300ms cubic-bezier(0.55, 0, 0.55, 0.2)'),\n ]),\n ]),\n};\n\n/** An interface which allows a control to work inside of a `MatFormField`. */\nclass MatFormFieldControl {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatFormFieldControl, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatFormFieldControl, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatFormFieldControl, decorators: [{\n type: Directive\n }] });\n\n/** @docs-private */\nfunction getMatFormFieldPlaceholderConflictError() {\n return Error('Placeholder attribute and child element were both specified.');\n}\n/** @docs-private */\nfunction getMatFormFieldDuplicatedHintError(align) {\n return Error(`A hint was already declared for 'align=\"${align}\"'.`);\n}\n/** @docs-private */\nfunction getMatFormFieldMissingControlError() {\n return Error('mat-form-field must contain a MatFormFieldControl.');\n}\n\n/**\n * Injection token that can be used to inject an instances of `MatFormField`. It serves\n * as alternative token to the actual `MatFormField` class which would cause unnecessary\n * retention of the `MatFormField` class and its component metadata.\n */\nconst MAT_FORM_FIELD = new InjectionToken('MatFormField');\n/**\n * Injection token that can be used to configure the\n * default options for all form field within an app.\n */\nconst MAT_FORM_FIELD_DEFAULT_OPTIONS = new InjectionToken('MAT_FORM_FIELD_DEFAULT_OPTIONS');\nlet nextUniqueId = 0;\n/** Default appearance used by the form field. */\nconst DEFAULT_APPEARANCE = 'fill';\n/**\n * Whether the label for form fields should by default float `always`,\n * `never`, or `auto`.\n */\nconst DEFAULT_FLOAT_LABEL = 'auto';\n/** Default way that the subscript element height is set. */\nconst DEFAULT_SUBSCRIPT_SIZING = 'fixed';\n/**\n * Default transform for docked floating labels in a MDC text-field. This value has been\n * extracted from the MDC text-field styles because we programmatically modify the docked\n * label transform, but do not want to accidentally discard the default label transform.\n */\nconst FLOATING_LABEL_DEFAULT_DOCKED_TRANSFORM = `translateY(-50%)`;\n/** Container for form controls that applies Material Design styling and behavior. */\nclass MatFormField {\n /** Whether the required marker should be hidden. */\n get hideRequiredMarker() {\n return this._hideRequiredMarker;\n }\n set hideRequiredMarker(value) {\n this._hideRequiredMarker = coerceBooleanProperty(value);\n }\n /** Whether the label should always float or float as the user types. */\n get floatLabel() {\n return this._floatLabel || this._defaults?.floatLabel || DEFAULT_FLOAT_LABEL;\n }\n set floatLabel(value) {\n if (value !== this._floatLabel) {\n this._floatLabel = value;\n // For backwards compatibility. Custom form field controls or directives might set\n // the \"floatLabel\" input and expect the form field view to be updated automatically.\n // e.g. autocomplete trigger. Ideally we'd get rid of this and the consumers would just\n // emit the \"stateChanges\" observable. TODO(devversion): consider removing.\n this._changeDetectorRef.markForCheck();\n }\n }\n /** The form field appearance style. */\n get appearance() {\n return this._appearance;\n }\n set appearance(value) {\n const oldValue = this._appearance;\n const newAppearance = value || this._defaults?.appearance || DEFAULT_APPEARANCE;\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (newAppearance !== 'fill' && newAppearance !== 'outline') {\n throw new Error(`MatFormField: Invalid appearance \"${newAppearance}\", valid values are \"fill\" or \"outline\".`);\n }\n }\n this._appearance = newAppearance;\n if (this._appearance === 'outline' && this._appearance !== oldValue) {\n this._refreshOutlineNotchWidth();\n // If the appearance has been switched to `outline`, the label offset needs to be updated.\n // The update can happen once the view has been re-checked, but not immediately because\n // the view has not been updated and the notched-outline floating label is not present.\n this._needsOutlineLabelOffsetUpdateOnStable = true;\n }\n }\n /**\n * Whether the form field should reserve space for one line of hint/error text (default)\n * or to have the spacing grow from 0px as needed based on the size of the hint/error content.\n * Note that when using dynamic sizing, layout shifts will occur when hint/error text changes.\n */\n get subscriptSizing() {\n return this._subscriptSizing || this._defaults?.subscriptSizing || DEFAULT_SUBSCRIPT_SIZING;\n }\n set subscriptSizing(value) {\n this._subscriptSizing = value || this._defaults?.subscriptSizing || DEFAULT_SUBSCRIPT_SIZING;\n }\n /** Text for the form field hint. */\n get hintLabel() {\n return this._hintLabel;\n }\n set hintLabel(value) {\n this._hintLabel = value;\n this._processHints();\n }\n /** Gets the current form field control */\n get _control() {\n return this._explicitFormFieldControl || this._formFieldControl;\n }\n set _control(value) {\n this._explicitFormFieldControl = value;\n }\n constructor(_elementRef, _changeDetectorRef, _ngZone, _dir, _platform, _defaults, _animationMode, _document) {\n this._elementRef = _elementRef;\n this._changeDetectorRef = _changeDetectorRef;\n this._ngZone = _ngZone;\n this._dir = _dir;\n this._platform = _platform;\n this._defaults = _defaults;\n this._animationMode = _animationMode;\n this._document = _document;\n this._hideRequiredMarker = false;\n /** The color palette for the form field. */\n this.color = 'primary';\n this._appearance = DEFAULT_APPEARANCE;\n this._subscriptSizing = null;\n this._hintLabel = '';\n this._hasIconPrefix = false;\n this._hasTextPrefix = false;\n this._hasIconSuffix = false;\n this._hasTextSuffix = false;\n // Unique id for the internal form field label.\n this._labelId = `mat-mdc-form-field-label-${nextUniqueId++}`;\n // Unique id for the hint label.\n this._hintLabelId = `mat-mdc-hint-${nextUniqueId++}`;\n /** State of the mat-hint and mat-error animations. */\n this._subscriptAnimationState = '';\n /** Width of the label element (at scale=1). */\n this._labelWidth = 0;\n this._destroyed = new Subject();\n this._isFocused = null;\n this._needsOutlineLabelOffsetUpdateOnStable = false;\n if (_defaults) {\n if (_defaults.appearance) {\n this.appearance = _defaults.appearance;\n }\n this._hideRequiredMarker = Boolean(_defaults?.hideRequiredMarker);\n if (_defaults.color) {\n this.color = _defaults.color;\n }\n }\n }\n ngAfterViewInit() {\n // Initial focus state sync. This happens rarely, but we want to account for\n // it in case the form field control has \"focused\" set to true on init.\n this._updateFocusState();\n // Initial notch width update. This is needed in case the text-field label floats\n // on initialization, and renders inside of the notched outline.\n this._refreshOutlineNotchWidth();\n // Make sure fonts are loaded before calculating the width.\n // zone.js currently doesn't patch the FontFaceSet API so two calls to\n // _refreshOutlineNotchWidth is needed for this to work properly in async tests.\n // Furthermore if the font takes a long time to load we want the outline notch to be close\n // to the correct width from the start then correct itself when the fonts load.\n if (this._document?.fonts?.ready) {\n this._document.fonts.ready.then(() => {\n this._refreshOutlineNotchWidth();\n this._changeDetectorRef.markForCheck();\n });\n }\n else {\n // FontFaceSet is not supported in IE\n setTimeout(() => this._refreshOutlineNotchWidth(), 100);\n }\n // Enable animations now. This ensures we don't animate on initial render.\n this._subscriptAnimationState = 'enter';\n // Because the above changes a value used in the template after it was checked, we need\n // to trigger CD or the change might not be reflected if there is no other CD scheduled.\n this._changeDetectorRef.detectChanges();\n }\n ngAfterContentInit() {\n this._assertFormFieldControl();\n this._initializeControl();\n this._initializeSubscript();\n this._initializePrefixAndSuffix();\n this._initializeOutlineLabelOffsetSubscriptions();\n }\n ngAfterContentChecked() {\n this._assertFormFieldControl();\n }\n ngOnDestroy() {\n this._destroyed.next();\n this._destroyed.complete();\n }\n /**\n * Gets the id of the label element. If no label is present, returns `null`.\n */\n getLabelId() {\n return this._hasFloatingLabel() ? this._labelId : null;\n }\n /**\n * Gets an ElementRef for the element that a overlay attached to the form field\n * should be positioned relative to.\n */\n getConnectedOverlayOrigin() {\n return this._textField || this._elementRef;\n }\n /** Animates the placeholder up and locks it in position. */\n _animateAndLockLabel() {\n // This is for backwards compatibility only. Consumers of the form field might use\n // this method. e.g. the autocomplete trigger. This method has been added to the non-MDC\n // form field because setting \"floatLabel\" to \"always\" caused the label to float without\n // animation. This is different in MDC where the label always animates, so this method\n // is no longer necessary. There doesn't seem any benefit in adding logic to allow changing\n // the floating label state without animations. The non-MDC implementation was inconsistent\n // because it always animates if \"floatLabel\" is set away from \"always\".\n // TODO(devversion): consider removing this method when releasing the MDC form field.\n if (this._hasFloatingLabel()) {\n this.floatLabel = 'always';\n }\n }\n /** Initializes the registered form field control. */\n _initializeControl() {\n const control = this._control;\n if (control.controlType) {\n this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${control.controlType}`);\n }\n // Subscribe to changes in the child control state in order to update the form field UI.\n control.stateChanges.subscribe(() => {\n this._updateFocusState();\n this._syncDescribedByIds();\n this._changeDetectorRef.markForCheck();\n });\n // Run change detection if the value changes.\n if (control.ngControl && control.ngControl.valueChanges) {\n control.ngControl.valueChanges\n .pipe(takeUntil(this._destroyed))\n .subscribe(() => this._changeDetectorRef.markForCheck());\n }\n }\n _checkPrefixAndSuffixTypes() {\n this._hasIconPrefix = !!this._prefixChildren.find(p => !p._isText);\n this._hasTextPrefix = !!this._prefixChildren.find(p => p._isText);\n this._hasIconSuffix = !!this._suffixChildren.find(s => !s._isText);\n this._hasTextSuffix = !!this._suffixChildren.find(s => s._isText);\n }\n /** Initializes the prefix and suffix containers. */\n _initializePrefixAndSuffix() {\n this._checkPrefixAndSuffixTypes();\n // Mark the form field as dirty whenever the prefix or suffix children change. This\n // is necessary because we conditionally display the prefix/suffix containers based\n // on whether there is projected content.\n merge(this._prefixChildren.changes, this._suffixChildren.changes).subscribe(() => {\n this._checkPrefixAndSuffixTypes();\n this._changeDetectorRef.markForCheck();\n });\n }\n /**\n * Initializes the subscript by validating hints and synchronizing \"aria-describedby\" ids\n * with the custom form field control. Also subscribes to hint and error changes in order\n * to be able to validate and synchronize ids on change.\n */\n _initializeSubscript() {\n // Re-validate when the number of hints changes.\n this._hintChildren.changes.subscribe(() => {\n this._processHints();\n this._changeDetectorRef.markForCheck();\n });\n // Update the aria-described by when the number of errors changes.\n this._errorChildren.changes.subscribe(() => {\n this._syncDescribedByIds();\n this._changeDetectorRef.markForCheck();\n });\n // Initial mat-hint validation and subscript describedByIds sync.\n this._validateHints();\n this._syncDescribedByIds();\n }\n /** Throws an error if the form field's control is missing. */\n _assertFormFieldControl() {\n if (!this._control && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw getMatFormFieldMissingControlError();\n }\n }\n _updateFocusState() {\n // Usually the MDC foundation would call \"activateFocus\" and \"deactivateFocus\" whenever\n // certain DOM events are emitted. This is not possible in our implementation of the\n // form field because we support abstract form field controls which are not necessarily\n // of type input, nor do we have a reference to a native form field control element. Instead\n // we handle the focus by checking if the abstract form field control focused state changes.\n if (this._control.focused && !this._isFocused) {\n this._isFocused = true;\n this._lineRipple?.activate();\n }\n else if (!this._control.focused && (this._isFocused || this._isFocused === null)) {\n this._isFocused = false;\n this._lineRipple?.deactivate();\n }\n this._textField?.nativeElement.classList.toggle('mdc-text-field--focused', this._control.focused);\n }\n /**\n * The floating label in the docked state needs to account for prefixes. The horizontal offset\n * is calculated whenever the appearance changes to `outline`, the prefixes change, or when the\n * form field is added to the DOM. This method sets up all subscriptions which are needed to\n * trigger the label offset update. In general, we want to avoid performing measurements often,\n * so we rely on the `NgZone` as indicator when the offset should be recalculated, instead of\n * checking every change detection cycle.\n */\n _initializeOutlineLabelOffsetSubscriptions() {\n // Whenever the prefix changes, schedule an update of the label offset.\n this._prefixChildren.changes.subscribe(() => (this._needsOutlineLabelOffsetUpdateOnStable = true));\n // Note that we have to run outside of the `NgZone` explicitly, in order to avoid\n // throwing users into an infinite loop if `zone-patch-rxjs` is included.\n this._ngZone.runOutsideAngular(() => {\n this._ngZone.onStable.pipe(takeUntil(this._destroyed)).subscribe(() => {\n if (this._needsOutlineLabelOffsetUpdateOnStable) {\n this._needsOutlineLabelOffsetUpdateOnStable = false;\n this._updateOutlineLabelOffset();\n }\n });\n });\n this._dir.change\n .pipe(takeUntil(this._destroyed))\n .subscribe(() => (this._needsOutlineLabelOffsetUpdateOnStable = true));\n }\n /** Whether the floating label should always float or not. */\n _shouldAlwaysFloat() {\n return this.floatLabel === 'always';\n }\n _hasOutline() {\n return this.appearance === 'outline';\n }\n /**\n * Whether the label should display in the infix. Labels in the outline appearance are\n * displayed as part of the notched-outline and are horizontally offset to account for\n * form field prefix content. This won't work in server side rendering since we cannot\n * measure the width of the prefix container. To make the docked label appear as if the\n * right offset has been calculated, we forcibly render the label inside the infix. Since\n * the label is part of the infix, the label cannot overflow the prefix content.\n */\n _forceDisplayInfixLabel() {\n return !this._platform.isBrowser && this._prefixChildren.length && !this._shouldLabelFloat();\n }\n _hasFloatingLabel() {\n return !!this._labelChildNonStatic || !!this._labelChildStatic;\n }\n _shouldLabelFloat() {\n return this._control.shouldLabelFloat || this._shouldAlwaysFloat();\n }\n /**\n * Determines whether a class from the AbstractControlDirective\n * should be forwarded to the host element.\n */\n _shouldForward(prop) {\n const control = this._control ? this._control.ngControl : null;\n return control && control[prop];\n }\n /** Determines whether to display hints or errors. */\n _getDisplayedMessages() {\n return this._errorChildren && this._errorChildren.length > 0 && this._control.errorState\n ? 'error'\n : 'hint';\n }\n /** Refreshes the width of the outline-notch, if present. */\n _refreshOutlineNotchWidth() {\n if (!this._hasOutline() || !this._floatingLabel) {\n return;\n }\n this._labelWidth = this._floatingLabel.getWidth();\n }\n /** Does any extra processing that is required when handling the hints. */\n _processHints() {\n this._validateHints();\n this._syncDescribedByIds();\n }\n /**\n * Ensure that there is a maximum of one of each \"mat-hint\" alignment specified. The hint\n * label specified set through the input is being considered as \"start\" aligned.\n *\n * This method is a noop if Angular runs in production mode.\n */\n _validateHints() {\n if (this._hintChildren && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n let startHint;\n let endHint;\n this._hintChildren.forEach((hint) => {\n if (hint.align === 'start') {\n if (startHint || this.hintLabel) {\n throw getMatFormFieldDuplicatedHintError('start');\n }\n startHint = hint;\n }\n else if (hint.align === 'end') {\n if (endHint) {\n throw getMatFormFieldDuplicatedHintError('end');\n }\n endHint = hint;\n }\n });\n }\n }\n /**\n * Sets the list of element IDs that describe the child control. This allows the control to update\n * its `aria-describedby` attribute accordingly.\n */\n _syncDescribedByIds() {\n if (this._control) {\n let ids = [];\n // TODO(wagnermaciel): Remove the type check when we find the root cause of this bug.\n if (this._control.userAriaDescribedBy &&\n typeof this._control.userAriaDescribedBy === 'string') {\n ids.push(...this._control.userAriaDescribedBy.split(' '));\n }\n if (this._getDisplayedMessages() === 'hint') {\n const startHint = this._hintChildren\n ? this._hintChildren.find(hint => hint.align === 'start')\n : null;\n const endHint = this._hintChildren\n ? this._hintChildren.find(hint => hint.align === 'end')\n : null;\n if (startHint) {\n ids.push(startHint.id);\n }\n else if (this._hintLabel) {\n ids.push(this._hintLabelId);\n }\n if (endHint) {\n ids.push(endHint.id);\n }\n }\n else if (this._errorChildren) {\n ids.push(...this._errorChildren.map(error => error.id));\n }\n this._control.setDescribedByIds(ids);\n }\n }\n /**\n * Updates the horizontal offset of the label in the outline appearance. In the outline\n * appearance, the notched-outline and label are not relative to the infix container because\n * the outline intends to surround prefixes, suffixes and the infix. This means that the\n * floating label by default overlaps prefixes in the docked state. To avoid this, we need to\n * horizontally offset the label by the width of the prefix container. The MDC text-field does\n * not need to do this because they use a fixed width for prefixes. Hence, they can simply\n * incorporate the horizontal offset into their default text-field styles.\n */\n _updateOutlineLabelOffset() {\n if (!this._platform.isBrowser || !this._hasOutline() || !this._floatingLabel) {\n return;\n }\n const floatingLabel = this._floatingLabel.element;\n // If no prefix is displayed, reset the outline label offset from potential\n // previous label offset updates.\n if (!(this._iconPrefixContainer || this._textPrefixContainer)) {\n floatingLabel.style.transform = '';\n return;\n }\n // If the form field is not attached to the DOM yet (e.g. in a tab), we defer\n // the label offset update until the zone stabilizes.\n if (!this._isAttachedToDom()) {\n this._needsOutlineLabelOffsetUpdateOnStable = true;\n return;\n }\n const iconPrefixContainer = this._iconPrefixContainer?.nativeElement;\n const textPrefixContainer = this._textPrefixContainer?.nativeElement;\n const iconPrefixContainerWidth = iconPrefixContainer?.getBoundingClientRect().width ?? 0;\n const textPrefixContainerWidth = textPrefixContainer?.getBoundingClientRect().width ?? 0;\n // If the directionality is RTL, the x-axis transform needs to be inverted. This\n // is because `transformX` does not change based on the page directionality.\n const negate = this._dir.value === 'rtl' ? '-1' : '1';\n const prefixWidth = `${iconPrefixContainerWidth + textPrefixContainerWidth}px`;\n const labelOffset = `var(--mat-mdc-form-field-label-offset-x, 0px)`;\n const labelHorizontalOffset = `calc(${negate} * (${prefixWidth} + ${labelOffset}))`;\n // Update the translateX of the floating label to account for the prefix container,\n // but allow the CSS to override this setting via a CSS variable when the label is\n // floating.\n floatingLabel.style.transform = `var(\n --mat-mdc-form-field-label-transform,\n ${FLOATING_LABEL_DEFAULT_DOCKED_TRANSFORM} translateX(${labelHorizontalOffset})\n )`;\n }\n /** Checks whether the form field is attached to the DOM. */\n _isAttachedToDom() {\n const element = this._elementRef.nativeElement;\n if (element.getRootNode) {\n const rootNode = element.getRootNode();\n // If the element is inside the DOM the root node will be either the document\n // or the closest shadow root, otherwise it'll be the element itself.\n return rootNode && rootNode !== element;\n }\n // Otherwise fall back to checking if it's in the document. This doesn't account for\n // shadow DOM, however browser that support shadow DOM should support `getRootNode` as well.\n return document.documentElement.contains(element);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatFormField, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i1.Directionality }, { token: i2.Platform }, { token: MAT_FORM_FIELD_DEFAULT_OPTIONS, optional: true }, { token: ANIMATION_MODULE_TYPE, optional: true }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatFormField, selector: \"mat-form-field\", inputs: { hideRequiredMarker: \"hideRequiredMarker\", color: \"color\", floatLabel: \"floatLabel\", appearance: \"appearance\", subscriptSizing: \"subscriptSizing\", hintLabel: \"hintLabel\" }, host: { properties: { \"class.mat-mdc-form-field-label-always-float\": \"_shouldAlwaysFloat()\", \"class.mat-mdc-form-field-has-icon-prefix\": \"_hasIconPrefix\", \"class.mat-mdc-form-field-has-icon-suffix\": \"_hasIconSuffix\", \"class.mat-form-field-invalid\": \"_control.errorState\", \"class.mat-form-field-disabled\": \"_control.disabled\", \"class.mat-form-field-autofilled\": \"_control.autofilled\", \"class.mat-form-field-no-animations\": \"_animationMode === \\\"NoopAnimations\\\"\", \"class.mat-form-field-appearance-fill\": \"appearance == \\\"fill\\\"\", \"class.mat-form-field-appearance-outline\": \"appearance == \\\"outline\\\"\", \"class.mat-form-field-hide-placeholder\": \"_hasFloatingLabel() && !_shouldLabelFloat()\", \"class.mat-focused\": \"_control.focused\", \"class.mat-primary\": \"color !== \\\"accent\\\" && color !== \\\"warn\\\"\", \"class.mat-accent\": \"color === \\\"accent\\\"\", \"class.mat-warn\": \"color === \\\"warn\\\"\", \"class.ng-untouched\": \"_shouldForward(\\\"untouched\\\")\", \"class.ng-touched\": \"_shouldForward(\\\"touched\\\")\", \"class.ng-pristine\": \"_shouldForward(\\\"pristine\\\")\", \"class.ng-dirty\": \"_shouldForward(\\\"dirty\\\")\", \"class.ng-valid\": \"_shouldForward(\\\"valid\\\")\", \"class.ng-invalid\": \"_shouldForward(\\\"invalid\\\")\", \"class.ng-pending\": \"_shouldForward(\\\"pending\\\")\" }, classAttribute: \"mat-mdc-form-field\" }, providers: [{ provide: MAT_FORM_FIELD, useExisting: MatFormField }], queries: [{ propertyName: \"_labelChildNonStatic\", first: true, predicate: MatLabel, descendants: true }, { propertyName: \"_labelChildStatic\", first: true, predicate: MatLabel, descendants: true, static: true }, { propertyName: \"_formFieldControl\", first: true, predicate: MatFormFieldControl, descendants: true }, { propertyName: \"_prefixChildren\", predicate: MAT_PREFIX, descendants: true }, { propertyName: \"_suffixChildren\", predicate: MAT_SUFFIX, descendants: true }, { propertyName: \"_errorChildren\", predicate: MAT_ERROR, descendants: true }, { propertyName: \"_hintChildren\", predicate: MatHint, descendants: true }], viewQueries: [{ propertyName: \"_textField\", first: true, predicate: [\"textField\"], descendants: true }, { propertyName: \"_iconPrefixContainer\", first: true, predicate: [\"iconPrefixContainer\"], descendants: true }, { propertyName: \"_textPrefixContainer\", first: true, predicate: [\"textPrefixContainer\"], descendants: true }, { propertyName: \"_floatingLabel\", first: true, predicate: MatFormFieldFloatingLabel, descendants: true }, { propertyName: \"_notchedOutline\", first: true, predicate: MatFormFieldNotchedOutline, descendants: true }, { propertyName: \"_lineRipple\", first: true, predicate: MatFormFieldLineRipple, descendants: true }], exportAs: [\"matFormField\"], ngImport: i0, template: \"<ng-template #labelTemplate>\\n <!--\\n MDC recommends that the text-field is a `<label>` element. This rather complicates the\\n setup because it would require every form-field control to explicitly set `aria-labelledby`.\\n This is because the `<label>` itself contains more than the actual label (e.g. prefix, suffix\\n or other projected content), and screen readers could potentially read out undesired content.\\n Excluding elements from being printed out requires them to be marked with `aria-hidden`, or\\n the form control is set to a scoped element for the label (using `aria-labelledby`). Both of\\n these options seem to complicate the setup because we know exactly what content is rendered\\n as part of the label, and we don't want to spend resources on walking through projected content\\n to set `aria-hidden`. Nor do we want to set `aria-labelledby` on every form control if we could\\n simply link the label to the control using the label `for` attribute.\\n\\n *Note*: We add aria-owns as a workaround for an issue in JAWS & NVDA where the label isn't\\n read if it comes before the control in the DOM.\\n -->\\n <label matFormFieldFloatingLabel\\n [floating]=\\\"_shouldLabelFloat()\\\"\\n *ngIf=\\\"_hasFloatingLabel()\\\"\\n (cdkObserveContent)=\\\"_refreshOutlineNotchWidth()\\\"\\n [cdkObserveContentDisabled]=\\\"!_hasOutline()\\\"\\n [id]=\\\"_labelId\\\"\\n [attr.for]=\\\"_control.id\\\"\\n [attr.aria-owns]=\\\"_control.id\\\">\\n <ng-content select=\\\"mat-label\\\"></ng-content>\\n <!--\\n We set the required marker as a separate element, in order to make it easier to target if\\n apps want to override it and to be able to set `aria-hidden` so that screen readers don't\\n pick it up.\\n -->\\n <span\\n *ngIf=\\\"!hideRequiredMarker && _control.required\\\"\\n aria-hidden=\\\"true\\\"\\n class=\\\"mat-mdc-form-field-required-marker mdc-floating-label--required\\\"></span>\\n </label>\\n</ng-template>\\n\\n<div class=\\\"mat-mdc-text-field-wrapper mdc-text-field\\\" #textField\\n [class.mdc-text-field--filled]=\\\"!_hasOutline()\\\"\\n [class.mdc-text-field--outlined]=\\\"_hasOutline()\\\"\\n [class.mdc-text-field--no-label]=\\\"!_hasFloatingLabel()\\\"\\n [class.mdc-text-field--disabled]=\\\"_control.disabled\\\"\\n [class.mdc-text-field--invalid]=\\\"_control.errorState\\\"\\n (click)=\\\"_control.onContainerClick($event)\\\">\\n <div class=\\\"mat-mdc-form-field-focus-overlay\\\" *ngIf=\\\"!_hasOutline() && !_control.disabled\\\"></div>\\n <div class=\\\"mat-mdc-form-field-flex\\\">\\n <div *ngIf=\\\"_hasOutline()\\\" matFormFieldNotchedOutline\\n [matFormFieldNotchedOutlineOpen]=\\\"_shouldLabelFloat()\\\"\\n [matFormFieldNotchedOutlineLabelWidth]=\\\"_labelWidth\\\">\\n <ng-template [ngIf]=\\\"!_forceDisplayInfixLabel()\\\">\\n <ng-template [ngTemplateOutlet]=\\\"labelTemplate\\\"></ng-template>\\n </ng-template>\\n </div>\\n\\n <div class=\\\"mat-mdc-form-field-icon-prefix\\\" *ngIf=\\\"_hasIconPrefix\\\" #iconPrefixContainer>\\n <ng-content select=\\\"[matPrefix], [matIconPrefix]\\\"></ng-content>\\n </div>\\n <div class=\\\"mat-mdc-form-field-text-prefix\\\" *ngIf=\\\"_hasTextPrefix\\\" #textPrefixContainer>\\n <ng-content select=\\\"[matTextPrefix]\\\"></ng-content>\\n </div>\\n\\n <div class=\\\"mat-mdc-form-field-infix\\\">\\n <ng-template [ngIf]=\\\"!_hasOutline() || _forceDisplayInfixLabel()\\\">\\n <ng-template [ngTemplateOutlet]=\\\"labelTemplate\\\"></ng-template>\\n </ng-template>\\n\\n <ng-content></ng-content>\\n </div>\\n\\n <div class=\\\"mat-mdc-form-field-text-suffix\\\" *ngIf=\\\"_hasTextSuffix\\\">\\n <ng-content select=\\\"[matTextSuffix]\\\"></ng-content>\\n </div>\\n <div class=\\\"mat-mdc-form-field-icon-suffix\\\" *ngIf=\\\"_hasIconSuffix\\\">\\n <ng-content select=\\\"[matSuffix], [matIconSuffix]\\\"></ng-content>\\n </div>\\n </div>\\n\\n <div matFormFieldLineRipple *ngIf=\\\"!_hasOutline()\\\"></div>\\n</div>\\n\\n<div class=\\\"mat-mdc-form-field-subscript-wrapper mat-mdc-form-field-bottom-align\\\"\\n [class.mat-mdc-form-field-subscript-dynamic-size]=\\\"subscriptSizing === 'dynamic'\\\"\\n [ngSwitch]=\\\"_getDisplayedMessages()\\\">\\n <div class=\\\"mat-mdc-form-field-error-wrapper\\\" *ngSwitchCase=\\\"'error'\\\"\\n [@transitionMessages]=\\\"_subscriptAnimationState\\\">\\n <ng-content select=\\\"mat-error, [matError]\\\"></ng-content>\\n </div>\\n\\n <div class=\\\"mat-mdc-form-field-hint-wrapper\\\" *ngSwitchCase=\\\"'hint'\\\"\\n [@transitionMessages]=\\\"_subscriptAnimationState\\\">\\n <mat-hint *ngIf=\\\"hintLabel\\\" [id]=\\\"_hintLabelId\\\">{{hintLabel}}</mat-hint>\\n <ng-content select=\\\"mat-hint:not([align='end'])\\\"></ng-content>\\n <div class=\\\"mat-mdc-form-field-hint-spacer\\\"></div>\\n <ng-content select=\\\"mat-hint[align='end']\\\"></ng-content>\\n </div>\\n</div>\\n\", styles: [\".mdc-text-field{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:\\\"\\\";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:\\\"\\\";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:\\\"*\\\"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px * 2)}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:\\\"\\\"}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{line-height:normal;pointer-events:all}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:\\\"\\\";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:\\\"\\\";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}\"], dependencies: [{ kind: \"directive\", type: i3.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i3.NgTemplateOutlet, selector: \"[ngTemplateOutlet]\", inputs: [\"ngTemplateOutletContext\", \"ngTemplateOutlet\", \"ngTemplateOutletInjector\"] }, { kind: \"directive\", type: i3.NgSwitch, selector: \"[ngSwitch]\", inputs: [\"ngSwitch\"] }, { kind: \"directive\", type: i3.NgSwitchCase, selector: \"[ngSwitchCase]\", inputs: [\"ngSwitchCase\"] }, { kind: \"directive\", type: i4.CdkObserveContent, selector: \"[cdkObserveContent]\", inputs: [\"cdkObserveContentDisabled\", \"debounce\"], outputs: [\"cdkObserveContent\"], exportAs: [\"cdkObserveContent\"] }, { kind: \"directive\", type: MatHint, selector: \"mat-hint\", inputs: [\"align\", \"id\"] }, { kind: \"directive\", type: MatFormFieldFloatingLabel, selector: \"label[matFormFieldFloatingLabel]\", inputs: [\"floating\"] }, { kind: \"component\", type: MatFormFieldNotchedOutline, selector: \"div[matFormFieldNotchedOutline]\", inputs: [\"matFormFieldNotchedOutlineLabelWidth\", \"matFormFieldNotchedOutlineOpen\"] }, { kind: \"directive\", type: MatFormFieldLineRipple, selector: \"div[matFormFieldLineRipple]\" }], animations: [matFormFieldAnimations.transitionMessages], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatFormField, decorators: [{\n type: Component,\n args: [{ selector: 'mat-form-field', exportAs: 'matFormField', animations: [matFormFieldAnimations.transitionMessages], host: {\n 'class': 'mat-mdc-form-field',\n '[class.mat-mdc-form-field-label-always-float]': '_shouldAlwaysFloat()',\n '[class.mat-mdc-form-field-has-icon-prefix]': '_hasIconPrefix',\n '[class.mat-mdc-form-field-has-icon-suffix]': '_hasIconSuffix',\n // Note that these classes reuse the same names as the non-MDC version, because they can be\n // considered a public API since custom form controls may use them to style themselves.\n // See https://github.com/angular/components/pull/20502#discussion_r486124901.\n '[class.mat-form-field-invalid]': '_control.errorState',\n '[class.mat-form-field-disabled]': '_control.disabled',\n '[class.mat-form-field-autofilled]': '_control.autofilled',\n '[class.mat-form-field-no-animations]': '_animationMode === \"NoopAnimations\"',\n '[class.mat-form-field-appearance-fill]': 'appearance == \"fill\"',\n '[class.mat-form-field-appearance-outline]': 'appearance == \"outline\"',\n '[class.mat-form-field-hide-placeholder]': '_hasFloatingLabel() && !_shouldLabelFloat()',\n '[class.mat-focused]': '_control.focused',\n '[class.mat-primary]': 'color !== \"accent\" && color !== \"warn\"',\n '[class.mat-accent]': 'color === \"accent\"',\n '[class.mat-warn]': 'color === \"warn\"',\n '[class.ng-untouched]': '_shouldForward(\"untouched\")',\n '[class.ng-touched]': '_shouldForward(\"touched\")',\n '[class.ng-pristine]': '_shouldForward(\"pristine\")',\n '[class.ng-dirty]': '_shouldForward(\"dirty\")',\n '[class.ng-valid]': '_shouldForward(\"valid\")',\n '[class.ng-invalid]': '_shouldForward(\"invalid\")',\n '[class.ng-pending]': '_shouldForward(\"pending\")',\n }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [{ provide: MAT_FORM_FIELD, useExisting: MatFormField }], template: \"<ng-template #labelTemplate>\\n <!--\\n MDC recommends that the text-field is a `<label>` element. This rather complicates the\\n setup because it would require every form-field control to explicitly set `aria-labelledby`.\\n This is because the `<label>` itself contains more than the actual label (e.g. prefix, suffix\\n or other projected content), and screen readers could potentially read out undesired content.\\n Excluding elements from being printed out requires them to be marked with `aria-hidden`, or\\n the form control is set to a scoped element for the label (using `aria-labelledby`). Both of\\n these options seem to complicate the setup because we know exactly what content is rendered\\n as part of the label, and we don't want to spend resources on walking through projected content\\n to set `aria-hidden`. Nor do we want to set `aria-labelledby` on every form control if we could\\n simply link the label to the control using the label `for` attribute.\\n\\n *Note*: We add aria-owns as a workaround for an issue in JAWS & NVDA where the label isn't\\n read if it comes before the control in the DOM.\\n -->\\n <label matFormFieldFloatingLabel\\n [floating]=\\\"_shouldLabelFloat()\\\"\\n *ngIf=\\\"_hasFloatingLabel()\\\"\\n (cdkObserveContent)=\\\"_refreshOutlineNotchWidth()\\\"\\n [cdkObserveContentDisabled]=\\\"!_hasOutline()\\\"\\n [id]=\\\"_labelId\\\"\\n [attr.for]=\\\"_control.id\\\"\\n [attr.aria-owns]=\\\"_control.id\\\">\\n <ng-content select=\\\"mat-label\\\"></ng-content>\\n <!--\\n We set the required marker as a separate element, in order to make it easier to target if\\n apps want to override it and to be able to set `aria-hidden` so that screen readers don't\\n pick it up.\\n -->\\n <span\\n *ngIf=\\\"!hideRequiredMarker && _control.required\\\"\\n aria-hidden=\\\"true\\\"\\n class=\\\"mat-mdc-form-field-required-marker mdc-floating-label--required\\\"></span>\\n </label>\\n</ng-template>\\n\\n<div class=\\\"mat-mdc-text-field-wrapper mdc-text-field\\\" #textField\\n [class.mdc-text-field--filled]=\\\"!_hasOutline()\\\"\\n [class.mdc-text-field--outlined]=\\\"_hasOutline()\\\"\\n [class.mdc-text-field--no-label]=\\\"!_hasFloatingLabel()\\\"\\n [class.mdc-text-field--disabled]=\\\"_control.disabled\\\"\\n [class.mdc-text-field--invalid]=\\\"_control.errorState\\\"\\n (click)=\\\"_control.onContainerClick($event)\\\">\\n <div class=\\\"mat-mdc-form-field-focus-overlay\\\" *ngIf=\\\"!_hasOutline() && !_control.disabled\\\"></div>\\n <div class=\\\"mat-mdc-form-field-flex\\\">\\n <div *ngIf=\\\"_hasOutline()\\\" matFormFieldNotchedOutline\\n [matFormFieldNotchedOutlineOpen]=\\\"_shouldLabelFloat()\\\"\\n [matFormFieldNotchedOutlineLabelWidth]=\\\"_labelWidth\\\">\\n <ng-template [ngIf]=\\\"!_forceDisplayInfixLabel()\\\">\\n <ng-template [ngTemplateOutlet]=\\\"labelTemplate\\\"></ng-template>\\n </ng-template>\\n </div>\\n\\n <div class=\\\"mat-mdc-form-field-icon-prefix\\\" *ngIf=\\\"_hasIconPrefix\\\" #iconPrefixContainer>\\n <ng-content select=\\\"[matPrefix], [matIconPrefix]\\\"></ng-content>\\n </div>\\n <div class=\\\"mat-mdc-form-field-text-prefix\\\" *ngIf=\\\"_hasTextPrefix\\\" #textPrefixContainer>\\n <ng-content select=\\\"[matTextPrefix]\\\"></ng-content>\\n </div>\\n\\n <div class=\\\"mat-mdc-form-field-infix\\\">\\n <ng-template [ngIf]=\\\"!_hasOutline() || _forceDisplayInfixLabel()\\\">\\n <ng-template [ngTemplateOutlet]=\\\"labelTemplate\\\"></ng-template>\\n </ng-template>\\n\\n <ng-content></ng-content>\\n </div>\\n\\n <div class=\\\"mat-mdc-form-field-text-suffix\\\" *ngIf=\\\"_hasTextSuffix\\\">\\n <ng-content select=\\\"[matTextSuffix]\\\"></ng-content>\\n </div>\\n <div class=\\\"mat-mdc-form-field-icon-suffix\\\" *ngIf=\\\"_hasIconSuffix\\\">\\n <ng-content select=\\\"[matSuffix], [matIconSuffix]\\\"></ng-content>\\n </div>\\n </div>\\n\\n <div matFormFieldLineRipple *ngIf=\\\"!_hasOutline()\\\"></div>\\n</div>\\n\\n<div class=\\\"mat-mdc-form-field-subscript-wrapper mat-mdc-form-field-bottom-align\\\"\\n [class.mat-mdc-form-field-subscript-dynamic-size]=\\\"subscriptSizing === 'dynamic'\\\"\\n [ngSwitch]=\\\"_getDisplayedMessages()\\\">\\n <div class=\\\"mat-mdc-form-field-error-wrapper\\\" *ngSwitchCase=\\\"'error'\\\"\\n [@transitionMessages]=\\\"_subscriptAnimationState\\\">\\n <ng-content select=\\\"mat-error, [matError]\\\"></ng-content>\\n </div>\\n\\n <div class=\\\"mat-mdc-form-field-hint-wrapper\\\" *ngSwitchCase=\\\"'hint'\\\"\\n [@transitionMessages]=\\\"_subscriptAnimationState\\\">\\n <mat-hint *ngIf=\\\"hintLabel\\\" [id]=\\\"_hintLabelId\\\">{{hintLabel}}</mat-hint>\\n <ng-content select=\\\"mat-hint:not([align='end'])\\\"></ng-content>\\n <div class=\\\"mat-mdc-form-field-hint-spacer\\\"></div>\\n <ng-content select=\\\"mat-hint[align='end']\\\"></ng-content>\\n </div>\\n</div>\\n\", styles: [\".mdc-text-field{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:\\\"\\\";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:\\\"\\\";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:\\\"*\\\"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px * 2)}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:\\\"\\\"}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{line-height:normal;pointer-events:all}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:\\\"\\\";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:\\\"\\\";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i1.Directionality }, { type: i2.Platform }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_FORM_FIELD_DEFAULT_OPTIONS]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }]; }, propDecorators: { _textField: [{\n type: ViewChild,\n args: ['textField']\n }], _iconPrefixContainer: [{\n type: ViewChild,\n args: ['iconPrefixContainer']\n }], _textPrefixContainer: [{\n type: ViewChild,\n args: ['textPrefixContainer']\n }], _floatingLabel: [{\n type: ViewChild,\n args: [MatFormFieldFloatingLabel]\n }], _notchedOutline: [{\n type: ViewChild,\n args: [MatFormFieldNotchedOutline]\n }], _lineRipple: [{\n type: ViewChild,\n args: [MatFormFieldLineRipple]\n }], _labelChildNonStatic: [{\n type: ContentChild,\n args: [MatLabel]\n }], _labelChildStatic: [{\n type: ContentChild,\n args: [MatLabel, { static: true }]\n }], _formFieldControl: [{\n type: ContentChild,\n args: [MatFormFieldControl]\n }], _prefixChildren: [{\n type: ContentChildren,\n args: [MAT_PREFIX, { descendants: true }]\n }], _suffixChildren: [{\n type: ContentChildren,\n args: [MAT_SUFFIX, { descendants: true }]\n }], _errorChildren: [{\n type: ContentChildren,\n args: [MAT_ERROR, { descendants: true }]\n }], _hintChildren: [{\n type: ContentChildren,\n args: [MatHint, { descendants: true }]\n }], hideRequiredMarker: [{\n type: Input\n }], color: [{\n type: Input\n }], floatLabel: [{\n type: Input\n }], appearance: [{\n type: Input\n }], subscriptSizing: [{\n type: Input\n }], hintLabel: [{\n type: Input\n }] } });\n\nclass MatFormFieldModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatFormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatFormFieldModule, declarations: [MatFormField,\n MatLabel,\n MatError,\n MatHint,\n MatPrefix,\n MatSuffix,\n MatFormFieldFloatingLabel,\n MatFormFieldNotchedOutline,\n MatFormFieldLineRipple], imports: [MatCommonModule, CommonModule, ObserversModule], exports: [MatFormField, MatLabel, MatHint, MatError, MatPrefix, MatSuffix, MatCommonModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatFormFieldModule, imports: [MatCommonModule, CommonModule, ObserversModule, MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatFormFieldModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [MatCommonModule, CommonModule, ObserversModule],\n exports: [MatFormField, MatLabel, MatHint, MatError, MatPrefix, MatSuffix, MatCommonModule],\n declarations: [\n MatFormField,\n MatLabel,\n MatError,\n MatHint,\n MatPrefix,\n MatSuffix,\n MatFormFieldFloatingLabel,\n MatFormFieldNotchedOutline,\n MatFormFieldLineRipple,\n ],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MAT_ERROR, MAT_FORM_FIELD, MAT_FORM_FIELD_DEFAULT_OPTIONS, MAT_PREFIX, MAT_SUFFIX, MatError, MatFormField, MatFormFieldControl, MatFormFieldModule, MatHint, MatLabel, MatPrefix, MatSuffix, getMatFormFieldDuplicatedHintError, getMatFormFieldMissingControlError, getMatFormFieldPlaceholderConflictError, matFormFieldAnimations };\n"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22]} \ No newline at end of file diff --git a/8782.0020aeddc828f58c.js b/8782.0020aeddc828f58c.js new file mode 100644 index 0000000..6a4dc1a --- /dev/null +++ b/8782.0020aeddc828f58c.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[8782],{50253:(k,S,o)=>{o.d(S,{x:()=>T});var y=o(95106),C=o(78069),b=o(48047),R=o(4089),O=o(20265),s=o(24582),d=o(28694),p=o(90833),A=o(17714),P=(0,o(27543).d)(function(x){return function(){x(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),D=o(39663),U=o(12309),T=function(){var x=function(F){(0,s.Z)(E,F);var m=(0,d.Z)(E);function E(){var l;return(0,C.Z)(this,E),(l=m.call(this)).closed=!1,l.currentObservers=null,l.observers=[],l.isStopped=!1,l.hasError=!1,l.thrownError=null,l}return(0,b.Z)(E,[{key:"lift",value:function(i){var v=new L(this,this);return v.operator=i,v}},{key:"_throwIfClosed",value:function(){if(this.closed)throw new P}},{key:"next",value:function(i){var v=this;(0,U.x)(function(){if(v._throwIfClosed(),!v.isStopped){v.currentObservers||(v.currentObservers=Array.from(v.observers));var W,I=(0,y.Z)(v.currentObservers);try{for(I.s();!(W=I.n()).done;)W.value.next(i)}catch(w){I.e(w)}finally{I.f()}}})}},{key:"error",value:function(i){var v=this;(0,U.x)(function(){if(v._throwIfClosed(),!v.isStopped){v.hasError=v.isStopped=!0,v.thrownError=i;for(var I=v.observers;I.length;)I.shift().error(i)}})}},{key:"complete",value:function(){var i=this;(0,U.x)(function(){if(i._throwIfClosed(),!i.isStopped){i.isStopped=!0;for(var v=i.observers;v.length;)v.shift().complete()}})}},{key:"unsubscribe",value:function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}},{key:"observed",get:function(){var i;return(null===(i=this.observers)||void 0===i?void 0:i.length)>0}},{key:"_trySubscribe",value:function(i){return this._throwIfClosed(),(0,R.Z)((0,O.Z)(E.prototype),"_trySubscribe",this).call(this,i)}},{key:"_subscribe",value:function(i){return this._throwIfClosed(),this._checkFinalizedStatuses(i),this._innerSubscribe(i)}},{key:"_innerSubscribe",value:function(i){var v=this,N=this.observers;return this.hasError||this.isStopped?A.Lc:(this.currentObservers=null,N.push(i),new A.w0(function(){v.currentObservers=null,(0,D.P)(N,i)}))}},{key:"_checkFinalizedStatuses",value:function(i){var W=this.isStopped;this.hasError?i.error(this.thrownError):W&&i.complete()}},{key:"asObservable",value:function(){var i=new p.y;return i.source=this,i}}]),E}(p.y);return x.create=function(F,m){return new L(F,m)},x}(),L=function(x){(0,s.Z)(m,x);var F=(0,d.Z)(m);function m(E,l){var i;return(0,C.Z)(this,m),(i=F.call(this)).destination=E,i.source=l,i}return(0,b.Z)(m,[{key:"next",value:function(l){var i,v;null===(v=null===(i=this.destination)||void 0===i?void 0:i.next)||void 0===v||v.call(i,l)}},{key:"error",value:function(l){var i,v;null===(v=null===(i=this.destination)||void 0===i?void 0:i.error)||void 0===v||v.call(i,l)}},{key:"complete",value:function(){var l,i;null===(i=null===(l=this.destination)||void 0===l?void 0:l.complete)||void 0===i||i.call(l)}},{key:"_subscribe",value:function(l){var i,v;return null!==(v=null===(i=this.source)||void 0===i?void 0:i.subscribe(l))&&void 0!==v?v:A.Lc}}]),m}(T)},91640:(k,S,o)=>{o.d(S,{D:()=>p});var y=o(90833),C=o(45756),b=o(54987),R=o(10420),O=o(93945),s=o(58385),d=o(11054);function p(){for(var A=arguments.length,M=new Array(A),P=0;P<A;P++)M[P]=arguments[P];var D=(0,R.jO)(M),U=(0,C.D)(M),T=U.args,L=U.keys,x=new y.y(function(F){var m=T.length;if(m)for(var E=new Array(m),l=m,i=m,v=function(N){var w=!1;(0,b.Xf)(T[N]).subscribe((0,O.x)(F,function(B){w||(w=!0,i--),E[N]=B},function(){return l--},void 0,function(){(!l||!w)&&(i||F.next(L?(0,d.n)(L,E):E),F.complete())}))},I=0;I<m;I++)v(I);else F.complete()});return D?x.pipe((0,s.Z)(D)):x}},32313:(k,S,o)=>{o.d(S,{x:()=>C});var y=o(41944);function C(b){return(0,y.e)(function(R,O){try{R.subscribe(O)}finally{O.add(b)}})}},50635:(k,S,o)=>{o.d(S,{U:()=>b});var y=o(41944),C=o(93945);function b(R,O){return(0,y.e)(function(s,d){var p=0;s.subscribe((0,C.x)(d,function(A){d.next(R.call(O,A,p++))}))})}},81203:(k,S,o)=>{o.d(S,{B:()=>O});var y=o(54987),C=o(50253),b=o(5463),R=o(41944);function O(){var d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},p=d.connector,A=void 0===p?function(){return new C.x}:p,M=d.resetOnError,P=void 0===M||M,D=d.resetOnComplete,U=void 0===D||D,T=d.resetOnRefCountZero,L=void 0===T||T;return function(x){var F,m,E,l=0,i=!1,v=!1,I=function(){m?.unsubscribe(),m=void 0},W=function(){I(),F=E=void 0,i=v=!1},N=function(){var B=F;W(),B?.unsubscribe()};return(0,R.e)(function(w,B){l++,!v&&!i&&I();var Z=E=E??A();B.add(function(){0==--l&&!v&&!i&&(m=s(N,L))}),Z.subscribe(B),!F&&l>0&&(F=new b.Hp({next:function(j){return Z.next(j)},error:function(j){v=!0,I(),m=s(W,P,j),Z.error(j)},complete:function(){i=!0,I(),m=s(W,U),Z.complete()}}),(0,y.Xf)(w).subscribe(F))})(x)}}function s(d,p){if(!0!==p){if(!1!==p){for(var A=new b.Hp({next:function(){A.unsubscribe(),d()}}),M=arguments.length,P=new Array(M>2?M-2:0),D=2;D<M;D++)P[D-2]=arguments[D];return p.apply(void 0,P).subscribe(A)}}else d()}},1817:(k,S,o)=>{function y(C,b,R){var O=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,s=arguments.length>4&&void 0!==arguments[4]&&arguments[4],d=b.schedule(function(){R(),s?C.add(this.schedule(null,O)):this.unsubscribe()},O);if(C.add(d),!s)return d}o.d(S,{f:()=>y})},59867:(k,S,o)=>{o.d(S,{K:()=>C});var y=o(92971);function C(b){return b&&(0,y.m)(b.schedule)}},69941:(k,S,o)=>{o.r(S),o.d(S,{ICON_REGISTRY_PROVIDER:()=>oe,ICON_REGISTRY_PROVIDER_FACTORY:()=>X,MAT_ICON_DEFAULT_OPTIONS:()=>Q,MAT_ICON_LOCATION:()=>q,MAT_ICON_LOCATION_FACTORY:()=>ee,MatIcon:()=>ue,MatIconModule:()=>le,MatIconRegistry:()=>V,getMatIconFailedToSanitizeLiteralError:()=>H,getMatIconFailedToSanitizeUrlError:()=>Z,getMatIconNameNotFoundError:()=>w,getMatIconNoHttpProviderError:()=>B});var I,y=o(32090),C=o(24582),b=o(28694),R=o(48047),O=o(78069),s=o(56718),d=o(6606),p=o(35333),A=o(94055),M=o(10745),P=o(25474),D=o(91640),U=o(17714),T=o(19337),L=o(50635),x=o(53158),F=o(32313),m=o(81203),E=o(59295),l=o(3267),i=o(15019),v=["*"];function N(a){var f;return(null===(f=function W(){if(void 0===I&&(I=null,typeof window<"u")){var a=window;void 0!==a.trustedTypes&&(I=a.trustedTypes.createPolicy("angular#components",{createHTML:function(c){return c}}))}return I}())||void 0===f?void 0:f.createHTML(a))||a}function w(a){return Error('Unable to find icon with the name "'.concat(a,'"'))}function B(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}function Z(a){return Error("The URL provided to MatIconRegistry was not trusted as a resource URL "+"via Angular's DomSanitizer. Attempted URL was \"".concat(a,'".'))}function H(a){return Error("The literal provided to MatIconRegistry was not trusted as safe HTML by "+"Angular's DomSanitizer. Attempted literal was \"".concat(a,'".'))}var j=(0,R.Z)(function a(f,c,e){(0,O.Z)(this,a),this.url=f,this.svgText=c,this.options=e}),V=function(){var a=function(){function f(c,e,n,t){(0,O.Z)(this,f),this._httpClient=c,this._sanitizer=e,this._errorHandler=t,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=n}return(0,R.Z)(f,[{key:"addSvgIcon",value:function(e,n,t){return this.addSvgIconInNamespace("",e,n,t)}},{key:"addSvgIconLiteral",value:function(e,n,t){return this.addSvgIconLiteralInNamespace("",e,n,t)}},{key:"addSvgIconInNamespace",value:function(e,n,t,r){return this._addSvgIconConfig(e,n,new j(t,null,r))}},{key:"addSvgIconResolver",value:function(e){return this._resolvers.push(e),this}},{key:"addSvgIconLiteralInNamespace",value:function(e,n,t,r){var u=this._sanitizer.sanitize(s.SecurityContext.HTML,t);if(!u)throw H(t);var _=N(u);return this._addSvgIconConfig(e,n,new j("",_,r))}},{key:"addSvgIconSet",value:function(e,n){return this.addSvgIconSetInNamespace("",e,n)}},{key:"addSvgIconSetLiteral",value:function(e,n){return this.addSvgIconSetLiteralInNamespace("",e,n)}},{key:"addSvgIconSetInNamespace",value:function(e,n,t){return this._addSvgIconSetConfig(e,new j(n,null,t))}},{key:"addSvgIconSetLiteralInNamespace",value:function(e,n,t){var r=this._sanitizer.sanitize(s.SecurityContext.HTML,n);if(!r)throw H(n);var u=N(r);return this._addSvgIconSetConfig(e,new j("",u,t))}},{key:"registerFontClassAlias",value:function(e){return this._fontCssClassesByAlias.set(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:e),this}},{key:"classNameForFontAlias",value:function(e){return this._fontCssClassesByAlias.get(e)||e}},{key:"setDefaultFontSetClass",value:function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return this._defaultFontSetClass=n,this}},{key:"getDefaultFontSetClass",value:function(){return this._defaultFontSetClass}},{key:"getSvgIconFromUrl",value:function(e){var n=this,t=this._sanitizer.sanitize(s.SecurityContext.RESOURCE_URL,e);if(!t)throw Z(e);var r=this._cachedIconsByUrl.get(t);return r?(0,M.of)(Y(r)):this._loadSvgIconFromConfig(new j(e,null)).pipe((0,T.b)(function(u){return n._cachedIconsByUrl.set(t,u)}),(0,L.U)(function(u){return Y(u)}))}},{key:"getNamedSvgIcon",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=J(n,e),r=this._svgIconConfigs.get(t);if(r)return this._getSvgFromConfig(r);if(r=this._getIconConfigFromResolvers(n,e))return this._svgIconConfigs.set(t,r),this._getSvgFromConfig(r);var u=this._iconSetConfigs.get(n);return u?this._getSvgFromIconSetConfigs(e,u):(0,P._)(w(t))}},{key:"ngOnDestroy",value:function(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}},{key:"_getSvgFromConfig",value:function(e){return e.svgText?(0,M.of)(Y(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe((0,L.U)(function(n){return Y(n)}))}},{key:"_getSvgFromIconSetConfigs",value:function(e,n){var t=this,r=this._extractIconWithNameFromAnySet(e,n);if(r)return(0,M.of)(r);var u=n.filter(function(_){return!_.svgText}).map(function(_){return t._loadSvgIconSetFromConfig(_).pipe((0,x.K)(function(h){var g=t._sanitizer.sanitize(s.SecurityContext.RESOURCE_URL,_.url),K="Loading icon set URL: ".concat(g," failed: ").concat(h.message);return t._errorHandler.handleError(new Error(K)),(0,M.of)(null)}))});return(0,D.D)(u).pipe((0,L.U)(function(){var _=t._extractIconWithNameFromAnySet(e,n);if(!_)throw w(e);return _}))}},{key:"_extractIconWithNameFromAnySet",value:function(e,n){for(var t=n.length-1;t>=0;t--){var r=n[t];if(r.svgText&&r.svgText.toString().indexOf(e)>-1){var u=this._svgElementFromConfig(r),_=this._extractSvgIconFromSet(u,e,r.options);if(_)return _}}return null}},{key:"_loadSvgIconFromConfig",value:function(e){var n=this;return this._fetchIcon(e).pipe((0,T.b)(function(t){return e.svgText=t}),(0,L.U)(function(){return n._svgElementFromConfig(e)}))}},{key:"_loadSvgIconSetFromConfig",value:function(e){return e.svgText?(0,M.of)(null):this._fetchIcon(e).pipe((0,T.b)(function(n){return e.svgText=n}))}},{key:"_extractSvgIconFromSet",value:function(e,n,t){var r=e.querySelector('[id="'.concat(n,'"]'));if(!r)return null;var u=r.cloneNode(!0);if(u.removeAttribute("id"),"svg"===u.nodeName.toLowerCase())return this._setSvgAttributes(u,t);if("symbol"===u.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(u),t);var _=this._svgElementFromString(N("<svg></svg>"));return _.appendChild(u),this._setSvgAttributes(_,t)}},{key:"_svgElementFromString",value:function(e){var n=this._document.createElement("DIV");n.innerHTML=e;var t=n.querySelector("svg");if(!t)throw Error("<svg> tag not found");return t}},{key:"_toSvgElement",value:function(e){for(var n=this._svgElementFromString(N("<svg></svg>")),t=e.attributes,r=0;r<t.length;r++){var u=t[r],_=u.name;"id"!==_&&n.setAttribute(_,u.value)}for(var g=0;g<e.childNodes.length;g++)e.childNodes[g].nodeType===this._document.ELEMENT_NODE&&n.appendChild(e.childNodes[g].cloneNode(!0));return n}},{key:"_setSvgAttributes",value:function(e,n){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),n&&n.viewBox&&e.setAttribute("viewBox",n.viewBox),e}},{key:"_fetchIcon",value:function(e){var n,t=this,r=e.url,u=e.options,_=null!==(n=u?.withCredentials)&&void 0!==n&&n;if(!this._httpClient)throw B();if(null==r)throw Error('Cannot fetch icon from URL "'.concat(r,'".'));var h=this._sanitizer.sanitize(s.SecurityContext.RESOURCE_URL,r);if(!h)throw Z(r);var g=this._inProgressUrlFetches.get(h);if(g)return g;var K=this._httpClient.get(h,{responseType:"text",withCredentials:_}).pipe((0,L.U)(function(z){return N(z)}),(0,F.x)(function(){return t._inProgressUrlFetches.delete(h)}),(0,m.B)());return this._inProgressUrlFetches.set(h,K),K}},{key:"_addSvgIconConfig",value:function(e,n,t){return this._svgIconConfigs.set(J(e,n),t),this}},{key:"_addSvgIconSetConfig",value:function(e,n){var t=this._iconSetConfigs.get(e);return t?t.push(n):this._iconSetConfigs.set(e,[n]),this}},{key:"_svgElementFromConfig",value:function(e){if(!e.svgElement){var n=this._svgElementFromString(e.svgText);this._setSvgAttributes(n,e.options),e.svgElement=n}return e.svgElement}},{key:"_getIconConfigFromResolvers",value:function(e,n){for(var t=0;t<this._resolvers.length;t++){var r=this._resolvers[t](n,e);if(r)return ie(r)?new j(r.url,null,r.options):new j(r,null)}}}]),f}();return a.\u0275fac=function(c){return new(c||a)(s.\u0275\u0275inject(l.HttpClient,8),s.\u0275\u0275inject(i.DomSanitizer),s.\u0275\u0275inject(A.DOCUMENT,8),s.\u0275\u0275inject(s.ErrorHandler))},a.\u0275prov=s.\u0275\u0275defineInjectable({token:a,factory:a.\u0275fac,providedIn:"root"}),a}();function X(a,f,c,e,n){return a||new V(f,c,n,e)}var oe={provide:V,deps:[[new s.Optional,new s.SkipSelf,V],[new s.Optional,l.HttpClient],i.DomSanitizer,s.ErrorHandler,[new s.Optional,A.DOCUMENT]],useFactory:X};function Y(a){return a.cloneNode(!0)}function J(a,f){return a+":"+f}function ie(a){return!(!a.url||!a.options)}var se=(0,d.mixinColor)(function(){return(0,R.Z)(function a(f){(0,O.Z)(this,a),this._elementRef=f})}()),Q=new s.InjectionToken("MAT_ICON_DEFAULT_OPTIONS"),q=new s.InjectionToken("mat-icon-location",{providedIn:"root",factory:ee});function ee(){var a=(0,s.inject)(A.DOCUMENT),f=a?a.location:null;return{getPathname:function(){return f?f.pathname+f.search:""}}}var te=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],ae=te.map(function(a){return"[".concat(a,"]")}).join(", "),ce=/^url\(['"]?#(.*?)['"]?\)$/,ue=function(){var a=function(f){(0,C.Z)(e,f);var c=(0,b.Z)(e);function e(n,t,r,u,_,h){var g;return(0,O.Z)(this,e),(g=c.call(this,n))._iconRegistry=t,g._location=u,g._errorHandler=_,g._inline=!1,g._previousFontSetClass=[],g._currentIconFetch=U.w0.EMPTY,h&&(h.color&&(g.color=g.defaultColor=h.color),h.fontSet&&(g.fontSet=h.fontSet)),r||n.nativeElement.setAttribute("aria-hidden","true"),g}return(0,R.Z)(e,[{key:"inline",get:function(){return this._inline},set:function(t){this._inline=(0,p.coerceBooleanProperty)(t)}},{key:"svgIcon",get:function(){return this._svgIcon},set:function(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}},{key:"fontSet",get:function(){return this._fontSet},set:function(t){var r=this._cleanupFontValue(t);r!==this._fontSet&&(this._fontSet=r,this._updateFontIconClasses())}},{key:"fontIcon",get:function(){return this._fontIcon},set:function(t){var r=this._cleanupFontValue(t);r!==this._fontIcon&&(this._fontIcon=r,this._updateFontIconClasses())}},{key:"_splitIconName",value:function(t){if(!t)return["",""];var r=t.split(":");switch(r.length){case 1:return["",r[0]];case 2:return r;default:throw Error('Invalid icon name: "'.concat(t,'"'))}}},{key:"ngOnInit",value:function(){this._updateFontIconClasses()}},{key:"ngAfterViewChecked",value:function(){var t=this._elementsWithExternalReferences;if(t&&t.size){var r=this._location.getPathname();r!==this._previousPath&&(this._previousPath=r,this._prependPathToReferences(r))}}},{key:"ngOnDestroy",value:function(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}},{key:"_usingFontIcon",value:function(){return!this.svgIcon}},{key:"_setSvgElement",value:function(t){this._clearSvgElement();var r=this._location.getPathname();this._previousPath=r,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(r),this._elementRef.nativeElement.appendChild(t)}},{key:"_clearSvgElement",value:function(){var t=this._elementRef.nativeElement,r=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();r--;){var u=t.childNodes[r];(1!==u.nodeType||"svg"===u.nodeName.toLowerCase())&&u.remove()}}},{key:"_updateFontIconClasses",value:function(){if(this._usingFontIcon()){var t=this._elementRef.nativeElement,r=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(function(u){return u.length>0});this._previousFontSetClass.forEach(function(u){return t.classList.remove(u)}),r.forEach(function(u){return t.classList.add(u)}),this._previousFontSetClass=r,this.fontIcon!==this._previousFontIconClass&&!r.includes("mat-ligature-font")&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}}},{key:"_cleanupFontValue",value:function(t){return"string"==typeof t?t.trim().split(" ")[0]:t}},{key:"_prependPathToReferences",value:function(t){var r=this._elementsWithExternalReferences;r&&r.forEach(function(u,_){u.forEach(function(h){_.setAttribute(h.name,"url('".concat(t,"#").concat(h.value,"')"))})})}},{key:"_cacheChildrenWithExternalReferences",value:function(t){for(var r=t.querySelectorAll(ae),u=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map,_=function(K){te.forEach(function(z){var $=r[K],ne=$.getAttribute(z),re=ne?ne.match(ce):null;if(re){var G=u.get($);G||u.set($,G=[]),G.push({name:z,value:re[1]})}})},h=0;h<r.length;h++)_(h)}},{key:"_updateSvgIcon",value:function(t){var r=this;if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){var u=this._splitIconName(t),_=(0,y.Z)(u,2),h=_[0],g=_[1];h&&(this._svgNamespace=h),g&&(this._svgName=g),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(g,h).pipe((0,E.q)(1)).subscribe(function(K){return r._setSvgElement(K)},function(K){var z="Error retrieving icon ".concat(h,":").concat(g,"! ").concat(K.message);r._errorHandler.handleError(new Error(z))})}}}]),e}(se);return a.\u0275fac=function(c){return new(c||a)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(V),s.\u0275\u0275injectAttribute("aria-hidden"),s.\u0275\u0275directiveInject(q),s.\u0275\u0275directiveInject(s.ErrorHandler),s.\u0275\u0275directiveInject(Q,8))},a.\u0275cmp=s.\u0275\u0275defineComponent({type:a,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(c,e){2&c&&(s.\u0275\u0275attribute("data-mat-icon-type",e._usingFontIcon()?"font":"svg")("data-mat-icon-name",e._svgName||e.fontIcon)("data-mat-icon-namespace",e._svgNamespace||e.fontSet)("fontIcon",e._usingFontIcon()?e.fontIcon:null),s.\u0275\u0275classProp("mat-icon-inline",e.inline)("mat-icon-no-color","primary"!==e.color&&"accent"!==e.color&&"warn"!==e.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[s.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:v,decls:1,vars:0,template:function(c,e){1&c&&(s.\u0275\u0275projectionDef(),s.\u0275\u0275projection(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0}),a}(),le=function(){var a=(0,R.Z)(function f(){(0,O.Z)(this,f)});return a.\u0275fac=function(c){return new(c||a)},a.\u0275mod=s.\u0275\u0275defineNgModule({type:a}),a.\u0275inj=s.\u0275\u0275defineInjector({imports:[d.MatCommonModule,d.MatCommonModule]}),a}()},8091:(k,S,o)=>{function y(C){if(Array.isArray(C))return C}o.d(S,{Z:()=>y})},8217:(k,S,o)=>{function y(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}o.d(S,{Z:()=>y})},32090:(k,S,o)=>{o.d(S,{Z:()=>O});var y=o(8091),b=o(44206),R=o(8217);function O(s,d){return(0,y.Z)(s)||function C(s,d){var p=null==s?null:typeof Symbol<"u"&&s[Symbol.iterator]||s["@@iterator"];if(null!=p){var A,M,P,D,U=[],T=!0,L=!1;try{if(P=(p=p.call(s)).next,0===d){if(Object(p)!==p)return;T=!1}else for(;!(T=(A=P.call(p)).done)&&(U.push(A.value),U.length!==d);T=!0);}catch(x){L=!0,M=x}finally{try{if(!T&&null!=p.return&&(D=p.return(),Object(D)!==D))return}finally{if(L)throw M}}return U}}(s,d)||(0,b.Z)(s,d)||(0,R.Z)()}}}]); +//# sourceMappingURL=8782.0020aeddc828f58c.js.map \ No newline at end of file diff --git a/8782.0020aeddc828f58c.js.map b/8782.0020aeddc828f58c.js.map new file mode 100644 index 0000000..ae75bfa --- /dev/null +++ b/8782.0020aeddc828f58c.js.map @@ -0,0 +1 @@ +{"version":3,"file":"8782.0020aeddc828f58c.js","mappings":"yMACaA,cAA0BC,GAAiB,SAACC,GAAM,OAAK,WAChEA,EAAOC,MACPA,KAAKC,KAAO,0BACZD,KAAKE,QAAU,qBACnB,CAAC,yBCAYC,EAAO,eAAPA,EAAO,SAAAC,IAAAC,OAAAF,EAAAC,GAAA,IAAAL,KAAAO,KAAAH,GAChB,SAAAA,IAAc,IAAAI,EAAAC,cAAAR,KAAAG,IACVI,EAAAR,EAAAU,KAAAT,OACKU,QAAS,EACdH,EAAKI,iBAAmB,KACxBJ,EAAKK,UAAY,GACjBL,EAAKM,WAAY,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AN,EAAAW,SAAAD,OAAAJ,QAAA,MACA,SACA,GAAAG,EAAA,MAAAL,CACA,CACA,CACA,OAAAG,CAAA,CAEA,CDrBgCR,CAAoBN,EAAA7K,KAAA,EAAYgM,EAAAd,GAA0BL,EAAA7K,KAAA,EAAYiM,EAAAf,IACtG","names":["ObjectUnsubscribedError","createErrorClass","_super","this","name","message","Subject","_Observable","_inherits","_createSuper","_this","_classCallCheck","call","closed","currentObservers","observers","isStopped","hasError","thrownError","_createClass","key","value","operator","subject","AnonymousSubject","_this2","errorContext","_throwIfClosed","Array","from","_step","_iterator","_createForOfIteratorHelper","s","n","done","next","err","e","f","_this3","length","shift","error","_this4","complete","get","_a","subscriber","_get","_getPrototypeOf","prototype","_checkFinalizedStatuses","_innerSubscribe","_this5","EMPTY_SUBSCRIPTION","push","Subscription","arrRemove","observable","Observable","source","create","destination","_Subject","_super2","_this6","_b","subscribe","forkJoin","_len","arguments","args","_key","resultSelector","popResultSelector","_argsArgArrayOrObject","argsArgArrayOrObject","sources","keys","result","values","remainingCompletions","remainingEmissions","_loop","sourceIndex","hasValue","innerFrom","createOperatorSubscriber","undefined","createObject","pipe","mapOneOrManyArgs","finalize","callback","operate","add","map","project","thisArg","index","share","options","_options$connector","connector","_options$resetOnError","resetOnError","_options$resetOnCompl","resetOnComplete","_options$resetOnRefCo","resetOnRefCountZero","wrapperSource","connection","resetConnection","refCount","hasCompleted","hasErrored","cancelReset","unsubscribe","reset","resetAndUnsubscribe","conn","dest","handleReset","SafeSubscriber","on","onSubscriber","apply","executeSchedule","parentSubscription","scheduler","work","delay","repeat","scheduleSubscription","schedule","isScheduler","isFunction","policy","_c0","trustedHTMLFromString","html","_getPolicy","getPolicy","window","ttWindow","trustedTypes","createPolicy","createHTML","getMatIconNameNotFoundError","iconName","Error","concat","getMatIconNoHttpProviderError","getMatIconFailedToSanitizeUrlError","url","getMatIconFailedToSanitizeLiteralError","literal","SvgIconConfig","svgText","MatIconRegistry","_httpClient","_sanitizer","document","_errorHandler","_svgIconConfigs","Map","_iconSetConfigs","_cachedIconsByUrl","_inProgressUrlFetches","_fontCssClassesByAlias","_resolvers","_defaultFontSetClass","_document","addSvgIconInNamespace","addSvgIconLiteralInNamespace","namespace","_addSvgIconConfig","resolver","cleanLiteral","sanitize","SecurityContext","trustedLiteral","addSvgIconSetInNamespace","addSvgIconSetLiteralInNamespace","_addSvgIconSetConfig","alias","set","classNames","safeUrl","cachedIcon","of","cloneSvg","_loadSvgIconFromConfig","tap","svg","iconKey","config","_getSvgFromConfig","_getIconConfigFromResolvers","iconSetConfigs","_getSvgFromIconSetConfigs","throwError","clear","_svgElementFromConfig","namedIcon","_extractIconWithNameFromAnySet","iconSetFetchRequests","filter","iconSetConfig","_loadSvgIconSetFromConfig","catchError","errorMessage","handleError","foundIcon","i","toString","indexOf","_extractSvgIconFromSet","_fetchIcon","iconSet","iconSource","querySelector","iconElement","cloneNode","removeAttribute","nodeName","toLowerCase","_setSvgAttributes","_toSvgElement","_svgElementFromString","appendChild","str","div","createElement","innerHTML","element","attributes","_attributes$i","setAttribute","childNodes","nodeType","ELEMENT_NODE","viewBox","iconConfig","_options$withCredenti","withCredentials","inProgressFetch","req","responseType","delete","configNamespace","svgElement","isSafeUrlWithOptions","ɵfac","t","i0","i1","i2","DOCUMENT","ɵprov","token","factory","providedIn","ICON_REGISTRY_PROVIDER_FACTORY","parentRegistry","httpClient","sanitizer","errorHandler","ICON_REGISTRY_PROVIDER","provide","deps","Optional","SkipSelf","HttpClient","DomSanitizer","ErrorHandler","useFactory","_MatIconBase","mixinColor","_class","_elementRef","MAT_ICON_DEFAULT_OPTIONS","InjectionToken","MAT_ICON_LOCATION","MAT_ICON_LOCATION_FACTORY","inject","_location","location","getPathname","pathname","search","funcIriAttributes","funcIriAttributeSelector","attr","join","funcIriPattern","MatIcon","_MatIconBase2","elementRef","_iconRegistry","ariaHidden","defaults","_inline","_previousFontSetClass","_currentIconFetch","color","defaultColor","fontSet","nativeElement","inline","coerceBooleanProperty","_svgIcon","_updateSvgIcon","_clearSvgElement","_fontSet","newValue","_cleanupFontValue","_updateFontIconClasses","_fontIcon","parts","split","cachedElements","_elementsWithExternalReferences","size","newPath","_previousPath","_prependPathToReferences","svgIcon","path","_cacheChildrenWithExternalReferences","layoutElement","childCount","child","remove","_usingFontIcon","elem","fontSetClasses","classNameForFontAlias","getDefaultFontSetClass","className","forEach","classList","fontIcon","_previousFontIconClass","includes","trim","elements","attrs","elementsWithFuncIri","querySelectorAll","elementWithReference","getAttribute","match","rawName","_svgNamespace","_svgName","_this$_splitIconName","_splitIconName","_this$_splitIconName2","_slicedToArray","getNamedSvgIcon","take","_setSvgElement","ɵcmp","type","selectors","hostAttrs","hostVars","hostBindings","rf","ctx","inputs","exportAs","features","ngContentSelectors","decls","vars","template","styles","encapsulation","changeDetection","MatIconModule","ɵmod","ɵinj","imports","MatCommonModule","_arrayWithHoles","arr","isArray","_nonIterableRest","TypeError","arrayWithHoles","Z","_iterableToArrayLimit","_i","Symbol","iterator","_s","_e","_x","_r","_arr","_n","_d","Object","return","unsupportedIterableToArray","nonIterableRest"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/util/ObjectUnsubscribedError.js","./node_modules/rxjs/dist/esm/internal/Subject.js","./node_modules/rxjs/dist/esm/internal/observable/forkJoin.js","./node_modules/rxjs/dist/esm/internal/operators/finalize.js","./node_modules/rxjs/dist/esm/internal/operators/map.js","./node_modules/rxjs/dist/esm/internal/operators/share.js","./node_modules/rxjs/dist/esm/internal/util/executeSchedule.js","./node_modules/rxjs/dist/esm/internal/util/isScheduler.js","./node_modules/@angular/material/fesm2022/icon.mjs","./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","./node_modules/@babel/runtime/helpers/esm/slicedToArray.js","./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js"],"sourcesContent":["import { createErrorClass } from './createErrorClass';\nexport const ObjectUnsubscribedError = createErrorClass((_super) => function ObjectUnsubscribedErrorImpl() {\n _super(this);\n this.name = 'ObjectUnsubscribedError';\n this.message = 'object unsubscribed';\n});\n","import { Observable } from './Observable';\nimport { Subscription, EMPTY_SUBSCRIPTION } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { arrRemove } from './util/arrRemove';\nimport { errorContext } from './util/errorContext';\nexport class Subject extends Observable {\n constructor() {\n super();\n this.closed = false;\n this.currentObservers = null;\n this.observers = [];\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n lift(operator) {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n }\n _throwIfClosed() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n }\n next(value) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n if (!this.currentObservers) {\n this.currentObservers = Array.from(this.observers);\n }\n for (const observer of this.currentObservers) {\n observer.next(value);\n }\n }\n });\n }\n error(err) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.hasError = this.isStopped = true;\n this.thrownError = err;\n const { observers } = this;\n while (observers.length) {\n observers.shift().error(err);\n }\n }\n });\n }\n complete() {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.isStopped = true;\n const { observers } = this;\n while (observers.length) {\n observers.shift().complete();\n }\n }\n });\n }\n unsubscribe() {\n this.isStopped = this.closed = true;\n this.observers = this.currentObservers = null;\n }\n get observed() {\n var _a;\n return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;\n }\n _trySubscribe(subscriber) {\n this._throwIfClosed();\n return super._trySubscribe(subscriber);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._checkFinalizedStatuses(subscriber);\n return this._innerSubscribe(subscriber);\n }\n _innerSubscribe(subscriber) {\n const { hasError, isStopped, observers } = this;\n if (hasError || isStopped) {\n return EMPTY_SUBSCRIPTION;\n }\n this.currentObservers = null;\n observers.push(subscriber);\n return new Subscription(() => {\n this.currentObservers = null;\n arrRemove(observers, subscriber);\n });\n }\n _checkFinalizedStatuses(subscriber) {\n const { hasError, thrownError, isStopped } = this;\n if (hasError) {\n subscriber.error(thrownError);\n }\n else if (isStopped) {\n subscriber.complete();\n }\n }\n asObservable() {\n const observable = new Observable();\n observable.source = this;\n return observable;\n }\n}\nSubject.create = (destination, source) => {\n return new AnonymousSubject(destination, source);\n};\nexport class AnonymousSubject extends Subject {\n constructor(destination, source) {\n super();\n this.destination = destination;\n this.source = source;\n }\n next(value) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);\n }\n error(err) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);\n }\n complete() {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);\n }\n _subscribe(subscriber) {\n var _a, _b;\n return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;\n }\n}\n","import { Observable } from '../Observable';\nimport { argsArgArrayOrObject } from '../util/argsArgArrayOrObject';\nimport { innerFrom } from './innerFrom';\nimport { popResultSelector } from '../util/args';\nimport { createOperatorSubscriber } from '../operators/OperatorSubscriber';\nimport { mapOneOrManyArgs } from '../util/mapOneOrManyArgs';\nimport { createObject } from '../util/createObject';\nexport function forkJoin(...args) {\n const resultSelector = popResultSelector(args);\n const { args: sources, keys } = argsArgArrayOrObject(args);\n const result = new Observable((subscriber) => {\n const { length } = sources;\n if (!length) {\n subscriber.complete();\n return;\n }\n const values = new Array(length);\n let remainingCompletions = length;\n let remainingEmissions = length;\n for (let sourceIndex = 0; sourceIndex < length; sourceIndex++) {\n let hasValue = false;\n innerFrom(sources[sourceIndex]).subscribe(createOperatorSubscriber(subscriber, (value) => {\n if (!hasValue) {\n hasValue = true;\n remainingEmissions--;\n }\n values[sourceIndex] = value;\n }, () => remainingCompletions--, undefined, () => {\n if (!remainingCompletions || !hasValue) {\n if (!remainingEmissions) {\n subscriber.next(keys ? createObject(keys, values) : values);\n }\n subscriber.complete();\n }\n }));\n }\n });\n return resultSelector ? result.pipe(mapOneOrManyArgs(resultSelector)) : result;\n}\n","import { operate } from '../util/lift';\nexport function finalize(callback) {\n return operate((source, subscriber) => {\n try {\n source.subscribe(subscriber);\n }\n finally {\n subscriber.add(callback);\n }\n });\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function map(project, thisArg) {\n return operate((source, subscriber) => {\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n subscriber.next(project.call(thisArg, value, index++));\n }));\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { Subject } from '../Subject';\nimport { SafeSubscriber } from '../Subscriber';\nimport { operate } from '../util/lift';\nexport function share(options = {}) {\n const { connector = () => new Subject(), resetOnError = true, resetOnComplete = true, resetOnRefCountZero = true } = 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 const cancelReset = () => {\n resetConnection === null || resetConnection === void 0 ? void 0 : resetConnection.unsubscribe();\n resetConnection = undefined;\n };\n const reset = () => {\n cancelReset();\n connection = subject = undefined;\n hasCompleted = hasErrored = false;\n };\n const resetAndUnsubscribe = () => {\n const conn = connection;\n reset();\n conn === null || conn === void 0 ? void 0 : conn.unsubscribe();\n };\n return operate((source, subscriber) => {\n refCount++;\n if (!hasErrored && !hasCompleted) {\n cancelReset();\n }\n const dest = (subject = subject !== null && subject !== void 0 ? subject : connector());\n subscriber.add(() => {\n refCount--;\n if (refCount === 0 && !hasErrored && !hasCompleted) {\n resetConnection = handleReset(resetAndUnsubscribe, resetOnRefCountZero);\n }\n });\n dest.subscribe(subscriber);\n if (!connection &&\n 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}\nfunction handleReset(reset, on, ...args) {\n if (on === true) {\n reset();\n return;\n }\n if (on === false) {\n return;\n }\n const onSubscriber = new SafeSubscriber({\n next: () => {\n onSubscriber.unsubscribe();\n reset();\n },\n });\n return on(...args).subscribe(onSubscriber);\n}\n","export function executeSchedule(parentSubscription, scheduler, work, delay = 0, repeat = false) {\n const scheduleSubscription = scheduler.schedule(function () {\n work();\n if (repeat) {\n parentSubscription.add(this.schedule(null, delay));\n }\n else {\n this.unsubscribe();\n }\n }, delay);\n parentSubscription.add(scheduleSubscription);\n if (!repeat) {\n return scheduleSubscription;\n }\n}\n","import { isFunction } from './isFunction';\nexport function isScheduler(value) {\n return value && isFunction(value.schedule);\n}\n","import * as i0 from '@angular/core';\nimport { SecurityContext, Injectable, Optional, Inject, SkipSelf, ErrorHandler, InjectionToken, inject, Component, ViewEncapsulation, ChangeDetectionStrategy, Attribute, Input, NgModule } from '@angular/core';\nimport { mixinColor, MatCommonModule } from '@angular/material/core';\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { DOCUMENT } from '@angular/common';\nimport { of, throwError, forkJoin, Subscription } from 'rxjs';\nimport { tap, map, catchError, finalize, share, take } from 'rxjs/operators';\nimport * as i1 from '@angular/common/http';\nimport { HttpClient } from '@angular/common/http';\nimport * as i2 from '@angular/platform-browser';\nimport { DomSanitizer } from '@angular/platform-browser';\n\n/**\n * The Trusted Types policy, or null if Trusted Types are not\n * enabled/supported, or undefined if the policy has not been created yet.\n */\nlet policy;\n/**\n * Returns the Trusted Types policy, or null if Trusted Types are not\n * enabled/supported. The first call to this function will create the policy.\n */\nfunction getPolicy() {\n if (policy === undefined) {\n policy = null;\n if (typeof window !== 'undefined') {\n const ttWindow = window;\n if (ttWindow.trustedTypes !== undefined) {\n policy = ttWindow.trustedTypes.createPolicy('angular#components', {\n createHTML: (s) => s,\n });\n }\n }\n }\n return policy;\n}\n/**\n * Unsafely promote a string to a TrustedHTML, falling back to strings when\n * Trusted Types are not available.\n * @security This is a security-sensitive function; any use of this function\n * must go through security review. In particular, it must be assured that the\n * provided string will never cause an XSS vulnerability if used in a context\n * that will be interpreted as HTML by a browser, e.g. when assigning to\n * element.innerHTML.\n */\nfunction trustedHTMLFromString(html) {\n return getPolicy()?.createHTML(html) || html;\n}\n\n/**\n * Returns an exception to be thrown in the case when attempting to\n * load an icon with a name that cannot be found.\n * @docs-private\n */\nfunction getMatIconNameNotFoundError(iconName) {\n return Error(`Unable to find icon with the name \"${iconName}\"`);\n}\n/**\n * Returns an exception to be thrown when the consumer attempts to use\n * `<mat-icon>` without including @angular/common/http.\n * @docs-private\n */\nfunction getMatIconNoHttpProviderError() {\n return Error('Could not find HttpClient provider for use with Angular Material icons. ' +\n 'Please include the HttpClientModule from @angular/common/http in your ' +\n 'app imports.');\n}\n/**\n * Returns an exception to be thrown when a URL couldn't be sanitized.\n * @param url URL that was attempted to be sanitized.\n * @docs-private\n */\nfunction getMatIconFailedToSanitizeUrlError(url) {\n return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL ` +\n `via Angular's DomSanitizer. Attempted URL was \"${url}\".`);\n}\n/**\n * Returns an exception to be thrown when a HTML string couldn't be sanitized.\n * @param literal HTML that was attempted to be sanitized.\n * @docs-private\n */\nfunction getMatIconFailedToSanitizeLiteralError(literal) {\n return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by ` +\n `Angular's DomSanitizer. Attempted literal was \"${literal}\".`);\n}\n/**\n * Configuration for an icon, including the URL and possibly the cached SVG element.\n * @docs-private\n */\nclass SvgIconConfig {\n constructor(url, svgText, options) {\n this.url = url;\n this.svgText = svgText;\n this.options = options;\n }\n}\n/**\n * Service to register and display icons used by the `<mat-icon>` component.\n * - Registers icon URLs by namespace and name.\n * - Registers icon set URLs by namespace.\n * - Registers aliases for CSS classes, for use with icon fonts.\n * - Loads icons from URLs and extracts individual icons from icon sets.\n */\nclass MatIconRegistry {\n constructor(_httpClient, _sanitizer, document, _errorHandler) {\n this._httpClient = _httpClient;\n this._sanitizer = _sanitizer;\n this._errorHandler = _errorHandler;\n /**\n * URLs and cached SVG elements for individual icons. Keys are of the format \"[namespace]:[icon]\".\n */\n this._svgIconConfigs = new Map();\n /**\n * SvgIconConfig objects and cached SVG elements for icon sets, keyed by namespace.\n * Multiple icon sets can be registered under the same namespace.\n */\n this._iconSetConfigs = new Map();\n /** Cache for icons loaded by direct URLs. */\n this._cachedIconsByUrl = new Map();\n /** In-progress icon fetches. Used to coalesce multiple requests to the same URL. */\n this._inProgressUrlFetches = new Map();\n /** Map from font identifiers to their CSS class names. Used for icon fonts. */\n this._fontCssClassesByAlias = new Map();\n /** Registered icon resolver functions. */\n this._resolvers = [];\n /**\n * The CSS classes to apply when an `<mat-icon>` component has no icon name, url, or font\n * specified. The default 'material-icons' value assumes that the material icon font has been\n * loaded as described at http://google.github.io/material-design-icons/#icon-font-for-the-web\n */\n this._defaultFontSetClass = ['material-icons', 'mat-ligature-font'];\n this._document = document;\n }\n /**\n * Registers an icon by URL in the default namespace.\n * @param iconName Name under which the icon should be registered.\n * @param url\n */\n addSvgIcon(iconName, url, options) {\n return this.addSvgIconInNamespace('', iconName, url, options);\n }\n /**\n * Registers an icon using an HTML string in the default namespace.\n * @param iconName Name under which the icon should be registered.\n * @param literal SVG source of the icon.\n */\n addSvgIconLiteral(iconName, literal, options) {\n return this.addSvgIconLiteralInNamespace('', iconName, literal, options);\n }\n /**\n * Registers an icon by URL in the specified namespace.\n * @param namespace Namespace in which the icon should be registered.\n * @param iconName Name under which the icon should be registered.\n * @param url\n */\n addSvgIconInNamespace(namespace, iconName, url, options) {\n return this._addSvgIconConfig(namespace, iconName, new SvgIconConfig(url, null, options));\n }\n /**\n * Registers an icon resolver function with the registry. The function will be invoked with the\n * name and namespace of an icon when the registry tries to resolve the URL from which to fetch\n * the icon. The resolver is expected to return a `SafeResourceUrl` that points to the icon,\n * an object with the icon URL and icon options, or `null` if the icon is not supported. Resolvers\n * will be invoked in the order in which they have been registered.\n * @param resolver Resolver function to be registered.\n */\n addSvgIconResolver(resolver) {\n this._resolvers.push(resolver);\n return this;\n }\n /**\n * Registers an icon using an HTML string in the specified namespace.\n * @param namespace Namespace in which the icon should be registered.\n * @param iconName Name under which the icon should be registered.\n * @param literal SVG source of the icon.\n */\n addSvgIconLiteralInNamespace(namespace, iconName, literal, options) {\n const cleanLiteral = this._sanitizer.sanitize(SecurityContext.HTML, literal);\n // TODO: add an ngDevMode check\n if (!cleanLiteral) {\n throw getMatIconFailedToSanitizeLiteralError(literal);\n }\n // Security: The literal is passed in as SafeHtml, and is thus trusted.\n const trustedLiteral = trustedHTMLFromString(cleanLiteral);\n return this._addSvgIconConfig(namespace, iconName, new SvgIconConfig('', trustedLiteral, options));\n }\n /**\n * Registers an icon set by URL in the default namespace.\n * @param url\n */\n addSvgIconSet(url, options) {\n return this.addSvgIconSetInNamespace('', url, options);\n }\n /**\n * Registers an icon set using an HTML string in the default namespace.\n * @param literal SVG source of the icon set.\n */\n addSvgIconSetLiteral(literal, options) {\n return this.addSvgIconSetLiteralInNamespace('', literal, options);\n }\n /**\n * Registers an icon set by URL in the specified namespace.\n * @param namespace Namespace in which to register the icon set.\n * @param url\n */\n addSvgIconSetInNamespace(namespace, url, options) {\n return this._addSvgIconSetConfig(namespace, new SvgIconConfig(url, null, options));\n }\n /**\n * Registers an icon set using an HTML string in the specified namespace.\n * @param namespace Namespace in which to register the icon set.\n * @param literal SVG source of the icon set.\n */\n addSvgIconSetLiteralInNamespace(namespace, literal, options) {\n const cleanLiteral = this._sanitizer.sanitize(SecurityContext.HTML, literal);\n if (!cleanLiteral) {\n throw getMatIconFailedToSanitizeLiteralError(literal);\n }\n // Security: The literal is passed in as SafeHtml, and is thus trusted.\n const trustedLiteral = trustedHTMLFromString(cleanLiteral);\n return this._addSvgIconSetConfig(namespace, new SvgIconConfig('', trustedLiteral, options));\n }\n /**\n * Defines an alias for CSS class names to be used for icon fonts. Creating an matIcon\n * component with the alias as the fontSet input will cause the class name to be applied\n * to the `<mat-icon>` element.\n *\n * If the registered font is a ligature font, then don't forget to also include the special\n * class `mat-ligature-font` to allow the usage via attribute. So register like this:\n *\n * ```ts\n * iconRegistry.registerFontClassAlias('f1', 'font1 mat-ligature-font');\n * ```\n *\n * And use like this:\n *\n * ```html\n * <mat-icon fontSet=\"f1\" fontIcon=\"home\"></mat-icon>\n * ```\n *\n * @param alias Alias for the font.\n * @param classNames Class names override to be used instead of the alias.\n */\n registerFontClassAlias(alias, classNames = alias) {\n this._fontCssClassesByAlias.set(alias, classNames);\n return this;\n }\n /**\n * Returns the CSS class name associated with the alias by a previous call to\n * registerFontClassAlias. If no CSS class has been associated, returns the alias unmodified.\n */\n classNameForFontAlias(alias) {\n return this._fontCssClassesByAlias.get(alias) || alias;\n }\n /**\n * Sets the CSS classes to be used for icon fonts when an `<mat-icon>` component does not\n * have a fontSet input value, and is not loading an icon by name or URL.\n */\n setDefaultFontSetClass(...classNames) {\n this._defaultFontSetClass = classNames;\n return this;\n }\n /**\n * Returns the CSS classes to be used for icon fonts when an `<mat-icon>` component does not\n * have a fontSet input value, and is not loading an icon by name or URL.\n */\n getDefaultFontSetClass() {\n return this._defaultFontSetClass;\n }\n /**\n * Returns an Observable that produces the icon (as an `<svg>` DOM element) from the given URL.\n * The response from the URL may be cached so this will not always cause an HTTP request, but\n * the produced element will always be a new copy of the originally fetched icon. (That is,\n * it will not contain any modifications made to elements previously returned).\n *\n * @param safeUrl URL from which to fetch the SVG icon.\n */\n getSvgIconFromUrl(safeUrl) {\n const url = this._sanitizer.sanitize(SecurityContext.RESOURCE_URL, safeUrl);\n if (!url) {\n throw getMatIconFailedToSanitizeUrlError(safeUrl);\n }\n const cachedIcon = this._cachedIconsByUrl.get(url);\n if (cachedIcon) {\n return of(cloneSvg(cachedIcon));\n }\n return this._loadSvgIconFromConfig(new SvgIconConfig(safeUrl, null)).pipe(tap(svg => this._cachedIconsByUrl.set(url, svg)), map(svg => cloneSvg(svg)));\n }\n /**\n * Returns an Observable that produces the icon (as an `<svg>` DOM element) with the given name\n * and namespace. The icon must have been previously registered with addIcon or addIconSet;\n * if not, the Observable will throw an error.\n *\n * @param name Name of the icon to be retrieved.\n * @param namespace Namespace in which to look for the icon.\n */\n getNamedSvgIcon(name, namespace = '') {\n const key = iconKey(namespace, name);\n let config = this._svgIconConfigs.get(key);\n // Return (copy of) cached icon if possible.\n if (config) {\n return this._getSvgFromConfig(config);\n }\n // Otherwise try to resolve the config from one of the resolver functions.\n config = this._getIconConfigFromResolvers(namespace, name);\n if (config) {\n this._svgIconConfigs.set(key, config);\n return this._getSvgFromConfig(config);\n }\n // See if we have any icon sets registered for the namespace.\n const iconSetConfigs = this._iconSetConfigs.get(namespace);\n if (iconSetConfigs) {\n return this._getSvgFromIconSetConfigs(name, iconSetConfigs);\n }\n return throwError(getMatIconNameNotFoundError(key));\n }\n ngOnDestroy() {\n this._resolvers = [];\n this._svgIconConfigs.clear();\n this._iconSetConfigs.clear();\n this._cachedIconsByUrl.clear();\n }\n /**\n * Returns the cached icon for a SvgIconConfig if available, or fetches it from its URL if not.\n */\n _getSvgFromConfig(config) {\n if (config.svgText) {\n // We already have the SVG element for this icon, return a copy.\n return of(cloneSvg(this._svgElementFromConfig(config)));\n }\n else {\n // Fetch the icon from the config's URL, cache it, and return a copy.\n return this._loadSvgIconFromConfig(config).pipe(map(svg => cloneSvg(svg)));\n }\n }\n /**\n * Attempts to find an icon with the specified name in any of the SVG icon sets.\n * First searches the available cached icons for a nested element with a matching name, and\n * if found copies the element to a new `<svg>` element. If not found, fetches all icon sets\n * that have not been cached, and searches again after all fetches are completed.\n * The returned Observable produces the SVG element if possible, and throws\n * an error if no icon with the specified name can be found.\n */\n _getSvgFromIconSetConfigs(name, iconSetConfigs) {\n // For all the icon set SVG elements we've fetched, see if any contain an icon with the\n // requested name.\n const namedIcon = this._extractIconWithNameFromAnySet(name, iconSetConfigs);\n if (namedIcon) {\n // We could cache namedIcon in _svgIconConfigs, but since we have to make a copy every\n // time anyway, there's probably not much advantage compared to just always extracting\n // it from the icon set.\n return of(namedIcon);\n }\n // Not found in any cached icon sets. If there are icon sets with URLs that we haven't\n // fetched, fetch them now and look for iconName in the results.\n const iconSetFetchRequests = iconSetConfigs\n .filter(iconSetConfig => !iconSetConfig.svgText)\n .map(iconSetConfig => {\n return this._loadSvgIconSetFromConfig(iconSetConfig).pipe(catchError((err) => {\n const url = this._sanitizer.sanitize(SecurityContext.RESOURCE_URL, iconSetConfig.url);\n // Swallow errors fetching individual URLs so the\n // combined Observable won't necessarily fail.\n const errorMessage = `Loading icon set URL: ${url} failed: ${err.message}`;\n this._errorHandler.handleError(new Error(errorMessage));\n return of(null);\n }));\n });\n // Fetch all the icon set URLs. When the requests complete, every IconSet should have a\n // cached SVG element (unless the request failed), and we can check again for the icon.\n return forkJoin(iconSetFetchRequests).pipe(map(() => {\n const foundIcon = this._extractIconWithNameFromAnySet(name, iconSetConfigs);\n // TODO: add an ngDevMode check\n if (!foundIcon) {\n throw getMatIconNameNotFoundError(name);\n }\n return foundIcon;\n }));\n }\n /**\n * Searches the cached SVG elements for the given icon sets for a nested icon element whose \"id\"\n * tag matches the specified name. If found, copies the nested element to a new SVG element and\n * returns it. Returns null if no matching element is found.\n */\n _extractIconWithNameFromAnySet(iconName, iconSetConfigs) {\n // Iterate backwards, so icon sets added later have precedence.\n for (let i = iconSetConfigs.length - 1; i >= 0; i--) {\n const config = iconSetConfigs[i];\n // Parsing the icon set's text into an SVG element can be expensive. We can avoid some of\n // the parsing by doing a quick check using `indexOf` to see if there's any chance for the\n // icon to be in the set. This won't be 100% accurate, but it should help us avoid at least\n // some of the parsing.\n if (config.svgText && config.svgText.toString().indexOf(iconName) > -1) {\n const svg = this._svgElementFromConfig(config);\n const foundIcon = this._extractSvgIconFromSet(svg, iconName, config.options);\n if (foundIcon) {\n return foundIcon;\n }\n }\n }\n return null;\n }\n /**\n * Loads the content of the icon URL specified in the SvgIconConfig and creates an SVG element\n * from it.\n */\n _loadSvgIconFromConfig(config) {\n return this._fetchIcon(config).pipe(tap(svgText => (config.svgText = svgText)), map(() => this._svgElementFromConfig(config)));\n }\n /**\n * Loads the content of the icon set URL specified in the\n * SvgIconConfig and attaches it to the config.\n */\n _loadSvgIconSetFromConfig(config) {\n if (config.svgText) {\n return of(null);\n }\n return this._fetchIcon(config).pipe(tap(svgText => (config.svgText = svgText)));\n }\n /**\n * Searches the cached element of the given SvgIconConfig for a nested icon element whose \"id\"\n * tag matches the specified name. If found, copies the nested element to a new SVG element and\n * returns it. Returns null if no matching element is found.\n */\n _extractSvgIconFromSet(iconSet, iconName, options) {\n // Use the `id=\"iconName\"` syntax in order to escape special\n // characters in the ID (versus using the #iconName syntax).\n const iconSource = iconSet.querySelector(`[id=\"${iconName}\"]`);\n if (!iconSource) {\n return null;\n }\n // Clone the element and remove the ID to prevent multiple elements from being added\n // to the page with the same ID.\n const iconElement = iconSource.cloneNode(true);\n iconElement.removeAttribute('id');\n // If the icon node is itself an <svg> node, clone and return it directly. If not, set it as\n // the content of a new <svg> node.\n if (iconElement.nodeName.toLowerCase() === 'svg') {\n return this._setSvgAttributes(iconElement, options);\n }\n // If the node is a <symbol>, it won't be rendered so we have to convert it into <svg>. Note\n // that the same could be achieved by referring to it via <use href=\"#id\">, however the <use>\n // tag is problematic on Firefox, because it needs to include the current page path.\n if (iconElement.nodeName.toLowerCase() === 'symbol') {\n return this._setSvgAttributes(this._toSvgElement(iconElement), options);\n }\n // createElement('SVG') doesn't work as expected; the DOM ends up with\n // the correct nodes, but the SVG content doesn't render. Instead we\n // have to create an empty SVG node using innerHTML and append its content.\n // Elements created using DOMParser.parseFromString have the same problem.\n // http://stackoverflow.com/questions/23003278/svg-innerhtml-in-firefox-can-not-display\n const svg = this._svgElementFromString(trustedHTMLFromString('<svg></svg>'));\n // Clone the node so we don't remove it from the parent icon set element.\n svg.appendChild(iconElement);\n return this._setSvgAttributes(svg, options);\n }\n /**\n * Creates a DOM element from the given SVG string.\n */\n _svgElementFromString(str) {\n const div = this._document.createElement('DIV');\n div.innerHTML = str;\n const svg = div.querySelector('svg');\n // TODO: add an ngDevMode check\n if (!svg) {\n throw Error('<svg> tag not found');\n }\n return svg;\n }\n /**\n * Converts an element into an SVG node by cloning all of its children.\n */\n _toSvgElement(element) {\n const svg = this._svgElementFromString(trustedHTMLFromString('<svg></svg>'));\n const attributes = element.attributes;\n // Copy over all the attributes from the `symbol` to the new SVG, except the id.\n for (let i = 0; i < attributes.length; i++) {\n const { name, value } = attributes[i];\n if (name !== 'id') {\n svg.setAttribute(name, value);\n }\n }\n for (let i = 0; i < element.childNodes.length; i++) {\n if (element.childNodes[i].nodeType === this._document.ELEMENT_NODE) {\n svg.appendChild(element.childNodes[i].cloneNode(true));\n }\n }\n return svg;\n }\n /**\n * Sets the default attributes for an SVG element to be used as an icon.\n */\n _setSvgAttributes(svg, options) {\n svg.setAttribute('fit', '');\n svg.setAttribute('height', '100%');\n svg.setAttribute('width', '100%');\n svg.setAttribute('preserveAspectRatio', 'xMidYMid meet');\n svg.setAttribute('focusable', 'false'); // Disable IE11 default behavior to make SVGs focusable.\n if (options && options.viewBox) {\n svg.setAttribute('viewBox', options.viewBox);\n }\n return svg;\n }\n /**\n * Returns an Observable which produces the string contents of the given icon. Results may be\n * cached, so future calls with the same URL may not cause another HTTP request.\n */\n _fetchIcon(iconConfig) {\n const { url: safeUrl, options } = iconConfig;\n const withCredentials = options?.withCredentials ?? false;\n if (!this._httpClient) {\n throw getMatIconNoHttpProviderError();\n }\n // TODO: add an ngDevMode check\n if (safeUrl == null) {\n throw Error(`Cannot fetch icon from URL \"${safeUrl}\".`);\n }\n const url = this._sanitizer.sanitize(SecurityContext.RESOURCE_URL, safeUrl);\n // TODO: add an ngDevMode check\n if (!url) {\n throw getMatIconFailedToSanitizeUrlError(safeUrl);\n }\n // Store in-progress fetches to avoid sending a duplicate request for a URL when there is\n // already a request in progress for that URL. It's necessary to call share() on the\n // Observable returned by http.get() so that multiple subscribers don't cause multiple XHRs.\n const inProgressFetch = this._inProgressUrlFetches.get(url);\n if (inProgressFetch) {\n return inProgressFetch;\n }\n const req = this._httpClient.get(url, { responseType: 'text', withCredentials }).pipe(map(svg => {\n // Security: This SVG is fetched from a SafeResourceUrl, and is thus\n // trusted HTML.\n return trustedHTMLFromString(svg);\n }), finalize(() => this._inProgressUrlFetches.delete(url)), share());\n this._inProgressUrlFetches.set(url, req);\n return req;\n }\n /**\n * Registers an icon config by name in the specified namespace.\n * @param namespace Namespace in which to register the icon config.\n * @param iconName Name under which to register the config.\n * @param config Config to be registered.\n */\n _addSvgIconConfig(namespace, iconName, config) {\n this._svgIconConfigs.set(iconKey(namespace, iconName), config);\n return this;\n }\n /**\n * Registers an icon set config in the specified namespace.\n * @param namespace Namespace in which to register the icon config.\n * @param config Config to be registered.\n */\n _addSvgIconSetConfig(namespace, config) {\n const configNamespace = this._iconSetConfigs.get(namespace);\n if (configNamespace) {\n configNamespace.push(config);\n }\n else {\n this._iconSetConfigs.set(namespace, [config]);\n }\n return this;\n }\n /** Parses a config's text into an SVG element. */\n _svgElementFromConfig(config) {\n if (!config.svgElement) {\n const svg = this._svgElementFromString(config.svgText);\n this._setSvgAttributes(svg, config.options);\n config.svgElement = svg;\n }\n return config.svgElement;\n }\n /** Tries to create an icon config through the registered resolver functions. */\n _getIconConfigFromResolvers(namespace, name) {\n for (let i = 0; i < this._resolvers.length; i++) {\n const result = this._resolvers[i](name, namespace);\n if (result) {\n return isSafeUrlWithOptions(result)\n ? new SvgIconConfig(result.url, null, result.options)\n : new SvgIconConfig(result, null);\n }\n }\n return undefined;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatIconRegistry, deps: [{ token: i1.HttpClient, optional: true }, { token: i2.DomSanitizer }, { token: DOCUMENT, optional: true }, { token: i0.ErrorHandler }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatIconRegistry, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatIconRegistry, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: i1.HttpClient, decorators: [{\n type: Optional\n }] }, { type: i2.DomSanitizer }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: i0.ErrorHandler }]; } });\n/** @docs-private */\nfunction ICON_REGISTRY_PROVIDER_FACTORY(parentRegistry, httpClient, sanitizer, errorHandler, document) {\n return parentRegistry || new MatIconRegistry(httpClient, sanitizer, document, errorHandler);\n}\n/** @docs-private */\nconst ICON_REGISTRY_PROVIDER = {\n // If there is already an MatIconRegistry available, use that. Otherwise, provide a new one.\n provide: MatIconRegistry,\n deps: [\n [new Optional(), new SkipSelf(), MatIconRegistry],\n [new Optional(), HttpClient],\n DomSanitizer,\n ErrorHandler,\n [new Optional(), DOCUMENT],\n ],\n useFactory: ICON_REGISTRY_PROVIDER_FACTORY,\n};\n/** Clones an SVGElement while preserving type information. */\nfunction cloneSvg(svg) {\n return svg.cloneNode(true);\n}\n/** Returns the cache key to use for an icon namespace and name. */\nfunction iconKey(namespace, name) {\n return namespace + ':' + name;\n}\nfunction isSafeUrlWithOptions(value) {\n return !!(value.url && value.options);\n}\n\n// Boilerplate for applying mixins to MatIcon.\n/** @docs-private */\nconst _MatIconBase = mixinColor(class {\n constructor(_elementRef) {\n this._elementRef = _elementRef;\n }\n});\n/** Injection token to be used to override the default options for `mat-icon`. */\nconst MAT_ICON_DEFAULT_OPTIONS = new InjectionToken('MAT_ICON_DEFAULT_OPTIONS');\n/**\n * Injection token used to provide the current location to `MatIcon`.\n * Used to handle server-side rendering and to stub out during unit tests.\n * @docs-private\n */\nconst MAT_ICON_LOCATION = new InjectionToken('mat-icon-location', {\n providedIn: 'root',\n factory: MAT_ICON_LOCATION_FACTORY,\n});\n/** @docs-private */\nfunction MAT_ICON_LOCATION_FACTORY() {\n const _document = inject(DOCUMENT);\n const _location = _document ? _document.location : null;\n return {\n // Note that this needs to be a function, rather than a property, because Angular\n // will only resolve it once, but we want the current path on each call.\n getPathname: () => (_location ? _location.pathname + _location.search : ''),\n };\n}\n/** SVG attributes that accept a FuncIRI (e.g. `url(<something>)`). */\nconst funcIriAttributes = [\n 'clip-path',\n 'color-profile',\n 'src',\n 'cursor',\n 'fill',\n 'filter',\n 'marker',\n 'marker-start',\n 'marker-mid',\n 'marker-end',\n 'mask',\n 'stroke',\n];\n/** Selector that can be used to find all elements that are using a `FuncIRI`. */\nconst funcIriAttributeSelector = funcIriAttributes.map(attr => `[${attr}]`).join(', ');\n/** Regex that can be used to extract the id out of a FuncIRI. */\nconst funcIriPattern = /^url\\(['\"]?#(.*?)['\"]?\\)$/;\n/**\n * Component to display an icon. It can be used in the following ways:\n *\n * - Specify the svgIcon input to load an SVG icon from a URL previously registered with the\n * addSvgIcon, addSvgIconInNamespace, addSvgIconSet, or addSvgIconSetInNamespace methods of\n * MatIconRegistry. If the svgIcon value contains a colon it is assumed to be in the format\n * \"[namespace]:[name]\", if not the value will be the name of an icon in the default namespace.\n * Examples:\n * `<mat-icon svgIcon=\"left-arrow\"></mat-icon>\n * <mat-icon svgIcon=\"animals:cat\"></mat-icon>`\n *\n * - Use a font ligature as an icon by putting the ligature text in the `fontIcon` attribute or the\n * content of the `<mat-icon>` component. If you register a custom font class, don't forget to also\n * include the special class `mat-ligature-font`. It is recommended to use the attribute alternative\n * to prevent the ligature text to be selectable and to appear in search engine results.\n * By default, the Material icons font is used as described at\n * http://google.github.io/material-design-icons/#icon-font-for-the-web. You can specify an\n * alternate font by setting the fontSet input to either the CSS class to apply to use the\n * desired font, or to an alias previously registered with MatIconRegistry.registerFontClassAlias.\n * Examples:\n * `<mat-icon fontIcon=\"home\"></mat-icon>\n * <mat-icon>home</mat-icon>\n * <mat-icon fontSet=\"myfont\" fontIcon=\"sun\"></mat-icon>\n * <mat-icon fontSet=\"myfont\">sun</mat-icon>`\n *\n * - Specify a font glyph to be included via CSS rules by setting the fontSet input to specify the\n * font, and the fontIcon input to specify the icon. Typically the fontIcon will specify a\n * CSS class which causes the glyph to be displayed via a :before selector, as in\n * https://fortawesome.github.io/Font-Awesome/examples/\n * Example:\n * `<mat-icon fontSet=\"fa\" fontIcon=\"alarm\"></mat-icon>`\n */\nclass MatIcon extends _MatIconBase {\n /**\n * Whether the icon should be inlined, automatically sizing the icon to match the font size of\n * the element the icon is contained in.\n */\n get inline() {\n return this._inline;\n }\n set inline(inline) {\n this._inline = coerceBooleanProperty(inline);\n }\n /** Name of the icon in the SVG icon set. */\n get svgIcon() {\n return this._svgIcon;\n }\n set svgIcon(value) {\n if (value !== this._svgIcon) {\n if (value) {\n this._updateSvgIcon(value);\n }\n else if (this._svgIcon) {\n this._clearSvgElement();\n }\n this._svgIcon = value;\n }\n }\n /** Font set that the icon is a part of. */\n get fontSet() {\n return this._fontSet;\n }\n set fontSet(value) {\n const newValue = this._cleanupFontValue(value);\n if (newValue !== this._fontSet) {\n this._fontSet = newValue;\n this._updateFontIconClasses();\n }\n }\n /** Name of an icon within a font set. */\n get fontIcon() {\n return this._fontIcon;\n }\n set fontIcon(value) {\n const newValue = this._cleanupFontValue(value);\n if (newValue !== this._fontIcon) {\n this._fontIcon = newValue;\n this._updateFontIconClasses();\n }\n }\n constructor(elementRef, _iconRegistry, ariaHidden, _location, _errorHandler, defaults) {\n super(elementRef);\n this._iconRegistry = _iconRegistry;\n this._location = _location;\n this._errorHandler = _errorHandler;\n this._inline = false;\n this._previousFontSetClass = [];\n /** Subscription to the current in-progress SVG icon request. */\n this._currentIconFetch = Subscription.EMPTY;\n if (defaults) {\n if (defaults.color) {\n this.color = this.defaultColor = defaults.color;\n }\n if (defaults.fontSet) {\n this.fontSet = defaults.fontSet;\n }\n }\n // If the user has not explicitly set aria-hidden, mark the icon as hidden, as this is\n // the right thing to do for the majority of icon use-cases.\n if (!ariaHidden) {\n elementRef.nativeElement.setAttribute('aria-hidden', 'true');\n }\n }\n /**\n * Splits an svgIcon binding value into its icon set and icon name components.\n * Returns a 2-element array of [(icon set), (icon name)].\n * The separator for the two fields is ':'. If there is no separator, an empty\n * string is returned for the icon set and the entire value is returned for\n * the icon name. If the argument is falsy, returns an array of two empty strings.\n * Throws an error if the name contains two or more ':' separators.\n * Examples:\n * `'social:cake' -> ['social', 'cake']\n * 'penguin' -> ['', 'penguin']\n * null -> ['', '']\n * 'a:b:c' -> (throws Error)`\n */\n _splitIconName(iconName) {\n if (!iconName) {\n return ['', ''];\n }\n const parts = iconName.split(':');\n switch (parts.length) {\n case 1:\n return ['', parts[0]]; // Use default namespace.\n case 2:\n return parts;\n default:\n throw Error(`Invalid icon name: \"${iconName}\"`); // TODO: add an ngDevMode check\n }\n }\n ngOnInit() {\n // Update font classes because ngOnChanges won't be called if none of the inputs are present,\n // e.g. <mat-icon>arrow</mat-icon> In this case we need to add a CSS class for the default font.\n this._updateFontIconClasses();\n }\n ngAfterViewChecked() {\n const cachedElements = this._elementsWithExternalReferences;\n if (cachedElements && cachedElements.size) {\n const newPath = this._location.getPathname();\n // We need to check whether the URL has changed on each change detection since\n // the browser doesn't have an API that will let us react on link clicks and\n // we can't depend on the Angular router. The references need to be updated,\n // because while most browsers don't care whether the URL is correct after\n // the first render, Safari will break if the user navigates to a different\n // page and the SVG isn't re-rendered.\n if (newPath !== this._previousPath) {\n this._previousPath = newPath;\n this._prependPathToReferences(newPath);\n }\n }\n }\n ngOnDestroy() {\n this._currentIconFetch.unsubscribe();\n if (this._elementsWithExternalReferences) {\n this._elementsWithExternalReferences.clear();\n }\n }\n _usingFontIcon() {\n return !this.svgIcon;\n }\n _setSvgElement(svg) {\n this._clearSvgElement();\n // Note: we do this fix here, rather than the icon registry, because the\n // references have to point to the URL at the time that the icon was created.\n const path = this._location.getPathname();\n this._previousPath = path;\n this._cacheChildrenWithExternalReferences(svg);\n this._prependPathToReferences(path);\n this._elementRef.nativeElement.appendChild(svg);\n }\n _clearSvgElement() {\n const layoutElement = this._elementRef.nativeElement;\n let childCount = layoutElement.childNodes.length;\n if (this._elementsWithExternalReferences) {\n this._elementsWithExternalReferences.clear();\n }\n // Remove existing non-element child nodes and SVGs, and add the new SVG element. Note that\n // we can't use innerHTML, because IE will throw if the element has a data binding.\n while (childCount--) {\n const child = layoutElement.childNodes[childCount];\n // 1 corresponds to Node.ELEMENT_NODE. We remove all non-element nodes in order to get rid\n // of any loose text nodes, as well as any SVG elements in order to remove any old icons.\n if (child.nodeType !== 1 || child.nodeName.toLowerCase() === 'svg') {\n child.remove();\n }\n }\n }\n _updateFontIconClasses() {\n if (!this._usingFontIcon()) {\n return;\n }\n const elem = this._elementRef.nativeElement;\n const fontSetClasses = (this.fontSet\n ? this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/)\n : this._iconRegistry.getDefaultFontSetClass()).filter(className => className.length > 0);\n this._previousFontSetClass.forEach(className => elem.classList.remove(className));\n fontSetClasses.forEach(className => elem.classList.add(className));\n this._previousFontSetClass = fontSetClasses;\n if (this.fontIcon !== this._previousFontIconClass &&\n !fontSetClasses.includes('mat-ligature-font')) {\n if (this._previousFontIconClass) {\n elem.classList.remove(this._previousFontIconClass);\n }\n if (this.fontIcon) {\n elem.classList.add(this.fontIcon);\n }\n this._previousFontIconClass = this.fontIcon;\n }\n }\n /**\n * Cleans up a value to be used as a fontIcon or fontSet.\n * Since the value ends up being assigned as a CSS class, we\n * have to trim the value and omit space-separated values.\n */\n _cleanupFontValue(value) {\n return typeof value === 'string' ? value.trim().split(' ')[0] : value;\n }\n /**\n * Prepends the current path to all elements that have an attribute pointing to a `FuncIRI`\n * reference. This is required because WebKit browsers require references to be prefixed with\n * the current path, if the page has a `base` tag.\n */\n _prependPathToReferences(path) {\n const elements = this._elementsWithExternalReferences;\n if (elements) {\n elements.forEach((attrs, element) => {\n attrs.forEach(attr => {\n element.setAttribute(attr.name, `url('${path}#${attr.value}')`);\n });\n });\n }\n }\n /**\n * Caches the children of an SVG element that have `url()`\n * references that we need to prefix with the current path.\n */\n _cacheChildrenWithExternalReferences(element) {\n const elementsWithFuncIri = element.querySelectorAll(funcIriAttributeSelector);\n const elements = (this._elementsWithExternalReferences =\n this._elementsWithExternalReferences || new Map());\n for (let i = 0; i < elementsWithFuncIri.length; i++) {\n funcIriAttributes.forEach(attr => {\n const elementWithReference = elementsWithFuncIri[i];\n const value = elementWithReference.getAttribute(attr);\n const match = value ? value.match(funcIriPattern) : null;\n if (match) {\n let attributes = elements.get(elementWithReference);\n if (!attributes) {\n attributes = [];\n elements.set(elementWithReference, attributes);\n }\n attributes.push({ name: attr, value: match[1] });\n }\n });\n }\n }\n /** Sets a new SVG icon with a particular name. */\n _updateSvgIcon(rawName) {\n this._svgNamespace = null;\n this._svgName = null;\n this._currentIconFetch.unsubscribe();\n if (rawName) {\n const [namespace, iconName] = this._splitIconName(rawName);\n if (namespace) {\n this._svgNamespace = namespace;\n }\n if (iconName) {\n this._svgName = iconName;\n }\n this._currentIconFetch = this._iconRegistry\n .getNamedSvgIcon(iconName, namespace)\n .pipe(take(1))\n .subscribe(svg => this._setSvgElement(svg), (err) => {\n const errorMessage = `Error retrieving icon ${namespace}:${iconName}! ${err.message}`;\n this._errorHandler.handleError(new Error(errorMessage));\n });\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatIcon, deps: [{ token: i0.ElementRef }, { token: MatIconRegistry }, { token: 'aria-hidden', attribute: true }, { token: MAT_ICON_LOCATION }, { token: i0.ErrorHandler }, { token: MAT_ICON_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatIcon, selector: \"mat-icon\", inputs: { color: \"color\", inline: \"inline\", svgIcon: \"svgIcon\", fontSet: \"fontSet\", fontIcon: \"fontIcon\" }, host: { attributes: { \"role\": \"img\" }, properties: { \"attr.data-mat-icon-type\": \"_usingFontIcon() ? \\\"font\\\" : \\\"svg\\\"\", \"attr.data-mat-icon-name\": \"_svgName || fontIcon\", \"attr.data-mat-icon-namespace\": \"_svgNamespace || fontSet\", \"attr.fontIcon\": \"_usingFontIcon() ? fontIcon : null\", \"class.mat-icon-inline\": \"inline\", \"class.mat-icon-no-color\": \"color !== \\\"primary\\\" && color !== \\\"accent\\\" && color !== \\\"warn\\\"\" }, classAttribute: \"mat-icon notranslate\" }, exportAs: [\"matIcon\"], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [\".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatIcon, decorators: [{\n type: Component,\n args: [{ template: '<ng-content></ng-content>', selector: 'mat-icon', exportAs: 'matIcon', inputs: ['color'], host: {\n 'role': 'img',\n 'class': 'mat-icon notranslate',\n '[attr.data-mat-icon-type]': '_usingFontIcon() ? \"font\" : \"svg\"',\n '[attr.data-mat-icon-name]': '_svgName || fontIcon',\n '[attr.data-mat-icon-namespace]': '_svgNamespace || fontSet',\n '[attr.fontIcon]': '_usingFontIcon() ? fontIcon : null',\n '[class.mat-icon-inline]': 'inline',\n '[class.mat-icon-no-color]': 'color !== \"primary\" && color !== \"accent\" && color !== \"warn\"',\n }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: [\".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: MatIconRegistry }, { type: undefined, decorators: [{\n type: Attribute,\n args: ['aria-hidden']\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [MAT_ICON_LOCATION]\n }] }, { type: i0.ErrorHandler }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_ICON_DEFAULT_OPTIONS]\n }] }]; }, propDecorators: { inline: [{\n type: Input\n }], svgIcon: [{\n type: Input\n }], fontSet: [{\n type: Input\n }], fontIcon: [{\n type: Input\n }] } });\n\nclass MatIconModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatIconModule, declarations: [MatIcon], imports: [MatCommonModule], exports: [MatIcon, MatCommonModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatIconModule, imports: [MatCommonModule, MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatIconModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [MatCommonModule],\n exports: [MatIcon, MatCommonModule],\n declarations: [MatIcon],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { ICON_REGISTRY_PROVIDER, ICON_REGISTRY_PROVIDER_FACTORY, MAT_ICON_DEFAULT_OPTIONS, MAT_ICON_LOCATION, MAT_ICON_LOCATION_FACTORY, MatIcon, MatIconModule, MatIconRegistry, getMatIconFailedToSanitizeLiteralError, getMatIconFailedToSanitizeUrlError, getMatIconNameNotFoundError, getMatIconNoHttpProviderError };\n","export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}","export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}","export default function _iterableToArrayLimit(arr, i) {\n var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"];\n if (null != _i) {\n var _s,\n _e,\n _x,\n _r,\n _arr = [],\n _n = !0,\n _d = !1;\n try {\n if (_x = (_i = _i.call(arr)).next, 0 === i) {\n if (Object(_i) !== _i) return;\n _n = !1;\n } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);\n } catch (err) {\n _d = !0, _e = err;\n } finally {\n try {\n if (!_n && null != _i[\"return\"] && (_r = _i[\"return\"](), Object(_r) !== _r)) return;\n } finally {\n if (_d) throw _e;\n }\n }\n return _arr;\n }\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12]} \ No newline at end of file diff --git a/882.8ecea003bd197edb.js b/882.8ecea003bd197edb.js new file mode 100644 index 0000000..7df1b57 --- /dev/null +++ b/882.8ecea003bd197edb.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[882,5106,7376,5187,4091,1217,7208,4968,6785,4155,1084,6896,7920,6980,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,8061,4680,2111,3326,8596,8352,5501,3098,8467,6578,8608,8443,7328,5915,3278,5391,6748,1551,6763,4151,5069,7432,8071,6618],{44841:(_,a,t)=>{function o(u,e){(null==e||e>u.length)&&(e=u.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=u[r];return n}t.d(a,{Z:()=>o})},35488:(_,a,t)=>{function o(u){if(void 0===u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}t.d(a,{Z:()=>o})},95106:(_,a,t)=>{t.d(a,{Z:()=>u});var o=t(44206);function u(e,r){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=(0,o.Z)(e))||r&&e&&"number"==typeof e.length){n&&(e=n);var c=0,f=function(){};return{s:f,n:function(){return c>=e.length?{done:!0}:{done:!1,value:e[c++]}},e:function(p){throw p},f}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var d,i=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var p=n.next();return i=p.done,p},e:function(p){s=!0,d=p},f:function(){try{!i&&null!=n.return&&n.return()}finally{if(s)throw d}}}}},28694:(_,a,t)=>{t.d(a,{Z:()=>c});var o=t(20265),u=t(98568),e=t(43445),r=t(35488);function c(f){var i=(0,u.Z)();return function(){var l,d=(0,o.Z)(f);if(i){var p=(0,o.Z)(this).constructor;l=Reflect.construct(d,arguments,p)}else l=d.apply(this,arguments);return function n(f,i){if(i&&("object"===(0,e.Z)(i)||"function"==typeof i))return i;if(void 0!==i)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(f)}(this,l)}}},4089:(_,a,t)=>{t.d(a,{Z:()=>e});var o=t(20265);function e(){return e=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(n,c,f){var i=function u(r,n){for(;!Object.prototype.hasOwnProperty.call(r,n)&&null!==(r=(0,o.Z)(r)););return r}(n,c);if(i){var s=Object.getOwnPropertyDescriptor(i,c);return s.get?s.get.call(arguments.length<3?n:f):s.value}},e.apply(this,arguments)}},20265:(_,a,t)=>{function o(u){return(o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)})(u)}t.d(a,{Z:()=>o})},24582:(_,a,t)=>{t.d(a,{Z:()=>u});var o=t(10006);function u(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),r&&(0,o.Z)(e,r)}},98568:(_,a,t)=>{function o(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}t.d(a,{Z:()=>o})},4826:(_,a,t)=>{function o(u){if(typeof Symbol<"u"&&null!=u[Symbol.iterator]||null!=u["@@iterator"])return Array.from(u)}t.d(a,{Z:()=>o})},10006:(_,a,t)=>{function o(u,e){return(o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,c){return n.__proto__=c,n})(u,e)}t.d(a,{Z:()=>o})},86170:(_,a,t)=>{t.d(a,{Z:()=>c});var o=t(44841),e=t(4826),r=t(44206);function c(f){return function u(f){if(Array.isArray(f))return(0,o.Z)(f)}(f)||(0,e.Z)(f)||(0,r.Z)(f)||function 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.")}()}},44206:(_,a,t)=>{t.d(a,{Z:()=>u});var o=t(44841);function u(e,r){if(e){if("string"==typeof e)return(0,o.Z)(e,r);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return(0,o.Z)(e,r)}}}}]); +//# sourceMappingURL=882.8ecea003bd197edb.js.map \ No newline at end of file diff --git a/882.8ecea003bd197edb.js.map b/882.8ecea003bd197edb.js.map new file mode 100644 index 0000000..9abc9b5 --- /dev/null +++ b/882.8ecea003bd197edb.js.map @@ -0,0 +1 @@ +{"version":3,"file":"882.8ecea003bd197edb.js","mappings":"4TAAe,SAAAA,EAAAC,EAAAC,IACf,MAAAA,KAAAD,EAAAE,UAAAD,EAAAD,EAAAE,QACA,QAAAC,EAAA,EAAAC,EAAA,IAAAC,MAAAJ,GAAyCE,EAAAF,EAASE,IAAAC,EAAAD,GAAAH,EAAAG,GAClD,OAAAC,CACA,mCCJe,SAAAE,EAAAC,GACf,YAAAA,EACA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AAAD,EACA,mCCFe,SAAAE,EAAA3E,EAAA4E,GACf,OAAAD,EAAAxB,OAAAM,eAAAN,OAAAM,eAAAb,OAAA,SAAA5C,EAAA4E,GACA,OAAA5E,EAAA0D,UAAAkB,EACA5E,CACA,GACAA,EAAA4E,EACA,wFCFe,SAAAC,EAAAvF,GACf,OCJe,SAAAwF,EAAAxF,GACf,GAAAK,MAAAU,QAAAf,GAAA,SAAiCyF,EAAAxE,GAAgBjB,EACjD,CDESwF,CAAiBxF,KAAA,EAAS0F,EAAAzE,GAAejB,KAAA,EAAS2F,EAAA1E,GAA0BjB,IELtE,SAAA4F,IACf,UAAAnE,UAAA,uIACA,CFG8FmE,EAC9F,mDGLe,SAAAC,EAAAnF,EAAAoF,GACf,GAAApF,EACA,qBAAAA,EAAA,SAAoCqF,EAAA9E,GAAgBP,EAAAoF,GACpD,IAAA1E,EAAAyC,OAAAC,UAAAkC,SAAAnE,KAAAnB,GAAAuF,MAAA,MAEA,GADA,WAAA7E,GAAAV,EAAAkC,cAAAxB,EAAAV,EAAAkC,YAAAsD,MACA,QAAA9E,GAAA,QAAAA,EAAA,OAAAf,MAAA+E,KAAA1E,GACA,iBAAAU,GAAA,2CAAA+E,KAAA/E,GAAA,SAAsF2E,EAAA9E,GAAgBP,EAAAoF,EAAA,CACtG","names":["_arrayLikeToArray","arr","len","length","i","arr2","Array","_assertThisInitialized","self","ReferenceError","_createForOfIteratorHelper","o","allowArrayLike","it","Symbol","iterator","isArray","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","s","n","done","value","e","_e","TypeError","err","normalCompletion","didErr","call","step","next","_e2","f","return","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","result","Super","getPrototypeOf","NewTarget","this","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn","esm_typeof","assertThisInitialized","_get","get","bind","target","property","receiver","base","_superPropBase","object","Object","prototype","hasOwnProperty","desc","getOwnPropertyDescriptor","_getPrototypeOf","setPrototypeOf","__proto__","_inherits","subClass","superClass","create","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_iterableToArray","iter","from","_setPrototypeOf","p","_toConsumableArray","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","toString","slice","name","test"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]} \ No newline at end of file diff --git a/9031.e6e4824d40477a60.js b/9031.e6e4824d40477a60.js new file mode 100644 index 0000000..a231662 --- /dev/null +++ b/9031.e6e4824d40477a60.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[9031,5106,7376,5187,4091,1217,7208,4968,4155,1084,6896,5113,5749,4309,8024,8513,5555,4967,8017,8116,5873,4680,2111,3326,8596,8352,5501,3098,8608,8443,7328,5915,3278,5391,6748,1551,6763,4151,5069,7432,6618],{69031:(j,M,_)=>{_.r(M),_.d(M,{ANIMATION_MODULE_TYPE:()=>v.ANIMATION_MODULE_TYPE,BrowserAnimationsModule:()=>Yr,NoopAnimationsModule:()=>Xr,provideAnimations:()=>$r,provideNoopAnimations:()=>xr,\u0275AnimationRenderer:()=>en,\u0275AnimationRendererFactory:()=>xt,\u0275BrowserAnimationBuilder:()=>Ht,\u0275BrowserAnimationFactory:()=>Yt,\u0275InjectableAnimationEngine:()=>tn});var A=_(86170),k=_(32090),m=_(78069),p=_(48047),w=_(24582),O=_(28694),v=_(56718),I=_(15019),N=_(72223),Z=_(95106);function K(i){return new v.\u0275RuntimeError(3e3,!1)}function te(i){switch(i.length){case 0:return new N.ZN;case 1:return i[0];default:return new N.ZE(i)}}function pt(i,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new Map,t=arguments.length>3&&void 0!==arguments[3]?arguments[3]:new Map,r=[],a=[],s=-1,o=null;if(n.forEach(function(u){var l=u.get("offset"),f=l==s,c=f&&o||new Map;u.forEach(function(h,d){var g=d,S=h;if("offset"!==d)switch(g=i.normalizePropertyName(g,r),S){case N.k1:S=e.get(d);break;case N.l3:S=t.get(d);break;default:S=i.normalizeStyleValue(d,g,S,r)}c.set(g,S)}),f||a.push(c),o=c,s=l}),r.length)throw function Nn(i){return new v.\u0275RuntimeError(3502,!1)}();return a}function Ke(i,n,e,t){switch(n){case"start":i.onStart(function(){return t(e&&je(e,"start",i))});break;case"done":i.onDone(function(){return t(e&&je(e,"done",i))});break;case"destroy":i.onDestroy(function(){return t(e&&je(e,"destroy",i))})}}function je(i,n,e){var a=Qe(i.element,i.triggerName,i.fromState,i.toState,n||i.phaseName,e.totalTime??i.totalTime,!!e.disabled),s=i._data;return null!=s&&(a._data=s),a}function Qe(i,n,e,t){return{element:i,triggerName:n,fromState:e,toState:t,phaseName:arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",totalTime:arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,disabled:!!(arguments.length>6?arguments[6]:void 0)}}function V(i,n,e){var t=i.get(n);return t||i.set(n,t=e),t}function gt(i){var n=i.indexOf(":");return[i.substring(1,n),i.slice(n+1)]}var zn=function(){return typeof document>"u"?null:document.documentElement}();function Ve(i){var n=i.parentNode||i.host||null;return n===zn?null:n}var ae=null,_t=!1;function St(i,n){for(;n;){if(n===i)return!0;n=Ve(n)}return!1}function Et(i,n,e){if(e)return Array.from(i.querySelectorAll(n));var t=i.querySelector(n);return t?[t]:[]}var bt=function(){var i=function(){function n(){(0,m.Z)(this,n)}return(0,p.Z)(n,[{key:"validateStyleProperty",value:function(t){return function jn(i){ae||(ae=function Qn(){return typeof document<"u"?document.body:null}()||{},_t=!!ae.style&&"WebkitAppearance"in ae.style);var n=!0;return ae.style&&!function Kn(i){return"ebkit"==i.substring(1,6)}(i)&&!(n=i in ae.style)&&_t&&(n="Webkit"+i.charAt(0).toUpperCase()+i.slice(1)in ae.style),n}(t)}},{key:"matchesElement",value:function(t,r){return!1}},{key:"containsElement",value:function(t,r){return St(t,r)}},{key:"getParentElement",value:function(t){return Ve(t)}},{key:"query",value:function(t,r,a){return Et(t,r,a)}},{key:"computeStyle",value:function(t,r,a){return a||""}},{key:"animate",value:function(t,r,a,s,o){return new N.ZN(a,s)}}]),n}();return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=v.\u0275\u0275defineInjectable({token:i,factory:i.\u0275fac}),i}(),Ue=function(){var i=(0,p.Z)(function n(){(0,m.Z)(this,n)});return i.NOOP=new bt,i}(),Vn=1e3,kt="ng-enter",qe="ng-leave",Ae="ng-trigger",we=".ng-trigger",At="ng-animating",We=".ng-animating";function J(i){if("number"==typeof i)return i;var n=i.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:Ge(parseFloat(n[1]),n[2])}function Ge(i,n){return"s"===n?i*Vn:i}function Ne(i,n,e){return i.hasOwnProperty("duration")?i:function qn(i,n,e){var r,a=0,s="";if("string"==typeof i){var o=i.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===o)return n.push(K()),{duration:0,delay:0,easing:""};r=Ge(parseFloat(o[1]),o[2]);var u=o[3];null!=u&&(a=Ge(parseFloat(u),o[4]));var l=o[5];l&&(s=l)}else r=i;if(!e){var f=!1,c=n.length;r<0&&(n.push(function ve(){return new v.\u0275RuntimeError(3100,!1)}()),f=!0),a<0&&(n.push(function ce(){return new v.\u0275RuntimeError(3101,!1)}()),f=!0),f&&n.splice(c,0,K())}return{duration:r,delay:a,easing:s}}(i,n,e)}function me(i){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(i).forEach(function(e){n[e]=i[e]}),n}function wt(i){var n=new Map;return Object.keys(i).forEach(function(e){n.set(e,i[e])}),n}function ne(i){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Map,e=arguments.length>2?arguments[2]:void 0;if(e){var r,t=(0,Z.Z)(e);try{for(t.s();!(r=t.n()).done;){var a=(0,k.Z)(r.value,2);n.set(a[0],a[1])}}catch(d){t.e(d)}finally{t.f()}}var l,u=(0,Z.Z)(i);try{for(u.s();!(l=u.n()).done;){var f=(0,k.Z)(l.value,2);n.set(f[0],f[1])}}catch(d){u.e(d)}finally{u.f()}return n}function H(i,n,e){n.forEach(function(t,r){var a=Ye(r);e&&!e.has(r)&&e.set(r,i.style[a]),i.style[a]=t})}function se(i,n){n.forEach(function(e,t){var r=Ye(t);i.style[r]=""})}function ye(i){return Array.isArray(i)?1==i.length?i[0]:(0,N.vP)(i):i}var He=new RegExp("".concat("{{","\\s*(.+?)\\s*").concat("}}"),"g");function Nt(i){var n=[];if("string"==typeof i){for(var e;e=He.exec(i);)n.push(e[1]);He.lastIndex=0}return n}function pe(i,n,e){var t=i.toString(),r=t.replace(He,function(a,s){var o=n[s];return null==o&&(e.push(function ze(i){return new v.\u0275RuntimeError(3003,!1)}()),o=""),o.toString()});return r==t?i:r}function Pe(i){for(var n=[],e=i.next();!e.done;)n.push(e.value),e=i.next();return n}var Hn=/-+([a-z0-9])/g;function Ye(i){return i.replace(Hn,function(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];return e[1].toUpperCase()})}function U(i,n,e){switch(n.type){case 7:return i.visitTrigger(n,e);case 0:return i.visitState(n,e);case 1:return i.visitTransition(n,e);case 2:return i.visitSequence(n,e);case 3:return i.visitGroup(n,e);case 4:return i.visitAnimate(n,e);case 5:return i.visitKeyframes(n,e);case 6:return i.visitStyle(n,e);case 8:return i.visitReference(n,e);case 9:return i.visitAnimateChild(n,e);case 10:return i.visitAnimateRef(n,e);case 11:return i.visitQuery(n,e);case 12:return i.visitStagger(n,e);default:throw function cn(i){return new v.\u0275RuntimeError(3004,!1)}()}}function Pt(i,n){return window.getComputedStyle(i)[n]}var Me="*";function Xn(i,n){var e=[];return"string"==typeof i?i.split(/\s*,\s*/).forEach(function(t){return function xn(i,n,e){if(":"==i[0]){var t=function Jn(i,n){switch(i){case":enter":return"void => *";case":leave":return"* => void";case":increment":return function(e,t){return parseFloat(t)>parseFloat(e)};case":decrement":return function(e,t){return parseFloat(t)<parseFloat(e)};default:return n.push(function An(i){return new v.\u0275RuntimeError(3016,!1)}()),"* => *"}}(i,e);if("function"==typeof t)return void n.push(t);i=t}var r=i.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return e.push(function kn(i){return new v.\u0275RuntimeError(3015,!1)}()),n;var a=r[1],s=r[2],o=r[3];n.push(Mt(a,o)),"<"==s[0]&&!(a==Me&&o==Me)&&n.push(Mt(o,a))}(t,e,n)}):e.push(i),e}var Ce=new Set(["true","1"]),De=new Set(["false","0"]);function Mt(i,n){var e=Ce.has(i)||De.has(i),t=Ce.has(n)||De.has(n);return function(r,a){var s=i==Me||i==r,o=n==Me||n==a;return!s&&e&&"boolean"==typeof r&&(s=r?Ce.has(i):De.has(i)),!o&&t&&"boolean"==typeof a&&(o=a?Ce.has(n):De.has(n)),s&&o}}var er=new RegExp("s*".concat(":self","s*,?"),"g");function Dt(i,n,e,t){return new tr(i).build(n,e,t)}var tr=function(){function i(n){(0,m.Z)(this,i),this._driver=n}return(0,p.Z)(i,[{key:"build",value:function(e,t,r){var a=new ir(t);return this._resetContextStyleTimingState(a),U(this,ye(e),a)}},{key:"_resetContextStyleTimingState",value:function(e){e.currentQuerySelector="",e.collectedStyles=new Map,e.collectedStyles.set("",new Map),e.currentTime=0}},{key:"visitTrigger",value:function(e,t){var r=this,a=t.queryCount=0,s=t.depCount=0,o=[],u=[];return"@"==e.name.charAt(0)&&t.errors.push(function dn(){return new v.\u0275RuntimeError(3006,!1)}()),e.definitions.forEach(function(l){if(r._resetContextStyleTimingState(t),0==l.type){var f=l,c=f.name;c.toString().split(/\s*,\s*/).forEach(function(d){f.name=d,o.push(r.visitState(f,t))}),f.name=c}else if(1==l.type){var h=r.visitTransition(l,t);a+=h.queryCount,s+=h.depCount,u.push(h)}else t.errors.push(function vn(){return new v.\u0275RuntimeError(3007,!1)}())}),{type:7,name:e.name,states:o,transitions:u,queryCount:a,depCount:s,options:null}}},{key:"visitState",value:function(e,t){var r=this.visitStyle(e.styles,t),a=e.options&&e.options.params||null;if(r.containsDynamicStyles){var s=new Set,o=a||{};r.styles.forEach(function(l){l instanceof Map&&l.forEach(function(f){Nt(f).forEach(function(c){o.hasOwnProperty(c)||s.add(c)})})}),s.size&&(Pe(s.values()),t.errors.push(function mn(i,n){return new v.\u0275RuntimeError(3008,!1)}()))}return{type:0,name:e.name,style:r,options:a?{params:a}:null}}},{key:"visitTransition",value:function(e,t){t.queryCount=0,t.depCount=0;var r=U(this,ye(e.animation),t);return{type:1,matchers:Xn(e.expr,t.errors),animation:r,queryCount:t.queryCount,depCount:t.depCount,options:oe(e.options)}}},{key:"visitSequence",value:function(e,t){var r=this;return{type:2,steps:e.steps.map(function(a){return U(r,a,t)}),options:oe(e.options)}}},{key:"visitGroup",value:function(e,t){var r=this,a=t.currentTime,s=0,o=e.steps.map(function(u){t.currentTime=a;var l=U(r,u,t);return s=Math.max(s,t.currentTime),l});return t.currentTime=s,{type:3,steps:o,options:oe(e.options)}}},{key:"visitAnimate",value:function(e,t){var r=function sr(i,n){if(i.hasOwnProperty("duration"))return i;if("number"==typeof i)return $e(Ne(i,n).duration,0,"");var t=i,r=t.split(/\s+/).some(function(o){return"{"==o.charAt(0)&&"{"==o.charAt(1)});if(r){var a=$e(0,0,"");return a.dynamic=!0,a.strValue=t,a}var s=Ne(t,n);return $e(s.duration,s.delay,s.easing)}(e.timings,t.errors);t.currentAnimateTimings=r;var a,s=e.styles?e.styles:(0,N.oB)({});if(5==s.type)a=this.visitKeyframes(s,t);else{var o=e.styles,u=!1;if(!o){u=!0;var l={};r.easing&&(l.easing=r.easing),o=(0,N.oB)(l)}t.currentTime+=r.duration+r.delay;var f=this.visitStyle(o,t);f.isEmptyStep=u,a=f}return t.currentAnimateTimings=null,{type:4,timings:r,style:a,options:null}}},{key:"visitStyle",value:function(e,t){var r=this._makeStyleAst(e,t);return this._validateStyleAst(r,t),r}},{key:"_makeStyleAst",value:function(e,t){var o,r=[],a=Array.isArray(e.styles)?e.styles:[e.styles],s=(0,Z.Z)(a);try{for(s.s();!(o=s.n()).done;){var u=o.value;"string"==typeof u?u===N.l3?r.push(u):t.errors.push(new v.\u0275RuntimeError(3002,!1)):r.push(wt(u))}}catch(c){s.e(c)}finally{s.f()}var l=!1,f=null;return r.forEach(function(c){if(c instanceof Map&&(c.has("easing")&&(f=c.get("easing"),c.delete("easing")),!l)){var d,h=(0,Z.Z)(c.values());try{for(h.s();!(d=h.n()).done;)if(d.value.toString().indexOf("{{")>=0){l=!0;break}}catch(S){h.e(S)}finally{h.f()}}}),{type:6,styles:r,easing:f,offset:e.offset,containsDynamicStyles:l,options:null}}},{key:"_validateStyleAst",value:function(e,t){var a=t.currentAnimateTimings,s=t.currentTime,o=t.currentTime;a&&o>0&&(o-=a.duration+a.delay),e.styles.forEach(function(u){"string"!=typeof u&&u.forEach(function(l,f){var c=t.collectedStyles.get(t.currentQuerySelector),h=c.get(f),d=!0;h&&(o!=s&&o>=h.startTime&&s<=h.endTime&&(t.errors.push(function pn(i,n,e,t,r){return new v.\u0275RuntimeError(3010,!1)}()),d=!1),o=h.startTime),d&&c.set(f,{startTime:o,endTime:s}),t.options&&function Gn(i,n,e){var t=n.params||{},r=Nt(i);r.length&&r.forEach(function(a){t.hasOwnProperty(a)||e.push(function ke(i){return new v.\u0275RuntimeError(3001,!1)}())})}(l,t.options,t.errors)})})}},{key:"visitKeyframes",value:function(e,t){var r=this,a={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function gn(){return new v.\u0275RuntimeError(3011,!1)}()),a;var o=0,u=[],l=!1,f=!1,c=0,h=e.steps.map(function(F){var D=r._makeStyleAst(F,t),B=null!=D.offset?D.offset:function ar(i){if("string"==typeof i)return null;var n=null;if(Array.isArray(i))i.forEach(function(t){if(t instanceof Map&&t.has("offset")){var r=t;n=parseFloat(r.get("offset")),r.delete("offset")}});else if(i instanceof Map&&i.has("offset")){var e=i;n=parseFloat(e.get("offset")),e.delete("offset")}return n}(D.styles),L=0;return null!=B&&(o++,L=D.offset=B),f=f||L<0||L>1,l=l||L<c,c=L,u.push(L),D});f&&t.errors.push(function _n(){return new v.\u0275RuntimeError(3012,!1)}()),l&&t.errors.push(function Sn(){return new v.\u0275RuntimeError(3200,!1)}());var d=e.steps.length,g=0;o>0&&o<d?t.errors.push(function En(){return new v.\u0275RuntimeError(3202,!1)}()):0==o&&(g=1/(d-1));var S=d-1,b=t.currentTime,P=t.currentAnimateTimings,C=P.duration;return h.forEach(function(F,D){var B=g>0?D==S?1:g*D:u[D],L=B*C;t.currentTime=b+P.delay+L,P.duration=L,r._validateStyleAst(F,t),F.offset=B,a.styles.push(F)}),a}},{key:"visitReference",value:function(e,t){return{type:8,animation:U(this,ye(e.animation),t),options:oe(e.options)}}},{key:"visitAnimateChild",value:function(e,t){return t.depCount++,{type:9,options:oe(e.options)}}},{key:"visitAnimateRef",value:function(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:oe(e.options)}}},{key:"visitQuery",value:function(e,t){var r=t.currentQuerySelector,a=e.options||{};t.queryCount++,t.currentQuery=e;var s=function nr(i){var n=!!i.split(/\s*,\s*/).find(function(e){return":self"==e});return n&&(i=i.replace(er,"")),i=i.replace(/@\*/g,we).replace(/@\w+/g,function(e){return we+"-"+e.slice(1)}).replace(/:animating/g,We),[i,n]}(e.selector),o=(0,k.Z)(s,2),u=o[0],l=o[1];t.currentQuerySelector=r.length?r+" "+u:u,V(t.collectedStyles,t.currentQuerySelector,new Map);var f=U(this,ye(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=r,{type:11,selector:u,limit:a.limit||0,optional:!!a.optional,includeSelf:l,animation:f,originalSelector:e.selector,options:oe(e.options)}}},{key:"visitStagger",value:function(e,t){t.currentQuery||t.errors.push(function bn(){return new v.\u0275RuntimeError(3013,!1)}());var r="full"===e.timings?{duration:0,delay:0,easing:"full"}:Ne(e.timings,t.errors,!0);return{type:12,animation:U(this,ye(e.animation),t),timings:r,options:null}}}]),i}(),ir=(0,p.Z)(function i(n){(0,m.Z)(this,i),this.errors=n,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set});function oe(i){return i?(i=me(i)).params&&(i.params=function rr(i){return i?me(i):null}(i.params)):i={},i}function $e(i,n,e){return{duration:i,delay:n,easing:e}}function Xe(i,n,e,t,r,a){return{type:1,element:i,keyframes:n,preStyleProps:e,postStyleProps:t,duration:r,delay:a,totalTime:r+a,easing:arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,subTimeline:arguments.length>7&&void 0!==arguments[7]&&arguments[7]}}var xe=function(){function i(){(0,m.Z)(this,i),this._map=new Map}return(0,p.Z)(i,[{key:"get",value:function(e){return this._map.get(e)||[]}},{key:"append",value:function(e,t){var r,a=this._map.get(e);a||this._map.set(e,a=[]),(r=a).push.apply(r,(0,A.Z)(t))}},{key:"has",value:function(e){return this._map.has(e)}},{key:"clear",value:function(){this._map.clear()}}]),i}(),lr=new RegExp(":enter","g"),cr=new RegExp(":leave","g");function Ot(i,n,e,t,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:new Map,s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:new Map,o=arguments.length>7?arguments[7]:void 0,u=arguments.length>8?arguments[8]:void 0,l=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new hr).buildKeyframes(i,n,e,t,r,a,s,o,u,l)}var hr=function(){function i(){(0,m.Z)(this,i)}return(0,p.Z)(i,[{key:"buildKeyframes",value:function(e,t,r,a,s,o,u,l,f){var c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];f=f||new xe;var h=new dr(e,t,f,a,s,c,[]);h.options=l;var d=l.delay?J(l.delay):0;h.currentTimeline.delayNextStep(d),h.currentTimeline.setStyles([o],null,h.errors,l),U(this,r,h);var g=h.timelines.filter(function(C){return C.containsAnimation()});if(g.length&&u.size){for(var S,b=g.length-1;b>=0;b--){var P=g[b];if(P.element===t){S=P;break}}S&&!S.allowOnlyTimelineStyles()&&S.setStyles([u],null,h.errors,l)}return g.length?g.map(function(C){return C.buildKeyframes()}):[Xe(t,[],[],[],0,d,"",!1)]}},{key:"visitTrigger",value:function(e,t){}},{key:"visitState",value:function(e,t){}},{key:"visitTransition",value:function(e,t){}},{key:"visitAnimateChild",value:function(e,t){var r=t.subInstructions.get(t.element);if(r){var a=t.createSubContext(e.options),s=t.currentTimeline.currentTime,o=this._visitSubInstructions(r,a,a.options);s!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e}},{key:"visitAnimateRef",value:function(e,t){var r=t.createSubContext(e.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,r),this.visitReference(e.animation,r),t.transformIntoNewTimeline(r.currentTimeline.currentTime),t.previousNode=e}},{key:"_applyAnimationRefDelays",value:function(e,t,r){var s,a=(0,Z.Z)(e);try{for(a.s();!(s=a.n()).done;){var o=s.value,u=o?.delay;if(u){var l,f="number"==typeof u?u:J(pe(u,null!==(l=o?.params)&&void 0!==l?l:{},t.errors));r.delayNextStep(f)}}}catch(c){a.e(c)}finally{a.f()}}},{key:"_visitSubInstructions",value:function(e,t,r){var s=t.currentTimeline.currentTime,o=null!=r.duration?J(r.duration):null,u=null!=r.delay?J(r.delay):null;return 0!==o&&e.forEach(function(l){var f=t.appendInstructionToTimeline(l,o,u);s=Math.max(s,f.duration+f.delay)}),s}},{key:"visitReference",value:function(e,t){t.updateOptions(e.options,!0),U(this,e.animation,t),t.previousNode=e}},{key:"visitSequence",value:function(e,t){var r=this,a=t.subContextCount,s=t,o=e.options;if(o&&(o.params||o.delay)&&((s=t.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==s.previousNode.type&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=Re);var u=J(o.delay);s.delayNextStep(u)}e.steps.length&&(e.steps.forEach(function(l){return U(r,l,s)}),s.currentTimeline.applyStylesToKeyframe(),s.subContextCount>a&&s.transformIntoNewTimeline()),t.previousNode=e}},{key:"visitGroup",value:function(e,t){var r=this,a=[],s=t.currentTimeline.currentTime,o=e.options&&e.options.delay?J(e.options.delay):0;e.steps.forEach(function(u){var l=t.createSubContext(e.options);o&&l.delayNextStep(o),U(r,u,l),s=Math.max(s,l.currentTimeline.currentTime),a.push(l.currentTimeline)}),a.forEach(function(u){return t.currentTimeline.mergeTimelineCollectedStyles(u)}),t.transformIntoNewTimeline(s),t.previousNode=e}},{key:"_visitTiming",value:function(e,t){if(e.dynamic){var r=e.strValue;return Ne(t.params?pe(r,t.params,t.errors):r,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}},{key:"visitAnimate",value:function(e,t){var r=t.currentAnimateTimings=this._visitTiming(e.timings,t),a=t.currentTimeline;r.delay&&(t.incrementTime(r.delay),a.snapshotCurrentStyles());var s=e.style;5==s.type?this.visitKeyframes(s,t):(t.incrementTime(r.duration),this.visitStyle(s,t),a.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}},{key:"visitStyle",value:function(e,t){var r=t.currentTimeline,a=t.currentAnimateTimings;!a&&r.hasCurrentStyleProperties()&&r.forwardFrame();var s=a&&a.easing||e.easing;e.isEmptyStep?r.applyEmptyStep(s):r.setStyles(e.styles,s,t.errors,t.options),t.previousNode=e}},{key:"visitKeyframes",value:function(e,t){var r=t.currentAnimateTimings,a=t.currentTimeline.duration,s=r.duration,u=t.createSubContext().currentTimeline;u.easing=r.easing,e.styles.forEach(function(l){u.forwardTime((l.offset||0)*s),u.setStyles(l.styles,l.easing,t.errors,t.options),u.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(u),t.transformIntoNewTimeline(a+s),t.previousNode=e}},{key:"visitQuery",value:function(e,t){var r=this,a=t.currentTimeline.currentTime,s=e.options||{},o=s.delay?J(s.delay):0;o&&(6===t.previousNode.type||0==a&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Re);var u=a,l=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!s.optional,t.errors);t.currentQueryTotal=l.length;var f=null;l.forEach(function(c,h){t.currentQueryIndex=h;var d=t.createSubContext(e.options,c);o&&d.delayNextStep(o),c===t.element&&(f=d.currentTimeline),U(r,e.animation,d),d.currentTimeline.applyStylesToKeyframe(),u=Math.max(u,d.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(u),f&&(t.currentTimeline.mergeTimelineCollectedStyles(f),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}},{key:"visitStagger",value:function(e,t){var r=t.parentContext,a=t.currentTimeline,s=e.timings,o=Math.abs(s.duration),u=o*(t.currentQueryTotal-1),l=o*t.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":l=u-l;break;case"full":l=r.currentStaggerTime}var c=t.currentTimeline;l&&c.delayNextStep(l);var h=c.currentTime;U(this,e.animation,t),t.previousNode=e,r.currentStaggerTime=a.currentTime-h+(a.startTime-r.currentTimeline.startTime)}}]),i}(),Re={},dr=function(){function i(n,e,t,r,a,s,o,u){(0,m.Z)(this,i),this._driver=n,this.element=e,this.subInstructions=t,this._enterClassName=r,this._leaveClassName=a,this.errors=s,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Re,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=u||new It(this._driver,e,0),o.push(this.currentTimeline)}return(0,p.Z)(i,[{key:"params",get:function(){return this.options.params}},{key:"updateOptions",value:function(e,t){var r=this;if(e){var a=e,s=this.options;null!=a.duration&&(s.duration=J(a.duration)),null!=a.delay&&(s.delay=J(a.delay));var o=a.params;if(o){var u=s.params;u||(u=this.options.params={}),Object.keys(o).forEach(function(l){(!t||!u.hasOwnProperty(l))&&(u[l]=pe(o[l],u,r.errors))})}}}},{key:"_copyOptions",value:function(){var e={};if(this.options){var t=this.options.params;if(t){var r=e.params={};Object.keys(t).forEach(function(a){r[a]=t[a]})}}return e}},{key:"createSubContext",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a=(arguments.length>1?arguments[1]:void 0)||this.element,s=new i(this._driver,a,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(a,(arguments.length>2?arguments[2]:void 0)||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(e),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}},{key:"transformIntoNewTimeline",value:function(e){return this.previousNode=Re,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value:function(e,t,r){var a={duration:t??e.duration,delay:this.currentTimeline.currentTime+(r??0)+e.delay,easing:""},s=new vr(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,a,e.stretchStartingKeyframe);return this.timelines.push(s),a}},{key:"incrementTime",value:function(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}},{key:"delayNextStep",value:function(e){e>0&&this.currentTimeline.delayNextStep(e)}},{key:"invokeQuery",value:function(e,t,r,a,s,o){var u=[];if(a&&u.push(this.element),e.length>0){e=(e=e.replace(lr,"."+this._enterClassName)).replace(cr,"."+this._leaveClassName);var f=this._driver.query(this.element,e,1!=r);0!==r&&(f=r<0?f.slice(f.length+r,f.length):f.slice(0,r)),u.push.apply(u,(0,A.Z)(f))}return!s&&0==u.length&&o.push(function Tn(i){return new v.\u0275RuntimeError(3014,!1)}()),u}}]),i}(),It=function(){function i(n,e,t,r){(0,m.Z)(this,i),this._driver=n,this.element=e,this.startTime=t,this._elementTimelineStylesLookup=r,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}return(0,p.Z)(i,[{key:"containsAnimation",value:function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}},{key:"hasCurrentStyleProperties",value:function(){return this._currentKeyframe.size>0}},{key:"currentTime",get:function(){return this.startTime+this.duration}},{key:"delayNextStep",value:function(e){var t=1===this._keyframes.size&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}},{key:"fork",value:function(e,t){return this.applyStylesToKeyframe(),new i(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}},{key:"_loadKeyframe",value:function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}},{key:"forwardFrame",value:function(){this.duration+=1,this._loadKeyframe()}},{key:"forwardTime",value:function(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}},{key:"_updateStyle",value:function(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}},{key:"allowOnlyTimelineStyles",value:function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}},{key:"applyEmptyStep",value:function(e){e&&this._previousKeyframe.set("easing",e);var r,t=(0,Z.Z)(this._globalTimelineStyles);try{for(t.s();!(r=t.n()).done;){var a=(0,k.Z)(r.value,2),s=a[0];this._backFill.set(s,a[1]||N.l3),this._currentKeyframe.set(s,N.l3)}}catch(u){t.e(u)}finally{t.f()}this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(e,t,r,a){t&&this._previousKeyframe.set("easing",t);var l,s=a&&a.params||{},o=function mr(i,n){var t,e=new Map;return i.forEach(function(r){if("*"===r){t=t||n.keys();var s,a=(0,Z.Z)(t);try{for(a.s();!(s=a.n()).done;)e.set(s.value,N.l3)}catch(u){a.e(u)}finally{a.f()}}else ne(r,e)}),e}(e,this._globalTimelineStyles),u=(0,Z.Z)(o);try{for(u.s();!(l=u.n()).done;){var g,f=(0,k.Z)(l.value,2),c=f[0],d=pe(f[1],s,r);this._pendingStyles.set(c,d),this._localTimelineStyles.has(c)||this._backFill.set(c,null!==(g=this._globalTimelineStyles.get(c))&&void 0!==g?g:N.l3),this._updateStyle(c,d)}}catch(S){u.e(S)}finally{u.f()}}},{key:"applyStylesToKeyframe",value:function(){var e=this;0!=this._pendingStyles.size&&(this._pendingStyles.forEach(function(t,r){e._currentKeyframe.set(r,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach(function(t,r){e._currentKeyframe.has(r)||e._currentKeyframe.set(r,t)}))}},{key:"snapshotCurrentStyles",value:function(){var t,e=(0,Z.Z)(this._localTimelineStyles);try{for(e.s();!(t=e.n()).done;){var r=(0,k.Z)(t.value,2),a=r[0],s=r[1];this._pendingStyles.set(a,s),this._updateStyle(a,s)}}catch(o){e.e(o)}finally{e.f()}}},{key:"getFinalKeyframe",value:function(){return this._keyframes.get(this.duration)}},{key:"properties",get:function(){var e=[];for(var t in this._currentKeyframe)e.push(t);return e}},{key:"mergeTimelineCollectedStyles",value:function(e){var t=this;e._styleSummary.forEach(function(r,a){var s=t._styleSummary.get(a);(!s||r.time>s.time)&&t._updateStyle(a,r.value)})}},{key:"buildKeyframes",value:function(){var e=this;this.applyStylesToKeyframe();var t=new Set,r=new Set,a=1===this._keyframes.size&&0===this.duration,s=[];this._keyframes.forEach(function(c,h){var d=ne(c,new Map,e._backFill);d.forEach(function(g,S){g===N.k1?t.add(S):g===N.l3&&r.add(S)}),a||d.set("offset",h/e.duration),s.push(d)});var o=t.size?Pe(t.values()):[],u=r.size?Pe(r.values()):[];if(a){var l=s[0],f=new Map(l);l.set("offset",0),f.set("offset",1),s=[l,f]}return Xe(this.element,s,o,u,this.duration,this.startTime,this.easing,!1)}}]),i}(),vr=function(i){(0,w.Z)(e,i);var n=(0,O.Z)(e);function e(t,r,a,s,o,u){var l,f=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return(0,m.Z)(this,e),(l=n.call(this,t,r,u.delay)).keyframes=a,l.preStyleProps=s,l.postStyleProps=o,l._stretchStartingKeyframe=f,l.timings={duration:u.duration,delay:u.delay,easing:u.easing},l}return(0,p.Z)(e,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var r=this.keyframes,a=this.timings,s=a.delay,o=a.duration,u=a.easing;if(this._stretchStartingKeyframe&&s){var l=[],f=o+s,c=s/f,h=ne(r[0]);h.set("offset",0),l.push(h);var d=ne(r[0]);d.set("offset",Lt(c)),l.push(d);for(var g=r.length-1,S=1;S<=g;S++){var b=ne(r[S]),P=b.get("offset");b.set("offset",Lt((s+P*o)/f)),l.push(b)}o=f,s=0,u="",r=l}return Xe(this.element,r,this.preStyleProps,this.postStyleProps,o,s,u,!0)}}]),e}(It);function Lt(i){var e=Math.pow(10,(arguments.length>1&&void 0!==arguments[1]?arguments[1]:3)-1);return Math.round(i*e)/e}var Je=(0,p.Z)(function i(){(0,m.Z)(this,i)}),yr=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),pr=function(i){(0,w.Z)(e,i);var n=(0,O.Z)(e);function e(){return(0,m.Z)(this,e),n.apply(this,arguments)}return(0,p.Z)(e,[{key:"normalizePropertyName",value:function(r,a){return Ye(r)}},{key:"normalizeStyleValue",value:function(r,a,s,o){var u="",l=s.toString().trim();if(yr.has(a)&&0!==s&&"0"!==s)if("number"==typeof s)u="px";else{var f=s.match(/^[+-]?[\d\.]+([a-z]*)$/);f&&0==f[1].length&&o.push(function hn(i,n){return new v.\u0275RuntimeError(3005,!1)}())}return l+u}}]),e}(Je);function Ft(i,n,e,t,r,a,s,o,u,l,f,c,h){return{type:0,element:i,triggerName:n,isRemovalTransition:r,fromState:e,fromStyles:a,toState:t,toStyles:s,timelines:o,queriedElements:u,preStyleProps:l,postStyleProps:f,totalTime:c,errors:h}}var et={},Zt=function(){function i(n,e,t){(0,m.Z)(this,i),this._triggerName=n,this.ast=e,this._stateStyles=t}return(0,p.Z)(i,[{key:"match",value:function(e,t,r,a){return function gr(i,n,e,t,r){return i.some(function(a){return a(n,e,t,r)})}(this.ast.matchers,e,t,r,a)}},{key:"buildStyles",value:function(e,t,r){var a=this._stateStyles.get("*");return void 0!==e&&(a=this._stateStyles.get(e?.toString())||a),a?a.buildStyles(t,r):new Map}},{key:"build",value:function(e,t,r,a,s,o,u,l,f,c){var h,d=[],g=this.ast.options&&this.ast.options.params||et,b=this.buildStyles(r,u&&u.params||et,d),P=l&&l.params||et,C=this.buildStyles(a,P,d),F=new Set,D=new Map,B=new Map,L="void"===a,ue={params:_r(P,g),delay:null===(h=this.ast.options)||void 0===h?void 0:h.delay},Y=c?[]:Ot(e,t,this.ast.animation,s,o,b,C,ue,f,d),$=0;if(Y.forEach(function(q){$=Math.max(q.duration+q.delay,$)}),d.length)return Ft(t,this._triggerName,r,a,L,b,C,[],[],D,B,$,d);Y.forEach(function(q){var ie=q.element,ut=V(D,ie,new Set);q.preStyleProps.forEach(function(le){return ut.add(le)});var Fe=V(B,ie,new Set);q.postStyleProps.forEach(function(le){return Fe.add(le)}),ie!==t&&F.add(ie)});var re=Pe(F.values());return Ft(t,this._triggerName,r,a,L,b,C,Y,re,D,B,$)}}]),i}();function _r(i,n){var e=me(n);for(var t in i)i.hasOwnProperty(t)&&null!=i[t]&&(e[t]=i[t]);return e}var Sr=function(){function i(n,e,t){(0,m.Z)(this,i),this.styles=n,this.defaultParams=e,this.normalizer=t}return(0,p.Z)(i,[{key:"buildStyles",value:function(e,t){var r=this,a=new Map,s=me(this.defaultParams);return Object.keys(e).forEach(function(o){var u=e[o];null!==u&&(s[o]=u)}),this.styles.styles.forEach(function(o){"string"!=typeof o&&o.forEach(function(u,l){u&&(u=pe(u,s,t));var f=r.normalizer.normalizePropertyName(l,t);u=r.normalizer.normalizeStyleValue(l,f,u,t),a.set(l,u)})}),a}}]),i}(),br=function(){function i(n,e,t){var r=this;(0,m.Z)(this,i),this.name=n,this.ast=e,this._normalizer=t,this.transitionFactories=[],this.states=new Map,e.states.forEach(function(a){r.states.set(a.name,new Sr(a.style,a.options&&a.options.params||{},t))}),Bt(this.states,"true","1"),Bt(this.states,"false","0"),e.transitions.forEach(function(a){r.transitionFactories.push(new Zt(n,a,r.states))}),this.fallbackTransition=function Tr(i,n,e){return new Zt(i,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(s,o){return!0}],options:null,queryCount:0,depCount:0},n)}(n,this.states)}return(0,p.Z)(i,[{key:"containsQueries",get:function(){return this.ast.queryCount>0}},{key:"matchTransition",value:function(e,t,r,a){return this.transitionFactories.find(function(o){return o.match(e,t,r,a)})||null}},{key:"matchStyles",value:function(e,t,r){return this.fallbackTransition.buildStyles(e,t,r)}}]),i}();function Bt(i,n,e){i.has(n)?i.has(e)||i.set(e,i.get(n)):i.has(e)&&i.set(n,i.get(e))}var kr=new xe,Ar=function(){function i(n,e,t){(0,m.Z)(this,i),this.bodyNode=n,this._driver=e,this._normalizer=t,this._animations=new Map,this._playersById=new Map,this.players=[]}return(0,p.Z)(i,[{key:"register",value:function(e,t){var r=[],s=Dt(this._driver,t,r,[]);if(r.length)throw function Pn(i){return new v.\u0275RuntimeError(3503,!1)}();this._animations.set(e,s)}},{key:"_buildPlayer",value:function(e,t,r){var a=e.element,s=pt(this._normalizer,e.keyframes,t,r);return this._driver.animate(a,s,e.duration,e.delay,e.easing,[],!0)}},{key:"create",value:function(e,t){var u,r=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=[],o=this._animations.get(e),l=new Map;if(o?(u=Ot(this._driver,t,o,kt,qe,new Map,new Map,a,kr,s)).forEach(function(h){var d=V(l,h.element,new Map);h.postStyleProps.forEach(function(g){return d.set(g,null)})}):(s.push(function Mn(){return new v.\u0275RuntimeError(3300,!1)}()),u=[]),s.length)throw function Cn(i){return new v.\u0275RuntimeError(3504,!1)}();l.forEach(function(h,d){h.forEach(function(g,S){h.set(S,r._driver.computeStyle(d,S,N.l3))})});var c=te(u.map(function(h){var d=l.get(h.element);return r._buildPlayer(h,new Map,d)}));return this._playersById.set(e,c),c.onDestroy(function(){return r.destroy(e)}),this.players.push(c),c}},{key:"destroy",value:function(e){var t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);var r=this.players.indexOf(t);r>=0&&this.players.splice(r,1)}},{key:"_getPlayer",value:function(e){var t=this._playersById.get(e);if(!t)throw function Dn(i){return new v.\u0275RuntimeError(3301,!1)}();return t}},{key:"listen",value:function(e,t,r,a){var s=Qe(t,"","","");return Ke(this._getPlayer(e),r,s,a),function(){}}},{key:"command",value:function(e,t,r,a){if("register"!=r)if("create"!=r){var o=this._getPlayer(e);switch(r){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(a[0]));break;case"destroy":this.destroy(e)}}else this.create(e,t,a[0]||{});else this.register(e,a[0])}}]),i}(),zt="ng-animate-queued",tt="ng-animate-disabled",Cr=[],Kt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Dr={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},W="__ng_removed",nt=function(){function i(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";(0,m.Z)(this,i),this.namespaceId=e;var t=n&&n.hasOwnProperty("value");if(this.value=function Lr(i){return i??null}(t?n.value:n),t){var a=me(n);delete a.value,this.options=a}else this.options={};this.options.params||(this.options.params={})}return(0,p.Z)(i,[{key:"params",get:function(){return this.options.params}},{key:"absorbOptions",value:function(e){var t=e.params;if(t){var r=this.options.params;Object.keys(t).forEach(function(a){null==r[a]&&(r[a]=t[a])})}}}]),i}(),ge="void",rt=new nt(ge),Rr=function(){function i(n,e,t){(0,m.Z)(this,i),this.id=n,this.hostElement=e,this._engine=t,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,G(e,this._hostClassName)}return(0,p.Z)(i,[{key:"listen",value:function(e,t,r,a){var s=this;if(!this._triggers.has(t))throw function Rn(i,n){return new v.\u0275RuntimeError(3302,!1)}();if(null==r||0==r.length)throw function On(i){return new v.\u0275RuntimeError(3303,!1)}();if(!function Fr(i){return"start"==i||"done"==i}(r))throw function In(i,n){return new v.\u0275RuntimeError(3400,!1)}();var o=V(this._elementListeners,e,[]),u={name:t,phase:r,callback:a};o.push(u);var l=V(this._engine.statesByElement,e,new Map);return l.has(t)||(G(e,Ae),G(e,Ae+"-"+t),l.set(t,rt)),function(){s._engine.afterFlush(function(){var f=o.indexOf(u);f>=0&&o.splice(f,1),s._triggers.has(t)||l.delete(t)})}}},{key:"register",value:function(e,t){return!this._triggers.has(e)&&(this._triggers.set(e,t),!0)}},{key:"_getTrigger",value:function(e){var t=this._triggers.get(e);if(!t)throw function Ln(i){return new v.\u0275RuntimeError(3401,!1)}();return t}},{key:"trigger",value:function(e,t,r){var a=this,s=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=this._getTrigger(t),u=new it(this.id,t,e),l=this._engine.statesByElement.get(e);l||(G(e,Ae),G(e,Ae+"-"+t),this._engine.statesByElement.set(e,l=new Map));var f=l.get(t),c=new nt(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&f&&c.absorbOptions(f.options),l.set(t,c),f||(f=rt),c.value===ge||f.value!==c.value){var P=V(this._engine.playersByElement,e,[]);P.forEach(function(D){D.namespaceId==a.id&&D.triggerName==t&&D.queued&&D.destroy()});var C=o.matchTransition(f.value,c.value,e,c.params),F=!1;if(!C){if(!s)return;C=o.fallbackTransition,F=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:C,fromState:f,toState:c,player:u,isFallbackTransition:F}),F||(G(e,zt),u.onStart(function(){he(e,zt)})),u.onDone(function(){var D=a.players.indexOf(u);D>=0&&a.players.splice(D,1);var B=a._engine.playersByElement.get(e);if(B){var L=B.indexOf(u);L>=0&&B.splice(L,1)}}),this.players.push(u),P.push(u),u}if(!function zr(i,n){var e=Object.keys(i),t=Object.keys(n);if(e.length!=t.length)return!1;for(var r=0;r<e.length;r++){var a=e[r];if(!n.hasOwnProperty(a)||i[a]!==n[a])return!1}return!0}(f.params,c.params)){var g=[],S=o.matchStyles(f.value,f.params,g),b=o.matchStyles(c.value,c.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(function(){se(e,S),H(e,b)})}}},{key:"deregister",value:function(e){var t=this;this._triggers.delete(e),this._engine.statesByElement.forEach(function(r){return r.delete(e)}),this._elementListeners.forEach(function(r,a){t._elementListeners.set(a,r.filter(function(s){return s.name!=e}))})}},{key:"clearElementCache",value:function(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);var t=this._engine.playersByElement.get(e);t&&(t.forEach(function(r){return r.destroy()}),this._engine.playersByElement.delete(e))}},{key:"_signalRemovalForInnerTriggers",value:function(e,t){var r=this,a=this._engine.driver.query(e,we,!0);a.forEach(function(s){if(!s[W]){var o=r._engine.fetchNamespacesByElement(s);o.size?o.forEach(function(u){return u.triggerLeaveAnimation(s,t,!1,!0)}):r.clearElementCache(s)}}),this._engine.afterFlushAnimationsDone(function(){return a.forEach(function(s){return r.clearElementCache(s)})})}},{key:"triggerLeaveAnimation",value:function(e,t,r,a){var s=this,o=this._engine.statesByElement.get(e),u=new Map;if(o){var l=[];if(o.forEach(function(f,c){if(u.set(c,f.value),s._triggers.has(c)){var h=s.trigger(e,c,ge,a);h&&l.push(h)}}),l.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,u),r&&te(l).onDone(function(){return s._engine.processLeaveNode(e)}),!0}return!1}},{key:"prepareLeaveAnimationListeners",value:function(e){var t=this,r=this._elementListeners.get(e),a=this._engine.statesByElement.get(e);if(r&&a){var s=new Set;r.forEach(function(o){var u=o.name;if(!s.has(u)){s.add(u);var f=t._triggers.get(u).fallbackTransition,c=a.get(u)||rt,h=new nt(ge),d=new it(t.id,u,e);t._engine.totalQueuedPlayers++,t._queue.push({element:e,triggerName:u,transition:f,fromState:c,toState:h,player:d,isFallbackTransition:!0})}})}}},{key:"removeNode",value:function(e,t){var r=this,a=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),!this.triggerLeaveAnimation(e,t,!0)){var s=!1;if(a.totalAnimations){var o=a.players.length?a.playersByQueriedElement.get(e):[];if(o&&o.length)s=!0;else for(var u=e;u=u.parentNode;)if(a.statesByElement.get(u)){s=!0;break}}if(this.prepareLeaveAnimationListeners(e),s)a.markElementAsRemoved(this.id,e,!1,t);else{var f=e[W];(!f||f===Kt)&&(a.afterFlush(function(){return r.clearElementCache(e)}),a.destroyInnerAnimations(e),a._onRemovalComplete(e,t))}}}},{key:"insertNode",value:function(e,t){G(e,this._hostClassName)}},{key:"drainQueuedTransitions",value:function(e){var t=this,r=[];return this._queue.forEach(function(a){var s=a.player;if(!s.destroyed){var o=a.element,u=t._elementListeners.get(o);u&&u.forEach(function(l){if(l.name==a.triggerName){var f=Qe(o,a.triggerName,a.fromState.value,a.toState.value);f._data=e,Ke(a.player,l.phase,f,l.callback)}}),s.markedForDestroy?t._engine.afterFlush(function(){s.destroy()}):r.push(a)}}),this._queue=[],r.sort(function(a,s){var o=a.transition.ast.depCount,u=s.transition.ast.depCount;return 0==o||0==u?o-u:t._engine.driver.containsElement(a.element,s.element)?1:-1})}},{key:"destroy",value:function(e){this.players.forEach(function(t){return t.destroy()}),this._signalRemovalForInnerTriggers(this.hostElement,e)}},{key:"elementContainsData",value:function(e){var t=!1;return this._elementListeners.has(e)&&(t=!0),!!this._queue.find(function(r){return r.element===e})||t}}]),i}(),Or=function(){function i(n,e,t){(0,m.Z)(this,i),this.bodyNode=n,this.driver=e,this._normalizer=t,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=function(r,a){}}return(0,p.Z)(i,[{key:"_onRemovalComplete",value:function(e,t){this.onRemovalComplete(e,t)}},{key:"queuedPlayers",get:function(){var e=[];return this._namespaceList.forEach(function(t){t.players.forEach(function(r){r.queued&&e.push(r)})}),e}},{key:"createNamespace",value:function(e,t){var r=new Rr(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(r,t):(this.newHostElements.set(t,r),this.collectEnterElement(t)),this._namespaceLookup[e]=r}},{key:"_balanceNamespaceList",value:function(e,t){var r=this._namespaceList,a=this.namespacesByHostElement;if(r.length-1>=0){for(var o=!1,u=this.driver.getParentElement(t);u;){var l=a.get(u);if(l){var f=r.indexOf(l);r.splice(f+1,0,e),o=!0;break}u=this.driver.getParentElement(u)}o||r.unshift(e)}else r.push(e);return a.set(t,e),e}},{key:"register",value:function(e,t){var r=this._namespaceLookup[e];return r||(r=this.createNamespace(e,t)),r}},{key:"registerTrigger",value:function(e,t,r){var a=this._namespaceLookup[e];a&&a.register(t,r)&&this.totalAnimations++}},{key:"destroy",value:function(e,t){var r=this;if(e){var a=this._fetchNamespace(e);this.afterFlush(function(){r.namespacesByHostElement.delete(a.hostElement),delete r._namespaceLookup[e];var s=r._namespaceList.indexOf(a);s>=0&&r._namespaceList.splice(s,1)}),this.afterFlushAnimationsDone(function(){return a.destroy(t)})}}},{key:"_fetchNamespace",value:function(e){return this._namespaceLookup[e]}},{key:"fetchNamespacesByElement",value:function(e){var t=new Set,r=this.statesByElement.get(e);if(r){var s,a=(0,Z.Z)(r.values());try{for(a.s();!(s=a.n()).done;){var o=s.value;if(o.namespaceId){var u=this._fetchNamespace(o.namespaceId);u&&t.add(u)}}}catch(l){a.e(l)}finally{a.f()}}return t}},{key:"trigger",value:function(e,t,r,a){if(Oe(t)){var s=this._fetchNamespace(e);if(s)return s.trigger(t,r,a),!0}return!1}},{key:"insertNode",value:function(e,t,r,a){if(Oe(t)){var s=t[W];if(s&&s.setForRemoval){s.setForRemoval=!1,s.setForMove=!0;var o=this.collectedLeaveElements.indexOf(t);o>=0&&this.collectedLeaveElements.splice(o,1)}if(e){var u=this._fetchNamespace(e);u&&u.insertNode(t,r)}a&&this.collectEnterElement(t)}}},{key:"collectEnterElement",value:function(e){this.collectedEnterElements.push(e)}},{key:"markElementAsDisabled",value:function(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),G(e,tt)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),he(e,tt))}},{key:"removeNode",value:function(e,t,r){if(Oe(t)){var a=e?this._fetchNamespace(e):null;a?a.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r);var s=this.namespacesByHostElement.get(t);s&&s.id!==e&&s.removeNode(t,r)}else this._onRemovalComplete(t,r)}},{key:"markElementAsRemoved",value:function(e,t,r,a,s){this.collectedLeaveElements.push(t),t[W]={namespaceId:e,setForRemoval:a,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:s}}},{key:"listen",value:function(e,t,r,a,s){return Oe(t)?this._fetchNamespace(e).listen(t,r,a,s):function(){}}},{key:"_buildInstruction",value:function(e,t,r,a,s){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,r,a,e.fromState.options,e.toState.options,t,s)}},{key:"destroyInnerAnimations",value:function(e){var t=this,r=this.driver.query(e,we,!0);r.forEach(function(a){return t.destroyActiveAnimationsForElement(a)}),0!=this.playersByQueriedElement.size&&(r=this.driver.query(e,We,!0)).forEach(function(a){return t.finishActiveQueriedAnimationOnElement(a)})}},{key:"destroyActiveAnimationsForElement",value:function(e){var t=this.playersByElement.get(e);t&&t.forEach(function(r){r.queued?r.markedForDestroy=!0:r.destroy()})}},{key:"finishActiveQueriedAnimationOnElement",value:function(e){var t=this.playersByQueriedElement.get(e);t&&t.forEach(function(r){return r.finish()})}},{key:"whenRenderingDone",value:function(){var e=this;return new Promise(function(t){if(e.players.length)return te(e.players).onDone(function(){return t()});t()})}},{key:"processLeaveNode",value:function(e){var t,r=this,a=e[W];if(a&&a.setForRemoval){if(e[W]=Kt,a.namespaceId){this.destroyInnerAnimations(e);var s=this._fetchNamespace(a.namespaceId);s&&s.clearElementCache(e)}this._onRemovalComplete(e,a.setForRemoval)}null!==(t=e.classList)&&void 0!==t&&t.contains(tt)&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(function(o){r.markElementAsDisabled(o,!1)})}},{key:"flush",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,r=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(h,d){return e._balanceNamespaceList(h,d)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var a=0;a<this.collectedEnterElements.length;a++)G(this.collectedEnterElements[a],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){var o=[];try{r=this._flushAnimations(o,t)}finally{for(var u=0;u<o.length;u++)o[u]()}}else for(var l=0;l<this.collectedLeaveElements.length;l++)this.processLeaveNode(this.collectedLeaveElements[l]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(function(h){return h()}),this._flushFns=[],this._whenQuietFns.length){var c=this._whenQuietFns;this._whenQuietFns=[],r.length?te(r).onDone(function(){c.forEach(function(h){return h()})}):c.forEach(function(h){return h()})}}},{key:"reportError",value:function(e){throw function Fn(i){return new v.\u0275RuntimeError(3402,!1)}()}},{key:"_flushAnimations",value:function(e,t){var r=this,a=new xe,s=[],o=new Map,u=[],l=new Map,f=new Map,c=new Map,h=new Set;this.disabledNodes.forEach(function(y){h.add(y);for(var E=r.driver.query(y,".ng-animate-queued",!0),T=0;T<E.length;T++)h.add(E[T])});var d=this.bodyNode,g=Array.from(this.statesByElement.keys()),S=Vt(g,this.collectedEnterElements),b=new Map,P=0;S.forEach(function(y,E){var T=kt+P++;b.set(E,T),y.forEach(function(R){return G(R,T)})});for(var C=[],F=new Set,D=new Set,B=0;B<this.collectedLeaveElements.length;B++){var L=this.collectedLeaveElements[B],ue=L[W];ue&&ue.setForRemoval&&(C.push(L),F.add(L),ue.hasAnimation?this.driver.query(L,".ng-star-inserted",!0).forEach(function(y){return F.add(y)}):D.add(L))}var Y=new Map,$=Vt(g,Array.from(F));$.forEach(function(y,E){var T=qe+P++;Y.set(E,T),y.forEach(function(R){return G(R,T)})}),e.push(function(){S.forEach(function(y,E){var T=b.get(E);y.forEach(function(R){return he(R,T)})}),$.forEach(function(y,E){var T=Y.get(E);y.forEach(function(R){return he(R,T)})}),C.forEach(function(y){r.processLeaveNode(y)})});for(var re=[],q=[],ie=this._namespaceList.length-1;ie>=0;ie--)this._namespaceList[ie].drainQueuedTransitions(t).forEach(function(y){var E=y.player,T=y.element;if(re.push(E),r.collectedEnterElements.length){var R=T[W];if(R&&R.setForMove){if(R.previousTriggersValues&&R.previousTriggersValues.has(y.triggerName)){var X=R.previousTriggersValues.get(y.triggerName),ee=r.statesByElement.get(y.element);if(ee&&ee.has(y.triggerName)){var Se=ee.get(y.triggerName);Se.value=X,ee.set(y.triggerName,Se)}}return void E.destroy()}}var Ee=!d||!r.driver.containsElement(d,T),mt=Y.get(T),be=b.get(T),z=r._buildInstruction(y,a,be,mt,Ee);if(z.errors&&z.errors.length)q.push(z);else{if(Ee)return E.onStart(function(){return se(T,z.fromStyles)}),E.onDestroy(function(){return H(T,z.toStyles)}),void s.push(E);if(y.isFallbackTransition)return E.onStart(function(){return se(T,z.fromStyles)}),E.onDestroy(function(){return H(T,z.toStyles)}),void s.push(E);var fn=[];z.timelines.forEach(function(x){x.stretchStartingKeyframe=!0,r.disabledNodes.has(x.element)||fn.push(x)}),z.timelines=fn,a.append(T,z.timelines),u.push({instruction:z,player:E,element:T}),z.queriedElements.forEach(function(x){return V(l,x,[]).push(E)}),z.preStyleProps.forEach(function(x,Te){if(x.size){var fe=f.get(Te);fe||f.set(Te,fe=new Set),x.forEach(function(ti,yt){return fe.add(yt)})}}),z.postStyleProps.forEach(function(x,Te){var fe=c.get(Te);fe||c.set(Te,fe=new Set),x.forEach(function(ti,yt){return fe.add(yt)})})}});if(q.length){var Fe=[];q.forEach(function(y){Fe.push(function Zn(i,n){return new v.\u0275RuntimeError(3505,!1)}())}),re.forEach(function(y){return y.destroy()}),this.reportError(Fe)}var le=new Map,Ze=new Map;u.forEach(function(y){var E=y.element;a.has(E)&&(Ze.set(E,E),r._beforeAnimationBuild(y.player.namespaceId,y.instruction,le))}),s.forEach(function(y){var E=y.element;r._getPreviousPlayers(E,!1,y.namespaceId,y.triggerName,null).forEach(function(R){V(le,E,[]).push(R),R.destroy()})});var rn=C.filter(function(y){return qt(y,f,c)}),Be=new Map;Qt(Be,this.driver,D,c,N.l3).forEach(function(y){qt(y,f,c)&&rn.push(y)});var lt=new Map;S.forEach(function(y,E){Qt(lt,r.driver,new Set(y),f,N.k1)}),rn.forEach(function(y){var E,T,R=Be.get(y),X=lt.get(y);Be.set(y,new Map([].concat((0,A.Z)(null!==(E=R?.entries())&&void 0!==E?E:[]),(0,A.Z)(null!==(T=X?.entries())&&void 0!==T?T:[]))))});var ft=[],an=[],sn={};u.forEach(function(y){var E=y.element,T=y.player,R=y.instruction;if(a.has(E)){if(h.has(E))return T.onDestroy(function(){return H(E,R.toStyles)}),T.disabled=!0,T.overrideTotalTime(R.totalTime),void s.push(T);var X=sn;if(Ze.size>1){for(var ee=E,Se=[];ee=ee.parentNode;){var Ee=Ze.get(ee);if(Ee){X=Ee;break}Se.push(ee)}Se.forEach(function(z){return Ze.set(z,X)})}var mt=r._buildAnimation(T.namespaceId,R,le,o,lt,Be);if(T.setRealPlayer(mt),X===sn)ft.push(T);else{var be=r.playersByElement.get(X);be&&be.length&&(T.parentPlayer=te(be)),s.push(T)}}else se(E,R.fromStyles),T.onDestroy(function(){return H(E,R.toStyles)}),an.push(T),h.has(E)&&s.push(T)}),an.forEach(function(y){var E=o.get(y.element);if(E&&E.length){var T=te(E);y.setRealPlayer(T)}}),s.forEach(function(y){y.parentPlayer?y.syncPlayerEvents(y.parentPlayer):y.destroy()});for(var ct=0;ct<C.length;ct++){var de=C[ct],on=de[W];if(he(de,qe),!on||!on.hasAnimation){var _e=[];if(l.size){var ht=l.get(de);ht&&ht.length&&_e.push.apply(_e,(0,A.Z)(ht));for(var un=this.driver.query(de,We,!0),dt=0;dt<un.length;dt++){var vt=l.get(un[dt]);vt&&vt.length&&_e.push.apply(_e,(0,A.Z)(vt))}}var ln=_e.filter(function(y){return!y.destroyed});ln.length?Zr(this,de,ln):this.processLeaveNode(de)}}return C.length=0,ft.forEach(function(y){r.players.push(y),y.onDone(function(){y.destroy();var E=r.players.indexOf(y);r.players.splice(E,1)}),y.play()}),ft}},{key:"elementContainsData",value:function(e,t){var r=!1,a=t[W];return a&&a.setForRemoval&&(r=!0),this.playersByElement.has(t)&&(r=!0),this.playersByQueriedElement.has(t)&&(r=!0),this.statesByElement.has(t)&&(r=!0),this._fetchNamespace(e).elementContainsData(t)||r}},{key:"afterFlush",value:function(e){this._flushFns.push(e)}},{key:"afterFlushAnimationsDone",value:function(e){this._whenQuietFns.push(e)}},{key:"_getPreviousPlayers",value:function(e,t,r,a,s){var o=[];if(t){var u=this.playersByQueriedElement.get(e);u&&(o=u)}else{var l=this.playersByElement.get(e);if(l){var f=!s||s==ge;l.forEach(function(c){c.queued||!f&&c.triggerName!=a||o.push(c)})}}return(r||a)&&(o=o.filter(function(c){return!(r&&r!=c.namespaceId||a&&a!=c.triggerName)})),o}},{key:"_beforeAnimationBuild",value:function(e,t,r){var c,a=this,o=t.element,u=t.isRemovalTransition?void 0:e,l=t.isRemovalTransition?void 0:t.triggerName,f=(0,Z.Z)(t.timelines);try{var h=function(){var S=c.value.element,b=S!==o,P=V(r,S,[]);a._getPreviousPlayers(S,b,u,l,t.toState).forEach(function(F){var D=F.getRealPlayer();D.beforeDestroy&&D.beforeDestroy(),F.destroy(),P.push(F)})};for(f.s();!(c=f.n()).done;)h()}catch(d){f.e(d)}finally{f.f()}se(o,t.fromStyles)}},{key:"_buildAnimation",value:function(e,t,r,a,s,o){var u=this,l=t.triggerName,f=t.element,c=[],h=new Set,d=new Set,g=t.timelines.map(function(b){var P=b.element;h.add(P);var C=P[W];if(C&&C.removedBeforeQueried)return new N.ZN(b.duration,b.delay);var F=P!==f,D=function Br(i){var n=[];return Ut(i,n),n}((r.get(P)||Cr).map(function(re){return re.getRealPlayer()})).filter(function(re){return!!re.element&&re.element===P}),B=s.get(P),L=o.get(P),ue=pt(u._normalizer,b.keyframes,B,L),Y=u._buildPlayer(b,ue,D);if(b.subTimeline&&a&&d.add(P),F){var $=new it(e,l,P);$.setRealPlayer(Y),c.push($)}return Y});c.forEach(function(b){V(u.playersByQueriedElement,b.element,[]).push(b),b.onDone(function(){return function Ir(i,n,e){var t=i.get(n);if(t){if(t.length){var r=t.indexOf(e);t.splice(r,1)}0==t.length&&i.delete(n)}return t}(u.playersByQueriedElement,b.element,b)})}),h.forEach(function(b){return G(b,At)});var S=te(g);return S.onDestroy(function(){h.forEach(function(b){return he(b,At)}),H(f,t.toStyles)}),d.forEach(function(b){V(a,b,[]).push(S)}),S}},{key:"_buildPlayer",value:function(e,t,r){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,r):new N.ZN(e.duration,e.delay)}}]),i}(),it=function(){function i(n,e,t){(0,m.Z)(this,i),this.namespaceId=n,this.triggerName=e,this.element=t,this._player=new N.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return(0,p.Z)(i,[{key:"setRealPlayer",value:function(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach(function(t,r){t.forEach(function(a){return Ke(e,r,void 0,a)})}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}},{key:"getRealPlayer",value:function(){return this._player}},{key:"overrideTotalTime",value:function(e){this.totalTime=e}},{key:"syncPlayerEvents",value:function(e){var t=this,r=this._player;r.triggerCallback&&e.onStart(function(){return r.triggerCallback("start")}),e.onDone(function(){return t.finish()}),e.onDestroy(function(){return t.destroy()})}},{key:"_queueEvent",value:function(e,t){V(this._queuedCallbacks,e,[]).push(t)}},{key:"onDone",value:function(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}},{key:"onStart",value:function(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}},{key:"onDestroy",value:function(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}},{key:"init",value:function(){this._player.init()}},{key:"hasStarted",value:function(){return!this.queued&&this._player.hasStarted()}},{key:"play",value:function(){!this.queued&&this._player.play()}},{key:"pause",value:function(){!this.queued&&this._player.pause()}},{key:"restart",value:function(){!this.queued&&this._player.restart()}},{key:"finish",value:function(){this._player.finish()}},{key:"destroy",value:function(){this.destroyed=!0,this._player.destroy()}},{key:"reset",value:function(){!this.queued&&this._player.reset()}},{key:"setPosition",value:function(e){this.queued||this._player.setPosition(e)}},{key:"getPosition",value:function(){return this.queued?0:this._player.getPosition()}},{key:"triggerCallback",value:function(e){var t=this._player;t.triggerCallback&&t.triggerCallback(e)}}]),i}();function Oe(i){return i&&1===i.nodeType}function jt(i,n){var e=i.style.display;return i.style.display=n??"none",e}function Qt(i,n,e,t,r){var a=[];e.forEach(function(u){return a.push(jt(u))});var s=[];t.forEach(function(u,l){var f=new Map;u.forEach(function(c){var h=n.computeStyle(l,c,r);f.set(c,h),(!h||0==h.length)&&(l[W]=Dr,s.push(l))}),i.set(l,f)});var o=0;return e.forEach(function(u){return jt(u,a[o++])}),s}function Vt(i,n){var e=new Map;if(i.forEach(function(o){return e.set(o,[])}),0==n.length)return e;var t=1,r=new Set(n),a=new Map;function s(o){if(!o)return t;var u=a.get(o);if(u)return u;var l=o.parentNode;return u=e.has(l)?l:r.has(l)?t:s(l),a.set(o,u),u}return n.forEach(function(o){var u=s(o);u!==t&&e.get(u).push(o)}),e}function G(i,n){var e;null===(e=i.classList)||void 0===e||e.add(n)}function he(i,n){var e;null===(e=i.classList)||void 0===e||e.remove(n)}function Zr(i,n,e){te(e).onDone(function(){return i.processLeaveNode(n)})}function Ut(i,n){for(var e=0;e<i.length;e++){var t=i[e];t instanceof N.ZE?Ut(t.players,n):n.push(t)}}function qt(i,n,e){var t=e.get(i);if(!t)return!1;var r=n.get(i);return r?t.forEach(function(a){return r.add(a)}):n.set(i,t),e.delete(i),!0}var Ie=function(){function i(n,e,t){var r=this;(0,m.Z)(this,i),this.bodyNode=n,this._driver=e,this._normalizer=t,this._triggerCache={},this.onRemovalComplete=function(a,s){},this._transitionEngine=new Or(n,e,t),this._timelineEngine=new Ar(n,e,t),this._transitionEngine.onRemovalComplete=function(a,s){return r.onRemovalComplete(a,s)}}return(0,p.Z)(i,[{key:"registerTrigger",value:function(e,t,r,a,s){var o=e+"-"+a,u=this._triggerCache[o];if(!u){var l=[],c=Dt(this._driver,s,l,[]);if(l.length)throw function wn(i,n){return new v.\u0275RuntimeError(3404,!1)}();u=function Er(i,n,e){return new br(i,n,e)}(a,c,this._normalizer),this._triggerCache[o]=u}this._transitionEngine.registerTrigger(t,a,u)}},{key:"register",value:function(e,t){this._transitionEngine.register(e,t)}},{key:"destroy",value:function(e,t){this._transitionEngine.destroy(e,t)}},{key:"onInsert",value:function(e,t,r,a){this._transitionEngine.insertNode(e,t,r,a)}},{key:"onRemove",value:function(e,t,r){this._transitionEngine.removeNode(e,t,r)}},{key:"disableAnimations",value:function(e,t){this._transitionEngine.markElementAsDisabled(e,t)}},{key:"process",value:function(e,t,r,a){if("@"==r.charAt(0)){var s=gt(r),o=(0,k.Z)(s,2);this._timelineEngine.command(o[0],t,o[1],a)}else this._transitionEngine.trigger(e,t,r,a)}},{key:"listen",value:function(e,t,r,a,s){if("@"==r.charAt(0)){var o=gt(r),u=(0,k.Z)(o,2);return this._timelineEngine.listen(u[0],t,u[1],s)}return this._transitionEngine.listen(e,t,r,a,s)}},{key:"flush",value:function(){this._transitionEngine.flush(arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1)}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}}]),i}(),jr=function(){var i=function(){function n(e,t,r){(0,m.Z)(this,n),this._element=e,this._startStyles=t,this._endStyles=r,this._state=0;var a=n.initialStylesByElement.get(e);a||n.initialStylesByElement.set(e,a=new Map),this._initialStyles=a}return(0,p.Z)(n,[{key:"start",value:function(){this._state<1&&(this._startStyles&&H(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(H(this._element,this._initialStyles),this._endStyles&&(H(this._element,this._endStyles),this._endStyles=null),this._state=1)}},{key:"destroy",value:function(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(se(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(se(this._element,this._endStyles),this._endStyles=null),H(this._element,this._initialStyles),this._state=3)}}]),n}();return i.initialStylesByElement=new WeakMap,i}();function at(i){var n=null;return i.forEach(function(e,t){(function Qr(i){return"display"===i||"position"===i})(t)&&(n=n||new Map).set(t,e)}),n}var Wt=function(){function i(n,e,t,r){(0,m.Z)(this,i),this.element=n,this.keyframes=e,this.options=t,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=t.duration,this._delay=t.delay||0,this.time=this._duration+this._delay}return(0,p.Z)(i,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"init",value:function(){this._buildPlayer(),this._preparePlayerBeforeStart()}},{key:"_buildPlayer",value:function(){var e=this;if(!this._initialized){this._initialized=!0;var t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:new Map,this.domPlayer.addEventListener("finish",function(){return e._onFinish()})}}},{key:"_preparePlayerBeforeStart",value:function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}},{key:"_convertKeyframesToObject",value:function(e){var t=[];return e.forEach(function(r){t.push(Object.fromEntries(r))}),t}},{key:"_triggerWebAnimation",value:function(e,t,r){return e.animate(this._convertKeyframesToObject(t),r)}},{key:"onStart",value:function(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"play",value:function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}},{key:"pause",value:function(){this.init(),this.domPlayer.pause()}},{key:"finish",value:function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}},{key:"reset",value:function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}},{key:"_resetDomPlayerState",value:function(){this.domPlayer&&this.domPlayer.cancel()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"hasStarted",value:function(){return this._started}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"setPosition",value:function(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}},{key:"getPosition",value:function(){return this.domPlayer.currentTime/this.time}},{key:"totalTime",get:function(){return this._delay+this._duration}},{key:"beforeDestroy",value:function(){var e=this,t=new Map;this.hasStarted()&&this._finalKeyframe.forEach(function(a,s){"offset"!==s&&t.set(s,e._finished?a:Pt(e.element,s))}),this.currentSnapshot=t}},{key:"triggerCallback",value:function(e){var t="start"===e?this._onStartFns:this._onDoneFns;t.forEach(function(r){return r()}),t.length=0}}]),i}(),Vr=function(){function i(){(0,m.Z)(this,i)}return(0,p.Z)(i,[{key:"validateStyleProperty",value:function(e){return!0}},{key:"validateAnimatableStyleProperty",value:function(e){return!0}},{key:"matchesElement",value:function(e,t){return!1}},{key:"containsElement",value:function(e,t){return St(e,t)}},{key:"getParentElement",value:function(e){return Ve(e)}},{key:"query",value:function(e,t,r){return Et(e,t,r)}},{key:"computeStyle",value:function(e,t,r){return window.getComputedStyle(e)[t]}},{key:"animate",value:function(e,t,r,a,s){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],l={duration:r,delay:a,fill:0==a?"both":"forwards"};s&&(l.easing=s);var f=new Map,c=o.filter(function(g){return g instanceof Wt});(function Yn(i,n){return 0===i||0===n})(r,a)&&c.forEach(function(g){g.currentSnapshot.forEach(function(S,b){return f.set(b,S)})});var h=function Wn(i){return i.length?i[0]instanceof Map?i:i.map(function(n){return wt(n)}):[]}(t).map(function(g){return ne(g)});h=function $n(i,n,e){if(e.size&&n.length){var t=n[0],r=[];if(e.forEach(function(o,u){t.has(u)||r.push(u),t.set(u,o)}),r.length)for(var a=function(){var u=n[s];r.forEach(function(l){return u.set(l,Pt(i,l))})},s=1;s<n.length;s++)a()}return n}(e,h,f);var d=function Kr(i,n){var e=null,t=null;return Array.isArray(n)&&n.length?(e=at(n[0]),n.length>1&&(t=at(n[n.length-1]))):n instanceof Map&&(e=at(n)),e||t?new jr(i,e,t):null}(e,h);return new Wt(e,h,l,d)}}]),i}(),Gt=_(94055),Ht=function(){var i=function(n){(0,w.Z)(t,n);var e=(0,O.Z)(t);function t(r,a){var s;return(0,m.Z)(this,t),(s=e.call(this))._nextAnimationId=0,s._renderer=r.createRenderer(a.body,{id:"0",encapsulation:v.ViewEncapsulation.None,styles:[],data:{animation:[]}}),s}return(0,p.Z)(t,[{key:"build",value:function(a){var s=this._nextAnimationId.toString();this._nextAnimationId++;var o=Array.isArray(a)?(0,N.vP)(a):a;return $t(this._renderer,null,s,"register",[o]),new Yt(s,this._renderer)}}]),t}(N._j);return i.\u0275fac=function(e){return new(e||i)(v.\u0275\u0275inject(v.RendererFactory2),v.\u0275\u0275inject(Gt.DOCUMENT))},i.\u0275prov=v.\u0275\u0275defineInjectable({token:i,factory:i.\u0275fac}),i}(),Yt=function(i){(0,w.Z)(e,i);var n=(0,O.Z)(e);function e(t,r){var a;return(0,m.Z)(this,e),(a=n.call(this))._id=t,a._renderer=r,a}return(0,p.Z)(e,[{key:"create",value:function(r,a){return new Ur(this._id,r,a||{},this._renderer)}}]),e}(N.LC),Ur=function(){function i(n,e,t,r){(0,m.Z)(this,i),this.id=n,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",t)}return(0,p.Z)(i,[{key:"_listen",value:function(e,t){return this._renderer.listen(this.element,"@@".concat(this.id,":").concat(e),t)}},{key:"_command",value:function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),a=1;a<t;a++)r[a-1]=arguments[a];return $t(this._renderer,this.element,this.id,e,r)}},{key:"onDone",value:function(e){this._listen("done",e)}},{key:"onStart",value:function(e){this._listen("start",e)}},{key:"onDestroy",value:function(e){this._listen("destroy",e)}},{key:"init",value:function(){this._command("init")}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this._command("play"),this._started=!0}},{key:"pause",value:function(){this._command("pause")}},{key:"restart",value:function(){this._command("restart")}},{key:"finish",value:function(){this._command("finish")}},{key:"destroy",value:function(){this._command("destroy")}},{key:"reset",value:function(){this._command("reset"),this._started=!1}},{key:"setPosition",value:function(e){this._command("setPosition",e)}},{key:"getPosition",value:function(){var e,t;return null!==(e=null===(t=this._renderer.engine.players[+this.id])||void 0===t?void 0:t.getPosition())&&void 0!==e?e:0}}]),i}();function $t(i,n,e,t,r){return i.setProperty(n,"@@".concat(e,":").concat(t),r)}var Xt="@.disabled",xt=function(){var i=function(){function n(e,t,r){(0,m.Z)(this,n),this.delegate=e,this.engine=t,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=function(a,s){var o=s?.parentNode(a);o&&s.removeChild(o,a)}}return(0,p.Z)(n,[{key:"createRenderer",value:function(t,r){var a=this,o=this.delegate.createRenderer(t,r);if(!(t&&r&&r.data&&r.data.animation)){var u=this._rendererCache.get(o);return u||(u=new Jt("",o,this.engine,function(){return a._rendererCache.delete(o)}),this._rendererCache.set(o,u)),u}var f=r.id,c=r.id+"-"+this._currentId;return this._currentId++,this.engine.register(c,t),r.data.animation.forEach(function g(S){Array.isArray(S)?S.forEach(g):a.engine.registerTrigger(f,c,t,S.name,S)}),new en(this,c,o,this.engine)}},{key:"begin",value:function(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}},{key:"_scheduleCountTask",value:function(){var t=this;this.promise.then(function(){t._microtaskId++})}},{key:"scheduleListenerCallback",value:function(t,r,a){var s=this;t>=0&&t<this._microtaskId?this._zone.run(function(){return r(a)}):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(function(){s._zone.run(function(){s._animationCallbacksBuffer.forEach(function(o){var u=(0,k.Z)(o,2);(0,u[0])(u[1])}),s._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([r,a]))}},{key:"end",value:function(){var t=this;this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(function(){t._scheduleCountTask(),t.engine.flush(t._microtaskId)}),this.delegate.end&&this.delegate.end()}},{key:"whenRenderingDone",value:function(){return this.engine.whenRenderingDone()}}]),n}();return i.\u0275fac=function(e){return new(e||i)(v.\u0275\u0275inject(v.RendererFactory2),v.\u0275\u0275inject(Ie),v.\u0275\u0275inject(v.NgZone))},i.\u0275prov=v.\u0275\u0275defineInjectable({token:i,factory:i.\u0275fac}),i}(),Jt=function(){function i(n,e,t,r){(0,m.Z)(this,i),this.namespaceId=n,this.delegate=e,this.engine=t,this._onDestroy=r,this.destroyNode=this.delegate.destroyNode?function(a){return e.destroyNode(a)}:null}return(0,p.Z)(i,[{key:"data",get:function(){return this.delegate.data}},{key:"destroy",value:function(){var e;this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),null===(e=this._onDestroy)||void 0===e||e.call(this)}},{key:"createElement",value:function(e,t){return this.delegate.createElement(e,t)}},{key:"createComment",value:function(e){return this.delegate.createComment(e)}},{key:"createText",value:function(e){return this.delegate.createText(e)}},{key:"appendChild",value:function(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}},{key:"insertBefore",value:function(e,t,r){var a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];this.delegate.insertBefore(e,t,r),this.engine.onInsert(this.namespaceId,t,e,a)}},{key:"removeChild",value:function(e,t,r){this.engine.onRemove(this.namespaceId,t,this.delegate)}},{key:"selectRootElement",value:function(e,t){return this.delegate.selectRootElement(e,t)}},{key:"parentNode",value:function(e){return this.delegate.parentNode(e)}},{key:"nextSibling",value:function(e){return this.delegate.nextSibling(e)}},{key:"setAttribute",value:function(e,t,r,a){this.delegate.setAttribute(e,t,r,a)}},{key:"removeAttribute",value:function(e,t,r){this.delegate.removeAttribute(e,t,r)}},{key:"addClass",value:function(e,t){this.delegate.addClass(e,t)}},{key:"removeClass",value:function(e,t){this.delegate.removeClass(e,t)}},{key:"setStyle",value:function(e,t,r,a){this.delegate.setStyle(e,t,r,a)}},{key:"removeStyle",value:function(e,t,r){this.delegate.removeStyle(e,t,r)}},{key:"setProperty",value:function(e,t,r){"@"==t.charAt(0)&&t==Xt?this.disableAnimations(e,!!r):this.delegate.setProperty(e,t,r)}},{key:"setValue",value:function(e,t){this.delegate.setValue(e,t)}},{key:"listen",value:function(e,t,r){return this.delegate.listen(e,t,r)}},{key:"disableAnimations",value:function(e,t){this.engine.disableAnimations(e,t)}}]),i}(),en=function(i){(0,w.Z)(e,i);var n=(0,O.Z)(e);function e(t,r,a,s,o){var u;return(0,m.Z)(this,e),(u=n.call(this,r,a,s,o)).factory=t,u.namespaceId=r,u}return(0,p.Z)(e,[{key:"setProperty",value:function(r,a,s){"@"==a.charAt(0)?"."==a.charAt(1)&&a==Xt?this.disableAnimations(r,s=void 0===s||!!s):this.engine.process(this.namespaceId,r,a.slice(1),s):this.delegate.setProperty(r,a,s)}},{key:"listen",value:function(r,a,s){var o=this;if("@"==a.charAt(0)){var u=function qr(i){switch(i){case"body":return document.body;case"document":return document;case"window":return window;default:return i}}(r),l=a.slice(1),f="";if("@"!=l.charAt(0)){var c=function Wr(i){var n=i.indexOf(".");return[i.substring(0,n),i.slice(n+1)]}(l),h=(0,k.Z)(c,2);l=h[0],f=h[1]}return this.engine.listen(this.namespaceId,u,l,f,function(d){o.factory.scheduleListenerCallback(d._data||-1,s,d)})}return this.delegate.listen(r,a,s)}}]),e}(Jt),tn=function(){var i=function(n){(0,w.Z)(t,n);var e=(0,O.Z)(t);function t(r,a,s,o){return(0,m.Z)(this,t),e.call(this,r.body,a,s)}return(0,p.Z)(t,[{key:"ngOnDestroy",value:function(){this.flush()}}]),t}(Ie);return i.\u0275fac=function(e){return new(e||i)(v.\u0275\u0275inject(Gt.DOCUMENT),v.\u0275\u0275inject(Ue),v.\u0275\u0275inject(Je),v.\u0275\u0275inject(v.ApplicationRef))},i.\u0275prov=v.\u0275\u0275defineInjectable({token:i,factory:i.\u0275fac}),i}(),nn=[{provide:N._j,useClass:Ht},{provide:Je,useFactory:function Gr(){return new pr}},{provide:Ie,useClass:tn},{provide:v.RendererFactory2,useFactory:function Hr(i,n,e){return new xt(i,n,e)},deps:[I.\u0275DomRendererFactory2,Ie,v.NgZone]}],st=[{provide:Ue,useFactory:function(){return new Vr}},{provide:v.ANIMATION_MODULE_TYPE,useValue:"BrowserAnimations"}].concat(nn),ot=[{provide:Ue,useClass:bt},{provide:v.ANIMATION_MODULE_TYPE,useValue:"NoopAnimations"}].concat(nn),Yr=function(){var i=function(){function n(){(0,m.Z)(this,n)}return(0,p.Z)(n,null,[{key:"withConfig",value:function(t){return{ngModule:n,providers:t.disableAnimations?ot:st}}}]),n}();return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=v.\u0275\u0275defineNgModule({type:i}),i.\u0275inj=v.\u0275\u0275defineInjector({providers:st,imports:[I.BrowserModule]}),i}();function $r(){return(0,A.Z)(st)}var Xr=function(){var i=(0,p.Z)(function n(){(0,m.Z)(this,n)});return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=v.\u0275\u0275defineNgModule({type:i}),i.\u0275inj=v.\u0275\u0275defineInjector({providers:ot,imports:[I.BrowserModule]}),i}();function xr(){return(0,A.Z)(ot)}},44841:(j,M,_)=>{function A(k,m){(null==m||m>k.length)&&(m=k.length);for(var p=0,w=new Array(m);p<m;p++)w[p]=k[p];return w}_.d(M,{Z:()=>A})},8091:(j,M,_)=>{function A(k){if(Array.isArray(k))return k}_.d(M,{Z:()=>A})},35488:(j,M,_)=>{function A(k){if(void 0===k)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return k}_.d(M,{Z:()=>A})},95106:(j,M,_)=>{_.d(M,{Z:()=>k});var A=_(44206);function k(m,p){var w=typeof Symbol<"u"&&m[Symbol.iterator]||m["@@iterator"];if(!w){if(Array.isArray(m)||(w=(0,A.Z)(m))||p&&m&&"number"==typeof m.length){w&&(m=w);var O=0,v=function(){};return{s:v,n:function(){return O>=m.length?{done:!0}:{done:!1,value:m[O++]}},e:function(K){throw K},f:v}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var Z,I=!0,N=!1;return{s:function(){w=w.call(m)},n:function(){var K=w.next();return I=K.done,K},e:function(K){N=!0,Z=K},f:function(){try{!I&&null!=w.return&&w.return()}finally{if(N)throw Z}}}}},28694:(j,M,_)=>{_.d(M,{Z:()=>O});var A=_(20265),k=_(98568),m=_(43445),p=_(35488);function O(v){var I=(0,k.Z)();return function(){var Q,Z=(0,A.Z)(v);if(I){var K=(0,A.Z)(this).constructor;Q=Reflect.construct(Z,arguments,K)}else Q=Z.apply(this,arguments);return function w(v,I){if(I&&("object"===(0,m.Z)(I)||"function"==typeof I))return I;if(void 0!==I)throw new TypeError("Derived constructors may only return object or undefined");return(0,p.Z)(v)}(this,Q)}}},20265:(j,M,_)=>{function A(k){return(A=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(p){return p.__proto__||Object.getPrototypeOf(p)})(k)}_.d(M,{Z:()=>A})},24582:(j,M,_)=>{_.d(M,{Z:()=>k});var A=_(10006);function k(m,p){if("function"!=typeof p&&null!==p)throw new TypeError("Super expression must either be null or a function");m.prototype=Object.create(p&&p.prototype,{constructor:{value:m,writable:!0,configurable:!0}}),Object.defineProperty(m,"prototype",{writable:!1}),p&&(0,A.Z)(m,p)}},98568:(j,M,_)=>{function A(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}_.d(M,{Z:()=>A})},4826:(j,M,_)=>{function A(k){if(typeof Symbol<"u"&&null!=k[Symbol.iterator]||null!=k["@@iterator"])return Array.from(k)}_.d(M,{Z:()=>A})},8217:(j,M,_)=>{function A(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}_.d(M,{Z:()=>A})},10006:(j,M,_)=>{function A(k,m){return(A=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(w,O){return w.__proto__=O,w})(k,m)}_.d(M,{Z:()=>A})},32090:(j,M,_)=>{_.d(M,{Z:()=>w});var A=_(8091),m=_(44206),p=_(8217);function w(O,v){return(0,A.Z)(O)||function k(O,v){var I=null==O?null:typeof Symbol<"u"&&O[Symbol.iterator]||O["@@iterator"];if(null!=I){var N,Z,Q,K,ve=[],ce=!0,ke=!1;try{if(Q=(I=I.call(O)).next,0===v){if(Object(I)!==I)return;ce=!1}else for(;!(ce=(N=Q.call(I)).done)&&(ve.push(N.value),ve.length!==v);ce=!0);}catch(ze){ke=!0,Z=ze}finally{try{if(!ce&&null!=I.return&&(K=I.return(),Object(K)!==K))return}finally{if(ke)throw Z}}return ve}}(O,v)||(0,m.Z)(O,v)||(0,p.Z)()}},86170:(j,M,_)=>{_.d(M,{Z:()=>O});var A=_(44841),m=_(4826),p=_(44206);function O(v){return function k(v){if(Array.isArray(v))return(0,A.Z)(v)}(v)||(0,m.Z)(v)||(0,p.Z)(v)||function w(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(j,M,_)=>{_.d(M,{Z:()=>k});var A=_(44841);function k(m,p){if(m){if("string"==typeof m)return(0,A.Z)(m,p);var w=Object.prototype.toString.call(m).slice(8,-1);if("Object"===w&&m.constructor&&(w=m.constructor.name),"Map"===w||"Set"===w)return Array.from(m);if("Arguments"===w||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w))return(0,A.Z)(m,p)}}}}]); +//# sourceMappingURL=9031.e6e4824d40477a60.js.map \ No newline at end of file diff --git a/9031.e6e4824d40477a60.js.map b/9031.e6e4824d40477a60.js.map new file mode 100644 index 0000000..96e25c4 --- /dev/null +++ b/9031.e6e4824d40477a60.js.map @@ -0,0 +1 @@ +{"version":3,"file":"9031.e6e4824d40477a60.js","mappings":"qvBAWA,SAASA,EAAmBC,GACxB,OAAO,IAAIC,qBAAc,KAAkDC,EAC/E,CAyUA,SAASC,GAAoBC,GACzB,OAAQA,EAAQC,QACZ,KAAK,EACD,OAAO,IAAIC,KACf,KAAK,EACD,OAAOF,EAAQ,GACnB,QACI,OAAO,IAAIG,KAAsBH,GAE7C,CACA,SAASI,GAAqBC,EAAYC,GAA0D,IAA/CC,EAASC,UAAAP,OAAA,QAAAQ,IAAAD,UAAA,GAAAA,UAAA,GAAG,IAAIE,IAAOC,EAAUH,UAAAP,OAAA,QAAAQ,IAAAD,UAAA,GAAAA,UAAA,GAAG,IAAIE,IACnFE,EAAS,GACTC,EAAsB,GACxBC,GAAiB,EACjBC,EAAmB,KA+BvB,GA9BAT,EAAUU,QAAQ,SAAAC,GACd,IAAMC,EAASD,EAAGE,IAAI,UAChBC,EAAeF,GAA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A,IAAAw8B,IAAA,MAAAL,EAAAnC,SAAAsC,EAAAH,EAAAnC,SAAA/6B,OAAAq9B,QAAA,MACA,SACA,GAAAG,GAAA,MAAA9C,CACA,CACA,CACA,OAAA4C,EAAA,CAEA,CDrBgCL,CAAoBj6B,EAAAwJ,KAAA,EAAYixB,EAAAjD,GAA0Bx3B,EAAAwJ,KAAA,EAAYkxB,EAAAlD,IACtG,wEEFe,SAAAtsB,EAAAlL,GACf,OCJe,SAAA26B,EAAA36B,GACf,GAAA1G,MAAAuF,QAAAmB,GAAA,SAAiC46B,EAAApD,GAAgBx3B,EACjD,CDES26B,CAAiB36B,KAAA,EAAS66B,EAAArD,GAAex3B,KAAA,EAASy6B,EAAAjD,GAA0Bx3B,IELtE,SAAA86B,IACf,UAAAnD,UAAA,uIACA,CFG8FmD,EAC9F,mDGLe,SAAAC,EAAA5D,EAAA6D,GACf,GAAA7D,EACA,qBAAAA,EAAA,SAAoC8D,EAAAzD,GAAgBL,EAAA6D,GACpD,IAAAr9B,EAAAX,OAAAk8B,UAAA15B,SAAAoU,KAAAujB,GAAA5+B,MAAA,MAEA,GADA,WAAAoF,GAAAw5B,EAAAmB,cAAA36B,EAAAw5B,EAAAmB,YAAA9zB,MACA,QAAA7G,GAAA,QAAAA,EAAA,OAAArE,MAAAC,KAAA49B,GACA,iBAAAx5B,GAAA,2CAAAu9B,KAAAv9B,GAAA,SAAsFs9B,EAAAzD,GAAgBL,EAAA6D,EAAA,CACtG","names":["invalidTimingValue","exp","ɵRuntimeError","ngDevMode","optimizeGroupPlayer","players","length","NoopAnimationPlayer","ɵAnimationGroupPlayer","normalizeKeyframes$1","normalizer","keyframes","preStyles","arguments","undefined","Map","postStyles","errors","normalizedKeyframes","previousOffset","previousKeyframe","forEach","kf","offset","get","isSameOffset","normalizedKeyframe","val","prop","normalizedProp","normalizedValue","normalizePropertyName","ɵPRE_STYLE","AUTO_STYLE","normalizeStyleValue","set","push","animationFailed","listenOnPlayer","player","eventName","event","callback","onStart","copyAnimationEvent","onDone","onDestroy","e","phaseName","makeAnimationEvent","element","triggerName","fromState","toState","totalTime","disabled","data","_data","getOrSetDefaultValue","map","key","defaultValue","value","parseTimelineCommand","command","separatorPos","indexOf","substring","slice","documentElement","document","getParentElement","parent","parentNode","host","_CACHED_BODY","_IS_WEBKIT","containsElement","elm1","elm2","invokeQuery","selector","multi","Array","from","querySelectorAll","elem","querySelector","NoopAnimationDriver","_classCallCheck","this","_createClass","validateStyleProperty","getBodyNode","body","style","result","containsVendorPrefix","charAt","toUpperCase","_element","_selector","duration","delay","easing","ɵfac","t","ɵprov","i0","token","factory","AnimationDriver","NOOP","ONE_SECOND","ENTER_CLASSNAME","LEAVE_CLASSNAME","NG_TRIGGER_CLASSNAME","NG_TRIGGER_SELECTOR","NG_ANIMATING_CLASSNAME","NG_ANIMATING_SELECTOR","resolveTimingValue","matches","match","_convertTimeValueToMS","parseFloat","unit","resolveTiming","timings","allowNegativeValues","hasOwnProperty","parseTimeExpression","delayMatch","easingVal","containsErrors","startIndex","negativeStepValue","negativeDelayValue","splice","copyObj","obj","destination","Object","keys","convertToMap","styleMap","copyStyles","styles","backfill","_step","_iterator","_createForOfIteratorHelper","s","n","done","_step$value","_slicedToArray","err","f","_step2","_iterator2","_step2$value","setStyles","formerStyles","camelProp","dashCaseToCamelCase","has","eraseStyles","_","normalizeAnimationEntry","steps","isArray","sequence","PARAM_REGEX","RegExp","concat","extractStyleParams","params","exec","lastIndex","interpolateParams","original","toString","str","replace","varName","localVal","invalidParamValue","iteratorToArray","iterator","arr","item","next","DASH_CASE_REGEXP","input","_len","m","_key","visitDslNode","visitor","node","context","type","visitTrigger","visitState","visitTransition","visitSequence","visitGroup","visitAnimate","visitKeyframes","visitStyle","visitReference","visitAnimateChild","visitAnimateRef","visitQuery","visitStagger","invalidNodeType","nodeType","computeStyle","window","getComputedStyle","ANY_STATE","parseTransitionExpr","transitionValue","expressions","split","parseInnerTransitionStr","eventStr","parseAnimationAlias","alias","invalidTransitionAlias","invalidExpression","expr","separator","makeLambdaFromStates","TRUE_BOOLEAN_VALUES","Set","FALSE_BOOLEAN_VALUES","lhs","rhs","LHS_MATCH_BOOLEAN","RHS_MATCH_BOOLEAN","lhsMatch","rhsMatch","SELF_TOKEN_REGEX","buildAnimationAst","driver","metadata","warnings","AnimationAstBuilderVisitor","build","_driver","AnimationAstBuilderContext","_resetContextStyleTimingState","currentQuerySelector","collectedStyles","currentTime","_this","queryCount","depCount","states","transitions","name","invalidTrigger","definitions","def","stateDef","transition","invalidDefinition","options","styleAst","astParams","containsDynamicStyles","missingSubs","sub","add","size","values","invalidState","metadataName","animation","matchers","normalizeAnimationOptions","_this2","_this3","furthestTime","step","innerAst","Math","max","timingAst","constructTimingAst","makeTimingAst","strValue","isDynamic","some","v","ast","dynamic","currentAnimateTimings","styleMetadata","isEmpty","newStyleData","_styleAst","isEmptyStep","_makeStyleAst","_validateStyleAst","_step3","metadataStyles","_iterator3","styleTuple","collectedEasing","styleData","delete","_step4","_iterator4","endTime","startTime","tuple","collectedEntry","updateCollectedStyle","invalidParallelAnimation","firstStart","firstEnd","secondStart","secondEnd","validateStyleParams","invalidStyleParams","_this5","invalidKeyframes","totalKeyframesWithOffsets","offsets","offsetsOutOfOrder","keyframesOutOfRange","offsetVal","consumeOffset","invalidOffset","keyframeOffsetsOutOfOrder","generatedOffset","keyframesMissingOffsets","limit","animateDuration","i","durationUpToThisFrame","parentSelector","currentQuery","_normalizeSelector","normalizeSelector","hasAmpersand","find","_normalizeSelector2","includeSelf","optional","originalSelector","invalidStagger","currentTransition","unsupportedCSSPropertiesFound","normalizeParams","createTimelineInstruction","preStyleProps","postStyleProps","subTimeline","ElementInstructionMap","_map","instructions","_existingInstructions","existingInstructions","apply","_toConsumableArray","clear","ENTER_TOKEN_REGEX","LEAVE_TOKEN_REGEX","buildAnimationTimelines","rootElement","enterClassName","leaveClassName","startingStyles","finalStyles","subInstructions","AnimationTimelineBuilderVisitor","buildKeyframes","AnimationTimelineContext","currentTimeline","delayNextStep","timelines","filter","timeline","containsAnimation","lastRootTimeline","allowOnlyTimelineStyles","elementInstructions","innerContext","createSubContext","_visitSubInstructions","transformIntoNewTimeline","previousNode","_applyAnimationRefDelays","animationsRefsOptions","_step5","_iterator5","animationRefOptions","animationDelay","_animationRefOptions$","animationDelayValue","instruction","instructionTimings","appendInstructionToTimeline","updateOptions","_this6","subContextCount","ctx","snapshotCurrentStyles","DEFAULT_NOOP_PREVIOUS_NODE","applyStylesToKeyframe","_this7","innerTimelines","mergeTimelineCollectedStyles","_visitTiming","incrementTime","hasCurrentStyleProperties","forwardFrame","applyEmptyStep","innerTimeline","forwardTime","_this8","elms","currentQueryTotal","sameElementTimeline","currentQueryIndex","parentContext","tl","abs","maxTime","currentStaggerTime","startingTime","_enterClassName","_leaveClassName","initialTimeline","TimelineBuilder","skipIfExists","_this9","newOptions","optionsToUpdate","newParams","paramsToUpdate","oldParams","target","fork","_copyOptions","newTime","updatedTimings","builder","SubTimelineBuilder","stretchStartingKeyframe","time","results","elements","query","invalidQuery","_elementTimelineStylesLookup","_previousKeyframe","_currentKeyframe","_keyframes","_styleSummary","_localTimelineStyles","_pendingStyles","_backFill","_currentEmptyStepKeyframe","_globalTimelineStyles","_loadKeyframe","hasPreStyleStep","_step6","_iterator6","_step6$value","_step7","flattenStyles","allStyles","allProperties","_step9","_iterator9","_iterator7","_this$_globalTimeline","_step7$value","_updateStyle","_this10","_step8","_iterator8","_step8$value","properties","_this11","details1","details0","_this12","finalKeyframes","keyframe","finalKeyframe","preProps","postProps","kf0","kf1","_TimelineBuilder","_inherits","_super","_createSuper","_this13","_stretchStartingKeyframe","call","_this$timings","newKeyframes","startingGap","newFirstKeyframe","oldFirstKeyframe","roundOffset","oldOffset","mult","pow","round","AnimationStyleNormalizer","DIMENSIONAL_PROP_SET","WebAnimationsStyleNormalizer","_AnimationStyleNormal","_super2","propertyName","userProvidedProperty","normalizedProperty","strVal","trim","valAndSuffixMatch","invalidCssUnitValue","createTransitionInstruction","isRemovalTransition","fromStyles","toStyles","queriedElements","EMPTY_OBJECT","AnimationTransitionFactory","_triggerName","_stateStyles","currentState","nextState","oneOrMoreTransitionsMatch","matchFns","fn","stateName","styler","buildStyles","currentOptions","nextOptions","skipAstBuild","_this$ast$options","transitionAnimationParams","currentStateStyles","nextAnimationParams","nextStateStyles","preStyleMap","postStyleMap","isRemoval","animationOptions","applyParamDefaults","elm","queriedElementsList","userParams","defaults","AnimationStateStyles","defaultParams","_this14","combinedParams","AnimationTrigger","_normalizer","_this15","transitionFactories","balanceProperties","fallbackTransition","createFallbackTransition","stateMap","key1","key2","EMPTY_INSTRUCTION_MAP","TimelineAnimationEngine","bodyNode","_animations","_playersById","id","registerFailed","animate","_this16","autoStylesMap","inst","missingOrDestroyedAnimation","createAnimationFailed","_buildPlayer","destroy","_getPlayer","index","missingPlayer","baseEvent","args","play","pause","reset","restart","finish","init","setPosition","create","register","QUEUED_CLASSNAME","DISABLED_CLASSNAME","EMPTY_PLAYER_ARRAY","NULL_REMOVAL_STATE","namespaceId","setForRemoval","setForMove","hasAnimation","removedBeforeQueried","NULL_REMOVED_QUERIED_STATE","REMOVAL_FLAG","StateValue","isObj","normalizeTriggerValue","VOID_VALUE","DEFAULT_STATE_VALUE","AnimationTransitionNamespace","hostElement","_engine","_triggers","_queue","_elementListeners","_hostClassName","addClass","phase","_this17","missingTrigger","missingEvent","isTriggerEventValid","unsupportedTriggerEvent","listeners","triggersWithStates","statesByElement","afterFlush","trigger","unregisteredTrigger","_this18","defaultToFallback","_getTrigger","TransitionAnimationPlayer","absorbOptions","playersOnElement","playersByElement","queued","matchTransition","isFallbackTransition","totalQueuedPlayers","removeClass","objEquals","a","b","k1","k2","matchStyles","reportError","_this19","entry","elementPlayers","_this20","namespaces","fetchNamespacesByElement","ns","triggerLeaveAnimation","clearElementCache","afterFlushAnimationsDone","destroyAfterComplete","_this21","triggerStates","previousTriggersValues","state","markElementAsRemoved","processLeaveNode","_this22","elementStates","visitedTriggers","listener","_this23","engine","childElementCount","_signalRemovalForInnerTriggers","containsPotentialParentTransition","totalAnimations","currentPlayers","playersByQueriedElement","prepareLeaveAnimationListeners","removalFlag","destroyInnerAnimations","_onRemovalComplete","microtaskId","_this24","destroyed","markedForDestroy","sort","d0","d1","p","containsData","TransitionAnimationEngine","newHostElements","disabledNodes","_namespaceLookup","_namespaceList","_flushFns","_whenQuietFns","namespacesByHostElement","collectedEnterElements","collectedLeaveElements","onRemovalComplete","_balanceNamespaceList","collectEnterElement","namespaceList","found","ancestor","ancestorNs","unshift","createNamespace","_this25","_fetchNamespace","_step11","_iterator11","stateValue","isElementNode","insertBefore","details","insertNode","removeNode","hostNS","listen","subTimelines","skipBuildAst","containerElement","_this26","destroyActiveAnimationsForElement","finishActiveQueriedAnimationOnElement","_this27","Promise","resolve","_element$classList","_this28","classList","contains","markElementAsDisabled","_this29","cleanupFns","_flushAnimations","quietFns","triggerTransitionsFailed","_this30","skippedPlayers","skippedPlayersMap","queuedInstructions","allPreStyleElements","allPostStyleElements","disabledElementsSet","nodesThatAreDisabled","allTriggerElements","enterNodeMap","buildRootMap","enterNodeMapIds","nodes","root","className","allLeaveNodes","mergedLeaveNodes","leaveNodesWithoutAnimations","leaveNodeMapIds","leaveNodeMap","allPlayers","erroneousTransitions","drainQueuedTransitions","previousValue","nodeIsOrphaned","_buildInstruction","append","stringMap","setVal","transitionFailed","allPreviousPlayersMap","animationElementMap","_beforeAnimationBuild","_getPreviousPlayers","prevPlayer","replaceNodes","replacePostStylesAsPre","postStylesMap","cloakAndComputeStyles","preStylesMap","_post$entries","_pre$entries","post","pre","entries","rootPlayers","subPlayers","NO_PARENT_ANIMATION_ELEMENT_DETECTED","overrideTotalTime","parentWithAnimation","parentsToAdd","detectedParent","innerPlayer","_buildAnimation","setRealPlayer","parentPlayers","parentPlayer","playersForElement","syncPlayerEvents","queriedPlayerResults","queriedInnerElements","j","queriedPlayers","activePlayers","removeNodesAfterAnimationDone","elementContainsData","isQueriedElement","toStateValue","queriedElementPlayers","isRemovalAnimation","_step12","_this31","targetNameSpaceId","targetTriggerName","_iterator12","_loop2","realPlayer","getRealPlayer","beforeDestroy","_this32","allQueriedPlayers","allConsumedElements","allSubElements","allNewPlayers","timelineInstruction","previousPlayers","flattenGroupPlayers","finalPlayers","_flattenGroupPlayersRecur","wrappedPlayer","deleteOrUnsetInMap","currentValues","_player","_containsRealPlayer","_queuedCallbacks","callbacks","_this33","triggerCallback","_queueEvent","hasStarted","getPosition","cloakElement","oldValue","display","valuesMap","elementPropsMap","defaultStyle","cloakVals","failedElements","props","roots","rootMap","NULL_NODE","nodeSet","localRootMap","getRoot","_element$classList2","_element$classList3","remove","postEntry","preEntry","AnimationEngine","_this34","_triggerCache","_transitionEngine","_timelineEngine","componentId","cacheKey","triggerBuildFailed","buildTrigger","registerTrigger","disable","property","_parseTimelineCommand","_parseTimelineCommand2","eventPhase","_parseTimelineCommand3","_parseTimelineCommand4","flush","whenRenderingDone","SpecialCasedStyles","_startStyles","_endStyles","_state","initialStyles","initialStylesByElement","_initialStyles","start","WeakMap","filterNonAnimatableStyles","isNonAnimatableStyle","WebAnimationsPlayer","_specialStyles","_onDoneFns","_onStartFns","_onDestroyFns","_initialized","_finished","_started","_destroyed","_originalOnDoneFns","_originalOnStartFns","currentSnapshot","_duration","_delay","_preparePlayerBeforeStart","_this35","domPlayer","_triggerWebAnimation","_finalKeyframe","addEventListener","_onFinish","_resetDomPlayerState","kfs","frame","fromEntries","_convertKeyframesToObject","cancel","_this36","methods","WebAnimationsDriver","playerOptions","fill","previousStyles","previousWebAnimationPlayers","allowPreviousPlayerStylesMerge","normalizeKeyframes","balancePreviousStylesIntoKeyframes","startingKeyframe","missingStyleProps","_loop","specialStyles","packageNonAnimatableStyles","startStyles","endStyles","BrowserAnimationBuilder","_AnimationBuilder","rootRenderer","doc","_nextAnimationId","_renderer","createRenderer","encapsulation","ViewEncapsulation","issueAnimationCommand","BrowserAnimationFactory","AnimationBuilder","DOCUMENT","_AnimationFactory","_id","RendererAnimationPlayer","AnimationFactory","_command","_listen","_this$_renderer$engin","_this$_renderer$engin2","renderer","setProperty","DISABLE_ANIMATIONS_FLAG","AnimationRendererFactory","delegate","_zone","_currentId","_microtaskId","_animationCallbacksBuffer","_rendererCache","_cdRecurDepth","promise","removeChild","BaseAnimationRenderer","animationTriggers","AnimationRenderer","begin","_this4","then","count","run","_tuple","runOutsideAngular","_scheduleCountTask","end","i1","_onDestroy","destroyNode","_this$_onDestroy","namespace","createElement","createComment","createText","newChild","appendChild","onInsert","refChild","isMove","oldChild","isHostElement","onRemove","selectorOrNode","preserveContent","selectRootElement","nextSibling","el","setAttribute","removeAttribute","flags","setStyle","removeStyle","disableAnimations","setValue","_BaseAnimationRendere","_super3","process","resolveElementFromTarget","_parseTriggerCallback","parseTriggerCallbackName","dotIndex","_parseTriggerCallback2","scheduleListenerCallback","InjectableAnimationEngine","_ɵAnimationEngine","_super4","appRef","ɵAnimationEngine","SHARED_ANIMATION_PROVIDERS","provide","useClass","ɵAnimationStyleNormalizer","useFactory","instantiateDefaultStyleNormalizer","ɵWebAnimationsStyleNormalizer","RendererFactory2","instantiateRendererFactory","zone","deps","ɵDomRendererFactory2","NgZone","BROWSER_ANIMATIONS_PROVIDERS","ɵWebAnimationsDriver","ANIMATION_MODULE_TYPE","useValue","BROWSER_NOOP_ANIMATIONS_PROVIDERS","ɵNoopAnimationDriver","BrowserAnimationsModule","config","ngModule","providers","ɵmod","ɵinj","imports","BrowserModule","provideAnimations","NoopAnimationsModule","provideNoopAnimations","_arrayLikeToArray","len","arr2","_arrayWithHoles","_assertThisInitialized","self","ReferenceError","o","allowArrayLike","it","Symbol","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","_e","TypeError","normalCompletion","didErr","_e2","return","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Super","getPrototypeOf","NewTarget","constructor","Reflect","construct","_possibleConstructorReturn","esm_typeof","assertThisInitialized","_getPrototypeOf","setPrototypeOf","bind","__proto__","subClass","superClass","prototype","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_iterableToArray","iter","_nonIterableRest","_setPrototypeOf","arrayWithHoles","_iterableToArrayLimit","_i","_s","_x","_r","_arr","_n","_d","unsupportedIterableToArray","nonIterableRest","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","test"],"sourceRoot":"webpack:///","sources":["./node_modules/@angular/animations/fesm2022/browser.mjs","./node_modules/@angular/platform-browser/fesm2022/animations.mjs","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/slicedToArray.js","./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["/**\n * @license Angular v16.0.5\n * (c) 2010-2022 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport { ɵAnimationGroupPlayer, NoopAnimationPlayer, AUTO_STYLE, ɵPRE_STYLE, sequence, style } from '@angular/animations';\nimport * as i0 from '@angular/core';\nimport { ɵRuntimeError, Injectable } from '@angular/core';\n\nconst LINE_START = '\\n - ';\nfunction invalidTimingValue(exp) {\n return new ɵRuntimeError(3000 /* RuntimeErrorCode.INVALID_TIMING_VALUE */, ngDevMode && `The provided timing value \"${exp}\" is invalid.`);\n}\nfunction negativeStepValue() {\n return new ɵRuntimeError(3100 /* RuntimeErrorCode.NEGATIVE_STEP_VALUE */, ngDevMode && 'Duration values below 0 are not allowed for this animation step.');\n}\nfunction negativeDelayValue() {\n return new ɵRuntimeError(3101 /* RuntimeErrorCode.NEGATIVE_DELAY_VALUE */, ngDevMode && 'Delay values below 0 are not allowed for this animation step.');\n}\nfunction invalidStyleParams(varName) {\n return new ɵRuntimeError(3001 /* RuntimeErrorCode.INVALID_STYLE_PARAMS */, ngDevMode &&\n `Unable to resolve the local animation param ${varName} in the given list of values`);\n}\nfunction invalidParamValue(varName) {\n return new ɵRuntimeError(3003 /* RuntimeErrorCode.INVALID_PARAM_VALUE */, ngDevMode && `Please provide a value for the animation param ${varName}`);\n}\nfunction invalidNodeType(nodeType) {\n return new ɵRuntimeError(3004 /* RuntimeErrorCode.INVALID_NODE_TYPE */, ngDevMode && `Unable to resolve animation metadata node #${nodeType}`);\n}\nfunction invalidCssUnitValue(userProvidedProperty, value) {\n return new ɵRuntimeError(3005 /* RuntimeErrorCode.INVALID_CSS_UNIT_VALUE */, ngDevMode && `Please provide a CSS unit value for ${userProvidedProperty}:${value}`);\n}\nfunction invalidTrigger() {\n return new ɵRuntimeError(3006 /* RuntimeErrorCode.INVALID_TRIGGER */, ngDevMode &&\n 'animation triggers cannot be prefixed with an `@` sign (e.g. trigger(\\'@foo\\', [...]))');\n}\nfunction invalidDefinition() {\n return new ɵRuntimeError(3007 /* RuntimeErrorCode.INVALID_DEFINITION */, ngDevMode && 'only state() and transition() definitions can sit inside of a trigger()');\n}\nfunction invalidState(metadataName, missingSubs) {\n return new ɵRuntimeError(3008 /* RuntimeErrorCode.INVALID_STATE */, ngDevMode &&\n `state(\"${metadataName}\", ...) must define default values for all the following style substitutions: ${missingSubs.join(', ')}`);\n}\nfunction invalidStyleValue(value) {\n return new ɵRuntimeError(3002 /* RuntimeErrorCode.INVALID_STYLE_VALUE */, ngDevMode && `The provided style string value ${value} is not allowed.`);\n}\nfunction invalidProperty(prop) {\n return new ɵRuntimeError(3009 /* RuntimeErrorCode.INVALID_PROPERTY */, ngDevMode &&\n `The provided animation property \"${prop}\" is not a supported CSS property for animations`);\n}\nfunction invalidParallelAnimation(prop, firstStart, firstEnd, secondStart, secondEnd) {\n return new ɵRuntimeError(3010 /* RuntimeErrorCode.INVALID_PARALLEL_ANIMATION */, ngDevMode &&\n `The CSS property \"${prop}\" that exists between the times of \"${firstStart}ms\" and \"${firstEnd}ms\" is also being animated in a parallel animation between the times of \"${secondStart}ms\" and \"${secondEnd}ms\"`);\n}\nfunction invalidKeyframes() {\n return new ɵRuntimeError(3011 /* RuntimeErrorCode.INVALID_KEYFRAMES */, ngDevMode && `keyframes() must be placed inside of a call to animate()`);\n}\nfunction invalidOffset() {\n return new ɵRuntimeError(3012 /* RuntimeErrorCode.INVALID_OFFSET */, ngDevMode && `Please ensure that all keyframe offsets are between 0 and 1`);\n}\nfunction keyframeOffsetsOutOfOrder() {\n return new ɵRuntimeError(3200 /* RuntimeErrorCode.KEYFRAME_OFFSETS_OUT_OF_ORDER */, ngDevMode && `Please ensure that all keyframe offsets are in order`);\n}\nfunction keyframesMissingOffsets() {\n return new ɵRuntimeError(3202 /* RuntimeErrorCode.KEYFRAMES_MISSING_OFFSETS */, ngDevMode && `Not all style() steps within the declared keyframes() contain offsets`);\n}\nfunction invalidStagger() {\n return new ɵRuntimeError(3013 /* RuntimeErrorCode.INVALID_STAGGER */, ngDevMode && `stagger() can only be used inside of query()`);\n}\nfunction invalidQuery(selector) {\n return new ɵRuntimeError(3014 /* RuntimeErrorCode.INVALID_QUERY */, ngDevMode &&\n `\\`query(\"${selector}\")\\` returned zero elements. (Use \\`query(\"${selector}\", { optional: true })\\` if you wish to allow this.)`);\n}\nfunction invalidExpression(expr) {\n return new ɵRuntimeError(3015 /* RuntimeErrorCode.INVALID_EXPRESSION */, ngDevMode && `The provided transition expression \"${expr}\" is not supported`);\n}\nfunction invalidTransitionAlias(alias) {\n return new ɵRuntimeError(3016 /* RuntimeErrorCode.INVALID_TRANSITION_ALIAS */, ngDevMode && `The transition alias value \"${alias}\" is not supported`);\n}\nfunction validationFailed(errors) {\n return new ɵRuntimeError(3500 /* RuntimeErrorCode.VALIDATION_FAILED */, ngDevMode && `animation validation failed:\\n${errors.map(err => err.message).join('\\n')}`);\n}\nfunction buildingFailed(errors) {\n return new ɵRuntimeError(3501 /* RuntimeErrorCode.BUILDING_FAILED */, ngDevMode && `animation building failed:\\n${errors.map(err => err.message).join('\\n')}`);\n}\nfunction triggerBuildFailed(name, errors) {\n return new ɵRuntimeError(3404 /* RuntimeErrorCode.TRIGGER_BUILD_FAILED */, ngDevMode &&\n `The animation trigger \"${name}\" has failed to build due to the following errors:\\n - ${errors.map(err => err.message).join('\\n - ')}`);\n}\nfunction animationFailed(errors) {\n return new ɵRuntimeError(3502 /* RuntimeErrorCode.ANIMATION_FAILED */, ngDevMode &&\n `Unable to animate due to the following errors:${LINE_START}${errors.map(err => err.message).join(LINE_START)}`);\n}\nfunction registerFailed(errors) {\n return new ɵRuntimeError(3503 /* RuntimeErrorCode.REGISTRATION_FAILED */, ngDevMode &&\n `Unable to build the animation due to the following errors: ${errors.map(err => err.message).join('\\n')}`);\n}\nfunction missingOrDestroyedAnimation() {\n return new ɵRuntimeError(3300 /* RuntimeErrorCode.MISSING_OR_DESTROYED_ANIMATION */, ngDevMode && 'The requested animation doesn\\'t exist or has already been destroyed');\n}\nfunction createAnimationFailed(errors) {\n return new ɵRuntimeError(3504 /* RuntimeErrorCode.CREATE_ANIMATION_FAILED */, ngDevMode &&\n `Unable to create the animation due to the following errors:${errors.map(err => err.message).join('\\n')}`);\n}\nfunction missingPlayer(id) {\n return new ɵRuntimeError(3301 /* RuntimeErrorCode.MISSING_PLAYER */, ngDevMode && `Unable to find the timeline player referenced by ${id}`);\n}\nfunction missingTrigger(phase, name) {\n return new ɵRuntimeError(3302 /* RuntimeErrorCode.MISSING_TRIGGER */, ngDevMode &&\n `Unable to listen on the animation trigger event \"${phase}\" because the animation trigger \"${name}\" doesn\\'t exist!`);\n}\nfunction missingEvent(name) {\n return new ɵRuntimeError(3303 /* RuntimeErrorCode.MISSING_EVENT */, ngDevMode &&\n `Unable to listen on the animation trigger \"${name}\" because the provided event is undefined!`);\n}\nfunction unsupportedTriggerEvent(phase, name) {\n return new ɵRuntimeError(3400 /* RuntimeErrorCode.UNSUPPORTED_TRIGGER_EVENT */, ngDevMode &&\n `The provided animation trigger event \"${phase}\" for the animation trigger \"${name}\" is not supported!`);\n}\nfunction unregisteredTrigger(name) {\n return new ɵRuntimeError(3401 /* RuntimeErrorCode.UNREGISTERED_TRIGGER */, ngDevMode && `The provided animation trigger \"${name}\" has not been registered!`);\n}\nfunction triggerTransitionsFailed(errors) {\n return new ɵRuntimeError(3402 /* RuntimeErrorCode.TRIGGER_TRANSITIONS_FAILED */, ngDevMode &&\n `Unable to process animations due to the following failed trigger transitions\\n ${errors.map(err => err.message).join('\\n')}`);\n}\nfunction triggerParsingFailed(name, errors) {\n return new ɵRuntimeError(3403 /* RuntimeErrorCode.TRIGGER_PARSING_FAILED */, ngDevMode &&\n `Animation parsing for the ${name} trigger have failed:${LINE_START}${errors.map(err => err.message).join(LINE_START)}`);\n}\nfunction transitionFailed(name, errors) {\n return new ɵRuntimeError(3505 /* RuntimeErrorCode.TRANSITION_FAILED */, ngDevMode && `@${name} has failed due to:\\n ${errors.map(err => err.message).join('\\n- ')}`);\n}\n\n/**\n * Set of all animatable CSS properties\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_animated_properties\n */\nconst ANIMATABLE_PROP_SET = new Set([\n '-moz-outline-radius',\n '-moz-outline-radius-bottomleft',\n '-moz-outline-radius-bottomright',\n '-moz-outline-radius-topleft',\n '-moz-outline-radius-topright',\n '-ms-grid-columns',\n '-ms-grid-rows',\n '-webkit-line-clamp',\n '-webkit-text-fill-color',\n '-webkit-text-stroke',\n '-webkit-text-stroke-color',\n 'accent-color',\n 'all',\n 'backdrop-filter',\n 'background',\n 'background-color',\n 'background-position',\n 'background-size',\n 'block-size',\n 'border',\n 'border-block-end',\n 'border-block-end-color',\n 'border-block-end-width',\n 'border-block-start',\n 'border-block-start-color',\n 'border-block-start-width',\n 'border-bottom',\n 'border-bottom-color',\n 'border-bottom-left-radius',\n 'border-bottom-right-radius',\n 'border-bottom-width',\n 'border-color',\n 'border-end-end-radius',\n 'border-end-start-radius',\n 'border-image-outset',\n 'border-image-slice',\n 'border-image-width',\n 'border-inline-end',\n 'border-inline-end-color',\n 'border-inline-end-width',\n 'border-inline-start',\n 'border-inline-start-color',\n 'border-inline-start-width',\n 'border-left',\n 'border-left-color',\n 'border-left-width',\n 'border-radius',\n 'border-right',\n 'border-right-color',\n 'border-right-width',\n 'border-start-end-radius',\n 'border-start-start-radius',\n 'border-top',\n 'border-top-color',\n 'border-top-left-radius',\n 'border-top-right-radius',\n 'border-top-width',\n 'border-width',\n 'bottom',\n 'box-shadow',\n 'caret-color',\n 'clip',\n 'clip-path',\n 'color',\n 'column-count',\n 'column-gap',\n 'column-rule',\n 'column-rule-color',\n 'column-rule-width',\n 'column-width',\n 'columns',\n 'filter',\n 'flex',\n 'flex-basis',\n 'flex-grow',\n 'flex-shrink',\n 'font',\n 'font-size',\n 'font-size-adjust',\n 'font-stretch',\n 'font-variation-settings',\n 'font-weight',\n 'gap',\n 'grid-column-gap',\n 'grid-gap',\n 'grid-row-gap',\n 'grid-template-columns',\n 'grid-template-rows',\n 'height',\n 'inline-size',\n 'input-security',\n 'inset',\n 'inset-block',\n 'inset-block-end',\n 'inset-block-start',\n 'inset-inline',\n 'inset-inline-end',\n 'inset-inline-start',\n 'left',\n 'letter-spacing',\n 'line-clamp',\n 'line-height',\n 'margin',\n 'margin-block-end',\n 'margin-block-start',\n 'margin-bottom',\n 'margin-inline-end',\n 'margin-inline-start',\n 'margin-left',\n 'margin-right',\n 'margin-top',\n 'mask',\n 'mask-border',\n 'mask-position',\n 'mask-size',\n 'max-block-size',\n 'max-height',\n 'max-inline-size',\n 'max-lines',\n 'max-width',\n 'min-block-size',\n 'min-height',\n 'min-inline-size',\n 'min-width',\n 'object-position',\n 'offset',\n 'offset-anchor',\n 'offset-distance',\n 'offset-path',\n 'offset-position',\n 'offset-rotate',\n 'opacity',\n 'order',\n 'outline',\n 'outline-color',\n 'outline-offset',\n 'outline-width',\n 'padding',\n 'padding-block-end',\n 'padding-block-start',\n 'padding-bottom',\n 'padding-inline-end',\n 'padding-inline-start',\n 'padding-left',\n 'padding-right',\n 'padding-top',\n 'perspective',\n 'perspective-origin',\n 'right',\n 'rotate',\n 'row-gap',\n 'scale',\n 'scroll-margin',\n 'scroll-margin-block',\n 'scroll-margin-block-end',\n 'scroll-margin-block-start',\n 'scroll-margin-bottom',\n 'scroll-margin-inline',\n 'scroll-margin-inline-end',\n 'scroll-margin-inline-start',\n 'scroll-margin-left',\n 'scroll-margin-right',\n 'scroll-margin-top',\n 'scroll-padding',\n 'scroll-padding-block',\n 'scroll-padding-block-end',\n 'scroll-padding-block-start',\n 'scroll-padding-bottom',\n 'scroll-padding-inline',\n 'scroll-padding-inline-end',\n 'scroll-padding-inline-start',\n 'scroll-padding-left',\n 'scroll-padding-right',\n 'scroll-padding-top',\n 'scroll-snap-coordinate',\n 'scroll-snap-destination',\n 'scrollbar-color',\n 'shape-image-threshold',\n 'shape-margin',\n 'shape-outside',\n 'tab-size',\n 'text-decoration',\n 'text-decoration-color',\n 'text-decoration-thickness',\n 'text-emphasis',\n 'text-emphasis-color',\n 'text-indent',\n 'text-shadow',\n 'text-underline-offset',\n 'top',\n 'transform',\n 'transform-origin',\n 'translate',\n 'vertical-align',\n 'visibility',\n 'width',\n 'word-spacing',\n 'z-index',\n 'zoom',\n]);\n\nfunction optimizeGroupPlayer(players) {\n switch (players.length) {\n case 0:\n return new NoopAnimationPlayer();\n case 1:\n return players[0];\n default:\n return new ɵAnimationGroupPlayer(players);\n }\n}\nfunction normalizeKeyframes$1(normalizer, keyframes, preStyles = new Map(), postStyles = new Map()) {\n const errors = [];\n const normalizedKeyframes = [];\n let previousOffset = -1;\n let previousKeyframe = null;\n keyframes.forEach(kf => {\n const offset = kf.get('offset');\n const isSameOffset = offset == previousOffset;\n const normalizedKeyframe = (isSameOffset && previousKeyframe) || new Map();\n kf.forEach((val, prop) => {\n let normalizedProp = prop;\n let normalizedValue = val;\n if (prop !== 'offset') {\n normalizedProp = normalizer.normalizePropertyName(normalizedProp, errors);\n switch (normalizedValue) {\n case ɵPRE_STYLE:\n normalizedValue = preStyles.get(prop);\n break;\n case AUTO_STYLE:\n normalizedValue = postStyles.get(prop);\n break;\n default:\n normalizedValue =\n normalizer.normalizeStyleValue(prop, normalizedProp, normalizedValue, errors);\n break;\n }\n }\n normalizedKeyframe.set(normalizedProp, normalizedValue);\n });\n if (!isSameOffset) {\n normalizedKeyframes.push(normalizedKeyframe);\n }\n previousKeyframe = normalizedKeyframe;\n previousOffset = offset;\n });\n if (errors.length) {\n throw animationFailed(errors);\n }\n return normalizedKeyframes;\n}\nfunction listenOnPlayer(player, eventName, event, callback) {\n switch (eventName) {\n case 'start':\n player.onStart(() => callback(event && copyAnimationEvent(event, 'start', player)));\n break;\n case 'done':\n player.onDone(() => callback(event && copyAnimationEvent(event, 'done', player)));\n break;\n case 'destroy':\n player.onDestroy(() => callback(event && copyAnimationEvent(event, 'destroy', player)));\n break;\n }\n}\nfunction copyAnimationEvent(e, phaseName, player) {\n const totalTime = player.totalTime;\n const disabled = player.disabled ? true : false;\n const event = makeAnimationEvent(e.element, e.triggerName, e.fromState, e.toState, phaseName || e.phaseName, totalTime == undefined ? e.totalTime : totalTime, disabled);\n const data = e['_data'];\n if (data != null) {\n event['_data'] = data;\n }\n return event;\n}\nfunction makeAnimationEvent(element, triggerName, fromState, toState, phaseName = '', totalTime = 0, disabled) {\n return { element, triggerName, fromState, toState, phaseName, totalTime, disabled: !!disabled };\n}\nfunction getOrSetDefaultValue(map, key, defaultValue) {\n let value = map.get(key);\n if (!value) {\n map.set(key, value = defaultValue);\n }\n return value;\n}\nfunction parseTimelineCommand(command) {\n const separatorPos = command.indexOf(':');\n const id = command.substring(1, separatorPos);\n const action = command.slice(separatorPos + 1);\n return [id, action];\n}\nconst documentElement = \n/* @__PURE__ */ (() => typeof document === 'undefined' ? null : document.documentElement)();\nfunction getParentElement(element) {\n const parent = element.parentNode || element.host || null; // consider host to support shadow DOM\n if (parent === documentElement) {\n return null;\n }\n return parent;\n}\nfunction containsVendorPrefix(prop) {\n // Webkit is the only real popular vendor prefix nowadays\n // cc: http://shouldiprefix.com/\n return prop.substring(1, 6) == 'ebkit'; // webkit or Webkit\n}\nlet _CACHED_BODY = null;\nlet _IS_WEBKIT = false;\nfunction validateStyleProperty(prop) {\n if (!_CACHED_BODY) {\n _CACHED_BODY = getBodyNode() || {};\n _IS_WEBKIT = _CACHED_BODY.style ? ('WebkitAppearance' in _CACHED_BODY.style) : false;\n }\n let result = true;\n if (_CACHED_BODY.style && !containsVendorPrefix(prop)) {\n result = prop in _CACHED_BODY.style;\n if (!result && _IS_WEBKIT) {\n const camelProp = 'Webkit' + prop.charAt(0).toUpperCase() + prop.slice(1);\n result = camelProp in _CACHED_BODY.style;\n }\n }\n return result;\n}\nfunction validateWebAnimatableStyleProperty(prop) {\n return ANIMATABLE_PROP_SET.has(prop);\n}\nfunction getBodyNode() {\n if (typeof document != 'undefined') {\n return document.body;\n }\n return null;\n}\nfunction containsElement(elm1, elm2) {\n while (elm2) {\n if (elm2 === elm1) {\n return true;\n }\n elm2 = getParentElement(elm2);\n }\n return false;\n}\nfunction invokeQuery(element, selector, multi) {\n if (multi) {\n return Array.from(element.querySelectorAll(selector));\n }\n const elem = element.querySelector(selector);\n return elem ? [elem] : [];\n}\nfunction hypenatePropsKeys(original) {\n const newMap = new Map();\n original.forEach((val, prop) => {\n const newProp = prop.replace(/([a-z])([A-Z])/g, '$1-$2');\n newMap.set(newProp, val);\n });\n return newMap;\n}\n\n/**\n * @publicApi\n */\nclass NoopAnimationDriver {\n validateStyleProperty(prop) {\n return validateStyleProperty(prop);\n }\n matchesElement(_element, _selector) {\n // This method is deprecated and no longer in use so we return false.\n return false;\n }\n containsElement(elm1, elm2) {\n return containsElement(elm1, elm2);\n }\n getParentElement(element) {\n return getParentElement(element);\n }\n query(element, selector, multi) {\n return invokeQuery(element, selector, multi);\n }\n computeStyle(element, prop, defaultValue) {\n return defaultValue || '';\n }\n animate(element, keyframes, duration, delay, easing, previousPlayers = [], scrubberAccessRequested) {\n return new NoopAnimationPlayer(duration, delay);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NoopAnimationDriver, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NoopAnimationDriver }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NoopAnimationDriver, decorators: [{\n type: Injectable\n }] });\n/**\n * @publicApi\n */\nclass AnimationDriver {\n static { this.NOOP = ( /* @__PURE__ */new NoopAnimationDriver()); }\n}\n\nconst ONE_SECOND = 1000;\nconst SUBSTITUTION_EXPR_START = '{{';\nconst SUBSTITUTION_EXPR_END = '}}';\nconst ENTER_CLASSNAME = 'ng-enter';\nconst LEAVE_CLASSNAME = 'ng-leave';\nconst NG_TRIGGER_CLASSNAME = 'ng-trigger';\nconst NG_TRIGGER_SELECTOR = '.ng-trigger';\nconst NG_ANIMATING_CLASSNAME = 'ng-animating';\nconst NG_ANIMATING_SELECTOR = '.ng-animating';\nfunction resolveTimingValue(value) {\n if (typeof value == 'number')\n return value;\n const matches = value.match(/^(-?[\\.\\d]+)(m?s)/);\n if (!matches || matches.length < 2)\n return 0;\n return _convertTimeValueToMS(parseFloat(matches[1]), matches[2]);\n}\nfunction _convertTimeValueToMS(value, unit) {\n switch (unit) {\n case 's':\n return value * ONE_SECOND;\n default: // ms or something else\n return value;\n }\n}\nfunction resolveTiming(timings, errors, allowNegativeValues) {\n return timings.hasOwnProperty('duration') ?\n timings :\n parseTimeExpression(timings, errors, allowNegativeValues);\n}\nfunction parseTimeExpression(exp, errors, allowNegativeValues) {\n const regex = /^(-?[\\.\\d]+)(m?s)(?:\\s+(-?[\\.\\d]+)(m?s))?(?:\\s+([-a-z]+(?:\\(.+?\\))?))?$/i;\n let duration;\n let delay = 0;\n let easing = '';\n if (typeof exp === 'string') {\n const matches = exp.match(regex);\n if (matches === null) {\n errors.push(invalidTimingValue(exp));\n return { duration: 0, delay: 0, easing: '' };\n }\n duration = _convertTimeValueToMS(parseFloat(matches[1]), matches[2]);\n const delayMatch = matches[3];\n if (delayMatch != null) {\n delay = _convertTimeValueToMS(parseFloat(delayMatch), matches[4]);\n }\n const easingVal = matches[5];\n if (easingVal) {\n easing = easingVal;\n }\n }\n else {\n duration = exp;\n }\n if (!allowNegativeValues) {\n let containsErrors = false;\n let startIndex = errors.length;\n if (duration < 0) {\n errors.push(negativeStepValue());\n containsErrors = true;\n }\n if (delay < 0) {\n errors.push(negativeDelayValue());\n containsErrors = true;\n }\n if (containsErrors) {\n errors.splice(startIndex, 0, invalidTimingValue(exp));\n }\n }\n return { duration, delay, easing };\n}\nfunction copyObj(obj, destination = {}) {\n Object.keys(obj).forEach(prop => {\n destination[prop] = obj[prop];\n });\n return destination;\n}\nfunction convertToMap(obj) {\n const styleMap = new Map();\n Object.keys(obj).forEach(prop => {\n const val = obj[prop];\n styleMap.set(prop, val);\n });\n return styleMap;\n}\nfunction normalizeKeyframes(keyframes) {\n if (!keyframes.length) {\n return [];\n }\n if (keyframes[0] instanceof Map) {\n return keyframes;\n }\n return keyframes.map(kf => convertToMap(kf));\n}\nfunction normalizeStyles(styles) {\n const normalizedStyles = new Map();\n if (Array.isArray(styles)) {\n styles.forEach(data => copyStyles(data, normalizedStyles));\n }\n else {\n copyStyles(styles, normalizedStyles);\n }\n return normalizedStyles;\n}\nfunction copyStyles(styles, destination = new Map(), backfill) {\n if (backfill) {\n for (let [prop, val] of backfill) {\n destination.set(prop, val);\n }\n }\n for (let [prop, val] of styles) {\n destination.set(prop, val);\n }\n return destination;\n}\nfunction setStyles(element, styles, formerStyles) {\n styles.forEach((val, prop) => {\n const camelProp = dashCaseToCamelCase(prop);\n if (formerStyles && !formerStyles.has(prop)) {\n formerStyles.set(prop, element.style[camelProp]);\n }\n element.style[camelProp] = val;\n });\n}\nfunction eraseStyles(element, styles) {\n styles.forEach((_, prop) => {\n const camelProp = dashCaseToCamelCase(prop);\n element.style[camelProp] = '';\n });\n}\nfunction normalizeAnimationEntry(steps) {\n if (Array.isArray(steps)) {\n if (steps.length == 1)\n return steps[0];\n return sequence(steps);\n }\n return steps;\n}\nfunction validateStyleParams(value, options, errors) {\n const params = options.params || {};\n const matches = extractStyleParams(value);\n if (matches.length) {\n matches.forEach(varName => {\n if (!params.hasOwnProperty(varName)) {\n errors.push(invalidStyleParams(varName));\n }\n });\n }\n}\nconst PARAM_REGEX = new RegExp(`${SUBSTITUTION_EXPR_START}\\\\s*(.+?)\\\\s*${SUBSTITUTION_EXPR_END}`, 'g');\nfunction extractStyleParams(value) {\n let params = [];\n if (typeof value === 'string') {\n let match;\n while (match = PARAM_REGEX.exec(value)) {\n params.push(match[1]);\n }\n PARAM_REGEX.lastIndex = 0;\n }\n return params;\n}\nfunction interpolateParams(value, params, errors) {\n const original = value.toString();\n const str = original.replace(PARAM_REGEX, (_, varName) => {\n let localVal = params[varName];\n // this means that the value was never overridden by the data passed in by the user\n if (localVal == null) {\n errors.push(invalidParamValue(varName));\n localVal = '';\n }\n return localVal.toString();\n });\n // we do this to assert that numeric values stay as they are\n return str == original ? value : str;\n}\nfunction iteratorToArray(iterator) {\n const arr = [];\n let item = iterator.next();\n while (!item.done) {\n arr.push(item.value);\n item = iterator.next();\n }\n return arr;\n}\nconst DASH_CASE_REGEXP = /-+([a-z0-9])/g;\nfunction dashCaseToCamelCase(input) {\n return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());\n}\nfunction camelCaseToDashCase(input) {\n return input.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();\n}\nfunction allowPreviousPlayerStylesMerge(duration, delay) {\n return duration === 0 || delay === 0;\n}\nfunction balancePreviousStylesIntoKeyframes(element, keyframes, previousStyles) {\n if (previousStyles.size && keyframes.length) {\n let startingKeyframe = keyframes[0];\n let missingStyleProps = [];\n previousStyles.forEach((val, prop) => {\n if (!startingKeyframe.has(prop)) {\n missingStyleProps.push(prop);\n }\n startingKeyframe.set(prop, val);\n });\n if (missingStyleProps.length) {\n for (let i = 1; i < keyframes.length; i++) {\n let kf = keyframes[i];\n missingStyleProps.forEach(prop => kf.set(prop, computeStyle(element, prop)));\n }\n }\n }\n return keyframes;\n}\nfunction visitDslNode(visitor, node, context) {\n switch (node.type) {\n case 7 /* AnimationMetadataType.Trigger */:\n return visitor.visitTrigger(node, context);\n case 0 /* AnimationMetadataType.State */:\n return visitor.visitState(node, context);\n case 1 /* AnimationMetadataType.Transition */:\n return visitor.visitTransition(node, context);\n case 2 /* AnimationMetadataType.Sequence */:\n return visitor.visitSequence(node, context);\n case 3 /* AnimationMetadataType.Group */:\n return visitor.visitGroup(node, context);\n case 4 /* AnimationMetadataType.Animate */:\n return visitor.visitAnimate(node, context);\n case 5 /* AnimationMetadataType.Keyframes */:\n return visitor.visitKeyframes(node, context);\n case 6 /* AnimationMetadataType.Style */:\n return visitor.visitStyle(node, context);\n case 8 /* AnimationMetadataType.Reference */:\n return visitor.visitReference(node, context);\n case 9 /* AnimationMetadataType.AnimateChild */:\n return visitor.visitAnimateChild(node, context);\n case 10 /* AnimationMetadataType.AnimateRef */:\n return visitor.visitAnimateRef(node, context);\n case 11 /* AnimationMetadataType.Query */:\n return visitor.visitQuery(node, context);\n case 12 /* AnimationMetadataType.Stagger */:\n return visitor.visitStagger(node, context);\n default:\n throw invalidNodeType(node.type);\n }\n}\nfunction computeStyle(element, prop) {\n return window.getComputedStyle(element)[prop];\n}\n\nfunction createListOfWarnings(warnings) {\n const LINE_START = '\\n - ';\n return `${LINE_START}${warnings.filter(Boolean).map(warning => warning).join(LINE_START)}`;\n}\nfunction warnValidation(warnings) {\n (typeof ngDevMode === 'undefined' || ngDevMode) &&\n console.warn(`animation validation warnings:${createListOfWarnings(warnings)}`);\n}\nfunction warnTriggerBuild(name, warnings) {\n (typeof ngDevMode === 'undefined' || ngDevMode) &&\n console.warn(`The animation trigger \"${name}\" has built with the following warnings:${createListOfWarnings(warnings)}`);\n}\nfunction warnRegister(warnings) {\n (typeof ngDevMode === 'undefined' || ngDevMode) &&\n console.warn(`Animation built with the following warnings:${createListOfWarnings(warnings)}`);\n}\nfunction triggerParsingWarnings(name, warnings) {\n (typeof ngDevMode === 'undefined' || ngDevMode) &&\n console.warn(`Animation parsing for the ${name} trigger presents the following warnings:${createListOfWarnings(warnings)}`);\n}\nfunction pushUnrecognizedPropertiesWarning(warnings, props) {\n if (props.length) {\n warnings.push(`The following provided properties are not recognized: ${props.join(', ')}`);\n }\n}\n\nconst ANY_STATE = '*';\nfunction parseTransitionExpr(transitionValue, errors) {\n const expressions = [];\n if (typeof transitionValue == 'string') {\n transitionValue.split(/\\s*,\\s*/).forEach(str => parseInnerTransitionStr(str, expressions, errors));\n }\n else {\n expressions.push(transitionValue);\n }\n return expressions;\n}\nfunction parseInnerTransitionStr(eventStr, expressions, errors) {\n if (eventStr[0] == ':') {\n const result = parseAnimationAlias(eventStr, errors);\n if (typeof result == 'function') {\n expressions.push(result);\n return;\n }\n eventStr = result;\n }\n const match = eventStr.match(/^(\\*|[-\\w]+)\\s*(<?[=-]>)\\s*(\\*|[-\\w]+)$/);\n if (match == null || match.length < 4) {\n errors.push(invalidExpression(eventStr));\n return expressions;\n }\n const fromState = match[1];\n const separator = match[2];\n const toState = match[3];\n expressions.push(makeLambdaFromStates(fromState, toState));\n const isFullAnyStateExpr = fromState == ANY_STATE && toState == ANY_STATE;\n if (separator[0] == '<' && !isFullAnyStateExpr) {\n expressions.push(makeLambdaFromStates(toState, fromState));\n }\n}\nfunction parseAnimationAlias(alias, errors) {\n switch (alias) {\n case ':enter':\n return 'void => *';\n case ':leave':\n return '* => void';\n case ':increment':\n return (fromState, toState) => parseFloat(toState) > parseFloat(fromState);\n case ':decrement':\n return (fromState, toState) => parseFloat(toState) < parseFloat(fromState);\n default:\n errors.push(invalidTransitionAlias(alias));\n return '* => *';\n }\n}\n// DO NOT REFACTOR ... keep the follow set instantiations\n// with the values intact (closure compiler for some reason\n// removes follow-up lines that add the values outside of\n// the constructor...\nconst TRUE_BOOLEAN_VALUES = new Set(['true', '1']);\nconst FALSE_BOOLEAN_VALUES = new Set(['false', '0']);\nfunction makeLambdaFromStates(lhs, rhs) {\n const LHS_MATCH_BOOLEAN = TRUE_BOOLEAN_VALUES.has(lhs) || FALSE_BOOLEAN_VALUES.has(lhs);\n const RHS_MATCH_BOOLEAN = TRUE_BOOLEAN_VALUES.has(rhs) || FALSE_BOOLEAN_VALUES.has(rhs);\n return (fromState, toState) => {\n let lhsMatch = lhs == ANY_STATE || lhs == fromState;\n let rhsMatch = rhs == ANY_STATE || rhs == toState;\n if (!lhsMatch && LHS_MATCH_BOOLEAN && typeof fromState === 'boolean') {\n lhsMatch = fromState ? TRUE_BOOLEAN_VALUES.has(lhs) : FALSE_BOOLEAN_VALUES.has(lhs);\n }\n if (!rhsMatch && RHS_MATCH_BOOLEAN && typeof toState === 'boolean') {\n rhsMatch = toState ? TRUE_BOOLEAN_VALUES.has(rhs) : FALSE_BOOLEAN_VALUES.has(rhs);\n }\n return lhsMatch && rhsMatch;\n };\n}\n\nconst SELF_TOKEN = ':self';\nconst SELF_TOKEN_REGEX = new RegExp(`\\s*${SELF_TOKEN}\\s*,?`, 'g');\n/*\n * [Validation]\n * The visitor code below will traverse the animation AST generated by the animation verb functions\n * (the output is a tree of objects) and attempt to perform a series of validations on the data. The\n * following corner-cases will be validated:\n *\n * 1. Overlap of animations\n * Given that a CSS property cannot be animated in more than one place at the same time, it's\n * important that this behavior is detected and validated. The way in which this occurs is that\n * each time a style property is examined, a string-map containing the property will be updated with\n * the start and end times for when the property is used within an animation step.\n *\n * If there are two or more parallel animations that are currently running (these are invoked by the\n * group()) on the same element then the validator will throw an error. Since the start/end timing\n * values are collected for each property then if the current animation step is animating the same\n * property and its timing values fall anywhere into the window of time that the property is\n * currently being animated within then this is what causes an error.\n *\n * 2. Timing values\n * The validator will validate to see if a timing value of `duration delay easing` or\n * `durationNumber` is valid or not.\n *\n * (note that upon validation the code below will replace the timing data with an object containing\n * {duration,delay,easing}.\n *\n * 3. Offset Validation\n * Each of the style() calls are allowed to have an offset value when placed inside of keyframes().\n * Offsets within keyframes() are considered valid when:\n *\n * - No offsets are used at all\n * - Each style() entry contains an offset value\n * - Each offset is between 0 and 1\n * - Each offset is greater to or equal than the previous one\n *\n * Otherwise an error will be thrown.\n */\nfunction buildAnimationAst(driver, metadata, errors, warnings) {\n return new AnimationAstBuilderVisitor(driver).build(metadata, errors, warnings);\n}\nconst ROOT_SELECTOR = '';\nclass AnimationAstBuilderVisitor {\n constructor(_driver) {\n this._driver = _driver;\n }\n build(metadata, errors, warnings) {\n const context = new AnimationAstBuilderContext(errors);\n this._resetContextStyleTimingState(context);\n const ast = visitDslNode(this, normalizeAnimationEntry(metadata), context);\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (context.unsupportedCSSPropertiesFound.size) {\n pushUnrecognizedPropertiesWarning(warnings, [...context.unsupportedCSSPropertiesFound.keys()]);\n }\n }\n return ast;\n }\n _resetContextStyleTimingState(context) {\n context.currentQuerySelector = ROOT_SELECTOR;\n context.collectedStyles = new Map();\n context.collectedStyles.set(ROOT_SELECTOR, new Map());\n context.currentTime = 0;\n }\n visitTrigger(metadata, context) {\n let queryCount = context.queryCount = 0;\n let depCount = context.depCount = 0;\n const states = [];\n const transitions = [];\n if (metadata.name.charAt(0) == '@') {\n context.errors.push(invalidTrigger());\n }\n metadata.definitions.forEach(def => {\n this._resetContextStyleTimingState(context);\n if (def.type == 0 /* AnimationMetadataType.State */) {\n const stateDef = def;\n const name = stateDef.name;\n name.toString().split(/\\s*,\\s*/).forEach(n => {\n stateDef.name = n;\n states.push(this.visitState(stateDef, context));\n });\n stateDef.name = name;\n }\n else if (def.type == 1 /* AnimationMetadataType.Transition */) {\n const transition = this.visitTransition(def, context);\n queryCount += transition.queryCount;\n depCount += transition.depCount;\n transitions.push(transition);\n }\n else {\n context.errors.push(invalidDefinition());\n }\n });\n return {\n type: 7 /* AnimationMetadataType.Trigger */,\n name: metadata.name,\n states,\n transitions,\n queryCount,\n depCount,\n options: null\n };\n }\n visitState(metadata, context) {\n const styleAst = this.visitStyle(metadata.styles, context);\n const astParams = (metadata.options && metadata.options.params) || null;\n if (styleAst.containsDynamicStyles) {\n const missingSubs = new Set();\n const params = astParams || {};\n styleAst.styles.forEach(style => {\n if (style instanceof Map) {\n style.forEach(value => {\n extractStyleParams(value).forEach(sub => {\n if (!params.hasOwnProperty(sub)) {\n missingSubs.add(sub);\n }\n });\n });\n }\n });\n if (missingSubs.size) {\n const missingSubsArr = iteratorToArray(missingSubs.values());\n context.errors.push(invalidState(metadata.name, missingSubsArr));\n }\n }\n return {\n type: 0 /* AnimationMetadataType.State */,\n name: metadata.name,\n style: styleAst,\n options: astParams ? { params: astParams } : null\n };\n }\n visitTransition(metadata, context) {\n context.queryCount = 0;\n context.depCount = 0;\n const animation = visitDslNode(this, normalizeAnimationEntry(metadata.animation), context);\n const matchers = parseTransitionExpr(metadata.expr, context.errors);\n return {\n type: 1 /* AnimationMetadataType.Transition */,\n matchers,\n animation,\n queryCount: context.queryCount,\n depCount: context.depCount,\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n visitSequence(metadata, context) {\n return {\n type: 2 /* AnimationMetadataType.Sequence */,\n steps: metadata.steps.map(s => visitDslNode(this, s, context)),\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n visitGroup(metadata, context) {\n const currentTime = context.currentTime;\n let furthestTime = 0;\n const steps = metadata.steps.map(step => {\n context.currentTime = currentTime;\n const innerAst = visitDslNode(this, step, context);\n furthestTime = Math.max(furthestTime, context.currentTime);\n return innerAst;\n });\n context.currentTime = furthestTime;\n return {\n type: 3 /* AnimationMetadataType.Group */,\n steps,\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n visitAnimate(metadata, context) {\n const timingAst = constructTimingAst(metadata.timings, context.errors);\n context.currentAnimateTimings = timingAst;\n let styleAst;\n let styleMetadata = metadata.styles ? metadata.styles : style({});\n if (styleMetadata.type == 5 /* AnimationMetadataType.Keyframes */) {\n styleAst = this.visitKeyframes(styleMetadata, context);\n }\n else {\n let styleMetadata = metadata.styles;\n let isEmpty = false;\n if (!styleMetadata) {\n isEmpty = true;\n const newStyleData = {};\n if (timingAst.easing) {\n newStyleData['easing'] = timingAst.easing;\n }\n styleMetadata = style(newStyleData);\n }\n context.currentTime += timingAst.duration + timingAst.delay;\n const _styleAst = this.visitStyle(styleMetadata, context);\n _styleAst.isEmptyStep = isEmpty;\n styleAst = _styleAst;\n }\n context.currentAnimateTimings = null;\n return {\n type: 4 /* AnimationMetadataType.Animate */,\n timings: timingAst,\n style: styleAst,\n options: null\n };\n }\n visitStyle(metadata, context) {\n const ast = this._makeStyleAst(metadata, context);\n this._validateStyleAst(ast, context);\n return ast;\n }\n _makeStyleAst(metadata, context) {\n const styles = [];\n const metadataStyles = Array.isArray(metadata.styles) ? metadata.styles : [metadata.styles];\n for (let styleTuple of metadataStyles) {\n if (typeof styleTuple === 'string') {\n if (styleTuple === AUTO_STYLE) {\n styles.push(styleTuple);\n }\n else {\n context.errors.push(invalidStyleValue(styleTuple));\n }\n }\n else {\n styles.push(convertToMap(styleTuple));\n }\n }\n let containsDynamicStyles = false;\n let collectedEasing = null;\n styles.forEach(styleData => {\n if (styleData instanceof Map) {\n if (styleData.has('easing')) {\n collectedEasing = styleData.get('easing');\n styleData.delete('easing');\n }\n if (!containsDynamicStyles) {\n for (let value of styleData.values()) {\n if (value.toString().indexOf(SUBSTITUTION_EXPR_START) >= 0) {\n containsDynamicStyles = true;\n break;\n }\n }\n }\n }\n });\n return {\n type: 6 /* AnimationMetadataType.Style */,\n styles,\n easing: collectedEasing,\n offset: metadata.offset,\n containsDynamicStyles,\n options: null\n };\n }\n _validateStyleAst(ast, context) {\n const timings = context.currentAnimateTimings;\n let endTime = context.currentTime;\n let startTime = context.currentTime;\n if (timings && startTime > 0) {\n startTime -= timings.duration + timings.delay;\n }\n ast.styles.forEach(tuple => {\n if (typeof tuple === 'string')\n return;\n tuple.forEach((value, prop) => {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!this._driver.validateStyleProperty(prop)) {\n tuple.delete(prop);\n context.unsupportedCSSPropertiesFound.add(prop);\n return;\n }\n }\n // This is guaranteed to have a defined Map at this querySelector location making it\n // safe to add the assertion here. It is set as a default empty map in prior methods.\n const collectedStyles = context.collectedStyles.get(context.currentQuerySelector);\n const collectedEntry = collectedStyles.get(prop);\n let updateCollectedStyle = true;\n if (collectedEntry) {\n if (startTime != endTime && startTime >= collectedEntry.startTime &&\n endTime <= collectedEntry.endTime) {\n context.errors.push(invalidParallelAnimation(prop, collectedEntry.startTime, collectedEntry.endTime, startTime, endTime));\n updateCollectedStyle = false;\n }\n // we always choose the smaller start time value since we\n // want to have a record of the entire animation window where\n // the style property is being animated in between\n startTime = collectedEntry.startTime;\n }\n if (updateCollectedStyle) {\n collectedStyles.set(prop, { startTime, endTime });\n }\n if (context.options) {\n validateStyleParams(value, context.options, context.errors);\n }\n });\n });\n }\n visitKeyframes(metadata, context) {\n const ast = { type: 5 /* AnimationMetadataType.Keyframes */, styles: [], options: null };\n if (!context.currentAnimateTimings) {\n context.errors.push(invalidKeyframes());\n return ast;\n }\n const MAX_KEYFRAME_OFFSET = 1;\n let totalKeyframesWithOffsets = 0;\n const offsets = [];\n let offsetsOutOfOrder = false;\n let keyframesOutOfRange = false;\n let previousOffset = 0;\n const keyframes = metadata.steps.map(styles => {\n const style = this._makeStyleAst(styles, context);\n let offsetVal = style.offset != null ? style.offset : consumeOffset(style.styles);\n let offset = 0;\n if (offsetVal != null) {\n totalKeyframesWithOffsets++;\n offset = style.offset = offsetVal;\n }\n keyframesOutOfRange = keyframesOutOfRange || offset < 0 || offset > 1;\n offsetsOutOfOrder = offsetsOutOfOrder || offset < previousOffset;\n previousOffset = offset;\n offsets.push(offset);\n return style;\n });\n if (keyframesOutOfRange) {\n context.errors.push(invalidOffset());\n }\n if (offsetsOutOfOrder) {\n context.errors.push(keyframeOffsetsOutOfOrder());\n }\n const length = metadata.steps.length;\n let generatedOffset = 0;\n if (totalKeyframesWithOffsets > 0 && totalKeyframesWithOffsets < length) {\n context.errors.push(keyframesMissingOffsets());\n }\n else if (totalKeyframesWithOffsets == 0) {\n generatedOffset = MAX_KEYFRAME_OFFSET / (length - 1);\n }\n const limit = length - 1;\n const currentTime = context.currentTime;\n const currentAnimateTimings = context.currentAnimateTimings;\n const animateDuration = currentAnimateTimings.duration;\n keyframes.forEach((kf, i) => {\n const offset = generatedOffset > 0 ? (i == limit ? 1 : (generatedOffset * i)) : offsets[i];\n const durationUpToThisFrame = offset * animateDuration;\n context.currentTime = currentTime + currentAnimateTimings.delay + durationUpToThisFrame;\n currentAnimateTimings.duration = durationUpToThisFrame;\n this._validateStyleAst(kf, context);\n kf.offset = offset;\n ast.styles.push(kf);\n });\n return ast;\n }\n visitReference(metadata, context) {\n return {\n type: 8 /* AnimationMetadataType.Reference */,\n animation: visitDslNode(this, normalizeAnimationEntry(metadata.animation), context),\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n visitAnimateChild(metadata, context) {\n context.depCount++;\n return {\n type: 9 /* AnimationMetadataType.AnimateChild */,\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n visitAnimateRef(metadata, context) {\n return {\n type: 10 /* AnimationMetadataType.AnimateRef */,\n animation: this.visitReference(metadata.animation, context),\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n visitQuery(metadata, context) {\n const parentSelector = context.currentQuerySelector;\n const options = (metadata.options || {});\n context.queryCount++;\n context.currentQuery = metadata;\n const [selector, includeSelf] = normalizeSelector(metadata.selector);\n context.currentQuerySelector =\n parentSelector.length ? (parentSelector + ' ' + selector) : selector;\n getOrSetDefaultValue(context.collectedStyles, context.currentQuerySelector, new Map());\n const animation = visitDslNode(this, normalizeAnimationEntry(metadata.animation), context);\n context.currentQuery = null;\n context.currentQuerySelector = parentSelector;\n return {\n type: 11 /* AnimationMetadataType.Query */,\n selector,\n limit: options.limit || 0,\n optional: !!options.optional,\n includeSelf,\n animation,\n originalSelector: metadata.selector,\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n visitStagger(metadata, context) {\n if (!context.currentQuery) {\n context.errors.push(invalidStagger());\n }\n const timings = metadata.timings === 'full' ?\n { duration: 0, delay: 0, easing: 'full' } :\n resolveTiming(metadata.timings, context.errors, true);\n return {\n type: 12 /* AnimationMetadataType.Stagger */,\n animation: visitDslNode(this, normalizeAnimationEntry(metadata.animation), context),\n timings,\n options: null\n };\n }\n}\nfunction normalizeSelector(selector) {\n const hasAmpersand = selector.split(/\\s*,\\s*/).find(token => token == SELF_TOKEN) ? true : false;\n if (hasAmpersand) {\n selector = selector.replace(SELF_TOKEN_REGEX, '');\n }\n // Note: the :enter and :leave aren't normalized here since those\n // selectors are filled in at runtime during timeline building\n selector = selector.replace(/@\\*/g, NG_TRIGGER_SELECTOR)\n .replace(/@\\w+/g, match => NG_TRIGGER_SELECTOR + '-' + match.slice(1))\n .replace(/:animating/g, NG_ANIMATING_SELECTOR);\n return [selector, hasAmpersand];\n}\nfunction normalizeParams(obj) {\n return obj ? copyObj(obj) : null;\n}\nclass AnimationAstBuilderContext {\n constructor(errors) {\n this.errors = errors;\n this.queryCount = 0;\n this.depCount = 0;\n this.currentTransition = null;\n this.currentQuery = null;\n this.currentQuerySelector = null;\n this.currentAnimateTimings = null;\n this.currentTime = 0;\n this.collectedStyles = new Map();\n this.options = null;\n this.unsupportedCSSPropertiesFound = new Set();\n }\n}\nfunction consumeOffset(styles) {\n if (typeof styles == 'string')\n return null;\n let offset = null;\n if (Array.isArray(styles)) {\n styles.forEach(styleTuple => {\n if (styleTuple instanceof Map && styleTuple.has('offset')) {\n const obj = styleTuple;\n offset = parseFloat(obj.get('offset'));\n obj.delete('offset');\n }\n });\n }\n else if (styles instanceof Map && styles.has('offset')) {\n const obj = styles;\n offset = parseFloat(obj.get('offset'));\n obj.delete('offset');\n }\n return offset;\n}\nfunction constructTimingAst(value, errors) {\n if (value.hasOwnProperty('duration')) {\n return value;\n }\n if (typeof value == 'number') {\n const duration = resolveTiming(value, errors).duration;\n return makeTimingAst(duration, 0, '');\n }\n const strValue = value;\n const isDynamic = strValue.split(/\\s+/).some(v => v.charAt(0) == '{' && v.charAt(1) == '{');\n if (isDynamic) {\n const ast = makeTimingAst(0, 0, '');\n ast.dynamic = true;\n ast.strValue = strValue;\n return ast;\n }\n const timings = resolveTiming(strValue, errors);\n return makeTimingAst(timings.duration, timings.delay, timings.easing);\n}\nfunction normalizeAnimationOptions(options) {\n if (options) {\n options = copyObj(options);\n if (options['params']) {\n options['params'] = normalizeParams(options['params']);\n }\n }\n else {\n options = {};\n }\n return options;\n}\nfunction makeTimingAst(duration, delay, easing) {\n return { duration, delay, easing };\n}\n\nfunction createTimelineInstruction(element, keyframes, preStyleProps, postStyleProps, duration, delay, easing = null, subTimeline = false) {\n return {\n type: 1 /* AnimationTransitionInstructionType.TimelineAnimation */,\n element,\n keyframes,\n preStyleProps,\n postStyleProps,\n duration,\n delay,\n totalTime: duration + delay,\n easing,\n subTimeline\n };\n}\n\nclass ElementInstructionMap {\n constructor() {\n this._map = new Map();\n }\n get(element) {\n return this._map.get(element) || [];\n }\n append(element, instructions) {\n let existingInstructions = this._map.get(element);\n if (!existingInstructions) {\n this._map.set(element, existingInstructions = []);\n }\n existingInstructions.push(...instructions);\n }\n has(element) {\n return this._map.has(element);\n }\n clear() {\n this._map.clear();\n }\n}\n\nconst ONE_FRAME_IN_MILLISECONDS = 1;\nconst ENTER_TOKEN = ':enter';\nconst ENTER_TOKEN_REGEX = new RegExp(ENTER_TOKEN, 'g');\nconst LEAVE_TOKEN = ':leave';\nconst LEAVE_TOKEN_REGEX = new RegExp(LEAVE_TOKEN, 'g');\n/*\n * The code within this file aims to generate web-animations-compatible keyframes from Angular's\n * animation DSL code.\n *\n * The code below will be converted from:\n *\n * ```\n * sequence([\n * style({ opacity: 0 }),\n * animate(1000, style({ opacity: 0 }))\n * ])\n * ```\n *\n * To:\n * ```\n * keyframes = [{ opacity: 0, offset: 0 }, { opacity: 1, offset: 1 }]\n * duration = 1000\n * delay = 0\n * easing = ''\n * ```\n *\n * For this operation to cover the combination of animation verbs (style, animate, group, etc...) a\n * combination of AST traversal and merge-sort-like algorithms are used.\n *\n * [AST Traversal]\n * Each of the animation verbs, when executed, will return an string-map object representing what\n * type of action it is (style, animate, group, etc...) and the data associated with it. This means\n * that when functional composition mix of these functions is evaluated (like in the example above)\n * then it will end up producing a tree of objects representing the animation itself.\n *\n * When this animation object tree is processed by the visitor code below it will visit each of the\n * verb statements within the visitor. And during each visit it will build the context of the\n * animation keyframes by interacting with the `TimelineBuilder`.\n *\n * [TimelineBuilder]\n * This class is responsible for tracking the styles and building a series of keyframe objects for a\n * timeline between a start and end time. The builder starts off with an initial timeline and each\n * time the AST comes across a `group()`, `keyframes()` or a combination of the two within a\n * `sequence()` then it will generate a sub timeline for each step as well as a new one after\n * they are complete.\n *\n * As the AST is traversed, the timing state on each of the timelines will be incremented. If a sub\n * timeline was created (based on one of the cases above) then the parent timeline will attempt to\n * merge the styles used within the sub timelines into itself (only with group() this will happen).\n * This happens with a merge operation (much like how the merge works in mergeSort) and it will only\n * copy the most recently used styles from the sub timelines into the parent timeline. This ensures\n * that if the styles are used later on in another phase of the animation then they will be the most\n * up-to-date values.\n *\n * [How Missing Styles Are Updated]\n * Each timeline has a `backFill` property which is responsible for filling in new styles into\n * already processed keyframes if a new style shows up later within the animation sequence.\n *\n * ```\n * sequence([\n * style({ width: 0 }),\n * animate(1000, style({ width: 100 })),\n * animate(1000, style({ width: 200 })),\n * animate(1000, style({ width: 300 }))\n * animate(1000, style({ width: 400, height: 400 })) // notice how `height` doesn't exist anywhere\n * else\n * ])\n * ```\n *\n * What is happening here is that the `height` value is added later in the sequence, but is missing\n * from all previous animation steps. Therefore when a keyframe is created it would also be missing\n * from all previous keyframes up until where it is first used. For the timeline keyframe generation\n * to properly fill in the style it will place the previous value (the value from the parent\n * timeline) or a default value of `*` into the backFill map. The `copyStyles` method in util.ts\n * handles propagating that backfill map to the styles object.\n *\n * When a sub-timeline is created it will have its own backFill property. This is done so that\n * styles present within the sub-timeline do not accidentally seep into the previous/future timeline\n * keyframes\n *\n * [Validation]\n * The code in this file is not responsible for validation. That functionality happens with within\n * the `AnimationValidatorVisitor` code.\n */\nfunction buildAnimationTimelines(driver, rootElement, ast, enterClassName, leaveClassName, startingStyles = new Map(), finalStyles = new Map(), options, subInstructions, errors = []) {\n return new AnimationTimelineBuilderVisitor().buildKeyframes(driver, rootElement, ast, enterClassName, leaveClassName, startingStyles, finalStyles, options, subInstructions, errors);\n}\nclass AnimationTimelineBuilderVisitor {\n buildKeyframes(driver, rootElement, ast, enterClassName, leaveClassName, startingStyles, finalStyles, options, subInstructions, errors = []) {\n subInstructions = subInstructions || new ElementInstructionMap();\n const context = new AnimationTimelineContext(driver, rootElement, subInstructions, enterClassName, leaveClassName, errors, []);\n context.options = options;\n const delay = options.delay ? resolveTimingValue(options.delay) : 0;\n context.currentTimeline.delayNextStep(delay);\n context.currentTimeline.setStyles([startingStyles], null, context.errors, options);\n visitDslNode(this, ast, context);\n // this checks to see if an actual animation happened\n const timelines = context.timelines.filter(timeline => timeline.containsAnimation());\n // note: we just want to apply the final styles for the rootElement, so we do not\n // just apply the styles to the last timeline but the last timeline which\n // element is the root one (basically `*`-styles are replaced with the actual\n // state style values only for the root element)\n if (timelines.length && finalStyles.size) {\n let lastRootTimeline;\n for (let i = timelines.length - 1; i >= 0; i--) {\n const timeline = timelines[i];\n if (timeline.element === rootElement) {\n lastRootTimeline = timeline;\n break;\n }\n }\n if (lastRootTimeline && !lastRootTimeline.allowOnlyTimelineStyles()) {\n lastRootTimeline.setStyles([finalStyles], null, context.errors, options);\n }\n }\n return timelines.length ?\n timelines.map(timeline => timeline.buildKeyframes()) :\n [createTimelineInstruction(rootElement, [], [], [], 0, delay, '', false)];\n }\n visitTrigger(ast, context) {\n // these values are not visited in this AST\n }\n visitState(ast, context) {\n // these values are not visited in this AST\n }\n visitTransition(ast, context) {\n // these values are not visited in this AST\n }\n visitAnimateChild(ast, context) {\n const elementInstructions = context.subInstructions.get(context.element);\n if (elementInstructions) {\n const innerContext = context.createSubContext(ast.options);\n const startTime = context.currentTimeline.currentTime;\n const endTime = this._visitSubInstructions(elementInstructions, innerContext, innerContext.options);\n if (startTime != endTime) {\n // we do this on the upper context because we created a sub context for\n // the sub child animations\n context.transformIntoNewTimeline(endTime);\n }\n }\n context.previousNode = ast;\n }\n visitAnimateRef(ast, context) {\n const innerContext = context.createSubContext(ast.options);\n innerContext.transformIntoNewTimeline();\n this._applyAnimationRefDelays([ast.options, ast.animation.options], context, innerContext);\n this.visitReference(ast.animation, innerContext);\n context.transformIntoNewTimeline(innerContext.currentTimeline.currentTime);\n context.previousNode = ast;\n }\n _applyAnimationRefDelays(animationsRefsOptions, context, innerContext) {\n for (const animationRefOptions of animationsRefsOptions) {\n const animationDelay = animationRefOptions?.delay;\n if (animationDelay) {\n const animationDelayValue = typeof animationDelay === 'number' ?\n animationDelay :\n resolveTimingValue(interpolateParams(animationDelay, animationRefOptions?.params ?? {}, context.errors));\n innerContext.delayNextStep(animationDelayValue);\n }\n }\n }\n _visitSubInstructions(instructions, context, options) {\n const startTime = context.currentTimeline.currentTime;\n let furthestTime = startTime;\n // this is a special-case for when a user wants to skip a sub\n // animation from being fired entirely.\n const duration = options.duration != null ? resolveTimingValue(options.duration) : null;\n const delay = options.delay != null ? resolveTimingValue(options.delay) : null;\n if (duration !== 0) {\n instructions.forEach(instruction => {\n const instructionTimings = context.appendInstructionToTimeline(instruction, duration, delay);\n furthestTime =\n Math.max(furthestTime, instructionTimings.duration + instructionTimings.delay);\n });\n }\n return furthestTime;\n }\n visitReference(ast, context) {\n context.updateOptions(ast.options, true);\n visitDslNode(this, ast.animation, context);\n context.previousNode = ast;\n }\n visitSequence(ast, context) {\n const subContextCount = context.subContextCount;\n let ctx = context;\n const options = ast.options;\n if (options && (options.params || options.delay)) {\n ctx = context.createSubContext(options);\n ctx.transformIntoNewTimeline();\n if (options.delay != null) {\n if (ctx.previousNode.type == 6 /* AnimationMetadataType.Style */) {\n ctx.currentTimeline.snapshotCurrentStyles();\n ctx.previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n }\n const delay = resolveTimingValue(options.delay);\n ctx.delayNextStep(delay);\n }\n }\n if (ast.steps.length) {\n ast.steps.forEach(s => visitDslNode(this, s, ctx));\n // this is here just in case the inner steps only contain or end with a style() call\n ctx.currentTimeline.applyStylesToKeyframe();\n // this means that some animation function within the sequence\n // ended up creating a sub timeline (which means the current\n // timeline cannot overlap with the contents of the sequence)\n if (ctx.subContextCount > subContextCount) {\n ctx.transformIntoNewTimeline();\n }\n }\n context.previousNode = ast;\n }\n visitGroup(ast, context) {\n const innerTimelines = [];\n let furthestTime = context.currentTimeline.currentTime;\n const delay = ast.options && ast.options.delay ? resolveTimingValue(ast.options.delay) : 0;\n ast.steps.forEach(s => {\n const innerContext = context.createSubContext(ast.options);\n if (delay) {\n innerContext.delayNextStep(delay);\n }\n visitDslNode(this, s, innerContext);\n furthestTime = Math.max(furthestTime, innerContext.currentTimeline.currentTime);\n innerTimelines.push(innerContext.currentTimeline);\n });\n // this operation is run after the AST loop because otherwise\n // if the parent timeline's collected styles were updated then\n // it would pass in invalid data into the new-to-be forked items\n innerTimelines.forEach(timeline => context.currentTimeline.mergeTimelineCollectedStyles(timeline));\n context.transformIntoNewTimeline(furthestTime);\n context.previousNode = ast;\n }\n _visitTiming(ast, context) {\n if (ast.dynamic) {\n const strValue = ast.strValue;\n const timingValue = context.params ? interpolateParams(strValue, context.params, context.errors) : strValue;\n return resolveTiming(timingValue, context.errors);\n }\n else {\n return { duration: ast.duration, delay: ast.delay, easing: ast.easing };\n }\n }\n visitAnimate(ast, context) {\n const timings = context.currentAnimateTimings = this._visitTiming(ast.timings, context);\n const timeline = context.currentTimeline;\n if (timings.delay) {\n context.incrementTime(timings.delay);\n timeline.snapshotCurrentStyles();\n }\n const style = ast.style;\n if (style.type == 5 /* AnimationMetadataType.Keyframes */) {\n this.visitKeyframes(style, context);\n }\n else {\n context.incrementTime(timings.duration);\n this.visitStyle(style, context);\n timeline.applyStylesToKeyframe();\n }\n context.currentAnimateTimings = null;\n context.previousNode = ast;\n }\n visitStyle(ast, context) {\n const timeline = context.currentTimeline;\n const timings = context.currentAnimateTimings;\n // this is a special case for when a style() call\n // directly follows an animate() call (but not inside of an animate() call)\n if (!timings && timeline.hasCurrentStyleProperties()) {\n timeline.forwardFrame();\n }\n const easing = (timings && timings.easing) || ast.easing;\n if (ast.isEmptyStep) {\n timeline.applyEmptyStep(easing);\n }\n else {\n timeline.setStyles(ast.styles, easing, context.errors, context.options);\n }\n context.previousNode = ast;\n }\n visitKeyframes(ast, context) {\n const currentAnimateTimings = context.currentAnimateTimings;\n const startTime = (context.currentTimeline).duration;\n const duration = currentAnimateTimings.duration;\n const innerContext = context.createSubContext();\n const innerTimeline = innerContext.currentTimeline;\n innerTimeline.easing = currentAnimateTimings.easing;\n ast.styles.forEach(step => {\n const offset = step.offset || 0;\n innerTimeline.forwardTime(offset * duration);\n innerTimeline.setStyles(step.styles, step.easing, context.errors, context.options);\n innerTimeline.applyStylesToKeyframe();\n });\n // this will ensure that the parent timeline gets all the styles from\n // the child even if the new timeline below is not used\n context.currentTimeline.mergeTimelineCollectedStyles(innerTimeline);\n // we do this because the window between this timeline and the sub timeline\n // should ensure that the styles within are exactly the same as they were before\n context.transformIntoNewTimeline(startTime + duration);\n context.previousNode = ast;\n }\n visitQuery(ast, context) {\n // in the event that the first step before this is a style step we need\n // to ensure the styles are applied before the children are animated\n const startTime = context.currentTimeline.currentTime;\n const options = (ast.options || {});\n const delay = options.delay ? resolveTimingValue(options.delay) : 0;\n if (delay &&\n (context.previousNode.type === 6 /* AnimationMetadataType.Style */ ||\n (startTime == 0 && context.currentTimeline.hasCurrentStyleProperties()))) {\n context.currentTimeline.snapshotCurrentStyles();\n context.previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n }\n let furthestTime = startTime;\n const elms = context.invokeQuery(ast.selector, ast.originalSelector, ast.limit, ast.includeSelf, options.optional ? true : false, context.errors);\n context.currentQueryTotal = elms.length;\n let sameElementTimeline = null;\n elms.forEach((element, i) => {\n context.currentQueryIndex = i;\n const innerContext = context.createSubContext(ast.options, element);\n if (delay) {\n innerContext.delayNextStep(delay);\n }\n if (element === context.element) {\n sameElementTimeline = innerContext.currentTimeline;\n }\n visitDslNode(this, ast.animation, innerContext);\n // this is here just incase the inner steps only contain or end\n // with a style() call (which is here to signal that this is a preparatory\n // call to style an element before it is animated again)\n innerContext.currentTimeline.applyStylesToKeyframe();\n const endTime = innerContext.currentTimeline.currentTime;\n furthestTime = Math.max(furthestTime, endTime);\n });\n context.currentQueryIndex = 0;\n context.currentQueryTotal = 0;\n context.transformIntoNewTimeline(furthestTime);\n if (sameElementTimeline) {\n context.currentTimeline.mergeTimelineCollectedStyles(sameElementTimeline);\n context.currentTimeline.snapshotCurrentStyles();\n }\n context.previousNode = ast;\n }\n visitStagger(ast, context) {\n const parentContext = context.parentContext;\n const tl = context.currentTimeline;\n const timings = ast.timings;\n const duration = Math.abs(timings.duration);\n const maxTime = duration * (context.currentQueryTotal - 1);\n let delay = duration * context.currentQueryIndex;\n let staggerTransformer = timings.duration < 0 ? 'reverse' : timings.easing;\n switch (staggerTransformer) {\n case 'reverse':\n delay = maxTime - delay;\n break;\n case 'full':\n delay = parentContext.currentStaggerTime;\n break;\n }\n const timeline = context.currentTimeline;\n if (delay) {\n timeline.delayNextStep(delay);\n }\n const startingTime = timeline.currentTime;\n visitDslNode(this, ast.animation, context);\n context.previousNode = ast;\n // time = duration + delay\n // the reason why this computation is so complex is because\n // the inner timeline may either have a delay value or a stretched\n // keyframe depending on if a subtimeline is not used or is used.\n parentContext.currentStaggerTime =\n (tl.currentTime - startingTime) + (tl.startTime - parentContext.currentTimeline.startTime);\n }\n}\nconst DEFAULT_NOOP_PREVIOUS_NODE = {};\nclass AnimationTimelineContext {\n constructor(_driver, element, subInstructions, _enterClassName, _leaveClassName, errors, timelines, initialTimeline) {\n this._driver = _driver;\n this.element = element;\n this.subInstructions = subInstructions;\n this._enterClassName = _enterClassName;\n this._leaveClassName = _leaveClassName;\n this.errors = errors;\n this.timelines = timelines;\n this.parentContext = null;\n this.currentAnimateTimings = null;\n this.previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n this.subContextCount = 0;\n this.options = {};\n this.currentQueryIndex = 0;\n this.currentQueryTotal = 0;\n this.currentStaggerTime = 0;\n this.currentTimeline = initialTimeline || new TimelineBuilder(this._driver, element, 0);\n timelines.push(this.currentTimeline);\n }\n get params() {\n return this.options.params;\n }\n updateOptions(options, skipIfExists) {\n if (!options)\n return;\n const newOptions = options;\n let optionsToUpdate = this.options;\n // NOTE: this will get patched up when other animation methods support duration overrides\n if (newOptions.duration != null) {\n optionsToUpdate.duration = resolveTimingValue(newOptions.duration);\n }\n if (newOptions.delay != null) {\n optionsToUpdate.delay = resolveTimingValue(newOptions.delay);\n }\n const newParams = newOptions.params;\n if (newParams) {\n let paramsToUpdate = optionsToUpdate.params;\n if (!paramsToUpdate) {\n paramsToUpdate = this.options.params = {};\n }\n Object.keys(newParams).forEach(name => {\n if (!skipIfExists || !paramsToUpdate.hasOwnProperty(name)) {\n paramsToUpdate[name] = interpolateParams(newParams[name], paramsToUpdate, this.errors);\n }\n });\n }\n }\n _copyOptions() {\n const options = {};\n if (this.options) {\n const oldParams = this.options.params;\n if (oldParams) {\n const params = options['params'] = {};\n Object.keys(oldParams).forEach(name => {\n params[name] = oldParams[name];\n });\n }\n }\n return options;\n }\n createSubContext(options = null, element, newTime) {\n const target = element || this.element;\n const context = new AnimationTimelineContext(this._driver, target, this.subInstructions, this._enterClassName, this._leaveClassName, this.errors, this.timelines, this.currentTimeline.fork(target, newTime || 0));\n context.previousNode = this.previousNode;\n context.currentAnimateTimings = this.currentAnimateTimings;\n context.options = this._copyOptions();\n context.updateOptions(options);\n context.currentQueryIndex = this.currentQueryIndex;\n context.currentQueryTotal = this.currentQueryTotal;\n context.parentContext = this;\n this.subContextCount++;\n return context;\n }\n transformIntoNewTimeline(newTime) {\n this.previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n this.currentTimeline = this.currentTimeline.fork(this.element, newTime);\n this.timelines.push(this.currentTimeline);\n return this.currentTimeline;\n }\n appendInstructionToTimeline(instruction, duration, delay) {\n const updatedTimings = {\n duration: duration != null ? duration : instruction.duration,\n delay: this.currentTimeline.currentTime + (delay != null ? delay : 0) + instruction.delay,\n easing: ''\n };\n const builder = new SubTimelineBuilder(this._driver, instruction.element, instruction.keyframes, instruction.preStyleProps, instruction.postStyleProps, updatedTimings, instruction.stretchStartingKeyframe);\n this.timelines.push(builder);\n return updatedTimings;\n }\n incrementTime(time) {\n this.currentTimeline.forwardTime(this.currentTimeline.duration + time);\n }\n delayNextStep(delay) {\n // negative delays are not yet supported\n if (delay > 0) {\n this.currentTimeline.delayNextStep(delay);\n }\n }\n invokeQuery(selector, originalSelector, limit, includeSelf, optional, errors) {\n let results = [];\n if (includeSelf) {\n results.push(this.element);\n }\n if (selector.length > 0) { // only if :self is used then the selector can be empty\n selector = selector.replace(ENTER_TOKEN_REGEX, '.' + this._enterClassName);\n selector = selector.replace(LEAVE_TOKEN_REGEX, '.' + this._leaveClassName);\n const multi = limit != 1;\n let elements = this._driver.query(this.element, selector, multi);\n if (limit !== 0) {\n elements = limit < 0 ? elements.slice(elements.length + limit, elements.length) :\n elements.slice(0, limit);\n }\n results.push(...elements);\n }\n if (!optional && results.length == 0) {\n errors.push(invalidQuery(originalSelector));\n }\n return results;\n }\n}\nclass TimelineBuilder {\n constructor(_driver, element, startTime, _elementTimelineStylesLookup) {\n this._driver = _driver;\n this.element = element;\n this.startTime = startTime;\n this._elementTimelineStylesLookup = _elementTimelineStylesLookup;\n this.duration = 0;\n this.easing = null;\n this._previousKeyframe = new Map();\n this._currentKeyframe = new Map();\n this._keyframes = new Map();\n this._styleSummary = new Map();\n this._localTimelineStyles = new Map();\n this._pendingStyles = new Map();\n this._backFill = new Map();\n this._currentEmptyStepKeyframe = null;\n if (!this._elementTimelineStylesLookup) {\n this._elementTimelineStylesLookup = new Map();\n }\n this._globalTimelineStyles = this._elementTimelineStylesLookup.get(element);\n if (!this._globalTimelineStyles) {\n this._globalTimelineStyles = this._localTimelineStyles;\n this._elementTimelineStylesLookup.set(element, this._localTimelineStyles);\n }\n this._loadKeyframe();\n }\n containsAnimation() {\n switch (this._keyframes.size) {\n case 0:\n return false;\n case 1:\n return this.hasCurrentStyleProperties();\n default:\n return true;\n }\n }\n hasCurrentStyleProperties() {\n return this._currentKeyframe.size > 0;\n }\n get currentTime() {\n return this.startTime + this.duration;\n }\n delayNextStep(delay) {\n // in the event that a style() step is placed right before a stagger()\n // and that style() step is the very first style() value in the animation\n // then we need to make a copy of the keyframe [0, copy, 1] so that the delay\n // properly applies the style() values to work with the stagger...\n const hasPreStyleStep = this._keyframes.size === 1 && this._pendingStyles.size;\n if (this.duration || hasPreStyleStep) {\n this.forwardTime(this.currentTime + delay);\n if (hasPreStyleStep) {\n this.snapshotCurrentStyles();\n }\n }\n else {\n this.startTime += delay;\n }\n }\n fork(element, currentTime) {\n this.applyStylesToKeyframe();\n return new TimelineBuilder(this._driver, element, currentTime || this.currentTime, this._elementTimelineStylesLookup);\n }\n _loadKeyframe() {\n if (this._currentKeyframe) {\n this._previousKeyframe = this._currentKeyframe;\n }\n this._currentKeyframe = this._keyframes.get(this.duration);\n if (!this._currentKeyframe) {\n this._currentKeyframe = new Map();\n this._keyframes.set(this.duration, this._currentKeyframe);\n }\n }\n forwardFrame() {\n this.duration += ONE_FRAME_IN_MILLISECONDS;\n this._loadKeyframe();\n }\n forwardTime(time) {\n this.applyStylesToKeyframe();\n this.duration = time;\n this._loadKeyframe();\n }\n _updateStyle(prop, value) {\n this._localTimelineStyles.set(prop, value);\n this._globalTimelineStyles.set(prop, value);\n this._styleSummary.set(prop, { time: this.currentTime, value });\n }\n allowOnlyTimelineStyles() {\n return this._currentEmptyStepKeyframe !== this._currentKeyframe;\n }\n applyEmptyStep(easing) {\n if (easing) {\n this._previousKeyframe.set('easing', easing);\n }\n // special case for animate(duration):\n // all missing styles are filled with a `*` value then\n // if any destination styles are filled in later on the same\n // keyframe then they will override the overridden styles\n // We use `_globalTimelineStyles` here because there may be\n // styles in previous keyframes that are not present in this timeline\n for (let [prop, value] of this._globalTimelineStyles) {\n this._backFill.set(prop, value || AUTO_STYLE);\n this._currentKeyframe.set(prop, AUTO_STYLE);\n }\n this._currentEmptyStepKeyframe = this._currentKeyframe;\n }\n setStyles(input, easing, errors, options) {\n if (easing) {\n this._previousKeyframe.set('easing', easing);\n }\n const params = (options && options.params) || {};\n const styles = flattenStyles(input, this._globalTimelineStyles);\n for (let [prop, value] of styles) {\n const val = interpolateParams(value, params, errors);\n this._pendingStyles.set(prop, val);\n if (!this._localTimelineStyles.has(prop)) {\n this._backFill.set(prop, this._globalTimelineStyles.get(prop) ?? AUTO_STYLE);\n }\n this._updateStyle(prop, val);\n }\n }\n applyStylesToKeyframe() {\n if (this._pendingStyles.size == 0)\n return;\n this._pendingStyles.forEach((val, prop) => {\n this._currentKeyframe.set(prop, val);\n });\n this._pendingStyles.clear();\n this._localTimelineStyles.forEach((val, prop) => {\n if (!this._currentKeyframe.has(prop)) {\n this._currentKeyframe.set(prop, val);\n }\n });\n }\n snapshotCurrentStyles() {\n for (let [prop, val] of this._localTimelineStyles) {\n this._pendingStyles.set(prop, val);\n this._updateStyle(prop, val);\n }\n }\n getFinalKeyframe() {\n return this._keyframes.get(this.duration);\n }\n get properties() {\n const properties = [];\n for (let prop in this._currentKeyframe) {\n properties.push(prop);\n }\n return properties;\n }\n mergeTimelineCollectedStyles(timeline) {\n timeline._styleSummary.forEach((details1, prop) => {\n const details0 = this._styleSummary.get(prop);\n if (!details0 || details1.time > details0.time) {\n this._updateStyle(prop, details1.value);\n }\n });\n }\n buildKeyframes() {\n this.applyStylesToKeyframe();\n const preStyleProps = new Set();\n const postStyleProps = new Set();\n const isEmpty = this._keyframes.size === 1 && this.duration === 0;\n let finalKeyframes = [];\n this._keyframes.forEach((keyframe, time) => {\n const finalKeyframe = copyStyles(keyframe, new Map(), this._backFill);\n finalKeyframe.forEach((value, prop) => {\n if (value === ɵPRE_STYLE) {\n preStyleProps.add(prop);\n }\n else if (value === AUTO_STYLE) {\n postStyleProps.add(prop);\n }\n });\n if (!isEmpty) {\n finalKeyframe.set('offset', time / this.duration);\n }\n finalKeyframes.push(finalKeyframe);\n });\n const preProps = preStyleProps.size ? iteratorToArray(preStyleProps.values()) : [];\n const postProps = postStyleProps.size ? iteratorToArray(postStyleProps.values()) : [];\n // special case for a 0-second animation (which is designed just to place styles onscreen)\n if (isEmpty) {\n const kf0 = finalKeyframes[0];\n const kf1 = new Map(kf0);\n kf0.set('offset', 0);\n kf1.set('offset', 1);\n finalKeyframes = [kf0, kf1];\n }\n return createTimelineInstruction(this.element, finalKeyframes, preProps, postProps, this.duration, this.startTime, this.easing, false);\n }\n}\nclass SubTimelineBuilder extends TimelineBuilder {\n constructor(driver, element, keyframes, preStyleProps, postStyleProps, timings, _stretchStartingKeyframe = false) {\n super(driver, element, timings.delay);\n this.keyframes = keyframes;\n this.preStyleProps = preStyleProps;\n this.postStyleProps = postStyleProps;\n this._stretchStartingKeyframe = _stretchStartingKeyframe;\n this.timings = { duration: timings.duration, delay: timings.delay, easing: timings.easing };\n }\n containsAnimation() {\n return this.keyframes.length > 1;\n }\n buildKeyframes() {\n let keyframes = this.keyframes;\n let { delay, duration, easing } = this.timings;\n if (this._stretchStartingKeyframe && delay) {\n const newKeyframes = [];\n const totalTime = duration + delay;\n const startingGap = delay / totalTime;\n // the original starting keyframe now starts once the delay is done\n const newFirstKeyframe = copyStyles(keyframes[0]);\n newFirstKeyframe.set('offset', 0);\n newKeyframes.push(newFirstKeyframe);\n const oldFirstKeyframe = copyStyles(keyframes[0]);\n oldFirstKeyframe.set('offset', roundOffset(startingGap));\n newKeyframes.push(oldFirstKeyframe);\n /*\n When the keyframe is stretched then it means that the delay before the animation\n starts is gone. Instead the first keyframe is placed at the start of the animation\n and it is then copied to where it starts when the original delay is over. This basically\n means nothing animates during that delay, but the styles are still rendered. For this\n to work the original offset values that exist in the original keyframes must be \"warped\"\n so that they can take the new keyframe + delay into account.\n \n delay=1000, duration=1000, keyframes = 0 .5 1\n \n turns into\n \n delay=0, duration=2000, keyframes = 0 .33 .66 1\n */\n // offsets between 1 ... n -1 are all warped by the keyframe stretch\n const limit = keyframes.length - 1;\n for (let i = 1; i <= limit; i++) {\n let kf = copyStyles(keyframes[i]);\n const oldOffset = kf.get('offset');\n const timeAtKeyframe = delay + oldOffset * duration;\n kf.set('offset', roundOffset(timeAtKeyframe / totalTime));\n newKeyframes.push(kf);\n }\n // the new starting keyframe should be added at the start\n duration = totalTime;\n delay = 0;\n easing = '';\n keyframes = newKeyframes;\n }\n return createTimelineInstruction(this.element, keyframes, this.preStyleProps, this.postStyleProps, duration, delay, easing, true);\n }\n}\nfunction roundOffset(offset, decimalPoints = 3) {\n const mult = Math.pow(10, decimalPoints - 1);\n return Math.round(offset * mult) / mult;\n}\nfunction flattenStyles(input, allStyles) {\n const styles = new Map();\n let allProperties;\n input.forEach(token => {\n if (token === '*') {\n allProperties = allProperties || allStyles.keys();\n for (let prop of allProperties) {\n styles.set(prop, AUTO_STYLE);\n }\n }\n else {\n copyStyles(token, styles);\n }\n });\n return styles;\n}\n\nclass Animation {\n constructor(_driver, input) {\n this._driver = _driver;\n const errors = [];\n const warnings = [];\n const ast = buildAnimationAst(_driver, input, errors, warnings);\n if (errors.length) {\n throw validationFailed(errors);\n }\n if (warnings.length) {\n warnValidation(warnings);\n }\n this._animationAst = ast;\n }\n buildTimelines(element, startingStyles, destinationStyles, options, subInstructions) {\n const start = Array.isArray(startingStyles) ? normalizeStyles(startingStyles) :\n startingStyles;\n const dest = Array.isArray(destinationStyles) ? normalizeStyles(destinationStyles) :\n destinationStyles;\n const errors = [];\n subInstructions = subInstructions || new ElementInstructionMap();\n const result = buildAnimationTimelines(this._driver, element, this._animationAst, ENTER_CLASSNAME, LEAVE_CLASSNAME, start, dest, options, subInstructions, errors);\n if (errors.length) {\n throw buildingFailed(errors);\n }\n return result;\n }\n}\n\n/**\n * @publicApi\n */\nclass AnimationStyleNormalizer {\n}\n/**\n * @publicApi\n */\nclass NoopAnimationStyleNormalizer {\n normalizePropertyName(propertyName, errors) {\n return propertyName;\n }\n normalizeStyleValue(userProvidedProperty, normalizedProperty, value, errors) {\n return value;\n }\n}\n\nconst DIMENSIONAL_PROP_SET = new Set([\n 'width',\n 'height',\n 'minWidth',\n 'minHeight',\n 'maxWidth',\n 'maxHeight',\n 'left',\n 'top',\n 'bottom',\n 'right',\n 'fontSize',\n 'outlineWidth',\n 'outlineOffset',\n 'paddingTop',\n 'paddingLeft',\n 'paddingBottom',\n 'paddingRight',\n 'marginTop',\n 'marginLeft',\n 'marginBottom',\n 'marginRight',\n 'borderRadius',\n 'borderWidth',\n 'borderTopWidth',\n 'borderLeftWidth',\n 'borderRightWidth',\n 'borderBottomWidth',\n 'textIndent',\n 'perspective'\n]);\nclass WebAnimationsStyleNormalizer extends AnimationStyleNormalizer {\n normalizePropertyName(propertyName, errors) {\n return dashCaseToCamelCase(propertyName);\n }\n normalizeStyleValue(userProvidedProperty, normalizedProperty, value, errors) {\n let unit = '';\n const strVal = value.toString().trim();\n if (DIMENSIONAL_PROP_SET.has(normalizedProperty) && value !== 0 && value !== '0') {\n if (typeof value === 'number') {\n unit = 'px';\n }\n else {\n const valAndSuffixMatch = value.match(/^[+-]?[\\d\\.]+([a-z]*)$/);\n if (valAndSuffixMatch && valAndSuffixMatch[1].length == 0) {\n errors.push(invalidCssUnitValue(userProvidedProperty, value));\n }\n }\n }\n return strVal + unit;\n }\n}\n\nfunction createTransitionInstruction(element, triggerName, fromState, toState, isRemovalTransition, fromStyles, toStyles, timelines, queriedElements, preStyleProps, postStyleProps, totalTime, errors) {\n return {\n type: 0 /* AnimationTransitionInstructionType.TransitionAnimation */,\n element,\n triggerName,\n isRemovalTransition,\n fromState,\n fromStyles,\n toState,\n toStyles,\n timelines,\n queriedElements,\n preStyleProps,\n postStyleProps,\n totalTime,\n errors\n };\n}\n\nconst EMPTY_OBJECT = {};\nclass AnimationTransitionFactory {\n constructor(_triggerName, ast, _stateStyles) {\n this._triggerName = _triggerName;\n this.ast = ast;\n this._stateStyles = _stateStyles;\n }\n match(currentState, nextState, element, params) {\n return oneOrMoreTransitionsMatch(this.ast.matchers, currentState, nextState, element, params);\n }\n buildStyles(stateName, params, errors) {\n let styler = this._stateStyles.get('*');\n if (stateName !== undefined) {\n styler = this._stateStyles.get(stateName?.toString()) || styler;\n }\n return styler ? styler.buildStyles(params, errors) : new Map();\n }\n build(driver, element, currentState, nextState, enterClassName, leaveClassName, currentOptions, nextOptions, subInstructions, skipAstBuild) {\n const errors = [];\n const transitionAnimationParams = this.ast.options && this.ast.options.params || EMPTY_OBJECT;\n const currentAnimationParams = currentOptions && currentOptions.params || EMPTY_OBJECT;\n const currentStateStyles = this.buildStyles(currentState, currentAnimationParams, errors);\n const nextAnimationParams = nextOptions && nextOptions.params || EMPTY_OBJECT;\n const nextStateStyles = this.buildStyles(nextState, nextAnimationParams, errors);\n const queriedElements = new Set();\n const preStyleMap = new Map();\n const postStyleMap = new Map();\n const isRemoval = nextState === 'void';\n const animationOptions = {\n params: applyParamDefaults(nextAnimationParams, transitionAnimationParams),\n delay: this.ast.options?.delay,\n };\n const timelines = skipAstBuild ?\n [] :\n buildAnimationTimelines(driver, element, this.ast.animation, enterClassName, leaveClassName, currentStateStyles, nextStateStyles, animationOptions, subInstructions, errors);\n let totalTime = 0;\n timelines.forEach(tl => {\n totalTime = Math.max(tl.duration + tl.delay, totalTime);\n });\n if (errors.length) {\n return createTransitionInstruction(element, this._triggerName, currentState, nextState, isRemoval, currentStateStyles, nextStateStyles, [], [], preStyleMap, postStyleMap, totalTime, errors);\n }\n timelines.forEach(tl => {\n const elm = tl.element;\n const preProps = getOrSetDefaultValue(preStyleMap, elm, new Set());\n tl.preStyleProps.forEach(prop => preProps.add(prop));\n const postProps = getOrSetDefaultValue(postStyleMap, elm, new Set());\n tl.postStyleProps.forEach(prop => postProps.add(prop));\n if (elm !== element) {\n queriedElements.add(elm);\n }\n });\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n checkNonAnimatableInTimelines(timelines, this._triggerName, driver);\n }\n const queriedElementsList = iteratorToArray(queriedElements.values());\n return createTransitionInstruction(element, this._triggerName, currentState, nextState, isRemoval, currentStateStyles, nextStateStyles, timelines, queriedElementsList, preStyleMap, postStyleMap, totalTime);\n }\n}\n/**\n * Checks inside a set of timelines if they try to animate a css property which is not considered\n * animatable, in that case it prints a warning on the console.\n * Besides that the function doesn't have any other effect.\n *\n * Note: this check is done here after the timelines are built instead of doing on a lower level so\n * that we can make sure that the warning appears only once per instruction (we can aggregate here\n * all the issues instead of finding them separately).\n *\n * @param timelines The built timelines for the current instruction.\n * @param triggerName The name of the trigger for the current instruction.\n * @param driver Animation driver used to perform the check.\n *\n */\nfunction checkNonAnimatableInTimelines(timelines, triggerName, driver) {\n if (!driver.validateAnimatableStyleProperty) {\n return;\n }\n const allowedNonAnimatableProps = new Set([\n // 'easing' is a utility/synthetic prop we use to represent\n // easing functions, it represents a property of the animation\n // which is not animatable but different values can be used\n // in different steps\n 'easing'\n ]);\n const invalidNonAnimatableProps = new Set();\n timelines.forEach(({ keyframes }) => {\n const nonAnimatablePropsInitialValues = new Map();\n keyframes.forEach(keyframe => {\n const entriesToCheck = Array.from(keyframe.entries()).filter(([prop]) => !allowedNonAnimatableProps.has(prop));\n for (const [prop, value] of entriesToCheck) {\n if (!driver.validateAnimatableStyleProperty(prop)) {\n if (nonAnimatablePropsInitialValues.has(prop) && !invalidNonAnimatableProps.has(prop)) {\n const propInitialValue = nonAnimatablePropsInitialValues.get(prop);\n if (propInitialValue !== value) {\n invalidNonAnimatableProps.add(prop);\n }\n }\n else {\n nonAnimatablePropsInitialValues.set(prop, value);\n }\n }\n }\n });\n });\n if (invalidNonAnimatableProps.size > 0) {\n console.warn(`Warning: The animation trigger \"${triggerName}\" is attempting to animate the following` +\n ' not animatable properties: ' + Array.from(invalidNonAnimatableProps).join(', ') + '\\n' +\n '(to check the list of all animatable properties visit https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_animated_properties)');\n }\n}\nfunction oneOrMoreTransitionsMatch(matchFns, currentState, nextState, element, params) {\n return matchFns.some(fn => fn(currentState, nextState, element, params));\n}\nfunction applyParamDefaults(userParams, defaults) {\n const result = copyObj(defaults);\n for (const key in userParams) {\n if (userParams.hasOwnProperty(key) && userParams[key] != null) {\n result[key] = userParams[key];\n }\n }\n return result;\n}\nclass AnimationStateStyles {\n constructor(styles, defaultParams, normalizer) {\n this.styles = styles;\n this.defaultParams = defaultParams;\n this.normalizer = normalizer;\n }\n buildStyles(params, errors) {\n const finalStyles = new Map();\n const combinedParams = copyObj(this.defaultParams);\n Object.keys(params).forEach(key => {\n const value = params[key];\n if (value !== null) {\n combinedParams[key] = value;\n }\n });\n this.styles.styles.forEach(value => {\n if (typeof value !== 'string') {\n value.forEach((val, prop) => {\n if (val) {\n val = interpolateParams(val, combinedParams, errors);\n }\n const normalizedProp = this.normalizer.normalizePropertyName(prop, errors);\n val = this.normalizer.normalizeStyleValue(prop, normalizedProp, val, errors);\n finalStyles.set(prop, val);\n });\n }\n });\n return finalStyles;\n }\n}\n\nfunction buildTrigger(name, ast, normalizer) {\n return new AnimationTrigger(name, ast, normalizer);\n}\nclass AnimationTrigger {\n constructor(name, ast, _normalizer) {\n this.name = name;\n this.ast = ast;\n this._normalizer = _normalizer;\n this.transitionFactories = [];\n this.states = new Map();\n ast.states.forEach(ast => {\n const defaultParams = (ast.options && ast.options.params) || {};\n this.states.set(ast.name, new AnimationStateStyles(ast.style, defaultParams, _normalizer));\n });\n balanceProperties(this.states, 'true', '1');\n balanceProperties(this.states, 'false', '0');\n ast.transitions.forEach(ast => {\n this.transitionFactories.push(new AnimationTransitionFactory(name, ast, this.states));\n });\n this.fallbackTransition = createFallbackTransition(name, this.states, this._normalizer);\n }\n get containsQueries() {\n return this.ast.queryCount > 0;\n }\n matchTransition(currentState, nextState, element, params) {\n const entry = this.transitionFactories.find(f => f.match(currentState, nextState, element, params));\n return entry || null;\n }\n matchStyles(currentState, params, errors) {\n return this.fallbackTransition.buildStyles(currentState, params, errors);\n }\n}\nfunction createFallbackTransition(triggerName, states, normalizer) {\n const matchers = [(fromState, toState) => true];\n const animation = { type: 2 /* AnimationMetadataType.Sequence */, steps: [], options: null };\n const transition = {\n type: 1 /* AnimationMetadataType.Transition */,\n animation,\n matchers,\n options: null,\n queryCount: 0,\n depCount: 0\n };\n return new AnimationTransitionFactory(triggerName, transition, states);\n}\nfunction balanceProperties(stateMap, key1, key2) {\n if (stateMap.has(key1)) {\n if (!stateMap.has(key2)) {\n stateMap.set(key2, stateMap.get(key1));\n }\n }\n else if (stateMap.has(key2)) {\n stateMap.set(key1, stateMap.get(key2));\n }\n}\n\nconst EMPTY_INSTRUCTION_MAP = new ElementInstructionMap();\nclass TimelineAnimationEngine {\n constructor(bodyNode, _driver, _normalizer) {\n this.bodyNode = bodyNode;\n this._driver = _driver;\n this._normalizer = _normalizer;\n this._animations = new Map();\n this._playersById = new Map();\n this.players = [];\n }\n register(id, metadata) {\n const errors = [];\n const warnings = [];\n const ast = buildAnimationAst(this._driver, metadata, errors, warnings);\n if (errors.length) {\n throw registerFailed(errors);\n }\n else {\n if (warnings.length) {\n warnRegister(warnings);\n }\n this._animations.set(id, ast);\n }\n }\n _buildPlayer(i, preStyles, postStyles) {\n const element = i.element;\n const keyframes = normalizeKeyframes$1(this._normalizer, i.keyframes, preStyles, postStyles);\n return this._driver.animate(element, keyframes, i.duration, i.delay, i.easing, [], true);\n }\n create(id, element, options = {}) {\n const errors = [];\n const ast = this._animations.get(id);\n let instructions;\n const autoStylesMap = new Map();\n if (ast) {\n instructions = buildAnimationTimelines(this._driver, element, ast, ENTER_CLASSNAME, LEAVE_CLASSNAME, new Map(), new Map(), options, EMPTY_INSTRUCTION_MAP, errors);\n instructions.forEach(inst => {\n const styles = getOrSetDefaultValue(autoStylesMap, inst.element, new Map());\n inst.postStyleProps.forEach(prop => styles.set(prop, null));\n });\n }\n else {\n errors.push(missingOrDestroyedAnimation());\n instructions = [];\n }\n if (errors.length) {\n throw createAnimationFailed(errors);\n }\n autoStylesMap.forEach((styles, element) => {\n styles.forEach((_, prop) => {\n styles.set(prop, this._driver.computeStyle(element, prop, AUTO_STYLE));\n });\n });\n const players = instructions.map(i => {\n const styles = autoStylesMap.get(i.element);\n return this._buildPlayer(i, new Map(), styles);\n });\n const player = optimizeGroupPlayer(players);\n this._playersById.set(id, player);\n player.onDestroy(() => this.destroy(id));\n this.players.push(player);\n return player;\n }\n destroy(id) {\n const player = this._getPlayer(id);\n player.destroy();\n this._playersById.delete(id);\n const index = this.players.indexOf(player);\n if (index >= 0) {\n this.players.splice(index, 1);\n }\n }\n _getPlayer(id) {\n const player = this._playersById.get(id);\n if (!player) {\n throw missingPlayer(id);\n }\n return player;\n }\n listen(id, element, eventName, callback) {\n // triggerName, fromState, toState are all ignored for timeline animations\n const baseEvent = makeAnimationEvent(element, '', '', '');\n listenOnPlayer(this._getPlayer(id), eventName, baseEvent, callback);\n return () => { };\n }\n command(id, element, command, args) {\n if (command == 'register') {\n this.register(id, args[0]);\n return;\n }\n if (command == 'create') {\n const options = (args[0] || {});\n this.create(id, element, options);\n return;\n }\n const player = this._getPlayer(id);\n switch (command) {\n case 'play':\n player.play();\n break;\n case 'pause':\n player.pause();\n break;\n case 'reset':\n player.reset();\n break;\n case 'restart':\n player.restart();\n break;\n case 'finish':\n player.finish();\n break;\n case 'init':\n player.init();\n break;\n case 'setPosition':\n player.setPosition(parseFloat(args[0]));\n break;\n case 'destroy':\n this.destroy(id);\n break;\n }\n }\n}\n\nconst QUEUED_CLASSNAME = 'ng-animate-queued';\nconst QUEUED_SELECTOR = '.ng-animate-queued';\nconst DISABLED_CLASSNAME = 'ng-animate-disabled';\nconst DISABLED_SELECTOR = '.ng-animate-disabled';\nconst STAR_CLASSNAME = 'ng-star-inserted';\nconst STAR_SELECTOR = '.ng-star-inserted';\nconst EMPTY_PLAYER_ARRAY = [];\nconst NULL_REMOVAL_STATE = {\n namespaceId: '',\n setForRemoval: false,\n setForMove: false,\n hasAnimation: false,\n removedBeforeQueried: false\n};\nconst NULL_REMOVED_QUERIED_STATE = {\n namespaceId: '',\n setForMove: false,\n setForRemoval: false,\n hasAnimation: false,\n removedBeforeQueried: true\n};\nconst REMOVAL_FLAG = '__ng_removed';\nclass StateValue {\n get params() {\n return this.options.params;\n }\n constructor(input, namespaceId = '') {\n this.namespaceId = namespaceId;\n const isObj = input && input.hasOwnProperty('value');\n const value = isObj ? input['value'] : input;\n this.value = normalizeTriggerValue(value);\n if (isObj) {\n const options = copyObj(input);\n delete options['value'];\n this.options = options;\n }\n else {\n this.options = {};\n }\n if (!this.options.params) {\n this.options.params = {};\n }\n }\n absorbOptions(options) {\n const newParams = options.params;\n if (newParams) {\n const oldParams = this.options.params;\n Object.keys(newParams).forEach(prop => {\n if (oldParams[prop] == null) {\n oldParams[prop] = newParams[prop];\n }\n });\n }\n }\n}\nconst VOID_VALUE = 'void';\nconst DEFAULT_STATE_VALUE = new StateValue(VOID_VALUE);\nclass AnimationTransitionNamespace {\n constructor(id, hostElement, _engine) {\n this.id = id;\n this.hostElement = hostElement;\n this._engine = _engine;\n this.players = [];\n this._triggers = new Map();\n this._queue = [];\n this._elementListeners = new Map();\n this._hostClassName = 'ng-tns-' + id;\n addClass(hostElement, this._hostClassName);\n }\n listen(element, name, phase, callback) {\n if (!this._triggers.has(name)) {\n throw missingTrigger(phase, name);\n }\n if (phase == null || phase.length == 0) {\n throw missingEvent(name);\n }\n if (!isTriggerEventValid(phase)) {\n throw unsupportedTriggerEvent(phase, name);\n }\n const listeners = getOrSetDefaultValue(this._elementListeners, element, []);\n const data = { name, phase, callback };\n listeners.push(data);\n const triggersWithStates = getOrSetDefaultValue(this._engine.statesByElement, element, new Map());\n if (!triggersWithStates.has(name)) {\n addClass(element, NG_TRIGGER_CLASSNAME);\n addClass(element, NG_TRIGGER_CLASSNAME + '-' + name);\n triggersWithStates.set(name, DEFAULT_STATE_VALUE);\n }\n return () => {\n // the event listener is removed AFTER the flush has occurred such\n // that leave animations callbacks can fire (otherwise if the node\n // is removed in between then the listeners would be deregistered)\n this._engine.afterFlush(() => {\n const index = listeners.indexOf(data);\n if (index >= 0) {\n listeners.splice(index, 1);\n }\n if (!this._triggers.has(name)) {\n triggersWithStates.delete(name);\n }\n });\n };\n }\n register(name, ast) {\n if (this._triggers.has(name)) {\n // throw\n return false;\n }\n else {\n this._triggers.set(name, ast);\n return true;\n }\n }\n _getTrigger(name) {\n const trigger = this._triggers.get(name);\n if (!trigger) {\n throw unregisteredTrigger(name);\n }\n return trigger;\n }\n trigger(element, triggerName, value, defaultToFallback = true) {\n const trigger = this._getTrigger(triggerName);\n const player = new TransitionAnimationPlayer(this.id, triggerName, element);\n let triggersWithStates = this._engine.statesByElement.get(element);\n if (!triggersWithStates) {\n addClass(element, NG_TRIGGER_CLASSNAME);\n addClass(element, NG_TRIGGER_CLASSNAME + '-' + triggerName);\n this._engine.statesByElement.set(element, triggersWithStates = new Map());\n }\n let fromState = triggersWithStates.get(triggerName);\n const toState = new StateValue(value, this.id);\n const isObj = value && value.hasOwnProperty('value');\n if (!isObj && fromState) {\n toState.absorbOptions(fromState.options);\n }\n triggersWithStates.set(triggerName, toState);\n if (!fromState) {\n fromState = DEFAULT_STATE_VALUE;\n }\n const isRemoval = toState.value === VOID_VALUE;\n // normally this isn't reached by here, however, if an object expression\n // is passed in then it may be a new object each time. Comparing the value\n // is important since that will stay the same despite there being a new object.\n // The removal arc here is special cased because the same element is triggered\n // twice in the event that it contains animations on the outer/inner portions\n // of the host container\n if (!isRemoval && fromState.value === toState.value) {\n // this means that despite the value not changing, some inner params\n // have changed which means that the animation final styles need to be applied\n if (!objEquals(fromState.params, toState.params)) {\n const errors = [];\n const fromStyles = trigger.matchStyles(fromState.value, fromState.params, errors);\n const toStyles = trigger.matchStyles(toState.value, toState.params, errors);\n if (errors.length) {\n this._engine.reportError(errors);\n }\n else {\n this._engine.afterFlush(() => {\n eraseStyles(element, fromStyles);\n setStyles(element, toStyles);\n });\n }\n }\n return;\n }\n const playersOnElement = getOrSetDefaultValue(this._engine.playersByElement, element, []);\n playersOnElement.forEach(player => {\n // only remove the player if it is queued on the EXACT same trigger/namespace\n // we only also deal with queued players here because if the animation has\n // started then we want to keep the player alive until the flush happens\n // (which is where the previousPlayers are passed into the new player)\n if (player.namespaceId == this.id && player.triggerName == triggerName && player.queued) {\n player.destroy();\n }\n });\n let transition = trigger.matchTransition(fromState.value, toState.value, element, toState.params);\n let isFallbackTransition = false;\n if (!transition) {\n if (!defaultToFallback)\n return;\n transition = trigger.fallbackTransition;\n isFallbackTransition = true;\n }\n this._engine.totalQueuedPlayers++;\n this._queue.push({ element, triggerName, transition, fromState, toState, player, isFallbackTransition });\n if (!isFallbackTransition) {\n addClass(element, QUEUED_CLASSNAME);\n player.onStart(() => {\n removeClass(element, QUEUED_CLASSNAME);\n });\n }\n player.onDone(() => {\n let index = this.players.indexOf(player);\n if (index >= 0) {\n this.players.splice(index, 1);\n }\n const players = this._engine.playersByElement.get(element);\n if (players) {\n let index = players.indexOf(player);\n if (index >= 0) {\n players.splice(index, 1);\n }\n }\n });\n this.players.push(player);\n playersOnElement.push(player);\n return player;\n }\n deregister(name) {\n this._triggers.delete(name);\n this._engine.statesByElement.forEach(stateMap => stateMap.delete(name));\n this._elementListeners.forEach((listeners, element) => {\n this._elementListeners.set(element, listeners.filter(entry => {\n return entry.name != name;\n }));\n });\n }\n clearElementCache(element) {\n this._engine.statesByElement.delete(element);\n this._elementListeners.delete(element);\n const elementPlayers = this._engine.playersByElement.get(element);\n if (elementPlayers) {\n elementPlayers.forEach(player => player.destroy());\n this._engine.playersByElement.delete(element);\n }\n }\n _signalRemovalForInnerTriggers(rootElement, context) {\n const elements = this._engine.driver.query(rootElement, NG_TRIGGER_SELECTOR, true);\n // emulate a leave animation for all inner nodes within this node.\n // If there are no animations found for any of the nodes then clear the cache\n // for the element.\n elements.forEach(elm => {\n // this means that an inner remove() operation has already kicked off\n // the animation on this element...\n if (elm[REMOVAL_FLAG])\n return;\n const namespaces = this._engine.fetchNamespacesByElement(elm);\n if (namespaces.size) {\n namespaces.forEach(ns => ns.triggerLeaveAnimation(elm, context, false, true));\n }\n else {\n this.clearElementCache(elm);\n }\n });\n // If the child elements were removed along with the parent, their animations might not\n // have completed. Clear all the elements from the cache so we don't end up with a memory leak.\n this._engine.afterFlushAnimationsDone(() => elements.forEach(elm => this.clearElementCache(elm)));\n }\n triggerLeaveAnimation(element, context, destroyAfterComplete, defaultToFallback) {\n const triggerStates = this._engine.statesByElement.get(element);\n const previousTriggersValues = new Map();\n if (triggerStates) {\n const players = [];\n triggerStates.forEach((state, triggerName) => {\n previousTriggersValues.set(triggerName, state.value);\n // this check is here in the event that an element is removed\n // twice (both on the host level and the component level)\n if (this._triggers.has(triggerName)) {\n const player = this.trigger(element, triggerName, VOID_VALUE, defaultToFallback);\n if (player) {\n players.push(player);\n }\n }\n });\n if (players.length) {\n this._engine.markElementAsRemoved(this.id, element, true, context, previousTriggersValues);\n if (destroyAfterComplete) {\n optimizeGroupPlayer(players).onDone(() => this._engine.processLeaveNode(element));\n }\n return true;\n }\n }\n return false;\n }\n prepareLeaveAnimationListeners(element) {\n const listeners = this._elementListeners.get(element);\n const elementStates = this._engine.statesByElement.get(element);\n // if this statement fails then it means that the element was picked up\n // by an earlier flush (or there are no listeners at all to track the leave).\n if (listeners && elementStates) {\n const visitedTriggers = new Set();\n listeners.forEach(listener => {\n const triggerName = listener.name;\n if (visitedTriggers.has(triggerName))\n return;\n visitedTriggers.add(triggerName);\n const trigger = this._triggers.get(triggerName);\n const transition = trigger.fallbackTransition;\n const fromState = elementStates.get(triggerName) || DEFAULT_STATE_VALUE;\n const toState = new StateValue(VOID_VALUE);\n const player = new TransitionAnimationPlayer(this.id, triggerName, element);\n this._engine.totalQueuedPlayers++;\n this._queue.push({\n element,\n triggerName,\n transition,\n fromState,\n toState,\n player,\n isFallbackTransition: true\n });\n });\n }\n }\n removeNode(element, context) {\n const engine = this._engine;\n if (element.childElementCount) {\n this._signalRemovalForInnerTriggers(element, context);\n }\n // this means that a * => VOID animation was detected and kicked off\n if (this.triggerLeaveAnimation(element, context, true))\n return;\n // find the player that is animating and make sure that the\n // removal is delayed until that player has completed\n let containsPotentialParentTransition = false;\n if (engine.totalAnimations) {\n const currentPlayers = engine.players.length ? engine.playersByQueriedElement.get(element) : [];\n // when this `if statement` does not continue forward it means that\n // a previous animation query has selected the current element and\n // is animating it. In this situation want to continue forwards and\n // allow the element to be queued up for animation later.\n if (currentPlayers && currentPlayers.length) {\n containsPotentialParentTransition = true;\n }\n else {\n let parent = element;\n while (parent = parent.parentNode) {\n const triggers = engine.statesByElement.get(parent);\n if (triggers) {\n containsPotentialParentTransition = true;\n break;\n }\n }\n }\n }\n // at this stage we know that the element will either get removed\n // during flush or will be picked up by a parent query. Either way\n // we need to fire the listeners for this element when it DOES get\n // removed (once the query parent animation is done or after flush)\n this.prepareLeaveAnimationListeners(element);\n // whether or not a parent has an animation we need to delay the deferral of the leave\n // operation until we have more information (which we do after flush() has been called)\n if (containsPotentialParentTransition) {\n engine.markElementAsRemoved(this.id, element, false, context);\n }\n else {\n const removalFlag = element[REMOVAL_FLAG];\n if (!removalFlag || removalFlag === NULL_REMOVAL_STATE) {\n // we do this after the flush has occurred such\n // that the callbacks can be fired\n engine.afterFlush(() => this.clearElementCache(element));\n engine.destroyInnerAnimations(element);\n engine._onRemovalComplete(element, context);\n }\n }\n }\n insertNode(element, parent) {\n addClass(element, this._hostClassName);\n }\n drainQueuedTransitions(microtaskId) {\n const instructions = [];\n this._queue.forEach(entry => {\n const player = entry.player;\n if (player.destroyed)\n return;\n const element = entry.element;\n const listeners = this._elementListeners.get(element);\n if (listeners) {\n listeners.forEach((listener) => {\n if (listener.name == entry.triggerName) {\n const baseEvent = makeAnimationEvent(element, entry.triggerName, entry.fromState.value, entry.toState.value);\n baseEvent['_data'] = microtaskId;\n listenOnPlayer(entry.player, listener.phase, baseEvent, listener.callback);\n }\n });\n }\n if (player.markedForDestroy) {\n this._engine.afterFlush(() => {\n // now we can destroy the element properly since the event listeners have\n // been bound to the player\n player.destroy();\n });\n }\n else {\n instructions.push(entry);\n }\n });\n this._queue = [];\n return instructions.sort((a, b) => {\n // if depCount == 0 them move to front\n // otherwise if a contains b then move back\n const d0 = a.transition.ast.depCount;\n const d1 = b.transition.ast.depCount;\n if (d0 == 0 || d1 == 0) {\n return d0 - d1;\n }\n return this._engine.driver.containsElement(a.element, b.element) ? 1 : -1;\n });\n }\n destroy(context) {\n this.players.forEach(p => p.destroy());\n this._signalRemovalForInnerTriggers(this.hostElement, context);\n }\n elementContainsData(element) {\n let containsData = false;\n if (this._elementListeners.has(element))\n containsData = true;\n containsData =\n (this._queue.find(entry => entry.element === element) ? true : false) || containsData;\n return containsData;\n }\n}\nclass TransitionAnimationEngine {\n /** @internal */\n _onRemovalComplete(element, context) {\n this.onRemovalComplete(element, context);\n }\n constructor(bodyNode, driver, _normalizer) {\n this.bodyNode = bodyNode;\n this.driver = driver;\n this._normalizer = _normalizer;\n this.players = [];\n this.newHostElements = new Map();\n this.playersByElement = new Map();\n this.playersByQueriedElement = new Map();\n this.statesByElement = new Map();\n this.disabledNodes = new Set();\n this.totalAnimations = 0;\n this.totalQueuedPlayers = 0;\n this._namespaceLookup = {};\n this._namespaceList = [];\n this._flushFns = [];\n this._whenQuietFns = [];\n this.namespacesByHostElement = new Map();\n this.collectedEnterElements = [];\n this.collectedLeaveElements = [];\n // this method is designed to be overridden by the code that uses this engine\n this.onRemovalComplete = (element, context) => { };\n }\n get queuedPlayers() {\n const players = [];\n this._namespaceList.forEach(ns => {\n ns.players.forEach(player => {\n if (player.queued) {\n players.push(player);\n }\n });\n });\n return players;\n }\n createNamespace(namespaceId, hostElement) {\n const ns = new AnimationTransitionNamespace(namespaceId, hostElement, this);\n if (this.bodyNode && this.driver.containsElement(this.bodyNode, hostElement)) {\n this._balanceNamespaceList(ns, hostElement);\n }\n else {\n // defer this later until flush during when the host element has\n // been inserted so that we know exactly where to place it in\n // the namespace list\n this.newHostElements.set(hostElement, ns);\n // given that this host element is a part of the animation code, it\n // may or may not be inserted by a parent node that is of an\n // animation renderer type. If this happens then we can still have\n // access to this item when we query for :enter nodes. If the parent\n // is a renderer then the set data-structure will normalize the entry\n this.collectEnterElement(hostElement);\n }\n return this._namespaceLookup[namespaceId] = ns;\n }\n _balanceNamespaceList(ns, hostElement) {\n const namespaceList = this._namespaceList;\n const namespacesByHostElement = this.namespacesByHostElement;\n const limit = namespaceList.length - 1;\n if (limit >= 0) {\n let found = false;\n // Find the closest ancestor with an existing namespace so we can then insert `ns` after it,\n // establishing a top-down ordering of namespaces in `this._namespaceList`.\n let ancestor = this.driver.getParentElement(hostElement);\n while (ancestor) {\n const ancestorNs = namespacesByHostElement.get(ancestor);\n if (ancestorNs) {\n // An animation namespace has been registered for this ancestor, so we insert `ns`\n // right after it to establish top-down ordering of animation namespaces.\n const index = namespaceList.indexOf(ancestorNs);\n namespaceList.splice(index + 1, 0, ns);\n found = true;\n break;\n }\n ancestor = this.driver.getParentElement(ancestor);\n }\n if (!found) {\n // No namespace exists that is an ancestor of `ns`, so `ns` is inserted at the front to\n // ensure that any existing descendants are ordered after `ns`, retaining the desired\n // top-down ordering.\n namespaceList.unshift(ns);\n }\n }\n else {\n namespaceList.push(ns);\n }\n namespacesByHostElement.set(hostElement, ns);\n return ns;\n }\n register(namespaceId, hostElement) {\n let ns = this._namespaceLookup[namespaceId];\n if (!ns) {\n ns = this.createNamespace(namespaceId, hostElement);\n }\n return ns;\n }\n registerTrigger(namespaceId, name, trigger) {\n let ns = this._namespaceLookup[namespaceId];\n if (ns && ns.register(name, trigger)) {\n this.totalAnimations++;\n }\n }\n destroy(namespaceId, context) {\n if (!namespaceId)\n return;\n const ns = this._fetchNamespace(namespaceId);\n this.afterFlush(() => {\n this.namespacesByHostElement.delete(ns.hostElement);\n delete this._namespaceLookup[namespaceId];\n const index = this._namespaceList.indexOf(ns);\n if (index >= 0) {\n this._namespaceList.splice(index, 1);\n }\n });\n this.afterFlushAnimationsDone(() => ns.destroy(context));\n }\n _fetchNamespace(id) {\n return this._namespaceLookup[id];\n }\n fetchNamespacesByElement(element) {\n // normally there should only be one namespace per element, however\n // if @triggers are placed on both the component element and then\n // its host element (within the component code) then there will be\n // two namespaces returned. We use a set here to simply deduplicate\n // the namespaces in case (for the reason described above) there are multiple triggers\n const namespaces = new Set();\n const elementStates = this.statesByElement.get(element);\n if (elementStates) {\n for (let stateValue of elementStates.values()) {\n if (stateValue.namespaceId) {\n const ns = this._fetchNamespace(stateValue.namespaceId);\n if (ns) {\n namespaces.add(ns);\n }\n }\n }\n }\n return namespaces;\n }\n trigger(namespaceId, element, name, value) {\n if (isElementNode(element)) {\n const ns = this._fetchNamespace(namespaceId);\n if (ns) {\n ns.trigger(element, name, value);\n return true;\n }\n }\n return false;\n }\n insertNode(namespaceId, element, parent, insertBefore) {\n if (!isElementNode(element))\n return;\n // special case for when an element is removed and reinserted (move operation)\n // when this occurs we do not want to use the element for deletion later\n const details = element[REMOVAL_FLAG];\n if (details && details.setForRemoval) {\n details.setForRemoval = false;\n details.setForMove = true;\n const index = this.collectedLeaveElements.indexOf(element);\n if (index >= 0) {\n this.collectedLeaveElements.splice(index, 1);\n }\n }\n // in the event that the namespaceId is blank then the caller\n // code does not contain any animation code in it, but it is\n // just being called so that the node is marked as being inserted\n if (namespaceId) {\n const ns = this._fetchNamespace(namespaceId);\n // This if-statement is a workaround for router issue #21947.\n // The router sometimes hits a race condition where while a route\n // is being instantiated a new navigation arrives, triggering leave\n // animation of DOM that has not been fully initialized, until this\n // is resolved, we need to handle the scenario when DOM is not in a\n // consistent state during the animation.\n if (ns) {\n ns.insertNode(element, parent);\n }\n }\n // only *directives and host elements are inserted before\n if (insertBefore) {\n this.collectEnterElement(element);\n }\n }\n collectEnterElement(element) {\n this.collectedEnterElements.push(element);\n }\n markElementAsDisabled(element, value) {\n if (value) {\n if (!this.disabledNodes.has(element)) {\n this.disabledNodes.add(element);\n addClass(element, DISABLED_CLASSNAME);\n }\n }\n else if (this.disabledNodes.has(element)) {\n this.disabledNodes.delete(element);\n removeClass(element, DISABLED_CLASSNAME);\n }\n }\n removeNode(namespaceId, element, context) {\n if (isElementNode(element)) {\n const ns = namespaceId ? this._fetchNamespace(namespaceId) : null;\n if (ns) {\n ns.removeNode(element, context);\n }\n else {\n this.markElementAsRemoved(namespaceId, element, false, context);\n }\n const hostNS = this.namespacesByHostElement.get(element);\n if (hostNS && hostNS.id !== namespaceId) {\n hostNS.removeNode(element, context);\n }\n }\n else {\n this._onRemovalComplete(element, context);\n }\n }\n markElementAsRemoved(namespaceId, element, hasAnimation, context, previousTriggersValues) {\n this.collectedLeaveElements.push(element);\n element[REMOVAL_FLAG] = {\n namespaceId,\n setForRemoval: context,\n hasAnimation,\n removedBeforeQueried: false,\n previousTriggersValues\n };\n }\n listen(namespaceId, element, name, phase, callback) {\n if (isElementNode(element)) {\n return this._fetchNamespace(namespaceId).listen(element, name, phase, callback);\n }\n return () => { };\n }\n _buildInstruction(entry, subTimelines, enterClassName, leaveClassName, skipBuildAst) {\n return entry.transition.build(this.driver, entry.element, entry.fromState.value, entry.toState.value, enterClassName, leaveClassName, entry.fromState.options, entry.toState.options, subTimelines, skipBuildAst);\n }\n destroyInnerAnimations(containerElement) {\n let elements = this.driver.query(containerElement, NG_TRIGGER_SELECTOR, true);\n elements.forEach(element => this.destroyActiveAnimationsForElement(element));\n if (this.playersByQueriedElement.size == 0)\n return;\n elements = this.driver.query(containerElement, NG_ANIMATING_SELECTOR, true);\n elements.forEach(element => this.finishActiveQueriedAnimationOnElement(element));\n }\n destroyActiveAnimationsForElement(element) {\n const players = this.playersByElement.get(element);\n if (players) {\n players.forEach(player => {\n // special case for when an element is set for destruction, but hasn't started.\n // in this situation we want to delay the destruction until the flush occurs\n // so that any event listeners attached to the player are triggered.\n if (player.queued) {\n player.markedForDestroy = true;\n }\n else {\n player.destroy();\n }\n });\n }\n }\n finishActiveQueriedAnimationOnElement(element) {\n const players = this.playersByQueriedElement.get(element);\n if (players) {\n players.forEach(player => player.finish());\n }\n }\n whenRenderingDone() {\n return new Promise(resolve => {\n if (this.players.length) {\n return optimizeGroupPlayer(this.players).onDone(() => resolve());\n }\n else {\n resolve();\n }\n });\n }\n processLeaveNode(element) {\n const details = element[REMOVAL_FLAG];\n if (details && details.setForRemoval) {\n // this will prevent it from removing it twice\n element[REMOVAL_FLAG] = NULL_REMOVAL_STATE;\n if (details.namespaceId) {\n this.destroyInnerAnimations(element);\n const ns = this._fetchNamespace(details.namespaceId);\n if (ns) {\n ns.clearElementCache(element);\n }\n }\n this._onRemovalComplete(element, details.setForRemoval);\n }\n if (element.classList?.contains(DISABLED_CLASSNAME)) {\n this.markElementAsDisabled(element, false);\n }\n this.driver.query(element, DISABLED_SELECTOR, true).forEach(node => {\n this.markElementAsDisabled(node, false);\n });\n }\n flush(microtaskId = -1) {\n let players = [];\n if (this.newHostElements.size) {\n this.newHostElements.forEach((ns, element) => this._balanceNamespaceList(ns, element));\n this.newHostElements.clear();\n }\n if (this.totalAnimations && this.collectedEnterElements.length) {\n for (let i = 0; i < this.collectedEnterElements.length; i++) {\n const elm = this.collectedEnterElements[i];\n addClass(elm, STAR_CLASSNAME);\n }\n }\n if (this._namespaceList.length &&\n (this.totalQueuedPlayers || this.collectedLeaveElements.length)) {\n const cleanupFns = [];\n try {\n players = this._flushAnimations(cleanupFns, microtaskId);\n }\n finally {\n for (let i = 0; i < cleanupFns.length; i++) {\n cleanupFns[i]();\n }\n }\n }\n else {\n for (let i = 0; i < this.collectedLeaveElements.length; i++) {\n const element = this.collectedLeaveElements[i];\n this.processLeaveNode(element);\n }\n }\n this.totalQueuedPlayers = 0;\n this.collectedEnterElements.length = 0;\n this.collectedLeaveElements.length = 0;\n this._flushFns.forEach(fn => fn());\n this._flushFns = [];\n if (this._whenQuietFns.length) {\n // we move these over to a variable so that\n // if any new callbacks are registered in another\n // flush they do not populate the existing set\n const quietFns = this._whenQuietFns;\n this._whenQuietFns = [];\n if (players.length) {\n optimizeGroupPlayer(players).onDone(() => {\n quietFns.forEach(fn => fn());\n });\n }\n else {\n quietFns.forEach(fn => fn());\n }\n }\n }\n reportError(errors) {\n throw triggerTransitionsFailed(errors);\n }\n _flushAnimations(cleanupFns, microtaskId) {\n const subTimelines = new ElementInstructionMap();\n const skippedPlayers = [];\n const skippedPlayersMap = new Map();\n const queuedInstructions = [];\n const queriedElements = new Map();\n const allPreStyleElements = new Map();\n const allPostStyleElements = new Map();\n const disabledElementsSet = new Set();\n this.disabledNodes.forEach(node => {\n disabledElementsSet.add(node);\n const nodesThatAreDisabled = this.driver.query(node, QUEUED_SELECTOR, true);\n for (let i = 0; i < nodesThatAreDisabled.length; i++) {\n disabledElementsSet.add(nodesThatAreDisabled[i]);\n }\n });\n const bodyNode = this.bodyNode;\n const allTriggerElements = Array.from(this.statesByElement.keys());\n const enterNodeMap = buildRootMap(allTriggerElements, this.collectedEnterElements);\n // this must occur before the instructions are built below such that\n // the :enter queries match the elements (since the timeline queries\n // are fired during instruction building).\n const enterNodeMapIds = new Map();\n let i = 0;\n enterNodeMap.forEach((nodes, root) => {\n const className = ENTER_CLASSNAME + i++;\n enterNodeMapIds.set(root, className);\n nodes.forEach(node => addClass(node, className));\n });\n const allLeaveNodes = [];\n const mergedLeaveNodes = new Set();\n const leaveNodesWithoutAnimations = new Set();\n for (let i = 0; i < this.collectedLeaveElements.length; i++) {\n const element = this.collectedLeaveElements[i];\n const details = element[REMOVAL_FLAG];\n if (details && details.setForRemoval) {\n allLeaveNodes.push(element);\n mergedLeaveNodes.add(element);\n if (details.hasAnimation) {\n this.driver.query(element, STAR_SELECTOR, true).forEach(elm => mergedLeaveNodes.add(elm));\n }\n else {\n leaveNodesWithoutAnimations.add(element);\n }\n }\n }\n const leaveNodeMapIds = new Map();\n const leaveNodeMap = buildRootMap(allTriggerElements, Array.from(mergedLeaveNodes));\n leaveNodeMap.forEach((nodes, root) => {\n const className = LEAVE_CLASSNAME + i++;\n leaveNodeMapIds.set(root, className);\n nodes.forEach(node => addClass(node, className));\n });\n cleanupFns.push(() => {\n enterNodeMap.forEach((nodes, root) => {\n const className = enterNodeMapIds.get(root);\n nodes.forEach(node => removeClass(node, className));\n });\n leaveNodeMap.forEach((nodes, root) => {\n const className = leaveNodeMapIds.get(root);\n nodes.forEach(node => removeClass(node, className));\n });\n allLeaveNodes.forEach(element => {\n this.processLeaveNode(element);\n });\n });\n const allPlayers = [];\n const erroneousTransitions = [];\n for (let i = this._namespaceList.length - 1; i >= 0; i--) {\n const ns = this._namespaceList[i];\n ns.drainQueuedTransitions(microtaskId).forEach(entry => {\n const player = entry.player;\n const element = entry.element;\n allPlayers.push(player);\n if (this.collectedEnterElements.length) {\n const details = element[REMOVAL_FLAG];\n // animations for move operations (elements being removed and reinserted,\n // e.g. when the order of an *ngFor list changes) are currently not supported\n if (details && details.setForMove) {\n if (details.previousTriggersValues &&\n details.previousTriggersValues.has(entry.triggerName)) {\n const previousValue = details.previousTriggersValues.get(entry.triggerName);\n // we need to restore the previous trigger value since the element has\n // only been moved and hasn't actually left the DOM\n const triggersWithStates = this.statesByElement.get(entry.element);\n if (triggersWithStates && triggersWithStates.has(entry.triggerName)) {\n const state = triggersWithStates.get(entry.triggerName);\n state.value = previousValue;\n triggersWithStates.set(entry.triggerName, state);\n }\n }\n player.destroy();\n return;\n }\n }\n const nodeIsOrphaned = !bodyNode || !this.driver.containsElement(bodyNode, element);\n const leaveClassName = leaveNodeMapIds.get(element);\n const enterClassName = enterNodeMapIds.get(element);\n const instruction = this._buildInstruction(entry, subTimelines, enterClassName, leaveClassName, nodeIsOrphaned);\n if (instruction.errors && instruction.errors.length) {\n erroneousTransitions.push(instruction);\n return;\n }\n // even though the element may not be in the DOM, it may still\n // be added at a later point (due to the mechanics of content\n // projection and/or dynamic component insertion) therefore it's\n // important to still style the element.\n if (nodeIsOrphaned) {\n player.onStart(() => eraseStyles(element, instruction.fromStyles));\n player.onDestroy(() => setStyles(element, instruction.toStyles));\n skippedPlayers.push(player);\n return;\n }\n // if an unmatched transition is queued and ready to go\n // then it SHOULD NOT render an animation and cancel the\n // previously running animations.\n if (entry.isFallbackTransition) {\n player.onStart(() => eraseStyles(element, instruction.fromStyles));\n player.onDestroy(() => setStyles(element, instruction.toStyles));\n skippedPlayers.push(player);\n return;\n }\n // this means that if a parent animation uses this animation as a sub-trigger\n // then it will instruct the timeline builder not to add a player delay, but\n // instead stretch the first keyframe gap until the animation starts. This is\n // important in order to prevent extra initialization styles from being\n // required by the user for the animation.\n const timelines = [];\n instruction.timelines.forEach(tl => {\n tl.stretchStartingKeyframe = true;\n if (!this.disabledNodes.has(tl.element)) {\n timelines.push(tl);\n }\n });\n instruction.timelines = timelines;\n subTimelines.append(element, instruction.timelines);\n const tuple = { instruction, player, element };\n queuedInstructions.push(tuple);\n instruction.queriedElements.forEach(element => getOrSetDefaultValue(queriedElements, element, []).push(player));\n instruction.preStyleProps.forEach((stringMap, element) => {\n if (stringMap.size) {\n let setVal = allPreStyleElements.get(element);\n if (!setVal) {\n allPreStyleElements.set(element, setVal = new Set());\n }\n stringMap.forEach((_, prop) => setVal.add(prop));\n }\n });\n instruction.postStyleProps.forEach((stringMap, element) => {\n let setVal = allPostStyleElements.get(element);\n if (!setVal) {\n allPostStyleElements.set(element, setVal = new Set());\n }\n stringMap.forEach((_, prop) => setVal.add(prop));\n });\n });\n }\n if (erroneousTransitions.length) {\n const errors = [];\n erroneousTransitions.forEach(instruction => {\n errors.push(transitionFailed(instruction.triggerName, instruction.errors));\n });\n allPlayers.forEach(player => player.destroy());\n this.reportError(errors);\n }\n const allPreviousPlayersMap = new Map();\n // this map tells us which element in the DOM tree is contained by\n // which animation. Further down this map will get populated once\n // the players are built and in doing so we can use it to efficiently\n // figure out if a sub player is skipped due to a parent player having priority.\n const animationElementMap = new Map();\n queuedInstructions.forEach(entry => {\n const element = entry.element;\n if (subTimelines.has(element)) {\n animationElementMap.set(element, element);\n this._beforeAnimationBuild(entry.player.namespaceId, entry.instruction, allPreviousPlayersMap);\n }\n });\n skippedPlayers.forEach(player => {\n const element = player.element;\n const previousPlayers = this._getPreviousPlayers(element, false, player.namespaceId, player.triggerName, null);\n previousPlayers.forEach(prevPlayer => {\n getOrSetDefaultValue(allPreviousPlayersMap, element, []).push(prevPlayer);\n prevPlayer.destroy();\n });\n });\n // this is a special case for nodes that will be removed either by\n // having their own leave animations or by being queried in a container\n // that will be removed once a parent animation is complete. The idea\n // here is that * styles must be identical to ! styles because of\n // backwards compatibility (* is also filled in by default in many places).\n // Otherwise * styles will return an empty value or \"auto\" since the element\n // passed to getComputedStyle will not be visible (since * === destination)\n const replaceNodes = allLeaveNodes.filter(node => {\n return replacePostStylesAsPre(node, allPreStyleElements, allPostStyleElements);\n });\n // POST STAGE: fill the * styles\n const postStylesMap = new Map();\n const allLeaveQueriedNodes = cloakAndComputeStyles(postStylesMap, this.driver, leaveNodesWithoutAnimations, allPostStyleElements, AUTO_STYLE);\n allLeaveQueriedNodes.forEach(node => {\n if (replacePostStylesAsPre(node, allPreStyleElements, allPostStyleElements)) {\n replaceNodes.push(node);\n }\n });\n // PRE STAGE: fill the ! styles\n const preStylesMap = new Map();\n enterNodeMap.forEach((nodes, root) => {\n cloakAndComputeStyles(preStylesMap, this.driver, new Set(nodes), allPreStyleElements, ɵPRE_STYLE);\n });\n replaceNodes.forEach(node => {\n const post = postStylesMap.get(node);\n const pre = preStylesMap.get(node);\n postStylesMap.set(node, new Map([...(post?.entries() ?? []), ...(pre?.entries() ?? [])]));\n });\n const rootPlayers = [];\n const subPlayers = [];\n const NO_PARENT_ANIMATION_ELEMENT_DETECTED = {};\n queuedInstructions.forEach(entry => {\n const { element, player, instruction } = entry;\n // this means that it was never consumed by a parent animation which\n // means that it is independent and therefore should be set for animation\n if (subTimelines.has(element)) {\n if (disabledElementsSet.has(element)) {\n player.onDestroy(() => setStyles(element, instruction.toStyles));\n player.disabled = true;\n player.overrideTotalTime(instruction.totalTime);\n skippedPlayers.push(player);\n return;\n }\n // this will flow up the DOM and query the map to figure out\n // if a parent animation has priority over it. In the situation\n // that a parent is detected then it will cancel the loop. If\n // nothing is detected, or it takes a few hops to find a parent,\n // then it will fill in the missing nodes and signal them as having\n // a detected parent (or a NO_PARENT value via a special constant).\n let parentWithAnimation = NO_PARENT_ANIMATION_ELEMENT_DETECTED;\n if (animationElementMap.size > 1) {\n let elm = element;\n const parentsToAdd = [];\n while (elm = elm.parentNode) {\n const detectedParent = animationElementMap.get(elm);\n if (detectedParent) {\n parentWithAnimation = detectedParent;\n break;\n }\n parentsToAdd.push(elm);\n }\n parentsToAdd.forEach(parent => animationElementMap.set(parent, parentWithAnimation));\n }\n const innerPlayer = this._buildAnimation(player.namespaceId, instruction, allPreviousPlayersMap, skippedPlayersMap, preStylesMap, postStylesMap);\n player.setRealPlayer(innerPlayer);\n if (parentWithAnimation === NO_PARENT_ANIMATION_ELEMENT_DETECTED) {\n rootPlayers.push(player);\n }\n else {\n const parentPlayers = this.playersByElement.get(parentWithAnimation);\n if (parentPlayers && parentPlayers.length) {\n player.parentPlayer = optimizeGroupPlayer(parentPlayers);\n }\n skippedPlayers.push(player);\n }\n }\n else {\n eraseStyles(element, instruction.fromStyles);\n player.onDestroy(() => setStyles(element, instruction.toStyles));\n // there still might be a ancestor player animating this\n // element therefore we will still add it as a sub player\n // even if its animation may be disabled\n subPlayers.push(player);\n if (disabledElementsSet.has(element)) {\n skippedPlayers.push(player);\n }\n }\n });\n // find all of the sub players' corresponding inner animation players\n subPlayers.forEach(player => {\n // even if no players are found for a sub animation it\n // will still complete itself after the next tick since it's Noop\n const playersForElement = skippedPlayersMap.get(player.element);\n if (playersForElement && playersForElement.length) {\n const innerPlayer = optimizeGroupPlayer(playersForElement);\n player.setRealPlayer(innerPlayer);\n }\n });\n // the reason why we don't actually play the animation is\n // because all that a skipped player is designed to do is to\n // fire the start/done transition callback events\n skippedPlayers.forEach(player => {\n if (player.parentPlayer) {\n player.syncPlayerEvents(player.parentPlayer);\n }\n else {\n player.destroy();\n }\n });\n // run through all of the queued removals and see if they\n // were picked up by a query. If not then perform the removal\n // operation right away unless a parent animation is ongoing.\n for (let i = 0; i < allLeaveNodes.length; i++) {\n const element = allLeaveNodes[i];\n const details = element[REMOVAL_FLAG];\n removeClass(element, LEAVE_CLASSNAME);\n // this means the element has a removal animation that is being\n // taken care of and therefore the inner elements will hang around\n // until that animation is over (or the parent queried animation)\n if (details && details.hasAnimation)\n continue;\n let players = [];\n // if this element is queried or if it contains queried children\n // then we want for the element not to be removed from the page\n // until the queried animations have finished\n if (queriedElements.size) {\n let queriedPlayerResults = queriedElements.get(element);\n if (queriedPlayerResults && queriedPlayerResults.length) {\n players.push(...queriedPlayerResults);\n }\n let queriedInnerElements = this.driver.query(element, NG_ANIMATING_SELECTOR, true);\n for (let j = 0; j < queriedInnerElements.length; j++) {\n let queriedPlayers = queriedElements.get(queriedInnerElements[j]);\n if (queriedPlayers && queriedPlayers.length) {\n players.push(...queriedPlayers);\n }\n }\n }\n const activePlayers = players.filter(p => !p.destroyed);\n if (activePlayers.length) {\n removeNodesAfterAnimationDone(this, element, activePlayers);\n }\n else {\n this.processLeaveNode(element);\n }\n }\n // this is required so the cleanup method doesn't remove them\n allLeaveNodes.length = 0;\n rootPlayers.forEach(player => {\n this.players.push(player);\n player.onDone(() => {\n player.destroy();\n const index = this.players.indexOf(player);\n this.players.splice(index, 1);\n });\n player.play();\n });\n return rootPlayers;\n }\n elementContainsData(namespaceId, element) {\n let containsData = false;\n const details = element[REMOVAL_FLAG];\n if (details && details.setForRemoval)\n containsData = true;\n if (this.playersByElement.has(element))\n containsData = true;\n if (this.playersByQueriedElement.has(element))\n containsData = true;\n if (this.statesByElement.has(element))\n containsData = true;\n return this._fetchNamespace(namespaceId).elementContainsData(element) || containsData;\n }\n afterFlush(callback) {\n this._flushFns.push(callback);\n }\n afterFlushAnimationsDone(callback) {\n this._whenQuietFns.push(callback);\n }\n _getPreviousPlayers(element, isQueriedElement, namespaceId, triggerName, toStateValue) {\n let players = [];\n if (isQueriedElement) {\n const queriedElementPlayers = this.playersByQueriedElement.get(element);\n if (queriedElementPlayers) {\n players = queriedElementPlayers;\n }\n }\n else {\n const elementPlayers = this.playersByElement.get(element);\n if (elementPlayers) {\n const isRemovalAnimation = !toStateValue || toStateValue == VOID_VALUE;\n elementPlayers.forEach(player => {\n if (player.queued)\n return;\n if (!isRemovalAnimation && player.triggerName != triggerName)\n return;\n players.push(player);\n });\n }\n }\n if (namespaceId || triggerName) {\n players = players.filter(player => {\n if (namespaceId && namespaceId != player.namespaceId)\n return false;\n if (triggerName && triggerName != player.triggerName)\n return false;\n return true;\n });\n }\n return players;\n }\n _beforeAnimationBuild(namespaceId, instruction, allPreviousPlayersMap) {\n const triggerName = instruction.triggerName;\n const rootElement = instruction.element;\n // when a removal animation occurs, ALL previous players are collected\n // and destroyed (even if they are outside of the current namespace)\n const targetNameSpaceId = instruction.isRemovalTransition ? undefined : namespaceId;\n const targetTriggerName = instruction.isRemovalTransition ? undefined : triggerName;\n for (const timelineInstruction of instruction.timelines) {\n const element = timelineInstruction.element;\n const isQueriedElement = element !== rootElement;\n const players = getOrSetDefaultValue(allPreviousPlayersMap, element, []);\n const previousPlayers = this._getPreviousPlayers(element, isQueriedElement, targetNameSpaceId, targetTriggerName, instruction.toState);\n previousPlayers.forEach(player => {\n const realPlayer = player.getRealPlayer();\n if (realPlayer.beforeDestroy) {\n realPlayer.beforeDestroy();\n }\n player.destroy();\n players.push(player);\n });\n }\n // this needs to be done so that the PRE/POST styles can be\n // computed properly without interfering with the previous animation\n eraseStyles(rootElement, instruction.fromStyles);\n }\n _buildAnimation(namespaceId, instruction, allPreviousPlayersMap, skippedPlayersMap, preStylesMap, postStylesMap) {\n const triggerName = instruction.triggerName;\n const rootElement = instruction.element;\n // we first run this so that the previous animation player\n // data can be passed into the successive animation players\n const allQueriedPlayers = [];\n const allConsumedElements = new Set();\n const allSubElements = new Set();\n const allNewPlayers = instruction.timelines.map(timelineInstruction => {\n const element = timelineInstruction.element;\n allConsumedElements.add(element);\n // FIXME (matsko): make sure to-be-removed animations are removed properly\n const details = element[REMOVAL_FLAG];\n if (details && details.removedBeforeQueried)\n return new NoopAnimationPlayer(timelineInstruction.duration, timelineInstruction.delay);\n const isQueriedElement = element !== rootElement;\n const previousPlayers = flattenGroupPlayers((allPreviousPlayersMap.get(element) || EMPTY_PLAYER_ARRAY)\n .map(p => p.getRealPlayer()))\n .filter(p => {\n // the `element` is not apart of the AnimationPlayer definition, but\n // Mock/WebAnimations\n // use the element within their implementation. This will be added in Angular5 to\n // AnimationPlayer\n const pp = p;\n return pp.element ? pp.element === element : false;\n });\n const preStyles = preStylesMap.get(element);\n const postStyles = postStylesMap.get(element);\n const keyframes = normalizeKeyframes$1(this._normalizer, timelineInstruction.keyframes, preStyles, postStyles);\n const player = this._buildPlayer(timelineInstruction, keyframes, previousPlayers);\n // this means that this particular player belongs to a sub trigger. It is\n // important that we match this player up with the corresponding (@trigger.listener)\n if (timelineInstruction.subTimeline && skippedPlayersMap) {\n allSubElements.add(element);\n }\n if (isQueriedElement) {\n const wrappedPlayer = new TransitionAnimationPlayer(namespaceId, triggerName, element);\n wrappedPlayer.setRealPlayer(player);\n allQueriedPlayers.push(wrappedPlayer);\n }\n return player;\n });\n allQueriedPlayers.forEach(player => {\n getOrSetDefaultValue(this.playersByQueriedElement, player.element, []).push(player);\n player.onDone(() => deleteOrUnsetInMap(this.playersByQueriedElement, player.element, player));\n });\n allConsumedElements.forEach(element => addClass(element, NG_ANIMATING_CLASSNAME));\n const player = optimizeGroupPlayer(allNewPlayers);\n player.onDestroy(() => {\n allConsumedElements.forEach(element => removeClass(element, NG_ANIMATING_CLASSNAME));\n setStyles(rootElement, instruction.toStyles);\n });\n // this basically makes all of the callbacks for sub element animations\n // be dependent on the upper players for when they finish\n allSubElements.forEach(element => {\n getOrSetDefaultValue(skippedPlayersMap, element, []).push(player);\n });\n return player;\n }\n _buildPlayer(instruction, keyframes, previousPlayers) {\n if (keyframes.length > 0) {\n return this.driver.animate(instruction.element, keyframes, instruction.duration, instruction.delay, instruction.easing, previousPlayers);\n }\n // special case for when an empty transition|definition is provided\n // ... there is no point in rendering an empty animation\n return new NoopAnimationPlayer(instruction.duration, instruction.delay);\n }\n}\nclass TransitionAnimationPlayer {\n constructor(namespaceId, triggerName, element) {\n this.namespaceId = namespaceId;\n this.triggerName = triggerName;\n this.element = element;\n this._player = new NoopAnimationPlayer();\n this._containsRealPlayer = false;\n this._queuedCallbacks = new Map();\n this.destroyed = false;\n this.parentPlayer = null;\n this.markedForDestroy = false;\n this.disabled = false;\n this.queued = true;\n this.totalTime = 0;\n }\n setRealPlayer(player) {\n if (this._containsRealPlayer)\n return;\n this._player = player;\n this._queuedCallbacks.forEach((callbacks, phase) => {\n callbacks.forEach(callback => listenOnPlayer(player, phase, undefined, callback));\n });\n this._queuedCallbacks.clear();\n this._containsRealPlayer = true;\n this.overrideTotalTime(player.totalTime);\n this.queued = false;\n }\n getRealPlayer() {\n return this._player;\n }\n overrideTotalTime(totalTime) {\n this.totalTime = totalTime;\n }\n syncPlayerEvents(player) {\n const p = this._player;\n if (p.triggerCallback) {\n player.onStart(() => p.triggerCallback('start'));\n }\n player.onDone(() => this.finish());\n player.onDestroy(() => this.destroy());\n }\n _queueEvent(name, callback) {\n getOrSetDefaultValue(this._queuedCallbacks, name, []).push(callback);\n }\n onDone(fn) {\n if (this.queued) {\n this._queueEvent('done', fn);\n }\n this._player.onDone(fn);\n }\n onStart(fn) {\n if (this.queued) {\n this._queueEvent('start', fn);\n }\n this._player.onStart(fn);\n }\n onDestroy(fn) {\n if (this.queued) {\n this._queueEvent('destroy', fn);\n }\n this._player.onDestroy(fn);\n }\n init() {\n this._player.init();\n }\n hasStarted() {\n return this.queued ? false : this._player.hasStarted();\n }\n play() {\n !this.queued && this._player.play();\n }\n pause() {\n !this.queued && this._player.pause();\n }\n restart() {\n !this.queued && this._player.restart();\n }\n finish() {\n this._player.finish();\n }\n destroy() {\n this.destroyed = true;\n this._player.destroy();\n }\n reset() {\n !this.queued && this._player.reset();\n }\n setPosition(p) {\n if (!this.queued) {\n this._player.setPosition(p);\n }\n }\n getPosition() {\n return this.queued ? 0 : this._player.getPosition();\n }\n /** @internal */\n triggerCallback(phaseName) {\n const p = this._player;\n if (p.triggerCallback) {\n p.triggerCallback(phaseName);\n }\n }\n}\nfunction deleteOrUnsetInMap(map, key, value) {\n let currentValues = map.get(key);\n if (currentValues) {\n if (currentValues.length) {\n const index = currentValues.indexOf(value);\n currentValues.splice(index, 1);\n }\n if (currentValues.length == 0) {\n map.delete(key);\n }\n }\n return currentValues;\n}\nfunction normalizeTriggerValue(value) {\n // we use `!= null` here because it's the most simple\n // way to test against a \"falsy\" value without mixing\n // in empty strings or a zero value. DO NOT OPTIMIZE.\n return value != null ? value : null;\n}\nfunction isElementNode(node) {\n return node && node['nodeType'] === 1;\n}\nfunction isTriggerEventValid(eventName) {\n return eventName == 'start' || eventName == 'done';\n}\nfunction cloakElement(element, value) {\n const oldValue = element.style.display;\n element.style.display = value != null ? value : 'none';\n return oldValue;\n}\nfunction cloakAndComputeStyles(valuesMap, driver, elements, elementPropsMap, defaultStyle) {\n const cloakVals = [];\n elements.forEach(element => cloakVals.push(cloakElement(element)));\n const failedElements = [];\n elementPropsMap.forEach((props, element) => {\n const styles = new Map();\n props.forEach(prop => {\n const value = driver.computeStyle(element, prop, defaultStyle);\n styles.set(prop, value);\n // there is no easy way to detect this because a sub element could be removed\n // by a parent animation element being detached.\n if (!value || value.length == 0) {\n element[REMOVAL_FLAG] = NULL_REMOVED_QUERIED_STATE;\n failedElements.push(element);\n }\n });\n valuesMap.set(element, styles);\n });\n // we use a index variable here since Set.forEach(a, i) does not return\n // an index value for the closure (but instead just the value)\n let i = 0;\n elements.forEach(element => cloakElement(element, cloakVals[i++]));\n return failedElements;\n}\n/*\nSince the Angular renderer code will return a collection of inserted\nnodes in all areas of a DOM tree, it's up to this algorithm to figure\nout which nodes are roots for each animation @trigger.\n\nBy placing each inserted node into a Set and traversing upwards, it\nis possible to find the @trigger elements and well any direct *star\ninsertion nodes, if a @trigger root is found then the enter element\nis placed into the Map[@trigger] spot.\n */\nfunction buildRootMap(roots, nodes) {\n const rootMap = new Map();\n roots.forEach(root => rootMap.set(root, []));\n if (nodes.length == 0)\n return rootMap;\n const NULL_NODE = 1;\n const nodeSet = new Set(nodes);\n const localRootMap = new Map();\n function getRoot(node) {\n if (!node)\n return NULL_NODE;\n let root = localRootMap.get(node);\n if (root)\n return root;\n const parent = node.parentNode;\n if (rootMap.has(parent)) { // ngIf inside @trigger\n root = parent;\n }\n else if (nodeSet.has(parent)) { // ngIf inside ngIf\n root = NULL_NODE;\n }\n else { // recurse upwards\n root = getRoot(parent);\n }\n localRootMap.set(node, root);\n return root;\n }\n nodes.forEach(node => {\n const root = getRoot(node);\n if (root !== NULL_NODE) {\n rootMap.get(root).push(node);\n }\n });\n return rootMap;\n}\nfunction addClass(element, className) {\n element.classList?.add(className);\n}\nfunction removeClass(element, className) {\n element.classList?.remove(className);\n}\nfunction removeNodesAfterAnimationDone(engine, element, players) {\n optimizeGroupPlayer(players).onDone(() => engine.processLeaveNode(element));\n}\nfunction flattenGroupPlayers(players) {\n const finalPlayers = [];\n _flattenGroupPlayersRecur(players, finalPlayers);\n return finalPlayers;\n}\nfunction _flattenGroupPlayersRecur(players, finalPlayers) {\n for (let i = 0; i < players.length; i++) {\n const player = players[i];\n if (player instanceof ɵAnimationGroupPlayer) {\n _flattenGroupPlayersRecur(player.players, finalPlayers);\n }\n else {\n finalPlayers.push(player);\n }\n }\n}\nfunction objEquals(a, b) {\n const k1 = Object.keys(a);\n const k2 = Object.keys(b);\n if (k1.length != k2.length)\n return false;\n for (let i = 0; i < k1.length; i++) {\n const prop = k1[i];\n if (!b.hasOwnProperty(prop) || a[prop] !== b[prop])\n return false;\n }\n return true;\n}\nfunction replacePostStylesAsPre(element, allPreStyleElements, allPostStyleElements) {\n const postEntry = allPostStyleElements.get(element);\n if (!postEntry)\n return false;\n let preEntry = allPreStyleElements.get(element);\n if (preEntry) {\n postEntry.forEach(data => preEntry.add(data));\n }\n else {\n allPreStyleElements.set(element, postEntry);\n }\n allPostStyleElements.delete(element);\n return true;\n}\n\nclass AnimationEngine {\n constructor(bodyNode, _driver, _normalizer) {\n this.bodyNode = bodyNode;\n this._driver = _driver;\n this._normalizer = _normalizer;\n this._triggerCache = {};\n // this method is designed to be overridden by the code that uses this engine\n this.onRemovalComplete = (element, context) => { };\n this._transitionEngine = new TransitionAnimationEngine(bodyNode, _driver, _normalizer);\n this._timelineEngine = new TimelineAnimationEngine(bodyNode, _driver, _normalizer);\n this._transitionEngine.onRemovalComplete = (element, context) => this.onRemovalComplete(element, context);\n }\n registerTrigger(componentId, namespaceId, hostElement, name, metadata) {\n const cacheKey = componentId + '-' + name;\n let trigger = this._triggerCache[cacheKey];\n if (!trigger) {\n const errors = [];\n const warnings = [];\n const ast = buildAnimationAst(this._driver, metadata, errors, warnings);\n if (errors.length) {\n throw triggerBuildFailed(name, errors);\n }\n if (warnings.length) {\n warnTriggerBuild(name, warnings);\n }\n trigger = buildTrigger(name, ast, this._normalizer);\n this._triggerCache[cacheKey] = trigger;\n }\n this._transitionEngine.registerTrigger(namespaceId, name, trigger);\n }\n register(namespaceId, hostElement) {\n this._transitionEngine.register(namespaceId, hostElement);\n }\n destroy(namespaceId, context) {\n this._transitionEngine.destroy(namespaceId, context);\n }\n onInsert(namespaceId, element, parent, insertBefore) {\n this._transitionEngine.insertNode(namespaceId, element, parent, insertBefore);\n }\n onRemove(namespaceId, element, context) {\n this._transitionEngine.removeNode(namespaceId, element, context);\n }\n disableAnimations(element, disable) {\n this._transitionEngine.markElementAsDisabled(element, disable);\n }\n process(namespaceId, element, property, value) {\n if (property.charAt(0) == '@') {\n const [id, action] = parseTimelineCommand(property);\n const args = value;\n this._timelineEngine.command(id, element, action, args);\n }\n else {\n this._transitionEngine.trigger(namespaceId, element, property, value);\n }\n }\n listen(namespaceId, element, eventName, eventPhase, callback) {\n // @@listen\n if (eventName.charAt(0) == '@') {\n const [id, action] = parseTimelineCommand(eventName);\n return this._timelineEngine.listen(id, element, action, callback);\n }\n return this._transitionEngine.listen(namespaceId, element, eventName, eventPhase, callback);\n }\n flush(microtaskId = -1) {\n this._transitionEngine.flush(microtaskId);\n }\n get players() {\n return this._transitionEngine.players\n .concat(this._timelineEngine.players);\n }\n whenRenderingDone() {\n return this._transitionEngine.whenRenderingDone();\n }\n}\n\n/**\n * Returns an instance of `SpecialCasedStyles` if and when any special (non animateable) styles are\n * detected.\n *\n * In CSS there exist properties that cannot be animated within a keyframe animation\n * (whether it be via CSS keyframes or web-animations) and the animation implementation\n * will ignore them. This function is designed to detect those special cased styles and\n * return a container that will be executed at the start and end of the animation.\n *\n * @returns an instance of `SpecialCasedStyles` if any special styles are detected otherwise `null`\n */\nfunction packageNonAnimatableStyles(element, styles) {\n let startStyles = null;\n let endStyles = null;\n if (Array.isArray(styles) && styles.length) {\n startStyles = filterNonAnimatableStyles(styles[0]);\n if (styles.length > 1) {\n endStyles = filterNonAnimatableStyles(styles[styles.length - 1]);\n }\n }\n else if (styles instanceof Map) {\n startStyles = filterNonAnimatableStyles(styles);\n }\n return (startStyles || endStyles) ? new SpecialCasedStyles(element, startStyles, endStyles) :\n null;\n}\n/**\n * Designed to be executed during a keyframe-based animation to apply any special-cased styles.\n *\n * When started (when the `start()` method is run) then the provided `startStyles`\n * will be applied. When finished (when the `finish()` method is called) the\n * `endStyles` will be applied as well any any starting styles. Finally when\n * `destroy()` is called then all styles will be removed.\n */\nclass SpecialCasedStyles {\n static { this.initialStylesByElement = ( /* @__PURE__ */new WeakMap()); }\n constructor(_element, _startStyles, _endStyles) {\n this._element = _element;\n this._startStyles = _startStyles;\n this._endStyles = _endStyles;\n this._state = 0 /* SpecialCasedStylesState.Pending */;\n let initialStyles = SpecialCasedStyles.initialStylesByElement.get(_element);\n if (!initialStyles) {\n SpecialCasedStyles.initialStylesByElement.set(_element, initialStyles = new Map());\n }\n this._initialStyles = initialStyles;\n }\n start() {\n if (this._state < 1 /* SpecialCasedStylesState.Started */) {\n if (this._startStyles) {\n setStyles(this._element, this._startStyles, this._initialStyles);\n }\n this._state = 1 /* SpecialCasedStylesState.Started */;\n }\n }\n finish() {\n this.start();\n if (this._state < 2 /* SpecialCasedStylesState.Finished */) {\n setStyles(this._element, this._initialStyles);\n if (this._endStyles) {\n setStyles(this._element, this._endStyles);\n this._endStyles = null;\n }\n this._state = 1 /* SpecialCasedStylesState.Started */;\n }\n }\n destroy() {\n this.finish();\n if (this._state < 3 /* SpecialCasedStylesState.Destroyed */) {\n SpecialCasedStyles.initialStylesByElement.delete(this._element);\n if (this._startStyles) {\n eraseStyles(this._element, this._startStyles);\n this._endStyles = null;\n }\n if (this._endStyles) {\n eraseStyles(this._element, this._endStyles);\n this._endStyles = null;\n }\n setStyles(this._element, this._initialStyles);\n this._state = 3 /* SpecialCasedStylesState.Destroyed */;\n }\n }\n}\nfunction filterNonAnimatableStyles(styles) {\n let result = null;\n styles.forEach((val, prop) => {\n if (isNonAnimatableStyle(prop)) {\n result = result || new Map();\n result.set(prop, val);\n }\n });\n return result;\n}\nfunction isNonAnimatableStyle(prop) {\n return prop === 'display' || prop === 'position';\n}\n\nclass WebAnimationsPlayer {\n constructor(element, keyframes, options, _specialStyles) {\n this.element = element;\n this.keyframes = keyframes;\n this.options = options;\n this._specialStyles = _specialStyles;\n this._onDoneFns = [];\n this._onStartFns = [];\n this._onDestroyFns = [];\n this._initialized = false;\n this._finished = false;\n this._started = false;\n this._destroyed = false;\n // the following original fns are persistent copies of the _onStartFns and _onDoneFns\n // and are used to reset the fns to their original values upon reset()\n // (since the _onStartFns and _onDoneFns get deleted after they are called)\n this._originalOnDoneFns = [];\n this._originalOnStartFns = [];\n this.time = 0;\n this.parentPlayer = null;\n this.currentSnapshot = new Map();\n this._duration = options['duration'];\n this._delay = options['delay'] || 0;\n this.time = this._duration + this._delay;\n }\n _onFinish() {\n if (!this._finished) {\n this._finished = true;\n this._onDoneFns.forEach(fn => fn());\n this._onDoneFns = [];\n }\n }\n init() {\n this._buildPlayer();\n this._preparePlayerBeforeStart();\n }\n _buildPlayer() {\n if (this._initialized)\n return;\n this._initialized = true;\n const keyframes = this.keyframes;\n // @ts-expect-error overwriting a readonly property\n this.domPlayer = this._triggerWebAnimation(this.element, keyframes, this.options);\n this._finalKeyframe = keyframes.length ? keyframes[keyframes.length - 1] : new Map();\n this.domPlayer.addEventListener('finish', () => this._onFinish());\n }\n _preparePlayerBeforeStart() {\n // this is required so that the player doesn't start to animate right away\n if (this._delay) {\n this._resetDomPlayerState();\n }\n else {\n this.domPlayer.pause();\n }\n }\n _convertKeyframesToObject(keyframes) {\n const kfs = [];\n keyframes.forEach(frame => {\n kfs.push(Object.fromEntries(frame));\n });\n return kfs;\n }\n /** @internal */\n _triggerWebAnimation(element, keyframes, options) {\n // jscompiler doesn't seem to know animate is a native property because it's not fully\n // supported yet across common browsers (we polyfill it for Edge/Safari) [CL #143630929]\n return element['animate'](this._convertKeyframesToObject(keyframes), options);\n }\n onStart(fn) {\n this._originalOnStartFns.push(fn);\n this._onStartFns.push(fn);\n }\n onDone(fn) {\n this._originalOnDoneFns.push(fn);\n this._onDoneFns.push(fn);\n }\n onDestroy(fn) {\n this._onDestroyFns.push(fn);\n }\n play() {\n this._buildPlayer();\n if (!this.hasStarted()) {\n this._onStartFns.forEach(fn => fn());\n this._onStartFns = [];\n this._started = true;\n if (this._specialStyles) {\n this._specialStyles.start();\n }\n }\n this.domPlayer.play();\n }\n pause() {\n this.init();\n this.domPlayer.pause();\n }\n finish() {\n this.init();\n if (this._specialStyles) {\n this._specialStyles.finish();\n }\n this._onFinish();\n this.domPlayer.finish();\n }\n reset() {\n this._resetDomPlayerState();\n this._destroyed = false;\n this._finished = false;\n this._started = false;\n this._onStartFns = this._originalOnStartFns;\n this._onDoneFns = this._originalOnDoneFns;\n }\n _resetDomPlayerState() {\n if (this.domPlayer) {\n this.domPlayer.cancel();\n }\n }\n restart() {\n this.reset();\n this.play();\n }\n hasStarted() {\n return this._started;\n }\n destroy() {\n if (!this._destroyed) {\n this._destroyed = true;\n this._resetDomPlayerState();\n this._onFinish();\n if (this._specialStyles) {\n this._specialStyles.destroy();\n }\n this._onDestroyFns.forEach(fn => fn());\n this._onDestroyFns = [];\n }\n }\n setPosition(p) {\n if (this.domPlayer === undefined) {\n this.init();\n }\n this.domPlayer.currentTime = p * this.time;\n }\n getPosition() {\n return this.domPlayer.currentTime / this.time;\n }\n get totalTime() {\n return this._delay + this._duration;\n }\n beforeDestroy() {\n const styles = new Map();\n if (this.hasStarted()) {\n // note: this code is invoked only when the `play` function was called prior to this\n // (thus `hasStarted` returns true), this implies that the code that initializes\n // `_finalKeyframe` has also been executed and the non-null assertion can be safely used here\n const finalKeyframe = this._finalKeyframe;\n finalKeyframe.forEach((val, prop) => {\n if (prop !== 'offset') {\n styles.set(prop, this._finished ? val : computeStyle(this.element, prop));\n }\n });\n }\n this.currentSnapshot = styles;\n }\n /** @internal */\n triggerCallback(phaseName) {\n const methods = phaseName === 'start' ? this._onStartFns : this._onDoneFns;\n methods.forEach(fn => fn());\n methods.length = 0;\n }\n}\n\nclass WebAnimationsDriver {\n validateStyleProperty(prop) {\n // Perform actual validation in dev mode only, in prod mode this check is a noop.\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n return validateStyleProperty(prop);\n }\n return true;\n }\n validateAnimatableStyleProperty(prop) {\n // Perform actual validation in dev mode only, in prod mode this check is a noop.\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n const cssProp = camelCaseToDashCase(prop);\n return validateWebAnimatableStyleProperty(cssProp);\n }\n return true;\n }\n matchesElement(_element, _selector) {\n // This method is deprecated and no longer in use so we return false.\n return false;\n }\n containsElement(elm1, elm2) {\n return containsElement(elm1, elm2);\n }\n getParentElement(element) {\n return getParentElement(element);\n }\n query(element, selector, multi) {\n return invokeQuery(element, selector, multi);\n }\n computeStyle(element, prop, defaultValue) {\n return window.getComputedStyle(element)[prop];\n }\n animate(element, keyframes, duration, delay, easing, previousPlayers = []) {\n const fill = delay == 0 ? 'both' : 'forwards';\n const playerOptions = { duration, delay, fill };\n // we check for this to avoid having a null|undefined value be present\n // for the easing (which results in an error for certain browsers #9752)\n if (easing) {\n playerOptions['easing'] = easing;\n }\n const previousStyles = new Map();\n const previousWebAnimationPlayers = previousPlayers.filter(player => player instanceof WebAnimationsPlayer);\n if (allowPreviousPlayerStylesMerge(duration, delay)) {\n previousWebAnimationPlayers.forEach(player => {\n player.currentSnapshot.forEach((val, prop) => previousStyles.set(prop, val));\n });\n }\n let _keyframes = normalizeKeyframes(keyframes).map(styles => copyStyles(styles));\n _keyframes = balancePreviousStylesIntoKeyframes(element, _keyframes, previousStyles);\n const specialStyles = packageNonAnimatableStyles(element, _keyframes);\n return new WebAnimationsPlayer(element, _keyframes, playerOptions, specialStyles);\n }\n}\n\n/**\n * @module\n * @description\n * Entry point for all animation APIs of the animation browser package.\n */\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\n\n// This file is not used to build this module. It is only used during editing\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { AnimationDriver, Animation as ɵAnimation, AnimationEngine as ɵAnimationEngine, AnimationStyleNormalizer as ɵAnimationStyleNormalizer, NoopAnimationDriver as ɵNoopAnimationDriver, NoopAnimationStyleNormalizer as ɵNoopAnimationStyleNormalizer, WebAnimationsDriver as ɵWebAnimationsDriver, WebAnimationsPlayer as ɵWebAnimationsPlayer, WebAnimationsStyleNormalizer as ɵWebAnimationsStyleNormalizer, allowPreviousPlayerStylesMerge as ɵallowPreviousPlayerStylesMerge, containsElement as ɵcontainsElement, getParentElement as ɵgetParentElement, invokeQuery as ɵinvokeQuery, normalizeKeyframes as ɵnormalizeKeyframes, validateStyleProperty as ɵvalidateStyleProperty };\n","/**\n * @license Angular v16.0.5\n * (c) 2010-2022 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport * as i0 from '@angular/core';\nimport { ViewEncapsulation, Injectable, Inject, RendererFactory2, NgZone, ANIMATION_MODULE_TYPE, NgModule } from '@angular/core';\nexport { ANIMATION_MODULE_TYPE } from '@angular/core';\nimport { ɵDomRendererFactory2, BrowserModule } from '@angular/platform-browser';\nimport { AnimationBuilder, sequence, AnimationFactory } from '@angular/animations';\nimport * as i1 from '@angular/animations/browser';\nimport { ɵAnimationEngine, ɵWebAnimationsStyleNormalizer, ɵAnimationStyleNormalizer, AnimationDriver, ɵWebAnimationsDriver, ɵNoopAnimationDriver } from '@angular/animations/browser';\nimport { DOCUMENT } from '@angular/common';\n\nclass BrowserAnimationBuilder extends AnimationBuilder {\n constructor(rootRenderer, doc) {\n super();\n this._nextAnimationId = 0;\n const typeData = { id: '0', encapsulation: ViewEncapsulation.None, styles: [], data: { animation: [] } };\n this._renderer = rootRenderer.createRenderer(doc.body, typeData);\n }\n build(animation) {\n const id = this._nextAnimationId.toString();\n this._nextAnimationId++;\n const entry = Array.isArray(animation) ? sequence(animation) : animation;\n issueAnimationCommand(this._renderer, null, id, 'register', [entry]);\n return new BrowserAnimationFactory(id, this._renderer);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: BrowserAnimationBuilder, deps: [{ token: i0.RendererFactory2 }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: BrowserAnimationBuilder }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: BrowserAnimationBuilder, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: i0.RendererFactory2 }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }]; } });\nclass BrowserAnimationFactory extends AnimationFactory {\n constructor(_id, _renderer) {\n super();\n this._id = _id;\n this._renderer = _renderer;\n }\n create(element, options) {\n return new RendererAnimationPlayer(this._id, element, options || {}, this._renderer);\n }\n}\nclass RendererAnimationPlayer {\n constructor(id, element, options, _renderer) {\n this.id = id;\n this.element = element;\n this._renderer = _renderer;\n this.parentPlayer = null;\n this._started = false;\n this.totalTime = 0;\n this._command('create', options);\n }\n _listen(eventName, callback) {\n return this._renderer.listen(this.element, `@@${this.id}:${eventName}`, callback);\n }\n _command(command, ...args) {\n return issueAnimationCommand(this._renderer, this.element, this.id, command, args);\n }\n onDone(fn) {\n this._listen('done', fn);\n }\n onStart(fn) {\n this._listen('start', fn);\n }\n onDestroy(fn) {\n this._listen('destroy', fn);\n }\n init() {\n this._command('init');\n }\n hasStarted() {\n return this._started;\n }\n play() {\n this._command('play');\n this._started = true;\n }\n pause() {\n this._command('pause');\n }\n restart() {\n this._command('restart');\n }\n finish() {\n this._command('finish');\n }\n destroy() {\n this._command('destroy');\n }\n reset() {\n this._command('reset');\n this._started = false;\n }\n setPosition(p) {\n this._command('setPosition', p);\n }\n getPosition() {\n return this._renderer.engine.players[+this.id]?.getPosition() ?? 0;\n }\n}\nfunction issueAnimationCommand(renderer, element, id, command, args) {\n return renderer.setProperty(element, `@@${id}:${command}`, args);\n}\n\nconst ANIMATION_PREFIX = '@';\nconst DISABLE_ANIMATIONS_FLAG = '@.disabled';\nclass AnimationRendererFactory {\n constructor(delegate, engine, _zone) {\n this.delegate = delegate;\n this.engine = engine;\n this._zone = _zone;\n this._currentId = 0;\n this._microtaskId = 1;\n this._animationCallbacksBuffer = [];\n this._rendererCache = new Map();\n this._cdRecurDepth = 0;\n this.promise = Promise.resolve(0);\n engine.onRemovalComplete = (element, delegate) => {\n // Note: if a component element has a leave animation, and a host leave animation,\n // the view engine will call `removeChild` for the parent\n // component renderer as well as for the child component renderer.\n // Therefore, we need to check if we already removed the element.\n const parentNode = delegate?.parentNode(element);\n if (parentNode) {\n delegate.removeChild(parentNode, element);\n }\n };\n }\n createRenderer(hostElement, type) {\n const EMPTY_NAMESPACE_ID = '';\n // cache the delegates to find out which cached delegate can\n // be used by which cached renderer\n const delegate = this.delegate.createRenderer(hostElement, type);\n if (!hostElement || !type || !type.data || !type.data['animation']) {\n let renderer = this._rendererCache.get(delegate);\n if (!renderer) {\n // Ensure that the renderer is removed from the cache on destroy\n // since it may contain references to detached DOM nodes.\n const onRendererDestroy = () => this._rendererCache.delete(delegate);\n renderer =\n new BaseAnimationRenderer(EMPTY_NAMESPACE_ID, delegate, this.engine, onRendererDestroy);\n // only cache this result when the base renderer is used\n this._rendererCache.set(delegate, renderer);\n }\n return renderer;\n }\n const componentId = type.id;\n const namespaceId = type.id + '-' + this._currentId;\n this._currentId++;\n this.engine.register(namespaceId, hostElement);\n const registerTrigger = (trigger) => {\n if (Array.isArray(trigger)) {\n trigger.forEach(registerTrigger);\n }\n else {\n this.engine.registerTrigger(componentId, namespaceId, hostElement, trigger.name, trigger);\n }\n };\n const animationTriggers = type.data['animation'];\n animationTriggers.forEach(registerTrigger);\n return new AnimationRenderer(this, namespaceId, delegate, this.engine);\n }\n begin() {\n this._cdRecurDepth++;\n if (this.delegate.begin) {\n this.delegate.begin();\n }\n }\n _scheduleCountTask() {\n // always use promise to schedule microtask instead of use Zone\n this.promise.then(() => {\n this._microtaskId++;\n });\n }\n /** @internal */\n scheduleListenerCallback(count, fn, data) {\n if (count >= 0 && count < this._microtaskId) {\n this._zone.run(() => fn(data));\n return;\n }\n if (this._animationCallbacksBuffer.length == 0) {\n Promise.resolve(null).then(() => {\n this._zone.run(() => {\n this._animationCallbacksBuffer.forEach(tuple => {\n const [fn, data] = tuple;\n fn(data);\n });\n this._animationCallbacksBuffer = [];\n });\n });\n }\n this._animationCallbacksBuffer.push([fn, data]);\n }\n end() {\n this._cdRecurDepth--;\n // this is to prevent animations from running twice when an inner\n // component does CD when a parent component instead has inserted it\n if (this._cdRecurDepth == 0) {\n this._zone.runOutsideAngular(() => {\n this._scheduleCountTask();\n this.engine.flush(this._microtaskId);\n });\n }\n if (this.delegate.end) {\n this.delegate.end();\n }\n }\n whenRenderingDone() {\n return this.engine.whenRenderingDone();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AnimationRendererFactory, deps: [{ token: i0.RendererFactory2 }, { token: i1.ɵAnimationEngine }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AnimationRendererFactory }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AnimationRendererFactory, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: i0.RendererFactory2 }, { type: i1.ɵAnimationEngine }, { type: i0.NgZone }]; } });\nclass BaseAnimationRenderer {\n constructor(namespaceId, delegate, engine, _onDestroy) {\n this.namespaceId = namespaceId;\n this.delegate = delegate;\n this.engine = engine;\n this._onDestroy = _onDestroy;\n this.destroyNode = this.delegate.destroyNode ? (n) => delegate.destroyNode(n) : null;\n }\n get data() {\n return this.delegate.data;\n }\n destroy() {\n this.engine.destroy(this.namespaceId, this.delegate);\n this.delegate.destroy();\n this._onDestroy?.();\n }\n createElement(name, namespace) {\n return this.delegate.createElement(name, namespace);\n }\n createComment(value) {\n return this.delegate.createComment(value);\n }\n createText(value) {\n return this.delegate.createText(value);\n }\n appendChild(parent, newChild) {\n this.delegate.appendChild(parent, newChild);\n this.engine.onInsert(this.namespaceId, newChild, parent, false);\n }\n insertBefore(parent, newChild, refChild, isMove = true) {\n this.delegate.insertBefore(parent, newChild, refChild);\n // If `isMove` true than we should animate this insert.\n this.engine.onInsert(this.namespaceId, newChild, parent, isMove);\n }\n removeChild(parent, oldChild, isHostElement) {\n this.engine.onRemove(this.namespaceId, oldChild, this.delegate);\n }\n selectRootElement(selectorOrNode, preserveContent) {\n return this.delegate.selectRootElement(selectorOrNode, preserveContent);\n }\n parentNode(node) {\n return this.delegate.parentNode(node);\n }\n nextSibling(node) {\n return this.delegate.nextSibling(node);\n }\n setAttribute(el, name, value, namespace) {\n this.delegate.setAttribute(el, name, value, namespace);\n }\n removeAttribute(el, name, namespace) {\n this.delegate.removeAttribute(el, name, namespace);\n }\n addClass(el, name) {\n this.delegate.addClass(el, name);\n }\n removeClass(el, name) {\n this.delegate.removeClass(el, name);\n }\n setStyle(el, style, value, flags) {\n this.delegate.setStyle(el, style, value, flags);\n }\n removeStyle(el, style, flags) {\n this.delegate.removeStyle(el, style, flags);\n }\n setProperty(el, name, value) {\n if (name.charAt(0) == ANIMATION_PREFIX && name == DISABLE_ANIMATIONS_FLAG) {\n this.disableAnimations(el, !!value);\n }\n else {\n this.delegate.setProperty(el, name, value);\n }\n }\n setValue(node, value) {\n this.delegate.setValue(node, value);\n }\n listen(target, eventName, callback) {\n return this.delegate.listen(target, eventName, callback);\n }\n disableAnimations(element, value) {\n this.engine.disableAnimations(element, value);\n }\n}\nclass AnimationRenderer extends BaseAnimationRenderer {\n constructor(factory, namespaceId, delegate, engine, onDestroy) {\n super(namespaceId, delegate, engine, onDestroy);\n this.factory = factory;\n this.namespaceId = namespaceId;\n }\n setProperty(el, name, value) {\n if (name.charAt(0) == ANIMATION_PREFIX) {\n if (name.charAt(1) == '.' && name == DISABLE_ANIMATIONS_FLAG) {\n value = value === undefined ? true : !!value;\n this.disableAnimations(el, value);\n }\n else {\n this.engine.process(this.namespaceId, el, name.slice(1), value);\n }\n }\n else {\n this.delegate.setProperty(el, name, value);\n }\n }\n listen(target, eventName, callback) {\n if (eventName.charAt(0) == ANIMATION_PREFIX) {\n const element = resolveElementFromTarget(target);\n let name = eventName.slice(1);\n let phase = '';\n // @listener.phase is for trigger animation callbacks\n // @@listener is for animation builder callbacks\n if (name.charAt(0) != ANIMATION_PREFIX) {\n [name, phase] = parseTriggerCallbackName(name);\n }\n return this.engine.listen(this.namespaceId, element, name, phase, event => {\n const countId = event['_data'] || -1;\n this.factory.scheduleListenerCallback(countId, callback, event);\n });\n }\n return this.delegate.listen(target, eventName, callback);\n }\n}\nfunction resolveElementFromTarget(target) {\n switch (target) {\n case 'body':\n return document.body;\n case 'document':\n return document;\n case 'window':\n return window;\n default:\n return target;\n }\n}\nfunction parseTriggerCallbackName(triggerName) {\n const dotIndex = triggerName.indexOf('.');\n const trigger = triggerName.substring(0, dotIndex);\n const phase = triggerName.slice(dotIndex + 1);\n return [trigger, phase];\n}\n\nclass InjectableAnimationEngine extends ɵAnimationEngine {\n // The `ApplicationRef` is injected here explicitly to force the dependency ordering.\n // Since the `ApplicationRef` should be created earlier before the `AnimationEngine`, they\n // both have `ngOnDestroy` hooks and `flush()` must be called after all views are destroyed.\n constructor(doc, driver, normalizer, appRef) {\n super(doc.body, driver, normalizer);\n }\n ngOnDestroy() {\n this.flush();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: InjectableAnimationEngine, deps: [{ token: DOCUMENT }, { token: i1.AnimationDriver }, { token: i1.ɵAnimationStyleNormalizer }, { token: i0.ApplicationRef }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: InjectableAnimationEngine }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: InjectableAnimationEngine, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: i1.AnimationDriver }, { type: i1.ɵAnimationStyleNormalizer }, { type: i0.ApplicationRef }]; } });\nfunction instantiateDefaultStyleNormalizer() {\n return new ɵWebAnimationsStyleNormalizer();\n}\nfunction instantiateRendererFactory(renderer, engine, zone) {\n return new AnimationRendererFactory(renderer, engine, zone);\n}\nconst SHARED_ANIMATION_PROVIDERS = [\n { provide: AnimationBuilder, useClass: BrowserAnimationBuilder },\n { provide: ɵAnimationStyleNormalizer, useFactory: instantiateDefaultStyleNormalizer },\n { provide: ɵAnimationEngine, useClass: InjectableAnimationEngine }, {\n provide: RendererFactory2,\n useFactory: instantiateRendererFactory,\n deps: [ɵDomRendererFactory2, ɵAnimationEngine, NgZone]\n }\n];\n/**\n * Separate providers from the actual module so that we can do a local modification in Google3 to\n * include them in the BrowserModule.\n */\nconst BROWSER_ANIMATIONS_PROVIDERS = [\n { provide: AnimationDriver, useFactory: () => new ɵWebAnimationsDriver() },\n { provide: ANIMATION_MODULE_TYPE, useValue: 'BrowserAnimations' }, ...SHARED_ANIMATION_PROVIDERS\n];\n/**\n * Separate providers from the actual module so that we can do a local modification in Google3 to\n * include them in the BrowserTestingModule.\n */\nconst BROWSER_NOOP_ANIMATIONS_PROVIDERS = [\n { provide: AnimationDriver, useClass: ɵNoopAnimationDriver },\n { provide: ANIMATION_MODULE_TYPE, useValue: 'NoopAnimations' }, ...SHARED_ANIMATION_PROVIDERS\n];\n\n/**\n * Exports `BrowserModule` with additional [dependency-injection providers](guide/glossary#provider)\n * for use with animations. See [Animations](guide/animations).\n * @publicApi\n */\nclass BrowserAnimationsModule {\n /**\n * Configures the module based on the specified object.\n *\n * @param config Object used to configure the behavior of the `BrowserAnimationsModule`.\n * @see `BrowserAnimationsModuleConfig`\n *\n * @usageNotes\n * When registering the `BrowserAnimationsModule`, you can use the `withConfig`\n * function as follows:\n * ```\n * @NgModule({\n * imports: [BrowserAnimationsModule.withConfig(config)]\n * })\n * class MyNgModule {}\n * ```\n */\n static withConfig(config) {\n return {\n ngModule: BrowserAnimationsModule,\n providers: config.disableAnimations ? BROWSER_NOOP_ANIMATIONS_PROVIDERS :\n BROWSER_ANIMATIONS_PROVIDERS\n };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: BrowserAnimationsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: BrowserAnimationsModule, exports: [BrowserModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: BrowserAnimationsModule, providers: BROWSER_ANIMATIONS_PROVIDERS, imports: [BrowserModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: BrowserAnimationsModule, decorators: [{\n type: NgModule,\n args: [{\n exports: [BrowserModule],\n providers: BROWSER_ANIMATIONS_PROVIDERS,\n }]\n }] });\n/**\n * Returns the set of [dependency-injection providers](guide/glossary#provider)\n * to enable animations in an application. See [animations guide](guide/animations)\n * to learn more about animations in Angular.\n *\n * @usageNotes\n *\n * The function is useful when you want to enable animations in an application\n * bootstrapped using the `bootstrapApplication` function. In this scenario there\n * is no need to import the `BrowserAnimationsModule` NgModule at all, just add\n * providers returned by this function to the `providers` list as show below.\n *\n * ```typescript\n * bootstrapApplication(RootComponent, {\n * providers: [\n * provideAnimations()\n * ]\n * });\n * ```\n *\n * @publicApi\n */\nfunction provideAnimations() {\n // Return a copy to prevent changes to the original array in case any in-place\n // alterations are performed to the `provideAnimations` call results in app code.\n return [...BROWSER_ANIMATIONS_PROVIDERS];\n}\n/**\n * A null player that must be imported to allow disabling of animations.\n * @publicApi\n */\nclass NoopAnimationsModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NoopAnimationsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: NoopAnimationsModule, exports: [BrowserModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NoopAnimationsModule, providers: BROWSER_NOOP_ANIMATIONS_PROVIDERS, imports: [BrowserModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NoopAnimationsModule, decorators: [{\n type: NgModule,\n args: [{\n exports: [BrowserModule],\n providers: BROWSER_NOOP_ANIMATIONS_PROVIDERS,\n }]\n }] });\n/**\n * Returns the set of [dependency-injection providers](guide/glossary#provider)\n * to disable animations in an application. See [animations guide](guide/animations)\n * to learn more about animations in Angular.\n *\n * @usageNotes\n *\n * The function is useful when you want to bootstrap an application using\n * the `bootstrapApplication` function, but you need to disable animations\n * (for example, when running tests).\n *\n * ```typescript\n * bootstrapApplication(RootComponent, {\n * providers: [\n * provideNoopAnimations()\n * ]\n * });\n * ```\n *\n * @publicApi\n */\nfunction provideNoopAnimations() {\n // Return a copy to prevent changes to the original array in case any in-place\n // alterations are performed to the `provideNoopAnimations` call results in app code.\n return [...BROWSER_NOOP_ANIMATIONS_PROVIDERS];\n}\n\n/**\n * @module\n * @description\n * Entry point for all animation APIs of the animation browser package.\n */\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\n\n// This file is not used to build this module. It is only used during editing\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { BrowserAnimationsModule, NoopAnimationsModule, provideAnimations, provideNoopAnimations, AnimationRenderer as ɵAnimationRenderer, AnimationRendererFactory as ɵAnimationRendererFactory, BrowserAnimationBuilder as ɵBrowserAnimationBuilder, BrowserAnimationFactory as ɵBrowserAnimationFactory, InjectableAnimationEngine as ɵInjectableAnimationEngine };\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}","export default function _iterableToArrayLimit(arr, i) {\n var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"];\n if (null != _i) {\n var _s,\n _e,\n _x,\n _r,\n _arr = [],\n _n = !0,\n _d = !1;\n try {\n if (_x = (_i = _i.call(arr)).next, 0 === i) {\n if (Object(_i) !== _i) return;\n _n = !1;\n } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);\n } catch (err) {\n _d = !0, _e = err;\n } finally {\n try {\n if (!_n && null != _i[\"return\"] && (_r = _i[\"return\"](), Object(_r) !== _r)) return;\n } finally {\n if (_d) throw _e;\n }\n }\n return _arr;\n }\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]} \ No newline at end of file diff --git a/9101.b0542315455d3ec9.js b/9101.b0542315455d3ec9.js new file mode 100644 index 0000000..3cbac0b --- /dev/null +++ b/9101.b0542315455d3ec9.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[9101,3022,5106,7376,5187,4091,1217,7208,4968,6785,4155,1084,6896,7920,6980,5113,1328,5749,4309,8024,8513,5555,4967,8017,8116,5873,8061,4680,2112,2111,3326,8596,8352,5501,882,3098,8467,6578,4093,8608,8443,7328,5915,3278,5391,6748,1551,6763,4151,5069,7432,8071,6618],{50253:(T,f,t)=>{t.d(f,{x:()=>y});var i=t(95106),s=t(78069),a=t(48047),c=t(4089),o=t(20265),u=t(24582),e=t(28694),l=t(90833),h=t(17714),w=(0,t(27543).d)(function(p){return function(){p(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),_=t(39663),g=t(12309),y=function(){var p=function(b){(0,u.Z)(R,b);var I=(0,e.Z)(R);function R(){var E;return(0,s.Z)(this,R),(E=I.call(this)).closed=!1,E.currentObservers=null,E.observers=[],E.isStopped=!1,E.hasError=!1,E.thrownError=null,E}return(0,a.Z)(R,[{key:"lift",value:function(m){var P=new S(this,this);return P.operator=m,P}},{key:"_throwIfClosed",value:function(){if(this.closed)throw new w}},{key:"next",value:function(m){var P=this;(0,g.x)(function(){if(P._throwIfClosed(),!P.isStopped){P.currentObservers||(P.currentObservers=Array.from(P.observers));var M,k=(0,i.Z)(P.currentObservers);try{for(k.s();!(M=k.n()).done;)M.value.next(m)}catch(L){k.e(L)}finally{k.f()}}})}},{key:"error",value:function(m){var P=this;(0,g.x)(function(){if(P._throwIfClosed(),!P.isStopped){P.hasError=P.isStopped=!0,P.thrownError=m;for(var k=P.observers;k.length;)k.shift().error(m)}})}},{key:"complete",value:function(){var m=this;(0,g.x)(function(){if(m._throwIfClosed(),!m.isStopped){m.isStopped=!0;for(var P=m.observers;P.length;)P.shift().complete()}})}},{key:"unsubscribe",value:function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}},{key:"observed",get:function(){var m;return(null===(m=this.observers)||void 0===m?void 0:m.length)>0}},{key:"_trySubscribe",value:function(m){return this._throwIfClosed(),(0,c.Z)((0,o.Z)(R.prototype),"_trySubscribe",this).call(this,m)}},{key:"_subscribe",value:function(m){return this._throwIfClosed(),this._checkFinalizedStatuses(m),this._innerSubscribe(m)}},{key:"_innerSubscribe",value:function(m){var P=this,O=this.observers;return this.hasError||this.isStopped?h.Lc:(this.currentObservers=null,O.push(m),new h.w0(function(){P.currentObservers=null,(0,_.P)(O,m)}))}},{key:"_checkFinalizedStatuses",value:function(m){var M=this.isStopped;this.hasError?m.error(this.thrownError):M&&m.complete()}},{key:"asObservable",value:function(){var m=new l.y;return m.source=this,m}}]),R}(l.y);return p.create=function(b,I){return new S(b,I)},p}(),S=function(p){(0,u.Z)(I,p);var b=(0,e.Z)(I);function I(R,E){var m;return(0,s.Z)(this,I),(m=b.call(this)).destination=R,m.source=E,m}return(0,a.Z)(I,[{key:"next",value:function(E){var m,P;null===(P=null===(m=this.destination)||void 0===m?void 0:m.next)||void 0===P||P.call(m,E)}},{key:"error",value:function(E){var m,P;null===(P=null===(m=this.destination)||void 0===m?void 0:m.error)||void 0===P||P.call(m,E)}},{key:"complete",value:function(){var E,m;null===(m=null===(E=this.destination)||void 0===E?void 0:E.complete)||void 0===m||m.call(E)}},{key:"_subscribe",value:function(E){var m,P;return null!==(P=null===(m=this.source)||void 0===m?void 0:m.subscribe(E))&&void 0!==P?P:h.Lc}}]),I}(y)},59319:(T,f,t)=>{t.d(f,{z:()=>o});var i=t(1308),a=t(10420),c=t(37400);function o(){for(var u=arguments.length,e=new Array(u),l=0;l<u;l++)e[l]=arguments[l];return function s(){return(0,i.J)(1)}()((0,c.D)(e,(0,a.yG)(e)))}},20591:(T,f,t)=>{t.d(f,{E:()=>s});var s=new(t(90833).y)(function(o){return o.complete()})},37400:(T,f,t)=>{t.d(f,{D:()=>k});var i=t(54987),s=t(8728),a=t(41944);function c(M){var O=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,a.e)(function(L,B){B.add(M.schedule(function(){return L.subscribe(B)},O))})}var e=t(90833),h=t(67321),C=t(92971),w=t(1817);function g(M,O){if(!M)throw new Error("Iterable cannot be null");return new e.y(function(L){(0,w.f)(L,O,function(){var B=M[Symbol.asyncIterator]();(0,w.f)(L,O,function(){B.next().then(function(Z){Z.done?L.complete():L.next(Z.value)})},0,!0)})})}var y=t(21331),S=t(79548),p=t(99806),b=t(23433),I=t(80470),R=t(27785),E=t(20181);function k(M,O){return O?function P(M,O){if(null!=M){if((0,y.c)(M))return function o(M,O){return(0,i.Xf)(M).pipe(c(O),(0,s.Q)(O))}(M,O);if((0,p.z)(M))return function l(M,O){return new e.y(function(L){var B=0;return O.schedule(function(){B===M.length?L.complete():(L.next(M[B++]),L.closed||this.schedule())})})}(M,O);if((0,S.t)(M))return function u(M,O){return(0,i.Xf)(M).pipe(c(O),(0,s.Q)(O))}(M,O);if((0,I.D)(M))return g(M,O);if((0,b.T)(M))return function _(M,O){return new e.y(function(L){var B;return(0,w.f)(L,O,function(){B=M[h.h](),(0,w.f)(L,O,function(){var Z,K;try{var Q=B.next();Z=Q.value,K=Q.done}catch(N){return void L.error(N)}K?L.complete():L.next(Z)},0,!0)}),function(){return(0,C.m)(B?.return)&&B.return()}})}(M,O);if((0,E.L)(M))return function m(M,O){return g((0,E.Q)(M),O)}(M,O)}throw(0,R.z)(M)}(M,O):(0,i.Xf)(M)}},23280:(T,f,t)=>{t.d(f,{R:()=>w});var i=t(32090),s=t(54987),a=t(90833),c=t(49525),o=t(99806),u=t(92971),e=t(58385),l=["addListener","removeListener"],h=["addEventListener","removeEventListener"],C=["on","off"];function w(p,b,I,R){if((0,u.m)(I)&&(R=I,I=void 0),R)return w(p,b,I).pipe((0,e.Z)(R));var E=function S(p){return(0,u.m)(p.addEventListener)&&(0,u.m)(p.removeEventListener)}(p)?h.map(function(M){return function(O){return p[M](b,O,I)}}):function g(p){return(0,u.m)(p.addListener)&&(0,u.m)(p.removeListener)}(p)?l.map(_(p,b)):function y(p){return(0,u.m)(p.on)&&(0,u.m)(p.off)}(p)?C.map(_(p,b)):[],m=(0,i.Z)(E,2),P=m[0],k=m[1];if(!P&&(0,o.z)(p))return(0,c.z)(function(M){return w(M,b,I)})((0,s.Xf)(p));if(!P)throw new TypeError("Invalid event target");return new a.y(function(M){var O=function(){for(var B=arguments.length,Z=new Array(B),K=0;K<B;K++)Z[K]=arguments[K];return M.next(1<Z.length?Z:Z[0])};return P(O),function(){return k(O)}})}function _(p,b){return function(I){return function(R){return p[I](b,R)}}}},36646:(T,f,t)=>{t.d(f,{T:()=>u});var i=t(1308),s=t(54987),a=t(20591),c=t(10420),o=t(37400);function u(){for(var e=arguments.length,l=new Array(e),h=0;h<e;h++)l[h]=arguments[h];var C=(0,c.yG)(l),w=(0,c._6)(l,1/0),_=l;return _.length?1===_.length?(0,s.Xf)(_[0]):(0,i.J)(w)((0,o.D)(_,C)):a.E}},93945:(T,f,t)=>{t.d(f,{Q:()=>C,x:()=>h});var i=t(78069),s=t(48047),a=t(35488),c=t(24582),o=t(28694),u=t(4089),e=t(20265);function h(w,_,g,y,S){return new C(w,_,g,y,S)}var C=function(w){(0,c.Z)(g,w);var _=(0,o.Z)(g);function g(y,S,p,b,I,R){var E,m,P,k;return(0,i.Z)(this,g),(k=_.call(this,y)).onFinalize=I,k.shouldUnsubscribe=R,k._next=S?function(M){try{S(M)}catch(O){y.error(O)}}:(0,u.Z)((E=(0,a.Z)(k),(0,e.Z)(g.prototype)),"_next",E),k._error=b?function(M){try{b(M)}catch(O){y.error(O)}finally{this.unsubscribe()}}:(0,u.Z)((m=(0,a.Z)(k),(0,e.Z)(g.prototype)),"_error",m),k._complete=p?function(){try{p()}catch(M){y.error(M)}finally{this.unsubscribe()}}:(0,u.Z)((P=(0,a.Z)(k),(0,e.Z)(g.prototype)),"_complete",P),k}return(0,s.Z)(g,[{key:"unsubscribe",value:function(){var S;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var p=this.closed;(0,u.Z)((0,e.Z)(g.prototype),"unsubscribe",this).call(this),!p&&(null===(S=this.onFinalize)||void 0===S||S.call(this))}}}]),g}(t(5463).Lv)},71989:(T,f,t)=>{t.d(f,{b:()=>c});var i=t(96936),s=t(41944),a=t(93945);function c(o){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.z;return(0,s.e)(function(e,l){var h=null,C=null,w=null,_=function(){if(h){h.unsubscribe(),h=null;var S=C;C=null,l.next(S)}};function g(){var y=w+o,S=u.now();if(S<y)return h=this.schedule(void 0,y-S),void l.add(h);_()}e.subscribe((0,a.x)(l,function(y){C=y,w=u.now(),h||(h=u.schedule(g,o),l.add(h))},function(){_(),l.complete()},void 0,function(){C=h=null}))})}},98977:(T,f,t)=>{t.d(f,{x:()=>c});var i=t(89173),s=t(41944),a=t(93945);function c(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.y;return u=u??o,(0,s.e)(function(l,h){var C,w=!0;l.subscribe((0,a.x)(h,function(_){var g=e(_);(w||!u(C,g))&&(w=!1,C=g,h.next(_))}))})}function o(u,e){return u===e}},60116:(T,f,t)=>{t.d(f,{h:()=>a});var i=t(41944),s=t(93945);function a(c,o){return(0,i.e)(function(u,e){var l=0;u.subscribe((0,s.x)(e,function(h){return c.call(o,h,l++)&&e.next(h)}))})}},50635:(T,f,t)=>{t.d(f,{U:()=>a});var i=t(41944),s=t(93945);function a(c,o){return(0,i.e)(function(u,e){var l=0;u.subscribe((0,s.x)(e,function(h){e.next(c.call(o,h,l++))}))})}},73:(T,f,t)=>{t.d(f,{h:()=>s});var i=t(50635);function s(a){return(0,i.U)(function(){return a})}},1308:(T,f,t)=>{t.d(f,{J:()=>a});var i=t(49525),s=t(89173);function a(){return(0,i.z)(s.y,arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0)}},49525:(T,f,t)=>{t.d(f,{z:()=>l});var i=t(50635),s=t(54987),a=t(41944),c=t(1817),o=t(93945),e=t(92971);function l(h,C){var w=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;return(0,e.m)(C)?l(function(_,g){return(0,i.U)(function(y,S){return C(_,y,g,S)})((0,s.Xf)(h(_,g)))},w):("number"==typeof C&&(w=C),(0,a.e)(function(_,g){return function u(h,C,w,_,g,y,S,p){var b=[],I=0,R=0,E=!1,m=function(){E&&!b.length&&!I&&C.complete()},P=function(O){return I<_?k(O):b.push(O)},k=function M(O){y&&C.next(O),I++;var L=!1;(0,s.Xf)(w(O,R++)).subscribe((0,o.x)(C,function(B){g?.(B),y?P(B):C.next(B)},function(){L=!0},void 0,function(){if(L)try{I--;for(var B=function(){var K=b.shift();S?(0,c.f)(C,S,function(){return M(K)}):M(K)};b.length&&I<_;)B();m()}catch(Z){C.error(Z)}}))};return h.subscribe((0,o.x)(C,P,function(){E=!0,m()})),function(){p?.()}}(_,g,h,w)}))}},8728:(T,f,t)=>{t.d(f,{Q:()=>c});var i=t(1817),s=t(41944),a=t(93945);function c(o){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,s.e)(function(e,l){e.subscribe((0,a.x)(l,function(h){return(0,i.f)(l,o,function(){return l.next(h)},u)},function(){return(0,i.f)(l,o,function(){return l.complete()},u)},function(h){return(0,i.f)(l,o,function(){return l.error(h)},u)}))})}},44874:(T,f,t)=>{t.d(f,{O:()=>c});var i=t(59319),s=t(10420),a=t(41944);function c(){for(var o=arguments.length,u=new Array(o),e=0;e<o;e++)u[e]=arguments[e];var l=(0,s.yG)(u);return(0,a.e)(function(h,C){(l?(0,i.z)(u,h,l):(0,i.z)(u,h)).subscribe(C)})}},59295:(T,f,t)=>{t.d(f,{q:()=>c});var i=t(20591),s=t(41944),a=t(93945);function c(o){return o<=0?function(){return i.E}:(0,s.e)(function(u,e){var l=0;u.subscribe((0,a.x)(e,function(h){++l<=o&&(e.next(h),o<=l&&e.complete())}))})}},68951:(T,f,t)=>{t.d(f,{R:()=>o});var i=t(41944),s=t(93945),a=t(54987),c=t(99635);function o(u){return(0,i.e)(function(e,l){(0,a.Xf)(u).subscribe((0,s.x)(l,function(){return l.complete()},c.Z)),!l.closed&&e.subscribe(l)})}},75417:(T,f,t)=>{t.d(f,{o:()=>w});var i=t(78069),s=t(48047),a=t(4089),c=t(20265),o=t(24582),u=t(28694),l=function(_){(0,o.Z)(y,_);var g=(0,u.Z)(y);function y(S,p){return(0,i.Z)(this,y),g.call(this)}return(0,s.Z)(y,[{key:"schedule",value:function(p){return this}}]),y}(t(17714).w0),h={setInterval:function(_){function g(y,S){return _.apply(this,arguments)}return g.toString=function(){return _.toString()},g}(function(_,g){for(var y=h.delegate,S=arguments.length,p=new Array(S>2?S-2:0),b=2;b<S;b++)p[b-2]=arguments[b];return y?.setInterval?y.setInterval.apply(y,[_,g].concat(p)):setInterval.apply(void 0,[_,g].concat(p))}),clearInterval:function(_){function g(y){return _.apply(this,arguments)}return g.toString=function(){return _.toString()},g}(function(_){var g=h.delegate;return(g?.clearInterval||clearInterval)(_)}),delegate:void 0},C=t(39663),w=function(_){(0,o.Z)(y,_);var g=(0,u.Z)(y);function y(S,p){var b;return(0,i.Z)(this,y),(b=g.call(this,S,p)).scheduler=S,b.work=p,b.pending=!1,b}return(0,s.Z)(y,[{key:"schedule",value:function(p){var I,b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=p;var R=this.id,E=this.scheduler;return null!=R&&(this.id=this.recycleAsyncId(E,R,b)),this.pending=!0,this.delay=b,this.id=null!==(I=this.id)&&void 0!==I?I:this.requestAsyncId(E,this.id,b),this}},{key:"requestAsyncId",value:function(p,b){var I=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return h.setInterval(p.flush.bind(p,this),I)}},{key:"recycleAsyncId",value:function(p,b){var I=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!=I&&this.delay===I&&!1===this.pending)return b;null!=b&&h.clearInterval(b)}},{key:"execute",value:function(p,b){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var I=this._execute(p,b);if(I)return I;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(p,b){var R,I=!1;try{this.work(p)}catch(E){I=!0,R=E||new Error("Scheduled action threw falsy error")}if(I)return this.unsubscribe(),R}},{key:"unsubscribe",value:function(){if(!this.closed){var p=this.id,b=this.scheduler,I=b.actions;this.work=this.state=this.scheduler=null,this.pending=!1,(0,C.P)(I,this),null!=p&&(this.id=this.recycleAsyncId(b,p,null)),this.delay=null,(0,a.Z)((0,c.Z)(y.prototype),"unsubscribe",this).call(this)}}}]),y}(l)},41010:(T,f,t)=>{t.d(f,{v:()=>e});var i=t(78069),s=t(48047),a=t(24582),c=t(28694),o=t(67654),u=function(){function l(h){var C=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.now;(0,i.Z)(this,l),this.schedulerActionCtor=h,this.now=C}return(0,s.Z)(l,[{key:"schedule",value:function(C){var w=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,_=arguments.length>2?arguments[2]:void 0;return new this.schedulerActionCtor(this,C).schedule(_,w)}}]),l}();u.now=o.l.now;var e=function(l){(0,a.Z)(C,l);var h=(0,c.Z)(C);function C(w){var _,g=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u.now;return(0,i.Z)(this,C),(_=h.call(this,w,g)).actions=[],_._active=!1,_}return(0,s.Z)(C,[{key:"flush",value:function(_){var g=this.actions;if(this._active)g.push(_);else{var y;this._active=!0;do{if(y=_.execute(_.state,_.delay))break}while(_=g.shift());if(this._active=!1,y){for(;_=g.shift();)_.unsubscribe();throw y}}}}]),C}(u)},96936:(T,f,t)=>{t.d(f,{P:()=>c,z:()=>a});var i=t(75417),a=new(t(41010).v)(i.o),c=a},67654:(T,f,t)=>{t.d(f,{l:()=>i});var i={now:function(){return(i.delegate||Date).now()},delegate:void 0}},10420:(T,f,t)=>{t.d(f,{_6:()=>u,jO:()=>c,yG:()=>o});var i=t(92971),s=t(59867);function a(e){return e[e.length-1]}function c(e){return(0,i.m)(a(e))?e.pop():void 0}function o(e){return(0,s.K)(a(e))?e.pop():void 0}function u(e,l){return"number"==typeof a(e)?e.pop():l}},1817:(T,f,t)=>{function i(s,a,c){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,u=arguments.length>4&&void 0!==arguments[4]&&arguments[4],e=a.schedule(function(){c(),u?s.add(this.schedule(null,o)):this.unsubscribe()},o);if(s.add(e),!u)return e}t.d(f,{f:()=>i})},59867:(T,f,t)=>{t.d(f,{K:()=>s});var i=t(92971);function s(a){return a&&(0,i.m)(a.schedule)}},41944:(T,f,t)=>{t.d(f,{A:()=>s,e:()=>a});var i=t(92971);function s(c){return(0,i.m)(c?.lift)}function a(c){return function(o){if(s(o))return o.lift(function(u){try{return c(u,this)}catch(e){this.error(e)}});throw new TypeError("Unable to lift unknown Observable type")}}},58385:(T,f,t)=>{t.d(f,{Z:()=>o});var i=t(86170),s=t(50635),a=Array.isArray;function o(u){return(0,s.U)(function(e){return function c(u,e){return a(e)?u.apply(void 0,(0,i.Z)(e)):u(e)}(u,e)})}},79101:(T,f,t)=>{t.r(f),t.d(f,{MAT_DRAWER_DEFAULT_AUTOSIZE:()=>q,MAT_DRAWER_DEFAULT_AUTOSIZE_FACTORY:()=>ee,MatDrawer:()=>J,MatDrawerContainer:()=>Y,MatDrawerContent:()=>V,MatSidenav:()=>te,MatSidenavContainer:()=>ne,MatSidenavContent:()=>$,MatSidenavModule:()=>le,matDrawerAnimations:()=>G,throwMatDuplicatedDrawerError:()=>ce});var i=t(78069),s=t(48047),a=t(24582),c=t(28694),o=t(93168),u=t(94055),e=t(56718),l=t(6606),h=t(908),C=t(43068),w=t(35333),_=t(52069),g=t(23675),y=t(50253),S=t(23280),p=t(36646),b=t(60116),I=t(50635),R=t(73),E=t(68951),m=t(98977),P=t(59295),k=t(44874),M=t(71989),O=t(72223),L=t(33401),B=["*"],Z=["content"];function K(D,A){if(1&D){var r=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",2),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(r);var v=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(v._onBackdropClicked())}),e.\u0275\u0275elementEnd()}if(2&D){var n=e.\u0275\u0275nextContext();e.\u0275\u0275classProp("mat-drawer-shown",n._isShowingBackdrop())}}function Q(D,A){1&D&&(e.\u0275\u0275elementStart(0,"mat-drawer-content"),e.\u0275\u0275projection(1,2),e.\u0275\u0275elementEnd())}var N=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],ae=["mat-drawer","mat-drawer-content","*"];function ie(D,A){if(1&D){var r=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",2),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(r);var v=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(v._onBackdropClicked())}),e.\u0275\u0275elementEnd()}if(2&D){var n=e.\u0275\u0275nextContext();e.\u0275\u0275classProp("mat-drawer-shown",n._isShowingBackdrop())}}function oe(D,A){1&D&&(e.\u0275\u0275elementStart(0,"mat-sidenav-content"),e.\u0275\u0275projection(1,2),e.\u0275\u0275elementEnd())}var se=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],ue=["mat-sidenav","mat-sidenav-content","*"],G={transformDrawer:(0,O.X$)("transform",[(0,O.SB)("open, open-instant",(0,O.oB)({transform:"none",visibility:"visible"})),(0,O.SB)("void",(0,O.oB)({"box-shadow":"none",visibility:"hidden"})),(0,O.eR)("void => open-instant",(0,O.jt)("0ms")),(0,O.eR)("void <=> open, open-instant => void",(0,O.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])};function ce(D){throw Error("A drawer was already declared for 'position=\"".concat(D,"\"'"))}var q=new e.InjectionToken("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:ee}),X=new e.InjectionToken("MAT_DRAWER_CONTAINER");function ee(){return!1}var V=function(){var D=function(A){(0,a.Z)(n,A);var r=(0,c.Z)(n);function n(d,v,U,W,F){var z;return(0,i.Z)(this,n),(z=r.call(this,U,W,F))._changeDetectorRef=d,z._container=v,z}return(0,s.Z)(n,[{key:"ngAfterContentInit",value:function(){var v=this;this._container._contentMarginChanges.subscribe(function(){v._changeDetectorRef.markForCheck()})}}]),n}(o.CdkScrollable);return D.\u0275fac=function(r){return new(r||D)(e.\u0275\u0275directiveInject(e.ChangeDetectorRef),e.\u0275\u0275directiveInject((0,e.forwardRef)(function(){return Y})),e.\u0275\u0275directiveInject(e.ElementRef),e.\u0275\u0275directiveInject(o.ScrollDispatcher),e.\u0275\u0275directiveInject(e.NgZone))},D.\u0275cmp=e.\u0275\u0275defineComponent({type:D,selectors:[["mat-drawer-content"]],hostAttrs:["ngSkipHydration","",1,"mat-drawer-content"],hostVars:4,hostBindings:function(r,n){2&r&&e.\u0275\u0275styleProp("margin-left",n._container._contentMargins.left,"px")("margin-right",n._container._contentMargins.right,"px")},features:[e.\u0275\u0275ProvidersFeature([{provide:o.CdkScrollable,useExisting:D}]),e.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:B,decls:1,vars:0,template:function(r,n){1&r&&(e.\u0275\u0275projectionDef(),e.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),D}(),J=function(){var D=function(){function A(r,n,d,v,U,W,F,z){var j=this;(0,i.Z)(this,A),this._elementRef=r,this._focusTrapFactory=n,this._focusMonitor=d,this._platform=v,this._ngZone=U,this._interactivityChecker=W,this._doc=F,this._container=z,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new y.x,this._animationEnd=new y.x,this._animationState="void",this.openedChange=new e.EventEmitter(!0),this._openedStream=this.openedChange.pipe((0,b.h)(function(x){return x}),(0,I.U)(function(){})),this.openedStart=this._animationStarted.pipe((0,b.h)(function(x){return x.fromState!==x.toState&&0===x.toState.indexOf("open")}),(0,R.h)(void 0)),this._closedStream=this.openedChange.pipe((0,b.h)(function(x){return!x}),(0,I.U)(function(){})),this.closedStart=this._animationStarted.pipe((0,b.h)(function(x){return x.fromState!==x.toState&&"void"===x.toState}),(0,R.h)(void 0)),this._destroyed=new y.x,this.onPositionChanged=new e.EventEmitter,this._modeChanged=new y.x,this.openedChange.subscribe(function(x){x?(j._doc&&(j._elementFocusedBeforeDrawerWasOpened=j._doc.activeElement),j._takeFocus()):j._isFocusWithinDrawer()&&j._restoreFocus(j._openedVia||"program")}),this._ngZone.runOutsideAngular(function(){(0,S.R)(j._elementRef.nativeElement,"keydown").pipe((0,b.h)(function(x){return x.keyCode===_.ESCAPE&&!j.disableClose&&!(0,_.hasModifierKey)(x)}),(0,E.R)(j._destroyed)).subscribe(function(x){return j._ngZone.run(function(){j.close(),x.stopPropagation(),x.preventDefault()})})}),this._animationEnd.pipe((0,m.x)(function(x,H){return x.fromState===H.fromState&&x.toState===H.toState})).subscribe(function(x){var H=x.fromState,re=x.toState;(0===re.indexOf("open")&&"void"===H||"void"===re&&0===H.indexOf("open"))&&j.openedChange.emit(j._opened)})}return(0,s.Z)(A,[{key:"position",get:function(){return this._position},set:function(n){(n="end"===n?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(n),this._position=n,this.onPositionChanged.emit())}},{key:"mode",get:function(){return this._mode},set:function(n){this._mode=n,this._updateFocusTrapState(),this._modeChanged.next()}},{key:"disableClose",get:function(){return this._disableClose},set:function(n){this._disableClose=(0,w.coerceBooleanProperty)(n)}},{key:"autoFocus",get:function(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")},set:function(n){("true"===n||"false"===n||null==n)&&(n=(0,w.coerceBooleanProperty)(n)),this._autoFocus=n}},{key:"opened",get:function(){return this._opened},set:function(n){this.toggle((0,w.coerceBooleanProperty)(n))}},{key:"_forceFocus",value:function(n,d){this._interactivityChecker.isFocusable(n)||(n.tabIndex=-1,this._ngZone.runOutsideAngular(function(){var v=function U(){n.removeEventListener("blur",U),n.removeEventListener("mousedown",U),n.removeAttribute("tabindex")};n.addEventListener("blur",v),n.addEventListener("mousedown",v)})),n.focus(d)}},{key:"_focusByCssSelector",value:function(n,d){var v=this._elementRef.nativeElement.querySelector(n);v&&this._forceFocus(v,d)}},{key:"_takeFocus",value:function(){var n=this;if(this._focusTrap){var d=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(function(v){!v&&"function"==typeof n._elementRef.nativeElement.focus&&d.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}}},{key:"_restoreFocus",value:function(n){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,n):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}},{key:"_isFocusWithinDrawer",value:function(){var n=this._doc.activeElement;return!!n&&this._elementRef.nativeElement.contains(n)}},{key:"ngAfterViewInit",value:function(){this._isAttached=!0,this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState(),"end"===this._position&&this._updatePositionInParent("end")}},{key:"ngAfterContentChecked",value:function(){this._platform.isBrowser&&(this._enableAnimations=!0)}},{key:"ngOnDestroy",value:function(){var n;this._focusTrap&&this._focusTrap.destroy(),null===(n=this._anchor)||void 0===n||n.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}},{key:"open",value:function(n){return this.toggle(!0,n)}},{key:"close",value:function(){return this.toggle(!1)}},{key:"_closeViaBackdropClick",value:function(){return this._setOpen(!1,!0,"mouse")}},{key:"toggle",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:!this.opened,d=arguments.length>1?arguments[1]:void 0;n&&d&&(this._openedVia=d);var v=this._setOpen(n,!n&&this._isFocusWithinDrawer(),this._openedVia||"program");return n||(this._openedVia=null),v}},{key:"_setOpen",value:function(n,d,v){var U=this;return this._opened=n,n?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",d&&this._restoreFocus(v)),this._updateFocusTrapState(),new Promise(function(W){U.openedChange.pipe((0,P.q)(1)).subscribe(function(F){return W(F?"open":"close")})})}},{key:"_getWidth",value:function(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}},{key:"_updateFocusTrapState",value:function(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}},{key:"_updatePositionInParent",value:function(n){var d=this._elementRef.nativeElement,v=d.parentNode;"end"===n?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),v.insertBefore(this._anchor,d)),v.appendChild(d)):this._anchor&&this._anchor.parentNode.insertBefore(d,this._anchor)}}]),A}();return D.\u0275fac=function(r){return new(r||D)(e.\u0275\u0275directiveInject(e.ElementRef),e.\u0275\u0275directiveInject(h.FocusTrapFactory),e.\u0275\u0275directiveInject(h.FocusMonitor),e.\u0275\u0275directiveInject(g.Platform),e.\u0275\u0275directiveInject(e.NgZone),e.\u0275\u0275directiveInject(h.InteractivityChecker),e.\u0275\u0275directiveInject(u.DOCUMENT,8),e.\u0275\u0275directiveInject(X,8))},D.\u0275cmp=e.\u0275\u0275defineComponent({type:D,selectors:[["mat-drawer"]],viewQuery:function(r,n){var d;1&r&&e.\u0275\u0275viewQuery(Z,5),2&r&&e.\u0275\u0275queryRefresh(d=e.\u0275\u0275loadQuery())&&(n._content=d.first)},hostAttrs:["tabIndex","-1","ngSkipHydration","",1,"mat-drawer"],hostVars:12,hostBindings:function(r,n){1&r&&e.\u0275\u0275syntheticHostListener("@transform.start",function(v){return n._animationStarted.next(v)})("@transform.done",function(v){return n._animationEnd.next(v)}),2&r&&(e.\u0275\u0275attribute("align",null),e.\u0275\u0275syntheticHostProperty("@transform",n._animationState),e.\u0275\u0275classProp("mat-drawer-end","end"===n.position)("mat-drawer-over","over"===n.mode)("mat-drawer-push","push"===n.mode)("mat-drawer-side","side"===n.mode)("mat-drawer-opened",n.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:B,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(r,n){1&r&&(e.\u0275\u0275projectionDef(),e.\u0275\u0275elementStart(0,"div",0,1),e.\u0275\u0275projection(2),e.\u0275\u0275elementEnd())},dependencies:[o.CdkScrollable],encapsulation:2,data:{animation:[G.transformDrawer]},changeDetection:0}),D}(),Y=function(){var D=function(){function A(r,n,d,v,U){var W=this,F=arguments.length>5&&void 0!==arguments[5]&&arguments[5],z=arguments.length>6?arguments[6]:void 0;(0,i.Z)(this,A),this._dir=r,this._element=n,this._ngZone=d,this._changeDetectorRef=v,this._animationMode=z,this._drawers=new e.QueryList,this.backdropClick=new e.EventEmitter,this._destroyed=new y.x,this._doCheckSubject=new y.x,this._contentMargins={left:null,right:null},this._contentMarginChanges=new y.x,r&&r.change.pipe((0,E.R)(this._destroyed)).subscribe(function(){W._validateDrawers(),W.updateContentMargins()}),U.change().pipe((0,E.R)(this._destroyed)).subscribe(function(){return W.updateContentMargins()}),this._autosize=F}return(0,s.Z)(A,[{key:"start",get:function(){return this._start}},{key:"end",get:function(){return this._end}},{key:"autosize",get:function(){return this._autosize},set:function(n){this._autosize=(0,w.coerceBooleanProperty)(n)}},{key:"hasBackdrop",get:function(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride},set:function(n){this._backdropOverride=null==n?null:(0,w.coerceBooleanProperty)(n)}},{key:"scrollable",get:function(){return this._userContent||this._content}},{key:"ngAfterContentInit",value:function(){var n=this;this._allDrawers.changes.pipe((0,k.O)(this._allDrawers),(0,E.R)(this._destroyed)).subscribe(function(d){n._drawers.reset(d.filter(function(v){return!v._container||v._container===n})),n._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,k.O)(null)).subscribe(function(){n._validateDrawers(),n._drawers.forEach(function(d){n._watchDrawerToggle(d),n._watchDrawerPosition(d),n._watchDrawerMode(d)}),(!n._drawers.length||n._isDrawerOpen(n._start)||n._isDrawerOpen(n._end))&&n.updateContentMargins(),n._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(function(){n._doCheckSubject.pipe((0,M.b)(10),(0,E.R)(n._destroyed)).subscribe(function(){return n.updateContentMargins()})})}},{key:"ngOnDestroy",value:function(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}},{key:"open",value:function(){this._drawers.forEach(function(n){return n.open()})}},{key:"close",value:function(){this._drawers.forEach(function(n){return n.close()})}},{key:"updateContentMargins",value:function(){var n=this,d=0,v=0;if(this._left&&this._left.opened)if("side"==this._left.mode)d+=this._left._getWidth();else if("push"==this._left.mode){var U=this._left._getWidth();d+=U,v-=U}if(this._right&&this._right.opened)if("side"==this._right.mode)v+=this._right._getWidth();else if("push"==this._right.mode){var W=this._right._getWidth();v+=W,d-=W}v=v||null,((d=d||null)!==this._contentMargins.left||v!==this._contentMargins.right)&&(this._contentMargins={left:d,right:v},this._ngZone.run(function(){return n._contentMarginChanges.next(n._contentMargins)}))}},{key:"ngDoCheck",value:function(){var n=this;this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(function(){return n._doCheckSubject.next()})}},{key:"_watchDrawerToggle",value:function(n){var d=this;n._animationStarted.pipe((0,b.h)(function(v){return v.fromState!==v.toState}),(0,E.R)(this._drawers.changes)).subscribe(function(v){"open-instant"!==v.toState&&"NoopAnimations"!==d._animationMode&&d._element.nativeElement.classList.add("mat-drawer-transition"),d.updateContentMargins(),d._changeDetectorRef.markForCheck()}),"side"!==n.mode&&n.openedChange.pipe((0,E.R)(this._drawers.changes)).subscribe(function(){return d._setContainerClass(n.opened)})}},{key:"_watchDrawerPosition",value:function(n){var d=this;n&&n.onPositionChanged.pipe((0,E.R)(this._drawers.changes)).subscribe(function(){d._ngZone.onMicrotaskEmpty.pipe((0,P.q)(1)).subscribe(function(){d._validateDrawers()})})}},{key:"_watchDrawerMode",value:function(n){var d=this;n&&n._modeChanged.pipe((0,E.R)((0,p.T)(this._drawers.changes,this._destroyed))).subscribe(function(){d.updateContentMargins(),d._changeDetectorRef.markForCheck()})}},{key:"_setContainerClass",value:function(n){var d=this._element.nativeElement.classList,v="mat-drawer-container-has-open";n?d.add(v):d.remove(v)}},{key:"_validateDrawers",value:function(){var n=this;this._start=this._end=null,this._drawers.forEach(function(d){"end"==d.position?n._end=d:n._start=d}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}},{key:"_isPushed",value:function(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}},{key:"_onBackdropClicked",value:function(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}},{key:"_closeModalDrawersViaBackdrop",value:function(){var n=this;[this._start,this._end].filter(function(d){return d&&!d.disableClose&&n._canHaveBackdrop(d)}).forEach(function(d){return d._closeViaBackdropClick()})}},{key:"_isShowingBackdrop",value:function(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}},{key:"_canHaveBackdrop",value:function(n){return"side"!==n.mode||!!this._backdropOverride}},{key:"_isDrawerOpen",value:function(n){return null!=n&&n.opened}}]),A}();return D.\u0275fac=function(r){return new(r||D)(e.\u0275\u0275directiveInject(C.Directionality,8),e.\u0275\u0275directiveInject(e.ElementRef),e.\u0275\u0275directiveInject(e.NgZone),e.\u0275\u0275directiveInject(e.ChangeDetectorRef),e.\u0275\u0275directiveInject(o.ViewportRuler),e.\u0275\u0275directiveInject(q),e.\u0275\u0275directiveInject(L.ANIMATION_MODULE_TYPE,8))},D.\u0275cmp=e.\u0275\u0275defineComponent({type:D,selectors:[["mat-drawer-container"]],contentQueries:function(r,n,d){var v;1&r&&(e.\u0275\u0275contentQuery(d,V,5),e.\u0275\u0275contentQuery(d,J,5)),2&r&&(e.\u0275\u0275queryRefresh(v=e.\u0275\u0275loadQuery())&&(n._content=v.first),e.\u0275\u0275queryRefresh(v=e.\u0275\u0275loadQuery())&&(n._allDrawers=v))},viewQuery:function(r,n){var d;1&r&&e.\u0275\u0275viewQuery(V,5),2&r&&e.\u0275\u0275queryRefresh(d=e.\u0275\u0275loadQuery())&&(n._userContent=d.first)},hostAttrs:["ngSkipHydration","",1,"mat-drawer-container"],hostVars:2,hostBindings:function(r,n){2&r&&e.\u0275\u0275classProp("mat-drawer-container-explicit-backdrop",n._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[e.\u0275\u0275ProvidersFeature([{provide:X,useExisting:D}])],ngContentSelectors:ae,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(r,n){1&r&&(e.\u0275\u0275projectionDef(N),e.\u0275\u0275template(0,K,1,2,"div",0),e.\u0275\u0275projection(1),e.\u0275\u0275projection(2,1),e.\u0275\u0275template(3,Q,2,0,"mat-drawer-content",1)),2&r&&(e.\u0275\u0275property("ngIf",n.hasBackdrop),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",!n._content))},dependencies:[u.NgIf,V],styles:['.mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0}),D}(),$=function(){var D=function(A){(0,a.Z)(n,A);var r=(0,c.Z)(n);function n(d,v,U,W,F){return(0,i.Z)(this,n),r.call(this,d,v,U,W,F)}return(0,s.Z)(n)}(V);return D.\u0275fac=function(r){return new(r||D)(e.\u0275\u0275directiveInject(e.ChangeDetectorRef),e.\u0275\u0275directiveInject((0,e.forwardRef)(function(){return ne})),e.\u0275\u0275directiveInject(e.ElementRef),e.\u0275\u0275directiveInject(o.ScrollDispatcher),e.\u0275\u0275directiveInject(e.NgZone))},D.\u0275cmp=e.\u0275\u0275defineComponent({type:D,selectors:[["mat-sidenav-content"]],hostAttrs:["ngSkipHydration","",1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(r,n){2&r&&e.\u0275\u0275styleProp("margin-left",n._container._contentMargins.left,"px")("margin-right",n._container._contentMargins.right,"px")},features:[e.\u0275\u0275ProvidersFeature([{provide:o.CdkScrollable,useExisting:D}]),e.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:B,decls:1,vars:0,template:function(r,n){1&r&&(e.\u0275\u0275projectionDef(),e.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),D}(),te=function(){var D=function(A){(0,a.Z)(n,A);var r=(0,c.Z)(n);function n(){var d;return(0,i.Z)(this,n),(d=r.apply(this,arguments))._fixedInViewport=!1,d._fixedTopGap=0,d._fixedBottomGap=0,d}return(0,s.Z)(n,[{key:"fixedInViewport",get:function(){return this._fixedInViewport},set:function(v){this._fixedInViewport=(0,w.coerceBooleanProperty)(v)}},{key:"fixedTopGap",get:function(){return this._fixedTopGap},set:function(v){this._fixedTopGap=(0,w.coerceNumberProperty)(v)}},{key:"fixedBottomGap",get:function(){return this._fixedBottomGap},set:function(v){this._fixedBottomGap=(0,w.coerceNumberProperty)(v)}}]),n}(J);return D.\u0275fac=function(){var A;return function(n){return(A||(A=e.\u0275\u0275getInheritedFactory(D)))(n||D)}}(),D.\u0275cmp=e.\u0275\u0275defineComponent({type:D,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1","ngSkipHydration","",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(r,n){2&r&&(e.\u0275\u0275attribute("align",null),e.\u0275\u0275styleProp("top",n.fixedInViewport?n.fixedTopGap:null,"px")("bottom",n.fixedInViewport?n.fixedBottomGap:null,"px"),e.\u0275\u0275classProp("mat-drawer-end","end"===n.position)("mat-drawer-over","over"===n.mode)("mat-drawer-push","push"===n.mode)("mat-drawer-side","side"===n.mode)("mat-drawer-opened",n.opened)("mat-sidenav-fixed",n.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[e.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:B,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(r,n){1&r&&(e.\u0275\u0275projectionDef(),e.\u0275\u0275elementStart(0,"div",0,1),e.\u0275\u0275projection(2),e.\u0275\u0275elementEnd())},dependencies:[o.CdkScrollable],encapsulation:2,data:{animation:[G.transformDrawer]},changeDetection:0}),D}(),ne=function(){var D=function(A){(0,a.Z)(n,A);var r=(0,c.Z)(n);function n(){var d;return(0,i.Z)(this,n),(d=r.apply(this,arguments))._allDrawers=void 0,d._content=void 0,d}return(0,s.Z)(n)}(Y);return D.\u0275fac=function(){var A;return function(n){return(A||(A=e.\u0275\u0275getInheritedFactory(D)))(n||D)}}(),D.\u0275cmp=e.\u0275\u0275defineComponent({type:D,selectors:[["mat-sidenav-container"]],contentQueries:function(r,n,d){var v;1&r&&(e.\u0275\u0275contentQuery(d,$,5),e.\u0275\u0275contentQuery(d,te,5)),2&r&&(e.\u0275\u0275queryRefresh(v=e.\u0275\u0275loadQuery())&&(n._content=v.first),e.\u0275\u0275queryRefresh(v=e.\u0275\u0275loadQuery())&&(n._allDrawers=v))},hostAttrs:["ngSkipHydration","",1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(r,n){2&r&&e.\u0275\u0275classProp("mat-drawer-container-explicit-backdrop",n._backdropOverride)},exportAs:["matSidenavContainer"],features:[e.\u0275\u0275ProvidersFeature([{provide:X,useExisting:D}]),e.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:ue,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(r,n){1&r&&(e.\u0275\u0275projectionDef(se),e.\u0275\u0275template(0,ie,1,2,"div",0),e.\u0275\u0275projection(1),e.\u0275\u0275projection(2,1),e.\u0275\u0275template(3,oe,2,0,"mat-sidenav-content",1)),2&r&&(e.\u0275\u0275property("ngIf",n.hasBackdrop),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",!n._content))},dependencies:[u.NgIf,$],styles:['.mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0}),D}(),le=function(){var D=(0,s.Z)(function A(){(0,i.Z)(this,A)});return D.\u0275fac=function(r){return new(r||D)},D.\u0275mod=e.\u0275\u0275defineNgModule({type:D}),D.\u0275inj=e.\u0275\u0275defineInjector({imports:[u.CommonModule,l.MatCommonModule,o.CdkScrollableModule,o.CdkScrollableModule,l.MatCommonModule]}),D}()},44841:(T,f,t)=>{function i(s,a){(null==a||a>s.length)&&(a=s.length);for(var c=0,o=new Array(a);c<a;c++)o[c]=s[c];return o}t.d(f,{Z:()=>i})},8091:(T,f,t)=>{function i(s){if(Array.isArray(s))return s}t.d(f,{Z:()=>i})},35488:(T,f,t)=>{function i(s){if(void 0===s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s}t.d(f,{Z:()=>i})},95106:(T,f,t)=>{t.d(f,{Z:()=>s});var i=t(44206);function s(a,c){var o=typeof Symbol<"u"&&a[Symbol.iterator]||a["@@iterator"];if(!o){if(Array.isArray(a)||(o=(0,i.Z)(a))||c&&a&&"number"==typeof a.length){o&&(a=o);var u=0,e=function(){};return{s:e,n:function(){return u>=a.length?{done:!0}:{done:!1,value:a[u++]}},e:function(_){throw _},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var C,l=!0,h=!1;return{s:function(){o=o.call(a)},n:function(){var _=o.next();return l=_.done,_},e:function(_){h=!0,C=_},f:function(){try{!l&&null!=o.return&&o.return()}finally{if(h)throw C}}}}},28694:(T,f,t)=>{t.d(f,{Z:()=>u});var i=t(20265),s=t(98568),a=t(43445),c=t(35488);function u(e){var l=(0,s.Z)();return function(){var w,C=(0,i.Z)(e);if(l){var _=(0,i.Z)(this).constructor;w=Reflect.construct(C,arguments,_)}else w=C.apply(this,arguments);return function o(e,l){if(l&&("object"===(0,a.Z)(l)||"function"==typeof l))return l;if(void 0!==l)throw new TypeError("Derived constructors may only return object or undefined");return(0,c.Z)(e)}(this,w)}}},4089:(T,f,t)=>{t.d(f,{Z:()=>a});var i=t(20265);function a(){return a=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(o,u,e){var l=function s(c,o){for(;!Object.prototype.hasOwnProperty.call(c,o)&&null!==(c=(0,i.Z)(c)););return c}(o,u);if(l){var h=Object.getOwnPropertyDescriptor(l,u);return h.get?h.get.call(arguments.length<3?o:e):h.value}},a.apply(this,arguments)}},20265:(T,f,t)=>{function i(s){return(i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(c){return c.__proto__||Object.getPrototypeOf(c)})(s)}t.d(f,{Z:()=>i})},24582:(T,f,t)=>{t.d(f,{Z:()=>s});var i=t(10006);function s(a,c){if("function"!=typeof c&&null!==c)throw new TypeError("Super expression must either be null or a function");a.prototype=Object.create(c&&c.prototype,{constructor:{value:a,writable:!0,configurable:!0}}),Object.defineProperty(a,"prototype",{writable:!1}),c&&(0,i.Z)(a,c)}},98568:(T,f,t)=>{function i(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}t.d(f,{Z:()=>i})},4826:(T,f,t)=>{function i(s){if(typeof Symbol<"u"&&null!=s[Symbol.iterator]||null!=s["@@iterator"])return Array.from(s)}t.d(f,{Z:()=>i})},8217:(T,f,t)=>{function i(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}t.d(f,{Z:()=>i})},10006:(T,f,t)=>{function i(s,a){return(i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,u){return o.__proto__=u,o})(s,a)}t.d(f,{Z:()=>i})},32090:(T,f,t)=>{t.d(f,{Z:()=>o});var i=t(8091),a=t(44206),c=t(8217);function o(u,e){return(0,i.Z)(u)||function s(u,e){var l=null==u?null:typeof Symbol<"u"&&u[Symbol.iterator]||u["@@iterator"];if(null!=l){var h,C,w,_,g=[],y=!0,S=!1;try{if(w=(l=l.call(u)).next,0===e){if(Object(l)!==l)return;y=!1}else for(;!(y=(h=w.call(l)).done)&&(g.push(h.value),g.length!==e);y=!0);}catch(p){S=!0,C=p}finally{try{if(!y&&null!=l.return&&(_=l.return(),Object(_)!==_))return}finally{if(S)throw C}}return g}}(u,e)||(0,a.Z)(u,e)||(0,c.Z)()}},86170:(T,f,t)=>{t.d(f,{Z:()=>u});var i=t(44841),a=t(4826),c=t(44206);function u(e){return function s(e){if(Array.isArray(e))return(0,i.Z)(e)}(e)||(0,a.Z)(e)||(0,c.Z)(e)||function o(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(T,f,t)=>{t.d(f,{Z:()=>s});var i=t(44841);function s(a,c){if(a){if("string"==typeof a)return(0,i.Z)(a,c);var o=Object.prototype.toString.call(a).slice(8,-1);if("Object"===o&&a.constructor&&(o=a.constructor.name),"Map"===o||"Set"===o)return Array.from(a);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return(0,i.Z)(a,c)}}}}]); +//# sourceMappingURL=9101.b0542315455d3ec9.js.map \ No newline at end of file diff --git a/9101.b0542315455d3ec9.js.map b/9101.b0542315455d3ec9.js.map new file mode 100644 index 0000000..e0eef1c --- /dev/null +++ b/9101.b0542315455d3ec9.js.map @@ -0,0 +1 @@ +{"version":3,"file":"9101.b0542315455d3ec9.js","mappings":"4cACaA,cAA0BC,GAAiB,SAACC,GAAM,OAAK,WAChEA,EAAOC,MACPA,KAAKC,KAAO,0BACZD,KAAKE,QAAU,qBACnB,CAAC,yBCAYC,EAAO,eAAPA,EAAO,SAAAC,IAAAC,OAAAF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AAA,MAEA,GADA,WAAAjkB,GAAA0U,EAAAqM,cAAA/gB,EAAA0U,EAAAqM,YAAA7iB,MACA,QAAA8B,GAAA,QAAAA,EAAA,OAAAN,MAAAC,KAAA+U,GACA,iBAAA1U,GAAA,2CAAAkkB,KAAAlkB,GAAA,SAAsFgkB,EAAA9D,GAAgBxL,EAAAqP,EAAA,CACtG","names":["ObjectUnsubscribedError","createErrorClass","_super","this","name","message","Subject","_Observable","_inherits","_createSuper","_this","_classCallCheck","call","closed","currentObservers","observers","isStopped","hasError","thrownError","_createClass","key","value","operator","subject","AnonymousSubject","_this2","errorContext","_throwIfClosed","Array","from","_step","_iterator","_createForOfIteratorHelper","s","n","done","next","err","e","f","_this3","length","shift","error","_this4","complete","get","_a","subscriber","_get","_getPrototypeOf","prototype","_checkFinalizedStatuses","_innerSubscribe","_this5","EMPTY_SUBSCRIPTION","push","Subscription","arrRemove","observable","Observable","source","create","destination","_Subject","_super2","_this6","_b","subscribe","concat","_len","arguments","args","_key","concatAll","mergeAll","popScheduler","EMPTY","subscribeOn","scheduler","delay","undefined","operate","add","schedule","scheduleAsyncIterable","input","Error","executeSchedule","iterator","Symbol","asyncIterator","then","result","scheduled","isInteropObservable","scheduleObservable","innerFrom","pipe","observeOn","isArrayLike","scheduleArray","i","isPromise","schedulePromise","isAsyncIterable","isIterable","scheduleIterable","Symbol_iterator","_iterator$next","isFunction","return","isReadableStreamLike","scheduleReadableStreamLike","readableStreamLikeToAsyncGenerator","createInvalidObservableTypeError","nodeEventEmitterMethods","eventTargetMethods","jqueryMethods","fromEvent","target","eventName","options","resultSelector","mapOneOrManyArgs","_ref","isEventTarget","addEventListener","removeEventListener","map","methodName","handler","isNodeStyleEventEmitter","addListener","removeListener","toCommonHandlerRegistry","isJQueryStyleEventEmitter","on","off","_ref2","_slicedToArray","remove","mergeMap","subTarget","TypeError","merge","concurrent","popNumber","Infinity","sources","createOperatorSubscriber","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_next","_assertThisInitialized","_error","unsubscribe","_complete","Subscriber","debounceTime","dueTime","asyncScheduler","activeTask","lastValue","lastTime","emit","emitWhenIdle","targetTime","now","distinctUntilChanged","comparator","keySelector","identity","defaultCompare","previousKey","first","currentKey","a","b","filter","predicate","thisArg","index","project","mapTo","ii","mergeInternals","onBeforeNext","expand","innerSubScheduler","additionalFinalizer","buffer","active","isComplete","checkComplete","outerNext","doInnerSub","innerComplete","innerValue","_loop","bufferedValue","startWith","values","take","count","seen","takeUntil","notifier","noop","Action","_Subscription","work","state","intervalProvider","setInterval","_setInterval","_x","_x2","apply","toString","timeout","delegate","clearInterval","_clearInterval","_x3","handle","AsyncAction","_Action","pending","id","recycleAsyncId","requestAsyncId","_id","flush","bind","_scheduler","_execute","_delay","errorValue","errored","actions","Scheduler","schedulerActionCtor","dateTimestampProvider","AsyncScheduler","_Scheduler","SchedulerAction","_active","action","execute","async","Date","last","arr","popResultSelector","pop","isScheduler","defaultValue","parentSubscription","repeat","scheduleSubscription","hasLift","lift","init","liftedSource","isArray","fn","callOrApply","_toConsumableArray","_c0","_c1","MatDrawerContainer_div_0_Template","rf","ctx","_r3","i0","ctx_r2","_onBackdropClicked","ctx_r0","_isShowingBackdrop","MatDrawerContainer_mat_drawer_content_3_Template","_c2","_c3","MatSidenavContainer_div_0_Template","MatSidenavContainer_mat_sidenav_content_3_Template","_c4","_c5","matDrawerAnimations","transformDrawer","trigger","style","transform","visibility","transition","animate","throwMatDuplicatedDrawerError","position","MAT_DRAWER_DEFAULT_AUTOSIZE","InjectionToken","providedIn","factory","MAT_DRAWER_DEFAULT_AUTOSIZE_FACTORY","MAT_DRAWER_CONTAINER","MatDrawerContent","_CdkScrollable","_changeDetectorRef","_container","elementRef","scrollDispatcher","ngZone","_contentMarginChanges","markForCheck","CdkScrollable","ɵfac","t","forwardRef","MatDrawerContainer","i1","ɵcmp","type","selectors","hostAttrs","hostVars","hostBindings","_contentMargins","left","right","features","provide","useExisting","ngContentSelectors","decls","vars","template","encapsulation","changeDetection","MatDrawer","_elementRef","_focusTrapFactory","_focusMonitor","_platform","_ngZone","_interactivityChecker","_doc","_elementFocusedBeforeDrawerWasOpened","_enableAnimations","_position","_mode","_disableClose","_opened","_animationStarted","_animationEnd","_animationState","openedChange","EventEmitter","_openedStream","o","openedStart","fromState","toState","indexOf","_closedStream","closedStart","_destroyed","onPositionChanged","_modeChanged","opened","activeElement","_takeFocus","_isFocusWithinDrawer","_restoreFocus","_openedVia","runOutsideAngular","nativeElement","event","keyCode","ESCAPE","disableClose","hasModifierKey","run","close","stopPropagation","preventDefault","x","y","set","_isAttached","_updatePositionInParent","_updateFocusTrapState","coerceBooleanProperty","_autoFocus","mode","toggle","element","isFocusable","tabIndex","callback","removeAttribute","focus","selector","elementToFocus","querySelector","_forceFocus","_focusTrap","autoFocus","focusInitialElementWhenReady","hasMovedFocus","_focusByCssSelector","focusOrigin","focusVia","blur","activeEl","contains","isBrowser","_this$_anchor","destroy","_anchor","openedVia","_setOpen","isOpen","restoreFocus","Promise","resolve","open","offsetWidth","enabled","newPosition","parent","parentNode","createComment","insertBefore","appendChild","i2","i3","DOCUMENT","viewQuery","_t","_content","$event","inputs","outputs","exportAs","consts","dependencies","data","animation","_dir","_element","viewportRuler","defaultAutosize","_animationMode","_drawers","QueryList","backdropClick","_doCheckSubject","change","_validateDrawers","updateContentMargins","_autosize","_start","_end","_backdropOverride","_userContent","_this7","_allDrawers","changes","drawer","reset","item","notifyOnChanges","forEach","_watchDrawerToggle","_watchDrawerPosition","_watchDrawerMode","_isDrawerOpen","_this8","_left","_getWidth","width","_right","_this9","_isPushed","_this10","classList","_setContainerClass","_this11","onMicrotaskEmpty","_this12","isAdd","className","_this13","_closeModalDrawersViaBackdrop","_this14","_canHaveBackdrop","_closeViaBackdropClick","i4","ANIMATION_MODULE_TYPE","contentQueries","dirIndex","autosize","hasBackdrop","i5","styles","MatSidenavContent","_MatDrawerContent","changeDetectorRef","container","MatSidenavContainer","MatSidenav","_MatDrawer","_super3","_this15","_fixedInViewport","_fixedTopGap","_fixedBottomGap","coerceNumberProperty","ɵMatSidenav_BaseFactory","fixedInViewport","fixedTopGap","fixedBottomGap","_MatDrawerContainer","_super4","_this16","ɵMatSidenavContainer_BaseFactory","MatSidenavModule","ɵmod","ɵinj","imports","CommonModule","MatCommonModule","CdkScrollableModule","_arrayLikeToArray","len","arr2","_arrayWithHoles","self","ReferenceError","allowArrayLike","it","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","_e","normalCompletion","didErr","step","_e2","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Super","getPrototypeOf","NewTarget","constructor","Reflect","construct","_possibleConstructorReturn","esm_typeof","assertThisInitialized","property","receiver","base","_superPropBase","object","Object","hasOwnProperty","desc","getOwnPropertyDescriptor","setPrototypeOf","__proto__","subClass","superClass","writable","configurable","defineProperty","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_iterableToArray","iter","_nonIterableRest","_setPrototypeOf","p","arrayWithHoles","_iterableToArrayLimit","_i","_s","_r","_arr","_n","_d","unsupportedIterableToArray","nonIterableRest","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","slice","test"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/util/ObjectUnsubscribedError.js","./node_modules/rxjs/dist/esm/internal/Subject.js","./node_modules/rxjs/dist/esm/internal/observable/concat.js","./node_modules/rxjs/dist/esm/internal/operators/concatAll.js","./node_modules/rxjs/dist/esm/internal/observable/empty.js","./node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleAsyncIterable.js","./node_modules/rxjs/dist/esm/internal/observable/from.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduled.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleObservable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleArray.js","./node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleIterable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleReadableStreamLike.js","./node_modules/rxjs/dist/esm/internal/observable/fromEvent.js","./node_modules/rxjs/dist/esm/internal/observable/merge.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/debounceTime.js","./node_modules/rxjs/dist/esm/internal/operators/distinctUntilChanged.js","./node_modules/rxjs/dist/esm/internal/operators/filter.js","./node_modules/rxjs/dist/esm/internal/operators/map.js","./node_modules/rxjs/dist/esm/internal/operators/mapTo.js","./node_modules/rxjs/dist/esm/internal/operators/mergeAll.js","./node_modules/rxjs/dist/esm/internal/operators/mergeMap.js","./node_modules/rxjs/dist/esm/internal/operators/mergeInternals.js","./node_modules/rxjs/dist/esm/internal/operators/observeOn.js","./node_modules/rxjs/dist/esm/internal/operators/startWith.js","./node_modules/rxjs/dist/esm/internal/operators/take.js","./node_modules/rxjs/dist/esm/internal/operators/takeUntil.js","./node_modules/rxjs/dist/esm/internal/scheduler/Action.js","./node_modules/rxjs/dist/esm/internal/scheduler/intervalProvider.js","./node_modules/rxjs/dist/esm/internal/scheduler/AsyncAction.js","./node_modules/rxjs/dist/esm/internal/Scheduler.js","./node_modules/rxjs/dist/esm/internal/scheduler/AsyncScheduler.js","./node_modules/rxjs/dist/esm/internal/scheduler/async.js","./node_modules/rxjs/dist/esm/internal/scheduler/dateTimestampProvider.js","./node_modules/rxjs/dist/esm/internal/util/args.js","./node_modules/rxjs/dist/esm/internal/util/executeSchedule.js","./node_modules/rxjs/dist/esm/internal/util/isScheduler.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/rxjs/dist/esm/internal/util/mapOneOrManyArgs.js","./node_modules/@angular/material/fesm2022/sidenav.mjs","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/createSuper.js","./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/inherits.js","./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","./node_modules/@babel/runtime/helpers/esm/slicedToArray.js","./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { createErrorClass } from './createErrorClass';\nexport const ObjectUnsubscribedError = createErrorClass((_super) => function ObjectUnsubscribedErrorImpl() {\n _super(this);\n this.name = 'ObjectUnsubscribedError';\n this.message = 'object unsubscribed';\n});\n","import { Observable } from './Observable';\nimport { Subscription, EMPTY_SUBSCRIPTION } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { arrRemove } from './util/arrRemove';\nimport { errorContext } from './util/errorContext';\nexport class Subject extends Observable {\n constructor() {\n super();\n this.closed = false;\n this.currentObservers = null;\n this.observers = [];\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n lift(operator) {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n }\n _throwIfClosed() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n }\n next(value) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n if (!this.currentObservers) {\n this.currentObservers = Array.from(this.observers);\n }\n for (const observer of this.currentObservers) {\n observer.next(value);\n }\n }\n });\n }\n error(err) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.hasError = this.isStopped = true;\n this.thrownError = err;\n const { observers } = this;\n while (observers.length) {\n observers.shift().error(err);\n }\n }\n });\n }\n complete() {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.isStopped = true;\n const { observers } = this;\n while (observers.length) {\n observers.shift().complete();\n }\n }\n });\n }\n unsubscribe() {\n this.isStopped = this.closed = true;\n this.observers = this.currentObservers = null;\n }\n get observed() {\n var _a;\n return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;\n }\n _trySubscribe(subscriber) {\n this._throwIfClosed();\n return super._trySubscribe(subscriber);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._checkFinalizedStatuses(subscriber);\n return this._innerSubscribe(subscriber);\n }\n _innerSubscribe(subscriber) {\n const { hasError, isStopped, observers } = this;\n if (hasError || isStopped) {\n return EMPTY_SUBSCRIPTION;\n }\n this.currentObservers = null;\n observers.push(subscriber);\n return new Subscription(() => {\n this.currentObservers = null;\n arrRemove(observers, subscriber);\n });\n }\n _checkFinalizedStatuses(subscriber) {\n const { hasError, thrownError, isStopped } = this;\n if (hasError) {\n subscriber.error(thrownError);\n }\n else if (isStopped) {\n subscriber.complete();\n }\n }\n asObservable() {\n const observable = new Observable();\n observable.source = this;\n return observable;\n }\n}\nSubject.create = (destination, source) => {\n return new AnonymousSubject(destination, source);\n};\nexport class AnonymousSubject extends Subject {\n constructor(destination, source) {\n super();\n this.destination = destination;\n this.source = source;\n }\n next(value) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);\n }\n error(err) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);\n }\n complete() {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);\n }\n _subscribe(subscriber) {\n var _a, _b;\n return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;\n }\n}\n","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}\n","import { mergeAll } from './mergeAll';\nexport function concatAll() {\n return mergeAll(1);\n}\n","import { Observable } from '../Observable';\nexport const EMPTY = new Observable((subscriber) => subscriber.complete());\nexport function empty(scheduler) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n return new Observable((subscriber) => scheduler.schedule(() => subscriber.complete()));\n}\n","import { operate } from '../util/lift';\nexport function subscribeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay));\n });\n}\n","import { Observable } from '../Observable';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleAsyncIterable(input, scheduler) {\n if (!input) {\n throw new Error('Iterable cannot be null');\n }\n return new Observable((subscriber) => {\n executeSchedule(subscriber, scheduler, () => {\n const iterator = input[Symbol.asyncIterator]();\n executeSchedule(subscriber, scheduler, () => {\n iterator.next().then((result) => {\n if (result.done) {\n subscriber.complete();\n }\n else {\n subscriber.next(result.value);\n }\n });\n }, 0, true);\n });\n });\n}\n","import { scheduled } from '../scheduled/scheduled';\nimport { innerFrom } from './innerFrom';\nexport function from(input, scheduler) {\n return scheduler ? scheduled(input, scheduler) : innerFrom(input);\n}\n","import { scheduleObservable } from './scheduleObservable';\nimport { schedulePromise } from './schedulePromise';\nimport { scheduleArray } from './scheduleArray';\nimport { scheduleIterable } from './scheduleIterable';\nimport { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isPromise } from '../util/isPromise';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isIterable } from '../util/isIterable';\nimport { isAsyncIterable } from '../util/isAsyncIterable';\nimport { createInvalidObservableTypeError } from '../util/throwUnobservableError';\nimport { isReadableStreamLike } from '../util/isReadableStreamLike';\nimport { scheduleReadableStreamLike } from './scheduleReadableStreamLike';\nexport function scheduled(input, scheduler) {\n if (input != null) {\n if (isInteropObservable(input)) {\n return scheduleObservable(input, scheduler);\n }\n if (isArrayLike(input)) {\n return scheduleArray(input, scheduler);\n }\n if (isPromise(input)) {\n return schedulePromise(input, scheduler);\n }\n if (isAsyncIterable(input)) {\n return scheduleAsyncIterable(input, scheduler);\n }\n if (isIterable(input)) {\n return scheduleIterable(input, scheduler);\n }\n if (isReadableStreamLike(input)) {\n return scheduleReadableStreamLike(input, scheduler);\n }\n }\n throw createInvalidObservableTypeError(input);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function scheduleObservable(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nexport function scheduleArray(input, scheduler) {\n return new Observable((subscriber) => {\n let i = 0;\n return scheduler.schedule(function () {\n if (i === input.length) {\n subscriber.complete();\n }\n else {\n subscriber.next(input[i++]);\n if (!subscriber.closed) {\n this.schedule();\n }\n }\n });\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function schedulePromise(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from '../util/isFunction';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleIterable(input, scheduler) {\n return new Observable((subscriber) => {\n let iterator;\n executeSchedule(subscriber, scheduler, () => {\n iterator = input[Symbol_iterator]();\n executeSchedule(subscriber, scheduler, () => {\n let value;\n let done;\n try {\n ({ value, done } = iterator.next());\n }\n catch (err) {\n subscriber.error(err);\n return;\n }\n if (done) {\n subscriber.complete();\n }\n else {\n subscriber.next(value);\n }\n }, 0, true);\n });\n return () => isFunction(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return();\n });\n}\n","import { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { readableStreamLikeToAsyncGenerator } from '../util/isReadableStreamLike';\nexport function scheduleReadableStreamLike(input, scheduler) {\n return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { Observable } from '../Observable';\nimport { mergeMap } from '../operators/mergeMap';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isFunction } from '../util/isFunction';\nimport { mapOneOrManyArgs } from '../util/mapOneOrManyArgs';\nconst nodeEventEmitterMethods = ['addListener', 'removeListener'];\nconst eventTargetMethods = ['addEventListener', 'removeEventListener'];\nconst jqueryMethods = ['on', 'off'];\nexport function fromEvent(target, eventName, options, resultSelector) {\n if (isFunction(options)) {\n resultSelector = options;\n options = undefined;\n }\n if (resultSelector) {\n return fromEvent(target, eventName, options).pipe(mapOneOrManyArgs(resultSelector));\n }\n const [add, remove] = isEventTarget(target)\n ? eventTargetMethods.map((methodName) => (handler) => target[methodName](eventName, handler, options))\n :\n isNodeStyleEventEmitter(target)\n ? nodeEventEmitterMethods.map(toCommonHandlerRegistry(target, eventName))\n : isJQueryStyleEventEmitter(target)\n ? jqueryMethods.map(toCommonHandlerRegistry(target, eventName))\n : [];\n if (!add) {\n if (isArrayLike(target)) {\n return mergeMap((subTarget) => fromEvent(subTarget, eventName, options))(innerFrom(target));\n }\n }\n if (!add) {\n throw new TypeError('Invalid event target');\n }\n return new Observable((subscriber) => {\n const handler = (...args) => subscriber.next(1 < args.length ? args : args[0]);\n add(handler);\n return () => remove(handler);\n });\n}\nfunction toCommonHandlerRegistry(target, eventName) {\n return (methodName) => (handler) => target[methodName](eventName, handler);\n}\nfunction isNodeStyleEventEmitter(target) {\n return isFunction(target.addListener) && isFunction(target.removeListener);\n}\nfunction isJQueryStyleEventEmitter(target) {\n return isFunction(target.on) && isFunction(target.off);\n}\nfunction isEventTarget(target) {\n return isFunction(target.addEventListener) && isFunction(target.removeEventListener);\n}\n","import { mergeAll } from '../operators/mergeAll';\nimport { innerFrom } from './innerFrom';\nimport { EMPTY } from './empty';\nimport { popNumber, popScheduler } from '../util/args';\nimport { from } from './from';\nexport function merge(...args) {\n const scheduler = popScheduler(args);\n const concurrent = popNumber(args, Infinity);\n const sources = args;\n return !sources.length\n ?\n EMPTY\n : sources.length === 1\n ?\n innerFrom(sources[0])\n :\n mergeAll(concurrent)(from(sources, scheduler));\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","import { asyncScheduler } from '../scheduler/async';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function debounceTime(dueTime, scheduler = asyncScheduler) {\n return operate((source, subscriber) => {\n let activeTask = null;\n let lastValue = null;\n let lastTime = null;\n const emit = () => {\n if (activeTask) {\n activeTask.unsubscribe();\n activeTask = null;\n const value = lastValue;\n lastValue = null;\n subscriber.next(value);\n }\n };\n function emitWhenIdle() {\n const targetTime = lastTime + dueTime;\n const now = scheduler.now();\n if (now < targetTime) {\n activeTask = this.schedule(undefined, targetTime - now);\n subscriber.add(activeTask);\n return;\n }\n emit();\n }\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n lastValue = value;\n lastTime = scheduler.now();\n if (!activeTask) {\n activeTask = scheduler.schedule(emitWhenIdle, dueTime);\n subscriber.add(activeTask);\n }\n }, () => {\n emit();\n subscriber.complete();\n }, undefined, () => {\n lastValue = activeTask = null;\n }));\n });\n}\n","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 if (first || !comparator(previousKey, currentKey)) {\n first = false;\n previousKey = currentKey;\n subscriber.next(value);\n }\n }));\n });\n}\nfunction defaultCompare(a, b) {\n return a === b;\n}\n","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}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function map(project, thisArg) {\n return operate((source, subscriber) => {\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n subscriber.next(project.call(thisArg, value, index++));\n }));\n });\n}\n","import { map } from './map';\nexport function mapTo(value) {\n return map(() => value);\n}\n","import { mergeMap } from './mergeMap';\nimport { identity } from '../util/identity';\nexport function mergeAll(concurrent = Infinity) {\n return mergeMap(identity, concurrent);\n}\n","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 }\n else if (typeof resultSelector === 'number') {\n concurrent = resultSelector;\n }\n return operate((source, subscriber) => mergeInternals(source, subscriber, project, concurrent));\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { executeSchedule } from '../util/executeSchedule';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function mergeInternals(source, subscriber, project, concurrent, onBeforeNext, expand, innerSubScheduler, additionalFinalizer) {\n const buffer = [];\n let active = 0;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => {\n if (isComplete && !buffer.length && !active) {\n subscriber.complete();\n }\n };\n const outerNext = (value) => (active < concurrent ? doInnerSub(value) : buffer.push(value));\n const doInnerSub = (value) => {\n expand && subscriber.next(value);\n active++;\n let innerComplete = false;\n innerFrom(project(value, index++)).subscribe(createOperatorSubscriber(subscriber, (innerValue) => {\n onBeforeNext === null || onBeforeNext === void 0 ? void 0 : onBeforeNext(innerValue);\n if (expand) {\n outerNext(innerValue);\n }\n else {\n subscriber.next(innerValue);\n }\n }, () => {\n innerComplete = true;\n }, undefined, () => {\n if (innerComplete) {\n try {\n active--;\n while (buffer.length && active < concurrent) {\n const bufferedValue = buffer.shift();\n if (innerSubScheduler) {\n executeSchedule(subscriber, innerSubScheduler, () => doInnerSub(bufferedValue));\n }\n else {\n doInnerSub(bufferedValue);\n }\n }\n checkComplete();\n }\n catch (err) {\n subscriber.error(err);\n }\n }\n }));\n };\n source.subscribe(createOperatorSubscriber(subscriber, outerNext, () => {\n isComplete = true;\n checkComplete();\n }));\n return () => {\n additionalFinalizer === null || additionalFinalizer === void 0 ? void 0 : additionalFinalizer();\n };\n}\n","import { executeSchedule } from '../util/executeSchedule';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function observeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, (value) => executeSchedule(subscriber, scheduler, () => subscriber.next(value), delay), () => executeSchedule(subscriber, scheduler, () => subscriber.complete(), delay), (err) => executeSchedule(subscriber, scheduler, () => subscriber.error(err), delay)));\n });\n}\n","import { concat } from '../observable/concat';\nimport { popScheduler } from '../util/args';\nimport { operate } from '../util/lift';\nexport function startWith(...values) {\n const scheduler = popScheduler(values);\n return operate((source, subscriber) => {\n (scheduler ? concat(values, source, scheduler) : concat(values, source)).subscribe(subscriber);\n });\n}\n","import { EMPTY } from '../observable/empty';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function take(count) {\n return count <= 0\n ?\n () => EMPTY\n : operate((source, subscriber) => {\n let seen = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n if (++seen <= count) {\n subscriber.next(value);\n if (count <= seen) {\n subscriber.complete();\n }\n }\n }));\n });\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { innerFrom } from '../observable/innerFrom';\nimport { noop } from '../util/noop';\nexport function takeUntil(notifier) {\n return operate((source, subscriber) => {\n innerFrom(notifier).subscribe(createOperatorSubscriber(subscriber, () => subscriber.complete(), noop));\n !subscriber.closed && source.subscribe(subscriber);\n });\n}\n","import { Subscription } from '../Subscription';\nexport class Action extends Subscription {\n constructor(scheduler, work) {\n super();\n }\n schedule(state, delay = 0) {\n return this;\n }\n}\n","export const intervalProvider = {\n setInterval(handler, timeout, ...args) {\n const { delegate } = intervalProvider;\n if (delegate === null || delegate === void 0 ? void 0 : delegate.setInterval) {\n return delegate.setInterval(handler, timeout, ...args);\n }\n return setInterval(handler, timeout, ...args);\n },\n clearInterval(handle) {\n const { delegate } = intervalProvider;\n return ((delegate === null || delegate === void 0 ? void 0 : delegate.clearInterval) || clearInterval)(handle);\n },\n delegate: undefined,\n};\n","import { Action } from './Action';\nimport { intervalProvider } from './intervalProvider';\nimport { arrRemove } from '../util/arrRemove';\nexport class AsyncAction extends Action {\n constructor(scheduler, work) {\n super(scheduler, work);\n this.scheduler = scheduler;\n this.work = work;\n this.pending = false;\n }\n schedule(state, delay = 0) {\n var _a;\n if (this.closed) {\n return this;\n }\n this.state = state;\n const id = this.id;\n const scheduler = this.scheduler;\n if (id != null) {\n this.id = this.recycleAsyncId(scheduler, id, delay);\n }\n this.pending = true;\n this.delay = delay;\n this.id = (_a = this.id) !== null && _a !== void 0 ? _a : this.requestAsyncId(scheduler, this.id, delay);\n return this;\n }\n requestAsyncId(scheduler, _id, delay = 0) {\n return intervalProvider.setInterval(scheduler.flush.bind(scheduler, this), delay);\n }\n recycleAsyncId(_scheduler, id, delay = 0) {\n if (delay != null && this.delay === delay && this.pending === false) {\n return id;\n }\n if (id != null) {\n intervalProvider.clearInterval(id);\n }\n return undefined;\n }\n execute(state, delay) {\n if (this.closed) {\n return new Error('executing a cancelled action');\n }\n this.pending = false;\n const error = this._execute(state, delay);\n if (error) {\n return error;\n }\n else if (this.pending === false && this.id != null) {\n this.id = this.recycleAsyncId(this.scheduler, this.id, null);\n }\n }\n _execute(state, _delay) {\n let errored = false;\n let errorValue;\n try {\n this.work(state);\n }\n catch (e) {\n errored = true;\n errorValue = e ? e : new Error('Scheduled action threw falsy error');\n }\n if (errored) {\n this.unsubscribe();\n return errorValue;\n }\n }\n unsubscribe() {\n if (!this.closed) {\n const { id, scheduler } = this;\n const { actions } = scheduler;\n this.work = this.state = this.scheduler = null;\n this.pending = false;\n arrRemove(actions, this);\n if (id != null) {\n this.id = this.recycleAsyncId(scheduler, id, null);\n }\n this.delay = null;\n super.unsubscribe();\n }\n }\n}\n","import { dateTimestampProvider } from './scheduler/dateTimestampProvider';\nexport class Scheduler {\n constructor(schedulerActionCtor, now = Scheduler.now) {\n this.schedulerActionCtor = schedulerActionCtor;\n this.now = now;\n }\n schedule(work, delay = 0, state) {\n return new this.schedulerActionCtor(this, work).schedule(state, delay);\n }\n}\nScheduler.now = dateTimestampProvider.now;\n","import { Scheduler } from '../Scheduler';\nexport class AsyncScheduler extends Scheduler {\n constructor(SchedulerAction, now = Scheduler.now) {\n super(SchedulerAction, now);\n this.actions = [];\n this._active = false;\n }\n flush(action) {\n const { actions } = this;\n if (this._active) {\n actions.push(action);\n return;\n }\n let error;\n this._active = true;\n do {\n if ((error = action.execute(action.state, action.delay))) {\n break;\n }\n } while ((action = actions.shift()));\n this._active = false;\n if (error) {\n while ((action = actions.shift())) {\n action.unsubscribe();\n }\n throw error;\n }\n }\n}\n","import { AsyncAction } from './AsyncAction';\nimport { AsyncScheduler } from './AsyncScheduler';\nexport const asyncScheduler = new AsyncScheduler(AsyncAction);\nexport const async = asyncScheduler;\n","export const dateTimestampProvider = {\n now() {\n return (dateTimestampProvider.delegate || Date).now();\n },\n delegate: undefined,\n};\n","import { isFunction } from './isFunction';\nimport { isScheduler } from './isScheduler';\nfunction last(arr) {\n return arr[arr.length - 1];\n}\nexport function popResultSelector(args) {\n return isFunction(last(args)) ? args.pop() : undefined;\n}\nexport function popScheduler(args) {\n return isScheduler(last(args)) ? args.pop() : undefined;\n}\nexport function popNumber(args, defaultValue) {\n return typeof last(args) === 'number' ? args.pop() : defaultValue;\n}\n","export function executeSchedule(parentSubscription, scheduler, work, delay = 0, repeat = false) {\n const scheduleSubscription = scheduler.schedule(function () {\n work();\n if (repeat) {\n parentSubscription.add(this.schedule(null, delay));\n }\n else {\n this.unsubscribe();\n }\n }, delay);\n parentSubscription.add(scheduleSubscription);\n if (!repeat) {\n return scheduleSubscription;\n }\n}\n","import { isFunction } from './isFunction';\nexport function isScheduler(value) {\n return value && isFunction(value.schedule);\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","import { map } from \"../operators/map\";\nconst { isArray } = Array;\nfunction callOrApply(fn, args) {\n return isArray(args) ? fn(...args) : fn(args);\n}\nexport function mapOneOrManyArgs(fn) {\n return map(args => callOrApply(fn, args));\n}\n","import * as i1 from '@angular/cdk/scrolling';\nimport { CdkScrollable, CdkScrollableModule } from '@angular/cdk/scrolling';\nimport * as i5 from '@angular/common';\nimport { DOCUMENT, CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { InjectionToken, forwardRef, Component, ChangeDetectionStrategy, ViewEncapsulation, Inject, EventEmitter, Optional, Input, Output, ViewChild, QueryList, ContentChildren, ContentChild, NgModule } from '@angular/core';\nimport { MatCommonModule } from '@angular/material/core';\nimport * as i2 from '@angular/cdk/a11y';\nimport * as i4 from '@angular/cdk/bidi';\nimport { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';\nimport { ESCAPE, hasModifierKey } from '@angular/cdk/keycodes';\nimport * as i3 from '@angular/cdk/platform';\nimport { Subject, fromEvent, merge } from 'rxjs';\nimport { filter, map, mapTo, takeUntil, distinctUntilChanged, take, startWith, debounceTime } from 'rxjs/operators';\nimport { trigger, state, style, transition, animate } from '@angular/animations';\nimport { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';\n\n/**\n * Animations used by the Material drawers.\n * @docs-private\n */\nconst matDrawerAnimations = {\n /** Animation that slides a drawer in and out. */\n transformDrawer: trigger('transform', [\n // We remove the `transform` here completely, rather than setting it to zero, because:\n // 1. Having a transform can cause elements with ripples or an animated\n // transform to shift around in Chrome with an RTL layout (see #10023).\n // 2. 3d transforms causes text to appear blurry on IE and Edge.\n state('open, open-instant', style({\n 'transform': 'none',\n 'visibility': 'visible',\n })),\n state('void', style({\n // Avoids the shadow showing up when closed in SSR.\n 'box-shadow': 'none',\n 'visibility': 'hidden',\n })),\n transition('void => open-instant', animate('0ms')),\n transition('void <=> open, open-instant => void', animate('400ms cubic-bezier(0.25, 0.8, 0.25, 1)')),\n ]),\n};\n\n/**\n * Throws an exception when two MatDrawer are matching the same position.\n * @docs-private\n */\nfunction throwMatDuplicatedDrawerError(position) {\n throw Error(`A drawer was already declared for 'position=\"${position}\"'`);\n}\n/** Configures whether drawers should use auto sizing by default. */\nconst MAT_DRAWER_DEFAULT_AUTOSIZE = new InjectionToken('MAT_DRAWER_DEFAULT_AUTOSIZE', {\n providedIn: 'root',\n factory: MAT_DRAWER_DEFAULT_AUTOSIZE_FACTORY,\n});\n/**\n * Used to provide a drawer container to a drawer while avoiding circular references.\n * @docs-private\n */\nconst MAT_DRAWER_CONTAINER = new InjectionToken('MAT_DRAWER_CONTAINER');\n/** @docs-private */\nfunction MAT_DRAWER_DEFAULT_AUTOSIZE_FACTORY() {\n return false;\n}\nclass MatDrawerContent extends CdkScrollable {\n constructor(_changeDetectorRef, _container, elementRef, scrollDispatcher, ngZone) {\n super(elementRef, scrollDispatcher, ngZone);\n this._changeDetectorRef = _changeDetectorRef;\n this._container = _container;\n }\n ngAfterContentInit() {\n this._container._contentMarginChanges.subscribe(() => {\n this._changeDetectorRef.markForCheck();\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDrawerContent, deps: [{ token: i0.ChangeDetectorRef }, { token: forwardRef(() => MatDrawerContainer) }, { token: i0.ElementRef }, { token: i1.ScrollDispatcher }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatDrawerContent, selector: \"mat-drawer-content\", host: { attributes: { \"ngSkipHydration\": \"\" }, properties: { \"style.margin-left.px\": \"_container._contentMargins.left\", \"style.margin-right.px\": \"_container._contentMargins.right\" }, classAttribute: \"mat-drawer-content\" }, providers: [\n {\n provide: CdkScrollable,\n useExisting: MatDrawerContent,\n },\n ], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDrawerContent, decorators: [{\n type: Component,\n args: [{\n selector: 'mat-drawer-content',\n template: '<ng-content></ng-content>',\n host: {\n 'class': 'mat-drawer-content',\n '[style.margin-left.px]': '_container._contentMargins.left',\n '[style.margin-right.px]': '_container._contentMargins.right',\n 'ngSkipHydration': '',\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n {\n provide: CdkScrollable,\n useExisting: MatDrawerContent,\n },\n ],\n }]\n }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: MatDrawerContainer, decorators: [{\n type: Inject,\n args: [forwardRef(() => MatDrawerContainer)]\n }] }, { type: i0.ElementRef }, { type: i1.ScrollDispatcher }, { type: i0.NgZone }]; } });\n/**\n * This component corresponds to a drawer that can be opened on the drawer container.\n */\nclass MatDrawer {\n /** The side that the drawer is attached to. */\n get position() {\n return this._position;\n }\n set position(value) {\n // Make sure we have a valid value.\n value = value === 'end' ? 'end' : 'start';\n if (value !== this._position) {\n // Static inputs in Ivy are set before the element is in the DOM.\n if (this._isAttached) {\n this._updatePositionInParent(value);\n }\n this._position = value;\n this.onPositionChanged.emit();\n }\n }\n /** Mode of the drawer; one of 'over', 'push' or 'side'. */\n get mode() {\n return this._mode;\n }\n set mode(value) {\n this._mode = value;\n this._updateFocusTrapState();\n this._modeChanged.next();\n }\n /** Whether the drawer can be closed with the escape key or by clicking on the backdrop. */\n get disableClose() {\n return this._disableClose;\n }\n set disableClose(value) {\n this._disableClose = coerceBooleanProperty(value);\n }\n /**\n * Whether the drawer should focus the first focusable element automatically when opened.\n * Defaults to false in when `mode` is set to `side`, otherwise defaults to `true`. If explicitly\n * enabled, focus will be moved into the sidenav in `side` mode as well.\n * @breaking-change 14.0.0 Remove boolean option from autoFocus. Use string or AutoFocusTarget\n * instead.\n */\n get autoFocus() {\n const value = this._autoFocus;\n // Note that usually we don't allow autoFocus to be set to `first-tabbable` in `side` mode,\n // because we don't know how the sidenav is being used, but in some cases it still makes\n // sense to do it. The consumer can explicitly set `autoFocus`.\n if (value == null) {\n if (this.mode === 'side') {\n return 'dialog';\n }\n else {\n return 'first-tabbable';\n }\n }\n return value;\n }\n set autoFocus(value) {\n if (value === 'true' || value === 'false' || value == null) {\n value = coerceBooleanProperty(value);\n }\n this._autoFocus = value;\n }\n /**\n * Whether the drawer is opened. We overload this because we trigger an event when it\n * starts or end.\n */\n get opened() {\n return this._opened;\n }\n set opened(value) {\n this.toggle(coerceBooleanProperty(value));\n }\n constructor(_elementRef, _focusTrapFactory, _focusMonitor, _platform, _ngZone, _interactivityChecker, _doc, _container) {\n this._elementRef = _elementRef;\n this._focusTrapFactory = _focusTrapFactory;\n this._focusMonitor = _focusMonitor;\n this._platform = _platform;\n this._ngZone = _ngZone;\n this._interactivityChecker = _interactivityChecker;\n this._doc = _doc;\n this._container = _container;\n this._elementFocusedBeforeDrawerWasOpened = null;\n /** Whether the drawer is initialized. Used for disabling the initial animation. */\n this._enableAnimations = false;\n this._position = 'start';\n this._mode = 'over';\n this._disableClose = false;\n this._opened = false;\n /** Emits whenever the drawer has started animating. */\n this._animationStarted = new Subject();\n /** Emits whenever the drawer is done animating. */\n this._animationEnd = new Subject();\n /** Current state of the sidenav animation. */\n this._animationState = 'void';\n /** Event emitted when the drawer open state is changed. */\n this.openedChange = \n // Note this has to be async in order to avoid some issues with two-bindings (see #8872).\n new EventEmitter(/* isAsync */ true);\n /** Event emitted when the drawer has been opened. */\n this._openedStream = this.openedChange.pipe(filter(o => o), map(() => { }));\n /** Event emitted when the drawer has started opening. */\n this.openedStart = this._animationStarted.pipe(filter(e => e.fromState !== e.toState && e.toState.indexOf('open') === 0), mapTo(undefined));\n /** Event emitted when the drawer has been closed. */\n this._closedStream = this.openedChange.pipe(filter(o => !o), map(() => { }));\n /** Event emitted when the drawer has started closing. */\n this.closedStart = this._animationStarted.pipe(filter(e => e.fromState !== e.toState && e.toState === 'void'), mapTo(undefined));\n /** Emits when the component is destroyed. */\n this._destroyed = new Subject();\n /** Event emitted when the drawer's position changes. */\n // tslint:disable-next-line:no-output-on-prefix\n this.onPositionChanged = new EventEmitter();\n /**\n * An observable that emits when the drawer mode changes. This is used by the drawer container to\n * to know when to when the mode changes so it can adapt the margins on the content.\n */\n this._modeChanged = new Subject();\n this.openedChange.subscribe((opened) => {\n if (opened) {\n if (this._doc) {\n this._elementFocusedBeforeDrawerWasOpened = this._doc.activeElement;\n }\n this._takeFocus();\n }\n else if (this._isFocusWithinDrawer()) {\n this._restoreFocus(this._openedVia || 'program');\n }\n });\n /**\n * Listen to `keydown` events outside the zone so that change detection is not run every\n * time a key is pressed. Instead we re-enter the zone only if the `ESC` key is pressed\n * and we don't have close disabled.\n */\n this._ngZone.runOutsideAngular(() => {\n fromEvent(this._elementRef.nativeElement, 'keydown')\n .pipe(filter(event => {\n return event.keyCode === ESCAPE && !this.disableClose && !hasModifierKey(event);\n }), takeUntil(this._destroyed))\n .subscribe(event => this._ngZone.run(() => {\n this.close();\n event.stopPropagation();\n event.preventDefault();\n }));\n });\n // We need a Subject with distinctUntilChanged, because the `done` event\n // fires twice on some browsers. See https://github.com/angular/angular/issues/24084\n this._animationEnd\n .pipe(distinctUntilChanged((x, y) => {\n return x.fromState === y.fromState && x.toState === y.toState;\n }))\n .subscribe((event) => {\n const { fromState, toState } = event;\n if ((toState.indexOf('open') === 0 && fromState === 'void') ||\n (toState === 'void' && fromState.indexOf('open') === 0)) {\n this.openedChange.emit(this._opened);\n }\n });\n }\n /**\n * Focuses the provided element. If the element is not focusable, it will add a tabIndex\n * attribute to forcefully focus it. The attribute is removed after focus is moved.\n * @param element The element to focus.\n */\n _forceFocus(element, options) {\n if (!this._interactivityChecker.isFocusable(element)) {\n element.tabIndex = -1;\n // The tabindex attribute should be removed to avoid navigating to that element again\n this._ngZone.runOutsideAngular(() => {\n const callback = () => {\n element.removeEventListener('blur', callback);\n element.removeEventListener('mousedown', callback);\n element.removeAttribute('tabindex');\n };\n element.addEventListener('blur', callback);\n element.addEventListener('mousedown', callback);\n });\n }\n element.focus(options);\n }\n /**\n * Focuses the first element that matches the given selector within the focus trap.\n * @param selector The CSS selector for the element to set focus to.\n */\n _focusByCssSelector(selector, options) {\n let elementToFocus = this._elementRef.nativeElement.querySelector(selector);\n if (elementToFocus) {\n this._forceFocus(elementToFocus, options);\n }\n }\n /**\n * Moves focus into the drawer. Note that this works even if\n * the focus trap is disabled in `side` mode.\n */\n _takeFocus() {\n if (!this._focusTrap) {\n return;\n }\n const element = this._elementRef.nativeElement;\n // When autoFocus is not on the sidenav, if the element cannot be focused or does\n // not exist, focus the sidenav itself so the keyboard navigation still works.\n // We need to check that `focus` is a function due to Universal.\n switch (this.autoFocus) {\n case false:\n case 'dialog':\n return;\n case true:\n case 'first-tabbable':\n this._focusTrap.focusInitialElementWhenReady().then(hasMovedFocus => {\n if (!hasMovedFocus && typeof this._elementRef.nativeElement.focus === 'function') {\n element.focus();\n }\n });\n break;\n case 'first-heading':\n this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role=\"heading\"]');\n break;\n default:\n this._focusByCssSelector(this.autoFocus);\n break;\n }\n }\n /**\n * Restores focus to the element that was originally focused when the drawer opened.\n * If no element was focused at that time, the focus will be restored to the drawer.\n */\n _restoreFocus(focusOrigin) {\n if (this.autoFocus === 'dialog') {\n return;\n }\n if (this._elementFocusedBeforeDrawerWasOpened) {\n this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened, focusOrigin);\n }\n else {\n this._elementRef.nativeElement.blur();\n }\n this._elementFocusedBeforeDrawerWasOpened = null;\n }\n /** Whether focus is currently within the drawer. */\n _isFocusWithinDrawer() {\n const activeEl = this._doc.activeElement;\n return !!activeEl && this._elementRef.nativeElement.contains(activeEl);\n }\n ngAfterViewInit() {\n this._isAttached = true;\n this._focusTrap = this._focusTrapFactory.create(this._elementRef.nativeElement);\n this._updateFocusTrapState();\n // Only update the DOM position when the sidenav is positioned at\n // the end since we project the sidenav before the content by default.\n if (this._position === 'end') {\n this._updatePositionInParent('end');\n }\n }\n ngAfterContentChecked() {\n // Enable the animations after the lifecycle hooks have run, in order to avoid animating\n // drawers that are open by default. When we're on the server, we shouldn't enable the\n // animations, because we don't want the drawer to animate the first time the user sees\n // the page.\n if (this._platform.isBrowser) {\n this._enableAnimations = true;\n }\n }\n ngOnDestroy() {\n if (this._focusTrap) {\n this._focusTrap.destroy();\n }\n this._anchor?.remove();\n this._anchor = null;\n this._animationStarted.complete();\n this._animationEnd.complete();\n this._modeChanged.complete();\n this._destroyed.next();\n this._destroyed.complete();\n }\n /**\n * Open the drawer.\n * @param openedVia Whether the drawer was opened by a key press, mouse click or programmatically.\n * Used for focus management after the sidenav is closed.\n */\n open(openedVia) {\n return this.toggle(true, openedVia);\n }\n /** Close the drawer. */\n close() {\n return this.toggle(false);\n }\n /** Closes the drawer with context that the backdrop was clicked. */\n _closeViaBackdropClick() {\n // If the drawer is closed upon a backdrop click, we always want to restore focus. We\n // don't need to check whether focus is currently in the drawer, as clicking on the\n // backdrop causes blurs the active element.\n return this._setOpen(/* isOpen */ false, /* restoreFocus */ true, 'mouse');\n }\n /**\n * Toggle this drawer.\n * @param isOpen Whether the drawer should be open.\n * @param openedVia Whether the drawer was opened by a key press, mouse click or programmatically.\n * Used for focus management after the sidenav is closed.\n */\n toggle(isOpen = !this.opened, openedVia) {\n // If the focus is currently inside the drawer content and we are closing the drawer,\n // restore the focus to the initially focused element (when the drawer opened).\n if (isOpen && openedVia) {\n this._openedVia = openedVia;\n }\n const result = this._setOpen(isOpen, \n /* restoreFocus */ !isOpen && this._isFocusWithinDrawer(), this._openedVia || 'program');\n if (!isOpen) {\n this._openedVia = null;\n }\n return result;\n }\n /**\n * Toggles the opened state of the drawer.\n * @param isOpen Whether the drawer should open or close.\n * @param restoreFocus Whether focus should be restored on close.\n * @param focusOrigin Origin to use when restoring focus.\n */\n _setOpen(isOpen, restoreFocus, focusOrigin) {\n this._opened = isOpen;\n if (isOpen) {\n this._animationState = this._enableAnimations ? 'open' : 'open-instant';\n }\n else {\n this._animationState = 'void';\n if (restoreFocus) {\n this._restoreFocus(focusOrigin);\n }\n }\n this._updateFocusTrapState();\n return new Promise(resolve => {\n this.openedChange.pipe(take(1)).subscribe(open => resolve(open ? 'open' : 'close'));\n });\n }\n _getWidth() {\n return this._elementRef.nativeElement ? this._elementRef.nativeElement.offsetWidth || 0 : 0;\n }\n /** Updates the enabled state of the focus trap. */\n _updateFocusTrapState() {\n if (this._focusTrap) {\n // The focus trap is only enabled when the drawer is open in any mode other than side.\n this._focusTrap.enabled = this.opened && this.mode !== 'side';\n }\n }\n /**\n * Updates the position of the drawer in the DOM. We need to move the element around ourselves\n * when it's in the `end` position so that it comes after the content and the visual order\n * matches the tab order. We also need to be able to move it back to `start` if the sidenav\n * started off as `end` and was changed to `start`.\n */\n _updatePositionInParent(newPosition) {\n const element = this._elementRef.nativeElement;\n const parent = element.parentNode;\n if (newPosition === 'end') {\n if (!this._anchor) {\n this._anchor = this._doc.createComment('mat-drawer-anchor');\n parent.insertBefore(this._anchor, element);\n }\n parent.appendChild(element);\n }\n else if (this._anchor) {\n this._anchor.parentNode.insertBefore(element, this._anchor);\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDrawer, deps: [{ token: i0.ElementRef }, { token: i2.FocusTrapFactory }, { token: i2.FocusMonitor }, { token: i3.Platform }, { token: i0.NgZone }, { token: i2.InteractivityChecker }, { token: DOCUMENT, optional: true }, { token: MAT_DRAWER_CONTAINER, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatDrawer, selector: \"mat-drawer\", inputs: { position: \"position\", mode: \"mode\", disableClose: \"disableClose\", autoFocus: \"autoFocus\", opened: \"opened\" }, outputs: { openedChange: \"openedChange\", _openedStream: \"opened\", openedStart: \"openedStart\", _closedStream: \"closed\", closedStart: \"closedStart\", onPositionChanged: \"positionChanged\" }, host: { attributes: { \"tabIndex\": \"-1\", \"ngSkipHydration\": \"\" }, listeners: { \"@transform.start\": \"_animationStarted.next($event)\", \"@transform.done\": \"_animationEnd.next($event)\" }, properties: { \"attr.align\": \"null\", \"class.mat-drawer-end\": \"position === \\\"end\\\"\", \"class.mat-drawer-over\": \"mode === \\\"over\\\"\", \"class.mat-drawer-push\": \"mode === \\\"push\\\"\", \"class.mat-drawer-side\": \"mode === \\\"side\\\"\", \"class.mat-drawer-opened\": \"opened\", \"@transform\": \"_animationState\" }, classAttribute: \"mat-drawer\" }, viewQueries: [{ propertyName: \"_content\", first: true, predicate: [\"content\"], descendants: true }], exportAs: [\"matDrawer\"], ngImport: i0, template: \"<div class=\\\"mat-drawer-inner-container\\\" cdkScrollable #content>\\r\\n <ng-content></ng-content>\\r\\n</div>\\r\\n\", dependencies: [{ kind: \"directive\", type: i1.CdkScrollable, selector: \"[cdk-scrollable], [cdkScrollable]\" }], animations: [matDrawerAnimations.transformDrawer], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDrawer, decorators: [{\n type: Component,\n args: [{ selector: 'mat-drawer', exportAs: 'matDrawer', animations: [matDrawerAnimations.transformDrawer], host: {\n 'class': 'mat-drawer',\n // must prevent the browser from aligning text based on value\n '[attr.align]': 'null',\n '[class.mat-drawer-end]': 'position === \"end\"',\n '[class.mat-drawer-over]': 'mode === \"over\"',\n '[class.mat-drawer-push]': 'mode === \"push\"',\n '[class.mat-drawer-side]': 'mode === \"side\"',\n '[class.mat-drawer-opened]': 'opened',\n 'tabIndex': '-1',\n '[@transform]': '_animationState',\n '(@transform.start)': '_animationStarted.next($event)',\n '(@transform.done)': '_animationEnd.next($event)',\n 'ngSkipHydration': '',\n }, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: \"<div class=\\\"mat-drawer-inner-container\\\" cdkScrollable #content>\\r\\n <ng-content></ng-content>\\r\\n</div>\\r\\n\" }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i2.FocusTrapFactory }, { type: i2.FocusMonitor }, { type: i3.Platform }, { type: i0.NgZone }, { type: i2.InteractivityChecker }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: MatDrawerContainer, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_DRAWER_CONTAINER]\n }] }]; }, propDecorators: { position: [{\n type: Input\n }], mode: [{\n type: Input\n }], disableClose: [{\n type: Input\n }], autoFocus: [{\n type: Input\n }], opened: [{\n type: Input\n }], openedChange: [{\n type: Output\n }], _openedStream: [{\n type: Output,\n args: ['opened']\n }], openedStart: [{\n type: Output\n }], _closedStream: [{\n type: Output,\n args: ['closed']\n }], closedStart: [{\n type: Output\n }], onPositionChanged: [{\n type: Output,\n args: ['positionChanged']\n }], _content: [{\n type: ViewChild,\n args: ['content']\n }] } });\n/**\n * `<mat-drawer-container>` component.\n *\n * This is the parent component to one or two `<mat-drawer>`s that validates the state internally\n * and coordinates the backdrop and content styling.\n */\nclass MatDrawerContainer {\n /** The drawer child with the `start` position. */\n get start() {\n return this._start;\n }\n /** The drawer child with the `end` position. */\n get end() {\n return this._end;\n }\n /**\n * Whether to automatically resize the container whenever\n * the size of any of its drawers changes.\n *\n * **Use at your own risk!** Enabling this option can cause layout thrashing by measuring\n * the drawers on every change detection cycle. Can be configured globally via the\n * `MAT_DRAWER_DEFAULT_AUTOSIZE` token.\n */\n get autosize() {\n return this._autosize;\n }\n set autosize(value) {\n this._autosize = coerceBooleanProperty(value);\n }\n /**\n * Whether the drawer container should have a backdrop while one of the sidenavs is open.\n * If explicitly set to `true`, the backdrop will be enabled for drawers in the `side`\n * mode as well.\n */\n get hasBackdrop() {\n if (this._backdropOverride == null) {\n return !this._start || this._start.mode !== 'side' || !this._end || this._end.mode !== 'side';\n }\n return this._backdropOverride;\n }\n set hasBackdrop(value) {\n this._backdropOverride = value == null ? null : coerceBooleanProperty(value);\n }\n /** Reference to the CdkScrollable instance that wraps the scrollable content. */\n get scrollable() {\n return this._userContent || this._content;\n }\n constructor(_dir, _element, _ngZone, _changeDetectorRef, viewportRuler, defaultAutosize = false, _animationMode) {\n this._dir = _dir;\n this._element = _element;\n this._ngZone = _ngZone;\n this._changeDetectorRef = _changeDetectorRef;\n this._animationMode = _animationMode;\n /** Drawers that belong to this container. */\n this._drawers = new QueryList();\n /** Event emitted when the drawer backdrop is clicked. */\n this.backdropClick = new EventEmitter();\n /** Emits when the component is destroyed. */\n this._destroyed = new Subject();\n /** Emits on every ngDoCheck. Used for debouncing reflows. */\n this._doCheckSubject = new Subject();\n /**\n * Margins to be applied to the content. These are used to push / shrink the drawer content when a\n * drawer is open. We use margin rather than transform even for push mode because transform breaks\n * fixed position elements inside of the transformed element.\n */\n this._contentMargins = { left: null, right: null };\n this._contentMarginChanges = new Subject();\n // If a `Dir` directive exists up the tree, listen direction changes\n // and update the left/right properties to point to the proper start/end.\n if (_dir) {\n _dir.change.pipe(takeUntil(this._destroyed)).subscribe(() => {\n this._validateDrawers();\n this.updateContentMargins();\n });\n }\n // Since the minimum width of the sidenav depends on the viewport width,\n // we need to recompute the margins if the viewport changes.\n viewportRuler\n .change()\n .pipe(takeUntil(this._destroyed))\n .subscribe(() => this.updateContentMargins());\n this._autosize = defaultAutosize;\n }\n ngAfterContentInit() {\n this._allDrawers.changes\n .pipe(startWith(this._allDrawers), takeUntil(this._destroyed))\n .subscribe((drawer) => {\n this._drawers.reset(drawer.filter(item => !item._container || item._container === this));\n this._drawers.notifyOnChanges();\n });\n this._drawers.changes.pipe(startWith(null)).subscribe(() => {\n this._validateDrawers();\n this._drawers.forEach((drawer) => {\n this._watchDrawerToggle(drawer);\n this._watchDrawerPosition(drawer);\n this._watchDrawerMode(drawer);\n });\n if (!this._drawers.length ||\n this._isDrawerOpen(this._start) ||\n this._isDrawerOpen(this._end)) {\n this.updateContentMargins();\n }\n this._changeDetectorRef.markForCheck();\n });\n // Avoid hitting the NgZone through the debounce timeout.\n this._ngZone.runOutsideAngular(() => {\n this._doCheckSubject\n .pipe(debounceTime(10), // Arbitrary debounce time, less than a frame at 60fps\n takeUntil(this._destroyed))\n .subscribe(() => this.updateContentMargins());\n });\n }\n ngOnDestroy() {\n this._contentMarginChanges.complete();\n this._doCheckSubject.complete();\n this._drawers.destroy();\n this._destroyed.next();\n this._destroyed.complete();\n }\n /** Calls `open` of both start and end drawers */\n open() {\n this._drawers.forEach(drawer => drawer.open());\n }\n /** Calls `close` of both start and end drawers */\n close() {\n this._drawers.forEach(drawer => drawer.close());\n }\n /**\n * Recalculates and updates the inline styles for the content. Note that this should be used\n * sparingly, because it causes a reflow.\n */\n updateContentMargins() {\n // 1. For drawers in `over` mode, they don't affect the content.\n // 2. For drawers in `side` mode they should shrink the content. We do this by adding to the\n // left margin (for left drawer) or right margin (for right the drawer).\n // 3. For drawers in `push` mode the should shift the content without resizing it. We do this by\n // adding to the left or right margin and simultaneously subtracting the same amount of\n // margin from the other side.\n let left = 0;\n let right = 0;\n if (this._left && this._left.opened) {\n if (this._left.mode == 'side') {\n left += this._left._getWidth();\n }\n else if (this._left.mode == 'push') {\n const width = this._left._getWidth();\n left += width;\n right -= width;\n }\n }\n if (this._right && this._right.opened) {\n if (this._right.mode == 'side') {\n right += this._right._getWidth();\n }\n else if (this._right.mode == 'push') {\n const width = this._right._getWidth();\n right += width;\n left -= width;\n }\n }\n // If either `right` or `left` is zero, don't set a style to the element. This\n // allows users to specify a custom size via CSS class in SSR scenarios where the\n // measured widths will always be zero. Note that we reset to `null` here, rather\n // than below, in order to ensure that the types in the `if` below are consistent.\n left = left || null;\n right = right || null;\n if (left !== this._contentMargins.left || right !== this._contentMargins.right) {\n this._contentMargins = { left, right };\n // Pull back into the NgZone since in some cases we could be outside. We need to be careful\n // to do it only when something changed, otherwise we can end up hitting the zone too often.\n this._ngZone.run(() => this._contentMarginChanges.next(this._contentMargins));\n }\n }\n ngDoCheck() {\n // If users opted into autosizing, do a check every change detection cycle.\n if (this._autosize && this._isPushed()) {\n // Run outside the NgZone, otherwise the debouncer will throw us into an infinite loop.\n this._ngZone.runOutsideAngular(() => this._doCheckSubject.next());\n }\n }\n /**\n * Subscribes to drawer events in order to set a class on the main container element when the\n * drawer is open and the backdrop is visible. This ensures any overflow on the container element\n * is properly hidden.\n */\n _watchDrawerToggle(drawer) {\n drawer._animationStarted\n .pipe(filter((event) => event.fromState !== event.toState), takeUntil(this._drawers.changes))\n .subscribe((event) => {\n // Set the transition class on the container so that the animations occur. This should not\n // be set initially because animations should only be triggered via a change in state.\n if (event.toState !== 'open-instant' && this._animationMode !== 'NoopAnimations') {\n this._element.nativeElement.classList.add('mat-drawer-transition');\n }\n this.updateContentMargins();\n this._changeDetectorRef.markForCheck();\n });\n if (drawer.mode !== 'side') {\n drawer.openedChange\n .pipe(takeUntil(this._drawers.changes))\n .subscribe(() => this._setContainerClass(drawer.opened));\n }\n }\n /**\n * Subscribes to drawer onPositionChanged event in order to\n * re-validate drawers when the position changes.\n */\n _watchDrawerPosition(drawer) {\n if (!drawer) {\n return;\n }\n // NOTE: We need to wait for the microtask queue to be empty before validating,\n // since both drawers may be swapping positions at the same time.\n drawer.onPositionChanged.pipe(takeUntil(this._drawers.changes)).subscribe(() => {\n this._ngZone.onMicrotaskEmpty.pipe(take(1)).subscribe(() => {\n this._validateDrawers();\n });\n });\n }\n /** Subscribes to changes in drawer mode so we can run change detection. */\n _watchDrawerMode(drawer) {\n if (drawer) {\n drawer._modeChanged\n .pipe(takeUntil(merge(this._drawers.changes, this._destroyed)))\n .subscribe(() => {\n this.updateContentMargins();\n this._changeDetectorRef.markForCheck();\n });\n }\n }\n /** Toggles the 'mat-drawer-opened' class on the main 'mat-drawer-container' element. */\n _setContainerClass(isAdd) {\n const classList = this._element.nativeElement.classList;\n const className = 'mat-drawer-container-has-open';\n if (isAdd) {\n classList.add(className);\n }\n else {\n classList.remove(className);\n }\n }\n /** Validate the state of the drawer children components. */\n _validateDrawers() {\n this._start = this._end = null;\n // Ensure that we have at most one start and one end drawer.\n this._drawers.forEach(drawer => {\n if (drawer.position == 'end') {\n if (this._end != null && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throwMatDuplicatedDrawerError('end');\n }\n this._end = drawer;\n }\n else {\n if (this._start != null && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throwMatDuplicatedDrawerError('start');\n }\n this._start = drawer;\n }\n });\n this._right = this._left = null;\n // Detect if we're LTR or RTL.\n if (this._dir && this._dir.value === 'rtl') {\n this._left = this._end;\n this._right = this._start;\n }\n else {\n this._left = this._start;\n this._right = this._end;\n }\n }\n /** Whether the container is being pushed to the side by one of the drawers. */\n _isPushed() {\n return ((this._isDrawerOpen(this._start) && this._start.mode != 'over') ||\n (this._isDrawerOpen(this._end) && this._end.mode != 'over'));\n }\n _onBackdropClicked() {\n this.backdropClick.emit();\n this._closeModalDrawersViaBackdrop();\n }\n _closeModalDrawersViaBackdrop() {\n // Close all open drawers where closing is not disabled and the mode is not `side`.\n [this._start, this._end]\n .filter(drawer => drawer && !drawer.disableClose && this._canHaveBackdrop(drawer))\n .forEach(drawer => drawer._closeViaBackdropClick());\n }\n _isShowingBackdrop() {\n return ((this._isDrawerOpen(this._start) && this._canHaveBackdrop(this._start)) ||\n (this._isDrawerOpen(this._end) && this._canHaveBackdrop(this._end)));\n }\n _canHaveBackdrop(drawer) {\n return drawer.mode !== 'side' || !!this._backdropOverride;\n }\n _isDrawerOpen(drawer) {\n return drawer != null && drawer.opened;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDrawerContainer, deps: [{ token: i4.Directionality, optional: true }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i1.ViewportRuler }, { token: MAT_DRAWER_DEFAULT_AUTOSIZE }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatDrawerContainer, selector: \"mat-drawer-container\", inputs: { autosize: \"autosize\", hasBackdrop: \"hasBackdrop\" }, outputs: { backdropClick: \"backdropClick\" }, host: { attributes: { \"ngSkipHydration\": \"\" }, properties: { \"class.mat-drawer-container-explicit-backdrop\": \"_backdropOverride\" }, classAttribute: \"mat-drawer-container\" }, providers: [\n {\n provide: MAT_DRAWER_CONTAINER,\n useExisting: MatDrawerContainer,\n },\n ], queries: [{ propertyName: \"_content\", first: true, predicate: MatDrawerContent, descendants: true }, { propertyName: \"_allDrawers\", predicate: MatDrawer, descendants: true }], viewQueries: [{ propertyName: \"_userContent\", first: true, predicate: MatDrawerContent, descendants: true }], exportAs: [\"matDrawerContainer\"], ngImport: i0, template: \"<div class=\\\"mat-drawer-backdrop\\\" (click)=\\\"_onBackdropClicked()\\\" *ngIf=\\\"hasBackdrop\\\"\\n [class.mat-drawer-shown]=\\\"_isShowingBackdrop()\\\"></div>\\n\\n<ng-content select=\\\"mat-drawer\\\"></ng-content>\\n\\n<ng-content select=\\\"mat-drawer-content\\\">\\n</ng-content>\\n<mat-drawer-content *ngIf=\\\"!_content\\\">\\n <ng-content></ng-content>\\n</mat-drawer-content>\\n\", styles: [\".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*=\\\"visibility: hidden\\\"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\"], dependencies: [{ kind: \"directive\", type: i5.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"component\", type: MatDrawerContent, selector: \"mat-drawer-content\" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDrawerContainer, decorators: [{\n type: Component,\n args: [{ selector: 'mat-drawer-container', exportAs: 'matDrawerContainer', host: {\n 'class': 'mat-drawer-container',\n '[class.mat-drawer-container-explicit-backdrop]': '_backdropOverride',\n 'ngSkipHydration': '',\n }, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [\n {\n provide: MAT_DRAWER_CONTAINER,\n useExisting: MatDrawerContainer,\n },\n ], template: \"<div class=\\\"mat-drawer-backdrop\\\" (click)=\\\"_onBackdropClicked()\\\" *ngIf=\\\"hasBackdrop\\\"\\n [class.mat-drawer-shown]=\\\"_isShowingBackdrop()\\\"></div>\\n\\n<ng-content select=\\\"mat-drawer\\\"></ng-content>\\n\\n<ng-content select=\\\"mat-drawer-content\\\">\\n</ng-content>\\n<mat-drawer-content *ngIf=\\\"!_content\\\">\\n <ng-content></ng-content>\\n</mat-drawer-content>\\n\", styles: [\".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*=\\\"visibility: hidden\\\"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\"] }]\n }], ctorParameters: function () { return [{ type: i4.Directionality, decorators: [{\n type: Optional\n }] }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i1.ViewportRuler }, { type: undefined, decorators: [{\n type: Inject,\n args: [MAT_DRAWER_DEFAULT_AUTOSIZE]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }]; }, propDecorators: { _allDrawers: [{\n type: ContentChildren,\n args: [MatDrawer, {\n // We need to use `descendants: true`, because Ivy will no longer match\n // indirect descendants if it's left as false.\n descendants: true,\n }]\n }], _content: [{\n type: ContentChild,\n args: [MatDrawerContent]\n }], _userContent: [{\n type: ViewChild,\n args: [MatDrawerContent]\n }], autosize: [{\n type: Input\n }], hasBackdrop: [{\n type: Input\n }], backdropClick: [{\n type: Output\n }] } });\n\nclass MatSidenavContent extends MatDrawerContent {\n constructor(changeDetectorRef, container, elementRef, scrollDispatcher, ngZone) {\n super(changeDetectorRef, container, elementRef, scrollDispatcher, ngZone);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSidenavContent, deps: [{ token: i0.ChangeDetectorRef }, { token: forwardRef(() => MatSidenavContainer) }, { token: i0.ElementRef }, { token: i1.ScrollDispatcher }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatSidenavContent, selector: \"mat-sidenav-content\", host: { attributes: { \"ngSkipHydration\": \"\" }, properties: { \"style.margin-left.px\": \"_container._contentMargins.left\", \"style.margin-right.px\": \"_container._contentMargins.right\" }, classAttribute: \"mat-drawer-content mat-sidenav-content\" }, providers: [\n {\n provide: CdkScrollable,\n useExisting: MatSidenavContent,\n },\n ], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSidenavContent, decorators: [{\n type: Component,\n args: [{\n selector: 'mat-sidenav-content',\n template: '<ng-content></ng-content>',\n host: {\n 'class': 'mat-drawer-content mat-sidenav-content',\n '[style.margin-left.px]': '_container._contentMargins.left',\n '[style.margin-right.px]': '_container._contentMargins.right',\n 'ngSkipHydration': '',\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n {\n provide: CdkScrollable,\n useExisting: MatSidenavContent,\n },\n ],\n }]\n }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: MatSidenavContainer, decorators: [{\n type: Inject,\n args: [forwardRef(() => MatSidenavContainer)]\n }] }, { type: i0.ElementRef }, { type: i1.ScrollDispatcher }, { type: i0.NgZone }]; } });\nclass MatSidenav extends MatDrawer {\n constructor() {\n super(...arguments);\n this._fixedInViewport = false;\n this._fixedTopGap = 0;\n this._fixedBottomGap = 0;\n }\n /** Whether the sidenav is fixed in the viewport. */\n get fixedInViewport() {\n return this._fixedInViewport;\n }\n set fixedInViewport(value) {\n this._fixedInViewport = coerceBooleanProperty(value);\n }\n /**\n * The gap between the top of the sidenav and the top of the viewport when the sidenav is in fixed\n * mode.\n */\n get fixedTopGap() {\n return this._fixedTopGap;\n }\n set fixedTopGap(value) {\n this._fixedTopGap = coerceNumberProperty(value);\n }\n /**\n * The gap between the bottom of the sidenav and the bottom of the viewport when the sidenav is in\n * fixed mode.\n */\n get fixedBottomGap() {\n return this._fixedBottomGap;\n }\n set fixedBottomGap(value) {\n this._fixedBottomGap = coerceNumberProperty(value);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSidenav, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatSidenav, selector: \"mat-sidenav\", inputs: { fixedInViewport: \"fixedInViewport\", fixedTopGap: \"fixedTopGap\", fixedBottomGap: \"fixedBottomGap\" }, host: { attributes: { \"tabIndex\": \"-1\", \"ngSkipHydration\": \"\" }, properties: { \"attr.align\": \"null\", \"class.mat-drawer-end\": \"position === \\\"end\\\"\", \"class.mat-drawer-over\": \"mode === \\\"over\\\"\", \"class.mat-drawer-push\": \"mode === \\\"push\\\"\", \"class.mat-drawer-side\": \"mode === \\\"side\\\"\", \"class.mat-drawer-opened\": \"opened\", \"class.mat-sidenav-fixed\": \"fixedInViewport\", \"style.top.px\": \"fixedInViewport ? fixedTopGap : null\", \"style.bottom.px\": \"fixedInViewport ? fixedBottomGap : null\" }, classAttribute: \"mat-drawer mat-sidenav\" }, exportAs: [\"matSidenav\"], usesInheritance: true, ngImport: i0, template: \"<div class=\\\"mat-drawer-inner-container\\\" cdkScrollable #content>\\r\\n <ng-content></ng-content>\\r\\n</div>\\r\\n\", dependencies: [{ kind: \"directive\", type: i1.CdkScrollable, selector: \"[cdk-scrollable], [cdkScrollable]\" }], animations: [matDrawerAnimations.transformDrawer], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSidenav, decorators: [{\n type: Component,\n args: [{ selector: 'mat-sidenav', exportAs: 'matSidenav', animations: [matDrawerAnimations.transformDrawer], host: {\n 'class': 'mat-drawer mat-sidenav',\n 'tabIndex': '-1',\n // must prevent the browser from aligning text based on value\n '[attr.align]': 'null',\n '[class.mat-drawer-end]': 'position === \"end\"',\n '[class.mat-drawer-over]': 'mode === \"over\"',\n '[class.mat-drawer-push]': 'mode === \"push\"',\n '[class.mat-drawer-side]': 'mode === \"side\"',\n '[class.mat-drawer-opened]': 'opened',\n '[class.mat-sidenav-fixed]': 'fixedInViewport',\n '[style.top.px]': 'fixedInViewport ? fixedTopGap : null',\n '[style.bottom.px]': 'fixedInViewport ? fixedBottomGap : null',\n 'ngSkipHydration': '',\n }, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: \"<div class=\\\"mat-drawer-inner-container\\\" cdkScrollable #content>\\r\\n <ng-content></ng-content>\\r\\n</div>\\r\\n\" }]\n }], propDecorators: { fixedInViewport: [{\n type: Input\n }], fixedTopGap: [{\n type: Input\n }], fixedBottomGap: [{\n type: Input\n }] } });\nclass MatSidenavContainer extends MatDrawerContainer {\n constructor() {\n super(...arguments);\n this._allDrawers = undefined;\n // We need an initializer here to avoid a TS error.\n this._content = undefined;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSidenavContainer, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatSidenavContainer, selector: \"mat-sidenav-container\", host: { attributes: { \"ngSkipHydration\": \"\" }, properties: { \"class.mat-drawer-container-explicit-backdrop\": \"_backdropOverride\" }, classAttribute: \"mat-drawer-container mat-sidenav-container\" }, providers: [\n {\n provide: MAT_DRAWER_CONTAINER,\n useExisting: MatSidenavContainer,\n },\n ], queries: [{ propertyName: \"_content\", first: true, predicate: MatSidenavContent, descendants: true }, { propertyName: \"_allDrawers\", predicate: MatSidenav, descendants: true }], exportAs: [\"matSidenavContainer\"], usesInheritance: true, ngImport: i0, template: \"<div class=\\\"mat-drawer-backdrop\\\" (click)=\\\"_onBackdropClicked()\\\" *ngIf=\\\"hasBackdrop\\\"\\n [class.mat-drawer-shown]=\\\"_isShowingBackdrop()\\\"></div>\\n\\n<ng-content select=\\\"mat-sidenav\\\"></ng-content>\\n\\n<ng-content select=\\\"mat-sidenav-content\\\">\\n</ng-content>\\n<mat-sidenav-content *ngIf=\\\"!_content\\\">\\n <ng-content></ng-content>\\n</mat-sidenav-content>\\n\", styles: [\".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*=\\\"visibility: hidden\\\"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\"], dependencies: [{ kind: \"directive\", type: i5.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"component\", type: MatSidenavContent, selector: \"mat-sidenav-content\" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSidenavContainer, decorators: [{\n type: Component,\n args: [{ selector: 'mat-sidenav-container', exportAs: 'matSidenavContainer', host: {\n 'class': 'mat-drawer-container mat-sidenav-container',\n '[class.mat-drawer-container-explicit-backdrop]': '_backdropOverride',\n 'ngSkipHydration': '',\n }, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [\n {\n provide: MAT_DRAWER_CONTAINER,\n useExisting: MatSidenavContainer,\n },\n ], template: \"<div class=\\\"mat-drawer-backdrop\\\" (click)=\\\"_onBackdropClicked()\\\" *ngIf=\\\"hasBackdrop\\\"\\n [class.mat-drawer-shown]=\\\"_isShowingBackdrop()\\\"></div>\\n\\n<ng-content select=\\\"mat-sidenav\\\"></ng-content>\\n\\n<ng-content select=\\\"mat-sidenav-content\\\">\\n</ng-content>\\n<mat-sidenav-content *ngIf=\\\"!_content\\\">\\n <ng-content></ng-content>\\n</mat-sidenav-content>\\n\", styles: [\".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*=\\\"visibility: hidden\\\"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\"] }]\n }], propDecorators: { _allDrawers: [{\n type: ContentChildren,\n args: [MatSidenav, {\n // We need to use `descendants: true`, because Ivy will no longer match\n // indirect descendants if it's left as false.\n descendants: true,\n }]\n }], _content: [{\n type: ContentChild,\n args: [MatSidenavContent]\n }] } });\n\nclass MatSidenavModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSidenavModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSidenavModule, declarations: [MatDrawer,\n MatDrawerContainer,\n MatDrawerContent,\n MatSidenav,\n MatSidenavContainer,\n MatSidenavContent], imports: [CommonModule, MatCommonModule, CdkScrollableModule], exports: [CdkScrollableModule,\n MatCommonModule,\n MatDrawer,\n MatDrawerContainer,\n MatDrawerContent,\n MatSidenav,\n MatSidenavContainer,\n MatSidenavContent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSidenavModule, imports: [CommonModule, MatCommonModule, CdkScrollableModule, CdkScrollableModule,\n MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatSidenavModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [CommonModule, MatCommonModule, CdkScrollableModule],\n exports: [\n CdkScrollableModule,\n MatCommonModule,\n MatDrawer,\n MatDrawerContainer,\n MatDrawerContent,\n MatSidenav,\n MatSidenavContainer,\n MatSidenavContent,\n ],\n declarations: [\n MatDrawer,\n MatDrawerContainer,\n MatDrawerContent,\n MatSidenav,\n MatSidenavContainer,\n MatSidenavContent,\n ],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MAT_DRAWER_DEFAULT_AUTOSIZE, MAT_DRAWER_DEFAULT_AUTOSIZE_FACTORY, MatDrawer, MatDrawerContainer, MatDrawerContent, MatSidenav, MatSidenavContainer, MatSidenavContent, MatSidenavModule, matDrawerAnimations, throwMatDuplicatedDrawerError };\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}","export default function _iterableToArrayLimit(arr, i) {\n var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"];\n if (null != _i) {\n var _s,\n _e,\n _x,\n _r,\n _arr = [],\n _n = !0,\n _d = !1;\n try {\n if (_x = (_i = _i.call(arr)).next, 0 === i) {\n if (Object(_i) !== _i) return;\n _n = !1;\n } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);\n } catch (err) {\n _d = !0, _e = err;\n } finally {\n try {\n if (!_n && null != _i[\"return\"] && (_r = _i[\"return\"](), Object(_r) !== _r)) return;\n } finally {\n if (_d) throw _e;\n }\n }\n return _arr;\n }\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61]} \ No newline at end of file diff --git a/919.2768e0fb2f87cd5b.js b/919.2768e0fb2f87cd5b.js new file mode 100644 index 0000000..75a8969 --- /dev/null +++ b/919.2768e0fb2f87cd5b.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[919,5106,1551],{50253:(I,d,e)=>{e.d(d,{x:()=>v});var o=e(95106),a=e(78069),n=e(48047),u=e(4089),t=e(20265),s=e(24582),r=e(28694),l=e(90833),_=e(17714),b=(0,e(27543).d)(function(M){return function(){M(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),h=e(39663),f=e(12309),v=function(){var M=function(y){(0,s.Z)(C,y);var g=(0,r.Z)(C);function C(){var m;return(0,a.Z)(this,C),(m=g.call(this)).closed=!1,m.currentObservers=null,m.observers=[],m.isStopped=!1,m.hasError=!1,m.thrownError=null,m}return(0,n.Z)(C,[{key:"lift",value:function(c){var p=new O(this,this);return p.operator=c,p}},{key:"_throwIfClosed",value:function(){if(this.closed)throw new b}},{key:"next",value:function(c){var p=this;(0,f.x)(function(){if(p._throwIfClosed(),!p.isStopped){p.currentObservers||(p.currentObservers=Array.from(p.observers));var E,x=(0,o.Z)(p.currentObservers);try{for(x.s();!(E=x.n()).done;)E.value.next(c)}catch(P){x.e(P)}finally{x.f()}}})}},{key:"error",value:function(c){var p=this;(0,f.x)(function(){if(p._throwIfClosed(),!p.isStopped){p.hasError=p.isStopped=!0,p.thrownError=c;for(var x=p.observers;x.length;)x.shift().error(c)}})}},{key:"complete",value:function(){var c=this;(0,f.x)(function(){if(c._throwIfClosed(),!c.isStopped){c.isStopped=!0;for(var p=c.observers;p.length;)p.shift().complete()}})}},{key:"unsubscribe",value:function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}},{key:"observed",get:function(){var c;return(null===(c=this.observers)||void 0===c?void 0:c.length)>0}},{key:"_trySubscribe",value:function(c){return this._throwIfClosed(),(0,u.Z)((0,t.Z)(C.prototype),"_trySubscribe",this).call(this,c)}},{key:"_subscribe",value:function(c){return this._throwIfClosed(),this._checkFinalizedStatuses(c),this._innerSubscribe(c)}},{key:"_innerSubscribe",value:function(c){var p=this,i=this.observers;return this.hasError||this.isStopped?_.Lc:(this.currentObservers=null,i.push(c),new _.w0(function(){p.currentObservers=null,(0,h.P)(i,c)}))}},{key:"_checkFinalizedStatuses",value:function(c){var E=this.isStopped;this.hasError?c.error(this.thrownError):E&&c.complete()}},{key:"asObservable",value:function(){var c=new l.y;return c.source=this,c}}]),C}(l.y);return M.create=function(y,g){return new O(y,g)},M}(),O=function(M){(0,s.Z)(g,M);var y=(0,r.Z)(g);function g(C,m){var c;return(0,a.Z)(this,g),(c=y.call(this)).destination=C,c.source=m,c}return(0,n.Z)(g,[{key:"next",value:function(m){var c,p;null===(p=null===(c=this.destination)||void 0===c?void 0:c.next)||void 0===p||p.call(c,m)}},{key:"error",value:function(m){var c,p;null===(p=null===(c=this.destination)||void 0===c?void 0:c.error)||void 0===p||p.call(c,m)}},{key:"complete",value:function(){var m,c;null===(c=null===(m=this.destination)||void 0===m?void 0:m.complete)||void 0===c||c.call(m)}},{key:"_subscribe",value:function(m){var c,p;return null!==(p=null===(c=this.source)||void 0===c?void 0:c.subscribe(m))&&void 0!==p?p:_.Lc}}]),g}(v)},26562:(I,d,e)=>{e.d(d,{a:()=>D});var o=e(90833),a=e(45756),n=e(37400),u=e(89173),t=e(58385),s=e(10420),r=e(11054),l=e(93945),_=e(1817);function D(){for(var f=arguments.length,v=new Array(f),O=0;O<f;O++)v[O]=arguments[O];var M=(0,s.yG)(v),y=(0,s.jO)(v),g=(0,a.D)(v),C=g.args,m=g.keys;if(0===C.length)return(0,n.D)([],M);var c=new o.y(function b(f,v){var O=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u.y;return function(M){h(v,function(){for(var y=f.length,g=new Array(y),C=y,m=y,c=function(E){h(v,function(){var i=(0,n.D)(f[E],v),P=!1;i.subscribe((0,l.x)(M,function(A){g[E]=A,P||(P=!0,m--),m||M.next(O(g.slice()))},function(){--C||M.complete()}))},M)},p=0;p<y;p++)c(p)},M)}}(C,M,m?function(p){return(0,r.n)(m,p)}:u.y));return y?c.pipe((0,t.Z)(y)):c}function h(f,v,O){f?(0,_.f)(O,f,v):v()}},59319:(I,d,e)=>{e.d(d,{z:()=>t});var o=e(1308),n=e(10420),u=e(37400);function t(){for(var s=arguments.length,r=new Array(s),l=0;l<s;l++)r[l]=arguments[l];return function a(){return(0,o.J)(1)}()((0,u.D)(r,(0,n.yG)(r)))}},20591:(I,d,e)=>{e.d(d,{E:()=>a});var a=new(e(90833).y)(function(t){return t.complete()})},37400:(I,d,e)=>{e.d(d,{D:()=>x});var o=e(54987),a=e(8728),n=e(41944);function u(E){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,n.e)(function(P,A){A.add(E.schedule(function(){return P.subscribe(A)},i))})}var r=e(90833),_=e(67321),D=e(92971),b=e(1817);function f(E,i){if(!E)throw new Error("Iterable cannot be null");return new r.y(function(P){(0,b.f)(P,i,function(){var A=E[Symbol.asyncIterator]();(0,b.f)(P,i,function(){A.next().then(function(L){L.done?P.complete():P.next(L.value)})},0,!0)})})}var v=e(21331),O=e(79548),M=e(99806),y=e(23433),g=e(80470),C=e(27785),m=e(20181);function x(E,i){return i?function p(E,i){if(null!=E){if((0,v.c)(E))return function t(E,i){return(0,o.Xf)(E).pipe(u(i),(0,a.Q)(i))}(E,i);if((0,M.z)(E))return function l(E,i){return new r.y(function(P){var A=0;return i.schedule(function(){A===E.length?P.complete():(P.next(E[A++]),P.closed||this.schedule())})})}(E,i);if((0,O.t)(E))return function s(E,i){return(0,o.Xf)(E).pipe(u(i),(0,a.Q)(i))}(E,i);if((0,g.D)(E))return f(E,i);if((0,y.T)(E))return function h(E,i){return new r.y(function(P){var A;return(0,b.f)(P,i,function(){A=E[_.h](),(0,b.f)(P,i,function(){var L,T;try{var S=A.next();L=S.value,T=S.done}catch(R){return void P.error(R)}T?P.complete():P.next(L)},0,!0)}),function(){return(0,D.m)(A?.return)&&A.return()}})}(E,i);if((0,m.L)(E))return function c(E,i){return f((0,m.Q)(E),i)}(E,i)}throw(0,C.z)(E)}(E,i):(0,o.Xf)(E)}},93945:(I,d,e)=>{e.d(d,{Q:()=>D,x:()=>_});var o=e(78069),a=e(48047),n=e(35488),u=e(24582),t=e(28694),s=e(4089),r=e(20265);function _(b,h,f,v,O){return new D(b,h,f,v,O)}var D=function(b){(0,u.Z)(f,b);var h=(0,t.Z)(f);function f(v,O,M,y,g,C){var m,c,p,x;return(0,o.Z)(this,f),(x=h.call(this,v)).onFinalize=g,x.shouldUnsubscribe=C,x._next=O?function(E){try{O(E)}catch(i){v.error(i)}}:(0,s.Z)((m=(0,n.Z)(x),(0,r.Z)(f.prototype)),"_next",m),x._error=y?function(E){try{y(E)}catch(i){v.error(i)}finally{this.unsubscribe()}}:(0,s.Z)((c=(0,n.Z)(x),(0,r.Z)(f.prototype)),"_error",c),x._complete=M?function(){try{M()}catch(E){v.error(E)}finally{this.unsubscribe()}}:(0,s.Z)((p=(0,n.Z)(x),(0,r.Z)(f.prototype)),"_complete",p),x}return(0,a.Z)(f,[{key:"unsubscribe",value:function(){var O;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var M=this.closed;(0,s.Z)((0,r.Z)(f.prototype),"unsubscribe",this).call(this),!M&&(null===(O=this.onFinalize)||void 0===O||O.call(this))}}}]),f}(e(5463).Lv)},71989:(I,d,e)=>{e.d(d,{b:()=>u});var o=e(96936),a=e(41944),n=e(93945);function u(t){var s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.z;return(0,a.e)(function(r,l){var _=null,D=null,b=null,h=function(){if(_){_.unsubscribe(),_=null;var O=D;D=null,l.next(O)}};function f(){var v=b+t,O=s.now();if(O<v)return _=this.schedule(void 0,v-O),void l.add(_);h()}r.subscribe((0,n.x)(l,function(v){D=v,b=s.now(),_||(_=s.schedule(f,t),l.add(_))},function(){h(),l.complete()},void 0,function(){D=_=null}))})}},60116:(I,d,e)=>{e.d(d,{h:()=>n});var o=e(41944),a=e(93945);function n(u,t){return(0,o.e)(function(s,r){var l=0;s.subscribe((0,a.x)(r,function(_){return u.call(t,_,l++)&&r.next(_)}))})}},50635:(I,d,e)=>{e.d(d,{U:()=>n});var o=e(41944),a=e(93945);function n(u,t){return(0,o.e)(function(s,r){var l=0;s.subscribe((0,a.x)(r,function(_){r.next(u.call(t,_,l++))}))})}},1308:(I,d,e)=>{e.d(d,{J:()=>n});var o=e(49525),a=e(89173);function n(){return(0,o.z)(a.y,arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0)}},49525:(I,d,e)=>{e.d(d,{z:()=>l});var o=e(50635),a=e(54987),n=e(41944),u=e(1817),t=e(93945),r=e(92971);function l(_,D){var b=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;return(0,r.m)(D)?l(function(h,f){return(0,o.U)(function(v,O){return D(h,v,f,O)})((0,a.Xf)(_(h,f)))},b):("number"==typeof D&&(b=D),(0,n.e)(function(h,f){return function s(_,D,b,h,f,v,O,M){var y=[],g=0,C=0,m=!1,c=function(){m&&!y.length&&!g&&D.complete()},p=function(i){return g<h?x(i):y.push(i)},x=function E(i){v&&D.next(i),g++;var P=!1;(0,a.Xf)(b(i,C++)).subscribe((0,t.x)(D,function(A){f?.(A),v?p(A):D.next(A)},function(){P=!0},void 0,function(){if(P)try{g--;for(var A=function(){var T=y.shift();O?(0,u.f)(D,O,function(){return E(T)}):E(T)};y.length&&g<h;)A();c()}catch(L){D.error(L)}}))};return _.subscribe((0,t.x)(D,p,function(){m=!0,c()})),function(){M?.()}}(h,f,_,b)}))}},8728:(I,d,e)=>{e.d(d,{Q:()=>u});var o=e(1817),a=e(41944),n=e(93945);function u(t){var s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,a.e)(function(r,l){r.subscribe((0,n.x)(l,function(_){return(0,o.f)(l,t,function(){return l.next(_)},s)},function(){return(0,o.f)(l,t,function(){return l.complete()},s)},function(_){return(0,o.f)(l,t,function(){return l.error(_)},s)}))})}},87260:(I,d,e)=>{e.d(d,{T:()=>a});var o=e(60116);function a(n){return(0,o.h)(function(u,t){return n<=t})}},44874:(I,d,e)=>{e.d(d,{O:()=>u});var o=e(59319),a=e(10420),n=e(41944);function u(){for(var t=arguments.length,s=new Array(t),r=0;r<t;r++)s[r]=arguments[r];var l=(0,a.yG)(s);return(0,n.e)(function(_,D){(l?(0,o.z)(s,_,l):(0,o.z)(s,_)).subscribe(D)})}},59295:(I,d,e)=>{e.d(d,{q:()=>u});var o=e(20591),a=e(41944),n=e(93945);function u(t){return t<=0?function(){return o.E}:(0,a.e)(function(s,r){var l=0;s.subscribe((0,n.x)(r,function(_){++l<=t&&(r.next(_),t<=l&&r.complete())}))})}},68951:(I,d,e)=>{e.d(d,{R:()=>t});var o=e(41944),a=e(93945),n=e(54987),u=e(99635);function t(s){return(0,o.e)(function(r,l){(0,n.Xf)(s).subscribe((0,a.x)(l,function(){return l.complete()},u.Z)),!l.closed&&r.subscribe(l)})}},75417:(I,d,e)=>{e.d(d,{o:()=>b});var o=e(78069),a=e(48047),n=e(4089),u=e(20265),t=e(24582),s=e(28694),l=function(h){(0,t.Z)(v,h);var f=(0,s.Z)(v);function v(O,M){return(0,o.Z)(this,v),f.call(this)}return(0,a.Z)(v,[{key:"schedule",value:function(M){return this}}]),v}(e(17714).w0),_={setInterval:function(h){function f(v,O){return h.apply(this,arguments)}return f.toString=function(){return h.toString()},f}(function(h,f){for(var v=_.delegate,O=arguments.length,M=new Array(O>2?O-2:0),y=2;y<O;y++)M[y-2]=arguments[y];return v?.setInterval?v.setInterval.apply(v,[h,f].concat(M)):setInterval.apply(void 0,[h,f].concat(M))}),clearInterval:function(h){function f(v){return h.apply(this,arguments)}return f.toString=function(){return h.toString()},f}(function(h){var f=_.delegate;return(f?.clearInterval||clearInterval)(h)}),delegate:void 0},D=e(39663),b=function(h){(0,t.Z)(v,h);var f=(0,s.Z)(v);function v(O,M){var y;return(0,o.Z)(this,v),(y=f.call(this,O,M)).scheduler=O,y.work=M,y.pending=!1,y}return(0,a.Z)(v,[{key:"schedule",value:function(M){var g,y=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=M;var C=this.id,m=this.scheduler;return null!=C&&(this.id=this.recycleAsyncId(m,C,y)),this.pending=!0,this.delay=y,this.id=null!==(g=this.id)&&void 0!==g?g:this.requestAsyncId(m,this.id,y),this}},{key:"requestAsyncId",value:function(M,y){var g=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return _.setInterval(M.flush.bind(M,this),g)}},{key:"recycleAsyncId",value:function(M,y){var g=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!=g&&this.delay===g&&!1===this.pending)return y;null!=y&&_.clearInterval(y)}},{key:"execute",value:function(M,y){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var g=this._execute(M,y);if(g)return g;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(M,y){var C,g=!1;try{this.work(M)}catch(m){g=!0,C=m||new Error("Scheduled action threw falsy error")}if(g)return this.unsubscribe(),C}},{key:"unsubscribe",value:function(){if(!this.closed){var M=this.id,y=this.scheduler,g=y.actions;this.work=this.state=this.scheduler=null,this.pending=!1,(0,D.P)(g,this),null!=M&&(this.id=this.recycleAsyncId(y,M,null)),this.delay=null,(0,n.Z)((0,u.Z)(v.prototype),"unsubscribe",this).call(this)}}}]),v}(l)},41010:(I,d,e)=>{e.d(d,{v:()=>r});var o=e(78069),a=e(48047),n=e(24582),u=e(28694),t=e(67654),s=function(){function l(_){var D=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.now;(0,o.Z)(this,l),this.schedulerActionCtor=_,this.now=D}return(0,a.Z)(l,[{key:"schedule",value:function(D){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,h=arguments.length>2?arguments[2]:void 0;return new this.schedulerActionCtor(this,D).schedule(h,b)}}]),l}();s.now=t.l.now;var r=function(l){(0,n.Z)(D,l);var _=(0,u.Z)(D);function D(b){var h,f=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.now;return(0,o.Z)(this,D),(h=_.call(this,b,f)).actions=[],h._active=!1,h}return(0,a.Z)(D,[{key:"flush",value:function(h){var f=this.actions;if(this._active)f.push(h);else{var v;this._active=!0;do{if(v=h.execute(h.state,h.delay))break}while(h=f.shift());if(this._active=!1,v){for(;h=f.shift();)h.unsubscribe();throw v}}}}]),D}(s)},96936:(I,d,e)=>{e.d(d,{P:()=>u,z:()=>n});var o=e(75417),n=new(e(41010).v)(o.o),u=n},67654:(I,d,e)=>{e.d(d,{l:()=>o});var o={now:function(){return(o.delegate||Date).now()},delegate:void 0}},10420:(I,d,e)=>{e.d(d,{_6:()=>s,jO:()=>u,yG:()=>t});var o=e(92971),a=e(59867);function n(r){return r[r.length-1]}function u(r){return(0,o.m)(n(r))?r.pop():void 0}function t(r){return(0,a.K)(n(r))?r.pop():void 0}function s(r,l){return"number"==typeof n(r)?r.pop():l}},45756:(I,d,e)=>{e.d(d,{D:()=>t});var o=Array.isArray,a=Object.getPrototypeOf,n=Object.prototype,u=Object.keys;function t(r){if(1===r.length){var l=r[0];if(o(l))return{args:l,keys:null};if(function s(r){return r&&"object"==typeof r&&a(r)===n}(l)){var _=u(l);return{args:_.map(function(D){return l[D]}),keys:_}}}return{args:r,keys:null}}},11054:(I,d,e)=>{function o(a,n){return a.reduce(function(u,t,s){return u[t]=n[s],u},{})}e.d(d,{n:()=>o})},1817:(I,d,e)=>{function o(a,n,u){var t=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,s=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r=n.schedule(function(){u(),s?a.add(this.schedule(null,t)):this.unsubscribe()},t);if(a.add(r),!s)return r}e.d(d,{f:()=>o})},59867:(I,d,e)=>{e.d(d,{K:()=>a});var o=e(92971);function a(n){return n&&(0,o.m)(n.schedule)}},41944:(I,d,e)=>{e.d(d,{A:()=>a,e:()=>n});var o=e(92971);function a(u){return(0,o.m)(u?.lift)}function n(u){return function(t){if(a(t))return t.lift(function(s){try{return u(s,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}},58385:(I,d,e)=>{e.d(d,{Z:()=>t});var o=e(86170),a=e(50635),n=Array.isArray;function t(s){return(0,a.U)(function(r){return function u(s,r){return n(r)?s.apply(void 0,(0,o.Z)(r)):s(r)}(s,r)})}},40919:(I,d,e)=>{e.r(d),e.d(d,{BreakpointObserver:()=>p,Breakpoints:()=>E,LayoutModule:()=>M,MediaMatcher:()=>C});var g,o=e(48047),a=e(78069),n=e(56718),u=e(35333),t=e(50253),s=e(26562),r=e(59319),l=e(90833),_=e(59295),D=e(87260),b=e(71989),h=e(50635),f=e(44874),v=e(68951),O=e(23675),M=function(){var i=(0,o.Z)(function P(){(0,a.Z)(this,P)});return i.\u0275fac=function(A){return new(A||i)},i.\u0275mod=n.\u0275\u0275defineNgModule({type:i}),i.\u0275inj=n.\u0275\u0275defineInjector({}),i}(),y=new Set,C=function(){var i=function(){function P(A,L){(0,a.Z)(this,P),this._platform=A,this._nonce=L,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):c}return(0,o.Z)(P,[{key:"matchMedia",value:function(L){return(this._platform.WEBKIT||this._platform.BLINK)&&function m(i,P){if(!y.has(i))try{g||(g=document.createElement("style"),P&&(g.nonce=P),g.setAttribute("type","text/css"),document.head.appendChild(g)),g.sheet&&(g.sheet.insertRule("@media ".concat(i," {body{ }}"),0),y.add(i))}catch(A){console.error(A)}}(L,this._nonce),this._matchMedia(L)}}]),P}();return i.\u0275fac=function(A){return new(A||i)(n.\u0275\u0275inject(O.Platform),n.\u0275\u0275inject(n.CSP_NONCE,8))},i.\u0275prov=n.\u0275\u0275defineInjectable({token:i,factory:i.\u0275fac,providedIn:"root"}),i}();function c(i){return{matches:"all"===i||""===i,media:i,addListener:function(){},removeListener:function(){}}}var p=function(){var i=function(){function P(A,L){(0,a.Z)(this,P),this._mediaMatcher=A,this._zone=L,this._queries=new Map,this._destroySubject=new t.x}return(0,o.Z)(P,[{key:"ngOnDestroy",value:function(){this._destroySubject.next(),this._destroySubject.complete()}},{key:"isMatched",value:function(L){var T=this;return x((0,u.coerceArray)(L)).some(function(R){return T._registerQuery(R).mql.matches})}},{key:"observe",value:function(L){var T=this,R=x((0,u.coerceArray)(L)).map(function(W){return T._registerQuery(W).observable}),B=(0,s.a)(R);return(B=(0,r.z)(B.pipe((0,_.q)(1)),B.pipe((0,D.T)(1),(0,b.b)(0)))).pipe((0,h.U)(function(W){var U={matches:!1,breakpoints:{}};return W.forEach(function(Z){var K=Z.matches,j=Z.query;U.matches=U.matches||K,U.breakpoints[j]=K}),U}))}},{key:"_registerQuery",value:function(L){var T=this;if(this._queries.has(L))return this._queries.get(L);var S=this._mediaMatcher.matchMedia(L),B={observable:new l.y(function(W){var U=function(K){return T._zone.run(function(){return W.next(K)})};return S.addListener(U),function(){S.removeListener(U)}}).pipe((0,f.O)(S),(0,h.U)(function(W){return{query:L,matches:W.matches}}),(0,v.R)(this._destroySubject)),mql:S};return this._queries.set(L,B),B}}]),P}();return i.\u0275fac=function(A){return new(A||i)(n.\u0275\u0275inject(C),n.\u0275\u0275inject(n.NgZone))},i.\u0275prov=n.\u0275\u0275defineInjectable({token:i,factory:i.\u0275fac,providedIn:"root"}),i}();function x(i){return i.map(function(P){return P.split(",")}).reduce(function(P,A){return P.concat(A)}).map(function(P){return P.trim()})}var E={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},44841:(I,d,e)=>{function o(a,n){(null==n||n>a.length)&&(n=a.length);for(var u=0,t=new Array(n);u<n;u++)t[u]=a[u];return t}e.d(d,{Z:()=>o})},95106:(I,d,e)=>{e.d(d,{Z:()=>a});var o=e(44206);function a(n,u){var t=typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(!t){if(Array.isArray(n)||(t=(0,o.Z)(n))||u&&n&&"number"==typeof n.length){t&&(n=t);var s=0,r=function(){};return{s:r,n:function(){return s>=n.length?{done:!0}:{done:!1,value:n[s++]}},e:function(h){throw h},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var D,l=!0,_=!1;return{s:function(){t=t.call(n)},n:function(){var h=t.next();return l=h.done,h},e:function(h){_=!0,D=h},f:function(){try{!l&&null!=t.return&&t.return()}finally{if(_)throw D}}}}},4089:(I,d,e)=>{e.d(d,{Z:()=>n});var o=e(20265);function n(){return n=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(t,s,r){var l=function a(u,t){for(;!Object.prototype.hasOwnProperty.call(u,t)&&null!==(u=(0,o.Z)(u)););return u}(t,s);if(l){var _=Object.getOwnPropertyDescriptor(l,s);return _.get?_.get.call(arguments.length<3?t:r):_.value}},n.apply(this,arguments)}},4826:(I,d,e)=>{function o(a){if(typeof Symbol<"u"&&null!=a[Symbol.iterator]||null!=a["@@iterator"])return Array.from(a)}e.d(d,{Z:()=>o})},86170:(I,d,e)=>{e.d(d,{Z:()=>s});var o=e(44841),n=e(4826),u=e(44206);function s(r){return function a(r){if(Array.isArray(r))return(0,o.Z)(r)}(r)||(0,n.Z)(r)||(0,u.Z)(r)||function t(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(I,d,e)=>{e.d(d,{Z:()=>a});var o=e(44841);function a(n,u){if(n){if("string"==typeof n)return(0,o.Z)(n,u);var t=Object.prototype.toString.call(n).slice(8,-1);if("Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t)return Array.from(n);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return(0,o.Z)(n,u)}}}}]); +//# sourceMappingURL=919.2768e0fb2f87cd5b.js.map \ No newline at end of file diff --git a/919.2768e0fb2f87cd5b.js.map b/919.2768e0fb2f87cd5b.js.map new file mode 100644 index 0000000..be332f3 --- /dev/null +++ b/919.2768e0fb2f87cd5b.js.map @@ -0,0 +1 @@ +{"version":3,"file":"919.2768e0fb2f87cd5b.js","mappings":"kNACaA,cAA0BC,GAAiB,SAACC,GAAM,OAAK,WAChEA,EAAOC,MACPA,KAAKC,KAAO,0BACZD,KAAKE,QAAU,qBACnB,CAAC,yBCAYC,EAAO,eAAPA,EAAO,SAAAC,IAAAC,OAAAF,EAAAC,GAAA,IAAAL,KAAAO,KAAAH,GAChB,SAAAA,IAAc,IAAAI,EAAAC,cAAAR,KAAAG,IACVI,EAAAR,EAAAU,KAAAT,OACKU,QAAS,EACdH,EAAKI,iBAAmB,KACxBJ,EAAKK,UAAY,GACjBL,EAAKM,WAAY,EACjBN,EAAKO,UAAW,EAChBP,EAAKQ,YAAc,KAAKR,CAC5B,CAACS,cAAAb,EAAA,EAAAc,IAAA,OAAAC,MACD,SAAKC,GACD,IAAMC,EAAU,IAAIC,EAAiBrB,KAAMA,MAC3CoB,SAAQD,SAAWA,EACZC,CACX,GAAC,CAAAH,IAAA,iBAAAC,MACD,WACI,GAAIlB,KAAKU,OACL,MAAM,IAAIb,CAElB,GAAC,CAAAoB,IAAA,OAAAC,MACD,SAAKA,GAAO,IAAAI,EAAAtB,MACRuB,OAAa,WAET,GADAD,EAAKE,kBACAF,EAAKT,UAAW,CACZS,EAAKX,mBACNW,EAAKX,iBAAmBc,MAAMC,KAAKJ,EAAKV,YAC3C,IAC2Ce,EAD3CC,KAAAC,KACsBP,EAAKX,kBAAgB,IAA5C,IAAAiB,EAAAE,MAAAH,EAAAC,EAAAG,KAAAC,MAAmBL,EAAAT,MACNe,KAAKf,EACjB,OAAAgB,GAAAN,EAAAO,EAAAD,EAAA,SAAAN,EAAAQ,GAAA,EAET,EACJ,GAAC,CAAAnB,IAAA,QAAAC,MACD,SAAMgB,GAAK,IAAAG,EAAArC,MACPuB,OAAa,W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AA7V,MAAAC,KAAA4V,EACA,wFCEe,SAAA/G,EAAAxB,GACf,OCJe,SAAAwI,EAAAxI,GACf,GAAAtN,MAAA2N,QAAAL,GAAA,SAAiCyI,EAAApB,GAAgBrH,EACjD,CDESwI,CAAiBxI,KAAA,EAAS0I,EAAArB,GAAerH,KAAA,EAAS2I,EAAAtB,GAA0BrH,IELtE,SAAA4I,IACf,UAAAvH,UAAA,uIACA,CFG8FuH,EAC9F,mDGLe,SAAAC,EAAA5B,EAAA6B,GACf,GAAA7B,EACA,qBAAAA,EAAA,SAAoC8B,EAAA1B,GAAgBJ,EAAA6B,GACpD,IAAA9V,EAAAuN,OAAAtM,UAAA6J,SAAApM,KAAAuV,GAAApQ,MAAA,MAEA,GADA,WAAA7D,GAAAiU,EAAA+B,cAAAhW,EAAAiU,EAAA+B,YAAA9X,MACA,QAAA8B,GAAA,QAAAA,EAAA,OAAAN,MAAAC,KAAAsU,GACA,iBAAAjU,GAAA,2CAAAiW,KAAAjW,GAAA,SAAsF+V,EAAA1B,GAAgBJ,EAAA6B,EAAA,CACtG","names":["ObjectUnsubscribedError","createErrorClass","_super","this","name","message","Subject","_Observable","_inherits","_createSuper","_this","_classCallCheck","call","closed","currentObservers","observers","isStopped","hasError","thrownError","_createClass","key","value","operator","subject","AnonymousSubject","_this2","errorContext","_throwIfClosed","Array","from","_step","_iterator","_createForOfIteratorHelper","s","n","done","next","err","e","f","_this3","length","shift","error","_this4","complete","get","_a","subscriber","_get","_getPrototypeOf","prototype","_checkFinalizedStatuses","_innerSubscribe","_this5","EMPTY_SUBSCRIPTION","push","Subscription","arrRemove","observable","Observable","source","create","destination","_Subject","_super2","_this6","_b","subscribe","combineLatest","_len","arguments","args","_key","scheduler","popScheduler","resultSelector","popResultSelector","_argsArgArrayOrObject","argsArgArrayOrObject","observables","keys","result","combineLatestInit","valueTransform","undefined","identity","maybeSchedule","values","active","remainingFirstValues","_loop","i","hasFirstValue","createOperatorSubscriber","slice","createObject","pipe","mapOneOrManyArgs","execute","subscription","executeSchedule","concat","concatAll","mergeAll","EMPTY","subscribeOn","delay","operate","add","schedule","scheduleAsyncIterable","input","Error","iterator","Symbol","asyncIterator","then","scheduled","isInteropObservable","scheduleObservable","innerFrom","observeOn","isArrayLike","scheduleArray","isPromise","schedulePromise","isAsyncIterable","isIterable","scheduleIterable","Symbol_iterator","_iterator$next","isFunction","return","isReadableStreamLike","scheduleReadableStreamLike","readableStreamLikeToAsyncGenerator","createInvalidObservableTypeError","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_next","_assertThisInitialized","_error","unsubscribe","_complete","Subscriber","debounceTime","dueTime","asyncScheduler","activeTask","lastValue","lastTime","emit","emitWhenIdle","targetTime","now","filter","predicate","thisArg","index","map","project","mergeMap","Infinity","concurrent","a","b","ii","mergeInternals","onBeforeNext","expand","innerSubScheduler","additionalFinalizer","buffer","isComplete","checkComplete","outerNext","doInnerSub","innerComplete","innerValue","bufferedValue","skip","count","_","startWith","take","seen","takeUntil","notifier","noop","Action","_Subscription","work","state","intervalProvider","setInterval","_setInterval","_x","_x2","apply","toString","handler","timeout","delegate","clearInterval","_clearInterval","_x3","handle","AsyncAction","_Action","pending","id","recycleAsyncId","requestAsyncId","_id","flush","bind","_scheduler","_execute","_delay","errorValue","errored","actions","Scheduler","schedulerActionCtor","dateTimestampProvider","AsyncScheduler","_Scheduler","SchedulerAction","_active","action","async","Date","last","arr","pop","isScheduler","popNumber","defaultValue","isArray","getPrototypeOf","Object","objectProto","getKeys","first","isPOJO","obj","reduce","parentSubscription","repeat","scheduleSubscription","hasLift","lift","init","liftedSource","TypeError","fn","callOrApply","_toConsumableArray","mediaQueryStyleNode","LayoutModule","ɵfac","t","ɵmod","i0","type","ɵinj","mediaQueriesForWebkitCompatibility","Set","MediaMatcher","_platform","_nonce","_matchMedia","isBrowser","window","matchMedia","noopMatchMedia","query","WEBKIT","BLINK","createEmptyStyleRule","nonce","has","document","createElement","setAttribute","head","appendChild","sheet","insertRule","console","i1","CSP_NONCE","ɵprov","token","factory","providedIn","matches","media","addListener","removeListener","BreakpointObserver","_mediaMatcher","_zone","_queries","Map","_destroySubject","splitQueries","coerceArray","some","mediaQuery","_registerQuery","mql","stateObservable","breakpointStates","response","breakpoints","forEach","_ref","output","observer","run","_ref2","set","queries","split","a1","a2","trim","Breakpoints","XSmall","Small","Medium","Large","XLarge","Handset","Tablet","Web","HandsetPortrait","TabletPortrait","WebPortrait","HandsetLandscape","TabletLandscape","WebLandscape","_arrayLikeToArray","len","arr2","o","allowArrayLike","it","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","_e","normalCompletion","didErr","step","_e2","Reflect","target","property","receiver","base","_superPropBase","object","hasOwnProperty","desc","getOwnPropertyDescriptor","_iterableToArray","iter","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__","constructor","test"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/util/ObjectUnsubscribedError.js","./node_modules/rxjs/dist/esm/internal/Subject.js","./node_modules/rxjs/dist/esm/internal/observable/combineLatest.js","./node_modules/rxjs/dist/esm/internal/observable/concat.js","./node_modules/rxjs/dist/esm/internal/operators/concatAll.js","./node_modules/rxjs/dist/esm/internal/observable/empty.js","./node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleAsyncIterable.js","./node_modules/rxjs/dist/esm/internal/observable/from.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduled.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleObservable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleArray.js","./node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleIterable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleReadableStreamLike.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/debounceTime.js","./node_modules/rxjs/dist/esm/internal/operators/filter.js","./node_modules/rxjs/dist/esm/internal/operators/map.js","./node_modules/rxjs/dist/esm/internal/operators/mergeAll.js","./node_modules/rxjs/dist/esm/internal/operators/mergeMap.js","./node_modules/rxjs/dist/esm/internal/operators/mergeInternals.js","./node_modules/rxjs/dist/esm/internal/operators/observeOn.js","./node_modules/rxjs/dist/esm/internal/operators/skip.js","./node_modules/rxjs/dist/esm/internal/operators/startWith.js","./node_modules/rxjs/dist/esm/internal/operators/take.js","./node_modules/rxjs/dist/esm/internal/operators/takeUntil.js","./node_modules/rxjs/dist/esm/internal/scheduler/Action.js","./node_modules/rxjs/dist/esm/internal/scheduler/intervalProvider.js","./node_modules/rxjs/dist/esm/internal/scheduler/AsyncAction.js","./node_modules/rxjs/dist/esm/internal/Scheduler.js","./node_modules/rxjs/dist/esm/internal/scheduler/AsyncScheduler.js","./node_modules/rxjs/dist/esm/internal/scheduler/async.js","./node_modules/rxjs/dist/esm/internal/scheduler/dateTimestampProvider.js","./node_modules/rxjs/dist/esm/internal/util/args.js","./node_modules/rxjs/dist/esm/internal/util/argsArgArrayOrObject.js","./node_modules/rxjs/dist/esm/internal/util/createObject.js","./node_modules/rxjs/dist/esm/internal/util/executeSchedule.js","./node_modules/rxjs/dist/esm/internal/util/isScheduler.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/rxjs/dist/esm/internal/util/mapOneOrManyArgs.js","./node_modules/@angular/cdk/fesm2022/layout.mjs","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { createErrorClass } from './createErrorClass';\nexport const ObjectUnsubscribedError = createErrorClass((_super) => function ObjectUnsubscribedErrorImpl() {\n _super(this);\n this.name = 'ObjectUnsubscribedError';\n this.message = 'object unsubscribed';\n});\n","import { Observable } from './Observable';\nimport { Subscription, EMPTY_SUBSCRIPTION } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { arrRemove } from './util/arrRemove';\nimport { errorContext } from './util/errorContext';\nexport class Subject extends Observable {\n constructor() {\n super();\n this.closed = false;\n this.currentObservers = null;\n this.observers = [];\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n lift(operator) {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n }\n _throwIfClosed() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n }\n next(value) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n if (!this.currentObservers) {\n this.currentObservers = Array.from(this.observers);\n }\n for (const observer of this.currentObservers) {\n observer.next(value);\n }\n }\n });\n }\n error(err) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.hasError = this.isStopped = true;\n this.thrownError = err;\n const { observers } = this;\n while (observers.length) {\n observers.shift().error(err);\n }\n }\n });\n }\n complete() {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.isStopped = true;\n const { observers } = this;\n while (observers.length) {\n observers.shift().complete();\n }\n }\n });\n }\n unsubscribe() {\n this.isStopped = this.closed = true;\n this.observers = this.currentObservers = null;\n }\n get observed() {\n var _a;\n return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;\n }\n _trySubscribe(subscriber) {\n this._throwIfClosed();\n return super._trySubscribe(subscriber);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._checkFinalizedStatuses(subscriber);\n return this._innerSubscribe(subscriber);\n }\n _innerSubscribe(subscriber) {\n const { hasError, isStopped, observers } = this;\n if (hasError || isStopped) {\n return EMPTY_SUBSCRIPTION;\n }\n this.currentObservers = null;\n observers.push(subscriber);\n return new Subscription(() => {\n this.currentObservers = null;\n arrRemove(observers, subscriber);\n });\n }\n _checkFinalizedStatuses(subscriber) {\n const { hasError, thrownError, isStopped } = this;\n if (hasError) {\n subscriber.error(thrownError);\n }\n else if (isStopped) {\n subscriber.complete();\n }\n }\n asObservable() {\n const observable = new Observable();\n observable.source = this;\n return observable;\n }\n}\nSubject.create = (destination, source) => {\n return new AnonymousSubject(destination, source);\n};\nexport class AnonymousSubject extends Subject {\n constructor(destination, source) {\n super();\n this.destination = destination;\n this.source = source;\n }\n next(value) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);\n }\n error(err) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);\n }\n complete() {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);\n }\n _subscribe(subscriber) {\n var _a, _b;\n return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;\n }\n}\n","import { Observable } from '../Observable';\nimport { argsArgArrayOrObject } from '../util/argsArgArrayOrObject';\nimport { from } from './from';\nimport { identity } from '../util/identity';\nimport { mapOneOrManyArgs } from '../util/mapOneOrManyArgs';\nimport { popResultSelector, popScheduler } from '../util/args';\nimport { createObject } from '../util/createObject';\nimport { createOperatorSubscriber } from '../operators/OperatorSubscriber';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function combineLatest(...args) {\n const scheduler = popScheduler(args);\n const resultSelector = popResultSelector(args);\n const { args: observables, keys } = argsArgArrayOrObject(args);\n if (observables.length === 0) {\n return from([], scheduler);\n }\n const result = new Observable(combineLatestInit(observables, scheduler, keys\n ?\n (values) => createObject(keys, values)\n :\n identity));\n return resultSelector ? result.pipe(mapOneOrManyArgs(resultSelector)) : result;\n}\nexport function combineLatestInit(observables, scheduler, valueTransform = identity) {\n return (subscriber) => {\n maybeSchedule(scheduler, () => {\n const { length } = observables;\n const values = new Array(length);\n let active = length;\n let remainingFirstValues = length;\n for (let i = 0; i < length; i++) {\n maybeSchedule(scheduler, () => {\n const source = from(observables[i], scheduler);\n let hasFirstValue = false;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n values[i] = value;\n if (!hasFirstValue) {\n hasFirstValue = true;\n remainingFirstValues--;\n }\n if (!remainingFirstValues) {\n subscriber.next(valueTransform(values.slice()));\n }\n }, () => {\n if (!--active) {\n subscriber.complete();\n }\n }));\n }, subscriber);\n }\n }, subscriber);\n };\n}\nfunction maybeSchedule(scheduler, execute, subscription) {\n if (scheduler) {\n executeSchedule(subscription, scheduler, execute);\n }\n else {\n execute();\n }\n}\n","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}\n","import { mergeAll } from './mergeAll';\nexport function concatAll() {\n return mergeAll(1);\n}\n","import { Observable } from '../Observable';\nexport const EMPTY = new Observable((subscriber) => subscriber.complete());\nexport function empty(scheduler) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n return new Observable((subscriber) => scheduler.schedule(() => subscriber.complete()));\n}\n","import { operate } from '../util/lift';\nexport function subscribeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay));\n });\n}\n","import { Observable } from '../Observable';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleAsyncIterable(input, scheduler) {\n if (!input) {\n throw new Error('Iterable cannot be null');\n }\n return new Observable((subscriber) => {\n executeSchedule(subscriber, scheduler, () => {\n const iterator = input[Symbol.asyncIterator]();\n executeSchedule(subscriber, scheduler, () => {\n iterator.next().then((result) => {\n if (result.done) {\n subscriber.complete();\n }\n else {\n subscriber.next(result.value);\n }\n });\n }, 0, true);\n });\n });\n}\n","import { scheduled } from '../scheduled/scheduled';\nimport { innerFrom } from './innerFrom';\nexport function from(input, scheduler) {\n return scheduler ? scheduled(input, scheduler) : innerFrom(input);\n}\n","import { scheduleObservable } from './scheduleObservable';\nimport { schedulePromise } from './schedulePromise';\nimport { scheduleArray } from './scheduleArray';\nimport { scheduleIterable } from './scheduleIterable';\nimport { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isPromise } from '../util/isPromise';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isIterable } from '../util/isIterable';\nimport { isAsyncIterable } from '../util/isAsyncIterable';\nimport { createInvalidObservableTypeError } from '../util/throwUnobservableError';\nimport { isReadableStreamLike } from '../util/isReadableStreamLike';\nimport { scheduleReadableStreamLike } from './scheduleReadableStreamLike';\nexport function scheduled(input, scheduler) {\n if (input != null) {\n if (isInteropObservable(input)) {\n return scheduleObservable(input, scheduler);\n }\n if (isArrayLike(input)) {\n return scheduleArray(input, scheduler);\n }\n if (isPromise(input)) {\n return schedulePromise(input, scheduler);\n }\n if (isAsyncIterable(input)) {\n return scheduleAsyncIterable(input, scheduler);\n }\n if (isIterable(input)) {\n return scheduleIterable(input, scheduler);\n }\n if (isReadableStreamLike(input)) {\n return scheduleReadableStreamLike(input, scheduler);\n }\n }\n throw createInvalidObservableTypeError(input);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function scheduleObservable(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nexport function scheduleArray(input, scheduler) {\n return new Observable((subscriber) => {\n let i = 0;\n return scheduler.schedule(function () {\n if (i === input.length) {\n subscriber.complete();\n }\n else {\n subscriber.next(input[i++]);\n if (!subscriber.closed) {\n this.schedule();\n }\n }\n });\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function schedulePromise(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from '../util/isFunction';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleIterable(input, scheduler) {\n return new Observable((subscriber) => {\n let iterator;\n executeSchedule(subscriber, scheduler, () => {\n iterator = input[Symbol_iterator]();\n executeSchedule(subscriber, scheduler, () => {\n let value;\n let done;\n try {\n ({ value, done } = iterator.next());\n }\n catch (err) {\n subscriber.error(err);\n return;\n }\n if (done) {\n subscriber.complete();\n }\n else {\n subscriber.next(value);\n }\n }, 0, true);\n });\n return () => isFunction(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return();\n });\n}\n","import { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { readableStreamLikeToAsyncGenerator } from '../util/isReadableStreamLike';\nexport function scheduleReadableStreamLike(input, scheduler) {\n return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","import { asyncScheduler } from '../scheduler/async';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function debounceTime(dueTime, scheduler = asyncScheduler) {\n return operate((source, subscriber) => {\n let activeTask = null;\n let lastValue = null;\n let lastTime = null;\n const emit = () => {\n if (activeTask) {\n activeTask.unsubscribe();\n activeTask = null;\n const value = lastValue;\n lastValue = null;\n subscriber.next(value);\n }\n };\n function emitWhenIdle() {\n const targetTime = lastTime + dueTime;\n const now = scheduler.now();\n if (now < targetTime) {\n activeTask = this.schedule(undefined, targetTime - now);\n subscriber.add(activeTask);\n return;\n }\n emit();\n }\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n lastValue = value;\n lastTime = scheduler.now();\n if (!activeTask) {\n activeTask = scheduler.schedule(emitWhenIdle, dueTime);\n subscriber.add(activeTask);\n }\n }, () => {\n emit();\n subscriber.complete();\n }, undefined, () => {\n lastValue = activeTask = null;\n }));\n });\n}\n","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}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function map(project, thisArg) {\n return operate((source, subscriber) => {\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n subscriber.next(project.call(thisArg, value, index++));\n }));\n });\n}\n","import { mergeMap } from './mergeMap';\nimport { identity } from '../util/identity';\nexport function mergeAll(concurrent = Infinity) {\n return mergeMap(identity, concurrent);\n}\n","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 }\n else if (typeof resultSelector === 'number') {\n concurrent = resultSelector;\n }\n return operate((source, subscriber) => mergeInternals(source, subscriber, project, concurrent));\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { executeSchedule } from '../util/executeSchedule';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function mergeInternals(source, subscriber, project, concurrent, onBeforeNext, expand, innerSubScheduler, additionalFinalizer) {\n const buffer = [];\n let active = 0;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => {\n if (isComplete && !buffer.length && !active) {\n subscriber.complete();\n }\n };\n const outerNext = (value) => (active < concurrent ? doInnerSub(value) : buffer.push(value));\n const doInnerSub = (value) => {\n expand && subscriber.next(value);\n active++;\n let innerComplete = false;\n innerFrom(project(value, index++)).subscribe(createOperatorSubscriber(subscriber, (innerValue) => {\n onBeforeNext === null || onBeforeNext === void 0 ? void 0 : onBeforeNext(innerValue);\n if (expand) {\n outerNext(innerValue);\n }\n else {\n subscriber.next(innerValue);\n }\n }, () => {\n innerComplete = true;\n }, undefined, () => {\n if (innerComplete) {\n try {\n active--;\n while (buffer.length && active < concurrent) {\n const bufferedValue = buffer.shift();\n if (innerSubScheduler) {\n executeSchedule(subscriber, innerSubScheduler, () => doInnerSub(bufferedValue));\n }\n else {\n doInnerSub(bufferedValue);\n }\n }\n checkComplete();\n }\n catch (err) {\n subscriber.error(err);\n }\n }\n }));\n };\n source.subscribe(createOperatorSubscriber(subscriber, outerNext, () => {\n isComplete = true;\n checkComplete();\n }));\n return () => {\n additionalFinalizer === null || additionalFinalizer === void 0 ? void 0 : additionalFinalizer();\n };\n}\n","import { executeSchedule } from '../util/executeSchedule';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function observeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, (value) => executeSchedule(subscriber, scheduler, () => subscriber.next(value), delay), () => executeSchedule(subscriber, scheduler, () => subscriber.complete(), delay), (err) => executeSchedule(subscriber, scheduler, () => subscriber.error(err), delay)));\n });\n}\n","import { filter } from './filter';\nexport function skip(count) {\n return filter((_, index) => count <= index);\n}\n","import { concat } from '../observable/concat';\nimport { popScheduler } from '../util/args';\nimport { operate } from '../util/lift';\nexport function startWith(...values) {\n const scheduler = popScheduler(values);\n return operate((source, subscriber) => {\n (scheduler ? concat(values, source, scheduler) : concat(values, source)).subscribe(subscriber);\n });\n}\n","import { EMPTY } from '../observable/empty';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function take(count) {\n return count <= 0\n ?\n () => EMPTY\n : operate((source, subscriber) => {\n let seen = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n if (++seen <= count) {\n subscriber.next(value);\n if (count <= seen) {\n subscriber.complete();\n }\n }\n }));\n });\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { innerFrom } from '../observable/innerFrom';\nimport { noop } from '../util/noop';\nexport function takeUntil(notifier) {\n return operate((source, subscriber) => {\n innerFrom(notifier).subscribe(createOperatorSubscriber(subscriber, () => subscriber.complete(), noop));\n !subscriber.closed && source.subscribe(subscriber);\n });\n}\n","import { Subscription } from '../Subscription';\nexport class Action extends Subscription {\n constructor(scheduler, work) {\n super();\n }\n schedule(state, delay = 0) {\n return this;\n }\n}\n","export const intervalProvider = {\n setInterval(handler, timeout, ...args) {\n const { delegate } = intervalProvider;\n if (delegate === null || delegate === void 0 ? void 0 : delegate.setInterval) {\n return delegate.setInterval(handler, timeout, ...args);\n }\n return setInterval(handler, timeout, ...args);\n },\n clearInterval(handle) {\n const { delegate } = intervalProvider;\n return ((delegate === null || delegate === void 0 ? void 0 : delegate.clearInterval) || clearInterval)(handle);\n },\n delegate: undefined,\n};\n","import { Action } from './Action';\nimport { intervalProvider } from './intervalProvider';\nimport { arrRemove } from '../util/arrRemove';\nexport class AsyncAction extends Action {\n constructor(scheduler, work) {\n super(scheduler, work);\n this.scheduler = scheduler;\n this.work = work;\n this.pending = false;\n }\n schedule(state, delay = 0) {\n var _a;\n if (this.closed) {\n return this;\n }\n this.state = state;\n const id = this.id;\n const scheduler = this.scheduler;\n if (id != null) {\n this.id = this.recycleAsyncId(scheduler, id, delay);\n }\n this.pending = true;\n this.delay = delay;\n this.id = (_a = this.id) !== null && _a !== void 0 ? _a : this.requestAsyncId(scheduler, this.id, delay);\n return this;\n }\n requestAsyncId(scheduler, _id, delay = 0) {\n return intervalProvider.setInterval(scheduler.flush.bind(scheduler, this), delay);\n }\n recycleAsyncId(_scheduler, id, delay = 0) {\n if (delay != null && this.delay === delay && this.pending === false) {\n return id;\n }\n if (id != null) {\n intervalProvider.clearInterval(id);\n }\n return undefined;\n }\n execute(state, delay) {\n if (this.closed) {\n return new Error('executing a cancelled action');\n }\n this.pending = false;\n const error = this._execute(state, delay);\n if (error) {\n return error;\n }\n else if (this.pending === false && this.id != null) {\n this.id = this.recycleAsyncId(this.scheduler, this.id, null);\n }\n }\n _execute(state, _delay) {\n let errored = false;\n let errorValue;\n try {\n this.work(state);\n }\n catch (e) {\n errored = true;\n errorValue = e ? e : new Error('Scheduled action threw falsy error');\n }\n if (errored) {\n this.unsubscribe();\n return errorValue;\n }\n }\n unsubscribe() {\n if (!this.closed) {\n const { id, scheduler } = this;\n const { actions } = scheduler;\n this.work = this.state = this.scheduler = null;\n this.pending = false;\n arrRemove(actions, this);\n if (id != null) {\n this.id = this.recycleAsyncId(scheduler, id, null);\n }\n this.delay = null;\n super.unsubscribe();\n }\n }\n}\n","import { dateTimestampProvider } from './scheduler/dateTimestampProvider';\nexport class Scheduler {\n constructor(schedulerActionCtor, now = Scheduler.now) {\n this.schedulerActionCtor = schedulerActionCtor;\n this.now = now;\n }\n schedule(work, delay = 0, state) {\n return new this.schedulerActionCtor(this, work).schedule(state, delay);\n }\n}\nScheduler.now = dateTimestampProvider.now;\n","import { Scheduler } from '../Scheduler';\nexport class AsyncScheduler extends Scheduler {\n constructor(SchedulerAction, now = Scheduler.now) {\n super(SchedulerAction, now);\n this.actions = [];\n this._active = false;\n }\n flush(action) {\n const { actions } = this;\n if (this._active) {\n actions.push(action);\n return;\n }\n let error;\n this._active = true;\n do {\n if ((error = action.execute(action.state, action.delay))) {\n break;\n }\n } while ((action = actions.shift()));\n this._active = false;\n if (error) {\n while ((action = actions.shift())) {\n action.unsubscribe();\n }\n throw error;\n }\n }\n}\n","import { AsyncAction } from './AsyncAction';\nimport { AsyncScheduler } from './AsyncScheduler';\nexport const asyncScheduler = new AsyncScheduler(AsyncAction);\nexport const async = asyncScheduler;\n","export const dateTimestampProvider = {\n now() {\n return (dateTimestampProvider.delegate || Date).now();\n },\n delegate: undefined,\n};\n","import { isFunction } from './isFunction';\nimport { isScheduler } from './isScheduler';\nfunction last(arr) {\n return arr[arr.length - 1];\n}\nexport function popResultSelector(args) {\n return isFunction(last(args)) ? args.pop() : undefined;\n}\nexport function popScheduler(args) {\n return isScheduler(last(args)) ? args.pop() : undefined;\n}\nexport function popNumber(args, defaultValue) {\n return typeof last(args) === 'number' ? args.pop() : defaultValue;\n}\n","const { isArray } = Array;\nconst { getPrototypeOf, prototype: objectProto, keys: getKeys } = Object;\nexport function argsArgArrayOrObject(args) {\n if (args.length === 1) {\n const first = args[0];\n if (isArray(first)) {\n return { args: first, keys: null };\n }\n if (isPOJO(first)) {\n const keys = getKeys(first);\n return {\n args: keys.map((key) => first[key]),\n keys,\n };\n }\n }\n return { args: args, keys: null };\n}\nfunction isPOJO(obj) {\n return obj && typeof obj === 'object' && getPrototypeOf(obj) === objectProto;\n}\n","export function createObject(keys, values) {\n return keys.reduce((result, key, i) => ((result[key] = values[i]), result), {});\n}\n","export function executeSchedule(parentSubscription, scheduler, work, delay = 0, repeat = false) {\n const scheduleSubscription = scheduler.schedule(function () {\n work();\n if (repeat) {\n parentSubscription.add(this.schedule(null, delay));\n }\n else {\n this.unsubscribe();\n }\n }, delay);\n parentSubscription.add(scheduleSubscription);\n if (!repeat) {\n return scheduleSubscription;\n }\n}\n","import { isFunction } from './isFunction';\nexport function isScheduler(value) {\n return value && isFunction(value.schedule);\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","import { map } from \"../operators/map\";\nconst { isArray } = Array;\nfunction callOrApply(fn, args) {\n return isArray(args) ? fn(...args) : fn(args);\n}\nexport function mapOneOrManyArgs(fn) {\n return map(args => callOrApply(fn, args));\n}\n","import * as i0 from '@angular/core';\nimport { NgModule, CSP_NONCE, Injectable, Optional, Inject } from '@angular/core';\nimport { coerceArray } from '@angular/cdk/coercion';\nimport { Subject, combineLatest, concat, Observable } from 'rxjs';\nimport { take, skip, debounceTime, map, startWith, takeUntil } from 'rxjs/operators';\nimport * as i1 from '@angular/cdk/platform';\n\nclass LayoutModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: LayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: LayoutModule }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: LayoutModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: LayoutModule, decorators: [{\n type: NgModule,\n args: [{}]\n }] });\n\n/** Global registry for all dynamically-created, injected media queries. */\nconst mediaQueriesForWebkitCompatibility = new Set();\n/** Style tag that holds all of the dynamically-created media queries. */\nlet mediaQueryStyleNode;\n/** A utility for calling matchMedia queries. */\nclass MediaMatcher {\n constructor(_platform, _nonce) {\n this._platform = _platform;\n this._nonce = _nonce;\n this._matchMedia =\n this._platform.isBrowser && window.matchMedia\n ? // matchMedia is bound to the window scope intentionally as it is an illegal invocation to\n // call it from a different scope.\n window.matchMedia.bind(window)\n : noopMatchMedia;\n }\n /**\n * Evaluates the given media query and returns the native MediaQueryList from which results\n * can be retrieved.\n * Confirms the layout engine will trigger for the selector query provided and returns the\n * MediaQueryList for the query provided.\n */\n matchMedia(query) {\n if (this._platform.WEBKIT || this._platform.BLINK) {\n createEmptyStyleRule(query, this._nonce);\n }\n return this._matchMedia(query);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MediaMatcher, deps: [{ token: i1.Platform }, { token: CSP_NONCE, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MediaMatcher, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MediaMatcher, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: i1.Platform }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [CSP_NONCE]\n }] }]; } });\n/**\n * Creates an empty stylesheet that is used to work around browser inconsistencies related to\n * `matchMedia`. At the time of writing, it handles the following cases:\n * 1. On WebKit browsers, a media query has to have at least one rule in order for `matchMedia`\n * to fire. We work around it by declaring a dummy stylesheet with a `@media` declaration.\n * 2. In some cases Blink browsers will stop firing the `matchMedia` listener if none of the rules\n * inside the `@media` match existing elements on the page. We work around it by having one rule\n * targeting the `body`. See https://github.com/angular/components/issues/23546.\n */\nfunction createEmptyStyleRule(query, nonce) {\n if (mediaQueriesForWebkitCompatibility.has(query)) {\n return;\n }\n try {\n if (!mediaQueryStyleNode) {\n mediaQueryStyleNode = document.createElement('style');\n if (nonce) {\n mediaQueryStyleNode.nonce = nonce;\n }\n mediaQueryStyleNode.setAttribute('type', 'text/css');\n document.head.appendChild(mediaQueryStyleNode);\n }\n if (mediaQueryStyleNode.sheet) {\n mediaQueryStyleNode.sheet.insertRule(`@media ${query} {body{ }}`, 0);\n mediaQueriesForWebkitCompatibility.add(query);\n }\n }\n catch (e) {\n console.error(e);\n }\n}\n/** No-op matchMedia replacement for non-browser platforms. */\nfunction noopMatchMedia(query) {\n // Use `as any` here to avoid adding additional necessary properties for\n // the noop matcher.\n return {\n matches: query === 'all' || query === '',\n media: query,\n addListener: () => { },\n removeListener: () => { },\n };\n}\n\n/** Utility for checking the matching state of @media queries. */\nclass BreakpointObserver {\n constructor(_mediaMatcher, _zone) {\n this._mediaMatcher = _mediaMatcher;\n this._zone = _zone;\n /** A map of all media queries currently being listened for. */\n this._queries = new Map();\n /** A subject for all other observables to takeUntil based on. */\n this._destroySubject = new Subject();\n }\n /** Completes the active subject, signalling to all other observables to complete. */\n ngOnDestroy() {\n this._destroySubject.next();\n this._destroySubject.complete();\n }\n /**\n * Whether one or more media queries match the current viewport size.\n * @param value One or more media queries to check.\n * @returns Whether any of the media queries match.\n */\n isMatched(value) {\n const queries = splitQueries(coerceArray(value));\n return queries.some(mediaQuery => this._registerQuery(mediaQuery).mql.matches);\n }\n /**\n * Gets an observable of results for the given queries that will emit new results for any changes\n * in matching of the given queries.\n * @param value One or more media queries to check.\n * @returns A stream of matches for the given queries.\n */\n observe(value) {\n const queries = splitQueries(coerceArray(value));\n const observables = queries.map(query => this._registerQuery(query).observable);\n let stateObservable = combineLatest(observables);\n // Emit the first state immediately, and then debounce the subsequent emissions.\n stateObservable = concat(stateObservable.pipe(take(1)), stateObservable.pipe(skip(1), debounceTime(0)));\n return stateObservable.pipe(map(breakpointStates => {\n const response = {\n matches: false,\n breakpoints: {},\n };\n breakpointStates.forEach(({ matches, query }) => {\n response.matches = response.matches || matches;\n response.breakpoints[query] = matches;\n });\n return response;\n }));\n }\n /** Registers a specific query to be listened for. */\n _registerQuery(query) {\n // Only set up a new MediaQueryList if it is not already being listened for.\n if (this._queries.has(query)) {\n return this._queries.get(query);\n }\n const mql = this._mediaMatcher.matchMedia(query);\n // Create callback for match changes and add it is as a listener.\n const queryObservable = new Observable((observer) => {\n // Listener callback methods are wrapped to be placed back in ngZone. Callbacks must be placed\n // back into the zone because matchMedia is only included in Zone.js by loading the\n // webapis-media-query.js file alongside the zone.js file. Additionally, some browsers do not\n // have MediaQueryList inherit from EventTarget, which causes inconsistencies in how Zone.js\n // patches it.\n const handler = (e) => this._zone.run(() => observer.next(e));\n mql.addListener(handler);\n return () => {\n mql.removeListener(handler);\n };\n }).pipe(startWith(mql), map(({ matches }) => ({ query, matches })), takeUntil(this._destroySubject));\n // Add the MediaQueryList to the set of queries.\n const output = { observable: queryObservable, mql };\n this._queries.set(query, output);\n return output;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: BreakpointObserver, deps: [{ token: MediaMatcher }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: BreakpointObserver, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: BreakpointObserver, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: MediaMatcher }, { type: i0.NgZone }]; } });\n/**\n * Split each query string into separate query strings if two queries are provided as comma\n * separated.\n */\nfunction splitQueries(queries) {\n return queries\n .map(query => query.split(','))\n .reduce((a1, a2) => a1.concat(a2))\n .map(query => query.trim());\n}\n\n// PascalCase is being used as Breakpoints is used like an enum.\n// tslint:disable-next-line:variable-name\nconst Breakpoints = {\n XSmall: '(max-width: 599.98px)',\n Small: '(min-width: 600px) and (max-width: 959.98px)',\n Medium: '(min-width: 960px) and (max-width: 1279.98px)',\n Large: '(min-width: 1280px) and (max-width: 1919.98px)',\n XLarge: '(min-width: 1920px)',\n Handset: '(max-width: 599.98px) and (orientation: portrait), ' +\n '(max-width: 959.98px) and (orientation: landscape)',\n Tablet: '(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), ' +\n '(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)',\n Web: '(min-width: 840px) and (orientation: portrait), ' +\n '(min-width: 1280px) and (orientation: landscape)',\n HandsetPortrait: '(max-width: 599.98px) and (orientation: portrait)',\n TabletPortrait: '(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)',\n WebPortrait: '(min-width: 840px) and (orientation: portrait)',\n HandsetLandscape: '(max-width: 959.98px) and (orientation: landscape)',\n TabletLandscape: '(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)',\n WebLandscape: '(min-width: 1280px) and (orientation: landscape)',\n};\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { BreakpointObserver, Breakpoints, LayoutModule, MediaMatcher };\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50]} \ No newline at end of file diff --git a/9542.652f275cf72dc68f.js b/9542.652f275cf72dc68f.js new file mode 100644 index 0000000..20aca4c --- /dev/null +++ b/9542.652f275cf72dc68f.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[9542,5106,5603,9880,1551],{91640:(O,A,l)=>{l.d(A,{D:()=>d});var V=l(90833),C=l(45756),f=l(54987),v=l(10420),_=l(93945),m=l(58385),c=l(11054);function d(){for(var p=arguments.length,g=new Array(p),h=0;h<p;h++)g[h]=arguments[h];var a=(0,v.jO)(g),k=(0,C.D)(g),w=k.args,N=k.keys,B=new V.y(function(U){var R=w.length;if(R)for(var S=new Array(R),x=R,G=R,W=function(M){var b=!1;(0,f.Xf)(w[M]).subscribe((0,_.x)(U,function(P){b||(b=!0,G--),S[M]=P},function(){return x--},void 0,function(){(!x||!b)&&(G||U.next(N?(0,c.n)(N,S):S),U.complete())}))},Z=0;Z<R;Z++)W(Z);else U.complete()});return a?B.pipe((0,m.Z)(a)):B}},37400:(O,A,l)=>{l.d(A,{D:()=>Z});var V=l(54987),C=l(8728),f=l(41944);function v(E){var M=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,f.e)(function(b,P){P.add(E.schedule(function(){return b.subscribe(P)},M))})}var c=l(90833),p=l(67321),g=l(92971),h=l(1817);function k(E,M){if(!E)throw new Error("Iterable cannot be null");return new c.y(function(b){(0,h.f)(b,M,function(){var P=E[Symbol.asyncIterator]();(0,h.f)(b,M,function(){P.next().then(function(F){F.done?b.complete():b.next(F.value)})},0,!0)})})}var w=l(21331),N=l(79548),B=l(99806),U=l(23433),R=l(80470),S=l(27785),x=l(20181);function Z(E,M){return M?function W(E,M){if(null!=E){if((0,w.c)(E))return function _(E,M){return(0,V.Xf)(E).pipe(v(M),(0,C.Q)(M))}(E,M);if((0,B.z)(E))return function d(E,M){return new c.y(function(b){var P=0;return M.schedule(function(){P===E.length?b.complete():(b.next(E[P++]),b.closed||this.schedule())})})}(E,M);if((0,N.t)(E))return function m(E,M){return(0,V.Xf)(E).pipe(v(M),(0,C.Q)(M))}(E,M);if((0,R.D)(E))return k(E,M);if((0,U.T)(E))return function a(E,M){return new c.y(function(b){var P;return(0,h.f)(b,M,function(){P=E[p.h](),(0,h.f)(b,M,function(){var F,j;try{var re=P.next();F=re.value,j=re.done}catch(Ve){return void b.error(Ve)}j?b.complete():b.next(F)},0,!0)}),function(){return(0,g.m)(P?.return)&&P.return()}})}(E,M);if((0,x.L)(E))return function G(E,M){return k((0,x.Q)(E),M)}(E,M)}throw(0,S.z)(E)}(E,M):(0,V.Xf)(E)}},93945:(O,A,l)=>{l.d(A,{Q:()=>g,x:()=>p});var V=l(78069),C=l(48047),f=l(35488),v=l(24582),_=l(28694),m=l(4089),c=l(20265);function p(h,a,k,w,N){return new g(h,a,k,w,N)}var g=function(h){(0,v.Z)(k,h);var a=(0,_.Z)(k);function k(w,N,B,U,R,S){var x,G,W,Z;return(0,V.Z)(this,k),(Z=a.call(this,w)).onFinalize=R,Z.shouldUnsubscribe=S,Z._next=N?function(E){try{N(E)}catch(M){w.error(M)}}:(0,m.Z)((x=(0,f.Z)(Z),(0,c.Z)(k.prototype)),"_next",x),Z._error=U?function(E){try{U(E)}catch(M){w.error(M)}finally{this.unsubscribe()}}:(0,m.Z)((G=(0,f.Z)(Z),(0,c.Z)(k.prototype)),"_error",G),Z._complete=B?function(){try{B()}catch(E){w.error(E)}finally{this.unsubscribe()}}:(0,m.Z)((W=(0,f.Z)(Z),(0,c.Z)(k.prototype)),"_complete",W),Z}return(0,C.Z)(k,[{key:"unsubscribe",value:function(){var N;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var B=this.closed;(0,m.Z)((0,c.Z)(k.prototype),"unsubscribe",this).call(this),!B&&(null===(N=this.onFinalize)||void 0===N||N.call(this))}}}]),k}(l(5463).Lv)},50635:(O,A,l)=>{l.d(A,{U:()=>f});var V=l(41944),C=l(93945);function f(v,_){return(0,V.e)(function(m,c){var d=0;m.subscribe((0,C.x)(c,function(p){c.next(v.call(_,p,d++))}))})}},8728:(O,A,l)=>{l.d(A,{Q:()=>v});var V=l(1817),C=l(41944),f=l(93945);function v(_){var m=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,C.e)(function(c,d){c.subscribe((0,f.x)(d,function(p){return(0,V.f)(d,_,function(){return d.next(p)},m)},function(){return(0,V.f)(d,_,function(){return d.complete()},m)},function(p){return(0,V.f)(d,_,function(){return d.error(p)},m)}))})}},10420:(O,A,l)=>{l.d(A,{_6:()=>m,jO:()=>v,yG:()=>_});var V=l(92971),C=l(59867);function f(c){return c[c.length-1]}function v(c){return(0,V.m)(f(c))?c.pop():void 0}function _(c){return(0,C.K)(f(c))?c.pop():void 0}function m(c,d){return"number"==typeof f(c)?c.pop():d}},45756:(O,A,l)=>{l.d(A,{D:()=>_});var V=Array.isArray,C=Object.getPrototypeOf,f=Object.prototype,v=Object.keys;function _(c){if(1===c.length){var d=c[0];if(V(d))return{args:d,keys:null};if(function m(c){return c&&"object"==typeof c&&C(c)===f}(d)){var p=v(d);return{args:p.map(function(g){return d[g]}),keys:p}}}return{args:c,keys:null}}},11054:(O,A,l)=>{function V(C,f){return C.reduce(function(v,_,m){return v[_]=f[m],v},{})}l.d(A,{n:()=>V})},1817:(O,A,l)=>{function V(C,f,v){var _=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,m=arguments.length>4&&void 0!==arguments[4]&&arguments[4],c=f.schedule(function(){v(),m?C.add(this.schedule(null,_)):this.unsubscribe()},_);if(C.add(c),!m)return c}l.d(A,{f:()=>V})},59867:(O,A,l)=>{l.d(A,{K:()=>C});var V=l(92971);function C(f){return f&&(0,V.m)(f.schedule)}},41944:(O,A,l)=>{l.d(A,{A:()=>C,e:()=>f});var V=l(92971);function C(v){return(0,V.m)(v?.lift)}function f(v){return function(_){if(C(_))return _.lift(function(m){try{return v(m,this)}catch(c){this.error(c)}});throw new TypeError("Unable to lift unknown Observable type")}}},58385:(O,A,l)=>{l.d(A,{Z:()=>_});var V=l(86170),C=l(50635),f=Array.isArray;function _(m){return(0,C.U)(function(c){return function v(m,c){return f(c)?m.apply(void 0,(0,V.Z)(c)):m(c)}(m,c)})}},69542:(O,A,l)=>{l.r(A),l.d(A,{AbstractControl:()=>q,AbstractControlDirective:()=>Me,AbstractFormGroupDirective:()=>Ze,COMPOSITION_BUFFER_MODE:()=>E,CheckboxControlValueAccessor:()=>G,CheckboxRequiredValidator:()=>Ke,ControlContainer:()=>T,DefaultValueAccessor:()=>M,EmailValidator:()=>$e,FormArray:()=>Ce,FormArrayName:()=>ge,FormBuilder:()=>Je,FormControl:()=>$,FormControlDirective:()=>xe,FormControlName:()=>Le,FormGroup:()=>H,FormGroupDirective:()=>ve,FormGroupName:()=>_e,FormRecord:()=>Ie,FormsModule:()=>jn,MaxLengthValidator:()=>Xe,MaxValidator:()=>We,MinLengthValidator:()=>ze,MinValidator:()=>He,NG_ASYNC_VALIDATORS:()=>j,NG_VALIDATORS:()=>F,NG_VALUE_ACCESSOR:()=>S,NgControl:()=>L,NgControlStatus:()=>Vt,NgControlStatusGroup:()=>Dt,NgForm:()=>he,NgModel:()=>Te,NgModelGroup:()=>Re,NgSelectOption:()=>Tt,NonNullableFormBuilder:()=>Tn,NumberValueAccessor:()=>Be,PatternValidator:()=>Qe,RadioControlValueAccessor:()=>Ue,RangeValueAccessor:()=>je,ReactiveFormsModule:()=>Gn,RequiredValidator:()=>ye,SelectControlValueAccessor:()=>me,SelectMultipleControlValueAccessor:()=>pe,UntypedFormArray:()=>Zn,UntypedFormBuilder:()=>Bn,UntypedFormControl:()=>dn,UntypedFormGroup:()=>Jt,VERSION:()=>Un,Validators:()=>Ve,isFormArray:()=>Rn,isFormControl:()=>wt,isFormGroup:()=>qt,isFormRecord:()=>en,\u0275InternalFormsSharedModule:()=>Ye,\u0275NgNoValidate:()=>Pt,\u0275NgSelectMultipleOption:()=>Ut});var V=l(4089),C=l(20265),f=l(95106),v=l(35488),_=l(32090),m=l(86170),c=l(35603),d=l(24582),p=l(28694),g=l(78069),h=l(48047),a=l(56718),k=l(94055),w=l(37400),N=l(91640),B=l(50635),U=function(){var e=function(){function r(n,t){(0,g.Z)(this,r),this._renderer=n,this._elementRef=t,this.onChange=function(i){},this.onTouched=function(){}}return(0,h.Z)(r,[{key:"setProperty",value:function(t,i){this._renderer.setProperty(this._elementRef.nativeElement,t,i)}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"registerOnChange",value:function(t){this.onChange=t}},{key:"setDisabledState",value:function(t){this.setProperty("disabled",t)}}]),r}();return e.\u0275fac=function(n){return new(n||e)(a.\u0275\u0275directiveInject(a.Renderer2),a.\u0275\u0275directiveInject(a.ElementRef))},e.\u0275dir=a.\u0275\u0275defineDirective({type:e}),e}(),R=function(){var e=function(r){(0,d.Z)(t,r);var n=(0,p.Z)(t);function t(){return(0,g.Z)(this,t),n.apply(this,arguments)}return(0,h.Z)(t)}(U);return e.\u0275fac=function(){var r;return function(t){return(r||(r=a.\u0275\u0275getInheritedFactory(e)))(t||e)}}(),e.\u0275dir=a.\u0275\u0275defineDirective({type:e,features:[a.\u0275\u0275InheritDefinitionFeature]}),e}(),S=new a.InjectionToken("NgValueAccessor"),x={provide:S,useExisting:(0,a.forwardRef)(function(){return G}),multi:!0},G=function(){var e=function(r){(0,d.Z)(t,r);var n=(0,p.Z)(t);function t(){return(0,g.Z)(this,t),n.apply(this,arguments)}return(0,h.Z)(t,[{key:"writeValue",value:function(o){this.setProperty("checked",o)}}]),t}(R);return e.\u0275fac=function(){var r;return function(t){return(r||(r=a.\u0275\u0275getInheritedFactory(e)))(t||e)}}(),e.\u0275dir=a.\u0275\u0275defineDirective({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(n,t){1&n&&a.\u0275\u0275listener("change",function(o){return t.onChange(o.target.checked)})("blur",function(){return t.onTouched()})},features:[a.\u0275\u0275ProvidersFeature([x]),a.\u0275\u0275InheritDefinitionFeature]}),e}(),W={provide:S,useExisting:(0,a.forwardRef)(function(){return M}),multi:!0},E=new a.InjectionToken("CompositionEventMode"),M=function(){var e=function(r){(0,d.Z)(t,r);var n=(0,p.Z)(t);function t(i,o,u){var s;return(0,g.Z)(this,t),(s=n.call(this,i,o))._compositionMode=u,s._composing=!1,null==s._compositionMode&&(s._compositionMode=!function Z(){var e=(0,k.\u0275getDOM)()?(0,k.\u0275getDOM)().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}()),s}return(0,h.Z)(t,[{key:"writeValue",value:function(o){this.setProperty("value",o??"")}},{key:"_handleInput",value:function(o){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(o)}},{key:"_compositionStart",value:function(){this._composing=!0}},{key:"_compositionEnd",value:function(o){this._composing=!1,this._compositionMode&&this.onChange(o)}}]),t}(U);return e.\u0275fac=function(n){return new(n||e)(a.\u0275\u0275directiveInject(a.Renderer2),a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(E,8))},e.\u0275dir=a.\u0275\u0275defineDirective({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(n,t){1&n&&a.\u0275\u0275listener("input",function(o){return t._handleInput(o.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(o){return t._compositionEnd(o.target.value)})},features:[a.\u0275\u0275ProvidersFeature([W]),a.\u0275\u0275InheritDefinitionFeature]}),e}();function b(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}function P(e){return null!=e&&"number"==typeof e.length}var F=new a.InjectionToken("NgValidators"),j=new a.InjectionToken("NgAsyncValidators"),re=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Ve=function(){function e(){(0,g.Z)(this,e)}return(0,h.Z)(e,null,[{key:"min",value:function(n){return et(n)}},{key:"max",value:function(n){return tt(n)}},{key:"required",value:function(n){return nt(n)}},{key:"requiredTrue",value:function(n){return rt(n)}},{key:"email",value:function(n){return it(n)}},{key:"minLength",value:function(n){return ot(n)}},{key:"maxLength",value:function(n){return at(n)}},{key:"pattern",value:function(n){return ut(n)}},{key:"nullValidator",value:function(n){return null}},{key:"compose",value:function(n){return ht(n)}},{key:"composeAsync",value:function(n){return vt(n)}}]),e}();function et(e){return function(r){if(b(r.value)||b(e))return null;var n=parseFloat(r.value);return!isNaN(n)&&n<e?{min:{min:e,actual:r.value}}:null}}function tt(e){return function(r){if(b(r.value)||b(e))return null;var n=parseFloat(r.value);return!isNaN(n)&&n>e?{max:{max:e,actual:r.value}}:null}}function nt(e){return b(e.value)?{required:!0}:null}function rt(e){return!0===e.value?null:{required:!0}}function it(e){return b(e.value)||re.test(e.value)?null:{email:!0}}function ot(e){return function(r){return b(r.value)||!P(r.value)?null:r.value.length<e?{minlength:{requiredLength:e,actualLength:r.value.length}}:null}}function at(e){return function(r){return P(r.value)&&r.value.length>e?{maxlength:{requiredLength:e,actualLength:r.value.length}}:null}}function ut(e){return e?("string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),r=new RegExp(n)):(n=e.toString(),r=e),function(t){if(b(t.value))return null;var i=t.value;return r.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}):ie;var r,n}function ie(e){return null}function st(e){return null!=e}function lt(e){return(0,a.\u0275isPromise)(e)?(0,w.D)(e):e}function ct(e){var r={};return e.forEach(function(n){r=null!=n?(0,c.Z)((0,c.Z)({},r),n):r}),0===Object.keys(r).length?null:r}function dt(e,r){return r.map(function(n){return n(e)})}function ft(e){return e.map(function(r){return function Ht(e){return!e.validate}(r)?r:function(n){return r.validate(n)}})}function ht(e){if(!e)return null;var r=e.filter(st);return 0==r.length?null:function(n){return ct(dt(n,r))}}function De(e){return null!=e?ht(ft(e)):null}function vt(e){if(!e)return null;var r=e.filter(st);return 0==r.length?null:function(n){var t=dt(n,r).map(lt);return(0,N.D)(t).pipe((0,B.U)(ct))}}function Ae(e){return null!=e?vt(ft(e)):null}function _t(e,r){return null===e?[r]:Array.isArray(e)?[].concat((0,m.Z)(e),[r]):[e,r]}function gt(e){return e._rawValidators}function mt(e){return e._rawAsyncValidators}function Ee(e){return e?Array.isArray(e)?e:[e]:[]}function oe(e,r){return Array.isArray(e)?e.includes(r):e===r}function pt(e,r){var n=Ee(r);return Ee(e).forEach(function(i){oe(n,i)||n.push(i)}),n}function yt(e,r){return Ee(r).filter(function(n){return!oe(e,n)})}var Me=function(){function e(){(0,g.Z)(this,e),this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}return(0,h.Z)(e,[{key:"value",get:function(){return this.control?this.control.value:null}},{key:"valid",get:function(){return this.control?this.control.valid:null}},{key:"invalid",get:function(){return this.control?this.control.invalid:null}},{key:"pending",get:function(){return this.control?this.control.pending:null}},{key:"disabled",get:function(){return this.control?this.control.disabled:null}},{key:"enabled",get:function(){return this.control?this.control.enabled:null}},{key:"errors",get:function(){return this.control?this.control.errors:null}},{key:"pristine",get:function(){return this.control?this.control.pristine:null}},{key:"dirty",get:function(){return this.control?this.control.dirty:null}},{key:"touched",get:function(){return this.control?this.control.touched:null}},{key:"status",get:function(){return this.control?this.control.status:null}},{key:"untouched",get:function(){return this.control?this.control.untouched:null}},{key:"statusChanges",get:function(){return this.control?this.control.statusChanges:null}},{key:"valueChanges",get:function(){return this.control?this.control.valueChanges:null}},{key:"path",get:function(){return null}},{key:"_setValidators",value:function(n){this._rawValidators=n||[],this._composedValidatorFn=De(this._rawValidators)}},{key:"_setAsyncValidators",value:function(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Ae(this._rawAsyncValidators)}},{key:"validator",get:function(){return this._composedValidatorFn||null}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn||null}},{key:"_registerOnDestroy",value:function(n){this._onDestroyCallbacks.push(n)}},{key:"_invokeOnDestroyCallbacks",value:function(){this._onDestroyCallbacks.forEach(function(n){return n()}),this._onDestroyCallbacks=[]}},{key:"reset",value:function(){this.control&&this.control.reset(arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0)}},{key:"hasError",value:function(n,t){return!!this.control&&this.control.hasError(n,t)}},{key:"getError",value:function(n,t){return this.control?this.control.getError(n,t):null}}]),e}(),T=function(e){(0,d.Z)(n,e);var r=(0,p.Z)(n);function n(){return(0,g.Z)(this,n),r.apply(this,arguments)}return(0,h.Z)(n,[{key:"formDirective",get:function(){return null}},{key:"path",get:function(){return null}}]),n}(Me),L=function(e){(0,d.Z)(n,e);var r=(0,p.Z)(n);function n(){var t;return(0,g.Z)(this,n),(t=r.apply(this,arguments))._parent=null,t.name=null,t.valueAccessor=null,t}return(0,h.Z)(n)}(Me),Ct=function(){function e(r){(0,g.Z)(this,e),this._cd=r}return(0,h.Z)(e,[{key:"isTouched",get:function(){var n,t;return!(null===(n=this._cd)||void 0===n||null===(t=n.control)||void 0===t||!t.touched)}},{key:"isUntouched",get:function(){var n,t;return!(null===(n=this._cd)||void 0===n||null===(t=n.control)||void 0===t||!t.untouched)}},{key:"isPristine",get:function(){var n,t;return!(null===(n=this._cd)||void 0===n||null===(t=n.control)||void 0===t||!t.pristine)}},{key:"isDirty",get:function(){var n,t;return!(null===(n=this._cd)||void 0===n||null===(t=n.control)||void 0===t||!t.dirty)}},{key:"isValid",get:function(){var n,t;return!(null===(n=this._cd)||void 0===n||null===(t=n.control)||void 0===t||!t.valid)}},{key:"isInvalid",get:function(){var n,t;return!(null===(n=this._cd)||void 0===n||null===(t=n.control)||void 0===t||!t.invalid)}},{key:"isPending",get:function(){var n,t;return!(null===(n=this._cd)||void 0===n||null===(t=n.control)||void 0===t||!t.pending)}},{key:"isSubmitted",get:function(){var n;return!(null===(n=this._cd)||void 0===n||!n.submitted)}}]),e}(),Vt=function(){var e=function(r){(0,d.Z)(t,r);var n=(0,p.Z)(t);function t(i){return(0,g.Z)(this,t),n.call(this,i)}return(0,h.Z)(t)}(Ct);return e.\u0275fac=function(n){return new(n||e)(a.\u0275\u0275directiveInject(L,2))},e.\u0275dir=a.\u0275\u0275defineDirective({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,t){2&n&&a.\u0275\u0275classProp("ng-untouched",t.isUntouched)("ng-touched",t.isTouched)("ng-pristine",t.isPristine)("ng-dirty",t.isDirty)("ng-valid",t.isValid)("ng-invalid",t.isInvalid)("ng-pending",t.isPending)},features:[a.\u0275\u0275InheritDefinitionFeature]}),e}(),Dt=function(){var e=function(r){(0,d.Z)(t,r);var n=(0,p.Z)(t);function t(i){return(0,g.Z)(this,t),n.call(this,i)}return(0,h.Z)(t)}(Ct);return e.\u0275fac=function(n){return new(n||e)(a.\u0275\u0275directiveInject(T,10))},e.\u0275dir=a.\u0275\u0275defineDirective({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,t){2&n&&a.\u0275\u0275classProp("ng-untouched",t.isUntouched)("ng-touched",t.isTouched)("ng-pristine",t.isPristine)("ng-dirty",t.isDirty)("ng-valid",t.isValid)("ng-invalid",t.isInvalid)("ng-pending",t.isPending)("ng-submitted",t.isSubmitted)},features:[a.\u0275\u0275InheritDefinitionFeature]}),e}(),Y="VALID",ue="INVALID",X="PENDING",J="DISABLED";function Oe(e){return(se(e)?e.validators:e)||null}function Fe(e,r){return(se(r)?r.asyncValidators:e)||null}function se(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function Et(e,r,n){var t=e.controls;if(!(r?Object.keys(t):t).length)throw new a.\u0275RuntimeError(1e3,"");if(!t[n])throw new a.\u0275RuntimeError(1001,"")}function Mt(e,r,n){e._forEachChild(function(t,i){if(void 0===n[i])throw new a.\u0275RuntimeError(1002,"")})}var q=function(){function e(r,n){(0,g.Z)(this,e),this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=function(){},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(r),this._assignAsyncValidators(n)}return(0,h.Z)(e,[{key:"validator",get:function(){return this._composedValidatorFn},set:function(n){this._rawValidators=this._composedValidatorFn=n}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn},set:function(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}},{key:"parent",get:function(){return this._parent}},{key:"valid",get:function(){return this.status===Y}},{key:"invalid",get:function(){return this.status===ue}},{key:"pending",get:function(){return this.status==X}},{key:"disabled",get:function(){return this.status===J}},{key:"enabled",get:function(){return this.status!==J}},{key:"dirty",get:function(){return!this.pristine}},{key:"untouched",get:function(){return!this.touched}},{key:"updateOn",get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}},{key:"setValidators",value:function(n){this._assignValidators(n)}},{key:"setAsyncValidators",value:function(n){this._assignAsyncValidators(n)}},{key:"addValidators",value:function(n){this.setValidators(pt(n,this._rawValidators))}},{key:"addAsyncValidators",value:function(n){this.setAsyncValidators(pt(n,this._rawAsyncValidators))}},{key:"removeValidators",value:function(n){this.setValidators(yt(n,this._rawValidators))}},{key:"removeAsyncValidators",value:function(n){this.setAsyncValidators(yt(n,this._rawAsyncValidators))}},{key:"hasValidator",value:function(n){return oe(this._rawValidators,n)}},{key:"hasAsyncValidator",value:function(n){return oe(this._rawAsyncValidators,n)}},{key:"clearValidators",value:function(){this.validator=null}},{key:"clearAsyncValidators",value:function(){this.asyncValidator=null}},{key:"markAsTouched",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}},{key:"markAllAsTouched",value:function(){this.markAsTouched({onlySelf:!0}),this._forEachChild(function(n){return n.markAllAsTouched()})}},{key:"markAsUntouched",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(t){t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}},{key:"markAsDirty",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}},{key:"markAsPristine",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(t){t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}},{key:"markAsPending",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.status=X,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}},{key:"disable",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(n.onlySelf);this.status=J,this.errors=null,this._forEachChild(function(i){i.disable((0,c.Z)((0,c.Z)({},n),{},{onlySelf:!0}))}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors((0,c.Z)((0,c.Z)({},n),{},{skipPristineCheck:t})),this._onDisabledChange.forEach(function(i){return i(!0)})}},{key:"enable",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(n.onlySelf);this.status=Y,this._forEachChild(function(i){i.enable((0,c.Z)((0,c.Z)({},n),{},{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors((0,c.Z)((0,c.Z)({},n),{},{skipPristineCheck:t})),this._onDisabledChange.forEach(function(i){return i(!1)})}},{key:"_updateAncestors",value:function(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}},{key:"setParent",value:function(n){this._parent=n}},{key:"getRawValue",value:function(){return this.value}},{key:"updateValueAndValidity",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Y||this.status===X)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}},{key:"_updateTreeValidity",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{emitEvent:!0};this._forEachChild(function(t){return t._updateTreeValidity(n)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}},{key:"_setInitialStatus",value:function(){this.status=this._allControlsDisabled()?J:Y}},{key:"_runValidator",value:function(){return this.validator?this.validator(this):null}},{key:"_runAsyncValidator",value:function(n){var t=this;if(this.asyncValidator){this.status=X,this._hasOwnPendingAsyncValidator=!0;var i=lt(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(function(o){t._hasOwnPendingAsyncValidator=!1,t.setErrors(o,{emitEvent:n})})}}},{key:"_cancelExistingSubscription",value:function(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}},{key:"setErrors",value:function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}},{key:"get",value:function(n){var t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce(function(i,o){return i&&i._find(o)},this)}},{key:"getError",value:function(n,t){var i=t?this.get(t):this;return i&&i.errors?i.errors[n]:null}},{key:"hasError",value:function(n,t){return!!this.getError(n,t)}},{key:"root",get:function(){for(var n=this;n._parent;)n=n._parent;return n}},{key:"_updateControlsErrors",value:function(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}},{key:"_initObservables",value:function(){this.valueChanges=new a.EventEmitter,this.statusChanges=new a.EventEmitter}},{key:"_calculateStatus",value:function(){return this._allControlsDisabled()?J:this.errors?ue:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(X)?X:this._anyControlsHaveStatus(ue)?ue:Y}},{key:"_anyControlsHaveStatus",value:function(n){return this._anyControls(function(t){return t.status===n})}},{key:"_anyControlsDirty",value:function(){return this._anyControls(function(n){return n.dirty})}},{key:"_anyControlsTouched",value:function(){return this._anyControls(function(n){return n.touched})}},{key:"_updatePristine",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}},{key:"_updateTouched",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}},{key:"_registerOnCollectionChange",value:function(n){this._onCollectionChange=n}},{key:"_setUpdateStrategy",value:function(n){se(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}},{key:"_parentMarkedDirty",value:function(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}},{key:"_find",value:function(n){return null}},{key:"_assignValidators",value:function(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function Qt(e){return Array.isArray(e)?De(e):e||null}(this._rawValidators)}},{key:"_assignAsyncValidators",value:function(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function Yt(e){return Array.isArray(e)?Ae(e):e||null}(this._rawAsyncValidators)}}]),e}(),H=function(e){(0,d.Z)(n,e);var r=(0,p.Z)(n);function n(t,i,o){var u;return(0,g.Z)(this,n),(u=r.call(this,Oe(i),Fe(o,i))).controls=t,u._initObservables(),u._setUpdateStrategy(i),u._setUpControls(),u.updateValueAndValidity({onlySelf:!0,emitEvent:!!u.asyncValidator}),u}return(0,h.Z)(n,[{key:"registerControl",value:function(i,o){return this.controls[i]?this.controls[i]:(this.controls[i]=o,o.setParent(this),o._registerOnCollectionChange(this._onCollectionChange),o)}},{key:"addControl",value:function(i,o){var u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.registerControl(i,o),this.updateValueAndValidity({emitEvent:u.emitEvent}),this._onCollectionChange()}},{key:"removeControl",value:function(i){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[i]&&this.controls[i]._registerOnCollectionChange(function(){}),delete this.controls[i],this.updateValueAndValidity({emitEvent:o.emitEvent}),this._onCollectionChange()}},{key:"setControl",value:function(i,o){var u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[i]&&this.controls[i]._registerOnCollectionChange(function(){}),delete this.controls[i],o&&this.registerControl(i,o),this.updateValueAndValidity({emitEvent:u.emitEvent}),this._onCollectionChange()}},{key:"contains",value:function(i){return this.controls.hasOwnProperty(i)&&this.controls[i].enabled}},{key:"setValue",value:function(i){var o=this,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Mt(this,0,i),Object.keys(i).forEach(function(s){Et(o,!0,s),o.controls[s].setValue(i[s],{onlySelf:!0,emitEvent:u.emitEvent})}),this.updateValueAndValidity(u)}},{key:"patchValue",value:function(i){var o=this,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=i&&(Object.keys(i).forEach(function(s){var y=o.controls[s];y&&y.patchValue(i[s],{onlySelf:!0,emitEvent:u.emitEvent})}),this.updateValueAndValidity(u))}},{key:"reset",value:function(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(u,s){u.reset(i[s],{onlySelf:!0,emitEvent:o.emitEvent})}),this._updatePristine(o),this._updateTouched(o),this.updateValueAndValidity(o)}},{key:"getRawValue",value:function(){return this._reduceChildren({},function(i,o,u){return i[u]=o.getRawValue(),i})}},{key:"_syncPendingControls",value:function(){var i=this._reduceChildren(!1,function(o,u){return!!u._syncPendingControls()||o});return i&&this.updateValueAndValidity({onlySelf:!0}),i}},{key:"_forEachChild",value:function(i){var o=this;Object.keys(this.controls).forEach(function(u){var s=o.controls[u];s&&i(s,u)})}},{key:"_setUpControls",value:function(){var i=this;this._forEachChild(function(o){o.setParent(i),o._registerOnCollectionChange(i._onCollectionChange)})}},{key:"_updateValue",value:function(){this.value=this._reduceValue()}},{key:"_anyControls",value:function(i){for(var o=0,u=Object.entries(this.controls);o<u.length;o++){var s=(0,_.Z)(u[o],2),D=s[1];if(this.contains(s[0])&&i(D))return!0}return!1}},{key:"_reduceValue",value:function(){var i=this;return this._reduceChildren({},function(u,s,y){return(s.enabled||i.disabled)&&(u[y]=s.value),u})}},{key:"_reduceChildren",value:function(i,o){var u=i;return this._forEachChild(function(s,y){u=o(u,s,y)}),u}},{key:"_allControlsDisabled",value:function(){for(var i=0,o=Object.keys(this.controls);i<o.length;i++)if(this.controls[o[i]].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}},{key:"_find",value:function(i){return this.controls.hasOwnProperty(i)?this.controls[i]:null}}]),n}(q),Jt=H,qt=function(r){return r instanceof H},Ie=function(e){(0,d.Z)(n,e);var r=(0,p.Z)(n);function n(){return(0,g.Z)(this,n),r.apply(this,arguments)}return(0,h.Z)(n)}(H),en=function(r){return r instanceof Ie},K=new a.InjectionToken("CallSetDisabledState",{providedIn:"root",factory:function(){return ee}}),ee="always";function le(e,r){return[].concat((0,m.Z)(r.path),[e])}function te(e,r){var t,i,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ee;we(e,r),r.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&(null===(t=(i=r.valueAccessor).setDisabledState)||void 0===t||t.call(i,e.disabled)),function nn(e,r){r.valueAccessor.registerOnChange(function(n){e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&bt(e,r)})}(e,r),function on(e,r){var n=function(i,o){r.valueAccessor.writeValue(i),o&&r.viewToModelUpdate(i)};e.registerOnChange(n),r._registerOnDestroy(function(){e._unregisterOnChange(n)})}(e,r),function rn(e,r){r.valueAccessor.registerOnTouched(function(){e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&bt(e,r),"submit"!==e.updateOn&&e.markAsTouched()})}(e,r),function tn(e,r){if(r.valueAccessor.setDisabledState){var n=function(i){r.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(n),r._registerOnDestroy(function(){e._unregisterOnDisabledChange(n)})}}(e,r)}function ce(e,r){var t=function(){};r.valueAccessor&&(r.valueAccessor.registerOnChange(t),r.valueAccessor.registerOnTouched(t)),fe(e,r),e&&(r._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(function(){}))}function de(e,r){e.forEach(function(n){n.registerOnValidatorChange&&n.registerOnValidatorChange(r)})}function we(e,r){var n=gt(e);null!==r.validator?e.setValidators(_t(n,r.validator)):"function"==typeof n&&e.setValidators([n]);var t=mt(e);null!==r.asyncValidator?e.setAsyncValidators(_t(t,r.asyncValidator)):"function"==typeof t&&e.setAsyncValidators([t]);var i=function(){return e.updateValueAndValidity()};de(r._rawValidators,i),de(r._rawAsyncValidators,i)}function fe(e,r){var n=!1;if(null!==e){if(null!==r.validator){var t=gt(e);if(Array.isArray(t)&&t.length>0){var i=t.filter(function(y){return y!==r.validator});i.length!==t.length&&(n=!0,e.setValidators(i))}}if(null!==r.asyncValidator){var o=mt(e);if(Array.isArray(o)&&o.length>0){var u=o.filter(function(y){return y!==r.asyncValidator});u.length!==o.length&&(n=!0,e.setAsyncValidators(u))}}}var s=function(){};return de(r._rawValidators,s),de(r._rawAsyncValidators,s),n}function bt(e,r){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),r.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function kt(e,r){we(e,r)}function Pe(e,r){if(!e.hasOwnProperty("model"))return!1;var n=e.model;return!!n.isFirstChange()||!Object.is(r,n.currentValue)}function Ot(e,r){e._syncPendingControls(),r.forEach(function(n){var t=n.control;"submit"===t.updateOn&&t._pendingChange&&(n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function Ne(e,r){if(!r)return null;Array.isArray(r);var n=void 0,t=void 0,i=void 0;return r.forEach(function(o){o.constructor===M?n=o:function sn(e){return Object.getPrototypeOf(e.constructor)===R}(o)?t=o:i=o}),i||t||n||null}var cn={provide:T,useExisting:(0,a.forwardRef)(function(){return he})},ne=function(){return Promise.resolve()}(),he=function(){var e=function(r){(0,d.Z)(t,r);var n=(0,p.Z)(t);function t(i,o,u){var s;return(0,g.Z)(this,t),(s=n.call(this)).callSetDisabledState=u,s.submitted=!1,s._directives=new Set,s.ngSubmit=new a.EventEmitter,s.form=new H({},De(i),Ae(o)),s}return(0,h.Z)(t,[{key:"ngAfterViewInit",value:function(){this._setUpdateStrategy()}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"controls",get:function(){return this.form.controls}},{key:"addControl",value:function(o){var u=this;ne.then(function(){var s=u._findContainer(o.path);o.control=s.registerControl(o.name,o.control),te(o.control,o,u.callSetDisabledState),o.control.updateValueAndValidity({emitEvent:!1}),u._directives.add(o)})}},{key:"getControl",value:function(o){return this.form.get(o.path)}},{key:"removeControl",value:function(o){var u=this;ne.then(function(){var s=u._findContainer(o.path);s&&s.removeControl(o.name),u._directives.delete(o)})}},{key:"addFormGroup",value:function(o){var u=this;ne.then(function(){var s=u._findContainer(o.path),y=new H({});kt(y,o),s.registerControl(o.name,y),y.updateValueAndValidity({emitEvent:!1})})}},{key:"removeFormGroup",value:function(o){var u=this;ne.then(function(){var s=u._findContainer(o.path);s&&s.removeControl(o.name)})}},{key:"getFormGroup",value:function(o){return this.form.get(o.path)}},{key:"updateModel",value:function(o,u){var s=this;ne.then(function(){s.form.get(o.path).setValue(u)})}},{key:"setValue",value:function(o){this.control.setValue(o)}},{key:"onSubmit",value:function(o){var u;return this.submitted=!0,Ot(this.form,this._directives),this.ngSubmit.emit(o),"dialog"===(null==o||null===(u=o.target)||void 0===u?void 0:u.method)}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(){this.form.reset(arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0),this.submitted=!1}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}},{key:"_findContainer",value:function(o){return o.pop(),o.length?this.form.get(o):this.form}}]),t}(T);return e.\u0275fac=function(n){return new(n||e)(a.\u0275\u0275directiveInject(F,10),a.\u0275\u0275directiveInject(j,10),a.\u0275\u0275directiveInject(K,8))},e.\u0275dir=a.\u0275\u0275defineDirective({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,t){1&n&&a.\u0275\u0275listener("submit",function(o){return t.onSubmit(o)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[a.\u0275\u0275ProvidersFeature([cn]),a.\u0275\u0275InheritDefinitionFeature]}),e}();function Ft(e,r){var n=e.indexOf(r);n>-1&&e.splice(n,1)}function It(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}var $=function(e){(0,d.Z)(n,e);var r=(0,p.Z)(n);function n(){var t,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,o=arguments.length>1?arguments[1]:void 0,u=arguments.length>2?arguments[2]:void 0;return(0,g.Z)(this,n),(t=r.call(this,Oe(o),Fe(u,o))).defaultValue=null,t._onChange=[],t._pendingChange=!1,t._applyFormState(i),t._setUpdateStrategy(o),t._initObservables(),t.updateValueAndValidity({onlySelf:!0,emitEvent:!!t.asyncValidator}),se(o)&&(o.nonNullable||o.initialValueIsDefault)&&(t.defaultValue=It(i)?i.value:i),t}return(0,h.Z)(n,[{key:"setValue",value:function(i){var o=this,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.value=this._pendingValue=i,this._onChange.length&&!1!==u.emitModelToViewChange&&this._onChange.forEach(function(s){return s(o.value,!1!==u.emitViewToModelChange)}),this.updateValueAndValidity(u)}},{key:"patchValue",value:function(i){this.setValue(i,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}},{key:"reset",value:function(){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._applyFormState(arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.defaultValue),this.markAsPristine(o),this.markAsUntouched(o),this.setValue(this.value,o),this._pendingChange=!1}},{key:"_updateValue",value:function(){}},{key:"_anyControls",value:function(i){return!1}},{key:"_allControlsDisabled",value:function(){return this.disabled}},{key:"registerOnChange",value:function(i){this._onChange.push(i)}},{key:"_unregisterOnChange",value:function(i){Ft(this._onChange,i)}},{key:"registerOnDisabledChange",value:function(i){this._onDisabledChange.push(i)}},{key:"_unregisterOnDisabledChange",value:function(i){Ft(this._onDisabledChange,i)}},{key:"_forEachChild",value:function(i){}},{key:"_syncPendingControls",value:function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}},{key:"_applyFormState",value:function(i){It(i)?(this.value=this._pendingValue=i.value,i.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=i}}]),n}(q),dn=$,wt=function(r){return r instanceof $},Ze=function(){var e=function(r){(0,d.Z)(t,r);var n=(0,p.Z)(t);function t(){return(0,g.Z)(this,t),n.apply(this,arguments)}return(0,h.Z)(t,[{key:"ngOnInit",value:function(){this._checkParentType(),this.formDirective.addFormGroup(this)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeFormGroup(this)}},{key:"control",get:function(){return this.formDirective.getFormGroup(this)}},{key:"path",get:function(){return le(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"_checkParentType",value:function(){}}]),t}(T);return e.\u0275fac=function(){var r;return function(t){return(r||(r=a.\u0275\u0275getInheritedFactory(e)))(t||e)}}(),e.\u0275dir=a.\u0275\u0275defineDirective({type:e,features:[a.\u0275\u0275InheritDefinitionFeature]}),e}(),fn={provide:T,useExisting:(0,a.forwardRef)(function(){return Re})},Re=function(){var e=function(r){(0,d.Z)(t,r);var n=(0,p.Z)(t);function t(i,o,u){var s;return(0,g.Z)(this,t),(s=n.call(this)).name="",s._parent=i,s._setValidators(o),s._setAsyncValidators(u),s}return(0,h.Z)(t,[{key:"_checkParentType",value:function(){}}]),t}(Ze);return e.\u0275fac=function(n){return new(n||e)(a.\u0275\u0275directiveInject(T,5),a.\u0275\u0275directiveInject(F,10),a.\u0275\u0275directiveInject(j,10))},e.\u0275dir=a.\u0275\u0275defineDirective({type:e,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[a.\u0275\u0275ProvidersFeature([fn]),a.\u0275\u0275InheritDefinitionFeature]}),e}(),hn={provide:L,useExisting:(0,a.forwardRef)(function(){return Te})},St=function(){return Promise.resolve()}(),Te=function(){var e=function(r){(0,d.Z)(t,r);var n=(0,p.Z)(t);function t(i,o,u,s,y,D){var I;return(0,g.Z)(this,t),(I=n.call(this))._changeDetectorRef=y,I.callSetDisabledState=D,I.control=new $,I._registered=!1,I.name="",I.update=new a.EventEmitter,I._parent=i,I._setValidators(o),I._setAsyncValidators(u),I.valueAccessor=Ne((0,v.Z)(I),s),I}return(0,h.Z)(t,[{key:"ngOnChanges",value:function(o){if(this._checkForErrors(),!this._registered||"name"in o){if(this._registered&&(this._checkName(),this.formDirective)){var u=o.name.previousValue;this.formDirective.removeControl({name:u,path:this._getPath(u)})}this._setUpControl()}"isDisabled"in o&&this._updateDisabled(o),Pe(o,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"path",get:function(){return this._getPath(this.name)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"viewToModelUpdate",value:function(o){this.viewModel=o,this.update.emit(o)}},{key:"_setUpControl",value:function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}},{key:"_isStandalone",value:function(){return!this._parent||!(!this.options||!this.options.standalone)}},{key:"_setUpStandalone",value:function(){te(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}},{key:"_checkForErrors",value:function(){this._isStandalone()||this._checkParentType(),this._checkName()}},{key:"_checkParentType",value:function(){}},{key:"_checkName",value:function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}},{key:"_updateValue",value:function(o){var u=this;St.then(function(){var s;u.control.setValue(o,{emitViewToModelChange:!1}),null===(s=u._changeDetectorRef)||void 0===s||s.markForCheck()})}},{key:"_updateDisabled",value:function(o){var u=this,s=o.isDisabled.currentValue,y=0!==s&&(0,a.\u0275coerceToBoolean)(s);St.then(function(){var D;y&&!u.control.disabled?u.control.disable():!y&&u.control.disabled&&u.control.enable(),null===(D=u._changeDetectorRef)||void 0===D||D.markForCheck()})}},{key:"_getPath",value:function(o){return this._parent?le(o,this._parent):[o]}}]),t}(L);return e.\u0275fac=function(n){return new(n||e)(a.\u0275\u0275directiveInject(T,9),a.\u0275\u0275directiveInject(F,10),a.\u0275\u0275directiveInject(j,10),a.\u0275\u0275directiveInject(S,10),a.\u0275\u0275directiveInject(a.ChangeDetectorRef,8),a.\u0275\u0275directiveInject(K,8))},e.\u0275dir=a.\u0275\u0275defineDirective({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[a.\u0275\u0275ProvidersFeature([hn]),a.\u0275\u0275InheritDefinitionFeature,a.\u0275\u0275NgOnChangesFeature]}),e}(),Pt=function(){var e=(0,h.Z)(function r(){(0,g.Z)(this,r)});return e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=a.\u0275\u0275defineDirective({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e}(),vn={provide:S,useExisting:(0,a.forwardRef)(function(){return Be}),multi:!0},Be=function(){var e=function(r){(0,d.Z)(t,r);var n=(0,p.Z)(t);function t(){return(0,g.Z)(this,t),n.apply(this,arguments)}return(0,h.Z)(t,[{key:"writeValue",value:function(o){this.setProperty("value",o??"")}},{key:"registerOnChange",value:function(o){this.onChange=function(u){o(""==u?null:parseFloat(u))}}}]),t}(R);return e.\u0275fac=function(){var r;return function(t){return(r||(r=a.\u0275\u0275getInheritedFactory(e)))(t||e)}}(),e.\u0275dir=a.\u0275\u0275defineDirective({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(n,t){1&n&&a.\u0275\u0275listener("input",function(o){return t.onChange(o.target.value)})("blur",function(){return t.onTouched()})},features:[a.\u0275\u0275ProvidersFeature([vn]),a.\u0275\u0275InheritDefinitionFeature]}),e}(),_n={provide:S,useExisting:(0,a.forwardRef)(function(){return Ue}),multi:!0},Nt=function(){var e=(0,h.Z)(function r(){(0,g.Z)(this,r)});return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=a.\u0275\u0275defineNgModule({type:e}),e.\u0275inj=a.\u0275\u0275defineInjector({}),e}(),gn=function(){var e=function(){function r(){(0,g.Z)(this,r),this._accessors=[]}return(0,h.Z)(r,[{key:"add",value:function(t,i){this._accessors.push([t,i])}},{key:"remove",value:function(t){for(var i=this._accessors.length-1;i>=0;--i)if(this._accessors[i][1]===t)return void this._accessors.splice(i,1)}},{key:"select",value:function(t){var i=this;this._accessors.forEach(function(o){i._isSameGroup(o,t)&&o[1]!==t&&o[1].fireUncheck(t.value)})}},{key:"_isSameGroup",value:function(t,i){return!!t[0].control&&t[0]._parent===i._control._parent&&t[1].name===i.name}}]),r}();return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=a.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:Nt}),e}(),Ue=function(){var e=function(r){(0,d.Z)(t,r);var n=(0,p.Z)(t);function t(i,o,u,s){var y,D;return(0,g.Z)(this,t),(D=n.call(this,i,o))._registry=u,D._injector=s,D.setDisabledStateFired=!1,D.onChange=function(){},D.callSetDisabledState=null!==(y=(0,a.inject)(K,{optional:!0}))&&void 0!==y?y:ee,D}return(0,h.Z)(t,[{key:"ngOnInit",value:function(){this._control=this._injector.get(L),this._checkName(),this._registry.add(this._control,this)}},{key:"ngOnDestroy",value:function(){this._registry.remove(this)}},{key:"writeValue",value:function(o){this._state=o===this.value,this.setProperty("checked",this._state)}},{key:"registerOnChange",value:function(o){var u=this;this._fn=o,this.onChange=function(){o(u.value),u._registry.select(u)}}},{key:"setDisabledState",value:function(o){(this.setDisabledStateFired||o||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",o),this.setDisabledStateFired=!0}},{key:"fireUncheck",value:function(o){this.writeValue(o)}},{key:"_checkName",value:function(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}]),t}(R);return e.\u0275fac=function(n){return new(n||e)(a.\u0275\u0275directiveInject(a.Renderer2),a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(gn),a.\u0275\u0275directiveInject(a.Injector))},e.\u0275dir=a.\u0275\u0275defineDirective({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(n,t){1&n&&a.\u0275\u0275listener("change",function(){return t.onChange()})("blur",function(){return t.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[a.\u0275\u0275ProvidersFeature([_n]),a.\u0275\u0275InheritDefinitionFeature]}),e}(),mn={provide:S,useExisting:(0,a.forwardRef)(function(){return je}),multi:!0},je=function(){var e=function(r){(0,d.Z)(t,r);var n=(0,p.Z)(t);function t(){return(0,g.Z)(this,t),n.apply(this,arguments)}return(0,h.Z)(t,[{key:"writeValue",value:function(o){this.setProperty("value",parseFloat(o))}},{key:"registerOnChange",value:function(o){this.onChange=function(u){o(""==u?null:parseFloat(u))}}}]),t}(R);return e.\u0275fac=function(){var r;return function(t){return(r||(r=a.\u0275\u0275getInheritedFactory(e)))(t||e)}}(),e.\u0275dir=a.\u0275\u0275defineDirective({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(n,t){1&n&&a.\u0275\u0275listener("change",function(o){return t.onChange(o.target.value)})("input",function(o){return t.onChange(o.target.value)})("blur",function(){return t.onTouched()})},features:[a.\u0275\u0275ProvidersFeature([mn]),a.\u0275\u0275InheritDefinitionFeature]}),e}(),Ge=new a.InjectionToken("NgModelWithFormControlWarning"),pn={provide:L,useExisting:(0,a.forwardRef)(function(){return xe})},xe=function(){var e=function(r){(0,d.Z)(t,r);var n=(0,p.Z)(t);function t(i,o,u,s,y){var D;return(0,g.Z)(this,t),(D=n.call(this))._ngModelWarningConfig=s,D.callSetDisabledState=y,D.update=new a.EventEmitter,D._ngModelWarningSent=!1,D._setValidators(i),D._setAsyncValidators(o),D.valueAccessor=Ne((0,v.Z)(D),u),D}return(0,h.Z)(t,[{key:"isDisabled",set:function(o){}},{key:"ngOnChanges",value:function(o){if(this._isControlChanged(o)){var u=o.form.previousValue;u&&ce(u,this),te(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Pe(o,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}},{key:"ngOnDestroy",value:function(){this.form&&ce(this.form,this)}},{key:"path",get:function(){return[]}},{key:"control",get:function(){return this.form}},{key:"viewToModelUpdate",value:function(o){this.viewModel=o,this.update.emit(o)}},{key:"_isControlChanged",value:function(o){return o.hasOwnProperty("form")}}]),t}(L);return e._ngModelWarningSentOnce=!1,e.\u0275fac=function(n){return new(n||e)(a.\u0275\u0275directiveInject(F,10),a.\u0275\u0275directiveInject(j,10),a.\u0275\u0275directiveInject(S,10),a.\u0275\u0275directiveInject(Ge,8),a.\u0275\u0275directiveInject(K,8))},e.\u0275dir=a.\u0275\u0275defineDirective({type:e,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[a.\u0275\u0275ProvidersFeature([pn]),a.\u0275\u0275InheritDefinitionFeature,a.\u0275\u0275NgOnChangesFeature]}),e}(),yn={provide:T,useExisting:(0,a.forwardRef)(function(){return ve})},ve=function(){var e=function(r){(0,d.Z)(t,r);var n=(0,p.Z)(t);function t(i,o,u){var s;return(0,g.Z)(this,t),(s=n.call(this)).callSetDisabledState=u,s.submitted=!1,s._onCollectionChange=function(){return s._updateDomValue()},s.directives=[],s.form=null,s.ngSubmit=new a.EventEmitter,s._setValidators(i),s._setAsyncValidators(o),s}return(0,h.Z)(t,[{key:"ngOnChanges",value:function(o){this._checkFormPresent(),o.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}},{key:"ngOnDestroy",value:function(){this.form&&(fe(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(function(){}))}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"addControl",value:function(o){var u=this.form.get(o.path);return te(u,o,this.callSetDisabledState),u.updateValueAndValidity({emitEvent:!1}),this.directives.push(o),u}},{key:"getControl",value:function(o){return this.form.get(o.path)}},{key:"removeControl",value:function(o){ce(o.control||null,o),function ln(e,r){var n=e.indexOf(r);n>-1&&e.splice(n,1)}(this.directives,o)}},{key:"addFormGroup",value:function(o){this._setUpFormContainer(o)}},{key:"removeFormGroup",value:function(o){this._cleanUpFormContainer(o)}},{key:"getFormGroup",value:function(o){return this.form.get(o.path)}},{key:"addFormArray",value:function(o){this._setUpFormContainer(o)}},{key:"removeFormArray",value:function(o){this._cleanUpFormContainer(o)}},{key:"getFormArray",value:function(o){return this.form.get(o.path)}},{key:"updateModel",value:function(o,u){this.form.get(o.path).setValue(u)}},{key:"onSubmit",value:function(o){var u;return this.submitted=!0,Ot(this.form,this.directives),this.ngSubmit.emit(o),"dialog"===(null==o||null===(u=o.target)||void 0===u?void 0:u.method)}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(){this.form.reset(arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0),this.submitted=!1}},{key:"_updateDomValue",value:function(){var o=this;this.directives.forEach(function(u){var s=u.control,y=o.form.get(u.path);s!==y&&(ce(s||null,u),wt(y)&&(te(y,u,o.callSetDisabledState),u.control=y))}),this.form._updateTreeValidity({emitEvent:!1})}},{key:"_setUpFormContainer",value:function(o){var u=this.form.get(o.path);kt(u,o),u.updateValueAndValidity({emitEvent:!1})}},{key:"_cleanUpFormContainer",value:function(o){if(this.form){var u=this.form.get(o.path);if(u){var s=function an(e,r){return fe(e,r)}(u,o);s&&u.updateValueAndValidity({emitEvent:!1})}}}},{key:"_updateRegistrations",value:function(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){})}},{key:"_updateValidators",value:function(){we(this.form,this),this._oldForm&&fe(this._oldForm,this)}},{key:"_checkFormPresent",value:function(){}}]),t}(T);return e.\u0275fac=function(n){return new(n||e)(a.\u0275\u0275directiveInject(F,10),a.\u0275\u0275directiveInject(j,10),a.\u0275\u0275directiveInject(K,8))},e.\u0275dir=a.\u0275\u0275defineDirective({type:e,selectors:[["","formGroup",""]],hostBindings:function(n,t){1&n&&a.\u0275\u0275listener("submit",function(o){return t.onSubmit(o)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[a.\u0275\u0275ProvidersFeature([yn]),a.\u0275\u0275InheritDefinitionFeature,a.\u0275\u0275NgOnChangesFeature]}),e}(),Cn={provide:T,useExisting:(0,a.forwardRef)(function(){return _e})},_e=function(){var e=function(r){(0,d.Z)(t,r);var n=(0,p.Z)(t);function t(i,o,u){var s;return(0,g.Z)(this,t),(s=n.call(this)).name=null,s._parent=i,s._setValidators(o),s._setAsyncValidators(u),s}return(0,h.Z)(t,[{key:"_checkParentType",value:function(){Zt(this._parent)}}]),t}(Ze);return e.\u0275fac=function(n){return new(n||e)(a.\u0275\u0275directiveInject(T,13),a.\u0275\u0275directiveInject(F,10),a.\u0275\u0275directiveInject(j,10))},e.\u0275dir=a.\u0275\u0275defineDirective({type:e,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[a.\u0275\u0275ProvidersFeature([Cn]),a.\u0275\u0275InheritDefinitionFeature]}),e}(),Vn={provide:T,useExisting:(0,a.forwardRef)(function(){return ge})},ge=function(){var e=function(r){(0,d.Z)(t,r);var n=(0,p.Z)(t);function t(i,o,u){var s;return(0,g.Z)(this,t),(s=n.call(this)).name=null,s._parent=i,s._setValidators(o),s._setAsyncValidators(u),s}return(0,h.Z)(t,[{key:"ngOnInit",value:function(){this._checkParentType(),this.formDirective.addFormArray(this)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeFormArray(this)}},{key:"control",get:function(){return this.formDirective.getFormArray(this)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"path",get:function(){return le(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"_checkParentType",value:function(){Zt(this._parent)}}]),t}(T);return e.\u0275fac=function(n){return new(n||e)(a.\u0275\u0275directiveInject(T,13),a.\u0275\u0275directiveInject(F,10),a.\u0275\u0275directiveInject(j,10))},e.\u0275dir=a.\u0275\u0275defineDirective({type:e,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[a.\u0275\u0275ProvidersFeature([Vn]),a.\u0275\u0275InheritDefinitionFeature]}),e}();function Zt(e){return!(e instanceof _e||e instanceof ve||e instanceof ge)}var Dn={provide:L,useExisting:(0,a.forwardRef)(function(){return Le})},Le=function(){var e=function(r){(0,d.Z)(t,r);var n=(0,p.Z)(t);function t(i,o,u,s,y){var D;return(0,g.Z)(this,t),(D=n.call(this))._ngModelWarningConfig=y,D._added=!1,D.name=null,D.update=new a.EventEmitter,D._ngModelWarningSent=!1,D._parent=i,D._setValidators(o),D._setAsyncValidators(u),D.valueAccessor=Ne((0,v.Z)(D),s),D}return(0,h.Z)(t,[{key:"isDisabled",set:function(o){}},{key:"ngOnChanges",value:function(o){this._added||this._setUpControl(),Pe(o,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"viewToModelUpdate",value:function(o){this.viewModel=o,this.update.emit(o)}},{key:"path",get:function(){return le(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"_checkParentType",value:function(){}},{key:"_setUpControl",value:function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}]),t}(L);return e._ngModelWarningSentOnce=!1,e.\u0275fac=function(n){return new(n||e)(a.\u0275\u0275directiveInject(T,13),a.\u0275\u0275directiveInject(F,10),a.\u0275\u0275directiveInject(j,10),a.\u0275\u0275directiveInject(S,10),a.\u0275\u0275directiveInject(Ge,8))},e.\u0275dir=a.\u0275\u0275defineDirective({type:e,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[a.\u0275\u0275ProvidersFeature([Dn]),a.\u0275\u0275InheritDefinitionFeature,a.\u0275\u0275NgOnChangesFeature]}),e}(),An={provide:S,useExisting:(0,a.forwardRef)(function(){return me}),multi:!0};function Rt(e,r){return null==e?"".concat(r):(r&&"object"==typeof r&&(r="Object"),"".concat(e,": ").concat(r).slice(0,50))}var me=function(){var e=function(r){(0,d.Z)(t,r);var n=(0,p.Z)(t);function t(){var i;return(0,g.Z)(this,t),(i=n.apply(this,arguments))._optionMap=new Map,i._idCounter=0,i._compareWith=Object.is,i}return(0,h.Z)(t,[{key:"compareWith",set:function(o){this._compareWith=o}},{key:"writeValue",value:function(o){this.value=o;var s=Rt(this._getOptionId(o),o);this.setProperty("value",s)}},{key:"registerOnChange",value:function(o){var u=this;this.onChange=function(s){u.value=u._getOptionValue(s),o(u.value)}}},{key:"_registerOption",value:function(){return(this._idCounter++).toString()}},{key:"_getOptionId",value:function(o){var s,u=(0,f.Z)(this._optionMap.keys());try{for(u.s();!(s=u.n()).done;){var y=s.value;if(this._compareWith(this._optionMap.get(y),o))return y}}catch(D){u.e(D)}finally{u.f()}return null}},{key:"_getOptionValue",value:function(o){var u=function En(e){return e.split(":")[0]}(o);return this._optionMap.has(u)?this._optionMap.get(u):o}}]),t}(R);return e.\u0275fac=function(){var r;return function(t){return(r||(r=a.\u0275\u0275getInheritedFactory(e)))(t||e)}}(),e.\u0275dir=a.\u0275\u0275defineDirective({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(n,t){1&n&&a.\u0275\u0275listener("change",function(o){return t.onChange(o.target.value)})("blur",function(){return t.onTouched()})},inputs:{compareWith:"compareWith"},features:[a.\u0275\u0275ProvidersFeature([An]),a.\u0275\u0275InheritDefinitionFeature]}),e}(),Tt=function(){var e=function(){function r(n,t,i){(0,g.Z)(this,r),this._element=n,this._renderer=t,this._select=i,this._select&&(this.id=this._select._registerOption())}return(0,h.Z)(r,[{key:"ngValue",set:function(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(Rt(this.id,t)),this._select.writeValue(this._select.value))}},{key:"value",set:function(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}},{key:"_setElementValue",value:function(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}},{key:"ngOnDestroy",value:function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}]),r}();return e.\u0275fac=function(n){return new(n||e)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(a.Renderer2),a.\u0275\u0275directiveInject(me,9))},e.\u0275dir=a.\u0275\u0275defineDirective({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e}(),Mn={provide:S,useExisting:(0,a.forwardRef)(function(){return pe}),multi:!0};function Bt(e,r){return null==e?"".concat(r):("string"==typeof r&&(r="'".concat(r,"'")),r&&"object"==typeof r&&(r="Object"),"".concat(e,": ").concat(r).slice(0,50))}var pe=function(){var e=function(r){(0,d.Z)(t,r);var n=(0,p.Z)(t);function t(){var i;return(0,g.Z)(this,t),(i=n.apply(this,arguments))._optionMap=new Map,i._idCounter=0,i._compareWith=Object.is,i}return(0,h.Z)(t,[{key:"compareWith",set:function(o){this._compareWith=o}},{key:"writeValue",value:function(o){var s,u=this;if(this.value=o,Array.isArray(o)){var y=o.map(function(D){return u._getOptionId(D)});s=function(I,Q){I._setSelected(y.indexOf(Q.toString())>-1)}}else s=function(I,Q){I._setSelected(!1)};this._optionMap.forEach(s)}},{key:"registerOnChange",value:function(o){var u=this;this.onChange=function(s){var y=[],D=s.selectedOptions;if(void 0!==D)for(var I=D,Q=0;Q<I.length;Q++){var Ln=u._getOptionValue(I[Q].value);y.push(Ln)}else for(var Lt=s.options,qe=0;qe<Lt.length;qe++){var Wt=Lt[qe];if(Wt.selected){var Wn=u._getOptionValue(Wt.value);y.push(Wn)}}u.value=y,o(y)}}},{key:"_registerOption",value:function(o){var u=(this._idCounter++).toString();return this._optionMap.set(u,o),u}},{key:"_getOptionId",value:function(o){var s,u=(0,f.Z)(this._optionMap.keys());try{for(u.s();!(s=u.n()).done;){var y=s.value;if(this._compareWith(this._optionMap.get(y)._value,o))return y}}catch(D){u.e(D)}finally{u.f()}return null}},{key:"_getOptionValue",value:function(o){var u=function bn(e){return e.split(":")[0]}(o);return this._optionMap.has(u)?this._optionMap.get(u)._value:o}}]),t}(R);return e.\u0275fac=function(){var r;return function(t){return(r||(r=a.\u0275\u0275getInheritedFactory(e)))(t||e)}}(),e.\u0275dir=a.\u0275\u0275defineDirective({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(n,t){1&n&&a.\u0275\u0275listener("change",function(o){return t.onChange(o.target)})("blur",function(){return t.onTouched()})},inputs:{compareWith:"compareWith"},features:[a.\u0275\u0275ProvidersFeature([Mn]),a.\u0275\u0275InheritDefinitionFeature]}),e}(),Ut=function(){var e=function(){function r(n,t,i){(0,g.Z)(this,r),this._element=n,this._renderer=t,this._select=i,this._select&&(this.id=this._select._registerOption(this))}return(0,h.Z)(r,[{key:"ngValue",set:function(t){null!=this._select&&(this._value=t,this._setElementValue(Bt(this.id,t)),this._select.writeValue(this._select.value))}},{key:"value",set:function(t){this._select?(this._value=t,this._setElementValue(Bt(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}},{key:"_setElementValue",value:function(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}},{key:"_setSelected",value:function(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}},{key:"ngOnDestroy",value:function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}]),r}();return e.\u0275fac=function(n){return new(n||e)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(a.Renderer2),a.\u0275\u0275directiveInject(pe,9))},e.\u0275dir=a.\u0275\u0275defineDirective({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e}();function jt(e){return"number"==typeof e?e:parseInt(e,10)}function Gt(e){return"number"==typeof e?e:parseFloat(e)}var z=function(){var e=function(){function r(){(0,g.Z)(this,r),this._validator=ie}return(0,h.Z)(r,[{key:"ngOnChanges",value:function(t){if(this.inputName in t){var i=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):ie,this._onChange&&this._onChange()}}},{key:"validate",value:function(t){return this._validator(t)}},{key:"registerOnValidatorChange",value:function(t){this._onChange=t}},{key:"enabled",value:function(t){return null!=t}}]),r}();return e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=a.\u0275\u0275defineDirective({type:e,features:[a.\u0275\u0275NgOnChangesFeature]}),e}(),kn={provide:F,useExisting:(0,a.forwardRef)(function(){return We}),multi:!0},We=function(){var e=function(r){(0,d.Z)(t,r);var n=(0,p.Z)(t);function t(){var i;return(0,g.Z)(this,t),(i=n.apply(this,arguments)).inputName="max",i.normalizeInput=function(o){return Gt(o)},i.createValidator=function(o){return tt(o)},i}return(0,h.Z)(t)}(z);return e.\u0275fac=function(){var r;return function(t){return(r||(r=a.\u0275\u0275getInheritedFactory(e)))(t||e)}}(),e.\u0275dir=a.\u0275\u0275defineDirective({type:e,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(n,t){2&n&&a.\u0275\u0275attribute("max",t._enabled?t.max:null)},inputs:{max:"max"},features:[a.\u0275\u0275ProvidersFeature([kn]),a.\u0275\u0275InheritDefinitionFeature]}),e}(),On={provide:F,useExisting:(0,a.forwardRef)(function(){return He}),multi:!0},He=function(){var e=function(r){(0,d.Z)(t,r);var n=(0,p.Z)(t);function t(){var i;return(0,g.Z)(this,t),(i=n.apply(this,arguments)).inputName="min",i.normalizeInput=function(o){return Gt(o)},i.createValidator=function(o){return et(o)},i}return(0,h.Z)(t)}(z);return e.\u0275fac=function(){var r;return function(t){return(r||(r=a.\u0275\u0275getInheritedFactory(e)))(t||e)}}(),e.\u0275dir=a.\u0275\u0275defineDirective({type:e,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(n,t){2&n&&a.\u0275\u0275attribute("min",t._enabled?t.min:null)},inputs:{min:"min"},features:[a.\u0275\u0275ProvidersFeature([On]),a.\u0275\u0275InheritDefinitionFeature]}),e}(),Fn={provide:F,useExisting:(0,a.forwardRef)(function(){return ye}),multi:!0},In={provide:F,useExisting:(0,a.forwardRef)(function(){return Ke}),multi:!0},ye=function(){var e=function(r){(0,d.Z)(t,r);var n=(0,p.Z)(t);function t(){var i;return(0,g.Z)(this,t),(i=n.apply(this,arguments)).inputName="required",i.normalizeInput=a.\u0275coerceToBoolean,i.createValidator=function(o){return nt},i}return(0,h.Z)(t,[{key:"enabled",value:function(o){return o}}]),t}(z);return e.\u0275fac=function(){var r;return function(t){return(r||(r=a.\u0275\u0275getInheritedFactory(e)))(t||e)}}(),e.\u0275dir=a.\u0275\u0275defineDirective({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(n,t){2&n&&a.\u0275\u0275attribute("required",t._enabled?"":null)},inputs:{required:"required"},features:[a.\u0275\u0275ProvidersFeature([Fn]),a.\u0275\u0275InheritDefinitionFeature]}),e}(),Ke=function(){var e=function(r){(0,d.Z)(t,r);var n=(0,p.Z)(t);function t(){var i;return(0,g.Z)(this,t),(i=n.apply(this,arguments)).createValidator=function(o){return rt},i}return(0,h.Z)(t)}(ye);return e.\u0275fac=function(){var r;return function(t){return(r||(r=a.\u0275\u0275getInheritedFactory(e)))(t||e)}}(),e.\u0275dir=a.\u0275\u0275defineDirective({type:e,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(n,t){2&n&&a.\u0275\u0275attribute("required",t._enabled?"":null)},features:[a.\u0275\u0275ProvidersFeature([In]),a.\u0275\u0275InheritDefinitionFeature]}),e}(),wn={provide:F,useExisting:(0,a.forwardRef)(function(){return $e}),multi:!0},$e=function(){var e=function(r){(0,d.Z)(t,r);var n=(0,p.Z)(t);function t(){var i;return(0,g.Z)(this,t),(i=n.apply(this,arguments)).inputName="email",i.normalizeInput=a.\u0275coerceToBoolean,i.createValidator=function(o){return it},i}return(0,h.Z)(t,[{key:"enabled",value:function(o){return o}}]),t}(z);return e.\u0275fac=function(){var r;return function(t){return(r||(r=a.\u0275\u0275getInheritedFactory(e)))(t||e)}}(),e.\u0275dir=a.\u0275\u0275defineDirective({type:e,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[a.\u0275\u0275ProvidersFeature([wn]),a.\u0275\u0275InheritDefinitionFeature]}),e}(),Sn={provide:F,useExisting:(0,a.forwardRef)(function(){return ze}),multi:!0},ze=function(){var e=function(r){(0,d.Z)(t,r);var n=(0,p.Z)(t);function t(){var i;return(0,g.Z)(this,t),(i=n.apply(this,arguments)).inputName="minlength",i.normalizeInput=function(o){return jt(o)},i.createValidator=function(o){return ot(o)},i}return(0,h.Z)(t)}(z);return e.\u0275fac=function(){var r;return function(t){return(r||(r=a.\u0275\u0275getInheritedFactory(e)))(t||e)}}(),e.\u0275dir=a.\u0275\u0275defineDirective({type:e,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(n,t){2&n&&a.\u0275\u0275attribute("minlength",t._enabled?t.minlength:null)},inputs:{minlength:"minlength"},features:[a.\u0275\u0275ProvidersFeature([Sn]),a.\u0275\u0275InheritDefinitionFeature]}),e}(),Pn={provide:F,useExisting:(0,a.forwardRef)(function(){return Xe}),multi:!0},Xe=function(){var e=function(r){(0,d.Z)(t,r);var n=(0,p.Z)(t);function t(){var i;return(0,g.Z)(this,t),(i=n.apply(this,arguments)).inputName="maxlength",i.normalizeInput=function(o){return jt(o)},i.createValidator=function(o){return at(o)},i}return(0,h.Z)(t)}(z);return e.\u0275fac=function(){var r;return function(t){return(r||(r=a.\u0275\u0275getInheritedFactory(e)))(t||e)}}(),e.\u0275dir=a.\u0275\u0275defineDirective({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(n,t){2&n&&a.\u0275\u0275attribute("maxlength",t._enabled?t.maxlength:null)},inputs:{maxlength:"maxlength"},features:[a.\u0275\u0275ProvidersFeature([Pn]),a.\u0275\u0275InheritDefinitionFeature]}),e}(),Nn={provide:F,useExisting:(0,a.forwardRef)(function(){return Qe}),multi:!0},Qe=function(){var e=function(r){(0,d.Z)(t,r);var n=(0,p.Z)(t);function t(){var i;return(0,g.Z)(this,t),(i=n.apply(this,arguments)).inputName="pattern",i.normalizeInput=function(o){return o},i.createValidator=function(o){return ut(o)},i}return(0,h.Z)(t)}(z);return e.\u0275fac=function(){var r;return function(t){return(r||(r=a.\u0275\u0275getInheritedFactory(e)))(t||e)}}(),e.\u0275dir=a.\u0275\u0275defineDirective({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(n,t){2&n&&a.\u0275\u0275attribute("pattern",t._enabled?t.pattern:null)},inputs:{pattern:"pattern"},features:[a.\u0275\u0275ProvidersFeature([Nn]),a.\u0275\u0275InheritDefinitionFeature]}),e}(),Ye=function(){var e=(0,h.Z)(function r(){(0,g.Z)(this,r)});return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=a.\u0275\u0275defineNgModule({type:e}),e.\u0275inj=a.\u0275\u0275defineInjector({imports:[Nt]}),e}(),Ce=function(e){(0,d.Z)(n,e);var r=(0,p.Z)(n);function n(t,i,o){var u;return(0,g.Z)(this,n),(u=r.call(this,Oe(i),Fe(o,i))).controls=t,u._initObservables(),u._setUpdateStrategy(i),u._setUpControls(),u.updateValueAndValidity({onlySelf:!0,emitEvent:!!u.asyncValidator}),u}return(0,h.Z)(n,[{key:"at",value:function(i){return this.controls[this._adjustIndex(i)]}},{key:"push",value:function(i){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls.push(i),this._registerControl(i),this.updateValueAndValidity({emitEvent:o.emitEvent}),this._onCollectionChange()}},{key:"insert",value:function(i,o){var u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls.splice(i,0,o),this._registerControl(o),this.updateValueAndValidity({emitEvent:u.emitEvent})}},{key:"removeAt",value:function(i){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},u=this._adjustIndex(i);u<0&&(u=0),this.controls[u]&&this.controls[u]._registerOnCollectionChange(function(){}),this.controls.splice(u,1),this.updateValueAndValidity({emitEvent:o.emitEvent})}},{key:"setControl",value:function(i,o){var u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=this._adjustIndex(i);s<0&&(s=0),this.controls[s]&&this.controls[s]._registerOnCollectionChange(function(){}),this.controls.splice(s,1),o&&(this.controls.splice(s,0,o),this._registerControl(o)),this.updateValueAndValidity({emitEvent:u.emitEvent}),this._onCollectionChange()}},{key:"length",get:function(){return this.controls.length}},{key:"setValue",value:function(i){var o=this,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Mt(this,0,i),i.forEach(function(s,y){Et(o,!1,y),o.at(y).setValue(s,{onlySelf:!0,emitEvent:u.emitEvent})}),this.updateValueAndValidity(u)}},{key:"patchValue",value:function(i){var o=this,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=i&&(i.forEach(function(s,y){o.at(y)&&o.at(y).patchValue(s,{onlySelf:!0,emitEvent:u.emitEvent})}),this.updateValueAndValidity(u))}},{key:"reset",value:function(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(u,s){u.reset(i[s],{onlySelf:!0,emitEvent:o.emitEvent})}),this._updatePristine(o),this._updateTouched(o),this.updateValueAndValidity(o)}},{key:"getRawValue",value:function(){return this.controls.map(function(i){return i.getRawValue()})}},{key:"clear",value:function(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.controls.length<1||(this._forEachChild(function(o){return o._registerOnCollectionChange(function(){})}),this.controls.splice(0),this.updateValueAndValidity({emitEvent:i.emitEvent}))}},{key:"_adjustIndex",value:function(i){return i<0?i+this.length:i}},{key:"_syncPendingControls",value:function(){var i=this.controls.reduce(function(o,u){return!!u._syncPendingControls()||o},!1);return i&&this.updateValueAndValidity({onlySelf:!0}),i}},{key:"_forEachChild",value:function(i){this.controls.forEach(function(o,u){i(o,u)})}},{key:"_updateValue",value:function(){var i=this;this.value=this.controls.filter(function(o){return o.enabled||i.disabled}).map(function(o){return o.value})}},{key:"_anyControls",value:function(i){return this.controls.some(function(o){return o.enabled&&i(o)})}},{key:"_setUpControls",value:function(){var i=this;this._forEachChild(function(o){return i._registerControl(o)})}},{key:"_allControlsDisabled",value:function(){var o,i=(0,f.Z)(this.controls);try{for(i.s();!(o=i.n()).done;)if(o.value.enabled)return!1}catch(s){i.e(s)}finally{i.f()}return this.controls.length>0||this.disabled}},{key:"_registerControl",value:function(i){i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange)}},{key:"_find",value:function(i){var o;return null!==(o=this.at(i))&&void 0!==o?o:null}}]),n}(q),Zn=Ce,Rn=function(r){return r instanceof Ce};function xt(e){return!!e&&(void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn)}var Je=function(){var e=function(){function r(){(0,g.Z)(this,r),this.useNonNullable=!1}return(0,h.Z)(r,[{key:"nonNullable",get:function(){var t=new r;return t.useNonNullable=!0,t}},{key:"group",value:function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=this._reduceControls(t),u={};return xt(i)?u=i:null!==i&&(u.validators=i.validator,u.asyncValidators=i.asyncValidator),new H(o,u)}},{key:"record",value:function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=this._reduceControls(t);return new Ie(o,i)}},{key:"control",value:function(t,i,o){var u={};return this.useNonNullable?(xt(i)?u=i:(u.validators=i,u.asyncValidators=o),new $(t,(0,c.Z)((0,c.Z)({},u),{},{nonNullable:!0}))):new $(t,i,o)}},{key:"array",value:function(t,i,o){var u=this,s=t.map(function(y){return u._createControl(y)});return new Ce(s,i,o)}},{key:"_reduceControls",value:function(t){var i=this,o={};return Object.keys(t).forEach(function(u){o[u]=i._createControl(t[u])}),o}},{key:"_createControl",value:function(t){return t instanceof $||t instanceof q?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}]),r}();return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=a.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),Tn=function(){var e=(0,h.Z)(function r(){(0,g.Z)(this,r)});return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=a.\u0275\u0275defineInjectable({token:e,factory:function(){return(0,a.inject)(Je).nonNullable},providedIn:"root"}),e}(),Bn=function(){var e=function(r){(0,d.Z)(t,r);var n=(0,p.Z)(t);function t(){return(0,g.Z)(this,t),n.apply(this,arguments)}return(0,h.Z)(t,[{key:"group",value:function(o){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,V.Z)((0,C.Z)(t.prototype),"group",this).call(this,o,u)}},{key:"control",value:function(o,u,s){return(0,V.Z)((0,C.Z)(t.prototype),"control",this).call(this,o,u,s)}},{key:"array",value:function(o,u,s){return(0,V.Z)((0,C.Z)(t.prototype),"array",this).call(this,o,u,s)}}]),t}(Je);return e.\u0275fac=function(){var r;return function(t){return(r||(r=a.\u0275\u0275getInheritedFactory(e)))(t||e)}}(),e.\u0275prov=a.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),Un=new a.Version("16.0.5"),jn=function(){var e=function(){function r(){(0,g.Z)(this,r)}return(0,h.Z)(r,null,[{key:"withConfig",value:function(t){var i;return{ngModule:r,providers:[{provide:K,useValue:null!==(i=t.callSetDisabledState)&&void 0!==i?i:ee}]}}}]),r}();return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=a.\u0275\u0275defineNgModule({type:e}),e.\u0275inj=a.\u0275\u0275defineInjector({imports:[Ye]}),e}(),Gn=function(){var e=function(){function r(){(0,g.Z)(this,r)}return(0,h.Z)(r,null,[{key:"withConfig",value:function(t){var i,o;return{ngModule:r,providers:[{provide:Ge,useValue:null!==(i=t.warnOnNgModelWithFormControl)&&void 0!==i?i:"always"},{provide:K,useValue:null!==(o=t.callSetDisabledState)&&void 0!==o?o:ee}]}}}]),r}();return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=a.\u0275\u0275defineNgModule({type:e}),e.\u0275inj=a.\u0275\u0275defineInjector({imports:[Ye]}),e}()},44841:(O,A,l)=>{function V(C,f){(null==f||f>C.length)&&(f=C.length);for(var v=0,_=new Array(f);v<f;v++)_[v]=C[v];return _}l.d(A,{Z:()=>V})},8091:(O,A,l)=>{function V(C){if(Array.isArray(C))return C}l.d(A,{Z:()=>V})},95106:(O,A,l)=>{l.d(A,{Z:()=>C});var V=l(44206);function C(f,v){var _=typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(!_){if(Array.isArray(f)||(_=(0,V.Z)(f))||v&&f&&"number"==typeof f.length){_&&(f=_);var m=0,c=function(){};return{s:c,n:function(){return m>=f.length?{done:!0}:{done:!1,value:f[m++]}},e:function(a){throw a},f:c}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var g,d=!0,p=!1;return{s:function(){_=_.call(f)},n:function(){var a=_.next();return d=a.done,a},e:function(a){p=!0,g=a},f:function(){try{!d&&null!=_.return&&_.return()}finally{if(p)throw g}}}}},77797:(O,A,l)=>{l.d(A,{Z:()=>C});var V=l(51299);function C(f,v,_){return(v=(0,V.Z)(v))in f?Object.defineProperty(f,v,{value:_,enumerable:!0,configurable:!0,writable:!0}):f[v]=_,f}},4089:(O,A,l)=>{l.d(A,{Z:()=>f});var V=l(20265);function f(){return f=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(_,m,c){var d=function C(v,_){for(;!Object.prototype.hasOwnProperty.call(v,_)&&null!==(v=(0,V.Z)(v)););return v}(_,m);if(d){var p=Object.getOwnPropertyDescriptor(d,m);return p.get?p.get.call(arguments.length<3?_:c):p.value}},f.apply(this,arguments)}},4826:(O,A,l)=>{function V(C){if(typeof Symbol<"u"&&null!=C[Symbol.iterator]||null!=C["@@iterator"])return Array.from(C)}l.d(A,{Z:()=>V})},8217:(O,A,l)=>{function V(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}l.d(A,{Z:()=>V})},35603:(O,A,l)=>{l.d(A,{Z:()=>f});var V=l(77797);function C(v,_){var m=Object.keys(v);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(v);_&&(c=c.filter(function(d){return Object.getOwnPropertyDescriptor(v,d).enumerable})),m.push.apply(m,c)}return m}function f(v){for(var _=1;_<arguments.length;_++){var m=null!=arguments[_]?arguments[_]:{};_%2?C(Object(m),!0).forEach(function(c){(0,V.Z)(v,c,m[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(v,Object.getOwnPropertyDescriptors(m)):C(Object(m)).forEach(function(c){Object.defineProperty(v,c,Object.getOwnPropertyDescriptor(m,c))})}return v}},32090:(O,A,l)=>{l.d(A,{Z:()=>_});var V=l(8091),f=l(44206),v=l(8217);function _(m,c){return(0,V.Z)(m)||function C(m,c){var d=null==m?null:typeof Symbol<"u"&&m[Symbol.iterator]||m["@@iterator"];if(null!=d){var p,g,h,a,k=[],w=!0,N=!1;try{if(h=(d=d.call(m)).next,0===c){if(Object(d)!==d)return;w=!1}else for(;!(w=(p=h.call(d)).done)&&(k.push(p.value),k.length!==c);w=!0);}catch(B){N=!0,g=B}finally{try{if(!w&&null!=d.return&&(a=d.return(),Object(a)!==a))return}finally{if(N)throw g}}return k}}(m,c)||(0,f.Z)(m,c)||(0,v.Z)()}},86170:(O,A,l)=>{l.d(A,{Z:()=>m});var V=l(44841),f=l(4826),v=l(44206);function m(c){return function C(c){if(Array.isArray(c))return(0,V.Z)(c)}(c)||(0,f.Z)(c)||(0,v.Z)(c)||function _(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},44206:(O,A,l)=>{l.d(A,{Z:()=>C});var V=l(44841);function C(f,v){if(f){if("string"==typeof f)return(0,V.Z)(f,v);var _=Object.prototype.toString.call(f).slice(8,-1);if("Object"===_&&f.constructor&&(_=f.constructor.name),"Map"===_||"Set"===_)return Array.from(f);if("Arguments"===_||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_))return(0,V.Z)(f,v)}}}}]); +//# sourceMappingURL=9542.652f275cf72dc68f.js.map \ No newline at end of file diff --git a/9542.652f275cf72dc68f.js.map b/9542.652f275cf72dc68f.js.map new file mode 100644 index 0000000..3013daa --- /dev/null +++ b/9542.652f275cf72dc68f.js.map @@ -0,0 +1 @@ +{"version":3,"file":"9542.652f275cf72dc68f.js","mappings":"wMAOO,SAASA,IAAkB,QAAAC,EAAAC,UAAAC,OAANC,EAAI,IAAAC,MAAAJ,GAAAK,EAAA,EAAAA,EAAAL,EAAAK,IAAJF,EAAIE,GAAAJ,UAAAI,GAC5B,IAAMC,KAAiBC,MAAkBJ,GACzCK,KAAgCC,KAAqBN,GAAvCO,EAAOF,EAAbL,KAAeQ,EAAIH,EAAJG,KACjBC,EAAS,IAAIC,IAAW,SAACC,GAC3B,IAAQZ,EAAWQ,EAAXR,OACR,GAAKA,EAOL,QAHMa,EAAS,IAAIX,MAAMF,GACrBc,EAAuBd,EACvBe,EAAqBf,EAAOgB,EAAA,SAAAC,GAE5B,IAAIC,GAAW,GACfC,QAAUX,EAAQS,IAAcG,aAAUC,KAAyBT,EAAY,SAACU,GACvEJ,IACDA,GAAW,EACXH,KAEJF,EAAOI,GAAeK,CAC1B,EAAG,kBAAMR,GAAsB,OAAES,EAAW,aACnCT,IAAyBI,KACrBH,GACDH,EAAWY,KAAKf,KAAOgB,KAAahB,EAAMI,GAAUA,GAExDD,EAAWc,WAEnB,GACJ,EAhBST,EAAc,EAAGA,EAAcjB,EAAQiB,IAAaD,EAAAC,QANzDL,EAAWc,UAuBnB,GACA,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AA,EAAA,SAAoC6qB,EAAAlD,GAAgB3nB,EAAA4qB,GACpD,IAAApM,EAAA3lB,OAAArB,UAAAmI,SAAAxI,KAAA6I,GAAAkL,MAAA,MAEA,GADA,WAAAsT,GAAAxe,EAAA2R,cAAA6M,EAAAxe,EAAA2R,YAAAtN,MACA,QAAAma,GAAA,QAAAA,EAAA,OAAAzsB,MAAA2C,KAAAsL,GACA,iBAAAwe,GAAA,2CAAAthB,KAAAshB,GAAA,SAAsFqM,EAAAlD,GAAgB3nB,EAAA4qB,EAAA,CACtG","names":["forkJoin","_len","arguments","length","args","Array","_key","resultSelector","popResultSelector","_argsArgArrayOrObject","argsArgArrayOrObject","sources","keys","result","Observable","subscriber","values","remainingCompletions","remainingEmissions","_loop","sourceIndex","hasValue","innerFrom","subscribe","createOperatorSubscriber","value","undefined","next","createObject","complete","pipe","mapOneOrManyArgs","subscribeOn","scheduler","delay","operate","source","add","schedule","scheduleAsyncIterable","input","Error","executeSchedule","iterator","Symbol","asyncIterator","then","done","from","scheduled","isInteropObservable","scheduleObservable","observeOn","isArrayLike","scheduleArray","i","closed","this","isPromise","schedulePromise","isAsyncIterable","isIterable","scheduleIterable","Symbol_iterator","_iterator$next","err","error","isFunction","return","isReadableStreamLike","scheduleReadableStreamLike","readableStreamLikeToAsyncGenerator","createInvalidObservableTypeError","destination","onNext","onComplete","onError","onFinalize","OperatorSubscriber","_Subscriber","_inherits","_super","_createSuper","shouldUnsubscribe","_thisSuper","_thisSuper2","_thisSuper3","_this","_classCallCheck","call","_next","_get","_assertThisInitialized","_getPrototypeOf","prototype","_error","unsubscribe","_complete","_createClass","key","_a","Subscriber","map","project","thisArg","index","last","arr","pop","popScheduler","isScheduler","popNumber","defaultValue","isArray","getPrototypeOf","Object","objectProto","getKeys","first","isPOJO","obj","reduce","parentSubscription","work","repeat","scheduleSubscription","hasLift","lift","init","liftedSource","TypeError","fn","callOrApply","apply","_toConsumableArray","BaseControlValueAccessor","_renderer","_elementRef","onChange","_","onTouched","setProperty","nativeElement","isDisabled","ɵfac","t","i0","ɵdir","type","BuiltInControlValueAccessor","_BaseControlValueAcce","ɵBuiltInControlValueAccessor_BaseFactory","features","NG_VALUE_ACCESSOR","InjectionToken","CHECKBOX_VALUE_ACCESSOR","provide","useExisting","forwardRef","CheckboxControlValueAccessor","multi","_BuiltInControlValueA","_super2","ɵCheckboxControlValueAccessor_BaseFactory","selectors","hostBindings","rf","ctx","$event","target","checked","DEFAULT_VALUE_ACCESSOR","DefaultValueAccessor","COMPOSITION_BUFFER_MODE","_BaseControlValueAcce2","_super3","renderer","elementRef","_compositionMode","_composing","_isAndroid","userAgent","ɵgetDOM","getUserAgent","test","toLowerCase","_handleInput","_compositionStart","_compositionEnd","isEmptyInputValue","hasValidLength","NG_VALIDATORS","NG_ASYNC_VALIDATORS","EMAIL_REGEXP","Validators","min","minValidator","max","maxValidator","control","requiredValidator","requiredTrueValidator","emailValidator","minLength","minLengthValidator","maxLength","maxLengthValidator","pattern","patternValidator","validators","compose","composeAsync","parseFloat","isNaN","actual","required","email","minlength","requiredLength","actualLength","maxlength","regexStr","charAt","regex","RegExp","toString","requiredPattern","actualValue","nullValidator","isPresent","o","toObservable","obs","ɵisPromise","mergeErrors","arrayOfErrors","res","forEach","errors","_objectSpread","executeValidators","validator","normalizeValidators","isValidatorFn","validate","c","presentValidators","filter","composeValidators","observables","composeAsyncValidators","mergeValidators","controlValidators","dirValidator","concat","getControlValidators","_rawValidators","getControlAsyncValidators","_rawAsyncValidators","makeValidatorsArray","hasValidator","includes","addValidators","currentValidators","current","validatorsToAdd","v","push","removeValidators","AbstractControlDirective","_onDestroyCallbacks","get","valid","invalid","pending","disabled","enabled","pristine","dirty","touched","status","untouched","statusChanges","valueChanges","_composedValidatorFn","_composedAsyncValidatorFn","reset","errorCode","path","hasError","getError","ControlContainer","_AbstractControlDirec","_super4","NgControl","_AbstractControlDirec2","_super5","_this2","_parent","name","valueAccessor","AbstractControlStatus","cd","_cd","_this$_cd","_this$_cd$control","_this$_cd2","_this$_cd2$control","_this$_cd3","_this$_cd3$control","_this$_cd4","_this$_cd4$control","_this$_cd5","_this$_cd5$control","_this$_cd6","_this$_cd6$control","_this$_cd7","_this$_cd7$control","_this$_cd8","submitted","NgControlStatus","_AbstractControlStatu","_super6","hostVars","isUntouched","isTouched","isPristine","isDirty","isValid","isInvalid","isPending","NgControlStatusGroup","_AbstractControlStatu2","_super7","isSubmitted","VALID","INVALID","PENDING","DISABLED","pickValidators","validatorOrOpts","isOptionsObj","pickAsyncValidators","asyncValidator","asyncValidators","assertControlPresent","parent","isGroup","controls","ɵRuntimeError","assertAllValuesPresent","_forEachChild","AbstractControl","_pendingDirty","_hasOwnPendingAsyncValidator","_pendingTouched","_onCollectionChange","_onDisabledChange","_assignValidators","_assignAsyncValidators","set","validatorFn","asyncValidatorFn","_updateOn","updateOn","setValidators","setAsyncValidators","opts","onlySelf","markAsTouched","markAllAsTouched","markAsUntouched","_updateTouched","markAsDirty","markAsPristine","_updatePristine","emitEvent","emit","markAsPending","skipPristineCheck","_parentMarkedDirty","disable","_updateValue","_updateAncestors","changeFn","enable","updateValueAndValidity","_setInitialStatus","_cancelExistingSubscription","_runValidator","_calculateStatus","_runAsyncValidator","ctrl","_updateTreeValidity","_allControlsDisabled","_this3","_asyncValidationSubscription","setErrors","_updateControlsErrors","currPath","split","_find","x","EventEmitter","_anyControlsHaveStatus","_anyControls","_anyControlsDirty","_anyControlsTouched","slice","coerceToValidator","coerceToAsyncValidator","FormGroup","_AbstractControl","_super8","_this4","_initObservables","_setUpdateStrategy","_setUpControls","setParent","_registerOnCollectionChange","options","registerControl","controlName","hasOwnProperty","_this5","setValue","_this6","patchValue","_reduceChildren","acc","getRawValue","subtreeUpdated","updated","child","_syncPendingControls","cb","_this7","_this8","_reduceValue","condition","_i","_Object$entries","entries","_Object$entries$_i","_slicedToArray","contains","_this9","initValue","_i2","_Object$keys","UntypedFormGroup","isFormGroup","FormRecord","_FormGroup","_super9","isFormRecord","CALL_SET_DISABLED_STATE","providedIn","factory","setDisabledStateDefault","controlPath","setUpControl","dir","_dir$valueAccessor$se","_dir$valueAccessor","callSetDisabledState","setUpValidators","writeValue","setDisabledState","setUpViewChangePipeline","registerOnChange","newValue","_pendingValue","_pendingChange","updateControl","setUpModelChangePipeline","emitModelEvent","viewToModelUpdate","_registerOnDestroy","_unregisterOnChange","setUpBlurPipeline","registerOnTouched","setUpDisabledChangeHandler","onDisabledChange","registerOnDisabledChange","_unregisterOnDisabledChange","cleanUpControl","noop","cleanUpValidators","_invokeOnDestroyCallbacks","registerOnValidatorChange","onValidatorChange","isControlUpdated","updatedValidators","updatedAsyncValidators","emitModelToViewChange","setUpFormContainer","isPropertyUpdated","changes","viewModel","change","model","isFirstChange","is","currentValue","syncPendingControls","form","directives","selectValueAccessor","valueAccessors","defaultAccessor","builtinAccessor","customAccessor","constructor","isBuiltInAccessor","formDirectiveProvider$1","NgForm","resolvedPromise$1","Promise","resolve","_ControlContainer","_super10","_this10","_directives","Set","ngSubmit","_this11","container","_findContainer","_this12","removeControl","delete","_this13","group","_this14","_this15","_$event$target","method","resetForm","onSubmit","onReset","inputs","outputs","exportAs","removeListItem","list","el","indexOf","splice","isFormControlState","formState","FormControl","_AbstractControl2","_super11","_this16","_onChange","_applyFormState","nonNullable","initialValueIsDefault","_this17","emitViewToModelChange","UntypedFormControl","isFormControl","AbstractFormGroupDirective","_ControlContainer2","_super12","_checkParentType","formDirective","addFormGroup","removeFormGroup","getFormGroup","ɵAbstractFormGroupDirective_BaseFactory","modelGroupProvider","NgModelGroup","_AbstractFormGroupDir","_super13","_this18","_setValidators","_setAsyncValidators","formControlBinding$1","NgModel","resolvedPromise","_NgControl","_super14","_changeDetectorRef","_this19","_registered","update","_checkForErrors","_checkName","oldName","previousValue","_getPath","_setUpControl","_updateDisabled","_isStandalone","_setUpStandalone","addControl","standalone","_this20","_this20$_changeDetect","markForCheck","_this21","disabledValue","ɵcoerceToBoolean","_this21$_changeDetect","ChangeDetectorRef","ɵNgNoValidate","hostAttrs","NUMBER_VALUE_ACCESSOR","NumberValueAccessor","_BuiltInControlValueA2","_super15","ɵNumberValueAccessor_BaseFactory","RADIO_VALUE_ACCESSOR","RadioControlValueAccessor","RadioControlRegistryModule","ɵmod","ɵinj","RadioControlRegistry","_accessors","accessor","_this22","_isSameGroup","fireUncheck","controlPair","_control","ɵprov","token","_BuiltInControlValueA3","_super16","_registry","_injector","_inject","_this23","setDisabledStateFired","inject","optional","remove","_state","_this24","_fn","select","formControlName","RANGE_VALUE_ACCESSOR","RangeValueAccessor","_BuiltInControlValueA4","_super17","ɵRangeValueAccessor_BaseFactory","NG_MODEL_WITH_FORM_CONTROL_WARNING","formControlBinding","FormControlDirective","_NgControl2","_super18","_ngModelWarningConfig","_this25","_ngModelWarningSent","_isControlChanged","previousForm","_ngModelWarningSentOnce","formDirectiveProvider","FormGroupDirective","_ControlContainer3","_super19","_this26","_updateDomValue","_checkFormPresent","_updateValidators","_updateRegistrations","_oldForm","removeListItem$1","_setUpFormContainer","_cleanUpFormContainer","_$event$target2","_this27","oldCtrl","newCtrl","cleanUpFormContainer","formGroupNameProvider","FormGroupName","_AbstractFormGroupDir2","_super20","_this28","_hasInvalidParent","formArrayNameProvider","FormArrayName","_ControlContainer4","_super21","_this29","addFormArray","removeFormArray","getFormArray","controlNameBinding","FormControlName","_NgControl3","_super22","_this30","_added","updateModel","SELECT_VALUE_ACCESSOR","SelectControlValueAccessor","_buildValueString$1","id","_BuiltInControlValueA5","_super23","_this31","_optionMap","Map","_idCounter","_compareWith","valueString","_getOptionId","_this32","_getOptionValue","_step","_iterator","_createForOfIteratorHelper","s","n","e","f","_extractId$1","has","ɵSelectControlValueAccessor_BaseFactory","compareWith","NgSelectOption","_element","_select","_registerOption","_setElementValue","ngValue","SELECT_MULTIPLE_VALUE_ACCESSOR","SelectMultipleControlValueAccessor","_buildValueString","_BuiltInControlValueA6","_super24","_this33","optionSelectedStateSetter","_this34","ids","opt","_setSelected","_this35","element","selected","selectedOptions","val","_step2","_iterator2","_value","_extractId","ɵSelectMultipleControlValueAccessor_BaseFactory","ɵNgSelectMultipleOption","toInteger","parseInt","toFloat","AbstractValidatorDirective","_validator","inputName","normalizeInput","_enabled","createValidator","MAX_VALIDATOR","MaxValidator","_AbstractValidatorDir","_super25","_this36","ɵMaxValidator_BaseFactory","MIN_VALIDATOR","MinValidator","_AbstractValidatorDir2","_super26","_this37","ɵMinValidator_BaseFactory","REQUIRED_VALIDATOR","RequiredValidator","CHECKBOX_REQUIRED_VALIDATOR","CheckboxRequiredValidator","_AbstractValidatorDir3","_super27","_this38","ɵRequiredValidator_BaseFactory","_RequiredValidator","_super28","_this39","ɵCheckboxRequiredValidator_BaseFactory","EMAIL_VALIDATOR","EmailValidator","_AbstractValidatorDir4","_super29","_this40","ɵEmailValidator_BaseFactory","MIN_LENGTH_VALIDATOR","MinLengthValidator","_AbstractValidatorDir5","_super30","_this41","ɵMinLengthValidator_BaseFactory","MAX_LENGTH_VALIDATOR","MaxLengthValidator","_AbstractValidatorDir6","_super31","_this42","ɵMaxLengthValidator_BaseFactory","PATTERN_VALIDATOR","PatternValidator","_AbstractValidatorDir7","_super32","_this43","ɵPatternValidator_BaseFactory","ɵInternalFormsSharedModule","imports","FormArray","_AbstractControl3","_super33","_this44","_adjustIndex","_registerControl","adjustedIndex","_this45","at","_this46","_this47","some","_this48","_step3","_iterator3","_this$at","UntypedFormArray","isFormArray","isAbstractControlOptions","FormBuilder","useNonNullable","nnfb","reducedControls","_reduceControls","newOptions","_this49","createdControls","_createControl","_this50","NonNullableFormBuilder","UntypedFormBuilder","_FormBuilder","_super34","controlsConfig","ɵUntypedFormBuilder_BaseFactory","VERSION","Version","FormsModule","_opts$callSetDisabled","ngModule","providers","useValue","ReactiveFormsModule","_opts$warnOnNgModelWi","_opts$callSetDisabled2","warnOnNgModelWithFormControl","_arrayLikeToArray","len","arr2","_arrayWithHoles","allowArrayLike","it","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_0__","Z","F","_e","normalCompletion","didErr","step","_e2","_defineProperty","_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__","defineProperty","enumerable","configurable","writable","Reflect","bind","property","receiver","base","_superPropBase","object","desc","getOwnPropertyDescriptor","_iterableToArray","iter","_nonIterableRest","ownKeys","enumerableOnly","getOwnPropertySymbols","symbols","sym","_objectSpread2","_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__","getOwnPropertyDescriptors","defineProperties","arrayWithHoles","_iterableToArrayLimit","_s","_x","_r","_arr","_n","_d","unsupportedIterableToArray","nonIterableRest","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","_nonIterableSpread","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/observable/forkJoin.js","./node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleAsyncIterable.js","./node_modules/rxjs/dist/esm/internal/observable/from.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduled.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleObservable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleArray.js","./node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleIterable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleReadableStreamLike.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/map.js","./node_modules/rxjs/dist/esm/internal/operators/observeOn.js","./node_modules/rxjs/dist/esm/internal/util/args.js","./node_modules/rxjs/dist/esm/internal/util/argsArgArrayOrObject.js","./node_modules/rxjs/dist/esm/internal/util/createObject.js","./node_modules/rxjs/dist/esm/internal/util/executeSchedule.js","./node_modules/rxjs/dist/esm/internal/util/isScheduler.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/rxjs/dist/esm/internal/util/mapOneOrManyArgs.js","./node_modules/@angular/forms/fesm2022/forms.mjs","./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","./node_modules/@babel/runtime/helpers/esm/defineProperty.js","./node_modules/@babel/runtime/helpers/esm/get.js","./node_modules/@babel/runtime/helpers/esm/superPropBase.js","./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","./node_modules/@babel/runtime/helpers/esm/objectSpread2.js","./node_modules/@babel/runtime/helpers/esm/slicedToArray.js","./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import { Observable } from '../Observable';\nimport { argsArgArrayOrObject } from '../util/argsArgArrayOrObject';\nimport { innerFrom } from './innerFrom';\nimport { popResultSelector } from '../util/args';\nimport { createOperatorSubscriber } from '../operators/OperatorSubscriber';\nimport { mapOneOrManyArgs } from '../util/mapOneOrManyArgs';\nimport { createObject } from '../util/createObject';\nexport function forkJoin(...args) {\n const resultSelector = popResultSelector(args);\n const { args: sources, keys } = argsArgArrayOrObject(args);\n const result = new Observable((subscriber) => {\n const { length } = sources;\n if (!length) {\n subscriber.complete();\n return;\n }\n const values = new Array(length);\n let remainingCompletions = length;\n let remainingEmissions = length;\n for (let sourceIndex = 0; sourceIndex < length; sourceIndex++) {\n let hasValue = false;\n innerFrom(sources[sourceIndex]).subscribe(createOperatorSubscriber(subscriber, (value) => {\n if (!hasValue) {\n hasValue = true;\n remainingEmissions--;\n }\n values[sourceIndex] = value;\n }, () => remainingCompletions--, undefined, () => {\n if (!remainingCompletions || !hasValue) {\n if (!remainingEmissions) {\n subscriber.next(keys ? createObject(keys, values) : values);\n }\n subscriber.complete();\n }\n }));\n }\n });\n return resultSelector ? result.pipe(mapOneOrManyArgs(resultSelector)) : result;\n}\n","import { operate } from '../util/lift';\nexport function subscribeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay));\n });\n}\n","import { Observable } from '../Observable';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleAsyncIterable(input, scheduler) {\n if (!input) {\n throw new Error('Iterable cannot be null');\n }\n return new Observable((subscriber) => {\n executeSchedule(subscriber, scheduler, () => {\n const iterator = input[Symbol.asyncIterator]();\n executeSchedule(subscriber, scheduler, () => {\n iterator.next().then((result) => {\n if (result.done) {\n subscriber.complete();\n }\n else {\n subscriber.next(result.value);\n }\n });\n }, 0, true);\n });\n });\n}\n","import { scheduled } from '../scheduled/scheduled';\nimport { innerFrom } from './innerFrom';\nexport function from(input, scheduler) {\n return scheduler ? scheduled(input, scheduler) : innerFrom(input);\n}\n","import { scheduleObservable } from './scheduleObservable';\nimport { schedulePromise } from './schedulePromise';\nimport { scheduleArray } from './scheduleArray';\nimport { scheduleIterable } from './scheduleIterable';\nimport { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isPromise } from '../util/isPromise';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isIterable } from '../util/isIterable';\nimport { isAsyncIterable } from '../util/isAsyncIterable';\nimport { createInvalidObservableTypeError } from '../util/throwUnobservableError';\nimport { isReadableStreamLike } from '../util/isReadableStreamLike';\nimport { scheduleReadableStreamLike } from './scheduleReadableStreamLike';\nexport function scheduled(input, scheduler) {\n if (input != null) {\n if (isInteropObservable(input)) {\n return scheduleObservable(input, scheduler);\n }\n if (isArrayLike(input)) {\n return scheduleArray(input, scheduler);\n }\n if (isPromise(input)) {\n return schedulePromise(input, scheduler);\n }\n if (isAsyncIterable(input)) {\n return scheduleAsyncIterable(input, scheduler);\n }\n if (isIterable(input)) {\n return scheduleIterable(input, scheduler);\n }\n if (isReadableStreamLike(input)) {\n return scheduleReadableStreamLike(input, scheduler);\n }\n }\n throw createInvalidObservableTypeError(input);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function scheduleObservable(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nexport function scheduleArray(input, scheduler) {\n return new Observable((subscriber) => {\n let i = 0;\n return scheduler.schedule(function () {\n if (i === input.length) {\n subscriber.complete();\n }\n else {\n subscriber.next(input[i++]);\n if (!subscriber.closed) {\n this.schedule();\n }\n }\n });\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function schedulePromise(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from '../util/isFunction';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleIterable(input, scheduler) {\n return new Observable((subscriber) => {\n let iterator;\n executeSchedule(subscriber, scheduler, () => {\n iterator = input[Symbol_iterator]();\n executeSchedule(subscriber, scheduler, () => {\n let value;\n let done;\n try {\n ({ value, done } = iterator.next());\n }\n catch (err) {\n subscriber.error(err);\n return;\n }\n if (done) {\n subscriber.complete();\n }\n else {\n subscriber.next(value);\n }\n }, 0, true);\n });\n return () => isFunction(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return();\n });\n}\n","import { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { readableStreamLikeToAsyncGenerator } from '../util/isReadableStreamLike';\nexport function scheduleReadableStreamLike(input, scheduler) {\n return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function map(project, thisArg) {\n return operate((source, subscriber) => {\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n subscriber.next(project.call(thisArg, value, index++));\n }));\n });\n}\n","import { executeSchedule } from '../util/executeSchedule';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function observeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, (value) => executeSchedule(subscriber, scheduler, () => subscriber.next(value), delay), () => executeSchedule(subscriber, scheduler, () => subscriber.complete(), delay), (err) => executeSchedule(subscriber, scheduler, () => subscriber.error(err), delay)));\n });\n}\n","import { isFunction } from './isFunction';\nimport { isScheduler } from './isScheduler';\nfunction last(arr) {\n return arr[arr.length - 1];\n}\nexport function popResultSelector(args) {\n return isFunction(last(args)) ? args.pop() : undefined;\n}\nexport function popScheduler(args) {\n return isScheduler(last(args)) ? args.pop() : undefined;\n}\nexport function popNumber(args, defaultValue) {\n return typeof last(args) === 'number' ? args.pop() : defaultValue;\n}\n","const { isArray } = Array;\nconst { getPrototypeOf, prototype: objectProto, keys: getKeys } = Object;\nexport function argsArgArrayOrObject(args) {\n if (args.length === 1) {\n const first = args[0];\n if (isArray(first)) {\n return { args: first, keys: null };\n }\n if (isPOJO(first)) {\n const keys = getKeys(first);\n return {\n args: keys.map((key) => first[key]),\n keys,\n };\n }\n }\n return { args: args, keys: null };\n}\nfunction isPOJO(obj) {\n return obj && typeof obj === 'object' && getPrototypeOf(obj) === objectProto;\n}\n","export function createObject(keys, values) {\n return keys.reduce((result, key, i) => ((result[key] = values[i]), result), {});\n}\n","export function executeSchedule(parentSubscription, scheduler, work, delay = 0, repeat = false) {\n const scheduleSubscription = scheduler.schedule(function () {\n work();\n if (repeat) {\n parentSubscription.add(this.schedule(null, delay));\n }\n else {\n this.unsubscribe();\n }\n }, delay);\n parentSubscription.add(scheduleSubscription);\n if (!repeat) {\n return scheduleSubscription;\n }\n}\n","import { isFunction } from './isFunction';\nexport function isScheduler(value) {\n return value && isFunction(value.schedule);\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","import { map } from \"../operators/map\";\nconst { isArray } = Array;\nfunction callOrApply(fn, args) {\n return isArray(args) ? fn(...args) : fn(args);\n}\nexport function mapOneOrManyArgs(fn) {\n return map(args => callOrApply(fn, args));\n}\n","/**\n * @license Angular v16.0.5\n * (c) 2010-2022 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport * as i0 from '@angular/core';\nimport { Directive, InjectionToken, forwardRef, Optional, Inject, ɵisPromise, ɵisSubscribable, ɵRuntimeError, Self, EventEmitter, Input, Host, SkipSelf, ɵcoerceToBoolean, ChangeDetectorRef, Output, NgModule, Injectable, inject, Version } from '@angular/core';\nimport { ɵgetDOM } from '@angular/common';\nimport { from, forkJoin } from 'rxjs';\nimport { map } from 'rxjs/operators';\n\n/**\n * Base class for all ControlValueAccessor classes defined in Forms package.\n * Contains common logic and utility functions.\n *\n * Note: this is an *internal-only* class and should not be extended or used directly in\n * applications code.\n */\nclass BaseControlValueAccessor {\n constructor(_renderer, _elementRef) {\n this._renderer = _renderer;\n this._elementRef = _elementRef;\n /**\n * The registered callback function called when a change or input event occurs on the input\n * element.\n * @nodoc\n */\n this.onChange = (_) => { };\n /**\n * The registered callback function called when a blur event occurs on the input element.\n * @nodoc\n */\n this.onTouched = () => { };\n }\n /**\n * Helper method that sets a property on a target element using the current Renderer\n * implementation.\n * @nodoc\n */\n setProperty(key, value) {\n this._renderer.setProperty(this._elementRef.nativeElement, key, value);\n }\n /**\n * Registers a function called when the control is touched.\n * @nodoc\n */\n registerOnTouched(fn) {\n this.onTouched = fn;\n }\n /**\n * Registers a function called when the control value changes.\n * @nodoc\n */\n registerOnChange(fn) {\n this.onChange = fn;\n }\n /**\n * Sets the \"disabled\" property on the range input element.\n * @nodoc\n */\n setDisabledState(isDisabled) {\n this.setProperty('disabled', isDisabled);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: BaseControlValueAccessor, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: BaseControlValueAccessor, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: BaseControlValueAccessor, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; } });\n/**\n * Base class for all built-in ControlValueAccessor classes (except DefaultValueAccessor, which is\n * used in case no other CVAs can be found). We use this class to distinguish between default CVA,\n * built-in CVAs and custom CVAs, so that Forms logic can recognize built-in CVAs and treat custom\n * ones with higher priority (when both built-in and custom CVAs are present).\n *\n * Note: this is an *internal-only* class and should not be extended or used directly in\n * applications code.\n */\nclass BuiltInControlValueAccessor extends BaseControlValueAccessor {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: BuiltInControlValueAccessor, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: BuiltInControlValueAccessor, usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: BuiltInControlValueAccessor, decorators: [{\n type: Directive\n }] });\n/**\n * Used to provide a `ControlValueAccessor` for form controls.\n *\n * See `DefaultValueAccessor` for how to implement one.\n *\n * @publicApi\n */\nconst NG_VALUE_ACCESSOR = new InjectionToken('NgValueAccessor');\n\nconst CHECKBOX_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => CheckboxControlValueAccessor),\n multi: true,\n};\n/**\n * @description\n * A `ControlValueAccessor` for writing a value and listening to changes on a checkbox input\n * element.\n *\n * @usageNotes\n *\n * ### Using a checkbox with a reactive form.\n *\n * The following example shows how to use a checkbox with a reactive form.\n *\n * ```ts\n * const rememberLoginControl = new FormControl();\n * ```\n *\n * ```\n * <input type=\"checkbox\" [formControl]=\"rememberLoginControl\">\n * ```\n *\n * @ngModule ReactiveFormsModule\n * @ngModule FormsModule\n * @publicApi\n */\nclass CheckboxControlValueAccessor extends BuiltInControlValueAccessor {\n /**\n * Sets the \"checked\" property on the input element.\n * @nodoc\n */\n writeValue(value) {\n this.setProperty('checked', value);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: CheckboxControlValueAccessor, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: CheckboxControlValueAccessor, selector: \"input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]\", host: { listeners: { \"change\": \"onChange($event.target.checked)\", \"blur\": \"onTouched()\" } }, providers: [CHECKBOX_VALUE_ACCESSOR], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: CheckboxControlValueAccessor, decorators: [{\n type: Directive,\n args: [{\n selector: 'input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]',\n host: { '(change)': 'onChange($event.target.checked)', '(blur)': 'onTouched()' },\n providers: [CHECKBOX_VALUE_ACCESSOR]\n }]\n }] });\n\nconst DEFAULT_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => DefaultValueAccessor),\n multi: true\n};\n/**\n * We must check whether the agent is Android because composition events\n * behave differently between iOS and Android.\n */\nfunction _isAndroid() {\n const userAgent = ɵgetDOM() ? ɵgetDOM().getUserAgent() : '';\n return /android (\\d+)/.test(userAgent.toLowerCase());\n}\n/**\n * @description\n * Provide this token to control if form directives buffer IME input until\n * the \"compositionend\" event occurs.\n * @publicApi\n */\nconst COMPOSITION_BUFFER_MODE = new InjectionToken('CompositionEventMode');\n/**\n * The default `ControlValueAccessor` for writing a value and listening to changes on input\n * elements. The accessor is used by the `FormControlDirective`, `FormControlName`, and\n * `NgModel` directives.\n *\n * {@searchKeywords ngDefaultControl}\n *\n * @usageNotes\n *\n * ### Using the default value accessor\n *\n * The following example shows how to use an input element that activates the default value accessor\n * (in this case, a text field).\n *\n * ```ts\n * const firstNameControl = new FormControl();\n * ```\n *\n * ```\n * <input type=\"text\" [formControl]=\"firstNameControl\">\n * ```\n *\n * This value accessor is used by default for `<input type=\"text\">` and `<textarea>` elements, but\n * you could also use it for custom components that have similar behavior and do not require special\n * processing. In order to attach the default value accessor to a custom element, add the\n * `ngDefaultControl` attribute as shown below.\n *\n * ```\n * <custom-input-component ngDefaultControl [(ngModel)]=\"value\"></custom-input-component>\n * ```\n *\n * @ngModule ReactiveFormsModule\n * @ngModule FormsModule\n * @publicApi\n */\nclass DefaultValueAccessor extends BaseControlValueAccessor {\n constructor(renderer, elementRef, _compositionMode) {\n super(renderer, elementRef);\n this._compositionMode = _compositionMode;\n /** Whether the user is creating a composition string (IME events). */\n this._composing = false;\n if (this._compositionMode == null) {\n this._compositionMode = !_isAndroid();\n }\n }\n /**\n * Sets the \"value\" property on the input element.\n * @nodoc\n */\n writeValue(value) {\n const normalizedValue = value == null ? '' : value;\n this.setProperty('value', normalizedValue);\n }\n /** @internal */\n _handleInput(value) {\n if (!this._compositionMode || (this._compositionMode && !this._composing)) {\n this.onChange(value);\n }\n }\n /** @internal */\n _compositionStart() {\n this._composing = true;\n }\n /** @internal */\n _compositionEnd(value) {\n this._composing = false;\n this._compositionMode && this.onChange(value);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DefaultValueAccessor, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: COMPOSITION_BUFFER_MODE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\", host: { listeners: { \"input\": \"$any(this)._handleInput($event.target.value)\", \"blur\": \"onTouched()\", \"compositionstart\": \"$any(this)._compositionStart()\", \"compositionend\": \"$any(this)._compositionEnd($event.target.value)\" } }, providers: [DEFAULT_VALUE_ACCESSOR], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: DefaultValueAccessor, decorators: [{\n type: Directive,\n args: [{\n selector: 'input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]',\n // TODO: vsavkin replace the above selector with the one below it once\n // https://github.com/angular/angular/issues/3011 is implemented\n // selector: '[ngModel],[formControl],[formControlName]',\n host: {\n '(input)': '$any(this)._handleInput($event.target.value)',\n '(blur)': 'onTouched()',\n '(compositionstart)': '$any(this)._compositionStart()',\n '(compositionend)': '$any(this)._compositionEnd($event.target.value)'\n },\n providers: [DEFAULT_VALUE_ACCESSOR]\n }]\n }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [COMPOSITION_BUFFER_MODE]\n }] }]; } });\n\nfunction isEmptyInputValue(value) {\n /**\n * Check if the object is a string or array before evaluating the length attribute.\n * This avoids falsely rejecting objects that contain a custom length attribute.\n * For example, the object {id: 1, length: 0, width: 0} should not be returned as empty.\n */\n return value == null ||\n ((typeof value === 'string' || Array.isArray(value)) && value.length === 0);\n}\nfunction hasValidLength(value) {\n // non-strict comparison is intentional, to check for both `null` and `undefined` values\n return value != null && typeof value.length === 'number';\n}\n/**\n * @description\n * An `InjectionToken` for registering additional synchronous validators used with\n * `AbstractControl`s.\n *\n * @see `NG_ASYNC_VALIDATORS`\n *\n * @usageNotes\n *\n * ### Providing a custom validator\n *\n * The following example registers a custom validator directive. Adding the validator to the\n * existing collection of validators requires the `multi: true` option.\n *\n * ```typescript\n * @Directive({\n * selector: '[customValidator]',\n * providers: [{provide: NG_VALIDATORS, useExisting: CustomValidatorDirective, multi: true}]\n * })\n * class CustomValidatorDirective implements Validator {\n * validate(control: AbstractControl): ValidationErrors | null {\n * return { 'custom': true };\n * }\n * }\n * ```\n *\n * @publicApi\n */\nconst NG_VALIDATORS = new InjectionToken('NgValidators');\n/**\n * @description\n * An `InjectionToken` for registering additional asynchronous validators used with\n * `AbstractControl`s.\n *\n * @see `NG_VALIDATORS`\n *\n * @usageNotes\n *\n * ### Provide a custom async validator directive\n *\n * The following example implements the `AsyncValidator` interface to create an\n * async validator directive with a custom error key.\n *\n * ```typescript\n * @Directive({\n * selector: '[customAsyncValidator]',\n * providers: [{provide: NG_ASYNC_VALIDATORS, useExisting: CustomAsyncValidatorDirective, multi:\n * true}]\n * })\n * class CustomAsyncValidatorDirective implements AsyncValidator {\n * validate(control: AbstractControl): Promise<ValidationErrors|null> {\n * return Promise.resolve({'custom': true});\n * }\n * }\n * ```\n *\n * @publicApi\n */\nconst NG_ASYNC_VALIDATORS = new InjectionToken('NgAsyncValidators');\n/**\n * A regular expression that matches valid e-mail addresses.\n *\n * At a high level, this regexp matches e-mail addresses of the format `local-part@tld`, where:\n * - `local-part` consists of one or more of the allowed characters (alphanumeric and some\n * punctuation symbols).\n * - `local-part` cannot begin or end with a period (`.`).\n * - `local-part` cannot be longer than 64 characters.\n * - `tld` consists of one or more `labels` separated by periods (`.`). For example `localhost` or\n * `foo.com`.\n * - A `label` consists of one or more of the allowed characters (alphanumeric, dashes (`-`) and\n * periods (`.`)).\n * - A `label` cannot begin or end with a dash (`-`) or a period (`.`).\n * - A `label` cannot be longer than 63 characters.\n * - The whole address cannot be longer than 254 characters.\n *\n * ## Implementation background\n *\n * This regexp was ported over from AngularJS (see there for git history):\n * https://github.com/angular/angular.js/blob/c133ef836/src/ng/directive/input.js#L27\n * It is based on the\n * [WHATWG version](https://html.spec.whatwg.org/multipage/input.html#valid-e-mail-address) with\n * some enhancements to incorporate more RFC rules (such as rules related to domain names and the\n * lengths of different parts of the address). The main differences from the WHATWG version are:\n * - Disallow `local-part` to begin or end with a period (`.`).\n * - Disallow `local-part` length to exceed 64 characters.\n * - Disallow total address length to exceed 254 characters.\n *\n * See [this commit](https://github.com/angular/angular.js/commit/f3f5cf72e) for more details.\n */\nconst EMAIL_REGEXP = /^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;\n/**\n * @description\n * Provides a set of built-in validators that can be used by form controls.\n *\n * A validator is a function that processes a `FormControl` or collection of\n * controls and returns an error map or null. A null map means that validation has passed.\n *\n * @see [Form Validation](/guide/form-validation)\n *\n * @publicApi\n */\nclass Validators {\n /**\n * @description\n * Validator that requires the control's value to be greater than or equal to the provided number.\n *\n * @usageNotes\n *\n * ### Validate against a minimum of 3\n *\n * ```typescript\n * const control = new FormControl(2, Validators.min(3));\n *\n * console.log(control.errors); // {min: {min: 3, actual: 2}}\n * ```\n *\n * @returns A validator function that returns an error map with the\n * `min` property if the validation check fails, otherwise `null`.\n *\n * @see `updateValueAndValidity()`\n *\n */\n static min(min) {\n return minValidator(min);\n }\n /**\n * @description\n * Validator that requires the control's value to be less than or equal to the provided number.\n *\n * @usageNotes\n *\n * ### Validate against a maximum of 15\n *\n * ```typescript\n * const control = new FormControl(16, Validators.max(15));\n *\n * console.log(control.errors); // {max: {max: 15, actual: 16}}\n * ```\n *\n * @returns A validator function that returns an error map with the\n * `max` property if the validation check fails, otherwise `null`.\n *\n * @see `updateValueAndValidity()`\n *\n */\n static max(max) {\n return maxValidator(max);\n }\n /**\n * @description\n * Validator that requires the control have a non-empty value.\n *\n * @usageNotes\n *\n * ### Validate that the field is non-empty\n *\n * ```typescript\n * const control = new FormControl('', Validators.required);\n *\n * console.log(control.errors); // {required: true}\n * ```\n *\n * @returns An error map with the `required` property\n * if the validation check fails, otherwise `null`.\n *\n * @see `updateValueAndValidity()`\n *\n */\n static required(control) {\n return requiredValidator(control);\n }\n /**\n * @description\n * Validator that requires the control's value be true. This validator is commonly\n * used for required checkboxes.\n *\n * @usageNotes\n *\n * ### Validate that the field value is true\n *\n * ```typescript\n * const control = new FormControl('some value', Validators.requiredTrue);\n *\n * console.log(control.errors); // {required: true}\n * ```\n *\n * @returns An error map that contains the `required` property\n * set to `true` if the validation check fails, otherwise `null`.\n *\n * @see `updateValueAndValidity()`\n *\n */\n static requiredTrue(control) {\n return requiredTrueValidator(control);\n }\n /**\n * @description\n * Validator that requires the control's value pass an email validation test.\n *\n * Tests the value using a [regular\n * expression](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions)\n * pattern suitable for common use cases. The pattern is based on the definition of a valid email\n * address in the [WHATWG HTML\n * specification](https://html.spec.whatwg.org/multipage/input.html#valid-e-mail-address) with\n * some enhancements to incorporate more RFC rules (such as rules related to domain names and the\n * lengths of different parts of the address).\n *\n * The differences from the WHATWG version include:\n * - Disallow `local-part` (the part before the `@` symbol) to begin or end with a period (`.`).\n * - Disallow `local-part` to be longer than 64 characters.\n * - Disallow the whole address to be longer than 254 characters.\n *\n * If this pattern does not satisfy your business needs, you can use `Validators.pattern()` to\n * validate the value against a different pattern.\n *\n * @usageNotes\n *\n * ### Validate that the field matches a valid email pattern\n *\n * ```typescript\n * const control = new FormControl('bad@', Validators.email);\n *\n * console.log(control.errors); // {email: true}\n * ```\n *\n * @returns An error map with the `email` property\n * if the validation check fails, otherwise `null`.\n *\n * @see `updateValueAndValidity()`\n *\n */\n static email(control) {\n return emailValidator(control);\n }\n /**\n * @description\n * Validator that requires the length of the control's value to be greater than or equal\n * to the provided minimum length. This validator is also provided by default if you use the\n * the HTML5 `minlength` attribute. Note that the `minLength` validator is intended to be used\n * only for types that have a numeric `length` property, such as strings or arrays. The\n * `minLength` validator logic is also not invoked for values when their `length` property is 0\n * (for example in case of an empty string or an empty array), to support optional controls. You\n * can use the standard `required` validator if empty values should not be considered valid.\n *\n * @usageNotes\n *\n * ### Validate that the field has a minimum of 3 characters\n *\n * ```typescript\n * const control = new FormControl('ng', Validators.minLength(3));\n *\n * console.log(control.errors); // {minlength: {requiredLength: 3, actualLength: 2}}\n * ```\n *\n * ```html\n * <input minlength=\"5\">\n * ```\n *\n * @returns A validator function that returns an error map with the\n * `minlength` property if the validation check fails, otherwise `null`.\n *\n * @see `updateValueAndValidity()`\n *\n */\n static minLength(minLength) {\n return minLengthValidator(minLength);\n }\n /**\n * @description\n * Validator that requires the length of the control's value to be less than or equal\n * to the provided maximum length. This validator is also provided by default if you use the\n * the HTML5 `maxlength` attribute. Note that the `maxLength` validator is intended to be used\n * only for types that have a numeric `length` property, such as strings or arrays.\n *\n * @usageNotes\n *\n * ### Validate that the field has maximum of 5 characters\n *\n * ```typescript\n * const control = new FormControl('Angular', Validators.maxLength(5));\n *\n * console.log(control.errors); // {maxlength: {requiredLength: 5, actualLength: 7}}\n * ```\n *\n * ```html\n * <input maxlength=\"5\">\n * ```\n *\n * @returns A validator function that returns an error map with the\n * `maxlength` property if the validation check fails, otherwise `null`.\n *\n * @see `updateValueAndValidity()`\n *\n */\n static maxLength(maxLength) {\n return maxLengthValidator(maxLength);\n }\n /**\n * @description\n * Validator that requires the control's value to match a regex pattern. This validator is also\n * provided by default if you use the HTML5 `pattern` attribute.\n *\n * @usageNotes\n *\n * ### Validate that the field only contains letters or spaces\n *\n * ```typescript\n * const control = new FormControl('1', Validators.pattern('[a-zA-Z ]*'));\n *\n * console.log(control.errors); // {pattern: {requiredPattern: '^[a-zA-Z ]*$', actualValue: '1'}}\n * ```\n *\n * ```html\n * <input pattern=\"[a-zA-Z ]*\">\n * ```\n *\n * ### Pattern matching with the global or sticky flag\n *\n * `RegExp` objects created with the `g` or `y` flags that are passed into `Validators.pattern`\n * can produce different results on the same input when validations are run consecutively. This is\n * due to how the behavior of `RegExp.prototype.test` is\n * specified in [ECMA-262](https://tc39.es/ecma262/#sec-regexpbuiltinexec)\n * (`RegExp` preserves the index of the last match when the global or sticky flag is used).\n * Due to this behavior, it is recommended that when using\n * `Validators.pattern` you **do not** pass in a `RegExp` object with either the global or sticky\n * flag enabled.\n *\n * ```typescript\n * // Not recommended (since the `g` flag is used)\n * const controlOne = new FormControl('1', Validators.pattern(/foo/g));\n *\n * // Good\n * const controlTwo = new FormControl('1', Validators.pattern(/foo/));\n * ```\n *\n * @param pattern A regular expression to be used as is to test the values, or a string.\n * If a string is passed, the `^` character is prepended and the `$` character is\n * appended to the provided string (if not already present), and the resulting regular\n * expression is used to test the values.\n *\n * @returns A validator function that returns an error map with the\n * `pattern` property if the validation check fails, otherwise `null`.\n *\n * @see `updateValueAndValidity()`\n *\n */\n static pattern(pattern) {\n return patternValidator(pattern);\n }\n /**\n * @description\n * Validator that performs no operation.\n *\n * @see `updateValueAndValidity()`\n *\n */\n static nullValidator(control) {\n return nullValidator(control);\n }\n static compose(validators) {\n return compose(validators);\n }\n /**\n * @description\n * Compose multiple async validators into a single function that returns the union\n * of the individual error objects for the provided control.\n *\n * @returns A validator function that returns an error map with the\n * merged error objects of the async validators if the validation check fails, otherwise `null`.\n *\n * @see `updateValueAndValidity()`\n *\n */\n static composeAsync(validators) {\n return composeAsync(validators);\n }\n}\n/**\n * Validator that requires the control's value to be greater than or equal to the provided number.\n * See `Validators.min` for additional information.\n */\nfunction minValidator(min) {\n return (control) => {\n if (isEmptyInputValue(control.value) || isEmptyInputValue(min)) {\n return null; // don't validate empty values to allow optional controls\n }\n const value = parseFloat(control.value);\n // Controls with NaN values after parsing should be treated as not having a\n // minimum, per the HTML forms spec: https://www.w3.org/TR/html5/forms.html#attr-input-min\n return !isNaN(value) && value < min ? { 'min': { 'min': min, 'actual': control.value } } : null;\n };\n}\n/**\n * Validator that requires the control's value to be less than or equal to the provided number.\n * See `Validators.max` for additional information.\n */\nfunction maxValidator(max) {\n return (control) => {\n if (isEmptyInputValue(control.value) || isEmptyInputValue(max)) {\n return null; // don't validate empty values to allow optional controls\n }\n const value = parseFloat(control.value);\n // Controls with NaN values after parsing should be treated as not having a\n // maximum, per the HTML forms spec: https://www.w3.org/TR/html5/forms.html#attr-input-max\n return !isNaN(value) && value > max ? { 'max': { 'max': max, 'actual': control.value } } : null;\n };\n}\n/**\n * Validator that requires the control have a non-empty value.\n * See `Validators.required` for additional information.\n */\nfunction requiredValidator(control) {\n return isEmptyInputValue(control.value) ? { 'required': true } : null;\n}\n/**\n * Validator that requires the control's value be true. This validator is commonly\n * used for required checkboxes.\n * See `Validators.requiredTrue` for additional information.\n */\nfunction requiredTrueValidator(control) {\n return control.value === true ? null : { 'required': true };\n}\n/**\n * Validator that requires the control's value pass an email validation test.\n * See `Validators.email` for additional information.\n */\nfunction emailValidator(control) {\n if (isEmptyInputValue(control.value)) {\n return null; // don't validate empty values to allow optional controls\n }\n return EMAIL_REGEXP.test(control.value) ? null : { 'email': true };\n}\n/**\n * Validator that requires the length of the control's value to be greater than or equal\n * to the provided minimum length. See `Validators.minLength` for additional information.\n */\nfunction minLengthValidator(minLength) {\n return (control) => {\n if (isEmptyInputValue(control.value) || !hasValidLength(control.value)) {\n // don't validate empty values to allow optional controls\n // don't validate values without `length` property\n return null;\n }\n return control.value.length < minLength ?\n { 'minlength': { 'requiredLength': minLength, 'actualLength': control.value.length } } :\n null;\n };\n}\n/**\n * Validator that requires the length of the control's value to be less than or equal\n * to the provided maximum length. See `Validators.maxLength` for additional information.\n */\nfunction maxLengthValidator(maxLength) {\n return (control) => {\n return hasValidLength(control.value) && control.value.length > maxLength ?\n { 'maxlength': { 'requiredLength': maxLength, 'actualLength': control.value.length } } :\n null;\n };\n}\n/**\n * Validator that requires the control's value to match a regex pattern.\n * See `Validators.pattern` for additional information.\n */\nfunction patternValidator(pattern) {\n if (!pattern)\n return nullValidator;\n let regex;\n let regexStr;\n if (typeof pattern === 'string') {\n regexStr = '';\n if (pattern.charAt(0) !== '^')\n regexStr += '^';\n regexStr += pattern;\n if (pattern.charAt(pattern.length - 1) !== '$')\n regexStr += '$';\n regex = new RegExp(regexStr);\n }\n else {\n regexStr = pattern.toString();\n regex = pattern;\n }\n return (control) => {\n if (isEmptyInputValue(control.value)) {\n return null; // don't validate empty values to allow optional controls\n }\n const value = control.value;\n return regex.test(value) ? null :\n { 'pattern': { 'requiredPattern': regexStr, 'actualValue': value } };\n };\n}\n/**\n * Function that has `ValidatorFn` shape, but performs no operation.\n */\nfunction nullValidator(control) {\n return null;\n}\nfunction isPresent(o) {\n return o != null;\n}\nfunction toObservable(value) {\n const obs = ɵisPromise(value) ? from(value) : value;\n if ((typeof ngDevMode === 'undefined' || ngDevMode) && !(ɵisSubscribable(obs))) {\n let errorMessage = `Expected async validator to return Promise or Observable.`;\n // A synchronous validator will return object or null.\n if (typeof value === 'object') {\n errorMessage +=\n ' Are you using a synchronous validator where an async validator is expected?';\n }\n throw new ɵRuntimeError(-1101 /* RuntimeErrorCode.WRONG_VALIDATOR_RETURN_TYPE */, errorMessage);\n }\n return obs;\n}\nfunction mergeErrors(arrayOfErrors) {\n let res = {};\n arrayOfErrors.forEach((errors) => {\n res = errors != null ? { ...res, ...errors } : res;\n });\n return Object.keys(res).length === 0 ? null : res;\n}\nfunction executeValidators(control, validators) {\n return validators.map(validator => validator(control));\n}\nfunction isValidatorFn(validator) {\n return !validator.validate;\n}\n/**\n * Given the list of validators that may contain both functions as well as classes, return the list\n * of validator functions (convert validator classes into validator functions). This is needed to\n * have consistent structure in validators list before composing them.\n *\n * @param validators The set of validators that may contain validators both in plain function form\n * as well as represented as a validator class.\n */\nfunction normalizeValidators(validators) {\n return validators.map(validator => {\n return isValidatorFn(validator) ?\n validator :\n ((c) => validator.validate(c));\n });\n}\n/**\n * Merges synchronous validators into a single validator function.\n * See `Validators.compose` for additional information.\n */\nfunction compose(validators) {\n if (!validators)\n return null;\n const presentValidators = validators.filter(isPresent);\n if (presentValidators.length == 0)\n return null;\n return function (control) {\n return mergeErrors(executeValidators(control, presentValidators));\n };\n}\n/**\n * Accepts a list of validators of different possible shapes (`Validator` and `ValidatorFn`),\n * normalizes the list (converts everything to `ValidatorFn`) and merges them into a single\n * validator function.\n */\nfunction composeValidators(validators) {\n return validators != null ? compose(normalizeValidators(validators)) : null;\n}\n/**\n * Merges asynchronous validators into a single validator function.\n * See `Validators.composeAsync` for additional information.\n */\nfunction composeAsync(validators) {\n if (!validators)\n return null;\n const presentValidators = validators.filter(isPresent);\n if (presentValidators.length == 0)\n return null;\n return function (control) {\n const observables = executeValidators(control, presentValidators).map(toObservable);\n return forkJoin(observables).pipe(map(mergeErrors));\n };\n}\n/**\n * Accepts a list of async validators of different possible shapes (`AsyncValidator` and\n * `AsyncValidatorFn`), normalizes the list (converts everything to `AsyncValidatorFn`) and merges\n * them into a single validator function.\n */\nfunction composeAsyncValidators(validators) {\n return validators != null ? composeAsync(normalizeValidators(validators)) :\n null;\n}\n/**\n * Merges raw control validators with a given directive validator and returns the combined list of\n * validators as an array.\n */\nfunction mergeValidators(controlValidators, dirValidator) {\n if (controlValidators === null)\n return [dirValidator];\n return Array.isArray(controlValidators) ? [...controlValidators, dirValidator] :\n [controlValidators, dirValidator];\n}\n/**\n * Retrieves the list of raw synchronous validators attached to a given control.\n */\nfunction getControlValidators(control) {\n return control._rawValidators;\n}\n/**\n * Retrieves the list of raw asynchronous validators attached to a given control.\n */\nfunction getControlAsyncValidators(control) {\n return control._rawAsyncValidators;\n}\n/**\n * Accepts a singleton validator, an array, or null, and returns an array type with the provided\n * validators.\n *\n * @param validators A validator, validators, or null.\n * @returns A validators array.\n */\nfunction makeValidatorsArray(validators) {\n if (!validators)\n return [];\n return Array.isArray(validators) ? validators : [validators];\n}\n/**\n * Determines whether a validator or validators array has a given validator.\n *\n * @param validators The validator or validators to compare against.\n * @param validator The validator to check.\n * @returns Whether the validator is present.\n */\nfunction hasValidator(validators, validator) {\n return Array.isArray(validators) ? validators.includes(validator) : validators === validator;\n}\n/**\n * Combines two arrays of validators into one. If duplicates are provided, only one will be added.\n *\n * @param validators The new validators.\n * @param currentValidators The base array of current validators.\n * @returns An array of validators.\n */\nfunction addValidators(validators, currentValidators) {\n const current = makeValidatorsArray(currentValidators);\n const validatorsToAdd = makeValidatorsArray(validators);\n validatorsToAdd.forEach((v) => {\n // Note: if there are duplicate entries in the new validators array,\n // only the first one would be added to the current list of validators.\n // Duplicate ones would be ignored since `hasValidator` would detect\n // the presence of a validator function and we update the current list in place.\n if (!hasValidator(current, v)) {\n current.push(v);\n }\n });\n return current;\n}\nfunction removeValidators(validators, currentValidators) {\n return makeValidatorsArray(currentValidators).filter(v => !hasValidator(validators, v));\n}\n\n/**\n * @description\n * Base class for control directives.\n *\n * This class is only used internally in the `ReactiveFormsModule` and the `FormsModule`.\n *\n * @publicApi\n */\nclass AbstractControlDirective {\n constructor() {\n /**\n * Set of synchronous validators as they were provided while calling `setValidators` function.\n * @internal\n */\n this._rawValidators = [];\n /**\n * Set of asynchronous validators as they were provided while calling `setAsyncValidators`\n * function.\n * @internal\n */\n this._rawAsyncValidators = [];\n /*\n * The set of callbacks to be invoked when directive instance is being destroyed.\n */\n this._onDestroyCallbacks = [];\n }\n /**\n * @description\n * Reports the value of the control if it is present, otherwise null.\n */\n get value() {\n return this.control ? this.control.value : null;\n }\n /**\n * @description\n * Reports whether the control is valid. A control is considered valid if no\n * validation errors exist with the current value.\n * If the control is not present, null is returned.\n */\n get valid() {\n return this.control ? this.control.valid : null;\n }\n /**\n * @description\n * Reports whether the control is invalid, meaning that an error exists in the input value.\n * If the control is not present, null is returned.\n */\n get invalid() {\n return this.control ? this.control.invalid : null;\n }\n /**\n * @description\n * Reports whether a control is pending, meaning that that async validation is occurring and\n * errors are not yet available for the input value. If the control is not present, null is\n * returned.\n */\n get pending() {\n return this.control ? this.control.pending : null;\n }\n /**\n * @description\n * Reports whether the control is disabled, meaning that the control is disabled\n * in the UI and is exempt from validation checks and excluded from aggregate\n * values of ancestor controls. If the control is not present, null is returned.\n */\n get disabled() {\n return this.control ? this.control.disabled : null;\n }\n /**\n * @description\n * Reports whether the control is enabled, meaning that the control is included in ancestor\n * calculations of validity or value. If the control is not present, null is returned.\n */\n get enabled() {\n return this.control ? this.control.enabled : null;\n }\n /**\n * @description\n * Reports the control's validation errors. If the control is not present, null is returned.\n */\n get errors() {\n return this.control ? this.control.errors : null;\n }\n /**\n * @description\n * Reports whether the control is pristine, meaning that the user has not yet changed\n * the value in the UI. If the control is not present, null is returned.\n */\n get pristine() {\n return this.control ? this.control.pristine : null;\n }\n /**\n * @description\n * Reports whether the control is dirty, meaning that the user has changed\n * the value in the UI. If the control is not present, null is returned.\n */\n get dirty() {\n return this.control ? this.control.dirty : null;\n }\n /**\n * @description\n * Reports whether the control is touched, meaning that the user has triggered\n * a `blur` event on it. If the control is not present, null is returned.\n */\n get touched() {\n return this.control ? this.control.touched : null;\n }\n /**\n * @description\n * Reports the validation status of the control. Possible values include:\n * 'VALID', 'INVALID', 'DISABLED', and 'PENDING'.\n * If the control is not present, null is returned.\n */\n get status() {\n return this.control ? this.control.status : null;\n }\n /**\n * @description\n * Reports whether the control is untouched, meaning that the user has not yet triggered\n * a `blur` event on it. If the control is not present, null is returned.\n */\n get untouched() {\n return this.control ? this.control.untouched : null;\n }\n /**\n * @description\n * Returns a multicasting observable that emits a validation status whenever it is\n * calculated for the control. If the control is not present, null is returned.\n */\n get statusChanges() {\n return this.control ? this.control.statusChanges : null;\n }\n /**\n * @description\n * Returns a multicasting observable of value changes for the control that emits every time the\n * value of the control changes in the UI or programmatically.\n * If the control is not present, null is returned.\n */\n get valueChanges() {\n return this.control ? this.control.valueChanges : null;\n }\n /**\n * @description\n * Returns an array that represents the path from the top-level form to this control.\n * Each index is the string name of the control on that level.\n */\n get path() {\n return null;\n }\n /**\n * Sets synchronous validators for this directive.\n * @internal\n */\n _setValidators(validators) {\n this._rawValidators = validators || [];\n this._composedValidatorFn = composeValidators(this._rawValidators);\n }\n /**\n * Sets asynchronous validators for this directive.\n * @internal\n */\n _setAsyncValidators(validators) {\n this._rawAsyncValidators = validators || [];\n this._composedAsyncValidatorFn = composeAsyncValidators(this._rawAsyncValidators);\n }\n /**\n * @description\n * Synchronous validator function composed of all the synchronous validators registered with this\n * directive.\n */\n get validator() {\n return this._composedValidatorFn || null;\n }\n /**\n * @description\n * Asynchronous validator function composed of all the asynchronous validators registered with\n * this directive.\n */\n get asyncValidator() {\n return this._composedAsyncValidatorFn || null;\n }\n /**\n * Internal function to register callbacks that should be invoked\n * when directive instance is being destroyed.\n * @internal\n */\n _registerOnDestroy(fn) {\n this._onDestroyCallbacks.push(fn);\n }\n /**\n * Internal function to invoke all registered \"on destroy\" callbacks.\n * Note: calling this function also clears the list of callbacks.\n * @internal\n */\n _invokeOnDestroyCallbacks() {\n this._onDestroyCallbacks.forEach(fn => fn());\n this._onDestroyCallbacks = [];\n }\n /**\n * @description\n * Resets the control with the provided value if the control is present.\n */\n reset(value = undefined) {\n if (this.control)\n this.control.reset(value);\n }\n /**\n * @description\n * Reports whether the control with the given path has the error specified.\n *\n * @param errorCode The code of the error to check\n * @param path A list of control names that designates how to move from the current control\n * to the control that should be queried for errors.\n *\n * @usageNotes\n * For example, for the following `FormGroup`:\n *\n * ```\n * form = new FormGroup({\n * address: new FormGroup({ street: new FormControl() })\n * });\n * ```\n *\n * The path to the 'street' control from the root form would be 'address' -> 'street'.\n *\n * It can be provided to this method in one of two formats:\n *\n * 1. An array of string control names, e.g. `['address', 'street']`\n * 1. A period-delimited list of control names in one string, e.g. `'address.street'`\n *\n * If no path is given, this method checks for the error on the current control.\n *\n * @returns whether the given error is present in the control at the given path.\n *\n * If the control is not present, false is returned.\n */\n hasError(errorCode, path) {\n return this.control ? this.control.hasError(errorCode, path) : false;\n }\n /**\n * @description\n * Reports error data for the control with the given path.\n *\n * @param errorCode The code of the error to check\n * @param path A list of control names that designates how to move from the current control\n * to the control that should be queried for errors.\n *\n * @usageNotes\n * For example, for the following `FormGroup`:\n *\n * ```\n * form = new FormGroup({\n * address: new FormGroup({ street: new FormControl() })\n * });\n * ```\n *\n * The path to the 'street' control from the root form would be 'address' -> 'street'.\n *\n * It can be provided to this method in one of two formats:\n *\n * 1. An array of string control names, e.g. `['address', 'street']`\n * 1. A period-delimited list of control names in one string, e.g. `'address.street'`\n *\n * @returns error data for that particular error. If the control or error is not present,\n * null is returned.\n */\n getError(errorCode, path) {\n return this.control ? this.control.getError(errorCode, path) : null;\n }\n}\n\n/**\n * @description\n * A base class for directives that contain multiple registered instances of `NgControl`.\n * Only used by the forms module.\n *\n * @publicApi\n */\nclass ControlContainer extends AbstractControlDirective {\n /**\n * @description\n * The top-level form directive for the control.\n */\n get formDirective() {\n return null;\n }\n /**\n * @description\n * The path to this group.\n */\n get path() {\n return null;\n }\n}\n\n/**\n * @description\n * A base class that all `FormControl`-based directives extend. It binds a `FormControl`\n * object to a DOM element.\n *\n * @publicApi\n */\nclass NgControl extends AbstractControlDirective {\n constructor() {\n super(...arguments);\n /**\n * @description\n * The parent form for the control.\n *\n * @internal\n */\n this._parent = null;\n /**\n * @description\n * The name for the control\n */\n this.name = null;\n /**\n * @description\n * The value accessor for the control\n */\n this.valueAccessor = null;\n }\n}\n\n// DO NOT REFACTOR!\n// Each status is represented by a separate function to make sure that\n// advanced Closure Compiler optimizations related to property renaming\n// can work correctly.\nclass AbstractControlStatus {\n constructor(cd) {\n this._cd = cd;\n }\n get isTouched() {\n return !!this._cd?.control?.touched;\n }\n get isUntouched() {\n return !!this._cd?.control?.untouched;\n }\n get isPristine() {\n return !!this._cd?.control?.pristine;\n }\n get isDirty() {\n return !!this._cd?.control?.dirty;\n }\n get isValid() {\n return !!this._cd?.control?.valid;\n }\n get isInvalid() {\n return !!this._cd?.control?.invalid;\n }\n get isPending() {\n return !!this._cd?.control?.pending;\n }\n get isSubmitted() {\n // We check for the `submitted` field from `NgForm` and `FormGroupDirective` classes, but\n // we avoid instanceof checks to prevent non-tree-shakable references to those types.\n return !!this._cd?.submitted;\n }\n}\nconst ngControlStatusHost = {\n '[class.ng-untouched]': 'isUntouched',\n '[class.ng-touched]': 'isTouched',\n '[class.ng-pristine]': 'isPristine',\n '[class.ng-dirty]': 'isDirty',\n '[class.ng-valid]': 'isValid',\n '[class.ng-invalid]': 'isInvalid',\n '[class.ng-pending]': 'isPending',\n};\nconst ngGroupStatusHost = {\n ...ngControlStatusHost,\n '[class.ng-submitted]': 'isSubmitted',\n};\n/**\n * @description\n * Directive automatically applied to Angular form controls that sets CSS classes\n * based on control status.\n *\n * @usageNotes\n *\n * ### CSS classes applied\n *\n * The following classes are applied as the properties become true:\n *\n * * ng-valid\n * * ng-invalid\n * * ng-pending\n * * ng-pristine\n * * ng-dirty\n * * ng-untouched\n * * ng-touched\n *\n * @ngModule ReactiveFormsModule\n * @ngModule FormsModule\n * @publicApi\n */\nclass NgControlStatus extends AbstractControlStatus {\n constructor(cd) {\n super(cd);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NgControlStatus, deps: [{ token: NgControl, self: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\", host: { properties: { \"class.ng-untouched\": \"isUntouched\", \"class.ng-touched\": \"isTouched\", \"class.ng-pristine\": \"isPristine\", \"class.ng-dirty\": \"isDirty\", \"class.ng-valid\": \"isValid\", \"class.ng-invalid\": \"isInvalid\", \"class.ng-pending\": \"isPending\" } }, usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NgControlStatus, decorators: [{\n type: Directive,\n args: [{ selector: '[formControlName],[ngModel],[formControl]', host: ngControlStatusHost }]\n }], ctorParameters: function () { return [{ type: NgControl, decorators: [{\n type: Self\n }] }]; } });\n/**\n * @description\n * Directive automatically applied to Angular form groups that sets CSS classes\n * based on control status (valid/invalid/dirty/etc). On groups, this includes the additional\n * class ng-submitted.\n *\n * @see `NgControlStatus`\n *\n * @ngModule ReactiveFormsModule\n * @ngModule FormsModule\n * @publicApi\n */\nclass NgControlStatusGroup extends AbstractControlStatus {\n constructor(cd) {\n super(cd);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NgControlStatusGroup, deps: [{ token: ControlContainer, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\", host: { properties: { \"class.ng-untouched\": \"isUntouched\", \"class.ng-touched\": \"isTouched\", \"class.ng-pristine\": \"isPristine\", \"class.ng-dirty\": \"isDirty\", \"class.ng-valid\": \"isValid\", \"class.ng-invalid\": \"isInvalid\", \"class.ng-pending\": \"isPending\", \"class.ng-submitted\": \"isSubmitted\" } }, usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NgControlStatusGroup, decorators: [{\n type: Directive,\n args: [{\n selector: '[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]',\n host: ngGroupStatusHost\n }]\n }], ctorParameters: function () { return [{ type: ControlContainer, decorators: [{\n type: Optional\n }, {\n type: Self\n }] }]; } });\n\nconst formControlNameExample = `\n <div [formGroup]=\"myGroup\">\n <input formControlName=\"firstName\">\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });`;\nconst formGroupNameExample = `\n <div [formGroup]=\"myGroup\">\n <div formGroupName=\"person\">\n <input formControlName=\"firstName\">\n </div>\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });`;\nconst formArrayNameExample = `\n <div [formGroup]=\"myGroup\">\n <div formArrayName=\"cities\">\n <div *ngFor=\"let city of cityArray.controls; index as i\">\n <input [formControlName]=\"i\">\n </div>\n </div>\n </div>\n\n In your class:\n\n this.cityArray = new FormArray([new FormControl('SF')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });`;\nconst ngModelGroupExample = `\n <form>\n <div ngModelGroup=\"person\">\n <input [(ngModel)]=\"person.name\" name=\"firstName\">\n </div>\n </form>`;\nconst ngModelWithFormGroupExample = `\n <div [formGroup]=\"myGroup\">\n <input formControlName=\"firstName\">\n <input [(ngModel)]=\"showMoreControls\" [ngModelOptions]=\"{standalone: true}\">\n </div>\n`;\n\nfunction controlParentException() {\n return new ɵRuntimeError(1050 /* RuntimeErrorCode.FORM_CONTROL_NAME_MISSING_PARENT */, `formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n ${formControlNameExample}`);\n}\nfunction ngModelGroupException() {\n return new ɵRuntimeError(1051 /* RuntimeErrorCode.FORM_CONTROL_NAME_INSIDE_MODEL_GROUP */, `formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a \"form\" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n ${formGroupNameExample}\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n ${ngModelGroupExample}`);\n}\nfunction missingFormException() {\n return new ɵRuntimeError(1052 /* RuntimeErrorCode.FORM_GROUP_MISSING_INSTANCE */, `formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n ${formControlNameExample}`);\n}\nfunction groupParentException() {\n return new ɵRuntimeError(1053 /* RuntimeErrorCode.FORM_GROUP_NAME_MISSING_PARENT */, `formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n ${formGroupNameExample}`);\n}\nfunction arrayParentException() {\n return new ɵRuntimeError(1054 /* RuntimeErrorCode.FORM_ARRAY_NAME_MISSING_PARENT */, `formArrayName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n ${formArrayNameExample}`);\n}\nconst disabledAttrWarning = `\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n\n Example:\n // Specify the \\`disabled\\` property at control creation time:\n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n\n // Controls can also be enabled/disabled after creation:\n form.get('first')?.enable();\n form.get('last')?.disable();\n`;\nconst asyncValidatorsDroppedWithOptsWarning = `\n It looks like you're constructing using a FormControl with both an options argument and an\n async validators argument. Mixing these arguments will cause your async validators to be dropped.\n You should either put all your validators in the options object, or in separate validators\n arguments. For example:\n\n // Using validators arguments\n fc = new FormControl(42, Validators.required, myAsyncValidator);\n\n // Using AbstractControlOptions\n fc = new FormControl(42, {validators: Validators.required, asyncValidators: myAV});\n\n // Do NOT mix them: async validators will be dropped!\n fc = new FormControl(42, {validators: Validators.required}, /* Oops! */ myAsyncValidator);\n`;\nfunction ngModelWarning(directiveName) {\n return `\n It looks like you're using ngModel on the same form field as ${directiveName}.\n Support for using the ngModel input property and ngModelChange event with\n reactive form directives has been deprecated in Angular v6 and will be removed\n in a future version of Angular.\n\n For more information on this, see our API docs here:\n https://angular.io/api/forms/${directiveName === 'formControl' ? 'FormControlDirective' : 'FormControlName'}#use-with-ngmodel\n `;\n}\nfunction describeKey(isFormGroup, key) {\n return isFormGroup ? `with name: '${key}'` : `at index: ${key}`;\n}\nfunction noControlsError(isFormGroup) {\n return `\n There are no form controls registered with this ${isFormGroup ? 'group' : 'array'} yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n `;\n}\nfunction missingControlError(isFormGroup, key) {\n return `Cannot find form control ${describeKey(isFormGroup, key)}`;\n}\nfunction missingControlValueError(isFormGroup, key) {\n return `Must supply a value for form control ${describeKey(isFormGroup, key)}`;\n}\n\n/**\n * Reports that a control is valid, meaning that no errors exist in the input value.\n *\n * @see `status`\n */\nconst VALID = 'VALID';\n/**\n * Reports that a control is invalid, meaning that an error exists in the input value.\n *\n * @see `status`\n */\nconst INVALID = 'INVALID';\n/**\n * Reports that a control is pending, meaning that that async validation is occurring and\n * errors are not yet available for the input value.\n *\n * @see `markAsPending`\n * @see `status`\n */\nconst PENDING = 'PENDING';\n/**\n * Reports that a control is disabled, meaning that the control is exempt from ancestor\n * calculations of validity or value.\n *\n * @see `markAsDisabled`\n * @see `status`\n */\nconst DISABLED = 'DISABLED';\n/**\n * Gets validators from either an options object or given validators.\n */\nfunction pickValidators(validatorOrOpts) {\n return (isOptionsObj(validatorOrOpts) ? validatorOrOpts.validators : validatorOrOpts) || null;\n}\n/**\n * Creates validator function by combining provided validators.\n */\nfunction coerceToValidator(validator) {\n return Array.isArray(validator) ? composeValidators(validator) : validator || null;\n}\n/**\n * Gets async validators from either an options object or given validators.\n */\nfunction pickAsyncValidators(asyncValidator, validatorOrOpts) {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (isOptionsObj(validatorOrOpts) && asyncValidator) {\n console.warn(asyncValidatorsDroppedWithOptsWarning);\n }\n }\n return (isOptionsObj(validatorOrOpts) ? validatorOrOpts.asyncValidators : asyncValidator) || null;\n}\n/**\n * Creates async validator function by combining provided async validators.\n */\nfunction coerceToAsyncValidator(asyncValidator) {\n return Array.isArray(asyncValidator) ? composeAsyncValidators(asyncValidator) :\n asyncValidator || null;\n}\nfunction isOptionsObj(validatorOrOpts) {\n return validatorOrOpts != null && !Array.isArray(validatorOrOpts) &&\n typeof validatorOrOpts === 'object';\n}\nfunction assertControlPresent(parent, isGroup, key) {\n const controls = parent.controls;\n const collection = isGroup ? Object.keys(controls) : controls;\n if (!collection.length) {\n throw new ɵRuntimeError(1000 /* RuntimeErrorCode.NO_CONTROLS */, (typeof ngDevMode === 'undefined' || ngDevMode) ? noControlsError(isGroup) : '');\n }\n if (!controls[key]) {\n throw new ɵRuntimeError(1001 /* RuntimeErrorCode.MISSING_CONTROL */, (typeof ngDevMode === 'undefined' || ngDevMode) ? missingControlError(isGroup, key) : '');\n }\n}\nfunction assertAllValuesPresent(control, isGroup, value) {\n control._forEachChild((_, key) => {\n if (value[key] === undefined) {\n throw new ɵRuntimeError(1002 /* RuntimeErrorCode.MISSING_CONTROL_VALUE */, (typeof ngDevMode === 'undefined' || ngDevMode) ? missingControlValueError(isGroup, key) :\n '');\n }\n });\n}\n// clang-format on\n/**\n * This is the base class for `FormControl`, `FormGroup`, and `FormArray`.\n *\n * It provides some of the shared behavior that all controls and groups of controls have, like\n * running validators, calculating status, and resetting state. It also defines the properties\n * that are shared between all sub-classes, like `value`, `valid`, and `dirty`. It shouldn't be\n * instantiated directly.\n *\n * The first type parameter TValue represents the value type of the control (`control.value`).\n * The optional type parameter TRawValue represents the raw value type (`control.getRawValue()`).\n *\n * @see [Forms Guide](/guide/forms)\n * @see [Reactive Forms Guide](/guide/reactive-forms)\n * @see [Dynamic Forms Guide](/guide/dynamic-form)\n *\n * @publicApi\n */\nclass AbstractControl {\n /**\n * Initialize the AbstractControl instance.\n *\n * @param validators The function or array of functions that is used to determine the validity of\n * this control synchronously.\n * @param asyncValidators The function or array of functions that is used to determine validity of\n * this control asynchronously.\n */\n constructor(validators, asyncValidators) {\n /** @internal */\n this._pendingDirty = false;\n /**\n * Indicates that a control has its own pending asynchronous validation in progress.\n *\n * @internal\n */\n this._hasOwnPendingAsyncValidator = false;\n /** @internal */\n this._pendingTouched = false;\n /** @internal */\n this._onCollectionChange = () => { };\n this._parent = null;\n /**\n * A control is `pristine` if the user has not yet changed\n * the value in the UI.\n *\n * @returns True if the user has not yet changed the value in the UI; compare `dirty`.\n * Programmatic changes to a control's value do not mark it dirty.\n */\n this.pristine = true;\n /**\n * True if the control is marked as `touched`.\n *\n * A control is marked `touched` once the user has triggered\n * a `blur` event on it.\n */\n this.touched = false;\n /** @internal */\n this._onDisabledChange = [];\n this._assignValidators(validators);\n this._assignAsyncValidators(asyncValidators);\n }\n /**\n * Returns the function that is used to determine the validity of this control synchronously.\n * If multiple validators have been added, this will be a single composed function.\n * See `Validators.compose()` for additional information.\n */\n get validator() {\n return this._composedValidatorFn;\n }\n set validator(validatorFn) {\n this._rawValidators = this._composedValidatorFn = validatorFn;\n }\n /**\n * Returns the function that is used to determine the validity of this control asynchronously.\n * If multiple validators have been added, this will be a single composed function.\n * See `Validators.compose()` for additional information.\n */\n get asyncValidator() {\n return this._composedAsyncValidatorFn;\n }\n set asyncValidator(asyncValidatorFn) {\n this._rawAsyncValidators = this._composedAsyncValidatorFn = asyncValidatorFn;\n }\n /**\n * The parent control.\n */\n get parent() {\n return this._parent;\n }\n /**\n * A control is `valid` when its `status` is `VALID`.\n *\n * @see {@link AbstractControl.status}\n *\n * @returns True if the control has passed all of its validation tests,\n * false otherwise.\n */\n get valid() {\n return this.status === VALID;\n }\n /**\n * A control is `invalid` when its `status` is `INVALID`.\n *\n * @see {@link AbstractControl.status}\n *\n * @returns True if this control has failed one or more of its validation checks,\n * false otherwise.\n */\n get invalid() {\n return this.status === INVALID;\n }\n /**\n * A control is `pending` when its `status` is `PENDING`.\n *\n * @see {@link AbstractControl.status}\n *\n * @returns True if this control is in the process of conducting a validation check,\n * false otherwise.\n */\n get pending() {\n return this.status == PENDING;\n }\n /**\n * A control is `disabled` when its `status` is `DISABLED`.\n *\n * Disabled controls are exempt from validation checks and\n * are not included in the aggregate value of their ancestor\n * controls.\n *\n * @see {@link AbstractControl.status}\n *\n * @returns True if the control is disabled, false otherwise.\n */\n get disabled() {\n return this.status === DISABLED;\n }\n /**\n * A control is `enabled` as long as its `status` is not `DISABLED`.\n *\n * @returns True if the control has any status other than 'DISABLED',\n * false if the status is 'DISABLED'.\n *\n * @see {@link AbstractControl.status}\n *\n */\n get enabled() {\n return this.status !== DISABLED;\n }\n /**\n * A control is `dirty` if the user has changed the value\n * in the UI.\n *\n * @returns True if the user has changed the value of this control in the UI; compare `pristine`.\n * Programmatic changes to a control's value do not mark it dirty.\n */\n get dirty() {\n return !this.pristine;\n }\n /**\n * True if the control has not been marked as touched\n *\n * A control is `untouched` if the user has not yet triggered\n * a `blur` event on it.\n */\n get untouched() {\n return !this.touched;\n }\n /**\n * Reports the update strategy of the `AbstractControl` (meaning\n * the event on which the control updates itself).\n * Possible values: `'change'` | `'blur'` | `'submit'`\n * Default value: `'change'`\n */\n get updateOn() {\n return this._updateOn ? this._updateOn : (this.parent ? this.parent.updateOn : 'change');\n }\n /**\n * Sets the synchronous validators that are active on this control. Calling\n * this overwrites any existing synchronous validators.\n *\n * When you add or remove a validator at run time, you must call\n * `updateValueAndValidity()` for the new validation to take effect.\n *\n * If you want to add a new validator without affecting existing ones, consider\n * using `addValidators()` method instead.\n */\n setValidators(validators) {\n this._assignValidators(validators);\n }\n /**\n * Sets the asynchronous validators that are active on this control. Calling this\n * overwrites any existing asynchronous validators.\n *\n * When you add or remove a validator at run time, you must call\n * `updateValueAndValidity()` for the new validation to take effect.\n *\n * If you want to add a new validator without affecting existing ones, consider\n * using `addAsyncValidators()` method instead.\n */\n setAsyncValidators(validators) {\n this._assignAsyncValidators(validators);\n }\n /**\n * Add a synchronous validator or validators to this control, without affecting other validators.\n *\n * When you add or remove a validator at run time, you must call\n * `updateValueAndValidity()` for the new validation to take effect.\n *\n * Adding a validator that already exists will have no effect. If duplicate validator functions\n * are present in the `validators` array, only the first instance would be added to a form\n * control.\n *\n * @param validators The new validator function or functions to add to this control.\n */\n addValidators(validators) {\n this.setValidators(addValidators(validators, this._rawValidators));\n }\n /**\n * Add an asynchronous validator or validators to this control, without affecting other\n * validators.\n *\n * When you add or remove a validator at run time, you must call\n * `updateValueAndValidity()` for the new validation to take effect.\n *\n * Adding a validator that already exists will have no effect.\n *\n * @param validators The new asynchronous validator function or functions to add to this control.\n */\n addAsyncValidators(validators) {\n this.setAsyncValidators(addValidators(validators, this._rawAsyncValidators));\n }\n /**\n * Remove a synchronous validator from this control, without affecting other validators.\n * Validators are compared by function reference; you must pass a reference to the exact same\n * validator function as the one that was originally set. If a provided validator is not found,\n * it is ignored.\n *\n * @usageNotes\n *\n * ### Reference to a ValidatorFn\n *\n * ```\n * // Reference to the RequiredValidator\n * const ctrl = new FormControl<string | null>('', Validators.required);\n * ctrl.removeValidators(Validators.required);\n *\n * // Reference to anonymous function inside MinValidator\n * const minValidator = Validators.min(3);\n * const ctrl = new FormControl<string | null>('', minValidator);\n * expect(ctrl.hasValidator(minValidator)).toEqual(true)\n * expect(ctrl.hasValidator(Validators.min(3))).toEqual(false)\n *\n * ctrl.removeValidators(minValidator);\n * ```\n *\n * When you add or remove a validator at run time, you must call\n * `updateValueAndValidity()` for the new validation to take effect.\n *\n * @param validators The validator or validators to remove.\n */\n removeValidators(validators) {\n this.setValidators(removeValidators(validators, this._rawValidators));\n }\n /**\n * Remove an asynchronous validator from this control, without affecting other validators.\n * Validators are compared by function reference; you must pass a reference to the exact same\n * validator function as the one that was originally set. If a provided validator is not found, it\n * is ignored.\n *\n * When you add or remove a validator at run time, you must call\n * `updateValueAndValidity()` for the new validation to take effect.\n *\n * @param validators The asynchronous validator or validators to remove.\n */\n removeAsyncValidators(validators) {\n this.setAsyncValidators(removeValidators(validators, this._rawAsyncValidators));\n }\n /**\n * Check whether a synchronous validator function is present on this control. The provided\n * validator must be a reference to the exact same function that was provided.\n *\n * @usageNotes\n *\n * ### Reference to a ValidatorFn\n *\n * ```\n * // Reference to the RequiredValidator\n * const ctrl = new FormControl<number | null>(0, Validators.required);\n * expect(ctrl.hasValidator(Validators.required)).toEqual(true)\n *\n * // Reference to anonymous function inside MinValidator\n * const minValidator = Validators.min(3);\n * const ctrl = new FormControl<number | null>(0, minValidator);\n * expect(ctrl.hasValidator(minValidator)).toEqual(true)\n * expect(ctrl.hasValidator(Validators.min(3))).toEqual(false)\n * ```\n *\n * @param validator The validator to check for presence. Compared by function reference.\n * @returns Whether the provided validator was found on this control.\n */\n hasValidator(validator) {\n return hasValidator(this._rawValidators, validator);\n }\n /**\n * Check whether an asynchronous validator function is present on this control. The provided\n * validator must be a reference to the exact same function that was provided.\n *\n * @param validator The asynchronous validator to check for presence. Compared by function\n * reference.\n * @returns Whether the provided asynchronous validator was found on this control.\n */\n hasAsyncValidator(validator) {\n return hasValidator(this._rawAsyncValidators, validator);\n }\n /**\n * Empties out the synchronous validator list.\n *\n * When you add or remove a validator at run time, you must call\n * `updateValueAndValidity()` for the new validation to take effect.\n *\n */\n clearValidators() {\n this.validator = null;\n }\n /**\n * Empties out the async validator list.\n *\n * When you add or remove a validator at run time, you must call\n * `updateValueAndValidity()` for the new validation to take effect.\n *\n */\n clearAsyncValidators() {\n this.asyncValidator = null;\n }\n /**\n * Marks the control as `touched`. A control is touched by focus and\n * blur events that do not change the value.\n *\n * @see `markAsUntouched()`\n * @see `markAsDirty()`\n * @see `markAsPristine()`\n *\n * @param opts Configuration options that determine how the control propagates changes\n * and emits events after marking is applied.\n * * `onlySelf`: When true, mark only this control. When false or not supplied,\n * marks all direct ancestors. Default is false.\n */\n markAsTouched(opts = {}) {\n this.touched = true;\n if (this._parent && !opts.onlySelf) {\n this._parent.markAsTouched(opts);\n }\n }\n /**\n * Marks the control and all its descendant controls as `touched`.\n * @see `markAsTouched()`\n */\n markAllAsTouched() {\n this.markAsTouched({ onlySelf: true });\n this._forEachChild((control) => control.markAllAsTouched());\n }\n /**\n * Marks the control as `untouched`.\n *\n * If the control has any children, also marks all children as `untouched`\n * and recalculates the `touched` status of all parent controls.\n *\n * @see `markAsTouched()`\n * @see `markAsDirty()`\n * @see `markAsPristine()`\n *\n * @param opts Configuration options that determine how the control propagates changes\n * and emits events after the marking is applied.\n * * `onlySelf`: When true, mark only this control. When false or not supplied,\n * marks all direct ancestors. Default is false.\n */\n markAsUntouched(opts = {}) {\n this.touched = false;\n this._pendingTouched = false;\n this._forEachChild((control) => {\n control.markAsUntouched({ onlySelf: true });\n });\n if (this._parent && !opts.onlySelf) {\n this._parent._updateTouched(opts);\n }\n }\n /**\n * Marks the control as `dirty`. A control becomes dirty when\n * the control's value is changed through the UI; compare `markAsTouched`.\n *\n * @see `markAsTouched()`\n * @see `markAsUntouched()`\n * @see `markAsPristine()`\n *\n * @param opts Configuration options that determine how the control propagates changes\n * and emits events after marking is applied.\n * * `onlySelf`: When true, mark only this control. When false or not supplied,\n * marks all direct ancestors. Default is false.\n */\n markAsDirty(opts = {}) {\n this.pristine = false;\n if (this._parent && !opts.onlySelf) {\n this._parent.markAsDirty(opts);\n }\n }\n /**\n * Marks the control as `pristine`.\n *\n * If the control has any children, marks all children as `pristine`,\n * and recalculates the `pristine` status of all parent\n * controls.\n *\n * @see `markAsTouched()`\n * @see `markAsUntouched()`\n * @see `markAsDirty()`\n *\n * @param opts Configuration options that determine how the control emits events after\n * marking is applied.\n * * `onlySelf`: When true, mark only this control. When false or not supplied,\n * marks all direct ancestors. Default is false.\n */\n markAsPristine(opts = {}) {\n this.pristine = true;\n this._pendingDirty = false;\n this._forEachChild((control) => {\n control.markAsPristine({ onlySelf: true });\n });\n if (this._parent && !opts.onlySelf) {\n this._parent._updatePristine(opts);\n }\n }\n /**\n * Marks the control as `pending`.\n *\n * A control is pending while the control performs async validation.\n *\n * @see {@link AbstractControl.status}\n *\n * @param opts Configuration options that determine how the control propagates changes and\n * emits events after marking is applied.\n * * `onlySelf`: When true, mark only this control. When false or not supplied,\n * marks all direct ancestors. Default is false.\n * * `emitEvent`: When true or not supplied (the default), the `statusChanges`\n * observable emits an event with the latest status the control is marked pending.\n * When false, no events are emitted.\n *\n */\n markAsPending(opts = {}) {\n this.status = PENDING;\n if (opts.emitEvent !== false) {\n this.statusChanges.emit(this.status);\n }\n if (this._parent && !opts.onlySelf) {\n this._parent.markAsPending(opts);\n }\n }\n /**\n * Disables the control. This means the control is exempt from validation checks and\n * excluded from the aggregate value of any parent. Its status is `DISABLED`.\n *\n * If the control has children, all children are also disabled.\n *\n * @see {@link AbstractControl.status}\n *\n * @param opts Configuration options that determine how the control propagates\n * changes and emits events after the control is disabled.\n * * `onlySelf`: When true, mark only this control. When false or not supplied,\n * marks all direct ancestors. Default is false.\n * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n * `valueChanges`\n * observables emit events with the latest status and value when the control is disabled.\n * When false, no events are emitted.\n */\n disable(opts = {}) {\n // If parent has been marked artificially dirty we don't want to re-calculate the\n // parent's dirtiness based on the children.\n const skipPristineCheck = this._parentMarkedDirty(opts.onlySelf);\n this.status = DISABLED;\n this.errors = null;\n this._forEachChild((control) => {\n control.disable({ ...opts, onlySelf: true });\n });\n this._updateValue();\n if (opts.emitEvent !== false) {\n this.valueChanges.emit(this.value);\n this.statusChanges.emit(this.status);\n }\n this._updateAncestors({ ...opts, skipPristineCheck });\n this._onDisabledChange.forEach((changeFn) => changeFn(true));\n }\n /**\n * Enables the control. This means the control is included in validation checks and\n * the aggregate value of its parent. Its status recalculates based on its value and\n * its validators.\n *\n * By default, if the control has children, all children are enabled.\n *\n * @see {@link AbstractControl.status}\n *\n * @param opts Configure options that control how the control propagates changes and\n * emits events when marked as untouched\n * * `onlySelf`: When true, mark only this control. When false or not supplied,\n * marks all direct ancestors. Default is false.\n * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n * `valueChanges`\n * observables emit events with the latest status and value when the control is enabled.\n * When false, no events are emitted.\n */\n enable(opts = {}) {\n // If parent has been marked artificially dirty we don't want to re-calculate the\n // parent's dirtiness based on the children.\n const skipPristineCheck = this._parentMarkedDirty(opts.onlySelf);\n this.status = VALID;\n this._forEachChild((control) => {\n control.enable({ ...opts, onlySelf: true });\n });\n this.updateValueAndValidity({ onlySelf: true, emitEvent: opts.emitEvent });\n this._updateAncestors({ ...opts, skipPristineCheck });\n this._onDisabledChange.forEach((changeFn) => changeFn(false));\n }\n _updateAncestors(opts) {\n if (this._parent && !opts.onlySelf) {\n this._parent.updateValueAndValidity(opts);\n if (!opts.skipPristineCheck) {\n this._parent._updatePristine();\n }\n this._parent._updateTouched();\n }\n }\n /**\n * Sets the parent of the control\n *\n * @param parent The new parent.\n */\n setParent(parent) {\n this._parent = parent;\n }\n /**\n * The raw value of this control. For most control implementations, the raw value will include\n * disabled children.\n */\n getRawValue() {\n return this.value;\n }\n /**\n * Recalculates the value and validation status of the control.\n *\n * By default, it also updates the value and validity of its ancestors.\n *\n * @param opts Configuration options determine how the control propagates changes and emits events\n * after updates and validity checks are applied.\n * * `onlySelf`: When true, only update this control. When false or not supplied,\n * update all direct ancestors. Default is false.\n * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n * `valueChanges`\n * observables emit events with the latest status and value when the control is updated.\n * When false, no events are emitted.\n */\n updateValueAndValidity(opts = {}) {\n this._setInitialStatus();\n this._updateValue();\n if (this.enabled) {\n this._cancelExistingSubscription();\n this.errors = this._runValidator();\n this.status = this._calculateStatus();\n if (this.status === VALID || this.status === PENDING) {\n this._runAsyncValidator(opts.emitEvent);\n }\n }\n if (opts.emitEvent !== false) {\n this.valueChanges.emit(this.value);\n this.statusChanges.emit(this.status);\n }\n if (this._parent && !opts.onlySelf) {\n this._parent.updateValueAndValidity(opts);\n }\n }\n /** @internal */\n _updateTreeValidity(opts = { emitEvent: true }) {\n this._forEachChild((ctrl) => ctrl._updateTreeValidity(opts));\n this.updateValueAndValidity({ onlySelf: true, emitEvent: opts.emitEvent });\n }\n _setInitialStatus() {\n this.status = this._allControlsDisabled() ? DISABLED : VALID;\n }\n _runValidator() {\n return this.validator ? this.validator(this) : null;\n }\n _runAsyncValidator(emitEvent) {\n if (this.asyncValidator) {\n this.status = PENDING;\n this._hasOwnPendingAsyncValidator = true;\n const obs = toObservable(this.asyncValidator(this));\n this._asyncValidationSubscription = obs.subscribe((errors) => {\n this._hasOwnPendingAsyncValidator = false;\n // This will trigger the recalculation of the validation status, which depends on\n // the state of the asynchronous validation (whether it is in progress or not). So, it is\n // necessary that we have updated the `_hasOwnPendingAsyncValidator` boolean flag first.\n this.setErrors(errors, { emitEvent });\n });\n }\n }\n _cancelExistingSubscription() {\n if (this._asyncValidationSubscription) {\n this._asyncValidationSubscription.unsubscribe();\n this._hasOwnPendingAsyncValidator = false;\n }\n }\n /**\n * Sets errors on a form control when running validations manually, rather than automatically.\n *\n * Calling `setErrors` also updates the validity of the parent control.\n *\n * @param opts Configuration options that determine how the control propagates\n * changes and emits events after the control errors are set.\n * * `emitEvent`: When true or not supplied (the default), the `statusChanges`\n * observable emits an event after the errors are set.\n *\n * @usageNotes\n *\n * ### Manually set the errors for a control\n *\n * ```\n * const login = new FormControl('someLogin');\n * login.setErrors({\n * notUnique: true\n * });\n *\n * expect(login.valid).toEqual(false);\n * expect(login.errors).toEqual({ notUnique: true });\n *\n * login.setValue('someOtherLogin');\n *\n * expect(login.valid).toEqual(true);\n * ```\n */\n setErrors(errors, opts = {}) {\n this.errors = errors;\n this._updateControlsErrors(opts.emitEvent !== false);\n }\n /**\n * Retrieves a child control given the control's name or path.\n *\n * @param path A dot-delimited string or array of string/number values that define the path to the\n * control. If a string is provided, passing it as a string literal will result in improved type\n * information. Likewise, if an array is provided, passing it `as const` will cause improved type\n * information to be available.\n *\n * @usageNotes\n * ### Retrieve a nested control\n *\n * For example, to get a `name` control nested within a `person` sub-group:\n *\n * * `this.form.get('person.name');`\n *\n * -OR-\n *\n * * `this.form.get(['person', 'name'] as const);` // `as const` gives improved typings\n *\n * ### Retrieve a control in a FormArray\n *\n * When accessing an element inside a FormArray, you can use an element index.\n * For example, to get a `price` control from the first element in an `items` array you can use:\n *\n * * `this.form.get('items.0.price');`\n *\n * -OR-\n *\n * * `this.form.get(['items', 0, 'price']);`\n */\n get(path) {\n let currPath = path;\n if (currPath == null)\n return null;\n if (!Array.isArray(currPath))\n currPath = currPath.split('.');\n if (currPath.length === 0)\n return null;\n return currPath.reduce((control, name) => control && control._find(name), this);\n }\n /**\n * @description\n * Reports error data for the control with the given path.\n *\n * @param errorCode The code of the error to check\n * @param path A list of control names that designates how to move from the current control\n * to the control that should be queried for errors.\n *\n * @usageNotes\n * For example, for the following `FormGroup`:\n *\n * ```\n * form = new FormGroup({\n * address: new FormGroup({ street: new FormControl() })\n * });\n * ```\n *\n * The path to the 'street' control from the root form would be 'address' -> 'street'.\n *\n * It can be provided to this method in one of two formats:\n *\n * 1. An array of string control names, e.g. `['address', 'street']`\n * 1. A period-delimited list of control names in one string, e.g. `'address.street'`\n *\n * @returns error data for that particular error. If the control or error is not present,\n * null is returned.\n */\n getError(errorCode, path) {\n const control = path ? this.get(path) : this;\n return control && control.errors ? control.errors[errorCode] : null;\n }\n /**\n * @description\n * Reports whether the control with the given path has the error specified.\n *\n * @param errorCode The code of the error to check\n * @param path A list of control names that designates how to move from the current control\n * to the control that should be queried for errors.\n *\n * @usageNotes\n * For example, for the following `FormGroup`:\n *\n * ```\n * form = new FormGroup({\n * address: new FormGroup({ street: new FormControl() })\n * });\n * ```\n *\n * The path to the 'street' control from the root form would be 'address' -> 'street'.\n *\n * It can be provided to this method in one of two formats:\n *\n * 1. An array of string control names, e.g. `['address', 'street']`\n * 1. A period-delimited list of control names in one string, e.g. `'address.street'`\n *\n * If no path is given, this method checks for the error on the current control.\n *\n * @returns whether the given error is present in the control at the given path.\n *\n * If the control is not present, false is returned.\n */\n hasError(errorCode, path) {\n return !!this.getError(errorCode, path);\n }\n /**\n * Retrieves the top-level ancestor of this control.\n */\n get root() {\n let x = this;\n while (x._parent) {\n x = x._parent;\n }\n return x;\n }\n /** @internal */\n _updateControlsErrors(emitEvent) {\n this.status = this._calculateStatus();\n if (emitEvent) {\n this.statusChanges.emit(this.status);\n }\n if (this._parent) {\n this._parent._updateControlsErrors(emitEvent);\n }\n }\n /** @internal */\n _initObservables() {\n this.valueChanges = new EventEmitter();\n this.statusChanges = new EventEmitter();\n }\n _calculateStatus() {\n if (this._allControlsDisabled())\n return DISABLED;\n if (this.errors)\n return INVALID;\n if (this._hasOwnPendingAsyncValidator || this._anyControlsHaveStatus(PENDING))\n return PENDING;\n if (this._anyControlsHaveStatus(INVALID))\n return INVALID;\n return VALID;\n }\n /** @internal */\n _anyControlsHaveStatus(status) {\n return this._anyControls((control) => control.status === status);\n }\n /** @internal */\n _anyControlsDirty() {\n return this._anyControls((control) => control.dirty);\n }\n /** @internal */\n _anyControlsTouched() {\n return this._anyControls((control) => control.touched);\n }\n /** @internal */\n _updatePristine(opts = {}) {\n this.pristine = !this._anyControlsDirty();\n if (this._parent && !opts.onlySelf) {\n this._parent._updatePristine(opts);\n }\n }\n /** @internal */\n _updateTouched(opts = {}) {\n this.touched = this._anyControlsTouched();\n if (this._parent && !opts.onlySelf) {\n this._parent._updateTouched(opts);\n }\n }\n /** @internal */\n _registerOnCollectionChange(fn) {\n this._onCollectionChange = fn;\n }\n /** @internal */\n _setUpdateStrategy(opts) {\n if (isOptionsObj(opts) && opts.updateOn != null) {\n this._updateOn = opts.updateOn;\n }\n }\n /**\n * Check to see if parent has been marked artificially dirty.\n *\n * @internal\n */\n _parentMarkedDirty(onlySelf) {\n const parentDirty = this._parent && this._parent.dirty;\n return !onlySelf && !!parentDirty && !this._parent._anyControlsDirty();\n }\n /** @internal */\n _find(name) {\n return null;\n }\n /**\n * Internal implementation of the `setValidators` method. Needs to be separated out into a\n * different method, because it is called in the constructor and it can break cases where\n * a control is extended.\n */\n _assignValidators(validators) {\n this._rawValidators = Array.isArray(validators) ? validators.slice() : validators;\n this._composedValidatorFn = coerceToValidator(this._rawValidators);\n }\n /**\n * Internal implementation of the `setAsyncValidators` method. Needs to be separated out into a\n * different method, because it is called in the constructor and it can break cases where\n * a control is extended.\n */\n _assignAsyncValidators(validators) {\n this._rawAsyncValidators = Array.isArray(validators) ? validators.slice() : validators;\n this._composedAsyncValidatorFn = coerceToAsyncValidator(this._rawAsyncValidators);\n }\n}\n\n/**\n * Tracks the value and validity state of a group of `FormControl` instances.\n *\n * A `FormGroup` aggregates the values of each child `FormControl` into one object,\n * with each control name as the key. It calculates its status by reducing the status values\n * of its children. For example, if one of the controls in a group is invalid, the entire\n * group becomes invalid.\n *\n * `FormGroup` is one of the four fundamental building blocks used to define forms in Angular,\n * along with `FormControl`, `FormArray`, and `FormRecord`.\n *\n * When instantiating a `FormGroup`, pass in a collection of child controls as the first\n * argument. The key for each child registers the name for the control.\n *\n * `FormGroup` is intended for use cases where the keys are known ahead of time.\n * If you need to dynamically add and remove controls, use {@link FormRecord} instead.\n *\n * `FormGroup` accepts an optional type parameter `TControl`, which is an object type with inner\n * control types as values.\n *\n * @usageNotes\n *\n * ### Create a form group with 2 controls\n *\n * ```\n * const form = new FormGroup({\n * first: new FormControl('Nancy', Validators.minLength(2)),\n * last: new FormControl('Drew'),\n * });\n *\n * console.log(form.value); // {first: 'Nancy', last; 'Drew'}\n * console.log(form.status); // 'VALID'\n * ```\n *\n * ### The type argument, and optional controls\n *\n * `FormGroup` accepts one generic argument, which is an object containing its inner controls.\n * This type will usually be inferred automatically, but you can always specify it explicitly if you\n * wish.\n *\n * If you have controls that are optional (i.e. they can be removed, you can use the `?` in the\n * type):\n *\n * ```\n * const form = new FormGroup<{\n * first: FormControl<string|null>,\n * middle?: FormControl<string|null>, // Middle name is optional.\n * last: FormControl<string|null>,\n * }>({\n * first: new FormControl('Nancy'),\n * last: new FormControl('Drew'),\n * });\n * ```\n *\n * ### Create a form group with a group-level validator\n *\n * You include group-level validators as the second arg, or group-level async\n * validators as the third arg. These come in handy when you want to perform validation\n * that considers the value of more than one child control.\n *\n * ```\n * const form = new FormGroup({\n * password: new FormControl('', Validators.minLength(2)),\n * passwordConfirm: new FormControl('', Validators.minLength(2)),\n * }, passwordMatchValidator);\n *\n *\n * function passwordMatchValidator(g: FormGroup) {\n * return g.get('password').value === g.get('passwordConfirm').value\n * ? null : {'mismatch': true};\n * }\n * ```\n *\n * Like `FormControl` instances, you choose to pass in\n * validators and async validators as part of an options object.\n *\n * ```\n * const form = new FormGroup({\n * password: new FormControl('')\n * passwordConfirm: new FormControl('')\n * }, { validators: passwordMatchValidator, asyncValidators: otherValidator });\n * ```\n *\n * ### Set the updateOn property for all controls in a form group\n *\n * The options object is used to set a default value for each child\n * control's `updateOn` property. If you set `updateOn` to `'blur'` at the\n * group level, all child controls default to 'blur', unless the child\n * has explicitly specified a different `updateOn` value.\n *\n * ```ts\n * const c = new FormGroup({\n * one: new FormControl()\n * }, { updateOn: 'blur' });\n * ```\n *\n * ### Using a FormGroup with optional controls\n *\n * It is possible to have optional controls in a FormGroup. An optional control can be removed later\n * using `removeControl`, and can be omitted when calling `reset`. Optional controls must be\n * declared optional in the group's type.\n *\n * ```ts\n * const c = new FormGroup<{one?: FormControl<string>}>({\n * one: new FormControl('')\n * });\n * ```\n *\n * Notice that `c.value.one` has type `string|null|undefined`. This is because calling `c.reset({})`\n * without providing the optional key `one` will cause it to become `null`.\n *\n * @publicApi\n */\nclass FormGroup extends AbstractControl {\n /**\n * Creates a new `FormGroup` instance.\n *\n * @param controls A collection of child controls. The key for each child is the name\n * under which it is registered.\n *\n * @param validatorOrOpts A synchronous validator function, or an array of\n * such functions, or an `AbstractControlOptions` object that contains validation functions\n * and a validation trigger.\n *\n * @param asyncValidator A single async validator or array of async validator functions\n *\n */\n constructor(controls, validatorOrOpts, asyncValidator) {\n super(pickValidators(validatorOrOpts), pickAsyncValidators(asyncValidator, validatorOrOpts));\n this.controls = controls;\n this._initObservables();\n this._setUpdateStrategy(validatorOrOpts);\n this._setUpControls();\n this.updateValueAndValidity({\n onlySelf: true,\n // If `asyncValidator` is present, it will trigger control status change from `PENDING` to\n // `VALID` or `INVALID`. The status should be broadcasted via the `statusChanges` observable,\n // so we set `emitEvent` to `true` to allow that during the control creation process.\n emitEvent: !!this.asyncValidator\n });\n }\n registerControl(name, control) {\n if (this.controls[name])\n return this.controls[name];\n this.controls[name] = control;\n control.setParent(this);\n control._registerOnCollectionChange(this._onCollectionChange);\n return control;\n }\n addControl(name, control, options = {}) {\n this.registerControl(name, control);\n this.updateValueAndValidity({ emitEvent: options.emitEvent });\n this._onCollectionChange();\n }\n /**\n * Remove a control from this group. In a strongly-typed group, required controls cannot be\n * removed.\n *\n * This method also updates the value and validity of the control.\n *\n * @param name The control name to remove from the collection\n * @param options Specifies whether this FormGroup instance should emit events after a\n * control is removed.\n * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n * `valueChanges` observables emit events with the latest status and value when the control is\n * removed. When false, no events are emitted.\n */\n removeControl(name, options = {}) {\n if (this.controls[name])\n this.controls[name]._registerOnCollectionChange(() => { });\n delete (this.controls[name]);\n this.updateValueAndValidity({ emitEvent: options.emitEvent });\n this._onCollectionChange();\n }\n setControl(name, control, options = {}) {\n if (this.controls[name])\n this.controls[name]._registerOnCollectionChange(() => { });\n delete (this.controls[name]);\n if (control)\n this.registerControl(name, control);\n this.updateValueAndValidity({ emitEvent: options.emitEvent });\n this._onCollectionChange();\n }\n contains(controlName) {\n return this.controls.hasOwnProperty(controlName) && this.controls[controlName].enabled;\n }\n /**\n * Sets the value of the `FormGroup`. It accepts an object that matches\n * the structure of the group, with control names as keys.\n *\n * @usageNotes\n * ### Set the complete value for the form group\n *\n * ```\n * const form = new FormGroup({\n * first: new FormControl(),\n * last: new FormControl()\n * });\n *\n * console.log(form.value); // {first: null, last: null}\n *\n * form.setValue({first: 'Nancy', last: 'Drew'});\n * console.log(form.value); // {first: 'Nancy', last: 'Drew'}\n * ```\n *\n * @throws When strict checks fail, such as setting the value of a control\n * that doesn't exist or if you exclude a value of a control that does exist.\n *\n * @param value The new value for the control that matches the structure of the group.\n * @param options Configuration options that determine how the control propagates changes\n * and emits events after the value changes.\n * The configuration options are passed to the {@link AbstractControl#updateValueAndValidity\n * updateValueAndValidity} method.\n *\n * * `onlySelf`: When true, each change only affects this control, and not its parent. Default is\n * false.\n * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n * `valueChanges`\n * observables emit events with the latest status and value when the control value is updated.\n * When false, no events are emitted.\n */\n setValue(value, options = {}) {\n assertAllValuesPresent(this, true, value);\n Object.keys(value).forEach(name => {\n assertControlPresent(this, true, name);\n this.controls[name].setValue(value[name], { onlySelf: true, emitEvent: options.emitEvent });\n });\n this.updateValueAndValidity(options);\n }\n /**\n * Patches the value of the `FormGroup`. It accepts an object with control\n * names as keys, and does its best to match the values to the correct controls\n * in the group.\n *\n * It accepts both super-sets and sub-sets of the group without throwing an error.\n *\n * @usageNotes\n * ### Patch the value for a form group\n *\n * ```\n * const form = new FormGroup({\n * first: new FormControl(),\n * last: new FormControl()\n * });\n * console.log(form.value); // {first: null, last: null}\n *\n * form.patchValue({first: 'Nancy'});\n * console.log(form.value); // {first: 'Nancy', last: null}\n * ```\n *\n * @param value The object that matches the structure of the group.\n * @param options Configuration options that determine how the control propagates changes and\n * emits events after the value is patched.\n * * `onlySelf`: When true, each change only affects this control and not its parent. Default is\n * true.\n * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n * `valueChanges` observables emit events with the latest status and value when the control value\n * is updated. When false, no events are emitted. The configuration options are passed to\n * the {@link AbstractControl#updateValueAndValidity updateValueAndValidity} method.\n */\n patchValue(value, options = {}) {\n // Even though the `value` argument type doesn't allow `null` and `undefined` values, the\n // `patchValue` can be called recursively and inner data structures might have these values, so\n // we just ignore such cases when a field containing FormGroup instance receives `null` or\n // `undefined` as a value.\n if (value == null /* both `null` and `undefined` */)\n return;\n Object.keys(value).forEach(name => {\n // The compiler cannot see through the uninstantiated conditional type of `this.controls`, so\n // `as any` is required.\n const control = this.controls[name];\n if (control) {\n control.patchValue(\n /* Guaranteed to be present, due to the outer forEach. */ value[name], { onlySelf: true, emitEvent: options.emitEvent });\n }\n });\n this.updateValueAndValidity(options);\n }\n /**\n * Resets the `FormGroup`, marks all descendants `pristine` and `untouched` and sets\n * the value of all descendants to their default values, or null if no defaults were provided.\n *\n * You reset to a specific form state by passing in a map of states\n * that matches the structure of your form, with control names as keys. The state\n * is a standalone value or a form state object with both a value and a disabled\n * status.\n *\n * @param value Resets the control with an initial value,\n * or an object that defines the initial value and disabled state.\n *\n * @param options Configuration options that determine how the control propagates changes\n * and emits events when the group is reset.\n * * `onlySelf`: When true, each change only affects this control, and not its parent. Default is\n * false.\n * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n * `valueChanges`\n * observables emit events with the latest status and value when the control is reset.\n * When false, no events are emitted.\n * The configuration options are passed to the {@link AbstractControl#updateValueAndValidity\n * updateValueAndValidity} method.\n *\n * @usageNotes\n *\n * ### Reset the form group values\n *\n * ```ts\n * const form = new FormGroup({\n * first: new FormControl('first name'),\n * last: new FormControl('last name')\n * });\n *\n * console.log(form.value); // {first: 'first name', last: 'last name'}\n *\n * form.reset({ first: 'name', last: 'last name' });\n *\n * console.log(form.value); // {first: 'name', last: 'last name'}\n * ```\n *\n * ### Reset the form group values and disabled status\n *\n * ```\n * const form = new FormGroup({\n * first: new FormControl('first name'),\n * last: new FormControl('last name')\n * });\n *\n * form.reset({\n * first: {value: 'name', disabled: true},\n * last: 'last'\n * });\n *\n * console.log(form.value); // {last: 'last'}\n * console.log(form.get('first').status); // 'DISABLED'\n * ```\n */\n reset(value = {}, options = {}) {\n this._forEachChild((control, name) => {\n control.reset(value[name], { onlySelf: true, emitEvent: options.emitEvent });\n });\n this._updatePristine(options);\n this._updateTouched(options);\n this.updateValueAndValidity(options);\n }\n /**\n * The aggregate value of the `FormGroup`, including any disabled controls.\n *\n * Retrieves all values regardless of disabled status.\n */\n getRawValue() {\n return this._reduceChildren({}, (acc, control, name) => {\n acc[name] = control.getRawValue();\n return acc;\n });\n }\n /** @internal */\n _syncPendingControls() {\n let subtreeUpdated = this._reduceChildren(false, (updated, child) => {\n return child._syncPendingControls() ? true : updated;\n });\n if (subtreeUpdated)\n this.updateValueAndValidity({ onlySelf: true });\n return subtreeUpdated;\n }\n /** @internal */\n _forEachChild(cb) {\n Object.keys(this.controls).forEach(key => {\n // The list of controls can change (for ex. controls might be removed) while the loop\n // is running (as a result of invoking Forms API in `valueChanges` subscription), so we\n // have to null check before invoking the callback.\n const control = this.controls[key];\n control && cb(control, key);\n });\n }\n /** @internal */\n _setUpControls() {\n this._forEachChild((control) => {\n control.setParent(this);\n control._registerOnCollectionChange(this._onCollectionChange);\n });\n }\n /** @internal */\n _updateValue() {\n this.value = this._reduceValue();\n }\n /** @internal */\n _anyControls(condition) {\n for (const [controlName, control] of Object.entries(this.controls)) {\n if (this.contains(controlName) && condition(control)) {\n return true;\n }\n }\n return false;\n }\n /** @internal */\n _reduceValue() {\n let acc = {};\n return this._reduceChildren(acc, (acc, control, name) => {\n if (control.enabled || this.disabled) {\n acc[name] = control.value;\n }\n return acc;\n });\n }\n /** @internal */\n _reduceChildren(initValue, fn) {\n let res = initValue;\n this._forEachChild((control, name) => {\n res = fn(res, control, name);\n });\n return res;\n }\n /** @internal */\n _allControlsDisabled() {\n for (const controlName of Object.keys(this.controls)) {\n if (this.controls[controlName].enabled) {\n return false;\n }\n }\n return Object.keys(this.controls).length > 0 || this.disabled;\n }\n /** @internal */\n _find(name) {\n return this.controls.hasOwnProperty(name) ?\n this.controls[name] :\n null;\n }\n}\nconst UntypedFormGroup = FormGroup;\n/**\n * @description\n * Asserts that the given control is an instance of `FormGroup`\n *\n * @publicApi\n */\nconst isFormGroup = (control) => control instanceof FormGroup;\n/**\n * Tracks the value and validity state of a collection of `FormControl` instances, each of which has\n * the same value type.\n *\n * `FormRecord` is very similar to {@link FormGroup}, except it can be used with a dynamic keys,\n * with controls added and removed as needed.\n *\n * `FormRecord` accepts one generic argument, which describes the type of the controls it contains.\n *\n * @usageNotes\n *\n * ```\n * let numbers = new FormRecord({bill: new FormControl('415-123-456')});\n * numbers.addControl('bob', new FormControl('415-234-567'));\n * numbers.removeControl('bill');\n * ```\n *\n * @publicApi\n */\nclass FormRecord extends FormGroup {\n}\n/**\n * @description\n * Asserts that the given control is an instance of `FormRecord`\n *\n * @publicApi\n */\nconst isFormRecord = (control) => control instanceof FormRecord;\n\n/**\n * Token to provide to allow SetDisabledState to always be called when a CVA is added, regardless of\n * whether the control is disabled or enabled.\n *\n * @see `FormsModule.withConfig`\n */\nconst CALL_SET_DISABLED_STATE = new InjectionToken('CallSetDisabledState', { providedIn: 'root', factory: () => setDisabledStateDefault });\n/**\n * Whether to use the fixed setDisabledState behavior by default.\n */\nconst setDisabledStateDefault = 'always';\nfunction controlPath(name, parent) {\n return [...parent.path, name];\n}\n/**\n * Links a Form control and a Form directive by setting up callbacks (such as `onChange`) on both\n * instances. This function is typically invoked when form directive is being initialized.\n *\n * @param control Form control instance that should be linked.\n * @param dir Directive that should be linked with a given control.\n */\nfunction setUpControl(control, dir, callSetDisabledState = setDisabledStateDefault) {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!control)\n _throwError(dir, 'Cannot find control with');\n if (!dir.valueAccessor)\n _throwMissingValueAccessorError(dir);\n }\n setUpValidators(control, dir);\n dir.valueAccessor.writeValue(control.value);\n // The legacy behavior only calls the CVA's `setDisabledState` if the control is disabled.\n // If the `callSetDisabledState` option is set to `always`, then this bug is fixed and\n // the method is always called.\n if (control.disabled || callSetDisabledState === 'always') {\n dir.valueAccessor.setDisabledState?.(control.disabled);\n }\n setUpViewChangePipeline(control, dir);\n setUpModelChangePipeline(control, dir);\n setUpBlurPipeline(control, dir);\n setUpDisabledChangeHandler(control, dir);\n}\n/**\n * Reverts configuration performed by the `setUpControl` control function.\n * Effectively disconnects form control with a given form directive.\n * This function is typically invoked when corresponding form directive is being destroyed.\n *\n * @param control Form control which should be cleaned up.\n * @param dir Directive that should be disconnected from a given control.\n * @param validateControlPresenceOnChange Flag that indicates whether onChange handler should\n * contain asserts to verify that it's not called once directive is destroyed. We need this flag\n * to avoid potentially breaking changes caused by better control cleanup introduced in #39235.\n */\nfunction cleanUpControl(control, dir, validateControlPresenceOnChange = true) {\n const noop = () => {\n if (validateControlPresenceOnChange && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n _noControlError(dir);\n }\n };\n // The `valueAccessor` field is typically defined on FromControl and FormControlName directive\n // instances and there is a logic in `selectValueAccessor` function that throws if it's not the\n // case. We still check the presence of `valueAccessor` before invoking its methods to make sure\n // that cleanup works correctly if app code or tests are setup to ignore the error thrown from\n // `selectValueAccessor`. See https://github.com/angular/angular/issues/40521.\n if (dir.valueAccessor) {\n dir.valueAccessor.registerOnChange(noop);\n dir.valueAccessor.registerOnTouched(noop);\n }\n cleanUpValidators(control, dir);\n if (control) {\n dir._invokeOnDestroyCallbacks();\n control._registerOnCollectionChange(() => { });\n }\n}\nfunction registerOnValidatorChange(validators, onChange) {\n validators.forEach((validator) => {\n if (validator.registerOnValidatorChange)\n validator.registerOnValidatorChange(onChange);\n });\n}\n/**\n * Sets up disabled change handler function on a given form control if ControlValueAccessor\n * associated with a given directive instance supports the `setDisabledState` call.\n *\n * @param control Form control where disabled change handler should be setup.\n * @param dir Corresponding directive instance associated with this control.\n */\nfunction setUpDisabledChangeHandler(control, dir) {\n if (dir.valueAccessor.setDisabledState) {\n const onDisabledChange = (isDisabled) => {\n dir.valueAccessor.setDisabledState(isDisabled);\n };\n control.registerOnDisabledChange(onDisabledChange);\n // Register a callback function to cleanup disabled change handler\n // from a control instance when a directive is destroyed.\n dir._registerOnDestroy(() => {\n control._unregisterOnDisabledChange(onDisabledChange);\n });\n }\n}\n/**\n * Sets up sync and async directive validators on provided form control.\n * This function merges validators from the directive into the validators of the control.\n *\n * @param control Form control where directive validators should be setup.\n * @param dir Directive instance that contains validators to be setup.\n */\nfunction setUpValidators(control, dir) {\n const validators = getControlValidators(control);\n if (dir.validator !== null) {\n control.setValidators(mergeValidators(validators, dir.validator));\n }\n else if (typeof validators === 'function') {\n // If sync validators are represented by a single validator function, we force the\n // `Validators.compose` call to happen by executing the `setValidators` function with\n // an array that contains that function. We need this to avoid possible discrepancies in\n // validators behavior, so sync validators are always processed by the `Validators.compose`.\n // Note: we should consider moving this logic inside the `setValidators` function itself, so we\n // have consistent behavior on AbstractControl API level. The same applies to the async\n // validators logic below.\n control.setValidators([validators]);\n }\n const asyncValidators = getControlAsyncValidators(control);\n if (dir.asyncValidator !== null) {\n control.setAsyncValidators(mergeValidators(asyncValidators, dir.asyncValidator));\n }\n else if (typeof asyncValidators === 'function') {\n control.setAsyncValidators([asyncValidators]);\n }\n // Re-run validation when validator binding changes, e.g. minlength=3 -> minlength=4\n const onValidatorChange = () => control.updateValueAndValidity();\n registerOnValidatorChange(dir._rawValidators, onValidatorChange);\n registerOnValidatorChange(dir._rawAsyncValidators, onValidatorChange);\n}\n/**\n * Cleans up sync and async directive validators on provided form control.\n * This function reverts the setup performed by the `setUpValidators` function, i.e.\n * removes directive-specific validators from a given control instance.\n *\n * @param control Form control from where directive validators should be removed.\n * @param dir Directive instance that contains validators to be removed.\n * @returns true if a control was updated as a result of this action.\n */\nfunction cleanUpValidators(control, dir) {\n let isControlUpdated = false;\n if (control !== null) {\n if (dir.validator !== null) {\n const validators = getControlValidators(control);\n if (Array.isArray(validators) && validators.length > 0) {\n // Filter out directive validator function.\n const updatedValidators = validators.filter((validator) => validator !== dir.validator);\n if (updatedValidators.length !== validators.length) {\n isControlUpdated = true;\n control.setValidators(updatedValidators);\n }\n }\n }\n if (dir.asyncValidator !== null) {\n const asyncValidators = getControlAsyncValidators(control);\n if (Array.isArray(asyncValidators) && asyncValidators.length > 0) {\n // Filter out directive async validator function.\n const updatedAsyncValidators = asyncValidators.filter((asyncValidator) => asyncValidator !== dir.asyncValidator);\n if (updatedAsyncValidators.length !== asyncValidators.length) {\n isControlUpdated = true;\n control.setAsyncValidators(updatedAsyncValidators);\n }\n }\n }\n }\n // Clear onValidatorChange callbacks by providing a noop function.\n const noop = () => { };\n registerOnValidatorChange(dir._rawValidators, noop);\n registerOnValidatorChange(dir._rawAsyncValidators, noop);\n return isControlUpdated;\n}\nfunction setUpViewChangePipeline(control, dir) {\n dir.valueAccessor.registerOnChange((newValue) => {\n control._pendingValue = newValue;\n control._pendingChange = true;\n control._pendingDirty = true;\n if (control.updateOn === 'change')\n updateControl(control, dir);\n });\n}\nfunction setUpBlurPipeline(control, dir) {\n dir.valueAccessor.registerOnTouched(() => {\n control._pendingTouched = true;\n if (control.updateOn === 'blur' && control._pendingChange)\n updateControl(control, dir);\n if (control.updateOn !== 'submit')\n control.markAsTouched();\n });\n}\nfunction updateControl(control, dir) {\n if (control._pendingDirty)\n control.markAsDirty();\n control.setValue(control._pendingValue, { emitModelToViewChange: false });\n dir.viewToModelUpdate(control._pendingValue);\n control._pendingChange = false;\n}\nfunction setUpModelChangePipeline(control, dir) {\n const onChange = (newValue, emitModelEvent) => {\n // control -> view\n dir.valueAccessor.writeValue(newValue);\n // control -> ngModel\n if (emitModelEvent)\n dir.viewToModelUpdate(newValue);\n };\n control.registerOnChange(onChange);\n // Register a callback function to cleanup onChange handler\n // from a control instance when a directive is destroyed.\n dir._registerOnDestroy(() => {\n control._unregisterOnChange(onChange);\n });\n}\n/**\n * Links a FormGroup or FormArray instance and corresponding Form directive by setting up validators\n * present in the view.\n *\n * @param control FormGroup or FormArray instance that should be linked.\n * @param dir Directive that provides view validators.\n */\nfunction setUpFormContainer(control, dir) {\n if (control == null && (typeof ngDevMode === 'undefined' || ngDevMode))\n _throwError(dir, 'Cannot find control with');\n setUpValidators(control, dir);\n}\n/**\n * Reverts the setup performed by the `setUpFormContainer` function.\n *\n * @param control FormGroup or FormArray instance that should be cleaned up.\n * @param dir Directive that provided view validators.\n * @returns true if a control was updated as a result of this action.\n */\nfunction cleanUpFormContainer(control, dir) {\n return cleanUpValidators(control, dir);\n}\nfunction _noControlError(dir) {\n return _throwError(dir, 'There is no FormControl instance attached to form control element with');\n}\nfunction _throwError(dir, message) {\n const messageEnd = _describeControlLocation(dir);\n throw new Error(`${message} ${messageEnd}`);\n}\nfunction _describeControlLocation(dir) {\n const path = dir.path;\n if (path && path.length > 1)\n return `path: '${path.join(' -> ')}'`;\n if (path?.[0])\n return `name: '${path}'`;\n return 'unspecified name attribute';\n}\nfunction _throwMissingValueAccessorError(dir) {\n const loc = _describeControlLocation(dir);\n throw new ɵRuntimeError(-1203 /* RuntimeErrorCode.NG_MISSING_VALUE_ACCESSOR */, `No value accessor for form control ${loc}.`);\n}\nfunction _throwInvalidValueAccessorError(dir) {\n const loc = _describeControlLocation(dir);\n throw new ɵRuntimeError(1200 /* RuntimeErrorCode.NG_VALUE_ACCESSOR_NOT_PROVIDED */, `Value accessor was not provided as an array for form control with ${loc}. ` +\n `Check that the \\`NG_VALUE_ACCESSOR\\` token is configured as a \\`multi: true\\` provider.`);\n}\nfunction isPropertyUpdated(changes, viewModel) {\n if (!changes.hasOwnProperty('model'))\n return false;\n const change = changes['model'];\n if (change.isFirstChange())\n return true;\n return !Object.is(viewModel, change.currentValue);\n}\nfunction isBuiltInAccessor(valueAccessor) {\n // Check if a given value accessor is an instance of a class that directly extends\n // `BuiltInControlValueAccessor` one.\n return Object.getPrototypeOf(valueAccessor.constructor) === BuiltInControlValueAccessor;\n}\nfunction syncPendingControls(form, directives) {\n form._syncPendingControls();\n directives.forEach((dir) => {\n const control = dir.control;\n if (control.updateOn === 'submit' && control._pendingChange) {\n dir.viewToModelUpdate(control._pendingValue);\n control._pendingChange = false;\n }\n });\n}\n// TODO: vsavkin remove it once https://github.com/angular/angular/issues/3011 is implemented\nfunction selectValueAccessor(dir, valueAccessors) {\n if (!valueAccessors)\n return null;\n if (!Array.isArray(valueAccessors) && (typeof ngDevMode === 'undefined' || ngDevMode))\n _throwInvalidValueAccessorError(dir);\n let defaultAccessor = undefined;\n let builtinAccessor = undefined;\n let customAccessor = undefined;\n valueAccessors.forEach((v) => {\n if (v.constructor === DefaultValueAccessor) {\n defaultAccessor = v;\n }\n else if (isBuiltInAccessor(v)) {\n if (builtinAccessor && (typeof ngDevMode === 'undefined' || ngDevMode))\n _throwError(dir, 'More than one built-in value accessor matches form control with');\n builtinAccessor = v;\n }\n else {\n if (customAccessor && (typeof ngDevMode === 'undefined' || ngDevMode))\n _throwError(dir, 'More than one custom value accessor matches form control with');\n customAccessor = v;\n }\n });\n if (customAccessor)\n return customAccessor;\n if (builtinAccessor)\n return builtinAccessor;\n if (defaultAccessor)\n return defaultAccessor;\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n _throwError(dir, 'No valid value accessor for form control with');\n }\n return null;\n}\nfunction removeListItem$1(list, el) {\n const index = list.indexOf(el);\n if (index > -1)\n list.splice(index, 1);\n}\n// TODO(kara): remove after deprecation period\nfunction _ngModelWarning(name, type, instance, warningConfig) {\n if (warningConfig === 'never')\n return;\n if (((warningConfig === null || warningConfig === 'once') && !type._ngModelWarningSentOnce) ||\n (warningConfig === 'always' && !instance._ngModelWarningSent)) {\n console.warn(ngModelWarning(name));\n type._ngModelWarningSentOnce = true;\n instance._ngModelWarningSent = true;\n }\n}\n\nconst formDirectiveProvider$1 = {\n provide: ControlContainer,\n useExisting: forwardRef(() => NgForm)\n};\nconst resolvedPromise$1 = (() => Promise.resolve())();\n/**\n * @description\n * Creates a top-level `FormGroup` instance and binds it to a form\n * to track aggregate form value and validation status.\n *\n * As soon as you import the `FormsModule`, this directive becomes active by default on\n * all `<form>` tags. You don't need to add a special selector.\n *\n * You optionally export the directive into a local template variable using `ngForm` as the key\n * (ex: `#myForm=\"ngForm\"`). This is optional, but useful. Many properties from the underlying\n * `FormGroup` instance are duplicated on the directive itself, so a reference to it\n * gives you access to the aggregate value and validity status of the form, as well as\n * user interaction properties like `dirty` and `touched`.\n *\n * To register child controls with the form, use `NgModel` with a `name`\n * attribute. You may use `NgModelGroup` to create sub-groups within the form.\n *\n * If necessary, listen to the directive's `ngSubmit` event to be notified when the user has\n * triggered a form submission. The `ngSubmit` event emits the original form\n * submission event.\n *\n * In template driven forms, all `<form>` tags are automatically tagged as `NgForm`.\n * To import the `FormsModule` but skip its usage in some forms,\n * for example, to use native HTML5 validation, add the `ngNoForm` and the `<form>`\n * tags won't create an `NgForm` directive. In reactive forms, using `ngNoForm` is\n * unnecessary because the `<form>` tags are inert. In that case, you would\n * refrain from using the `formGroup` directive.\n *\n * @usageNotes\n *\n * ### Listening for form submission\n *\n * The following example shows how to capture the form values from the \"ngSubmit\" event.\n *\n * {@example forms/ts/simpleForm/simple_form_example.ts region='Component'}\n *\n * ### Setting the update options\n *\n * The following example shows you how to change the \"updateOn\" option from its default using\n * ngFormOptions.\n *\n * ```html\n * <form [ngFormOptions]=\"{updateOn: 'blur'}\">\n * <input name=\"one\" ngModel> <!-- this ngModel will update on blur -->\n * </form>\n * ```\n *\n * ### Native DOM validation UI\n *\n * In order to prevent the native DOM form validation UI from interfering with Angular's form\n * validation, Angular automatically adds the `novalidate` attribute on any `<form>` whenever\n * `FormModule` or `ReactiveFormModule` are imported into the application.\n * If you want to explicitly enable native DOM validation UI with Angular forms, you can add the\n * `ngNativeValidate` attribute to the `<form>` element:\n *\n * ```html\n * <form ngNativeValidate>\n * ...\n * </form>\n * ```\n *\n * @ngModule FormsModule\n * @publicApi\n */\nclass NgForm extends ControlContainer {\n constructor(validators, asyncValidators, callSetDisabledState) {\n super();\n this.callSetDisabledState = callSetDisabledState;\n /**\n * @description\n * Returns whether the form submission has been triggered.\n */\n this.submitted = false;\n this._directives = new Set();\n /**\n * @description\n * Event emitter for the \"ngSubmit\" event\n */\n this.ngSubmit = new EventEmitter();\n this.form =\n new FormGroup({}, composeValidators(validators), composeAsyncValidators(asyncValidators));\n }\n /** @nodoc */\n ngAfterViewInit() {\n this._setUpdateStrategy();\n }\n /**\n * @description\n * The directive instance.\n */\n get formDirective() {\n return this;\n }\n /**\n * @description\n * The internal `FormGroup` instance.\n */\n get control() {\n return this.form;\n }\n /**\n * @description\n * Returns an array representing the path to this group. Because this directive\n * always lives at the top level of a form, it is always an empty array.\n */\n get path() {\n return [];\n }\n /**\n * @description\n * Returns a map of the controls in this group.\n */\n get controls() {\n return this.form.controls;\n }\n /**\n * @description\n * Method that sets up the control directive in this group, re-calculates its value\n * and validity, and adds the instance to the internal list of directives.\n *\n * @param dir The `NgModel` directive instance.\n */\n addControl(dir) {\n resolvedPromise$1.then(() => {\n const container = this._findContainer(dir.path);\n dir.control =\n container.registerControl(dir.name, dir.control);\n setUpControl(dir.control, dir, this.callSetDisabledState);\n dir.control.updateValueAndValidity({ emitEvent: false });\n this._directives.add(dir);\n });\n }\n /**\n * @description\n * Retrieves the `FormControl` instance from the provided `NgModel` directive.\n *\n * @param dir The `NgModel` directive instance.\n */\n getControl(dir) {\n return this.form.get(dir.path);\n }\n /**\n * @description\n * Removes the `NgModel` instance from the internal list of directives\n *\n * @param dir The `NgModel` directive instance.\n */\n removeControl(dir) {\n resolvedPromise$1.then(() => {\n const container = this._findContainer(dir.path);\n if (container) {\n container.removeControl(dir.name);\n }\n this._directives.delete(dir);\n });\n }\n /**\n * @description\n * Adds a new `NgModelGroup` directive instance to the form.\n *\n * @param dir The `NgModelGroup` directive instance.\n */\n addFormGroup(dir) {\n resolvedPromise$1.then(() => {\n const container = this._findContainer(dir.path);\n const group = new FormGroup({});\n setUpFormContainer(group, dir);\n container.registerControl(dir.name, group);\n group.updateValueAndValidity({ emitEvent: false });\n });\n }\n /**\n * @description\n * Removes the `NgModelGroup` directive instance from the form.\n *\n * @param dir The `NgModelGroup` directive instance.\n */\n removeFormGroup(dir) {\n resolvedPromise$1.then(() => {\n const container = this._findContainer(dir.path);\n if (container) {\n container.removeControl(dir.name);\n }\n });\n }\n /**\n * @description\n * Retrieves the `FormGroup` for a provided `NgModelGroup` directive instance\n *\n * @param dir The `NgModelGroup` directive instance.\n */\n getFormGroup(dir) {\n return this.form.get(dir.path);\n }\n /**\n * Sets the new value for the provided `NgControl` directive.\n *\n * @param dir The `NgControl` directive instance.\n * @param value The new value for the directive's control.\n */\n updateModel(dir, value) {\n resolvedPromise$1.then(() => {\n const ctrl = this.form.get(dir.path);\n ctrl.setValue(value);\n });\n }\n /**\n * @description\n * Sets the value for this `FormGroup`.\n *\n * @param value The new value\n */\n setValue(value) {\n this.control.setValue(value);\n }\n /**\n * @description\n * Method called when the \"submit\" event is triggered on the form.\n * Triggers the `ngSubmit` emitter to emit the \"submit\" event as its payload.\n *\n * @param $event The \"submit\" event object\n */\n onSubmit($event) {\n this.submitted = true;\n syncPendingControls(this.form, this._directives);\n this.ngSubmit.emit($event);\n // Forms with `method=\"dialog\"` have some special behavior\n // that won't reload the page and that shouldn't be prevented.\n return $event?.target?.method === 'dialog';\n }\n /**\n * @description\n * Method called when the \"reset\" event is triggered on the form.\n */\n onReset() {\n this.resetForm();\n }\n /**\n * @description\n * Resets the form to an initial value and resets its submitted status.\n *\n * @param value The new value for the form.\n */\n resetForm(value = undefined) {\n this.form.reset(value);\n this.submitted = false;\n }\n _setUpdateStrategy() {\n if (this.options && this.options.updateOn != null) {\n this.form._updateOn = this.options.updateOn;\n }\n }\n _findContainer(path) {\n path.pop();\n return path.length ? this.form.get(path) : this.form;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NgForm, deps: [{ token: NG_VALIDATORS, optional: true, self: true }, { token: NG_ASYNC_VALIDATORS, optional: true, self: true }, { token: CALL_SET_DISABLED_STATE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: NgForm, selector: \"form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]\", inputs: { options: [\"ngFormOptions\", \"options\"] }, outputs: { ngSubmit: \"ngSubmit\" }, host: { listeners: { \"submit\": \"onSubmit($event)\", \"reset\": \"onReset()\" } }, providers: [formDirectiveProvider$1], exportAs: [\"ngForm\"], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NgForm, decorators: [{\n type: Directive,\n args: [{\n selector: 'form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]',\n providers: [formDirectiveProvider$1],\n host: { '(submit)': 'onSubmit($event)', '(reset)': 'onReset()' },\n outputs: ['ngSubmit'],\n exportAs: 'ngForm'\n }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Optional\n }, {\n type: Self\n }, {\n type: Inject,\n args: [NG_VALIDATORS]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Self\n }, {\n type: Inject,\n args: [NG_ASYNC_VALIDATORS]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [CALL_SET_DISABLED_STATE]\n }] }]; }, propDecorators: { options: [{\n type: Input,\n args: ['ngFormOptions']\n }] } });\n\nfunction removeListItem(list, el) {\n const index = list.indexOf(el);\n if (index > -1)\n list.splice(index, 1);\n}\n\nfunction isFormControlState(formState) {\n return typeof formState === 'object' && formState !== null &&\n Object.keys(formState).length === 2 && 'value' in formState && 'disabled' in formState;\n}\nconst FormControl = (class FormControl extends AbstractControl {\n constructor(\n // formState and defaultValue will only be null if T is nullable\n formState = null, validatorOrOpts, asyncValidator) {\n super(pickValidators(validatorOrOpts), pickAsyncValidators(asyncValidator, validatorOrOpts));\n /** @publicApi */\n this.defaultValue = null;\n /** @internal */\n this._onChange = [];\n /** @internal */\n this._pendingChange = false;\n this._applyFormState(formState);\n this._setUpdateStrategy(validatorOrOpts);\n this._initObservables();\n this.updateValueAndValidity({\n onlySelf: true,\n // If `asyncValidator` is present, it will trigger control status change from `PENDING` to\n // `VALID` or `INVALID`.\n // The status should be broadcasted via the `statusChanges` observable, so we set\n // `emitEvent` to `true` to allow that during the control creation process.\n emitEvent: !!this.asyncValidator\n });\n if (isOptionsObj(validatorOrOpts) &&\n (validatorOrOpts.nonNullable || validatorOrOpts.initialValueIsDefault)) {\n if (isFormControlState(formState)) {\n this.defaultValue = formState.value;\n }\n else {\n this.defaultValue = formState;\n }\n }\n }\n setValue(value, options = {}) {\n this.value = this._pendingValue = value;\n if (this._onChange.length && options.emitModelToViewChange !== false) {\n this._onChange.forEach((changeFn) => changeFn(this.value, options.emitViewToModelChange !== false));\n }\n this.updateValueAndValidity(options);\n }\n patchValue(value, options = {}) {\n this.setValue(value, options);\n }\n reset(formState = this.defaultValue, options = {}) {\n this._applyFormState(formState);\n this.markAsPristine(options);\n this.markAsUntouched(options);\n this.setValue(this.value, options);\n this._pendingChange = false;\n }\n /** @internal */\n _updateValue() { }\n /** @internal */\n _anyControls(condition) {\n return false;\n }\n /** @internal */\n _allControlsDisabled() {\n return this.disabled;\n }\n registerOnChange(fn) {\n this._onChange.push(fn);\n }\n /** @internal */\n _unregisterOnChange(fn) {\n removeListItem(this._onChange, fn);\n }\n registerOnDisabledChange(fn) {\n this._onDisabledChange.push(fn);\n }\n /** @internal */\n _unregisterOnDisabledChange(fn) {\n removeListItem(this._onDisabledChange, fn);\n }\n /** @internal */\n _forEachChild(cb) { }\n /** @internal */\n _syncPendingControls() {\n if (this.updateOn === 'submit') {\n if (this._pendingDirty)\n this.markAsDirty();\n if (this._pendingTouched)\n this.markAsTouched();\n if (this._pendingChange) {\n this.setValue(this._pendingValue, { onlySelf: true, emitModelToViewChange: false });\n return true;\n }\n }\n return false;\n }\n _applyFormState(formState) {\n if (isFormControlState(formState)) {\n this.value = this._pendingValue = formState.value;\n formState.disabled ? this.disable({ onlySelf: true, emitEvent: false }) :\n this.enable({ onlySelf: true, emitEvent: false });\n }\n else {\n this.value = this._pendingValue = formState;\n }\n }\n});\nconst UntypedFormControl = FormControl;\n/**\n * @description\n * Asserts that the given control is an instance of `FormControl`\n *\n * @publicApi\n */\nconst isFormControl = (control) => control instanceof FormControl;\n\n/**\n * @description\n * A base class for code shared between the `NgModelGroup` and `FormGroupName` directives.\n *\n * @publicApi\n */\nclass AbstractFormGroupDirective extends ControlContainer {\n /** @nodoc */\n ngOnInit() {\n this._checkParentType();\n // Register the group with its parent group.\n this.formDirective.addFormGroup(this);\n }\n /** @nodoc */\n ngOnDestroy() {\n if (this.formDirective) {\n // Remove the group from its parent group.\n this.formDirective.removeFormGroup(this);\n }\n }\n /**\n * @description\n * The `FormGroup` bound to this directive.\n */\n get control() {\n return this.formDirective.getFormGroup(this);\n }\n /**\n * @description\n * The path to this group from the top-level directive.\n */\n get path() {\n return controlPath(this.name == null ? this.name : this.name.toString(), this._parent);\n }\n /**\n * @description\n * The top-level directive for this group if present, otherwise null.\n */\n get formDirective() {\n return this._parent ? this._parent.formDirective : null;\n }\n /** @internal */\n _checkParentType() { }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AbstractFormGroupDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: AbstractFormGroupDirective, usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AbstractFormGroupDirective, decorators: [{\n type: Directive\n }] });\n\nfunction modelParentException() {\n return new ɵRuntimeError(1350 /* RuntimeErrorCode.NGMODEL_IN_FORM_GROUP */, `\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup's partner directive \"formControlName\" instead. Example:\n\n ${formControlNameExample}\n\n Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions:\n\n Example:\n\n ${ngModelWithFormGroupExample}`);\n}\nfunction formGroupNameException() {\n return new ɵRuntimeError(1351 /* RuntimeErrorCode.NGMODEL_IN_FORM_GROUP_NAME */, `\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n ${formGroupNameExample}\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n ${ngModelGroupExample}`);\n}\nfunction missingNameException() {\n return new ɵRuntimeError(1352 /* RuntimeErrorCode.NGMODEL_WITHOUT_NAME */, `If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as 'standalone' in ngModelOptions.\n\n Example 1: <input [(ngModel)]=\"person.firstName\" name=\"first\">\n Example 2: <input [(ngModel)]=\"person.firstName\" [ngModelOptions]=\"{standalone: true}\">`);\n}\nfunction modelGroupParentException() {\n return new ɵRuntimeError(1353 /* RuntimeErrorCode.NGMODELGROUP_IN_FORM_GROUP */, `\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n ${formGroupNameExample}\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n ${ngModelGroupExample}`);\n}\n\nconst modelGroupProvider = {\n provide: ControlContainer,\n useExisting: forwardRef(() => NgModelGroup)\n};\n/**\n * @description\n * Creates and binds a `FormGroup` instance to a DOM element.\n *\n * This directive can only be used as a child of `NgForm` (within `<form>` tags).\n *\n * Use this directive to validate a sub-group of your form separately from the\n * rest of your form, or if some values in your domain model make more sense\n * to consume together in a nested object.\n *\n * Provide a name for the sub-group and it will become the key\n * for the sub-group in the form's full value. If you need direct access, export the directive into\n * a local template variable using `ngModelGroup` (ex: `#myGroup=\"ngModelGroup\"`).\n *\n * @usageNotes\n *\n * ### Consuming controls in a grouping\n *\n * The following example shows you how to combine controls together in a sub-group\n * of the form.\n *\n * {@example forms/ts/ngModelGroup/ng_model_group_example.ts region='Component'}\n *\n * @ngModule FormsModule\n * @publicApi\n */\nclass NgModelGroup extends AbstractFormGroupDirective {\n constructor(parent, validators, asyncValidators) {\n super();\n /**\n * @description\n * Tracks the name of the `NgModelGroup` bound to the directive. The name corresponds\n * to a key in the parent `NgForm`.\n */\n this.name = '';\n this._parent = parent;\n this._setValidators(validators);\n this._setAsyncValidators(asyncValidators);\n }\n /** @internal */\n _checkParentType() {\n if (!(this._parent instanceof NgModelGroup) && !(this._parent instanceof NgForm) &&\n (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw modelGroupParentException();\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NgModelGroup, deps: [{ token: ControlContainer, host: true, skipSelf: true }, { token: NG_VALIDATORS, optional: true, self: true }, { token: NG_ASYNC_VALIDATORS, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: NgModelGroup, selector: \"[ngModelGroup]\", inputs: { name: [\"ngModelGroup\", \"name\"] }, providers: [modelGroupProvider], exportAs: [\"ngModelGroup\"], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NgModelGroup, decorators: [{\n type: Directive,\n args: [{ selector: '[ngModelGroup]', providers: [modelGroupProvider], exportAs: 'ngModelGroup' }]\n }], ctorParameters: function () { return [{ type: ControlContainer, decorators: [{\n type: Host\n }, {\n type: SkipSelf\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Self\n }, {\n type: Inject,\n args: [NG_VALIDATORS]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Self\n }, {\n type: Inject,\n args: [NG_ASYNC_VALIDATORS]\n }] }]; }, propDecorators: { name: [{\n type: Input,\n args: ['ngModelGroup']\n }] } });\n\nconst formControlBinding$1 = {\n provide: NgControl,\n useExisting: forwardRef(() => NgModel)\n};\n/**\n * `ngModel` forces an additional change detection run when its inputs change:\n * E.g.:\n * ```\n * <div>{{myModel.valid}}</div>\n * <input [(ngModel)]=\"myValue\" #myModel=\"ngModel\">\n * ```\n * I.e. `ngModel` can export itself on the element and then be used in the template.\n * Normally, this would result in expressions before the `input` that use the exported directive\n * to have an old value as they have been\n * dirty checked before. As this is a very common case for `ngModel`, we added this second change\n * detection run.\n *\n * Notes:\n * - this is just one extra run no matter how many `ngModel`s have been changed.\n * - this is a general problem when using `exportAs` for directives!\n */\nconst resolvedPromise = (() => Promise.resolve())();\n/**\n * @description\n * Creates a `FormControl` instance from a [domain\n * model](https://en.wikipedia.org/wiki/Domain_model) and binds it to a form control element.\n *\n * The `FormControl` instance tracks the value, user interaction, and\n * validation status of the control and keeps the view synced with the model. If used\n * within a parent form, the directive also registers itself with the form as a child\n * control.\n *\n * This directive is used by itself or as part of a larger form. Use the\n * `ngModel` selector to activate it.\n *\n * It accepts a domain model as an optional `Input`. If you have a one-way binding\n * to `ngModel` with `[]` syntax, changing the domain model's value in the component\n * class sets the value in the view. If you have a two-way binding with `[()]` syntax\n * (also known as 'banana-in-a-box syntax'), the value in the UI always syncs back to\n * the domain model in your class.\n *\n * To inspect the properties of the associated `FormControl` (like the validity state),\n * export the directive into a local template variable using `ngModel` as the key (ex:\n * `#myVar=\"ngModel\"`). You can then access the control using the directive's `control` property.\n * However, the most commonly used properties (like `valid` and `dirty`) also exist on the control\n * for direct access. See a full list of properties directly available in\n * `AbstractControlDirective`.\n *\n * @see `RadioControlValueAccessor`\n * @see `SelectControlValueAccessor`\n *\n * @usageNotes\n *\n * ### Using ngModel on a standalone control\n *\n * The following examples show a simple standalone control using `ngModel`:\n *\n * {@example forms/ts/simpleNgModel/simple_ng_model_example.ts region='Component'}\n *\n * When using the `ngModel` within `<form>` tags, you'll also need to supply a `name` attribute\n * so that the control can be registered with the parent form under that name.\n *\n * In the context of a parent form, it's often unnecessary to include one-way or two-way binding,\n * as the parent form syncs the value for you. You access its properties by exporting it into a\n * local template variable using `ngForm` such as (`#f=\"ngForm\"`). Use the variable where\n * needed on form submission.\n *\n * If you do need to populate initial values into your form, using a one-way binding for\n * `ngModel` tends to be sufficient as long as you use the exported form's value rather\n * than the domain model's value on submit.\n *\n * ### Using ngModel within a form\n *\n * The following example shows controls using `ngModel` within a form:\n *\n * {@example forms/ts/simpleForm/simple_form_example.ts region='Component'}\n *\n * ### Using a standalone ngModel within a group\n *\n * The following example shows you how to use a standalone ngModel control\n * within a form. This controls the display of the form, but doesn't contain form data.\n *\n * ```html\n * <form>\n * <input name=\"login\" ngModel placeholder=\"Login\">\n * <input type=\"checkbox\" ngModel [ngModelOptions]=\"{standalone: true}\"> Show more options?\n * </form>\n * <!-- form value: {login: ''} -->\n * ```\n *\n * ### Setting the ngModel `name` attribute through options\n *\n * The following example shows you an alternate way to set the name attribute. Here,\n * an attribute identified as name is used within a custom form control component. To still be able\n * to specify the NgModel's name, you must specify it using the `ngModelOptions` input instead.\n *\n * ```html\n * <form>\n * <my-custom-form-control name=\"Nancy\" ngModel [ngModelOptions]=\"{name: 'user'}\">\n * </my-custom-form-control>\n * </form>\n * <!-- form value: {user: ''} -->\n * ```\n *\n * @ngModule FormsModule\n * @publicApi\n */\nclass NgModel extends NgControl {\n constructor(parent, validators, asyncValidators, valueAccessors, _changeDetectorRef, callSetDisabledState) {\n super();\n this._changeDetectorRef = _changeDetectorRef;\n this.callSetDisabledState = callSetDisabledState;\n this.control = new FormControl();\n /** @internal */\n this._registered = false;\n /**\n * @description\n * Tracks the name bound to the directive. If a parent form exists, it\n * uses this name as a key to retrieve this control's value.\n */\n this.name = '';\n /**\n * @description\n * Event emitter for producing the `ngModelChange` event after\n * the view model updates.\n */\n this.update = new EventEmitter();\n this._parent = parent;\n this._setValidators(validators);\n this._setAsyncValidators(asyncValidators);\n this.valueAccessor = selectValueAccessor(this, valueAccessors);\n }\n /** @nodoc */\n ngOnChanges(changes) {\n this._checkForErrors();\n if (!this._registered || 'name' in changes) {\n if (this._registered) {\n this._checkName();\n if (this.formDirective) {\n // We can't call `formDirective.removeControl(this)`, because the `name` has already been\n // changed. We also can't reset the name temporarily since the logic in `removeControl`\n // is inside a promise and it won't run immediately. We work around it by giving it an\n // object with the same shape instead.\n const oldName = changes['name'].previousValue;\n this.formDirective.removeControl({ name: oldName, path: this._getPath(oldName) });\n }\n }\n this._setUpControl();\n }\n if ('isDisabled' in changes) {\n this._updateDisabled(changes);\n }\n if (isPropertyUpdated(changes, this.viewModel)) {\n this._updateValue(this.model);\n this.viewModel = this.model;\n }\n }\n /** @nodoc */\n ngOnDestroy() {\n this.formDirective && this.formDirective.removeControl(this);\n }\n /**\n * @description\n * Returns an array that represents the path from the top-level form to this control.\n * Each index is the string name of the control on that level.\n */\n get path() {\n return this._getPath(this.name);\n }\n /**\n * @description\n * The top-level directive for this control if present, otherwise null.\n */\n get formDirective() {\n return this._parent ? this._parent.formDirective : null;\n }\n /**\n * @description\n * Sets the new value for the view model and emits an `ngModelChange` event.\n *\n * @param newValue The new value emitted by `ngModelChange`.\n */\n viewToModelUpdate(newValue) {\n this.viewModel = newValue;\n this.update.emit(newValue);\n }\n _setUpControl() {\n this._setUpdateStrategy();\n this._isStandalone() ? this._setUpStandalone() : this.formDirective.addControl(this);\n this._registered = true;\n }\n _setUpdateStrategy() {\n if (this.options && this.options.updateOn != null) {\n this.control._updateOn = this.options.updateOn;\n }\n }\n _isStandalone() {\n return !this._parent || !!(this.options && this.options.standalone);\n }\n _setUpStandalone() {\n setUpControl(this.control, this, this.callSetDisabledState);\n this.control.updateValueAndValidity({ emitEvent: false });\n }\n _checkForErrors() {\n if (!this._isStandalone()) {\n this._checkParentType();\n }\n this._checkName();\n }\n _checkParentType() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!(this._parent instanceof NgModelGroup) &&\n this._parent instanceof AbstractFormGroupDirective) {\n throw formGroupNameException();\n }\n else if (!(this._parent instanceof NgModelGroup) && !(this._parent instanceof NgForm)) {\n throw modelParentException();\n }\n }\n }\n _checkName() {\n if (this.options && this.options.name)\n this.name = this.options.name;\n if (!this._isStandalone() && !this.name && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw missingNameException();\n }\n }\n _updateValue(value) {\n resolvedPromise.then(() => {\n this.control.setValue(value, { emitViewToModelChange: false });\n this._changeDetectorRef?.markForCheck();\n });\n }\n _updateDisabled(changes) {\n const disabledValue = changes['isDisabled'].currentValue;\n // checking for 0 to avoid breaking change\n const isDisabled = disabledValue !== 0 && ɵcoerceToBoolean(disabledValue);\n resolvedPromise.then(() => {\n if (isDisabled && !this.control.disabled) {\n this.control.disable();\n }\n else if (!isDisabled && this.control.disabled) {\n this.control.enable();\n }\n this._changeDetectorRef?.markForCheck();\n });\n }\n _getPath(controlName) {\n return this._parent ? controlPath(controlName, this._parent) : [controlName];\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NgModel, deps: [{ token: ControlContainer, host: true, optional: true }, { token: NG_VALIDATORS, optional: true, self: true }, { token: NG_ASYNC_VALIDATORS, optional: true, self: true }, { token: NG_VALUE_ACCESSOR, optional: true, self: true }, { token: ChangeDetectorRef, optional: true }, { token: CALL_SET_DISABLED_STATE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: NgModel, selector: \"[ngModel]:not([formControlName]):not([formControl])\", inputs: { name: \"name\", isDisabled: [\"disabled\", \"isDisabled\"], model: [\"ngModel\", \"model\"], options: [\"ngModelOptions\", \"options\"] }, outputs: { update: \"ngModelChange\" }, providers: [formControlBinding$1], exportAs: [\"ngModel\"], usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NgModel, decorators: [{\n type: Directive,\n args: [{\n selector: '[ngModel]:not([formControlName]):not([formControl])',\n providers: [formControlBinding$1],\n exportAs: 'ngModel'\n }]\n }], ctorParameters: function () { return [{ type: ControlContainer, decorators: [{\n type: Optional\n }, {\n type: Host\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Self\n }, {\n type: Inject,\n args: [NG_VALIDATORS]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Self\n }, {\n type: Inject,\n args: [NG_ASYNC_VALIDATORS]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Self\n }, {\n type: Inject,\n args: [NG_VALUE_ACCESSOR]\n }] }, { type: i0.ChangeDetectorRef, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ChangeDetectorRef]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [CALL_SET_DISABLED_STATE]\n }] }]; }, propDecorators: { name: [{\n type: Input\n }], isDisabled: [{\n type: Input,\n args: ['disabled']\n }], model: [{\n type: Input,\n args: ['ngModel']\n }], options: [{\n type: Input,\n args: ['ngModelOptions']\n }], update: [{\n type: Output,\n args: ['ngModelChange']\n }] } });\n\n/**\n * @description\n *\n * Adds `novalidate` attribute to all forms by default.\n *\n * `novalidate` is used to disable browser's native form validation.\n *\n * If you want to use native validation with Angular forms, just add `ngNativeValidate` attribute:\n *\n * ```\n * <form ngNativeValidate></form>\n * ```\n *\n * @publicApi\n * @ngModule ReactiveFormsModule\n * @ngModule FormsModule\n */\nclass ɵNgNoValidate {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ɵNgNoValidate, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: ɵNgNoValidate, selector: \"form:not([ngNoForm]):not([ngNativeValidate])\", host: { attributes: { \"novalidate\": \"\" } }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ɵNgNoValidate, decorators: [{\n type: Directive,\n args: [{\n selector: 'form:not([ngNoForm]):not([ngNativeValidate])',\n host: { 'novalidate': '' },\n }]\n }] });\n\nconst NUMBER_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => NumberValueAccessor),\n multi: true\n};\n/**\n * @description\n * The `ControlValueAccessor` for writing a number value and listening to number input changes.\n * The value accessor is used by the `FormControlDirective`, `FormControlName`, and `NgModel`\n * directives.\n *\n * @usageNotes\n *\n * ### Using a number input with a reactive form.\n *\n * The following example shows how to use a number input with a reactive form.\n *\n * ```ts\n * const totalCountControl = new FormControl();\n * ```\n *\n * ```\n * <input type=\"number\" [formControl]=\"totalCountControl\">\n * ```\n *\n * @ngModule ReactiveFormsModule\n * @ngModule FormsModule\n * @publicApi\n */\nclass NumberValueAccessor extends BuiltInControlValueAccessor {\n /**\n * Sets the \"value\" property on the input element.\n * @nodoc\n */\n writeValue(value) {\n // The value needs to be normalized for IE9, otherwise it is set to 'null' when null\n const normalizedValue = value == null ? '' : value;\n this.setProperty('value', normalizedValue);\n }\n /**\n * Registers a function called when the control value changes.\n * @nodoc\n */\n registerOnChange(fn) {\n this.onChange = (value) => {\n fn(value == '' ? null : parseFloat(value));\n };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NumberValueAccessor, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: NumberValueAccessor, selector: \"input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]\", host: { listeners: { \"input\": \"onChange($event.target.value)\", \"blur\": \"onTouched()\" } }, providers: [NUMBER_VALUE_ACCESSOR], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NumberValueAccessor, decorators: [{\n type: Directive,\n args: [{\n selector: 'input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]',\n host: { '(input)': 'onChange($event.target.value)', '(blur)': 'onTouched()' },\n providers: [NUMBER_VALUE_ACCESSOR]\n }]\n }] });\n\nconst RADIO_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => RadioControlValueAccessor),\n multi: true\n};\nfunction throwNameError() {\n throw new ɵRuntimeError(1202 /* RuntimeErrorCode.NAME_AND_FORM_CONTROL_NAME_MUST_MATCH */, `\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: <input type=\"radio\" formControlName=\"food\" name=\"food\">\n `);\n}\n/**\n * Internal-only NgModule that works as a host for the `RadioControlRegistry` tree-shakable\n * provider. Note: the `InternalFormsSharedModule` can not be used here directly, since it's\n * declared *after* the `RadioControlRegistry` class and the `providedIn` doesn't support\n * `forwardRef` logic.\n */\nclass RadioControlRegistryModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RadioControlRegistryModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: RadioControlRegistryModule }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RadioControlRegistryModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RadioControlRegistryModule, decorators: [{\n type: NgModule\n }] });\n/**\n * @description\n * Class used by Angular to track radio buttons. For internal use only.\n */\nclass RadioControlRegistry {\n constructor() {\n this._accessors = [];\n }\n /**\n * @description\n * Adds a control to the internal registry. For internal use only.\n */\n add(control, accessor) {\n this._accessors.push([control, accessor]);\n }\n /**\n * @description\n * Removes a control from the internal registry. For internal use only.\n */\n remove(accessor) {\n for (let i = this._accessors.length - 1; i >= 0; --i) {\n if (this._accessors[i][1] === accessor) {\n this._accessors.splice(i, 1);\n return;\n }\n }\n }\n /**\n * @description\n * Selects a radio button. For internal use only.\n */\n select(accessor) {\n this._accessors.forEach((c) => {\n if (this._isSameGroup(c, accessor) && c[1] !== accessor) {\n c[1].fireUncheck(accessor.value);\n }\n });\n }\n _isSameGroup(controlPair, accessor) {\n if (!controlPair[0].control)\n return false;\n return controlPair[0]._parent === accessor._control._parent &&\n controlPair[1].name === accessor.name;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RadioControlRegistry, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RadioControlRegistry, providedIn: RadioControlRegistryModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RadioControlRegistry, decorators: [{\n type: Injectable,\n args: [{ providedIn: RadioControlRegistryModule }]\n }] });\n/**\n * @description\n * The `ControlValueAccessor` for writing radio control values and listening to radio control\n * changes. The value accessor is used by the `FormControlDirective`, `FormControlName`, and\n * `NgModel` directives.\n *\n * @usageNotes\n *\n * ### Using radio buttons with reactive form directives\n *\n * The follow example shows how to use radio buttons in a reactive form. When using radio buttons in\n * a reactive form, radio buttons in the same group should have the same `formControlName`.\n * Providing a `name` attribute is optional.\n *\n * {@example forms/ts/reactiveRadioButtons/reactive_radio_button_example.ts region='Reactive'}\n *\n * @ngModule ReactiveFormsModule\n * @ngModule FormsModule\n * @publicApi\n */\nclass RadioControlValueAccessor extends BuiltInControlValueAccessor {\n constructor(renderer, elementRef, _registry, _injector) {\n super(renderer, elementRef);\n this._registry = _registry;\n this._injector = _injector;\n this.setDisabledStateFired = false;\n /**\n * The registered callback function called when a change event occurs on the input element.\n * Note: we declare `onChange` here (also used as host listener) as a function with no arguments\n * to override the `onChange` function (which expects 1 argument) in the parent\n * `BaseControlValueAccessor` class.\n * @nodoc\n */\n this.onChange = () => { };\n this.callSetDisabledState = inject(CALL_SET_DISABLED_STATE, { optional: true }) ?? setDisabledStateDefault;\n }\n /** @nodoc */\n ngOnInit() {\n this._control = this._injector.get(NgControl);\n this._checkName();\n this._registry.add(this._control, this);\n }\n /** @nodoc */\n ngOnDestroy() {\n this._registry.remove(this);\n }\n /**\n * Sets the \"checked\" property value on the radio input element.\n * @nodoc\n */\n writeValue(value) {\n this._state = value === this.value;\n this.setProperty('checked', this._state);\n }\n /**\n * Registers a function called when the control value changes.\n * @nodoc\n */\n registerOnChange(fn) {\n this._fn = fn;\n this.onChange = () => {\n fn(this.value);\n this._registry.select(this);\n };\n }\n /** @nodoc */\n setDisabledState(isDisabled) {\n /**\n * `setDisabledState` is supposed to be called whenever the disabled state of a control changes,\n * including upon control creation. However, a longstanding bug caused the method to not fire\n * when an *enabled* control was attached. This bug was fixed in v15 in #47576.\n *\n * This had a side effect: previously, it was possible to instantiate a reactive form control\n * with `[attr.disabled]=true`, even though the the corresponding control was enabled in the\n * model. This resulted in a mismatch between the model and the DOM. Now, because\n * `setDisabledState` is always called, the value in the DOM will be immediately overwritten\n * with the \"correct\" enabled value.\n *\n * However, the fix also created an exceptional case: radio buttons. Because Reactive Forms\n * models the entire group of radio buttons as a single `FormControl`, there is no way to\n * control the disabled state for individual radios, so they can no longer be configured as\n * disabled. Thus, we keep the old behavior for radio buttons, so that `[attr.disabled]`\n * continues to work. Specifically, we drop the first call to `setDisabledState` if `disabled`\n * is `false`, and we are not in legacy mode.\n */\n if (this.setDisabledStateFired || isDisabled ||\n this.callSetDisabledState === 'whenDisabledForLegacyCode') {\n this.setProperty('disabled', isDisabled);\n }\n this.setDisabledStateFired = true;\n }\n /**\n * Sets the \"value\" on the radio input element and unchecks it.\n *\n * @param value\n */\n fireUncheck(value) {\n this.writeValue(value);\n }\n _checkName() {\n if (this.name && this.formControlName && this.name !== this.formControlName &&\n (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throwNameError();\n }\n if (!this.name && this.formControlName)\n this.name = this.formControlName;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RadioControlValueAccessor, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: RadioControlRegistry }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: RadioControlValueAccessor, selector: \"input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]\", inputs: { name: \"name\", formControlName: \"formControlName\", value: \"value\" }, host: { listeners: { \"change\": \"onChange()\", \"blur\": \"onTouched()\" } }, providers: [RADIO_VALUE_ACCESSOR], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RadioControlValueAccessor, decorators: [{\n type: Directive,\n args: [{\n selector: 'input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]',\n host: { '(change)': 'onChange()', '(blur)': 'onTouched()' },\n providers: [RADIO_VALUE_ACCESSOR]\n }]\n }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: RadioControlRegistry }, { type: i0.Injector }]; }, propDecorators: { name: [{\n type: Input\n }], formControlName: [{\n type: Input\n }], value: [{\n type: Input\n }] } });\n\nconst RANGE_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => RangeValueAccessor),\n multi: true\n};\n/**\n * @description\n * The `ControlValueAccessor` for writing a range value and listening to range input changes.\n * The value accessor is used by the `FormControlDirective`, `FormControlName`, and `NgModel`\n * directives.\n *\n * @usageNotes\n *\n * ### Using a range input with a reactive form\n *\n * The following example shows how to use a range input with a reactive form.\n *\n * ```ts\n * const ageControl = new FormControl();\n * ```\n *\n * ```\n * <input type=\"range\" [formControl]=\"ageControl\">\n * ```\n *\n * @ngModule ReactiveFormsModule\n * @ngModule FormsModule\n * @publicApi\n */\nclass RangeValueAccessor extends BuiltInControlValueAccessor {\n /**\n * Sets the \"value\" property on the input element.\n * @nodoc\n */\n writeValue(value) {\n this.setProperty('value', parseFloat(value));\n }\n /**\n * Registers a function called when the control value changes.\n * @nodoc\n */\n registerOnChange(fn) {\n this.onChange = (value) => {\n fn(value == '' ? null : parseFloat(value));\n };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RangeValueAccessor, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: RangeValueAccessor, selector: \"input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]\", host: { listeners: { \"change\": \"onChange($event.target.value)\", \"input\": \"onChange($event.target.value)\", \"blur\": \"onTouched()\" } }, providers: [RANGE_VALUE_ACCESSOR], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RangeValueAccessor, decorators: [{\n type: Directive,\n args: [{\n selector: 'input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]',\n host: {\n '(change)': 'onChange($event.target.value)',\n '(input)': 'onChange($event.target.value)',\n '(blur)': 'onTouched()'\n },\n providers: [RANGE_VALUE_ACCESSOR]\n }]\n }] });\n\n/**\n * Token to provide to turn off the ngModel warning on formControl and formControlName.\n */\nconst NG_MODEL_WITH_FORM_CONTROL_WARNING = new InjectionToken('NgModelWithFormControlWarning');\nconst formControlBinding = {\n provide: NgControl,\n useExisting: forwardRef(() => FormControlDirective)\n};\n/**\n * @description\n * Synchronizes a standalone `FormControl` instance to a form control element.\n *\n * Note that support for using the `ngModel` input property and `ngModelChange` event with reactive\n * form directives was deprecated in Angular v6 and is scheduled for removal in\n * a future version of Angular.\n * For details, see [Deprecated features](guide/deprecations#ngmodel-with-reactive-forms).\n *\n * @see [Reactive Forms Guide](guide/reactive-forms)\n * @see `FormControl`\n * @see `AbstractControl`\n *\n * @usageNotes\n *\n * The following example shows how to register a standalone control and set its value.\n *\n * {@example forms/ts/simpleFormControl/simple_form_control_example.ts region='Component'}\n *\n * @ngModule ReactiveFormsModule\n * @publicApi\n */\nclass FormControlDirective extends NgControl {\n /**\n * @description\n * Triggers a warning in dev mode that this input should not be used with reactive forms.\n */\n set isDisabled(isDisabled) {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n console.warn(disabledAttrWarning);\n }\n }\n /**\n * @description\n * Static property used to track whether any ngModel warnings have been sent across\n * all instances of FormControlDirective. Used to support warning config of \"once\".\n *\n * @internal\n */\n static { this._ngModelWarningSentOnce = false; }\n constructor(validators, asyncValidators, valueAccessors, _ngModelWarningConfig, callSetDisabledState) {\n super();\n this._ngModelWarningConfig = _ngModelWarningConfig;\n this.callSetDisabledState = callSetDisabledState;\n /** @deprecated as of v6 */\n this.update = new EventEmitter();\n /**\n * @description\n * Instance property used to track whether an ngModel warning has been sent out for this\n * particular `FormControlDirective` instance. Used to support warning config of \"always\".\n *\n * @internal\n */\n this._ngModelWarningSent = false;\n this._setValidators(validators);\n this._setAsyncValidators(asyncValidators);\n this.valueAccessor = selectValueAccessor(this, valueAccessors);\n }\n /** @nodoc */\n ngOnChanges(changes) {\n if (this._isControlChanged(changes)) {\n const previousForm = changes['form'].previousValue;\n if (previousForm) {\n cleanUpControl(previousForm, this, /* validateControlPresenceOnChange */ false);\n }\n setUpControl(this.form, this, this.callSetDisabledState);\n this.form.updateValueAndValidity({ emitEvent: false });\n }\n if (isPropertyUpdated(changes, this.viewModel)) {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n _ngModelWarning('formControl', FormControlDirective, this, this._ngModelWarningConfig);\n }\n this.form.setValue(this.model);\n this.viewModel = this.model;\n }\n }\n /** @nodoc */\n ngOnDestroy() {\n if (this.form) {\n cleanUpControl(this.form, this, /* validateControlPresenceOnChange */ false);\n }\n }\n /**\n * @description\n * Returns an array that represents the path from the top-level form to this control.\n * Each index is the string name of the control on that level.\n */\n get path() {\n return [];\n }\n /**\n * @description\n * The `FormControl` bound to this directive.\n */\n get control() {\n return this.form;\n }\n /**\n * @description\n * Sets the new value for the view model and emits an `ngModelChange` event.\n *\n * @param newValue The new value for the view model.\n */\n viewToModelUpdate(newValue) {\n this.viewModel = newValue;\n this.update.emit(newValue);\n }\n _isControlChanged(changes) {\n return changes.hasOwnProperty('form');\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormControlDirective, deps: [{ token: NG_VALIDATORS, optional: true, self: true }, { token: NG_ASYNC_VALIDATORS, optional: true, self: true }, { token: NG_VALUE_ACCESSOR, optional: true, self: true }, { token: NG_MODEL_WITH_FORM_CONTROL_WARNING, optional: true }, { token: CALL_SET_DISABLED_STATE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: FormControlDirective, selector: \"[formControl]\", inputs: { form: [\"formControl\", \"form\"], isDisabled: [\"disabled\", \"isDisabled\"], model: [\"ngModel\", \"model\"] }, outputs: { update: \"ngModelChange\" }, providers: [formControlBinding], exportAs: [\"ngForm\"], usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormControlDirective, decorators: [{\n type: Directive,\n args: [{ selector: '[formControl]', providers: [formControlBinding], exportAs: 'ngForm' }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Optional\n }, {\n type: Self\n }, {\n type: Inject,\n args: [NG_VALIDATORS]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Self\n }, {\n type: Inject,\n args: [NG_ASYNC_VALIDATORS]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Self\n }, {\n type: Inject,\n args: [NG_VALUE_ACCESSOR]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [NG_MODEL_WITH_FORM_CONTROL_WARNING]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [CALL_SET_DISABLED_STATE]\n }] }]; }, propDecorators: { form: [{\n type: Input,\n args: ['formControl']\n }], isDisabled: [{\n type: Input,\n args: ['disabled']\n }], model: [{\n type: Input,\n args: ['ngModel']\n }], update: [{\n type: Output,\n args: ['ngModelChange']\n }] } });\n\nconst formDirectiveProvider = {\n provide: ControlContainer,\n useExisting: forwardRef(() => FormGroupDirective)\n};\n/**\n * @description\n *\n * Binds an existing `FormGroup` or `FormRecord` to a DOM element.\n *\n * This directive accepts an existing `FormGroup` instance. It will then use this\n * `FormGroup` instance to match any child `FormControl`, `FormGroup`/`FormRecord`,\n * and `FormArray` instances to child `FormControlName`, `FormGroupName`,\n * and `FormArrayName` directives.\n *\n * @see [Reactive Forms Guide](guide/reactive-forms)\n * @see `AbstractControl`\n *\n * @usageNotes\n * ### Register Form Group\n *\n * The following example registers a `FormGroup` with first name and last name controls,\n * and listens for the *ngSubmit* event when the button is clicked.\n *\n * {@example forms/ts/simpleFormGroup/simple_form_group_example.ts region='Component'}\n *\n * @ngModule ReactiveFormsModule\n * @publicApi\n */\nclass FormGroupDirective extends ControlContainer {\n constructor(validators, asyncValidators, callSetDisabledState) {\n super();\n this.callSetDisabledState = callSetDisabledState;\n /**\n * @description\n * Reports whether the form submission has been triggered.\n */\n this.submitted = false;\n /**\n * Callback that should be invoked when controls in FormGroup or FormArray collection change\n * (added or removed). This callback triggers corresponding DOM updates.\n */\n this._onCollectionChange = () => this._updateDomValue();\n /**\n * @description\n * Tracks the list of added `FormControlName` instances\n */\n this.directives = [];\n /**\n * @description\n * Tracks the `FormGroup` bound to this directive.\n */\n this.form = null;\n /**\n * @description\n * Emits an event when the form submission has been triggered.\n */\n this.ngSubmit = new EventEmitter();\n this._setValidators(validators);\n this._setAsyncValidators(asyncValidators);\n }\n /** @nodoc */\n ngOnChanges(changes) {\n this._checkFormPresent();\n if (changes.hasOwnProperty('form')) {\n this._updateValidators();\n this._updateDomValue();\n this._updateRegistrations();\n this._oldForm = this.form;\n }\n }\n /** @nodoc */\n ngOnDestroy() {\n if (this.form) {\n cleanUpValidators(this.form, this);\n // Currently the `onCollectionChange` callback is rewritten each time the\n // `_registerOnCollectionChange` function is invoked. The implication is that cleanup should\n // happen *only* when the `onCollectionChange` callback was set by this directive instance.\n // Otherwise it might cause overriding a callback of some other directive instances. We should\n // consider updating this logic later to make it similar to how `onChange` callbacks are\n // handled, see https://github.com/angular/angular/issues/39732 for additional info.\n if (this.form._onCollectionChange === this._onCollectionChange) {\n this.form._registerOnCollectionChange(() => { });\n }\n }\n }\n /**\n * @description\n * Returns this directive's instance.\n */\n get formDirective() {\n return this;\n }\n /**\n * @description\n * Returns the `FormGroup` bound to this directive.\n */\n get control() {\n return this.form;\n }\n /**\n * @description\n * Returns an array representing the path to this group. Because this directive\n * always lives at the top level of a form, it always an empty array.\n */\n get path() {\n return [];\n }\n /**\n * @description\n * Method that sets up the control directive in this group, re-calculates its value\n * and validity, and adds the instance to the internal list of directives.\n *\n * @param dir The `FormControlName` directive instance.\n */\n addControl(dir) {\n const ctrl = this.form.get(dir.path);\n setUpControl(ctrl, dir, this.callSetDisabledState);\n ctrl.updateValueAndValidity({ emitEvent: false });\n this.directives.push(dir);\n return ctrl;\n }\n /**\n * @description\n * Retrieves the `FormControl` instance from the provided `FormControlName` directive\n *\n * @param dir The `FormControlName` directive instance.\n */\n getControl(dir) {\n return this.form.get(dir.path);\n }\n /**\n * @description\n * Removes the `FormControlName` instance from the internal list of directives\n *\n * @param dir The `FormControlName` directive instance.\n */\n removeControl(dir) {\n cleanUpControl(dir.control || null, dir, /* validateControlPresenceOnChange */ false);\n removeListItem$1(this.directives, dir);\n }\n /**\n * Adds a new `FormGroupName` directive instance to the form.\n *\n * @param dir The `FormGroupName` directive instance.\n */\n addFormGroup(dir) {\n this._setUpFormContainer(dir);\n }\n /**\n * Performs the necessary cleanup when a `FormGroupName` directive instance is removed from the\n * view.\n *\n * @param dir The `FormGroupName` directive instance.\n */\n removeFormGroup(dir) {\n this._cleanUpFormContainer(dir);\n }\n /**\n * @description\n * Retrieves the `FormGroup` for a provided `FormGroupName` directive instance\n *\n * @param dir The `FormGroupName` directive instance.\n */\n getFormGroup(dir) {\n return this.form.get(dir.path);\n }\n /**\n * Performs the necessary setup when a `FormArrayName` directive instance is added to the view.\n *\n * @param dir The `FormArrayName` directive instance.\n */\n addFormArray(dir) {\n this._setUpFormContainer(dir);\n }\n /**\n * Performs the necessary cleanup when a `FormArrayName` directive instance is removed from the\n * view.\n *\n * @param dir The `FormArrayName` directive instance.\n */\n removeFormArray(dir) {\n this._cleanUpFormContainer(dir);\n }\n /**\n * @description\n * Retrieves the `FormArray` for a provided `FormArrayName` directive instance.\n *\n * @param dir The `FormArrayName` directive instance.\n */\n getFormArray(dir) {\n return this.form.get(dir.path);\n }\n /**\n * Sets the new value for the provided `FormControlName` directive.\n *\n * @param dir The `FormControlName` directive instance.\n * @param value The new value for the directive's control.\n */\n updateModel(dir, value) {\n const ctrl = this.form.get(dir.path);\n ctrl.setValue(value);\n }\n /**\n * @description\n * Method called with the \"submit\" event is triggered on the form.\n * Triggers the `ngSubmit` emitter to emit the \"submit\" event as its payload.\n *\n * @param $event The \"submit\" event object\n */\n onSubmit($event) {\n this.submitted = true;\n syncPendingControls(this.form, this.directives);\n this.ngSubmit.emit($event);\n // Forms with `method=\"dialog\"` have some special behavior that won't reload the page and that\n // shouldn't be prevented. Note that we need to null check the `event` and the `target`, because\n // some internal apps call this method directly with the wrong arguments.\n return $event?.target?.method === 'dialog';\n }\n /**\n * @description\n * Method called when the \"reset\" event is triggered on the form.\n */\n onReset() {\n this.resetForm();\n }\n /**\n * @description\n * Resets the form to an initial value and resets its submitted status.\n *\n * @param value The new value for the form.\n */\n resetForm(value = undefined) {\n this.form.reset(value);\n this.submitted = false;\n }\n /** @internal */\n _updateDomValue() {\n this.directives.forEach(dir => {\n const oldCtrl = dir.control;\n const newCtrl = this.form.get(dir.path);\n if (oldCtrl !== newCtrl) {\n // Note: the value of the `dir.control` may not be defined, for example when it's a first\n // `FormControl` that is added to a `FormGroup` instance (via `addControl` call).\n cleanUpControl(oldCtrl || null, dir);\n // Check whether new control at the same location inside the corresponding `FormGroup` is an\n // instance of `FormControl` and perform control setup only if that's the case.\n // Note: we don't need to clear the list of directives (`this.directives`) here, it would be\n // taken care of in the `removeControl` method invoked when corresponding `formControlName`\n // directive instance is being removed (invoked from `FormControlName.ngOnDestroy`).\n if (isFormControl(newCtrl)) {\n setUpControl(newCtrl, dir, this.callSetDisabledState);\n dir.control = newCtrl;\n }\n }\n });\n this.form._updateTreeValidity({ emitEvent: false });\n }\n _setUpFormContainer(dir) {\n const ctrl = this.form.get(dir.path);\n setUpFormContainer(ctrl, dir);\n // NOTE: this operation looks unnecessary in case no new validators were added in\n // `setUpFormContainer` call. Consider updating this code to match the logic in\n // `_cleanUpFormContainer` function.\n ctrl.updateValueAndValidity({ emitEvent: false });\n }\n _cleanUpFormContainer(dir) {\n if (this.form) {\n const ctrl = this.form.get(dir.path);\n if (ctrl) {\n const isControlUpdated = cleanUpFormContainer(ctrl, dir);\n if (isControlUpdated) {\n // Run validity check only in case a control was updated (i.e. view validators were\n // removed) as removing view validators might cause validity to change.\n ctrl.updateValueAndValidity({ emitEvent: false });\n }\n }\n }\n }\n _updateRegistrations() {\n this.form._registerOnCollectionChange(this._onCollectionChange);\n if (this._oldForm) {\n this._oldForm._registerOnCollectionChange(() => { });\n }\n }\n _updateValidators() {\n setUpValidators(this.form, this);\n if (this._oldForm) {\n cleanUpValidators(this._oldForm, this);\n }\n }\n _checkFormPresent() {\n if (!this.form && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw missingFormException();\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormGroupDirective, deps: [{ token: NG_VALIDATORS, optional: true, self: true }, { token: NG_ASYNC_VALIDATORS, optional: true, self: true }, { token: CALL_SET_DISABLED_STATE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: FormGroupDirective, selector: \"[formGroup]\", inputs: { form: [\"formGroup\", \"form\"] }, outputs: { ngSubmit: \"ngSubmit\" }, host: { listeners: { \"submit\": \"onSubmit($event)\", \"reset\": \"onReset()\" } }, providers: [formDirectiveProvider], exportAs: [\"ngForm\"], usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormGroupDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[formGroup]',\n providers: [formDirectiveProvider],\n host: { '(submit)': 'onSubmit($event)', '(reset)': 'onReset()' },\n exportAs: 'ngForm'\n }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Optional\n }, {\n type: Self\n }, {\n type: Inject,\n args: [NG_VALIDATORS]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Self\n }, {\n type: Inject,\n args: [NG_ASYNC_VALIDATORS]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [CALL_SET_DISABLED_STATE]\n }] }]; }, propDecorators: { form: [{\n type: Input,\n args: ['formGroup']\n }], ngSubmit: [{\n type: Output\n }] } });\n\nconst formGroupNameProvider = {\n provide: ControlContainer,\n useExisting: forwardRef(() => FormGroupName)\n};\n/**\n * @description\n *\n * Syncs a nested `FormGroup` or `FormRecord` to a DOM element.\n *\n * This directive can only be used with a parent `FormGroupDirective`.\n *\n * It accepts the string name of the nested `FormGroup` or `FormRecord` to link, and\n * looks for a `FormGroup` or `FormRecord` registered with that name in the parent\n * `FormGroup` instance you passed into `FormGroupDirective`.\n *\n * Use nested form groups to validate a sub-group of a\n * form separately from the rest or to group the values of certain\n * controls into their own nested object.\n *\n * @see [Reactive Forms Guide](guide/reactive-forms)\n *\n * @usageNotes\n *\n * ### Access the group by name\n *\n * The following example uses the `AbstractControl.get` method to access the\n * associated `FormGroup`\n *\n * ```ts\n * this.form.get('name');\n * ```\n *\n * ### Access individual controls in the group\n *\n * The following example uses the `AbstractControl.get` method to access\n * individual controls within the group using dot syntax.\n *\n * ```ts\n * this.form.get('name.first');\n * ```\n *\n * ### Register a nested `FormGroup`.\n *\n * The following example registers a nested *name* `FormGroup` within an existing `FormGroup`,\n * and provides methods to retrieve the nested `FormGroup` and individual controls.\n *\n * {@example forms/ts/nestedFormGroup/nested_form_group_example.ts region='Component'}\n *\n * @ngModule ReactiveFormsModule\n * @publicApi\n */\nclass FormGroupName extends AbstractFormGroupDirective {\n constructor(parent, validators, asyncValidators) {\n super();\n /**\n * @description\n * Tracks the name of the `FormGroup` bound to the directive. The name corresponds\n * to a key in the parent `FormGroup` or `FormArray`.\n * Accepts a name as a string or a number.\n * The name in the form of a string is useful for individual forms,\n * while the numerical form allows for form groups to be bound\n * to indices when iterating over groups in a `FormArray`.\n */\n this.name = null;\n this._parent = parent;\n this._setValidators(validators);\n this._setAsyncValidators(asyncValidators);\n }\n /** @internal */\n _checkParentType() {\n if (_hasInvalidParent(this._parent) && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw groupParentException();\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormGroupName, deps: [{ token: ControlContainer, host: true, optional: true, skipSelf: true }, { token: NG_VALIDATORS, optional: true, self: true }, { token: NG_ASYNC_VALIDATORS, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: FormGroupName, selector: \"[formGroupName]\", inputs: { name: [\"formGroupName\", \"name\"] }, providers: [formGroupNameProvider], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormGroupName, decorators: [{\n type: Directive,\n args: [{ selector: '[formGroupName]', providers: [formGroupNameProvider] }]\n }], ctorParameters: function () { return [{ type: ControlContainer, decorators: [{\n type: Optional\n }, {\n type: Host\n }, {\n type: SkipSelf\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Self\n }, {\n type: Inject,\n args: [NG_VALIDATORS]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Self\n }, {\n type: Inject,\n args: [NG_ASYNC_VALIDATORS]\n }] }]; }, propDecorators: { name: [{\n type: Input,\n args: ['formGroupName']\n }] } });\nconst formArrayNameProvider = {\n provide: ControlContainer,\n useExisting: forwardRef(() => FormArrayName)\n};\n/**\n * @description\n *\n * Syncs a nested `FormArray` to a DOM element.\n *\n * This directive is designed to be used with a parent `FormGroupDirective` (selector:\n * `[formGroup]`).\n *\n * It accepts the string name of the nested `FormArray` you want to link, and\n * will look for a `FormArray` registered with that name in the parent\n * `FormGroup` instance you passed into `FormGroupDirective`.\n *\n * @see [Reactive Forms Guide](guide/reactive-forms)\n * @see `AbstractControl`\n *\n * @usageNotes\n *\n * ### Example\n *\n * {@example forms/ts/nestedFormArray/nested_form_array_example.ts region='Component'}\n *\n * @ngModule ReactiveFormsModule\n * @publicApi\n */\nclass FormArrayName extends ControlContainer {\n constructor(parent, validators, asyncValidators) {\n super();\n /**\n * @description\n * Tracks the name of the `FormArray` bound to the directive. The name corresponds\n * to a key in the parent `FormGroup` or `FormArray`.\n * Accepts a name as a string or a number.\n * The name in the form of a string is useful for individual forms,\n * while the numerical form allows for form arrays to be bound\n * to indices when iterating over arrays in a `FormArray`.\n */\n this.name = null;\n this._parent = parent;\n this._setValidators(validators);\n this._setAsyncValidators(asyncValidators);\n }\n /**\n * A lifecycle method called when the directive's inputs are initialized. For internal use only.\n * @throws If the directive does not have a valid parent.\n * @nodoc\n */\n ngOnInit() {\n this._checkParentType();\n this.formDirective.addFormArray(this);\n }\n /**\n * A lifecycle method called before the directive's instance is destroyed. For internal use only.\n * @nodoc\n */\n ngOnDestroy() {\n if (this.formDirective) {\n this.formDirective.removeFormArray(this);\n }\n }\n /**\n * @description\n * The `FormArray` bound to this directive.\n */\n get control() {\n return this.formDirective.getFormArray(this);\n }\n /**\n * @description\n * The top-level directive for this group if present, otherwise null.\n */\n get formDirective() {\n return this._parent ? this._parent.formDirective : null;\n }\n /**\n * @description\n * Returns an array that represents the path from the top-level form to this control.\n * Each index is the string name of the control on that level.\n */\n get path() {\n return controlPath(this.name == null ? this.name : this.name.toString(), this._parent);\n }\n _checkParentType() {\n if (_hasInvalidParent(this._parent) && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw arrayParentException();\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormArrayName, deps: [{ token: ControlContainer, host: true, optional: true, skipSelf: true }, { token: NG_VALIDATORS, optional: true, self: true }, { token: NG_ASYNC_VALIDATORS, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: FormArrayName, selector: \"[formArrayName]\", inputs: { name: [\"formArrayName\", \"name\"] }, providers: [formArrayNameProvider], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormArrayName, decorators: [{\n type: Directive,\n args: [{ selector: '[formArrayName]', providers: [formArrayNameProvider] }]\n }], ctorParameters: function () { return [{ type: ControlContainer, decorators: [{\n type: Optional\n }, {\n type: Host\n }, {\n type: SkipSelf\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Self\n }, {\n type: Inject,\n args: [NG_VALIDATORS]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Self\n }, {\n type: Inject,\n args: [NG_ASYNC_VALIDATORS]\n }] }]; }, propDecorators: { name: [{\n type: Input,\n args: ['formArrayName']\n }] } });\nfunction _hasInvalidParent(parent) {\n return !(parent instanceof FormGroupName) && !(parent instanceof FormGroupDirective) &&\n !(parent instanceof FormArrayName);\n}\n\nconst controlNameBinding = {\n provide: NgControl,\n useExisting: forwardRef(() => FormControlName)\n};\n/**\n * @description\n * Syncs a `FormControl` in an existing `FormGroup` to a form control\n * element by name.\n *\n * @see [Reactive Forms Guide](guide/reactive-forms)\n * @see `FormControl`\n * @see `AbstractControl`\n *\n * @usageNotes\n *\n * ### Register `FormControl` within a group\n *\n * The following example shows how to register multiple form controls within a form group\n * and set their value.\n *\n * {@example forms/ts/simpleFormGroup/simple_form_group_example.ts region='Component'}\n *\n * To see `formControlName` examples with different form control types, see:\n *\n * * Radio buttons: `RadioControlValueAccessor`\n * * Selects: `SelectControlValueAccessor`\n *\n * ### Use with ngModel is deprecated\n *\n * Support for using the `ngModel` input property and `ngModelChange` event with reactive\n * form directives has been deprecated in Angular v6 and is scheduled for removal in\n * a future version of Angular.\n *\n * For details, see [Deprecated features](guide/deprecations#ngmodel-with-reactive-forms).\n *\n * @ngModule ReactiveFormsModule\n * @publicApi\n */\nclass FormControlName extends NgControl {\n /**\n * @description\n * Triggers a warning in dev mode that this input should not be used with reactive forms.\n */\n set isDisabled(isDisabled) {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n console.warn(disabledAttrWarning);\n }\n }\n /**\n * @description\n * Static property used to track whether any ngModel warnings have been sent across\n * all instances of FormControlName. Used to support warning config of \"once\".\n *\n * @internal\n */\n static { this._ngModelWarningSentOnce = false; }\n constructor(parent, validators, asyncValidators, valueAccessors, _ngModelWarningConfig) {\n super();\n this._ngModelWarningConfig = _ngModelWarningConfig;\n this._added = false;\n /**\n * @description\n * Tracks the name of the `FormControl` bound to the directive. The name corresponds\n * to a key in the parent `FormGroup` or `FormArray`.\n * Accepts a name as a string or a number.\n * The name in the form of a string is useful for individual forms,\n * while the numerical form allows for form controls to be bound\n * to indices when iterating over controls in a `FormArray`.\n */\n this.name = null;\n /** @deprecated as of v6 */\n this.update = new EventEmitter();\n /**\n * @description\n * Instance property used to track whether an ngModel warning has been sent out for this\n * particular FormControlName instance. Used to support warning config of \"always\".\n *\n * @internal\n */\n this._ngModelWarningSent = false;\n this._parent = parent;\n this._setValidators(validators);\n this._setAsyncValidators(asyncValidators);\n this.valueAccessor = selectValueAccessor(this, valueAccessors);\n }\n /** @nodoc */\n ngOnChanges(changes) {\n if (!this._added)\n this._setUpControl();\n if (isPropertyUpdated(changes, this.viewModel)) {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n _ngModelWarning('formControlName', FormControlName, this, this._ngModelWarningConfig);\n }\n this.viewModel = this.model;\n this.formDirective.updateModel(this, this.model);\n }\n }\n /** @nodoc */\n ngOnDestroy() {\n if (this.formDirective) {\n this.formDirective.removeControl(this);\n }\n }\n /**\n * @description\n * Sets the new value for the view model and emits an `ngModelChange` event.\n *\n * @param newValue The new value for the view model.\n */\n viewToModelUpdate(newValue) {\n this.viewModel = newValue;\n this.update.emit(newValue);\n }\n /**\n * @description\n * Returns an array that represents the path from the top-level form to this control.\n * Each index is the string name of the control on that level.\n */\n get path() {\n return controlPath(this.name == null ? this.name : this.name.toString(), this._parent);\n }\n /**\n * @description\n * The top-level directive for this group if present, otherwise null.\n */\n get formDirective() {\n return this._parent ? this._parent.formDirective : null;\n }\n _checkParentType() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!(this._parent instanceof FormGroupName) &&\n this._parent instanceof AbstractFormGroupDirective) {\n throw ngModelGroupException();\n }\n else if (!(this._parent instanceof FormGroupName) &&\n !(this._parent instanceof FormGroupDirective) &&\n !(this._parent instanceof FormArrayName)) {\n throw controlParentException();\n }\n }\n }\n _setUpControl() {\n this._checkParentType();\n this.control = this.formDirective.addControl(this);\n this._added = true;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormControlName, deps: [{ token: ControlContainer, host: true, optional: true, skipSelf: true }, { token: NG_VALIDATORS, optional: true, self: true }, { token: NG_ASYNC_VALIDATORS, optional: true, self: true }, { token: NG_VALUE_ACCESSOR, optional: true, self: true }, { token: NG_MODEL_WITH_FORM_CONTROL_WARNING, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: FormControlName, selector: \"[formControlName]\", inputs: { name: [\"formControlName\", \"name\"], isDisabled: [\"disabled\", \"isDisabled\"], model: [\"ngModel\", \"model\"] }, outputs: { update: \"ngModelChange\" }, providers: [controlNameBinding], usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormControlName, decorators: [{\n type: Directive,\n args: [{ selector: '[formControlName]', providers: [controlNameBinding] }]\n }], ctorParameters: function () { return [{ type: ControlContainer, decorators: [{\n type: Optional\n }, {\n type: Host\n }, {\n type: SkipSelf\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Self\n }, {\n type: Inject,\n args: [NG_VALIDATORS]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Self\n }, {\n type: Inject,\n args: [NG_ASYNC_VALIDATORS]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Self\n }, {\n type: Inject,\n args: [NG_VALUE_ACCESSOR]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [NG_MODEL_WITH_FORM_CONTROL_WARNING]\n }] }]; }, propDecorators: { name: [{\n type: Input,\n args: ['formControlName']\n }], isDisabled: [{\n type: Input,\n args: ['disabled']\n }], model: [{\n type: Input,\n args: ['ngModel']\n }], update: [{\n type: Output,\n args: ['ngModelChange']\n }] } });\n\nconst SELECT_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => SelectControlValueAccessor),\n multi: true\n};\nfunction _buildValueString$1(id, value) {\n if (id == null)\n return `${value}`;\n if (value && typeof value === 'object')\n value = 'Object';\n return `${id}: ${value}`.slice(0, 50);\n}\nfunction _extractId$1(valueString) {\n return valueString.split(':')[0];\n}\n/**\n * @description\n * The `ControlValueAccessor` for writing select control values and listening to select control\n * changes. The value accessor is used by the `FormControlDirective`, `FormControlName`, and\n * `NgModel` directives.\n *\n * @usageNotes\n *\n * ### Using select controls in a reactive form\n *\n * The following examples show how to use a select control in a reactive form.\n *\n * {@example forms/ts/reactiveSelectControl/reactive_select_control_example.ts region='Component'}\n *\n * ### Using select controls in a template-driven form\n *\n * To use a select in a template-driven form, simply add an `ngModel` and a `name`\n * attribute to the main `<select>` tag.\n *\n * {@example forms/ts/selectControl/select_control_example.ts region='Component'}\n *\n * ### Customizing option selection\n *\n * Angular uses object identity to select option. It's possible for the identities of items\n * to change while the data does not. This can happen, for example, if the items are produced\n * from an RPC to the server, and that RPC is re-run. Even if the data hasn't changed, the\n * second response will produce objects with different identities.\n *\n * To customize the default option comparison algorithm, `<select>` supports `compareWith` input.\n * `compareWith` takes a **function** which has two arguments: `option1` and `option2`.\n * If `compareWith` is given, Angular selects option by the return value of the function.\n *\n * ```ts\n * const selectedCountriesControl = new FormControl();\n * ```\n *\n * ```\n * <select [compareWith]=\"compareFn\" [formControl]=\"selectedCountriesControl\">\n * <option *ngFor=\"let country of countries\" [ngValue]=\"country\">\n * {{country.name}}\n * </option>\n * </select>\n *\n * compareFn(c1: Country, c2: Country): boolean {\n * return c1 && c2 ? c1.id === c2.id : c1 === c2;\n * }\n * ```\n *\n * **Note:** We listen to the 'change' event because 'input' events aren't fired\n * for selects in IE, see:\n * https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event#browser_compatibility\n *\n * @ngModule ReactiveFormsModule\n * @ngModule FormsModule\n * @publicApi\n */\nclass SelectControlValueAccessor extends BuiltInControlValueAccessor {\n constructor() {\n super(...arguments);\n /** @internal */\n this._optionMap = new Map();\n /** @internal */\n this._idCounter = 0;\n this._compareWith = Object.is;\n }\n /**\n * @description\n * Tracks the option comparison algorithm for tracking identities when\n * checking for changes.\n */\n set compareWith(fn) {\n if (typeof fn !== 'function' && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw new ɵRuntimeError(1201 /* RuntimeErrorCode.COMPAREWITH_NOT_A_FN */, `compareWith must be a function, but received ${JSON.stringify(fn)}`);\n }\n this._compareWith = fn;\n }\n /**\n * Sets the \"value\" property on the select element.\n * @nodoc\n */\n writeValue(value) {\n this.value = value;\n const id = this._getOptionId(value);\n const valueString = _buildValueString$1(id, value);\n this.setProperty('value', valueString);\n }\n /**\n * Registers a function called when the control value changes.\n * @nodoc\n */\n registerOnChange(fn) {\n this.onChange = (valueString) => {\n this.value = this._getOptionValue(valueString);\n fn(this.value);\n };\n }\n /** @internal */\n _registerOption() {\n return (this._idCounter++).toString();\n }\n /** @internal */\n _getOptionId(value) {\n for (const id of this._optionMap.keys()) {\n if (this._compareWith(this._optionMap.get(id), value))\n return id;\n }\n return null;\n }\n /** @internal */\n _getOptionValue(valueString) {\n const id = _extractId$1(valueString);\n return this._optionMap.has(id) ? this._optionMap.get(id) : valueString;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: SelectControlValueAccessor, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: SelectControlValueAccessor, selector: \"select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]\", inputs: { compareWith: \"compareWith\" }, host: { listeners: { \"change\": \"onChange($event.target.value)\", \"blur\": \"onTouched()\" } }, providers: [SELECT_VALUE_ACCESSOR], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: SelectControlValueAccessor, decorators: [{\n type: Directive,\n args: [{\n selector: 'select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]',\n host: { '(change)': 'onChange($event.target.value)', '(blur)': 'onTouched()' },\n providers: [SELECT_VALUE_ACCESSOR]\n }]\n }], propDecorators: { compareWith: [{\n type: Input\n }] } });\n/**\n * @description\n * Marks `<option>` as dynamic, so Angular can be notified when options change.\n *\n * @see `SelectControlValueAccessor`\n *\n * @ngModule ReactiveFormsModule\n * @ngModule FormsModule\n * @publicApi\n */\nclass NgSelectOption {\n constructor(_element, _renderer, _select) {\n this._element = _element;\n this._renderer = _renderer;\n this._select = _select;\n if (this._select)\n this.id = this._select._registerOption();\n }\n /**\n * @description\n * Tracks the value bound to the option element. Unlike the value binding,\n * ngValue supports binding to objects.\n */\n set ngValue(value) {\n if (this._select == null)\n return;\n this._select._optionMap.set(this.id, value);\n this._setElementValue(_buildValueString$1(this.id, value));\n this._select.writeValue(this._select.value);\n }\n /**\n * @description\n * Tracks simple string values bound to the option element.\n * For objects, use the `ngValue` input binding.\n */\n set value(value) {\n this._setElementValue(value);\n if (this._select)\n this._select.writeValue(this._select.value);\n }\n /** @internal */\n _setElementValue(value) {\n this._renderer.setProperty(this._element.nativeElement, 'value', value);\n }\n /** @nodoc */\n ngOnDestroy() {\n if (this._select) {\n this._select._optionMap.delete(this.id);\n this._select.writeValue(this._select.value);\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NgSelectOption, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: SelectControlValueAccessor, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: NgSelectOption, selector: \"option\", inputs: { ngValue: \"ngValue\", value: \"value\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NgSelectOption, decorators: [{\n type: Directive,\n args: [{ selector: 'option' }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: SelectControlValueAccessor, decorators: [{\n type: Optional\n }, {\n type: Host\n }] }]; }, propDecorators: { ngValue: [{\n type: Input,\n args: ['ngValue']\n }], value: [{\n type: Input,\n args: ['value']\n }] } });\n\nconst SELECT_MULTIPLE_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => SelectMultipleControlValueAccessor),\n multi: true\n};\nfunction _buildValueString(id, value) {\n if (id == null)\n return `${value}`;\n if (typeof value === 'string')\n value = `'${value}'`;\n if (value && typeof value === 'object')\n value = 'Object';\n return `${id}: ${value}`.slice(0, 50);\n}\nfunction _extractId(valueString) {\n return valueString.split(':')[0];\n}\n/** Mock interface for HTMLCollection */\nclass HTMLCollection {\n}\n/**\n * @description\n * The `ControlValueAccessor` for writing multi-select control values and listening to multi-select\n * control changes. The value accessor is used by the `FormControlDirective`, `FormControlName`, and\n * `NgModel` directives.\n *\n * @see `SelectControlValueAccessor`\n *\n * @usageNotes\n *\n * ### Using a multi-select control\n *\n * The follow example shows you how to use a multi-select control with a reactive form.\n *\n * ```ts\n * const countryControl = new FormControl();\n * ```\n *\n * ```\n * <select multiple name=\"countries\" [formControl]=\"countryControl\">\n * <option *ngFor=\"let country of countries\" [ngValue]=\"country\">\n * {{ country.name }}\n * </option>\n * </select>\n * ```\n *\n * ### Customizing option selection\n *\n * To customize the default option comparison algorithm, `<select>` supports `compareWith` input.\n * See the `SelectControlValueAccessor` for usage.\n *\n * @ngModule ReactiveFormsModule\n * @ngModule FormsModule\n * @publicApi\n */\nclass SelectMultipleControlValueAccessor extends BuiltInControlValueAccessor {\n constructor() {\n super(...arguments);\n /** @internal */\n this._optionMap = new Map();\n /** @internal */\n this._idCounter = 0;\n this._compareWith = Object.is;\n }\n /**\n * @description\n * Tracks the option comparison algorithm for tracking identities when\n * checking for changes.\n */\n set compareWith(fn) {\n if (typeof fn !== 'function' && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw new ɵRuntimeError(1201 /* RuntimeErrorCode.COMPAREWITH_NOT_A_FN */, `compareWith must be a function, but received ${JSON.stringify(fn)}`);\n }\n this._compareWith = fn;\n }\n /**\n * Sets the \"value\" property on one or of more of the select's options.\n * @nodoc\n */\n writeValue(value) {\n this.value = value;\n let optionSelectedStateSetter;\n if (Array.isArray(value)) {\n // convert values to ids\n const ids = value.map((v) => this._getOptionId(v));\n optionSelectedStateSetter = (opt, o) => {\n opt._setSelected(ids.indexOf(o.toString()) > -1);\n };\n }\n else {\n optionSelectedStateSetter = (opt, o) => {\n opt._setSelected(false);\n };\n }\n this._optionMap.forEach(optionSelectedStateSetter);\n }\n /**\n * Registers a function called when the control value changes\n * and writes an array of the selected options.\n * @nodoc\n */\n registerOnChange(fn) {\n this.onChange = (element) => {\n const selected = [];\n const selectedOptions = element.selectedOptions;\n if (selectedOptions !== undefined) {\n const options = selectedOptions;\n for (let i = 0; i < options.length; i++) {\n const opt = options[i];\n const val = this._getOptionValue(opt.value);\n selected.push(val);\n }\n }\n // Degrade to use `options` when `selectedOptions` property is not available.\n // Note: the `selectedOptions` is available in all supported browsers, but the Domino lib\n // doesn't have it currently, see https://github.com/fgnass/domino/issues/177.\n else {\n const options = element.options;\n for (let i = 0; i < options.length; i++) {\n const opt = options[i];\n if (opt.selected) {\n const val = this._getOptionValue(opt.value);\n selected.push(val);\n }\n }\n }\n this.value = selected;\n fn(selected);\n };\n }\n /** @internal */\n _registerOption(value) {\n const id = (this._idCounter++).toString();\n this._optionMap.set(id, value);\n return id;\n }\n /** @internal */\n _getOptionId(value) {\n for (const id of this._optionMap.keys()) {\n if (this._compareWith(this._optionMap.get(id)._value, value))\n return id;\n }\n return null;\n }\n /** @internal */\n _getOptionValue(valueString) {\n const id = _extractId(valueString);\n return this._optionMap.has(id) ? this._optionMap.get(id)._value : valueString;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: SelectMultipleControlValueAccessor, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: SelectMultipleControlValueAccessor, selector: \"select[multiple][formControlName],select[multiple][formControl],select[multiple][ngModel]\", inputs: { compareWith: \"compareWith\" }, host: { listeners: { \"change\": \"onChange($event.target)\", \"blur\": \"onTouched()\" } }, providers: [SELECT_MULTIPLE_VALUE_ACCESSOR], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: SelectMultipleControlValueAccessor, decorators: [{\n type: Directive,\n args: [{\n selector: 'select[multiple][formControlName],select[multiple][formControl],select[multiple][ngModel]',\n host: { '(change)': 'onChange($event.target)', '(blur)': 'onTouched()' },\n providers: [SELECT_MULTIPLE_VALUE_ACCESSOR]\n }]\n }], propDecorators: { compareWith: [{\n type: Input\n }] } });\n/**\n * @description\n * Marks `<option>` as dynamic, so Angular can be notified when options change.\n *\n * @see `SelectMultipleControlValueAccessor`\n *\n * @ngModule ReactiveFormsModule\n * @ngModule FormsModule\n * @publicApi\n */\nclass ɵNgSelectMultipleOption {\n constructor(_element, _renderer, _select) {\n this._element = _element;\n this._renderer = _renderer;\n this._select = _select;\n if (this._select) {\n this.id = this._select._registerOption(this);\n }\n }\n /**\n * @description\n * Tracks the value bound to the option element. Unlike the value binding,\n * ngValue supports binding to objects.\n */\n set ngValue(value) {\n if (this._select == null)\n return;\n this._value = value;\n this._setElementValue(_buildValueString(this.id, value));\n this._select.writeValue(this._select.value);\n }\n /**\n * @description\n * Tracks simple string values bound to the option element.\n * For objects, use the `ngValue` input binding.\n */\n set value(value) {\n if (this._select) {\n this._value = value;\n this._setElementValue(_buildValueString(this.id, value));\n this._select.writeValue(this._select.value);\n }\n else {\n this._setElementValue(value);\n }\n }\n /** @internal */\n _setElementValue(value) {\n this._renderer.setProperty(this._element.nativeElement, 'value', value);\n }\n /** @internal */\n _setSelected(selected) {\n this._renderer.setProperty(this._element.nativeElement, 'selected', selected);\n }\n /** @nodoc */\n ngOnDestroy() {\n if (this._select) {\n this._select._optionMap.delete(this.id);\n this._select.writeValue(this._select.value);\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ɵNgSelectMultipleOption, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: SelectMultipleControlValueAccessor, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: ɵNgSelectMultipleOption, selector: \"option\", inputs: { ngValue: \"ngValue\", value: \"value\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ɵNgSelectMultipleOption, decorators: [{\n type: Directive,\n args: [{ selector: 'option' }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: SelectMultipleControlValueAccessor, decorators: [{\n type: Optional\n }, {\n type: Host\n }] }]; }, propDecorators: { ngValue: [{\n type: Input,\n args: ['ngValue']\n }], value: [{\n type: Input,\n args: ['value']\n }] } });\n\n/**\n * Method that updates string to integer if not already a number\n *\n * @param value The value to convert to integer.\n * @returns value of parameter converted to number or integer.\n */\nfunction toInteger(value) {\n return typeof value === 'number' ? value : parseInt(value, 10);\n}\n/**\n * Method that ensures that provided value is a float (and converts it to float if needed).\n *\n * @param value The value to convert to float.\n * @returns value of parameter converted to number or float.\n */\nfunction toFloat(value) {\n return typeof value === 'number' ? value : parseFloat(value);\n}\n/**\n * A base class for Validator-based Directives. The class contains common logic shared across such\n * Directives.\n *\n * For internal use only, this class is not intended for use outside of the Forms package.\n */\nclass AbstractValidatorDirective {\n constructor() {\n this._validator = nullValidator;\n }\n /** @nodoc */\n ngOnChanges(changes) {\n if (this.inputName in changes) {\n const input = this.normalizeInput(changes[this.inputName].currentValue);\n this._enabled = this.enabled(input);\n this._validator = this._enabled ? this.createValidator(input) : nullValidator;\n if (this._onChange) {\n this._onChange();\n }\n }\n }\n /** @nodoc */\n validate(control) {\n return this._validator(control);\n }\n /** @nodoc */\n registerOnValidatorChange(fn) {\n this._onChange = fn;\n }\n /**\n * @description\n * Determines whether this validator should be active or not based on an input.\n * Base class implementation checks whether an input is defined (if the value is different from\n * `null` and `undefined`). Validator classes that extend this base class can override this\n * function with the logic specific to a particular validator directive.\n */\n enabled(input) {\n return input != null /* both `null` and `undefined` */;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AbstractValidatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: AbstractValidatorDirective, usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: AbstractValidatorDirective, decorators: [{\n type: Directive\n }] });\n/**\n * @description\n * Provider which adds `MaxValidator` to the `NG_VALIDATORS` multi-provider list.\n */\nconst MAX_VALIDATOR = {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => MaxValidator),\n multi: true\n};\n/**\n * A directive which installs the {@link MaxValidator} for any `formControlName`,\n * `formControl`, or control with `ngModel` that also has a `max` attribute.\n *\n * @see [Form Validation](guide/form-validation)\n *\n * @usageNotes\n *\n * ### Adding a max validator\n *\n * The following example shows how to add a max validator to an input attached to an\n * ngModel binding.\n *\n * ```html\n * <input type=\"number\" ngModel max=\"4\">\n * ```\n *\n * @ngModule ReactiveFormsModule\n * @ngModule FormsModule\n * @publicApi\n */\nclass MaxValidator extends AbstractValidatorDirective {\n constructor() {\n super(...arguments);\n /** @internal */\n this.inputName = 'max';\n /** @internal */\n this.normalizeInput = (input) => toFloat(input);\n /** @internal */\n this.createValidator = (max) => maxValidator(max);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: MaxValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: MaxValidator, selector: \"input[type=number][max][formControlName],input[type=number][max][formControl],input[type=number][max][ngModel]\", inputs: { max: \"max\" }, host: { properties: { \"attr.max\": \"_enabled ? max : null\" } }, providers: [MAX_VALIDATOR], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: MaxValidator, decorators: [{\n type: Directive,\n args: [{\n selector: 'input[type=number][max][formControlName],input[type=number][max][formControl],input[type=number][max][ngModel]',\n providers: [MAX_VALIDATOR],\n host: { '[attr.max]': '_enabled ? max : null' }\n }]\n }], propDecorators: { max: [{\n type: Input\n }] } });\n/**\n * @description\n * Provider which adds `MinValidator` to the `NG_VALIDATORS` multi-provider list.\n */\nconst MIN_VALIDATOR = {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => MinValidator),\n multi: true\n};\n/**\n * A directive which installs the {@link MinValidator} for any `formControlName`,\n * `formControl`, or control with `ngModel` that also has a `min` attribute.\n *\n * @see [Form Validation](guide/form-validation)\n *\n * @usageNotes\n *\n * ### Adding a min validator\n *\n * The following example shows how to add a min validator to an input attached to an\n * ngModel binding.\n *\n * ```html\n * <input type=\"number\" ngModel min=\"4\">\n * ```\n *\n * @ngModule ReactiveFormsModule\n * @ngModule FormsModule\n * @publicApi\n */\nclass MinValidator extends AbstractValidatorDirective {\n constructor() {\n super(...arguments);\n /** @internal */\n this.inputName = 'min';\n /** @internal */\n this.normalizeInput = (input) => toFloat(input);\n /** @internal */\n this.createValidator = (min) => minValidator(min);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: MinValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: MinValidator, selector: \"input[type=number][min][formControlName],input[type=number][min][formControl],input[type=number][min][ngModel]\", inputs: { min: \"min\" }, host: { properties: { \"attr.min\": \"_enabled ? min : null\" } }, providers: [MIN_VALIDATOR], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: MinValidator, decorators: [{\n type: Directive,\n args: [{\n selector: 'input[type=number][min][formControlName],input[type=number][min][formControl],input[type=number][min][ngModel]',\n providers: [MIN_VALIDATOR],\n host: { '[attr.min]': '_enabled ? min : null' }\n }]\n }], propDecorators: { min: [{\n type: Input\n }] } });\n/**\n * @description\n * Provider which adds `RequiredValidator` to the `NG_VALIDATORS` multi-provider list.\n */\nconst REQUIRED_VALIDATOR = {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => RequiredValidator),\n multi: true\n};\n/**\n * @description\n * Provider which adds `CheckboxRequiredValidator` to the `NG_VALIDATORS` multi-provider list.\n */\nconst CHECKBOX_REQUIRED_VALIDATOR = {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => CheckboxRequiredValidator),\n multi: true\n};\n/**\n * @description\n * A directive that adds the `required` validator to any controls marked with the\n * `required` attribute. The directive is provided with the `NG_VALIDATORS` multi-provider list.\n *\n * @see [Form Validation](guide/form-validation)\n *\n * @usageNotes\n *\n * ### Adding a required validator using template-driven forms\n *\n * ```\n * <input name=\"fullName\" ngModel required>\n * ```\n *\n * @ngModule FormsModule\n * @ngModule ReactiveFormsModule\n * @publicApi\n */\nclass RequiredValidator extends AbstractValidatorDirective {\n constructor() {\n super(...arguments);\n /** @internal */\n this.inputName = 'required';\n /** @internal */\n this.normalizeInput = ɵcoerceToBoolean;\n /** @internal */\n this.createValidator = (input) => requiredValidator;\n }\n /** @nodoc */\n enabled(input) {\n return input;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RequiredValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: RequiredValidator, selector: \":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]\", inputs: { required: \"required\" }, host: { properties: { \"attr.required\": \"_enabled ? \\\"\\\" : null\" } }, providers: [REQUIRED_VALIDATOR], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: RequiredValidator, decorators: [{\n type: Directive,\n args: [{\n selector: ':not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]',\n providers: [REQUIRED_VALIDATOR],\n host: { '[attr.required]': '_enabled ? \"\" : null' }\n }]\n }], propDecorators: { required: [{\n type: Input\n }] } });\n/**\n * A Directive that adds the `required` validator to checkbox controls marked with the\n * `required` attribute. The directive is provided with the `NG_VALIDATORS` multi-provider list.\n *\n * @see [Form Validation](guide/form-validation)\n *\n * @usageNotes\n *\n * ### Adding a required checkbox validator using template-driven forms\n *\n * The following example shows how to add a checkbox required validator to an input attached to an\n * ngModel binding.\n *\n * ```\n * <input type=\"checkbox\" name=\"active\" ngModel required>\n * ```\n *\n * @publicApi\n * @ngModule FormsModule\n * @ngModule ReactiveFormsModule\n */\nclass CheckboxRequiredValidator extends RequiredValidator {\n constructor() {\n super(...arguments);\n /** @internal */\n this.createValidator = (input) => requiredTrueValidator;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: CheckboxRequiredValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: CheckboxRequiredValidator, selector: \"input[type=checkbox][required][formControlName],input[type=checkbox][required][formControl],input[type=checkbox][required][ngModel]\", host: { properties: { \"attr.required\": \"_enabled ? \\\"\\\" : null\" } }, providers: [CHECKBOX_REQUIRED_VALIDATOR], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: CheckboxRequiredValidator, decorators: [{\n type: Directive,\n args: [{\n selector: 'input[type=checkbox][required][formControlName],input[type=checkbox][required][formControl],input[type=checkbox][required][ngModel]',\n providers: [CHECKBOX_REQUIRED_VALIDATOR],\n host: { '[attr.required]': '_enabled ? \"\" : null' }\n }]\n }] });\n/**\n * @description\n * Provider which adds `EmailValidator` to the `NG_VALIDATORS` multi-provider list.\n */\nconst EMAIL_VALIDATOR = {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => EmailValidator),\n multi: true\n};\n/**\n * A directive that adds the `email` validator to controls marked with the\n * `email` attribute. The directive is provided with the `NG_VALIDATORS` multi-provider list.\n *\n * The email validation is based on the WHATWG HTML specification with some enhancements to\n * incorporate more RFC rules. More information can be found on the [Validators.email\n * page](api/forms/Validators#email).\n *\n * @see [Form Validation](guide/form-validation)\n *\n * @usageNotes\n *\n * ### Adding an email validator\n *\n * The following example shows how to add an email validator to an input attached to an ngModel\n * binding.\n *\n * ```\n * <input type=\"email\" name=\"email\" ngModel email>\n * <input type=\"email\" name=\"email\" ngModel email=\"true\">\n * <input type=\"email\" name=\"email\" ngModel [email]=\"true\">\n * ```\n *\n * @publicApi\n * @ngModule FormsModule\n * @ngModule ReactiveFormsModule\n */\nclass EmailValidator extends AbstractValidatorDirective {\n constructor() {\n super(...arguments);\n /** @internal */\n this.inputName = 'email';\n /** @internal */\n this.normalizeInput = ɵcoerceToBoolean;\n /** @internal */\n this.createValidator = (input) => emailValidator;\n }\n /** @nodoc */\n enabled(input) {\n return input;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: EmailValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: EmailValidator, selector: \"[email][formControlName],[email][formControl],[email][ngModel]\", inputs: { email: \"email\" }, providers: [EMAIL_VALIDATOR], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: EmailValidator, decorators: [{\n type: Directive,\n args: [{\n selector: '[email][formControlName],[email][formControl],[email][ngModel]',\n providers: [EMAIL_VALIDATOR]\n }]\n }], propDecorators: { email: [{\n type: Input\n }] } });\n/**\n * @description\n * Provider which adds `MinLengthValidator` to the `NG_VALIDATORS` multi-provider list.\n */\nconst MIN_LENGTH_VALIDATOR = {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => MinLengthValidator),\n multi: true\n};\n/**\n * A directive that adds minimum length validation to controls marked with the\n * `minlength` attribute. The directive is provided with the `NG_VALIDATORS` multi-provider list.\n *\n * @see [Form Validation](guide/form-validation)\n *\n * @usageNotes\n *\n * ### Adding a minimum length validator\n *\n * The following example shows how to add a minimum length validator to an input attached to an\n * ngModel binding.\n *\n * ```html\n * <input name=\"firstName\" ngModel minlength=\"4\">\n * ```\n *\n * @ngModule ReactiveFormsModule\n * @ngModule FormsModule\n * @publicApi\n */\nclass MinLengthValidator extends AbstractValidatorDirective {\n constructor() {\n super(...arguments);\n /** @internal */\n this.inputName = 'minlength';\n /** @internal */\n this.normalizeInput = (input) => toInteger(input);\n /** @internal */\n this.createValidator = (minlength) => minLengthValidator(minlength);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: MinLengthValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: MinLengthValidator, selector: \"[minlength][formControlName],[minlength][formControl],[minlength][ngModel]\", inputs: { minlength: \"minlength\" }, host: { properties: { \"attr.minlength\": \"_enabled ? minlength : null\" } }, providers: [MIN_LENGTH_VALIDATOR], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: MinLengthValidator, decorators: [{\n type: Directive,\n args: [{\n selector: '[minlength][formControlName],[minlength][formControl],[minlength][ngModel]',\n providers: [MIN_LENGTH_VALIDATOR],\n host: { '[attr.minlength]': '_enabled ? minlength : null' }\n }]\n }], propDecorators: { minlength: [{\n type: Input\n }] } });\n/**\n * @description\n * Provider which adds `MaxLengthValidator` to the `NG_VALIDATORS` multi-provider list.\n */\nconst MAX_LENGTH_VALIDATOR = {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => MaxLengthValidator),\n multi: true\n};\n/**\n * A directive that adds max length validation to controls marked with the\n * `maxlength` attribute. The directive is provided with the `NG_VALIDATORS` multi-provider list.\n *\n * @see [Form Validation](guide/form-validation)\n *\n * @usageNotes\n *\n * ### Adding a maximum length validator\n *\n * The following example shows how to add a maximum length validator to an input attached to an\n * ngModel binding.\n *\n * ```html\n * <input name=\"firstName\" ngModel maxlength=\"25\">\n * ```\n *\n * @ngModule ReactiveFormsModule\n * @ngModule FormsModule\n * @publicApi\n */\nclass MaxLengthValidator extends AbstractValidatorDirective {\n constructor() {\n super(...arguments);\n /** @internal */\n this.inputName = 'maxlength';\n /** @internal */\n this.normalizeInput = (input) => toInteger(input);\n /** @internal */\n this.createValidator = (maxlength) => maxLengthValidator(maxlength);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: MaxLengthValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: MaxLengthValidator, selector: \"[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]\", inputs: { maxlength: \"maxlength\" }, host: { properties: { \"attr.maxlength\": \"_enabled ? maxlength : null\" } }, providers: [MAX_LENGTH_VALIDATOR], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: MaxLengthValidator, decorators: [{\n type: Directive,\n args: [{\n selector: '[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]',\n providers: [MAX_LENGTH_VALIDATOR],\n host: { '[attr.maxlength]': '_enabled ? maxlength : null' }\n }]\n }], propDecorators: { maxlength: [{\n type: Input\n }] } });\n/**\n * @description\n * Provider which adds `PatternValidator` to the `NG_VALIDATORS` multi-provider list.\n */\nconst PATTERN_VALIDATOR = {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => PatternValidator),\n multi: true\n};\n/**\n * @description\n * A directive that adds regex pattern validation to controls marked with the\n * `pattern` attribute. The regex must match the entire control value.\n * The directive is provided with the `NG_VALIDATORS` multi-provider list.\n *\n * @see [Form Validation](guide/form-validation)\n *\n * @usageNotes\n *\n * ### Adding a pattern validator\n *\n * The following example shows how to add a pattern validator to an input attached to an\n * ngModel binding.\n *\n * ```html\n * <input name=\"firstName\" ngModel pattern=\"[a-zA-Z ]*\">\n * ```\n *\n * @ngModule ReactiveFormsModule\n * @ngModule FormsModule\n * @publicApi\n */\nclass PatternValidator extends AbstractValidatorDirective {\n constructor() {\n super(...arguments);\n /** @internal */\n this.inputName = 'pattern';\n /** @internal */\n this.normalizeInput = (input) => input;\n /** @internal */\n this.createValidator = (input) => patternValidator(input);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PatternValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.5\", type: PatternValidator, selector: \"[pattern][formControlName],[pattern][formControl],[pattern][ngModel]\", inputs: { pattern: \"pattern\" }, host: { properties: { \"attr.pattern\": \"_enabled ? pattern : null\" } }, providers: [PATTERN_VALIDATOR], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PatternValidator, decorators: [{\n type: Directive,\n args: [{\n selector: '[pattern][formControlName],[pattern][formControl],[pattern][ngModel]',\n providers: [PATTERN_VALIDATOR],\n host: { '[attr.pattern]': '_enabled ? pattern : null' }\n }]\n }], propDecorators: { pattern: [{\n type: Input\n }] } });\n\nconst SHARED_FORM_DIRECTIVES = [\n ɵNgNoValidate,\n NgSelectOption,\n ɵNgSelectMultipleOption,\n DefaultValueAccessor,\n NumberValueAccessor,\n RangeValueAccessor,\n CheckboxControlValueAccessor,\n SelectControlValueAccessor,\n SelectMultipleControlValueAccessor,\n RadioControlValueAccessor,\n NgControlStatus,\n NgControlStatusGroup,\n RequiredValidator,\n MinLengthValidator,\n MaxLengthValidator,\n PatternValidator,\n CheckboxRequiredValidator,\n EmailValidator,\n MinValidator,\n MaxValidator,\n];\nconst TEMPLATE_DRIVEN_DIRECTIVES = [NgModel, NgModelGroup, NgForm];\nconst REACTIVE_DRIVEN_DIRECTIVES = [FormControlDirective, FormGroupDirective, FormControlName, FormGroupName, FormArrayName];\n/**\n * Internal module used for sharing directives between FormsModule and ReactiveFormsModule\n */\nclass ɵInternalFormsSharedModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ɵInternalFormsSharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: ɵInternalFormsSharedModule, declarations: [ɵNgNoValidate,\n NgSelectOption,\n ɵNgSelectMultipleOption,\n DefaultValueAccessor,\n NumberValueAccessor,\n RangeValueAccessor,\n CheckboxControlValueAccessor,\n SelectControlValueAccessor,\n SelectMultipleControlValueAccessor,\n RadioControlValueAccessor,\n NgControlStatus,\n NgControlStatusGroup,\n RequiredValidator,\n MinLengthValidator,\n MaxLengthValidator,\n PatternValidator,\n CheckboxRequiredValidator,\n EmailValidator,\n MinValidator,\n MaxValidator], imports: [RadioControlRegistryModule], exports: [ɵNgNoValidate,\n NgSelectOption,\n ɵNgSelectMultipleOption,\n DefaultValueAccessor,\n NumberValueAccessor,\n RangeValueAccessor,\n CheckboxControlValueAccessor,\n SelectControlValueAccessor,\n SelectMultipleControlValueAccessor,\n RadioControlValueAccessor,\n NgControlStatus,\n NgControlStatusGroup,\n RequiredValidator,\n MinLengthValidator,\n MaxLengthValidator,\n PatternValidator,\n CheckboxRequiredValidator,\n EmailValidator,\n MinValidator,\n MaxValidator] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ɵInternalFormsSharedModule, imports: [RadioControlRegistryModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ɵInternalFormsSharedModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: SHARED_FORM_DIRECTIVES,\n imports: [RadioControlRegistryModule],\n exports: SHARED_FORM_DIRECTIVES,\n }]\n }] });\n\n/**\n * Tracks the value and validity state of an array of `FormControl`,\n * `FormGroup` or `FormArray` instances.\n *\n * A `FormArray` aggregates the values of each child `FormControl` into an array.\n * It calculates its status by reducing the status values of its children. For example, if one of\n * the controls in a `FormArray` is invalid, the entire array becomes invalid.\n *\n * `FormArray` accepts one generic argument, which is the type of the controls inside.\n * If you need a heterogenous array, use {@link UntypedFormArray}.\n *\n * `FormArray` is one of the four fundamental building blocks used to define forms in Angular,\n * along with `FormControl`, `FormGroup`, and `FormRecord`.\n *\n * @usageNotes\n *\n * ### Create an array of form controls\n *\n * ```\n * const arr = new FormArray([\n * new FormControl('Nancy', Validators.minLength(2)),\n * new FormControl('Drew'),\n * ]);\n *\n * console.log(arr.value); // ['Nancy', 'Drew']\n * console.log(arr.status); // 'VALID'\n * ```\n *\n * ### Create a form array with array-level validators\n *\n * You include array-level validators and async validators. These come in handy\n * when you want to perform validation that considers the value of more than one child\n * control.\n *\n * The two types of validators are passed in separately as the second and third arg\n * respectively, or together as part of an options object.\n *\n * ```\n * const arr = new FormArray([\n * new FormControl('Nancy'),\n * new FormControl('Drew')\n * ], {validators: myValidator, asyncValidators: myAsyncValidator});\n * ```\n *\n * ### Set the updateOn property for all controls in a form array\n *\n * The options object is used to set a default value for each child\n * control's `updateOn` property. If you set `updateOn` to `'blur'` at the\n * array level, all child controls default to 'blur', unless the child\n * has explicitly specified a different `updateOn` value.\n *\n * ```ts\n * const arr = new FormArray([\n * new FormControl()\n * ], {updateOn: 'blur'});\n * ```\n *\n * ### Adding or removing controls from a form array\n *\n * To change the controls in the array, use the `push`, `insert`, `removeAt` or `clear` methods\n * in `FormArray` itself. These methods ensure the controls are properly tracked in the\n * form's hierarchy. Do not modify the array of `AbstractControl`s used to instantiate\n * the `FormArray` directly, as that result in strange and unexpected behavior such\n * as broken change detection.\n *\n * @publicApi\n */\nclass FormArray extends AbstractControl {\n /**\n * Creates a new `FormArray` instance.\n *\n * @param controls An array of child controls. Each child control is given an index\n * where it is registered.\n *\n * @param validatorOrOpts A synchronous validator function, or an array of\n * such functions, or an `AbstractControlOptions` object that contains validation functions\n * and a validation trigger.\n *\n * @param asyncValidator A single async validator or array of async validator functions\n *\n */\n constructor(controls, validatorOrOpts, asyncValidator) {\n super(pickValidators(validatorOrOpts), pickAsyncValidators(asyncValidator, validatorOrOpts));\n this.controls = controls;\n this._initObservables();\n this._setUpdateStrategy(validatorOrOpts);\n this._setUpControls();\n this.updateValueAndValidity({\n onlySelf: true,\n // If `asyncValidator` is present, it will trigger control status change from `PENDING` to\n // `VALID` or `INVALID`.\n // The status should be broadcasted via the `statusChanges` observable, so we set `emitEvent`\n // to `true` to allow that during the control creation process.\n emitEvent: !!this.asyncValidator\n });\n }\n /**\n * Get the `AbstractControl` at the given `index` in the array.\n *\n * @param index Index in the array to retrieve the control. If `index` is negative, it will wrap\n * around from the back, and if index is greatly negative (less than `-length`), the result is\n * undefined. This behavior is the same as `Array.at(index)`.\n */\n at(index) {\n return this.controls[this._adjustIndex(index)];\n }\n /**\n * Insert a new `AbstractControl` at the end of the array.\n *\n * @param control Form control to be inserted\n * @param options Specifies whether this FormArray instance should emit events after a new\n * control is added.\n * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n * `valueChanges` observables emit events with the latest status and value when the control is\n * inserted. When false, no events are emitted.\n */\n push(control, options = {}) {\n this.controls.push(control);\n this._registerControl(control);\n this.updateValueAndValidity({ emitEvent: options.emitEvent });\n this._onCollectionChange();\n }\n /**\n * Insert a new `AbstractControl` at the given `index` in the array.\n *\n * @param index Index in the array to insert the control. If `index` is negative, wraps around\n * from the back. If `index` is greatly negative (less than `-length`), prepends to the array.\n * This behavior is the same as `Array.splice(index, 0, control)`.\n * @param control Form control to be inserted\n * @param options Specifies whether this FormArray instance should emit events after a new\n * control is inserted.\n * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n * `valueChanges` observables emit events with the latest status and value when the control is\n * inserted. When false, no events are emitted.\n */\n insert(index, control, options = {}) {\n this.controls.splice(index, 0, control);\n this._registerControl(control);\n this.updateValueAndValidity({ emitEvent: options.emitEvent });\n }\n /**\n * Remove the control at the given `index` in the array.\n *\n * @param index Index in the array to remove the control. If `index` is negative, wraps around\n * from the back. If `index` is greatly negative (less than `-length`), removes the first\n * element. This behavior is the same as `Array.splice(index, 1)`.\n * @param options Specifies whether this FormArray instance should emit events after a\n * control is removed.\n * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n * `valueChanges` observables emit events with the latest status and value when the control is\n * removed. When false, no events are emitted.\n */\n removeAt(index, options = {}) {\n // Adjust the index, then clamp it at no less than 0 to prevent undesired underflows.\n let adjustedIndex = this._adjustIndex(index);\n if (adjustedIndex < 0)\n adjustedIndex = 0;\n if (this.controls[adjustedIndex])\n this.controls[adjustedIndex]._registerOnCollectionChange(() => { });\n this.controls.splice(adjustedIndex, 1);\n this.updateValueAndValidity({ emitEvent: options.emitEvent });\n }\n /**\n * Replace an existing control.\n *\n * @param index Index in the array to replace the control. If `index` is negative, wraps around\n * from the back. If `index` is greatly negative (less than `-length`), replaces the first\n * element. This behavior is the same as `Array.splice(index, 1, control)`.\n * @param control The `AbstractControl` control to replace the existing control\n * @param options Specifies whether this FormArray instance should emit events after an\n * existing control is replaced with a new one.\n * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n * `valueChanges` observables emit events with the latest status and value when the control is\n * replaced with a new one. When false, no events are emitted.\n */\n setControl(index, control, options = {}) {\n // Adjust the index, then clamp it at no less than 0 to prevent undesired underflows.\n let adjustedIndex = this._adjustIndex(index);\n if (adjustedIndex < 0)\n adjustedIndex = 0;\n if (this.controls[adjustedIndex])\n this.controls[adjustedIndex]._registerOnCollectionChange(() => { });\n this.controls.splice(adjustedIndex, 1);\n if (control) {\n this.controls.splice(adjustedIndex, 0, control);\n this._registerControl(control);\n }\n this.updateValueAndValidity({ emitEvent: options.emitEvent });\n this._onCollectionChange();\n }\n /**\n * Length of the control array.\n */\n get length() {\n return this.controls.length;\n }\n /**\n * Sets the value of the `FormArray`. It accepts an array that matches\n * the structure of the control.\n *\n * This method performs strict checks, and throws an error if you try\n * to set the value of a control that doesn't exist or if you exclude the\n * value of a control.\n *\n * @usageNotes\n * ### Set the values for the controls in the form array\n *\n * ```\n * const arr = new FormArray([\n * new FormControl(),\n * new FormControl()\n * ]);\n * console.log(arr.value); // [null, null]\n *\n * arr.setValue(['Nancy', 'Drew']);\n * console.log(arr.value); // ['Nancy', 'Drew']\n * ```\n *\n * @param value Array of values for the controls\n * @param options Configure options that determine how the control propagates changes and\n * emits events after the value changes\n *\n * * `onlySelf`: When true, each change only affects this control, and not its parent. Default\n * is false.\n * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n * `valueChanges`\n * observables emit events with the latest status and value when the control value is updated.\n * When false, no events are emitted.\n * The configuration options are passed to the {@link AbstractControl#updateValueAndValidity\n * updateValueAndValidity} method.\n */\n setValue(value, options = {}) {\n assertAllValuesPresent(this, false, value);\n value.forEach((newValue, index) => {\n assertControlPresent(this, false, index);\n this.at(index).setValue(newValue, { onlySelf: true, emitEvent: options.emitEvent });\n });\n this.updateValueAndValidity(options);\n }\n /**\n * Patches the value of the `FormArray`. It accepts an array that matches the\n * structure of the control, and does its best to match the values to the correct\n * controls in the group.\n *\n * It accepts both super-sets and sub-sets of the array without throwing an error.\n *\n * @usageNotes\n * ### Patch the values for controls in a form array\n *\n * ```\n * const arr = new FormArray([\n * new FormControl(),\n * new FormControl()\n * ]);\n * console.log(arr.value); // [null, null]\n *\n * arr.patchValue(['Nancy']);\n * console.log(arr.value); // ['Nancy', null]\n * ```\n *\n * @param value Array of latest values for the controls\n * @param options Configure options that determine how the control propagates changes and\n * emits events after the value changes\n *\n * * `onlySelf`: When true, each change only affects this control, and not its parent. Default\n * is false.\n * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n * `valueChanges` observables emit events with the latest status and value when the control\n * value is updated. When false, no events are emitted. The configuration options are passed to\n * the {@link AbstractControl#updateValueAndValidity updateValueAndValidity} method.\n */\n patchValue(value, options = {}) {\n // Even though the `value` argument type doesn't allow `null` and `undefined` values, the\n // `patchValue` can be called recursively and inner data structures might have these values,\n // so we just ignore such cases when a field containing FormArray instance receives `null` or\n // `undefined` as a value.\n if (value == null /* both `null` and `undefined` */)\n return;\n value.forEach((newValue, index) => {\n if (this.at(index)) {\n this.at(index).patchValue(newValue, { onlySelf: true, emitEvent: options.emitEvent });\n }\n });\n this.updateValueAndValidity(options);\n }\n /**\n * Resets the `FormArray` and all descendants are marked `pristine` and `untouched`, and the\n * value of all descendants to null or null maps.\n *\n * You reset to a specific form state by passing in an array of states\n * that matches the structure of the control. The state is a standalone value\n * or a form state object with both a value and a disabled status.\n *\n * @usageNotes\n * ### Reset the values in a form array\n *\n * ```ts\n * const arr = new FormArray([\n * new FormControl(),\n * new FormControl()\n * ]);\n * arr.reset(['name', 'last name']);\n *\n * console.log(arr.value); // ['name', 'last name']\n * ```\n *\n * ### Reset the values in a form array and the disabled status for the first control\n *\n * ```\n * arr.reset([\n * {value: 'name', disabled: true},\n * 'last'\n * ]);\n *\n * console.log(arr.value); // ['last']\n * console.log(arr.at(0).status); // 'DISABLED'\n * ```\n *\n * @param value Array of values for the controls\n * @param options Configure options that determine how the control propagates changes and\n * emits events after the value changes\n *\n * * `onlySelf`: When true, each change only affects this control, and not its parent. Default\n * is false.\n * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n * `valueChanges`\n * observables emit events with the latest status and value when the control is reset.\n * When false, no events are emitted.\n * The configuration options are passed to the {@link AbstractControl#updateValueAndValidity\n * updateValueAndValidity} method.\n */\n reset(value = [], options = {}) {\n this._forEachChild((control, index) => {\n control.reset(value[index], { onlySelf: true, emitEvent: options.emitEvent });\n });\n this._updatePristine(options);\n this._updateTouched(options);\n this.updateValueAndValidity(options);\n }\n /**\n * The aggregate value of the array, including any disabled controls.\n *\n * Reports all values regardless of disabled status.\n */\n getRawValue() {\n return this.controls.map((control) => control.getRawValue());\n }\n /**\n * Remove all controls in the `FormArray`.\n *\n * @param options Specifies whether this FormArray instance should emit events after all\n * controls are removed.\n * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n * `valueChanges` observables emit events with the latest status and value when all controls\n * in this FormArray instance are removed. When false, no events are emitted.\n *\n * @usageNotes\n * ### Remove all elements from a FormArray\n *\n * ```ts\n * const arr = new FormArray([\n * new FormControl(),\n * new FormControl()\n * ]);\n * console.log(arr.length); // 2\n *\n * arr.clear();\n * console.log(arr.length); // 0\n * ```\n *\n * It's a simpler and more efficient alternative to removing all elements one by one:\n *\n * ```ts\n * const arr = new FormArray([\n * new FormControl(),\n * new FormControl()\n * ]);\n *\n * while (arr.length) {\n * arr.removeAt(0);\n * }\n * ```\n */\n clear(options = {}) {\n if (this.controls.length < 1)\n return;\n this._forEachChild((control) => control._registerOnCollectionChange(() => { }));\n this.controls.splice(0);\n this.updateValueAndValidity({ emitEvent: options.emitEvent });\n }\n /**\n * Adjusts a negative index by summing it with the length of the array. For very negative\n * indices, the result may remain negative.\n * @internal\n */\n _adjustIndex(index) {\n return index < 0 ? index + this.length : index;\n }\n /** @internal */\n _syncPendingControls() {\n let subtreeUpdated = this.controls.reduce((updated, child) => {\n return child._syncPendingControls() ? true : updated;\n }, false);\n if (subtreeUpdated)\n this.updateValueAndValidity({ onlySelf: true });\n return subtreeUpdated;\n }\n /** @internal */\n _forEachChild(cb) {\n this.controls.forEach((control, index) => {\n cb(control, index);\n });\n }\n /** @internal */\n _updateValue() {\n this.value =\n this.controls.filter((control) => control.enabled || this.disabled)\n .map((control) => control.value);\n }\n /** @internal */\n _anyControls(condition) {\n return this.controls.some((control) => control.enabled && condition(control));\n }\n /** @internal */\n _setUpControls() {\n this._forEachChild((control) => this._registerControl(control));\n }\n /** @internal */\n _allControlsDisabled() {\n for (const control of this.controls) {\n if (control.enabled)\n return false;\n }\n return this.controls.length > 0 || this.disabled;\n }\n _registerControl(control) {\n control.setParent(this);\n control._registerOnCollectionChange(this._onCollectionChange);\n }\n /** @internal */\n _find(name) {\n return this.at(name) ?? null;\n }\n}\nconst UntypedFormArray = FormArray;\n/**\n * @description\n * Asserts that the given control is an instance of `FormArray`\n *\n * @publicApi\n */\nconst isFormArray = (control) => control instanceof FormArray;\n\nfunction isAbstractControlOptions(options) {\n return !!options &&\n (options.asyncValidators !== undefined ||\n options.validators !== undefined ||\n options.updateOn !== undefined);\n}\n// clang-format on\n/**\n * @description\n * Creates an `AbstractControl` from a user-specified configuration.\n *\n * The `FormBuilder` provides syntactic sugar that shortens creating instances of a\n * `FormControl`, `FormGroup`, or `FormArray`. It reduces the amount of boilerplate needed to\n * build complex forms.\n *\n * @see [Reactive Forms Guide](guide/reactive-forms)\n *\n * @publicApi\n */\nclass FormBuilder {\n constructor() {\n this.useNonNullable = false;\n }\n /**\n * @description\n * Returns a FormBuilder in which automatically constructed `FormControl` elements\n * have `{nonNullable: true}` and are non-nullable.\n *\n * **Constructing non-nullable controls**\n *\n * When constructing a control, it will be non-nullable, and will reset to its initial value.\n *\n * ```ts\n * let nnfb = new FormBuilder().nonNullable;\n * let name = nnfb.control('Alex'); // FormControl<string>\n * name.reset();\n * console.log(name); // 'Alex'\n * ```\n *\n * **Constructing non-nullable groups or arrays**\n *\n * When constructing a group or array, all automatically created inner controls will be\n * non-nullable, and will reset to their initial values.\n *\n * ```ts\n * let nnfb = new FormBuilder().nonNullable;\n * let name = nnfb.group({who: 'Alex'}); // FormGroup<{who: FormControl<string>}>\n * name.reset();\n * console.log(name); // {who: 'Alex'}\n * ```\n * **Constructing *nullable* fields on groups or arrays**\n *\n * It is still possible to have a nullable field. In particular, any `FormControl` which is\n * *already* constructed will not be altered. For example:\n *\n * ```ts\n * let nnfb = new FormBuilder().nonNullable;\n * // FormGroup<{who: FormControl<string|null>}>\n * let name = nnfb.group({who: new FormControl('Alex')});\n * name.reset(); console.log(name); // {who: null}\n * ```\n *\n * Because the inner control is constructed explicitly by the caller, the builder has\n * no control over how it is created, and cannot exclude the `null`.\n */\n get nonNullable() {\n const nnfb = new FormBuilder();\n nnfb.useNonNullable = true;\n return nnfb;\n }\n group(controls, options = null) {\n const reducedControls = this._reduceControls(controls);\n let newOptions = {};\n if (isAbstractControlOptions(options)) {\n // `options` are `AbstractControlOptions`\n newOptions = options;\n }\n else if (options !== null) {\n // `options` are legacy form group options\n newOptions.validators = options.validator;\n newOptions.asyncValidators = options.asyncValidator;\n }\n return new FormGroup(reducedControls, newOptions);\n }\n /**\n * @description\n * Constructs a new `FormRecord` instance. Accepts a single generic argument, which is an object\n * containing all the keys and corresponding inner control types.\n *\n * @param controls A collection of child controls. The key for each child is the name\n * under which it is registered.\n *\n * @param options Configuration options object for the `FormRecord`. The object should have the\n * `AbstractControlOptions` type and might contain the following fields:\n * * `validators`: A synchronous validator function, or an array of validator functions.\n * * `asyncValidators`: A single async validator or array of async validator functions.\n * * `updateOn`: The event upon which the control should be updated (options: 'change' | 'blur'\n * | submit').\n */\n record(controls, options = null) {\n const reducedControls = this._reduceControls(controls);\n // Cast to `any` because the inferred types are not as specific as Element.\n return new FormRecord(reducedControls, options);\n }\n /**\n * @description\n * Constructs a new `FormControl` with the given state, validators and options. Sets\n * `{nonNullable: true}` in the options to get a non-nullable control. Otherwise, the\n * control will be nullable. Accepts a single generic argument, which is the type of the\n * control's value.\n *\n * @param formState Initializes the control with an initial state value, or\n * with an object that contains both a value and a disabled status.\n *\n * @param validatorOrOpts A synchronous validator function, or an array of\n * such functions, or a `FormControlOptions` object that contains\n * validation functions and a validation trigger.\n *\n * @param asyncValidator A single async validator or array of async validator\n * functions.\n *\n * @usageNotes\n *\n * ### Initialize a control as disabled\n *\n * The following example returns a control with an initial value in a disabled state.\n *\n * <code-example path=\"forms/ts/formBuilder/form_builder_example.ts\" region=\"disabled-control\">\n * </code-example>\n */\n control(formState, validatorOrOpts, asyncValidator) {\n let newOptions = {};\n if (!this.useNonNullable) {\n return new FormControl(formState, validatorOrOpts, asyncValidator);\n }\n if (isAbstractControlOptions(validatorOrOpts)) {\n // If the second argument is options, then they are copied.\n newOptions = validatorOrOpts;\n }\n else {\n // If the other arguments are validators, they are copied into an options object.\n newOptions.validators = validatorOrOpts;\n newOptions.asyncValidators = asyncValidator;\n }\n return new FormControl(formState, { ...newOptions, nonNullable: true });\n }\n /**\n * Constructs a new `FormArray` from the given array of configurations,\n * validators and options. Accepts a single generic argument, which is the type of each control\n * inside the array.\n *\n * @param controls An array of child controls or control configs. Each child control is given an\n * index when it is registered.\n *\n * @param validatorOrOpts A synchronous validator function, or an array of such functions, or an\n * `AbstractControlOptions` object that contains\n * validation functions and a validation trigger.\n *\n * @param asyncValidator A single async validator or array of async validator functions.\n */\n array(controls, validatorOrOpts, asyncValidator) {\n const createdControls = controls.map(c => this._createControl(c));\n // Cast to `any` because the inferred types are not as specific as Element.\n return new FormArray(createdControls, validatorOrOpts, asyncValidator);\n }\n /** @internal */\n _reduceControls(controls) {\n const createdControls = {};\n Object.keys(controls).forEach(controlName => {\n createdControls[controlName] = this._createControl(controls[controlName]);\n });\n return createdControls;\n }\n /** @internal */\n _createControl(controls) {\n if (controls instanceof FormControl) {\n return controls;\n }\n else if (controls instanceof AbstractControl) { // A control; just return it\n return controls;\n }\n else if (Array.isArray(controls)) { // ControlConfig Tuple\n const value = controls[0];\n const validator = controls.length > 1 ? controls[1] : null;\n const asyncValidator = controls.length > 2 ? controls[2] : null;\n return this.control(value, validator, asyncValidator);\n }\n else { // T or FormControlState<T>\n return this.control(controls);\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormBuilder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormBuilder, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormBuilder, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }] });\n/**\n * @description\n * `NonNullableFormBuilder` is similar to {@link FormBuilder}, but automatically constructed\n * {@link FormControl} elements have `{nonNullable: true}` and are non-nullable.\n *\n * @publicApi\n */\nclass NonNullableFormBuilder {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NonNullableFormBuilder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NonNullableFormBuilder, providedIn: 'root', useFactory: () => inject(FormBuilder).nonNullable }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: NonNullableFormBuilder, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root',\n useFactory: () => inject(FormBuilder).nonNullable,\n }]\n }] });\n/**\n * UntypedFormBuilder is the same as `FormBuilder`, but it provides untyped controls.\n */\nclass UntypedFormBuilder extends FormBuilder {\n group(controlsConfig, options = null) {\n return super.group(controlsConfig, options);\n }\n /**\n * Like `FormBuilder#control`, except the resulting control is untyped.\n */\n control(formState, validatorOrOpts, asyncValidator) {\n return super.control(formState, validatorOrOpts, asyncValidator);\n }\n /**\n * Like `FormBuilder#array`, except the resulting array is untyped.\n */\n array(controlsConfig, validatorOrOpts, asyncValidator) {\n return super.array(controlsConfig, validatorOrOpts, asyncValidator);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: UntypedFormBuilder, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: UntypedFormBuilder, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: UntypedFormBuilder, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }] });\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of the forms package.\n */\n/**\n * @publicApi\n */\nconst VERSION = new Version('16.0.5');\n\n/**\n * Exports the required providers and directives for template-driven forms,\n * making them available for import by NgModules that import this module.\n *\n * Providers associated with this module:\n * * `RadioControlRegistry`\n *\n * @see [Forms Overview](/guide/forms-overview)\n * @see [Template-driven Forms Guide](/guide/forms)\n *\n * @publicApi\n */\nclass FormsModule {\n /**\n * @description\n * Provides options for configuring the forms module.\n *\n * @param opts An object of configuration options\n * * `callSetDisabledState` Configures whether to `always` call `setDisabledState`, which is more\n * correct, or to only call it `whenDisabled`, which is the legacy behavior.\n */\n static withConfig(opts) {\n return {\n ngModule: FormsModule,\n providers: [{\n provide: CALL_SET_DISABLED_STATE,\n useValue: opts.callSetDisabledState ?? setDisabledStateDefault\n }]\n };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: FormsModule, declarations: [NgModel, NgModelGroup, NgForm], exports: [ɵInternalFormsSharedModule, NgModel, NgModelGroup, NgForm] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormsModule, imports: [ɵInternalFormsSharedModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: FormsModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: TEMPLATE_DRIVEN_DIRECTIVES,\n exports: [ɵInternalFormsSharedModule, TEMPLATE_DRIVEN_DIRECTIVES]\n }]\n }] });\n/**\n * Exports the required infrastructure and directives for reactive forms,\n * making them available for import by NgModules that import this module.\n *\n * Providers associated with this module:\n * * `FormBuilder`\n * * `RadioControlRegistry`\n *\n * @see [Forms Overview](guide/forms-overview)\n * @see [Reactive Forms Guide](guide/reactive-forms)\n *\n * @publicApi\n */\nclass ReactiveFormsModule {\n /**\n * @description\n * Provides options for configuring the reactive forms module.\n *\n * @param opts An object of configuration options\n * * `warnOnNgModelWithFormControl` Configures when to emit a warning when an `ngModel`\n * binding is used with reactive form directives.\n * * `callSetDisabledState` Configures whether to `always` call `setDisabledState`, which is more\n * correct, or to only call it `whenDisabled`, which is the legacy behavior.\n */\n static withConfig(opts) {\n return {\n ngModule: ReactiveFormsModule,\n providers: [\n {\n provide: NG_MODEL_WITH_FORM_CONTROL_WARNING,\n useValue: opts.warnOnNgModelWithFormControl ?? 'always'\n },\n {\n provide: CALL_SET_DISABLED_STATE,\n useValue: opts.callSetDisabledState ?? setDisabledStateDefault\n }\n ]\n };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ReactiveFormsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: ReactiveFormsModule, declarations: [FormControlDirective, FormGroupDirective, FormControlName, FormGroupName, FormArrayName], exports: [ɵInternalFormsSharedModule, FormControlDirective, FormGroupDirective, FormControlName, FormGroupName, FormArrayName] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ReactiveFormsModule, imports: [ɵInternalFormsSharedModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ReactiveFormsModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [REACTIVE_DRIVEN_DIRECTIVES],\n exports: [ɵInternalFormsSharedModule, REACTIVE_DRIVEN_DIRECTIVES]\n }]\n }] });\n\n/**\n * @module\n * @description\n * This module is used for handling user input, by defining and building a `FormGroup` that\n * consists of `FormControl` objects, and mapping them onto the DOM. `FormControl`\n * objects can then be used to read information from the form DOM elements.\n *\n * Forms providers are not included in default providers; you must import these providers\n * explicitly.\n */\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\n// This file only reexports content of the `src` folder. Keep it that way.\n\n// This file is not used to build this module. It is only used during editing\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { AbstractControl, AbstractControlDirective, AbstractFormGroupDirective, COMPOSITION_BUFFER_MODE, CheckboxControlValueAccessor, CheckboxRequiredValidator, ControlContainer, DefaultValueAccessor, EmailValidator, FormArray, FormArrayName, FormBuilder, FormControl, FormControlDirective, FormControlName, FormGroup, FormGroupDirective, FormGroupName, FormRecord, FormsModule, MaxLengthValidator, MaxValidator, MinLengthValidator, MinValidator, NG_ASYNC_VALIDATORS, NG_VALIDATORS, NG_VALUE_ACCESSOR, NgControl, NgControlStatus, NgControlStatusGroup, NgForm, NgModel, NgModelGroup, NgSelectOption, NonNullableFormBuilder, NumberValueAccessor, PatternValidator, RadioControlValueAccessor, RangeValueAccessor, ReactiveFormsModule, RequiredValidator, SelectControlValueAccessor, SelectMultipleControlValueAccessor, UntypedFormArray, UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, VERSION, Validators, isFormArray, isFormControl, isFormGroup, isFormRecord, ɵInternalFormsSharedModule, ɵNgNoValidate, ɵNgSelectMultipleOption };\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import toPropertyKey from \"./toPropertyKey.js\";\nexport default function _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import defineProperty from \"./defineProperty.js\";\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n return keys;\n}\nexport default function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}","export default function _iterableToArrayLimit(arr, i) {\n var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"];\n if (null != _i) {\n var _s,\n _e,\n _x,\n _r,\n _arr = [],\n _n = !0,\n _d = !1;\n try {\n if (_x = (_i = _i.call(arr)).next, 0 === i) {\n if (Object(_i) !== _i) return;\n _n = !1;\n } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);\n } catch (err) {\n _d = !0, _e = err;\n } finally {\n try {\n if (!_n && null != _i[\"return\"] && (_r = _i[\"return\"](), Object(_r) !== _r)) return;\n } finally {\n if (_d) throw _e;\n }\n }\n return _arr;\n }\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default 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}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default 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}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35]} \ No newline at end of file diff --git a/9880.b05c53460a3f6d9c.js b/9880.b05c53460a3f6d9c.js new file mode 100644 index 0000000..dcb3a20 --- /dev/null +++ b/9880.b05c53460a3f6d9c.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[9880,5603],{77797:(O,u,p)=>{p.d(u,{Z:()=>c});var o=p(51299);function c(_,e,r){return(e=(0,o.Z)(e))in _?Object.defineProperty(_,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):_[e]=r,_}},35603:(O,u,p)=>{p.d(u,{Z:()=>_});var o=p(77797);function c(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),t.push.apply(t,n)}return t}function _(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?c(Object(t),!0).forEach(function(n){(0,o.Z)(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):c(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}}}]); +//# sourceMappingURL=9880.b05c53460a3f6d9c.js.map \ No newline at end of file diff --git a/9880.b05c53460a3f6d9c.js.map b/9880.b05c53460a3f6d9c.js.map new file mode 100644 index 0000000..259dc8d --- /dev/null +++ b/9880.b05c53460a3f6d9c.js.map @@ -0,0 +1 @@ +{"version":3,"file":"9880.b05c53460a3f6d9c.js","mappings":"uHACe,SAAAA,EAAAC,EAAAC,EAAAC,GACf,OAAAD,KAAQE,EAAAC,GAAaH,MACrBD,EACAK,OAAAC,eAAAN,EAAAC,EAAA,CACAC,QACAK,YAAA,EACAC,cAAA,EACAC,UAAA,IAGAT,EAAAC,GAAAC,EAEAF,CACA,mDCbA,SAAAU,EAAAC,EAAAC,GACA,IAAAC,EAAAR,OAAAQ,KAAAF,GACA,GAAAN,OAAAS,sBAAA,CACA,IAAAC,EAAAV,OAAAS,sBAAAH,GACAC,IAAAG,IAAAC,OAAA,SAAAC,GACA,OAAAZ,OAAAa,yBAAAP,EAAAM,GAAAV,UACA,IAAKM,EAAAM,KAAAC,MAAAP,EAAAE,EAAA,CAEL,OAAAF,CACA,CACe,SAAAQ,EAAAC,GACf,QAAAC,EAAA,EAAkBA,EAAAC,UAAAC,OAAsBF,IAAA,CACxC,IAAAG,EAAA,MAAAF,UAAAD,GAAAC,UAAAD,GAAA,GACAA,EAAA,EAAAb,EAAAL,OAAAqB,IAAA,GAAAC,QAAA,SAAA1B,IACM,EAAA2B,EAAAxB,GAAckB,EAAArB,EAAAyB,EAAAzB,GACpB,GAAKI,OAAAwB,0BAAAxB,OAAAyB,iBAAAR,EAAAjB,OAAAwB,0BAAAH,IAAAhB,EAAAL,OAAAqB,IAAAC,QAAA,SAAA1B,GACLI,OAAAC,eAAAgB,EAAArB,EAAAI,OAAAa,yBAAAQ,EAAAzB,GACA,EAAK,CAEL,OAAAqB,CACA","names":["_defineProperty","obj","key","value","_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__","Z","Object","defineProperty","enumerable","configurable","writable","ownKeys","object","enumerableOnly","keys","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","push","apply","_objectSpread2","target","i","arguments","length","source","forEach","_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__","getOwnPropertyDescriptors","defineProperties"],"sourceRoot":"webpack:///","sources":["./node_modules/@babel/runtime/helpers/esm/defineProperty.js","./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"],"sourcesContent":["import toPropertyKey from \"./toPropertyKey.js\";\nexport default function _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}","import defineProperty from \"./defineProperty.js\";\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n return keys;\n}\nexport default function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}"],"x_google_ignoreList":[0,1]} \ No newline at end of file diff --git a/README.md b/README.md deleted file mode 100644 index cc6e54c..0000000 --- a/README.md +++ /dev/null @@ -1,2 +0,0 @@ -# spearhead-canva-build -Spearhead for Canva build. diff --git a/assets/objects/.nojekyll b/assets/objects/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/assets/objects/panelpage/.gitkeep b/assets/objects/panelpage/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/assets/objects/panelpage/200e4ab8-922c-4a9c-a760-77bce3facf92.json b/assets/objects/panelpage/200e4ab8-922c-4a9c-a760-77bce3facf92.json new file mode 100644 index 0000000..04161f6 --- /dev/null +++ b/assets/objects/panelpage/200e4ab8-922c-4a9c-a760-77bce3facf92.json @@ -0,0 +1,85 @@ +{ + "contexts": [], + "displayType": "page", + "entityPermissions": { + "deleteUserIds": [], + "readUserIds": [ + "*" + ], + "writeUserIds": [] + }, + "gridItems": [], + "id": "200e4ab8-922c-4a9c-a760-77bce3facf92", + "interactions": { + "interactions": { + "listeners": [] + } + }, + "layoutSetting": { + "settings": [] + }, + "layoutType": "gridless", + "name": "hedge-test", + "panels": [ + { + "columnSetting": { + "settings": [] + }, + "panes": [ + { + "contentPlugin": "snippet", + "contexts": [], + "label": "", + "locked": false, + "name": "", + "rule": { + "condition": "", + "rules": [] + }, + "settings": [ + { + "attributes": [], + "computedValue": "text/html", + "displayName": "Content Type", + "name": "contentType", + "type": 1, + "value": "text/html" + }, + { + "attributes": [], + "computedValue": "This is a hedge compatibility test. Modified.", + "displayName": "Content", + "name": "content", + "type": 1, + "value": "This is a hedge compatibility test. Modified." + }, + { + "attributes": [], + "computedValue": null, + "displayName": "jsScript", + "name": "jsScript", + "type": 1, + "value": null + } + ] + } + ], + "settings": [], + "stylePlugin": "" + } + ], + "path": "/hedge-test", + "persistence": { + "dataduct": { + "settings": [] + } + }, + "rowSettings": [ + { + "settings": [] + } + ], + "site": "spearhead", + "title": "Hedge Test", + "userId": "b7a9bac5-5fef-4aa6-bf12-d536c156e453" +} diff --git a/assets/objects/panelpage/286f9a5e-196d-4812-bd8a-235a164a1a97.json b/assets/objects/panelpage/286f9a5e-196d-4812-bd8a-235a164a1a97.json new file mode 100644 index 0000000..df3b1ec --- /dev/null +++ b/assets/objects/panelpage/286f9a5e-196d-4812-bd8a-235a164a1a97.json @@ -0,0 +1,80 @@ +{ + "contexts": [ + { + "adaptor": "data", + "data": { + "exposedModule": "./JsonChartModule", + "moduleName": "JsonChartModule", + "remoteEntry": "http://localhost:3000/remoteEntry.js" + }, + "name": "chart_module", + "plugin": "module" + } + ], + "displayType": "page", + "entityPermissions": { + "deleteUserIds": [], + "readUserIds": [ + "*" + ], + "writeUserIds": [] + }, + "gridItems": [], + "id": "286f9a5e-196d-4812-bd8a-235a164a1a97", + "interactions": { + "interactions": { + "listeners": [] + } + }, + "layoutSetting": { + "settings": [] + }, + "layoutType": "gridless", + "name": "am_charts_visual_editor_bar_chart_test", + "panels": [ + { + "columnSetting": { + "settings": [] + }, + "panes": [ + { + "contentPlugin": "amcharts5_json_chart", + "contexts": [], + "label": "", + "locked": false, + "name": "", + "rule": { + "condition": "", + "rules": [] + }, + "settings": [ + { + "attributes": [], + "computedValue": "{\n \"type\": \"XYChart\",\n \"data\": [{\n \"category\": \"Category #1\",\n \"value\": 3336\n }, {\n \"category\": \"Category #2\",\n \"value\": 2517\n }, {\n \"category\": \"Category #3\",\n \"value\": 784\n }, {\n \"category\": \"Category #4\",\n \"value\": 2388\n }, {\n \"category\": \"Category #5\",\n \"value\": 3581\n }, {\n \"category\": \"Category #6\",\n \"value\": 690\n }, {\n \"category\": \"Category #7\",\n \"value\": 4292\n }, {\n \"category\": \"Category #8\",\n \"value\": 2254\n }],\n \"xAxes\": [{\n \"type\": \"ValueAxis\"\n }],\n \"yAxes\": [{\n \"type\": \"CategoryAxis\",\n \"dataFields\": {\n \"category\": \"category\"\n }\n }],\n \"series\": [{\n \"type\": \"ColumnSeries\",\n \"columns\": {\n \"template\": {\n \"type\": \"Column\",\n \"strokeOpacity\": 0,\n \"tooltipText\": \"{categoryY}\\n{valueX}\",\n \"tooltipPosition\": \"pointer\"\n }\n },\n \"dataFields\": {\n \"valueX\": \"value\",\n \"categoryY\": \"category\"\n },\n \"sequencedInterpolation\": true,\n \"sequencedInterpolationDelay\": 100\n }]\n}", + "displayName": "JSON", + "name": "json", + "type": 1, + "value": "{\n \"type\": \"XYChart\",\n \"data\": [{\n \"category\": \"Category #1\",\n \"value\": 3336\n }, {\n \"category\": \"Category #2\",\n \"value\": 2517\n }, {\n \"category\": \"Category #3\",\n \"value\": 784\n }, {\n \"category\": \"Category #4\",\n \"value\": 2388\n }, {\n \"category\": \"Category #5\",\n \"value\": 3581\n }, {\n \"category\": \"Category #6\",\n \"value\": 690\n }, {\n \"category\": \"Category #7\",\n \"value\": 4292\n }, {\n \"category\": \"Category #8\",\n \"value\": 2254\n }],\n \"xAxes\": [{\n \"type\": \"ValueAxis\"\n }],\n \"yAxes\": [{\n \"type\": \"CategoryAxis\",\n \"dataFields\": {\n \"category\": \"category\"\n }\n }],\n \"series\": [{\n \"type\": \"ColumnSeries\",\n \"columns\": {\n \"template\": {\n \"type\": \"Column\",\n \"strokeOpacity\": 0,\n \"tooltipText\": \"{categoryY}\\n{valueX}\",\n \"tooltipPosition\": \"pointer\"\n }\n },\n \"dataFields\": {\n \"valueX\": \"value\",\n \"categoryY\": \"category\"\n },\n \"sequencedInterpolation\": true,\n \"sequencedInterpolationDelay\": 100\n }]\n}" + } + ] + } + ], + "settings": [], + "stylePlugin": "" + } + ], + "path": "/am-charts-visual-editor-bar-chart-test", + "persistence": { + "dataduct": { + "settings": [] + } + }, + "rowSettings": [ + { + "settings": [] + } + ], + "site": "spearhead", + "title": "Visual Editor Bar Chart", + "userId": "b7a9bac5-5fef-4aa6-bf12-d536c156e453" +} diff --git a/assets/objects/panelpage/479f66de-7468-47fa-a649-9fd476b754ab.json b/assets/objects/panelpage/479f66de-7468-47fa-a649-9fd476b754ab.json new file mode 100644 index 0000000..f95e886 --- /dev/null +++ b/assets/objects/panelpage/479f66de-7468-47fa-a649-9fd476b754ab.json @@ -0,0 +1,76 @@ +{ + "contexts": [ + { + "adaptor": "data", + "data": { + "exposedModule": "./JsonChartModule", + "moduleName": "JsonChartModule", + "remoteEntry": "https://rollthecloudinc.github.io/plugin-amcharts5-build/remoteEntry.js" + }, + "name": "chart_module", + "plugin": "module" + } + ], + "displayType": "page", + "entityPermissions": { + "deleteUserIds": [], + "readUserIds": [ + "*" + ], + "writeUserIds": [] + }, + "gridItems": [], + "id": "479f66de-7468-47fa-a649-9fd476b754ab", + "interactions": { + "interactions": { + "listeners": [] + } + }, + "layoutSetting": { + "settings": [] + }, + "layoutType": "gridless", + "name": "test_amcharts5_plugin_v1", + "panels": [ + { + "columnSetting": { + "settings": [ ] + }, + "label": "", + "name": "", + "panes": [ + { + "contentPlugin": "amcharts5_json_chart", + "label": "", + "linkedPageId": "", + "locked": false, + "name": "", + "rule": { + "condition": "", + "field": "", + "operator": "", + "rules": [ ], + "value": "" + }, + "settings": [ ] + } + ], + "settings": [ ], + "stylePlugin": "" + } + ], + "path": "/test-amcharts5-plugin-v1", + "persistence": { + "dataduct": { + "settings": [] + } + }, + "rowSettings": [ + { + "settings": [] + } + ], + "site": "spearhead", + "title": "Test AmCharts5 Plugin v1", + "userId": "b7a9bac5-5fef-4aa6-bf12-d536c156e453" +} diff --git a/assets/objects/panelpage/5494f47d-473c-49b4-bbef-f563be722131.json b/assets/objects/panelpage/5494f47d-473c-49b4-bbef-f563be722131.json new file mode 100644 index 0000000..4246254 --- /dev/null +++ b/assets/objects/panelpage/5494f47d-473c-49b4-bbef-f563be722131.json @@ -0,0 +1,255 @@ +{ + "contexts": [ + { + "adaptor": "data", + "data": { + "exposedModule": "./JsonChartModule", + "moduleName": "JsonChartModule", + "remoteEntry": "http://localhost:3000/remoteEntry.js" + }, + "name": "chart_module", + "plugin": "module" + } + ], + "displayType": "page", + "entityPermissions": { + "deleteUserIds": [], + "readUserIds": [ + "*" + ], + "writeUserIds": [] + }, + "gridItems": [], + "id": "5494f47d-473c-49b4-bbef-f563be722131", + "interactions": { + "interactions": { + "listeners": [] + } + }, + "layoutSetting": { + "settings": [ + { + "attributes": [], + "computedValue": "column", + "displayName": "Direction", + "name": "direction", + "type": 1, + "value": "column" + } + ] + }, + "layoutType": "gridless", + "name": "plugin-amcharts-refs-test-1", + "panels": [ + { + "columnSetting": { + "settings": [ + { + "attributes": [], + "computedValue": "100%", + "displayName": "Height", + "name": "height", + "type": 1, + "value": "100%" + } + ] + }, + "panes": [ + { + "contentPlugin": "amcharts5_json_chart", + "contexts": [], + "label": "", + "locked": false, + "name": "", + "rule": { + "condition": "", + "rules": [] + }, + "settings": [ + { + "attributes": [ + { + "attributes": [ + { + "attributes": [], + "computedValue": "data", + "displayName": "name", + "name": "name", + "type": 1, + "value": "data" + }, + { + "attributes": [], + "computedValue": "data", + "displayName": "id", + "name": "id", + "type": 1, + "value": "data" + }, + { + "attributes": [], + "computedValue": "undefined", + "displayName": "type", + "name": "type", + "type": 0, + "value": "undefined" + } + ], + "computedValue": null, + "displayName": "0", + "name": "0", + "type": 2, + "value": null + } + ], + "computedValue": null, + "displayName": "refs", + "name": "refs", + "type": 4, + "value": null + }, + { + "attributes": [], + "computedValue": "{\n \"type\": \"XYChart\",\n \"refs\": {\n \"data\": [],\n \"xAxis\": {\n \"type\": \"DateAxis\",\n \"settings\": {\n \"maxDeviation\": 0.5,\n \"baseInterval\": {\n \"timeUnit\": \"day\",\n \"count\": 1\n },\n \"renderer\": {\n \"type\": \"AxisRendererX\"\n }\n }\n },\n \"yAxis\": {\n \"type\": \"ValueAxis\",\n \"settings\": {\n \"maxDeviation\": 1,\n \"renderer\": {\n \"type\": \"AxisRendererY\"\n }\n }\n }\n },\n \"settings\": {\n \"panX\": false,\n \"panY\": false,\n \"wheelX\": \"panX\",\n \"wheelY\": \"zoomX\",\n \"scrollbarX\": {\n \"type\": \"Scrollbar\",\n \"settings\": {\n \"orientation\": \"horizontal\"\n }\n }\n },\n \"properties\": {\n \"xAxes\": [\n \"#xAxis\"\n ],\n \"yAxes\": [\n \"#yAxis\"\n ],\n \"series\": [\n {\n \"type\": \"LineSeries\",\n \"settings\": {\n \"name\": \"Series\",\n \"xAxis\": \"#xAxis\",\n \"yAxis\": \"#yAxis\",\n \"valueYField\": \"value\",\n \"valueXField\": \"date\",\n \"tooltip\": {\n \"type\": \"Tooltip\",\n \"settings\": {\n \"labelText\": \"{valueX}: {valueY}\"\n }\n }\n },\n \"properties\": {\n \"data\": \"#data\"\n }\n }\n ]\n }\n}", + "displayName": "json", + "name": "json", + "type": 1, + "value": "{\n \"type\": \"XYChart\",\n \"refs\": {\n \"data\": [],\n \"xAxis\": {\n \"type\": \"DateAxis\",\n \"settings\": {\n \"maxDeviation\": 0.5,\n \"baseInterval\": {\n \"timeUnit\": \"day\",\n \"count\": 1\n },\n \"renderer\": {\n \"type\": \"AxisRendererX\"\n }\n }\n },\n \"yAxis\": {\n \"type\": \"ValueAxis\",\n \"settings\": {\n \"maxDeviation\": 1,\n \"renderer\": {\n \"type\": \"AxisRendererY\"\n }\n }\n }\n },\n \"settings\": {\n \"panX\": false,\n \"panY\": false,\n \"wheelX\": \"panX\",\n \"wheelY\": \"zoomX\",\n \"scrollbarX\": {\n \"type\": \"Scrollbar\",\n \"settings\": {\n \"orientation\": \"horizontal\"\n }\n }\n },\n \"properties\": {\n \"xAxes\": [\n \"#xAxis\"\n ],\n \"yAxes\": [\n \"#yAxis\"\n ],\n \"series\": [\n {\n \"type\": \"LineSeries\",\n \"settings\": {\n \"name\": \"Series\",\n \"xAxis\": \"#xAxis\",\n \"yAxis\": \"#yAxis\",\n \"valueYField\": \"value\",\n \"valueXField\": \"date\",\n \"tooltip\": {\n \"type\": \"Tooltip\",\n \"settings\": {\n \"labelText\": \"{valueX}: {valueY}\"\n }\n }\n },\n \"properties\": {\n \"data\": \"#data\"\n }\n }\n ]\n }\n}" + } + ] + }, + { + "contentPlugin": "datasource", + "contexts": [], + "label": "data", + "locked": false, + "name": "data", + "rule": { + "condition": "", + "rules": [] + }, + "settings": [ + { + "attributes": [], + "computedValue": "data", + "displayName": "plugin", + "name": "plugin", + "type": 1, + "value": "data" + }, + { + "attributes": [ + { + "attributes": [], + "computedValue": "[\n { \"date\": 1652425200000, \"value\": 92 },\n { \"date\": 1652511600000, \"value\": 95 },\n { \"date\": 1652598000000, \"value\": 100 },\n { \"date\": 1652684400000, \"value\": 100 },\n { \"date\": 1652770800000, \"value\": 96 },\n { \"date\": 1652857200000, \"value\": 97 },\n { \"date\": 1652943600000, \"value\": 94 },\n { \"date\": 1653030000000, \"value\": 89 },\n { \"date\": 1653116400000, \"value\": 89 },\n { \"date\": 1653202800000, \"value\": 87 },\n { \"date\": 1653289200000, \"value\": 84 },\n { \"date\": 1653375600000, \"value\": 81 },\n { \"date\": 1653462000000, \"value\": 85 },\n { \"date\": 1653548400000, \"value\": 89 },\n { \"date\": 1653634800000, \"value\": 86 },\n { \"date\": 1653721200000, \"value\": 90 },\n { \"date\": 1653807600000, \"value\": 93 },\n { \"date\": 1653894000000, \"value\": 94 },\n { \"date\": 1653980400000, \"value\": 94 },\n { \"date\": 1654066800000, \"value\": 96 }\n]", + "displayName": "data", + "name": "data", + "type": 1, + "value": "[\n { \"date\": 1652425200000, \"value\": 92 },\n { \"date\": 1652511600000, \"value\": 95 },\n { \"date\": 1652598000000, \"value\": 100 },\n { \"date\": 1652684400000, \"value\": 100 },\n { \"date\": 1652770800000, \"value\": 96 },\n { \"date\": 1652857200000, \"value\": 97 },\n { \"date\": 1652943600000, \"value\": 94 },\n { \"date\": 1653030000000, \"value\": 89 },\n { \"date\": 1653116400000, \"value\": 89 },\n { \"date\": 1653202800000, \"value\": 87 },\n { \"date\": 1653289200000, \"value\": 84 },\n { \"date\": 1653375600000, \"value\": 81 },\n { \"date\": 1653462000000, \"value\": 85 },\n { \"date\": 1653548400000, \"value\": 89 },\n { \"date\": 1653634800000, \"value\": 86 },\n { \"date\": 1653721200000, \"value\": 90 },\n { \"date\": 1653807600000, \"value\": 93 },\n { \"date\": 1653894000000, \"value\": 94 },\n { \"date\": 1653980400000, \"value\": 94 },\n { \"date\": 1654066800000, \"value\": 96 }\n]" + } + ], + "computedValue": null, + "displayName": "settings", + "name": "settings", + "type": 2, + "value": null + }, + { + "attributes": [ + { + "attributes": [], + "computedValue": "pane", + "displayName": "type", + "name": "type", + "type": 1, + "value": "pane" + }, + { + "attributes": [], + "computedValue": null, + "displayName": "bindings", + "name": "bindings", + "type": 4, + "value": null + } + ], + "computedValue": null, + "displayName": "renderer", + "name": "renderer", + "type": 2, + "value": null + } + ] + } + ], + "settings": [], + "stylePlugin": "" + }, + { + "columnSetting": { + "settings": [] + }, + "panes": [], + "settings": [], + "stylePlugin": "" + } + ], + "path": "/plugin-amcharts-refs-test-1", + "persistence": { + "dataduct": { + "settings": [] + } + }, + "rowSettings": [ + { + "settings": [ + { + "attributes": [], + "computedValue": "1", + "displayName": "Flex Grow", + "name": "flexGrow", + "type": 1, + "value": "1" + }, + { + "attributes": [], + "computedValue": "1", + "displayName": "Flex Shrink", + "name": "flexShrink", + "type": 1, + "value": "1" + }, + { + "attributes": [], + "computedValue": "1", + "displayName": "Flex Basis", + "name": "flexBasis", + "type": 1, + "value": "1" + }, + { + "attributes": [], + "computedValue": "100%", + "displayName": "Height", + "name": "height", + "type": 1, + "value": "100%" + }, + { + "attributes": [], + "computedValue": "row", + "displayName": "Direction", + "name": "direction", + "type": 1, + "value": "row" + } + ] + }, + { + "settings": [] + } + ], + "site": "spearhead", + "title": "plugin-amcharts-refs-test-1", + "userId": "b7a9bac5-5fef-4aa6-bf12-d536c156e453" +} diff --git a/assets/objects/panelpage/8ebbcdb3-300f-4739-8cb3-6c5d4c402638.json b/assets/objects/panelpage/8ebbcdb3-300f-4739-8cb3-6c5d4c402638.json new file mode 100644 index 0000000..3185881 --- /dev/null +++ b/assets/objects/panelpage/8ebbcdb3-300f-4739-8cb3-6c5d4c402638.json @@ -0,0 +1,76 @@ +{ + "contexts": [ + { + "adaptor": "data", + "data": { + "exposedModule": "./JsonChartModule", + "moduleName": "JsonChartModule", + "remoteEntry": "http://localhost:3000/remoteEntry.js" + }, + "name": "chart_module", + "plugin": "module" + } + ], + "displayType": "page", + "entityPermissions": { + "deleteUserIds": [], + "readUserIds": [ + "*" + ], + "writeUserIds": [] + }, + "gridItems": [], + "id": "8ebbcdb3-300f-4739-8cb3-6c5d4c402638", + "interactions": { + "interactions": { + "listeners": [] + } + }, + "layoutSetting": { + "settings": [] + }, + "layoutType": "gridless", + "name": "am_charts_visual_editor_bar_chart_test", + "panels": [ + { + "columnSetting": { + "settings": [] + }, + "panes": [ + { + "contentPlugin": "amcharts5_json_chart", + "contexts": [], + "label": "", + "locked": false, + "name": "", + "settings": [ + { + "attributes": [], + "computedValue": "{\n \"type\": \"XYChart\",\n \"data\": [{\n \"category\": \"Category #1\",\n \"value\": 3336\n }, {\n \"category\": \"Category #2\",\n \"value\": 2517\n }, {\n \"category\": \"Category #3\",\n \"value\": 784\n }, {\n \"category\": \"Category #4\",\n \"value\": 2388\n }, {\n \"category\": \"Category #5\",\n \"value\": 3581\n }, {\n \"category\": \"Category #6\",\n \"value\": 690\n }, {\n \"category\": \"Category #7\",\n \"value\": 4292\n }, {\n \"category\": \"Category #8\",\n \"value\": 2254\n }],\n \"xAxes\": [{\n \"type\": \"ValueAxis\",\n \"renderer\": {\n \"maxLabelPosition\": 0.98\n }\n }],\n \"yAxes\": [{\n \"type\": \"CategoryAxis\",\n \"dataFields\": {\n \"category\": \"category\"\n },\n \"renderer\": {\n \"grid\": {\n \"template\": {\n \"type\": \"Grid\",\n \"location\": 0\n }\n },\n \"minGridDistance\": 20\n }\n }],\n \"series\": [{\n \"type\": \"ColumnSeries\",\n \"columns\": {\n \"template\": {\n \"type\": \"Column\",\n \"strokeOpacity\": 0,\n \"tooltipText\": \"{categoryY}\\n{valueX}\",\n \"tooltipPosition\": \"pointer\"\n }\n },\n \"dataFields\": {\n \"valueX\": \"value\",\n \"categoryY\": \"category\"\n },\n \"sequencedInterpolation\": true,\n \"sequencedInterpolationDelay\": 100\n }]\n}", + "displayName": "JSON", + "name": "json", + "type": 1, + "value": "{\n \"type\": \"XYChart\",\n \"data\": [{\n \"category\": \"Category #1\",\n \"value\": 3336\n }, {\n \"category\": \"Category #2\",\n \"value\": 2517\n }, {\n \"category\": \"Category #3\",\n \"value\": 784\n }, {\n \"category\": \"Category #4\",\n \"value\": 2388\n }, {\n \"category\": \"Category #5\",\n \"value\": 3581\n }, {\n \"category\": \"Category #6\",\n \"value\": 690\n }, {\n \"category\": \"Category #7\",\n \"value\": 4292\n }, {\n \"category\": \"Category #8\",\n \"value\": 2254\n }],\n \"xAxes\": [{\n \"type\": \"ValueAxis\",\n \"renderer\": {\n \"maxLabelPosition\": 0.98\n }\n }],\n \"yAxes\": [{\n \"type\": \"CategoryAxis\",\n \"dataFields\": {\n \"category\": \"category\"\n },\n \"renderer\": {\n \"grid\": {\n \"template\": {\n \"type\": \"Grid\",\n \"location\": 0\n }\n },\n \"minGridDistance\": 20\n }\n }],\n \"series\": [{\n \"type\": \"ColumnSeries\",\n \"columns\": {\n \"template\": {\n \"type\": \"Column\",\n \"strokeOpacity\": 0,\n \"tooltipText\": \"{categoryY}\\n{valueX}\",\n \"tooltipPosition\": \"pointer\"\n }\n },\n \"dataFields\": {\n \"valueX\": \"value\",\n \"categoryY\": \"category\"\n },\n \"sequencedInterpolation\": true,\n \"sequencedInterpolationDelay\": 100\n }]\n}" + } + ] + } + ], + "settings": [], + "stylePlugin": "" + } + ], + "path": "/am-charts-visual-editor-bar-chart-test", + "persistence": { + "dataduct": { + "settings": [] + } + }, + "rowSettings": [ + { + "settings": [] + } + ], + "site": "spearhead", + "title": "Visual Editor Bar Chart", + "userId": "b7a9bac5-5fef-4aa6-bf12-d536c156e453" +} diff --git a/assets/objects/panelpage/bb66aa62-8635-4015-86c9-ba4f208b0856.json b/assets/objects/panelpage/bb66aa62-8635-4015-86c9-ba4f208b0856.json new file mode 100644 index 0000000..588846c --- /dev/null +++ b/assets/objects/panelpage/bb66aa62-8635-4015-86c9-ba4f208b0856.json @@ -0,0 +1 @@ +{"contexts":[{"adaptor":"data","data":{"value":[{},{},{}]},"datasource":null,"name":"terms","plugin":"state","rest":null,"snippet":null,"tokens":null},{"adaptor":"datasource","data":null,"datasource":{"params":[],"plugin":"data","renderer":{"bindings":[],"data":{"content":"","contentType":""},"query":"","trackBy":"","type":"pane"},"settings":[{"attributes":[],"computedValue":"[{\"id\":1,\"name\":\"batman\"},{\"id\":2,\"name\":\"superman\"}]","displayName":"data","floatValue":0,"intValue":0,"name":"data","type":1,"value":"[{\"id\":1,\"name\":\"batman\"},{\"id\":2,\"name\":\"superman\"}]"}]},"name":"characters","plugin":"datasource","rest":null,"snippet":null,"tokens":null},{"adaptor":"datasource","data":null,"datasource":{"params":[],"plugin":"crud_adaptor","renderer":{"bindings":[],"data":{"content":"","contentType":""},"query":"","trackBy":"","type":"pane"},"settings":[{"attributes":[],"computedValue":"aws_s3_entity","displayName":"adaptorName","floatValue":0,"intValue":0,"name":"adaptorName","type":1,"value":"aws_s3_entity"},{"attributes":[],"computedValue":"bucket=:bucket\u0026prefix=:prefix","displayName":"optionsString","floatValue":0,"intValue":0,"name":"optionsString","type":1,"value":"bucket=:bucket\u0026prefix=:prefix"},{"attributes":[],"computedValue":"identity=:identity","displayName":"paramsString","floatValue":0,"intValue":0,"name":"paramsString","type":1,"value":"identity=:identity"},{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"static","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"static"},{"attributes":[],"computedValue":"classifieds-ui-prod","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"classifieds-ui-prod"},{"attributes":[],"computedValue":"classifieds-ui-prod","displayName":"testValue","floatValue":0,"intValue":0,"name":"testValue","type":1,"value":"classifieds-ui-prod"},{"attributes":[],"computedValue":"","displayName":"context","floatValue":0,"intValue":0,"name":"context","type":1,"value":""}],"computedValue":"","displayName":"mapping","floatValue":0,"intValue":0,"name":"mapping","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"page","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"page"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"limit","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"limit"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"offset","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"offset"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"searchString","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"searchString"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"3","floatValue":0,"intValue":0,"name":"3","type":2,"value":""}],"computedValue":"","displayName":"flags","floatValue":0,"intValue":0,"name":"flags","type":4,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"static","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"static"},{"attributes":[],"computedValue":"ads/","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"ads/"},{"attributes":[],"computedValue":"ads/","displayName":"testValue","floatValue":0,"intValue":0,"name":"testValue","type":1,"value":"ads/"},{"attributes":[],"computedValue":"","displayName":"context","floatValue":0,"intValue":0,"name":"context","type":1,"value":""}],"computedValue":"","displayName":"mapping","floatValue":0,"intValue":0,"name":"mapping","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"page","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"page"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"limit","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"limit"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"offset","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"offset"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"searchString","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"searchString"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"3","floatValue":0,"intValue":0,"name":"3","type":2,"value":""}],"computedValue":"","displayName":"flags","floatValue":0,"intValue":0,"name":"flags","type":4,"value":""}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""}],"computedValue":"","displayName":"options","floatValue":0,"intValue":0,"name":"options","type":4,"value":""},{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"route","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"route"},{"attributes":[],"computedValue":"arg0","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"arg0"},{"attributes":[],"computedValue":"","displayName":"testValue","floatValue":0,"intValue":0,"name":"testValue","type":1,"value":""},{"attributes":[],"computedValue":"","displayName":"context","floatValue":0,"intValue":0,"name":"context","type":1,"value":""}],"computedValue":"","displayName":"mapping","floatValue":0,"intValue":0,"name":"mapping","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"page","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"page"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"limit","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"limit"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"offset","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"offset"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"searchString","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"searchString"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"3","floatValue":0,"intValue":0,"name":"3","type":2,"value":""}],"computedValue":"","displayName":"flags","floatValue":0,"intValue":0,"name":"flags","type":4,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"params","floatValue":0,"intValue":0,"name":"params","type":4,"value":""}]},"name":"ad","plugin":"datasource","rest":null,"snippet":null,"tokens":null}],"cssFile":"","derivativeId":"","displayType":"page","entityPermissions":{"deleteUserIds":["b7a9bac5-5fef-4aa6-bf12-d536c156e453"],"readUserIds":["*"],"writeUserIds":["b7a9bac5-5fef-4aa6-bf12-d536c156e453"]},"gridItems":[{"cols":100,"rows":1,"weight":0,"x":0,"y":0}],"id":"bb66aa62-8635-4015-86c9-ba4f208b0856","layoutSetting":{"settings":[]},"layoutType":"split","name":"native_forms_rebuild_v1","panels":[{"columnSetting":{"settings":[]},"label":"","name":"","panes":[{"contentPlugin":"datasource","label":"characters_context_ref","linkedPageId":"","locked":false,"name":"characters_context_ref","rule":{"condition":"","field":"","operator":"","rules":[],"value":""},"settings":[{"attributes":[],"computedValue":"context","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"context"},{"attributes":[{"attributes":[],"computedValue":"characters","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"characters"}],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"select_characters","displayName":"id","floatValue":0,"intValue":0,"name":"id","type":1,"value":"select_characters"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"bindings","floatValue":0,"intValue":0,"name":"bindings","type":4,"value":""}],"computedValue":"","displayName":"renderer","floatValue":0,"intValue":0,"name":"renderer","type":2,"value":""}]},{"contentPlugin":"datasource","label":"creators","linkedPageId":"","locked":false,"name":"creators","rule":{"condition":"","field":"","operator":"","rules":[],"value":""},"settings":[{"attributes":[],"computedValue":"rest","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"rest"},{"attributes":[{"attributes":[],"computedValue":"https://gateway.marvel.com:443/v1/public/creators?apikey=12097554cc585301fc38efd51b21fb06\u0026nameStartsWith=:nameStartsWith","displayName":"url","floatValue":0,"intValue":0,"name":"url","type":1,"value":"https://gateway.marvel.com:443/v1/public/creators?apikey=12097554cc585301fc38efd51b21fb06\u0026nameStartsWith=:nameStartsWith"},{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"inputparam","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"inputparam"},{"attributes":[],"computedValue":"term","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"term"},{"attributes":[],"computedValue":"john","displayName":"testValue","floatValue":0,"intValue":0,"name":"testValue","type":1,"value":"john"},{"attributes":[],"computedValue":"","displayName":"context","floatValue":0,"intValue":0,"name":"context","type":1,"value":""}],"computedValue":"","displayName":"mapping","floatValue":0,"intValue":0,"name":"mapping","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"page","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"page"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"limit","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"limit"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"offset","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"offset"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"searchString","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"searchString"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"3","floatValue":0,"intValue":0,"name":"3","type":2,"value":""}],"computedValue":"","displayName":"flags","floatValue":0,"intValue":0,"name":"flags","type":4,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"params","floatValue":0,"intValue":0,"name":"params","type":4,"value":""},{"attributes":[{"attributes":[],"computedValue":"","displayName":"content","floatValue":0,"intValue":0,"name":"content","type":1,"value":""},{"attributes":[],"computedValue":"application/json","displayName":"contentType","floatValue":0,"intValue":0,"name":"contentType","type":1,"value":"application/json"},{"attributes":[],"computedValue":"","displayName":"jsScript","floatValue":0,"intValue":0,"name":"jsScript","type":1,"value":""}],"computedValue":"","displayName":"body","floatValue":0,"intValue":0,"name":"body","type":2,"value":""},{"attributes":[],"computedValue":"get","displayName":"method","floatValue":0,"intValue":0,"name":"method","type":1,"value":"get"}],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"select_creators","displayName":"id","floatValue":0,"intValue":0,"name":"id","type":1,"value":"select_creators"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"bindings","floatValue":0,"intValue":0,"name":"bindings","type":4,"value":""}],"computedValue":"","displayName":"renderer","floatValue":0,"intValue":0,"name":"renderer","type":2,"value":""}]},{"contentPlugin":"datasource","label":"select_creators","linkedPageId":"","locked":false,"name":"select_creators","rule":{"condition":"","field":"","operator":"","rules":[],"value":""},"settings":[{"attributes":[],"computedValue":"select","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"select"},{"attributes":[{"attributes":[],"computedValue":"$..data.results.*","displayName":"query","floatValue":0,"intValue":0,"name":"query","type":1,"value":"$..data.results.*"}],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"","displayName":"bindings","floatValue":0,"intValue":0,"name":"bindings","type":4,"value":""}],"computedValue":"","displayName":"renderer","floatValue":0,"intValue":0,"name":"renderer","type":2,"value":""}]},{"contentPlugin":"form_input","label":"text","linkedPageId":"","locked":false,"name":"text","rule":{"condition":"","field":"","operator":"","rules":[],"value":""},"settings":[{"attributes":[],"computedValue":"[ad.results.0.text]","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"[ad.results.0.text]"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"","displayName":"id","floatValue":0,"intValue":0,"name":"id","type":1,"value":""}],"computedValue":"","displayName":"datasourceBinding","floatValue":0,"intValue":0,"name":"datasourceBinding","type":2,"value":""}]},{"contentPlugin":"form_select","label":"select","linkedPageId":"","locked":false,"name":"select","rule":{"condition":"","field":"","operator":"","rules":[],"value":""},"settings":[{"attributes":[],"computedValue":"[ad.results.0.select]","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"[ad.results.0.select]"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"characters_context_ref","displayName":"id","floatValue":0,"intValue":0,"name":"id","type":1,"value":"characters_context_ref"}],"computedValue":"","displayName":"datasourceBinding","floatValue":0,"intValue":0,"name":"datasourceBinding","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"","displayName":"query","floatValue":0,"intValue":0,"name":"query","type":1,"value":""},{"attributes":[],"computedValue":"","displayName":"trackBy","floatValue":0,"intValue":0,"name":"trackBy","type":1,"value":""},{"attributes":[],"computedValue":"[.id]","displayName":"idMapping","floatValue":0,"intValue":0,"name":"idMapping","type":1,"value":"[.id]"},{"attributes":[],"computedValue":"[.name]","displayName":"labelMapping","floatValue":0,"intValue":0,"name":"labelMapping","type":1,"value":"[.name]"},{"attributes":[],"computedValue":"[.id]","displayName":"valueMapping","floatValue":0,"intValue":0,"name":"valueMapping","type":1,"value":"[.id]"},{"attributes":[],"computedValue":"false","displayName":"multiple","floatValue":0,"intValue":0,"name":"multiple","type":5,"value":"false"},{"attributes":[],"computedValue":"0","displayName":"limit","floatValue":0,"intValue":0,"name":"limit","type":0,"value":"0"}],"computedValue":"","displayName":"datasourceOptions","floatValue":0,"intValue":0,"name":"datasourceOptions","type":2,"value":""}]},{"contentPlugin":"form_textarea","label":"textarea","linkedPageId":"","locked":false,"name":"textarea","rule":{"condition":"","field":"","operator":"","rules":[],"value":""},"settings":[{"attributes":[],"computedValue":"[ad.results.0.textarea]","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"[ad.results.0.textarea]"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"","displayName":"id","floatValue":0,"intValue":0,"name":"id","type":1,"value":""}],"computedValue":"","displayName":"datasourceBinding","floatValue":0,"intValue":0,"name":"datasourceBinding","type":2,"value":""}]},{"contentPlugin":"form_radiogroup","label":"radiogroup","linkedPageId":"","locked":false,"name":"radiogroup","rule":{"condition":"","field":"","operator":"","rules":[],"value":""},"settings":[{"attributes":[],"computedValue":"[ad.results.0.radiogroup]","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"[ad.results.0.radiogroup]"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"characters_context_ref","displayName":"id","floatValue":0,"intValue":0,"name":"id","type":1,"value":"characters_context_ref"}],"computedValue":"","displayName":"datasourceBinding","floatValue":0,"intValue":0,"name":"datasourceBinding","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"","displayName":"query","floatValue":0,"intValue":0,"name":"query","type":1,"value":""},{"attributes":[],"computedValue":"","displayName":"trackBy","floatValue":0,"intValue":0,"name":"trackBy","type":1,"value":""},{"attributes":[],"computedValue":"[.id]","displayName":"idMapping","floatValue":0,"intValue":0,"name":"idMapping","type":1,"value":"[.id]"},{"attributes":[],"computedValue":"[.name]","displayName":"labelMapping","floatValue":0,"intValue":0,"name":"labelMapping","type":1,"value":"[.name]"},{"attributes":[],"computedValue":"[.id]","displayName":"valueMapping","floatValue":0,"intValue":0,"name":"valueMapping","type":1,"value":"[.id]"},{"attributes":[],"computedValue":"false","displayName":"multiple","floatValue":0,"intValue":0,"name":"multiple","type":5,"value":"false"},{"attributes":[],"computedValue":"0","displayName":"limit","floatValue":0,"intValue":0,"name":"limit","type":0,"value":"0"}],"computedValue":"","displayName":"datasourceOptions","floatValue":0,"intValue":0,"name":"datasourceOptions","type":2,"value":""}]},{"contentPlugin":"form_slider","label":"slider","linkedPageId":"","locked":false,"name":"slider","rule":{"condition":"","field":"","operator":"","rules":[],"value":""},"settings":[{"attributes":[],"computedValue":"[ad.results.0.slider]","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"[ad.results.0.slider]"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"","displayName":"id","floatValue":0,"intValue":0,"name":"id","type":1,"value":""}],"computedValue":"","displayName":"datasourceBinding","floatValue":0,"intValue":0,"name":"datasourceBinding","type":2,"value":""}]},{"contentPlugin":"form_toggle","label":"toggle","linkedPageId":"","locked":false,"name":"toggle","rule":{"condition":"","field":"","operator":"","rules":[],"value":""},"settings":[{"attributes":[],"computedValue":"[ad.results.0.toggle]","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"[ad.results.0.toggle]"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"","displayName":"id","floatValue":0,"intValue":0,"name":"id","type":1,"value":""}],"computedValue":"","displayName":"datasourceBinding","floatValue":0,"intValue":0,"name":"datasourceBinding","type":2,"value":""}]},{"contentPlugin":"form_checkbox","label":"checkbox","linkedPageId":"","locked":false,"name":"checkbox","rule":{"condition":"","field":"","operator":"","rules":[],"value":""},"settings":[{"attributes":[],"computedValue":"[ad.results.0.checkbox]","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"[ad.results.0.checkbox]"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"","displayName":"id","floatValue":0,"intValue":0,"name":"id","type":1,"value":""}],"computedValue":"","displayName":"datasourceBinding","floatValue":0,"intValue":0,"name":"datasourceBinding","type":2,"value":""}]},{"contentPlugin":"form_datepicker","label":"datepicker","linkedPageId":"","locked":false,"name":"datepicker","rule":{"condition":"","field":"","operator":"","rules":[],"value":""},"settings":[{"attributes":[],"computedValue":"[ad.results.0.datepicker]","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"[ad.results.0.datepicker]"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"","displayName":"id","floatValue":0,"intValue":0,"name":"id","type":1,"value":""}],"computedValue":"","displayName":"datasourceBinding","floatValue":0,"intValue":0,"name":"datasourceBinding","type":2,"value":""}]},{"contentPlugin":"form_autocomplete","label":"autocomplete","linkedPageId":"","locked":false,"name":"autocomplete","rule":{"condition":"","field":"","operator":"","rules":[],"value":""},"settings":[{"attributes":[],"computedValue":"[ad.results.0.autocomplete]","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"[ad.results.0.autocomplete]"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"creators","displayName":"id","floatValue":0,"intValue":0,"name":"id","type":1,"value":"creators"}],"computedValue":"","displayName":"datasourceBinding","floatValue":0,"intValue":0,"name":"datasourceBinding","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"","displayName":"query","floatValue":0,"intValue":0,"name":"query","type":1,"value":""},{"attributes":[],"computedValue":"","displayName":"trackBy","floatValue":0,"intValue":0,"name":"trackBy","type":1,"value":""},{"attributes":[],"computedValue":"[.id]","displayName":"idMapping","floatValue":0,"intValue":0,"name":"idMapping","type":1,"value":"[.id]"},{"attributes":[],"computedValue":"[.fullName]","displayName":"labelMapping","floatValue":0,"intValue":0,"name":"labelMapping","type":1,"value":"[.fullName]"},{"attributes":[],"computedValue":"[.id]","displayName":"valueMapping","floatValue":0,"intValue":0,"name":"valueMapping","type":1,"value":"[.id]"},{"attributes":[],"computedValue":"false","displayName":"multiple","floatValue":0,"intValue":0,"name":"multiple","type":5,"value":"false"},{"attributes":[],"computedValue":"0","displayName":"limit","floatValue":0,"intValue":0,"name":"limit","type":0,"value":"0"}],"computedValue":"","displayName":"datasourceOptions","floatValue":0,"intValue":0,"name":"datasourceOptions","type":2,"value":""}]},{"contentPlugin":"panel","label":"nested","linkedPageId":"","locked":false,"name":"nested","rule":{"condition":"","field":"","operator":"","rules":[],"value":""},"settings":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"100","displayName":"cols","floatValue":0,"intValue":0,"name":"cols","type":0,"value":"100"},{"attributes":[],"computedValue":"1","displayName":"rows","floatValue":0,"intValue":0,"name":"rows","type":0,"value":"1"},{"attributes":[],"computedValue":"0","displayName":"x","floatValue":0,"intValue":0,"name":"x","type":0,"value":"0"},{"attributes":[],"computedValue":"0","displayName":"y","floatValue":0,"intValue":0,"name":"y","type":0,"value":"0"},{"attributes":[],"computedValue":"0","displayName":"weight","floatValue":0,"intValue":0,"name":"weight","type":0,"value":"0"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"gridItems","floatValue":0,"intValue":0,"name":"gridItems","type":4,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"[ad.results.0.nested.nestedValue]","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"[ad.results.0.nested.nestedValue]"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"","displayName":"id","floatValue":0,"intValue":0,"name":"id","type":1,"value":""}],"computedValue":"","displayName":"datasourceBinding","floatValue":0,"intValue":0,"name":"datasourceBinding","type":2,"value":""}],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[],"computedValue":"false","displayName":"locked","floatValue":0,"intValue":0,"name":"locked","type":5,"value":"false"},{"attributes":[],"computedValue":"","displayName":"contexts","floatValue":0,"intValue":0,"name":"contexts","type":4,"value":""},{"attributes":[],"computedValue":"nestedValue","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"nestedValue"},{"attributes":[],"computedValue":"nestedValue","displayName":"label","floatValue":0,"intValue":0,"name":"label","type":1,"value":"nestedValue"},{"attributes":[],"computedValue":"form_input","displayName":"contentPlugin","floatValue":0,"intValue":0,"name":"contentPlugin","type":1,"value":"form_input"},{"attributes":[{"attributes":[],"computedValue":"","displayName":"condition","floatValue":0,"intValue":0,"name":"condition","type":1,"value":""},{"attributes":[],"computedValue":"","displayName":"rules","floatValue":0,"intValue":0,"name":"rules","type":4,"value":""}],"computedValue":"","displayName":"rule","floatValue":0,"intValue":0,"name":"rule","type":2,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"panes","floatValue":0,"intValue":0,"name":"panes","type":4,"value":""},{"attributes":[],"computedValue":"undefined","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"label","floatValue":0,"intValue":0,"name":"label","type":0,"value":"undefined"},{"attributes":[],"computedValue":"","displayName":"stylePlugin","floatValue":0,"intValue":0,"name":"stylePlugin","type":1,"value":""},{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""}],"computedValue":"","displayName":"columnSetting","floatValue":0,"intValue":0,"name":"columnSetting","type":2,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"panels","floatValue":0,"intValue":0,"name":"panels","type":4,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"terms","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"terms"},{"attributes":[],"computedValue":"data","displayName":"adaptor","floatValue":0,"intValue":0,"name":"adaptor","type":1,"value":"data"},{"attributes":[],"computedValue":"state","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"state"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""}],"computedValue":"","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":4,"value":""}],"computedValue":"","displayName":"data","floatValue":0,"intValue":0,"name":"data","type":2,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"characters","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"characters"},{"attributes":[],"computedValue":"datasource","displayName":"adaptor","floatValue":0,"intValue":0,"name":"adaptor","type":1,"value":"datasource"},{"attributes":[],"computedValue":"datasource","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"datasource"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"[{\"id\":1,\"name\":\"batman\"},{\"id\":2,\"name\":\"superman\"}]","displayName":"data","floatValue":0,"intValue":0,"name":"data","type":1,"value":"[{\"id\":1,\"name\":\"batman\"},{\"id\":2,\"name\":\"superman\"}]"}],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[],"computedValue":"","displayName":"params","floatValue":0,"intValue":0,"name":"params","type":4,"value":""},{"attributes":[],"computedValue":"data","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"data"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"undefined","displayName":"query","floatValue":0,"intValue":0,"name":"query","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"trackBy","floatValue":0,"intValue":0,"name":"trackBy","type":0,"value":"undefined"},{"attributes":[],"computedValue":"","displayName":"bindings","floatValue":0,"intValue":0,"name":"bindings","type":4,"value":""}],"computedValue":"","displayName":"renderer","floatValue":0,"intValue":0,"name":"renderer","type":2,"value":""}],"computedValue":"","displayName":"datasource","floatValue":0,"intValue":0,"name":"datasource","type":2,"value":""}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"ad","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"ad"},{"attributes":[],"computedValue":"datasource","displayName":"adaptor","floatValue":0,"intValue":0,"name":"adaptor","type":1,"value":"datasource"},{"attributes":[],"computedValue":"datasource","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"datasource"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"aws_s3_entity","displayName":"adaptorName","floatValue":0,"intValue":0,"name":"adaptorName","type":1,"value":"aws_s3_entity"},{"attributes":[],"computedValue":"bucket=:bucket\u0026prefix=:prefix","displayName":"optionsString","floatValue":0,"intValue":0,"name":"optionsString","type":1,"value":"bucket=:bucket\u0026prefix=:prefix"},{"attributes":[],"computedValue":"identity=:identity","displayName":"paramsString","floatValue":0,"intValue":0,"name":"paramsString","type":1,"value":"identity=:identity"},{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"static","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"static"},{"attributes":[],"computedValue":"classifieds-ui-prod","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"classifieds-ui-prod"},{"attributes":[],"computedValue":"classifieds-ui-prod","displayName":"testValue","floatValue":0,"intValue":0,"name":"testValue","type":1,"value":"classifieds-ui-prod"},{"attributes":[],"computedValue":"","displayName":"context","floatValue":0,"intValue":0,"name":"context","type":1,"value":""}],"computedValue":"","displayName":"mapping","floatValue":0,"intValue":0,"name":"mapping","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"page","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"page"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"limit","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"limit"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"offset","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"offset"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"searchString","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"searchString"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"3","floatValue":0,"intValue":0,"name":"3","type":2,"value":""}],"computedValue":"","displayName":"flags","floatValue":0,"intValue":0,"name":"flags","type":4,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"static","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"static"},{"attributes":[],"computedValue":"ads/","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"ads/"},{"attributes":[],"computedValue":"ads/","displayName":"testValue","floatValue":0,"intValue":0,"name":"testValue","type":1,"value":"ads/"},{"attributes":[],"computedValue":"","displayName":"context","floatValue":0,"intValue":0,"name":"context","type":1,"value":""}],"computedValue":"","displayName":"mapping","floatValue":0,"intValue":0,"name":"mapping","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"page","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"page"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"limit","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"limit"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"offset","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"offset"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"searchString","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"searchString"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"3","floatValue":0,"intValue":0,"name":"3","type":2,"value":""}],"computedValue":"","displayName":"flags","floatValue":0,"intValue":0,"name":"flags","type":4,"value":""}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""}],"computedValue":"","displayName":"options","floatValue":0,"intValue":0,"name":"options","type":4,"value":""},{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"route","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"route"},{"attributes":[],"computedValue":"arg0","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"arg0"},{"attributes":[],"computedValue":"","displayName":"testValue","floatValue":0,"intValue":0,"name":"testValue","type":1,"value":""},{"attributes":[],"computedValue":"","displayName":"context","floatValue":0,"intValue":0,"name":"context","type":1,"value":""}],"computedValue":"","displayName":"mapping","floatValue":0,"intValue":0,"name":"mapping","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"page","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"page"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"limit","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"limit"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"offset","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"offset"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"searchString","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"searchString"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"3","floatValue":0,"intValue":0,"name":"3","type":2,"value":""}],"computedValue":"","displayName":"flags","floatValue":0,"intValue":0,"name":"flags","type":4,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"params","floatValue":0,"intValue":0,"name":"params","type":4,"value":""}],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[],"computedValue":"","displayName":"params","floatValue":0,"intValue":0,"name":"params","type":4,"value":""},{"attributes":[],"computedValue":"crud_adaptor","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"crud_adaptor"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"undefined","displayName":"query","floatValue":0,"intValue":0,"name":"query","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"trackBy","floatValue":0,"intValue":0,"name":"trackBy","type":0,"value":"undefined"},{"attributes":[],"computedValue":"","displayName":"bindings","floatValue":0,"intValue":0,"name":"bindings","type":4,"value":""}],"computedValue":"","displayName":"renderer","floatValue":0,"intValue":0,"name":"renderer","type":2,"value":""}],"computedValue":"","displayName":"datasource","floatValue":0,"intValue":0,"name":"datasource","type":2,"value":""}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""}],"computedValue":"","displayName":"contexts","floatValue":0,"intValue":0,"name":"contexts","type":4,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"rowSettings","floatValue":0,"intValue":0,"name":"rowSettings","type":4,"value":""},{"attributes":[{"attributes":[],"computedValue":"","displayName":"readUserIds","floatValue":0,"intValue":0,"name":"readUserIds","type":4,"value":""},{"attributes":[],"computedValue":"","displayName":"writeUserIds","floatValue":0,"intValue":0,"name":"writeUserIds","type":4,"value":""},{"attributes":[],"computedValue":"","displayName":"deleteUserIds","floatValue":0,"intValue":0,"name":"deleteUserIds","type":4,"value":""}],"computedValue":"","displayName":"entityPermissions","floatValue":0,"intValue":0,"name":"entityPermissions","type":2,"value":""},{"attributes":[],"computedValue":"undefined","displayName":"id","floatValue":0,"intValue":0,"name":"id","type":0,"value":"undefined"},{"attributes":[],"computedValue":"split","displayName":"layoutType","floatValue":0,"intValue":0,"name":"layoutType","type":1,"value":"split"},{"attributes":[],"computedValue":"form","displayName":"displayType","floatValue":0,"intValue":0,"name":"displayType","type":1,"value":"form"},{"attributes":[],"computedValue":"nested_form","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"nested_form"},{"attributes":[],"computedValue":"nested_form","displayName":"title","floatValue":0,"intValue":0,"name":"title","type":1,"value":"nested_form"},{"attributes":[],"computedValue":"spearhead","displayName":"site","floatValue":0,"intValue":0,"name":"site","type":1,"value":"spearhead"},{"attributes":[],"computedValue":"undefined","displayName":"userId","floatValue":0,"intValue":0,"name":"userId","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"path","floatValue":0,"intValue":0,"name":"path","type":0,"value":"undefined"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[],"computedValue":"undefined","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":0,"value":"undefined"}],"computedValue":"","displayName":"dataduct","floatValue":0,"intValue":0,"name":"dataduct","type":2,"value":""}],"computedValue":"","displayName":"persistence","floatValue":0,"intValue":0,"name":"persistence","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""}],"computedValue":"","displayName":"layoutSetting","floatValue":0,"intValue":0,"name":"layoutSetting","type":2,"value":""}]},{"contentPlugin":"panel","label":"","linkedPageId":"","locked":false,"name":"","rule":{"condition":"","field":"","operator":"","rules":[],"value":""},"settings":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"100","displayName":"cols","floatValue":0,"intValue":0,"name":"cols","type":0,"value":"100"},{"attributes":[],"computedValue":"1","displayName":"rows","floatValue":0,"intValue":0,"name":"rows","type":0,"value":"1"},{"attributes":[],"computedValue":"0","displayName":"x","floatValue":0,"intValue":0,"name":"x","type":0,"value":"0"},{"attributes":[],"computedValue":"0","displayName":"y","floatValue":0,"intValue":0,"name":"y","type":0,"value":"0"},{"attributes":[],"computedValue":"0","displayName":"weight","floatValue":0,"intValue":0,"name":"weight","type":0,"value":"0"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"gridItems","floatValue":0,"intValue":0,"name":"gridItems","type":4,"value":""},{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"$.ad.results[0].terms","displayName":"valuesMapping","floatValue":0,"intValue":0,"name":"valuesMapping","type":1,"value":"$.ad.results[0].terms"}],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"100","displayName":"cols","floatValue":0,"intValue":0,"name":"cols","type":0,"value":"100"},{"attributes":[],"computedValue":"1","displayName":"rows","floatValue":0,"intValue":0,"name":"rows","type":0,"value":"1"},{"attributes":[],"computedValue":"0","displayName":"x","floatValue":0,"intValue":0,"name":"x","type":0,"value":"0"},{"attributes":[],"computedValue":"0","displayName":"y","floatValue":0,"intValue":0,"name":"y","type":0,"value":"0"},{"attributes":[],"computedValue":"0","displayName":"weight","floatValue":0,"intValue":0,"name":"weight","type":0,"value":"0"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"gridItems","floatValue":0,"intValue":0,"name":"gridItems","type":4,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"[ad.results.0.terms.$i.humanName]","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"[ad.results.0.terms.$i.humanName]"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"","displayName":"id","floatValue":0,"intValue":0,"name":"id","type":1,"value":""}],"computedValue":"","displayName":"datasourceBinding","floatValue":0,"intValue":0,"name":"datasourceBinding","type":2,"value":""}],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[],"computedValue":"false","displayName":"locked","floatValue":0,"intValue":0,"name":"locked","type":5,"value":"false"},{"attributes":[],"computedValue":"","displayName":"contexts","floatValue":0,"intValue":0,"name":"contexts","type":4,"value":""},{"attributes":[],"computedValue":"humanName","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"humanName"},{"attributes":[],"computedValue":"humanName","displayName":"label","floatValue":0,"intValue":0,"name":"label","type":1,"value":"humanName"},{"attributes":[],"computedValue":"form_input","displayName":"contentPlugin","floatValue":0,"intValue":0,"name":"contentPlugin","type":1,"value":"form_input"},{"attributes":[{"attributes":[],"computedValue":"","displayName":"condition","floatValue":0,"intValue":0,"name":"condition","type":1,"value":""},{"attributes":[],"computedValue":"","displayName":"rules","floatValue":0,"intValue":0,"name":"rules","type":4,"value":""}],"computedValue":"","displayName":"rule","floatValue":0,"intValue":0,"name":"rule","type":2,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"100","displayName":"cols","floatValue":0,"intValue":0,"name":"cols","type":0,"value":"100"},{"attributes":[],"computedValue":"1","displayName":"rows","floatValue":0,"intValue":0,"name":"rows","type":0,"value":"1"},{"attributes":[],"computedValue":"0","displayName":"x","floatValue":0,"intValue":0,"name":"x","type":0,"value":"0"},{"attributes":[],"computedValue":"0","displayName":"y","floatValue":0,"intValue":0,"name":"y","type":0,"value":"0"},{"attributes":[],"computedValue":"0","displayName":"weight","floatValue":0,"intValue":0,"name":"weight","type":0,"value":"0"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"gridItems","floatValue":0,"intValue":0,"name":"gridItems","type":4,"value":""},{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"$.ad.results[0].terms[$i].terms","displayName":"valuesMapping","floatValue":0,"intValue":0,"name":"valuesMapping","type":1,"value":"$.ad.results[0].terms[$i].terms"}],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"100","displayName":"cols","floatValue":0,"intValue":0,"name":"cols","type":0,"value":"100"},{"attributes":[],"computedValue":"1","displayName":"rows","floatValue":0,"intValue":0,"name":"rows","type":0,"value":"1"},{"attributes":[],"computedValue":"0","displayName":"x","floatValue":0,"intValue":0,"name":"x","type":0,"value":"0"},{"attributes":[],"computedValue":"0","displayName":"y","floatValue":0,"intValue":0,"name":"y","type":0,"value":"0"},{"attributes":[],"computedValue":"0","displayName":"weight","floatValue":0,"intValue":0,"name":"weight","type":0,"value":"0"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"gridItems","floatValue":0,"intValue":0,"name":"gridItems","type":4,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"[ad.results.0.terms.$i.terms.$i.humanName]","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"[ad.results.0.terms.$i.terms.$i.humanName]"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"","displayName":"id","floatValue":0,"intValue":0,"name":"id","type":1,"value":""}],"computedValue":"","displayName":"datasourceBinding","floatValue":0,"intValue":0,"name":"datasourceBinding","type":2,"value":""}],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[],"computedValue":"false","displayName":"locked","floatValue":0,"intValue":0,"name":"locked","type":5,"value":"false"},{"attributes":[],"computedValue":"","displayName":"contexts","floatValue":0,"intValue":0,"name":"contexts","type":4,"value":""},{"attributes":[],"computedValue":"humanName","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"humanName"},{"attributes":[],"computedValue":"humanName","displayName":"label","floatValue":0,"intValue":0,"name":"label","type":1,"value":"humanName"},{"attributes":[],"computedValue":"form_input","displayName":"contentPlugin","floatValue":0,"intValue":0,"name":"contentPlugin","type":1,"value":"form_input"},{"attributes":[{"attributes":[],"computedValue":"","displayName":"condition","floatValue":0,"intValue":0,"name":"condition","type":1,"value":""},{"attributes":[],"computedValue":"","displayName":"rules","floatValue":0,"intValue":0,"name":"rules","type":4,"value":""}],"computedValue":"","displayName":"rule","floatValue":0,"intValue":0,"name":"rule","type":2,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"panes","floatValue":0,"intValue":0,"name":"panes","type":4,"value":""},{"attributes":[],"computedValue":"undefined","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"label","floatValue":0,"intValue":0,"name":"label","type":0,"value":"undefined"},{"attributes":[],"computedValue":"","displayName":"stylePlugin","floatValue":0,"intValue":0,"name":"stylePlugin","type":1,"value":""},{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""}],"computedValue":"","displayName":"columnSetting","floatValue":0,"intValue":0,"name":"columnSetting","type":2,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"panels","floatValue":0,"intValue":0,"name":"panels","type":4,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"terms","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"terms"},{"attributes":[],"computedValue":"data","displayName":"adaptor","floatValue":0,"intValue":0,"name":"adaptor","type":1,"value":"data"},{"attributes":[],"computedValue":"state","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"state"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""}],"computedValue":"","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":4,"value":""}],"computedValue":"","displayName":"data","floatValue":0,"intValue":0,"name":"data","type":2,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"characters","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"characters"},{"attributes":[],"computedValue":"datasource","displayName":"adaptor","floatValue":0,"intValue":0,"name":"adaptor","type":1,"value":"datasource"},{"attributes":[],"computedValue":"datasource","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"datasource"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"[{\"id\":1,\"name\":\"batman\"},{\"id\":2,\"name\":\"superman\"}]","displayName":"data","floatValue":0,"intValue":0,"name":"data","type":1,"value":"[{\"id\":1,\"name\":\"batman\"},{\"id\":2,\"name\":\"superman\"}]"}],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[],"computedValue":"","displayName":"params","floatValue":0,"intValue":0,"name":"params","type":4,"value":""},{"attributes":[],"computedValue":"data","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"data"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"undefined","displayName":"query","floatValue":0,"intValue":0,"name":"query","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"trackBy","floatValue":0,"intValue":0,"name":"trackBy","type":0,"value":"undefined"},{"attributes":[],"computedValue":"","displayName":"bindings","floatValue":0,"intValue":0,"name":"bindings","type":4,"value":""}],"computedValue":"","displayName":"renderer","floatValue":0,"intValue":0,"name":"renderer","type":2,"value":""}],"computedValue":"","displayName":"datasource","floatValue":0,"intValue":0,"name":"datasource","type":2,"value":""}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"ad","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"ad"},{"attributes":[],"computedValue":"datasource","displayName":"adaptor","floatValue":0,"intValue":0,"name":"adaptor","type":1,"value":"datasource"},{"attributes":[],"computedValue":"datasource","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"datasource"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"aws_s3_entity","displayName":"adaptorName","floatValue":0,"intValue":0,"name":"adaptorName","type":1,"value":"aws_s3_entity"},{"attributes":[],"computedValue":"bucket=:bucket\u0026prefix=:prefix","displayName":"optionsString","floatValue":0,"intValue":0,"name":"optionsString","type":1,"value":"bucket=:bucket\u0026prefix=:prefix"},{"attributes":[],"computedValue":"identity=:identity","displayName":"paramsString","floatValue":0,"intValue":0,"name":"paramsString","type":1,"value":"identity=:identity"},{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"static","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"static"},{"attributes":[],"computedValue":"classifieds-ui-prod","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"classifieds-ui-prod"},{"attributes":[],"computedValue":"classifieds-ui-prod","displayName":"testValue","floatValue":0,"intValue":0,"name":"testValue","type":1,"value":"classifieds-ui-prod"},{"attributes":[],"computedValue":"","displayName":"context","floatValue":0,"intValue":0,"name":"context","type":1,"value":""}],"computedValue":"","displayName":"mapping","floatValue":0,"intValue":0,"name":"mapping","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"page","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"page"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"limit","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"limit"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"offset","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"offset"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"searchString","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"searchString"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"3","floatValue":0,"intValue":0,"name":"3","type":2,"value":""}],"computedValue":"","displayName":"flags","floatValue":0,"intValue":0,"name":"flags","type":4,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"static","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"static"},{"attributes":[],"computedValue":"ads/","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"ads/"},{"attributes":[],"computedValue":"ads/","displayName":"testValue","floatValue":0,"intValue":0,"name":"testValue","type":1,"value":"ads/"},{"attributes":[],"computedValue":"","displayName":"context","floatValue":0,"intValue":0,"name":"context","type":1,"value":""}],"computedValue":"","displayName":"mapping","floatValue":0,"intValue":0,"name":"mapping","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"page","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"page"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"limit","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"limit"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"offset","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"offset"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"searchString","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"searchString"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"3","floatValue":0,"intValue":0,"name":"3","type":2,"value":""}],"computedValue":"","displayName":"flags","floatValue":0,"intValue":0,"name":"flags","type":4,"value":""}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""}],"computedValue":"","displayName":"options","floatValue":0,"intValue":0,"name":"options","type":4,"value":""},{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"route","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"route"},{"attributes":[],"computedValue":"arg0","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"arg0"},{"attributes":[],"computedValue":"","displayName":"testValue","floatValue":0,"intValue":0,"name":"testValue","type":1,"value":""},{"attributes":[],"computedValue":"","displayName":"context","floatValue":0,"intValue":0,"name":"context","type":1,"value":""}],"computedValue":"","displayName":"mapping","floatValue":0,"intValue":0,"name":"mapping","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"page","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"page"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"limit","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"limit"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"offset","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"offset"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"searchString","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"searchString"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"3","floatValue":0,"intValue":0,"name":"3","type":2,"value":""}],"computedValue":"","displayName":"flags","floatValue":0,"intValue":0,"name":"flags","type":4,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"params","floatValue":0,"intValue":0,"name":"params","type":4,"value":""}],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[],"computedValue":"","displayName":"params","floatValue":0,"intValue":0,"name":"params","type":4,"value":""},{"attributes":[],"computedValue":"crud_adaptor","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"crud_adaptor"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"undefined","displayName":"query","floatValue":0,"intValue":0,"name":"query","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"trackBy","floatValue":0,"intValue":0,"name":"trackBy","type":0,"value":"undefined"},{"attributes":[],"computedValue":"","displayName":"bindings","floatValue":0,"intValue":0,"name":"bindings","type":4,"value":""}],"computedValue":"","displayName":"renderer","floatValue":0,"intValue":0,"name":"renderer","type":2,"value":""}],"computedValue":"","displayName":"datasource","floatValue":0,"intValue":0,"name":"datasource","type":2,"value":""}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""}],"computedValue":"","displayName":"contexts","floatValue":0,"intValue":0,"name":"contexts","type":4,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"rowSettings","floatValue":0,"intValue":0,"name":"rowSettings","type":4,"value":""},{"attributes":[{"attributes":[],"computedValue":"","displayName":"readUserIds","floatValue":0,"intValue":0,"name":"readUserIds","type":4,"value":""},{"attributes":[],"computedValue":"","displayName":"writeUserIds","floatValue":0,"intValue":0,"name":"writeUserIds","type":4,"value":""},{"attributes":[],"computedValue":"","displayName":"deleteUserIds","floatValue":0,"intValue":0,"name":"deleteUserIds","type":4,"value":""}],"computedValue":"","displayName":"entityPermissions","floatValue":0,"intValue":0,"name":"entityPermissions","type":2,"value":""},{"attributes":[],"computedValue":"undefined","displayName":"id","floatValue":0,"intValue":0,"name":"id","type":0,"value":"undefined"},{"attributes":[],"computedValue":"split","displayName":"layoutType","floatValue":0,"intValue":0,"name":"layoutType","type":1,"value":"split"},{"attributes":[],"computedValue":"form","displayName":"displayType","floatValue":0,"intValue":0,"name":"displayType","type":1,"value":"form"},{"attributes":[],"computedValue":"terms_form2","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"terms_form2"},{"attributes":[],"computedValue":"terms_form2","displayName":"title","floatValue":0,"intValue":0,"name":"title","type":1,"value":"terms_form2"},{"attributes":[],"computedValue":"spearhead","displayName":"site","floatValue":0,"intValue":0,"name":"site","type":1,"value":"spearhead"},{"attributes":[],"computedValue":"undefined","displayName":"userId","floatValue":0,"intValue":0,"name":"userId","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"path","floatValue":0,"intValue":0,"name":"path","type":0,"value":"undefined"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[],"computedValue":"undefined","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":0,"value":"undefined"}],"computedValue":"","displayName":"dataduct","floatValue":0,"intValue":0,"name":"dataduct","type":2,"value":""}],"computedValue":"","displayName":"persistence","floatValue":0,"intValue":0,"name":"persistence","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""}],"computedValue":"","displayName":"layoutSetting","floatValue":0,"intValue":0,"name":"layoutSetting","type":2,"value":""}],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[],"computedValue":"false","displayName":"locked","floatValue":0,"intValue":0,"name":"locked","type":5,"value":"false"},{"attributes":[],"computedValue":"","displayName":"contexts","floatValue":0,"intValue":0,"name":"contexts","type":4,"value":""},{"attributes":[],"computedValue":"terms","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"terms"},{"attributes":[],"computedValue":"terms","displayName":"label","floatValue":0,"intValue":0,"name":"label","type":1,"value":"terms"},{"attributes":[],"computedValue":"panel","displayName":"contentPlugin","floatValue":0,"intValue":0,"name":"contentPlugin","type":1,"value":"panel"},{"attributes":[{"attributes":[],"computedValue":"","displayName":"condition","floatValue":0,"intValue":0,"name":"condition","type":1,"value":""},{"attributes":[],"computedValue":"","displayName":"rules","floatValue":0,"intValue":0,"name":"rules","type":4,"value":""}],"computedValue":"","displayName":"rule","floatValue":0,"intValue":0,"name":"rule","type":2,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"panes","floatValue":0,"intValue":0,"name":"panes","type":4,"value":""},{"attributes":[],"computedValue":"undefined","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"label","floatValue":0,"intValue":0,"name":"label","type":0,"value":"undefined"},{"attributes":[],"computedValue":"form_section","displayName":"stylePlugin","floatValue":0,"intValue":0,"name":"stylePlugin","type":1,"value":"form_section"},{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""}],"computedValue":"","displayName":"columnSetting","floatValue":0,"intValue":0,"name":"columnSetting","type":2,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"panels","floatValue":0,"intValue":0,"name":"panels","type":4,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"terms","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"terms"},{"attributes":[],"computedValue":"data","displayName":"adaptor","floatValue":0,"intValue":0,"name":"adaptor","type":1,"value":"data"},{"attributes":[],"computedValue":"state","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"state"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""}],"computedValue":"","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":4,"value":""}],"computedValue":"","displayName":"data","floatValue":0,"intValue":0,"name":"data","type":2,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"characters","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"characters"},{"attributes":[],"computedValue":"datasource","displayName":"adaptor","floatValue":0,"intValue":0,"name":"adaptor","type":1,"value":"datasource"},{"attributes":[],"computedValue":"datasource","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"datasource"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"[{\"id\":1,\"name\":\"batman\"},{\"id\":2,\"name\":\"superman\"}]","displayName":"data","floatValue":0,"intValue":0,"name":"data","type":1,"value":"[{\"id\":1,\"name\":\"batman\"},{\"id\":2,\"name\":\"superman\"}]"}],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[],"computedValue":"","displayName":"params","floatValue":0,"intValue":0,"name":"params","type":4,"value":""},{"attributes":[],"computedValue":"data","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"data"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"undefined","displayName":"query","floatValue":0,"intValue":0,"name":"query","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"trackBy","floatValue":0,"intValue":0,"name":"trackBy","type":0,"value":"undefined"},{"attributes":[],"computedValue":"","displayName":"bindings","floatValue":0,"intValue":0,"name":"bindings","type":4,"value":""}],"computedValue":"","displayName":"renderer","floatValue":0,"intValue":0,"name":"renderer","type":2,"value":""}],"computedValue":"","displayName":"datasource","floatValue":0,"intValue":0,"name":"datasource","type":2,"value":""}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"ad","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"ad"},{"attributes":[],"computedValue":"datasource","displayName":"adaptor","floatValue":0,"intValue":0,"name":"adaptor","type":1,"value":"datasource"},{"attributes":[],"computedValue":"datasource","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"datasource"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"aws_s3_entity","displayName":"adaptorName","floatValue":0,"intValue":0,"name":"adaptorName","type":1,"value":"aws_s3_entity"},{"attributes":[],"computedValue":"bucket=:bucket\u0026prefix=:prefix","displayName":"optionsString","floatValue":0,"intValue":0,"name":"optionsString","type":1,"value":"bucket=:bucket\u0026prefix=:prefix"},{"attributes":[],"computedValue":"identity=:identity","displayName":"paramsString","floatValue":0,"intValue":0,"name":"paramsString","type":1,"value":"identity=:identity"},{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"static","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"static"},{"attributes":[],"computedValue":"classifieds-ui-prod","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"classifieds-ui-prod"},{"attributes":[],"computedValue":"classifieds-ui-prod","displayName":"testValue","floatValue":0,"intValue":0,"name":"testValue","type":1,"value":"classifieds-ui-prod"},{"attributes":[],"computedValue":"","displayName":"context","floatValue":0,"intValue":0,"name":"context","type":1,"value":""}],"computedValue":"","displayName":"mapping","floatValue":0,"intValue":0,"name":"mapping","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"page","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"page"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"limit","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"limit"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"offset","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"offset"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"searchString","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"searchString"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"3","floatValue":0,"intValue":0,"name":"3","type":2,"value":""}],"computedValue":"","displayName":"flags","floatValue":0,"intValue":0,"name":"flags","type":4,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"static","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"static"},{"attributes":[],"computedValue":"ads/","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"ads/"},{"attributes":[],"computedValue":"ads/","displayName":"testValue","floatValue":0,"intValue":0,"name":"testValue","type":1,"value":"ads/"},{"attributes":[],"computedValue":"","displayName":"context","floatValue":0,"intValue":0,"name":"context","type":1,"value":""}],"computedValue":"","displayName":"mapping","floatValue":0,"intValue":0,"name":"mapping","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"page","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"page"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"limit","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"limit"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"offset","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"offset"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"searchString","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"searchString"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"3","floatValue":0,"intValue":0,"name":"3","type":2,"value":""}],"computedValue":"","displayName":"flags","floatValue":0,"intValue":0,"name":"flags","type":4,"value":""}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""}],"computedValue":"","displayName":"options","floatValue":0,"intValue":0,"name":"options","type":4,"value":""},{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"route","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"route"},{"attributes":[],"computedValue":"arg0","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"arg0"},{"attributes":[],"computedValue":"","displayName":"testValue","floatValue":0,"intValue":0,"name":"testValue","type":1,"value":""},{"attributes":[],"computedValue":"","displayName":"context","floatValue":0,"intValue":0,"name":"context","type":1,"value":""}],"computedValue":"","displayName":"mapping","floatValue":0,"intValue":0,"name":"mapping","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"page","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"page"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"limit","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"limit"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"offset","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"offset"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"searchString","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"searchString"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"3","floatValue":0,"intValue":0,"name":"3","type":2,"value":""}],"computedValue":"","displayName":"flags","floatValue":0,"intValue":0,"name":"flags","type":4,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"params","floatValue":0,"intValue":0,"name":"params","type":4,"value":""}],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[],"computedValue":"","displayName":"params","floatValue":0,"intValue":0,"name":"params","type":4,"value":""},{"attributes":[],"computedValue":"crud_adaptor","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"crud_adaptor"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"undefined","displayName":"query","floatValue":0,"intValue":0,"name":"query","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"trackBy","floatValue":0,"intValue":0,"name":"trackBy","type":0,"value":"undefined"},{"attributes":[],"computedValue":"","displayName":"bindings","floatValue":0,"intValue":0,"name":"bindings","type":4,"value":""}],"computedValue":"","displayName":"renderer","floatValue":0,"intValue":0,"name":"renderer","type":2,"value":""}],"computedValue":"","displayName":"datasource","floatValue":0,"intValue":0,"name":"datasource","type":2,"value":""}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""}],"computedValue":"","displayName":"contexts","floatValue":0,"intValue":0,"name":"contexts","type":4,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"rowSettings","floatValue":0,"intValue":0,"name":"rowSettings","type":4,"value":""},{"attributes":[{"attributes":[],"computedValue":"","displayName":"readUserIds","floatValue":0,"intValue":0,"name":"readUserIds","type":4,"value":""},{"attributes":[],"computedValue":"","displayName":"writeUserIds","floatValue":0,"intValue":0,"name":"writeUserIds","type":4,"value":""},{"attributes":[],"computedValue":"","displayName":"deleteUserIds","floatValue":0,"intValue":0,"name":"deleteUserIds","type":4,"value":""}],"computedValue":"","displayName":"entityPermissions","floatValue":0,"intValue":0,"name":"entityPermissions","type":2,"value":""},{"attributes":[],"computedValue":"undefined","displayName":"id","floatValue":0,"intValue":0,"name":"id","type":0,"value":"undefined"},{"attributes":[],"computedValue":"split","displayName":"layoutType","floatValue":0,"intValue":0,"name":"layoutType","type":1,"value":"split"},{"attributes":[],"computedValue":"form","displayName":"displayType","floatValue":0,"intValue":0,"name":"displayType","type":1,"value":"form"},{"attributes":[],"computedValue":"undefined","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"title","floatValue":0,"intValue":0,"name":"title","type":0,"value":"undefined"},{"attributes":[],"computedValue":"spearhead","displayName":"site","floatValue":0,"intValue":0,"name":"site","type":1,"value":"spearhead"},{"attributes":[],"computedValue":"undefined","displayName":"userId","floatValue":0,"intValue":0,"name":"userId","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"path","floatValue":0,"intValue":0,"name":"path","type":0,"value":"undefined"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[],"computedValue":"undefined","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":0,"value":"undefined"}],"computedValue":"","displayName":"dataduct","floatValue":0,"intValue":0,"name":"dataduct","type":2,"value":""}],"computedValue":"","displayName":"persistence","floatValue":0,"intValue":0,"name":"persistence","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""}],"computedValue":"","displayName":"layoutSetting","floatValue":0,"intValue":0,"name":"layoutSetting","type":2,"value":""}],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[],"computedValue":"false","displayName":"locked","floatValue":0,"intValue":0,"name":"locked","type":5,"value":"false"},{"attributes":[],"computedValue":"","displayName":"contexts","floatValue":0,"intValue":0,"name":"contexts","type":4,"value":""},{"attributes":[],"computedValue":"","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":""},{"attributes":[],"computedValue":"","displayName":"label","floatValue":0,"intValue":0,"name":"label","type":1,"value":""},{"attributes":[],"computedValue":"panel","displayName":"contentPlugin","floatValue":0,"intValue":0,"name":"contentPlugin","type":1,"value":"panel"},{"attributes":[{"attributes":[],"computedValue":"","displayName":"condition","floatValue":0,"intValue":0,"name":"condition","type":1,"value":""},{"attributes":[],"computedValue":"","displayName":"rules","floatValue":0,"intValue":0,"name":"rules","type":4,"value":""}],"computedValue":"","displayName":"rule","floatValue":0,"intValue":0,"name":"rule","type":2,"value":""}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""}],"computedValue":"","displayName":"panes","floatValue":0,"intValue":0,"name":"panes","type":4,"value":""},{"attributes":[],"computedValue":"undefined","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"label","floatValue":0,"intValue":0,"name":"label","type":0,"value":"undefined"},{"attributes":[],"computedValue":"","displayName":"stylePlugin","floatValue":0,"intValue":0,"name":"stylePlugin","type":1,"value":""},{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""}],"computedValue":"","displayName":"columnSetting","floatValue":0,"intValue":0,"name":"columnSetting","type":2,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"panels","floatValue":0,"intValue":0,"name":"panels","type":4,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"terms","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"terms"},{"attributes":[],"computedValue":"data","displayName":"adaptor","floatValue":0,"intValue":0,"name":"adaptor","type":1,"value":"data"},{"attributes":[],"computedValue":"state","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"state"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""}],"computedValue":"","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":4,"value":""}],"computedValue":"","displayName":"data","floatValue":0,"intValue":0,"name":"data","type":2,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"characters","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"characters"},{"attributes":[],"computedValue":"datasource","displayName":"adaptor","floatValue":0,"intValue":0,"name":"adaptor","type":1,"value":"datasource"},{"attributes":[],"computedValue":"datasource","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"datasource"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"[{\"id\":1,\"name\":\"batman\"},{\"id\":2,\"name\":\"superman\"}]","displayName":"data","floatValue":0,"intValue":0,"name":"data","type":1,"value":"[{\"id\":1,\"name\":\"batman\"},{\"id\":2,\"name\":\"superman\"}]"}],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[],"computedValue":"","displayName":"params","floatValue":0,"intValue":0,"name":"params","type":4,"value":""},{"attributes":[],"computedValue":"data","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"data"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"undefined","displayName":"query","floatValue":0,"intValue":0,"name":"query","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"trackBy","floatValue":0,"intValue":0,"name":"trackBy","type":0,"value":"undefined"},{"attributes":[],"computedValue":"","displayName":"bindings","floatValue":0,"intValue":0,"name":"bindings","type":4,"value":""}],"computedValue":"","displayName":"renderer","floatValue":0,"intValue":0,"name":"renderer","type":2,"value":""}],"computedValue":"","displayName":"datasource","floatValue":0,"intValue":0,"name":"datasource","type":2,"value":""}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"ad","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"ad"},{"attributes":[],"computedValue":"datasource","displayName":"adaptor","floatValue":0,"intValue":0,"name":"adaptor","type":1,"value":"datasource"},{"attributes":[],"computedValue":"datasource","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"datasource"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"aws_s3_entity","displayName":"adaptorName","floatValue":0,"intValue":0,"name":"adaptorName","type":1,"value":"aws_s3_entity"},{"attributes":[],"computedValue":"bucket=:bucket\u0026prefix=:prefix","displayName":"optionsString","floatValue":0,"intValue":0,"name":"optionsString","type":1,"value":"bucket=:bucket\u0026prefix=:prefix"},{"attributes":[],"computedValue":"identity=:identity","displayName":"paramsString","floatValue":0,"intValue":0,"name":"paramsString","type":1,"value":"identity=:identity"},{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"static","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"static"},{"attributes":[],"computedValue":"classifieds-ui-prod","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"classifieds-ui-prod"},{"attributes":[],"computedValue":"classifieds-ui-prod","displayName":"testValue","floatValue":0,"intValue":0,"name":"testValue","type":1,"value":"classifieds-ui-prod"},{"attributes":[],"computedValue":"","displayName":"context","floatValue":0,"intValue":0,"name":"context","type":1,"value":""}],"computedValue":"","displayName":"mapping","floatValue":0,"intValue":0,"name":"mapping","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"page","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"page"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"limit","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"limit"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"offset","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"offset"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"searchString","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"searchString"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"3","floatValue":0,"intValue":0,"name":"3","type":2,"value":""}],"computedValue":"","displayName":"flags","floatValue":0,"intValue":0,"name":"flags","type":4,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"static","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"static"},{"attributes":[],"computedValue":"ads/","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"ads/"},{"attributes":[],"computedValue":"ads/","displayName":"testValue","floatValue":0,"intValue":0,"name":"testValue","type":1,"value":"ads/"},{"attributes":[],"computedValue":"","displayName":"context","floatValue":0,"intValue":0,"name":"context","type":1,"value":""}],"computedValue":"","displayName":"mapping","floatValue":0,"intValue":0,"name":"mapping","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"page","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"page"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"limit","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"limit"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"offset","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"offset"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"searchString","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"searchString"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"3","floatValue":0,"intValue":0,"name":"3","type":2,"value":""}],"computedValue":"","displayName":"flags","floatValue":0,"intValue":0,"name":"flags","type":4,"value":""}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""}],"computedValue":"","displayName":"options","floatValue":0,"intValue":0,"name":"options","type":4,"value":""},{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"route","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"route"},{"attributes":[],"computedValue":"arg0","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"arg0"},{"attributes":[],"computedValue":"","displayName":"testValue","floatValue":0,"intValue":0,"name":"testValue","type":1,"value":""},{"attributes":[],"computedValue":"","displayName":"context","floatValue":0,"intValue":0,"name":"context","type":1,"value":""}],"computedValue":"","displayName":"mapping","floatValue":0,"intValue":0,"name":"mapping","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"page","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"page"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"limit","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"limit"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"offset","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"offset"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"searchString","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"searchString"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"3","floatValue":0,"intValue":0,"name":"3","type":2,"value":""}],"computedValue":"","displayName":"flags","floatValue":0,"intValue":0,"name":"flags","type":4,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"params","floatValue":0,"intValue":0,"name":"params","type":4,"value":""}],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[],"computedValue":"","displayName":"params","floatValue":0,"intValue":0,"name":"params","type":4,"value":""},{"attributes":[],"computedValue":"crud_adaptor","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"crud_adaptor"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"undefined","displayName":"query","floatValue":0,"intValue":0,"name":"query","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"trackBy","floatValue":0,"intValue":0,"name":"trackBy","type":0,"value":"undefined"},{"attributes":[],"computedValue":"","displayName":"bindings","floatValue":0,"intValue":0,"name":"bindings","type":4,"value":""}],"computedValue":"","displayName":"renderer","floatValue":0,"intValue":0,"name":"renderer","type":2,"value":""}],"computedValue":"","displayName":"datasource","floatValue":0,"intValue":0,"name":"datasource","type":2,"value":""}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""}],"computedValue":"","displayName":"contexts","floatValue":0,"intValue":0,"name":"contexts","type":4,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"rowSettings","floatValue":0,"intValue":0,"name":"rowSettings","type":4,"value":""},{"attributes":[{"attributes":[],"computedValue":"","displayName":"readUserIds","floatValue":0,"intValue":0,"name":"readUserIds","type":4,"value":""},{"attributes":[],"computedValue":"","displayName":"writeUserIds","floatValue":0,"intValue":0,"name":"writeUserIds","type":4,"value":""},{"attributes":[],"computedValue":"","displayName":"deleteUserIds","floatValue":0,"intValue":0,"name":"deleteUserIds","type":4,"value":""}],"computedValue":"","displayName":"entityPermissions","floatValue":0,"intValue":0,"name":"entityPermissions","type":2,"value":""},{"attributes":[],"computedValue":"undefined","displayName":"id","floatValue":0,"intValue":0,"name":"id","type":0,"value":"undefined"},{"attributes":[],"computedValue":"split","displayName":"layoutType","floatValue":0,"intValue":0,"name":"layoutType","type":1,"value":"split"},{"attributes":[],"computedValue":"form","displayName":"displayType","floatValue":0,"intValue":0,"name":"displayType","type":1,"value":"form"},{"attributes":[],"computedValue":"terms_form","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"terms_form"},{"attributes":[],"computedValue":"terms_form","displayName":"title","floatValue":0,"intValue":0,"name":"title","type":1,"value":"terms_form"},{"attributes":[],"computedValue":"spearhead","displayName":"site","floatValue":0,"intValue":0,"name":"site","type":1,"value":"spearhead"},{"attributes":[],"computedValue":"undefined","displayName":"userId","floatValue":0,"intValue":0,"name":"userId","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"path","floatValue":0,"intValue":0,"name":"path","type":0,"value":"undefined"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[],"computedValue":"undefined","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":0,"value":"undefined"}],"computedValue":"","displayName":"dataduct","floatValue":0,"intValue":0,"name":"dataduct","type":2,"value":""}],"computedValue":"","displayName":"persistence","floatValue":0,"intValue":0,"name":"persistence","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""}],"computedValue":"","displayName":"layoutSetting","floatValue":0,"intValue":0,"name":"layoutSetting","type":2,"value":""}],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[],"computedValue":"false","displayName":"locked","floatValue":0,"intValue":0,"name":"locked","type":5,"value":"false"},{"attributes":[],"computedValue":"","displayName":"contexts","floatValue":0,"intValue":0,"name":"contexts","type":4,"value":""},{"attributes":[],"computedValue":"terms","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"terms"},{"attributes":[],"computedValue":"terms","displayName":"label","floatValue":0,"intValue":0,"name":"label","type":1,"value":"terms"},{"attributes":[],"computedValue":"panel","displayName":"contentPlugin","floatValue":0,"intValue":0,"name":"contentPlugin","type":1,"value":"panel"},{"attributes":[{"attributes":[],"computedValue":"","displayName":"condition","floatValue":0,"intValue":0,"name":"condition","type":1,"value":""},{"attributes":[],"computedValue":"","displayName":"rules","floatValue":0,"intValue":0,"name":"rules","type":4,"value":""}],"computedValue":"","displayName":"rule","floatValue":0,"intValue":0,"name":"rule","type":2,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"panes","floatValue":0,"intValue":0,"name":"panes","type":4,"value":""},{"attributes":[],"computedValue":"undefined","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"label","floatValue":0,"intValue":0,"name":"label","type":0,"value":"undefined"},{"attributes":[],"computedValue":"form_section","displayName":"stylePlugin","floatValue":0,"intValue":0,"name":"stylePlugin","type":1,"value":"form_section"},{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""}],"computedValue":"","displayName":"columnSetting","floatValue":0,"intValue":0,"name":"columnSetting","type":2,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"panels","floatValue":0,"intValue":0,"name":"panels","type":4,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"terms","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"terms"},{"attributes":[],"computedValue":"data","displayName":"adaptor","floatValue":0,"intValue":0,"name":"adaptor","type":1,"value":"data"},{"attributes":[],"computedValue":"state","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"state"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""}],"computedValue":"","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":4,"value":""}],"computedValue":"","displayName":"data","floatValue":0,"intValue":0,"name":"data","type":2,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"characters","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"characters"},{"attributes":[],"computedValue":"datasource","displayName":"adaptor","floatValue":0,"intValue":0,"name":"adaptor","type":1,"value":"datasource"},{"attributes":[],"computedValue":"datasource","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"datasource"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"[{\"id\":1,\"name\":\"batman\"},{\"id\":2,\"name\":\"superman\"}]","displayName":"data","floatValue":0,"intValue":0,"name":"data","type":1,"value":"[{\"id\":1,\"name\":\"batman\"},{\"id\":2,\"name\":\"superman\"}]"}],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[],"computedValue":"","displayName":"params","floatValue":0,"intValue":0,"name":"params","type":4,"value":""},{"attributes":[],"computedValue":"data","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"data"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"undefined","displayName":"query","floatValue":0,"intValue":0,"name":"query","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"trackBy","floatValue":0,"intValue":0,"name":"trackBy","type":0,"value":"undefined"},{"attributes":[],"computedValue":"","displayName":"bindings","floatValue":0,"intValue":0,"name":"bindings","type":4,"value":""}],"computedValue":"","displayName":"renderer","floatValue":0,"intValue":0,"name":"renderer","type":2,"value":""}],"computedValue":"","displayName":"datasource","floatValue":0,"intValue":0,"name":"datasource","type":2,"value":""}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"ad","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"ad"},{"attributes":[],"computedValue":"datasource","displayName":"adaptor","floatValue":0,"intValue":0,"name":"adaptor","type":1,"value":"datasource"},{"attributes":[],"computedValue":"datasource","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"datasource"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"aws_s3_entity","displayName":"adaptorName","floatValue":0,"intValue":0,"name":"adaptorName","type":1,"value":"aws_s3_entity"},{"attributes":[],"computedValue":"bucket=:bucket\u0026prefix=:prefix","displayName":"optionsString","floatValue":0,"intValue":0,"name":"optionsString","type":1,"value":"bucket=:bucket\u0026prefix=:prefix"},{"attributes":[],"computedValue":"identity=:identity","displayName":"paramsString","floatValue":0,"intValue":0,"name":"paramsString","type":1,"value":"identity=:identity"},{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"static","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"static"},{"attributes":[],"computedValue":"classifieds-ui-prod","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"classifieds-ui-prod"},{"attributes":[],"computedValue":"classifieds-ui-prod","displayName":"testValue","floatValue":0,"intValue":0,"name":"testValue","type":1,"value":"classifieds-ui-prod"},{"attributes":[],"computedValue":"","displayName":"context","floatValue":0,"intValue":0,"name":"context","type":1,"value":""}],"computedValue":"","displayName":"mapping","floatValue":0,"intValue":0,"name":"mapping","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"page","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"page"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"limit","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"limit"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"offset","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"offset"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"searchString","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"searchString"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"3","floatValue":0,"intValue":0,"name":"3","type":2,"value":""}],"computedValue":"","displayName":"flags","floatValue":0,"intValue":0,"name":"flags","type":4,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"static","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"static"},{"attributes":[],"computedValue":"ads/","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"ads/"},{"attributes":[],"computedValue":"ads/","displayName":"testValue","floatValue":0,"intValue":0,"name":"testValue","type":1,"value":"ads/"},{"attributes":[],"computedValue":"","displayName":"context","floatValue":0,"intValue":0,"name":"context","type":1,"value":""}],"computedValue":"","displayName":"mapping","floatValue":0,"intValue":0,"name":"mapping","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"page","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"page"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"limit","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"limit"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"offset","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"offset"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"searchString","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"searchString"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"3","floatValue":0,"intValue":0,"name":"3","type":2,"value":""}],"computedValue":"","displayName":"flags","floatValue":0,"intValue":0,"name":"flags","type":4,"value":""}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""}],"computedValue":"","displayName":"options","floatValue":0,"intValue":0,"name":"options","type":4,"value":""},{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"route","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"route"},{"attributes":[],"computedValue":"arg0","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"arg0"},{"attributes":[],"computedValue":"","displayName":"testValue","floatValue":0,"intValue":0,"name":"testValue","type":1,"value":""},{"attributes":[],"computedValue":"","displayName":"context","floatValue":0,"intValue":0,"name":"context","type":1,"value":""}],"computedValue":"","displayName":"mapping","floatValue":0,"intValue":0,"name":"mapping","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"page","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"page"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"limit","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"limit"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"offset","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"offset"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"searchString","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"searchString"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"3","floatValue":0,"intValue":0,"name":"3","type":2,"value":""}],"computedValue":"","displayName":"flags","floatValue":0,"intValue":0,"name":"flags","type":4,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"params","floatValue":0,"intValue":0,"name":"params","type":4,"value":""}],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[],"computedValue":"","displayName":"params","floatValue":0,"intValue":0,"name":"params","type":4,"value":""},{"attributes":[],"computedValue":"crud_adaptor","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"crud_adaptor"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"undefined","displayName":"query","floatValue":0,"intValue":0,"name":"query","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"trackBy","floatValue":0,"intValue":0,"name":"trackBy","type":0,"value":"undefined"},{"attributes":[],"computedValue":"","displayName":"bindings","floatValue":0,"intValue":0,"name":"bindings","type":4,"value":""}],"computedValue":"","displayName":"renderer","floatValue":0,"intValue":0,"name":"renderer","type":2,"value":""}],"computedValue":"","displayName":"datasource","floatValue":0,"intValue":0,"name":"datasource","type":2,"value":""}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""}],"computedValue":"","displayName":"contexts","floatValue":0,"intValue":0,"name":"contexts","type":4,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"rowSettings","floatValue":0,"intValue":0,"name":"rowSettings","type":4,"value":""},{"attributes":[{"attributes":[],"computedValue":"","displayName":"readUserIds","floatValue":0,"intValue":0,"name":"readUserIds","type":4,"value":""},{"attributes":[],"computedValue":"","displayName":"writeUserIds","floatValue":0,"intValue":0,"name":"writeUserIds","type":4,"value":""},{"attributes":[],"computedValue":"","displayName":"deleteUserIds","floatValue":0,"intValue":0,"name":"deleteUserIds","type":4,"value":""}],"computedValue":"","displayName":"entityPermissions","floatValue":0,"intValue":0,"name":"entityPermissions","type":2,"value":""},{"attributes":[],"computedValue":"undefined","displayName":"id","floatValue":0,"intValue":0,"name":"id","type":0,"value":"undefined"},{"attributes":[],"computedValue":"split","displayName":"layoutType","floatValue":0,"intValue":0,"name":"layoutType","type":1,"value":"split"},{"attributes":[],"computedValue":"form","displayName":"displayType","floatValue":0,"intValue":0,"name":"displayType","type":1,"value":"form"},{"attributes":[],"computedValue":"undefined","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"title","floatValue":0,"intValue":0,"name":"title","type":0,"value":"undefined"},{"attributes":[],"computedValue":"spearhead","displayName":"site","floatValue":0,"intValue":0,"name":"site","type":1,"value":"spearhead"},{"attributes":[],"computedValue":"undefined","displayName":"userId","floatValue":0,"intValue":0,"name":"userId","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"path","floatValue":0,"intValue":0,"name":"path","type":0,"value":"undefined"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[],"computedValue":"undefined","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":0,"value":"undefined"}],"computedValue":"","displayName":"dataduct","floatValue":0,"intValue":0,"name":"dataduct","type":2,"value":""}],"computedValue":"","displayName":"persistence","floatValue":0,"intValue":0,"name":"persistence","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""}],"computedValue":"","displayName":"layoutSetting","floatValue":0,"intValue":0,"name":"layoutSetting","type":2,"value":""}]},{"contentPlugin":"form_hidden","label":"id","linkedPageId":"","locked":false,"name":"id","rule":{"condition":"","field":"","operator":"","rules":[],"value":""},"settings":[{"attributes":[],"computedValue":"[ad.results.0.id]","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"[ad.results.0.id]"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"","displayName":"id","floatValue":0,"intValue":0,"name":"id","type":1,"value":""}],"computedValue":"","displayName":"datasourceBinding","floatValue":0,"intValue":0,"name":"datasourceBinding","type":2,"value":""}]}],"settings":[],"stylePlugin":""}],"path":"/native_forms_rebuild_v1","persistence":{"dataduct":{"plugin":"crud","settings":[{"attributes":[],"computedValue":"aws_s3_entity","displayName":"adaptorName","floatValue":0,"intValue":0,"name":"adaptorName","type":1,"value":"aws_s3_entity"},{"attributes":[],"computedValue":"bucket=:bucket\u0026prefix=:prefix","displayName":"optionsString","floatValue":0,"intValue":0,"name":"optionsString","type":1,"value":"bucket=:bucket\u0026prefix=:prefix"},{"attributes":[],"computedValue":"","displayName":"paramsString","floatValue":0,"intValue":0,"name":"paramsString","type":1,"value":""},{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"static","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"static"},{"attributes":[],"computedValue":"classifieds-ui-prod","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"classifieds-ui-prod"},{"attributes":[],"computedValue":"classifieds-ui-prod","displayName":"testValue","floatValue":0,"intValue":0,"name":"testValue","type":1,"value":"classifieds-ui-prod"},{"attributes":[],"computedValue":"","displayName":"context","floatValue":0,"intValue":0,"name":"context","type":1,"value":""}],"computedValue":"","displayName":"mapping","floatValue":0,"intValue":0,"name":"mapping","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"page","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"page"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"limit","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"limit"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"offset","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"offset"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"searchString","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"searchString"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"3","floatValue":0,"intValue":0,"name":"3","type":2,"value":""}],"computedValue":"","displayName":"flags","floatValue":0,"intValue":0,"name":"flags","type":4,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"static","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"static"},{"attributes":[],"computedValue":"ads/","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"ads/"},{"attributes":[],"computedValue":"ads/","displayName":"testValue","floatValue":0,"intValue":0,"name":"testValue","type":1,"value":"ads/"},{"attributes":[],"computedValue":"","displayName":"context","floatValue":0,"intValue":0,"name":"context","type":1,"value":""}],"computedValue":"","displayName":"mapping","floatValue":0,"intValue":0,"name":"mapping","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"page","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"page"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"limit","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"limit"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"offset","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"offset"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"searchString","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"searchString"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"3","floatValue":0,"intValue":0,"name":"3","type":2,"value":""}],"computedValue":"","displayName":"flags","floatValue":0,"intValue":0,"name":"flags","type":4,"value":""}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""}],"computedValue":"","displayName":"options","floatValue":0,"intValue":0,"name":"options","type":4,"value":""},{"attributes":[],"computedValue":"","displayName":"params","floatValue":0,"intValue":0,"name":"params","type":4,"value":""}]}},"rowSettings":[{"settings":[]}],"site":"spearhead","title":"native_forms_rebuild_v1","userId":"b7a9bac5-5fef-4aa6-bf12-d536c156e453"} diff --git a/assets/objects/panelpage/bd29f806-3b4b-4b79-9dac-7a5ae221f432.json b/assets/objects/panelpage/bd29f806-3b4b-4b79-9dac-7a5ae221f432.json new file mode 100644 index 0000000..f55b64d --- /dev/null +++ b/assets/objects/panelpage/bd29f806-3b4b-4b79-9dac-7a5ae221f432.json @@ -0,0 +1 @@ +{"contexts":[],"cssFile":"","derivativeId":"","displayType":"page","entityPermissions":{"deleteUserIds":["e36b42fe-b09c-4514-a519-e178bb52957e"],"readUserIds":["*"],"writeUserIds":["e36b42fe-b09c-4514-a519-e178bb52957e"]},"gridItems":[{"cols":100,"rows":1,"weight":0,"x":0,"y":0}],"id":"bd29f806-3b4b-4b79-9dac-7a5ae221f432","layoutSetting":{"settings":[]},"layoutType":"split","name":"hello_world","panels":[{"columnSetting":{"settings":[]},"label":"","name":"","panes":[{"contentPlugin":"snippet","label":"","linkedPageId":"","locked":false,"name":"","rule":{"condition":"","field":"","operator":"","rules":null,"value":""},"settings":[{"attributes":[],"computedValue":"text/html","displayName":"Content Type","floatValue":0,"intValue":0,"name":"contentType","type":1,"value":"text/html"},{"attributes":[],"computedValue":"Hello World","displayName":"Content","floatValue":0,"intValue":0,"name":"content","type":1,"value":"Hello World"},{"attributes":[],"computedValue":"","displayName":"jsScript","floatValue":0,"intValue":0,"name":"jsScript","type":1,"value":""}]}],"settings":[],"stylePlugin":""}],"path":"/hello-world","persistence":{"dataduct":{"plugin":"","settings":[]}},"rowSettings":[{"settings":[]}],"site":"spearhead","title":"Hello World","userId":"e36b42fe-b09c-4514-a519-e178bb52957e"} diff --git a/assets/objects/panelpage/c91aa514-0ad8-4797-a516-cce997c877d9.json b/assets/objects/panelpage/c91aa514-0ad8-4797-a516-cce997c877d9.json new file mode 100644 index 0000000..99a78ba --- /dev/null +++ b/assets/objects/panelpage/c91aa514-0ad8-4797-a516-cce997c877d9.json @@ -0,0 +1,80 @@ +{ + "contexts": [ + { + "adaptor": "data", + "data": { + "exposedModule": "./JsonChartModule", + "moduleName": "JsonChartModule", + "remoteEntry": "http://localhost:3000/remoteEntry.js" + }, + "name": "chart_module", + "plugin": "module" + } + ], + "displayType": "page", + "entityPermissions": { + "deleteUserIds": [], + "readUserIds": [ + "*" + ], + "writeUserIds": [] + }, + "gridItems": [], + "id": "c91aa514-0ad8-4797-a516-cce997c877d9", + "interactions": { + "interactions": { + "listeners": [] + } + }, + "layoutSetting": { + "settings": [] + }, + "layoutType": "gridless", + "name": "json_chart_example_1", + "panels": [ + { + "columnSetting": { + "settings": [] + }, + "panes": [ + { + "contentPlugin": "amcharts5_json_chart", + "contexts": [], + "label": "", + "locked": false, + "name": "", + "rule": { + "condition": "", + "rules": [] + }, + "settings": [ + { + "attributes": [], + "computedValue": "{\n \"refs\": {\n \"data\": [\n {\n \"date\": 1652425200000,\n \"value\": 92\n },\n {\n \"date\": 1652511600000,\n \"value\": 95\n },\n {\n \"date\": 1652598000000,\n \"value\": 100\n },\n {\n \"date\": 1652684400000,\n \"value\": 100\n },\n {\n \"date\": 1652770800000,\n \"value\": 96\n },\n {\n \"date\": 1652857200000,\n \"value\": 97\n },\n {\n \"date\": 1652943600000,\n \"value\": 94\n },\n {\n \"date\": 1653030000000,\n \"value\": 89\n },\n {\n \"date\": 1653116400000,\n \"value\": 89\n },\n {\n \"date\": 1653202800000,\n \"value\": 87\n },\n {\n \"date\": 1653289200000,\n \"value\": 84\n },\n {\n \"date\": 1653375600000,\n \"value\": 81\n },\n {\n \"date\": 1653462000000,\n \"value\": 85\n },\n {\n \"date\": 1653548400000,\n \"value\": 89\n },\n {\n \"date\": 1653634800000,\n \"value\": 86\n },\n {\n \"date\": 1653721200000,\n \"value\": 90\n },\n {\n \"date\": 1653807600000,\n \"value\": 93\n },\n {\n \"date\": 1653894000000,\n \"value\": 94\n },\n {\n \"date\": 1653980400000,\n \"value\": 94\n },\n {\n \"date\": 1654066800000,\n \"value\": 96\n }\n ],\n \"xAxis\": {\n \"type\": \"DateAxis\",\n \"settings\": {\n \"maxDeviation\": 0.5,\n \"baseInterval\": {\n \"timeUnit\": \"day\",\n \"count\": 1\n },\n \"renderer\": {\n \"type\": \"AxisRendererX\",\n \"settings\": {\n \"pan\": \"zoom\"\n }\n },\n \"tooltip\": {\n \"type\": \"Tooltip\"\n }\n }\n },\n \"yAxis\": {\n \"type\": \"ValueAxis\",\n \"settings\": {\n \"maxDeviation\": 1,\n \"renderer\": {\n \"type\": \"AxisRendererY\",\n \"settings\": {\n \"pan\": \"zoom\"\n }\n }\n }\n }\n },\n \"type\": \"XYChart\",\n \"settings\": {\n \"panX\": false,\n \"panY\": false,\n \"wheelX\": \"panX\",\n \"wheelY\": \"zoomX\",\n \"cursor\": {\n \"type\": \"XYCursor\",\n \"settings\": {\n \"behavior\": \"zoomX\"\n },\n \"properties\": {\n \"lineY\": {\n \"settings\": {\n \"visible\": false\n }\n }\n }\n },\n \"scrollbarX\": {\n \"type\": \"Scrollbar\",\n \"settings\": {\n \"orientation\": \"horizontal\"\n }\n }\n },\n \"properties\": {\n \"xAxes\": [\n \"#xAxis\"\n ],\n \"yAxes\": [\n \"#yAxis\"\n ],\n \"series\": [\n {\n \"type\": \"LineSeries\",\n \"settings\": {\n \"name\": \"Series\",\n \"xAxis\": \"#xAxis\",\n \"yAxis\": \"#yAxis\",\n \"valueYField\": \"value\",\n \"valueXField\": \"date\",\n \"tooltip\": {\n \"type\": \"Tooltip\",\n \"settings\": {\n \"labelText\": \"{valueX}: {valueY}\"\n }\n }\n },\n \"properties\": {\n \"data\": \"#data\"\n }\n }\n ]\n }\n}", + "displayName": "JSON", + "name": "json", + "type": 1, + "value": "{\n \"refs\": {\n \"data\": [\n {\n \"date\": 1652425200000,\n \"value\": 92\n },\n {\n \"date\": 1652511600000,\n \"value\": 95\n },\n {\n \"date\": 1652598000000,\n \"value\": 100\n },\n {\n \"date\": 1652684400000,\n \"value\": 100\n },\n {\n \"date\": 1652770800000,\n \"value\": 96\n },\n {\n \"date\": 1652857200000,\n \"value\": 97\n },\n {\n \"date\": 1652943600000,\n \"value\": 94\n },\n {\n \"date\": 1653030000000,\n \"value\": 89\n },\n {\n \"date\": 1653116400000,\n \"value\": 89\n },\n {\n \"date\": 1653202800000,\n \"value\": 87\n },\n {\n \"date\": 1653289200000,\n \"value\": 84\n },\n {\n \"date\": 1653375600000,\n \"value\": 81\n },\n {\n \"date\": 1653462000000,\n \"value\": 85\n },\n {\n \"date\": 1653548400000,\n \"value\": 89\n },\n {\n \"date\": 1653634800000,\n \"value\": 86\n },\n {\n \"date\": 1653721200000,\n \"value\": 90\n },\n {\n \"date\": 1653807600000,\n \"value\": 93\n },\n {\n \"date\": 1653894000000,\n \"value\": 94\n },\n {\n \"date\": 1653980400000,\n \"value\": 94\n },\n {\n \"date\": 1654066800000,\n \"value\": 96\n }\n ],\n \"xAxis\": {\n \"type\": \"DateAxis\",\n \"settings\": {\n \"maxDeviation\": 0.5,\n \"baseInterval\": {\n \"timeUnit\": \"day\",\n \"count\": 1\n },\n \"renderer\": {\n \"type\": \"AxisRendererX\",\n \"settings\": {\n \"pan\": \"zoom\"\n }\n },\n \"tooltip\": {\n \"type\": \"Tooltip\"\n }\n }\n },\n \"yAxis\": {\n \"type\": \"ValueAxis\",\n \"settings\": {\n \"maxDeviation\": 1,\n \"renderer\": {\n \"type\": \"AxisRendererY\",\n \"settings\": {\n \"pan\": \"zoom\"\n }\n }\n }\n }\n },\n \"type\": \"XYChart\",\n \"settings\": {\n \"panX\": false,\n \"panY\": false,\n \"wheelX\": \"panX\",\n \"wheelY\": \"zoomX\",\n \"cursor\": {\n \"type\": \"XYCursor\",\n \"settings\": {\n \"behavior\": \"zoomX\"\n },\n \"properties\": {\n \"lineY\": {\n \"settings\": {\n \"visible\": false\n }\n }\n }\n },\n \"scrollbarX\": {\n \"type\": \"Scrollbar\",\n \"settings\": {\n \"orientation\": \"horizontal\"\n }\n }\n },\n \"properties\": {\n \"xAxes\": [\n \"#xAxis\"\n ],\n \"yAxes\": [\n \"#yAxis\"\n ],\n \"series\": [\n {\n \"type\": \"LineSeries\",\n \"settings\": {\n \"name\": \"Series\",\n \"xAxis\": \"#xAxis\",\n \"yAxis\": \"#yAxis\",\n \"valueYField\": \"value\",\n \"valueXField\": \"date\",\n \"tooltip\": {\n \"type\": \"Tooltip\",\n \"settings\": {\n \"labelText\": \"{valueX}: {valueY}\"\n }\n }\n },\n \"properties\": {\n \"data\": \"#data\"\n }\n }\n ]\n }\n}" + } + ] + } + ], + "settings": [], + "stylePlugin": "" + } + ], + "path": "/json-chart-example-1", + "persistence": { + "dataduct": { + "settings": [] + } + }, + "rowSettings": [ + { + "settings": [] + } + ], + "site": "spearhead", + "title": "Json Chart Example 1", + "userId": "b7a9bac5-5fef-4aa6-bf12-d536c156e453" +} diff --git a/assets/objects/panelpage/d75c2267-0eb1-4238-ad0e-7d4b0d1d4801.json b/assets/objects/panelpage/d75c2267-0eb1-4238-ad0e-7d4b0d1d4801.json new file mode 100644 index 0000000..ef1f3e6 --- /dev/null +++ b/assets/objects/panelpage/d75c2267-0eb1-4238-ad0e-7d4b0d1d4801.json @@ -0,0 +1,76 @@ +{ + "contexts": [ + { + "adaptor": "data", + "data": { + "exposedModule": "./JsonChartModule", + "moduleName": "JsonChartModule", + "remoteEntry": "http://localhost:3000/remoteEntry.js" + }, + "name": "chart_module", + "plugin": "module" + } + ], + "displayType": "page", + "entityPermissions": { + "deleteUserIds": [], + "readUserIds": [ + "*" + ], + "writeUserIds": [] + }, + "gridItems": [], + "id": "d75c2267-0eb1-4238-ad0e-7d4b0d1d4801", + "interactions": { + "interactions": { + "listeners": [] + } + }, + "layoutSetting": { + "settings": [] + }, + "layoutType": "gridless", + "name": "plugin-amcharts-refs-test-1", + "panels": [ + { + "columnSetting": { + "settings": [] + }, + "panes": [ + { + "contentPlugin": "amcharts5_json_chart", + "contexts": [], + "label": "", + "locked": false, + "name": "", + "settings": [ + { + "attributes": [], + "computedValue": "{\n \"type\": \"XYChart\",\n \"refs\": {\n \"data\": [\n { \"date\": 1652425200000, \"value\": 92 },\n { \"date\": 1652511600000, \"value\": 95 },\n { \"date\": 1652598000000, \"value\": 100 },\n { \"date\": 1652684400000, \"value\": 100 },\n { \"date\": 1652770800000, \"value\": 96 },\n { \"date\": 1652857200000, \"value\": 97 },\n { \"date\": 1652943600000, \"value\": 94 },\n { \"date\": 1653030000000, \"value\": 89 },\n { \"date\": 1653116400000, \"value\": 89 },\n { \"date\": 1653202800000, \"value\": 87 },\n { \"date\": 1653289200000, \"value\": 84 },\n { \"date\": 1653375600000, \"value\": 81 },\n { \"date\": 1653462000000, \"value\": 85 },\n { \"date\": 1653548400000, \"value\": 89 },\n { \"date\": 1653634800000, \"value\": 86 },\n { \"date\": 1653721200000, \"value\": 90 },\n { \"date\": 1653807600000, \"value\": 93 },\n { \"date\": 1653894000000, \"value\": 94 },\n { \"date\": 1653980400000, \"value\": 94 },\n { \"date\": 1654066800000, \"value\": 96 }\n ],\n \"xAxis\": {\n \"type\": \"DateAxis\",\n \"settings\": {\n \"baseInterval\": {\n \"timeUnit\": \"day\",\n \"count\": 1\n },\n \"renderer\": {\n \"type\": \"AxisRendererX\"\n }\n }\n },\n \"yAxis\": {\n \"type\": \"ValueAxis\",\n \"settings\": {\n \"renderer\": {\n \"type\": \"AxisRendererY\"\n }\n }\n },\n },\n \"settings\": {\n \"panX\": false,\n \"panY\": false,\n \"wheelX\": \"panX\",\n \"wheelY\": \"zoomX\",\n \"scrollbarX\": {\n \"type\": \"Scrollbar\",\n \"settings\": {\n \"orientation\": \"horizontal\"\n }\n }\n },\n \"properties\": {\n \"xAxes\": [\n \"#xAxis\"\n ],\n \"yAxes\": [\n \"#yAxis\"\n ],\n \"series\": [\n {\n \"type\": \"LineSeries\",\n \"settings\": {\n \"name\": \"Series\",\n \"xAxis\": \"#xAxis\",\n \"yAxis\": \"#yAxis\",\n \"valueYField\": \"value\",\n \"valueXField\": \"date\",\n \"tooltip\": {\n \"type\": \"Tooltip\",\n \"settings\": {\n \"labelText\": \"{valueX}: {valueY}\"\n }\n },\n },\n \"properties\": {\n \"data\": \"#data\"\n }\n }\n ]\n }\n}", + "displayName": "JSON", + "name": "json", + "type": 1, + "value": "{\n \"type\": \"XYChart\",\n \"refs\": {\n \"data\": [\n { \"date\": 1652425200000, \"value\": 92 },\n { \"date\": 1652511600000, \"value\": 95 },\n { \"date\": 1652598000000, \"value\": 100 },\n { \"date\": 1652684400000, \"value\": 100 },\n { \"date\": 1652770800000, \"value\": 96 },\n { \"date\": 1652857200000, \"value\": 97 },\n { \"date\": 1652943600000, \"value\": 94 },\n { \"date\": 1653030000000, \"value\": 89 },\n { \"date\": 1653116400000, \"value\": 89 },\n { \"date\": 1653202800000, \"value\": 87 },\n { \"date\": 1653289200000, \"value\": 84 },\n { \"date\": 1653375600000, \"value\": 81 },\n { \"date\": 1653462000000, \"value\": 85 },\n { \"date\": 1653548400000, \"value\": 89 },\n { \"date\": 1653634800000, \"value\": 86 },\n { \"date\": 1653721200000, \"value\": 90 },\n { \"date\": 1653807600000, \"value\": 93 },\n { \"date\": 1653894000000, \"value\": 94 },\n { \"date\": 1653980400000, \"value\": 94 },\n { \"date\": 1654066800000, \"value\": 96 }\n ],\n \"xAxis\": {\n \"type\": \"DateAxis\",\n \"settings\": {\n \"baseInterval\": {\n \"timeUnit\": \"day\",\n \"count\": 1\n },\n \"renderer\": {\n \"type\": \"AxisRendererX\"\n }\n }\n },\n \"yAxis\": {\n \"type\": \"ValueAxis\",\n \"settings\": {\n \"renderer\": {\n \"type\": \"AxisRendererY\"\n }\n }\n },\n },\n \"settings\": {\n \"panX\": false,\n \"panY\": false,\n \"wheelX\": \"panX\",\n \"wheelY\": \"zoomX\",\n \"scrollbarX\": {\n \"type\": \"Scrollbar\",\n \"settings\": {\n \"orientation\": \"horizontal\"\n }\n }\n },\n \"properties\": {\n \"xAxes\": [\n \"#xAxis\"\n ],\n \"yAxes\": [\n \"#yAxis\"\n ],\n \"series\": [\n {\n \"type\": \"LineSeries\",\n \"settings\": {\n \"name\": \"Series\",\n \"xAxis\": \"#xAxis\",\n \"yAxis\": \"#yAxis\",\n \"valueYField\": \"value\",\n \"valueXField\": \"date\",\n \"tooltip\": {\n \"type\": \"Tooltip\",\n \"settings\": {\n \"labelText\": \"{valueX}: {valueY}\"\n }\n },\n },\n \"properties\": {\n \"data\": \"#data\"\n }\n }\n ]\n }\n}" + } + ] + } + ], + "settings": [], + "stylePlugin": "" + } + ], + "path": "/plugin-amcharts-refs-test-1", + "persistence": { + "dataduct": { + "settings": [] + } + }, + "rowSettings": [ + { + "settings": [] + } + ], + "site": "spearhead", + "title": "plugin-amcharts-refs-test-1", + "userId": "b7a9bac5-5fef-4aa6-bf12-d536c156e453" +} diff --git a/assets/objects/panelpage/e39fa739-b354-45cb-8a35-5c9e54d28d6f.json b/assets/objects/panelpage/e39fa739-b354-45cb-8a35-5c9e54d28d6f.json new file mode 100644 index 0000000..2b4fd54 --- /dev/null +++ b/assets/objects/panelpage/e39fa739-b354-45cb-8a35-5c9e54d28d6f.json @@ -0,0 +1,76 @@ +{ + "contexts": [ + { + "adaptor": "data", + "data": { + "exposedModule": "./JsonChartModule", + "moduleName": "JsonChartModule", + "remoteEntry": "http://localhost:3000/remoteEntry.js" + }, + "name": "chart_module", + "plugin": "module" + } + ], + "displayType": "page", + "entityPermissions": { + "deleteUserIds": [], + "readUserIds": [ + "*" + ], + "writeUserIds": [] + }, + "gridItems": [], + "id": "e39fa739-b354-45cb-8a35-5c9e54d28d6f", + "interactions": { + "interactions": { + "listeners": [] + } + }, + "layoutSetting": { + "settings": [] + }, + "layoutType": "gridless", + "name": "json_chart_example_1", + "panels": [ + { + "columnSetting": { + "settings": [] + }, + "panes": [ + { + "contentPlugin": "amcharts5_json_chart", + "contexts": [], + "label": "", + "locked": false, + "name": "", + "settings": [ + { + "attributes": [], + "computedValue": "{\n refs: {\n data: [\n { date: 1652425200000, value: 92 },\n { date: 1652511600000, value: 95 },\n { date: 1652598000000, value: 100 },\n { date: 1652684400000, value: 100 },\n { date: 1652770800000, value: 96 },\n { date: 1652857200000, value: 97 },\n { date: 1652943600000, value: 94 },\n { date: 1653030000000, value: 89 },\n { date: 1653116400000, value: 89 },\n { date: 1653202800000, value: 87 },\n { date: 1653289200000, value: 84 },\n { date: 1653375600000, value: 81 },\n { date: 1653462000000, value: 85 },\n { date: 1653548400000, value: 89 },\n { date: 1653634800000, value: 86 },\n { date: 1653721200000, value: 90 },\n { date: 1653807600000, value: 93 },\n { date: 1653894000000, value: 94 },\n { date: 1653980400000, value: 94 },\n { date: 1654066800000, value: 96 }\n ],\n xAxis: {\n type: \"DateAxis\",\n settings: {\n maxDeviation: 0.5,\n baseInterval: {\n timeUnit: \"day\",\n count: 1\n },\n renderer: {\n type: \"AxisRendererX\",\n settings: {\n pan: \"zoom\"\n }\n },\n tooltip: {\n type: \"Tooltip\",\n },\n }\n },\n yAxis: {\n type: \"ValueAxis\",\n settings: {\n maxDeviation: 1,\n renderer: {\n type: \"AxisRendererY\",\n settings: {\n pan: \"zoom\"\n },\n },\n }\n },\n },\n type: \"XYChart\",\n settings: {\n panX: false,\n panY: false,\n wheelX: \"panX\",\n wheelY: \"zoomX\",\n cursor: {\n type: \"XYCursor\",\n settings: {\n behavior: \"zoomX\"\n },\n properties: {\n lineY: {\n settings: {\n visible: false\n },\n },\n },\n },\n scrollbarX: {\n type: \"Scrollbar\",\n settings: {\n orientation: \"horizontal\"\n }\n },\n },\n properties: {\n xAxes: [\n \"#xAxis\",\n ],\n yAxes: [\n \"#yAxis\",\n ],\n series: [{\n type: \"LineSeries\",\n settings: {\n name: \"Series\",\n xAxis: \"#xAxis\",\n yAxis: \"#yAxis\",\n valueYField: \"value\",\n valueXField: \"date\",\n tooltip: {\n type: \"Tooltip\",\n settings: {\n labelText: \"{valueX}: {valueY}\"\n }\n },\n },\n properties: {\n data: \"#data\"\n }\n }]\n }\n}", + "displayName": "JSON", + "name": "json", + "type": 1, + "value": "{\n refs: {\n data: [\n { date: 1652425200000, value: 92 },\n { date: 1652511600000, value: 95 },\n { date: 1652598000000, value: 100 },\n { date: 1652684400000, value: 100 },\n { date: 1652770800000, value: 96 },\n { date: 1652857200000, value: 97 },\n { date: 1652943600000, value: 94 },\n { date: 1653030000000, value: 89 },\n { date: 1653116400000, value: 89 },\n { date: 1653202800000, value: 87 },\n { date: 1653289200000, value: 84 },\n { date: 1653375600000, value: 81 },\n { date: 1653462000000, value: 85 },\n { date: 1653548400000, value: 89 },\n { date: 1653634800000, value: 86 },\n { date: 1653721200000, value: 90 },\n { date: 1653807600000, value: 93 },\n { date: 1653894000000, value: 94 },\n { date: 1653980400000, value: 94 },\n { date: 1654066800000, value: 96 }\n ],\n xAxis: {\n type: \"DateAxis\",\n settings: {\n maxDeviation: 0.5,\n baseInterval: {\n timeUnit: \"day\",\n count: 1\n },\n renderer: {\n type: \"AxisRendererX\",\n settings: {\n pan: \"zoom\"\n }\n },\n tooltip: {\n type: \"Tooltip\",\n },\n }\n },\n yAxis: {\n type: \"ValueAxis\",\n settings: {\n maxDeviation: 1,\n renderer: {\n type: \"AxisRendererY\",\n settings: {\n pan: \"zoom\"\n },\n },\n }\n },\n },\n type: \"XYChart\",\n settings: {\n panX: false,\n panY: false,\n wheelX: \"panX\",\n wheelY: \"zoomX\",\n cursor: {\n type: \"XYCursor\",\n settings: {\n behavior: \"zoomX\"\n },\n properties: {\n lineY: {\n settings: {\n visible: false\n },\n },\n },\n },\n scrollbarX: {\n type: \"Scrollbar\",\n settings: {\n orientation: \"horizontal\"\n }\n },\n },\n properties: {\n xAxes: [\n \"#xAxis\",\n ],\n yAxes: [\n \"#yAxis\",\n ],\n series: [{\n type: \"LineSeries\",\n settings: {\n name: \"Series\",\n xAxis: \"#xAxis\",\n yAxis: \"#yAxis\",\n valueYField: \"value\",\n valueXField: \"date\",\n tooltip: {\n type: \"Tooltip\",\n settings: {\n labelText: \"{valueX}: {valueY}\"\n }\n },\n },\n properties: {\n data: \"#data\"\n }\n }]\n }\n}" + } + ] + } + ], + "settings": [], + "stylePlugin": "" + } + ], + "path": "/json-chart-example-1", + "persistence": { + "dataduct": { + "settings": [] + } + }, + "rowSettings": [ + { + "settings": [] + } + ], + "site": "spearhead", + "title": "Json Chart Example 1", + "userId": "b7a9bac5-5fef-4aa6-bf12-d536c156e453" +} diff --git a/assets/objects/panelpages.ts b/assets/objects/panelpages.ts new file mode 100644 index 0000000..3ebda41 --- /dev/null +++ b/assets/objects/panelpages.ts @@ -0,0 +1,817 @@ +export const panelpages = [ +{ + "contexts": [], + "displayType": "page", + "entityPermissions": { + "deleteUserIds": [], + "readUserIds": [ + "*" + ], + "writeUserIds": [] + }, + "gridItems": [], + "id": "200e4ab8-922c-4a9c-a760-77bce3facf92", + "interactions": { + "interactions": { + "listeners": [] + } + }, + "layoutSetting": { + "settings": [] + }, + "layoutType": "gridless", + "name": "hedge-test", + "panels": [ + { + "columnSetting": { + "settings": [] + }, + "panes": [ + { + "contentPlugin": "snippet", + "contexts": [], + "label": "", + "locked": false, + "name": "", + "rule": { + "condition": "", + "rules": [] + }, + "settings": [ + { + "attributes": [], + "computedValue": "text/html", + "displayName": "Content Type", + "name": "contentType", + "type": 1, + "value": "text/html" + }, + { + "attributes": [], + "computedValue": "This is a hedge compatibility test. Modified.", + "displayName": "Content", + "name": "content", + "type": 1, + "value": "This is a hedge compatibility test. Modified." + }, + { + "attributes": [], + "computedValue": null, + "displayName": "jsScript", + "name": "jsScript", + "type": 1, + "value": null + } + ] + } + ], + "settings": [], + "stylePlugin": "" + } + ], + "path": "/hedge-test", + "persistence": { + "dataduct": { + "settings": [] + } + }, + "rowSettings": [ + { + "settings": [] + } + ], + "site": "spearhead", + "title": "Hedge Test", + "userId": "b7a9bac5-5fef-4aa6-bf12-d536c156e453" +} +, +{ + "contexts": [ + { + "adaptor": "data", + "data": { + "exposedModule": "./JsonChartModule", + "moduleName": "JsonChartModule", + "remoteEntry": "http://localhost:3000/remoteEntry.js" + }, + "name": "chart_module", + "plugin": "module" + } + ], + "displayType": "page", + "entityPermissions": { + "deleteUserIds": [], + "readUserIds": [ + "*" + ], + "writeUserIds": [] + }, + "gridItems": [], + "id": "286f9a5e-196d-4812-bd8a-235a164a1a97", + "interactions": { + "interactions": { + "listeners": [] + } + }, + "layoutSetting": { + "settings": [] + }, + "layoutType": "gridless", + "name": "am_charts_visual_editor_bar_chart_test", + "panels": [ + { + "columnSetting": { + "settings": [] + }, + "panes": [ + { + "contentPlugin": "amcharts5_json_chart", + "contexts": [], + "label": "", + "locked": false, + "name": "", + "rule": { + "condition": "", + "rules": [] + }, + "settings": [ + { + "attributes": [], + "computedValue": "{\n \"type\": \"XYChart\",\n \"data\": [{\n \"category\": \"Category #1\",\n \"value\": 3336\n }, {\n \"category\": \"Category #2\",\n \"value\": 2517\n }, {\n \"category\": \"Category #3\",\n \"value\": 784\n }, {\n \"category\": \"Category #4\",\n \"value\": 2388\n }, {\n \"category\": \"Category #5\",\n \"value\": 3581\n }, {\n \"category\": \"Category #6\",\n \"value\": 690\n }, {\n \"category\": \"Category #7\",\n \"value\": 4292\n }, {\n \"category\": \"Category #8\",\n \"value\": 2254\n }],\n \"xAxes\": [{\n \"type\": \"ValueAxis\"\n }],\n \"yAxes\": [{\n \"type\": \"CategoryAxis\",\n \"dataFields\": {\n \"category\": \"category\"\n }\n }],\n \"series\": [{\n \"type\": \"ColumnSeries\",\n \"columns\": {\n \"template\": {\n \"type\": \"Column\",\n \"strokeOpacity\": 0,\n \"tooltipText\": \"{categoryY}\\n{valueX}\",\n \"tooltipPosition\": \"pointer\"\n }\n },\n \"dataFields\": {\n \"valueX\": \"value\",\n \"categoryY\": \"category\"\n },\n \"sequencedInterpolation\": true,\n \"sequencedInterpolationDelay\": 100\n }]\n}", + "displayName": "JSON", + "name": "json", + "type": 1, + "value": "{\n \"type\": \"XYChart\",\n \"data\": [{\n \"category\": \"Category #1\",\n \"value\": 3336\n }, {\n \"category\": \"Category #2\",\n \"value\": 2517\n }, {\n \"category\": \"Category #3\",\n \"value\": 784\n }, {\n \"category\": \"Category #4\",\n \"value\": 2388\n }, {\n \"category\": \"Category #5\",\n \"value\": 3581\n }, {\n \"category\": \"Category #6\",\n \"value\": 690\n }, {\n \"category\": \"Category #7\",\n \"value\": 4292\n }, {\n \"category\": \"Category #8\",\n \"value\": 2254\n }],\n \"xAxes\": [{\n \"type\": \"ValueAxis\"\n }],\n \"yAxes\": [{\n \"type\": \"CategoryAxis\",\n \"dataFields\": {\n \"category\": \"category\"\n }\n }],\n \"series\": [{\n \"type\": \"ColumnSeries\",\n \"columns\": {\n \"template\": {\n \"type\": \"Column\",\n \"strokeOpacity\": 0,\n \"tooltipText\": \"{categoryY}\\n{valueX}\",\n \"tooltipPosition\": \"pointer\"\n }\n },\n \"dataFields\": {\n \"valueX\": \"value\",\n \"categoryY\": \"category\"\n },\n \"sequencedInterpolation\": true,\n \"sequencedInterpolationDelay\": 100\n }]\n}" + } + ] + } + ], + "settings": [], + "stylePlugin": "" + } + ], + "path": "/am-charts-visual-editor-bar-chart-test", + "persistence": { + "dataduct": { + "settings": [] + } + }, + "rowSettings": [ + { + "settings": [] + } + ], + "site": "spearhead", + "title": "Visual Editor Bar Chart", + "userId": "b7a9bac5-5fef-4aa6-bf12-d536c156e453" +} +, +{ + "contexts": [ + { + "adaptor": "data", + "data": { + "exposedModule": "./JsonChartModule", + "moduleName": "JsonChartModule", + "remoteEntry": "https://rollthecloudinc.github.io/plugin-amcharts5-build/remoteEntry.js" + }, + "name": "chart_module", + "plugin": "module" + } + ], + "displayType": "page", + "entityPermissions": { + "deleteUserIds": [], + "readUserIds": [ + "*" + ], + "writeUserIds": [] + }, + "gridItems": [], + "id": "479f66de-7468-47fa-a649-9fd476b754ab", + "interactions": { + "interactions": { + "listeners": [] + } + }, + "layoutSetting": { + "settings": [] + }, + "layoutType": "gridless", + "name": "test_amcharts5_plugin_v1", + "panels": [ + { + "columnSetting": { + "settings": [ ] + }, + "label": "", + "name": "", + "panes": [ + { + "contentPlugin": "amcharts5_json_chart", + "label": "", + "linkedPageId": "", + "locked": false, + "name": "", + "rule": { + "condition": "", + "field": "", + "operator": "", + "rules": [ ], + "value": "" + }, + "settings": [ ] + } + ], + "settings": [ ], + "stylePlugin": "" + } + ], + "path": "/test-amcharts5-plugin-v1", + "persistence": { + "dataduct": { + "settings": [] + } + }, + "rowSettings": [ + { + "settings": [] + } + ], + "site": "spearhead", + "title": "Test AmCharts5 Plugin v1", + "userId": "b7a9bac5-5fef-4aa6-bf12-d536c156e453" +} +, +{ + "contexts": [ + { + "adaptor": "data", + "data": { + "exposedModule": "./JsonChartModule", + "moduleName": "JsonChartModule", + "remoteEntry": "http://localhost:3000/remoteEntry.js" + }, + "name": "chart_module", + "plugin": "module" + } + ], + "displayType": "page", + "entityPermissions": { + "deleteUserIds": [], + "readUserIds": [ + "*" + ], + "writeUserIds": [] + }, + "gridItems": [], + "id": "5494f47d-473c-49b4-bbef-f563be722131", + "interactions": { + "interactions": { + "listeners": [] + } + }, + "layoutSetting": { + "settings": [ + { + "attributes": [], + "computedValue": "column", + "displayName": "Direction", + "name": "direction", + "type": 1, + "value": "column" + } + ] + }, + "layoutType": "gridless", + "name": "plugin-amcharts-refs-test-1", + "panels": [ + { + "columnSetting": { + "settings": [ + { + "attributes": [], + "computedValue": "100%", + "displayName": "Height", + "name": "height", + "type": 1, + "value": "100%" + } + ] + }, + "panes": [ + { + "contentPlugin": "amcharts5_json_chart", + "contexts": [], + "label": "", + "locked": false, + "name": "", + "rule": { + "condition": "", + "rules": [] + }, + "settings": [ + { + "attributes": [ + { + "attributes": [ + { + "attributes": [], + "computedValue": "data", + "displayName": "name", + "name": "name", + "type": 1, + "value": "data" + }, + { + "attributes": [], + "computedValue": "data", + "displayName": "id", + "name": "id", + "type": 1, + "value": "data" + }, + { + "attributes": [], + "computedValue": "undefined", + "displayName": "type", + "name": "type", + "type": 0, + "value": "undefined" + } + ], + "computedValue": null, + "displayName": "0", + "name": "0", + "type": 2, + "value": null + } + ], + "computedValue": null, + "displayName": "refs", + "name": "refs", + "type": 4, + "value": null + }, + { + "attributes": [], + "computedValue": "{\n \"type\": \"XYChart\",\n \"refs\": {\n \"data\": [],\n \"xAxis\": {\n \"type\": \"DateAxis\",\n \"settings\": {\n \"maxDeviation\": 0.5,\n \"baseInterval\": {\n \"timeUnit\": \"day\",\n \"count\": 1\n },\n \"renderer\": {\n \"type\": \"AxisRendererX\"\n }\n }\n },\n \"yAxis\": {\n \"type\": \"ValueAxis\",\n \"settings\": {\n \"maxDeviation\": 1,\n \"renderer\": {\n \"type\": \"AxisRendererY\"\n }\n }\n }\n },\n \"settings\": {\n \"panX\": false,\n \"panY\": false,\n \"wheelX\": \"panX\",\n \"wheelY\": \"zoomX\",\n \"scrollbarX\": {\n \"type\": \"Scrollbar\",\n \"settings\": {\n \"orientation\": \"horizontal\"\n }\n }\n },\n \"properties\": {\n \"xAxes\": [\n \"#xAxis\"\n ],\n \"yAxes\": [\n \"#yAxis\"\n ],\n \"series\": [\n {\n \"type\": \"LineSeries\",\n \"settings\": {\n \"name\": \"Series\",\n \"xAxis\": \"#xAxis\",\n \"yAxis\": \"#yAxis\",\n \"valueYField\": \"value\",\n \"valueXField\": \"date\",\n \"tooltip\": {\n \"type\": \"Tooltip\",\n \"settings\": {\n \"labelText\": \"{valueX}: {valueY}\"\n }\n }\n },\n \"properties\": {\n \"data\": \"#data\"\n }\n }\n ]\n }\n}", + "displayName": "json", + "name": "json", + "type": 1, + "value": "{\n \"type\": \"XYChart\",\n \"refs\": {\n \"data\": [],\n \"xAxis\": {\n \"type\": \"DateAxis\",\n \"settings\": {\n \"maxDeviation\": 0.5,\n \"baseInterval\": {\n \"timeUnit\": \"day\",\n \"count\": 1\n },\n \"renderer\": {\n \"type\": \"AxisRendererX\"\n }\n }\n },\n \"yAxis\": {\n \"type\": \"ValueAxis\",\n \"settings\": {\n \"maxDeviation\": 1,\n \"renderer\": {\n \"type\": \"AxisRendererY\"\n }\n }\n }\n },\n \"settings\": {\n \"panX\": false,\n \"panY\": false,\n \"wheelX\": \"panX\",\n \"wheelY\": \"zoomX\",\n \"scrollbarX\": {\n \"type\": \"Scrollbar\",\n \"settings\": {\n \"orientation\": \"horizontal\"\n }\n }\n },\n \"properties\": {\n \"xAxes\": [\n \"#xAxis\"\n ],\n \"yAxes\": [\n \"#yAxis\"\n ],\n \"series\": [\n {\n \"type\": \"LineSeries\",\n \"settings\": {\n \"name\": \"Series\",\n \"xAxis\": \"#xAxis\",\n \"yAxis\": \"#yAxis\",\n \"valueYField\": \"value\",\n \"valueXField\": \"date\",\n \"tooltip\": {\n \"type\": \"Tooltip\",\n \"settings\": {\n \"labelText\": \"{valueX}: {valueY}\"\n }\n }\n },\n \"properties\": {\n \"data\": \"#data\"\n }\n }\n ]\n }\n}" + } + ] + }, + { + "contentPlugin": "datasource", + "contexts": [], + "label": "data", + "locked": false, + "name": "data", + "rule": { + "condition": "", + "rules": [] + }, + "settings": [ + { + "attributes": [], + "computedValue": "data", + "displayName": "plugin", + "name": "plugin", + "type": 1, + "value": "data" + }, + { + "attributes": [ + { + "attributes": [], + "computedValue": "[\n { \"date\": 1652425200000, \"value\": 92 },\n { \"date\": 1652511600000, \"value\": 95 },\n { \"date\": 1652598000000, \"value\": 100 },\n { \"date\": 1652684400000, \"value\": 100 },\n { \"date\": 1652770800000, \"value\": 96 },\n { \"date\": 1652857200000, \"value\": 97 },\n { \"date\": 1652943600000, \"value\": 94 },\n { \"date\": 1653030000000, \"value\": 89 },\n { \"date\": 1653116400000, \"value\": 89 },\n { \"date\": 1653202800000, \"value\": 87 },\n { \"date\": 1653289200000, \"value\": 84 },\n { \"date\": 1653375600000, \"value\": 81 },\n { \"date\": 1653462000000, \"value\": 85 },\n { \"date\": 1653548400000, \"value\": 89 },\n { \"date\": 1653634800000, \"value\": 86 },\n { \"date\": 1653721200000, \"value\": 90 },\n { \"date\": 1653807600000, \"value\": 93 },\n { \"date\": 1653894000000, \"value\": 94 },\n { \"date\": 1653980400000, \"value\": 94 },\n { \"date\": 1654066800000, \"value\": 96 }\n]", + "displayName": "data", + "name": "data", + "type": 1, + "value": "[\n { \"date\": 1652425200000, \"value\": 92 },\n { \"date\": 1652511600000, \"value\": 95 },\n { \"date\": 1652598000000, \"value\": 100 },\n { \"date\": 1652684400000, \"value\": 100 },\n { \"date\": 1652770800000, \"value\": 96 },\n { \"date\": 1652857200000, \"value\": 97 },\n { \"date\": 1652943600000, \"value\": 94 },\n { \"date\": 1653030000000, \"value\": 89 },\n { \"date\": 1653116400000, \"value\": 89 },\n { \"date\": 1653202800000, \"value\": 87 },\n { \"date\": 1653289200000, \"value\": 84 },\n { \"date\": 1653375600000, \"value\": 81 },\n { \"date\": 1653462000000, \"value\": 85 },\n { \"date\": 1653548400000, \"value\": 89 },\n { \"date\": 1653634800000, \"value\": 86 },\n { \"date\": 1653721200000, \"value\": 90 },\n { \"date\": 1653807600000, \"value\": 93 },\n { \"date\": 1653894000000, \"value\": 94 },\n { \"date\": 1653980400000, \"value\": 94 },\n { \"date\": 1654066800000, \"value\": 96 }\n]" + } + ], + "computedValue": null, + "displayName": "settings", + "name": "settings", + "type": 2, + "value": null + }, + { + "attributes": [ + { + "attributes": [], + "computedValue": "pane", + "displayName": "type", + "name": "type", + "type": 1, + "value": "pane" + }, + { + "attributes": [], + "computedValue": null, + "displayName": "bindings", + "name": "bindings", + "type": 4, + "value": null + } + ], + "computedValue": null, + "displayName": "renderer", + "name": "renderer", + "type": 2, + "value": null + } + ] + } + ], + "settings": [], + "stylePlugin": "" + }, + { + "columnSetting": { + "settings": [] + }, + "panes": [], + "settings": [], + "stylePlugin": "" + } + ], + "path": "/plugin-amcharts-refs-test-1", + "persistence": { + "dataduct": { + "settings": [] + } + }, + "rowSettings": [ + { + "settings": [ + { + "attributes": [], + "computedValue": "1", + "displayName": "Flex Grow", + "name": "flexGrow", + "type": 1, + "value": "1" + }, + { + "attributes": [], + "computedValue": "1", + "displayName": "Flex Shrink", + "name": "flexShrink", + "type": 1, + "value": "1" + }, + { + "attributes": [], + "computedValue": "1", + "displayName": "Flex Basis", + "name": "flexBasis", + "type": 1, + "value": "1" + }, + { + "attributes": [], + "computedValue": "100%", + "displayName": "Height", + "name": "height", + "type": 1, + "value": "100%" + }, + { + "attributes": [], + "computedValue": "row", + "displayName": "Direction", + "name": "direction", + "type": 1, + "value": "row" + } + ] + }, + { + "settings": [] + } + ], + "site": "spearhead", + "title": "plugin-amcharts-refs-test-1", + "userId": "b7a9bac5-5fef-4aa6-bf12-d536c156e453" +} +, +{ + "contexts": [ + { + "adaptor": "data", + "data": { + "exposedModule": "./JsonChartModule", + "moduleName": "JsonChartModule", + "remoteEntry": "http://localhost:3000/remoteEntry.js" + }, + "name": "chart_module", + "plugin": "module" + } + ], + "displayType": "page", + "entityPermissions": { + "deleteUserIds": [], + "readUserIds": [ + "*" + ], + "writeUserIds": [] + }, + "gridItems": [], + "id": "8ebbcdb3-300f-4739-8cb3-6c5d4c402638", + "interactions": { + "interactions": { + "listeners": [] + } + }, + "layoutSetting": { + "settings": [] + }, + "layoutType": "gridless", + "name": "am_charts_visual_editor_bar_chart_test", + "panels": [ + { + "columnSetting": { + "settings": [] + }, + "panes": [ + { + "contentPlugin": "amcharts5_json_chart", + "contexts": [], + "label": "", + "locked": false, + "name": "", + "settings": [ + { + "attributes": [], + "computedValue": "{\n \"type\": \"XYChart\",\n \"data\": [{\n \"category\": \"Category #1\",\n \"value\": 3336\n }, {\n \"category\": \"Category #2\",\n \"value\": 2517\n }, {\n \"category\": \"Category #3\",\n \"value\": 784\n }, {\n \"category\": \"Category #4\",\n \"value\": 2388\n }, {\n \"category\": \"Category #5\",\n \"value\": 3581\n }, {\n \"category\": \"Category #6\",\n \"value\": 690\n }, {\n \"category\": \"Category #7\",\n \"value\": 4292\n }, {\n \"category\": \"Category #8\",\n \"value\": 2254\n }],\n \"xAxes\": [{\n \"type\": \"ValueAxis\",\n \"renderer\": {\n \"maxLabelPosition\": 0.98\n }\n }],\n \"yAxes\": [{\n \"type\": \"CategoryAxis\",\n \"dataFields\": {\n \"category\": \"category\"\n },\n \"renderer\": {\n \"grid\": {\n \"template\": {\n \"type\": \"Grid\",\n \"location\": 0\n }\n },\n \"minGridDistance\": 20\n }\n }],\n \"series\": [{\n \"type\": \"ColumnSeries\",\n \"columns\": {\n \"template\": {\n \"type\": \"Column\",\n \"strokeOpacity\": 0,\n \"tooltipText\": \"{categoryY}\\n{valueX}\",\n \"tooltipPosition\": \"pointer\"\n }\n },\n \"dataFields\": {\n \"valueX\": \"value\",\n \"categoryY\": \"category\"\n },\n \"sequencedInterpolation\": true,\n \"sequencedInterpolationDelay\": 100\n }]\n}", + "displayName": "JSON", + "name": "json", + "type": 1, + "value": "{\n \"type\": \"XYChart\",\n \"data\": [{\n \"category\": \"Category #1\",\n \"value\": 3336\n }, {\n \"category\": \"Category #2\",\n \"value\": 2517\n }, {\n \"category\": \"Category #3\",\n \"value\": 784\n }, {\n \"category\": \"Category #4\",\n \"value\": 2388\n }, {\n \"category\": \"Category #5\",\n \"value\": 3581\n }, {\n \"category\": \"Category #6\",\n \"value\": 690\n }, {\n \"category\": \"Category #7\",\n \"value\": 4292\n }, {\n \"category\": \"Category #8\",\n \"value\": 2254\n }],\n \"xAxes\": [{\n \"type\": \"ValueAxis\",\n \"renderer\": {\n \"maxLabelPosition\": 0.98\n }\n }],\n \"yAxes\": [{\n \"type\": \"CategoryAxis\",\n \"dataFields\": {\n \"category\": \"category\"\n },\n \"renderer\": {\n \"grid\": {\n \"template\": {\n \"type\": \"Grid\",\n \"location\": 0\n }\n },\n \"minGridDistance\": 20\n }\n }],\n \"series\": [{\n \"type\": \"ColumnSeries\",\n \"columns\": {\n \"template\": {\n \"type\": \"Column\",\n \"strokeOpacity\": 0,\n \"tooltipText\": \"{categoryY}\\n{valueX}\",\n \"tooltipPosition\": \"pointer\"\n }\n },\n \"dataFields\": {\n \"valueX\": \"value\",\n \"categoryY\": \"category\"\n },\n \"sequencedInterpolation\": true,\n \"sequencedInterpolationDelay\": 100\n }]\n}" + } + ] + } + ], + "settings": [], + "stylePlugin": "" + } + ], + "path": "/am-charts-visual-editor-bar-chart-test", + "persistence": { + "dataduct": { + "settings": [] + } + }, + "rowSettings": [ + { + "settings": [] + } + ], + "site": "spearhead", + "title": "Visual Editor Bar Chart", + "userId": "b7a9bac5-5fef-4aa6-bf12-d536c156e453" +} +, +{"contexts":[{"adaptor":"data","data":{"value":[{},{},{}]},"datasource":null,"name":"terms","plugin":"state","rest":null,"snippet":null,"tokens":null},{"adaptor":"datasource","data":null,"datasource":{"params":[],"plugin":"data","renderer":{"bindings":[],"data":{"content":"","contentType":""},"query":"","trackBy":"","type":"pane"},"settings":[{"attributes":[],"computedValue":"[{\"id\":1,\"name\":\"batman\"},{\"id\":2,\"name\":\"superman\"}]","displayName":"data","floatValue":0,"intValue":0,"name":"data","type":1,"value":"[{\"id\":1,\"name\":\"batman\"},{\"id\":2,\"name\":\"superman\"}]"}]},"name":"characters","plugin":"datasource","rest":null,"snippet":null,"tokens":null},{"adaptor":"datasource","data":null,"datasource":{"params":[],"plugin":"crud_adaptor","renderer":{"bindings":[],"data":{"content":"","contentType":""},"query":"","trackBy":"","type":"pane"},"settings":[{"attributes":[],"computedValue":"aws_s3_entity","displayName":"adaptorName","floatValue":0,"intValue":0,"name":"adaptorName","type":1,"value":"aws_s3_entity"},{"attributes":[],"computedValue":"bucket=:bucket\u0026prefix=:prefix","displayName":"optionsString","floatValue":0,"intValue":0,"name":"optionsString","type":1,"value":"bucket=:bucket\u0026prefix=:prefix"},{"attributes":[],"computedValue":"identity=:identity","displayName":"paramsString","floatValue":0,"intValue":0,"name":"paramsString","type":1,"value":"identity=:identity"},{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"static","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"static"},{"attributes":[],"computedValue":"classifieds-ui-prod","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"classifieds-ui-prod"},{"attributes":[],"computedValue":"classifieds-ui-prod","displayName":"testValue","floatValue":0,"intValue":0,"name":"testValue","type":1,"value":"classifieds-ui-prod"},{"attributes":[],"computedValue":"","displayName":"context","floatValue":0,"intValue":0,"name":"context","type":1,"value":""}],"computedValue":"","displayName":"mapping","floatValue":0,"intValue":0,"name":"mapping","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"page","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"page"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"limit","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"limit"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"offset","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"offset"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"searchString","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"searchString"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"3","floatValue":0,"intValue":0,"name":"3","type":2,"value":""}],"computedValue":"","displayName":"flags","floatValue":0,"intValue":0,"name":"flags","type":4,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"static","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"static"},{"attributes":[],"computedValue":"ads/","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"ads/"},{"attributes":[],"computedValue":"ads/","displayName":"testValue","floatValue":0,"intValue":0,"name":"testValue","type":1,"value":"ads/"},{"attributes":[],"computedValue":"","displayName":"context","floatValue":0,"intValue":0,"name":"context","type":1,"value":""}],"computedValue":"","displayName":"mapping","floatValue":0,"intValue":0,"name":"mapping","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"page","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"page"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"limit","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"limit"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"offset","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"offset"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"searchString","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"searchString"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"3","floatValue":0,"intValue":0,"name":"3","type":2,"value":""}],"computedValue":"","displayName":"flags","floatValue":0,"intValue":0,"name":"flags","type":4,"value":""}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""}],"computedValue":"","displayName":"options","floatValue":0,"intValue":0,"name":"options","type":4,"value":""},{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"route","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"route"},{"attributes":[],"computedValue":"arg0","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"arg0"},{"attributes":[],"computedValue":"","displayName":"testValue","floatValue":0,"intValue":0,"name":"testValue","type":1,"value":""},{"attributes":[],"computedValue":"","displayName":"context","floatValue":0,"intValue":0,"name":"context","type":1,"value":""}],"computedValue":"","displayName":"mapping","floatValue":0,"intValue":0,"name":"mapping","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"page","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"page"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"limit","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"limit"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"offset","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"offset"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"searchString","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"searchString"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"3","floatValue":0,"intValue":0,"name":"3","type":2,"value":""}],"computedValue":"","displayName":"flags","floatValue":0,"intValue":0,"name":"flags","type":4,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"params","floatValue":0,"intValue":0,"name":"params","type":4,"value":""}]},"name":"ad","plugin":"datasource","rest":null,"snippet":null,"tokens":null}],"cssFile":"","derivativeId":"","displayType":"page","entityPermissions":{"deleteUserIds":["b7a9bac5-5fef-4aa6-bf12-d536c156e453"],"readUserIds":["*"],"writeUserIds":["b7a9bac5-5fef-4aa6-bf12-d536c156e453"]},"gridItems":[{"cols":100,"rows":1,"weight":0,"x":0,"y":0}],"id":"bb66aa62-8635-4015-86c9-ba4f208b0856","layoutSetting":{"settings":[]},"layoutType":"split","name":"native_forms_rebuild_v1","panels":[{"columnSetting":{"settings":[]},"label":"","name":"","panes":[{"contentPlugin":"datasource","label":"characters_context_ref","linkedPageId":"","locked":false,"name":"characters_context_ref","rule":{"condition":"","field":"","operator":"","rules":[],"value":""},"settings":[{"attributes":[],"computedValue":"context","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"context"},{"attributes":[{"attributes":[],"computedValue":"characters","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"characters"}],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"select_characters","displayName":"id","floatValue":0,"intValue":0,"name":"id","type":1,"value":"select_characters"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"bindings","floatValue":0,"intValue":0,"name":"bindings","type":4,"value":""}],"computedValue":"","displayName":"renderer","floatValue":0,"intValue":0,"name":"renderer","type":2,"value":""}]},{"contentPlugin":"datasource","label":"creators","linkedPageId":"","locked":false,"name":"creators","rule":{"condition":"","field":"","operator":"","rules":[],"value":""},"settings":[{"attributes":[],"computedValue":"rest","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"rest"},{"attributes":[{"attributes":[],"computedValue":"https://gateway.marvel.com:443/v1/public/creators?apikey=12097554cc585301fc38efd51b21fb06\u0026nameStartsWith=:nameStartsWith","displayName":"url","floatValue":0,"intValue":0,"name":"url","type":1,"value":"https://gateway.marvel.com:443/v1/public/creators?apikey=12097554cc585301fc38efd51b21fb06\u0026nameStartsWith=:nameStartsWith"},{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"inputparam","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"inputparam"},{"attributes":[],"computedValue":"term","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"term"},{"attributes":[],"computedValue":"john","displayName":"testValue","floatValue":0,"intValue":0,"name":"testValue","type":1,"value":"john"},{"attributes":[],"computedValue":"","displayName":"context","floatValue":0,"intValue":0,"name":"context","type":1,"value":""}],"computedValue":"","displayName":"mapping","floatValue":0,"intValue":0,"name":"mapping","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"page","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"page"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"limit","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"limit"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"offset","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"offset"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"searchString","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"searchString"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"3","floatValue":0,"intValue":0,"name":"3","type":2,"value":""}],"computedValue":"","displayName":"flags","floatValue":0,"intValue":0,"name":"flags","type":4,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"params","floatValue":0,"intValue":0,"name":"params","type":4,"value":""},{"attributes":[{"attributes":[],"computedValue":"","displayName":"content","floatValue":0,"intValue":0,"name":"content","type":1,"value":""},{"attributes":[],"computedValue":"application/json","displayName":"contentType","floatValue":0,"intValue":0,"name":"contentType","type":1,"value":"application/json"},{"attributes":[],"computedValue":"","displayName":"jsScript","floatValue":0,"intValue":0,"name":"jsScript","type":1,"value":""}],"computedValue":"","displayName":"body","floatValue":0,"intValue":0,"name":"body","type":2,"value":""},{"attributes":[],"computedValue":"get","displayName":"method","floatValue":0,"intValue":0,"name":"method","type":1,"value":"get"}],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"select_creators","displayName":"id","floatValue":0,"intValue":0,"name":"id","type":1,"value":"select_creators"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"bindings","floatValue":0,"intValue":0,"name":"bindings","type":4,"value":""}],"computedValue":"","displayName":"renderer","floatValue":0,"intValue":0,"name":"renderer","type":2,"value":""}]},{"contentPlugin":"datasource","label":"select_creators","linkedPageId":"","locked":false,"name":"select_creators","rule":{"condition":"","field":"","operator":"","rules":[],"value":""},"settings":[{"attributes":[],"computedValue":"select","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"select"},{"attributes":[{"attributes":[],"computedValue":"$..data.results.*","displayName":"query","floatValue":0,"intValue":0,"name":"query","type":1,"value":"$..data.results.*"}],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"","displayName":"bindings","floatValue":0,"intValue":0,"name":"bindings","type":4,"value":""}],"computedValue":"","displayName":"renderer","floatValue":0,"intValue":0,"name":"renderer","type":2,"value":""}]},{"contentPlugin":"form_input","label":"text","linkedPageId":"","locked":false,"name":"text","rule":{"condition":"","field":"","operator":"","rules":[],"value":""},"settings":[{"attributes":[],"computedValue":"[ad.results.0.text]","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"[ad.results.0.text]"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"","displayName":"id","floatValue":0,"intValue":0,"name":"id","type":1,"value":""}],"computedValue":"","displayName":"datasourceBinding","floatValue":0,"intValue":0,"name":"datasourceBinding","type":2,"value":""}]},{"contentPlugin":"form_select","label":"select","linkedPageId":"","locked":false,"name":"select","rule":{"condition":"","field":"","operator":"","rules":[],"value":""},"settings":[{"attributes":[],"computedValue":"[ad.results.0.select]","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"[ad.results.0.select]"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"characters_context_ref","displayName":"id","floatValue":0,"intValue":0,"name":"id","type":1,"value":"characters_context_ref"}],"computedValue":"","displayName":"datasourceBinding","floatValue":0,"intValue":0,"name":"datasourceBinding","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"","displayName":"query","floatValue":0,"intValue":0,"name":"query","type":1,"value":""},{"attributes":[],"computedValue":"","displayName":"trackBy","floatValue":0,"intValue":0,"name":"trackBy","type":1,"value":""},{"attributes":[],"computedValue":"[.id]","displayName":"idMapping","floatValue":0,"intValue":0,"name":"idMapping","type":1,"value":"[.id]"},{"attributes":[],"computedValue":"[.name]","displayName":"labelMapping","floatValue":0,"intValue":0,"name":"labelMapping","type":1,"value":"[.name]"},{"attributes":[],"computedValue":"[.id]","displayName":"valueMapping","floatValue":0,"intValue":0,"name":"valueMapping","type":1,"value":"[.id]"},{"attributes":[],"computedValue":"false","displayName":"multiple","floatValue":0,"intValue":0,"name":"multiple","type":5,"value":"false"},{"attributes":[],"computedValue":"0","displayName":"limit","floatValue":0,"intValue":0,"name":"limit","type":0,"value":"0"}],"computedValue":"","displayName":"datasourceOptions","floatValue":0,"intValue":0,"name":"datasourceOptions","type":2,"value":""}]},{"contentPlugin":"form_textarea","label":"textarea","linkedPageId":"","locked":false,"name":"textarea","rule":{"condition":"","field":"","operator":"","rules":[],"value":""},"settings":[{"attributes":[],"computedValue":"[ad.results.0.textarea]","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"[ad.results.0.textarea]"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"","displayName":"id","floatValue":0,"intValue":0,"name":"id","type":1,"value":""}],"computedValue":"","displayName":"datasourceBinding","floatValue":0,"intValue":0,"name":"datasourceBinding","type":2,"value":""}]},{"contentPlugin":"form_radiogroup","label":"radiogroup","linkedPageId":"","locked":false,"name":"radiogroup","rule":{"condition":"","field":"","operator":"","rules":[],"value":""},"settings":[{"attributes":[],"computedValue":"[ad.results.0.radiogroup]","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"[ad.results.0.radiogroup]"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"characters_context_ref","displayName":"id","floatValue":0,"intValue":0,"name":"id","type":1,"value":"characters_context_ref"}],"computedValue":"","displayName":"datasourceBinding","floatValue":0,"intValue":0,"name":"datasourceBinding","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"","displayName":"query","floatValue":0,"intValue":0,"name":"query","type":1,"value":""},{"attributes":[],"computedValue":"","displayName":"trackBy","floatValue":0,"intValue":0,"name":"trackBy","type":1,"value":""},{"attributes":[],"computedValue":"[.id]","displayName":"idMapping","floatValue":0,"intValue":0,"name":"idMapping","type":1,"value":"[.id]"},{"attributes":[],"computedValue":"[.name]","displayName":"labelMapping","floatValue":0,"intValue":0,"name":"labelMapping","type":1,"value":"[.name]"},{"attributes":[],"computedValue":"[.id]","displayName":"valueMapping","floatValue":0,"intValue":0,"name":"valueMapping","type":1,"value":"[.id]"},{"attributes":[],"computedValue":"false","displayName":"multiple","floatValue":0,"intValue":0,"name":"multiple","type":5,"value":"false"},{"attributes":[],"computedValue":"0","displayName":"limit","floatValue":0,"intValue":0,"name":"limit","type":0,"value":"0"}],"computedValue":"","displayName":"datasourceOptions","floatValue":0,"intValue":0,"name":"datasourceOptions","type":2,"value":""}]},{"contentPlugin":"form_slider","label":"slider","linkedPageId":"","locked":false,"name":"slider","rule":{"condition":"","field":"","operator":"","rules":[],"value":""},"settings":[{"attributes":[],"computedValue":"[ad.results.0.slider]","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"[ad.results.0.slider]"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"","displayName":"id","floatValue":0,"intValue":0,"name":"id","type":1,"value":""}],"computedValue":"","displayName":"datasourceBinding","floatValue":0,"intValue":0,"name":"datasourceBinding","type":2,"value":""}]},{"contentPlugin":"form_toggle","label":"toggle","linkedPageId":"","locked":false,"name":"toggle","rule":{"condition":"","field":"","operator":"","rules":[],"value":""},"settings":[{"attributes":[],"computedValue":"[ad.results.0.toggle]","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"[ad.results.0.toggle]"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"","displayName":"id","floatValue":0,"intValue":0,"name":"id","type":1,"value":""}],"computedValue":"","displayName":"datasourceBinding","floatValue":0,"intValue":0,"name":"datasourceBinding","type":2,"value":""}]},{"contentPlugin":"form_checkbox","label":"checkbox","linkedPageId":"","locked":false,"name":"checkbox","rule":{"condition":"","field":"","operator":"","rules":[],"value":""},"settings":[{"attributes":[],"computedValue":"[ad.results.0.checkbox]","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"[ad.results.0.checkbox]"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"","displayName":"id","floatValue":0,"intValue":0,"name":"id","type":1,"value":""}],"computedValue":"","displayName":"datasourceBinding","floatValue":0,"intValue":0,"name":"datasourceBinding","type":2,"value":""}]},{"contentPlugin":"form_datepicker","label":"datepicker","linkedPageId":"","locked":false,"name":"datepicker","rule":{"condition":"","field":"","operator":"","rules":[],"value":""},"settings":[{"attributes":[],"computedValue":"[ad.results.0.datepicker]","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"[ad.results.0.datepicker]"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"","displayName":"id","floatValue":0,"intValue":0,"name":"id","type":1,"value":""}],"computedValue":"","displayName":"datasourceBinding","floatValue":0,"intValue":0,"name":"datasourceBinding","type":2,"value":""}]},{"contentPlugin":"form_autocomplete","label":"autocomplete","linkedPageId":"","locked":false,"name":"autocomplete","rule":{"condition":"","field":"","operator":"","rules":[],"value":""},"settings":[{"attributes":[],"computedValue":"[ad.results.0.autocomplete]","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"[ad.results.0.autocomplete]"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"creators","displayName":"id","floatValue":0,"intValue":0,"name":"id","type":1,"value":"creators"}],"computedValue":"","displayName":"datasourceBinding","floatValue":0,"intValue":0,"name":"datasourceBinding","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"","displayName":"query","floatValue":0,"intValue":0,"name":"query","type":1,"value":""},{"attributes":[],"computedValue":"","displayName":"trackBy","floatValue":0,"intValue":0,"name":"trackBy","type":1,"value":""},{"attributes":[],"computedValue":"[.id]","displayName":"idMapping","floatValue":0,"intValue":0,"name":"idMapping","type":1,"value":"[.id]"},{"attributes":[],"computedValue":"[.fullName]","displayName":"labelMapping","floatValue":0,"intValue":0,"name":"labelMapping","type":1,"value":"[.fullName]"},{"attributes":[],"computedValue":"[.id]","displayName":"valueMapping","floatValue":0,"intValue":0,"name":"valueMapping","type":1,"value":"[.id]"},{"attributes":[],"computedValue":"false","displayName":"multiple","floatValue":0,"intValue":0,"name":"multiple","type":5,"value":"false"},{"attributes":[],"computedValue":"0","displayName":"limit","floatValue":0,"intValue":0,"name":"limit","type":0,"value":"0"}],"computedValue":"","displayName":"datasourceOptions","floatValue":0,"intValue":0,"name":"datasourceOptions","type":2,"value":""}]},{"contentPlugin":"panel","label":"nested","linkedPageId":"","locked":false,"name":"nested","rule":{"condition":"","field":"","operator":"","rules":[],"value":""},"settings":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"100","displayName":"cols","floatValue":0,"intValue":0,"name":"cols","type":0,"value":"100"},{"attributes":[],"computedValue":"1","displayName":"rows","floatValue":0,"intValue":0,"name":"rows","type":0,"value":"1"},{"attributes":[],"computedValue":"0","displayName":"x","floatValue":0,"intValue":0,"name":"x","type":0,"value":"0"},{"attributes":[],"computedValue":"0","displayName":"y","floatValue":0,"intValue":0,"name":"y","type":0,"value":"0"},{"attributes":[],"computedValue":"0","displayName":"weight","floatValue":0,"intValue":0,"name":"weight","type":0,"value":"0"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"gridItems","floatValue":0,"intValue":0,"name":"gridItems","type":4,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"[ad.results.0.nested.nestedValue]","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"[ad.results.0.nested.nestedValue]"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"","displayName":"id","floatValue":0,"intValue":0,"name":"id","type":1,"value":""}],"computedValue":"","displayName":"datasourceBinding","floatValue":0,"intValue":0,"name":"datasourceBinding","type":2,"value":""}],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[],"computedValue":"false","displayName":"locked","floatValue":0,"intValue":0,"name":"locked","type":5,"value":"false"},{"attributes":[],"computedValue":"","displayName":"contexts","floatValue":0,"intValue":0,"name":"contexts","type":4,"value":""},{"attributes":[],"computedValue":"nestedValue","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"nestedValue"},{"attributes":[],"computedValue":"nestedValue","displayName":"label","floatValue":0,"intValue":0,"name":"label","type":1,"value":"nestedValue"},{"attributes":[],"computedValue":"form_input","displayName":"contentPlugin","floatValue":0,"intValue":0,"name":"contentPlugin","type":1,"value":"form_input"},{"attributes":[{"attributes":[],"computedValue":"","displayName":"condition","floatValue":0,"intValue":0,"name":"condition","type":1,"value":""},{"attributes":[],"computedValue":"","displayName":"rules","floatValue":0,"intValue":0,"name":"rules","type":4,"value":""}],"computedValue":"","displayName":"rule","floatValue":0,"intValue":0,"name":"rule","type":2,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"panes","floatValue":0,"intValue":0,"name":"panes","type":4,"value":""},{"attributes":[],"computedValue":"undefined","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"label","floatValue":0,"intValue":0,"name":"label","type":0,"value":"undefined"},{"attributes":[],"computedValue":"","displayName":"stylePlugin","floatValue":0,"intValue":0,"name":"stylePlugin","type":1,"value":""},{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""}],"computedValue":"","displayName":"columnSetting","floatValue":0,"intValue":0,"name":"columnSetting","type":2,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"panels","floatValue":0,"intValue":0,"name":"panels","type":4,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"terms","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"terms"},{"attributes":[],"computedValue":"data","displayName":"adaptor","floatValue":0,"intValue":0,"name":"adaptor","type":1,"value":"data"},{"attributes":[],"computedValue":"state","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"state"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""}],"computedValue":"","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":4,"value":""}],"computedValue":"","displayName":"data","floatValue":0,"intValue":0,"name":"data","type":2,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"characters","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"characters"},{"attributes":[],"computedValue":"datasource","displayName":"adaptor","floatValue":0,"intValue":0,"name":"adaptor","type":1,"value":"datasource"},{"attributes":[],"computedValue":"datasource","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"datasource"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"[{\"id\":1,\"name\":\"batman\"},{\"id\":2,\"name\":\"superman\"}]","displayName":"data","floatValue":0,"intValue":0,"name":"data","type":1,"value":"[{\"id\":1,\"name\":\"batman\"},{\"id\":2,\"name\":\"superman\"}]"}],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[],"computedValue":"","displayName":"params","floatValue":0,"intValue":0,"name":"params","type":4,"value":""},{"attributes":[],"computedValue":"data","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"data"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"undefined","displayName":"query","floatValue":0,"intValue":0,"name":"query","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"trackBy","floatValue":0,"intValue":0,"name":"trackBy","type":0,"value":"undefined"},{"attributes":[],"computedValue":"","displayName":"bindings","floatValue":0,"intValue":0,"name":"bindings","type":4,"value":""}],"computedValue":"","displayName":"renderer","floatValue":0,"intValue":0,"name":"renderer","type":2,"value":""}],"computedValue":"","displayName":"datasource","floatValue":0,"intValue":0,"name":"datasource","type":2,"value":""}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"ad","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"ad"},{"attributes":[],"computedValue":"datasource","displayName":"adaptor","floatValue":0,"intValue":0,"name":"adaptor","type":1,"value":"datasource"},{"attributes":[],"computedValue":"datasource","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"datasource"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"aws_s3_entity","displayName":"adaptorName","floatValue":0,"intValue":0,"name":"adaptorName","type":1,"value":"aws_s3_entity"},{"attributes":[],"computedValue":"bucket=:bucket\u0026prefix=:prefix","displayName":"optionsString","floatValue":0,"intValue":0,"name":"optionsString","type":1,"value":"bucket=:bucket\u0026prefix=:prefix"},{"attributes":[],"computedValue":"identity=:identity","displayName":"paramsString","floatValue":0,"intValue":0,"name":"paramsString","type":1,"value":"identity=:identity"},{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"static","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"static"},{"attributes":[],"computedValue":"classifieds-ui-prod","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"classifieds-ui-prod"},{"attributes":[],"computedValue":"classifieds-ui-prod","displayName":"testValue","floatValue":0,"intValue":0,"name":"testValue","type":1,"value":"classifieds-ui-prod"},{"attributes":[],"computedValue":"","displayName":"context","floatValue":0,"intValue":0,"name":"context","type":1,"value":""}],"computedValue":"","displayName":"mapping","floatValue":0,"intValue":0,"name":"mapping","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"page","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"page"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"limit","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"limit"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"offset","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"offset"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"searchString","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"searchString"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"3","floatValue":0,"intValue":0,"name":"3","type":2,"value":""}],"computedValue":"","displayName":"flags","floatValue":0,"intValue":0,"name":"flags","type":4,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"static","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"static"},{"attributes":[],"computedValue":"ads/","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"ads/"},{"attributes":[],"computedValue":"ads/","displayName":"testValue","floatValue":0,"intValue":0,"name":"testValue","type":1,"value":"ads/"},{"attributes":[],"computedValue":"","displayName":"context","floatValue":0,"intValue":0,"name":"context","type":1,"value":""}],"computedValue":"","displayName":"mapping","floatValue":0,"intValue":0,"name":"mapping","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"page","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"page"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"limit","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"limit"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"offset","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"offset"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"searchString","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"searchString"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"3","floatValue":0,"intValue":0,"name":"3","type":2,"value":""}],"computedValue":"","displayName":"flags","floatValue":0,"intValue":0,"name":"flags","type":4,"value":""}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""}],"computedValue":"","displayName":"options","floatValue":0,"intValue":0,"name":"options","type":4,"value":""},{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"route","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"route"},{"attributes":[],"computedValue":"arg0","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"arg0"},{"attributes":[],"computedValue":"","displayName":"testValue","floatValue":0,"intValue":0,"name":"testValue","type":1,"value":""},{"attributes":[],"computedValue":"","displayName":"context","floatValue":0,"intValue":0,"name":"context","type":1,"value":""}],"computedValue":"","displayName":"mapping","floatValue":0,"intValue":0,"name":"mapping","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"page","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"page"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"limit","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"limit"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"offset","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"offset"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"searchString","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"searchString"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"3","floatValue":0,"intValue":0,"name":"3","type":2,"value":""}],"computedValue":"","displayName":"flags","floatValue":0,"intValue":0,"name":"flags","type":4,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"params","floatValue":0,"intValue":0,"name":"params","type":4,"value":""}],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[],"computedValue":"","displayName":"params","floatValue":0,"intValue":0,"name":"params","type":4,"value":""},{"attributes":[],"computedValue":"crud_adaptor","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"crud_adaptor"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"undefined","displayName":"query","floatValue":0,"intValue":0,"name":"query","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"trackBy","floatValue":0,"intValue":0,"name":"trackBy","type":0,"value":"undefined"},{"attributes":[],"computedValue":"","displayName":"bindings","floatValue":0,"intValue":0,"name":"bindings","type":4,"value":""}],"computedValue":"","displayName":"renderer","floatValue":0,"intValue":0,"name":"renderer","type":2,"value":""}],"computedValue":"","displayName":"datasource","floatValue":0,"intValue":0,"name":"datasource","type":2,"value":""}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""}],"computedValue":"","displayName":"contexts","floatValue":0,"intValue":0,"name":"contexts","type":4,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"rowSettings","floatValue":0,"intValue":0,"name":"rowSettings","type":4,"value":""},{"attributes":[{"attributes":[],"computedValue":"","displayName":"readUserIds","floatValue":0,"intValue":0,"name":"readUserIds","type":4,"value":""},{"attributes":[],"computedValue":"","displayName":"writeUserIds","floatValue":0,"intValue":0,"name":"writeUserIds","type":4,"value":""},{"attributes":[],"computedValue":"","displayName":"deleteUserIds","floatValue":0,"intValue":0,"name":"deleteUserIds","type":4,"value":""}],"computedValue":"","displayName":"entityPermissions","floatValue":0,"intValue":0,"name":"entityPermissions","type":2,"value":""},{"attributes":[],"computedValue":"undefined","displayName":"id","floatValue":0,"intValue":0,"name":"id","type":0,"value":"undefined"},{"attributes":[],"computedValue":"split","displayName":"layoutType","floatValue":0,"intValue":0,"name":"layoutType","type":1,"value":"split"},{"attributes":[],"computedValue":"form","displayName":"displayType","floatValue":0,"intValue":0,"name":"displayType","type":1,"value":"form"},{"attributes":[],"computedValue":"nested_form","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"nested_form"},{"attributes":[],"computedValue":"nested_form","displayName":"title","floatValue":0,"intValue":0,"name":"title","type":1,"value":"nested_form"},{"attributes":[],"computedValue":"spearhead","displayName":"site","floatValue":0,"intValue":0,"name":"site","type":1,"value":"spearhead"},{"attributes":[],"computedValue":"undefined","displayName":"userId","floatValue":0,"intValue":0,"name":"userId","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"path","floatValue":0,"intValue":0,"name":"path","type":0,"value":"undefined"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[],"computedValue":"undefined","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":0,"value":"undefined"}],"computedValue":"","displayName":"dataduct","floatValue":0,"intValue":0,"name":"dataduct","type":2,"value":""}],"computedValue":"","displayName":"persistence","floatValue":0,"intValue":0,"name":"persistence","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""}],"computedValue":"","displayName":"layoutSetting","floatValue":0,"intValue":0,"name":"layoutSetting","type":2,"value":""}]},{"contentPlugin":"panel","label":"","linkedPageId":"","locked":false,"name":"","rule":{"condition":"","field":"","operator":"","rules":[],"value":""},"settings":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"100","displayName":"cols","floatValue":0,"intValue":0,"name":"cols","type":0,"value":"100"},{"attributes":[],"computedValue":"1","displayName":"rows","floatValue":0,"intValue":0,"name":"rows","type":0,"value":"1"},{"attributes":[],"computedValue":"0","displayName":"x","floatValue":0,"intValue":0,"name":"x","type":0,"value":"0"},{"attributes":[],"computedValue":"0","displayName":"y","floatValue":0,"intValue":0,"name":"y","type":0,"value":"0"},{"attributes":[],"computedValue":"0","displayName":"weight","floatValue":0,"intValue":0,"name":"weight","type":0,"value":"0"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"gridItems","floatValue":0,"intValue":0,"name":"gridItems","type":4,"value":""},{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"$.ad.results[0].terms","displayName":"valuesMapping","floatValue":0,"intValue":0,"name":"valuesMapping","type":1,"value":"$.ad.results[0].terms"}],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"100","displayName":"cols","floatValue":0,"intValue":0,"name":"cols","type":0,"value":"100"},{"attributes":[],"computedValue":"1","displayName":"rows","floatValue":0,"intValue":0,"name":"rows","type":0,"value":"1"},{"attributes":[],"computedValue":"0","displayName":"x","floatValue":0,"intValue":0,"name":"x","type":0,"value":"0"},{"attributes":[],"computedValue":"0","displayName":"y","floatValue":0,"intValue":0,"name":"y","type":0,"value":"0"},{"attributes":[],"computedValue":"0","displayName":"weight","floatValue":0,"intValue":0,"name":"weight","type":0,"value":"0"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"gridItems","floatValue":0,"intValue":0,"name":"gridItems","type":4,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"[ad.results.0.terms.$i.humanName]","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"[ad.results.0.terms.$i.humanName]"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"","displayName":"id","floatValue":0,"intValue":0,"name":"id","type":1,"value":""}],"computedValue":"","displayName":"datasourceBinding","floatValue":0,"intValue":0,"name":"datasourceBinding","type":2,"value":""}],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[],"computedValue":"false","displayName":"locked","floatValue":0,"intValue":0,"name":"locked","type":5,"value":"false"},{"attributes":[],"computedValue":"","displayName":"contexts","floatValue":0,"intValue":0,"name":"contexts","type":4,"value":""},{"attributes":[],"computedValue":"humanName","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"humanName"},{"attributes":[],"computedValue":"humanName","displayName":"label","floatValue":0,"intValue":0,"name":"label","type":1,"value":"humanName"},{"attributes":[],"computedValue":"form_input","displayName":"contentPlugin","floatValue":0,"intValue":0,"name":"contentPlugin","type":1,"value":"form_input"},{"attributes":[{"attributes":[],"computedValue":"","displayName":"condition","floatValue":0,"intValue":0,"name":"condition","type":1,"value":""},{"attributes":[],"computedValue":"","displayName":"rules","floatValue":0,"intValue":0,"name":"rules","type":4,"value":""}],"computedValue":"","displayName":"rule","floatValue":0,"intValue":0,"name":"rule","type":2,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"100","displayName":"cols","floatValue":0,"intValue":0,"name":"cols","type":0,"value":"100"},{"attributes":[],"computedValue":"1","displayName":"rows","floatValue":0,"intValue":0,"name":"rows","type":0,"value":"1"},{"attributes":[],"computedValue":"0","displayName":"x","floatValue":0,"intValue":0,"name":"x","type":0,"value":"0"},{"attributes":[],"computedValue":"0","displayName":"y","floatValue":0,"intValue":0,"name":"y","type":0,"value":"0"},{"attributes":[],"computedValue":"0","displayName":"weight","floatValue":0,"intValue":0,"name":"weight","type":0,"value":"0"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"gridItems","floatValue":0,"intValue":0,"name":"gridItems","type":4,"value":""},{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"$.ad.results[0].terms[$i].terms","displayName":"valuesMapping","floatValue":0,"intValue":0,"name":"valuesMapping","type":1,"value":"$.ad.results[0].terms[$i].terms"}],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"100","displayName":"cols","floatValue":0,"intValue":0,"name":"cols","type":0,"value":"100"},{"attributes":[],"computedValue":"1","displayName":"rows","floatValue":0,"intValue":0,"name":"rows","type":0,"value":"1"},{"attributes":[],"computedValue":"0","displayName":"x","floatValue":0,"intValue":0,"name":"x","type":0,"value":"0"},{"attributes":[],"computedValue":"0","displayName":"y","floatValue":0,"intValue":0,"name":"y","type":0,"value":"0"},{"attributes":[],"computedValue":"0","displayName":"weight","floatValue":0,"intValue":0,"name":"weight","type":0,"value":"0"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"gridItems","floatValue":0,"intValue":0,"name":"gridItems","type":4,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"[ad.results.0.terms.$i.terms.$i.humanName]","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"[ad.results.0.terms.$i.terms.$i.humanName]"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"","displayName":"id","floatValue":0,"intValue":0,"name":"id","type":1,"value":""}],"computedValue":"","displayName":"datasourceBinding","floatValue":0,"intValue":0,"name":"datasourceBinding","type":2,"value":""}],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[],"computedValue":"false","displayName":"locked","floatValue":0,"intValue":0,"name":"locked","type":5,"value":"false"},{"attributes":[],"computedValue":"","displayName":"contexts","floatValue":0,"intValue":0,"name":"contexts","type":4,"value":""},{"attributes":[],"computedValue":"humanName","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"humanName"},{"attributes":[],"computedValue":"humanName","displayName":"label","floatValue":0,"intValue":0,"name":"label","type":1,"value":"humanName"},{"attributes":[],"computedValue":"form_input","displayName":"contentPlugin","floatValue":0,"intValue":0,"name":"contentPlugin","type":1,"value":"form_input"},{"attributes":[{"attributes":[],"computedValue":"","displayName":"condition","floatValue":0,"intValue":0,"name":"condition","type":1,"value":""},{"attributes":[],"computedValue":"","displayName":"rules","floatValue":0,"intValue":0,"name":"rules","type":4,"value":""}],"computedValue":"","displayName":"rule","floatValue":0,"intValue":0,"name":"rule","type":2,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"panes","floatValue":0,"intValue":0,"name":"panes","type":4,"value":""},{"attributes":[],"computedValue":"undefined","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"label","floatValue":0,"intValue":0,"name":"label","type":0,"value":"undefined"},{"attributes":[],"computedValue":"","displayName":"stylePlugin","floatValue":0,"intValue":0,"name":"stylePlugin","type":1,"value":""},{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""}],"computedValue":"","displayName":"columnSetting","floatValue":0,"intValue":0,"name":"columnSetting","type":2,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"panels","floatValue":0,"intValue":0,"name":"panels","type":4,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"terms","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"terms"},{"attributes":[],"computedValue":"data","displayName":"adaptor","floatValue":0,"intValue":0,"name":"adaptor","type":1,"value":"data"},{"attributes":[],"computedValue":"state","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"state"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""}],"computedValue":"","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":4,"value":""}],"computedValue":"","displayName":"data","floatValue":0,"intValue":0,"name":"data","type":2,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"characters","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"characters"},{"attributes":[],"computedValue":"datasource","displayName":"adaptor","floatValue":0,"intValue":0,"name":"adaptor","type":1,"value":"datasource"},{"attributes":[],"computedValue":"datasource","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"datasource"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"[{\"id\":1,\"name\":\"batman\"},{\"id\":2,\"name\":\"superman\"}]","displayName":"data","floatValue":0,"intValue":0,"name":"data","type":1,"value":"[{\"id\":1,\"name\":\"batman\"},{\"id\":2,\"name\":\"superman\"}]"}],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[],"computedValue":"","displayName":"params","floatValue":0,"intValue":0,"name":"params","type":4,"value":""},{"attributes":[],"computedValue":"data","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"data"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"undefined","displayName":"query","floatValue":0,"intValue":0,"name":"query","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"trackBy","floatValue":0,"intValue":0,"name":"trackBy","type":0,"value":"undefined"},{"attributes":[],"computedValue":"","displayName":"bindings","floatValue":0,"intValue":0,"name":"bindings","type":4,"value":""}],"computedValue":"","displayName":"renderer","floatValue":0,"intValue":0,"name":"renderer","type":2,"value":""}],"computedValue":"","displayName":"datasource","floatValue":0,"intValue":0,"name":"datasource","type":2,"value":""}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"ad","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"ad"},{"attributes":[],"computedValue":"datasource","displayName":"adaptor","floatValue":0,"intValue":0,"name":"adaptor","type":1,"value":"datasource"},{"attributes":[],"computedValue":"datasource","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"datasource"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"aws_s3_entity","displayName":"adaptorName","floatValue":0,"intValue":0,"name":"adaptorName","type":1,"value":"aws_s3_entity"},{"attributes":[],"computedValue":"bucket=:bucket\u0026prefix=:prefix","displayName":"optionsString","floatValue":0,"intValue":0,"name":"optionsString","type":1,"value":"bucket=:bucket\u0026prefix=:prefix"},{"attributes":[],"computedValue":"identity=:identity","displayName":"paramsString","floatValue":0,"intValue":0,"name":"paramsString","type":1,"value":"identity=:identity"},{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"static","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"static"},{"attributes":[],"computedValue":"classifieds-ui-prod","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"classifieds-ui-prod"},{"attributes":[],"computedValue":"classifieds-ui-prod","displayName":"testValue","floatValue":0,"intValue":0,"name":"testValue","type":1,"value":"classifieds-ui-prod"},{"attributes":[],"computedValue":"","displayName":"context","floatValue":0,"intValue":0,"name":"context","type":1,"value":""}],"computedValue":"","displayName":"mapping","floatValue":0,"intValue":0,"name":"mapping","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"page","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"page"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"limit","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"limit"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"offset","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"offset"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"searchString","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"searchString"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"3","floatValue":0,"intValue":0,"name":"3","type":2,"value":""}],"computedValue":"","displayName":"flags","floatValue":0,"intValue":0,"name":"flags","type":4,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"static","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"static"},{"attributes":[],"computedValue":"ads/","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"ads/"},{"attributes":[],"computedValue":"ads/","displayName":"testValue","floatValue":0,"intValue":0,"name":"testValue","type":1,"value":"ads/"},{"attributes":[],"computedValue":"","displayName":"context","floatValue":0,"intValue":0,"name":"context","type":1,"value":""}],"computedValue":"","displayName":"mapping","floatValue":0,"intValue":0,"name":"mapping","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"page","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"page"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"limit","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"limit"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"offset","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"offset"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"searchString","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"searchString"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"3","floatValue":0,"intValue":0,"name":"3","type":2,"value":""}],"computedValue":"","displayName":"flags","floatValue":0,"intValue":0,"name":"flags","type":4,"value":""}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""}],"computedValue":"","displayName":"options","floatValue":0,"intValue":0,"name":"options","type":4,"value":""},{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"route","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"route"},{"attributes":[],"computedValue":"arg0","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"arg0"},{"attributes":[],"computedValue":"","displayName":"testValue","floatValue":0,"intValue":0,"name":"testValue","type":1,"value":""},{"attributes":[],"computedValue":"","displayName":"context","floatValue":0,"intValue":0,"name":"context","type":1,"value":""}],"computedValue":"","displayName":"mapping","floatValue":0,"intValue":0,"name":"mapping","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"page","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"page"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"limit","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"limit"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"offset","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"offset"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"searchString","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"searchString"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"3","floatValue":0,"intValue":0,"name":"3","type":2,"value":""}],"computedValue":"","displayName":"flags","floatValue":0,"intValue":0,"name":"flags","type":4,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"params","floatValue":0,"intValue":0,"name":"params","type":4,"value":""}],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[],"computedValue":"","displayName":"params","floatValue":0,"intValue":0,"name":"params","type":4,"value":""},{"attributes":[],"computedValue":"crud_adaptor","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"crud_adaptor"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"undefined","displayName":"query","floatValue":0,"intValue":0,"name":"query","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"trackBy","floatValue":0,"intValue":0,"name":"trackBy","type":0,"value":"undefined"},{"attributes":[],"computedValue":"","displayName":"bindings","floatValue":0,"intValue":0,"name":"bindings","type":4,"value":""}],"computedValue":"","displayName":"renderer","floatValue":0,"intValue":0,"name":"renderer","type":2,"value":""}],"computedValue":"","displayName":"datasource","floatValue":0,"intValue":0,"name":"datasource","type":2,"value":""}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""}],"computedValue":"","displayName":"contexts","floatValue":0,"intValue":0,"name":"contexts","type":4,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"rowSettings","floatValue":0,"intValue":0,"name":"rowSettings","type":4,"value":""},{"attributes":[{"attributes":[],"computedValue":"","displayName":"readUserIds","floatValue":0,"intValue":0,"name":"readUserIds","type":4,"value":""},{"attributes":[],"computedValue":"","displayName":"writeUserIds","floatValue":0,"intValue":0,"name":"writeUserIds","type":4,"value":""},{"attributes":[],"computedValue":"","displayName":"deleteUserIds","floatValue":0,"intValue":0,"name":"deleteUserIds","type":4,"value":""}],"computedValue":"","displayName":"entityPermissions","floatValue":0,"intValue":0,"name":"entityPermissions","type":2,"value":""},{"attributes":[],"computedValue":"undefined","displayName":"id","floatValue":0,"intValue":0,"name":"id","type":0,"value":"undefined"},{"attributes":[],"computedValue":"split","displayName":"layoutType","floatValue":0,"intValue":0,"name":"layoutType","type":1,"value":"split"},{"attributes":[],"computedValue":"form","displayName":"displayType","floatValue":0,"intValue":0,"name":"displayType","type":1,"value":"form"},{"attributes":[],"computedValue":"terms_form2","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"terms_form2"},{"attributes":[],"computedValue":"terms_form2","displayName":"title","floatValue":0,"intValue":0,"name":"title","type":1,"value":"terms_form2"},{"attributes":[],"computedValue":"spearhead","displayName":"site","floatValue":0,"intValue":0,"name":"site","type":1,"value":"spearhead"},{"attributes":[],"computedValue":"undefined","displayName":"userId","floatValue":0,"intValue":0,"name":"userId","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"path","floatValue":0,"intValue":0,"name":"path","type":0,"value":"undefined"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[],"computedValue":"undefined","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":0,"value":"undefined"}],"computedValue":"","displayName":"dataduct","floatValue":0,"intValue":0,"name":"dataduct","type":2,"value":""}],"computedValue":"","displayName":"persistence","floatValue":0,"intValue":0,"name":"persistence","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""}],"computedValue":"","displayName":"layoutSetting","floatValue":0,"intValue":0,"name":"layoutSetting","type":2,"value":""}],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[],"computedValue":"false","displayName":"locked","floatValue":0,"intValue":0,"name":"locked","type":5,"value":"false"},{"attributes":[],"computedValue":"","displayName":"contexts","floatValue":0,"intValue":0,"name":"contexts","type":4,"value":""},{"attributes":[],"computedValue":"terms","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"terms"},{"attributes":[],"computedValue":"terms","displayName":"label","floatValue":0,"intValue":0,"name":"label","type":1,"value":"terms"},{"attributes":[],"computedValue":"panel","displayName":"contentPlugin","floatValue":0,"intValue":0,"name":"contentPlugin","type":1,"value":"panel"},{"attributes":[{"attributes":[],"computedValue":"","displayName":"condition","floatValue":0,"intValue":0,"name":"condition","type":1,"value":""},{"attributes":[],"computedValue":"","displayName":"rules","floatValue":0,"intValue":0,"name":"rules","type":4,"value":""}],"computedValue":"","displayName":"rule","floatValue":0,"intValue":0,"name":"rule","type":2,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"panes","floatValue":0,"intValue":0,"name":"panes","type":4,"value":""},{"attributes":[],"computedValue":"undefined","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"label","floatValue":0,"intValue":0,"name":"label","type":0,"value":"undefined"},{"attributes":[],"computedValue":"form_section","displayName":"stylePlugin","floatValue":0,"intValue":0,"name":"stylePlugin","type":1,"value":"form_section"},{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""}],"computedValue":"","displayName":"columnSetting","floatValue":0,"intValue":0,"name":"columnSetting","type":2,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"panels","floatValue":0,"intValue":0,"name":"panels","type":4,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"terms","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"terms"},{"attributes":[],"computedValue":"data","displayName":"adaptor","floatValue":0,"intValue":0,"name":"adaptor","type":1,"value":"data"},{"attributes":[],"computedValue":"state","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"state"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""}],"computedValue":"","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":4,"value":""}],"computedValue":"","displayName":"data","floatValue":0,"intValue":0,"name":"data","type":2,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"characters","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"characters"},{"attributes":[],"computedValue":"datasource","displayName":"adaptor","floatValue":0,"intValue":0,"name":"adaptor","type":1,"value":"datasource"},{"attributes":[],"computedValue":"datasource","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"datasource"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"[{\"id\":1,\"name\":\"batman\"},{\"id\":2,\"name\":\"superman\"}]","displayName":"data","floatValue":0,"intValue":0,"name":"data","type":1,"value":"[{\"id\":1,\"name\":\"batman\"},{\"id\":2,\"name\":\"superman\"}]"}],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[],"computedValue":"","displayName":"params","floatValue":0,"intValue":0,"name":"params","type":4,"value":""},{"attributes":[],"computedValue":"data","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"data"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"undefined","displayName":"query","floatValue":0,"intValue":0,"name":"query","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"trackBy","floatValue":0,"intValue":0,"name":"trackBy","type":0,"value":"undefined"},{"attributes":[],"computedValue":"","displayName":"bindings","floatValue":0,"intValue":0,"name":"bindings","type":4,"value":""}],"computedValue":"","displayName":"renderer","floatValue":0,"intValue":0,"name":"renderer","type":2,"value":""}],"computedValue":"","displayName":"datasource","floatValue":0,"intValue":0,"name":"datasource","type":2,"value":""}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"ad","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"ad"},{"attributes":[],"computedValue":"datasource","displayName":"adaptor","floatValue":0,"intValue":0,"name":"adaptor","type":1,"value":"datasource"},{"attributes":[],"computedValue":"datasource","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"datasource"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"aws_s3_entity","displayName":"adaptorName","floatValue":0,"intValue":0,"name":"adaptorName","type":1,"value":"aws_s3_entity"},{"attributes":[],"computedValue":"bucket=:bucket\u0026prefix=:prefix","displayName":"optionsString","floatValue":0,"intValue":0,"name":"optionsString","type":1,"value":"bucket=:bucket\u0026prefix=:prefix"},{"attributes":[],"computedValue":"identity=:identity","displayName":"paramsString","floatValue":0,"intValue":0,"name":"paramsString","type":1,"value":"identity=:identity"},{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"static","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"static"},{"attributes":[],"computedValue":"classifieds-ui-prod","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"classifieds-ui-prod"},{"attributes":[],"computedValue":"classifieds-ui-prod","displayName":"testValue","floatValue":0,"intValue":0,"name":"testValue","type":1,"value":"classifieds-ui-prod"},{"attributes":[],"computedValue":"","displayName":"context","floatValue":0,"intValue":0,"name":"context","type":1,"value":""}],"computedValue":"","displayName":"mapping","floatValue":0,"intValue":0,"name":"mapping","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"page","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"page"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"limit","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"limit"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"offset","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"offset"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"searchString","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"searchString"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"3","floatValue":0,"intValue":0,"name":"3","type":2,"value":""}],"computedValue":"","displayName":"flags","floatValue":0,"intValue":0,"name":"flags","type":4,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"static","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"static"},{"attributes":[],"computedValue":"ads/","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"ads/"},{"attributes":[],"computedValue":"ads/","displayName":"testValue","floatValue":0,"intValue":0,"name":"testValue","type":1,"value":"ads/"},{"attributes":[],"computedValue":"","displayName":"context","floatValue":0,"intValue":0,"name":"context","type":1,"value":""}],"computedValue":"","displayName":"mapping","floatValue":0,"intValue":0,"name":"mapping","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"page","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"page"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"limit","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"limit"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"offset","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"offset"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"searchString","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"searchString"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"3","floatValue":0,"intValue":0,"name":"3","type":2,"value":""}],"computedValue":"","displayName":"flags","floatValue":0,"intValue":0,"name":"flags","type":4,"value":""}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""}],"computedValue":"","displayName":"options","floatValue":0,"intValue":0,"name":"options","type":4,"value":""},{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"route","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"route"},{"attributes":[],"computedValue":"arg0","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"arg0"},{"attributes":[],"computedValue":"","displayName":"testValue","floatValue":0,"intValue":0,"name":"testValue","type":1,"value":""},{"attributes":[],"computedValue":"","displayName":"context","floatValue":0,"intValue":0,"name":"context","type":1,"value":""}],"computedValue":"","displayName":"mapping","floatValue":0,"intValue":0,"name":"mapping","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"page","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"page"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"limit","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"limit"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"offset","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"offset"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"searchString","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"searchString"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"3","floatValue":0,"intValue":0,"name":"3","type":2,"value":""}],"computedValue":"","displayName":"flags","floatValue":0,"intValue":0,"name":"flags","type":4,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"params","floatValue":0,"intValue":0,"name":"params","type":4,"value":""}],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[],"computedValue":"","displayName":"params","floatValue":0,"intValue":0,"name":"params","type":4,"value":""},{"attributes":[],"computedValue":"crud_adaptor","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"crud_adaptor"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"undefined","displayName":"query","floatValue":0,"intValue":0,"name":"query","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"trackBy","floatValue":0,"intValue":0,"name":"trackBy","type":0,"value":"undefined"},{"attributes":[],"computedValue":"","displayName":"bindings","floatValue":0,"intValue":0,"name":"bindings","type":4,"value":""}],"computedValue":"","displayName":"renderer","floatValue":0,"intValue":0,"name":"renderer","type":2,"value":""}],"computedValue":"","displayName":"datasource","floatValue":0,"intValue":0,"name":"datasource","type":2,"value":""}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""}],"computedValue":"","displayName":"contexts","floatValue":0,"intValue":0,"name":"contexts","type":4,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"rowSettings","floatValue":0,"intValue":0,"name":"rowSettings","type":4,"value":""},{"attributes":[{"attributes":[],"computedValue":"","displayName":"readUserIds","floatValue":0,"intValue":0,"name":"readUserIds","type":4,"value":""},{"attributes":[],"computedValue":"","displayName":"writeUserIds","floatValue":0,"intValue":0,"name":"writeUserIds","type":4,"value":""},{"attributes":[],"computedValue":"","displayName":"deleteUserIds","floatValue":0,"intValue":0,"name":"deleteUserIds","type":4,"value":""}],"computedValue":"","displayName":"entityPermissions","floatValue":0,"intValue":0,"name":"entityPermissions","type":2,"value":""},{"attributes":[],"computedValue":"undefined","displayName":"id","floatValue":0,"intValue":0,"name":"id","type":0,"value":"undefined"},{"attributes":[],"computedValue":"split","displayName":"layoutType","floatValue":0,"intValue":0,"name":"layoutType","type":1,"value":"split"},{"attributes":[],"computedValue":"form","displayName":"displayType","floatValue":0,"intValue":0,"name":"displayType","type":1,"value":"form"},{"attributes":[],"computedValue":"undefined","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"title","floatValue":0,"intValue":0,"name":"title","type":0,"value":"undefined"},{"attributes":[],"computedValue":"spearhead","displayName":"site","floatValue":0,"intValue":0,"name":"site","type":1,"value":"spearhead"},{"attributes":[],"computedValue":"undefined","displayName":"userId","floatValue":0,"intValue":0,"name":"userId","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"path","floatValue":0,"intValue":0,"name":"path","type":0,"value":"undefined"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[],"computedValue":"undefined","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":0,"value":"undefined"}],"computedValue":"","displayName":"dataduct","floatValue":0,"intValue":0,"name":"dataduct","type":2,"value":""}],"computedValue":"","displayName":"persistence","floatValue":0,"intValue":0,"name":"persistence","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""}],"computedValue":"","displayName":"layoutSetting","floatValue":0,"intValue":0,"name":"layoutSetting","type":2,"value":""}],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[],"computedValue":"false","displayName":"locked","floatValue":0,"intValue":0,"name":"locked","type":5,"value":"false"},{"attributes":[],"computedValue":"","displayName":"contexts","floatValue":0,"intValue":0,"name":"contexts","type":4,"value":""},{"attributes":[],"computedValue":"","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":""},{"attributes":[],"computedValue":"","displayName":"label","floatValue":0,"intValue":0,"name":"label","type":1,"value":""},{"attributes":[],"computedValue":"panel","displayName":"contentPlugin","floatValue":0,"intValue":0,"name":"contentPlugin","type":1,"value":"panel"},{"attributes":[{"attributes":[],"computedValue":"","displayName":"condition","floatValue":0,"intValue":0,"name":"condition","type":1,"value":""},{"attributes":[],"computedValue":"","displayName":"rules","floatValue":0,"intValue":0,"name":"rules","type":4,"value":""}],"computedValue":"","displayName":"rule","floatValue":0,"intValue":0,"name":"rule","type":2,"value":""}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""}],"computedValue":"","displayName":"panes","floatValue":0,"intValue":0,"name":"panes","type":4,"value":""},{"attributes":[],"computedValue":"undefined","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"label","floatValue":0,"intValue":0,"name":"label","type":0,"value":"undefined"},{"attributes":[],"computedValue":"","displayName":"stylePlugin","floatValue":0,"intValue":0,"name":"stylePlugin","type":1,"value":""},{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""}],"computedValue":"","displayName":"columnSetting","floatValue":0,"intValue":0,"name":"columnSetting","type":2,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"panels","floatValue":0,"intValue":0,"name":"panels","type":4,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"terms","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"terms"},{"attributes":[],"computedValue":"data","displayName":"adaptor","floatValue":0,"intValue":0,"name":"adaptor","type":1,"value":"data"},{"attributes":[],"computedValue":"state","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"state"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""}],"computedValue":"","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":4,"value":""}],"computedValue":"","displayName":"data","floatValue":0,"intValue":0,"name":"data","type":2,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"characters","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"characters"},{"attributes":[],"computedValue":"datasource","displayName":"adaptor","floatValue":0,"intValue":0,"name":"adaptor","type":1,"value":"datasource"},{"attributes":[],"computedValue":"datasource","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"datasource"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"[{\"id\":1,\"name\":\"batman\"},{\"id\":2,\"name\":\"superman\"}]","displayName":"data","floatValue":0,"intValue":0,"name":"data","type":1,"value":"[{\"id\":1,\"name\":\"batman\"},{\"id\":2,\"name\":\"superman\"}]"}],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[],"computedValue":"","displayName":"params","floatValue":0,"intValue":0,"name":"params","type":4,"value":""},{"attributes":[],"computedValue":"data","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"data"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"undefined","displayName":"query","floatValue":0,"intValue":0,"name":"query","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"trackBy","floatValue":0,"intValue":0,"name":"trackBy","type":0,"value":"undefined"},{"attributes":[],"computedValue":"","displayName":"bindings","floatValue":0,"intValue":0,"name":"bindings","type":4,"value":""}],"computedValue":"","displayName":"renderer","floatValue":0,"intValue":0,"name":"renderer","type":2,"value":""}],"computedValue":"","displayName":"datasource","floatValue":0,"intValue":0,"name":"datasource","type":2,"value":""}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"ad","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"ad"},{"attributes":[],"computedValue":"datasource","displayName":"adaptor","floatValue":0,"intValue":0,"name":"adaptor","type":1,"value":"datasource"},{"attributes":[],"computedValue":"datasource","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"datasource"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"aws_s3_entity","displayName":"adaptorName","floatValue":0,"intValue":0,"name":"adaptorName","type":1,"value":"aws_s3_entity"},{"attributes":[],"computedValue":"bucket=:bucket\u0026prefix=:prefix","displayName":"optionsString","floatValue":0,"intValue":0,"name":"optionsString","type":1,"value":"bucket=:bucket\u0026prefix=:prefix"},{"attributes":[],"computedValue":"identity=:identity","displayName":"paramsString","floatValue":0,"intValue":0,"name":"paramsString","type":1,"value":"identity=:identity"},{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"static","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"static"},{"attributes":[],"computedValue":"classifieds-ui-prod","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"classifieds-ui-prod"},{"attributes":[],"computedValue":"classifieds-ui-prod","displayName":"testValue","floatValue":0,"intValue":0,"name":"testValue","type":1,"value":"classifieds-ui-prod"},{"attributes":[],"computedValue":"","displayName":"context","floatValue":0,"intValue":0,"name":"context","type":1,"value":""}],"computedValue":"","displayName":"mapping","floatValue":0,"intValue":0,"name":"mapping","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"page","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"page"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"limit","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"limit"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"offset","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"offset"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"searchString","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"searchString"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"3","floatValue":0,"intValue":0,"name":"3","type":2,"value":""}],"computedValue":"","displayName":"flags","floatValue":0,"intValue":0,"name":"flags","type":4,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"static","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"static"},{"attributes":[],"computedValue":"ads/","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"ads/"},{"attributes":[],"computedValue":"ads/","displayName":"testValue","floatValue":0,"intValue":0,"name":"testValue","type":1,"value":"ads/"},{"attributes":[],"computedValue":"","displayName":"context","floatValue":0,"intValue":0,"name":"context","type":1,"value":""}],"computedValue":"","displayName":"mapping","floatValue":0,"intValue":0,"name":"mapping","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"page","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"page"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"limit","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"limit"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"offset","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"offset"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"searchString","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"searchString"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"3","floatValue":0,"intValue":0,"name":"3","type":2,"value":""}],"computedValue":"","displayName":"flags","floatValue":0,"intValue":0,"name":"flags","type":4,"value":""}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""}],"computedValue":"","displayName":"options","floatValue":0,"intValue":0,"name":"options","type":4,"value":""},{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"route","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"route"},{"attributes":[],"computedValue":"arg0","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"arg0"},{"attributes":[],"computedValue":"","displayName":"testValue","floatValue":0,"intValue":0,"name":"testValue","type":1,"value":""},{"attributes":[],"computedValue":"","displayName":"context","floatValue":0,"intValue":0,"name":"context","type":1,"value":""}],"computedValue":"","displayName":"mapping","floatValue":0,"intValue":0,"name":"mapping","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"page","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"page"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"limit","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"limit"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"offset","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"offset"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"searchString","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"searchString"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"3","floatValue":0,"intValue":0,"name":"3","type":2,"value":""}],"computedValue":"","displayName":"flags","floatValue":0,"intValue":0,"name":"flags","type":4,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"params","floatValue":0,"intValue":0,"name":"params","type":4,"value":""}],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[],"computedValue":"","displayName":"params","floatValue":0,"intValue":0,"name":"params","type":4,"value":""},{"attributes":[],"computedValue":"crud_adaptor","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"crud_adaptor"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"undefined","displayName":"query","floatValue":0,"intValue":0,"name":"query","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"trackBy","floatValue":0,"intValue":0,"name":"trackBy","type":0,"value":"undefined"},{"attributes":[],"computedValue":"","displayName":"bindings","floatValue":0,"intValue":0,"name":"bindings","type":4,"value":""}],"computedValue":"","displayName":"renderer","floatValue":0,"intValue":0,"name":"renderer","type":2,"value":""}],"computedValue":"","displayName":"datasource","floatValue":0,"intValue":0,"name":"datasource","type":2,"value":""}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""}],"computedValue":"","displayName":"contexts","floatValue":0,"intValue":0,"name":"contexts","type":4,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"rowSettings","floatValue":0,"intValue":0,"name":"rowSettings","type":4,"value":""},{"attributes":[{"attributes":[],"computedValue":"","displayName":"readUserIds","floatValue":0,"intValue":0,"name":"readUserIds","type":4,"value":""},{"attributes":[],"computedValue":"","displayName":"writeUserIds","floatValue":0,"intValue":0,"name":"writeUserIds","type":4,"value":""},{"attributes":[],"computedValue":"","displayName":"deleteUserIds","floatValue":0,"intValue":0,"name":"deleteUserIds","type":4,"value":""}],"computedValue":"","displayName":"entityPermissions","floatValue":0,"intValue":0,"name":"entityPermissions","type":2,"value":""},{"attributes":[],"computedValue":"undefined","displayName":"id","floatValue":0,"intValue":0,"name":"id","type":0,"value":"undefined"},{"attributes":[],"computedValue":"split","displayName":"layoutType","floatValue":0,"intValue":0,"name":"layoutType","type":1,"value":"split"},{"attributes":[],"computedValue":"form","displayName":"displayType","floatValue":0,"intValue":0,"name":"displayType","type":1,"value":"form"},{"attributes":[],"computedValue":"terms_form","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"terms_form"},{"attributes":[],"computedValue":"terms_form","displayName":"title","floatValue":0,"intValue":0,"name":"title","type":1,"value":"terms_form"},{"attributes":[],"computedValue":"spearhead","displayName":"site","floatValue":0,"intValue":0,"name":"site","type":1,"value":"spearhead"},{"attributes":[],"computedValue":"undefined","displayName":"userId","floatValue":0,"intValue":0,"name":"userId","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"path","floatValue":0,"intValue":0,"name":"path","type":0,"value":"undefined"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[],"computedValue":"undefined","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":0,"value":"undefined"}],"computedValue":"","displayName":"dataduct","floatValue":0,"intValue":0,"name":"dataduct","type":2,"value":""}],"computedValue":"","displayName":"persistence","floatValue":0,"intValue":0,"name":"persistence","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""}],"computedValue":"","displayName":"layoutSetting","floatValue":0,"intValue":0,"name":"layoutSetting","type":2,"value":""}],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[],"computedValue":"false","displayName":"locked","floatValue":0,"intValue":0,"name":"locked","type":5,"value":"false"},{"attributes":[],"computedValue":"","displayName":"contexts","floatValue":0,"intValue":0,"name":"contexts","type":4,"value":""},{"attributes":[],"computedValue":"terms","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"terms"},{"attributes":[],"computedValue":"terms","displayName":"label","floatValue":0,"intValue":0,"name":"label","type":1,"value":"terms"},{"attributes":[],"computedValue":"panel","displayName":"contentPlugin","floatValue":0,"intValue":0,"name":"contentPlugin","type":1,"value":"panel"},{"attributes":[{"attributes":[],"computedValue":"","displayName":"condition","floatValue":0,"intValue":0,"name":"condition","type":1,"value":""},{"attributes":[],"computedValue":"","displayName":"rules","floatValue":0,"intValue":0,"name":"rules","type":4,"value":""}],"computedValue":"","displayName":"rule","floatValue":0,"intValue":0,"name":"rule","type":2,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"panes","floatValue":0,"intValue":0,"name":"panes","type":4,"value":""},{"attributes":[],"computedValue":"undefined","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"label","floatValue":0,"intValue":0,"name":"label","type":0,"value":"undefined"},{"attributes":[],"computedValue":"form_section","displayName":"stylePlugin","floatValue":0,"intValue":0,"name":"stylePlugin","type":1,"value":"form_section"},{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""}],"computedValue":"","displayName":"columnSetting","floatValue":0,"intValue":0,"name":"columnSetting","type":2,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"panels","floatValue":0,"intValue":0,"name":"panels","type":4,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"terms","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"terms"},{"attributes":[],"computedValue":"data","displayName":"adaptor","floatValue":0,"intValue":0,"name":"adaptor","type":1,"value":"data"},{"attributes":[],"computedValue":"state","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"state"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""}],"computedValue":"","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":4,"value":""}],"computedValue":"","displayName":"data","floatValue":0,"intValue":0,"name":"data","type":2,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"characters","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"characters"},{"attributes":[],"computedValue":"datasource","displayName":"adaptor","floatValue":0,"intValue":0,"name":"adaptor","type":1,"value":"datasource"},{"attributes":[],"computedValue":"datasource","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"datasource"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"[{\"id\":1,\"name\":\"batman\"},{\"id\":2,\"name\":\"superman\"}]","displayName":"data","floatValue":0,"intValue":0,"name":"data","type":1,"value":"[{\"id\":1,\"name\":\"batman\"},{\"id\":2,\"name\":\"superman\"}]"}],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[],"computedValue":"","displayName":"params","floatValue":0,"intValue":0,"name":"params","type":4,"value":""},{"attributes":[],"computedValue":"data","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"data"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"undefined","displayName":"query","floatValue":0,"intValue":0,"name":"query","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"trackBy","floatValue":0,"intValue":0,"name":"trackBy","type":0,"value":"undefined"},{"attributes":[],"computedValue":"","displayName":"bindings","floatValue":0,"intValue":0,"name":"bindings","type":4,"value":""}],"computedValue":"","displayName":"renderer","floatValue":0,"intValue":0,"name":"renderer","type":2,"value":""}],"computedValue":"","displayName":"datasource","floatValue":0,"intValue":0,"name":"datasource","type":2,"value":""}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"ad","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"ad"},{"attributes":[],"computedValue":"datasource","displayName":"adaptor","floatValue":0,"intValue":0,"name":"adaptor","type":1,"value":"datasource"},{"attributes":[],"computedValue":"datasource","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"datasource"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"aws_s3_entity","displayName":"adaptorName","floatValue":0,"intValue":0,"name":"adaptorName","type":1,"value":"aws_s3_entity"},{"attributes":[],"computedValue":"bucket=:bucket\u0026prefix=:prefix","displayName":"optionsString","floatValue":0,"intValue":0,"name":"optionsString","type":1,"value":"bucket=:bucket\u0026prefix=:prefix"},{"attributes":[],"computedValue":"identity=:identity","displayName":"paramsString","floatValue":0,"intValue":0,"name":"paramsString","type":1,"value":"identity=:identity"},{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"static","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"static"},{"attributes":[],"computedValue":"classifieds-ui-prod","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"classifieds-ui-prod"},{"attributes":[],"computedValue":"classifieds-ui-prod","displayName":"testValue","floatValue":0,"intValue":0,"name":"testValue","type":1,"value":"classifieds-ui-prod"},{"attributes":[],"computedValue":"","displayName":"context","floatValue":0,"intValue":0,"name":"context","type":1,"value":""}],"computedValue":"","displayName":"mapping","floatValue":0,"intValue":0,"name":"mapping","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"page","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"page"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"limit","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"limit"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"offset","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"offset"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"searchString","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"searchString"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"3","floatValue":0,"intValue":0,"name":"3","type":2,"value":""}],"computedValue":"","displayName":"flags","floatValue":0,"intValue":0,"name":"flags","type":4,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"static","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"static"},{"attributes":[],"computedValue":"ads/","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"ads/"},{"attributes":[],"computedValue":"ads/","displayName":"testValue","floatValue":0,"intValue":0,"name":"testValue","type":1,"value":"ads/"},{"attributes":[],"computedValue":"","displayName":"context","floatValue":0,"intValue":0,"name":"context","type":1,"value":""}],"computedValue":"","displayName":"mapping","floatValue":0,"intValue":0,"name":"mapping","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"page","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"page"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"limit","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"limit"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"offset","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"offset"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"searchString","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"searchString"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"3","floatValue":0,"intValue":0,"name":"3","type":2,"value":""}],"computedValue":"","displayName":"flags","floatValue":0,"intValue":0,"name":"flags","type":4,"value":""}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""}],"computedValue":"","displayName":"options","floatValue":0,"intValue":0,"name":"options","type":4,"value":""},{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"route","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"route"},{"attributes":[],"computedValue":"arg0","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"arg0"},{"attributes":[],"computedValue":"","displayName":"testValue","floatValue":0,"intValue":0,"name":"testValue","type":1,"value":""},{"attributes":[],"computedValue":"","displayName":"context","floatValue":0,"intValue":0,"name":"context","type":1,"value":""}],"computedValue":"","displayName":"mapping","floatValue":0,"intValue":0,"name":"mapping","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"page","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"page"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"limit","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"limit"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"offset","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"offset"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"searchString","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"searchString"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"3","floatValue":0,"intValue":0,"name":"3","type":2,"value":""}],"computedValue":"","displayName":"flags","floatValue":0,"intValue":0,"name":"flags","type":4,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"params","floatValue":0,"intValue":0,"name":"params","type":4,"value":""}],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[],"computedValue":"","displayName":"params","floatValue":0,"intValue":0,"name":"params","type":4,"value":""},{"attributes":[],"computedValue":"crud_adaptor","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":1,"value":"crud_adaptor"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"undefined","displayName":"query","floatValue":0,"intValue":0,"name":"query","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"trackBy","floatValue":0,"intValue":0,"name":"trackBy","type":0,"value":"undefined"},{"attributes":[],"computedValue":"","displayName":"bindings","floatValue":0,"intValue":0,"name":"bindings","type":4,"value":""}],"computedValue":"","displayName":"renderer","floatValue":0,"intValue":0,"name":"renderer","type":2,"value":""}],"computedValue":"","displayName":"datasource","floatValue":0,"intValue":0,"name":"datasource","type":2,"value":""}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""}],"computedValue":"","displayName":"contexts","floatValue":0,"intValue":0,"name":"contexts","type":4,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""}],"computedValue":"","displayName":"rowSettings","floatValue":0,"intValue":0,"name":"rowSettings","type":4,"value":""},{"attributes":[{"attributes":[],"computedValue":"","displayName":"readUserIds","floatValue":0,"intValue":0,"name":"readUserIds","type":4,"value":""},{"attributes":[],"computedValue":"","displayName":"writeUserIds","floatValue":0,"intValue":0,"name":"writeUserIds","type":4,"value":""},{"attributes":[],"computedValue":"","displayName":"deleteUserIds","floatValue":0,"intValue":0,"name":"deleteUserIds","type":4,"value":""}],"computedValue":"","displayName":"entityPermissions","floatValue":0,"intValue":0,"name":"entityPermissions","type":2,"value":""},{"attributes":[],"computedValue":"undefined","displayName":"id","floatValue":0,"intValue":0,"name":"id","type":0,"value":"undefined"},{"attributes":[],"computedValue":"split","displayName":"layoutType","floatValue":0,"intValue":0,"name":"layoutType","type":1,"value":"split"},{"attributes":[],"computedValue":"form","displayName":"displayType","floatValue":0,"intValue":0,"name":"displayType","type":1,"value":"form"},{"attributes":[],"computedValue":"undefined","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"title","floatValue":0,"intValue":0,"name":"title","type":0,"value":"undefined"},{"attributes":[],"computedValue":"spearhead","displayName":"site","floatValue":0,"intValue":0,"name":"site","type":1,"value":"spearhead"},{"attributes":[],"computedValue":"undefined","displayName":"userId","floatValue":0,"intValue":0,"name":"userId","type":0,"value":"undefined"},{"attributes":[],"computedValue":"undefined","displayName":"path","floatValue":0,"intValue":0,"name":"path","type":0,"value":"undefined"},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""},{"attributes":[],"computedValue":"undefined","displayName":"plugin","floatValue":0,"intValue":0,"name":"plugin","type":0,"value":"undefined"}],"computedValue":"","displayName":"dataduct","floatValue":0,"intValue":0,"name":"dataduct","type":2,"value":""}],"computedValue":"","displayName":"persistence","floatValue":0,"intValue":0,"name":"persistence","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"","displayName":"settings","floatValue":0,"intValue":0,"name":"settings","type":2,"value":""}],"computedValue":"","displayName":"layoutSetting","floatValue":0,"intValue":0,"name":"layoutSetting","type":2,"value":""}]},{"contentPlugin":"form_hidden","label":"id","linkedPageId":"","locked":false,"name":"id","rule":{"condition":"","field":"","operator":"","rules":[],"value":""},"settings":[{"attributes":[],"computedValue":"[ad.results.0.id]","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"[ad.results.0.id]"},{"attributes":[{"attributes":[],"computedValue":"pane","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"pane"},{"attributes":[],"computedValue":"","displayName":"id","floatValue":0,"intValue":0,"name":"id","type":1,"value":""}],"computedValue":"","displayName":"datasourceBinding","floatValue":0,"intValue":0,"name":"datasourceBinding","type":2,"value":""}]}],"settings":[],"stylePlugin":""}],"path":"/native_forms_rebuild_v1","persistence":{"dataduct":{"plugin":"crud","settings":[{"attributes":[],"computedValue":"aws_s3_entity","displayName":"adaptorName","floatValue":0,"intValue":0,"name":"adaptorName","type":1,"value":"aws_s3_entity"},{"attributes":[],"computedValue":"bucket=:bucket\u0026prefix=:prefix","displayName":"optionsString","floatValue":0,"intValue":0,"name":"optionsString","type":1,"value":"bucket=:bucket\u0026prefix=:prefix"},{"attributes":[],"computedValue":"","displayName":"paramsString","floatValue":0,"intValue":0,"name":"paramsString","type":1,"value":""},{"attributes":[{"attributes":[{"attributes":[{"attributes":[],"computedValue":"static","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"static"},{"attributes":[],"computedValue":"classifieds-ui-prod","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"classifieds-ui-prod"},{"attributes":[],"computedValue":"classifieds-ui-prod","displayName":"testValue","floatValue":0,"intValue":0,"name":"testValue","type":1,"value":"classifieds-ui-prod"},{"attributes":[],"computedValue":"","displayName":"context","floatValue":0,"intValue":0,"name":"context","type":1,"value":""}],"computedValue":"","displayName":"mapping","floatValue":0,"intValue":0,"name":"mapping","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"page","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"page"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"limit","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"limit"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"offset","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"offset"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"searchString","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"searchString"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"3","floatValue":0,"intValue":0,"name":"3","type":2,"value":""}],"computedValue":"","displayName":"flags","floatValue":0,"intValue":0,"name":"flags","type":4,"value":""}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"static","displayName":"type","floatValue":0,"intValue":0,"name":"type","type":1,"value":"static"},{"attributes":[],"computedValue":"ads/","displayName":"value","floatValue":0,"intValue":0,"name":"value","type":1,"value":"ads/"},{"attributes":[],"computedValue":"ads/","displayName":"testValue","floatValue":0,"intValue":0,"name":"testValue","type":1,"value":"ads/"},{"attributes":[],"computedValue":"","displayName":"context","floatValue":0,"intValue":0,"name":"context","type":1,"value":""}],"computedValue":"","displayName":"mapping","floatValue":0,"intValue":0,"name":"mapping","type":2,"value":""},{"attributes":[{"attributes":[{"attributes":[],"computedValue":"page","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"page"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"0","floatValue":0,"intValue":0,"name":"0","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"limit","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"limit"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"offset","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"offset"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"2","floatValue":0,"intValue":0,"name":"2","type":2,"value":""},{"attributes":[{"attributes":[],"computedValue":"searchString","displayName":"name","floatValue":0,"intValue":0,"name":"name","type":1,"value":"searchString"},{"attributes":[],"computedValue":"false","displayName":"enabled","floatValue":0,"intValue":0,"name":"enabled","type":5,"value":"false"}],"computedValue":"","displayName":"3","floatValue":0,"intValue":0,"name":"3","type":2,"value":""}],"computedValue":"","displayName":"flags","floatValue":0,"intValue":0,"name":"flags","type":4,"value":""}],"computedValue":"","displayName":"1","floatValue":0,"intValue":0,"name":"1","type":2,"value":""}],"computedValue":"","displayName":"options","floatValue":0,"intValue":0,"name":"options","type":4,"value":""},{"attributes":[],"computedValue":"","displayName":"params","floatValue":0,"intValue":0,"name":"params","type":4,"value":""}]}},"rowSettings":[{"settings":[]}],"site":"spearhead","title":"native_forms_rebuild_v1","userId":"b7a9bac5-5fef-4aa6-bf12-d536c156e453"} +, +{"contexts":[],"cssFile":"","derivativeId":"","displayType":"page","entityPermissions":{"deleteUserIds":["e36b42fe-b09c-4514-a519-e178bb52957e"],"readUserIds":["*"],"writeUserIds":["e36b42fe-b09c-4514-a519-e178bb52957e"]},"gridItems":[{"cols":100,"rows":1,"weight":0,"x":0,"y":0}],"id":"bd29f806-3b4b-4b79-9dac-7a5ae221f432","layoutSetting":{"settings":[]},"layoutType":"split","name":"hello_world","panels":[{"columnSetting":{"settings":[]},"label":"","name":"","panes":[{"contentPlugin":"snippet","label":"","linkedPageId":"","locked":false,"name":"","rule":{"condition":"","field":"","operator":"","rules":null,"value":""},"settings":[{"attributes":[],"computedValue":"text/html","displayName":"Content Type","floatValue":0,"intValue":0,"name":"contentType","type":1,"value":"text/html"},{"attributes":[],"computedValue":"Hello World","displayName":"Content","floatValue":0,"intValue":0,"name":"content","type":1,"value":"Hello World"},{"attributes":[],"computedValue":"","displayName":"jsScript","floatValue":0,"intValue":0,"name":"jsScript","type":1,"value":""}]}],"settings":[],"stylePlugin":""}],"path":"/hello-world","persistence":{"dataduct":{"plugin":"","settings":[]}},"rowSettings":[{"settings":[]}],"site":"spearhead","title":"Hello World","userId":"e36b42fe-b09c-4514-a519-e178bb52957e"} +, +{ + "contexts": [ + { + "adaptor": "data", + "data": { + "exposedModule": "./JsonChartModule", + "moduleName": "JsonChartModule", + "remoteEntry": "http://localhost:3000/remoteEntry.js" + }, + "name": "chart_module", + "plugin": "module" + } + ], + "displayType": "page", + "entityPermissions": { + "deleteUserIds": [], + "readUserIds": [ + "*" + ], + "writeUserIds": [] + }, + "gridItems": [], + "id": "c91aa514-0ad8-4797-a516-cce997c877d9", + "interactions": { + "interactions": { + "listeners": [] + } + }, + "layoutSetting": { + "settings": [] + }, + "layoutType": "gridless", + "name": "json_chart_example_1", + "panels": [ + { + "columnSetting": { + "settings": [] + }, + "panes": [ + { + "contentPlugin": "amcharts5_json_chart", + "contexts": [], + "label": "", + "locked": false, + "name": "", + "rule": { + "condition": "", + "rules": [] + }, + "settings": [ + { + "attributes": [], + "computedValue": "{\n \"refs\": {\n \"data\": [\n {\n \"date\": 1652425200000,\n \"value\": 92\n },\n {\n \"date\": 1652511600000,\n \"value\": 95\n },\n {\n \"date\": 1652598000000,\n \"value\": 100\n },\n {\n \"date\": 1652684400000,\n \"value\": 100\n },\n {\n \"date\": 1652770800000,\n \"value\": 96\n },\n {\n \"date\": 1652857200000,\n \"value\": 97\n },\n {\n \"date\": 1652943600000,\n \"value\": 94\n },\n {\n \"date\": 1653030000000,\n \"value\": 89\n },\n {\n \"date\": 1653116400000,\n \"value\": 89\n },\n {\n \"date\": 1653202800000,\n \"value\": 87\n },\n {\n \"date\": 1653289200000,\n \"value\": 84\n },\n {\n \"date\": 1653375600000,\n \"value\": 81\n },\n {\n \"date\": 1653462000000,\n \"value\": 85\n },\n {\n \"date\": 1653548400000,\n \"value\": 89\n },\n {\n \"date\": 1653634800000,\n \"value\": 86\n },\n {\n \"date\": 1653721200000,\n \"value\": 90\n },\n {\n \"date\": 1653807600000,\n \"value\": 93\n },\n {\n \"date\": 1653894000000,\n \"value\": 94\n },\n {\n \"date\": 1653980400000,\n \"value\": 94\n },\n {\n \"date\": 1654066800000,\n \"value\": 96\n }\n ],\n \"xAxis\": {\n \"type\": \"DateAxis\",\n \"settings\": {\n \"maxDeviation\": 0.5,\n \"baseInterval\": {\n \"timeUnit\": \"day\",\n \"count\": 1\n },\n \"renderer\": {\n \"type\": \"AxisRendererX\",\n \"settings\": {\n \"pan\": \"zoom\"\n }\n },\n \"tooltip\": {\n \"type\": \"Tooltip\"\n }\n }\n },\n \"yAxis\": {\n \"type\": \"ValueAxis\",\n \"settings\": {\n \"maxDeviation\": 1,\n \"renderer\": {\n \"type\": \"AxisRendererY\",\n \"settings\": {\n \"pan\": \"zoom\"\n }\n }\n }\n }\n },\n \"type\": \"XYChart\",\n \"settings\": {\n \"panX\": false,\n \"panY\": false,\n \"wheelX\": \"panX\",\n \"wheelY\": \"zoomX\",\n \"cursor\": {\n \"type\": \"XYCursor\",\n \"settings\": {\n \"behavior\": \"zoomX\"\n },\n \"properties\": {\n \"lineY\": {\n \"settings\": {\n \"visible\": false\n }\n }\n }\n },\n \"scrollbarX\": {\n \"type\": \"Scrollbar\",\n \"settings\": {\n \"orientation\": \"horizontal\"\n }\n }\n },\n \"properties\": {\n \"xAxes\": [\n \"#xAxis\"\n ],\n \"yAxes\": [\n \"#yAxis\"\n ],\n \"series\": [\n {\n \"type\": \"LineSeries\",\n \"settings\": {\n \"name\": \"Series\",\n \"xAxis\": \"#xAxis\",\n \"yAxis\": \"#yAxis\",\n \"valueYField\": \"value\",\n \"valueXField\": \"date\",\n \"tooltip\": {\n \"type\": \"Tooltip\",\n \"settings\": {\n \"labelText\": \"{valueX}: {valueY}\"\n }\n }\n },\n \"properties\": {\n \"data\": \"#data\"\n }\n }\n ]\n }\n}", + "displayName": "JSON", + "name": "json", + "type": 1, + "value": "{\n \"refs\": {\n \"data\": [\n {\n \"date\": 1652425200000,\n \"value\": 92\n },\n {\n \"date\": 1652511600000,\n \"value\": 95\n },\n {\n \"date\": 1652598000000,\n \"value\": 100\n },\n {\n \"date\": 1652684400000,\n \"value\": 100\n },\n {\n \"date\": 1652770800000,\n \"value\": 96\n },\n {\n \"date\": 1652857200000,\n \"value\": 97\n },\n {\n \"date\": 1652943600000,\n \"value\": 94\n },\n {\n \"date\": 1653030000000,\n \"value\": 89\n },\n {\n \"date\": 1653116400000,\n \"value\": 89\n },\n {\n \"date\": 1653202800000,\n \"value\": 87\n },\n {\n \"date\": 1653289200000,\n \"value\": 84\n },\n {\n \"date\": 1653375600000,\n \"value\": 81\n },\n {\n \"date\": 1653462000000,\n \"value\": 85\n },\n {\n \"date\": 1653548400000,\n \"value\": 89\n },\n {\n \"date\": 1653634800000,\n \"value\": 86\n },\n {\n \"date\": 1653721200000,\n \"value\": 90\n },\n {\n \"date\": 1653807600000,\n \"value\": 93\n },\n {\n \"date\": 1653894000000,\n \"value\": 94\n },\n {\n \"date\": 1653980400000,\n \"value\": 94\n },\n {\n \"date\": 1654066800000,\n \"value\": 96\n }\n ],\n \"xAxis\": {\n \"type\": \"DateAxis\",\n \"settings\": {\n \"maxDeviation\": 0.5,\n \"baseInterval\": {\n \"timeUnit\": \"day\",\n \"count\": 1\n },\n \"renderer\": {\n \"type\": \"AxisRendererX\",\n \"settings\": {\n \"pan\": \"zoom\"\n }\n },\n \"tooltip\": {\n \"type\": \"Tooltip\"\n }\n }\n },\n \"yAxis\": {\n \"type\": \"ValueAxis\",\n \"settings\": {\n \"maxDeviation\": 1,\n \"renderer\": {\n \"type\": \"AxisRendererY\",\n \"settings\": {\n \"pan\": \"zoom\"\n }\n }\n }\n }\n },\n \"type\": \"XYChart\",\n \"settings\": {\n \"panX\": false,\n \"panY\": false,\n \"wheelX\": \"panX\",\n \"wheelY\": \"zoomX\",\n \"cursor\": {\n \"type\": \"XYCursor\",\n \"settings\": {\n \"behavior\": \"zoomX\"\n },\n \"properties\": {\n \"lineY\": {\n \"settings\": {\n \"visible\": false\n }\n }\n }\n },\n \"scrollbarX\": {\n \"type\": \"Scrollbar\",\n \"settings\": {\n \"orientation\": \"horizontal\"\n }\n }\n },\n \"properties\": {\n \"xAxes\": [\n \"#xAxis\"\n ],\n \"yAxes\": [\n \"#yAxis\"\n ],\n \"series\": [\n {\n \"type\": \"LineSeries\",\n \"settings\": {\n \"name\": \"Series\",\n \"xAxis\": \"#xAxis\",\n \"yAxis\": \"#yAxis\",\n \"valueYField\": \"value\",\n \"valueXField\": \"date\",\n \"tooltip\": {\n \"type\": \"Tooltip\",\n \"settings\": {\n \"labelText\": \"{valueX}: {valueY}\"\n }\n }\n },\n \"properties\": {\n \"data\": \"#data\"\n }\n }\n ]\n }\n}" + } + ] + } + ], + "settings": [], + "stylePlugin": "" + } + ], + "path": "/json-chart-example-1", + "persistence": { + "dataduct": { + "settings": [] + } + }, + "rowSettings": [ + { + "settings": [] + } + ], + "site": "spearhead", + "title": "Json Chart Example 1", + "userId": "b7a9bac5-5fef-4aa6-bf12-d536c156e453" +} +, +{ + "contexts": [ + { + "adaptor": "data", + "data": { + "exposedModule": "./JsonChartModule", + "moduleName": "JsonChartModule", + "remoteEntry": "http://localhost:3000/remoteEntry.js" + }, + "name": "chart_module", + "plugin": "module" + } + ], + "displayType": "page", + "entityPermissions": { + "deleteUserIds": [], + "readUserIds": [ + "*" + ], + "writeUserIds": [] + }, + "gridItems": [], + "id": "d75c2267-0eb1-4238-ad0e-7d4b0d1d4801", + "interactions": { + "interactions": { + "listeners": [] + } + }, + "layoutSetting": { + "settings": [] + }, + "layoutType": "gridless", + "name": "plugin-amcharts-refs-test-1", + "panels": [ + { + "columnSetting": { + "settings": [] + }, + "panes": [ + { + "contentPlugin": "amcharts5_json_chart", + "contexts": [], + "label": "", + "locked": false, + "name": "", + "settings": [ + { + "attributes": [], + "computedValue": "{\n \"type\": \"XYChart\",\n \"refs\": {\n \"data\": [\n { \"date\": 1652425200000, \"value\": 92 },\n { \"date\": 1652511600000, \"value\": 95 },\n { \"date\": 1652598000000, \"value\": 100 },\n { \"date\": 1652684400000, \"value\": 100 },\n { \"date\": 1652770800000, \"value\": 96 },\n { \"date\": 1652857200000, \"value\": 97 },\n { \"date\": 1652943600000, \"value\": 94 },\n { \"date\": 1653030000000, \"value\": 89 },\n { \"date\": 1653116400000, \"value\": 89 },\n { \"date\": 1653202800000, \"value\": 87 },\n { \"date\": 1653289200000, \"value\": 84 },\n { \"date\": 1653375600000, \"value\": 81 },\n { \"date\": 1653462000000, \"value\": 85 },\n { \"date\": 1653548400000, \"value\": 89 },\n { \"date\": 1653634800000, \"value\": 86 },\n { \"date\": 1653721200000, \"value\": 90 },\n { \"date\": 1653807600000, \"value\": 93 },\n { \"date\": 1653894000000, \"value\": 94 },\n { \"date\": 1653980400000, \"value\": 94 },\n { \"date\": 1654066800000, \"value\": 96 }\n ],\n \"xAxis\": {\n \"type\": \"DateAxis\",\n \"settings\": {\n \"baseInterval\": {\n \"timeUnit\": \"day\",\n \"count\": 1\n },\n \"renderer\": {\n \"type\": \"AxisRendererX\"\n }\n }\n },\n \"yAxis\": {\n \"type\": \"ValueAxis\",\n \"settings\": {\n \"renderer\": {\n \"type\": \"AxisRendererY\"\n }\n }\n },\n },\n \"settings\": {\n \"panX\": false,\n \"panY\": false,\n \"wheelX\": \"panX\",\n \"wheelY\": \"zoomX\",\n \"scrollbarX\": {\n \"type\": \"Scrollbar\",\n \"settings\": {\n \"orientation\": \"horizontal\"\n }\n }\n },\n \"properties\": {\n \"xAxes\": [\n \"#xAxis\"\n ],\n \"yAxes\": [\n \"#yAxis\"\n ],\n \"series\": [\n {\n \"type\": \"LineSeries\",\n \"settings\": {\n \"name\": \"Series\",\n \"xAxis\": \"#xAxis\",\n \"yAxis\": \"#yAxis\",\n \"valueYField\": \"value\",\n \"valueXField\": \"date\",\n \"tooltip\": {\n \"type\": \"Tooltip\",\n \"settings\": {\n \"labelText\": \"{valueX}: {valueY}\"\n }\n },\n },\n \"properties\": {\n \"data\": \"#data\"\n }\n }\n ]\n }\n}", + "displayName": "JSON", + "name": "json", + "type": 1, + "value": "{\n \"type\": \"XYChart\",\n \"refs\": {\n \"data\": [\n { \"date\": 1652425200000, \"value\": 92 },\n { \"date\": 1652511600000, \"value\": 95 },\n { \"date\": 1652598000000, \"value\": 100 },\n { \"date\": 1652684400000, \"value\": 100 },\n { \"date\": 1652770800000, \"value\": 96 },\n { \"date\": 1652857200000, \"value\": 97 },\n { \"date\": 1652943600000, \"value\": 94 },\n { \"date\": 1653030000000, \"value\": 89 },\n { \"date\": 1653116400000, \"value\": 89 },\n { \"date\": 1653202800000, \"value\": 87 },\n { \"date\": 1653289200000, \"value\": 84 },\n { \"date\": 1653375600000, \"value\": 81 },\n { \"date\": 1653462000000, \"value\": 85 },\n { \"date\": 1653548400000, \"value\": 89 },\n { \"date\": 1653634800000, \"value\": 86 },\n { \"date\": 1653721200000, \"value\": 90 },\n { \"date\": 1653807600000, \"value\": 93 },\n { \"date\": 1653894000000, \"value\": 94 },\n { \"date\": 1653980400000, \"value\": 94 },\n { \"date\": 1654066800000, \"value\": 96 }\n ],\n \"xAxis\": {\n \"type\": \"DateAxis\",\n \"settings\": {\n \"baseInterval\": {\n \"timeUnit\": \"day\",\n \"count\": 1\n },\n \"renderer\": {\n \"type\": \"AxisRendererX\"\n }\n }\n },\n \"yAxis\": {\n \"type\": \"ValueAxis\",\n \"settings\": {\n \"renderer\": {\n \"type\": \"AxisRendererY\"\n }\n }\n },\n },\n \"settings\": {\n \"panX\": false,\n \"panY\": false,\n \"wheelX\": \"panX\",\n \"wheelY\": \"zoomX\",\n \"scrollbarX\": {\n \"type\": \"Scrollbar\",\n \"settings\": {\n \"orientation\": \"horizontal\"\n }\n }\n },\n \"properties\": {\n \"xAxes\": [\n \"#xAxis\"\n ],\n \"yAxes\": [\n \"#yAxis\"\n ],\n \"series\": [\n {\n \"type\": \"LineSeries\",\n \"settings\": {\n \"name\": \"Series\",\n \"xAxis\": \"#xAxis\",\n \"yAxis\": \"#yAxis\",\n \"valueYField\": \"value\",\n \"valueXField\": \"date\",\n \"tooltip\": {\n \"type\": \"Tooltip\",\n \"settings\": {\n \"labelText\": \"{valueX}: {valueY}\"\n }\n },\n },\n \"properties\": {\n \"data\": \"#data\"\n }\n }\n ]\n }\n}" + } + ] + } + ], + "settings": [], + "stylePlugin": "" + } + ], + "path": "/plugin-amcharts-refs-test-1", + "persistence": { + "dataduct": { + "settings": [] + } + }, + "rowSettings": [ + { + "settings": [] + } + ], + "site": "spearhead", + "title": "plugin-amcharts-refs-test-1", + "userId": "b7a9bac5-5fef-4aa6-bf12-d536c156e453" +} +, +{ + "contexts": [ + { + "adaptor": "data", + "data": { + "exposedModule": "./JsonChartModule", + "moduleName": "JsonChartModule", + "remoteEntry": "http://localhost:3000/remoteEntry.js" + }, + "name": "chart_module", + "plugin": "module" + } + ], + "displayType": "page", + "entityPermissions": { + "deleteUserIds": [], + "readUserIds": [ + "*" + ], + "writeUserIds": [] + }, + "gridItems": [], + "id": "e39fa739-b354-45cb-8a35-5c9e54d28d6f", + "interactions": { + "interactions": { + "listeners": [] + } + }, + "layoutSetting": { + "settings": [] + }, + "layoutType": "gridless", + "name": "json_chart_example_1", + "panels": [ + { + "columnSetting": { + "settings": [] + }, + "panes": [ + { + "contentPlugin": "amcharts5_json_chart", + "contexts": [], + "label": "", + "locked": false, + "name": "", + "settings": [ + { + "attributes": [], + "computedValue": "{\n refs: {\n data: [\n { date: 1652425200000, value: 92 },\n { date: 1652511600000, value: 95 },\n { date: 1652598000000, value: 100 },\n { date: 1652684400000, value: 100 },\n { date: 1652770800000, value: 96 },\n { date: 1652857200000, value: 97 },\n { date: 1652943600000, value: 94 },\n { date: 1653030000000, value: 89 },\n { date: 1653116400000, value: 89 },\n { date: 1653202800000, value: 87 },\n { date: 1653289200000, value: 84 },\n { date: 1653375600000, value: 81 },\n { date: 1653462000000, value: 85 },\n { date: 1653548400000, value: 89 },\n { date: 1653634800000, value: 86 },\n { date: 1653721200000, value: 90 },\n { date: 1653807600000, value: 93 },\n { date: 1653894000000, value: 94 },\n { date: 1653980400000, value: 94 },\n { date: 1654066800000, value: 96 }\n ],\n xAxis: {\n type: \"DateAxis\",\n settings: {\n maxDeviation: 0.5,\n baseInterval: {\n timeUnit: \"day\",\n count: 1\n },\n renderer: {\n type: \"AxisRendererX\",\n settings: {\n pan: \"zoom\"\n }\n },\n tooltip: {\n type: \"Tooltip\",\n },\n }\n },\n yAxis: {\n type: \"ValueAxis\",\n settings: {\n maxDeviation: 1,\n renderer: {\n type: \"AxisRendererY\",\n settings: {\n pan: \"zoom\"\n },\n },\n }\n },\n },\n type: \"XYChart\",\n settings: {\n panX: false,\n panY: false,\n wheelX: \"panX\",\n wheelY: \"zoomX\",\n cursor: {\n type: \"XYCursor\",\n settings: {\n behavior: \"zoomX\"\n },\n properties: {\n lineY: {\n settings: {\n visible: false\n },\n },\n },\n },\n scrollbarX: {\n type: \"Scrollbar\",\n settings: {\n orientation: \"horizontal\"\n }\n },\n },\n properties: {\n xAxes: [\n \"#xAxis\",\n ],\n yAxes: [\n \"#yAxis\",\n ],\n series: [{\n type: \"LineSeries\",\n settings: {\n name: \"Series\",\n xAxis: \"#xAxis\",\n yAxis: \"#yAxis\",\n valueYField: \"value\",\n valueXField: \"date\",\n tooltip: {\n type: \"Tooltip\",\n settings: {\n labelText: \"{valueX}: {valueY}\"\n }\n },\n },\n properties: {\n data: \"#data\"\n }\n }]\n }\n}", + "displayName": "JSON", + "name": "json", + "type": 1, + "value": "{\n refs: {\n data: [\n { date: 1652425200000, value: 92 },\n { date: 1652511600000, value: 95 },\n { date: 1652598000000, value: 100 },\n { date: 1652684400000, value: 100 },\n { date: 1652770800000, value: 96 },\n { date: 1652857200000, value: 97 },\n { date: 1652943600000, value: 94 },\n { date: 1653030000000, value: 89 },\n { date: 1653116400000, value: 89 },\n { date: 1653202800000, value: 87 },\n { date: 1653289200000, value: 84 },\n { date: 1653375600000, value: 81 },\n { date: 1653462000000, value: 85 },\n { date: 1653548400000, value: 89 },\n { date: 1653634800000, value: 86 },\n { date: 1653721200000, value: 90 },\n { date: 1653807600000, value: 93 },\n { date: 1653894000000, value: 94 },\n { date: 1653980400000, value: 94 },\n { date: 1654066800000, value: 96 }\n ],\n xAxis: {\n type: \"DateAxis\",\n settings: {\n maxDeviation: 0.5,\n baseInterval: {\n timeUnit: \"day\",\n count: 1\n },\n renderer: {\n type: \"AxisRendererX\",\n settings: {\n pan: \"zoom\"\n }\n },\n tooltip: {\n type: \"Tooltip\",\n },\n }\n },\n yAxis: {\n type: \"ValueAxis\",\n settings: {\n maxDeviation: 1,\n renderer: {\n type: \"AxisRendererY\",\n settings: {\n pan: \"zoom\"\n },\n },\n }\n },\n },\n type: \"XYChart\",\n settings: {\n panX: false,\n panY: false,\n wheelX: \"panX\",\n wheelY: \"zoomX\",\n cursor: {\n type: \"XYCursor\",\n settings: {\n behavior: \"zoomX\"\n },\n properties: {\n lineY: {\n settings: {\n visible: false\n },\n },\n },\n },\n scrollbarX: {\n type: \"Scrollbar\",\n settings: {\n orientation: \"horizontal\"\n }\n },\n },\n properties: {\n xAxes: [\n \"#xAxis\",\n ],\n yAxes: [\n \"#yAxis\",\n ],\n series: [{\n type: \"LineSeries\",\n settings: {\n name: \"Series\",\n xAxis: \"#xAxis\",\n yAxis: \"#yAxis\",\n valueYField: \"value\",\n valueXField: \"date\",\n tooltip: {\n type: \"Tooltip\",\n settings: {\n labelText: \"{valueX}: {valueY}\"\n }\n },\n },\n properties: {\n data: \"#data\"\n }\n }]\n }\n}" + } + ] + } + ], + "settings": [], + "stylePlugin": "" + } + ], + "path": "/json-chart-example-1", + "persistence": { + "dataduct": { + "settings": [] + } + }, + "rowSettings": [ + { + "settings": [] + } + ], + "site": "spearhead", + "title": "Json Chart Example 1", + "userId": "b7a9bac5-5fef-4aa6-bf12-d536c156e453" +} +]; diff --git a/common.d501fa65ebd77cd6.js b/common.d501fa65ebd77cd6.js new file mode 100644 index 0000000..c3e67e8 --- /dev/null +++ b/common.d501fa65ebd77cd6.js @@ -0,0 +1,2 @@ +(self.webpackChunkspear=self.webpackChunkspear||[]).push([[8592],{24503:(P,A,t)=>{t.d(A,{R:()=>p});var y=t(41944),E=t(14382);function p(v,e){return(0,y.e)((0,E.U)(v,e,arguments.length>=2,!0))}},14382:(P,A,t)=>{t.d(A,{U:()=>E});var y=t(93945);function E(p,v,e,n,u){return function(g,L){var m=e,T=v,b=0;g.subscribe((0,y.x)(L,function(D){var h=b++;T=m?p(T,D,h):(m=!0,D),n&&L.next(T)},u&&function(){m&&L.next(T),L.complete()}))}}},41760:(P,A,t)=>{t.r(A),t.d(A,{CdkAccordion:()=>m,CdkAccordionItem:()=>b,CdkAccordionModule:()=>D});var y=t(78069),E=t(48047),p=t(56718),v=t(81382),e=t(35333),n=t(50253),u=t(17714),g=0,L=new p.InjectionToken("CdkAccordion"),m=function(){var h=function(){function O(){(0,y.Z)(this,O),this._stateChanges=new n.x,this._openCloseAllActions=new n.x,this.id="cdk-accordion-".concat(g++),this._multi=!1}return(0,E.Z)(O,[{key:"multi",get:function(){return this._multi},set:function(M){this._multi=(0,e.coerceBooleanProperty)(M)}},{key:"openAll",value:function(){this._multi&&this._openCloseAllActions.next(!0)}},{key:"closeAll",value:function(){this._openCloseAllActions.next(!1)}},{key:"ngOnChanges",value:function(M){this._stateChanges.next(M)}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}]),O}();return h.\u0275fac=function(_){return new(_||h)},h.\u0275dir=p.\u0275\u0275defineDirective({type:h,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[p.\u0275\u0275ProvidersFeature([{provide:L,useExisting:h}]),p.\u0275\u0275NgOnChangesFeature]}),h}(),T=0,b=function(){var h=function(){function O(_,M,d){var s=this;(0,y.Z)(this,O),this.accordion=_,this._changeDetectorRef=M,this._expansionDispatcher=d,this._openCloseAllSubscription=u.w0.EMPTY,this.closed=new p.EventEmitter,this.opened=new p.EventEmitter,this.destroyed=new p.EventEmitter,this.expandedChange=new p.EventEmitter,this.id="cdk-accordion-child-".concat(T++),this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=function(){},this._removeUniqueSelectionListener=d.listen(function(i,o){s.accordion&&!s.accordion.multi&&s.accordion.id===o&&s.id!==i&&(s.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}return(0,E.Z)(O,[{key:"expanded",get:function(){return this._expanded},set:function(M){M=(0,e.coerceBooleanProperty)(M),this._expanded!==M&&(this._expanded=M,this.expandedChange.emit(M),M?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}},{key:"disabled",get:function(){return this._disabled},set:function(M){this._disabled=(0,e.coerceBooleanProperty)(M)}},{key:"ngOnDestroy",value:function(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}},{key:"toggle",value:function(){this.disabled||(this.expanded=!this.expanded)}},{key:"close",value:function(){this.disabled||(this.expanded=!1)}},{key:"open",value:function(){this.disabled||(this.expanded=!0)}},{key:"_subscribeToOpenCloseAllActions",value:function(){var M=this;return this.accordion._openCloseAllActions.subscribe(function(d){M.disabled||(M.expanded=d)})}}]),O}();return h.\u0275fac=function(_){return new(_||h)(p.\u0275\u0275directiveInject(L,12),p.\u0275\u0275directiveInject(p.ChangeDetectorRef),p.\u0275\u0275directiveInject(v.UniqueSelectionDispatcher))},h.\u0275dir=p.\u0275\u0275defineDirective({type:h,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[p.\u0275\u0275ProvidersFeature([{provide:L,useValue:void 0}])]}),h}(),D=function(){var h=(0,E.Z)(function O(){(0,y.Z)(this,O)});return h.\u0275fac=function(_){return new(_||h)},h.\u0275mod=p.\u0275\u0275defineNgModule({type:h}),h.\u0275inj=p.\u0275\u0275defineInjector({}),h}()},4564:(P,A,t)=>{t.r(A),t.d(A,{BidiModule:()=>T,DIR_DOCUMENT:()=>e,Dir:()=>m,Directionality:()=>L});var y=t(78069),E=t(48047),p=t(56718),v=t(94055),e=new p.InjectionToken("cdk-dir-doc",{providedIn:"root",factory:function n(){return(0,p.inject)(v.DOCUMENT)}}),u=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function g(b){var D,h=b?.toLowerCase()||"";return"auto"===h&&typeof navigator<"u"&&null!==(D=navigator)&&void 0!==D&&D.language?u.test(navigator.language)?"rtl":"ltr":"rtl"===h?"rtl":"ltr"}var L=function(){var b=function(){function D(h){(0,y.Z)(this,D),this.value="ltr",this.change=new p.EventEmitter,h&&(this.value=g((h.body?h.body.dir:null)||(h.documentElement?h.documentElement.dir:null)||"ltr"))}return(0,E.Z)(D,[{key:"ngOnDestroy",value:function(){this.change.complete()}}]),D}();return b.\u0275fac=function(h){return new(h||b)(p.\u0275\u0275inject(e,8))},b.\u0275prov=p.\u0275\u0275defineInjectable({token:b,factory:b.\u0275fac,providedIn:"root"}),b}(),m=function(){var b=function(){function D(){(0,y.Z)(this,D),this._dir="ltr",this._isInitialized=!1,this.change=new p.EventEmitter}return(0,E.Z)(D,[{key:"dir",get:function(){return this._dir},set:function(O){var _=this._dir;this._dir=g(O),this._rawDir=O,_!==this._dir&&this._isInitialized&&this.change.emit(this._dir)}},{key:"value",get:function(){return this.dir}},{key:"ngAfterContentInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){this.change.complete()}}]),D}();return b.\u0275fac=function(h){return new(h||b)},b.\u0275dir=p.\u0275\u0275defineDirective({type:b,selectors:[["","dir",""]],hostVars:1,hostBindings:function(h,O){2&h&&p.\u0275\u0275attribute("dir",O._rawDir)},inputs:{dir:"dir"},outputs:{change:"dirChange"},exportAs:["dir"],features:[p.\u0275\u0275ProvidersFeature([{provide:L,useExisting:b}])]}),b}(),T=function(){var b=(0,E.Z)(function D(){(0,y.Z)(this,D)});return b.\u0275fac=function(h){return new(h||b)},b.\u0275mod=p.\u0275\u0275defineNgModule({type:b}),b.\u0275inj=p.\u0275\u0275defineInjector({}),b}()},16346:(P,A,t)=>{t.r(A),t.d(A,{VERSION:()=>E});var E=new(t(56718).Version)("16.0.4")},70867:(P,A,t)=>{t.r(A),t.d(A,{_isNumberValue:()=>e,coerceArray:()=>n,coerceBooleanProperty:()=>p,coerceCssPixelValue:()=>u,coerceElement:()=>g,coerceNumberProperty:()=>v,coerceStringArray:()=>L});var y=t(95106),E=t(56718);function p(m){return null!=m&&"false"!=="".concat(m)}function v(m){var T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e(m)?Number(m):T}function e(m){return!isNaN(parseFloat(m))&&!isNaN(Number(m))}function n(m){return Array.isArray(m)?m:[m]}function u(m){return null==m?"":"string"==typeof m?m:"".concat(m,"px")}function g(m){return m instanceof E.ElementRef?m.nativeElement:m}function L(m){var T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\s+/,b=[];if(null!=m){var O,D=Array.isArray(m)?m:"".concat(m).split(T),h=(0,y.Z)(D);try{for(h.s();!(O=h.n()).done;){var M="".concat(O.value).trim();M&&b.push(M)}}catch(d){h.e(d)}finally{h.f()}}return b}},15712:(P,A,t)=>{t.r(A),t.d(A,{Platform:()=>n,PlatformModule:()=>u,_getEventTarget:()=>r,_getFocusedElementPierceShadowDom:()=>o,_getShadowRoot:()=>i,_isTestEnvironment:()=>a,_supportsShadowDom:()=>s,getRtlScrollAxisType:()=>M,getSupportedInputTypes:()=>m,normalizePassiveListenerOptions:()=>D,supportsPassiveEventListeners:()=>b,supportsScrollBehavior:()=>_});var e,y=t(48047),E=t(78069),p=t(56718),v=t(94055);try{e=typeof Intl<"u"&&Intl.v8BreakIterator}catch{e=!1}var g,T,h,O,d,n=function(){var l=(0,y.Z)(function c(f){(0,E.Z)(this,c),this._platformId=f,this.isBrowser=this._platformId?(0,v.isPlatformBrowser)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!e)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT});return l.\u0275fac=function(f){return new(f||l)(p.\u0275\u0275inject(p.PLATFORM_ID))},l.\u0275prov=p.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac,providedIn:"root"}),l}(),u=function(){var l=(0,y.Z)(function c(){(0,E.Z)(this,c)});return l.\u0275fac=function(f){return new(f||l)},l.\u0275mod=p.\u0275\u0275defineNgModule({type:l}),l.\u0275inj=p.\u0275\u0275defineInjector({}),l}(),L=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function m(){if(g)return g;if("object"!=typeof document||!document)return g=new Set(L);var l=document.createElement("input");return g=new Set(L.filter(function(c){return l.setAttribute("type",c),l.type===c}))}function b(){if(null==T&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return T=!0}}))}finally{T=T||!1}return T}function D(l){return b()?l:!!l.capture}function _(){if(null==O){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return O=!1;if("scrollBehavior"in document.documentElement.style)O=!0;else{var l=Element.prototype.scrollTo;O=!!l&&!/\{\s*\[native code\]\s*\}/.test(l.toString())}}return O}function M(){if("object"!=typeof document||!document)return 0;if(null==h){var l=document.createElement("div"),c=l.style;l.dir="rtl",c.width="1px",c.overflow="auto",c.visibility="hidden",c.pointerEvents="none",c.position="absolute";var f=document.createElement("div"),C=f.style;C.width="2px",C.height="1px",l.appendChild(f),document.body.appendChild(l),h=0,0===l.scrollLeft&&(l.scrollLeft=1,h=0===l.scrollLeft?1:2),l.remove()}return h}function s(){if(null==d){var l=typeof document<"u"?document.head:null;d=!(!l||!l.createShadowRoot&&!l.attachShadow)}return d}function i(l){if(s()){var c=l.getRootNode?l.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&c instanceof ShadowRoot)return c}return null}function o(){for(var l=typeof document<"u"&&document?document.activeElement:null;l&&l.shadowRoot;){var c=l.shadowRoot.activeElement;if(c===l)break;l=c}return l}function r(l){return l.composedPath?l.composedPath()[0]:l.target}function a(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},82748:(P,A,t)=>{t.r(A),t.d(A,{MatBadge:()=>h,MatBadgeModule:()=>O});var y=t(24582),E=t(28694),p=t(48047),v=t(78069),e=t(56718),n=t(6606),u=t(908),g=t(35333),L=t(94055),m=t(33401),T=0,b=(0,n.mixinDisabled)(function(){return(0,p.Z)(function _(){(0,v.Z)(this,_)})}()),D="mat-badge-content",h=function(){var _=function(M){(0,y.Z)(s,M);var d=(0,E.Z)(s);function s(i,o,r,a,l){var c;return(0,v.Z)(this,s),(c=d.call(this))._ngZone=i,c._elementRef=o,c._ariaDescriber=r,c._renderer=a,c._animationMode=l,c._color="primary",c._overlap=!0,c.position="above after",c.size="medium",c._id=T++,c._isInitialized=!1,c._interactivityChecker=(0,e.inject)(u.InteractivityChecker),c._document=(0,e.inject)(L.DOCUMENT),c}return(0,p.Z)(s,[{key:"color",get:function(){return this._color},set:function(o){this._setColor(o),this._color=o}},{key:"overlap",get:function(){return this._overlap},set:function(o){this._overlap=(0,g.coerceBooleanProperty)(o)}},{key:"content",get:function(){return this._content},set:function(o){this._updateRenderedContent(o)}},{key:"description",get:function(){return this._description},set:function(o){this._updateDescription(o)}},{key:"hidden",get:function(){return this._hidden},set:function(o){this._hidden=(0,g.coerceBooleanProperty)(o)}},{key:"isAbove",value:function(){return-1===this.position.indexOf("below")}},{key:"isAfter",value:function(){return-1===this.position.indexOf("before")}},{key:"getBadgeElement",value:function(){return this._badgeElement}},{key:"ngOnInit",value:function(){this._clearExistingBadges(),this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content)),this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){var o;this._renderer.destroyNode&&(this._renderer.destroyNode(this._badgeElement),null===(o=this._inlineBadgeDescription)||void 0===o||o.remove()),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}},{key:"_isHostInteractive",value:function(){return this._interactivityChecker.isFocusable(this._elementRef.nativeElement,{ignoreVisibility:!0})}},{key:"_createBadgeElement",value:function(){var o=this._renderer.createElement("span"),r="mat-badge-active";return o.setAttribute("id","mat-badge-content-".concat(this._id)),o.setAttribute("aria-hidden","true"),o.classList.add(D),"NoopAnimations"===this._animationMode&&o.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(o),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){o.classList.add(r)})}):o.classList.add(r),o}},{key:"_updateRenderedContent",value:function(o){var r="".concat(o??"").trim();this._isInitialized&&r&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=r),this._content=r}},{key:"_updateDescription",value:function(o){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),(!o||this._isHostInteractive())&&this._removeInlineDescription(),this._description=o,this._isHostInteractive()?this._ariaDescriber.describe(this._elementRef.nativeElement,o):this._updateInlineDescription()}},{key:"_updateInlineDescription",value:function(){var o;this._inlineBadgeDescription||(this._inlineBadgeDescription=this._document.createElement("span"),this._inlineBadgeDescription.classList.add("cdk-visually-hidden")),this._inlineBadgeDescription.textContent=this.description,null===(o=this._badgeElement)||void 0===o||o.appendChild(this._inlineBadgeDescription)}},{key:"_removeInlineDescription",value:function(){var o;null===(o=this._inlineBadgeDescription)||void 0===o||o.remove(),this._inlineBadgeDescription=void 0}},{key:"_setColor",value:function(o){var r=this._elementRef.nativeElement.classList;r.remove("mat-badge-".concat(this._color)),o&&r.add("mat-badge-".concat(o))}},{key:"_clearExistingBadges",value:function(){for(var o=this._elementRef.nativeElement.querySelectorAll(":scope > .".concat(D)),r=0,a=Array.from(o);r<a.length;r++){var l=a[r];l!==this._badgeElement&&l.remove()}}}]),s}(b);return _.\u0275fac=function(d){return new(d||_)(e.\u0275\u0275directiveInject(e.NgZone),e.\u0275\u0275directiveInject(e.ElementRef),e.\u0275\u0275directiveInject(u.AriaDescriber),e.\u0275\u0275directiveInject(e.Renderer2),e.\u0275\u0275directiveInject(m.ANIMATION_MODULE_TYPE,8))},_.\u0275dir=e.\u0275\u0275defineDirective({type:_,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(d,s){2&d&&e.\u0275\u0275classProp("mat-badge-overlap",s.overlap)("mat-badge-above",s.isAbove())("mat-badge-below",!s.isAbove())("mat-badge-before",!s.isAfter())("mat-badge-after",s.isAfter())("mat-badge-small","small"===s.size)("mat-badge-medium","medium"===s.size)("mat-badge-large","large"===s.size)("mat-badge-hidden",s.hidden||!s.content)("mat-badge-disabled",s.disabled)},inputs:{disabled:["matBadgeDisabled","disabled"],color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap"],position:["matBadgePosition","position"],content:["matBadge","content"],description:["matBadgeDescription","description"],size:["matBadgeSize","size"],hidden:["matBadgeHidden","hidden"]},features:[e.\u0275\u0275InheritDefinitionFeature]}),_}(),O=function(){var _=(0,p.Z)(function M(){(0,v.Z)(this,M)});return _.\u0275fac=function(d){return new(d||_)},_.\u0275mod=e.\u0275\u0275defineNgModule({type:_}),_.\u0275inj=e.\u0275\u0275defineInjector({imports:[u.A11yModule,n.MatCommonModule,n.MatCommonModule]}),_}()},20445:(P,A,t)=>{t.r(A),t.d(A,{MatDivider:()=>n,MatDividerModule:()=>u});var y=t(78069),E=t(48047),p=t(56718),v=t(35333),e=t(6606),n=function(){var g=function(){function L(){(0,y.Z)(this,L),this._vertical=!1,this._inset=!1}return(0,E.Z)(L,[{key:"vertical",get:function(){return this._vertical},set:function(T){this._vertical=(0,v.coerceBooleanProperty)(T)}},{key:"inset",get:function(){return this._inset},set:function(T){this._inset=(0,v.coerceBooleanProperty)(T)}}]),L}();return g.\u0275fac=function(m){return new(m||g)},g.\u0275cmp=p.\u0275\u0275defineComponent({type:g,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(m,T){2&m&&(p.\u0275\u0275attribute("aria-orientation",T.vertical?"vertical":"horizontal"),p.\u0275\u0275classProp("mat-divider-vertical",T.vertical)("mat-divider-horizontal",!T.vertical)("mat-divider-inset",T.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(m,T){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0}),g}(),u=function(){var g=(0,E.Z)(function L(){(0,y.Z)(this,L)});return g.\u0275fac=function(m){return new(m||g)},g.\u0275mod=p.\u0275\u0275defineNgModule({type:g}),g.\u0275inj=p.\u0275\u0275defineInjector({imports:[e.MatCommonModule,e.MatCommonModule]}),g}()},59356:(P,A,t)=>{t.r(A),t.d(A,{MAT_LEGACY_AUTOCOMPLETE_DEFAULT_OPTIONS:()=>u.MAT_AUTOCOMPLETE_DEFAULT_OPTIONS,MAT_LEGACY_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORY:()=>u.MAT_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORY,MAT_LEGACY_AUTOCOMPLETE_SCROLL_STRATEGY:()=>u.MAT_AUTOCOMPLETE_SCROLL_STRATEGY,MAT_LEGACY_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY:()=>u.MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY,MAT_LEGACY_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>u.MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER,MAT_LEGACY_AUTOCOMPLETE_VALUE_ACCESSOR:()=>_,MatLegacyAutocomplete:()=>O,MatLegacyAutocompleteModule:()=>s,MatLegacyAutocompleteOrigin:()=>d,MatLegacyAutocompleteSelectedEvent:()=>u.MatAutocompleteSelectedEvent,MatLegacyAutocompleteTrigger:()=>M,getMatLegacyAutocompleteMissingPanelError:()=>u.getMatAutocompleteMissingPanelError});var y=t(48047),E=t(78069),p=t(24582),v=t(28694),e=t(56718),n=t(10233),u=t(80827),g=t(94055),L=t(43662),m=t(6606),T=t(93168),b=t(47405);function D(i,o){if(1&i&&(e.\u0275\u0275elementStart(0,"div",0,1),e.\u0275\u0275projection(2),e.\u0275\u0275elementEnd()),2&i){var r=o.id,a=e.\u0275\u0275nextContext();e.\u0275\u0275property("id",a.id)("ngClass",a._classList),e.\u0275\u0275attribute("aria-label",a.ariaLabel||null)("aria-labelledby",a._getPanelAriaLabelledby(r))}}var h=["*"],O=function(){var i=function(o){(0,p.Z)(a,o);var r=(0,v.Z)(a);function a(){var l;return(0,E.Z)(this,a),(l=r.apply(this,arguments))._visibleClass="mat-autocomplete-visible",l._hiddenClass="mat-autocomplete-hidden",l}return(0,y.Z)(a)}(u._MatAutocompleteBase);return i.\u0275fac=function(){var o;return function(a){return(o||(o=e.\u0275\u0275getInheritedFactory(i)))(a||i)}}(),i.\u0275cmp=e.\u0275\u0275defineComponent({type:i,selectors:[["mat-autocomplete"]],contentQueries:function(r,a,l){var c;1&r&&(e.\u0275\u0275contentQuery(l,n.MAT_LEGACY_OPTGROUP,5),e.\u0275\u0275contentQuery(l,n.MatLegacyOption,5)),2&r&&(e.\u0275\u0275queryRefresh(c=e.\u0275\u0275loadQuery())&&(a.optionGroups=c),e.\u0275\u0275queryRefresh(c=e.\u0275\u0275loadQuery())&&(a.options=c))},hostAttrs:["ngSkipHydration","",1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[e.\u0275\u0275ProvidersFeature([{provide:n.MAT_LEGACY_OPTION_PARENT_COMPONENT,useExisting:i}]),e.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:h,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(r,a){1&r&&(e.\u0275\u0275projectionDef(),e.\u0275\u0275template(0,D,3,4,"ng-template"))},dependencies:[g.NgClass],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}mat-autocomplete{display:none}"],encapsulation:2,changeDetection:0}),i}(),_={provide:b.NG_VALUE_ACCESSOR,useExisting:(0,e.forwardRef)(function(){return M}),multi:!0},M=function(){var i=function(o){(0,p.Z)(a,o);var r=(0,v.Z)(a);function a(){var l;return(0,E.Z)(this,a),(l=r.apply(this,arguments))._aboveClass="mat-autocomplete-panel-above",l}return(0,y.Z)(a)}(u._MatAutocompleteTriggerBase);return i.\u0275fac=function(){var o;return function(a){return(o||(o=e.\u0275\u0275getInheritedFactory(i)))(a||i)}}(),i.\u0275dir=e.\u0275\u0275defineDirective({type:i,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(r,a){1&r&&e.\u0275\u0275listener("focusin",function(){return a._handleFocus()})("blur",function(){return a._onTouched()})("input",function(c){return a._handleInput(c)})("keydown",function(c){return a._handleKeydown(c)})("click",function(){return a._handleClick()}),2&r&&e.\u0275\u0275attribute("autocomplete",a.autocompleteAttribute)("role",a.autocompleteDisabled?null:"combobox")("aria-autocomplete",a.autocompleteDisabled?null:"list")("aria-activedescendant",a.panelOpen&&a.activeOption?a.activeOption.id:null)("aria-expanded",a.autocompleteDisabled?null:a.panelOpen.toString())("aria-owns",a.autocompleteDisabled||!a.panelOpen||null==a.autocomplete?null:a.autocomplete.id)("aria-haspopup",a.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[e.\u0275\u0275ProvidersFeature([_]),e.\u0275\u0275InheritDefinitionFeature]}),i}(),d=function(){var i=function(o){(0,p.Z)(a,o);var r=(0,v.Z)(a);function a(){return(0,E.Z)(this,a),r.apply(this,arguments)}return(0,y.Z)(a)}(u._MatAutocompleteOriginBase);return i.\u0275fac=function(){var o;return function(a){return(o||(o=e.\u0275\u0275getInheritedFactory(i)))(a||i)}}(),i.\u0275dir=e.\u0275\u0275defineDirective({type:i,selectors:[["","matAutocompleteOrigin",""]],exportAs:["matAutocompleteOrigin"],features:[e.\u0275\u0275InheritDefinitionFeature]}),i}(),s=function(){var i=(0,y.Z)(function o(){(0,E.Z)(this,o)});return i.\u0275fac=function(r){return new(r||i)},i.\u0275mod=e.\u0275\u0275defineNgModule({type:i}),i.\u0275inj=e.\u0275\u0275defineInjector({providers:[u.MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER],imports:[L.OverlayModule,n.MatLegacyOptionModule,m.MatCommonModule,g.CommonModule,T.CdkScrollableModule,n.MatLegacyOptionModule,m.MatCommonModule]}),i}()},76391:(P,A,t)=>{t.r(A),t.d(A,{LEGACY_VERSION:()=>u.VERSION,LegacyAnimationCurves:()=>u.AnimationCurves,LegacyAnimationDurations:()=>u.AnimationDurations,LegacyDateAdapter:()=>u.DateAdapter,LegacyErrorStateMatcher:()=>u.ErrorStateMatcher,LegacyNativeDateAdapter:()=>u.NativeDateAdapter,LegacyNativeDateModule:()=>u.NativeDateModule,LegacyRippleRef:()=>u.RippleRef,LegacyRippleRenderer:()=>u.RippleRenderer,LegacyShowOnDirtyErrorStateMatcher:()=>u.ShowOnDirtyErrorStateMatcher,MATERIAL_LEGACY_SANITY_CHECKS:()=>u.MATERIAL_SANITY_CHECKS,MAT_LEGACY_DATE_FORMATS:()=>u.MAT_DATE_FORMATS,MAT_LEGACY_DATE_LOCALE:()=>u.MAT_DATE_LOCALE,MAT_LEGACY_DATE_LOCALE_FACTORY:()=>u.MAT_DATE_LOCALE_FACTORY,MAT_LEGACY_NATIVE_DATE_FORMATS:()=>u.MAT_NATIVE_DATE_FORMATS,MAT_LEGACY_OPTGROUP:()=>u.MAT_OPTGROUP,MAT_LEGACY_OPTION_PARENT_COMPONENT:()=>u.MAT_OPTION_PARENT_COMPONENT,MAT_LEGACY_RIPPLE_GLOBAL_OPTIONS:()=>u.MAT_RIPPLE_GLOBAL_OPTIONS,MatLegacyCommonModule:()=>u.MatCommonModule,MatLegacyLine:()=>u.MatLine,MatLegacyLineModule:()=>u.MatLineModule,MatLegacyNativeDateModule:()=>u.MatNativeDateModule,MatLegacyOptgroup:()=>D,MatLegacyOption:()=>h,MatLegacyOptionModule:()=>O,MatLegacyOptionSelectionChange:()=>u.MatOptionSelectionChange,MatLegacyPseudoCheckbox:()=>u.MatPseudoCheckbox,MatLegacyPseudoCheckboxModule:()=>u.MatPseudoCheckboxModule,MatLegacyRipple:()=>u.MatRipple,MatLegacyRippleModule:()=>u.MatRippleModule,_MatLegacyOptgroupBase:()=>u._MatOptgroupBase,_MatLegacyOptionBase:()=>u._MatOptionBase,_countGroupLabelsBeforeLegacyOption:()=>u._countGroupLabelsBeforeOption,_getLegacyOptionScrollPosition:()=>u._getOptionScrollPosition,legacyDefaultRippleAnimationConfig:()=>u.defaultRippleAnimationConfig,legacyMixinColor:()=>u.mixinColor,legacyMixinDisableRipple:()=>u.mixinDisableRipple,legacyMixinDisabled:()=>u.mixinDisabled,legacyMixinErrorState:()=>u.mixinErrorState,legacyMixinInitialized:()=>u.mixinInitialized,legacyMixinTabIndex:()=>u.mixinTabIndex,legacySetLines:()=>u.setLines});var y=t(48047),E=t(78069),p=t(24582),v=t(28694),e=t(56718),n=t(94055),u=t(6606),g=["*",[["mat-option"],["ng-container"]]],L=["*","mat-option, ng-container"];function m(_,M){if(1&_&&e.\u0275\u0275element(0,"mat-pseudo-checkbox",5),2&_){var d=e.\u0275\u0275nextContext();e.\u0275\u0275property("state",d.selected?"checked":"unchecked")("disabled",d.disabled)}}function T(_,M){if(1&_&&(e.\u0275\u0275elementStart(0,"span",6),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&_){var d=e.\u0275\u0275nextContext();e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1("(",d.group.label,")")}}var b=["*"],D=function(){var _=function(M){(0,p.Z)(s,M);var d=(0,v.Z)(s);function s(){return(0,E.Z)(this,s),d.apply(this,arguments)}return(0,y.Z)(s)}(u._MatOptgroupBase);return _.\u0275fac=function(){var M;return function(s){return(M||(M=e.\u0275\u0275getInheritedFactory(_)))(s||_)}}(),_.\u0275cmp=e.\u0275\u0275defineComponent({type:_,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-optgroup"],hostVars:5,hostBindings:function(d,s){2&d&&(e.\u0275\u0275attribute("role",s._inert?null:"group")("aria-disabled",s._inert?null:s.disabled.toString())("aria-labelledby",s._inert?null:s._labelId),e.\u0275\u0275classProp("mat-optgroup-disabled",s.disabled))},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[e.\u0275\u0275ProvidersFeature([{provide:u.MAT_OPTGROUP,useExisting:_}]),e.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:L,decls:4,vars:2,consts:[["role","presentation",1,"mat-optgroup-label",3,"id"]],template:function(d,s){1&d&&(e.\u0275\u0275projectionDef(g),e.\u0275\u0275elementStart(0,"span",0),e.\u0275\u0275text(1),e.\u0275\u0275projection(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275projection(3,1)),2&d&&(e.\u0275\u0275property("id",s._labelId),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1("",s.label," "))},styles:[".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}"],encapsulation:2,changeDetection:0}),_}(),h=function(){var _=function(M){(0,p.Z)(s,M);var d=(0,v.Z)(s);function s(i,o,r,a){return(0,E.Z)(this,s),d.call(this,i,o,r,a)}return(0,y.Z)(s)}(u._MatOptionBase);return _.\u0275fac=function(d){return new(d||_)(e.\u0275\u0275directiveInject(e.ElementRef),e.\u0275\u0275directiveInject(e.ChangeDetectorRef),e.\u0275\u0275directiveInject(u.MAT_OPTION_PARENT_COMPONENT,8),e.\u0275\u0275directiveInject(u.MAT_OPTGROUP,8))},_.\u0275cmp=e.\u0275\u0275defineComponent({type:_,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(d,s){1&d&&e.\u0275\u0275listener("click",function(){return s._selectViaInteraction()})("keydown",function(o){return s._handleKeydown(o)}),2&d&&(e.\u0275\u0275hostProperty("id",s.id),e.\u0275\u0275attribute("tabindex",s._getTabIndex())("aria-selected",s.selected)("aria-disabled",s.disabled.toString()),e.\u0275\u0275classProp("mat-selected",s.selected)("mat-option-multiple",s.multiple)("mat-active",s.active)("mat-option-disabled",s.disabled))},exportAs:["matOption"],features:[e.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:b,decls:6,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["text",""],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(d,s){1&d&&(e.\u0275\u0275projectionDef(),e.\u0275\u0275template(0,m,1,2,"mat-pseudo-checkbox",0),e.\u0275\u0275elementStart(1,"span",1,2),e.\u0275\u0275projection(3),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(4,T,2,1,"span",3),e.\u0275\u0275element(5,"div",4)),2&d&&(e.\u0275\u0275property("ngIf",s.multiple),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngIf",s.group&&s.group._inert),e.\u0275\u0275advance(1),e.\u0275\u0275property("matRippleTrigger",s._getHostElement())("matRippleDisabled",s.disabled||s.disableRipple))},dependencies:[u.MatRipple,n.NgIf,u.MatPseudoCheckbox],styles:['.mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.mat-option.mat-active::before{content:""}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{right:auto;left:16px}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}'],encapsulation:2,changeDetection:0}),_}(),O=function(){var _=(0,y.Z)(function M(){(0,E.Z)(this,M)});return _.\u0275fac=function(d){return new(d||_)},_.\u0275mod=e.\u0275\u0275defineNgModule({type:_}),_.\u0275inj=e.\u0275\u0275defineInjector({imports:[u.MatRippleModule,n.CommonModule,u.MatCommonModule,u.MatPseudoCheckboxModule]}),_}()},20894:(P,A,t)=>{t.r(A),t.d(A,{MAT_LEGACY_INPUT_VALUE_ACCESSOR:()=>n.MAT_INPUT_VALUE_ACCESSOR,MatLegacyInput:()=>m,MatLegacyInputModule:()=>T,getMatLegacyInputUnsupportedTypeError:()=>n.getMatInputUnsupportedTypeError});var y=t(78069),E=t(48047),p=t(24582),v=t(28694),e=t(56718),n=t(32666),u=t(30972),g=t(41187),L=t(6606),m=function(){var b=function(D){(0,p.Z)(O,D);var h=(0,v.Z)(O);function O(){var _;return(0,y.Z)(this,O),(_=h.apply(this,arguments))._legacyFormField=(0,e.inject)(u.MAT_LEGACY_FORM_FIELD,{optional:!0}),_}return(0,E.Z)(O,[{key:"_getPlaceholder",value:function(){var M,d=this._legacyFormField;return!d||"legacy"!==d.appearance||null!==(M=d._hasLabel)&&void 0!==M&&M.call(d)?this.placeholder:null}}]),O}(n.MatInput);return b.\u0275fac=function(){var D;return function(O){return(D||(D=e.\u0275\u0275getInheritedFactory(b)))(O||b)}}(),b.\u0275dir=e.\u0275\u0275defineDirective({type:b,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:15,hostBindings:function(h,O){2&h&&(e.\u0275\u0275attribute("data-placeholder",O.placeholder),e.\u0275\u0275classProp("mat-input-server",O._isServer)("mat-mdc-input-element",!1)("mat-mdc-form-field-textarea-control",!1)("mat-mdc-form-field-input-control",!1)("mdc-text-field__input",!1)("mat-mdc-native-select-inline",!1)("mat-native-select-inline",O._isInlineSelect()))},exportAs:["matInput"],features:[e.\u0275\u0275ProvidersFeature([{provide:u.MatLegacyFormFieldControl,useExisting:b}]),e.\u0275\u0275InheritDefinitionFeature]}),b}(),T=function(){var b=(0,E.Z)(function D(){(0,y.Z)(this,D)});return b.\u0275fac=function(h){return new(h||b)},b.\u0275mod=e.\u0275\u0275defineNgModule({type:b}),b.\u0275inj=e.\u0275\u0275defineInjector({providers:[L.ErrorStateMatcher],imports:[g.TextFieldModule,u.MatLegacyFormFieldModule,L.MatCommonModule,g.TextFieldModule,u.MatLegacyFormFieldModule]}),b}()},6291:(P,A,t)=>{t.r(A),t.d(A,{MAT_LEGACY_MENU_CONTENT:()=>n.MAT_MENU_CONTENT,MAT_LEGACY_MENU_DEFAULT_OPTIONS:()=>n.MAT_MENU_DEFAULT_OPTIONS,MAT_LEGACY_MENU_PANEL:()=>n.MAT_MENU_PANEL,MAT_LEGACY_MENU_SCROLL_STRATEGY:()=>n.MAT_MENU_SCROLL_STRATEGY,MatLegacyMenu:()=>O,MatLegacyMenuContent:()=>d,MatLegacyMenuItem:()=>_,MatLegacyMenuModule:()=>s,MatLegacyMenuTrigger:()=>M,fadeInLegacyItems:()=>n.fadeInItems,matLegacyMenuAnimations:()=>n.matMenuAnimations,transformLegacyMenu:()=>n.transformMenu});var y=t(48047),E=t(78069),p=t(24582),v=t(28694),e=t(56718),n=t(66235),u=t(94055),g=t(6606),L=t(43662),m=t(93168);function T(i,o){if(1&i){var r=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",0),e.\u0275\u0275listener("keydown",function(c){e.\u0275\u0275restoreView(r);var f=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(f._handleKeydown(c))})("click",function(){e.\u0275\u0275restoreView(r);var c=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(c.closed.emit("click"))})("@transformMenu.start",function(c){e.\u0275\u0275restoreView(r);var f=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(f._onAnimationStart(c))})("@transformMenu.done",function(c){e.\u0275\u0275restoreView(r);var f=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(f._onAnimationDone(c))}),e.\u0275\u0275elementStart(1,"div",1),e.\u0275\u0275projection(2),e.\u0275\u0275elementEnd()()}if(2&i){var a=e.\u0275\u0275nextContext();e.\u0275\u0275property("id",a.panelId)("ngClass",a._classList)("@transformMenu",a._panelAnimationState),e.\u0275\u0275attribute("aria-label",a.ariaLabel||null)("aria-labelledby",a.ariaLabelledby||null)("aria-describedby",a.ariaDescribedby||null)}}var b=["*"],D=["mat-menu-item",""];function h(i,o){1&i&&(e.\u0275\u0275namespaceSVG(),e.\u0275\u0275elementStart(0,"svg",2),e.\u0275\u0275element(1,"polygon",3),e.\u0275\u0275elementEnd())}var O=function(){var i=function(o){(0,p.Z)(a,o);var r=(0,v.Z)(a);function a(l,c,f,C){var I;return(0,E.Z)(this,a),(I=r.call(this,l,c,f,C))._elevationPrefix="mat-elevation-z",I._baseElevation=4,I}return(0,y.Z)(a)}(n._MatMenuBase);return i.\u0275fac=function(r){return new(r||i)(e.\u0275\u0275directiveInject(e.ElementRef),e.\u0275\u0275directiveInject(e.NgZone),e.\u0275\u0275directiveInject(n.MAT_MENU_DEFAULT_OPTIONS),e.\u0275\u0275directiveInject(e.ChangeDetectorRef))},i.\u0275cmp=e.\u0275\u0275defineComponent({type:i,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(r,a){2&r&&e.\u0275\u0275attribute("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[e.\u0275\u0275ProvidersFeature([{provide:n.MAT_MENU_PANEL,useExisting:i}]),e.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:b,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(r,a){1&r&&(e.\u0275\u0275projectionDef(),e.\u0275\u0275template(0,T,3,6,"ng-template"))},dependencies:[u.NgClass],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px;position:relative}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[n.matMenuAnimations.transformMenu,n.matMenuAnimations.fadeInItems]},changeDetection:0}),i}(),_=function(){var i=function(o){(0,p.Z)(a,o);var r=(0,v.Z)(a);function a(){return(0,E.Z)(this,a),r.apply(this,arguments)}return(0,y.Z)(a)}(n.MatMenuItem);return i.\u0275fac=function(){var o;return function(a){return(o||(o=e.\u0275\u0275getInheritedFactory(i)))(a||i)}}(),i.\u0275cmp=e.\u0275\u0275defineComponent({type:i,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:20,hostBindings:function(r,a){2&r&&(e.\u0275\u0275attribute("role",a.role)("tabindex",a._getTabIndex())("aria-disabled",a.disabled.toString())("disabled",a.disabled||null),e.\u0275\u0275classProp("mat-menu-item",!0)("mat-menu-item-highlighted",a._highlighted)("mat-menu-item-submenu-trigger",a._triggersSubmenu)("mat-mdc-menu-item",!1)("mat-mdc-focus-indicator",!1)("mdc-list-item",!1)("mat-mdc-menu-item-highlighted",!1)("mat-mdc-menu-item-submenu-trigger",!1))},inputs:{disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matMenuItem"],features:[e.\u0275\u0275ProvidersFeature([{provide:n.MatMenuItem,useExisting:i}]),e.\u0275\u0275InheritDefinitionFeature],attrs:D,ngContentSelectors:b,decls:3,vars:3,consts:[["matRipple","",1,"mat-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-menu-submenu-icon","viewBox","0 0 5 10","focusable","false","aria-hidden","true",4,"ngIf"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(r,a){1&r&&(e.\u0275\u0275projectionDef(),e.\u0275\u0275projection(0),e.\u0275\u0275element(1,"div",0),e.\u0275\u0275template(2,h,2,0,"svg",1)),2&r&&(e.\u0275\u0275advance(1),e.\u0275\u0275property("matRippleDisabled",a.disableRipple||a.disabled)("matRippleTrigger",a._getHostElement()),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",a._triggersSubmenu))},dependencies:[u.NgIf,g.MatRipple],encapsulation:2,changeDetection:0}),i}(),M=function(){var i=function(o){(0,p.Z)(a,o);var r=(0,v.Z)(a);function a(){return(0,E.Z)(this,a),r.apply(this,arguments)}return(0,y.Z)(a)}(n._MatMenuTriggerBase);return i.\u0275fac=function(){var o;return function(a){return(o||(o=e.\u0275\u0275getInheritedFactory(i)))(a||i)}}(),i.\u0275dir=e.\u0275\u0275defineDirective({type:i,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[e.\u0275\u0275InheritDefinitionFeature]}),i}(),d=function(){var i=function(o){(0,p.Z)(a,o);var r=(0,v.Z)(a);function a(){return(0,E.Z)(this,a),r.apply(this,arguments)}return(0,y.Z)(a)}(n._MatMenuContentBase);return i.\u0275fac=function(){var o;return function(a){return(o||(o=e.\u0275\u0275getInheritedFactory(i)))(a||i)}}(),i.\u0275dir=e.\u0275\u0275defineDirective({type:i,selectors:[["ng-template","matMenuContent",""]],features:[e.\u0275\u0275ProvidersFeature([{provide:n.MAT_MENU_CONTENT,useExisting:i}]),e.\u0275\u0275InheritDefinitionFeature]}),i}(),s=function(){var i=(0,y.Z)(function o(){(0,E.Z)(this,o)});return i.\u0275fac=function(r){return new(r||i)},i.\u0275mod=e.\u0275\u0275defineNgModule({type:i}),i.\u0275inj=e.\u0275\u0275defineInjector({providers:[n.MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER],imports:[u.CommonModule,g.MatCommonModule,g.MatRippleModule,L.OverlayModule,m.CdkScrollableModule,g.MatCommonModule]}),i}()},87095:(P,A,t)=>{t.r(A),t.d(A,{LegacyPageEvent:()=>T.PageEvent,MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS:()=>i,MAT_LEGACY_PAGINATOR_INTL_PROVIDER:()=>T.MAT_PAGINATOR_INTL_PROVIDER,MAT_LEGACY_PAGINATOR_INTL_PROVIDER_FACTORY:()=>T.MAT_PAGINATOR_INTL_PROVIDER_FACTORY,MatLegacyPaginator:()=>o,MatLegacyPaginatorIntl:()=>T.MatPaginatorIntl,MatLegacyPaginatorModule:()=>r,_MatLegacyPaginatorBase:()=>T._MatPaginatorBase});var y=t(48047),E=t(78069),p=t(24582),v=t(28694),e=t(94055),n=t(56718),u=t(6606),g=t(72049),L=t(80565),m=t(67223),T=t(17018),b=t(30972),D=t(10233);function h(a,l){if(1&a&&(n.\u0275\u0275elementStart(0,"mat-option",19),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&a){var c=l.$implicit;n.\u0275\u0275property("value",c),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",c," ")}}function O(a,l){if(1&a){var c=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"mat-form-field",16)(1,"mat-select",17),n.\u0275\u0275listener("selectionChange",function(I){n.\u0275\u0275restoreView(c);var R=n.\u0275\u0275nextContext(2);return n.\u0275\u0275resetView(R._changePageSize(I.value))}),n.\u0275\u0275template(2,h,2,2,"mat-option",18),n.\u0275\u0275elementEnd()()}if(2&a){var f=n.\u0275\u0275nextContext(2);n.\u0275\u0275property("appearance",f._formFieldAppearance)("color",f.color),n.\u0275\u0275advance(1),n.\u0275\u0275property("value",f.pageSize)("disabled",f.disabled)("panelClass",f.selectConfig.panelClass||"")("disableOptionCentering",f.selectConfig.disableOptionCentering)("aria-label",f._intl.itemsPerPageLabel),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngForOf",f._displayedPageSizeOptions)}}function _(a,l){if(1&a&&(n.\u0275\u0275elementStart(0,"div",20),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&a){var c=n.\u0275\u0275nextContext(2);n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate(c.pageSize)}}function M(a,l){if(1&a&&(n.\u0275\u0275elementStart(0,"div",12)(1,"div",13),n.\u0275\u0275text(2),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(3,O,3,8,"mat-form-field",14),n.\u0275\u0275template(4,_,2,1,"div",15),n.\u0275\u0275elementEnd()),2&a){var c=n.\u0275\u0275nextContext();n.\u0275\u0275advance(2),n.\u0275\u0275textInterpolate1(" ",c._intl.itemsPerPageLabel," "),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",c._displayedPageSizeOptions.length>1),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",c._displayedPageSizeOptions.length<=1)}}function d(a,l){if(1&a){var c=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"button",21),n.\u0275\u0275listener("click",function(){n.\u0275\u0275restoreView(c);var I=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(I.firstPage())}),n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(1,"svg",7),n.\u0275\u0275element(2,"path",22),n.\u0275\u0275elementEnd()()}if(2&a){var f=n.\u0275\u0275nextContext();n.\u0275\u0275property("matTooltip",f._intl.firstPageLabel)("matTooltipDisabled",f._previousButtonsDisabled())("matTooltipPosition","above")("disabled",f._previousButtonsDisabled()),n.\u0275\u0275attribute("aria-label",f._intl.firstPageLabel)}}function s(a,l){if(1&a){var c=n.\u0275\u0275getCurrentView();n.\u0275\u0275namespaceSVG(),n.\u0275\u0275namespaceHTML(),n.\u0275\u0275elementStart(0,"button",23),n.\u0275\u0275listener("click",function(){n.\u0275\u0275restoreView(c);var I=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(I.lastPage())}),n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(1,"svg",7),n.\u0275\u0275element(2,"path",24),n.\u0275\u0275elementEnd()()}if(2&a){var f=n.\u0275\u0275nextContext();n.\u0275\u0275property("matTooltip",f._intl.lastPageLabel)("matTooltipDisabled",f._nextButtonsDisabled())("matTooltipPosition","above")("disabled",f._nextButtonsDisabled()),n.\u0275\u0275attribute("aria-label",f._intl.lastPageLabel)}}var i=new n.InjectionToken("MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS"),o=function(){var a=function(l){(0,p.Z)(f,l);var c=(0,v.Z)(f);function f(C,I,R){var B;return(0,E.Z)(this,f),B=c.call(this,C,I,R),R&&null!=R.formFieldAppearance&&(B._formFieldAppearance=R.formFieldAppearance),B}return(0,y.Z)(f)}(T._MatPaginatorBase);return a.\u0275fac=function(c){return new(c||a)(n.\u0275\u0275directiveInject(T.MatPaginatorIntl),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(i,8))},a.\u0275cmp=n.\u0275\u0275defineComponent({type:a,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[n.\u0275\u0275InheritDefinitionFeature],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","panelClass","disableOptionCentering","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(c,f){1&c&&(n.\u0275\u0275elementStart(0,"div",0)(1,"div",1),n.\u0275\u0275template(2,M,5,3,"div",2),n.\u0275\u0275elementStart(3,"div",3)(4,"div",4),n.\u0275\u0275text(5),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(6,d,3,5,"button",5),n.\u0275\u0275elementStart(7,"button",6),n.\u0275\u0275listener("click",function(){return f.previousPage()}),n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(8,"svg",7),n.\u0275\u0275element(9,"path",8),n.\u0275\u0275elementEnd()(),n.\u0275\u0275namespaceHTML(),n.\u0275\u0275elementStart(10,"button",9),n.\u0275\u0275listener("click",function(){return f.nextPage()}),n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(11,"svg",7),n.\u0275\u0275element(12,"path",10),n.\u0275\u0275elementEnd()(),n.\u0275\u0275template(13,s,3,5,"button",11),n.\u0275\u0275elementEnd()()()),2&c&&(n.\u0275\u0275advance(2),n.\u0275\u0275property("ngIf",!f.hidePageSize),n.\u0275\u0275advance(3),n.\u0275\u0275textInterpolate1(" ",f._intl.getRangeLabel(f.pageIndex,f.pageSize,f.length)," "),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",f.showFirstLastButtons),n.\u0275\u0275advance(1),n.\u0275\u0275property("matTooltip",f._intl.previousPageLabel)("matTooltipDisabled",f._previousButtonsDisabled())("matTooltipPosition","above")("disabled",f._previousButtonsDisabled()),n.\u0275\u0275attribute("aria-label",f._intl.previousPageLabel),n.\u0275\u0275advance(3),n.\u0275\u0275property("matTooltip",f._intl.nextPageLabel)("matTooltipDisabled",f._nextButtonsDisabled())("matTooltipPosition","above")("disabled",f._nextButtonsDisabled()),n.\u0275\u0275attribute("aria-label",f._intl.nextPageLabel),n.\u0275\u0275advance(3),n.\u0275\u0275property("ngIf",f.showFirstLastButtons))},dependencies:[e.NgForOf,e.NgIf,g.MatLegacyButton,b.MatLegacyFormField,L.MatLegacySelect,D.MatLegacyOption,m.MatLegacyTooltip],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{display:inline-block;width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}"],encapsulation:2,changeDetection:0}),a}(),r=function(){var a=(0,y.Z)(function l(){(0,E.Z)(this,l)});return a.\u0275fac=function(c){return new(c||a)},a.\u0275mod=n.\u0275\u0275defineNgModule({type:a}),a.\u0275inj=n.\u0275\u0275defineInjector({providers:[T.MAT_PAGINATOR_INTL_PROVIDER],imports:[e.CommonModule,g.MatLegacyButtonModule,L.MatLegacySelectModule,m.MatLegacyTooltipModule,u.MatCommonModule]}),a}()},15203:(P,A,t)=>{t.r(A),t.d(A,{MAT_LEGACY_RADIO_DEFAULT_OPTIONS:()=>T.MAT_RADIO_DEFAULT_OPTIONS,MAT_LEGACY_RADIO_DEFAULT_OPTIONS_FACTORY:()=>T.MAT_RADIO_DEFAULT_OPTIONS_FACTORY,MAT_LEGACY_RADIO_GROUP:()=>T.MAT_RADIO_GROUP,MAT_LEGACY_RADIO_GROUP_CONTROL_VALUE_ACCESSOR:()=>h,MatLegacyRadioButton:()=>_,MatLegacyRadioChange:()=>T.MatRadioChange,MatLegacyRadioGroup:()=>O,MatLegacyRadioModule:()=>M});var y=t(48047),E=t(78069),p=t(24582),v=t(28694),e=t(56718),n=t(6606),u=t(908),g=t(81382),L=t(47405),m=t(33401),T=t(27479),b=function(s){return{enterDuration:s}},D=["*"],h={provide:L.NG_VALUE_ACCESSOR,useExisting:(0,e.forwardRef)(function(){return O}),multi:!0},O=function(){var d=function(s){(0,p.Z)(o,s);var i=(0,v.Z)(o);function o(){return(0,E.Z)(this,o),i.apply(this,arguments)}return(0,y.Z)(o)}(T._MatRadioGroupBase);return d.\u0275fac=function(){var s;return function(o){return(s||(s=e.\u0275\u0275getInheritedFactory(d)))(o||d)}}(),d.\u0275dir=e.\u0275\u0275defineDirective({type:d,selectors:[["mat-radio-group"]],contentQueries:function(i,o,r){var a;1&i&&e.\u0275\u0275contentQuery(r,_,5),2&i&&e.\u0275\u0275queryRefresh(a=e.\u0275\u0275loadQuery())&&(o._radios=a)},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[e.\u0275\u0275ProvidersFeature([h,{provide:T.MAT_RADIO_GROUP,useExisting:d}]),e.\u0275\u0275InheritDefinitionFeature]}),d}(),_=function(){var d=function(s){(0,p.Z)(o,s);var i=(0,v.Z)(o);function o(r,a,l,c,f,C,I,R){return(0,E.Z)(this,o),i.call(this,r,a,l,c,f,C,I,R)}return(0,y.Z)(o)}(T._MatRadioButtonBase);return d.\u0275fac=function(i){return new(i||d)(e.\u0275\u0275directiveInject(T.MAT_RADIO_GROUP,8),e.\u0275\u0275directiveInject(e.ElementRef),e.\u0275\u0275directiveInject(e.ChangeDetectorRef),e.\u0275\u0275directiveInject(u.FocusMonitor),e.\u0275\u0275directiveInject(g.UniqueSelectionDispatcher),e.\u0275\u0275directiveInject(m.ANIMATION_MODULE_TYPE,8),e.\u0275\u0275directiveInject(T.MAT_RADIO_DEFAULT_OPTIONS,8),e.\u0275\u0275injectAttribute("tabindex"))},d.\u0275cmp=e.\u0275\u0275defineComponent({type:d,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(i,o){1&i&&e.\u0275\u0275listener("focus",function(){return o._inputElement.nativeElement.focus()}),2&i&&(e.\u0275\u0275attribute("tabindex",null)("id",o.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),e.\u0275\u0275classProp("mat-radio-checked",o.checked)("mat-radio-disabled",o.disabled)("_mat-animation-noopable",o._noopAnimations)("mat-primary","primary"===o.color)("mat-accent","accent"===o.color)("mat-warn","warn"===o.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[e.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:D,decls:13,vars:19,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input",3,"id","checked","disabled","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(i,o){if(1&i&&(e.\u0275\u0275projectionDef(),e.\u0275\u0275elementStart(0,"label",0,1)(2,"span",2),e.\u0275\u0275element(3,"span",3)(4,"span",4),e.\u0275\u0275elementStart(5,"input",5,6),e.\u0275\u0275listener("change",function(l){return o._onInputInteraction(l)})("click",function(l){return o._onInputClick(l)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"span",7),e.\u0275\u0275element(8,"span",8),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"span",9)(10,"span",10),e.\u0275\u0275text(11,"\xa0"),e.\u0275\u0275elementEnd(),e.\u0275\u0275projection(12),e.\u0275\u0275elementEnd()()),2&i){var r=e.\u0275\u0275reference(1);e.\u0275\u0275attribute("for",o.inputId),e.\u0275\u0275advance(5),e.\u0275\u0275property("id",o.inputId)("checked",o.checked)("disabled",o.disabled)("required",o.required),e.\u0275\u0275attribute("name",o.name)("value",o.value)("aria-label",o.ariaLabel)("aria-labelledby",o.ariaLabelledby)("aria-describedby",o.ariaDescribedby),e.\u0275\u0275advance(2),e.\u0275\u0275property("matRippleTrigger",r)("matRippleDisabled",o._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",e.\u0275\u0275pureFunction1(17,b,o._noopAnimations?0:150)),e.\u0275\u0275advance(2),e.\u0275\u0275classProp("mat-radio-label-before","before"==o.labelPosition)}},dependencies:[n.MatRipple],styles:['.mat-radio-button{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-radio-label{-webkit-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;opacity:0;transition:transform ease 280ms,background-color ease 280ms,opacity linear 1ms 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5);opacity:1;transition:transform ease 280ms,background-color ease 280ms}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-label-content{-webkit-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{opacity:0;position:absolute;top:0;left:0;margin:0;width:100%;height:100%;cursor:inherit;z-index:-1}.mat-radio-input:focus~.mat-focus-indicator::before{content:""}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}'],encapsulation:2,changeDetection:0}),d}(),M=function(){var d=(0,y.Z)(function s(){(0,E.Z)(this,s)});return d.\u0275fac=function(i){return new(i||d)},d.\u0275mod=e.\u0275\u0275defineNgModule({type:d}),d.\u0275inj=e.\u0275\u0275defineInjector({imports:[n.MatRippleModule,n.MatCommonModule,n.MatCommonModule]}),d}()},60783:(P,A,t)=>{t.r(A),t.d(A,{MAT_LEGACY_SLIDE_TOGGLE_DEFAULT_OPTIONS:()=>O,MAT_LEGACY_SLIDE_TOGGLE_REQUIRED_VALIDATOR:()=>T.MAT_SLIDE_TOGGLE_REQUIRED_VALIDATOR,MAT_LEGACY_SLIDE_TOGGLE_VALUE_ACCESSOR:()=>_,MatLegacySlideToggle:()=>d,MatLegacySlideToggleChange:()=>M,MatLegacySlideToggleModule:()=>s,MatLegacySlideToggleRequiredValidator:()=>T.MatSlideToggleRequiredValidator,_MatLegacySlideToggleBase:()=>T._MatSlideToggleBase,_MatLegacySlideToggleRequiredValidatorModule:()=>T._MatSlideToggleRequiredValidatorModule});var y=t(24582),E=t(28694),p=t(48047),v=t(78069),e=t(75321),n=t(56718),u=t(6606),g=t(908),L=t(47405),m=t(33401),T=t(13978),b=["input"],D=function(o){return{enterDuration:o}},h=["*"],O=new n.InjectionToken("mat-slide-toggle-default-options",{providedIn:"root",factory:function(){return{disableToggleValue:!1}}}),_={provide:L.NG_VALUE_ACCESSOR,useExisting:(0,n.forwardRef)(function(){return d}),multi:!0},M=(0,p.Z)(function i(o,r){(0,v.Z)(this,i),this.source=o,this.checked=r}),d=function(){var i=function(o){(0,y.Z)(a,o);var r=(0,E.Z)(a);function a(l,c,f,C,I,R){return(0,v.Z)(this,a),r.call(this,l,c,f,C,I,R,"mat-slide-toggle-")}return(0,p.Z)(a,[{key:"_createChangeEvent",value:function(c){return new M(this,c)}},{key:"_onChangeEvent",value:function(c){c.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}},{key:"_onInputClick",value:function(c){c.stopPropagation()}},{key:"focus",value:function(c,f){f?this._focusMonitor.focusVia(this._inputElement,f,c):this._inputElement.nativeElement.focus(c)}},{key:"_onLabelTextChange",value:function(){this._changeDetectorRef.detectChanges()}}]),a}(T._MatSlideToggleBase);return i.\u0275fac=function(r){return new(r||i)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(g.FocusMonitor),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275injectAttribute("tabindex"),n.\u0275\u0275directiveInject(O),n.\u0275\u0275directiveInject(m.ANIMATION_MODULE_TYPE,8))},i.\u0275cmp=n.\u0275\u0275defineComponent({type:i,selectors:[["mat-slide-toggle"]],viewQuery:function(r,a){var l;1&r&&n.\u0275\u0275viewQuery(b,5),2&r&&n.\u0275\u0275queryRefresh(l=n.\u0275\u0275loadQuery())&&(a._inputElement=l.first)},hostAttrs:[1,"mat-slide-toggle"],hostVars:13,hostBindings:function(r,a){2&r&&(n.\u0275\u0275hostProperty("id",a.id),n.\u0275\u0275attribute("tabindex",null)("aria-label",null)("aria-labelledby",null)("name",null),n.\u0275\u0275classProp("mat-checked",a.checked)("mat-disabled",a.disabled)("mat-slide-toggle-label-before","before"==a.labelPosition)("_mat-animation-noopable",a._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matSlideToggle"],features:[n.\u0275\u0275ProvidersFeature([_]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:h,decls:14,vars:20,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(r,a){if(1&r&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275elementStart(0,"label",0,1)(2,"span",2)(3,"input",3,4),n.\u0275\u0275listener("change",function(C){return a._onChangeEvent(C)})("click",function(C){return a._onInputClick(C)}),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(5,"span",5),n.\u0275\u0275element(6,"span",6),n.\u0275\u0275elementStart(7,"span",7),n.\u0275\u0275element(8,"span",8),n.\u0275\u0275elementEnd()()(),n.\u0275\u0275elementStart(9,"span",9,10),n.\u0275\u0275listener("cdkObserveContent",function(){return a._onLabelTextChange()}),n.\u0275\u0275elementStart(11,"span",11),n.\u0275\u0275text(12,"\xa0"),n.\u0275\u0275elementEnd(),n.\u0275\u0275projection(13),n.\u0275\u0275elementEnd()()),2&r){var l=n.\u0275\u0275reference(1),c=n.\u0275\u0275reference(10);n.\u0275\u0275attribute("for",a.inputId),n.\u0275\u0275advance(2),n.\u0275\u0275classProp("mat-slide-toggle-bar-no-side-margin",!c.textContent||!c.textContent.trim()),n.\u0275\u0275advance(1),n.\u0275\u0275property("id",a.inputId)("required",a.required)("tabIndex",a.tabIndex)("checked",a.checked)("disabled",a.disabled),n.\u0275\u0275attribute("name",a.name)("aria-checked",a.checked)("aria-label",a.ariaLabel)("aria-labelledby",a.ariaLabelledby)("aria-describedby",a.ariaDescribedby),n.\u0275\u0275advance(4),n.\u0275\u0275property("matRippleTrigger",l)("matRippleDisabled",a.disableRipple||a.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",n.\u0275\u0275pureFunction1(18,D,a._noopAnimations?0:150))}},dependencies:[u.MatRipple,e.CdkObserveContent],styles:['.mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{-webkit-user-select:none;user-select:none;display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%;display:block}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.mat-slide-toggle-input:focus~.mat-slide-toggle-thumb-container .mat-focus-indicator::before{content:""}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}'],encapsulation:2,changeDetection:0}),i}(),s=function(){var i=(0,p.Z)(function o(){(0,v.Z)(this,o)});return i.\u0275fac=function(r){return new(r||i)},i.\u0275mod=n.\u0275\u0275defineNgModule({type:i}),i.\u0275inj=n.\u0275\u0275defineInjector({imports:[T._MatSlideToggleRequiredValidatorModule,u.MatRippleModule,u.MatCommonModule,e.ObserversModule,T._MatSlideToggleRequiredValidatorModule,u.MatCommonModule]}),i}()},35271:(P,A,t)=>{t.r(A),t.d(A,{LegacySimpleSnackBar:()=>d,MAT_LEGACY_SNACK_BAR_DATA:()=>D.MAT_SNACK_BAR_DATA,MAT_LEGACY_SNACK_BAR_DEFAULT_OPTIONS:()=>D.MAT_SNACK_BAR_DEFAULT_OPTIONS,MAT_LEGACY_SNACK_BAR_DEFAULT_OPTIONS_FACTORY:()=>D.MAT_SNACK_BAR_DEFAULT_OPTIONS_FACTORY,MatLegacySnackBar:()=>o,MatLegacySnackBarConfig:()=>D.MatSnackBarConfig,MatLegacySnackBarContainer:()=>s,MatLegacySnackBarModule:()=>i,MatLegacySnackBarRef:()=>D.MatSnackBarRef,_MatLegacySnackBarBase:()=>D._MatSnackBarBase,_MatLegacySnackBarContainerBase:()=>D._MatSnackBarContainerBase,matLegacySnackBarAnimations:()=>D.matSnackBarAnimations});var y=t(4089),E=t(20265),p=t(24582),v=t(28694),e=t(78069),n=t(48047),u=t(43662),g=t(18142),L=t(94055),m=t(56718),T=t(6606),b=t(72049),D=t(4149),h=t(908),O=t(25121);function _(r,a){if(1&r){var l=m.\u0275\u0275getCurrentView();m.\u0275\u0275elementStart(0,"div",2)(1,"button",3),m.\u0275\u0275listener("click",function(){m.\u0275\u0275restoreView(l);var C=m.\u0275\u0275nextContext();return m.\u0275\u0275resetView(C.action())}),m.\u0275\u0275text(2),m.\u0275\u0275elementEnd()()}if(2&r){var c=m.\u0275\u0275nextContext();m.\u0275\u0275advance(2),m.\u0275\u0275textInterpolate(c.data.action)}}function M(r,a){}var d=function(){var r=function(){function a(l,c){(0,e.Z)(this,a),this.snackBarRef=l,this.data=c}return(0,n.Z)(a,[{key:"action",value:function(){this.snackBarRef.dismissWithAction()}},{key:"hasAction",get:function(){return!!this.data.action}}]),a}();return r.\u0275fac=function(l){return new(l||r)(m.\u0275\u0275directiveInject(D.MatSnackBarRef),m.\u0275\u0275directiveInject(D.MAT_SNACK_BAR_DATA))},r.\u0275cmp=m.\u0275\u0275defineComponent({type:r,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[[1,"mat-simple-snack-bar-content"],["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(l,c){1&l&&(m.\u0275\u0275elementStart(0,"span",0),m.\u0275\u0275text(1),m.\u0275\u0275elementEnd(),m.\u0275\u0275template(2,_,3,1,"div",1)),2&l&&(m.\u0275\u0275advance(1),m.\u0275\u0275textInterpolate(c.data.message),m.\u0275\u0275advance(1),m.\u0275\u0275property("ngIf",c.hasAction))},dependencies:[L.NgIf,b.MatLegacyButton],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}.mat-simple-snack-bar-content{overflow:hidden;text-overflow:ellipsis}"],encapsulation:2,changeDetection:0}),r}(),s=function(){var r=function(a){(0,p.Z)(c,a);var l=(0,v.Z)(c);function c(){return(0,e.Z)(this,c),l.apply(this,arguments)}return(0,n.Z)(c,[{key:"_afterPortalAttached",value:function(){(0,y.Z)((0,E.Z)(c.prototype),"_afterPortalAttached",this).call(this),"center"===this.snackBarConfig.horizontalPosition&&this._elementRef.nativeElement.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&this._elementRef.nativeElement.classList.add("mat-snack-bar-top")}}]),c}(D._MatSnackBarContainerBase);return r.\u0275fac=function(){var a;return function(c){return(a||(a=m.\u0275\u0275getInheritedFactory(r)))(c||r)}}(),r.\u0275cmp=m.\u0275\u0275defineComponent({type:r,selectors:[["snack-bar-container"]],hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(l,c){1&l&&m.\u0275\u0275syntheticHostListener("@state.done",function(C){return c.onAnimationEnd(C)}),2&l&&m.\u0275\u0275syntheticHostProperty("@state",c._animationState)},features:[m.\u0275\u0275InheritDefinitionFeature],decls:3,vars:3,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(l,c){1&l&&(m.\u0275\u0275elementStart(0,"div",0),m.\u0275\u0275template(1,M,0,0,"ng-template",1),m.\u0275\u0275elementEnd(),m.\u0275\u0275element(2,"div")),2&l&&(m.\u0275\u0275advance(2),m.\u0275\u0275attribute("aria-live",c._live)("role",c._role)("id",c._liveElementId))},dependencies:[g.CdkPortalOutlet],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}"],encapsulation:2,data:{animation:[D.matSnackBarAnimations.snackBarState]}}),r}(),i=function(){var r=(0,n.Z)(function a(){(0,e.Z)(this,a)});return r.\u0275fac=function(l){return new(l||r)},r.\u0275mod=m.\u0275\u0275defineNgModule({type:r}),r.\u0275inj=m.\u0275\u0275defineInjector({imports:[u.OverlayModule,g.PortalModule,L.CommonModule,b.MatLegacyButtonModule,T.MatCommonModule,T.MatCommonModule]}),r}(),o=function(){var r=function(a){(0,p.Z)(c,a);var l=(0,v.Z)(c);function c(f,C,I,R,B,k){var S;return(0,e.Z)(this,c),(S=l.call(this,f,C,I,R,B,k)).simpleSnackBarComponent=d,S.snackBarContainerComponent=s,S.handsetCssClass="mat-snack-bar-handset",S}return(0,n.Z)(c)}(D._MatSnackBarBase);return r.\u0275fac=function(l){return new(l||r)(m.\u0275\u0275inject(u.Overlay),m.\u0275\u0275inject(h.LiveAnnouncer),m.\u0275\u0275inject(m.Injector),m.\u0275\u0275inject(O.BreakpointObserver),m.\u0275\u0275inject(r,12),m.\u0275\u0275inject(D.MAT_SNACK_BAR_DEFAULT_OPTIONS))},r.\u0275prov=m.\u0275\u0275defineInjectable({token:r,factory:r.\u0275fac,providedIn:i}),r}()},39826:(P,A,t)=>{t.r(A),t.d(A,{LEGACY_SCROLL_THROTTLE_MS:()=>O.SCROLL_THROTTLE_MS,LegacyTooltipComponent:()=>s,MAT_LEGACY_TOOLTIP_DEFAULT_OPTIONS:()=>O.MAT_TOOLTIP_DEFAULT_OPTIONS,MAT_LEGACY_TOOLTIP_DEFAULT_OPTIONS_FACTORY:()=>O.MAT_TOOLTIP_DEFAULT_OPTIONS_FACTORY,MAT_LEGACY_TOOLTIP_SCROLL_STRATEGY:()=>O.MAT_TOOLTIP_SCROLL_STRATEGY,MAT_LEGACY_TOOLTIP_SCROLL_STRATEGY_FACTORY:()=>O.MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY,MAT_LEGACY_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>O.MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER,MatLegacyTooltip:()=>d,MatLegacyTooltipModule:()=>i,getMatLegacyTooltipInvalidPositionError:()=>O.getMatTooltipInvalidPositionError,matLegacyTooltipAnimations:()=>o});var y=t(48047),E=t(78069),p=t(24582),v=t(28694),e=t(43662),n=t(908),u=t(94055),g=t(56718),L=t(6606),m=t(93168),T=t(43068),b=t(25121),D=t(23675),h=t(33401),O=t(63251),_=t(72223),M=["tooltip"],d=function(){var r=function(a){(0,p.Z)(c,a);var l=(0,v.Z)(c);function c(f,C,I,R,B,k,S,x,F,U,w,j){var N;return(0,E.Z)(this,c),(N=l.call(this,f,C,I,R,B,k,S,x,F,U,w,j))._tooltipComponent=s,N}return(0,y.Z)(c)}(O._MatTooltipBase);return r.\u0275fac=function(l){return new(l||r)(g.\u0275\u0275directiveInject(e.Overlay),g.\u0275\u0275directiveInject(g.ElementRef),g.\u0275\u0275directiveInject(m.ScrollDispatcher),g.\u0275\u0275directiveInject(g.ViewContainerRef),g.\u0275\u0275directiveInject(g.NgZone),g.\u0275\u0275directiveInject(D.Platform),g.\u0275\u0275directiveInject(n.AriaDescriber),g.\u0275\u0275directiveInject(n.FocusMonitor),g.\u0275\u0275directiveInject(O.MAT_TOOLTIP_SCROLL_STRATEGY),g.\u0275\u0275directiveInject(T.Directionality,8),g.\u0275\u0275directiveInject(O.MAT_TOOLTIP_DEFAULT_OPTIONS,8),g.\u0275\u0275directiveInject(u.DOCUMENT))},r.\u0275dir=g.\u0275\u0275defineDirective({type:r,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[g.\u0275\u0275InheritDefinitionFeature]}),r}(),s=function(){var r=function(a){(0,p.Z)(c,a);var l=(0,v.Z)(c);function c(f,C,I){var R;return(0,E.Z)(this,c),(R=l.call(this,f,I))._showAnimation="mat-tooltip-show",R._hideAnimation="mat-tooltip-hide",R._isHandset=C.observe(b.Breakpoints.Handset),R}return(0,y.Z)(c)}(O._TooltipComponentBase);return r.\u0275fac=function(l){return new(l||r)(g.\u0275\u0275directiveInject(g.ChangeDetectorRef),g.\u0275\u0275directiveInject(b.BreakpointObserver),g.\u0275\u0275directiveInject(h.ANIMATION_MODULE_TYPE,8))},r.\u0275cmp=g.\u0275\u0275defineComponent({type:r,selectors:[["mat-tooltip-component"]],viewQuery:function(l,c){var f;1&l&&g.\u0275\u0275viewQuery(M,7),2&l&&g.\u0275\u0275queryRefresh(f=g.\u0275\u0275loadQuery())&&(c._tooltip=f.first)},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(l,c){1&l&&g.\u0275\u0275listener("mouseleave",function(C){return c._handleMouseLeave(C)}),2&l&&g.\u0275\u0275styleProp("zoom",c.isVisible()?1:null)},features:[g.\u0275\u0275InheritDefinitionFeature],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(l,c){var f;1&l&&(g.\u0275\u0275elementStart(0,"div",0,1),g.\u0275\u0275listener("animationend",function(I){return c._handleAnimationEnd(I)}),g.\u0275\u0275pipe(2,"async"),g.\u0275\u0275text(3),g.\u0275\u0275elementEnd()),2&l&&(g.\u0275\u0275classProp("mat-tooltip-handset",null==(f=g.\u0275\u0275pipeBind1(2,4,c._isHandset))?null:f.matches),g.\u0275\u0275property("ngClass",c.tooltipClass),g.\u0275\u0275advance(3),g.\u0275\u0275textInterpolate(c.message))},dependencies:[u.NgClass,u.AsyncPipe],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}"],encapsulation:2,changeDetection:0}),r}(),i=function(){var r=(0,y.Z)(function a(){(0,E.Z)(this,a)});return r.\u0275fac=function(l){return new(l||r)},r.\u0275mod=g.\u0275\u0275defineNgModule({type:r}),r.\u0275inj=g.\u0275\u0275defineInjector({providers:[O.MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER],imports:[n.A11yModule,u.CommonModule,e.OverlayModule,L.MatCommonModule,L.MatCommonModule,m.CdkScrollableModule]}),r}(),o={tooltipState:(0,_.X$)("state",[(0,_.SB)("initial, void, hidden",(0,_.oB)({opacity:0,transform:"scale(0)"})),(0,_.SB)("visible",(0,_.oB)({transform:"scale(1)"})),(0,_.eR)("* => visible",(0,_.jt)("200ms cubic-bezier(0, 0, 0.2, 1)",(0,_.F4)([(0,_.oB)({opacity:0,transform:"scale(0)",offset:0}),(0,_.oB)({opacity:.5,transform:"scale(0.99)",offset:.5}),(0,_.oB)({opacity:1,transform:"scale(1)",offset:1})]))),(0,_.eR)("* => hidden",(0,_.jt)("100ms cubic-bezier(0, 0, 0.2, 1)",(0,_.oB)({opacity:0})))])}},15312:(P,A,t)=>{t.r(A),t.d(A,{MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS:()=>D,MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY:()=>h,MatProgressSpinner:()=>M,MatProgressSpinnerModule:()=>s,MatSpinner:()=>d});var y=t(24582),E=t(28694),p=t(48047),v=t(78069),e=t(56718),n=t(6606),u=t(33401),g=t(35333),L=t(94055),m=["determinateSpinner"];function T(i,o){if(1&i&&(e.\u0275\u0275namespaceSVG(),e.\u0275\u0275elementStart(0,"svg",11),e.\u0275\u0275element(1,"circle",12),e.\u0275\u0275elementEnd()),2&i){var r=e.\u0275\u0275nextContext();e.\u0275\u0275attribute("viewBox",r._viewBox()),e.\u0275\u0275advance(1),e.\u0275\u0275styleProp("stroke-dasharray",r._strokeCircumference(),"px")("stroke-dashoffset",r._strokeCircumference()/2,"px")("stroke-width",r._circleStrokeWidth(),"%"),e.\u0275\u0275attribute("r",r._circleRadius())}}var b=(0,n.mixinColor)(function(){return(0,p.Z)(function i(o){(0,v.Z)(this,i),this._elementRef=o})}(),"primary"),D=new e.InjectionToken("mat-progress-spinner-default-options",{providedIn:"root",factory:h});function h(){return{diameter:O}}var O=100,M=function(){var i=function(o){(0,y.Z)(a,o);var r=(0,E.Z)(a);function a(l,c,f){var C;return(0,v.Z)(this,a),(C=r.call(this,l)).mode="mat-spinner"===C._elementRef.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",C._value=0,C._diameter=O,C._noopAnimations="NoopAnimations"===c&&!!f&&!f._forceAnimations,f&&(f.color&&(C.color=C.defaultColor=f.color),f.diameter&&(C.diameter=f.diameter),f.strokeWidth&&(C.strokeWidth=f.strokeWidth)),C}return(0,p.Z)(a,[{key:"value",get:function(){return"determinate"===this.mode?this._value:0},set:function(c){this._value=Math.max(0,Math.min(100,(0,g.coerceNumberProperty)(c)))}},{key:"diameter",get:function(){return this._diameter},set:function(c){this._diameter=(0,g.coerceNumberProperty)(c)}},{key:"strokeWidth",get:function(){var c;return null!==(c=this._strokeWidth)&&void 0!==c?c:this.diameter/10},set:function(c){this._strokeWidth=(0,g.coerceNumberProperty)(c)}},{key:"_circleRadius",value:function(){return(this.diameter-10)/2}},{key:"_viewBox",value:function(){var c=2*this._circleRadius()+this.strokeWidth;return"0 0 ".concat(c," ").concat(c)}},{key:"_strokeCircumference",value:function(){return 2*Math.PI*this._circleRadius()}},{key:"_strokeDashOffset",value:function(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null}},{key:"_circleStrokeWidth",value:function(){return this.strokeWidth/this.diameter*100}}]),a}(b);return i.\u0275fac=function(r){return new(r||i)(e.\u0275\u0275directiveInject(e.ElementRef),e.\u0275\u0275directiveInject(u.ANIMATION_MODULE_TYPE,8),e.\u0275\u0275directiveInject(D))},i.\u0275cmp=e.\u0275\u0275defineComponent({type:i,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(r,a){var l;1&r&&e.\u0275\u0275viewQuery(m,5),2&r&&e.\u0275\u0275queryRefresh(l=e.\u0275\u0275loadQuery())&&(a._determinateCircle=l.first)},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:16,hostBindings:function(r,a){2&r&&(e.\u0275\u0275attribute("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===a.mode?a.value:null)("mode",a.mode),e.\u0275\u0275styleProp("width",a.diameter,"px")("height",a.diameter,"px")("--mdc-circular-progress-size",a.diameter+"px")("--mdc-circular-progress-active-indicator-width",a.diameter+"px"),e.\u0275\u0275classProp("_mat-animation-noopable",a._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===a.mode))},inputs:{color:"color",mode:"mode",value:"value",diameter:"diameter",strokeWidth:"strokeWidth"},exportAs:["matProgressSpinner"],features:[e.\u0275\u0275InheritDefinitionFeature],decls:14,vars:11,consts:[["circle",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["determinateSpinner",""],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(r,a){if(1&r&&(e.\u0275\u0275template(0,T,2,8,"ng-template",null,0,e.\u0275\u0275templateRefExtractor),e.\u0275\u0275elementStart(2,"div",1,2),e.\u0275\u0275namespaceSVG(),e.\u0275\u0275elementStart(4,"svg",3),e.\u0275\u0275element(5,"circle",4),e.\u0275\u0275elementEnd()(),e.\u0275\u0275namespaceHTML(),e.\u0275\u0275elementStart(6,"div",5)(7,"div",6)(8,"div",7),e.\u0275\u0275elementContainer(9,8),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"div",9),e.\u0275\u0275elementContainer(11,8),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(12,"div",10),e.\u0275\u0275elementContainer(13,8),e.\u0275\u0275elementEnd()()()),2&r){var l=e.\u0275\u0275reference(1);e.\u0275\u0275advance(4),e.\u0275\u0275attribute("viewBox",a._viewBox()),e.\u0275\u0275advance(1),e.\u0275\u0275styleProp("stroke-dasharray",a._strokeCircumference(),"px")("stroke-dashoffset",a._strokeDashOffset(),"px")("stroke-width",a._circleStrokeWidth(),"%"),e.\u0275\u0275attribute("r",a._circleRadius()),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngTemplateOutlet",l),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngTemplateOutlet",l),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngTemplateOutlet",l)}},dependencies:[L.NgTemplateOutlet],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner{--mdc-circular-progress-active-indicator-width:4px;--mdc-circular-progress-size:48px}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner .mdc-circular-progress{width:var(--mdc-circular-progress-size) !important;height:var(--mdc-circular-progress-size) !important}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0}),i}(),d=M,s=function(){var i=(0,p.Z)(function o(){(0,v.Z)(this,o)});return i.\u0275fac=function(r){return new(r||i)},i.\u0275mod=e.\u0275\u0275defineNgModule({type:i}),i.\u0275inj=e.\u0275\u0275defineInjector({imports:[L.CommonModule,n.MatCommonModule]}),i}()},46322:(P,A,t)=>{t.r(A),t.d(A,{MatToolbar:()=>D,MatToolbarModule:()=>O,MatToolbarRow:()=>b,throwToolbarMixedModesError:()=>h});var y=t(24582),E=t(28694),p=t(48047),v=t(78069),e=t(56718),n=t(6606),u=t(23675),g=t(94055),L=["*",[["mat-toolbar-row"]]],m=["*","mat-toolbar-row"],T=(0,n.mixinColor)(function(){return(0,p.Z)(function _(M){(0,v.Z)(this,_),this._elementRef=M})}()),b=function(){var _=(0,p.Z)(function M(){(0,v.Z)(this,M)});return _.\u0275fac=function(d){return new(d||_)},_.\u0275dir=e.\u0275\u0275defineDirective({type:_,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),_}(),D=function(){var _=function(M){(0,y.Z)(s,M);var d=(0,E.Z)(s);function s(i,o,r){var a;return(0,v.Z)(this,s),(a=d.call(this,i))._platform=o,a._document=r,a}return(0,p.Z)(s,[{key:"ngAfterViewInit",value:function(){var o=this;this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(function(){return o._checkToolbarMixedModes()}))}},{key:"_checkToolbarMixedModes",value:function(){}}]),s}(T);return _.\u0275fac=function(d){return new(d||_)(e.\u0275\u0275directiveInject(e.ElementRef),e.\u0275\u0275directiveInject(u.Platform),e.\u0275\u0275directiveInject(g.DOCUMENT))},_.\u0275cmp=e.\u0275\u0275defineComponent({type:_,selectors:[["mat-toolbar"]],contentQueries:function(d,s,i){var o;1&d&&e.\u0275\u0275contentQuery(i,b,5),2&d&&e.\u0275\u0275queryRefresh(o=e.\u0275\u0275loadQuery())&&(s._toolbarRows=o)},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(d,s){2&d&&e.\u0275\u0275classProp("mat-toolbar-multiple-rows",s._toolbarRows.length>0)("mat-toolbar-single-row",0===s._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[e.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:m,decls:2,vars:0,template:function(d,s){1&d&&(e.\u0275\u0275projectionDef(L),e.\u0275\u0275projection(0),e.\u0275\u0275projection(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color: inherit;--mdc-outlined-button-label-text-color: inherit}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}"],encapsulation:2,changeDetection:0}),_}();function h(){throw Error("MatToolbar: Attempting to combine different toolbar modes. Either specify multiple `<mat-toolbar-row>` elements explicitly or just place content inside of a `<mat-toolbar>` for a single row.")}var O=function(){var _=(0,p.Z)(function M(){(0,v.Z)(this,M)});return _.\u0275fac=function(d){return new(d||_)},_.\u0275mod=e.\u0275\u0275defineNgModule({type:_}),_.\u0275inj=e.\u0275\u0275defineInjector({imports:[n.MatCommonModule,n.MatCommonModule]}),_}()},56922:(P,A,t)=>{t.r(A),t.d(A,{CONTENT_PLUGIN:()=>_,ContentBinding:()=>D,ContentInstance:()=>h,ContentModule:()=>T,ContentPlugin:()=>b,ContentPluginEditorOptions:()=>O,ContentPluginManager:()=>M});var y=t(24582),E=t(28694),p=t(48047),v=t(78069),e=t(56718),n=t(94055),u=t(68488),g=t(25813),L=t(10745),m=t(8154),T=function(){var d=(0,p.Z)(function s(){(0,v.Z)(this,s)});return d.\u0275fac=function(i){return new(i||d)},d.\u0275mod=e.\u0275\u0275defineNgModule({type:d}),d.\u0275inj=e.\u0275\u0275defineInjector({imports:[n.CommonModule]}),d}(),b=function(d){(0,y.Z)(i,d);var s=(0,E.Z)(i);function i(o){var r;return(0,v.Z)(this,i),(r=s.call(this,o)).fileTypes=[],o&&(r.name=r.id,r.handler=void 0!==o.handler?o.handler:void 0,r.selectionComponent=o.selectionComponent?o.selectionComponent:void 0,r.renderComponent=o.renderComponent?o.renderComponent:void 0,r.editorComponent=o.editorComponent?o.editorComponent:void 0),r}return(0,p.Z)(i)}(g.Plugin),D=(0,p.Z)(function d(s){(0,v.Z)(this,d),s&&(this.type=s.type,this.id=s.id)}),h=(0,p.Z)(function d(s){(0,v.Z)(this,d),this.settings=[],s&&(this.pluginName=s.pluginName,s.settings&&(this.settings=s.settings.map(function(i){return new u.AttributeValue(i)})))}),O=(0,p.Z)(function d(s){(0,v.Z)(this,d),this.fullscreen=!1,s&&(this.fullscreen=s.fullscreen)}),_=new e.InjectionToken("ContentPlugin"),M=function(){var d=function(s){(0,y.Z)(o,s);var i=(0,E.Z)(o);function o(r,a){return(0,v.Z)(this,o),i.call(this,r,a)}return(0,p.Z)(o,[{key:"pluginDef",value:function(){return(0,L.of)(new g.PluginDef({name:"content"}))}}]),o}(g.BasePluginManager);return d.\u0275fac=function(i){return new(i||d)(e.\u0275\u0275inject(g.PluginConfigurationManager),e.\u0275\u0275inject(m.ModuleLoaderService))},d.\u0275prov=e.\u0275\u0275defineInjectable({token:d,factory:d.\u0275fac,providedIn:"root"}),d}()},56263:(P,A,t)=>{t.r(A),t.d(A,{BasePluginManager:()=>D,ConfigDiscovery:()=>b,Plugin:()=>O,PluginConfig:()=>h,PluginConfigModule:()=>M,PluginConfigurationManager:()=>T,PluginDef:()=>_,PluginModule:()=>m});var y=t(86170),E=t(48047),p=t(78069),v=t(56718),e=t(8154),n=t(10745),u=t(91640),g=t(50635),L=t(32673),m=function(){var d=(0,E.Z)(function s(){(0,p.Z)(this,s)});return d.\u0275fac=function(i){return new(i||d)},d.\u0275mod=v.\u0275\u0275defineNgModule({type:d}),d.\u0275inj=v.\u0275\u0275defineInjector({imports:[e.UtilsModule]}),d}(),T=function(){var d=function(){function s(){(0,p.Z)(this,s),this.configs=[]}return(0,E.Z)(s,[{key:"addConfig",value:function(o){this.configs.push(o)}},{key:"getConfigs",value:function(){return this.configs}}]),s}();return d.\u0275fac=function(i){return new(i||d)},d.\u0275prov=v.\u0275\u0275defineInjectable({token:d,factory:d.\u0275fac,providedIn:"root"}),d}(),b=function(){var d=function(){function s(i,o){(0,p.Z)(this,s),this.pcm=i,this.moduleLoader=o}return(0,E.Z)(s,[{key:"loadPlugins",value:function(o){for(var r=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],l=this.pcm.getConfigs(),c=l.length,f=[],C=function(B){for(var k=l[B].modules.length,S=function(U){l[B].modules[U].plugins.has(o.name)&&(0===a.length||a.some(function(w){return l[B].modules[U].plugins.get(o.name).findIndex(function(j){return j===w})>-1}))&&f.push(r.moduleLoader.loadModule(l[B].modules[U].module))},x=0;x<k;x++)S(x)},I=0;I<c;I++)C(I);return 0===f.length?(0,n.of)(!0):(0,u.D)(f).pipe((0,g.U)(function(){return!0}))}}]),s}();return d.\u0275fac=function(i){return new(i||d)(v.\u0275\u0275inject(T),v.\u0275\u0275inject(e.ModuleLoaderService))},d.\u0275prov=v.\u0275\u0275defineInjectable({token:d,factory:d.\u0275fac,providedIn:"root"}),d}(),D=function(){function d(s,i){(0,p.Z)(this,d),this.pcm=s,this.moduleLoader=i,this.pluginInstances=new Map,this.discoveryPipeline=[],this.discovery()}return(0,E.Z)(d,[{key:"discovery",value:function(){this.discoveryPipeline.push(new b(this.pcm,this.moduleLoader))}},{key:"addDiscovery",value:function(i){this.discoveryPipeline.push(i)}},{key:"register",value:function(i){this.pluginInstances.set(i.id,i)}},{key:"getPlugins",value:function(i){var o=this,r=i?i.filter(function(a){return!o.pluginInstances.has(a)}):[];return i&&0===r.length?(0,n.of)(new Map(i.map(function(a){return[a,o.pluginInstances.get(a)]}))):this.pluginDef().pipe((0,L.w)(function(a){return(0,u.D)(o.discoveryPipeline.map(function(l){return l.loadPlugins(a,r)})).pipe((0,g.U)(function(){return i?new Map(i.map(function(l){return[l,o.pluginInstances.get(l)]})):o.pluginInstances}))}))}},{key:"getPlugin",value:function(i){var o=this;return this.pluginInstances.has(i)?(0,n.of)(this.pluginInstances.get(i)):this.pluginDef().pipe((0,L.w)(function(r){return(0,u.D)(o.discoveryPipeline.map(function(a){return a.loadPlugins(r,[i])})).pipe((0,g.U)(function(){return o.pluginInstances.get(i)}))}))}}]),d}(),h=(0,E.Z)(function d(s){(0,p.Z)(this,d),this.modules=[],s&&s.modules&&(this.modules=s.modules.map(function(i){return new M(i)}))}),O=(0,E.Z)(function d(s){(0,p.Z)(this,d),s&&(this.id=s.id,this.title=s.title)}),_=(0,E.Z)(function d(s){(0,p.Z)(this,d),s&&(this.name=s.name)}),M=(0,E.Z)(function d(s){(0,p.Z)(this,d),s&&(this.module=s.module,s.plugins&&(this.plugins=new Map((0,y.Z)(s.plugins))))})},78069:(P,A,t)=>{function y(E,p){if(!(E instanceof p))throw new TypeError("Cannot call a class as a function")}t.d(A,{Z:()=>y})},32162:(P,A,t)=>{t.d(A,{Z:()=>p});var y=t(10006),E=t(98568);function p(v,e,n){return(p=(0,E.Z)()?Reflect.construct.bind():function(g,L,m){var T=[null];T.push.apply(T,L);var D=new(Function.bind.apply(g,T));return m&&(0,y.Z)(D,m.prototype),D}).apply(null,arguments)}},48047:(P,A,t)=>{t.d(A,{Z:()=>p});var y=t(51299);function E(v,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(v,(0,y.Z)(u.key),u)}}function p(v,e,n){return e&&E(v.prototype,e),n&&E(v,n),Object.defineProperty(v,"prototype",{writable:!1}),v}},60609:(P,A,t)=>{t.d(A,{Z:()=>e});var y=t(8091),E=t(4826),p=t(44206),v=t(8217);function e(n){return(0,y.Z)(n)||(0,E.Z)(n)||(0,p.Z)(n)||(0,v.Z)()}},51299:(P,A,t)=>{t.d(A,{Z:()=>p});var y=t(43445);function p(v){var e=function E(v,e){if("object"!==(0,y.Z)(v)||null===v)return v;var n=v[Symbol.toPrimitive];if(void 0!==n){var u=n.call(v,e||"default");if("object"!==(0,y.Z)(u))return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(v)}(v,"string");return"symbol"===(0,y.Z)(e)?e:String(e)}},43445:(P,A,t)=>{function y(E){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(p){return typeof p}:function(p){return p&&"function"==typeof Symbol&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p})(E)}t.d(A,{Z:()=>y})},62902:(P,A,t)=>{t.d(A,{Z:()=>e});var y=t(20265),E=t(10006),v=t(32162);function e(n){var u="function"==typeof Map?new Map:void 0;return e=function(L){if(null===L||!function p(n){return-1!==Function.toString.call(n).indexOf("[native code]")}(L))return L;if("function"!=typeof L)throw new TypeError("Super expression must either be null or a function");if(typeof u<"u"){if(u.has(L))return u.get(L);u.set(L,m)}function m(){return(0,v.Z)(L,arguments,(0,y.Z)(this).constructor)}return m.prototype=Object.create(L.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}),(0,E.Z)(m,L)},e(n)}}}]); +//# sourceMappingURL=common.d501fa65ebd77cd6.js.map \ No newline at end of file diff --git a/common.d501fa65ebd77cd6.js.map b/common.d501fa65ebd77cd6.js.map new file mode 100644 index 0000000..2b63d1b --- /dev/null +++ b/common.d501fa65ebd77cd6.js.map @@ -0,0 +1 @@ +{"version":3,"file":"common.d501fa65ebd77cd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,YAAhB,EAASI,EAAA3B,GAAOluB,KAAAkwB,OAAAlwB,EAChB,mBELe,SAAAmwB,EAAAC,GAGf,OAAAD,EAAA,mBAAAJ,QAAA,iBAAAA,OAAAM,SAAA,SAAAD,GACA,cAAAA,CACA,EAAI,SAAAA,GACJ,OAAAA,GAAA,mBAAAL,QAAAK,EAAAE,cAAAP,QAAAK,IAAAL,OAAA/lB,UAAA,gBAAAomB,CACA,GAAGA,EACH,yFCJe,SAAAG,EAAAvC,GACf,IAAAwC,EAAA,mBAAA7D,IAAA,IAAAA,SAAA,EACA,OAAA4D,EAAA,SAAAvC,GACA,UAAAA,ICPe,SAAAyC,EAAAC,GACf,WAAAnC,SAAArkB,SAAAmD,KAAAqjB,GAAAriB,QAAA,gBACA,CDK2BoiB,CAAgBzC,GAAA,OAAAA,EAC3C,sBAAAA,EACA,UAAAJ,UAAA,sDAEA,UAAA4C,EAAA,KACA,GAAAA,EAAAtE,IAAA8B,GAAA,OAAAwC,EAAAvwB,IAAA+tB,GACAwC,EAAAtwB,IAAA8tB,EAAA2C,EAAA,CAEA,SAAAA,IACA,SAAavC,EAAAF,GAASF,EAAA7vB,WAAA,EAAmByyB,EAAA1C,GAAc1uB,MAAA8wB,YACvD,CACA,OAAAK,EAAA3mB,UAAAT,OAAAsnB,OAAA7C,EAAAhkB,UAAA,CACAsmB,YAAA,CACAvxB,MAAA4xB,EACA/B,YAAA,EACAE,UAAA,EACAD,cAAA,MAEK,EACMiC,EAAA5C,GAAcyC,EAAA3C,EACzB,EACAuC,EAAAvC,EACA","names":["scan","accumulator","seed","operate","scanInternals","arguments","length","hasSeed","emitOnNext","emitBeforeComplete","source","subscriber","hasState","state","index","subscribe","createOperatorSubscriber","value","i","next","complete","nextId$1","CDK_ACCORDION","InjectionToken","CdkAccordion","_classCallCheck","this","_stateChanges","Subject","_openCloseAllActions","id","concat","_multi","_createClass","key","get","set","multi","coerceBooleanProperty","changes","ɵfac","t","ɵdir","i0","type","selectors","inputs","exportAs","features","provide","useExisting","nextId","CdkAccordionItem","accordion","_changeDetectorRef","_expansionDispatcher","_this","_openCloseAllSubscription","Subscription","closed","EventEmitter","opened","destroyed","expandedChange","_expanded","_disabled","_removeUniqueSelectionListener","listen","accordionId","expanded","_subscribeToOpenCloseAllActions","emit","notify","markForCheck","disabled","unsubscribe","_this2","i1","outputs","useValue","undefined","CdkAccordionModule","ɵmod","ɵinj","DIR_DOCUMENT","providedIn","factory","DIR_DOCUMENT_FACTORY","inject","DOCUMENT","RTL_LOCALE_PATTERN","_resolveDirectionality","rawValue","_navigator","toLowerCase","navigator","language","test","Directionality","_document","change","body","dir","documentElement","ɵprov","token","Dir","_dir","_isInitialized","previousValue","_rawDir","hostVars","hostBindings","rf","ctx","BidiModule","VERSION","Version","coerceNumberProperty","fallbackValue","_isNumberValue","Number","isNaN","parseFloat","coerceArray","Array","isArray","coerceCssPixelValue","coerceElement","elementOrRef","ElementRef","nativeElement","coerceStringArray","separator","result","_step","sourceValues","split","_iterator","_createForOfIteratorHelper","s","n","done","trimmedString","trim","push","err","e","f","hasV8BreakIterator","Intl","v8BreakIterator","supportedInputTypes","supportsPassiveEvents","rtlScrollAxisType","scrollBehaviorSupported","shadowDomIsSupported","Platform","_platformId","isBrowser","isPlatformBrowser","document","EDGE","userAgent","TRIDENT","BLINK","window","chrome","CSS","WEBKIT","IOS","FIREFOX","ANDROID","SAFARI","PLATFORM_ID","PlatformModule","candidateInputTypes","getSupportedInputTypes","Set","featureTestInput","createElement","filter","setAttribute","supportsPassiveEventListeners","addEventListener","Object","defineProperty","normalizePassiveListenerOptions","options","capture","supportsScrollBehavior","Element","style","scrollToFunction","prototype","scrollTo","toString","getRtlScrollAxisType","scrollContainer","containerStyle","width","overflow","visibility","pointerEvents","position","content","contentStyle","height","appendChild","scrollLeft","remove","_supportsShadowDom","head","createShadowRoot","attachShadow","_getShadowRoot","element","rootNode","getRootNode","ShadowRoot","_getFocusedElementPierceShadowDom","activeElement","shadowRoot","newActiveElement","_getEventTarget","event","composedPath","target","_isTestEnvironment","__karma__","jasmine","jest","Mocha","_MatBadgeBase","mixinDisabled","_class","BADGE_CONTENT_CLASS","MatBadge","_MatBadgeBase2","_inherits","_super","_createSuper","_ngZone","_elementRef","_ariaDescriber","_renderer","_animationMode","call","_color","_overlap","size","_id","_interactivityChecker","InteractivityChecker","_setColor","val","_content","newContent","_updateRenderedContent","_description","newDescription","_updateDescription","_hidden","indexOf","_badgeElement","_clearExistingBadges","_createBadgeElement","_this$_inlineBadgeDes","destroyNode","_inlineBadgeDescription","removeDescription","description","isFocusable","ignoreVisibility","badgeElement","activeClass","classList","add","requestAnimationFrame","runOutsideAngular","newContentNormalized","textContent","_isHostInteractive","_removeInlineDescription","describe","_updateInlineDescription","_this$_badgeElement","_this$_inlineBadgeDes2","colorPalette","badges","querySelectorAll","_i","_Array$from","from","ANIMATION_MODULE_TYPE","hostAttrs","overlap","isAbove","isAfter","hidden","color","MatBadgeModule","imports","A11yModule","MatCommonModule","MatDivider","_vertical","_inset","ɵcmp","vertical","inset","decls","vars","template","styles","encapsulation","changeDetection","MatDividerModule","MatLegacyAutocomplete_ng_template_0_Template","formFieldId_r1","ctx_r0","_classList","ariaLabel","_getPanelAriaLabelledby","_c0","MatLegacyAutocomplete","_MatAutocompleteBase2","apply","_visibleClass","_hiddenClass","_MatAutocompleteBase","ɵMatLegacyAutocomplete_BaseFactory","contentQueries","dirIndex","_t","MAT_LEGACY_OPTGROUP","MatLegacyOption","optionGroups","disableRipple","MAT_LEGACY_OPTION_PARENT_COMPONENT","ngContentSelectors","consts","dependencies","MAT_LEGACY_AUTOCOMPLETE_VALUE_ACCESSOR","NG_VALUE_ACCESSOR","forwardRef","MatLegacyAutocompleteTrigger","_MatAutocompleteTrigg","_super2","_aboveClass","_MatAutocompleteTriggerBase","ɵMatLegacyAutocompleteTrigger_BaseFactory","_handleFocus","_onTouched","$event","_handleInput","_handleKeydown","_handleClick","autocompleteAttribute","autocompleteDisabled","panelOpen","activeOption","autocomplete","MatLegacyAutocompleteOrigin","_MatAutocompleteOrigi","_super3","_MatAutocompleteOriginBase","ɵMatLegacyAutocompleteOrigin_BaseFactory","MatLegacyAutocompleteModule","providers","MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER","OverlayModule","MatLegacyOptionModule","CommonModule","CdkScrollableModule","_c1","MatLegacyOption_mat_pseudo_checkbox_0_Template","selected","MatLegacyOption_span_4_Template","ctx_r2","group","label","_c2","MatLegacyOptgroup","_MatOptgroupBase2","_MatOptgroupBase","ɵMatLegacyOptgroup_BaseFactory","_inert","_labelId","MAT_OPTGROUP","_MatOptionBase2","changeDetectorRef","parent","_MatOptionBase","MAT_OPTION_PARENT_COMPONENT","_selectViaInteraction","_getTabIndex","multiple","active","_getHostElement","i2","MatRippleModule","MatPseudoCheckboxModule","MatLegacyInput","_MatInput","_legacyFormField","MAT_LEGACY_FORM_FIELD","optional","_formField$_hasLabel","formField","appearance","_hasLabel","placeholder","MatInput","ɵMatLegacyInput_BaseFactory","_isServer","_isInlineSelect","MatLegacyFormFieldControl","MatLegacyInputModule","ErrorStateMatcher","TextFieldModule","MatLegacyFormFieldModule","MatLegacyMenu_ng_template_0_Template","_r2","ctx_r1","ctx_r3","ctx_r4","_onAnimationStart","ctx_r5","_onAnimationDone","panelId","_panelAnimationState","ariaLabelledby","ariaDescribedby","MatLegacyMenuItem__svg_svg_2_Template","MatLegacyMenu","_MatMenuBase2","elementRef","ngZone","defaultOptions","_elevationPrefix","_baseElevation","_MatMenuBase","MAT_MENU_DEFAULT_OPTIONS","MAT_MENU_PANEL","data","animation","matMenuAnimations","MatLegacyMenuItem","_MatMenuItem","MatMenuItem","ɵMatLegacyMenuItem_BaseFactory","role","_highlighted","_triggersSubmenu","attrs","MatLegacyMenuTrigger","_MatMenuTriggerBase2","_MatMenuTriggerBase","ɵMatLegacyMenuTrigger_BaseFactory","MatLegacyMenuContent","_MatMenuContentBase2","_super4","_MatMenuContentBase","ɵMatLegacyMenuContent_BaseFactory","MAT_MENU_CONTENT","MatLegacyMenuModule","MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER","MatLegacyPaginator_div_2_mat_form_field_3_mat_option_2_Template","pageSizeOption_r6","$implicit","MatLegacyPaginator_div_2_mat_form_field_3_Template","_r8","ctx_r7","_changePageSize","_formFieldAppearance","pageSize","selectConfig","panelClass","disableOptionCentering","_intl","itemsPerPageLabel","_displayedPageSizeOptions","MatLegacyPaginator_div_2_div_4_Template","MatLegacyPaginator_div_2_Template","MatLegacyPaginator_button_6_Template","_r10","ctx_r9","firstPage","firstPageLabel","_previousButtonsDisabled","MatLegacyPaginator_button_13_Template","_r12","ctx_r11","lastPage","lastPageLabel","_nextButtonsDisabled","MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS","MatLegacyPaginator","_MatPaginatorBase2","intl","defaults","formFieldAppearance","_MatPaginatorBase","previousPage","nextPage","hidePageSize","getRangeLabel","pageIndex","showFirstLastButtons","previousPageLabel","nextPageLabel","i3","i4","i5","i6","i7","MatLegacyPaginatorModule","MAT_PAGINATOR_INTL_PROVIDER","MatLegacyButtonModule","MatLegacySelectModule","MatLegacyTooltipModule","a0","enterDuration","MAT_LEGACY_RADIO_GROUP_CONTROL_VALUE_ACCESSOR","MatLegacyRadioGroup","_MatRadioGroupBase2","_MatRadioGroupBase","ɵMatLegacyRadioGroup_BaseFactory","MatLegacyRadioButton","_radios","MAT_RADIO_GROUP","_MatRadioButtonBase2","radioGroup","changeDetector","focusMonitor","radioDispatcher","animationMode","providerOverride","tabIndex","_MatRadioButtonBase","MAT_RADIO_DEFAULT_OPTIONS","_inputElement","focus","checked","_noopAnimations","_onInputInteraction","_onInputClick","_r0","inputId","required","name","_isRippleDisabled","labelPosition","MatLegacyRadioModule","MAT_LEGACY_SLIDE_TOGGLE_DEFAULT_OPTIONS","disableToggleValue","MAT_LEGACY_SLIDE_TOGGLE_VALUE_ACCESSOR","MatLegacySlideToggle","MatLegacySlideToggleChange","_MatSlideToggleBase2","isChecked","stopPropagation","toggleChange","_emitChangeEvent","origin","_focusMonitor","focusVia","detectChanges","_MatSlideToggleBase","viewQuery","first","_onChangeEvent","_onLabelTextChange","MatLegacySlideToggleModule","_MatSlideToggleRequiredValidatorModule","ObserversModule","LegacySimpleSnackBar_div_2_Template","action","MatLegacySnackBarContainer_ng_template_1_Template","LegacySimpleSnackBar","snackBarRef","dismissWithAction","MAT_SNACK_BAR_DATA","message","hasAction","MatLegacySnackBarContainer","_MatSnackBarContainer","_get","_getPrototypeOf","snackBarConfig","horizontalPosition","verticalPosition","_MatSnackBarContainerBase","ɵMatLegacySnackBarContainer_BaseFactory","onAnimationEnd","_animationState","_live","_role","_liveElementId","i1$1","matSnackBarAnimations","MatLegacySnackBarModule","PortalModule","MatLegacySnackBar","_MatSnackBarBase2","overlay","live","injector","breakpointObserver","parentSnackBar","defaultConfig","simpleSnackBarComponent","snackBarContainerComponent","handsetCssClass","_MatSnackBarBase","i1$2","i2$1","i3$1","MAT_SNACK_BAR_DEFAULT_OPTIONS","MatLegacyTooltip","_MatTooltipBase2","scrollDispatcher","viewContainerRef","platform","ariaDescriber","scrollStrategy","_tooltipComponent","LegacyTooltipComponent","_MatTooltipBase","MAT_TOOLTIP_SCROLL_STRATEGY","MAT_TOOLTIP_DEFAULT_OPTIONS","_TooltipComponentBase2","_showAnimation","_hideAnimation","_isHandset","observe","Breakpoints","_TooltipComponentBase","_tooltip","_handleMouseLeave","isVisible","tmp_0_0","_handleAnimationEnd","matches","tooltipClass","MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER","matLegacyTooltipAnimations","tooltipState","trigger","opacity","transform","transition","animate","keyframes","offset","MatProgressSpinner_ng_template_0_Template","_viewBox","_strokeCircumference","_circleStrokeWidth","_circleRadius","_MatProgressSpinnerBase","mixinColor","MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS","MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY","diameter","BASE_SIZE","MatProgressSpinner","_MatProgressSpinnerBa","mode","nodeName","_value","_diameter","_forceAnimations","defaultColor","strokeWidth","v","Math","max","min","_this$_strokeWidth","_strokeWidth","viewBox","PI","_determinateCircle","_strokeDashOffset","MatSpinner","MatProgressSpinnerModule","_MatToolbarBase","MatToolbarRow","MatToolbar","_MatToolbarBase2","_platform","_checkToolbarMixedModes","_toolbarRows","throwToolbarMixedModesError","Error","MatToolbarModule","ContentModule","ContentPlugin","_Plugin","fileTypes","handler","selectionComponent","renderComponent","editorComponent","Plugin","ContentBinding","ContentInstance","settings","pluginName","map","AttributeValue","ContentPluginEditorOptions","fullscreen","CONTENT_PLUGIN","ContentPluginManager","_BasePluginManager","pcm","moduleLoader","of","PluginDef","BasePluginManager","PluginModule","UtilsModule","PluginConfigurationManager","configs","cfg","ConfigDiscovery","pluginDef","ids","getConfigs","len","loadModules$","_loop","len2","modules","_loop2","j","plugins","has","some","findIndex","p","loadModule","module","forkJoin","pipe","pluginInstances","Map","discoveryPipeline","discovery","d","plugin","newPlugins","switchMap","def","loadPlugins","_this3","PluginConfig","m","PluginConfigModule","title","_toConsumableArray","instance","Constructor","TypeError","_construct","Parent","args","Class","_isNativeReflectConstruct_js__WEBPACK_IMPORTED_MODULE_0__","Z","Reflect","construct","bind","a","Function","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_1__","_defineProperties","props","descriptor","enumerable","configurable","writable","_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__","protoProps","staticProps","_toArray","arr","_arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__","_iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__","_nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__","_toPropertyKey","arg","_toPrimitive","input","hint","esm_typeof","prim","Symbol","toPrimitive","res","String","_typeof","obj","iterator","constructor","_wrapNativeSuper","_cache","_isNativeFunction","fn","Wrapper","getPrototypeOf","create","setPrototypeOf"],"sourceRoot":"webpack:///","sources":["./node_modules/rxjs/dist/esm/internal/operators/scan.js","./node_modules/rxjs/dist/esm/internal/operators/scanInternals.js","./node_modules/@angular/cdk/fesm2022/accordion.mjs","./node_modules/@angular/cdk/fesm2022/bidi.mjs","./node_modules/@angular/cdk/fesm2022/cdk.mjs","./node_modules/@angular/cdk/fesm2022/coercion.mjs","./node_modules/@angular/cdk/fesm2022/platform.mjs","./node_modules/@angular/material/fesm2022/badge.mjs","./node_modules/@angular/material/fesm2022/divider.mjs","./node_modules/@angular/material/fesm2022/legacy-autocomplete.mjs","./node_modules/@angular/material/fesm2022/legacy-core.mjs","./node_modules/@angular/material/fesm2022/legacy-input.mjs","./node_modules/@angular/material/fesm2022/legacy-menu.mjs","./node_modules/@angular/material/fesm2022/legacy-paginator.mjs","./node_modules/@angular/material/fesm2022/legacy-radio.mjs","./node_modules/@angular/material/fesm2022/legacy-slide-toggle.mjs","./node_modules/@angular/material/fesm2022/legacy-snack-bar.mjs","./node_modules/@angular/material/fesm2022/legacy-tooltip.mjs","./node_modules/@angular/material/fesm2022/progress-spinner.mjs","./node_modules/@angular/material/fesm2022/toolbar.mjs","./node_modules/@rollthecloudinc/content/fesm2022/rollthecloudinc-content.mjs","./node_modules/@rollthecloudinc/plugin/fesm2022/rollthecloudinc-plugin.mjs","./node_modules/@babel/runtime/helpers/esm/classCallCheck.js","./node_modules/@babel/runtime/helpers/esm/construct.js","./node_modules/@babel/runtime/helpers/esm/createClass.js","./node_modules/@babel/runtime/helpers/esm/toArray.js","./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","./node_modules/@babel/runtime/helpers/esm/toPrimitive.js","./node_modules/@babel/runtime/helpers/esm/typeof.js","./node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js","./node_modules/@babel/runtime/helpers/esm/isNativeFunction.js"],"sourcesContent":["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}\n","import { createOperatorSubscriber } from './OperatorSubscriber';\nexport function scanInternals(accumulator, seed, hasSeed, emitOnNext, emitBeforeComplete) {\n return (source, subscriber) => {\n let hasState = hasSeed;\n let state = seed;\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n const i = index++;\n state = hasState\n ?\n accumulator(state, value, i)\n :\n ((hasState = true), value);\n emitOnNext && subscriber.next(state);\n }, emitBeforeComplete &&\n (() => {\n hasState && subscriber.next(state);\n subscriber.complete();\n })));\n };\n}\n","import * as i0 from '@angular/core';\nimport { InjectionToken, Directive, Input, EventEmitter, Optional, Inject, SkipSelf, Output, NgModule } from '@angular/core';\nimport * as i1 from '@angular/cdk/collections';\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { Subject, Subscription } from 'rxjs';\n\n/** Used to generate unique ID for each accordion. */\nlet nextId$1 = 0;\n/**\n * Injection token that can be used to reference instances of `CdkAccordion`. It serves\n * as alternative token to the actual `CdkAccordion` class which could cause unnecessary\n * retention of the class and its directive metadata.\n */\nconst CDK_ACCORDION = new InjectionToken('CdkAccordion');\n/**\n * Directive whose purpose is to manage the expanded state of CdkAccordionItem children.\n */\nclass CdkAccordion {\n constructor() {\n /** Emits when the state of the accordion changes */\n this._stateChanges = new Subject();\n /** Stream that emits true/false when openAll/closeAll is triggered. */\n this._openCloseAllActions = new Subject();\n /** A readonly id value to use for unique selection coordination. */\n this.id = `cdk-accordion-${nextId$1++}`;\n this._multi = false;\n }\n /** Whether the accordion should allow multiple expanded accordion items simultaneously. */\n get multi() {\n return this._multi;\n }\n set multi(multi) {\n this._multi = coerceBooleanProperty(multi);\n }\n /** Opens all enabled accordion items in an accordion where multi is enabled. */\n openAll() {\n if (this._multi) {\n this._openCloseAllActions.next(true);\n }\n }\n /** Closes all enabled accordion items. */\n closeAll() {\n this._openCloseAllActions.next(false);\n }\n ngOnChanges(changes) {\n this._stateChanges.next(changes);\n }\n ngOnDestroy() {\n this._stateChanges.complete();\n this._openCloseAllActions.complete();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkAccordion, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkAccordion, selector: \"cdk-accordion, [cdkAccordion]\", inputs: { multi: \"multi\" }, providers: [{ provide: CDK_ACCORDION, useExisting: CdkAccordion }], exportAs: [\"cdkAccordion\"], usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkAccordion, decorators: [{\n type: Directive,\n args: [{\n selector: 'cdk-accordion, [cdkAccordion]',\n exportAs: 'cdkAccordion',\n providers: [{ provide: CDK_ACCORDION, useExisting: CdkAccordion }],\n }]\n }], propDecorators: { multi: [{\n type: Input\n }] } });\n\n/** Used to generate unique ID for each accordion item. */\nlet nextId = 0;\n/**\n * An basic directive expected to be extended and decorated as a component. Sets up all\n * events and attributes needed to be managed by a CdkAccordion parent.\n */\nclass CdkAccordionItem {\n /** Whether the AccordionItem is expanded. */\n get expanded() {\n return this._expanded;\n }\n set expanded(expanded) {\n expanded = coerceBooleanProperty(expanded);\n // Only emit events and update the internal value if the value changes.\n if (this._expanded !== expanded) {\n this._expanded = expanded;\n this.expandedChange.emit(expanded);\n if (expanded) {\n this.opened.emit();\n /**\n * In the unique selection dispatcher, the id parameter is the id of the CdkAccordionItem,\n * the name value is the id of the accordion.\n */\n const accordionId = this.accordion ? this.accordion.id : this.id;\n this._expansionDispatcher.notify(this.id, accordionId);\n }\n else {\n this.closed.emit();\n }\n // Ensures that the animation will run when the value is set outside of an `@Input`.\n // This includes cases like the open, close and toggle methods.\n this._changeDetectorRef.markForCheck();\n }\n }\n /** Whether the AccordionItem is disabled. */\n get disabled() {\n return this._disabled;\n }\n set disabled(disabled) {\n this._disabled = coerceBooleanProperty(disabled);\n }\n constructor(accordion, _changeDetectorRef, _expansionDispatcher) {\n this.accordion = accordion;\n this._changeDetectorRef = _changeDetectorRef;\n this._expansionDispatcher = _expansionDispatcher;\n /** Subscription to openAll/closeAll events. */\n this._openCloseAllSubscription = Subscription.EMPTY;\n /** Event emitted every time the AccordionItem is closed. */\n this.closed = new EventEmitter();\n /** Event emitted every time the AccordionItem is opened. */\n this.opened = new EventEmitter();\n /** Event emitted when the AccordionItem is destroyed. */\n this.destroyed = new EventEmitter();\n /**\n * Emits whenever the expanded state of the accordion changes.\n * Primarily used to facilitate two-way binding.\n * @docs-private\n */\n this.expandedChange = new EventEmitter();\n /** The unique AccordionItem id. */\n this.id = `cdk-accordion-child-${nextId++}`;\n this._expanded = false;\n this._disabled = false;\n /** Unregister function for _expansionDispatcher. */\n this._removeUniqueSelectionListener = () => { };\n this._removeUniqueSelectionListener = _expansionDispatcher.listen((id, accordionId) => {\n if (this.accordion &&\n !this.accordion.multi &&\n this.accordion.id === accordionId &&\n this.id !== id) {\n this.expanded = false;\n }\n });\n // When an accordion item is hosted in an accordion, subscribe to open/close events.\n if (this.accordion) {\n this._openCloseAllSubscription = this._subscribeToOpenCloseAllActions();\n }\n }\n /** Emits an event for the accordion item being destroyed. */\n ngOnDestroy() {\n this.opened.complete();\n this.closed.complete();\n this.destroyed.emit();\n this.destroyed.complete();\n this._removeUniqueSelectionListener();\n this._openCloseAllSubscription.unsubscribe();\n }\n /** Toggles the expanded state of the accordion item. */\n toggle() {\n if (!this.disabled) {\n this.expanded = !this.expanded;\n }\n }\n /** Sets the expanded state of the accordion item to false. */\n close() {\n if (!this.disabled) {\n this.expanded = false;\n }\n }\n /** Sets the expanded state of the accordion item to true. */\n open() {\n if (!this.disabled) {\n this.expanded = true;\n }\n }\n _subscribeToOpenCloseAllActions() {\n return this.accordion._openCloseAllActions.subscribe(expanded => {\n // Only change expanded state if item is enabled\n if (!this.disabled) {\n this.expanded = expanded;\n }\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkAccordionItem, deps: [{ token: CDK_ACCORDION, optional: true, skipSelf: true }, { token: i0.ChangeDetectorRef }, { token: i1.UniqueSelectionDispatcher }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: CdkAccordionItem, selector: \"cdk-accordion-item, [cdkAccordionItem]\", inputs: { expanded: \"expanded\", disabled: \"disabled\" }, outputs: { closed: \"closed\", opened: \"opened\", destroyed: \"destroyed\", expandedChange: \"expandedChange\" }, providers: [\n // Provide `CDK_ACCORDION` as undefined to prevent nested accordion items from\n // registering to the same accordion.\n { provide: CDK_ACCORDION, useValue: undefined },\n ], exportAs: [\"cdkAccordionItem\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkAccordionItem, decorators: [{\n type: Directive,\n args: [{\n selector: 'cdk-accordion-item, [cdkAccordionItem]',\n exportAs: 'cdkAccordionItem',\n providers: [\n // Provide `CDK_ACCORDION` as undefined to prevent nested accordion items from\n // registering to the same accordion.\n { provide: CDK_ACCORDION, useValue: undefined },\n ],\n }]\n }], ctorParameters: function () { return [{ type: CdkAccordion, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [CDK_ACCORDION]\n }, {\n type: SkipSelf\n }] }, { type: i0.ChangeDetectorRef }, { type: i1.UniqueSelectionDispatcher }]; }, propDecorators: { closed: [{\n type: Output\n }], opened: [{\n type: Output\n }], destroyed: [{\n type: Output\n }], expandedChange: [{\n type: Output\n }], expanded: [{\n type: Input\n }], disabled: [{\n type: Input\n }] } });\n\nclass CdkAccordionModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkAccordionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkAccordionModule, declarations: [CdkAccordion, CdkAccordionItem], exports: [CdkAccordion, CdkAccordionItem] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkAccordionModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: CdkAccordionModule, decorators: [{\n type: NgModule,\n args: [{\n exports: [CdkAccordion, CdkAccordionItem],\n declarations: [CdkAccordion, CdkAccordionItem],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { CdkAccordion, CdkAccordionItem, CdkAccordionModule };\n","import * as i0 from '@angular/core';\nimport { InjectionToken, inject, EventEmitter, Injectable, Optional, Inject, Directive, Output, Input, NgModule } from '@angular/core';\nimport { DOCUMENT } from '@angular/common';\n\n/**\n * Injection token used to inject the document into Directionality.\n * This is used so that the value can be faked in tests.\n *\n * We can't use the real document in tests because changing the real `dir` causes geometry-based\n * tests in Safari to fail.\n *\n * We also can't re-provide the DOCUMENT token from platform-browser because the unit tests\n * themselves use things like `querySelector` in test code.\n *\n * This token is defined in a separate file from Directionality as a workaround for\n * https://github.com/angular/angular/issues/22559\n *\n * @docs-private\n */\nconst DIR_DOCUMENT = new InjectionToken('cdk-dir-doc', {\n providedIn: 'root',\n factory: DIR_DOCUMENT_FACTORY,\n});\n/** @docs-private */\nfunction DIR_DOCUMENT_FACTORY() {\n return inject(DOCUMENT);\n}\n\n/** Regex that matches locales with an RTL script. Taken from `goog.i18n.bidi.isRtlLanguage`. */\nconst RTL_LOCALE_PATTERN = /^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;\n/** Resolves a string value to a specific direction. */\nfunction _resolveDirectionality(rawValue) {\n const value = rawValue?.toLowerCase() || '';\n if (value === 'auto' && typeof navigator !== 'undefined' && navigator?.language) {\n return RTL_LOCALE_PATTERN.test(navigator.language) ? 'rtl' : 'ltr';\n }\n return value === 'rtl' ? 'rtl' : 'ltr';\n}\n/**\n * The directionality (LTR / RTL) context for the application (or a subtree of it).\n * Exposes the current direction and a stream of direction changes.\n */\nclass Directionality {\n constructor(_document) {\n /** The current 'ltr' or 'rtl' value. */\n this.value = 'ltr';\n /** Stream that emits whenever the 'ltr' / 'rtl' state changes. */\n this.change = new EventEmitter();\n if (_document) {\n const bodyDir = _document.body ? _document.body.dir : null;\n const htmlDir = _document.documentElement ? _document.documentElement.dir : null;\n this.value = _resolveDirectionality(bodyDir || htmlDir || 'ltr');\n }\n }\n ngOnDestroy() {\n this.change.complete();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: Directionality, deps: [{ token: DIR_DOCUMENT, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: Directionality, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: Directionality, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [DIR_DOCUMENT]\n }] }]; } });\n\n/**\n * Directive to listen for changes of direction of part of the DOM.\n *\n * Provides itself as Directionality such that descendant directives only need to ever inject\n * Directionality to get the closest direction.\n */\nclass Dir {\n constructor() {\n /** Normalized direction that accounts for invalid/unsupported values. */\n this._dir = 'ltr';\n /** Whether the `value` has been set to its initial value. */\n this._isInitialized = false;\n /** Event emitted when the direction changes. */\n this.change = new EventEmitter();\n }\n /** @docs-private */\n get dir() {\n return this._dir;\n }\n set dir(value) {\n const previousValue = this._dir;\n // Note: `_resolveDirectionality` resolves the language based on the browser's language,\n // whereas the browser does it based on the content of the element. Since doing so based\n // on the content can be expensive, for now we're doing the simpler matching.\n this._dir = _resolveDirectionality(value);\n this._rawDir = value;\n if (previousValue !== this._dir && this._isInitialized) {\n this.change.emit(this._dir);\n }\n }\n /** Current layout direction of the element. */\n get value() {\n return this.dir;\n }\n /** Initialize once default value has been set. */\n ngAfterContentInit() {\n this._isInitialized = true;\n }\n ngOnDestroy() {\n this.change.complete();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: Dir, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: Dir, selector: \"[dir]\", inputs: { dir: \"dir\" }, outputs: { change: \"dirChange\" }, host: { properties: { \"attr.dir\": \"_rawDir\" } }, providers: [{ provide: Directionality, useExisting: Dir }], exportAs: [\"dir\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: Dir, decorators: [{\n type: Directive,\n args: [{\n selector: '[dir]',\n providers: [{ provide: Directionality, useExisting: Dir }],\n host: { '[attr.dir]': '_rawDir' },\n exportAs: 'dir',\n }]\n }], propDecorators: { change: [{\n type: Output,\n args: ['dirChange']\n }], dir: [{\n type: Input\n }] } });\n\nclass BidiModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: BidiModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: BidiModule, declarations: [Dir], exports: [Dir] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: BidiModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: BidiModule, decorators: [{\n type: NgModule,\n args: [{\n exports: [Dir],\n declarations: [Dir],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { BidiModule, DIR_DOCUMENT, Dir, Directionality };\n","import { Version } from '@angular/core';\n\n/** Current version of the Angular Component Development Kit. */\nconst VERSION = new Version('16.0.4');\n\nexport { VERSION };\n","import { ElementRef } from '@angular/core';\n\n/** Coerces a data-bound value (typically a string) to a boolean. */\nfunction coerceBooleanProperty(value) {\n return value != null && `${value}` !== 'false';\n}\n\nfunction coerceNumberProperty(value, fallbackValue = 0) {\n return _isNumberValue(value) ? Number(value) : fallbackValue;\n}\n/**\n * Whether the provided value is considered a number.\n * @docs-private\n */\nfunction _isNumberValue(value) {\n // parseFloat(value) handles most of the cases we're interested in (it treats null, empty string,\n // and other non-number values as NaN, where Number just uses 0) but it considers the string\n // '123hello' to be a valid number. Therefore we also check if Number(value) is NaN.\n return !isNaN(parseFloat(value)) && !isNaN(Number(value));\n}\n\nfunction coerceArray(value) {\n return Array.isArray(value) ? value : [value];\n}\n\n/** Coerces a value to a CSS pixel value. */\nfunction coerceCssPixelValue(value) {\n if (value == null) {\n return '';\n }\n return typeof value === 'string' ? value : `${value}px`;\n}\n\n/**\n * Coerces an ElementRef or an Element into an element.\n * Useful for APIs that can accept either a ref or the native element itself.\n */\nfunction coerceElement(elementOrRef) {\n return elementOrRef instanceof ElementRef ? elementOrRef.nativeElement : elementOrRef;\n}\n\n/**\n * Coerces a value to an array of trimmed non-empty strings.\n * Any input that is not an array, `null` or `undefined` will be turned into a string\n * via `toString()` and subsequently split with the given separator.\n * `null` and `undefined` will result in an empty array.\n * This results in the following outcomes:\n * - `null` -> `[]`\n * - `[null]` -> `[\"null\"]`\n * - `[\"a\", \"b \", \" \"]` -> `[\"a\", \"b\"]`\n * - `[1, [2, 3]]` -> `[\"1\", \"2,3\"]`\n * - `[{ a: 0 }]` -> `[\"[object Object]\"]`\n * - `{ a: 0 }` -> `[\"[object\", \"Object]\"]`\n *\n * Useful for defining CSS classes or table columns.\n * @param value the value to coerce into an array of strings\n * @param separator split-separator if value isn't an array\n */\nfunction coerceStringArray(value, separator = /\\s+/) {\n const result = [];\n if (value != null) {\n const sourceValues = Array.isArray(value) ? value : `${value}`.split(separator);\n for (const sourceValue of sourceValues) {\n const trimmedString = `${sourceValue}`.trim();\n if (trimmedString) {\n result.push(trimmedString);\n }\n }\n }\n return result;\n}\n\nexport { _isNumberValue, coerceArray, coerceBooleanProperty, coerceCssPixelValue, coerceElement, coerceNumberProperty, coerceStringArray };\n","import * as i0 from '@angular/core';\nimport { PLATFORM_ID, Injectable, Inject, NgModule } from '@angular/core';\nimport { isPlatformBrowser } from '@angular/common';\n\n// Whether the current platform supports the V8 Break Iterator. The V8 check\n// is necessary to detect all Blink based browsers.\nlet hasV8BreakIterator;\n// We need a try/catch around the reference to `Intl`, because accessing it in some cases can\n// cause IE to throw. These cases are tied to particular versions of Windows and can happen if\n// the consumer is providing a polyfilled `Map`. See:\n// https://github.com/Microsoft/ChakraCore/issues/3189\n// https://github.com/angular/components/issues/15687\ntry {\n hasV8BreakIterator = typeof Intl !== 'undefined' && Intl.v8BreakIterator;\n}\ncatch {\n hasV8BreakIterator = false;\n}\n/**\n * Service to detect the current platform by comparing the userAgent strings and\n * checking browser-specific global properties.\n */\nclass Platform {\n constructor(_platformId) {\n this._platformId = _platformId;\n // We want to use the Angular platform check because if the Document is shimmed\n // without the navigator, the following checks will fail. This is preferred because\n // sometimes the Document may be shimmed without the user's knowledge or intention\n /** Whether the Angular application is being rendered in the browser. */\n this.isBrowser = this._platformId\n ? isPlatformBrowser(this._platformId)\n : typeof document === 'object' && !!document;\n /** Whether the current browser is Microsoft Edge. */\n this.EDGE = this.isBrowser && /(edge)/i.test(navigator.userAgent);\n /** Whether the current rendering engine is Microsoft Trident. */\n this.TRIDENT = this.isBrowser && /(msie|trident)/i.test(navigator.userAgent);\n // EdgeHTML and Trident mock Blink specific things and need to be excluded from this check.\n /** Whether the current rendering engine is Blink. */\n this.BLINK = this.isBrowser &&\n !!(window.chrome || hasV8BreakIterator) &&\n typeof CSS !== 'undefined' &&\n !this.EDGE &&\n !this.TRIDENT;\n // Webkit is part of the userAgent in EdgeHTML, Blink and Trident. Therefore we need to\n // ensure that Webkit runs standalone and is not used as another engine's base.\n /** Whether the current rendering engine is WebKit. */\n this.WEBKIT = this.isBrowser &&\n /AppleWebKit/i.test(navigator.userAgent) &&\n !this.BLINK &&\n !this.EDGE &&\n !this.TRIDENT;\n /** Whether the current platform is Apple iOS. */\n this.IOS = this.isBrowser && /iPad|iPhone|iPod/.test(navigator.userAgent) && !('MSStream' in window);\n // It's difficult to detect the plain Gecko engine, because most of the browsers identify\n // them self as Gecko-like browsers and modify the userAgent's according to that.\n // Since we only cover one explicit Firefox case, we can simply check for Firefox\n // instead of having an unstable check for Gecko.\n /** Whether the current browser is Firefox. */\n this.FIREFOX = this.isBrowser && /(firefox|minefield)/i.test(navigator.userAgent);\n /** Whether the current platform is Android. */\n // Trident on mobile adds the android platform to the userAgent to trick detections.\n this.ANDROID = this.isBrowser && /android/i.test(navigator.userAgent) && !this.TRIDENT;\n // Safari browsers will include the Safari keyword in their userAgent. Some browsers may fake\n // this and just place the Safari keyword in the userAgent. To be more safe about Safari every\n // Safari browser should also use Webkit as its layout engine.\n /** Whether the current browser is Safari. */\n this.SAFARI = this.isBrowser && /safari/i.test(navigator.userAgent) && this.WEBKIT;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: Platform, deps: [{ token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: Platform, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: Platform, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: Object, decorators: [{\n type: Inject,\n args: [PLATFORM_ID]\n }] }]; } });\n\nclass PlatformModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: PlatformModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: PlatformModule }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: PlatformModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: PlatformModule, decorators: [{\n type: NgModule,\n args: [{}]\n }] });\n\n/** Cached result Set of input types support by the current browser. */\nlet supportedInputTypes;\n/** Types of `<input>` that *might* be supported. */\nconst candidateInputTypes = [\n // `color` must come first. Chrome 56 shows a warning if we change the type to `color` after\n // first changing it to something else:\n // The specified value \"\" does not conform to the required format.\n // The format is \"#rrggbb\" where rr, gg, bb are two-digit hexadecimal numbers.\n 'color',\n 'button',\n 'checkbox',\n 'date',\n 'datetime-local',\n 'email',\n 'file',\n 'hidden',\n 'image',\n 'month',\n 'number',\n 'password',\n 'radio',\n 'range',\n 'reset',\n 'search',\n 'submit',\n 'tel',\n 'text',\n 'time',\n 'url',\n 'week',\n];\n/** @returns The input types supported by this browser. */\nfunction getSupportedInputTypes() {\n // Result is cached.\n if (supportedInputTypes) {\n return supportedInputTypes;\n }\n // We can't check if an input type is not supported until we're on the browser, so say that\n // everything is supported when not on the browser. We don't use `Platform` here since it's\n // just a helper function and can't inject it.\n if (typeof document !== 'object' || !document) {\n supportedInputTypes = new Set(candidateInputTypes);\n return supportedInputTypes;\n }\n let featureTestInput = document.createElement('input');\n supportedInputTypes = new Set(candidateInputTypes.filter(value => {\n featureTestInput.setAttribute('type', value);\n return featureTestInput.type === value;\n }));\n return supportedInputTypes;\n}\n\n/** Cached result of whether the user's browser supports passive event listeners. */\nlet supportsPassiveEvents;\n/**\n * Checks whether the user's browser supports passive event listeners.\n * See: https://github.com/WICG/EventListenerOptions/blob/gh-pages/explainer.md\n */\nfunction supportsPassiveEventListeners() {\n if (supportsPassiveEvents == null && typeof window !== 'undefined') {\n try {\n window.addEventListener('test', null, Object.defineProperty({}, 'passive', {\n get: () => (supportsPassiveEvents = true),\n }));\n }\n finally {\n supportsPassiveEvents = supportsPassiveEvents || false;\n }\n }\n return supportsPassiveEvents;\n}\n/**\n * Normalizes an `AddEventListener` object to something that can be passed\n * to `addEventListener` on any browser, no matter whether it supports the\n * `options` parameter.\n * @param options Object to be normalized.\n */\nfunction normalizePassiveListenerOptions(options) {\n return supportsPassiveEventListeners() ? options : !!options.capture;\n}\n\n/** Cached result of the way the browser handles the horizontal scroll axis in RTL mode. */\nlet rtlScrollAxisType;\n/** Cached result of the check that indicates whether the browser supports scroll behaviors. */\nlet scrollBehaviorSupported;\n/** Check whether the browser supports scroll behaviors. */\nfunction supportsScrollBehavior() {\n if (scrollBehaviorSupported == null) {\n // If we're not in the browser, it can't be supported. Also check for `Element`, because\n // some projects stub out the global `document` during SSR which can throw us off.\n if (typeof document !== 'object' || !document || typeof Element !== 'function' || !Element) {\n scrollBehaviorSupported = false;\n return scrollBehaviorSupported;\n }\n // If the element can have a `scrollBehavior` style, we can be sure that it's supported.\n if ('scrollBehavior' in document.documentElement.style) {\n scrollBehaviorSupported = true;\n }\n else {\n // At this point we have 3 possibilities: `scrollTo` isn't supported at all, it's\n // supported but it doesn't handle scroll behavior, or it has been polyfilled.\n const scrollToFunction = Element.prototype.scrollTo;\n if (scrollToFunction) {\n // We can detect if the function has been polyfilled by calling `toString` on it. Native\n // functions are obfuscated using `[native code]`, whereas if it was overwritten we'd get\n // the actual function source. Via https://davidwalsh.name/detect-native-function. Consider\n // polyfilled functions as supporting scroll behavior.\n scrollBehaviorSupported = !/\\{\\s*\\[native code\\]\\s*\\}/.test(scrollToFunction.toString());\n }\n else {\n scrollBehaviorSupported = false;\n }\n }\n }\n return scrollBehaviorSupported;\n}\n/**\n * Checks the type of RTL scroll axis used by this browser. As of time of writing, Chrome is NORMAL,\n * Firefox & Safari are NEGATED, and IE & Edge are INVERTED.\n */\nfunction getRtlScrollAxisType() {\n // We can't check unless we're on the browser. Just assume 'normal' if we're not.\n if (typeof document !== 'object' || !document) {\n return 0 /* RtlScrollAxisType.NORMAL */;\n }\n if (rtlScrollAxisType == null) {\n // Create a 1px wide scrolling container and a 2px wide content element.\n const scrollContainer = document.createElement('div');\n const containerStyle = scrollContainer.style;\n scrollContainer.dir = 'rtl';\n containerStyle.width = '1px';\n containerStyle.overflow = 'auto';\n containerStyle.visibility = 'hidden';\n containerStyle.pointerEvents = 'none';\n containerStyle.position = 'absolute';\n const content = document.createElement('div');\n const contentStyle = content.style;\n contentStyle.width = '2px';\n contentStyle.height = '1px';\n scrollContainer.appendChild(content);\n document.body.appendChild(scrollContainer);\n rtlScrollAxisType = 0 /* RtlScrollAxisType.NORMAL */;\n // The viewport starts scrolled all the way to the right in RTL mode. If we are in a NORMAL\n // browser this would mean that the scrollLeft should be 1. If it's zero instead we know we're\n // dealing with one of the other two types of browsers.\n if (scrollContainer.scrollLeft === 0) {\n // In a NEGATED browser the scrollLeft is always somewhere in [-maxScrollAmount, 0]. For an\n // INVERTED browser it is always somewhere in [0, maxScrollAmount]. We can determine which by\n // setting to the scrollLeft to 1. This is past the max for a NEGATED browser, so it will\n // return 0 when we read it again.\n scrollContainer.scrollLeft = 1;\n rtlScrollAxisType =\n scrollContainer.scrollLeft === 0 ? 1 /* RtlScrollAxisType.NEGATED */ : 2 /* RtlScrollAxisType.INVERTED */;\n }\n scrollContainer.remove();\n }\n return rtlScrollAxisType;\n}\n\nlet shadowDomIsSupported;\n/** Checks whether the user's browser support Shadow DOM. */\nfunction _supportsShadowDom() {\n if (shadowDomIsSupported == null) {\n const head = typeof document !== 'undefined' ? document.head : null;\n shadowDomIsSupported = !!(head && (head.createShadowRoot || head.attachShadow));\n }\n return shadowDomIsSupported;\n}\n/** Gets the shadow root of an element, if supported and the element is inside the Shadow DOM. */\nfunction _getShadowRoot(element) {\n if (_supportsShadowDom()) {\n const rootNode = element.getRootNode ? element.getRootNode() : null;\n // Note that this should be caught by `_supportsShadowDom`, but some\n // teams have been able to hit this code path on unsupported browsers.\n if (typeof ShadowRoot !== 'undefined' && ShadowRoot && rootNode instanceof ShadowRoot) {\n return rootNode;\n }\n }\n return null;\n}\n/**\n * Gets the currently-focused element on the page while\n * also piercing through Shadow DOM boundaries.\n */\nfunction _getFocusedElementPierceShadowDom() {\n let activeElement = typeof document !== 'undefined' && document\n ? document.activeElement\n : null;\n while (activeElement && activeElement.shadowRoot) {\n const newActiveElement = activeElement.shadowRoot.activeElement;\n if (newActiveElement === activeElement) {\n break;\n }\n else {\n activeElement = newActiveElement;\n }\n }\n return activeElement;\n}\n/** Gets the target of an event while accounting for Shadow DOM. */\nfunction _getEventTarget(event) {\n // If an event is bound outside the Shadow DOM, the `event.target` will\n // point to the shadow root so we have to use `composedPath` instead.\n return (event.composedPath ? event.composedPath()[0] : event.target);\n}\n\n/** Gets whether the code is currently running in a test environment. */\nfunction _isTestEnvironment() {\n // We can't use `declare const` because it causes conflicts inside Google with the real typings\n // for these symbols and we can't read them off the global object, because they don't appear to\n // be attached there for some runners like Jest.\n // (see: https://github.com/angular/components/issues/23365#issuecomment-938146643)\n return (\n // @ts-ignore\n (typeof __karma__ !== 'undefined' && !!__karma__) ||\n // @ts-ignore\n (typeof jasmine !== 'undefined' && !!jasmine) ||\n // @ts-ignore\n (typeof jest !== 'undefined' && !!jest) ||\n // @ts-ignore\n (typeof Mocha !== 'undefined' && !!Mocha));\n}\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { Platform, PlatformModule, _getEventTarget, _getFocusedElementPierceShadowDom, _getShadowRoot, _isTestEnvironment, _supportsShadowDom, getRtlScrollAxisType, getSupportedInputTypes, normalizePassiveListenerOptions, supportsPassiveEventListeners, supportsScrollBehavior };\n","import * as i0 from '@angular/core';\nimport { inject, Directive, Optional, Inject, Input, NgModule } from '@angular/core';\nimport { mixinDisabled, MatCommonModule } from '@angular/material/core';\nimport * as i1 from '@angular/cdk/a11y';\nimport { InteractivityChecker, A11yModule } from '@angular/cdk/a11y';\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { DOCUMENT } from '@angular/common';\nimport { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';\n\nlet nextId = 0;\n// Boilerplate for applying mixins to MatBadge.\n/** @docs-private */\nconst _MatBadgeBase = mixinDisabled(class {\n});\nconst BADGE_CONTENT_CLASS = 'mat-badge-content';\n/** Directive to display a text badge. */\nclass MatBadge extends _MatBadgeBase {\n /** The color of the badge. Can be `primary`, `accent`, or `warn`. */\n get color() {\n return this._color;\n }\n set color(value) {\n this._setColor(value);\n this._color = value;\n }\n /** Whether the badge should overlap its contents or not */\n get overlap() {\n return this._overlap;\n }\n set overlap(val) {\n this._overlap = coerceBooleanProperty(val);\n }\n /** The content for the badge */\n get content() {\n return this._content;\n }\n set content(newContent) {\n this._updateRenderedContent(newContent);\n }\n /** Message used to describe the decorated element via aria-describedby */\n get description() {\n return this._description;\n }\n set description(newDescription) {\n this._updateDescription(newDescription);\n }\n /** Whether the badge is hidden. */\n get hidden() {\n return this._hidden;\n }\n set hidden(val) {\n this._hidden = coerceBooleanProperty(val);\n }\n constructor(_ngZone, _elementRef, _ariaDescriber, _renderer, _animationMode) {\n super();\n this._ngZone = _ngZone;\n this._elementRef = _elementRef;\n this._ariaDescriber = _ariaDescriber;\n this._renderer = _renderer;\n this._animationMode = _animationMode;\n this._color = 'primary';\n this._overlap = true;\n /**\n * Position the badge should reside.\n * Accepts any combination of 'above'|'below' and 'before'|'after'\n */\n this.position = 'above after';\n /** Size of the badge. Can be 'small', 'medium', or 'large'. */\n this.size = 'medium';\n /** Unique id for the badge */\n this._id = nextId++;\n /** Whether the OnInit lifecycle hook has run yet */\n this._isInitialized = false;\n /** InteractivityChecker to determine if the badge host is focusable. */\n this._interactivityChecker = inject(InteractivityChecker);\n this._document = inject(DOCUMENT);\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n const nativeElement = _elementRef.nativeElement;\n if (nativeElement.nodeType !== nativeElement.ELEMENT_NODE) {\n throw Error('matBadge must be attached to an element node.');\n }\n }\n }\n /** Whether the badge is above the host or not */\n isAbove() {\n return this.position.indexOf('below') === -1;\n }\n /** Whether the badge is after the host or not */\n isAfter() {\n return this.position.indexOf('before') === -1;\n }\n /**\n * Gets the element into which the badge's content is being rendered. Undefined if the element\n * hasn't been created (e.g. if the badge doesn't have content).\n */\n getBadgeElement() {\n return this._badgeElement;\n }\n ngOnInit() {\n // We may have server-side rendered badge that we need to clear.\n // We need to do this in ngOnInit because the full content of the component\n // on which the badge is attached won't necessarily be in the DOM until this point.\n this._clearExistingBadges();\n if (this.content && !this._badgeElement) {\n this._badgeElement = this._createBadgeElement();\n this._updateRenderedContent(this.content);\n }\n this._isInitialized = true;\n }\n ngOnDestroy() {\n // ViewEngine only: when creating a badge through the Renderer, Angular remembers its index.\n // We have to destroy it ourselves, otherwise it'll be retained in memory.\n if (this._renderer.destroyNode) {\n this._renderer.destroyNode(this._badgeElement);\n this._inlineBadgeDescription?.remove();\n }\n this._ariaDescriber.removeDescription(this._elementRef.nativeElement, this.description);\n }\n /** Gets whether the badge's host element is interactive. */\n _isHostInteractive() {\n // Ignore visibility since it requires an expensive style caluclation.\n return this._interactivityChecker.isFocusable(this._elementRef.nativeElement, {\n ignoreVisibility: true,\n });\n }\n /** Creates the badge element */\n _createBadgeElement() {\n const badgeElement = this._renderer.createElement('span');\n const activeClass = 'mat-badge-active';\n badgeElement.setAttribute('id', `mat-badge-content-${this._id}`);\n // The badge is aria-hidden because we don't want it to appear in the page's navigation\n // flow. Instead, we use the badge to describe the decorated element with aria-describedby.\n badgeElement.setAttribute('aria-hidden', 'true');\n badgeElement.classList.add(BADGE_CONTENT_CLASS);\n if (this._animationMode === 'NoopAnimations') {\n badgeElement.classList.add('_mat-animation-noopable');\n }\n this._elementRef.nativeElement.appendChild(badgeElement);\n // animate in after insertion\n if (typeof requestAnimationFrame === 'function' && this._animationMode !== 'NoopAnimations') {\n this._ngZone.runOutsideAngular(() => {\n requestAnimationFrame(() => {\n badgeElement.classList.add(activeClass);\n });\n });\n }\n else {\n badgeElement.classList.add(activeClass);\n }\n return badgeElement;\n }\n /** Update the text content of the badge element in the DOM, creating the element if necessary. */\n _updateRenderedContent(newContent) {\n const newContentNormalized = `${newContent ?? ''}`.trim();\n // Don't create the badge element if the directive isn't initialized because we want to\n // append the badge element to the *end* of the host element's content for backwards\n // compatibility.\n if (this._isInitialized && newContentNormalized && !this._badgeElement) {\n this._badgeElement = this._createBadgeElement();\n }\n if (this._badgeElement) {\n this._badgeElement.textContent = newContentNormalized;\n }\n this._content = newContentNormalized;\n }\n /** Updates the host element's aria description via AriaDescriber. */\n _updateDescription(newDescription) {\n // Always start by removing the aria-describedby; we will add a new one if necessary.\n this._ariaDescriber.removeDescription(this._elementRef.nativeElement, this.description);\n // NOTE: We only check whether the host is interactive here, which happens during\n // when then badge content changes. It is possible that the host changes\n // interactivity status separate from one of these. However, watching the interactivity\n // status of the host would require a `MutationObserver`, which is likely more code + overhead\n // than it's worth; from usages inside Google, we see that the vats majority of badges either\n // never change interactivity, or also set `matBadgeHidden` based on the same condition.\n if (!newDescription || this._isHostInteractive()) {\n this._removeInlineDescription();\n }\n this._description = newDescription;\n // We don't add `aria-describedby` for non-interactive hosts elements because we\n // instead insert the description inline.\n if (this._isHostInteractive()) {\n this._ariaDescriber.describe(this._elementRef.nativeElement, newDescription);\n }\n else {\n this._updateInlineDescription();\n }\n }\n _updateInlineDescription() {\n // Create the inline description element if it doesn't exist\n if (!this._inlineBadgeDescription) {\n this._inlineBadgeDescription = this._document.createElement('span');\n this._inlineBadgeDescription.classList.add('cdk-visually-hidden');\n }\n this._inlineBadgeDescription.textContent = this.description;\n this._badgeElement?.appendChild(this._inlineBadgeDescription);\n }\n _removeInlineDescription() {\n this._inlineBadgeDescription?.remove();\n this._inlineBadgeDescription = undefined;\n }\n /** Adds css theme class given the color to the component host */\n _setColor(colorPalette) {\n const classList = this._elementRef.nativeElement.classList;\n classList.remove(`mat-badge-${this._color}`);\n if (colorPalette) {\n classList.add(`mat-badge-${colorPalette}`);\n }\n }\n /** Clears any existing badges that might be left over from server-side rendering. */\n _clearExistingBadges() {\n // Only check direct children of this host element in order to avoid deleting\n // any badges that might exist in descendant elements.\n const badges = this._elementRef.nativeElement.querySelectorAll(`:scope > .${BADGE_CONTENT_CLASS}`);\n for (const badgeElement of Array.from(badges)) {\n if (badgeElement !== this._badgeElement) {\n badgeElement.remove();\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatBadge, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }, { token: i1.AriaDescriber }, { token: i0.Renderer2 }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatBadge, selector: \"[matBadge]\", inputs: { disabled: [\"matBadgeDisabled\", \"disabled\"], color: [\"matBadgeColor\", \"color\"], overlap: [\"matBadgeOverlap\", \"overlap\"], position: [\"matBadgePosition\", \"position\"], content: [\"matBadge\", \"content\"], description: [\"matBadgeDescription\", \"description\"], size: [\"matBadgeSize\", \"size\"], hidden: [\"matBadgeHidden\", \"hidden\"] }, host: { properties: { \"class.mat-badge-overlap\": \"overlap\", \"class.mat-badge-above\": \"isAbove()\", \"class.mat-badge-below\": \"!isAbove()\", \"class.mat-badge-before\": \"!isAfter()\", \"class.mat-badge-after\": \"isAfter()\", \"class.mat-badge-small\": \"size === \\\"small\\\"\", \"class.mat-badge-medium\": \"size === \\\"medium\\\"\", \"class.mat-badge-large\": \"size === \\\"large\\\"\", \"class.mat-badge-hidden\": \"hidden || !content\", \"class.mat-badge-disabled\": \"disabled\" }, classAttribute: \"mat-badge\" }, usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatBadge, decorators: [{\n type: Directive,\n args: [{\n selector: '[matBadge]',\n inputs: ['disabled: matBadgeDisabled'],\n host: {\n 'class': 'mat-badge',\n '[class.mat-badge-overlap]': 'overlap',\n '[class.mat-badge-above]': 'isAbove()',\n '[class.mat-badge-below]': '!isAbove()',\n '[class.mat-badge-before]': '!isAfter()',\n '[class.mat-badge-after]': 'isAfter()',\n '[class.mat-badge-small]': 'size === \"small\"',\n '[class.mat-badge-medium]': 'size === \"medium\"',\n '[class.mat-badge-large]': 'size === \"large\"',\n '[class.mat-badge-hidden]': 'hidden || !content',\n '[class.mat-badge-disabled]': 'disabled',\n },\n }]\n }], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i0.ElementRef }, { type: i1.AriaDescriber }, { type: i0.Renderer2 }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }]; }, propDecorators: { color: [{\n type: Input,\n args: ['matBadgeColor']\n }], overlap: [{\n type: Input,\n args: ['matBadgeOverlap']\n }], position: [{\n type: Input,\n args: ['matBadgePosition']\n }], content: [{\n type: Input,\n args: ['matBadge']\n }], description: [{\n type: Input,\n args: ['matBadgeDescription']\n }], size: [{\n type: Input,\n args: ['matBadgeSize']\n }], hidden: [{\n type: Input,\n args: ['matBadgeHidden']\n }] } });\n\nclass MatBadgeModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatBadgeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatBadgeModule, declarations: [MatBadge], imports: [A11yModule, MatCommonModule], exports: [MatBadge, MatCommonModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatBadgeModule, imports: [A11yModule, MatCommonModule, MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatBadgeModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [A11yModule, MatCommonModule],\n exports: [MatBadge, MatCommonModule],\n declarations: [MatBadge],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MatBadge, MatBadgeModule };\n","import * as i0 from '@angular/core';\nimport { Component, ViewEncapsulation, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { MatCommonModule } from '@angular/material/core';\n\nclass MatDivider {\n constructor() {\n this._vertical = false;\n this._inset = false;\n }\n /** Whether the divider is vertically aligned. */\n get vertical() {\n return this._vertical;\n }\n set vertical(value) {\n this._vertical = coerceBooleanProperty(value);\n }\n /** Whether the divider is an inset divider. */\n get inset() {\n return this._inset;\n }\n set inset(value) {\n this._inset = coerceBooleanProperty(value);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDivider, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatDivider, selector: \"mat-divider\", inputs: { vertical: \"vertical\", inset: \"inset\" }, host: { attributes: { \"role\": \"separator\" }, properties: { \"attr.aria-orientation\": \"vertical ? \\\"vertical\\\" : \\\"horizontal\\\"\", \"class.mat-divider-vertical\": \"vertical\", \"class.mat-divider-horizontal\": \"!vertical\", \"class.mat-divider-inset\": \"inset\" }, classAttribute: \"mat-divider\" }, ngImport: i0, template: '', isInline: true, styles: [\".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDivider, decorators: [{\n type: Component,\n args: [{ selector: 'mat-divider', host: {\n 'role': 'separator',\n '[attr.aria-orientation]': 'vertical ? \"vertical\" : \"horizontal\"',\n '[class.mat-divider-vertical]': 'vertical',\n '[class.mat-divider-horizontal]': '!vertical',\n '[class.mat-divider-inset]': 'inset',\n 'class': 'mat-divider',\n }, template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: [\".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\"] }]\n }], propDecorators: { vertical: [{\n type: Input\n }], inset: [{\n type: Input\n }] } });\n\nclass MatDividerModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDividerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDividerModule, declarations: [MatDivider], imports: [MatCommonModule], exports: [MatDivider, MatCommonModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDividerModule, imports: [MatCommonModule, MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatDividerModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [MatCommonModule],\n exports: [MatDivider, MatCommonModule],\n declarations: [MatDivider],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MatDivider, MatDividerModule };\n","import * as i0 from '@angular/core';\nimport { Component, ViewEncapsulation, ChangeDetectionStrategy, ContentChildren, forwardRef, Directive, NgModule } from '@angular/core';\nimport { MAT_LEGACY_OPTION_PARENT_COMPONENT, MAT_LEGACY_OPTGROUP, MatLegacyOption, MatLegacyOptionModule } from '@angular/material/legacy-core';\nimport { _MatAutocompleteBase, _MatAutocompleteTriggerBase, _MatAutocompleteOriginBase, MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER } from '@angular/material/autocomplete';\nexport { MAT_AUTOCOMPLETE_DEFAULT_OPTIONS as MAT_LEGACY_AUTOCOMPLETE_DEFAULT_OPTIONS, MAT_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORY as MAT_LEGACY_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORY, MAT_AUTOCOMPLETE_SCROLL_STRATEGY as MAT_LEGACY_AUTOCOMPLETE_SCROLL_STRATEGY, MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY as MAT_LEGACY_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY, MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER as MAT_LEGACY_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER, MatAutocompleteSelectedEvent as MatLegacyAutocompleteSelectedEvent, getMatAutocompleteMissingPanelError as getMatLegacyAutocompleteMissingPanelError } from '@angular/material/autocomplete';\nimport * as i1 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport { OverlayModule } from '@angular/cdk/overlay';\nimport { MatCommonModule } from '@angular/material/core';\nimport { CdkScrollableModule } from '@angular/cdk/scrolling';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\n\n/**\n * @deprecated Use `MatAutocomplete` from `@angular/material/autocomplete` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyAutocomplete extends _MatAutocompleteBase {\n constructor() {\n super(...arguments);\n this._visibleClass = 'mat-autocomplete-visible';\n this._hiddenClass = 'mat-autocomplete-hidden';\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyAutocomplete, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyAutocomplete, selector: \"mat-autocomplete\", inputs: { disableRipple: \"disableRipple\" }, host: { attributes: { \"ngSkipHydration\": \"\" }, classAttribute: \"mat-autocomplete\" }, providers: [{ provide: MAT_LEGACY_OPTION_PARENT_COMPONENT, useExisting: MatLegacyAutocomplete }], queries: [{ propertyName: \"optionGroups\", predicate: MAT_LEGACY_OPTGROUP, descendants: true }, { propertyName: \"options\", predicate: MatLegacyOption, descendants: true }], exportAs: [\"matAutocomplete\"], usesInheritance: true, ngImport: i0, template: \"<ng-template let-formFieldId=\\\"id\\\">\\n <div class=\\\"mat-autocomplete-panel\\\"\\n role=\\\"listbox\\\"\\n [id]=\\\"id\\\"\\n [attr.aria-label]=\\\"ariaLabel || null\\\"\\n [attr.aria-labelledby]=\\\"_getPanelAriaLabelledby(formFieldId)\\\"\\n [ngClass]=\\\"_classList\\\"\\n #panel>\\n <ng-content></ng-content>\\n </div>\\n</ng-template>\\n\", styles: [\".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}mat-autocomplete{display:none}\"], dependencies: [{ kind: \"directive\", type: i1.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyAutocomplete, decorators: [{\n type: Component,\n args: [{ selector: 'mat-autocomplete', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, exportAs: 'matAutocomplete', inputs: ['disableRipple'], host: {\n 'class': 'mat-autocomplete',\n 'ngSkipHydration': '',\n }, providers: [{ provide: MAT_LEGACY_OPTION_PARENT_COMPONENT, useExisting: MatLegacyAutocomplete }], template: \"<ng-template let-formFieldId=\\\"id\\\">\\n <div class=\\\"mat-autocomplete-panel\\\"\\n role=\\\"listbox\\\"\\n [id]=\\\"id\\\"\\n [attr.aria-label]=\\\"ariaLabel || null\\\"\\n [attr.aria-labelledby]=\\\"_getPanelAriaLabelledby(formFieldId)\\\"\\n [ngClass]=\\\"_classList\\\"\\n #panel>\\n <ng-content></ng-content>\\n </div>\\n</ng-template>\\n\", styles: [\".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}mat-autocomplete{display:none}\"] }]\n }], propDecorators: { optionGroups: [{\n type: ContentChildren,\n args: [MAT_LEGACY_OPTGROUP, { descendants: true }]\n }], options: [{\n type: ContentChildren,\n args: [MatLegacyOption, { descendants: true }]\n }] } });\n\n/**\n * Provider that allows the autocomplete to register as a ControlValueAccessor.\n * @docs-private\n * @deprecated Use `MAT_AUTOCOMPLETE_VALUE_ACCESSOR` from `@angular/material/autocomplete` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nconst MAT_LEGACY_AUTOCOMPLETE_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => MatLegacyAutocompleteTrigger),\n multi: true,\n};\n/**\n * @deprecated Use `MatAutocompleteTrigger` from `@angular/material/autocomplete` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyAutocompleteTrigger extends _MatAutocompleteTriggerBase {\n constructor() {\n super(...arguments);\n this._aboveClass = 'mat-autocomplete-panel-above';\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyAutocompleteTrigger, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyAutocompleteTrigger, selector: \"input[matAutocomplete], textarea[matAutocomplete]\", host: { listeners: { \"focusin\": \"_handleFocus()\", \"blur\": \"_onTouched()\", \"input\": \"_handleInput($event)\", \"keydown\": \"_handleKeydown($event)\", \"click\": \"_handleClick()\" }, properties: { \"attr.autocomplete\": \"autocompleteAttribute\", \"attr.role\": \"autocompleteDisabled ? null : \\\"combobox\\\"\", \"attr.aria-autocomplete\": \"autocompleteDisabled ? null : \\\"list\\\"\", \"attr.aria-activedescendant\": \"(panelOpen && activeOption) ? activeOption.id : null\", \"attr.aria-expanded\": \"autocompleteDisabled ? null : panelOpen.toString()\", \"attr.aria-owns\": \"(autocompleteDisabled || !panelOpen) ? null : autocomplete?.id\", \"attr.aria-haspopup\": \"autocompleteDisabled ? null : \\\"listbox\\\"\" }, classAttribute: \"mat-autocomplete-trigger\" }, providers: [MAT_LEGACY_AUTOCOMPLETE_VALUE_ACCESSOR], exportAs: [\"matAutocompleteTrigger\"], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyAutocompleteTrigger, decorators: [{\n type: Directive,\n args: [{\n selector: `input[matAutocomplete], textarea[matAutocomplete]`,\n host: {\n 'class': 'mat-autocomplete-trigger',\n '[attr.autocomplete]': 'autocompleteAttribute',\n '[attr.role]': 'autocompleteDisabled ? null : \"combobox\"',\n '[attr.aria-autocomplete]': 'autocompleteDisabled ? null : \"list\"',\n '[attr.aria-activedescendant]': '(panelOpen && activeOption) ? activeOption.id : null',\n '[attr.aria-expanded]': 'autocompleteDisabled ? null : panelOpen.toString()',\n '[attr.aria-owns]': '(autocompleteDisabled || !panelOpen) ? null : autocomplete?.id',\n '[attr.aria-haspopup]': 'autocompleteDisabled ? null : \"listbox\"',\n // Note: we use `focusin`, as opposed to `focus`, in order to open the panel\n // a little earlier. This avoids issues where IE delays the focusing of the input.\n '(focusin)': '_handleFocus()',\n '(blur)': '_onTouched()',\n '(input)': '_handleInput($event)',\n '(keydown)': '_handleKeydown($event)',\n '(click)': '_handleClick()',\n },\n exportAs: 'matAutocompleteTrigger',\n providers: [MAT_LEGACY_AUTOCOMPLETE_VALUE_ACCESSOR],\n }]\n }] });\n\n/**\n * Directive applied to an element to make it usable\n * as a connection point for an autocomplete panel.\n * @deprecated Use `MatAutocompleteOrigin` from `@angular/material/autocomplete` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyAutocompleteOrigin extends _MatAutocompleteOriginBase {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyAutocompleteOrigin, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyAutocompleteOrigin, selector: \"[matAutocompleteOrigin]\", exportAs: [\"matAutocompleteOrigin\"], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyAutocompleteOrigin, decorators: [{\n type: Directive,\n args: [{\n selector: '[matAutocompleteOrigin]',\n exportAs: 'matAutocompleteOrigin',\n }]\n }] });\n\n/**\n * @deprecated Use `MatAutocompleteModule` from `@angular/material/autocomplete` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyAutocompleteModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyAutocompleteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyAutocompleteModule, declarations: [MatLegacyAutocomplete, MatLegacyAutocompleteTrigger, MatLegacyAutocompleteOrigin], imports: [OverlayModule, MatLegacyOptionModule, MatCommonModule, CommonModule], exports: [MatLegacyAutocomplete,\n MatLegacyAutocompleteTrigger,\n MatLegacyAutocompleteOrigin,\n CdkScrollableModule,\n MatLegacyOptionModule,\n MatCommonModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyAutocompleteModule, providers: [MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER], imports: [OverlayModule, MatLegacyOptionModule, MatCommonModule, CommonModule, CdkScrollableModule,\n MatLegacyOptionModule,\n MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyAutocompleteModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [OverlayModule, MatLegacyOptionModule, MatCommonModule, CommonModule],\n exports: [\n MatLegacyAutocomplete,\n MatLegacyAutocompleteTrigger,\n MatLegacyAutocompleteOrigin,\n CdkScrollableModule,\n MatLegacyOptionModule,\n MatCommonModule,\n ],\n declarations: [MatLegacyAutocomplete, MatLegacyAutocompleteTrigger, MatLegacyAutocompleteOrigin],\n providers: [MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MAT_LEGACY_AUTOCOMPLETE_VALUE_ACCESSOR, MatLegacyAutocomplete, MatLegacyAutocompleteModule, MatLegacyAutocompleteOrigin, MatLegacyAutocompleteTrigger };\n","import * as i0 from '@angular/core';\nimport { Component, ViewEncapsulation, ChangeDetectionStrategy, Optional, Inject, NgModule } from '@angular/core';\nimport * as i2 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i1 from '@angular/material/core';\nimport { _MatOptgroupBase, MAT_OPTGROUP, _MatOptionBase, MAT_OPTION_PARENT_COMPONENT, MatRippleModule, MatCommonModule, MatPseudoCheckboxModule } from '@angular/material/core';\nexport { VERSION as LEGACY_VERSION, AnimationCurves as LegacyAnimationCurves, AnimationDurations as LegacyAnimationDurations, DateAdapter as LegacyDateAdapter, ErrorStateMatcher as LegacyErrorStateMatcher, NativeDateAdapter as LegacyNativeDateAdapter, NativeDateModule as LegacyNativeDateModule, RippleRef as LegacyRippleRef, RippleRenderer as LegacyRippleRenderer, ShowOnDirtyErrorStateMatcher as LegacyShowOnDirtyErrorStateMatcher, MATERIAL_SANITY_CHECKS as MATERIAL_LEGACY_SANITY_CHECKS, MAT_DATE_FORMATS as MAT_LEGACY_DATE_FORMATS, MAT_DATE_LOCALE as MAT_LEGACY_DATE_LOCALE, MAT_DATE_LOCALE_FACTORY as MAT_LEGACY_DATE_LOCALE_FACTORY, MAT_NATIVE_DATE_FORMATS as MAT_LEGACY_NATIVE_DATE_FORMATS, MAT_OPTGROUP as MAT_LEGACY_OPTGROUP, MAT_OPTION_PARENT_COMPONENT as MAT_LEGACY_OPTION_PARENT_COMPONENT, MAT_RIPPLE_GLOBAL_OPTIONS as MAT_LEGACY_RIPPLE_GLOBAL_OPTIONS, MatCommonModule as MatLegacyCommonModule, MatLine as MatLegacyLine, MatLineModule as MatLegacyLineModule, MatNativeDateModule as MatLegacyNativeDateModule, MatOptionSelectionChange as MatLegacyOptionSelectionChange, MatPseudoCheckbox as MatLegacyPseudoCheckbox, MatPseudoCheckboxModule as MatLegacyPseudoCheckboxModule, MatRipple as MatLegacyRipple, MatRippleModule as MatLegacyRippleModule, _MatOptgroupBase as _MatLegacyOptgroupBase, _MatOptionBase as _MatLegacyOptionBase, _countGroupLabelsBeforeOption as _countGroupLabelsBeforeLegacyOption, _getOptionScrollPosition as _getLegacyOptionScrollPosition, defaultRippleAnimationConfig as legacyDefaultRippleAnimationConfig, mixinColor as legacyMixinColor, mixinDisableRipple as legacyMixinDisableRipple, mixinDisabled as legacyMixinDisabled, mixinErrorState as legacyMixinErrorState, mixinInitialized as legacyMixinInitialized, mixinTabIndex as legacyMixinTabIndex, setLines as legacySetLines } from '@angular/material/core';\n\n/**\n * Component that is used to group instances of `mat-option`.\n * @deprecated Use `MatOptgroup` from `@angular/material/core` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyOptgroup extends _MatOptgroupBase {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyOptgroup, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyOptgroup, selector: \"mat-optgroup\", inputs: { disabled: \"disabled\" }, host: { properties: { \"attr.role\": \"_inert ? null : \\\"group\\\"\", \"attr.aria-disabled\": \"_inert ? null : disabled.toString()\", \"attr.aria-labelledby\": \"_inert ? null : _labelId\", \"class.mat-optgroup-disabled\": \"disabled\" }, classAttribute: \"mat-optgroup\" }, providers: [{ provide: MAT_OPTGROUP, useExisting: MatLegacyOptgroup }], exportAs: [\"matOptgroup\"], usesInheritance: true, ngImport: i0, template: \"<span class=\\\"mat-optgroup-label\\\" role=\\\"presentation\\\" [id]=\\\"_labelId\\\">{{ label }} <ng-content></ng-content></span>\\n<ng-content select=\\\"mat-option, ng-container\\\"></ng-content>\\n\", styles: [\".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyOptgroup, decorators: [{\n type: Component,\n args: [{ selector: 'mat-optgroup', exportAs: 'matOptgroup', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, inputs: ['disabled'], host: {\n 'class': 'mat-optgroup',\n '[attr.role]': '_inert ? null : \"group\"',\n '[attr.aria-disabled]': '_inert ? null : disabled.toString()',\n '[attr.aria-labelledby]': '_inert ? null : _labelId',\n '[class.mat-optgroup-disabled]': 'disabled',\n }, providers: [{ provide: MAT_OPTGROUP, useExisting: MatLegacyOptgroup }], template: \"<span class=\\\"mat-optgroup-label\\\" role=\\\"presentation\\\" [id]=\\\"_labelId\\\">{{ label }} <ng-content></ng-content></span>\\n<ng-content select=\\\"mat-option, ng-container\\\"></ng-content>\\n\", styles: [\".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}\"] }]\n }] });\n\n/**\n * Single option inside of a `<mat-select>` element.\n * @deprecated Use `MatOption` from `@angular/material/core` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyOption extends _MatOptionBase {\n constructor(element, changeDetectorRef, parent, group) {\n super(element, changeDetectorRef, parent, group);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyOption, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: MAT_OPTION_PARENT_COMPONENT, optional: true }, { token: MAT_OPTGROUP, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyOption, selector: \"mat-option\", host: { attributes: { \"role\": \"option\" }, listeners: { \"click\": \"_selectViaInteraction()\", \"keydown\": \"_handleKeydown($event)\" }, properties: { \"attr.tabindex\": \"_getTabIndex()\", \"class.mat-selected\": \"selected\", \"class.mat-option-multiple\": \"multiple\", \"class.mat-active\": \"active\", \"id\": \"id\", \"attr.aria-selected\": \"selected\", \"attr.aria-disabled\": \"disabled.toString()\", \"class.mat-option-disabled\": \"disabled\" }, classAttribute: \"mat-option mat-focus-indicator\" }, exportAs: [\"matOption\"], usesInheritance: true, ngImport: i0, template: \"<mat-pseudo-checkbox *ngIf=\\\"multiple\\\" class=\\\"mat-option-pseudo-checkbox\\\"\\n [state]=\\\"selected ? 'checked' : 'unchecked'\\\" [disabled]=\\\"disabled\\\"></mat-pseudo-checkbox>\\n\\n<span class=\\\"mat-option-text\\\" #text><ng-content></ng-content></span>\\n\\n<!-- See a11y notes inside optgroup.ts for context behind this element. -->\\n<span class=\\\"cdk-visually-hidden\\\" *ngIf=\\\"group && group._inert\\\">({{ group.label }})</span>\\n\\n<div class=\\\"mat-option-ripple\\\" mat-ripple\\n [matRippleTrigger]=\\\"_getHostElement()\\\"\\n [matRippleDisabled]=\\\"disabled || disableRipple\\\">\\n</div>\\n\", styles: [\".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.mat-option.mat-active::before{content:\\\"\\\"}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{content:\\\"\\\";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{right:auto;left:16px}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\"], dependencies: [{ kind: \"directive\", type: i1.MatRipple, selector: \"[mat-ripple], [matRipple]\", inputs: [\"matRippleColor\", \"matRippleUnbounded\", \"matRippleCentered\", \"matRippleRadius\", \"matRippleAnimation\", \"matRippleDisabled\", \"matRippleTrigger\"], exportAs: [\"matRipple\"] }, { kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"component\", type: i1.MatPseudoCheckbox, selector: \"mat-pseudo-checkbox\", inputs: [\"state\", \"disabled\", \"appearance\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyOption, decorators: [{\n type: Component,\n args: [{ selector: 'mat-option', exportAs: 'matOption', host: {\n 'role': 'option',\n '[attr.tabindex]': '_getTabIndex()',\n '[class.mat-selected]': 'selected',\n '[class.mat-option-multiple]': 'multiple',\n '[class.mat-active]': 'active',\n '[id]': 'id',\n '[attr.aria-selected]': 'selected',\n '[attr.aria-disabled]': 'disabled.toString()',\n '[class.mat-option-disabled]': 'disabled',\n '(click)': '_selectViaInteraction()',\n '(keydown)': '_handleKeydown($event)',\n 'class': 'mat-option mat-focus-indicator',\n }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: \"<mat-pseudo-checkbox *ngIf=\\\"multiple\\\" class=\\\"mat-option-pseudo-checkbox\\\"\\n [state]=\\\"selected ? 'checked' : 'unchecked'\\\" [disabled]=\\\"disabled\\\"></mat-pseudo-checkbox>\\n\\n<span class=\\\"mat-option-text\\\" #text><ng-content></ng-content></span>\\n\\n<!-- See a11y notes inside optgroup.ts for context behind this element. -->\\n<span class=\\\"cdk-visually-hidden\\\" *ngIf=\\\"group && group._inert\\\">({{ group.label }})</span>\\n\\n<div class=\\\"mat-option-ripple\\\" mat-ripple\\n [matRippleTrigger]=\\\"_getHostElement()\\\"\\n [matRippleDisabled]=\\\"disabled || disableRipple\\\">\\n</div>\\n\", styles: [\".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.mat-option.mat-active::before{content:\\\"\\\"}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{content:\\\"\\\";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{right:auto;left:16px}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_OPTION_PARENT_COMPONENT]\n }] }, { type: MatLegacyOptgroup, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_OPTGROUP]\n }] }]; } });\n\n/**\n * @deprecated Use `MatOptionModule` from `@angular/material/core` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyOptionModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyOptionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyOptionModule, declarations: [MatLegacyOption, MatLegacyOptgroup], imports: [MatRippleModule, CommonModule, MatCommonModule, MatPseudoCheckboxModule], exports: [MatLegacyOption, MatLegacyOptgroup] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyOptionModule, imports: [MatRippleModule, CommonModule, MatCommonModule, MatPseudoCheckboxModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyOptionModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [MatRippleModule, CommonModule, MatCommonModule, MatPseudoCheckboxModule],\n exports: [MatLegacyOption, MatLegacyOptgroup],\n declarations: [MatLegacyOption, MatLegacyOptgroup],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MatLegacyOptgroup, MatLegacyOption, MatLegacyOptionModule };\n","import * as i0 from '@angular/core';\nimport { inject, Directive, NgModule } from '@angular/core';\nimport { MatInput } from '@angular/material/input';\nexport { MAT_INPUT_VALUE_ACCESSOR as MAT_LEGACY_INPUT_VALUE_ACCESSOR, getMatInputUnsupportedTypeError as getMatLegacyInputUnsupportedTypeError } from '@angular/material/input';\nimport { MAT_LEGACY_FORM_FIELD, MatLegacyFormFieldControl, MatLegacyFormFieldModule } from '@angular/material/legacy-form-field';\nimport { TextFieldModule } from '@angular/cdk/text-field';\nimport { MatCommonModule, ErrorStateMatcher } from '@angular/material/core';\n\n/**\n * Directive that allows a native input to work inside a `MatFormField`.\n * @deprecated Use `MatInput` from `@angular/material/input` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyInput extends MatInput {\n constructor() {\n super(...arguments);\n this._legacyFormField = inject(MAT_LEGACY_FORM_FIELD, { optional: true });\n }\n _getPlaceholder() {\n // If we're hiding the native placeholder, it should also be cleared from the DOM, otherwise\n // screen readers will read it out twice: once from the label and once from the attribute.\n // TODO: can be removed once we get rid of the `legacy` style for the form field, because it's\n // the only one that supports promoting the placeholder to a label.\n const formField = this._legacyFormField;\n return formField && formField.appearance === 'legacy' && !formField._hasLabel?.()\n ? null\n : this.placeholder;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyInput, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyInput, selector: \"input[matInput], textarea[matInput], select[matNativeControl],\\n input[matNativeControl], textarea[matNativeControl]\", host: { properties: { \"class.mat-input-server\": \"_isServer\", \"class.mat-mdc-input-element\": \"false\", \"class.mat-mdc-form-field-textarea-control\": \"false\", \"class.mat-mdc-form-field-input-control\": \"false\", \"class.mdc-text-field__input\": \"false\", \"class.mat-mdc-native-select-inline\": \"false\", \"attr.data-placeholder\": \"placeholder\", \"class.mat-native-select-inline\": \"_isInlineSelect()\" }, classAttribute: \"mat-input-element mat-form-field-autofill-control\" }, providers: [{ provide: MatLegacyFormFieldControl, useExisting: MatLegacyInput }], exportAs: [\"matInput\"], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyInput, decorators: [{\n type: Directive,\n args: [{\n selector: `input[matInput], textarea[matInput], select[matNativeControl],\n input[matNativeControl], textarea[matNativeControl]`,\n exportAs: 'matInput',\n host: {\n /**\n * @breaking-change 8.0.0 remove .mat-form-field-autofill-control in favor of AutofillMonitor.\n */\n 'class': 'mat-input-element mat-form-field-autofill-control',\n '[class.mat-input-server]': '_isServer',\n // These classes are inherited from the base input class and need to be cleared.\n '[class.mat-mdc-input-element]': 'false',\n '[class.mat-mdc-form-field-textarea-control]': 'false',\n '[class.mat-mdc-form-field-input-control]': 'false',\n '[class.mdc-text-field__input]': 'false',\n '[class.mat-mdc-native-select-inline]': 'false',\n // At the time of writing, we have a lot of customer tests that look up the input based on its\n // placeholder. Since we sometimes omit the placeholder attribute from the DOM to prevent screen\n // readers from reading it twice, we have to keep it somewhere in the DOM for the lookup.\n '[attr.data-placeholder]': 'placeholder',\n '[class.mat-native-select-inline]': '_isInlineSelect()',\n },\n providers: [{ provide: MatLegacyFormFieldControl, useExisting: MatLegacyInput }],\n }]\n }] });\n\n/**\n * @deprecated Use `MatInputModule` from `@angular/material/input` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyInputModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyInputModule, declarations: [MatLegacyInput], imports: [TextFieldModule, MatLegacyFormFieldModule, MatCommonModule], exports: [TextFieldModule,\n // We re-export the `MatLegacyFormFieldModule` since `MatLegacyInput` will almost always\n // be used together with `MatLegacyFormField`.\n MatLegacyFormFieldModule,\n MatLegacyInput] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyInputModule, providers: [ErrorStateMatcher], imports: [TextFieldModule, MatLegacyFormFieldModule, MatCommonModule, TextFieldModule,\n // We re-export the `MatLegacyFormFieldModule` since `MatLegacyInput` will almost always\n // be used together with `MatLegacyFormField`.\n MatLegacyFormFieldModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyInputModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [MatLegacyInput],\n imports: [TextFieldModule, MatLegacyFormFieldModule, MatCommonModule],\n exports: [\n TextFieldModule,\n // We re-export the `MatLegacyFormFieldModule` since `MatLegacyInput` will almost always\n // be used together with `MatLegacyFormField`.\n MatLegacyFormFieldModule,\n MatLegacyInput,\n ],\n providers: [ErrorStateMatcher],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MatLegacyInput, MatLegacyInputModule };\n","import * as i0 from '@angular/core';\nimport { Component, ChangeDetectionStrategy, ViewEncapsulation, Inject, Directive, NgModule } from '@angular/core';\nimport { _MatMenuBase, MAT_MENU_DEFAULT_OPTIONS, MAT_MENU_PANEL, matMenuAnimations, MatMenuItem, _MatMenuTriggerBase, _MatMenuContentBase, MAT_MENU_CONTENT, MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER } from '@angular/material/menu';\nexport { MAT_MENU_CONTENT as MAT_LEGACY_MENU_CONTENT, MAT_MENU_DEFAULT_OPTIONS as MAT_LEGACY_MENU_DEFAULT_OPTIONS, MAT_MENU_PANEL as MAT_LEGACY_MENU_PANEL, MAT_MENU_SCROLL_STRATEGY as MAT_LEGACY_MENU_SCROLL_STRATEGY, fadeInItems as fadeInLegacyItems, matMenuAnimations as matLegacyMenuAnimations, transformMenu as transformLegacyMenu } from '@angular/material/menu';\nimport * as i1 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i2 from '@angular/material/core';\nimport { MatCommonModule, MatRippleModule } from '@angular/material/core';\nimport { OverlayModule } from '@angular/cdk/overlay';\nimport { CdkScrollableModule } from '@angular/cdk/scrolling';\n\n/**\n * @docs-public MatMenu\n * @deprecated Use `MatMenu` from `@angular/material/menu` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyMenu extends _MatMenuBase {\n constructor(elementRef, ngZone, defaultOptions, changeDetectorRef) {\n super(elementRef, ngZone, defaultOptions, changeDetectorRef);\n this._elevationPrefix = 'mat-elevation-z';\n this._baseElevation = 4;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyMenu, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: MAT_MENU_DEFAULT_OPTIONS }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyMenu, selector: \"mat-menu\", host: { attributes: { \"ngSkipHydration\": \"\" }, properties: { \"attr.aria-label\": \"null\", \"attr.aria-labelledby\": \"null\", \"attr.aria-describedby\": \"null\" } }, providers: [{ provide: MAT_MENU_PANEL, useExisting: MatLegacyMenu }], exportAs: [\"matMenu\"], usesInheritance: true, ngImport: i0, template: \"<ng-template>\\n <div\\n class=\\\"mat-menu-panel\\\"\\n [id]=\\\"panelId\\\"\\n [ngClass]=\\\"_classList\\\"\\n (keydown)=\\\"_handleKeydown($event)\\\"\\n (click)=\\\"closed.emit('click')\\\"\\n [@transformMenu]=\\\"_panelAnimationState\\\"\\n (@transformMenu.start)=\\\"_onAnimationStart($event)\\\"\\n (@transformMenu.done)=\\\"_onAnimationDone($event)\\\"\\n tabindex=\\\"-1\\\"\\n role=\\\"menu\\\"\\n [attr.aria-label]=\\\"ariaLabel || null\\\"\\n [attr.aria-labelledby]=\\\"ariaLabelledby || null\\\"\\n [attr.aria-describedby]=\\\"ariaDescribedby || null\\\">\\n <div class=\\\"mat-menu-content\\\">\\n <ng-content></ng-content>\\n </div>\\n </div>\\n</ng-template>\\n\", styles: [\"mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px;position:relative}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]::after{display:block;position:absolute;content:\\\"\\\";top:0;left:0;bottom:0;right:0}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\"], dependencies: [{ kind: \"directive\", type: i1.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }], animations: [matMenuAnimations.transformMenu, matMenuAnimations.fadeInItems], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyMenu, decorators: [{\n type: Component,\n args: [{ selector: 'mat-menu', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, exportAs: 'matMenu', host: {\n '[attr.aria-label]': 'null',\n '[attr.aria-labelledby]': 'null',\n '[attr.aria-describedby]': 'null',\n 'ngSkipHydration': '',\n }, animations: [matMenuAnimations.transformMenu, matMenuAnimations.fadeInItems], providers: [{ provide: MAT_MENU_PANEL, useExisting: MatLegacyMenu }], template: \"<ng-template>\\n <div\\n class=\\\"mat-menu-panel\\\"\\n [id]=\\\"panelId\\\"\\n [ngClass]=\\\"_classList\\\"\\n (keydown)=\\\"_handleKeydown($event)\\\"\\n (click)=\\\"closed.emit('click')\\\"\\n [@transformMenu]=\\\"_panelAnimationState\\\"\\n (@transformMenu.start)=\\\"_onAnimationStart($event)\\\"\\n (@transformMenu.done)=\\\"_onAnimationDone($event)\\\"\\n tabindex=\\\"-1\\\"\\n role=\\\"menu\\\"\\n [attr.aria-label]=\\\"ariaLabel || null\\\"\\n [attr.aria-labelledby]=\\\"ariaLabelledby || null\\\"\\n [attr.aria-describedby]=\\\"ariaDescribedby || null\\\">\\n <div class=\\\"mat-menu-content\\\">\\n <ng-content></ng-content>\\n </div>\\n </div>\\n</ng-template>\\n\", styles: [\"mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px;position:relative}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]::after{display:block;position:absolute;content:\\\"\\\";top:0;left:0;bottom:0;right:0}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: undefined, decorators: [{\n type: Inject,\n args: [MAT_MENU_DEFAULT_OPTIONS]\n }] }, { type: i0.ChangeDetectorRef }]; } });\n\n/**\n * Single item inside of a `mat-menu`. Provides the menu item styling and accessibility treatment.\n * @deprecated Use `MatMenuItem` from `@angular/material/menu` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyMenuItem extends MatMenuItem {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyMenuItem, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyMenuItem, selector: \"[mat-menu-item]\", inputs: { disabled: \"disabled\", disableRipple: \"disableRipple\" }, host: { properties: { \"attr.role\": \"role\", \"class.mat-menu-item\": \"true\", \"class.mat-menu-item-highlighted\": \"_highlighted\", \"class.mat-menu-item-submenu-trigger\": \"_triggersSubmenu\", \"attr.tabindex\": \"_getTabIndex()\", \"attr.aria-disabled\": \"disabled.toString()\", \"attr.disabled\": \"disabled || null\", \"class.mat-mdc-menu-item\": \"false\", \"class.mat-mdc-focus-indicator\": \"false\", \"class.mdc-list-item\": \"false\", \"class.mat-mdc-menu-item-highlighted\": \"false\", \"class.mat-mdc-menu-item-submenu-trigger\": \"false\" }, classAttribute: \"mat-focus-indicator\" }, providers: [{ provide: MatMenuItem, useExisting: MatLegacyMenuItem }], exportAs: [\"matMenuItem\"], usesInheritance: true, ngImport: i0, template: \"<ng-content></ng-content>\\n<div class=\\\"mat-menu-ripple\\\" matRipple\\n [matRippleDisabled]=\\\"disableRipple || disabled\\\"\\n [matRippleTrigger]=\\\"_getHostElement()\\\">\\n</div>\\n\\n<svg\\n *ngIf=\\\"_triggersSubmenu\\\"\\n class=\\\"mat-menu-submenu-icon\\\"\\n viewBox=\\\"0 0 5 10\\\"\\n focusable=\\\"false\\\"\\n aria-hidden=\\\"true\\\"><polygon points=\\\"0,0 5,5 0,10\\\"/></svg>\\n\", dependencies: [{ kind: \"directive\", type: i1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i2.MatRipple, selector: \"[mat-ripple], [matRipple]\", inputs: [\"matRippleColor\", \"matRippleUnbounded\", \"matRippleCentered\", \"matRippleRadius\", \"matRippleAnimation\", \"matRippleDisabled\", \"matRippleTrigger\"], exportAs: [\"matRipple\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyMenuItem, decorators: [{\n type: Component,\n args: [{ selector: '[mat-menu-item]', exportAs: 'matMenuItem', inputs: ['disabled', 'disableRipple'], host: {\n '[attr.role]': 'role',\n '[class.mat-menu-item]': 'true',\n '[class.mat-menu-item-highlighted]': '_highlighted',\n '[class.mat-menu-item-submenu-trigger]': '_triggersSubmenu',\n '[attr.tabindex]': '_getTabIndex()',\n '[attr.aria-disabled]': 'disabled.toString()',\n '[attr.disabled]': 'disabled || null',\n 'class': 'mat-focus-indicator',\n // Classes added by the base class that should be removed.\n '[class.mat-mdc-menu-item]': 'false',\n '[class.mat-mdc-focus-indicator]': 'false',\n '[class.mdc-list-item]': 'false',\n '[class.mat-mdc-menu-item-highlighted]': 'false',\n '[class.mat-mdc-menu-item-submenu-trigger]': 'false',\n }, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [{ provide: MatMenuItem, useExisting: MatLegacyMenuItem }], template: \"<ng-content></ng-content>\\n<div class=\\\"mat-menu-ripple\\\" matRipple\\n [matRippleDisabled]=\\\"disableRipple || disabled\\\"\\n [matRippleTrigger]=\\\"_getHostElement()\\\">\\n</div>\\n\\n<svg\\n *ngIf=\\\"_triggersSubmenu\\\"\\n class=\\\"mat-menu-submenu-icon\\\"\\n viewBox=\\\"0 0 5 10\\\"\\n focusable=\\\"false\\\"\\n aria-hidden=\\\"true\\\"><polygon points=\\\"0,0 5,5 0,10\\\"/></svg>\\n\" }]\n }] });\n\n// TODO(andrewseguin): Remove the kebab versions in favor of camelCased attribute selectors\n/**\n * Directive applied to an element that should trigger a `mat-menu`.\n * @deprecated Use `MatMenuTrigger` from `@angular/material/menu` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyMenuTrigger extends _MatMenuTriggerBase {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyMenuTrigger, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyMenuTrigger, selector: \"[mat-menu-trigger-for], [matMenuTriggerFor]\", host: { classAttribute: \"mat-menu-trigger\" }, exportAs: [\"matMenuTrigger\"], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyMenuTrigger, decorators: [{\n type: Directive,\n args: [{\n selector: `[mat-menu-trigger-for], [matMenuTriggerFor]`,\n host: {\n 'class': 'mat-menu-trigger',\n },\n exportAs: 'matMenuTrigger',\n }]\n }] });\n\n/**\n * Menu content that will be rendered lazily once the menu is opened.\n * @deprecated Use `MatMenuContent` from `@angular/material/menu` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyMenuContent extends _MatMenuContentBase {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyMenuContent, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyMenuContent, selector: \"ng-template[matMenuContent]\", providers: [{ provide: MAT_MENU_CONTENT, useExisting: MatLegacyMenuContent }], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyMenuContent, decorators: [{\n type: Directive,\n args: [{\n selector: 'ng-template[matMenuContent]',\n providers: [{ provide: MAT_MENU_CONTENT, useExisting: MatLegacyMenuContent }],\n }]\n }] });\n\n/**\n * @deprecated Use `MatMenuModule` from `@angular/material/menu` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyMenuModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyMenuModule, declarations: [MatLegacyMenu, MatLegacyMenuItem, MatLegacyMenuTrigger, MatLegacyMenuContent], imports: [CommonModule, MatCommonModule, MatRippleModule, OverlayModule], exports: [CdkScrollableModule,\n MatCommonModule,\n MatLegacyMenu,\n MatLegacyMenuItem,\n MatLegacyMenuTrigger,\n MatLegacyMenuContent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyMenuModule, providers: [MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER], imports: [CommonModule, MatCommonModule, MatRippleModule, OverlayModule, CdkScrollableModule,\n MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyMenuModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [CommonModule, MatCommonModule, MatRippleModule, OverlayModule],\n exports: [\n CdkScrollableModule,\n MatCommonModule,\n MatLegacyMenu,\n MatLegacyMenuItem,\n MatLegacyMenuTrigger,\n MatLegacyMenuContent,\n ],\n declarations: [MatLegacyMenu, MatLegacyMenuItem, MatLegacyMenuTrigger, MatLegacyMenuContent],\n providers: [MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MatLegacyMenu, MatLegacyMenuContent, MatLegacyMenuItem, MatLegacyMenuModule, MatLegacyMenuTrigger };\n","import * as i2 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { InjectionToken, Component, ChangeDetectionStrategy, ViewEncapsulation, Optional, Inject, NgModule } from '@angular/core';\nimport { MatCommonModule } from '@angular/material/core';\nimport * as i3 from '@angular/material/legacy-button';\nimport { MatLegacyButtonModule } from '@angular/material/legacy-button';\nimport * as i5 from '@angular/material/legacy-select';\nimport { MatLegacySelectModule } from '@angular/material/legacy-select';\nimport * as i7 from '@angular/material/legacy-tooltip';\nimport { MatLegacyTooltipModule } from '@angular/material/legacy-tooltip';\nimport * as i1 from '@angular/material/paginator';\nimport { _MatPaginatorBase, MAT_PAGINATOR_INTL_PROVIDER } from '@angular/material/paginator';\nexport { PageEvent as LegacyPageEvent, MAT_PAGINATOR_INTL_PROVIDER as MAT_LEGACY_PAGINATOR_INTL_PROVIDER, MAT_PAGINATOR_INTL_PROVIDER_FACTORY as MAT_LEGACY_PAGINATOR_INTL_PROVIDER_FACTORY, MatPaginatorIntl as MatLegacyPaginatorIntl, _MatPaginatorBase as _MatLegacyPaginatorBase } from '@angular/material/paginator';\nimport * as i4 from '@angular/material/legacy-form-field';\nimport * as i6 from '@angular/material/legacy-core';\n\n/**\n * Injection token that can be used to provide the default options for the paginator module.\n * @deprecated Use `MAT_PAGINATOR_DEFAULT_OPTIONS` from `@angular/material/paginator` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nconst MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS = new InjectionToken('MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS');\n/**\n * Component to provide navigation between paged information. Displays the size of the current\n * page, user-selectable options to change that size, what items are being shown, and\n * navigational button to go to the previous or next page.\n * @deprecated Use `MatPaginator` from `@angular/material/paginator` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyPaginator extends _MatPaginatorBase {\n constructor(intl, changeDetectorRef, defaults) {\n super(intl, changeDetectorRef, defaults);\n if (defaults && defaults.formFieldAppearance != null) {\n this._formFieldAppearance = defaults.formFieldAppearance;\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyPaginator, deps: [{ token: i1.MatPaginatorIntl }, { token: i0.ChangeDetectorRef }, { token: MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyPaginator, selector: \"mat-paginator\", inputs: { disabled: \"disabled\" }, host: { attributes: { \"role\": \"group\" }, classAttribute: \"mat-paginator\" }, exportAs: [\"matPaginator\"], usesInheritance: true, ngImport: i0, template: \"<div class=\\\"mat-paginator-outer-container\\\">\\n <div class=\\\"mat-paginator-container\\\">\\n <div class=\\\"mat-paginator-page-size\\\" *ngIf=\\\"!hidePageSize\\\">\\n <div class=\\\"mat-paginator-page-size-label\\\">\\n {{_intl.itemsPerPageLabel}}\\n </div>\\n\\n <mat-form-field\\n *ngIf=\\\"_displayedPageSizeOptions.length > 1\\\"\\n [appearance]=\\\"_formFieldAppearance!\\\"\\n [color]=\\\"color\\\"\\n class=\\\"mat-paginator-page-size-select\\\">\\n <mat-select\\n [value]=\\\"pageSize\\\"\\n [disabled]=\\\"disabled\\\"\\n [panelClass]=\\\"selectConfig.panelClass || ''\\\"\\n [disableOptionCentering]=\\\"selectConfig.disableOptionCentering\\\"\\n [aria-label]=\\\"_intl.itemsPerPageLabel\\\"\\n (selectionChange)=\\\"_changePageSize($event.value)\\\">\\n <mat-option *ngFor=\\\"let pageSizeOption of _displayedPageSizeOptions\\\" [value]=\\\"pageSizeOption\\\">\\n {{pageSizeOption}}\\n </mat-option>\\n </mat-select>\\n </mat-form-field>\\n\\n <div\\n class=\\\"mat-paginator-page-size-value\\\"\\n *ngIf=\\\"_displayedPageSizeOptions.length <= 1\\\">{{pageSize}}</div>\\n </div>\\n\\n <div class=\\\"mat-paginator-range-actions\\\">\\n <div class=\\\"mat-paginator-range-label\\\">\\n {{_intl.getRangeLabel(pageIndex, pageSize, length)}}\\n </div>\\n\\n <button mat-icon-button type=\\\"button\\\"\\n class=\\\"mat-paginator-navigation-first\\\"\\n (click)=\\\"firstPage()\\\"\\n [attr.aria-label]=\\\"_intl.firstPageLabel\\\"\\n [matTooltip]=\\\"_intl.firstPageLabel\\\"\\n [matTooltipDisabled]=\\\"_previousButtonsDisabled()\\\"\\n [matTooltipPosition]=\\\"'above'\\\"\\n [disabled]=\\\"_previousButtonsDisabled()\\\"\\n *ngIf=\\\"showFirstLastButtons\\\">\\n <svg class=\\\"mat-paginator-icon\\\" viewBox=\\\"0 0 24 24\\\" focusable=\\\"false\\\" aria-hidden=\\\"true\\\">\\n <path d=\\\"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z\\\"/>\\n </svg>\\n </button>\\n <button mat-icon-button type=\\\"button\\\"\\n class=\\\"mat-paginator-navigation-previous\\\"\\n (click)=\\\"previousPage()\\\"\\n [attr.aria-label]=\\\"_intl.previousPageLabel\\\"\\n [matTooltip]=\\\"_intl.previousPageLabel\\\"\\n [matTooltipDisabled]=\\\"_previousButtonsDisabled()\\\"\\n [matTooltipPosition]=\\\"'above'\\\"\\n [disabled]=\\\"_previousButtonsDisabled()\\\">\\n <svg class=\\\"mat-paginator-icon\\\" viewBox=\\\"0 0 24 24\\\" focusable=\\\"false\\\" aria-hidden=\\\"true\\\">\\n <path d=\\\"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z\\\"/>\\n </svg>\\n </button>\\n <button mat-icon-button type=\\\"button\\\"\\n class=\\\"mat-paginator-navigation-next\\\"\\n (click)=\\\"nextPage()\\\"\\n [attr.aria-label]=\\\"_intl.nextPageLabel\\\"\\n [matTooltip]=\\\"_intl.nextPageLabel\\\"\\n [matTooltipDisabled]=\\\"_nextButtonsDisabled()\\\"\\n [matTooltipPosition]=\\\"'above'\\\"\\n [disabled]=\\\"_nextButtonsDisabled()\\\">\\n <svg class=\\\"mat-paginator-icon\\\" viewBox=\\\"0 0 24 24\\\" focusable=\\\"false\\\" aria-hidden=\\\"true\\\">\\n <path d=\\\"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z\\\"/>\\n </svg>\\n </button>\\n <button mat-icon-button type=\\\"button\\\"\\n class=\\\"mat-paginator-navigation-last\\\"\\n (click)=\\\"lastPage()\\\"\\n [attr.aria-label]=\\\"_intl.lastPageLabel\\\"\\n [matTooltip]=\\\"_intl.lastPageLabel\\\"\\n [matTooltipDisabled]=\\\"_nextButtonsDisabled()\\\"\\n [matTooltipPosition]=\\\"'above'\\\"\\n [disabled]=\\\"_nextButtonsDisabled()\\\"\\n *ngIf=\\\"showFirstLastButtons\\\">\\n <svg class=\\\"mat-paginator-icon\\\" viewBox=\\\"0 0 24 24\\\" focusable=\\\"false\\\" aria-hidden=\\\"true\\\">\\n <path d=\\\"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z\\\"/>\\n </svg>\\n </button>\\n </div>\\n </div>\\n</div>\\n\", styles: [\".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{display:inline-block;width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}\"], dependencies: [{ kind: \"directive\", type: i2.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"component\", type: i3.MatLegacyButton, selector: \"button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]\", inputs: [\"disabled\", \"disableRipple\", \"color\"], exportAs: [\"matButton\"] }, { kind: \"component\", type: i4.MatLegacyFormField, selector: \"mat-form-field\", inputs: [\"color\", \"appearance\", \"hideRequiredMarker\", \"hintLabel\", \"floatLabel\"], exportAs: [\"matFormField\"] }, { kind: \"component\", type: i5.MatLegacySelect, selector: \"mat-select\", inputs: [\"disabled\", \"disableRipple\", \"tabIndex\"], exportAs: [\"matSelect\"] }, { kind: \"component\", type: i6.MatLegacyOption, selector: \"mat-option\", exportAs: [\"matOption\"] }, { kind: \"directive\", type: i7.MatLegacyTooltip, selector: \"[matTooltip]\", exportAs: [\"matTooltip\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyPaginator, decorators: [{\n type: Component,\n args: [{ selector: 'mat-paginator', exportAs: 'matPaginator', inputs: ['disabled'], host: {\n 'class': 'mat-paginator',\n 'role': 'group',\n }, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: \"<div class=\\\"mat-paginator-outer-container\\\">\\n <div class=\\\"mat-paginator-container\\\">\\n <div class=\\\"mat-paginator-page-size\\\" *ngIf=\\\"!hidePageSize\\\">\\n <div class=\\\"mat-paginator-page-size-label\\\">\\n {{_intl.itemsPerPageLabel}}\\n </div>\\n\\n <mat-form-field\\n *ngIf=\\\"_displayedPageSizeOptions.length > 1\\\"\\n [appearance]=\\\"_formFieldAppearance!\\\"\\n [color]=\\\"color\\\"\\n class=\\\"mat-paginator-page-size-select\\\">\\n <mat-select\\n [value]=\\\"pageSize\\\"\\n [disabled]=\\\"disabled\\\"\\n [panelClass]=\\\"selectConfig.panelClass || ''\\\"\\n [disableOptionCentering]=\\\"selectConfig.disableOptionCentering\\\"\\n [aria-label]=\\\"_intl.itemsPerPageLabel\\\"\\n (selectionChange)=\\\"_changePageSize($event.value)\\\">\\n <mat-option *ngFor=\\\"let pageSizeOption of _displayedPageSizeOptions\\\" [value]=\\\"pageSizeOption\\\">\\n {{pageSizeOption}}\\n </mat-option>\\n </mat-select>\\n </mat-form-field>\\n\\n <div\\n class=\\\"mat-paginator-page-size-value\\\"\\n *ngIf=\\\"_displayedPageSizeOptions.length <= 1\\\">{{pageSize}}</div>\\n </div>\\n\\n <div class=\\\"mat-paginator-range-actions\\\">\\n <div class=\\\"mat-paginator-range-label\\\">\\n {{_intl.getRangeLabel(pageIndex, pageSize, length)}}\\n </div>\\n\\n <button mat-icon-button type=\\\"button\\\"\\n class=\\\"mat-paginator-navigation-first\\\"\\n (click)=\\\"firstPage()\\\"\\n [attr.aria-label]=\\\"_intl.firstPageLabel\\\"\\n [matTooltip]=\\\"_intl.firstPageLabel\\\"\\n [matTooltipDisabled]=\\\"_previousButtonsDisabled()\\\"\\n [matTooltipPosition]=\\\"'above'\\\"\\n [disabled]=\\\"_previousButtonsDisabled()\\\"\\n *ngIf=\\\"showFirstLastButtons\\\">\\n <svg class=\\\"mat-paginator-icon\\\" viewBox=\\\"0 0 24 24\\\" focusable=\\\"false\\\" aria-hidden=\\\"true\\\">\\n <path d=\\\"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z\\\"/>\\n </svg>\\n </button>\\n <button mat-icon-button type=\\\"button\\\"\\n class=\\\"mat-paginator-navigation-previous\\\"\\n (click)=\\\"previousPage()\\\"\\n [attr.aria-label]=\\\"_intl.previousPageLabel\\\"\\n [matTooltip]=\\\"_intl.previousPageLabel\\\"\\n [matTooltipDisabled]=\\\"_previousButtonsDisabled()\\\"\\n [matTooltipPosition]=\\\"'above'\\\"\\n [disabled]=\\\"_previousButtonsDisabled()\\\">\\n <svg class=\\\"mat-paginator-icon\\\" viewBox=\\\"0 0 24 24\\\" focusable=\\\"false\\\" aria-hidden=\\\"true\\\">\\n <path d=\\\"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z\\\"/>\\n </svg>\\n </button>\\n <button mat-icon-button type=\\\"button\\\"\\n class=\\\"mat-paginator-navigation-next\\\"\\n (click)=\\\"nextPage()\\\"\\n [attr.aria-label]=\\\"_intl.nextPageLabel\\\"\\n [matTooltip]=\\\"_intl.nextPageLabel\\\"\\n [matTooltipDisabled]=\\\"_nextButtonsDisabled()\\\"\\n [matTooltipPosition]=\\\"'above'\\\"\\n [disabled]=\\\"_nextButtonsDisabled()\\\">\\n <svg class=\\\"mat-paginator-icon\\\" viewBox=\\\"0 0 24 24\\\" focusable=\\\"false\\\" aria-hidden=\\\"true\\\">\\n <path d=\\\"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z\\\"/>\\n </svg>\\n </button>\\n <button mat-icon-button type=\\\"button\\\"\\n class=\\\"mat-paginator-navigation-last\\\"\\n (click)=\\\"lastPage()\\\"\\n [attr.aria-label]=\\\"_intl.lastPageLabel\\\"\\n [matTooltip]=\\\"_intl.lastPageLabel\\\"\\n [matTooltipDisabled]=\\\"_nextButtonsDisabled()\\\"\\n [matTooltipPosition]=\\\"'above'\\\"\\n [disabled]=\\\"_nextButtonsDisabled()\\\"\\n *ngIf=\\\"showFirstLastButtons\\\">\\n <svg class=\\\"mat-paginator-icon\\\" viewBox=\\\"0 0 24 24\\\" focusable=\\\"false\\\" aria-hidden=\\\"true\\\">\\n <path d=\\\"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z\\\"/>\\n </svg>\\n </button>\\n </div>\\n </div>\\n</div>\\n\", styles: [\".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{display:inline-block;width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}\"] }]\n }], ctorParameters: function () { return [{ type: i1.MatPaginatorIntl }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS]\n }] }]; } });\n\n/**\n * @deprecated Use `MatPaginatorModule` from `@angular/material/paginator` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyPaginatorModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyPaginatorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyPaginatorModule, declarations: [MatLegacyPaginator], imports: [CommonModule,\n MatLegacyButtonModule,\n MatLegacySelectModule,\n MatLegacyTooltipModule,\n MatCommonModule], exports: [MatLegacyPaginator] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyPaginatorModule, providers: [MAT_PAGINATOR_INTL_PROVIDER], imports: [CommonModule,\n MatLegacyButtonModule,\n MatLegacySelectModule,\n MatLegacyTooltipModule,\n MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyPaginatorModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule,\n MatLegacyButtonModule,\n MatLegacySelectModule,\n MatLegacyTooltipModule,\n MatCommonModule,\n ],\n exports: [MatLegacyPaginator],\n declarations: [MatLegacyPaginator],\n providers: [MAT_PAGINATOR_INTL_PROVIDER],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS, MatLegacyPaginator, MatLegacyPaginatorModule };\n","import * as i0 from '@angular/core';\nimport { forwardRef, Directive, ContentChildren, Component, ViewEncapsulation, ChangeDetectionStrategy, Optional, Inject, Attribute, NgModule } from '@angular/core';\nimport * as i3 from '@angular/material/core';\nimport { MatRippleModule, MatCommonModule } from '@angular/material/core';\nimport * as i1 from '@angular/cdk/a11y';\nimport * as i2 from '@angular/cdk/collections';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';\nimport { _MatRadioGroupBase, MAT_RADIO_GROUP, _MatRadioButtonBase, MAT_RADIO_DEFAULT_OPTIONS } from '@angular/material/radio';\nexport { MAT_RADIO_DEFAULT_OPTIONS as MAT_LEGACY_RADIO_DEFAULT_OPTIONS, MAT_RADIO_DEFAULT_OPTIONS_FACTORY as MAT_LEGACY_RADIO_DEFAULT_OPTIONS_FACTORY, MAT_RADIO_GROUP as MAT_LEGACY_RADIO_GROUP, MatRadioChange as MatLegacyRadioChange } from '@angular/material/radio';\n\n/**\n * Provider Expression that allows mat-radio-group to register as a ControlValueAccessor. This\n * allows it to support [(ngModel)] and ngControl.\n * @docs-private\n * @deprecated Use `MAT_RADIO_GROUP_CONTROL_VALUE_ACCESSOR` from `@angular/material/radio` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nconst MAT_LEGACY_RADIO_GROUP_CONTROL_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => MatLegacyRadioGroup),\n multi: true,\n};\n/**\n * A group of radio buttons. May contain one or more `<mat-radio-button>` elements.\n * @deprecated Use `MatRadioGroup` from `@angular/material/radio` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyRadioGroup extends _MatRadioGroupBase {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyRadioGroup, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyRadioGroup, selector: \"mat-radio-group\", host: { attributes: { \"role\": \"radiogroup\" }, classAttribute: \"mat-radio-group\" }, providers: [\n MAT_LEGACY_RADIO_GROUP_CONTROL_VALUE_ACCESSOR,\n { provide: MAT_RADIO_GROUP, useExisting: MatLegacyRadioGroup },\n ], queries: [{ propertyName: \"_radios\", predicate: i0.forwardRef(function () { return MatLegacyRadioButton; }), descendants: true }], exportAs: [\"matRadioGroup\"], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyRadioGroup, decorators: [{\n type: Directive,\n args: [{\n selector: 'mat-radio-group',\n exportAs: 'matRadioGroup',\n providers: [\n MAT_LEGACY_RADIO_GROUP_CONTROL_VALUE_ACCESSOR,\n { provide: MAT_RADIO_GROUP, useExisting: MatLegacyRadioGroup },\n ],\n host: {\n 'role': 'radiogroup',\n 'class': 'mat-radio-group',\n },\n }]\n }], propDecorators: { _radios: [{\n type: ContentChildren,\n args: [forwardRef(() => MatLegacyRadioButton), { descendants: true }]\n }] } });\n/**\n * A Material design radio-button. Typically placed inside of `<mat-radio-group>` elements.\n * @deprecated Use `MatRadioButton` from `@angular/material/radio` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyRadioButton extends _MatRadioButtonBase {\n constructor(radioGroup, elementRef, changeDetector, focusMonitor, radioDispatcher, animationMode, providerOverride, tabIndex) {\n super(radioGroup, elementRef, changeDetector, focusMonitor, radioDispatcher, animationMode, providerOverride, tabIndex);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyRadioButton, deps: [{ token: MAT_RADIO_GROUP, optional: true }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.FocusMonitor }, { token: i2.UniqueSelectionDispatcher }, { token: ANIMATION_MODULE_TYPE, optional: true }, { token: MAT_RADIO_DEFAULT_OPTIONS, optional: true }, { token: 'tabindex', attribute: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyRadioButton, selector: \"mat-radio-button\", inputs: { disableRipple: \"disableRipple\", tabIndex: \"tabIndex\" }, host: { listeners: { \"focus\": \"_inputElement.nativeElement.focus()\" }, properties: { \"class.mat-radio-checked\": \"checked\", \"class.mat-radio-disabled\": \"disabled\", \"class._mat-animation-noopable\": \"_noopAnimations\", \"class.mat-primary\": \"color === \\\"primary\\\"\", \"class.mat-accent\": \"color === \\\"accent\\\"\", \"class.mat-warn\": \"color === \\\"warn\\\"\", \"attr.tabindex\": \"null\", \"attr.id\": \"id\", \"attr.aria-label\": \"null\", \"attr.aria-labelledby\": \"null\", \"attr.aria-describedby\": \"null\" }, classAttribute: \"mat-radio-button\" }, exportAs: [\"matRadioButton\"], usesInheritance: true, ngImport: i0, template: \"<!-- TODO(jelbourn): render the radio on either side of the content -->\\n<!-- TODO(mtlin): Evaluate trade-offs of using native radio vs. cost of additional bindings. -->\\n<label [attr.for]=\\\"inputId\\\" class=\\\"mat-radio-label\\\" #label>\\n <!-- The actual 'radio' part of the control. -->\\n <span class=\\\"mat-radio-container\\\">\\n <span class=\\\"mat-radio-outer-circle\\\"></span>\\n <span class=\\\"mat-radio-inner-circle\\\"></span>\\n <input #input class=\\\"mat-radio-input\\\" type=\\\"radio\\\"\\n [id]=\\\"inputId\\\"\\n [checked]=\\\"checked\\\"\\n [disabled]=\\\"disabled\\\"\\n [attr.name]=\\\"name\\\"\\n [attr.value]=\\\"value\\\"\\n [required]=\\\"required\\\"\\n [attr.aria-label]=\\\"ariaLabel\\\"\\n [attr.aria-labelledby]=\\\"ariaLabelledby\\\"\\n [attr.aria-describedby]=\\\"ariaDescribedby\\\"\\n (change)=\\\"_onInputInteraction($event)\\\"\\n (click)=\\\"_onInputClick($event)\\\">\\n\\n <!-- The ripple comes after the input so that we can target it with a CSS\\n sibling selector when the input is focused. -->\\n <span mat-ripple class=\\\"mat-radio-ripple mat-focus-indicator\\\"\\n [matRippleTrigger]=\\\"label\\\"\\n [matRippleDisabled]=\\\"_isRippleDisabled()\\\"\\n [matRippleCentered]=\\\"true\\\"\\n [matRippleRadius]=\\\"20\\\"\\n [matRippleAnimation]=\\\"{enterDuration: _noopAnimations ? 0 : 150}\\\">\\n\\n <span class=\\\"mat-ripple-element mat-radio-persistent-ripple\\\"></span>\\n </span>\\n </span>\\n\\n <!-- The label content for radio control. -->\\n <span class=\\\"mat-radio-label-content\\\" [class.mat-radio-label-before]=\\\"labelPosition == 'before'\\\">\\n <!-- Add an invisible span so JAWS can read the label -->\\n <span style=\\\"display:none\\\"> </span>\\n <ng-content></ng-content>\\n </span>\\n</label>\\n\", styles: [\".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-radio-label{-webkit-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;opacity:0;transition:transform ease 280ms,background-color ease 280ms,opacity linear 1ms 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5);opacity:1;transition:transform ease 280ms,background-color ease 280ms}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-label-content{-webkit-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{opacity:0;position:absolute;top:0;left:0;margin:0;width:100%;height:100%;cursor:inherit;z-index:-1}.mat-radio-input:focus~.mat-focus-indicator::before{content:\\\"\\\"}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\"], dependencies: [{ kind: \"directive\", type: i3.MatRipple, selector: \"[mat-ripple], [matRipple]\", inputs: [\"matRippleColor\", \"matRippleUnbounded\", \"matRippleCentered\", \"matRippleRadius\", \"matRippleAnimation\", \"matRippleDisabled\", \"matRippleTrigger\"], exportAs: [\"matRipple\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyRadioButton, decorators: [{\n type: Component,\n args: [{ selector: 'mat-radio-button', inputs: ['disableRipple', 'tabIndex'], encapsulation: ViewEncapsulation.None, exportAs: 'matRadioButton', host: {\n 'class': 'mat-radio-button',\n '[class.mat-radio-checked]': 'checked',\n '[class.mat-radio-disabled]': 'disabled',\n '[class._mat-animation-noopable]': '_noopAnimations',\n '[class.mat-primary]': 'color === \"primary\"',\n '[class.mat-accent]': 'color === \"accent\"',\n '[class.mat-warn]': 'color === \"warn\"',\n // Needs to be removed since it causes some a11y issues (see #21266).\n '[attr.tabindex]': 'null',\n '[attr.id]': 'id',\n '[attr.aria-label]': 'null',\n '[attr.aria-labelledby]': 'null',\n '[attr.aria-describedby]': 'null',\n // Note: under normal conditions focus shouldn't land on this element, however it may be\n // programmatically set, for example inside of a focus trap, in this case we want to forward\n // the focus to the native element.\n '(focus)': '_inputElement.nativeElement.focus()',\n }, changeDetection: ChangeDetectionStrategy.OnPush, template: \"<!-- TODO(jelbourn): render the radio on either side of the content -->\\n<!-- TODO(mtlin): Evaluate trade-offs of using native radio vs. cost of additional bindings. -->\\n<label [attr.for]=\\\"inputId\\\" class=\\\"mat-radio-label\\\" #label>\\n <!-- The actual 'radio' part of the control. -->\\n <span class=\\\"mat-radio-container\\\">\\n <span class=\\\"mat-radio-outer-circle\\\"></span>\\n <span class=\\\"mat-radio-inner-circle\\\"></span>\\n <input #input class=\\\"mat-radio-input\\\" type=\\\"radio\\\"\\n [id]=\\\"inputId\\\"\\n [checked]=\\\"checked\\\"\\n [disabled]=\\\"disabled\\\"\\n [attr.name]=\\\"name\\\"\\n [attr.value]=\\\"value\\\"\\n [required]=\\\"required\\\"\\n [attr.aria-label]=\\\"ariaLabel\\\"\\n [attr.aria-labelledby]=\\\"ariaLabelledby\\\"\\n [attr.aria-describedby]=\\\"ariaDescribedby\\\"\\n (change)=\\\"_onInputInteraction($event)\\\"\\n (click)=\\\"_onInputClick($event)\\\">\\n\\n <!-- The ripple comes after the input so that we can target it with a CSS\\n sibling selector when the input is focused. -->\\n <span mat-ripple class=\\\"mat-radio-ripple mat-focus-indicator\\\"\\n [matRippleTrigger]=\\\"label\\\"\\n [matRippleDisabled]=\\\"_isRippleDisabled()\\\"\\n [matRippleCentered]=\\\"true\\\"\\n [matRippleRadius]=\\\"20\\\"\\n [matRippleAnimation]=\\\"{enterDuration: _noopAnimations ? 0 : 150}\\\">\\n\\n <span class=\\\"mat-ripple-element mat-radio-persistent-ripple\\\"></span>\\n </span>\\n </span>\\n\\n <!-- The label content for radio control. -->\\n <span class=\\\"mat-radio-label-content\\\" [class.mat-radio-label-before]=\\\"labelPosition == 'before'\\\">\\n <!-- Add an invisible span so JAWS can read the label -->\\n <span style=\\\"display:none\\\"> </span>\\n <ng-content></ng-content>\\n </span>\\n</label>\\n\", styles: [\".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-radio-label{-webkit-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;opacity:0;transition:transform ease 280ms,background-color ease 280ms,opacity linear 1ms 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5);opacity:1;transition:transform ease 280ms,background-color ease 280ms}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-label-content{-webkit-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{opacity:0;position:absolute;top:0;left:0;margin:0;width:100%;height:100%;cursor:inherit;z-index:-1}.mat-radio-input:focus~.mat-focus-indicator::before{content:\\\"\\\"}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\"] }]\n }], ctorParameters: function () { return [{ type: MatLegacyRadioGroup, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_RADIO_GROUP]\n }] }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.FocusMonitor }, { type: i2.UniqueSelectionDispatcher }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_RADIO_DEFAULT_OPTIONS]\n }] }, { type: undefined, decorators: [{\n type: Attribute,\n args: ['tabindex']\n }] }]; } });\n\n/**\n * @deprecated Use `MatRadioModule` from `@angular/material/radio` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyRadioModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyRadioModule, declarations: [MatLegacyRadioGroup, MatLegacyRadioButton], imports: [MatRippleModule, MatCommonModule], exports: [MatLegacyRadioGroup, MatLegacyRadioButton, MatCommonModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyRadioModule, imports: [MatRippleModule, MatCommonModule, MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyRadioModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [MatRippleModule, MatCommonModule],\n exports: [MatLegacyRadioGroup, MatLegacyRadioButton, MatCommonModule],\n declarations: [MatLegacyRadioGroup, MatLegacyRadioButton],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MAT_LEGACY_RADIO_GROUP_CONTROL_VALUE_ACCESSOR, MatLegacyRadioButton, MatLegacyRadioGroup, MatLegacyRadioModule };\n","import * as i3 from '@angular/cdk/observers';\nimport { ObserversModule } from '@angular/cdk/observers';\nimport * as i0 from '@angular/core';\nimport { InjectionToken, forwardRef, Component, ViewEncapsulation, ChangeDetectionStrategy, Attribute, Inject, Optional, ViewChild, NgModule } from '@angular/core';\nimport * as i2 from '@angular/material/core';\nimport { MatRippleModule, MatCommonModule } from '@angular/material/core';\nimport * as i1 from '@angular/cdk/a11y';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';\nimport { _MatSlideToggleBase, _MatSlideToggleRequiredValidatorModule } from '@angular/material/slide-toggle';\nexport { MAT_SLIDE_TOGGLE_REQUIRED_VALIDATOR as MAT_LEGACY_SLIDE_TOGGLE_REQUIRED_VALIDATOR, MatSlideToggleRequiredValidator as MatLegacySlideToggleRequiredValidator, _MatSlideToggleBase as _MatLegacySlideToggleBase, _MatSlideToggleRequiredValidatorModule as _MatLegacySlideToggleRequiredValidatorModule } from '@angular/material/slide-toggle';\n\n/**\n * Injection token to be used to override the default options for `mat-slide-toggle`\n * @deprecated Use `MAT_SLIDE_TOGGLE_DEFAULT_OPTIONS` from `@angular/material/slide-toggle` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nconst MAT_LEGACY_SLIDE_TOGGLE_DEFAULT_OPTIONS = new InjectionToken('mat-slide-toggle-default-options', {\n providedIn: 'root',\n factory: () => ({ disableToggleValue: false }),\n});\n\n/**\n * @docs-private\n * @deprecated Use `MAT_SLIDE_TOGGLE_VALUE_ACCESSOR` from `@angular/material/slide-toggle` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nconst MAT_LEGACY_SLIDE_TOGGLE_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => MatLegacySlideToggle),\n multi: true,\n};\n/**\n * Change event object emitted by a slide toggle.\n * @deprecated Use `MatSlideToggleChange` from `@angular/material/slide-toggle` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacySlideToggleChange {\n constructor(\n /** The source slide toggle of the event. */\n source, \n /** The new `checked` value of the slide toggle. */\n checked) {\n this.source = source;\n this.checked = checked;\n }\n}\n/**\n * Represents a slidable \"switch\" toggle that can be moved between on and off.\n * @deprecated Use `MatSlideToggle` from `@angular/material/slide-toggle` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacySlideToggle extends _MatSlideToggleBase {\n constructor(elementRef, focusMonitor, changeDetectorRef, tabIndex, defaults, animationMode) {\n super(elementRef, focusMonitor, changeDetectorRef, tabIndex, defaults, animationMode, 'mat-slide-toggle-');\n }\n _createChangeEvent(isChecked) {\n return new MatLegacySlideToggleChange(this, isChecked);\n }\n /** Method being called whenever the underlying input emits a change event. */\n _onChangeEvent(event) {\n // We always have to stop propagation on the change event.\n // Otherwise the change event, from the input element, will bubble up and\n // emit its event object to the component's `change` output.\n event.stopPropagation();\n this.toggleChange.emit();\n // When the slide toggle's config disables toggle change event by setting\n // `disableToggleValue: true`, the slide toggle's value does not change, and the\n // checked state of the underlying input needs to be changed back.\n if (this.defaults.disableToggleValue) {\n this._inputElement.nativeElement.checked = this.checked;\n return;\n }\n // Sync the value from the underlying input element with the component instance.\n this.checked = this._inputElement.nativeElement.checked;\n // Emit our custom change event only if the underlying input emitted one. This ensures that\n // there is no change event, when the checked state changes programmatically.\n this._emitChangeEvent();\n }\n /** Method being called whenever the slide-toggle has been clicked. */\n _onInputClick(event) {\n // We have to stop propagation for click events on the visual hidden input element.\n // By default, when a user clicks on a label element, a generated click event will be\n // dispatched on the associated input element. Since we are using a label element as our\n // root container, the click event on the `slide-toggle` will be executed twice.\n // The real click event will bubble up, and the generated click event also tries to bubble up.\n // This will lead to multiple click events.\n // Preventing bubbling for the second event will solve that issue.\n event.stopPropagation();\n }\n /** Focuses the slide-toggle. */\n focus(options, origin) {\n if (origin) {\n this._focusMonitor.focusVia(this._inputElement, origin, options);\n }\n else {\n this._inputElement.nativeElement.focus(options);\n }\n }\n /** Method being called whenever the label text changes. */\n _onLabelTextChange() {\n // Since the event of the `cdkObserveContent` directive runs outside of the zone, the\n // slide-toggle component will be only marked for check, but no actual change detection runs\n // automatically. Instead of going back into the zone in order to trigger a change detection\n // which causes *all* components to be checked (if explicitly marked or not using OnPush),\n // we only trigger an explicit change detection for the slide-toggle view and its children.\n this._changeDetectorRef.detectChanges();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacySlideToggle, deps: [{ token: i0.ElementRef }, { token: i1.FocusMonitor }, { token: i0.ChangeDetectorRef }, { token: 'tabindex', attribute: true }, { token: MAT_LEGACY_SLIDE_TOGGLE_DEFAULT_OPTIONS }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacySlideToggle, selector: \"mat-slide-toggle\", inputs: { disabled: \"disabled\", disableRipple: \"disableRipple\", color: \"color\", tabIndex: \"tabIndex\" }, host: { properties: { \"id\": \"id\", \"attr.tabindex\": \"null\", \"attr.aria-label\": \"null\", \"attr.aria-labelledby\": \"null\", \"attr.name\": \"null\", \"class.mat-checked\": \"checked\", \"class.mat-disabled\": \"disabled\", \"class.mat-slide-toggle-label-before\": \"labelPosition == \\\"before\\\"\", \"class._mat-animation-noopable\": \"_noopAnimations\" }, classAttribute: \"mat-slide-toggle\" }, providers: [MAT_LEGACY_SLIDE_TOGGLE_VALUE_ACCESSOR], viewQueries: [{ propertyName: \"_inputElement\", first: true, predicate: [\"input\"], descendants: true }], exportAs: [\"matSlideToggle\"], usesInheritance: true, ngImport: i0, template: \"<label [attr.for]=\\\"inputId\\\" class=\\\"mat-slide-toggle-label\\\" #label>\\n <span class=\\\"mat-slide-toggle-bar\\\"\\n [class.mat-slide-toggle-bar-no-side-margin]=\\\"!labelContent.textContent || !labelContent.textContent.trim()\\\">\\n\\n <input #input class=\\\"mat-slide-toggle-input cdk-visually-hidden\\\" type=\\\"checkbox\\\"\\n role=\\\"switch\\\"\\n [id]=\\\"inputId\\\"\\n [required]=\\\"required\\\"\\n [tabIndex]=\\\"tabIndex\\\"\\n [checked]=\\\"checked\\\"\\n [disabled]=\\\"disabled\\\"\\n [attr.name]=\\\"name\\\"\\n [attr.aria-checked]=\\\"checked\\\"\\n [attr.aria-label]=\\\"ariaLabel\\\"\\n [attr.aria-labelledby]=\\\"ariaLabelledby\\\"\\n [attr.aria-describedby]=\\\"ariaDescribedby\\\"\\n (change)=\\\"_onChangeEvent($event)\\\"\\n (click)=\\\"_onInputClick($event)\\\">\\n\\n <span class=\\\"mat-slide-toggle-thumb-container\\\">\\n <span class=\\\"mat-slide-toggle-thumb\\\"></span>\\n <span class=\\\"mat-slide-toggle-ripple mat-focus-indicator\\\" mat-ripple\\n [matRippleTrigger]=\\\"label\\\"\\n [matRippleDisabled]=\\\"disableRipple || disabled\\\"\\n [matRippleCentered]=\\\"true\\\"\\n [matRippleRadius]=\\\"20\\\"\\n [matRippleAnimation]=\\\"{enterDuration: _noopAnimations ? 0 : 150}\\\">\\n\\n <span class=\\\"mat-ripple-element mat-slide-toggle-persistent-ripple\\\"></span>\\n </span>\\n </span>\\n\\n </span>\\n\\n <span class=\\\"mat-slide-toggle-content\\\" #labelContent (cdkObserveContent)=\\\"_onLabelTextChange()\\\">\\n <!-- Add an invisible span so JAWS can read the label -->\\n <span style=\\\"display:none\\\"> </span>\\n <ng-content></ng-content>\\n </span>\\n</label>\\n\", styles: [\".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{-webkit-user-select:none;user-select:none;display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%;display:block}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.mat-slide-toggle-input:focus~.mat-slide-toggle-thumb-container .mat-focus-indicator::before{content:\\\"\\\"}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}\"], dependencies: [{ kind: \"directive\", type: i2.MatRipple, selector: \"[mat-ripple], [matRipple]\", inputs: [\"matRippleColor\", \"matRippleUnbounded\", \"matRippleCentered\", \"matRippleRadius\", \"matRippleAnimation\", \"matRippleDisabled\", \"matRippleTrigger\"], exportAs: [\"matRipple\"] }, { kind: \"directive\", type: i3.CdkObserveContent, selector: \"[cdkObserveContent]\", inputs: [\"cdkObserveContentDisabled\", \"debounce\"], outputs: [\"cdkObserveContent\"], exportAs: [\"cdkObserveContent\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacySlideToggle, decorators: [{\n type: Component,\n args: [{ selector: 'mat-slide-toggle', exportAs: 'matSlideToggle', host: {\n 'class': 'mat-slide-toggle',\n '[id]': 'id',\n // Needs to be removed since it causes some a11y issues (see #21266).\n '[attr.tabindex]': 'null',\n '[attr.aria-label]': 'null',\n '[attr.aria-labelledby]': 'null',\n '[attr.name]': 'null',\n '[class.mat-checked]': 'checked',\n '[class.mat-disabled]': 'disabled',\n '[class.mat-slide-toggle-label-before]': 'labelPosition == \"before\"',\n '[class._mat-animation-noopable]': '_noopAnimations',\n }, providers: [MAT_LEGACY_SLIDE_TOGGLE_VALUE_ACCESSOR], inputs: ['disabled', 'disableRipple', 'color', 'tabIndex'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: \"<label [attr.for]=\\\"inputId\\\" class=\\\"mat-slide-toggle-label\\\" #label>\\n <span class=\\\"mat-slide-toggle-bar\\\"\\n [class.mat-slide-toggle-bar-no-side-margin]=\\\"!labelContent.textContent || !labelContent.textContent.trim()\\\">\\n\\n <input #input class=\\\"mat-slide-toggle-input cdk-visually-hidden\\\" type=\\\"checkbox\\\"\\n role=\\\"switch\\\"\\n [id]=\\\"inputId\\\"\\n [required]=\\\"required\\\"\\n [tabIndex]=\\\"tabIndex\\\"\\n [checked]=\\\"checked\\\"\\n [disabled]=\\\"disabled\\\"\\n [attr.name]=\\\"name\\\"\\n [attr.aria-checked]=\\\"checked\\\"\\n [attr.aria-label]=\\\"ariaLabel\\\"\\n [attr.aria-labelledby]=\\\"ariaLabelledby\\\"\\n [attr.aria-describedby]=\\\"ariaDescribedby\\\"\\n (change)=\\\"_onChangeEvent($event)\\\"\\n (click)=\\\"_onInputClick($event)\\\">\\n\\n <span class=\\\"mat-slide-toggle-thumb-container\\\">\\n <span class=\\\"mat-slide-toggle-thumb\\\"></span>\\n <span class=\\\"mat-slide-toggle-ripple mat-focus-indicator\\\" mat-ripple\\n [matRippleTrigger]=\\\"label\\\"\\n [matRippleDisabled]=\\\"disableRipple || disabled\\\"\\n [matRippleCentered]=\\\"true\\\"\\n [matRippleRadius]=\\\"20\\\"\\n [matRippleAnimation]=\\\"{enterDuration: _noopAnimations ? 0 : 150}\\\">\\n\\n <span class=\\\"mat-ripple-element mat-slide-toggle-persistent-ripple\\\"></span>\\n </span>\\n </span>\\n\\n </span>\\n\\n <span class=\\\"mat-slide-toggle-content\\\" #labelContent (cdkObserveContent)=\\\"_onLabelTextChange()\\\">\\n <!-- Add an invisible span so JAWS can read the label -->\\n <span style=\\\"display:none\\\"> </span>\\n <ng-content></ng-content>\\n </span>\\n</label>\\n\", styles: [\".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{-webkit-user-select:none;user-select:none;display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%;display:block}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.mat-slide-toggle-input:focus~.mat-slide-toggle-thumb-container .mat-focus-indicator::before{content:\\\"\\\"}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.FocusMonitor }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{\n type: Attribute,\n args: ['tabindex']\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [MAT_LEGACY_SLIDE_TOGGLE_DEFAULT_OPTIONS]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }]; }, propDecorators: { _inputElement: [{\n type: ViewChild,\n args: ['input']\n }] } });\n\n/**\n * @deprecated Use `MatSlideToggleModule` from `@angular/material/slide-toggle` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacySlideToggleModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacySlideToggleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacySlideToggleModule, declarations: [MatLegacySlideToggle], imports: [_MatSlideToggleRequiredValidatorModule,\n MatRippleModule,\n MatCommonModule,\n ObserversModule], exports: [_MatSlideToggleRequiredValidatorModule, MatLegacySlideToggle, MatCommonModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacySlideToggleModule, imports: [_MatSlideToggleRequiredValidatorModule,\n MatRippleModule,\n MatCommonModule,\n ObserversModule, _MatSlideToggleRequiredValidatorModule, MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacySlideToggleModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n _MatSlideToggleRequiredValidatorModule,\n MatRippleModule,\n MatCommonModule,\n ObserversModule,\n ],\n exports: [_MatSlideToggleRequiredValidatorModule, MatLegacySlideToggle, MatCommonModule],\n declarations: [MatLegacySlideToggle],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MAT_LEGACY_SLIDE_TOGGLE_DEFAULT_OPTIONS, MAT_LEGACY_SLIDE_TOGGLE_VALUE_ACCESSOR, MatLegacySlideToggle, MatLegacySlideToggleChange, MatLegacySlideToggleModule };\n","import * as i1$2 from '@angular/cdk/overlay';\nimport { OverlayModule } from '@angular/cdk/overlay';\nimport * as i1$1 from '@angular/cdk/portal';\nimport { PortalModule } from '@angular/cdk/portal';\nimport * as i2 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { Component, ViewEncapsulation, ChangeDetectionStrategy, Inject, NgModule, Injectable, Optional, SkipSelf } from '@angular/core';\nimport { MatCommonModule } from '@angular/material/core';\nimport * as i3 from '@angular/material/legacy-button';\nimport { MatLegacyButtonModule } from '@angular/material/legacy-button';\nimport * as i1 from '@angular/material/snack-bar';\nimport { MAT_SNACK_BAR_DATA, _MatSnackBarContainerBase, matSnackBarAnimations, _MatSnackBarBase, MAT_SNACK_BAR_DEFAULT_OPTIONS } from '@angular/material/snack-bar';\nexport { MAT_SNACK_BAR_DATA as MAT_LEGACY_SNACK_BAR_DATA, MAT_SNACK_BAR_DEFAULT_OPTIONS as MAT_LEGACY_SNACK_BAR_DEFAULT_OPTIONS, MAT_SNACK_BAR_DEFAULT_OPTIONS_FACTORY as MAT_LEGACY_SNACK_BAR_DEFAULT_OPTIONS_FACTORY, MatSnackBarConfig as MatLegacySnackBarConfig, MatSnackBarRef as MatLegacySnackBarRef, _MatSnackBarBase as _MatLegacySnackBarBase, _MatSnackBarContainerBase as _MatLegacySnackBarContainerBase, matSnackBarAnimations as matLegacySnackBarAnimations } from '@angular/material/snack-bar';\nimport * as i2$1 from '@angular/cdk/a11y';\nimport * as i3$1 from '@angular/cdk/layout';\n\n/**\n * A component used to open as the default snack bar, matching material spec.\n * This should only be used internally by the snack bar service.\n * @deprecated Use `SimpleSnackBar` from `@angular/material/snack-bar` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass LegacySimpleSnackBar {\n constructor(snackBarRef, data) {\n this.snackBarRef = snackBarRef;\n this.data = data;\n }\n /** Performs the action on the snack bar. */\n action() {\n this.snackBarRef.dismissWithAction();\n }\n /** If the action button should be shown. */\n get hasAction() {\n return !!this.data.action;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: LegacySimpleSnackBar, deps: [{ token: i1.MatSnackBarRef }, { token: MAT_SNACK_BAR_DATA }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: LegacySimpleSnackBar, selector: \"simple-snack-bar\", host: { classAttribute: \"mat-simple-snackbar\" }, ngImport: i0, template: \"<span class=\\\"mat-simple-snack-bar-content\\\">{{data.message}}</span>\\n<div class=\\\"mat-simple-snackbar-action\\\" *ngIf=\\\"hasAction\\\">\\n <button mat-button (click)=\\\"action()\\\">{{data.action}}</button>\\n</div>\\n\", styles: [\".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}.mat-simple-snack-bar-content{overflow:hidden;text-overflow:ellipsis}\"], dependencies: [{ kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"component\", type: i3.MatLegacyButton, selector: \"button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]\", inputs: [\"disabled\", \"disableRipple\", \"color\"], exportAs: [\"matButton\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: LegacySimpleSnackBar, decorators: [{\n type: Component,\n args: [{ selector: 'simple-snack-bar', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {\n 'class': 'mat-simple-snackbar',\n }, template: \"<span class=\\\"mat-simple-snack-bar-content\\\">{{data.message}}</span>\\n<div class=\\\"mat-simple-snackbar-action\\\" *ngIf=\\\"hasAction\\\">\\n <button mat-button (click)=\\\"action()\\\">{{data.action}}</button>\\n</div>\\n\", styles: [\".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}.mat-simple-snack-bar-content{overflow:hidden;text-overflow:ellipsis}\"] }]\n }], ctorParameters: function () { return [{ type: i1.MatSnackBarRef }, { type: undefined, decorators: [{\n type: Inject,\n args: [MAT_SNACK_BAR_DATA]\n }] }]; } });\n\n/**\n * Internal component that wraps user-provided snack bar content.\n * @docs-private\n * @deprecated Use `MatSnackBarContainer` from `@angular/material/snack-bar` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacySnackBarContainer extends _MatSnackBarContainerBase {\n _afterPortalAttached() {\n super._afterPortalAttached();\n if (this.snackBarConfig.horizontalPosition === 'center') {\n this._elementRef.nativeElement.classList.add('mat-snack-bar-center');\n }\n if (this.snackBarConfig.verticalPosition === 'top') {\n this._elementRef.nativeElement.classList.add('mat-snack-bar-top');\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacySnackBarContainer, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacySnackBarContainer, selector: \"snack-bar-container\", host: { listeners: { \"@state.done\": \"onAnimationEnd($event)\" }, properties: { \"@state\": \"_animationState\" }, classAttribute: \"mat-snack-bar-container\" }, usesInheritance: true, ngImport: i0, template: \"<!-- Initially holds the snack bar content, will be empty after announcing to screen readers. -->\\n<div aria-hidden=\\\"true\\\">\\n <ng-template cdkPortalOutlet></ng-template>\\n</div>\\n\\n<!-- Will receive the snack bar content from the non-live div, move will happen a short delay after opening -->\\n<div [attr.aria-live]=\\\"_live\\\" [attr.role]=\\\"_role\\\" [attr.id]=\\\"_liveElementId\\\"></div>\\n\", styles: [\".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\"], dependencies: [{ kind: \"directive\", type: i1$1.CdkPortalOutlet, selector: \"[cdkPortalOutlet]\", inputs: [\"cdkPortalOutlet\"], outputs: [\"attached\"], exportAs: [\"cdkPortalOutlet\"] }], animations: [matSnackBarAnimations.snackBarState], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacySnackBarContainer, decorators: [{\n type: Component,\n args: [{ selector: 'snack-bar-container', changeDetection: ChangeDetectionStrategy.Default, encapsulation: ViewEncapsulation.None, animations: [matSnackBarAnimations.snackBarState], host: {\n 'class': 'mat-snack-bar-container',\n '[@state]': '_animationState',\n '(@state.done)': 'onAnimationEnd($event)',\n }, template: \"<!-- Initially holds the snack bar content, will be empty after announcing to screen readers. -->\\n<div aria-hidden=\\\"true\\\">\\n <ng-template cdkPortalOutlet></ng-template>\\n</div>\\n\\n<!-- Will receive the snack bar content from the non-live div, move will happen a short delay after opening -->\\n<div [attr.aria-live]=\\\"_live\\\" [attr.role]=\\\"_role\\\" [attr.id]=\\\"_liveElementId\\\"></div>\\n\", styles: [\".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\"] }]\n }] });\n\n/**\n * @deprecated Use `MatSnackBarModule` from `@angular/material/snack-bar` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacySnackBarModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacySnackBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacySnackBarModule, declarations: [MatLegacySnackBarContainer, LegacySimpleSnackBar], imports: [OverlayModule, PortalModule, CommonModule, MatLegacyButtonModule, MatCommonModule], exports: [MatLegacySnackBarContainer, MatCommonModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacySnackBarModule, imports: [OverlayModule, PortalModule, CommonModule, MatLegacyButtonModule, MatCommonModule, MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacySnackBarModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [OverlayModule, PortalModule, CommonModule, MatLegacyButtonModule, MatCommonModule],\n exports: [MatLegacySnackBarContainer, MatCommonModule],\n declarations: [MatLegacySnackBarContainer, LegacySimpleSnackBar],\n }]\n }] });\n\n/**\n * Service to dispatch Material Design snack bar messages.\n * @deprecated Use `MatSnackBar` from `@angular/material/snack-bar` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacySnackBar extends _MatSnackBarBase {\n constructor(overlay, live, injector, breakpointObserver, parentSnackBar, defaultConfig) {\n super(overlay, live, injector, breakpointObserver, parentSnackBar, defaultConfig);\n this.simpleSnackBarComponent = LegacySimpleSnackBar;\n this.snackBarContainerComponent = MatLegacySnackBarContainer;\n this.handsetCssClass = 'mat-snack-bar-handset';\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacySnackBar, deps: [{ token: i1$2.Overlay }, { token: i2$1.LiveAnnouncer }, { token: i0.Injector }, { token: i3$1.BreakpointObserver }, { token: MatLegacySnackBar, optional: true, skipSelf: true }, { token: MAT_SNACK_BAR_DEFAULT_OPTIONS }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacySnackBar, providedIn: MatLegacySnackBarModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacySnackBar, decorators: [{\n type: Injectable,\n args: [{ providedIn: MatLegacySnackBarModule }]\n }], ctorParameters: function () { return [{ type: i1$2.Overlay }, { type: i2$1.LiveAnnouncer }, { type: i0.Injector }, { type: i3$1.BreakpointObserver }, { type: MatLegacySnackBar, decorators: [{\n type: Optional\n }, {\n type: SkipSelf\n }] }, { type: i1.MatSnackBarConfig, decorators: [{\n type: Inject,\n args: [MAT_SNACK_BAR_DEFAULT_OPTIONS]\n }] }]; } });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { LegacySimpleSnackBar, MatLegacySnackBar, MatLegacySnackBarContainer, MatLegacySnackBarModule };\n","import * as i1 from '@angular/cdk/overlay';\nimport { OverlayModule } from '@angular/cdk/overlay';\nimport * as i4 from '@angular/cdk/a11y';\nimport { A11yModule } from '@angular/cdk/a11y';\nimport * as i7 from '@angular/common';\nimport { DOCUMENT, CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { Directive, Inject, Optional, Component, ViewEncapsulation, ChangeDetectionStrategy, ViewChild, NgModule } from '@angular/core';\nimport { MatCommonModule } from '@angular/material/core';\nimport * as i2 from '@angular/cdk/scrolling';\nimport { CdkScrollableModule } from '@angular/cdk/scrolling';\nimport * as i5 from '@angular/cdk/bidi';\nimport * as i6 from '@angular/cdk/layout';\nimport { Breakpoints } from '@angular/cdk/layout';\nimport * as i3 from '@angular/cdk/platform';\nimport { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';\nimport { _MatTooltipBase, MAT_TOOLTIP_SCROLL_STRATEGY, MAT_TOOLTIP_DEFAULT_OPTIONS, _TooltipComponentBase, MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER } from '@angular/material/tooltip';\nexport { SCROLL_THROTTLE_MS as LEGACY_SCROLL_THROTTLE_MS, MAT_TOOLTIP_DEFAULT_OPTIONS as MAT_LEGACY_TOOLTIP_DEFAULT_OPTIONS, MAT_TOOLTIP_DEFAULT_OPTIONS_FACTORY as MAT_LEGACY_TOOLTIP_DEFAULT_OPTIONS_FACTORY, MAT_TOOLTIP_SCROLL_STRATEGY as MAT_LEGACY_TOOLTIP_SCROLL_STRATEGY, MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY as MAT_LEGACY_TOOLTIP_SCROLL_STRATEGY_FACTORY, MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER as MAT_LEGACY_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER, getMatTooltipInvalidPositionError as getMatLegacyTooltipInvalidPositionError } from '@angular/material/tooltip';\nimport { trigger, state, style, transition, animate, keyframes } from '@angular/animations';\n\n/**\n * Directive that attaches a material design tooltip to the host element. Animates the showing and\n * hiding of a tooltip provided position (defaults to below the element).\n *\n * https://material.io/design/components/tooltips.html\n *\n * @deprecated Use `MatTooltip` from `@angular/material/tooltip` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyTooltip extends _MatTooltipBase {\n constructor(overlay, elementRef, scrollDispatcher, viewContainerRef, ngZone, platform, ariaDescriber, focusMonitor, scrollStrategy, dir, defaultOptions, _document) {\n super(overlay, elementRef, scrollDispatcher, viewContainerRef, ngZone, platform, ariaDescriber, focusMonitor, scrollStrategy, dir, defaultOptions, _document);\n this._tooltipComponent = LegacyTooltipComponent;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyTooltip, deps: [{ token: i1.Overlay }, { token: i0.ElementRef }, { token: i2.ScrollDispatcher }, { token: i0.ViewContainerRef }, { token: i0.NgZone }, { token: i3.Platform }, { token: i4.AriaDescriber }, { token: i4.FocusMonitor }, { token: MAT_TOOLTIP_SCROLL_STRATEGY }, { token: i5.Directionality, optional: true }, { token: MAT_TOOLTIP_DEFAULT_OPTIONS, optional: true }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatLegacyTooltip, selector: \"[matTooltip]\", host: { classAttribute: \"mat-tooltip-trigger\" }, exportAs: [\"matTooltip\"], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyTooltip, decorators: [{\n type: Directive,\n args: [{\n selector: '[matTooltip]',\n exportAs: 'matTooltip',\n host: {\n 'class': 'mat-tooltip-trigger',\n },\n }]\n }], ctorParameters: function () { return [{ type: i1.Overlay }, { type: i0.ElementRef }, { type: i2.ScrollDispatcher }, { type: i0.ViewContainerRef }, { type: i0.NgZone }, { type: i3.Platform }, { type: i4.AriaDescriber }, { type: i4.FocusMonitor }, { type: undefined, decorators: [{\n type: Inject,\n args: [MAT_TOOLTIP_SCROLL_STRATEGY]\n }] }, { type: i5.Directionality, decorators: [{\n type: Optional\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [MAT_TOOLTIP_DEFAULT_OPTIONS]\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }]; } });\n/**\n * Internal component that wraps the tooltip's content.\n * @docs-private\n * @deprecated Use `TooltipComponent` from `@angular/material/tooltip` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass LegacyTooltipComponent extends _TooltipComponentBase {\n constructor(changeDetectorRef, breakpointObserver, animationMode) {\n super(changeDetectorRef, animationMode);\n this._showAnimation = 'mat-tooltip-show';\n this._hideAnimation = 'mat-tooltip-hide';\n this._isHandset = breakpointObserver.observe(Breakpoints.Handset);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: LegacyTooltipComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i6.BreakpointObserver }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: LegacyTooltipComponent, selector: \"mat-tooltip-component\", host: { attributes: { \"aria-hidden\": \"true\" }, listeners: { \"mouseleave\": \"_handleMouseLeave($event)\" }, properties: { \"style.zoom\": \"isVisible() ? 1 : null\" } }, viewQueries: [{ propertyName: \"_tooltip\", first: true, predicate: [\"tooltip\"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: \"<div #tooltip\\n class=\\\"mat-tooltip\\\"\\n (animationend)=\\\"_handleAnimationEnd($event)\\\"\\n [ngClass]=\\\"tooltipClass\\\"\\n [class.mat-tooltip-handset]=\\\"(_isHandset | async)?.matches\\\">{{message}}</div>\\n\", styles: [\".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}\"], dependencies: [{ kind: \"directive\", type: i7.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"pipe\", type: i7.AsyncPipe, name: \"async\" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: LegacyTooltipComponent, decorators: [{\n type: Component,\n args: [{ selector: 'mat-tooltip-component', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {\n // Forces the element to have a layout in IE and Edge. This fixes issues where the element\n // won't be rendered if the animations are disabled or there is no web animations polyfill.\n '[style.zoom]': 'isVisible() ? 1 : null',\n '(mouseleave)': '_handleMouseLeave($event)',\n 'aria-hidden': 'true',\n }, template: \"<div #tooltip\\n class=\\\"mat-tooltip\\\"\\n (animationend)=\\\"_handleAnimationEnd($event)\\\"\\n [ngClass]=\\\"tooltipClass\\\"\\n [class.mat-tooltip-handset]=\\\"(_isHandset | async)?.matches\\\">{{message}}</div>\\n\", styles: [\".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i6.BreakpointObserver }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }]; }, propDecorators: { _tooltip: [{\n type: ViewChild,\n args: ['tooltip', {\n // Use a static query here since we interact directly with\n // the DOM which can happen before `ngAfterViewInit`.\n static: true,\n }]\n }] } });\n\n/**\n * @deprecated Use `MatTooltipModule` from `@angular/material/tooltip` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nclass MatLegacyTooltipModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyTooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyTooltipModule, declarations: [MatLegacyTooltip, LegacyTooltipComponent], imports: [A11yModule, CommonModule, OverlayModule, MatCommonModule], exports: [MatLegacyTooltip, LegacyTooltipComponent, MatCommonModule, CdkScrollableModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyTooltipModule, providers: [MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER], imports: [A11yModule, CommonModule, OverlayModule, MatCommonModule, MatCommonModule, CdkScrollableModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatLegacyTooltipModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [A11yModule, CommonModule, OverlayModule, MatCommonModule],\n exports: [MatLegacyTooltip, LegacyTooltipComponent, MatCommonModule, CdkScrollableModule],\n declarations: [MatLegacyTooltip, LegacyTooltipComponent],\n providers: [MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER],\n }]\n }] });\n\n/**\n * Animations used by MatTooltip.\n * @docs-private\n * @deprecated Use `matTooltipAnimations` from `@angular/material/tooltip` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nconst matLegacyTooltipAnimations = {\n /** Animation that transitions a tooltip in and out. */\n tooltipState: trigger('state', [\n state('initial, void, hidden', style({ opacity: 0, transform: 'scale(0)' })),\n state('visible', style({ transform: 'scale(1)' })),\n transition('* => visible', animate('200ms cubic-bezier(0, 0, 0.2, 1)', keyframes([\n style({ opacity: 0, transform: 'scale(0)', offset: 0 }),\n style({ opacity: 0.5, transform: 'scale(0.99)', offset: 0.5 }),\n style({ opacity: 1, transform: 'scale(1)', offset: 1 }),\n ]))),\n transition('* => hidden', animate('100ms cubic-bezier(0, 0, 0.2, 1)', style({ opacity: 0 }))),\n ]),\n};\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { LegacyTooltipComponent, MatLegacyTooltip, MatLegacyTooltipModule, matLegacyTooltipAnimations };\n","import * as i0 from '@angular/core';\nimport { InjectionToken, Component, ChangeDetectionStrategy, ViewEncapsulation, Optional, Inject, ViewChild, Input, NgModule } from '@angular/core';\nimport { mixinColor, MatCommonModule } from '@angular/material/core';\nimport { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';\nimport { coerceNumberProperty } from '@angular/cdk/coercion';\nimport * as i1 from '@angular/common';\nimport { CommonModule } from '@angular/common';\n\n// Boilerplate for applying mixins to MatProgressBar.\nconst _MatProgressSpinnerBase = mixinColor(class {\n constructor(_elementRef) {\n this._elementRef = _elementRef;\n }\n}, 'primary');\n/** Injection token to be used to override the default options for `mat-progress-spinner`. */\nconst MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS = new InjectionToken('mat-progress-spinner-default-options', {\n providedIn: 'root',\n factory: MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY,\n});\n/** @docs-private */\nfunction MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY() {\n return { diameter: BASE_SIZE };\n}\n/**\n * Base reference size of the spinner.\n */\nconst BASE_SIZE = 100;\n/**\n * Base reference stroke width of the spinner.\n */\nconst BASE_STROKE_WIDTH = 10;\nclass MatProgressSpinner extends _MatProgressSpinnerBase {\n constructor(elementRef, animationMode, defaults) {\n super(elementRef);\n /**\n * Mode of the progress bar.\n *\n * Input must be one of these values: determinate, indeterminate, buffer, query, defaults to\n * 'determinate'.\n * Mirrored to mode attribute.\n */\n this.mode = this._elementRef.nativeElement.nodeName.toLowerCase() === 'mat-spinner'\n ? 'indeterminate'\n : 'determinate';\n this._value = 0;\n this._diameter = BASE_SIZE;\n this._noopAnimations =\n animationMode === 'NoopAnimations' && !!defaults && !defaults._forceAnimations;\n if (defaults) {\n if (defaults.color) {\n this.color = this.defaultColor = defaults.color;\n }\n if (defaults.diameter) {\n this.diameter = defaults.diameter;\n }\n if (defaults.strokeWidth) {\n this.strokeWidth = defaults.strokeWidth;\n }\n }\n }\n /** Value of the progress bar. Defaults to zero. Mirrored to aria-valuenow. */\n get value() {\n return this.mode === 'determinate' ? this._value : 0;\n }\n set value(v) {\n this._value = Math.max(0, Math.min(100, coerceNumberProperty(v)));\n }\n /** The diameter of the progress spinner (will set width and height of svg). */\n get diameter() {\n return this._diameter;\n }\n set diameter(size) {\n this._diameter = coerceNumberProperty(size);\n }\n /** Stroke width of the progress spinner. */\n get strokeWidth() {\n return this._strokeWidth ?? this.diameter / 10;\n }\n set strokeWidth(value) {\n this._strokeWidth = coerceNumberProperty(value);\n }\n /** The radius of the spinner, adjusted for stroke width. */\n _circleRadius() {\n return (this.diameter - BASE_STROKE_WIDTH) / 2;\n }\n /** The view box of the spinner's svg element. */\n _viewBox() {\n const viewBox = this._circleRadius() * 2 + this.strokeWidth;\n return `0 0 ${viewBox} ${viewBox}`;\n }\n /** The stroke circumference of the svg circle. */\n _strokeCircumference() {\n return 2 * Math.PI * this._circleRadius();\n }\n /** The dash offset of the svg circle. */\n _strokeDashOffset() {\n if (this.mode === 'determinate') {\n return (this._strokeCircumference() * (100 - this._value)) / 100;\n }\n return null;\n }\n /** Stroke width of the circle in percent. */\n _circleStrokeWidth() {\n return (this.strokeWidth / this.diameter) * 100;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatProgressSpinner, deps: [{ token: i0.ElementRef }, { token: ANIMATION_MODULE_TYPE, optional: true }, { token: MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatProgressSpinner, selector: \"mat-progress-spinner, mat-spinner\", inputs: { color: \"color\", mode: \"mode\", value: \"value\", diameter: \"diameter\", strokeWidth: \"strokeWidth\" }, host: { attributes: { \"role\": \"progressbar\", \"tabindex\": \"-1\" }, properties: { \"class._mat-animation-noopable\": \"_noopAnimations\", \"class.mdc-circular-progress--indeterminate\": \"mode === \\\"indeterminate\\\"\", \"style.width.px\": \"diameter\", \"style.height.px\": \"diameter\", \"style.--mdc-circular-progress-size\": \"diameter + \\\"px\\\"\", \"style.--mdc-circular-progress-active-indicator-width\": \"diameter + \\\"px\\\"\", \"attr.aria-valuemin\": \"0\", \"attr.aria-valuemax\": \"100\", \"attr.aria-valuenow\": \"mode === \\\"determinate\\\" ? value : null\", \"attr.mode\": \"mode\" }, classAttribute: \"mat-mdc-progress-spinner mdc-circular-progress\" }, viewQueries: [{ propertyName: \"_determinateCircle\", first: true, predicate: [\"determinateSpinner\"], descendants: true }], exportAs: [\"matProgressSpinner\"], usesInheritance: true, ngImport: i0, template: \"<ng-template #circle>\\n <svg [attr.viewBox]=\\\"_viewBox()\\\" class=\\\"mdc-circular-progress__indeterminate-circle-graphic\\\"\\n xmlns=\\\"http://www.w3.org/2000/svg\\\" focusable=\\\"false\\\">\\n <circle [attr.r]=\\\"_circleRadius()\\\"\\n [style.stroke-dasharray.px]=\\\"_strokeCircumference()\\\"\\n [style.stroke-dashoffset.px]=\\\"_strokeCircumference() / 2\\\"\\n [style.stroke-width.%]=\\\"_circleStrokeWidth()\\\"\\n cx=\\\"50%\\\" cy=\\\"50%\\\"/>\\n </svg>\\n</ng-template>\\n\\n<!--\\n All children need to be hidden for screen readers in order to support ChromeVox.\\n More context in the issue: https://github.com/angular/components/issues/22165.\\n-->\\n<div class=\\\"mdc-circular-progress__determinate-container\\\" aria-hidden=\\\"true\\\" #determinateSpinner>\\n <svg [attr.viewBox]=\\\"_viewBox()\\\" class=\\\"mdc-circular-progress__determinate-circle-graphic\\\"\\n xmlns=\\\"http://www.w3.org/2000/svg\\\" focusable=\\\"false\\\">\\n <circle [attr.r]=\\\"_circleRadius()\\\"\\n [style.stroke-dasharray.px]=\\\"_strokeCircumference()\\\"\\n [style.stroke-dashoffset.px]=\\\"_strokeDashOffset()\\\"\\n [style.stroke-width.%]=\\\"_circleStrokeWidth()\\\"\\n class=\\\"mdc-circular-progress__determinate-circle\\\"\\n cx=\\\"50%\\\" cy=\\\"50%\\\"/>\\n </svg>\\n</div>\\n<!--TODO: figure out why there are 3 separate svgs-->\\n<div class=\\\"mdc-circular-progress__indeterminate-container\\\" aria-hidden=\\\"true\\\">\\n <div class=\\\"mdc-circular-progress__spinner-layer\\\">\\n <div class=\\\"mdc-circular-progress__circle-clipper mdc-circular-progress__circle-left\\\">\\n <ng-container [ngTemplateOutlet]=\\\"circle\\\"></ng-container>\\n </div>\\n <div class=\\\"mdc-circular-progress__gap-patch\\\">\\n <ng-container [ngTemplateOutlet]=\\\"circle\\\"></ng-container>\\n </div>\\n <div class=\\\"mdc-circular-progress__circle-clipper mdc-circular-progress__circle-right\\\">\\n <ng-container [ngTemplateOutlet]=\\\"circle\\\"></ng-container>\\n </div>\\n </div>\\n</div>\\n\", styles: [\"@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner{--mdc-circular-progress-active-indicator-width:4px;--mdc-circular-progress-size:48px}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner .mdc-circular-progress{width:var(--mdc-circular-progress-size) !important;height:var(--mdc-circular-progress-size) !important}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}\"], dependencies: [{ kind: \"directive\", type: i1.NgTemplateOutlet, selector: \"[ngTemplateOutlet]\", inputs: [\"ngTemplateOutletContext\", \"ngTemplateOutlet\", \"ngTemplateOutletInjector\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatProgressSpinner, decorators: [{\n type: Component,\n args: [{ selector: 'mat-progress-spinner, mat-spinner', exportAs: 'matProgressSpinner', host: {\n 'role': 'progressbar',\n 'class': 'mat-mdc-progress-spinner mdc-circular-progress',\n // set tab index to -1 so screen readers will read the aria-label\n // Note: there is a known issue with JAWS that does not read progressbar aria labels on FireFox\n 'tabindex': '-1',\n '[class._mat-animation-noopable]': `_noopAnimations`,\n '[class.mdc-circular-progress--indeterminate]': 'mode === \"indeterminate\"',\n '[style.width.px]': 'diameter',\n '[style.height.px]': 'diameter',\n '[style.--mdc-circular-progress-size]': 'diameter + \"px\"',\n '[style.--mdc-circular-progress-active-indicator-width]': 'diameter + \"px\"',\n '[attr.aria-valuemin]': '0',\n '[attr.aria-valuemax]': '100',\n '[attr.aria-valuenow]': 'mode === \"determinate\" ? value : null',\n '[attr.mode]': 'mode',\n }, inputs: ['color'], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: \"<ng-template #circle>\\n <svg [attr.viewBox]=\\\"_viewBox()\\\" class=\\\"mdc-circular-progress__indeterminate-circle-graphic\\\"\\n xmlns=\\\"http://www.w3.org/2000/svg\\\" focusable=\\\"false\\\">\\n <circle [attr.r]=\\\"_circleRadius()\\\"\\n [style.stroke-dasharray.px]=\\\"_strokeCircumference()\\\"\\n [style.stroke-dashoffset.px]=\\\"_strokeCircumference() / 2\\\"\\n [style.stroke-width.%]=\\\"_circleStrokeWidth()\\\"\\n cx=\\\"50%\\\" cy=\\\"50%\\\"/>\\n </svg>\\n</ng-template>\\n\\n<!--\\n All children need to be hidden for screen readers in order to support ChromeVox.\\n More context in the issue: https://github.com/angular/components/issues/22165.\\n-->\\n<div class=\\\"mdc-circular-progress__determinate-container\\\" aria-hidden=\\\"true\\\" #determinateSpinner>\\n <svg [attr.viewBox]=\\\"_viewBox()\\\" class=\\\"mdc-circular-progress__determinate-circle-graphic\\\"\\n xmlns=\\\"http://www.w3.org/2000/svg\\\" focusable=\\\"false\\\">\\n <circle [attr.r]=\\\"_circleRadius()\\\"\\n [style.stroke-dasharray.px]=\\\"_strokeCircumference()\\\"\\n [style.stroke-dashoffset.px]=\\\"_strokeDashOffset()\\\"\\n [style.stroke-width.%]=\\\"_circleStrokeWidth()\\\"\\n class=\\\"mdc-circular-progress__determinate-circle\\\"\\n cx=\\\"50%\\\" cy=\\\"50%\\\"/>\\n </svg>\\n</div>\\n<!--TODO: figure out why there are 3 separate svgs-->\\n<div class=\\\"mdc-circular-progress__indeterminate-container\\\" aria-hidden=\\\"true\\\">\\n <div class=\\\"mdc-circular-progress__spinner-layer\\\">\\n <div class=\\\"mdc-circular-progress__circle-clipper mdc-circular-progress__circle-left\\\">\\n <ng-container [ngTemplateOutlet]=\\\"circle\\\"></ng-container>\\n </div>\\n <div class=\\\"mdc-circular-progress__gap-patch\\\">\\n <ng-container [ngTemplateOutlet]=\\\"circle\\\"></ng-container>\\n </div>\\n <div class=\\\"mdc-circular-progress__circle-clipper mdc-circular-progress__circle-right\\\">\\n <ng-container [ngTemplateOutlet]=\\\"circle\\\"></ng-container>\\n </div>\\n </div>\\n</div>\\n\", styles: [\"@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner{--mdc-circular-progress-active-indicator-width:4px;--mdc-circular-progress-size:48px}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner .mdc-circular-progress{width:var(--mdc-circular-progress-size) !important;height:var(--mdc-circular-progress-size) !important}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS]\n }] }]; }, propDecorators: { _determinateCircle: [{\n type: ViewChild,\n args: ['determinateSpinner']\n }], mode: [{\n type: Input\n }], value: [{\n type: Input\n }], diameter: [{\n type: Input\n }], strokeWidth: [{\n type: Input\n }] } });\n/**\n * @deprecated Import Progress Spinner instead. Note that the\n * `mat-spinner` selector isn't deprecated.\n * @breaking-change 16.0.0\n */\n// tslint:disable-next-line:variable-name\nconst MatSpinner = MatProgressSpinner;\n\nclass MatProgressSpinnerModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatProgressSpinnerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatProgressSpinnerModule, declarations: [MatProgressSpinner, MatSpinner], imports: [CommonModule], exports: [MatProgressSpinner, MatSpinner, MatCommonModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatProgressSpinnerModule, imports: [CommonModule, MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatProgressSpinnerModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [CommonModule],\n exports: [MatProgressSpinner, MatSpinner, MatCommonModule],\n declarations: [MatProgressSpinner, MatSpinner],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS, MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY, MatProgressSpinner, MatProgressSpinnerModule, MatSpinner };\n","import * as i0 from '@angular/core';\nimport { Directive, Component, ChangeDetectionStrategy, ViewEncapsulation, Inject, ContentChildren, NgModule } from '@angular/core';\nimport { mixinColor, MatCommonModule } from '@angular/material/core';\nimport * as i1 from '@angular/cdk/platform';\nimport { DOCUMENT } from '@angular/common';\n\n// Boilerplate for applying mixins to MatToolbar.\n/** @docs-private */\nconst _MatToolbarBase = mixinColor(class {\n constructor(_elementRef) {\n this._elementRef = _elementRef;\n }\n});\nclass MatToolbarRow {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatToolbarRow, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatToolbarRow, selector: \"mat-toolbar-row\", host: { classAttribute: \"mat-toolbar-row\" }, exportAs: [\"matToolbarRow\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatToolbarRow, decorators: [{\n type: Directive,\n args: [{\n selector: 'mat-toolbar-row',\n exportAs: 'matToolbarRow',\n host: { 'class': 'mat-toolbar-row' },\n }]\n }] });\nclass MatToolbar extends _MatToolbarBase {\n constructor(elementRef, _platform, document) {\n super(elementRef);\n this._platform = _platform;\n // TODO: make the document a required param when doing breaking changes.\n this._document = document;\n }\n ngAfterViewInit() {\n if (this._platform.isBrowser) {\n this._checkToolbarMixedModes();\n this._toolbarRows.changes.subscribe(() => this._checkToolbarMixedModes());\n }\n }\n /**\n * Throws an exception when developers are attempting to combine the different toolbar row modes.\n */\n _checkToolbarMixedModes() {\n if (this._toolbarRows.length && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n // Check if there are any other DOM nodes that can display content but aren't inside of\n // a <mat-toolbar-row> element.\n const isCombinedUsage = Array.from(this._elementRef.nativeElement.childNodes)\n .filter(node => !(node.classList && node.classList.contains('mat-toolbar-row')))\n .filter(node => node.nodeType !== (this._document ? this._document.COMMENT_NODE : 8))\n .some(node => !!(node.textContent && node.textContent.trim()));\n if (isCombinedUsage) {\n throwToolbarMixedModesError();\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatToolbar, deps: [{ token: i0.ElementRef }, { token: i1.Platform }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.0.0\", type: MatToolbar, selector: \"mat-toolbar\", inputs: { color: \"color\" }, host: { properties: { \"class.mat-toolbar-multiple-rows\": \"_toolbarRows.length > 0\", \"class.mat-toolbar-single-row\": \"_toolbarRows.length === 0\" }, classAttribute: \"mat-toolbar\" }, queries: [{ propertyName: \"_toolbarRows\", predicate: MatToolbarRow, descendants: true }], exportAs: [\"matToolbar\"], usesInheritance: true, ngImport: i0, template: \"<ng-content></ng-content>\\n<ng-content select=\\\"mat-toolbar-row\\\"></ng-content>\\n\", styles: [\".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color: inherit;--mdc-outlined-button-label-text-color: inherit}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatToolbar, decorators: [{\n type: Component,\n args: [{ selector: 'mat-toolbar', exportAs: 'matToolbar', inputs: ['color'], host: {\n 'class': 'mat-toolbar',\n '[class.mat-toolbar-multiple-rows]': '_toolbarRows.length > 0',\n '[class.mat-toolbar-single-row]': '_toolbarRows.length === 0',\n }, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: \"<ng-content></ng-content>\\n<ng-content select=\\\"mat-toolbar-row\\\"></ng-content>\\n\", styles: [\".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color: inherit;--mdc-outlined-button-label-text-color: inherit}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.Platform }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }]; }, propDecorators: { _toolbarRows: [{\n type: ContentChildren,\n args: [MatToolbarRow, { descendants: true }]\n }] } });\n/**\n * Throws an exception when attempting to combine the different toolbar row modes.\n * @docs-private\n */\nfunction throwToolbarMixedModesError() {\n throw Error('MatToolbar: Attempting to combine different toolbar modes. ' +\n 'Either specify multiple `<mat-toolbar-row>` elements explicitly or just place content ' +\n 'inside of a `<mat-toolbar>` for a single row.');\n}\n\nclass MatToolbarModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatToolbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.0\", ngImport: i0, type: MatToolbarModule, declarations: [MatToolbar, MatToolbarRow], imports: [MatCommonModule], exports: [MatToolbar, MatToolbarRow, MatCommonModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatToolbarModule, imports: [MatCommonModule, MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.0\", ngImport: i0, type: MatToolbarModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [MatCommonModule],\n exports: [MatToolbar, MatToolbarRow, MatCommonModule],\n declarations: [MatToolbar, MatToolbarRow],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MatToolbar, MatToolbarModule, MatToolbarRow, throwToolbarMixedModesError };\n","import * as i0 from '@angular/core';\nimport { NgModule, InjectionToken, Injectable } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { AttributeValue } from '@rollthecloudinc/attributes';\nimport * as i1 from '@rollthecloudinc/plugin';\nimport { Plugin, BasePluginManager, PluginDef } from '@rollthecloudinc/plugin';\nimport { of } from 'rxjs';\nimport * as i2 from '@rollthecloudinc/utils';\n\n/*import { defaultPluginManagerFactory, pluginManagerToken } from '@rollthecloudinc/plugin';\nimport { ContentPlugin, ContentPluginDef } from './models/content.models';\nimport { ContentPluginManager } from './services/content-plugin-manager.service';*/\nclass ContentModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ContentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: ContentModule, imports: [CommonModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ContentModule, imports: [CommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ContentModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [CommonModule]\n }]\n }] });\n\nclass ContentPlugin extends Plugin {\n constructor(data) {\n super(data);\n this.fileTypes = [];\n if (data) {\n this.name = this.id;\n this.handler = data.handler !== undefined ? data.handler : undefined;\n this.selectionComponent = data.selectionComponent ? data.selectionComponent : undefined;\n this.renderComponent = data.renderComponent ? data.renderComponent : undefined;\n this.editorComponent = data.editorComponent ? data.editorComponent : undefined;\n }\n }\n}\nclass ContentBinding {\n constructor(data) {\n if (data) {\n this.type = data.type;\n this.id = data.id;\n }\n }\n}\nclass ContentInstance {\n constructor(data) {\n this.settings = [];\n if (data) {\n this.pluginName = data.pluginName;\n if (data.settings) {\n this.settings = data.settings.map(s => new AttributeValue(s));\n }\n }\n }\n}\n/*export class Snippet {\n content: string;\n contentType: string;\n jsFile?: string;\n jsScript?: string;\n constructor(data?: Snippet) {\n if(data) {\n this.content = data.content;\n this.contentType = data.contentType;\n if (data.jsFile && data.jsFile !== '') {\n this.jsFile = data.jsFile;\n }\n if (data.jsScript && data.jsScript !== '') {\n this.jsScript = data.jsScript;\n }\n }\n }\n}*/\nclass ContentPluginEditorOptions {\n constructor(data) {\n this.fullscreen = false;\n if (data) {\n this.fullscreen = data.fullscreen;\n }\n }\n}\n\nconst CONTENT_PLUGIN = new InjectionToken('ContentPlugin');\n\nclass ContentPluginManager extends BasePluginManager {\n constructor(pcm, moduleLoader) {\n super(pcm, moduleLoader);\n }\n pluginDef() {\n return of(new PluginDef({ name: 'content' }));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ContentPluginManager, deps: [{ token: i1.PluginConfigurationManager }, { token: i2.ModuleLoaderService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ContentPluginManager, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ContentPluginManager, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: i1.PluginConfigurationManager }, { type: i2.ModuleLoaderService }]; } });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { CONTENT_PLUGIN, ContentBinding, ContentInstance, ContentModule, ContentPlugin, ContentPluginEditorOptions, ContentPluginManager };\n","import * as i0 from '@angular/core';\nimport { NgModule, Injectable } from '@angular/core';\nimport * as i2 from '@rollthecloudinc/utils';\nimport { UtilsModule } from '@rollthecloudinc/utils';\nimport { of, forkJoin } from 'rxjs';\nimport { map, switchMap } from 'rxjs/operators';\n\nclass PluginModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PluginModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.0.5\", ngImport: i0, type: PluginModule, imports: [UtilsModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PluginModule, imports: [UtilsModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PluginModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [],\n imports: [\n UtilsModule\n ],\n exports: []\n }]\n }] });\n\nclass PluginConfigurationManager {\n constructor() {\n this.configs = [];\n }\n addConfig(cfg) {\n this.configs.push(cfg);\n }\n getConfigs() {\n return this.configs;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PluginConfigurationManager, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PluginConfigurationManager, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: PluginConfigurationManager, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }] });\n\nclass ConfigDiscovery {\n constructor(pcm, moduleLoader) {\n this.pcm = pcm;\n this.moduleLoader = moduleLoader;\n }\n loadPlugins(pluginDef, ids = []) {\n const configs = this.pcm.getConfigs();\n const len = configs.length;\n const loadModules$ = [];\n for (let i = 0; i < len; i++) {\n const len2 = configs[i].modules.length;\n for (let j = 0; j < len2; j++) {\n if (configs[i].modules[j].plugins.has(pluginDef.name) &&\n (ids.length === 0 ||\n ids.some(id => configs[i].modules[j].plugins.get(pluginDef.name).findIndex(p => p === id) > -1))) {\n loadModules$.push(this.moduleLoader.loadModule(configs[i].modules[j].module));\n }\n }\n }\n if (loadModules$.length === 0) {\n return of(true);\n }\n else {\n return forkJoin(loadModules$).pipe(map(() => true));\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ConfigDiscovery, deps: [{ token: PluginConfigurationManager }, { token: i2.ModuleLoaderService }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ConfigDiscovery, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.0.5\", ngImport: i0, type: ConfigDiscovery, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: function () { return [{ type: PluginConfigurationManager }, { type: i2.ModuleLoaderService }]; } });\n\n// import { Injectable } from '@angular/core';\n// @Injectable()\nclass BasePluginManager {\n constructor(pcm, moduleLoader) {\n this.pcm = pcm;\n this.moduleLoader = moduleLoader;\n this.pluginInstances = new Map();\n this.discoveryPipeline = [];\n this.discovery();\n }\n discovery() {\n this.discoveryPipeline.push(new ConfigDiscovery(this.pcm, this.moduleLoader));\n }\n addDiscovery(d) {\n this.discoveryPipeline.push(d);\n }\n register(plugin) {\n this.pluginInstances.set(plugin.id, plugin);\n }\n getPlugins(ids) {\n const newPlugins = ids ? ids.filter(id => !this.pluginInstances.has(id)) : [];\n if (ids && newPlugins.length === 0) {\n return of(new Map(ids.map(id => [id, this.pluginInstances.get(id)])));\n }\n else {\n return this.pluginDef().pipe(switchMap(def => forkJoin(this.discoveryPipeline.map(d => d.loadPlugins(def, newPlugins))).pipe(map(() => ids ? new Map(ids.map(id => [id, this.pluginInstances.get(id)])) : this.pluginInstances))));\n }\n }\n getPlugin(id) {\n if (this.pluginInstances.has(id)) {\n return of(this.pluginInstances.get(id));\n }\n else {\n return this.pluginDef().pipe(switchMap(def => forkJoin(this.discoveryPipeline.map(d => d.loadPlugins(def, [id]))).pipe(map(() => this.pluginInstances.get(id)))));\n }\n }\n}\n\nclass PluginConfig {\n constructor(data) {\n this.modules = [];\n if (data) {\n if (data.modules) {\n this.modules = data.modules.map(m => new PluginConfigModule(m));\n }\n }\n }\n}\nclass Plugin {\n constructor(data) {\n if (data) {\n this.id = data.id;\n this.title = data.title;\n }\n }\n}\nclass PluginDef {\n constructor(data) {\n if (data) {\n this.name = data.name;\n }\n }\n}\nclass PluginConfigModule {\n constructor(data) {\n if (data) {\n this.module = data.module;\n if (data.plugins) {\n this.plugins = new Map([...data.plugins]);\n }\n }\n }\n}\n/*export class BasePlugin implements Plugin {\n}*/\n\n/*\n * Public API Surface of plugin\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { BasePluginManager, ConfigDiscovery, Plugin, PluginConfig, PluginConfigModule, PluginConfigurationManager, PluginDef, PluginModule };\n","export default function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nexport default function _construct(Parent, args, Class) {\n if (isNativeReflectConstruct()) {\n _construct = Reflect.construct.bind();\n } else {\n _construct = function _construct(Parent, args, Class) {\n var a = [null];\n a.push.apply(a, args);\n var Constructor = Function.bind.apply(Parent, a);\n var instance = new Constructor();\n if (Class) setPrototypeOf(instance, Class.prototype);\n return instance;\n };\n }\n return _construct.apply(null, arguments);\n}","import toPropertyKey from \"./toPropertyKey.js\";\nfunction _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, toPropertyKey(descriptor.key), descriptor);\n }\n}\nexport default 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}","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _toArray(arr) {\n return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableRest();\n}","import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nexport default function _toPropertyKey(arg) {\n var key = toPrimitive(arg, \"string\");\n return _typeof(key) === \"symbol\" ? key : String(key);\n}","import _typeof from \"./typeof.js\";\nexport default function _toPrimitive(input, hint) {\n if (_typeof(input) !== \"object\" || input === null) return input;\n var prim = input[Symbol.toPrimitive];\n if (prim !== undefined) {\n var res = prim.call(input, hint || \"default\");\n if (_typeof(res) !== \"object\") return res;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (hint === \"string\" ? String : Number)(input);\n}","export default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport setPrototypeOf from \"./setPrototypeOf.js\";\nimport isNativeFunction from \"./isNativeFunction.js\";\nimport construct from \"./construct.js\";\nexport default function _wrapNativeSuper(Class) {\n var _cache = typeof Map === \"function\" ? new Map() : undefined;\n _wrapNativeSuper = function _wrapNativeSuper(Class) {\n if (Class === null || !isNativeFunction(Class)) return Class;\n if (typeof Class !== \"function\") {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n if (typeof _cache !== \"undefined\") {\n if (_cache.has(Class)) return _cache.get(Class);\n _cache.set(Class, Wrapper);\n }\n function Wrapper() {\n return construct(Class, arguments, getPrototypeOf(this).constructor);\n }\n Wrapper.prototype = Object.create(Class.prototype, {\n constructor: {\n value: Wrapper,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n return setPrototypeOf(Wrapper, Class);\n };\n return _wrapNativeSuper(Class);\n}","export default function _isNativeFunction(fn) {\n return Function.toString.call(fn).indexOf(\"[native code]\") !== -1;\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30]} \ No newline at end of file diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..997406ad22c29aae95893fb3d666c30258a09537 GIT binary patch literal 948 zcmV;l155mgP)<h;3K|Lk000e1NJLTq000~S0015c1^@s6K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#w!4DJm0!eNS%W4gXg%tYFns>mChTR;x4`P=?PJ~oPuy5 zU-L`C@_!34D21{fD~Y8NVnR3t;aqZI3fIhmgmx}$oc-dKDC6Ap$Gy>a!`A*x2L1v0 WcZ@i?LyX}70000<MNUMnLSTXxWwRmx literal 0 HcmV?d00001 diff --git a/index.html b/index.html new file mode 100644 index 0000000..54dacae --- /dev/null +++ b/index.html @@ -0,0 +1,15 @@ +<!DOCTYPE html><html lang="en"><head><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin=""> + <meta charset="utf-8"> + <title>Spearhead + + + + + + + + + + + + \ No newline at end of file diff --git a/main.97e2814cd5c42c1f.js b/main.97e2814cd5c42c1f.js new file mode 100644 index 0000000..338653c --- /dev/null +++ b/main.97e2814cd5c42c1f.js @@ -0,0 +1,2 @@ +var __webpack_modules__={49557:(o,c,i)=>{Promise.all([i.e(833),i.e(6718),i.e(4987),i.e(4055),i.e(5333),i.e(6606),i.e(3401),i.e(3068),i.e(7405),i.e(1382),i.e(3168),i.e(2885),i.e(972),i.e(233),i.e(3267),i.e(5019),i.e(2049),i.e(7040),i.e(4477),i.e(8154),i.e(565),i.e(6073),i.e(8972),i.e(3343),i.e(5813),i.e(9490),i.e(8488),i.e(8592),i.e(8013)]).then(i.bind(i,68013)).catch(function(s){return console.error(s)})}},__webpack_module_cache__={};function __webpack_require__(o){var c=__webpack_module_cache__[o];if(void 0!==c)return c.exports;var i=__webpack_module_cache__[o]={exports:{}};return __webpack_modules__[o].call(i.exports,i,i.exports,__webpack_require__),i.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.c=__webpack_module_cache__,__webpack_require__.n=o=>{var c=o&&o.__esModule?()=>o.default:()=>o;return __webpack_require__.d(c,{a:c}),c},__webpack_require__.d=(o,c)=>{for(var i in c)__webpack_require__.o(c,i)&&!__webpack_require__.o(o,i)&&Object.defineProperty(o,i,{enumerable:!0,get:c[i]})},__webpack_require__.f={},__webpack_require__.e=o=>Promise.all(Object.keys(__webpack_require__.f).reduce((c,i)=>(__webpack_require__.f[i](o,c),c),[])),__webpack_require__.u=o=>(8592===o?"common":o)+"."+{48:"0f562d23dbadf566",137:"b987c9ab9e9e4a0c",188:"72dfea1b62e92384",233:"ea1826a1c9351e0d",442:"5261795959bf57d7",561:"c601034a41b30119",565:"09183695f1ef31a4",827:"8a08b90e69cfc6ba",833:"c8215640c38aad70",882:"8ecea003bd197edb",908:"e1eff4c0a31f52f0",919:"2768e0fb2f87cd5b",972:"03d26bf8663ffa3e",1041:"6a524365de59f24e",1084:"937b47bd2129c294",1086:"170a93fd8be7cc1f",1187:"7473ea01a7222aa1",1217:"bf9e9dcb0130fef7",1328:"cd6b67916d3ed353",1382:"2b2c0dd3f2a838a4",1551:"f681c87a695c9abd",1636:"ea4ce1e9cfbc5c19",1821:"00aad28c06106961",2035:"35946dc8d608ded3",2049:"0447431515fa4c5b",2069:"35e391d82316cce6",2111:"16941bd519497cc4",2112:"a686302e3e9bbb3e",2124:"c33f9c0d968a72a1",2128:"f0a8e700db56fb59",2152:"0b848abf6263c322",2223:"3e7499ae07f58573",2512:"2d65adc8804e95d7",2545:"7524e84597a506c1",2556:"5668598d28607d35",2621:"dda67a0e328267fa",2666:"0b3b18a84c9a4165",2885:"42c5c37545ae029e",3022:"95d4c43ad3f85966",3068:"fdb14802cdd50c1a",3098:"fed4a5b0a9bb1c8c",3103:"6e520a55c0537c2d",3168:"570b5c6538639ea9",3183:"6470ba84849ae4be",3251:"62d10641c6cd5f9b",3267:"affe96b1f59ea518",3278:"adffad0b0fdd8e90",3308:"a528bc6f1b781d52",3326:"34b87cfb31ed8b06",3343:"4f58d58183149088",3348:"1fd3ea46becd71d6",3401:"ea5fb771b3363471",3418:"4255c9649af5eaf7",3433:"2ed7cd20dad71cfc",3574:"2f6c2aa430041f1f",3597:"44455a50ee80dd40",3662:"8535bb5243b8d3f8",3675:"20413566fad33fcb",3677:"926dba811cceb67c",3730:"40d1b3ea8420485e",3765:"f8d330ebbabb456e",3770:"cddf80ea8dff6a2d",3930:"97578bdc08b7bf9d",3978:"c235bec8deefb1a1",4049:"e73741c29f7fad27",4055:"2d37691e77016310",4091:"160c731ad85419e3",4093:"ce05facb30566249",4106:"a45e0bd0c9ab02a5",4149:"4453d755aa4e5562",4151:"72f982a3cc0d5568",4155:"85bf1e2187f8495e",4270:"bbc9bcd142493e25",4291:"be3c5c5ee2f2c383",4309:"8f8441b74a0be6b8",4371:"5ec3b709d6088bf5",4387:"5f60c218e7a7055f",4477:"65c89cff06f625c1",4589:"c0c58fd8d6ae092a",4640:"bf671556de706900",4680:"dca80f0114f257a5",4755:"e219075f665d048b",4843:"9cc79487b7ed3c03",4902:"28ad83213bdec45d",4967:"cd6fdeac93fac987",4968:"4bfd65c5f3d533da",4987:"33138ee02ba4ed0e",5007:"31862526f240da4f",5019:"76f28b374d5a8350",5068:"86ffa29fdc3c2b5b",5069:"53f13d63fe0558cb",5094:"0672665b5e6e8b59",5106:"926c12c126e770c2",5113:"06c4d3be2def5d91",5121:"f3ddb0bcc7eb6aa7",5125:"cb6e8cbbc7ad49a7",5146:"b387d5f410c1016d",5187:"965705915ef13b61",5321:"f9b4523dc3459a45",5333:"eec4438149dc36e1",5391:"8db302d7cdc20831",5501:"ef2c2ee2f2ccecee",5544:"0c122e7d49a65d8b",5555:"29d4358f47cf82e8",5598:"4cbade95a704b244",5603:"e3fb7439c64f9ec3",5749:"3443645c0dda54c3",5813:"3ab5d6dcdf57efc2",5857:"a5f7dcad26bc57ad",5873:"7dbdb8681d2e2ea9",5915:"d27f1fecd9111bee",6069:"47ef4be18c0da5af",6073:"5a87727e622067f7",6215:"10b022de38e29aa9",6235:"1cd1431b91336e1e",6237:"404c096af053e535",6297:"510c28b6eef50735",6441:"1ed54299f1bb8173",6477:"0424bf6b21aa4e25",6508:"9d89448241dbbf53",6578:"1dc26f3f2eb234f6",6606:"294a628bae991e85",6618:"f423d4017883477a",6718:"1ccf2d2f610aaae0",6748:"1496b15b2d5af775",6763:"4771ea4780be6711",6785:"56f0194b8bc6f8fb",6839:"055ca8b6e5386f89",6844:"232b0adce74e1ee4",6892:"725faee0a79d78c4",6896:"bfb8d28f7841fa68",6936:"b38a104e439a2a69",6980:"808708880eb725f8",7018:"192b47f6811f0554",7040:"ecacb27665ca69d6",7131:"1faca00847bd973c",7189:"b143b6038795e493",7208:"0175d6e664789ed5",7223:"4032628e36b2bf87",7328:"3db0b9e4fe1dfa43",7376:"8b32539275c4a110",7405:"ea4cd60f6ceae128",7432:"60cdd2184b9bcbf3",7477:"7a3179a930219ad9",7479:"6008e65aa0e5f337",7672:"d97d46e89fe535ef",7726:"7cc351de4a16ab58",7888:"00f90ea9f58d7341",7920:"20f071c82a068a0e",8013:"aa29348797c9028f",8017:"fee44725bd625d4f",8024:"8f695f64b9d3a742",8046:"c6105b2ea1127aa5",8061:"45943028350155ea",8071:"a88180266995b878",8116:"dc3b01ebb5427ede",8142:"288fce7344fa2586",8154:"6a69cbd82b63ec24",8158:"797e810298041051",8282:"aaa9267c610b17ec",8287:"3f6959d00e46e8cd",8352:"cb8b08283660350a",8376:"4e03513f7c087c87",8443:"de65e2a75bd1193f",8467:"1cade2ad8c4fc9ea",8488:"2bc4e01d9544766e",8513:"617bf359ae892014",8538:"708a79be94deb0d6",8592:"d501fa65ebd77cd6",8596:"6646ca7640e1d7e1",8608:"b26895fdf516017a",8711:"87826b664b7e25ce",8746:"3969f1073f5b9dd8",8750:"d27dfe1204dee74b",8782:"0020aeddc828f58c",8972:"6ca76837d34e158a",9031:"e6e4824d40477a60",9064:"765de6514714fbe7",9101:"b0542315455d3ec9",9490:"903fa36ff6f1a62c",9542:"652f275cf72dc68f",9880:"b05c53460a3f6d9c"}[o]+".js",__webpack_require__.miniCssF=o=>{},__webpack_require__.o=(o,c)=>Object.prototype.hasOwnProperty.call(o,c),(()=>{var o={},c="spear:";__webpack_require__.l=(i,s,P,b)=>{if(o[i])o[i].push(s);else{var f,S;if(void 0!==P)for(var a=document.getElementsByTagName("script"),y=0;y{f.onerror=f.onload=null,clearTimeout(p);var V=o[i];if(delete o[i],f.parentNode&&f.parentNode.removeChild(f),V&&V.forEach(h=>h(x)),E)return E(x)},p=setTimeout(v.bind(null,void 0,{type:"timeout",target:f}),12e4);f.onerror=v.bind(null,f.onerror),f.onload=v.bind(null,f.onload),S&&document.head.appendChild(f)}}})(),__webpack_require__.r=o=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},(()=>{__webpack_require__.S={};var o={},c={};__webpack_require__.I=(i,s)=>{s||(s=[]);var P=c[i];if(P||(P=c[i]={}),!(s.indexOf(P)>=0)){if(s.push(P),o[i])return o[i];__webpack_require__.o(__webpack_require__.S,i)||(__webpack_require__.S[i]={});var b=__webpack_require__.S[i],S="spear",a=(v,p,E,x)=>{var V=b[v]=b[v]||{},h=V[p];(!h||!h.loaded&&(!x!=!h.eager?x:S>h.from))&&(V[p]={get:E,from:S,eager:!!x})},g=[];return"default"===i&&(a("@angular/cdk/a11y","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(3675),__webpack_require__.e(2069),__webpack_require__.e(5321),__webpack_require__.e(5121),__webpack_require__.e(1636),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(46958))),a("@angular/cdk/accordion","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(5333),__webpack_require__.e(1382),__webpack_require__.e(8592),__webpack_require__.e(3022)]).then(()=>()=>__webpack_require__(41760))),a("@angular/cdk/bidi","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(4564))),a("@angular/cdk/coercion","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(8592),__webpack_require__.e(5106)]).then(()=>()=>__webpack_require__(70867))),a("@angular/cdk/collections","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(7888),__webpack_require__.e(8592),__webpack_require__.e(7376)]).then(()=>()=>__webpack_require__(15778))),a("@angular/cdk/dialog","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(2069),__webpack_require__.e(3068),__webpack_require__.e(8142),__webpack_require__.e(3662),__webpack_require__.e(5598),__webpack_require__.e(8592),__webpack_require__.e(5187)]).then(()=>()=>__webpack_require__(65598))),a("@angular/cdk/drag-drop","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(3068),__webpack_require__.e(3168),__webpack_require__.e(2885),__webpack_require__.e(2152),__webpack_require__.e(8158),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(18158))),a("@angular/cdk/keycodes","16.0.1",()=>__webpack_require__.e(4387).then(()=>()=>__webpack_require__(24387))),a("@angular/cdk/layout","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(5333),__webpack_require__.e(3675),__webpack_require__.e(919),__webpack_require__.e(8592),__webpack_require__.e(4091)]).then(()=>()=>__webpack_require__(40919))),a("@angular/cdk/observers","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(5333),__webpack_require__.e(8538),__webpack_require__.e(8592),__webpack_require__.e(1217)]).then(()=>()=>__webpack_require__(8577))),a("@angular/cdk/overlay","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(3675),__webpack_require__.e(2069),__webpack_require__.e(3068),__webpack_require__.e(8142),__webpack_require__.e(3168),__webpack_require__.e(5544),__webpack_require__.e(8592),__webpack_require__.e(7208)]).then(()=>()=>__webpack_require__(75544))),a("@angular/cdk/platform","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(15712))),a("@angular/cdk/portal","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(2035),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(12035))),a("@angular/cdk/scrolling","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(3675),__webpack_require__.e(3068),__webpack_require__.e(1382),__webpack_require__.e(2885),__webpack_require__.e(2152),__webpack_require__.e(442),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(30442))),a("@angular/cdk/stepper","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(5333),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(2069),__webpack_require__.e(3068),__webpack_require__.e(6215),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(77405))),a("@angular/cdk/table","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(3675),__webpack_require__.e(3068),__webpack_require__.e(1382),__webpack_require__.e(3168),__webpack_require__.e(2124),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(52124))),a("@angular/cdk/text-field","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(3675),__webpack_require__.e(2885),__webpack_require__.e(7131),__webpack_require__.e(8592),__webpack_require__.e(4968)]).then(()=>()=>__webpack_require__(10264))),a("@angular/cdk/tree","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(5333),__webpack_require__.e(3068),__webpack_require__.e(1382),__webpack_require__.e(1041),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(11041))),a("@angular/cdk","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(16346))),a("@angular/common/http","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(3765),__webpack_require__.e(8592),__webpack_require__.e(6785)]).then(()=>()=>__webpack_require__(33765))),a("@angular/common","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(6477),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(86477))),a("@angular/core/rxjs-interop","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(188),__webpack_require__.e(8592),__webpack_require__.e(3183)]).then(()=>()=>__webpack_require__(188))),a("@angular/core","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(8592),__webpack_require__.e(6839)]).then(()=>()=>__webpack_require__(86839))),a("@angular/forms","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(9542),__webpack_require__.e(8592),__webpack_require__.e(4155)]).then(()=>()=>__webpack_require__(69542))),a("@angular/material/autocomplete","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(2069),__webpack_require__.e(3068),__webpack_require__.e(2223),__webpack_require__.e(7405),__webpack_require__.e(8142),__webpack_require__.e(3168),__webpack_require__.e(3662),__webpack_require__.e(2885),__webpack_require__.e(137),__webpack_require__.e(2556),__webpack_require__.e(8592),__webpack_require__.e(1084)]).then(()=>()=>__webpack_require__(42556))),a("@angular/material/badge","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3401),__webpack_require__.e(8592),__webpack_require__.e(6896)]).then(()=>()=>__webpack_require__(82748))),a("@angular/material/bottom-sheet","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(2069),__webpack_require__.e(2223),__webpack_require__.e(8142),__webpack_require__.e(3662),__webpack_require__.e(5121),__webpack_require__.e(9064),__webpack_require__.e(2621),__webpack_require__.e(8592),__webpack_require__.e(5603)]).then(()=>()=>__webpack_require__(95763))),a("@angular/material/button-toggle","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(7405),__webpack_require__.e(1382),__webpack_require__.e(48),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(20048))),a("@angular/material/button","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(3677),__webpack_require__.e(8592),__webpack_require__.e(7920)]).then(()=>()=>__webpack_require__(83677))),a("@angular/material/checkbox","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(3401),__webpack_require__.e(7405),__webpack_require__.e(7672),__webpack_require__.e(8592),__webpack_require__.e(6980)]).then(()=>()=>__webpack_require__(7672))),a("@angular/material/core","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(2069),__webpack_require__.e(3068),__webpack_require__.e(6936),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(443))),a("@angular/material/datepicker","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(2069),__webpack_require__.e(3068),__webpack_require__.e(2223),__webpack_require__.e(7405),__webpack_require__.e(8142),__webpack_require__.e(3168),__webpack_require__.e(3662),__webpack_require__.e(137),__webpack_require__.e(4049),__webpack_require__.e(2666),__webpack_require__.e(6844),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(76844))),a("@angular/material/dialog","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3401),__webpack_require__.e(2069),__webpack_require__.e(2223),__webpack_require__.e(8142),__webpack_require__.e(3662),__webpack_require__.e(9064),__webpack_require__.e(5125),__webpack_require__.e(8592),__webpack_require__.e(5113)]).then(()=>()=>__webpack_require__(67486))),a("@angular/material/divider","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(20445))),a("@angular/material/expansion","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3401),__webpack_require__.e(2069),__webpack_require__.e(2223),__webpack_require__.e(1382),__webpack_require__.e(8142),__webpack_require__.e(5146),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(61884))),a("@angular/material/form-field","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(3068),__webpack_require__.e(2223),__webpack_require__.e(5321),__webpack_require__.e(8750),__webpack_require__.e(8592),__webpack_require__.e(1328)]).then(()=>()=>__webpack_require__(98750))),a("@angular/material/grid-list","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(3068),__webpack_require__.e(3574),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(93574))),a("@angular/material/icon","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(3267),__webpack_require__.e(5019),__webpack_require__.e(4477),__webpack_require__.e(8782),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(69941))),a("@angular/material/input","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(3675),__webpack_require__.e(7405),__webpack_require__.e(137),__webpack_require__.e(1187),__webpack_require__.e(6892),__webpack_require__.e(8592),__webpack_require__.e(5749)]).then(()=>()=>__webpack_require__(4322))),a("@angular/material/legacy-autocomplete","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(6606),__webpack_require__.e(7405),__webpack_require__.e(3168),__webpack_require__.e(3662),__webpack_require__.e(233),__webpack_require__.e(827),__webpack_require__.e(8592),__webpack_require__.e(4309)]).then(()=>()=>__webpack_require__(59356))),a("@angular/material/legacy-button","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3401),__webpack_require__.e(8376),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(78376))),a("@angular/material/legacy-card","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(6606),__webpack_require__.e(3401),__webpack_require__.e(8287),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(28287))),a("@angular/material/legacy-checkbox","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3401),__webpack_require__.e(7405),__webpack_require__.e(5321),__webpack_require__.e(5068),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(85068))),a("@angular/material/legacy-chips","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(2069),__webpack_require__.e(3068),__webpack_require__.e(7405),__webpack_require__.e(1382),__webpack_require__.e(972),__webpack_require__.e(4371),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(4371))),a("@angular/material/legacy-core","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(6606),__webpack_require__.e(8592),__webpack_require__.e(8024)]).then(()=>()=>__webpack_require__(76391))),a("@angular/material/legacy-dialog","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3401),__webpack_require__.e(8142),__webpack_require__.e(3662),__webpack_require__.e(9064),__webpack_require__.e(3433),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(63433))),a("@angular/material/legacy-form-field","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(3068),__webpack_require__.e(5321),__webpack_require__.e(137),__webpack_require__.e(7189),__webpack_require__.e(8592),__webpack_require__.e(8513)]).then(()=>()=>__webpack_require__(47189))),a("@angular/material/legacy-input","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(6606),__webpack_require__.e(972),__webpack_require__.e(2666),__webpack_require__.e(1187),__webpack_require__.e(8592),__webpack_require__.e(5555)]).then(()=>()=>__webpack_require__(20894))),a("@angular/material/legacy-list","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(2069),__webpack_require__.e(7405),__webpack_require__.e(1382),__webpack_require__.e(7040),__webpack_require__.e(7477),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(10974))),a("@angular/material/legacy-menu","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(6606),__webpack_require__.e(3168),__webpack_require__.e(3662),__webpack_require__.e(6235),__webpack_require__.e(8592),__webpack_require__.e(4967)]).then(()=>()=>__webpack_require__(6291))),a("@angular/material/legacy-paginator","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(6606),__webpack_require__.e(972),__webpack_require__.e(233),__webpack_require__.e(2049),__webpack_require__.e(565),__webpack_require__.e(7223),__webpack_require__.e(7018),__webpack_require__.e(8592),__webpack_require__.e(8017)]).then(()=>()=>__webpack_require__(87095))),a("@angular/material/legacy-progress-bar","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(3401),__webpack_require__.e(2545),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(77410))),a("@angular/material/legacy-progress-spinner","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(3168),__webpack_require__.e(8711),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(18711))),a("@angular/material/legacy-radio","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3401),__webpack_require__.e(7405),__webpack_require__.e(1382),__webpack_require__.e(7479),__webpack_require__.e(8592),__webpack_require__.e(8116)]).then(()=>()=>__webpack_require__(15203))),a("@angular/material/legacy-select","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(6606),__webpack_require__.e(2223),__webpack_require__.e(3168),__webpack_require__.e(3662),__webpack_require__.e(972),__webpack_require__.e(233),__webpack_require__.e(5857),__webpack_require__.e(8282),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(13115))),a("@angular/material/legacy-slide-toggle","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3401),__webpack_require__.e(7405),__webpack_require__.e(5321),__webpack_require__.e(3978),__webpack_require__.e(8592),__webpack_require__.e(5873)]).then(()=>()=>__webpack_require__(60783))),a("@angular/material/legacy-slider","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(2069),__webpack_require__.e(3068),__webpack_require__.e(7405),__webpack_require__.e(3103),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(13103))),a("@angular/material/legacy-snack-bar","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(8142),__webpack_require__.e(3662),__webpack_require__.e(5121),__webpack_require__.e(2049),__webpack_require__.e(4149),__webpack_require__.e(8592),__webpack_require__.e(8061)]).then(()=>()=>__webpack_require__(35271))),a("@angular/material/legacy-table","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(6606),__webpack_require__.e(1382),__webpack_require__.e(3730),__webpack_require__.e(4755),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(24755))),a("@angular/material/legacy-tabs","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(3068),__webpack_require__.e(8142),__webpack_require__.e(3168),__webpack_require__.e(5321),__webpack_require__.e(4270),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(80413))),a("@angular/material/legacy-tooltip","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(3068),__webpack_require__.e(2223),__webpack_require__.e(3168),__webpack_require__.e(3662),__webpack_require__.e(5121),__webpack_require__.e(3251),__webpack_require__.e(8592),__webpack_require__.e(4680)]).then(()=>()=>__webpack_require__(39826))),a("@angular/material/list","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(2069),__webpack_require__.e(7405),__webpack_require__.e(1382),__webpack_require__.e(5321),__webpack_require__.e(7040),__webpack_require__.e(6069),__webpack_require__.e(8592),__webpack_require__.e(2112)]).then(()=>()=>__webpack_require__(16069))),a("@angular/material/menu","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(2069),__webpack_require__.e(3068),__webpack_require__.e(2223),__webpack_require__.e(8142),__webpack_require__.e(3168),__webpack_require__.e(3662),__webpack_require__.e(2885),__webpack_require__.e(5007),__webpack_require__.e(8592),__webpack_require__.e(2111)]).then(()=>()=>__webpack_require__(89314))),a("@angular/material/paginator","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(137),__webpack_require__.e(4049),__webpack_require__.e(3251),__webpack_require__.e(5857),__webpack_require__.e(3930),__webpack_require__.e(8592),__webpack_require__.e(3326)]).then(()=>()=>__webpack_require__(86907))),a("@angular/material/progress-bar","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(3401),__webpack_require__.e(6297),__webpack_require__.e(8592),__webpack_require__.e(8596)]).then(()=>()=>__webpack_require__(46297))),a("@angular/material/progress-spinner","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(3401),__webpack_require__.e(8592),__webpack_require__.e(8352)]).then(()=>()=>__webpack_require__(15312))),a("@angular/material/radio","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3401),__webpack_require__.e(7405),__webpack_require__.e(1382),__webpack_require__.e(8046),__webpack_require__.e(8592),__webpack_require__.e(5501)]).then(()=>()=>__webpack_require__(8046))),a("@angular/material/select","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(2069),__webpack_require__.e(3068),__webpack_require__.e(2223),__webpack_require__.e(7405),__webpack_require__.e(1382),__webpack_require__.e(3168),__webpack_require__.e(3662),__webpack_require__.e(137),__webpack_require__.e(6508),__webpack_require__.e(8592),__webpack_require__.e(882)]).then(()=>()=>__webpack_require__(56508))),a("@angular/material/sidenav","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(2069),__webpack_require__.e(3068),__webpack_require__.e(2223),__webpack_require__.e(3168),__webpack_require__.e(9101),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(79101))),a("@angular/material/slide-toggle","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3401),__webpack_require__.e(7405),__webpack_require__.e(4291),__webpack_require__.e(8592),__webpack_require__.e(3098)]).then(()=>()=>__webpack_require__(4291))),a("@angular/material/snack-bar","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(2223),__webpack_require__.e(8142),__webpack_require__.e(3662),__webpack_require__.e(5121),__webpack_require__.e(4049),__webpack_require__.e(5094),__webpack_require__.e(8592),__webpack_require__.e(8467)]).then(()=>()=>__webpack_require__(88511))),a("@angular/material/sort","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(2069),__webpack_require__.e(2223),__webpack_require__.e(1086),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(95096))),a("@angular/material/stepper","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3068),__webpack_require__.e(2223),__webpack_require__.e(8142),__webpack_require__.e(8972),__webpack_require__.e(561),__webpack_require__.e(3308),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(96247))),a("@angular/material/table","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(1382),__webpack_require__.e(3730),__webpack_require__.e(3348),__webpack_require__.e(8592),__webpack_require__.e(6578)]).then(()=>()=>__webpack_require__(83348))),a("@angular/material/tabs","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(2069),__webpack_require__.e(3068),__webpack_require__.e(2223),__webpack_require__.e(8142),__webpack_require__.e(3168),__webpack_require__.e(5321),__webpack_require__.e(2885),__webpack_require__.e(2128),__webpack_require__.e(8592),__webpack_require__.e(4093)]).then(()=>()=>__webpack_require__(12128))),a("@angular/material/toolbar","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(6606),__webpack_require__.e(3675),__webpack_require__.e(8592),__webpack_require__.e(8608)]).then(()=>()=>__webpack_require__(46322))),a("@angular/material/tooltip","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(2069),__webpack_require__.e(3068),__webpack_require__.e(2223),__webpack_require__.e(8142),__webpack_require__.e(3168),__webpack_require__.e(3662),__webpack_require__.e(8746),__webpack_require__.e(8592),__webpack_require__.e(8443)]).then(()=>()=>__webpack_require__(52423))),a("@angular/material/tree","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(1382),__webpack_require__.e(7726),__webpack_require__.e(4640),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(42493))),a("@angular/platform-browser/animations","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(2223),__webpack_require__.e(5019),__webpack_require__.e(9031),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(69031))),a("@angular/platform-browser","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(3267),__webpack_require__.e(2512),__webpack_require__.e(8592),__webpack_require__.e(7328)]).then(()=>()=>__webpack_require__(42512))),a("@angular/router","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5019),__webpack_require__.e(4477),__webpack_require__.e(4843),__webpack_require__.e(8592),__webpack_require__.e(4106)]).then(()=>()=>__webpack_require__(84843))),a("@rollthecloudinc/attributes","16.0.0-alpha.6",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(7405),__webpack_require__.e(972),__webpack_require__.e(3267),__webpack_require__.e(8154),__webpack_require__.e(6073),__webpack_require__.e(5813),__webpack_require__.e(9490),__webpack_require__.e(4589),__webpack_require__.e(8592),__webpack_require__.e(6441)]).then(()=>()=>__webpack_require__(44589))),a("@rollthecloudinc/content","16.0.0-alpha.6",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(8154),__webpack_require__.e(5813),__webpack_require__.e(8488),__webpack_require__.e(8592),__webpack_require__.e(1821)]).then(()=>()=>__webpack_require__(56922))),a("@rollthecloudinc/material","16.0.0-alpha.6",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3068),__webpack_require__.e(8142),__webpack_require__.e(3168),__webpack_require__.e(2049),__webpack_require__.e(7040),__webpack_require__.e(3730),__webpack_require__.e(565),__webpack_require__.e(6073),__webpack_require__.e(8972),__webpack_require__.e(3343),__webpack_require__.e(7223),__webpack_require__.e(7726),__webpack_require__.e(561),__webpack_require__.e(3770),__webpack_require__.e(8592),__webpack_require__.e(9880)]).then(()=>()=>__webpack_require__(73770))),a("@rollthecloudinc/plugin","16.0.0-alpha.6",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(8154),__webpack_require__.e(8592),__webpack_require__.e(6237)]).then(()=>()=>__webpack_require__(56263))),a("@rollthecloudinc/utils","16.0.0-alpha.6",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(3597),__webpack_require__.e(8592),__webpack_require__.e(4902)]).then(()=>()=>__webpack_require__(3597)))),o[i]=g.length?Promise.all(g).then(()=>o[i]=1):1}}})(),(()=>{var o;__webpack_require__.tt=()=>(void 0===o&&(o={createScriptURL:c=>c},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(o=trustedTypes.createPolicy("angular#bundler",o))),o)})(),__webpack_require__.tu=o=>__webpack_require__.tt().createScriptURL(o),(()=>{var o;if("string"==typeof import.meta.url&&(o=import.meta.url),!o)throw new Error("Automatic publicPath is not supported in this browser");o=o.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=o})(),(()=>{var o=l=>{var r=d=>d.split(".").map(u=>+u==u?+u:u),e=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(l),n=e[1]?r(e[1]):[];return e[2]&&(n.length++,n.push.apply(n,r(e[2]))),e[3]&&(n.push([]),n.push.apply(n,r(e[3]))),n},i=l=>{var r=l[0],e="";if(1===l.length)return"*";if(r+.5){e+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var n=1,d=1;d0?".":"")+(n=2,m);return e}var u=[];for(d=1;d{if(0 in l){r=o(r);var e=l[0],n=e<0;n&&(e=-e-1);for(var d=0,u=1,m=!0;;u++,d++){var k,A,j=u=r.length||"o"==(A=(typeof(k=r[d]))[0]))return!m||("u"==j?u>e&&!n:""==j!=n);if("u"==A){if(!m||"u"!=j)return!1}else if(m)if(j==A)if(u<=e){if(k!=l[u])return!1}else{if(n?k>l[u]:k{var e=l[r];return Object.keys(e).reduce((n,d)=>!n||!e[n].loaded&&((l,r)=>{l=o(l),r=o(r);for(var e=0;;){if(e>=l.length)return e=r.length)return"u"==d;var u=r[e],m=(typeof u)[0];if(d!=m)return"o"==d&&"n"==m||"s"==m||"u"==d;if("o"!=d&&"u"!=d&&n!=u)return n"Unsatisfied version "+e+" from "+(e&&l[r][e].from)+" of shared singleton module "+r+" (required "+i(n)+")",x=l=>{typeof console<"u"&&console.warn&&console.warn(l)},h=l=>(l.loaded=1,l.get()),C=l=>function(r,e,n,d){var u=__webpack_require__.I(r);return u&&u.then?u.then(l.bind(l,r,__webpack_require__.S[r],e,n,d)):l(r,__webpack_require__.S[r],e,n,d)},T=C((l,r,e,n,d)=>r&&__webpack_require__.o(r,e)?((l,r,e,n)=>{var d=f(l,e);return s(n,d)||x(S(l,e,d,n)),h(l[e][d])})(r,0,e,n):d()),t=C((l,r,e,n,d)=>r&&__webpack_require__.o(r,e)?((l,r,e,n)=>{var d=f(l,e);if(!s(n,d))throw new Error(S(l,e,d,n));return h(l[e][d])})(r,0,e,n):d()),M={},L={56718:()=>t("default","@angular/core",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(8592),__webpack_require__.e(6839)]).then(()=>()=>__webpack_require__(86839))),94055:()=>t("default","@angular/common",[1,16,0,1],()=>__webpack_require__.e(6477).then(()=>()=>__webpack_require__(86477))),35333:()=>t("default","@angular/cdk/coercion",[1,16,0,1],()=>Promise.all([__webpack_require__.e(8592),__webpack_require__.e(1551)]).then(()=>()=>__webpack_require__(70867))),6606:()=>t("default","@angular/material/core",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(2069),__webpack_require__.e(3068),__webpack_require__.e(6936)]).then(()=>()=>__webpack_require__(443))),33401:()=>t("default","@angular/platform-browser/animations",[1,16,0,1],()=>Promise.all([__webpack_require__.e(4055),__webpack_require__.e(2223),__webpack_require__.e(5019),__webpack_require__.e(9031)]).then(()=>()=>__webpack_require__(69031))),43068:()=>t("default","@angular/cdk/bidi",[1,16,0,1],()=>Promise.all([__webpack_require__.e(4055),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(4564))),47405:()=>t("default","@angular/forms",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(9542)]).then(()=>()=>__webpack_require__(69542))),81382:()=>t("default","@angular/cdk/collections",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(7888)]).then(()=>()=>__webpack_require__(15778))),93168:()=>t("default","@angular/cdk/scrolling",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(5333),__webpack_require__.e(3675),__webpack_require__.e(3068),__webpack_require__.e(1382),__webpack_require__.e(2885),__webpack_require__.e(2152),__webpack_require__.e(442)]).then(()=>()=>__webpack_require__(30442))),30972:()=>t("default","@angular/material/legacy-form-field",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(3068),__webpack_require__.e(5321),__webpack_require__.e(137),__webpack_require__.e(7189)]).then(()=>()=>__webpack_require__(47189))),10233:()=>t("default","@angular/material/legacy-core",[1,16,0,1],()=>__webpack_require__.e(8592).then(()=>()=>__webpack_require__(76391))),3267:()=>t("default","@angular/common/http",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(3765)]).then(()=>()=>__webpack_require__(33765))),15019:()=>t("default","@angular/platform-browser",[1,16,0,1],()=>Promise.all([__webpack_require__.e(3267),__webpack_require__.e(2512)]).then(()=>()=>__webpack_require__(42512))),72049:()=>t("default","@angular/material/legacy-button",[1,16,0,1],()=>Promise.all([__webpack_require__.e(908),__webpack_require__.e(3401),__webpack_require__.e(8376)]).then(()=>()=>__webpack_require__(78376))),97040:()=>t("default","@angular/material/divider",[1,16,0,1],()=>__webpack_require__.e(8592).then(()=>()=>__webpack_require__(20445))),8154:()=>T("default","@rollthecloudinc/utils",[7,16,0,0,,"alpha",6],()=>Promise.all([__webpack_require__.e(4055),__webpack_require__.e(3597)]).then(()=>()=>__webpack_require__(3597))),80565:()=>t("default","@angular/material/legacy-select",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(2223),__webpack_require__.e(3168),__webpack_require__.e(3662),__webpack_require__.e(972),__webpack_require__.e(233),__webpack_require__.e(5857),__webpack_require__.e(8282)]).then(()=>()=>__webpack_require__(13115))),26073:()=>t("default","@angular/material/legacy-input",[1,16,0,1],()=>Promise.all([__webpack_require__.e(6606),__webpack_require__.e(972),__webpack_require__.e(2666),__webpack_require__.e(1187),__webpack_require__.e(8592),__webpack_require__.e(5915)]).then(()=>()=>__webpack_require__(20894))),28972:()=>t("default","@angular/material/icon",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(5333),__webpack_require__.e(3267),__webpack_require__.e(5019),__webpack_require__.e(4477),__webpack_require__.e(8782)]).then(()=>()=>__webpack_require__(69941))),1621:()=>t("default","@angular/material/bottom-sheet",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(908),__webpack_require__.e(2069),__webpack_require__.e(2223),__webpack_require__.e(8142),__webpack_require__.e(3662),__webpack_require__.e(5121),__webpack_require__.e(9064),__webpack_require__.e(2621)]).then(()=>()=>__webpack_require__(95763))),4856:()=>t("default","@angular/material/legacy-slide-toggle",[1,16,0,1],()=>Promise.all([__webpack_require__.e(908),__webpack_require__.e(3401),__webpack_require__.e(7405),__webpack_require__.e(5321),__webpack_require__.e(3978),__webpack_require__.e(8592),__webpack_require__.e(6763)]).then(()=>()=>__webpack_require__(60783))),5311:()=>t("default","@angular/material/legacy-dialog",[1,16,0,1],()=>Promise.all([__webpack_require__.e(908),__webpack_require__.e(3401),__webpack_require__.e(8142),__webpack_require__.e(3662),__webpack_require__.e(9064),__webpack_require__.e(3433)]).then(()=>()=>__webpack_require__(63433))),9263:()=>t("default","@angular/material/legacy-list",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(908),__webpack_require__.e(2069),__webpack_require__.e(7405),__webpack_require__.e(1382),__webpack_require__.e(7477)]).then(()=>()=>__webpack_require__(10974))),21669:()=>t("default","@angular/material/legacy-table",[1,16,0,1],()=>Promise.all([__webpack_require__.e(1382),__webpack_require__.e(3730),__webpack_require__.e(4755)]).then(()=>()=>__webpack_require__(24755))),28413:()=>t("default","@angular/material/legacy-tabs",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(8142),__webpack_require__.e(5321),__webpack_require__.e(4270)]).then(()=>()=>__webpack_require__(80413))),38369:()=>t("default","@angular/material/expansion",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(908),__webpack_require__.e(3401),__webpack_require__.e(2069),__webpack_require__.e(2223),__webpack_require__.e(1382),__webpack_require__.e(8142),__webpack_require__.e(5146)]).then(()=>()=>__webpack_require__(61884))),40810:()=>t("default","@angular/material/datepicker",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(2069),__webpack_require__.e(2223),__webpack_require__.e(7405),__webpack_require__.e(8142),__webpack_require__.e(3662),__webpack_require__.e(137),__webpack_require__.e(4049),__webpack_require__.e(2666),__webpack_require__.e(6844)]).then(()=>()=>__webpack_require__(76844))),43516:()=>t("default","@angular/material/sort",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(908),__webpack_require__.e(2069),__webpack_require__.e(2223),__webpack_require__.e(1086)]).then(()=>()=>__webpack_require__(95096))),44039:()=>t("default","@angular/material/legacy-radio",[1,16,0,1],()=>Promise.all([__webpack_require__.e(908),__webpack_require__.e(3401),__webpack_require__.e(7405),__webpack_require__.e(1382),__webpack_require__.e(7479),__webpack_require__.e(8592),__webpack_require__.e(6748)]).then(()=>()=>__webpack_require__(15203))),51372:()=>t("default","@angular/cdk/drag-drop",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(2885),__webpack_require__.e(2152),__webpack_require__.e(8158)]).then(()=>()=>__webpack_require__(18158))),52090:()=>t("default","@angular/material/legacy-autocomplete",[1,16,0,1],()=>Promise.all([__webpack_require__.e(7405),__webpack_require__.e(3662),__webpack_require__.e(233),__webpack_require__.e(827),__webpack_require__.e(8592),__webpack_require__.e(5391)]).then(()=>()=>__webpack_require__(59356))),53726:()=>t("default","@angular/material/legacy-checkbox",[1,16,0,1],()=>Promise.all([__webpack_require__.e(908),__webpack_require__.e(3401),__webpack_require__.e(7405),__webpack_require__.e(5321),__webpack_require__.e(5068)]).then(()=>()=>__webpack_require__(85068))),55198:()=>t("default","@angular/material/sidenav",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(2069),__webpack_require__.e(2223),__webpack_require__.e(9101)]).then(()=>()=>__webpack_require__(79101))),75376:()=>t("default","@angular/material/legacy-menu",[1,16,0,1],()=>Promise.all([__webpack_require__.e(3662),__webpack_require__.e(6235),__webpack_require__.e(8592),__webpack_require__.e(3278)]).then(()=>()=>__webpack_require__(6291))),92081:()=>t("default","@angular/material/legacy-slider",[1,16,0,1],()=>Promise.all([__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(2069),__webpack_require__.e(7405),__webpack_require__.e(3103)]).then(()=>()=>__webpack_require__(13103))),25813:()=>T("default","@rollthecloudinc/plugin",[7,16,0,0,,"alpha",6],()=>Promise.all([__webpack_require__.e(8592),__webpack_require__.e(3418)]).then(()=>()=>__webpack_require__(56263))),69490:()=>T("default","@rollthecloudinc/material",[7,16,0,0,,"alpha",6],()=>Promise.all([__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3068),__webpack_require__.e(8142),__webpack_require__.e(3168),__webpack_require__.e(2049),__webpack_require__.e(7040),__webpack_require__.e(3730),__webpack_require__.e(565),__webpack_require__.e(8972),__webpack_require__.e(3343),__webpack_require__.e(7223),__webpack_require__.e(7726),__webpack_require__.e(561),__webpack_require__.e(3770)]).then(()=>()=>__webpack_require__(73770))),68488:()=>T("default","@rollthecloudinc/attributes",[7,16,0,0,,"alpha",6],()=>Promise.all([__webpack_require__.e(7405),__webpack_require__.e(972),__webpack_require__.e(3267),__webpack_require__.e(6073),__webpack_require__.e(9490),__webpack_require__.e(4589)]).then(()=>()=>__webpack_require__(44589))),31348:()=>T("default","@rollthecloudinc/content",[7,16,0,0,,"alpha",6],()=>__webpack_require__.e(8592).then(()=>()=>__webpack_require__(56922))),39691:()=>t("default","@angular/router",[1,16,0,1],()=>__webpack_require__.e(4843).then(()=>()=>__webpack_require__(84843))),64610:()=>t("default","@angular/core/rxjs-interop",[1,16,0,1],()=>__webpack_require__.e(188).then(()=>()=>__webpack_require__(188))),23675:()=>t("default","@angular/cdk/platform",[1,16,0,1],()=>Promise.all([__webpack_require__.e(4055),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(15712))),52069:()=>t("default","@angular/cdk/keycodes",[1,16,0,1],()=>__webpack_require__.e(4387).then(()=>()=>__webpack_require__(24387))),75321:()=>t("default","@angular/cdk/observers",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(5333),__webpack_require__.e(8538)]).then(()=>()=>__webpack_require__(8577))),25121:()=>t("default","@angular/cdk/layout",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(5333),__webpack_require__.e(3675),__webpack_require__.e(919)]).then(()=>()=>__webpack_require__(40919))),908:()=>t("default","@angular/cdk/a11y",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(3675),__webpack_require__.e(2069),__webpack_require__.e(5321),__webpack_require__.e(5121),__webpack_require__.e(1636)]).then(()=>()=>__webpack_require__(46958))),18142:()=>t("default","@angular/cdk/portal",[1,16,0,1],()=>__webpack_require__.e(2035).then(()=>()=>__webpack_require__(12035))),43662:()=>t("default","@angular/cdk/overlay",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(5333),__webpack_require__.e(3675),__webpack_require__.e(2069),__webpack_require__.e(3068),__webpack_require__.e(8142),__webpack_require__.e(3168),__webpack_require__.e(5544)]).then(()=>()=>__webpack_require__(75544))),137:()=>t("default","@angular/material/form-field",[1,16,0,1],()=>Promise.all([__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(3068),__webpack_require__.e(2223),__webpack_require__.e(5321),__webpack_require__.e(8750)]).then(()=>()=>__webpack_require__(98750))),69064:()=>t("default","@angular/cdk/dialog",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(3675),__webpack_require__.e(2069),__webpack_require__.e(3068),__webpack_require__.e(5598)]).then(()=>()=>__webpack_require__(65598))),66298:()=>t("default","@angular/cdk",[1,16,0,1],()=>__webpack_require__.e(8592).then(()=>()=>__webpack_require__(16346))),64049:()=>t("default","@angular/material/button",[1,16,0,1],()=>Promise.all([__webpack_require__.e(5333),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(3677)]).then(()=>()=>__webpack_require__(83677))),32666:()=>t("default","@angular/material/input",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(5333),__webpack_require__.e(3675),__webpack_require__.e(7405),__webpack_require__.e(137),__webpack_require__.e(1187),__webpack_require__.e(6892)]).then(()=>()=>__webpack_require__(4322))),19759:()=>t("default","@angular/cdk/accordion",[1,16,0,1],()=>__webpack_require__.e(8592).then(()=>()=>__webpack_require__(41760))),41187:()=>t("default","@angular/cdk/text-field",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(3675),__webpack_require__.e(2885),__webpack_require__.e(7131)]).then(()=>()=>__webpack_require__(10264))),80827:()=>t("default","@angular/material/autocomplete",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(5333),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(2069),__webpack_require__.e(3068),__webpack_require__.e(2223),__webpack_require__.e(8142),__webpack_require__.e(2885),__webpack_require__.e(137),__webpack_require__.e(2556)]).then(()=>()=>__webpack_require__(42556))),57021:()=>t("default","@angular/material/checkbox",[1,16,0,1],()=>Promise.all([__webpack_require__.e(5333),__webpack_require__.e(7672)]).then(()=>()=>__webpack_require__(7672))),21447:()=>t("default","@angular/material/dialog",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(5333),__webpack_require__.e(2069),__webpack_require__.e(2223),__webpack_require__.e(5125)]).then(()=>()=>__webpack_require__(67486))),90297:()=>t("default","@angular/material/list",[1,16,0,1],()=>Promise.all([__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(5321),__webpack_require__.e(6069)]).then(()=>()=>__webpack_require__(16069))),66235:()=>t("default","@angular/material/menu",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(5333),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(2069),__webpack_require__.e(3068),__webpack_require__.e(2223),__webpack_require__.e(8142),__webpack_require__.e(2885),__webpack_require__.e(5007)]).then(()=>()=>__webpack_require__(89314))),67223:()=>t("default","@angular/material/legacy-tooltip",[1,16,0,1],()=>Promise.all([__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(3068),__webpack_require__.e(2223),__webpack_require__.e(3168),__webpack_require__.e(3662),__webpack_require__.e(5121),__webpack_require__.e(3251),__webpack_require__.e(8592),__webpack_require__.e(4151)]).then(()=>()=>__webpack_require__(39826))),17018:()=>t("default","@angular/material/paginator",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(5333),__webpack_require__.e(137),__webpack_require__.e(4049),__webpack_require__.e(3251),__webpack_require__.e(5857),__webpack_require__.e(3930)]).then(()=>()=>__webpack_require__(86907))),70137:()=>t("default","@angular/material/progress-bar",[1,16,0,1],()=>__webpack_require__.e(6297).then(()=>()=>__webpack_require__(46297))),98745:()=>t("default","@angular/material/progress-spinner",[1,16,0,1],()=>__webpack_require__.e(8592).then(()=>()=>__webpack_require__(15312))),27479:()=>t("default","@angular/material/radio",[1,16,0,1],()=>Promise.all([__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(8046)]).then(()=>()=>__webpack_require__(8046))),25857:()=>t("default","@angular/material/select",[1,16,0,1],()=>Promise.all([__webpack_require__.e(4987),__webpack_require__.e(5333),__webpack_require__.e(908),__webpack_require__.e(2069),__webpack_require__.e(3068),__webpack_require__.e(2223),__webpack_require__.e(7405),__webpack_require__.e(1382),__webpack_require__.e(3168),__webpack_require__.e(3662),__webpack_require__.e(137),__webpack_require__.e(6508)]).then(()=>()=>__webpack_require__(56508))),13978:()=>t("default","@angular/material/slide-toggle",[1,16,0,1],()=>Promise.all([__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(4291)]).then(()=>()=>__webpack_require__(4291))),4149:()=>t("default","@angular/material/snack-bar",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(3675),__webpack_require__.e(2223),__webpack_require__.e(4049),__webpack_require__.e(5094)]).then(()=>()=>__webpack_require__(88511))),33730:()=>t("default","@angular/cdk/table",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(3675),__webpack_require__.e(3068),__webpack_require__.e(1382),__webpack_require__.e(3168),__webpack_require__.e(2124)]).then(()=>()=>__webpack_require__(52124))),78954:()=>t("default","@angular/material/table",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(5333),__webpack_require__.e(3348)]).then(()=>()=>__webpack_require__(83348))),31099:()=>t("default","@angular/material/tabs",[1,16,0,1],()=>Promise.all([__webpack_require__.e(4987),__webpack_require__.e(5333),__webpack_require__.e(2069),__webpack_require__.e(2223),__webpack_require__.e(2885),__webpack_require__.e(2128)]).then(()=>()=>__webpack_require__(12128))),63251:()=>t("default","@angular/material/tooltip",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(5333),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(2069),__webpack_require__.e(3068),__webpack_require__.e(2223),__webpack_require__.e(8142),__webpack_require__.e(3168),__webpack_require__.e(3662),__webpack_require__.e(8746)]).then(()=>()=>__webpack_require__(52423))),70561:()=>t("default","@angular/cdk/stepper",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(5333),__webpack_require__.e(3675),__webpack_require__.e(2069),__webpack_require__.e(6215)]).then(()=>()=>__webpack_require__(77405))),67726:()=>t("default","@angular/cdk/tree",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(3068),__webpack_require__.e(1382),__webpack_require__.e(1041)]).then(()=>()=>__webpack_require__(11041))),3620:()=>t("default","@angular/material/toolbar",[1,16,0,1],()=>Promise.all([__webpack_require__.e(3675),__webpack_require__.e(8592),__webpack_require__.e(6618)]).then(()=>()=>__webpack_require__(46322))),7054:()=>t("default","@angular/material/stepper",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(2223),__webpack_require__.e(3308)]).then(()=>()=>__webpack_require__(96247))),8312:()=>t("default","@angular/material/legacy-snack-bar",[1,16,0,1],()=>Promise.all([__webpack_require__.e(3662),__webpack_require__.e(5121),__webpack_require__.e(4149),__webpack_require__.e(8592),__webpack_require__.e(8071)]).then(()=>()=>__webpack_require__(35271))),12219:()=>t("default","@angular/material/grid-list",[1,16,0,1],()=>__webpack_require__.e(3574).then(()=>()=>__webpack_require__(93574))),15455:()=>t("default","@angular/material/badge",[1,16,0,1],()=>Promise.all([__webpack_require__.e(3401),__webpack_require__.e(8592),__webpack_require__.e(5069)]).then(()=>()=>__webpack_require__(82748))),36070:()=>t("default","@angular/material/legacy-progress-spinner",[1,16,0,1],()=>Promise.all([__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(8711)]).then(()=>()=>__webpack_require__(18711))),41858:()=>t("default","@angular/material/legacy-paginator",[1,16,0,1],()=>Promise.all([__webpack_require__.e(972),__webpack_require__.e(233),__webpack_require__.e(7018),__webpack_require__.e(8592),__webpack_require__.e(7432)]).then(()=>()=>__webpack_require__(87095))),53598:()=>t("default","@angular/material/legacy-card",[1,16,0,1],()=>Promise.all([__webpack_require__.e(3401),__webpack_require__.e(8287)]).then(()=>()=>__webpack_require__(28287))),56388:()=>t("default","@angular/material/legacy-progress-bar",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(3401),__webpack_require__.e(2545)]).then(()=>()=>__webpack_require__(77410))),75101:()=>t("default","@angular/material/button-toggle",[1,16,0,1],()=>Promise.all([__webpack_require__.e(7405),__webpack_require__.e(1382),__webpack_require__.e(48)]).then(()=>()=>__webpack_require__(20048))),80584:()=>t("default","@angular/material/legacy-chips",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(2069),__webpack_require__.e(7405),__webpack_require__.e(1382),__webpack_require__.e(972),__webpack_require__.e(4371)]).then(()=>()=>__webpack_require__(4371))),89402:()=>t("default","@angular/material/tree",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(1382),__webpack_require__.e(4640)]).then(()=>()=>__webpack_require__(42493)))},w={137:[137],233:[10233],561:[70561],565:[80565],827:[80827],908:[908],972:[30972],1187:[41187],1382:[81382],2049:[72049],2069:[52069],2545:[70137],2666:[32666],3068:[43068],3168:[93168],3251:[63251],3267:[3267],3343:[1621,4856,5311,9263,21669,28413,38369,40810,43516,44039,51372,52090,53726,55198,75376,92081],3401:[33401],3433:[21447],3662:[43662],3675:[23675],3730:[33730],3770:[3620,7054,8312,12219,15455,36070,41858,53598,56388,75101,80584,89402],3978:[13978],4049:[64049],4055:[94055],4149:[4149],4270:[31099],4755:[78954],5019:[15019],5068:[57021],5121:[25121],5146:[19759],5321:[75321],5333:[35333],5813:[25813],5857:[25857],6073:[26073],6235:[66235],6606:[6606],6718:[56718],6936:[66298],7018:[17018],7040:[97040],7223:[67223],7405:[47405],7477:[90297],7479:[27479],7726:[67726],8013:[31348,39691,64610],8142:[18142],8154:[8154],8488:[68488],8711:[98745],8972:[28972],9064:[69064],9490:[69490]};__webpack_require__.f.consumes=(l,r)=>{__webpack_require__.o(w,l)&&w[l].forEach(e=>{if(__webpack_require__.o(M,e))return r.push(M[e]);var n=m=>{M[e]=0,__webpack_require__.m[e]=k=>{delete __webpack_require__.c[e],k.exports=m()}},d=m=>{delete M[e],__webpack_require__.m[e]=k=>{throw delete __webpack_require__.c[e],m}};try{var u=L[e]();u.then?r.push(M[e]=u.then(n).catch(d)):n(u)}catch(m){d(m)}})}})(),(()=>{var o={179:0};__webpack_require__.f.j=(s,P)=>{var b=__webpack_require__.o(o,s)?o[s]:void 0;if(0!==b)if(b)P.push(b[2]);else if(/^(1(187|37|382)|2(049|069|33|666)|3((06|16|97)8|251|267|343|401|662|675|730)|4([01]49|055)|5((12|32|6)1|019|333|65|813|857)|6(073|235|606|718)|7(018|040|223|405|479|726)|8(142|154|27|488|972)|9(064|08|490|72))$/.test(s))o[s]=0;else{var f=new Promise((g,v)=>b=o[s]=[g,v]);P.push(b[2]=f);var S=__webpack_require__.p+__webpack_require__.u(s),a=new Error;__webpack_require__.l(S,g=>{if(__webpack_require__.o(o,s)&&(0!==(b=o[s])&&(o[s]=void 0),b)){var v=g&&("load"===g.type?"missing":g.type),p=g&&g.target&&g.target.src;a.message="Loading chunk "+s+" failed.\n("+v+": "+p+")",a.name="ChunkLoadError",a.type=v,a.request=p,b[1](a)}},"chunk-"+s,s)}};var c=(s,P)=>{var a,y,[b,f,S]=P,g=0;if(b.some(p=>0!==o[p])){for(a in f)__webpack_require__.o(f,a)&&(__webpack_require__.m[a]=f[a]);S&&S(__webpack_require__)}for(s&&s(P);g console.error(err));\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n// expose the module cache\n__webpack_require__.c = __webpack_module_cache__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + (chunkId === 8592 ? \"common\" : chunkId) + \".\" + {\"48\":\"0f562d23dbadf566\",\"137\":\"b987c9ab9e9e4a0c\",\"188\":\"72dfea1b62e92384\",\"233\":\"ea1826a1c9351e0d\",\"442\":\"5261795959bf57d7\",\"561\":\"c601034a41b30119\",\"565\":\"09183695f1ef31a4\",\"827\":\"8a08b90e69cfc6ba\",\"833\":\"c8215640c38aad70\",\"882\":\"8ecea003bd197edb\",\"908\":\"e1eff4c0a31f52f0\",\"919\":\"2768e0fb2f87cd5b\",\"972\":\"03d26bf8663ffa3e\",\"1041\":\"6a524365de59f24e\",\"1084\":\"937b47bd2129c294\",\"1086\":\"170a93fd8be7cc1f\",\"1187\":\"7473ea01a7222aa1\",\"1217\":\"bf9e9dcb0130fef7\",\"1328\":\"cd6b67916d3ed353\",\"1382\":\"2b2c0dd3f2a838a4\",\"1551\":\"f681c87a695c9abd\",\"1636\":\"ea4ce1e9cfbc5c19\",\"1821\":\"00aad28c06106961\",\"2035\":\"35946dc8d608ded3\",\"2049\":\"0447431515fa4c5b\",\"2069\":\"35e391d82316cce6\",\"2111\":\"16941bd519497cc4\",\"2112\":\"a686302e3e9bbb3e\",\"2124\":\"c33f9c0d968a72a1\",\"2128\":\"f0a8e700db56fb59\",\"2152\":\"0b848abf6263c322\",\"2223\":\"3e7499ae07f58573\",\"2512\":\"2d65adc8804e95d7\",\"2545\":\"7524e84597a506c1\",\"2556\":\"5668598d28607d35\",\"2621\":\"dda67a0e328267fa\",\"2666\":\"0b3b18a84c9a4165\",\"2885\":\"42c5c37545ae029e\",\"3022\":\"95d4c43ad3f85966\",\"3068\":\"fdb14802cdd50c1a\",\"3098\":\"fed4a5b0a9bb1c8c\",\"3103\":\"6e520a55c0537c2d\",\"3168\":\"570b5c6538639ea9\",\"3183\":\"6470ba84849ae4be\",\"3251\":\"62d10641c6cd5f9b\",\"3267\":\"affe96b1f59ea518\",\"3278\":\"adffad0b0fdd8e90\",\"3308\":\"a528bc6f1b781d52\",\"3326\":\"34b87cfb31ed8b06\",\"3343\":\"4f58d58183149088\",\"3348\":\"1fd3ea46becd71d6\",\"3401\":\"ea5fb771b3363471\",\"3418\":\"4255c9649af5eaf7\",\"3433\":\"2ed7cd20dad71cfc\",\"3574\":\"2f6c2aa430041f1f\",\"3597\":\"44455a50ee80dd40\",\"3662\":\"8535bb5243b8d3f8\",\"3675\":\"20413566fad33fcb\",\"3677\":\"926dba811cceb67c\",\"3730\":\"40d1b3ea8420485e\",\"3765\":\"f8d330ebbabb456e\",\"3770\":\"cddf80ea8dff6a2d\",\"3930\":\"97578bdc08b7bf9d\",\"3978\":\"c235bec8deefb1a1\",\"4049\":\"e73741c29f7fad27\",\"4055\":\"2d37691e77016310\",\"4091\":\"160c731ad85419e3\",\"4093\":\"ce05facb30566249\",\"4106\":\"a45e0bd0c9ab02a5\",\"4149\":\"4453d755aa4e5562\",\"4151\":\"72f982a3cc0d5568\",\"4155\":\"85bf1e2187f8495e\",\"4270\":\"bbc9bcd142493e25\",\"4291\":\"be3c5c5ee2f2c383\",\"4309\":\"8f8441b74a0be6b8\",\"4371\":\"5ec3b709d6088bf5\",\"4387\":\"5f60c218e7a7055f\",\"4477\":\"65c89cff06f625c1\",\"4589\":\"c0c58fd8d6ae092a\",\"4640\":\"bf671556de706900\",\"4680\":\"dca80f0114f257a5\",\"4755\":\"e219075f665d048b\",\"4843\":\"9cc79487b7ed3c03\",\"4902\":\"28ad83213bdec45d\",\"4967\":\"cd6fdeac93fac987\",\"4968\":\"4bfd65c5f3d533da\",\"4987\":\"33138ee02ba4ed0e\",\"5007\":\"31862526f240da4f\",\"5019\":\"76f28b374d5a8350\",\"5068\":\"86ffa29fdc3c2b5b\",\"5069\":\"53f13d63fe0558cb\",\"5094\":\"0672665b5e6e8b59\",\"5106\":\"926c12c126e770c2\",\"5113\":\"06c4d3be2def5d91\",\"5121\":\"f3ddb0bcc7eb6aa7\",\"5125\":\"cb6e8cbbc7ad49a7\",\"5146\":\"b387d5f410c1016d\",\"5187\":\"965705915ef13b61\",\"5321\":\"f9b4523dc3459a45\",\"5333\":\"eec4438149dc36e1\",\"5391\":\"8db302d7cdc20831\",\"5501\":\"ef2c2ee2f2ccecee\",\"5544\":\"0c122e7d49a65d8b\",\"5555\":\"29d4358f47cf82e8\",\"5598\":\"4cbade95a704b244\",\"5603\":\"e3fb7439c64f9ec3\",\"5749\":\"3443645c0dda54c3\",\"5813\":\"3ab5d6dcdf57efc2\",\"5857\":\"a5f7dcad26bc57ad\",\"5873\":\"7dbdb8681d2e2ea9\",\"5915\":\"d27f1fecd9111bee\",\"6069\":\"47ef4be18c0da5af\",\"6073\":\"5a87727e622067f7\",\"6215\":\"10b022de38e29aa9\",\"6235\":\"1cd1431b91336e1e\",\"6237\":\"404c096af053e535\",\"6297\":\"510c28b6eef50735\",\"6441\":\"1ed54299f1bb8173\",\"6477\":\"0424bf6b21aa4e25\",\"6508\":\"9d89448241dbbf53\",\"6578\":\"1dc26f3f2eb234f6\",\"6606\":\"294a628bae991e85\",\"6618\":\"f423d4017883477a\",\"6718\":\"1ccf2d2f610aaae0\",\"6748\":\"1496b15b2d5af775\",\"6763\":\"4771ea4780be6711\",\"6785\":\"56f0194b8bc6f8fb\",\"6839\":\"055ca8b6e5386f89\",\"6844\":\"232b0adce74e1ee4\",\"6892\":\"725faee0a79d78c4\",\"6896\":\"bfb8d28f7841fa68\",\"6936\":\"b38a104e439a2a69\",\"6980\":\"808708880eb725f8\",\"7018\":\"192b47f6811f0554\",\"7040\":\"ecacb27665ca69d6\",\"7131\":\"1faca00847bd973c\",\"7189\":\"b143b6038795e493\",\"7208\":\"0175d6e664789ed5\",\"7223\":\"4032628e36b2bf87\",\"7328\":\"3db0b9e4fe1dfa43\",\"7376\":\"8b32539275c4a110\",\"7405\":\"ea4cd60f6ceae128\",\"7432\":\"60cdd2184b9bcbf3\",\"7477\":\"7a3179a930219ad9\",\"7479\":\"6008e65aa0e5f337\",\"7672\":\"d97d46e89fe535ef\",\"7726\":\"7cc351de4a16ab58\",\"7888\":\"00f90ea9f58d7341\",\"7920\":\"20f071c82a068a0e\",\"8013\":\"aa29348797c9028f\",\"8017\":\"fee44725bd625d4f\",\"8024\":\"8f695f64b9d3a742\",\"8046\":\"c6105b2ea1127aa5\",\"8061\":\"45943028350155ea\",\"8071\":\"a88180266995b878\",\"8116\":\"dc3b01ebb5427ede\",\"8142\":\"288fce7344fa2586\",\"8154\":\"6a69cbd82b63ec24\",\"8158\":\"797e810298041051\",\"8282\":\"aaa9267c610b17ec\",\"8287\":\"3f6959d00e46e8cd\",\"8352\":\"cb8b08283660350a\",\"8376\":\"4e03513f7c087c87\",\"8443\":\"de65e2a75bd1193f\",\"8467\":\"1cade2ad8c4fc9ea\",\"8488\":\"2bc4e01d9544766e\",\"8513\":\"617bf359ae892014\",\"8538\":\"708a79be94deb0d6\",\"8592\":\"d501fa65ebd77cd6\",\"8596\":\"6646ca7640e1d7e1\",\"8608\":\"b26895fdf516017a\",\"8711\":\"87826b664b7e25ce\",\"8746\":\"3969f1073f5b9dd8\",\"8750\":\"d27dfe1204dee74b\",\"8782\":\"0020aeddc828f58c\",\"8972\":\"6ca76837d34e158a\",\"9031\":\"e6e4824d40477a60\",\"9064\":\"765de6514714fbe7\",\"9101\":\"b0542315455d3ec9\",\"9490\":\"903fa36ff6f1a62c\",\"9542\":\"652f275cf72dc68f\",\"9880\":\"b05c53460a3f6d9c\"}[chunkId] + \".js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = (chunkId) => {\n\t// return url for filenames based on template\n\treturn undefined;\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","var inProgress = {};\nvar dataWebpackPrefix = \"spear:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = (url, done, key, chunkId) => {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\t\tscript.type = \"module\";\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\t\tscript.src = __webpack_require__.tu(url);\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = (prev, event) => {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach((fn) => (fn(event)));\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.S = {};\nvar initPromises = {};\nvar initTokens = {};\n__webpack_require__.I = (name, initScope) => {\n\tif(!initScope) initScope = [];\n\t// handling circular init calls\n\tvar initToken = initTokens[name];\n\tif(!initToken) initToken = initTokens[name] = {};\n\tif(initScope.indexOf(initToken) >= 0) return;\n\tinitScope.push(initToken);\n\t// only runs once\n\tif(initPromises[name]) return initPromises[name];\n\t// creates a new share scope if needed\n\tif(!__webpack_require__.o(__webpack_require__.S, name)) __webpack_require__.S[name] = {};\n\t// runs all init snippets from all modules reachable\n\tvar scope = __webpack_require__.S[name];\n\tvar warn = (msg) => (typeof console !== \"undefined\" && console.warn && console.warn(msg));\n\tvar uniqueName = \"spear\";\n\tvar register = (name, version, factory, eager) => {\n\t\tvar versions = scope[name] = scope[name] || {};\n\t\tvar activeVersion = versions[version];\n\t\tif(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };\n\t};\n\tvar initExternal = (id) => {\n\t\tvar handleError = (err) => (warn(\"Initialization of sharing external failed: \" + err));\n\t\ttry {\n\t\t\tvar module = __webpack_require__(id);\n\t\t\tif(!module) return;\n\t\t\tvar initFn = (module) => (module && module.init && module.init(__webpack_require__.S[name], initScope))\n\t\t\tif(module.then) return promises.push(module.then(initFn, handleError));\n\t\t\tvar initResult = initFn(module);\n\t\t\tif(initResult && initResult.then) return promises.push(initResult['catch'](handleError));\n\t\t} catch(err) { handleError(err); }\n\t}\n\tvar promises = [];\n\tswitch(name) {\n\t\tcase \"default\": {\n\t\t\tregister(\"@angular/cdk/a11y\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(3675), __webpack_require__.e(2069), __webpack_require__.e(5321), __webpack_require__.e(5121), __webpack_require__.e(1636), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(46958))))));\n\t\t\tregister(\"@angular/cdk/accordion\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(5333), __webpack_require__.e(1382), __webpack_require__.e(8592), __webpack_require__.e(3022)]).then(() => (() => (__webpack_require__(41760))))));\n\t\t\tregister(\"@angular/cdk/bidi\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(4564))))));\n\t\t\tregister(\"@angular/cdk/coercion\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(8592), __webpack_require__.e(5106)]).then(() => (() => (__webpack_require__(70867))))));\n\t\t\tregister(\"@angular/cdk/collections\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(7888), __webpack_require__.e(8592), __webpack_require__.e(7376)]).then(() => (() => (__webpack_require__(15778))))));\n\t\t\tregister(\"@angular/cdk/dialog\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(2069), __webpack_require__.e(3068), __webpack_require__.e(8142), __webpack_require__.e(3662), __webpack_require__.e(5598), __webpack_require__.e(8592), __webpack_require__.e(5187)]).then(() => (() => (__webpack_require__(65598))))));\n\t\t\tregister(\"@angular/cdk/drag-drop\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(3068), __webpack_require__.e(3168), __webpack_require__.e(2885), __webpack_require__.e(2152), __webpack_require__.e(8158), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(18158))))));\n\t\t\tregister(\"@angular/cdk/keycodes\", \"16.0.1\", () => (__webpack_require__.e(4387).then(() => (() => (__webpack_require__(24387))))));\n\t\t\tregister(\"@angular/cdk/layout\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(5333), __webpack_require__.e(3675), __webpack_require__.e(919), __webpack_require__.e(8592), __webpack_require__.e(4091)]).then(() => (() => (__webpack_require__(40919))))));\n\t\t\tregister(\"@angular/cdk/observers\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(5333), __webpack_require__.e(8538), __webpack_require__.e(8592), __webpack_require__.e(1217)]).then(() => (() => (__webpack_require__(8577))))));\n\t\t\tregister(\"@angular/cdk/overlay\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(3675), __webpack_require__.e(2069), __webpack_require__.e(3068), __webpack_require__.e(8142), __webpack_require__.e(3168), __webpack_require__.e(5544), __webpack_require__.e(8592), __webpack_require__.e(7208)]).then(() => (() => (__webpack_require__(75544))))));\n\t\t\tregister(\"@angular/cdk/platform\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(15712))))));\n\t\t\tregister(\"@angular/cdk/portal\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(2035), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(12035))))));\n\t\t\tregister(\"@angular/cdk/scrolling\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(3675), __webpack_require__.e(3068), __webpack_require__.e(1382), __webpack_require__.e(2885), __webpack_require__.e(2152), __webpack_require__.e(442), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(30442))))));\n\t\t\tregister(\"@angular/cdk/stepper\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(5333), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(2069), __webpack_require__.e(3068), __webpack_require__.e(6215), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(77405))))));\n\t\t\tregister(\"@angular/cdk/table\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(3675), __webpack_require__.e(3068), __webpack_require__.e(1382), __webpack_require__.e(3168), __webpack_require__.e(2124), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(52124))))));\n\t\t\tregister(\"@angular/cdk/text-field\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(3675), __webpack_require__.e(2885), __webpack_require__.e(7131), __webpack_require__.e(8592), __webpack_require__.e(4968)]).then(() => (() => (__webpack_require__(10264))))));\n\t\t\tregister(\"@angular/cdk/tree\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(5333), __webpack_require__.e(3068), __webpack_require__.e(1382), __webpack_require__.e(1041), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(11041))))));\n\t\t\tregister(\"@angular/cdk\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(16346))))));\n\t\t\tregister(\"@angular/common/http\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(3765), __webpack_require__.e(8592), __webpack_require__.e(6785)]).then(() => (() => (__webpack_require__(33765))))));\n\t\t\tregister(\"@angular/common\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(6477), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(86477))))));\n\t\t\tregister(\"@angular/core/rxjs-interop\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(188), __webpack_require__.e(8592), __webpack_require__.e(3183)]).then(() => (() => (__webpack_require__(188))))));\n\t\t\tregister(\"@angular/core\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(8592), __webpack_require__.e(6839)]).then(() => (() => (__webpack_require__(86839))))));\n\t\t\tregister(\"@angular/forms\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(9542), __webpack_require__.e(8592), __webpack_require__.e(4155)]).then(() => (() => (__webpack_require__(69542))))));\n\t\t\tregister(\"@angular/material/autocomplete\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(2069), __webpack_require__.e(3068), __webpack_require__.e(2223), __webpack_require__.e(7405), __webpack_require__.e(8142), __webpack_require__.e(3168), __webpack_require__.e(3662), __webpack_require__.e(2885), __webpack_require__.e(137), __webpack_require__.e(2556), __webpack_require__.e(8592), __webpack_require__.e(1084)]).then(() => (() => (__webpack_require__(42556))))));\n\t\t\tregister(\"@angular/material/badge\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3401), __webpack_require__.e(8592), __webpack_require__.e(6896)]).then(() => (() => (__webpack_require__(82748))))));\n\t\t\tregister(\"@angular/material/bottom-sheet\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(2069), __webpack_require__.e(2223), __webpack_require__.e(8142), __webpack_require__.e(3662), __webpack_require__.e(5121), __webpack_require__.e(9064), __webpack_require__.e(2621), __webpack_require__.e(8592), __webpack_require__.e(5603)]).then(() => (() => (__webpack_require__(95763))))));\n\t\t\tregister(\"@angular/material/button-toggle\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(7405), __webpack_require__.e(1382), __webpack_require__.e(48), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(20048))))));\n\t\t\tregister(\"@angular/material/button\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(3677), __webpack_require__.e(8592), __webpack_require__.e(7920)]).then(() => (() => (__webpack_require__(83677))))));\n\t\t\tregister(\"@angular/material/checkbox\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(3401), __webpack_require__.e(7405), __webpack_require__.e(7672), __webpack_require__.e(8592), __webpack_require__.e(6980)]).then(() => (() => (__webpack_require__(7672))))));\n\t\t\tregister(\"@angular/material/core\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(2069), __webpack_require__.e(3068), __webpack_require__.e(6936), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(443))))));\n\t\t\tregister(\"@angular/material/datepicker\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(2069), __webpack_require__.e(3068), __webpack_require__.e(2223), __webpack_require__.e(7405), __webpack_require__.e(8142), __webpack_require__.e(3168), __webpack_require__.e(3662), __webpack_require__.e(137), __webpack_require__.e(4049), __webpack_require__.e(2666), __webpack_require__.e(6844), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(76844))))));\n\t\t\tregister(\"@angular/material/dialog\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3401), __webpack_require__.e(2069), __webpack_require__.e(2223), __webpack_require__.e(8142), __webpack_require__.e(3662), __webpack_require__.e(9064), __webpack_require__.e(5125), __webpack_require__.e(8592), __webpack_require__.e(5113)]).then(() => (() => (__webpack_require__(67486))))));\n\t\t\tregister(\"@angular/material/divider\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(20445))))));\n\t\t\tregister(\"@angular/material/expansion\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3401), __webpack_require__.e(2069), __webpack_require__.e(2223), __webpack_require__.e(1382), __webpack_require__.e(8142), __webpack_require__.e(5146), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(61884))))));\n\t\t\tregister(\"@angular/material/form-field\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(3068), __webpack_require__.e(2223), __webpack_require__.e(5321), __webpack_require__.e(8750), __webpack_require__.e(8592), __webpack_require__.e(1328)]).then(() => (() => (__webpack_require__(98750))))));\n\t\t\tregister(\"@angular/material/grid-list\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(3068), __webpack_require__.e(3574), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(93574))))));\n\t\t\tregister(\"@angular/material/icon\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(3267), __webpack_require__.e(5019), __webpack_require__.e(4477), __webpack_require__.e(8782), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(69941))))));\n\t\t\tregister(\"@angular/material/input\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(3675), __webpack_require__.e(7405), __webpack_require__.e(137), __webpack_require__.e(1187), __webpack_require__.e(6892), __webpack_require__.e(8592), __webpack_require__.e(5749)]).then(() => (() => (__webpack_require__(4322))))));\n\t\t\tregister(\"@angular/material/legacy-autocomplete\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(6606), __webpack_require__.e(7405), __webpack_require__.e(3168), __webpack_require__.e(3662), __webpack_require__.e(233), __webpack_require__.e(827), __webpack_require__.e(8592), __webpack_require__.e(4309)]).then(() => (() => (__webpack_require__(59356))))));\n\t\t\tregister(\"@angular/material/legacy-button\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3401), __webpack_require__.e(8376), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(78376))))));\n\t\t\tregister(\"@angular/material/legacy-card\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(6606), __webpack_require__.e(3401), __webpack_require__.e(8287), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(28287))))));\n\t\t\tregister(\"@angular/material/legacy-checkbox\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3401), __webpack_require__.e(7405), __webpack_require__.e(5321), __webpack_require__.e(5068), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(85068))))));\n\t\t\tregister(\"@angular/material/legacy-chips\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(2069), __webpack_require__.e(3068), __webpack_require__.e(7405), __webpack_require__.e(1382), __webpack_require__.e(972), __webpack_require__.e(4371), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(4371))))));\n\t\t\tregister(\"@angular/material/legacy-core\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(6606), __webpack_require__.e(8592), __webpack_require__.e(8024)]).then(() => (() => (__webpack_require__(76391))))));\n\t\t\tregister(\"@angular/material/legacy-dialog\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3401), __webpack_require__.e(8142), __webpack_require__.e(3662), __webpack_require__.e(9064), __webpack_require__.e(3433), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(63433))))));\n\t\t\tregister(\"@angular/material/legacy-form-field\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(3068), __webpack_require__.e(5321), __webpack_require__.e(137), __webpack_require__.e(7189), __webpack_require__.e(8592), __webpack_require__.e(8513)]).then(() => (() => (__webpack_require__(47189))))));\n\t\t\tregister(\"@angular/material/legacy-input\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(6606), __webpack_require__.e(972), __webpack_require__.e(2666), __webpack_require__.e(1187), __webpack_require__.e(8592), __webpack_require__.e(5555)]).then(() => (() => (__webpack_require__(20894))))));\n\t\t\tregister(\"@angular/material/legacy-list\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(2069), __webpack_require__.e(7405), __webpack_require__.e(1382), __webpack_require__.e(7040), __webpack_require__.e(7477), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(10974))))));\n\t\t\tregister(\"@angular/material/legacy-menu\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(6606), __webpack_require__.e(3168), __webpack_require__.e(3662), __webpack_require__.e(6235), __webpack_require__.e(8592), __webpack_require__.e(4967)]).then(() => (() => (__webpack_require__(6291))))));\n\t\t\tregister(\"@angular/material/legacy-paginator\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(6606), __webpack_require__.e(972), __webpack_require__.e(233), __webpack_require__.e(2049), __webpack_require__.e(565), __webpack_require__.e(7223), __webpack_require__.e(7018), __webpack_require__.e(8592), __webpack_require__.e(8017)]).then(() => (() => (__webpack_require__(87095))))));\n\t\t\tregister(\"@angular/material/legacy-progress-bar\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(3401), __webpack_require__.e(2545), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(77410))))));\n\t\t\tregister(\"@angular/material/legacy-progress-spinner\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(3168), __webpack_require__.e(8711), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(18711))))));\n\t\t\tregister(\"@angular/material/legacy-radio\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3401), __webpack_require__.e(7405), __webpack_require__.e(1382), __webpack_require__.e(7479), __webpack_require__.e(8592), __webpack_require__.e(8116)]).then(() => (() => (__webpack_require__(15203))))));\n\t\t\tregister(\"@angular/material/legacy-select\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(6606), __webpack_require__.e(2223), __webpack_require__.e(3168), __webpack_require__.e(3662), __webpack_require__.e(972), __webpack_require__.e(233), __webpack_require__.e(5857), __webpack_require__.e(8282), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(13115))))));\n\t\t\tregister(\"@angular/material/legacy-slide-toggle\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3401), __webpack_require__.e(7405), __webpack_require__.e(5321), __webpack_require__.e(3978), __webpack_require__.e(8592), __webpack_require__.e(5873)]).then(() => (() => (__webpack_require__(60783))))));\n\t\t\tregister(\"@angular/material/legacy-slider\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(2069), __webpack_require__.e(3068), __webpack_require__.e(7405), __webpack_require__.e(3103), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(13103))))));\n\t\t\tregister(\"@angular/material/legacy-snack-bar\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(8142), __webpack_require__.e(3662), __webpack_require__.e(5121), __webpack_require__.e(2049), __webpack_require__.e(4149), __webpack_require__.e(8592), __webpack_require__.e(8061)]).then(() => (() => (__webpack_require__(35271))))));\n\t\t\tregister(\"@angular/material/legacy-table\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(6606), __webpack_require__.e(1382), __webpack_require__.e(3730), __webpack_require__.e(4755), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(24755))))));\n\t\t\tregister(\"@angular/material/legacy-tabs\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(3068), __webpack_require__.e(8142), __webpack_require__.e(3168), __webpack_require__.e(5321), __webpack_require__.e(4270), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(80413))))));\n\t\t\tregister(\"@angular/material/legacy-tooltip\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(3068), __webpack_require__.e(2223), __webpack_require__.e(3168), __webpack_require__.e(3662), __webpack_require__.e(5121), __webpack_require__.e(3251), __webpack_require__.e(8592), __webpack_require__.e(4680)]).then(() => (() => (__webpack_require__(39826))))));\n\t\t\tregister(\"@angular/material/list\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(2069), __webpack_require__.e(7405), __webpack_require__.e(1382), __webpack_require__.e(5321), __webpack_require__.e(7040), __webpack_require__.e(6069), __webpack_require__.e(8592), __webpack_require__.e(2112)]).then(() => (() => (__webpack_require__(16069))))));\n\t\t\tregister(\"@angular/material/menu\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(2069), __webpack_require__.e(3068), __webpack_require__.e(2223), __webpack_require__.e(8142), __webpack_require__.e(3168), __webpack_require__.e(3662), __webpack_require__.e(2885), __webpack_require__.e(5007), __webpack_require__.e(8592), __webpack_require__.e(2111)]).then(() => (() => (__webpack_require__(89314))))));\n\t\t\tregister(\"@angular/material/paginator\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(137), __webpack_require__.e(4049), __webpack_require__.e(3251), __webpack_require__.e(5857), __webpack_require__.e(3930), __webpack_require__.e(8592), __webpack_require__.e(3326)]).then(() => (() => (__webpack_require__(86907))))));\n\t\t\tregister(\"@angular/material/progress-bar\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(3401), __webpack_require__.e(6297), __webpack_require__.e(8592), __webpack_require__.e(8596)]).then(() => (() => (__webpack_require__(46297))))));\n\t\t\tregister(\"@angular/material/progress-spinner\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(3401), __webpack_require__.e(8592), __webpack_require__.e(8352)]).then(() => (() => (__webpack_require__(15312))))));\n\t\t\tregister(\"@angular/material/radio\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3401), __webpack_require__.e(7405), __webpack_require__.e(1382), __webpack_require__.e(8046), __webpack_require__.e(8592), __webpack_require__.e(5501)]).then(() => (() => (__webpack_require__(8046))))));\n\t\t\tregister(\"@angular/material/select\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(2069), __webpack_require__.e(3068), __webpack_require__.e(2223), __webpack_require__.e(7405), __webpack_require__.e(1382), __webpack_require__.e(3168), __webpack_require__.e(3662), __webpack_require__.e(137), __webpack_require__.e(6508), __webpack_require__.e(8592), __webpack_require__.e(882)]).then(() => (() => (__webpack_require__(56508))))));\n\t\t\tregister(\"@angular/material/sidenav\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(2069), __webpack_require__.e(3068), __webpack_require__.e(2223), __webpack_require__.e(3168), __webpack_require__.e(9101), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(79101))))));\n\t\t\tregister(\"@angular/material/slide-toggle\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3401), __webpack_require__.e(7405), __webpack_require__.e(4291), __webpack_require__.e(8592), __webpack_require__.e(3098)]).then(() => (() => (__webpack_require__(4291))))));\n\t\t\tregister(\"@angular/material/snack-bar\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(2223), __webpack_require__.e(8142), __webpack_require__.e(3662), __webpack_require__.e(5121), __webpack_require__.e(4049), __webpack_require__.e(5094), __webpack_require__.e(8592), __webpack_require__.e(8467)]).then(() => (() => (__webpack_require__(88511))))));\n\t\t\tregister(\"@angular/material/sort\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(2069), __webpack_require__.e(2223), __webpack_require__.e(1086), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(95096))))));\n\t\t\tregister(\"@angular/material/stepper\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3068), __webpack_require__.e(2223), __webpack_require__.e(8142), __webpack_require__.e(8972), __webpack_require__.e(561), __webpack_require__.e(3308), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(96247))))));\n\t\t\tregister(\"@angular/material/table\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(1382), __webpack_require__.e(3730), __webpack_require__.e(3348), __webpack_require__.e(8592), __webpack_require__.e(6578)]).then(() => (() => (__webpack_require__(83348))))));\n\t\t\tregister(\"@angular/material/tabs\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(2069), __webpack_require__.e(3068), __webpack_require__.e(2223), __webpack_require__.e(8142), __webpack_require__.e(3168), __webpack_require__.e(5321), __webpack_require__.e(2885), __webpack_require__.e(2128), __webpack_require__.e(8592), __webpack_require__.e(4093)]).then(() => (() => (__webpack_require__(12128))))));\n\t\t\tregister(\"@angular/material/toolbar\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(6606), __webpack_require__.e(3675), __webpack_require__.e(8592), __webpack_require__.e(8608)]).then(() => (() => (__webpack_require__(46322))))));\n\t\t\tregister(\"@angular/material/tooltip\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(2069), __webpack_require__.e(3068), __webpack_require__.e(2223), __webpack_require__.e(8142), __webpack_require__.e(3168), __webpack_require__.e(3662), __webpack_require__.e(8746), __webpack_require__.e(8592), __webpack_require__.e(8443)]).then(() => (() => (__webpack_require__(52423))))));\n\t\t\tregister(\"@angular/material/tree\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(1382), __webpack_require__.e(7726), __webpack_require__.e(4640), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(42493))))));\n\t\t\tregister(\"@angular/platform-browser/animations\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(2223), __webpack_require__.e(5019), __webpack_require__.e(9031), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(69031))))));\n\t\t\tregister(\"@angular/platform-browser\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(3267), __webpack_require__.e(2512), __webpack_require__.e(8592), __webpack_require__.e(7328)]).then(() => (() => (__webpack_require__(42512))))));\n\t\t\tregister(\"@angular/router\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5019), __webpack_require__.e(4477), __webpack_require__.e(4843), __webpack_require__.e(8592), __webpack_require__.e(4106)]).then(() => (() => (__webpack_require__(84843))))));\n\t\t\tregister(\"@rollthecloudinc/attributes\", \"16.0.0-alpha.6\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(7405), __webpack_require__.e(972), __webpack_require__.e(3267), __webpack_require__.e(8154), __webpack_require__.e(6073), __webpack_require__.e(5813), __webpack_require__.e(9490), __webpack_require__.e(4589), __webpack_require__.e(8592), __webpack_require__.e(6441)]).then(() => (() => (__webpack_require__(44589))))));\n\t\t\tregister(\"@rollthecloudinc/content\", \"16.0.0-alpha.6\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(8154), __webpack_require__.e(5813), __webpack_require__.e(8488), __webpack_require__.e(8592), __webpack_require__.e(1821)]).then(() => (() => (__webpack_require__(56922))))));\n\t\t\tregister(\"@rollthecloudinc/material\", \"16.0.0-alpha.6\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3068), __webpack_require__.e(8142), __webpack_require__.e(3168), __webpack_require__.e(2049), __webpack_require__.e(7040), __webpack_require__.e(3730), __webpack_require__.e(565), __webpack_require__.e(6073), __webpack_require__.e(8972), __webpack_require__.e(3343), __webpack_require__.e(7223), __webpack_require__.e(7726), __webpack_require__.e(561), __webpack_require__.e(3770), __webpack_require__.e(8592), __webpack_require__.e(9880)]).then(() => (() => (__webpack_require__(73770))))));\n\t\t\tregister(\"@rollthecloudinc/plugin\", \"16.0.0-alpha.6\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(8154), __webpack_require__.e(8592), __webpack_require__.e(6237)]).then(() => (() => (__webpack_require__(56263))))));\n\t\t\tregister(\"@rollthecloudinc/utils\", \"16.0.0-alpha.6\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(3597), __webpack_require__.e(8592), __webpack_require__.e(4902)]).then(() => (() => (__webpack_require__(3597))))));\n\t\t}\n\t\tbreak;\n\t}\n\tif(!promises.length) return initPromises[name] = 1;\n\treturn initPromises[name] = Promise.all(promises).then(() => (initPromises[name] = 1));\n};","var policy;\n__webpack_require__.tt = () => {\n\t// Create Trusted Type policy if Trusted Types are available and the policy doesn't exist yet.\n\tif (policy === undefined) {\n\t\tpolicy = {\n\t\t\tcreateScriptURL: (url) => (url)\n\t\t};\n\t\tif (typeof trustedTypes !== \"undefined\" && trustedTypes.createPolicy) {\n\t\t\tpolicy = trustedTypes.createPolicy(\"angular#bundler\", policy);\n\t\t}\n\t}\n\treturn policy;\n};","__webpack_require__.tu = (url) => (__webpack_require__.tt().createScriptURL(url));","var scriptUrl;\nif (typeof import.meta.url === \"string\") scriptUrl = import.meta.url\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\n// or pass an empty string (\"\") and set the __webpack_public_path__ variable from your code to use your own logic.\nif (!scriptUrl) throw new Error(\"Automatic publicPath is not supported in this browser\");\nscriptUrl = scriptUrl.replace(/#.*$/, \"\").replace(/\\?.*$/, \"\").replace(/\\/[^\\/]+$/, \"/\");\n__webpack_require__.p = scriptUrl;","var parseVersion = (str) => {\n\t// see webpack/lib/util/semver.js for original code\n\tvar p=p=>{return p.split(\".\").map((p=>{return+p==p?+p:p}))},n=/^([^-+]+)?(?:-([^+]+))?(?:\\+(.+))?$/.exec(str),r=n[1]?p(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,p(n[2]))),n[3]&&(r.push([]),r.push.apply(r,p(n[3]))),r;\n}\nvar versionLt = (a, b) => {\n\t// see webpack/lib/util/semver.js for original code\n\ta=parseVersion(a),b=parseVersion(b);for(var r=0;;){if(r>=a.length)return r=b.length)return\"u\"==n;var t=b[r],f=(typeof t)[0];if(n!=f)return\"o\"==n&&\"n\"==f||(\"s\"==f||\"u\"==n);if(\"o\"!=n&&\"u\"!=n&&e!=t)return e {\n\t// see webpack/lib/util/semver.js for original code\n\tvar r=range[0],n=\"\";if(1===range.length)return\"*\";if(r+.5){n+=0==r?\">=\":-1==r?\"<\":1==r?\"^\":2==r?\"~\":r>0?\"=\":\"!=\";for(var e=1,a=1;a0?\".\":\"\")+(e=2,t)}return n}var g=[];for(a=1;a {\n\t// see webpack/lib/util/semver.js for original code\n\tif(0 in range){version=parseVersion(version);var e=range[0],r=e<0;r&&(e=-e-1);for(var n=0,i=1,a=!0;;i++,n++){var f,s,g=i=version.length||\"o\"==(s=(typeof(f=version[n]))[0]))return!a||(\"u\"==g?i>e&&!r:\"\"==g!=r);if(\"u\"==s){if(!a||\"u\"!=g)return!1}else if(a)if(g==s)if(i<=e){if(f!=range[i])return!1}else{if(r?f>range[i]:f {\n\tvar scope = __webpack_require__.S[scopeName];\n\tif(!scope || !__webpack_require__.o(scope, key)) throw new Error(\"Shared module \" + key + \" doesn't exist in shared scope \" + scopeName);\n\treturn scope;\n};\nvar findVersion = (scope, key) => {\n\tvar versions = scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar findSingletonVersionKey = (scope, key) => {\n\tvar versions = scope[key];\n\treturn Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || (!versions[a].loaded && versionLt(a, b)) ? b : a;\n\t}, 0);\n};\nvar getInvalidSingletonVersionMessage = (scope, key, version, requiredVersion) => {\n\treturn \"Unsatisfied version \" + version + \" from \" + (version && scope[key][version].from) + \" of shared singleton module \" + key + \" (required \" + rangeToString(requiredVersion) + \")\"\n};\nvar getSingleton = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\treturn get(scope[key][version]);\n};\nvar getSingletonVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\tif (!satisfy(requiredVersion, version)) warn(getInvalidSingletonVersionMessage(scope, key, version, requiredVersion));\n\treturn get(scope[key][version]);\n};\nvar getStrictSingletonVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\tif (!satisfy(requiredVersion, version)) throw new Error(getInvalidSingletonVersionMessage(scope, key, version, requiredVersion));\n\treturn get(scope[key][version]);\n};\nvar findValidVersion = (scope, key, requiredVersion) => {\n\tvar versions = scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\tif (!satisfy(requiredVersion, b)) return a;\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar getInvalidVersionMessage = (scope, scopeName, key, requiredVersion) => {\n\tvar versions = scope[key];\n\treturn \"No satisfying version (\" + rangeToString(requiredVersion) + \") of shared module \" + key + \" found in shared scope \" + scopeName + \".\\n\" +\n\t\t\"Available versions: \" + Object.keys(versions).map((key) => {\n\t\treturn key + \" from \" + versions[key].from;\n\t}).join(\", \");\n};\nvar getValidVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar entry = findValidVersion(scope, key, requiredVersion);\n\tif(entry) return get(entry);\n\tthrow new Error(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));\n};\nvar warn = (msg) => {\n\tif (typeof console !== \"undefined\" && console.warn) console.warn(msg);\n};\nvar warnInvalidVersion = (scope, scopeName, key, requiredVersion) => {\n\twarn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));\n};\nvar get = (entry) => {\n\tentry.loaded = 1;\n\treturn entry.get()\n};\nvar init = (fn) => (function(scopeName, a, b, c) {\n\tvar promise = __webpack_require__.I(scopeName);\n\tif (promise && promise.then) return promise.then(fn.bind(fn, scopeName, __webpack_require__.S[scopeName], a, b, c));\n\treturn fn(scopeName, __webpack_require__.S[scopeName], a, b, c);\n});\n\nvar load = /*#__PURE__*/ init((scopeName, scope, key) => {\n\tensureExistence(scopeName, key);\n\treturn get(findVersion(scope, key));\n});\nvar loadFallback = /*#__PURE__*/ init((scopeName, scope, key, fallback) => {\n\treturn scope && __webpack_require__.o(scope, key) ? get(findVersion(scope, key)) : fallback();\n});\nvar loadVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));\n});\nvar loadSingleton = /*#__PURE__*/ init((scopeName, scope, key) => {\n\tensureExistence(scopeName, key);\n\treturn getSingleton(scope, scopeName, key);\n});\nvar loadSingletonVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getSingletonVersion(scope, scopeName, key, version);\n});\nvar loadStrictVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getValidVersion(scope, scopeName, key, version);\n});\nvar loadStrictSingletonVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getStrictSingletonVersion(scope, scopeName, key, version);\n});\nvar loadVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));\n});\nvar loadSingletonFallback = /*#__PURE__*/ init((scopeName, scope, key, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getSingleton(scope, scopeName, key);\n});\nvar loadSingletonVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getSingletonVersion(scope, scopeName, key, version);\n});\nvar loadStrictVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tvar entry = scope && __webpack_require__.o(scope, key) && findValidVersion(scope, key, version);\n\treturn entry ? get(entry) : fallback();\n});\nvar loadStrictSingletonVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getStrictSingletonVersion(scope, scopeName, key, version);\n});\nvar installedModules = {};\nvar moduleToHandlerMapping = {\n\t56718: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/core\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(8592), __webpack_require__.e(6839)]).then(() => (() => (__webpack_require__(86839))))))),\n\t94055: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/common\", [1,16,0,1], () => (__webpack_require__.e(6477).then(() => (() => (__webpack_require__(86477))))))),\n\t35333: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/cdk/coercion\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(8592), __webpack_require__.e(1551)]).then(() => (() => (__webpack_require__(70867))))))),\n\t6606: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/core\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(2069), __webpack_require__.e(3068), __webpack_require__.e(6936)]).then(() => (() => (__webpack_require__(443))))))),\n\t33401: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/platform-browser/animations\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(4055), __webpack_require__.e(2223), __webpack_require__.e(5019), __webpack_require__.e(9031)]).then(() => (() => (__webpack_require__(69031))))))),\n\t43068: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/cdk/bidi\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(4055), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(4564))))))),\n\t47405: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/forms\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(9542)]).then(() => (() => (__webpack_require__(69542))))))),\n\t81382: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/cdk/collections\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(7888)]).then(() => (() => (__webpack_require__(15778))))))),\n\t93168: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/cdk/scrolling\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(5333), __webpack_require__.e(3675), __webpack_require__.e(3068), __webpack_require__.e(1382), __webpack_require__.e(2885), __webpack_require__.e(2152), __webpack_require__.e(442)]).then(() => (() => (__webpack_require__(30442))))))),\n\t30972: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-form-field\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(3068), __webpack_require__.e(5321), __webpack_require__.e(137), __webpack_require__.e(7189)]).then(() => (() => (__webpack_require__(47189))))))),\n\t10233: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-core\", [1,16,0,1], () => (__webpack_require__.e(8592).then(() => (() => (__webpack_require__(76391))))))),\n\t3267: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/common/http\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(3765)]).then(() => (() => (__webpack_require__(33765))))))),\n\t15019: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/platform-browser\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(3267), __webpack_require__.e(2512)]).then(() => (() => (__webpack_require__(42512))))))),\n\t72049: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-button\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(908), __webpack_require__.e(3401), __webpack_require__.e(8376)]).then(() => (() => (__webpack_require__(78376))))))),\n\t97040: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/divider\", [1,16,0,1], () => (__webpack_require__.e(8592).then(() => (() => (__webpack_require__(20445))))))),\n\t8154: () => (loadSingletonVersionCheckFallback(\"default\", \"@rollthecloudinc/utils\", [7,16,0,0,,\"alpha\",6], () => (Promise.all([__webpack_require__.e(4055), __webpack_require__.e(3597)]).then(() => (() => (__webpack_require__(3597))))))),\n\t80565: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-select\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(2223), __webpack_require__.e(3168), __webpack_require__.e(3662), __webpack_require__.e(972), __webpack_require__.e(233), __webpack_require__.e(5857), __webpack_require__.e(8282)]).then(() => (() => (__webpack_require__(13115))))))),\n\t26073: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-input\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(6606), __webpack_require__.e(972), __webpack_require__.e(2666), __webpack_require__.e(1187), __webpack_require__.e(8592), __webpack_require__.e(5915)]).then(() => (() => (__webpack_require__(20894))))))),\n\t28972: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/icon\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(5333), __webpack_require__.e(3267), __webpack_require__.e(5019), __webpack_require__.e(4477), __webpack_require__.e(8782)]).then(() => (() => (__webpack_require__(69941))))))),\n\t1621: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/bottom-sheet\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(908), __webpack_require__.e(2069), __webpack_require__.e(2223), __webpack_require__.e(8142), __webpack_require__.e(3662), __webpack_require__.e(5121), __webpack_require__.e(9064), __webpack_require__.e(2621)]).then(() => (() => (__webpack_require__(95763))))))),\n\t4856: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-slide-toggle\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(908), __webpack_require__.e(3401), __webpack_require__.e(7405), __webpack_require__.e(5321), __webpack_require__.e(3978), __webpack_require__.e(8592), __webpack_require__.e(6763)]).then(() => (() => (__webpack_require__(60783))))))),\n\t5311: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-dialog\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(908), __webpack_require__.e(3401), __webpack_require__.e(8142), __webpack_require__.e(3662), __webpack_require__.e(9064), __webpack_require__.e(3433)]).then(() => (() => (__webpack_require__(63433))))))),\n\t9263: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-list\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(908), __webpack_require__.e(2069), __webpack_require__.e(7405), __webpack_require__.e(1382), __webpack_require__.e(7477)]).then(() => (() => (__webpack_require__(10974))))))),\n\t21669: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-table\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(1382), __webpack_require__.e(3730), __webpack_require__.e(4755)]).then(() => (() => (__webpack_require__(24755))))))),\n\t28413: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-tabs\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(8142), __webpack_require__.e(5321), __webpack_require__.e(4270)]).then(() => (() => (__webpack_require__(80413))))))),\n\t38369: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/expansion\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(908), __webpack_require__.e(3401), __webpack_require__.e(2069), __webpack_require__.e(2223), __webpack_require__.e(1382), __webpack_require__.e(8142), __webpack_require__.e(5146)]).then(() => (() => (__webpack_require__(61884))))))),\n\t40810: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/datepicker\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(2069), __webpack_require__.e(2223), __webpack_require__.e(7405), __webpack_require__.e(8142), __webpack_require__.e(3662), __webpack_require__.e(137), __webpack_require__.e(4049), __webpack_require__.e(2666), __webpack_require__.e(6844)]).then(() => (() => (__webpack_require__(76844))))))),\n\t43516: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/sort\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(908), __webpack_require__.e(2069), __webpack_require__.e(2223), __webpack_require__.e(1086)]).then(() => (() => (__webpack_require__(95096))))))),\n\t44039: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-radio\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(908), __webpack_require__.e(3401), __webpack_require__.e(7405), __webpack_require__.e(1382), __webpack_require__.e(7479), __webpack_require__.e(8592), __webpack_require__.e(6748)]).then(() => (() => (__webpack_require__(15203))))))),\n\t51372: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/cdk/drag-drop\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(2885), __webpack_require__.e(2152), __webpack_require__.e(8158)]).then(() => (() => (__webpack_require__(18158))))))),\n\t52090: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-autocomplete\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(7405), __webpack_require__.e(3662), __webpack_require__.e(233), __webpack_require__.e(827), __webpack_require__.e(8592), __webpack_require__.e(5391)]).then(() => (() => (__webpack_require__(59356))))))),\n\t53726: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-checkbox\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(908), __webpack_require__.e(3401), __webpack_require__.e(7405), __webpack_require__.e(5321), __webpack_require__.e(5068)]).then(() => (() => (__webpack_require__(85068))))))),\n\t55198: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/sidenav\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(2069), __webpack_require__.e(2223), __webpack_require__.e(9101)]).then(() => (() => (__webpack_require__(79101))))))),\n\t75376: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-menu\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(3662), __webpack_require__.e(6235), __webpack_require__.e(8592), __webpack_require__.e(3278)]).then(() => (() => (__webpack_require__(6291))))))),\n\t92081: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-slider\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(2069), __webpack_require__.e(7405), __webpack_require__.e(3103)]).then(() => (() => (__webpack_require__(13103))))))),\n\t25813: () => (loadSingletonVersionCheckFallback(\"default\", \"@rollthecloudinc/plugin\", [7,16,0,0,,\"alpha\",6], () => (Promise.all([__webpack_require__.e(8592), __webpack_require__.e(3418)]).then(() => (() => (__webpack_require__(56263))))))),\n\t69490: () => (loadSingletonVersionCheckFallback(\"default\", \"@rollthecloudinc/material\", [7,16,0,0,,\"alpha\",6], () => (Promise.all([__webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3068), __webpack_require__.e(8142), __webpack_require__.e(3168), __webpack_require__.e(2049), __webpack_require__.e(7040), __webpack_require__.e(3730), __webpack_require__.e(565), __webpack_require__.e(8972), __webpack_require__.e(3343), __webpack_require__.e(7223), __webpack_require__.e(7726), __webpack_require__.e(561), __webpack_require__.e(3770)]).then(() => (() => (__webpack_require__(73770))))))),\n\t68488: () => (loadSingletonVersionCheckFallback(\"default\", \"@rollthecloudinc/attributes\", [7,16,0,0,,\"alpha\",6], () => (Promise.all([__webpack_require__.e(7405), __webpack_require__.e(972), __webpack_require__.e(3267), __webpack_require__.e(6073), __webpack_require__.e(9490), __webpack_require__.e(4589)]).then(() => (() => (__webpack_require__(44589))))))),\n\t31348: () => (loadSingletonVersionCheckFallback(\"default\", \"@rollthecloudinc/content\", [7,16,0,0,,\"alpha\",6], () => (__webpack_require__.e(8592).then(() => (() => (__webpack_require__(56922))))))),\n\t39691: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/router\", [1,16,0,1], () => (__webpack_require__.e(4843).then(() => (() => (__webpack_require__(84843))))))),\n\t64610: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/core/rxjs-interop\", [1,16,0,1], () => (__webpack_require__.e(188).then(() => (() => (__webpack_require__(188))))))),\n\t23675: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/cdk/platform\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(4055), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(15712))))))),\n\t52069: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/cdk/keycodes\", [1,16,0,1], () => (__webpack_require__.e(4387).then(() => (() => (__webpack_require__(24387))))))),\n\t75321: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/cdk/observers\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(5333), __webpack_require__.e(8538)]).then(() => (() => (__webpack_require__(8577))))))),\n\t25121: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/cdk/layout\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(5333), __webpack_require__.e(3675), __webpack_require__.e(919)]).then(() => (() => (__webpack_require__(40919))))))),\n\t908: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/cdk/a11y\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(3675), __webpack_require__.e(2069), __webpack_require__.e(5321), __webpack_require__.e(5121), __webpack_require__.e(1636)]).then(() => (() => (__webpack_require__(46958))))))),\n\t18142: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/cdk/portal\", [1,16,0,1], () => (__webpack_require__.e(2035).then(() => (() => (__webpack_require__(12035))))))),\n\t43662: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/cdk/overlay\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(5333), __webpack_require__.e(3675), __webpack_require__.e(2069), __webpack_require__.e(3068), __webpack_require__.e(8142), __webpack_require__.e(3168), __webpack_require__.e(5544)]).then(() => (() => (__webpack_require__(75544))))))),\n\t137: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/form-field\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(3068), __webpack_require__.e(2223), __webpack_require__.e(5321), __webpack_require__.e(8750)]).then(() => (() => (__webpack_require__(98750))))))),\n\t69064: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/cdk/dialog\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(3675), __webpack_require__.e(2069), __webpack_require__.e(3068), __webpack_require__.e(5598)]).then(() => (() => (__webpack_require__(65598))))))),\n\t66298: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/cdk\", [1,16,0,1], () => (__webpack_require__.e(8592).then(() => (() => (__webpack_require__(16346))))))),\n\t64049: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/button\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(5333), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(3677)]).then(() => (() => (__webpack_require__(83677))))))),\n\t32666: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/input\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(5333), __webpack_require__.e(3675), __webpack_require__.e(7405), __webpack_require__.e(137), __webpack_require__.e(1187), __webpack_require__.e(6892)]).then(() => (() => (__webpack_require__(4322))))))),\n\t19759: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/cdk/accordion\", [1,16,0,1], () => (__webpack_require__.e(8592).then(() => (() => (__webpack_require__(41760))))))),\n\t41187: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/cdk/text-field\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(3675), __webpack_require__.e(2885), __webpack_require__.e(7131)]).then(() => (() => (__webpack_require__(10264))))))),\n\t80827: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/autocomplete\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(5333), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(2069), __webpack_require__.e(3068), __webpack_require__.e(2223), __webpack_require__.e(8142), __webpack_require__.e(2885), __webpack_require__.e(137), __webpack_require__.e(2556)]).then(() => (() => (__webpack_require__(42556))))))),\n\t57021: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/checkbox\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(5333), __webpack_require__.e(7672)]).then(() => (() => (__webpack_require__(7672))))))),\n\t21447: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/dialog\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(5333), __webpack_require__.e(2069), __webpack_require__.e(2223), __webpack_require__.e(5125)]).then(() => (() => (__webpack_require__(67486))))))),\n\t90297: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/list\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(5321), __webpack_require__.e(6069)]).then(() => (() => (__webpack_require__(16069))))))),\n\t66235: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/menu\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(5333), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(2069), __webpack_require__.e(3068), __webpack_require__.e(2223), __webpack_require__.e(8142), __webpack_require__.e(2885), __webpack_require__.e(5007)]).then(() => (() => (__webpack_require__(89314))))))),\n\t67223: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-tooltip\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(3068), __webpack_require__.e(2223), __webpack_require__.e(3168), __webpack_require__.e(3662), __webpack_require__.e(5121), __webpack_require__.e(3251), __webpack_require__.e(8592), __webpack_require__.e(4151)]).then(() => (() => (__webpack_require__(39826))))))),\n\t17018: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/paginator\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(5333), __webpack_require__.e(137), __webpack_require__.e(4049), __webpack_require__.e(3251), __webpack_require__.e(5857), __webpack_require__.e(3930)]).then(() => (() => (__webpack_require__(86907))))))),\n\t70137: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/progress-bar\", [1,16,0,1], () => (__webpack_require__.e(6297).then(() => (() => (__webpack_require__(46297))))))),\n\t98745: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/progress-spinner\", [1,16,0,1], () => (__webpack_require__.e(8592).then(() => (() => (__webpack_require__(15312))))))),\n\t27479: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/radio\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(8046)]).then(() => (() => (__webpack_require__(8046))))))),\n\t25857: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/select\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(4987), __webpack_require__.e(5333), __webpack_require__.e(908), __webpack_require__.e(2069), __webpack_require__.e(3068), __webpack_require__.e(2223), __webpack_require__.e(7405), __webpack_require__.e(1382), __webpack_require__.e(3168), __webpack_require__.e(3662), __webpack_require__.e(137), __webpack_require__.e(6508)]).then(() => (() => (__webpack_require__(56508))))))),\n\t13978: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/slide-toggle\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(4291)]).then(() => (() => (__webpack_require__(4291))))))),\n\t4149: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/snack-bar\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(3675), __webpack_require__.e(2223), __webpack_require__.e(4049), __webpack_require__.e(5094)]).then(() => (() => (__webpack_require__(88511))))))),\n\t33730: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/cdk/table\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(3675), __webpack_require__.e(3068), __webpack_require__.e(1382), __webpack_require__.e(3168), __webpack_require__.e(2124)]).then(() => (() => (__webpack_require__(52124))))))),\n\t78954: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/table\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(5333), __webpack_require__.e(3348)]).then(() => (() => (__webpack_require__(83348))))))),\n\t31099: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/tabs\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(4987), __webpack_require__.e(5333), __webpack_require__.e(2069), __webpack_require__.e(2223), __webpack_require__.e(2885), __webpack_require__.e(2128)]).then(() => (() => (__webpack_require__(12128))))))),\n\t63251: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/tooltip\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(5333), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(2069), __webpack_require__.e(3068), __webpack_require__.e(2223), __webpack_require__.e(8142), __webpack_require__.e(3168), __webpack_require__.e(3662), __webpack_require__.e(8746)]).then(() => (() => (__webpack_require__(52423))))))),\n\t70561: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/cdk/stepper\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(5333), __webpack_require__.e(3675), __webpack_require__.e(2069), __webpack_require__.e(6215)]).then(() => (() => (__webpack_require__(77405))))))),\n\t67726: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/cdk/tree\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(3068), __webpack_require__.e(1382), __webpack_require__.e(1041)]).then(() => (() => (__webpack_require__(11041))))))),\n\t3620: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/toolbar\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(3675), __webpack_require__.e(8592), __webpack_require__.e(6618)]).then(() => (() => (__webpack_require__(46322))))))),\n\t7054: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/stepper\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(2223), __webpack_require__.e(3308)]).then(() => (() => (__webpack_require__(96247))))))),\n\t8312: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-snack-bar\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(3662), __webpack_require__.e(5121), __webpack_require__.e(4149), __webpack_require__.e(8592), __webpack_require__.e(8071)]).then(() => (() => (__webpack_require__(35271))))))),\n\t12219: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/grid-list\", [1,16,0,1], () => (__webpack_require__.e(3574).then(() => (() => (__webpack_require__(93574))))))),\n\t15455: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/badge\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(3401), __webpack_require__.e(8592), __webpack_require__.e(5069)]).then(() => (() => (__webpack_require__(82748))))))),\n\t36070: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-progress-spinner\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(8711)]).then(() => (() => (__webpack_require__(18711))))))),\n\t41858: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-paginator\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(972), __webpack_require__.e(233), __webpack_require__.e(7018), __webpack_require__.e(8592), __webpack_require__.e(7432)]).then(() => (() => (__webpack_require__(87095))))))),\n\t53598: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-card\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(3401), __webpack_require__.e(8287)]).then(() => (() => (__webpack_require__(28287))))))),\n\t56388: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-progress-bar\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(3401), __webpack_require__.e(2545)]).then(() => (() => (__webpack_require__(77410))))))),\n\t75101: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/button-toggle\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(7405), __webpack_require__.e(1382), __webpack_require__.e(48)]).then(() => (() => (__webpack_require__(20048))))))),\n\t80584: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-chips\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(2069), __webpack_require__.e(7405), __webpack_require__.e(1382), __webpack_require__.e(972), __webpack_require__.e(4371)]).then(() => (() => (__webpack_require__(4371))))))),\n\t89402: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/tree\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(1382), __webpack_require__.e(4640)]).then(() => (() => (__webpack_require__(42493)))))))\n};\n// no consumes in initial chunks\nvar chunkMapping = {\n\t\"137\": [\n\t\t137\n\t],\n\t\"233\": [\n\t\t10233\n\t],\n\t\"561\": [\n\t\t70561\n\t],\n\t\"565\": [\n\t\t80565\n\t],\n\t\"827\": [\n\t\t80827\n\t],\n\t\"908\": [\n\t\t908\n\t],\n\t\"972\": [\n\t\t30972\n\t],\n\t\"1187\": [\n\t\t41187\n\t],\n\t\"1382\": [\n\t\t81382\n\t],\n\t\"2049\": [\n\t\t72049\n\t],\n\t\"2069\": [\n\t\t52069\n\t],\n\t\"2545\": [\n\t\t70137\n\t],\n\t\"2666\": [\n\t\t32666\n\t],\n\t\"3068\": [\n\t\t43068\n\t],\n\t\"3168\": [\n\t\t93168\n\t],\n\t\"3251\": [\n\t\t63251\n\t],\n\t\"3267\": [\n\t\t3267\n\t],\n\t\"3343\": [\n\t\t1621,\n\t\t4856,\n\t\t5311,\n\t\t9263,\n\t\t21669,\n\t\t28413,\n\t\t38369,\n\t\t40810,\n\t\t43516,\n\t\t44039,\n\t\t51372,\n\t\t52090,\n\t\t53726,\n\t\t55198,\n\t\t75376,\n\t\t92081\n\t],\n\t\"3401\": [\n\t\t33401\n\t],\n\t\"3433\": [\n\t\t21447\n\t],\n\t\"3662\": [\n\t\t43662\n\t],\n\t\"3675\": [\n\t\t23675\n\t],\n\t\"3730\": [\n\t\t33730\n\t],\n\t\"3770\": [\n\t\t3620,\n\t\t7054,\n\t\t8312,\n\t\t12219,\n\t\t15455,\n\t\t36070,\n\t\t41858,\n\t\t53598,\n\t\t56388,\n\t\t75101,\n\t\t80584,\n\t\t89402\n\t],\n\t\"3978\": [\n\t\t13978\n\t],\n\t\"4049\": [\n\t\t64049\n\t],\n\t\"4055\": [\n\t\t94055\n\t],\n\t\"4149\": [\n\t\t4149\n\t],\n\t\"4270\": [\n\t\t31099\n\t],\n\t\"4755\": [\n\t\t78954\n\t],\n\t\"5019\": [\n\t\t15019\n\t],\n\t\"5068\": [\n\t\t57021\n\t],\n\t\"5121\": [\n\t\t25121\n\t],\n\t\"5146\": [\n\t\t19759\n\t],\n\t\"5321\": [\n\t\t75321\n\t],\n\t\"5333\": [\n\t\t35333\n\t],\n\t\"5813\": [\n\t\t25813\n\t],\n\t\"5857\": [\n\t\t25857\n\t],\n\t\"6073\": [\n\t\t26073\n\t],\n\t\"6235\": [\n\t\t66235\n\t],\n\t\"6606\": [\n\t\t6606\n\t],\n\t\"6718\": [\n\t\t56718\n\t],\n\t\"6936\": [\n\t\t66298\n\t],\n\t\"7018\": [\n\t\t17018\n\t],\n\t\"7040\": [\n\t\t97040\n\t],\n\t\"7223\": [\n\t\t67223\n\t],\n\t\"7405\": [\n\t\t47405\n\t],\n\t\"7477\": [\n\t\t90297\n\t],\n\t\"7479\": [\n\t\t27479\n\t],\n\t\"7726\": [\n\t\t67726\n\t],\n\t\"8013\": [\n\t\t31348,\n\t\t39691,\n\t\t64610\n\t],\n\t\"8142\": [\n\t\t18142\n\t],\n\t\"8154\": [\n\t\t8154\n\t],\n\t\"8488\": [\n\t\t68488\n\t],\n\t\"8711\": [\n\t\t98745\n\t],\n\t\"8972\": [\n\t\t28972\n\t],\n\t\"9064\": [\n\t\t69064\n\t],\n\t\"9490\": [\n\t\t69490\n\t]\n};\n__webpack_require__.f.consumes = (chunkId, promises) => {\n\tif(__webpack_require__.o(chunkMapping, chunkId)) {\n\t\tchunkMapping[chunkId].forEach((id) => {\n\t\t\tif(__webpack_require__.o(installedModules, id)) return promises.push(installedModules[id]);\n\t\t\tvar onFactory = (factory) => {\n\t\t\t\tinstalledModules[id] = 0;\n\t\t\t\t__webpack_require__.m[id] = (module) => {\n\t\t\t\t\tdelete __webpack_require__.c[id];\n\t\t\t\t\tmodule.exports = factory();\n\t\t\t\t}\n\t\t\t};\n\t\t\tvar onError = (error) => {\n\t\t\t\tdelete installedModules[id];\n\t\t\t\t__webpack_require__.m[id] = (module) => {\n\t\t\t\t\tdelete __webpack_require__.c[id];\n\t\t\t\t\tthrow error;\n\t\t\t\t}\n\t\t\t};\n\t\t\ttry {\n\t\t\t\tvar promise = moduleToHandlerMapping[id]();\n\t\t\t\tif(promise.then) {\n\t\t\t\t\tpromises.push(installedModules[id] = promise.then(onFactory)['catch'](onError));\n\t\t\t\t} else onFactory(promise);\n\t\t\t} catch(e) { onError(e); }\n\t\t});\n\t}\n}","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t179: 0\n};\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(!/^(1(187|37|382)|2(049|069|33|666)|3((06|16|97)8|251|267|343|401|662|675|730)|4([01]49|055)|5((12|32|6)1|019|333|65|813|857)|6(073|235|606|718)|7(018|040|223|405|479|726)|8(142|154|27|488|972)|9(064|08|490|72))$/.test(chunkId)) {\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n// no on chunks loaded\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkspear\"] = self[\"webpackChunkspear\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// module cache are used so entry inlining is disabled\n// startup\n// Load entry module and return exports\nvar __webpack_exports__ = __webpack_require__(49557);\n"],"x_google_ignoreList":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]} \ No newline at end of file diff --git a/native_forms_rebuild_v1/index.html b/native_forms_rebuild_v1/index.html new file mode 100644 index 0000000..5b18a30 --- /dev/null +++ b/native_forms_rebuild_v1/index.html @@ -0,0 +1,21 @@ + + + Spearhead + + + + + + + + +
0
+ + +
\ No newline at end of file diff --git a/native_forms_rebuild_v1/manage/index.html b/native_forms_rebuild_v1/manage/index.html new file mode 100644 index 0000000..1467129 --- /dev/null +++ b/native_forms_rebuild_v1/manage/index.html @@ -0,0 +1,15 @@ + + + Spearhead + + + + + + + + +
Quell
Form Section
Form Section
+ + +
\ No newline at end of file diff --git a/pages/create-panel-page/index.html b/pages/create-panel-page/index.html new file mode 100644 index 0000000..bb7228e --- /dev/null +++ b/pages/create-panel-page/index.html @@ -0,0 +1,21 @@ + + + Spearhead + + + + + + + + +
Quell
+ + +
\ No newline at end of file diff --git a/polyfills.59541052011d83bd.js b/polyfills.59541052011d83bd.js new file mode 100644 index 0000000..cbc5bb2 --- /dev/null +++ b/polyfills.59541052011d83bd.js @@ -0,0 +1,2 @@ +var __webpack_modules__={41933:(i,j,y)=>{y(64924),window.global=window},64924:(i,j,y)=>{var w=y(28080).default,H=y(24126).default,P=y(45664).default,E=y(16996).default;!function(r){var t=r.performance;function n(R){t&&t.mark&&t.mark(R)}function o(R,Z){t&&t.measure&&t.measure(R,Z)}n("Zone");var s=r.__Zone_symbol_prefix||"__zone_symbol__";function v(R){return s+R}var p=!0===r[v("forceDuplicateZoneCheck")];if(r.Zone){if(p||"function"!=typeof r.Zone.__symbol__)throw new Error("Zone already loaded.");return r.Zone}var Ze,O=function(){var R=function(){function Z(u,e){P(this,Z),this._parent=u,this._name=e?e.name||"unnamed":"",this._properties=e&&e.properties||{},this._zoneDelegate=new G(this,this._parent&&this._parent._zoneDelegate,e)}return E(Z,[{key:"parent",get:function(){return this._parent}},{key:"name",get:function(){return this._name}},{key:"get",value:function(e){var g=this.getZoneWith(e);if(g)return g._properties[e]}},{key:"getZoneWith",value:function(e){for(var g=this;g;){if(g._properties.hasOwnProperty(e))return g;g=g._parent}return null}},{key:"fork",value:function(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}},{key:"wrap",value:function(e,g){if("function"!=typeof e)throw new Error("Expecting function got: "+e);var X=this._zoneDelegate.intercept(this,e,g),K=this;return function(){return K.runGuarded(X,this,arguments,g)}}},{key:"run",value:function(e,g,X,K){de={parent:de,zone:this};try{return this._zoneDelegate.invoke(this,e,g,X,K)}finally{de=de.parent}}},{key:"runGuarded",value:function(e){var g=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,X=arguments.length>2?arguments[2]:void 0,K=arguments.length>3?arguments[3]:void 0;de={parent:de,zone:this};try{try{return this._zoneDelegate.invoke(this,e,g,X,K)}catch(d){if(this._zoneDelegate.handleError(this,d))throw d}}finally{de=de.parent}}},{key:"runTask",value:function(e,g,X){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||S).name+"; Execution: "+this.name+")");if(e.state!==he||e.type!==ee&&e.type!==U){var K=e.state!=se;K&&e._transitionTo(se,fe),e.runCount++;var d=He;He=e,de={parent:de,zone:this};try{e.type==U&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,g,X)}catch(N){if(this._zoneDelegate.handleError(this,N))throw N}}finally{e.state!==he&&e.state!==ke&&(e.type==ee||e.data&&e.data.isPeriodic?K&&e._transitionTo(fe,se):(e.runCount=0,this._updateTaskCount(e,-1),K&&e._transitionTo(he,se,he))),de=de.parent,He=d}}}},{key:"scheduleTask",value:function(e){if(e.zone&&e.zone!==this)for(var g=this;g;){if(g===e.zone)throw Error("can not reschedule task to ".concat(this.name," which is descendants of the original zone ").concat(e.zone.name));g=g.parent}e._transitionTo(Pe,he);var X=[];e._zoneDelegates=X,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(K){throw e._transitionTo(ke,Pe,he),this._zoneDelegate.handleError(this,K),K}return e._zoneDelegates===X&&this._updateTaskCount(e,1),e.state==Pe&&e._transitionTo(fe,Pe),e}},{key:"scheduleMicroTask",value:function(e,g,X,K){return this.scheduleTask(new I(q,e,g,X,K,void 0))}},{key:"scheduleMacroTask",value:function(e,g,X,K,d){return this.scheduleTask(new I(U,e,g,X,K,d))}},{key:"scheduleEventTask",value:function(e,g,X,K,d){return this.scheduleTask(new I(ee,e,g,X,K,d))}},{key:"cancelTask",value:function(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||S).name+"; Execution: "+this.name+")");if(e.state===fe||e.state===se){e._transitionTo(L,fe,se);try{this._zoneDelegate.cancelTask(this,e)}catch(g){throw e._transitionTo(ke,L),this._zoneDelegate.handleError(this,g),g}return this._updateTaskCount(e,-1),e._transitionTo(he,L),e.runCount=0,e}}},{key:"_updateTaskCount",value:function(e,g){var X=e._zoneDelegates;-1==g&&(e._zoneDelegates=null);for(var K=0;K2&&void 0!==arguments[2]&&arguments[2];if(z.hasOwnProperty(e)){if(!X&&p)throw Error("Already loaded patch: "+e)}else if(!r["__Zone_disable_"+e]){var K="Zone:"+e;n(K),z[e]=g(r,Z,ve),o(K,K)}}}]),Z}();return R.__symbol__=v,R}(),V={name:"",onHasTask:function(Z,u,e,g){return Z.hasTask(e,g)},onScheduleTask:function(Z,u,e,g){return Z.scheduleTask(e,g)},onInvokeTask:function(Z,u,e,g,X,K){return Z.invokeTask(e,g,X,K)},onCancelTask:function(Z,u,e,g){return Z.cancelTask(e,g)}},G=function(){function R(Z,u,e){P(this,R),this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=Z,this._parentDelegate=u,this._forkZS=e&&(e&&e.onFork?e:u._forkZS),this._forkDlgt=e&&(e.onFork?u:u._forkDlgt),this._forkCurrZone=e&&(e.onFork?this.zone:u._forkCurrZone),this._interceptZS=e&&(e.onIntercept?e:u._interceptZS),this._interceptDlgt=e&&(e.onIntercept?u:u._interceptDlgt),this._interceptCurrZone=e&&(e.onIntercept?this.zone:u._interceptCurrZone),this._invokeZS=e&&(e.onInvoke?e:u._invokeZS),this._invokeDlgt=e&&(e.onInvoke?u:u._invokeDlgt),this._invokeCurrZone=e&&(e.onInvoke?this.zone:u._invokeCurrZone),this._handleErrorZS=e&&(e.onHandleError?e:u._handleErrorZS),this._handleErrorDlgt=e&&(e.onHandleError?u:u._handleErrorDlgt),this._handleErrorCurrZone=e&&(e.onHandleError?this.zone:u._handleErrorCurrZone),this._scheduleTaskZS=e&&(e.onScheduleTask?e:u._scheduleTaskZS),this._scheduleTaskDlgt=e&&(e.onScheduleTask?u:u._scheduleTaskDlgt),this._scheduleTaskCurrZone=e&&(e.onScheduleTask?this.zone:u._scheduleTaskCurrZone),this._invokeTaskZS=e&&(e.onInvokeTask?e:u._invokeTaskZS),this._invokeTaskDlgt=e&&(e.onInvokeTask?u:u._invokeTaskDlgt),this._invokeTaskCurrZone=e&&(e.onInvokeTask?this.zone:u._invokeTaskCurrZone),this._cancelTaskZS=e&&(e.onCancelTask?e:u._cancelTaskZS),this._cancelTaskDlgt=e&&(e.onCancelTask?u:u._cancelTaskDlgt),this._cancelTaskCurrZone=e&&(e.onCancelTask?this.zone:u._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;var g=e&&e.onHasTask;(g||u&&u._hasTaskZS)&&(this._hasTaskZS=g?e:V,this._hasTaskDlgt=u,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=Z,e.onScheduleTask||(this._scheduleTaskZS=V,this._scheduleTaskDlgt=u,this._scheduleTaskCurrZone=this.zone),e.onInvokeTask||(this._invokeTaskZS=V,this._invokeTaskDlgt=u,this._invokeTaskCurrZone=this.zone),e.onCancelTask||(this._cancelTaskZS=V,this._cancelTaskDlgt=u,this._cancelTaskCurrZone=this.zone))}return E(R,[{key:"fork",value:function(u,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,u,e):new O(u,e)}},{key:"intercept",value:function(u,e,g){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,u,e,g):e}},{key:"invoke",value:function(u,e,g,X,K){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,u,e,g,X,K):e.apply(g,X)}},{key:"handleError",value:function(u,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,u,e)}},{key:"scheduleTask",value:function(u,e){var g=e;if(this._scheduleTaskZS)this._hasTaskZS&&g._zoneDelegates.push(this._hasTaskDlgtOwner),(g=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,u,e))||(g=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=q)throw new Error("Task is missing scheduleFn.");ye(e)}return g}},{key:"invokeTask",value:function(u,e,g,X){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,u,e,g,X):e.callback.apply(g,X)}},{key:"cancelTask",value:function(u,e){var g;if(this._cancelTaskZS)g=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,u,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");g=e.cancelFn(e)}return g}},{key:"hasTask",value:function(u,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,u,e)}catch(g){this.handleError(u,g)}}},{key:"_updateTaskCount",value:function(u,e){var g=this._taskCounts,X=g[u],K=g[u]=X+e;if(K<0)throw new Error("More tasks executed then were scheduled.");0!=X&&0!=K||this.hasTask(this.zone,{microTask:g.microTask>0,macroTask:g.macroTask>0,eventTask:g.eventTask>0,change:u})}}]),R}(),I=function(){function R(Z,u,e,g,X,K){if(P(this,R),this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=Z,this.source=u,this.data=g,this.scheduleFn=X,this.cancelFn=K,!e)throw new Error("callback is not defined");this.callback=e;var d=this;this.invoke=Z===ee&&g&&g.useG?R.invokeTask:function(){return R.invokeTask.call(r,d,this,arguments)}}return E(R,[{key:"zone",get:function(){return this._zone}},{key:"state",get:function(){return this._state}},{key:"cancelScheduleRequest",value:function(){this._transitionTo(he,Pe)}},{key:"_transitionTo",value:function(u,e,g){if(this._state!==e&&this._state!==g)throw new Error("".concat(this.type," '").concat(this.source,"': can not transition to '").concat(u,"', expecting state '").concat(e,"'").concat(g?" or '"+g+"'":"",", was '").concat(this._state,"'."));this._state=u,u==he&&(this._zoneDelegates=null)}},{key:"toString",value:function(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}},{key:"toJSON",value:function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}],[{key:"invokeTask",value:function(u,e,g){u||(u=this),Ae++;try{return u.runCount++,u.zone.runTask(u,e,g)}finally{1==Ae&&Te(),Ae--}}}]),R}(),F=v("setTimeout"),W=v("Promise"),Q=v("then"),ie=[],ue=!1;function pe(R){if(Ze||r[W]&&(Ze=r[W].resolve(0)),Ze){var Z=Ze[Q];Z||(Z=Ze.then),Z.call(Ze,R)}else r[F](R,0)}function ye(R){0===Ae&&0===ie.length&&pe(Te),R&&ie.push(R)}function Te(){if(!ue){for(ue=!0;ie.length;){var R=ie;ie=[];for(var Z=0;Z=0;n--)"function"==typeof r[n]&&(r[n]=nr(r[n],t+"_"+n));return r}function cr(r){return!r||!1!==r.writable&&!("function"==typeof r.get&&typeof r.set>"u")}var m=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Ve=!("nw"in we)&&typeof we.process<"u"&&"[object process]"==={}.toString.call(we.process),rr=!Ve&&!m&&!(!er||!Be.HTMLElement),tr=typeof we.process<"u"&&"[object process]"==={}.toString.call(we.process)&&!m&&!(!er||!Be.HTMLElement),f={},h=function(t){if(t=t||we.event){var n=f[t.type];n||(n=f[t.type]=oe("ON_PROPERTY"+t.type));var v,o=this||t.target||we,s=o[n];return rr&&o===Be&&"error"===t.type?!0===(v=s&&s.call(this,t.message,t.filename,t.lineno,t.colno,t.error))&&t.preventDefault():null!=(v=s&&s.apply(this,arguments))&&!v&&t.preventDefault(),v}};function l(r,t,n){var o=C(r,t);if(!o&&n&&C(n,t)&&(o={enumerable:!0,configurable:!0}),o&&o.configurable){var v=oe("on"+t+"patched");if(!r.hasOwnProperty(v)||!r[v]){delete o.writable,delete o.value;var p=o.get,O=o.set,V=t.slice(2),G=f[V];G||(G=f[V]=oe("ON_PROPERTY"+V)),o.set=function(I){var F=this;!F&&r===we&&(F=we),F&&("function"==typeof F[G]&&F.removeEventListener(V,h),O&&O.call(F,null),F[G]=I,"function"==typeof I&&F.addEventListener(V,h,!1))},o.get=function(){var I=this;if(!I&&r===we&&(I=we),!I)return null;var F=I[G];if(F)return F;if(p){var W=p.call(this);if(W)return o.set.call(this,W),"function"==typeof I[dr]&&I.removeAttribute(t),W}return null},a(r,t,o),r[v]=!0}}}function _(r,t,n){if(t)for(var o=0;o=0&&"function"==typeof O[V.cbIdx]?or(V.name,O[V.cbIdx],V,s):v.apply(p,O)}})}function Me(r,t){r[oe("OriginalDelegate")]=t}var xe=!1,We=!1;function qe(){if(xe)return We;xe=!0;try{var r=Be.navigator.userAgent;(-1!==r.indexOf("MSIE ")||-1!==r.indexOf("Trident/")||-1!==r.indexOf("Edge/"))&&(We=!0)}catch{}return We}Zone.__load_patch("ZoneAwarePromise",function(r,t,n){var o=Object.getOwnPropertyDescriptor,s=Object.defineProperty,p=n.symbol,O=[],V=!0===r[p("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],G=p("Promise"),I=p("then"),F="__creationTrace__";n.onUnhandledError=function(d){if(n.showUncaughtError()){var N=d&&d.rejection;N?console.error("Unhandled Promise rejection:",N instanceof Error?N.message:N,"; Zone:",d.zone.name,"; Task:",d.task&&d.task.source,"; Value:",N,N instanceof Error?N.stack:void 0):console.error(d)}},n.microtaskDrainDone=function(){for(var d=function(){var k=O.shift();try{k.zone.runGuarded(function(){throw k.throwOriginal?k.rejection:k})}catch(T){!function Q(d){n.onUnhandledError(d);try{var N=t[W];"function"==typeof N&&N.call(this,d)}catch{}}(T)}};O.length;)d()};var W=p("unhandledPromiseRejectionHandler");function ie(d){return d&&d.then}function ue(d){return d}function Ze(d){return u.reject(d)}var pe=p("state"),ye=p("value"),Te=p("finally"),S=p("parentPromiseValue"),he=p("parentPromiseState"),Pe="Promise.then",fe=null,se=!0,L=!1,ke=0;function q(d,N){return function(k){try{ve(d,N,k)}catch(T){ve(d,!1,T)}}}var U=function(){var N=!1;return function(T){return function(){N||(N=!0,T.apply(null,arguments))}}},ee="Promise resolved with itself",z=p("currentTaskTrace");function ve(d,N,k){var T=U();if(d===k)throw new TypeError(ee);if(d[pe]===fe){var c=null;try{("object"==typeof k||"function"==typeof k)&&(c=k&&k.then)}catch(te){return T(function(){ve(d,!1,te)})(),d}if(N!==L&&k instanceof u&&k.hasOwnProperty(pe)&&k.hasOwnProperty(ye)&&k[pe]!==fe)He(k),ve(d,k[pe],k[ye]);else if(N!==L&&"function"==typeof c)try{c.call(k,T(q(d,N)),T(q(d,!1)))}catch(te){T(function(){ve(d,!1,te)})()}else{d[pe]=N;var M=d[ye];if(d[ye]=k,d[Te]===Te&&N===se&&(d[pe]=d[he],d[ye]=d[S]),N===L&&k instanceof Error){var x=t.currentTask&&t.currentTask.data&&t.currentTask.data[F];x&&s(k,z,{configurable:!0,enumerable:!1,writable:!0,value:x})}for(var A=0;A4&&void 0!==arguments[4]&&arguments[4],te=arguments.length>5&&void 0!==arguments[5]&&arguments[5];return function(){var J=this||r,le=arguments[0];S&&S.transferEventName&&(le=S.transferEventName(le));var ae=arguments[1];if(!ae)return c.apply(this,arguments);if(Ve&&"uncaughtException"===le)return c.apply(this,arguments);var Ee=!1;if("function"!=typeof ae){if(!ae.handleEvent)return c.apply(this,arguments);Ee=!0}if(!Pe||Pe(c,ae,J,arguments)){var Ie=Je&&!!N&&-1!==N.indexOf(le),Oe=function He(T,c){return!Je&&"object"==typeof T&&T?!!T.capture:Je&&c?"boolean"==typeof T?{capture:T,passive:!0}:T?"object"==typeof T&&!1!==T.passive?w(w({},T),{},{passive:!0}):T:{passive:!0}:T}(arguments[2],Ie);if(d)for(var Ne=0;Ne2}).map(function(t){return t.substring(2)})}Zone.__load_patch("util",function(r,t,n){var o=fr(r);n.patchOnProperties=_,n.patchMethod=$,n.bindArguments=ir,n.patchMacroTask=Re;var s=t.__symbol__("BLACK_LISTED_EVENTS"),v=t.__symbol__("UNPATCHED_EVENTS");r[v]&&(r[s]=r[v]),r[s]&&(t[s]=t[v]=r[s]),n.patchEventPrototype=Sr,n.patchEventTarget=wr,n.isIEOrEdge=qe,n.ObjectDefineProperty=a,n.ObjectGetOwnPropertyDescriptor=C,n.ObjectCreate=ne,n.ArraySlice=ce,n.patchClass=D,n.wrapWithCurrentZone=nr,n.filterProperties=pr,n.attachOriginToPatched=Me,n._redefineProperty=Object.defineProperty,n.patchCallbacks=Or,n.getGlobalObjects=function(){return{globalSources:vr,zoneSymbolEventNames:Le,eventNames:o,isBrowser:rr,isMix:tr,isNode:Ve,TRUE_STR:re,FALSE_STR:be,ZONE_SYMBOL_PREFIX:Ke,ADD_EVENT_LISTENER_STR:ge,REMOVE_EVENT_LISTENER_STR:_e}}});var ur=oe("zoneTask");function Qe(r,t,n,o){var s=null,v=null;n+=o;var p={};function O(G){var I=G.data;return I.args[0]=function(){return G.invoke.apply(this,arguments)},I.handleId=s.apply(r,I.args),G}function V(G){return v.call(r,G.data.handleId)}s=$(r,t+=o,function(G){return function(I,F){if("function"==typeof F[0]){var W={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?F[1]||0:void 0,args:F},Q=F[0];F[0]=function(){try{return Q.apply(this,arguments)}finally{W.isPeriodic||("number"==typeof W.handleId?delete p[W.handleId]:W.handleId&&(W.handleId[ur]=null))}};var ie=or(t,F[0],W,O,V);if(!ie)return ie;var ue=ie.data.handleId;return"number"==typeof ue?p[ue]=ie:ue&&(ue[ur]=ie),ue&&ue.ref&&ue.unref&&"function"==typeof ue.ref&&"function"==typeof ue.unref&&(ie.ref=ue.ref.bind(ue),ie.unref=ue.unref.bind(ue)),"number"==typeof ue||ue?ue:ie}return G.apply(r,F)}}),v=$(r,n,function(G){return function(I,F){var Q,W=F[0];"number"==typeof W?Q=p[W]:(Q=W&&W[ur])||(Q=W),Q&&"string"==typeof Q.type?"notScheduled"!==Q.state&&(Q.cancelFn&&Q.data.isPeriodic||0===Q.runCount)&&("number"==typeof W?delete p[W]:W&&(W[ur]=null),Q.zone.cancelTask(Q)):G.apply(r,F)}})}Zone.__load_patch("legacy",function(r){var t=r[Zone.__symbol__("legacyPatch")];t&&t()}),Zone.__load_patch("queueMicrotask",function(r,t,n){n.patchMethod(r,"queueMicrotask",function(o){return function(s,v){t.current.scheduleMicroTask("queueMicrotask",v[0])}})}),Zone.__load_patch("timers",function(r){var t="set",n="clear";Qe(r,t,n,"Timeout"),Qe(r,t,n,"Interval"),Qe(r,t,n,"Immediate")}),Zone.__load_patch("requestAnimationFrame",function(r){Qe(r,"request","cancel","AnimationFrame"),Qe(r,"mozRequest","mozCancel","AnimationFrame"),Qe(r,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",function(r,t){for(var n=["alert","prompt","confirm"],o=0;o0){var Se=U.invoke;U.invoke=function(){for(var R=z[t.__symbol__("loadfalse")],Z=0;Z{i.exports=function j(y,w){(null==w||w>y.length)&&(w=y.length);for(var H=0,P=new Array(w);H{i.exports=function j(y,w){if(!(y instanceof w))throw new TypeError("Cannot call a class as a function")},i.exports.__esModule=!0,i.exports.default=i.exports},16996:(i,j,y)=>{var w=y(7588);function H(E,C){for(var a=0;a{var w=y(46780);i.exports=function H(P,E){var C=typeof Symbol<"u"&&P[Symbol.iterator]||P["@@iterator"];if(!C){if(Array.isArray(P)||(C=w(P))||E&&P&&"number"==typeof P.length){C&&(P=C);var a=0,Y=function(){};return{s:Y,n:function(){return a>=P.length?{done:!0}:{done:!1,value:P[a++]}},e:function(me){throw me},f:Y}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var ge,ne=!0,ce=!1;return{s:function(){C=C.call(P)},n:function(){var me=C.next();return ne=me.done,me},e:function(me){ce=!0,ge=me},f:function(){try{!ne&&null!=C.return&&C.return()}finally{if(ce)throw ge}}}},i.exports.__esModule=!0,i.exports.default=i.exports},9482:(i,j,y)=>{var w=y(7588);i.exports=function H(P,E,C){return(E=w(E))in P?Object.defineProperty(P,E,{value:C,enumerable:!0,configurable:!0,writable:!0}):P[E]=C,P},i.exports.__esModule=!0,i.exports.default=i.exports},28080:(i,j,y)=>{var w=y(9482);function H(E,C){var a=Object.keys(E);if(Object.getOwnPropertySymbols){var Y=Object.getOwnPropertySymbols(E);C&&(Y=Y.filter(function(ne){return Object.getOwnPropertyDescriptor(E,ne).enumerable})),a.push.apply(a,Y)}return a}i.exports=function P(E){for(var C=1;C{var w=y(23881).default;i.exports=function H(P,E){if("object"!==w(P)||null===P)return P;var C=P[Symbol.toPrimitive];if(void 0!==C){var a=C.call(P,E||"default");if("object"!==w(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===E?String:Number)(P)},i.exports.__esModule=!0,i.exports.default=i.exports},7588:(i,j,y)=>{var w=y(23881).default,H=y(86977);i.exports=function P(E){var C=H(E,"string");return"symbol"===w(C)?C:String(C)},i.exports.__esModule=!0,i.exports.default=i.exports},23881:i=>{function j(y){return i.exports=j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(w){return typeof w}:function(w){return w&&"function"==typeof Symbol&&w.constructor===Symbol&&w!==Symbol.prototype?"symbol":typeof w},i.exports.__esModule=!0,i.exports.default=i.exports,j(y)}i.exports=j,i.exports.__esModule=!0,i.exports.default=i.exports},46780:(i,j,y)=>{var w=y(62195);i.exports=function H(P,E){if(P){if("string"==typeof P)return w(P,E);var C=Object.prototype.toString.call(P).slice(8,-1);if("Object"===C&&P.constructor&&(C=P.constructor.name),"Map"===C||"Set"===C)return Array.from(P);if("Arguments"===C||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C))return w(P,E)}},i.exports.__esModule=!0,i.exports.default=i.exports}},__webpack_module_cache__={};function __webpack_require__(i){var j=__webpack_module_cache__[i];if(void 0!==j)return j.exports;var y=__webpack_module_cache__[i]={exports:{}};return __webpack_modules__[i](y,y.exports,__webpack_require__),y.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.c=__webpack_module_cache__,__webpack_require__.n=i=>{var j=i&&i.__esModule?()=>i.default:()=>i;return __webpack_require__.d(j,{a:j}),j},__webpack_require__.d=(i,j)=>{for(var y in j)__webpack_require__.o(j,y)&&!__webpack_require__.o(i,y)&&Object.defineProperty(i,y,{enumerable:!0,get:j[y]})},__webpack_require__.f={},__webpack_require__.e=i=>Promise.all(Object.keys(__webpack_require__.f).reduce((j,y)=>(__webpack_require__.f[y](i,j),j),[])),__webpack_require__.u=i=>(8592===i?"common":i)+"."+{48:"0f562d23dbadf566",137:"b987c9ab9e9e4a0c",188:"72dfea1b62e92384",233:"ea1826a1c9351e0d",442:"5261795959bf57d7",561:"c601034a41b30119",565:"09183695f1ef31a4",827:"8a08b90e69cfc6ba",833:"c8215640c38aad70",882:"8ecea003bd197edb",908:"e1eff4c0a31f52f0",919:"2768e0fb2f87cd5b",972:"03d26bf8663ffa3e",1041:"6a524365de59f24e",1084:"937b47bd2129c294",1086:"170a93fd8be7cc1f",1187:"7473ea01a7222aa1",1217:"bf9e9dcb0130fef7",1328:"cd6b67916d3ed353",1382:"2b2c0dd3f2a838a4",1551:"f681c87a695c9abd",1636:"ea4ce1e9cfbc5c19",1821:"00aad28c06106961",2035:"35946dc8d608ded3",2049:"0447431515fa4c5b",2069:"35e391d82316cce6",2111:"16941bd519497cc4",2112:"a686302e3e9bbb3e",2124:"c33f9c0d968a72a1",2128:"f0a8e700db56fb59",2152:"0b848abf6263c322",2223:"3e7499ae07f58573",2512:"2d65adc8804e95d7",2545:"7524e84597a506c1",2556:"5668598d28607d35",2621:"dda67a0e328267fa",2666:"0b3b18a84c9a4165",2885:"42c5c37545ae029e",3022:"95d4c43ad3f85966",3068:"fdb14802cdd50c1a",3098:"fed4a5b0a9bb1c8c",3103:"6e520a55c0537c2d",3168:"570b5c6538639ea9",3183:"6470ba84849ae4be",3251:"62d10641c6cd5f9b",3267:"affe96b1f59ea518",3278:"adffad0b0fdd8e90",3308:"a528bc6f1b781d52",3326:"34b87cfb31ed8b06",3343:"4f58d58183149088",3348:"1fd3ea46becd71d6",3401:"ea5fb771b3363471",3418:"4255c9649af5eaf7",3433:"2ed7cd20dad71cfc",3574:"2f6c2aa430041f1f",3597:"44455a50ee80dd40",3662:"8535bb5243b8d3f8",3675:"20413566fad33fcb",3677:"926dba811cceb67c",3730:"40d1b3ea8420485e",3765:"f8d330ebbabb456e",3770:"cddf80ea8dff6a2d",3930:"97578bdc08b7bf9d",3978:"c235bec8deefb1a1",4049:"e73741c29f7fad27",4055:"2d37691e77016310",4091:"160c731ad85419e3",4093:"ce05facb30566249",4106:"a45e0bd0c9ab02a5",4149:"4453d755aa4e5562",4151:"72f982a3cc0d5568",4155:"85bf1e2187f8495e",4270:"bbc9bcd142493e25",4291:"be3c5c5ee2f2c383",4309:"8f8441b74a0be6b8",4371:"5ec3b709d6088bf5",4387:"5f60c218e7a7055f",4477:"65c89cff06f625c1",4589:"c0c58fd8d6ae092a",4640:"bf671556de706900",4680:"dca80f0114f257a5",4755:"e219075f665d048b",4843:"9cc79487b7ed3c03",4902:"28ad83213bdec45d",4967:"cd6fdeac93fac987",4968:"4bfd65c5f3d533da",4987:"33138ee02ba4ed0e",5007:"31862526f240da4f",5019:"76f28b374d5a8350",5068:"86ffa29fdc3c2b5b",5069:"53f13d63fe0558cb",5094:"0672665b5e6e8b59",5106:"926c12c126e770c2",5113:"06c4d3be2def5d91",5121:"f3ddb0bcc7eb6aa7",5125:"cb6e8cbbc7ad49a7",5146:"b387d5f410c1016d",5187:"965705915ef13b61",5321:"f9b4523dc3459a45",5333:"eec4438149dc36e1",5391:"8db302d7cdc20831",5501:"ef2c2ee2f2ccecee",5544:"0c122e7d49a65d8b",5555:"29d4358f47cf82e8",5598:"4cbade95a704b244",5603:"e3fb7439c64f9ec3",5749:"3443645c0dda54c3",5813:"3ab5d6dcdf57efc2",5857:"a5f7dcad26bc57ad",5873:"7dbdb8681d2e2ea9",5915:"d27f1fecd9111bee",6069:"47ef4be18c0da5af",6073:"5a87727e622067f7",6215:"10b022de38e29aa9",6235:"1cd1431b91336e1e",6237:"404c096af053e535",6297:"510c28b6eef50735",6441:"1ed54299f1bb8173",6477:"0424bf6b21aa4e25",6508:"9d89448241dbbf53",6578:"1dc26f3f2eb234f6",6606:"294a628bae991e85",6618:"f423d4017883477a",6718:"1ccf2d2f610aaae0",6748:"1496b15b2d5af775",6763:"4771ea4780be6711",6785:"56f0194b8bc6f8fb",6839:"055ca8b6e5386f89",6844:"232b0adce74e1ee4",6892:"725faee0a79d78c4",6896:"bfb8d28f7841fa68",6936:"b38a104e439a2a69",6980:"808708880eb725f8",7018:"192b47f6811f0554",7040:"ecacb27665ca69d6",7131:"1faca00847bd973c",7189:"b143b6038795e493",7208:"0175d6e664789ed5",7223:"4032628e36b2bf87",7328:"3db0b9e4fe1dfa43",7376:"8b32539275c4a110",7405:"ea4cd60f6ceae128",7432:"60cdd2184b9bcbf3",7477:"7a3179a930219ad9",7479:"6008e65aa0e5f337",7672:"d97d46e89fe535ef",7726:"7cc351de4a16ab58",7888:"00f90ea9f58d7341",7920:"20f071c82a068a0e",8017:"fee44725bd625d4f",8024:"8f695f64b9d3a742",8046:"c6105b2ea1127aa5",8061:"45943028350155ea",8071:"a88180266995b878",8116:"dc3b01ebb5427ede",8142:"288fce7344fa2586",8154:"6a69cbd82b63ec24",8158:"797e810298041051",8282:"aaa9267c610b17ec",8287:"3f6959d00e46e8cd",8352:"cb8b08283660350a",8376:"4e03513f7c087c87",8443:"de65e2a75bd1193f",8467:"1cade2ad8c4fc9ea",8488:"2bc4e01d9544766e",8513:"617bf359ae892014",8538:"708a79be94deb0d6",8592:"d501fa65ebd77cd6",8596:"6646ca7640e1d7e1",8608:"b26895fdf516017a",8711:"87826b664b7e25ce",8746:"3969f1073f5b9dd8",8750:"d27dfe1204dee74b",8782:"0020aeddc828f58c",8972:"6ca76837d34e158a",9031:"e6e4824d40477a60",9064:"765de6514714fbe7",9101:"b0542315455d3ec9",9490:"903fa36ff6f1a62c",9542:"652f275cf72dc68f",9880:"b05c53460a3f6d9c"}[i]+".js",__webpack_require__.miniCssF=i=>{},__webpack_require__.o=(i,j)=>Object.prototype.hasOwnProperty.call(i,j),(()=>{var i={},j="spear:";__webpack_require__.l=(y,w,H,P)=>{if(i[y])i[y].push(w);else{var E,C;if(void 0!==H)for(var a=document.getElementsByTagName("script"),Y=0;Y{E.onerror=E.onload=null,clearTimeout(ge);var Ce=i[y];if(delete i[y],E.parentNode&&E.parentNode.removeChild(E),Ce&&Ce.forEach(re=>re(me)),_e)return _e(me)},ge=setTimeout(ce.bind(null,void 0,{type:"timeout",target:E}),12e4);E.onerror=ce.bind(null,E.onerror),E.onload=ce.bind(null,E.onload),C&&document.head.appendChild(E)}}})(),__webpack_require__.r=i=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},(()=>{__webpack_require__.S={};var i={},j={};__webpack_require__.I=(y,w)=>{w||(w=[]);var H=j[y];if(H||(H=j[y]={}),!(w.indexOf(H)>=0)){if(w.push(H),i[y])return i[y];__webpack_require__.o(__webpack_require__.S,y)||(__webpack_require__.S[y]={});var P=__webpack_require__.S[y],C="spear",a=(ce,ge,_e,me)=>{var Ce=P[ce]=P[ce]||{},re=Ce[ge];(!re||!re.loaded&&(!me!=!re.eager?me:C>re.from))&&(Ce[ge]={get:_e,from:C,eager:!!me})},ne=[];return"default"===y&&(a("@angular/cdk/a11y","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(3675),__webpack_require__.e(2069),__webpack_require__.e(5321),__webpack_require__.e(5121),__webpack_require__.e(1636),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(46958))),a("@angular/cdk/accordion","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(5333),__webpack_require__.e(1382),__webpack_require__.e(8592),__webpack_require__.e(3022)]).then(()=>()=>__webpack_require__(41760))),a("@angular/cdk/bidi","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(4564))),a("@angular/cdk/coercion","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(8592),__webpack_require__.e(5106)]).then(()=>()=>__webpack_require__(70867))),a("@angular/cdk/collections","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(7888),__webpack_require__.e(8592),__webpack_require__.e(7376)]).then(()=>()=>__webpack_require__(15778))),a("@angular/cdk/dialog","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(2069),__webpack_require__.e(3068),__webpack_require__.e(8142),__webpack_require__.e(3662),__webpack_require__.e(5598),__webpack_require__.e(8592),__webpack_require__.e(5187)]).then(()=>()=>__webpack_require__(65598))),a("@angular/cdk/drag-drop","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(3068),__webpack_require__.e(3168),__webpack_require__.e(2885),__webpack_require__.e(2152),__webpack_require__.e(8158),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(18158))),a("@angular/cdk/keycodes","16.0.1",()=>__webpack_require__.e(4387).then(()=>()=>__webpack_require__(24387))),a("@angular/cdk/layout","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(5333),__webpack_require__.e(3675),__webpack_require__.e(919),__webpack_require__.e(8592),__webpack_require__.e(4091)]).then(()=>()=>__webpack_require__(40919))),a("@angular/cdk/observers","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(5333),__webpack_require__.e(8538),__webpack_require__.e(8592),__webpack_require__.e(1217)]).then(()=>()=>__webpack_require__(8577))),a("@angular/cdk/overlay","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(3675),__webpack_require__.e(2069),__webpack_require__.e(3068),__webpack_require__.e(8142),__webpack_require__.e(3168),__webpack_require__.e(5544),__webpack_require__.e(8592),__webpack_require__.e(7208)]).then(()=>()=>__webpack_require__(75544))),a("@angular/cdk/platform","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(15712))),a("@angular/cdk/portal","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(2035),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(12035))),a("@angular/cdk/scrolling","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(3675),__webpack_require__.e(3068),__webpack_require__.e(1382),__webpack_require__.e(2885),__webpack_require__.e(2152),__webpack_require__.e(442),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(30442))),a("@angular/cdk/stepper","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(5333),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(2069),__webpack_require__.e(3068),__webpack_require__.e(6215),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(77405))),a("@angular/cdk/table","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(3675),__webpack_require__.e(3068),__webpack_require__.e(1382),__webpack_require__.e(3168),__webpack_require__.e(2124),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(52124))),a("@angular/cdk/text-field","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(3675),__webpack_require__.e(2885),__webpack_require__.e(7131),__webpack_require__.e(8592),__webpack_require__.e(4968)]).then(()=>()=>__webpack_require__(10264))),a("@angular/cdk/tree","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(5333),__webpack_require__.e(3068),__webpack_require__.e(1382),__webpack_require__.e(1041),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(11041))),a("@angular/cdk","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(16346))),a("@angular/common/http","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(3765),__webpack_require__.e(8592),__webpack_require__.e(6785)]).then(()=>()=>__webpack_require__(33765))),a("@angular/common","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(6477),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(86477))),a("@angular/core/rxjs-interop","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(188),__webpack_require__.e(8592),__webpack_require__.e(3183)]).then(()=>()=>__webpack_require__(188))),a("@angular/core","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(8592),__webpack_require__.e(6839)]).then(()=>()=>__webpack_require__(86839))),a("@angular/forms","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(9542),__webpack_require__.e(8592),__webpack_require__.e(4155)]).then(()=>()=>__webpack_require__(69542))),a("@angular/material/autocomplete","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(2069),__webpack_require__.e(3068),__webpack_require__.e(2223),__webpack_require__.e(7405),__webpack_require__.e(8142),__webpack_require__.e(3168),__webpack_require__.e(3662),__webpack_require__.e(2885),__webpack_require__.e(137),__webpack_require__.e(2556),__webpack_require__.e(8592),__webpack_require__.e(1084)]).then(()=>()=>__webpack_require__(42556))),a("@angular/material/badge","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3401),__webpack_require__.e(8592),__webpack_require__.e(6896)]).then(()=>()=>__webpack_require__(82748))),a("@angular/material/bottom-sheet","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(2069),__webpack_require__.e(2223),__webpack_require__.e(8142),__webpack_require__.e(3662),__webpack_require__.e(5121),__webpack_require__.e(9064),__webpack_require__.e(2621),__webpack_require__.e(8592),__webpack_require__.e(5603)]).then(()=>()=>__webpack_require__(95763))),a("@angular/material/button-toggle","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(7405),__webpack_require__.e(1382),__webpack_require__.e(48),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(20048))),a("@angular/material/button","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(3677),__webpack_require__.e(8592),__webpack_require__.e(7920)]).then(()=>()=>__webpack_require__(83677))),a("@angular/material/checkbox","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(3401),__webpack_require__.e(7405),__webpack_require__.e(7672),__webpack_require__.e(8592),__webpack_require__.e(6980)]).then(()=>()=>__webpack_require__(7672))),a("@angular/material/core","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(2069),__webpack_require__.e(3068),__webpack_require__.e(6936),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(443))),a("@angular/material/datepicker","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(2069),__webpack_require__.e(3068),__webpack_require__.e(2223),__webpack_require__.e(7405),__webpack_require__.e(8142),__webpack_require__.e(3168),__webpack_require__.e(3662),__webpack_require__.e(137),__webpack_require__.e(4049),__webpack_require__.e(2666),__webpack_require__.e(6844),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(76844))),a("@angular/material/dialog","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3401),__webpack_require__.e(2069),__webpack_require__.e(2223),__webpack_require__.e(8142),__webpack_require__.e(3662),__webpack_require__.e(9064),__webpack_require__.e(5125),__webpack_require__.e(8592),__webpack_require__.e(5113)]).then(()=>()=>__webpack_require__(67486))),a("@angular/material/divider","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(20445))),a("@angular/material/expansion","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3401),__webpack_require__.e(2069),__webpack_require__.e(2223),__webpack_require__.e(1382),__webpack_require__.e(8142),__webpack_require__.e(5146),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(61884))),a("@angular/material/form-field","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(3068),__webpack_require__.e(2223),__webpack_require__.e(5321),__webpack_require__.e(8750),__webpack_require__.e(8592),__webpack_require__.e(1328)]).then(()=>()=>__webpack_require__(98750))),a("@angular/material/grid-list","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(3068),__webpack_require__.e(3574),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(93574))),a("@angular/material/icon","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(3267),__webpack_require__.e(5019),__webpack_require__.e(4477),__webpack_require__.e(8782),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(69941))),a("@angular/material/input","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(3675),__webpack_require__.e(7405),__webpack_require__.e(137),__webpack_require__.e(1187),__webpack_require__.e(6892),__webpack_require__.e(8592),__webpack_require__.e(5749)]).then(()=>()=>__webpack_require__(4322))),a("@angular/material/legacy-autocomplete","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(6606),__webpack_require__.e(7405),__webpack_require__.e(3168),__webpack_require__.e(3662),__webpack_require__.e(233),__webpack_require__.e(827),__webpack_require__.e(8592),__webpack_require__.e(4309)]).then(()=>()=>__webpack_require__(59356))),a("@angular/material/legacy-button","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3401),__webpack_require__.e(8376),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(78376))),a("@angular/material/legacy-card","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(6606),__webpack_require__.e(3401),__webpack_require__.e(8287),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(28287))),a("@angular/material/legacy-checkbox","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3401),__webpack_require__.e(7405),__webpack_require__.e(5321),__webpack_require__.e(5068),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(85068))),a("@angular/material/legacy-chips","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(2069),__webpack_require__.e(3068),__webpack_require__.e(7405),__webpack_require__.e(1382),__webpack_require__.e(972),__webpack_require__.e(4371),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(4371))),a("@angular/material/legacy-core","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(6606),__webpack_require__.e(8592),__webpack_require__.e(8024)]).then(()=>()=>__webpack_require__(76391))),a("@angular/material/legacy-dialog","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3401),__webpack_require__.e(8142),__webpack_require__.e(3662),__webpack_require__.e(9064),__webpack_require__.e(3433),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(63433))),a("@angular/material/legacy-form-field","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(3068),__webpack_require__.e(5321),__webpack_require__.e(137),__webpack_require__.e(7189),__webpack_require__.e(8592),__webpack_require__.e(8513)]).then(()=>()=>__webpack_require__(47189))),a("@angular/material/legacy-input","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(6606),__webpack_require__.e(972),__webpack_require__.e(2666),__webpack_require__.e(1187),__webpack_require__.e(8592),__webpack_require__.e(5555)]).then(()=>()=>__webpack_require__(20894))),a("@angular/material/legacy-list","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(2069),__webpack_require__.e(7405),__webpack_require__.e(1382),__webpack_require__.e(7040),__webpack_require__.e(7477),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(10974))),a("@angular/material/legacy-menu","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(6606),__webpack_require__.e(3168),__webpack_require__.e(3662),__webpack_require__.e(6235),__webpack_require__.e(8592),__webpack_require__.e(4967)]).then(()=>()=>__webpack_require__(6291))),a("@angular/material/legacy-paginator","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(6606),__webpack_require__.e(972),__webpack_require__.e(233),__webpack_require__.e(2049),__webpack_require__.e(565),__webpack_require__.e(7223),__webpack_require__.e(7018),__webpack_require__.e(8592),__webpack_require__.e(8017)]).then(()=>()=>__webpack_require__(87095))),a("@angular/material/legacy-progress-bar","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(3401),__webpack_require__.e(2545),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(77410))),a("@angular/material/legacy-progress-spinner","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(3168),__webpack_require__.e(8711),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(18711))),a("@angular/material/legacy-radio","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3401),__webpack_require__.e(7405),__webpack_require__.e(1382),__webpack_require__.e(7479),__webpack_require__.e(8592),__webpack_require__.e(8116)]).then(()=>()=>__webpack_require__(15203))),a("@angular/material/legacy-select","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(6606),__webpack_require__.e(2223),__webpack_require__.e(3168),__webpack_require__.e(3662),__webpack_require__.e(972),__webpack_require__.e(233),__webpack_require__.e(5857),__webpack_require__.e(8282),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(13115))),a("@angular/material/legacy-slide-toggle","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3401),__webpack_require__.e(7405),__webpack_require__.e(5321),__webpack_require__.e(3978),__webpack_require__.e(8592),__webpack_require__.e(5873)]).then(()=>()=>__webpack_require__(60783))),a("@angular/material/legacy-slider","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(2069),__webpack_require__.e(3068),__webpack_require__.e(7405),__webpack_require__.e(3103),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(13103))),a("@angular/material/legacy-snack-bar","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(8142),__webpack_require__.e(3662),__webpack_require__.e(5121),__webpack_require__.e(2049),__webpack_require__.e(4149),__webpack_require__.e(8592),__webpack_require__.e(8061)]).then(()=>()=>__webpack_require__(35271))),a("@angular/material/legacy-table","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(6606),__webpack_require__.e(1382),__webpack_require__.e(3730),__webpack_require__.e(4755),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(24755))),a("@angular/material/legacy-tabs","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(3068),__webpack_require__.e(8142),__webpack_require__.e(3168),__webpack_require__.e(5321),__webpack_require__.e(4270),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(80413))),a("@angular/material/legacy-tooltip","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(3068),__webpack_require__.e(2223),__webpack_require__.e(3168),__webpack_require__.e(3662),__webpack_require__.e(5121),__webpack_require__.e(3251),__webpack_require__.e(8592),__webpack_require__.e(4680)]).then(()=>()=>__webpack_require__(39826))),a("@angular/material/list","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(2069),__webpack_require__.e(7405),__webpack_require__.e(1382),__webpack_require__.e(5321),__webpack_require__.e(7040),__webpack_require__.e(6069),__webpack_require__.e(8592),__webpack_require__.e(2112)]).then(()=>()=>__webpack_require__(16069))),a("@angular/material/menu","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(2069),__webpack_require__.e(3068),__webpack_require__.e(2223),__webpack_require__.e(8142),__webpack_require__.e(3168),__webpack_require__.e(3662),__webpack_require__.e(2885),__webpack_require__.e(5007),__webpack_require__.e(8592),__webpack_require__.e(2111)]).then(()=>()=>__webpack_require__(89314))),a("@angular/material/paginator","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(137),__webpack_require__.e(4049),__webpack_require__.e(3251),__webpack_require__.e(5857),__webpack_require__.e(3930),__webpack_require__.e(8592),__webpack_require__.e(3326)]).then(()=>()=>__webpack_require__(86907))),a("@angular/material/progress-bar","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(3401),__webpack_require__.e(6297),__webpack_require__.e(8592),__webpack_require__.e(8596)]).then(()=>()=>__webpack_require__(46297))),a("@angular/material/progress-spinner","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(3401),__webpack_require__.e(8592),__webpack_require__.e(8352)]).then(()=>()=>__webpack_require__(15312))),a("@angular/material/radio","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3401),__webpack_require__.e(7405),__webpack_require__.e(1382),__webpack_require__.e(8046),__webpack_require__.e(8592),__webpack_require__.e(5501)]).then(()=>()=>__webpack_require__(8046))),a("@angular/material/select","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(2069),__webpack_require__.e(3068),__webpack_require__.e(2223),__webpack_require__.e(7405),__webpack_require__.e(1382),__webpack_require__.e(3168),__webpack_require__.e(3662),__webpack_require__.e(137),__webpack_require__.e(6508),__webpack_require__.e(8592),__webpack_require__.e(882)]).then(()=>()=>__webpack_require__(56508))),a("@angular/material/sidenav","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(2069),__webpack_require__.e(3068),__webpack_require__.e(2223),__webpack_require__.e(3168),__webpack_require__.e(9101),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(79101))),a("@angular/material/slide-toggle","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3401),__webpack_require__.e(7405),__webpack_require__.e(4291),__webpack_require__.e(8592),__webpack_require__.e(3098)]).then(()=>()=>__webpack_require__(4291))),a("@angular/material/snack-bar","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(2223),__webpack_require__.e(8142),__webpack_require__.e(3662),__webpack_require__.e(5121),__webpack_require__.e(4049),__webpack_require__.e(5094),__webpack_require__.e(8592),__webpack_require__.e(8467)]).then(()=>()=>__webpack_require__(88511))),a("@angular/material/sort","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(2069),__webpack_require__.e(2223),__webpack_require__.e(1086),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(95096))),a("@angular/material/stepper","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3068),__webpack_require__.e(2223),__webpack_require__.e(8142),__webpack_require__.e(8972),__webpack_require__.e(561),__webpack_require__.e(3308),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(96247))),a("@angular/material/table","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(1382),__webpack_require__.e(3730),__webpack_require__.e(3348),__webpack_require__.e(8592),__webpack_require__.e(6578)]).then(()=>()=>__webpack_require__(83348))),a("@angular/material/tabs","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(2069),__webpack_require__.e(3068),__webpack_require__.e(2223),__webpack_require__.e(8142),__webpack_require__.e(3168),__webpack_require__.e(5321),__webpack_require__.e(2885),__webpack_require__.e(2128),__webpack_require__.e(8592),__webpack_require__.e(4093)]).then(()=>()=>__webpack_require__(12128))),a("@angular/material/toolbar","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(6606),__webpack_require__.e(3675),__webpack_require__.e(8592),__webpack_require__.e(8608)]).then(()=>()=>__webpack_require__(46322))),a("@angular/material/tooltip","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(2069),__webpack_require__.e(3068),__webpack_require__.e(2223),__webpack_require__.e(8142),__webpack_require__.e(3168),__webpack_require__.e(3662),__webpack_require__.e(8746),__webpack_require__.e(8592),__webpack_require__.e(8443)]).then(()=>()=>__webpack_require__(52423))),a("@angular/material/tree","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(1382),__webpack_require__.e(7726),__webpack_require__.e(4640),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(42493))),a("@angular/platform-browser/animations","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(2223),__webpack_require__.e(5019),__webpack_require__.e(9031),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(69031))),a("@angular/platform-browser","16.0.1",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(3267),__webpack_require__.e(2512),__webpack_require__.e(8592),__webpack_require__.e(7328)]).then(()=>()=>__webpack_require__(42512))),a("@angular/router","16.0.1",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5019),__webpack_require__.e(4477),__webpack_require__.e(4843),__webpack_require__.e(8592),__webpack_require__.e(4106)]).then(()=>()=>__webpack_require__(84843))),a("@rollthecloudinc/attributes","16.0.0-alpha.6",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(7405),__webpack_require__.e(972),__webpack_require__.e(3267),__webpack_require__.e(8154),__webpack_require__.e(6073),__webpack_require__.e(5813),__webpack_require__.e(9490),__webpack_require__.e(4589),__webpack_require__.e(8592),__webpack_require__.e(6441)]).then(()=>()=>__webpack_require__(44589))),a("@rollthecloudinc/content","16.0.0-alpha.6",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(8154),__webpack_require__.e(5813),__webpack_require__.e(8488),__webpack_require__.e(8592),__webpack_require__.e(1821)]).then(()=>()=>__webpack_require__(56922))),a("@rollthecloudinc/material","16.0.0-alpha.6",()=>Promise.all([__webpack_require__.e(6718),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3068),__webpack_require__.e(8142),__webpack_require__.e(3168),__webpack_require__.e(2049),__webpack_require__.e(7040),__webpack_require__.e(3730),__webpack_require__.e(565),__webpack_require__.e(6073),__webpack_require__.e(8972),__webpack_require__.e(3343),__webpack_require__.e(7223),__webpack_require__.e(7726),__webpack_require__.e(561),__webpack_require__.e(3770),__webpack_require__.e(8592),__webpack_require__.e(9880)]).then(()=>()=>__webpack_require__(73770))),a("@rollthecloudinc/plugin","16.0.0-alpha.6",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(8154),__webpack_require__.e(8592),__webpack_require__.e(6237)]).then(()=>()=>__webpack_require__(56263))),a("@rollthecloudinc/utils","16.0.0-alpha.6",()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(6718),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(3597),__webpack_require__.e(8592),__webpack_require__.e(4902)]).then(()=>()=>__webpack_require__(3597)))),i[y]=ne.length?Promise.all(ne).then(()=>i[y]=1):1}}})(),(()=>{var i;__webpack_require__.tt=()=>(void 0===i&&(i={createScriptURL:j=>j},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(i=trustedTypes.createPolicy("angular#bundler",i))),i)})(),__webpack_require__.tu=i=>__webpack_require__.tt().createScriptURL(i),(()=>{var i;if("string"==typeof import.meta.url&&(i=import.meta.url),!i)throw new Error("Automatic publicPath is not supported in this browser");i=i.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=i})(),(()=>{var i=f=>{var h=b=>b.split(".").map(D=>+D==D?+D:D),l=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(f),_=l[1]?h(l[1]):[];return l[2]&&(_.length++,_.push.apply(_,h(l[2]))),l[3]&&(_.push([]),_.push.apply(_,h(l[3]))),_},y=f=>{var h=f[0],l="";if(1===f.length)return"*";if(h+.5){l+=0==h?">=":-1==h?"<":1==h?"^":2==h?"~":h>0?"=":"!=";for(var _=1,b=1;b0?".":"")+(_=2,$);return l}var D=[];for(b=1;b{if(0 in f){h=i(h);var l=f[0],_=l<0;_&&(l=-l-1);for(var b=0,D=1,$=!0;;D++,b++){var Re,Me,xe=D=h.length||"o"==(Me=(typeof(Re=h[b]))[0]))return!$||("u"==xe?D>l&&!_:""==xe!=_);if("u"==Me){if(!$||"u"!=xe)return!1}else if($)if(xe==Me)if(D<=l){if(Re!=f[D])return!1}else{if(_?Re>f[D]:Re{var l=f[h];return Object.keys(l).reduce((_,b)=>!_||!l[_].loaded&&((f,h)=>{f=i(f),h=i(h);for(var l=0;;){if(l>=f.length)return l=h.length)return"u"==b;var D=h[l],$=(typeof D)[0];if(b!=$)return"o"==b&&"n"==$||"s"==$||"u"==b;if("o"!=b&&"u"!=b&&_!=D)return _"Unsatisfied version "+l+" from "+(l&&f[h][l].from)+" of shared singleton module "+h+" (required "+y(_)+")",me=f=>{typeof console<"u"&&console.warn&&console.warn(f)},re=f=>(f.loaded=1,f.get()),be=f=>function(h,l,_,b){var D=__webpack_require__.I(h);return D&&D.then?D.then(f.bind(f,h,__webpack_require__.S[h],l,_,b)):f(h,__webpack_require__.S[h],l,_,b)},$e=be((f,h,l,_,b)=>h&&__webpack_require__.o(h,l)?((f,h,l,_)=>{var b=E(f,l);return w(_,b)||me(C(f,l,b,_)),re(f[l][b])})(h,0,l,_):b()),m=be((f,h,l,_,b)=>h&&__webpack_require__.o(h,l)?((f,h,l,_)=>{var b=E(f,l);if(!w(_,b))throw new Error(C(f,l,b,_));return re(f[l][b])})(h,0,l,_):b()),Ve={},rr={56718:()=>m("default","@angular/core",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(8592),__webpack_require__.e(6839)]).then(()=>()=>__webpack_require__(86839))),94055:()=>m("default","@angular/common",[1,16,0,1],()=>__webpack_require__.e(6477).then(()=>()=>__webpack_require__(86477))),35333:()=>m("default","@angular/cdk/coercion",[1,16,0,1],()=>Promise.all([__webpack_require__.e(8592),__webpack_require__.e(1551)]).then(()=>()=>__webpack_require__(70867))),23675:()=>m("default","@angular/cdk/platform",[1,16,0,1],()=>Promise.all([__webpack_require__.e(4055),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(15712))),52069:()=>m("default","@angular/cdk/keycodes",[1,16,0,1],()=>__webpack_require__.e(4387).then(()=>()=>__webpack_require__(24387))),75321:()=>m("default","@angular/cdk/observers",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(5333),__webpack_require__.e(8538)]).then(()=>()=>__webpack_require__(8577))),25121:()=>m("default","@angular/cdk/layout",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(5333),__webpack_require__.e(3675),__webpack_require__.e(919)]).then(()=>()=>__webpack_require__(40919))),81382:()=>m("default","@angular/cdk/collections",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(7888)]).then(()=>()=>__webpack_require__(15778))),908:()=>m("default","@angular/cdk/a11y",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(3675),__webpack_require__.e(2069),__webpack_require__.e(5321),__webpack_require__.e(5121),__webpack_require__.e(1636)]).then(()=>()=>__webpack_require__(46958))),43068:()=>m("default","@angular/cdk/bidi",[1,16,0,1],()=>Promise.all([__webpack_require__.e(4055),__webpack_require__.e(8592)]).then(()=>()=>__webpack_require__(4564))),18142:()=>m("default","@angular/cdk/portal",[1,16,0,1],()=>__webpack_require__.e(2035).then(()=>()=>__webpack_require__(12035))),43662:()=>m("default","@angular/cdk/overlay",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(5333),__webpack_require__.e(3675),__webpack_require__.e(2069),__webpack_require__.e(3068),__webpack_require__.e(8142),__webpack_require__.e(3168),__webpack_require__.e(5544)]).then(()=>()=>__webpack_require__(75544))),93168:()=>m("default","@angular/cdk/scrolling",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(5333),__webpack_require__.e(3675),__webpack_require__.e(3068),__webpack_require__.e(1382),__webpack_require__.e(2885),__webpack_require__.e(2152),__webpack_require__.e(442)]).then(()=>()=>__webpack_require__(30442))),6606:()=>m("default","@angular/material/core",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(2069),__webpack_require__.e(3068),__webpack_require__.e(6936)]).then(()=>()=>__webpack_require__(443))),47405:()=>m("default","@angular/forms",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(9542)]).then(()=>()=>__webpack_require__(69542))),137:()=>m("default","@angular/material/form-field",[1,16,0,1],()=>Promise.all([__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(3068),__webpack_require__.e(2223),__webpack_require__.e(5321),__webpack_require__.e(8750)]).then(()=>()=>__webpack_require__(98750))),33401:()=>m("default","@angular/platform-browser/animations",[1,16,0,1],()=>Promise.all([__webpack_require__.e(4055),__webpack_require__.e(2223),__webpack_require__.e(5019),__webpack_require__.e(9031)]).then(()=>()=>__webpack_require__(69031))),69064:()=>m("default","@angular/cdk/dialog",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(3675),__webpack_require__.e(2069),__webpack_require__.e(3068),__webpack_require__.e(5598)]).then(()=>()=>__webpack_require__(65598))),66298:()=>m("default","@angular/cdk",[1,16,0,1],()=>__webpack_require__.e(8592).then(()=>()=>__webpack_require__(16346))),64049:()=>m("default","@angular/material/button",[1,16,0,1],()=>Promise.all([__webpack_require__.e(5333),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(3677)]).then(()=>()=>__webpack_require__(83677))),32666:()=>m("default","@angular/material/input",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(5333),__webpack_require__.e(3675),__webpack_require__.e(7405),__webpack_require__.e(137),__webpack_require__.e(1187),__webpack_require__.e(6892)]).then(()=>()=>__webpack_require__(4322))),19759:()=>m("default","@angular/cdk/accordion",[1,16,0,1],()=>__webpack_require__.e(8592).then(()=>()=>__webpack_require__(41760))),3267:()=>m("default","@angular/common/http",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(3765)]).then(()=>()=>__webpack_require__(33765))),15019:()=>m("default","@angular/platform-browser",[1,16,0,1],()=>Promise.all([__webpack_require__.e(3267),__webpack_require__.e(2512)]).then(()=>()=>__webpack_require__(42512))),41187:()=>m("default","@angular/cdk/text-field",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(3675),__webpack_require__.e(2885),__webpack_require__.e(7131)]).then(()=>()=>__webpack_require__(10264))),10233:()=>m("default","@angular/material/legacy-core",[1,16,0,1],()=>__webpack_require__.e(8592).then(()=>()=>__webpack_require__(76391))),80827:()=>m("default","@angular/material/autocomplete",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(5333),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(2069),__webpack_require__.e(3068),__webpack_require__.e(2223),__webpack_require__.e(8142),__webpack_require__.e(2885),__webpack_require__.e(137),__webpack_require__.e(2556)]).then(()=>()=>__webpack_require__(42556))),57021:()=>m("default","@angular/material/checkbox",[1,16,0,1],()=>Promise.all([__webpack_require__.e(5333),__webpack_require__.e(7672)]).then(()=>()=>__webpack_require__(7672))),30972:()=>m("default","@angular/material/legacy-form-field",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(3068),__webpack_require__.e(5321),__webpack_require__.e(137),__webpack_require__.e(7189)]).then(()=>()=>__webpack_require__(47189))),21447:()=>m("default","@angular/material/dialog",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(5333),__webpack_require__.e(2069),__webpack_require__.e(2223),__webpack_require__.e(5125)]).then(()=>()=>__webpack_require__(67486))),97040:()=>m("default","@angular/material/divider",[1,16,0,1],()=>__webpack_require__.e(8592).then(()=>()=>__webpack_require__(20445))),90297:()=>m("default","@angular/material/list",[1,16,0,1],()=>Promise.all([__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(5321),__webpack_require__.e(6069)]).then(()=>()=>__webpack_require__(16069))),66235:()=>m("default","@angular/material/menu",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(5333),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(2069),__webpack_require__.e(3068),__webpack_require__.e(2223),__webpack_require__.e(8142),__webpack_require__.e(2885),__webpack_require__.e(5007)]).then(()=>()=>__webpack_require__(89314))),72049:()=>m("default","@angular/material/legacy-button",[1,16,0,1],()=>Promise.all([__webpack_require__.e(908),__webpack_require__.e(3401),__webpack_require__.e(8376)]).then(()=>()=>__webpack_require__(78376))),80565:()=>m("default","@angular/material/legacy-select",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(2223),__webpack_require__.e(3168),__webpack_require__.e(3662),__webpack_require__.e(972),__webpack_require__.e(233),__webpack_require__.e(5857),__webpack_require__.e(8282)]).then(()=>()=>__webpack_require__(13115))),67223:()=>m("default","@angular/material/legacy-tooltip",[1,16,0,1],()=>Promise.all([__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(3068),__webpack_require__.e(2223),__webpack_require__.e(3168),__webpack_require__.e(3662),__webpack_require__.e(5121),__webpack_require__.e(3251),__webpack_require__.e(8592),__webpack_require__.e(4151)]).then(()=>()=>__webpack_require__(39826))),17018:()=>m("default","@angular/material/paginator",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(5333),__webpack_require__.e(137),__webpack_require__.e(4049),__webpack_require__.e(3251),__webpack_require__.e(5857),__webpack_require__.e(3930)]).then(()=>()=>__webpack_require__(86907))),70137:()=>m("default","@angular/material/progress-bar",[1,16,0,1],()=>__webpack_require__.e(6297).then(()=>()=>__webpack_require__(46297))),98745:()=>m("default","@angular/material/progress-spinner",[1,16,0,1],()=>__webpack_require__.e(8592).then(()=>()=>__webpack_require__(15312))),27479:()=>m("default","@angular/material/radio",[1,16,0,1],()=>Promise.all([__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(8046)]).then(()=>()=>__webpack_require__(8046))),25857:()=>m("default","@angular/material/select",[1,16,0,1],()=>Promise.all([__webpack_require__.e(4987),__webpack_require__.e(5333),__webpack_require__.e(908),__webpack_require__.e(2069),__webpack_require__.e(3068),__webpack_require__.e(2223),__webpack_require__.e(7405),__webpack_require__.e(1382),__webpack_require__.e(3168),__webpack_require__.e(3662),__webpack_require__.e(137),__webpack_require__.e(6508)]).then(()=>()=>__webpack_require__(56508))),13978:()=>m("default","@angular/material/slide-toggle",[1,16,0,1],()=>Promise.all([__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(4291)]).then(()=>()=>__webpack_require__(4291))),4149:()=>m("default","@angular/material/snack-bar",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(3675),__webpack_require__.e(2223),__webpack_require__.e(4049),__webpack_require__.e(5094)]).then(()=>()=>__webpack_require__(88511))),33730:()=>m("default","@angular/cdk/table",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(4055),__webpack_require__.e(5333),__webpack_require__.e(3675),__webpack_require__.e(3068),__webpack_require__.e(1382),__webpack_require__.e(3168),__webpack_require__.e(2124)]).then(()=>()=>__webpack_require__(52124))),78954:()=>m("default","@angular/material/table",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(5333),__webpack_require__.e(3348)]).then(()=>()=>__webpack_require__(83348))),31099:()=>m("default","@angular/material/tabs",[1,16,0,1],()=>Promise.all([__webpack_require__.e(4987),__webpack_require__.e(5333),__webpack_require__.e(2069),__webpack_require__.e(2223),__webpack_require__.e(2885),__webpack_require__.e(2128)]).then(()=>()=>__webpack_require__(12128))),63251:()=>m("default","@angular/material/tooltip",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(5333),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(2069),__webpack_require__.e(3068),__webpack_require__.e(2223),__webpack_require__.e(8142),__webpack_require__.e(3168),__webpack_require__.e(3662),__webpack_require__.e(8746)]).then(()=>()=>__webpack_require__(52423))),28972:()=>m("default","@angular/material/icon",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(5333),__webpack_require__.e(3267),__webpack_require__.e(5019),__webpack_require__.e(4477),__webpack_require__.e(8782)]).then(()=>()=>__webpack_require__(69941))),70561:()=>m("default","@angular/cdk/stepper",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(5333),__webpack_require__.e(3675),__webpack_require__.e(2069),__webpack_require__.e(6215)]).then(()=>()=>__webpack_require__(77405))),67726:()=>m("default","@angular/cdk/tree",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(3068),__webpack_require__.e(1382),__webpack_require__.e(1041)]).then(()=>()=>__webpack_require__(11041))),8154:()=>$e("default","@rollthecloudinc/utils",[7,16,0,0,,"alpha",6],()=>Promise.all([__webpack_require__.e(4055),__webpack_require__.e(3597)]).then(()=>()=>__webpack_require__(3597))),26073:()=>m("default","@angular/material/legacy-input",[1,16,0,1],()=>Promise.all([__webpack_require__.e(6606),__webpack_require__.e(972),__webpack_require__.e(2666),__webpack_require__.e(1187),__webpack_require__.e(8592),__webpack_require__.e(5915)]).then(()=>()=>__webpack_require__(20894))),25813:()=>$e("default","@rollthecloudinc/plugin",[7,16,0,0,,"alpha",6],()=>Promise.all([__webpack_require__.e(8592),__webpack_require__.e(3418)]).then(()=>()=>__webpack_require__(56263))),69490:()=>$e("default","@rollthecloudinc/material",[7,16,0,0,,"alpha",6],()=>Promise.all([__webpack_require__.e(5333),__webpack_require__.e(6606),__webpack_require__.e(908),__webpack_require__.e(3068),__webpack_require__.e(8142),__webpack_require__.e(3168),__webpack_require__.e(2049),__webpack_require__.e(7040),__webpack_require__.e(3730),__webpack_require__.e(565),__webpack_require__.e(8972),__webpack_require__.e(3343),__webpack_require__.e(7223),__webpack_require__.e(7726),__webpack_require__.e(561),__webpack_require__.e(3770)]).then(()=>()=>__webpack_require__(73770))),68488:()=>$e("default","@rollthecloudinc/attributes",[7,16,0,0,,"alpha",6],()=>Promise.all([__webpack_require__.e(7405),__webpack_require__.e(972),__webpack_require__.e(3267),__webpack_require__.e(6073),__webpack_require__.e(9490),__webpack_require__.e(4589)]).then(()=>()=>__webpack_require__(44589))),51372:()=>m("default","@angular/cdk/drag-drop",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(2885),__webpack_require__.e(2152),__webpack_require__.e(8158)]).then(()=>()=>__webpack_require__(18158))),1621:()=>m("default","@angular/material/bottom-sheet",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(908),__webpack_require__.e(2069),__webpack_require__.e(2223),__webpack_require__.e(8142),__webpack_require__.e(3662),__webpack_require__.e(5121),__webpack_require__.e(9064),__webpack_require__.e(2621)]).then(()=>()=>__webpack_require__(95763))),40810:()=>m("default","@angular/material/datepicker",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(2069),__webpack_require__.e(2223),__webpack_require__.e(7405),__webpack_require__.e(8142),__webpack_require__.e(3662),__webpack_require__.e(137),__webpack_require__.e(4049),__webpack_require__.e(2666),__webpack_require__.e(6844)]).then(()=>()=>__webpack_require__(76844))),38369:()=>m("default","@angular/material/expansion",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(908),__webpack_require__.e(3401),__webpack_require__.e(2069),__webpack_require__.e(2223),__webpack_require__.e(1382),__webpack_require__.e(8142),__webpack_require__.e(5146)]).then(()=>()=>__webpack_require__(61884))),52090:()=>m("default","@angular/material/legacy-autocomplete",[1,16,0,1],()=>Promise.all([__webpack_require__.e(7405),__webpack_require__.e(3662),__webpack_require__.e(233),__webpack_require__.e(827),__webpack_require__.e(8592),__webpack_require__.e(5391)]).then(()=>()=>__webpack_require__(59356))),53726:()=>m("default","@angular/material/legacy-checkbox",[1,16,0,1],()=>Promise.all([__webpack_require__.e(908),__webpack_require__.e(3401),__webpack_require__.e(7405),__webpack_require__.e(5321),__webpack_require__.e(5068)]).then(()=>()=>__webpack_require__(85068))),5311:()=>m("default","@angular/material/legacy-dialog",[1,16,0,1],()=>Promise.all([__webpack_require__.e(908),__webpack_require__.e(3401),__webpack_require__.e(8142),__webpack_require__.e(3662),__webpack_require__.e(9064),__webpack_require__.e(3433)]).then(()=>()=>__webpack_require__(63433))),9263:()=>m("default","@angular/material/legacy-list",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(908),__webpack_require__.e(2069),__webpack_require__.e(7405),__webpack_require__.e(1382),__webpack_require__.e(7477)]).then(()=>()=>__webpack_require__(10974))),75376:()=>m("default","@angular/material/legacy-menu",[1,16,0,1],()=>Promise.all([__webpack_require__.e(3662),__webpack_require__.e(6235),__webpack_require__.e(8592),__webpack_require__.e(3278)]).then(()=>()=>__webpack_require__(6291))),44039:()=>m("default","@angular/material/legacy-radio",[1,16,0,1],()=>Promise.all([__webpack_require__.e(908),__webpack_require__.e(3401),__webpack_require__.e(7405),__webpack_require__.e(1382),__webpack_require__.e(7479),__webpack_require__.e(8592),__webpack_require__.e(6748)]).then(()=>()=>__webpack_require__(15203))),4856:()=>m("default","@angular/material/legacy-slide-toggle",[1,16,0,1],()=>Promise.all([__webpack_require__.e(908),__webpack_require__.e(3401),__webpack_require__.e(7405),__webpack_require__.e(5321),__webpack_require__.e(3978),__webpack_require__.e(8592),__webpack_require__.e(6763)]).then(()=>()=>__webpack_require__(60783))),92081:()=>m("default","@angular/material/legacy-slider",[1,16,0,1],()=>Promise.all([__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(2069),__webpack_require__.e(7405),__webpack_require__.e(3103)]).then(()=>()=>__webpack_require__(13103))),21669:()=>m("default","@angular/material/legacy-table",[1,16,0,1],()=>Promise.all([__webpack_require__.e(1382),__webpack_require__.e(3730),__webpack_require__.e(4755)]).then(()=>()=>__webpack_require__(24755))),28413:()=>m("default","@angular/material/legacy-tabs",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(8142),__webpack_require__.e(5321),__webpack_require__.e(4270)]).then(()=>()=>__webpack_require__(80413))),55198:()=>m("default","@angular/material/sidenav",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(908),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(2069),__webpack_require__.e(2223),__webpack_require__.e(9101)]).then(()=>()=>__webpack_require__(79101))),43516:()=>m("default","@angular/material/sort",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(908),__webpack_require__.e(2069),__webpack_require__.e(2223),__webpack_require__.e(1086)]).then(()=>()=>__webpack_require__(95096))),3620:()=>m("default","@angular/material/toolbar",[1,16,0,1],()=>Promise.all([__webpack_require__.e(3675),__webpack_require__.e(8592),__webpack_require__.e(6618)]).then(()=>()=>__webpack_require__(46322))),7054:()=>m("default","@angular/material/stepper",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(2223),__webpack_require__.e(3308)]).then(()=>()=>__webpack_require__(96247))),8312:()=>m("default","@angular/material/legacy-snack-bar",[1,16,0,1],()=>Promise.all([__webpack_require__.e(3662),__webpack_require__.e(5121),__webpack_require__.e(4149),__webpack_require__.e(8592),__webpack_require__.e(8071)]).then(()=>()=>__webpack_require__(35271))),12219:()=>m("default","@angular/material/grid-list",[1,16,0,1],()=>__webpack_require__.e(3574).then(()=>()=>__webpack_require__(93574))),15455:()=>m("default","@angular/material/badge",[1,16,0,1],()=>Promise.all([__webpack_require__.e(3401),__webpack_require__.e(8592),__webpack_require__.e(5069)]).then(()=>()=>__webpack_require__(82748))),36070:()=>m("default","@angular/material/legacy-progress-spinner",[1,16,0,1],()=>Promise.all([__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(8711)]).then(()=>()=>__webpack_require__(18711))),41858:()=>m("default","@angular/material/legacy-paginator",[1,16,0,1],()=>Promise.all([__webpack_require__.e(972),__webpack_require__.e(233),__webpack_require__.e(7018),__webpack_require__.e(8592),__webpack_require__.e(7432)]).then(()=>()=>__webpack_require__(87095))),53598:()=>m("default","@angular/material/legacy-card",[1,16,0,1],()=>Promise.all([__webpack_require__.e(3401),__webpack_require__.e(8287)]).then(()=>()=>__webpack_require__(28287))),56388:()=>m("default","@angular/material/legacy-progress-bar",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(3401),__webpack_require__.e(2545)]).then(()=>()=>__webpack_require__(77410))),75101:()=>m("default","@angular/material/button-toggle",[1,16,0,1],()=>Promise.all([__webpack_require__.e(7405),__webpack_require__.e(1382),__webpack_require__.e(48)]).then(()=>()=>__webpack_require__(20048))),80584:()=>m("default","@angular/material/legacy-chips",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(3675),__webpack_require__.e(3401),__webpack_require__.e(2069),__webpack_require__.e(7405),__webpack_require__.e(1382),__webpack_require__.e(972),__webpack_require__.e(4371)]).then(()=>()=>__webpack_require__(4371))),89402:()=>m("default","@angular/material/tree",[1,16,0,1],()=>Promise.all([__webpack_require__.e(833),__webpack_require__.e(4987),__webpack_require__.e(1382),__webpack_require__.e(4640)]).then(()=>()=>__webpack_require__(42493)))},tr={137:[137],233:[10233],561:[70561],565:[80565],827:[80827],908:[908],972:[30972],1187:[41187],1382:[81382],2049:[72049],2069:[52069],2545:[70137],2666:[32666],3068:[43068],3168:[93168],3251:[63251],3267:[3267],3343:[51372,1621,40810,38369,52090,53726,5311,9263,75376,44039,4856,92081,21669,28413,55198,43516],3401:[33401],3433:[21447],3662:[43662],3675:[23675],3730:[33730],3770:[3620,7054,8312,12219,15455,36070,41858,53598,56388,75101,80584,89402],3978:[13978],4049:[64049],4055:[94055],4149:[4149],4270:[31099],4755:[78954],5019:[15019],5068:[57021],5121:[25121],5146:[19759],5321:[75321],5333:[35333],5813:[25813],5857:[25857],6073:[26073],6235:[66235],6606:[6606],6718:[56718],6936:[66298],7018:[17018],7040:[97040],7223:[67223],7405:[47405],7477:[90297],7479:[27479],7726:[67726],8142:[18142],8154:[8154],8488:[68488],8711:[98745],8972:[28972],9064:[69064],9490:[69490]};__webpack_require__.f.consumes=(f,h)=>{__webpack_require__.o(tr,f)&&tr[f].forEach(l=>{if(__webpack_require__.o(Ve,l))return h.push(Ve[l]);var _=$=>{Ve[l]=0,__webpack_require__.m[l]=Re=>{delete __webpack_require__.c[l],Re.exports=$()}},b=$=>{delete Ve[l],__webpack_require__.m[l]=Re=>{throw delete __webpack_require__.c[l],$}};try{var D=rr[l]();D.then?h.push(Ve[l]=D.then(_).catch(b)):_(D)}catch($){b($)}})}})(),(()=>{var i={6429:0};__webpack_require__.f.j=(w,H)=>{var P=__webpack_require__.o(i,w)?i[w]:void 0;if(0!==P)if(P)H.push(P[2]);else if(/^(1(187|37|382)|2(049|069|33|666)|3((06|16|97)8|251|267|343|401|662|675|730)|4([01]49|055)|5((12|32|6)1|019|333|65|813|857)|6(073|235|606|718)|7(018|040|223|405|479|726)|8(142|154|27|488|972)|9(064|08|490|72))$/.test(w))i[w]=0;else{var E=new Promise((ne,ce)=>P=i[w]=[ne,ce]);H.push(P[2]=E);var C=__webpack_require__.p+__webpack_require__.u(w),a=new Error;__webpack_require__.l(C,ne=>{if(__webpack_require__.o(i,w)&&(0!==(P=i[w])&&(i[w]=void 0),P)){var ce=ne&&("load"===ne.type?"missing":ne.type),ge=ne&&ne.target&&ne.target.src;a.message="Loading chunk "+w+" failed.\n("+ce+": "+ge+")",a.name="ChunkLoadError",a.type=ce,a.request=ge,P[1](a)}},"chunk-"+w,w)}};var j=(w,H)=>{var a,Y,[P,E,C]=H,ne=0;if(P.some(ge=>0!==i[ge])){for(a in E)__webpack_require__.o(E,a)&&(__webpack_require__.m[a]=E[a]);C&&C(__webpack_require__)}for(w&&w(H);ne= 10, Chrome >= 55 (including Opera),\n * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.\n *\n * Learn more in https://angular.io/guide/browser-support\n */\n\n/***************************************************************************************************\n * BROWSER POLYFILLS\n */\n\n/**\n * By default, zone.js will patch all possible macroTask and DomEvents\n * user can disable parts of macroTask/DomEvents patch by setting following flags\n * because those flags need to be set before `zone.js` being loaded, and webpack\n * will put import in the top of bundle, so user need to create a separate file\n * in this directory (for example: zone-flags.ts), and put the following flags\n * into that file, and then add the following code before importing zone.js.\n * import './zone-flags';\n *\n * The flags allowed in zone-flags.ts are listed here.\n *\n * The following flags will work for all browsers.\n *\n * (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame\n * (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick\n * (window as any).__zone_symbol__UNPATCHED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames\n *\n * in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js\n * with the following flag, it will bypass `zone.js` patch for IE/Edge\n *\n * (window as any).__Zone_enable_cross_context_check = true;\n *\n */\n\n/***************************************************************************************************\n * Zone JS is required by default for Angular itself.\n */\nimport 'zone.js'; // Included with Angular CLI.\n\n\n/***************************************************************************************************\n * APPLICATION IMPORTS\n */\n\n // This is required to use bson library since it is depdendent on nodejs lib that uses global.\n(window as any).global = window;\n//(window as any).global.Buffer = (window as any).global.Buffer || require('buffer').Buffer;\n","'use strict';\n/**\n * @license Angular v\n * (c) 2010-2022 Google LLC. https://angular.io/\n * License: MIT\n */\n((function (global) {\n const performance = global['performance'];\n function mark(name) {\n performance && performance['mark'] && performance['mark'](name);\n }\n function performanceMeasure(name, label) {\n performance && performance['measure'] && performance['measure'](name, label);\n }\n mark('Zone');\n // Initialize before it's accessed below.\n // __Zone_symbol_prefix global can be used to override the default zone\n // symbol prefix with a custom one if needed.\n const symbolPrefix = global['__Zone_symbol_prefix'] || '__zone_symbol__';\n function __symbol__(name) {\n return symbolPrefix + name;\n }\n const checkDuplicate = global[__symbol__('forceDuplicateZoneCheck')] === true;\n if (global['Zone']) {\n // if global['Zone'] already exists (maybe zone.js was already loaded or\n // some other lib also registered a global object named Zone), we may need\n // to throw an error, but sometimes user may not want this error.\n // For example,\n // we have two web pages, page1 includes zone.js, page2 doesn't.\n // and the 1st time user load page1 and page2, everything work fine,\n // but when user load page2 again, error occurs because global['Zone'] already exists.\n // so we add a flag to let user choose whether to throw this error or not.\n // By default, if existing Zone is from zone.js, we will not throw the error.\n if (checkDuplicate || typeof global['Zone'].__symbol__ !== 'function') {\n throw new Error('Zone already loaded.');\n }\n else {\n return global['Zone'];\n }\n }\n class Zone {\n static assertZonePatched() {\n if (global['Promise'] !== patches['ZoneAwarePromise']) {\n throw new Error('Zone.js has detected that ZoneAwarePromise `(window|global).Promise` ' +\n 'has been overwritten.\\n' +\n 'Most likely cause is that a Promise polyfill has been loaded ' +\n 'after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. ' +\n 'If you must load one, do so before loading zone.js.)');\n }\n }\n static get root() {\n let zone = Zone.current;\n while (zone.parent) {\n zone = zone.parent;\n }\n return zone;\n }\n static get current() {\n return _currentZoneFrame.zone;\n }\n static get currentTask() {\n return _currentTask;\n }\n // tslint:disable-next-line:require-internal-with-underscore\n static __load_patch(name, fn, ignoreDuplicate = false) {\n if (patches.hasOwnProperty(name)) {\n // `checkDuplicate` option is defined from global variable\n // so it works for all modules.\n // `ignoreDuplicate` can work for the specified module\n if (!ignoreDuplicate && checkDuplicate) {\n throw Error('Already loaded patch: ' + name);\n }\n }\n else if (!global['__Zone_disable_' + name]) {\n const perfName = 'Zone:' + name;\n mark(perfName);\n patches[name] = fn(global, Zone, _api);\n performanceMeasure(perfName, perfName);\n }\n }\n get parent() {\n return this._parent;\n }\n get name() {\n return this._name;\n }\n constructor(parent, zoneSpec) {\n this._parent = parent;\n this._name = zoneSpec ? zoneSpec.name || 'unnamed' : '';\n this._properties = zoneSpec && zoneSpec.properties || {};\n this._zoneDelegate =\n new _ZoneDelegate(this, this._parent && this._parent._zoneDelegate, zoneSpec);\n }\n get(key) {\n const zone = this.getZoneWith(key);\n if (zone)\n return zone._properties[key];\n }\n getZoneWith(key) {\n let current = this;\n while (current) {\n if (current._properties.hasOwnProperty(key)) {\n return current;\n }\n current = current._parent;\n }\n return null;\n }\n fork(zoneSpec) {\n if (!zoneSpec)\n throw new Error('ZoneSpec required!');\n return this._zoneDelegate.fork(this, zoneSpec);\n }\n wrap(callback, source) {\n if (typeof callback !== 'function') {\n throw new Error('Expecting function got: ' + callback);\n }\n const _callback = this._zoneDelegate.intercept(this, callback, source);\n const zone = this;\n return function () {\n return zone.runGuarded(_callback, this, arguments, source);\n };\n }\n run(callback, applyThis, applyArgs, source) {\n _currentZoneFrame = { parent: _currentZoneFrame, zone: this };\n try {\n return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source);\n }\n finally {\n _currentZoneFrame = _currentZoneFrame.parent;\n }\n }\n runGuarded(callback, applyThis = null, applyArgs, source) {\n _currentZoneFrame = { parent: _currentZoneFrame, zone: this };\n try {\n try {\n return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source);\n }\n catch (error) {\n if (this._zoneDelegate.handleError(this, error)) {\n throw error;\n }\n }\n }\n finally {\n _currentZoneFrame = _currentZoneFrame.parent;\n }\n }\n runTask(task, applyThis, applyArgs) {\n if (task.zone != this) {\n throw new Error('A task can only be run in the zone of creation! (Creation: ' +\n (task.zone || NO_ZONE).name + '; Execution: ' + this.name + ')');\n }\n // https://github.com/angular/zone.js/issues/778, sometimes eventTask\n // will run in notScheduled(canceled) state, we should not try to\n // run such kind of task but just return\n if (task.state === notScheduled && (task.type === eventTask || task.type === macroTask)) {\n return;\n }\n const reEntryGuard = task.state != running;\n reEntryGuard && task._transitionTo(running, scheduled);\n task.runCount++;\n const previousTask = _currentTask;\n _currentTask = task;\n _currentZoneFrame = { parent: _currentZoneFrame, zone: this };\n try {\n if (task.type == macroTask && task.data && !task.data.isPeriodic) {\n task.cancelFn = undefined;\n }\n try {\n return this._zoneDelegate.invokeTask(this, task, applyThis, applyArgs);\n }\n catch (error) {\n if (this._zoneDelegate.handleError(this, error)) {\n throw error;\n }\n }\n }\n finally {\n // if the task's state is notScheduled or unknown, then it has already been cancelled\n // we should not reset the state to scheduled\n if (task.state !== notScheduled && task.state !== unknown) {\n if (task.type == eventTask || (task.data && task.data.isPeriodic)) {\n reEntryGuard && task._transitionTo(scheduled, running);\n }\n else {\n task.runCount = 0;\n this._updateTaskCount(task, -1);\n reEntryGuard &&\n task._transitionTo(notScheduled, running, notScheduled);\n }\n }\n _currentZoneFrame = _currentZoneFrame.parent;\n _currentTask = previousTask;\n }\n }\n scheduleTask(task) {\n if (task.zone && task.zone !== this) {\n // check if the task was rescheduled, the newZone\n // should not be the children of the original zone\n let newZone = this;\n while (newZone) {\n if (newZone === task.zone) {\n throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${task.zone.name}`);\n }\n newZone = newZone.parent;\n }\n }\n task._transitionTo(scheduling, notScheduled);\n const zoneDelegates = [];\n task._zoneDelegates = zoneDelegates;\n task._zone = this;\n try {\n task = this._zoneDelegate.scheduleTask(this, task);\n }\n catch (err) {\n // should set task's state to unknown when scheduleTask throw error\n // because the err may from reschedule, so the fromState maybe notScheduled\n task._transitionTo(unknown, scheduling, notScheduled);\n // TODO: @JiaLiPassion, should we check the result from handleError?\n this._zoneDelegate.handleError(this, err);\n throw err;\n }\n if (task._zoneDelegates === zoneDelegates) {\n // we have to check because internally the delegate can reschedule the task.\n this._updateTaskCount(task, 1);\n }\n if (task.state == scheduling) {\n task._transitionTo(scheduled, scheduling);\n }\n return task;\n }\n scheduleMicroTask(source, callback, data, customSchedule) {\n return this.scheduleTask(new ZoneTask(microTask, source, callback, data, customSchedule, undefined));\n }\n scheduleMacroTask(source, callback, data, customSchedule, customCancel) {\n return this.scheduleTask(new ZoneTask(macroTask, source, callback, data, customSchedule, customCancel));\n }\n scheduleEventTask(source, callback, data, customSchedule, customCancel) {\n return this.scheduleTask(new ZoneTask(eventTask, source, callback, data, customSchedule, customCancel));\n }\n cancelTask(task) {\n if (task.zone != this)\n throw new Error('A task can only be cancelled in the zone of creation! (Creation: ' +\n (task.zone || NO_ZONE).name + '; Execution: ' + this.name + ')');\n if (task.state !== scheduled && task.state !== running) {\n return;\n }\n task._transitionTo(canceling, scheduled, running);\n try {\n this._zoneDelegate.cancelTask(this, task);\n }\n catch (err) {\n // if error occurs when cancelTask, transit the state to unknown\n task._transitionTo(unknown, canceling);\n this._zoneDelegate.handleError(this, err);\n throw err;\n }\n this._updateTaskCount(task, -1);\n task._transitionTo(notScheduled, canceling);\n task.runCount = 0;\n return task;\n }\n _updateTaskCount(task, count) {\n const zoneDelegates = task._zoneDelegates;\n if (count == -1) {\n task._zoneDelegates = null;\n }\n for (let i = 0; i < zoneDelegates.length; i++) {\n zoneDelegates[i]._updateTaskCount(task.type, count);\n }\n }\n }\n // tslint:disable-next-line:require-internal-with-underscore\n Zone.__symbol__ = __symbol__;\n const DELEGATE_ZS = {\n name: '',\n onHasTask: (delegate, _, target, hasTaskState) => delegate.hasTask(target, hasTaskState),\n onScheduleTask: (delegate, _, target, task) => delegate.scheduleTask(target, task),\n onInvokeTask: (delegate, _, target, task, applyThis, applyArgs) => delegate.invokeTask(target, task, applyThis, applyArgs),\n onCancelTask: (delegate, _, target, task) => delegate.cancelTask(target, task)\n };\n class _ZoneDelegate {\n constructor(zone, parentDelegate, zoneSpec) {\n this._taskCounts = { 'microTask': 0, 'macroTask': 0, 'eventTask': 0 };\n this.zone = zone;\n this._parentDelegate = parentDelegate;\n this._forkZS = zoneSpec && (zoneSpec && zoneSpec.onFork ? zoneSpec : parentDelegate._forkZS);\n this._forkDlgt = zoneSpec && (zoneSpec.onFork ? parentDelegate : parentDelegate._forkDlgt);\n this._forkCurrZone =\n zoneSpec && (zoneSpec.onFork ? this.zone : parentDelegate._forkCurrZone);\n this._interceptZS =\n zoneSpec && (zoneSpec.onIntercept ? zoneSpec : parentDelegate._interceptZS);\n this._interceptDlgt =\n zoneSpec && (zoneSpec.onIntercept ? parentDelegate : parentDelegate._interceptDlgt);\n this._interceptCurrZone =\n zoneSpec && (zoneSpec.onIntercept ? this.zone : parentDelegate._interceptCurrZone);\n this._invokeZS = zoneSpec && (zoneSpec.onInvoke ? zoneSpec : parentDelegate._invokeZS);\n this._invokeDlgt =\n zoneSpec && (zoneSpec.onInvoke ? parentDelegate : parentDelegate._invokeDlgt);\n this._invokeCurrZone =\n zoneSpec && (zoneSpec.onInvoke ? this.zone : parentDelegate._invokeCurrZone);\n this._handleErrorZS =\n zoneSpec && (zoneSpec.onHandleError ? zoneSpec : parentDelegate._handleErrorZS);\n this._handleErrorDlgt =\n zoneSpec && (zoneSpec.onHandleError ? parentDelegate : parentDelegate._handleErrorDlgt);\n this._handleErrorCurrZone =\n zoneSpec && (zoneSpec.onHandleError ? this.zone : parentDelegate._handleErrorCurrZone);\n this._scheduleTaskZS =\n zoneSpec && (zoneSpec.onScheduleTask ? zoneSpec : parentDelegate._scheduleTaskZS);\n this._scheduleTaskDlgt = zoneSpec &&\n (zoneSpec.onScheduleTask ? parentDelegate : parentDelegate._scheduleTaskDlgt);\n this._scheduleTaskCurrZone =\n zoneSpec && (zoneSpec.onScheduleTask ? this.zone : parentDelegate._scheduleTaskCurrZone);\n this._invokeTaskZS =\n zoneSpec && (zoneSpec.onInvokeTask ? zoneSpec : parentDelegate._invokeTaskZS);\n this._invokeTaskDlgt =\n zoneSpec && (zoneSpec.onInvokeTask ? parentDelegate : parentDelegate._invokeTaskDlgt);\n this._invokeTaskCurrZone =\n zoneSpec && (zoneSpec.onInvokeTask ? this.zone : parentDelegate._invokeTaskCurrZone);\n this._cancelTaskZS =\n zoneSpec && (zoneSpec.onCancelTask ? zoneSpec : parentDelegate._cancelTaskZS);\n this._cancelTaskDlgt =\n zoneSpec && (zoneSpec.onCancelTask ? parentDelegate : parentDelegate._cancelTaskDlgt);\n this._cancelTaskCurrZone =\n zoneSpec && (zoneSpec.onCancelTask ? this.zone : parentDelegate._cancelTaskCurrZone);\n this._hasTaskZS = null;\n this._hasTaskDlgt = null;\n this._hasTaskDlgtOwner = null;\n this._hasTaskCurrZone = null;\n const zoneSpecHasTask = zoneSpec && zoneSpec.onHasTask;\n const parentHasTask = parentDelegate && parentDelegate._hasTaskZS;\n if (zoneSpecHasTask || parentHasTask) {\n // If we need to report hasTask, than this ZS needs to do ref counting on tasks. In such\n // a case all task related interceptors must go through this ZD. We can't short circuit it.\n this._hasTaskZS = zoneSpecHasTask ? zoneSpec : DELEGATE_ZS;\n this._hasTaskDlgt = parentDelegate;\n this._hasTaskDlgtOwner = this;\n this._hasTaskCurrZone = zone;\n if (!zoneSpec.onScheduleTask) {\n this._scheduleTaskZS = DELEGATE_ZS;\n this._scheduleTaskDlgt = parentDelegate;\n this._scheduleTaskCurrZone = this.zone;\n }\n if (!zoneSpec.onInvokeTask) {\n this._invokeTaskZS = DELEGATE_ZS;\n this._invokeTaskDlgt = parentDelegate;\n this._invokeTaskCurrZone = this.zone;\n }\n if (!zoneSpec.onCancelTask) {\n this._cancelTaskZS = DELEGATE_ZS;\n this._cancelTaskDlgt = parentDelegate;\n this._cancelTaskCurrZone = this.zone;\n }\n }\n }\n fork(targetZone, zoneSpec) {\n return this._forkZS ? this._forkZS.onFork(this._forkDlgt, this.zone, targetZone, zoneSpec) :\n new Zone(targetZone, zoneSpec);\n }\n intercept(targetZone, callback, source) {\n return this._interceptZS ?\n this._interceptZS.onIntercept(this._interceptDlgt, this._interceptCurrZone, targetZone, callback, source) :\n callback;\n }\n invoke(targetZone, callback, applyThis, applyArgs, source) {\n return this._invokeZS ? this._invokeZS.onInvoke(this._invokeDlgt, this._invokeCurrZone, targetZone, callback, applyThis, applyArgs, source) :\n callback.apply(applyThis, applyArgs);\n }\n handleError(targetZone, error) {\n return this._handleErrorZS ?\n this._handleErrorZS.onHandleError(this._handleErrorDlgt, this._handleErrorCurrZone, targetZone, error) :\n true;\n }\n scheduleTask(targetZone, task) {\n let returnTask = task;\n if (this._scheduleTaskZS) {\n if (this._hasTaskZS) {\n returnTask._zoneDelegates.push(this._hasTaskDlgtOwner);\n }\n // clang-format off\n returnTask = this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt, this._scheduleTaskCurrZone, targetZone, task);\n // clang-format on\n if (!returnTask)\n returnTask = task;\n }\n else {\n if (task.scheduleFn) {\n task.scheduleFn(task);\n }\n else if (task.type == microTask) {\n scheduleMicroTask(task);\n }\n else {\n throw new Error('Task is missing scheduleFn.');\n }\n }\n return returnTask;\n }\n invokeTask(targetZone, task, applyThis, applyArgs) {\n return this._invokeTaskZS ? this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt, this._invokeTaskCurrZone, targetZone, task, applyThis, applyArgs) :\n task.callback.apply(applyThis, applyArgs);\n }\n cancelTask(targetZone, task) {\n let value;\n if (this._cancelTaskZS) {\n value = this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt, this._cancelTaskCurrZone, targetZone, task);\n }\n else {\n if (!task.cancelFn) {\n throw Error('Task is not cancelable');\n }\n value = task.cancelFn(task);\n }\n return value;\n }\n hasTask(targetZone, isEmpty) {\n // hasTask should not throw error so other ZoneDelegate\n // can still trigger hasTask callback\n try {\n this._hasTaskZS &&\n this._hasTaskZS.onHasTask(this._hasTaskDlgt, this._hasTaskCurrZone, targetZone, isEmpty);\n }\n catch (err) {\n this.handleError(targetZone, err);\n }\n }\n // tslint:disable-next-line:require-internal-with-underscore\n _updateTaskCount(type, count) {\n const counts = this._taskCounts;\n const prev = counts[type];\n const next = counts[type] = prev + count;\n if (next < 0) {\n throw new Error('More tasks executed then were scheduled.');\n }\n if (prev == 0 || next == 0) {\n const isEmpty = {\n microTask: counts['microTask'] > 0,\n macroTask: counts['macroTask'] > 0,\n eventTask: counts['eventTask'] > 0,\n change: type\n };\n this.hasTask(this.zone, isEmpty);\n }\n }\n }\n class ZoneTask {\n constructor(type, source, callback, options, scheduleFn, cancelFn) {\n // tslint:disable-next-line:require-internal-with-underscore\n this._zone = null;\n this.runCount = 0;\n // tslint:disable-next-line:require-internal-with-underscore\n this._zoneDelegates = null;\n // tslint:disable-next-line:require-internal-with-underscore\n this._state = 'notScheduled';\n this.type = type;\n this.source = source;\n this.data = options;\n this.scheduleFn = scheduleFn;\n this.cancelFn = cancelFn;\n if (!callback) {\n throw new Error('callback is not defined');\n }\n this.callback = callback;\n const self = this;\n // TODO: @JiaLiPassion options should have interface\n if (type === eventTask && options && options.useG) {\n this.invoke = ZoneTask.invokeTask;\n }\n else {\n this.invoke = function () {\n return ZoneTask.invokeTask.call(global, self, this, arguments);\n };\n }\n }\n static invokeTask(task, target, args) {\n if (!task) {\n task = this;\n }\n _numberOfNestedTaskFrames++;\n try {\n task.runCount++;\n return task.zone.runTask(task, target, args);\n }\n finally {\n if (_numberOfNestedTaskFrames == 1) {\n drainMicroTaskQueue();\n }\n _numberOfNestedTaskFrames--;\n }\n }\n get zone() {\n return this._zone;\n }\n get state() {\n return this._state;\n }\n cancelScheduleRequest() {\n this._transitionTo(notScheduled, scheduling);\n }\n // tslint:disable-next-line:require-internal-with-underscore\n _transitionTo(toState, fromState1, fromState2) {\n if (this._state === fromState1 || this._state === fromState2) {\n this._state = toState;\n if (toState == notScheduled) {\n this._zoneDelegates = null;\n }\n }\n else {\n throw new Error(`${this.type} '${this.source}': can not transition to '${toState}', expecting state '${fromState1}'${fromState2 ? ' or \\'' + fromState2 + '\\'' : ''}, was '${this._state}'.`);\n }\n }\n toString() {\n if (this.data && typeof this.data.handleId !== 'undefined') {\n return this.data.handleId.toString();\n }\n else {\n return Object.prototype.toString.call(this);\n }\n }\n // add toJSON method to prevent cyclic error when\n // call JSON.stringify(zoneTask)\n toJSON() {\n return {\n type: this.type,\n state: this.state,\n source: this.source,\n zone: this.zone.name,\n runCount: this.runCount\n };\n }\n }\n //////////////////////////////////////////////////////\n //////////////////////////////////////////////////////\n /// MICROTASK QUEUE\n //////////////////////////////////////////////////////\n //////////////////////////////////////////////////////\n const symbolSetTimeout = __symbol__('setTimeout');\n const symbolPromise = __symbol__('Promise');\n const symbolThen = __symbol__('then');\n let _microTaskQueue = [];\n let _isDrainingMicrotaskQueue = false;\n let nativeMicroTaskQueuePromise;\n function nativeScheduleMicroTask(func) {\n if (!nativeMicroTaskQueuePromise) {\n if (global[symbolPromise]) {\n nativeMicroTaskQueuePromise = global[symbolPromise].resolve(0);\n }\n }\n if (nativeMicroTaskQueuePromise) {\n let nativeThen = nativeMicroTaskQueuePromise[symbolThen];\n if (!nativeThen) {\n // native Promise is not patchable, we need to use `then` directly\n // issue 1078\n nativeThen = nativeMicroTaskQueuePromise['then'];\n }\n nativeThen.call(nativeMicroTaskQueuePromise, func);\n }\n else {\n global[symbolSetTimeout](func, 0);\n }\n }\n function scheduleMicroTask(task) {\n // if we are not running in any task, and there has not been anything scheduled\n // we must bootstrap the initial task creation by manually scheduling the drain\n if (_numberOfNestedTaskFrames === 0 && _microTaskQueue.length === 0) {\n // We are not running in Task, so we need to kickstart the microtask queue.\n nativeScheduleMicroTask(drainMicroTaskQueue);\n }\n task && _microTaskQueue.push(task);\n }\n function drainMicroTaskQueue() {\n if (!_isDrainingMicrotaskQueue) {\n _isDrainingMicrotaskQueue = true;\n while (_microTaskQueue.length) {\n const queue = _microTaskQueue;\n _microTaskQueue = [];\n for (let i = 0; i < queue.length; i++) {\n const task = queue[i];\n try {\n task.zone.runTask(task, null, null);\n }\n catch (error) {\n _api.onUnhandledError(error);\n }\n }\n }\n _api.microtaskDrainDone();\n _isDrainingMicrotaskQueue = false;\n }\n }\n //////////////////////////////////////////////////////\n //////////////////////////////////////////////////////\n /// BOOTSTRAP\n //////////////////////////////////////////////////////\n //////////////////////////////////////////////////////\n const NO_ZONE = { name: 'NO ZONE' };\n const notScheduled = 'notScheduled', scheduling = 'scheduling', scheduled = 'scheduled', running = 'running', canceling = 'canceling', unknown = 'unknown';\n const microTask = 'microTask', macroTask = 'macroTask', eventTask = 'eventTask';\n const patches = {};\n const _api = {\n symbol: __symbol__,\n currentZoneFrame: () => _currentZoneFrame,\n onUnhandledError: noop,\n microtaskDrainDone: noop,\n scheduleMicroTask: scheduleMicroTask,\n showUncaughtError: () => !Zone[__symbol__('ignoreConsoleErrorUncaughtError')],\n patchEventTarget: () => [],\n patchOnProperties: noop,\n patchMethod: () => noop,\n bindArguments: () => [],\n patchThen: () => noop,\n patchMacroTask: () => noop,\n patchEventPrototype: () => noop,\n isIEOrEdge: () => false,\n getGlobalObjects: () => undefined,\n ObjectDefineProperty: () => noop,\n ObjectGetOwnPropertyDescriptor: () => undefined,\n ObjectCreate: () => undefined,\n ArraySlice: () => [],\n patchClass: () => noop,\n wrapWithCurrentZone: () => noop,\n filterProperties: () => [],\n attachOriginToPatched: () => noop,\n _redefineProperty: () => noop,\n patchCallbacks: () => noop,\n nativeScheduleMicroTask: nativeScheduleMicroTask\n };\n let _currentZoneFrame = { parent: null, zone: new Zone(null, null) };\n let _currentTask = null;\n let _numberOfNestedTaskFrames = 0;\n function noop() { }\n performanceMeasure('Zone', 'Zone');\n return global['Zone'] = Zone;\n}))(typeof window !== 'undefined' && window || typeof self !== 'undefined' && self || global);\n\n/**\n * Suppress closure compiler errors about unknown 'Zone' variable\n * @fileoverview\n * @suppress {undefinedVars,globalThis,missingRequire}\n */\n/// \n// issue #989, to reduce bundle size, use short name\n/** Object.getOwnPropertyDescriptor */\nconst ObjectGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n/** Object.defineProperty */\nconst ObjectDefineProperty = Object.defineProperty;\n/** Object.getPrototypeOf */\nconst ObjectGetPrototypeOf = Object.getPrototypeOf;\n/** Object.create */\nconst ObjectCreate = Object.create;\n/** Array.prototype.slice */\nconst ArraySlice = Array.prototype.slice;\n/** addEventListener string const */\nconst ADD_EVENT_LISTENER_STR = 'addEventListener';\n/** removeEventListener string const */\nconst REMOVE_EVENT_LISTENER_STR = 'removeEventListener';\n/** zoneSymbol addEventListener */\nconst ZONE_SYMBOL_ADD_EVENT_LISTENER = Zone.__symbol__(ADD_EVENT_LISTENER_STR);\n/** zoneSymbol removeEventListener */\nconst ZONE_SYMBOL_REMOVE_EVENT_LISTENER = Zone.__symbol__(REMOVE_EVENT_LISTENER_STR);\n/** true string const */\nconst TRUE_STR = 'true';\n/** false string const */\nconst FALSE_STR = 'false';\n/** Zone symbol prefix string const. */\nconst ZONE_SYMBOL_PREFIX = Zone.__symbol__('');\nfunction wrapWithCurrentZone(callback, source) {\n return Zone.current.wrap(callback, source);\n}\nfunction scheduleMacroTaskWithCurrentZone(source, callback, data, customSchedule, customCancel) {\n return Zone.current.scheduleMacroTask(source, callback, data, customSchedule, customCancel);\n}\nconst zoneSymbol = Zone.__symbol__;\nconst isWindowExists = typeof window !== 'undefined';\nconst internalWindow = isWindowExists ? window : undefined;\nconst _global = isWindowExists && internalWindow || typeof self === 'object' && self || global;\nconst REMOVE_ATTRIBUTE = 'removeAttribute';\nfunction bindArguments(args, source) {\n for (let i = args.length - 1; i >= 0; i--) {\n if (typeof args[i] === 'function') {\n args[i] = wrapWithCurrentZone(args[i], source + '_' + i);\n }\n }\n return args;\n}\nfunction patchPrototype(prototype, fnNames) {\n const source = prototype.constructor['name'];\n for (let i = 0; i < fnNames.length; i++) {\n const name = fnNames[i];\n const delegate = prototype[name];\n if (delegate) {\n const prototypeDesc = ObjectGetOwnPropertyDescriptor(prototype, name);\n if (!isPropertyWritable(prototypeDesc)) {\n continue;\n }\n prototype[name] = ((delegate) => {\n const patched = function () {\n return delegate.apply(this, bindArguments(arguments, source + '.' + name));\n };\n attachOriginToPatched(patched, delegate);\n return patched;\n })(delegate);\n }\n }\n}\nfunction isPropertyWritable(propertyDesc) {\n if (!propertyDesc) {\n return true;\n }\n if (propertyDesc.writable === false) {\n return false;\n }\n return !(typeof propertyDesc.get === 'function' && typeof propertyDesc.set === 'undefined');\n}\nconst isWebWorker = (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope);\n// Make sure to access `process` through `_global` so that WebPack does not accidentally browserify\n// this code.\nconst isNode = (!('nw' in _global) && typeof _global.process !== 'undefined' &&\n {}.toString.call(_global.process) === '[object process]');\nconst isBrowser = !isNode && !isWebWorker && !!(isWindowExists && internalWindow['HTMLElement']);\n// we are in electron of nw, so we are both browser and nodejs\n// Make sure to access `process` through `_global` so that WebPack does not accidentally browserify\n// this code.\nconst isMix = typeof _global.process !== 'undefined' &&\n {}.toString.call(_global.process) === '[object process]' && !isWebWorker &&\n !!(isWindowExists && internalWindow['HTMLElement']);\nconst zoneSymbolEventNames$1 = {};\nconst wrapFn = function (event) {\n // https://github.com/angular/zone.js/issues/911, in IE, sometimes\n // event will be undefined, so we need to use window.event\n event = event || _global.event;\n if (!event) {\n return;\n }\n let eventNameSymbol = zoneSymbolEventNames$1[event.type];\n if (!eventNameSymbol) {\n eventNameSymbol = zoneSymbolEventNames$1[event.type] = zoneSymbol('ON_PROPERTY' + event.type);\n }\n const target = this || event.target || _global;\n const listener = target[eventNameSymbol];\n let result;\n if (isBrowser && target === internalWindow && event.type === 'error') {\n // window.onerror have different signature\n // https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror#window.onerror\n // and onerror callback will prevent default when callback return true\n const errorEvent = event;\n result = listener &&\n listener.call(this, errorEvent.message, errorEvent.filename, errorEvent.lineno, errorEvent.colno, errorEvent.error);\n if (result === true) {\n event.preventDefault();\n }\n }\n else {\n result = listener && listener.apply(this, arguments);\n if (result != undefined && !result) {\n event.preventDefault();\n }\n }\n return result;\n};\nfunction patchProperty(obj, prop, prototype) {\n let desc = ObjectGetOwnPropertyDescriptor(obj, prop);\n if (!desc && prototype) {\n // when patch window object, use prototype to check prop exist or not\n const prototypeDesc = ObjectGetOwnPropertyDescriptor(prototype, prop);\n if (prototypeDesc) {\n desc = { enumerable: true, configurable: true };\n }\n }\n // if the descriptor not exists or is not configurable\n // just return\n if (!desc || !desc.configurable) {\n return;\n }\n const onPropPatchedSymbol = zoneSymbol('on' + prop + 'patched');\n if (obj.hasOwnProperty(onPropPatchedSymbol) && obj[onPropPatchedSymbol]) {\n return;\n }\n // A property descriptor cannot have getter/setter and be writable\n // deleting the writable and value properties avoids this error:\n //\n // TypeError: property descriptors must not specify a value or be writable when a\n // getter or setter has been specified\n delete desc.writable;\n delete desc.value;\n const originalDescGet = desc.get;\n const originalDescSet = desc.set;\n // slice(2) cuz 'onclick' -> 'click', etc\n const eventName = prop.slice(2);\n let eventNameSymbol = zoneSymbolEventNames$1[eventName];\n if (!eventNameSymbol) {\n eventNameSymbol = zoneSymbolEventNames$1[eventName] = zoneSymbol('ON_PROPERTY' + eventName);\n }\n desc.set = function (newValue) {\n // in some of windows's onproperty callback, this is undefined\n // so we need to check it\n let target = this;\n if (!target && obj === _global) {\n target = _global;\n }\n if (!target) {\n return;\n }\n const previousValue = target[eventNameSymbol];\n if (typeof previousValue === 'function') {\n target.removeEventListener(eventName, wrapFn);\n }\n // issue #978, when onload handler was added before loading zone.js\n // we should remove it with originalDescSet\n originalDescSet && originalDescSet.call(target, null);\n target[eventNameSymbol] = newValue;\n if (typeof newValue === 'function') {\n target.addEventListener(eventName, wrapFn, false);\n }\n };\n // The getter would return undefined for unassigned properties but the default value of an\n // unassigned property is null\n desc.get = function () {\n // in some of windows's onproperty callback, this is undefined\n // so we need to check it\n let target = this;\n if (!target && obj === _global) {\n target = _global;\n }\n if (!target) {\n return null;\n }\n const listener = target[eventNameSymbol];\n if (listener) {\n return listener;\n }\n else if (originalDescGet) {\n // result will be null when use inline event attribute,\n // such as \n // because the onclick function is internal raw uncompiled handler\n // the onclick will be evaluated when first time event was triggered or\n // the property is accessed, https://github.com/angular/zone.js/issues/525\n // so we should use original native get to retrieve the handler\n let value = originalDescGet.call(this);\n if (value) {\n desc.set.call(this, value);\n if (typeof target[REMOVE_ATTRIBUTE] === 'function') {\n target.removeAttribute(prop);\n }\n return value;\n }\n }\n return null;\n };\n ObjectDefineProperty(obj, prop, desc);\n obj[onPropPatchedSymbol] = true;\n}\nfunction patchOnProperties(obj, properties, prototype) {\n if (properties) {\n for (let i = 0; i < properties.length; i++) {\n patchProperty(obj, 'on' + properties[i], prototype);\n }\n }\n else {\n const onProperties = [];\n for (const prop in obj) {\n if (prop.slice(0, 2) == 'on') {\n onProperties.push(prop);\n }\n }\n for (let j = 0; j < onProperties.length; j++) {\n patchProperty(obj, onProperties[j], prototype);\n }\n }\n}\nconst originalInstanceKey = zoneSymbol('originalInstance');\n// wrap some native API on `window`\nfunction patchClass(className) {\n const OriginalClass = _global[className];\n if (!OriginalClass)\n return;\n // keep original class in global\n _global[zoneSymbol(className)] = OriginalClass;\n _global[className] = function () {\n const a = bindArguments(arguments, className);\n switch (a.length) {\n case 0:\n this[originalInstanceKey] = new OriginalClass();\n break;\n case 1:\n this[originalInstanceKey] = new OriginalClass(a[0]);\n break;\n case 2:\n this[originalInstanceKey] = new OriginalClass(a[0], a[1]);\n break;\n case 3:\n this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2]);\n break;\n case 4:\n this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2], a[3]);\n break;\n default:\n throw new Error('Arg list too long.');\n }\n };\n // attach original delegate to patched function\n attachOriginToPatched(_global[className], OriginalClass);\n const instance = new OriginalClass(function () { });\n let prop;\n for (prop in instance) {\n // https://bugs.webkit.org/show_bug.cgi?id=44721\n if (className === 'XMLHttpRequest' && prop === 'responseBlob')\n continue;\n (function (prop) {\n if (typeof instance[prop] === 'function') {\n _global[className].prototype[prop] = function () {\n return this[originalInstanceKey][prop].apply(this[originalInstanceKey], arguments);\n };\n }\n else {\n ObjectDefineProperty(_global[className].prototype, prop, {\n set: function (fn) {\n if (typeof fn === 'function') {\n this[originalInstanceKey][prop] = wrapWithCurrentZone(fn, className + '.' + prop);\n // keep callback in wrapped function so we can\n // use it in Function.prototype.toString to return\n // the native one.\n attachOriginToPatched(this[originalInstanceKey][prop], fn);\n }\n else {\n this[originalInstanceKey][prop] = fn;\n }\n },\n get: function () {\n return this[originalInstanceKey][prop];\n }\n });\n }\n }(prop));\n }\n for (prop in OriginalClass) {\n if (prop !== 'prototype' && OriginalClass.hasOwnProperty(prop)) {\n _global[className][prop] = OriginalClass[prop];\n }\n }\n}\nfunction patchMethod(target, name, patchFn) {\n let proto = target;\n while (proto && !proto.hasOwnProperty(name)) {\n proto = ObjectGetPrototypeOf(proto);\n }\n if (!proto && target[name]) {\n // somehow we did not find it, but we can see it. This happens on IE for Window properties.\n proto = target;\n }\n const delegateName = zoneSymbol(name);\n let delegate = null;\n if (proto && (!(delegate = proto[delegateName]) || !proto.hasOwnProperty(delegateName))) {\n delegate = proto[delegateName] = proto[name];\n // check whether proto[name] is writable\n // some property is readonly in safari, such as HtmlCanvasElement.prototype.toBlob\n const desc = proto && ObjectGetOwnPropertyDescriptor(proto, name);\n if (isPropertyWritable(desc)) {\n const patchDelegate = patchFn(delegate, delegateName, name);\n proto[name] = function () {\n return patchDelegate(this, arguments);\n };\n attachOriginToPatched(proto[name], delegate);\n }\n }\n return delegate;\n}\n// TODO: @JiaLiPassion, support cancel task later if necessary\nfunction patchMacroTask(obj, funcName, metaCreator) {\n let setNative = null;\n function scheduleTask(task) {\n const data = task.data;\n data.args[data.cbIdx] = function () {\n task.invoke.apply(this, arguments);\n };\n setNative.apply(data.target, data.args);\n return task;\n }\n setNative = patchMethod(obj, funcName, (delegate) => function (self, args) {\n const meta = metaCreator(self, args);\n if (meta.cbIdx >= 0 && typeof args[meta.cbIdx] === 'function') {\n return scheduleMacroTaskWithCurrentZone(meta.name, args[meta.cbIdx], meta, scheduleTask);\n }\n else {\n // cause an error by calling it directly.\n return delegate.apply(self, args);\n }\n });\n}\nfunction attachOriginToPatched(patched, original) {\n patched[zoneSymbol('OriginalDelegate')] = original;\n}\nlet isDetectedIEOrEdge = false;\nlet ieOrEdge = false;\nfunction isIE() {\n try {\n const ua = internalWindow.navigator.userAgent;\n if (ua.indexOf('MSIE ') !== -1 || ua.indexOf('Trident/') !== -1) {\n return true;\n }\n }\n catch (error) {\n }\n return false;\n}\nfunction isIEOrEdge() {\n if (isDetectedIEOrEdge) {\n return ieOrEdge;\n }\n isDetectedIEOrEdge = true;\n try {\n const ua = internalWindow.navigator.userAgent;\n if (ua.indexOf('MSIE ') !== -1 || ua.indexOf('Trident/') !== -1 || ua.indexOf('Edge/') !== -1) {\n ieOrEdge = true;\n }\n }\n catch (error) {\n }\n return ieOrEdge;\n}\n\nZone.__load_patch('ZoneAwarePromise', (global, Zone, api) => {\n const ObjectGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n const ObjectDefineProperty = Object.defineProperty;\n function readableObjectToString(obj) {\n if (obj && obj.toString === Object.prototype.toString) {\n const className = obj.constructor && obj.constructor.name;\n return (className ? className : '') + ': ' + JSON.stringify(obj);\n }\n return obj ? obj.toString() : Object.prototype.toString.call(obj);\n }\n const __symbol__ = api.symbol;\n const _uncaughtPromiseErrors = [];\n const isDisableWrappingUncaughtPromiseRejection = global[__symbol__('DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION')] === true;\n const symbolPromise = __symbol__('Promise');\n const symbolThen = __symbol__('then');\n const creationTrace = '__creationTrace__';\n api.onUnhandledError = (e) => {\n if (api.showUncaughtError()) {\n const rejection = e && e.rejection;\n if (rejection) {\n console.error('Unhandled Promise rejection:', rejection instanceof Error ? rejection.message : rejection, '; Zone:', e.zone.name, '; Task:', e.task && e.task.source, '; Value:', rejection, rejection instanceof Error ? rejection.stack : undefined);\n }\n else {\n console.error(e);\n }\n }\n };\n api.microtaskDrainDone = () => {\n while (_uncaughtPromiseErrors.length) {\n const uncaughtPromiseError = _uncaughtPromiseErrors.shift();\n try {\n uncaughtPromiseError.zone.runGuarded(() => {\n if (uncaughtPromiseError.throwOriginal) {\n throw uncaughtPromiseError.rejection;\n }\n throw uncaughtPromiseError;\n });\n }\n catch (error) {\n handleUnhandledRejection(error);\n }\n }\n };\n const UNHANDLED_PROMISE_REJECTION_HANDLER_SYMBOL = __symbol__('unhandledPromiseRejectionHandler');\n function handleUnhandledRejection(e) {\n api.onUnhandledError(e);\n try {\n const handler = Zone[UNHANDLED_PROMISE_REJECTION_HANDLER_SYMBOL];\n if (typeof handler === 'function') {\n handler.call(this, e);\n }\n }\n catch (err) {\n }\n }\n function isThenable(value) {\n return value && value.then;\n }\n function forwardResolution(value) {\n return value;\n }\n function forwardRejection(rejection) {\n return ZoneAwarePromise.reject(rejection);\n }\n const symbolState = __symbol__('state');\n const symbolValue = __symbol__('value');\n const symbolFinally = __symbol__('finally');\n const symbolParentPromiseValue = __symbol__('parentPromiseValue');\n const symbolParentPromiseState = __symbol__('parentPromiseState');\n const source = 'Promise.then';\n const UNRESOLVED = null;\n const RESOLVED = true;\n const REJECTED = false;\n const REJECTED_NO_CATCH = 0;\n function makeResolver(promise, state) {\n return (v) => {\n try {\n resolvePromise(promise, state, v);\n }\n catch (err) {\n resolvePromise(promise, false, err);\n }\n // Do not return value or you will break the Promise spec.\n };\n }\n const once = function () {\n let wasCalled = false;\n return function wrapper(wrappedFunction) {\n return function () {\n if (wasCalled) {\n return;\n }\n wasCalled = true;\n wrappedFunction.apply(null, arguments);\n };\n };\n };\n const TYPE_ERROR = 'Promise resolved with itself';\n const CURRENT_TASK_TRACE_SYMBOL = __symbol__('currentTaskTrace');\n // Promise Resolution\n function resolvePromise(promise, state, value) {\n const onceWrapper = once();\n if (promise === value) {\n throw new TypeError(TYPE_ERROR);\n }\n if (promise[symbolState] === UNRESOLVED) {\n // should only get value.then once based on promise spec.\n let then = null;\n try {\n if (typeof value === 'object' || typeof value === 'function') {\n then = value && value.then;\n }\n }\n catch (err) {\n onceWrapper(() => {\n resolvePromise(promise, false, err);\n })();\n return promise;\n }\n // if (value instanceof ZoneAwarePromise) {\n if (state !== REJECTED && value instanceof ZoneAwarePromise &&\n value.hasOwnProperty(symbolState) && value.hasOwnProperty(symbolValue) &&\n value[symbolState] !== UNRESOLVED) {\n clearRejectedNoCatch(value);\n resolvePromise(promise, value[symbolState], value[symbolValue]);\n }\n else if (state !== REJECTED && typeof then === 'function') {\n try {\n then.call(value, onceWrapper(makeResolver(promise, state)), onceWrapper(makeResolver(promise, false)));\n }\n catch (err) {\n onceWrapper(() => {\n resolvePromise(promise, false, err);\n })();\n }\n }\n else {\n promise[symbolState] = state;\n const queue = promise[symbolValue];\n promise[symbolValue] = value;\n if (promise[symbolFinally] === symbolFinally) {\n // the promise is generated by Promise.prototype.finally\n if (state === RESOLVED) {\n // the state is resolved, should ignore the value\n // and use parent promise value\n promise[symbolState] = promise[symbolParentPromiseState];\n promise[symbolValue] = promise[symbolParentPromiseValue];\n }\n }\n // record task information in value when error occurs, so we can\n // do some additional work such as render longStackTrace\n if (state === REJECTED && value instanceof Error) {\n // check if longStackTraceZone is here\n const trace = Zone.currentTask && Zone.currentTask.data &&\n Zone.currentTask.data[creationTrace];\n if (trace) {\n // only keep the long stack trace into error when in longStackTraceZone\n ObjectDefineProperty(value, CURRENT_TASK_TRACE_SYMBOL, { configurable: true, enumerable: false, writable: true, value: trace });\n }\n }\n for (let i = 0; i < queue.length;) {\n scheduleResolveOrReject(promise, queue[i++], queue[i++], queue[i++], queue[i++]);\n }\n if (queue.length == 0 && state == REJECTED) {\n promise[symbolState] = REJECTED_NO_CATCH;\n let uncaughtPromiseError = value;\n try {\n // Here we throws a new Error to print more readable error log\n // and if the value is not an error, zone.js builds an `Error`\n // Object here to attach the stack information.\n throw new Error('Uncaught (in promise): ' + readableObjectToString(value) +\n (value && value.stack ? '\\n' + value.stack : ''));\n }\n catch (err) {\n uncaughtPromiseError = err;\n }\n if (isDisableWrappingUncaughtPromiseRejection) {\n // If disable wrapping uncaught promise reject\n // use the value instead of wrapping it.\n uncaughtPromiseError.throwOriginal = true;\n }\n uncaughtPromiseError.rejection = value;\n uncaughtPromiseError.promise = promise;\n uncaughtPromiseError.zone = Zone.current;\n uncaughtPromiseError.task = Zone.currentTask;\n _uncaughtPromiseErrors.push(uncaughtPromiseError);\n api.scheduleMicroTask(); // to make sure that it is running\n }\n }\n }\n // Resolving an already resolved promise is a noop.\n return promise;\n }\n const REJECTION_HANDLED_HANDLER = __symbol__('rejectionHandledHandler');\n function clearRejectedNoCatch(promise) {\n if (promise[symbolState] === REJECTED_NO_CATCH) {\n // if the promise is rejected no catch status\n // and queue.length > 0, means there is a error handler\n // here to handle the rejected promise, we should trigger\n // windows.rejectionhandled eventHandler or nodejs rejectionHandled\n // eventHandler\n try {\n const handler = Zone[REJECTION_HANDLED_HANDLER];\n if (handler && typeof handler === 'function') {\n handler.call(this, { rejection: promise[symbolValue], promise: promise });\n }\n }\n catch (err) {\n }\n promise[symbolState] = REJECTED;\n for (let i = 0; i < _uncaughtPromiseErrors.length; i++) {\n if (promise === _uncaughtPromiseErrors[i].promise) {\n _uncaughtPromiseErrors.splice(i, 1);\n }\n }\n }\n }\n function scheduleResolveOrReject(promise, zone, chainPromise, onFulfilled, onRejected) {\n clearRejectedNoCatch(promise);\n const promiseState = promise[symbolState];\n const delegate = promiseState ?\n (typeof onFulfilled === 'function') ? onFulfilled : forwardResolution :\n (typeof onRejected === 'function') ? onRejected :\n forwardRejection;\n zone.scheduleMicroTask(source, () => {\n try {\n const parentPromiseValue = promise[symbolValue];\n const isFinallyPromise = !!chainPromise && symbolFinally === chainPromise[symbolFinally];\n if (isFinallyPromise) {\n // if the promise is generated from finally call, keep parent promise's state and value\n chainPromise[symbolParentPromiseValue] = parentPromiseValue;\n chainPromise[symbolParentPromiseState] = promiseState;\n }\n // should not pass value to finally callback\n const value = zone.run(delegate, undefined, isFinallyPromise && delegate !== forwardRejection && delegate !== forwardResolution ?\n [] :\n [parentPromiseValue]);\n resolvePromise(chainPromise, true, value);\n }\n catch (error) {\n // if error occurs, should always return this error\n resolvePromise(chainPromise, false, error);\n }\n }, chainPromise);\n }\n const ZONE_AWARE_PROMISE_TO_STRING = 'function ZoneAwarePromise() { [native code] }';\n const noop = function () { };\n const AggregateError = global.AggregateError;\n class ZoneAwarePromise {\n static toString() {\n return ZONE_AWARE_PROMISE_TO_STRING;\n }\n static resolve(value) {\n return resolvePromise(new this(null), RESOLVED, value);\n }\n static reject(error) {\n return resolvePromise(new this(null), REJECTED, error);\n }\n static any(values) {\n if (!values || typeof values[Symbol.iterator] !== 'function') {\n return Promise.reject(new AggregateError([], 'All promises were rejected'));\n }\n const promises = [];\n let count = 0;\n try {\n for (let v of values) {\n count++;\n promises.push(ZoneAwarePromise.resolve(v));\n }\n }\n catch (err) {\n return Promise.reject(new AggregateError([], 'All promises were rejected'));\n }\n if (count === 0) {\n return Promise.reject(new AggregateError([], 'All promises were rejected'));\n }\n let finished = false;\n const errors = [];\n return new ZoneAwarePromise((resolve, reject) => {\n for (let i = 0; i < promises.length; i++) {\n promises[i].then(v => {\n if (finished) {\n return;\n }\n finished = true;\n resolve(v);\n }, err => {\n errors.push(err);\n count--;\n if (count === 0) {\n finished = true;\n reject(new AggregateError(errors, 'All promises were rejected'));\n }\n });\n }\n });\n }\n ;\n static race(values) {\n let resolve;\n let reject;\n let promise = new this((res, rej) => {\n resolve = res;\n reject = rej;\n });\n function onResolve(value) {\n resolve(value);\n }\n function onReject(error) {\n reject(error);\n }\n for (let value of values) {\n if (!isThenable(value)) {\n value = this.resolve(value);\n }\n value.then(onResolve, onReject);\n }\n return promise;\n }\n static all(values) {\n return ZoneAwarePromise.allWithCallback(values);\n }\n static allSettled(values) {\n const P = this && this.prototype instanceof ZoneAwarePromise ? this : ZoneAwarePromise;\n return P.allWithCallback(values, {\n thenCallback: (value) => ({ status: 'fulfilled', value }),\n errorCallback: (err) => ({ status: 'rejected', reason: err })\n });\n }\n static allWithCallback(values, callback) {\n let resolve;\n let reject;\n let promise = new this((res, rej) => {\n resolve = res;\n reject = rej;\n });\n // Start at 2 to prevent prematurely resolving if .then is called immediately.\n let unresolvedCount = 2;\n let valueIndex = 0;\n const resolvedValues = [];\n for (let value of values) {\n if (!isThenable(value)) {\n value = this.resolve(value);\n }\n const curValueIndex = valueIndex;\n try {\n value.then((value) => {\n resolvedValues[curValueIndex] = callback ? callback.thenCallback(value) : value;\n unresolvedCount--;\n if (unresolvedCount === 0) {\n resolve(resolvedValues);\n }\n }, (err) => {\n if (!callback) {\n reject(err);\n }\n else {\n resolvedValues[curValueIndex] = callback.errorCallback(err);\n unresolvedCount--;\n if (unresolvedCount === 0) {\n resolve(resolvedValues);\n }\n }\n });\n }\n catch (thenErr) {\n reject(thenErr);\n }\n unresolvedCount++;\n valueIndex++;\n }\n // Make the unresolvedCount zero-based again.\n unresolvedCount -= 2;\n if (unresolvedCount === 0) {\n resolve(resolvedValues);\n }\n return promise;\n }\n constructor(executor) {\n const promise = this;\n if (!(promise instanceof ZoneAwarePromise)) {\n throw new Error('Must be an instanceof Promise.');\n }\n promise[symbolState] = UNRESOLVED;\n promise[symbolValue] = []; // queue;\n try {\n const onceWrapper = once();\n executor &&\n executor(onceWrapper(makeResolver(promise, RESOLVED)), onceWrapper(makeResolver(promise, REJECTED)));\n }\n catch (error) {\n resolvePromise(promise, false, error);\n }\n }\n get [Symbol.toStringTag]() {\n return 'Promise';\n }\n get [Symbol.species]() {\n return ZoneAwarePromise;\n }\n then(onFulfilled, onRejected) {\n // We must read `Symbol.species` safely because `this` may be anything. For instance, `this`\n // may be an object without a prototype (created through `Object.create(null)`); thus\n // `this.constructor` will be undefined. One of the use cases is SystemJS creating\n // prototype-less objects (modules) via `Object.create(null)`. The SystemJS creates an empty\n // object and copies promise properties into that object (within the `getOrCreateLoad`\n // function). The zone.js then checks if the resolved value has the `then` method and invokes\n // it with the `value` context. Otherwise, this will throw an error: `TypeError: Cannot read\n // properties of undefined (reading 'Symbol(Symbol.species)')`.\n let C = this.constructor?.[Symbol.species];\n if (!C || typeof C !== 'function') {\n C = this.constructor || ZoneAwarePromise;\n }\n const chainPromise = new C(noop);\n const zone = Zone.current;\n if (this[symbolState] == UNRESOLVED) {\n this[symbolValue].push(zone, chainPromise, onFulfilled, onRejected);\n }\n else {\n scheduleResolveOrReject(this, zone, chainPromise, onFulfilled, onRejected);\n }\n return chainPromise;\n }\n catch(onRejected) {\n return this.then(null, onRejected);\n }\n finally(onFinally) {\n // See comment on the call to `then` about why thee `Symbol.species` is safely accessed.\n let C = this.constructor?.[Symbol.species];\n if (!C || typeof C !== 'function') {\n C = ZoneAwarePromise;\n }\n const chainPromise = new C(noop);\n chainPromise[symbolFinally] = symbolFinally;\n const zone = Zone.current;\n if (this[symbolState] == UNRESOLVED) {\n this[symbolValue].push(zone, chainPromise, onFinally, onFinally);\n }\n else {\n scheduleResolveOrReject(this, zone, chainPromise, onFinally, onFinally);\n }\n return chainPromise;\n }\n }\n // Protect against aggressive optimizers dropping seemingly unused properties.\n // E.g. Closure Compiler in advanced mode.\n ZoneAwarePromise['resolve'] = ZoneAwarePromise.resolve;\n ZoneAwarePromise['reject'] = ZoneAwarePromise.reject;\n ZoneAwarePromise['race'] = ZoneAwarePromise.race;\n ZoneAwarePromise['all'] = ZoneAwarePromise.all;\n const NativePromise = global[symbolPromise] = global['Promise'];\n global['Promise'] = ZoneAwarePromise;\n const symbolThenPatched = __symbol__('thenPatched');\n function patchThen(Ctor) {\n const proto = Ctor.prototype;\n const prop = ObjectGetOwnPropertyDescriptor(proto, 'then');\n if (prop && (prop.writable === false || !prop.configurable)) {\n // check Ctor.prototype.then propertyDescriptor is writable or not\n // in meteor env, writable is false, we should ignore such case\n return;\n }\n const originalThen = proto.then;\n // Keep a reference to the original method.\n proto[symbolThen] = originalThen;\n Ctor.prototype.then = function (onResolve, onReject) {\n const wrapped = new ZoneAwarePromise((resolve, reject) => {\n originalThen.call(this, resolve, reject);\n });\n return wrapped.then(onResolve, onReject);\n };\n Ctor[symbolThenPatched] = true;\n }\n api.patchThen = patchThen;\n function zoneify(fn) {\n return function (self, args) {\n let resultPromise = fn.apply(self, args);\n if (resultPromise instanceof ZoneAwarePromise) {\n return resultPromise;\n }\n let ctor = resultPromise.constructor;\n if (!ctor[symbolThenPatched]) {\n patchThen(ctor);\n }\n return resultPromise;\n };\n }\n if (NativePromise) {\n patchThen(NativePromise);\n patchMethod(global, 'fetch', delegate => zoneify(delegate));\n }\n // This is not part of public API, but it is useful for tests, so we expose it.\n Promise[Zone.__symbol__('uncaughtPromiseErrors')] = _uncaughtPromiseErrors;\n return ZoneAwarePromise;\n});\n\n// override Function.prototype.toString to make zone.js patched function\n// look like native function\nZone.__load_patch('toString', (global) => {\n // patch Func.prototype.toString to let them look like native\n const originalFunctionToString = Function.prototype.toString;\n const ORIGINAL_DELEGATE_SYMBOL = zoneSymbol('OriginalDelegate');\n const PROMISE_SYMBOL = zoneSymbol('Promise');\n const ERROR_SYMBOL = zoneSymbol('Error');\n const newFunctionToString = function toString() {\n if (typeof this === 'function') {\n const originalDelegate = this[ORIGINAL_DELEGATE_SYMBOL];\n if (originalDelegate) {\n if (typeof originalDelegate === 'function') {\n return originalFunctionToString.call(originalDelegate);\n }\n else {\n return Object.prototype.toString.call(originalDelegate);\n }\n }\n if (this === Promise) {\n const nativePromise = global[PROMISE_SYMBOL];\n if (nativePromise) {\n return originalFunctionToString.call(nativePromise);\n }\n }\n if (this === Error) {\n const nativeError = global[ERROR_SYMBOL];\n if (nativeError) {\n return originalFunctionToString.call(nativeError);\n }\n }\n }\n return originalFunctionToString.call(this);\n };\n newFunctionToString[ORIGINAL_DELEGATE_SYMBOL] = originalFunctionToString;\n Function.prototype.toString = newFunctionToString;\n // patch Object.prototype.toString to let them look like native\n const originalObjectToString = Object.prototype.toString;\n const PROMISE_OBJECT_TO_STRING = '[object Promise]';\n Object.prototype.toString = function () {\n if (typeof Promise === 'function' && this instanceof Promise) {\n return PROMISE_OBJECT_TO_STRING;\n }\n return originalObjectToString.call(this);\n };\n});\n\n/**\n * @fileoverview\n * @suppress {missingRequire}\n */\nlet passiveSupported = false;\nif (typeof window !== 'undefined') {\n try {\n const options = Object.defineProperty({}, 'passive', {\n get: function () {\n passiveSupported = true;\n }\n });\n // Note: We pass the `options` object as the event handler too. This is not compatible with the\n // signature of `addEventListener` or `removeEventListener` but enables us to remove the handler\n // without an actual handler.\n window.addEventListener('test', options, options);\n window.removeEventListener('test', options, options);\n }\n catch (err) {\n passiveSupported = false;\n }\n}\n// an identifier to tell ZoneTask do not create a new invoke closure\nconst OPTIMIZED_ZONE_EVENT_TASK_DATA = {\n useG: true\n};\nconst zoneSymbolEventNames = {};\nconst globalSources = {};\nconst EVENT_NAME_SYMBOL_REGX = new RegExp('^' + ZONE_SYMBOL_PREFIX + '(\\\\w+)(true|false)$');\nconst IMMEDIATE_PROPAGATION_SYMBOL = zoneSymbol('propagationStopped');\nfunction prepareEventNames(eventName, eventNameToString) {\n const falseEventName = (eventNameToString ? eventNameToString(eventName) : eventName) + FALSE_STR;\n const trueEventName = (eventNameToString ? eventNameToString(eventName) : eventName) + TRUE_STR;\n const symbol = ZONE_SYMBOL_PREFIX + falseEventName;\n const symbolCapture = ZONE_SYMBOL_PREFIX + trueEventName;\n zoneSymbolEventNames[eventName] = {};\n zoneSymbolEventNames[eventName][FALSE_STR] = symbol;\n zoneSymbolEventNames[eventName][TRUE_STR] = symbolCapture;\n}\nfunction patchEventTarget(_global, api, apis, patchOptions) {\n const ADD_EVENT_LISTENER = (patchOptions && patchOptions.add) || ADD_EVENT_LISTENER_STR;\n const REMOVE_EVENT_LISTENER = (patchOptions && patchOptions.rm) || REMOVE_EVENT_LISTENER_STR;\n const LISTENERS_EVENT_LISTENER = (patchOptions && patchOptions.listeners) || 'eventListeners';\n const REMOVE_ALL_LISTENERS_EVENT_LISTENER = (patchOptions && patchOptions.rmAll) || 'removeAllListeners';\n const zoneSymbolAddEventListener = zoneSymbol(ADD_EVENT_LISTENER);\n const ADD_EVENT_LISTENER_SOURCE = '.' + ADD_EVENT_LISTENER + ':';\n const PREPEND_EVENT_LISTENER = 'prependListener';\n const PREPEND_EVENT_LISTENER_SOURCE = '.' + PREPEND_EVENT_LISTENER + ':';\n const invokeTask = function (task, target, event) {\n // for better performance, check isRemoved which is set\n // by removeEventListener\n if (task.isRemoved) {\n return;\n }\n const delegate = task.callback;\n if (typeof delegate === 'object' && delegate.handleEvent) {\n // create the bind version of handleEvent when invoke\n task.callback = (event) => delegate.handleEvent(event);\n task.originalDelegate = delegate;\n }\n // invoke static task.invoke\n // need to try/catch error here, otherwise, the error in one event listener\n // will break the executions of the other event listeners. Also error will\n // not remove the event listener when `once` options is true.\n let error;\n try {\n task.invoke(task, target, [event]);\n }\n catch (err) {\n error = err;\n }\n const options = task.options;\n if (options && typeof options === 'object' && options.once) {\n // if options.once is true, after invoke once remove listener here\n // only browser need to do this, nodejs eventEmitter will cal removeListener\n // inside EventEmitter.once\n const delegate = task.originalDelegate ? task.originalDelegate : task.callback;\n target[REMOVE_EVENT_LISTENER].call(target, event.type, delegate, options);\n }\n return error;\n };\n function globalCallback(context, event, isCapture) {\n // https://github.com/angular/zone.js/issues/911, in IE, sometimes\n // event will be undefined, so we need to use window.event\n event = event || _global.event;\n if (!event) {\n return;\n }\n // event.target is needed for Samsung TV and SourceBuffer\n // || global is needed https://github.com/angular/zone.js/issues/190\n const target = context || event.target || _global;\n const tasks = target[zoneSymbolEventNames[event.type][isCapture ? TRUE_STR : FALSE_STR]];\n if (tasks) {\n const errors = [];\n // invoke all tasks which attached to current target with given event.type and capture = false\n // for performance concern, if task.length === 1, just invoke\n if (tasks.length === 1) {\n const err = invokeTask(tasks[0], target, event);\n err && errors.push(err);\n }\n else {\n // https://github.com/angular/zone.js/issues/836\n // copy the tasks array before invoke, to avoid\n // the callback will remove itself or other listener\n const copyTasks = tasks.slice();\n for (let i = 0; i < copyTasks.length; i++) {\n if (event && event[IMMEDIATE_PROPAGATION_SYMBOL] === true) {\n break;\n }\n const err = invokeTask(copyTasks[i], target, event);\n err && errors.push(err);\n }\n }\n // Since there is only one error, we don't need to schedule microTask\n // to throw the error.\n if (errors.length === 1) {\n throw errors[0];\n }\n else {\n for (let i = 0; i < errors.length; i++) {\n const err = errors[i];\n api.nativeScheduleMicroTask(() => {\n throw err;\n });\n }\n }\n }\n }\n // global shared zoneAwareCallback to handle all event callback with capture = false\n const globalZoneAwareCallback = function (event) {\n return globalCallback(this, event, false);\n };\n // global shared zoneAwareCallback to handle all event callback with capture = true\n const globalZoneAwareCaptureCallback = function (event) {\n return globalCallback(this, event, true);\n };\n function patchEventTargetMethods(obj, patchOptions) {\n if (!obj) {\n return false;\n }\n let useGlobalCallback = true;\n if (patchOptions && patchOptions.useG !== undefined) {\n useGlobalCallback = patchOptions.useG;\n }\n const validateHandler = patchOptions && patchOptions.vh;\n let checkDuplicate = true;\n if (patchOptions && patchOptions.chkDup !== undefined) {\n checkDuplicate = patchOptions.chkDup;\n }\n let returnTarget = false;\n if (patchOptions && patchOptions.rt !== undefined) {\n returnTarget = patchOptions.rt;\n }\n let proto = obj;\n while (proto && !proto.hasOwnProperty(ADD_EVENT_LISTENER)) {\n proto = ObjectGetPrototypeOf(proto);\n }\n if (!proto && obj[ADD_EVENT_LISTENER]) {\n // somehow we did not find it, but we can see it. This happens on IE for Window properties.\n proto = obj;\n }\n if (!proto) {\n return false;\n }\n if (proto[zoneSymbolAddEventListener]) {\n return false;\n }\n const eventNameToString = patchOptions && patchOptions.eventNameToString;\n // a shared global taskData to pass data for scheduleEventTask\n // so we do not need to create a new object just for pass some data\n const taskData = {};\n const nativeAddEventListener = proto[zoneSymbolAddEventListener] = proto[ADD_EVENT_LISTENER];\n const nativeRemoveEventListener = proto[zoneSymbol(REMOVE_EVENT_LISTENER)] =\n proto[REMOVE_EVENT_LISTENER];\n const nativeListeners = proto[zoneSymbol(LISTENERS_EVENT_LISTENER)] =\n proto[LISTENERS_EVENT_LISTENER];\n const nativeRemoveAllListeners = proto[zoneSymbol(REMOVE_ALL_LISTENERS_EVENT_LISTENER)] =\n proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER];\n let nativePrependEventListener;\n if (patchOptions && patchOptions.prepend) {\n nativePrependEventListener = proto[zoneSymbol(patchOptions.prepend)] =\n proto[patchOptions.prepend];\n }\n /**\n * This util function will build an option object with passive option\n * to handle all possible input from the user.\n */\n function buildEventListenerOptions(options, passive) {\n if (!passiveSupported && typeof options === 'object' && options) {\n // doesn't support passive but user want to pass an object as options.\n // this will not work on some old browser, so we just pass a boolean\n // as useCapture parameter\n return !!options.capture;\n }\n if (!passiveSupported || !passive) {\n return options;\n }\n if (typeof options === 'boolean') {\n return { capture: options, passive: true };\n }\n if (!options) {\n return { passive: true };\n }\n if (typeof options === 'object' && options.passive !== false) {\n return { ...options, passive: true };\n }\n return options;\n }\n const customScheduleGlobal = function (task) {\n // if there is already a task for the eventName + capture,\n // just return, because we use the shared globalZoneAwareCallback here.\n if (taskData.isExisting) {\n return;\n }\n return nativeAddEventListener.call(taskData.target, taskData.eventName, taskData.capture ? globalZoneAwareCaptureCallback : globalZoneAwareCallback, taskData.options);\n };\n const customCancelGlobal = function (task) {\n // if task is not marked as isRemoved, this call is directly\n // from Zone.prototype.cancelTask, we should remove the task\n // from tasksList of target first\n if (!task.isRemoved) {\n const symbolEventNames = zoneSymbolEventNames[task.eventName];\n let symbolEventName;\n if (symbolEventNames) {\n symbolEventName = symbolEventNames[task.capture ? TRUE_STR : FALSE_STR];\n }\n const existingTasks = symbolEventName && task.target[symbolEventName];\n if (existingTasks) {\n for (let i = 0; i < existingTasks.length; i++) {\n const existingTask = existingTasks[i];\n if (existingTask === task) {\n existingTasks.splice(i, 1);\n // set isRemoved to data for faster invokeTask check\n task.isRemoved = true;\n if (existingTasks.length === 0) {\n // all tasks for the eventName + capture have gone,\n // remove globalZoneAwareCallback and remove the task cache from target\n task.allRemoved = true;\n task.target[symbolEventName] = null;\n }\n break;\n }\n }\n }\n }\n // if all tasks for the eventName + capture have gone,\n // we will really remove the global event callback,\n // if not, return\n if (!task.allRemoved) {\n return;\n }\n return nativeRemoveEventListener.call(task.target, task.eventName, task.capture ? globalZoneAwareCaptureCallback : globalZoneAwareCallback, task.options);\n };\n const customScheduleNonGlobal = function (task) {\n return nativeAddEventListener.call(taskData.target, taskData.eventName, task.invoke, taskData.options);\n };\n const customSchedulePrepend = function (task) {\n return nativePrependEventListener.call(taskData.target, taskData.eventName, task.invoke, taskData.options);\n };\n const customCancelNonGlobal = function (task) {\n return nativeRemoveEventListener.call(task.target, task.eventName, task.invoke, task.options);\n };\n const customSchedule = useGlobalCallback ? customScheduleGlobal : customScheduleNonGlobal;\n const customCancel = useGlobalCallback ? customCancelGlobal : customCancelNonGlobal;\n const compareTaskCallbackVsDelegate = function (task, delegate) {\n const typeOfDelegate = typeof delegate;\n return (typeOfDelegate === 'function' && task.callback === delegate) ||\n (typeOfDelegate === 'object' && task.originalDelegate === delegate);\n };\n const compare = (patchOptions && patchOptions.diff) ? patchOptions.diff : compareTaskCallbackVsDelegate;\n const unpatchedEvents = Zone[zoneSymbol('UNPATCHED_EVENTS')];\n const passiveEvents = _global[zoneSymbol('PASSIVE_EVENTS')];\n const makeAddListener = function (nativeListener, addSource, customScheduleFn, customCancelFn, returnTarget = false, prepend = false) {\n return function () {\n const target = this || _global;\n let eventName = arguments[0];\n if (patchOptions && patchOptions.transferEventName) {\n eventName = patchOptions.transferEventName(eventName);\n }\n let delegate = arguments[1];\n if (!delegate) {\n return nativeListener.apply(this, arguments);\n }\n if (isNode && eventName === 'uncaughtException') {\n // don't patch uncaughtException of nodejs to prevent endless loop\n return nativeListener.apply(this, arguments);\n }\n // don't create the bind delegate function for handleEvent\n // case here to improve addEventListener performance\n // we will create the bind delegate when invoke\n let isHandleEvent = false;\n if (typeof delegate !== 'function') {\n if (!delegate.handleEvent) {\n return nativeListener.apply(this, arguments);\n }\n isHandleEvent = true;\n }\n if (validateHandler && !validateHandler(nativeListener, delegate, target, arguments)) {\n return;\n }\n const passive = passiveSupported && !!passiveEvents && passiveEvents.indexOf(eventName) !== -1;\n const options = buildEventListenerOptions(arguments[2], passive);\n if (unpatchedEvents) {\n // check unpatched list\n for (let i = 0; i < unpatchedEvents.length; i++) {\n if (eventName === unpatchedEvents[i]) {\n if (passive) {\n return nativeListener.call(target, eventName, delegate, options);\n }\n else {\n return nativeListener.apply(this, arguments);\n }\n }\n }\n }\n const capture = !options ? false : typeof options === 'boolean' ? true : options.capture;\n const once = options && typeof options === 'object' ? options.once : false;\n const zone = Zone.current;\n let symbolEventNames = zoneSymbolEventNames[eventName];\n if (!symbolEventNames) {\n prepareEventNames(eventName, eventNameToString);\n symbolEventNames = zoneSymbolEventNames[eventName];\n }\n const symbolEventName = symbolEventNames[capture ? TRUE_STR : FALSE_STR];\n let existingTasks = target[symbolEventName];\n let isExisting = false;\n if (existingTasks) {\n // already have task registered\n isExisting = true;\n if (checkDuplicate) {\n for (let i = 0; i < existingTasks.length; i++) {\n if (compare(existingTasks[i], delegate)) {\n // same callback, same capture, same event name, just return\n return;\n }\n }\n }\n }\n else {\n existingTasks = target[symbolEventName] = [];\n }\n let source;\n const constructorName = target.constructor['name'];\n const targetSource = globalSources[constructorName];\n if (targetSource) {\n source = targetSource[eventName];\n }\n if (!source) {\n source = constructorName + addSource +\n (eventNameToString ? eventNameToString(eventName) : eventName);\n }\n // do not create a new object as task.data to pass those things\n // just use the global shared one\n taskData.options = options;\n if (once) {\n // if addEventListener with once options, we don't pass it to\n // native addEventListener, instead we keep the once setting\n // and handle ourselves.\n taskData.options.once = false;\n }\n taskData.target = target;\n taskData.capture = capture;\n taskData.eventName = eventName;\n taskData.isExisting = isExisting;\n const data = useGlobalCallback ? OPTIMIZED_ZONE_EVENT_TASK_DATA : undefined;\n // keep taskData into data to allow onScheduleEventTask to access the task information\n if (data) {\n data.taskData = taskData;\n }\n const task = zone.scheduleEventTask(source, delegate, data, customScheduleFn, customCancelFn);\n // should clear taskData.target to avoid memory leak\n // issue, https://github.com/angular/angular/issues/20442\n taskData.target = null;\n // need to clear up taskData because it is a global object\n if (data) {\n data.taskData = null;\n }\n // have to save those information to task in case\n // application may call task.zone.cancelTask() directly\n if (once) {\n options.once = true;\n }\n if (!(!passiveSupported && typeof task.options === 'boolean')) {\n // if not support passive, and we pass an option object\n // to addEventListener, we should save the options to task\n task.options = options;\n }\n task.target = target;\n task.capture = capture;\n task.eventName = eventName;\n if (isHandleEvent) {\n // save original delegate for compare to check duplicate\n task.originalDelegate = delegate;\n }\n if (!prepend) {\n existingTasks.push(task);\n }\n else {\n existingTasks.unshift(task);\n }\n if (returnTarget) {\n return target;\n }\n };\n };\n proto[ADD_EVENT_LISTENER] = makeAddListener(nativeAddEventListener, ADD_EVENT_LISTENER_SOURCE, customSchedule, customCancel, returnTarget);\n if (nativePrependEventListener) {\n proto[PREPEND_EVENT_LISTENER] = makeAddListener(nativePrependEventListener, PREPEND_EVENT_LISTENER_SOURCE, customSchedulePrepend, customCancel, returnTarget, true);\n }\n proto[REMOVE_EVENT_LISTENER] = function () {\n const target = this || _global;\n let eventName = arguments[0];\n if (patchOptions && patchOptions.transferEventName) {\n eventName = patchOptions.transferEventName(eventName);\n }\n const options = arguments[2];\n const capture = !options ? false : typeof options === 'boolean' ? true : options.capture;\n const delegate = arguments[1];\n if (!delegate) {\n return nativeRemoveEventListener.apply(this, arguments);\n }\n if (validateHandler &&\n !validateHandler(nativeRemoveEventListener, delegate, target, arguments)) {\n return;\n }\n const symbolEventNames = zoneSymbolEventNames[eventName];\n let symbolEventName;\n if (symbolEventNames) {\n symbolEventName = symbolEventNames[capture ? TRUE_STR : FALSE_STR];\n }\n const existingTasks = symbolEventName && target[symbolEventName];\n if (existingTasks) {\n for (let i = 0; i < existingTasks.length; i++) {\n const existingTask = existingTasks[i];\n if (compare(existingTask, delegate)) {\n existingTasks.splice(i, 1);\n // set isRemoved to data for faster invokeTask check\n existingTask.isRemoved = true;\n if (existingTasks.length === 0) {\n // all tasks for the eventName + capture have gone,\n // remove globalZoneAwareCallback and remove the task cache from target\n existingTask.allRemoved = true;\n target[symbolEventName] = null;\n // in the target, we have an event listener which is added by on_property\n // such as target.onclick = function() {}, so we need to clear this internal\n // property too if all delegates all removed\n if (typeof eventName === 'string') {\n const onPropertySymbol = ZONE_SYMBOL_PREFIX + 'ON_PROPERTY' + eventName;\n target[onPropertySymbol] = null;\n }\n }\n existingTask.zone.cancelTask(existingTask);\n if (returnTarget) {\n return target;\n }\n return;\n }\n }\n }\n // issue 930, didn't find the event name or callback\n // from zone kept existingTasks, the callback maybe\n // added outside of zone, we need to call native removeEventListener\n // to try to remove it.\n return nativeRemoveEventListener.apply(this, arguments);\n };\n proto[LISTENERS_EVENT_LISTENER] = function () {\n const target = this || _global;\n let eventName = arguments[0];\n if (patchOptions && patchOptions.transferEventName) {\n eventName = patchOptions.transferEventName(eventName);\n }\n const listeners = [];\n const tasks = findEventTasks(target, eventNameToString ? eventNameToString(eventName) : eventName);\n for (let i = 0; i < tasks.length; i++) {\n const task = tasks[i];\n let delegate = task.originalDelegate ? task.originalDelegate : task.callback;\n listeners.push(delegate);\n }\n return listeners;\n };\n proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER] = function () {\n const target = this || _global;\n let eventName = arguments[0];\n if (!eventName) {\n const keys = Object.keys(target);\n for (let i = 0; i < keys.length; i++) {\n const prop = keys[i];\n const match = EVENT_NAME_SYMBOL_REGX.exec(prop);\n let evtName = match && match[1];\n // in nodejs EventEmitter, removeListener event is\n // used for monitoring the removeListener call,\n // so just keep removeListener eventListener until\n // all other eventListeners are removed\n if (evtName && evtName !== 'removeListener') {\n this[REMOVE_ALL_LISTENERS_EVENT_LISTENER].call(this, evtName);\n }\n }\n // remove removeListener listener finally\n this[REMOVE_ALL_LISTENERS_EVENT_LISTENER].call(this, 'removeListener');\n }\n else {\n if (patchOptions && patchOptions.transferEventName) {\n eventName = patchOptions.transferEventName(eventName);\n }\n const symbolEventNames = zoneSymbolEventNames[eventName];\n if (symbolEventNames) {\n const symbolEventName = symbolEventNames[FALSE_STR];\n const symbolCaptureEventName = symbolEventNames[TRUE_STR];\n const tasks = target[symbolEventName];\n const captureTasks = target[symbolCaptureEventName];\n if (tasks) {\n const removeTasks = tasks.slice();\n for (let i = 0; i < removeTasks.length; i++) {\n const task = removeTasks[i];\n let delegate = task.originalDelegate ? task.originalDelegate : task.callback;\n this[REMOVE_EVENT_LISTENER].call(this, eventName, delegate, task.options);\n }\n }\n if (captureTasks) {\n const removeTasks = captureTasks.slice();\n for (let i = 0; i < removeTasks.length; i++) {\n const task = removeTasks[i];\n let delegate = task.originalDelegate ? task.originalDelegate : task.callback;\n this[REMOVE_EVENT_LISTENER].call(this, eventName, delegate, task.options);\n }\n }\n }\n }\n if (returnTarget) {\n return this;\n }\n };\n // for native toString patch\n attachOriginToPatched(proto[ADD_EVENT_LISTENER], nativeAddEventListener);\n attachOriginToPatched(proto[REMOVE_EVENT_LISTENER], nativeRemoveEventListener);\n if (nativeRemoveAllListeners) {\n attachOriginToPatched(proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER], nativeRemoveAllListeners);\n }\n if (nativeListeners) {\n attachOriginToPatched(proto[LISTENERS_EVENT_LISTENER], nativeListeners);\n }\n return true;\n }\n let results = [];\n for (let i = 0; i < apis.length; i++) {\n results[i] = patchEventTargetMethods(apis[i], patchOptions);\n }\n return results;\n}\nfunction findEventTasks(target, eventName) {\n if (!eventName) {\n const foundTasks = [];\n for (let prop in target) {\n const match = EVENT_NAME_SYMBOL_REGX.exec(prop);\n let evtName = match && match[1];\n if (evtName && (!eventName || evtName === eventName)) {\n const tasks = target[prop];\n if (tasks) {\n for (let i = 0; i < tasks.length; i++) {\n foundTasks.push(tasks[i]);\n }\n }\n }\n }\n return foundTasks;\n }\n let symbolEventName = zoneSymbolEventNames[eventName];\n if (!symbolEventName) {\n prepareEventNames(eventName);\n symbolEventName = zoneSymbolEventNames[eventName];\n }\n const captureFalseTasks = target[symbolEventName[FALSE_STR]];\n const captureTrueTasks = target[symbolEventName[TRUE_STR]];\n if (!captureFalseTasks) {\n return captureTrueTasks ? captureTrueTasks.slice() : [];\n }\n else {\n return captureTrueTasks ? captureFalseTasks.concat(captureTrueTasks) :\n captureFalseTasks.slice();\n }\n}\nfunction patchEventPrototype(global, api) {\n const Event = global['Event'];\n if (Event && Event.prototype) {\n api.patchMethod(Event.prototype, 'stopImmediatePropagation', (delegate) => function (self, args) {\n self[IMMEDIATE_PROPAGATION_SYMBOL] = true;\n // we need to call the native stopImmediatePropagation\n // in case in some hybrid application, some part of\n // application will be controlled by zone, some are not\n delegate && delegate.apply(self, args);\n });\n }\n}\n\nfunction patchCallbacks(api, target, targetName, method, callbacks) {\n const symbol = Zone.__symbol__(method);\n if (target[symbol]) {\n return;\n }\n const nativeDelegate = target[symbol] = target[method];\n target[method] = function (name, opts, options) {\n if (opts && opts.prototype) {\n callbacks.forEach(function (callback) {\n const source = `${targetName}.${method}::` + callback;\n const prototype = opts.prototype;\n // Note: the `patchCallbacks` is used for patching the `document.registerElement` and\n // `customElements.define`. We explicitly wrap the patching code into try-catch since\n // callbacks may be already patched by other web components frameworks (e.g. LWC), and they\n // make those properties non-writable. This means that patching callback will throw an error\n // `cannot assign to read-only property`. See this code as an example:\n // https://github.com/salesforce/lwc/blob/master/packages/@lwc/engine-core/src/framework/base-bridge-element.ts#L180-L186\n // We don't want to stop the application rendering if we couldn't patch some\n // callback, e.g. `attributeChangedCallback`.\n try {\n if (prototype.hasOwnProperty(callback)) {\n const descriptor = api.ObjectGetOwnPropertyDescriptor(prototype, callback);\n if (descriptor && descriptor.value) {\n descriptor.value = api.wrapWithCurrentZone(descriptor.value, source);\n api._redefineProperty(opts.prototype, callback, descriptor);\n }\n else if (prototype[callback]) {\n prototype[callback] = api.wrapWithCurrentZone(prototype[callback], source);\n }\n }\n else if (prototype[callback]) {\n prototype[callback] = api.wrapWithCurrentZone(prototype[callback], source);\n }\n }\n catch {\n // Note: we leave the catch block empty since there's no way to handle the error related\n // to non-writable property.\n }\n });\n }\n return nativeDelegate.call(target, name, opts, options);\n };\n api.attachOriginToPatched(target[method], nativeDelegate);\n}\n\n/**\n * @fileoverview\n * @suppress {globalThis}\n */\nfunction filterProperties(target, onProperties, ignoreProperties) {\n if (!ignoreProperties || ignoreProperties.length === 0) {\n return onProperties;\n }\n const tip = ignoreProperties.filter(ip => ip.target === target);\n if (!tip || tip.length === 0) {\n return onProperties;\n }\n const targetIgnoreProperties = tip[0].ignoreProperties;\n return onProperties.filter(op => targetIgnoreProperties.indexOf(op) === -1);\n}\nfunction patchFilteredProperties(target, onProperties, ignoreProperties, prototype) {\n // check whether target is available, sometimes target will be undefined\n // because different browser or some 3rd party plugin.\n if (!target) {\n return;\n }\n const filteredProperties = filterProperties(target, onProperties, ignoreProperties);\n patchOnProperties(target, filteredProperties, prototype);\n}\n/**\n * Get all event name properties which the event name startsWith `on`\n * from the target object itself, inherited properties are not considered.\n */\nfunction getOnEventNames(target) {\n return Object.getOwnPropertyNames(target)\n .filter(name => name.startsWith('on') && name.length > 2)\n .map(name => name.substring(2));\n}\nfunction propertyDescriptorPatch(api, _global) {\n if (isNode && !isMix) {\n return;\n }\n if (Zone[api.symbol('patchEvents')]) {\n // events are already been patched by legacy patch.\n return;\n }\n const ignoreProperties = _global['__Zone_ignore_on_properties'];\n // for browsers that we can patch the descriptor: Chrome & Firefox\n let patchTargets = [];\n if (isBrowser) {\n const internalWindow = window;\n patchTargets = patchTargets.concat([\n 'Document', 'SVGElement', 'Element', 'HTMLElement', 'HTMLBodyElement', 'HTMLMediaElement',\n 'HTMLFrameSetElement', 'HTMLFrameElement', 'HTMLIFrameElement', 'HTMLMarqueeElement', 'Worker'\n ]);\n const ignoreErrorProperties = isIE() ? [{ target: internalWindow, ignoreProperties: ['error'] }] : [];\n // in IE/Edge, onProp not exist in window object, but in WindowPrototype\n // so we need to pass WindowPrototype to check onProp exist or not\n patchFilteredProperties(internalWindow, getOnEventNames(internalWindow), ignoreProperties ? ignoreProperties.concat(ignoreErrorProperties) : ignoreProperties, ObjectGetPrototypeOf(internalWindow));\n }\n patchTargets = patchTargets.concat([\n 'XMLHttpRequest', 'XMLHttpRequestEventTarget', 'IDBIndex', 'IDBRequest', 'IDBOpenDBRequest',\n 'IDBDatabase', 'IDBTransaction', 'IDBCursor', 'WebSocket'\n ]);\n for (let i = 0; i < patchTargets.length; i++) {\n const target = _global[patchTargets[i]];\n target && target.prototype &&\n patchFilteredProperties(target.prototype, getOnEventNames(target.prototype), ignoreProperties);\n }\n}\n\nZone.__load_patch('util', (global, Zone, api) => {\n // Collect native event names by looking at properties\n // on the global namespace, e.g. 'onclick'.\n const eventNames = getOnEventNames(global);\n api.patchOnProperties = patchOnProperties;\n api.patchMethod = patchMethod;\n api.bindArguments = bindArguments;\n api.patchMacroTask = patchMacroTask;\n // In earlier version of zone.js (<0.9.0), we use env name `__zone_symbol__BLACK_LISTED_EVENTS` to\n // define which events will not be patched by `Zone.js`.\n // In newer version (>=0.9.0), we change the env name to `__zone_symbol__UNPATCHED_EVENTS` to keep\n // the name consistent with angular repo.\n // The `__zone_symbol__BLACK_LISTED_EVENTS` is deprecated, but it is still be supported for\n // backwards compatibility.\n const SYMBOL_BLACK_LISTED_EVENTS = Zone.__symbol__('BLACK_LISTED_EVENTS');\n const SYMBOL_UNPATCHED_EVENTS = Zone.__symbol__('UNPATCHED_EVENTS');\n if (global[SYMBOL_UNPATCHED_EVENTS]) {\n global[SYMBOL_BLACK_LISTED_EVENTS] = global[SYMBOL_UNPATCHED_EVENTS];\n }\n if (global[SYMBOL_BLACK_LISTED_EVENTS]) {\n Zone[SYMBOL_BLACK_LISTED_EVENTS] = Zone[SYMBOL_UNPATCHED_EVENTS] =\n global[SYMBOL_BLACK_LISTED_EVENTS];\n }\n api.patchEventPrototype = patchEventPrototype;\n api.patchEventTarget = patchEventTarget;\n api.isIEOrEdge = isIEOrEdge;\n api.ObjectDefineProperty = ObjectDefineProperty;\n api.ObjectGetOwnPropertyDescriptor = ObjectGetOwnPropertyDescriptor;\n api.ObjectCreate = ObjectCreate;\n api.ArraySlice = ArraySlice;\n api.patchClass = patchClass;\n api.wrapWithCurrentZone = wrapWithCurrentZone;\n api.filterProperties = filterProperties;\n api.attachOriginToPatched = attachOriginToPatched;\n api._redefineProperty = Object.defineProperty;\n api.patchCallbacks = patchCallbacks;\n api.getGlobalObjects = () => ({\n globalSources,\n zoneSymbolEventNames,\n eventNames,\n isBrowser,\n isMix,\n isNode,\n TRUE_STR,\n FALSE_STR,\n ZONE_SYMBOL_PREFIX,\n ADD_EVENT_LISTENER_STR,\n REMOVE_EVENT_LISTENER_STR\n });\n});\n\n/**\n * @fileoverview\n * @suppress {missingRequire}\n */\nconst taskSymbol = zoneSymbol('zoneTask');\nfunction patchTimer(window, setName, cancelName, nameSuffix) {\n let setNative = null;\n let clearNative = null;\n setName += nameSuffix;\n cancelName += nameSuffix;\n const tasksByHandleId = {};\n function scheduleTask(task) {\n const data = task.data;\n data.args[0] = function () {\n return task.invoke.apply(this, arguments);\n };\n data.handleId = setNative.apply(window, data.args);\n return task;\n }\n function clearTask(task) {\n return clearNative.call(window, task.data.handleId);\n }\n setNative =\n patchMethod(window, setName, (delegate) => function (self, args) {\n if (typeof args[0] === 'function') {\n const options = {\n isPeriodic: nameSuffix === 'Interval',\n delay: (nameSuffix === 'Timeout' || nameSuffix === 'Interval') ? args[1] || 0 :\n undefined,\n args: args\n };\n const callback = args[0];\n args[0] = function timer() {\n try {\n return callback.apply(this, arguments);\n }\n finally {\n // issue-934, task will be cancelled\n // even it is a periodic task such as\n // setInterval\n // https://github.com/angular/angular/issues/40387\n // Cleanup tasksByHandleId should be handled before scheduleTask\n // Since some zoneSpec may intercept and doesn't trigger\n // scheduleFn(scheduleTask) provided here.\n if (!(options.isPeriodic)) {\n if (typeof options.handleId === 'number') {\n // in non-nodejs env, we remove timerId\n // from local cache\n delete tasksByHandleId[options.handleId];\n }\n else if (options.handleId) {\n // Node returns complex objects as handleIds\n // we remove task reference from timer object\n options.handleId[taskSymbol] = null;\n }\n }\n }\n };\n const task = scheduleMacroTaskWithCurrentZone(setName, args[0], options, scheduleTask, clearTask);\n if (!task) {\n return task;\n }\n // Node.js must additionally support the ref and unref functions.\n const handle = task.data.handleId;\n if (typeof handle === 'number') {\n // for non nodejs env, we save handleId: task\n // mapping in local cache for clearTimeout\n tasksByHandleId[handle] = task;\n }\n else if (handle) {\n // for nodejs env, we save task\n // reference in timerId Object for clearTimeout\n handle[taskSymbol] = task;\n }\n // check whether handle is null, because some polyfill or browser\n // may return undefined from setTimeout/setInterval/setImmediate/requestAnimationFrame\n if (handle && handle.ref && handle.unref && typeof handle.ref === 'function' &&\n typeof handle.unref === 'function') {\n task.ref = handle.ref.bind(handle);\n task.unref = handle.unref.bind(handle);\n }\n if (typeof handle === 'number' || handle) {\n return handle;\n }\n return task;\n }\n else {\n // cause an error by calling it directly.\n return delegate.apply(window, args);\n }\n });\n clearNative =\n patchMethod(window, cancelName, (delegate) => function (self, args) {\n const id = args[0];\n let task;\n if (typeof id === 'number') {\n // non nodejs env.\n task = tasksByHandleId[id];\n }\n else {\n // nodejs env.\n task = id && id[taskSymbol];\n // other environments.\n if (!task) {\n task = id;\n }\n }\n if (task && typeof task.type === 'string') {\n if (task.state !== 'notScheduled' &&\n (task.cancelFn && task.data.isPeriodic || task.runCount === 0)) {\n if (typeof id === 'number') {\n delete tasksByHandleId[id];\n }\n else if (id) {\n id[taskSymbol] = null;\n }\n // Do not cancel already canceled functions\n task.zone.cancelTask(task);\n }\n }\n else {\n // cause an error by calling it directly.\n delegate.apply(window, args);\n }\n });\n}\n\nfunction patchCustomElements(_global, api) {\n const { isBrowser, isMix } = api.getGlobalObjects();\n if ((!isBrowser && !isMix) || !_global['customElements'] || !('customElements' in _global)) {\n return;\n }\n const callbacks = ['connectedCallback', 'disconnectedCallback', 'adoptedCallback', 'attributeChangedCallback'];\n api.patchCallbacks(api, _global.customElements, 'customElements', 'define', callbacks);\n}\n\nfunction eventTargetPatch(_global, api) {\n if (Zone[api.symbol('patchEventTarget')]) {\n // EventTarget is already patched.\n return;\n }\n const { eventNames, zoneSymbolEventNames, TRUE_STR, FALSE_STR, ZONE_SYMBOL_PREFIX } = api.getGlobalObjects();\n // predefine all __zone_symbol__ + eventName + true/false string\n for (let i = 0; i < eventNames.length; i++) {\n const eventName = eventNames[i];\n const falseEventName = eventName + FALSE_STR;\n const trueEventName = eventName + TRUE_STR;\n const symbol = ZONE_SYMBOL_PREFIX + falseEventName;\n const symbolCapture = ZONE_SYMBOL_PREFIX + trueEventName;\n zoneSymbolEventNames[eventName] = {};\n zoneSymbolEventNames[eventName][FALSE_STR] = symbol;\n zoneSymbolEventNames[eventName][TRUE_STR] = symbolCapture;\n }\n const EVENT_TARGET = _global['EventTarget'];\n if (!EVENT_TARGET || !EVENT_TARGET.prototype) {\n return;\n }\n api.patchEventTarget(_global, api, [EVENT_TARGET && EVENT_TARGET.prototype]);\n return true;\n}\nfunction patchEvent(global, api) {\n api.patchEventPrototype(global, api);\n}\n\n/**\n * @fileoverview\n * @suppress {missingRequire}\n */\nZone.__load_patch('legacy', (global) => {\n const legacyPatch = global[Zone.__symbol__('legacyPatch')];\n if (legacyPatch) {\n legacyPatch();\n }\n});\nZone.__load_patch('queueMicrotask', (global, Zone, api) => {\n api.patchMethod(global, 'queueMicrotask', delegate => {\n return function (self, args) {\n Zone.current.scheduleMicroTask('queueMicrotask', args[0]);\n };\n });\n});\nZone.__load_patch('timers', (global) => {\n const set = 'set';\n const clear = 'clear';\n patchTimer(global, set, clear, 'Timeout');\n patchTimer(global, set, clear, 'Interval');\n patchTimer(global, set, clear, 'Immediate');\n});\nZone.__load_patch('requestAnimationFrame', (global) => {\n patchTimer(global, 'request', 'cancel', 'AnimationFrame');\n patchTimer(global, 'mozRequest', 'mozCancel', 'AnimationFrame');\n patchTimer(global, 'webkitRequest', 'webkitCancel', 'AnimationFrame');\n});\nZone.__load_patch('blocking', (global, Zone) => {\n const blockingMethods = ['alert', 'prompt', 'confirm'];\n for (let i = 0; i < blockingMethods.length; i++) {\n const name = blockingMethods[i];\n patchMethod(global, name, (delegate, symbol, name) => {\n return function (s, args) {\n return Zone.current.run(delegate, global, args, name);\n };\n });\n }\n});\nZone.__load_patch('EventTarget', (global, Zone, api) => {\n patchEvent(global, api);\n eventTargetPatch(global, api);\n // patch XMLHttpRequestEventTarget's addEventListener/removeEventListener\n const XMLHttpRequestEventTarget = global['XMLHttpRequestEventTarget'];\n if (XMLHttpRequestEventTarget && XMLHttpRequestEventTarget.prototype) {\n api.patchEventTarget(global, api, [XMLHttpRequestEventTarget.prototype]);\n }\n});\nZone.__load_patch('MutationObserver', (global, Zone, api) => {\n patchClass('MutationObserver');\n patchClass('WebKitMutationObserver');\n});\nZone.__load_patch('IntersectionObserver', (global, Zone, api) => {\n patchClass('IntersectionObserver');\n});\nZone.__load_patch('FileReader', (global, Zone, api) => {\n patchClass('FileReader');\n});\nZone.__load_patch('on_property', (global, Zone, api) => {\n propertyDescriptorPatch(api, global);\n});\nZone.__load_patch('customElements', (global, Zone, api) => {\n patchCustomElements(global, api);\n});\nZone.__load_patch('XHR', (global, Zone) => {\n // Treat XMLHttpRequest as a macrotask.\n patchXHR(global);\n const XHR_TASK = zoneSymbol('xhrTask');\n const XHR_SYNC = zoneSymbol('xhrSync');\n const XHR_LISTENER = zoneSymbol('xhrListener');\n const XHR_SCHEDULED = zoneSymbol('xhrScheduled');\n const XHR_URL = zoneSymbol('xhrURL');\n const XHR_ERROR_BEFORE_SCHEDULED = zoneSymbol('xhrErrorBeforeScheduled');\n function patchXHR(window) {\n const XMLHttpRequest = window['XMLHttpRequest'];\n if (!XMLHttpRequest) {\n // XMLHttpRequest is not available in service worker\n return;\n }\n const XMLHttpRequestPrototype = XMLHttpRequest.prototype;\n function findPendingTask(target) {\n return target[XHR_TASK];\n }\n let oriAddListener = XMLHttpRequestPrototype[ZONE_SYMBOL_ADD_EVENT_LISTENER];\n let oriRemoveListener = XMLHttpRequestPrototype[ZONE_SYMBOL_REMOVE_EVENT_LISTENER];\n if (!oriAddListener) {\n const XMLHttpRequestEventTarget = window['XMLHttpRequestEventTarget'];\n if (XMLHttpRequestEventTarget) {\n const XMLHttpRequestEventTargetPrototype = XMLHttpRequestEventTarget.prototype;\n oriAddListener = XMLHttpRequestEventTargetPrototype[ZONE_SYMBOL_ADD_EVENT_LISTENER];\n oriRemoveListener = XMLHttpRequestEventTargetPrototype[ZONE_SYMBOL_REMOVE_EVENT_LISTENER];\n }\n }\n const READY_STATE_CHANGE = 'readystatechange';\n const SCHEDULED = 'scheduled';\n function scheduleTask(task) {\n const data = task.data;\n const target = data.target;\n target[XHR_SCHEDULED] = false;\n target[XHR_ERROR_BEFORE_SCHEDULED] = false;\n // remove existing event listener\n const listener = target[XHR_LISTENER];\n if (!oriAddListener) {\n oriAddListener = target[ZONE_SYMBOL_ADD_EVENT_LISTENER];\n oriRemoveListener = target[ZONE_SYMBOL_REMOVE_EVENT_LISTENER];\n }\n if (listener) {\n oriRemoveListener.call(target, READY_STATE_CHANGE, listener);\n }\n const newListener = target[XHR_LISTENER] = () => {\n if (target.readyState === target.DONE) {\n // sometimes on some browsers XMLHttpRequest will fire onreadystatechange with\n // readyState=4 multiple times, so we need to check task state here\n if (!data.aborted && target[XHR_SCHEDULED] && task.state === SCHEDULED) {\n // check whether the xhr has registered onload listener\n // if that is the case, the task should invoke after all\n // onload listeners finish.\n // Also if the request failed without response (status = 0), the load event handler\n // will not be triggered, in that case, we should also invoke the placeholder callback\n // to close the XMLHttpRequest::send macroTask.\n // https://github.com/angular/angular/issues/38795\n const loadTasks = target[Zone.__symbol__('loadfalse')];\n if (target.status !== 0 && loadTasks && loadTasks.length > 0) {\n const oriInvoke = task.invoke;\n task.invoke = function () {\n // need to load the tasks again, because in other\n // load listener, they may remove themselves\n const loadTasks = target[Zone.__symbol__('loadfalse')];\n for (let i = 0; i < loadTasks.length; i++) {\n if (loadTasks[i] === task) {\n loadTasks.splice(i, 1);\n }\n }\n if (!data.aborted && task.state === SCHEDULED) {\n oriInvoke.call(task);\n }\n };\n loadTasks.push(task);\n }\n else {\n task.invoke();\n }\n }\n else if (!data.aborted && target[XHR_SCHEDULED] === false) {\n // error occurs when xhr.send()\n target[XHR_ERROR_BEFORE_SCHEDULED] = true;\n }\n }\n };\n oriAddListener.call(target, READY_STATE_CHANGE, newListener);\n const storedTask = target[XHR_TASK];\n if (!storedTask) {\n target[XHR_TASK] = task;\n }\n sendNative.apply(target, data.args);\n target[XHR_SCHEDULED] = true;\n return task;\n }\n function placeholderCallback() { }\n function clearTask(task) {\n const data = task.data;\n // Note - ideally, we would call data.target.removeEventListener here, but it's too late\n // to prevent it from firing. So instead, we store info for the event listener.\n data.aborted = true;\n return abortNative.apply(data.target, data.args);\n }\n const openNative = patchMethod(XMLHttpRequestPrototype, 'open', () => function (self, args) {\n self[XHR_SYNC] = args[2] == false;\n self[XHR_URL] = args[1];\n return openNative.apply(self, args);\n });\n const XMLHTTPREQUEST_SOURCE = 'XMLHttpRequest.send';\n const fetchTaskAborting = zoneSymbol('fetchTaskAborting');\n const fetchTaskScheduling = zoneSymbol('fetchTaskScheduling');\n const sendNative = patchMethod(XMLHttpRequestPrototype, 'send', () => function (self, args) {\n if (Zone.current[fetchTaskScheduling] === true) {\n // a fetch is scheduling, so we are using xhr to polyfill fetch\n // and because we already schedule macroTask for fetch, we should\n // not schedule a macroTask for xhr again\n return sendNative.apply(self, args);\n }\n if (self[XHR_SYNC]) {\n // if the XHR is sync there is no task to schedule, just execute the code.\n return sendNative.apply(self, args);\n }\n else {\n const options = { target: self, url: self[XHR_URL], isPeriodic: false, args: args, aborted: false };\n const task = scheduleMacroTaskWithCurrentZone(XMLHTTPREQUEST_SOURCE, placeholderCallback, options, scheduleTask, clearTask);\n if (self && self[XHR_ERROR_BEFORE_SCHEDULED] === true && !options.aborted &&\n task.state === SCHEDULED) {\n // xhr request throw error when send\n // we should invoke task instead of leaving a scheduled\n // pending macroTask\n task.invoke();\n }\n }\n });\n const abortNative = patchMethod(XMLHttpRequestPrototype, 'abort', () => function (self, args) {\n const task = findPendingTask(self);\n if (task && typeof task.type == 'string') {\n // If the XHR has already completed, do nothing.\n // If the XHR has already been aborted, do nothing.\n // Fix #569, call abort multiple times before done will cause\n // macroTask task count be negative number\n if (task.cancelFn == null || (task.data && task.data.aborted)) {\n return;\n }\n task.zone.cancelTask(task);\n }\n else if (Zone.current[fetchTaskAborting] === true) {\n // the abort is called from fetch polyfill, we need to call native abort of XHR.\n return abortNative.apply(self, args);\n }\n // Otherwise, we are trying to abort an XHR which has not yet been sent, so there is no\n // task\n // to cancel. Do nothing.\n });\n }\n});\nZone.__load_patch('geolocation', (global) => {\n /// GEO_LOCATION\n if (global['navigator'] && global['navigator'].geolocation) {\n patchPrototype(global['navigator'].geolocation, ['getCurrentPosition', 'watchPosition']);\n }\n});\nZone.__load_patch('PromiseRejectionEvent', (global, Zone) => {\n // handle unhandled promise rejection\n function findPromiseRejectionHandler(evtName) {\n return function (e) {\n const eventTasks = findEventTasks(global, evtName);\n eventTasks.forEach(eventTask => {\n // windows has added unhandledrejection event listener\n // trigger the event listener\n const PromiseRejectionEvent = global['PromiseRejectionEvent'];\n if (PromiseRejectionEvent) {\n const evt = new PromiseRejectionEvent(evtName, { promise: e.promise, reason: e.rejection });\n eventTask.invoke(evt);\n }\n });\n };\n }\n if (global['PromiseRejectionEvent']) {\n Zone[zoneSymbol('unhandledPromiseRejectionHandler')] =\n findPromiseRejectionHandler('unhandledrejection');\n Zone[zoneSymbol('rejectionHandledHandler')] =\n findPromiseRejectionHandler('rejectionhandled');\n }\n});\n","function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}\nmodule.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\nmodule.exports = _classCallCheck, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var toPropertyKey = require(\"./toPropertyKey.js\");\nfunction _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, toPropertyKey(descriptor.key), descriptor);\n }\n}\nfunction _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}\nmodule.exports = _createClass, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var unsupportedIterableToArray = require(\"./unsupportedIterableToArray.js\");\nfunction _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}\nmodule.exports = _createForOfIteratorHelper, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var toPropertyKey = require(\"./toPropertyKey.js\");\nfunction _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nmodule.exports = _defineProperty, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var defineProperty = require(\"./defineProperty.js\");\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n return keys;\n}\nfunction _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}\nmodule.exports = _objectSpread2, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nfunction _toPrimitive(input, hint) {\n if (_typeof(input) !== \"object\" || input === null) return input;\n var prim = input[Symbol.toPrimitive];\n if (prim !== undefined) {\n var res = prim.call(input, hint || \"default\");\n if (_typeof(res) !== \"object\") return res;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (hint === \"string\" ? String : Number)(input);\n}\nmodule.exports = _toPrimitive, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nvar toPrimitive = require(\"./toPrimitive.js\");\nfunction _toPropertyKey(arg) {\n var key = toPrimitive(arg, \"string\");\n return _typeof(key) === \"symbol\" ? key : String(key);\n}\nmodule.exports = _toPropertyKey, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return (module.exports = _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports), _typeof(obj);\n}\nmodule.exports = _typeof, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var arrayLikeToArray = require(\"./arrayLikeToArray.js\");\nfunction _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}\nmodule.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n// expose the module cache\n__webpack_require__.c = __webpack_module_cache__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + (chunkId === 8592 ? \"common\" : chunkId) + \".\" + {\"48\":\"0f562d23dbadf566\",\"137\":\"b987c9ab9e9e4a0c\",\"188\":\"72dfea1b62e92384\",\"233\":\"ea1826a1c9351e0d\",\"442\":\"5261795959bf57d7\",\"561\":\"c601034a41b30119\",\"565\":\"09183695f1ef31a4\",\"827\":\"8a08b90e69cfc6ba\",\"833\":\"c8215640c38aad70\",\"882\":\"8ecea003bd197edb\",\"908\":\"e1eff4c0a31f52f0\",\"919\":\"2768e0fb2f87cd5b\",\"972\":\"03d26bf8663ffa3e\",\"1041\":\"6a524365de59f24e\",\"1084\":\"937b47bd2129c294\",\"1086\":\"170a93fd8be7cc1f\",\"1187\":\"7473ea01a7222aa1\",\"1217\":\"bf9e9dcb0130fef7\",\"1328\":\"cd6b67916d3ed353\",\"1382\":\"2b2c0dd3f2a838a4\",\"1551\":\"f681c87a695c9abd\",\"1636\":\"ea4ce1e9cfbc5c19\",\"1821\":\"00aad28c06106961\",\"2035\":\"35946dc8d608ded3\",\"2049\":\"0447431515fa4c5b\",\"2069\":\"35e391d82316cce6\",\"2111\":\"16941bd519497cc4\",\"2112\":\"a686302e3e9bbb3e\",\"2124\":\"c33f9c0d968a72a1\",\"2128\":\"f0a8e700db56fb59\",\"2152\":\"0b848abf6263c322\",\"2223\":\"3e7499ae07f58573\",\"2512\":\"2d65adc8804e95d7\",\"2545\":\"7524e84597a506c1\",\"2556\":\"5668598d28607d35\",\"2621\":\"dda67a0e328267fa\",\"2666\":\"0b3b18a84c9a4165\",\"2885\":\"42c5c37545ae029e\",\"3022\":\"95d4c43ad3f85966\",\"3068\":\"fdb14802cdd50c1a\",\"3098\":\"fed4a5b0a9bb1c8c\",\"3103\":\"6e520a55c0537c2d\",\"3168\":\"570b5c6538639ea9\",\"3183\":\"6470ba84849ae4be\",\"3251\":\"62d10641c6cd5f9b\",\"3267\":\"affe96b1f59ea518\",\"3278\":\"adffad0b0fdd8e90\",\"3308\":\"a528bc6f1b781d52\",\"3326\":\"34b87cfb31ed8b06\",\"3343\":\"4f58d58183149088\",\"3348\":\"1fd3ea46becd71d6\",\"3401\":\"ea5fb771b3363471\",\"3418\":\"4255c9649af5eaf7\",\"3433\":\"2ed7cd20dad71cfc\",\"3574\":\"2f6c2aa430041f1f\",\"3597\":\"44455a50ee80dd40\",\"3662\":\"8535bb5243b8d3f8\",\"3675\":\"20413566fad33fcb\",\"3677\":\"926dba811cceb67c\",\"3730\":\"40d1b3ea8420485e\",\"3765\":\"f8d330ebbabb456e\",\"3770\":\"cddf80ea8dff6a2d\",\"3930\":\"97578bdc08b7bf9d\",\"3978\":\"c235bec8deefb1a1\",\"4049\":\"e73741c29f7fad27\",\"4055\":\"2d37691e77016310\",\"4091\":\"160c731ad85419e3\",\"4093\":\"ce05facb30566249\",\"4106\":\"a45e0bd0c9ab02a5\",\"4149\":\"4453d755aa4e5562\",\"4151\":\"72f982a3cc0d5568\",\"4155\":\"85bf1e2187f8495e\",\"4270\":\"bbc9bcd142493e25\",\"4291\":\"be3c5c5ee2f2c383\",\"4309\":\"8f8441b74a0be6b8\",\"4371\":\"5ec3b709d6088bf5\",\"4387\":\"5f60c218e7a7055f\",\"4477\":\"65c89cff06f625c1\",\"4589\":\"c0c58fd8d6ae092a\",\"4640\":\"bf671556de706900\",\"4680\":\"dca80f0114f257a5\",\"4755\":\"e219075f665d048b\",\"4843\":\"9cc79487b7ed3c03\",\"4902\":\"28ad83213bdec45d\",\"4967\":\"cd6fdeac93fac987\",\"4968\":\"4bfd65c5f3d533da\",\"4987\":\"33138ee02ba4ed0e\",\"5007\":\"31862526f240da4f\",\"5019\":\"76f28b374d5a8350\",\"5068\":\"86ffa29fdc3c2b5b\",\"5069\":\"53f13d63fe0558cb\",\"5094\":\"0672665b5e6e8b59\",\"5106\":\"926c12c126e770c2\",\"5113\":\"06c4d3be2def5d91\",\"5121\":\"f3ddb0bcc7eb6aa7\",\"5125\":\"cb6e8cbbc7ad49a7\",\"5146\":\"b387d5f410c1016d\",\"5187\":\"965705915ef13b61\",\"5321\":\"f9b4523dc3459a45\",\"5333\":\"eec4438149dc36e1\",\"5391\":\"8db302d7cdc20831\",\"5501\":\"ef2c2ee2f2ccecee\",\"5544\":\"0c122e7d49a65d8b\",\"5555\":\"29d4358f47cf82e8\",\"5598\":\"4cbade95a704b244\",\"5603\":\"e3fb7439c64f9ec3\",\"5749\":\"3443645c0dda54c3\",\"5813\":\"3ab5d6dcdf57efc2\",\"5857\":\"a5f7dcad26bc57ad\",\"5873\":\"7dbdb8681d2e2ea9\",\"5915\":\"d27f1fecd9111bee\",\"6069\":\"47ef4be18c0da5af\",\"6073\":\"5a87727e622067f7\",\"6215\":\"10b022de38e29aa9\",\"6235\":\"1cd1431b91336e1e\",\"6237\":\"404c096af053e535\",\"6297\":\"510c28b6eef50735\",\"6441\":\"1ed54299f1bb8173\",\"6477\":\"0424bf6b21aa4e25\",\"6508\":\"9d89448241dbbf53\",\"6578\":\"1dc26f3f2eb234f6\",\"6606\":\"294a628bae991e85\",\"6618\":\"f423d4017883477a\",\"6718\":\"1ccf2d2f610aaae0\",\"6748\":\"1496b15b2d5af775\",\"6763\":\"4771ea4780be6711\",\"6785\":\"56f0194b8bc6f8fb\",\"6839\":\"055ca8b6e5386f89\",\"6844\":\"232b0adce74e1ee4\",\"6892\":\"725faee0a79d78c4\",\"6896\":\"bfb8d28f7841fa68\",\"6936\":\"b38a104e439a2a69\",\"6980\":\"808708880eb725f8\",\"7018\":\"192b47f6811f0554\",\"7040\":\"ecacb27665ca69d6\",\"7131\":\"1faca00847bd973c\",\"7189\":\"b143b6038795e493\",\"7208\":\"0175d6e664789ed5\",\"7223\":\"4032628e36b2bf87\",\"7328\":\"3db0b9e4fe1dfa43\",\"7376\":\"8b32539275c4a110\",\"7405\":\"ea4cd60f6ceae128\",\"7432\":\"60cdd2184b9bcbf3\",\"7477\":\"7a3179a930219ad9\",\"7479\":\"6008e65aa0e5f337\",\"7672\":\"d97d46e89fe535ef\",\"7726\":\"7cc351de4a16ab58\",\"7888\":\"00f90ea9f58d7341\",\"7920\":\"20f071c82a068a0e\",\"8017\":\"fee44725bd625d4f\",\"8024\":\"8f695f64b9d3a742\",\"8046\":\"c6105b2ea1127aa5\",\"8061\":\"45943028350155ea\",\"8071\":\"a88180266995b878\",\"8116\":\"dc3b01ebb5427ede\",\"8142\":\"288fce7344fa2586\",\"8154\":\"6a69cbd82b63ec24\",\"8158\":\"797e810298041051\",\"8282\":\"aaa9267c610b17ec\",\"8287\":\"3f6959d00e46e8cd\",\"8352\":\"cb8b08283660350a\",\"8376\":\"4e03513f7c087c87\",\"8443\":\"de65e2a75bd1193f\",\"8467\":\"1cade2ad8c4fc9ea\",\"8488\":\"2bc4e01d9544766e\",\"8513\":\"617bf359ae892014\",\"8538\":\"708a79be94deb0d6\",\"8592\":\"d501fa65ebd77cd6\",\"8596\":\"6646ca7640e1d7e1\",\"8608\":\"b26895fdf516017a\",\"8711\":\"87826b664b7e25ce\",\"8746\":\"3969f1073f5b9dd8\",\"8750\":\"d27dfe1204dee74b\",\"8782\":\"0020aeddc828f58c\",\"8972\":\"6ca76837d34e158a\",\"9031\":\"e6e4824d40477a60\",\"9064\":\"765de6514714fbe7\",\"9101\":\"b0542315455d3ec9\",\"9490\":\"903fa36ff6f1a62c\",\"9542\":\"652f275cf72dc68f\",\"9880\":\"b05c53460a3f6d9c\"}[chunkId] + \".js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = (chunkId) => {\n\t// return url for filenames based on template\n\treturn undefined;\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","var inProgress = {};\nvar dataWebpackPrefix = \"spear:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = (url, done, key, chunkId) => {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\t\tscript.type = \"module\";\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\t\tscript.src = __webpack_require__.tu(url);\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = (prev, event) => {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach((fn) => (fn(event)));\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.S = {};\nvar initPromises = {};\nvar initTokens = {};\n__webpack_require__.I = (name, initScope) => {\n\tif(!initScope) initScope = [];\n\t// handling circular init calls\n\tvar initToken = initTokens[name];\n\tif(!initToken) initToken = initTokens[name] = {};\n\tif(initScope.indexOf(initToken) >= 0) return;\n\tinitScope.push(initToken);\n\t// only runs once\n\tif(initPromises[name]) return initPromises[name];\n\t// creates a new share scope if needed\n\tif(!__webpack_require__.o(__webpack_require__.S, name)) __webpack_require__.S[name] = {};\n\t// runs all init snippets from all modules reachable\n\tvar scope = __webpack_require__.S[name];\n\tvar warn = (msg) => (typeof console !== \"undefined\" && console.warn && console.warn(msg));\n\tvar uniqueName = \"spear\";\n\tvar register = (name, version, factory, eager) => {\n\t\tvar versions = scope[name] = scope[name] || {};\n\t\tvar activeVersion = versions[version];\n\t\tif(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };\n\t};\n\tvar initExternal = (id) => {\n\t\tvar handleError = (err) => (warn(\"Initialization of sharing external failed: \" + err));\n\t\ttry {\n\t\t\tvar module = __webpack_require__(id);\n\t\t\tif(!module) return;\n\t\t\tvar initFn = (module) => (module && module.init && module.init(__webpack_require__.S[name], initScope))\n\t\t\tif(module.then) return promises.push(module.then(initFn, handleError));\n\t\t\tvar initResult = initFn(module);\n\t\t\tif(initResult && initResult.then) return promises.push(initResult['catch'](handleError));\n\t\t} catch(err) { handleError(err); }\n\t}\n\tvar promises = [];\n\tswitch(name) {\n\t\tcase \"default\": {\n\t\t\tregister(\"@angular/cdk/a11y\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(3675), __webpack_require__.e(2069), __webpack_require__.e(5321), __webpack_require__.e(5121), __webpack_require__.e(1636), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(46958))))));\n\t\t\tregister(\"@angular/cdk/accordion\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(5333), __webpack_require__.e(1382), __webpack_require__.e(8592), __webpack_require__.e(3022)]).then(() => (() => (__webpack_require__(41760))))));\n\t\t\tregister(\"@angular/cdk/bidi\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(4564))))));\n\t\t\tregister(\"@angular/cdk/coercion\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(8592), __webpack_require__.e(5106)]).then(() => (() => (__webpack_require__(70867))))));\n\t\t\tregister(\"@angular/cdk/collections\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(7888), __webpack_require__.e(8592), __webpack_require__.e(7376)]).then(() => (() => (__webpack_require__(15778))))));\n\t\t\tregister(\"@angular/cdk/dialog\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(2069), __webpack_require__.e(3068), __webpack_require__.e(8142), __webpack_require__.e(3662), __webpack_require__.e(5598), __webpack_require__.e(8592), __webpack_require__.e(5187)]).then(() => (() => (__webpack_require__(65598))))));\n\t\t\tregister(\"@angular/cdk/drag-drop\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(3068), __webpack_require__.e(3168), __webpack_require__.e(2885), __webpack_require__.e(2152), __webpack_require__.e(8158), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(18158))))));\n\t\t\tregister(\"@angular/cdk/keycodes\", \"16.0.1\", () => (__webpack_require__.e(4387).then(() => (() => (__webpack_require__(24387))))));\n\t\t\tregister(\"@angular/cdk/layout\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(5333), __webpack_require__.e(3675), __webpack_require__.e(919), __webpack_require__.e(8592), __webpack_require__.e(4091)]).then(() => (() => (__webpack_require__(40919))))));\n\t\t\tregister(\"@angular/cdk/observers\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(5333), __webpack_require__.e(8538), __webpack_require__.e(8592), __webpack_require__.e(1217)]).then(() => (() => (__webpack_require__(8577))))));\n\t\t\tregister(\"@angular/cdk/overlay\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(3675), __webpack_require__.e(2069), __webpack_require__.e(3068), __webpack_require__.e(8142), __webpack_require__.e(3168), __webpack_require__.e(5544), __webpack_require__.e(8592), __webpack_require__.e(7208)]).then(() => (() => (__webpack_require__(75544))))));\n\t\t\tregister(\"@angular/cdk/platform\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(15712))))));\n\t\t\tregister(\"@angular/cdk/portal\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(2035), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(12035))))));\n\t\t\tregister(\"@angular/cdk/scrolling\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(3675), __webpack_require__.e(3068), __webpack_require__.e(1382), __webpack_require__.e(2885), __webpack_require__.e(2152), __webpack_require__.e(442), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(30442))))));\n\t\t\tregister(\"@angular/cdk/stepper\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(5333), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(2069), __webpack_require__.e(3068), __webpack_require__.e(6215), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(77405))))));\n\t\t\tregister(\"@angular/cdk/table\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(3675), __webpack_require__.e(3068), __webpack_require__.e(1382), __webpack_require__.e(3168), __webpack_require__.e(2124), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(52124))))));\n\t\t\tregister(\"@angular/cdk/text-field\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(3675), __webpack_require__.e(2885), __webpack_require__.e(7131), __webpack_require__.e(8592), __webpack_require__.e(4968)]).then(() => (() => (__webpack_require__(10264))))));\n\t\t\tregister(\"@angular/cdk/tree\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(5333), __webpack_require__.e(3068), __webpack_require__.e(1382), __webpack_require__.e(1041), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(11041))))));\n\t\t\tregister(\"@angular/cdk\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(16346))))));\n\t\t\tregister(\"@angular/common/http\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(3765), __webpack_require__.e(8592), __webpack_require__.e(6785)]).then(() => (() => (__webpack_require__(33765))))));\n\t\t\tregister(\"@angular/common\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(6477), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(86477))))));\n\t\t\tregister(\"@angular/core/rxjs-interop\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(188), __webpack_require__.e(8592), __webpack_require__.e(3183)]).then(() => (() => (__webpack_require__(188))))));\n\t\t\tregister(\"@angular/core\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(8592), __webpack_require__.e(6839)]).then(() => (() => (__webpack_require__(86839))))));\n\t\t\tregister(\"@angular/forms\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(9542), __webpack_require__.e(8592), __webpack_require__.e(4155)]).then(() => (() => (__webpack_require__(69542))))));\n\t\t\tregister(\"@angular/material/autocomplete\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(2069), __webpack_require__.e(3068), __webpack_require__.e(2223), __webpack_require__.e(7405), __webpack_require__.e(8142), __webpack_require__.e(3168), __webpack_require__.e(3662), __webpack_require__.e(2885), __webpack_require__.e(137), __webpack_require__.e(2556), __webpack_require__.e(8592), __webpack_require__.e(1084)]).then(() => (() => (__webpack_require__(42556))))));\n\t\t\tregister(\"@angular/material/badge\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3401), __webpack_require__.e(8592), __webpack_require__.e(6896)]).then(() => (() => (__webpack_require__(82748))))));\n\t\t\tregister(\"@angular/material/bottom-sheet\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(2069), __webpack_require__.e(2223), __webpack_require__.e(8142), __webpack_require__.e(3662), __webpack_require__.e(5121), __webpack_require__.e(9064), __webpack_require__.e(2621), __webpack_require__.e(8592), __webpack_require__.e(5603)]).then(() => (() => (__webpack_require__(95763))))));\n\t\t\tregister(\"@angular/material/button-toggle\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(7405), __webpack_require__.e(1382), __webpack_require__.e(48), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(20048))))));\n\t\t\tregister(\"@angular/material/button\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(3677), __webpack_require__.e(8592), __webpack_require__.e(7920)]).then(() => (() => (__webpack_require__(83677))))));\n\t\t\tregister(\"@angular/material/checkbox\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(3401), __webpack_require__.e(7405), __webpack_require__.e(7672), __webpack_require__.e(8592), __webpack_require__.e(6980)]).then(() => (() => (__webpack_require__(7672))))));\n\t\t\tregister(\"@angular/material/core\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(2069), __webpack_require__.e(3068), __webpack_require__.e(6936), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(443))))));\n\t\t\tregister(\"@angular/material/datepicker\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(2069), __webpack_require__.e(3068), __webpack_require__.e(2223), __webpack_require__.e(7405), __webpack_require__.e(8142), __webpack_require__.e(3168), __webpack_require__.e(3662), __webpack_require__.e(137), __webpack_require__.e(4049), __webpack_require__.e(2666), __webpack_require__.e(6844), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(76844))))));\n\t\t\tregister(\"@angular/material/dialog\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3401), __webpack_require__.e(2069), __webpack_require__.e(2223), __webpack_require__.e(8142), __webpack_require__.e(3662), __webpack_require__.e(9064), __webpack_require__.e(5125), __webpack_require__.e(8592), __webpack_require__.e(5113)]).then(() => (() => (__webpack_require__(67486))))));\n\t\t\tregister(\"@angular/material/divider\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(20445))))));\n\t\t\tregister(\"@angular/material/expansion\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3401), __webpack_require__.e(2069), __webpack_require__.e(2223), __webpack_require__.e(1382), __webpack_require__.e(8142), __webpack_require__.e(5146), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(61884))))));\n\t\t\tregister(\"@angular/material/form-field\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(3068), __webpack_require__.e(2223), __webpack_require__.e(5321), __webpack_require__.e(8750), __webpack_require__.e(8592), __webpack_require__.e(1328)]).then(() => (() => (__webpack_require__(98750))))));\n\t\t\tregister(\"@angular/material/grid-list\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(3068), __webpack_require__.e(3574), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(93574))))));\n\t\t\tregister(\"@angular/material/icon\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(3267), __webpack_require__.e(5019), __webpack_require__.e(4477), __webpack_require__.e(8782), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(69941))))));\n\t\t\tregister(\"@angular/material/input\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(3675), __webpack_require__.e(7405), __webpack_require__.e(137), __webpack_require__.e(1187), __webpack_require__.e(6892), __webpack_require__.e(8592), __webpack_require__.e(5749)]).then(() => (() => (__webpack_require__(4322))))));\n\t\t\tregister(\"@angular/material/legacy-autocomplete\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(6606), __webpack_require__.e(7405), __webpack_require__.e(3168), __webpack_require__.e(3662), __webpack_require__.e(233), __webpack_require__.e(827), __webpack_require__.e(8592), __webpack_require__.e(4309)]).then(() => (() => (__webpack_require__(59356))))));\n\t\t\tregister(\"@angular/material/legacy-button\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3401), __webpack_require__.e(8376), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(78376))))));\n\t\t\tregister(\"@angular/material/legacy-card\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(6606), __webpack_require__.e(3401), __webpack_require__.e(8287), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(28287))))));\n\t\t\tregister(\"@angular/material/legacy-checkbox\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3401), __webpack_require__.e(7405), __webpack_require__.e(5321), __webpack_require__.e(5068), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(85068))))));\n\t\t\tregister(\"@angular/material/legacy-chips\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(2069), __webpack_require__.e(3068), __webpack_require__.e(7405), __webpack_require__.e(1382), __webpack_require__.e(972), __webpack_require__.e(4371), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(4371))))));\n\t\t\tregister(\"@angular/material/legacy-core\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(6606), __webpack_require__.e(8592), __webpack_require__.e(8024)]).then(() => (() => (__webpack_require__(76391))))));\n\t\t\tregister(\"@angular/material/legacy-dialog\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3401), __webpack_require__.e(8142), __webpack_require__.e(3662), __webpack_require__.e(9064), __webpack_require__.e(3433), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(63433))))));\n\t\t\tregister(\"@angular/material/legacy-form-field\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(3068), __webpack_require__.e(5321), __webpack_require__.e(137), __webpack_require__.e(7189), __webpack_require__.e(8592), __webpack_require__.e(8513)]).then(() => (() => (__webpack_require__(47189))))));\n\t\t\tregister(\"@angular/material/legacy-input\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(6606), __webpack_require__.e(972), __webpack_require__.e(2666), __webpack_require__.e(1187), __webpack_require__.e(8592), __webpack_require__.e(5555)]).then(() => (() => (__webpack_require__(20894))))));\n\t\t\tregister(\"@angular/material/legacy-list\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(2069), __webpack_require__.e(7405), __webpack_require__.e(1382), __webpack_require__.e(7040), __webpack_require__.e(7477), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(10974))))));\n\t\t\tregister(\"@angular/material/legacy-menu\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(6606), __webpack_require__.e(3168), __webpack_require__.e(3662), __webpack_require__.e(6235), __webpack_require__.e(8592), __webpack_require__.e(4967)]).then(() => (() => (__webpack_require__(6291))))));\n\t\t\tregister(\"@angular/material/legacy-paginator\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(6606), __webpack_require__.e(972), __webpack_require__.e(233), __webpack_require__.e(2049), __webpack_require__.e(565), __webpack_require__.e(7223), __webpack_require__.e(7018), __webpack_require__.e(8592), __webpack_require__.e(8017)]).then(() => (() => (__webpack_require__(87095))))));\n\t\t\tregister(\"@angular/material/legacy-progress-bar\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(3401), __webpack_require__.e(2545), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(77410))))));\n\t\t\tregister(\"@angular/material/legacy-progress-spinner\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(3168), __webpack_require__.e(8711), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(18711))))));\n\t\t\tregister(\"@angular/material/legacy-radio\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3401), __webpack_require__.e(7405), __webpack_require__.e(1382), __webpack_require__.e(7479), __webpack_require__.e(8592), __webpack_require__.e(8116)]).then(() => (() => (__webpack_require__(15203))))));\n\t\t\tregister(\"@angular/material/legacy-select\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(6606), __webpack_require__.e(2223), __webpack_require__.e(3168), __webpack_require__.e(3662), __webpack_require__.e(972), __webpack_require__.e(233), __webpack_require__.e(5857), __webpack_require__.e(8282), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(13115))))));\n\t\t\tregister(\"@angular/material/legacy-slide-toggle\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3401), __webpack_require__.e(7405), __webpack_require__.e(5321), __webpack_require__.e(3978), __webpack_require__.e(8592), __webpack_require__.e(5873)]).then(() => (() => (__webpack_require__(60783))))));\n\t\t\tregister(\"@angular/material/legacy-slider\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(2069), __webpack_require__.e(3068), __webpack_require__.e(7405), __webpack_require__.e(3103), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(13103))))));\n\t\t\tregister(\"@angular/material/legacy-snack-bar\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(8142), __webpack_require__.e(3662), __webpack_require__.e(5121), __webpack_require__.e(2049), __webpack_require__.e(4149), __webpack_require__.e(8592), __webpack_require__.e(8061)]).then(() => (() => (__webpack_require__(35271))))));\n\t\t\tregister(\"@angular/material/legacy-table\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(6606), __webpack_require__.e(1382), __webpack_require__.e(3730), __webpack_require__.e(4755), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(24755))))));\n\t\t\tregister(\"@angular/material/legacy-tabs\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(3068), __webpack_require__.e(8142), __webpack_require__.e(3168), __webpack_require__.e(5321), __webpack_require__.e(4270), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(80413))))));\n\t\t\tregister(\"@angular/material/legacy-tooltip\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(3068), __webpack_require__.e(2223), __webpack_require__.e(3168), __webpack_require__.e(3662), __webpack_require__.e(5121), __webpack_require__.e(3251), __webpack_require__.e(8592), __webpack_require__.e(4680)]).then(() => (() => (__webpack_require__(39826))))));\n\t\t\tregister(\"@angular/material/list\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(2069), __webpack_require__.e(7405), __webpack_require__.e(1382), __webpack_require__.e(5321), __webpack_require__.e(7040), __webpack_require__.e(6069), __webpack_require__.e(8592), __webpack_require__.e(2112)]).then(() => (() => (__webpack_require__(16069))))));\n\t\t\tregister(\"@angular/material/menu\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(2069), __webpack_require__.e(3068), __webpack_require__.e(2223), __webpack_require__.e(8142), __webpack_require__.e(3168), __webpack_require__.e(3662), __webpack_require__.e(2885), __webpack_require__.e(5007), __webpack_require__.e(8592), __webpack_require__.e(2111)]).then(() => (() => (__webpack_require__(89314))))));\n\t\t\tregister(\"@angular/material/paginator\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(137), __webpack_require__.e(4049), __webpack_require__.e(3251), __webpack_require__.e(5857), __webpack_require__.e(3930), __webpack_require__.e(8592), __webpack_require__.e(3326)]).then(() => (() => (__webpack_require__(86907))))));\n\t\t\tregister(\"@angular/material/progress-bar\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(3401), __webpack_require__.e(6297), __webpack_require__.e(8592), __webpack_require__.e(8596)]).then(() => (() => (__webpack_require__(46297))))));\n\t\t\tregister(\"@angular/material/progress-spinner\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(3401), __webpack_require__.e(8592), __webpack_require__.e(8352)]).then(() => (() => (__webpack_require__(15312))))));\n\t\t\tregister(\"@angular/material/radio\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3401), __webpack_require__.e(7405), __webpack_require__.e(1382), __webpack_require__.e(8046), __webpack_require__.e(8592), __webpack_require__.e(5501)]).then(() => (() => (__webpack_require__(8046))))));\n\t\t\tregister(\"@angular/material/select\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(2069), __webpack_require__.e(3068), __webpack_require__.e(2223), __webpack_require__.e(7405), __webpack_require__.e(1382), __webpack_require__.e(3168), __webpack_require__.e(3662), __webpack_require__.e(137), __webpack_require__.e(6508), __webpack_require__.e(8592), __webpack_require__.e(882)]).then(() => (() => (__webpack_require__(56508))))));\n\t\t\tregister(\"@angular/material/sidenav\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(2069), __webpack_require__.e(3068), __webpack_require__.e(2223), __webpack_require__.e(3168), __webpack_require__.e(9101), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(79101))))));\n\t\t\tregister(\"@angular/material/slide-toggle\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3401), __webpack_require__.e(7405), __webpack_require__.e(4291), __webpack_require__.e(8592), __webpack_require__.e(3098)]).then(() => (() => (__webpack_require__(4291))))));\n\t\t\tregister(\"@angular/material/snack-bar\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(2223), __webpack_require__.e(8142), __webpack_require__.e(3662), __webpack_require__.e(5121), __webpack_require__.e(4049), __webpack_require__.e(5094), __webpack_require__.e(8592), __webpack_require__.e(8467)]).then(() => (() => (__webpack_require__(88511))))));\n\t\t\tregister(\"@angular/material/sort\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(2069), __webpack_require__.e(2223), __webpack_require__.e(1086), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(95096))))));\n\t\t\tregister(\"@angular/material/stepper\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3068), __webpack_require__.e(2223), __webpack_require__.e(8142), __webpack_require__.e(8972), __webpack_require__.e(561), __webpack_require__.e(3308), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(96247))))));\n\t\t\tregister(\"@angular/material/table\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(1382), __webpack_require__.e(3730), __webpack_require__.e(3348), __webpack_require__.e(8592), __webpack_require__.e(6578)]).then(() => (() => (__webpack_require__(83348))))));\n\t\t\tregister(\"@angular/material/tabs\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(2069), __webpack_require__.e(3068), __webpack_require__.e(2223), __webpack_require__.e(8142), __webpack_require__.e(3168), __webpack_require__.e(5321), __webpack_require__.e(2885), __webpack_require__.e(2128), __webpack_require__.e(8592), __webpack_require__.e(4093)]).then(() => (() => (__webpack_require__(12128))))));\n\t\t\tregister(\"@angular/material/toolbar\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(6606), __webpack_require__.e(3675), __webpack_require__.e(8592), __webpack_require__.e(8608)]).then(() => (() => (__webpack_require__(46322))))));\n\t\t\tregister(\"@angular/material/tooltip\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(2069), __webpack_require__.e(3068), __webpack_require__.e(2223), __webpack_require__.e(8142), __webpack_require__.e(3168), __webpack_require__.e(3662), __webpack_require__.e(8746), __webpack_require__.e(8592), __webpack_require__.e(8443)]).then(() => (() => (__webpack_require__(52423))))));\n\t\t\tregister(\"@angular/material/tree\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(1382), __webpack_require__.e(7726), __webpack_require__.e(4640), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(42493))))));\n\t\t\tregister(\"@angular/platform-browser/animations\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(2223), __webpack_require__.e(5019), __webpack_require__.e(9031), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(69031))))));\n\t\t\tregister(\"@angular/platform-browser\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(3267), __webpack_require__.e(2512), __webpack_require__.e(8592), __webpack_require__.e(7328)]).then(() => (() => (__webpack_require__(42512))))));\n\t\t\tregister(\"@angular/router\", \"16.0.1\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5019), __webpack_require__.e(4477), __webpack_require__.e(4843), __webpack_require__.e(8592), __webpack_require__.e(4106)]).then(() => (() => (__webpack_require__(84843))))));\n\t\t\tregister(\"@rollthecloudinc/attributes\", \"16.0.0-alpha.6\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(7405), __webpack_require__.e(972), __webpack_require__.e(3267), __webpack_require__.e(8154), __webpack_require__.e(6073), __webpack_require__.e(5813), __webpack_require__.e(9490), __webpack_require__.e(4589), __webpack_require__.e(8592), __webpack_require__.e(6441)]).then(() => (() => (__webpack_require__(44589))))));\n\t\t\tregister(\"@rollthecloudinc/content\", \"16.0.0-alpha.6\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(8154), __webpack_require__.e(5813), __webpack_require__.e(8488), __webpack_require__.e(8592), __webpack_require__.e(1821)]).then(() => (() => (__webpack_require__(56922))))));\n\t\t\tregister(\"@rollthecloudinc/material\", \"16.0.0-alpha.6\", () => (Promise.all([__webpack_require__.e(6718), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3068), __webpack_require__.e(8142), __webpack_require__.e(3168), __webpack_require__.e(2049), __webpack_require__.e(7040), __webpack_require__.e(3730), __webpack_require__.e(565), __webpack_require__.e(6073), __webpack_require__.e(8972), __webpack_require__.e(3343), __webpack_require__.e(7223), __webpack_require__.e(7726), __webpack_require__.e(561), __webpack_require__.e(3770), __webpack_require__.e(8592), __webpack_require__.e(9880)]).then(() => (() => (__webpack_require__(73770))))));\n\t\t\tregister(\"@rollthecloudinc/plugin\", \"16.0.0-alpha.6\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(8154), __webpack_require__.e(8592), __webpack_require__.e(6237)]).then(() => (() => (__webpack_require__(56263))))));\n\t\t\tregister(\"@rollthecloudinc/utils\", \"16.0.0-alpha.6\", () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(6718), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(3597), __webpack_require__.e(8592), __webpack_require__.e(4902)]).then(() => (() => (__webpack_require__(3597))))));\n\t\t}\n\t\tbreak;\n\t}\n\tif(!promises.length) return initPromises[name] = 1;\n\treturn initPromises[name] = Promise.all(promises).then(() => (initPromises[name] = 1));\n};","var policy;\n__webpack_require__.tt = () => {\n\t// Create Trusted Type policy if Trusted Types are available and the policy doesn't exist yet.\n\tif (policy === undefined) {\n\t\tpolicy = {\n\t\t\tcreateScriptURL: (url) => (url)\n\t\t};\n\t\tif (typeof trustedTypes !== \"undefined\" && trustedTypes.createPolicy) {\n\t\t\tpolicy = trustedTypes.createPolicy(\"angular#bundler\", policy);\n\t\t}\n\t}\n\treturn policy;\n};","__webpack_require__.tu = (url) => (__webpack_require__.tt().createScriptURL(url));","var scriptUrl;\nif (typeof import.meta.url === \"string\") scriptUrl = import.meta.url\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\n// or pass an empty string (\"\") and set the __webpack_public_path__ variable from your code to use your own logic.\nif (!scriptUrl) throw new Error(\"Automatic publicPath is not supported in this browser\");\nscriptUrl = scriptUrl.replace(/#.*$/, \"\").replace(/\\?.*$/, \"\").replace(/\\/[^\\/]+$/, \"/\");\n__webpack_require__.p = scriptUrl;","var parseVersion = (str) => {\n\t// see webpack/lib/util/semver.js for original code\n\tvar p=p=>{return p.split(\".\").map((p=>{return+p==p?+p:p}))},n=/^([^-+]+)?(?:-([^+]+))?(?:\\+(.+))?$/.exec(str),r=n[1]?p(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,p(n[2]))),n[3]&&(r.push([]),r.push.apply(r,p(n[3]))),r;\n}\nvar versionLt = (a, b) => {\n\t// see webpack/lib/util/semver.js for original code\n\ta=parseVersion(a),b=parseVersion(b);for(var r=0;;){if(r>=a.length)return r=b.length)return\"u\"==n;var t=b[r],f=(typeof t)[0];if(n!=f)return\"o\"==n&&\"n\"==f||(\"s\"==f||\"u\"==n);if(\"o\"!=n&&\"u\"!=n&&e!=t)return e {\n\t// see webpack/lib/util/semver.js for original code\n\tvar r=range[0],n=\"\";if(1===range.length)return\"*\";if(r+.5){n+=0==r?\">=\":-1==r?\"<\":1==r?\"^\":2==r?\"~\":r>0?\"=\":\"!=\";for(var e=1,a=1;a0?\".\":\"\")+(e=2,t)}return n}var g=[];for(a=1;a {\n\t// see webpack/lib/util/semver.js for original code\n\tif(0 in range){version=parseVersion(version);var e=range[0],r=e<0;r&&(e=-e-1);for(var n=0,i=1,a=!0;;i++,n++){var f,s,g=i=version.length||\"o\"==(s=(typeof(f=version[n]))[0]))return!a||(\"u\"==g?i>e&&!r:\"\"==g!=r);if(\"u\"==s){if(!a||\"u\"!=g)return!1}else if(a)if(g==s)if(i<=e){if(f!=range[i])return!1}else{if(r?f>range[i]:f {\n\tvar scope = __webpack_require__.S[scopeName];\n\tif(!scope || !__webpack_require__.o(scope, key)) throw new Error(\"Shared module \" + key + \" doesn't exist in shared scope \" + scopeName);\n\treturn scope;\n};\nvar findVersion = (scope, key) => {\n\tvar versions = scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar findSingletonVersionKey = (scope, key) => {\n\tvar versions = scope[key];\n\treturn Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || (!versions[a].loaded && versionLt(a, b)) ? b : a;\n\t}, 0);\n};\nvar getInvalidSingletonVersionMessage = (scope, key, version, requiredVersion) => {\n\treturn \"Unsatisfied version \" + version + \" from \" + (version && scope[key][version].from) + \" of shared singleton module \" + key + \" (required \" + rangeToString(requiredVersion) + \")\"\n};\nvar getSingleton = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\treturn get(scope[key][version]);\n};\nvar getSingletonVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\tif (!satisfy(requiredVersion, version)) warn(getInvalidSingletonVersionMessage(scope, key, version, requiredVersion));\n\treturn get(scope[key][version]);\n};\nvar getStrictSingletonVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\tif (!satisfy(requiredVersion, version)) throw new Error(getInvalidSingletonVersionMessage(scope, key, version, requiredVersion));\n\treturn get(scope[key][version]);\n};\nvar findValidVersion = (scope, key, requiredVersion) => {\n\tvar versions = scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\tif (!satisfy(requiredVersion, b)) return a;\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar getInvalidVersionMessage = (scope, scopeName, key, requiredVersion) => {\n\tvar versions = scope[key];\n\treturn \"No satisfying version (\" + rangeToString(requiredVersion) + \") of shared module \" + key + \" found in shared scope \" + scopeName + \".\\n\" +\n\t\t\"Available versions: \" + Object.keys(versions).map((key) => {\n\t\treturn key + \" from \" + versions[key].from;\n\t}).join(\", \");\n};\nvar getValidVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar entry = findValidVersion(scope, key, requiredVersion);\n\tif(entry) return get(entry);\n\tthrow new Error(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));\n};\nvar warn = (msg) => {\n\tif (typeof console !== \"undefined\" && console.warn) console.warn(msg);\n};\nvar warnInvalidVersion = (scope, scopeName, key, requiredVersion) => {\n\twarn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));\n};\nvar get = (entry) => {\n\tentry.loaded = 1;\n\treturn entry.get()\n};\nvar init = (fn) => (function(scopeName, a, b, c) {\n\tvar promise = __webpack_require__.I(scopeName);\n\tif (promise && promise.then) return promise.then(fn.bind(fn, scopeName, __webpack_require__.S[scopeName], a, b, c));\n\treturn fn(scopeName, __webpack_require__.S[scopeName], a, b, c);\n});\n\nvar load = /*#__PURE__*/ init((scopeName, scope, key) => {\n\tensureExistence(scopeName, key);\n\treturn get(findVersion(scope, key));\n});\nvar loadFallback = /*#__PURE__*/ init((scopeName, scope, key, fallback) => {\n\treturn scope && __webpack_require__.o(scope, key) ? get(findVersion(scope, key)) : fallback();\n});\nvar loadVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));\n});\nvar loadSingleton = /*#__PURE__*/ init((scopeName, scope, key) => {\n\tensureExistence(scopeName, key);\n\treturn getSingleton(scope, scopeName, key);\n});\nvar loadSingletonVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getSingletonVersion(scope, scopeName, key, version);\n});\nvar loadStrictVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getValidVersion(scope, scopeName, key, version);\n});\nvar loadStrictSingletonVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getStrictSingletonVersion(scope, scopeName, key, version);\n});\nvar loadVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));\n});\nvar loadSingletonFallback = /*#__PURE__*/ init((scopeName, scope, key, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getSingleton(scope, scopeName, key);\n});\nvar loadSingletonVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getSingletonVersion(scope, scopeName, key, version);\n});\nvar loadStrictVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tvar entry = scope && __webpack_require__.o(scope, key) && findValidVersion(scope, key, version);\n\treturn entry ? get(entry) : fallback();\n});\nvar loadStrictSingletonVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getStrictSingletonVersion(scope, scopeName, key, version);\n});\nvar installedModules = {};\nvar moduleToHandlerMapping = {\n\t56718: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/core\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(8592), __webpack_require__.e(6839)]).then(() => (() => (__webpack_require__(86839))))))),\n\t94055: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/common\", [1,16,0,1], () => (__webpack_require__.e(6477).then(() => (() => (__webpack_require__(86477))))))),\n\t35333: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/cdk/coercion\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(8592), __webpack_require__.e(1551)]).then(() => (() => (__webpack_require__(70867))))))),\n\t23675: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/cdk/platform\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(4055), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(15712))))))),\n\t52069: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/cdk/keycodes\", [1,16,0,1], () => (__webpack_require__.e(4387).then(() => (() => (__webpack_require__(24387))))))),\n\t75321: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/cdk/observers\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(5333), __webpack_require__.e(8538)]).then(() => (() => (__webpack_require__(8577))))))),\n\t25121: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/cdk/layout\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(5333), __webpack_require__.e(3675), __webpack_require__.e(919)]).then(() => (() => (__webpack_require__(40919))))))),\n\t81382: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/cdk/collections\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(7888)]).then(() => (() => (__webpack_require__(15778))))))),\n\t908: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/cdk/a11y\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(3675), __webpack_require__.e(2069), __webpack_require__.e(5321), __webpack_require__.e(5121), __webpack_require__.e(1636)]).then(() => (() => (__webpack_require__(46958))))))),\n\t43068: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/cdk/bidi\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(4055), __webpack_require__.e(8592)]).then(() => (() => (__webpack_require__(4564))))))),\n\t18142: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/cdk/portal\", [1,16,0,1], () => (__webpack_require__.e(2035).then(() => (() => (__webpack_require__(12035))))))),\n\t43662: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/cdk/overlay\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(5333), __webpack_require__.e(3675), __webpack_require__.e(2069), __webpack_require__.e(3068), __webpack_require__.e(8142), __webpack_require__.e(3168), __webpack_require__.e(5544)]).then(() => (() => (__webpack_require__(75544))))))),\n\t93168: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/cdk/scrolling\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(5333), __webpack_require__.e(3675), __webpack_require__.e(3068), __webpack_require__.e(1382), __webpack_require__.e(2885), __webpack_require__.e(2152), __webpack_require__.e(442)]).then(() => (() => (__webpack_require__(30442))))))),\n\t6606: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/core\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(2069), __webpack_require__.e(3068), __webpack_require__.e(6936)]).then(() => (() => (__webpack_require__(443))))))),\n\t47405: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/forms\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(9542)]).then(() => (() => (__webpack_require__(69542))))))),\n\t137: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/form-field\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(3068), __webpack_require__.e(2223), __webpack_require__.e(5321), __webpack_require__.e(8750)]).then(() => (() => (__webpack_require__(98750))))))),\n\t33401: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/platform-browser/animations\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(4055), __webpack_require__.e(2223), __webpack_require__.e(5019), __webpack_require__.e(9031)]).then(() => (() => (__webpack_require__(69031))))))),\n\t69064: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/cdk/dialog\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(3675), __webpack_require__.e(2069), __webpack_require__.e(3068), __webpack_require__.e(5598)]).then(() => (() => (__webpack_require__(65598))))))),\n\t66298: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/cdk\", [1,16,0,1], () => (__webpack_require__.e(8592).then(() => (() => (__webpack_require__(16346))))))),\n\t64049: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/button\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(5333), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(3677)]).then(() => (() => (__webpack_require__(83677))))))),\n\t32666: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/input\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(5333), __webpack_require__.e(3675), __webpack_require__.e(7405), __webpack_require__.e(137), __webpack_require__.e(1187), __webpack_require__.e(6892)]).then(() => (() => (__webpack_require__(4322))))))),\n\t19759: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/cdk/accordion\", [1,16,0,1], () => (__webpack_require__.e(8592).then(() => (() => (__webpack_require__(41760))))))),\n\t3267: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/common/http\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(3765)]).then(() => (() => (__webpack_require__(33765))))))),\n\t15019: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/platform-browser\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(3267), __webpack_require__.e(2512)]).then(() => (() => (__webpack_require__(42512))))))),\n\t41187: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/cdk/text-field\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(3675), __webpack_require__.e(2885), __webpack_require__.e(7131)]).then(() => (() => (__webpack_require__(10264))))))),\n\t10233: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-core\", [1,16,0,1], () => (__webpack_require__.e(8592).then(() => (() => (__webpack_require__(76391))))))),\n\t80827: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/autocomplete\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(5333), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(2069), __webpack_require__.e(3068), __webpack_require__.e(2223), __webpack_require__.e(8142), __webpack_require__.e(2885), __webpack_require__.e(137), __webpack_require__.e(2556)]).then(() => (() => (__webpack_require__(42556))))))),\n\t57021: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/checkbox\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(5333), __webpack_require__.e(7672)]).then(() => (() => (__webpack_require__(7672))))))),\n\t30972: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-form-field\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(3068), __webpack_require__.e(5321), __webpack_require__.e(137), __webpack_require__.e(7189)]).then(() => (() => (__webpack_require__(47189))))))),\n\t21447: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/dialog\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(5333), __webpack_require__.e(2069), __webpack_require__.e(2223), __webpack_require__.e(5125)]).then(() => (() => (__webpack_require__(67486))))))),\n\t97040: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/divider\", [1,16,0,1], () => (__webpack_require__.e(8592).then(() => (() => (__webpack_require__(20445))))))),\n\t90297: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/list\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(5321), __webpack_require__.e(6069)]).then(() => (() => (__webpack_require__(16069))))))),\n\t66235: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/menu\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(5333), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(2069), __webpack_require__.e(3068), __webpack_require__.e(2223), __webpack_require__.e(8142), __webpack_require__.e(2885), __webpack_require__.e(5007)]).then(() => (() => (__webpack_require__(89314))))))),\n\t72049: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-button\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(908), __webpack_require__.e(3401), __webpack_require__.e(8376)]).then(() => (() => (__webpack_require__(78376))))))),\n\t80565: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-select\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(2223), __webpack_require__.e(3168), __webpack_require__.e(3662), __webpack_require__.e(972), __webpack_require__.e(233), __webpack_require__.e(5857), __webpack_require__.e(8282)]).then(() => (() => (__webpack_require__(13115))))))),\n\t67223: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-tooltip\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(3068), __webpack_require__.e(2223), __webpack_require__.e(3168), __webpack_require__.e(3662), __webpack_require__.e(5121), __webpack_require__.e(3251), __webpack_require__.e(8592), __webpack_require__.e(4151)]).then(() => (() => (__webpack_require__(39826))))))),\n\t17018: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/paginator\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(5333), __webpack_require__.e(137), __webpack_require__.e(4049), __webpack_require__.e(3251), __webpack_require__.e(5857), __webpack_require__.e(3930)]).then(() => (() => (__webpack_require__(86907))))))),\n\t70137: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/progress-bar\", [1,16,0,1], () => (__webpack_require__.e(6297).then(() => (() => (__webpack_require__(46297))))))),\n\t98745: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/progress-spinner\", [1,16,0,1], () => (__webpack_require__.e(8592).then(() => (() => (__webpack_require__(15312))))))),\n\t27479: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/radio\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(8046)]).then(() => (() => (__webpack_require__(8046))))))),\n\t25857: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/select\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(4987), __webpack_require__.e(5333), __webpack_require__.e(908), __webpack_require__.e(2069), __webpack_require__.e(3068), __webpack_require__.e(2223), __webpack_require__.e(7405), __webpack_require__.e(1382), __webpack_require__.e(3168), __webpack_require__.e(3662), __webpack_require__.e(137), __webpack_require__.e(6508)]).then(() => (() => (__webpack_require__(56508))))))),\n\t13978: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/slide-toggle\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(4291)]).then(() => (() => (__webpack_require__(4291))))))),\n\t4149: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/snack-bar\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(3675), __webpack_require__.e(2223), __webpack_require__.e(4049), __webpack_require__.e(5094)]).then(() => (() => (__webpack_require__(88511))))))),\n\t33730: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/cdk/table\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(4055), __webpack_require__.e(5333), __webpack_require__.e(3675), __webpack_require__.e(3068), __webpack_require__.e(1382), __webpack_require__.e(3168), __webpack_require__.e(2124)]).then(() => (() => (__webpack_require__(52124))))))),\n\t78954: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/table\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(5333), __webpack_require__.e(3348)]).then(() => (() => (__webpack_require__(83348))))))),\n\t31099: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/tabs\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(4987), __webpack_require__.e(5333), __webpack_require__.e(2069), __webpack_require__.e(2223), __webpack_require__.e(2885), __webpack_require__.e(2128)]).then(() => (() => (__webpack_require__(12128))))))),\n\t63251: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/tooltip\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(5333), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(2069), __webpack_require__.e(3068), __webpack_require__.e(2223), __webpack_require__.e(8142), __webpack_require__.e(3168), __webpack_require__.e(3662), __webpack_require__.e(8746)]).then(() => (() => (__webpack_require__(52423))))))),\n\t28972: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/icon\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(5333), __webpack_require__.e(3267), __webpack_require__.e(5019), __webpack_require__.e(4477), __webpack_require__.e(8782)]).then(() => (() => (__webpack_require__(69941))))))),\n\t70561: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/cdk/stepper\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(5333), __webpack_require__.e(3675), __webpack_require__.e(2069), __webpack_require__.e(6215)]).then(() => (() => (__webpack_require__(77405))))))),\n\t67726: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/cdk/tree\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(3068), __webpack_require__.e(1382), __webpack_require__.e(1041)]).then(() => (() => (__webpack_require__(11041))))))),\n\t8154: () => (loadSingletonVersionCheckFallback(\"default\", \"@rollthecloudinc/utils\", [7,16,0,0,,\"alpha\",6], () => (Promise.all([__webpack_require__.e(4055), __webpack_require__.e(3597)]).then(() => (() => (__webpack_require__(3597))))))),\n\t26073: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-input\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(6606), __webpack_require__.e(972), __webpack_require__.e(2666), __webpack_require__.e(1187), __webpack_require__.e(8592), __webpack_require__.e(5915)]).then(() => (() => (__webpack_require__(20894))))))),\n\t25813: () => (loadSingletonVersionCheckFallback(\"default\", \"@rollthecloudinc/plugin\", [7,16,0,0,,\"alpha\",6], () => (Promise.all([__webpack_require__.e(8592), __webpack_require__.e(3418)]).then(() => (() => (__webpack_require__(56263))))))),\n\t69490: () => (loadSingletonVersionCheckFallback(\"default\", \"@rollthecloudinc/material\", [7,16,0,0,,\"alpha\",6], () => (Promise.all([__webpack_require__.e(5333), __webpack_require__.e(6606), __webpack_require__.e(908), __webpack_require__.e(3068), __webpack_require__.e(8142), __webpack_require__.e(3168), __webpack_require__.e(2049), __webpack_require__.e(7040), __webpack_require__.e(3730), __webpack_require__.e(565), __webpack_require__.e(8972), __webpack_require__.e(3343), __webpack_require__.e(7223), __webpack_require__.e(7726), __webpack_require__.e(561), __webpack_require__.e(3770)]).then(() => (() => (__webpack_require__(73770))))))),\n\t68488: () => (loadSingletonVersionCheckFallback(\"default\", \"@rollthecloudinc/attributes\", [7,16,0,0,,\"alpha\",6], () => (Promise.all([__webpack_require__.e(7405), __webpack_require__.e(972), __webpack_require__.e(3267), __webpack_require__.e(6073), __webpack_require__.e(9490), __webpack_require__.e(4589)]).then(() => (() => (__webpack_require__(44589))))))),\n\t51372: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/cdk/drag-drop\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(2885), __webpack_require__.e(2152), __webpack_require__.e(8158)]).then(() => (() => (__webpack_require__(18158))))))),\n\t1621: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/bottom-sheet\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(908), __webpack_require__.e(2069), __webpack_require__.e(2223), __webpack_require__.e(8142), __webpack_require__.e(3662), __webpack_require__.e(5121), __webpack_require__.e(9064), __webpack_require__.e(2621)]).then(() => (() => (__webpack_require__(95763))))))),\n\t40810: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/datepicker\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(2069), __webpack_require__.e(2223), __webpack_require__.e(7405), __webpack_require__.e(8142), __webpack_require__.e(3662), __webpack_require__.e(137), __webpack_require__.e(4049), __webpack_require__.e(2666), __webpack_require__.e(6844)]).then(() => (() => (__webpack_require__(76844))))))),\n\t38369: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/expansion\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(908), __webpack_require__.e(3401), __webpack_require__.e(2069), __webpack_require__.e(2223), __webpack_require__.e(1382), __webpack_require__.e(8142), __webpack_require__.e(5146)]).then(() => (() => (__webpack_require__(61884))))))),\n\t52090: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-autocomplete\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(7405), __webpack_require__.e(3662), __webpack_require__.e(233), __webpack_require__.e(827), __webpack_require__.e(8592), __webpack_require__.e(5391)]).then(() => (() => (__webpack_require__(59356))))))),\n\t53726: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-checkbox\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(908), __webpack_require__.e(3401), __webpack_require__.e(7405), __webpack_require__.e(5321), __webpack_require__.e(5068)]).then(() => (() => (__webpack_require__(85068))))))),\n\t5311: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-dialog\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(908), __webpack_require__.e(3401), __webpack_require__.e(8142), __webpack_require__.e(3662), __webpack_require__.e(9064), __webpack_require__.e(3433)]).then(() => (() => (__webpack_require__(63433))))))),\n\t9263: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-list\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(908), __webpack_require__.e(2069), __webpack_require__.e(7405), __webpack_require__.e(1382), __webpack_require__.e(7477)]).then(() => (() => (__webpack_require__(10974))))))),\n\t75376: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-menu\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(3662), __webpack_require__.e(6235), __webpack_require__.e(8592), __webpack_require__.e(3278)]).then(() => (() => (__webpack_require__(6291))))))),\n\t44039: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-radio\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(908), __webpack_require__.e(3401), __webpack_require__.e(7405), __webpack_require__.e(1382), __webpack_require__.e(7479), __webpack_require__.e(8592), __webpack_require__.e(6748)]).then(() => (() => (__webpack_require__(15203))))))),\n\t4856: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-slide-toggle\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(908), __webpack_require__.e(3401), __webpack_require__.e(7405), __webpack_require__.e(5321), __webpack_require__.e(3978), __webpack_require__.e(8592), __webpack_require__.e(6763)]).then(() => (() => (__webpack_require__(60783))))))),\n\t92081: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-slider\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(2069), __webpack_require__.e(7405), __webpack_require__.e(3103)]).then(() => (() => (__webpack_require__(13103))))))),\n\t21669: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-table\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(1382), __webpack_require__.e(3730), __webpack_require__.e(4755)]).then(() => (() => (__webpack_require__(24755))))))),\n\t28413: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-tabs\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(8142), __webpack_require__.e(5321), __webpack_require__.e(4270)]).then(() => (() => (__webpack_require__(80413))))))),\n\t55198: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/sidenav\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(908), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(2069), __webpack_require__.e(2223), __webpack_require__.e(9101)]).then(() => (() => (__webpack_require__(79101))))))),\n\t43516: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/sort\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(908), __webpack_require__.e(2069), __webpack_require__.e(2223), __webpack_require__.e(1086)]).then(() => (() => (__webpack_require__(95096))))))),\n\t3620: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/toolbar\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(3675), __webpack_require__.e(8592), __webpack_require__.e(6618)]).then(() => (() => (__webpack_require__(46322))))))),\n\t7054: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/stepper\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(2223), __webpack_require__.e(3308)]).then(() => (() => (__webpack_require__(96247))))))),\n\t8312: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-snack-bar\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(3662), __webpack_require__.e(5121), __webpack_require__.e(4149), __webpack_require__.e(8592), __webpack_require__.e(8071)]).then(() => (() => (__webpack_require__(35271))))))),\n\t12219: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/grid-list\", [1,16,0,1], () => (__webpack_require__.e(3574).then(() => (() => (__webpack_require__(93574))))))),\n\t15455: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/badge\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(3401), __webpack_require__.e(8592), __webpack_require__.e(5069)]).then(() => (() => (__webpack_require__(82748))))))),\n\t36070: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-progress-spinner\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(8711)]).then(() => (() => (__webpack_require__(18711))))))),\n\t41858: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-paginator\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(972), __webpack_require__.e(233), __webpack_require__.e(7018), __webpack_require__.e(8592), __webpack_require__.e(7432)]).then(() => (() => (__webpack_require__(87095))))))),\n\t53598: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-card\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(3401), __webpack_require__.e(8287)]).then(() => (() => (__webpack_require__(28287))))))),\n\t56388: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-progress-bar\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(3401), __webpack_require__.e(2545)]).then(() => (() => (__webpack_require__(77410))))))),\n\t75101: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/button-toggle\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(7405), __webpack_require__.e(1382), __webpack_require__.e(48)]).then(() => (() => (__webpack_require__(20048))))))),\n\t80584: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/legacy-chips\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(3675), __webpack_require__.e(3401), __webpack_require__.e(2069), __webpack_require__.e(7405), __webpack_require__.e(1382), __webpack_require__.e(972), __webpack_require__.e(4371)]).then(() => (() => (__webpack_require__(4371))))))),\n\t89402: () => (loadStrictSingletonVersionCheckFallback(\"default\", \"@angular/material/tree\", [1,16,0,1], () => (Promise.all([__webpack_require__.e(833), __webpack_require__.e(4987), __webpack_require__.e(1382), __webpack_require__.e(4640)]).then(() => (() => (__webpack_require__(42493)))))))\n};\n// no consumes in initial chunks\nvar chunkMapping = {\n\t\"137\": [\n\t\t137\n\t],\n\t\"233\": [\n\t\t10233\n\t],\n\t\"561\": [\n\t\t70561\n\t],\n\t\"565\": [\n\t\t80565\n\t],\n\t\"827\": [\n\t\t80827\n\t],\n\t\"908\": [\n\t\t908\n\t],\n\t\"972\": [\n\t\t30972\n\t],\n\t\"1187\": [\n\t\t41187\n\t],\n\t\"1382\": [\n\t\t81382\n\t],\n\t\"2049\": [\n\t\t72049\n\t],\n\t\"2069\": [\n\t\t52069\n\t],\n\t\"2545\": [\n\t\t70137\n\t],\n\t\"2666\": [\n\t\t32666\n\t],\n\t\"3068\": [\n\t\t43068\n\t],\n\t\"3168\": [\n\t\t93168\n\t],\n\t\"3251\": [\n\t\t63251\n\t],\n\t\"3267\": [\n\t\t3267\n\t],\n\t\"3343\": [\n\t\t51372,\n\t\t1621,\n\t\t40810,\n\t\t38369,\n\t\t52090,\n\t\t53726,\n\t\t5311,\n\t\t9263,\n\t\t75376,\n\t\t44039,\n\t\t4856,\n\t\t92081,\n\t\t21669,\n\t\t28413,\n\t\t55198,\n\t\t43516\n\t],\n\t\"3401\": [\n\t\t33401\n\t],\n\t\"3433\": [\n\t\t21447\n\t],\n\t\"3662\": [\n\t\t43662\n\t],\n\t\"3675\": [\n\t\t23675\n\t],\n\t\"3730\": [\n\t\t33730\n\t],\n\t\"3770\": [\n\t\t3620,\n\t\t7054,\n\t\t8312,\n\t\t12219,\n\t\t15455,\n\t\t36070,\n\t\t41858,\n\t\t53598,\n\t\t56388,\n\t\t75101,\n\t\t80584,\n\t\t89402\n\t],\n\t\"3978\": [\n\t\t13978\n\t],\n\t\"4049\": [\n\t\t64049\n\t],\n\t\"4055\": [\n\t\t94055\n\t],\n\t\"4149\": [\n\t\t4149\n\t],\n\t\"4270\": [\n\t\t31099\n\t],\n\t\"4755\": [\n\t\t78954\n\t],\n\t\"5019\": [\n\t\t15019\n\t],\n\t\"5068\": [\n\t\t57021\n\t],\n\t\"5121\": [\n\t\t25121\n\t],\n\t\"5146\": [\n\t\t19759\n\t],\n\t\"5321\": [\n\t\t75321\n\t],\n\t\"5333\": [\n\t\t35333\n\t],\n\t\"5813\": [\n\t\t25813\n\t],\n\t\"5857\": [\n\t\t25857\n\t],\n\t\"6073\": [\n\t\t26073\n\t],\n\t\"6235\": [\n\t\t66235\n\t],\n\t\"6606\": [\n\t\t6606\n\t],\n\t\"6718\": [\n\t\t56718\n\t],\n\t\"6936\": [\n\t\t66298\n\t],\n\t\"7018\": [\n\t\t17018\n\t],\n\t\"7040\": [\n\t\t97040\n\t],\n\t\"7223\": [\n\t\t67223\n\t],\n\t\"7405\": [\n\t\t47405\n\t],\n\t\"7477\": [\n\t\t90297\n\t],\n\t\"7479\": [\n\t\t27479\n\t],\n\t\"7726\": [\n\t\t67726\n\t],\n\t\"8142\": [\n\t\t18142\n\t],\n\t\"8154\": [\n\t\t8154\n\t],\n\t\"8488\": [\n\t\t68488\n\t],\n\t\"8711\": [\n\t\t98745\n\t],\n\t\"8972\": [\n\t\t28972\n\t],\n\t\"9064\": [\n\t\t69064\n\t],\n\t\"9490\": [\n\t\t69490\n\t]\n};\n__webpack_require__.f.consumes = (chunkId, promises) => {\n\tif(__webpack_require__.o(chunkMapping, chunkId)) {\n\t\tchunkMapping[chunkId].forEach((id) => {\n\t\t\tif(__webpack_require__.o(installedModules, id)) return promises.push(installedModules[id]);\n\t\t\tvar onFactory = (factory) => {\n\t\t\t\tinstalledModules[id] = 0;\n\t\t\t\t__webpack_require__.m[id] = (module) => {\n\t\t\t\t\tdelete __webpack_require__.c[id];\n\t\t\t\t\tmodule.exports = factory();\n\t\t\t\t}\n\t\t\t};\n\t\t\tvar onError = (error) => {\n\t\t\t\tdelete installedModules[id];\n\t\t\t\t__webpack_require__.m[id] = (module) => {\n\t\t\t\t\tdelete __webpack_require__.c[id];\n\t\t\t\t\tthrow error;\n\t\t\t\t}\n\t\t\t};\n\t\t\ttry {\n\t\t\t\tvar promise = moduleToHandlerMapping[id]();\n\t\t\t\tif(promise.then) {\n\t\t\t\t\tpromises.push(installedModules[id] = promise.then(onFactory)['catch'](onError));\n\t\t\t\t} else onFactory(promise);\n\t\t\t} catch(e) { onError(e); }\n\t\t});\n\t}\n}","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t6429: 0\n};\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(!/^(1(187|37|382)|2(049|069|33|666)|3((06|16|97)8|251|267|343|401|662|675|730)|4([01]49|055)|5((12|32|6)1|019|333|65|813|857)|6(073|235|606|718)|7(018|040|223|405|479|726)|8(142|154|27|488|972)|9(064|08|490|72))$/.test(chunkId)) {\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n// no on chunks loaded\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkspear\"] = self[\"webpackChunkspear\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// module cache are used so entry inlining is disabled\n// startup\n// Load entry module and return exports\nvar __webpack_exports__ = __webpack_require__(41933);\n"],"x_google_ignoreList":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27]} \ No newline at end of file diff --git a/scripts.ddc73f89d6f243c1.js b/scripts.ddc73f89d6f243c1.js new file mode 100644 index 0000000..17261e6 --- /dev/null +++ b/scripts.ddc73f89d6f243c1.js @@ -0,0 +1,3 @@ +#!/usr/bin/env node +import{promises as Y}from"fs";import{marked as L}from"../lib/marked.esm.js";const{readFile:B,writeFile:K}=Y;async function Q(){const{spawn:s}=await import("child_process"),g={cwd:process.cwd(),env:process.env,setsid:!1,stdio:"inherit"},{dirname:d,resolve:f}=await import("path"),{fileURLToPath:i}=await import("url"),m=d(i(import.meta.url)),w=await B(f(m,"../man/marked.1.txt"),"utf8");await new Promise($=>{s("man",[f(m,"../man/marked.1")],g).on("error",()=>{console.log(w)}).on("close",$)})}async function V(){const{createRequire:s}=await import("module"),d=s(import.meta.url)("../package.json");console.log(d.version)}async function ee(s){const g=[],d={};let f,i,m,w,$,x;function S(){let c=s.shift();return 0===c.indexOf("--")?(c=c.split("="),c.length>1&&s.unshift(c.slice(1).join("=")),c=c[0]):"-"===c[0]&&c.length>2&&(s=c.substring(1).split("").map(function(b){return"-"+b}).concat(s),c=s.shift()),c}for(;s.length;)switch(w=S(),w){case"-o":case"--output":i=s.shift();break;case"-i":case"--input":f=s.shift();break;case"-s":case"--string":m=s.shift();break;case"-t":case"--tokens":$=!0;break;case"-h":case"--help":return await Q();case"-v":case"--version":return await V();default:if(0===w.indexOf("--")){if(x=ne(w.replace(/^--(no-)?/,"")),!L.defaults.hasOwnProperty(x))continue;d[x]=0===w.indexOf("--no-")?"boolean"!=typeof L.defaults[x]&&null:"boolean"==typeof L.defaults[x]||s.shift()}else g.push(w)}const T=await async function C(){if(!f){if(g.length<=2)return m||await te();f=g.pop()}return await B(f,"utf8")}(),v=$?JSON.stringify(L.lexer(T,d),null,2):L(T,d);if(i)return await K(i,v);process.stdout.write(v+"\n")}function te(){return new Promise((s,g)=>{const d=process.stdin;let f="";d.setEncoding("utf8"),d.on("data",function(i){f+=i}),d.on("error",function(i){g(i)}),d.on("end",function(){s(f)}),d.resume()})}function ne(s){return s.replace(/(\w)-(\w)/g,function(g,d,f){return d+f.toUpperCase()})}function ae(s){if("ENOENT"===s.code)return console.error("marked: output to "+s.path+": No such directory"),process.exit(1);throw s}process.title="marked",ee(process.argv.slice()).then(s=>{process.exit(s||0)}).catch(s=>{ae(s)});var re=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{},u=function(s){var g=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,d=0,f={},i={manual:s.Prism&&s.Prism.manual,disableWorkerMessageHandler:s.Prism&&s.Prism.disableWorkerMessageHandler,util:{encode:function t(e){return e instanceof m?new m(e.type,t(e.content),e.alias):Array.isArray(e)?e.map(t):e.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(a){var t=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(a.stack)||[])[1];if(t){var e=document.getElementsByTagName("script");for(var n in e)if(e[n].src==t)return e[n]}return null}},isActive:function(t,e,n){for(var a="no-"+e;t;){var r=t.classList;if(r.contains(e))return!0;if(r.contains(a))return!1;t=t.parentElement}return!!n}},languages:{plain:f,plaintext:f,text:f,txt:f,extend:function(t,e){var n=i.util.clone(i.languages[t]);for(var a in e)n[a]=e[a];return n},insertBefore:function(t,e,n,a){var r=(a=a||i.languages)[t],o={};for(var p in r)if(r.hasOwnProperty(p)){if(p==e)for(var l in n)n.hasOwnProperty(l)&&(o[l]=n[l]);n.hasOwnProperty(p)||(o[p]=r[p])}var h=a[t];return a[t]=o,i.languages.DFS(i.languages,function(y,E){E===h&&y!=t&&(this[y]=o)}),o},DFS:function t(e,n,a,r){r=r||{};var o=i.util.objId;for(var p in e)if(e.hasOwnProperty(p)){n.call(e,p,e[p],a||p);var l=e[p],h=i.util.type(l);"Object"!==h||r[o(l)]?"Array"===h&&!r[o(l)]&&(r[o(l)]=!0,t(l,n,p,r)):(r[o(l)]=!0,t(l,n,null,r))}}},plugins:{},highlightAll:function(t,e){i.highlightAllUnder(document,t,e)},highlightAllUnder:function(t,e,n){var a={callback:n,container:t,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};i.hooks.run("before-highlightall",a),a.elements=Array.prototype.slice.apply(a.container.querySelectorAll(a.selector)),i.hooks.run("before-all-elements-highlight",a);for(var o,r=0;o=a.elements[r++];)i.highlightElement(o,!0===e,a.callback)},highlightElement:function(t,e,n){var a=i.util.getLanguage(t),r=i.languages[a];i.util.setLanguage(t,a);var o=t.parentElement;o&&"pre"===o.nodeName.toLowerCase()&&i.util.setLanguage(o,a);var l={element:t,language:a,grammar:r,code:t.textContent};function h(E){l.highlightedCode=E,i.hooks.run("before-insert",l),l.element.innerHTML=l.highlightedCode,i.hooks.run("after-highlight",l),i.hooks.run("complete",l),n&&n.call(l.element)}if(i.hooks.run("before-sanity-check",l),(o=l.element.parentElement)&&"pre"===o.nodeName.toLowerCase()&&!o.hasAttribute("tabindex")&&o.setAttribute("tabindex","0"),!l.code)return i.hooks.run("complete",l),void(n&&n.call(l.element));if(i.hooks.run("before-highlight",l),l.grammar)if(e&&s.Worker){var y=new Worker(i.filename);y.onmessage=function(E){h(E.data)},y.postMessage(JSON.stringify({language:l.language,code:l.code,immediateClose:!0}))}else h(i.highlight(l.code,l.grammar,l.language));else h(i.util.encode(l.code))},highlight:function(t,e,n){var a={code:t,grammar:e,language:n};if(i.hooks.run("before-tokenize",a),!a.grammar)throw new Error('The language "'+a.language+'" has no grammar.');return a.tokens=i.tokenize(a.code,a.grammar),i.hooks.run("after-tokenize",a),m.stringify(i.util.encode(a.tokens),a.language)},tokenize:function(t,e){var n=e.rest;if(n){for(var a in n)e[a]=n[a];delete e.rest}var r=new x;return S(r,r.head,t),$(t,r,e,r.head,0),function T(t){for(var e=[],n=t.head.next;n!==t.tail;)e.push(n.value),n=n.next;return e}(r)},hooks:{all:{},add:function(t,e){var n=i.hooks.all;n[t]=n[t]||[],n[t].push(e)},run:function(t,e){var n=i.hooks.all[t];if(n&&n.length)for(var r,a=0;r=n[a++];)r(e)}},Token:m};function m(t,e,n,a){this.type=t,this.content=e,this.alias=n,this.length=0|(a||"").length}function w(t,e,n,a){t.lastIndex=e;var r=t.exec(n);if(r&&a&&r[1]){var o=r[1].length;r.index+=o,r[0]=r[0].slice(o)}return r}function $(t,e,n,a,r,o){for(var p in n)if(n.hasOwnProperty(p)&&n[p]){var l=n[p];l=Array.isArray(l)?l:[l];for(var h=0;h=o.reach);k+=F.value.length,F=F.next){var z=F.value;if(e.length>t.length)return;if(!(z instanceof m)){var A,O=1;if(H){if(!(A=w(U,k,t,Z))||A.index>=t.length)break;var R=A.index,J=A.index+A[0].length,_=k;for(_+=F.value.length;R>=_;)_+=(F=F.next).value.length;if(k=_-=F.value.length,F.value instanceof m)continue;for(var P=F;P!==e.tail&&(_o.reach&&(o.reach=M);var j=F.prev;if(D&&(j=S(e,j,D),k+=D.length),C(e,j,O),F=S(e,j,new m(p,E?i.tokenize(I,E):I,W,I)),G&&S(e,F,G),O>1){var q={cause:p+","+h,reach:M};$(t,e,n,F.prev,k,q),o&&q.reach>o.reach&&(o.reach=q.reach)}}}}}}function x(){var t={value:null,prev:null,next:null},e={value:null,prev:t,next:null};t.next=e,this.head=t,this.tail=e,this.length=0}function S(t,e,n){var a=e.next,r={value:n,prev:e,next:a};return e.next=r,a.prev=r,t.length++,r}function C(t,e,n){for(var a=e.next,r=0;r"+r.content+""},!s.document)return s.addEventListener&&(i.disableWorkerMessageHandler||s.addEventListener("message",function(t){var e=JSON.parse(t.data),n=e.language,r=e.immediateClose;s.postMessage(i.highlight(e.code,i.languages[n],n)),r&&s.close()},!1)),i;var v=i.util.currentScript();function c(){i.manual||i.highlightAll()}if(v&&(i.filename=v.src,v.hasAttribute("data-manual")&&(i.manual=!0)),!i.manual){var b=document.readyState;"loading"===b||"interactive"===b&&v&&v.defer?document.addEventListener("DOMContentLoaded",c):window.requestAnimationFrame?window.requestAnimationFrame(c):window.setTimeout(c,16)}return i}(re);typeof module<"u"&&module.exports&&(module.exports=u),typeof global<"u"&&(global.Prism=u),u.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},u.languages.markup.tag.inside["attr-value"].inside.entity=u.languages.markup.entity,u.languages.markup.doctype.inside["internal-subset"].inside=u.languages.markup,u.hooks.add("wrap",function(s){"entity"===s.type&&(s.attributes.title=s.content.replace(/&/,"&"))}),Object.defineProperty(u.languages.markup.tag,"addInlined",{value:function(g,d){var f={};f["language-"+d]={pattern:/(^$)/i,lookbehind:!0,inside:u.languages[d]},f.cdata=/^$/i;var i={"included-cdata":{pattern://i,inside:f}};i["language-"+d]={pattern:/[\s\S]+/,inside:u.languages[d]};var m={};m[g]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return g}),"i"),lookbehind:!0,greedy:!0,inside:i},u.languages.insertBefore("markup","cdata",m)}}),Object.defineProperty(u.languages.markup.tag,"addAttribute",{value:function(s,g){u.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+s+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[g,"language-"+g],inside:u.languages[g]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),u.languages.html=u.languages.markup,u.languages.mathml=u.languages.markup,u.languages.svg=u.languages.markup,u.languages.xml=u.languages.extend("markup",{}),u.languages.ssml=u.languages.xml,u.languages.atom=u.languages.xml,u.languages.rss=u.languages.xml,function(s){var g=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;s.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+g.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+g.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+g.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+g.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:g,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},s.languages.css.atrule.inside.rest=s.languages.css;var d=s.languages.markup;d&&(d.tag.addInlined("style","css"),d.tag.addAttribute("style","css"))}(u),u.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},u.languages.javascript=u.languages.extend("clike",{"class-name":[u.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),u.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,u.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:u.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:u.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:u.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:u.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:u.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),u.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:u.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),u.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),u.languages.markup&&(u.languages.markup.tag.addInlined("script","javascript"),u.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),u.languages.js=u.languages.javascript,function(){if(!(typeof u>"u"||typeof document>"u")){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var f={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},i="data-src-status",m="loading",w="loaded",x="pre[data-src]:not(["+i+'="'+w+'"]):not(['+i+'="'+m+'"])';u.hooks.add("before-highlightall",function(v){v.selector+=", "+x}),u.hooks.add("before-sanity-check",function(v){var c=v.element;if(c.matches(x)){v.code="",c.setAttribute(i,m);var b=c.appendChild(document.createElement("CODE"));b.textContent="Loading\u2026";var t=c.getAttribute("data-src"),e=v.language;if("none"===e){var n=(/\.(\w+)$/.exec(t)||[,"none"])[1];e=f[n]||n}u.util.setLanguage(b,e),u.util.setLanguage(c,e);var a=u.plugins.autoloader;a&&a.loadLanguages(e),function S(v,c,b){var t=new XMLHttpRequest;t.open("GET",v,!0),t.onreadystatechange=function(){4==t.readyState&&(t.status<400&&t.responseText?c(t.responseText):b(t.status>=400?function(v,c){return"\u2716 Error "+v+" while fetching file: "+c}(t.status,t.statusText):"\u2716 Error: File does not exist or is empty"))},t.send(null)}(t,function(r){c.setAttribute(i,w);var o=function C(v){var c=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(v||"");if(c){var b=Number(c[1]),e=c[3];return c[2]?e?[b,Number(e)]:[b,void 0]:[b,b]}}(c.getAttribute("data-range"));if(o){var p=r.split(/\r\n?|\n/g),l=o[0],h=null==o[1]?p.length:o[1];l<0&&(l+=p.length),l=Math.max(0,Math.min(l-1,p.length)),h<0&&(h+=p.length),h=Math.max(0,Math.min(h,p.length)),r=p.slice(l,h).join("\n"),c.hasAttribute("data-start")||c.setAttribute("data-start",String(l+1))}b.textContent=r,u.highlightElement(b)},function(r){c.setAttribute(i,"failed"),b.textContent=r})}}),u.plugins.fileHighlight={highlight:function(c){for(var e,b=(c||document).querySelectorAll(x),t=0;e=b[t++];)u.highlightElement(e)}};var T=!1;u.fileHighlight=function(){T||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),T=!0),u.plugins.fileHighlight.highlight.apply(this,arguments)}}}(),u.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},u.languages.webmanifest=u.languages.json,function(s){s.languages.typescript=s.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),s.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete s.languages.typescript.parameter,delete s.languages.typescript["literal-property"];var g=s.languages.extend("typescript",{});delete g["class-name"],s.languages.typescript["class-name"].inside=g,s.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:g}}}}),s.languages.ts=s.languages.typescript}(u),function(s){var g=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;s.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:[^;{\\s\"']|\\s+(?!\\s)|"+g.source+")*?(?:;|(?=\\s*\\{))"),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+g.source+"|(?:[^\\\\\r\n()\"']|\\\\[^])*)\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+g.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+g.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:g,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},s.languages.css.atrule.inside.rest=s.languages.css;var d=s.languages.markup;d&&(d.tag.addInlined("style","css"),d.tag.addAttribute("style","css"))}(u); +//# sourceMappingURL=scripts.ddc73f89d6f243c1.js.map \ No newline at end of file diff --git a/scripts.ddc73f89d6f243c1.js.map b/scripts.ddc73f89d6f243c1.js.map new file mode 100644 index 0000000..c8b5412 --- /dev/null +++ b/scripts.ddc73f89d6f243c1.js.map @@ -0,0 +1 @@ +{"version":3,"file":"scripts.ddc73f89d6f243c1.js","mappings":";mBAOSA,MAAW,sBACXC,MAAS,uBAElB,MAAQC,WAAAC,aAAsBH,EAM9BI,eAAAC,IACA,MAAUC,eAAQC,OAAA,iBAElBC,EAAA,CACAC,IAAAC,QAAAD,MACAE,IAAAD,QAAAC,IACAC,QAAA,EACAC,MAAA,YAGUC,UAAAC,iBAAmBR,OAAA,SACnBS,uBAAgBT,OAAA,OAC1BU,EAAAH,EAAAE,cAAAE,MACAC,QAAAjB,EAAAa,EAAAE,EAAA,qCAGA,IAAAG,QAAAC,IACAf,EAAA,OAAAS,EAAAE,EAAA,oBAAAT,GACAc,GAAA,aACAC,QAAAC,IAAAL,EAAA,GAEAG,GAAA,QAAAD,EAAA,EAEA,CAEAjB,eAAAqB,IACA,MAAUC,uBAAgBnB,OAAA,UAE1BoB,EADAD,cAAAR,IAAAQ,CACA,mBACAH,QAAAC,IAAAG,EAAAF,QACA,CAMArB,eAAAwB,GAAAC,GACA,MAAAC,EAAA,GACAtB,EAAA,GACA,IAAAuB,EACAC,EACAC,EACAC,EACAC,EACAC,EAEA,SAAAC,IACA,IAAAH,EAAAL,EAAAS,QAEA,WAAAJ,EAAAK,QAAA,OAEAL,IAAAM,MAAA,KACAN,EAAAO,OAAA,GAEAZ,EAAAa,QAAAR,EAAAS,MAAA,GAAAC,KAAA,MAEAV,IAAA,IACM,MAAAA,EAAA,IACNA,EAAAO,OAAA,IAEAZ,EAAAK,EAAAW,UAAA,GAAAL,MAAA,IAAAM,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YAAA,GAAwDsD,YAAA,aAAyBtB,EAAApG,UAAAwI,IAAAC,OAAAlI,OAAA0C,KAAAmD,EAAApG,UAAAwI,IAAoD,IAAA6E,EAAAjH,EAAApG,UAAAsH,OAAyB+F,MAAA/G,IAAAwC,WAAA,eAAAuE,EAAA/G,IAAAyC,aAAA,gBAAjoC,CAAwsCtM","names":["promises","marked","readFile","writeFile","async","help","spawn","import","options","cwd","process","env","setsid","stdio","dirname","resolve","fileURLToPath","__dirname","url","helpText","Promise","res","on","console","log","version","createRequire","pkg","main","argv","files","input","output","string","arg","tokens","opt","getarg","shift","indexOf","split","length","unshift","slice","join","substring","map","ch","concat","camelize","replace","defaults","hasOwnProperty","push","data","getData","getStdin","pop","html","JSON","stringify","lexer","stdout","write","reject","stdin","buff","setEncoding","err","resume","text","_","a","b","toUpperCase","handleError","code","error","path","exit","title","then","catch","_self","window","WorkerGlobalScope","self","Prism","lang","uniqueId","plainTextGrammar","manual","disableWorkerMessageHandler","util","encode","Token","type","content","alias","Array","isArray","o","Object","prototype","toString","call","objId","obj","__id","defineProperty","value","clone","deepClone","visited","id","key","forEach","v","i","getLanguage","element","m","exec","className","toLowerCase","parentElement","setLanguage","language","RegExp","classList","add","currentScript","document","Error","src","stack","scripts","getElementsByTagName","isActive","defaultActivation","no","contains","languages","plain","plaintext","txt","extend","redef","insertBefore","inside","before","insert","root","grammar","ret","token","newToken","old","DFS","this","callback","property","propertyType","plugins","highlightAll","highlightAllUnder","container","selector","hooks","run","elements","apply","querySelectorAll","highlightElement","parent","nodeName","textContent","insertHighlightedCode","highlightedCode","innerHTML","hasAttribute","setAttribute","Worker","worker","filename","onmessage","evt","postMessage","immediateClose","highlight","tokenize","rest","tokenList","LinkedList","addAfter","head","matchGrammar","toArray","list","array","node","next","tail","all","name","callbacks","matchedStr","matchPattern","pattern","pos","lookbehind","lastIndex","match","lookbehindLength","index","startNode","startPos","rematch","patterns","j","cause","patternObj","greedy","global","flags","source","currentNode","reach","str","removeCount","from","to","p","k","matchStr","after","removeFrom","prev","removeRange","nestedRematch","newNode","count","s","e","tag","classes","attributes","aliases","addEventListener","message","parse","close","script","highlightAutomaticallyCallback","readyState","defer","requestAnimationFrame","setTimeout","module","exports","markup","comment","prolog","doctype","punctuation","cdata","namespace","entity","tagName","includedCdataInside","def","attrName","mathml","svg","xml","ssml","atom","rss","css","atrule","rule","keyword","function","important","addInlined","addAttribute","clike","boolean","number","operator","javascript","regex","parameter","constant","hashbang","interpolation","js","Element","matches","msMatchesSelector","webkitMatchesSelector","EXTENSIONS","py","rb","ps1","psm1","sh","bat","h","tex","STATUS_ATTR","STATUS_LOADING","STATUS_LOADED","SELECTOR","pre","appendChild","createElement","getAttribute","extension","autoloader","loadLanguages","loadFile","success","xhr","XMLHttpRequest","open","onreadystatechange","status","responseText","FAILURE_MESSAGE","statusText","send","range","parseRange","start","Number","end","lines","Math","max","min","String","fileHighlight","logged","warn","arguments","json","null","webmanifest","typescript","builtin","decorator","at","generic","ts","t"],"sourceRoot":"webpack:///","sources":["node_modules/marked/bin/marked.js","node_modules/prismjs/prism.js","node_modules/prismjs/components/prism-json.min.js","node_modules/prismjs/components/prism-typescript.min.js","node_modules/prismjs/components/prism-css.min.js"],"sourcesContent":["#!/usr/bin/env node\n\n/**\n * Marked CLI\n * Copyright (c) 2011-2013, Christopher Jeffrey (MIT License)\n */\n\nimport { promises } from 'fs';\nimport { marked } from '../lib/marked.esm.js';\n\nconst { readFile, writeFile } = promises;\n\n/**\n * Man Page\n */\n\nasync function help() {\n const { spawn } = await import('child_process');\n\n const options = {\n cwd: process.cwd(),\n env: process.env,\n setsid: false,\n stdio: 'inherit'\n };\n\n const { dirname, resolve } = await import('path');\n const { fileURLToPath } = await import('url');\n const __dirname = dirname(fileURLToPath(import.meta.url));\n const helpText = await readFile(resolve(__dirname, '../man/marked.1.txt'), 'utf8');\n\n // eslint-disable-next-line promise/param-names\n await new Promise(res => {\n spawn('man', [resolve(__dirname, '../man/marked.1')], options)\n .on('error', () => {\n console.log(helpText);\n })\n .on('close', res);\n });\n}\n\nasync function version() {\n const { createRequire } = await import('module');\n const require = createRequire(import.meta.url);\n const pkg = require('../package.json');\n console.log(pkg.version);\n}\n\n/**\n * Main\n */\n\nasync function main(argv) {\n const files = [];\n const options = {};\n let input;\n let output;\n let string;\n let arg;\n let tokens;\n let opt;\n\n function getarg() {\n let arg = argv.shift();\n\n if (arg.indexOf('--') === 0) {\n // e.g. --opt\n arg = arg.split('=');\n if (arg.length > 1) {\n // e.g. --opt=val\n argv.unshift(arg.slice(1).join('='));\n }\n arg = arg[0];\n } else if (arg[0] === '-') {\n if (arg.length > 2) {\n // e.g. -abc\n argv = arg.substring(1).split('').map(function(ch) {\n return '-' + ch;\n }).concat(argv);\n arg = argv.shift();\n } else {\n // e.g. -a\n }\n } else {\n // e.g. foo\n }\n\n return arg;\n }\n\n while (argv.length) {\n arg = getarg();\n switch (arg) {\n case '-o':\n case '--output':\n output = argv.shift();\n break;\n case '-i':\n case '--input':\n input = argv.shift();\n break;\n case '-s':\n case '--string':\n string = argv.shift();\n break;\n case '-t':\n case '--tokens':\n tokens = true;\n break;\n case '-h':\n case '--help':\n return await help();\n case '-v':\n case '--version':\n return await version();\n default:\n if (arg.indexOf('--') === 0) {\n opt = camelize(arg.replace(/^--(no-)?/, ''));\n if (!marked.defaults.hasOwnProperty(opt)) {\n continue;\n }\n if (arg.indexOf('--no-') === 0) {\n options[opt] = typeof marked.defaults[opt] !== 'boolean'\n ? null\n : false;\n } else {\n options[opt] = typeof marked.defaults[opt] !== 'boolean'\n ? argv.shift()\n : true;\n }\n } else {\n files.push(arg);\n }\n break;\n }\n }\n\n async function getData() {\n if (!input) {\n if (files.length <= 2) {\n if (string) {\n return string;\n }\n return await getStdin();\n }\n input = files.pop();\n }\n return await readFile(input, 'utf8');\n }\n\n const data = await getData();\n\n const html = tokens\n ? JSON.stringify(marked.lexer(data, options), null, 2)\n : marked(data, options);\n\n if (output) {\n return await writeFile(output, html);\n }\n\n process.stdout.write(html + '\\n');\n}\n\n/**\n * Helpers\n */\n\nfunction getStdin() {\n return new Promise((resolve, reject) => {\n const stdin = process.stdin;\n let buff = '';\n\n stdin.setEncoding('utf8');\n\n stdin.on('data', function(data) {\n buff += data;\n });\n\n stdin.on('error', function(err) {\n reject(err);\n });\n\n stdin.on('end', function() {\n resolve(buff);\n });\n\n stdin.resume();\n });\n}\n\n/**\n * @param {string} text\n */\nfunction camelize(text) {\n return text.replace(/(\\w)-(\\w)/g, function(_, a, b) {\n return a + b.toUpperCase();\n });\n}\n\nfunction handleError(err) {\n if (err.code === 'ENOENT') {\n console.error('marked: output to ' + err.path + ': No such directory');\n return process.exit(1);\n }\n throw err;\n}\n\n/**\n * Expose / Entry Point\n */\n\nprocess.title = 'marked';\nmain(process.argv.slice()).then(code => {\n process.exit(code || 0);\n}).catch(err => {\n handleError(err);\n});\n","\n/* **********************************************\n Begin prism-core.js\n********************************************** */\n\n/// \n\nvar _self = (typeof window !== 'undefined')\n\t? window // if in browser\n\t: (\n\t\t(typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope)\n\t\t\t? self // if in worker\n\t\t\t: {} // if in node js\n\t);\n\n/**\n * Prism: Lightweight, robust, elegant syntax highlighting\n *\n * @license MIT \n * @author Lea Verou \n * @namespace\n * @public\n */\nvar Prism = (function (_self) {\n\n\t// Private helper vars\n\tvar lang = /(?:^|\\s)lang(?:uage)?-([\\w-]+)(?=\\s|$)/i;\n\tvar uniqueId = 0;\n\n\t// The grammar object for plaintext\n\tvar plainTextGrammar = {};\n\n\n\tvar _ = {\n\t\t/**\n\t\t * By default, Prism will attempt to highlight all code elements (by calling {@link Prism.highlightAll}) on the\n\t\t * current page after the page finished loading. This might be a problem if e.g. you wanted to asynchronously load\n\t\t * additional languages or plugins yourself.\n\t\t *\n\t\t * By setting this value to `true`, Prism will not automatically highlight all code elements on the page.\n\t\t *\n\t\t * You obviously have to change this value before the automatic highlighting started. To do this, you can add an\n\t\t * empty Prism object into the global scope before loading the Prism script like this:\n\t\t *\n\t\t * ```js\n\t\t * window.Prism = window.Prism || {};\n\t\t * Prism.manual = true;\n\t\t * // add a new
\n {{headerText}}\n \n {{dataAccessor(data, name)}}\n \n {{headerText}}\n \n {{dataAccessor(data, name)}}\n